From: sungmin ha Date: Mon, 23 Dec 2013 08:04:44 +0000 (+0900) Subject: remote: added remote server/client packages spice-gtk, virt-viewer, celt, spice etc. X-Git-Tag: TizenStudio_2.0_p2.3~416^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=08cbf9a28c214c14c0d0a675db6af70f8891365e;p=sdk%2Femulator%2Fqemu.git remote: added remote server/client packages spice-gtk, virt-viewer, celt, spice etc. added spice input codes for tizen specific functions. modified build script and makefile for ubuntu build. Change-Id: Ia1adae6e31dcf461168b74728764cfa546e44d84 Signed-off-by: sungmin ha --- diff --git a/configure b/configure index d78e2e1..cffff3e 100755 --- a/configure +++ b/configure @@ -3073,6 +3073,7 @@ if test "$spice" != "no" ; then #include int main(void) { spice_server_new(); return 0; } EOF + export PKG_CONFIG_PATH=${PWD}/tizen/distrib/remote/output/lib/pkgconfig:${PKG_CONFIG_PATH} spice_cflags=$($pkg_config --cflags spice-protocol spice-server 2>/dev/null) spice_libs=$($pkg_config --libs spice-protocol spice-server 2>/dev/null) if $pkg_config --atleast-version=0.12.0 spice-server >/dev/null 2>&1 && \ diff --git a/include/ui/console.h b/include/ui/console.h index 84cfb59..af29ae4 100644 --- a/include/ui/console.h +++ b/include/ui/console.h @@ -54,6 +54,10 @@ QEMUPutKbdEntry *qemu_add_ps2kbd_event_handler(QEMUPutKBDEvent *func, void *opaque); void qemu_remove_ps2kbd_event_handler(QEMUPutKbdEntry *entry); void ps2kbd_put_keycode(int keycode); +void hwkey_put_keycode(int type, int keycode); +void rotation_put_type(int type); +void hostkbd_put_type(int type); +void tizen_close_put_type(int type); #endif diff --git a/package/build.ubuntu-32 b/package/build.ubuntu-32 index c2bc42f..ba318d9 100755 --- a/package/build.ubuntu-32 +++ b/package/build.ubuntu-32 @@ -27,7 +27,8 @@ prepare() REQUIRED_PKG="ant python zlib1g-dev libglib2.0-dev libsdl1.2-dev libasound2-dev \ libx11-dev libv4l-dev libxcomposite-dev libpixman-1-dev libcurl4-gnutls-dev \ - libcap-dev libattr1-dev" + libcap-dev libattr1-dev intltool libxml2 python-pyparsing gtk+3.0-dev libogg-dev \ + openssl libsasl2-dev libjpeg8-dev" echo "Checking required packages before compling!!" for pkg in ${REQUIRED_PKG} @@ -46,6 +47,9 @@ prepare() # build build() { + cd $SRCDIR/tizen/distrib/remote/ + ./build_linux.sh + cd $SRCDIR/tizen/ ./emulator_configure.sh x86 make all_dibs diff --git a/package/build.ubuntu-64 b/package/build.ubuntu-64 index c2bc42f..84585be 100755 --- a/package/build.ubuntu-64 +++ b/package/build.ubuntu-64 @@ -27,7 +27,8 @@ prepare() REQUIRED_PKG="ant python zlib1g-dev libglib2.0-dev libsdl1.2-dev libasound2-dev \ libx11-dev libv4l-dev libxcomposite-dev libpixman-1-dev libcurl4-gnutls-dev \ - libcap-dev libattr1-dev" + libcap-dev libattr1-dev intltool libxml2 python-pyparsing gtk+3.0-dev libogg-dev \ + openssl libsasl2-dev libjpeg8-dev" echo "Checking required packages before compling!!" for pkg in ${REQUIRED_PKG} @@ -46,6 +47,9 @@ prepare() # build build() { + cd $SRCDIR/tizen/distrib/remote/ + ./build_linux.sh + cd $SRCDIR/tizen/ ./emulator_configure.sh x86 make all_dibs diff --git a/package/changelog b/package/changelog index a5e1b9a..e5fd802 100644 --- a/package/changelog +++ b/package/changelog @@ -1,3 +1,8 @@ +* 1.7.6 +- added remote server/client packages spice-gtk, virt-viewer, celt, spice etc. +- modified spice input codes for tizen specific functions +- modified build script and makefile +== Sungmin Ha 2013-12-23 * 1.7.5 - Use wglMakeCurrent instead of wglMakeContextCurrentARB when possible == GiWoong Kim 2013-12-19 diff --git a/package/pkginfo.manifest b/package/pkginfo.manifest index 36f6e7e..a049e12 100644 --- a/package/pkginfo.manifest +++ b/package/pkginfo.manifest @@ -1,4 +1,4 @@ -Version: 1.7.5 +Version: 1.7.6 Maintainer: Yeong-Kyoon Lee Source: emulator diff --git a/tizen/build.sh b/tizen/build.sh index 981c706..030c249 100755 --- a/tizen/build.sh +++ b/tizen/build.sh @@ -4,9 +4,17 @@ UNAME=`uname` CONFIGURE_SCRIPT="./emulator_configure.sh" +build_remote() +{ + cd distrib/remote + ./build_linux.sh + cd ../../ +} + case "$UNAME" in Linux) NUMCPU=`grep -c 'cpu cores' /proc/cpuinfo` + build_remote ;; MINGW*) NUMCPU=`echo $NUMBER_OF_PROCESSORS` diff --git a/tizen/distrib/remote/build_linux.sh b/tizen/distrib/remote/build_linux.sh new file mode 100755 index 0000000..7449c64 --- /dev/null +++ b/tizen/distrib/remote/build_linux.sh @@ -0,0 +1,72 @@ +#!/bin/sh +UNAME=`uname` + +PREFIX="${PWD}/output/" + +CELT_PATH="common/celt-0.5.1.3/" +SPICE_COMMON_PATH="common/spice-common/" +SPICE_SERVER_PATH="server/spice-0.12.2/" +SPICE_GTK_PATH="client/spice-gtk-0.19/" +VIRT_VIEWER_PATH="client/virt-viewer-0.5.3/" + +export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:${PKG_CONFIG_PATH} + +case "$UNAME" in +Linux) + NUMCPU=`grep -c 'cpu cores' /proc/cpuinfo` + ;; +MINGW*) + NUMCPU=`echo $NUMBER_OF_PROCESSORS` + ;; +Darwin) + NUMCPU=`sysctl hw.ncpu | awk '{print $2}'` + ;; +esac + +echo "Number of CPUs $NUMCPU" + +if [ "x$NUMCPU" != "x" ] ; then + NUMCPU=$(( NUMCPU + 1 )) +else + NUMCPU=1 +fi + +cd $CELT_PATH +./configure --prefix=$PREFIX --exec_prefix=$PREFIX && make -j$NUMCPU && make install +cd ../../ + +cd ${SPICE_COMMON_PATH} +./configure --prefix=$PREFIX --exec_prefix=$PREFIX --enable-smartcard=no && make -j$NUMCPU +cd ../../ + +cd $SPICE_SERVER_PATH +./configure --prefix=$PREFIX --exec_prefix=$PREFIX && make -j$NUMCPU && make install +cd ../../ + +cd ${SPICE_GTK_PATH} +./configure --prefix=$PREFIX --exec_prefix=$PREFIX --enable-smartcard=no && make -j$NUMCPU && make install +cd ../../ + +cd ${VIRT_VIEWER_PATH} +./configure --prefix=$PREFIX --exec_prefix=$PREFIX --libdir=$PREFIX/lib && make -j$NUMCPU && make install +cd ../../ + +mkdir -p ../../emulator/remote/bin +mkdir -p ../../emulator/remote/lib +mkdir -p ../../emulator/remote/share/virt-viewer/ui + +cp ${PREFIX}/bin/remote-viewer ../../emulator/remote/bin/ +cp ${PREFIX}/bin/remote-viewer.sh ../../emulator/remote/bin/ + +cp ${PREFIX}/lib/libcelt051.so.0 ../../emulator/remote/lib/ +cp ${PREFIX}/lib/libcelt051.so.0.0.0 ../../emulator/remote/lib/ +cp ${PREFIX}/lib/libspice-client-glib-2.0.so.8 ../../emulator/remote/lib/ +cp ${PREFIX}/lib/libspice-client-glib-2.0.so.8.3.0 ../../emulator/remote/lib/ +cp ${PREFIX}/lib/libspice-client-gtk-3.0.so.4 ../../emulator/remote/lib/ +cp ${PREFIX}/lib/libspice-client-gtk-3.0.so.4.0.0 ../../emulator/remote/lib/ +cp ${PREFIX}/lib/libspice-controller.so.0 ../../emulator/remote/lib/ +cp ${PREFIX}/lib/libspice-controller.so.0.0.0 ../../emulator/remote/lib/ +cp ${PREFIX}/lib/libspice-server.so.1 ../../emulator/remote/lib/ +cp ${PREFIX}/lib/libspice-server.so.1.6.0 ../../emulator/remote/lib/ + +cp ${PREFIX}/share/virt-viewer/ui/*.xml ../../emulator/remote/share/virt-viewer/ui/ diff --git a/tizen/distrib/remote/clean_linux.sh b/tizen/distrib/remote/clean_linux.sh new file mode 100755 index 0000000..20e01fb --- /dev/null +++ b/tizen/distrib/remote/clean_linux.sh @@ -0,0 +1,65 @@ +#!/bin/sh +UNAME=`uname` + +PREFIX="${PWD}/output/" + +CELT_PATH="common/celt-0.5.1.3/" +SPICE_COMMON_PATH="common/spice-common/" +SPICE_SERVER_PATH="server/spice-0.12.2/" +SPICE_GTK_PATH="client/spice-gtk-0.19/" +VIRT_VIEWER_PATH="client/virt-viewer-0.5.3/" + +case "$UNAME" in +Linux) + NUMCPU=`grep -c 'cpu cores' /proc/cpuinfo` + ;; +MINGW*) + NUMCPU=`echo $NUMBER_OF_PROCESSORS` + ;; +Darwin) + NUMCPU=`sysctl hw.ncpu | awk '{print $2}'` + ;; +esac + +echo "Number of CPUs $NUMCPU" + +if [ "x$NUMCPU" != "x" ] ; then + NUMCPU=$(( NUMCPU + 1 )) +else + NUMCPU=1 +fi + +dist_clean() +{ + if test -e "Makefile" + then + make distclean + fi +} + +cd $CELT_PATH +dist_clean +cd ../../ + +cd $SPICE_COMMON_PATH +dist_clean +cd ../../ + +cd $SPICE_SERVER_PATH +dist_clean +cd ../../ + +cd ${SPICE_GTK_PATH} +dist_clean +cd ../../ + +cd ${VIRT_VIEWER_PATH} +dist_clean +cd ../../ + +rm -rf ../../emulator/remote + +rm -rf output/include/ +rm -rf output/lib/ +rm -rf output/share/ +find output/bin/* ! -name "remote-viewer.sh" -exec rm {} \; diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/.version b/tizen/distrib/remote/client/spice-gtk-0.19/.version new file mode 100644 index 0000000..caa4836 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/.version @@ -0,0 +1 @@ +0.19 diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/AUTHORS b/tizen/distrib/remote/client/spice-gtk-0.19/AUTHORS new file mode 100644 index 0000000..5c0c4d6 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/AUTHORS @@ -0,0 +1,6 @@ +The following people contributed significantly to spice-gtk: + +Gerd Hoffmann - original author +Marc-André Lureau - maintainer +Hans de Goede - usb redirection +Christophe Fergeau - smartcard diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/COPYING b/tizen/distrib/remote/client/spice-gtk-0.19/COPYING new file mode 100644 index 0000000..4362b49 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/COPYING @@ -0,0 +1,502 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +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 this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +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 +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser 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 Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "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 +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY 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 +LIBRARY (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 LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/ChangeLog b/tizen/distrib/remote/client/spice-gtk-0.19/ChangeLog new file mode 100644 index 0000000..6c49455 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/ChangeLog @@ -0,0 +1,6651 @@ +2013-04-10 Marc-André Lureau + + Release v0.19 + + build-sys: bump spice-glib version + new symbols in spice-glib, bump before release + + Update README/TODO + + spicy-ss: quit when channel error + + Rename snappy to spicy-screenshot + Following discussion on the ML: + http://lists.freedesktop.org/archives/spice-devel/2013-April/012953.html + + build-sys: keep common submodule up to date + This requires git 1.8.2 to work properly. With this we should no longer + need to update the reference, assuming the tarball is always up to + date (that doesn't change from before, you need to update the submodule) + +2013-04-10 Alex Efros + + gnome-rr: keep user DPI + I'm running startx -dpi 144, but after exiting from spicy's full screen mode Xorg DPI reset to 96. Attached patch fix this issue by keeping user's DPI. + + See also: https://bugs.gentoo.org/show_bug.cgi?id=448362 + + https://bugs.freedesktop.org/show_bug.cgi?id=58715 + +2013-04-10 Tiziano Müller + + build: fix parallel install + This is a workaround for broken parallel install support in automake + with LTLIBRARIES, see http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328 + + Broken parallel install can be reproduced when building with --with-gtk=2.0 + and dies with: + /home/teuf/redhat/spice-gtk/gtk/.libs/libspice-client-gtk-2.0.so: file not recognized: File truncated + collect2: error: ld returned 1 exit status + libtool: install: error: relink `SpiceClientGtk.la' with the above command before installing it + make[5]: *** [install-pyexecLTLIBRARIES] Erreur 1 + m + +2013-04-10 Christophe Fergeau + + Use a GHashTable for list of file transfer tasks + This list is used to lookup tasks by their numerical id, so + a hash table is a more appropriate data structure for this kind of + uses. + +2013-04-10 Hans de Goede + + spice-common: Update + +2013-04-09 Marc-André Lureau + + widget: don't send current configuration back + spice-gtk keep the main channel monitor configuration in sync, but + shouldn't send back to the remote if disabled, as this may results in + different settings, for example if the remote has switched to + 16 bits. + + main: add spice_main_update_display() + Allow to change locally display resolution without sending it to remote, + this is useful to keep local information without bothering the remote. + +2013-04-09 Yonit Halperin + + channel_base: exit handle_migrate when expecting MIGRATE_DATA and receiving something else + Previously, when an error occurred on the src server side, and we + received other message than MIGRATE_DATA, this messages was forwarded + to the dest server, and made it crash. + +2013-04-09 Hans de Goede + + channel-main: Don't g_warn when not finding a file-xfer-id + Since the agent channel can have a significant latency, it is possible + for a cancel send from the client to the agent and a status message from + the agent to cross each other. If this happens then the file-xfer will no + longer be on the list. + + Printing a g_warning on this (rare but triggerable) condition will only get + us hard to debug bug reports, so turn it into a SPICE_DEBUG. + + channel-main: Cancel active file-xfers on channel/agent disconnect + + channel-main: Check no callbacks are pending on xfer start and end + We should never have pending callbacks when we receive a file-xfer start or + end (success) message from the agent. + + channel-main: Don't call g_input_stream_close on a NULL stream + If we fail to open a file, task->file_stream will be NULL, so we should + not call g_input_stream_close on it. + + channel-main: Allow calling file_xfer_close_cb with a NULL object + So that it can used for cleanup before we've a file_stream. + + Note this also gets rid of the weird double initialization of the local + stream variable. + + channel-main: Don't close the file_stream if callbacks are pending + If file_xfer_completed gets called while callbacks are pending we should + not call g_input_stream_close_async, because: + 1) Doing so while another operation is pending on the file_stream will fail + 2) Doing so while a non file_stream callback is pending may result in the + task being freed before the callback runs, resulting in a use after free. + + This patch fixes this by setting a pending flag when any callbacks are + scheduled, and clearing it when it runs + checking for task->error + from all callbacks and if that is set call file_xfer_completed again. + + channel-main: Use file_xfer_completed where appropriate + + channel-main: file_xfer_failed -> file_xfer_completed + Make file_xfer_failed usable for all file_stream closing. + + channel-main: Make SpiceFileXferTask-s ref the channel + So that the channel sticks around while their callbacks are completing. + + channel-main: Reset agent message receive state on agent stop + Discard any partially received messages from the agent on agent stop. + + channel-main: Add a spice_main_channel_reset_agent helper function + + channel-main: Drop bogus xfer_id check from file_xfer_send_start_msg_async + xfer_id > UINT32_MAX is never true since xfer_id is an uint32_t, and + thus explicit wrapping is not necessary since it will wrap every + UINT32_MAX + 1 itereations anyways. + + channel-main: Properly verify result in spice_main_file_copy_finish + Call g_simple_async_result_is_valid on the passed in result to verify it is + what we expect. + + channel-main: Call g_simple_async_result_is_valid first + Call g_simple_async_result_is_valid before using the result. + + Revert "channel-main: Fix dangling references to freed file-xfer-tasks on agent cancel" + The fix from commit 19313a133af0d2404b29914b5937219127ad455b is incomplete, + this commit added code to file_xfer_close_cb, to remove any reference to + the task being closed from the flushing queue. + + But file_xfer_flushed / file_xfer_flush_async execute file_xfer_data_flushed_cb + from an idle handler, so it is possible that when file_xfer_close_cb runs and + frees the task, it is not part of the flushing queue, but a + file_xfer_data_flushed_cb with the task as user_data argument still needs to + run, and when it will run it will refer to the now freed task. + + A related problem which is also addressed in this patchset happens when we + receive a file-xfer-cancel from the agent when an async operation on the + file_stream is pending, since we then cannot call g_input_stream_close_async + on it. This is fixed in the patchset by adding a pending flag to the task + struct, and the problem with pending flushes is solved in the same way. + + spice-widget: Fix file drag-n-drop mime-type + Currently the user can drag-drop text onto the widget, and it will try to + open it as a file, not good, this fixes this. + +2013-04-05 Marc-André Lureau + + cairo: fix reference leak + cairo_surface_finish() doesn't remove the reference, + cairo_surface_destroy() does and will call surface_finish(). + + Thanks to Uli Schlachter for noticing that in: + https://bugs.freedesktop.org/show_bug.cgi?id=61876 + +2013-04-04 Uri Lublin + + usb-device-manager: fix log messages to match vid:pid change + On Windows clients now USB devices are identified by their vid:pid + (sometimes these values are being held by variables "bus" and "addr") + Change log messages accordingly. + + usb-device-manager: Windows: identify devices by vid:pid instead of bus.address + rhbz#842816 + + Sometimes bus.address of a USB device changes upon WinUSB driver installation + for that device. This makes bus.address not a good identifier to use when + running on Windows machines. + + Instead this patch makes usb-device-manager, when running on a Windows client, + identify devices by their vid:pid. + + What changes were made in this patch (in addition to previous patches): + - vid:pid are asked from the udev. + - match functions that compare vid:pid were added + - when comparing devices vid:pid are used. + + This also means that a scenario where two USB devices with the same vid:pid + on a Windows client is not supported. However there was a problem with this + scenario before as on Windows drivers for (specific) USB devices are + installed based on their vid:pid. + + usb-device-manager: Windows: spice_usb_device_equal_libdev: compare vid:pid + When comparing spice_usb_device with a libusb_device on Windows clients, + use vid:pid instead of bus.address + + It seems that a device bus.address may change when WinUSB driver + is being installed. + + usb-device-manager: use a function to get vid:pid from a libusb_device + To be reused later. + + Also implemented a get_device_descriptor function (in case it will be + needed in the future). + + usb-device-manager: find_libdev: use a match function + Instead of comparing directly against . + + In preparation of comparing against vid:pid for Windows clients. + + usb-device-manager: find_device: use a match function + Instead of comparing directly against + + In preparation of comparing against vid:pid for Windows clients. + + usb-device-manager: constify spice_usb_device_get_ functions + + win-usb-dev: compare vid:pid instead of bus.addr (Windows) + It seems that sometimes, on Win7 clients, bus.addr is changing + when WinUSB driver is being installed (e.g. 4.1 -> 4.2). + + So compare vid:pid instead. + + win-usb-dev: make VID and PID available via get_property (Windows) + +2013-04-03 Hans de Goede + + channel-playback/record: Refuse audio-vol-msgs with 0 channels + Older servers send these, explicitly warn about this, rather then triggering + the following error later: + + (remote-viewer:8726): GSpice-WARNING **: set_sink_input_volume() failed: Invalid argument + +2013-04-02 Marc-André Lureau + + win32: do not handle win keys when the keyboard is not grabbed + Special-case on win32, filter out the win keys when not having the + keyboard grab. This is to avoid the win keys to be received both by + the guest and the client, which can be undesirable in general. + + https://bugzilla.redhat.com/show_bug.cgi?id=873341 + + Release pointer grab on grab-broken + On windows, the client receives a WM_KILLFOCUS event which generates + solely a keyboard grab-broken event. + + This event is received when pressing ctrl-alt-del (to show up the task + manager), and we need to release the pointer grab and clip region in + this case for the client to be usable. + + This also clear the clipping region when the client pops-up a dialog. + + Since keyboard focus is a pre-requisite for pointer grab, it sounds + logical to release the pointer grab if losing keyboard focus, but for + now, we just release it in grab-broken, as a result of discussion on + the ML. + + Fixes: + https://bugzilla.redhat.com/show_bug.cgi?id=857114 + https://bugzilla.redhat.com/show_bug.cgi?id=922818 + +2013-03-29 Hans de Goede + + channel-main: Don't send empty monitor config on main_init with agent + Currently we send a monitor-config on any agent_start, including sending it if + the agent is already started when the main channel connects, but when the main + channel gets initialized, the display channels aren't intialized yet, so our + monitor config will be empty. Resulting in the Linux agent logging: + + spice-vdagent[1285]: err: client sent config with all monitors disabled + + This patch fixing this by only sending our monitor-config to the agent when + it (re)starts later on. + +2013-03-29 Marc-André Lureau + + main: copy the right nth monitor config + i is our counter for c->display[] + +2013-03-27 Christophe Fergeau + + Keep GSocketConnection around after initial connect + There has been reports of recent spice-gtk versions not working on + RHEL6 or Ubuntu 10.04. This happens because these systems have + an older glib version without: + + commit a0e1b226a21ca498b301981b0c89e89ad9a31eb1 + Author: Dan Winship + Date: Fri Apr 23 08:47:18 2010 -0400 + + GSocketConnection: don't close the socket if it's still reffed + + When disposing a GSocketConnection, don't explicitly close the + underlying GSocket. The GSocket will close itself if it gets + destroyed, and if it doesn't get destroyed, that presumably means the + app still wants to use it. Eg, this lets you use GSocketClient to + create a GSocketConnection, and then take the GSocket and destroy the + GSocketConnection. + + https://bugzilla.gnome.org/show_bug.cgi?id=616855 + + and spice-gtk commit 0f9a432c "session: allow to connect via HTTP CONNECT + proxy" changed spice_session_channel_open_host to get its socket by doing: + + open_host->socket = g_socket_connection_get_socket(connection); + g_object_ref(open_host->socket); + g_object_unref(connection); + (see socket_client_connect_ready) + + If glib does not have the commit mentioned above, then this won't + work as expected as open_host->socket will get closed when 'connection' + gets destroyed. + + This commit changes spice_session_channel_open_host to return a + GSocketConnection rather than a GSocket so that we can keep the + socket open even on older glib versions. + + Huge thanks go to Brad Campbell for doing all the + spice-gtk/glib bisecting work. + +2013-03-27 Marc-André Lureau + + Be less verbose about monitor config + +2013-03-25 Marc-André Lureau + + session: copy proxy setting + Solve migration falling back to switch-host method when using proxy + set through controller: + + https://bugzilla.redhat.com/show_bug.cgi?id=923894 + +2013-03-21 Marc-André Lureau + + gtk-session: remove clipboard timeout + A large clipboard may take longer than 7s on slow networks. Since the + Gtk+ API forces us to use an inner main-loop, exit it asap, if agent + is disconnected for instance. + + https://bugzilla.redhat.com/show_bug.cgi?id=752483 + + main: warn if receiving message from disconnected agent + + main: only notify on agent status change + +2013-03-19 Marc-André Lureau + + controller: don't try to set integrity on XP x64 edition + XP x64 uses version 5.2, but doesn't accept setting the pipe to low + integrity. + + 5.2 seems to be shared with many versions (server 2003 for example), + but only Vista+ matters, which is only major >=6. + + https://bugzilla.redhat.com/show_bug.cgi?id=918342 + +2013-03-15 Marc-André Lureau + + Notify of monitors when not using MonitorConfig + Windows guest don't use MonitorConfig, but we may want to notify the + client of the number of monitors. + + Related to: https://bugzilla.redhat.com/show_bug.cgi?id=919530 + + Update current resolution when agent is started + This ensures we have the requested resolution whenever possible. + +2013-03-15 Hans de Goede + + spice-widget: Reconfiguring the grab is only needed on win32 + Commit 8a7e72e3 "widget: regrab when widget is reconfigured" adds an + ungrab + grab call to the configure event handling code. Because: + "On Windows, we need to update the cursor clip. Call ungrab&grab to update it." + + But on X11 this is not needed, see man XGrabPointer, which explains that + the grab automatically adjusts to window resizing. + + Not only is it not needed it is also racy, causing spice-gtk based + apps to log messages like: + (remote-viewer:9935): GSpice-WARNING **: pointer grab failed 3 + + This patch fixes this by disabling the ungrab + re-grab on non-win32. + + spice-widget: Fix auto-grab on window size change + Commit 8a7e72e3 "widget: regrab when widget is reconfigured" adds an + ungrab + grab call to the configure event handling code. But it does this + without checking if the mouse is grabbed at all, causing an unsolicited + grab in certain scenarios, ie: + + 1) User boots a vm + 2) Connects with remote-viewer + 3) Goes and do some web-browsing while the vm boots + 4) Mouse happens to hover over the remote-viewer window + 5) Guests changes resolution (ie X starts) + 6) The mouse is grabbed, and when the user tries to move it to + click something in his web-browser this does not work. + + This patch fixes this by checking that the mouse is grabbed before doing + the ungrab + re-grab which is needed to reconfigure the grab to the new window + size / location. + + spice-widget: Ignore duplicate configure events + gtk seems to be sending us identical / repeated configure events quite + regularly (atleast under X11), we don't care about re-configures with the + same size + coordinates, so filter these out. + + Note this patch uses the SpiceDisplayPrivate mx and my members which + were already defined to store the window position, but not yet used. + +2013-03-11 Dunrong Huang + + spice-channel: Do not segfault fault if peer_msg was a NULL pointer + $ remote-viewer spice://192.168.0.233:111 # 111 is not a valid spice port + (remote-viewer:29381): GSpice-WARNING **: incomplete link header (-104/16) + Segmentation fault (core dumped) + + $ gdb /usr/bin/remote-viewer core + [Thread debugging using libthread_db enabled] + Using host libthread_db library "/lib64/libthread_db.so.1". + Core was generated by `remote-viewer spice://192.168.0.233:111'. + Program terminated with signal 11, Segmentation fault. + switch_tls=0x7f9eb6855b88) at spice-channel.c:1675 + + warning: Source file is more recent than executable. + 1675 switch (c->peer_msg->error) { + (gdb) bt + switch_tls=0x7f9eb6855b88) at spice-channel.c:1675 + at spice-channel.c:2299 + at coroutine_ucontext.c:58 + at continuation.c:49 + + c->peer_msg->error was accessed without checking the validity of pointer in + spice_channel_recv_link_msg(). Actually, c->peer_msg may be a NULL pointer if + we got a error in spice_channel_recv_link_hdr(). + + This patch fixes this error. + +2013-03-05 Christophe Fergeau + + usb: Remove device from ::devices before emitting device-removed + The code is currently removing the USB device that is gone from + the SpiceUsbDeviceManager::devices array after the device-removed + signal has been emitted. As signal handlers are called synchronously, + this means that the list returned by + spice_usb_device_manager_get_devices() will still contain the + removed device if it's called from the signal handler. + +2013-03-04 Hans de Goede + + channel-main: Handle the new VD_AGENT_FILE_XFER_STATUS_SUCCESS status msg + So that we can pass along an error from the agent to report an xfer error + after the last FILE_XFER_DATA message has been sent. + + Update spice-common + + channel-main: Send an error to the agent on file-xfer read error + So that the agent knows the rest of the file won't be coming. + + channel-main: Fix dangling references to freed file-xfer-tasks on agent cancel + While testing the agent error handling code I was triggering the + agent-file-xfer-cancel code-path in spice-gtk. This crashes due to the + flushing queue still having a reference to the task in question when its + gets cancelled from the agent side. This fixes this. + +2013-02-28 Christophe Fergeau + + Add fallback for g_key_file_set_uint64 + This was only added in glib 2.26 + + Don't try to call _wocky_http_proxy_get_type with old gio + Proxy support is only built when gio is newer than 2.26, don't try + to call symbols from wocky-http.c with older glib as this would + result in link failures. + +2013-02-26 Marc-André Lureau + + smartcard: do not register monitor before smartcard init + Never call vevent_get_next_vevent() before calling vcard_emul_init() + + Some mutexes are initialized in vevent_queue_init(), during emul_init() + + smartcard: trivial cleanup + + session: warn on invalid port value + +2013-02-20 Marc-André Lureau + + channel: swap tls status during seamless migration + In some cases, source and destinations may have different channel + encryption. We need to swap tls state too during seamless migration. + + https://bugzilla.redhat.com/show_bug.cgi?id=855870 + +2013-02-19 Marc-André Lureau + + main: use stable comparison function for monitors + If monitors are equal, compare them by their addresses, to get the + effect of a stable sort. + + main: use glib sort + Use glib sort for monitors. This allows to share the same + implementation and behaviour on various platforms. + +2013-02-13 Marc-André Lureau + + Release v0.18 + v0.18 + ===== + + - Build fix with Gtk+ unstable. + - MinGW build fixes with old headers + - Fixes rhbz#908057 + +2013-02-12 Hans de Goede + + usb-device-manager: Fix coldplug race + It is possible for us to see a device show up twice, if it gets plugged + in between us starting listening for new devices and doing "coldplug", then + it will get added once from the coldplug code, and then again from from + the hotplug code path. We already have code checking for this, but the check + is only compiled in under Windows -> Remove the #ifdef to also catch this + under Linux. + +2013-02-07 Marc-André Lureau + + display: keep monitor config updated if resize-guest is disabled + https://bugzilla.redhat.com/show_bug.cgi?id=908057 + + Update spice-common + +2013-02-06 Uri Lublin + + mingw: spice-widget: make sure MAPVK_VK_TO_VSC is defined + MAPVK_VK_TO_VSC is defined in the file: + /mingw/include/winuser.h + + In older mingw-headers the definition of MAPVK_VK_TO_VSC is + defined only -- #if _WIN32_WINNT >= 0x0601 + +2013-02-06 Marc-André Lureau + + build-sys: don't use -Wstrict-prototypes with Gtk+ 2.0 + + build-sys: remove GTK_DISABLE_DEPRECATED + Gtk 3.0 no longer includes deprecated headers if it's defined: + http://git.gnome.org/browse/gtk+/commit/?id=a1de67f438f057711353a55b322babce7044226f + + We added it as a workaround for Gtk 2.0 build issue. + + build-sys: bump spice-glib version-info + spice-glib version-info should have been bumped, since we have new + symbols. + + 249dd73132a7ecc1ceb32b4fea6529491ca219d3 + + Release v0.17 + v0.17 + ===== + + - Update spice-common with fedora 875348, 826036 fixes + - Multi-monitor fixes (avoid monitor order shuffling, fix mouse offset + if monitor 0 is not at +0+0 and let agent do monitor offset) + - Add support for VD_AGENT_CAP_SPARSE_MONITORS_CONFIG + - Add controller & session "proxy" properties + - Add drag and drop file copy support to send file to guest, you will + need capable agent to use that feature. Adds spice_main_file_copy_async() + - Introspection fixes + - Build fixes + + spice-proxy: explicitely mark as internal + +2013-02-06 Hans de Goede + + widget: Fix mouse position reporting for multiple monitors on 1 display channel + VDAgentMouseState contains a display_id and expects coordinates in multi-mon + mode to be relative to the origin of the monitor specified by the display_id. + + The agent will then adjust the mouse coordinates for the position of the + monitor as configured in the guest. + + In multiple monitors on 1 display channel spice-gtk is wrongly setting + display_id to the channel_id (which is 0 for all monitors), and is working + around the problems this causes by doing the adjustment of the mouse position + itself. + + But the agent is still applying the correction for the monitor position to + all VDAgentMouseState messages it gets, and since for all monitors a display_id + of 0 is reported it always uses the position of display 0 for the correction. + + Since the position of display 0 is usally +0+0 this usually works, but as soon + as the position of display 0 is not +0+0, the correction will get done twice + for display 0, and the display 0 position will wrongly get added the mouse + position for other displays. + + This patch fixes this by properly setting display_id, and removing the + modification of the mouse coordinates as that is already done in the agent. + +2013-02-04 Natanael Copa + + build: fix for automake-1.13 + Use AC_CONFIG_HEADER instead of deprecated AM_CONFIG_HEADER. + +2013-01-31 Yonit Halperin + + update spice-common submodule + obtaining a fix related to palettes caching (fedora 875348, 826036) + +2013-01-30 Marc-André Lureau + + controller: add proxy property + +2013-01-29 Marc-André Lureau + + session: clear SpiceSession:proxy also if SPICE_PROXY is NULL + + Add SpiceSession:proxy + Add a session property to set proxy setting, since it is racy to rely + on setenv(). Also doing so would override system environment, which + will modify other session too sharing the same process. + +2013-01-28 Marc-André Lureau + + proxy: initialize proxy at session construct time + + Fix a bunch of gtkdoc/giscan warnings + + Update spice-common + + session: simplify a little bit open_host_idle_cb + open_host->error is only set if we try to use a proxy. Let´s make that + more clear. + +2013-01-21 Marc-André Lureau + + build-sys: generate THANKS at dist time + +2013-01-21 Jasper Lievisse Adriaanse + + build-sys: Use a portable variable assignment in configure.ac + + build-sys: missing sys/types.h in gtk/channel-display.c + +2013-01-18 Hans de Goede + + channel-main: Fix monitors_align to not shuffle monitor order + Before this patch monitor_align was calling qsort directly on the + VDAgentMonConfig monitors array, but VDAgentMonConfig does not contain + an id, so the order matters! + + This fixes (for example) 2 issues with having 3 windows/monitors on a row + numbered 1-3, ordered left-to-right as 1-2-3, and then changing the + ordering to 1-3-2: + 1) Window 3 would be resized to the size of window 2, and window 2 would + get resized to the size of window 3. + 2) Dragging a window on monitor 1 over its right edge, makes the part over + the edge show up on the right monitor, rather then on the middle. + This is happening because the agent is configuring qxl-1 (which is monitor 2) + with the monitors[1] data, which after the qsort contains the size and + coordinates of monitor 3. + + Note this only happens with virt-viewer fixed to properly send window + coordinates, as before that all monitors had x and y set to 0 making the + sort a nop. + + channel-main: Add support for VD_AGENT_CAP_SPARSE_MONITORS_CONFIG (rhbz#881072) + + spice-widget: update_monitor_area: Fix memory-leak on whole fallback + When we've successfully gotten the monitors display-channel property, but + still end up falling back to whole-display mode, we still need to free + the monitors array. + + spice-widget: Search monitor info by display monitor-id + As discussed indexing the display-channel's monitors property by monitor-id + causes problems with the vdagent's new sparse monitor config support. + + Searching the monitors property by monitor-id avoids these problems. + +2013-01-16 Andrew Hughes + + build-sys: fix out-of-tree build with vala + +2013-01-16 Cole Robinson + + Fix introspection for send_keys + Without this I can't find a usable way to call this API with the + introspected python bindings. + + https://bugs.freedesktop.org/show_bug.cgi?id=59444 + +2013-01-14 Marc-André Lureau + + gtk: avoid use gtk+ 3.0 only API + +2013-01-12 Marc-André Lureau + + file-xfer: always take error if set in xfer_read_cb() + + file-xfer: use file_xfer_..() prefix for all internal copy functions + + file-xfer: move file_close_cb() above all to ease reading + + file-xfer: try to report any error from file_info_async_cb() + + file-xfer: non-programming errors should be reported in async + It is fine to not return async errors for programming errors via + g_return_if_fail() and friends, however, we need to return proper + error if it's a normal run-time error. + + file-xfer: avoid g_alloca() usage when possible + +2013-01-12 Dunrong Huang + + file-xfer: handle "drag-data-received" signal + When user drags a file to SpiceDisplay and drops it, a signal named + "drag-data-received" will be emitted, the signal will be received by + SpiceDisplay, then our signal handler should receive data which contains + file path, and call spice_main_file_copy_async() to transfer file to guest. + + file-xfer: disable file-xfer when agent is not connected + + file-xfer: handling various transfer messages in main channel + This patch is aimed to handle various file xfer messages. + + How it works: + 0) our main channel introduces a API spice_main_file_copy_async(). + + 1) When user drags a file and drop to spice client, spice client will + catch a signal "drag-data-received", then it should call + spice_main_file_copy_async() for transfering file to guest. + + 2) In main channel: when spice_main_file_copy_async() get called with file + list passed, the API will send a start message which includes file + and other needed information for each file. Then it will create a + new xfer task and insert task list for each file, and return to caller. + + 3) According to the response message sent from guest, our main channel + decides whether send more data, or cancel this xfer task. + + 4) When file transfer has finished, file xfer task will be removed from + task list. + +2013-01-11 Marc-André Lureau + + Release v0.16 + v0.16 + ===== + + - Fix crash with SSL connection (#890464) + - Send monitor config to the agent on spice_main_set_display_enabled() (#881072) + - Fix channel leak and wrong condition in spice_channel_flush() + - Build fixes + + spice-channel: fix state condition check in flush() + + spice-channel: plug a channel ref leak + +2013-01-09 Hans de Goede + + Send monitor config to the agent on spice_main_set_display_enabled (#881072) + Currently we send an updated monitor-config to the agent whenever some + of the display settings are changed (whenever spice_main_set_display is + called), including when a new display is enabled, as that involves + creating a new window, which calls spice_main_set_display. The only + exception to this is when a display gets disabled. + + This is rather inconistent, it causes the user to be able to move windows + in the guest to the now no longer visible monitor, and any windows which + were already there are hidden... until something else triggers us sending + updated monitor info. Withe gnome3 an alt-tab away and back again from a still + open display-window is enough to trigger the update, and then the guest will + all of a sudden become aware of the monitor no longer being there and + re-arrange windows accordingly, on an alt-tab in the client machine ... + not pretty. + + So lets make things consistent and also send the agent updated monitor info + from spice_main_set_display_enabled, like we already do from + spice_main_set_display. + +2012-12-27 Marc-André Lureau + + Fix switching to TLS regression + The commit fcbbc248a8f885f9a9a6e7c47d7aae0c1ab3cd1b changed the way a + channel coroutine is exiting. In particular, it was going through the + coroutine main cleanup (finishing in main coroutine) while switching + to TLS is recycling the channel. That part of the code is a bit + difficult to grasp, but with this refactoring, I think it makes it + easier to understand the reconnection. + + Clean-up idle handler when leaving the open_host_idle() + An explicit yield back to the channel coroutine when the idle function + is still pending will leave it in the background, referencing objects + that may no longer exist. Make sure we remove it when + channel_open_host() is resumed. + +2012-12-21 Christophe Fergeau + + mingw: Fix link errors + Without this patch build fails with: + + CCLD libspice-client-glib-2.0.la + .libs/spice-channel.o: In function `spice_channel_coroutine': + /home/teuf/redhat/spice-gtk/gtk/spice-channel.c:2287: undefined reference to `_imp__setsockopt@20' + .libs/channel-display.o: In function `create_compatible_dc': + /home/teuf/redhat/spice-gtk/gtk/channel-display.c:672: undefined reference to `_imp__CreateCompatibleDC@4' + ../spice-common/common/.libs/libspice-common.a(canvas_utils.o): In function `release_data': + /home/teuf/redhat/spice-gtk/spice-common/common/canvas_utils.c:41: undefined reference to `_imp__DeleteObject@4' + ../spice-common/common/.libs/libspice-common.a(canvas_utils.o): In function `surface_create': + /home/teuf/redhat/spice-gtk/spice-common/common/canvas_utils.c:192: undefined reference to `_imp__CreateDIBSection@24' + /home/teuf/redhat/spice-gtk/spice-common/common/canvas_utils.c:208: undefined reference to `_imp__DeleteObject@4' + ../spice-common/common/.libs/libspice-common.a(ssl_verify.o): In function `inet_aton': + /home/teuf/redhat/spice-gtk/spice-common/common/ssl_verify.c:38: undefined reference to `_imp__inet_addr@4' + ../spice-common/common/.libs/libspice-common.a(ssl_verify.o): In function `verify_hostname': + /home/teuf/redhat/spice-gtk/spice-common/common/ssl_verify.c:216: undefined reference to `_imp__inet_ntoa@4' + collect2: error: ld returned 1 exit status + +2012-12-21 Marc-André Lureau + + Release v0.15 + v0.15 + ===== + + - Add HTTP Proxy support (only with glib >= 2.26) + - Add "port" channel support, to allow arbitrary communication on top + of spice connection + - usb-redir: fix migration support + - win32: various keyboard & mouse fixes + - Add info message when USB dialog is empty + - Fix initial black screen on some 16bits guest + - Various bug fixes and improvements + + build-sys: update sym-files + + session: improve open_host() clean-up + Make sure the GSocketClient is unref when leaving the function, and + not left around in some unfinished async state. + + session: do not unref() NULL connection + #3 0x00007ffff59cfb3b in g_object_unref (_object=0x0) at gobject.c:2916 + #4 0x00007ffff6ea9c20 in socket_client_connect_ready (source_object=0x87ced0, + result=0x8a58f0, data=0x7fffe3fffa80) at spice-session.c:1606 + #5 0x00007ffff5ea1278 in g_task_return_now (task=0x8a58f0) at gtask.c:1102 + +2012-12-20 Hans de Goede + + acl-helper policykit policy: Allow redir by default for console users + This makes usb-redir a lot more userfriendly to use. This has been + discussed with the security team and they are ok with it, rationale: + + Since we only set to yes, we only give raw usb access + to users *physically present behind the machine*. This is ok since + they already have full control over usb devices anyways, they can + always just unplug the device and put it in a user controlled machine. + + This follows how we already grant a great deal of access to users + *physically present behind the machine* including dangerous things like + /dev/sg access for cd/dvd writers. And raw usb access to all devices which + happen to have a userspace driver rather then an in kernel driver. + + Also the opening up is limited compared to the existing opening up of + other devices listed above in that: + + 1) It will only happen on machines which have spice-glib installed + 2) We are not opening up the device nodes rights automatically, as an udev rule + would do. So there is no chance that any random app can start (accidentally) + poking the devices. + +2012-12-19 Hans de Goede + + spicy: Fix compilation breaking due to a compiler warning + This fixes: + spicy.c:1711:10: error: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Werror=unused-result] + +2012-12-17 Marc-André Lureau + + controller: fix new vala warnings + send_msg() is done in background, use .begin + + controller.vala:62.3-62.10: warning: implicit .begin is deprecated + foreign-menu.vala:44.3-44.10: warning: implicit .begin is deprecated + foreign-menu.vala:59.3-59.10: warning: implicit .begin is deprecated + foreign-menu.vala:70.3-70.10: warning: implicit .begin is deprecated + Compilation succeeded - 4 warning(s) + + channel: switch to protocol 1 on error during link-time + The Spice server doesn't wait until all the data are received by the + remote before closing the socket (that would need SO_LINGER?). Under + some racy conditions, the client may not have received the link reply + indicating the server protocol version mismatch, which would trigger + reconnection with compatible protocol. + + It seems to happen on local networks with Windows sockets (error + WSAECONNRESET). To workaround that issue, spice-gtk can try to + reconnect with protocol 1 when a socket error is encoutered during + link-time. + + Fixes: + https://bugzilla.redhat.com/show_bug.cgi?id=874698 + +2012-12-14 Marc-André Lureau + + session: allow to connect via HTTP CONNECT proxy + Allow to connect to a Spice server via a HTTP proxy with CONNECT + method. spice-gtk will use the SPICE_PROXY environment variable, which + can currently only have the following syntax: [http://]hostname[:port] + + This is paving the way to more proxies support (socks4/socks5). + + This code is now entirely sync (it was not even completely async), the + following patch will make it all async again. + + Tested with Squid, locally only. + + Add SpiceProxy object + Add a simple object to handle the SPICE_PROXY values. + + It's not clear to me whether each GIO user needs to handle the proxy + configuration, or if there is a more global mechanism (via + g_network_address_parse_uri()) + + Also, the parsing is currently very limited and only support basic + HTTP proxy URI. In the future, we really want to rely on GUri or + similar instead... + + Add wocky HTTP proxy + Courtesy of Nicolas Dufresne + + It might make sense to include this proxy in glib/gio, but it is still + missing some features according to its author, namely SSL and perhaps + better CRLF. + + spice-channel: remove unnecessary g_socket_close() + + spice-channel: plug a small memory leak + +2012-12-10 Uri Lublin + + gtk/channel-port: include glib-compat for g_clear_pointer + + glib-compat: add g_slist_free_full + + channel-display: add more protection against bad access to streams + +2012-12-07 Dunrong Huang + + spice-widget: Fix rendering issue with X11 backend enabled + commit 5ec6e4d fixes a rendering issue on win32 platform, but raises another + bug on linux platform. + + If X11 backend is enabled, app window will becomes while screen when draging it. + This bug can be reproduced easily: + compile spice-gtk using: + $ ./configure --with-gtk=2.0 --with-x11 + $ make + $ gtk/spicy -h host -p port + +2012-12-05 Marc-André Lureau + + channel: rely on couroutine instead of channel state + We can simplify the channel state callback and simplify a little + the code by relying on coroutine state instead. + + spicy: demo SpicePort usage + spicy has been modified to recognized 2 different port types to play + with: + + * org.spice.spicy: will connect the port to the current stdin/stdout, + and can be used as a chardev for the qemu monitor + + * org.spice.spicy.break: will send a break event on connect and + disconnect immediately (exercice the port event and flush) + + Add a port channel + A Spice port channel carry arbitrary data between the Spice client and + the Spice server. It may be used to provide additional services on top + of a Spice connection. For example, a channel can be associated with + the qemu monitor for the client to interact with it, just like any + qemu chardev. Or it may be used with various protocols, such as the + Spice Controller. + + A port kind is identified simply by a fqdn, such as org.qemu.monitor, + org.spice.spicy.test or org.ovirt.controller... + + channel: add flush_async() + Add spice_channel_flush_async() that asynchronously will write all the + pending channel data. + + update spice-common + +2012-11-30 Marc-André Lureau + + channel: make spice_msg_out_send() slightly easier to read + Avoid the obfuscating many -> indirection by using the + SpiceChannelPrivate *c variable. + +2012-11-27 Marc-André Lureau + + win32: fix rendering issue when widget is partially off screen + Gtk+ in win32 has a rendering bug with window non-buffered: + https://bugzilla.gnome.org/show_bug.cgi?id=688962 + + According to Alex Larsson, this shouldn't affect performance much, + since there is already extra-copy done for offscreen buffers, and + might even make it faster in gtk+ 3.0... + + Fixes: + https://bugzilla.redhat.com/show_bug.cgi?id=874482 + +2012-11-22 Marc-André Lureau + + channel: learn to load certificate from memory + Sadly, OpenSSL doesn't provide a way to load certificate from memory, + but all the functions necessary to do so are actually public, so we + can implement our own version and avoid files, how awesome! + + Add SpiceSession:ca property + +2012-11-19 Marc-André Lureau + + win32: translate virtual-key code to scancode via MapVirtualKey + Local client keyboard layout shouldn't affect hardware scancode sent + to guest, so that guest keyboard layout configuration can map it + properly. + + Unfortunately, the Win32 GdkEventKey.hardware_keycode isn't a hardware + scancode, but the Windows virtual-key code. We could modify Gdk to + return the scancode (available in MSG.lParam or via global hook), but + that would mean some Gdk breakage, or some unnecessary complexity. + Instead, we can rely on MapVirtualKey(), which translates the + vitual-key code into a scan code using current keyboard layout. + + This solves the following bug: + https://bugzilla.redhat.com/show_bug.cgi?id=871125 + +2012-11-18 Marc-André Lureau + + win32: track current window handle + We need current window handle for the global keyboard hook. It is not + enough to rely on focus-in event to set it, so do it also in + key-event. This avoids extra warnings on Windows. + +2012-11-14 Marc-André Lureau + + win32: clip and move cursor within window region + Windows grab do not exist like on X11, so we need to clip the cursor + to our client window, while making sure it doesn't overlap with + windows statusbar. When wrapping the cursor, we need to make sure we + also stay within the clip region, or else the clip is inverted + (pointer can't enter the clip region anymore), and we also lose the + keyboard hook/grab. + + The end result works better than spicec, which didn't exclude the + Windows statusbar, and was subject to losing pointer when wrapping + mouse over it. + + Another approach I have been playing with is to clip the cursor, and + process raw input messages, this will have the advantage to work even + when the client is completely out of the working area (under the + statusbar for example), but the complexity involved is too high for + very poor benefit (interacting with a non-visible client), we could + even argue that the behaviour implemented by this patch is more + correct (it refuses to grab the cursor if the client isn't visible in + the working area). + + v2: + - choose the nearest monitor for clipping + - the ClipRegion is in Windows coordinate, we can't use gdk warp + - fix https://bugzilla.redhat.com/show_bug.cgi?id=872640 + + This solves the following bugs: + https://bugzilla.redhat.com/show_bug.cgi?id=857430 + https://bugzilla.redhat.com/show_bug.cgi?id=857389 + +2012-11-12 Marc-André Lureau + + widget: regrab when widget is reconfigured + On Windows, we need to update the cursor clip. Call ungrab&grab to update it. + + widget: don't redraw server mouse until moved + When switching between client mode and server mode, the pointer is + being invalidated on each display and the cursor will end up being + drawn on both. Since there is no information on which display the + cursor is supposed to be until a move is received, hide the cursor + until it actually moves. + +2012-10-25 Uri Lublin + + win-usb-driver: use usbclerk new message: USB_CLERK_DRIVER_SESSION_INSTALL + With this message usbclerk keeps a list of devices for which + a libusb driver was installed (per connection). + When a spice-gtk client exits, the connection is closed, and + usbclerk uninstalls the driver for all devices in the list. + + That means we need to keep the connection open, so added + the win-usb driver installer to usb-device-manager's priv. + + This prevents the case were the user exits the client, while a usb + device is connected to the guest, and can not use the device from + the client machine. + + rhbz#869542 + +2012-10-25 Marc-André Lureau + + controller/win32: limit access to current user only + Based on RHEV spicec-win only code. + + controller/win32: allow ActiveX connection on untrusted website + Set low integrity on named-pipes. + + This bug was originally resolved as: + https://bugzilla.redhat.com/show_bug.cgi?id=668980 + + Fixes regression: + https://bugzilla.redhat.com/show_bug.cgi?id=844461 + +2012-10-24 Uri Lublin + + spice-gtk: controller: log messages received from a controller + +2012-10-23 Marc-André Lureau + + win32: implement disabling mouse accel + https://bugzilla.redhat.com/show_bug.cgi?id=867885 + + move mouse acceleration code in a seperate function + + Fix disabling mouse acceleration on X11 + It turns out the acceleration code didn't work, because we didn't set + it to the default values. Then we need to restore it back. Eventually, + it would be nicer to inhibit gnome-settings-daemon to apply devices + changes, and restore settings when un-inhibiting. + + https://bugzilla.redhat.com/show_bug.cgi?id=867885 + +2012-10-19 Marc-André Lureau + + Empty host subject from qemu should only validate hostname + Validate empty host subject from qemu exactly like when no explicit + host subject is specified. + + https://bugzilla.redhat.com/show_bug.cgi?id=858228 + + channel: improve debugging message + The open_host() can return FALSE when the connection is discarded or + skipped. Improve the message to not indicate a failure. + + https://bugzilla.redhat.com/show_bug.cgi?id=858232 + + Print list of supported channels + https://bugzilla.redhat.com/show_bug.cgi?id=834513 + +2012-10-18 Hans de Goede + + channel-inputs: Fix sending 00 scancodes to guests with scancode cap + The code for handling single key up / down events in spice-server is: + SpiceMsgcKeyDown *key_down = (SpiceMsgcKeyDown *)buf; + uint8_t *now = (uint8_t *)&key_down->code; + uint8_t *end = now + sizeof(key_down->code); + for (; now < end && *now; now++) { + kbd_push_scan(keyboard, *now); + } + + Notice the *now, which makes sure that no scancodes with the value 0 get + send! But the new SPICE_MSGC_INPUTS_KEY_SCANCODE in the server does: + + uint8_t *code = (uint8_t *)buf; + for (i = 0; i < size; i++) { + kbd_push_scan(keyboard, code[i]); + } + + And thus will push any 0 bytes in the buffer. Resulting in these message + in the guest: + + atkbd serio0: Unknown key pressed (translated set 2, code 0x0 on isa0060/serio0). + atkbd serio0: Use 'setkeycodes 00 ' to make it known. + + Rather then making the server skip 0 bytes I believe it is better to just + make spice-gtk not send these in the first place, which is what this patch + does. + +2012-10-17 Marc-André Lureau + + win32: implement sync_keyboard_lock_modifiers() + Fix numlock numerical keypad being broken: + https://bugzilla.redhat.com/show_bug.cgi?id=856538 + + spicy: show the correct ungrab key combination + The gtk accelerator for ungrab is useless, since it has to be handled + by the spice widget only. It could be useful to still show the ungrab + key sequence in the menu (for help), but unfortunately, spice-gtk grab + sequence syntax is not the same as gtk accelerator syntax, and that + would be needlessly complicated to handle. + + Also correctly show the configured sequence in the status bar when the + widget has the grab. + + https://bugzilla.redhat.com/show_bug.cgi?id=851090 + +2012-10-16 Marc-André Lureau + + widget: apply color conversion when creating image + The color conversion only happened during "invalidate", but we also + need to apply it when the image is created in the first place. + + This solves initial screen being black after connection to agent-less + guest with 16b colour depth: + + https://bugzilla.redhat.com/show_bug.cgi?id=843134 + +2012-10-15 Marc-André Lureau + + win32: ignore hardware keycode 255 + It's a reserved value, and it doesn't have a valid scancode + translation. Currently, We hit a warning in the delayed key handling + later. + + vnc keymap: fix incorrect table size + This lead to out of bound array access + + Add a warning if scancode lookup failed + This helps tracking some send_keys() issues, such as + https://bugzilla.gnome.org/show_bug.cgi?id=686170 + + win32: fix quote key handling + Fix keymaps to correctly handle the quote key. + + https://bugzilla.redhat.com/show_bug.cgi?id=856317 + +2012-10-11 Hans de Goede + + Add spice-usbredir-filter alias for spice-usbredir-auto-redirect-filter (v2) + For commandline backward compatibility with older spice-gtk versions. + + Changes in v2: + -warn about spice-usbredir-filter being deprecated when it gets used + + UsbDeviceManager: Don't warn on EINTR + + UsbDeviceManager: Hookup redirect-on-connect property + + UsbDeviceManager: Build channel list after building the device list + This is necessary for redirect-on-connect + + UsbDeviceManager: Add a redirect-on-connect property + + Rename spice-usbredir-filter option to spice-usbredir-auto-redirect-filter + The spice-usbredir-filter cmdline option was not chosen well, as it does + not indicate what it filters. Now that we are also getting a filter for + selecting already plugged in devices to redirect when a spice connection gets + established, it needs to be renamed to make its function more clear. + +2012-10-09 Hans de Goede + + usb-redir: Fix read error handling depending on SpiceUsbDevice == libusb_device + This has not been true for a while now, but since getting an error return + from usbredirhost_read_guest_data() is rare no one has tripped over this + sofar. + +2012-10-08 Hans de Goede + + channel-usbredir: Properly reset state from reset callback + This is necessary to be able to use the usbredir channel after a + non seamless migration. + + Set channel state before calling channel_reset + This way functions called from the channel_reset function can rely + on state accurately reflecting the state. This is necessary to stop + channel-usbredir's reset callback from trying to send the initial + hello message while the channel is no longer in a connected state. + +2012-10-03 Christophe Fergeau + + Update spice-glib-sym-file for new symbol + +2012-10-01 Christophe Fergeau + + usb: Add info message when USB dialog is empty + From rh bug #804187: + « The redirection dialog can feel a bit strange when there is no device to + redirect. + + It could be useful to provide a help message indicating that there is no + device to redirect yet, and that the user can insert a USB device to + redirect, and some related guidance. » + + This commit adds a "No USB devices detected" infobar in the USB + dialog below the 'Select USB devices to redirect" label. + Content could probably be improved, but this is a step in the right + direction ;) + + This can be tested with + diff --git a/gtk/usb-device-widget.c b/gtk/usb-device-widget.c + index b1bf090..660ea03 100644 + --- a/gtk/usb-device-widget.c + +++ b/gtk/usb-device-widget.c + @@ -220,6 +220,11 @@ static GObject *spice_usb_device_widget_constructor( + G_CALLBACK(device_error_cb), self); + + devices = spice_usb_device_manager_get_devices(priv->manager); + + if (devices) { + + g_ptr_array_unref(devices); + + devices = NULL; + + } + + + if (!devices) + goto end; + +2012-09-25 Hans de Goede + + Deal with libusbredirparser.pc rename to libusbredirparser-0.5.pc + The usbredir 0.5 release introduced the new API for 64 bit packet ids, but + it kept the libusbredirparser.pc name as is, meaning that older versions of + qemu will still have their pkg-config check for usbredirparser fulfilled, + and build with the usb-redir device. Due to the API change there will be + some compiler warnings, but the build will succeed, however the usb-redir + device will be broken on 32 bit machines. + + To solve this, the usbredir-0.5.2 release renames the libusbredirparser.pc + file to libusbredirparser-0.5.pc, so that it will no longer fulfill the + pkg-config check of the qemu-1.2 and older releases, stopping the (silent) + breakage. + + spice-gtk does not use the changed parts of the API, but does + use libusbredirparser for the usbredirfilter* functions. This patch adapts + spice-gtk's configure to accept both the libusbredirparser-0.5 and the + libusbredirparser pkg-config names. + +2012-09-25 Marc-André Lureau + + G_GNUC_DEPRECATED_FOR must be defined publicly + It's not enough to define G_GNUC_DEPRECATED_FOR in glib-compat.h, + since this header is not public. Instead, let's define our own + public SPICE_DEPRECATED_FOR macro, and clean-up double definition. + +2012-09-24 Dunrong Huang + + spicy: Make "CopyToGuest" and "PasteFromGuest" insensitive if spice agent is not connected + "CopyToGuest" and "CopyToGuest" can not work if spice agent is not + connected, e.g. guest does not install or enable spice agent, or spice + server does not create vdagent channel. + + In these cases, make those item insensitive. + +2012-09-21 Christophe Fergeau + + Update spice-common submodule + + Update git.mk to latest version + +2012-09-20 Christophe Fergeau + + Update NEWS + + Unescape SpiceSession::uri component by component + Unescaping the whole URI and then parsing it is dangerous as + the unescaping may (for example) add some extra '/' in the URI + which are not part of a path. It's better to do the unescaping later + once the URI has been split in separate components. + This commit unescapes the path, host and query values. Handling escaped + query values is important for usernames/passwords which might contain + chars which are invalid in URIs. + If the host is enclosed in [], it's intentionally not escaped as this + contains an ipv6 URI, and may contain a %zone_id (see RFC4007). This is + consistent with libvirt/libxml2 behaviour, not with what gvfs does. + +2012-09-14 Colin Walters + + usb-acl-helper: Clear environment + Otherwise we can be subject to attack via environment variables such + as DBUS_SYSTEM_BUS_ADDRESS. + This addresses CVE-2012-4425 http://seclists.org/oss-sec/2012/q3/470 + +2012-09-13 Christophe Fergeau + + cursor: don't access unitialized data when logging + SpiceCursor::header is only valid when SPICE_CURSOR_FLAGS_NONE is + not set in SpiceCursor::flags, so don't try to log info about + the header before we have tested this flag. + +2012-09-12 Christophe Fergeau + + channel: Introduce CHANNEL_DEBUG for channel debug logs + It automatically prepends the channel name to the log message + for easier debugging. + + Fixes rhbz#822437 + +2012-09-10 Christophe Fergeau + + build-sys: Fix symbol versioning + My changes in bug 5bf72a2e had a typo which broke symbol versioning + of libspice-client-gtk.so when -Wl,--version-script is available... + + Update spice-common submodule + We need a newer spice-protocol to get the definitions for A8 surfaces. + Without it, compilation is broken. + + Fix VD_AGENT_HAS_CAPABILITY use + The 'size' argument to this macro (defined in + spice-protocol/spice/vd_agent.h) is the number of 32 bit elements + available in its first argument. In channel-main.c it's used + most of the time with SpiceMainChannelPrivate::agent_caps which is + an uint32_t[VD_AGENT_CAPS_SIZE]. The 'size' argument to pass to + VD_AGENT_HAS_CAPABILITY is thus the number of elements in this array, + and not sizeof(agent_caps). + + Fixes rhbz#837545 + +2012-09-07 Søren Sandmann Pedersen + + Advertise SPICE_DISPLAY_CAP_A8_SURFACE + +2012-09-06 Christophe Fergeau + + build: Add fallback symbol files to EXTRA_DIST + +2012-09-05 Uri Lublin + + spicy: add --title= command line option + + Revert "spice-common removed" + This reverts commit 519f118c7786aa0c16cd2a5f216b52cea4ac42d5. + + spice-common removed + +2012-09-03 Alexander Larsson <alexl@redhat.com> + + Fix region leak in gtk2 compat defines + https://bugs.freedesktop.org/show_bug.cgi?id=54277 + +2012-09-02 Søren Sandmann Pedersen <ssp@redhat.com> + + Advertise SPICE_DISPLAY_CAP_COMPOSITE + + Add support for Composite command + All the real work is done in spice-common, so this is a pretty simple + change. + + Conflicts: + spice-common + +2012-08-31 Alexander Larsson <alexl@redhat.com> + + Make region code build with gtk2 + https://bugs.freedesktop.org/show_bug.cgi?id=54277 + +2012-08-31 Marc-André Lureau <marcandre.lureau@redhat.com> + + Fix X11 backend + The X11 backend allocates the "image" with X11 and needs the widget to + be realized before calling spicex_image_create(). + + https://bugs.freedesktop.org/show_bug.cgi?id=54310 + + Update SpiceDisplay:only-downscale documentation + +2012-08-31 Alexander Larsson <alexl@redhat.com> + + Fix flickering regression on some systems + For some reason the way we remove the "inner" area + when clearing the background doesn't work on one computer. + I don't really know why, but the current approach does seems a + little fragile. + + This replaces it with a solid region operation that works on + all my machines. + + https://bugs.freedesktop.org/show_bug.cgi?id=54277 + +2012-08-30 Alexander Larsson <alexl@redhat.com> + + Add only_downscale property + When this is enabled we never scale displays larger + than their actual size. + + https://bugs.freedesktop.org/show_bug.cgi?id=54277 + + Centralize scaling handling + This moves all the handling of scaling calculations and + positioning of the display inside the widget into one place. + + This makes it easier to later change how scaling works. + + Also, the new scaling only support aspect-ratio-keeping + scaling. + + https://bugs.freedesktop.org/show_bug.cgi?id=54277 + +2012-08-30 Christophe Fergeau <cfergeau@redhat.com> + + Move AM_PROG_AR before LT_INIT call + The other way round generates warnings: + configure.ac:14: warning: LT_INIT was called before AM_PROG_AR + aclocal.m4:1015: AM_PROG_AR is expanded from... + +2012-08-29 Alon Levy <alevy@redhat.com> + + support automate >= 1.12 with new required AM_PROG_AR + +2012-08-29 Marc-André Lureau <marcandre.lureau@redhat.com> + + Update spice-common + +2012-08-28 Marc-André Lureau <marcandre.lureau@redhat.com> + + glib-compat: add G_GNUC_DEPRECATED_FOR + G_GNUC_DEPRECATED_FOR was introduced in glib 2.26 + + misc build fix when --disable-smartcard + + widget: differentiate key press & release from press only events + Until now, Spice clients only sent separate key events for press and + release. But this may result in unwanted key repetition from guest VM + side. It seems OSes have various implementations. While MS Windows + relies on hardware key repeats (which are several sequential press + events), otoh, X11 uses software key repeat (although not Linux + keyboard/VT by default). + + We can't easily disable guest side repeaters, as it may be enforced by + other components (a X11 client can adjust each key individually, or + the desktop settings may change it etc.). Neither can we rely only on + guest software repeater as Windows doesn't seem to have one by + default, so we need to keep sending multiple press events as of today. + + It seems a nice way to improve the situation is to send a single + "press&release" key event when the user released the key within a + short delay. If the key is pressed for longer, we keep the existing + behaviour which has been working pretty well so far, sending separate + "press", then repeatedly "press", and an ending "release" event. + + v2: + - fix some commit message spelling spotted by Alon & Christophe + - simplify a bit the timer handling code after Hans review + - remove the submodule change (will be updated in earler patch once + pushed upstream) + + widget: add keypress-delay property + The delay before the press event is sent to the server if the key is + kept pressed. If the key is released within that time, that delay is + ignored and a single key-press-release event will be sent. + + widget: give more context to send_key() + - use a more explicit SendKeyType enum + - if the key is a modifier key, we don't want to delay press event + + v2: fix compilation (remove down usage) + + inputs: add spice_inputs_key_press_and_release() + If the server is capable of SPICE_INPUTS_CAP_SCANCODE, then we send + can send a single message with key press and release, to avoid + unwanted guest side key repeatition due to network jitter. + + If the server is not capable, spice-gtk will use some compatibility + mode and send the existing DOWN and UP key events seperately. + + util-priv: factor out spice_make_scancode() + Factor out the keyboard scancode manipulation function, to be reusable + by newer code. + + Update spice-common + +2012-08-28 Yonit Halperin <yhalperi@redhat.com> + + channel-smartcard: do not attach temporary migration channel to smartcard + During migration, the smartcard channel that belongs to the temporary + copied session shouldn't be active. + + migration: copy enable-smartcard/audio/usbredir state to the migrated session + Otherwise, we will not create smartcard/usb channel on the destination + side, and we will create audio channels, no matter if they existed + of didn't exist for the src side. + + seamless migration: don't reset messages data when swapping channels + When swapping the src and dest channels's, we need to keep + the xmit_queue and msg serials. Their state is expected to stay the same + after migration. + + seamless migration: transfer pending msgs to the destination, instead of sending them to the src before FLUSH_MARK + In order to save migration time, and probably also decrease migration + data size, we push the flush mark to the src server before any other + message. All the other pending msgs will be sent later to the + destination server (see next patch). + + seamless migration: src and dest servers handshake + Flow: + (1) *src* main channel coroutine (main_handle_migrate_begin_seamless): + handles SPICE_MSG_MAIN_MIGRATE_BEGIN_SEAMLESS; yields to the main loop, + supplying it the destination information needed for connection. + (2) main context (migrate_connect): + Establishes a new session for connecting to the destination. + After all the channels are opened (async), their state, except for + the one of the main channel, is modified to + SPICE_CHANNEL_STATE_MIGRATING (see migrate_channel_event_cb); + no reading is done from the channel during this state. + The dest main channel's state is changed to SPICE_CHANNEL_STATE_MIGRATION_HANDSHAKE + + (3) *dest* main channel coroutine: sends to the dest server SPICE_MSGC_MAIN_MIGRATE_DST_DO_SEAMLESS + (see spice_channel_recv_auth) + (4) *dest* main channel coroutine: recevices SPICE_MSG_MAIN_MIGRATE_DST_SEAMLESS_ACK/NACK. + adds main_migrate_handshake_done to the main loop. + (5) main context: when all the dest session channels are connected, and the main channel handshake + is done, we yield to the src main channel coroutine (see + migrate_channel_event_cb and main_migrate_handshake_done) + (6) *src* main channel coroutine: sends to the src server + SPICE_MSGC_MAIN_MIGRATE_(CONNECTED|CONNECTED_SEAMLESS|CONNECT_ERROR) + + For more details see spice-protocol. commit + 1ad5d259cb4b695ec3106de7ccd082e031e7ae11 + + seamless-migration: update spice-common submodule + Update channel-main as well to support the change made to + SpiceMsgMainMigrationBegin: it now holds all the destination fields + inside SpiceMigrationDstInfo. + + channel_main: handle SPICE_MSG_AGENT_CONNECTED_TOKENS + + channel-base: remove bad check of SpiceMsgWaitForChannels validity + SpiceMsgWaitForChannels is not packed. Comparing the original + msg size to SpiceMsgWaitForChannels is wrong. + +2012-08-28 Marc-André Lureau <marcandre.lureau@redhat.com> + + Update spice-common + + Release v0.13 + +2012-08-26 Dunrong Huang <riegamaths@gmail.com> + + spicy: connect from cli only if hostname and port are provided + This patch will fix following error: + $ spicy --spice-debug + ...... + (spicy:21981): GSpice-DEBUG: spice-session.c:1618 new main channel, switching + (spicy:21981): GSpice-DEBUG: spice-gtk-session.c:811 Changing main channel from (nil) to 0x8534b0 + (spicy:21981): GSpice-DEBUG: spicy.c:1587 new channel (#0) + (spicy:21981): GSpice-DEBUG: spicy.c:1590 new main channel + (spicy:21981): GSpice-DEBUG: spice-channel.c:2255 Open coroutine starting 0x8534b0 + (spicy:21981): GSpice-DEBUG: spice-channel.c:2098 Started background coroutine 0x853538 for main-1:0 + (spicy:21981): GSpice-DEBUG: spice-channel.c:2122 connection failed, trying with TLS port + (spicy:21981): GSpice-DEBUG: spice-channel.c:2126 Connect error + GSpice-Message: main channel: failed to connect + ...... + + When user starts spicy without any command-line arguments, spicy + should not attempt to connected to server automatically because + hostname or port are unknown at the moment. + + What this patch changes is to show the dialog window instead of + connecting to server automatically if no hostname or port are found. + +2012-08-10 Christophe Fergeau <cfergeau@redhat.com> + + Check --spice-disable-effects parameter validity + When --spice-disable-effects is used, error out unless this is + the name of one of the effects we can disable. + + Fixes rhbz#818848 + + Check --spice-color-depth parameter validity + When --spice-color-depth is used, error out unless the color depth + is 16 or 32. + + Fixes rhbz#818847 + +2012-08-09 Marc-André Lureau <marcandre.lureau@redhat.com> + + Update spice-common + +2012-08-08 Christophe Fergeau <cfergeau@redhat.com> + + build: make spice-controller.pc installation conditional + It shouldn't be installed when controller support is disabled. + + build: generate sym-file + When -Wl,--version-script is not available, we fallback to using + libtool --export-symbols feature, but the needed sym-file is missing + from git. This commit adds generation of the sym-file to the + update-map-file Makefile target, and adds a sym-file to git. + The linker on OSX Lion doesn't like to have non-existing symbols + specified in the symbol files it's given, so the symbols need to + be split in glib symbols and gtk symbols. + +2012-08-07 Christophe Fergeau <cfergeau@redhat.com> + + build: add --enable-smartcard=auto support + Currently, when running configure with no arguments, smartcard + support is enabled by default, and configure will fail if it cannot + find libcacard. This commit adds a --enable-smartcard=auto mode to + configure which will use automatically enable smartcard support if + libcacard is available, but it will be silently disabled if libcacard + is not available. Passing --enable-smartcard will fail if libcacard + is not available. Passing --disable-smartcard will always disable + smartcard support and will not test for libcacard availability. + + build: make controller build optional + Apart from the Vala bindings, this is the only part of spice-gtk + which requires Vala to be built from git. Since it's only useful + when spice-gtk is used in conjunction with an oVirt browser plugin, + letting people disabling it will not necessarily cause issues. + +2012-08-05 Matthias Clasen <mclasen@redhat.com> + + Don't use GDK_THREADS_ENTER/LEAVE + These macros have been deprecated. The quick fix for now is to just use the + functions gdk_threads_enter/leave instead. They are deprecated as well, but + deprecated functions don't cause the build to fail (unless you use -Werror). + +2012-07-30 Hans de Goede <hdegoede@redhat.com> + + Remove "usbredirhost: " prefix from usbredirhost error messages + libusbredirhost prefixes all its messages with "usbredirhhost: ", which + is useful when logging to stderr, but not so much when showing the error + to the user in an error dialog, so remove the "usbredirhost: " prefix + when we store the message in a GError. + +2012-07-28 Hans de Goede <hdegoede@redhat.com> + + channel-display: Set monitors_max to 1 on init + This fixes remote-viewer with the new multi monitor support not working + when connecting to a spice-server without the new multi-monitor support. + + Before this fix remote-viewer would hit the following g_return_if_fail: + (remote-viewer:24787): remote-viewer-CRITICAL **: + virt_viewer_session_spice_display_monitors: + assertion `monitors->len <= monitors_max' failed + + spice-widget: release mouse grab on keyboard-grab-inhibit + The purpose of the keyboard-grab-inihbit mechanism is to allow other apps + to grab the input while the spice-widget has the focus, mainly when we're + going to invoke policykit for usb-redirection, as that the policy-kit + agent may want to grab the input. + + Before this patch we were only inhibitting the keyboard grab, which works fine + for vms which are in client mouse mode, but is not enough for vms which are + in server mouse mode. + + This patch also releases the mouse grab on keyboard-grab-inhibit, fixing + the policykit dialog not showing (and thus usb redir not working) when + running with server mouse mode. Note that this makes the inhibit-keyboard-grab + name of the property no longer really cover what it does, but allas it is + part of our ABI... + +2012-07-18 Marc-André Lureau <marcandre.lureau@redhat.com> + + Run-time check monitor per display count <= 256 + Limit range of monitors, to avoid potential crashes lead by invalid + received MonitorConfig values (could be misconfigured or misbehaving + guest) + + This is a a client-side implementation limitation. Eventually, the + range could be inscreased (or unlimited == 0) in the future... + +2012-07-16 Marc-André Lureau <marcandre.lureau@redhat.com> + + Enable the display early when the widget is created + The spice_main_set_display_enabled() function is used to mark the + display/monitor config as enabled. In order to simplify client + implementation, the widget enables the matching display automatically + when the channel mark is received. This is only for legacy reason, and + my lack of understanding at that time. It could as well be enabled + earlier, when the widget is created. It wasn't really a good decision + to disable monitor when the mark is off, which can be toggled when the + primary surface is resize for example, and can cause some races.. + + Add SpiceDisplay:ready property + There are several condition to meet in order to have a widget ready to + be displayed: the monitor must exist, the area must intersect, and the + display mark must be reached. This property will help clients to know + when the widget display is ready. Until now, it was relying on the + channel mark signal only, and had to deal with the rest of the + conditions without much help. + + Handle MonitorsConfig::max_allowed + + main: send monitor config immediately + The only way this can be called currently is via the main/system + coroutine. Remove display timer if any. + + Implement simple monitors alignment + + widget: use display monitors configuration + Use display::monitors property to manage display area. Call + update_area_monitor() to update the widget area depending on monitor + configuration + + spicy: disable display when deleting window + + spicy: learn to deal with monitors + + Make-up a MonitorConfig if the server doesn't provide one + This allows easier compatibility for clients that don't have to + check and interact differently depending on channel capabilities. + + Handle SPICE_MSG_DISPLAY_MONITORS_CONFIG + + Don't attempt to draw an invalid area + If we don't intersect, the area is invalid or of size 0. + + Use monitor_id to compute display_id + + Document spice_main_send_monitor_config() + + widget: don't forget to disconnect all signals handlers + We forgot about display-mark. Use spice_g_signal_connect_object() + helper, which will disconnect properly in all circunstances. + + spice_channel_connect() success if state >= CONNECTING + We may have several widget trying to re-connect the channels now. + It is fine to return successfully if we are already connecting or + connected. + + widget: add monitor property with ctor + + Claim SPICE_DISPLAY_CAP_MONITORS_CONFIG + + Add spice_display_get_primary() + + display: add readonly monitors property + + glib-compat: add g_clear_pointer + A helpful macro from glib 2.34 + + Change surface_id to a guint32 + That's the correct type used by the protocol. + + widget: add main channel before other channels + Make sure that the d->main channel member can be referenced when + adding further channels, when we perform their setup. + + Add missing agent cap description + + display: learn to restrict display to an area + Each spice widget can now restrict the area of the primary + surface they show and interact with by setting the private + area member. + + A nice clean-up would be to seperate an area object that + would deal with clipping, input translation and color + conversion, but the resulting code would be similar anyway + + widget: simplify redraw call + + Update spice-common + +2012-07-16 Uri Lublin <uril@redhat.com> + + usb-device-manager: mingw: connect: cleanup device if it's libdev is missing + For Windows client, when connecting a device to the guest, if a libusb + device (libdev) does not exist, cleanup and forget about that device. + + Most likely, the device was plugged out at driver installation + time, and its remove-device event was ignored. + +2012-07-12 Yonit Halperin <yhalperi@redhat.com> + + migration/channel-inputs: reset motion count after migration + The motion count must stay synchronized with the server, otherwise, + it is possible that we will stop sending motion events to the server + after migration. + + rhbz#835997 + +2012-07-11 Uri Lublin <uril@redhat.com> + + usb-device-manager: do not try to connect a usb device that was removed + If a device that is asked to be shared with the guest, is unplugged out + of the machine before being redirected, then let the user know that + usbredir of that device failed (and cleanup nicely). + + For Windows client, the time between request and redir is larger, as + it includes the time it takes to install the libusb driver. + +2012-07-11 Marc-André Lureau <marcandre.lureau@redhat.com> + + usbutil: be more explicit about usbids_vendor_count usage + I introduced a regression in the previous patch, counting the + usbids_vendor_count from -1 if the previous attempt failed. + + usbutil: fix crash on windows + vendor_count is the last access index, the actually count is +1. + + On Windows, it crashes later on because of corrupted memory. + + Thanks to valgrind for this precious help: + + ==4535== Invalid write of size 2 + ==4535== at 0x40197E: spice_usbutil_parse_usbids (usbutil.c:170) + ==4535== by 0x401CEC: spice_usbutil_load_usbids (usbutil.c:241) + ==4535== by 0x4020C6: main (usbutil.c:322) + ==4535== Address 0x56b740c is 12 bytes after a block of size 348,160 alloc'd + ==4535== at 0x4A0884D: malloc (vg_replace_malloc.c:263) + ==4535== by 0x4EAAEBE: g_malloc (gmem.c:159) + ==4535== by 0x401847: spice_usbutil_parse_usbids (usbutil.c:156) + ==4535== by 0x401CEC: spice_usbutil_load_usbids (usbutil.c:241) + ==4535== by 0x4020C6: main (usbutil.c:322) + ==4535== + + usbutil: look up usb.ids under g_get_system_data_dirs() by default + Simplify a little bit the portability by looking up usb.ids file + under g_get_system_data_dirs(). This is how most resources are + found under other OS, looking up files under various places, since + installation location may vary. + +2012-07-10 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: fix make distcheck + +2012-07-10 Uri Lublin <uril@redhat.com> + + usb-device-manager: mingw: win driver install callback: add missing ifdef + This fixes the following compilation error message (without USE_USBREDIR): + + usb-device-manager.c:183:13: error: 'spice_usb_device_manager_drv_install_cb' declared 'static' but never defined [-Werror=unused-function] + + win-usb-driver-install: initialize "req" with memset + This fixes the following compilation error message: + + ../../gtk/win-usb-driver-install.c: In function 'spice_win_usb_driver_send_request': + ../../gtk/win-usb-driver-install.c:187:5: error: missing braces around initializer [-Werror=missing-braces] + ../../gtk/win-usb-driver-install.c:187:5: error: (near initialization for 'req.hdr') [-Werror=missing-braces] + + usb-device-manager: mingw: ignore "remove" udev event when un/installing a driver + + usb-device-manager: mingw: keep driver install/uninstall state of a device + Currently only driver install/unsinstall is of interest, such that + extra udev events can be ignored. + + usb-device-manager: add 'state' field to SpiceUsbDeviceInfo + To be used on Win32 to ignore extra udev events + received during driver install/uninstall. + + Win32/mingw: win-usb-dev: skip hubs + also skip devices with bad (0) device-address. + + Win32/mingw: usb-device-manager: uninstall win usb driver upon device disconnect + + win-usb-driver-install: add capability to remove (uninstall) a win usb driver + + Windows mingw: usb: Dynamically install a libusb driver for USB devices + - Added win-usb-driver-install.[ch] + - Added win-usb-clerk.h + + Operation (on Windows, spice-gtk point of view): + - After some sanity checks, just before redir'ing a USB device + a libusb driver needs to be installed (before libusb can open the device) + - A connection (NamedPipe) is established with usb-clerk, a libusb + driver installation service, and a request for driver installation + is sent. + - Installation status is asynchronously read from the pipe, and + spice_usb_drv_install_finished() is called. + - Upon a successful intallation, usbredir continues. + + Linux operation is not changed. + +2012-07-10 Arnon Gilboa <agilboa@redhat.com> + + Windows mingw: usb: implement GUdevDevice & GUdevClient for windows + - Added win-usb-dev.[ch] + - Added GUdevDevice and GUdevClient like classes + - Added uevent signal based on WM_DEVICECHANGE + +2012-07-10 Uri Lublin <uril@redhat.com> + + Make SpiceUsbDevice a box for SpiceUsbDeviceInfo, instead of a box for libusb_device + Note that this change may affect performance a bit, as sometimes there is + a need to find the libusb_device or the SpiceUsbDevice. Likely it's negligible. + + Introduce SpiceUsbDeviceInfo to be kept instead of a libusb_device + For Windows, it's better not to keep references for libusb_devices + that are not used. + So instead of makeing SpiceUsbDevice a box for a libusb_device + it is going to be a box for a SpiceUsbDeviceInfo. + + Windows mingw: usb: configure.ac: do not require GUDEV for USBREDIR + For windows GUDEV is not required + For Linux GUDEV is checked as a part of USBREDIR block, but + as a separate check. + + usb-device-manager: mingw: add_dev: ignore already known devices + Sometimes on a Windows client, udev events are received while + the driver is being un/installed. so just ignore it + + usb-device-manager: add a helper function to find a usb device <bus, addr> + And use it in spice_usb_device_manager_remove_dev + + spice_usb_device_get_description: use device-descriptor only to get <vid,pid> + In preparation for a different SpiceUsbDevice. + + With the new SpiceUsbDeviceInfo, <vid,pid> will be provided by + SpiceUsbDevice, and not by the device_descriptor (from libusb) + + spice_usb_device_manager_device_error: replace SpiceUsbDevice with libusb_device + Its only user is channel-usbredir, which needs the libusb_device. + + In preparations for a different SpiceUsbDevice. + + spice_usb_device_manager_auto_connect_cb: use type SpiceUsbDevice for "device" + Currently SpiceUsbDevice is a BOX for libusb_device. + In preparation for a different SpiceUsbDevice. + + spice_usb_device_manager_add_dev: use type SpiceUsbDevice for "device" + Currently SpiceUsbDevice is a BOX for libusb_device. + In preparation for a different SpiceUsbDevice. + + Renamed the libusb_device variable to libdev. Needed when + asking usbredir to check the filter. + + spice_usb_device_manager_add_dev: check auto_ok before freeing libusb device list + In preparation for a different SpiceUsbDevice. + + spice_usb_device_manager_remove_dev: use type SpiceUsbDevice for "device" + Currently SpiceUsbDevice is a BOX for libusb_device. + In preparation for a different SpiceUsbDevice. + + controller/test.c: mingw: fix compiler bad param warning for ReadFile + It seems that ssize_t is int, while DWORD is long + + Compiler warning (some whitespaces where added for readability): + ../../../gtk/controller/test.c: In function 'read_from_pipe': + ../../../gtk/controller/test.c:108:5: warning: passing argument 4 \ + of 'ReadFile' from incompatible pointer type [enabled by default] + In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/windows.h:70:0, + from ../../../gtk/controller/test.c:27: + /usr/i686-w64-mingw32/sys-root/mingw/include/winbase.h:1426:29: note: expected \ + 'LPDWORD' but argument is of type 'ssize_t *' + + usb-device-manager: warn if a device to remove was not found + Also changed a bit the warning text on device-add to differentiate the two. + + spicy: more informative presentation of usb devices in menu + Using the default format. + +2012-07-10 Marc-André Lureau <marcandre.lureau@redhat.com> + + controller: async flush read/write + Windows namedpipes behave a bit differently from Unix socket, and may + return incomplete read/write. By using 2 read/write() helpers, try to + complete the operation before returning. Since the IO operation may be + splitted over several call, we make sure the buffer pointer is on the + heap. We use exception for EOF or BROKEN_PIPE condition, which also + simplifies the code. + + To really work with namedpipe, the giowin32streams need to be fixed as + well to handle concurrent read & write properly, see for details: + https://bugzilla.gnome.org/show_bug.cgi?id=679288 + + Remove mandatory generation of vala debug C + Use make VALAFLAGS=-g if you need it instead + +2012-07-08 Marc-André Lureau <marcandre.lureau@redhat.com> + + Fix mingw build + printf is redefined by glib/gi18n.h + + In file included from ../spice-common/common/spice_common.h:29:0, + from ../spice-common/common/ring.h:23, + from spice-channel-cache.h:23, + from spice-session-priv.h:26, + from desktop-integration.c:29: + ../spice-common/common/log.h:49:17: error: 'libintl_printf' is an unrecognized format function type [-Werror=format] + ../spice-common/common/log.h:56:16: error: 'libintl_printf' is an unrecognized format function type [-Werror=format] + In file included from ../spice-common/common/canvas_base.h:25:0, + from decode.h:23, + from spice-session-priv.h:27, + from desktop-integration.c:29: + ../spice-common/common/lz.h:22:5: error: 'libintl_printf' is an unrecognized format function type [-Werror=format] + ../spice-common/common/lz.h:23:5: error: 'libintl_printf' is an unrecognized format function type [-Werror=format] + ../spice-common/common/lz.h:24:5: error: 'libintl_printf' is an unrecognized format function type [-Werror=format] + + unused variable 'self' if !USE_USB + CC spice-widget-enums.lo + desktop-integration.c: In function 'spice_desktop_integration_dispose': + desktop-integration.c:175:30: error: unused variable 'self' + [-Werror=unused-variable] + +2012-07-06 Hans de Goede <hdegoede@redhat.com> + + spice-widget: Don't change usbredir/automount settings while redirecting + The keyboard focus may change while usb-device-manager is in the process of + redirecting a usb-device (as this may show a policykit dialog). Making + autoredir/automount setting changes while this is happening is not a good idea! + + Since usb-device-manager already sets keyboard_grab_inhibit when it is + redirecting to allow the policykit dialog to show, we can use that to + inhibit usb-autoredir setting changes. + + spice-gtk-session: hookup automount inhibiting + Inhibit automounting when usb-autoredirection is active. + + Add a desktop-integration helper class + We need to integrate closely with the desktop environment of the user in + several cases. Some examples are disabling auto-mounting when auto-usbredir + is active (rhbz#812972), and disabling the screensaver when fullscreen + (fdo#34793). + + Unfortuntely these kinds of things require desktop environment specific + handling. Therefor this patch introduces a desktop-integration helper class, + which is to server as a container for all sort of desktop environment specific + functions. + + For now it just supports disabling automounting under Gnome, but this will be + extended in the future. + +2012-06-28 Yonit Halperin <yhalperi@redhat.com> + + agent: fix mishandling of SPICE_MSG_MAIN_AGENT_TOKEN + Add the given tokens instead of overriding the existing ones. + +2012-06-26 Hans de Goede <hdegoede@redhat.com> + + spice-gtk-session: rename update_keyboard_focus to request_auto_usbredir + To better reflect what then function does, also rename the tracking variable + inside spice-gtk-session to match. + + spice-gtk-session: Fix keyboard focus tracking + This patch changes the "do we have focus?" tracking, to keeping a counter with + how many widgets have focus. The reason for this is that sometimes multiple + spice-widgets can have focus at the same time, yes really! Sometimes (rarely, + hard to reproduce) the focus in event for one window arrives before the + focus out of the other window. + + spice-gtk-session: Only update usb "auto-connect" when doing "auto-usb-redir" + Only update the UsbDeviceManager's "auto-connect" property when + "auto-usb-redir" is set, otherwise leave it as is. This allows apps to + control UsbDeviceManager's "auto-connect" directly, without it getting reset + on every keyboard focus change. + +2012-06-24 Uri Lublin <uril@redhat.com> + + Move "err" variable definition to beginning of the function + This fixes the following compilation error: + channel-usbredir.c: In function 'spice_usbredir_channel_connect_device_async': + channel-usbredir.c:313:9: error: jump skips variable initialization [-Werror=jump-misses-init] + +2012-06-13 Christophe Fergeau <cfergeau@redhat.com> + + Fix build when usbredir is disabled + I broke it with my leak fixes + + Fix various memory leaks + ==25063== 12,827 (2,032 direct, 10,795 indirect) bytes in 127 blocks are definitely lost in loss record 9,477 of 9,502 + ==25063== at 0x4A0884D: malloc (vg_replace_malloc.c:263) + ==25063== by 0x3DE384D2BE: g_malloc (gmem.c:159) + ==25063== by 0x3DE38616B1: g_slice_alloc (gslice.c:1003) + ==25063== by 0x3DE38346B0: g_error_new_valist (gerror.c:393) + ==25063== by 0x3DE3834A8C: g_set_error (gerror.c:560) + ==25063== by 0x3DE4871108: g_socket_receive_with_blocking (gsocket.c:2513) + ==25063== by 0x5B708E8: bio_gsocket_bread (bio-gsocket.c:56) + ==25063== by 0x61AEBD8: BIO_read (bio_lib.c:212) + ==25063== by 0x5ECAC5B: ssl3_read_n (s3_pkt.c:238) + ==25063== by 0x5ECBD3D: ssl3_read_bytes (s3_pkt.c:318) + ==25063== by 0x5ECD6CF: ssl3_get_message (s3_both.c:426) + ==25063== by 0x5EC5AFB: ssl3_get_new_session_ticket (s3_clnt.c:1822) + + ==25063== 90 bytes in 3 blocks are definitely lost in loss record 7,354 of 9,502 + ==25063== at 0x4A0884D: malloc (vg_replace_malloc.c:263) + ==25063== by 0x3DE384D2BE: g_malloc (gmem.c:159) + ==25063== by 0x3DE3862D0B: g_strdup (gstrfuncs.c:356) + ==25063== by 0x5B961B5: spice_usb_device_manager_set_property (usb-device-manager.c:306) + ==25063== by 0x3DE40148FB: g_object_constructor (gobject.c:1352) + ==25063== by 0x3DE4015D70: g_object_newv (gobject.c:1713) + ==25063== by 0x3DE401655F: g_object_new_valist (gobject.c:1830) + ==25063== by 0x3DE485924D: g_initable_new_valist (ginitable.c:224) + ==25063== by 0x3DE4859348: g_initable_new (ginitable.c:148) + ==25063== by 0x5B97330: spice_usb_device_manager_get (usb-device-manager.c:770) + ==25063== by 0x52D8C6B: spice_gtk_session_update_keyboard_focus (spice-gtk-session.c:845) + ==25063== by 0x52D6DC1: spice_gtk_session_set_property (spice-gtk-session.c:238) + + ==25063== 120 bytes in 3 blocks are definitely lost in loss record 8,448 of 9,502 + ==25063== at 0x4A06F18: calloc (vg_replace_malloc.c:566) + ==25063== by 0x68BB2E5: usbredirfilter_string_to_rules (usbredirfilter.c:54) + ==25063== by 0x5B96123: spice_usb_device_manager_set_property (usb-device-manager.c:293) + ==25063== by 0x3DE40148FB: g_object_constructor (gobject.c:1352) + ==25063== by 0x3DE4015D70: g_object_newv (gobject.c:1713) + ==25063== by 0x3DE401655F: g_object_new_valist (gobject.c:1830) + ==25063== by 0x3DE485924D: g_initable_new_valist (ginitable.c:224) + ==25063== by 0x3DE4859348: g_initable_new (ginitable.c:148) + ==25063== by 0x5B97330: spice_usb_device_manager_get (usb-device-manager.c:770) + ==25063== by 0x52D8C6B: spice_gtk_session_update_keyboard_focus (spice-gtk-session.c:845) + ==25063== by 0x52D6DC1: spice_gtk_session_set_property (spice-gtk-session.c:238) + ==25063== by 0x3DE40148FB: g_object_constructor (gobject.c:1352) + + ==25063== 11,959 (72 direct, 11,887 indirect) bytes in 1 blocks are definitely lost in loss record 9,475 of 9,502 + ==25063== at 0x4A06F18: calloc (vg_replace_malloc.c:566) + ==25063== by 0x3459C92DDC: XkbGetKeyboardByName (XKBGetByName.c:59) + ==25063== by 0x52DF000: vnc_display_keymap_gdk2xtkbd_table (vncdisplaykeymap.c:153) + ==25063== by 0x52D9FA6: spice_display_init (spice-widget.c:389) + ==25063== by 0x3DE402FA05: g_type_create_instance (gtype.c:1892) + ==25063== by 0x3DE40147A7: g_object_constructor (gobject.c:1849) + ==25063== by 0x52DA07B: spice_display_constructor (spice-widget.c:412) + ==25063== by 0x3DE4015D70: g_object_newv (gobject.c:1713) + ==25063== by 0x3DE401655F: g_object_new_valist (gobject.c:1830) + ==25063== by 0x3DE4016893: g_object_new (gobject.c:1545) + ==25063== by 0x52DE746: spice_display_new (spice-widget.c:1924) + ==25063== by 0x41D6C3: virt_viewer_display_spice_new (virt-viewer-display-spice.c:219) + +2012-06-11 Marc-André Lureau <marcandre.lureau@redhat.com> + + misc: use g_value_dup_object + + Fix incorrect format string + + Fix video playback with GStreamer backend + The playback audio delay is not correctly adjusted, we should take + min_latency, set by gst_bin_do_latency_func (). + + Deprecate spice_channel_set_capability() + This was initially public to eventually let a derived class + implement more capabilities. Even though it is technically + doable to derive and tweak exisiting channels, there is a + lack of support in spice-gtk for doing that. + + Allow to disable specific capabilities at runtime + Capability BAR for channel FOO can be disabled at runtime by setting + the SPICE_FOO_CAP_BAR environment variable to '0' + Disabling capabilities is useful for testing purpose. + +2012-06-11 Christophe Fergeau <cfergeau@redhat.com> + + spice_channel_coroutine: fix function exit in error path + spice_channel_coroutine returns a void *, but one of its error path + is doing 'return FALSE'. This commit replaces this return with a + 'goto cleanup' since this is what is done in the other error paths. + + spice_channel_coroutine: emit signals in all error cases + There are several very unlikely failures where no signal is emitted + to indicate the failure. Since applications rely on these signals + to detect spice-gtk connection failures, it's important to emit + one in all error cases. + +2012-06-10 Christophe Fergeau <cfergeau@redhat.com> + + Emit SPICE_CHANNEL_ERROR_TLS when certificate can't be found + When trying to start remote-viewer with SPICE over TLS with + --spice-ca-file with a wrong filename, the connection fails + but remote-viewer keeps displaying the "Trying to connect" + message. The only hint that something went wrong is: + (remote-viewer:12924): GSpice-WARNING **: loading ca certs from a/home/teuf/foo.crt + + This patch makes sure we emit a SPICE_CHANNEL_ERROR_TLS before + giving up on channel creation to inform the application that + an error happened. + +2012-06-07 Christophe Fergeau <cfergeau@redhat.com> + + build: allow building with newer glibc-headers and -O0 + Fix copied from libvirt, commit by Eric Blake. + + glibc 2.15 (on Fedora 17) coupled with explicit disabling of + optimization during development dies a painful death: + + /usr/include/features.h:314:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] + + Work around this by only conditionally defining _FORTIFY_SOURCE, + in the case where glibc can actually use it. The trick is using + AH_VERBATIM instead of AC_DEFINE. + +2012-06-05 Marc-André Lureau <marcandre.lureau@redhat.com> + + Update spice-common + +2012-06-04 Hans de Goede <hdegoede@redhat.com> + + spicy: Change 'OK' button to 'Close' button in USB device selection + The USB device selection applies immediately, so the dialog should be using + 'Close' instead of 'OK' for its primary button. + + This patch syncs spicy with virt-viewer wrt the USB device selection dialog. + +2012-05-29 Marc-André Lureau <marcandre.lureau@redhat.com> + + widget: disconnect session_inhibit_keyboard_grab_changed + There is one handler we forgot to disconnect on dispose() + that may cause a crash. + + I am thinking of generalizing usage of + spice_g_signal_connect_object().. + + Should fix: + https://bugzilla.redhat.com/show_bug.cgi?id=823570 + +2012-05-28 Marc-André Lureau <marcandre.lureau@redhat.com> + + Clipboard clean-up and fixes for Windows client + The Windows client was getting in the way of guest copy-paste, + because when the guest was taking the clipboard grab, the agent + notifies the client, it takes the grab too, and in return + receives clipboard notification of new ownership from the client + clipboard. + + Though we had a hack to check if this new client clipboard event + is caused by us, the Windows Gtk clipboard is giving 2 notifications + for some reasons. + + It turned out there is a much better way than the "selfgrab" hack, + by setting ownership of the clipboard. Problem solved, and cleaner + code! + + https://bugzilla.redhat.com/show_bug.cgi?id=822688 + +2012-05-22 Marc-André Lureau <marcandre.lureau@redhat.com> + + session: correctly track main channel + The main channel can change when we are reconnecting to the server, + for example, when querying the password to the user. From there, + the old main channel is destroyed, but we don't track properly the + new main channel. + + This fix migration crashing later on, because of missing main channel: + https://bugzilla.redhat.com/show_bug.cgi?id=823874 + +2012-05-18 Marc-André Lureau <marcandre.lureau@redhat.com> + + Reset grab-sequence on match + This avoids triggering the grab event on consecutive + matches, such as ctrl+alt (match) then ctrl+alt+foo + (match again) that would prevent the longer combination + from being sent. + + If grab sequence is matched, still send modifier keys + If the last key pressed from the grab sequence is a modifier + key, let send it to the guest too. + + This solves the issue of default grab-sequence being ctrl+alt + and preventing ctrl+alt+del from working. + +2012-05-17 Marc-André Lureau <marcandre.lureau@redhat.com> + + Running out of reserved space, break ABI + The change abc56811de978ad336a651924a21b920cfe677f0 actually added + a field in a public struct while changing overall struct size, the + fields were also reorder, all of this breaks ABI. + + However, we are running out of free space in SpiceChannelClass + struct. And since the SPICE_RESERVED_PADDING was 44 bytes, that is + quite limited on 64bits (only 5 pointers fit). + + I propose we break ABI during this cycle. This means that programs + using spice-gtk will need to be recompiled to use the new library. + (the old library should be parallel installable though). This let us: + - use a better SPICE_RESERVED_PADDING based on pointer size, since + it is what is usually added for virtual methods + - reset the amount taken from the padding in the various struct + - reorder fields a little + - add some missing "priv" pointers + - whatever I am missing that we can still change before next release + + Please comment if I am missing something, or correct me + + session: correctly set and unset ssl-verify flags + If no cert-subject or pubkey is provided, we should unset the corresponding flags. + +2012-05-17 Yonit Halperin <yhalperi@redhat.com> + + record channel: reseting channel caps + + playback channel: reseting channel caps + + display channel: reseting channel caps + + main channel: reseting channel caps + + Fix not setting channel specific capabilities upon channel reset + Related: rhbz#821795 + + The capabilities have been zeroed after channel reset, which have lead to + publish the wrong caps when both port and tls-port are given, and the + channels are secured (first attempt to connect the channel with "port" + has failed; the channel got reset, and then reconnected with "tls-port" + and bad caps). Specifically, the bug causes semi-seamless migration not + to work when part of the channels are secured. + +2012-05-10 Marc-André Lureau <marcandre.lureau@redhat.com> + + python: fix Spice.Audio binding + The spice_audio_new() function is not correctly generated h2def.py + anymore because of the surrounding #ifdef and macros. Add it in + the manual.defs instead. + + Avoid API breakage: + 2012-05-10 01:56:48,884 (cli:83): Uncaught exception: + Traceback (most recent call last): + File /usr/share/virt-manager/virtManager/console.py, line 475, in + _channel_new_cb + self.audio = spice.Audio(self.spice_session) + TypeError: GObject.__init__() takes exactly 0 arguments (1 given) + + https://bugzilla.redhat.com/show_bug.cgi?id=820335 + +2012-05-03 Yonit Halperin <yhalperi@redhat.com> + + display: video streaming: add support for frames of different sizes + rhbz #815426 + + When playing a youtube video on Windows guest, the driver sometimes sends + images which contain a video frame, but also other parts of the + screen (e.g., the you tube process bar). In order to prevent glitches, we send these + images as part of the stream, using SPICE_MSG_DISPLAY_STREAM_DATA_SIZED. + +2012-05-02 Marc-André Lureau <marcandre.lureau@redhat.com> + + Fix parsing URI query + Do not depend on uninitialized "len" variable to set the query string. + + https://bugzilla.redhat.com/show_bug.cgi?id=818169 + +2012-04-27 Christophe Fergeau <cfergeau@redhat.com> + + g_getenv returns a const string + When switching from getenv to g_getenv, 'doms' declaration + wasn't changed from char * to const char *, which causes + a gcc warning. + +2012-04-27 Daniel P. Berrange <berrange@redhat.com> + + Fix annotations for GrabSequence class + The default transfer mode is wrong for spice_display_get_grab_keys. + The array parameter for spice_grab_sequence_new needs explicit + annotation + +2012-04-26 Daniel P. Berrange <berrange@redhat.com> + + Replace getenv/setenv with g_getenv/g_setenv for Win32 portability + +2012-04-25 Daniel P. Berrange <berrange@redhat.com> + + Fix --spice-debug flag on glib >= 2.31 + With glib >= 2.31 no debug messages are ever printed out by + default, which makes the --spice-debug flag useless. This + fix explicitly turns on the appropriate log domain when + debug is requested. It takes care to preserve the users + own existing log domain requests + +2012-04-24 Marc-André Lureau <marcandre.lureau@redhat.com> + + Release v0.12 + + Lower a few warnings when migration fails + +2012-04-24 Daniel P. Berrange <berrange@redhat.com> + + Fix multiple problems with URI parsing + The URI parsing was not correctly skipping over the path component + if a port number was specified using the traditional URI scheme, + + eg + + spice://somehost:5900/ + + would result in failed parse due to the trailing '/' + + The URI parsing was also not considering that the authority + component is allowed to contain '[' and ']' around the hostname. + This is used when specifying raw IPv6 addresses to remove the + parsing ambiguity wrt ':'. + + eg + + spice://[::1]:5900/ + + Various stages of parsing also failed to report errors. + +2012-04-23 Uri Lublin <uril@redhat.com> + + setsockopt: check for ENOTSUP only if defined + For windows (mingw32) ENOTSUP is not defined. + + Related to 3bfadb8587f59a74d373e26385d348a105c2e425 + +2012-04-21 Marc-André Lureau <marcandre.lureau@redhat.com> + + Allow to disable CELT at runtime + We might want to make it a property, but having an environemnt variable + is useful too, to override behaviour. + + build-sys: pyparsing req. moved to spice-common + +2012-04-19 Daniel P. Berrange <berrange@redhat.com> + + Fix callback signature for --spice-debug option handling + The callback for option handling should return TRUE otherwise the + option parser will think parsing failed. The current 'void' return + type meant it was non-deterministic whether --spice-debug actually + worked or not + +2012-04-16 Marc-André Lureau <marcandre.lureau@redhat.com> + + Clear cache and glz dictionnary on switch-host + If we don't clear the glz dictionnary, this might lead to + corrupted/invalid dictionnary and invalid memory allocation due + unbounded increase of dictionnary size + + Set new cert-subject when switching host + https://bugzilla.redhat.com/show_bug.cgi?id=802574 + + gtk: scroll event are not received with recent gtk+ + Add explicit scroll event mask to make it work again. + +2012-04-10 Marc-André Lureau <marcandre.lureau@redhat.com> + + Fix cursor hide not hiding in some cases + cursor_set() didn't un-hide correctly by setting "show_cursor" to + NULL. + + The code is simplified a bit in server mode case, where the new cursor + will be invalidated and shown during cursor move only, instead of + twice (checked no regression with dual-head server mode) + +2012-04-06 Marc-André Lureau <marcandre.lureau@redhat.com> + + Fix crash when closing while recording + First notify about disconnection before resetting the channel data. + An audio recording task might expect the channel to be in a ready + state otherwise, for example. + + https://bugzilla.redhat.com/show_bug.cgi?id=810247 + +2012-04-05 Marc-André Lureau <marcandre.lureau@redhat.com> + + agent: avoid use of alloca for sending large msg + Instead of allocating unbounded memory and doing extra copy on the + stack, let's just improve our helper function to send messages in + various pieces. + + See also: https://bugzilla.redhat.com/show_bug.cgi?id=809145 + +2012-04-04 Christophe Fergeau <cfergeau@redhat.com> + + autogen.sh: default to --enable-vala when building from git + People using autogen.sh are likely to be building from git, so may + get updates to vala files at any time. Checking for the presence of + controller.vala.stamp to decide whether vala should be enabled or not + is not very accurate since it doesn't reflect if a .vala file needs + to be regenerated or not. + It's better to always pass --enable-vala to configure, it's always + possible to disable it by using --disable-vala as an autogen.sh argument. + + controller: handle USB redirection messages + + autogen.sh: log configure command line + Since --enable-vala may or may not be passed to configure, seeing + the actual command line that was used is helpful. + +2012-04-03 Marc-André Lureau <marcandre.lureau@redhat.com> + + fix build with glib < 2.32 + Reported and verified by Nicolas Prochazka + +2012-04-03 Hans de Goede <hdegoede@redhat.com> + + SpiceDisplay: Fix rounding of mouse motion events with GTK-3.0 + Before this patch we were assuming that the GdkEventMotion value we receive + are always whole (integer) numbers, which is not the case with GTK-3.0. + + SpiceDisplay: Don't try to scale mouse coordinates when we're not scaling + Often (when not resized by the user) even though scaling is enabled, we are + not actually scaling. In this case it is not necessary to scale the + mouse coordinates, and sometimes it is even harmful. + +2012-04-03 Yonit Halperin <yhalperi@redhat.com> + + controller: add support for DISABLE_EFFECTS and COLOR_DEPTH + rhbz #787449 + +2012-03-31 Marc-André Lureau <marcandre.lureau@redhat.com> + + Handle grab-broken event + This fixes the pointer being "trapped" in the center of the screen in + server-side mouse mode. It also correctly inform the client that the + pointer/keyboard is no longer grabbed so it can adjust its UI state + accordingly (remote the "press ctrl+alt to ungrab" messages etc). + + I can reproduce only with RHEVM22 host, and a RHEL6 guest, when + switching consoles. + + widget: fix invalid memory ref after channel is distroyed + When the display channel is destroyed, we disconnect all signals + handlers, but we don't remove the reference on the primary surface + data, and that can lead to crashes in a later expose event, reusing + the canvas surface (ex, if scaling is disabled). Call + primary_destroy() when disconnecting the channel from the widget. + + We now keep the primary surface during channel reset (right after + disconnect for example), so the primary surface can be eventually + recycled, and the widget still holds a valid reference until the + signal is received. The primary surface is ultimately destroyed during + finalize, or if the new primary surface size doesn't match. + + Program received signal SIGSEGV, Segmentation fault. + __memmove_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:2130 + 2130 lddqu -68(%rsi), %xmm0 + Missing separate debuginfos, use: debuginfo-install gtk2-engines-2.20.2-2.fc15.x86_64 libusb1-1.0.9-0.3.rc1.fc16.x86_64 p11-kit-0.6-1.fc16.x86_64 + (gdb) bt + at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:2130 + srclen=<optimized out>, srcinc=4096, destinc=68, height=<optimized out>, + half_order=0) at /usr/include/bits/string3.h:52 + dest_bits_per_pixel=32, req_yoffset=<optimized out>, req_xoffset=0, + image=0x7fffffffb9a0, req=<optimized out>, dpy=0x64a630) at PutImage.c:821 + req_height=<optimized out>, req_width=<optimized out>, y=<optimized out>, + x=0, req_yoffset=<optimized out>, req_xoffset=0, image=0x7fffffffb9a0, + gc=0xa817e0, d=33554452, dpy=0x64a630) at PutImage.c:870 + req_xoffset=0, req_yoffset=<optimized out>, x=0, y=26, req_width=17, + req_height=20, dest_bits_per_pixel=32, dest_scanline_pad=32) + at PutImage.c:908 + image=0x7fffffffb9a0, req_xoffset=0, req_yoffset=0, x=0, y=26, + req_width=17, req_height=20) at PutImage.c:1027 + image=<optimized out>, src_x=0, src_y=0, width=17, height=20, dst_x=0, + dst_y=26) at cairo-xlib-surface.c:1357 + ---Type <return> to continue, or q <return> to quit---c + height=20, width=17, dst_y=26, dst_x=0, src_y=<optimized out>, + src_x=<optimized out>, pattern=0x7fffffffc6b0, op=CAIRO_OPERATOR_OVER, + surface=0xb9a650) at cairo-xlib-surface.c:2403 + dst_y=26, dst_x=0, mask_y=0, mask_x=0, src_y=26, src_x=0, + abstract_dst=0xb9a650, mask_pattern=0x0, src_pattern=0x7fffffffc6b0, + op=CAIRO_OPERATOR_OVER) at cairo-xlib-surface.c:2452 + src_pattern=0x7fffffffc6b0, mask_pattern=0x0, abstract_dst=0xb9a650, + src_x=0, src_y=26, mask_x=0, mask_y=0, dst_x=0, dst_y=26, width=17, + height=20, clip_region=0x0) at cairo-xlib-surface.c:2415 + src=0x7fffffffc6b0, mask=0x0, dst=0xb9a650, src_x=0, src_y=26, mask_x=0, + mask_y=0, dst_x=0, dst_y=26, width=17, height=20, clip_region=0x0) + at cairo-surface.c:1802 + traps=0x7fffffffbee0, src=0x7fffffffc6b0, op=CAIRO_OPERATOR_OVER, + dst=0xb9a650) at cairo-surface-fallback.c:762 + op=CAIRO_OPERATOR_OVER, dst=0xb9a650, traps=0x7fffffffbee0, + antialias=CAIRO_ANTIALIAS_DEFAULT, clip=0x0, extents=0x7fffffffc600) + at cairo-surface-fallback.c:812 + ---Type <return> to continue, or q <return> to quit---bt + op=CAIRO_OPERATOR_OVER, source=0x7fffffffc6b0, clip=0x0) + at cairo-surface-fallback.c:935 + source=0x7fffffffc6b0, op=CAIRO_OPERATOR_OVER, surface=0xb9a650) + at cairo-surface.c:2027 + source=0x7fffffffc6b0, clip=0x7fffffffc7b0) at cairo-surface.c:1993 + at cairo-gstate.c:1049 + at spice-widget-cairo.c:104 + expose=0x7fffffffceb0) at spice-widget-cairo.c:133 + expose=0x7fffffffceb0) at spice-widget.c:885 + return_value=0x7fffffffca60, n_param_values=<optimized out>, + param_values=0x7fffffffcad0, invocation_hint=<optimized out>, + marshal_data=<optimized out>) at gtkmarshalers.c:86 + return_value=0x7fffffffca60, n_param_values=2, + param_values=0x7fffffffcad0, invocation_hint=<optimized out>) + ---Type <return> to continue, or q <return> to quit---c + at gclosure.c:777 + detail=0, instance=<optimized out>, emission_return=0x7fffffffccb0, + instance_and_params=0x7fffffffcad0) at gsignal.c:3584 + signal_id=<optimized out>, detail=0, var_args=<optimized out>) + at gsignal.c:3305 + signal_id=<optimized out>, detail=<optimized out>) at gsignal.c:3351 + event=0x7fffffffceb0) at gtkwidget.c:4999 + + mjpeg: fix blue-tinted video stream with old server + The major == 1 uses RGB colorspace for mjpeg streams. + +2012-03-30 Marc-André Lureau <marcandre.lureau@redhat.com> + + session: take pubkey reference in setter + The session assumed it owned a reference to it. + But it didn't get it, and that lead to invalid memory access. + + Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=802574 + + Be more tolerant on NULL arrays + 2 places where we should be more carreful with NULL arrays, and we can + avoid potential crashes. + +2012-03-29 Hans de Goede <hdegoede@redhat.com> + + usb-device-widget: Call set_active on the toggle_button, not the alignment + Since the gnome HIG-ifying of usb-device-widget.c, the vbox contains + alignments, which in turn contain a toggle_button, so calling + gtk_toggle_button_set_active directly on the vbox-containers childdren is + wrong. + +2012-03-29 Uri Lublin <uril@redhat.com> + + usb-acl-helper: add a missing "break" + +2012-03-25 Marc-André Lureau <marcandre.lureau@redhat.com> + + build-sys: move codegen & proto to spice-common + With this iteration, all the spice_codegen.py/proto/marshaller + generation has been moved to spice-common. + + The spice-common directory will ship spice-protocol, since it's needed + there too to build libspice-common. + + Again, make distcheck passes. Build with mingw & fedora linux. + +2012-03-22 Marc-André Lureau <marcandre.lureau@redhat.com> + + Always release shm of primary surfaces + Always remove shared memory segment of primary surfaces when + destroying its canvas. + +2012-03-21 Marc-André Lureau <marcandre.lureau@redhat.com> + + controllers: signal when a client is connected + + controller: handle SEND_CAD message as a property + + Fix cursor not being shown in client mode in some cases + The following seems to happen: + - cursor-hide (for all cursor/display channels) + - cursor-set (for all cursor/display channels) + + All cursor/display channels receive cursor-set events when the cursor + is changed, however, only current display cursor should be drawn in + server-mode. How to know which display? + + So it will wait until cursor-move to draw it in server-mode on the + right display. + + In the case of client-mode cursor, it doesn't matter since it will + depend on which client display the pointer is, so it can be changed + immediately. + +2012-03-20 Marc-André Lureau <marcandre.lureau@redhat.com> + + build-sys: fix make distclean going twice in vapi dir + Don't use DIST_SUBDIRS, it's not needed anyway. + + build-sys: fix compilation of bindings + Hide symbol from API to fix pygobject. + + Also vapigen chokes on "record" typename + + SpiceClientGtk-3.0.gir:32.55-32.55: error: The type name `Gtk.BoxClass' could not be found <type name="Gtk.BoxClass" c:type="GtkBoxClass"/> + + This seems to be a bug in symbol lookup in vapigen. Using a struct + typedef solves it. + + doc: gtk-doc cleanup + Fix all the unused symbols and a few warnings (a lot left) + + Add SPICE_DISABLE_DEPRECATED guard + + build-sys: improve maintainer clean + + build-sys: use new git.mk + +2012-03-19 Marc-André Lureau <marcandre.lureau@redhat.com> + + Hide cursor when it is on a different screen in server mode + When the cursor shape is changed, all the cursor channels are + updated. The current code assumed that the "set" of the shape should + show the cursor, but it should stay hidden instead. + + Also, when the cursor is hidden, we must invalidate its current + region to redraw display. + + Fix: https://bugzilla.redhat.com/show_bug.cgi?id=804308 + +2012-03-18 Marc-André Lureau <marcandre.lureau@redhat.com> + + Do not grab display widget + We used to gtk_grab_add() after mouse grab to limit the mouse events + to the display. But it isn't necessary if the display has its own + window, since gdk_pointer_grab() will be limited to it. + + Note the widget has the keyboard focus & is focused, so this doesn't + affect keyboard events. + + However, this allows application to keep global accelerators + functionning if they want to (like virt-viewer with custom key + bindings). + + Notify agent-connected property change + + Improve spice_main_set_display_enabled() + Check given display id is within the range of array. + Allows to be call with -1 to turn set all displays. + + Fix non-semi-seamless migration in spicy + The windows are destroyed during non-semi-seamless migrations, but the + gtk session and connected handlers remains. When a property changes + again on it, it will signal a destroyed window and lead to a crash. + + The signal handler should be disconnected when the window is + destroyed. Since we have N numbers of handlers, it's easier to use + spice_signal_connect_object() helper to handle this for us by turning + spice_window structure into a basic GObject. + + That GObject code could be improved, but that wasn't the goal of this + patch. + + Use given color depth in monitor configuration + The main channel only relied on + VD_AGENT_DISPLAY_CONFIG_FLAG_SET_COLOR_DEPTH to set color depth when + connecting to a guest. However, that doesn't seem to be + enough. Instead send given color depth with monitor configuration. + + Fix --spice-color-depth option not "apparently" working. + +2012-03-16 Marc-André Lureau <marcandre.lureau@redhat.com> + + build-sys: if stow is installed, default prefix to it + This is going to make life easier for stow users, including myself. + + build: fix build with glib < 2.32 + Using GMutex as a static mutex is only possible since 2.32. + + Add a G_GNUC_NORETURN to a function that exits + +2012-03-15 Marc-André Lureau <marcandre.lureau@redhat.com> + + use common submodule + + Fix incorrect array size check + +2012-03-14 Marc-André Lureau <marcandre.lureau@redhat.com> + + Move undef FORTIFY below config.h + It used to be below, then was moved on top of all, but now it's + defined in config.h. Hopefully below config.h is the right + place. config.h should never have direct includes anyway. + +2012-03-14 Hans de Goede <hdegoede@redhat.com> + + buildsys: Disable some warnings + Mostly so that they don't turn into errors when building from source: + -Wno-missing-field-initializers: + Because this has to be close to the most stupid warning gcc has ever produced + -Wno-deprecated-declarations + Because we use some deprecated functions to avoid #ifdef hell while maintaining + compat with older gtk / glib versions + + usbredir: Check for existing usb channels after libusb init + Currently trying to view a usbredir enabled vm from virt-manager causes + virt-manager to crash. This crash is caused by the following happening: + + -virt-manager sets up the session, including connecting all the channels + -a spice-gtk internal code path calls spice_usb_device_manager_get() + -spice_usb_device_manager_get calls channel_new on all already connected + usb channels + -channel_new does: + spice_usbredir_channel_set_context(SPICE_USBREDIR_CHANNEL(channel), + self->priv->context); + -But self->priv->context has not been set yet (so is NULL) -> segfault! + + This patch fixes this by moving the iterating over already connected + usb channels to after the setting of self->priv->context. Note this means + that the channels will no longer get checked when there is no USB_REDIR + support. That is not a problem since spice_usb_device_manager_initable_init + will return FALSE in that case anyways. + +2012-03-14 Marc-André Lureau <marcandre.lureau@redhat.com> + + Use GTK_DISABLE_DEPRECATED to avoid inclusion of problematic headers + /usr/i686-w64-mingw32/sys-root/mingw/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: error: function declaration isn't a prototype [-Werror=strict-prototypes] + + Fix 'libintl_printf' is an unrecognized format function + ../common/lz.h:18:5: error: 'libintl_printf' is an unrecognized format function type [-Werror=format] + + Remove deprecation warnings + +2012-03-14 Daniel P. Berrange <berrange@redhat.com> + + Disable -Wwrite-strings for Python binding + The code generator for the python binding generates code which + throws away const-ness on strings. Disable the -Wwrite-strings + warning to avoid failing on this auto-generated code. + +2012-03-13 Daniel P. Berrange <berrange@redhat.com> + + Replace %02hhx with %02x in UUID format + Use of 'hh' in the UUID format string is not required. Furthermore + it causes errors on Mingw32, where the 'hh' modifier is not supported + + Import GNULIB's GCC warning macros + GNULIB has a helpful module 'manywarnings' which makes it easy + to turn on every single GCC warning. The general goal is that + every possible GCC warning should be enabled, except for certain + blacklisted warnings. + + This imports the GNULIB m4 macros, and updates configure.ac to + use this new capability. As & when new GCC warnings are created, + the 'manywarnings.m4' can be refreshed from upstream GNULIB + + * m4/manywarnings.m4, m4/warnings.m4: GNULIB warning macros + * configure.ac: Remove custom compiler warning checks + * m4/spice-compile-warnings.m4: Decide what GCC warnings to enable + + Avoid 'goto' jumping over variable initialization + When a goto statement jumps over a variable declaration with an + initializer, the state of that variable is undefined. Move the + declaration further up, so that the goto doesn't jump over it. + This lets the compiler then warn, if the goto jump results in + use of undefined values. + + Fix no-arg functions declared () to use (void) + * common/quic.h, common/rop3.h, common/sw_canvas.h: s/()/(void)/ + + Add missing includes & make some functions static + A number of functions were used without prior declaration. In + some cases this was due to missing include files. In other cases + the functions should have just been static. + + Ideally this would allow -Wmissing-declarations to be enabled, but + the files generated by spice_codegen.py will still trip up on this. + + Ensure all no-args methods are declared (void) not () + * common/quic.c, common/rop3.c, common/sw_canvas.c, + gtk/spice-client-glib-usb-acl-helper.c: s/()/(void)/ + + Add printf format annotations to all '...' functions + To allow the compile to detect incorrect printf formats, any + var-args function should have a format annotation + + * common/macros.h: Helper to define ATTR_PRINTF for code + which can't depend on glib + * common/canvas_base.c, common/lz.h, common/macros.h: Annotate + some var-args methods + + Replace duplicated header declarations + The usb-helper-acl.h header file duplicated some declarations + already present in usb-device-manager.h + + The channel-display.c file declared the object init function + which is already done by the GObject helper macros + + * gtk/channel-display.c: Remove duplicate decl of init function + * gtk/usb-acl-helper.h: Remove duplicate decls + + Remove arithmetic on void* pointers + Arithmetic on void * pointers is undefined by the C standard. + Convert the one case of this to use guint8 instead. + + * gtk/channel-main.c: s/void */guint8 */ + + Fix some integer range checks which always evaluate false + There are some integer range checks which always evaluate false + due to use of unsigned integer types. One of these would prevent + detection of encoding errors from celt. The others are simply + no-ops. + + * gtk/channel-record.c: Make 'frame_size' signed to allow detection + of celt encoding errors + * gtk/spicy.c: nkeys is an unsigned type, so checks for nkeys < 0 are bogus + * common/pixman_utils.c: SpiceROP is an enum & thus unsigned + + Avoid warnings about empty conditional statement bodies + Add extra {} braces around if/else statements which only + call SPICE_DEBUG to avoid: + + ../common/ssl_verify.c: In function 'verify_pubkey': + ../common/ssl_verify.c:87:50: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] + ../common/ssl_verify.c: In function 'verify_hostname': + ../common/ssl_verify.c:254:53: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] + ../common/ssl_verify.c: In function 'verify_subject': + ../common/ssl_verify.c:381:41: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] + + Fix deprecation warning handling + Various methods are deprecated by using the G_GNUC_DEPRECATED_FOR + macro. Unfortunately this macro was placed in the .c file impl, + instead of the .h file decl. Thus applications building against + SPICE-GTK would never see the deprecation warnings. At the same + time, building SPICE-GTK itself would trigger some of the warnings + preventing use of -Wdeprecated-declarations to detect use of + deprecated GTK functions. + + The fix is in multiple parts + + * Replace calls to G_GNUC_DEPRECATED_FOR with SPICE_DEPRECATED_FOR + * Move macros from .c to .h files + * Turn SPICE_DEPRECATED_FOR into a no-op if SPICE_NO_DEPRECATED + is defined + * Define SPICE_NO_DEPRECATED when building + + Fix old style declaration where 'inline' came after return type + Fix a case of 'static int inline' to be 'static inline int' + + Fix const-correctness of functions & add explicit casts + Some functions should be declared to take const char * instead + of plain char *. In other places we intentionally cast away + const-ness, so we should add explicit casts to stop compiler + warnings + + Remove non-existant include directories from CFLAGS + + Don't delete gtk-doc.make in distclean + gtk-doc.make is created by autogen.sh, therefore it should + not be deleted in distclean, only maintainerclean + +2012-03-08 Marc-André Lureau <marcandre.lureau@redhat.com> + + Release v0.11 + + Update since annotation for some session properties + +2012-03-08 Hans de Goede <hdegoede@redhat.com> + + channel-usbredir: Handle some more usbredirhost_read_guest_data errors + +2012-03-07 Marc-André Lureau <marcandre.lureau@redhat.com> + + Do not warn when starting spicy if usbredir is disabled + + sasl: sasl authentication failure results in disconnection + When SASL auth failure happen, the Spice server disconnects the + client. Sadly, this is not easily distinguishable from an IO error. + However, since it happens during authentication phase it is better to + error out an authentication error. + + sasl: lower visibility of normal debug message + Those two g_critical() can happen when collecting credentials for the + first time. It is not something to be warned about, but merely useful + for debugging + + build: move @SPICE_GLIB_REQUIRES@ to Requires.private + The libraries listed in Requires aren't needed during build time, they + are library depedencies. And since this is only needed if linking + statically, we can safely move them to Requires.private. + + Succesfully tested change with compilation against virt-viewer. + + Later, this will also help fixing bug rhbz #799112. + +2012-03-06 Marc-André Lureau <marcandre.lureau@redhat.com> + + Fix semi-seamless migration handling + SPICE_MSGC_MAIN_MIGRATE_END was dropped because the main channel was + xmit_queue_blocked. When we swap the channels, we should also swap + xmit_queue. + +2012-03-05 Marc-André Lureau <marcandre.lureau@redhat.com> + + Warn if a message is dropped (before connection or after reset) + Since c2ba62666beaee526e1b4288f9bd66976ce780ef messages can be ignored + when a channel is reset. A warning can help explain why some messages + are dropped. + + Support name & uuid + Allows a client to identify the server it is connected to. + +2012-02-29 Marc-André Lureau <marcandre.lureau@redhat.com> + + Add a spice-controller-dump testing tool + By default, start a controller listener. + If ran with --menu, start a foreign-menu listener. + + Add controller foreign menu support + + Fix a few warnings on windows build + + Allow open_fd() to be called with -1 + In this case, a valid fd will be requested via the + SpiceChannel::open-fd signal. + +2012-02-24 Hans de Goede <hdegoede@redhat.com> + + buildsys: Don't link glib-compat.o into libspice-client-gtk.so + glib-compat.c was added to SPICE_GTK_SOURCES_COMMON since with the + new SpiceUsbDeviceWidget libspice-client-gtk now also uses G_TYPE_ERROR + and when compiling with an older glib this gets defined in glib-compat.o + + However doing this turns out to be a very BAD idea, since having + glib-compat.o linked into 2 different libraries, each defining there + own private spice_error_get_type, leads to the "GError" type getting + registered twice with glib, which it does not like. + + So instead of linking glib-compat into 2 different libraries, put it only + in libspice-client-glib and export spice_error_get_type from + libspice-client-glib (this is ofcourse intended for libspice-client-gtk + private use only). + + Fix building with policykit < 0.101 + +2012-02-23 Marc-André Lureau <marcandre.lureau@redhat.com> + + Release v0.10 + + use :glz-window-size not :glz_window_size + + build: fix build with recent mingw64 + Christophe did similar patches for common/ directory in spice. Some + day, we should try to sync and move common/ to a spice-common + project... + +2012-02-22 Hans de Goede <hdegoede@redhat.com> + + usbredir: Add awareness of host/guest side filtering + + usbredir: Add a spice_usb_device_manager_can_redirect_device function + Add a spice_usb_device_manager_can_redirect_device function and use this + in SpiceUsbDeviceWidget to check if redirection is available. + + usb-device-widget: Use an info_bar for error messages + And in general gnome-hig-ify usb-device-widget: + * Use spacing instead of padding so that there is no padding at the + outside/border of the widget, allowing the user to control the border size. + * Use multiple of 6 as spacing / indentation values + * Show the label left justified and bold, show the checkboxes (and the info + bar) 12 pixels indented from the label + + configure: Fix "USB redirection support" summary on --disable-usbredir + When running "./configure --disable-usbredir" the + "USB redirection support" line in the summary at the end of ./configure + would be empty after "support" instead of ending with yes or no. + + usbredir: Treat the user cancelling the policykit dialog as a cancel + Rather then treating it as any other error. This avoids showing an error + dialog after the user pressed cancel in the policykit dialog. + + usbredir: Add device rejected errors + +2012-02-22 Marc-André Lureau <marcandre.lureau@redhat.com> + + RFC: Use spice protocol as a submodule + Spice protocol contains only headers. We would like to be able to use + a protocol update without having to wait for the release, a git + submodule works well for this purpose. + +2012-02-20 Marc-André Lureau <marcandre.lureau@redhat.com> + + Fix make distcheck + +2012-02-20 Hans de Goede <hdegoede@redhat.com> + + usbredir: Shrink the usb device selection dialog when devices are unplugged + + usbredir: make channel lifetime equal to session lifetime + + usbutil: Add support for getting strings from usb.ids + Unfortunately not all device makers go to the "trouble" of adding device + identification strings to a device's descriptors. This patch makes spice-gtk + translate vid/pid into strings if the device lacks the strings. + + usbutil: Add a spice_usb_util_get_device_strings helper function + + usb: Move various helper functions into usbutil.[c,h] + +2012-02-17 Marc-André Lureau <marcandre.lureau@redhat.com> + + Add controller ENABLE_SMARTCARD message + +2012-02-13 Marc-André Lureau <marcandre.lureau@redhat.com> + + widget: fix mouse wrapping failing when the window is outside + Use a anchor mouse position after every move, similar to spicec to + avoid reaching transparent border on the screen. + + We try to move to the center of the screen, but + gdk_display_warp_pointer () will move the cursor within the grabbed + window (so it still receives mouse events even on Windows) + + Tested with Linux and Windows clients. + + Fixes bug: https://bugs.freedesktop.org/show_bug.cgi?id=45595 + +2012-02-13 Nicolas Prochazka <prochazka.nicolas@gmail.com> + + Set keepalive on channel socket + Without keepalive on each connection(channel), channel is destroyed + after ip_conntrack_tcp_timeout_established timeout. + + https://bugs.freedesktop.org/show_bug.cgi?id=45899 + +2012-02-12 Marc-André Lureau <marcandre.lureau@redhat.com> + + Use an openssl BIO stream using GSocket + Until now, the BIO object used by openssl to read & write was using + the socket fd directly. But the mainloop integration is done with + GSocket. + + On Windows, the read/write events are cleared after + g_socket_send()/receive() with private function + _win32_unset_event_mask. If the glib functions aren't cleared, glib + source will keep notifying of data available in or out. On Windows, + this causes a busy loop when doing SSL_read() for example (glib + POLL_IN data condition is reached and SSL_read() return needs data). + + Instead, openssl should read/write using GSocket methods. + +2012-02-09 Daniel P. Berrange <berrange@redhat.com> + + Don't warn if setsockopt(TCP_NDELAY) fails with errno==ENOTSUP + If connecting to a UNIX domain socket, it is expected that the + setsockopt(TCP_NDELAY) call will fail with errno=ENOTSUP, so don't + issue a warning in that case + +2012-02-08 Christophe Fergeau <cfergeau@redhat.com> + + Link with usbredirparser + spice-gtk uses usbredirfilter_string_to_rules which is defined + in usbredirparser but does not link with it. This causes link errors + on some distributions. Fixes fdo bug #45761. + +2012-02-03 Marc-André Lureau <marcandre.lureau@redhat.com> + + Lower or silence some harmless debug messages + +2012-02-01 Marc-André Lureau <marcandre.lureau@redhat.com> + + widget: allow defining a zoom-level + Add a "zoom-level" property. Maintain the given scaling ratio when + scaling is enabled. + + If scaling is disabled, this property is ignored. + + For example at 50%, this allows to fit a 640x480 desktop in a 320x240 + widget and when resizing it to 640x512 to have a 1280x1024 desktop. + + (this feature is required by virt-viewer) + + widget: factor out update_size_request() and scaling_updated() + Factor out and simplify a little the code to allow easier addition of + zoom-level property. + + The "set_display" parameter for recalc_geometry() seems to be useless, + since the code was apparently trying to set the guest to the given + d->width and d->height, but reseting it to the current value, which + cancel the effect. + + We should fix the problem of setting the guest resolution at + display-init time in a follow-up patch since it probably never worked + with spice-gtk. + +2012-01-31 Marc-André Lureau <marcandre.lureau@redhat.com> + + Report the scaling is 1.0 if the widget isn't realized yet + To avoid a few warnings in some corner cases. + + Do not grab/release the clipboard on guest without clipboard support + Add an agent capability check before calling those functions from + gtk-session. Avoid extra warnings. + +2012-01-31 Hans de Goede <hdegoede@redhat.com> + + Release 0.9 + + Add a USB device selection widget + This patch adds a SpiceUsbDeviceWidget which apps can use to easily + add an UI to select USB devices to redirect (or unredirect). + + See spicy for an example usage. + +2012-01-30 Hans de Goede <hdegoede@redhat.com> + + usb-device-manager: Cleanup USB manufacturer and product strings + The strings returned by devices sometimes can benefit from some clean-up. + +2012-01-28 Hans de Goede <hdegoede@redhat.com> + + spice-client-glib-usb-acl-helper: Fix mention of Lesser in license header + + spice-client-glib-usb-acl-helper: ensure we set the acl on a chardev + Josh Bressers has been so kind to review the usb-acl-helper for possible + security issues. One of his recomendations was to ensure that the file + we're setting the acl on is a chardev. + + spice-client-glib-usb-acl-helper: Fix memleak + Not really important given the short livedness of the process, but + still should be fixed. + + configure: Add an option for building the acl helper as PIE + Josh Bressers has been so kind to review the usb-acl-helper for possible + security issues. One of his recomendations was to harden the usb-acl-helper + by building it as a Position Independent Executable. + + configure.ac: s/x"$have_foo"/"x$have_foo"/ + configure.ac was using 2 slightly different styles for have_foo tests: + if test x"$have_foo" = "xyes"; then + and: + if test "x$have_foo" = "xyes"; then + + Switch to the latter style everywhere for consistency. + + configure.ac: Cleanup policykit checks + * No need to set AM_CONDITIONAL WITH_POLKIT from the enable_usbredir tests, it + get sets from the enable_polkit tests in all paths + * Improve the help text: mention auto as option, policykit -> PolicyKit, + not yes but auto is the default + * Warn when building with usbredir support but not building the acl helper + +2012-01-24 Christophe Fergeau <cfergeau@redhat.com> + + Add check for Perl::Text::CSV + This check is only added to configure.ac contrary to the pyparsing + patch. + + Add check for pyparsing + Check both in configure.ac (after checking if we need to rebuild + the marshalling files) and in the python script using pyparsing + (for people modifying .proto files in tarballs) + + Use PKG_CHECK_EXISTS for g-i has_symbol_prefix check + GOBJECT_INTROSPECTION_CHECK will alread test for the presence of + gobject-introspection. The PKG_CHECK_MODULES(GOBJECT_INTROSPECTION) + call only needs to set the has_symbol_prefix variable, so we can + use PKG_CHECK_EXISTS here, and let GOBJECT_INTROSPECTION_CHECK do + the rest of the work. + + Autodetect usbredir and PolicyKit by default + Currently, usb redirection and policykit are enabled by default, + and configure will error out if the required dependencies cannot + be found. This commit changes the default behaviour, by default + usb redirection/policykit support is automatically enabled/disabled + depending on the availability of the needed dependencies. Passing + --enable-usbredir will error out if the dependencies for usb + redirection cannot be found, ditto for policykit. This should make + things nicer for people running configure or autogen.sh with no + argument. + +2012-01-24 Yonit Halperin <yhalperi@redhat.com> + + Add command line options for setting the cache size and the glz window size + This options will help us tune and find the optimal values. + + Change the setting of the images cache size and the glz window size + Set the default sizes to be the same as in the old linux spice client. + cache_size=20M pixels (instead of 32M), window_size=8M pixels for a 64MB + dev ram (instead of 16M pixels). + +2012-01-24 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: fix vapigen error and warnings + Thanks to Jeremy Bicha for the bug report and testing solution. + + https://bugs.freedesktop.org/show_bug.cgi?id=45154 + +2012-01-23 Marc-André Lureau <marcandre.lureau@redhat.com> + + controller: use a controller listener abstraction + Add a wrapper file for named pipe and socket listener, so we can release + tarball with code compatible with windows and unix. + + build: use AM_GLIB_GNU_GETTEXT + For some unknown reason, this set DATADIRNAME='share' on Windows, + which is what is expected. + + Although some people say only IT_PROG_INTLTOOL is necessary, it gets + the path wrong in this case too. + +2012-01-18 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk-session: weak reference the session for clipboard cb + It seems Gtk is lacking a way to cancel a gtk_clipboard_request_*(). + + Although it seems like gtk_selection_remove_all() would solve that + problem, it will have nasty effect of destroying other pending + requests from others.. + + Let's make use of an extra weak reference object that will be nulled + when the session is destroyed. + + This should help solving the follwing bug: + https://bugzilla.redhat.com/show_bug.cgi?id=743773 + + gtk-session: ignore destroy of outdated main channel + This solves clipboard sharing not working with a password protected + server, since new main channel are created for each connection + attempt. + +2012-01-17 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: allow out-of-tree building of python bindings + +2012-01-17 Hans de Goede <hdegoede@redhat.com> + + spice-channel: Allow calling spice_msg_out_send from any context + spice_msg_out can be not only called from system context and usb event + handling thread context, but also from co-routine context. Calling from + co-routine context happens when a response gets send synchronously from + the handle_msg handler for a certain received packet. This happens with + certain usbredir commands. + + This triggers the following assert in the coroutine code: + "GSpice-CRITICAL **: g_coroutine_wakeup: assertion `coroutine != + g_coroutine_self()' failed" + + This patch fixes this by making spice_msg_out_send callable from any + context and at the same time changing the code to not do unnecessary + wakeups. + +2012-01-16 Hans de Goede <hdegoede@redhat.com> + + gtk/display: Get rid of old FSF address in copyright headers + rpmlint pointed this out while I was checking the new spice-gtk-0.8 package + for Fedora. + +2012-01-16 Christophe Fergeau <cfergeau@redhat.com> + + Handle spice_audio_new failures + spice_audio_new can return a NULL pointer when there's a failure + during the initialization of the audio system. When this happens, + we shouldn't keep initializing the spice audio channel as if nothing + happened, but just stop the connection. + This can be tested by forcing the "self" variable to NULL in + spice_audio_new + This should fix https://bugzilla.redhat.com/show_bug.cgi?id=772118 + +2012-01-15 Marc-André Lureau <marcandre.lureau@redhat.com> + + Release 0.8 + + Generate ChangeLog and ship it in the tarball + + Send grab-key signal even in mouse client mode + +2012-01-15 Hans de Goede <hdegoede@redhat.com> + + usbredir: Add support for filtering out devices from auto-redirection + Note this patch adds a default filter filtering out HID devices, since + redirecting ie a mouse plugged into a laptop is usually not what the user + wants. Also sometimes usb keyboards/mice may experience a glitch causing + them to temporarily drop of the bus. If this happens when the spice-client + has focussed it used to redirect them to the vm when they re-appeared, + not good! + +2012-01-15 Marc-André Lureau <marcandre.lureau@redhat.com> + + Fix compilation on mingw/windows + + Warn if windows keyboard hook failed + + Don't release images after the tail gap + This fix a hang on an image lookup that has already been remved. It + only happens in multihead, when stressing a bit the displays. + + The decoder assumed that the last added images is the tail of the + window. However, there are "gaps" in the window that will be filled by + other channels. Instead of taking the last added image as the current + up to date tail, let's take the reference to the last image before the + first gap as the up to date tail, and release from there. + + The spicec code does things differently, perhaps it needs slightly + less memory at the cost of added complexity by maintaining list of + missing images and much more conditions/synchronization. + + Grab focus before grabing keyboard + Make sure the display has the focus before grabing the keyboard for + the application. + +2012-01-12 Marc-André Lureau <marcandre.lureau@redhat.com> + + wait for cached images that haven't been added to the cache yet + https://bugs.freedesktop.org/show_bug.cgi?id=44570 + + Log if condition wait got cancelled + https://bugs.freedesktop.org/show_bug.cgi?id=44570 + + Make g_coroutine_condition_wait() cancellable + https://bugs.freedesktop.org/show_bug.cgi?id=44570 + + Remove the non-interruptible version g_io_wait() + Use the common g_coroutine_socket_wait() + + https://bugs.freedesktop.org/show_bug.cgi?id=44570 + + Create a GCoroutine, get rid of wait_queue + https://bugs.freedesktop.org/show_bug.cgi?id=44570 + + Hide g_condition_wait_source, use GLib style convention + https://bugs.freedesktop.org/show_bug.cgi?id=44570 + + Lower connection error from warning to debug, it's normal to fail + We try several connections, so it's normal to fail for some. + No need to warn. + + https://bugs.freedesktop.org/show_bug.cgi?id=44570 + + Lower our gtk+ requirement to 2.18, as we claim + Needed to build on RHEL6 + + Lower polkit requirement to 0.96 + + Lower our glib requirement to 2.22, as we claim + Required to build on RHEL, even upcoming 6.3 + +2012-01-11 Yonit Halperin <yhalperi@redhat.com> + + migration: swap serials and mini header support when swapping peers. + + Add support for SPICE_COMMON_CAP_MINI_HEADER + Don't send/receive serial and sub_list when the server supports the + above cap. + +2012-01-10 Yonit Halperin <yhalperi@redhat.com> + + spice-channel: support SPICE_MSG_LIST + + configure: spice-protocol >= 0.10.1 (support mini header) + +2012-01-08 Marc-André Lureau <marcandre.lureau@redhat.com> + + Wait for channels before invalidating images + https://bugs.freedesktop.org/show_bug.cgi?id=44179 + + Implement SPICE_MSG_WAIT_FOR_CHANNELS + https://bugs.freedesktop.org/show_bug.cgi?id=44179 + +2012-01-07 Marc-André Lureau <marcandre.lureau@redhat.com> + + add optional format string to spice_usb_device_get_description() + +2012-01-07 Marc-André Lureau <marcandre.lureau@gmail.com> + + build: oops, fix previous commit + +2012-01-06 Marc-André Lureau <marcandre.lureau@gmail.com> + + build: fix compilation with --disable-usbredir + +2012-01-05 Alon Levy <alevy@redhat.com> + + spice-session: support uri with colon + With this patch if you use: + spice://<host>:<port> + + it will be treated the same as: + spice://<host>?port=<port> + + You will also get a warning for the following double port definitions: + spice://<host>:<port1>?port=<port2> + spice://<host>:<port1>:<port2> + + (similar to the double key warnings introduced in the previous commits) + + spice-session/spice_uri_parse: fail if a key is seen twice + +2012-01-04 Hans de Goede <hdegoede@redhat.com> + + Makefile: Ensure the acl helper is installed before making it suid root + On my system when running make install, after installing the libraries it + first executes install-binPROGRAMS: + + /bin/sh ../libtool --mode=install /usr/bin/install -c spicy snappy spicy-st + libtool: install: /usr/bin/install -c .libs/spicy /usr/bin/spicy + libtool: install: /usr/bin/install -c .libs/snappy /usr/bin/snappy + libtool: install: /usr/bin/install -c .libs/spicy-stats /usr/bin/spicy-stats + + Then the install-exec-hook: + + make install-exec-hook + make[6]: Entering directory `/home/hans/projects/spice/spice-gtk/gtk' + chown root /usr/bin//spice-client-glib-usb-acl-helper + chmod u+s /usr/bin//spice-client-glib-usb-acl-helper + + And only then does it install the actual helper by executing + install-aclPROGRAMS: + + /bin/sh ../libtool --mode=install /usr/bin/install -c spice-client-glib-usb + libtool: install: /usr/bin/install -c spice-client-glib-usb-acl-helper /usr/bin + + Which means that the install-exec-hook runs too early, either there is no + spice-client-glib-usb-acl-helper for it to make suid root, or if there is it + will later get overwritten and its rights will get reset. + + The problem is that install-fooPROGRAMS gets run as part of install-data, + not install-exec. So we can fix this by changing the code to make the helper + suid root run from install-data-hook. + + usbredir: Don't directly use g_mutex_foo() + In glib <= 2.30 g_mutex_foo() are macro's so dereferencing them directly + does not work. + +2012-01-03 Hans de Goede <hdegoede@redhat.com> + + usbredir: Don't call spice_usbredir_channel_disconnect on channel reset + channel_reset gets called from spice_channel_disconnect, and + spice_usbredir_channel_disconnect calls spice_channel_disconnect + (so as to disconnect the channel when a usb device gets disconnected). + + So calling spice_usbredir_channel_disconnect from channel_reset leads to + undesirable recursion. More over calling spice_usbredir_channel_disconnect + disconnects / closes both the channel and *the usb device* and closing the + usb device on migration is not what we want. + + Note that currently migration of usbredir channels does not work, and this + patch does not fix this, but it does fix a regression when disconnecting + usb devices normally (by unplugging them for example). + + usbredir: Give devices a user friendly description + Before this patch devices were described like this to the user: + USB device at 2-14 + After this patch the description is: + SanDisk Cruzer Blade [0781:5567] at 2-14 + + usbredir: Drop our embeddied GUsb copy + No that we no longer use GUsbSource we're hardly using any code from GUsb, + so drop our embeddied GUsb copy and do the last few things (device + enumeration through gudev) ourselves. + + usbredir: Remove spice_usb_device_manager_get main_context argument + Now that we no longer use a GUsbSource this is no longer needed. + + Note this is a change to our public API, but that is ok since we have not + yet done an official release with usbredir support. + + usbredir: Handle usb events from a thread + This solves various latency issues with USB handling. + + usbredir: Add locking callbacks for libusbredirhost + This is a preparation patch for handling usb packet completion in a + separate thread. + +2011-12-22 Hans de Goede <hdegoede@redhat.com> + + usbredir: Create USB event source on demand + This is a preparation patch for handling usb packet completion in a + separate thread. + + usbredir: Use new libusbredirhost write flush callback + The new (in usbredir-0.3.2) usbredirhost_open_full() + function allows us to be notified whenever usb packets completing + result in data to be send to the host. This removes the need for using + g_usb_source_set_callback and seeing if there is data to write on + any of the usb channels each time some usb event happens. + + This also bumps the minimum needed libusbredirhost version to 0.3.2 + + usbredir: USB channels can not be read only + A usbredir channel must always be bi-directional. spice-server + allows only one client to connect even when in multi-client mode. Since + usually there are multiple usb channels available, it is allowed for one client + to use one channel, while another client uses another usb channel. + + usbredir: Stop setting private data explictly to NULL on init + This is not necessary and as we get more private data it becomes + unyieldly. + + spice-channel: Allow spice_msg_out_send to be called from multiple threads + This is a preparation patch for handling usb packet completion in a + separate thread. + + spice-channel: setsockopt TCP_NODELAY + spicec does this for all channels, and it seems like a good idea to do the + same in spice-gtk. + +2011-12-22 Christophe Fergeau <cfergeau@redhat.com> + + Disable vala bindings unless --enable-vala is used + Currently, building vala bindings from a tarball is broken because + spice-client-glib-2.0.deps is missing from the tarball. This commit + adds it to EXTRA_DIST and also makes sure the vala bindings don't + get built/installed unless --enable-vala has been passed to configure. + This means vala must be installed to build the vala bindings from a + tarball. Fixes fdo bug #44000. + + Revert previous vala-related commits + They were work in progress and not meant to be committed, apologies + for the noise :-/ + + Only install vala bindings when using --enable-vala + + More distcheck fixes + +2011-12-22 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: ship vala files & fix make distcheck + Disable usbredir, since it wants to install file in /. + + Disable vala for distcheck for 2 reasons: not needed after dist and + binding build issue. + + Ship with spice-gtk-3.0 vala bindings + + https://bugs.freedesktop.org/show_bug.cgi?id=44000 + +2011-12-22 Christophe Fergeau <cfergeau@redhat.com> + + Make path to the USB ACL helper configurable + It's currently installed in $bindir, but this patch makes it possible + for distros like fedora to install it in $libexecdir/spice/ + +2011-12-22 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: remove unused common/win/my_getopt + +2011-12-22 Jani Välimaa <wally@mageia.org> + + build: string format fix + https://bugs.freedesktop.org/show_bug.cgi?id=44019 + +2011-12-19 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: depends on spice-protocol 0.9.1 + + Support semi-seamless migration + Yonit Halperin described the flow, that I followed: + + (1) when client_migrate_info is called SPICE_MSG_MAIN_MIGRATE_BEGIN is + sent to the client. + + Then, the client should link to the target server (SpiceLinkMess), + i.e., connect all the channels, but it shouldn't poll from the target, + only from the source. You can refer to RedClient::Migrate class. The + connection id in the link message should be the id of the connection + to the source server. + + (2) The client sends to the source server + SPICE_MSGC_MAIN_MIGRATE_(CONNECTED|CONNECT_ERROR) + + (3) When migration completes SPICE_MSG_MAIN_MIGRATE_(END|CANCEL) is + sent to the client. + + (3.1) In case of SPICE_MSG_MAIN_MIGRATE_CANCEL, the client closes the + connections to the target. + + (3.2) In case of SPICE_MSG_MAIN_MIGRATE_END, the client should reset + all the data that is related to the connection to the source and + complete the transition to the target server (without sending + ATTACH_CHANNELS, and without guest display initialization via agent). + + Then, the client sends SPICE_MSG_MAIN_MIGRATE_END to the target. + + main: Handle semi-seamless MIGRATION_BEGIN + + display: try to reuse exisiting primary surface + + Add channel_reset method + This new private method is to reset the channel to its initial state, + used by semi-seamless migration + + gio-coroutine: add a few more run-time checks + + Update protocol and messages for semi-seamless migration + +2011-12-19 Marc-André Lureau <marcandre.lureau@gmail.com> + + windows: initialize co->ret to not randomly release fiber + +2011-12-18 Frédéric Péters <fpeters@0d.be> + + add explicit links against libraries that are directly used + +2011-12-16 Hans de Goede <hdegoede@redhat.com> + + spice-channel: cleanup, remove spice_channel_send_msg() + There are only 2 callers, both of which want it to do a different thing, + making the callers do this directly allows us to remove + spice_channel_send_msg(); and gets rid of the weirdness where we've a + function which can be called in both co-routine and system context. + + spice-channel: Move read only check to spice_channel_write_msg() + This is a preparation patch for removing spice_channel_send_msg(). + + Note that this means that buffered writes won't get checked until they are + actually send by the co-routine. + + spice-channel: Move setting of header->size to spice_channel_write_msg() + Just a small cleanup patch. + + spice-channel: replace the xmit buf by a queue of SpiceOutMsg-s + This has a number of advantages: + -It significantly simplifies the code + -It avoids memcpy-ing all the write data one more time + -It avoids malloc / realloc / free of the xmit buffer + (this gets replaced by gslice alloc / free for the queue elements) + + Make sure spice_channel_iterate_write() always flushes *all* pending writes + This patch changes 1 line, and fixes 2 bugs in this one line: + 1) We keep the xmit_buffer around for reuse (re-filling) later, so checking + if we've a xmit_buffer to determine wether we should do a write is wrong, + instead we should check if the xmit_buffer has data in it. + 2) If the write blocks, and we switch to another co-routine context, this + context may queue more writes, we check for this and throw away the + buffer we've been consuming when this happens, since the other context + will then have allocated a new buffer. But when this happens, we do *not* + consume the new buffer. So the queued data will not get transmitted + until the co-routine gets woken up by either another write, or by + receiving data to read. + This patch fixes this by changing the if to a while. + + Note that the code in question gets completely removed by the next patch in + this series. As I noticed this while rewriting the code in question, still + I decided to do a separate patch to fix this to: + 1) Document this issue in the old code + 2) Otherwise the move from the if to the while will happen in the new code + which may confuse readers of that patch. + + spice_msg_out[_send_internal]: Take ownership of the passed SpiceMsgOut + All callers of spice_msg_out[_send_internal] unref the message immediately + after calling spice_msg_out[_send_internal]. This patch changes the + semantics so that spice_msg_out[_send_internal] takes ownership and it + is responsible for unref-ing the passed in SpiceMsgOut. + + This is a preparation patch for changing the buffered write code + to use a queue of SpiceMsgOut-s, rather then memcpy the message contents + into an intermediate buffer. + + channel-smartcard: unref in flight messages as soon as they are sent + This is a preparation patch for making spice_msg_out_send() take ownership + of the passed in msg. + +2011-12-15 Hans de Goede <hdegoede@redhat.com> + + smartcard_message_complete_in_flight cleanup error checking + smartcard_message_complete_in_flight should never get called if there + is no message in flight (priv->in_flight_message != NULL). + +2011-12-14 Hans de Goede <hdegoede@redhat.com> + + spice-channel: cleanup, get rid of wait_interruptible variable + The private wait_interruptible channel variable is not used anywhere, + except in one test, which is useless since it never gets set. + + Disable mouse accelleration when grabbing the mouse (in server mode) + Otherwise accel will be applied twice, once by the client and then once + more by the guest. Unfortunately there seems to be no gdk / gtk API for this + so this patch uses direct libX11 calls. + +2011-12-13 Marc-André Lureau <marcandre.lureau@redhat.com> + + windows: fix broken left shift + On Windows, the received key when pressing left shift is VK_SHIFT 0x10 + + Wrap in window, because windows doens't receive mouse events outside it + + windows: clip pointer when grabbed, so it stays inside widget + +2011-12-12 Marc-André Lureau <marcandre.lureau@redhat.com> + + Fix crash on mouse server mode grab with gtk2 + With gtk3 gdk_cursor_unref = g_object_unref. But not with older + version. Let's be consitent with the rest of the code and use + cursor_unref(). + + build: add missing smartcard manager in python binding + Probably broken since the manually edited defs files have been removed + +2011-12-10 Hans de Goede <hdegoede@redhat.com> + + spice-widget: rename mouse_update to update_mouse_mode. + We already have update_mouse_pointer and update_mouse_grab, so having + a mouse_update function without specifying what "part" of the mouse handling + it exactly updates is confusing, rename it to update_mouse_mode to reflect + what it does and to match the other names. + + spice-widget: cleanup mouse handling. + Some background on this patch, we currently behave + as follows in server mouse mode: + + 1) When spicy first connects, a frozen guest cursor is shown + (no mouse events are send to the guest) and the client cursor + is set to the standard right pointer, + + 2) When one clicks on / inside the spice-widget, the mouse is + grabbed, the client cursor is hidden and the guest pointer + becomes alive (gets events). + + 3) On ungrab we move back to state 1) + + Which is fine, but the code implementing it is somewhat convoluted. + We have update_mouse_pointer(), which does more then just update the mouse + pointer, it also calls try_mouse_grab(), and we've update_mouse_grab(), + which calls update_mouse_pointer() rather then try_mouse_grab(). + + * I. lets look at what we currently have in update_mouse_pointer(): * + + case SPICE_MOUSE_MODE_SERVER: + if (!d->mouse_grab_active) { + if (gdk_window_get_cursor(window) != NULL) + gdk_window_set_cursor(window, NULL); + } else { + try_mouse_grab(display); + } + break; + + Now lets invert the test to make it more readable: + + case SPICE_MOUSE_MODE_SERVER: + if (d->mouse_grab_active) { + try_mouse_grab(display); + } else { + if (gdk_window_get_cursor(window) != NULL) + gdk_window_set_cursor(window, NULL); + } + break; + + Hmm, so if we're grabbing the mouse, we try to grab the mouse + -> does not make sense, esp not since try_mouse_grab() has: + + if (d->mouse_grab_active) + return; + + So we can drop the else block. + + But why the if? Well that would be because when we're grabbing + the windows should have a blank cursor. But where does that get set? + + The blank cursor gets set in do_pointer_grab(), by specifying a blank + cursor as the cursor to show as long as the grab is active. + + Since that cursor will be active as long as we're grabbing, so we can + drop the if (!d->mouse_grab_active) check as well. + + And with the mouse_grab_active check gone, we no longer need to call + update_mouse_pointer() from try_mouse_ungrab(). + + * II. lets look at update_mouse_grab() * + + So currently when the mouse should be grabbed according to the + mouse-grab and disable-inputs properties, update_mouse_grab() calls + update_mouse_pointer(), which as discussed above does nothing with the grab, + as the code path calling try_mouse_grab() is dead code. The right thing to do + would of course be to have update_mouse_grab() call try_mouse_grab() in this + case. + + But, that would mean that as soon as the property is changed the cursor will + get torn away from whereever it is and get grabbed, which may not always + be desirable. To fix this this patch also moves the mouse_have_pointer + and keyboard_have_focus checks from mouse_update() to try_mouse_grab() + + + foo + +2011-12-09 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: fix build issue because of double declaration + Patch based on Mageia, provided by Olav Vitters. + + https://bugzilla.freedesktop.org/show_bug.cgi?id=43457 + +2011-12-09 Michael Chudobiak <mjc@avtechpulse.com> + + use "connection" instead of "connexion" + +2011-12-09 Marc-André Lureau <marcandre.lureau@redhat.com> + + Take the grab when mouse switching to client mode + Only when the widget has the focus and the pointer is over the widget + + Do not send ungrab key sequence to the server + + Don't leak cursor shape objects + + Refresh mouse shape/visibility when changing mouse mode + This fixes the dynamic mode changing when running/quitting the agent. + + Correctly hide client pointer (in server mode) + The hide cursor event happen when the widget is not yet + realized. Forcing realize may fail if the widget is not yet embedded + for example. Instead, let's update the cursor whenever there is a + draw(). + + v2: do not call gdk_window_set_cursor() with the same cursor + + Document the pointer ungrab for drag-n-drop in multihead + + Draw mouse with cairo in server mode + + Ignore the first mouse click when taking the grab + + Grab on the display too + Without this additional grab, the pointer grab was effective for the + whole application + + Add a get_blank_cursor() helper + + Use the border margin from recalc_geometry() + + Do not send pointer motion of 0x0 + + Warn with the connect connect socket error + + Fix controller with newer vala + +2011-12-05 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: vapi bindings only available if HAVE_INTROSPECTION + + controller: use SPICE_XPI_NAMEDPIPE first + +2011-12-02 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: do not clean spice-client-glib-2.0.deps + + build: fix linking with -Wl,--as-needed -Wl,--no-undefined etc.. + Mageia is using linker flags and miss symbols when linking. + The error can be reproduced with: + + make LDFLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags" + + Based on patch by Christophe Fergeau. + + https://bugs.freedesktop.org/show_bug.cgi?id=43416 + +2011-12-02 Hans de Goede <hdegoede@redhat.com> + + usb-device-manager: Don't g_warning on autoconnect failure + We already emit a signal for this, either the app using spice-client-glib + listens to this signals and does something with it, or it is not interested + in this happening, at which point logging a g_warning for it is not really + useful. + + spicy: Don't show an error dialog on a cancelled device open + If for example the user plugs in a new device, then gets the policykit agent + authentication dialog and then unplugs the device, spice-gtk will cancel + the acl-helper request, which in turn will dismiss the policykit agent + authentication dialog. Which is all a nice and smooth user experience, + except that when this happens spicy throws a dialog with an error + that the open was cancelled. Since a cancel usually is done deliberately + (such as on the user unpluging the device) no error dialog should be thrown + for it. + + channel-usbredir: Call the acl helper without first trying to open the device + Normally opening the USB device without first calling the helper will fail, + except when the process using spice-gtk is running as root. + + So the current code which first tries to open the USB device before calling + the helper is optimizing for an exception rather then for the default code + path. More over it also causes libusb to print the following errors to stderr: + libusb:error [op_open] libusb couldn't open USB device /dev/bus/usb/002/017: Permission denied. + libusb:error [op_open] libusb requires write access to USB device nodes. + + So this patch changes things to first call the helper and only then try + to open the device node. + + This patch also modifies the helper to not call policykit when called by + a root process, since the set_facl which it will do, if policykit says it + is ok, is a no-op for root anyways. Instead it directly returns a success + status without doing anything when called by a root process. + +2011-12-02 Marc-André Lureau <marcandre.lureau@redhat.com> + + string formatting fixes + Patch based on Mageia, provided by Olav Vitters. + + https://bugs.freedesktop.org/show_bug.cgi?id=43456 + +2011-12-01 Marc-André Lureau <marcandre.lureau@redhat.com> + + Move auto-connect logic in Audio base class + + Make UsbDeviceManager main-context a boxed property + +2011-11-26 Marc-André Lureau <marcandre.lureau@gmail.com> + + Fix get_type() with --disable-smartcard + It's quite a bad hack, but I can't think of anything really better + + Without this patch, g-ir-scanner introspection hangs with: + GLib-GObject-CRITICAL **: g_boxed_type_register_static: assertion `boxed_copy != NULL' failed + + GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed + + GLib-GObject-WARNING **: gsignal.c:1585: parameter 1 of type `<invalid>' for sig + nal "SpiceSmartcardManager::reader_added" is not a value type + +2011-11-23 Marc-André Lureau <marcandre.lureau@redhat.com> + + Do not send specific messages in read-only + + Check if msg are permitted to be sent in read-only + + Add read-only property on sessions + It is useful to have a way to prevent sending commands in read-only + sessions (think of multi-client) + + No clipboard sharing allowed in this case in gtk-session. + + Add disable-inputs on Spice widget + + cleanup: the try_grab() functions should take a SpiceDisplay + + Fix a few g-ir-scanner warnings + + Export spice_g_signal_connect_object + The helper needs to be accessible from spice-client-gtk too. + + Regenerate map-file correctly + We should use update-map-file instead of modifying it manually + +2011-11-21 Hans de Goede <hdegoede@redhat.com> + + Release our keyboard grab when we're going to invoke the usb acl helper + The usb acl helper asks policykit, which may want to interact with the + user through the policykit agent, which wants to grab the keyboard, if + we then have the keyboard grabbed, the agent says authentication has failed, + policykit rejects the helper opening up the acl and usbredir won't work. + + Unfortunately the only way to work around this is to temporarily release our + own keyboard grab, not pretty but as discussed on irc, this is the "best" + solution. + +2011-11-16 Hans de Goede <hdegoede@redhat.com> + + Add a suid root helper to open usb device nodes + spice-client needs to be able to open the device nodes under /dev/bus/usb + to be able to redirect a usb device to the guest. Normally opening these + nodes is only allowed by root. This patch adds a suid root helper which + asks policykit if it is ok to grant raw usb device access, and if policykit + says it is ok, opens up the acl so that the spice-client can open the device + node. + + As soon as spice-client closes the stdin of the helper, the helper removes + the extra rights. This ensures that the acl gets put back to normal even if + the spice client crashes. Normally the spice-client closes stdin directly + after opening the device node. + + channel-usbredir: Make spice_usbredir_channel_connect async + With the (upcoming) introduction of the usb device node acl helper, which + uses policykit, spice_usbredir_channel_connect() may take a long time as + it will be waiting for the helper, which will be waiting for policykit which + may be interacting with the user -> Make spice_usbredir_channel_connect() async + + Note that this patch only changes spice_usbredir_channel_connect's + API to use the standard GIO async API, it is not actually async after this + patch since it does not yet call the acl helper. + + usb-device-manager: Make spice_usb_device_manager_connect_device async + With the (upcoming) introduction of the usb device node acl helper, which + uses policykit, spice_usbredir_channel_connect() may take a long time as + it will be waiting for the helper, which will be waiting for policykit which + may be interacting with the user. So spice_usbredir_channel_connect() will + need to become async, and since spice_usb_device_manager_connect_device + calls spice_usbredir_channel_connect it thus also needs to become async. + + Note that this patch only changes spice_usb_device_manager_connect_device's + API to use the standard GIO async API, it is not actually async after this + patch since spice_usbredir_channel_connect is not yet async. + + channel-usbredir: Move usb device opening into a helper function + This is a preparation patch for adding the usb device node acl helper + + channel-usbredir: Do disconnect from dispose instead of from finalize + + channel-usbredir: Fixup and simplify #ifdef USE_USBREDIR handling + glib does not like it when objects have a private data size of 0, so don't + declare any private data when compiling without USE_USBREDIR set. + + Correct Since tag for SpiceSession:enable-usbredir: + This was introduced post 0.7, and given the major changes done in git + sofar the next release will be 0.8 rather then 0.7.1 + +2011-11-09 Christophe Fergeau <cfergeau@redhat.com> + + Use correct GLib macros + +2011-11-07 Marc-André Lureau <marcandre.lureau@redhat.com> + + Mark deprecated props/signals/functions + + Remove g_object_{set,get}_data() usage + This is not really clean, as it may conflict with client usage + + Drop useless memset + Private data in GObject's is initialized to 0's upon constuction + + Use G_PARAM_CONSTRUCT for property initial value + +2011-11-05 Marc-André Lureau <marcandre.lureau@redhat.com> + + Add missing include of spice-audio + + Add session enable-audio property + Create audio channels only if enable-audio is TRUE + + SpiceAudio stream name default to get_application_name() + + Add spice_audio_get() + We are going to deprecate spice_audio_new() + some day. There are a few know problems: + - SpiceAudio is an abstract class, + so it can't have a ctor + - SpiceAudio should be a singleton, + associated with the session lifetime + - SpiceSession should have a enable-audio property, + internal code should be able to access the audio object + + That way of getting the audio object is similar to the smartcard manager and usb manager. + +2011-11-03 Marc-André Lureau <marcandre.lureau@redhat.com> + + Return NULL if taking screenshot fails + It can happen if the display is not yet ready. + This change just removes a couple of warnings. + + Fix package `SpiceClientGLib-2.0' not found + +2011-11-02 Tiziano Müller <tiziano.mueller@stepping-stone.ch> + + Correctly parse RFC-conform URIs separating the host and the arguments by a '/' + Little patch to make spice-gtk accept RFC-conform URLs of the form + "spice://host/?port=5901". + + I didn't add '/' to the list of the other characters to ignore (?;&) + by intention since an URL like spice://host/?port=5901/somotherstuff + should not be valid, resp. the password may contain '/' because the + string is already unescaped at that point. + + Unfortunately glib does not seem to have functions to 'explode' an URI + which would be really helpful. + + Cheers, + Tiziano + +2011-11-02 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk-session: add more checks + +2011-10-28 Marc-André Lureau <marcandre.lureau@redhat.com> + + Add missing spice-gtk-session.h in spice-widget.h + +2011-10-25 Marc-André Lureau <marcandre.lureau@redhat.com> + + Add vapi bindings generation + +2011-10-21 Marc-André Lureau <marcandre.lureau@redhat.com> + + Fix missing dispose() chain-up + +2011-10-19 Marc-André Lureau <marcandre.lureau@redhat.com> + + do not segfault if link message header size is set to 0 + https://bugs.freedesktop.org/show_bug.cgi?id=41988 + +2011-10-11 Marc-André Lureau <marcandre.lureau@redhat.com> + + Add SPICE_NOGRAB environment variable for debugging + + gtk: channel-event emit an enum + This doesn't break ABI, as int and enum are compatible at glib level. + + gtk: warn if argument is invalid instead of crash + +2011-10-10 Hans de Goede <hdegoede@redhat.com> + + Add spice-gtk-session-priv.h to make dist output + Brown paper bag bug number 2 wrt spice-gtk-session-priv.h, sorry about this. + + Add missing spice-gtk-session-priv.h file + This file was missing from the previous commit, my bad. + + Make auto-usbredir a session setting rather then a per display setting + + spicy: Stop using SpiceDisplay's deprecated clipboard methods + + SpiceDisplay: mark clipboard properties and functions as deprecated + The SpiceGtkSession ones should be used instead. + + SpiceDisplay: Don't set auto-clipboard on construction + The auto-clipboard setting now lives in the SpiceGtkSession, if that + was changed to FALSE (from the default of TRUE) and later a SpiceDisplay + was created for this session that would change it back to TRUE again because + it would set it to its default from its constructor. This patch fixes this. + + Remove auto-generated .gitignore files from git + Auto-generated files do not belong in git. Having these in git causes + changes to them accidentally ending up in other commits. + + Fix compilation of python bindings + This was broken by the addition of SpiceGtkSession. + +2011-10-07 Hans de Goede <hdegoede@redhat.com> + + decode-glz: Handle needing glz images before they have arrived + With multi monitor guests, it is possible for a glz-image to refer to + bits from another glz-image which has not arrived yet! This can happen + because each monitor has its own display channel, and thus its own socket, + but they share the glz dict. Thus things can arrive out of order, with a + glz-image on display 1 arriving before the glz-image on display 2 which it + refers too. + + This triggers the: + g_return_val_if_fail(w->images[slot]->hdr.id == id - dist, NULL); + + In glz_decoder_window_bits(), which is what caused me to debug this, once + the out order thing was clear, so was the fix. + If w->images[slot]->hdr.id == id - dist is not true, we need to wait for the + correct image to arrive. + + The out of order issue with multiple monitors can also trigger the + g_warn_if_reached() in glz_decoder_window_resize(), so remove that. + + SpiceDisplay: Pass on notify signal from GtkSession for GtkSession properties + Since some SpiceDisplay properties are now just a pass through to the + equivalent SpiceGtkSession property, we also need to pass on the notify + signal for these, so interested users can get notified of them changing. + + Use this in spicy to ensure that changes to SpiceGtkSession (and thus per + session rather then per window) properties get reflected in all windows for + a multimonitor guest. + + usb-device-manager: One instance per session instead of a singleton + Since usb device manager keeps track of which usb channels there are and + if they have usb devices attached there should be one usb-device-manager + instance per session, rather then one global singleton. + + Tying the usb-device-manager to the session also allows us to get rid of + spice_usb_device_manager_[un]register_channel and the need for SpiceDisplay + to call these. + +2011-10-06 Hans de Goede <hdegoede@redhat.com> + + SpiceDisplay: Add a constructor and construction properties + With SpiceDisplay now passing through auto-clipboard settings to + SpiceGtkSession, it needs to have its SpiceSession and SpiceGtkSession + private members initalized at construction time, as + spice_display_set_property() gets called at construction time. + + Currently its SpiceSession and SpiceGtkSession are NULL when that + happens leading to the g_object_set() calls in spice_display_set_property() + triggering g_return_if_fail statements inside glib and rightly complaining + loudly. + + This patch fixes this by making the SpiceSession and channel ID construction + properties and passing them to the g_object_new call in spice_display_new. + + Move clipboard handling to SpiceGtkSession + This fixes copy and paste with multi-monitor guests. There still is + one small issue left with this patch, changing the setting for auto-clipboard + in one spicy window, does not get reflected in the Options menu of the + other spicy windows. + + This can be fixed by listening to the notify signal, this also requires + SpiceDisplay to listen to property changes on its SpiceGtkSession and + then do a g_object_set on itself to update its own property (and also + emit its own notify signal. + + I'll write a separate patch for this. + + Add a SpiceGtkSession Class + This initial commit of the SpiceGtkSession Class only adds the empty + class and the 1:1 linkage to SpiceSession through 2 new private methods + added to SpiceSession: spice_session_{get|set}_gtk_session. + + The following commits will move things which are currently per SpiceDisplay, + but which really should be global, such as the clipboard, over to + SpiceGtkSession. + +2011-10-04 Hans de Goede <hdegoede@redhat.com> + + Fixup some headers so that they include headers the depend up on. + Otherwise they cannot be included unless other headers are included + first (and in the right order). + +2011-09-30 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: Add missing <package> and <c:include> in gir + This is required for source-level binding, such as Vala. + +2011-09-30 Hans de Goede <hdegoede@redhat.com> + + spice_codegen: Always write a channels entry for an ifdef-ed channel + Before this patch, if a channel is defined conditionally in spice.proto + (because it depends on external headers like the smartcard channel), + spice_codegen would write an entry to the channels array in + spice_get_*_channel_parser which would only take up a place in the array + if the ifdef condition is true, thus moving up all other intializers + one place when it is not true. This was causing issues (crashes) when building + spice-gtk with the combination of usbredir support enabled and smartcard + support disabled. + + This patch fixes this by adding #else { NULL, 0 }, to the generated code. + + Thanks to coolper chen <lixin.chen@saicocch.com> for reporting this! + +2011-09-23 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: move G_DEFINE_BOXED in glib-compat.h and fix build with old glib + + pulse: use spice_g_signal_connect_object + Disconnect all handlers when either emitter or observer is gone. + That should help https://bugzilla.redhat.com/show_bug.cgi?id=737202 + + util: add spice_g_signal_connect_object + This is a copy of telepathy-glib tp_g_signal_connect_object. + + That function allows to connect object's signals without + having to worry much about emitter/observer lifetime. + + It handles automatic disconnection for us, no need to track + all the handlers id. Nice! + +2011-09-02 Hans de Goede <hdegoede@redhat.com> + + gtk/Makefile.am: Better explicit deps fro autogenerated files + Auto-generated files need explicit deps on them to ensure things + are build in the right order when doing things like make -j200: + 1) We had an explicit deps on spice-marshal.h, but only for spice-channel.c, + but others need it to + 2) autogen.c files need autogen.h, note this is done in a separate make + statement, since the deps of the actual build rule are used during the + generation! + 3) Group all the autogen explicit deps together + + configure.ac: Update minimum required spice-protocol to 0.9.0 + This is needed for usbredir support. + + gtk/continuation.c: undef _FORTIFY_SOURCE earlier + We need to undef _FORTIFY_SOURCE before our first include, so as to + avoid the extra checks it does on longjmp which don't play well with + our coroutine stuff. + + gtk/controller/Makefile.am: Add explicit rules for autogenerated files + The autogenerated files are part of make dist, without these explicit + rules doing "./autogen.sh && make dist" on a clean git checkout + will fail because it wants them but does not know how to build them. + + gtk/Makefile.am: Remove a bunch of .c files from EXTRA_DIST + automake is smart enough to add _SOURCES files to make dist's result even + if there compilation is depending on an AM conditional, and we are already + depending on this for the smartcard / usb files, so lets depend on it for + the other ones too. + + gtk/Makefile.am: Don't include auto-generated files into make dist tarbal + We have various files which are auto-generated which currently get included + into the tarbal, yet they are part of CLEANFILES, so the first make clean + removes them, which is rather weird. Use nodist_foo_SOURCES to make them + not end up in the tarbal. + + generated_[de]marshallers[1].c, are special as autogenerating those on + end user builds would mean requiring the end user to have pyparser installed, + so we add them to EXTRA_DIST and remove them from CLEANFILES. It may seem + weird to have them in nodist_... and then add them to EXTRA_DIST, + but this patch also adds an explict depenency on the autogenerated files + to the non autogerated ones: + $(libspice_client_glib_2_0_la_SOURCES): spice-glib-enums.h + + Leaving generated_[de]marshallers[1].c in libspice_client_glib_2_0_la_SOURCES, + would cause it to get a dep on autogenerated files, and thus get regenerated + itself no matter what, defeating the purpose of having them in dist in the + first place. + +2011-09-01 Hans de Goede <hdegoede@redhat.com> + + spice_usb_device_get_description fixups + 1) Fix spice_usb_device_get_description compilation when building without + usb support + 2) Don't return "Unknown" when the device param is NULL, the caller should + g_free the returned string, so we cannot return a const string + 3) Fix the existing callers to actually g_free the result of + spice_usb_device_get_description. To avoid code duplication this patch + makes usb-device-manager prefix the error it gets from the usbredir-channel, + so that users of the auto-connect-failed signal can use the error as is. + + usbredir: provide out own libusb_strerror for now + libusb_strerror is not going upstream because of i18n worries, provide + our own for now. + + usb-device-manager: Add a auto-connect-failed signal + And use it in spicy to inform users of auto redirect failures (usually due + to insufficient rights on the /dev/bus/usb device nodes). + + usb-device-manager: Add a spice_usb_device_get_description() method + This is just a place holder for now. A better implementation requires + gusb changes, and I hope there will be an official gusb release by the + time I get around to fixing this up. + + Drop VOID:BOXED user marshaller + We were generating a user marshaller for VOID:BOXED, but there is a standard + marshaller for that, use that instead. + +2011-08-31 Marc-André Lureau <marcandre.lureau@redhat.com> + + doc: various improvements + + doc: update to include USB redirection + +2011-08-30 Hans de Goede <hdegoede@redhat.com> + + Remove spice-client-gtk.defs from git (as it is auto-generated) + spice-client-gtk.defs gets autogenerated (but only when building for + gtk2). Having it in git means having to keep it in sync with the public + API manually, which requires doing a gtk2 build before committing each + time one makes changes to the public API. + + As with any autogenerated files, this really does not belong in git, + removing it from git removes the need for the manual syncing. + + Also add it to make clean, and change gtk/Makefile.am so that + the contents on EXTRA_DIST don't depend on how ./configure was run + making "make dist"-s result depend on ./configure flags is not a good idea. + + Remove gtk/.gitignore + gtk/.gitignore gets autogenerated and thus should not be part of git. + + It currently being part of git is esp. annoying since depending on + wether you're building for gtk2 or gtk3, lines like: + /SpiceClientGtk-2.0.gir + /SpiceClientGtk-2.0.typelib + /libspice-client-gtk-2.0.la + + Keep disappearing from it, leading to these changes accidentally + getting included into whatever commit your working on. + + spice_gstaudio: s/SpiceGstAudio/SpiceGstaudio + We should either have SpiceGstAudio && spice_gst_audio or + SpiceGstaudio && spice_gstaudio, not SpiceGstAudio && spice_gstaudio + like we have today. This patch fixes this by replacing SpiceGstAudio + with SpiceGstaudio. We can do this since this is only used internally. + + Rename my_foo private datatypes to MyFooPrivate + We were using the gobject standard notation of MyFooPrivate everywhere + except for 3 places, this brings these 3 into sync, with what we do elsewhere. + + Add auto_usbredir property to spice-widget + + spice-session: at a spice_session_has_channel_type method + + Add an USB device manager + + Add an usbredir channel + + Add a private copy of gusb + While working on usb redirection support for spice-gtk I needed some + code to integrate libusb into glib's mainloop amongst other things. I ended + up borrowing code from colord for this. Richard (the colord author) and I + quickly agreed that doing generic glib bindings for libusb is a good idea, + akin to the gudev bindings for libudev we've called our WIP on this gusb: + https://gitorious.org/gusb + + Since this very much is a WIP, the API is nowere near stable, so for now + we bundle a copy of this code with spice-gtk. When gusb has an official + release out the door with a stable API we should switch to that. + + spice.proto: Add usbredir channel + + spice-channel: Reset SPICE_COMMON_CAP_PROTOCOL_AUTH_SELECTION on disconnect + Our disconnect handler clears the common_caps array so that a new + connection starts with a clean slate. But in our constructor we set + the SPICE_COMMON_CAP_PROTOCOL_AUTH_SELECTION in common_caps as starting + cap. Do the same on disconnect, so the behavior of a re-using a channel + after disconnect is the same as using a fresh channel. + +2011-08-17 Hans de Goede <hdegoede@redhat.com> + + spice-channel: fix writing a byte twice when a write blocks + When a write blocks, and thus ret == -1 (and the gerror matches EAGAIN) we + still do offset += ret, causing the last written byte to be send twice. + Lets not do that :) + + spice-widget: release_keys on focus out + This fixes alt getting stuck in the guest when the user alt-tabs away from the + spice-widget (thus making it see the alt press but not the release) and then + closing it without giving it the focus back (by using the windows close button + for example). + + Note that doing this on focus out (when we know we may be missing key releases + afterwards) makes a lot more sense then doing this on focus in, and with + the release_keys on focus out I don't really see a reason any more to do it + on focus in. But I'm leaving it in on focus in just in case, it certainly + cannot hurt there. + + spice-widget: remove keyboard_grab_count / keyboard_grab_time hack + With the filtering of focus in / out events caused by grabs we should no + longer need this. + + spice-widget: ignore focus in / out events caused by keyb ungrab/grab + As documented in XGrabKeyboard(3): "The XGrabKeyboard function actively grabs + control of the keyboard and generates FocusIn and FocusOut events." + + Note that for some reason this only happens when we call XGrabKeyboard + from our enter_event / leave_event callbacks and not from our focus_in / + focus_out callbacks? Either way we still need to filter these out. + + Filtering these out fixes 4 issues: + 1) keyboard_have_focus now no longer gets unset when the keyboard is grabbed, + making USB auto redirection when focussed actually work + 2) Before this patch, if you pressed alt and then (accidentally) moved the + cursor out of the spice-widget window before pressing a second key, + the focus in event would clear the keyboard status causing the guest to no + longer see alt as pressed and register the second key press as a regular + keypress rather then as alt-foo. + 3) It allows us to remove the keyboard_grab_count / keyboard_grab_time hack + from try_keyboard_grab, although since we are no longer doing an + ungrab on focus out, this likely could have been removed before. + I will do this in a separate patch for easier reverting if necessary. + + spice-channel: Fix a possible race triggered by spice_channel_iterate_write + Fix a race between spice_channel_buffered_write and + spice_channel_iterate_write. + +2011-08-17 Marc-André Lureau <marcandre.lureau@redhat.com> + + data: fix spicy.nsis.in to include right libraries + + build: fixes build with gtk3 on win32 + + build: warn and instruct if valac is missing + + gtk: implement coroutines using Windows fibers + +2011-08-15 Marc-André Lureau <marcandre.lureau@redhat.com> + + use _setjmp/_longjmp to speed up coroutine switching + As described in http://www.1024cores.net/home/lock-free-algorithms/tricks/fibers + +2011-07-29 Christophe Fergeau <cfergeau@redhat.com> + + mjpeg: don't leak last stream image + When a stream is destroy, the memory allocated to handle the mjpeg + decoding is freed by calling stream_mjpeg_cleanup. However, the + memory allocated to contain the last uncompressed stream image + wasn't freed. + + mjpeg: remove wrong g_return_if_fail + After calling jpeg_read_scanlines, spice-gtk checks that we read + the amount of lines we expected, and if not, it returns early. + This is doubly wrong: + + * jpeg_read_scanlines is documented as returning at most the number + of lines requested, but it also warns that an application shouldn't + rely on getting exactly the number of scanlines requested. In this + case, if rec_outbuf_height is bigger than 1, we'll get a short read + on the last line of odd-sized images, thus triggering the + g_return_if_fail + + * returning from this function without calling jpeg_abort will cause + libjpeg to abort next time we use it because jpeg_start_decompress + was called before + + This commit removes this check and early return. + + mjpeg: restrict use of i and j + Using i and j as variable names that are used from one loop to the + other isn't really readable, and makes the code more fragile than + it could be. This commits adds a "lines_read" variable which is more + expressive than "j", restricts "j" lifetime to the loop where it's + used, and it removes the "i" variable and uses counters provided + by libjpeg to iterate all the image lines. + It also has the side-effect that if jpeg_read_scanlines returns a short + read (less lines than expected are read), "dest" won't go out of sync but + will be set to the right place at the end of the loop. + + mjpeg: properly abort decompression in error path + spice-gtk jpeg decompression code honors libjpeg's recommended size + for its output buffer to improve performance. However, when this + recommended size is too big, it just gives up on the decompression + process by returning early from the function. But since + jpeg_start_decompress has been called to compute this recommended + size, the decompression must be aborted before returning, otherwise + libjpeg will get in an inconsistent state and will abort next time + we try to use it. + This commit also moves the check that the recommended size isn't + too big out of the decompression loop because it shouldn't changed + during decompression. + +2011-07-28 Christophe Fergeau <cfergeau@redhat.com> + + fix integer marshalling helpers on big endian + They were trying to convert the destination pointer to an integer before + trying to dereference it. The initial conversion was meant to be a cast + to a pointer of the right size, not to an integer. + + fix typo in big endian code path + uint63_t should be uint64_t + +2011-07-26 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: fix libtool versionning + As pointed out by Daniel P. Berrange: + "Arrggh ! There's a typo there. You want '-version-info' not + '-version-number'. The latter directly sets the major/minor + soname values hence why you keeping seeing incompatible versions :-(" + +2011-07-18 Marc-André Lureau <marcandre.lureau@redhat.com> + + Release v0.7 + + build: update library version + client-glib interfaces have been changed or added, but binary compatibility has been preserved, change to current+1:0:age+1 + + client-gtk updated code, same API: increment revision. + + build: fix make distcheck + + build: fix introspection warnings + The only one left is related to GOptionGroup, which is not boxed. + + gtk/controller: fail if SPICE_XPI_SOCKET is not provided + Instead of trying to connect to a '(null)' socket. + +2011-07-17 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: snappy/spicy-stats move connection option to main group + + gtk: update spicy to use new option API + + gtk: add spice_get_option_group() + + gtk: add color-depth and disable-effects options + +2011-07-16 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: add spice_strv_contains in util-priv.h + + build: fix .pc Requires + +2011-07-15 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: avoid doing GdkWindow operations if widget is not realized + + gtk: honour CURSOR_FLAGS_NONE by hiding cursor + + gtk: comment channel_new() returns a weak reference + And add a few sanity checks. + + gtk: add glz_decoder_window_clear, to recycle decoder + +2011-07-14 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: rework widget destroy/dispose() + Make sure to remove handlers during dispose. + Destroy is purely a gtk+ thing, so let the widget do the job. + + This solves a refcount/crash issue found with virt-manager. + +2011-07-13 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk/doc: improve the generated gtk-doc a bit + + Merge remote-tracking branch 'teuf/master' + +2011-07-13 Christophe Fergeau <cfergeau@redhat.com> + + document SpiceSession properties + + smartcard: add smartcard API doc + +2011-07-12 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk/spicy: remove false warning + +2011-07-12 Daniel P. Berrange <berrange@redhat.com> + + gtk: remove double symbol definition + + gtk/pulse: fix memory leak + +2011-07-10 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk/spicy: allow setting color depth + + gtk/spicy: add disable-effects option + +2011-07-07 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk/smartcard: make smartcard init async + + gtk: add SPICE_CLIENT_ERROR + + gtk/debug: put package version in session_init + +2011-07-06 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: remove surface cache, why do we need it? + +2011-07-05 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk/channel-cursor: refcount display_cursor, make explicit the life of rgba + + gtk/smartcard-manager: remove useless trailing ; + +2011-07-05 Christophe Fergeau <cfergeau@redhat.com> + + cursor: don't leak uncached cursors + When the cursor channel creates a new cursor, if the message + indicates not to cache it, the cursor is leaked after being used. + This commit fixes that, though I'm not really satisfied with it. + + ==22568== 378,432 bytes in 162 blocks are definitely lost in loss record 7,699 of 7,699 + ==22568== at 0x4A0649D: malloc (vg_replace_malloc.c:236) + ==22568== by 0x4E624CF: spice_malloc (mem.c:88) + ==22568== by 0x4E4F1C4: set_cursor (channel-cursor.c:323) + ==22568== by 0x4E4FA29: cursor_handle_set (channel-cursor.c:469) + ==22568== by 0x4E4FD19: spice_cursor_handle_msg (channel-cursor.c:548) + ==22568== by 0x4E30292: spice_channel_recv_msg (spice-channel.c:1641) + ==22568== by 0x4E3062A: spice_channel_iterate_read (spice-channel.c:1776) + ==22568== by 0x4E307F9: spice_channel_iterate (spice-channel.c:1820) + ==22568== by 0x4E30EE4: spice_channel_coroutine (spice-channel.c:1968) + ==22568== by 0x4EE48A2: coroutine_thread (coroutine_gthread.c:77) + ==22568== by 0x302E4683A5: g_thread_create_proxy (gthread.c:1955) + ==22568== by 0x302C807AF0: start_thread (pthread_create.c:305) + +2011-07-05 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: s/SmartCard/Smartcard/g + + gtk: total-read-bytes is ulong + As pointed out by Christophe on the ML. + +2011-07-03 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: remove warning if !USE_SMARTCARD + + Merge commit 'refs/merge-requests/16' of ssh://gitorious.org/spice-gtk/spice-gtk into merge-requests/16 + +2011-07-02 Alon Levy <alevy@redhat.com> + + gtk: add spicy-stats test app + + spice-channel: add property total-bytes-read + + spice-channel: export spice_channel_type_to_string + +2011-07-01 Christophe Fergeau <cfergeau@redhat.com> + + prepend smartcard cmdline options with --smartcard + This is consistent with what spicec does, and is also less + confusing since other certificates can be passed on the command + line (for client/server host authentication). + + add --smartcard option to spicy + People starting spicy will not always want their smartcard data + to be forwarded to the guest they're connecting to. Currently, + smartcard events are unconditionnally forwarded to the server if + spicy was compiled with smartcard support. This commit adds a + --smartcard option that must be used in order to enable smartcard + support in the client. By default, smartcard data won't be forwarded + to the server unless this option is specified. + +2011-06-28 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk/smartcard: make cacard dependency optional without breaking API + +2011-06-26 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk/smartcard: remove g_assert + +2011-06-24 Marc-André Lureau <marcandre.lureau@redhat.com> + + TODO: update + + build-sys: fix disable-smartcard broken earlier + +2011-06-23 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk/smartcard: add a couple of debug + + gtk/smartcard: simplify a little spice_smartcard_manager_init_libcacard + +2011-06-23 Christophe Fergeau <cfergeau@redhat.com> + + use new @ifdef directive for smartcard messages + We don't want to conditionally compile the smartcard messages + depending on whether USE_SMARTCARD is set or not, we can now use + the @ifdef attribute for that. + + handle @ifdef on messages and channels + + allow attributes on channel elements in .proto files + We want to be able to add an @ifdef annotation to optional messages + For example, we want to compile in the smartcard messages only if + libcacard is available + + add ifdef/endif methods to spice code generator + These methods will be needed to be able to make some fields optional + in spice.proto + + fix compilation when libcacard isn't installed + + set menu actions sensitivity for software smartcards + Make sure menu actions are only sensitive when we are using a + software smartcard reader, and properly update the sensitivity + depending on the presence or not of a software smartcard in the + software reader. + + add smartcard actions to spicy + Add code to add/remove a software smartcard in spicy UI. These + 2 entries were added as items in the Input menu. They are not + grayed out for now if there is no software reader available. + + add software smartcard reader support + + use user-provided certificates when init'ing libcacard + + read certificate information from command line + When using a software card reader, one needs to pass 3 certificates + to be used to simulate the smartcard (and optionnally the path to + a certificate database). This commit adds support for --certificates + and --certificate-db command line options to do that. + + add smartcard properties to SpiceSession + To handle software smartcards, we need to be able to pass the + certificates to use for the smartcard as well as the database where + these certificates can be found. This commit adds "certificates" + and "certificate-db" properties to make this possible. + + handle smartcard channel in SpiceWidget + + handle smartcard channel in spice_channel_new + + initialize libcacard + + don't always serialize messages sent to the server + The communication between spice clients and servers on the smartcard + channel can be initiated either by the client or by the server. + It's initiated by the client for smartcard reader events (reader + hot(un)plug, card insertion/removal), or it can be initiated by the + server when it wants to query the certificates available on the + smartcard. + When communication is initiated by the client, we want to serialize + the messages we sent, ie we don't want to send a message if we + haven't received yet the answer to the previous message. + However, when it's the server which initiates the communication, + we don't want to use this serializing mechanism. + + This commit adds a "serialize_msg" boolean to be able to disable + message sending serialization as needed. + + forward APDU requests from server to smartcard reader + These requests are sent by the server when trying to read the + certificates from the smartcard. + + handle messages from spice server + + serialize sending of smartcard channel messages + Messages sent to the spice server by the smartcard channel have to + be serialized: before sending a message, the channel has to wait + for the server answer to the previous message. Add a GQueue to be + able to queue several messages to the server while we wait for the + answer to an earlier message. + I think the reason why that serialization is needed is to be able + to deterministically assign IDs to readers on reader addition. We + have no way to match a message from the spice server with the + message to the server that triggered this reply, which means that + if we could send several reader additions to the server without + waiting for answers, when the server answers, we wouldn't know + which reader it's trying to assign an ID to. + + send messages to spice server on reader/card events + + add basic callbacks for smartcard events + Now that the smartcard manager sends event for smartcard readers, + the smartcard channel has to do something with them. For now, we just + add basic callbacks which don't try to forward these events to the + spice server. However, we start adding the glue needed to handle + the fact that plugging of smartcard readers and creation of these + readers in the spice server will be asynchronous. + After receiving a "reader addition" command, the spice server sends + back an ID to identify this reader which must be used in all other + requests (card insertion, removal and reader removal) to identify + this reader. However, if the server is slow to send back this ID, + there's a window when we can get additional events for the reader + that is being added that we can't send right away to the server + because we don't know the ID to use. That's why we add the various + pending_* hashes in this commit, to be able to keep track of the + requests that will have to be sent once the spice server has + assigned an ID to the reader. + + add smartcard bits to spice.proto + +2011-06-22 Christophe Fergeau <cfergeau@redhat.com> + + emit signals in reaction to libcacard events + + add signals for smartcard events + Add signals which will be emitted when a reader appears/disappears, + or when a smartcard is inserted/removed. + + add boxed type for VReader + VReader is a type defined in libcacard which contains all the + information we need ot handle card readers. Since it's refcounted, + we can make it a boxed type for use in signals. + + add smartcard monitor GSource + This source gets events from libcacard and inserts them into + a regular glib mainloop. The smartcard manager will then emit + signals in reaction to the events it got from libcacard. + +2011-06-22 Marc-André Lureau <marcandre.lureau@gmail.com> + + build-sys: some minor cleanup + +2011-06-22 Christophe Fergeau <cfergeau@redhat.com> + + add --enable-smartcard configure flag + + add smartcard channel and smartcard manager skeletons + + improve debug log on coroutine start + + factor base message handling in SpiceChannel + Currently, every channel has to define all the server messages it + handles, including the "generic" ones. Since it's error prone (easy + to forget the handling of default messages in new sources), it's + better to move this handling to the base channel class, and to call + the parent method when the message is unknown in the ::handle_msg + method. + + On top of this, another factoring that can be done is to make the + message handling function generic instead of reimplementing it in + every class. Each class would only have to register its own + (class-specific) set of handlers. + + Conflicts: + + gtk/channel-playback.c + gtk/channel-record.c + + display more options in default --help + When running spicy --help, very few options are shown. I didn't + notice at first that it was possible to specify the spice server + host/port/... showing them in the default help output should make + these options more obvious. + +2011-06-22 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: get rid of duplicated channel_desc table + + gtk/gstaudio: add volume control support + +2011-06-21 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk/audio: announce volume capability + + add git .mailmap + + gtk/pulse: add volume control support + + common: add volume messages + + spice.proto: updated with volume messages + + playback/record: add audio volume properties + +2011-06-17 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk/controller: add accel menuitem property + + gtk/controller: change namespace to SpiceCtrl + +2011-06-17 Christophe Fergeau <cfergeau@redhat.com> + + gtk/spicy: fix buttons in connect dialog + Use proper button order (confirmation should be bottom right) and + use a "Connect" button instead of "Ok". + +2011-06-14 Alon Levy <alevy@redhat.com> + + channel-display: destroy_stream: fail if streams is NULL + +2011-06-13 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk/controller: fix connection events on namedpipe + Strangely, Wine was working fine with the NamedPipe handle itself. + + But WinXP wants the Event handle, obviously. + +2011-06-10 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk/controller: build win32 controller pipe name + +2011-06-09 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: rule out clicks in outside region + Not so great change: we should have a grab on the pointer when + pressing, to receive the release event even if outside the + region. Unfortunately, grabs are single widget for now. + + gtk: oops, forgot to put signal detail first + +2011-06-08 Marc-André Lureau <marcandre.lureau@gmail.com> + + gtk/widget: keep a ref on the session + This is to make more explicit that the session isn't owned by the + widget display, but rather shared. + + Also, it makes it easier to deal with dispose() since there is + explict referencing. + + gtk/session: allow spice_session_disconnect() to be called several times + + gtk/channel: add more runtime check, and make sure any pending idle associated are removed + +2011-06-07 Marc-André Lureau <marcandre.lureau@redhat.com> + + Merge commit 'refs/merge-requests/14' of ssh://gitorious.org/spice-gtk/spice-gtk into merge-requests/14 + +2011-06-07 Christophe Fergeau <cfergeau@redhat.com> + + add really basic GDK GnomeRR backend + It doesn't know about available resolutions, nor about clones, + rotations, ..., it can't trigger resolution changes, but hopefully + it will be enough for basic GnomeRR support in the mac port. + + configure.ac: add defines for windows and osx + Check for gtk+-win32/gtk+-osx to know when we should define + HAVE_WINDOWS/WITH_DISPLAY_WINDOWS and HAVE_QUARTZ/WITH_DISPLAY_QUARTZ + + This is better than the old scheme that blindly tried to detect + libx11, and chose between x11/windows depending on only this + test. + We probably should check that only one of windows/x11/quartz is + enabled at once. + NB: for now the QUARTZ defines are not used since we will be + using a generic GnomeRR backend instead of having our own + OSX backend. + + configure.ac: only check for X11 libs on X11 builds + No need to try to detect xrandr or xkb headers when we won't be + doing an X11 build. This is even detrimental on Mac OSX when + we want to attempt a native build but have the xkb headers installed. + + configure.ac: simplify --with-x11 processing a bit + + configure.ac: improve X11 detection + Use gtk-x11-[23].0.pc to detect whether we want an x11 build or + not. Don't AC_SUBST X11_CFLAGS and X11_LIBS since they are unused. + + configure.ac: group all X11 checks + Gather all x11 related checks in the same place + +2011-06-07 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk/win32: interecept low level keys - fix alt-tab and such + + gtk: improve gstaudio backend + Do not timestamp gst audio buffers, since they are continuous anyway + and it fixes directsoundsink stuttering + + Also, add a new SPICE_GST_AUDIOSINK environment variable to play with + sink parameters + + build/win32: they broke libjpeg again + +2011-06-06 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk/win32: gtk maps LAlt & LCtrl to Alt and Ctrl keycode, but they are missing from keymaps.csv + +2011-06-05 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: update spicy.nsis installer + +2011-06-03 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: fix windows build with recent mingw64 + +2011-06-02 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: remove unused c++ check + + gtk/spicy: add rudimentary grab-sequence configuration setting + +2011-05-28 Christophe Fergeau <cfergeau@redhat.com> + + fix miscellaneous memleaks + Fix various memleaks that were reported by valgrind. + + plug a memleak in ChannelMain::_channel_new + ChannelMain::_channel_new was leaking memory in an error path. + Unconditionnally free the used memory, which has the added benefit + of making the code simpler. + +2011-05-25 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: load ca-file if SPICE_SESSION_VERIFY_SUBJECT + Fix SSL verify to work like spicec, not sure what I am doing there, but it works. + + gtk: update python binding generated file + + gtk: log spice-gtk version when creating a session + +2011-05-25 Christophe Fergeau <cfergeau@redhat.com> + + fix make distcheck + + make perl-Text-CSV optional for tarball builds + Ship the files generated using perl-Text-CSV in the tarball so that + end-users (as in "people compiling from a tarball") won't need to + have perl-Text-CSV installed. + +2011-05-25 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk/spicy: free some more objects when quitting + +2011-05-25 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> + + Connect on recent connection item activation + Now (commit 27df918) that we already gather connection information when + user (single)-clicks a recent connection item, we can safely use the + selected recent connection when user activates (double-clicks) it. + + RecentChooser should act on single-click + Fill-in the connection dialog fields as soon user selects a recent + connection. + + Minor coding-style fix + Don't use mix of tabs and spaces. + + Get rid of redundant argument + + Minor clean-up + Prefer 'if/else' over 'switch' when dealing with only 2 possibilities. + +2011-05-25 Marc-André Lureau <marcandre.lureau@redhat.com> + + Merge branch 'merge-requests/11' + +2011-05-25 Christophe Fergeau <cfergeau@redhat.com> + + sync protocol files with spice + + remove duplicate headers from Makefile.am + Headers needed for map-file generation were listed twice, once in + libspice_client_glibinclude_HEADERS and once in _SOURCES. It's ok + to only have them in _HEADERS. Order channel names alphabetically + while I'm touching this part of Makefile.am + + remove G_GNUC_CONST from get_type functions + These functions call g_type_register_* the first time they are + called which is not G_GNUC_CONST so this attribute can't be used + here. This had the side effect of making these functions not appear + in sym-file after running make update-sym-file. + +2011-05-24 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: add SSL ciphers session property + + THANKS: update + + Merge commit 'refs/merge-requests/10' of ssh://gitorious.org/spice-gtk/spice-gtk into merge-requests/10 + +2011-05-23 Christophe Fergeau <cfergeau@redhat.com> + + add const to arrays in marshalling functions + + fix copy & paste error in ptypes.py + + remove duplicate #include + + fix wrong comment in spice_spice_channel_send_msg + + s/interruptable/interruptible + +2011-05-23 Daniel P. Berrange <berrange@redhat.com> + + Fix missing OS-X keymapping for letter 'A' + The keymap-gen.pl script was not correctly distinguishing + keycodes with a value of '0', from undefined keycodes. All + were skipped. This meant that the mapping for OS-X ANSI_A + key was lost (since it has value 0). + + For similar reasons the XQuartz mapping for the letter A + was also lost. + + * src/keymap-gen.pl: Fix handling of 0 vs undef for keycodes + * src/keymaps.csv: Remove bogus 0x0 entry in OS-X keymap + + Add missing keytable entry for KEY_KATAKANAHIRAGANA + * src/keymaps.csv: Add XT code for KEY_KATAKANAHIRAGANA + +2011-05-23 Christophe Fergeau <cfergeau@redhat.com> + + include stddef.h in continuation.h + It uses size_t so it needs it to get a definition for this type. + If it's not there, this causes build breakage on OS X + +2011-05-23 Attila Sukosd <attila.sukosd@gmail.com> + + define MAP_ANON as MAP_ANONYMOUS if needed + Mac OS X doesn't have MAP_ANONYMOUS, only MAP_ANON, so use MAP_ANON + when MAP_ANONYMOUS isn't defined. + +2011-05-23 Christophe Fergeau <cfergeau@redhat.com> + + ssl_verify: include <string.h> + ssl_verify.c is using memcmp which comes from string.h, this was + breaking compilation with -Werror -Wall on Mac OS X + + link with gthread when appropriate + The corouting gthread code and spicy are using gthread functions + but were no linked against the gthread library. This causes build + failures on older glibs where gthread isn't mandatory when using + glib. + + gnome-rr: use g_object_notify instead of g_object_notify_by_spec + The latter was added in glib 2.26, and we only require glib 2.22 + +2011-05-23 Marc-André Lureau <marcandre.lureau@redhat.com> + + display: fix build error GLib <2.26 + https://bugs.freedesktop.org/show_bug.cgi?id=37443 + +2011-05-20 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk/controller: correctly close namedpipe after calling close() + + gtk/controller: add some missing clean up of namedpipe + + gtk/controller: forgot to dispose stream as well + + controller: stick to 2.22 API + +2011-05-16 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: fix build with latest mingw + +2011-05-15 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk/controller: got NamedPipe basic working + +2011-05-13 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk/controller: start NamedPipe support (compile with mingw32) + +2011-05-11 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: restore correctly UI elements visibility state + +2011-05-10 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> + + gtk: some code cleanup + +2011-05-10 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: spicy - leave fullscreen when grab sequence is pressed + Workaround since accels are now disabled.. Ideally we either have a + different key sequence or we use Vinagre UI + + gtk: fix spicy grab key sequence + + gtk: warn on invalid key sequence + + gtk: add grab-keys-pressed signal + + gtk: don't ungrab keyboard on focus-ous + Mainly to avoid the crazy loop: + focus-in > grab -> focus-out -> ungrab -> focus-in + on kde & gnome-shell. + + gtk: keyboard handling improvements + - spicy: disable accels/mnemonics when grabbed + + gtk: extra check only compiled if !NDEBUG + +2011-05-09 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: get rid of a useless warning + + gtk: return RGB -> BGRX color conversion for non-turbo jpeg + +2011-05-08 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: use faster jpeg decompression by default + +2011-05-08 Marc-André Lureau <marcandre.lureau@gmail.com> + + gtk: warn if received invalid frame timestamp + +2011-05-07 Marc-André Lureau <marcandre.lureau@gmail.com> + + gtk: speed up mjpeg decompression + Remove custom rgb->argb functions, and remove fancy post-proc (which I + don't think were applied, but we now do the same as spicec) + + gtk: sync audio with gst backend + +2011-05-06 Marc-André Lureau <marcandre.lureau@gmail.com> + + build: update README with depedencies + + gtk: warn unsupported channel type with a description + +2011-05-06 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: adjust overall playback latency to 100ms + The previous parameters didn't adjust overall latency. Adjusted to + 100ms overall latency lower cpu load, and improve video flickering + + (damn /me suck at PulseAudio client-side...) + +2011-05-03 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: fix SASL auth failed + Signal correctly to the client that AUTH failed. + + Before, we only had a IO error on channel disconnection. + +2011-05-03 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> + + configure.ac: Use gtk+ 3.0 be default + Hi Zeeshan!! + +2011-05-03 Marc-André Lureau <marcandre.lureau@redhat.com> + + TODO: fix wrong mouse ungrabbing for dragndrop + +2011-04-27 Christophe Fergeau <cfergeau@redhat.com> + + configure.ac: remove setting default C(XX)FLAGS + automake/autoconf already set them for us to -g -O2 if there are + no flags defined. + + configure.ac: use AC_LANG_SOURCE + Recent autoconf complains when AC_COMPILE_IFELSE is used without + using AC_LANG_SOURCE to generate the code snippet to compile. Add + the missing AC_LANG_SOURCE call to SPICE_CC_TRY_FLAG to make it + quiet. + + configure.ac rework introspection detection + When running autogen.sh without having gobject-introspection, this + should give a slightly nicer error message. It currently errors out + with + gtk/Makefile.am:450: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL + + After the patch the error will be + checking for GOBJECT_INTROSPECTION... yes + ./configure: line 21307: syntax error near unexpected token `0.6.7' + ./configure: line 21307: `GOBJECT_INTROSPECTION_CHECK(0.6.7)' + +2011-04-18 Christophe Fergeau <cfergeau@redhat.com> + + spicy: disable Ctrl+W/Close keyboard shortcut + The keyboard shortcut for the Close gtk action isn't disabled, + which leads to spicy closing when trying to use Ctrl+W in the guest. + All other problematic shortcuts are disabled, but in this case the + disabling was commented out. Reenable it to prevent people from + accidentally closing spicy when pressing ctrl+w + + spicy: fix keyboard shortcuts in comments + The various action entries have a comment about the keyboard + shortcut that is being disabled. However, all these comments were + copied from the "Quit" action and were all referring to Ctrl-Q. + This commit puts the right keyboard shortcuts in the comments + + spicy: remove non-needed keyboard shortcut disabling + GTK_STOCK_CONNECT doesn't have an associated keyboard shortcut + so there is no need to explicitly disable it. + +2011-04-15 Marc-André Lureau <marcandre.lureau@redhat.com> + + NEWS: update for v0.6 + + TODO: update + + gtk/display: move some RANDR code to X11 file + + build: fix make distcheck + +2011-04-13 Marc-André Lureau <marcandre.lureau@redhat.com> + + Merge commit 'refs/merge-requests/6' of git://gitorious.org/spice-gtk/spice-gtk into merge-requests/6 + + gtk/map-file: fix spice_main_send_monitor_config function name + +2011-04-11 Marc-André Lureau <marcandre.lureau@gmail.com> + + gtk/controller: fix build with non-default arguments + +2011-04-11 Christophe Fergeau <cfergeau@redhat.com> + + gtk: fix "set but not used" gcc 4.6 warnings + Since we are compiling with -Werror, this was breaking compilation. + +2011-04-11 Alon Levy <alevy@redhat.com> + + python_modules/codegen.py: fix indent error in an unused function + + demarshaller/marshaller fix gcc 4.6.0 + python_modules/demarshal.py and marshal.py fixes for gcc 4.6.0 + warning about set but unused variables. The fixes disable creating + of variables mem_size when they are not used (demarshall) and + declaring a src variable when the message doesn't use it (marshal). + + You need to touch *.proto after applying this (should add a Makefile + dependency). + + codegen: avoid creating out if not used (fix gcc 4.6.0 warning) + + mingw32 build: python_modules/marshal: use unsigned for for_loop index variable + +2011-04-10 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk/spicy: do not show again toolbar when going full-screen, if mark received + + gtk: calling connect() on a connecting channel is fine + This avoid problems where different display shares the same input + channel and try to connect two times. + + gtk: allow to drag-and-drop between displays / windows + + gtk/controller: install spice-controller library + +2011-04-09 Marc-André Lureau <marcandre.lureau@redhat.com> + + common: fix build error of used uninitialized + CC sw_canvas.lo + cc1: warnings being treated as errors + ../common/sw_canvas.c: In function 'canvas_draw_text': + ../common/sw_canvas.c:1037:16: error: 'pos.x' may be used uninitialized in this function + ../common/sw_canvas.c:1037:16: error: 'pos.y' may be used uninitialized in this function + make[4]: *** [sw_canvas.lo] Error 1 + +2011-04-08 Marc-André Lureau <marcandre.lureau@redhat.com> + + TODO: update + + build: fix gtk/controller/Makefile valac line which had custom.vapi + + Merge commit 'refs/merge-requests/5' of git://gitorious.org/spice-gtk/spice-gtk into merge-requests/5 + + gtk: don't send MonitorConfig after agent start + We don't know yet what will be the guest previous configuration. + + Ie, what should we send otherwise? Current hardware configuration? + This works badly with windowed mode, where we expect the same windows + to be displayed on reconnection. + + gtk: introduce more complete spice_main_send_monitor_config() + Since it's unclear yet how MonitorConfig should be used depending on + use case (full-screen vs windowed) we prefer to make a public api so + that the client implementation can send it when it is the most + appropriate time. + + gtk: add disable-display-position + + gtk: remove unnecessary invalidate mark signal + + gtk: send FALSE mark when destroying the primary surface after 1s... + This is similar to what is done in spicec. + + gtk: hide the cursor after setting it + So that when we move the cursor again, we can show the right one + + gtk/spicy: hide the display if mark is FALSE + + gtk/spicy: update status of all windows + + gtk/spicy: only show window when we receive the mark + + gtk: not having a window is not critical, if the widget is not yet shown + +2011-04-08 Hans de Goede <hdegoede@redhat.com> + + gtk: fixup clipboard_by_guest tracking + clipboard_by_guest tracking was used more or less for 2 things, to keep track + if the agent has clipboard data ready to send, and to see if we have done a + clipboard_set_with_data on behalf of the guest agent. + + This patch splits the tracking of the 2, fixing several issues: + 1) spice_display_paste_from_guest would not work if since receiving + the grab from the agent some other app has copied something to + the client clipboard. + 2) We would do a clipboard_clear unconditionally even if we were + not the clipboard owner in the client (iow some other app has + done a clipboard_set_with_data since out last one). + + This patch changes the meaning of the clipboard_by_guest boolean to just + track if we've done a clipboard_set_with_data on behalf of the guest + and are the last one to have a done a clipboard_set_with_data (iow we are the + client os' clipboard owner). It adds a checks to clipboard_release to + only call clipboard_clear if we are the current ownerm fixing 1). + + This patch uses nclip_targets to keep track of the agent having data + available which we could paste, fixing 2). + + gtk: Clear hasdata when we do a clipboard_set_with_data + When we call gtk_clipboard_set_with_data to set the client clipboard + to the targets reported as available by the agent, the clipboard no + longer has data in the sense that it has data which is interesting + for spice_display_copy_to_guest, so clear clip_hasdata whenever we + call gtk_clipboard_set_with_data, + + gtk: receiving a grab from the agent implies releasing our own + By setting d->clip_grabbed[selection] to FALSE when we receive a grab from + the agent, we can remove the weird "if (!d->clipboard_by_guest[selection])" + check from clipboard_owner_change, and we fix spice_display_copy_to_guest not + working in the following case: + 1) autoclipboard share disabled + 2) Copy something to the clipboard in the client + 3) Send it to the guest by calling spice_display_copy_to_guest + 4) Copy something to the clipboard in the guest + 5) Tried to send the client clipboard to the guest again by calling + spice_display_copy_to_guest (again). + + 5) would not work because d->clip_grabbed[selection] would still be true in + spice-gtk's view, where as the agent no longer sees the clipboard as grabbed + by the client since it send a grab itself. + + gtk: use a separate var to keep track of self caused new clipboard owner events + Also change 0/1 to FALSE/TRUE in touched code. spice-widget seems to be + using all 3 of: 0/1 false/true and FALSE/TRUE for booleans. The glib convention + is FALSE/TRUE. + +2011-04-05 Hans de Goede <hdegoede@redhat.com> + + gtk: take selection into account in clipboard_release + +2011-04-05 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: only release clipboard when neither guest nor client own it + 08:55 < hansg> elmarco, this is from vdagent.log with debugging enabled. What is happening is that the last thing done was a primary + selection in the client, so vdagent owns the clipboard in the guest (on behalf of spice-gtk), then something gets selected + inside the guest, the agent sends a grab to spice-gtk, which then does a gtk_clipboard_set_with_data, this triggers an + clipboard_owner_change which sends a release message to the agent + 08:56 < hansg> To which the agent then responds by dropping it, and logging: + 08:56 < hansg> primary: received release while not owning client clipboard + 09:11 < elmarco> hansg: but this bug we are talking about is not related to multi-clipboard right? + 09:11 < elmarco> and it's only a warning in vdagent, things works as expected otherwise, right? + 09:11 < elmarco> the bug was thee before I suppose + 09:12 < hansg> right, they work because vdagent is diligent and sees the client sends a release while it is not owning the clipboard. The + diligence is mainly there in case things race though (release on client racing with a grab on guest), not to make things + work with buggy clients :) + 09:13 < hansg> wrt: <elmarco> hansg: d->clip_grabbed is only for client-side grab, iirc + 09:13 < elmarco> ok, I think it's just an obscure area of the spec, where basically, we don't define exactly the "state machine" + 09:13 < elmarco> so the client is releasing his last client-side grab, because he had one before, but now, it is a guest grab + 09:13 < hansg> True (not exactly definging the state machine) + 09:14 < hansg> So to try again wrt the d->clip_grabbed, what happens there (which has the same cause) is: + 09:14 < elmarco> so, what it should do is just don't release the clipboard if it is switching from client-side to guest + 09:15 < hansg> gtk/spice-widget.c: clipboard_grab gets called, and does: + 09:15 < hansg> Hmm, hold on, I see what you mean wrt d->clip_grabbed now + 09:16 < elmarco> to me, it looks like the client made a grab and to complete it's cycle, it should release his grab + 09:16 < elmarco> but the order of things confuse vdagent and we should agree on something and document it + 09:18 < hansg> elmarco, I need some time to take a somewhat closer look at the spice-gtk code in this area, give me 1/2 an hour and I'l + get back to you + 09:20 < elmarco> from client 1. grab -> 2. grab <- 3. release -> or 1. grab -> 2. grab <- 3. no release + 09:21 < elmarco> I think state should not be mixed between client grab / release -> and guest grab/release <- + 09:22 < elmarco> so, overriding client grab by guest grab should release client grab + 09:23 < hansg> spicec and the linux agent both assume that after sending a grab they won't get back a release (for that selection). The + purpose of the release is to tell the OS that the agent resp, client no longer own the clipboard (by setting the owner to + None under X11), so that other apps can disable their paste menu item, etc. There is no need to do that (and actually + doing so would be a bug) if an other app now owns the clipboard. So if the other side claim + 09:23 < hansg> s ownership of the clipboard there is no need to tell it you're releasing your side, since it already assume you have + 09:24 < hansg> Scenarios to keep in mind are: + 09:24 < hansg> Seen from the client side: + 09:28 < hansg> client grabs clipboard + 09:28 < hansg> some app on guest becomes owner, guest sends grab, assume client release + 09:29 < hansg> some app on guest asks agent for clipboard data -> tells it to go away since the client no longer the owner + 09:29 < hansg> If it would not assume the release, there would be a window where it would think the client still owns the clipboard and + forward potential request to the client, even though the client no longer owns the clipboard + 09:30 < hansg> The thing to keep in mind is that the delivery of messages is not instant, so there is some window where the 2 sides are + out of sync. + 09:30 < hansg> I can see the logic in how you're advocating to do things, but that is not how they are currently done and I'm reluctant + to change this + 09:33 < elmarco> hansg: yeah, I don't think one solution or the other affect user experience, for me there is no gap if the client and + agent agrees, it's only protocol/implementation details + 09:33 < elmarco> since there was prior implementation, we can decide to follow it + +2011-04-04 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: fix multi-head support by sync the display cache + An image may come later from a different channel, even if it is referenced by another image. + + gtk: add some debugging in glz decoder and avoid crashes + + gtk: display now use the cache from the session + +2011-04-03 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: the caches are shared with the session + + common: get rid of abort() in canvases + + common: remove unnecessary outdated c++ debug + +2011-04-01 Christophe Fergeau <cfergeau@redhat.com> + + configure.ac: remove detection of WARN_UNUSED_RESULT + spice-gtk configure.ac has some code to detect if the compiler has + a special attribute to tag some functions so that they generate a + warning when their return value isn't checked. However, this test + is broken (the gcc attribute name is "warn_unused_result", not + "__warn_unused_result__" and WARN_UNUSED_RESULT is unused anyway + since spice-protocol provides SPICE_GNUC_WARN_UNUSED_RESULT. Thus + we can just drop that block of code from configure.ac + +2011-04-01 Marc-André Lureau <marcandre.lureau@redhat.com> + + adding THANKS + +2011-04-01 Christophe Fergeau <cfergeau@redhat.com> + + configure.ac: remove unused tests + configure.ac had -fvisibility detection, but it's not used by + spice-gtk. It also has a --enable-static-linkage flag which isn't + used anywhere apart from in configure.ac, so remote this too. I + think the same effect as --enable-static-linkage can be achieved + using make LDFLAGS="-all-static" since we are using libtool. + +2011-03-31 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: correct CLIPBOARD_LAST so that array are sized correctly + + gtk: show cursor when cursor-move + + gtk: fix handling of incoming large clipboard data + The main fix was probably the agent_msg_pos guin8 -> guint, although I + modified the code for more clarity + + gtk: multi-clipboard improvements + +2011-03-30 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: fix make dist + + gtk/controller: add XPI controller code + + build: provide a conditional for WIN32 + + build fixup + + build: install spice-protocol.vapi + + build: check for vala if necessary + +2011-03-28 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: remove some debugging, update TODO + +2011-03-27 Marc-André Lureau <marcandre.lureau@redhat.com> + + Revert "gtk/display: remove unused mode name" + This reverts commit 33ef5a9368534f7fcb77ef60d8811ae08a707e4f. + +2011-03-23 Christophe Fergeau <cfergeau@gmail.com> + + gtk/display: be more paranoid about potentially NULL pointer + If things don't go as expected in gnome_rr_config_ensure_primary + (for example we don't find any usable output), we may end up + trying to dereference a NULL pointer. It's better to check + top_left is not NULL before using it. + + gtk: don't attempt to dereference NULL pointer + In spice_channel_handle_migrate there's an explicit check for + data being NULL. However, we subsequently dereference it twice + even when it can be NULL. Add explicit checks to avoid that. + + gtk: remove unused variables + They were spotted by the clang static analyzer. + +2011-03-23 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk/spicy: WIN32 support resolution update + + gtk/spicy: WIN32 GTK icon theme fallback in recentmanager is buggy + + gtk/display: implement windows backend + + gtk/display: remove unused mode name + +2011-03-22 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk/display: avoid use of g_assert, we are trying to make a library + + gtk/display: split x11/windows backend + For better or worse.. + +2011-03-21 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk/display: start splitting display x11/windows backend + +2011-03-19 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk/display: fix build with win32 + + TODO: update + + gtk: fix warning when building without sasl + + gtk/spicy: fix win32 build + + build: clean up some unused autoconf.ac + +2011-03-17 Marc-André Lureau <marcandre.lureau@redhat.com> + + README: minor sasl dependency update + + gtk/channel: return if pubkey is NULL + Patch suggested by Alon Levy. + + http://lists.freedesktop.org/archives/spice-devel/2011-March/002943.html + + build: fix a copy&paste typo + + spicy: change current output resolution in fullscreen + + gtk/display: add rr_config_dump + + gtk: import display configuration from gnome-desktop + +2011-03-15 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: fix crash when clipboard_primary owner change + Clean up handler when destroyed. + + /usr/local/stow/virt-manager/share/virt-manager/virt-manager.py:450: Warning: g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed + gtk.main() + + Program received signal SIGSEGV, Segmentation fault. + [Switching to Thread 0x7ffff7fd4720 (LWP 19098)] + 0x00007fffe8881ab2 in get_selection_from_clipboard (d=0x0, cb=0x1df8510) + at spice-widget.c:996 + 996 if (cb == d->clipboard) { + (gdb) bt + at spice-widget.c:996 + 0x30f5750, data=0x1ea3000) at spice-widget.c:1114 + 0x0, n_param_values=2, param_values=0x1e96a90, invocation_hint= + 0x7fffffffd280) at gclosure.c:767 + detail=0, instance=0x1df8510, emission_return=0x0, instance_and_params= + 0x1e96a90) at gsignal.c:3252 + instance=<value optimized out>, signal_id=<value optimized out>, + + gtk: map-file missig test_common_capability + +2011-03-02 Marc-André Lureau <marcandre.lureau@redhat.com> + + TODO: update + + gtk: add display width/height properties + +2011-03-01 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: add multiple selection clipboard sharing + +2011-02-22 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: add SASL support + +2011-02-21 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: fix spice-client-gtk-3.0.pc requires + +2011-02-19 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: add private spice_session_get_{password,host,cert_subject}() + + gtk: add error block to spice_channel_recv_link_msg() + + gtk: add spice_channel_flush_sasl() + + gtk: add spice_channel_read_sasl() + + build: add --with-sasl build option (from gtk-vnc) + + gtk: share clipboard images + + gtk: split agent msg to VD_AGENT_MAX_DATA_SIZE if required + Fix clipboard sharing of large objects + + gtk: add spice_channel_set_common_capability() + + gtk: make it easier to debug test_capability + + gtk: s/g_get_monotonic_clock/g_get_monotonic_time + + common: add spice_channel_test_common_capability() + +2011-02-03 Marc-André Lureau <marcandre.lureau@redhat.com> + + data: update spicy-for-windows.nsis + +2011-02-01 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk/spicy: add --version option + +2011-01-27 Marc-André Lureau <marcandre.lureau@redhat.com> + + release 0.5 + + gtk: fix windows build + + common: fix windows build + + gtk: fix hitting wall / real screen borders + +2011-01-26 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: add "migration-state" enum to make it easier to track migrations + + gtk: when input channel is not ready, silently drop input events + +2011-01-25 Marc-André Lureau <marcandre.lureau@redhat.com> + + common: sync with upstream + + common: spice_memdup could accept NULL + + gtk: spicy: add --host-subject argument + + gtk: move channel verification parameter to session + + gtk: rename s/spice-channel-enums/spice-glib-enums + + gtk: add pubkey verification on migration + + gtk: make use of common/ssl_verify.c + + common: add ssl_verify.c common code + + common: ring.h should include stddef for NULL usage + + gtk: add 'pubkey' and 'cert-subject' properties + +2011-01-24 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: add channel certificate 'verify' property + + gtk: spicy: display connection dialog on TLS error + + TODO, README: update + + gtk: implement MIGRATE_CANCEL + + gtk: track switch host idle source + + gtk: add SpiceMainChannel::migration-started + With this signal, it is possible for the client to provide sockets to + a migrating session. + +2011-01-24 Tiziano Mueller <dev-zero@gentoo.org> + + Use g_free instead of free in fail codepath as well. Warn if password is provided in the uri. Free allocated unencoded uri string. + +2011-01-21 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: handle seamless migrations + + gtk: handle DISPLAY_RESET + + gtk: add spice_session_new_from_session() + A light copy constructor for migration. + + gtk: exit coroutine loop of a channel migrating + + gtk: add spice_channel_swap(), swap connection details + + gtk: use a callback to handle spice_channel_recv_msg() + + gtk: add channel_up() helper and SPICE_CHANNEL_STATE_MIGRATING + + gtk: use a session state on disconnection, be reentrant + + gtk: add spice_session_set_port() private API, use it + + TODO: add todo about mouse reaching borders + + gtk: order to clarify what is swapped on migration + + gtk: add private get_channel_{id,type} + +2011-01-20 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: cosmetic, make it look safer session_channel_destroy() + Although not necessary, this loop rewrite is easier to read, to see + that the function is safe: the function returns when removing the + item, so it was safe before but as well... + +2011-01-19 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: fix small mem-leak + + gtk: default construction value in property parameter + +2011-01-18 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: remove scheme parsing, and tidy up the function + + Merge commit 'refs/merge-requests/2' of git://gitorious.org/spice-gtk/spice-gtk + + gtk: support reconnection during channel loop (coroutine regression) + This is needed for protocol downgrade, and TLS switching. + +2011-01-17 Tiziano Mueller <dev-zero@gentoo.org> + + Add 'password' to recognized parameters in the uri. + + Use glib's URI parse functions to properly identify the scheme and unescape the string. + + Fixed implicitly declared toupper. + +2011-01-16 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: stay unconnected until the FD is provided by the client + +2011-01-14 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: fix distcheck + +2011-01-14 Daniel P. Berrange <berrange@redhat.com> + + Fix rendering with GTK3 + In GTK2 world there is an expose_event handler, so a choice + of the X11 or cairo backends can be used. + + In GTK3 world only the draw_event exists, which must use + cairo + + Disallow python module and X11 rendering with GTK3 + In GTK3 the python binding is provided via introspection. + The X11 rendering code is not compatible with GTK3 since + all GTK3 drawing is cairo based and there is no expose_event + any more + + Make keyboard code support multiple GDK backends + Adapt the keyboard code so that it builds with GTK2 and GTK3, + where the latter has multiple GDK backends + + Fix use of GdkDrawable to be compat with GTK3 + In GTK3, the GdkDrawable class is gone, leaving only GdkWindow. + The GdkDrawable class can be mostly avoided in Gtk2, thus + eliminating the compat problems with Gtk3. Only a couple of + compat calls need to be added to allow compilation on both. + + Adapt build system to allow building with GTK3 + The new configure flag '--with-gtk' can be used to choose + which GTK version to build against, defaulting to GTK2. + To enable GTK3 use + + ./configure --with-gtk=3.0 + + The libspice-client-glib-2.0.la library is unchanged, building + against glib-2.0 at all times. + + The GTK3 build will produce a libspice-client-gtk-3.0.la + The include files will also live in $prefix/spice-client-gtk-3.0 + and the pkgconfig is called spice-client-gtk-3.0 too. + + This allows for full parallel install of GTK2 and GTK3 builds + + Include ABI version in library names. + To allow easy parallel install of spice-gtk builds against GTK2 + and GTK3, include the ABI version in the library names. + + libspice-gtk.la -> libspice-gtk-2.0.la + libspice-glib.la -> libspice-glib-2.0.la + + The PyGtk module doesn't change because that is obsolete and + unused in GTK3 world. + +2011-01-14 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: spicy: make recent name similar to a URI without spice:// + + gtk: TLS add hostname verification + + gtk: TLS fixes: URI parsing and coroutine regression + +2011-01-13 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: spicy: add recent connexions chooser in connect dialog + + gtk: spciy: connect to selected recent item + + gtk: spicy: display recent connexions in chooser list + + data: add spice-mime, and spicy.desktop - disabled for now + + gtk: spicy: correctly unref ui/accel objects + + gtk: warn only if audio playback time is not monotonic + +2011-01-12 Marc-André Lureau <marcandre.lureau@redhat.com> + + common: add ring_get_length() for debugging purposes + + gtk: simplify debugging of coroutine-related path + + gtk: handle MIGRATE_SWITCH_HOST + +2011-01-11 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: make channel_disconnect() a vmethod + + gtk: remove useless g_object_get + + gtk: allow calling spice_main_clipboard_release() even if agent is not connected + + gtk: add some DEBUG related to migration + +2011-01-09 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: build x11 keyboard code with cairo backend + + build: replace echo by AC_MSG_NOTICE, that way it's logged + + build: get rid of _DEPENDENCIES and -lspice-client* + Suggested by Jürg Billeter. + +2011-01-08 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: be more careful when accessing GDK_WINDOW_XDISPLAY + +2011-01-07 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: emit ERROR_LINK when connecting to non-spice server + + gtk: fix async reading... booo, that was *really* missing + + update NEWS and TODO for v0.4 + + gtk: ignore clipboard owner signal when main channel disconnected + + gtk: simplify CHANNEL_CLOSE event handling + +2011-01-05 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: add missing set_delay() symbol to map-file + +2011-01-04 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: help libtool/koji install client-glib before client-gtk + + gtk: fix reconnection from dialog in spicy + Closing the session while attempting a new one is a bad idea + + gtk: s/warning/message on failed connect + + build: win32: package libgstdirectsoundsrc.dll as well + + gtk: gstaudio: add recording + +2011-01-03 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: gstaudio: timestamp appsrc buffer to be in sync with audio sink clock + If buffer are not timestamped with the current running time, they + arrive too late. GStreamer seems to deal with some compensation of + buffer jitter, but do not correct clock time. Late buffer are late and + not heard. + +2010-12-30 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: win32: refix jpeg_boolean to build on mingw + Same fix made by Alon Levy in spice. + + Merge commit 'refs/merge-requests/1' of git://gitorious.org/spice-gtk/spice-gtk into integration + + build: win32: add spicy-for-windows.exe scripts + +2010-12-29 Tiziano Mueller <dev-zero@gentoo.org> + + jpeg_boolean is a mingw32-libjpeg specific thing. Use a define check rather than a version check. + +2010-12-29 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: win32: clean-up and GSocket quirks + +2010-12-28 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: search for .defs file under $(srcdir) + +2010-12-27 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: win32: fallback to g_get_home_dir() if g_getenv() failed + + gtk: win32: channel_new() must be called in main context + + gtk: win32: create a drawing context + +2010-12-23 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: pulse: reduce playback latency to 20ms + + gtk: pulse: flush audio buffer on cork + + gtk: synchronize video on mmtime + + gtk: update mm time based on playback time+delay + +2010-12-22 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: add private spice_channel_get_session() + +2010-12-22 Alon Levy <alevy@redhat.com> + + gtk: handle server sending DRAW_COPY before MARK + +2010-12-21 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: spicy use shift+f12 for grab sequence + + gtk: handle SPICE_CURSOR_FLAGS_NONE correctly + + update NEWS, fix distcheck + + gtk: improve mouse support in server mode with scaling enabled + +2010-12-20 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: fix cursor r/b colors being inverted + + gtk: add support for SPICE_CURSOR_TYPE_COLOR{4,16,32} + + gtk: improve 16bits color code, fix rendering glitches + + gtk: fix scaling for x11 backend + + gtk: spicy, save statusbar/toolbar display status + Fix https://bugs.freedesktop.org/show_bug.cgi?id=31991 + + gtk: fix scaling line artifacts + + gtk: add a few precondition checks, and modify debug messages + +2010-12-18 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: fix a dead-lock in clipboard handling + In some condition (in virt-manager but not with spicy), + g_main_loop_run() will deadlock. Use GDK_THREAD_LEAVE () like + gtk_dialog_run() code. + + Also, turn on clipboard sharing by default. + +2010-12-17 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: implement clipboard_paste_from_guest() + + gtk: correctly return empty clipboard request + + gtk: fix invalid memory access on palette cache + This fixes a valgrind error: + + GSpice-Message: display_handle_stream_create: id 49 + (lt-spicy:23948): GSpice-DEBUG: spice-channel-cache.h:107 cache_add: palette 26704 (1) + GSpice-Message: display_handle_stream_destroy: id 49 + ==23948== Invalid read of size 4 + ==23948== at 0x53C07E9: lz_plt8_to_rgb32_decompress (lz_decompress_tmpl.c:304) + ==23948== by 0x53C71FA: lz_decode (lz.c:661) + ==23948== by 0x53231AF: canvas_get_lz (canvas_base.c:834) + ==23948== by 0x5323747: canvas_get_image_internal (canvas_base.c:1109) + ==23948== by 0x5323BD0: canvas_get_image (canvas_base.c:1282) + ==23948== by 0x5325FDB: canvas_draw_copy (canvas_base.c:2196) + ==23948== by 0x531670A: display_handle_draw_copy (channel-display.c:967) + ==23948== by 0x53171B5: spice_display_handle_msg (channel-display.c:1130) + ==23948== by 0x52F3B4D: spice_channel_recv_msg (spice-channel.c:1026) + ==23948== by 0x52F3E61: spice_channel_iterate_read (spice-channel.c:1140) + ==23948== by 0x52F3F51: spice_channel_iterate (spice-channel.c:1163) + ==23948== by 0x52F44F7: spice_channel_coroutine (spice-channel.c:1272) + ==23948== Address 0x191c067c is 1,132 bytes inside a block of size 1,277 free'd + ==23948== at 0x4C27187: free (vg_replace_malloc.c:325) + ==23948== by 0x52F1D03: spice_msg_in_unref (spice-channel.c:363) + ==23948== by 0x52F3B60: spice_channel_recv_msg (spice-channel.c:1029) + ==23948== by 0x52F3E61: spice_channel_iterate_read (spice-channel.c:1140) + ==23948== by 0x52F3F51: spice_channel_iterate (spice-channel.c:1163) + ==23948== by 0x52F44F7: spice_channel_coroutine (spice-channel.c:1272) + ==23948== by 0x53CA1C9: coroutine_trampoline (coroutine_ucontext.c:52) + ==23948== by 0x53C9FBA: continuation_trampoline (continuation.c:43) + ==23948== by 0x5EED71F: ??? (in /lib64/libc-2.12.90.so) + ==23948== by 0xE7F2E7F: ??? + ==23948== + + The invalid pointer seems to come from an image palette that might not + be cached or ref'ed correctly: + + at ../common/canvas_base.c:697 + 0x7fffe45aab88) at ../common/canvas_base.c:705 + + gtk: wip gstreamer audio backend + + gtk: wip scaling support + + gtk/spicy: add scaling option + + gtk: add cairo display backend + + build: basic windows build support + + common: add windows.h where required + This patch should be sent to upstream as well.. + + common: sync with upstream + + gtk: make pulse audio backend optional + + gtk: revert 16 bits multi-monitor config + The Linux vdagent doesn't like multi-monitor configuration. + + build: add map-file in EXTRADIST + + gtk: fix 16bits expose code when black borders >0 + + gtk: fix XShm error fallback code + XDestroyImage is attempting to free(ximage->data). However, data is + owned by the display channel. + + gtk: avoid spurious set_display() calls + + gtk: add support for 16 bits + + gtk: fix video playback being distorted + + gtk: fix windows qxl rendering and warnings + Based on experimentation with spicec, it is normal to get + surface_destroy() with unknown surface id. Also, it should be + considered as an added refcount when adding an existing image/pixmap + in the cache. + +2010-12-10 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: complete API documentation + +2010-12-09 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: add g_object_notify_main_context() + + gtk: continue API documentation + +2010-12-06 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: hide unwanted public symbols + + gtk: s/vnc/spice/ grab_sequence, break API + + gtk: remove old tcp.c code + + TODO: update + +2010-12-05 Marc-André Lureau <marcandre.lureau@redhat.com> + + Merge branch 'wip/coroutines' + + gtk: first stab at gtk-doc documentation + + gtk: WIP coroutines playback & record + + gtk: WIP coroutines inputs + + gtk: WIP coroutines display + + gtk: WIP coroutines cursor + + gtk: WIP coroutines main channel + + gtk: WIP handle disconnect with coroutines + + gtk: WIP tidy main_context_signal_emit() up + Add g_signal_emit_main_context() and make use of it + + gtk: WIP make coroutine loop overridable + + gtk: WIP add the support for system -> coroutine write + + gtk: WIP spice-channel documentation + + gtk: WIP enable TLS connection with coroutines + + gtk: WIP use coroutines in spice-channel + + gtk: WIP use coroutines and GSocket to connect + + gtk: add coroutine utilities + + gtk: fix an invalid clipboard memory copy + + gtk: don't grab our own guest grab + Hack? There might be a better way to do that... + + gtk: fix an invalid clipboard memory copy + + gtk: don't grab our own guest grab + Hack? There might be a better way to do that... + + build: add .gitignore + + gtk: SPICE_DEBUG glz_decoder_window_resize message + +2010-12-03 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: fix crash when spicy configuration is empty + + gtk: fix crash when spicy configuration is empty + + gtk: remove invalid properties warning in spicy + + build: spice-protocol >= 0.6.3 required + + gtk: remove invalid properties warning in spicy + + build: spice-protocol >= 0.6.3 required + +2010-12-02 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: visibility option for statusbar/toolbar in spicy + + gtk: delay PA stream creation when context is ready + +2010-12-01 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: don't uncork new streams + + gtk: save/restore spicy configuration + Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=31991 + + gtk: add CELT recording + + gtk: add CELT playback + +2010-11-30 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: add {session,channel}_open_fd() + +2010-11-29 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: add channel.set_capability() + + gtk: put some g_message() under SPICE_DEBUG + + TODO: update + + gtk: add clipboard sharing for text + + gtk: add dispay config + +2010-11-26 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: progressive agent message recomposition + + gtk: add jpeg decoder + +2010-11-25 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: add zlib decoder + + build: fix make -j + + build: re-enable -Wflags, and fix a few warnings + + build: use git-version-gen + + README: add a few missing dependencies + + gtk: disconnect record stream when record_stop() + This behaviour is different than playback. The main difference is that + a playback stream will stay active, while the recording stream will be + removed: that way the GNOME volume control can notice the user there + is no active recording, by hiding the microphone icon. + + Playback is more frequent (sounds events...) and it would be + unfriendly if the stream was removed/added every now and then from the + volume control list. + + build: update build depedencies + + build: update README + + po: add fr translation + + gtk: mark spice-cmdline strings as translatable + + gtk: make snappy translatable + + gtk: remove spice prefix in default signal handler + + gtk: add raw audio recording + +2010-11-24 Marc-André Lureau <marcandre.lureau@redhat.com> + + gtk: add channel_test_capability() + + gtk: add save mm_time in session + + add AUTHORS & TODO + + i18: add basic support - mark translatable spicy strings + + gtk: read remote caps + + gtk: add a couple of new TODO + + gtk: handle agent token + + gtk: add SPICE_MSG_DISCONNECTING handler + + gtk: don't send inputs before the channel is ready, or else it will eof + + gtk: expose Audio object in python + + gtk: fix MainChannel python bindings + + gtk: ensure we sync key locks after connection + + gtk: move audio stuff in client-glib + + gtk: fix make distcheck + + gtk: fix out of dir build + + gtk: add missing copyright headers + + README: move from gtk/ to / + + build: install gtk and glib headers in different dirs + And various improvements + + gtk: current code is blocking - remove O_NONBLOCK + + gtk: add padding on common base classes: channe/session/widget + + gtk: send the channel caps + + gtk: uncomment some agent string-msg table entries + I don't know why it was commented. + + gtk: sync keyboard lock (X11 only) + + gtk: release keys on disconnect + + gtk: fix getpixbuf colorspace + + gtk: make spice_session_disconnect() reentrant + + gtk: a channel own a ref on a session + This fix calling session_disconnect() in a main_channel_event() callback for instance. + + gtk: add a couple of warning on invalid arguments in public methods + + gtk: use sane default values for spice_audio_new() + + gtk: passing seems wrong, it should be the context + + gtk: adapted to be a working C library + + gtk: handle display-mark + + gtk: hack to handle scrolling + + gtk: implement cursor_reset and plug a memleak + + build: fix a few warnings reported by clang + + gtk: add a flag to turn debug off, SPICE_DEBUG=1 to override + + gtk: don't dereference NULL pointers in destroy + On some error conditions, that happens. + + gtk: add get_pixbuf() for 8/8/8 surfaces + + gtk: add display_send_keys() again, adapted from gtk-vnc.. + + gtk: signal keybard-grab status + Perhaps we should have grab/ungrab signals, instead of an int... + + gtk: add support fro grab keys, based on gtk-vnc code + + gtk: track when mouse/keyboard grab fail + Avoid sending mouse-grab true if the grab failed. + + gtk: python module, register enums + + gtk: untabify + + gtk: use SPICE_DEBUG_CURSOR=1 for debugging + + gtk: allow key repeatition + + gtk: get rid of the remaining assert() + + gtk: make more build silent + + gtk: python module - add manualy defined bindings + + gtk: fix a few gcc warnings + + gtk: add pygtk module + + gtk: remove spice_channel_id() function + The value can be retrieved by property + + gtk: remove spice- prefix in signal name + + gtk: remove spice-event + The abstraction was not really useful, a bit buggy, and a bit more restrictive + + gtk: get rid of asserts, they are not good in libraries + + gtk: use g_log functions instead of fprintf and custom handler + + gtk: make spice_msg_out private + + gtk: GObject Introspection support + +2010-11-23 Gerd Hoffmann <kraxel@redhat.com> + + fix channel cleanup (unbreaks tls) + + spicy: quit on connect failure + + cursor tweaks + + widget: server mouse fixups. + + spicy: use uri for recent entries. + + session: add uri property. + + sound: add recording [not finished yet] + + display: release cursors + + drop+improve debug messages. make protocol a session not a channel property. + + handle partial link message reads + + display: release streams + + display: release glz window bits + + display: release surfaces + + display: release cached palettes and images + + move resize timer from widget to display channel + + more object destruction fixes + + misc object destruction fixes + + spicy cleanup fixes + + display: move IPC_RMID to avoid shm leaking + + spicy: allocate all state storage + + inputs fixups + + spicy: use modifier signal, improve status line. + + inputs: add modifier signal. + + stream regions + + spicy: use grab-mouse signal, set initial kbd focus + + spice widget: some agent bits, add mouse-grab signal + + some more agent bits + + main channel signal fixup. + + auit when the connect dialog is canceled. + + handle VD_AGENT_ANNOUNCE_CAPABILITIES + + mouse and agent interface tweaks. + + connect dialog windup + + spicy: started working on a fancy connect dialog. + + switch snappy to glib command line parsing, factor out common spice options. + + make option menu more verbose + + switch spicy to glib command line parsing + + add audio init wrapper, move pulse bits into gtk lib. + + make spice_session_get_channels return a glist + + rename spice_msg get/put functions to ref/unref + + more clipboard bits + + early cut+paste bits + + zap sub-message debug printfs + + display: handle inval-list message, fix image cacheing. + + spice-channel: Handle incoming sub messages. + + Add glib objects + gtk widgets for spice. + +2010-11-23 Marc-André Lureau <marcandre.lureau@gmail.com> + + Initial import from SPICE diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/Makefile.am b/tizen/distrib/remote/client/spice-gtk-0.19/Makefile.am new file mode 100644 index 0000000..ffa1649 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/Makefile.am @@ -0,0 +1,104 @@ +ACLOCAL_AMFLAGS = -I m4 +NULL = + +SUBDIRS = spice-common gtk po doc data + +if HAVE_INTROSPECTION +if WITH_VALA +SUBDIRS += vapi +endif +endif + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = \ + spice-client-glib-2.0.pc \ + spice-client-gtk-$(SPICE_GTK_API_VERSION).pc \ + $(NULL) + +if WITH_CONTROLLER +pkgconfig_DATA += spice-controller.pc +endif + +INTLTOOL_FILES = \ + intltool-extract.in \ + intltool-merge.in \ + intltool-update.in \ + $(NULL) + +DISTCLEANFILES = \ + $(pkgconfig_DATA) \ + intltool-extract \ + intltool-merge \ + intltool-update \ + gnome-doc-utils.make \ + po/.intltool-merge-cache \ + $(NULL) + +EXTRA_DIST = \ + build-aux/git-version-gen \ + gtk-doc.make \ + .version \ + $(INTLTOOL_FILES) \ + $(NULL) + +MAINTAINERCLEANFILES = \ + ABOUT-NLS \ + aclocal.m4 \ + config.h.in \ + m4/gtk-doc.m4 \ + m4/intltool.m4 \ + m4/libtool.m4 \ + m4/ltoptions.m4 \ + m4/ltsugar.m4 \ + m4/ltversion.m4 \ + m4/lt~obsolete.m4 \ + build-aux/compile \ + build-aux/config.guess \ + build-aux/config.rpath \ + build-aux/config.sub \ + build-aux/depcomp \ + build-aux/install-sh \ + build-aux/ltmain.sh \ + build-aux/missing \ + build-aux/mkinstalldirs \ + po/Makefile.in.in \ + gtk-doc.make \ + $(NULL) + +# Generate the ChangeLog file +# and insert it into the directory we're about to use to create a tarball. +.PHONY: gen-ChangeLog gen-THANKS +gen-ChangeLog: + if test -d .git || test -d ../.git; then \ + $(top_srcdir)/build-aux/gitlog-to-changelog > $(distdir)/cl-t; \ + rm -f $(distdir)/ChangeLog; \ + mv $(distdir)/cl-t $(distdir)/ChangeLog; \ + fi + +# see git-version-gen +dist-hook: gen-ChangeLog gen-THANKS + echo $(VERSION) > $(distdir)/.tarball-version + +BUILT_SOURCES = $(top_srcdir)/.version +$(top_srcdir)/.version: + echo $(VERSION) > $@-t && mv $@-t $@ + +DISTCHECK_CONFIGURE_FLAGS = \ + --enable-introspection \ + --disable-vala \ + --disable-usbredir \ + --enable-gtk-doc \ + --enable-werror \ + --with-gtk=3.0 \ + $(NULL) + +gen-THANKS: + $(AM_V_GEN)if test -d .git || test -d ../.git; then \ + echo "The spice-gtk team would like to thank the following contributors:" > $(distdir)/t-t; \ + echo >> $(distdir)/t-t; \ + git log --format='%aN <%aE>' | sort -u >> $(distdir)/t-t; \ + rm -f $(distdir)/THANKS; \ + mv $(distdir)/t-t $(distdir)/THANKS; \ + fi + +-include $(top_srcdir)/git.mk diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/Makefile.in b/tizen/distrib/remote/client/spice-gtk-0.19/Makefile.in new file mode 100644 index 0000000..11886f6 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/Makefile.in @@ -0,0 +1,1066 @@ +# Makefile.in generated by automake 1.13.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2012 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@ + +VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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@ +@HAVE_INTROSPECTION_TRUE@@WITH_VALA_TRUE@am__append_1 = vapi +@WITH_CONTROLLER_TRUE@am__append_2 = spice-controller.pc +subdir = . +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ + $(top_srcdir)/configure $(am__configure_deps) \ + $(srcdir)/config.h.in $(srcdir)/spice-client-glib-2.0.pc.in \ + $(srcdir)/spice-client-gtk-2.0.pc.in \ + $(srcdir)/spice-client-gtk-3.0.pc.in \ + $(srcdir)/spice-controller.pc.in AUTHORS COPYING NEWS README \ + TODO build-aux/ar-lib build-aux/compile build-aux/config.guess \ + build-aux/config.sub build-aux/depcomp build-aux/install-sh \ + build-aux/missing build-aux/ltmain.sh \ + $(top_srcdir)/build-aux/ar-lib $(top_srcdir)/build-aux/compile \ + $(top_srcdir)/build-aux/config.guess \ + $(top_srcdir)/build-aux/config.sub \ + $(top_srcdir)/build-aux/install-sh \ + $(top_srcdir)/build-aux/ltmain.sh \ + $(top_srcdir)/build-aux/missing +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/check_python.m4 \ + $(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/intltool.m4 \ + $(top_srcdir)/m4/ld-version.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/m4/manywarnings.m4 \ + $(top_srcdir)/m4/spice-compile-warnings.m4 \ + $(top_srcdir)/m4/warnings.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = config.h +CONFIG_CLEAN_FILES = spice-client-glib-2.0.pc spice-client-gtk-2.0.pc \ + spice-client-gtk-3.0.pc spice-controller.pc +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +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; }; \ + } +am__installdirs = "$(DESTDIR)$(pkgconfigdir)" +DATA = $(pkgconfig_DATA) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ + cscope distdir dist dist-all distcheck +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ + $(LISP)config.h.in +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +CSCOPE = cscope +DIST_SUBDIRS = gtk po doc data vapi +#DIST_SUBDIRS = spice-common gtk po doc data vapi +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + if test -d "$(distdir)"; then \ + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -rf "$(distdir)" \ + || { sleep 5 && rm -rf "$(distdir)"; }; \ + else :; fi +am__post_remove_distdir = $(am__remove_distdir) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 +GZIP_ENV = --best +DIST_TARGETS = dist-bzip2 dist-gzip +distuninstallcheck_listfiles = find . -type f -print +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' +distcleancheck_listfiles = find . -type f -print +ACLOCAL = @ACLOCAL@ +ACL_HELPER_DIR = @ACL_HELPER_DIR@ +ACL_LIBS = @ACL_LIBS@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CAIRO_CFLAGS = @CAIRO_CFLAGS@ +CAIRO_LIBS = @CAIRO_LIBS@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CELT051_CFLAGS = @CELT051_CFLAGS@ +CELT051_LIBDIR = @CELT051_LIBDIR@ +CELT051_LIBS = @CELT051_LIBS@ +CFLAGS = @CFLAGS@ +COMMON_CFLAGS = @COMMON_CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DBUS_GLIB_CFLAGS = @DBUS_GLIB_CFLAGS@ +DBUS_GLIB_LIBS = @DBUS_GLIB_LIBS@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GIO_CFLAGS = @GIO_CFLAGS@ +GIO_LIBS = @GIO_LIBS@ +GLIB2_CFLAGS = @GLIB2_CFLAGS@ +GLIB2_LIBS = @GLIB2_LIBS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GOBJECT2_CFLAGS = @GOBJECT2_CFLAGS@ +GOBJECT2_LIBS = @GOBJECT2_LIBS@ +GREP = @GREP@ +GST_CFLAGS = @GST_CFLAGS@ +GST_LIBS = @GST_LIBS@ +GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ +GTHREAD_LIBS = @GTHREAD_LIBS@ +GTKDOC_CHECK = @GTKDOC_CHECK@ +GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ +GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ +GTKDOC_MKPDF = @GTKDOC_MKPDF@ +GTKDOC_REBASE = @GTKDOC_REBASE@ +GTK_API_VERSION = @GTK_API_VERSION@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +GTK_REQUIRED = @GTK_REQUIRED@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +HTML_DIR = @HTML_DIR@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@ +INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@ +INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@ +INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@ +INTROSPECTION_LIBS = @INTROSPECTION_LIBS@ +INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@ +INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@ +INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@ +JPEG_LIBS = @JPEG_LIBS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBM = @LIBM@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PIE_CFLAGS = @PIE_CFLAGS@ +PIE_LDFLAGS = @PIE_LDFLAGS@ +PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ +PIXMAN_LIBS = @PIXMAN_LIBS@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PNP_IDS = @PNP_IDS@ +POFILES = @POFILES@ +POLICYDIR = @POLICYDIR@ +POLKIT_CFLAGS = @POLKIT_CFLAGS@ +POLKIT_LIBS = @POLKIT_LIBS@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PULSE_CFLAGS = @PULSE_CFLAGS@ +PULSE_LIBS = @PULSE_LIBS@ +PYGTK_CFLAGS = @PYGTK_CFLAGS@ +PYGTK_LIBS = @PYGTK_LIBS@ +PYTHON = @PYTHON@ +PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ +PYTHON_INCLUDES = @PYTHON_INCLUDES@ +PYTHON_PLATFORM = @PYTHON_PLATFORM@ +PYTHON_PREFIX = @PYTHON_PREFIX@ +PYTHON_VERSION = @PYTHON_VERSION@ +RANLIB = @RANLIB@ +SASL_CFLAGS = @SASL_CFLAGS@ +SASL_LIBS = @SASL_LIBS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SMARTCARD_CFLAGS = @SMARTCARD_CFLAGS@ +SMARTCARD_LIBS = @SMARTCARD_LIBS@ +SPICE_CFLAGS = @SPICE_CFLAGS@ +SPICE_GLIB_CFLAGS = @SPICE_GLIB_CFLAGS@ +SPICE_GLIB_REQUIRES = @SPICE_GLIB_REQUIRES@ +SPICE_GTK_API_VERSION = @SPICE_GTK_API_VERSION@ +SPICE_GTK_CFLAGS = @SPICE_GTK_CFLAGS@ +SPICE_GTK_LOCALEDIR = @SPICE_GTK_LOCALEDIR@ +SPICE_GTK_REQUIRES = @SPICE_GTK_REQUIRES@ +SSL_CFLAGS = @SSL_CFLAGS@ +SSL_LIBS = @SSL_LIBS@ +STOW = @STOW@ +STRIP = @STRIP@ +USBREDIR_CFLAGS = @USBREDIR_CFLAGS@ +USBREDIR_LIBS = @USBREDIR_LIBS@ +USB_IDS = @USB_IDS@ +USE_NLS = @USE_NLS@ +VALAC = @VALAC@ +VAPIDIR = @VAPIDIR@ +VAPIGEN = @VAPIGEN@ +VERSION = @VERSION@ +WARN_CFLAGS = @WARN_CFLAGS@ +WARN_LDFLAGS = @WARN_LDFLAGS@ +WARN_PYFLAGS = @WARN_PYFLAGS@ +XGETTEXT = @XGETTEXT@ +XRANDR_CFLAGS = @XRANDR_CFLAGS@ +XRANDR_LIBS = @XRANDR_LIBS@ +Z_LIBS = @Z_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgpyexecdir = @pkgpyexecdir@ +pkgpythondir = @pkgpythondir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +pyexecdir = @pyexecdir@ +pythondir = @pythondir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +subdirs = @subdirs@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +ACLOCAL_AMFLAGS = -I m4 +NULL = +SUBDIRS = gtk po doc data $(am__append_1) +#SUBDIRS = spice-common gtk po doc data $(am__append_1) +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = spice-client-glib-2.0.pc \ + spice-client-gtk-$(SPICE_GTK_API_VERSION).pc $(NULL) \ + $(am__append_2) +INTLTOOL_FILES = \ + intltool-extract.in \ + intltool-merge.in \ + intltool-update.in \ + $(NULL) + +DISTCLEANFILES = \ + $(pkgconfig_DATA) \ + intltool-extract \ + intltool-merge \ + intltool-update \ + gnome-doc-utils.make \ + po/.intltool-merge-cache \ + $(NULL) + +EXTRA_DIST = \ + build-aux/git-version-gen \ + gtk-doc.make \ + .version \ + $(INTLTOOL_FILES) \ + $(NULL) + +MAINTAINERCLEANFILES = \ + ABOUT-NLS \ + aclocal.m4 \ + config.h.in \ + m4/gtk-doc.m4 \ + m4/intltool.m4 \ + m4/libtool.m4 \ + m4/ltoptions.m4 \ + m4/ltsugar.m4 \ + m4/ltversion.m4 \ + m4/lt~obsolete.m4 \ + build-aux/compile \ + build-aux/config.guess \ + build-aux/config.rpath \ + build-aux/config.sub \ + build-aux/depcomp \ + build-aux/install-sh \ + build-aux/ltmain.sh \ + build-aux/missing \ + build-aux/mkinstalldirs \ + po/Makefile.in.in \ + gtk-doc.make \ + $(NULL) + +BUILT_SOURCES = $(top_srcdir)/.version +DISTCHECK_CONFIGURE_FLAGS = \ + --enable-introspection \ + --disable-vala \ + --disable-usbredir \ + --enable-gtk-doc \ + --enable-werror \ + --with-gtk=3.0 \ + $(NULL) + +all: $(BUILT_SOURCES) config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: +am--refresh: Makefile + @: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ + $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + $(am__cd) $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +$(am__aclocal_m4_deps): + +config.h: stamp-h1 + @if test ! -f $@; then rm -f stamp-h1; else :; fi + @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi + +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config.h +$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) + rm -f stamp-h1 + touch $@ + +distclean-hdr: + -rm -f config.h stamp-h1 +spice-client-glib-2.0.pc: $(top_builddir)/config.status $(srcdir)/spice-client-glib-2.0.pc.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +spice-client-gtk-2.0.pc: $(top_builddir)/config.status $(srcdir)/spice-client-gtk-2.0.pc.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +spice-client-gtk-3.0.pc: $(top_builddir)/config.status $(srcdir)/spice-client-gtk-3.0.pc.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +spice-controller.pc: $(top_builddir)/config.status $(srcdir)/spice-controller.pc.in + cd $(top_builddir) && $(SHELL) ./config.status $@ + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + -rm -f libtool config.lt +install-pkgconfigDATA: $(pkgconfig_DATA) + @$(NORMAL_INSTALL) + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ + done + +uninstall-pkgconfigDATA: + @$(NORMAL_UNINSTALL) + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir) + +# This directory's subdirectories are mostly independent; you can cd +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscope: cscope.files + test ! -s cscope.files \ + || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) +clean-cscope: + -rm -f cscope.files +cscope.files: clean-cscope cscopelist +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + -rm -f cscope.out cscope.in.out cscope.po.out cscope.files + +distdir: $(DISTFILES) + $(am__remove_distdir) + test -d "$(distdir)" || mkdir "$(distdir)" + @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 + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" distdir="$(distdir)" \ + dist-hook + -test -n "$(am__skip_mode_fix)" \ + || find "$(distdir)" -type d ! -perm -755 \ + -exec chmod u+rwx,go+rx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r "$(distdir)" +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__post_remove_distdir) +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 + $(am__post_remove_distdir) + +dist-lzip: distdir + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz + $(am__post_remove_distdir) + +dist-xz: distdir + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz + $(am__post_remove_distdir) + +dist-tarZ: distdir + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__post_remove_distdir) + +dist-shar: distdir + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + $(am__post_remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__post_remove_distdir) + +dist dist-all: + $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' + $(am__post_remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lz*) \ + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ + *.tar.xz*) \ + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir) + chmod u+w $(distdir) + mkdir $(distdir)/_build $(distdir)/_inst + chmod a-w $(distdir) + test -d $(distdir)/_build || exit 0; \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && am__cwd=`pwd` \ + && $(am__cd) $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(AM_DISTCHECK_CONFIGURE_FLAGS) \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ + && cd "$$am__cwd" \ + || exit 1 + $(am__post_remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' +distuninstallcheck: + @test -n '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: trying to run $@ with an empty' \ + '$$(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + $(am__cd) '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-recursive +all-am: Makefile $(DATA) config.h +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(pkgconfigdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +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) + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) + +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 "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) + -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) +clean: clean-recursive + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-hdr \ + distclean-libtool distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: install-pkgconfigDATA + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-pkgconfigDATA + +.MAKE: $(am__recursive_targets) all check install install-am \ + install-strip + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ + am--refresh check check-am clean clean-cscope clean-generic \ + clean-libtool cscope cscopelist-am ctags ctags-am dist \ + dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \ + dist-tarZ dist-xz dist-zip distcheck distclean \ + distclean-generic distclean-hdr distclean-libtool \ + distclean-tags distcleancheck distdir distuninstallcheck 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-pdf \ + install-pdf-am install-pkgconfigDATA install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + installdirs-am maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ + ps ps-am tags tags-am uninstall uninstall-am \ + uninstall-pkgconfigDATA + + +# Generate the ChangeLog file +# and insert it into the directory we're about to use to create a tarball. +.PHONY: gen-ChangeLog gen-THANKS +gen-ChangeLog: + if test -d .git || test -d ../.git; then \ + $(top_srcdir)/build-aux/gitlog-to-changelog > $(distdir)/cl-t; \ + rm -f $(distdir)/ChangeLog; \ + mv $(distdir)/cl-t $(distdir)/ChangeLog; \ + fi + +# see git-version-gen +dist-hook: gen-ChangeLog gen-THANKS + echo $(VERSION) > $(distdir)/.tarball-version +$(top_srcdir)/.version: + echo $(VERSION) > $@-t && mv $@-t $@ + +gen-THANKS: + $(AM_V_GEN)if test -d .git || test -d ../.git; then \ + echo "The spice-gtk team would like to thank the following contributors:" > $(distdir)/t-t; \ + echo >> $(distdir)/t-t; \ + git log --format='%aN <%aE>' | sort -u >> $(distdir)/t-t; \ + rm -f $(distdir)/THANKS; \ + mv $(distdir)/t-t $(distdir)/THANKS; \ + fi + +-include $(top_srcdir)/git.mk + +# 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: diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/NEWS b/tizen/distrib/remote/client/spice-gtk-0.19/NEWS new file mode 100644 index 0000000..2a741eb --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/NEWS @@ -0,0 +1,219 @@ +v0.19 +===== + +This is a bugfix only release, except the snappy name change +- snappy has been renamed to spicy-screenshot +- Several file-xfer fixes and improvements +- Many win32 and USB redirection related fixes +- Compile and work again with RHEL6 and older glib releases +- misc fixes and improvements + +v0.18 +===== + +- Build fix with Gtk+ unstable. +- MinGW build fixes with old headers +- Fix USB coldplug race +- Fixes rhbz#908057 + +v0.17 +===== + +- Update spice-common with fedora 875348, 826036 fixes +- Multi-monitor fixes (avoid monitor order shuffling, fix mouse offset + if monitor 0 is not at +0+0 and let agent do monitor offset) +- Add support for VD_AGENT_CAP_SPARSE_MONITORS_CONFIG +- Add controller & session "proxy" properties +- Add drag and drop file copy support to send file to guest, you will + need capable agent to use that feature. Adds spice_main_file_copy_async() +- Introspection fixes +- Build fixes + +v0.16 +===== + +- Fix crash with SSL connection (#890464) +- Send monitor config to the agent on spice_main_set_display_enabled() (#881072) +- Fix channel leak and wrong condition in spice_channel_flush() +- Build fixes + +v0.15 +===== + +- Add HTTP Proxy support (only with glib >= 2.26) +- Add "port" channel support, to allow arbitrary communication on top + of spice connection +- usb-redir: fix migration support +- win32: various keyboard & mouse fixes +- Add info message when USB dialog is empty +- Fix initial black screen on some 16bits guest +- Various bug fixes and improvements + +v0.14 +===== + +- Support for seamless migration +- Improve scaling handling, add downscale-only property to give more + control over scaling +- Better handle key press/release events in high-latency situations, + this should avoid unwanted key repetitions +- Improve unescaping in URI parsing +- Fix symbol versioning which was broken in 0.13 +- Fix for CVE-2012-4425 +- Various bug fixes and improvements + +v0.13 +===== + +- ABI break! SONAME has been bumped, all programs and libraries + linking to spice-gtk need to be recompiled against this version +- Add support for USB device redirection on Windows +- Add monitors config support (multiple monitors in same display) +- Inhibit automount on GNOME desktop, to ease USB redirection +- Better video support (reduce some glitches) +- Misc migration fixes +- Various bug fixes and improvements + +v0.12 +===== + +- Fix memory leak when guest is resized +- Fix color-depth setting +- Hide/Show cursor correctly when needed +- Fix blue-tinted video with old Spice servers +- Correct scroll-event not received with recent Gtk+ +- Fix various migrations issues +- Allow to disable CELT encoding at runtime with SPICE_DISABLE_CELT +- Various crash fixes (on pubkey, recording, clipboard) +- Build changes (common submodule) and fixes + +v0.11 +===== + +- Fix semi-seamless migration regression +- Add Spice session UUID and name support +- Add foreign menu support to controller library +- Add a simple controller testing tool spice-controller-dump +- Build fixes + +v0.10 +===== + +- USB redir is now aware of host/guest side filtering +- you can query spice_usb_device_manager_can_redirect_device() +- fix the usbredir channel lifetime to be equal to session lifetime +- set keepalive on channel socket +- fix hangs on windows when using ssl chanels +- add a SpiceDisplay::zoom-level to maintain a scaling ratio +- add controller ENABLE_SMARTCARD option +- remove a few warnings, ui improvements, build fixes + +v0.9 +==== + +- Add command line options for setting the cache size and the glz window size +- Add a USB device selection widget to libspice-client-gtk +- Various bug fixes and code improvements + +v0.8 +==== + +- add USB redirection support, see Hans comments in the log and that + post for details: http://hansdegoede.livejournal.com/11084.html +- introduce SpiceGtkSession to deal with session-wide Gtk events, such + as clipboard, instead of doing it per display +- many cursor and keyboard handling improvements +- handle the new "semi-seamless" migration +- support new Spice mini-headers +- better coroutines: fibers on windows & jmp on linux +- add Vala vapi bindings generation +- many bug fixes and code improvements + +v0.7 +==== + +- smartcard support +- better video playback performance (jpeg-turbo & audio improvements) +- support for audio volume (needs qemu support) +- controller support for Windows (NamedPipe) +- make perl-Text-CSV optional for tarball builds +- new spice_get_option_group()/spice_set_session_option() +- keyboard improvements, grab-sequence can be configured, various windows fixes +- new tool spicy-stats, to collect informations during a session +- bugfixes: memleak fixes, SASL fixes, crash with virt-manager +- various build fixes, should build on MacOS as well now + +v0.6 +==== + +- multi-head is working now! +- change client resolution if guest can't +- support sharing large clipboard, and images +- multiple clibpoard selection +- support SASL authentication +- add experimental/unstable controller API +- and a bunch of various smaller fixes + +v0.5 +==== + +- Compatibility with gtk2 and gtk3 +- Migrations: seamless and switch host methods +- SSL verification: public key, subject and host checks added +- spice:// url parsing learned "password" argument +- spicy: recent connexions UI added +- various minor fixes + +v0.4 +==== + +- sync video with pulseaudio backend +- build with mingw, and run on Windows +- various minor fixes + +v0.3 +==== + +- fix Windows QXL driver support +- fully asynchronous operations using coroutines + (thanks go to gtk-vnc devs) +- cairo display (old XShm display can be enabled with --with-x11) +- scaling support for cairo display +- experimental audio support using GStreamer +- API reference gtk-doc +- more cursor type support +- various fixes and cleanup + +v0.2 +==== + +- gtk: disconnect record stream when record_stop() +- README: add a few missing dependencies +- build: use git-version-gen +- build: re-enable -Wflags, and fix a few warnings +- build: fix make -j +- gtk: add zlib decoder +- gtk: add jpeg decoder +- gtk: progressive agent message recomposition +- gtk: add dispay config +- gtk: add clipboard sharing for text +- TODO: update +- gtk: put some g_message() under SPICE_DEBUG +- gtk: add channel.set_capability() +- gtk: add {session,channel}_open_fd() +- gtk: add CELT playback +- gtk: add CELT recording +- gtk: save/restore spicy configuration +- gtk: don't uncork new streams +- gtk: delay PA stream creation when context is ready +- gtk: visibility option for statusbar/toolbar in spicy + +v0.1.0 +====== + +- desktop display, using GLZ compression +- audio playback/recording with PulseAudio +- video in mjpeg +- python and gobject-introspection modules +- spicy: a simple Gtk client +- snappy: a command line screenshot tool diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/README b/tizen/distrib/remote/client/spice-gtk-0.19/README new file mode 100644 index 0000000..530a495 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/README @@ -0,0 +1,58 @@ +spice-gtk +========= + +A Gtk client and libraries for SPICE remote desktop servers. + +Please report bugs at: spice-devel@lists.freedesktop.org + +Project content +--------------- + +libspice-client-glib-2.0 + provides glib objects for spice protocol decoding and surface rendering. + * SpiceSession (see spice-session.h). + * SpiceChannel (see spice-channel.h). + * SpiceAudio (see spice-audio.h). + * Various Spice<Type>Channel (see channel-<type>.h). + +libspice-client-gtk-{2.0,3.0} + provides gtk widget to show spice display and accept user input. + * SpiceDisplay (see spice-widget.h) + +spicy + a gtk test client. The recommended client for end user is + virt-viewer (http://git.fedorahosted.org/cgit/virt-viewer.git/) + +spicy-screenshot + Command line tool, connects to spice server and writes out a + screen shot. + +spicy-stats + Command line tool, connects to spice server and writes out a + summary of connection details, amount of bytes transferred... + +SpiceClientGtk python module (only built with Gtk+ 2.0) + +SpiceClientGlib and SpiceClientGtk GObject-introspection modules. + +Build dependencies: +------------------ + +. On Fedora: (gtk2-devel if building with --with-gtk=2.0) + +gtk3-devel spice-protocol intltool celt051-devel +openssl-devel pulseaudio-libs-devel pixman-devel +gobject-introspection-devel libjpeg-turbo-devel zlib-devel +cyrus-sasl-devel gtk-doc + +. To build python bindings for virt-manager, you need gtk2, and: + +pygtk2-devel python + +. The experimental GStreamer backend needs: + +gstreamer-devel gstreamer-plugins-base-devel + +. If you build from git, you'll also need: + +libtool automake vala perl-Text-CSV diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/THANKS b/tizen/distrib/remote/client/spice-gtk-0.19/THANKS new file mode 100644 index 0000000..ad91353 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/THANKS @@ -0,0 +1,28 @@ +The spice-gtk team would like to thank the following contributors: + +Alexander Larsson <alexl@redhat.com> +Alex Efros <powerman-asdf@yandex.ru> +Alon Levy <alevy@redhat.com> +Andrew Hughes <gnu.andrew@redhat.com> +Arnon Gilboa <agilboa@redhat.com> +Attila Sukosd <attila.sukosd@gmail.com> +Christophe Fergeau <cfergeau@redhat.com> +Cole Robinson <crobinso@redhat.com> +Colin Walters <walters@verbum.org> +Daniel P. Berrange <berrange@redhat.com> +Dunrong Huang <riegamaths@gmail.com> +Frédéric Péters <fpeters@0d.be> +Gerd Hoffmann <kraxel@redhat.com> +Hans de Goede <hdegoede@redhat.com> +Jani Välimaa <wally@mageia.org> +Jasper Lievisse Adriaanse <jasper@humppa.nl> +Marc-André Lureau <marcandre.lureau@redhat.com> +Matthias Clasen <mclasen@redhat.com> +Michael Chudobiak <mjc@avtechpulse.com> +Natanael Copa <ncopa@alpinelinux.org> +Nicolas Prochazka <prochazka.nicolas@gmail.com> +Søren Sandmann Pedersen <ssp@redhat.com> +Tiziano Müller <tiziano.mueller@stepping-stone.ch> +Uri Lublin <uril@redhat.com> +Yonit Halperin <yhalperi@redhat.com> +Zeeshan Ali (Khattak) <zeeshanak@gnome.org> diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/TODO b/tizen/distrib/remote/client/spice-gtk-0.19/TODO new file mode 100644 index 0000000..73742ba --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/TODO @@ -0,0 +1,8 @@ +* create a ChannelBaseAudio +* missing TunnelChannel implementation +* revive the win32 GDI backend + +See also list of bugs open: + +https://bugs.freedesktop.org/buglist.cgi?product=Spice&component=gtk-client&resolution=---&list_id=281013 + diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/ar-lib b/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/ar-lib new file mode 100644 index 0000000..fe2301e --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/ar-lib @@ -0,0 +1,270 @@ +#! /bin/sh +# Wrapper for Microsoft lib.exe + +me=ar-lib +scriptversion=2012-03-01.08; # UTC + +# Copyright (C) 2010-2013 Free Software Foundation, Inc. +# Written by Peter Rosin <peda@lysator.liu.se>. +# +# 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, 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/>. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to <bug-automake@gnu.org> or send patches to +# <automake-patches@gnu.org>. + + +# func_error message +func_error () +{ + echo "$me: $1" 1>&2 + exit 1 +} + +file_conv= + +# func_file_conv build_file +# Convert a $build file to $host form and store it in $file +# Currently only supports Windows hosts. +func_file_conv () +{ + file=$1 + case $file in + / | /[!/]*) # absolute file, and not a UNC file + if test -z "$file_conv"; then + # lazily determine how to convert abs files + case `uname -s` in + MINGW*) + file_conv=mingw + ;; + CYGWIN*) + file_conv=cygwin + ;; + *) + file_conv=wine + ;; + esac + fi + case $file_conv in + mingw) + file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` + ;; + cygwin) + file=`cygpath -m "$file" || echo "$file"` + ;; + wine) + file=`winepath -w "$file" || echo "$file"` + ;; + esac + ;; + esac +} + +# func_at_file at_file operation archive +# Iterate over all members in AT_FILE performing OPERATION on ARCHIVE +# for each of them. +# When interpreting the content of the @FILE, do NOT use func_file_conv, +# since the user would need to supply preconverted file names to +# binutils ar, at least for MinGW. +func_at_file () +{ + operation=$2 + archive=$3 + at_file_contents=`cat "$1"` + eval set x "$at_file_contents" + shift + + for member + do + $AR -NOLOGO $operation:"$member" "$archive" || exit $? + done +} + +case $1 in + '') + func_error "no command. Try '$0 --help' for more information." + ;; + -h | --h*) + cat <<EOF +Usage: $me [--help] [--version] PROGRAM ACTION ARCHIVE [MEMBER...] + +Members may be specified in a file named with @FILE. +EOF + exit $? + ;; + -v | --v*) + echo "$me, version $scriptversion" + exit $? + ;; +esac + +if test $# -lt 3; then + func_error "you must specify a program, an action and an archive" +fi + +AR=$1 +shift +while : +do + if test $# -lt 2; then + func_error "you must specify a program, an action and an archive" + fi + case $1 in + -lib | -LIB \ + | -ltcg | -LTCG \ + | -machine* | -MACHINE* \ + | -subsystem* | -SUBSYSTEM* \ + | -verbose | -VERBOSE \ + | -wx* | -WX* ) + AR="$AR $1" + shift + ;; + *) + action=$1 + shift + break + ;; + esac +done +orig_archive=$1 +shift +func_file_conv "$orig_archive" +archive=$file + +# strip leading dash in $action +action=${action#-} + +delete= +extract= +list= +quick= +replace= +index= +create= + +while test -n "$action" +do + case $action in + d*) delete=yes ;; + x*) extract=yes ;; + t*) list=yes ;; + q*) quick=yes ;; + r*) replace=yes ;; + s*) index=yes ;; + S*) ;; # the index is always updated implicitly + c*) create=yes ;; + u*) ;; # TODO: don't ignore the update modifier + v*) ;; # TODO: don't ignore the verbose modifier + *) + func_error "unknown action specified" + ;; + esac + action=${action#?} +done + +case $delete$extract$list$quick$replace,$index in + yes,* | ,yes) + ;; + yesyes*) + func_error "more than one action specified" + ;; + *) + func_error "no action specified" + ;; +esac + +if test -n "$delete"; then + if test ! -f "$orig_archive"; then + func_error "archive not found" + fi + for member + do + case $1 in + @*) + func_at_file "${1#@}" -REMOVE "$archive" + ;; + *) + func_file_conv "$1" + $AR -NOLOGO -REMOVE:"$file" "$archive" || exit $? + ;; + esac + done + +elif test -n "$extract"; then + if test ! -f "$orig_archive"; then + func_error "archive not found" + fi + if test $# -gt 0; then + for member + do + case $1 in + @*) + func_at_file "${1#@}" -EXTRACT "$archive" + ;; + *) + func_file_conv "$1" + $AR -NOLOGO -EXTRACT:"$file" "$archive" || exit $? + ;; + esac + done + else + $AR -NOLOGO -LIST "$archive" | sed -e 's/\\/\\\\/g' | while read member + do + $AR -NOLOGO -EXTRACT:"$member" "$archive" || exit $? + done + fi + +elif test -n "$quick$replace"; then + if test ! -f "$orig_archive"; then + if test -z "$create"; then + echo "$me: creating $orig_archive" + fi + orig_archive= + else + orig_archive=$archive + fi + + for member + do + case $1 in + @*) + func_file_conv "${1#@}" + set x "$@" "@$file" + ;; + *) + func_file_conv "$1" + set x "$@" "$file" + ;; + esac + shift + shift + done + + if test -n "$orig_archive"; then + $AR -NOLOGO -OUT:"$archive" "$orig_archive" "$@" || exit $? + else + $AR -NOLOGO -OUT:"$archive" "$@" || exit $? + fi + +elif test -n "$list"; then + if test ! -f "$orig_archive"; then + func_error "archive not found" + fi + $AR -NOLOGO -LIST "$archive" || exit $? +fi diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/compile b/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/compile new file mode 100644 index 0000000..531136b --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/compile @@ -0,0 +1,347 @@ +#! /bin/sh +# Wrapper for compilers which do not understand '-c -o'. + +scriptversion=2012-10-14.11; # UTC + +# Copyright (C) 1999-2013 Free Software Foundation, Inc. +# Written by Tom Tromey <tromey@cygnus.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, 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/>. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to <bug-automake@gnu.org> or send patches to +# <automake-patches@gnu.org>. + +nl=' +' + +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent tools from complaining about whitespace usage. +IFS=" "" $nl" + +file_conv= + +# func_file_conv build_file lazy +# Convert a $build file to $host form and store it in $file +# Currently only supports Windows hosts. If the determined conversion +# type is listed in (the comma separated) LAZY, no conversion will +# take place. +func_file_conv () +{ + file=$1 + case $file in + / | /[!/]*) # absolute file, and not a UNC file + if test -z "$file_conv"; then + # lazily determine how to convert abs files + case `uname -s` in + MINGW*) + file_conv=mingw + ;; + CYGWIN*) + file_conv=cygwin + ;; + *) + file_conv=wine + ;; + esac + fi + case $file_conv/,$2, in + *,$file_conv,*) + ;; + mingw/*) + file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` + ;; + cygwin/*) + file=`cygpath -m "$file" || echo "$file"` + ;; + wine/*) + file=`winepath -w "$file" || echo "$file"` + ;; + esac + ;; + esac +} + +# func_cl_dashL linkdir +# Make cl look for libraries in LINKDIR +func_cl_dashL () +{ + func_file_conv "$1" + if test -z "$lib_path"; then + lib_path=$file + else + lib_path="$lib_path;$file" + fi + linker_opts="$linker_opts -LIBPATH:$file" +} + +# func_cl_dashl library +# Do a library search-path lookup for cl +func_cl_dashl () +{ + lib=$1 + found=no + save_IFS=$IFS + IFS=';' + for dir in $lib_path $LIB + do + IFS=$save_IFS + if $shared && test -f "$dir/$lib.dll.lib"; then + found=yes + lib=$dir/$lib.dll.lib + break + fi + if test -f "$dir/$lib.lib"; then + found=yes + lib=$dir/$lib.lib + break + fi + if test -f "$dir/lib$lib.a"; then + found=yes + lib=$dir/lib$lib.a + break + fi + done + IFS=$save_IFS + + if test "$found" != yes; then + lib=$lib.lib + fi +} + +# func_cl_wrapper cl arg... +# Adjust compile command to suit cl +func_cl_wrapper () +{ + # Assume a capable shell + lib_path= + shared=: + linker_opts= + for arg + do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as 'compile cc -o foo foo.c'. + eat=1 + case $2 in + *.o | *.[oO][bB][jJ]) + func_file_conv "$2" + set x "$@" -Fo"$file" + shift + ;; + *) + func_file_conv "$2" + set x "$@" -Fe"$file" + shift + ;; + esac + ;; + -I) + eat=1 + func_file_conv "$2" mingw + set x "$@" -I"$file" + shift + ;; + -I*) + func_file_conv "${1#-I}" mingw + set x "$@" -I"$file" + shift + ;; + -l) + eat=1 + func_cl_dashl "$2" + set x "$@" "$lib" + shift + ;; + -l*) + func_cl_dashl "${1#-l}" + set x "$@" "$lib" + shift + ;; + -L) + eat=1 + func_cl_dashL "$2" + ;; + -L*) + func_cl_dashL "${1#-L}" + ;; + -static) + shared=false + ;; + -Wl,*) + arg=${1#-Wl,} + save_ifs="$IFS"; IFS=',' + for flag in $arg; do + IFS="$save_ifs" + linker_opts="$linker_opts $flag" + done + IFS="$save_ifs" + ;; + -Xlinker) + eat=1 + linker_opts="$linker_opts $2" + ;; + -*) + set x "$@" "$1" + shift + ;; + *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) + func_file_conv "$1" + set x "$@" -Tp"$file" + shift + ;; + *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) + func_file_conv "$1" mingw + set x "$@" "$file" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift + done + if test -n "$linker_opts"; then + linker_opts="-link$linker_opts" + fi + exec "$@" $linker_opts + exit 1 +} + +eat= + +case $1 in + '') + echo "$0: No command. Try '$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: compile [--help] [--version] PROGRAM [ARGS] + +Wrapper for compilers which do not understand '-c -o'. +Remove '-o dest.o' from ARGS, run PROGRAM with the remaining +arguments, and rename the output as expected. + +If you are trying to build a whole package this is not the +right script to run: please start by reading the file 'INSTALL'. + +Report bugs to <bug-automake@gnu.org>. +EOF + exit $? + ;; + -v | --v*) + echo "compile $scriptversion" + exit $? + ;; + cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) + func_cl_wrapper "$@" # Doesn't return... + ;; +esac + +ofile= +cfile= + +for arg +do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as 'compile cc -o foo foo.c'. + # So we strip '-o arg' only if arg is an object. + eat=1 + case $2 in + *.o | *.obj) + ofile=$2 + ;; + *) + set x "$@" -o "$2" + shift + ;; + esac + ;; + *.c) + cfile=$1 + set x "$@" "$1" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift +done + +if test -z "$ofile" || test -z "$cfile"; then + # If no '-o' option was seen then we might have been invoked from a + # pattern rule where we don't need one. That is ok -- this is a + # normal compilation that the losing compiler can handle. If no + # '.c' file was seen then we are probably linking. That is also + # ok. + exec "$@" +fi + +# Name of file we expect compiler to create. +cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` + +# Create the lock directory. +# Note: use '[/\\:.-]' here to ensure that we don't use the same name +# that we are using for the .o file. Also, base the name on the expected +# object file name, since that is what matters with a parallel build. +lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d +while true; do + if mkdir "$lockdir" >/dev/null 2>&1; then + break + fi + sleep 1 +done +# FIXME: race condition here if user kills between mkdir and trap. +trap "rmdir '$lockdir'; exit 1" 1 2 15 + +# Run the compile. +"$@" +ret=$? + +if test -f "$cofile"; then + test "$cofile" = "$ofile" || mv "$cofile" "$ofile" +elif test -f "${cofile}bj"; then + test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" +fi + +rmdir "$lockdir" +exit $ret + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/config.guess b/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/config.guess new file mode 100644 index 0000000..1804e9f --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/config.guess @@ -0,0 +1,1535 @@ +#! /bin/sh +# Attempt to guess a canonical system name. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, +# 2011, 2012, 2013 Free Software Foundation, Inc. + +timestamp='2012-12-29' + +# This file 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/>. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that +# program. This Exception is an additional permission under section 7 +# of the GNU General Public License, version 3 ("GPLv3"). +# +# Originally written by Per Bothner. +# +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD +# +# Please send patches with a ChangeLog entry to config-patches@gnu.org. + + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] + +Output the configuration name of the system \`$me' is run on. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to <config-patches@gnu.org>." + +version="\ +GNU config.guess ($timestamp) + +Originally written by Per Bothner. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, +2012, 2013 Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" >&2 + exit 1 ;; + * ) + break ;; + esac +done + +if test $# != 0; then + echo "$me: too many arguments$help" >&2 + exit 1 +fi + +trap 'exit 1' 1 2 15 + +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a +# compiler to aid in system detection is discouraged as it requires +# temporary files to be created and, as you can see below, it is a +# headache to deal with in a portable fashion. + +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still +# use `HOST_CC' if defined, but it is deprecated. + +# Portable tmp directory creation inspired by the Autoconf team. + +set_cc_for_build=' +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; +: ${TMPDIR=/tmp} ; + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; +dummy=$tmp/dummy ; +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; +case $CC_FOR_BUILD,$HOST_CC,$CC in + ,,) echo "int x;" > $dummy.c ; + for c in cc gcc c89 c99 ; do + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then + CC_FOR_BUILD="$c"; break ; + fi ; + done ; + if test x"$CC_FOR_BUILD" = x ; then + CC_FOR_BUILD=no_compiler_found ; + fi + ;; + ,,*) CC_FOR_BUILD=$CC ;; + ,*,*) CC_FOR_BUILD=$HOST_CC ;; +esac ; set_cc_for_build= ;' + +# This is needed to find uname on a Pyramid OSx when run in the BSD universe. +# (ghazi@noc.rutgers.edu 1994-08-24) +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then + PATH=$PATH:/.attbin ; export PATH +fi + +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown + +# Note: order is significant - the case branches are not exclusive. + +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in + *:NetBSD:*:*) + # NetBSD (nbsd) targets should (where applicable) match one or + # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently + # switched to ELF, *-*-netbsd* would select the old + # object file format. This provides both forward + # compatibility and a consistent mechanism for selecting the + # object file format. + # + # Note: NetBSD doesn't particularly care about the vendor + # portion of the name. We always set it to "unknown". + sysctl="sysctl -n hw.machine_arch" + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ + /usr/sbin/$sysctl 2>/dev/null || echo unknown)` + case "${UNAME_MACHINE_ARCH}" in + armeb) machine=armeb-unknown ;; + arm*) machine=arm-unknown ;; + sh3el) machine=shl-unknown ;; + sh3eb) machine=sh-unknown ;; + sh5el) machine=sh5le-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE_ARCH}" in + arm*|i386|m68k|ns32k|sh3*|sparc|vax) + eval $set_cc_for_build + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ELF__ + then + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). + # Return netbsd for either. FIX? + os=netbsd + else + os=netbsdelf + fi + ;; + *) + os=netbsd + ;; + esac + # The OS release + # Debian GNU/NetBSD machines have a different userland, and + # thus, need a distinct triplet. However, they do not need + # kernel version information, so it can be replaced with a + # suitable tag, in the style of linux-gnu. + case "${UNAME_VERSION}" in + Debian*) + release='-gnu' + ;; + *) + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + ;; + esac + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: + # contains redundant information, the shorter form: + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. + echo "${machine}-${os}${release}" + exit ;; + *:Bitrig:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} + exit ;; + *:OpenBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} + exit ;; + *:ekkoBSD:*:*) + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} + exit ;; + *:SolidBSD:*:*) + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} + exit ;; + macppc:MirBSD:*:*) + echo powerpc-unknown-mirbsd${UNAME_RELEASE} + exit ;; + *:MirBSD:*:*) + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} + exit ;; + alpha:OSF1:*:*) + case $UNAME_RELEASE in + *4.0) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` + ;; + *5.*) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + ;; + esac + # According to Compaq, /usr/sbin/psrinfo has been available on + # OSF/1 and Tru64 systems produced since 1995. I hope that + # covers most systems running today. This code pipes the CPU + # types through head -n 1, so we only detect the type of CPU 0. + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` + case "$ALPHA_CPU_TYPE" in + "EV4 (21064)") + UNAME_MACHINE="alpha" ;; + "EV4.5 (21064)") + UNAME_MACHINE="alpha" ;; + "LCA4 (21066/21068)") + UNAME_MACHINE="alpha" ;; + "EV5 (21164)") + UNAME_MACHINE="alphaev5" ;; + "EV5.6 (21164A)") + UNAME_MACHINE="alphaev56" ;; + "EV5.6 (21164PC)") + UNAME_MACHINE="alphapca56" ;; + "EV5.7 (21164PC)") + UNAME_MACHINE="alphapca57" ;; + "EV6 (21264)") + UNAME_MACHINE="alphaev6" ;; + "EV6.7 (21264A)") + UNAME_MACHINE="alphaev67" ;; + "EV6.8CB (21264C)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8AL (21264B)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8CX (21264D)") + UNAME_MACHINE="alphaev68" ;; + "EV6.9A (21264/EV69A)") + UNAME_MACHINE="alphaev69" ;; + "EV7 (21364)") + UNAME_MACHINE="alphaev7" ;; + "EV7.9 (21364A)") + UNAME_MACHINE="alphaev79" ;; + esac + # A Pn.n version is a patched version. + # A Vn.n version is a released version. + # A Tn.n version is a released field test version. + # A Xn.n version is an unreleased experimental baselevel. + # 1.2 uses "1.2" for uname -r. + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + # Reset EXIT trap before exiting to avoid spurious non-zero exit code. + exitcode=$? + trap '' 0 + exit $exitcode ;; + Alpha\ *:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # Should we change UNAME_MACHINE based on the output of uname instead + # of the specific Alpha model? + echo alpha-pc-interix + exit ;; + 21064:Windows_NT:50:3) + echo alpha-dec-winnt3.5 + exit ;; + Amiga*:UNIX_System_V:4.0:*) + echo m68k-unknown-sysv4 + exit ;; + *:[Aa]miga[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-amigaos + exit ;; + *:[Mm]orph[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-morphos + exit ;; + *:OS/390:*:*) + echo i370-ibm-openedition + exit ;; + *:z/VM:*:*) + echo s390-ibm-zvmoe + exit ;; + *:OS400:*:*) + echo powerpc-ibm-os400 + exit ;; + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) + echo arm-acorn-riscix${UNAME_RELEASE} + exit ;; + arm*:riscos:*:*|arm*:RISCOS:*:*) + echo arm-unknown-riscos + exit ;; + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) + echo hppa1.1-hitachi-hiuxmpp + exit ;; + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. + if test "`(/bin/universe) 2>/dev/null`" = att ; then + echo pyramid-pyramid-sysv3 + else + echo pyramid-pyramid-bsd + fi + exit ;; + NILE*:*:*:dcosx) + echo pyramid-pyramid-svr4 + exit ;; + DRS?6000:unix:4.0:6*) + echo sparc-icl-nx6 + exit ;; + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) + case `/usr/bin/uname -p` in + sparc) echo sparc-icl-nx7; exit ;; + esac ;; + s390x:SunOS:*:*) + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4H:SunOS:5.*:*) + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) + echo i386-pc-auroraux${UNAME_RELEASE} + exit ;; + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) + eval $set_cc_for_build + SUN_ARCH="i386" + # If there is a compiler, see if it is configured for 64-bit objects. + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. + # This test works for both compilers. + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + SUN_ARCH="x86_64" + fi + fi + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:6*:*) + # According to config.sub, this is the proper way to canonicalize + # SunOS6. Hard to guess exactly what SunOS6 will be like, but + # it's likely to be more like Solaris than SunOS4. + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:*:*) + case "`/usr/bin/arch -k`" in + Series*|S4*) + UNAME_RELEASE=`uname -v` + ;; + esac + # Japanese Language versions have a version number like `4.1.3-JL'. + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` + exit ;; + sun3*:SunOS:*:*) + echo m68k-sun-sunos${UNAME_RELEASE} + exit ;; + sun*:*:4.2BSD:*) + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 + case "`/bin/arch`" in + sun3) + echo m68k-sun-sunos${UNAME_RELEASE} + ;; + sun4) + echo sparc-sun-sunos${UNAME_RELEASE} + ;; + esac + exit ;; + aushp:SunOS:*:*) + echo sparc-auspex-sunos${UNAME_RELEASE} + exit ;; + # The situation for MiNT is a little confusing. The machine name + # can be virtually everything (everything which is not + # "atarist" or "atariste" at least should have a processor + # > m68000). The system name ranges from "MiNT" over "FreeMiNT" + # to the lowercase version "mint" (or "freemint"). Finally + # the system name "TOS" denotes a system which is actually not + # MiNT. But MiNT is downward compatible to TOS, so this should + # be no problem. + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) + echo m68k-milan-mint${UNAME_RELEASE} + exit ;; + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) + echo m68k-hades-mint${UNAME_RELEASE} + exit ;; + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) + echo m68k-unknown-mint${UNAME_RELEASE} + exit ;; + m68k:machten:*:*) + echo m68k-apple-machten${UNAME_RELEASE} + exit ;; + powerpc:machten:*:*) + echo powerpc-apple-machten${UNAME_RELEASE} + exit ;; + RISC*:Mach:*:*) + echo mips-dec-mach_bsd4.3 + exit ;; + RISC*:ULTRIX:*:*) + echo mips-dec-ultrix${UNAME_RELEASE} + exit ;; + VAX*:ULTRIX*:*:*) + echo vax-dec-ultrix${UNAME_RELEASE} + exit ;; + 2020:CLIX:*:* | 2430:CLIX:*:*) + echo clipper-intergraph-clix${UNAME_RELEASE} + exit ;; + mips:*:*:UMIPS | mips:*:*:RISCos) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c +#ifdef __cplusplus +#include <stdio.h> /* for printf() prototype */ + int main (int argc, char *argv[]) { +#else + int main (argc, argv) int argc; char *argv[]; { +#endif + #if defined (host_mips) && defined (MIPSEB) + #if defined (SYSTYPE_SYSV) + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_SVR4) + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); + #endif + #endif + exit (-1); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && + SYSTEM_NAME=`$dummy $dummyarg` && + { echo "$SYSTEM_NAME"; exit; } + echo mips-mips-riscos${UNAME_RELEASE} + exit ;; + Motorola:PowerMAX_OS:*:*) + echo powerpc-motorola-powermax + exit ;; + Motorola:*:4.3:PL8-*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:Power_UNIX:*:*) + echo powerpc-harris-powerunix + exit ;; + m88k:CX/UX:7*:*) + echo m88k-harris-cxux7 + exit ;; + m88k:*:4*:R4*) + echo m88k-motorola-sysv4 + exit ;; + m88k:*:3*:R3*) + echo m88k-motorola-sysv3 + exit ;; + AViiON:dgux:*:*) + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] + then + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ + [ ${TARGET_BINARY_INTERFACE}x = x ] + then + echo m88k-dg-dgux${UNAME_RELEASE} + else + echo m88k-dg-dguxbcs${UNAME_RELEASE} + fi + else + echo i586-dg-dgux${UNAME_RELEASE} + fi + exit ;; + M88*:DolphinOS:*:*) # DolphinOS (SVR3) + echo m88k-dolphin-sysv3 + exit ;; + M88*:*:R3*:*) + # Delta 88k system running SVR3 + echo m88k-motorola-sysv3 + exit ;; + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) + echo m88k-tektronix-sysv3 + exit ;; + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) + echo m68k-tektronix-bsd + exit ;; + *:IRIX*:*:*) + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` + exit ;; + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + i*86:AIX:*:*) + echo i386-ibm-aix + exit ;; + ia64:AIX:*:*) + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} + exit ;; + *:AIX:2:3) + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include <sys/systemcfg.h> + + main() + { + if (!__power_pc()) + exit(1); + puts("powerpc-ibm-aix3.2.5"); + exit(0); + } +EOF + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` + then + echo "$SYSTEM_NAME" + else + echo rs6000-ibm-aix3.2.5 + fi + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then + echo rs6000-ibm-aix3.2.4 + else + echo rs6000-ibm-aix3.2 + fi + exit ;; + *:AIX:*:[4567]) + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then + IBM_ARCH=rs6000 + else + IBM_ARCH=powerpc + fi + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${IBM_ARCH}-ibm-aix${IBM_REV} + exit ;; + *:AIX:*:*) + echo rs6000-ibm-aix + exit ;; + ibmrt:4.4BSD:*|romp-ibm:BSD:*) + echo romp-ibm-bsd4.4 + exit ;; + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to + exit ;; # report: romp-ibm BSD 4.3 + *:BOSX:*:*) + echo rs6000-bull-bosx + exit ;; + DPX/2?00:B.O.S.:*:*) + echo m68k-bull-sysv3 + exit ;; + 9000/[34]??:4.3bsd:1.*:*) + echo m68k-hp-bsd + exit ;; + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) + echo m68k-hp-bsd4.4 + exit ;; + 9000/[34678]??:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + case "${UNAME_MACHINE}" in + 9000/31? ) HP_ARCH=m68000 ;; + 9000/[34]?? ) HP_ARCH=m68k ;; + 9000/[678][0-9][0-9]) + if [ -x /usr/bin/getconf ]; then + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in + 32) HP_ARCH="hppa2.0n" ;; + 64) HP_ARCH="hppa2.0w" ;; + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 + esac ;; + esac + fi + if [ "${HP_ARCH}" = "" ]; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + + #define _HPUX_SOURCE + #include <stdlib.h> + #include <unistd.h> + + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); + + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } +EOF + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` + test -z "$HP_ARCH" && HP_ARCH=hppa + fi ;; + esac + if [ ${HP_ARCH} = "hppa2.0w" ] + then + eval $set_cc_for_build + + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler + # generating 64-bit code. GNU and HP use different nomenclature: + # + # $ CC_FOR_BUILD=cc ./config.guess + # => hppa2.0w-hp-hpux11.23 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess + # => hppa64-hp-hpux11.23 + + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | + grep -q __LP64__ + then + HP_ARCH="hppa2.0w" + else + HP_ARCH="hppa64" + fi + fi + echo ${HP_ARCH}-hp-hpux${HPUX_REV} + exit ;; + ia64:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + echo ia64-hp-hpux${HPUX_REV} + exit ;; + 3050*:HI-UX:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include <unistd.h> + int + main () + { + long cpu = sysconf (_SC_CPU_VERSION); + /* The order matters, because CPU_IS_HP_MC68K erroneously returns + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct + results, however. */ + if (CPU_IS_PA_RISC (cpu)) + { + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; + default: puts ("hppa-hitachi-hiuxwe2"); break; + } + } + else if (CPU_IS_HP_MC68K (cpu)) + puts ("m68k-hitachi-hiuxwe2"); + else puts ("unknown-hitachi-hiuxwe2"); + exit (0); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } + echo unknown-hitachi-hiuxwe2 + exit ;; + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) + echo hppa1.1-hp-bsd + exit ;; + 9000/8??:4.3bsd:*:*) + echo hppa1.0-hp-bsd + exit ;; + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) + echo hppa1.0-hp-mpeix + exit ;; + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) + echo hppa1.1-hp-osf + exit ;; + hp8??:OSF1:*:*) + echo hppa1.0-hp-osf + exit ;; + i*86:OSF1:*:*) + if [ -x /usr/sbin/sysversion ] ; then + echo ${UNAME_MACHINE}-unknown-osf1mk + else + echo ${UNAME_MACHINE}-unknown-osf1 + fi + exit ;; + parisc*:Lites*:*:*) + echo hppa1.1-hp-lites + exit ;; + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) + echo c1-convex-bsd + exit ;; + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) + echo c34-convex-bsd + exit ;; + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) + echo c38-convex-bsd + exit ;; + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) + echo c4-convex-bsd + exit ;; + CRAY*Y-MP:*:*:*) + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*[A-Z]90:*:*:*) + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ + -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*TS:*:*:*) + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*T3E:*:*:*) + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*SV1:*:*:*) + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + *:UNICOS/mp:*:*) + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + 5000:UNIX_System_V:4.*:*) + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} + exit ;; + sparc*:BSD/OS:*:*) + echo sparc-unknown-bsdi${UNAME_RELEASE} + exit ;; + *:BSD/OS:*:*) + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} + exit ;; + *:FreeBSD:*:*) + UNAME_PROCESSOR=`/usr/bin/uname -p` + case ${UNAME_PROCESSOR} in + amd64) + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + *) + echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + esac + exit ;; + i*:CYGWIN*:*) + echo ${UNAME_MACHINE}-pc-cygwin + exit ;; + *:MINGW64*:*) + echo ${UNAME_MACHINE}-pc-mingw64 + exit ;; + *:MINGW*:*) + echo ${UNAME_MACHINE}-pc-mingw32 + exit ;; + i*:MSYS*:*) + echo ${UNAME_MACHINE}-pc-msys + exit ;; + i*:windows32*:*) + # uname -m includes "-pc" on this system. + echo ${UNAME_MACHINE}-mingw32 + exit ;; + i*:PW*:*) + echo ${UNAME_MACHINE}-pc-pw32 + exit ;; + *:Interix*:*) + case ${UNAME_MACHINE} in + x86) + echo i586-pc-interix${UNAME_RELEASE} + exit ;; + authenticamd | genuineintel | EM64T) + echo x86_64-unknown-interix${UNAME_RELEASE} + exit ;; + IA64) + echo ia64-unknown-interix${UNAME_RELEASE} + exit ;; + esac ;; + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) + echo i${UNAME_MACHINE}-pc-mks + exit ;; + 8664:Windows_NT:*) + echo x86_64-pc-mks + exit ;; + i*:Windows_NT*:* | Pentium*:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we + # UNAME_MACHINE based on the output of uname instead of i386? + echo i586-pc-interix + exit ;; + i*:UWIN*:*) + echo ${UNAME_MACHINE}-pc-uwin + exit ;; + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) + echo x86_64-unknown-cygwin + exit ;; + p*:CYGWIN*:*) + echo powerpcle-unknown-cygwin + exit ;; + prep*:SunOS:5.*:*) + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + *:GNU:*:*) + # the GNU system + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + exit ;; + *:GNU/*:*:*) + # other systems with GNU libc and userland + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu + exit ;; + i*86:Minix:*:*) + echo ${UNAME_MACHINE}-pc-minix + exit ;; + aarch64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + aarch64_be:Linux:*:*) + UNAME_MACHINE=aarch64_be + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + objdump --private-headers /bin/sh | grep -q ld.so.1 + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} + exit ;; + arm*:Linux:*:*) + eval $set_cc_for_build + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_EABI__ + then + echo ${UNAME_MACHINE}-unknown-linux-gnu + else + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_PCS_VFP + then + echo ${UNAME_MACHINE}-unknown-linux-gnueabi + else + echo ${UNAME_MACHINE}-unknown-linux-gnueabihf + fi + fi + exit ;; + avr32*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + cris:Linux:*:*) + echo ${UNAME_MACHINE}-axis-linux-gnu + exit ;; + crisv32:Linux:*:*) + echo ${UNAME_MACHINE}-axis-linux-gnu + exit ;; + frv:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + hexagon:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + i*86:Linux:*:*) + LIBC=gnu + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #ifdef __dietlibc__ + LIBC=dietlibc + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` + echo "${UNAME_MACHINE}-pc-linux-${LIBC}" + exit ;; + ia64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m32r*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m68*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + mips:Linux:*:* | mips64:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef ${UNAME_MACHINE} + #undef ${UNAME_MACHINE}el + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=${UNAME_MACHINE}el + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=${UNAME_MACHINE} + #else + CPU= + #endif + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } + ;; + or32:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + padre:Linux:*:*) + echo sparc-unknown-linux-gnu + exit ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-gnu + exit ;; + parisc:Linux:*:* | hppa:Linux:*:*) + # Look for CPU level + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in + PA7*) echo hppa1.1-unknown-linux-gnu ;; + PA8*) echo hppa2.0-unknown-linux-gnu ;; + *) echo hppa-unknown-linux-gnu ;; + esac + exit ;; + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-gnu + exit ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-gnu + exit ;; + s390:Linux:*:* | s390x:Linux:*:*) + echo ${UNAME_MACHINE}-ibm-linux + exit ;; + sh64*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + sh*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + sparc:Linux:*:* | sparc64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + tile*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + vax:Linux:*:*) + echo ${UNAME_MACHINE}-dec-linux-gnu + exit ;; + x86_64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + xtensa*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + i*86:DYNIX/ptx:4*:*) + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. + # earlier versions are messed up and put the nodename in both + # sysname and nodename. + echo i386-sequent-sysv4 + exit ;; + i*86:UNIX_SV:4.2MP:2.*) + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, + # I just have to hope. -- rms. + # Use sysv4.2uw... so that sysv4* matches it. + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} + exit ;; + i*86:OS/2:*:*) + # If we were able to find `uname', then EMX Unix compatibility + # is probably installed. + echo ${UNAME_MACHINE}-pc-os2-emx + exit ;; + i*86:XTS-300:*:STOP) + echo ${UNAME_MACHINE}-unknown-stop + exit ;; + i*86:atheos:*:*) + echo ${UNAME_MACHINE}-unknown-atheos + exit ;; + i*86:syllable:*:*) + echo ${UNAME_MACHINE}-pc-syllable + exit ;; + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) + echo i386-unknown-lynxos${UNAME_RELEASE} + exit ;; + i*86:*DOS:*:*) + echo ${UNAME_MACHINE}-pc-msdosdjgpp + exit ;; + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} + else + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} + fi + exit ;; + i*86:*:5:[678]*) + # UnixWare 7.x, OpenUNIX and OpenServer 6. + case `/bin/uname -X | grep "^Machine"` in + *486*) UNAME_MACHINE=i486 ;; + *Pentium) UNAME_MACHINE=i586 ;; + *Pent*|*Celeron) UNAME_MACHINE=i686 ;; + esac + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} + exit ;; + i*86:*:3.2:*) + if test -f /usr/options/cb.name; then + UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` + echo ${UNAME_MACHINE}-pc-isc$UNAME_REL + elif /bin/uname -X 2>/dev/null >/dev/null ; then + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ + && UNAME_MACHINE=i586 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ + && UNAME_MACHINE=i686 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ + && UNAME_MACHINE=i686 + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL + else + echo ${UNAME_MACHINE}-pc-sysv32 + fi + exit ;; + pc:*:*:*) + # Left here for compatibility: + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i586. + # Note: whatever this is, it MUST be the same as what config.sub + # prints for the "djgpp" host, or else GDB configury will decide that + # this is a cross-build. + echo i586-pc-msdosdjgpp + exit ;; + Intel:Mach:3*:*) + echo i386-pc-mach3 + exit ;; + paragon:*:*:*) + echo i860-intel-osf1 + exit ;; + i860:*:4.*:*) # i860-SVR4 + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 + else # Add other i860-SVR4 vendors below as they are discovered. + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 + fi + exit ;; + mini*:CTIX:SYS*5:*) + # "miniframe" + echo m68010-convergent-sysv + exit ;; + mc68k:UNIX:SYSTEM5:3.51m) + echo m68k-convergent-sysv + exit ;; + M680?0:D-NIX:5.3:*) + echo m68k-diab-dnix + exit ;; + M68*:*:R3V[5678]*:*) + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) + OS_REL='' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4; exit; } ;; + NCR*:*:4.2:* | MPRAS*:*:4.2:*) + OS_REL='.3' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) + echo m68k-unknown-lynxos${UNAME_RELEASE} + exit ;; + mc68030:UNIX_System_V:4.*:*) + echo m68k-atari-sysv4 + exit ;; + TSUNAMI:LynxOS:2.*:*) + echo sparc-unknown-lynxos${UNAME_RELEASE} + exit ;; + rs6000:LynxOS:2.*:*) + echo rs6000-unknown-lynxos${UNAME_RELEASE} + exit ;; + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) + echo powerpc-unknown-lynxos${UNAME_RELEASE} + exit ;; + SM[BE]S:UNIX_SV:*:*) + echo mips-dde-sysv${UNAME_RELEASE} + exit ;; + RM*:ReliantUNIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + RM*:SINIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + *:SINIX-*:*:*) + if uname -p 2>/dev/null >/dev/null ; then + UNAME_MACHINE=`(uname -p) 2>/dev/null` + echo ${UNAME_MACHINE}-sni-sysv4 + else + echo ns32k-sni-sysv + fi + exit ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says <Richard.M.Bartel@ccMail.Census.GOV> + echo i586-unisys-sysv4 + exit ;; + *:UNIX_System_V:4*:FTX*) + # From Gerald Hewes <hewes@openmarket.com>. + # How about differentiating between stratus architectures? -djm + echo hppa1.1-stratus-sysv4 + exit ;; + *:*:*:FTX*) + # From seanf@swdc.stratus.com. + echo i860-stratus-sysv4 + exit ;; + i*86:VOS:*:*) + # From Paul.Green@stratus.com. + echo ${UNAME_MACHINE}-stratus-vos + exit ;; + *:VOS:*:*) + # From Paul.Green@stratus.com. + echo hppa1.1-stratus-vos + exit ;; + mc68*:A/UX:*:*) + echo m68k-apple-aux${UNAME_RELEASE} + exit ;; + news*:NEWS-OS:6*:*) + echo mips-sony-newsos6 + exit ;; + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) + if [ -d /usr/nec ]; then + echo mips-nec-sysv${UNAME_RELEASE} + else + echo mips-unknown-sysv${UNAME_RELEASE} + fi + exit ;; + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. + echo powerpc-be-beos + exit ;; + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. + echo powerpc-apple-beos + exit ;; + BePC:BeOS:*:*) # BeOS running on Intel PC compatible. + echo i586-pc-beos + exit ;; + BePC:Haiku:*:*) # Haiku running on Intel PC compatible. + echo i586-pc-haiku + exit ;; + x86_64:Haiku:*:*) + echo x86_64-unknown-haiku + exit ;; + SX-4:SUPER-UX:*:*) + echo sx4-nec-superux${UNAME_RELEASE} + exit ;; + SX-5:SUPER-UX:*:*) + echo sx5-nec-superux${UNAME_RELEASE} + exit ;; + SX-6:SUPER-UX:*:*) + echo sx6-nec-superux${UNAME_RELEASE} + exit ;; + SX-7:SUPER-UX:*:*) + echo sx7-nec-superux${UNAME_RELEASE} + exit ;; + SX-8:SUPER-UX:*:*) + echo sx8-nec-superux${UNAME_RELEASE} + exit ;; + SX-8R:SUPER-UX:*:*) + echo sx8r-nec-superux${UNAME_RELEASE} + exit ;; + Power*:Rhapsody:*:*) + echo powerpc-apple-rhapsody${UNAME_RELEASE} + exit ;; + *:Rhapsody:*:*) + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} + exit ;; + *:Darwin:*:*) + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown + case $UNAME_PROCESSOR in + i386) + eval $set_cc_for_build + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + UNAME_PROCESSOR="x86_64" + fi + fi ;; + unknown) UNAME_PROCESSOR=powerpc ;; + esac + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} + exit ;; + *:procnto*:*:* | *:QNX:[0123456789]*:*) + UNAME_PROCESSOR=`uname -p` + if test "$UNAME_PROCESSOR" = "x86"; then + UNAME_PROCESSOR=i386 + UNAME_MACHINE=pc + fi + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} + exit ;; + *:QNX:*:4*) + echo i386-pc-qnx + exit ;; + NEO-?:NONSTOP_KERNEL:*:*) + echo neo-tandem-nsk${UNAME_RELEASE} + exit ;; + NSE-*:NONSTOP_KERNEL:*:*) + echo nse-tandem-nsk${UNAME_RELEASE} + exit ;; + NSR-?:NONSTOP_KERNEL:*:*) + echo nsr-tandem-nsk${UNAME_RELEASE} + exit ;; + *:NonStop-UX:*:*) + echo mips-compaq-nonstopux + exit ;; + BS2000:POSIX*:*:*) + echo bs2000-siemens-sysv + exit ;; + DS/*:UNIX_System_V:*:*) + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} + exit ;; + *:Plan9:*:*) + # "uname -m" is not consistent, so use $cputype instead. 386 + # is converted to i386 for consistency with other x86 + # operating systems. + if test "$cputype" = "386"; then + UNAME_MACHINE=i386 + else + UNAME_MACHINE="$cputype" + fi + echo ${UNAME_MACHINE}-unknown-plan9 + exit ;; + *:TOPS-10:*:*) + echo pdp10-unknown-tops10 + exit ;; + *:TENEX:*:*) + echo pdp10-unknown-tenex + exit ;; + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) + echo pdp10-dec-tops20 + exit ;; + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) + echo pdp10-xkl-tops20 + exit ;; + *:TOPS-20:*:*) + echo pdp10-unknown-tops20 + exit ;; + *:ITS:*:*) + echo pdp10-unknown-its + exit ;; + SEI:*:*:SEIUX) + echo mips-sei-seiux${UNAME_RELEASE} + exit ;; + *:DragonFly:*:*) + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit ;; + *:*VMS:*:*) + UNAME_MACHINE=`(uname -p) 2>/dev/null` + case "${UNAME_MACHINE}" in + A*) echo alpha-dec-vms ; exit ;; + I*) echo ia64-dec-vms ; exit ;; + V*) echo vax-dec-vms ; exit ;; + esac ;; + *:XENIX:*:SysV) + echo i386-pc-xenix + exit ;; + i*86:skyos:*:*) + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' + exit ;; + i*86:rdos:*:*) + echo ${UNAME_MACHINE}-pc-rdos + exit ;; + i*86:AROS:*:*) + echo ${UNAME_MACHINE}-pc-aros + exit ;; + x86_64:VMkernel:*:*) + echo ${UNAME_MACHINE}-unknown-esx + exit ;; +esac + +eval $set_cc_for_build +cat >$dummy.c <<EOF +#ifdef _SEQUENT_ +# include <sys/types.h> +# include <sys/utsname.h> +#endif +main () +{ +#if defined (sony) +#if defined (MIPSEB) + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, + I don't know.... */ + printf ("mips-sony-bsd\n"); exit (0); +#else +#include <sys/param.h> + printf ("m68k-sony-newsos%s\n", +#ifdef NEWSOS4 + "4" +#else + "" +#endif + ); exit (0); +#endif +#endif + +#if defined (__arm) && defined (__acorn) && defined (__unix) + printf ("arm-acorn-riscix\n"); exit (0); +#endif + +#if defined (hp300) && !defined (hpux) + printf ("m68k-hp-bsd\n"); exit (0); +#endif + +#if defined (NeXT) +#if !defined (__ARCHITECTURE__) +#define __ARCHITECTURE__ "m68k" +#endif + int version; + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; + if (version < 4) + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); + else + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); + exit (0); +#endif + +#if defined (MULTIMAX) || defined (n16) +#if defined (UMAXV) + printf ("ns32k-encore-sysv\n"); exit (0); +#else +#if defined (CMU) + printf ("ns32k-encore-mach\n"); exit (0); +#else + printf ("ns32k-encore-bsd\n"); exit (0); +#endif +#endif +#endif + +#if defined (__386BSD__) + printf ("i386-pc-bsd\n"); exit (0); +#endif + +#if defined (sequent) +#if defined (i386) + printf ("i386-sequent-dynix\n"); exit (0); +#endif +#if defined (ns32000) + printf ("ns32k-sequent-dynix\n"); exit (0); +#endif +#endif + +#if defined (_SEQUENT_) + struct utsname un; + + uname(&un); + + if (strncmp(un.version, "V2", 2) == 0) { + printf ("i386-sequent-ptx2\n"); exit (0); + } + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ + printf ("i386-sequent-ptx1\n"); exit (0); + } + printf ("i386-sequent-ptx\n"); exit (0); + +#endif + +#if defined (vax) +# if !defined (ultrix) +# include <sys/param.h> +# if defined (BSD) +# if BSD == 43 + printf ("vax-dec-bsd4.3\n"); exit (0); +# else +# if BSD == 199006 + printf ("vax-dec-bsd4.3reno\n"); exit (0); +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# endif +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# else + printf ("vax-dec-ultrix\n"); exit (0); +# endif +#endif + +#if defined (alliant) && defined (i860) + printf ("i860-alliant-bsd\n"); exit (0); +#endif + + exit (1); +} +EOF + +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } + +# Apollos put the system type in the environment. + +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } + +# Convex versions that predate uname can use getsysinfo(1) + +if [ -x /usr/convex/getsysinfo ] +then + case `getsysinfo -f cpu_type` in + c1*) + echo c1-convex-bsd + exit ;; + c2*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + c34*) + echo c34-convex-bsd + exit ;; + c38*) + echo c38-convex-bsd + exit ;; + c4*) + echo c4-convex-bsd + exit ;; + esac +fi + +cat >&2 <<EOF +$0: unable to guess system type + +This script, last modified $timestamp, has failed to recognize +the operating system you are using. It is advised that you +download the most up to date version of the config scripts from + + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD +and + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD + +If the version you run ($0) is already up to date, please +send the following data and any information you think might be +pertinent to <config-patches@gnu.org> in order to provide the needed +information to handle your system. + +config.guess timestamp = $timestamp + +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` + +hostinfo = `(hostinfo) 2>/dev/null` +/bin/universe = `(/bin/universe) 2>/dev/null` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` +/bin/arch = `(/bin/arch) 2>/dev/null` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` + +UNAME_MACHINE = ${UNAME_MACHINE} +UNAME_RELEASE = ${UNAME_RELEASE} +UNAME_SYSTEM = ${UNAME_SYSTEM} +UNAME_VERSION = ${UNAME_VERSION} +EOF + +exit 1 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/config.sub b/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/config.sub new file mode 100644 index 0000000..52f04bc --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/config.sub @@ -0,0 +1,1790 @@ +#! /bin/sh +# Configuration validation subroutine script. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, +# 2011, 2012, 2013 Free Software Foundation, Inc. + +timestamp='2012-12-29' + +# This file 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/>. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that +# program. This Exception is an additional permission under section 7 +# of the GNU General Public License, version 3 ("GPLv3"). + + +# Please send patches with a ChangeLog entry to config-patches@gnu.org. +# +# Configuration subroutine to validate and canonicalize a configuration type. +# Supply the specified configuration type as an argument. +# If it is invalid, we print an error message on stderr and exit with code 1. +# Otherwise, we print the canonical config type on stdout and succeed. + +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD + +# This file is supposed to be the same for all GNU packages +# and recognize all the CPU types, system types and aliases +# that are meaningful with *any* GNU software. +# Each package is responsible for reporting which valid configurations +# it does not support. The user should be able to distinguish +# a failure to support a valid configuration from a meaningless +# configuration. + +# The goal of this file is to map all the various variations of a given +# machine specification into a single specification in the form: +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or in some cases, the newer four-part form: +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM +# It is wrong to echo any other type of specification. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] CPU-MFR-OPSYS + $0 [OPTION] ALIAS + +Canonicalize a configuration name. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to <config-patches@gnu.org>." + +version="\ +GNU config.sub ($timestamp) + +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, +2012, 2013 Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" + exit 1 ;; + + *local*) + # First pass through any local machine types. + echo $1 + exit ;; + + * ) + break ;; + esac +done + +case $# in + 0) echo "$me: missing argument$help" >&2 + exit 1;; + 1) ;; + *) echo "$me: too many arguments$help" >&2 + exit 1;; +esac + +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). +# Here we must recognize all the valid KERNEL-OS combinations. +maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` +case $maybe_os in + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ + linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ + knetbsd*-gnu* | netbsd*-gnu* | \ + kopensolaris*-gnu* | \ + storm-chaos* | os2-emx* | rtmk-nova*) + os=-$maybe_os + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` + ;; + android-linux) + os=-linux-android + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown + ;; + *) + basic_machine=`echo $1 | sed 's/-[^-]*$//'` + if [ $basic_machine != $1 ] + then os=`echo $1 | sed 's/.*-/-/'` + else os=; fi + ;; +esac + +### Let's recognize common machines as not being operating systems so +### that things like config.sub decstation-3100 work. We also +### recognize some manufacturers as not being operating systems, so we +### can provide default operating systems below. +case $os in + -sun*os*) + # Prevent following clause from handling this invalid input. + ;; + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ + -apple | -axis | -knuth | -cray | -microblaze*) + os= + basic_machine=$1 + ;; + -bluegene*) + os=-cnk + ;; + -sim | -cisco | -oki | -wec | -winbond) + os= + basic_machine=$1 + ;; + -scout) + ;; + -wrs) + os=-vxworks + basic_machine=$1 + ;; + -chorusos*) + os=-chorusos + basic_machine=$1 + ;; + -chorusrdb) + os=-chorusrdb + basic_machine=$1 + ;; + -hiux*) + os=-hiuxwe2 + ;; + -sco6) + os=-sco5v6 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco5) + os=-sco3.2v5 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco4) + os=-sco3.2v4 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2.[4-9]*) + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2v[4-9]*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco5v6*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco*) + os=-sco3.2v2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -udk*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -isc) + os=-isc2.2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -clix*) + basic_machine=clipper-intergraph + ;; + -isc*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -lynx*178) + os=-lynxos178 + ;; + -lynx*5) + os=-lynxos5 + ;; + -lynx*) + os=-lynxos + ;; + -ptx*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` + ;; + -windowsnt*) + os=`echo $os | sed -e 's/windowsnt/winnt/'` + ;; + -psos*) + os=-psos + ;; + -mint | -mint[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; +esac + +# Decode aliases for certain CPU-COMPANY combinations. +case $basic_machine in + # Recognize the basic CPU types without company name. + # Some are omitted here because they have special meanings below. + 1750a | 580 \ + | a29k \ + | aarch64 | aarch64_be \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ + | arc \ + | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ + | avr | avr32 \ + | be32 | be64 \ + | bfin \ + | c4x | clipper \ + | d10v | d30v | dlx | dsp16xx \ + | epiphany \ + | fido | fr30 | frv \ + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | hexagon \ + | i370 | i860 | i960 | ia64 \ + | ip2k | iq2000 \ + | le32 | le64 \ + | lm32 \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ + | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64el \ + | mips64octeon | mips64octeonel \ + | mips64orion | mips64orionel \ + | mips64r5900 | mips64r5900el \ + | mips64vr | mips64vrel \ + | mips64vr4100 | mips64vr4100el \ + | mips64vr4300 | mips64vr4300el \ + | mips64vr5000 | mips64vr5000el \ + | mips64vr5900 | mips64vr5900el \ + | mipsisa32 | mipsisa32el \ + | mipsisa32r2 | mipsisa32r2el \ + | mipsisa64 | mipsisa64el \ + | mipsisa64r2 | mipsisa64r2el \ + | mipsisa64sb1 | mipsisa64sb1el \ + | mipsisa64sr71k | mipsisa64sr71kel \ + | mipstx39 | mipstx39el \ + | mn10200 | mn10300 \ + | moxie \ + | mt \ + | msp430 \ + | nds32 | nds32le | nds32be \ + | nios | nios2 \ + | ns16k | ns32k \ + | open8 \ + | or32 \ + | pdp10 | pdp11 | pj | pjl \ + | powerpc | powerpc64 | powerpc64le | powerpcle \ + | pyramid \ + | rl78 | rx \ + | score \ + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ + | sh64 | sh64le \ + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ + | spu \ + | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ + | ubicom32 \ + | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ + | we32k \ + | x86 | xc16x | xstormy16 | xtensa \ + | z8k | z80) + basic_machine=$basic_machine-unknown + ;; + c54x) + basic_machine=tic54x-unknown + ;; + c55x) + basic_machine=tic55x-unknown + ;; + c6x) + basic_machine=tic6x-unknown + ;; + m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) + basic_machine=$basic_machine-unknown + os=-none + ;; + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) + ;; + ms1) + basic_machine=mt-unknown + ;; + + strongarm | thumb | xscale) + basic_machine=arm-unknown + ;; + xgate) + basic_machine=$basic_machine-unknown + os=-none + ;; + xscaleeb) + basic_machine=armeb-unknown + ;; + + xscaleel) + basic_machine=armel-unknown + ;; + + # We use `pc' rather than `unknown' + # because (1) that's what they normally are, and + # (2) the word "unknown" tends to confuse beginning users. + i*86 | x86_64) + basic_machine=$basic_machine-pc + ;; + # Object if more than one company name word. + *-*-*) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; + # Recognize the basic CPU types with company name. + 580-* \ + | a29k-* \ + | aarch64-* | aarch64_be-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ + | avr-* | avr32-* \ + | be32-* | be64-* \ + | bfin-* | bs2000-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* \ + | clipper-* | craynv-* | cydra-* \ + | d10v-* | d30v-* | dlx-* \ + | elxsi-* \ + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ + | h8300-* | h8500-* \ + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ + | hexagon-* \ + | i*86-* | i860-* | i960-* | ia64-* \ + | ip2k-* | iq2000-* \ + | le32-* | le64-* \ + | lm32-* \ + | m32c-* | m32r-* | m32rle-* \ + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ + | microblaze-* | microblazeel-* \ + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ + | mips16-* \ + | mips64-* | mips64el-* \ + | mips64octeon-* | mips64octeonel-* \ + | mips64orion-* | mips64orionel-* \ + | mips64r5900-* | mips64r5900el-* \ + | mips64vr-* | mips64vrel-* \ + | mips64vr4100-* | mips64vr4100el-* \ + | mips64vr4300-* | mips64vr4300el-* \ + | mips64vr5000-* | mips64vr5000el-* \ + | mips64vr5900-* | mips64vr5900el-* \ + | mipsisa32-* | mipsisa32el-* \ + | mipsisa32r2-* | mipsisa32r2el-* \ + | mipsisa64-* | mipsisa64el-* \ + | mipsisa64r2-* | mipsisa64r2el-* \ + | mipsisa64sb1-* | mipsisa64sb1el-* \ + | mipsisa64sr71k-* | mipsisa64sr71kel-* \ + | mipstx39-* | mipstx39el-* \ + | mmix-* \ + | mt-* \ + | msp430-* \ + | nds32-* | nds32le-* | nds32be-* \ + | nios-* | nios2-* \ + | none-* | np1-* | ns16k-* | ns32k-* \ + | open8-* \ + | orion-* \ + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ + | pyramid-* \ + | rl78-* | romp-* | rs6000-* | rx-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ + | sparclite-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ + | tahoe-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tile*-* \ + | tron-* \ + | ubicom32-* \ + | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ + | vax-* \ + | we32k-* \ + | x86-* | x86_64-* | xc16x-* | xps100-* \ + | xstormy16-* | xtensa*-* \ + | ymp-* \ + | z8k-* | z80-*) + ;; + # Recognize the basic CPU types without company name, with glob match. + xtensa*) + basic_machine=$basic_machine-unknown + ;; + # Recognize the various machine names and aliases which stand + # for a CPU type and a company and sometimes even an OS. + 386bsd) + basic_machine=i386-unknown + os=-bsd + ;; + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) + basic_machine=m68000-att + ;; + 3b*) + basic_machine=we32k-att + ;; + a29khif) + basic_machine=a29k-amd + os=-udi + ;; + abacus) + basic_machine=abacus-unknown + ;; + adobe68k) + basic_machine=m68010-adobe + os=-scout + ;; + alliant | fx80) + basic_machine=fx80-alliant + ;; + altos | altos3068) + basic_machine=m68k-altos + ;; + am29k) + basic_machine=a29k-none + os=-bsd + ;; + amd64) + basic_machine=x86_64-pc + ;; + amd64-*) + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + amdahl) + basic_machine=580-amdahl + os=-sysv + ;; + amiga | amiga-*) + basic_machine=m68k-unknown + ;; + amigaos | amigados) + basic_machine=m68k-unknown + os=-amigaos + ;; + amigaunix | amix) + basic_machine=m68k-unknown + os=-sysv4 + ;; + apollo68) + basic_machine=m68k-apollo + os=-sysv + ;; + apollo68bsd) + basic_machine=m68k-apollo + os=-bsd + ;; + aros) + basic_machine=i386-pc + os=-aros + ;; + aux) + basic_machine=m68k-apple + os=-aux + ;; + balance) + basic_machine=ns32k-sequent + os=-dynix + ;; + blackfin) + basic_machine=bfin-unknown + os=-linux + ;; + blackfin-*) + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + bluegene*) + basic_machine=powerpc-ibm + os=-cnk + ;; + c54x-*) + basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c55x-*) + basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c6x-*) + basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c90) + basic_machine=c90-cray + os=-unicos + ;; + cegcc) + basic_machine=arm-unknown + os=-cegcc + ;; + convex-c1) + basic_machine=c1-convex + os=-bsd + ;; + convex-c2) + basic_machine=c2-convex + os=-bsd + ;; + convex-c32) + basic_machine=c32-convex + os=-bsd + ;; + convex-c34) + basic_machine=c34-convex + os=-bsd + ;; + convex-c38) + basic_machine=c38-convex + os=-bsd + ;; + cray | j90) + basic_machine=j90-cray + os=-unicos + ;; + craynv) + basic_machine=craynv-cray + os=-unicosmp + ;; + cr16 | cr16-*) + basic_machine=cr16-unknown + os=-elf + ;; + crds | unos) + basic_machine=m68k-crds + ;; + crisv32 | crisv32-* | etraxfs*) + basic_machine=crisv32-axis + ;; + cris | cris-* | etrax*) + basic_machine=cris-axis + ;; + crx) + basic_machine=crx-unknown + os=-elf + ;; + da30 | da30-*) + basic_machine=m68k-da30 + ;; + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) + basic_machine=mips-dec + ;; + decsystem10* | dec10*) + basic_machine=pdp10-dec + os=-tops10 + ;; + decsystem20* | dec20*) + basic_machine=pdp10-dec + os=-tops20 + ;; + delta | 3300 | motorola-3300 | motorola-delta \ + | 3300-motorola | delta-motorola) + basic_machine=m68k-motorola + ;; + delta88) + basic_machine=m88k-motorola + os=-sysv3 + ;; + dicos) + basic_machine=i686-pc + os=-dicos + ;; + djgpp) + basic_machine=i586-pc + os=-msdosdjgpp + ;; + dpx20 | dpx20-*) + basic_machine=rs6000-bull + os=-bosx + ;; + dpx2* | dpx2*-bull) + basic_machine=m68k-bull + os=-sysv3 + ;; + ebmon29k) + basic_machine=a29k-amd + os=-ebmon + ;; + elxsi) + basic_machine=elxsi-elxsi + os=-bsd + ;; + encore | umax | mmax) + basic_machine=ns32k-encore + ;; + es1800 | OSE68k | ose68k | ose | OSE) + basic_machine=m68k-ericsson + os=-ose + ;; + fx2800) + basic_machine=i860-alliant + ;; + genix) + basic_machine=ns32k-ns + ;; + gmicro) + basic_machine=tron-gmicro + os=-sysv + ;; + go32) + basic_machine=i386-pc + os=-go32 + ;; + h3050r* | hiux*) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + h8300hms) + basic_machine=h8300-hitachi + os=-hms + ;; + h8300xray) + basic_machine=h8300-hitachi + os=-xray + ;; + h8500hms) + basic_machine=h8500-hitachi + os=-hms + ;; + harris) + basic_machine=m88k-harris + os=-sysv3 + ;; + hp300-*) + basic_machine=m68k-hp + ;; + hp300bsd) + basic_machine=m68k-hp + os=-bsd + ;; + hp300hpux) + basic_machine=m68k-hp + os=-hpux + ;; + hp3k9[0-9][0-9] | hp9[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k2[0-9][0-9] | hp9k31[0-9]) + basic_machine=m68000-hp + ;; + hp9k3[2-9][0-9]) + basic_machine=m68k-hp + ;; + hp9k6[0-9][0-9] | hp6[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k7[0-79][0-9] | hp7[0-79][0-9]) + basic_machine=hppa1.1-hp + ;; + hp9k78[0-9] | hp78[0-9]) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][13679] | hp8[0-9][13679]) + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][0-9] | hp8[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hppa-next) + os=-nextstep3 + ;; + hppaosf) + basic_machine=hppa1.1-hp + os=-osf + ;; + hppro) + basic_machine=hppa1.1-hp + os=-proelf + ;; + i370-ibm* | ibm*) + basic_machine=i370-ibm + ;; + i*86v32) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv32 + ;; + i*86v4*) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv4 + ;; + i*86v) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv + ;; + i*86sol2) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-solaris2 + ;; + i386mach) + basic_machine=i386-mach + os=-mach + ;; + i386-vsta | vsta) + basic_machine=i386-unknown + os=-vsta + ;; + iris | iris4d) + basic_machine=mips-sgi + case $os in + -irix*) + ;; + *) + os=-irix4 + ;; + esac + ;; + isi68 | isi) + basic_machine=m68k-isi + os=-sysv + ;; + m68knommu) + basic_machine=m68k-unknown + os=-linux + ;; + m68knommu-*) + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + m88k-omron*) + basic_machine=m88k-omron + ;; + magnum | m3230) + basic_machine=mips-mips + os=-sysv + ;; + merlin) + basic_machine=ns32k-utek + os=-sysv + ;; + microblaze*) + basic_machine=microblaze-xilinx + ;; + mingw64) + basic_machine=x86_64-pc + os=-mingw64 + ;; + mingw32) + basic_machine=i386-pc + os=-mingw32 + ;; + mingw32ce) + basic_machine=arm-unknown + os=-mingw32ce + ;; + miniframe) + basic_machine=m68000-convergent + ;; + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; + mips3*-*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` + ;; + mips3*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown + ;; + monitor) + basic_machine=m68k-rom68k + os=-coff + ;; + morphos) + basic_machine=powerpc-unknown + os=-morphos + ;; + msdos) + basic_machine=i386-pc + os=-msdos + ;; + ms1-*) + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` + ;; + msys) + basic_machine=i386-pc + os=-msys + ;; + mvs) + basic_machine=i370-ibm + os=-mvs + ;; + nacl) + basic_machine=le32-unknown + os=-nacl + ;; + ncr3000) + basic_machine=i486-ncr + os=-sysv4 + ;; + netbsd386) + basic_machine=i386-unknown + os=-netbsd + ;; + netwinder) + basic_machine=armv4l-rebel + os=-linux + ;; + news | news700 | news800 | news900) + basic_machine=m68k-sony + os=-newsos + ;; + news1000) + basic_machine=m68030-sony + os=-newsos + ;; + news-3600 | risc-news) + basic_machine=mips-sony + os=-newsos + ;; + necv70) + basic_machine=v70-nec + os=-sysv + ;; + next | m*-next ) + basic_machine=m68k-next + case $os in + -nextstep* ) + ;; + -ns2*) + os=-nextstep2 + ;; + *) + os=-nextstep3 + ;; + esac + ;; + nh3000) + basic_machine=m68k-harris + os=-cxux + ;; + nh[45]000) + basic_machine=m88k-harris + os=-cxux + ;; + nindy960) + basic_machine=i960-intel + os=-nindy + ;; + mon960) + basic_machine=i960-intel + os=-mon960 + ;; + nonstopux) + basic_machine=mips-compaq + os=-nonstopux + ;; + np1) + basic_machine=np1-gould + ;; + neo-tandem) + basic_machine=neo-tandem + ;; + nse-tandem) + basic_machine=nse-tandem + ;; + nsr-tandem) + basic_machine=nsr-tandem + ;; + op50n-* | op60c-*) + basic_machine=hppa1.1-oki + os=-proelf + ;; + openrisc | openrisc-*) + basic_machine=or32-unknown + ;; + os400) + basic_machine=powerpc-ibm + os=-os400 + ;; + OSE68000 | ose68000) + basic_machine=m68000-ericsson + os=-ose + ;; + os68k) + basic_machine=m68k-none + os=-os68k + ;; + pa-hitachi) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + paragon) + basic_machine=i860-intel + os=-osf + ;; + parisc) + basic_machine=hppa-unknown + os=-linux + ;; + parisc-*) + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + pbd) + basic_machine=sparc-tti + ;; + pbb) + basic_machine=m68k-tti + ;; + pc532 | pc532-*) + basic_machine=ns32k-pc532 + ;; + pc98) + basic_machine=i386-pc + ;; + pc98-*) + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium | p5 | k5 | k6 | nexgen | viac3) + basic_machine=i586-pc + ;; + pentiumpro | p6 | 6x86 | athlon | athlon_*) + basic_machine=i686-pc + ;; + pentiumii | pentium2 | pentiumiii | pentium3) + basic_machine=i686-pc + ;; + pentium4) + basic_machine=i786-pc + ;; + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) + basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumpro-* | p6-* | 6x86-* | athlon-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium4-*) + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pn) + basic_machine=pn-gould + ;; + power) basic_machine=power-ibm + ;; + ppc | ppcbe) basic_machine=powerpc-unknown + ;; + ppc-* | ppcbe-*) + basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppcle | powerpclittle | ppc-le | powerpc-little) + basic_machine=powerpcle-unknown + ;; + ppcle-* | powerpclittle-*) + basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64) basic_machine=powerpc64-unknown + ;; + ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64le | powerpc64little | ppc64-le | powerpc64-little) + basic_machine=powerpc64le-unknown + ;; + ppc64le-* | powerpc64little-*) + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ps2) + basic_machine=i386-ibm + ;; + pw32) + basic_machine=i586-unknown + os=-pw32 + ;; + rdos | rdos64) + basic_machine=x86_64-pc + os=-rdos + ;; + rdos32) + basic_machine=i386-pc + os=-rdos + ;; + rom68k) + basic_machine=m68k-rom68k + os=-coff + ;; + rm[46]00) + basic_machine=mips-siemens + ;; + rtpc | rtpc-*) + basic_machine=romp-ibm + ;; + s390 | s390-*) + basic_machine=s390-ibm + ;; + s390x | s390x-*) + basic_machine=s390x-ibm + ;; + sa29200) + basic_machine=a29k-amd + os=-udi + ;; + sb1) + basic_machine=mipsisa64sb1-unknown + ;; + sb1el) + basic_machine=mipsisa64sb1el-unknown + ;; + sde) + basic_machine=mipsisa32-sde + os=-elf + ;; + sei) + basic_machine=mips-sei + os=-seiux + ;; + sequent) + basic_machine=i386-sequent + ;; + sh) + basic_machine=sh-hitachi + os=-hms + ;; + sh5el) + basic_machine=sh5le-unknown + ;; + sh64) + basic_machine=sh64-unknown + ;; + sparclite-wrs | simso-wrs) + basic_machine=sparclite-wrs + os=-vxworks + ;; + sps7) + basic_machine=m68k-bull + os=-sysv2 + ;; + spur) + basic_machine=spur-unknown + ;; + st2000) + basic_machine=m68k-tandem + ;; + stratus) + basic_machine=i860-stratus + os=-sysv4 + ;; + strongarm-* | thumb-*) + basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + sun2) + basic_machine=m68000-sun + ;; + sun2os3) + basic_machine=m68000-sun + os=-sunos3 + ;; + sun2os4) + basic_machine=m68000-sun + os=-sunos4 + ;; + sun3os3) + basic_machine=m68k-sun + os=-sunos3 + ;; + sun3os4) + basic_machine=m68k-sun + os=-sunos4 + ;; + sun4os3) + basic_machine=sparc-sun + os=-sunos3 + ;; + sun4os4) + basic_machine=sparc-sun + os=-sunos4 + ;; + sun4sol2) + basic_machine=sparc-sun + os=-solaris2 + ;; + sun3 | sun3-*) + basic_machine=m68k-sun + ;; + sun4) + basic_machine=sparc-sun + ;; + sun386 | sun386i | roadrunner) + basic_machine=i386-sun + ;; + sv1) + basic_machine=sv1-cray + os=-unicos + ;; + symmetry) + basic_machine=i386-sequent + os=-dynix + ;; + t3e) + basic_machine=alphaev5-cray + os=-unicos + ;; + t90) + basic_machine=t90-cray + os=-unicos + ;; + tile*) + basic_machine=$basic_machine-unknown + os=-linux-gnu + ;; + tx39) + basic_machine=mipstx39-unknown + ;; + tx39el) + basic_machine=mipstx39el-unknown + ;; + toad1) + basic_machine=pdp10-xkl + os=-tops20 + ;; + tower | tower-32) + basic_machine=m68k-ncr + ;; + tpf) + basic_machine=s390x-ibm + os=-tpf + ;; + udi29k) + basic_machine=a29k-amd + os=-udi + ;; + ultra3) + basic_machine=a29k-nyu + os=-sym1 + ;; + v810 | necv810) + basic_machine=v810-nec + os=-none + ;; + vaxv) + basic_machine=vax-dec + os=-sysv + ;; + vms) + basic_machine=vax-dec + os=-vms + ;; + vpp*|vx|vx-*) + basic_machine=f301-fujitsu + ;; + vxworks960) + basic_machine=i960-wrs + os=-vxworks + ;; + vxworks68) + basic_machine=m68k-wrs + os=-vxworks + ;; + vxworks29k) + basic_machine=a29k-wrs + os=-vxworks + ;; + w65*) + basic_machine=w65-wdc + os=-none + ;; + w89k-*) + basic_machine=hppa1.1-winbond + os=-proelf + ;; + xbox) + basic_machine=i686-pc + os=-mingw32 + ;; + xps | xps100) + basic_machine=xps100-honeywell + ;; + xscale-* | xscalee[bl]-*) + basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` + ;; + ymp) + basic_machine=ymp-cray + os=-unicos + ;; + z8k-*-coff) + basic_machine=z8k-unknown + os=-sim + ;; + z80-*-coff) + basic_machine=z80-unknown + os=-sim + ;; + none) + basic_machine=none-none + os=-none + ;; + +# Here we handle the default manufacturer of certain CPU types. It is in +# some cases the only manufacturer, in others, it is the most popular. + w89k) + basic_machine=hppa1.1-winbond + ;; + op50n) + basic_machine=hppa1.1-oki + ;; + op60c) + basic_machine=hppa1.1-oki + ;; + romp) + basic_machine=romp-ibm + ;; + mmix) + basic_machine=mmix-knuth + ;; + rs6000) + basic_machine=rs6000-ibm + ;; + vax) + basic_machine=vax-dec + ;; + pdp10) + # there are many clones, so DEC is not a safe bet + basic_machine=pdp10-unknown + ;; + pdp11) + basic_machine=pdp11-dec + ;; + we32k) + basic_machine=we32k-att + ;; + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) + basic_machine=sh-unknown + ;; + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) + basic_machine=sparc-sun + ;; + cydra) + basic_machine=cydra-cydrome + ;; + orion) + basic_machine=orion-highlevel + ;; + orion105) + basic_machine=clipper-highlevel + ;; + mac | mpw | mac-mpw) + basic_machine=m68k-apple + ;; + pmac | pmac-mpw) + basic_machine=powerpc-apple + ;; + *-unknown) + # Make sure to match an already-canonicalized machine name. + ;; + *) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; +esac + +# Here we canonicalize certain aliases for manufacturers. +case $basic_machine in + *-digital*) + basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` + ;; + *-commodore*) + basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` + ;; + *) + ;; +esac + +# Decode manufacturer-specific aliases for certain operating systems. + +if [ x"$os" != x"" ] +then +case $os in + # First match some system type aliases + # that might get confused with valid system types. + # -solaris* is a basic system type, with this one exception. + -auroraux) + os=-auroraux + ;; + -solaris1 | -solaris1.*) + os=`echo $os | sed -e 's|solaris1|sunos4|'` + ;; + -solaris) + os=-solaris2 + ;; + -svr4*) + os=-sysv4 + ;; + -unixware*) + os=-sysv4.2uw + ;; + -gnu/linux*) + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` + ;; + # First accept the basic system types. + # The portable systems comes first. + # Each alternative MUST END IN A *, to match a version number. + # -sysv* is not here because it comes later, after sysvr4. + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ + | -sym* | -kopensolaris* \ + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ + | -aos* | -aros* \ + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ + | -bitrig* | -openbsd* | -solidbsd* \ + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ + | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* | -cegcc* \ + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ + | -linux-newlib* | -linux-musl* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) + # Remember, each alternative MUST END IN *, to match a version number. + ;; + -qnx*) + case $basic_machine in + x86-* | i*86-*) + ;; + *) + os=-nto$os + ;; + esac + ;; + -nto-qnx*) + ;; + -nto*) + os=`echo $os | sed -e 's|nto|nto-qnx|'` + ;; + -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) + ;; + -mac*) + os=`echo $os | sed -e 's|mac|macos|'` + ;; + -linux-dietlibc) + os=-linux-dietlibc + ;; + -linux*) + os=`echo $os | sed -e 's|linux|linux-gnu|'` + ;; + -sunos5*) + os=`echo $os | sed -e 's|sunos5|solaris2|'` + ;; + -sunos6*) + os=`echo $os | sed -e 's|sunos6|solaris3|'` + ;; + -opened*) + os=-openedition + ;; + -os400*) + os=-os400 + ;; + -wince*) + os=-wince + ;; + -osfrose*) + os=-osfrose + ;; + -osf*) + os=-osf + ;; + -utek*) + os=-bsd + ;; + -dynix*) + os=-bsd + ;; + -acis*) + os=-aos + ;; + -atheos*) + os=-atheos + ;; + -syllable*) + os=-syllable + ;; + -386bsd) + os=-bsd + ;; + -ctix* | -uts*) + os=-sysv + ;; + -nova*) + os=-rtmk-nova + ;; + -ns2 ) + os=-nextstep2 + ;; + -nsk*) + os=-nsk + ;; + # Preserve the version number of sinix5. + -sinix5.*) + os=`echo $os | sed -e 's|sinix|sysv|'` + ;; + -sinix*) + os=-sysv4 + ;; + -tpf*) + os=-tpf + ;; + -triton*) + os=-sysv3 + ;; + -oss*) + os=-sysv3 + ;; + -svr4) + os=-sysv4 + ;; + -svr3) + os=-sysv3 + ;; + -sysvr4) + os=-sysv4 + ;; + # This must come after -sysvr4. + -sysv*) + ;; + -ose*) + os=-ose + ;; + -es1800*) + os=-ose + ;; + -xenix) + os=-xenix + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + os=-mint + ;; + -aros*) + os=-aros + ;; + -kaos*) + os=-kaos + ;; + -zvmoe) + os=-zvmoe + ;; + -dicos*) + os=-dicos + ;; + -nacl*) + ;; + -none) + ;; + *) + # Get rid of the `-' at the beginning of $os. + os=`echo $os | sed 's/[^-]*-//'` + echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 + exit 1 + ;; +esac +else + +# Here we handle the default operating systems that come with various machines. +# The value should be what the vendor currently ships out the door with their +# machine or put another way, the most popular os provided with the machine. + +# Note that if you're going to try to match "-MANUFACTURER" here (say, +# "-sun"), then you have to tell the case statement up towards the top +# that MANUFACTURER isn't an operating system. Otherwise, code above +# will signal an error saying that MANUFACTURER isn't an operating +# system, and we'll never get to this point. + +case $basic_machine in + score-*) + os=-elf + ;; + spu-*) + os=-elf + ;; + *-acorn) + os=-riscix1.2 + ;; + arm*-rebel) + os=-linux + ;; + arm*-semi) + os=-aout + ;; + c4x-* | tic4x-*) + os=-coff + ;; + hexagon-*) + os=-elf + ;; + tic54x-*) + os=-coff + ;; + tic55x-*) + os=-coff + ;; + tic6x-*) + os=-coff + ;; + # This must come before the *-dec entry. + pdp10-*) + os=-tops20 + ;; + pdp11-*) + os=-none + ;; + *-dec | vax-*) + os=-ultrix4.2 + ;; + m68*-apollo) + os=-domain + ;; + i386-sun) + os=-sunos4.0.2 + ;; + m68000-sun) + os=-sunos3 + ;; + m68*-cisco) + os=-aout + ;; + mep-*) + os=-elf + ;; + mips*-cisco) + os=-elf + ;; + mips*-*) + os=-elf + ;; + or32-*) + os=-coff + ;; + *-tti) # must be before sparc entry or we get the wrong os. + os=-sysv3 + ;; + sparc-* | *-sun) + os=-sunos4.1.1 + ;; + *-be) + os=-beos + ;; + *-haiku) + os=-haiku + ;; + *-ibm) + os=-aix + ;; + *-knuth) + os=-mmixware + ;; + *-wec) + os=-proelf + ;; + *-winbond) + os=-proelf + ;; + *-oki) + os=-proelf + ;; + *-hp) + os=-hpux + ;; + *-hitachi) + os=-hiux + ;; + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) + os=-sysv + ;; + *-cbm) + os=-amigaos + ;; + *-dg) + os=-dgux + ;; + *-dolphin) + os=-sysv3 + ;; + m68k-ccur) + os=-rtu + ;; + m88k-omron*) + os=-luna + ;; + *-next ) + os=-nextstep + ;; + *-sequent) + os=-ptx + ;; + *-crds) + os=-unos + ;; + *-ns) + os=-genix + ;; + i370-*) + os=-mvs + ;; + *-next) + os=-nextstep3 + ;; + *-gould) + os=-sysv + ;; + *-highlevel) + os=-bsd + ;; + *-encore) + os=-bsd + ;; + *-sgi) + os=-irix + ;; + *-siemens) + os=-sysv4 + ;; + *-masscomp) + os=-rtu + ;; + f30[01]-fujitsu | f700-fujitsu) + os=-uxpv + ;; + *-rom68k) + os=-coff + ;; + *-*bug) + os=-coff + ;; + *-apple) + os=-macos + ;; + *-atari*) + os=-mint + ;; + *) + os=-none + ;; +esac +fi + +# Here we handle the case where we know the os, and the CPU type, but not the +# manufacturer. We pick the logical manufacturer. +vendor=unknown +case $basic_machine in + *-unknown) + case $os in + -riscix*) + vendor=acorn + ;; + -sunos*) + vendor=sun + ;; + -cnk*|-aix*) + vendor=ibm + ;; + -beos*) + vendor=be + ;; + -hpux*) + vendor=hp + ;; + -mpeix*) + vendor=hp + ;; + -hiux*) + vendor=hitachi + ;; + -unos*) + vendor=crds + ;; + -dgux*) + vendor=dg + ;; + -luna*) + vendor=omron + ;; + -genix*) + vendor=ns + ;; + -mvs* | -opened*) + vendor=ibm + ;; + -os400*) + vendor=ibm + ;; + -ptx*) + vendor=sequent + ;; + -tpf*) + vendor=ibm + ;; + -vxsim* | -vxworks* | -windiss*) + vendor=wrs + ;; + -aux*) + vendor=apple + ;; + -hms*) + vendor=hitachi + ;; + -mpw* | -macos*) + vendor=apple + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + vendor=atari + ;; + -vos*) + vendor=stratus + ;; + esac + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` + ;; +esac + +echo $basic_machine$os +exit + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/depcomp b/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/depcomp new file mode 100644 index 0000000..06b0882 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/depcomp @@ -0,0 +1,790 @@ +#! /bin/sh +# depcomp - compile a program generating dependencies as side-effects + +scriptversion=2012-10-18.11; # UTC + +# Copyright (C) 1999-2013 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 2, 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/>. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>. + +case $1 in + '') + echo "$0: No command. Try '$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: depcomp [--help] [--version] PROGRAM [ARGS] + +Run PROGRAMS ARGS to compile a file, generating dependencies +as side-effects. + +Environment variables: + depmode Dependency tracking mode. + source Source file read by 'PROGRAMS ARGS'. + object Object file output by 'PROGRAMS ARGS'. + DEPDIR directory where to store dependencies. + depfile Dependency file to output. + tmpdepfile Temporary file to use when outputting dependencies. + libtool Whether libtool is used (yes/no). + +Report bugs to <bug-automake@gnu.org>. +EOF + exit $? + ;; + -v | --v*) + echo "depcomp $scriptversion" + exit $? + ;; +esac + +# Get the directory component of the given path, and save it in the +# global variables '$dir'. Note that this directory component will +# be either empty or ending with a '/' character. This is deliberate. +set_dir_from () +{ + case $1 in + */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; + *) dir=;; + esac +} + +# Get the suffix-stripped basename of the given path, and save it the +# global variable '$base'. +set_base_from () +{ + base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` +} + +# If no dependency file was actually created by the compiler invocation, +# we still have to create a dummy depfile, to avoid errors with the +# Makefile "include basename.Plo" scheme. +make_dummy_depfile () +{ + echo "#dummy" > "$depfile" +} + +# Factor out some common post-processing of the generated depfile. +# Requires the auxiliary global variable '$tmpdepfile' to be set. +aix_post_process_depfile () +{ + # If the compiler actually managed to produce a dependency file, + # post-process it. + if test -f "$tmpdepfile"; then + # Each line is of the form 'foo.o: dependency.h'. + # Do two passes, one to just change these to + # $object: dependency.h + # and one to simply output + # dependency.h: + # which is needed to avoid the deleted-header problem. + { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" + sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" + } > "$depfile" + rm -f "$tmpdepfile" + else + make_dummy_depfile + fi +} + +# A tabulation character. +tab=' ' +# A newline character. +nl=' +' +# Character ranges might be problematic outside the C locale. +# These definitions help. +upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ +lower=abcdefghijklmnopqrstuvwxyz +digits=0123456789 +alpha=${upper}${lower} + +if test -z "$depmode" || test -z "$source" || test -z "$object"; then + echo "depcomp: Variables source, object and depmode must be set" 1>&2 + exit 1 +fi + +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. +depfile=${depfile-`echo "$object" | + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} + +rm -f "$tmpdepfile" + +# Avoid interferences from the environment. +gccflag= dashmflag= + +# Some modes work just like other modes, but use different flags. We +# parameterize here, but still list the modes in the big case below, +# to make depend.m4 easier to write. Note that we *cannot* use a case +# here, because this file can only contain one case statement. +if test "$depmode" = hp; then + # HP compiler uses -M and no extra arg. + gccflag=-M + depmode=gcc +fi + +if test "$depmode" = dashXmstdout; then + # This is just like dashmstdout with a different argument. + dashmflag=-xM + depmode=dashmstdout +fi + +cygpath_u="cygpath -u -f -" +if test "$depmode" = msvcmsys; then + # This is just like msvisualcpp but w/o cygpath translation. + # Just convert the backslash-escaped backslashes to single forward + # slashes to satisfy depend.m4 + cygpath_u='sed s,\\\\,/,g' + depmode=msvisualcpp +fi + +if test "$depmode" = msvc7msys; then + # This is just like msvc7 but w/o cygpath translation. + # Just convert the backslash-escaped backslashes to single forward + # slashes to satisfy depend.m4 + cygpath_u='sed s,\\\\,/,g' + depmode=msvc7 +fi + +if test "$depmode" = xlc; then + # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. + gccflag=-qmakedep=gcc,-MF + depmode=gcc +fi + +case "$depmode" in +gcc3) +## gcc 3 implements dependency tracking that does exactly what +## we want. Yay! Note: for some reason libtool 1.4 doesn't like +## it if -MD -MP comes after the -MF stuff. Hmm. +## Unfortunately, FreeBSD c89 acceptance of flags depends upon +## the command line argument order; so add the flags where they +## appear in depend2.am. Note that the slowdown incurred here +## affects only configure: in makefiles, %FASTDEP% shortcuts this. + for arg + do + case $arg in + -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; + *) set fnord "$@" "$arg" ;; + esac + shift # fnord + shift # $arg + done + "$@" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + mv "$tmpdepfile" "$depfile" + ;; + +gcc) +## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. +## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. +## (see the conditional assignment to $gccflag above). +## There are various ways to get dependency output from gcc. Here's +## why we pick this rather obscure method: +## - Don't want to use -MD because we'd like the dependencies to end +## up in a subdir. Having to rename by hand is ugly. +## (We might end up doing this anyway to support other compilers.) +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like +## -MM, not -M (despite what the docs say). Also, it might not be +## supported by the other compilers which use the 'gcc' depmode. +## - Using -M directly means running the compiler twice (even worse +## than renaming). + if test -z "$gccflag"; then + gccflag=-MD, + fi + "$@" -Wp,"$gccflag$tmpdepfile" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + # The second -e expression handles DOS-style file names with drive + # letters. + sed -e 's/^[^:]*: / /' \ + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" +## This next piece of magic avoids the "deleted header file" problem. +## The problem is that when a header file which appears in a .P file +## is deleted, the dependency causes make to die (because there is +## typically no way to rebuild the header). We avoid this by adding +## dummy dependencies for each header file. Too bad gcc doesn't do +## this for us directly. +## Some versions of gcc put a space before the ':'. On the theory +## that the space means something, we add a space to the output as +## well. hp depmode also adds that space, but also prefixes the VPATH +## to the object. Take care to not repeat it in the output. +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +sgi) + if test "$libtool" = yes; then + "$@" "-Wp,-MDupdate,$tmpdepfile" + else + "$@" -MDupdate "$tmpdepfile" + fi + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files + echo "$object : \\" > "$depfile" + # Clip off the initial element (the dependent). Don't try to be + # clever and replace this with sed code, as IRIX sed won't handle + # lines with more than a fixed number of characters (4096 in + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; + # the IRIX cc adds comments like '#:fec' to the end of the + # dependency line. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ + | tr "$nl" ' ' >> "$depfile" + echo >> "$depfile" + # The second pass generates a dummy entry for each header file. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ + >> "$depfile" + else + make_dummy_depfile + fi + rm -f "$tmpdepfile" + ;; + +xlc) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +aix) + # The C for AIX Compiler uses -M and outputs the dependencies + # in a .u file. In older versions, this file always lives in the + # current directory. Also, the AIX compiler puts '$object:' at the + # start of each line; $object doesn't have directory information. + # Version 6 uses the directory in both cases. + set_dir_from "$object" + set_base_from "$object" + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.u + tmpdepfile2=$base.u + tmpdepfile3=$dir.libs/$base.u + "$@" -Wc,-M + else + tmpdepfile1=$dir$base.u + tmpdepfile2=$dir$base.u + tmpdepfile3=$dir$base.u + "$@" -M + fi + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + do + test -f "$tmpdepfile" && break + done + aix_post_process_depfile + ;; + +tcc) + # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 + # FIXME: That version still under development at the moment of writing. + # Make that this statement remains true also for stable, released + # versions. + # It will wrap lines (doesn't matter whether long or short) with a + # trailing '\', as in: + # + # foo.o : \ + # foo.c \ + # foo.h \ + # + # It will put a trailing '\' even on the last line, and will use leading + # spaces rather than leading tabs (at least since its commit 0394caf7 + # "Emit spaces for -MD"). + "$@" -MD -MF "$tmpdepfile" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. + # We have to change lines of the first kind to '$object: \'. + sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" + # And for each line of the second kind, we have to emit a 'dep.h:' + # dummy dependency, to avoid the deleted-header problem. + sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" + rm -f "$tmpdepfile" + ;; + +## The order of this option in the case statement is important, since the +## shell code in configure will try each of these formats in the order +## listed in this file. A plain '-MD' option would be understood by many +## compilers, so we must ensure this comes after the gcc and icc options. +pgcc) + # Portland's C compiler understands '-MD'. + # Will always output deps to 'file.d' where file is the root name of the + # source file under compilation, even if file resides in a subdirectory. + # The object file name does not affect the name of the '.d' file. + # pgcc 10.2 will output + # foo.o: sub/foo.c sub/foo.h + # and will wrap long lines using '\' : + # foo.o: sub/foo.c ... \ + # sub/foo.h ... \ + # ... + set_dir_from "$object" + # Use the source, not the object, to determine the base name, since + # that's sadly what pgcc will do too. + set_base_from "$source" + tmpdepfile=$base.d + + # For projects that build the same source file twice into different object + # files, the pgcc approach of using the *source* file root name can cause + # problems in parallel builds. Use a locking strategy to avoid stomping on + # the same $tmpdepfile. + lockdir=$base.d-lock + trap " + echo '$0: caught signal, cleaning up...' >&2 + rmdir '$lockdir' + exit 1 + " 1 2 13 15 + numtries=100 + i=$numtries + while test $i -gt 0; do + # mkdir is a portable test-and-set. + if mkdir "$lockdir" 2>/dev/null; then + # This process acquired the lock. + "$@" -MD + stat=$? + # Release the lock. + rmdir "$lockdir" + break + else + # If the lock is being held by a different process, wait + # until the winning process is done or we timeout. + while test -d "$lockdir" && test $i -gt 0; do + sleep 1 + i=`expr $i - 1` + done + fi + i=`expr $i - 1` + done + trap - 1 2 13 15 + if test $i -le 0; then + echo "$0: failed to acquire lock after $numtries attempts" >&2 + echo "$0: check lockdir '$lockdir'" >&2 + exit 1 + fi + + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + # Each line is of the form `foo.o: dependent.h', + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. + # Do two passes, one to just change these to + # `$object: dependent.h' and one to simply `dependent.h:'. + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process this invocation + # correctly. Breaking it into two sed invocations is a workaround. + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp2) + # The "hp" stanza above does not work with aCC (C++) and HP's ia64 + # compilers, which have integrated preprocessors. The correct option + # to use with these is +Maked; it writes dependencies to a file named + # 'foo.d', which lands next to the object file, wherever that + # happens to be. + # Much of this is similar to the tru64 case; see comments there. + set_dir_from "$object" + set_base_from "$object" + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir.libs/$base.d + "$@" -Wc,+Maked + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + "$@" +Maked + fi + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" + # Add 'dependent.h:' lines. + sed -ne '2,${ + s/^ *// + s/ \\*$// + s/$/:/ + p + }' "$tmpdepfile" >> "$depfile" + else + make_dummy_depfile + fi + rm -f "$tmpdepfile" "$tmpdepfile2" + ;; + +tru64) + # The Tru64 compiler uses -MD to generate dependencies as a side + # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put + # dependencies in 'foo.d' instead, so we check for that too. + # Subdirectories are respected. + set_dir_from "$object" + set_base_from "$object" + + if test "$libtool" = yes; then + # Libtool generates 2 separate objects for the 2 libraries. These + # two compilations output dependencies in $dir.libs/$base.o.d and + # in $dir$base.o.d. We have to check for both files, because + # one of the two compilations can be disabled. We should prefer + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is + # automatically cleaned when .libs/ is deleted, while ignoring + # the former would cause a distcleancheck panic. + tmpdepfile1=$dir$base.o.d # libtool 1.5 + tmpdepfile2=$dir.libs/$base.o.d # Likewise. + tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 + "$@" -Wc,-MD + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + tmpdepfile3=$dir$base.d + "$@" -MD + fi + + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + do + test -f "$tmpdepfile" && break + done + # Same post-processing that is required for AIX mode. + aix_post_process_depfile + ;; + +msvc7) + if test "$libtool" = yes; then + showIncludes=-Wc,-showIncludes + else + showIncludes=-showIncludes + fi + "$@" $showIncludes > "$tmpdepfile" + stat=$? + grep -v '^Note: including file: ' "$tmpdepfile" + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + # The first sed program below extracts the file names and escapes + # backslashes for cygpath. The second sed program outputs the file + # name when reading, but also accumulates all include files in the + # hold buffer in order to output them again at the end. This only + # works with sed implementations that can handle large buffers. + sed < "$tmpdepfile" -n ' +/^Note: including file: *\(.*\)/ { + s//\1/ + s/\\/\\\\/g + p +}' | $cygpath_u | sort -u | sed -n ' +s/ /\\ /g +s/\(.*\)/'"$tab"'\1 \\/p +s/.\(.*\) \\/\1:/ +H +$ { + s/.*/'"$tab"'/ + G + p +}' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvc7msys) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +#nosideeffect) + # This comment above is used by automake to tell side-effect + # dependency tracking mechanisms from slower ones. + +dashmstdout) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout, regardless of -o. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + # Remove '-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + test -z "$dashmflag" && dashmflag=-M + # Require at least two characters before searching for ':' + # in the target name. This is to cope with DOS-style filenames: + # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. + "$@" $dashmflag | + sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" + rm -f "$depfile" + cat < "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process this sed invocation + # correctly. Breaking it into two sed invocations is a workaround. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +dashXmstdout) + # This case only exists to satisfy depend.m4. It is never actually + # run, as this mode is specially recognized in the preamble. + exit 1 + ;; + +makedepend) + "$@" || exit $? + # Remove any Libtool call + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + # X makedepend + shift + cleared=no eat=no + for arg + do + case $cleared in + no) + set ""; shift + cleared=yes ;; + esac + if test $eat = yes; then + eat=no + continue + fi + case "$arg" in + -D*|-I*) + set fnord "$@" "$arg"; shift ;; + # Strip any option that makedepend may not understand. Remove + # the object too, otherwise makedepend will parse it as a source file. + -arch) + eat=yes ;; + -*|$object) + ;; + *) + set fnord "$@" "$arg"; shift ;; + esac + done + obj_suffix=`echo "$object" | sed 's/^.*\././'` + touch "$tmpdepfile" + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" + rm -f "$depfile" + # makedepend may prepend the VPATH from the source file name to the object. + # No need to regex-escape $object, excess matching of '.' is harmless. + sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process the last invocation + # correctly. Breaking it into two sed invocations is a workaround. + sed '1,2d' "$tmpdepfile" \ + | tr ' ' "$nl" \ + | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" "$tmpdepfile".bak + ;; + +cpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + # Remove '-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + "$@" -E \ + | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ + -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ + | sed '$ s: \\$::' > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + cat < "$tmpdepfile" >> "$depfile" + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvisualcpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + IFS=" " + for arg + do + case "$arg" in + -o) + shift + ;; + $object) + shift + ;; + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") + set fnord "$@" + shift + shift + ;; + *) + set fnord "$@" "$arg" + shift + shift + ;; + esac + done + "$@" -E 2>/dev/null | + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" + echo "$tab" >> "$depfile" + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvcmsys) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +none) + exec "$@" + ;; + +*) + echo "Unknown depmode $depmode" 1>&2 + exit 1 + ;; +esac + +exit 0 + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/git-version-gen b/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/git-version-gen new file mode 100644 index 0000000..5617eb8 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/git-version-gen @@ -0,0 +1,158 @@ +#!/bin/sh +# Print a version string. +scriptversion=2010-06-14.19; # UTC + +# Copyright (C) 2007-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 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/>. + +# This script is derived from GIT-VERSION-GEN from GIT: http://git.or.cz/. +# It may be run two ways: +# - from a git repository in which the "git describe" command below +# produces useful output (thus requiring at least one signed tag) +# - from a non-git-repo directory containing a .tarball-version file, which +# presumes this script is invoked like "./git-version-gen .tarball-version". + +# In order to use intra-version strings in your project, you will need two +# separate generated version string files: +# +# .tarball-version - present only in a distribution tarball, and not in +# a checked-out repository. Created with contents that were learned at +# the last time autoconf was run, and used by git-version-gen. Must not +# be present in either $(srcdir) or $(builddir) for git-version-gen to +# give accurate answers during normal development with a checked out tree, +# but must be present in a tarball when there is no version control system. +# Therefore, it cannot be used in any dependencies. GNUmakefile has +# hooks to force a reconfigure at distribution time to get the value +# correct, without penalizing normal development with extra reconfigures. +# +# .version - present in a checked-out repository and in a distribution +# tarball. Usable in dependencies, particularly for files that don't +# want to depend on config.h but do want to track version changes. +# Delete this file prior to any autoconf run where you want to rebuild +# files to pick up a version string change; and leave it stale to +# minimize rebuild time after unrelated changes to configure sources. +# +# It is probably wise to add these two files to .gitignore, so that you +# don't accidentally commit either generated file. +# +# Use the following line in your configure.ac, so that $(VERSION) will +# automatically be up-to-date each time configure is run (and note that +# since configure.ac no longer includes a version string, Makefile rules +# should not depend on configure.ac for version updates). +# +# AC_INIT([GNU project], +# m4_esyscmd([build-aux/git-version-gen .tarball-version]), +# [bug-project@example]) +# +# Then use the following lines in your Makefile.am, so that .version +# will be present for dependencies, and so that .tarball-version will +# exist in distribution tarballs. +# +# BUILT_SOURCES = $(top_srcdir)/.version +# $(top_srcdir)/.version: +# echo $(VERSION) > $@-t && mv $@-t $@ +# dist-hook: +# echo $(VERSION) > $(distdir)/.tarball-version + +case $# in + 1|2) ;; + *) echo 1>&2 "Usage: $0 \$srcdir/.tarball-version" \ + '[TAG-NORMALIZATION-SED-SCRIPT]' + exit 1;; +esac + +tarball_version_file=$1 +tag_sed_script="${2:-s/x/x/}" +nl=' +' + +# Avoid meddling by environment variable of the same name. +v= + +# First see if there is a tarball-only version file. +# then try "git describe", then default. +if test -f $tarball_version_file +then + v=`cat $tarball_version_file` || exit 1 + case $v in + *$nl*) v= ;; # reject multi-line output + [0-9]*) ;; + *) v= ;; + esac + test -z "$v" \ + && echo "$0: WARNING: $tarball_version_file seems to be damaged" 1>&2 +fi + +if test -n "$v" +then + : # use $v +elif test -d .git \ + && v=`git describe --abbrev=4 --match='v*' HEAD 2>/dev/null \ + || git describe --abbrev=4 HEAD 2>/dev/null` \ + && v=`printf '%s\n' "$v" | sed "$tag_sed_script"` \ + && case $v in + v[0-9]*) ;; + *) (exit 1) ;; + esac +then + # Is this a new git that lists number of commits since the last + # tag or the previous older version that did not? + # Newer: v6.10-77-g0f8faeb + # Older: v6.10-g0f8faeb + case $v in + *-*-*) : git describe is okay three part flavor ;; + *-*) + : git describe is older two part flavor + # Recreate the number of commits and rewrite such that the + # result is the same as if we were using the newer version + # of git describe. + vtag=`echo "$v" | sed 's/-.*//'` + numcommits=`git rev-list "$vtag"..HEAD | wc -l` + v=`echo "$v" | sed "s/\(.*\)-\(.*\)/\1-$numcommits-\2/"`; + ;; + esac + + # Change the first '-' to a '.', so version-comparing tools work properly. + # Remove the "g" in git describe's output string, to save a byte. + v=`echo "$v" | sed 's/-/./;s/\(.*\)-g/\1-/'`; +else + v=UNKNOWN +fi + +v=`echo "$v" |sed 's/^v//'` + +# Don't declare a version "dirty" merely because a time stamp has changed. +git update-index --refresh > /dev/null 2>&1 + +dirty=`sh -c 'git diff-index --name-only HEAD' 2>/dev/null` || dirty= +case "$dirty" in + '') ;; + *) # Append the suffix only if there isn't one already. + case $v in + *-dirty) ;; + *) v="$v-dirty" ;; + esac ;; +esac + +# Omit the trailing newline, so that m4_esyscmd can use the result directly. +echo "$v" | tr -d "$nl" + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/install-sh b/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/install-sh new file mode 100644 index 0000000..377bb86 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/install-sh @@ -0,0 +1,527 @@ +#!/bin/sh +# install - install a program, script, or datafile + +scriptversion=2011-11-20.07; # UTC + +# This originates from X11R5 (mit/util/scripts/install.sh), which was +# later released in X11R6 (xc/config/util/install.sh) with the +# following copyright and license. +# +# Copyright (C) 1994 X Consortium +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# +# Except as contained in this notice, the name of the X Consortium shall not +# be used in advertising or otherwise to promote the sale, use or other deal- +# ings in this Software without prior written authorization from the X Consor- +# tium. +# +# +# FSF changes to this file are in the public domain. +# +# Calling this script install-sh is preferred over install.sh, to prevent +# 'make' implicit rules from creating a file called install from it +# when there is no Makefile. +# +# This script is compatible with the BSD install script, but was written +# from scratch. + +nl=' +' +IFS=" "" $nl" + +# set DOITPROG to echo to test this script + +# Don't use :- since 4.3BSD and earlier shells don't like it. +doit=${DOITPROG-} +if test -z "$doit"; then + doit_exec=exec +else + doit_exec=$doit +fi + +# Put in absolute file names if you don't have them in your path; +# or use environment vars. + +chgrpprog=${CHGRPPROG-chgrp} +chmodprog=${CHMODPROG-chmod} +chownprog=${CHOWNPROG-chown} +cmpprog=${CMPPROG-cmp} +cpprog=${CPPROG-cp} +mkdirprog=${MKDIRPROG-mkdir} +mvprog=${MVPROG-mv} +rmprog=${RMPROG-rm} +stripprog=${STRIPPROG-strip} + +posix_glob='?' +initialize_posix_glob=' + test "$posix_glob" != "?" || { + if (set -f) 2>/dev/null; then + posix_glob= + else + posix_glob=: + fi + } +' + +posix_mkdir= + +# Desired mode of installed file. +mode=0755 + +chgrpcmd= +chmodcmd=$chmodprog +chowncmd= +mvcmd=$mvprog +rmcmd="$rmprog -f" +stripcmd= + +src= +dst= +dir_arg= +dst_arg= + +copy_on_change=false +no_target_directory= + +usage="\ +Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE + or: $0 [OPTION]... SRCFILES... DIRECTORY + or: $0 [OPTION]... -t DIRECTORY SRCFILES... + or: $0 [OPTION]... -d DIRECTORIES... + +In the 1st form, copy SRCFILE to DSTFILE. +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. +In the 4th, create DIRECTORIES. + +Options: + --help display this help and exit. + --version display version info and exit. + + -c (ignored) + -C install only if different (preserve the last data modification time) + -d create directories instead of installing files. + -g GROUP $chgrpprog installed files to GROUP. + -m MODE $chmodprog installed files to MODE. + -o USER $chownprog installed files to USER. + -s $stripprog installed files. + -t DIRECTORY install into DIRECTORY. + -T report an error if DSTFILE is a directory. + +Environment variables override the default commands: + CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG + RMPROG STRIPPROG +" + +while test $# -ne 0; do + case $1 in + -c) ;; + + -C) copy_on_change=true;; + + -d) dir_arg=true;; + + -g) chgrpcmd="$chgrpprog $2" + shift;; + + --help) echo "$usage"; exit $?;; + + -m) mode=$2 + case $mode in + *' '* | *' '* | *' +'* | *'*'* | *'?'* | *'['*) + echo "$0: invalid mode: $mode" >&2 + exit 1;; + esac + shift;; + + -o) chowncmd="$chownprog $2" + shift;; + + -s) stripcmd=$stripprog;; + + -t) dst_arg=$2 + # Protect names problematic for 'test' and other utilities. + case $dst_arg in + -* | [=\(\)!]) dst_arg=./$dst_arg;; + esac + shift;; + + -T) no_target_directory=true;; + + --version) echo "$0 $scriptversion"; exit $?;; + + --) shift + break;; + + -*) echo "$0: invalid option: $1" >&2 + exit 1;; + + *) break;; + esac + shift +done + +if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then + # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dst_arg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dst_arg" + shift # fnord + fi + shift # arg + dst_arg=$arg + # Protect names problematic for 'test' and other utilities. + case $dst_arg in + -* | [=\(\)!]) dst_arg=./$dst_arg;; + esac + done +fi + +if test $# -eq 0; then + if test -z "$dir_arg"; then + echo "$0: no input file specified." >&2 + exit 1 + fi + # It's OK to call 'install-sh -d' without argument. + # This can happen when creating conditional directories. + exit 0 +fi + +if test -z "$dir_arg"; then + do_exit='(exit $ret); exit $ret' + trap "ret=129; $do_exit" 1 + trap "ret=130; $do_exit" 2 + trap "ret=141; $do_exit" 13 + trap "ret=143; $do_exit" 15 + + # Set umask so as not to create temps with too-generous modes. + # However, 'strip' requires both read and write access to temps. + case $mode in + # Optimize common cases. + *644) cp_umask=133;; + *755) cp_umask=22;; + + *[0-7]) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw='% 200' + fi + cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; + *) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw=,u+rw + fi + cp_umask=$mode$u_plus_rw;; + esac +fi + +for src +do + # Protect names problematic for 'test' and other utilities. + case $src in + -* | [=\(\)!]) src=./$src;; + esac + + if test -n "$dir_arg"; then + dst=$src + dstdir=$dst + test -d "$dstdir" + dstdir_status=$? + else + + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command + # might cause directories to be created, which would be especially bad + # if $src (and thus $dsttmp) contains '*'. + if test ! -f "$src" && test ! -d "$src"; then + echo "$0: $src does not exist." >&2 + exit 1 + fi + + if test -z "$dst_arg"; then + echo "$0: no destination specified." >&2 + exit 1 + fi + dst=$dst_arg + + # If destination is a directory, append the input filename; won't work + # if double slashes aren't ignored. + if test -d "$dst"; then + if test -n "$no_target_directory"; then + echo "$0: $dst_arg: Is a directory" >&2 + exit 1 + fi + dstdir=$dst + dst=$dstdir/`basename "$src"` + dstdir_status=0 + else + # Prefer dirname, but fall back on a substitute if dirname fails. + dstdir=` + (dirname "$dst") 2>/dev/null || + expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$dst" : 'X\(//\)[^/]' \| \ + X"$dst" : 'X\(//\)$' \| \ + X"$dst" : 'X\(/\)' \| . 2>/dev/null || + echo X"$dst" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q' + ` + + test -d "$dstdir" + dstdir_status=$? + fi + fi + + obsolete_mkdir_used=false + + if test $dstdir_status != 0; then + case $posix_mkdir in + '') + # Create intermediate dirs using mode 755 as modified by the umask. + # This is like FreeBSD 'install' as of 1997-10-28. + umask=`umask` + case $stripcmd.$umask in + # Optimize common cases. + *[2367][2367]) mkdir_umask=$umask;; + .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; + + *[0-7]) + mkdir_umask=`expr $umask + 22 \ + - $umask % 100 % 40 + $umask % 20 \ + - $umask % 10 % 4 + $umask % 2 + `;; + *) mkdir_umask=$umask,go-w;; + esac + + # With -d, create the new directory with the user-specified mode. + # Otherwise, rely on $mkdir_umask. + if test -n "$dir_arg"; then + mkdir_mode=-m$mode + else + mkdir_mode= + fi + + posix_mkdir=false + case $umask in + *[123567][0-7][0-7]) + # POSIX mkdir -p sets u+wx bits regardless of umask, which + # is incompatible with FreeBSD 'install' when (umask & 300) != 0. + ;; + *) + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 + + if (umask $mkdir_umask && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 + then + if test -z "$dir_arg" || { + # Check for POSIX incompatibilities with -m. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or + # other-writable bit of parent directory when it shouldn't. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. + ls_ld_tmpdir=`ls -ld "$tmpdir"` + case $ls_ld_tmpdir in + d????-?r-*) different_mode=700;; + d????-?--*) different_mode=755;; + *) false;; + esac && + $mkdirprog -m$different_mode -p -- "$tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$tmpdir"` + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" + } + } + then posix_mkdir=: + fi + rmdir "$tmpdir/d" "$tmpdir" + else + # Remove any dirs left behind by ancient mkdir implementations. + rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null + fi + trap '' 0;; + esac;; + esac + + if + $posix_mkdir && ( + umask $mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" + ) + then : + else + + # The umask is ridiculous, or mkdir does not conform to POSIX, + # or it failed possibly due to a race condition. Create the + # directory the slow way, step by step, checking for races as we go. + + case $dstdir in + /*) prefix='/';; + [-=\(\)!]*) prefix='./';; + *) prefix='';; + esac + + eval "$initialize_posix_glob" + + oIFS=$IFS + IFS=/ + $posix_glob set -f + set fnord $dstdir + shift + $posix_glob set +f + IFS=$oIFS + + prefixes= + + for d + do + test X"$d" = X && continue + + prefix=$prefix$d + if test -d "$prefix"; then + prefixes= + else + if $posix_mkdir; then + (umask=$mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break + # Don't fail if two instances are running concurrently. + test -d "$prefix" || exit 1 + else + case $prefix in + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; + *) qprefix=$prefix;; + esac + prefixes="$prefixes '$qprefix'" + fi + fi + prefix=$prefix/ + done + + if test -n "$prefixes"; then + # Don't fail if two instances are running concurrently. + (umask $mkdir_umask && + eval "\$doit_exec \$mkdirprog $prefixes") || + test -d "$dstdir" || exit 1 + obsolete_mkdir_used=true + fi + fi + fi + + if test -n "$dir_arg"; then + { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && + { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || + test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 + else + + # Make a couple of temp file names in the proper directory. + dsttmp=$dstdir/_inst.$$_ + rmtmp=$dstdir/_rm.$$_ + + # Trap to clean up those temp files at exit. + trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 + + # Copy the file name to the temp name. + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && + + # and set any options; do chmod last to preserve setuid bits. + # + # If any of these fail, we abort the whole thing. If we want to + # ignore errors from any of these, just make sure not to ignore + # errors from the above "$doit $cpprog $src $dsttmp" command. + # + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && + { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && + { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && + + # If -C, don't bother to copy if it wouldn't change the file. + if $copy_on_change && + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && + + eval "$initialize_posix_glob" && + $posix_glob set -f && + set X $old && old=:$2:$4:$5:$6 && + set X $new && new=:$2:$4:$5:$6 && + $posix_glob set +f && + + test "$old" = "$new" && + $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 + then + rm -f "$dsttmp" + else + # Rename the file to the real destination. + $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || + + # The rename failed, perhaps because mv can't rename something else + # to itself, or perhaps because mv is so ancient that it does not + # support -f. + { + # Now remove or move aside any old file at destination location. + # We try this two ways since rm can't unlink itself on some + # systems and the destination file might be busy for other + # reasons. In this case, the final cleanup might fail but the new + # file should still install successfully. + { + test ! -f "$dst" || + $doit $rmcmd -f "$dst" 2>/dev/null || + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && + { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } + } || + { echo "$0: cannot unlink or rename $dst" >&2 + (exit 1); exit 1 + } + } && + + # Now rename the file to the real destination. + $doit $mvcmd "$dsttmp" "$dst" + } + fi || exit 1 + + trap '' 0 + fi +done + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/ltmain.sh b/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/ltmain.sh new file mode 100644 index 0000000..63ae69d --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/ltmain.sh @@ -0,0 +1,9655 @@ + +# libtool (GNU libtool) 2.4.2 +# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, +# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. +# This is free software; see the source for copying conditions. There is NO +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +# GNU Libtool 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. +# +# As a special exception to the GNU General Public License, +# if you distribute this file as part of a program or library that +# is built using GNU Libtool, you may include this file under the +# same distribution terms that you use for the rest of that program. +# +# GNU Libtool 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 GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, +# or obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +# Usage: $progname [OPTION]... [MODE-ARG]... +# +# Provide generalized library-building support services. +# +# --config show all configuration variables +# --debug enable verbose shell tracing +# -n, --dry-run display commands without modifying any files +# --features display basic configuration information and exit +# --mode=MODE use operation mode MODE +# --preserve-dup-deps don't remove duplicate dependency libraries +# --quiet, --silent don't print informational messages +# --no-quiet, --no-silent +# print informational messages (default) +# --no-warn don't display warning messages +# --tag=TAG use configuration variables from tag TAG +# -v, --verbose print more informational messages than default +# --no-verbose don't print the extra informational messages +# --version print version information +# -h, --help, --help-all print short, long, or detailed help message +# +# MODE must be one of the following: +# +# clean remove files from the build directory +# compile compile a source file into a libtool object +# execute automatically set library path, then run a program +# finish complete the installation of libtool libraries +# install install libraries or executables +# link create a library or an executable +# uninstall remove libraries from an installed directory +# +# MODE-ARGS vary depending on the MODE. When passed as first option, +# `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that. +# Try `$progname --help --mode=MODE' for a more detailed description of MODE. +# +# When reporting a bug, please describe a test case to reproduce it and +# include the following information: +# +# host-triplet: $host +# shell: $SHELL +# compiler: $LTCC +# compiler flags: $LTCFLAGS +# linker: $LD (gnu? $with_gnu_ld) +# $progname: (GNU libtool) 2.4.2 +# automake: $automake_version +# autoconf: $autoconf_version +# +# Report bugs to <bug-libtool@gnu.org>. +# GNU libtool home page: <http://www.gnu.org/software/libtool/>. +# General help using GNU software: <http://www.gnu.org/gethelp/>. + +PROGRAM=libtool +PACKAGE=libtool +VERSION=2.4.2 +TIMESTAMP="" +package_revision=1.3337 + +# Be Bourne compatible +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac +fi +BIN_SH=xpg4; export BIN_SH # for Tru64 +DUALCASE=1; export DUALCASE # for MKS sh + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +$1 +_LTECHO_EOF' +} + +# NLS nuisances: We save the old values to restore during execute mode. +lt_user_locale= +lt_safe_locale= +for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES +do + eval "if test \"\${$lt_var+set}\" = set; then + save_$lt_var=\$$lt_var + $lt_var=C + export $lt_var + lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\" + lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" + fi" +done +LC_ALL=C +LANGUAGE=C +export LANGUAGE LC_ALL + +$lt_unset CDPATH + + +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh +# is ksh but when the shell is invoked as "sh" and the current value of +# the _XPG environment variable is not equal to 1 (one), the special +# positional parameter $0, within a function call, is the name of the +# function. +progpath="$0" + + + +: ${CP="cp -f"} +test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'} +: ${MAKE="make"} +: ${MKDIR="mkdir"} +: ${MV="mv -f"} +: ${RM="rm -f"} +: ${SHELL="${CONFIG_SHELL-/bin/sh}"} +: ${Xsed="$SED -e 1s/^X//"} + +# Global variables: +EXIT_SUCCESS=0 +EXIT_FAILURE=1 +EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. +EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. + +exit_status=$EXIT_SUCCESS + +# Make sure IFS has a sensible default +lt_nl=' +' +IFS=" $lt_nl" + +dirname="s,/[^/]*$,," +basename="s,^.*/,," + +# func_dirname file append nondir_replacement +# Compute the dirname of FILE. If nonempty, add APPEND to the result, +# otherwise set result to NONDIR_REPLACEMENT. +func_dirname () +{ + func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` + if test "X$func_dirname_result" = "X${1}"; then + func_dirname_result="${3}" + else + func_dirname_result="$func_dirname_result${2}" + fi +} # func_dirname may be replaced by extended shell implementation + + +# func_basename file +func_basename () +{ + func_basename_result=`$ECHO "${1}" | $SED "$basename"` +} # func_basename may be replaced by extended shell implementation + + +# func_dirname_and_basename file append nondir_replacement +# perform func_basename and func_dirname in a single function +# call: +# dirname: Compute the dirname of FILE. If nonempty, +# add APPEND to the result, otherwise set result +# to NONDIR_REPLACEMENT. +# value returned in "$func_dirname_result" +# basename: Compute filename of FILE. +# value retuned in "$func_basename_result" +# Implementation must be kept synchronized with func_dirname +# and func_basename. For efficiency, we do not delegate to +# those functions but instead duplicate the functionality here. +func_dirname_and_basename () +{ + # Extract subdirectory from the argument. + func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"` + if test "X$func_dirname_result" = "X${1}"; then + func_dirname_result="${3}" + else + func_dirname_result="$func_dirname_result${2}" + fi + func_basename_result=`$ECHO "${1}" | $SED -e "$basename"` +} # func_dirname_and_basename may be replaced by extended shell implementation + + +# func_stripname prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +# func_strip_suffix prefix name +func_stripname () +{ + case ${2} in + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; + esac +} # func_stripname may be replaced by extended shell implementation + + +# These SED scripts presuppose an absolute path with a trailing slash. +pathcar='s,^/\([^/]*\).*$,\1,' +pathcdr='s,^/[^/]*,,' +removedotparts=':dotsl + s@/\./@/@g + t dotsl + s,/\.$,/,' +collapseslashes='s@/\{1,\}@/@g' +finalslash='s,/*$,/,' + +# func_normal_abspath PATH +# Remove doubled-up and trailing slashes, "." path components, +# and cancel out any ".." path components in PATH after making +# it an absolute path. +# value returned in "$func_normal_abspath_result" +func_normal_abspath () +{ + # Start from root dir and reassemble the path. + func_normal_abspath_result= + func_normal_abspath_tpath=$1 + func_normal_abspath_altnamespace= + case $func_normal_abspath_tpath in + "") + # Empty path, that just means $cwd. + func_stripname '' '/' "`pwd`" + func_normal_abspath_result=$func_stripname_result + return + ;; + # The next three entries are used to spot a run of precisely + # two leading slashes without using negated character classes; + # we take advantage of case's first-match behaviour. + ///*) + # Unusual form of absolute path, do nothing. + ;; + //*) + # Not necessarily an ordinary path; POSIX reserves leading '//' + # and for example Cygwin uses it to access remote file shares + # over CIFS/SMB, so we conserve a leading double slash if found. + func_normal_abspath_altnamespace=/ + ;; + /*) + # Absolute path, do nothing. + ;; + *) + # Relative path, prepend $cwd. + func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath + ;; + esac + # Cancel out all the simple stuff to save iterations. We also want + # the path to end with a slash for ease of parsing, so make sure + # there is one (and only one) here. + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"` + while :; do + # Processed it all yet? + if test "$func_normal_abspath_tpath" = / ; then + # If we ascended to the root using ".." the result may be empty now. + if test -z "$func_normal_abspath_result" ; then + func_normal_abspath_result=/ + fi + break + fi + func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$pathcar"` + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$pathcdr"` + # Figure out what to do with it + case $func_normal_abspath_tcomponent in + "") + # Trailing empty path component, ignore it. + ;; + ..) + # Parent dir; strip last assembled component from result. + func_dirname "$func_normal_abspath_result" + func_normal_abspath_result=$func_dirname_result + ;; + *) + # Actual path component, append it. + func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent + ;; + esac + done + # Restore leading double-slash if one was found on entry. + func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result +} + +# func_relative_path SRCDIR DSTDIR +# generates a relative path from SRCDIR to DSTDIR, with a trailing +# slash if non-empty, suitable for immediately appending a filename +# without needing to append a separator. +# value returned in "$func_relative_path_result" +func_relative_path () +{ + func_relative_path_result= + func_normal_abspath "$1" + func_relative_path_tlibdir=$func_normal_abspath_result + func_normal_abspath "$2" + func_relative_path_tbindir=$func_normal_abspath_result + + # Ascend the tree starting from libdir + while :; do + # check if we have found a prefix of bindir + case $func_relative_path_tbindir in + $func_relative_path_tlibdir) + # found an exact match + func_relative_path_tcancelled= + break + ;; + $func_relative_path_tlibdir*) + # found a matching prefix + func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir" + func_relative_path_tcancelled=$func_stripname_result + if test -z "$func_relative_path_result"; then + func_relative_path_result=. + fi + break + ;; + *) + func_dirname $func_relative_path_tlibdir + func_relative_path_tlibdir=${func_dirname_result} + if test "x$func_relative_path_tlibdir" = x ; then + # Have to descend all the way to the root! + func_relative_path_result=../$func_relative_path_result + func_relative_path_tcancelled=$func_relative_path_tbindir + break + fi + func_relative_path_result=../$func_relative_path_result + ;; + esac + done + + # Now calculate path; take care to avoid doubling-up slashes. + func_stripname '' '/' "$func_relative_path_result" + func_relative_path_result=$func_stripname_result + func_stripname '/' '/' "$func_relative_path_tcancelled" + if test "x$func_stripname_result" != x ; then + func_relative_path_result=${func_relative_path_result}/${func_stripname_result} + fi + + # Normalisation. If bindir is libdir, return empty string, + # else relative path ending with a slash; either way, target + # file name can be directly appended. + if test ! -z "$func_relative_path_result"; then + func_stripname './' '' "$func_relative_path_result/" + func_relative_path_result=$func_stripname_result + fi +} + +# The name of this program: +func_dirname_and_basename "$progpath" +progname=$func_basename_result + +# Make sure we have an absolute path for reexecution: +case $progpath in + [\\/]*|[A-Za-z]:\\*) ;; + *[\\/]*) + progdir=$func_dirname_result + progdir=`cd "$progdir" && pwd` + progpath="$progdir/$progname" + ;; + *) + save_IFS="$IFS" + IFS=${PATH_SEPARATOR-:} + for progdir in $PATH; do + IFS="$save_IFS" + test -x "$progdir/$progname" && break + done + IFS="$save_IFS" + test -n "$progdir" || progdir=`pwd` + progpath="$progdir/$progname" + ;; +esac + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed="${SED}"' -e 1s/^X//' +sed_quote_subst='s/\([`"$\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\(["`\\]\)/\\\1/g' + +# Sed substitution that turns a string into a regex matching for the +# string literally. +sed_make_literal_regex='s,[].[^$\\*\/],\\&,g' + +# Sed substitution that converts a w32 file name or path +# which contains forward slashes, into one that contains +# (escaped) backslashes. A very naive implementation. +lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' + +# Re-`\' parameter expansions in output of double_quote_subst that were +# `\'-ed in input to the same. If an odd number of `\' preceded a '$' +# in input to double_quote_subst, that '$' was protected from expansion. +# Since each input `\' is now two `\'s, look for any number of runs of +# four `\'s followed by two `\'s and then a '$'. `\' that '$'. +bs='\\' +bs2='\\\\' +bs4='\\\\\\\\' +dollar='\$' +sed_double_backslash="\ + s/$bs4/&\\ +/g + s/^$bs2$dollar/$bs&/ + s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g + s/\n//g" + +# Standard options: +opt_dry_run=false +opt_help=false +opt_quiet=false +opt_verbose=false +opt_warning=: + +# func_echo arg... +# Echo program name prefixed message, along with the current mode +# name if it has been set yet. +func_echo () +{ + $ECHO "$progname: ${opt_mode+$opt_mode: }$*" +} + +# func_verbose arg... +# Echo program name prefixed message in verbose mode only. +func_verbose () +{ + $opt_verbose && func_echo ${1+"$@"} + + # A bug in bash halts the script if the last line of a function + # fails when set -e is in force, so we need another command to + # work around that: + : +} + +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "$*" +} + +# func_error arg... +# Echo program name prefixed message to standard error. +func_error () +{ + $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2 +} + +# func_warning arg... +# Echo program name prefixed warning message to standard error. +func_warning () +{ + $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2 + + # bash bug again: + : +} + +# func_fatal_error arg... +# Echo program name prefixed message to standard error, and exit. +func_fatal_error () +{ + func_error ${1+"$@"} + exit $EXIT_FAILURE +} + +# func_fatal_help arg... +# Echo program name prefixed message to standard error, followed by +# a help hint, and exit. +func_fatal_help () +{ + func_error ${1+"$@"} + func_fatal_error "$help" +} +help="Try \`$progname --help' for more information." ## default + + +# func_grep expression filename +# Check whether EXPRESSION matches any line of FILENAME, without output. +func_grep () +{ + $GREP "$1" "$2" >/dev/null 2>&1 +} + + +# func_mkdir_p directory-path +# Make sure the entire path to DIRECTORY-PATH is available. +func_mkdir_p () +{ + my_directory_path="$1" + my_dir_list= + + if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then + + # Protect directory names starting with `-' + case $my_directory_path in + -*) my_directory_path="./$my_directory_path" ;; + esac + + # While some portion of DIR does not yet exist... + while test ! -d "$my_directory_path"; do + # ...make a list in topmost first order. Use a colon delimited + # list incase some portion of path contains whitespace. + my_dir_list="$my_directory_path:$my_dir_list" + + # If the last portion added has no slash in it, the list is done + case $my_directory_path in */*) ;; *) break ;; esac + + # ...otherwise throw away the child directory and loop + my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"` + done + my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'` + + save_mkdir_p_IFS="$IFS"; IFS=':' + for my_dir in $my_dir_list; do + IFS="$save_mkdir_p_IFS" + # mkdir can fail with a `File exist' error if two processes + # try to create one of the directories concurrently. Don't + # stop in that case! + $MKDIR "$my_dir" 2>/dev/null || : + done + IFS="$save_mkdir_p_IFS" + + # Bail out if we (or some other process) failed to create a directory. + test -d "$my_directory_path" || \ + func_fatal_error "Failed to create \`$1'" + fi +} + + +# func_mktempdir [string] +# Make a temporary directory that won't clash with other running +# libtool processes, and avoids race conditions if possible. If +# given, STRING is the basename for that directory. +func_mktempdir () +{ + my_template="${TMPDIR-/tmp}/${1-$progname}" + + if test "$opt_dry_run" = ":"; then + # Return a directory name, but don't create it in dry-run mode + my_tmpdir="${my_template}-$$" + else + + # If mktemp works, use that first and foremost + my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` + + if test ! -d "$my_tmpdir"; then + # Failing that, at least try and use $RANDOM to avoid a race + my_tmpdir="${my_template}-${RANDOM-0}$$" + + save_mktempdir_umask=`umask` + umask 0077 + $MKDIR "$my_tmpdir" + umask $save_mktempdir_umask + fi + + # If we're not in dry-run mode, bomb out on failure + test -d "$my_tmpdir" || \ + func_fatal_error "cannot create temporary directory \`$my_tmpdir'" + fi + + $ECHO "$my_tmpdir" +} + + +# func_quote_for_eval arg +# Aesthetically quote ARG to be evaled later. +# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT +# is double-quoted, suitable for a subsequent eval, whereas +# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters +# which are still active within double quotes backslashified. +func_quote_for_eval () +{ + case $1 in + *[\\\`\"\$]*) + func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;; + *) + func_quote_for_eval_unquoted_result="$1" ;; + esac + + case $func_quote_for_eval_unquoted_result in + # Double-quote args containing shell metacharacters to delay + # word splitting, command substitution and and variable + # expansion for a subsequent eval. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\"" + ;; + *) + func_quote_for_eval_result="$func_quote_for_eval_unquoted_result" + esac +} + + +# func_quote_for_expand arg +# Aesthetically quote ARG to be evaled later; same as above, +# but do not quote variable references. +func_quote_for_expand () +{ + case $1 in + *[\\\`\"]*) + my_arg=`$ECHO "$1" | $SED \ + -e "$double_quote_subst" -e "$sed_double_backslash"` ;; + *) + my_arg="$1" ;; + esac + + case $my_arg in + # Double-quote args containing shell metacharacters to delay + # word splitting and command substitution for a subsequent eval. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + my_arg="\"$my_arg\"" + ;; + esac + + func_quote_for_expand_result="$my_arg" +} + + +# func_show_eval cmd [fail_exp] +# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is +# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP +# is given, then evaluate it. +func_show_eval () +{ + my_cmd="$1" + my_fail_exp="${2-:}" + + ${opt_silent-false} || { + func_quote_for_expand "$my_cmd" + eval "func_echo $func_quote_for_expand_result" + } + + if ${opt_dry_run-false}; then :; else + eval "$my_cmd" + my_status=$? + if test "$my_status" -eq 0; then :; else + eval "(exit $my_status); $my_fail_exp" + fi + fi +} + + +# func_show_eval_locale cmd [fail_exp] +# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is +# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP +# is given, then evaluate it. Use the saved locale for evaluation. +func_show_eval_locale () +{ + my_cmd="$1" + my_fail_exp="${2-:}" + + ${opt_silent-false} || { + func_quote_for_expand "$my_cmd" + eval "func_echo $func_quote_for_expand_result" + } + + if ${opt_dry_run-false}; then :; else + eval "$lt_user_locale + $my_cmd" + my_status=$? + eval "$lt_safe_locale" + if test "$my_status" -eq 0; then :; else + eval "(exit $my_status); $my_fail_exp" + fi + fi +} + +# func_tr_sh +# Turn $1 into a string suitable for a shell variable name. +# Result is stored in $func_tr_sh_result. All characters +# not in the set a-zA-Z0-9_ are replaced with '_'. Further, +# if $1 begins with a digit, a '_' is prepended as well. +func_tr_sh () +{ + case $1 in + [0-9]* | *[!a-zA-Z0-9_]*) + func_tr_sh_result=`$ECHO "$1" | $SED 's/^\([0-9]\)/_\1/; s/[^a-zA-Z0-9_]/_/g'` + ;; + * ) + func_tr_sh_result=$1 + ;; + esac +} + + +# func_version +# Echo version message to standard output and exit. +func_version () +{ + $opt_debug + + $SED -n '/(C)/!b go + :more + /\./!{ + N + s/\n# / / + b more + } + :go + /^# '$PROGRAM' (GNU /,/# warranty; / { + s/^# // + s/^# *$// + s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/ + p + }' < "$progpath" + exit $? +} + +# func_usage +# Echo short help message to standard output and exit. +func_usage () +{ + $opt_debug + + $SED -n '/^# Usage:/,/^# *.*--help/ { + s/^# // + s/^# *$// + s/\$progname/'$progname'/ + p + }' < "$progpath" + echo + $ECHO "run \`$progname --help | more' for full usage" + exit $? +} + +# func_help [NOEXIT] +# Echo long help message to standard output and exit, +# unless 'noexit' is passed as argument. +func_help () +{ + $opt_debug + + $SED -n '/^# Usage:/,/# Report bugs to/ { + :print + s/^# // + s/^# *$// + s*\$progname*'$progname'* + s*\$host*'"$host"'* + s*\$SHELL*'"$SHELL"'* + s*\$LTCC*'"$LTCC"'* + s*\$LTCFLAGS*'"$LTCFLAGS"'* + s*\$LD*'"$LD"'* + s/\$with_gnu_ld/'"$with_gnu_ld"'/ + s/\$automake_version/'"`(${AUTOMAKE-automake} --version) 2>/dev/null |$SED 1q`"'/ + s/\$autoconf_version/'"`(${AUTOCONF-autoconf} --version) 2>/dev/null |$SED 1q`"'/ + p + d + } + /^# .* home page:/b print + /^# General help using/b print + ' < "$progpath" + ret=$? + if test -z "$1"; then + exit $ret + fi +} + +# func_missing_arg argname +# Echo program name prefixed message to standard error and set global +# exit_cmd. +func_missing_arg () +{ + $opt_debug + + func_error "missing argument for $1." + exit_cmd=exit +} + + +# func_split_short_opt shortopt +# Set func_split_short_opt_name and func_split_short_opt_arg shell +# variables after splitting SHORTOPT after the 2nd character. +func_split_short_opt () +{ + my_sed_short_opt='1s/^\(..\).*$/\1/;q' + my_sed_short_rest='1s/^..\(.*\)$/\1/;q' + + func_split_short_opt_name=`$ECHO "$1" | $SED "$my_sed_short_opt"` + func_split_short_opt_arg=`$ECHO "$1" | $SED "$my_sed_short_rest"` +} # func_split_short_opt may be replaced by extended shell implementation + + +# func_split_long_opt longopt +# Set func_split_long_opt_name and func_split_long_opt_arg shell +# variables after splitting LONGOPT at the `=' sign. +func_split_long_opt () +{ + my_sed_long_opt='1s/^\(--[^=]*\)=.*/\1/;q' + my_sed_long_arg='1s/^--[^=]*=//' + + func_split_long_opt_name=`$ECHO "$1" | $SED "$my_sed_long_opt"` + func_split_long_opt_arg=`$ECHO "$1" | $SED "$my_sed_long_arg"` +} # func_split_long_opt may be replaced by extended shell implementation + +exit_cmd=: + + + + + +magic="%%%MAGIC variable%%%" +magic_exe="%%%MAGIC EXE variable%%%" + +# Global variables. +nonopt= +preserve_args= +lo2o="s/\\.lo\$/.${objext}/" +o2lo="s/\\.${objext}\$/.lo/" +extracted_archives= +extracted_serial=0 + +# If this variable is set in any of the actions, the command in it +# will be execed at the end. This prevents here-documents from being +# left over by shells. +exec_cmd= + +# func_append var value +# Append VALUE to the end of shell variable VAR. +func_append () +{ + eval "${1}=\$${1}\${2}" +} # func_append may be replaced by extended shell implementation + +# func_append_quoted var value +# Quote VALUE and append to the end of shell variable VAR, separated +# by a space. +func_append_quoted () +{ + func_quote_for_eval "${2}" + eval "${1}=\$${1}\\ \$func_quote_for_eval_result" +} # func_append_quoted may be replaced by extended shell implementation + + +# func_arith arithmetic-term... +func_arith () +{ + func_arith_result=`expr "${@}"` +} # func_arith may be replaced by extended shell implementation + + +# func_len string +# STRING may not start with a hyphen. +func_len () +{ + func_len_result=`expr "${1}" : ".*" 2>/dev/null || echo $max_cmd_len` +} # func_len may be replaced by extended shell implementation + + +# func_lo2o object +func_lo2o () +{ + func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` +} # func_lo2o may be replaced by extended shell implementation + + +# func_xform libobj-or-source +func_xform () +{ + func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` +} # func_xform may be replaced by extended shell implementation + + +# func_fatal_configuration arg... +# Echo program name prefixed message to standard error, followed by +# a configuration failure hint, and exit. +func_fatal_configuration () +{ + func_error ${1+"$@"} + func_error "See the $PACKAGE documentation for more information." + func_fatal_error "Fatal configuration error." +} + + +# func_config +# Display the configuration for all the tags in this script. +func_config () +{ + re_begincf='^# ### BEGIN LIBTOOL' + re_endcf='^# ### END LIBTOOL' + + # Default configuration. + $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath" + + # Now print the configurations for the tags. + for tagname in $taglist; do + $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath" + done + + exit $? +} + +# func_features +# Display the features supported by this script. +func_features () +{ + echo "host: $host" + if test "$build_libtool_libs" = yes; then + echo "enable shared libraries" + else + echo "disable shared libraries" + fi + if test "$build_old_libs" = yes; then + echo "enable static libraries" + else + echo "disable static libraries" + fi + + exit $? +} + +# func_enable_tag tagname +# Verify that TAGNAME is valid, and either flag an error and exit, or +# enable the TAGNAME tag. We also add TAGNAME to the global $taglist +# variable here. +func_enable_tag () +{ + # Global variable: + tagname="$1" + + re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$" + re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$" + sed_extractcf="/$re_begincf/,/$re_endcf/p" + + # Validate tagname. + case $tagname in + *[!-_A-Za-z0-9,/]*) + func_fatal_error "invalid tag name: $tagname" + ;; + esac + + # Don't test for the "default" C tag, as we know it's + # there but not specially marked. + case $tagname in + CC) ;; + *) + if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then + taglist="$taglist $tagname" + + # Evaluate the configuration. Be careful to quote the path + # and the sed script, to avoid splitting on whitespace, but + # also don't use non-portable quotes within backquotes within + # quotes we have to do it in 2 steps: + extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"` + eval "$extractedcf" + else + func_error "ignoring unknown tag $tagname" + fi + ;; + esac +} + +# func_check_version_match +# Ensure that we are using m4 macros, and libtool script from the same +# release of libtool. +func_check_version_match () +{ + if test "$package_revision" != "$macro_revision"; then + if test "$VERSION" != "$macro_version"; then + if test -z "$macro_version"; then + cat >&2 <<_LT_EOF +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the +$progname: definition of this LT_INIT comes from an older release. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION +$progname: and run autoconf again. +_LT_EOF + else + cat >&2 <<_LT_EOF +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the +$progname: definition of this LT_INIT comes from $PACKAGE $macro_version. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION +$progname: and run autoconf again. +_LT_EOF + fi + else + cat >&2 <<_LT_EOF +$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, +$progname: but the definition of this LT_INIT comes from revision $macro_revision. +$progname: You should recreate aclocal.m4 with macros from revision $package_revision +$progname: of $PACKAGE $VERSION and run autoconf again. +_LT_EOF + fi + + exit $EXIT_MISMATCH + fi +} + + +# Shorthand for --mode=foo, only valid as the first argument +case $1 in +clean|clea|cle|cl) + shift; set dummy --mode clean ${1+"$@"}; shift + ;; +compile|compil|compi|comp|com|co|c) + shift; set dummy --mode compile ${1+"$@"}; shift + ;; +execute|execut|execu|exec|exe|ex|e) + shift; set dummy --mode execute ${1+"$@"}; shift + ;; +finish|finis|fini|fin|fi|f) + shift; set dummy --mode finish ${1+"$@"}; shift + ;; +install|instal|insta|inst|ins|in|i) + shift; set dummy --mode install ${1+"$@"}; shift + ;; +link|lin|li|l) + shift; set dummy --mode link ${1+"$@"}; shift + ;; +uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) + shift; set dummy --mode uninstall ${1+"$@"}; shift + ;; +esac + + + +# Option defaults: +opt_debug=: +opt_dry_run=false +opt_config=false +opt_preserve_dup_deps=false +opt_features=false +opt_finish=false +opt_help=false +opt_help_all=false +opt_silent=: +opt_warning=: +opt_verbose=: +opt_silent=false +opt_verbose=false + + +# Parse options once, thoroughly. This comes as soon as possible in the +# script to make things like `--version' happen as quickly as we can. +{ + # this just eases exit handling + while test $# -gt 0; do + opt="$1" + shift + case $opt in + --debug|-x) opt_debug='set -x' + func_echo "enabling shell trace mode" + $opt_debug + ;; + --dry-run|--dryrun|-n) + opt_dry_run=: + ;; + --config) + opt_config=: +func_config + ;; + --dlopen|-dlopen) + optarg="$1" + opt_dlopen="${opt_dlopen+$opt_dlopen +}$optarg" + shift + ;; + --preserve-dup-deps) + opt_preserve_dup_deps=: + ;; + --features) + opt_features=: +func_features + ;; + --finish) + opt_finish=: +set dummy --mode finish ${1+"$@"}; shift + ;; + --help) + opt_help=: + ;; + --help-all) + opt_help_all=: +opt_help=': help-all' + ;; + --mode) + test $# = 0 && func_missing_arg $opt && break + optarg="$1" + opt_mode="$optarg" +case $optarg in + # Valid mode arguments: + clean|compile|execute|finish|install|link|relink|uninstall) ;; + + # Catch anything else as an error + *) func_error "invalid argument for $opt" + exit_cmd=exit + break + ;; +esac + shift + ;; + --no-silent|--no-quiet) + opt_silent=false +func_append preserve_args " $opt" + ;; + --no-warning|--no-warn) + opt_warning=false +func_append preserve_args " $opt" + ;; + --no-verbose) + opt_verbose=false +func_append preserve_args " $opt" + ;; + --silent|--quiet) + opt_silent=: +func_append preserve_args " $opt" + opt_verbose=false + ;; + --verbose|-v) + opt_verbose=: +func_append preserve_args " $opt" +opt_silent=false + ;; + --tag) + test $# = 0 && func_missing_arg $opt && break + optarg="$1" + opt_tag="$optarg" +func_append preserve_args " $opt $optarg" +func_enable_tag "$optarg" + shift + ;; + + -\?|-h) func_usage ;; + --help) func_help ;; + --version) func_version ;; + + # Separate optargs to long options: + --*=*) + func_split_long_opt "$opt" + set dummy "$func_split_long_opt_name" "$func_split_long_opt_arg" ${1+"$@"} + shift + ;; + + # Separate non-argument short options: + -\?*|-h*|-n*|-v*) + func_split_short_opt "$opt" + set dummy "$func_split_short_opt_name" "-$func_split_short_opt_arg" ${1+"$@"} + shift + ;; + + --) break ;; + -*) func_fatal_help "unrecognized option \`$opt'" ;; + *) set dummy "$opt" ${1+"$@"}; shift; break ;; + esac + done + + # Validate options: + + # save first non-option argument + if test "$#" -gt 0; then + nonopt="$opt" + shift + fi + + # preserve --debug + test "$opt_debug" = : || func_append preserve_args " --debug" + + case $host in + *cygwin* | *mingw* | *pw32* | *cegcc*) + # don't eliminate duplications in $postdeps and $predeps + opt_duplicate_compiler_generated_deps=: + ;; + *) + opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps + ;; + esac + + $opt_help || { + # Sanity checks first: + func_check_version_match + + if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then + func_fatal_configuration "not configured to build any kind of library" + fi + + # Darwin sucks + eval std_shrext=\"$shrext_cmds\" + + # Only execute mode is allowed to have -dlopen flags. + if test -n "$opt_dlopen" && test "$opt_mode" != execute; then + func_error "unrecognized option \`-dlopen'" + $ECHO "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Change the help message to a mode-specific one. + generic_help="$help" + help="Try \`$progname --help --mode=$opt_mode' for more information." + } + + + # Bail if the options were screwed + $exit_cmd $EXIT_FAILURE +} + + + + +## ----------- ## +## Main. ## +## ----------- ## + +# func_lalib_p file +# True iff FILE is a libtool `.la' library or `.lo' object file. +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_lalib_p () +{ + test -f "$1" && + $SED -e 4q "$1" 2>/dev/null \ + | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 +} + +# func_lalib_unsafe_p file +# True iff FILE is a libtool `.la' library or `.lo' object file. +# This function implements the same check as func_lalib_p without +# resorting to external programs. To this end, it redirects stdin and +# closes it afterwards, without saving the original file descriptor. +# As a safety measure, use it only where a negative result would be +# fatal anyway. Works if `file' does not exist. +func_lalib_unsafe_p () +{ + lalib_p=no + if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then + for lalib_p_l in 1 2 3 4 + do + read lalib_p_line + case "$lalib_p_line" in + \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; + esac + done + exec 0<&5 5<&- + fi + test "$lalib_p" = yes +} + +# func_ltwrapper_script_p file +# True iff FILE is a libtool wrapper script +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_ltwrapper_script_p () +{ + func_lalib_p "$1" +} + +# func_ltwrapper_executable_p file +# True iff FILE is a libtool wrapper executable +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_ltwrapper_executable_p () +{ + func_ltwrapper_exec_suffix= + case $1 in + *.exe) ;; + *) func_ltwrapper_exec_suffix=.exe ;; + esac + $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 +} + +# func_ltwrapper_scriptname file +# Assumes file is an ltwrapper_executable +# uses $file to determine the appropriate filename for a +# temporary ltwrapper_script. +func_ltwrapper_scriptname () +{ + func_dirname_and_basename "$1" "" "." + func_stripname '' '.exe' "$func_basename_result" + func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper" +} + +# func_ltwrapper_p file +# True iff FILE is a libtool wrapper script or wrapper executable +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_ltwrapper_p () +{ + func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1" +} + + +# func_execute_cmds commands fail_cmd +# Execute tilde-delimited COMMANDS. +# If FAIL_CMD is given, eval that upon failure. +# FAIL_CMD may read-access the current command in variable CMD! +func_execute_cmds () +{ + $opt_debug + save_ifs=$IFS; IFS='~' + for cmd in $1; do + IFS=$save_ifs + eval cmd=\"$cmd\" + func_show_eval "$cmd" "${2-:}" + done + IFS=$save_ifs +} + + +# func_source file +# Source FILE, adding directory component if necessary. +# Note that it is not necessary on cygwin/mingw to append a dot to +# FILE even if both FILE and FILE.exe exist: automatic-append-.exe +# behavior happens only for exec(3), not for open(2)! Also, sourcing +# `FILE.' does not work on cygwin managed mounts. +func_source () +{ + $opt_debug + case $1 in + */* | *\\*) . "$1" ;; + *) . "./$1" ;; + esac +} + + +# func_resolve_sysroot PATH +# Replace a leading = in PATH with a sysroot. Store the result into +# func_resolve_sysroot_result +func_resolve_sysroot () +{ + func_resolve_sysroot_result=$1 + case $func_resolve_sysroot_result in + =*) + func_stripname '=' '' "$func_resolve_sysroot_result" + func_resolve_sysroot_result=$lt_sysroot$func_stripname_result + ;; + esac +} + +# func_replace_sysroot PATH +# If PATH begins with the sysroot, replace it with = and +# store the result into func_replace_sysroot_result. +func_replace_sysroot () +{ + case "$lt_sysroot:$1" in + ?*:"$lt_sysroot"*) + func_stripname "$lt_sysroot" '' "$1" + func_replace_sysroot_result="=$func_stripname_result" + ;; + *) + # Including no sysroot. + func_replace_sysroot_result=$1 + ;; + esac +} + +# func_infer_tag arg +# Infer tagged configuration to use if any are available and +# if one wasn't chosen via the "--tag" command line option. +# Only attempt this if the compiler in the base compile +# command doesn't match the default compiler. +# arg is usually of the form 'gcc ...' +func_infer_tag () +{ + $opt_debug + if test -n "$available_tags" && test -z "$tagname"; then + CC_quoted= + for arg in $CC; do + func_append_quoted CC_quoted "$arg" + done + CC_expanded=`func_echo_all $CC` + CC_quoted_expanded=`func_echo_all $CC_quoted` + case $@ in + # Blanks in the command may have been stripped by the calling shell, + # but not from the CC environment variable when configure was run. + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;; + # Blanks at the start of $base_compile will cause this to fail + # if we don't check for them as well. + *) + for z in $available_tags; do + if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then + # Evaluate the configuration. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" + CC_quoted= + for arg in $CC; do + # Double-quote args containing other shell metacharacters. + func_append_quoted CC_quoted "$arg" + done + CC_expanded=`func_echo_all $CC` + CC_quoted_expanded=`func_echo_all $CC_quoted` + case "$@ " in + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) + # The compiler in the base compile command matches + # the one in the tagged configuration. + # Assume this is the tagged configuration we want. + tagname=$z + break + ;; + esac + fi + done + # If $tagname still isn't set, then no tagged configuration + # was found and let the user know that the "--tag" command + # line option must be used. + if test -z "$tagname"; then + func_echo "unable to infer tagged configuration" + func_fatal_error "specify a tag with \`--tag'" +# else +# func_verbose "using $tagname tagged configuration" + fi + ;; + esac + fi +} + + + +# func_write_libtool_object output_name pic_name nonpic_name +# Create a libtool object file (analogous to a ".la" file), +# but don't create it if we're doing a dry run. +func_write_libtool_object () +{ + write_libobj=${1} + if test "$build_libtool_libs" = yes; then + write_lobj=\'${2}\' + else + write_lobj=none + fi + + if test "$build_old_libs" = yes; then + write_oldobj=\'${3}\' + else + write_oldobj=none + fi + + $opt_dry_run || { + cat >${write_libobj}T <<EOF +# $write_libobj - a libtool object file +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object=$write_lobj + +# Name of the non-PIC object +non_pic_object=$write_oldobj + +EOF + $MV "${write_libobj}T" "${write_libobj}" + } +} + + +################################################## +# FILE NAME AND PATH CONVERSION HELPER FUNCTIONS # +################################################## + +# func_convert_core_file_wine_to_w32 ARG +# Helper function used by file name conversion functions when $build is *nix, +# and $host is mingw, cygwin, or some other w32 environment. Relies on a +# correctly configured wine environment available, with the winepath program +# in $build's $PATH. +# +# ARG is the $build file name to be converted to w32 format. +# Result is available in $func_convert_core_file_wine_to_w32_result, and will +# be empty on error (or when ARG is empty) +func_convert_core_file_wine_to_w32 () +{ + $opt_debug + func_convert_core_file_wine_to_w32_result="$1" + if test -n "$1"; then + # Unfortunately, winepath does not exit with a non-zero error code, so we + # are forced to check the contents of stdout. On the other hand, if the + # command is not found, the shell will set an exit code of 127 and print + # *an error message* to stdout. So we must check for both error code of + # zero AND non-empty stdout, which explains the odd construction: + func_convert_core_file_wine_to_w32_tmp=`winepath -w "$1" 2>/dev/null` + if test "$?" -eq 0 && test -n "${func_convert_core_file_wine_to_w32_tmp}"; then + func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" | + $SED -e "$lt_sed_naive_backslashify"` + else + func_convert_core_file_wine_to_w32_result= + fi + fi +} +# end: func_convert_core_file_wine_to_w32 + + +# func_convert_core_path_wine_to_w32 ARG +# Helper function used by path conversion functions when $build is *nix, and +# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly +# configured wine environment available, with the winepath program in $build's +# $PATH. Assumes ARG has no leading or trailing path separator characters. +# +# ARG is path to be converted from $build format to win32. +# Result is available in $func_convert_core_path_wine_to_w32_result. +# Unconvertible file (directory) names in ARG are skipped; if no directory names +# are convertible, then the result may be empty. +func_convert_core_path_wine_to_w32 () +{ + $opt_debug + # unfortunately, winepath doesn't convert paths, only file names + func_convert_core_path_wine_to_w32_result="" + if test -n "$1"; then + oldIFS=$IFS + IFS=: + for func_convert_core_path_wine_to_w32_f in $1; do + IFS=$oldIFS + func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f" + if test -n "$func_convert_core_file_wine_to_w32_result" ; then + if test -z "$func_convert_core_path_wine_to_w32_result"; then + func_convert_core_path_wine_to_w32_result="$func_convert_core_file_wine_to_w32_result" + else + func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result" + fi + fi + done + IFS=$oldIFS + fi +} +# end: func_convert_core_path_wine_to_w32 + + +# func_cygpath ARGS... +# Wrapper around calling the cygpath program via LT_CYGPATH. This is used when +# when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2) +# $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or +# (2), returns the Cygwin file name or path in func_cygpath_result (input +# file name or path is assumed to be in w32 format, as previously converted +# from $build's *nix or MSYS format). In case (3), returns the w32 file name +# or path in func_cygpath_result (input file name or path is assumed to be in +# Cygwin format). Returns an empty string on error. +# +# ARGS are passed to cygpath, with the last one being the file name or path to +# be converted. +# +# Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH +# environment variable; do not put it in $PATH. +func_cygpath () +{ + $opt_debug + if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then + func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null` + if test "$?" -ne 0; then + # on failure, ensure result is empty + func_cygpath_result= + fi + else + func_cygpath_result= + func_error "LT_CYGPATH is empty or specifies non-existent file: \`$LT_CYGPATH'" + fi +} +#end: func_cygpath + + +# func_convert_core_msys_to_w32 ARG +# Convert file name or path ARG from MSYS format to w32 format. Return +# result in func_convert_core_msys_to_w32_result. +func_convert_core_msys_to_w32 () +{ + $opt_debug + # awkward: cmd appends spaces to result + func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null | + $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"` +} +#end: func_convert_core_msys_to_w32 + + +# func_convert_file_check ARG1 ARG2 +# Verify that ARG1 (a file name in $build format) was converted to $host +# format in ARG2. Otherwise, emit an error message, but continue (resetting +# func_to_host_file_result to ARG1). +func_convert_file_check () +{ + $opt_debug + if test -z "$2" && test -n "$1" ; then + func_error "Could not determine host file name corresponding to" + func_error " \`$1'" + func_error "Continuing, but uninstalled executables may not work." + # Fallback: + func_to_host_file_result="$1" + fi +} +# end func_convert_file_check + + +# func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH +# Verify that FROM_PATH (a path in $build format) was converted to $host +# format in TO_PATH. Otherwise, emit an error message, but continue, resetting +# func_to_host_file_result to a simplistic fallback value (see below). +func_convert_path_check () +{ + $opt_debug + if test -z "$4" && test -n "$3"; then + func_error "Could not determine the host path corresponding to" + func_error " \`$3'" + func_error "Continuing, but uninstalled executables may not work." + # Fallback. This is a deliberately simplistic "conversion" and + # should not be "improved". See libtool.info. + if test "x$1" != "x$2"; then + lt_replace_pathsep_chars="s|$1|$2|g" + func_to_host_path_result=`echo "$3" | + $SED -e "$lt_replace_pathsep_chars"` + else + func_to_host_path_result="$3" + fi + fi +} +# end func_convert_path_check + + +# func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG +# Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT +# and appending REPL if ORIG matches BACKPAT. +func_convert_path_front_back_pathsep () +{ + $opt_debug + case $4 in + $1 ) func_to_host_path_result="$3$func_to_host_path_result" + ;; + esac + case $4 in + $2 ) func_append func_to_host_path_result "$3" + ;; + esac +} +# end func_convert_path_front_back_pathsep + + +################################################## +# $build to $host FILE NAME CONVERSION FUNCTIONS # +################################################## +# invoked via `$to_host_file_cmd ARG' +# +# In each case, ARG is the path to be converted from $build to $host format. +# Result will be available in $func_to_host_file_result. + + +# func_to_host_file ARG +# Converts the file name ARG from $build format to $host format. Return result +# in func_to_host_file_result. +func_to_host_file () +{ + $opt_debug + $to_host_file_cmd "$1" +} +# end func_to_host_file + + +# func_to_tool_file ARG LAZY +# converts the file name ARG from $build format to toolchain format. Return +# result in func_to_tool_file_result. If the conversion in use is listed +# in (the comma separated) LAZY, no conversion takes place. +func_to_tool_file () +{ + $opt_debug + case ,$2, in + *,"$to_tool_file_cmd",*) + func_to_tool_file_result=$1 + ;; + *) + $to_tool_file_cmd "$1" + func_to_tool_file_result=$func_to_host_file_result + ;; + esac +} +# end func_to_tool_file + + +# func_convert_file_noop ARG +# Copy ARG to func_to_host_file_result. +func_convert_file_noop () +{ + func_to_host_file_result="$1" +} +# end func_convert_file_noop + + +# func_convert_file_msys_to_w32 ARG +# Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic +# conversion to w32 is not available inside the cwrapper. Returns result in +# func_to_host_file_result. +func_convert_file_msys_to_w32 () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + func_convert_core_msys_to_w32 "$1" + func_to_host_file_result="$func_convert_core_msys_to_w32_result" + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_msys_to_w32 + + +# func_convert_file_cygwin_to_w32 ARG +# Convert file name ARG from Cygwin to w32 format. Returns result in +# func_to_host_file_result. +func_convert_file_cygwin_to_w32 () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + # because $build is cygwin, we call "the" cygpath in $PATH; no need to use + # LT_CYGPATH in this case. + func_to_host_file_result=`cygpath -m "$1"` + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_cygwin_to_w32 + + +# func_convert_file_nix_to_w32 ARG +# Convert file name ARG from *nix to w32 format. Requires a wine environment +# and a working winepath. Returns result in func_to_host_file_result. +func_convert_file_nix_to_w32 () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + func_convert_core_file_wine_to_w32 "$1" + func_to_host_file_result="$func_convert_core_file_wine_to_w32_result" + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_nix_to_w32 + + +# func_convert_file_msys_to_cygwin ARG +# Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. +# Returns result in func_to_host_file_result. +func_convert_file_msys_to_cygwin () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + func_convert_core_msys_to_w32 "$1" + func_cygpath -u "$func_convert_core_msys_to_w32_result" + func_to_host_file_result="$func_cygpath_result" + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_msys_to_cygwin + + +# func_convert_file_nix_to_cygwin ARG +# Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed +# in a wine environment, working winepath, and LT_CYGPATH set. Returns result +# in func_to_host_file_result. +func_convert_file_nix_to_cygwin () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + # convert from *nix to w32, then use cygpath to convert from w32 to cygwin. + func_convert_core_file_wine_to_w32 "$1" + func_cygpath -u "$func_convert_core_file_wine_to_w32_result" + func_to_host_file_result="$func_cygpath_result" + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_nix_to_cygwin + + +############################################# +# $build to $host PATH CONVERSION FUNCTIONS # +############################################# +# invoked via `$to_host_path_cmd ARG' +# +# In each case, ARG is the path to be converted from $build to $host format. +# The result will be available in $func_to_host_path_result. +# +# Path separators are also converted from $build format to $host format. If +# ARG begins or ends with a path separator character, it is preserved (but +# converted to $host format) on output. +# +# All path conversion functions are named using the following convention: +# file name conversion function : func_convert_file_X_to_Y () +# path conversion function : func_convert_path_X_to_Y () +# where, for any given $build/$host combination the 'X_to_Y' value is the +# same. If conversion functions are added for new $build/$host combinations, +# the two new functions must follow this pattern, or func_init_to_host_path_cmd +# will break. + + +# func_init_to_host_path_cmd +# Ensures that function "pointer" variable $to_host_path_cmd is set to the +# appropriate value, based on the value of $to_host_file_cmd. +to_host_path_cmd= +func_init_to_host_path_cmd () +{ + $opt_debug + if test -z "$to_host_path_cmd"; then + func_stripname 'func_convert_file_' '' "$to_host_file_cmd" + to_host_path_cmd="func_convert_path_${func_stripname_result}" + fi +} + + +# func_to_host_path ARG +# Converts the path ARG from $build format to $host format. Return result +# in func_to_host_path_result. +func_to_host_path () +{ + $opt_debug + func_init_to_host_path_cmd + $to_host_path_cmd "$1" +} +# end func_to_host_path + + +# func_convert_path_noop ARG +# Copy ARG to func_to_host_path_result. +func_convert_path_noop () +{ + func_to_host_path_result="$1" +} +# end func_convert_path_noop + + +# func_convert_path_msys_to_w32 ARG +# Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic +# conversion to w32 is not available inside the cwrapper. Returns result in +# func_to_host_path_result. +func_convert_path_msys_to_w32 () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # Remove leading and trailing path separator characters from ARG. MSYS + # behavior is inconsistent here; cygpath turns them into '.;' and ';.'; + # and winepath ignores them completely. + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" + func_to_host_path_result="$func_convert_core_msys_to_w32_result" + func_convert_path_check : ";" \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" + fi +} +# end func_convert_path_msys_to_w32 + + +# func_convert_path_cygwin_to_w32 ARG +# Convert path ARG from Cygwin to w32 format. Returns result in +# func_to_host_file_result. +func_convert_path_cygwin_to_w32 () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # See func_convert_path_msys_to_w32: + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"` + func_convert_path_check : ";" \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" + fi +} +# end func_convert_path_cygwin_to_w32 + + +# func_convert_path_nix_to_w32 ARG +# Convert path ARG from *nix to w32 format. Requires a wine environment and +# a working winepath. Returns result in func_to_host_file_result. +func_convert_path_nix_to_w32 () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # See func_convert_path_msys_to_w32: + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" + func_to_host_path_result="$func_convert_core_path_wine_to_w32_result" + func_convert_path_check : ";" \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" + fi +} +# end func_convert_path_nix_to_w32 + + +# func_convert_path_msys_to_cygwin ARG +# Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. +# Returns result in func_to_host_file_result. +func_convert_path_msys_to_cygwin () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # See func_convert_path_msys_to_w32: + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" + func_cygpath -u -p "$func_convert_core_msys_to_w32_result" + func_to_host_path_result="$func_cygpath_result" + func_convert_path_check : : \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" : "$1" + fi +} +# end func_convert_path_msys_to_cygwin + + +# func_convert_path_nix_to_cygwin ARG +# Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a +# a wine environment, working winepath, and LT_CYGPATH set. Returns result in +# func_to_host_file_result. +func_convert_path_nix_to_cygwin () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # Remove leading and trailing path separator characters from + # ARG. msys behavior is inconsistent here, cygpath turns them + # into '.;' and ';.', and winepath ignores them completely. + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" + func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result" + func_to_host_path_result="$func_cygpath_result" + func_convert_path_check : : \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" : "$1" + fi +} +# end func_convert_path_nix_to_cygwin + + +# func_mode_compile arg... +func_mode_compile () +{ + $opt_debug + # Get the compilation command and the source file. + base_compile= + srcfile="$nonopt" # always keep a non-empty value in "srcfile" + suppress_opt=yes + suppress_output= + arg_mode=normal + libobj= + later= + pie_flag= + + for arg + do + case $arg_mode in + arg ) + # do not "continue". Instead, add this to base_compile + lastarg="$arg" + arg_mode=normal + ;; + + target ) + libobj="$arg" + arg_mode=normal + continue + ;; + + normal ) + # Accept any command-line options. + case $arg in + -o) + test -n "$libobj" && \ + func_fatal_error "you cannot specify \`-o' more than once" + arg_mode=target + continue + ;; + + -pie | -fpie | -fPIE) + func_append pie_flag " $arg" + continue + ;; + + -shared | -static | -prefer-pic | -prefer-non-pic) + func_append later " $arg" + continue + ;; + + -no-suppress) + suppress_opt=no + continue + ;; + + -Xcompiler) + arg_mode=arg # the next one goes into the "base_compile" arg list + continue # The current "srcfile" will either be retained or + ;; # replaced later. I would guess that would be a bug. + + -Wc,*) + func_stripname '-Wc,' '' "$arg" + args=$func_stripname_result + lastarg= + save_ifs="$IFS"; IFS=',' + for arg in $args; do + IFS="$save_ifs" + func_append_quoted lastarg "$arg" + done + IFS="$save_ifs" + func_stripname ' ' '' "$lastarg" + lastarg=$func_stripname_result + + # Add the arguments to base_compile. + func_append base_compile " $lastarg" + continue + ;; + + *) + # Accept the current argument as the source file. + # The previous "srcfile" becomes the current argument. + # + lastarg="$srcfile" + srcfile="$arg" + ;; + esac # case $arg + ;; + esac # case $arg_mode + + # Aesthetically quote the previous argument. + func_append_quoted base_compile "$lastarg" + done # for arg + + case $arg_mode in + arg) + func_fatal_error "you must specify an argument for -Xcompile" + ;; + target) + func_fatal_error "you must specify a target with \`-o'" + ;; + *) + # Get the name of the library object. + test -z "$libobj" && { + func_basename "$srcfile" + libobj="$func_basename_result" + } + ;; + esac + + # Recognize several different file suffixes. + # If the user specifies -o file.o, it is replaced with file.lo + case $libobj in + *.[cCFSifmso] | \ + *.ada | *.adb | *.ads | *.asm | \ + *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \ + *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup) + func_xform "$libobj" + libobj=$func_xform_result + ;; + esac + + case $libobj in + *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;; + *) + func_fatal_error "cannot determine name of library object from \`$libobj'" + ;; + esac + + func_infer_tag $base_compile + + for arg in $later; do + case $arg in + -shared) + test "$build_libtool_libs" != yes && \ + func_fatal_configuration "can not build a shared library" + build_old_libs=no + continue + ;; + + -static) + build_libtool_libs=no + build_old_libs=yes + continue + ;; + + -prefer-pic) + pic_mode=yes + continue + ;; + + -prefer-non-pic) + pic_mode=no + continue + ;; + esac + done + + func_quote_for_eval "$libobj" + test "X$libobj" != "X$func_quote_for_eval_result" \ + && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \ + && func_warning "libobj name \`$libobj' may not contain shell special characters." + func_dirname_and_basename "$obj" "/" "" + objname="$func_basename_result" + xdir="$func_dirname_result" + lobj=${xdir}$objdir/$objname + + test -z "$base_compile" && \ + func_fatal_help "you must specify a compilation command" + + # Delete any leftover library objects. + if test "$build_old_libs" = yes; then + removelist="$obj $lobj $libobj ${libobj}T" + else + removelist="$lobj $libobj ${libobj}T" + fi + + # On Cygwin there's no "real" PIC flag so we must build both object types + case $host_os in + cygwin* | mingw* | pw32* | os2* | cegcc*) + pic_mode=default + ;; + esac + if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then + # non-PIC code in shared libraries is not supported + pic_mode=default + fi + + # Calculate the filename of the output object if compiler does + # not support -o with -c + if test "$compiler_c_o" = no; then + output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext} + lockfile="$output_obj.lock" + else + output_obj= + need_locks=no + lockfile= + fi + + # Lock this critical section if it is needed + # We use this script file to make the link, it avoids creating a new file + if test "$need_locks" = yes; then + until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do + func_echo "Waiting for $lockfile to be removed" + sleep 2 + done + elif test "$need_locks" = warn; then + if test -f "$lockfile"; then + $ECHO "\ +*** ERROR, $lockfile exists and contains: +`cat $lockfile 2>/dev/null` + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $opt_dry_run || $RM $removelist + exit $EXIT_FAILURE + fi + func_append removelist " $output_obj" + $ECHO "$srcfile" > "$lockfile" + fi + + $opt_dry_run || $RM $removelist + func_append removelist " $lockfile" + trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 + + func_to_tool_file "$srcfile" func_convert_file_msys_to_w32 + srcfile=$func_to_tool_file_result + func_quote_for_eval "$srcfile" + qsrcfile=$func_quote_for_eval_result + + # Only build a PIC object if we are building libtool libraries. + if test "$build_libtool_libs" = yes; then + # Without this assignment, base_compile gets emptied. + fbsd_hideous_sh_bug=$base_compile + + if test "$pic_mode" != no; then + command="$base_compile $qsrcfile $pic_flag" + else + # Don't build PIC code + command="$base_compile $qsrcfile" + fi + + func_mkdir_p "$xdir$objdir" + + if test -z "$output_obj"; then + # Place PIC objects in $objdir + func_append command " -o $lobj" + fi + + func_show_eval_locale "$command" \ + 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' + + if test "$need_locks" = warn && + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then + $ECHO "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $opt_dry_run || $RM $removelist + exit $EXIT_FAILURE + fi + + # Just move the object if needed, then go on to compile the next one + if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then + func_show_eval '$MV "$output_obj" "$lobj"' \ + 'error=$?; $opt_dry_run || $RM $removelist; exit $error' + fi + + # Allow error messages only from the first compilation. + if test "$suppress_opt" = yes; then + suppress_output=' >/dev/null 2>&1' + fi + fi + + # Only build a position-dependent object if we build old libraries. + if test "$build_old_libs" = yes; then + if test "$pic_mode" != yes; then + # Don't build PIC code + command="$base_compile $qsrcfile$pie_flag" + else + command="$base_compile $qsrcfile $pic_flag" + fi + if test "$compiler_c_o" = yes; then + func_append command " -o $obj" + fi + + # Suppress compiler output if we already did a PIC compilation. + func_append command "$suppress_output" + func_show_eval_locale "$command" \ + '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' + + if test "$need_locks" = warn && + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then + $ECHO "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $opt_dry_run || $RM $removelist + exit $EXIT_FAILURE + fi + + # Just move the object if needed + if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then + func_show_eval '$MV "$output_obj" "$obj"' \ + 'error=$?; $opt_dry_run || $RM $removelist; exit $error' + fi + fi + + $opt_dry_run || { + func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" + + # Unlock the critical section if it was locked + if test "$need_locks" != no; then + removelist=$lockfile + $RM "$lockfile" + fi + } + + exit $EXIT_SUCCESS +} + +$opt_help || { + test "$opt_mode" = compile && func_mode_compile ${1+"$@"} +} + +func_mode_help () +{ + # We need to display help for each of the modes. + case $opt_mode in + "") + # Generic help is extracted from the usage comments + # at the start of this file. + func_help + ;; + + clean) + $ECHO \ +"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE... + +Remove files from the build directory. + +RM is the name of the program to use to delete files associated with each FILE +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed +to RM. + +If FILE is a libtool library, object or program, all the files associated +with it are deleted. Otherwise, only FILE itself is deleted using RM." + ;; + + compile) + $ECHO \ +"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE + +Compile a source file into a libtool library object. + +This mode accepts the following additional options: + + -o OUTPUT-FILE set the output file name to OUTPUT-FILE + -no-suppress do not suppress compiler output for multiple passes + -prefer-pic try to build PIC objects only + -prefer-non-pic try to build non-PIC objects only + -shared do not build a \`.o' file suitable for static linking + -static only build a \`.o' file suitable for static linking + -Wc,FLAG pass FLAG directly to the compiler + +COMPILE-COMMAND is a command to be used in creating a \`standard' object file +from the given SOURCEFILE. + +The output file name is determined by removing the directory component from +SOURCEFILE, then substituting the C source code suffix \`.c' with the +library object suffix, \`.lo'." + ;; + + execute) + $ECHO \ +"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]... + +Automatically set library path, then run a program. + +This mode accepts the following additional options: + + -dlopen FILE add the directory containing FILE to the library path + +This mode sets the library path environment variable according to \`-dlopen' +flags. + +If any of the ARGS are libtool executable wrappers, then they are translated +into their corresponding uninstalled binary, and any of their required library +directories are added to the library path. + +Then, COMMAND is executed, with ARGS as arguments." + ;; + + finish) + $ECHO \ +"Usage: $progname [OPTION]... --mode=finish [LIBDIR]... + +Complete the installation of libtool libraries. + +Each LIBDIR is a directory that contains libtool libraries. + +The commands that this mode executes may require superuser privileges. Use +the \`--dry-run' option if you just want to see what would be executed." + ;; + + install) + $ECHO \ +"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND... + +Install executables or libraries. + +INSTALL-COMMAND is the installation command. The first component should be +either the \`install' or \`cp' program. + +The following components of INSTALL-COMMAND are treated specially: + + -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation + +The rest of the components are interpreted as arguments to that command (only +BSD-compatible install options are recognized)." + ;; + + link) + $ECHO \ +"Usage: $progname [OPTION]... --mode=link LINK-COMMAND... + +Link object files or libraries together to form another library, or to +create an executable program. + +LINK-COMMAND is a command using the C compiler that you would use to create +a program from several object files. + +The following components of LINK-COMMAND are treated specially: + + -all-static do not do any dynamic linking at all + -avoid-version do not add a version suffix if possible + -bindir BINDIR specify path to binaries directory (for systems where + libraries must be found in the PATH setting at runtime) + -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime + -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols + -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) + -export-symbols SYMFILE + try to export only the symbols listed in SYMFILE + -export-symbols-regex REGEX + try to export only the symbols matching REGEX + -LLIBDIR search LIBDIR for required installed libraries + -lNAME OUTPUT-FILE requires the installed library libNAME + -module build a library that can dlopened + -no-fast-install disable the fast-install mode + -no-install link a not-installable executable + -no-undefined declare that a library does not refer to external symbols + -o OUTPUT-FILE create OUTPUT-FILE from the specified objects + -objectlist FILE Use a list of object files found in FILE to specify objects + -precious-files-regex REGEX + don't remove output files matching REGEX + -release RELEASE specify package release information + -rpath LIBDIR the created library will eventually be installed in LIBDIR + -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries + -shared only do dynamic linking of libtool libraries + -shrext SUFFIX override the standard shared library file extension + -static do not do any dynamic linking of uninstalled libtool libraries + -static-libtool-libs + do not do any dynamic linking of libtool libraries + -version-info CURRENT[:REVISION[:AGE]] + specify library version info [each variable defaults to 0] + -weak LIBNAME declare that the target provides the LIBNAME interface + -Wc,FLAG + -Xcompiler FLAG pass linker-specific FLAG directly to the compiler + -Wl,FLAG + -Xlinker FLAG pass linker-specific FLAG directly to the linker + -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC) + +All other options (arguments beginning with \`-') are ignored. + +Every other argument is treated as a filename. Files ending in \`.la' are +treated as uninstalled libtool libraries, other files are standard or library +object files. + +If the OUTPUT-FILE ends in \`.la', then a libtool library is created, +only library objects (\`.lo' files) may be specified, and \`-rpath' is +required, except when creating a convenience library. + +If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created +using \`ar' and \`ranlib', or on Windows using \`lib'. + +If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file +is created, otherwise an executable program is created." + ;; + + uninstall) + $ECHO \ +"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... + +Remove libraries from an installation directory. + +RM is the name of the program to use to delete files associated with each FILE +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed +to RM. + +If FILE is a libtool library, all the files associated with it are deleted. +Otherwise, only FILE itself is deleted using RM." + ;; + + *) + func_fatal_help "invalid operation mode \`$opt_mode'" + ;; + esac + + echo + $ECHO "Try \`$progname --help' for more information about other modes." +} + +# Now that we've collected a possible --mode arg, show help if necessary +if $opt_help; then + if test "$opt_help" = :; then + func_mode_help + else + { + func_help noexit + for opt_mode in compile link execute install finish uninstall clean; do + func_mode_help + done + } | sed -n '1p; 2,$s/^Usage:/ or: /p' + { + func_help noexit + for opt_mode in compile link execute install finish uninstall clean; do + echo + func_mode_help + done + } | + sed '1d + /^When reporting/,/^Report/{ + H + d + } + $x + /information about other modes/d + /more detailed .*MODE/d + s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/' + fi + exit $? +fi + + +# func_mode_execute arg... +func_mode_execute () +{ + $opt_debug + # The first argument is the command name. + cmd="$nonopt" + test -z "$cmd" && \ + func_fatal_help "you must specify a COMMAND" + + # Handle -dlopen flags immediately. + for file in $opt_dlopen; do + test -f "$file" \ + || func_fatal_help "\`$file' is not a file" + + dir= + case $file in + *.la) + func_resolve_sysroot "$file" + file=$func_resolve_sysroot_result + + # Check to see that this really is a libtool archive. + func_lalib_unsafe_p "$file" \ + || func_fatal_help "\`$lib' is not a valid libtool archive" + + # Read the libtool library. + dlname= + library_names= + func_source "$file" + + # Skip this library if it cannot be dlopened. + if test -z "$dlname"; then + # Warn if it was a shared library. + test -n "$library_names" && \ + func_warning "\`$file' was not linked with \`-export-dynamic'" + continue + fi + + func_dirname "$file" "" "." + dir="$func_dirname_result" + + if test -f "$dir/$objdir/$dlname"; then + func_append dir "/$objdir" + else + if test ! -f "$dir/$dlname"; then + func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" + fi + fi + ;; + + *.lo) + # Just add the directory containing the .lo file. + func_dirname "$file" "" "." + dir="$func_dirname_result" + ;; + + *) + func_warning "\`-dlopen' is ignored for non-libtool libraries and objects" + continue + ;; + esac + + # Get the absolute pathname. + absdir=`cd "$dir" && pwd` + test -n "$absdir" && dir="$absdir" + + # Now add the directory to shlibpath_var. + if eval "test -z \"\$$shlibpath_var\""; then + eval "$shlibpath_var=\"\$dir\"" + else + eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" + fi + done + + # This variable tells wrapper scripts just to set shlibpath_var + # rather than running their programs. + libtool_execute_magic="$magic" + + # Check if any of the arguments is a wrapper script. + args= + for file + do + case $file in + -* | *.la | *.lo ) ;; + *) + # Do a test to see if this is really a libtool program. + if func_ltwrapper_script_p "$file"; then + func_source "$file" + # Transform arg to wrapped name. + file="$progdir/$program" + elif func_ltwrapper_executable_p "$file"; then + func_ltwrapper_scriptname "$file" + func_source "$func_ltwrapper_scriptname_result" + # Transform arg to wrapped name. + file="$progdir/$program" + fi + ;; + esac + # Quote arguments (to preserve shell metacharacters). + func_append_quoted args "$file" + done + + if test "X$opt_dry_run" = Xfalse; then + if test -n "$shlibpath_var"; then + # Export the shlibpath_var. + eval "export $shlibpath_var" + fi + + # Restore saved environment variables + for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES + do + eval "if test \"\${save_$lt_var+set}\" = set; then + $lt_var=\$save_$lt_var; export $lt_var + else + $lt_unset $lt_var + fi" + done + + # Now prepare to actually exec the command. + exec_cmd="\$cmd$args" + else + # Display what would be done. + if test -n "$shlibpath_var"; then + eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" + echo "export $shlibpath_var" + fi + $ECHO "$cmd$args" + exit $EXIT_SUCCESS + fi +} + +test "$opt_mode" = execute && func_mode_execute ${1+"$@"} + + +# func_mode_finish arg... +func_mode_finish () +{ + $opt_debug + libs= + libdirs= + admincmds= + + for opt in "$nonopt" ${1+"$@"} + do + if test -d "$opt"; then + func_append libdirs " $opt" + + elif test -f "$opt"; then + if func_lalib_unsafe_p "$opt"; then + func_append libs " $opt" + else + func_warning "\`$opt' is not a valid libtool archive" + fi + + else + func_fatal_error "invalid argument \`$opt'" + fi + done + + if test -n "$libs"; then + if test -n "$lt_sysroot"; then + sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"` + sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;" + else + sysroot_cmd= + fi + + # Remove sysroot references + if $opt_dry_run; then + for lib in $libs; do + echo "removing references to $lt_sysroot and \`=' prefixes from $lib" + done + else + tmpdir=`func_mktempdir` + for lib in $libs; do + sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \ + > $tmpdir/tmp-la + mv -f $tmpdir/tmp-la $lib + done + ${RM}r "$tmpdir" + fi + fi + + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then + for libdir in $libdirs; do + if test -n "$finish_cmds"; then + # Do each command in the finish commands. + func_execute_cmds "$finish_cmds" 'admincmds="$admincmds +'"$cmd"'"' + fi + if test -n "$finish_eval"; then + # Do the single finish_eval. + eval cmds=\"$finish_eval\" + $opt_dry_run || eval "$cmds" || func_append admincmds " + $cmds" + fi + done + fi + + # Exit here if they wanted silent mode. + $opt_silent && exit $EXIT_SUCCESS + + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then + echo "----------------------------------------------------------------------" + echo "Libraries have been installed in:" + for libdir in $libdirs; do + $ECHO " $libdir" + done + echo + echo "If you ever happen to want to link against installed libraries" + echo "in a given directory, LIBDIR, you must either use libtool, and" + echo "specify the full pathname of the library, or use the \`-LLIBDIR'" + echo "flag during linking and do at least one of the following:" + if test -n "$shlibpath_var"; then + echo " - add LIBDIR to the \`$shlibpath_var' environment variable" + echo " during execution" + fi + if test -n "$runpath_var"; then + echo " - add LIBDIR to the \`$runpath_var' environment variable" + echo " during linking" + fi + if test -n "$hardcode_libdir_flag_spec"; then + libdir=LIBDIR + eval flag=\"$hardcode_libdir_flag_spec\" + + $ECHO " - use the \`$flag' linker flag" + fi + if test -n "$admincmds"; then + $ECHO " - have your system administrator run these commands:$admincmds" + fi + if test -f /etc/ld.so.conf; then + echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" + fi + echo + + echo "See any operating system documentation about shared libraries for" + case $host in + solaris2.[6789]|solaris2.1[0-9]) + echo "more information, such as the ld(1), crle(1) and ld.so(8) manual" + echo "pages." + ;; + *) + echo "more information, such as the ld(1) and ld.so(8) manual pages." + ;; + esac + echo "----------------------------------------------------------------------" + fi + exit $EXIT_SUCCESS +} + +test "$opt_mode" = finish && func_mode_finish ${1+"$@"} + + +# func_mode_install arg... +func_mode_install () +{ + $opt_debug + # There may be an optional sh(1) argument at the beginning of + # install_prog (especially on Windows NT). + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || + # Allow the use of GNU shtool's install command. + case $nonopt in *shtool*) :;; *) false;; esac; then + # Aesthetically quote it. + func_quote_for_eval "$nonopt" + install_prog="$func_quote_for_eval_result " + arg=$1 + shift + else + install_prog= + arg=$nonopt + fi + + # The real first argument should be the name of the installation program. + # Aesthetically quote it. + func_quote_for_eval "$arg" + func_append install_prog "$func_quote_for_eval_result" + install_shared_prog=$install_prog + case " $install_prog " in + *[\\\ /]cp\ *) install_cp=: ;; + *) install_cp=false ;; + esac + + # We need to accept at least all the BSD install flags. + dest= + files= + opts= + prev= + install_type= + isdir=no + stripme= + no_mode=: + for arg + do + arg2= + if test -n "$dest"; then + func_append files " $dest" + dest=$arg + continue + fi + + case $arg in + -d) isdir=yes ;; + -f) + if $install_cp; then :; else + prev=$arg + fi + ;; + -g | -m | -o) + prev=$arg + ;; + -s) + stripme=" -s" + continue + ;; + -*) + ;; + *) + # If the previous option needed an argument, then skip it. + if test -n "$prev"; then + if test "x$prev" = x-m && test -n "$install_override_mode"; then + arg2=$install_override_mode + no_mode=false + fi + prev= + else + dest=$arg + continue + fi + ;; + esac + + # Aesthetically quote the argument. + func_quote_for_eval "$arg" + func_append install_prog " $func_quote_for_eval_result" + if test -n "$arg2"; then + func_quote_for_eval "$arg2" + fi + func_append install_shared_prog " $func_quote_for_eval_result" + done + + test -z "$install_prog" && \ + func_fatal_help "you must specify an install program" + + test -n "$prev" && \ + func_fatal_help "the \`$prev' option requires an argument" + + if test -n "$install_override_mode" && $no_mode; then + if $install_cp; then :; else + func_quote_for_eval "$install_override_mode" + func_append install_shared_prog " -m $func_quote_for_eval_result" + fi + fi + + if test -z "$files"; then + if test -z "$dest"; then + func_fatal_help "no file or destination specified" + else + func_fatal_help "you must specify a destination" + fi + fi + + # Strip any trailing slash from the destination. + func_stripname '' '/' "$dest" + dest=$func_stripname_result + + # Check to see that the destination is a directory. + test -d "$dest" && isdir=yes + if test "$isdir" = yes; then + destdir="$dest" + destname= + else + func_dirname_and_basename "$dest" "" "." + destdir="$func_dirname_result" + destname="$func_basename_result" + + # Not a directory, so check to see that there is only one file specified. + set dummy $files; shift + test "$#" -gt 1 && \ + func_fatal_help "\`$dest' is not a directory" + fi + case $destdir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + for file in $files; do + case $file in + *.lo) ;; + *) + func_fatal_help "\`$destdir' must be an absolute directory name" + ;; + esac + done + ;; + esac + + # This variable tells wrapper scripts just to set variables rather + # than running their programs. + libtool_install_magic="$magic" + + staticlibs= + future_libdirs= + current_libdirs= + for file in $files; do + + # Do each installation. + case $file in + *.$libext) + # Do the static libraries later. + func_append staticlibs " $file" + ;; + + *.la) + func_resolve_sysroot "$file" + file=$func_resolve_sysroot_result + + # Check to see that this really is a libtool archive. + func_lalib_unsafe_p "$file" \ + || func_fatal_help "\`$file' is not a valid libtool archive" + + library_names= + old_library= + relink_command= + func_source "$file" + + # Add the libdir to current_libdirs if it is the destination. + if test "X$destdir" = "X$libdir"; then + case "$current_libdirs " in + *" $libdir "*) ;; + *) func_append current_libdirs " $libdir" ;; + esac + else + # Note the libdir as a future libdir. + case "$future_libdirs " in + *" $libdir "*) ;; + *) func_append future_libdirs " $libdir" ;; + esac + fi + + func_dirname "$file" "/" "" + dir="$func_dirname_result" + func_append dir "$objdir" + + if test -n "$relink_command"; then + # Determine the prefix the user has applied to our future dir. + inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"` + + # Don't allow the user to place us outside of our expected + # location b/c this prevents finding dependent libraries that + # are installed to the same prefix. + # At present, this check doesn't affect windows .dll's that + # are installed into $libdir/../bin (currently, that works fine) + # but it's something to keep an eye on. + test "$inst_prefix_dir" = "$destdir" && \ + func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir" + + if test -n "$inst_prefix_dir"; then + # Stick the inst_prefix_dir data into the link command. + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` + else + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"` + fi + + func_warning "relinking \`$file'" + func_show_eval "$relink_command" \ + 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"' + fi + + # See the names of the shared library. + set dummy $library_names; shift + if test -n "$1"; then + realname="$1" + shift + + srcname="$realname" + test -n "$relink_command" && srcname="$realname"T + + # Install the shared library and build the symlinks. + func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \ + 'exit $?' + tstripme="$stripme" + case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + case $realname in + *.dll.a) + tstripme="" + ;; + esac + ;; + esac + if test -n "$tstripme" && test -n "$striplib"; then + func_show_eval "$striplib $destdir/$realname" 'exit $?' + fi + + if test "$#" -gt 0; then + # Delete the old symlinks, and create new ones. + # Try `ln -sf' first, because the `ln' binary might depend on + # the symlink we replace! Solaris /bin/ln does not understand -f, + # so we also need to try rm && ln -s. + for linkname + do + test "$linkname" != "$realname" \ + && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })" + done + fi + + # Do each command in the postinstall commands. + lib="$destdir/$realname" + func_execute_cmds "$postinstall_cmds" 'exit $?' + fi + + # Install the pseudo-library for information purposes. + func_basename "$file" + name="$func_basename_result" + instname="$dir/$name"i + func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' + + # Maybe install the static library, too. + test -n "$old_library" && func_append staticlibs " $dir/$old_library" + ;; + + *.lo) + # Install (i.e. copy) a libtool object. + + # Figure out destination file name, if it wasn't already specified. + if test -n "$destname"; then + destfile="$destdir/$destname" + else + func_basename "$file" + destfile="$func_basename_result" + destfile="$destdir/$destfile" + fi + + # Deduce the name of the destination old-style object file. + case $destfile in + *.lo) + func_lo2o "$destfile" + staticdest=$func_lo2o_result + ;; + *.$objext) + staticdest="$destfile" + destfile= + ;; + *) + func_fatal_help "cannot copy a libtool object to \`$destfile'" + ;; + esac + + # Install the libtool object if requested. + test -n "$destfile" && \ + func_show_eval "$install_prog $file $destfile" 'exit $?' + + # Install the old object if enabled. + if test "$build_old_libs" = yes; then + # Deduce the name of the old-style object file. + func_lo2o "$file" + staticobj=$func_lo2o_result + func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' + fi + exit $EXIT_SUCCESS + ;; + + *) + # Figure out destination file name, if it wasn't already specified. + if test -n "$destname"; then + destfile="$destdir/$destname" + else + func_basename "$file" + destfile="$func_basename_result" + destfile="$destdir/$destfile" + fi + + # If the file is missing, and there is a .exe on the end, strip it + # because it is most likely a libtool script we actually want to + # install + stripped_ext="" + case $file in + *.exe) + if test ! -f "$file"; then + func_stripname '' '.exe' "$file" + file=$func_stripname_result + stripped_ext=".exe" + fi + ;; + esac + + # Do a test to see if this is really a libtool program. + case $host in + *cygwin* | *mingw*) + if func_ltwrapper_executable_p "$file"; then + func_ltwrapper_scriptname "$file" + wrapper=$func_ltwrapper_scriptname_result + else + func_stripname '' '.exe' "$file" + wrapper=$func_stripname_result + fi + ;; + *) + wrapper=$file + ;; + esac + if func_ltwrapper_script_p "$wrapper"; then + notinst_deplibs= + relink_command= + + func_source "$wrapper" + + # Check the variables that should have been set. + test -z "$generated_by_libtool_version" && \ + func_fatal_error "invalid libtool wrapper script \`$wrapper'" + + finalize=yes + for lib in $notinst_deplibs; do + # Check to see that each library is installed. + libdir= + if test -f "$lib"; then + func_source "$lib" + fi + libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test + if test -n "$libdir" && test ! -f "$libfile"; then + func_warning "\`$lib' has not been installed in \`$libdir'" + finalize=no + fi + done + + relink_command= + func_source "$wrapper" + + outputname= + if test "$fast_install" = no && test -n "$relink_command"; then + $opt_dry_run || { + if test "$finalize" = yes; then + tmpdir=`func_mktempdir` + func_basename "$file$stripped_ext" + file="$func_basename_result" + outputname="$tmpdir/$file" + # Replace the output file specification. + relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` + + $opt_silent || { + func_quote_for_expand "$relink_command" + eval "func_echo $func_quote_for_expand_result" + } + if eval "$relink_command"; then : + else + func_error "error: relink \`$file' with the above command before installing it" + $opt_dry_run || ${RM}r "$tmpdir" + continue + fi + file="$outputname" + else + func_warning "cannot relink \`$file'" + fi + } + else + # Install the binary that we compiled earlier. + file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"` + fi + fi + + # remove .exe since cygwin /usr/bin/install will append another + # one anyway + case $install_prog,$host in + */usr/bin/install*,*cygwin*) + case $file:$destfile in + *.exe:*.exe) + # this is ok + ;; + *.exe:*) + destfile=$destfile.exe + ;; + *:*.exe) + func_stripname '' '.exe' "$destfile" + destfile=$func_stripname_result + ;; + esac + ;; + esac + func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?' + $opt_dry_run || if test -n "$outputname"; then + ${RM}r "$tmpdir" + fi + ;; + esac + done + + for file in $staticlibs; do + func_basename "$file" + name="$func_basename_result" + + # Set up the ranlib parameters. + oldlib="$destdir/$name" + func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 + tool_oldlib=$func_to_tool_file_result + + func_show_eval "$install_prog \$file \$oldlib" 'exit $?' + + if test -n "$stripme" && test -n "$old_striplib"; then + func_show_eval "$old_striplib $tool_oldlib" 'exit $?' + fi + + # Do each command in the postinstall commands. + func_execute_cmds "$old_postinstall_cmds" 'exit $?' + done + + test -n "$future_libdirs" && \ + func_warning "remember to run \`$progname --finish$future_libdirs'" + + if test -n "$current_libdirs"; then + # Maybe just do a dry run. + $opt_dry_run && current_libdirs=" -n$current_libdirs" + exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' + else + exit $EXIT_SUCCESS + fi +} + +test "$opt_mode" = install && func_mode_install ${1+"$@"} + + +# func_generate_dlsyms outputname originator pic_p +# Extract symbols from dlprefiles and create ${outputname}S.o with +# a dlpreopen symbol table. +func_generate_dlsyms () +{ + $opt_debug + my_outputname="$1" + my_originator="$2" + my_pic_p="${3-no}" + my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'` + my_dlsyms= + + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + if test -n "$NM" && test -n "$global_symbol_pipe"; then + my_dlsyms="${my_outputname}S.c" + else + func_error "not configured to extract global symbols from dlpreopened files" + fi + fi + + if test -n "$my_dlsyms"; then + case $my_dlsyms in + "") ;; + *.c) + # Discover the nlist of each of the dlfiles. + nlist="$output_objdir/${my_outputname}.nm" + + func_show_eval "$RM $nlist ${nlist}S ${nlist}T" + + # Parse the name list into a source file. + func_verbose "creating $output_objdir/$my_dlsyms" + + $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ +/* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */ +/* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */ + +#ifdef __cplusplus +extern \"C\" { +#endif + +#if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)) +#pragma GCC diagnostic ignored \"-Wstrict-prototypes\" +#endif + +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) +/* DATA imports from DLLs on WIN32 con't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT_DLSYM_CONST +#elif defined(__osf__) +/* This system does not cope well with relocations in const data. */ +# define LT_DLSYM_CONST +#else +# define LT_DLSYM_CONST const +#endif + +/* External symbol declarations for the compiler. */\ +" + + if test "$dlself" = yes; then + func_verbose "generating symbol list for \`$output'" + + $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" + + # Add our own program objects to the symbol list. + progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP` + for progfile in $progfiles; do + func_to_tool_file "$progfile" func_convert_file_msys_to_w32 + func_verbose "extracting global C symbols from \`$func_to_tool_file_result'" + $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'" + done + + if test -n "$exclude_expsyms"; then + $opt_dry_run || { + eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' + eval '$MV "$nlist"T "$nlist"' + } + fi + + if test -n "$export_symbols_regex"; then + $opt_dry_run || { + eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' + eval '$MV "$nlist"T "$nlist"' + } + fi + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + export_symbols="$output_objdir/$outputname.exp" + $opt_dry_run || { + $RM $export_symbols + eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' + case $host in + *cygwin* | *mingw* | *cegcc* ) + eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' + eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' + ;; + esac + } + else + $opt_dry_run || { + eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' + eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' + eval '$MV "$nlist"T "$nlist"' + case $host in + *cygwin* | *mingw* | *cegcc* ) + eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' + eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' + ;; + esac + } + fi + fi + + for dlprefile in $dlprefiles; do + func_verbose "extracting global C symbols from \`$dlprefile'" + func_basename "$dlprefile" + name="$func_basename_result" + case $host in + *cygwin* | *mingw* | *cegcc* ) + # if an import library, we need to obtain dlname + if func_win32_import_lib_p "$dlprefile"; then + func_tr_sh "$dlprefile" + eval "curr_lafile=\$libfile_$func_tr_sh_result" + dlprefile_dlbasename="" + if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then + # Use subshell, to avoid clobbering current variable values + dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"` + if test -n "$dlprefile_dlname" ; then + func_basename "$dlprefile_dlname" + dlprefile_dlbasename="$func_basename_result" + else + # no lafile. user explicitly requested -dlpreopen <import library>. + $sharedlib_from_linklib_cmd "$dlprefile" + dlprefile_dlbasename=$sharedlib_from_linklib_result + fi + fi + $opt_dry_run || { + if test -n "$dlprefile_dlbasename" ; then + eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"' + else + func_warning "Could not compute DLL name from $name" + eval '$ECHO ": $name " >> "$nlist"' + fi + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | + $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'" + } + else # not an import lib + $opt_dry_run || { + eval '$ECHO ": $name " >> "$nlist"' + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" + } + fi + ;; + *) + $opt_dry_run || { + eval '$ECHO ": $name " >> "$nlist"' + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" + } + ;; + esac + done + + $opt_dry_run || { + # Make sure we have at least an empty file. + test -f "$nlist" || : > "$nlist" + + if test -n "$exclude_expsyms"; then + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T + $MV "$nlist"T "$nlist" + fi + + # Try sorting and uniquifying the output. + if $GREP -v "^: " < "$nlist" | + if sort -k 3 </dev/null >/dev/null 2>&1; then + sort -k 3 + else + sort +2 + fi | + uniq > "$nlist"S; then + : + else + $GREP -v "^: " < "$nlist" > "$nlist"S + fi + + if test -f "$nlist"S; then + eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' + else + echo '/* NONE */' >> "$output_objdir/$my_dlsyms" + fi + + echo >> "$output_objdir/$my_dlsyms" "\ + +/* The mapping between symbol names and symbols. */ +typedef struct { + const char *name; + void *address; +} lt_dlsymlist; +extern LT_DLSYM_CONST lt_dlsymlist +lt_${my_prefix}_LTX_preloaded_symbols[]; +LT_DLSYM_CONST lt_dlsymlist +lt_${my_prefix}_LTX_preloaded_symbols[] = +{\ + { \"$my_originator\", (void *) 0 }," + + case $need_lib_prefix in + no) + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" + ;; + *) + eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" + ;; + esac + echo >> "$output_objdir/$my_dlsyms" "\ + {0, (void *) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt_${my_prefix}_LTX_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif\ +" + } # !$opt_dry_run + + pic_flag_for_symtable= + case "$compile_command " in + *" -static "*) ;; + *) + case $host in + # compiling the symbol table file with pic_flag works around + # a FreeBSD bug that causes programs to crash when -lm is + # linked before any other PIC object. But we must not use + # pic_flag when linking with -static. The problem exists in + # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. + *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) + pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; + *-*-hpux*) + pic_flag_for_symtable=" $pic_flag" ;; + *) + if test "X$my_pic_p" != Xno; then + pic_flag_for_symtable=" $pic_flag" + fi + ;; + esac + ;; + esac + symtab_cflags= + for arg in $LTCFLAGS; do + case $arg in + -pie | -fpie | -fPIE) ;; + *) func_append symtab_cflags " $arg" ;; + esac + done + + # Now compile the dynamic symbol file. + func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?' + + # Clean up the generated files. + func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"' + + # Transform the symbol file into the correct name. + symfileobj="$output_objdir/${my_outputname}S.$objext" + case $host in + *cygwin* | *mingw* | *cegcc* ) + if test -f "$output_objdir/$my_outputname.def"; then + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` + else + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` + fi + ;; + *) + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` + ;; + esac + ;; + *) + func_fatal_error "unknown suffix for \`$my_dlsyms'" + ;; + esac + else + # We keep going just in case the user didn't refer to + # lt_preloaded_symbols. The linker will fail if global_symbol_pipe + # really was required. + + # Nullify the symbol file. + compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"` + fi +} + +# func_win32_libid arg +# return the library type of file 'arg' +# +# Need a lot of goo to handle *both* DLLs and import libs +# Has to be a shell function in order to 'eat' the argument +# that is supplied when $file_magic_command is called. +# Despite the name, also deal with 64 bit binaries. +func_win32_libid () +{ + $opt_debug + win32_libid_type="unknown" + win32_fileres=`file -L $1 2>/dev/null` + case $win32_fileres in + *ar\ archive\ import\ library*) # definitely import + win32_libid_type="x86 archive import" + ;; + *ar\ archive*) # could be an import, or static + # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD. + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | + $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then + func_to_tool_file "$1" func_convert_file_msys_to_w32 + win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" | + $SED -n -e ' + 1,100{ + / I /{ + s,.*,import, + p + q + } + }'` + case $win32_nmres in + import*) win32_libid_type="x86 archive import";; + *) win32_libid_type="x86 archive static";; + esac + fi + ;; + *DLL*) + win32_libid_type="x86 DLL" + ;; + *executable*) # but shell scripts are "executable" too... + case $win32_fileres in + *MS\ Windows\ PE\ Intel*) + win32_libid_type="x86 DLL" + ;; + esac + ;; + esac + $ECHO "$win32_libid_type" +} + +# func_cygming_dll_for_implib ARG +# +# Platform-specific function to extract the +# name of the DLL associated with the specified +# import library ARG. +# Invoked by eval'ing the libtool variable +# $sharedlib_from_linklib_cmd +# Result is available in the variable +# $sharedlib_from_linklib_result +func_cygming_dll_for_implib () +{ + $opt_debug + sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"` +} + +# func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs +# +# The is the core of a fallback implementation of a +# platform-specific function to extract the name of the +# DLL associated with the specified import library LIBNAME. +# +# SECTION_NAME is either .idata$6 or .idata$7, depending +# on the platform and compiler that created the implib. +# +# Echos the name of the DLL associated with the +# specified import library. +func_cygming_dll_for_implib_fallback_core () +{ + $opt_debug + match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"` + $OBJDUMP -s --section "$1" "$2" 2>/dev/null | + $SED '/^Contents of section '"$match_literal"':/{ + # Place marker at beginning of archive member dllname section + s/.*/====MARK====/ + p + d + } + # These lines can sometimes be longer than 43 characters, but + # are always uninteresting + /:[ ]*file format pe[i]\{,1\}-/d + /^In archive [^:]*:/d + # Ensure marker is printed + /^====MARK====/p + # Remove all lines with less than 43 characters + /^.\{43\}/!d + # From remaining lines, remove first 43 characters + s/^.\{43\}//' | + $SED -n ' + # Join marker and all lines until next marker into a single line + /^====MARK====/ b para + H + $ b para + b + :para + x + s/\n//g + # Remove the marker + s/^====MARK====// + # Remove trailing dots and whitespace + s/[\. \t]*$// + # Print + /./p' | + # we now have a list, one entry per line, of the stringified + # contents of the appropriate section of all members of the + # archive which possess that section. Heuristic: eliminate + # all those which have a first or second character that is + # a '.' (that is, objdump's representation of an unprintable + # character.) This should work for all archives with less than + # 0x302f exports -- but will fail for DLLs whose name actually + # begins with a literal '.' or a single character followed by + # a '.'. + # + # Of those that remain, print the first one. + $SED -e '/^\./d;/^.\./d;q' +} + +# func_cygming_gnu_implib_p ARG +# This predicate returns with zero status (TRUE) if +# ARG is a GNU/binutils-style import library. Returns +# with nonzero status (FALSE) otherwise. +func_cygming_gnu_implib_p () +{ + $opt_debug + func_to_tool_file "$1" func_convert_file_msys_to_w32 + func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'` + test -n "$func_cygming_gnu_implib_tmp" +} + +# func_cygming_ms_implib_p ARG +# This predicate returns with zero status (TRUE) if +# ARG is an MS-style import library. Returns +# with nonzero status (FALSE) otherwise. +func_cygming_ms_implib_p () +{ + $opt_debug + func_to_tool_file "$1" func_convert_file_msys_to_w32 + func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'` + test -n "$func_cygming_ms_implib_tmp" +} + +# func_cygming_dll_for_implib_fallback ARG +# Platform-specific function to extract the +# name of the DLL associated with the specified +# import library ARG. +# +# This fallback implementation is for use when $DLLTOOL +# does not support the --identify-strict option. +# Invoked by eval'ing the libtool variable +# $sharedlib_from_linklib_cmd +# Result is available in the variable +# $sharedlib_from_linklib_result +func_cygming_dll_for_implib_fallback () +{ + $opt_debug + if func_cygming_gnu_implib_p "$1" ; then + # binutils import library + sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"` + elif func_cygming_ms_implib_p "$1" ; then + # ms-generated import library + sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"` + else + # unknown + sharedlib_from_linklib_result="" + fi +} + + +# func_extract_an_archive dir oldlib +func_extract_an_archive () +{ + $opt_debug + f_ex_an_ar_dir="$1"; shift + f_ex_an_ar_oldlib="$1" + if test "$lock_old_archive_extraction" = yes; then + lockfile=$f_ex_an_ar_oldlib.lock + until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do + func_echo "Waiting for $lockfile to be removed" + sleep 2 + done + fi + func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \ + 'stat=$?; rm -f "$lockfile"; exit $stat' + if test "$lock_old_archive_extraction" = yes; then + $opt_dry_run || rm -f "$lockfile" + fi + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then + : + else + func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" + fi +} + + +# func_extract_archives gentop oldlib ... +func_extract_archives () +{ + $opt_debug + my_gentop="$1"; shift + my_oldlibs=${1+"$@"} + my_oldobjs="" + my_xlib="" + my_xabs="" + my_xdir="" + + for my_xlib in $my_oldlibs; do + # Extract the objects. + case $my_xlib in + [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; + *) my_xabs=`pwd`"/$my_xlib" ;; + esac + func_basename "$my_xlib" + my_xlib="$func_basename_result" + my_xlib_u=$my_xlib + while :; do + case " $extracted_archives " in + *" $my_xlib_u "*) + func_arith $extracted_serial + 1 + extracted_serial=$func_arith_result + my_xlib_u=lt$extracted_serial-$my_xlib ;; + *) break ;; + esac + done + extracted_archives="$extracted_archives $my_xlib_u" + my_xdir="$my_gentop/$my_xlib_u" + + func_mkdir_p "$my_xdir" + + case $host in + *-darwin*) + func_verbose "Extracting $my_xabs" + # Do not bother doing anything if just a dry run + $opt_dry_run || { + darwin_orig_dir=`pwd` + cd $my_xdir || exit $? + darwin_archive=$my_xabs + darwin_curdir=`pwd` + darwin_base_archive=`basename "$darwin_archive"` + darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` + if test -n "$darwin_arches"; then + darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` + darwin_arch= + func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" + for darwin_arch in $darwin_arches ; do + func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}" + $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" + cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" + func_extract_an_archive "`pwd`" "${darwin_base_archive}" + cd "$darwin_curdir" + $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" + done # $darwin_arches + ## Okay now we've a bunch of thin objects, gotta fatten them up :) + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u` + darwin_file= + darwin_files= + for darwin_file in $darwin_filelist; do + darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP` + $LIPO -create -output "$darwin_file" $darwin_files + done # $darwin_filelist + $RM -rf unfat-$$ + cd "$darwin_orig_dir" + else + cd $darwin_orig_dir + func_extract_an_archive "$my_xdir" "$my_xabs" + fi # $darwin_arches + } # !$opt_dry_run + ;; + *) + func_extract_an_archive "$my_xdir" "$my_xabs" + ;; + esac + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP` + done + + func_extract_archives_result="$my_oldobjs" +} + + +# func_emit_wrapper [arg=no] +# +# Emit a libtool wrapper script on stdout. +# Don't directly open a file because we may want to +# incorporate the script contents within a cygwin/mingw +# wrapper executable. Must ONLY be called from within +# func_mode_link because it depends on a number of variables +# set therein. +# +# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR +# variable will take. If 'yes', then the emitted script +# will assume that the directory in which it is stored is +# the $objdir directory. This is a cygwin/mingw-specific +# behavior. +func_emit_wrapper () +{ + func_emit_wrapper_arg1=${1-no} + + $ECHO "\ +#! $SHELL + +# $output - temporary wrapper script for $objdir/$outputname +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION +# +# The $output program cannot be directly executed until all the libtool +# libraries that it depends on are installed. +# +# This wrapper script should never be moved out of the build directory. +# If it is, it will not operate correctly. + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +sed_quote_subst='$sed_quote_subst' + +# Be Bourne compatible +if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac +fi +BIN_SH=xpg4; export BIN_SH # for Tru64 +DUALCASE=1; export DUALCASE # for MKS sh + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +relink_command=\"$relink_command\" + +# This environment variable determines our operation mode. +if test \"\$libtool_install_magic\" = \"$magic\"; then + # install mode needs the following variables: + generated_by_libtool_version='$macro_version' + notinst_deplibs='$notinst_deplibs' +else + # When we are sourced in execute mode, \$file and \$ECHO are already set. + if test \"\$libtool_execute_magic\" != \"$magic\"; then + file=\"\$0\"" + + qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"` + $ECHO "\ + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$1 +_LTECHO_EOF' +} + ECHO=\"$qECHO\" + fi + +# Very basic option parsing. These options are (a) specific to +# the libtool wrapper, (b) are identical between the wrapper +# /script/ and the wrapper /executable/ which is used only on +# windows platforms, and (c) all begin with the string "--lt-" +# (application programs are unlikely to have options which match +# this pattern). +# +# There are only two supported options: --lt-debug and +# --lt-dump-script. There is, deliberately, no --lt-help. +# +# The first argument to this parsing function should be the +# script's $0 value, followed by "$@". +lt_option_debug= +func_parse_lt_options () +{ + lt_script_arg0=\$0 + shift + for lt_opt + do + case \"\$lt_opt\" in + --lt-debug) lt_option_debug=1 ;; + --lt-dump-script) + lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\` + test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=. + lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\` + cat \"\$lt_dump_D/\$lt_dump_F\" + exit 0 + ;; + --lt-*) + \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2 + exit 1 + ;; + esac + done + + # Print the debug banner immediately: + if test -n \"\$lt_option_debug\"; then + echo \"${outputname}:${output}:\${LINENO}: libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\" 1>&2 + fi +} + +# Used when --lt-debug. Prints its arguments to stdout +# (redirection is the responsibility of the caller) +func_lt_dump_args () +{ + lt_dump_args_N=1; + for lt_arg + do + \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[\$lt_dump_args_N]: \$lt_arg\" + lt_dump_args_N=\`expr \$lt_dump_args_N + 1\` + done +} + +# Core function for launching the target application +func_exec_program_core () +{ +" + case $host in + # Backslashes separate directories on plain windows + *-*-mingw | *-*-os2* | *-cegcc*) + $ECHO "\ + if test -n \"\$lt_option_debug\"; then + \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2 + func_lt_dump_args \${1+\"\$@\"} 1>&2 + fi + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} +" + ;; + + *) + $ECHO "\ + if test -n \"\$lt_option_debug\"; then + \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2 + func_lt_dump_args \${1+\"\$@\"} 1>&2 + fi + exec \"\$progdir/\$program\" \${1+\"\$@\"} +" + ;; + esac + $ECHO "\ + \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 + exit 1 +} + +# A function to encapsulate launching the target application +# Strips options in the --lt-* namespace from \$@ and +# launches target application with the remaining arguments. +func_exec_program () +{ + case \" \$* \" in + *\\ --lt-*) + for lt_wr_arg + do + case \$lt_wr_arg in + --lt-*) ;; + *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; + esac + shift + done ;; + esac + func_exec_program_core \${1+\"\$@\"} +} + + # Parse options + func_parse_lt_options \"\$0\" \${1+\"\$@\"} + + # Find the directory that this script lives in. + thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\` + test \"x\$thisdir\" = \"x\$file\" && thisdir=. + + # Follow symbolic links until we get to the real thisdir. + file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\` + while test -n \"\$file\"; do + destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\` + + # If there was a directory component, then change thisdir. + if test \"x\$destdir\" != \"x\$file\"; then + case \"\$destdir\" in + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; + *) thisdir=\"\$thisdir/\$destdir\" ;; + esac + fi + + file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\` + file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\` + done + + # Usually 'no', except on cygwin/mingw when embedded into + # the cwrapper. + WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1 + if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then + # special case for '.' + if test \"\$thisdir\" = \".\"; then + thisdir=\`pwd\` + fi + # remove .libs from thisdir + case \"\$thisdir\" in + *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;; + $objdir ) thisdir=. ;; + esac + fi + + # Try to get the absolute directory name. + absdir=\`cd \"\$thisdir\" && pwd\` + test -n \"\$absdir\" && thisdir=\"\$absdir\" +" + + if test "$fast_install" = yes; then + $ECHO "\ + program=lt-'$outputname'$exeext + progdir=\"\$thisdir/$objdir\" + + if test ! -f \"\$progdir/\$program\" || + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ + test \"X\$file\" != \"X\$progdir/\$program\"; }; then + + file=\"\$\$-\$program\" + + if test ! -d \"\$progdir\"; then + $MKDIR \"\$progdir\" + else + $RM \"\$progdir/\$file\" + fi" + + $ECHO "\ + + # relink executable if necessary + if test -n \"\$relink_command\"; then + if relink_command_output=\`eval \$relink_command 2>&1\`; then : + else + $ECHO \"\$relink_command_output\" >&2 + $RM \"\$progdir/\$file\" + exit 1 + fi + fi + + $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || + { $RM \"\$progdir/\$program\"; + $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } + $RM \"\$progdir/\$file\" + fi" + else + $ECHO "\ + program='$outputname' + progdir=\"\$thisdir/$objdir\" +" + fi + + $ECHO "\ + + if test -f \"\$progdir/\$program\"; then" + + # fixup the dll searchpath if we need to. + # + # Fix the DLL searchpath if we need to. Do this before prepending + # to shlibpath, because on Windows, both are PATH and uninstalled + # libraries must come first. + if test -n "$dllsearchpath"; then + $ECHO "\ + # Add the dll search path components to the executable PATH + PATH=$dllsearchpath:\$PATH +" + fi + + # Export our shlibpath_var if we have one. + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then + $ECHO "\ + # Add our own library path to $shlibpath_var + $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" + + # Some systems cannot cope with colon-terminated $shlibpath_var + # The second colon is a workaround for a bug in BeOS R4 sed + $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\` + + export $shlibpath_var +" + fi + + $ECHO "\ + if test \"\$libtool_execute_magic\" != \"$magic\"; then + # Run the actual program with our arguments. + func_exec_program \${1+\"\$@\"} + fi + else + # The program doesn't exist. + \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 + \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 + \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 + exit 1 + fi +fi\ +" +} + + +# func_emit_cwrapperexe_src +# emit the source code for a wrapper executable on stdout +# Must ONLY be called from within func_mode_link because +# it depends on a number of variable set therein. +func_emit_cwrapperexe_src () +{ + cat <<EOF + +/* $cwrappersource - temporary wrapper executable for $objdir/$outputname + Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION + + The $output program cannot be directly executed until all the libtool + libraries that it depends on are installed. + + This wrapper executable should never be moved out of the build directory. + If it is, it will not operate correctly. +*/ +EOF + cat <<"EOF" +#ifdef _MSC_VER +# define _CRT_SECURE_NO_DEPRECATE 1 +#endif +#include <stdio.h> +#include <stdlib.h> +#ifdef _MSC_VER +# include <direct.h> +# include <process.h> +# include <io.h> +#else +# include <unistd.h> +# include <stdint.h> +# ifdef __CYGWIN__ +# include <io.h> +# endif +#endif +#include <malloc.h> +#include <stdarg.h> +#include <assert.h> +#include <string.h> +#include <ctype.h> +#include <errno.h> +#include <fcntl.h> +#include <sys/stat.h> + +/* declarations of non-ANSI functions */ +#if defined(__MINGW32__) +# ifdef __STRICT_ANSI__ +int _putenv (const char *); +# endif +#elif defined(__CYGWIN__) +# ifdef __STRICT_ANSI__ +char *realpath (const char *, char *); +int putenv (char *); +int setenv (const char *, const char *, int); +# endif +/* #elif defined (other platforms) ... */ +#endif + +/* portability defines, excluding path handling macros */ +#if defined(_MSC_VER) +# define setmode _setmode +# define stat _stat +# define chmod _chmod +# define getcwd _getcwd +# define putenv _putenv +# define S_IXUSR _S_IEXEC +# ifndef _INTPTR_T_DEFINED +# define _INTPTR_T_DEFINED +# define intptr_t int +# endif +#elif defined(__MINGW32__) +# define setmode _setmode +# define stat _stat +# define chmod _chmod +# define getcwd _getcwd +# define putenv _putenv +#elif defined(__CYGWIN__) +# define HAVE_SETENV +# define FOPEN_WB "wb" +/* #elif defined (other platforms) ... */ +#endif + +#if defined(PATH_MAX) +# define LT_PATHMAX PATH_MAX +#elif defined(MAXPATHLEN) +# define LT_PATHMAX MAXPATHLEN +#else +# define LT_PATHMAX 1024 +#endif + +#ifndef S_IXOTH +# define S_IXOTH 0 +#endif +#ifndef S_IXGRP +# define S_IXGRP 0 +#endif + +/* path handling portability macros */ +#ifndef DIR_SEPARATOR +# define DIR_SEPARATOR '/' +# define PATH_SEPARATOR ':' +#endif + +#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ + defined (__OS2__) +# define HAVE_DOS_BASED_FILE_SYSTEM +# define FOPEN_WB "wb" +# ifndef DIR_SEPARATOR_2 +# define DIR_SEPARATOR_2 '\\' +# endif +# ifndef PATH_SEPARATOR_2 +# define PATH_SEPARATOR_2 ';' +# endif +#endif + +#ifndef DIR_SEPARATOR_2 +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) +#else /* DIR_SEPARATOR_2 */ +# define IS_DIR_SEPARATOR(ch) \ + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) +#endif /* DIR_SEPARATOR_2 */ + +#ifndef PATH_SEPARATOR_2 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) +#else /* PATH_SEPARATOR_2 */ +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) +#endif /* PATH_SEPARATOR_2 */ + +#ifndef FOPEN_WB +# define FOPEN_WB "w" +#endif +#ifndef _O_BINARY +# define _O_BINARY 0 +#endif + +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) +#define XFREE(stale) do { \ + if (stale) { free ((void *) stale); stale = 0; } \ +} while (0) + +#if defined(LT_DEBUGWRAPPER) +static int lt_debug = 1; +#else +static int lt_debug = 0; +#endif + +const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */ + +void *xmalloc (size_t num); +char *xstrdup (const char *string); +const char *base_name (const char *name); +char *find_executable (const char *wrapper); +char *chase_symlinks (const char *pathspec); +int make_executable (const char *path); +int check_executable (const char *path); +char *strendzap (char *str, const char *pat); +void lt_debugprintf (const char *file, int line, const char *fmt, ...); +void lt_fatal (const char *file, int line, const char *message, ...); +static const char *nonnull (const char *s); +static const char *nonempty (const char *s); +void lt_setenv (const char *name, const char *value); +char *lt_extend_str (const char *orig_value, const char *add, int to_end); +void lt_update_exe_path (const char *name, const char *value); +void lt_update_lib_path (const char *name, const char *value); +char **prepare_spawn (char **argv); +void lt_dump_script (FILE *f); +EOF + + cat <<EOF +volatile const char * MAGIC_EXE = "$magic_exe"; +const char * LIB_PATH_VARNAME = "$shlibpath_var"; +EOF + + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then + func_to_host_path "$temp_rpath" + cat <<EOF +const char * LIB_PATH_VALUE = "$func_to_host_path_result"; +EOF + else + cat <<"EOF" +const char * LIB_PATH_VALUE = ""; +EOF + fi + + if test -n "$dllsearchpath"; then + func_to_host_path "$dllsearchpath:" + cat <<EOF +const char * EXE_PATH_VARNAME = "PATH"; +const char * EXE_PATH_VALUE = "$func_to_host_path_result"; +EOF + else + cat <<"EOF" +const char * EXE_PATH_VARNAME = ""; +const char * EXE_PATH_VALUE = ""; +EOF + fi + + if test "$fast_install" = yes; then + cat <<EOF +const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */ +EOF + else + cat <<EOF +const char * TARGET_PROGRAM_NAME = "$outputname"; /* hopefully, no .exe */ +EOF + fi + + + cat <<"EOF" + +#define LTWRAPPER_OPTION_PREFIX "--lt-" + +static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX; +static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script"; +static const char *debug_opt = LTWRAPPER_OPTION_PREFIX "debug"; + +int +main (int argc, char *argv[]) +{ + char **newargz; + int newargc; + char *tmp_pathspec; + char *actual_cwrapper_path; + char *actual_cwrapper_name; + char *target_name; + char *lt_argv_zero; + intptr_t rval = 127; + + int i; + + program_name = (char *) xstrdup (base_name (argv[0])); + newargz = XMALLOC (char *, argc + 1); + + /* very simple arg parsing; don't want to rely on getopt + * also, copy all non cwrapper options to newargz, except + * argz[0], which is handled differently + */ + newargc=0; + for (i = 1; i < argc; i++) + { + if (strcmp (argv[i], dumpscript_opt) == 0) + { +EOF + case "$host" in + *mingw* | *cygwin* ) + # make stdout use "unix" line endings + echo " setmode(1,_O_BINARY);" + ;; + esac + + cat <<"EOF" + lt_dump_script (stdout); + return 0; + } + if (strcmp (argv[i], debug_opt) == 0) + { + lt_debug = 1; + continue; + } + if (strcmp (argv[i], ltwrapper_option_prefix) == 0) + { + /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX + namespace, but it is not one of the ones we know about and + have already dealt with, above (inluding dump-script), then + report an error. Otherwise, targets might begin to believe + they are allowed to use options in the LTWRAPPER_OPTION_PREFIX + namespace. The first time any user complains about this, we'll + need to make LTWRAPPER_OPTION_PREFIX a configure-time option + or a configure.ac-settable value. + */ + lt_fatal (__FILE__, __LINE__, + "unrecognized %s option: '%s'", + ltwrapper_option_prefix, argv[i]); + } + /* otherwise ... */ + newargz[++newargc] = xstrdup (argv[i]); + } + newargz[++newargc] = NULL; + +EOF + cat <<EOF + /* The GNU banner must be the first non-error debug message */ + lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\n"); +EOF + cat <<"EOF" + lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\n", argv[0]); + lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name); + + tmp_pathspec = find_executable (argv[0]); + if (tmp_pathspec == NULL) + lt_fatal (__FILE__, __LINE__, "couldn't find %s", argv[0]); + lt_debugprintf (__FILE__, __LINE__, + "(main) found exe (before symlink chase) at: %s\n", + tmp_pathspec); + + actual_cwrapper_path = chase_symlinks (tmp_pathspec); + lt_debugprintf (__FILE__, __LINE__, + "(main) found exe (after symlink chase) at: %s\n", + actual_cwrapper_path); + XFREE (tmp_pathspec); + + actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path)); + strendzap (actual_cwrapper_path, actual_cwrapper_name); + + /* wrapper name transforms */ + strendzap (actual_cwrapper_name, ".exe"); + tmp_pathspec = lt_extend_str (actual_cwrapper_name, ".exe", 1); + XFREE (actual_cwrapper_name); + actual_cwrapper_name = tmp_pathspec; + tmp_pathspec = 0; + + /* target_name transforms -- use actual target program name; might have lt- prefix */ + target_name = xstrdup (base_name (TARGET_PROGRAM_NAME)); + strendzap (target_name, ".exe"); + tmp_pathspec = lt_extend_str (target_name, ".exe", 1); + XFREE (target_name); + target_name = tmp_pathspec; + tmp_pathspec = 0; + + lt_debugprintf (__FILE__, __LINE__, + "(main) libtool target name: %s\n", + target_name); +EOF + + cat <<EOF + newargz[0] = + XMALLOC (char, (strlen (actual_cwrapper_path) + + strlen ("$objdir") + 1 + strlen (actual_cwrapper_name) + 1)); + strcpy (newargz[0], actual_cwrapper_path); + strcat (newargz[0], "$objdir"); + strcat (newargz[0], "/"); +EOF + + cat <<"EOF" + /* stop here, and copy so we don't have to do this twice */ + tmp_pathspec = xstrdup (newargz[0]); + + /* do NOT want the lt- prefix here, so use actual_cwrapper_name */ + strcat (newargz[0], actual_cwrapper_name); + + /* DO want the lt- prefix here if it exists, so use target_name */ + lt_argv_zero = lt_extend_str (tmp_pathspec, target_name, 1); + XFREE (tmp_pathspec); + tmp_pathspec = NULL; +EOF + + case $host_os in + mingw*) + cat <<"EOF" + { + char* p; + while ((p = strchr (newargz[0], '\\')) != NULL) + { + *p = '/'; + } + while ((p = strchr (lt_argv_zero, '\\')) != NULL) + { + *p = '/'; + } + } +EOF + ;; + esac + + cat <<"EOF" + XFREE (target_name); + XFREE (actual_cwrapper_path); + XFREE (actual_cwrapper_name); + + lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */ + lt_setenv ("DUALCASE", "1"); /* for MSK sh */ + /* Update the DLL searchpath. EXE_PATH_VALUE ($dllsearchpath) must + be prepended before (that is, appear after) LIB_PATH_VALUE ($temp_rpath) + because on Windows, both *_VARNAMEs are PATH but uninstalled + libraries must come first. */ + lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE); + lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE); + + lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n", + nonnull (lt_argv_zero)); + for (i = 0; i < newargc; i++) + { + lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n", + i, nonnull (newargz[i])); + } + +EOF + + case $host_os in + mingw*) + cat <<"EOF" + /* execv doesn't actually work on mingw as expected on unix */ + newargz = prepare_spawn (newargz); + rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz); + if (rval == -1) + { + /* failed to start process */ + lt_debugprintf (__FILE__, __LINE__, + "(main) failed to launch target \"%s\": %s\n", + lt_argv_zero, nonnull (strerror (errno))); + return 127; + } + return rval; +EOF + ;; + *) + cat <<"EOF" + execv (lt_argv_zero, newargz); + return rval; /* =127, but avoids unused variable warning */ +EOF + ;; + esac + + cat <<"EOF" +} + +void * +xmalloc (size_t num) +{ + void *p = (void *) malloc (num); + if (!p) + lt_fatal (__FILE__, __LINE__, "memory exhausted"); + + return p; +} + +char * +xstrdup (const char *string) +{ + return string ? strcpy ((char *) xmalloc (strlen (string) + 1), + string) : NULL; +} + +const char * +base_name (const char *name) +{ + const char *base; + +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + /* Skip over the disk name in MSDOS pathnames. */ + if (isalpha ((unsigned char) name[0]) && name[1] == ':') + name += 2; +#endif + + for (base = name; *name; name++) + if (IS_DIR_SEPARATOR (*name)) + base = name + 1; + return base; +} + +int +check_executable (const char *path) +{ + struct stat st; + + lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n", + nonempty (path)); + if ((!path) || (!*path)) + return 0; + + if ((stat (path, &st) >= 0) + && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) + return 1; + else + return 0; +} + +int +make_executable (const char *path) +{ + int rval = 0; + struct stat st; + + lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n", + nonempty (path)); + if ((!path) || (!*path)) + return 0; + + if (stat (path, &st) >= 0) + { + rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); + } + return rval; +} + +/* Searches for the full path of the wrapper. Returns + newly allocated full path name if found, NULL otherwise + Does not chase symlinks, even on platforms that support them. +*/ +char * +find_executable (const char *wrapper) +{ + int has_slash = 0; + const char *p; + const char *p_next; + /* static buffer for getcwd */ + char tmp[LT_PATHMAX + 1]; + int tmp_len; + char *concat_name; + + lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n", + nonempty (wrapper)); + + if ((wrapper == NULL) || (*wrapper == '\0')) + return NULL; + + /* Absolute path? */ +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':') + { + concat_name = xstrdup (wrapper); + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + } + else + { +#endif + if (IS_DIR_SEPARATOR (wrapper[0])) + { + concat_name = xstrdup (wrapper); + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + } +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + } +#endif + + for (p = wrapper; *p; p++) + if (*p == '/') + { + has_slash = 1; + break; + } + if (!has_slash) + { + /* no slashes; search PATH */ + const char *path = getenv ("PATH"); + if (path != NULL) + { + for (p = path; *p; p = p_next) + { + const char *q; + size_t p_len; + for (q = p; *q; q++) + if (IS_PATH_SEPARATOR (*q)) + break; + p_len = q - p; + p_next = (*q == '\0' ? q : q + 1); + if (p_len == 0) + { + /* empty path: current directory */ + if (getcwd (tmp, LT_PATHMAX) == NULL) + lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", + nonnull (strerror (errno))); + tmp_len = strlen (tmp); + concat_name = + XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); + memcpy (concat_name, tmp, tmp_len); + concat_name[tmp_len] = '/'; + strcpy (concat_name + tmp_len + 1, wrapper); + } + else + { + concat_name = + XMALLOC (char, p_len + 1 + strlen (wrapper) + 1); + memcpy (concat_name, p, p_len); + concat_name[p_len] = '/'; + strcpy (concat_name + p_len + 1, wrapper); + } + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + } + } + /* not found in PATH; assume curdir */ + } + /* Relative path | not found in path: prepend cwd */ + if (getcwd (tmp, LT_PATHMAX) == NULL) + lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", + nonnull (strerror (errno))); + tmp_len = strlen (tmp); + concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); + memcpy (concat_name, tmp, tmp_len); + concat_name[tmp_len] = '/'; + strcpy (concat_name + tmp_len + 1, wrapper); + + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + return NULL; +} + +char * +chase_symlinks (const char *pathspec) +{ +#ifndef S_ISLNK + return xstrdup (pathspec); +#else + char buf[LT_PATHMAX]; + struct stat s; + char *tmp_pathspec = xstrdup (pathspec); + char *p; + int has_symlinks = 0; + while (strlen (tmp_pathspec) && !has_symlinks) + { + lt_debugprintf (__FILE__, __LINE__, + "checking path component for symlinks: %s\n", + tmp_pathspec); + if (lstat (tmp_pathspec, &s) == 0) + { + if (S_ISLNK (s.st_mode) != 0) + { + has_symlinks = 1; + break; + } + + /* search backwards for last DIR_SEPARATOR */ + p = tmp_pathspec + strlen (tmp_pathspec) - 1; + while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) + p--; + if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) + { + /* no more DIR_SEPARATORS left */ + break; + } + *p = '\0'; + } + else + { + lt_fatal (__FILE__, __LINE__, + "error accessing file \"%s\": %s", + tmp_pathspec, nonnull (strerror (errno))); + } + } + XFREE (tmp_pathspec); + + if (!has_symlinks) + { + return xstrdup (pathspec); + } + + tmp_pathspec = realpath (pathspec, buf); + if (tmp_pathspec == 0) + { + lt_fatal (__FILE__, __LINE__, + "could not follow symlinks for %s", pathspec); + } + return xstrdup (tmp_pathspec); +#endif +} + +char * +strendzap (char *str, const char *pat) +{ + size_t len, patlen; + + assert (str != NULL); + assert (pat != NULL); + + len = strlen (str); + patlen = strlen (pat); + + if (patlen <= len) + { + str += len - patlen; + if (strcmp (str, pat) == 0) + *str = '\0'; + } + return str; +} + +void +lt_debugprintf (const char *file, int line, const char *fmt, ...) +{ + va_list args; + if (lt_debug) + { + (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line); + va_start (args, fmt); + (void) vfprintf (stderr, fmt, args); + va_end (args); + } +} + +static void +lt_error_core (int exit_status, const char *file, + int line, const char *mode, + const char *message, va_list ap) +{ + fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode); + vfprintf (stderr, message, ap); + fprintf (stderr, ".\n"); + + if (exit_status >= 0) + exit (exit_status); +} + +void +lt_fatal (const char *file, int line, const char *message, ...) +{ + va_list ap; + va_start (ap, message); + lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap); + va_end (ap); +} + +static const char * +nonnull (const char *s) +{ + return s ? s : "(null)"; +} + +static const char * +nonempty (const char *s) +{ + return (s && !*s) ? "(empty)" : nonnull (s); +} + +void +lt_setenv (const char *name, const char *value) +{ + lt_debugprintf (__FILE__, __LINE__, + "(lt_setenv) setting '%s' to '%s'\n", + nonnull (name), nonnull (value)); + { +#ifdef HAVE_SETENV + /* always make a copy, for consistency with !HAVE_SETENV */ + char *str = xstrdup (value); + setenv (name, str, 1); +#else + int len = strlen (name) + 1 + strlen (value) + 1; + char *str = XMALLOC (char, len); + sprintf (str, "%s=%s", name, value); + if (putenv (str) != EXIT_SUCCESS) + { + XFREE (str); + } +#endif + } +} + +char * +lt_extend_str (const char *orig_value, const char *add, int to_end) +{ + char *new_value; + if (orig_value && *orig_value) + { + int orig_value_len = strlen (orig_value); + int add_len = strlen (add); + new_value = XMALLOC (char, add_len + orig_value_len + 1); + if (to_end) + { + strcpy (new_value, orig_value); + strcpy (new_value + orig_value_len, add); + } + else + { + strcpy (new_value, add); + strcpy (new_value + add_len, orig_value); + } + } + else + { + new_value = xstrdup (add); + } + return new_value; +} + +void +lt_update_exe_path (const char *name, const char *value) +{ + lt_debugprintf (__FILE__, __LINE__, + "(lt_update_exe_path) modifying '%s' by prepending '%s'\n", + nonnull (name), nonnull (value)); + + if (name && *name && value && *value) + { + char *new_value = lt_extend_str (getenv (name), value, 0); + /* some systems can't cope with a ':'-terminated path #' */ + int len = strlen (new_value); + while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1])) + { + new_value[len-1] = '\0'; + } + lt_setenv (name, new_value); + XFREE (new_value); + } +} + +void +lt_update_lib_path (const char *name, const char *value) +{ + lt_debugprintf (__FILE__, __LINE__, + "(lt_update_lib_path) modifying '%s' by prepending '%s'\n", + nonnull (name), nonnull (value)); + + if (name && *name && value && *value) + { + char *new_value = lt_extend_str (getenv (name), value, 0); + lt_setenv (name, new_value); + XFREE (new_value); + } +} + +EOF + case $host_os in + mingw*) + cat <<"EOF" + +/* Prepares an argument vector before calling spawn(). + Note that spawn() does not by itself call the command interpreter + (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") : + ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); + GetVersionEx(&v); + v.dwPlatformId == VER_PLATFORM_WIN32_NT; + }) ? "cmd.exe" : "command.com"). + Instead it simply concatenates the arguments, separated by ' ', and calls + CreateProcess(). We must quote the arguments since Win32 CreateProcess() + interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a + special way: + - Space and tab are interpreted as delimiters. They are not treated as + delimiters if they are surrounded by double quotes: "...". + - Unescaped double quotes are removed from the input. Their only effect is + that within double quotes, space and tab are treated like normal + characters. + - Backslashes not followed by double quotes are not special. + - But 2*n+1 backslashes followed by a double quote become + n backslashes followed by a double quote (n >= 0): + \" -> " + \\\" -> \" + \\\\\" -> \\" + */ +#define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" +#define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" +char ** +prepare_spawn (char **argv) +{ + size_t argc; + char **new_argv; + size_t i; + + /* Count number of arguments. */ + for (argc = 0; argv[argc] != NULL; argc++) + ; + + /* Allocate new argument vector. */ + new_argv = XMALLOC (char *, argc + 1); + + /* Put quoted arguments into the new argument vector. */ + for (i = 0; i < argc; i++) + { + const char *string = argv[i]; + + if (string[0] == '\0') + new_argv[i] = xstrdup ("\"\""); + else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL) + { + int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL); + size_t length; + unsigned int backslashes; + const char *s; + char *quoted_string; + char *p; + + length = 0; + backslashes = 0; + if (quote_around) + length++; + for (s = string; *s != '\0'; s++) + { + char c = *s; + if (c == '"') + length += backslashes + 1; + length++; + if (c == '\\') + backslashes++; + else + backslashes = 0; + } + if (quote_around) + length += backslashes + 1; + + quoted_string = XMALLOC (char, length + 1); + + p = quoted_string; + backslashes = 0; + if (quote_around) + *p++ = '"'; + for (s = string; *s != '\0'; s++) + { + char c = *s; + if (c == '"') + { + unsigned int j; + for (j = backslashes + 1; j > 0; j--) + *p++ = '\\'; + } + *p++ = c; + if (c == '\\') + backslashes++; + else + backslashes = 0; + } + if (quote_around) + { + unsigned int j; + for (j = backslashes; j > 0; j--) + *p++ = '\\'; + *p++ = '"'; + } + *p = '\0'; + + new_argv[i] = quoted_string; + } + else + new_argv[i] = (char *) string; + } + new_argv[argc] = NULL; + + return new_argv; +} +EOF + ;; + esac + + cat <<"EOF" +void lt_dump_script (FILE* f) +{ +EOF + func_emit_wrapper yes | + $SED -n -e ' +s/^\(.\{79\}\)\(..*\)/\1\ +\2/ +h +s/\([\\"]\)/\\\1/g +s/$/\\n/ +s/\([^\n]*\).*/ fputs ("\1", f);/p +g +D' + cat <<"EOF" +} +EOF +} +# end: func_emit_cwrapperexe_src + +# func_win32_import_lib_p ARG +# True if ARG is an import lib, as indicated by $file_magic_cmd +func_win32_import_lib_p () +{ + $opt_debug + case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in + *import*) : ;; + *) false ;; + esac +} + +# func_mode_link arg... +func_mode_link () +{ + $opt_debug + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + # It is impossible to link a dll without this setting, and + # we shouldn't force the makefile maintainer to figure out + # which system we are compiling for in order to pass an extra + # flag for every libtool invocation. + # allow_undefined=no + + # FIXME: Unfortunately, there are problems with the above when trying + # to make a dll which has undefined symbols, in which case not + # even a static library is built. For now, we need to specify + # -no-undefined on the libtool link line when we can be certain + # that all symbols are satisfied, otherwise we get a static library. + allow_undefined=yes + ;; + *) + allow_undefined=yes + ;; + esac + libtool_args=$nonopt + base_compile="$nonopt $@" + compile_command=$nonopt + finalize_command=$nonopt + + compile_rpath= + finalize_rpath= + compile_shlibpath= + finalize_shlibpath= + convenience= + old_convenience= + deplibs= + old_deplibs= + compiler_flags= + linker_flags= + dllsearchpath= + lib_search_path=`pwd` + inst_prefix_dir= + new_inherited_linker_flags= + + avoid_version=no + bindir= + dlfiles= + dlprefiles= + dlself=no + export_dynamic=no + export_symbols= + export_symbols_regex= + generated= + libobjs= + ltlibs= + module=no + no_install=no + objs= + non_pic_objects= + precious_files_regex= + prefer_static_libs=no + preload=no + prev= + prevarg= + release= + rpath= + xrpath= + perm_rpath= + temp_rpath= + thread_safe=no + vinfo= + vinfo_number=no + weak_libs= + single_module="${wl}-single_module" + func_infer_tag $base_compile + + # We need to know -static, to get the right output filenames. + for arg + do + case $arg in + -shared) + test "$build_libtool_libs" != yes && \ + func_fatal_configuration "can not build a shared library" + build_old_libs=no + break + ;; + -all-static | -static | -static-libtool-libs) + case $arg in + -all-static) + if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then + func_warning "complete static linking is impossible in this configuration" + fi + if test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=yes + ;; + -static) + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=built + ;; + -static-libtool-libs) + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=yes + ;; + esac + build_libtool_libs=no + build_old_libs=yes + break + ;; + esac + done + + # See if our shared archives depend on static archives. + test -n "$old_archive_from_new_cmds" && build_old_libs=yes + + # Go through the arguments, transforming them on the way. + while test "$#" -gt 0; do + arg="$1" + shift + func_quote_for_eval "$arg" + qarg=$func_quote_for_eval_unquoted_result + func_append libtool_args " $func_quote_for_eval_result" + + # If the previous option needs an argument, assign it. + if test -n "$prev"; then + case $prev in + output) + func_append compile_command " @OUTPUT@" + func_append finalize_command " @OUTPUT@" + ;; + esac + + case $prev in + bindir) + bindir="$arg" + prev= + continue + ;; + dlfiles|dlprefiles) + if test "$preload" = no; then + # Add the symbol object into the linking commands. + func_append compile_command " @SYMFILE@" + func_append finalize_command " @SYMFILE@" + preload=yes + fi + case $arg in + *.la | *.lo) ;; # We handle these cases below. + force) + if test "$dlself" = no; then + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + self) + if test "$prev" = dlprefiles; then + dlself=yes + elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then + dlself=yes + else + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + *) + if test "$prev" = dlfiles; then + func_append dlfiles " $arg" + else + func_append dlprefiles " $arg" + fi + prev= + continue + ;; + esac + ;; + expsyms) + export_symbols="$arg" + test -f "$arg" \ + || func_fatal_error "symbol file \`$arg' does not exist" + prev= + continue + ;; + expsyms_regex) + export_symbols_regex="$arg" + prev= + continue + ;; + framework) + case $host in + *-*-darwin*) + case "$deplibs " in + *" $qarg.ltframework "*) ;; + *) func_append deplibs " $qarg.ltframework" # this is fixed later + ;; + esac + ;; + esac + prev= + continue + ;; + inst_prefix) + inst_prefix_dir="$arg" + prev= + continue + ;; + objectlist) + if test -f "$arg"; then + save_arg=$arg + moreargs= + for fil in `cat "$save_arg"` + do +# func_append moreargs " $fil" + arg=$fil + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if func_lalib_unsafe_p "$arg"; then + pic_object= + non_pic_object= + + # Read the .lo file + func_source "$arg" + + if test -z "$pic_object" || + test -z "$non_pic_object" || + test "$pic_object" = none && + test "$non_pic_object" = none; then + func_fatal_error "cannot find name of object for \`$arg'" + fi + + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir="$func_dirname_result" + + if test "$pic_object" != none; then + # Prepend the subdirectory the object is found in. + pic_object="$xdir$pic_object" + + if test "$prev" = dlfiles; then + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then + func_append dlfiles " $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test "$prev" = dlprefiles; then + # Preload the old-style object. + func_append dlprefiles " $pic_object" + prev= + fi + + # A PIC object. + func_append libobjs " $pic_object" + arg="$pic_object" + fi + + # Non-PIC object. + if test "$non_pic_object" != none; then + # Prepend the subdirectory the object is found in. + non_pic_object="$xdir$non_pic_object" + + # A standard non-PIC object + func_append non_pic_objects " $non_pic_object" + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi + else + # If the PIC object exists, use it instead. + # $xdir was prepended to $pic_object above. + non_pic_object="$pic_object" + func_append non_pic_objects " $non_pic_object" + fi + else + # Only an error if not doing a dry-run. + if $opt_dry_run; then + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir="$func_dirname_result" + + func_lo2o "$arg" + pic_object=$xdir$objdir/$func_lo2o_result + non_pic_object=$xdir$func_lo2o_result + func_append libobjs " $pic_object" + func_append non_pic_objects " $non_pic_object" + else + func_fatal_error "\`$arg' is not a valid libtool object" + fi + fi + done + else + func_fatal_error "link input file \`$arg' does not exist" + fi + arg=$save_arg + prev= + continue + ;; + precious_regex) + precious_files_regex="$arg" + prev= + continue + ;; + release) + release="-$arg" + prev= + continue + ;; + rpath | xrpath) + # We need an absolute path. + case $arg in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + func_fatal_error "only absolute run-paths are allowed" + ;; + esac + if test "$prev" = rpath; then + case "$rpath " in + *" $arg "*) ;; + *) func_append rpath " $arg" ;; + esac + else + case "$xrpath " in + *" $arg "*) ;; + *) func_append xrpath " $arg" ;; + esac + fi + prev= + continue + ;; + shrext) + shrext_cmds="$arg" + prev= + continue + ;; + weak) + func_append weak_libs " $arg" + prev= + continue + ;; + xcclinker) + func_append linker_flags " $qarg" + func_append compiler_flags " $qarg" + prev= + func_append compile_command " $qarg" + func_append finalize_command " $qarg" + continue + ;; + xcompiler) + func_append compiler_flags " $qarg" + prev= + func_append compile_command " $qarg" + func_append finalize_command " $qarg" + continue + ;; + xlinker) + func_append linker_flags " $qarg" + func_append compiler_flags " $wl$qarg" + prev= + func_append compile_command " $wl$qarg" + func_append finalize_command " $wl$qarg" + continue + ;; + *) + eval "$prev=\"\$arg\"" + prev= + continue + ;; + esac + fi # test -n "$prev" + + prevarg="$arg" + + case $arg in + -all-static) + if test -n "$link_static_flag"; then + # See comment for -static flag below, for more details. + func_append compile_command " $link_static_flag" + func_append finalize_command " $link_static_flag" + fi + continue + ;; + + -allow-undefined) + # FIXME: remove this flag sometime in the future. + func_fatal_error "\`-allow-undefined' must not be used because it is the default" + ;; + + -avoid-version) + avoid_version=yes + continue + ;; + + -bindir) + prev=bindir + continue + ;; + + -dlopen) + prev=dlfiles + continue + ;; + + -dlpreopen) + prev=dlprefiles + continue + ;; + + -export-dynamic) + export_dynamic=yes + continue + ;; + + -export-symbols | -export-symbols-regex) + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then + func_fatal_error "more than one -exported-symbols argument is not allowed" + fi + if test "X$arg" = "X-export-symbols"; then + prev=expsyms + else + prev=expsyms_regex + fi + continue + ;; + + -framework) + prev=framework + continue + ;; + + -inst-prefix-dir) + prev=inst_prefix + continue + ;; + + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* + # so, if we see these flags be careful not to treat them like -L + -L[A-Z][A-Z]*:*) + case $with_gcc/$host in + no/*-*-irix* | /*-*-irix*) + func_append compile_command " $arg" + func_append finalize_command " $arg" + ;; + esac + continue + ;; + + -L*) + func_stripname "-L" '' "$arg" + if test -z "$func_stripname_result"; then + if test "$#" -gt 0; then + func_fatal_error "require no space between \`-L' and \`$1'" + else + func_fatal_error "need path for \`-L' option" + fi + fi + func_resolve_sysroot "$func_stripname_result" + dir=$func_resolve_sysroot_result + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + absdir=`cd "$dir" && pwd` + test -z "$absdir" && \ + func_fatal_error "cannot determine absolute directory name of \`$dir'" + dir="$absdir" + ;; + esac + case "$deplibs " in + *" -L$dir "* | *" $arg "*) + # Will only happen for absolute or sysroot arguments + ;; + *) + # Preserve sysroot, but never include relative directories + case $dir in + [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;; + *) func_append deplibs " -L$dir" ;; + esac + func_append lib_search_path " $dir" + ;; + esac + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` + case :$dllsearchpath: in + *":$dir:"*) ;; + ::) dllsearchpath=$dir;; + *) func_append dllsearchpath ":$dir";; + esac + case :$dllsearchpath: in + *":$testbindir:"*) ;; + ::) dllsearchpath=$testbindir;; + *) func_append dllsearchpath ":$testbindir";; + esac + ;; + esac + continue + ;; + + -l*) + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) + # These systems don't actually have a C or math library (as such) + continue + ;; + *-*-os2*) + # These systems don't actually have a C library (as such) + test "X$arg" = "X-lc" && continue + ;; + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc due to us having libc/libc_r. + test "X$arg" = "X-lc" && continue + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C and math libraries are in the System framework + func_append deplibs " System.ltframework" + continue + ;; + *-*-sco3.2v5* | *-*-sco5v6*) + # Causes problems with __ctype + test "X$arg" = "X-lc" && continue + ;; + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) + # Compiler inserts libc in the correct place for threads to work + test "X$arg" = "X-lc" && continue + ;; + esac + elif test "X$arg" = "X-lc_r"; then + case $host in + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; + esac + fi + func_append deplibs " $arg" + continue + ;; + + -module) + module=yes + continue + ;; + + # Tru64 UNIX uses -model [arg] to determine the layout of C++ + # classes, name mangling, and exception handling. + # Darwin uses the -arch flag to determine output architecture. + -model|-arch|-isysroot|--sysroot) + func_append compiler_flags " $arg" + func_append compile_command " $arg" + func_append finalize_command " $arg" + prev=xcompiler + continue + ;; + + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ + |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) + func_append compiler_flags " $arg" + func_append compile_command " $arg" + func_append finalize_command " $arg" + case "$new_inherited_linker_flags " in + *" $arg "*) ;; + * ) func_append new_inherited_linker_flags " $arg" ;; + esac + continue + ;; + + -multi_module) + single_module="${wl}-multi_module" + continue + ;; + + -no-fast-install) + fast_install=no + continue + ;; + + -no-install) + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) + # The PATH hackery in wrapper scripts is required on Windows + # and Darwin in order for the loader to find any dlls it needs. + func_warning "\`-no-install' is ignored for $host" + func_warning "assuming \`-no-fast-install' instead" + fast_install=no + ;; + *) no_install=yes ;; + esac + continue + ;; + + -no-undefined) + allow_undefined=no + continue + ;; + + -objectlist) + prev=objectlist + continue + ;; + + -o) prev=output ;; + + -precious-files-regex) + prev=precious_regex + continue + ;; + + -release) + prev=release + continue + ;; + + -rpath) + prev=rpath + continue + ;; + + -R) + prev=xrpath + continue + ;; + + -R*) + func_stripname '-R' '' "$arg" + dir=$func_stripname_result + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + =*) + func_stripname '=' '' "$dir" + dir=$lt_sysroot$func_stripname_result + ;; + *) + func_fatal_error "only absolute run-paths are allowed" + ;; + esac + case "$xrpath " in + *" $dir "*) ;; + *) func_append xrpath " $dir" ;; + esac + continue + ;; + + -shared) + # The effects of -shared are defined in a previous loop. + continue + ;; + + -shrext) + prev=shrext + continue + ;; + + -static | -static-libtool-libs) + # The effects of -static are defined in a previous loop. + # We used to do the same as -all-static on platforms that + # didn't have a PIC flag, but the assumption that the effects + # would be equivalent was wrong. It would break on at least + # Digital Unix and AIX. + continue + ;; + + -thread-safe) + thread_safe=yes + continue + ;; + + -version-info) + prev=vinfo + continue + ;; + + -version-number) + prev=vinfo + vinfo_number=yes + continue + ;; + + -weak) + prev=weak + continue + ;; + + -Wc,*) + func_stripname '-Wc,' '' "$arg" + args=$func_stripname_result + arg= + save_ifs="$IFS"; IFS=',' + for flag in $args; do + IFS="$save_ifs" + func_quote_for_eval "$flag" + func_append arg " $func_quote_for_eval_result" + func_append compiler_flags " $func_quote_for_eval_result" + done + IFS="$save_ifs" + func_stripname ' ' '' "$arg" + arg=$func_stripname_result + ;; + + -Wl,*) + func_stripname '-Wl,' '' "$arg" + args=$func_stripname_result + arg= + save_ifs="$IFS"; IFS=',' + for flag in $args; do + IFS="$save_ifs" + func_quote_for_eval "$flag" + func_append arg " $wl$func_quote_for_eval_result" + func_append compiler_flags " $wl$func_quote_for_eval_result" + func_append linker_flags " $func_quote_for_eval_result" + done + IFS="$save_ifs" + func_stripname ' ' '' "$arg" + arg=$func_stripname_result + ;; + + -Xcompiler) + prev=xcompiler + continue + ;; + + -Xlinker) + prev=xlinker + continue + ;; + + -XCClinker) + prev=xcclinker + continue + ;; + + # -msg_* for osf cc + -msg_*) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + ;; + + # Flags to be passed through unchanged, with rationale: + # -64, -mips[0-9] enable 64-bit mode for the SGI compiler + # -r[0-9][0-9]* specify processor for the SGI compiler + # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler + # +DA*, +DD* enable 64-bit mode for the HP compiler + # -q* compiler args for the IBM compiler + # -m*, -t[45]*, -txscale* architecture-specific flags for GCC + # -F/path path to uninstalled frameworks, gcc on darwin + # -p, -pg, --coverage, -fprofile-* profiling flags for GCC + # @file GCC response files + # -tp=* Portland pgcc target processor selection + # --sysroot=* for sysroot support + # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ + -O*|-flto*|-fwhopr*|-fuse-linker-plugin) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + func_append compile_command " $arg" + func_append finalize_command " $arg" + func_append compiler_flags " $arg" + continue + ;; + + # Some other compiler flag. + -* | +*) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + ;; + + *.$objext) + # A standard object. + func_append objs " $arg" + ;; + + *.lo) + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if func_lalib_unsafe_p "$arg"; then + pic_object= + non_pic_object= + + # Read the .lo file + func_source "$arg" + + if test -z "$pic_object" || + test -z "$non_pic_object" || + test "$pic_object" = none && + test "$non_pic_object" = none; then + func_fatal_error "cannot find name of object for \`$arg'" + fi + + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir="$func_dirname_result" + + if test "$pic_object" != none; then + # Prepend the subdirectory the object is found in. + pic_object="$xdir$pic_object" + + if test "$prev" = dlfiles; then + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then + func_append dlfiles " $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test "$prev" = dlprefiles; then + # Preload the old-style object. + func_append dlprefiles " $pic_object" + prev= + fi + + # A PIC object. + func_append libobjs " $pic_object" + arg="$pic_object" + fi + + # Non-PIC object. + if test "$non_pic_object" != none; then + # Prepend the subdirectory the object is found in. + non_pic_object="$xdir$non_pic_object" + + # A standard non-PIC object + func_append non_pic_objects " $non_pic_object" + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi + else + # If the PIC object exists, use it instead. + # $xdir was prepended to $pic_object above. + non_pic_object="$pic_object" + func_append non_pic_objects " $non_pic_object" + fi + else + # Only an error if not doing a dry-run. + if $opt_dry_run; then + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir="$func_dirname_result" + + func_lo2o "$arg" + pic_object=$xdir$objdir/$func_lo2o_result + non_pic_object=$xdir$func_lo2o_result + func_append libobjs " $pic_object" + func_append non_pic_objects " $non_pic_object" + else + func_fatal_error "\`$arg' is not a valid libtool object" + fi + fi + ;; + + *.$libext) + # An archive. + func_append deplibs " $arg" + func_append old_deplibs " $arg" + continue + ;; + + *.la) + # A libtool-controlled library. + + func_resolve_sysroot "$arg" + if test "$prev" = dlfiles; then + # This library was specified with -dlopen. + func_append dlfiles " $func_resolve_sysroot_result" + prev= + elif test "$prev" = dlprefiles; then + # The library was specified with -dlpreopen. + func_append dlprefiles " $func_resolve_sysroot_result" + prev= + else + func_append deplibs " $func_resolve_sysroot_result" + fi + continue + ;; + + # Some other compiler argument. + *) + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + ;; + esac # arg + + # Now actually substitute the argument into the commands. + if test -n "$arg"; then + func_append compile_command " $arg" + func_append finalize_command " $arg" + fi + done # argument parsing loop + + test -n "$prev" && \ + func_fatal_help "the \`$prevarg' option requires an argument" + + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then + eval arg=\"$export_dynamic_flag_spec\" + func_append compile_command " $arg" + func_append finalize_command " $arg" + fi + + oldlibs= + # calculate the name of the file, without its directory + func_basename "$output" + outputname="$func_basename_result" + libobjs_save="$libobjs" + + if test -n "$shlibpath_var"; then + # get the directories listed in $shlibpath_var + eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\` + else + shlib_search_path= + fi + eval sys_lib_search_path=\"$sys_lib_search_path_spec\" + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" + + func_dirname "$output" "/" "" + output_objdir="$func_dirname_result$objdir" + func_to_tool_file "$output_objdir/" + tool_output_objdir=$func_to_tool_file_result + # Create the object directory. + func_mkdir_p "$output_objdir" + + # Determine the type of output + case $output in + "") + func_fatal_help "you must specify an output file" + ;; + *.$libext) linkmode=oldlib ;; + *.lo | *.$objext) linkmode=obj ;; + *.la) linkmode=lib ;; + *) linkmode=prog ;; # Anything else should be a program. + esac + + specialdeplibs= + + libs= + # Find all interdependent deplibs by searching for libraries + # that are linked more than once (e.g. -la -lb -la) + for deplib in $deplibs; do + if $opt_preserve_dup_deps ; then + case "$libs " in + *" $deplib "*) func_append specialdeplibs " $deplib" ;; + esac + fi + func_append libs " $deplib" + done + + if test "$linkmode" = lib; then + libs="$predeps $libs $compiler_lib_search_path $postdeps" + + # Compute libraries that are listed more than once in $predeps + # $postdeps and mark them as special (i.e., whose duplicates are + # not to be eliminated). + pre_post_deps= + if $opt_duplicate_compiler_generated_deps; then + for pre_post_dep in $predeps $postdeps; do + case "$pre_post_deps " in + *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;; + esac + func_append pre_post_deps " $pre_post_dep" + done + fi + pre_post_deps= + fi + + deplibs= + newdependency_libs= + newlib_search_path= + need_relink=no # whether we're linking any uninstalled libtool libraries + notinst_deplibs= # not-installed libtool libraries + notinst_path= # paths that contain not-installed libtool libraries + + case $linkmode in + lib) + passes="conv dlpreopen link" + for file in $dlfiles $dlprefiles; do + case $file in + *.la) ;; + *) + func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file" + ;; + esac + done + ;; + prog) + compile_deplibs= + finalize_deplibs= + alldeplibs=no + newdlfiles= + newdlprefiles= + passes="conv scan dlopen dlpreopen link" + ;; + *) passes="conv" + ;; + esac + + for pass in $passes; do + # The preopen pass in lib mode reverses $deplibs; put it back here + # so that -L comes before libs that need it for instance... + if test "$linkmode,$pass" = "lib,link"; then + ## FIXME: Find the place where the list is rebuilt in the wrong + ## order, and fix it there properly + tmp_deplibs= + for deplib in $deplibs; do + tmp_deplibs="$deplib $tmp_deplibs" + done + deplibs="$tmp_deplibs" + fi + + if test "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan"; then + libs="$deplibs" + deplibs= + fi + if test "$linkmode" = prog; then + case $pass in + dlopen) libs="$dlfiles" ;; + dlpreopen) libs="$dlprefiles" ;; + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; + esac + fi + if test "$linkmode,$pass" = "lib,dlpreopen"; then + # Collect and forward deplibs of preopened libtool libs + for lib in $dlprefiles; do + # Ignore non-libtool-libs + dependency_libs= + func_resolve_sysroot "$lib" + case $lib in + *.la) func_source "$func_resolve_sysroot_result" ;; + esac + + # Collect preopened libtool deplibs, except any this library + # has declared as weak libs + for deplib in $dependency_libs; do + func_basename "$deplib" + deplib_base=$func_basename_result + case " $weak_libs " in + *" $deplib_base "*) ;; + *) func_append deplibs " $deplib" ;; + esac + done + done + libs="$dlprefiles" + fi + if test "$pass" = dlopen; then + # Collect dlpreopened libraries + save_deplibs="$deplibs" + deplibs= + fi + + for deplib in $libs; do + lib= + found=no + case $deplib in + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ + |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + func_append compiler_flags " $deplib" + if test "$linkmode" = lib ; then + case "$new_inherited_linker_flags " in + *" $deplib "*) ;; + * ) func_append new_inherited_linker_flags " $deplib" ;; + esac + fi + fi + continue + ;; + -l*) + if test "$linkmode" != lib && test "$linkmode" != prog; then + func_warning "\`-l' is ignored for archives/objects" + continue + fi + func_stripname '-l' '' "$deplib" + name=$func_stripname_result + if test "$linkmode" = lib; then + searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" + else + searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" + fi + for searchdir in $searchdirs; do + for search_ext in .la $std_shrext .so .a; do + # Search the libtool library + lib="$searchdir/lib${name}${search_ext}" + if test -f "$lib"; then + if test "$search_ext" = ".la"; then + found=yes + else + found=no + fi + break 2 + fi + done + done + if test "$found" != yes; then + # deplib doesn't seem to be a libtool library + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" + fi + continue + else # deplib is a libtool library + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, + # We need to do some special things here, and not later. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $deplib "*) + if func_lalib_p "$lib"; then + library_names= + old_library= + func_source "$lib" + for l in $old_library $library_names; do + ll="$l" + done + if test "X$ll" = "X$old_library" ; then # only static version available + found=no + func_dirname "$lib" "" "." + ladir="$func_dirname_result" + lib=$ladir/$old_library + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" + fi + continue + fi + fi + ;; + *) ;; + esac + fi + fi + ;; # -l + *.ltframework) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + if test "$linkmode" = lib ; then + case "$new_inherited_linker_flags " in + *" $deplib "*) ;; + * ) func_append new_inherited_linker_flags " $deplib" ;; + esac + fi + fi + continue + ;; + -L*) + case $linkmode in + lib) + deplibs="$deplib $deplibs" + test "$pass" = conv && continue + newdependency_libs="$deplib $newdependency_libs" + func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result" + func_append newlib_search_path " $func_resolve_sysroot_result" + ;; + prog) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + if test "$pass" = scan; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result" + func_append newlib_search_path " $func_resolve_sysroot_result" + ;; + *) + func_warning "\`-L' is ignored for archives/objects" + ;; + esac # linkmode + continue + ;; # -L + -R*) + if test "$pass" = link; then + func_stripname '-R' '' "$deplib" + func_resolve_sysroot "$func_stripname_result" + dir=$func_resolve_sysroot_result + # Make sure the xrpath contains only unique directories. + case "$xrpath " in + *" $dir "*) ;; + *) func_append xrpath " $dir" ;; + esac + fi + deplibs="$deplib $deplibs" + continue + ;; + *.la) + func_resolve_sysroot "$deplib" + lib=$func_resolve_sysroot_result + ;; + *.$libext) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + case $linkmode in + lib) + # Linking convenience modules into shared libraries is allowed, + # but linking other static libraries is non-portable. + case " $dlpreconveniencelibs " in + *" $deplib "*) ;; + *) + valid_a_lib=no + case $deplibs_check_method in + match_pattern*) + set dummy $deplibs_check_method; shift + match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` + if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \ + | $EGREP "$match_pattern_regex" > /dev/null; then + valid_a_lib=yes + fi + ;; + pass_all) + valid_a_lib=yes + ;; + esac + if test "$valid_a_lib" != yes; then + echo + $ECHO "*** Warning: Trying to link with static lib archive $deplib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because the file extensions .$libext of this argument makes me believe" + echo "*** that it is just a static archive that I should not use here." + else + echo + $ECHO "*** Warning: Linking the shared library $output against the" + $ECHO "*** static library $deplib is not portable!" + deplibs="$deplib $deplibs" + fi + ;; + esac + continue + ;; + prog) + if test "$pass" != link; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + continue + ;; + esac # linkmode + ;; # *.$libext + *.lo | *.$objext) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + elif test "$linkmode" = prog; then + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then + # If there is no dlopen support or we're linking statically, + # we need to preload. + func_append newdlprefiles " $deplib" + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + func_append newdlfiles " $deplib" + fi + fi + continue + ;; + %DEPLIBS%) + alldeplibs=yes + continue + ;; + esac # case $deplib + + if test "$found" = yes || test -f "$lib"; then : + else + func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'" + fi + + # Check to see that this really is a libtool archive. + func_lalib_unsafe_p "$lib" \ + || func_fatal_error "\`$lib' is not a valid libtool archive" + + func_dirname "$lib" "" "." + ladir="$func_dirname_result" + + dlname= + dlopen= + dlpreopen= + libdir= + library_names= + old_library= + inherited_linker_flags= + # If the library was installed with an old release of libtool, + # it will not redefine variables installed, or shouldnotlink + installed=yes + shouldnotlink=no + avoidtemprpath= + + + # Read the .la file + func_source "$lib" + + # Convert "-framework foo" to "foo.ltframework" + if test -n "$inherited_linker_flags"; then + tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'` + for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do + case " $new_inherited_linker_flags " in + *" $tmp_inherited_linker_flag "*) ;; + *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";; + esac + done + fi + dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + if test "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan" || + { test "$linkmode" != prog && test "$linkmode" != lib; }; then + test -n "$dlopen" && func_append dlfiles " $dlopen" + test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen" + fi + + if test "$pass" = conv; then + # Only check for convenience libraries + deplibs="$lib $deplibs" + if test -z "$libdir"; then + if test -z "$old_library"; then + func_fatal_error "cannot find name of link library for \`$lib'" + fi + # It is a libtool convenience library, so add in its objects. + func_append convenience " $ladir/$objdir/$old_library" + func_append old_convenience " $ladir/$objdir/$old_library" + elif test "$linkmode" != prog && test "$linkmode" != lib; then + func_fatal_error "\`$lib' is not a convenience library" + fi + tmp_libs= + for deplib in $dependency_libs; do + deplibs="$deplib $deplibs" + if $opt_preserve_dup_deps ; then + case "$tmp_libs " in + *" $deplib "*) func_append specialdeplibs " $deplib" ;; + esac + fi + func_append tmp_libs " $deplib" + done + continue + fi # $pass = conv + + + # Get the name of the library we link against. + linklib= + if test -n "$old_library" && + { test "$prefer_static_libs" = yes || + test "$prefer_static_libs,$installed" = "built,no"; }; then + linklib=$old_library + else + for l in $old_library $library_names; do + linklib="$l" + done + fi + if test -z "$linklib"; then + func_fatal_error "cannot find name of link library for \`$lib'" + fi + + # This library was specified with -dlopen. + if test "$pass" = dlopen; then + if test -z "$libdir"; then + func_fatal_error "cannot -dlopen a convenience library: \`$lib'" + fi + if test -z "$dlname" || + test "$dlopen_support" != yes || + test "$build_libtool_libs" = no; then + # If there is no dlname, no dlopen support or we're linking + # statically, we need to preload. We also need to preload any + # dependent libraries so libltdl's deplib preloader doesn't + # bomb out in the load deplibs phase. + func_append dlprefiles " $lib $dependency_libs" + else + func_append newdlfiles " $lib" + fi + continue + fi # $pass = dlopen + + # We need an absolute path. + case $ladir in + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; + *) + abs_ladir=`cd "$ladir" && pwd` + if test -z "$abs_ladir"; then + func_warning "cannot determine absolute directory name of \`$ladir'" + func_warning "passing it literally to the linker, although it might fail" + abs_ladir="$ladir" + fi + ;; + esac + func_basename "$lib" + laname="$func_basename_result" + + # Find the relevant object directory and library name. + if test "X$installed" = Xyes; then + if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then + func_warning "library \`$lib' was moved." + dir="$ladir" + absdir="$abs_ladir" + libdir="$abs_ladir" + else + dir="$lt_sysroot$libdir" + absdir="$lt_sysroot$libdir" + fi + test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes + else + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then + dir="$ladir" + absdir="$abs_ladir" + # Remove this search path later + func_append notinst_path " $abs_ladir" + else + dir="$ladir/$objdir" + absdir="$abs_ladir/$objdir" + # Remove this search path later + func_append notinst_path " $abs_ladir" + fi + fi # $installed = yes + func_stripname 'lib' '.la' "$laname" + name=$func_stripname_result + + # This library was specified with -dlpreopen. + if test "$pass" = dlpreopen; then + if test -z "$libdir" && test "$linkmode" = prog; then + func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'" + fi + case "$host" in + # special handling for platforms with PE-DLLs. + *cygwin* | *mingw* | *cegcc* ) + # Linker will automatically link against shared library if both + # static and shared are present. Therefore, ensure we extract + # symbols from the import library if a shared library is present + # (otherwise, the dlopen module name will be incorrect). We do + # this by putting the import library name into $newdlprefiles. + # We recover the dlopen module name by 'saving' the la file + # name in a special purpose variable, and (later) extracting the + # dlname from the la file. + if test -n "$dlname"; then + func_tr_sh "$dir/$linklib" + eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname" + func_append newdlprefiles " $dir/$linklib" + else + func_append newdlprefiles " $dir/$old_library" + # Keep a list of preopened convenience libraries to check + # that they are being used correctly in the link pass. + test -z "$libdir" && \ + func_append dlpreconveniencelibs " $dir/$old_library" + fi + ;; + * ) + # Prefer using a static library (so that no silly _DYNAMIC symbols + # are required to link). + if test -n "$old_library"; then + func_append newdlprefiles " $dir/$old_library" + # Keep a list of preopened convenience libraries to check + # that they are being used correctly in the link pass. + test -z "$libdir" && \ + func_append dlpreconveniencelibs " $dir/$old_library" + # Otherwise, use the dlname, so that lt_dlopen finds it. + elif test -n "$dlname"; then + func_append newdlprefiles " $dir/$dlname" + else + func_append newdlprefiles " $dir/$linklib" + fi + ;; + esac + fi # $pass = dlpreopen + + if test -z "$libdir"; then + # Link the convenience library + if test "$linkmode" = lib; then + deplibs="$dir/$old_library $deplibs" + elif test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$dir/$old_library $compile_deplibs" + finalize_deplibs="$dir/$old_library $finalize_deplibs" + else + deplibs="$lib $deplibs" # used for prog,scan pass + fi + continue + fi + + + if test "$linkmode" = prog && test "$pass" != link; then + func_append newlib_search_path " $ladir" + deplibs="$lib $deplibs" + + linkalldeplibs=no + if test "$link_all_deplibs" != no || test -z "$library_names" || + test "$build_libtool_libs" = no; then + linkalldeplibs=yes + fi + + tmp_libs= + for deplib in $dependency_libs; do + case $deplib in + -L*) func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result" + func_append newlib_search_path " $func_resolve_sysroot_result" + ;; + esac + # Need to link against all dependency_libs? + if test "$linkalldeplibs" = yes; then + deplibs="$deplib $deplibs" + else + # Need to hardcode shared library paths + # or/and link against static libraries + newdependency_libs="$deplib $newdependency_libs" + fi + if $opt_preserve_dup_deps ; then + case "$tmp_libs " in + *" $deplib "*) func_append specialdeplibs " $deplib" ;; + esac + fi + func_append tmp_libs " $deplib" + done # for deplib + continue + fi # $linkmode = prog... + + if test "$linkmode,$pass" = "prog,link"; then + if test -n "$library_names" && + { { test "$prefer_static_libs" = no || + test "$prefer_static_libs,$installed" = "built,yes"; } || + test -z "$old_library"; }; then + # We need to hardcode the library path + if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then + # Make sure the rpath contains only unique directories. + case "$temp_rpath:" in + *"$absdir:"*) ;; + *) func_append temp_rpath "$absdir:" ;; + esac + fi + + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) func_append compile_rpath " $absdir" ;; + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) func_append finalize_rpath " $libdir" ;; + esac + ;; + esac + fi # $linkmode,$pass = prog,link... + + if test "$alldeplibs" = yes && + { test "$deplibs_check_method" = pass_all || + { test "$build_libtool_libs" = yes && + test -n "$library_names"; }; }; then + # We only need to search for static libraries + continue + fi + fi + + link_static=no # Whether the deplib will be linked statically + use_static_libs=$prefer_static_libs + if test "$use_static_libs" = built && test "$installed" = yes; then + use_static_libs=no + fi + if test -n "$library_names" && + { test "$use_static_libs" = no || test -z "$old_library"; }; then + case $host in + *cygwin* | *mingw* | *cegcc*) + # No point in relinking DLLs because paths are not encoded + func_append notinst_deplibs " $lib" + need_relink=no + ;; + *) + if test "$installed" = no; then + func_append notinst_deplibs " $lib" + need_relink=yes + fi + ;; + esac + # This is a shared library + + # Warn about portability, can't link against -module's on some + # systems (darwin). Don't bleat about dlopened modules though! + dlopenmodule="" + for dlpremoduletest in $dlprefiles; do + if test "X$dlpremoduletest" = "X$lib"; then + dlopenmodule="$dlpremoduletest" + break + fi + done + if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then + echo + if test "$linkmode" = prog; then + $ECHO "*** Warning: Linking the executable $output against the loadable module" + else + $ECHO "*** Warning: Linking the shared library $output against the loadable module" + fi + $ECHO "*** $linklib is not portable!" + fi + if test "$linkmode" = lib && + test "$hardcode_into_libs" = yes; then + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) func_append compile_rpath " $absdir" ;; + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) func_append finalize_rpath " $libdir" ;; + esac + ;; + esac + fi + + if test -n "$old_archive_from_expsyms_cmds"; then + # figure out the soname + set dummy $library_names + shift + realname="$1" + shift + libname=`eval "\\$ECHO \"$libname_spec\""` + # use dlname if we got it. it's perfectly good, no? + if test -n "$dlname"; then + soname="$dlname" + elif test -n "$soname_spec"; then + # bleh windows + case $host in + *cygwin* | mingw* | *cegcc*) + func_arith $current - $age + major=$func_arith_result + versuffix="-$major" + ;; + esac + eval soname=\"$soname_spec\" + else + soname="$realname" + fi + + # Make a new name for the extract_expsyms_cmds to use + soroot="$soname" + func_basename "$soroot" + soname="$func_basename_result" + func_stripname 'lib' '.dll' "$soname" + newlib=libimp-$func_stripname_result.a + + # If the library has no export list, then create one now + if test -f "$output_objdir/$soname-def"; then : + else + func_verbose "extracting exported symbol list from \`$soname'" + func_execute_cmds "$extract_expsyms_cmds" 'exit $?' + fi + + # Create $newlib + if test -f "$output_objdir/$newlib"; then :; else + func_verbose "generating import library for \`$soname'" + func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' + fi + # make sure the library variables are pointing to the new library + dir=$output_objdir + linklib=$newlib + fi # test -n "$old_archive_from_expsyms_cmds" + + if test "$linkmode" = prog || test "$opt_mode" != relink; then + add_shlibpath= + add_dir= + add= + lib_linked=yes + case $hardcode_action in + immediate | unsupported) + if test "$hardcode_direct" = no; then + add="$dir/$linklib" + case $host in + *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; + *-*-sysv4*uw2*) add_dir="-L$dir" ;; + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ + *-*-unixware7*) add_dir="-L$dir" ;; + *-*-darwin* ) + # if the lib is a (non-dlopened) module then we can not + # link against it, someone is ignoring the earlier warnings + if /usr/bin/file -L $add 2> /dev/null | + $GREP ": [^:]* bundle" >/dev/null ; then + if test "X$dlopenmodule" != "X$lib"; then + $ECHO "*** Warning: lib $linklib is a module, not a shared library" + if test -z "$old_library" ; then + echo + echo "*** And there doesn't seem to be a static archive available" + echo "*** The link will probably fail, sorry" + else + add="$dir/$old_library" + fi + elif test -n "$old_library"; then + add="$dir/$old_library" + fi + fi + esac + elif test "$hardcode_minus_L" = no; then + case $host in + *-*-sunos*) add_shlibpath="$dir" ;; + esac + add_dir="-L$dir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = no; then + add_shlibpath="$dir" + add="-l$name" + else + lib_linked=no + fi + ;; + relink) + if test "$hardcode_direct" = yes && + test "$hardcode_direct_absolute" = no; then + add="$dir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$absdir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in + [\\/]*) + func_append add_dir " -L$inst_prefix_dir$libdir" + ;; + esac + fi + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + add_shlibpath="$dir" + add="-l$name" + else + lib_linked=no + fi + ;; + *) lib_linked=no ;; + esac + + if test "$lib_linked" != yes; then + func_fatal_configuration "unsupported hardcode properties" + fi + + if test -n "$add_shlibpath"; then + case :$compile_shlibpath: in + *":$add_shlibpath:"*) ;; + *) func_append compile_shlibpath "$add_shlibpath:" ;; + esac + fi + if test "$linkmode" = prog; then + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" + test -n "$add" && compile_deplibs="$add $compile_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + if test "$hardcode_direct" != yes && + test "$hardcode_minus_L" != yes && + test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) func_append finalize_shlibpath "$libdir:" ;; + esac + fi + fi + fi + + if test "$linkmode" = prog || test "$opt_mode" = relink; then + add_shlibpath= + add_dir= + add= + # Finalize command for both is simple: just hardcode it. + if test "$hardcode_direct" = yes && + test "$hardcode_direct_absolute" = no; then + add="$libdir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$libdir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) func_append finalize_shlibpath "$libdir:" ;; + esac + add="-l$name" + elif test "$hardcode_automatic" = yes; then + if test -n "$inst_prefix_dir" && + test -f "$inst_prefix_dir$libdir/$linklib" ; then + add="$inst_prefix_dir$libdir/$linklib" + else + add="$libdir/$linklib" + fi + else + # We cannot seem to hardcode it, guess we'll fake it. + add_dir="-L$libdir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in + [\\/]*) + func_append add_dir " -L$inst_prefix_dir$libdir" + ;; + esac + fi + add="-l$name" + fi + + if test "$linkmode" = prog; then + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" + test -n "$add" && finalize_deplibs="$add $finalize_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + fi + fi + elif test "$linkmode" = prog; then + # Here we assume that one of hardcode_direct or hardcode_minus_L + # is not unsupported. This is valid on all known static and + # shared platforms. + if test "$hardcode_direct" != unsupported; then + test -n "$old_library" && linklib="$old_library" + compile_deplibs="$dir/$linklib $compile_deplibs" + finalize_deplibs="$dir/$linklib $finalize_deplibs" + else + compile_deplibs="-l$name -L$dir $compile_deplibs" + finalize_deplibs="-l$name -L$dir $finalize_deplibs" + fi + elif test "$build_libtool_libs" = yes; then + # Not a shared library + if test "$deplibs_check_method" != pass_all; then + # We're trying link a shared library against a static one + # but the system doesn't support it. + + # Just print a warning and add the library to dependency_libs so + # that the program can be linked against the static library. + echo + $ECHO "*** Warning: This system can not link to static lib archive $lib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have." + if test "$module" = yes; then + echo "*** But as you try to build a module library, libtool will still create " + echo "*** a static module, that should work as long as the dlopening application" + echo "*** is linked with the -dlopen flag to resolve symbols at runtime." + if test -z "$global_symbol_pipe"; then + echo + echo "*** However, this would only work if libtool was able to extract symbol" + echo "*** lists from a program, using \`nm' or equivalent, but libtool could" + echo "*** not find such a program. So, this module is probably useless." + echo "*** \`nm' from GNU binutils and a full rebuild may help." + fi + if test "$build_old_libs" = no; then + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + fi + else + deplibs="$dir/$old_library $deplibs" + link_static=yes + fi + fi # link shared/static library? + + if test "$linkmode" = lib; then + if test -n "$dependency_libs" && + { test "$hardcode_into_libs" != yes || + test "$build_old_libs" = yes || + test "$link_static" = yes; }; then + # Extract -R from dependency_libs + temp_deplibs= + for libdir in $dependency_libs; do + case $libdir in + -R*) func_stripname '-R' '' "$libdir" + temp_xrpath=$func_stripname_result + case " $xrpath " in + *" $temp_xrpath "*) ;; + *) func_append xrpath " $temp_xrpath";; + esac;; + *) func_append temp_deplibs " $libdir";; + esac + done + dependency_libs="$temp_deplibs" + fi + + func_append newlib_search_path " $absdir" + # Link against this library + test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" + # ... and its dependency_libs + tmp_libs= + for deplib in $dependency_libs; do + newdependency_libs="$deplib $newdependency_libs" + case $deplib in + -L*) func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result";; + *) func_resolve_sysroot "$deplib" ;; + esac + if $opt_preserve_dup_deps ; then + case "$tmp_libs " in + *" $func_resolve_sysroot_result "*) + func_append specialdeplibs " $func_resolve_sysroot_result" ;; + esac + fi + func_append tmp_libs " $func_resolve_sysroot_result" + done + + if test "$link_all_deplibs" != no; then + # Add the search paths of all dependency libraries + for deplib in $dependency_libs; do + path= + case $deplib in + -L*) path="$deplib" ;; + *.la) + func_resolve_sysroot "$deplib" + deplib=$func_resolve_sysroot_result + func_dirname "$deplib" "" "." + dir=$func_dirname_result + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; + *) + absdir=`cd "$dir" && pwd` + if test -z "$absdir"; then + func_warning "cannot determine absolute directory name of \`$dir'" + absdir="$dir" + fi + ;; + esac + if $GREP "^installed=no" $deplib > /dev/null; then + case $host in + *-*-darwin*) + depdepl= + eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` + if test -n "$deplibrary_names" ; then + for tmp in $deplibrary_names ; do + depdepl=$tmp + done + if test -f "$absdir/$objdir/$depdepl" ; then + depdepl="$absdir/$objdir/$depdepl" + darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` + if test -z "$darwin_install_name"; then + darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` + fi + func_append compiler_flags " ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}" + func_append linker_flags " -dylib_file ${darwin_install_name}:${depdepl}" + path= + fi + fi + ;; + *) + path="-L$absdir/$objdir" + ;; + esac + else + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + test -z "$libdir" && \ + func_fatal_error "\`$deplib' is not a valid libtool archive" + test "$absdir" != "$libdir" && \ + func_warning "\`$deplib' seems to be moved" + + path="-L$absdir" + fi + ;; + esac + case " $deplibs " in + *" $path "*) ;; + *) deplibs="$path $deplibs" ;; + esac + done + fi # link_all_deplibs != no + fi # linkmode = lib + done # for deplib in $libs + if test "$pass" = link; then + if test "$linkmode" = "prog"; then + compile_deplibs="$new_inherited_linker_flags $compile_deplibs" + finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" + else + compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + fi + fi + dependency_libs="$newdependency_libs" + if test "$pass" = dlpreopen; then + # Link the dlpreopened libraries before other libraries + for deplib in $save_deplibs; do + deplibs="$deplib $deplibs" + done + fi + if test "$pass" != dlopen; then + if test "$pass" != conv; then + # Make sure lib_search_path contains only unique directories. + lib_search_path= + for dir in $newlib_search_path; do + case "$lib_search_path " in + *" $dir "*) ;; + *) func_append lib_search_path " $dir" ;; + esac + done + newlib_search_path= + fi + + if test "$linkmode,$pass" != "prog,link"; then + vars="deplibs" + else + vars="compile_deplibs finalize_deplibs" + fi + for var in $vars dependency_libs; do + # Add libraries to $var in reverse order + eval tmp_libs=\"\$$var\" + new_libs= + for deplib in $tmp_libs; do + # FIXME: Pedantically, this is the right thing to do, so + # that some nasty dependency loop isn't accidentally + # broken: + #new_libs="$deplib $new_libs" + # Pragmatically, this seems to cause very few problems in + # practice: + case $deplib in + -L*) new_libs="$deplib $new_libs" ;; + -R*) ;; + *) + # And here is the reason: when a library appears more + # than once as an explicit dependence of a library, or + # is implicitly linked in more than once by the + # compiler, it is considered special, and multiple + # occurrences thereof are not removed. Compare this + # with having the same library being listed as a + # dependency of multiple other libraries: in this case, + # we know (pedantically, we assume) the library does not + # need to be listed more than once, so we keep only the + # last copy. This is not always right, but it is rare + # enough that we require users that really mean to play + # such unportable linking tricks to link the library + # using -Wl,-lname, so that libtool does not consider it + # for duplicate removal. + case " $specialdeplibs " in + *" $deplib "*) new_libs="$deplib $new_libs" ;; + *) + case " $new_libs " in + *" $deplib "*) ;; + *) new_libs="$deplib $new_libs" ;; + esac + ;; + esac + ;; + esac + done + tmp_libs= + for deplib in $new_libs; do + case $deplib in + -L*) + case " $tmp_libs " in + *" $deplib "*) ;; + *) func_append tmp_libs " $deplib" ;; + esac + ;; + *) func_append tmp_libs " $deplib" ;; + esac + done + eval $var=\"$tmp_libs\" + done # for var + fi + # Last step: remove runtime libs from dependency_libs + # (they stay in deplibs) + tmp_libs= + for i in $dependency_libs ; do + case " $predeps $postdeps $compiler_lib_search_path " in + *" $i "*) + i="" + ;; + esac + if test -n "$i" ; then + func_append tmp_libs " $i" + fi + done + dependency_libs=$tmp_libs + done # for pass + if test "$linkmode" = prog; then + dlfiles="$newdlfiles" + fi + if test "$linkmode" = prog || test "$linkmode" = lib; then + dlprefiles="$newdlprefiles" + fi + + case $linkmode in + oldlib) + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + func_warning "\`-dlopen' is ignored for archives" + fi + + case " $deplibs" in + *\ -l* | *\ -L*) + func_warning "\`-l' and \`-L' are ignored for archives" ;; + esac + + test -n "$rpath" && \ + func_warning "\`-rpath' is ignored for archives" + + test -n "$xrpath" && \ + func_warning "\`-R' is ignored for archives" + + test -n "$vinfo" && \ + func_warning "\`-version-info/-version-number' is ignored for archives" + + test -n "$release" && \ + func_warning "\`-release' is ignored for archives" + + test -n "$export_symbols$export_symbols_regex" && \ + func_warning "\`-export-symbols' is ignored for archives" + + # Now set the variables for building old libraries. + build_libtool_libs=no + oldlibs="$output" + func_append objs "$old_deplibs" + ;; + + lib) + # Make sure we only generate libraries of the form `libNAME.la'. + case $outputname in + lib*) + func_stripname 'lib' '.la' "$outputname" + name=$func_stripname_result + eval shared_ext=\"$shrext_cmds\" + eval libname=\"$libname_spec\" + ;; + *) + test "$module" = no && \ + func_fatal_help "libtool library \`$output' must begin with \`lib'" + + if test "$need_lib_prefix" != no; then + # Add the "lib" prefix for modules if required + func_stripname '' '.la' "$outputname" + name=$func_stripname_result + eval shared_ext=\"$shrext_cmds\" + eval libname=\"$libname_spec\" + else + func_stripname '' '.la' "$outputname" + libname=$func_stripname_result + fi + ;; + esac + + if test -n "$objs"; then + if test "$deplibs_check_method" != pass_all; then + func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs" + else + echo + $ECHO "*** Warning: Linking the shared library $output against the non-libtool" + $ECHO "*** objects $objs is not portable!" + func_append libobjs " $objs" + fi + fi + + test "$dlself" != no && \ + func_warning "\`-dlopen self' is ignored for libtool libraries" + + set dummy $rpath + shift + test "$#" -gt 1 && \ + func_warning "ignoring multiple \`-rpath's for a libtool library" + + install_libdir="$1" + + oldlibs= + if test -z "$rpath"; then + if test "$build_libtool_libs" = yes; then + # Building a libtool convenience library. + # Some compilers have problems with a `.al' extension so + # convenience libraries should have the same extension an + # archive normally would. + oldlibs="$output_objdir/$libname.$libext $oldlibs" + build_libtool_libs=convenience + build_old_libs=yes + fi + + test -n "$vinfo" && \ + func_warning "\`-version-info/-version-number' is ignored for convenience libraries" + + test -n "$release" && \ + func_warning "\`-release' is ignored for convenience libraries" + else + + # Parse the version information argument. + save_ifs="$IFS"; IFS=':' + set dummy $vinfo 0 0 0 + shift + IFS="$save_ifs" + + test -n "$7" && \ + func_fatal_help "too many parameters to \`-version-info'" + + # convert absolute version numbers to libtool ages + # this retains compatibility with .la files and attempts + # to make the code below a bit more comprehensible + + case $vinfo_number in + yes) + number_major="$1" + number_minor="$2" + number_revision="$3" + # + # There are really only two kinds -- those that + # use the current revision as the major version + # and those that subtract age and use age as + # a minor version. But, then there is irix + # which has an extra 1 added just for fun + # + case $version_type in + # correct linux to gnu/linux during the next big refactor + darwin|linux|osf|windows|none) + func_arith $number_major + $number_minor + current=$func_arith_result + age="$number_minor" + revision="$number_revision" + ;; + freebsd-aout|freebsd-elf|qnx|sunos) + current="$number_major" + revision="$number_minor" + age="0" + ;; + irix|nonstopux) + func_arith $number_major + $number_minor + current=$func_arith_result + age="$number_minor" + revision="$number_minor" + lt_irix_increment=no + ;; + esac + ;; + no) + current="$1" + revision="$2" + age="$3" + ;; + esac + + # Check that each of the things are valid numbers. + case $current in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + func_error "CURRENT \`$current' must be a nonnegative integer" + func_fatal_error "\`$vinfo' is not valid version information" + ;; + esac + + case $revision in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + func_error "REVISION \`$revision' must be a nonnegative integer" + func_fatal_error "\`$vinfo' is not valid version information" + ;; + esac + + case $age in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + func_error "AGE \`$age' must be a nonnegative integer" + func_fatal_error "\`$vinfo' is not valid version information" + ;; + esac + + if test "$age" -gt "$current"; then + func_error "AGE \`$age' is greater than the current interface number \`$current'" + func_fatal_error "\`$vinfo' is not valid version information" + fi + + # Calculate the version variables. + major= + versuffix= + verstring= + case $version_type in + none) ;; + + darwin) + # Like Linux, but with the current version available in + # verstring for coding it into the library header + func_arith $current - $age + major=.$func_arith_result + versuffix="$major.$age.$revision" + # Darwin ld doesn't like 0 for these options... + func_arith $current + 1 + minor_current=$func_arith_result + xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" + ;; + + freebsd-aout) + major=".$current" + versuffix=".$current.$revision"; + ;; + + freebsd-elf) + major=".$current" + versuffix=".$current" + ;; + + irix | nonstopux) + if test "X$lt_irix_increment" = "Xno"; then + func_arith $current - $age + else + func_arith $current - $age + 1 + fi + major=$func_arith_result + + case $version_type in + nonstopux) verstring_prefix=nonstopux ;; + *) verstring_prefix=sgi ;; + esac + verstring="$verstring_prefix$major.$revision" + + # Add in all the interfaces that we are compatible with. + loop=$revision + while test "$loop" -ne 0; do + func_arith $revision - $loop + iface=$func_arith_result + func_arith $loop - 1 + loop=$func_arith_result + verstring="$verstring_prefix$major.$iface:$verstring" + done + + # Before this point, $major must not contain `.'. + major=.$major + versuffix="$major.$revision" + ;; + + linux) # correct to gnu/linux during the next big refactor + func_arith $current - $age + major=.$func_arith_result + versuffix="$major.$age.$revision" + ;; + + osf) + func_arith $current - $age + major=.$func_arith_result + versuffix=".$current.$age.$revision" + verstring="$current.$age.$revision" + + # Add in all the interfaces that we are compatible with. + loop=$age + while test "$loop" -ne 0; do + func_arith $current - $loop + iface=$func_arith_result + func_arith $loop - 1 + loop=$func_arith_result + verstring="$verstring:${iface}.0" + done + + # Make executables depend on our current version. + func_append verstring ":${current}.0" + ;; + + qnx) + major=".$current" + versuffix=".$current" + ;; + + sunos) + major=".$current" + versuffix=".$current.$revision" + ;; + + windows) + # Use '-' rather than '.', since we only want one + # extension on DOS 8.3 filesystems. + func_arith $current - $age + major=$func_arith_result + versuffix="-$major" + ;; + + *) + func_fatal_configuration "unknown library version type \`$version_type'" + ;; + esac + + # Clear the version info if we defaulted, and they specified a release. + if test -z "$vinfo" && test -n "$release"; then + major= + case $version_type in + darwin) + # we can't check for "0.0" in archive_cmds due to quoting + # problems, so we reset it completely + verstring= + ;; + *) + verstring="0.0" + ;; + esac + if test "$need_version" = no; then + versuffix= + else + versuffix=".0.0" + fi + fi + + # Remove version info from name if versioning should be avoided + if test "$avoid_version" = yes && test "$need_version" = no; then + major= + versuffix= + verstring="" + fi + + # Check to see if the archive will have undefined symbols. + if test "$allow_undefined" = yes; then + if test "$allow_undefined_flag" = unsupported; then + func_warning "undefined symbols not allowed in $host shared libraries" + build_libtool_libs=no + build_old_libs=yes + fi + else + # Don't allow undefined symbols. + allow_undefined_flag="$no_undefined_flag" + fi + + fi + + func_generate_dlsyms "$libname" "$libname" "yes" + func_append libobjs " $symfileobj" + test "X$libobjs" = "X " && libobjs= + + if test "$opt_mode" != relink; then + # Remove our outputs, but don't remove object files since they + # may have been created when compiling PIC objects. + removelist= + tempremovelist=`$ECHO "$output_objdir/*"` + for p in $tempremovelist; do + case $p in + *.$objext | *.gcno) + ;; + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) + if test "X$precious_files_regex" != "X"; then + if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 + then + continue + fi + fi + func_append removelist " $p" + ;; + *) ;; + esac + done + test -n "$removelist" && \ + func_show_eval "${RM}r \$removelist" + fi + + # Now set the variables for building old libraries. + if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then + func_append oldlibs " $output_objdir/$libname.$libext" + + # Transform .lo files to .o files. + oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP` + fi + + # Eliminate all temporary directories. + #for path in $notinst_path; do + # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"` + # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"` + # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"` + #done + + if test -n "$xrpath"; then + # If the user specified any rpath flags, then add them. + temp_xrpath= + for libdir in $xrpath; do + func_replace_sysroot "$libdir" + func_append temp_xrpath " -R$func_replace_sysroot_result" + case "$finalize_rpath " in + *" $libdir "*) ;; + *) func_append finalize_rpath " $libdir" ;; + esac + done + if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then + dependency_libs="$temp_xrpath $dependency_libs" + fi + fi + + # Make sure dlfiles contains only unique files that won't be dlpreopened + old_dlfiles="$dlfiles" + dlfiles= + for lib in $old_dlfiles; do + case " $dlprefiles $dlfiles " in + *" $lib "*) ;; + *) func_append dlfiles " $lib" ;; + esac + done + + # Make sure dlprefiles contains only unique files + old_dlprefiles="$dlprefiles" + dlprefiles= + for lib in $old_dlprefiles; do + case "$dlprefiles " in + *" $lib "*) ;; + *) func_append dlprefiles " $lib" ;; + esac + done + + if test "$build_libtool_libs" = yes; then + if test -n "$rpath"; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) + # these systems don't actually have a c library (as such)! + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C library is in the System framework + func_append deplibs " System.ltframework" + ;; + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc due to us having libc/libc_r. + ;; + *-*-sco3.2v5* | *-*-sco5v6*) + # Causes problems with __ctype + ;; + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) + # Compiler inserts libc in the correct place for threads to work + ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test "$build_libtool_need_lc" = "yes"; then + func_append deplibs " -lc" + fi + ;; + esac + fi + + # Transform deplibs into only deplibs that can be linked in shared. + name_save=$name + libname_save=$libname + release_save=$release + versuffix_save=$versuffix + major_save=$major + # I'm not sure if I'm treating the release correctly. I think + # release should show up in the -l (ie -lgmp5) so we don't want to + # add it in twice. Is that correct? + release="" + versuffix="" + major="" + newdeplibs= + droppeddeps=no + case $deplibs_check_method in + pass_all) + # Don't check for shared/static. Everything works. + # This might be a little naive. We might want to check + # whether the library exists or not. But this is on + # osf3 & osf4 and I'm not really sure... Just + # implementing what was already the behavior. + newdeplibs=$deplibs + ;; + test_compile) + # This code stresses the "libraries are programs" paradigm to its + # limits. Maybe even breaks it. We compile a program, linking it + # against the deplibs as a proxy for the library. Then we can check + # whether they linked in statically or dynamically with ldd. + $opt_dry_run || $RM conftest.c + cat > conftest.c <<EOF + int main() { return 0; } +EOF + $opt_dry_run || $RM conftest + if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then + ldd_output=`ldd conftest` + for i in $deplibs; do + case $i in + -l*) + func_stripname -l '' "$i" + name=$func_stripname_result + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $i "*) + func_append newdeplibs " $i" + i="" + ;; + esac + fi + if test -n "$i" ; then + libname=`eval "\\$ECHO \"$libname_spec\""` + deplib_matches=`eval "\\$ECHO \"$library_names_spec\""` + set dummy $deplib_matches; shift + deplib_match=$1 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then + func_append newdeplibs " $i" + else + droppeddeps=yes + echo + $ECHO "*** Warning: dynamic linker does not accept needed library $i." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which I believe you do not have" + echo "*** because a test_compile did reveal that the linker did not use it for" + echo "*** its dynamic dependency list that programs get resolved with at runtime." + fi + fi + ;; + *) + func_append newdeplibs " $i" + ;; + esac + done + else + # Error occurred in the first compile. Let's try to salvage + # the situation: Compile a separate program for each library. + for i in $deplibs; do + case $i in + -l*) + func_stripname -l '' "$i" + name=$func_stripname_result + $opt_dry_run || $RM conftest + if $LTCC $LTCFLAGS -o conftest conftest.c $i; then + ldd_output=`ldd conftest` + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $i "*) + func_append newdeplibs " $i" + i="" + ;; + esac + fi + if test -n "$i" ; then + libname=`eval "\\$ECHO \"$libname_spec\""` + deplib_matches=`eval "\\$ECHO \"$library_names_spec\""` + set dummy $deplib_matches; shift + deplib_match=$1 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then + func_append newdeplibs " $i" + else + droppeddeps=yes + echo + $ECHO "*** Warning: dynamic linker does not accept needed library $i." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because a test_compile did reveal that the linker did not use this one" + echo "*** as a dynamic dependency that programs can get resolved with at runtime." + fi + fi + else + droppeddeps=yes + echo + $ECHO "*** Warning! Library $i is needed by this library but I was not able to" + echo "*** make it link in! You will probably need to install it or some" + echo "*** library that it depends on before this library will be fully" + echo "*** functional. Installing it before continuing would be even better." + fi + ;; + *) + func_append newdeplibs " $i" + ;; + esac + done + fi + ;; + file_magic*) + set dummy $deplibs_check_method; shift + file_magic_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` + for a_deplib in $deplibs; do + case $a_deplib in + -l*) + func_stripname -l '' "$a_deplib" + name=$func_stripname_result + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $a_deplib "*) + func_append newdeplibs " $a_deplib" + a_deplib="" + ;; + esac + fi + if test -n "$a_deplib" ; then + libname=`eval "\\$ECHO \"$libname_spec\""` + if test -n "$file_magic_glob"; then + libnameglob=`func_echo_all "$libname" | $SED -e $file_magic_glob` + else + libnameglob=$libname + fi + test "$want_nocaseglob" = yes && nocaseglob=`shopt -p nocaseglob` + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do + if test "$want_nocaseglob" = yes; then + shopt -s nocaseglob + potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` + $nocaseglob + else + potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` + fi + for potent_lib in $potential_libs; do + # Follow soft links. + if ls -lLd "$potent_lib" 2>/dev/null | + $GREP " -> " >/dev/null; then + continue + fi + # The statement above tries to avoid entering an + # endless loop below, in case of cyclic links. + # We might still enter an endless loop, since a link + # loop can be closed while we follow links, + # but so what? + potlib="$potent_lib" + while test -h "$potlib" 2>/dev/null; do + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` + case $potliblink in + [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; + *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";; + esac + done + if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | + $SED -e 10q | + $EGREP "$file_magic_regex" > /dev/null; then + func_append newdeplibs " $a_deplib" + a_deplib="" + break 2 + fi + done + done + fi + if test -n "$a_deplib" ; then + droppeddeps=yes + echo + $ECHO "*** Warning: linker path does not have real file for library $a_deplib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because I did check the linker path looking for a file starting" + if test -z "$potlib" ; then + $ECHO "*** with $libname but no candidates were found. (...for file magic test)" + else + $ECHO "*** with $libname and none of the candidates passed a file format test" + $ECHO "*** using a file magic. Last file checked: $potlib" + fi + fi + ;; + *) + # Add a -L argument. + func_append newdeplibs " $a_deplib" + ;; + esac + done # Gone through all deplibs. + ;; + match_pattern*) + set dummy $deplibs_check_method; shift + match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` + for a_deplib in $deplibs; do + case $a_deplib in + -l*) + func_stripname -l '' "$a_deplib" + name=$func_stripname_result + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $a_deplib "*) + func_append newdeplibs " $a_deplib" + a_deplib="" + ;; + esac + fi + if test -n "$a_deplib" ; then + libname=`eval "\\$ECHO \"$libname_spec\""` + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do + potential_libs=`ls $i/$libname[.-]* 2>/dev/null` + for potent_lib in $potential_libs; do + potlib="$potent_lib" # see symlink-check above in file_magic test + if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \ + $EGREP "$match_pattern_regex" > /dev/null; then + func_append newdeplibs " $a_deplib" + a_deplib="" + break 2 + fi + done + done + fi + if test -n "$a_deplib" ; then + droppeddeps=yes + echo + $ECHO "*** Warning: linker path does not have real file for library $a_deplib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because I did check the linker path looking for a file starting" + if test -z "$potlib" ; then + $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" + else + $ECHO "*** with $libname and none of the candidates passed a file format test" + $ECHO "*** using a regex pattern. Last file checked: $potlib" + fi + fi + ;; + *) + # Add a -L argument. + func_append newdeplibs " $a_deplib" + ;; + esac + done # Gone through all deplibs. + ;; + none | unknown | *) + newdeplibs="" + tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'` + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + for i in $predeps $postdeps ; do + # can't use Xsed below, because $i might contain '/' + tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"` + done + fi + case $tmp_deplibs in + *[!\ \ ]*) + echo + if test "X$deplibs_check_method" = "Xnone"; then + echo "*** Warning: inter-library dependencies are not supported in this platform." + else + echo "*** Warning: inter-library dependencies are not known to be supported." + fi + echo "*** All declared inter-library dependencies are being dropped." + droppeddeps=yes + ;; + esac + ;; + esac + versuffix=$versuffix_save + major=$major_save + release=$release_save + libname=$libname_save + name=$name_save + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library with the System framework + newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'` + ;; + esac + + if test "$droppeddeps" = yes; then + if test "$module" = yes; then + echo + echo "*** Warning: libtool could not satisfy all declared inter-library" + $ECHO "*** dependencies of module $libname. Therefore, libtool will create" + echo "*** a static module, that should work as long as the dlopening" + echo "*** application is linked with the -dlopen flag." + if test -z "$global_symbol_pipe"; then + echo + echo "*** However, this would only work if libtool was able to extract symbol" + echo "*** lists from a program, using \`nm' or equivalent, but libtool could" + echo "*** not find such a program. So, this module is probably useless." + echo "*** \`nm' from GNU binutils and a full rebuild may help." + fi + if test "$build_old_libs" = no; then + oldlibs="$output_objdir/$libname.$libext" + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + else + echo "*** The inter-library dependencies that have been dropped here will be" + echo "*** automatically added whenever a program is linked with this library" + echo "*** or is declared to -dlopen it." + + if test "$allow_undefined" = no; then + echo + echo "*** Since this library must not contain undefined symbols," + echo "*** because either the platform does not support them or" + echo "*** it was explicitly requested with -no-undefined," + echo "*** libtool will only create a static version of it." + if test "$build_old_libs" = no; then + oldlibs="$output_objdir/$libname.$libext" + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + fi + fi + fi + # Done checking deplibs! + deplibs=$newdeplibs + fi + # Time to change all our "foo.ltframework" stuff back to "-framework foo" + case $host in + *-*-darwin*) + newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + ;; + esac + + # move library search paths that coincide with paths to not yet + # installed libraries to the beginning of the library search list + new_libs= + for path in $notinst_path; do + case " $new_libs " in + *" -L$path/$objdir "*) ;; + *) + case " $deplibs " in + *" -L$path/$objdir "*) + func_append new_libs " -L$path/$objdir" ;; + esac + ;; + esac + done + for deplib in $deplibs; do + case $deplib in + -L*) + case " $new_libs " in + *" $deplib "*) ;; + *) func_append new_libs " $deplib" ;; + esac + ;; + *) func_append new_libs " $deplib" ;; + esac + done + deplibs="$new_libs" + + # All the library-specific variables (install_libdir is set above). + library_names= + old_library= + dlname= + + # Test again, we may have decided not to build it any more + if test "$build_libtool_libs" = yes; then + # Remove ${wl} instances when linking with ld. + # FIXME: should test the right _cmds variable. + case $archive_cmds in + *\$LD\ *) wl= ;; + esac + if test "$hardcode_into_libs" = yes; then + # Hardcode the library paths + hardcode_libdirs= + dep_rpath= + rpath="$finalize_rpath" + test "$opt_mode" != relink && rpath="$compile_rpath$rpath" + for libdir in $rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + func_replace_sysroot "$libdir" + libdir=$func_replace_sysroot_result + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + func_append dep_rpath " $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) func_append perm_rpath " $libdir" ;; + esac + fi + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval "dep_rpath=\"$hardcode_libdir_flag_spec\"" + fi + if test -n "$runpath_var" && test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + func_append rpath "$dir:" + done + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" + fi + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" + fi + + shlibpath="$finalize_shlibpath" + test "$opt_mode" != relink && shlibpath="$compile_shlibpath$shlibpath" + if test -n "$shlibpath"; then + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" + fi + + # Get the real and link names of the library. + eval shared_ext=\"$shrext_cmds\" + eval library_names=\"$library_names_spec\" + set dummy $library_names + shift + realname="$1" + shift + + if test -n "$soname_spec"; then + eval soname=\"$soname_spec\" + else + soname="$realname" + fi + if test -z "$dlname"; then + dlname=$soname + fi + + lib="$output_objdir/$realname" + linknames= + for link + do + func_append linknames " $link" + done + + # Use standard objects if they are pic + test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP` + test "X$libobjs" = "X " && libobjs= + + delfiles= + if test -n "$export_symbols" && test -n "$include_expsyms"; then + $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" + export_symbols="$output_objdir/$libname.uexp" + func_append delfiles " $export_symbols" + fi + + orig_export_symbols= + case $host_os in + cygwin* | mingw* | cegcc*) + if test -n "$export_symbols" && test -z "$export_symbols_regex"; then + # exporting using user supplied symfile + if test "x`$SED 1q $export_symbols`" != xEXPORTS; then + # and it's NOT already a .def file. Must figure out + # which of the given symbols are data symbols and tag + # them as such. So, trigger use of export_symbols_cmds. + # export_symbols gets reassigned inside the "prepare + # the list of exported symbols" if statement, so the + # include_expsyms logic still works. + orig_export_symbols="$export_symbols" + export_symbols= + always_export_symbols=yes + fi + fi + ;; + esac + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then + func_verbose "generating symbol list for \`$libname.la'" + export_symbols="$output_objdir/$libname.exp" + $opt_dry_run || $RM $export_symbols + cmds=$export_symbols_cmds + save_ifs="$IFS"; IFS='~' + for cmd1 in $cmds; do + IFS="$save_ifs" + # Take the normal branch if the nm_file_list_spec branch + # doesn't work or if tool conversion is not needed. + case $nm_file_list_spec~$to_tool_file_cmd in + *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*) + try_normal_branch=yes + eval cmd=\"$cmd1\" + func_len " $cmd" + len=$func_len_result + ;; + *) + try_normal_branch=no + ;; + esac + if test "$try_normal_branch" = yes \ + && { test "$len" -lt "$max_cmd_len" \ + || test "$max_cmd_len" -le -1; } + then + func_show_eval "$cmd" 'exit $?' + skipped_export=false + elif test -n "$nm_file_list_spec"; then + func_basename "$output" + output_la=$func_basename_result + save_libobjs=$libobjs + save_output=$output + output=${output_objdir}/${output_la}.nm + func_to_tool_file "$output" + libobjs=$nm_file_list_spec$func_to_tool_file_result + func_append delfiles " $output" + func_verbose "creating $NM input file list: $output" + for obj in $save_libobjs; do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" + done > "$output" + eval cmd=\"$cmd1\" + func_show_eval "$cmd" 'exit $?' + output=$save_output + libobjs=$save_libobjs + skipped_export=false + else + # The command line is too long to execute in one step. + func_verbose "using reloadable object file for export list..." + skipped_export=: + # Break out early, otherwise skipped_export may be + # set to false by a later but shorter cmd. + break + fi + done + IFS="$save_ifs" + if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then + func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' + func_show_eval '$MV "${export_symbols}T" "$export_symbols"' + fi + fi + fi + + if test -n "$export_symbols" && test -n "$include_expsyms"; then + tmp_export_symbols="$export_symbols" + test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' + fi + + if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then + # The given exports_symbols file has to be filtered, so filter it. + func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" + # FIXME: $output_objdir/$libname.filter potentially contains lots of + # 's' commands which not all seds can handle. GNU sed should be fine + # though. Also, the filter scales superlinearly with the number of + # global variables. join(1) would be nice here, but unfortunately + # isn't a blessed tool. + $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter + func_append delfiles " $export_symbols $output_objdir/$libname.filter" + export_symbols=$output_objdir/$libname.def + $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols + fi + + tmp_deplibs= + for test_deplib in $deplibs; do + case " $convenience " in + *" $test_deplib "*) ;; + *) + func_append tmp_deplibs " $test_deplib" + ;; + esac + done + deplibs="$tmp_deplibs" + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec" && + test "$compiler_needs_object" = yes && + test -z "$libobjs"; then + # extract the archives, so we have objects to list. + # TODO: could optimize this to just extract one archive. + whole_archive_flag_spec= + fi + if test -n "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + test "X$libobjs" = "X " && libobjs= + else + gentop="$output_objdir/${outputname}x" + func_append generated " $gentop" + + func_extract_archives $gentop $convenience + func_append libobjs " $func_extract_archives_result" + test "X$libobjs" = "X " && libobjs= + fi + fi + + if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then + eval flag=\"$thread_safe_flag_spec\" + func_append linker_flags " $flag" + fi + + # Make a backup of the uninstalled library when relinking + if test "$opt_mode" = relink; then + $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? + fi + + # Do each of the archive commands. + if test "$module" = yes && test -n "$module_cmds" ; then + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then + eval test_cmds=\"$module_expsym_cmds\" + cmds=$module_expsym_cmds + else + eval test_cmds=\"$module_cmds\" + cmds=$module_cmds + fi + else + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then + eval test_cmds=\"$archive_expsym_cmds\" + cmds=$archive_expsym_cmds + else + eval test_cmds=\"$archive_cmds\" + cmds=$archive_cmds + fi + fi + + if test "X$skipped_export" != "X:" && + func_len " $test_cmds" && + len=$func_len_result && + test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then + : + else + # The command line is too long to link in one step, link piecewise + # or, if using GNU ld and skipped_export is not :, use a linker + # script. + + # Save the value of $output and $libobjs because we want to + # use them later. If we have whole_archive_flag_spec, we + # want to use save_libobjs as it was before + # whole_archive_flag_spec was expanded, because we can't + # assume the linker understands whole_archive_flag_spec. + # This may have to be revisited, in case too many + # convenience libraries get linked in and end up exceeding + # the spec. + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + fi + save_output=$output + func_basename "$output" + output_la=$func_basename_result + + # Clear the reloadable object creation command queue and + # initialize k to one. + test_cmds= + concat_cmds= + objlist= + last_robj= + k=1 + + if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then + output=${output_objdir}/${output_la}.lnkscript + func_verbose "creating GNU ld script: $output" + echo 'INPUT (' > $output + for obj in $save_libobjs + do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" >> $output + done + echo ')' >> $output + func_append delfiles " $output" + func_to_tool_file "$output" + output=$func_to_tool_file_result + elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then + output=${output_objdir}/${output_la}.lnk + func_verbose "creating linker input file list: $output" + : > $output + set x $save_libobjs + shift + firstobj= + if test "$compiler_needs_object" = yes; then + firstobj="$1 " + shift + fi + for obj + do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" >> $output + done + func_append delfiles " $output" + func_to_tool_file "$output" + output=$firstobj\"$file_list_spec$func_to_tool_file_result\" + else + if test -n "$save_libobjs"; then + func_verbose "creating reloadable object files..." + output=$output_objdir/$output_la-${k}.$objext + eval test_cmds=\"$reload_cmds\" + func_len " $test_cmds" + len0=$func_len_result + len=$len0 + + # Loop over the list of objects to be linked. + for obj in $save_libobjs + do + func_len " $obj" + func_arith $len + $func_len_result + len=$func_arith_result + if test "X$objlist" = X || + test "$len" -lt "$max_cmd_len"; then + func_append objlist " $obj" + else + # The command $test_cmds is almost too long, add a + # command to the queue. + if test "$k" -eq 1 ; then + # The first file doesn't have a previous command to add. + reload_objs=$objlist + eval concat_cmds=\"$reload_cmds\" + else + # All subsequent reloadable object files will link in + # the last one created. + reload_objs="$objlist $last_robj" + eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\" + fi + last_robj=$output_objdir/$output_la-${k}.$objext + func_arith $k + 1 + k=$func_arith_result + output=$output_objdir/$output_la-${k}.$objext + objlist=" $obj" + func_len " $last_robj" + func_arith $len0 + $func_len_result + len=$func_arith_result + fi + done + # Handle the remaining objects by creating one last + # reloadable object file. All subsequent reloadable object + # files will link in the last one created. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + reload_objs="$objlist $last_robj" + eval concat_cmds=\"\${concat_cmds}$reload_cmds\" + if test -n "$last_robj"; then + eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\" + fi + func_append delfiles " $output" + + else + output= + fi + + if ${skipped_export-false}; then + func_verbose "generating symbol list for \`$libname.la'" + export_symbols="$output_objdir/$libname.exp" + $opt_dry_run || $RM $export_symbols + libobjs=$output + # Append the command to create the export file. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" + if test -n "$last_robj"; then + eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" + fi + fi + + test -n "$save_libobjs" && + func_verbose "creating a temporary reloadable object file: $output" + + # Loop through the commands generated above and execute them. + save_ifs="$IFS"; IFS='~' + for cmd in $concat_cmds; do + IFS="$save_ifs" + $opt_silent || { + func_quote_for_expand "$cmd" + eval "func_echo $func_quote_for_expand_result" + } + $opt_dry_run || eval "$cmd" || { + lt_exit=$? + + # Restore the uninstalled library and exit + if test "$opt_mode" = relink; then + ( cd "$output_objdir" && \ + $RM "${realname}T" && \ + $MV "${realname}U" "$realname" ) + fi + + exit $lt_exit + } + done + IFS="$save_ifs" + + if test -n "$export_symbols_regex" && ${skipped_export-false}; then + func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' + func_show_eval '$MV "${export_symbols}T" "$export_symbols"' + fi + fi + + if ${skipped_export-false}; then + if test -n "$export_symbols" && test -n "$include_expsyms"; then + tmp_export_symbols="$export_symbols" + test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' + fi + + if test -n "$orig_export_symbols"; then + # The given exports_symbols file has to be filtered, so filter it. + func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" + # FIXME: $output_objdir/$libname.filter potentially contains lots of + # 's' commands which not all seds can handle. GNU sed should be fine + # though. Also, the filter scales superlinearly with the number of + # global variables. join(1) would be nice here, but unfortunately + # isn't a blessed tool. + $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter + func_append delfiles " $export_symbols $output_objdir/$libname.filter" + export_symbols=$output_objdir/$libname.def + $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols + fi + fi + + libobjs=$output + # Restore the value of output. + output=$save_output + + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + test "X$libobjs" = "X " && libobjs= + fi + # Expand the library linking commands again to reset the + # value of $libobjs for piecewise linking. + + # Do each of the archive commands. + if test "$module" = yes && test -n "$module_cmds" ; then + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then + cmds=$module_expsym_cmds + else + cmds=$module_cmds + fi + else + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then + cmds=$archive_expsym_cmds + else + cmds=$archive_cmds + fi + fi + fi + + if test -n "$delfiles"; then + # Append the command to remove temporary files to $cmds. + eval cmds=\"\$cmds~\$RM $delfiles\" + fi + + # Add any objects from preloaded convenience libraries + if test -n "$dlprefiles"; then + gentop="$output_objdir/${outputname}x" + func_append generated " $gentop" + + func_extract_archives $gentop $dlprefiles + func_append libobjs " $func_extract_archives_result" + test "X$libobjs" = "X " && libobjs= + fi + + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $opt_silent || { + func_quote_for_expand "$cmd" + eval "func_echo $func_quote_for_expand_result" + } + $opt_dry_run || eval "$cmd" || { + lt_exit=$? + + # Restore the uninstalled library and exit + if test "$opt_mode" = relink; then + ( cd "$output_objdir" && \ + $RM "${realname}T" && \ + $MV "${realname}U" "$realname" ) + fi + + exit $lt_exit + } + done + IFS="$save_ifs" + + # Restore the uninstalled library and exit + if test "$opt_mode" = relink; then + $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? + + if test -n "$convenience"; then + if test -z "$whole_archive_flag_spec"; then + func_show_eval '${RM}r "$gentop"' + fi + fi + + exit $EXIT_SUCCESS + fi + + # Create links to the real library. + for linkname in $linknames; do + if test "$realname" != "$linkname"; then + func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' + fi + done + + # If -module or -export-dynamic was specified, set the dlname. + if test "$module" = yes || test "$export_dynamic" = yes; then + # On all known operating systems, these are identical. + dlname="$soname" + fi + fi + ;; + + obj) + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + func_warning "\`-dlopen' is ignored for objects" + fi + + case " $deplibs" in + *\ -l* | *\ -L*) + func_warning "\`-l' and \`-L' are ignored for objects" ;; + esac + + test -n "$rpath" && \ + func_warning "\`-rpath' is ignored for objects" + + test -n "$xrpath" && \ + func_warning "\`-R' is ignored for objects" + + test -n "$vinfo" && \ + func_warning "\`-version-info' is ignored for objects" + + test -n "$release" && \ + func_warning "\`-release' is ignored for objects" + + case $output in + *.lo) + test -n "$objs$old_deplibs" && \ + func_fatal_error "cannot build library object \`$output' from non-libtool objects" + + libobj=$output + func_lo2o "$libobj" + obj=$func_lo2o_result + ;; + *) + libobj= + obj="$output" + ;; + esac + + # Delete the old objects. + $opt_dry_run || $RM $obj $libobj + + # Objects from convenience libraries. This assumes + # single-version convenience libraries. Whenever we create + # different ones for PIC/non-PIC, this we'll have to duplicate + # the extraction. + reload_conv_objs= + gentop= + # reload_cmds runs $LD directly, so let us get rid of + # -Wl from whole_archive_flag_spec and hope we can get by with + # turning comma into space.. + wl= + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec"; then + eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" + reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'` + else + gentop="$output_objdir/${obj}x" + func_append generated " $gentop" + + func_extract_archives $gentop $convenience + reload_conv_objs="$reload_objs $func_extract_archives_result" + fi + fi + + # If we're not building shared, we need to use non_pic_objs + test "$build_libtool_libs" != yes && libobjs="$non_pic_objects" + + # Create the old-style object. + reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test + + output="$obj" + func_execute_cmds "$reload_cmds" 'exit $?' + + # Exit if we aren't doing a library object file. + if test -z "$libobj"; then + if test -n "$gentop"; then + func_show_eval '${RM}r "$gentop"' + fi + + exit $EXIT_SUCCESS + fi + + if test "$build_libtool_libs" != yes; then + if test -n "$gentop"; then + func_show_eval '${RM}r "$gentop"' + fi + + # Create an invalid libtool object if no PIC, so that we don't + # accidentally link it into a program. + # $show "echo timestamp > $libobj" + # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? + exit $EXIT_SUCCESS + fi + + if test -n "$pic_flag" || test "$pic_mode" != default; then + # Only do commands if we really have different PIC objects. + reload_objs="$libobjs $reload_conv_objs" + output="$libobj" + func_execute_cmds "$reload_cmds" 'exit $?' + fi + + if test -n "$gentop"; then + func_show_eval '${RM}r "$gentop"' + fi + + exit $EXIT_SUCCESS + ;; + + prog) + case $host in + *cygwin*) func_stripname '' '.exe' "$output" + output=$func_stripname_result.exe;; + esac + test -n "$vinfo" && \ + func_warning "\`-version-info' is ignored for programs" + + test -n "$release" && \ + func_warning "\`-release' is ignored for programs" + + test "$preload" = yes \ + && test "$dlopen_support" = unknown \ + && test "$dlopen_self" = unknown \ + && test "$dlopen_self_static" = unknown && \ + func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support." + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library is the System framework + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'` + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'` + ;; + esac + + case $host in + *-*-darwin*) + # Don't allow lazy linking, it breaks C++ global constructors + # But is supposedly fixed on 10.4 or later (yay!). + if test "$tagname" = CXX ; then + case ${MACOSX_DEPLOYMENT_TARGET-10.0} in + 10.[0123]) + func_append compile_command " ${wl}-bind_at_load" + func_append finalize_command " ${wl}-bind_at_load" + ;; + esac + fi + # Time to change all our "foo.ltframework" stuff back to "-framework foo" + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + ;; + esac + + + # move library search paths that coincide with paths to not yet + # installed libraries to the beginning of the library search list + new_libs= + for path in $notinst_path; do + case " $new_libs " in + *" -L$path/$objdir "*) ;; + *) + case " $compile_deplibs " in + *" -L$path/$objdir "*) + func_append new_libs " -L$path/$objdir" ;; + esac + ;; + esac + done + for deplib in $compile_deplibs; do + case $deplib in + -L*) + case " $new_libs " in + *" $deplib "*) ;; + *) func_append new_libs " $deplib" ;; + esac + ;; + *) func_append new_libs " $deplib" ;; + esac + done + compile_deplibs="$new_libs" + + + func_append compile_command " $compile_deplibs" + func_append finalize_command " $finalize_deplibs" + + if test -n "$rpath$xrpath"; then + # If the user specified any rpath flags, then add them. + for libdir in $rpath $xrpath; do + # This is the magic to use -rpath. + case "$finalize_rpath " in + *" $libdir "*) ;; + *) func_append finalize_rpath " $libdir" ;; + esac + done + fi + + # Now hardcode the library paths + rpath= + hardcode_libdirs= + for libdir in $compile_rpath $finalize_rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + func_append rpath " $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) func_append perm_rpath " $libdir" ;; + esac + fi + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'` + case :$dllsearchpath: in + *":$libdir:"*) ;; + ::) dllsearchpath=$libdir;; + *) func_append dllsearchpath ":$libdir";; + esac + case :$dllsearchpath: in + *":$testbindir:"*) ;; + ::) dllsearchpath=$testbindir;; + *) func_append dllsearchpath ":$testbindir";; + esac + ;; + esac + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval rpath=\" $hardcode_libdir_flag_spec\" + fi + compile_rpath="$rpath" + + rpath= + hardcode_libdirs= + for libdir in $finalize_rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + func_append rpath " $flag" + fi + elif test -n "$runpath_var"; then + case "$finalize_perm_rpath " in + *" $libdir "*) ;; + *) func_append finalize_perm_rpath " $libdir" ;; + esac + fi + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval rpath=\" $hardcode_libdir_flag_spec\" + fi + finalize_rpath="$rpath" + + if test -n "$libobjs" && test "$build_old_libs" = yes; then + # Transform all the library objects into standard objects. + compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP` + finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP` + fi + + func_generate_dlsyms "$outputname" "@PROGRAM@" "no" + + # template prelinking step + if test -n "$prelink_cmds"; then + func_execute_cmds "$prelink_cmds" 'exit $?' + fi + + wrappers_required=yes + case $host in + *cegcc* | *mingw32ce*) + # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. + wrappers_required=no + ;; + *cygwin* | *mingw* ) + if test "$build_libtool_libs" != yes; then + wrappers_required=no + fi + ;; + *) + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then + wrappers_required=no + fi + ;; + esac + if test "$wrappers_required" = no; then + # Replace the output file specification. + compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'` + link_command="$compile_command$compile_rpath" + + # We have no uninstalled library dependencies, so finalize right now. + exit_status=0 + func_show_eval "$link_command" 'exit_status=$?' + + if test -n "$postlink_cmds"; then + func_to_tool_file "$output" + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` + func_execute_cmds "$postlink_cmds" 'exit $?' + fi + + # Delete the generated files. + if test -f "$output_objdir/${outputname}S.${objext}"; then + func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"' + fi + + exit $exit_status + fi + + if test -n "$compile_shlibpath$finalize_shlibpath"; then + compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" + fi + if test -n "$finalize_shlibpath"; then + finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" + fi + + compile_var= + finalize_var= + if test -n "$runpath_var"; then + if test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + func_append rpath "$dir:" + done + compile_var="$runpath_var=\"$rpath\$$runpath_var\" " + fi + if test -n "$finalize_perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $finalize_perm_rpath; do + func_append rpath "$dir:" + done + finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " + fi + fi + + if test "$no_install" = yes; then + # We don't need to create a wrapper script. + link_command="$compile_var$compile_command$compile_rpath" + # Replace the output file specification. + link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'` + # Delete the old output file. + $opt_dry_run || $RM $output + # Link the executable and exit + func_show_eval "$link_command" 'exit $?' + + if test -n "$postlink_cmds"; then + func_to_tool_file "$output" + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` + func_execute_cmds "$postlink_cmds" 'exit $?' + fi + + exit $EXIT_SUCCESS + fi + + if test "$hardcode_action" = relink; then + # Fast installation is not supported + link_command="$compile_var$compile_command$compile_rpath" + relink_command="$finalize_var$finalize_command$finalize_rpath" + + func_warning "this platform does not like uninstalled shared libraries" + func_warning "\`$output' will be relinked during installation" + else + if test "$fast_install" != no; then + link_command="$finalize_var$compile_command$finalize_rpath" + if test "$fast_install" = yes; then + relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'` + else + # fast_install is set to needless + relink_command= + fi + else + link_command="$compile_var$compile_command$compile_rpath" + relink_command="$finalize_var$finalize_command$finalize_rpath" + fi + fi + + # Replace the output file specification. + link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` + + # Delete the old output files. + $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname + + func_show_eval "$link_command" 'exit $?' + + if test -n "$postlink_cmds"; then + func_to_tool_file "$output_objdir/$outputname" + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` + func_execute_cmds "$postlink_cmds" 'exit $?' + fi + + # Now create the wrapper script. + func_verbose "creating $output" + + # Quote the relink command for shipping. + if test -n "$relink_command"; then + # Preserve any variables that may affect compiler behavior + for var in $variables_saved_for_relink; do + if eval test -z \"\${$var+set}\"; then + relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" + elif eval var_value=\$$var; test -z "$var_value"; then + relink_command="$var=; export $var; $relink_command" + else + func_quote_for_eval "$var_value" + relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" + fi + done + relink_command="(cd `pwd`; $relink_command)" + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` + fi + + # Only actually do things if not in dry run mode. + $opt_dry_run || { + # win32 will think the script is a binary if it has + # a .exe suffix, so we strip it off here. + case $output in + *.exe) func_stripname '' '.exe' "$output" + output=$func_stripname_result ;; + esac + # test for cygwin because mv fails w/o .exe extensions + case $host in + *cygwin*) + exeext=.exe + func_stripname '' '.exe' "$outputname" + outputname=$func_stripname_result ;; + *) exeext= ;; + esac + case $host in + *cygwin* | *mingw* ) + func_dirname_and_basename "$output" "" "." + output_name=$func_basename_result + output_path=$func_dirname_result + cwrappersource="$output_path/$objdir/lt-$output_name.c" + cwrapper="$output_path/$output_name.exe" + $RM $cwrappersource $cwrapper + trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 + + func_emit_cwrapperexe_src > $cwrappersource + + # The wrapper executable is built using the $host compiler, + # because it contains $host paths and files. If cross- + # compiling, it, like the target executable, must be + # executed on the $host or under an emulation environment. + $opt_dry_run || { + $LTCC $LTCFLAGS -o $cwrapper $cwrappersource + $STRIP $cwrapper + } + + # Now, create the wrapper script for func_source use: + func_ltwrapper_scriptname $cwrapper + $RM $func_ltwrapper_scriptname_result + trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15 + $opt_dry_run || { + # note: this script will not be executed, so do not chmod. + if test "x$build" = "x$host" ; then + $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result + else + func_emit_wrapper no > $func_ltwrapper_scriptname_result + fi + } + ;; + * ) + $RM $output + trap "$RM $output; exit $EXIT_FAILURE" 1 2 15 + + func_emit_wrapper no > $output + chmod +x $output + ;; + esac + } + exit $EXIT_SUCCESS + ;; + esac + + # See if we need to build an old-fashioned archive. + for oldlib in $oldlibs; do + + if test "$build_libtool_libs" = convenience; then + oldobjs="$libobjs_save $symfileobj" + addlibs="$convenience" + build_libtool_libs=no + else + if test "$build_libtool_libs" = module; then + oldobjs="$libobjs_save" + build_libtool_libs=no + else + oldobjs="$old_deplibs $non_pic_objects" + if test "$preload" = yes && test -f "$symfileobj"; then + func_append oldobjs " $symfileobj" + fi + fi + addlibs="$old_convenience" + fi + + if test -n "$addlibs"; then + gentop="$output_objdir/${outputname}x" + func_append generated " $gentop" + + func_extract_archives $gentop $addlibs + func_append oldobjs " $func_extract_archives_result" + fi + + # Do each command in the archive commands. + if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then + cmds=$old_archive_from_new_cmds + else + + # Add any objects from preloaded convenience libraries + if test -n "$dlprefiles"; then + gentop="$output_objdir/${outputname}x" + func_append generated " $gentop" + + func_extract_archives $gentop $dlprefiles + func_append oldobjs " $func_extract_archives_result" + fi + + # POSIX demands no paths to be encoded in archives. We have + # to avoid creating archives with duplicate basenames if we + # might have to extract them afterwards, e.g., when creating a + # static archive out of a convenience library, or when linking + # the entirety of a libtool archive into another (currently + # not supported by libtool). + if (for obj in $oldobjs + do + func_basename "$obj" + $ECHO "$func_basename_result" + done | sort | sort -uc >/dev/null 2>&1); then + : + else + echo "copying selected object files to avoid basename conflicts..." + gentop="$output_objdir/${outputname}x" + func_append generated " $gentop" + func_mkdir_p "$gentop" + save_oldobjs=$oldobjs + oldobjs= + counter=1 + for obj in $save_oldobjs + do + func_basename "$obj" + objbase="$func_basename_result" + case " $oldobjs " in + " ") oldobjs=$obj ;; + *[\ /]"$objbase "*) + while :; do + # Make sure we don't pick an alternate name that also + # overlaps. + newobj=lt$counter-$objbase + func_arith $counter + 1 + counter=$func_arith_result + case " $oldobjs " in + *[\ /]"$newobj "*) ;; + *) if test ! -f "$gentop/$newobj"; then break; fi ;; + esac + done + func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" + func_append oldobjs " $gentop/$newobj" + ;; + *) func_append oldobjs " $obj" ;; + esac + done + fi + func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 + tool_oldlib=$func_to_tool_file_result + eval cmds=\"$old_archive_cmds\" + + func_len " $cmds" + len=$func_len_result + if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then + cmds=$old_archive_cmds + elif test -n "$archiver_list_spec"; then + func_verbose "using command file archive linking..." + for obj in $oldobjs + do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" + done > $output_objdir/$libname.libcmd + func_to_tool_file "$output_objdir/$libname.libcmd" + oldobjs=" $archiver_list_spec$func_to_tool_file_result" + cmds=$old_archive_cmds + else + # the command line is too long to link in one step, link in parts + func_verbose "using piecewise archive linking..." + save_RANLIB=$RANLIB + RANLIB=: + objlist= + concat_cmds= + save_oldobjs=$oldobjs + oldobjs= + # Is there a better way of finding the last object in the list? + for obj in $save_oldobjs + do + last_oldobj=$obj + done + eval test_cmds=\"$old_archive_cmds\" + func_len " $test_cmds" + len0=$func_len_result + len=$len0 + for obj in $save_oldobjs + do + func_len " $obj" + func_arith $len + $func_len_result + len=$func_arith_result + func_append objlist " $obj" + if test "$len" -lt "$max_cmd_len"; then + : + else + # the above command should be used before it gets too long + oldobjs=$objlist + if test "$obj" = "$last_oldobj" ; then + RANLIB=$save_RANLIB + fi + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" + objlist= + len=$len0 + fi + done + RANLIB=$save_RANLIB + oldobjs=$objlist + if test "X$oldobjs" = "X" ; then + eval cmds=\"\$concat_cmds\" + else + eval cmds=\"\$concat_cmds~\$old_archive_cmds\" + fi + fi + fi + func_execute_cmds "$cmds" 'exit $?' + done + + test -n "$generated" && \ + func_show_eval "${RM}r$generated" + + # Now create the libtool archive. + case $output in + *.la) + old_library= + test "$build_old_libs" = yes && old_library="$libname.$libext" + func_verbose "creating $output" + + # Preserve any variables that may affect compiler behavior + for var in $variables_saved_for_relink; do + if eval test -z \"\${$var+set}\"; then + relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" + elif eval var_value=\$$var; test -z "$var_value"; then + relink_command="$var=; export $var; $relink_command" + else + func_quote_for_eval "$var_value" + relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" + fi + done + # Quote the link command for shipping. + relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` + if test "$hardcode_automatic" = yes ; then + relink_command= + fi + + # Only create the output if not a dry run. + $opt_dry_run || { + for installed in no yes; do + if test "$installed" = yes; then + if test -z "$install_libdir"; then + break + fi + output="$output_objdir/$outputname"i + # Replace all uninstalled libtool libraries with the installed ones + newdependency_libs= + for deplib in $dependency_libs; do + case $deplib in + *.la) + func_basename "$deplib" + name="$func_basename_result" + func_resolve_sysroot "$deplib" + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result` + test -z "$libdir" && \ + func_fatal_error "\`$deplib' is not a valid libtool archive" + func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name" + ;; + -L*) + func_stripname -L '' "$deplib" + func_replace_sysroot "$func_stripname_result" + func_append newdependency_libs " -L$func_replace_sysroot_result" + ;; + -R*) + func_stripname -R '' "$deplib" + func_replace_sysroot "$func_stripname_result" + func_append newdependency_libs " -R$func_replace_sysroot_result" + ;; + *) func_append newdependency_libs " $deplib" ;; + esac + done + dependency_libs="$newdependency_libs" + newdlfiles= + + for lib in $dlfiles; do + case $lib in + *.la) + func_basename "$lib" + name="$func_basename_result" + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + test -z "$libdir" && \ + func_fatal_error "\`$lib' is not a valid libtool archive" + func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name" + ;; + *) func_append newdlfiles " $lib" ;; + esac + done + dlfiles="$newdlfiles" + newdlprefiles= + for lib in $dlprefiles; do + case $lib in + *.la) + # Only pass preopened files to the pseudo-archive (for + # eventual linking with the app. that links it) if we + # didn't already link the preopened objects directly into + # the library: + func_basename "$lib" + name="$func_basename_result" + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + test -z "$libdir" && \ + func_fatal_error "\`$lib' is not a valid libtool archive" + func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name" + ;; + esac + done + dlprefiles="$newdlprefiles" + else + newdlfiles= + for lib in $dlfiles; do + case $lib in + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; + *) abs=`pwd`"/$lib" ;; + esac + func_append newdlfiles " $abs" + done + dlfiles="$newdlfiles" + newdlprefiles= + for lib in $dlprefiles; do + case $lib in + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; + *) abs=`pwd`"/$lib" ;; + esac + func_append newdlprefiles " $abs" + done + dlprefiles="$newdlprefiles" + fi + $RM $output + # place dlname in correct position for cygwin + # In fact, it would be nice if we could use this code for all target + # systems that can't hard-code library paths into their executables + # and that have no shared library path variable independent of PATH, + # but it turns out we can't easily determine that from inspecting + # libtool variables, so we have to hard-code the OSs to which it + # applies here; at the moment, that means platforms that use the PE + # object format with DLL files. See the long comment at the top of + # tests/bindir.at for full details. + tdlname=$dlname + case $host,$output,$installed,$module,$dlname in + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) + # If a -bindir argument was supplied, place the dll there. + if test "x$bindir" != x ; + then + func_relative_path "$install_libdir" "$bindir" + tdlname=$func_relative_path_result$dlname + else + # Otherwise fall back on heuristic. + tdlname=../bin/$dlname + fi + ;; + esac + $ECHO > $output "\ +# $outputname - a libtool library file +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='$tdlname' + +# Names of this library. +library_names='$library_names' + +# The name of the static archive. +old_library='$old_library' + +# Linker flags that can not go in dependency_libs. +inherited_linker_flags='$new_inherited_linker_flags' + +# Libraries that this one depends upon. +dependency_libs='$dependency_libs' + +# Names of additional weak libraries provided by this library +weak_library_names='$weak_libs' + +# Version information for $libname. +current=$current +age=$age +revision=$revision + +# Is this an already installed library? +installed=$installed + +# Should we warn about portability when linking against -modules? +shouldnotlink=$module + +# Files to dlopen/dlpreopen +dlopen='$dlfiles' +dlpreopen='$dlprefiles' + +# Directory that this library needs to be installed in: +libdir='$install_libdir'" + if test "$installed" = no && test "$need_relink" = yes; then + $ECHO >> $output "\ +relink_command=\"$relink_command\"" + fi + done + } + + # Do a symbolic link so that the libtool archive can be found in + # LD_LIBRARY_PATH before the program is installed. + func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' + ;; + esac + exit $EXIT_SUCCESS +} + +{ test "$opt_mode" = link || test "$opt_mode" = relink; } && + func_mode_link ${1+"$@"} + + +# func_mode_uninstall arg... +func_mode_uninstall () +{ + $opt_debug + RM="$nonopt" + files= + rmforce= + exit_status=0 + + # This variable tells wrapper scripts just to set variables rather + # than running their programs. + libtool_install_magic="$magic" + + for arg + do + case $arg in + -f) func_append RM " $arg"; rmforce=yes ;; + -*) func_append RM " $arg" ;; + *) func_append files " $arg" ;; + esac + done + + test -z "$RM" && \ + func_fatal_help "you must specify an RM program" + + rmdirs= + + for file in $files; do + func_dirname "$file" "" "." + dir="$func_dirname_result" + if test "X$dir" = X.; then + odir="$objdir" + else + odir="$dir/$objdir" + fi + func_basename "$file" + name="$func_basename_result" + test "$opt_mode" = uninstall && odir="$dir" + + # Remember odir for removal later, being careful to avoid duplicates + if test "$opt_mode" = clean; then + case " $rmdirs " in + *" $odir "*) ;; + *) func_append rmdirs " $odir" ;; + esac + fi + + # Don't error if the file doesn't exist and rm -f was used. + if { test -L "$file"; } >/dev/null 2>&1 || + { test -h "$file"; } >/dev/null 2>&1 || + test -f "$file"; then + : + elif test -d "$file"; then + exit_status=1 + continue + elif test "$rmforce" = yes; then + continue + fi + + rmfiles="$file" + + case $name in + *.la) + # Possibly a libtool archive, so verify it. + if func_lalib_p "$file"; then + func_source $dir/$name + + # Delete the libtool libraries and symlinks. + for n in $library_names; do + func_append rmfiles " $odir/$n" + done + test -n "$old_library" && func_append rmfiles " $odir/$old_library" + + case "$opt_mode" in + clean) + case " $library_names " in + *" $dlname "*) ;; + *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;; + esac + test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i" + ;; + uninstall) + if test -n "$library_names"; then + # Do each command in the postuninstall commands. + func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' + fi + + if test -n "$old_library"; then + # Do each command in the old_postuninstall commands. + func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' + fi + # FIXME: should reinstall the best remaining shared library. + ;; + esac + fi + ;; + + *.lo) + # Possibly a libtool object, so verify it. + if func_lalib_p "$file"; then + + # Read the .lo file + func_source $dir/$name + + # Add PIC object to the list of files to remove. + if test -n "$pic_object" && + test "$pic_object" != none; then + func_append rmfiles " $dir/$pic_object" + fi + + # Add non-PIC object to the list of files to remove. + if test -n "$non_pic_object" && + test "$non_pic_object" != none; then + func_append rmfiles " $dir/$non_pic_object" + fi + fi + ;; + + *) + if test "$opt_mode" = clean ; then + noexename=$name + case $file in + *.exe) + func_stripname '' '.exe' "$file" + file=$func_stripname_result + func_stripname '' '.exe' "$name" + noexename=$func_stripname_result + # $file with .exe has already been added to rmfiles, + # add $file without .exe + func_append rmfiles " $file" + ;; + esac + # Do a test to see if this is a libtool program. + if func_ltwrapper_p "$file"; then + if func_ltwrapper_executable_p "$file"; then + func_ltwrapper_scriptname "$file" + relink_command= + func_source $func_ltwrapper_scriptname_result + func_append rmfiles " $func_ltwrapper_scriptname_result" + else + relink_command= + func_source $dir/$noexename + fi + + # note $name still contains .exe if it was in $file originally + # as does the version of $file that was added into $rmfiles + func_append rmfiles " $odir/$name $odir/${name}S.${objext}" + if test "$fast_install" = yes && test -n "$relink_command"; then + func_append rmfiles " $odir/lt-$name" + fi + if test "X$noexename" != "X$name" ; then + func_append rmfiles " $odir/lt-${noexename}.c" + fi + fi + fi + ;; + esac + func_show_eval "$RM $rmfiles" 'exit_status=1' + done + + # Try to remove the ${objdir}s in the directories where we deleted files + for dir in $rmdirs; do + if test -d "$dir"; then + func_show_eval "rmdir $dir >/dev/null 2>&1" + fi + done + + exit $exit_status +} + +{ test "$opt_mode" = uninstall || test "$opt_mode" = clean; } && + func_mode_uninstall ${1+"$@"} + +test -z "$opt_mode" && { + help="$generic_help" + func_fatal_help "you must specify a MODE" +} + +test -z "$exec_cmd" && \ + func_fatal_help "invalid operation mode \`$opt_mode'" + +if test -n "$exec_cmd"; then + eval exec "$exec_cmd" + exit $EXIT_FAILURE +fi + +exit $exit_status + + +# The TAGs below are defined such that we never get into a situation +# in which we disable both kinds of libraries. Given conflicting +# choices, we go for a static library, that is the most portable, +# since we can't tell whether shared libraries were disabled because +# the user asked for that or because the platform doesn't support +# them. This is particularly important on AIX, because we don't +# support having both static and shared libraries enabled at the same +# time on that platform, so we default to a shared-only configuration. +# If a disable-shared tag is given, we'll fallback to a static-only +# configuration. But we'll never go from static-only to shared-only. + +# ### BEGIN LIBTOOL TAG CONFIG: disable-shared +build_libtool_libs=no +build_old_libs=yes +# ### END LIBTOOL TAG CONFIG: disable-shared + +# ### BEGIN LIBTOOL TAG CONFIG: disable-static +build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` +# ### END LIBTOOL TAG CONFIG: disable-static + +# Local Variables: +# mode:shell-script +# sh-indentation:2 +# End: +# vi:sw=2 + diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/missing b/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/missing new file mode 100644 index 0000000..cdea514 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/build-aux/missing @@ -0,0 +1,215 @@ +#! /bin/sh +# Common wrapper for a few potentially missing GNU programs. + +scriptversion=2012-06-26.16; # UTC + +# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. + +# 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, 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/>. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +if test $# -eq 0; then + echo 1>&2 "Try '$0 --help' for more information" + exit 1 +fi + +case $1 in + + --is-lightweight) + # Used by our autoconf macros to check whether the available missing + # script is modern enough. + exit 0 + ;; + + --run) + # Back-compat with the calling convention used by older automake. + shift + ;; + + -h|--h|--he|--hel|--help) + echo "\ +$0 [OPTION]... PROGRAM [ARGUMENT]... + +Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due +to PROGRAM being missing or too old. + +Options: + -h, --help display this help and exit + -v, --version output version information and exit + +Supported PROGRAM values: + aclocal autoconf autoheader autom4te automake makeinfo + bison yacc flex lex help2man + +Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and +'g' are ignored when checking the name. + +Send bug reports to <bug-automake@gnu.org>." + exit $? + ;; + + -v|--v|--ve|--ver|--vers|--versi|--versio|--version) + echo "missing $scriptversion (GNU Automake)" + exit $? + ;; + + -*) + echo 1>&2 "$0: unknown '$1' option" + echo 1>&2 "Try '$0 --help' for more information" + exit 1 + ;; + +esac + +# Run the given program, remember its exit status. +"$@"; st=$? + +# If it succeeded, we are done. +test $st -eq 0 && exit 0 + +# Also exit now if we it failed (or wasn't found), and '--version' was +# passed; such an option is passed most likely to detect whether the +# program is present and works. +case $2 in --version|--help) exit $st;; esac + +# Exit code 63 means version mismatch. This often happens when the user +# tries to use an ancient version of a tool on a file that requires a +# minimum version. +if test $st -eq 63; then + msg="probably too old" +elif test $st -eq 127; then + # Program was missing. + msg="missing on your system" +else + # Program was found and executed, but failed. Give up. + exit $st +fi + +perl_URL=http://www.perl.org/ +flex_URL=http://flex.sourceforge.net/ +gnu_software_URL=http://www.gnu.org/software + +program_details () +{ + case $1 in + aclocal|automake) + echo "The '$1' program is part of the GNU Automake package:" + echo "<$gnu_software_URL/automake>" + echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" + echo "<$gnu_software_URL/autoconf>" + echo "<$gnu_software_URL/m4/>" + echo "<$perl_URL>" + ;; + autoconf|autom4te|autoheader) + echo "The '$1' program is part of the GNU Autoconf package:" + echo "<$gnu_software_URL/autoconf/>" + echo "It also requires GNU m4 and Perl in order to run:" + echo "<$gnu_software_URL/m4/>" + echo "<$perl_URL>" + ;; + esac +} + +give_advice () +{ + # Normalize program name to check for. + normalized_program=`echo "$1" | sed ' + s/^gnu-//; t + s/^gnu//; t + s/^g//; t'` + + printf '%s\n' "'$1' is $msg." + + configure_deps="'configure.ac' or m4 files included by 'configure.ac'" + case $normalized_program in + autoconf*) + echo "You should only need it if you modified 'configure.ac'," + echo "or m4 files included by it." + program_details 'autoconf' + ;; + autoheader*) + echo "You should only need it if you modified 'acconfig.h' or" + echo "$configure_deps." + program_details 'autoheader' + ;; + automake*) + echo "You should only need it if you modified 'Makefile.am' or" + echo "$configure_deps." + program_details 'automake' + ;; + aclocal*) + echo "You should only need it if you modified 'acinclude.m4' or" + echo "$configure_deps." + program_details 'aclocal' + ;; + autom4te*) + echo "You might have modified some maintainer files that require" + echo "the 'automa4te' program to be rebuilt." + program_details 'autom4te' + ;; + bison*|yacc*) + echo "You should only need it if you modified a '.y' file." + echo "You may want to install the GNU Bison package:" + echo "<$gnu_software_URL/bison/>" + ;; + lex*|flex*) + echo "You should only need it if you modified a '.l' file." + echo "You may want to install the Fast Lexical Analyzer package:" + echo "<$flex_URL>" + ;; + help2man*) + echo "You should only need it if you modified a dependency" \ + "of a man page." + echo "You may want to install the GNU Help2man package:" + echo "<$gnu_software_URL/help2man/>" + ;; + makeinfo*) + echo "You should only need it if you modified a '.texi' file, or" + echo "any other file indirectly affecting the aspect of the manual." + echo "You might want to install the Texinfo package:" + echo "<$gnu_software_URL/texinfo/>" + echo "The spurious makeinfo call might also be the consequence of" + echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" + echo "want to install GNU make:" + echo "<$gnu_software_URL/make/>" + ;; + *) + echo "You might have modified some files without having the proper" + echo "tools for further handling them. Check the 'README' file, it" + echo "often tells you about the needed prerequisites for installing" + echo "this package. You may also peek at any GNU archive site, in" + echo "case some other package contains this missing '$1' program." + ;; + esac +} + +give_advice "$1" | sed -e '1s/^/WARNING: /' \ + -e '2,$s/^/ /' >&2 + +# Propagate the correct exit status (expected to be 127 for a program +# not found, 63 for a program that failed due to version mismatch). +exit $st + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/config.h.in b/tizen/distrib/remote/client/spice-gtk-0.19/config.h.in new file mode 100644 index 0000000..7900737 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/config.h.in @@ -0,0 +1,189 @@ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* Define if building universal (internal helper macro) */ +#undef AC_APPLE_UNIVERSAL_BUILD + +/* always defined to indicate that i18n is enabled */ +#undef ENABLE_NLS + +/* Enable compile-time and run-time bounds-checking, and some warnings. */ + #if defined __OPTIMIZE__ && __OPTIMIZE__ + # define _FORTIFY_SOURCE 2 + #endif + + +/* GETTEXT package name */ +#undef GETTEXT_PACKAGE + +/* Define to 1 if you have the <arpa/inet.h> header file. */ +#undef HAVE_ARPA_INET_H + +/* Define to 1 if you have the `bind_textdomain_codeset' function. */ +#undef HAVE_BIND_TEXTDOMAIN_CODESET + +/* Define to 1 if you have the `clearenv' function. */ +#undef HAVE_CLEARENV + +/* Define to 1 if you have the `dcgettext' function. */ +#undef HAVE_DCGETTEXT + +/* Define to 1 if you have the <dlfcn.h> header file. */ +#undef HAVE_DLFCN_H + +/* Define if the GNU gettext() function is already present or preinstalled. */ +#undef HAVE_GETTEXT + +/* Define to 1 if you have the <inttypes.h> header file. */ +#undef HAVE_INTTYPES_H + +/* Define if your <locale.h> file defines LC_MESSAGES. */ +#undef HAVE_LC_MESSAGES + +/* Define to 1 if you have the <locale.h> header file. */ +#undef HAVE_LOCALE_H + +/* Define to 1 if you have the <memory.h> header file. */ +#undef HAVE_MEMORY_H + +/* Define to 1 if you have the <netinet/in.h> header file. */ +#undef HAVE_NETINET_IN_H + +/* Define if you have a polkit with polkit_authority_get_sync() */ +#undef HAVE_POLKIT_AUTHORITY_GET_SYNC + +/* Define if you have a polkit with + polkit_authorization_result_get_dismissed() */ +#undef HAVE_POLKIT_AUTHORIZATION_RESULT_GET_DISMISSED + +/* Have Quartz? */ +#undef HAVE_QUARTZ + +/* Have xrandr? */ +#undef HAVE_RANDR + +/* whether Cyrus SASL is available for authentication */ +#undef HAVE_SASL + +/* Define to 1 if you have the <stdint.h> header file. */ +#undef HAVE_STDINT_H + +/* Define to 1 if you have the <stdlib.h> header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the <strings.h> header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the <string.h> header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the <sys/ipc.h> header file. */ +#undef HAVE_SYS_IPC_H + +/* Define to 1 if you have the <sys/shm.h> header file. */ +#undef HAVE_SYS_SHM_H + +/* Define to 1 if you have the <sys/socket.h> header file. */ +#undef HAVE_SYS_SOCKET_H + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the <sys/types.h> header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have the <termios.h> header file. */ +#undef HAVE_TERMIOS_H + +/* Define to 1 if you have the <unistd.h> header file. */ +#undef HAVE_UNISTD_H + +/* Have Win32? */ +#undef HAVE_WINDOWS + +/* Have x11? */ +#undef HAVE_X11 + +/* Define to 1 if you have the <X11/XKBlib.h> header file. */ +#undef HAVE_X11_XKBLIB_H + +/* Define to the sub-directory in which libtool stores uninstalled libraries. + */ +#undef LT_OBJDIR + +/* Define to 1 if your C compiler doesn't accept -c and -o together. */ +#undef NO_MINUS_C_MINUS_O + +/* Name of package */ +#undef PACKAGE + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the home page for this package. */ +#undef PACKAGE_URL + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Define if supporting dbus */ +#undef USE_DBUS + +/* Define if supporting gudev */ +#undef USE_GUDEV + +/* Define if supporting polkit */ +#undef USE_POLKIT + +/* Define if supporting smartcard proxying */ +#undef USE_SMARTCARD + +/* Define if supporting usbredir proxying */ +#undef USE_USBREDIR + +/* Version number of package */ +#undef VERSION + +/* Have GStreamer? */ +#undef WITH_GSTAUDIO + +/* Whether to use gthread coroutine impl */ +#undef WITH_GTHREAD + +/* Have pulseaudio? */ +#undef WITH_PULSE + +/* Whether to use ucontext coroutine impl */ +#undef WITH_UCONTEXT + +/* Define if compiling with usb.ids support */ +#undef WITH_USBIDS + +/* Whether to use fiber coroutine impl */ +#undef WITH_WINFIBER + +/* Use X11 backend? */ +#undef WITH_X11 + +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +# undef WORDS_BIGENDIAN +# endif +#endif diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/configure b/tizen/distrib/remote/client/spice-gtk-0.19/configure new file mode 100755 index 0000000..6cacc45 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/configure @@ -0,0 +1,22242 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.69 for spice-gtk 0.19. +# +# Report bugs to <spice-devel@lists.freedesktop.org>. +# +# +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. +# +# +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +# Use a proper internal environment variable to ensure we don't fall + # into an infinite loop, continuously re-executing ourselves. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then + _as_can_reexec=no; export _as_can_reexec; + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +as_fn_exit 255 + fi + # We don't want this to propagate to other subprocesses. + { _as_can_reexec=; unset _as_can_reexec;} +if test "x$CONFIG_SHELL" = x; then + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi +" + as_required="as_fn_return () { (exit \$1); } +as_fn_success () { as_fn_return 0; } +as_fn_failure () { as_fn_return 1; } +as_fn_ret_success () { return 0; } +as_fn_ret_failure () { return 1; } + +exitcode=0 +as_fn_success || { exitcode=1; echo as_fn_success failed.; } +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : + +else + exitcode=1; echo positional parameters were not saved. +fi +test x\$exitcode = x0 || exit 1 +test -x / || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 + + test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO + PATH=/empty FPATH=/empty; export PATH FPATH + test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ + || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 +test \$(( 1 + 1 )) = 2 || exit 1" + if (eval "$as_required") 2>/dev/null; then : + as_have_required=yes +else + as_have_required=no +fi + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + as_found=: + case $as_dir in #( + /*) + for as_base in sh bash ksh sh5; do + # Try only shells that exist, to save several forks. + as_shell=$as_dir/$as_base + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + CONFIG_SHELL=$as_shell as_have_required=yes + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + break 2 +fi +fi + done;; + esac + as_found=false +done +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi; } +IFS=$as_save_IFS + + + if test "x$CONFIG_SHELL" != x; then : + export CONFIG_SHELL + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 +fi + + if test x$as_have_required = xno; then : + $as_echo "$0: This script requires a shell more modern than all" + $as_echo "$0: the shells that I found on your system." + if test x${ZSH_VERSION+set} = xset ; then + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" + $as_echo "$0: be upgraded to zsh 4.3.4 or later." + else + $as_echo "$0: Please tell bug-autoconf@gnu.org and +$0: spice-devel@lists.freedesktop.org about your system, +$0: including any error possibly output before this +$0: message. Then install a modern shell, or manually run +$0: the script under such a shell if you do have one." + fi + exit 1 +fi +fi +fi +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +# Unset more variables known to interfere with behavior of common tools. +CLICOLOR_FORCE= GREP_OPTIONS= +unset CLICOLOR_FORCE GREP_OPTIONS + +## --------------------- ## +## M4sh Shell Functions. ## +## --------------------- ## +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + + + as_lineno_1=$LINENO as_lineno_1a=$LINENO + as_lineno_2=$LINENO as_lineno_2a=$LINENO + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have + # already done that, so ensure we don't try to do so again and fall + # in an infinite loop. This has already happened in practice. + _as_can_reexec=no; export _as_can_reexec + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi +else + as_ln_s='cp -pR' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +as_test_x='test -x' +as_executable_p=as_fn_executable_p + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + +SHELL=${CONFIG_SHELL-/bin/sh} + +as_awk_strverscmp=' + # Use only awk features that work with 7th edition Unix awk (1978). + # My, what an old awk you have, Mr. Solaris! + END { + while (length(v1) && length(v2)) { + # Set d1 to be the next thing to compare from v1, and likewise for d2. + # Normally this is a single character, but if v1 and v2 contain digits, + # compare them as integers and fractions as strverscmp does. + if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) { + # Split v1 and v2 into their leading digit string components d1 and d2, + # and advance v1 and v2 past the leading digit strings. + for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue + for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue + d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1) + d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1) + if (d1 ~ /^0/) { + if (d2 ~ /^0/) { + # Compare two fractions. + while (d1 ~ /^0/ && d2 ~ /^0/) { + d1 = substr(d1, 2); len1-- + d2 = substr(d2, 2); len2-- + } + if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) { + # The two components differ in length, and the common prefix + # contains only leading zeros. Consider the longer to be less. + d1 = -len1 + d2 = -len2 + } else { + # Otherwise, compare as strings. + d1 = "x" d1 + d2 = "x" d2 + } + } else { + # A fraction is less than an integer. + exit 1 + } + } else { + if (d2 ~ /^0/) { + # An integer is greater than a fraction. + exit 2 + } else { + # Compare two integers. + d1 += 0 + d2 += 0 + } + } + } else { + # The normal case, without worrying about digits. + d1 = substr(v1, 1, 1); v1 = substr(v1, 2) + d2 = substr(v2, 1, 1); v2 = substr(v2, 2) + } + if (d1 < d2) exit 1 + if (d1 > d2) exit 2 + } + # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10), + # which mishandles some comparisons of empty strings to integers. + if (length(v2)) exit 1 + if (length(v1)) exit 2 + } +' + +test -n "$DJDIR" || exec 7<&0 </dev/null +exec 6>&1 + +# Name of the host. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_clean_files= +ac_config_libobj_dir=. +LIBOBJS= +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= + +# Identity of this package. +PACKAGE_NAME='spice-gtk' +PACKAGE_TARNAME='spice-gtk' +PACKAGE_VERSION='0.19' +PACKAGE_STRING='spice-gtk 0.19' +PACKAGE_BUGREPORT='spice-devel@lists.freedesktop.org' +PACKAGE_URL='' + +# Factoring default headers for most tests. +ac_includes_default="\ +#include <stdio.h> +#ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif +#ifdef HAVE_SYS_STAT_H +# include <sys/stat.h> +#endif +#ifdef STDC_HEADERS +# include <stdlib.h> +# include <stddef.h> +#else +# ifdef HAVE_STDLIB_H +# include <stdlib.h> +# endif +#endif +#ifdef HAVE_STRING_H +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H +# include <memory.h> +# endif +# include <string.h> +#endif +#ifdef HAVE_STRINGS_H +# include <strings.h> +#endif +#ifdef HAVE_INTTYPES_H +# include <inttypes.h> +#endif +#ifdef HAVE_STDINT_H +# include <stdint.h> +#endif +#ifdef HAVE_UNISTD_H +# include <unistd.h> +#endif" + +enable_option_checking=no +ac_subst_vars='am__EXEEXT_FALSE +am__EXEEXT_TRUE +LTLIBOBJS +LIBOBJS +SPICE_GTK_REQUIRES +SPICE_GLIB_REQUIRES +SPICE_GTK_CFLAGS +SPICE_GLIB_CFLAGS +SPICE_CFLAGS +WARN_PYFLAGS +WARN_LDFLAGS +WARN_CFLAGS +DBUS_GLIB_LIBS +DBUS_GLIB_CFLAGS +WITH_PYTHON_FALSE +WITH_PYTHON_TRUE +PYTHON_INCLUDES +pkgpyexecdir +pyexecdir +pkgpythondir +pythondir +PYTHON_PLATFORM +PYTHON_EXEC_PREFIX +PYTHON_PREFIX +PYTHON_VERSION +PYGTK_LIBS +PYGTK_CFLAGS +VAPIDIR +WITH_VALA_FALSE +WITH_VALA_TRUE +VAPIGEN +VALAC +WITH_CONTROLLER_FALSE +WITH_CONTROLLER_TRUE +G_IR_SCANNER_SYMBOL_PREFIX_FALSE +G_IR_SCANNER_SYMBOL_PREFIX_TRUE +INTROSPECTION_MAKEFILE +INTROSPECTION_LIBS +INTROSPECTION_CFLAGS +INTROSPECTION_TYPELIBDIR +INTROSPECTION_GIRDIR +INTROSPECTION_GENERATE +INTROSPECTION_COMPILER +INTROSPECTION_SCANNER +HAVE_INTROSPECTION_FALSE +HAVE_INTROSPECTION_TRUE +WITH_GTHREAD_FALSE +WITH_GTHREAD_TRUE +WITH_WINFIBER_FALSE +WITH_WINFIBER_TRUE +WITH_UCONTEXT_FALSE +WITH_UCONTEXT_TRUE +USB_IDS +ACL_HELPER_DIR +PIE_LDFLAGS +PIE_CFLAGS +POLICYDIR +WITH_POLKIT_FALSE +WITH_POLKIT_TRUE +ACL_LIBS +POLKIT_LIBS +POLKIT_CFLAGS +WITH_USBREDIR_FALSE +WITH_USBREDIR_TRUE +GUDEV_LIBS +GUDEV_CFLAGS +USBREDIR_LIBS +USBREDIR_CFLAGS +WITH_SMARTCARD_FALSE +WITH_SMARTCARD_TRUE +SMARTCARD_LIBS +SMARTCARD_CFLAGS +Z_LIBS +JPEG_LIBS +WITH_GSTAUDIO_FALSE +WITH_GSTAUDIO_TRUE +GST_LIBS +GST_CFLAGS +WITH_PULSE_FALSE +WITH_PULSE_TRUE +PULSE_LIBS +PULSE_CFLAGS +GTHREAD_LIBS +GTHREAD_CFLAGS +CAIRO_LIBS +CAIRO_CFLAGS +WITH_GPROXY_FALSE +WITH_GPROXY_TRUE +GIO_LIBS +GIO_CFLAGS +GOBJECT2_LIBS +GOBJECT2_CFLAGS +GLIB2_LIBS +GLIB2_CFLAGS +PNP_IDS +USE_INTERNAL_PNP_IDS_FALSE +USE_INTERNAL_PNP_IDS_TRUE +WITH_X11_FALSE +WITH_X11_TRUE +XRANDR_LIBS +XRANDR_CFLAGS +WITH_DISPLAY_WINDOWS_FALSE +WITH_DISPLAY_WINDOWS_TRUE +WITH_DISPLAY_QUARTZ_FALSE +WITH_DISPLAY_QUARTZ_TRUE +WITH_DISPLAY_X11_FALSE +WITH_DISPLAY_X11_TRUE +GTK_LIBS +GTK_CFLAGS +HAVE_GTK_3_FALSE +HAVE_GTK_3_TRUE +HAVE_GTK_2_FALSE +HAVE_GTK_2_TRUE +SPICE_GTK_API_VERSION +GTK_REQUIRED +GTK_API_VERSION +SASL_LIBS +SASL_CFLAGS +HAVE_SASL_FALSE +HAVE_SASL_TRUE +SSL_LIBS +SSL_CFLAGS +CELT051_LIBDIR +CELT051_LIBS +CELT051_CFLAGS +PIXMAN_LIBS +PIXMAN_CFLAGS +COMMON_CFLAGS +subdirs +LIBM +OS_WIN32_FALSE +OS_WIN32_TRUE +HAVE_LD_VERSION_SCRIPT_FALSE +HAVE_LD_VERSION_SCRIPT_TRUE +PYTHON +STOW +SUPPORT_GL_FALSE +SUPPORT_GL_TRUE +GTK_DOC_USE_REBASE_FALSE +GTK_DOC_USE_REBASE_TRUE +GTK_DOC_USE_LIBTOOL_FALSE +GTK_DOC_USE_LIBTOOL_TRUE +GTK_DOC_BUILD_PDF_FALSE +GTK_DOC_BUILD_PDF_TRUE +GTK_DOC_BUILD_HTML_FALSE +GTK_DOC_BUILD_HTML_TRUE +ENABLE_GTK_DOC_FALSE +ENABLE_GTK_DOC_TRUE +GTKDOC_DEPS_LIBS +GTKDOC_DEPS_CFLAGS +HTML_DIR +GTKDOC_MKPDF +GTKDOC_REBASE +GTKDOC_CHECK +PKG_CONFIG_LIBDIR +PKG_CONFIG_PATH +PKG_CONFIG +SPICE_GTK_LOCALEDIR +MKINSTALLDIRS +POSUB +POFILES +PO_IN_DATADIR_FALSE +PO_IN_DATADIR_TRUE +INTLLIBS +INSTOBJEXT +GMOFILES +CATOBJEXT +CATALOGS +MSGFMT_OPTS +GETTEXT_PACKAGE +DATADIRNAME +ALL_LINGUAS +INTLTOOL_PERL +GMSGFMT +MSGFMT +MSGMERGE +XGETTEXT +INTLTOOL_POLICY_RULE +INTLTOOL_SERVICE_RULE +INTLTOOL_THEME_RULE +INTLTOOL_SCHEMAS_RULE +INTLTOOL_CAVES_RULE +INTLTOOL_XML_NOMERGE_RULE +INTLTOOL_XML_RULE +INTLTOOL_KBD_RULE +INTLTOOL_XAM_RULE +INTLTOOL_UI_RULE +INTLTOOL_SOUNDLIST_RULE +INTLTOOL_SHEET_RULE +INTLTOOL_SERVER_RULE +INTLTOOL_PONG_RULE +INTLTOOL_OAF_RULE +INTLTOOL_PROP_RULE +INTLTOOL_KEYS_RULE +INTLTOOL_DIRECTORY_RULE +INTLTOOL_DESKTOP_RULE +intltool__v_merge_options_0 +intltool__v_merge_options_ +INTLTOOL_V_MERGE_OPTIONS +INTLTOOL__v_MERGE_0 +INTLTOOL__v_MERGE_ +INTLTOOL_V_MERGE +INTLTOOL_EXTRACT +INTLTOOL_MERGE +INTLTOOL_UPDATE +USE_NLS +MAINT +MAINTAINER_MODE_FALSE +MAINTAINER_MODE_TRUE +CPP +OTOOL64 +OTOOL +LIPO +NMEDIT +DSYMUTIL +MANIFEST_TOOL +RANLIB +DLLTOOL +OBJDUMP +LN_S +NM +ac_ct_DUMPBIN +DUMPBIN +LD +FGREP +EGREP +GREP +SED +host_os +host_vendor +host_cpu +host +build_os +build_vendor +build_cpu +build +LIBTOOL +am__fastdepCC_FALSE +am__fastdepCC_TRUE +CCDEPMODE +am__nodep +AMDEPBACKSLASH +AMDEP_FALSE +AMDEP_TRUE +am__quote +am__include +DEPDIR +OBJEXT +EXEEXT +ac_ct_CC +CPPFLAGS +LDFLAGS +CFLAGS +CC +ac_ct_AR +AR +AM_BACKSLASH +AM_DEFAULT_VERBOSITY +AM_DEFAULT_V +AM_V +am__untar +am__tar +AMTAR +am__leading_dot +SET_MAKE +AWK +mkdir_p +MKDIR_P +INSTALL_STRIP_PROGRAM +STRIP +install_sh +MAKEINFO +AUTOHEADER +AUTOMAKE +AUTOCONF +ACLOCAL +VERSION +PACKAGE +CYGPATH_W +am__isrc +INSTALL_DATA +INSTALL_SCRIPT +INSTALL_PROGRAM +target_alias +host_alias +build_alias +LIBS +ECHO_T +ECHO_N +ECHO_C +DEFS +mandir +localedir +libdir +psdir +pdfdir +dvidir +htmldir +infodir +docdir +oldincludedir +includedir +localstatedir +sharedstatedir +sysconfdir +datadir +datarootdir +libexecdir +sbindir +bindir +program_transform_name +prefix +exec_prefix +PACKAGE_URL +PACKAGE_BUGREPORT +PACKAGE_STRING +PACKAGE_VERSION +PACKAGE_TARNAME +PACKAGE_NAME +PATH_SEPARATOR +SHELL' +ac_subst_files='' +ac_user_opts=' +enable_option_checking +enable_silent_rules +enable_dependency_tracking +enable_shared +enable_static +with_pic +enable_fast_install +with_gnu_ld +with_sysroot +enable_libtool_lock +enable_maintainer_mode +enable_nls +with_html_dir +enable_gtk_doc +enable_gtk_doc_html +enable_gtk_doc_pdf +with_sasl +with_gtk +with_x11 +with_pnp_ids_path +with_audio +enable_smartcard +enable_usbredir +enable_polkit +enable_pie +with_usb_acl_helper_dir +with_usb_ids_path +with_coroutine +enable_introspection +enable_controller +enable_vala +with_python +enable_dbus +enable_werror +' + ac_precious_vars='build_alias +host_alias +target_alias +CC +CFLAGS +LDFLAGS +LIBS +CPPFLAGS +CPP +PKG_CONFIG +PKG_CONFIG_PATH +PKG_CONFIG_LIBDIR +GTKDOC_DEPS_CFLAGS +GTKDOC_DEPS_LIBS +PIXMAN_CFLAGS +PIXMAN_LIBS +CELT051_CFLAGS +CELT051_LIBS +SSL_CFLAGS +SSL_LIBS +GTK_CFLAGS +GTK_LIBS +XRANDR_CFLAGS +XRANDR_LIBS +GLIB2_CFLAGS +GLIB2_LIBS +GOBJECT2_CFLAGS +GOBJECT2_LIBS +GIO_CFLAGS +GIO_LIBS +CAIRO_CFLAGS +CAIRO_LIBS +GTHREAD_CFLAGS +GTHREAD_LIBS +PULSE_CFLAGS +PULSE_LIBS +GST_CFLAGS +GST_LIBS +SMARTCARD_CFLAGS +SMARTCARD_LIBS +USBREDIR_CFLAGS +USBREDIR_LIBS +GUDEV_CFLAGS +GUDEV_LIBS +POLKIT_CFLAGS +POLKIT_LIBS +PYGTK_CFLAGS +PYGTK_LIBS +PYTHON +DBUS_GLIB_CFLAGS +DBUS_GLIB_LIBS' +ac_subdirs_all='spice-common' + +# Initialize some variables set by options. +ac_init_help= +ac_init_version=false +ac_unrecognized_opts= +ac_unrecognized_sep= +# The variables have the same names as the options, with +# dashes changed to underlines. +cache_file=/dev/null +exec_prefix=NONE +no_create= +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +verbose= +x_includes=NONE +x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. +# (The list follows the same order as the GNU Coding Standards.) +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datarootdir='${prefix}/share' +datadir='${datarootdir}' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +includedir='${prefix}/include' +oldincludedir='/usr/include' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +infodir='${datarootdir}/info' +htmldir='${docdir}' +dvidir='${docdir}' +pdfdir='${docdir}' +psdir='${docdir}' +libdir='${exec_prefix}/lib' +localedir='${datarootdir}/locale' +mandir='${datarootdir}/man' + +ac_prev= +ac_dashdash= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval $ac_prev=\$ac_option + ac_prev= + continue + fi + + case $ac_option in + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *=) ac_optarg= ;; + *) ac_optarg=yes ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case $ac_dashdash$ac_option in + --) + ac_dashdash=yes ;; + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir=$ac_optarg ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build_alias=$ac_optarg ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=*) + datadir=$ac_optarg ;; + + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ + | --dataroo | --dataro | --datar) + ac_prev=datarootdir ;; + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) + datarootdir=$ac_optarg ;; + + -disable-* | --disable-*) + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=no ;; + + -docdir | --docdir | --docdi | --doc | --do) + ac_prev=docdir ;; + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) + docdir=$ac_optarg ;; + + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) + ac_prev=dvidir ;; + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) + dvidir=$ac_optarg ;; + + -enable-* | --enable-*) + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=\$ac_optarg ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; + + -host | --host | --hos | --ho) + ac_prev=host_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + host_alias=$ac_optarg ;; + + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) + ac_prev=htmldir ;; + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ + | --ht=*) + htmldir=$ac_optarg ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir=$ac_optarg ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir=$ac_optarg ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir=$ac_optarg ;; + + -localedir | --localedir | --localedi | --localed | --locale) + ac_prev=localedir ;; + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) + localedir=$ac_optarg ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst | --locals) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) + localstatedir=$ac_optarg ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir=$ac_optarg ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix=$ac_optarg ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix=$ac_optarg ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name=$ac_optarg ;; + + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) + ac_prev=pdfdir ;; + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) + pdfdir=$ac_optarg ;; + + -psdir | --psdir | --psdi | --psd | --ps) + ac_prev=psdir ;; + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) + psdir=$ac_optarg ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir=$ac_optarg ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir=$ac_optarg ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=\$ac_optarg ;; + + -without-* | --without-*) + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=no ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes=$ac_optarg ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + + -*) as_fn_error $? "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information" + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + case $ac_envvar in #( + '' | [0-9]* | *[!_$as_cr_alnum]* ) + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; + esac + eval $ac_envvar=\$ac_optarg + export $ac_envvar ;; + + *) + # FIXME: should be removed in autoconf 3.0. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" + ;; + + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + as_fn_error $? "missing argument to $ac_option" +fi + +if test -n "$ac_unrecognized_opts"; then + case $enable_option_checking in + no) ;; + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + esac +fi + +# Check all directory arguments for consistency. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ + datadir sysconfdir sharedstatedir localstatedir includedir \ + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ + libdir localedir mandir +do + eval ac_val=\$$ac_var + # Remove trailing slashes. + case $ac_val in + */ ) + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` + eval $ac_var=\$ac_val;; + esac + # Be sure to have absolute directory names. + case $ac_val in + [\\/$]* | ?:[\\/]* ) continue;; + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; + esac + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" +done + +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +ac_pwd=`pwd` && test -n "$ac_pwd" && +ac_ls_di=`ls -di .` && +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || + as_fn_error $? "working directory cannot be determined" +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || + as_fn_error $? "pwd does not report name of working directory" + + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then the parent directory. + ac_confdir=`$as_dirname -- "$as_myself" || +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_myself" : 'X\(//\)[^/]' \| \ + X"$as_myself" : 'X\(//\)$' \| \ + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_myself" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + srcdir=$ac_confdir + if test ! -r "$srcdir/$ac_unique_file"; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r "$srcdir/$ac_unique_file"; then + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" +fi +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_abs_confdir=`( + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" + pwd)` +# When building in place, set srcdir=. +if test "$ac_abs_confdir" = "$ac_pwd"; then + srcdir=. +fi +# Remove unnecessary trailing slashes from srcdir. +# Double slashes in file names in object file debugging info +# mess up M-x gdb in Emacs. +case $srcdir in +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; +esac +for ac_var in $ac_precious_vars; do + eval ac_env_${ac_var}_set=\${${ac_var}+set} + eval ac_env_${ac_var}_value=\$${ac_var} + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} + eval ac_cv_env_${ac_var}_value=\$${ac_var} +done + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures spice-gtk 0.19 to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking ...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root [DATAROOTDIR/doc/spice-gtk] + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] +_ACEOF + + cat <<\_ACEOF + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names + +System types: + --build=BUILD configure for building on BUILD [guessed] + --host=HOST cross-compile to build programs to run on HOST [BUILD] +_ACEOF +fi + +if test -n "$ac_init_help"; then + case $ac_init_help in + short | recursive ) echo "Configuration of spice-gtk 0.19:";; + esac + cat <<\_ACEOF + +Optional Features: + --disable-option-checking ignore unrecognized --enable/--with options + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-silent-rules less verbose build output (undo: "make V=1") + --disable-silent-rules verbose build output (undo: "make V=0") + --enable-dependency-tracking + do not reject slow dependency extractors + --disable-dependency-tracking + speeds up one-time build + --enable-shared[=PKGS] build shared libraries [default=yes] + --enable-static[=PKGS] build static libraries [default=yes] + --enable-fast-install[=PKGS] + optimize for fast installation [default=yes] + --disable-libtool-lock avoid locking (might break parallel builds) + --enable-maintainer-mode + enable make rules and dependencies not useful (and + sometimes confusing) to the casual installer + --disable-nls do not use Native Language Support + --enable-gtk-doc use gtk-doc to build documentation [[default=no]] + --enable-gtk-doc-html build documentation in html format [[default=yes]] + --enable-gtk-doc-pdf build documentation in pdf format [[default=no]] + --enable-smartcard=[auto/yes/no] + Enable smartcard support [default=auto] + --enable-usbredir=[auto/yes/no] + Enable usbredir support [default=auto] + --enable-polkit=[auto/yes/no] + Enable PolicyKit support (for the usb acl + helper)[default=auto] + --enable-pie=[auto/yes/no] + Enable position-independent-executable support (for + the usb acl helper)[default=auto] + --enable-introspection=[no/auto/yes] + Enable introspection for this build + --enable-controller Enable controller build [default=yes] + --enable-vala Check for vala requirements [default=no] + --enable-dbus=[auto/yes/no] + Enable dbus support for desktop integration + (disabling automount) [default=auto] + --enable-werror Use -Werror (if supported) + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use + both] + --with-gnu-ld assume the C compiler uses GNU ld [default=no] + --with-sysroot=DIR Search for dependent libraries within DIR + (or the compiler's sysroot if not specified). + --with-html-dir=PATH path to installed docs + --with-sasl=[yes/no/auto] + use cyrus SASL for authentication [default=auto] + --with-gtk=[2.0/3.0] which gtk+ version to compile against [default=3.0] + --with-x11 Use x11/shm display backend instead of cairo + [default=no] + --with-pnp-ids-path Specify the path to pnp.ids [default=(internal)] + --with-audio=[gstreamer/pulse/no] + Select audio backend [default=pulse] + --with-usb-acl-helper-dir=DIR + Directory where the USB ACL helper binary should be + installed + --with-usb-ids-path Specify the path to usb.ids [default=auto] + --with-coroutine=[ucontext/gthread/winfiber/auto] + use ucontext or GThread for coroutines + [default=auto] + --with-python build python bindings [default=yes] + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a + nonstandard directory <lib dir> + LIBS libraries to pass to the linker, e.g. -l<library> + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if + you have headers in a nonstandard directory <include dir> + CPP C preprocessor + PKG_CONFIG path to pkg-config utility + PKG_CONFIG_PATH + directories to add to pkg-config's search path + PKG_CONFIG_LIBDIR + path overriding pkg-config's built-in search path + GTKDOC_DEPS_CFLAGS + C compiler flags for GTKDOC_DEPS, overriding pkg-config + GTKDOC_DEPS_LIBS + linker flags for GTKDOC_DEPS, overriding pkg-config + PIXMAN_CFLAGS + C compiler flags for PIXMAN, overriding pkg-config + PIXMAN_LIBS linker flags for PIXMAN, overriding pkg-config + CELT051_CFLAGS + C compiler flags for CELT051, overriding pkg-config + CELT051_LIBS + linker flags for CELT051, overriding pkg-config + SSL_CFLAGS C compiler flags for SSL, overriding pkg-config + SSL_LIBS linker flags for SSL, overriding pkg-config + GTK_CFLAGS C compiler flags for GTK, overriding pkg-config + GTK_LIBS linker flags for GTK, overriding pkg-config + XRANDR_CFLAGS + C compiler flags for XRANDR, overriding pkg-config + XRANDR_LIBS linker flags for XRANDR, overriding pkg-config + GLIB2_CFLAGS + C compiler flags for GLIB2, overriding pkg-config + GLIB2_LIBS linker flags for GLIB2, overriding pkg-config + GOBJECT2_CFLAGS + C compiler flags for GOBJECT2, overriding pkg-config + GOBJECT2_LIBS + linker flags for GOBJECT2, overriding pkg-config + GIO_CFLAGS C compiler flags for GIO, overriding pkg-config + GIO_LIBS linker flags for GIO, overriding pkg-config + CAIRO_CFLAGS + C compiler flags for CAIRO, overriding pkg-config + CAIRO_LIBS linker flags for CAIRO, overriding pkg-config + GTHREAD_CFLAGS + C compiler flags for GTHREAD, overriding pkg-config + GTHREAD_LIBS + linker flags for GTHREAD, overriding pkg-config + PULSE_CFLAGS + C compiler flags for PULSE, overriding pkg-config + PULSE_LIBS linker flags for PULSE, overriding pkg-config + GST_CFLAGS C compiler flags for GST, overriding pkg-config + GST_LIBS linker flags for GST, overriding pkg-config + SMARTCARD_CFLAGS + C compiler flags for SMARTCARD, overriding pkg-config + SMARTCARD_LIBS + linker flags for SMARTCARD, overriding pkg-config + USBREDIR_CFLAGS + C compiler flags for USBREDIR, overriding pkg-config + USBREDIR_LIBS + linker flags for USBREDIR, overriding pkg-config + GUDEV_CFLAGS + C compiler flags for GUDEV, overriding pkg-config + GUDEV_LIBS linker flags for GUDEV, overriding pkg-config + POLKIT_CFLAGS + C compiler flags for POLKIT, overriding pkg-config + POLKIT_LIBS linker flags for POLKIT, overriding pkg-config + PYGTK_CFLAGS + C compiler flags for PYGTK, overriding pkg-config + PYGTK_LIBS linker flags for PYGTK, overriding pkg-config + PYTHON the Python interpreter + DBUS_GLIB_CFLAGS + C compiler flags for DBUS_GLIB, overriding pkg-config + DBUS_GLIB_LIBS + linker flags for DBUS_GLIB, overriding pkg-config + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +Report bugs to <spice-devel@lists.freedesktop.org>. +_ACEOF +ac_status=$? +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d "$ac_dir" || + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || + continue + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + cd "$ac_dir" || { ac_status=$?; continue; } + # Check for guested configure. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_srcdir/configure"; then + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done +fi + +test -n "$ac_init_help" && exit $ac_status +if $ac_init_version; then + cat <<\_ACEOF +spice-gtk configure 0.19 +generated by GNU Autoconf 2.69 + +Copyright (C) 2012 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit +fi + +## ------------------------ ## +## Autoconf initialization. ## +## ------------------------ ## + +# ac_fn_c_try_compile LINENO +# -------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_compile + +# ac_fn_c_try_link LINENO +# ----------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + test -x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_link + +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + +# ac_fn_c_try_cpp LINENO +# ---------------------- +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_cpp () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } > conftest.i && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_cpp + +# ac_fn_c_try_run LINENO +# ---------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +# that executables *can* be run. +ac_fn_c_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + ac_retval=0 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_run + +# ac_fn_c_check_func LINENO FUNC VAR +# ---------------------------------- +# Tests whether FUNC exists, setting the cache variable VAR accordingly +ac_fn_c_check_func () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Define $2 to an innocuous variant, in case <limits.h> declares $2. + For example, HP-UX 11i <limits.h> declares gettimeofday. */ +#define $2 innocuous_$2 + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $2 (); below. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + <limits.h> exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include <limits.h> +#else +# include <assert.h> +#endif + +#undef $2 + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $2 (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$2 || defined __stub___$2 +choke me +#endif + +int +main () +{ +return $2 (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_func + +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists, giving a warning if it cannot be compiled using +# the include files in INCLUDES and setting the cache variable VAR +# accordingly. +ac_fn_c_check_header_mongrel () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if eval \${$3+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 +$as_echo_n "checking $2 usability... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_header_compiler=yes +else + ac_header_compiler=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 +$as_echo_n "checking $2 presence... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <$2> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ac_header_preproc=yes +else + ac_header_preproc=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( + yes:no: ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; + no:yes:* ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} +( $as_echo "## ------------------------------------------------ ## +## Report this to spice-devel@lists.freedesktop.org ## +## ------------------------------------------------ ##" + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=\$ac_header_compiler" +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_mongrel +cat >config.log <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by spice-gtk $as_me 0.19, which was +generated by GNU Autoconf 2.69. Invocation command line was + + $ $0 $@ + +_ACEOF +exec 5>>config.log +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + $as_echo "PATH: $as_dir" + done +IFS=$as_save_IFS + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *\'*) + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; + 2) + as_fn_append ac_configure_args1 " '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + as_fn_append ac_configure_args " '$ac_arg'" + ;; + esac + done +done +{ ac_configure_args0=; unset ac_configure_args0;} +{ ac_configure_args1=; unset ac_configure_args1;} + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Use '\'' to represent an apostrophe within the trap. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + $as_echo "## ---------------- ## +## Cache variables. ## +## ---------------- ##" + echo + # The following way of writing the cache mishandles newlines in values, +( + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + (set) 2>&1 | + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + sed -n \ + "s/'\''/'\''\\\\'\'''\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + ;; #( + *) + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) + echo + + $as_echo "## ----------------- ## +## Output variables. ## +## ----------------- ##" + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + + if test -n "$ac_subst_files"; then + $as_echo "## ------------------- ## +## File substitutions. ## +## ------------------- ##" + echo + for ac_var in $ac_subst_files + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then + $as_echo "## ----------- ## +## confdefs.h. ## +## ----------- ##" + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + $as_echo "$as_me: caught signal $ac_signal" + $as_echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status +' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -f -r conftest* confdefs.h + +$as_echo "/* confdefs.h */" > confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_URL "$PACKAGE_URL" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer an explicitly selected file to automatically selected ones. +ac_site_file1=NONE +ac_site_file2=NONE +if test -n "$CONFIG_SITE"; then + # We do not want a PATH search for config.site. + case $CONFIG_SITE in #(( + -*) ac_site_file1=./$CONFIG_SITE;; + */*) ac_site_file1=$CONFIG_SITE;; + *) ac_site_file1=./$CONFIG_SITE;; + esac +elif test "x$prefix" != xNONE; then + ac_site_file1=$prefix/share/config.site + ac_site_file2=$prefix/etc/config.site +else + ac_site_file1=$ac_default_prefix/share/config.site + ac_site_file2=$ac_default_prefix/etc/config.site +fi +for ac_site_file in "$ac_site_file1" "$ac_site_file2" +do + test "x$ac_site_file" = xNONE && continue + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +$as_echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" \ + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "failed to load site script $ac_site_file +See \`config.log' for more details" "$LINENO" 5; } + fi +done + +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special files + # actually), so we avoid doing that. DJGPP emulates it as a regular file. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +$as_echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; + *) . "./$cache_file";; + esac + fi +else + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +$as_echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in $ac_precious_vars; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val=\$ac_cv_env_${ac_var}_value + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + # differences in whitespace do not lead to failure. + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + ac_cache_corrupted=: + else + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) as_fn_append ac_configure_args " '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 +fi +## -------------------- ## +## Main body of script. ## +## -------------------- ## + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + + +ac_config_headers="$ac_config_headers config.h" + +ac_aux_dir= +for ac_dir in build-aux "$srcdir"/build-aux; do + if test -f "$ac_dir/install-sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f "$ac_dir/install.sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f "$ac_dir/shtool"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi +done +if test -z "$ac_aux_dir"; then + as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + + +am__api_version='1.13' + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +# Reject install programs that cannot install multiple files. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +$as_echo_n "checking for a BSD-compatible install... " >&6; } +if test -z "$INSTALL"; then +if ${ac_cv_path_install+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in #(( + ./ | .// | /[cC]/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + rm -rf conftest.one conftest.two conftest.dir + echo one > conftest.one + echo two > conftest.two + mkdir conftest.dir + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + test -s conftest.one && test -s conftest.two && + test -s conftest.dir/conftest.one && + test -s conftest.dir/conftest.two + then + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + fi + done + done + ;; +esac + + done +IFS=$as_save_IFS + +rm -rf conftest.one conftest.two conftest.dir + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + INSTALL=$ac_install_sh + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +$as_echo "$INSTALL" >&6; } + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 +$as_echo_n "checking whether build environment is sane... " >&6; } +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[\\\"\#\$\&\'\`$am_lf]*) + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; +esac +case $srcdir in + *[\\\"\#\$\&\'\`$am_lf\ \ ]*) + as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; +esac + +# Do 'set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + am_has_slept=no + for am_try in 1 2; do + echo "timestamp, slept: $am_has_slept" > conftest.file + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken + alias in your environment" "$LINENO" 5 + fi + if test "$2" = conftest.file || test $am_try -eq 2; then + break + fi + # Just in case. + sleep 1 + am_has_slept=yes + done + test "$2" = conftest.file + ) +then + # Ok. + : +else + as_fn_error $? "newly created file is older than distributed files! +Check your system clock" "$LINENO" 5 +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +# If we didn't sleep, we still need to ensure time stamps of config.status and +# generated files are strictly newer. +am_sleep_pid= +if grep 'slept: no' conftest.file >/dev/null 2>&1; then + ( sleep 1 ) & + am_sleep_pid=$! +fi + +rm -f conftest.file + +test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s&\$&$program_suffix&;$program_transform_name" +# Double any \ or $. +# By default was `s,x,x', remove it if useless. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` + +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` + +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --is-lightweight"; then + am_missing_run="$MISSING " +else + am_missing_run= + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 +$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} +fi + +if test x"${install_sh}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi + +# Installed binaries are usually stripped using 'strip' when the user +# run "make install-strip". However 'strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the 'STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } +if test -z "$MKDIR_P"; then + if ${ac_cv_path_mkdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in mkdir gmkdir; do + for ac_exec_ext in '' $ac_executable_extensions; do + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( + 'mkdir (GNU coreutils) '* | \ + 'mkdir (coreutils) '* | \ + 'mkdir (fileutils) '4.1*) + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext + break 3;; + esac + done + done + done +IFS=$as_save_IFS + +fi + + test -d ./--version && rmdir ./--version + if test "${ac_cv_path_mkdir+set}" = set; then + MKDIR_P="$ac_cv_path_mkdir -p" + else + # As a last resort, use the slow shell script. Don't cache a + # value for MKDIR_P within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + MKDIR_P="$ac_install_sh -d" + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 +$as_echo "$MKDIR_P" >&6; } + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AWK+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AWK" && break +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null + +# Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" = set; then : + enableval=$enable_silent_rules; +fi + +case $enable_silent_rules in # ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=1;; +esac +am_make=${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AM_BACKSLASH='\' + +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + am__isrc=' -I$(srcdir)' + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi + + +# Define the identity of the package. + PACKAGE='spice-gtk' + VERSION='0.19' + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE "$PACKAGE" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define VERSION "$VERSION" +_ACEOF + +# Some tools Automake needs. + +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} + + +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} + + +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} + + +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} + + +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + +# For better backward compatibility. To be removed once Automake 1.9.x +# dies out for good. For more background, see: +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> +mkdir_p='$(MKDIR_P)' + +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AMTAR='$${TAR-tar}' + +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' + + + + + +DEPDIR="${am__leading_dot}deps" + +ac_config_commands="$ac_config_commands depfiles" + + +am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo this is the am__doit target +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 +$as_echo_n "checking for style of include used by $am_make... " >&6; } +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# Ignore all kinds of additional output from 'make'. +case `$am_make -s -f confmf 2> /dev/null` in #( +*the\ am__doit\ target*) + am__include=include + am__quote= + _am_result=GNU + ;; +esac +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + case `$am_make -s -f confmf 2> /dev/null` in #( + *the\ am__doit\ target*) + am__include=.include + am__quote="\"" + _am_result=BSD + ;; + esac +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 +$as_echo "$_am_result" >&6; } +rm -f confinc confmf + +# Check whether --enable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then : + enableval=$enable_dependency_tracking; +fi + +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' + am__nodep='_no' +fi + if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +$as_echo_n "checking whether the C compiler works... " >&6; } +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` + +# The possible output files: +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" + +ac_rmfiles= +for ac_file in $ac_files +do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + * ) ac_rmfiles="$ac_rmfiles $ac_file";; + esac +done +rm -f $ac_rmfiles + +if { { ac_try="$ac_link_default" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' +# in a Makefile. We should not override ac_cv_exeext if it was cached, +# so that the user can short-circuit this test for compilers unknown to +# Autoconf. +for ac_file in $ac_files '' +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + fi + # We set ac_cv_exeext here because the later test for it is not + # safe: cross compilers may not add the suffix if given an `-o' + # argument, so we may need to know it at that point already. + # Even if this section looks crufty: it has the advantage of + # actually working. + break;; + * ) + break;; + esac +done +test "$ac_cv_exeext" = no && ac_cv_exeext= + +else + ac_file='' +fi +if test -z "$ac_file"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +$as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "C compiler cannot create executables +See \`config.log' for more details" "$LINENO" 5; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +$as_echo_n "checking for C compiler default output file name... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +$as_echo "$ac_file" >&6; } +ac_exeext=$ac_cv_exeext + +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +$as_echo_n "checking for suffix of executables... " >&6; } +if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + break;; + * ) break;; + esac +done +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest conftest$ac_cv_exeext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +$as_echo "$ac_cv_exeext" >&6; } + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdio.h> +int +main () +{ +FILE *f = fopen ("conftest.out", "w"); + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +ac_clean_files="$ac_clean_files conftest.out" +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } +if test "$cross_compiling" != yes; then + { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if { ac_try='./conftest$ac_cv_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details" "$LINENO" 5; } + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } + +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +$as_echo_n "checking for suffix of object files... " >&6; } +if ${ac_cv_objext+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of object files: cannot compile +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +$as_echo "$ac_cv_objext" >&6; } +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if ${ac_cv_c_compiler_gnu+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if ${ac_cv_prog_cc_g+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdarg.h> +#include <stdio.h> +struct stat; +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +depcc="$CC" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if ${am_cv_CC_dependencies_compiler_type+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + am__universal=false + case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with '-c' and '-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + + +if test -n "$ac_tool_prefix"; then + for ac_prog in ar lib "link -lib" + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AR="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +$as_echo "$AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AR" && break + done +fi +if test -z "$AR"; then + ac_ct_AR=$AR + for ac_prog in ar lib "link -lib" +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_AR="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 +$as_echo "$ac_ct_AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_AR" && break +done + + if test "x$ac_ct_AR" = x; then + AR="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + AR=$ac_ct_AR + fi +fi + +: ${AR=ar} + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 +$as_echo_n "checking the archiver ($AR) interface... " >&6; } +if ${am_cv_ar_interface+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_ar_interface=ar + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int some_variable = 0; +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 + (eval $am_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test "$ac_status" -eq 0; then + am_cv_ar_interface=ar + else + am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 + (eval $am_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test "$ac_status" -eq 0; then + am_cv_ar_interface=lib + else + am_cv_ar_interface=unknown + fi + fi + rm -f conftest.lib libconftest.a + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 +$as_echo "$am_cv_ar_interface" >&6; } + +case $am_cv_ar_interface in +ar) + ;; +lib) + # Microsoft lib, so override with the ar-lib wrapper script. + # FIXME: It is wrong to rewrite AR. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__AR in this case, + # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something + # similar. + AR="$am_aux_dir/ar-lib $AR" + ;; +unknown) + as_fn_error $? "could not determine $AR interface" "$LINENO" 5 + ;; +esac + +case `pwd` in + *\ * | *\ *) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; +esac + + + +macro_version='2.4.2' +macro_revision='1.3337' + + + + + + + + + + + + + +ltmain="$ac_aux_dir/ltmain.sh" + +# Make sure we can run config.sub. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 +$as_echo_n "checking build system type... " >&6; } +if ${ac_cv_build+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_build_alias=$build_alias +test "x$ac_build_alias" = x && + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` +test "x$ac_build_alias" = x && + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +$as_echo "$ac_cv_build" >&6; } +case $ac_cv_build in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; +esac +build=$ac_cv_build +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_build +shift +build_cpu=$1 +build_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +build_os=$* +IFS=$ac_save_IFS +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 +$as_echo_n "checking host system type... " >&6; } +if ${ac_cv_host+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "x$host_alias" = x; then + ac_cv_host=$ac_cv_build +else + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +$as_echo "$ac_cv_host" >&6; } +case $ac_cv_host in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; +esac +host=$ac_cv_host +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_host +shift +host_cpu=$1 +host_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +host_os=$* +IFS=$ac_save_IFS +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac + + +# Backslashify metacharacters that are still active within +# double-quoted strings. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\(["`\\]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to delay expansion of an escaped single quote. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 +$as_echo_n "checking how to print strings... " >&6; } +# Test print first, because it will be a builtin if present. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='print -r --' +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='printf %s\n' +else + # Use this function as a fallback that always works. + func_fallback_echo () + { + eval 'cat <<_LTECHO_EOF +$1 +_LTECHO_EOF' + } + ECHO='func_fallback_echo' +fi + +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "" +} + +case "$ECHO" in + printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 +$as_echo "printf" >&6; } ;; + print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 +$as_echo "print -r" >&6; } ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 +$as_echo "cat" >&6; } ;; +esac + + + + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 +$as_echo_n "checking for a sed that does not truncate output... " >&6; } +if ${ac_cv_path_SED+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ + for ac_i in 1 2 3 4 5 6 7; do + ac_script="$ac_script$as_nl$ac_script" + done + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed + { ac_script=; unset ac_script;} + if test -z "$SED"; then + ac_path_SED_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_SED" || continue +# Check for GNU ac_path_SED and select it if it is found. + # Check for GNU $ac_path_SED +case `"$ac_path_SED" --version 2>&1` in +*GNU*) + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo '' >> "conftest.nl" + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_SED_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_SED="$ac_path_SED" + ac_path_SED_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_SED_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_SED"; then + as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 + fi +else + ac_cv_path_SED=$SED +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 +$as_echo "$ac_cv_path_SED" >&6; } + SED="$ac_cv_path_SED" + rm -f conftest.sed + +test -z "$SED" && SED=sed +Xsed="$SED -e 1s/^X//" + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; } +if ${ac_cv_path_GREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$GREP"; then + ac_path_GREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in grep ggrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_GREP" || continue +# Check for GNU ac_path_GREP and select it if it is found. + # Check for GNU $ac_path_GREP +case `"$ac_path_GREP" --version 2>&1` in +*GNU*) + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_GREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_GREP="$ac_path_GREP" + ac_path_GREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_GREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_GREP"; then + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_GREP=$GREP +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 +$as_echo "$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +$as_echo_n "checking for egrep... " >&6; } +if ${ac_cv_path_EGREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 + then ac_cv_path_EGREP="$GREP -E" + else + if test -z "$EGREP"; then + ac_path_EGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_EGREP" || continue +# Check for GNU ac_path_EGREP and select it if it is found. + # Check for GNU $ac_path_EGREP +case `"$ac_path_EGREP" --version 2>&1` in +*GNU*) + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_EGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP="$ac_path_EGREP" + ac_path_EGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_EGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_EGREP"; then + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_EGREP=$EGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 +$as_echo "$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 +$as_echo_n "checking for fgrep... " >&6; } +if ${ac_cv_path_FGREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 + then ac_cv_path_FGREP="$GREP -F" + else + if test -z "$FGREP"; then + ac_path_FGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in fgrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_FGREP" || continue +# Check for GNU ac_path_FGREP and select it if it is found. + # Check for GNU $ac_path_FGREP +case `"$ac_path_FGREP" --version 2>&1` in +*GNU*) + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'FGREP' >> "conftest.nl" + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_FGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_FGREP="$ac_path_FGREP" + ac_path_FGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_FGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_FGREP"; then + as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_FGREP=$FGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 +$as_echo "$ac_cv_path_FGREP" >&6; } + FGREP="$ac_cv_path_FGREP" + + +test -z "$GREP" && GREP=grep + + + + + + + + + + + + + + + + + + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 +$as_echo_n "checking for ld used by $CC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | ?:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if ${lt_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in + *GNU* | *'with BFD'*) + test "$with_gnu_ld" != no && break + ;; + *) + test "$with_gnu_ld" != yes && break + ;; + esac + fi + done + IFS="$lt_save_ifs" +else + lt_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$lt_cv_path_LD" +if test -n "$LD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if ${lt_cv_prog_gnu_ld+:} false; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU lds only accept -v. +case `$LD -v 2>&1 </dev/null` in +*GNU* | *'with BFD'*) + lt_cv_prog_gnu_ld=yes + ;; +*) + lt_cv_prog_gnu_ld=no + ;; +esac +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 +$as_echo "$lt_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$lt_cv_prog_gnu_ld + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } +if ${lt_cv_path_NM+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_nm_to_check="${ac_tool_prefix}nm" + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then + lt_nm_to_check="$lt_nm_to_check nm" + fi + for lt_tmp_nm in $lt_nm_to_check; do + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/$lt_tmp_nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + ;; + esac + fi + done + IFS="$lt_save_ifs" + done + : ${lt_cv_path_NM=no} +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 +$as_echo "$lt_cv_path_NM" >&6; } +if test "$lt_cv_path_NM" != "no"; then + NM="$lt_cv_path_NM" +else + # Didn't find any BSD compatible name lister, look for dumpbin. + if test -n "$DUMPBIN"; then : + # Let the user override the test. + else + if test -n "$ac_tool_prefix"; then + for ac_prog in dumpbin "link -dump" + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_DUMPBIN+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$DUMPBIN"; then + ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +DUMPBIN=$ac_cv_prog_DUMPBIN +if test -n "$DUMPBIN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 +$as_echo "$DUMPBIN" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$DUMPBIN" && break + done +fi +if test -z "$DUMPBIN"; then + ac_ct_DUMPBIN=$DUMPBIN + for ac_prog in dumpbin "link -dump" +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_DUMPBIN"; then + ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN +if test -n "$ac_ct_DUMPBIN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 +$as_echo "$ac_ct_DUMPBIN" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_DUMPBIN" && break +done + + if test "x$ac_ct_DUMPBIN" = x; then + DUMPBIN=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + DUMPBIN=$ac_ct_DUMPBIN + fi +fi + + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in + *COFF*) + DUMPBIN="$DUMPBIN -symbols" + ;; + *) + DUMPBIN=: + ;; + esac + fi + + if test "$DUMPBIN" != ":"; then + NM="$DUMPBIN" + fi +fi +test -z "$NM" && NM=nm + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 +$as_echo_n "checking the name lister ($NM) interface... " >&6; } +if ${lt_cv_nm_interface+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_nm_interface="BSD nm" + echo "int some_variable = 0;" > conftest.$ac_ext + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) + (eval "$ac_compile" 2>conftest.err) + cat conftest.err >&5 + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) + cat conftest.err >&5 + (eval echo "\"\$as_me:$LINENO: output\"" >&5) + cat conftest.out >&5 + if $GREP 'External.*some_variable' conftest.out > /dev/null; then + lt_cv_nm_interface="MS dumpbin" + fi + rm -f conftest* +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 +$as_echo "$lt_cv_nm_interface" >&6; } + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 +$as_echo_n "checking whether ln -s works... " >&6; } +LN_S=$as_ln_s +if test "$LN_S" = "ln -s"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 +$as_echo "no, using $LN_S" >&6; } +fi + +# find the maximum length of command line arguments +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 +$as_echo_n "checking the maximum length of command line arguments... " >&6; } +if ${lt_cv_sys_max_cmd_len+:} false; then : + $as_echo_n "(cached) " >&6 +else + i=0 + teststring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw* | cegcc*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + mint*) + # On MiNT this can take a long time and run out of memory. + lt_cv_sys_max_cmd_len=8192; + ;; + + amigaos*) + # On AmigaOS with pdksh, this test takes hours, literally. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; + ;; + + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + ;; + + interix*) + # We know the value 262144 and hardcode it with a safety zone (like BSD) + lt_cv_sys_max_cmd_len=196608 + ;; + + os2*) + # The test takes a long time on OS/2. + lt_cv_sys_max_cmd_len=8192 + ;; + + osf*) + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not + # nice to cause kernel panics so lets avoid the loop below. + # First set a reasonable default. + lt_cv_sys_max_cmd_len=16384 + # + if test -x /sbin/sysconfig; then + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in + *1*) lt_cv_sys_max_cmd_len=-1 ;; + esac + fi + ;; + sco3.2v5*) + lt_cv_sys_max_cmd_len=102400 + ;; + sysv5* | sco5v6* | sysv4.2uw2*) + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` + if test -n "$kargmax"; then + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` + else + lt_cv_sys_max_cmd_len=32768 + fi + ;; + *) + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` + if test -n "$lt_cv_sys_max_cmd_len"; then + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + else + # Make teststring a little bigger before we do anything with it. + # a 1K string should be a reasonable start. + for i in 1 2 3 4 5 6 7 8 ; do + teststring=$teststring$teststring + done + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ + = "X$teststring$teststring"; } >/dev/null 2>&1 && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + teststring=$teststring$teststring + done + # Only check the string length outside the loop. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` + teststring= + # Add a significant safety factor because C++ compilers can tack on + # massive amounts of additional arguments before passing them to the + # linker. It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + fi + ;; + esac + +fi + +if test -n $lt_cv_sys_max_cmd_len ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 +$as_echo "$lt_cv_sys_max_cmd_len" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 +$as_echo "none" >&6; } +fi +max_cmd_len=$lt_cv_sys_max_cmd_len + + + + + + +: ${CP="cp -f"} +: ${MV="mv -f"} +: ${RM="rm -f"} + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 +$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } +# Try some XSI features +xsi_shell=no +( _lt_dummy="a/b/c" + test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ + = c,a/b,b/c, \ + && eval 'test $(( 1 + 1 )) -eq 2 \ + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ + && xsi_shell=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 +$as_echo "$xsi_shell" >&6; } + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 +$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } +lt_shell_append=no +( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ + >/dev/null 2>&1 \ + && lt_shell_append=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 +$as_echo "$lt_shell_append" >&6; } + + +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + lt_unset=unset +else + lt_unset=false +fi + + + + + +# test EBCDIC or ASCII +case `echo X|tr X '\101'` in + A) # ASCII based system + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr + lt_SP2NL='tr \040 \012' + lt_NL2SP='tr \015\012 \040\040' + ;; + *) # EBCDIC based system + lt_SP2NL='tr \100 \n' + lt_NL2SP='tr \r\n \100\100' + ;; +esac + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 +$as_echo_n "checking how to convert $build file names to $host format... " >&6; } +if ${lt_cv_to_host_file_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 + ;; + esac + ;; + *-*-cygwin* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin + ;; + esac + ;; + * ) # unhandled hosts (and "normal" native builds) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; +esac + +fi + +to_host_file_cmd=$lt_cv_to_host_file_cmd +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 +$as_echo "$lt_cv_to_host_file_cmd" >&6; } + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 +$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } +if ${lt_cv_to_tool_file_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + #assume ordinary cross tools, or native build. +lt_cv_to_tool_file_cmd=func_convert_file_noop +case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 + ;; + esac + ;; +esac + +fi + +to_tool_file_cmd=$lt_cv_to_tool_file_cmd +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 +$as_echo "$lt_cv_to_tool_file_cmd" >&6; } + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 +$as_echo_n "checking for $LD option to reload object files... " >&6; } +if ${lt_cv_ld_reload_flag+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_reload_flag='-r' +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 +$as_echo "$lt_cv_ld_reload_flag" >&6; } +reload_flag=$lt_cv_ld_reload_flag +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' +case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + if test "$GCC" != yes; then + reload_cmds=false + fi + ;; + darwin*) + if test "$GCC" = yes; then + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' + else + reload_cmds='$LD$reload_flag -o $output$reload_objs' + fi + ;; +esac + + + + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. +set dummy ${ac_tool_prefix}objdump; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OBJDUMP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OBJDUMP"; then + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OBJDUMP=$ac_cv_prog_OBJDUMP +if test -n "$OBJDUMP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 +$as_echo "$OBJDUMP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OBJDUMP"; then + ac_ct_OBJDUMP=$OBJDUMP + # Extract the first word of "objdump", so it can be a program name with args. +set dummy objdump; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OBJDUMP"; then + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_OBJDUMP="objdump" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP +if test -n "$ac_ct_OBJDUMP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 +$as_echo "$ac_ct_OBJDUMP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OBJDUMP" = x; then + OBJDUMP="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OBJDUMP=$ac_ct_OBJDUMP + fi +else + OBJDUMP="$ac_cv_prog_OBJDUMP" +fi + +test -z "$OBJDUMP" && OBJDUMP=objdump + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 +$as_echo_n "checking how to recognize dependent libraries... " >&6; } +if ${lt_cv_deplibs_check_method+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_deplibs_check_method='unknown' +# Need to set the preceding variable on all platforms that support +# interlibrary dependencies. +# 'none' -- dependencies not supported. +# `unknown' -- same as none, but documents that we really don't know. +# 'pass_all' -- all dependencies passed with no checks. +# 'test_compile' -- check by making test program. +# 'file_magic [[regex]]' -- check by looking for files in library path +# which responds to the $file_magic_cmd with a given extended regex. +# If you have `file' or equivalent on your system and you're not sure +# whether `pass_all' will *always* work, you probably want this one. + +case $host_os in +aix[4-9]*) + lt_cv_deplibs_check_method=pass_all + ;; + +beos*) + lt_cv_deplibs_check_method=pass_all + ;; + +bsdi[45]*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' + lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_test_file=/shlib/libc.so + ;; + +cygwin*) + # func_win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + ;; + +mingw* | pw32*) + # Base MSYS/MinGW do not provide the 'file' command needed by + # func_win32_libid shell function, so use a weaker test based on 'objdump', + # unless we find 'file', for example because we are cross-compiling. + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. + if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + else + # Keep this pattern in sync with the one in func_win32_libid. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' + lt_cv_file_magic_cmd='$OBJDUMP -f' + fi + ;; + +cegcc*) + # use the weaker test based on 'objdump'. See mingw*. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + ;; + +darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +freebsd* | dragonfly*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +haiku*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case $host_cpu in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac + ;; + +interix[3-9]*) + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' + ;; + +irix5* | irix6* | nonstopux*) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + lt_cv_deplibs_check_method=pass_all + ;; + +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + lt_cv_deplibs_check_method=pass_all + ;; + +netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' + fi + ;; + +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +*nto* | *qnx*) + lt_cv_deplibs_check_method=pass_all + ;; + +openbsd*) + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + fi + ;; + +osf3* | osf4* | osf5*) + lt_cv_deplibs_check_method=pass_all + ;; + +rdos*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv4 | sysv4.3*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; + pc) + lt_cv_deplibs_check_method=pass_all + ;; + esac + ;; + +tpf*) + lt_cv_deplibs_check_method=pass_all + ;; +esac + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 +$as_echo "$lt_cv_deplibs_check_method" >&6; } + +file_magic_glob= +want_nocaseglob=no +if test "$build" = "$host"; then + case $host_os in + mingw* | pw32*) + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then + want_nocaseglob=yes + else + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` + fi + ;; + esac +fi + +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown + + + + + + + + + + + + + + + + + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. +set dummy ${ac_tool_prefix}dlltool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_DLLTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$DLLTOOL"; then + ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +DLLTOOL=$ac_cv_prog_DLLTOOL +if test -n "$DLLTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 +$as_echo "$DLLTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_DLLTOOL"; then + ac_ct_DLLTOOL=$DLLTOOL + # Extract the first word of "dlltool", so it can be a program name with args. +set dummy dlltool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_DLLTOOL"; then + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_DLLTOOL="dlltool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL +if test -n "$ac_ct_DLLTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 +$as_echo "$ac_ct_DLLTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_DLLTOOL" = x; then + DLLTOOL="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + DLLTOOL=$ac_ct_DLLTOOL + fi +else + DLLTOOL="$ac_cv_prog_DLLTOOL" +fi + +test -z "$DLLTOOL" && DLLTOOL=dlltool + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 +$as_echo_n "checking how to associate runtime and link libraries... " >&6; } +if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_sharedlib_from_linklib_cmd='unknown' + +case $host_os in +cygwin* | mingw* | pw32* | cegcc*) + # two different shell functions defined in ltmain.sh + # decide which to use based on capabilities of $DLLTOOL + case `$DLLTOOL --help 2>&1` in + *--identify-strict*) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib + ;; + *) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback + ;; + esac + ;; +*) + # fallback: assume linklib IS sharedlib + lt_cv_sharedlib_from_linklib_cmd="$ECHO" + ;; +esac + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 +$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO + + + + + + + +if test -n "$ac_tool_prefix"; then + for ac_prog in ar + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AR="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +$as_echo "$AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AR" && break + done +fi +if test -z "$AR"; then + ac_ct_AR=$AR + for ac_prog in ar +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_AR="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 +$as_echo "$ac_ct_AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_AR" && break +done + + if test "x$ac_ct_AR" = x; then + AR="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + AR=$ac_ct_AR + fi +fi + +: ${AR=ar} +: ${AR_FLAGS=cru} + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 +$as_echo_n "checking for archiver @FILE support... " >&6; } +if ${lt_cv_ar_at_file+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ar_at_file=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + echo conftest.$ac_objext > conftest.lst + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 + (eval $lt_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test "$ac_status" -eq 0; then + # Ensure the archiver fails upon bogus file names. + rm -f conftest.$ac_objext libconftest.a + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 + (eval $lt_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test "$ac_status" -ne 0; then + lt_cv_ar_at_file=@ + fi + fi + rm -f conftest.* libconftest.a + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 +$as_echo "$lt_cv_ar_at_file" >&6; } + +if test "x$lt_cv_ar_at_file" = xno; then + archiver_list_spec= +else + archiver_list_spec=$lt_cv_ar_at_file +fi + + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +test -z "$STRIP" && STRIP=: + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +$as_echo "$RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 +$as_echo "$ac_ct_RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_RANLIB" = x; then + RANLIB=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + RANLIB=$ac_ct_RANLIB + fi +else + RANLIB="$ac_cv_prog_RANLIB" +fi + +test -z "$RANLIB" && RANLIB=: + + + + + + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" + ;; + *) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" +fi + +case $host_os in + darwin*) + lock_old_archive_extraction=yes ;; + *) + lock_old_archive_extraction=no ;; +esac + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Check for command to grab the raw symbol name followed by C symbol from nm. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } +if ${lt_cv_sys_global_symbol_pipe+:} false; then : + $as_echo_n "(cached) " >&6 +else + +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[BCDEGRST]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)' + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[BCDT]' + ;; +cygwin* | mingw* | pw32* | cegcc*) + symcode='[ABCDGISTW]' + ;; +hpux*) + if test "$host_cpu" = ia64; then + symcode='[ABCDEGRST]' + fi + ;; +irix* | nonstopux*) + symcode='[BCDEGRST]' + ;; +osf*) + symcode='[BCDEGQRST]' + ;; +solaris*) + symcode='[BDRT]' + ;; +sco3.2v5*) + symcode='[DT]' + ;; +sysv4.2uw2*) + symcode='[DT]' + ;; +sysv5* | sco5v6* | unixware* | OpenUNIX*) + symcode='[ABDT]' + ;; +sysv4) + symcode='[DFNSTU]' + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[ABCDGIRSTW]' ;; +esac + +# Transform an extracted symbol line into a proper C declaration. +# Some systems (esp. on ia64) link data and code symbols differently, +# so use this general approach. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# Try without a prefix underscore, then with it. +for ac_symprfx in "" "_"; do + + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. + symxfrm="\\1 $ac_symprfx\\2 \\2" + + # Write the raw and C identifiers. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then + # Fake it for dumpbin and say T for any non-static function + # and D for any global variable. + # Also find C++ and __fastcall symbols from MSVC++, + # which start with @ or ?. + lt_cv_sys_global_symbol_pipe="$AWK '"\ +" {last_section=section; section=\$ 3};"\ +" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ +" \$ 0!~/External *\|/{next};"\ +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ +" {if(hide[section]) next};"\ +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ +" s[1]~/^[@?]/{print s[1], s[1]; next};"\ +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ +" ' prfx=^$ac_symprfx" + else + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" + fi + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext <<_LT_EOF +#ifdef __cplusplus +extern "C" { +#endif +char nm_test_var; +void nm_test_func(void); +void nm_test_func(void){} +#ifdef __cplusplus +} +#endif +int main(){nm_test_var='a';nm_test_func();return(0);} +_LT_EOF + + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + # Now try to grab the symbols. + nlist=conftest.nm + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 + (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then + cat <<_LT_EOF > conftest.$ac_ext +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) +/* DATA imports from DLLs on WIN32 con't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT_DLSYM_CONST +#elif defined(__osf__) +/* This system does not cope well with relocations in const data. */ +# define LT_DLSYM_CONST +#else +# define LT_DLSYM_CONST const +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +_LT_EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' + + cat <<_LT_EOF >> conftest.$ac_ext + +/* The mapping between symbol names and symbols. */ +LT_DLSYM_CONST struct { + const char *name; + void *address; +} +lt__PROGRAM__LTX_preloaded_symbols[] = +{ + { "@PROGRAM@", (void *) 0 }, +_LT_EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext + cat <<\_LT_EOF >> conftest.$ac_ext + {0, (void *) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt__PROGRAM__LTX_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif +_LT_EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_globsym_save_LIBS=$LIBS + lt_globsym_save_CFLAGS=$CFLAGS + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS=$lt_globsym_save_LIBS + CFLAGS=$lt_globsym_save_CFLAGS + else + echo "cannot find nm_test_func in $nlist" >&5 + fi + else + echo "cannot find nm_test_var in $nlist" >&5 + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 + fi + else + echo "$progname: failed program was:" >&5 + cat conftest.$ac_ext >&5 + fi + rm -rf conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done + +fi + +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 +$as_echo "failed" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 +$as_echo "ok" >&6; } +fi + +# Response file support. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then + nm_file_list_spec='@' +elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then + nm_file_list_spec='@' +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 +$as_echo_n "checking for sysroot... " >&6; } + +# Check whether --with-sysroot was given. +if test "${with_sysroot+set}" = set; then : + withval=$with_sysroot; +else + with_sysroot=no +fi + + +lt_sysroot= +case ${with_sysroot} in #( + yes) + if test "$GCC" = yes; then + lt_sysroot=`$CC --print-sysroot 2>/dev/null` + fi + ;; #( + /*) + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` + ;; #( + no|'') + ;; #( + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 +$as_echo "${with_sysroot}" >&6; } + as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 + ;; +esac + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 +$as_echo "${lt_sysroot:-no}" >&6; } + + + + + +# Check whether --enable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then : + enableval=$enable_libtool_lock; +fi + +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ +s390*-*linux*|s390*-*tpf*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.o` in + *32-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_i386_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*|powerpc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_x86_64_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*|s390*-*tpf*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 +$as_echo_n "checking whether the C compiler needs -belf... " >&6; } +if ${lt_cv_cc_needs_belf+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + lt_cv_cc_needs_belf=yes +else + lt_cv_cc_needs_belf=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 +$as_echo "$lt_cv_cc_needs_belf" >&6; } + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +*-*solaris*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.o` in + *64-bit*) + case $lt_cv_prog_gnu_ld in + yes*) + case $host in + i?86-*-solaris*) + LD="${LD-ld} -m elf_x86_64" + ;; + sparc*-*-solaris*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + # GNU ld 2.21 introduced _sol2 emulations. Use them if available. + if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then + LD="${LD-ld}_sol2" + fi + ;; + *) + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then + LD="${LD-ld} -64" + fi + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; +esac + +need_locks="$enable_libtool_lock" + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. +set dummy ${ac_tool_prefix}mt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$MANIFEST_TOOL"; then + ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL +if test -n "$MANIFEST_TOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 +$as_echo "$MANIFEST_TOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_MANIFEST_TOOL"; then + ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL + # Extract the first word of "mt", so it can be a program name with args. +set dummy mt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_MANIFEST_TOOL"; then + ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL +if test -n "$ac_ct_MANIFEST_TOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 +$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_MANIFEST_TOOL" = x; then + MANIFEST_TOOL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL + fi +else + MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" +fi + +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 +$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } +if ${lt_cv_path_mainfest_tool+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_path_mainfest_tool=no + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out + cat conftest.err >&5 + if $GREP 'Manifest Tool' conftest.out > /dev/null; then + lt_cv_path_mainfest_tool=yes + fi + rm -f conftest* +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 +$as_echo "$lt_cv_path_mainfest_tool" >&6; } +if test "x$lt_cv_path_mainfest_tool" != xyes; then + MANIFEST_TOOL=: +fi + + + + + + + case $host_os in + rhapsody* | darwin*) + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_DSYMUTIL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$DSYMUTIL"; then + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +DSYMUTIL=$ac_cv_prog_DSYMUTIL +if test -n "$DSYMUTIL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 +$as_echo "$DSYMUTIL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_DSYMUTIL"; then + ac_ct_DSYMUTIL=$DSYMUTIL + # Extract the first word of "dsymutil", so it can be a program name with args. +set dummy dsymutil; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_DSYMUTIL"; then + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL +if test -n "$ac_ct_DSYMUTIL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 +$as_echo "$ac_ct_DSYMUTIL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_DSYMUTIL" = x; then + DSYMUTIL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + DSYMUTIL=$ac_ct_DSYMUTIL + fi +else + DSYMUTIL="$ac_cv_prog_DSYMUTIL" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. +set dummy ${ac_tool_prefix}nmedit; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_NMEDIT+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NMEDIT"; then + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +NMEDIT=$ac_cv_prog_NMEDIT +if test -n "$NMEDIT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 +$as_echo "$NMEDIT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_NMEDIT"; then + ac_ct_NMEDIT=$NMEDIT + # Extract the first word of "nmedit", so it can be a program name with args. +set dummy nmedit; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_NMEDIT"; then + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_NMEDIT="nmedit" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT +if test -n "$ac_ct_NMEDIT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 +$as_echo "$ac_ct_NMEDIT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_NMEDIT" = x; then + NMEDIT=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + NMEDIT=$ac_ct_NMEDIT + fi +else + NMEDIT="$ac_cv_prog_NMEDIT" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. +set dummy ${ac_tool_prefix}lipo; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_LIPO+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$LIPO"; then + ac_cv_prog_LIPO="$LIPO" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_LIPO="${ac_tool_prefix}lipo" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +LIPO=$ac_cv_prog_LIPO +if test -n "$LIPO"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 +$as_echo "$LIPO" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_LIPO"; then + ac_ct_LIPO=$LIPO + # Extract the first word of "lipo", so it can be a program name with args. +set dummy lipo; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_LIPO+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_LIPO"; then + ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_LIPO="lipo" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO +if test -n "$ac_ct_LIPO"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 +$as_echo "$ac_ct_LIPO" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_LIPO" = x; then + LIPO=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + LIPO=$ac_ct_LIPO + fi +else + LIPO="$ac_cv_prog_LIPO" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. +set dummy ${ac_tool_prefix}otool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OTOOL"; then + ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_OTOOL="${ac_tool_prefix}otool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OTOOL=$ac_cv_prog_OTOOL +if test -n "$OTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 +$as_echo "$OTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OTOOL"; then + ac_ct_OTOOL=$OTOOL + # Extract the first word of "otool", so it can be a program name with args. +set dummy otool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OTOOL"; then + ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_OTOOL="otool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL +if test -n "$ac_ct_OTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 +$as_echo "$ac_ct_OTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OTOOL" = x; then + OTOOL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OTOOL=$ac_ct_OTOOL + fi +else + OTOOL="$ac_cv_prog_OTOOL" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. +set dummy ${ac_tool_prefix}otool64; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OTOOL64+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OTOOL64"; then + ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OTOOL64=$ac_cv_prog_OTOOL64 +if test -n "$OTOOL64"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 +$as_echo "$OTOOL64" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OTOOL64"; then + ac_ct_OTOOL64=$OTOOL64 + # Extract the first word of "otool64", so it can be a program name with args. +set dummy otool64; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OTOOL64"; then + ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_OTOOL64="otool64" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 +if test -n "$ac_ct_OTOOL64"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 +$as_echo "$ac_ct_OTOOL64" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OTOOL64" = x; then + OTOOL64=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OTOOL64=$ac_ct_OTOOL64 + fi +else + OTOOL64="$ac_cv_prog_OTOOL64" +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 +$as_echo_n "checking for -single_module linker flag... " >&6; } +if ${lt_cv_apple_cc_single_mod+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_apple_cc_single_mod=no + if test -z "${LT_MULTI_MODULE}"; then + # By default we will add the -single_module flag. You can override + # by either setting the environment variable LT_MULTI_MODULE + # non-empty at configure time, or by adding -multi_module to the + # link flags. + rm -rf libconftest.dylib* + echo "int foo(void){return 1;}" > conftest.c + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ +-dynamiclib -Wl,-single_module conftest.c" >&5 + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err + _lt_result=$? + # If there is a non-empty error log, and "single_module" + # appears in it, assume the flag caused a linker warning + if test -s conftest.err && $GREP single_module conftest.err; then + cat conftest.err >&5 + # Otherwise, if the output was created with a 0 exit code from + # the compiler, it worked. + elif test -f libconftest.dylib && test $_lt_result -eq 0; then + lt_cv_apple_cc_single_mod=yes + else + cat conftest.err >&5 + fi + rm -rf libconftest.dylib* + rm -f conftest.* + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 +$as_echo "$lt_cv_apple_cc_single_mod" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } +if ${lt_cv_ld_exported_symbols_list+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_exported_symbols_list=no + save_LDFLAGS=$LDFLAGS + echo "_main" > conftest.sym + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + lt_cv_ld_exported_symbols_list=yes +else + lt_cv_ld_exported_symbols_list=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$save_LDFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 +$as_echo_n "checking for -force_load linker flag... " >&6; } +if ${lt_cv_ld_force_load+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_force_load=no + cat > conftest.c << _LT_EOF +int forced_loaded() { return 2;} +_LT_EOF + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 + echo "$AR cru libconftest.a conftest.o" >&5 + $AR cru libconftest.a conftest.o 2>&5 + echo "$RANLIB libconftest.a" >&5 + $RANLIB libconftest.a 2>&5 + cat > conftest.c << _LT_EOF +int main() { return 0;} +_LT_EOF + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err + _lt_result=$? + if test -s conftest.err && $GREP force_load conftest.err; then + cat conftest.err >&5 + elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then + lt_cv_ld_force_load=yes + else + cat conftest.err >&5 + fi + rm -f conftest.err libconftest.a conftest conftest.c + rm -rf conftest.dSYM + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 +$as_echo "$lt_cv_ld_force_load" >&6; } + case $host_os in + rhapsody* | darwin1.[012]) + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; + darwin1.*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + darwin*) # darwin 5.x on + # if running on 10.5 or later, the deployment target defaults + # to the OS version, if on x86, and 10.4, the deployment + # target defaults to 10.4. Don't you love it? + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in + 10.0,*86*-darwin8*|10.0,*-darwin[91]*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + 10.[012]*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + 10.*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + esac + ;; + esac + if test "$lt_cv_apple_cc_single_mod" = "yes"; then + _lt_dar_single_mod='$single_module' + fi + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' + else + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then + _lt_dsymutil='~$DSYMUTIL $lib || :' + else + _lt_dsymutil= + fi + ;; + esac + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +$as_echo_n "checking how to run the C preprocessor... " >&6; } +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if ${ac_cv_prog_CPP+:} false; then : + $as_echo_n "(cached) " >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + # <limits.h> exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include <limits.h> +#else +# include <assert.h> +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <ac_nonexistent.h> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +$as_echo "$CPP" >&6; } +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + # <limits.h> exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include <limits.h> +#else +# include <assert.h> +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <ac_nonexistent.h> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details" "$LINENO" 5; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } +if ${ac_cv_header_stdc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdlib.h> +#include <stdarg.h> +#include <string.h> +#include <float.h> + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdc=yes +else + ac_cv_header_stdc=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <string.h> + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdlib.h> + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <ctype.h> +#include <stdlib.h> +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + +else + ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +$as_echo "#define STDC_HEADERS 1" >>confdefs.h + +fi + +# On IRIX 5.3, sys/types and inttypes.h are conflicting. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +for ac_header in dlfcn.h +do : + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default +" +if test "x$ac_cv_header_dlfcn_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_DLFCN_H 1 +_ACEOF + +fi + +done + + + + + +# Set options + + + + enable_dlopen=no + + + enable_win32_dll=no + + + # Check whether --enable-shared was given. +if test "${enable_shared+set}" = set; then : + enableval=$enable_shared; p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_shared=yes +fi + + + + + + + + + + # Check whether --enable-static was given. +if test "${enable_static+set}" = set; then : + enableval=$enable_static; p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_static=yes +fi + + + + + + + + + + +# Check whether --with-pic was given. +if test "${with_pic+set}" = set; then : + withval=$with_pic; lt_p=${PACKAGE-default} + case $withval in + yes|no) pic_mode=$withval ;; + *) + pic_mode=default + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for lt_pkg in $withval; do + IFS="$lt_save_ifs" + if test "X$lt_pkg" = "X$lt_p"; then + pic_mode=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + pic_mode=default +fi + + +test -z "$pic_mode" && pic_mode=default + + + + + + + + # Check whether --enable-fast-install was given. +if test "${enable_fast_install+set}" = set; then : + enableval=$enable_fast_install; p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_fast_install=yes +fi + + + + + + + + + + + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS="$ltmain" + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +test -z "$LN_S" && LN_S="ln -s" + + + + + + + + + + + + + + +if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 +$as_echo_n "checking for objdir... " >&6; } +if ${lt_cv_objdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 +$as_echo "$lt_cv_objdir" >&6; } +objdir=$lt_cv_objdir + + + + + +cat >>confdefs.h <<_ACEOF +#define LT_OBJDIR "$lt_cv_objdir/" +_ACEOF + + + + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Global variables: +ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except MSVC, +# which needs '.lib'). +libext=a + +with_gnu_ld="$lt_cv_prog_gnu_ld" + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS +test -z "$LD" && LD=ld +test -z "$ac_objext" && ac_objext=o + +for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` + + +# Only perform the check for file, if the check method requires it +test -z "$MAGIC_CMD" && MAGIC_CMD=file +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } +if ${lt_cv_path_MAGIC_CMD+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/${ac_tool_prefix}file; then + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<_LT_EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +_LT_EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 +$as_echo "$MAGIC_CMD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + + +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 +$as_echo_n "checking for file... " >&6; } +if ${lt_cv_path_MAGIC_CMD+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/file; then + lt_cv_path_MAGIC_CMD="$ac_dir/file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<_LT_EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +_LT_EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 +$as_echo "$MAGIC_CMD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + else + MAGIC_CMD=: + fi +fi + + fi + ;; +esac + +# Use C for the default configuration in the libtool script + +lt_save_CC="$CC" +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +objext=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}' + + + + + + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + +# Save the default compiler, since it gets overwritten when the other +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. +compiler_DEFAULT=$CC + +# save warnings/boilerplate of simple test code +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$RM conftest* + +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$RM -r conftest* + + +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... +if test -n "$compiler"; then + +lt_prog_compiler_no_builtin_flag= + +if test "$GCC" = yes; then + case $cc_basename in + nvcc*) + lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; + *) + lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; + esac + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } +if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } + +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" +else + : +fi + +fi + + + + + + + lt_prog_compiler_wl= +lt_prog_compiler_pic= +lt_prog_compiler_static= + + + if test "$GCC" = yes; then + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_static='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + lt_prog_compiler_pic='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic='-fno-common' + ;; + + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + lt_prog_compiler_static= + ;; + + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + ;; + + interix[3-9]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared=no + enable_shared=no + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + lt_prog_compiler_pic='-fPIC -shared' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic=-Kconform_pic + fi + ;; + + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + + case $cc_basename in + nvcc*) # Cuda Compiler Driver 2.2 + lt_prog_compiler_wl='-Xlinker ' + if test -n "$lt_prog_compiler_pic"; then + lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" + fi + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + else + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static='-non_shared' + ;; + + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + # old Intel for x86_64 which still supported -KPIC. + ecc*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-static' + ;; + # icc used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + icc* | ifort*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + # Lahey Fortran 8.1. + lf95*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='--shared' + lt_prog_compiler_static='--static' + ;; + nagfor*) + # NAG Fortran compiler + lt_prog_compiler_wl='-Wl,-Wl,,' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fpic' + lt_prog_compiler_static='-Bstatic' + ;; + ccc*) + lt_prog_compiler_wl='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + xl* | bgxl* | bgf* | mpixl*) + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-qpic' + lt_prog_compiler_static='-qstaticlink' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='' + ;; + *Sun\ F* | *Sun*Fortran*) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='-Qoption ld ' + ;; + *Sun\ C*) + # Sun C 5.9 + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='-Wl,' + ;; + *Intel*\ [CF]*Compiler*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + *Portland\ Group*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fpic' + lt_prog_compiler_static='-Bstatic' + ;; + esac + ;; + esac + ;; + + newsos6) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + lt_prog_compiler_pic='-fPIC -shared' + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + + rdos*) + lt_prog_compiler_static='-non_shared' + ;; + + solaris*) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + case $cc_basename in + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) + lt_prog_compiler_wl='-Qoption ld ';; + *) + lt_prog_compiler_wl='-Wl,';; + esac + ;; + + sunos4*) + lt_prog_compiler_wl='-Qoption ld ' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic='-Kconform_pic' + lt_prog_compiler_static='-Bstatic' + fi + ;; + + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + unicos*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_can_build_shared=no + ;; + + uts4*) + lt_prog_compiler_pic='-pic' + lt_prog_compiler_static='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared=no + ;; + esac + fi + +case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic= + ;; + *) + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" + ;; +esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } +if ${lt_cv_prog_compiler_pic+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_pic=$lt_prog_compiler_pic +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 +$as_echo "$lt_cv_prog_compiler_pic" >&6; } +lt_prog_compiler_pic=$lt_cv_prog_compiler_pic + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } +if ${lt_cv_prog_compiler_pic_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_pic_works=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_pic_works=yes + fi + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } + +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then + case $lt_prog_compiler_pic in + "" | " "*) ;; + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; + esac +else + lt_prog_compiler_pic= + lt_prog_compiler_can_build_shared=no +fi + +fi + + + + + + + + + + + +# +# Check to make sure the static flag actually works. +# +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } +if ${lt_cv_prog_compiler_static_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_static_works=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_static_works=yes + fi + else + lt_cv_prog_compiler_static_works=yes + fi + fi + $RM -r conftest* + LDFLAGS="$save_LDFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 +$as_echo "$lt_cv_prog_compiler_static_works" >&6; } + +if test x"$lt_cv_prog_compiler_static_works" = xyes; then + : +else + lt_prog_compiler_static= +fi + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if ${lt_cv_prog_compiler_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . 2>&5 + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; } + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if ${lt_cv_prog_compiler_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . 2>&5 + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; } + + + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 +$as_echo_n "checking if we can lock with hard links... " >&6; } + hard_links=yes + $RM conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 +$as_echo "$hard_links" >&6; } + if test "$hard_links" = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + + runpath_var= + allow_undefined_flag= + always_export_symbols=no + archive_cmds= + archive_expsym_cmds= + compiler_needs_object=no + enable_shared_with_static_runtimes=no + export_dynamic_flag_spec= + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + hardcode_automatic=no + hardcode_direct=no + hardcode_direct_absolute=no + hardcode_libdir_flag_spec= + hardcode_libdir_separator= + hardcode_minus_L=no + hardcode_shlibpath_var=unsupported + inherit_rpath=no + link_all_deplibs=unknown + module_cmds= + module_expsym_cmds= + old_archive_from_new_cmds= + old_archive_from_expsyms_cmds= + thread_safe_flag_spec= + whole_archive_flag_spec= + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + # Exclude shared library initialization/finalization symbols. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs=yes + + # On some targets, GNU ld is compatible enough with the native linker + # that we're better off using the native interface for both. + lt_use_gnu_ld_interface=no + if test "$with_gnu_ld" = yes; then + case $host_os in + aix*) + # The AIX port of GNU ld has always aspired to compatibility + # with the native linker. However, as the warning in the GNU ld + # block says, versions before 2.19.5* couldn't really create working + # shared libraries, regardless of the interface used. + case `$LD -v 2>&1` in + *\ \(GNU\ Binutils\)\ 2.19.5*) ;; + *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; + *\ \(GNU\ Binutils\)\ [3-9]*) ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + fi + + if test "$lt_use_gnu_ld_interface" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + export_dynamic_flag_spec='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec= + fi + supports_anon_versioning=no + case `$LD -v 2>&1` in + *GNU\ gold*) supports_anon_versioning=yes ;; + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + + # See if GNU ld supports shared libraries. + case $host_os in + aix[3-9]*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no + cat <<_LT_EOF 1>&2 + +*** Warning: the GNU linker, at least up to release 2.19, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to install binutils +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. +*** You will then need to restart the configuration process. + +_LT_EOF + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='' + ;; + m68k) + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + ;; + esac + ;; + + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag=unsupported + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs=no + fi + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec='-L$libdir' + export_dynamic_flag_spec='${wl}--export-all-symbols' + allow_undefined_flag=unsupported + always_export_symbols=no + enable_shared_with_static_runtimes=yes + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' + exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + ld_shlibs=no + fi + ;; + + haiku*) + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + link_all_deplibs=yes + ;; + + interix[3-9]*) + hardcode_direct=no + hardcode_shlibpath_var=no + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) + tmp_diet=no + if test "$host_os" = linux-dietlibc; then + case $cc_basename in + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) + esac + fi + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ + && test "$tmp_diet" = no + then + tmp_addflag=' $pic_flag' + tmp_sharedflag='-shared' + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; + pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group f77 and f90 compilers + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + lf95*) # Lahey Fortran 8.1 + whole_archive_flag_spec= + tmp_sharedflag='--shared' ;; + xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) + tmp_sharedflag='-qmkshrobj' + tmp_addflag= ;; + nvcc*) # Cuda Compiler Driver 2.2 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + compiler_needs_object=yes + ;; + esac + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) # Sun C 5.9 + whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + compiler_needs_object=yes + tmp_sharedflag='-G' ;; + *Sun\ F*) # Sun Fortran 8.3 + tmp_sharedflag='-G' ;; + esac + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + + if test "x$supports_anon_versioning" = xyes; then + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + + case $cc_basename in + xlf* | bgf* | bgxlf* | mpixlf*) + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself + whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' + if test "x$supports_anon_versioning" = xyes; then + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' + fi + ;; + esac + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris*) + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + cat <<_LT_EOF 1>&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) + ld_shlibs=no + cat <<_LT_EOF 1>&2 + +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not +*** reliably create shared libraries on SCO systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + ;; + *) + # For security reasons, it is highly recommended that you always + # use absolute paths for naming shared libraries, and exclude the + # DT_RUNPATH tag from executables and libraries. But doing so + # requires that you compile everything twice, which is a pain. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + ;; + + sunos4*) + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + *) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + + if test "$ld_shlibs" = no; then + runpath_var= + hardcode_libdir_flag_spec= + export_dynamic_flag_spec= + whole_archive_flag_spec= + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag=unsupported + always_export_symbols=yes + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported + fi + ;; + + aix[4-9]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global + # defined symbols, whereas GNU nm marks them as "W". + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds='' + hardcode_direct=yes + hardcode_direct_absolute=yes + hardcode_libdir_separator=':' + link_all_deplibs=yes + file_list_spec='${wl}-f,' + + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && + strings "$collect2name" | $GREP resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + hardcode_direct=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + export_dynamic_flag_spec='${wl}-bexpall' + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag='-berok' + # Determine the default libpath from the value encoded in an + # empty executable. + if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath_+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_="/usr/lib:/lib" + fi + +fi + + aix_libpath=$lt_cv_aix_libpath_ +fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag="-z nodefs" + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an + # empty executable. + if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath_+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_="/usr/lib:/lib" + fi + +fi + + aix_libpath=$lt_cv_aix_libpath_ +fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag=' ${wl}-bernotok' + allow_undefined_flag=' ${wl}-berok' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec='$convenience' + fi + archive_cmds_need_lc=yes + # This is similar to how AIX traditionally builds its shared libraries. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='' + ;; + m68k) + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + ;; + esac + ;; + + bsdi[45]*) + export_dynamic_flag_spec=-rdynamic + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + case $cc_basename in + cl*) + # Native MSVC + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + always_export_symbols=yes + file_list_spec='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, )='true' + enable_shared_with_static_runtimes=yes + exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' + # Don't use ranlib + old_postinstall_cmds='chmod 644 $oldlib' + postlink_cmds='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # Assume MSVC wrapper + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_from_new_cmds='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' + enable_shared_with_static_runtimes=yes + ;; + esac + ;; + + darwin* | rhapsody*) + + + archive_cmds_need_lc=no + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + if test "$lt_cv_ld_force_load" = "yes"; then + whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' + + else + whole_archive_flag_spec='' + fi + link_all_deplibs=yes + allow_undefined_flag="$_lt_dar_allow_undefined" + case $cc_basename in + ifort*) _lt_dar_can_shared=yes ;; + *) _lt_dar_can_shared=$GCC ;; + esac + if test "$_lt_dar_can_shared" = "yes"; then + output_verbose_link_cmd=func_echo_all + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" + archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" + module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + + else + ld_shlibs=no + fi + + ;; + + dgux*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2.*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | dragonfly*) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + export_dynamic_flag_spec='${wl}-E' + ;; + + hpux10*) + if test "$GCC" = yes && test "$with_gnu_ld" = no; then + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + fi + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + hardcode_direct_absolute=yes + export_dynamic_flag_spec='${wl}-E' + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + fi + ;; + + hpux11*) + if test "$GCC" = yes && test "$with_gnu_ld" = no; then + case $host_cpu in + hppa*64*) + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case $host_cpu in + hppa*64*) + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + + # Older versions of the 11.00 compiler do not understand -b yet + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 +$as_echo_n "checking if $CC understands -b... " >&6; } +if ${lt_cv_prog_compiler__b+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler__b=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -b" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler__b=yes + fi + else + lt_cv_prog_compiler__b=yes + fi + fi + $RM -r conftest* + LDFLAGS="$save_LDFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 +$as_echo "$lt_cv_prog_compiler__b" >&6; } + +if test x"$lt_cv_prog_compiler__b" = xyes; then + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' +else + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' +fi + + ;; + esac + fi + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + + case $host_cpu in + hppa*64*|ia64*) + hardcode_direct=no + hardcode_shlibpath_var=no + ;; + *) + hardcode_direct=yes + hardcode_direct_absolute=yes + export_dynamic_flag_spec='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + # Try to use the -exported_symbol ld option, if it does not + # work, assume that -exports_file does not work either and + # implicitly export all symbols. + # This should be the same for all languages, so no per-tag cache variable. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 +$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } +if ${lt_cv_irix_exported_symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int foo (void) { return 0; } +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + lt_cv_irix_exported_symbol=yes +else + lt_cv_irix_exported_symbol=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$save_LDFLAGS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 +$as_echo "$lt_cv_irix_exported_symbol" >&6; } + if test "$lt_cv_irix_exported_symbol" = yes; then + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' + fi + else + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' + fi + archive_cmds_need_lc='no' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + inherit_rpath=yes + link_all_deplibs=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + newsos6) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_shlibpath_var=no + ;; + + *nto* | *qnx*) + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + hardcode_direct=yes + hardcode_shlibpath_var=no + hardcode_direct_absolute=yes + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac + fi + else + ld_shlibs=no + fi + ;; + + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + allow_undefined_flag=unsupported + archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + fi + archive_cmds_need_lc='no' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec='-rpath $libdir' + fi + archive_cmds_need_lc='no' + hardcode_libdir_separator=: + ;; + + solaris*) + no_undefined_flag=' -z defs' + if test "$GCC" = yes; then + wlarc='${wl}' + archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + else + case `$CC -V 2>&1` in + *"Compilers 5.0"*) + wlarc='' + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' + ;; + *) + wlarc='${wl}' + archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + ;; + esac + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_shlibpath_var=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. GCC discards it without `$wl', + # but is careful enough not to reorder. + # Supported since Solaris 2.6 (maybe 2.5.1?) + if test "$GCC" = yes; then + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + else + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' + fi + ;; + esac + link_all_deplibs=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds='$CC -r -o $output$reload_objs' + hardcode_direct=no + ;; + motorola) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv4.3*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs=yes + fi + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) + no_undefined_flag='${wl}-z,text' + archive_cmds_need_lc=no + hardcode_shlibpath_var=no + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + no_undefined_flag='${wl}-z,text' + allow_undefined_flag='${wl}-z,nodefs' + archive_cmds_need_lc=no + hardcode_shlibpath_var=no + hardcode_libdir_flag_spec='${wl}-R,$libdir' + hardcode_libdir_separator=':' + link_all_deplibs=yes + export_dynamic_flag_spec='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + uts4*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + *) + ld_shlibs=no + ;; + esac + + if test x$host_vendor = xsni; then + case $host in + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + export_dynamic_flag_spec='${wl}-Blargedynsym' + ;; + esac + fi + fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 +$as_echo "$ld_shlibs" >&6; } +test "$ld_shlibs" = no && can_build_shared=no + +with_gnu_ld=$with_gnu_ld + + + + + + + + + + + + + + + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } +if ${lt_cv_archive_cmds_need_lc+:} false; then : + $as_echo_n "(cached) " >&6 +else + $RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl + pic_flag=$lt_prog_compiler_pic + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag + allow_undefined_flag= + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + then + lt_cv_archive_cmds_need_lc=no + else + lt_cv_archive_cmds_need_lc=yes + fi + allow_undefined_flag=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 +$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } + archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc + ;; + esac + fi + ;; +esac + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 +$as_echo_n "checking dynamic linker characteristics... " >&6; } + +if test "$GCC" = yes; then + case $host_os in + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; + *) lt_awk_arg="/^libraries:/" ;; + esac + case $host_os in + mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; + *) lt_sed_strip_eq="s,=/,/,g" ;; + esac + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` + case $lt_search_path_spec in + *\;*) + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` + ;; + *) + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` + ;; + esac + # Ok, now we have the path, separated by spaces, we can step through it + # and add multilib dir if necessary. + lt_tmp_lt_search_path_spec= + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` + for lt_sys_path in $lt_search_path_spec; do + if test -d "$lt_sys_path/$lt_multi_os_dir"; then + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" + else + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' +BEGIN {RS=" "; FS="/|\n";} { + lt_foo=""; + lt_count=0; + for (lt_i = NF; lt_i > 0; lt_i--) { + if ($lt_i != "" && $lt_i != ".") { + if ($lt_i == "..") { + lt_count++; + } else { + if (lt_count == 0) { + lt_foo="/" $lt_i lt_foo; + } else { + lt_count--; + } + } + } + } + if (lt_foo != "") { lt_freq[lt_foo]++; } + if (lt_freq[lt_foo] == 1) { print lt_foo; } +}'` + # AWK program above erroneously prepends '/' to C:/dos/paths + # for these hosts. + case $host_os in + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ + $SED 's,/\([A-Za-z]:\),\1,g'` ;; + esac + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix[4-9]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib<name>.so + # instead of lib<name>.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + case $host_cpu in + powerpc) + # Since July 2007 AmigaOS4 officially supports .so libraries. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + ;; + m68k) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + esac + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[45]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32* | cegcc*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$cc_basename in + yes,*) + # gcc + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; + fi' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + ;; + esac + dynamic_linker='Win32 ld.exe' + ;; + + *,cl*) + # Native MSVC + libname_spec='$name' + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + library_names_spec='${libname}.dll.lib' + + case $build_os in + mingw*) + sys_lib_search_path_spec= + lt_save_ifs=$IFS + IFS=';' + for lt_path in $LIB + do + IFS=$lt_save_ifs + # Let DOS variable expansion print the short 8.3 style file name. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" + done + IFS=$lt_save_ifs + # Convert to MSYS style. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` + ;; + cygwin*) + # Convert to unix form, then to dos form, then back to unix form + # but this time dos style (no spaces!) so that the unix form looks + # like /cygdrive/c/PROGRA~1:/cygdr... + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + ;; + *) + sys_lib_search_path_spec="$LIB" + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # FIXME: find the short name or the path components, as spaces are + # common. (e.g. "Program Files" -> "PROGRA~1") + ;; + esac + + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + dynamic_linker='Win32 link.exe' + ;; + + *) + # Assume MSVC wrapper + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + dynamic_linker='Win32 ld.exe' + ;; + esac + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[23].*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2.*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +haiku*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + dynamic_linker="$host_os runtime_loader" + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LIBRARY_PATH + shlibpath_overrides_runpath=yes + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555, ... + postinstall_cmds='chmod 555 $lib' + # or fails outright, so override atomically: + install_override_mode=555 + ;; + +interix[3-9]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux # correct to gnu/linux during the next big refactor + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + + # Some binutils ld are patched to set DT_RUNPATH + if ${lt_cv_shlibpath_overrides_runpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_shlibpath_overrides_runpath=no + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : + lt_cv_shlibpath_overrides_runpath=yes +fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + +fi + + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath + + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # Add ABI-specific directories to the system library path. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" + + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +*nto* | *qnx*) + version_type=qnx + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='ldqnx.so' + ;; + +openbsd*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=freebsd-elf + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + if test "$with_gnu_ld" = yes; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +tpf*) + # TPF is a cross-target only. Preferred cross-host = GNU/Linux. + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +uts4*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 +$as_echo "$dynamic_linker" >&6; } +test "$dynamic_linker" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" +fi +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; } +hardcode_action= +if test -n "$hardcode_libdir_flag_spec" || + test -n "$runpath_var" || + test "X$hardcode_automatic" = "Xyes" ; then + + # We can hardcode non-existent directories. + if test "$hardcode_direct" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && + test "$hardcode_minus_L" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action=unsupported +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 +$as_echo "$hardcode_action" >&6; } + +if test "$hardcode_action" = relink || + test "$inherit_rpath" = yes; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + + + + + + + if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32* | cegcc*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if ${ac_cv_lib_dl_dlopen+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = xyes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" +if test "x$ac_cv_func_shl_load" = xyes; then : + lt_cv_dlopen="shl_load" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 +$as_echo_n "checking for shl_load in -ldld... " >&6; } +if ${ac_cv_lib_dld_shl_load+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char shl_load (); +int +main () +{ +return shl_load (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dld_shl_load=yes +else + ac_cv_lib_dld_shl_load=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 +$as_echo "$ac_cv_lib_dld_shl_load" >&6; } +if test "x$ac_cv_lib_dld_shl_load" = xyes; then : + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" +else + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" +if test "x$ac_cv_func_dlopen" = xyes; then : + lt_cv_dlopen="dlopen" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if ${ac_cv_lib_dl_dlopen+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = xyes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 +$as_echo_n "checking for dlopen in -lsvld... " >&6; } +if ${ac_cv_lib_svld_dlopen+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_svld_dlopen=yes +else + ac_cv_lib_svld_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 +$as_echo "$ac_cv_lib_svld_dlopen" >&6; } +if test "x$ac_cv_lib_svld_dlopen" = xyes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 +$as_echo_n "checking for dld_link in -ldld... " >&6; } +if ${ac_cv_lib_dld_dld_link+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dld_link (); +int +main () +{ +return dld_link (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dld_dld_link=yes +else + ac_cv_lib_dld_dld_link=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 +$as_echo "$ac_cv_lib_dld_dld_link" >&6; } +if test "x$ac_cv_lib_dld_dld_link" = xyes; then : + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 +$as_echo_n "checking whether a program can dlopen itself... " >&6; } +if ${lt_cv_dlopen_self+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +#line $LINENO "configure" +#include "confdefs.h" + +#if HAVE_DLFCN_H +#include <dlfcn.h> +#endif + +#include <stdio.h> + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif + +int fnord () { return 42; } +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } + /* dlclose (self); */ + } + else + puts (dlerror ()); + + return status; +} +_LT_EOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 +$as_echo "$lt_cv_dlopen_self" >&6; } + + if test "x$lt_cv_dlopen_self" = xyes; then + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } +if ${lt_cv_dlopen_self_static+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +#line $LINENO "configure" +#include "confdefs.h" + +#if HAVE_DLFCN_H +#include <dlfcn.h> +#endif + +#include <stdio.h> + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif + +int fnord () { return 42; } +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } + /* dlclose (self); */ + } + else + puts (dlerror ()); + + return status; +} +_LT_EOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 +$as_echo "$lt_cv_dlopen_self_static" >&6; } + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + + + + + + + + + + + + + + + + +striplib= +old_striplib= +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 +$as_echo_n "checking whether stripping libraries is possible... " >&6; } +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + old_striplib="$STRIP -S" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; + esac +fi + + + + + + + + + + + + + # Report which library types will actually be built + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 +$as_echo_n "checking if libtool supports shared libraries... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 +$as_echo "$can_build_shared" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 +$as_echo_n "checking whether to build shared libraries... " >&6; } + test "$can_build_shared" = "no" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + + aix[4-9]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + esac + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 +$as_echo "$enable_shared" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 +$as_echo_n "checking whether to build static libraries... " >&6; } + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 +$as_echo "$enable_static" >&6; } + + + + +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC="$lt_save_CC" + + + + + + + + + + + + + + + + ac_config_commands="$ac_config_commands libtool" + + + + +# Only expand once: + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 +$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } + # Check whether --enable-maintainer-mode was given. +if test "${enable_maintainer_mode+set}" = set; then : + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval +else + USE_MAINTAINER_MODE=no +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 +$as_echo "$USE_MAINTAINER_MODE" >&6; } + if test $USE_MAINTAINER_MODE = yes; then + MAINTAINER_MODE_TRUE= + MAINTAINER_MODE_FALSE='#' +else + MAINTAINER_MODE_TRUE='#' + MAINTAINER_MODE_FALSE= +fi + + MAINT=$MAINTAINER_MODE_TRUE + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 +$as_echo_n "checking whether NLS is requested... " >&6; } + # Check whether --enable-nls was given. +if test "${enable_nls+set}" = set; then : + enableval=$enable_nls; USE_NLS=$enableval +else + USE_NLS=yes +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + + + + +case "$am__api_version" in + 1.01234) + as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 + ;; + *) + ;; +esac + +INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` +INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` +INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` +if test -n "0.40.0"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5 +$as_echo_n "checking for intltool >= 0.40.0... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 +$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } + test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || + as_fn_error $? "Your intltool is too old. You need intltool 0.40.0 or later." "$LINENO" 5 +fi + +# Extract the first word of "intltool-update", so it can be a program name with args. +set dummy intltool-update; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $INTLTOOL_UPDATE in + [\\/]* | ?:[\\/]*) + ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE +if test -n "$INTLTOOL_UPDATE"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 +$as_echo "$INTLTOOL_UPDATE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "intltool-merge", so it can be a program name with args. +set dummy intltool-merge; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $INTLTOOL_MERGE in + [\\/]* | ?:[\\/]*) + ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE +if test -n "$INTLTOOL_MERGE"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 +$as_echo "$INTLTOOL_MERGE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "intltool-extract", so it can be a program name with args. +set dummy intltool-extract; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $INTLTOOL_EXTRACT in + [\\/]* | ?:[\\/]*) + ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT +if test -n "$INTLTOOL_EXTRACT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 +$as_echo "$INTLTOOL_EXTRACT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then + as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 +fi + +if test -z "$AM_DEFAULT_VERBOSITY"; then + AM_DEFAULT_VERBOSITY=1 +fi + + +INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' +INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' +INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' + + + + +INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' +intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' +intltool__v_merge_options_0='-q' + + + + + INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' +INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@' + INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' +INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' +if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then + INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@' +else + INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir' +fi + INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +# Check the gettext tools to make sure they are GNU +# Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XGETTEXT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $XGETTEXT in + [\\/]* | ?:[\\/]*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +XGETTEXT=$ac_cv_path_XGETTEXT +if test -n "$XGETTEXT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +$as_echo "$XGETTEXT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "msgmerge", so it can be a program name with args. +set dummy msgmerge; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGMERGE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MSGMERGE in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +MSGMERGE=$ac_cv_path_MSGMERGE +if test -n "$MSGMERGE"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 +$as_echo "$MSGMERGE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +MSGFMT=$ac_cv_path_MSGFMT +if test -n "$MSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +$as_echo "$MSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GMSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT +if test -n "$GMSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +$as_echo "$GMSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then + as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 +fi +xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" +mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" +mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" +if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then + as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 +fi + +# Extract the first word of "perl", so it can be a program name with args. +set dummy perl; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_INTLTOOL_PERL+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $INTLTOOL_PERL in + [\\/]* | ?:[\\/]*) + ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL +if test -n "$INTLTOOL_PERL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 +$as_echo "$INTLTOOL_PERL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +if test -z "$INTLTOOL_PERL"; then + as_fn_error $? "perl not found" "$LINENO" 5 +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 +$as_echo_n "checking for perl >= 5.8.1... " >&6; } +$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 +if test $? -ne 0; then + as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 +else + IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 +$as_echo "$IT_PERL_VERSION" >&6; } +fi +if test "x" != "xno-xml"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 +$as_echo_n "checking for XML::Parser... " >&6; } + if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 +$as_echo "ok" >&6; } + else + as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 + fi +fi + +# Substitute ALL_LINGUAS so we can use it in po/Makefile + + +# Set DATADIRNAME correctly if it is not set yet +# (copied from glib-gettext.m4) +if test -z "$DATADIRNAME"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +extern int _nl_msg_cat_cntr; + return _nl_msg_cat_cntr + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + DATADIRNAME=share +else + case $host in + *-*-solaris*) + ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" +if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : + DATADIRNAME=share +else + DATADIRNAME=lib +fi + + ;; + *) + DATADIRNAME=lib + ;; + esac +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi + + + + + +GETTEXT_PACKAGE=spice-gtk + + +cat >>confdefs.h <<_ACEOF +#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" +_ACEOF + + + for ac_header in locale.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" +if test "x$ac_cv_header_locale_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LOCALE_H 1 +_ACEOF + +fi + +done + + if test $ac_cv_header_locale_h = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 +$as_echo_n "checking for LC_MESSAGES... " >&6; } +if ${am_cv_val_LC_MESSAGES+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <locale.h> +int +main () +{ +return LC_MESSAGES + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_val_LC_MESSAGES=yes +else + am_cv_val_LC_MESSAGES=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 +$as_echo "$am_cv_val_LC_MESSAGES" >&6; } + if test $am_cv_val_LC_MESSAGES = yes; then + +$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h + + fi + fi + USE_NLS=yes + + + gt_cv_have_gettext=no + + CATOBJEXT=NONE + XGETTEXT=: + INTLLIBS= + + ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" +if test "x$ac_cv_header_libintl_h" = xyes; then : + gt_cv_func_dgettext_libintl="no" + libintl_extra_libs="" + + # + # First check in libc + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 +$as_echo_n "checking for ngettext in libc... " >&6; } +if ${gt_cv_func_ngettext_libc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> + +int +main () +{ +return !ngettext ("","", 1) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_ngettext_libc=yes +else + gt_cv_func_ngettext_libc=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 +$as_echo "$gt_cv_func_ngettext_libc" >&6; } + + if test "$gt_cv_func_ngettext_libc" = "yes" ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 +$as_echo_n "checking for dgettext in libc... " >&6; } +if ${gt_cv_func_dgettext_libc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> + +int +main () +{ +return !dgettext ("","") + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_dgettext_libc=yes +else + gt_cv_func_dgettext_libc=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 +$as_echo "$gt_cv_func_dgettext_libc" >&6; } + fi + + if test "$gt_cv_func_ngettext_libc" = "yes" ; then + for ac_func in bind_textdomain_codeset +do : + ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" +if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_BIND_TEXTDOMAIN_CODESET 1 +_ACEOF + +fi +done + + fi + + # + # If we don't have everything we want, check in libintl + # + if test "$gt_cv_func_dgettext_libc" != "yes" \ + || test "$gt_cv_func_ngettext_libc" != "yes" \ + || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 +$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } +if ${ac_cv_lib_intl_bindtextdomain+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lintl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char bindtextdomain (); +int +main () +{ +return bindtextdomain (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_intl_bindtextdomain=yes +else + ac_cv_lib_intl_bindtextdomain=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 +$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } +if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 +$as_echo_n "checking for ngettext in -lintl... " >&6; } +if ${ac_cv_lib_intl_ngettext+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lintl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char ngettext (); +int +main () +{ +return ngettext (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_intl_ngettext=yes +else + ac_cv_lib_intl_ngettext=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 +$as_echo "$ac_cv_lib_intl_ngettext" >&6; } +if test "x$ac_cv_lib_intl_ngettext" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 +$as_echo_n "checking for dgettext in -lintl... " >&6; } +if ${ac_cv_lib_intl_dgettext+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lintl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dgettext (); +int +main () +{ +return dgettext (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_intl_dgettext=yes +else + ac_cv_lib_intl_dgettext=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 +$as_echo "$ac_cv_lib_intl_dgettext" >&6; } +if test "x$ac_cv_lib_intl_dgettext" = xyes; then : + gt_cv_func_dgettext_libintl=yes +fi + +fi + +fi + + + if test "$gt_cv_func_dgettext_libintl" != "yes" ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 +$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 +$as_echo "" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 +$as_echo_n "checking for ngettext in -lintl... " >&6; } +if ${ac_cv_lib_intl_ngettext+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lintl -liconv $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char ngettext (); +int +main () +{ +return ngettext (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_intl_ngettext=yes +else + ac_cv_lib_intl_ngettext=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 +$as_echo "$ac_cv_lib_intl_ngettext" >&6; } +if test "x$ac_cv_lib_intl_ngettext" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 +$as_echo_n "checking for dcgettext in -lintl... " >&6; } +if ${ac_cv_lib_intl_dcgettext+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lintl -liconv $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dcgettext (); +int +main () +{ +return dcgettext (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_intl_dcgettext=yes +else + ac_cv_lib_intl_dcgettext=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 +$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } +if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : + gt_cv_func_dgettext_libintl=yes + libintl_extra_libs=-liconv +else + : +fi + +else + : +fi + + fi + + # + # If we found libintl, then check in it for bind_textdomain_codeset(); + # we'll prefer libc if neither have bind_textdomain_codeset(), + # and both have dgettext and ngettext + # + if test "$gt_cv_func_dgettext_libintl" = "yes" ; then + glib_save_LIBS="$LIBS" + LIBS="$LIBS -lintl $libintl_extra_libs" + unset ac_cv_func_bind_textdomain_codeset + for ac_func in bind_textdomain_codeset +do : + ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" +if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_BIND_TEXTDOMAIN_CODESET 1 +_ACEOF + +fi +done + + LIBS="$glib_save_LIBS" + + if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then + gt_cv_func_dgettext_libc=no + else + if test "$gt_cv_func_dgettext_libc" = "yes" \ + && test "$gt_cv_func_ngettext_libc" = "yes"; then + gt_cv_func_dgettext_libintl=no + fi + fi + fi + fi + + if test "$gt_cv_func_dgettext_libc" = "yes" \ + || test "$gt_cv_func_dgettext_libintl" = "yes"; then + gt_cv_have_gettext=yes + fi + + if test "$gt_cv_func_dgettext_libintl" = "yes"; then + INTLLIBS="-lintl $libintl_extra_libs" + fi + + if test "$gt_cv_have_gettext" = "yes"; then + +$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h + + # Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGFMT" in + /*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then + ac_cv_path_MSGFMT="$ac_dir/$ac_word" + break + fi + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" + ;; +esac +fi +MSGFMT="$ac_cv_path_MSGFMT" +if test "$MSGFMT" != "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +$as_echo "$MSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + if test "$MSGFMT" != "no"; then + glib_save_LIBS="$LIBS" + LIBS="$LIBS $INTLLIBS" + for ac_func in dcgettext +do : + ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" +if test "x$ac_cv_func_dcgettext" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_DCGETTEXT 1 +_ACEOF + +fi +done + + MSGFMT_OPTS= + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 +$as_echo_n "checking if msgfmt accepts -c... " >&6; } + cat >conftest.foo <<_ACEOF + +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: test 1.0\n" +"PO-Revision-Date: 2007-02-15 12:01+0100\n" +"Last-Translator: test <foo@bar.xx>\n" +"Language-Team: C <LL@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" + +_ACEOF +if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 + ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +echo "$as_me: failed input was:" >&5 +sed 's/^/| /' conftest.foo >&5 +fi + + # Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GMSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT +if test -n "$GMSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +$as_echo "$GMSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + # Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XGETTEXT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$XGETTEXT" in + /*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then + ac_cv_path_XGETTEXT="$ac_dir/$ac_word" + break + fi + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" + ;; +esac +fi +XGETTEXT="$ac_cv_path_XGETTEXT" +if test "$XGETTEXT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +$as_echo "$XGETTEXT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +extern int _nl_msg_cat_cntr; + return _nl_msg_cat_cntr + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + CATOBJEXT=.gmo + DATADIRNAME=share +else + case $host in + *-*-solaris*) + ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" +if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : + CATOBJEXT=.gmo + DATADIRNAME=share +else + CATOBJEXT=.mo + DATADIRNAME=lib +fi + + ;; + *-*-openbsd*) + CATOBJEXT=.mo + DATADIRNAME=share + ;; + *) + CATOBJEXT=.mo + DATADIRNAME=lib + ;; + esac +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$glib_save_LIBS" + INSTOBJEXT=.mo + else + gt_cv_have_gettext=no + fi + fi + +fi + + + + if test "$gt_cv_have_gettext" = "yes" ; then + +$as_echo "#define ENABLE_NLS 1" >>confdefs.h + + fi + + if test "$XGETTEXT" != ":"; then + if $XGETTEXT --omit-header /dev/null 2> /dev/null; then + : ; + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 +$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } + XGETTEXT=":" + fi + fi + + # We need to process the po/ directory. + POSUB=po + + ac_config_commands="$ac_config_commands default-1" + + + for lang in $ALL_LINGUAS; do + GMOFILES="$GMOFILES $lang.gmo" + POFILES="$POFILES $lang.po" + done + + + + + + + + + + + + + + if test "$gt_cv_have_gettext" = "yes"; then + if test "x$ALL_LINGUAS" = "x"; then + LINGUAS= + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 +$as_echo_n "checking for catalogs to be installed... " >&6; } + NEW_LINGUAS= + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + NEW_LINGUAS="$NEW_LINGUAS $presentlang" + fi + done + LINGUAS=$NEW_LINGUAS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 +$as_echo "$LINGUAS" >&6; } + fi + + if test -n "$LINGUAS"; then + for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done + fi + fi + + MKINSTALLDIRS= + if test -n "$ac_aux_dir"; then + MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" + fi + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + + + test -d po || mkdir po + if test "x$srcdir" != "x."; then + if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then + posrcprefix="$srcdir/" + else + posrcprefix="../$srcdir/" + fi + else + posrcprefix="../" + fi + rm -f po/POTFILES + sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ + < $srcdir/po/POTFILES.in > po/POTFILES + + + +SPICE_GTK_LOCALEDIR=${datadir}/locale + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=0.9.0 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + + + # Extract the first word of "gtkdoc-check", so it can be a program name with args. +set dummy gtkdoc-check; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GTKDOC_CHECK+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GTKDOC_CHECK in + [\\/]* | ?:[\\/]*) + ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK +if test -n "$GTKDOC_CHECK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5 +$as_echo "$GTKDOC_CHECK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + for ac_prog in gtkdoc-rebase +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GTKDOC_REBASE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GTKDOC_REBASE in + [\\/]* | ?:[\\/]*) + ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE +if test -n "$GTKDOC_REBASE"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5 +$as_echo "$GTKDOC_REBASE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$GTKDOC_REBASE" && break +done +test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true" + + # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args. +set dummy gtkdoc-mkpdf; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GTKDOC_MKPDF+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GTKDOC_MKPDF in + [\\/]* | ?:[\\/]*) + ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF +if test -n "$GTKDOC_MKPDF"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5 +$as_echo "$GTKDOC_MKPDF" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + +# Check whether --with-html-dir was given. +if test "${with_html_dir+set}" = set; then : + withval=$with_html_dir; +else + with_html_dir='${datadir}/gtk-doc/html' +fi + + HTML_DIR="$with_html_dir" + + + # Check whether --enable-gtk-doc was given. +if test "${enable_gtk_doc+set}" = set; then : + enableval=$enable_gtk_doc; +else + enable_gtk_doc=no +fi + + + if test x$enable_gtk_doc = xyes; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.14\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.14") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + : +else + as_fn_error $? "You need to have gtk-doc >= 1.14 installed to build $PACKAGE_NAME" "$LINENO" 5 +fi + if test "x$PACKAGE_NAME" != "xglib"; then + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5 +$as_echo_n "checking for GTKDOC_DEPS... " >&6; } + +if test -n "$GTKDOC_DEPS_CFLAGS"; then + pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$GTKDOC_DEPS_LIBS"; then + pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1` + else + GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$GTKDOC_DEPS_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met: + +$GTKDOC_DEPS_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS +and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS +and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS + GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + fi + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5 +$as_echo_n "checking whether to build gtk-doc documentation... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5 +$as_echo "$enable_gtk_doc" >&6; } + + # Check whether --enable-gtk-doc-html was given. +if test "${enable_gtk_doc_html+set}" = set; then : + enableval=$enable_gtk_doc_html; +else + enable_gtk_doc_html=yes +fi + + # Check whether --enable-gtk-doc-pdf was given. +if test "${enable_gtk_doc_pdf+set}" = set; then : + enableval=$enable_gtk_doc_pdf; +else + enable_gtk_doc_pdf=no +fi + + + if test -z "$GTKDOC_MKPDF"; then + enable_gtk_doc_pdf=no + fi + + + if test x$enable_gtk_doc = xyes; then + ENABLE_GTK_DOC_TRUE= + ENABLE_GTK_DOC_FALSE='#' +else + ENABLE_GTK_DOC_TRUE='#' + ENABLE_GTK_DOC_FALSE= +fi + + if test x$enable_gtk_doc_html = xyes; then + GTK_DOC_BUILD_HTML_TRUE= + GTK_DOC_BUILD_HTML_FALSE='#' +else + GTK_DOC_BUILD_HTML_TRUE='#' + GTK_DOC_BUILD_HTML_FALSE= +fi + + if test x$enable_gtk_doc_pdf = xyes; then + GTK_DOC_BUILD_PDF_TRUE= + GTK_DOC_BUILD_PDF_FALSE='#' +else + GTK_DOC_BUILD_PDF_TRUE='#' + GTK_DOC_BUILD_PDF_FALSE= +fi + + if test -n "$LIBTOOL"; then + GTK_DOC_USE_LIBTOOL_TRUE= + GTK_DOC_USE_LIBTOOL_FALSE='#' +else + GTK_DOC_USE_LIBTOOL_TRUE='#' + GTK_DOC_USE_LIBTOOL_FALSE= +fi + + if test -n "$GTKDOC_REBASE"; then + GTK_DOC_USE_REBASE_TRUE= + GTK_DOC_USE_REBASE_FALSE='#' +else + GTK_DOC_USE_REBASE_TRUE='#' + GTK_DOC_USE_REBASE_FALSE= +fi + + + +# no opengl support yet + if false; then + SUPPORT_GL_TRUE= + SUPPORT_GL_FALSE='#' +else + SUPPORT_GL_TRUE='#' + SUPPORT_GL_FALSE= +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if ${ac_cv_c_compiler_gnu+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if ${ac_cv_prog_cc_g+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdarg.h> +#include <stdio.h> +struct stat; +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +depcc="$CC" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if ${am_cv_CC_dependencies_compiler_type+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + am__universal=false + case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with '-c' and '-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 +$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } +if ${ac_cv_prog_cc_c99+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c99=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdarg.h> +#include <stdbool.h> +#include <stdlib.h> +#include <wchar.h> +#include <stdio.h> + +// Check varargs macros. These examples are taken from C99 6.10.3.5. +#define debug(...) fprintf (stderr, __VA_ARGS__) +#define showlist(...) puts (#__VA_ARGS__) +#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) +static void +test_varargs_macros (void) +{ + int x = 1234; + int y = 5678; + debug ("Flag"); + debug ("X = %d\n", x); + showlist (The first, second, and third items.); + report (x>y, "x is %d but y is %d", x, y); +} + +// Check long long types. +#define BIG64 18446744073709551615ull +#define BIG32 4294967295ul +#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) +#if !BIG_OK + your preprocessor is broken; +#endif +#if BIG_OK +#else + your preprocessor is broken; +#endif +static long long int bignum = -9223372036854775807LL; +static unsigned long long int ubignum = BIG64; + +struct incomplete_array +{ + int datasize; + double data[]; +}; + +struct named_init { + int number; + const wchar_t *name; + double average; +}; + +typedef const char *ccp; + +static inline int +test_restrict (ccp restrict text) +{ + // See if C++-style comments work. + // Iterate through items via the restricted pointer. + // Also check for declarations in for loops. + for (unsigned int i = 0; *(text+i) != '\0'; ++i) + continue; + return 0; +} + +// Check varargs and va_copy. +static void +test_varargs (const char *format, ...) +{ + va_list args; + va_start (args, format); + va_list args_copy; + va_copy (args_copy, args); + + const char *str; + int number; + float fnumber; + + while (*format) + { + switch (*format++) + { + case 's': // string + str = va_arg (args_copy, const char *); + break; + case 'd': // int + number = va_arg (args_copy, int); + break; + case 'f': // float + fnumber = va_arg (args_copy, double); + break; + default: + break; + } + } + va_end (args_copy); + va_end (args); +} + +int +main () +{ + + // Check bool. + _Bool success = false; + + // Check restrict. + if (test_restrict ("String literal") == 0) + success = true; + char *restrict newvar = "Another string"; + + // Check varargs. + test_varargs ("s, d' f .", "string", 65, 34.234); + test_varargs_macros (); + + // Check flexible array members. + struct incomplete_array *ia = + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); + ia->datasize = 10; + for (int i = 0; i < ia->datasize; ++i) + ia->data[i] = i * 1.234; + + // Check named initializers. + struct named_init ni = { + .number = 34, + .name = L"Test wide string", + .average = 543.34343, + }; + + ni.number = 58; + + int dynamic_array[ni.number]; + dynamic_array[ni.number - 1] = 543; + + // work around unused variable warnings + return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' + || dynamic_array[ni.number - 1] != 543); + + ; + return 0; +} +_ACEOF +for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c99=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c99" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c99" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c99" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 +$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c99" != xno; then : + +fi + + +if test "x$ac_cv_prog_cc_c99" = xno; then + as_fn_error $? "C99 compiler is required." "$LINENO" 5 +fi + + +# Extract the first word of "stow", so it can be a program name with args. +set dummy stow; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STOW+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STOW"; then + ac_cv_prog_STOW="$STOW" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_STOW="yes" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_prog_STOW" && ac_cv_prog_STOW="no" +fi +fi +STOW=$ac_cv_prog_STOW +if test -n "$STOW"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STOW" >&5 +$as_echo "$STOW" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +if test "x$STOW" = "xyes" && test -d /usr/local/stow; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME} ***" >&5 +$as_echo "$as_me: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME} ***" >&6;} + ac_default_prefix="/usr/local/stow/${PACKAGE_NAME}" + +fi + + + + +if test "x$CC" != xcc; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 +$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 +$as_echo_n "checking whether cc understands -c and -o together... " >&6; } +fi +set dummy $CC; ac_cc=`$as_echo "$2" | + sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +# Make sure it works both with $CC and with simple cc. +# We do the test twice because some compilers refuse to overwrite an +# existing .o file with -o, though they will create one. +ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' +rm -f conftest2.* +if { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && + test -f conftest2.$ac_objext && { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; +then + eval ac_cv_prog_cc_${ac_cc}_c_o=yes + if test "x$CC" != xcc; then + # Test first that cc exists at all. + if { ac_try='cc -c conftest.$ac_ext >&5' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' + rm -f conftest2.* + if { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && + test -f conftest2.$ac_objext && { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; + then + # cc works too. + : + else + # cc exists but doesn't like -o. + eval ac_cv_prog_cc_${ac_cc}_c_o=no + fi + fi + fi +else + eval ac_cv_prog_cc_${ac_cc}_c_o=no +fi +rm -f core conftest* + +fi +if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h + +fi + +# FIXME: we rely on the cache variable name because +# there is no other way. +set dummy $CC +am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o +if test "$am_t" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 +$as_echo_n "checking whether byte ordering is bigendian... " >&6; } +if ${ac_cv_c_bigendian+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_c_bigendian=unknown + # See if we're dealing with a universal compiler. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __APPLE_CC__ + not a universal capable compiler + #endif + typedef int dummy; + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + # Check for potential -arch flags. It is not universal unless + # there are at least two -arch flags with different values. + ac_arch= + ac_prev= + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do + if test -n "$ac_prev"; then + case $ac_word in + i?86 | x86_64 | ppc | ppc64) + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then + ac_arch=$ac_word + else + ac_cv_c_bigendian=universal + break + fi + ;; + esac + ac_prev= + elif test "x$ac_word" = "x-arch"; then + ac_prev=arch + fi + done +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if test $ac_cv_c_bigendian = unknown; then + # See if sys/param.h defines the BYTE_ORDER macro. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <sys/types.h> + #include <sys/param.h> + +int +main () +{ +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ + && LITTLE_ENDIAN) + bogus endian macros + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + # It does; now see whether it defined to BIG_ENDIAN or not. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <sys/types.h> + #include <sys/param.h> + +int +main () +{ +#if BYTE_ORDER != BIG_ENDIAN + not big endian + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_bigendian=yes +else + ac_cv_c_bigendian=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <limits.h> + +int +main () +{ +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) + bogus endian macros + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + # It does; now see whether it defined to _BIG_ENDIAN or not. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <limits.h> + +int +main () +{ +#ifndef _BIG_ENDIAN + not big endian + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_bigendian=yes +else + ac_cv_c_bigendian=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # Compile a test program. + if test "$cross_compiling" = yes; then : + # Try to guess by grepping values from an object file. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +short int ascii_mm[] = + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; + short int ascii_ii[] = + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; + int use_ascii (int i) { + return ascii_mm[i] + ascii_ii[i]; + } + short int ebcdic_ii[] = + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; + short int ebcdic_mm[] = + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; + int use_ebcdic (int i) { + return ebcdic_mm[i] + ebcdic_ii[i]; + } + extern int foo; + +int +main () +{ +return use_ascii (foo) == use_ebcdic (foo); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then + ac_cv_c_bigendian=yes + fi + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then + if test "$ac_cv_c_bigendian" = unknown; then + ac_cv_c_bigendian=no + else + # finding both strings is unlikely to happen, but who knows? + ac_cv_c_bigendian=unknown + fi + fi +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ + + /* Are we little or big endian? From Harbison&Steele. */ + union + { + long int l; + char c[sizeof (long int)]; + } u; + u.l = 1; + return u.c[sizeof (long int) - 1] == 1; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_c_bigendian=no +else + ac_cv_c_bigendian=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 +$as_echo "$ac_cv_c_bigendian" >&6; } + case $ac_cv_c_bigendian in #( + yes) + $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h +;; #( + no) + ;; #( + universal) + +$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h + + ;; #( + *) + as_fn_error $? "unknown endianness + presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; + esac + +for ac_prog in python2 python +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PYTHON+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PYTHON in + [\\/]* | ?:[\\/]*) + ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PYTHON=$ac_cv_path_PYTHON +if test -n "$PYTHON"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 +$as_echo "$PYTHON" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$PYTHON" && break +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -Wl,--version-script works" >&5 +$as_echo_n "checking if -Wl,--version-script works... " >&6; } +if ${rra_cv_ld_version_script+:} false; then : + $as_echo_n "(cached) " >&6 +else + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map" + cat > conftest.map <<EOF +VERSION_1 { + global: + sym; + + local: + *; +}; +EOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + rra_cv_ld_version_script=yes +else + rra_cv_ld_version_script=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + rm -f conftest.map + LDFLAGS="$save_LDFLAGS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_ld_version_script" >&5 +$as_echo "$rra_cv_ld_version_script" >&6; } + if test x"$rra_cv_ld_version_script" = xyes; then + HAVE_LD_VERSION_SCRIPT_TRUE= + HAVE_LD_VERSION_SCRIPT_FALSE='#' +else + HAVE_LD_VERSION_SCRIPT_TRUE='#' + HAVE_LD_VERSION_SCRIPT_FALSE= +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5 +$as_echo_n "checking for native Win32... " >&6; } +case "$host_os" in + *mingw*|*cygwin*) + os_win32=yes + gio_os=gio-windows-2.0 + red_target=Windows + ;; + *) + os_win32=no + gio_os=gio-unix-2.0 + red_target=Unix + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5 +$as_echo "$os_win32" >&6; } + if test "$os_win32" = "yes"; then + OS_WIN32_TRUE= + OS_WIN32_FALSE='#' +else + OS_WIN32_TRUE='#' + OS_WIN32_FALSE= +fi + + +for ac_header in sys/ipc.h sys/shm.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + +for ac_header in sys/socket.h netinet/in.h arpa/inet.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + +for ac_header in termios.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default" +if test "x$ac_cv_header_termios_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_TERMIOS_H 1 +_ACEOF + +fi + +done + + +LIBM= +case $host in +*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) + # These system don't have libm, or don't need it + ;; +*-ncr-sysv4.3*) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5 +$as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; } +if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lmw $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char _mwvalidcheckl (); +int +main () +{ +return _mwvalidcheckl (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_mw__mwvalidcheckl=yes +else + ac_cv_lib_mw__mwvalidcheckl=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5 +$as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; } +if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then : + LIBM="-lmw" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 +$as_echo_n "checking for cos in -lm... " >&6; } +if ${ac_cv_lib_m_cos+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char cos (); +int +main () +{ +return cos (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_m_cos=yes +else + ac_cv_lib_m_cos=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 +$as_echo "$ac_cv_lib_m_cos" >&6; } +if test "x$ac_cv_lib_m_cos" = xyes; then : + LIBM="$LIBM -lm" +fi + + ;; +*) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 +$as_echo_n "checking for cos in -lm... " >&6; } +if ${ac_cv_lib_m_cos+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char cos (); +int +main () +{ +return cos (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_m_cos=yes +else + ac_cv_lib_m_cos=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 +$as_echo "$ac_cv_lib_m_cos" >&6; } +if test "x$ac_cv_lib_m_cos" = xyes; then : + LIBM="-lm" +fi + + ;; +esac + + + + + + +subdirs="$subdirs" +#subdirs="$subdirs spice-common" + +COMMON_CFLAGS='-I ${top_srcdir}/../../common/spice-common/ -I ${top_srcdir}/../../common/spice-common/spice-protocol/' +#COMMON_CFLAGS='-I ${top_srcdir}/spice-common/ -I ${top_srcdir}/spice-common/spice-protocol/' + + + +srcdir="$(dirname $0)" +if test ! -e "$srcdir/gtk/vncdisplaykeymap_osx2xtkbd.c"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Text::CSV Perl module" >&5 +$as_echo_n "checking for Text::CSV Perl module... " >&6; } + perl -MText::CSV -e "" >/dev/null 2>&1 + if test $? -ne 0 ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + as_fn_error $? "Text::CSV Perl module is required to compile this package" "$LINENO" 5 + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 +$as_echo "found" >&6; } +fi + +SPICE_GLIB_REQUIRES="" +SPICE_GTK_REQUIRES="" + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIXMAN" >&5 +$as_echo_n "checking for PIXMAN... " >&6; } + +if test -n "$PIXMAN_CFLAGS"; then + pkg_cv_PIXMAN_CFLAGS="$PIXMAN_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1 >= 0.17.7\""; } >&5 + ($PKG_CONFIG --exists --print-errors "pixman-1 >= 0.17.7") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_PIXMAN_CFLAGS=`$PKG_CONFIG --cflags "pixman-1 >= 0.17.7" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$PIXMAN_LIBS"; then + pkg_cv_PIXMAN_LIBS="$PIXMAN_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1 >= 0.17.7\""; } >&5 + ($PKG_CONFIG --exists --print-errors "pixman-1 >= 0.17.7") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_PIXMAN_LIBS=`$PKG_CONFIG --libs "pixman-1 >= 0.17.7" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + PIXMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pixman-1 >= 0.17.7" 2>&1` + else + PIXMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pixman-1 >= 0.17.7" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$PIXMAN_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (pixman-1 >= 0.17.7) were not met: + +$PIXMAN_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables PIXMAN_CFLAGS +and PIXMAN_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables PIXMAN_CFLAGS +and PIXMAN_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + PIXMAN_CFLAGS=$pkg_cv_PIXMAN_CFLAGS + PIXMAN_LIBS=$pkg_cv_PIXMAN_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + +SPICE_GLIB_REQUIRES="${SPICE_GLIB_REQUIRED} pixman-1 >= 0.17.7" + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CELT051" >&5 +$as_echo_n "checking for CELT051... " >&6; } + +if test -n "$CELT051_CFLAGS"; then + pkg_cv_CELT051_CFLAGS="$CELT051_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt051 >= 0.5.1.1\""; } >&5 + ($PKG_CONFIG --exists --print-errors "celt051 >= 0.5.1.1") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_CELT051_CFLAGS=`$PKG_CONFIG --cflags "celt051 >= 0.5.1.1" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$CELT051_LIBS"; then + pkg_cv_CELT051_LIBS="$CELT051_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt051 >= 0.5.1.1\""; } >&5 + ($PKG_CONFIG --exists --print-errors "celt051 >= 0.5.1.1") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_CELT051_LIBS=`$PKG_CONFIG --libs "celt051 >= 0.5.1.1" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + CELT051_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "celt051 >= 0.5.1.1" 2>&1` + else + CELT051_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "celt051 >= 0.5.1.1" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$CELT051_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (celt051 >= 0.5.1.1) were not met: + +$CELT051_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables CELT051_CFLAGS +and CELT051_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables CELT051_CFLAGS +and CELT051_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + CELT051_CFLAGS=$pkg_cv_CELT051_CFLAGS + CELT051_LIBS=$pkg_cv_CELT051_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + + +#SPICE_GLIB_REQUIRES="${SPICE_GLIB_REQUIRED} celt051 >= 0.5.1.1" + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL" >&5 +$as_echo_n "checking for SSL... " >&6; } + +if test -n "$SSL_CFLAGS"; then + pkg_cv_SSL_CFLAGS="$SSL_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5 + ($PKG_CONFIG --exists --print-errors "openssl") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SSL_CFLAGS=`$PKG_CONFIG --cflags "openssl" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$SSL_LIBS"; then + pkg_cv_SSL_LIBS="$SSL_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5 + ($PKG_CONFIG --exists --print-errors "openssl") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SSL_LIBS=`$PKG_CONFIG --libs "openssl" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + SSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl" 2>&1` + else + SSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$SSL_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (openssl) were not met: + +$SSL_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables SSL_CFLAGS +and SSL_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables SSL_CFLAGS +and SSL_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + SSL_CFLAGS=$pkg_cv_SSL_CFLAGS + SSL_LIBS=$pkg_cv_SSL_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + +SPICE_GLIB_REQUIRES="${SPICE_GLIB_REQUIRED} openssl" + + +# Check whether --with-sasl was given. +if test "${with_sasl+set}" = set; then : + withval=$with_sasl; +else + with_sasl="auto" +fi + + +SASL_CFLAGS= +SASL_LIBS= +enable_sasl=no +if test "x$with_sasl" != "xno"; then + if test "x$with_sasl" != "xyes" -a "x$with_sasl" != "xauto"; then + SASL_CFLAGS="-I$with_sasl" + SASL_LIBS="-L$with_sasl" + fi + fail=0 + old_cflags="$CFLAGS" + old_libs="$LIBS" + CFLAGS="$CFLAGS $SASL_CFLAGS" + LIBS="$LIBS $SASL_LIBS" + ac_fn_c_check_header_mongrel "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default" +if test "x$ac_cv_header_sasl_sasl_h" = xyes; then : + +else + + if test "x$with_sasl" != "xauto" ; then + with_sasl=no + else + fail=1 + fi +fi + + + if test "x$with_sasl" != "xno" ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sasl_client_init in -lsasl2" >&5 +$as_echo_n "checking for sasl_client_init in -lsasl2... " >&6; } +if ${ac_cv_lib_sasl2_sasl_client_init+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsasl2 $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char sasl_client_init (); +int +main () +{ +return sasl_client_init (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_sasl2_sasl_client_init=yes +else + ac_cv_lib_sasl2_sasl_client_init=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl2_sasl_client_init" >&5 +$as_echo "$ac_cv_lib_sasl2_sasl_client_init" >&6; } +if test "x$ac_cv_lib_sasl2_sasl_client_init" = xyes; then : + with_sasl2=yes +else + with_sasl2=no +fi + + fi + if test "x$with_sasl2" = "xno" -a "x$with_sasl" != "xno" ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sasl_client_init in -lsasl" >&5 +$as_echo_n "checking for sasl_client_init in -lsasl... " >&6; } +if ${ac_cv_lib_sasl_sasl_client_init+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsasl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char sasl_client_init (); +int +main () +{ +return sasl_client_init (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_sasl_sasl_client_init=yes +else + ac_cv_lib_sasl_sasl_client_init=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl_sasl_client_init" >&5 +$as_echo "$ac_cv_lib_sasl_sasl_client_init" >&6; } +if test "x$ac_cv_lib_sasl_sasl_client_init" = xyes; then : + with_sasl=yes +else + with_sasl=no +fi + + fi + if test "x$with_sasl2" = "xyes"; then + SASL_LIBS="$SASL_LIBS -lsasl2" + elif test "x$with_sasl" = "xyes"; then + SASL_LIBS="$SASL_LIBS -lsasl" + else + as_fn_error $? "You must install the Cyrus SASL development package in order to compile spice-gtk" "$LINENO" 5 + fi + CFLAGS="$old_cflags" + LIBS="$old_libs" + if test "x$with_sasl2" = "xyes" -o "x$with_sasl" = "xyes" ; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_SASL 1 +_ACEOF + + enable_sasl=yes + fi +fi + if test "x$with_sasl2" = "xyes" -o "x$with_sasl" = "xyes"; then + HAVE_SASL_TRUE= + HAVE_SASL_FALSE='#' +else + HAVE_SASL_TRUE='#' + HAVE_SASL_FALSE= +fi + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which gtk+ version to compile against" >&5 +$as_echo_n "checking which gtk+ version to compile against... " >&6; } + +# Check whether --with-gtk was given. +if test "${with_gtk+set}" = set; then : + withval=$with_gtk; case "$with_gtk" in + 2.0|3.0) ;; + *) as_fn_error $? "invalid gtk version specified" "$LINENO" 5 ;; + esac +else + with_gtk=3.0 +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gtk" >&5 +$as_echo "$with_gtk" >&6; } + +case "$with_gtk" in + 2.0) GTK_API_VERSION=2.0 + GTK_REQUIRED=2.18.0 + SPICE_GTK_API_VERSION=2.0 + ;; + 3.0) GTK_API_VERSION=3.0 + GTK_REQUIRED=2.91.3 + SPICE_GTK_API_VERSION=3.0 + ;; +esac + + + + + if test "$with_gtk" = "2.0"; then + HAVE_GTK_2_TRUE= + HAVE_GTK_2_FALSE='#' +else + HAVE_GTK_2_TRUE='#' + HAVE_GTK_2_FALSE= +fi + + if test "$with_gtk" = "3.0"; then + HAVE_GTK_3_TRUE= + HAVE_GTK_3_FALSE='#' +else + HAVE_GTK_3_TRUE='#' + HAVE_GTK_3_FALSE= +fi + + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 +$as_echo_n "checking for GTK... " >&6; } + +if test -n "$GTK_CFLAGS"; then + pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$GTK_LIBS"; then + pkg_cv_GTK_LIBS="$GTK_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>&1` + else + GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$GTK_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (gtk+-$GTK_API_VERSION >= $GTK_REQUIRED) were not met: + +$GTK_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables GTK_CFLAGS +and GTK_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables GTK_CFLAGS +and GTK_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + GTK_CFLAGS=$pkg_cv_GTK_CFLAGS + GTK_LIBS=$pkg_cv_GTK_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + +SPICE_GTK_REQUIRES="${SPICE_GLIB_REQUIRED} gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" + +if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-\$with_gtk\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gtk+-x11-$with_gtk") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + have_x11=yes +else + have_x11=no +fi +if test "x$have_x11" = "xyes"; then : + +$as_echo "#define HAVE_X11 1" >>confdefs.h + +fi + if test "x$have_x11" = "xyes"; then + WITH_DISPLAY_X11_TRUE= + WITH_DISPLAY_X11_FALSE='#' +else + WITH_DISPLAY_X11_TRUE='#' + WITH_DISPLAY_X11_FALSE= +fi + + +if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-quartz-\$with_gtk\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gtk+-quartz-$with_gtk") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + have_quartz=yes +else + have_quartz=no +fi +if test "x$have_quartz" = "xyes"; then : + +$as_echo "#define HAVE_QUARTZ 1" >>confdefs.h + +fi + if test "x$have_quartz" = "xyes"; then + WITH_DISPLAY_QUARTZ_TRUE= + WITH_DISPLAY_QUARTZ_FALSE='#' +else + WITH_DISPLAY_QUARTZ_TRUE='#' + WITH_DISPLAY_QUARTZ_FALSE= +fi + + +if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-win32-\$with_gtk\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gtk+-win32-$with_gtk") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + have_win32=yes +else + have_win32=no +fi +if test "x$have_win32" = "xyes"; then : + +$as_echo "#define HAVE_WINDOWS 1" >>confdefs.h + +fi + if test "x$have_win32" = "xyes"; then + WITH_DISPLAY_WINDOWS_TRUE= + WITH_DISPLAY_WINDOWS_FALSE='#' +else + WITH_DISPLAY_WINDOWS_TRUE='#' + WITH_DISPLAY_WINDOWS_FALSE= +fi + + +if test "x$have_x11" = "xyes" +then + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRANDR" >&5 +$as_echo_n "checking for XRANDR... " >&6; } + +if test -n "$XRANDR_CFLAGS"; then + pkg_cv_XRANDR_CFLAGS="$XRANDR_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xrandr\""; } >&5 + ($PKG_CONFIG --exists --print-errors "x11 xrandr") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_XRANDR_CFLAGS=`$PKG_CONFIG --cflags "x11 xrandr" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$XRANDR_LIBS"; then + pkg_cv_XRANDR_LIBS="$XRANDR_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xrandr\""; } >&5 + ($PKG_CONFIG --exists --print-errors "x11 xrandr") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_XRANDR_LIBS=`$PKG_CONFIG --libs "x11 xrandr" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + XRANDR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xrandr" 2>&1` + else + XRANDR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xrandr" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$XRANDR_PKG_ERRORS" >&5 + + have_xrandr=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_xrandr=no +else + XRANDR_CFLAGS=$pkg_cv_XRANDR_CFLAGS + XRANDR_LIBS=$pkg_cv_XRANDR_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_xrandr=yes +fi + + + if test "x$have_xrandr" = "xyes"; then : + +$as_echo "#define HAVE_RANDR 1" >>confdefs.h + +fi + + for ac_header in X11/XKBlib.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "$ac_includes_default" +if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_X11_XKBLIB_H 1 +_ACEOF + +fi + +done + +fi + + +# Check whether --with-x11 was given. +if test "${with_x11+set}" = set; then : + withval=$with_x11; +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking What rendering backend to use.." >&5 +$as_echo_n "checking What rendering backend to use..... " >&6; } +if test "x$with_x11" = "xyes" +then + if test "$GTK_API_VERSION" = "3.0" + then + as_fn_error $? "X11 SHM backend is not compatible with GTK3" "$LINENO" 5 + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: x11" >&5 +$as_echo "x11" >&6; } + +$as_echo "#define WITH_X11 1" >>confdefs.h + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: cairo" >&5 +$as_echo "cairo" >&6; } +fi + if test "x$with_x11" = "xyes"; then + WITH_X11_TRUE= + WITH_X11_FALSE='#' +else + WITH_X11_TRUE='#' + WITH_X11_FALSE= +fi + + + +# Check whether --with-pnp-ids-path was given. +if test "${with_pnp_ids_path+set}" = set; then : + withval=$with_pnp_ids_path; +else + with_pnp_ids_path="\${pnpdatadir}/pnp.ids" +fi + + + if test "x$with_pnp_ids_path" = "x\${pnpdatadir}/pnp.ids"; then + USE_INTERNAL_PNP_IDS_TRUE= + USE_INTERNAL_PNP_IDS_FALSE='#' +else + USE_INTERNAL_PNP_IDS_TRUE='#' + USE_INTERNAL_PNP_IDS_FALSE= +fi + +PNP_IDS=$with_pnp_ids_path + +if test "x$with_pnp_ids_path" = "x\${pnpdatadir}/pnp.ids"; then + EXTERNAL_PNP_IDS="no (internal)" +else + EXTERNAL_PNP_IDS="$with_pnp_ids_path" +fi + +for ac_func in clearenv +do : + ac_fn_c_check_func "$LINENO" "clearenv" "ac_cv_func_clearenv" +if test "x$ac_cv_func_clearenv" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_CLEARENV 1 +_ACEOF + +fi +done + + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB2" >&5 +$as_echo_n "checking for GLIB2... " >&6; } + +if test -n "$GLIB2_CFLAGS"; then + pkg_cv_GLIB2_CFLAGS="$GLIB2_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.22\""; } >&5 + ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.22") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GLIB2_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.22" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$GLIB2_LIBS"; then + pkg_cv_GLIB2_LIBS="$GLIB2_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.22\""; } >&5 + ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.22") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GLIB2_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.22" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + GLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.22" 2>&1` + else + GLIB2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.22" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$GLIB2_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (glib-2.0 >= 2.22) were not met: + +$GLIB2_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables GLIB2_CFLAGS +and GLIB2_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables GLIB2_CFLAGS +and GLIB2_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + GLIB2_CFLAGS=$pkg_cv_GLIB2_CFLAGS + GLIB2_LIBS=$pkg_cv_GLIB2_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT2" >&5 +$as_echo_n "checking for GOBJECT2... " >&6; } + +if test -n "$GOBJECT2_CFLAGS"; then + pkg_cv_GOBJECT2_CFLAGS="$GOBJECT2_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GOBJECT2_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$GOBJECT2_LIBS"; then + pkg_cv_GOBJECT2_LIBS="$GOBJECT2_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GOBJECT2_LIBS=`$PKG_CONFIG --libs "gobject-2.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + GOBJECT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0" 2>&1` + else + GOBJECT2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$GOBJECT2_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (gobject-2.0) were not met: + +$GOBJECT2_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables GOBJECT2_CFLAGS +and GOBJECT2_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables GOBJECT2_CFLAGS +and GOBJECT2_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + GOBJECT2_CFLAGS=$pkg_cv_GOBJECT2_CFLAGS + GOBJECT2_LIBS=$pkg_cv_GOBJECT2_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5 +$as_echo_n "checking for GIO... " >&6; } + +if test -n "$GIO_CFLAGS"; then + pkg_cv_GIO_CFLAGS="$GIO_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.10.0 \$gio_os\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.10.0 $gio_os") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.10.0 $gio_os" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$GIO_LIBS"; then + pkg_cv_GIO_LIBS="$GIO_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.10.0 \$gio_os\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.10.0 $gio_os") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.10.0 $gio_os" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.10.0 $gio_os" 2>&1` + else + GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.10.0 $gio_os" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$GIO_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (gio-2.0 >= 2.10.0 $gio_os) were not met: + +$GIO_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables GIO_CFLAGS +and GIO_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables GIO_CFLAGS +and GIO_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + GIO_CFLAGS=$pkg_cv_GIO_CFLAGS + GIO_LIBS=$pkg_cv_GIO_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + + +if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + have_gproxy=yes +fi + if test "x$have_gproxy" = "xyes"; then + WITH_GPROXY_TRUE= + WITH_GPROXY_FALSE='#' +else + WITH_GPROXY_TRUE='#' + WITH_GPROXY_FALSE= +fi + + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5 +$as_echo_n "checking for CAIRO... " >&6; } + +if test -n "$CAIRO_CFLAGS"; then + pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.2.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "cairo >= 1.2.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.2.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$CAIRO_LIBS"; then + pkg_cv_CAIRO_LIBS="$CAIRO_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.2.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "cairo >= 1.2.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.2.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo >= 1.2.0" 2>&1` + else + CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo >= 1.2.0" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$CAIRO_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (cairo >= 1.2.0) were not met: + +$CAIRO_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables CAIRO_CFLAGS +and CAIRO_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables CAIRO_CFLAGS +and CAIRO_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS + CAIRO_LIBS=$pkg_cv_CAIRO_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5 +$as_echo_n "checking for GTHREAD... " >&6; } + +if test -n "$GTHREAD_CFLAGS"; then + pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 > 2.0.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gthread-2.0 > 2.0.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0 > 2.0.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$GTHREAD_LIBS"; then + pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 > 2.0.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gthread-2.0 > 2.0.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0 > 2.0.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gthread-2.0 > 2.0.0" 2>&1` + else + GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gthread-2.0 > 2.0.0" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$GTHREAD_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (gthread-2.0 > 2.0.0) were not met: + +$GTHREAD_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables GTHREAD_CFLAGS +and GTHREAD_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables GTHREAD_CFLAGS +and GTHREAD_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS + GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + + + +# Check whether --with-audio was given. +if test "${with_audio+set}" = set; then : + withval=$with_audio; +else + with_audio="pulse" +fi + + +case "$with_audio" in + gstreamer|pulse|no*) + ;; + *) as_fn_error $? "Unsupported audio backend" "$LINENO" 5 +esac + +if test "x$with_audio" = "xpulse"; then : + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSE" >&5 +$as_echo_n "checking for PULSE... " >&6; } + +if test -n "$PULSE_CFLAGS"; then + pkg_cv_PULSE_CFLAGS="$PULSE_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse libpulse-mainloop-glib\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libpulse libpulse-mainloop-glib") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_PULSE_CFLAGS=`$PKG_CONFIG --cflags "libpulse libpulse-mainloop-glib" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$PULSE_LIBS"; then + pkg_cv_PULSE_LIBS="$PULSE_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse libpulse-mainloop-glib\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libpulse libpulse-mainloop-glib") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_PULSE_LIBS=`$PKG_CONFIG --libs "libpulse libpulse-mainloop-glib" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + PULSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpulse libpulse-mainloop-glib" 2>&1` + else + PULSE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpulse libpulse-mainloop-glib" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$PULSE_PKG_ERRORS" >&5 + + have_pulse=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_pulse=no +else + PULSE_CFLAGS=$pkg_cv_PULSE_CFLAGS + PULSE_LIBS=$pkg_cv_PULSE_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_pulse=yes +fi +else + have_pulse=no +fi + +if test "x$have_pulse" = "xyes"; then : + +$as_echo "#define WITH_PULSE 1" >>confdefs.h + +else + if test "x$with_audio" = "xpulse"; then : + as_fn_error $? "PulseAudio requested but not found" "$LINENO" 5 + +fi + +fi + if test "x$have_pulse" = "xyes"; then + WITH_PULSE_TRUE= + WITH_PULSE_FALSE='#' +else + WITH_PULSE_TRUE='#' + WITH_PULSE_FALSE= +fi + + + + +if test "x$with_audio" = "xgstreamer"; then : + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5 +$as_echo_n "checking for GST... " >&6; } + +if test -n "$GST_CFLAGS"; then + pkg_cv_GST_CFLAGS="$GST_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 gstreamer-base-0.10 gstreamer-app-0.10 gstreamer-audio-0.10\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 gstreamer-base-0.10 gstreamer-app-0.10 gstreamer-audio-0.10") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.10 gstreamer-base-0.10 gstreamer-app-0.10 gstreamer-audio-0.10" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$GST_LIBS"; then + pkg_cv_GST_LIBS="$GST_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 gstreamer-base-0.10 gstreamer-app-0.10 gstreamer-audio-0.10\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 gstreamer-base-0.10 gstreamer-app-0.10 gstreamer-audio-0.10") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-0.10 gstreamer-base-0.10 gstreamer-app-0.10 gstreamer-audio-0.10" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-0.10 gstreamer-base-0.10 gstreamer-app-0.10 gstreamer-audio-0.10" 2>&1` + else + GST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-0.10 gstreamer-base-0.10 gstreamer-app-0.10 gstreamer-audio-0.10" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$GST_PKG_ERRORS" >&5 + + have_gst=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_gst=no +else + GST_CFLAGS=$pkg_cv_GST_CFLAGS + GST_LIBS=$pkg_cv_GST_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_gst=yes +fi +else + have_gst=no +fi + +if test "x$have_gst" = "xyes"; then : + +$as_echo "#define WITH_GSTAUDIO 1" >>confdefs.h + +else + if test "x$with_audio" = "xgstreamer"; then : + as_fn_error $? "GStreamer requested but not found" "$LINENO" 5 + +fi + +fi + if test "x$have_gst" = "xyes"; then + WITH_GSTAUDIO_TRUE= + WITH_GSTAUDIO_FALSE='#' +else + WITH_GSTAUDIO_TRUE='#' + WITH_GSTAUDIO_FALSE= +fi + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_decompress in -ljpeg" >&5 +$as_echo_n "checking for jpeg_destroy_decompress in -ljpeg... " >&6; } +if ${ac_cv_lib_jpeg_jpeg_destroy_decompress+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ljpeg $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char jpeg_destroy_decompress (); +int +main () +{ +return jpeg_destroy_decompress (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_jpeg_jpeg_destroy_decompress=yes +else + ac_cv_lib_jpeg_jpeg_destroy_decompress=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_decompress" >&5 +$as_echo "$ac_cv_lib_jpeg_jpeg_destroy_decompress" >&6; } +if test "x$ac_cv_lib_jpeg_jpeg_destroy_decompress" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5 +$as_echo_n "checking for jpeglib.h... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdio.h> +#undef PACKAGE +#undef VERSION +#undef HAVE_STDLIB_H +#include <jpeglib.h> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + JPEG_LIBS='-ljpeg' + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jpeg_ok" >&5 +$as_echo "$jpeg_ok" >&6; } +else + as_fn_error $? "jpeglib.h not found" "$LINENO" 5 +fi +rm -f conftest.err conftest.i conftest.$ac_ext +else + as_fn_error $? "libjpeg not found" "$LINENO" 5 +fi + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5 +$as_echo_n "checking for deflate in -lz... " >&6; } +if ${ac_cv_lib_z_deflate+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lz $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char deflate (); +int +main () +{ +return deflate (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_z_deflate=yes +else + ac_cv_lib_z_deflate=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5 +$as_echo "$ac_cv_lib_z_deflate" >&6; } +if test "x$ac_cv_lib_z_deflate" = xyes; then : + Z_LIBS='-lz' +else + as_fn_error $? "zlib not found" "$LINENO" 5 +fi + + + +# Check whether --enable-smartcard was given. +if test "${enable_smartcard+set}" = set; then : + enableval=$enable_smartcard; +else + enable_smartcard="auto" +fi + + +have_smartcard=no +if test "x$enable_smartcard" != "xno"; then + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SMARTCARD" >&5 +$as_echo_n "checking for SMARTCARD... " >&6; } + +if test -n "$SMARTCARD_CFLAGS"; then + pkg_cv_SMARTCARD_CFLAGS="$SMARTCARD_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcacard >= 0.1.2\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libcacard >= 0.1.2") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SMARTCARD_CFLAGS=`$PKG_CONFIG --cflags "libcacard >= 0.1.2" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$SMARTCARD_LIBS"; then + pkg_cv_SMARTCARD_LIBS="$SMARTCARD_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcacard >= 0.1.2\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libcacard >= 0.1.2") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SMARTCARD_LIBS=`$PKG_CONFIG --libs "libcacard >= 0.1.2" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + SMARTCARD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcacard >= 0.1.2" 2>&1` + else + SMARTCARD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcacard >= 0.1.2" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$SMARTCARD_PKG_ERRORS" >&5 + + have_smartcard=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_smartcard=no +else + SMARTCARD_CFLAGS=$pkg_cv_SMARTCARD_CFLAGS + SMARTCARD_LIBS=$pkg_cv_SMARTCARD_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_smartcard=yes +fi + if test "x$enable_smartcard" != "xauto" && test "x$have_smartcard" = "xno"; then + as_fn_error $? "\"Smartcard support requested but libcacard could not be found\"" "$LINENO" 5 + fi + if test "x$have_smartcard" = "xyes"; then + +$as_echo "#define USE_SMARTCARD 1" >>confdefs.h + + fi +fi + if test "x$have_smartcard" = "xyes"; then + WITH_SMARTCARD_TRUE= + WITH_SMARTCARD_FALSE='#' +else + WITH_SMARTCARD_TRUE='#' + WITH_SMARTCARD_FALSE= +fi + + +# Check whether --enable-usbredir was given. +if test "${enable_usbredir+set}" = set; then : + enableval=$enable_usbredir; +else + enable_usbredir="auto" +fi + + +if test "x$enable_usbredir" = "xno"; then + have_usbredir="no" +else + if ${PKG_CONFIG} libusbredirparser-0.5; then + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for USBREDIR" >&5 +$as_echo_n "checking for USBREDIR... " >&6; } + +if test -n "$USBREDIR_CFLAGS"; then + pkg_cv_USBREDIR_CFLAGS="$USBREDIR_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb-1.0 >= 1.0.9 libusbredirhost libusbredirparser-0.5\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.9 libusbredirhost libusbredirparser-0.5") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_USBREDIR_CFLAGS=`$PKG_CONFIG --cflags "libusb-1.0 >= 1.0.9 libusbredirhost libusbredirparser-0.5" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$USBREDIR_LIBS"; then + pkg_cv_USBREDIR_LIBS="$USBREDIR_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb-1.0 >= 1.0.9 libusbredirhost libusbredirparser-0.5\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.9 libusbredirhost libusbredirparser-0.5") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_USBREDIR_LIBS=`$PKG_CONFIG --libs "libusb-1.0 >= 1.0.9 libusbredirhost libusbredirparser-0.5" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + USBREDIR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libusb-1.0 >= 1.0.9 libusbredirhost libusbredirparser-0.5" 2>&1` + else + USBREDIR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libusb-1.0 >= 1.0.9 libusbredirhost libusbredirparser-0.5" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$USBREDIR_PKG_ERRORS" >&5 + + have_usbredir=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_usbredir=no +else + USBREDIR_CFLAGS=$pkg_cv_USBREDIR_CFLAGS + USBREDIR_LIBS=$pkg_cv_USBREDIR_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_usbredir=yes +fi + else + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for USBREDIR" >&5 +$as_echo_n "checking for USBREDIR... " >&6; } + +if test -n "$USBREDIR_CFLAGS"; then + pkg_cv_USBREDIR_CFLAGS="$USBREDIR_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb-1.0 >= 1.0.9 libusbredirhost >= 0.4.2 libusbredirparser >= 0.4\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.9 libusbredirhost >= 0.4.2 libusbredirparser >= 0.4") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_USBREDIR_CFLAGS=`$PKG_CONFIG --cflags "libusb-1.0 >= 1.0.9 libusbredirhost >= 0.4.2 libusbredirparser >= 0.4" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$USBREDIR_LIBS"; then + pkg_cv_USBREDIR_LIBS="$USBREDIR_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb-1.0 >= 1.0.9 libusbredirhost >= 0.4.2 libusbredirparser >= 0.4\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.9 libusbredirhost >= 0.4.2 libusbredirparser >= 0.4") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_USBREDIR_LIBS=`$PKG_CONFIG --libs "libusb-1.0 >= 1.0.9 libusbredirhost >= 0.4.2 libusbredirparser >= 0.4" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + USBREDIR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libusb-1.0 >= 1.0.9 libusbredirhost >= 0.4.2 libusbredirparser >= 0.4" 2>&1` + else + USBREDIR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libusb-1.0 >= 1.0.9 libusbredirhost >= 0.4.2 libusbredirparser >= 0.4" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$USBREDIR_PKG_ERRORS" >&5 + + have_usbredir=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_usbredir=no +else + USBREDIR_CFLAGS=$pkg_cv_USBREDIR_CFLAGS + USBREDIR_LIBS=$pkg_cv_USBREDIR_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_usbredir=yes +fi + fi + if test "x$have_usbredir" = "xno" && test "x$enable_usbredir" = "xyes"; then + as_fn_error $? "usbredir support explicitly requested, but some required packages are not available" "$LINENO" 5 + fi + if test "x$have_usbredir" = "xyes"; then + +$as_echo "#define USE_USBREDIR 1" >>confdefs.h + + fi + + # Require gudev for non-windows + if test "x$os_win32" = "xno"; then + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUDEV" >&5 +$as_echo_n "checking for GUDEV... " >&6; } + +if test -n "$GUDEV_CFLAGS"; then + pkg_cv_GUDEV_CFLAGS="$GUDEV_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gudev-1.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GUDEV_CFLAGS=`$PKG_CONFIG --cflags "gudev-1.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$GUDEV_LIBS"; then + pkg_cv_GUDEV_LIBS="$GUDEV_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gudev-1.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GUDEV_LIBS=`$PKG_CONFIG --libs "gudev-1.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + GUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gudev-1.0" 2>&1` + else + GUDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gudev-1.0" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$GUDEV_PKG_ERRORS" >&5 + + have_gudev=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_gudev=no +else + GUDEV_CFLAGS=$pkg_cv_GUDEV_CFLAGS + GUDEV_LIBS=$pkg_cv_GUDEV_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_gudev=yes +fi + + if test "x$have_usbredir" = "xyes" && test "x$have_gudev" = "xno"; then + as_fn_error $? "usbredir requested but required gudev is not available" "$LINENO" 5 + fi + +$as_echo "#define USE_GUDEV 1" >>confdefs.h + + fi +fi + if test "x$have_usbredir" = "xyes"; then + WITH_USBREDIR_TRUE= + WITH_USBREDIR_FALSE='#' +else + WITH_USBREDIR_TRUE='#' + WITH_USBREDIR_FALSE= +fi + + +# Check whether --enable-polkit was given. +if test "${enable_polkit+set}" = set; then : + enableval=$enable_polkit; +else + enable_polkit="auto" +fi + + +if test "x$have_usbredir" = "xyes" && test "x$enable_polkit" != "xno"; then + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POLKIT" >&5 +$as_echo_n "checking for POLKIT... " >&6; } + +if test -n "$POLKIT_CFLAGS"; then + pkg_cv_POLKIT_CFLAGS="$POLKIT_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"polkit-gobject-1 >= 0.96\""; } >&5 + ($PKG_CONFIG --exists --print-errors "polkit-gobject-1 >= 0.96") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_POLKIT_CFLAGS=`$PKG_CONFIG --cflags "polkit-gobject-1 >= 0.96" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$POLKIT_LIBS"; then + pkg_cv_POLKIT_LIBS="$POLKIT_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"polkit-gobject-1 >= 0.96\""; } >&5 + ($PKG_CONFIG --exists --print-errors "polkit-gobject-1 >= 0.96") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_POLKIT_LIBS=`$PKG_CONFIG --libs "polkit-gobject-1 >= 0.96" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + POLKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "polkit-gobject-1 >= 0.96" 2>&1` + else + POLKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "polkit-gobject-1 >= 0.96" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$POLKIT_PKG_ERRORS" >&5 + + have_polkit=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_polkit=no +else + POLKIT_CFLAGS=$pkg_cv_POLKIT_CFLAGS + POLKIT_LIBS=$pkg_cv_POLKIT_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_polkit=yes +fi + ac_fn_c_check_header_mongrel "$LINENO" "acl/libacl.h" "ac_cv_header_acl_libacl_h" "$ac_includes_default" +if test "x$ac_cv_header_acl_libacl_h" = xyes; then : + +else + have_polkit=no +fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acl_get_file in -lacl" >&5 +$as_echo_n "checking for acl_get_file in -lacl... " >&6; } +if ${ac_cv_lib_acl_acl_get_file+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lacl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char acl_get_file (); +int +main () +{ +return acl_get_file (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_acl_acl_get_file=yes +else + ac_cv_lib_acl_acl_get_file=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_acl_acl_get_file" >&5 +$as_echo "$ac_cv_lib_acl_acl_get_file" >&6; } +if test "x$ac_cv_lib_acl_acl_get_file" = xyes; then : + ACL_LIBS=-lacl +else + have_polkit=no +fi + + if test "x$enable_polkit" = "xyes" && test "x$have_polkit" = "xno"; then + as_fn_error $? "PolicyKit support explicitly requested, but some required packages are not available" "$LINENO" 5 + fi + + if test "x$have_polkit" = "xyes"; then + + +$as_echo "#define USE_POLKIT 1" >>confdefs.h + + fi + if test "x$have_polkit" = "xyes"; then + WITH_POLKIT_TRUE= + WITH_POLKIT_FALSE='#' +else + WITH_POLKIT_TRUE='#' + WITH_POLKIT_FALSE= +fi + + POLICYDIR=`${PKG_CONFIG} polkit-gobject-1 --variable=policydir` + + # Check for polkit_authority_get_sync() + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for polkit_authority_get_sync in -lpolkit-gobject-1" >&5 +$as_echo_n "checking for polkit_authority_get_sync in -lpolkit-gobject-1... " >&6; } +if ${ac_cv_lib_polkit_gobject_1_polkit_authority_get_sync+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lpolkit-gobject-1 $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char polkit_authority_get_sync (); +int +main () +{ +return polkit_authority_get_sync (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_polkit_gobject_1_polkit_authority_get_sync=yes +else + ac_cv_lib_polkit_gobject_1_polkit_authority_get_sync=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_polkit_gobject_1_polkit_authority_get_sync" >&5 +$as_echo "$ac_cv_lib_polkit_gobject_1_polkit_authority_get_sync" >&6; } +if test "x$ac_cv_lib_polkit_gobject_1_polkit_authority_get_sync" = xyes; then : + ac_have_pk_auth_get_sync="1" +else + ac_have_pk_auth_get_sync="0" +fi + + +cat >>confdefs.h <<_ACEOF +#define HAVE_POLKIT_AUTHORITY_GET_SYNC $ac_have_pk_auth_get_sync +_ACEOF + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for polkit_authorization_result_get_dismissed in -lpolkit-gobject-1" >&5 +$as_echo_n "checking for polkit_authorization_result_get_dismissed in -lpolkit-gobject-1... " >&6; } +if ${ac_cv_lib_polkit_gobject_1_polkit_authorization_result_get_dismissed+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lpolkit-gobject-1 $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char polkit_authorization_result_get_dismissed (); +int +main () +{ +return polkit_authorization_result_get_dismissed (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_polkit_gobject_1_polkit_authorization_result_get_dismissed=yes +else + ac_cv_lib_polkit_gobject_1_polkit_authorization_result_get_dismissed=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_polkit_gobject_1_polkit_authorization_result_get_dismissed" >&5 +$as_echo "$ac_cv_lib_polkit_gobject_1_polkit_authorization_result_get_dismissed" >&6; } +if test "x$ac_cv_lib_polkit_gobject_1_polkit_authorization_result_get_dismissed" = xyes; then : + ac_have_pk_authorization_result_get_dismissed="1" +else + ac_have_pk_authorization_result_get_dismissed="0" +fi + + +cat >>confdefs.h <<_ACEOF +#define HAVE_POLKIT_AUTHORIZATION_RESULT_GET_DISMISSED $ac_have_pk_authorization_result_get_dismissed +_ACEOF + +else + if false; then + WITH_POLKIT_TRUE= + WITH_POLKIT_FALSE='#' +else + WITH_POLKIT_TRUE='#' + WITH_POLKIT_FALSE= +fi + +fi + +if test "x$have_usbredir" = "xyes" && test "x$have_polkit" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building with usbredir support, but *not* building the usb acl helper" >&5 +$as_echo "$as_me: WARNING: Building with usbredir support, but *not* building the usb acl helper" >&2;} +fi + +# Check whether --enable-pie was given. +if test "${enable_pie+set}" = set; then : + enableval=$enable_pie; +else + enable_pie="auto" +fi + + +if test "x$have_polkit" = "xyes" && test "x$enable_pie" != "xno"; then + save_CFLAGS="$CFLAGS" + save_LDFLAGS="$LDFLAGS" + CFLAGS="$CFLAGS -fPIE" + LDFLAGS="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIE support" >&5 +$as_echo_n "checking for PIE support... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +void main () {} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + have_pie=yes +else + have_pie=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pie" >&5 +$as_echo "$have_pie" >&6; } + if test "x$have_pie" = "xno" && test "x$enable_pie" = "xyes"; then + as_fn_error $? "pie support explicitly requested, but your toolchain does not support it" "$LINENO" 5 + fi + if test "x$have_pie" = "xyes"; then + PIE_CFLAGS="-fPIE" + PIE_LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now" + + + fi + CFLAGS="$save_CFLAGS" + LDFLAGS="$save_LDFLAGS" +fi + + +# Check whether --with-usb-acl-helper-dir was given. +if test "${with_usb_acl_helper_dir+set}" = set; then : + withval=$with_usb_acl_helper_dir; ACL_HELPER_DIR="$with_usb_acl_helper_dir" +else + ACL_HELPER_DIR="${bindir}/" +fi + + + + +# Check whether --with-usb-ids-path was given. +if test "${with_usb_ids_path+set}" = set; then : + withval=$with_usb_ids_path; USB_IDS="$with_usb_ids_path" +else + USB_IDS="auto" +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for usb.ids" >&5 +$as_echo_n "checking for usb.ids... " >&6; } +if test "x$USB_IDS" = "xauto"; then + if test -n "$PKG_CONFIG"; then + USB_IDS=$($PKG_CONFIG --variable=usbids usbutils) + else + USB_IDS= + fi +fi +if test -n "$USB_IDS"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USB_IDS" >&5 +$as_echo "$USB_IDS" >&6; } + + +$as_echo "#define WITH_USBIDS 1" >>confdefs.h + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } +fi + + +# Check whether --with-coroutine was given. +if test "${with_coroutine+set}" = set; then : + withval=$with_coroutine; +else + with_coroutine=auto +fi + + +case $with_coroutine in + ucontext|gthread|winfiber|auto) ;; + *) as_fn_error $? "Unsupported coroutine type" "$LINENO" 5 +esac + +if test "$with_coroutine" = "auto"; then + if test "$os_win32" = "yes"; then + with_coroutine=winfiber + else + with_coroutine=ucontext + fi +fi + +if test "$with_coroutine" = "ucontext"; then + ac_fn_c_check_func "$LINENO" "makecontext" "ac_cv_func_makecontext" +if test "x$ac_cv_func_makecontext" = xyes; then : + +else + with_coroutine=gthread +fi + + ac_fn_c_check_func "$LINENO" "swapcontext" "ac_cv_func_swapcontext" +if test "x$ac_cv_func_swapcontext" = xyes; then : + +else + with_coroutine=gthread +fi + + ac_fn_c_check_func "$LINENO" "getcontext" "ac_cv_func_getcontext" +if test "x$ac_cv_func_getcontext" = xyes; then : + +else + with_coroutine=gthread +fi + +fi + +WITH_UCONTEXT=0 +WITH_GTHREAD=0 +WITH_WINFIBER=0 + +case $with_coroutine in + ucontext) WITH_UCONTEXT=1 ;; + gthread) WITH_GTHREAD=1 ;; + winfiber) WITH_WINFIBER=1 ;; + *) as_fn_error $? "Unsupported coroutine type" "$LINENO" 5 +esac + + +cat >>confdefs.h <<_ACEOF +#define WITH_UCONTEXT $WITH_UCONTEXT +_ACEOF + + if test "x$WITH_UCONTEXT" = "x1"; then + WITH_UCONTEXT_TRUE= + WITH_UCONTEXT_FALSE='#' +else + WITH_UCONTEXT_TRUE='#' + WITH_UCONTEXT_FALSE= +fi + + + +cat >>confdefs.h <<_ACEOF +#define WITH_WINFIBER $WITH_WINFIBER +_ACEOF + + if test "x$WITH_WINFIBER" = "x1"; then + WITH_WINFIBER_TRUE= + WITH_WINFIBER_FALSE='#' +else + WITH_WINFIBER_TRUE='#' + WITH_WINFIBER_FALSE= +fi + + + +cat >>confdefs.h <<_ACEOF +#define WITH_GTHREAD $WITH_GTHREAD +_ACEOF + + if test "x$WITH_GTHREAD" = "x1"; then + WITH_GTHREAD_TRUE= + WITH_GTHREAD_FALSE='#' +else + WITH_GTHREAD_TRUE='#' + WITH_GTHREAD_FALSE= +fi + + + if test "0" != "1"; then + HAVE_INTROSPECTION_TRUE= + HAVE_INTROSPECTION_FALSE='#' +else + HAVE_INTROSPECTION_TRUE='#' + HAVE_INTROSPECTION_FALSE= +fi + +if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"GOBJECT_INTROSPECTION\""; } >&5 + ($PKG_CONFIG --exists --print-errors "GOBJECT_INTROSPECTION") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + gobject-introspection-1.0 >= 0.9.4 +else + has_symbol_prefix=yes +fi + + + + # Check whether --enable-introspection was given. +if test "${enable_introspection+set}" = set; then : + enableval=$enable_introspection; +else + enable_introspection=auto +fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5 +$as_echo_n "checking for gobject-introspection... " >&6; } + + case $enable_introspection in #( + no) : + found_introspection="no (disabled, use --enable-introspection to enable)" + ;; #( + yes) : + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + : +else + as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5 +fi + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + found_introspection=yes +else + as_fn_error $? "You need to have gobject-introspection >= 0.6.7 installed to build spice-gtk" "$LINENO" 5 +fi + ;; #( + auto) : + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + found_introspection=yes +else + found_introspection=no +fi + enable_introspection=$found_introspection + ;; #( + *) : + as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5 + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5 +$as_echo "$found_introspection" >&6; } + + INTROSPECTION_SCANNER= + INTROSPECTION_COMPILER= + INTROSPECTION_GENERATE= + INTROSPECTION_GIRDIR= + INTROSPECTION_TYPELIBDIR= + if test "x$found_introspection" = "xyes"; then + INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` + INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` + INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` + INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0` + INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)" + INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0` + INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0` + INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection + fi + + + + + + + + + + if test "x$found_introspection" = "xyes"; then + HAVE_INTROSPECTION_TRUE= + HAVE_INTROSPECTION_FALSE='#' +else + HAVE_INTROSPECTION_TRUE='#' + HAVE_INTROSPECTION_FALSE= +fi + + + + if test "x$has_symbol_prefix" = "xyes"; then + G_IR_SCANNER_SYMBOL_PREFIX_TRUE= + G_IR_SCANNER_SYMBOL_PREFIX_FALSE='#' +else + G_IR_SCANNER_SYMBOL_PREFIX_TRUE='#' + G_IR_SCANNER_SYMBOL_PREFIX_FALSE= +fi + + +# Check whether --enable-controller was given. +if test "${enable_controller+set}" = set; then : + enableval=$enable_controller; +else + enable_controller="yes" +fi + + + if test "x$enable_controller" != "xno"; then + WITH_CONTROLLER_TRUE= + WITH_CONTROLLER_FALSE='#' +else + WITH_CONTROLLER_TRUE='#' + WITH_CONTROLLER_FALSE= +fi + + +# Check whether --enable-vala was given. +if test "${enable_vala+set}" = set; then : + enableval=$enable_vala; +else + enable_vala="no" +fi + + +VALA_REQUIRED=0.14 +if test x$enable_vala = xyes ; then + # check for vala + # Extract the first word of "valac", so it can be a program name with args. +set dummy valac; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_VALAC+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $VALAC in + [\\/]* | ?:[\\/]*) + ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_VALAC" && ac_cv_path_VALAC="valac" + ;; +esac +fi +VALAC=$ac_cv_path_VALAC +if test -n "$VALAC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5 +$as_echo "$VALAC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + if test "$VALAC" != valac && test -n "$VALA_REQUIRED"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $VALAC is at least version $VALA_REQUIRED" >&5 +$as_echo_n "checking whether $VALAC is at least version $VALA_REQUIRED... " >&6; } + am__vala_version=`$VALAC --version | sed 's/Vala *//'` + as_arg_v1=$VALA_REQUIRED +as_arg_v2="$am__vala_version" +awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null +case $? in #( + 1) : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } ;; #( + 0) : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } ;; #( + 2) : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + VALAC=valac ;; #( + *) : + ;; +esac +fi + if test "$VALAC" = valac; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no proper vala compiler found" >&5 +$as_echo "$as_me: WARNING: no proper vala compiler found" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you will not be able to compile vala source files" >&5 +$as_echo "$as_me: WARNING: you will not be able to compile vala source files" >&2;} + else + : + fi + # Extract the first word of "vapigen", so it can be a program name with args. +set dummy vapigen; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_VAPIGEN+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $VAPIGEN in + [\\/]* | ?:[\\/]*) + ac_cv_path_VAPIGEN="$VAPIGEN" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_VAPIGEN="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_VAPIGEN" && ac_cv_path_VAPIGEN="no" + ;; +esac +fi +VAPIGEN=$ac_cv_path_VAPIGEN +if test -n "$VAPIGEN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VAPIGEN" >&5 +$as_echo "$VAPIGEN" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + if test "x$VAPIGEN" == "xno"; then + as_fn_error $? "Cannot find the \"vapigen\" binary in your PATH" "$LINENO" 5 + fi + +fi + + if test "x$enable_vala" = "xyes"; then + WITH_VALA_TRUE= + WITH_VALA_FALSE='#' +else + WITH_VALA_TRUE='#' + WITH_VALA_FALSE= +fi + + +VAPIDIR="${datadir}/vala/vapi" + + + +# Check whether --with-python was given. +if test "${with_python+set}" = set; then : + withval=$with_python; case "${withval}" in + yes|no) ;; + *) as_fn_error $? "bad value ${withval} for python option" "$LINENO" 5 ;; + esac +else + withval=yes +fi + + +if test "$with_gtk" = "3.0" +then + WITH_PYTHON=no +else + WITH_PYTHON=$withval +fi + +if test "$WITH_PYTHON" = "yes"; then + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYGTK" >&5 +$as_echo_n "checking for PYGTK... " >&6; } + +if test -n "$PYGTK_CFLAGS"; then + pkg_cv_PYGTK_CFLAGS="$PYGTK_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= 2.0.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= 2.0.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_PYGTK_CFLAGS=`$PKG_CONFIG --cflags "pygtk-2.0 >= 2.0.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$PYGTK_LIBS"; then + pkg_cv_PYGTK_LIBS="$PYGTK_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= 2.0.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= 2.0.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_PYGTK_LIBS=`$PKG_CONFIG --libs "pygtk-2.0 >= 2.0.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + PYGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pygtk-2.0 >= 2.0.0" 2>&1` + else + PYGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pygtk-2.0 >= 2.0.0" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$PYGTK_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (pygtk-2.0 >= 2.0.0) were not met: + +$PYGTK_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables PYGTK_CFLAGS +and PYGTK_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables PYGTK_CFLAGS +and PYGTK_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + PYGTK_CFLAGS=$pkg_cv_PYGTK_CFLAGS + PYGTK_LIBS=$pkg_cv_PYGTK_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + + + + + + + + + # Find any Python interpreter. + if test -z "$PYTHON"; then + for ac_prog in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PYTHON+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PYTHON in + [\\/]* | ?:[\\/]*) + ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PYTHON=$ac_cv_path_PYTHON +if test -n "$PYTHON"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 +$as_echo "$PYTHON" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$PYTHON" && break +done +test -n "$PYTHON" || PYTHON=":" + + fi + am_display_PYTHON=python + + + if test "$PYTHON" = :; then + as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5 + else + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 +$as_echo_n "checking for $am_display_PYTHON version... " >&6; } +if ${am_cv_python_version+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"` +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 +$as_echo "$am_cv_python_version" >&6; } + PYTHON_VERSION=$am_cv_python_version + + + + PYTHON_PREFIX='${prefix}' + + PYTHON_EXEC_PREFIX='${exec_prefix}' + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 +$as_echo_n "checking for $am_display_PYTHON platform... " >&6; } +if ${am_cv_python_platform+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"` +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 +$as_echo "$am_cv_python_platform" >&6; } + PYTHON_PLATFORM=$am_cv_python_platform + + + # Just factor out some code duplication. + am_python_setup_sysconfig="\ +import sys +# Prefer sysconfig over distutils.sysconfig, for better compatibility +# with python 3.x. See automake bug#10227. +try: + import sysconfig +except ImportError: + can_use_sysconfig = 0 +else: + can_use_sysconfig = 1 +# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs: +# <https://github.com/pypa/virtualenv/issues/118> +try: + from platform import python_implementation + if python_implementation() == 'CPython' and sys.version[:3] == '2.7': + can_use_sysconfig = 0 +except ImportError: + pass" + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5 +$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } +if ${am_cv_python_pythondir+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "x$prefix" = xNONE + then + am_py_prefix=$ac_default_prefix + else + am_py_prefix=$prefix + fi + am_cv_python_pythondir=`$PYTHON -c " +$am_python_setup_sysconfig +if can_use_sysconfig: + sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'}) +else: + from distutils import sysconfig + sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix') +sys.stdout.write(sitedir)"` + case $am_cv_python_pythondir in + $am_py_prefix*) + am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` + am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"` + ;; + *) + case $am_py_prefix in + /usr|/System*) ;; + *) + am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages + ;; + esac + ;; + esac + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 +$as_echo "$am_cv_python_pythondir" >&6; } + pythondir=$am_cv_python_pythondir + + + + pkgpythondir=\${pythondir}/$PACKAGE + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5 +$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } +if ${am_cv_python_pyexecdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "x$exec_prefix" = xNONE + then + am_py_exec_prefix=$am_py_prefix + else + am_py_exec_prefix=$exec_prefix + fi + am_cv_python_pyexecdir=`$PYTHON -c " +$am_python_setup_sysconfig +if can_use_sysconfig: + sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'}) +else: + from distutils import sysconfig + sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix') +sys.stdout.write(sitedir)"` + case $am_cv_python_pyexecdir in + $am_py_exec_prefix*) + am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` + am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"` + ;; + *) + case $am_py_exec_prefix in + /usr|/System*) ;; + *) + am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages + ;; + esac + ;; + esac + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 +$as_echo "$am_cv_python_pyexecdir" >&6; } + pyexecdir=$am_cv_python_pyexecdir + + + + pkgpyexecdir=\${pyexecdir}/$PACKAGE + + + + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.0" >&5 +$as_echo_n "checking whether $PYTHON version >= 2.0... " >&6; } + HAVE_PYTHON_REQUIRED=no + prog="import sys +# split strings by '.' and convert to numeric. Append some zeros +# because we need at least 4 digits for the hex conversion. +# map returns an iterator in Python 3.0 and a list in 2.x +minver = list(map(int, '2.0'.split('.'))) + [0, 0, 0] +minverhex = 0 +# xrange is not present in Python 3.0 and range returns an iterator +for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] +sys.exit(sys.hexversion < minverhex)" + if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 + ($PYTHON -c "$prog") >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then : + HAVE_PYTHON_REQUIRED="yes" +else + HAVE_PYTHON_REQUIRED="no" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PYTHON_REQUIRED" >&5 +$as_echo "$HAVE_PYTHON_REQUIRED" >&6; } + + if test "x$HAVE_PYTHON_REQUIRED" != "xyes" + then + as_fn_error $? "\"No suitable python found\"" "$LINENO" 5 + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5 +$as_echo_n "checking for headers required to compile python extensions... " >&6; } + py_prefix=`$PYTHON -c "import sys; print sys.prefix"` + py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` + PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" + if test "$py_prefix" != "$py_exec_prefix"; then + PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" + fi + + save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <Python.h> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 +$as_echo "found" >&6; } + have_python_headers=yes +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + have_python_headers=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$save_CPPFLAGS" + + + if test "x$have_python_headers" != "xyes" + then + as_fn_error $? "\"No python development headers found\"" "$LINENO" 5 + fi +fi + + if test "$WITH_PYTHON" = "yes"; then + WITH_PYTHON_TRUE= + WITH_PYTHON_FALSE='#' +else + WITH_PYTHON_TRUE='#' + WITH_PYTHON_FALSE= +fi + + + +# Check whether --enable-dbus was given. +if test "${enable_dbus+set}" = set; then : + enableval=$enable_dbus; +else + enable_dbus="auto" +fi + + +if test "x$enable_dbus" != "xno"; then + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS_GLIB" >&5 +$as_echo_n "checking for DBUS_GLIB... " >&6; } + +if test -n "$DBUS_GLIB_CFLAGS"; then + pkg_cv_DBUS_GLIB_CFLAGS="$DBUS_GLIB_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1\""; } >&5 + ($PKG_CONFIG --exists --print-errors "dbus-glib-1") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_DBUS_GLIB_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$DBUS_GLIB_LIBS"; then + pkg_cv_DBUS_GLIB_LIBS="$DBUS_GLIB_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1\""; } >&5 + ($PKG_CONFIG --exists --print-errors "dbus-glib-1") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_DBUS_GLIB_LIBS=`$PKG_CONFIG --libs "dbus-glib-1" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-glib-1" 2>&1` + else + DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-glib-1" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$DBUS_GLIB_PKG_ERRORS" >&5 + + have_dbus=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_dbus=no +else + DBUS_GLIB_CFLAGS=$pkg_cv_DBUS_GLIB_CFLAGS + DBUS_GLIB_LIBS=$pkg_cv_DBUS_GLIB_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_dbus=yes +fi + if test "x$enable_dbus" = "xyes" && test "x$have_dbus" = "xno"; then + as_fn_error $? "D-Bus support explicitly requested, but some required packages are not available" "$LINENO" 5 + fi + + if test "x$have_dbus" = "xyes"; then + +$as_echo "#define USE_DBUS 1" >>confdefs.h + + fi +fi + + +# We want to enable these, but need to sort out the +# decl mess with gtk/generated_*.c +dontwarn="-Wmissing-prototypes -Wmissing-declarations" + +# We want to enable these, but Gtk+2.0 has a bad decl +# gtk-2.0/gtk/gtkitemfactory.h:47:1: error: function declaration +# isn't a prototype. +if test "$with_gtk" = "2.0"; then + dontwarn="$dontwarn -Wstrict-prototypes" +fi + + + + # Check whether --enable-werror was given. +if test "${enable_werror+set}" = set; then : + enableval=$enable_werror; set_werror="$enableval" +else + if test -d $srcdir/.git; then + is_git_version=true + set_werror=yes + else + set_werror=no + fi +fi + + + # List of warnings that are not relevant / wanted + + dontwarn=$dontwarn + + # Don't care about C++ compiler compat + dontwarn="$dontwarn -Wc++-compat" + dontwarn="$dontwarn -Wabi" + dontwarn="$dontwarn -Wdeprecated" + # Don't care about ancient C standard compat + dontwarn="$dontwarn -Wtraditional" + # Don't care about ancient C standard compat + dontwarn="$dontwarn -Wtraditional-conversion" + # Ignore warnings in /usr/include + dontwarn="$dontwarn -Wsystem-headers" + # Happy for compiler to add struct padding + dontwarn="$dontwarn -Wpadded" + # GCC very confused with -O2 + dontwarn="$dontwarn -Wunreachable-code" + + + dontwarn="$dontwarn -Wconversion" + dontwarn="$dontwarn -Wsign-conversion" + dontwarn="$dontwarn -Wvla" + dontwarn="$dontwarn -Wundef" + dontwarn="$dontwarn -Wcast-qual" + dontwarn="$dontwarn -Wlong-long" + dontwarn="$dontwarn -Wswitch-default" + dontwarn="$dontwarn -Wswitch-enum" + dontwarn="$dontwarn -Wstrict-overflow" + dontwarn="$dontwarn -Wunsafe-loop-optimizations" + dontwarn="$dontwarn -Wformat-nonliteral" + dontwarn="$dontwarn -Wfloat-equal" + dontwarn="$dontwarn -Wdeclaration-after-statement" + dontwarn="$dontwarn -Wcast-qual" + dontwarn="$dontwarn -Wconversion" + dontwarn="$dontwarn -Wsign-conversion" + dontwarn="$dontwarn -Wpacked" + dontwarn="$dontwarn -Wunused-macros" + dontwarn="$dontwarn -Woverlength-strings" + dontwarn="$dontwarn -Wstack-protector" + dontwarn="$dontwarn -Winline" + dontwarn="$dontwarn -Wbad-function-cast" + dontwarn="$dontwarn -Wshadow" + + # Get all possible GCC warnings + + + if test -n "$GCC"; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wno-missing-field-initializers is supported" >&5 +$as_echo_n "checking whether -Wno-missing-field-initializers is supported... " >&6; } + if ${gl_cv_cc_nomfi_supported+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -W -Werror -Wno-missing-field-initializers" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_cc_nomfi_supported=yes +else + gl_cv_cc_nomfi_supported=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$gl_save_CFLAGS" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_nomfi_supported" >&5 +$as_echo "$gl_cv_cc_nomfi_supported" >&6; } + + if test "$gl_cv_cc_nomfi_supported" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wno-missing-field-initializers is needed" >&5 +$as_echo_n "checking whether -Wno-missing-field-initializers is needed... " >&6; } + if ${gl_cv_cc_nomfi_needed+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -W -Werror" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +void f (void) + { + typedef struct { int a; int b; } s_t; + s_t s1 = { 0, }; + } + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_cc_nomfi_needed=no +else + gl_cv_cc_nomfi_needed=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$gl_save_CFLAGS" + +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_nomfi_needed" >&5 +$as_echo "$gl_cv_cc_nomfi_needed" >&6; } + fi + fi + + gl_manywarn_set= + for gl_manywarn_item in \ + -Wall \ + -W \ + -Wformat-y2k \ + -Wformat-nonliteral \ + -Wformat-security \ + -Winit-self \ + -Wmissing-include-dirs \ + -Wswitch-default \ + -Wswitch-enum \ + -Wunused \ + -Wunknown-pragmas \ + -Wstrict-aliasing \ + -Wstrict-overflow \ + -Wsystem-headers \ + -Wfloat-equal \ + -Wtraditional \ + -Wtraditional-conversion \ + -Wdeclaration-after-statement \ + -Wundef \ + -Wshadow \ + -Wunsafe-loop-optimizations \ + -Wpointer-arith \ + -Wbad-function-cast \ + -Wc++-compat \ + -Wcast-qual \ + -Wcast-align \ + -Wwrite-strings \ + -Wconversion \ + -Wsign-conversion \ + -Wlogical-op \ + -Waggregate-return \ + -Wstrict-prototypes \ + -Wold-style-definition \ + -Wmissing-prototypes \ + -Wmissing-declarations \ + -Wmissing-noreturn \ + -Wmissing-format-attribute \ + -Wpacked \ + -Wpadded \ + -Wredundant-decls \ + -Wnested-externs \ + -Wunreachable-code \ + -Winline \ + -Winvalid-pch \ + -Wlong-long \ + -Wvla \ + -Wvolatile-register-var \ + -Wdisabled-optimization \ + -Wstack-protector \ + -Woverlength-strings \ + -Wbuiltin-macro-redefined \ + -Wmudflap \ + -Wpacked-bitfield-compat \ + -Wsync-nand \ + ; do + gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" + done + # The following are not documented in the manual but are included in + # output from gcc --help=warnings. + for gl_manywarn_item in \ + -Wattributes \ + -Wcoverage-mismatch \ + -Wmultichar \ + -Wunused-macros \ + ; do + gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" + done + # More warnings from gcc 4.6.2 --help=warnings. + for gl_manywarn_item in \ + -Wabi \ + -Wcpp \ + -Wdeprecated \ + -Wdeprecated-declarations \ + -Wdiv-by-zero \ + -Wdouble-promotion \ + -Wendif-labels \ + -Wextra \ + -Wformat-contains-nul \ + -Wformat-extra-args \ + -Wformat-zero-length \ + -Wformat=2 \ + -Wmultichar \ + -Wnormalized=nfc \ + -Woverflow \ + -Wpointer-to-int-cast \ + -Wpragmas \ + -Wsuggest-attribute=const \ + -Wsuggest-attribute=noreturn \ + -Wsuggest-attribute=pure \ + -Wtrampolines \ + ; do + gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" + done + + # Disable the missing-field-initializers warning if needed + if test "$gl_cv_cc_nomfi_needed" = yes; then + gl_manywarn_set="$gl_manywarn_set -Wno-missing-field-initializers" + fi + + maybewarn=$gl_manywarn_set + + + # Remove the ones we don't want, blacklisted earlier + + gl_warn_set= + set x $maybewarn; shift + for gl_warn_item + do + case " $dontwarn " in + *" $gl_warn_item "*) + ;; + *) + gl_warn_set="$gl_warn_set $gl_warn_item" + ;; + esac + done + wantwarn=$gl_warn_set + + + # Check for $CC support of each warning + for w in $wantwarn; do + as_gl_Warn=`$as_echo "gl_cv_warn_$w" | $as_tr_sh` +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles $w" >&5 +$as_echo_n "checking whether compiler handles $w... " >&6; } +if eval \${$as_gl_Warn+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} $w" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + eval "$as_gl_Warn=yes" +else + eval "$as_gl_Warn=no" +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +eval ac_res=\$$as_gl_Warn + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then : + as_fn_append WARN_CFLAGS " $w" +fi + + done + + # GNULIB uses '-W' (aka -Wextra) which includes a bunch of stuff. + # Unfortunately, this means you can't simply use '-Wsign-compare' + # with gl_MANYWARN_COMPLEMENT + # So we have -W enabled, and then have to explicitly turn off... + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-sign-compare" >&5 +$as_echo_n "checking whether compiler handles -Wno-sign-compare... " >&6; } +if ${gl_cv_warn__Wno_sign_compare+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wno-sign-compare" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wno_sign_compare=yes +else + gl_cv_warn__Wno_sign_compare=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_sign_compare" >&5 +$as_echo "$gl_cv_warn__Wno_sign_compare" >&6; } +if test "x$gl_cv_warn__Wno_sign_compare" = xyes; then : + as_fn_append WARN_CFLAGS " -Wno-sign-compare" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-unused-parameter" >&5 +$as_echo_n "checking whether compiler handles -Wno-unused-parameter... " >&6; } +if ${gl_cv_warn__Wno_unused_parameter+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wno-unused-parameter" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wno_unused_parameter=yes +else + gl_cv_warn__Wno_unused_parameter=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_unused_parameter" >&5 +$as_echo "$gl_cv_warn__Wno_unused_parameter" >&6; } +if test "x$gl_cv_warn__Wno_unused_parameter" = xyes; then : + as_fn_append WARN_CFLAGS " -Wno-unused-parameter" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-missing-field-initializers" >&5 +$as_echo_n "checking whether compiler handles -Wno-missing-field-initializers... " >&6; } +if ${gl_cv_warn__Wno_missing_field_initializers+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wno-missing-field-initializers" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wno_missing_field_initializers=yes +else + gl_cv_warn__Wno_missing_field_initializers=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_missing_field_initializers" >&5 +$as_echo "$gl_cv_warn__Wno_missing_field_initializers" >&6; } +if test "x$gl_cv_warn__Wno_missing_field_initializers" = xyes; then : + as_fn_append WARN_CFLAGS " -Wno-missing-field-initializers" +fi + + # We can't enable this due to horrible spice_usb_device_get_description + # signature + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-format-nonliteral" >&5 +$as_echo_n "checking whether compiler handles -Wno-format-nonliteral... " >&6; } +if ${gl_cv_warn__Wno_format_nonliteral+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wno-format-nonliteral" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wno_format_nonliteral=yes +else + gl_cv_warn__Wno_format_nonliteral=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_format_nonliteral" >&5 +$as_echo "$gl_cv_warn__Wno_format_nonliteral" >&6; } +if test "x$gl_cv_warn__Wno_format_nonliteral" = xyes; then : + as_fn_append WARN_CFLAGS " -Wno-format-nonliteral" +fi + + # We use some deprecated functions to avoid #ifdef hell while maintaining + # compat with older gtk / glib versions + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-deprecated-declarations" >&5 +$as_echo_n "checking whether compiler handles -Wno-deprecated-declarations... " >&6; } +if ${gl_cv_warn__Wno_deprecated_declarations+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wno-deprecated-declarations" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wno_deprecated_declarations=yes +else + gl_cv_warn__Wno_deprecated_declarations=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_deprecated_declarations" >&5 +$as_echo "$gl_cv_warn__Wno_deprecated_declarations" >&6; } +if test "x$gl_cv_warn__Wno_deprecated_declarations" = xyes; then : + as_fn_append WARN_CFLAGS " -Wno-deprecated-declarations" +fi + + + + + # GNULIB expects this to be part of -Wc++-compat, but we turn + # that one off, so we need to manually enable this again + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wjump-misses-init" >&5 +$as_echo_n "checking whether compiler handles -Wjump-misses-init... " >&6; } +if ${gl_cv_warn__Wjump_misses_init+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wjump-misses-init" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wjump_misses_init=yes +else + gl_cv_warn__Wjump_misses_init=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wjump_misses_init" >&5 +$as_echo "$gl_cv_warn__Wjump_misses_init" >&6; } +if test "x$gl_cv_warn__Wjump_misses_init" = xyes; then : + as_fn_append WARN_CFLAGS " -Wjump-misses-init" +fi + + + # GNULIB turns on -Wformat=2 which implies -Wformat-nonliteral, + # so we need to manually re-exclude it. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-format-nonliteral" >&5 +$as_echo_n "checking whether compiler handles -Wno-format-nonliteral... " >&6; } +if ${gl_cv_warn__Wno_format_nonliteral+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wno-format-nonliteral" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wno_format_nonliteral=yes +else + gl_cv_warn__Wno_format_nonliteral=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_format_nonliteral" >&5 +$as_echo "$gl_cv_warn__Wno_format_nonliteral" >&6; } +if test "x$gl_cv_warn__Wno_format_nonliteral" = xyes; then : + as_fn_append WARN_CFLAGS " -Wno-format-nonliteral" +fi + + + # This should be < 1024 really. pixman_utils is the blackspot + # preventing lower usage + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wframe-larger-than=9216" >&5 +$as_echo_n "checking whether compiler handles -Wframe-larger-than=9216... " >&6; } +if ${gl_cv_warn__Wframe_larger_than_9216+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wframe-larger-than=9216" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wframe_larger_than_9216=yes +else + gl_cv_warn__Wframe_larger_than_9216=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wframe_larger_than_9216" >&5 +$as_echo "$gl_cv_warn__Wframe_larger_than_9216" >&6; } +if test "x$gl_cv_warn__Wframe_larger_than_9216" = xyes; then : + as_fn_append WARN_CFLAGS " -Wframe-larger-than=9216" +fi + + + # Use improved glibc headers + + + # Extra special flags + case $host in + *-*-linux*) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fstack-protector-all" >&5 +$as_echo_n "checking whether compiler handles -fstack-protector-all... " >&6; } +if ${gl_cv_warn__fstack_protector_all+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -fstack-protector-all" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__fstack_protector_all=yes +else + gl_cv_warn__fstack_protector_all=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fstack_protector_all" >&5 +$as_echo "$gl_cv_warn__fstack_protector_all" >&6; } +if test "x$gl_cv_warn__fstack_protector_all" = xyes; then : + as_fn_append WARN_CFLAGS " -fstack-protector-all" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles --param=ssp-buffer-size=4" >&5 +$as_echo_n "checking whether compiler handles --param=ssp-buffer-size=4... " >&6; } +if ${gl_cv_warn___param_ssp_buffer_size_4+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} --param=ssp-buffer-size=4" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn___param_ssp_buffer_size_4=yes +else + gl_cv_warn___param_ssp_buffer_size_4=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn___param_ssp_buffer_size_4" >&5 +$as_echo "$gl_cv_warn___param_ssp_buffer_size_4" >&6; } +if test "x$gl_cv_warn___param_ssp_buffer_size_4" = xyes; then : + as_fn_append WARN_CFLAGS " --param=ssp-buffer-size=4" +fi + + ;; + esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fexceptions" >&5 +$as_echo_n "checking whether compiler handles -fexceptions... " >&6; } +if ${gl_cv_warn__fexceptions+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -fexceptions" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__fexceptions=yes +else + gl_cv_warn__fexceptions=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fexceptions" >&5 +$as_echo "$gl_cv_warn__fexceptions" >&6; } +if test "x$gl_cv_warn__fexceptions" = xyes; then : + as_fn_append WARN_CFLAGS " -fexceptions" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fasynchronous-unwind-tables" >&5 +$as_echo_n "checking whether compiler handles -fasynchronous-unwind-tables... " >&6; } +if ${gl_cv_warn__fasynchronous_unwind_tables+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -fasynchronous-unwind-tables" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__fasynchronous_unwind_tables=yes +else + gl_cv_warn__fasynchronous_unwind_tables=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fasynchronous_unwind_tables" >&5 +$as_echo "$gl_cv_warn__fasynchronous_unwind_tables" >&6; } +if test "x$gl_cv_warn__fasynchronous_unwind_tables" = xyes; then : + as_fn_append WARN_CFLAGS " -fasynchronous-unwind-tables" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fdiagnostics-show-option" >&5 +$as_echo_n "checking whether compiler handles -fdiagnostics-show-option... " >&6; } +if ${gl_cv_warn__fdiagnostics_show_option+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -fdiagnostics-show-option" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__fdiagnostics_show_option=yes +else + gl_cv_warn__fdiagnostics_show_option=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fdiagnostics_show_option" >&5 +$as_echo "$gl_cv_warn__fdiagnostics_show_option" >&6; } +if test "x$gl_cv_warn__fdiagnostics_show_option" = xyes; then : + as_fn_append WARN_CFLAGS " -fdiagnostics-show-option" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -funit-at-a-time" >&5 +$as_echo_n "checking whether compiler handles -funit-at-a-time... " >&6; } +if ${gl_cv_warn__funit_at_a_time+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -funit-at-a-time" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__funit_at_a_time=yes +else + gl_cv_warn__funit_at_a_time=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__funit_at_a_time" >&5 +$as_echo "$gl_cv_warn__funit_at_a_time" >&6; } +if test "x$gl_cv_warn__funit_at_a_time" = xyes; then : + as_fn_append WARN_CFLAGS " -funit-at-a-time" +fi + + + # Need -fipa-pure-const in order to make -Wsuggest-attribute=pure + # fire even without -O. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fipa-pure-const" >&5 +$as_echo_n "checking whether compiler handles -fipa-pure-const... " >&6; } +if ${gl_cv_warn__fipa_pure_const+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -fipa-pure-const" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__fipa_pure_const=yes +else + gl_cv_warn__fipa_pure_const=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fipa_pure_const" >&5 +$as_echo "$gl_cv_warn__fipa_pure_const" >&6; } +if test "x$gl_cv_warn__fipa_pure_const" = xyes; then : + as_fn_append WARN_CFLAGS " -fipa-pure-const" +fi + + + # We should eventually enable this, but right now there are at + # least 75 functions triggering warnings. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-suggest-attribute=pure" >&5 +$as_echo_n "checking whether compiler handles -Wno-suggest-attribute=pure... " >&6; } +if ${gl_cv_warn__Wno_suggest_attribute_pure+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wno-suggest-attribute=pure" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wno_suggest_attribute_pure=yes +else + gl_cv_warn__Wno_suggest_attribute_pure=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_suggest_attribute_pure" >&5 +$as_echo "$gl_cv_warn__Wno_suggest_attribute_pure" >&6; } +if test "x$gl_cv_warn__Wno_suggest_attribute_pure" = xyes; then : + as_fn_append WARN_CFLAGS " -Wno-suggest-attribute=pure" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-suggest-attribute=const" >&5 +$as_echo_n "checking whether compiler handles -Wno-suggest-attribute=const... " >&6; } +if ${gl_cv_warn__Wno_suggest_attribute_const+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wno-suggest-attribute=const" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wno_suggest_attribute_const=yes +else + gl_cv_warn__Wno_suggest_attribute_const=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_suggest_attribute_const" >&5 +$as_echo "$gl_cv_warn__Wno_suggest_attribute_const" >&6; } +if test "x$gl_cv_warn__Wno_suggest_attribute_const" = xyes; then : + as_fn_append WARN_CFLAGS " -Wno-suggest-attribute=const" +fi + + + if test "$set_werror" = "yes" + then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Werror" >&5 +$as_echo_n "checking whether compiler handles -Werror... " >&6; } +if ${gl_cv_warn__Werror+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Werror" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Werror=yes +else + gl_cv_warn__Werror=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Werror" >&5 +$as_echo "$gl_cv_warn__Werror" >&6; } +if test "x$gl_cv_warn__Werror" = xyes; then : + as_fn_append WARN_CFLAGS " -Werror" +fi + + fi + + WARN_LDFLAGS=$WARN_CFLAGS + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-write-strings" >&5 +$as_echo_n "checking whether compiler handles -Wno-write-strings... " >&6; } +if ${gl_cv_warn__Wno_write_strings+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wno-write-strings" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wno_write_strings=yes +else + gl_cv_warn__Wno_write_strings=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_write_strings" >&5 +$as_echo "$gl_cv_warn__Wno_write_strings" >&6; } +if test "x$gl_cv_warn__Wno_write_strings" = xyes; then : + as_fn_append WARN_CFLAGS " -Wno-write-strings" +fi + + WARN_PYFLAGS=$WARN_CFLAGS + + + +SPICE_CFLAGS="$SPICE_CFLAGS $WARN_CFLAGS" + + + +SPICE_GLIB_CFLAGS="$PROTOCOL_CFLAGS $PIXMAN_CFLAGS $CELT051_CFLAGS $PULSE_CFLAGS $GST_CFLAGS $GLIB2_CFLAGS $GIO_CFLAGS $GOBJECT2_CFLAGS $SSL_CFLAGS $SASL_CFLAGS" +SPICE_GTK_CFLAGS="$SPICE_GLIB_CFLAGS $GTK_CFLAGS " + + + + + + + +# Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" = set; then : + enableval=$enable_silent_rules; +fi + +case $enable_silent_rules in # ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=0;; +esac +am_make=${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AM_BACKSLASH='\' + + +ac_config_files="$ac_config_files Makefile spice-client-glib-2.0.pc spice-client-gtk-2.0.pc spice-client-gtk-3.0.pc spice-controller.pc data/Makefile data/spicy.desktop.in data/spicy.nsis po/Makefile.in gtk/Makefile gtk/controller/Makefile doc/Makefile doc/reference/Makefile vapi/Makefile" + +cat >confcache <<\_ACEOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +( + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; #( + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) | + sed ' + /^ac_cv_env_/b end + t clear + :clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + if test "x$cache_file" != "x/dev/null"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache >"$cache_file" + else + case $cache_file in #( + */* | ?:*) + mv -f confcache "$cache_file"$$ && + mv -f "$cache_file"$$ "$cache_file" ;; #( + *) + mv -f confcache "$cache_file" ;; + esac + fi + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + fi +fi +rm -f confcache + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +DEFS="-DHAVE_CONFIG_H -DCONFIG_MARU" +#DEFS=-DHAVE_CONFIG_H + +ac_libobjs= +ac_ltlibobjs= +U= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 +$as_echo_n "checking that generated files are newer than configure... " >&6; } + if test -n "$am_sleep_pid"; then + # Hide warnings about reused PIDs. + wait $am_sleep_pid 2>/dev/null + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 +$as_echo "done" >&6; } + if test -n "$EXEEXT"; then + am__EXEEXT_TRUE= + am__EXEEXT_FALSE='#' +else + am__EXEEXT_TRUE='#' + am__EXEEXT_FALSE= +fi + +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + as_fn_error $? "conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error $? "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then + as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + + ac_config_commands="$ac_config_commands po/stamp-it" + + +if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then + as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then + as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then + as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then + as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then + as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${SUPPORT_GL_TRUE}" && test -z "${SUPPORT_GL_FALSE}"; then + as_fn_error $? "conditional \"SUPPORT_GL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error $? "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + +if test -z "${HAVE_LD_VERSION_SCRIPT_TRUE}" && test -z "${HAVE_LD_VERSION_SCRIPT_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LD_VERSION_SCRIPT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then + as_fn_error $? "conditional \"OS_WIN32\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_SASL_TRUE}" && test -z "${HAVE_SASL_FALSE}"; then + as_fn_error $? "conditional \"HAVE_SASL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_GTK_2_TRUE}" && test -z "${HAVE_GTK_2_FALSE}"; then + as_fn_error $? "conditional \"HAVE_GTK_2\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_GTK_3_TRUE}" && test -z "${HAVE_GTK_3_FALSE}"; then + as_fn_error $? "conditional \"HAVE_GTK_3\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${WITH_DISPLAY_X11_TRUE}" && test -z "${WITH_DISPLAY_X11_FALSE}"; then + as_fn_error $? "conditional \"WITH_DISPLAY_X11\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${WITH_DISPLAY_QUARTZ_TRUE}" && test -z "${WITH_DISPLAY_QUARTZ_FALSE}"; then + as_fn_error $? "conditional \"WITH_DISPLAY_QUARTZ\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${WITH_DISPLAY_WINDOWS_TRUE}" && test -z "${WITH_DISPLAY_WINDOWS_FALSE}"; then + as_fn_error $? "conditional \"WITH_DISPLAY_WINDOWS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${WITH_X11_TRUE}" && test -z "${WITH_X11_FALSE}"; then + as_fn_error $? "conditional \"WITH_X11\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${USE_INTERNAL_PNP_IDS_TRUE}" && test -z "${USE_INTERNAL_PNP_IDS_FALSE}"; then + as_fn_error $? "conditional \"USE_INTERNAL_PNP_IDS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${WITH_GPROXY_TRUE}" && test -z "${WITH_GPROXY_FALSE}"; then + as_fn_error $? "conditional \"WITH_GPROXY\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${WITH_PULSE_TRUE}" && test -z "${WITH_PULSE_FALSE}"; then + as_fn_error $? "conditional \"WITH_PULSE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${WITH_GSTAUDIO_TRUE}" && test -z "${WITH_GSTAUDIO_FALSE}"; then + as_fn_error $? "conditional \"WITH_GSTAUDIO\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${WITH_SMARTCARD_TRUE}" && test -z "${WITH_SMARTCARD_FALSE}"; then + as_fn_error $? "conditional \"WITH_SMARTCARD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${WITH_USBREDIR_TRUE}" && test -z "${WITH_USBREDIR_FALSE}"; then + as_fn_error $? "conditional \"WITH_USBREDIR\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${WITH_POLKIT_TRUE}" && test -z "${WITH_POLKIT_FALSE}"; then + as_fn_error $? "conditional \"WITH_POLKIT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${WITH_POLKIT_TRUE}" && test -z "${WITH_POLKIT_FALSE}"; then + as_fn_error $? "conditional \"WITH_POLKIT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${WITH_UCONTEXT_TRUE}" && test -z "${WITH_UCONTEXT_FALSE}"; then + as_fn_error $? "conditional \"WITH_UCONTEXT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${WITH_WINFIBER_TRUE}" && test -z "${WITH_WINFIBER_FALSE}"; then + as_fn_error $? "conditional \"WITH_WINFIBER\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${WITH_GTHREAD_TRUE}" && test -z "${WITH_GTHREAD_FALSE}"; then + as_fn_error $? "conditional \"WITH_GTHREAD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then + as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then + as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${G_IR_SCANNER_SYMBOL_PREFIX_TRUE}" && test -z "${G_IR_SCANNER_SYMBOL_PREFIX_FALSE}"; then + as_fn_error $? "conditional \"G_IR_SCANNER_SYMBOL_PREFIX\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${WITH_CONTROLLER_TRUE}" && test -z "${WITH_CONTROLLER_FALSE}"; then + as_fn_error $? "conditional \"WITH_CONTROLLER\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${WITH_VALA_TRUE}" && test -z "${WITH_VALA_FALSE}"; then + as_fn_error $? "conditional \"WITH_VALA\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then + as_fn_error $? "conditional \"WITH_PYTHON\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + +: "${CONFIG_STATUS=./config.status}" +ac_write_fail=0 +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +as_write_fail=0 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false + +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi +else + as_ln_s='cp -pR' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +as_test_x='test -x' +as_executable_p=as_fn_executable_p + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# Save the log message, to keep $0 and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by spice-gtk $as_me 0.19, which was +generated by GNU Autoconf 2.69. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +_ACEOF + +case $ac_config_files in *" +"*) set x $ac_config_files; shift; ac_config_files=$*;; +esac + +case $ac_config_headers in *" +"*) set x $ac_config_headers; shift; ac_config_headers=$*;; +esac + + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# Files that config.status was made for. +config_files="$ac_config_files" +config_headers="$ac_config_headers" +config_commands="$ac_config_commands" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. + +Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration commands: +$config_commands + +Report bugs to <spice-devel@lists.freedesktop.org>." + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" +ac_cs_version="\\ +spice-gtk config.status 0.19 +configured by $0, generated by GNU Autoconf 2.69, + with options \\"\$ac_cs_config\\" + +Copyright (C) 2012 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='$ac_pwd' +srcdir='$srcdir' +INSTALL='$INSTALL' +MKDIR_P='$MKDIR_P' +AWK='$AWK' +test -n "\$AWK" || AWK=awk +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=?*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + --*=) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg= + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + '') as_fn_error $? "missing file argument" ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + as_fn_error $? "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; + --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) as_fn_error $? "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; + + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +if \$ac_cs_recheck; then + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' + export CONFIG_SHELL + exec "\$@" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + $as_echo "$ac_log" +} >&5 + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# +# INIT-COMMANDS +# +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" + + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +sed_quote_subst='$sed_quote_subst' +double_quote_subst='$double_quote_subst' +delay_variable_subst='$delay_variable_subst' +macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' +macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' +enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' +enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' +pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' +enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' +ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' +PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' +host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' +host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' +host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' +build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' +build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' +build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' +SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' +Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' +GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' +EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' +FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' +LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' +NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' +LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' +max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' +ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' +exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' +lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' +lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' +lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' +lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' +lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' +reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' +reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' +OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' +deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' +file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' +file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' +want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' +DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' +sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' +AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' +AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' +archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' +STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' +RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' +old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' +old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' +old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' +lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' +CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' +CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' +compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' +GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' +nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' +lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' +objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' +MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' +lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' +need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' +MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' +DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' +NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' +LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' +OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' +OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' +libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' +shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' +extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' +archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' +enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' +export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' +whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' +compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' +old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' +old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' +archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' +archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' +module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' +module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' +with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' +allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' +no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' +hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' +hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' +hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' +hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' +hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' +inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' +link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' +always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' +export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' +exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' +include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' +prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' +postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' +file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' +variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' +need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' +need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' +version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' +runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' +shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' +shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' +libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' +library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' +soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' +install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' +postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' +postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' +finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' +finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' +hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' +sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' +sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' +hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' +enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' +enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' +enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' +old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' +striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' + +LTCC='$LTCC' +LTCFLAGS='$LTCFLAGS' +compiler='$compiler_DEFAULT' + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$1 +_LTECHO_EOF' +} + +# Quote evaled strings. +for var in SHELL \ +ECHO \ +PATH_SEPARATOR \ +SED \ +GREP \ +EGREP \ +FGREP \ +LD \ +NM \ +LN_S \ +lt_SP2NL \ +lt_NL2SP \ +reload_flag \ +OBJDUMP \ +deplibs_check_method \ +file_magic_cmd \ +file_magic_glob \ +want_nocaseglob \ +DLLTOOL \ +sharedlib_from_linklib_cmd \ +AR \ +AR_FLAGS \ +archiver_list_spec \ +STRIP \ +RANLIB \ +CC \ +CFLAGS \ +compiler \ +lt_cv_sys_global_symbol_pipe \ +lt_cv_sys_global_symbol_to_cdecl \ +lt_cv_sys_global_symbol_to_c_name_address \ +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ +nm_file_list_spec \ +lt_prog_compiler_no_builtin_flag \ +lt_prog_compiler_pic \ +lt_prog_compiler_wl \ +lt_prog_compiler_static \ +lt_cv_prog_compiler_c_o \ +need_locks \ +MANIFEST_TOOL \ +DSYMUTIL \ +NMEDIT \ +LIPO \ +OTOOL \ +OTOOL64 \ +shrext_cmds \ +export_dynamic_flag_spec \ +whole_archive_flag_spec \ +compiler_needs_object \ +with_gnu_ld \ +allow_undefined_flag \ +no_undefined_flag \ +hardcode_libdir_flag_spec \ +hardcode_libdir_separator \ +exclude_expsyms \ +include_expsyms \ +file_list_spec \ +variables_saved_for_relink \ +libname_spec \ +library_names_spec \ +soname_spec \ +install_override_mode \ +finish_eval \ +old_striplib \ +striplib; do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[\\\\\\\`\\"\\\$]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +# Double-quote double-evaled strings. +for var in reload_cmds \ +old_postinstall_cmds \ +old_postuninstall_cmds \ +old_archive_cmds \ +extract_expsyms_cmds \ +old_archive_from_new_cmds \ +old_archive_from_expsyms_cmds \ +archive_cmds \ +archive_expsym_cmds \ +module_cmds \ +module_expsym_cmds \ +export_symbols_cmds \ +prelink_cmds \ +postlink_cmds \ +postinstall_cmds \ +postuninstall_cmds \ +finish_cmds \ +sys_lib_search_path_spec \ +sys_lib_dlsearch_path_spec; do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[\\\\\\\`\\"\\\$]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +ac_aux_dir='$ac_aux_dir' +xsi_shell='$xsi_shell' +lt_shell_append='$lt_shell_append' + +# See if we are running on zsh, and set the options which allow our +# commands through without removal of \ escapes INIT. +if test -n "\${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi + + + PACKAGE='$PACKAGE' + VERSION='$VERSION' + TIMESTAMP='$TIMESTAMP' + RM='$RM' + ofile='$ofile' + + + + + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; + "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "spice-client-glib-2.0.pc") CONFIG_FILES="$CONFIG_FILES spice-client-glib-2.0.pc" ;; + "spice-client-gtk-2.0.pc") CONFIG_FILES="$CONFIG_FILES spice-client-gtk-2.0.pc" ;; + "spice-client-gtk-3.0.pc") CONFIG_FILES="$CONFIG_FILES spice-client-gtk-3.0.pc" ;; + "spice-controller.pc") CONFIG_FILES="$CONFIG_FILES spice-controller.pc" ;; + "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; + "data/spicy.desktop.in") CONFIG_FILES="$CONFIG_FILES data/spicy.desktop.in" ;; + "data/spicy.nsis") CONFIG_FILES="$CONFIG_FILES data/spicy.nsis" ;; + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; + "gtk/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/Makefile" ;; + "gtk/controller/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/controller/Makefile" ;; + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; + "doc/reference/Makefile") CONFIG_FILES="$CONFIG_FILES doc/reference/Makefile" ;; + "vapi/Makefile") CONFIG_FILES="$CONFIG_FILES vapi/Makefile" ;; + "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; + + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= ac_tmp= + trap 'exit_status=$? + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && +_ACEOF + + +{ + echo "cat >conf$$subs.awk <<_ACEOF" && + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" +} >conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + . ./conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done +rm -f conf$$subs.sh + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && +_ACEOF +sed -n ' +h +s/^/S["/; s/!.*/"]=/ +p +g +s/^[^!]*!// +:repl +t repl +s/'"$ac_delim"'$// +t delim +:nl +h +s/\(.\{148\}\)..*/\1/ +t more1 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ +p +n +b repl +:more1 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t nl +:delim +h +s/\(.\{148\}\)..*/\1/ +t more2 +s/["\\]/\\&/g; s/^/"/; s/$/"/ +p +b +:more2 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t delim +' <conf$$subs.awk | sed ' +/^[^""]/{ + N + s/\n// +} +' >>$CONFIG_STATUS || ac_write_fail=1 +rm -f conf$$subs.awk +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACAWK +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 +_ACEOF + +# VPATH may cause trouble with some makes, so we remove sole $(srcdir), +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ +h +s/// +s/^/:/ +s/[ ]*$/:/ +s/:\$(srcdir):/:/g +s/:\${srcdir}:/:/g +s/:@srcdir@:/:/g +s/^:*// +s/:*$// +x +s/\(=[ ]*\).*/\1/ +G +s/\n// +s/^[^=]*=[ ]*$// +}' +fi + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +fi # test -n "$CONFIG_FILES" + +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$ac_tmp/defines.awk" <<\_ACAWK || +BEGIN { +_ACEOF + +# Transform confdefs.h into an awk script `defines.awk', embedded as +# here-document in config.status, that substitutes the proper values into +# config.h.in to produce config.h. + +# Create a delimiter string that does not exist in confdefs.h, to ease +# handling of long lines. +ac_delim='%!_!# ' +for ac_last_try in false false :; do + ac_tt=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_tt"; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +# For the awk script, D is an array of macro values keyed by name, +# likewise P contains macro parameters if any. Preserve backslash +# newline sequences. + +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* +sed -n ' +s/.\{148\}/&'"$ac_delim"'/g +t rset +:rset +s/^[ ]*#[ ]*define[ ][ ]*/ / +t def +d +:def +s/\\$// +t bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3"/p +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p +d +:bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3\\\\\\n"\\/p +t cont +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p +t cont +d +:cont +n +s/.\{148\}/&'"$ac_delim"'/g +t clear +:clear +s/\\$// +t bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/"/p +d +:bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p +b cont +' <confdefs.h | sed ' +s/'"$ac_delim"'/"\\\ +"/g' >>$CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { + line = \$ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 +fi # test -n "$CONFIG_HEADERS" + + +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$ac_tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac + ac_MKDIR_P=$MKDIR_P + case $MKDIR_P in + [\\/$]* | ?:[\\/]* ) ;; + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; + esac +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_datarootdir_hack=' + s&@datadir@&$datadir&g + s&@docdir@&$docdir&g + s&@infodir@&$infodir&g + s&@localedir@&$localedir&g + s&@mandir@&$mandir&g + s&\\\${datarootdir}&$datarootdir&g' ;; +esac +_ACEOF + +# Neutralize VPATH when `$srcdir' = `.'. +# Shell code in configure.ac might set extrasub. +# FIXME: do we really want to maintain this feature? +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_sed_extra="$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +s&@MKDIR_P@&$ac_MKDIR_P&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&2;} + + rm -f "$ac_tmp/stdin" + case $ac_file in + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; + esac \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + ;; + :H) + # + # CONFIG_HEADER + # + if test x"$ac_file" != x-; then + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + } >"$ac_tmp/config.h" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$ac_tmp/config.h" "$ac_file" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + fi + else + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error $? "could not create -" "$LINENO" 5 + fi +# Compute "$ac_file"'s index in $config_headers. +_am_arg="$ac_file" +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$_am_arg" : 'X\(//\)[^/]' \| \ + X"$_am_arg" : 'X\(//\)$' \| \ + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$_am_arg" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'`/stamp-h$_am_stamp_count + ;; + + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || { + # Older Autoconf quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named 'Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running 'make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir=$dirpart/$fdir; as_fn_mkdir_p + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done + done +} + ;; + "libtool":C) + + # See if we are running on zsh, and set the options which allow our + # commands through without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + + cfgfile="${ofile}T" + trap "$RM \"$cfgfile\"; exit 1" 1 2 15 + $RM "$cfgfile" + + cat <<_LT_EOF >> "$cfgfile" +#! $SHELL + +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +# 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file is part of GNU Libtool. +# +# GNU Libtool 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. +# +# As a special exception to the GNU General Public License, +# if you distribute this file as part of a program or library that +# is built using GNU Libtool, you may include this file under the +# same distribution terms that you use for the rest of that program. +# +# GNU Libtool 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 GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or +# obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + +# The names of the tagged configurations supported by this script. +available_tags="" + +# ### BEGIN LIBTOOL CONFIG + +# Which release of libtool.m4 was used? +macro_version=$macro_version +macro_revision=$macro_revision + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# What type of objects to build. +pic_mode=$pic_mode + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# An echo program that protects backslashes. +ECHO=$lt_ECHO + +# The PATH separator for the build system. +PATH_SEPARATOR=$lt_PATH_SEPARATOR + +# The host system. +host_alias=$host_alias +host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="\$SED -e 1s/^X//" + +# A grep program that handles long lines. +GREP=$lt_GREP + +# An ERE matcher. +EGREP=$lt_EGREP + +# A literal string matcher. +FGREP=$lt_FGREP + +# A BSD- or MS-compatible name lister. +NM=$lt_NM + +# Whether we need soft or hard links. +LN_S=$lt_LN_S + +# What is the maximum length of a command? +max_cmd_len=$max_cmd_len + +# Object file suffix (normally "o"). +objext=$ac_objext + +# Executable file suffix (normally ""). +exeext=$exeext + +# whether the shell understands "unset". +lt_unset=$lt_unset + +# turn spaces into newlines. +SP2NL=$lt_lt_SP2NL + +# turn newlines into spaces. +NL2SP=$lt_lt_NL2SP + +# convert \$build file names to \$host format. +to_host_file_cmd=$lt_cv_to_host_file_cmd + +# convert \$build files to toolchain format. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd + +# An object symbol dumper. +OBJDUMP=$lt_OBJDUMP + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method = "file_magic". +file_magic_cmd=$lt_file_magic_cmd + +# How to find potential files when deplibs_check_method = "file_magic". +file_magic_glob=$lt_file_magic_glob + +# Find potential files using nocaseglob when deplibs_check_method = "file_magic". +want_nocaseglob=$lt_want_nocaseglob + +# DLL creation program. +DLLTOOL=$lt_DLLTOOL + +# Command to associate shared and link libraries. +sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd + +# The archiver. +AR=$lt_AR + +# Flags to create an archive. +AR_FLAGS=$lt_AR_FLAGS + +# How to feed a file listing to the archiver. +archiver_list_spec=$lt_archiver_list_spec + +# A symbol stripping program. +STRIP=$lt_STRIP + +# Commands used to install an old-style archive. +RANLIB=$lt_RANLIB +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Whether to use a lock for old archive extraction. +lock_old_archive_extraction=$lock_old_archive_extraction + +# A C compiler. +LTCC=$lt_CC + +# LTCC compiler flags. +LTCFLAGS=$lt_CFLAGS + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# Transform the output of nm in a C name address pair when lib prefix is needed. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix + +# Specify filename containing input files for \$NM. +nm_file_list_spec=$lt_nm_file_list_spec + +# The root where to search for dependent libraries,and in which our libraries should be installed. +lt_sysroot=$lt_sysroot + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# Used to examine libraries when file_magic_cmd begins with "file". +MAGIC_CMD=$MAGIC_CMD + +# Must we lock files when doing compilation? +need_locks=$lt_need_locks + +# Manifest tool. +MANIFEST_TOOL=$lt_MANIFEST_TOOL + +# Tool to manipulate archived DWARF debug symbol files on Mac OS X. +DSYMUTIL=$lt_DSYMUTIL + +# Tool to change global to local symbols on Mac OS X. +NMEDIT=$lt_NMEDIT + +# Tool to manipulate fat objects and archives on Mac OS X. +LIPO=$lt_LIPO + +# ldd/readelf like tool for Mach-O binaries on Mac OS X. +OTOOL=$lt_OTOOL + +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. +OTOOL64=$lt_OTOOL64 + +# Old archive suffix (normally "a"). +libext=$libext + +# Shared library suffix (normally ".so"). +shrext_cmds=$lt_shrext_cmds + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at link time. +variables_saved_for_relink=$lt_variables_saved_for_relink + +# Do we need the "lib" prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Library versioning type. +version_type=$version_type + +# Shared library runtime path variable. +runpath_var=$runpath_var + +# Shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Permission mode override for installation of shared libraries. +install_override_mode=$lt_install_override_mode + +# Command to use after installation of a shared archive. +postinstall_cmds=$lt_postinstall_cmds + +# Command to use after uninstallation of a shared archive. +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# As "finish_cmds", except a single script fragment to be evaled but +# not shown. +finish_eval=$lt_finish_eval + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Compile-time system search path for libraries. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries. +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + + +# The linker used to build libraries. +LD=$lt_LD + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# Commands used to build an old-style archive. +old_archive_cmds=$lt_old_archive_cmds + +# A language specific compiler. +CC=$lt_compiler + +# Is the compiler the GNU compiler? +with_gcc=$GCC + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc + +# Whether or not to disallow shared libs when runtime libs are static. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec + +# Whether the compiler copes with passing no objects directly. +compiler_needs_object=$lt_compiler_needs_object + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds + +# Commands used to build a shared archive. +archive_cmds=$lt_archive_cmds +archive_expsym_cmds=$lt_archive_expsym_cmds + +# Commands used to build a loadable module if different from building +# a shared archive. +module_cmds=$lt_module_cmds +module_expsym_cmds=$lt_module_expsym_cmds + +# Whether we are building with GNU ld or not. +with_gnu_ld=$lt_with_gnu_ld + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag + +# Flag that enforces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec + +# Whether we need a single "-rpath" flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator + +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes +# DIR into the resulting binary. +hardcode_direct=$hardcode_direct + +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes +# DIR into the resulting binary and the resulting library dependency is +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the +# library is relocated. +hardcode_direct_absolute=$hardcode_direct_absolute + +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR +# into the resulting binary. +hardcode_minus_L=$hardcode_minus_L + +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR +# into the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var + +# Set to "yes" if building a shared library automatically hardcodes DIR +# into the library and all subsequent libraries and executables linked +# against it. +hardcode_automatic=$hardcode_automatic + +# Set to yes if linker adds runtime paths of dependent libraries +# to runtime path list. +inherit_rpath=$inherit_rpath + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs + +# Set to "yes" if exported symbols are required. +always_export_symbols=$always_export_symbols + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms + +# Commands necessary for linking programs (against libraries) with templates. +prelink_cmds=$lt_prelink_cmds + +# Commands necessary for finishing linking programs. +postlink_cmds=$lt_postlink_cmds + +# Specify filename containing input files. +file_list_spec=$lt_file_list_spec + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action + +# ### END LIBTOOL CONFIG + +_LT_EOF + + case $host_os in + aix3*) + cat <<\_LT_EOF >> "$cfgfile" +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +_LT_EOF + ;; + esac + + +ltmain="$ac_aux_dir/ltmain.sh" + + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + if test x"$xsi_shell" = xyes; then + sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ +func_dirname ()\ +{\ +\ case ${1} in\ +\ */*) func_dirname_result="${1%/*}${2}" ;;\ +\ * ) func_dirname_result="${3}" ;;\ +\ esac\ +} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_basename ()$/,/^} # func_basename /c\ +func_basename ()\ +{\ +\ func_basename_result="${1##*/}"\ +} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ +func_dirname_and_basename ()\ +{\ +\ case ${1} in\ +\ */*) func_dirname_result="${1%/*}${2}" ;;\ +\ * ) func_dirname_result="${3}" ;;\ +\ esac\ +\ func_basename_result="${1##*/}"\ +} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ +func_stripname ()\ +{\ +\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ +\ # positional parameters, so assign one to ordinary parameter first.\ +\ func_stripname_result=${3}\ +\ func_stripname_result=${func_stripname_result#"${1}"}\ +\ func_stripname_result=${func_stripname_result%"${2}"}\ +} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ +func_split_long_opt ()\ +{\ +\ func_split_long_opt_name=${1%%=*}\ +\ func_split_long_opt_arg=${1#*=}\ +} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ +func_split_short_opt ()\ +{\ +\ func_split_short_opt_arg=${1#??}\ +\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ +} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ +func_lo2o ()\ +{\ +\ case ${1} in\ +\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ +\ *) func_lo2o_result=${1} ;;\ +\ esac\ +} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_xform ()$/,/^} # func_xform /c\ +func_xform ()\ +{\ + func_xform_result=${1%.*}.lo\ +} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_arith ()$/,/^} # func_arith /c\ +func_arith ()\ +{\ + func_arith_result=$(( $* ))\ +} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_len ()$/,/^} # func_len /c\ +func_len ()\ +{\ + func_len_result=${#1}\ +} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + +fi + +if test x"$lt_shell_append" = xyes; then + sed -e '/^func_append ()$/,/^} # func_append /c\ +func_append ()\ +{\ + eval "${1}+=\\${2}"\ +} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ +func_append_quoted ()\ +{\ +\ func_quote_for_eval "${2}"\ +\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ +} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + # Save a `func_append' function call where possible by direct use of '+=' + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +else + # Save a `func_append' function call even when '+=' is not available + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +fi + +if test x"$_lt_function_replace_fail" = x":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} +fi + + + mv -f "$cfgfile" "$ofile" || + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" + + ;; + "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) + sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile + esac ;; + "po/stamp-it":C) + if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then + as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 + fi + rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" + >"po/stamp-it.tmp" + sed '/^#/d + s/^[[].*] *// + /^[ ]*$/d + '"s|^| $ac_top_srcdir/|" \ + "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" + + sed '/^POTFILES =/,/[^\\]$/ { + /^POTFILES =/!d + r po/POTFILES + } + ' "po/Makefile.in" >"po/Makefile" + rm -f "po/Makefile.tmp" + mv "po/stamp-it.tmp" "po/stamp-it" + ;; + + esac +done # for ac_tag + + +as_fn_exit 0 +_ACEOF +ac_clean_files=$ac_clean_files_save + +test $ac_write_fail = 0 || + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || as_fn_exit 1 +fi + +# +# CONFIG_SUBDIRS section. +# +if test "$no_recursion" != yes; then + + # Remove --cache-file, --srcdir, and --disable-option-checking arguments + # so they do not pile up. + ac_sub_configure_args= + ac_prev= + eval "set x $ac_configure_args" + shift + for ac_arg + do + if test -n "$ac_prev"; then + ac_prev= + continue + fi + case $ac_arg in + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ + | --c=*) + ;; + --config-cache | -C) + ;; + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + ;; + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + ;; + --disable-option-checking) + ;; + *) + case $ac_arg in + *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append ac_sub_configure_args " '$ac_arg'" ;; + esac + done + + # Always prepend --prefix to ensure using the same prefix + # in subdir configurations. + ac_arg="--prefix=$prefix" + case $ac_arg in + *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" + + # Pass --silent + if test "$silent" = yes; then + ac_sub_configure_args="--silent $ac_sub_configure_args" + fi + + # Always prepend --disable-option-checking to silence warnings, since + # different subdirs can have different --enable and --with options. + ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" + + ac_popdir=`pwd` + for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue + + # Do not complain, so a configure script can configure whichever + # parts of a large source tree are present. + test -d "$srcdir/$ac_dir" || continue + + ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" + $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 + $as_echo "$ac_msg" >&6 + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + cd "$ac_dir" + + # Check for guested configure; otherwise get Cygnus style configure. + if test -f "$ac_srcdir/configure.gnu"; then + ac_sub_configure=$ac_srcdir/configure.gnu + elif test -f "$ac_srcdir/configure"; then + ac_sub_configure=$ac_srcdir/configure + elif test -f "$ac_srcdir/configure.in"; then + # This should be Cygnus configure. + ac_sub_configure=$ac_aux_dir/configure + else + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 +$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} + ac_sub_configure= + fi + + # The recursion is here. + if test -n "$ac_sub_configure"; then + # Make the cache file name correct relative to the subdirectory. + case $cache_file in + [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; + *) # Relative name. + ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; + esac + + { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 +$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} + # The eval makes quoting arguments work. + eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ + --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || + as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 + fi + + cd "$ac_popdir" + done +fi +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: + + Spice-Gtk $VERSION + ============== + + prefix: ${prefix} + c compiler: ${CC} + + Coroutine: ${with_coroutine} + Audio: ${with_audio} + Target: ${red_target} + SASL support: ${enable_sasl} + Smartcard support: ${have_smartcard} + USB redirection support: ${have_usbredir} + Gtk: $GTK_API_VERSION + + Now type 'make' to build $PACKAGE + +" >&5 +$as_echo "$as_me: + + Spice-Gtk $VERSION + ============== + + prefix: ${prefix} + c compiler: ${CC} + + Coroutine: ${with_coroutine} + Audio: ${with_audio} + Target: ${red_target} + SASL support: ${enable_sasl} + Smartcard support: ${have_smartcard} + USB redirection support: ${have_usbredir} + Gtk: $GTK_API_VERSION + + Now type 'make' to build $PACKAGE + +" >&6;} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/configure.ac b/tizen/distrib/remote/client/spice-gtk-0.19/configure.ac new file mode 100644 index 0000000..ae83f9d --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/configure.ac @@ -0,0 +1,694 @@ +AC_PREREQ([2.57]) + +AC_INIT([spice-gtk], [m4_esyscmd(build-aux/git-version-gen .tarball-version)], + [spice-devel@lists.freedesktop.org]) + +AC_CONFIG_MACRO_DIR([m4]) +AC_CONFIG_HEADER([config.h]) +AC_CONFIG_AUX_DIR([build-aux]) + +AM_INIT_AUTOMAKE([foreign dist-bzip2 -Wall -Werror]) +m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) +LT_INIT +AM_MAINTAINER_MODE + +IT_PROG_INTLTOOL([0.40.0]) +GETTEXT_PACKAGE=spice-gtk +AC_SUBST(GETTEXT_PACKAGE) +AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],"$GETTEXT_PACKAGE", [GETTEXT package name]) +AM_GLIB_GNU_GETTEXT + + +SPICE_GTK_LOCALEDIR=[${datadir}/locale] +AC_SUBST(SPICE_GTK_LOCALEDIR) + +GTK_DOC_CHECK([1.14],[--flavour no-tmpl]) + +# no opengl support yet +AM_CONDITIONAL(SUPPORT_GL, false) + +AC_PROG_CC +AC_PROG_CC_C99 +if test "x$ac_cv_prog_cc_c99" = xno; then + AC_MSG_ERROR([C99 compiler is required.]) +fi + + +AC_CHECK_PROG([STOW], [stow], [yes], [no]) +AS_IF([test "x$STOW" = "xyes" && test -d /usr/local/stow], [ + AC_MSG_NOTICE([*** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME} ***]) + ac_default_prefix="/usr/local/stow/${PACKAGE_NAME}" +]) + +AC_PROG_INSTALL +AC_CANONICAL_HOST +AC_PROG_LIBTOOL +AM_PROG_CC_C_O +AC_C_BIGENDIAN +AC_PATH_PROGS(PYTHON, python2 python) +RRA_LD_VERSION_SCRIPT + +AC_MSG_CHECKING([for native Win32]) +case "$host_os" in + *mingw*|*cygwin*) + os_win32=yes + gio_os=gio-windows-2.0 + red_target=Windows + ;; + *) + os_win32=no + gio_os=gio-unix-2.0 + red_target=Unix + ;; +esac +AC_MSG_RESULT([$os_win32]) +AM_CONDITIONAL([OS_WIN32],[test "$os_win32" = "yes"]) + +AC_CHECK_HEADERS([sys/ipc.h sys/shm.h]) +AC_CHECK_HEADERS([sys/socket.h netinet/in.h arpa/inet.h]) +AC_CHECK_HEADERS([termios.h]) + +AC_CHECK_LIBM +AC_SUBST(LIBM) + +AC_CONFIG_SUBDIRS([spice-common]) +COMMON_CFLAGS='-I ${top_srcdir}/spice-common/ -I ${top_srcdir}/spice-common/spice-protocol/' +AC_SUBST(COMMON_CFLAGS) + +dnl ========================================================================= +dnl Chek optional features + +srcdir="$(dirname $0)" +if test ! -e "$srcdir/gtk/vncdisplaykeymap_osx2xtkbd.c"; then + AC_MSG_CHECKING([for Text::CSV Perl module]) + perl -MText::CSV -e "" >/dev/null 2>&1 + if test $? -ne 0 ; then + AC_MSG_RESULT([not found]) + AC_MSG_ERROR([Text::CSV Perl module is required to compile this package]) + fi + AC_MSG_RESULT([found]) +fi + +SPICE_GLIB_REQUIRES="" +SPICE_GTK_REQUIRES="" + +PKG_CHECK_MODULES(PIXMAN, pixman-1 >= 0.17.7) +AC_SUBST(PIXMAN_CFLAGS) +AC_SUBST(PIXMAN_LIBS) +SPICE_GLIB_REQUIRES="${SPICE_GLIB_REQUIRED} pixman-1 >= 0.17.7" + +PKG_CHECK_MODULES(CELT051, celt051 >= 0.5.1.1) +AC_SUBST(CELT051_CFLAGS) +AC_SUBST(CELT051_LIBS) +AC_SUBST(CELT051_LIBDIR) +SPICE_GLIB_REQUIRES="${SPICE_GLIB_REQUIRED} celt051 >= 0.5.1.1" + +PKG_CHECK_MODULES(SSL, openssl) +AC_SUBST(SSL_CFLAGS) +AC_SUBST(SSL_LIBS) +SPICE_GLIB_REQUIRES="${SPICE_GLIB_REQUIRED} openssl" + +dnl Cyrus SASL +AC_ARG_WITH([sasl], + [AS_HELP_STRING([--with-sasl=@<:@yes/no/auto@:>@], [use cyrus SASL for authentication @<:@default=auto@:>@])], + [], + [with_sasl="auto"]) + +SASL_CFLAGS= +SASL_LIBS= +enable_sasl=no +if test "x$with_sasl" != "xno"; then + if test "x$with_sasl" != "xyes" -a "x$with_sasl" != "xauto"; then + SASL_CFLAGS="-I$with_sasl" + SASL_LIBS="-L$with_sasl" + fi + fail=0 + old_cflags="$CFLAGS" + old_libs="$LIBS" + CFLAGS="$CFLAGS $SASL_CFLAGS" + LIBS="$LIBS $SASL_LIBS" + AC_CHECK_HEADER([sasl/sasl.h],[],[ + if test "x$with_sasl" != "xauto" ; then + with_sasl=no + else + fail=1 + fi]) + if test "x$with_sasl" != "xno" ; then + AC_CHECK_LIB([sasl2], [sasl_client_init],[with_sasl2=yes],[with_sasl2=no]) + fi + if test "x$with_sasl2" = "xno" -a "x$with_sasl" != "xno" ; then + AC_CHECK_LIB([sasl], [sasl_client_init],[with_sasl=yes],[with_sasl=no]) + fi + if test "x$with_sasl2" = "xyes"; then + SASL_LIBS="$SASL_LIBS -lsasl2" + elif test "x$with_sasl" = "xyes"; then + SASL_LIBS="$SASL_LIBS -lsasl" + else + AC_MSG_ERROR([You must install the Cyrus SASL development package in order to compile spice-gtk]) + fi + CFLAGS="$old_cflags" + LIBS="$old_libs" + if test "x$with_sasl2" = "xyes" -o "x$with_sasl" = "xyes" ; then + AC_DEFINE_UNQUOTED([HAVE_SASL], 1, + [whether Cyrus SASL is available for authentication]) + enable_sasl=yes + fi +fi +AM_CONDITIONAL([HAVE_SASL], [test "x$with_sasl2" = "xyes" -o "x$with_sasl" = "xyes"]) +AC_SUBST([SASL_CFLAGS]) +AC_SUBST([SASL_LIBS]) + + +AC_MSG_CHECKING([which gtk+ version to compile against]) +AC_ARG_WITH([gtk], + [AS_HELP_STRING([--with-gtk=@<:@2.0/3.0@:>@],[which gtk+ version to compile against @<:@default=3.0@:>@])], + [case "$with_gtk" in + 2.0|3.0) ;; + *) AC_MSG_ERROR([invalid gtk version specified]) ;; + esac], + [with_gtk=3.0]) +AC_MSG_RESULT([$with_gtk]) + +case "$with_gtk" in + 2.0) GTK_API_VERSION=2.0 + GTK_REQUIRED=2.18.0 + SPICE_GTK_API_VERSION=2.0 + ;; + 3.0) GTK_API_VERSION=3.0 + GTK_REQUIRED=2.91.3 + SPICE_GTK_API_VERSION=3.0 + ;; +esac + +AC_SUBST([GTK_API_VERSION]) +AC_SUBST([GTK_REQUIRED]) +AC_SUBST([SPICE_GTK_API_VERSION]) +AM_CONDITIONAL([HAVE_GTK_2],[test "$with_gtk" = "2.0"]) +AM_CONDITIONAL([HAVE_GTK_3],[test "$with_gtk" = "3.0"]) + +PKG_CHECK_MODULES(GTK, gtk+-$GTK_API_VERSION >= $GTK_REQUIRED) +AC_SUBST(GTK_CFLAGS) +AC_SUBST(GTK_LIBS) +SPICE_GTK_REQUIRES="${SPICE_GLIB_REQUIRED} gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" + +PKG_CHECK_EXISTS([gtk+-x11-$with_gtk], [have_x11=yes], [have_x11=no]) +AS_IF([test "x$have_x11" = "xyes"], [AC_DEFINE([HAVE_X11], 1, [Have x11?])]) +AM_CONDITIONAL([WITH_DISPLAY_X11], [test "x$have_x11" = "xyes"]) + +PKG_CHECK_EXISTS([gtk+-quartz-$with_gtk], [have_quartz=yes], [have_quartz=no]) +AS_IF([test "x$have_quartz" = "xyes"], [AC_DEFINE([HAVE_QUARTZ], 1, [Have Quartz?])]) +AM_CONDITIONAL([WITH_DISPLAY_QUARTZ], [test "x$have_quartz" = "xyes"]) + +PKG_CHECK_EXISTS([gtk+-win32-$with_gtk], [have_win32=yes], [have_win32=no]) +AS_IF([test "x$have_win32" = "xyes"], [AC_DEFINE([HAVE_WINDOWS], 1, [Have Win32?])]) +AM_CONDITIONAL([WITH_DISPLAY_WINDOWS], [test "x$have_win32" = "xyes"]) + +if [test "x$have_x11" = "xyes" ] +then + PKG_CHECK_MODULES(XRANDR, x11 xrandr, [have_xrandr=yes], [have_xrandr=no]) + AC_SUBST(XRANDR_CFLAGS) + AC_SUBST(XRANDR_LIBS) + AS_IF([test "x$have_xrandr" = "xyes"], [AC_DEFINE([HAVE_RANDR], 1, [Have xrandr?])]) + + AC_CHECK_HEADERS([X11/XKBlib.h]) +fi + +AC_ARG_WITH([x11], + AS_HELP_STRING([--with-x11], [Use x11/shm display backend instead of cairo @<:@default=no@:>@])) + +AC_MSG_CHECKING([What rendering backend to use..]) +if [test "x$with_x11" = "xyes" ] +then + if [test "$GTK_API_VERSION" = "3.0" ] + then + AC_MSG_ERROR([X11 SHM backend is not compatible with GTK3]) + fi + AC_MSG_RESULT([x11]) + AC_DEFINE([WITH_X11], 1, [Use X11 backend?]) +else + AC_MSG_RESULT([cairo]) +fi +AM_CONDITIONAL([WITH_X11], [test "x$with_x11" = "xyes"]) + +AC_ARG_WITH([pnp-ids-path], + AC_HELP_STRING([--with-pnp-ids-path], + [Specify the path to pnp.ids @<:@default=(internal)@:>@]), + [], + [with_pnp_ids_path="\${pnpdatadir}/pnp.ids"]) + +AM_CONDITIONAL(USE_INTERNAL_PNP_IDS, test "x$with_pnp_ids_path" = "x\${pnpdatadir}/pnp.ids") +PNP_IDS=$with_pnp_ids_path +AC_SUBST(PNP_IDS) +if test "x$with_pnp_ids_path" = "x\${pnpdatadir}/pnp.ids"; then + EXTERNAL_PNP_IDS="no (internal)" +else + EXTERNAL_PNP_IDS="$with_pnp_ids_path" +fi + +AC_CHECK_FUNCS(clearenv) + +PKG_CHECK_MODULES(GLIB2, glib-2.0 >= 2.22) +AC_SUBST(GLIB2_CFLAGS) +AC_SUBST(GLIB2_LIBS) + +PKG_CHECK_MODULES(GOBJECT2, gobject-2.0) +AC_SUBST(GOBJECT2_CFLAGS) +AC_SUBST(GOBJECT2_LIBS) + +PKG_CHECK_MODULES(GIO, gio-2.0 >= 2.10.0 $gio_os) +AC_SUBST(GIO_CFLAGS) +AC_SUBST(GIO_LIBS) + +PKG_CHECK_EXISTS([gio-2.0 >= 2.26], [have_gproxy=yes]) +AM_CONDITIONAL([WITH_GPROXY], [test "x$have_gproxy" = "xyes"]) + +PKG_CHECK_MODULES(CAIRO, cairo >= 1.2.0) +AC_SUBST(CAIRO_CFLAGS) +AC_SUBST(CAIRO_LIBS) + +PKG_CHECK_MODULES(GTHREAD, gthread-2.0 > 2.0.0) +AC_SUBST(GTHREAD_CFLAGS) +AC_SUBST(GTHREAD_LIBS) + +AC_ARG_WITH([audio], + AS_HELP_STRING([--with-audio=@<:@gstreamer/pulse/no@:>@], [Select audio backend @<:@default=pulse@:>@]), + [], + [with_audio="pulse"]) + +case "$with_audio" in + gstreamer|pulse|no*) + ;; + *) AC_MSG_ERROR(Unsupported audio backend) +esac + +AS_IF([test "x$with_audio" = "xpulse"], + [PKG_CHECK_MODULES(PULSE, libpulse libpulse-mainloop-glib, [have_pulse=yes], [have_pulse=no])], + [have_pulse=no]) + +AS_IF([test "x$have_pulse" = "xyes"], + [AC_DEFINE([WITH_PULSE], 1, [Have pulseaudio?])], + [AS_IF([test "x$with_audio" = "xpulse"], + [AC_MSG_ERROR([PulseAudio requested but not found]) + ]) +]) +AM_CONDITIONAL([WITH_PULSE], [test "x$have_pulse" = "xyes"]) +AC_SUBST(PULSE_CFLAGS) +AC_SUBST(PULSE_LIBS) + +AS_IF([test "x$with_audio" = "xgstreamer"], + [PKG_CHECK_MODULES(GST, gstreamer-0.10 gstreamer-base-0.10 gstreamer-app-0.10 gstreamer-audio-0.10, [have_gst=yes], [have_gst=no])], + [have_gst=no]) + +AS_IF([test "x$have_gst" = "xyes"], + [AC_DEFINE([WITH_GSTAUDIO], 1, [Have GStreamer?])], + [AS_IF([test "x$with_audio" = "xgstreamer"], + [AC_MSG_ERROR([GStreamer requested but not found]) + ]) +]) +AM_CONDITIONAL([WITH_GSTAUDIO], [test "x$have_gst" = "xyes"]) +AC_SUBST(GST_CFLAGS) +AC_SUBST(GST_LIBS) + +AC_CHECK_LIB(jpeg, jpeg_destroy_decompress, + AC_MSG_CHECKING([for jpeglib.h]) + AC_TRY_CPP( +[#include <stdio.h> +#undef PACKAGE +#undef VERSION +#undef HAVE_STDLIB_H +#include <jpeglib.h>], + JPEG_LIBS='-ljpeg' + AC_MSG_RESULT($jpeg_ok), + AC_MSG_ERROR([jpeglib.h not found])), + AC_MSG_ERROR([libjpeg not found])) +AC_SUBST(JPEG_LIBS) + +AC_CHECK_LIB(z, deflate, Z_LIBS='-lz', AC_MSG_ERROR([zlib not found])) +AC_SUBST(Z_LIBS) + +AC_ARG_ENABLE([smartcard], + AS_HELP_STRING([--enable-smartcard=@<:@auto/yes/no@:>@], + [Enable smartcard support @<:@default=auto@:>@]), + [], + [enable_smartcard="auto"]) + +have_smartcard=no +if test "x$enable_smartcard" != "xno"; then + PKG_CHECK_MODULES(SMARTCARD, libcacard >= 0.1.2, [have_smartcard=yes], [have_smartcard=no]) + if test "x$enable_smartcard" != "xauto" && test "x$have_smartcard" = "xno"; then + AC_MSG_ERROR("Smartcard support requested but libcacard could not be found") + fi + if test "x$have_smartcard" = "xyes"; then + AC_DEFINE(USE_SMARTCARD, [1], [Define if supporting smartcard proxying]) + fi +fi +AM_CONDITIONAL([WITH_SMARTCARD], [test "x$have_smartcard" = "xyes"]) + +AC_ARG_ENABLE([usbredir], + AS_HELP_STRING([--enable-usbredir=@<:@auto/yes/no@:>@], + [Enable usbredir support @<:@default=auto@:>@]), + [], + [enable_usbredir="auto"]) + +if test "x$enable_usbredir" = "xno"; then + have_usbredir="no" +else + if ${PKG_CONFIG} libusbredirparser-0.5; then + PKG_CHECK_MODULES([USBREDIR], + [libusb-1.0 >= 1.0.9 libusbredirhost libusbredirparser-0.5], + [have_usbredir=yes], + [have_usbredir=no]) + else + PKG_CHECK_MODULES([USBREDIR], + [libusb-1.0 >= 1.0.9 libusbredirhost >= 0.4.2 libusbredirparser >= 0.4], + [have_usbredir=yes], + [have_usbredir=no]) + fi + if test "x$have_usbredir" = "xno" && test "x$enable_usbredir" = "xyes"; then + AC_MSG_ERROR([usbredir support explicitly requested, but some required packages are not available]) + fi + if test "x$have_usbredir" = "xyes"; then + AC_DEFINE(USE_USBREDIR, [1], [Define if supporting usbredir proxying]) + fi + + # Require gudev for non-windows + if test "x$os_win32" = "xno"; then + PKG_CHECK_MODULES([GUDEV], + [gudev-1.0], + [have_gudev=yes], + [have_gudev=no]) + + if test "x$have_usbredir" = "xyes" && test "x$have_gudev" = "xno"; then + AC_MSG_ERROR([usbredir requested but required gudev is not available]) + fi + AC_DEFINE(USE_GUDEV, [1], [Define if supporting gudev]) + fi +fi +AM_CONDITIONAL([WITH_USBREDIR], [test "x$have_usbredir" = "xyes"]) + +AC_ARG_ENABLE([polkit], + AS_HELP_STRING([--enable-polkit=@<:@auto/yes/no@:>@], + [Enable PolicyKit support (for the usb acl helper)@<:@default=auto@:>@]), + [], + [enable_polkit="auto"]) + +if test "x$have_usbredir" = "xyes" && test "x$enable_polkit" != "xno"; then + PKG_CHECK_MODULES([POLKIT], [polkit-gobject-1 >= 0.96], + [have_polkit=yes], + [have_polkit=no]) + AC_CHECK_HEADER([acl/libacl.h], [], [have_polkit=no]) + AC_CHECK_LIB([acl], [acl_get_file], [ACL_LIBS=-lacl], [have_polkit=no]) + if test "x$enable_polkit" = "xyes" && test "x$have_polkit" = "xno"; then + AC_MSG_ERROR([PolicyKit support explicitly requested, but some required packages are not available]) + fi + + if test "x$have_polkit" = "xyes"; then + AC_SUBST(ACL_LIBS) + AC_DEFINE(USE_POLKIT, [1], [Define if supporting polkit]) + fi + AM_CONDITIONAL([WITH_POLKIT], [test "x$have_polkit" = "xyes"]) + POLICYDIR=`${PKG_CONFIG} polkit-gobject-1 --variable=policydir` + AC_SUBST(POLICYDIR) + # Check for polkit_authority_get_sync() + AC_CHECK_LIB([polkit-gobject-1], [polkit_authority_get_sync], ac_have_pk_auth_get_sync="1", ac_have_pk_auth_get_sync="0") + AC_DEFINE_UNQUOTED(HAVE_POLKIT_AUTHORITY_GET_SYNC, $ac_have_pk_auth_get_sync, [Define if you have a polkit with polkit_authority_get_sync()]) + AC_CHECK_LIB([polkit-gobject-1], [polkit_authorization_result_get_dismissed], ac_have_pk_authorization_result_get_dismissed="1", ac_have_pk_authorization_result_get_dismissed="0") + AC_DEFINE_UNQUOTED(HAVE_POLKIT_AUTHORIZATION_RESULT_GET_DISMISSED, $ac_have_pk_authorization_result_get_dismissed, [Define if you have a polkit with polkit_authorization_result_get_dismissed()]) +else + AM_CONDITIONAL(WITH_POLKIT, false) +fi + +if test "x$have_usbredir" = "xyes" && test "x$have_polkit" != "xyes"; then + AC_MSG_WARN([Building with usbredir support, but *not* building the usb acl helper]) +fi + +AC_ARG_ENABLE([pie], + AS_HELP_STRING([--enable-pie=@<:@auto/yes/no@:>@], + [Enable position-independent-executable support (for the usb acl helper)@<:@default=auto@:>@]), + [], + [enable_pie="auto"]) + +if test "x$have_polkit" = "xyes" && test "x$enable_pie" != "xno"; then + save_CFLAGS="$CFLAGS" + save_LDFLAGS="$LDFLAGS" + CFLAGS="$CFLAGS -fPIE" + LDFLAGS="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now" + AC_MSG_CHECKING([for PIE support]) + AC_LINK_IFELSE([AC_LANG_SOURCE([void main () {}])], + [have_pie=yes], + [have_pie=no]) + AC_MSG_RESULT([$have_pie]) + if test "x$have_pie" = "xno" && test "x$enable_pie" = "xyes"; then + AC_MSG_ERROR([pie support explicitly requested, but your toolchain does not support it]) + fi + if test "x$have_pie" = "xyes"; then + PIE_CFLAGS="-fPIE" + PIE_LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now" + AC_SUBST(PIE_CFLAGS) + AC_SUBST(PIE_LDFLAGS) + fi + CFLAGS="$save_CFLAGS" + LDFLAGS="$save_LDFLAGS" +fi + +AC_ARG_WITH([usb-acl-helper-dir], + AS_HELP_STRING([--with-usb-acl-helper-dir=DIR], + [Directory where the USB ACL helper binary should be installed]), + [ACL_HELPER_DIR="$with_usb_acl_helper_dir"], + [ACL_HELPER_DIR="${bindir}/"]) +AC_SUBST([ACL_HELPER_DIR]) + +AC_ARG_WITH([usb-ids-path], + AC_HELP_STRING([--with-usb-ids-path], + [Specify the path to usb.ids @<:@default=auto@:>@]), + [USB_IDS="$with_usb_ids_path"], + [USB_IDS="auto"]) +AC_MSG_CHECKING([for usb.ids]) +if test "x$USB_IDS" = "xauto"; then + if test -n "$PKG_CONFIG"; then + USB_IDS=$($PKG_CONFIG --variable=usbids usbutils) + else + USB_IDS= + fi +fi +if test -n "$USB_IDS"; then + AC_MSG_RESULT([$USB_IDS]) + AC_SUBST(USB_IDS) + AC_DEFINE(WITH_USBIDS, [1], [Define if compiling with usb.ids support]) +else + AC_MSG_RESULT([not found]) +fi + +AC_ARG_WITH([coroutine], + AS_HELP_STRING([--with-coroutine=@<:@ucontext/gthread/winfiber/auto@:>@], + [use ucontext or GThread for coroutines @<:@default=auto@:>@]), + [], + [with_coroutine=auto]) + +case $with_coroutine in + ucontext|gthread|winfiber|auto) ;; + *) AC_MSG_ERROR(Unsupported coroutine type) +esac + +if test "$with_coroutine" = "auto"; then + if test "$os_win32" = "yes"; then + with_coroutine=winfiber + else + with_coroutine=ucontext + fi +fi + +if test "$with_coroutine" = "ucontext"; then + AC_CHECK_FUNC(makecontext, [],[with_coroutine=gthread]) + AC_CHECK_FUNC(swapcontext, [],[with_coroutine=gthread]) + AC_CHECK_FUNC(getcontext, [],[with_coroutine=gthread]) +fi + +WITH_UCONTEXT=0 +WITH_GTHREAD=0 +WITH_WINFIBER=0 + +case $with_coroutine in + ucontext) WITH_UCONTEXT=1 ;; + gthread) WITH_GTHREAD=1 ;; + winfiber) WITH_WINFIBER=1 ;; + *) AC_MSG_ERROR(Unsupported coroutine type) +esac + +AC_DEFINE_UNQUOTED(WITH_UCONTEXT,[$WITH_UCONTEXT], [Whether to use ucontext coroutine impl]) +AM_CONDITIONAL(WITH_UCONTEXT, [test "x$WITH_UCONTEXT" = "x1"]) + +AC_DEFINE_UNQUOTED(WITH_WINFIBER,[$WITH_WINFIBER], [Whether to use fiber coroutine impl]) +AM_CONDITIONAL(WITH_WINFIBER, [test "x$WITH_WINFIBER" = "x1"]) + +AC_DEFINE_UNQUOTED(WITH_GTHREAD,[$WITH_GTHREAD], [Whether to use gthread coroutine impl]) +AM_CONDITIONAL(WITH_GTHREAD, [test "x$WITH_GTHREAD" = "x1"]) + +AM_CONDITIONAL([HAVE_INTROSPECTION], [test "0" != "1"]) +PKG_CHECK_EXISTS([GOBJECT_INTROSPECTION], + [gobject-introspection-1.0 >= 0.9.4], + [has_symbol_prefix=yes], [:]) +GOBJECT_INTROSPECTION_CHECK([0.6.7]) +AM_CONDITIONAL([G_IR_SCANNER_SYMBOL_PREFIX], [test "x$has_symbol_prefix" = "xyes"]) + +AC_ARG_ENABLE([controller], + AS_HELP_STRING([--enable-controller], [Enable controller build @<:@default=yes@:>@]), + [], + enable_controller="yes") + +AM_CONDITIONAL(WITH_CONTROLLER, [test "x$enable_controller" != "xno"]) + +AC_ARG_ENABLE([vala], + AS_HELP_STRING([--enable-vala], [Check for vala requirements @<:@default=no@:>@]), + [], + enable_vala="no") + +VALA_REQUIRED=0.14 +if test x$enable_vala = xyes ; then + # check for vala + AM_PROG_VALAC([$VALA_REQUIRED]) + AC_PATH_PROG(VAPIGEN, vapigen, no) + if test "x$VAPIGEN" == "xno"; then + AC_MSG_ERROR([Cannot find the "vapigen" binary in your PATH]) + fi + AC_SUBST(VAPIGEN) +fi + +AM_CONDITIONAL(WITH_VALA, [test "x$enable_vala" = "xyes"]) + +VAPIDIR="${datadir}/vala/vapi" +AC_SUBST(VAPIDIR) + +AC_ARG_WITH([python], + AS_HELP_STRING([--with-python], [build python bindings @<:@default=yes@:>@]), + [case "${withval}" in + yes|no) ;; + *) AC_MSG_ERROR([bad value ${withval} for python option]) ;; + esac], + [withval=yes]) + +if test "$with_gtk" = "3.0" +then + WITH_PYTHON=no +else + WITH_PYTHON=$withval +fi + +if test "$WITH_PYTHON" = "yes"; then + PKG_CHECK_MODULES(PYGTK, pygtk-2.0 >= 2.0.0) + AC_SUBST(PYGTK_CFLAGS) + AC_SUBST(PYGTK_LIBS) + + AM_PATH_PYTHON + + AC_MSG_CHECKING([whether $PYTHON version >= 2.0]) + HAVE_PYTHON_REQUIRED=no + AM_PYTHON_CHECK_VERSION([$PYTHON], [2.0], + [HAVE_PYTHON_REQUIRED="yes"], + [HAVE_PYTHON_REQUIRED="no"]) + + AC_MSG_RESULT($HAVE_PYTHON_REQUIRED) + + if test "x$HAVE_PYTHON_REQUIRED" != "xyes" + then + AC_MSG_ERROR("No suitable python found") + fi + + AM_CHECK_PYTHON_HEADERS(have_python_headers=yes,have_python_headers=no) + + if test "x$have_python_headers" != "xyes" + then + AC_MSG_ERROR("No python development headers found") + fi +fi + +AM_CONDITIONAL(WITH_PYTHON, [test "$WITH_PYTHON" = "yes"]) + + +AC_ARG_ENABLE([dbus], + AS_HELP_STRING([--enable-dbus=@<:@auto/yes/no@:>@], + [Enable dbus support for desktop integration (disabling automount) @<:@default=auto@:>@]), + [], + [enable_dbus="auto"]) + +if test "x$enable_dbus" != "xno"; then + PKG_CHECK_MODULES([DBUS_GLIB], [dbus-glib-1], + [have_dbus=yes], + [have_dbus=no]) + if test "x$enable_dbus" = "xyes" && test "x$have_dbus" = "xno"; then + AC_MSG_ERROR([D-Bus support explicitly requested, but some required packages are not available]) + fi + + if test "x$have_dbus" = "xyes"; then + AC_DEFINE(USE_DBUS, [1], [Define if supporting dbus]) + fi +fi + +dnl =========================================================================== +dnl check compiler flags + +# We want to enable these, but need to sort out the +# decl mess with gtk/generated_*.c +dontwarn="-Wmissing-prototypes -Wmissing-declarations" + +# We want to enable these, but Gtk+2.0 has a bad decl +# gtk-2.0/gtk/gtkitemfactory.h:47:1: error: function declaration +# isn't a prototype. +if test "$with_gtk" = "2.0"; then + dontwarn="$dontwarn -Wstrict-prototypes" +fi + +SPICE_COMPILE_WARNINGS([$dontwarn]) + +SPICE_CFLAGS="$SPICE_CFLAGS $WARN_CFLAGS" + +AC_SUBST(SPICE_CFLAGS) + +SPICE_GLIB_CFLAGS="$PROTOCOL_CFLAGS $PIXMAN_CFLAGS $CELT051_CFLAGS $PULSE_CFLAGS $GST_CFLAGS $GLIB2_CFLAGS $GIO_CFLAGS $GOBJECT2_CFLAGS $SSL_CFLAGS $SASL_CFLAGS" +SPICE_GTK_CFLAGS="$SPICE_GLIB_CFLAGS $GTK_CFLAGS " + +AC_SUBST(SPICE_GLIB_CFLAGS) +AC_SUBST(SPICE_GTK_CFLAGS) + +AC_SUBST(SPICE_GLIB_REQUIRES) +AC_SUBST(SPICE_GTK_REQUIRES) + +m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) + +AC_OUTPUT([ +Makefile +spice-client-glib-2.0.pc +spice-client-gtk-2.0.pc +spice-client-gtk-3.0.pc +spice-controller.pc +data/Makefile +data/spicy.desktop.in +data/spicy.nsis +po/Makefile.in +gtk/Makefile +gtk/controller/Makefile +doc/Makefile +doc/reference/Makefile +vapi/Makefile +]) + +dnl ========================================================================== +AC_MSG_NOTICE([ + + Spice-Gtk $VERSION + ============== + + prefix: ${prefix} + c compiler: ${CC} + + Coroutine: ${with_coroutine} + Audio: ${with_audio} + Target: ${red_target} + SASL support: ${enable_sasl} + Smartcard support: ${have_smartcard} + USB redirection support: ${have_usbredir} + Gtk: $GTK_API_VERSION + + Now type 'make' to build $PACKAGE + +]) diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/data/Makefile.am b/tizen/distrib/remote/client/spice-gtk-0.19/data/Makefile.am new file mode 100644 index 0000000..71934af --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/data/Makefile.am @@ -0,0 +1,37 @@ +NULL= + +# TODO: not sure if we want to do that +#desktopdir = $(datadir)/applications +#desktop_in_files = spicy.desktop.in +#desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) +#@INTLTOOL_DESKTOP_RULE@ +# +#MIMEFILES = spice-mime.xml.in +#mimedir = $(datadir)/mime/packages +#mime_DATA = spice-mime.xml +#@INTLTOOL_XML_RULE@ + +EXTRA_DIST = \ + spicy.nsis \ + spice-mime.xml.in spicy.desktop.in \ + spice-protocol.vapi \ + gtkrc \ + $(desktop_in_files) \ + org.spice-space.lowlevelusbaccess.policy \ + $(NULL) + +CLEANFILES = \ + $(desktop_DATA) \ + $(NULL) + +DISTCLEANFILES = \ + $(desktop_DATA) \ + $(NULL) + +vapidir = $(VAPIDIR) +vapi_DATA = spice-protocol.vapi + +policydir = $(POLICYDIR) +policy_DATA = org.spice-space.lowlevelusbaccess.policy + +-include $(top_srcdir)/git.mk diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/data/Makefile.in b/tizen/distrib/remote/client/spice-gtk-0.19/data/Makefile.in new file mode 100644 index 0000000..cfeed41 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/data/Makefile.in @@ -0,0 +1,639 @@ +# Makefile.in generated by automake 1.13.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2012 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@ + +VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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 = data +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ + $(srcdir)/spicy.desktop.in.in $(srcdir)/spicy.nsis.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/check_python.m4 \ + $(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/intltool.m4 \ + $(top_srcdir)/m4/ld-version.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/m4/manywarnings.m4 \ + $(top_srcdir)/m4/spice-compile-warnings.m4 \ + $(top_srcdir)/m4/warnings.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 = spicy.desktop.in spicy.nsis +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +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; }; \ + } +am__installdirs = "$(DESTDIR)$(policydir)" "$(DESTDIR)$(vapidir)" +DATA = $(policy_DATA) $(vapi_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ACL_HELPER_DIR = @ACL_HELPER_DIR@ +ACL_LIBS = @ACL_LIBS@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CAIRO_CFLAGS = @CAIRO_CFLAGS@ +CAIRO_LIBS = @CAIRO_LIBS@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CELT051_CFLAGS = @CELT051_CFLAGS@ +CELT051_LIBDIR = @CELT051_LIBDIR@ +CELT051_LIBS = @CELT051_LIBS@ +CFLAGS = @CFLAGS@ +COMMON_CFLAGS = @COMMON_CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DBUS_GLIB_CFLAGS = @DBUS_GLIB_CFLAGS@ +DBUS_GLIB_LIBS = @DBUS_GLIB_LIBS@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GIO_CFLAGS = @GIO_CFLAGS@ +GIO_LIBS = @GIO_LIBS@ +GLIB2_CFLAGS = @GLIB2_CFLAGS@ +GLIB2_LIBS = @GLIB2_LIBS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GOBJECT2_CFLAGS = @GOBJECT2_CFLAGS@ +GOBJECT2_LIBS = @GOBJECT2_LIBS@ +GREP = @GREP@ +GST_CFLAGS = @GST_CFLAGS@ +GST_LIBS = @GST_LIBS@ +GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ +GTHREAD_LIBS = @GTHREAD_LIBS@ +GTKDOC_CHECK = @GTKDOC_CHECK@ +GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ +GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ +GTKDOC_MKPDF = @GTKDOC_MKPDF@ +GTKDOC_REBASE = @GTKDOC_REBASE@ +GTK_API_VERSION = @GTK_API_VERSION@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +GTK_REQUIRED = @GTK_REQUIRED@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +HTML_DIR = @HTML_DIR@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@ +INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@ +INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@ +INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@ +INTROSPECTION_LIBS = @INTROSPECTION_LIBS@ +INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@ +INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@ +INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@ +JPEG_LIBS = @JPEG_LIBS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBM = @LIBM@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PIE_CFLAGS = @PIE_CFLAGS@ +PIE_LDFLAGS = @PIE_LDFLAGS@ +PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ +PIXMAN_LIBS = @PIXMAN_LIBS@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PNP_IDS = @PNP_IDS@ +POFILES = @POFILES@ +POLICYDIR = @POLICYDIR@ +POLKIT_CFLAGS = @POLKIT_CFLAGS@ +POLKIT_LIBS = @POLKIT_LIBS@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PULSE_CFLAGS = @PULSE_CFLAGS@ +PULSE_LIBS = @PULSE_LIBS@ +PYGTK_CFLAGS = @PYGTK_CFLAGS@ +PYGTK_LIBS = @PYGTK_LIBS@ +PYTHON = @PYTHON@ +PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ +PYTHON_INCLUDES = @PYTHON_INCLUDES@ +PYTHON_PLATFORM = @PYTHON_PLATFORM@ +PYTHON_PREFIX = @PYTHON_PREFIX@ +PYTHON_VERSION = @PYTHON_VERSION@ +RANLIB = @RANLIB@ +SASL_CFLAGS = @SASL_CFLAGS@ +SASL_LIBS = @SASL_LIBS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SMARTCARD_CFLAGS = @SMARTCARD_CFLAGS@ +SMARTCARD_LIBS = @SMARTCARD_LIBS@ +SPICE_CFLAGS = @SPICE_CFLAGS@ +SPICE_GLIB_CFLAGS = @SPICE_GLIB_CFLAGS@ +SPICE_GLIB_REQUIRES = @SPICE_GLIB_REQUIRES@ +SPICE_GTK_API_VERSION = @SPICE_GTK_API_VERSION@ +SPICE_GTK_CFLAGS = @SPICE_GTK_CFLAGS@ +SPICE_GTK_LOCALEDIR = @SPICE_GTK_LOCALEDIR@ +SPICE_GTK_REQUIRES = @SPICE_GTK_REQUIRES@ +SSL_CFLAGS = @SSL_CFLAGS@ +SSL_LIBS = @SSL_LIBS@ +STOW = @STOW@ +STRIP = @STRIP@ +USBREDIR_CFLAGS = @USBREDIR_CFLAGS@ +USBREDIR_LIBS = @USBREDIR_LIBS@ +USB_IDS = @USB_IDS@ +USE_NLS = @USE_NLS@ +VALAC = @VALAC@ +VAPIDIR = @VAPIDIR@ +VAPIGEN = @VAPIGEN@ +VERSION = @VERSION@ +WARN_CFLAGS = @WARN_CFLAGS@ +WARN_LDFLAGS = @WARN_LDFLAGS@ +WARN_PYFLAGS = @WARN_PYFLAGS@ +XGETTEXT = @XGETTEXT@ +XRANDR_CFLAGS = @XRANDR_CFLAGS@ +XRANDR_LIBS = @XRANDR_LIBS@ +Z_LIBS = @Z_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgpyexecdir = @pkgpyexecdir@ +pkgpythondir = @pkgpythondir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +pyexecdir = @pyexecdir@ +pythondir = @pythondir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +subdirs = @subdirs@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +NULL = + +# TODO: not sure if we want to do that +#desktopdir = $(datadir)/applications +#desktop_in_files = spicy.desktop.in +#desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) +#@INTLTOOL_DESKTOP_RULE@ +# +#MIMEFILES = spice-mime.xml.in +#mimedir = $(datadir)/mime/packages +#mime_DATA = spice-mime.xml +#@INTLTOOL_XML_RULE@ +EXTRA_DIST = \ + spicy.nsis \ + spice-mime.xml.in spicy.desktop.in \ + spice-protocol.vapi \ + gtkrc \ + $(desktop_in_files) \ + org.spice-space.lowlevelusbaccess.policy \ + $(NULL) + +CLEANFILES = \ + $(desktop_DATA) \ + $(NULL) + +DISTCLEANFILES = \ + $(desktop_DATA) \ + $(NULL) + +vapidir = $(VAPIDIR) +vapi_DATA = spice-protocol.vapi +policydir = $(POLICYDIR) +policy_DATA = org.spice-space.lowlevelusbaccess.policy +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(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) --foreign data/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign data/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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): +spicy.desktop.in: $(top_builddir)/config.status $(srcdir)/spicy.desktop.in.in + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ +spicy.nsis: $(top_builddir)/config.status $(srcdir)/spicy.nsis.in + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-policyDATA: $(policy_DATA) + @$(NORMAL_INSTALL) + @list='$(policy_DATA)'; test -n "$(policydir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(policydir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(policydir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(policydir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(policydir)" || exit $$?; \ + done + +uninstall-policyDATA: + @$(NORMAL_UNINSTALL) + @list='$(policy_DATA)'; test -n "$(policydir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(policydir)'; $(am__uninstall_files_from_dir) +install-vapiDATA: $(vapi_DATA) + @$(NORMAL_INSTALL) + @list='$(vapi_DATA)'; test -n "$(vapidir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(vapidir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(vapidir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(vapidir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(vapidir)" || exit $$?; \ + done + +uninstall-vapiDATA: + @$(NORMAL_UNINSTALL) + @list='$(vapi_DATA)'; test -n "$(vapidir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(vapidir)'; $(am__uninstall_files_from_dir) +tags TAGS: + +ctags CTAGS: + +cscope cscopelist: + + +distdir: $(DISTFILES) + @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 $(DATA) +installdirs: + for dir in "$(DESTDIR)$(policydir)" "$(DESTDIR)$(vapidir)"; 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: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +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) + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool 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-policyDATA install-vapiDATA + +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-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 mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-policyDATA uninstall-vapiDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + cscopelist-am ctags-am distclean distclean-generic \ + distclean-libtool 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-pdf install-pdf-am install-policyDATA install-ps \ + install-ps-am install-strip install-vapiDATA installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \ + uninstall-am uninstall-policyDATA uninstall-vapiDATA + + +-include $(top_srcdir)/git.mk + +# 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: diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/data/gtkrc b/tizen/distrib/remote/client/spice-gtk-0.19/data/gtkrc new file mode 100644 index 0000000..4a0ddd0 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/data/gtkrc @@ -0,0 +1 @@ +gtk-theme-name = "MS-Windows" diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/data/org.spice-space.lowlevelusbaccess.policy b/tizen/distrib/remote/client/spice-gtk-0.19/data/org.spice-space.lowlevelusbaccess.policy new file mode 100644 index 0000000..535ee31 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/data/org.spice-space.lowlevelusbaccess.policy @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE policyconfig PUBLIC + "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" + "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd"> +<policyconfig> + + <vendor>The Spice Project</vendor> + <vendor_url>http://spice-space.org/</vendor_url> + <icon_name>spice</icon_name> + + <action id="org.spice-space.lowlevelusbaccess"> + <description>Low level USB device access</description> + <message>Privileges are required for low level USB device access (for usb device pass through).</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>yes</allow_active> + </defaults> + </action> + +</policyconfig> diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/data/spice-mime.xml.in b/tizen/distrib/remote/client/spice-gtk-0.19/data/spice-mime.xml.in new file mode 100644 index 0000000..3bfd575 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/data/spice-mime.xml.in @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> + <mime-type type="application/x-spice"> + <sub-class-of type="text/plain"/> + <_comment>Remote Desktop (SPICE) file</_comment> + <glob pattern="*.spice"/> + </mime-type> +</mime-info> diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/data/spice-protocol.vapi b/tizen/distrib/remote/client/spice-gtk-0.19/data/spice-protocol.vapi new file mode 100644 index 0000000..cca03ed --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/data/spice-protocol.vapi @@ -0,0 +1,210 @@ +namespace SpiceProtocol { + [CCode (cprefix = "Controller", cheader_filename = "spice/controller_prot.h")] + namespace Controller { + [CCode (cname = "CONTROLLER_MAGIC")] + public const uint32 MAGIC; + [CCode (cname = "CONTROLLER_VERSION")] + public const int VERSION; + + [Compact] + public struct InitHeader { + uint32 magic; + uint32 version; + uint32 size; + } + + [Compact] + public struct Init { + InitHeader base; + uint64 credentials; + uint32 flags; + } + + [CCode (cprefix = "CONTROLLER_FLAG_")] + [Flags] + public enum Flag { + EXCLUSIVE, + } + + [Compact] + public struct Msg { + uint32 id; + uint32 size; + } + + [CCode (cprefix = "CONTROLLER_")] + public enum MsgId { + //external app -> spice client + HOST, + PORT, + SPORT, + PASSWORD, + + SECURE_CHANNELS, + DISABLE_CHANNELS, + + TLS_CIPHERS, + CA_FILE, + HOST_SUBJECT, + + FULL_SCREEN, + SET_TITLE, + + CREATE_MENU, + DELETE_MENU, + + HOTKEYS, + SEND_CAD, + + CONNECT, + SHOW, + HIDE, + + ENABLE_SMARTCARD, + + ENABLE_USB, + ENABLE_USB_AUTOSHARE, + USB_FILTER, + + PROXY, + + //spice client -> external app + MENU_ITEM_CLICK, + + COLOR_DEPTH, + DISABLE_EFFECTS, + } + + [CCode (cname = "unsigned int", cprefix = "CONTROLLER_", has_type_id = false)] + [Flags] + public enum Display { + SET_FULL_SCREEN, + AUTO_DISPLAY_RES, + } + + [Compact] + [CCode (cname = "ControllerValue")] + public struct MsgValue: Msg { + Msg base; + uint32 value; + } + + [Compact] + [CCode (cname = "ControllerData")] + public struct MsgData { + Msg base; + uint8 data[0]; + } + + [CCode (cname = "CONTROLLER_MENU_ITEM_DELIMITER")] + public static string MENU_ITEM_DELIMITER; + [CCode (cname = "CONTROLLER_MENU_PARAM_DELIMITER")] + public static string MENU_PARAM_DELIMITER; + + [CCode (cname = "SPICE_MENU_INTERNAL_ID_BASE")] + public static int MENU_INTERNAL_ID_BASE; + [CCode (cname = "SPICE_MENU_INTERNAL_ID_SHIFT")] + public static int MENU_INTERNAL_ID_SHIFT; + + [CCode (cprefix = "CONTROLLER_MENU_FLAGS_", cname = "unsigned int", has_type_id = false)] + [Flags] + public enum MenuFlags { + SEPARATOR, + DISABLED, + POPUP, + CHECKED, + GRAYED, + } + } + + [CCode (cprefix = "FrgMenu", cheader_filename = "spice/foreign_menu_prot.h")] + namespace ForeignMenu { + [CCode (cname = "FOREIGN_MENU_MAGIC")] + public const uint32 MAGIC; + [CCode (cname = "FOREIGN_MENU_VERSION")] + public const int VERSION; + + [Compact] + public struct InitHeader { + uint32 magic; + uint32 version; + uint32 size; + } + + [Compact] + [CCode (has_destroy_function = false)] + public struct Init { + InitHeader base; + uint64 credentials; + string title; // utf8 + } + + [Compact] + public struct Msg { + uint32 id; + uint32 size; + } + + [CCode (cprefix = "FOREIGN_MENU_", cname = "int")] + public enum MsgId { + //external app -> spice client + SET_TITLE, + ADD_ITEM, + MODIFY_ITEM, + REMOVE_ITEM, + CLEAR, + + //spice client -> external app + ITEM_EVENT, + APP_ACTIVATED, + APP_DEACTIVATED, + } + + [Compact] + [CCode (cname = "FrgMenuSetTitle")] + public struct SetTitle { + Msg base; + string string; // utf8 + } + + [CCode (cprefix = "FOREIGN_MENU_ITEM_TYPE_", cname = "unsigned int", has_type_id = false)] + [Flags] + public enum MenuFlags { + CHECKED, + DIM, + SEPARATOR + } + + [Compact] + [CCode (cname = "FrgMenuAddItem")] + public struct AddItem { + Msg base; + uint32 id; + uint32 type; + uint32 position; + string string; // utf8 + } + + [Compact] + [CCode (cname = "FrgMenuRmItem")] + public struct RmItem { + Msg base; + uint32 id; + } + + [CCode (cprefix = "FOREIGN_MENU_EVENT_", cname = "int")] + public enum EventType { + CLICK, + CHECKED, + UNCHECKED, + } + + [Compact] + [CCode (cname = "FrgMenuEvent")] + public struct Event { + Msg base; + uint32 id; + uint32 action; + } + } +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/data/spicy.desktop.in.in b/tizen/distrib/remote/client/spice-gtk-0.19/data/spicy.desktop.in.in new file mode 100644 index 0000000..b2e5b30 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/data/spicy.desktop.in.in @@ -0,0 +1,10 @@ +[Desktop Entry] +_Name=SPICE Remote Desktop Viewer +_Comment=Access remote SPICE desktops +Exec=spicy +#Icon=spice +Terminal=false +MimeType=x-scheme-handler/spice +Type=Application +StartupNotify=true +Categories=GNOME;GTK;Network;RemoteAccess; diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/data/spicy.nsis.in b/tizen/distrib/remote/client/spice-gtk-0.19/data/spicy.nsis.in new file mode 100644 index 0000000..4a01a31 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/data/spicy.nsis.in @@ -0,0 +1,239 @@ +#!Nsis Installer Command Script +# +# This is an NSIS Installer Command Script generated automatically +# by the Fedora nsiswrapper program. For more information see: +# +# http://fedoraproject.org/wiki/MinGW +# +# To build an installer from the script you would normally do: +# +# makensis spicy.nsis +# +# which will generate the output file 'spicy-@VERSION@.exe' which is a Windows +# installer containing your program. + +Name "spicy" +OutFile "spicy-@VERSION@.exe" +InstallDir "c:\spicy" +InstallDirRegKey HKLM SOFTWARE\spicy "Install_Dir" + +ShowInstDetails hide +ShowUninstDetails hide + +# Uncomment this to enable BZip2 compression, which results in +# slightly smaller files but uses more memory at install time. +SetCompressor bzip2 + +XPStyle on + +Page components +Page directory +Page instfiles + +ComponentText "Select which optional components you want to install." + +DirText "Please select the installation folder." + +Section "spicy" + SectionIn RO + + SetOutPath "$INSTDIR\bin" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-discoverer-0.10.exe" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-feedback.exe" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-inspect-0.10.exe" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-inspect.exe" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-launch-0.10.exe" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-launch.exe" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-typefind-0.10.exe" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-typefind.exe" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-xmlinspect-0.10.exe" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-xmlinspect.exe" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-xmllaunch-0.10.exe" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-xmllaunch.exe" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libatk-1.0-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libcairo-2.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libcelt051-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libcrypto-10.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libexpat-1.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libffi-6.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libfontconfig-1.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libfreetype-6.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgdk-win32-2.0-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgdk-win32-2.0-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgdk_pixbuf-2.0-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgdk_pixbuf-2.0-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgio-2.0-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libglib-2.0-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgmodule-2.0-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgobject-2.0-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstapp-0.10-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstaudio-0.10-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstbase-0.10-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstcontroller-0.10-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstfft-0.10-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstinterfaces-0.10-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstpbutils-0.10-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstreamer-0.10-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstvideo-0.10-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgthread-2.0-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgtk-win32-2.0-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/iconv.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libintl-8.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libjpeg-62.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/liborc-0.4-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/liborc-test-0.4-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libpango-1.0-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libpangocairo-1.0-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libpangoft2-1.0-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libpangowin32-1.0-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libpixman-1-0.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libpng15-15.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libspice-client-glib-2.0-1.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libspice-client-gtk-2.0-1.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libssl-10.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libxml2-2.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/pango-querymodules.exe" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/snappy.exe" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/spicy.exe" + File "/usr/i686-w64-mingw32/sys-root/mingw/bin/zlib1.dll" + + SetOutPath "$INSTDIR\etc" + File /r "/usr/i686-w64-mingw32/sys-root/mingw/etc/fonts" + File /r "/usr/i686-w64-mingw32/sys-root/mingw/etc/gtk-2.0" + CreateDirectory "$INSTDIR\etc\pango" + + SetOutPath "$INSTDIR\etc\gtk-2.0" + File /r "gtkrc" + + SetOutPath "$INSTDIR\lib" + File /r "/usr/i686-w64-mingw32/sys-root/mingw/lib/gdk-pixbuf-2.0" + File /r "/usr/i686-w64-mingw32/sys-root/mingw/lib/gtk-2.0" + File /r "/usr/i686-w64-mingw32/sys-root/mingw/lib/pango" + + SetOutPath "$INSTDIR\lib\gstreamer-0.10" + File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstapp.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstaudioconvert.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstaudiofx.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstaudiorate.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstaudioresample.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstaudiotestsrc.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstautodetect.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstcoreelements.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstdirectsoundsink.dll" + File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstdirectsoundsrc.dll" + + SetOutPath "$INSTDIR\share\themes\MS-Windows\gtk-2.0" + File "/usr/i686-w64-mingw32/sys-root/mingw/share/themes/MS-Windows/gtk-2.0/gtkrc" + + ReadEnvStr $0 COMSPEC + SetOutPath "$INSTDIR" + nsExec::ExecToLog '$0 /C bin\pango-querymodules.exe > etc\pango\pango.modules' +SectionEnd + +Section "Start Menu Shortcuts" + CreateDirectory "$SMPROGRAMS\spicy" + CreateShortCut "$SMPROGRAMS\spicy\Uninstall spicy.lnk" "$INSTDIR\Uninstall spicy.exe" "" "$INSTDIR\Uninstall spicy.exe" 0 + CreateShortCut "$SMPROGRAMS\spicy\spicy.exe.lnk" "$INSTDIR\bin\spicy.exe" "" "$INSTDIR\bin\spicy.exe" 0 +SectionEnd + +Section "Desktop Icons" + CreateShortCut "$DESKTOP\spicy.exe.lnk" "$INSTDIR\bin\spicy.exe" "" "$INSTDIR\bin\spicy.exe" 0 +SectionEnd + +Section "Uninstall" + Delete /rebootok "$DESKTOP\spicy.exe.lnk" + Delete /rebootok "$SMPROGRAMS\spicy\spicy.exe.lnk" + Delete /rebootok "$SMPROGRAMS\spicy\Uninstall spicy.lnk" + RMDir "$SMPROGRAMS\spicy" + + RMDir /r "$INSTDIR\lib\pango" + + RMDir /r "$INSTDIR\lib\gtk-2.0" + + Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstdirectsoundsrc.dll" + Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstdirectsoundsink.dll" + Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstcoreelements.dll" + Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstautodetect.dll" + Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstaudiotestsrc.dll" + Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstaudioresample.dll" + Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstaudiorate.dll" + Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstaudiofx.dll" + Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstaudioconvert.dll" + Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstapp.dll" + RMDir "$INSTDIR\lib\gstreamer-0.10" + + RMDir /r "$INSTDIR\lib\gdk-pixbuf-2.0" + + RMDir /r "$INSTDIR\etc\pango" + + RMDir /r "$INSTDIR\etc\gtk-2.0" + + RMDir /r "$INSTDIR\etc\fonts" + + Delete /rebootok "$INSTDIR\bin\spicy.exe" + Delete /rebootok "$INSTDIR\bin\snappy.exe" + Delete /rebootok "$INSTDIR\bin\pango-querymodules.exe" + Delete /rebootok "$INSTDIR\bin\libpangoft2-1.0-0.dll" + Delete /rebootok "$INSTDIR\bin\libgdk_pixbuf-2.0-0.dll" + Delete /rebootok "$INSTDIR\bin\libgdk-win32-2.0-0.dll" + Delete /rebootok "$INSTDIR\bin\gst-xmllaunch.exe" + Delete /rebootok "$INSTDIR\bin\gst-xmllaunch-0.10.exe" + Delete /rebootok "$INSTDIR\bin\gst-xmlinspect.exe" + Delete /rebootok "$INSTDIR\bin\gst-xmlinspect-0.10.exe" + Delete /rebootok "$INSTDIR\bin\gst-typefind.exe" + Delete /rebootok "$INSTDIR\bin\gst-typefind-0.10.exe" + Delete /rebootok "$INSTDIR\bin\gst-launch.exe" + Delete /rebootok "$INSTDIR\bin\gst-launch-0.10.exe" + Delete /rebootok "$INSTDIR\bin\gst-inspect.exe" + Delete /rebootok "$INSTDIR\bin\gst-inspect-0.10.exe" + Delete /rebootok "$INSTDIR\bin\gst-feedback.exe" + Delete /rebootok "$INSTDIR\bin\gst-discoverer-0.10.exe" + RMDir "$INSTDIR\bin" + + Delete /rebootok "$INSTDIR\bin\libffi-6.dll" + Delete /rebootok "$INSTDIR\bin\zlib1.dll" + Delete /rebootok "$INSTDIR\bin\libxml2-2.dll" + Delete /rebootok "$INSTDIR\bin\libssl-10.dll" + Delete /rebootok "$INSTDIR\bin\libspice-client-gtk-2.0-1.dll" + Delete /rebootok "$INSTDIR\bin\libspice-client-glib-2.0-1.dll" + Delete /rebootok "$INSTDIR\bin\libpng15-15.dll" + Delete /rebootok "$INSTDIR\bin\libpixman-1-0.dll" + Delete /rebootok "$INSTDIR\bin\libpangowin32-1.0-0.dll" + Delete /rebootok "$INSTDIR\bin\libpangocairo-1.0-0.dll" + Delete /rebootok "$INSTDIR\bin\libpango-1.0-0.dll" + Delete /rebootok "$INSTDIR\bin\liborc-test-0.4-0.dll" + Delete /rebootok "$INSTDIR\bin\liborc-0.4-0.dll" + Delete /rebootok "$INSTDIR\bin\libjpeg-62.dll" + Delete /rebootok "$INSTDIR\bin\libintl-8.dll" + Delete /rebootok "$INSTDIR\bin\iconv.dll" + Delete /rebootok "$INSTDIR\bin\libgtk-win32-2.0-0.dll" + Delete /rebootok "$INSTDIR\bin\libgthread-2.0-0.dll" + Delete /rebootok "$INSTDIR\bin\libgstvideo-0.10-0.dll" + Delete /rebootok "$INSTDIR\bin\libgstreamer-0.10-0.dll" + Delete /rebootok "$INSTDIR\bin\libgstpbutils-0.10-0.dll" + Delete /rebootok "$INSTDIR\bin\libgstinterfaces-0.10-0.dll" + Delete /rebootok "$INSTDIR\bin\libgstfft-0.10-0.dll" + Delete /rebootok "$INSTDIR\bin\libgstcontroller-0.10-0.dll" + Delete /rebootok "$INSTDIR\bin\libgstbase-0.10-0.dll" + Delete /rebootok "$INSTDIR\bin\libgstaudio-0.10-0.dll" + Delete /rebootok "$INSTDIR\bin\libgstapp-0.10-0.dll" + Delete /rebootok "$INSTDIR\bin\libgobject-2.0-0.dll" + Delete /rebootok "$INSTDIR\bin\libgmodule-2.0-0.dll" + Delete /rebootok "$INSTDIR\bin\libglib-2.0-0.dll" + Delete /rebootok "$INSTDIR\bin\libgio-2.0-0.dll" + Delete /rebootok "$INSTDIR\bin\libgdk_pixbuf-2.0-0.dll" + Delete /rebootok "$INSTDIR\bin\libgdk-win32-2.0-0.dll" + Delete /rebootok "$INSTDIR\bin\libfreetype-6.dll" + Delete /rebootok "$INSTDIR\bin\libfontconfig-1.dll" + Delete /rebootok "$INSTDIR\bin\libexpat-1.dll" + Delete /rebootok "$INSTDIR\bin\libcrypto-10.dll" + Delete /rebootok "$INSTDIR\bin\libcelt051-0.dll" + Delete /rebootok "$INSTDIR\bin\libcairo-2.dll" + Delete /rebootok "$INSTDIR\bin\libatk-1.0-0.dll" + RMDir "$INSTDIR\bin" + RMDir "$INSTDIR" +SectionEnd + +Section -post + WriteUninstaller "$INSTDIR\Uninstall spicy.exe" +SectionEnd diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/doc/Makefile.am b/tizen/distrib/remote/client/spice-gtk-0.19/doc/Makefile.am new file mode 100644 index 0000000..034926c --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/doc/Makefile.am @@ -0,0 +1,3 @@ +SUBDIRS = reference + +-include $(top_srcdir)/git.mk diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/doc/Makefile.in b/tizen/distrib/remote/client/spice-gtk-0.19/doc/Makefile.in new file mode 100644 index 0000000..b8fe538 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/doc/Makefile.in @@ -0,0 +1,705 @@ +# Makefile.in generated by automake 1.13.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2012 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@ +VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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 = doc +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/check_python.m4 \ + $(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/intltool.m4 \ + $(top_srcdir)/m4/ld-version.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/m4/manywarnings.m4 \ + $(top_srcdir)/m4/spice-compile-warnings.m4 \ + $(top_srcdir)/m4/warnings.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 = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ + distdir +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +ACLOCAL = @ACLOCAL@ +ACL_HELPER_DIR = @ACL_HELPER_DIR@ +ACL_LIBS = @ACL_LIBS@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CAIRO_CFLAGS = @CAIRO_CFLAGS@ +CAIRO_LIBS = @CAIRO_LIBS@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CELT051_CFLAGS = @CELT051_CFLAGS@ +CELT051_LIBDIR = @CELT051_LIBDIR@ +CELT051_LIBS = @CELT051_LIBS@ +CFLAGS = @CFLAGS@ +COMMON_CFLAGS = @COMMON_CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DBUS_GLIB_CFLAGS = @DBUS_GLIB_CFLAGS@ +DBUS_GLIB_LIBS = @DBUS_GLIB_LIBS@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GIO_CFLAGS = @GIO_CFLAGS@ +GIO_LIBS = @GIO_LIBS@ +GLIB2_CFLAGS = @GLIB2_CFLAGS@ +GLIB2_LIBS = @GLIB2_LIBS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GOBJECT2_CFLAGS = @GOBJECT2_CFLAGS@ +GOBJECT2_LIBS = @GOBJECT2_LIBS@ +GREP = @GREP@ +GST_CFLAGS = @GST_CFLAGS@ +GST_LIBS = @GST_LIBS@ +GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ +GTHREAD_LIBS = @GTHREAD_LIBS@ +GTKDOC_CHECK = @GTKDOC_CHECK@ +GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ +GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ +GTKDOC_MKPDF = @GTKDOC_MKPDF@ +GTKDOC_REBASE = @GTKDOC_REBASE@ +GTK_API_VERSION = @GTK_API_VERSION@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +GTK_REQUIRED = @GTK_REQUIRED@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +HTML_DIR = @HTML_DIR@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@ +INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@ +INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@ +INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@ +INTROSPECTION_LIBS = @INTROSPECTION_LIBS@ +INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@ +INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@ +INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@ +JPEG_LIBS = @JPEG_LIBS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBM = @LIBM@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PIE_CFLAGS = @PIE_CFLAGS@ +PIE_LDFLAGS = @PIE_LDFLAGS@ +PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ +PIXMAN_LIBS = @PIXMAN_LIBS@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PNP_IDS = @PNP_IDS@ +POFILES = @POFILES@ +POLICYDIR = @POLICYDIR@ +POLKIT_CFLAGS = @POLKIT_CFLAGS@ +POLKIT_LIBS = @POLKIT_LIBS@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PULSE_CFLAGS = @PULSE_CFLAGS@ +PULSE_LIBS = @PULSE_LIBS@ +PYGTK_CFLAGS = @PYGTK_CFLAGS@ +PYGTK_LIBS = @PYGTK_LIBS@ +PYTHON = @PYTHON@ +PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ +PYTHON_INCLUDES = @PYTHON_INCLUDES@ +PYTHON_PLATFORM = @PYTHON_PLATFORM@ +PYTHON_PREFIX = @PYTHON_PREFIX@ +PYTHON_VERSION = @PYTHON_VERSION@ +RANLIB = @RANLIB@ +SASL_CFLAGS = @SASL_CFLAGS@ +SASL_LIBS = @SASL_LIBS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SMARTCARD_CFLAGS = @SMARTCARD_CFLAGS@ +SMARTCARD_LIBS = @SMARTCARD_LIBS@ +SPICE_CFLAGS = @SPICE_CFLAGS@ +SPICE_GLIB_CFLAGS = @SPICE_GLIB_CFLAGS@ +SPICE_GLIB_REQUIRES = @SPICE_GLIB_REQUIRES@ +SPICE_GTK_API_VERSION = @SPICE_GTK_API_VERSION@ +SPICE_GTK_CFLAGS = @SPICE_GTK_CFLAGS@ +SPICE_GTK_LOCALEDIR = @SPICE_GTK_LOCALEDIR@ +SPICE_GTK_REQUIRES = @SPICE_GTK_REQUIRES@ +SSL_CFLAGS = @SSL_CFLAGS@ +SSL_LIBS = @SSL_LIBS@ +STOW = @STOW@ +STRIP = @STRIP@ +USBREDIR_CFLAGS = @USBREDIR_CFLAGS@ +USBREDIR_LIBS = @USBREDIR_LIBS@ +USB_IDS = @USB_IDS@ +USE_NLS = @USE_NLS@ +VALAC = @VALAC@ +VAPIDIR = @VAPIDIR@ +VAPIGEN = @VAPIGEN@ +VERSION = @VERSION@ +WARN_CFLAGS = @WARN_CFLAGS@ +WARN_LDFLAGS = @WARN_LDFLAGS@ +WARN_PYFLAGS = @WARN_PYFLAGS@ +XGETTEXT = @XGETTEXT@ +XRANDR_CFLAGS = @XRANDR_CFLAGS@ +XRANDR_LIBS = @XRANDR_LIBS@ +Z_LIBS = @Z_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgpyexecdir = @pkgpyexecdir@ +pkgpythondir = @pkgpythondir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +pyexecdir = @pyexecdir@ +pythondir = @pythondir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +subdirs = @subdirs@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +SUBDIRS = reference +all: all-recursive + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(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) --foreign doc/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign doc/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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +# This directory's subdirectories are mostly independent; you can cd +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @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 + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-recursive +all-am: Makefile +installdirs: installdirs-recursive +installdirs-am: +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +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." +clean: clean-recursive + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-recursive + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: + +.MAKE: $(am__recursive_targets) install-am install-strip + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ + check-am clean clean-generic clean-libtool cscopelist-am ctags \ + ctags-am distclean distclean-generic distclean-libtool \ + distclean-tags 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-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + installdirs-am maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ + ps ps-am tags tags-am uninstall uninstall-am + + +-include $(top_srcdir)/git.mk + +# 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: diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/doc/reference/Makefile.am b/tizen/distrib/remote/client/spice-gtk-0.19/doc/reference/Makefile.am new file mode 100644 index 0000000..a0a856c --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/doc/reference/Makefile.am @@ -0,0 +1,70 @@ +NULL = + +AUTOMAKE_OPTIONS = 1.6 +DOC_MODULE = spice-gtk + +# The top-level SGML file +DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml + +# Source code location +DOC_SOURCE_DIR = $(top_srcdir)/gtk + +# Extra options to supply to gtkdoc-scan. +SCAN_OPTIONS = \ + --deprecated-guards="SPICE_DISABLE_DEPRECATED" \ + --ignore-decorators="G_GNUC_INTERNAL" + +# Extra options to supply to gtkdoc-mkdb. +MKDB_OPTIONS = --xml-mode --output-format=xml + +# Used for dependencies. The docs will be rebuilt if any of these change. +HFILE_GLOB = $(top_srcdir)/gtk/*.h +CFILE_GLOB = $(top_srcdir)/gtk/*.c + +# Header files to ignore when scanning. Use base file name, no paths +IGNORE_HFILES= \ + bio-gsocket.h \ + channel-display-priv.h \ + channel-usbredir-priv.h \ + continuation.h \ + controller \ + coroutine.h \ + decode.h \ + display \ + gio-coroutine.h \ + glib-compat.h \ + smartcard-manager-priv.h \ + spice-audio-priv.h \ + spice-channel-cache.h \ + spice-channel-priv.h \ + spice-cmdline.h \ + spice-common.h \ + spice-gstaudio.h \ + spice-gtk-session-priv.h \ + spice-marshal.h \ + spice-pulse.h \ + spice-session-priv.h \ + spice-util-priv.h \ + spice-widget-priv.h \ + usb-acl-helper.h \ + usb-device-manager-priv.h \ + usbutil.h \ + vncdisplaykeymap.h \ + $(NULL) + +# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library. +GTKDOC_CFLAGS = -I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/gtk -I$(top_builddir)/gtk $(SPICE_GLIB_CFLAGS) $(SPICE_GTK_CFLAGS) $(COMMON_CFLAGS) +GTKDOC_LIBS = $(top_builddir)/gtk/libspice-client-glib-2.0.la $(top_builddir)/gtk/libspice-client-gtk-$(SPICE_GTK_API_VERSION).la + +include $(top_srcdir)/gtk-doc.make + +# Comment this out if you want 'make check' to test you doc status +# and run some sanity checks +if ENABLE_GTK_DOC +TESTS_ENVIRONMENT = cd $(srcdir) && \ + DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \ + SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir) +#TESTS = $(GTKDOC_CHECK) +endif + +-include $(top_srcdir)/git.mk diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/doc/reference/Makefile.in b/tizen/distrib/remote/client/spice-gtk-0.19/doc/reference/Makefile.in new file mode 100644 index 0000000..8952985 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/doc/reference/Makefile.in @@ -0,0 +1,835 @@ +# Makefile.in generated by automake 1.13.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2012 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@ + +# -*- mode: makefile -*- + +#################################### +# Everything below here is generic # +#################################### +VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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@ +DIST_COMMON = $(top_srcdir)/gtk-doc.make $(srcdir)/Makefile.in \ + $(srcdir)/Makefile.am +subdir = doc/reference +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/check_python.m4 \ + $(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/intltool.m4 \ + $(top_srcdir)/m4/ld-version.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/m4/manywarnings.m4 \ + $(top_srcdir)/m4/spice-compile-warnings.m4 \ + $(top_srcdir)/m4/warnings.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 = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ACL_HELPER_DIR = @ACL_HELPER_DIR@ +ACL_LIBS = @ACL_LIBS@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CAIRO_CFLAGS = @CAIRO_CFLAGS@ +CAIRO_LIBS = @CAIRO_LIBS@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CELT051_CFLAGS = @CELT051_CFLAGS@ +CELT051_LIBDIR = @CELT051_LIBDIR@ +CELT051_LIBS = @CELT051_LIBS@ +CFLAGS = @CFLAGS@ +COMMON_CFLAGS = @COMMON_CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DBUS_GLIB_CFLAGS = @DBUS_GLIB_CFLAGS@ +DBUS_GLIB_LIBS = @DBUS_GLIB_LIBS@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GIO_CFLAGS = @GIO_CFLAGS@ +GIO_LIBS = @GIO_LIBS@ +GLIB2_CFLAGS = @GLIB2_CFLAGS@ +GLIB2_LIBS = @GLIB2_LIBS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GOBJECT2_CFLAGS = @GOBJECT2_CFLAGS@ +GOBJECT2_LIBS = @GOBJECT2_LIBS@ +GREP = @GREP@ +GST_CFLAGS = @GST_CFLAGS@ +GST_LIBS = @GST_LIBS@ +GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ +GTHREAD_LIBS = @GTHREAD_LIBS@ +GTKDOC_CHECK = @GTKDOC_CHECK@ +GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ +GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ +GTKDOC_MKPDF = @GTKDOC_MKPDF@ +GTKDOC_REBASE = @GTKDOC_REBASE@ +GTK_API_VERSION = @GTK_API_VERSION@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +GTK_REQUIRED = @GTK_REQUIRED@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +HTML_DIR = @HTML_DIR@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@ +INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@ +INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@ +INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@ +INTROSPECTION_LIBS = @INTROSPECTION_LIBS@ +INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@ +INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@ +INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@ +JPEG_LIBS = @JPEG_LIBS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBM = @LIBM@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PIE_CFLAGS = @PIE_CFLAGS@ +PIE_LDFLAGS = @PIE_LDFLAGS@ +PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ +PIXMAN_LIBS = @PIXMAN_LIBS@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PNP_IDS = @PNP_IDS@ +POFILES = @POFILES@ +POLICYDIR = @POLICYDIR@ +POLKIT_CFLAGS = @POLKIT_CFLAGS@ +POLKIT_LIBS = @POLKIT_LIBS@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PULSE_CFLAGS = @PULSE_CFLAGS@ +PULSE_LIBS = @PULSE_LIBS@ +PYGTK_CFLAGS = @PYGTK_CFLAGS@ +PYGTK_LIBS = @PYGTK_LIBS@ +PYTHON = @PYTHON@ +PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ +PYTHON_INCLUDES = @PYTHON_INCLUDES@ +PYTHON_PLATFORM = @PYTHON_PLATFORM@ +PYTHON_PREFIX = @PYTHON_PREFIX@ +PYTHON_VERSION = @PYTHON_VERSION@ +RANLIB = @RANLIB@ +SASL_CFLAGS = @SASL_CFLAGS@ +SASL_LIBS = @SASL_LIBS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SMARTCARD_CFLAGS = @SMARTCARD_CFLAGS@ +SMARTCARD_LIBS = @SMARTCARD_LIBS@ +SPICE_CFLAGS = @SPICE_CFLAGS@ +SPICE_GLIB_CFLAGS = @SPICE_GLIB_CFLAGS@ +SPICE_GLIB_REQUIRES = @SPICE_GLIB_REQUIRES@ +SPICE_GTK_API_VERSION = @SPICE_GTK_API_VERSION@ +SPICE_GTK_CFLAGS = @SPICE_GTK_CFLAGS@ +SPICE_GTK_LOCALEDIR = @SPICE_GTK_LOCALEDIR@ +SPICE_GTK_REQUIRES = @SPICE_GTK_REQUIRES@ +SSL_CFLAGS = @SSL_CFLAGS@ +SSL_LIBS = @SSL_LIBS@ +STOW = @STOW@ +STRIP = @STRIP@ +USBREDIR_CFLAGS = @USBREDIR_CFLAGS@ +USBREDIR_LIBS = @USBREDIR_LIBS@ +USB_IDS = @USB_IDS@ +USE_NLS = @USE_NLS@ +VALAC = @VALAC@ +VAPIDIR = @VAPIDIR@ +VAPIGEN = @VAPIGEN@ +VERSION = @VERSION@ +WARN_CFLAGS = @WARN_CFLAGS@ +WARN_LDFLAGS = @WARN_LDFLAGS@ +WARN_PYFLAGS = @WARN_PYFLAGS@ +XGETTEXT = @XGETTEXT@ +XRANDR_CFLAGS = @XRANDR_CFLAGS@ +XRANDR_LIBS = @XRANDR_LIBS@ +Z_LIBS = @Z_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgpyexecdir = @pkgpyexecdir@ +pkgpythondir = @pkgpythondir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +pyexecdir = @pyexecdir@ +pythondir = @pythondir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +subdirs = @subdirs@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +NULL = +AUTOMAKE_OPTIONS = 1.6 +DOC_MODULE = spice-gtk + +# The top-level SGML file +DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml + +# Source code location +DOC_SOURCE_DIR = $(top_srcdir)/gtk + +# Extra options to supply to gtkdoc-scan. +SCAN_OPTIONS = \ + --deprecated-guards="SPICE_DISABLE_DEPRECATED" \ + --ignore-decorators="G_GNUC_INTERNAL" + + +# Extra options to supply to gtkdoc-mkdb. +MKDB_OPTIONS = --xml-mode --output-format=xml + +# Used for dependencies. The docs will be rebuilt if any of these change. +HFILE_GLOB = $(top_srcdir)/gtk/*.h +CFILE_GLOB = $(top_srcdir)/gtk/*.c + +# Header files to ignore when scanning. Use base file name, no paths +IGNORE_HFILES = \ + bio-gsocket.h \ + channel-display-priv.h \ + channel-usbredir-priv.h \ + continuation.h \ + controller \ + coroutine.h \ + decode.h \ + display \ + gio-coroutine.h \ + glib-compat.h \ + smartcard-manager-priv.h \ + spice-audio-priv.h \ + spice-channel-cache.h \ + spice-channel-priv.h \ + spice-cmdline.h \ + spice-common.h \ + spice-gstaudio.h \ + spice-gtk-session-priv.h \ + spice-marshal.h \ + spice-pulse.h \ + spice-session-priv.h \ + spice-util-priv.h \ + spice-widget-priv.h \ + usb-acl-helper.h \ + usb-device-manager-priv.h \ + usbutil.h \ + vncdisplaykeymap.h \ + $(NULL) + + +# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library. +GTKDOC_CFLAGS = -I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/gtk -I$(top_builddir)/gtk $(SPICE_GLIB_CFLAGS) $(SPICE_GTK_CFLAGS) $(COMMON_CFLAGS) +GTKDOC_LIBS = $(top_builddir)/gtk/libspice-client-glib-2.0.la $(top_builddir)/gtk/libspice-client-gtk-$(SPICE_GTK_API_VERSION).la +@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) +@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) +@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN = +@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute + +# We set GPATH here; this gives us semantics for GNU make +# which are more like other make's VPATH, when it comes to +# whether a source that is a target of one rule is then +# searched for in VPATH/GPATH. +# +GPATH = $(srcdir) +TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE) +SETUP_FILES = \ + $(content_files) \ + $(DOC_MAIN_SGML_FILE) \ + $(DOC_MODULE)-sections.txt \ + $(DOC_MODULE)-overrides.txt + +EXTRA_DIST = \ + $(HTML_IMAGES) \ + $(SETUP_FILES) + +DOC_STAMPS = setup-build.stamp scan-build.stamp sgml-build.stamp \ + html-build.stamp pdf-build.stamp \ + sgml.stamp html.stamp pdf.stamp + +SCANOBJ_FILES = \ + $(DOC_MODULE).args \ + $(DOC_MODULE).hierarchy \ + $(DOC_MODULE).interfaces \ + $(DOC_MODULE).prerequisites \ + $(DOC_MODULE).signals + +REPORT_FILES = \ + $(DOC_MODULE)-undocumented.txt \ + $(DOC_MODULE)-undeclared.txt \ + $(DOC_MODULE)-unused.txt + +CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) +@ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP = +@ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp +@ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP = +@ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp + +# Comment this out if you want 'make check' to test you doc status +# and run some sanity checks +@ENABLE_GTK_DOC_TRUE@TESTS_ENVIRONMENT = cd $(srcdir) && \ +@ENABLE_GTK_DOC_TRUE@ DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \ +@ENABLE_GTK_DOC_TRUE@ SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir) + +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/gtk-doc.make $(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) --foreign doc/reference/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign doc/reference/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_srcdir)/gtk-doc.make: + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +tags TAGS: + +ctags CTAGS: + +cscope cscopelist: + + +distdir: $(DISTFILES) + @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 + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" distdir="$(distdir)" \ + dist-hook +check-am: all-am +check: check-am +all-am: Makefile all-local +installdirs: +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: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +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." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-local mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-local + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-data-local + +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-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 \ + maintainer-clean-local + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-local + +.MAKE: install-am install-strip + +.PHONY: all all-am all-local check check-am clean clean-generic \ + clean-libtool clean-local cscopelist-am ctags-am dist-hook \ + distclean distclean-generic distclean-libtool distclean-local \ + distdir dvi dvi-am html html-am info info-am install \ + install-am install-data install-data-am install-data-local \ + install-dvi install-dvi-am install-exec install-exec-am \ + install-html install-html-am install-info install-info-am \ + install-man install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + maintainer-clean-local mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \ + uninstall-am uninstall-local + + +@ENABLE_GTK_DOC_TRUE@all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP) +@ENABLE_GTK_DOC_FALSE@all-local: + +docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP) + +$(REPORT_FILES): sgml-build.stamp + +#### setup #### + +setup-build.stamp: + -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ + echo ' DOC Preparing build'; \ + files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \ + if test "x$$files" != "x" ; then \ + for file in $$files ; do \ + test -f $(abs_srcdir)/$$file && \ + cp -pu $(abs_srcdir)/$$file $(abs_builddir)/ || true; \ + done; \ + fi; \ + fi + @touch setup-build.stamp + +#### scan #### + +scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB) + @echo ' DOC Scanning header files' + @_source_dir='' ; \ + for i in $(DOC_SOURCE_DIR) ; do \ + _source_dir="$${_source_dir} --source-dir=$$i" ; \ + done ; \ + gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES) + @if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \ + echo " DOC Introspecting gobjects"; \ + scanobj_options=""; \ + gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \ + if test "$(?)" = "0"; then \ + if test "x$(V)" = "x1"; then \ + scanobj_options="--verbose"; \ + fi; \ + fi; \ + CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \ + gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \ + else \ + for i in $(SCANOBJ_FILES) ; do \ + test -f $$i || touch $$i ; \ + done \ + fi + @touch scan-build.stamp + +$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp + @true + +#### xml #### + +sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files) + @echo ' DOC Building XML' + @_source_dir='' ; \ + for i in $(DOC_SOURCE_DIR) ; do \ + _source_dir="$${_source_dir} --source-dir=$$i" ; \ + done ; \ + gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS) + @touch sgml-build.stamp + +sgml.stamp: sgml-build.stamp + @true + +#### html #### + +html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) + @echo ' DOC Building HTML' + @rm -rf html + @mkdir html + @mkhtml_options=""; \ + gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \ + if test "$(?)" = "0"; then \ + if test "x$(V)" = "x1"; then \ + mkhtml_options="$$mkhtml_options --verbose"; \ + fi; \ + fi; \ + gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \ + if test "$(?)" = "0"; then \ + mkhtml_options="$$mkhtml_options --path=\"$(abs_srcdir)\""; \ + fi; \ + cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) + -@test "x$(HTML_IMAGES)" = "x" || \ + for file in $(HTML_IMAGES) ; do \ + if test -f $(abs_srcdir)/$$file ; then \ + cp $(abs_srcdir)/$$file $(abs_builddir)/html; \ + fi; \ + if test -f $(abs_builddir)/$$file ; then \ + cp $(abs_builddir)/$$file $(abs_builddir)/html; \ + fi; \ + done; + @echo ' DOC Fixing cross-references' + @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) + @touch html-build.stamp + +#### pdf #### + +pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) + @echo ' DOC Building PDF' + @rm -f $(DOC_MODULE).pdf + @mkpdf_options=""; \ + gtkdoc-mkpdf 2>&1 --help | grep >/dev/null "\-\-verbose"; \ + if test "$(?)" = "0"; then \ + if test "x$(V)" = "x1"; then \ + mkpdf_options="$$mkpdf_options --verbose"; \ + fi; \ + fi; \ + if test "x$(HTML_IMAGES)" != "x"; then \ + for img in $(HTML_IMAGES); do \ + part=`dirname $$img`; \ + echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \ + if test $$? != 0; then \ + mkpdf_options="$$mkpdf_options --imgdir=$$part"; \ + fi; \ + done; \ + fi; \ + gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS) + @touch pdf-build.stamp + +############## + +clean-local: + @rm -f *~ *.bak + @rm -rf .libs + +distclean-local: + @rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \ + $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt + @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ + rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \ + fi + +maintainer-clean-local: clean + @rm -rf xml html + +install-data-local: + @installfiles=`echo $(builddir)/html/*`; \ + if test "$$installfiles" = '$(builddir)/html/*'; \ + then echo 1>&2 'Nothing to install' ; \ + else \ + if test -n "$(DOC_MODULE_VERSION)"; then \ + installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \ + else \ + installdir="$(DESTDIR)$(TARGET_DIR)"; \ + fi; \ + $(mkinstalldirs) $${installdir} ; \ + for i in $$installfiles; do \ + echo ' $(INSTALL_DATA) '$$i ; \ + $(INSTALL_DATA) $$i $${installdir}; \ + done; \ + if test -n "$(DOC_MODULE_VERSION)"; then \ + mv -f $${installdir}/$(DOC_MODULE).devhelp2 \ + $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \ + fi; \ + $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \ + fi + +uninstall-local: + @if test -n "$(DOC_MODULE_VERSION)"; then \ + installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \ + else \ + installdir="$(DESTDIR)$(TARGET_DIR)"; \ + fi; \ + rm -rf $${installdir} + +# +# Require gtk-doc when making dist +# +@ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc: +@ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc: +@ENABLE_GTK_DOC_FALSE@ @echo "*** gtk-doc must be installed and enabled in order to make dist" +@ENABLE_GTK_DOC_FALSE@ @false + +dist-hook: dist-check-gtkdoc dist-hook-local + @mkdir $(distdir)/html + @cp ./html/* $(distdir)/html + @-cp ./$(DOC_MODULE).pdf $(distdir)/ + @-cp ./$(DOC_MODULE).types $(distdir)/ + @-cp ./$(DOC_MODULE)-sections.txt $(distdir)/ + @cd $(distdir) && rm -f $(DISTCLEANFILES) + @$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html + +.PHONY : dist-hook-local docs +#TESTS = $(GTKDOC_CHECK) + +-include $(top_srcdir)/git.mk + +# 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: diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/doc/reference/spice-gtk-docs.xml b/tizen/distrib/remote/client/spice-gtk-0.19/doc/reference/spice-gtk-docs.xml new file mode 100644 index 0000000..4a9a3cf --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/doc/reference/spice-gtk-docs.xml @@ -0,0 +1,79 @@ +<?xml version="1.0"?> +<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" + "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" +[ + <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'"> +]> +<book id="index"> + <bookinfo> + <title>Spice-GTK Reference Manual + + + + + API Reference + + Object Hierarchy + + + + + Session and Channels Objects, from spice-client-glib + + + + + + + + + + + + + + + + GTK Widget, from spice-client-gtk + + + + + + + Application Support, from spice-client-glib + + + + + + + + + + Object Hierarchy + + + + API Index + + + + + Index of deprecated symbols + + + + + diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/doc/reference/spice-gtk-overrides.txt b/tizen/distrib/remote/client/spice-gtk-0.19/doc/reference/spice-gtk-overrides.txt new file mode 100644 index 0000000..e69de29 diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/doc/reference/spice-gtk-sections.txt b/tizen/distrib/remote/client/spice-gtk-0.19/doc/reference/spice-gtk-sections.txt new file mode 100644 index 0000000..b96d138 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/doc/reference/spice-gtk-sections.txt @@ -0,0 +1,428 @@ +
+channel-playback +SpicePlaybackChannel +SpicePlaybackChannel +SpicePlaybackChannelClass +spice_playback_channel_set_delay + +SPICE_PLAYBACK_CHANNEL +SPICE_IS_PLAYBACK_CHANNEL +SPICE_TYPE_PLAYBACK_CHANNEL +spice_playback_channel_get_type +SPICE_PLAYBACK_CHANNEL_CLASS +SPICE_IS_PLAYBACK_CHANNEL_CLASS +SPICE_PLAYBACK_CHANNEL_GET_CLASS + +SpicePlaybackChannelPrivate +
+ +
+spice-session +SpiceSession +SpiceSession +SpiceSessionClass +spice_session_new +spice_session_connect +spice_session_open_fd +spice_session_disconnect +spice_session_get_channels +spice_session_get_read_only +spice_session_has_channel_type + +SpiceSessionMigration +SpiceSessionVerify +spice_get_option_group +spice_set_session_option + +SpiceClientError +SPICE_CLIENT_ERROR +spice_client_error_quark + +SPICE_SESSION +SPICE_IS_SESSION +SPICE_TYPE_SESSION +spice_session_get_type +SPICE_SESSION_CLASS +SPICE_IS_SESSION_CLASS +SPICE_SESSION_GET_CLASS +SPICE_TYPE_SESSION_VERIFY +spice_session_verify_get_type +SPICE_TYPE_SESSION_MIGRATION +spice_session_migration_get_type + +SpiceSessionPrivate +
+ +
+channel-main +SpiceMainChannel +SpiceMainChannel +SpiceMainChannelClass + +spice_main_set_display +spice_main_set_display_enabled +spice_main_send_monitor_config +spice_main_agent_test_capability +spice_main_clipboard_selection_grab +spice_main_clipboard_selection_notify +spice_main_clipboard_selection_release +spice_main_clipboard_selection_request +spice_main_clipboard_grab +spice_main_clipboard_release +spice_main_clipboard_notify +spice_main_clipboard_request + +SPICE_MAIN_CHANNEL +SPICE_IS_MAIN_CHANNEL +SPICE_TYPE_MAIN_CHANNEL +spice_main_channel_get_type +SPICE_MAIN_CHANNEL_CLASS +SPICE_IS_MAIN_CHANNEL_CLASS +SPICE_MAIN_CHANNEL_GET_CLASS + +SpiceMainChannelPrivate +
+ +
+spice-channel +SpiceChannel +SpiceChannelEvent +SpiceChannel +SpiceChannelClass + +spice_channel_new +spice_channel_destroy +spice_channel_connect +spice_channel_open_fd +spice_channel_disconnect +spice_channel_test_capability +spice_channel_test_common_capability +spice_channel_type_to_string +spice_channel_set_capability +spice_channel_flush_async +spice_channel_flush_finish + +SPICE_TYPE_CHANNEL_EVENT +spice_channel_event_get_type +SPICE_CHANNEL +SPICE_IS_CHANNEL +SPICE_TYPE_CHANNEL +spice_channel_get_type +SPICE_CHANNEL_CLASS +SPICE_IS_CHANNEL_CLASS +SPICE_CHANNEL_GET_CLASS + +SpiceMsgIn +SpiceMsgOut +SpiceChannelPrivate +spice_msg_handler +spice_msg_in +spice_msg_out +
+ +
+spice-audio +SpiceAudio +SpiceAudio +SpiceAudioClass + +spice_audio_get +spice_audio_new + +SPICE_AUDIO +SPICE_IS_AUDIO +SPICE_TYPE_AUDIO +spice_audio_get_type +SPICE_AUDIO_CLASS +SPICE_IS_AUDIO_CLASS +SPICE_AUDIO_GET_CLASS + +SpiceAudioPrivate +
+ +
+channel-display +SpiceDisplayChannel +SpiceDisplayChannel +SpiceDisplayChannelClass + +SPICE_DISPLAY_CHANNEL +SPICE_IS_DISPLAY_CHANNEL +SPICE_TYPE_DISPLAY_CHANNEL +spice_display_channel_get_type +SPICE_DISPLAY_CHANNEL_CLASS +SPICE_IS_DISPLAY_CHANNEL_CLASS +SPICE_DISPLAY_CHANNEL_GET_CLASS + +SpiceDisplayChannelPrivate +
+ +
+channel-cursor +SpiceCursorChannel +SpiceCursorChannel +SpiceCursorChannelClass + +SPICE_CURSOR_CHANNEL +SPICE_IS_CURSOR_CHANNEL +SPICE_TYPE_CURSOR_CHANNEL +spice_cursor_channel_get_type +SPICE_CURSOR_CHANNEL_CLASS +SPICE_IS_CURSOR_CHANNEL_CLASS +SPICE_CURSOR_CHANNEL_GET_CLASS + +SpiceCursorChannelPrivate +
+ +
+channel-record +SpiceRecordChannel +SpiceRecordChannel +SpiceRecordChannelClass + +spice_record_send_data + +SPICE_RECORD_CHANNEL +SPICE_IS_RECORD_CHANNEL +SPICE_TYPE_RECORD_CHANNEL +spice_record_channel_get_type +SPICE_RECORD_CHANNEL_CLASS +SPICE_IS_RECORD_CHANNEL_CLASS +SPICE_RECORD_CHANNEL_GET_CLASS + +SpiceRecordChannelPrivate +
+ +
+channel-inputs +SpiceInputsChannel +SpiceInputsChannel +SpiceInputsChannelClass +SpiceInputsLock + +spice_inputs_motion +spice_inputs_position +spice_inputs_button_press +spice_inputs_button_release +spice_inputs_key_press +spice_inputs_hwkey_press +spice_inputs_key_press_and_release +spice_inputs_key_release +spice_inputs_hwkey_release +spice_inputs_set_key_locks + +SPICE_TYPE_INPUTS_LOCK +spice_inputs_lock_get_type +SPICE_INPUTS_CHANNEL +SPICE_IS_INPUTS_CHANNEL +SPICE_TYPE_INPUTS_CHANNEL +spice_inputs_channel_get_type +SPICE_INPUTS_CHANNEL_CLASS +SPICE_IS_INPUTS_CHANNEL_CLASS +SPICE_INPUTS_CHANNEL_GET_CLASS + +SpiceInputsChannelPrivate +
+ +
+channel-smartcard +SpiceSmartcardChannel +SpiceSmartcardChannel +SpiceSmartcardChannelClass + +SPICE_SMARTCARD_CHANNEL +SPICE_IS_SMARTCARD_CHANNEL +SPICE_TYPE_SMARTCARD_CHANNEL +spice_smartcard_channel_get_type +SPICE_SMARTCARD_CHANNEL_CLASS +SPICE_IS_SMARTCARD_CHANNEL_CLASS +SPICE_SMARTCARD_CHANNEL_GET_CLASS + +SpiceSmartcardChannelPrivate +
+ +
+smartcard-manager +SpiceSmartcardManager +SpiceSmartcardManager +SpiceSmartcardManagerClass +SpiceSmartcardReader + +spice_smartcard_manager_get +spice_smartcard_manager_insert_card +spice_smartcard_manager_remove_card + +spice_smartcard_reader_is_software + +SPICE_SMARTCARD_MANAGER +SPICE_IS_SMARTCARD_MANAGER +SPICE_TYPE_SMARTCARD_MANAGER +spice_smartcard_manager_get_type +SPICE_SMARTCARD_MANAGER_CLASS +SPICE_IS_SMARTCARD_MANAGER_CLASS +SPICE_SMARTCARD_MANAGER_GET_CLASS +SPICE_TYPE_SMARTCARD_READER +spice_smartcard_reader_get_type + +SpiceSmartcardManagerPrivate +
+ +
+channel-usbredir +SpiceUsbredirChannel +SpiceUsbredirChannel +SpiceUsbredirChannelClass + +SPICE_USBREDIR_CHANNEL +SPICE_IS_USBREDIR_CHANNEL +SPICE_TYPE_USBREDIR_CHANNEL +spice_usbredir_channel_get_type +SPICE_USBREDIR_CHANNEL_CLASS +SPICE_IS_USBREDIR_CHANNEL_CLASS +SPICE_USBREDIR_CHANNEL_GET_CLASS + +SpiceUsbredirChannelPrivate +
+ +
+usb-device-manager +SpiceUsbDeviceManager +SPICE_TYPE_USB_DEVICE +SpiceUsbDeviceManager +SpiceUsbDeviceManagerClass + +spice_usb_device_manager_get +spice_usb_device_manager_get_devices +spice_usb_device_manager_is_device_connected +spice_usb_device_manager_disconnect_device +spice_usb_device_manager_can_redirect_device +spice_usb_device_manager_connect_device_async +spice_usb_device_manager_connect_device_finish + +SpiceUsbDevice +spice_usb_device_get_description + +SPICE_USB_DEVICE_MANAGER +SPICE_IS_USB_DEVICE_MANAGER +SPICE_TYPE_USB_DEVICE_MANAGER +spice_usb_device_manager_get_type +spice_usb_device_get_type +SPICE_USB_DEVICE_MANAGER_CLASS +SPICE_IS_USB_DEVICE_MANAGER_CLASS +SPICE_USB_DEVICE_MANAGER_GET_CLASS + +SpiceUsbDeviceManagerPrivate +
+ +
+spice-gtk-session +SpiceGtkSession +SpiceGtkSession +SpiceGtkSessionClass +spice_gtk_session_get +spice_gtk_session_copy_to_guest +spice_gtk_session_paste_from_guest + +SPICE_GTK_SESSION +SPICE_IS_GTK_SESSION +SPICE_TYPE_GTK_SESSION +spice_gtk_session_get_type +SPICE_GTK_SESSION_CLASS +SPICE_IS_GTK_SESSION_CLASS +SPICE_GTK_SESSION_GET_CLASS + +SpiceGtkSessionPrivate +
+ +
+spice-widget +SpiceDisplay +SpiceDisplay +SpiceDisplayClass +SpiceDisplayKeyEvent +spice_display_new +spice_display_new_with_monitor +spice_display_mouse_ungrab +spice_display_copy_to_guest +spice_display_paste_from_guest +spice_display_set_grab_keys +spice_display_get_grab_keys +spice_display_send_keys +spice_display_get_pixbuf + +SpiceGrabSequence +spice_grab_sequence_new +spice_grab_sequence_new_from_string +spice_grab_sequence_copy +spice_grab_sequence_free +spice_grab_sequence_as_string + +SPICE_DISPLAY +SPICE_IS_DISPLAY +SPICE_TYPE_DISPLAY +spice_display_get_type +SPICE_DISPLAY_CLASS +SPICE_IS_DISPLAY_CLASS +SPICE_DISPLAY_GET_CLASS +SPICE_TYPE_GRAB_SEQUENCE +spice_grab_sequence_get_type +SPICE_TYPE_DISPLAY_KEY_EVENT +spice_display_key_event_get_type + +SpiceDisplayPrivate +
+ +
+usb-device-widget +SpiceUsbDeviceWidget +SpiceUsbDeviceWidget +SpiceUsbDeviceWidgetClass + +spice_usb_device_widget_new + +SPICE_USB_DEVICE_WIDGET +SPICE_IS_USB_DEVICE_WIDGET +spice_usb_device_widget_get_type +SPICE_USB_DEVICE_WIDGET_CLASS +SPICE_IS_USB_DEVICE_WIDGET_CLASS +SPICE_USB_DEVICE_WIDGET_GET_CLASS +SPICE_TYPE_USB_DEVICE_WIDGET + +SpiceUsbDeviceWidgetPrivate +SpiceGtkBox +SpiceGtkBoxClass +
+ +
+spice-util +spice_util_set_debug +spice_util_get_version_string + +SPICE_DEBUG +spice_util_get_debug +SPICE_RESERVED_PADDING +SPICE_DEPRECATED_FOR +spice_g_signal_connect_object +
+ +
+channel-port +SpicePortChannel +SpicePortChannel +SpicePortChannelClass + +spice_port_event +spice_port_write_async +spice_port_write_finish + +SPICE_PORT_CHANNEL +SPICE_IS_PORT_CHANNEL +SPICE_TYPE_PORT_CHANNEL +spice_port_channel_get_type +SPICE_PORT_CHANNEL_CLASS +SPICE_IS_PORT_CHANNEL_CLASS +SPICE_PORT_CHANNEL_GET_CLASS + +SpicePortChannelPrivate +
+ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/doc/reference/spice-gtk.types b/tizen/distrib/remote/client/spice-gtk-0.19/doc/reference/spice-gtk.types new file mode 100644 index 0000000..2f52845 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/doc/reference/spice-gtk.types @@ -0,0 +1,45 @@ +#include "spice-audio.h" +#include "spice-client.h" +#include "spice-types.h" +#include "spice-session.h" +#include "spice-channel.h" +#include "spice-glib-enums.h" +#include "spice-util.h" +#include "channel-main.h" +#include "channel-display.h" +#include "channel-cursor.h" +#include "channel-inputs.h" +#include "channel-playback.h" +#include "channel-record.h" +#include "channel-smartcard.h" +#include "channel-usbredir.h" +#include "spice-gtk-session.h" +#include "spice-widget.h" +#include "spice-grabsequence.h" +#include "smartcard-manager.h" +#include "usb-device-manager.h" +#include "usb-device-widget.h" + +spice_audio_get_type +spice_channel_event_get_type +spice_channel_get_type +spice_cursor_channel_get_type +spice_display_channel_get_type +spice_display_get_type +spice_grab_sequence_get_type +spice_gtk_session_get_type +spice_inputs_channel_get_type +spice_inputs_lock_get_type +spice_main_channel_get_type +spice_playback_channel_get_type +spice_record_channel_get_type +spice_session_get_type +spice_session_verify_get_type +spice_smartcard_channel_get_type +spice_smartcard_manager_get_type +spice_session_verify_get_type +spice_usbredir_channel_get_type +spice_usb_device_get_type +spice_usb_device_manager_get_type +spice_usb_device_widget_get_type +spice_port_channel_get_type \ No newline at end of file diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/.channel-inputs.h.swo b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/.channel-inputs.h.swo new file mode 100644 index 0000000..34532e4 Binary files /dev/null and b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/.channel-inputs.h.swo differ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/Makefile.am b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/Makefile.am new file mode 100644 index 0000000..6a28645 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/Makefile.am @@ -0,0 +1,673 @@ +NULL = + +SUBDIRS = + +if WITH_CONTROLLER +SUBDIRS += controller +endif + +# Avoid need for perl(Text::CSV) by end users +KEYMAPS = \ + vncdisplaykeymap_xorgevdev2xtkbd.c \ + vncdisplaykeymap_xorgkbd2xtkbd.c \ + vncdisplaykeymap_xorgxquartz2xtkbd.c \ + vncdisplaykeymap_xorgxwin2xtkbd.c \ + vncdisplaykeymap_osx2xtkbd.c \ + vncdisplaykeymap_win322xtkbd.c \ + $(NULL) + +# End users build dependencies can be cleaned +GLIBGENS = \ + spice-glib-enums.c \ + spice-glib-enums.h \ + spice-marshal.c \ + spice-marshal.h \ + spice-widget-enums.c \ + spice-widget-enums.h \ + $(NULL) + +CLEANFILES = $(GLIBGENS) +BUILT_SOURCES = $(GLIBGENS) $(KEYMAPS) + +EXTRA_DIST = \ + $(KEYMAPS) \ + decode-glz-tmpl.c \ + keymap-gen.pl \ + keymaps.csv \ + map-file \ + spice-glib-sym-file \ + spice-gtk-sym-file \ + spice-client-gtk-manual.defs \ + spice-client-gtk.override \ + spice-marshal.txt \ + $(NULL) + +bin_PROGRAMS = spicy spicy-stats spicy-screenshot +if WITH_POLKIT +acldir = $(ACL_HELPER_DIR) +acl_PROGRAMS = spice-client-glib-usb-acl-helper +endif + +lib_LTLIBRARIES = libspice-client-glib-2.0.la + +if HAVE_GTK_2 +lib_LTLIBRARIES += libspice-client-gtk-2.0.la +else +lib_LTLIBRARIES += libspice-client-gtk-3.0.la +endif + +if HAVE_LD_VERSION_SCRIPT +GLIB_VERSION_LDFLAGS = -Wl,--version-script=${srcdir}/map-file +GTK_VERSION_LDFLAGS = $(GLIB_VERSION_LDFLAGS) +else +GLIB_VERSION_LDFLAGS = -export-symbols ${srcdir}/spice-glib-sym-file +GTK_VERSION_LDFLAGS = -export-symbols ${srcdir}/spice-gtk-sym-file +endif + +KEYMAP_GEN = $(srcdir)/keymap-gen.pl + +SPICE_COMMON_CPPFLAGS = \ + -DG_LOG_DOMAIN=\"GSpice\" \ + -DSPICE_NO_DEPRECATED \ + -DSW_CANVAS_CACHE \ + -DSPICE_GTK_LOCALEDIR=\"${SPICE_GTK_LOCALEDIR}\" \ + -DPNP_IDS=\""$(PNP_IDS)"\" \ + -DUSB_IDS=\""$(USB_IDS)"\" \ + -DSPICE_DISABLE_ABORT \ + -I$(top_srcdir) \ + $(COMMON_CFLAGS) \ + $(PIXMAN_CFLAGS) \ + $(CELT051_CFLAGS) \ + $(PULSE_CFLAGS) \ + $(GTK_CFLAGS) \ + $(CAIRO_CFLAGS) \ + $(GLIB2_CFLAGS) \ + $(GIO_CFLAGS) \ + $(GOBJECT2_CFLAGS) \ + $(DBUS_GLIB_CFLAGS) \ + $(SSL_CFLAGS) \ + $(SASL_CFLAGS) \ + $(GST_CFLAGS) \ + $(SMARTCARD_CFLAGS) \ + $(USBREDIR_CFLAGS) \ + $(GUDEV_CFLAGS) \ + $(NULL) + +AM_CPPFLAGS = \ + $(SPICE_COMMON_CPPFLAGS) \ + $(SPICE_CFLAGS) \ + $(NULL) + +# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html +SPICE_GTK_LDFLAGS_COMMON = \ + -version-info 4:0:0 \ + -no-undefined \ + $(GTK_VERSION_LDFLAGS) \ + $(NULL) + +SPICE_GTK_LIBADD_COMMON = \ + libspice-client-glib-2.0.la \ + $(GTK_LIBS) \ + $(CAIRO_LIBS) \ + $(DBUS_GLIB_LIBS) \ + $(XRANDR_LIBS) \ + $(LIBM) \ + $(NULL) + +SPICE_GTK_SOURCES_COMMON = \ + glib-compat.h \ + spice-gtk-session.c \ + spice-gtk-session-priv.h \ + spice-widget.c \ + spice-widget-priv.h \ + vncdisplaykeymap.c \ + vncdisplaykeymap.h \ + spice-grabsequence.c \ + spice-grabsequence.h \ + desktop-integration.c \ + desktop-integration.h \ + usb-device-widget.c \ + $(NULL) + +nodist_SPICE_GTK_SOURCES_COMMON = \ + spice-widget-enums.c \ + spice-marshal.c \ + $(NULL) + +if WITH_X11 +SPICE_GTK_SOURCES_COMMON += \ + spice-widget-x11.c \ + $(NULL) +else +SPICE_GTK_SOURCES_COMMON += \ + spice-widget-cairo.c \ + $(NULL) +endif + +if HAVE_GTK_2 +libspice_client_gtk_2_0_la_LDFLAGS = $(SPICE_GTK_LDFLAGS_COMMON) +libspice_client_gtk_2_0_la_LIBADD = $(SPICE_GTK_LIBADD_COMMON) +libspice_client_gtk_2_0_la_SOURCES = $(SPICE_GTK_SOURCES_COMMON) +nodist_libspice_client_gtk_2_0_la_SOURCES = $(nodist_SPICE_GTK_SOURCES_COMMON) +else +libspice_client_gtk_3_0_la_LDFLAGS = $(SPICE_GTK_LDFLAGS_COMMON) +libspice_client_gtk_3_0_la_LIBADD = $(SPICE_GTK_LIBADD_COMMON) +libspice_client_gtk_3_0_la_SOURCES = $(SPICE_GTK_SOURCES_COMMON) +nodist_libspice_client_gtk_3_0_la_SOURCES = $(nodist_SPICE_GTK_SOURCES_COMMON) +endif + + +libspice_client_gtkincludedir = $(includedir)/spice-client-gtk-$(SPICE_GTK_API_VERSION) +libspice_client_gtkinclude_HEADERS = \ + spice-gtk-session.h \ + spice-widget.h \ + spice-grabsequence.h \ + usb-device-widget.h \ + $(NULL) + +nodist_libspice_client_gtkinclude_HEADERS = \ + spice-widget-enums.h \ + $(NULL) + +libspice_client_glib_2_0_la_LDFLAGS = \ + -version-info 11:0:3 \ + -no-undefined \ + $(GLIB_VERSION_LDFLAGS) \ + $(NULL) + +libspice_client_glib_2_0_la_LIBADD = \ + $(top_builddir)/../../common/spice-common/common/libspice-common.la \ + $(top_builddir)/../../common/spice-common/common/libspice-common-client.la \ + $(GLIB2_LIBS) \ + $(GIO_LIBS) \ + $(GOBJECT2_LIBS) \ + $(CELT051_LIBS) \ + $(JPEG_LIBS) \ + $(Z_LIBS) \ + $(PIXMAN_LIBS) \ + $(SSL_LIBS) \ + $(PULSE_LIBS) \ + $(GST_LIBS) \ + $(SASL_LIBS) \ + $(SMARTCARD_LIBS) \ + $(USBREDIR_LIBS) \ + $(GUDEV_LIBS) \ + $(NULL) + +if WITH_POLKIT +USB_ACL_HELPER_SRCS = \ + usb-acl-helper.c \ + usb-acl-helper.h \ + $(NULL) +AM_CPPFLAGS += -DACL_HELPER_PATH="\"$(ACL_HELPER_DIR)\"" +else +USB_ACL_HELPER_SRCS = +endif + +libspice_client_glib_2_0_la_SOURCES = \ + bio-gsocket.c \ + bio-gsocket.h \ + glib-compat.c \ + glib-compat.h \ + spice-audio.c \ + spice-audio-priv.h \ + spice-common.h \ + spice-util.c \ + spice-util-priv.h \ + spice-option.h \ + spice-option.c \ + \ + spice-client.c \ + spice-session.c \ + spice-session-priv.h \ + spice-channel.c \ + spice-channel-cache.h \ + spice-channel-priv.h \ + coroutine.h \ + gio-coroutine.c \ + gio-coroutine.h \ + \ + channel-base.c \ + channel-cursor.c \ + channel-display.c \ + channel-display-priv.h \ + channel-display-mjpeg.c \ + channel-inputs.c \ + channel-main.c \ + channel-playback.c \ + channel-port.c \ + channel-record.c \ + channel-smartcard.c \ + channel-usbredir.c \ + channel-usbredir-priv.h \ + smartcard-manager.c \ + smartcard-manager-priv.h \ + spice-proxy.c \ + spice-proxy.h \ + usb-device-manager.c \ + usb-device-manager-priv.h \ + usbutil.c \ + usbutil.h \ + $(USB_ACL_HELPER_SRCS) \ + \ + decode.h \ + decode-glz.c \ + decode-jpeg.c \ + decode-zlib.c \ + \ + $(top_srcdir)/../../common/spice-common/common/sw_canvas.c \ + $(top_srcdir)/../../common/spice-common/common/sw_canvas.h \ + $(NULL) + +if WITH_GPROXY +libspice_client_glib_2_0_la_SOURCES += \ + wocky-http-proxy.c \ + wocky-http-proxy.h \ + $(NULL) +endif + +nodist_libspice_client_glib_2_0_la_SOURCES = \ + spice-glib-enums.c \ + spice-marshal.c \ + spice-marshal.h \ + $(NULL) + +libspice_client_glibincludedir = $(includedir)/spice-client-glib-2.0 +libspice_client_glibinclude_HEADERS = \ + spice-audio.h \ + spice-client.h \ + spice-types.h \ + spice-session.h \ + spice-channel.h \ + spice-util.h \ + spice-option.h \ + channel-cursor.h \ + channel-display.h \ + channel-inputs.h \ + channel-main.h \ + channel-playback.h \ + channel-port.h \ + channel-record.h \ + channel-smartcard.h \ + channel-usbredir.h \ + usb-device-manager.h \ + smartcard-manager.h \ + $(NULL) + +nodist_libspice_client_glibinclude_HEADERS = \ + spice-glib-enums.h \ + $(NULL) + +# file for API compatibility, but we don't want warning during our compilation +dist_libspice_client_glibinclude_DATA = \ + spice-channel-enums.h \ + $(NULL) + +if WITH_PULSE +libspice_client_glib_2_0_la_SOURCES += \ + spice-pulse.c \ + spice-pulse.h \ + $(NULL) +endif + +if WITH_GSTAUDIO +libspice_client_glib_2_0_la_SOURCES += \ + spice-gstaudio.c \ + spice-gstaudio.h \ + $(NULL) +endif + +if WITH_UCONTEXT +libspice_client_glib_2_0_la_SOURCES += continuation.h continuation.c coroutine_ucontext.c +endif + +if WITH_WINFIBER +libspice_client_glib_2_0_la_SOURCES += coroutine_winfibers.c +endif + +if WITH_GTHREAD +libspice_client_glib_2_0_la_SOURCES += coroutine_gthread.c +libspice_client_glib_2_0_la_LIBADD += $(GTHREAD_LIBS) +endif + + +WIN_USB_FILES= \ + win-usb-dev.h \ + win-usb-dev.c \ + win-usb-clerk.h \ + win-usb-driver-install.h \ + win-usb-driver-install.c \ + $(NULL) + +if OS_WIN32 +if WITH_USBREDIR +libspice_client_glib_2_0_la_SOURCES += \ + $(WIN_USB_FILES) +endif +libspice_client_glib_2_0_la_LIBADD += -lws2_32 -lgdi32 +endif + +displaysrc = \ + glib-compat.h \ + display/edid.h \ + display/edid-parse.c \ + display/display-name.c \ + display/gnome-rr-config.c \ + display/gnome-rr-config.h \ + display/gnome-rr-output-info.c \ + display/gnome-rr-private.h \ + display/gnome-rr.c \ + display/gnome-rr.h \ + $(NULL) + +if WITH_DISPLAY_X11 + displaysrc += display/gnome-rr-x11.c display/gnome-rr-x11.h +else +if WITH_DISPLAY_WINDOWS + displaysrc += display/gnome-rr-windows.c display/gnome-rr-windows.h +else + displaysrc += display/gnome-rr-generic.c display/gnome-rr-generic.h +endif +endif + +spicy_SOURCES = \ + spicy.c \ + spice-cmdline.h \ + spice-cmdline.c \ + $(displaysrc) \ + $(NULL) + +spicy_LDADD = \ + libspice-client-gtk-$(SPICE_GTK_API_VERSION).la \ + libspice-client-glib-2.0.la \ + $(XRANDR_LIBS) \ + $(GTHREAD_LIBS) \ + $(GTK_LIBS) \ + $(LIBM) \ + $(NULL) + +spicy_CPPFLAGS = \ + $(AM_CPPFLAGS) \ + $(XRANDR_CFLAGS) \ + $(GTHREAD_CFLAGS) \ + -DSPICE_DISABLE_DEPRECATED \ + $(NULL) + + +if WITH_POLKIT +spice_client_glib_usb_acl_helper_SOURCES = \ + glib-compat.c \ + glib-compat.h \ + spice-client-glib-usb-acl-helper.c \ + $(NULL) + +spice_client_glib_usb_acl_helper_LDADD = \ + $(GLIB2_LIBS) \ + $(GIO_LIBS) \ + $(POLKIT_LIBS) \ + $(ACL_LIBS) \ + $(PIE_LDFLAGS) \ + $(NULL) + +spice_client_glib_usb_acl_helper_CPPFLAGS = \ + $(SPICE_CFLAGS) \ + $(GLIB2_CFLAGS) \ + $(GIO_CFLAGS) \ + $(POLKIT_CFLAGS) \ + $(PIE_CFLAGS) \ + $(NULL) + +install-data-hook: + -chown root $(DESTDIR)$(acldir)/spice-client-glib-usb-acl-helper + -chmod u+s $(DESTDIR)$(acldir)/spice-client-glib-usb-acl-helper + +endif + + +spicy_screenshot_SOURCES = \ + spicy-screenshot.c \ + spice-cmdline.h \ + spice-cmdline.c \ + $(NULL) + +spicy_screenshot_LDADD = \ + libspice-client-glib-2.0.la \ + $(GOBJECT2_LIBS) \ + $(NULL) + +spicy_stats_SOURCES = \ + spicy-stats.c \ + spice-cmdline.h \ + spice-cmdline.c \ + $(NULL) + +spicy_stats_LDADD = \ + libspice-client-glib-2.0.la \ + $(GOBJECT2_LIBS) \ + $(NULL) + + + +$(libspice_client_glib_2_0_la_SOURCES): spice-glib-enums.h spice-marshal.h + +if HAVE_GTK_2 +$(libspice_client_gtk_2_0_la_SOURCES): spice-glib-enums.h spice-widget-enums.h +else +$(libspice_client_gtk_3_0_la_SOURCES): spice-glib-enums.h spice-widget-enums.h +endif + +spice-marshal.c: spice-marshal.h +spice-glib-enums.c: spice-glib-enums.h +spice-widget-enums.c: spice-widget-enums.h + +spice-marshal.c: spice-marshal.txt + $(AM_V_GEN)echo "#include \"spice-marshal.h\"" > $@ && \ + glib-genmarshal --body $< >> $@ || (rm -f $@ && exit 1) + +spice-marshal.h: spice-marshal.txt + $(AM_V_GEN)glib-genmarshal --header $< > $@ || (rm -f $@ && exit 1) + +spice-glib-enums.c: spice-channel.h channel-inputs.h spice-session.h + $(AM_V_GEN)glib-mkenums --fhead "#include \n" \ + --fhead "#include \"spice-glib-enums.h\"\n\n" \ + --fprod "\n#include \"spice-session.h\"\n" \ + --fprod "\n#include \"spice-channel.h\"\n" \ + --fprod "\n#include \"channel-inputs.h\"\n" \ + --vhead "static const G@Type@Value _@enum_name@_values[] = {" \ + --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ + --vtail " { 0, NULL, NULL }\n};\n\n" \ + --vtail "GType\n@enum_name@_get_type (void)\n{\n" \ + --vtail " static GType type = 0;\n\n" \ + --vtail " if (!type)\n" \ + --vtail " type = g_@type@_register_static (\"@EnumName@\", _@enum_name@_values);\n\n" \ + --vtail " return type;\n}\n\n" \ + $^ > $@ + +spice-glib-enums.h: spice-channel.h channel-inputs.h spice-session.h + $(AM_V_GEN)glib-mkenums --fhead "#ifndef SPICE_GLIB_ENUMS_H\n" \ + --fhead "#define SPICE_GLIB_ENUMS_H\n\n" \ + --fhead "G_BEGIN_DECLS\n\n" \ + --ftail "G_END_DECLS\n\n" \ + --ftail "#endif /* SPICE_CHANNEL_ENUMS_H */\n" \ + --eprod "#define SPICE_TYPE_@ENUMSHORT@ @enum_name@_get_type()\n" \ + --eprod "GType @enum_name@_get_type (void);\n" \ + $^ > $@ + +spice-widget-enums.c: spice-widget.h + $(AM_V_GEN)glib-mkenums --fhead "#include \n" \ + --fhead "#include \"spice-widget-enums.h\"\n\n" \ + --fprod "\n#include \"spice-widget.h\"\n" \ + --vhead "static const G@Type@Value _@enum_name@_values[] = {" \ + --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ + --vtail " { 0, NULL, NULL }\n};\n\n" \ + --vtail "GType\n@enum_name@_get_type (void)\n{\n" \ + --vtail " static GType type = 0;\n\n" \ + --vtail " if (!type)\n" \ + --vtail " type = g_@type@_register_static (\"@EnumName@\", _@enum_name@_values);\n\n" \ + --vtail " return type;\n}\n\n" \ + $< > $@ + +spice-widget-enums.h: spice-widget.h + $(AM_V_GEN)glib-mkenums --fhead "#ifndef SPICE_WIDGET_ENUMS_H\n" \ + --fhead "#define SPICE_WIDGET_ENUMS_H\n\n" \ + --fhead "G_BEGIN_DECLS\n\n" \ + --ftail "G_END_DECLS\n\n" \ + --ftail "#endif /* SPICE_WIDGET_ENUMS_H */\n" \ + --eprod "#define SPICE_TYPE_@ENUMSHORT@ @enum_name@_get_type()\n" \ + --eprod "GType @enum_name@_get_type (void);\n" \ + $< > $@ + + +vncdisplaykeymap.c: $(KEYMAPS) + +$(KEYMAPS): $(KEYMAP_GEN) keymaps.csv + +# Note despite being autogenerated these are not part of CLEANFILES, they +# are actually a part of EXTRA_DIST to avoid the need for perl(Text::CSV) by +# end users +vncdisplaykeymap_xorgevdev2xtkbd.c: + $(AM_V_GEN)$(KEYMAP_GEN) $(srcdir)/keymaps.csv xorgevdev xtkbd > $@ || rm $@ + +vncdisplaykeymap_xorgkbd2xtkbd.c: + $(AM_V_GEN)$(KEYMAP_GEN) $(srcdir)/keymaps.csv xorgkbd xtkbd > $@ || rm $@ + +vncdisplaykeymap_xorgxquartz2xtkbd.c: + $(AM_V_GEN)$(KEYMAP_GEN) $(srcdir)/keymaps.csv xorgxquartz xtkbd > $@ || rm $@ + +vncdisplaykeymap_xorgxwin2xtkbd.c: + $(AM_V_GEN)$(KEYMAP_GEN) $(srcdir)/keymaps.csv xorgxwin xtkbd > $@ || rm $@ + +vncdisplaykeymap_osx2xtkbd.c: + $(AM_V_GEN)$(KEYMAP_GEN) $(srcdir)/keymaps.csv osx xtkbd > $@ || rm $@ + +vncdisplaykeymap_win322xtkbd.c: + $(AM_V_GEN)$(KEYMAP_GEN) $(srcdir)/keymaps.csv win32 xtkbd > $@ || rm $@ + +if WITH_PYTHON +pyexec_LTLIBRARIES = SpiceClientGtk.la + +# workaround for broken parallel install support in automake with LTLIBRARIES +# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328 +install_pyexecLTLIBRARIES = install-pyexecLTLIBRARIES +$(install_pyexecLTLIBRARIES): install-libLTLIBRARIES + +SpiceClientGtk_la_LIBADD = libspice-client-gtk-2.0.la libspice-client-glib-2.0.la $(PYGTK_LIBS) +SpiceClientGtk_la_CFLAGS = $(GTK_CFLAGS) $(PYTHON_INCLUDES) $(PYGTK_CFLAGS) $(WARN_PYFLAGS) +SpiceClientGtk_la_LDFLAGS = -module -avoid-version -fPIC +SpiceClientGtk_la_SOURCES = spice-client-gtk-module.c +nodist_SpiceClientGtk_la_SOURCES = spice-client-gtk-module.defs.c + +CODEGENDIR = `pkg-config --variable=codegendir pygtk-2.0` +DEFSDIR = `pkg-config --variable=defsdir pygtk-2.0` + +spice-client-gtk.defs: $(libspice_client_gtkinclude_HEADERS) $(nodist_libspice_client_gtkinclude_HEADERS) $(libspice_client_glibinclude_HEADERS) $(nodist_libspice_client_glibinclude_HEADERS) + $(AM_V_GEN)$(PYTHON) $(CODEGENDIR)/h2def.py \ + -f $(srcdir)/spice-client-gtk-manual.defs \ + $^ > $@ + +spice-client-gtk-module.defs.c: spice-client-gtk.override spice-client-gtk.defs spice-client-gtk-manual.defs + @cat spice-client-gtk.defs $(srcdir)/spice-client-gtk-manual.defs > tmp.defs + $(AM_V_GEN)pygobject-codegen-2.0 --prefix spice \ + --register $(DEFSDIR)/gdk-types.defs \ + --register $(DEFSDIR)/gtk-types.defs \ + --override $(srcdir)/spice-client-gtk.override \ + tmp.defs > $@ + @rm tmp.defs + +CLEANFILES += spice-client-gtk-module.defs.c spice-client-gtk.defs +endif + +-include $(INTROSPECTION_MAKEFILE) + +if G_IR_SCANNER_SYMBOL_PREFIX +PREFIX_ARGS = --symbol-prefix=spice --identifier-prefix=Spice +else +PREFIX_ARGS = --strip-prefix=Spice +endif + +INTROSPECTION_GIRS = +INTROSPECTION_SCANNER_ARGS = --warn-all --accept-unprefixed --add-include-path=$(builddir) $(PREFIX_ARGS) +INTROSPECTION_COMPILER_ARGS = --includedir=$(builddir) + +if HAVE_INTROSPECTION +glib_introspection_files = \ + $(libspice_client_glibinclude_HEADERS) \ + $(nodist_libspice_client_glibinclude_HEADERS) \ + spice-audio.c \ + spice-client.c \ + spice-session.c \ + spice-channel.c \ + spice-glib-enums.c \ + spice-option.c \ + spice-util.c \ + channel-cursor.c \ + channel-display.c \ + channel-inputs.c \ + channel-main.c \ + channel-playback.c \ + channel-port.c \ + channel-record.c \ + channel-smartcard.c \ + channel-usbredir.c \ + smartcard-manager.c \ + usb-device-manager.c \ + $(NULL) + +gtk_introspection_files = \ + $(libspice_client_gtkinclude_HEADERS) \ + $(nodist_libspice_client_gtkinclude_HEADERS) \ + spice-gtk-session.c \ + spice-widget.c \ + spice-grabsequence.c \ + $(NULL) + +SpiceClientGLib-2.0.gir: libspice-client-glib-2.0.la +SpiceClientGLib_2_0_gir_INCLUDES = GObject-2.0 Gio-2.0 +SpiceClientGLib_2_0_gir_CFLAGS = $(SPICE_COMMON_CPPFLAGS) +SpiceClientGLib_2_0_gir_LIBS = libspice-client-glib-2.0.la +SpiceClientGLib_2_0_gir_FILES = $(glib_introspection_files) +SpiceClientGLib_2_0_gir_EXPORT_PACKAGES = spice-client-glib-2.0 +SpiceClientGLib_2_0_gir_SCANNERFLAGS = --c-include="spice-client.h" +INTROSPECTION_GIRS += SpiceClientGLib-2.0.gir + +if HAVE_GTK_2 +SpiceClientGtk-2.0.gir: libspice-client-gtk-2.0.la SpiceClientGLib-2.0.gir +SpiceClientGtk_2_0_gir_INCLUDES = GObject-2.0 Gtk-2.0 SpiceClientGLib-2.0 +SpiceClientGtk_2_0_gir_CFLAGS = $(SPICE_COMMON_CPPFLAGS) +SpiceClientGtk_2_0_gir_LIBS = libspice-client-gtk-2.0.la libspice-client-glib-2.0.la +SpiceClientGtk_2_0_gir_FILES = $(gtk_introspection_files) +SpiceClientGtk_2_0_gir_EXPORT_PACKAGES = spice-client-gtk-2.0 +SpiceClientGtk_2_0_gir_SCANNERFLAGS = --c-include="spice-widget.h" +else +SpiceClientGtk-3.0.gir: libspice-client-gtk-3.0.la SpiceClientGLib-2.0.gir +SpiceClientGtk_3_0_gir_INCLUDES = GObject-2.0 Gtk-3.0 SpiceClientGLib-2.0 +SpiceClientGtk_3_0_gir_CFLAGS = $(SPICE_COMMON_CPPFLAGS) +SpiceClientGtk_3_0_gir_LIBS = libspice-client-gtk-3.0.la libspice-client-glib-2.0.la +SpiceClientGtk_3_0_gir_FILES = $(gtk_introspection_files) +SpiceClientGtk_3_0_gir_EXPORT_PACKAGES = spice-client-gtk-3.0 +SpiceClientGtk_3_0_gir_SCANNERFLAGS = --c-include="spice-widget.h" +endif +INTROSPECTION_GIRS += SpiceClientGtk-$(SPICE_GTK_API_VERSION).gir + +girdir = $(datadir)/gir-1.0 +gir_DATA = $(INTROSPECTION_GIRS) + +typelibsdir = $(libdir)/girepository-1.0 +typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib) + +CLEANFILES += $(gir_DATA) $(typelibs_DATA) +endif + +update-symbol-files: + ( echo "SPICEGTK_1 {" ; \ + echo "global:" ; \ + ctags -f - --c-kinds=p $(libspice_client_gtkinclude_HEADERS) $(nodist_libspice_client_gtkinclude_HEADERS) $(libspice_client_glibinclude_HEADERS) $(nodist_libspice_client_glibinclude_HEADERS) | awk '/^spice_/ { print $$1 ";" }' | sort ; \ + echo "local:" ; \ + echo "*;" ; \ + echo "};" ) > $(srcdir)/map-file + ( ctags -f - --c-kinds=p $(libspice_client_glibinclude_HEADERS) $(nodist_libspice_client_glibinclude_HEADERS) | awk '/^spice_/ { print $$1 }' | sort ; \ + ) > $(srcdir)/spice-glib-sym-file + ( ctags -f - --c-kinds=p $(libspice_client_gtkinclude_HEADERS) $(nodist_libspice_client_gtkinclude_HEADERS) | awk '/^spice_/ { print $$1 }' | sort ; \ + ) > $(srcdir)/spice-gtk-sym-file + +-include $(top_srcdir)/git.mk diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/Makefile.in b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/Makefile.in new file mode 100644 index 0000000..eb98a26 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/Makefile.in @@ -0,0 +1,2178 @@ +# Makefile.in generated by automake 1.13.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2012 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@ + + + + +VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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@ +@WITH_CONTROLLER_TRUE@am__append_1 = controller +bin_PROGRAMS = spicy$(EXEEXT) spicy-stats$(EXEEXT) \ + spicy-screenshot$(EXEEXT) +@WITH_POLKIT_TRUE@acl_PROGRAMS = \ +@WITH_POLKIT_TRUE@ spice-client-glib-usb-acl-helper$(EXEEXT) +@HAVE_GTK_2_TRUE@am__append_2 = libspice-client-gtk-2.0.la +@HAVE_GTK_2_FALSE@am__append_3 = libspice-client-gtk-3.0.la +@WITH_X11_TRUE@am__append_4 = \ +@WITH_X11_TRUE@ spice-widget-x11.c \ +@WITH_X11_TRUE@ $(NULL) + +@WITH_X11_FALSE@am__append_5 = \ +@WITH_X11_FALSE@ spice-widget-cairo.c \ +@WITH_X11_FALSE@ $(NULL) + +@WITH_POLKIT_TRUE@am__append_6 = -DACL_HELPER_PATH="\"$(ACL_HELPER_DIR)\"" +@WITH_GPROXY_TRUE@am__append_7 = \ +@WITH_GPROXY_TRUE@ wocky-http-proxy.c \ +@WITH_GPROXY_TRUE@ wocky-http-proxy.h \ +@WITH_GPROXY_TRUE@ $(NULL) + +@WITH_PULSE_TRUE@am__append_8 = \ +@WITH_PULSE_TRUE@ spice-pulse.c \ +@WITH_PULSE_TRUE@ spice-pulse.h \ +@WITH_PULSE_TRUE@ $(NULL) + +@WITH_GSTAUDIO_TRUE@am__append_9 = \ +@WITH_GSTAUDIO_TRUE@ spice-gstaudio.c \ +@WITH_GSTAUDIO_TRUE@ spice-gstaudio.h \ +@WITH_GSTAUDIO_TRUE@ $(NULL) + +@WITH_UCONTEXT_TRUE@am__append_10 = continuation.h continuation.c coroutine_ucontext.c +@WITH_WINFIBER_TRUE@am__append_11 = coroutine_winfibers.c +@WITH_GTHREAD_TRUE@am__append_12 = coroutine_gthread.c +@WITH_GTHREAD_TRUE@am__append_13 = $(GTHREAD_LIBS) +@OS_WIN32_TRUE@@WITH_USBREDIR_TRUE@am__append_14 = \ +@OS_WIN32_TRUE@@WITH_USBREDIR_TRUE@ $(WIN_USB_FILES) + +@OS_WIN32_TRUE@am__append_15 = -lws2_32 -lgdi32 +@WITH_DISPLAY_X11_TRUE@am__append_16 = display/gnome-rr-x11.c display/gnome-rr-x11.h +@WITH_DISPLAY_WINDOWS_TRUE@@WITH_DISPLAY_X11_FALSE@am__append_17 = display/gnome-rr-windows.c display/gnome-rr-windows.h +@WITH_DISPLAY_WINDOWS_FALSE@@WITH_DISPLAY_X11_FALSE@am__append_18 = display/gnome-rr-generic.c display/gnome-rr-generic.h +@WITH_PYTHON_TRUE@am__append_19 = spice-client-gtk-module.defs.c spice-client-gtk.defs +@HAVE_INTROSPECTION_TRUE@am__append_20 = SpiceClientGLib-2.0.gir \ +@HAVE_INTROSPECTION_TRUE@ SpiceClientGtk-$(SPICE_GTK_API_VERSION).gir +@HAVE_INTROSPECTION_TRUE@am__append_21 = $(gir_DATA) $(typelibs_DATA) +subdir = gtk +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ + $(top_srcdir)/build-aux/depcomp \ + $(dist_libspice_client_glibinclude_DATA) \ + $(libspice_client_glibinclude_HEADERS) \ + $(libspice_client_gtkinclude_HEADERS) +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/check_python.m4 \ + $(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/intltool.m4 \ + $(top_srcdir)/m4/ld-version.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/m4/manywarnings.m4 \ + $(top_srcdir)/m4/spice-compile-warnings.m4 \ + $(top_srcdir)/m4/warnings.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 = +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; }; \ + } +am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pyexecdir)" \ + "$(DESTDIR)$(acldir)" "$(DESTDIR)$(bindir)" \ + "$(DESTDIR)$(libspice_client_glibincludedir)" \ + "$(DESTDIR)$(girdir)" "$(DESTDIR)$(typelibsdir)" \ + "$(DESTDIR)$(libspice_client_glibincludedir)" \ + "$(DESTDIR)$(libspice_client_gtkincludedir)" \ + "$(DESTDIR)$(libspice_client_glibincludedir)" \ + "$(DESTDIR)$(libspice_client_gtkincludedir)" +LTLIBRARIES = $(lib_LTLIBRARIES) $(pyexec_LTLIBRARIES) +am__DEPENDENCIES_1 = +@WITH_PYTHON_TRUE@SpiceClientGtk_la_DEPENDENCIES = \ +@WITH_PYTHON_TRUE@ libspice-client-gtk-2.0.la \ +@WITH_PYTHON_TRUE@ libspice-client-glib-2.0.la \ +@WITH_PYTHON_TRUE@ $(am__DEPENDENCIES_1) +am__SpiceClientGtk_la_SOURCES_DIST = spice-client-gtk-module.c +@WITH_PYTHON_TRUE@am_SpiceClientGtk_la_OBJECTS = SpiceClientGtk_la-spice-client-gtk-module.lo +@WITH_PYTHON_TRUE@nodist_SpiceClientGtk_la_OBJECTS = SpiceClientGtk_la-spice-client-gtk-module.defs.lo +SpiceClientGtk_la_OBJECTS = $(am_SpiceClientGtk_la_OBJECTS) \ + $(nodist_SpiceClientGtk_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +SpiceClientGtk_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(SpiceClientGtk_la_CFLAGS) $(CFLAGS) \ + $(SpiceClientGtk_la_LDFLAGS) $(LDFLAGS) -o $@ +@WITH_PYTHON_TRUE@am_SpiceClientGtk_la_rpath = -rpath $(pyexecdir) +@WITH_GTHREAD_TRUE@am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) +libspice_client_glib_2_0_la_DEPENDENCIES = \ + $(top_builddir)/../../common/spice-common/common/libspice-common.la \ + $(top_builddir)/../../common/spice-common/common/libspice-common-client.la \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_1) +am__libspice_client_glib_2_0_la_SOURCES_DIST = bio-gsocket.c \ + bio-gsocket.h glib-compat.c glib-compat.h spice-audio.c \ + spice-audio-priv.h spice-common.h spice-util.c \ + spice-util-priv.h spice-option.h spice-option.c spice-client.c \ + spice-session.c spice-session-priv.h spice-channel.c \ + spice-channel-cache.h spice-channel-priv.h coroutine.h \ + gio-coroutine.c gio-coroutine.h channel-base.c \ + channel-cursor.c channel-display.c channel-display-priv.h \ + channel-display-mjpeg.c channel-inputs.c channel-main.c \ + channel-playback.c channel-port.c channel-record.c \ + channel-smartcard.c channel-usbredir.c channel-usbredir-priv.h \ + smartcard-manager.c smartcard-manager-priv.h spice-proxy.c \ + spice-proxy.h usb-device-manager.c usb-device-manager-priv.h \ + usbutil.c usbutil.h usb-acl-helper.c usb-acl-helper.h decode.h \ + decode-glz.c decode-jpeg.c decode-zlib.c \ + $(top_srcdir)/../../common/spice-common/common/sw_canvas.c \ + $(top_srcdir)/../../common/spice-common/common/sw_canvas.h \ + wocky-http-proxy.c wocky-http-proxy.h spice-pulse.c \ + spice-pulse.h spice-gstaudio.c spice-gstaudio.h continuation.h \ + continuation.c coroutine_ucontext.c coroutine_winfibers.c \ + coroutine_gthread.c win-usb-dev.h win-usb-dev.c \ + win-usb-clerk.h win-usb-driver-install.h \ + win-usb-driver-install.c +am__objects_1 = +@WITH_POLKIT_TRUE@am__objects_2 = usb-acl-helper.lo $(am__objects_1) +@WITH_GPROXY_TRUE@am__objects_3 = wocky-http-proxy.lo $(am__objects_1) +@WITH_PULSE_TRUE@am__objects_4 = spice-pulse.lo $(am__objects_1) +@WITH_GSTAUDIO_TRUE@am__objects_5 = spice-gstaudio.lo $(am__objects_1) +@WITH_UCONTEXT_TRUE@am__objects_6 = continuation.lo \ +@WITH_UCONTEXT_TRUE@ coroutine_ucontext.lo +@WITH_WINFIBER_TRUE@am__objects_7 = coroutine_winfibers.lo +@WITH_GTHREAD_TRUE@am__objects_8 = coroutine_gthread.lo +am__objects_9 = win-usb-dev.lo win-usb-driver-install.lo \ + $(am__objects_1) +@OS_WIN32_TRUE@@WITH_USBREDIR_TRUE@am__objects_10 = $(am__objects_9) +am_libspice_client_glib_2_0_la_OBJECTS = bio-gsocket.lo glib-compat.lo \ + spice-audio.lo spice-util.lo spice-option.lo spice-client.lo \ + spice-session.lo spice-channel.lo gio-coroutine.lo \ + channel-base.lo channel-cursor.lo channel-display.lo \ + channel-display-mjpeg.lo channel-inputs.lo channel-main.lo \ + channel-playback.lo channel-port.lo channel-record.lo \ + channel-smartcard.lo channel-usbredir.lo smartcard-manager.lo \ + spice-proxy.lo usb-device-manager.lo usbutil.lo \ + $(am__objects_2) decode-glz.lo decode-jpeg.lo decode-zlib.lo \ + sw_canvas.lo $(am__objects_1) $(am__objects_3) \ + $(am__objects_4) $(am__objects_5) $(am__objects_6) \ + $(am__objects_7) $(am__objects_8) $(am__objects_10) +nodist_libspice_client_glib_2_0_la_OBJECTS = spice-glib-enums.lo \ + spice-marshal.lo $(am__objects_1) +libspice_client_glib_2_0_la_OBJECTS = \ + $(am_libspice_client_glib_2_0_la_OBJECTS) \ + $(nodist_libspice_client_glib_2_0_la_OBJECTS) +libspice_client_glib_2_0_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(AM_CFLAGS) $(CFLAGS) $(libspice_client_glib_2_0_la_LDFLAGS) \ + $(LDFLAGS) -o $@ +am__DEPENDENCIES_3 = libspice-client-glib-2.0.la $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) +@HAVE_GTK_2_TRUE@libspice_client_gtk_2_0_la_DEPENDENCIES = \ +@HAVE_GTK_2_TRUE@ $(am__DEPENDENCIES_3) +am__libspice_client_gtk_2_0_la_SOURCES_DIST = glib-compat.h \ + spice-gtk-session.c spice-gtk-session-priv.h spice-widget.c \ + spice-widget-priv.h vncdisplaykeymap.c vncdisplaykeymap.h \ + spice-grabsequence.c spice-grabsequence.h \ + desktop-integration.c desktop-integration.h \ + usb-device-widget.c spice-widget-x11.c spice-widget-cairo.c +@WITH_X11_TRUE@am__objects_11 = spice-widget-x11.lo $(am__objects_1) +@WITH_X11_FALSE@am__objects_12 = spice-widget-cairo.lo \ +@WITH_X11_FALSE@ $(am__objects_1) +am__objects_13 = spice-gtk-session.lo spice-widget.lo \ + vncdisplaykeymap.lo spice-grabsequence.lo \ + desktop-integration.lo usb-device-widget.lo $(am__objects_1) \ + $(am__objects_11) $(am__objects_12) +@HAVE_GTK_2_TRUE@am_libspice_client_gtk_2_0_la_OBJECTS = \ +@HAVE_GTK_2_TRUE@ $(am__objects_13) +am__objects_14 = spice-widget-enums.lo spice-marshal.lo \ + $(am__objects_1) +@HAVE_GTK_2_TRUE@nodist_libspice_client_gtk_2_0_la_OBJECTS = \ +@HAVE_GTK_2_TRUE@ $(am__objects_14) +libspice_client_gtk_2_0_la_OBJECTS = \ + $(am_libspice_client_gtk_2_0_la_OBJECTS) \ + $(nodist_libspice_client_gtk_2_0_la_OBJECTS) +libspice_client_gtk_2_0_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(AM_CFLAGS) $(CFLAGS) $(libspice_client_gtk_2_0_la_LDFLAGS) \ + $(LDFLAGS) -o $@ +@HAVE_GTK_2_TRUE@am_libspice_client_gtk_2_0_la_rpath = -rpath \ +@HAVE_GTK_2_TRUE@ $(libdir) +@HAVE_GTK_2_FALSE@libspice_client_gtk_3_0_la_DEPENDENCIES = \ +@HAVE_GTK_2_FALSE@ $(am__DEPENDENCIES_3) +am__libspice_client_gtk_3_0_la_SOURCES_DIST = glib-compat.h \ + spice-gtk-session.c spice-gtk-session-priv.h spice-widget.c \ + spice-widget-priv.h vncdisplaykeymap.c vncdisplaykeymap.h \ + spice-grabsequence.c spice-grabsequence.h \ + desktop-integration.c desktop-integration.h \ + usb-device-widget.c spice-widget-x11.c spice-widget-cairo.c +@HAVE_GTK_2_FALSE@am_libspice_client_gtk_3_0_la_OBJECTS = \ +@HAVE_GTK_2_FALSE@ $(am__objects_13) +@HAVE_GTK_2_FALSE@nodist_libspice_client_gtk_3_0_la_OBJECTS = \ +@HAVE_GTK_2_FALSE@ $(am__objects_14) +libspice_client_gtk_3_0_la_OBJECTS = \ + $(am_libspice_client_gtk_3_0_la_OBJECTS) \ + $(nodist_libspice_client_gtk_3_0_la_OBJECTS) +libspice_client_gtk_3_0_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(AM_CFLAGS) $(CFLAGS) $(libspice_client_gtk_3_0_la_LDFLAGS) \ + $(LDFLAGS) -o $@ +@HAVE_GTK_2_FALSE@am_libspice_client_gtk_3_0_la_rpath = -rpath \ +@HAVE_GTK_2_FALSE@ $(libdir) +PROGRAMS = $(acl_PROGRAMS) $(bin_PROGRAMS) +am__spice_client_glib_usb_acl_helper_SOURCES_DIST = glib-compat.c \ + glib-compat.h spice-client-glib-usb-acl-helper.c +@WITH_POLKIT_TRUE@am_spice_client_glib_usb_acl_helper_OBJECTS = spice_client_glib_usb_acl_helper-glib-compat.$(OBJEXT) \ +@WITH_POLKIT_TRUE@ spice_client_glib_usb_acl_helper-spice-client-glib-usb-acl-helper.$(OBJEXT) \ +@WITH_POLKIT_TRUE@ $(am__objects_1) +spice_client_glib_usb_acl_helper_OBJECTS = \ + $(am_spice_client_glib_usb_acl_helper_OBJECTS) +@WITH_POLKIT_TRUE@spice_client_glib_usb_acl_helper_DEPENDENCIES = \ +@WITH_POLKIT_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@WITH_POLKIT_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@WITH_POLKIT_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +am__spicy_SOURCES_DIST = spicy.c spice-cmdline.h spice-cmdline.c \ + glib-compat.h display/edid.h display/edid-parse.c \ + display/display-name.c display/gnome-rr-config.c \ + display/gnome-rr-config.h display/gnome-rr-output-info.c \ + display/gnome-rr-private.h display/gnome-rr.c \ + display/gnome-rr.h display/gnome-rr-x11.c \ + display/gnome-rr-x11.h display/gnome-rr-windows.c \ + display/gnome-rr-windows.h display/gnome-rr-generic.c \ + display/gnome-rr-generic.h +@WITH_DISPLAY_X11_TRUE@am__objects_15 = spicy-gnome-rr-x11.$(OBJEXT) +@WITH_DISPLAY_WINDOWS_TRUE@@WITH_DISPLAY_X11_FALSE@am__objects_16 = spicy-gnome-rr-windows.$(OBJEXT) +@WITH_DISPLAY_WINDOWS_FALSE@@WITH_DISPLAY_X11_FALSE@am__objects_17 = spicy-gnome-rr-generic.$(OBJEXT) +am__objects_18 = spicy-edid-parse.$(OBJEXT) \ + spicy-display-name.$(OBJEXT) spicy-gnome-rr-config.$(OBJEXT) \ + spicy-gnome-rr-output-info.$(OBJEXT) spicy-gnome-rr.$(OBJEXT) \ + $(am__objects_1) $(am__objects_15) $(am__objects_16) \ + $(am__objects_17) +am_spicy_OBJECTS = spicy-spicy.$(OBJEXT) spicy-spice-cmdline.$(OBJEXT) \ + $(am__objects_18) $(am__objects_1) +spicy_OBJECTS = $(am_spicy_OBJECTS) +spicy_DEPENDENCIES = libspice-client-gtk-$(SPICE_GTK_API_VERSION).la \ + libspice-client-glib-2.0.la $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +am_spicy_screenshot_OBJECTS = spicy-screenshot.$(OBJEXT) \ + spice-cmdline.$(OBJEXT) $(am__objects_1) +spicy_screenshot_OBJECTS = $(am_spicy_screenshot_OBJECTS) +spicy_screenshot_DEPENDENCIES = libspice-client-glib-2.0.la \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +am_spicy_stats_OBJECTS = spicy-stats.$(OBJEXT) spice-cmdline.$(OBJEXT) \ + $(am__objects_1) +spicy_stats_OBJECTS = $(am_spicy_stats_OBJECTS) +spicy_stats_DEPENDENCIES = libspice-client-glib-2.0.la \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(SpiceClientGtk_la_SOURCES) \ + $(nodist_SpiceClientGtk_la_SOURCES) \ + $(libspice_client_glib_2_0_la_SOURCES) \ + $(nodist_libspice_client_glib_2_0_la_SOURCES) \ + $(libspice_client_gtk_2_0_la_SOURCES) \ + $(nodist_libspice_client_gtk_2_0_la_SOURCES) \ + $(libspice_client_gtk_3_0_la_SOURCES) \ + $(nodist_libspice_client_gtk_3_0_la_SOURCES) \ + $(spice_client_glib_usb_acl_helper_SOURCES) $(spicy_SOURCES) \ + $(spicy_screenshot_SOURCES) $(spicy_stats_SOURCES) +DIST_SOURCES = $(am__SpiceClientGtk_la_SOURCES_DIST) \ + $(am__libspice_client_glib_2_0_la_SOURCES_DIST) \ + $(am__libspice_client_gtk_2_0_la_SOURCES_DIST) \ + $(am__libspice_client_gtk_3_0_la_SOURCES_DIST) \ + $(am__spice_client_glib_usb_acl_helper_SOURCES_DIST) \ + $(am__spicy_SOURCES_DIST) $(spicy_screenshot_SOURCES) \ + $(spicy_stats_SOURCES) +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(dist_libspice_client_glibinclude_DATA) $(gir_DATA) \ + $(typelibs_DATA) +HEADERS = $(libspice_client_glibinclude_HEADERS) \ + $(libspice_client_gtkinclude_HEADERS) \ + $(nodist_libspice_client_glibinclude_HEADERS) \ + $(nodist_libspice_client_gtkinclude_HEADERS) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ + distdir +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = controller +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +ACLOCAL = @ACLOCAL@ +ACL_HELPER_DIR = @ACL_HELPER_DIR@ +ACL_LIBS = @ACL_LIBS@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CAIRO_CFLAGS = @CAIRO_CFLAGS@ +CAIRO_LIBS = @CAIRO_LIBS@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CELT051_CFLAGS = @CELT051_CFLAGS@ +CELT051_LIBDIR = @CELT051_LIBDIR@ +CELT051_LIBS = @CELT051_LIBS@ +CFLAGS = @CFLAGS@ +COMMON_CFLAGS = @COMMON_CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DBUS_GLIB_CFLAGS = @DBUS_GLIB_CFLAGS@ +DBUS_GLIB_LIBS = @DBUS_GLIB_LIBS@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GIO_CFLAGS = @GIO_CFLAGS@ +GIO_LIBS = @GIO_LIBS@ +GLIB2_CFLAGS = @GLIB2_CFLAGS@ +GLIB2_LIBS = @GLIB2_LIBS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GOBJECT2_CFLAGS = @GOBJECT2_CFLAGS@ +GOBJECT2_LIBS = @GOBJECT2_LIBS@ +GREP = @GREP@ +GST_CFLAGS = @GST_CFLAGS@ +GST_LIBS = @GST_LIBS@ +GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ +GTHREAD_LIBS = @GTHREAD_LIBS@ +GTKDOC_CHECK = @GTKDOC_CHECK@ +GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ +GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ +GTKDOC_MKPDF = @GTKDOC_MKPDF@ +GTKDOC_REBASE = @GTKDOC_REBASE@ +GTK_API_VERSION = @GTK_API_VERSION@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +GTK_REQUIRED = @GTK_REQUIRED@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +HTML_DIR = @HTML_DIR@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@ +INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@ +INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@ +INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@ +INTROSPECTION_LIBS = @INTROSPECTION_LIBS@ +INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@ +INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@ +INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@ +JPEG_LIBS = @JPEG_LIBS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBM = @LIBM@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PIE_CFLAGS = @PIE_CFLAGS@ +PIE_LDFLAGS = @PIE_LDFLAGS@ +PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ +PIXMAN_LIBS = @PIXMAN_LIBS@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PNP_IDS = @PNP_IDS@ +POFILES = @POFILES@ +POLICYDIR = @POLICYDIR@ +POLKIT_CFLAGS = @POLKIT_CFLAGS@ +POLKIT_LIBS = @POLKIT_LIBS@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PULSE_CFLAGS = @PULSE_CFLAGS@ +PULSE_LIBS = @PULSE_LIBS@ +PYGTK_CFLAGS = @PYGTK_CFLAGS@ +PYGTK_LIBS = @PYGTK_LIBS@ +PYTHON = @PYTHON@ +PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ +PYTHON_INCLUDES = @PYTHON_INCLUDES@ +PYTHON_PLATFORM = @PYTHON_PLATFORM@ +PYTHON_PREFIX = @PYTHON_PREFIX@ +PYTHON_VERSION = @PYTHON_VERSION@ +RANLIB = @RANLIB@ +SASL_CFLAGS = @SASL_CFLAGS@ +SASL_LIBS = @SASL_LIBS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SMARTCARD_CFLAGS = @SMARTCARD_CFLAGS@ +SMARTCARD_LIBS = @SMARTCARD_LIBS@ +SPICE_CFLAGS = @SPICE_CFLAGS@ +SPICE_GLIB_CFLAGS = @SPICE_GLIB_CFLAGS@ +SPICE_GLIB_REQUIRES = @SPICE_GLIB_REQUIRES@ +SPICE_GTK_API_VERSION = @SPICE_GTK_API_VERSION@ +SPICE_GTK_CFLAGS = @SPICE_GTK_CFLAGS@ +SPICE_GTK_LOCALEDIR = @SPICE_GTK_LOCALEDIR@ +SPICE_GTK_REQUIRES = @SPICE_GTK_REQUIRES@ +SSL_CFLAGS = @SSL_CFLAGS@ +SSL_LIBS = @SSL_LIBS@ +STOW = @STOW@ +STRIP = @STRIP@ +USBREDIR_CFLAGS = @USBREDIR_CFLAGS@ +USBREDIR_LIBS = @USBREDIR_LIBS@ +USB_IDS = @USB_IDS@ +USE_NLS = @USE_NLS@ +VALAC = @VALAC@ +VAPIDIR = @VAPIDIR@ +VAPIGEN = @VAPIGEN@ +VERSION = @VERSION@ +WARN_CFLAGS = @WARN_CFLAGS@ +WARN_LDFLAGS = @WARN_LDFLAGS@ +WARN_PYFLAGS = @WARN_PYFLAGS@ +XGETTEXT = @XGETTEXT@ +XRANDR_CFLAGS = @XRANDR_CFLAGS@ +XRANDR_LIBS = @XRANDR_LIBS@ +Z_LIBS = @Z_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgpyexecdir = @pkgpyexecdir@ +pkgpythondir = @pkgpythondir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +pyexecdir = @pyexecdir@ +pythondir = @pythondir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +subdirs = @subdirs@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +NULL = +SUBDIRS = $(am__append_1) + +# Avoid need for perl(Text::CSV) by end users +KEYMAPS = \ + vncdisplaykeymap_xorgevdev2xtkbd.c \ + vncdisplaykeymap_xorgkbd2xtkbd.c \ + vncdisplaykeymap_xorgxquartz2xtkbd.c \ + vncdisplaykeymap_xorgxwin2xtkbd.c \ + vncdisplaykeymap_osx2xtkbd.c \ + vncdisplaykeymap_win322xtkbd.c \ + $(NULL) + + +# End users build dependencies can be cleaned +GLIBGENS = \ + spice-glib-enums.c \ + spice-glib-enums.h \ + spice-marshal.c \ + spice-marshal.h \ + spice-widget-enums.c \ + spice-widget-enums.h \ + $(NULL) + +CLEANFILES = $(GLIBGENS) $(am__append_19) $(am__append_21) +BUILT_SOURCES = $(GLIBGENS) $(KEYMAPS) +EXTRA_DIST = \ + $(KEYMAPS) \ + decode-glz-tmpl.c \ + keymap-gen.pl \ + keymaps.csv \ + map-file \ + spice-glib-sym-file \ + spice-gtk-sym-file \ + spice-client-gtk-manual.defs \ + spice-client-gtk.override \ + spice-marshal.txt \ + $(NULL) + +@WITH_POLKIT_TRUE@acldir = $(ACL_HELPER_DIR) +lib_LTLIBRARIES = libspice-client-glib-2.0.la $(am__append_2) \ + $(am__append_3) +@HAVE_LD_VERSION_SCRIPT_FALSE@GLIB_VERSION_LDFLAGS = -export-symbols ${srcdir}/spice-glib-sym-file +@HAVE_LD_VERSION_SCRIPT_TRUE@GLIB_VERSION_LDFLAGS = -Wl,--version-script=${srcdir}/map-file +@HAVE_LD_VERSION_SCRIPT_FALSE@GTK_VERSION_LDFLAGS = -export-symbols ${srcdir}/spice-gtk-sym-file +@HAVE_LD_VERSION_SCRIPT_TRUE@GTK_VERSION_LDFLAGS = $(GLIB_VERSION_LDFLAGS) +KEYMAP_GEN = $(srcdir)/keymap-gen.pl +SPICE_COMMON_CPPFLAGS = \ + -DG_LOG_DOMAIN=\"GSpice\" \ + -DSPICE_NO_DEPRECATED \ + -DSW_CANVAS_CACHE \ + -DSPICE_GTK_LOCALEDIR=\"${SPICE_GTK_LOCALEDIR}\" \ + -DPNP_IDS=\""$(PNP_IDS)"\" \ + -DUSB_IDS=\""$(USB_IDS)"\" \ + -DSPICE_DISABLE_ABORT \ + -I$(top_srcdir) \ + $(COMMON_CFLAGS) \ + $(PIXMAN_CFLAGS) \ + $(CELT051_CFLAGS) \ + $(PULSE_CFLAGS) \ + $(GTK_CFLAGS) \ + $(CAIRO_CFLAGS) \ + $(GLIB2_CFLAGS) \ + $(GIO_CFLAGS) \ + $(GOBJECT2_CFLAGS) \ + $(DBUS_GLIB_CFLAGS) \ + $(SSL_CFLAGS) \ + $(SASL_CFLAGS) \ + $(GST_CFLAGS) \ + $(SMARTCARD_CFLAGS) \ + $(USBREDIR_CFLAGS) \ + $(GUDEV_CFLAGS) \ + $(NULL) + +AM_CPPFLAGS = $(SPICE_COMMON_CPPFLAGS) $(SPICE_CFLAGS) $(NULL) \ + $(am__append_6) + +# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html +SPICE_GTK_LDFLAGS_COMMON = \ + -version-info 4:0:0 \ + -no-undefined \ + $(GTK_VERSION_LDFLAGS) \ + $(NULL) + +SPICE_GTK_LIBADD_COMMON = \ + libspice-client-glib-2.0.la \ + $(GTK_LIBS) \ + $(CAIRO_LIBS) \ + $(DBUS_GLIB_LIBS) \ + $(XRANDR_LIBS) \ + $(LIBM) \ + $(NULL) + +SPICE_GTK_SOURCES_COMMON = glib-compat.h spice-gtk-session.c \ + spice-gtk-session-priv.h spice-widget.c spice-widget-priv.h \ + vncdisplaykeymap.c vncdisplaykeymap.h spice-grabsequence.c \ + spice-grabsequence.h desktop-integration.c \ + desktop-integration.h usb-device-widget.c $(NULL) \ + $(am__append_4) $(am__append_5) +nodist_SPICE_GTK_SOURCES_COMMON = \ + spice-widget-enums.c \ + spice-marshal.c \ + $(NULL) + +@HAVE_GTK_2_TRUE@libspice_client_gtk_2_0_la_LDFLAGS = $(SPICE_GTK_LDFLAGS_COMMON) +@HAVE_GTK_2_TRUE@libspice_client_gtk_2_0_la_LIBADD = $(SPICE_GTK_LIBADD_COMMON) +@HAVE_GTK_2_TRUE@libspice_client_gtk_2_0_la_SOURCES = $(SPICE_GTK_SOURCES_COMMON) +@HAVE_GTK_2_TRUE@nodist_libspice_client_gtk_2_0_la_SOURCES = $(nodist_SPICE_GTK_SOURCES_COMMON) +@HAVE_GTK_2_FALSE@libspice_client_gtk_3_0_la_LDFLAGS = $(SPICE_GTK_LDFLAGS_COMMON) +@HAVE_GTK_2_FALSE@libspice_client_gtk_3_0_la_LIBADD = $(SPICE_GTK_LIBADD_COMMON) +@HAVE_GTK_2_FALSE@libspice_client_gtk_3_0_la_SOURCES = $(SPICE_GTK_SOURCES_COMMON) +@HAVE_GTK_2_FALSE@nodist_libspice_client_gtk_3_0_la_SOURCES = $(nodist_SPICE_GTK_SOURCES_COMMON) +libspice_client_gtkincludedir = $(includedir)/spice-client-gtk-$(SPICE_GTK_API_VERSION) +libspice_client_gtkinclude_HEADERS = \ + spice-gtk-session.h \ + spice-widget.h \ + spice-grabsequence.h \ + usb-device-widget.h \ + $(NULL) + +nodist_libspice_client_gtkinclude_HEADERS = \ + spice-widget-enums.h \ + $(NULL) + +libspice_client_glib_2_0_la_LDFLAGS = \ + -version-info 11:0:3 \ + -no-undefined \ + $(GLIB_VERSION_LDFLAGS) \ + $(NULL) + +libspice_client_glib_2_0_la_LIBADD = \ + $(top_builddir)/../../common/spice-common/common/libspice-common.la \ + $(top_builddir)/../../common/spice-common/common/libspice-common-client.la \ + $(GLIB2_LIBS) $(GIO_LIBS) $(GOBJECT2_LIBS) $(CELT051_LIBS) \ + $(JPEG_LIBS) $(Z_LIBS) $(PIXMAN_LIBS) $(SSL_LIBS) \ + $(PULSE_LIBS) $(GST_LIBS) $(SASL_LIBS) $(SMARTCARD_LIBS) \ + $(USBREDIR_LIBS) $(GUDEV_LIBS) $(NULL) $(am__append_13) \ + $(am__append_15) +@WITH_POLKIT_FALSE@USB_ACL_HELPER_SRCS = +@WITH_POLKIT_TRUE@USB_ACL_HELPER_SRCS = \ +@WITH_POLKIT_TRUE@ usb-acl-helper.c \ +@WITH_POLKIT_TRUE@ usb-acl-helper.h \ +@WITH_POLKIT_TRUE@ $(NULL) + +libspice_client_glib_2_0_la_SOURCES = bio-gsocket.c bio-gsocket.h \ + glib-compat.c glib-compat.h spice-audio.c spice-audio-priv.h \ + spice-common.h spice-util.c spice-util-priv.h spice-option.h \ + spice-option.c spice-client.c spice-session.c \ + spice-session-priv.h spice-channel.c spice-channel-cache.h \ + spice-channel-priv.h coroutine.h gio-coroutine.c \ + gio-coroutine.h channel-base.c channel-cursor.c \ + channel-display.c channel-display-priv.h \ + channel-display-mjpeg.c channel-inputs.c channel-main.c \ + channel-playback.c channel-port.c channel-record.c \ + channel-smartcard.c channel-usbredir.c channel-usbredir-priv.h \ + smartcard-manager.c smartcard-manager-priv.h spice-proxy.c \ + spice-proxy.h usb-device-manager.c usb-device-manager-priv.h \ + usbutil.c usbutil.h $(USB_ACL_HELPER_SRCS) decode.h \ + decode-glz.c decode-jpeg.c decode-zlib.c \ + $(top_srcdir)/../../common/spice-common/common/sw_canvas.c \ + $(top_srcdir)/../../common/spice-common/common/sw_canvas.h $(NULL) \ + $(am__append_7) $(am__append_8) $(am__append_9) \ + $(am__append_10) $(am__append_11) $(am__append_12) \ + $(am__append_14) +nodist_libspice_client_glib_2_0_la_SOURCES = \ + spice-glib-enums.c \ + spice-marshal.c \ + spice-marshal.h \ + $(NULL) + +libspice_client_glibincludedir = $(includedir)/spice-client-glib-2.0 +libspice_client_glibinclude_HEADERS = \ + spice-audio.h \ + spice-client.h \ + spice-types.h \ + spice-session.h \ + spice-channel.h \ + spice-util.h \ + spice-option.h \ + channel-cursor.h \ + channel-display.h \ + channel-inputs.h \ + channel-main.h \ + channel-playback.h \ + channel-port.h \ + channel-record.h \ + channel-smartcard.h \ + channel-usbredir.h \ + usb-device-manager.h \ + smartcard-manager.h \ + $(NULL) + +nodist_libspice_client_glibinclude_HEADERS = \ + spice-glib-enums.h \ + $(NULL) + + +# file for API compatibility, but we don't want warning during our compilation +dist_libspice_client_glibinclude_DATA = \ + spice-channel-enums.h \ + $(NULL) + +WIN_USB_FILES = \ + win-usb-dev.h \ + win-usb-dev.c \ + win-usb-clerk.h \ + win-usb-driver-install.h \ + win-usb-driver-install.c \ + $(NULL) + +displaysrc = glib-compat.h display/edid.h display/edid-parse.c \ + display/display-name.c display/gnome-rr-config.c \ + display/gnome-rr-config.h display/gnome-rr-output-info.c \ + display/gnome-rr-private.h display/gnome-rr.c \ + display/gnome-rr.h $(NULL) $(am__append_16) $(am__append_17) \ + $(am__append_18) +spicy_SOURCES = \ + spicy.c \ + spice-cmdline.h \ + spice-cmdline.c \ + $(displaysrc) \ + $(NULL) + +spicy_LDADD = \ + libspice-client-gtk-$(SPICE_GTK_API_VERSION).la \ + libspice-client-glib-2.0.la \ + $(XRANDR_LIBS) \ + $(GTHREAD_LIBS) \ + $(GTK_LIBS) \ + $(LIBM) \ + $(NULL) + +spicy_CPPFLAGS = \ + $(AM_CPPFLAGS) \ + $(XRANDR_CFLAGS) \ + $(GTHREAD_CFLAGS) \ + -DSPICE_DISABLE_DEPRECATED \ + $(NULL) + +@WITH_POLKIT_TRUE@spice_client_glib_usb_acl_helper_SOURCES = \ +@WITH_POLKIT_TRUE@ glib-compat.c \ +@WITH_POLKIT_TRUE@ glib-compat.h \ +@WITH_POLKIT_TRUE@ spice-client-glib-usb-acl-helper.c \ +@WITH_POLKIT_TRUE@ $(NULL) + +@WITH_POLKIT_TRUE@spice_client_glib_usb_acl_helper_LDADD = \ +@WITH_POLKIT_TRUE@ $(GLIB2_LIBS) \ +@WITH_POLKIT_TRUE@ $(GIO_LIBS) \ +@WITH_POLKIT_TRUE@ $(POLKIT_LIBS) \ +@WITH_POLKIT_TRUE@ $(ACL_LIBS) \ +@WITH_POLKIT_TRUE@ $(PIE_LDFLAGS) \ +@WITH_POLKIT_TRUE@ $(NULL) + +@WITH_POLKIT_TRUE@spice_client_glib_usb_acl_helper_CPPFLAGS = \ +@WITH_POLKIT_TRUE@ $(SPICE_CFLAGS) \ +@WITH_POLKIT_TRUE@ $(GLIB2_CFLAGS) \ +@WITH_POLKIT_TRUE@ $(GIO_CFLAGS) \ +@WITH_POLKIT_TRUE@ $(POLKIT_CFLAGS) \ +@WITH_POLKIT_TRUE@ $(PIE_CFLAGS) \ +@WITH_POLKIT_TRUE@ $(NULL) + +spicy_screenshot_SOURCES = \ + spicy-screenshot.c \ + spice-cmdline.h \ + spice-cmdline.c \ + $(NULL) + +spicy_screenshot_LDADD = \ + libspice-client-glib-2.0.la \ + $(GOBJECT2_LIBS) \ + $(NULL) + +spicy_stats_SOURCES = \ + spicy-stats.c \ + spice-cmdline.h \ + spice-cmdline.c \ + $(NULL) + +spicy_stats_LDADD = \ + libspice-client-glib-2.0.la \ + $(GOBJECT2_LIBS) \ + $(NULL) + +@WITH_PYTHON_TRUE@pyexec_LTLIBRARIES = SpiceClientGtk.la + +# workaround for broken parallel install support in automake with LTLIBRARIES +# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328 +@WITH_PYTHON_TRUE@install_pyexecLTLIBRARIES = install-pyexecLTLIBRARIES +@WITH_PYTHON_TRUE@SpiceClientGtk_la_LIBADD = libspice-client-gtk-2.0.la libspice-client-glib-2.0.la $(PYGTK_LIBS) +@WITH_PYTHON_TRUE@SpiceClientGtk_la_CFLAGS = $(GTK_CFLAGS) $(PYTHON_INCLUDES) $(PYGTK_CFLAGS) $(WARN_PYFLAGS) +@WITH_PYTHON_TRUE@SpiceClientGtk_la_LDFLAGS = -module -avoid-version -fPIC +@WITH_PYTHON_TRUE@SpiceClientGtk_la_SOURCES = spice-client-gtk-module.c +@WITH_PYTHON_TRUE@nodist_SpiceClientGtk_la_SOURCES = spice-client-gtk-module.defs.c +@WITH_PYTHON_TRUE@CODEGENDIR = `pkg-config --variable=codegendir pygtk-2.0` +@WITH_PYTHON_TRUE@DEFSDIR = `pkg-config --variable=defsdir pygtk-2.0` +@G_IR_SCANNER_SYMBOL_PREFIX_FALSE@PREFIX_ARGS = --strip-prefix=Spice +@G_IR_SCANNER_SYMBOL_PREFIX_TRUE@PREFIX_ARGS = --symbol-prefix=spice --identifier-prefix=Spice +INTROSPECTION_GIRS = $(am__append_20) +INTROSPECTION_SCANNER_ARGS = --warn-all --accept-unprefixed --add-include-path=$(builddir) $(PREFIX_ARGS) +INTROSPECTION_COMPILER_ARGS = --includedir=$(builddir) +@HAVE_INTROSPECTION_TRUE@glib_introspection_files = \ +@HAVE_INTROSPECTION_TRUE@ $(libspice_client_glibinclude_HEADERS) \ +@HAVE_INTROSPECTION_TRUE@ $(nodist_libspice_client_glibinclude_HEADERS) \ +@HAVE_INTROSPECTION_TRUE@ spice-audio.c \ +@HAVE_INTROSPECTION_TRUE@ spice-client.c \ +@HAVE_INTROSPECTION_TRUE@ spice-session.c \ +@HAVE_INTROSPECTION_TRUE@ spice-channel.c \ +@HAVE_INTROSPECTION_TRUE@ spice-glib-enums.c \ +@HAVE_INTROSPECTION_TRUE@ spice-option.c \ +@HAVE_INTROSPECTION_TRUE@ spice-util.c \ +@HAVE_INTROSPECTION_TRUE@ channel-cursor.c \ +@HAVE_INTROSPECTION_TRUE@ channel-display.c \ +@HAVE_INTROSPECTION_TRUE@ channel-inputs.c \ +@HAVE_INTROSPECTION_TRUE@ channel-main.c \ +@HAVE_INTROSPECTION_TRUE@ channel-playback.c \ +@HAVE_INTROSPECTION_TRUE@ channel-port.c \ +@HAVE_INTROSPECTION_TRUE@ channel-record.c \ +@HAVE_INTROSPECTION_TRUE@ channel-smartcard.c \ +@HAVE_INTROSPECTION_TRUE@ channel-usbredir.c \ +@HAVE_INTROSPECTION_TRUE@ smartcard-manager.c \ +@HAVE_INTROSPECTION_TRUE@ usb-device-manager.c \ +@HAVE_INTROSPECTION_TRUE@ $(NULL) + +@HAVE_INTROSPECTION_TRUE@gtk_introspection_files = \ +@HAVE_INTROSPECTION_TRUE@ $(libspice_client_gtkinclude_HEADERS) \ +@HAVE_INTROSPECTION_TRUE@ $(nodist_libspice_client_gtkinclude_HEADERS) \ +@HAVE_INTROSPECTION_TRUE@ spice-gtk-session.c \ +@HAVE_INTROSPECTION_TRUE@ spice-widget.c \ +@HAVE_INTROSPECTION_TRUE@ spice-grabsequence.c \ +@HAVE_INTROSPECTION_TRUE@ $(NULL) + +@HAVE_INTROSPECTION_TRUE@SpiceClientGLib_2_0_gir_INCLUDES = GObject-2.0 Gio-2.0 +@HAVE_INTROSPECTION_TRUE@SpiceClientGLib_2_0_gir_CFLAGS = $(SPICE_COMMON_CPPFLAGS) +@HAVE_INTROSPECTION_TRUE@SpiceClientGLib_2_0_gir_LIBS = libspice-client-glib-2.0.la +@HAVE_INTROSPECTION_TRUE@SpiceClientGLib_2_0_gir_FILES = $(glib_introspection_files) +@HAVE_INTROSPECTION_TRUE@SpiceClientGLib_2_0_gir_EXPORT_PACKAGES = spice-client-glib-2.0 +@HAVE_INTROSPECTION_TRUE@SpiceClientGLib_2_0_gir_SCANNERFLAGS = --c-include="spice-client.h" +@HAVE_GTK_2_TRUE@@HAVE_INTROSPECTION_TRUE@SpiceClientGtk_2_0_gir_INCLUDES = GObject-2.0 Gtk-2.0 SpiceClientGLib-2.0 +@HAVE_GTK_2_TRUE@@HAVE_INTROSPECTION_TRUE@SpiceClientGtk_2_0_gir_CFLAGS = $(SPICE_COMMON_CPPFLAGS) +@HAVE_GTK_2_TRUE@@HAVE_INTROSPECTION_TRUE@SpiceClientGtk_2_0_gir_LIBS = libspice-client-gtk-2.0.la libspice-client-glib-2.0.la +@HAVE_GTK_2_TRUE@@HAVE_INTROSPECTION_TRUE@SpiceClientGtk_2_0_gir_FILES = $(gtk_introspection_files) +@HAVE_GTK_2_TRUE@@HAVE_INTROSPECTION_TRUE@SpiceClientGtk_2_0_gir_EXPORT_PACKAGES = spice-client-gtk-2.0 +@HAVE_GTK_2_TRUE@@HAVE_INTROSPECTION_TRUE@SpiceClientGtk_2_0_gir_SCANNERFLAGS = --c-include="spice-widget.h" +@HAVE_GTK_2_FALSE@@HAVE_INTROSPECTION_TRUE@SpiceClientGtk_3_0_gir_INCLUDES = GObject-2.0 Gtk-3.0 SpiceClientGLib-2.0 +@HAVE_GTK_2_FALSE@@HAVE_INTROSPECTION_TRUE@SpiceClientGtk_3_0_gir_CFLAGS = $(SPICE_COMMON_CPPFLAGS) +@HAVE_GTK_2_FALSE@@HAVE_INTROSPECTION_TRUE@SpiceClientGtk_3_0_gir_LIBS = libspice-client-gtk-3.0.la libspice-client-glib-2.0.la +@HAVE_GTK_2_FALSE@@HAVE_INTROSPECTION_TRUE@SpiceClientGtk_3_0_gir_FILES = $(gtk_introspection_files) +@HAVE_GTK_2_FALSE@@HAVE_INTROSPECTION_TRUE@SpiceClientGtk_3_0_gir_EXPORT_PACKAGES = spice-client-gtk-3.0 +@HAVE_GTK_2_FALSE@@HAVE_INTROSPECTION_TRUE@SpiceClientGtk_3_0_gir_SCANNERFLAGS = --c-include="spice-widget.h" +@HAVE_INTROSPECTION_TRUE@girdir = $(datadir)/gir-1.0 +@HAVE_INTROSPECTION_TRUE@gir_DATA = $(INTROSPECTION_GIRS) +@HAVE_INTROSPECTION_TRUE@typelibsdir = $(libdir)/girepository-1.0 +@HAVE_INTROSPECTION_TRUE@typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib) +all: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(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) --foreign gtk/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign gtk/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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +install-libLTLIBRARIES: $(lib_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ + } + +uninstall-libLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ + done + +clean-libLTLIBRARIES: + -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) + @list='$(lib_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +install-pyexecLTLIBRARIES: $(pyexec_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(pyexec_LTLIBRARIES)'; test -n "$(pyexecdir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(pyexecdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(pyexecdir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pyexecdir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pyexecdir)"; \ + } + +uninstall-pyexecLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(pyexec_LTLIBRARIES)'; test -n "$(pyexecdir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pyexecdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pyexecdir)/$$f"; \ + done + +clean-pyexecLTLIBRARIES: + -test -z "$(pyexec_LTLIBRARIES)" || rm -f $(pyexec_LTLIBRARIES) + @list='$(pyexec_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } +SpiceClientGtk.la: $(SpiceClientGtk_la_OBJECTS) $(SpiceClientGtk_la_DEPENDENCIES) $(EXTRA_SpiceClientGtk_la_DEPENDENCIES) + $(AM_V_CCLD)$(SpiceClientGtk_la_LINK) $(am_SpiceClientGtk_la_rpath) $(SpiceClientGtk_la_OBJECTS) $(SpiceClientGtk_la_LIBADD) $(LIBS) +libspice-client-glib-2.0.la: $(libspice_client_glib_2_0_la_OBJECTS) $(libspice_client_glib_2_0_la_DEPENDENCIES) $(EXTRA_libspice_client_glib_2_0_la_DEPENDENCIES) + $(AM_V_CCLD)$(libspice_client_glib_2_0_la_LINK) -rpath $(libdir) $(libspice_client_glib_2_0_la_OBJECTS) $(libspice_client_glib_2_0_la_LIBADD) $(LIBS) +libspice-client-gtk-2.0.la: $(libspice_client_gtk_2_0_la_OBJECTS) $(libspice_client_gtk_2_0_la_DEPENDENCIES) $(EXTRA_libspice_client_gtk_2_0_la_DEPENDENCIES) + $(AM_V_CCLD)$(libspice_client_gtk_2_0_la_LINK) $(am_libspice_client_gtk_2_0_la_rpath) $(libspice_client_gtk_2_0_la_OBJECTS) $(libspice_client_gtk_2_0_la_LIBADD) $(LIBS) +libspice-client-gtk-3.0.la: $(libspice_client_gtk_3_0_la_OBJECTS) $(libspice_client_gtk_3_0_la_DEPENDENCIES) $(EXTRA_libspice_client_gtk_3_0_la_DEPENDENCIES) + $(AM_V_CCLD)$(libspice_client_gtk_3_0_la_LINK) $(am_libspice_client_gtk_3_0_la_rpath) $(libspice_client_gtk_3_0_la_OBJECTS) $(libspice_client_gtk_3_0_la_LIBADD) $(LIBS) +install-aclPROGRAMS: $(acl_PROGRAMS) + @$(NORMAL_INSTALL) + @list='$(acl_PROGRAMS)'; test -n "$(acldir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(acldir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(acldir)" || exit 1; \ + fi; \ + for p in $$list; do echo "$$p $$p"; done | \ + sed 's/$(EXEEXT)$$//' | \ + while read p p1; do if test -f $$p \ + || test -f $$p1 \ + ; then echo "$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n;h' \ + -e 's|.*|.|' \ + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ + sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) files[d] = files[d] " " $$1; \ + else { print "f", $$3 "/" $$4, $$1; } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(acldir)$$dir'"; \ + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(acldir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-aclPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(acl_PROGRAMS)'; test -n "$(acldir)" || list=; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ + -e 's/$$/$(EXEEXT)/' \ + `; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(acldir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(acldir)" && rm -f $$files + +clean-aclPROGRAMS: + @list='$(acl_PROGRAMS)'; test -n "$$list" || exit 0; \ + echo " rm -f" $$list; \ + rm -f $$list || exit $$?; \ + test -n "$(EXEEXT)" || exit 0; \ + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f" $$list; \ + rm -f $$list +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ + fi; \ + for p in $$list; do echo "$$p $$p"; done | \ + sed 's/$(EXEEXT)$$//' | \ + while read p p1; do if test -f $$p \ + || test -f $$p1 \ + ; then echo "$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n;h' \ + -e 's|.*|.|' \ + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ + sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) files[d] = files[d] " " $$1; \ + else { print "f", $$3 "/" $$4, $$1; } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ + -e 's/$$/$(EXEEXT)/' \ + `; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(bindir)" && rm -f $$files + +clean-binPROGRAMS: + @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ + echo " rm -f" $$list; \ + rm -f $$list || exit $$?; \ + test -n "$(EXEEXT)" || exit 0; \ + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f" $$list; \ + rm -f $$list +spice-client-glib-usb-acl-helper$(EXEEXT): $(spice_client_glib_usb_acl_helper_OBJECTS) $(spice_client_glib_usb_acl_helper_DEPENDENCIES) $(EXTRA_spice_client_glib_usb_acl_helper_DEPENDENCIES) + @rm -f spice-client-glib-usb-acl-helper$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(spice_client_glib_usb_acl_helper_OBJECTS) $(spice_client_glib_usb_acl_helper_LDADD) $(LIBS) +spicy$(EXEEXT): $(spicy_OBJECTS) $(spicy_DEPENDENCIES) $(EXTRA_spicy_DEPENDENCIES) + @rm -f spicy$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(spicy_OBJECTS) $(spicy_LDADD) $(LIBS) +spicy-screenshot$(EXEEXT): $(spicy_screenshot_OBJECTS) $(spicy_screenshot_DEPENDENCIES) $(EXTRA_spicy_screenshot_DEPENDENCIES) + @rm -f spicy-screenshot$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(spicy_screenshot_OBJECTS) $(spicy_screenshot_LDADD) $(LIBS) +spicy-stats$(EXEEXT): $(spicy_stats_OBJECTS) $(spicy_stats_DEPENDENCIES) $(EXTRA_spicy_stats_DEPENDENCIES) + @rm -f spicy-stats$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(spicy_stats_OBJECTS) $(spicy_stats_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SpiceClientGtk_la-spice-client-gtk-module.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SpiceClientGtk_la-spice-client-gtk-module.defs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bio-gsocket.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/channel-base.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/channel-cursor.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/channel-display-mjpeg.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/channel-display.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/channel-inputs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/channel-main.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/channel-playback.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/channel-port.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/channel-record.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/channel-smartcard.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/channel-usbredir.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/continuation.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/coroutine_gthread.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/coroutine_ucontext.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/coroutine_winfibers.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/decode-glz.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/decode-jpeg.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/decode-zlib.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/desktop-integration.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gio-coroutine.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glib-compat.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/smartcard-manager.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spice-audio.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spice-channel.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spice-client.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spice-cmdline.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spice-glib-enums.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spice-grabsequence.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spice-gstaudio.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spice-gtk-session.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spice-marshal.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spice-option.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spice-proxy.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spice-pulse.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spice-session.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spice-util.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spice-widget-cairo.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spice-widget-enums.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spice-widget-x11.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spice-widget.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spice_client_glib_usb_acl_helper-glib-compat.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spice_client_glib_usb_acl_helper-spice-client-glib-usb-acl-helper.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spicy-display-name.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spicy-edid-parse.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spicy-gnome-rr-config.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spicy-gnome-rr-generic.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spicy-gnome-rr-output-info.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spicy-gnome-rr-windows.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spicy-gnome-rr-x11.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spicy-gnome-rr.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spicy-screenshot.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spicy-spice-cmdline.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spicy-spicy.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spicy-stats.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sw_canvas.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/usb-acl-helper.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/usb-device-manager.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/usb-device-widget.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/usbutil.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vncdisplaykeymap.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/win-usb-dev.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/win-usb-driver-install.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wocky-http-proxy.Plo@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +SpiceClientGtk_la-spice-client-gtk-module.lo: spice-client-gtk-module.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(SpiceClientGtk_la_CFLAGS) $(CFLAGS) -MT SpiceClientGtk_la-spice-client-gtk-module.lo -MD -MP -MF $(DEPDIR)/SpiceClientGtk_la-spice-client-gtk-module.Tpo -c -o SpiceClientGtk_la-spice-client-gtk-module.lo `test -f 'spice-client-gtk-module.c' || echo '$(srcdir)/'`spice-client-gtk-module.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/SpiceClientGtk_la-spice-client-gtk-module.Tpo $(DEPDIR)/SpiceClientGtk_la-spice-client-gtk-module.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='spice-client-gtk-module.c' object='SpiceClientGtk_la-spice-client-gtk-module.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(SpiceClientGtk_la_CFLAGS) $(CFLAGS) -c -o SpiceClientGtk_la-spice-client-gtk-module.lo `test -f 'spice-client-gtk-module.c' || echo '$(srcdir)/'`spice-client-gtk-module.c + +SpiceClientGtk_la-spice-client-gtk-module.defs.lo: spice-client-gtk-module.defs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(SpiceClientGtk_la_CFLAGS) $(CFLAGS) -MT SpiceClientGtk_la-spice-client-gtk-module.defs.lo -MD -MP -MF $(DEPDIR)/SpiceClientGtk_la-spice-client-gtk-module.defs.Tpo -c -o SpiceClientGtk_la-spice-client-gtk-module.defs.lo `test -f 'spice-client-gtk-module.defs.c' || echo '$(srcdir)/'`spice-client-gtk-module.defs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/SpiceClientGtk_la-spice-client-gtk-module.defs.Tpo $(DEPDIR)/SpiceClientGtk_la-spice-client-gtk-module.defs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='spice-client-gtk-module.defs.c' object='SpiceClientGtk_la-spice-client-gtk-module.defs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(SpiceClientGtk_la_CFLAGS) $(CFLAGS) -c -o SpiceClientGtk_la-spice-client-gtk-module.defs.lo `test -f 'spice-client-gtk-module.defs.c' || echo '$(srcdir)/'`spice-client-gtk-module.defs.c + +sw_canvas.lo: $(top_srcdir)/../../common/spice-common/common/sw_canvas.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sw_canvas.lo -MD -MP -MF $(DEPDIR)/sw_canvas.Tpo -c -o sw_canvas.lo `test -f '$(top_srcdir)/../../common/spice-common/common/sw_canvas.c' || echo '$(srcdir)/'`$(top_srcdir)/../../common/spice-common/common/sw_canvas.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/sw_canvas.Tpo $(DEPDIR)/sw_canvas.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/../../common/spice-common/common/sw_canvas.c' object='sw_canvas.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sw_canvas.lo `test -f '$(top_srcdir)/../../common/spice-common/common/sw_canvas.c' || echo '$(srcdir)/'`$(top_srcdir)/../../common/spice-common/common/sw_canvas.c + +spice_client_glib_usb_acl_helper-glib-compat.o: glib-compat.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spice_client_glib_usb_acl_helper_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spice_client_glib_usb_acl_helper-glib-compat.o -MD -MP -MF $(DEPDIR)/spice_client_glib_usb_acl_helper-glib-compat.Tpo -c -o spice_client_glib_usb_acl_helper-glib-compat.o `test -f 'glib-compat.c' || echo '$(srcdir)/'`glib-compat.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spice_client_glib_usb_acl_helper-glib-compat.Tpo $(DEPDIR)/spice_client_glib_usb_acl_helper-glib-compat.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='glib-compat.c' object='spice_client_glib_usb_acl_helper-glib-compat.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spice_client_glib_usb_acl_helper_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spice_client_glib_usb_acl_helper-glib-compat.o `test -f 'glib-compat.c' || echo '$(srcdir)/'`glib-compat.c + +spice_client_glib_usb_acl_helper-glib-compat.obj: glib-compat.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spice_client_glib_usb_acl_helper_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spice_client_glib_usb_acl_helper-glib-compat.obj -MD -MP -MF $(DEPDIR)/spice_client_glib_usb_acl_helper-glib-compat.Tpo -c -o spice_client_glib_usb_acl_helper-glib-compat.obj `if test -f 'glib-compat.c'; then $(CYGPATH_W) 'glib-compat.c'; else $(CYGPATH_W) '$(srcdir)/glib-compat.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spice_client_glib_usb_acl_helper-glib-compat.Tpo $(DEPDIR)/spice_client_glib_usb_acl_helper-glib-compat.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='glib-compat.c' object='spice_client_glib_usb_acl_helper-glib-compat.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spice_client_glib_usb_acl_helper_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spice_client_glib_usb_acl_helper-glib-compat.obj `if test -f 'glib-compat.c'; then $(CYGPATH_W) 'glib-compat.c'; else $(CYGPATH_W) '$(srcdir)/glib-compat.c'; fi` + +spice_client_glib_usb_acl_helper-spice-client-glib-usb-acl-helper.o: spice-client-glib-usb-acl-helper.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spice_client_glib_usb_acl_helper_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spice_client_glib_usb_acl_helper-spice-client-glib-usb-acl-helper.o -MD -MP -MF $(DEPDIR)/spice_client_glib_usb_acl_helper-spice-client-glib-usb-acl-helper.Tpo -c -o spice_client_glib_usb_acl_helper-spice-client-glib-usb-acl-helper.o `test -f 'spice-client-glib-usb-acl-helper.c' || echo '$(srcdir)/'`spice-client-glib-usb-acl-helper.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spice_client_glib_usb_acl_helper-spice-client-glib-usb-acl-helper.Tpo $(DEPDIR)/spice_client_glib_usb_acl_helper-spice-client-glib-usb-acl-helper.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='spice-client-glib-usb-acl-helper.c' object='spice_client_glib_usb_acl_helper-spice-client-glib-usb-acl-helper.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spice_client_glib_usb_acl_helper_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spice_client_glib_usb_acl_helper-spice-client-glib-usb-acl-helper.o `test -f 'spice-client-glib-usb-acl-helper.c' || echo '$(srcdir)/'`spice-client-glib-usb-acl-helper.c + +spice_client_glib_usb_acl_helper-spice-client-glib-usb-acl-helper.obj: spice-client-glib-usb-acl-helper.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spice_client_glib_usb_acl_helper_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spice_client_glib_usb_acl_helper-spice-client-glib-usb-acl-helper.obj -MD -MP -MF $(DEPDIR)/spice_client_glib_usb_acl_helper-spice-client-glib-usb-acl-helper.Tpo -c -o spice_client_glib_usb_acl_helper-spice-client-glib-usb-acl-helper.obj `if test -f 'spice-client-glib-usb-acl-helper.c'; then $(CYGPATH_W) 'spice-client-glib-usb-acl-helper.c'; else $(CYGPATH_W) '$(srcdir)/spice-client-glib-usb-acl-helper.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spice_client_glib_usb_acl_helper-spice-client-glib-usb-acl-helper.Tpo $(DEPDIR)/spice_client_glib_usb_acl_helper-spice-client-glib-usb-acl-helper.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='spice-client-glib-usb-acl-helper.c' object='spice_client_glib_usb_acl_helper-spice-client-glib-usb-acl-helper.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spice_client_glib_usb_acl_helper_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spice_client_glib_usb_acl_helper-spice-client-glib-usb-acl-helper.obj `if test -f 'spice-client-glib-usb-acl-helper.c'; then $(CYGPATH_W) 'spice-client-glib-usb-acl-helper.c'; else $(CYGPATH_W) '$(srcdir)/spice-client-glib-usb-acl-helper.c'; fi` + +spicy-spicy.o: spicy.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spicy-spicy.o -MD -MP -MF $(DEPDIR)/spicy-spicy.Tpo -c -o spicy-spicy.o `test -f 'spicy.c' || echo '$(srcdir)/'`spicy.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spicy-spicy.Tpo $(DEPDIR)/spicy-spicy.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='spicy.c' object='spicy-spicy.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spicy-spicy.o `test -f 'spicy.c' || echo '$(srcdir)/'`spicy.c + +spicy-spicy.obj: spicy.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spicy-spicy.obj -MD -MP -MF $(DEPDIR)/spicy-spicy.Tpo -c -o spicy-spicy.obj `if test -f 'spicy.c'; then $(CYGPATH_W) 'spicy.c'; else $(CYGPATH_W) '$(srcdir)/spicy.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spicy-spicy.Tpo $(DEPDIR)/spicy-spicy.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='spicy.c' object='spicy-spicy.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spicy-spicy.obj `if test -f 'spicy.c'; then $(CYGPATH_W) 'spicy.c'; else $(CYGPATH_W) '$(srcdir)/spicy.c'; fi` + +spicy-spice-cmdline.o: spice-cmdline.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spicy-spice-cmdline.o -MD -MP -MF $(DEPDIR)/spicy-spice-cmdline.Tpo -c -o spicy-spice-cmdline.o `test -f 'spice-cmdline.c' || echo '$(srcdir)/'`spice-cmdline.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spicy-spice-cmdline.Tpo $(DEPDIR)/spicy-spice-cmdline.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='spice-cmdline.c' object='spicy-spice-cmdline.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spicy-spice-cmdline.o `test -f 'spice-cmdline.c' || echo '$(srcdir)/'`spice-cmdline.c + +spicy-spice-cmdline.obj: spice-cmdline.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spicy-spice-cmdline.obj -MD -MP -MF $(DEPDIR)/spicy-spice-cmdline.Tpo -c -o spicy-spice-cmdline.obj `if test -f 'spice-cmdline.c'; then $(CYGPATH_W) 'spice-cmdline.c'; else $(CYGPATH_W) '$(srcdir)/spice-cmdline.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spicy-spice-cmdline.Tpo $(DEPDIR)/spicy-spice-cmdline.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='spice-cmdline.c' object='spicy-spice-cmdline.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spicy-spice-cmdline.obj `if test -f 'spice-cmdline.c'; then $(CYGPATH_W) 'spice-cmdline.c'; else $(CYGPATH_W) '$(srcdir)/spice-cmdline.c'; fi` + +spicy-edid-parse.o: display/edid-parse.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spicy-edid-parse.o -MD -MP -MF $(DEPDIR)/spicy-edid-parse.Tpo -c -o spicy-edid-parse.o `test -f 'display/edid-parse.c' || echo '$(srcdir)/'`display/edid-parse.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spicy-edid-parse.Tpo $(DEPDIR)/spicy-edid-parse.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='display/edid-parse.c' object='spicy-edid-parse.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spicy-edid-parse.o `test -f 'display/edid-parse.c' || echo '$(srcdir)/'`display/edid-parse.c + +spicy-edid-parse.obj: display/edid-parse.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spicy-edid-parse.obj -MD -MP -MF $(DEPDIR)/spicy-edid-parse.Tpo -c -o spicy-edid-parse.obj `if test -f 'display/edid-parse.c'; then $(CYGPATH_W) 'display/edid-parse.c'; else $(CYGPATH_W) '$(srcdir)/display/edid-parse.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spicy-edid-parse.Tpo $(DEPDIR)/spicy-edid-parse.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='display/edid-parse.c' object='spicy-edid-parse.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spicy-edid-parse.obj `if test -f 'display/edid-parse.c'; then $(CYGPATH_W) 'display/edid-parse.c'; else $(CYGPATH_W) '$(srcdir)/display/edid-parse.c'; fi` + +spicy-display-name.o: display/display-name.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spicy-display-name.o -MD -MP -MF $(DEPDIR)/spicy-display-name.Tpo -c -o spicy-display-name.o `test -f 'display/display-name.c' || echo '$(srcdir)/'`display/display-name.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spicy-display-name.Tpo $(DEPDIR)/spicy-display-name.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='display/display-name.c' object='spicy-display-name.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spicy-display-name.o `test -f 'display/display-name.c' || echo '$(srcdir)/'`display/display-name.c + +spicy-display-name.obj: display/display-name.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spicy-display-name.obj -MD -MP -MF $(DEPDIR)/spicy-display-name.Tpo -c -o spicy-display-name.obj `if test -f 'display/display-name.c'; then $(CYGPATH_W) 'display/display-name.c'; else $(CYGPATH_W) '$(srcdir)/display/display-name.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spicy-display-name.Tpo $(DEPDIR)/spicy-display-name.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='display/display-name.c' object='spicy-display-name.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spicy-display-name.obj `if test -f 'display/display-name.c'; then $(CYGPATH_W) 'display/display-name.c'; else $(CYGPATH_W) '$(srcdir)/display/display-name.c'; fi` + +spicy-gnome-rr-config.o: display/gnome-rr-config.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spicy-gnome-rr-config.o -MD -MP -MF $(DEPDIR)/spicy-gnome-rr-config.Tpo -c -o spicy-gnome-rr-config.o `test -f 'display/gnome-rr-config.c' || echo '$(srcdir)/'`display/gnome-rr-config.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spicy-gnome-rr-config.Tpo $(DEPDIR)/spicy-gnome-rr-config.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='display/gnome-rr-config.c' object='spicy-gnome-rr-config.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spicy-gnome-rr-config.o `test -f 'display/gnome-rr-config.c' || echo '$(srcdir)/'`display/gnome-rr-config.c + +spicy-gnome-rr-config.obj: display/gnome-rr-config.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spicy-gnome-rr-config.obj -MD -MP -MF $(DEPDIR)/spicy-gnome-rr-config.Tpo -c -o spicy-gnome-rr-config.obj `if test -f 'display/gnome-rr-config.c'; then $(CYGPATH_W) 'display/gnome-rr-config.c'; else $(CYGPATH_W) '$(srcdir)/display/gnome-rr-config.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spicy-gnome-rr-config.Tpo $(DEPDIR)/spicy-gnome-rr-config.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='display/gnome-rr-config.c' object='spicy-gnome-rr-config.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spicy-gnome-rr-config.obj `if test -f 'display/gnome-rr-config.c'; then $(CYGPATH_W) 'display/gnome-rr-config.c'; else $(CYGPATH_W) '$(srcdir)/display/gnome-rr-config.c'; fi` + +spicy-gnome-rr-output-info.o: display/gnome-rr-output-info.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spicy-gnome-rr-output-info.o -MD -MP -MF $(DEPDIR)/spicy-gnome-rr-output-info.Tpo -c -o spicy-gnome-rr-output-info.o `test -f 'display/gnome-rr-output-info.c' || echo '$(srcdir)/'`display/gnome-rr-output-info.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spicy-gnome-rr-output-info.Tpo $(DEPDIR)/spicy-gnome-rr-output-info.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='display/gnome-rr-output-info.c' object='spicy-gnome-rr-output-info.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spicy-gnome-rr-output-info.o `test -f 'display/gnome-rr-output-info.c' || echo '$(srcdir)/'`display/gnome-rr-output-info.c + +spicy-gnome-rr-output-info.obj: display/gnome-rr-output-info.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spicy-gnome-rr-output-info.obj -MD -MP -MF $(DEPDIR)/spicy-gnome-rr-output-info.Tpo -c -o spicy-gnome-rr-output-info.obj `if test -f 'display/gnome-rr-output-info.c'; then $(CYGPATH_W) 'display/gnome-rr-output-info.c'; else $(CYGPATH_W) '$(srcdir)/display/gnome-rr-output-info.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spicy-gnome-rr-output-info.Tpo $(DEPDIR)/spicy-gnome-rr-output-info.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='display/gnome-rr-output-info.c' object='spicy-gnome-rr-output-info.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spicy-gnome-rr-output-info.obj `if test -f 'display/gnome-rr-output-info.c'; then $(CYGPATH_W) 'display/gnome-rr-output-info.c'; else $(CYGPATH_W) '$(srcdir)/display/gnome-rr-output-info.c'; fi` + +spicy-gnome-rr.o: display/gnome-rr.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spicy-gnome-rr.o -MD -MP -MF $(DEPDIR)/spicy-gnome-rr.Tpo -c -o spicy-gnome-rr.o `test -f 'display/gnome-rr.c' || echo '$(srcdir)/'`display/gnome-rr.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spicy-gnome-rr.Tpo $(DEPDIR)/spicy-gnome-rr.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='display/gnome-rr.c' object='spicy-gnome-rr.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spicy-gnome-rr.o `test -f 'display/gnome-rr.c' || echo '$(srcdir)/'`display/gnome-rr.c + +spicy-gnome-rr.obj: display/gnome-rr.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spicy-gnome-rr.obj -MD -MP -MF $(DEPDIR)/spicy-gnome-rr.Tpo -c -o spicy-gnome-rr.obj `if test -f 'display/gnome-rr.c'; then $(CYGPATH_W) 'display/gnome-rr.c'; else $(CYGPATH_W) '$(srcdir)/display/gnome-rr.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spicy-gnome-rr.Tpo $(DEPDIR)/spicy-gnome-rr.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='display/gnome-rr.c' object='spicy-gnome-rr.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spicy-gnome-rr.obj `if test -f 'display/gnome-rr.c'; then $(CYGPATH_W) 'display/gnome-rr.c'; else $(CYGPATH_W) '$(srcdir)/display/gnome-rr.c'; fi` + +spicy-gnome-rr-x11.o: display/gnome-rr-x11.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spicy-gnome-rr-x11.o -MD -MP -MF $(DEPDIR)/spicy-gnome-rr-x11.Tpo -c -o spicy-gnome-rr-x11.o `test -f 'display/gnome-rr-x11.c' || echo '$(srcdir)/'`display/gnome-rr-x11.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spicy-gnome-rr-x11.Tpo $(DEPDIR)/spicy-gnome-rr-x11.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='display/gnome-rr-x11.c' object='spicy-gnome-rr-x11.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spicy-gnome-rr-x11.o `test -f 'display/gnome-rr-x11.c' || echo '$(srcdir)/'`display/gnome-rr-x11.c + +spicy-gnome-rr-x11.obj: display/gnome-rr-x11.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spicy-gnome-rr-x11.obj -MD -MP -MF $(DEPDIR)/spicy-gnome-rr-x11.Tpo -c -o spicy-gnome-rr-x11.obj `if test -f 'display/gnome-rr-x11.c'; then $(CYGPATH_W) 'display/gnome-rr-x11.c'; else $(CYGPATH_W) '$(srcdir)/display/gnome-rr-x11.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spicy-gnome-rr-x11.Tpo $(DEPDIR)/spicy-gnome-rr-x11.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='display/gnome-rr-x11.c' object='spicy-gnome-rr-x11.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spicy-gnome-rr-x11.obj `if test -f 'display/gnome-rr-x11.c'; then $(CYGPATH_W) 'display/gnome-rr-x11.c'; else $(CYGPATH_W) '$(srcdir)/display/gnome-rr-x11.c'; fi` + +spicy-gnome-rr-windows.o: display/gnome-rr-windows.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spicy-gnome-rr-windows.o -MD -MP -MF $(DEPDIR)/spicy-gnome-rr-windows.Tpo -c -o spicy-gnome-rr-windows.o `test -f 'display/gnome-rr-windows.c' || echo '$(srcdir)/'`display/gnome-rr-windows.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spicy-gnome-rr-windows.Tpo $(DEPDIR)/spicy-gnome-rr-windows.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='display/gnome-rr-windows.c' object='spicy-gnome-rr-windows.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spicy-gnome-rr-windows.o `test -f 'display/gnome-rr-windows.c' || echo '$(srcdir)/'`display/gnome-rr-windows.c + +spicy-gnome-rr-windows.obj: display/gnome-rr-windows.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spicy-gnome-rr-windows.obj -MD -MP -MF $(DEPDIR)/spicy-gnome-rr-windows.Tpo -c -o spicy-gnome-rr-windows.obj `if test -f 'display/gnome-rr-windows.c'; then $(CYGPATH_W) 'display/gnome-rr-windows.c'; else $(CYGPATH_W) '$(srcdir)/display/gnome-rr-windows.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spicy-gnome-rr-windows.Tpo $(DEPDIR)/spicy-gnome-rr-windows.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='display/gnome-rr-windows.c' object='spicy-gnome-rr-windows.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spicy-gnome-rr-windows.obj `if test -f 'display/gnome-rr-windows.c'; then $(CYGPATH_W) 'display/gnome-rr-windows.c'; else $(CYGPATH_W) '$(srcdir)/display/gnome-rr-windows.c'; fi` + +spicy-gnome-rr-generic.o: display/gnome-rr-generic.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spicy-gnome-rr-generic.o -MD -MP -MF $(DEPDIR)/spicy-gnome-rr-generic.Tpo -c -o spicy-gnome-rr-generic.o `test -f 'display/gnome-rr-generic.c' || echo '$(srcdir)/'`display/gnome-rr-generic.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spicy-gnome-rr-generic.Tpo $(DEPDIR)/spicy-gnome-rr-generic.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='display/gnome-rr-generic.c' object='spicy-gnome-rr-generic.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spicy-gnome-rr-generic.o `test -f 'display/gnome-rr-generic.c' || echo '$(srcdir)/'`display/gnome-rr-generic.c + +spicy-gnome-rr-generic.obj: display/gnome-rr-generic.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spicy-gnome-rr-generic.obj -MD -MP -MF $(DEPDIR)/spicy-gnome-rr-generic.Tpo -c -o spicy-gnome-rr-generic.obj `if test -f 'display/gnome-rr-generic.c'; then $(CYGPATH_W) 'display/gnome-rr-generic.c'; else $(CYGPATH_W) '$(srcdir)/display/gnome-rr-generic.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spicy-gnome-rr-generic.Tpo $(DEPDIR)/spicy-gnome-rr-generic.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='display/gnome-rr-generic.c' object='spicy-gnome-rr-generic.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(spicy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spicy-gnome-rr-generic.obj `if test -f 'display/gnome-rr-generic.c'; then $(CYGPATH_W) 'display/gnome-rr-generic.c'; else $(CYGPATH_W) '$(srcdir)/display/gnome-rr-generic.c'; fi` + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-dist_libspice_client_glibincludeDATA: $(dist_libspice_client_glibinclude_DATA) + @$(NORMAL_INSTALL) + @list='$(dist_libspice_client_glibinclude_DATA)'; test -n "$(libspice_client_glibincludedir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libspice_client_glibincludedir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libspice_client_glibincludedir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libspice_client_glibincludedir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libspice_client_glibincludedir)" || exit $$?; \ + done + +uninstall-dist_libspice_client_glibincludeDATA: + @$(NORMAL_UNINSTALL) + @list='$(dist_libspice_client_glibinclude_DATA)'; test -n "$(libspice_client_glibincludedir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libspice_client_glibincludedir)'; $(am__uninstall_files_from_dir) +install-girDATA: $(gir_DATA) + @$(NORMAL_INSTALL) + @list='$(gir_DATA)'; test -n "$(girdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(girdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(girdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(girdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(girdir)" || exit $$?; \ + done + +uninstall-girDATA: + @$(NORMAL_UNINSTALL) + @list='$(gir_DATA)'; test -n "$(girdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(girdir)'; $(am__uninstall_files_from_dir) +install-typelibsDATA: $(typelibs_DATA) + @$(NORMAL_INSTALL) + @list='$(typelibs_DATA)'; test -n "$(typelibsdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(typelibsdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(typelibsdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(typelibsdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(typelibsdir)" || exit $$?; \ + done + +uninstall-typelibsDATA: + @$(NORMAL_UNINSTALL) + @list='$(typelibs_DATA)'; test -n "$(typelibsdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(typelibsdir)'; $(am__uninstall_files_from_dir) +install-libspice_client_glibincludeHEADERS: $(libspice_client_glibinclude_HEADERS) + @$(NORMAL_INSTALL) + @list='$(libspice_client_glibinclude_HEADERS)'; test -n "$(libspice_client_glibincludedir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libspice_client_glibincludedir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libspice_client_glibincludedir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libspice_client_glibincludedir)'"; \ + $(INSTALL_HEADER) $$files "$(DESTDIR)$(libspice_client_glibincludedir)" || exit $$?; \ + done + +uninstall-libspice_client_glibincludeHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(libspice_client_glibinclude_HEADERS)'; test -n "$(libspice_client_glibincludedir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libspice_client_glibincludedir)'; $(am__uninstall_files_from_dir) +install-libspice_client_gtkincludeHEADERS: $(libspice_client_gtkinclude_HEADERS) + @$(NORMAL_INSTALL) + @list='$(libspice_client_gtkinclude_HEADERS)'; test -n "$(libspice_client_gtkincludedir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libspice_client_gtkincludedir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libspice_client_gtkincludedir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libspice_client_gtkincludedir)'"; \ + $(INSTALL_HEADER) $$files "$(DESTDIR)$(libspice_client_gtkincludedir)" || exit $$?; \ + done + +uninstall-libspice_client_gtkincludeHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(libspice_client_gtkinclude_HEADERS)'; test -n "$(libspice_client_gtkincludedir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libspice_client_gtkincludedir)'; $(am__uninstall_files_from_dir) +install-nodist_libspice_client_glibincludeHEADERS: $(nodist_libspice_client_glibinclude_HEADERS) + @$(NORMAL_INSTALL) + @list='$(nodist_libspice_client_glibinclude_HEADERS)'; test -n "$(libspice_client_glibincludedir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libspice_client_glibincludedir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libspice_client_glibincludedir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libspice_client_glibincludedir)'"; \ + $(INSTALL_HEADER) $$files "$(DESTDIR)$(libspice_client_glibincludedir)" || exit $$?; \ + done + +uninstall-nodist_libspice_client_glibincludeHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(nodist_libspice_client_glibinclude_HEADERS)'; test -n "$(libspice_client_glibincludedir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libspice_client_glibincludedir)'; $(am__uninstall_files_from_dir) +install-nodist_libspice_client_gtkincludeHEADERS: $(nodist_libspice_client_gtkinclude_HEADERS) + @$(NORMAL_INSTALL) + @list='$(nodist_libspice_client_gtkinclude_HEADERS)'; test -n "$(libspice_client_gtkincludedir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libspice_client_gtkincludedir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libspice_client_gtkincludedir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libspice_client_gtkincludedir)'"; \ + $(INSTALL_HEADER) $$files "$(DESTDIR)$(libspice_client_gtkincludedir)" || exit $$?; \ + done + +uninstall-nodist_libspice_client_gtkincludeHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(nodist_libspice_client_gtkinclude_HEADERS)'; test -n "$(libspice_client_gtkincludedir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libspice_client_gtkincludedir)'; $(am__uninstall_files_from_dir) + +# This directory's subdirectories are mostly independent; you can cd +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @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 + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-recursive +all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(DATA) $(HEADERS) +install-binPROGRAMS: install-libLTLIBRARIES + +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pyexecdir)" "$(DESTDIR)$(acldir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libspice_client_glibincludedir)" "$(DESTDIR)$(girdir)" "$(DESTDIR)$(typelibsdir)" "$(DESTDIR)$(libspice_client_glibincludedir)" "$(DESTDIR)$(libspice_client_gtkincludedir)" "$(DESTDIR)$(libspice_client_glibincludedir)" "$(DESTDIR)$(libspice_client_gtkincludedir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +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: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +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 "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) +@WITH_POLKIT_FALSE@install-data-hook: +clean: clean-recursive + +clean-am: clean-aclPROGRAMS clean-binPROGRAMS clean-generic \ + clean-libLTLIBRARIES clean-libtool clean-pyexecLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-recursive + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: install-aclPROGRAMS \ + install-dist_libspice_client_glibincludeDATA install-girDATA \ + install-libspice_client_glibincludeHEADERS \ + install-libspice_client_gtkincludeHEADERS \ + install-nodist_libspice_client_glibincludeHEADERS \ + install-nodist_libspice_client_gtkincludeHEADERS \ + install-typelibsDATA + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-data-hook +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: install-binPROGRAMS install-libLTLIBRARIES \ + install-pyexecLTLIBRARIES + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-aclPROGRAMS uninstall-binPROGRAMS \ + uninstall-dist_libspice_client_glibincludeDATA \ + uninstall-girDATA uninstall-libLTLIBRARIES \ + uninstall-libspice_client_glibincludeHEADERS \ + uninstall-libspice_client_gtkincludeHEADERS \ + uninstall-nodist_libspice_client_glibincludeHEADERS \ + uninstall-nodist_libspice_client_gtkincludeHEADERS \ + uninstall-pyexecLTLIBRARIES uninstall-typelibsDATA + +.MAKE: $(am__recursive_targets) all check install install-am \ + install-data-am install-strip + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ + check-am clean clean-aclPROGRAMS clean-binPROGRAMS \ + clean-generic clean-libLTLIBRARIES clean-libtool \ + clean-pyexecLTLIBRARIES cscopelist-am ctags ctags-am distclean \ + distclean-compile distclean-generic distclean-libtool \ + distclean-tags distdir dvi dvi-am html html-am info info-am \ + install install-aclPROGRAMS install-am install-binPROGRAMS \ + install-data install-data-am install-data-hook \ + install-dist_libspice_client_glibincludeDATA install-dvi \ + install-dvi-am install-exec install-exec-am install-girDATA \ + install-html install-html-am install-info install-info-am \ + install-libLTLIBRARIES \ + install-libspice_client_glibincludeHEADERS \ + install-libspice_client_gtkincludeHEADERS install-man \ + install-nodist_libspice_client_glibincludeHEADERS \ + install-nodist_libspice_client_gtkincludeHEADERS install-pdf \ + install-pdf-am install-ps install-ps-am \ + install-pyexecLTLIBRARIES install-strip install-typelibsDATA \ + installcheck installcheck-am installdirs installdirs-am \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ + pdf pdf-am ps ps-am tags tags-am uninstall \ + uninstall-aclPROGRAMS uninstall-am uninstall-binPROGRAMS \ + uninstall-dist_libspice_client_glibincludeDATA \ + uninstall-girDATA uninstall-libLTLIBRARIES \ + uninstall-libspice_client_glibincludeHEADERS \ + uninstall-libspice_client_gtkincludeHEADERS \ + uninstall-nodist_libspice_client_glibincludeHEADERS \ + uninstall-nodist_libspice_client_gtkincludeHEADERS \ + uninstall-pyexecLTLIBRARIES uninstall-typelibsDATA + + +@WITH_POLKIT_TRUE@install-data-hook: +@WITH_POLKIT_TRUE@ -chown root $(DESTDIR)$(acldir)/spice-client-glib-usb-acl-helper +@WITH_POLKIT_TRUE@ -chmod u+s $(DESTDIR)$(acldir)/spice-client-glib-usb-acl-helper + +$(libspice_client_glib_2_0_la_SOURCES): spice-glib-enums.h spice-marshal.h + +@HAVE_GTK_2_TRUE@$(libspice_client_gtk_2_0_la_SOURCES): spice-glib-enums.h spice-widget-enums.h +@HAVE_GTK_2_FALSE@$(libspice_client_gtk_3_0_la_SOURCES): spice-glib-enums.h spice-widget-enums.h + +spice-marshal.c: spice-marshal.h +spice-glib-enums.c: spice-glib-enums.h +spice-widget-enums.c: spice-widget-enums.h + +spice-marshal.c: spice-marshal.txt + $(AM_V_GEN)echo "#include \"spice-marshal.h\"" > $@ && \ + glib-genmarshal --body $< >> $@ || (rm -f $@ && exit 1) + +spice-marshal.h: spice-marshal.txt + $(AM_V_GEN)glib-genmarshal --header $< > $@ || (rm -f $@ && exit 1) + +spice-glib-enums.c: spice-channel.h channel-inputs.h spice-session.h + $(AM_V_GEN)glib-mkenums --fhead "#include \n" \ + --fhead "#include \"spice-glib-enums.h\"\n\n" \ + --fprod "\n#include \"spice-session.h\"\n" \ + --fprod "\n#include \"spice-channel.h\"\n" \ + --fprod "\n#include \"channel-inputs.h\"\n" \ + --vhead "static const G@Type@Value _@enum_name@_values[] = {" \ + --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ + --vtail " { 0, NULL, NULL }\n};\n\n" \ + --vtail "GType\n@enum_name@_get_type (void)\n{\n" \ + --vtail " static GType type = 0;\n\n" \ + --vtail " if (!type)\n" \ + --vtail " type = g_@type@_register_static (\"@EnumName@\", _@enum_name@_values);\n\n" \ + --vtail " return type;\n}\n\n" \ + $^ > $@ + +spice-glib-enums.h: spice-channel.h channel-inputs.h spice-session.h + $(AM_V_GEN)glib-mkenums --fhead "#ifndef SPICE_GLIB_ENUMS_H\n" \ + --fhead "#define SPICE_GLIB_ENUMS_H\n\n" \ + --fhead "G_BEGIN_DECLS\n\n" \ + --ftail "G_END_DECLS\n\n" \ + --ftail "#endif /* SPICE_CHANNEL_ENUMS_H */\n" \ + --eprod "#define SPICE_TYPE_@ENUMSHORT@ @enum_name@_get_type()\n" \ + --eprod "GType @enum_name@_get_type (void);\n" \ + $^ > $@ + +spice-widget-enums.c: spice-widget.h + $(AM_V_GEN)glib-mkenums --fhead "#include \n" \ + --fhead "#include \"spice-widget-enums.h\"\n\n" \ + --fprod "\n#include \"spice-widget.h\"\n" \ + --vhead "static const G@Type@Value _@enum_name@_values[] = {" \ + --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ + --vtail " { 0, NULL, NULL }\n};\n\n" \ + --vtail "GType\n@enum_name@_get_type (void)\n{\n" \ + --vtail " static GType type = 0;\n\n" \ + --vtail " if (!type)\n" \ + --vtail " type = g_@type@_register_static (\"@EnumName@\", _@enum_name@_values);\n\n" \ + --vtail " return type;\n}\n\n" \ + $< > $@ + +spice-widget-enums.h: spice-widget.h + $(AM_V_GEN)glib-mkenums --fhead "#ifndef SPICE_WIDGET_ENUMS_H\n" \ + --fhead "#define SPICE_WIDGET_ENUMS_H\n\n" \ + --fhead "G_BEGIN_DECLS\n\n" \ + --ftail "G_END_DECLS\n\n" \ + --ftail "#endif /* SPICE_WIDGET_ENUMS_H */\n" \ + --eprod "#define SPICE_TYPE_@ENUMSHORT@ @enum_name@_get_type()\n" \ + --eprod "GType @enum_name@_get_type (void);\n" \ + $< > $@ + +vncdisplaykeymap.c: $(KEYMAPS) + +$(KEYMAPS): $(KEYMAP_GEN) keymaps.csv + +# Note despite being autogenerated these are not part of CLEANFILES, they +# are actually a part of EXTRA_DIST to avoid the need for perl(Text::CSV) by +# end users +vncdisplaykeymap_xorgevdev2xtkbd.c: + $(AM_V_GEN)$(KEYMAP_GEN) $(srcdir)/keymaps.csv xorgevdev xtkbd > $@ || rm $@ + +vncdisplaykeymap_xorgkbd2xtkbd.c: + $(AM_V_GEN)$(KEYMAP_GEN) $(srcdir)/keymaps.csv xorgkbd xtkbd > $@ || rm $@ + +vncdisplaykeymap_xorgxquartz2xtkbd.c: + $(AM_V_GEN)$(KEYMAP_GEN) $(srcdir)/keymaps.csv xorgxquartz xtkbd > $@ || rm $@ + +vncdisplaykeymap_xorgxwin2xtkbd.c: + $(AM_V_GEN)$(KEYMAP_GEN) $(srcdir)/keymaps.csv xorgxwin xtkbd > $@ || rm $@ + +vncdisplaykeymap_osx2xtkbd.c: + $(AM_V_GEN)$(KEYMAP_GEN) $(srcdir)/keymaps.csv osx xtkbd > $@ || rm $@ + +vncdisplaykeymap_win322xtkbd.c: + $(AM_V_GEN)$(KEYMAP_GEN) $(srcdir)/keymaps.csv win32 xtkbd > $@ || rm $@ +@WITH_PYTHON_TRUE@$(install_pyexecLTLIBRARIES): install-libLTLIBRARIES + +@WITH_PYTHON_TRUE@spice-client-gtk.defs: $(libspice_client_gtkinclude_HEADERS) $(nodist_libspice_client_gtkinclude_HEADERS) $(libspice_client_glibinclude_HEADERS) $(nodist_libspice_client_glibinclude_HEADERS) +@WITH_PYTHON_TRUE@ $(AM_V_GEN)$(PYTHON) $(CODEGENDIR)/h2def.py \ +@WITH_PYTHON_TRUE@ -f $(srcdir)/spice-client-gtk-manual.defs \ +@WITH_PYTHON_TRUE@ $^ > $@ + +@WITH_PYTHON_TRUE@spice-client-gtk-module.defs.c: spice-client-gtk.override spice-client-gtk.defs spice-client-gtk-manual.defs +@WITH_PYTHON_TRUE@ @cat spice-client-gtk.defs $(srcdir)/spice-client-gtk-manual.defs > tmp.defs +@WITH_PYTHON_TRUE@ $(AM_V_GEN)pygobject-codegen-2.0 --prefix spice \ +@WITH_PYTHON_TRUE@ --register $(DEFSDIR)/gdk-types.defs \ +@WITH_PYTHON_TRUE@ --register $(DEFSDIR)/gtk-types.defs \ +@WITH_PYTHON_TRUE@ --override $(srcdir)/spice-client-gtk.override \ +@WITH_PYTHON_TRUE@ tmp.defs > $@ +@WITH_PYTHON_TRUE@ @rm tmp.defs + +-include $(INTROSPECTION_MAKEFILE) + +@HAVE_INTROSPECTION_TRUE@SpiceClientGLib-2.0.gir: libspice-client-glib-2.0.la + +@HAVE_GTK_2_TRUE@@HAVE_INTROSPECTION_TRUE@SpiceClientGtk-2.0.gir: libspice-client-gtk-2.0.la SpiceClientGLib-2.0.gir +@HAVE_GTK_2_FALSE@@HAVE_INTROSPECTION_TRUE@SpiceClientGtk-3.0.gir: libspice-client-gtk-3.0.la SpiceClientGLib-2.0.gir + +update-symbol-files: + ( echo "SPICEGTK_1 {" ; \ + echo "global:" ; \ + ctags -f - --c-kinds=p $(libspice_client_gtkinclude_HEADERS) $(nodist_libspice_client_gtkinclude_HEADERS) $(libspice_client_glibinclude_HEADERS) $(nodist_libspice_client_glibinclude_HEADERS) | awk '/^spice_/ { print $$1 ";" }' | sort ; \ + echo "local:" ; \ + echo "*;" ; \ + echo "};" ) > $(srcdir)/map-file + ( ctags -f - --c-kinds=p $(libspice_client_glibinclude_HEADERS) $(nodist_libspice_client_glibinclude_HEADERS) | awk '/^spice_/ { print $$1 }' | sort ; \ + ) > $(srcdir)/spice-glib-sym-file + ( ctags -f - --c-kinds=p $(libspice_client_gtkinclude_HEADERS) $(nodist_libspice_client_gtkinclude_HEADERS) | awk '/^spice_/ { print $$1 }' | sort ; \ + ) > $(srcdir)/spice-gtk-sym-file + +-include $(top_srcdir)/git.mk + +# 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: diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/bio-gsocket.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/bio-gsocket.c new file mode 100644 index 0000000..dbf17a2 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/bio-gsocket.c @@ -0,0 +1,111 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2012 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ + +#include +#include + +#include "spice-util.h" +#include "bio-gsocket.h" + +typedef struct bio_gsocket_method { + BIO_METHOD method; + GSocket *gsocket; +} bio_gsocket_method; + +#define BIO_GET_GSOCKET(bio) (((bio_gsocket_method*)bio->method)->gsocket) + +static int bio_gsocket_bwrite(BIO *bio, const char *in, int inl) +{ + int ret; + GError *error = NULL; + + ret = g_socket_send(BIO_GET_GSOCKET(bio), + in, inl, NULL, &error); + BIO_clear_retry_flags(bio); + + if (g_error_matches(error, G_IO_ERROR, G_IO_ERROR_WOULD_BLOCK)) + BIO_set_retry_write(bio); + if (error != NULL) { + g_warning("%s", error->message); + g_clear_error(&error); + } + + return ret; +} + +static int bio_gsocket_bread(BIO *bio, char *out, int outl) +{ + int ret; + GError *error = NULL; + + ret = g_socket_receive(BIO_GET_GSOCKET(bio), + out, outl, NULL, &error); + BIO_clear_retry_flags(bio); + + if (g_error_matches(error, G_IO_ERROR, G_IO_ERROR_WOULD_BLOCK)) + BIO_set_retry_read(bio); + else if (error != NULL) + g_warning("%s", error->message); + + g_clear_error(&error); + + return ret; +} + +static int bio_gsocket_destroy(BIO *bio) +{ + if (bio == NULL || bio->method == NULL) + return 0; + + SPICE_DEBUG("bio gsocket destroy"); + g_free(bio->method); + bio->method = NULL;; + + return 1; +} + +static int bio_gsocket_bputs(BIO *bio, const char *str) +{ + int n, ret; + + n = strlen(str); + ret = bio_gsocket_bwrite(bio, str, n); + + return ret; +} + +G_GNUC_INTERNAL +BIO* bio_new_gsocket(GSocket *gsocket) +{ + BIO *bio = BIO_new_socket(g_socket_get_fd(gsocket), BIO_NOCLOSE); + + bio_gsocket_method *bio_method = g_new(bio_gsocket_method, 1); + bio_method->method = *bio->method; + bio_method->gsocket = gsocket; + + bio->method->destroy(bio); + bio->method = (BIO_METHOD*)bio_method; + + bio->method->bwrite = bio_gsocket_bwrite; + bio->method->bread = bio_gsocket_bread; + bio->method->bputs = bio_gsocket_bputs; + bio->method->destroy = bio_gsocket_destroy; + + return bio; +} + diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/bio-gsocket.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/bio-gsocket.h new file mode 100644 index 0000000..7ee5e64 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/bio-gsocket.h @@ -0,0 +1,30 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2012 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef BIO_GSOCKET_H_ +# define BIO_GSOCKET_H_ + +#include +#include + +G_BEGIN_DECLS + +BIO* bio_new_gsocket(GSocket *gsocket); + +G_END_DECLS + +#endif /* !BIO_GSOCKET_H_ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-base.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-base.c new file mode 100644 index 0000000..dff3024 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-base.c @@ -0,0 +1,191 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#include "spice-client.h" +#include "spice-common.h" + +#include "spice-session-priv.h" +#include "spice-channel-priv.h" + +/* coroutine context */ +G_GNUC_INTERNAL +void spice_channel_handle_set_ack(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceChannelPrivate *c = channel->priv; + SpiceMsgSetAck* ack = spice_msg_in_parsed(in); + SpiceMsgOut *out = spice_msg_out_new(channel, SPICE_MSGC_ACK_SYNC); + SpiceMsgcAckSync sync = { + .generation = ack->generation, + }; + + c->message_ack_window = c->message_ack_count = ack->window; + c->marshallers->msgc_ack_sync(out->marshaller, &sync); + spice_msg_out_send_internal(out); +} + +/* coroutine context */ +G_GNUC_INTERNAL +void spice_channel_handle_ping(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceChannelPrivate *c = channel->priv; + SpiceMsgPing *ping = spice_msg_in_parsed(in); + SpiceMsgOut *pong = spice_msg_out_new(channel, SPICE_MSGC_PONG); + + c->marshallers->msgc_pong(pong->marshaller, ping); + spice_msg_out_send_internal(pong); +} + +/* coroutine context */ +G_GNUC_INTERNAL +void spice_channel_handle_notify(SpiceChannel *channel, SpiceMsgIn *in) +{ + static const char* severity_strings[] = {"info", "warn", "error"}; + static const char* visibility_strings[] = {"!", "!!", "!!!"}; + + SpiceMsgNotify *notify = spice_msg_in_parsed(in); + const char *severity = "?"; + const char *visibility = "?"; + const char *message_str = NULL; + + if (notify->severity <= SPICE_NOTIFY_SEVERITY_ERROR) { + severity = severity_strings[notify->severity]; + } + if (notify->visibilty <= SPICE_NOTIFY_VISIBILITY_HIGH) { + visibility = visibility_strings[notify->visibilty]; + } + + if (notify->message_len && + notify->message_len <= in->dpos - sizeof(*notify)) { + message_str = (char*)notify->message; + } + + CHANNEL_DEBUG(channel, "%s -- %s%s #%u%s%.*s", __FUNCTION__, + severity, visibility, notify->what, + message_str ? ": " : "", notify->message_len, + message_str ? message_str : ""); +} + +/* coroutine context */ +G_GNUC_INTERNAL +void spice_channel_handle_disconnect(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgDisconnect *disconnect = spice_msg_in_parsed(in); + + CHANNEL_DEBUG(channel, "%s: ts: %" PRIu64", reason: %u", __FUNCTION__, + disconnect->time_stamp, disconnect->reason); +} + +typedef struct WaitForChannelData +{ + SpiceWaitForChannel *wait; + SpiceChannel *channel; +} WaitForChannelData; + +/* coroutine and main context */ +static gboolean wait_for_channel(gpointer data) +{ + WaitForChannelData *wfc = data; + SpiceChannelPrivate *c = wfc->channel->priv; + SpiceChannel *wait_channel; + + wait_channel = spice_session_lookup_channel(c->session, wfc->wait->channel_id, wfc->wait->channel_type); + g_return_val_if_fail(wait_channel != NULL, TRUE); + + if (wait_channel->priv->last_message_serial >= wfc->wait->message_serial) + return TRUE; + + return FALSE; +} + +/* coroutine context */ +G_GNUC_INTERNAL +void spice_channel_handle_wait_for_channels(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceChannelPrivate *c = channel->priv; + SpiceMsgWaitForChannels *wfc = spice_msg_in_parsed(in); + int i; + + for (i = 0; i < wfc->wait_count; ++i) { + WaitForChannelData data = { + .wait = wfc->wait_list + i, + .channel = channel + }; + + CHANNEL_DEBUG(channel, "waiting for serial %" PRIu64 " (%d/%d)", data.wait->message_serial, i + 1, wfc->wait_count); + if (g_coroutine_condition_wait(&c->coroutine, wait_for_channel, &data)) + CHANNEL_DEBUG(channel, "waiting for serial %" PRIu64 ", done", data.wait->message_serial); + else + CHANNEL_DEBUG(channel, "waiting for serial %" PRIu64 ", cancelled", data.wait->message_serial); + } +} + +static void +get_msg_handler(SpiceChannel *channel, SpiceMsgIn *in, gpointer data) +{ + SpiceMsgIn **msg = data; + + g_return_if_fail(msg != NULL); + g_return_if_fail(*msg == NULL); + + spice_msg_in_ref(in); + *msg = in; +} + +/* coroutine context */ +G_GNUC_INTERNAL +void spice_channel_handle_migrate(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgOut *out; + SpiceMsgIn *data = NULL; + SpiceMsgMigrate *mig = spice_msg_in_parsed(in); + SpiceChannelPrivate *c = channel->priv; + + CHANNEL_DEBUG(channel, "%s: flags %u", __FUNCTION__, mig->flags); + if (mig->flags & SPICE_MIGRATE_NEED_FLUSH) { + /* if peer version > 1: pushing the mark msg before all other messgages and sending it, + * and only it */ + if (c->peer_hdr.major_version == 1) { + /* iterate_write is blocking and flushing all pending write */ + SPICE_CHANNEL_GET_CLASS(channel)->iterate_write(channel); + } + out = spice_msg_out_new(SPICE_CHANNEL(channel), SPICE_MSGC_MIGRATE_FLUSH_MARK); + spice_msg_out_send_internal(out); + } + if (mig->flags & SPICE_MIGRATE_NEED_DATA_TRANSFER) { + spice_channel_recv_msg(channel, get_msg_handler, &data); + if (!data) { + g_critical("expected SPICE_MSG_MIGRATE_DATA, got empty message"); + return; + } else if (spice_header_get_msg_type(data->header, c->use_mini_header) != + SPICE_MSG_MIGRATE_DATA) { + g_critical("expected SPICE_MSG_MIGRATE_DATA, got %d", + spice_header_get_msg_type(data->header, c->use_mini_header)); + return; + } + } + + /* swapping channels sockets */ + spice_session_channel_migrate(c->session, channel); + + /* pushing the MIGRATE_DATA before all other pending messages */ + if ((mig->flags & SPICE_MIGRATE_NEED_DATA_TRANSFER) && (data != NULL)) { + out = spice_msg_out_new(SPICE_CHANNEL(channel), SPICE_MSGC_MIGRATE_DATA); + spice_marshaller_add(out->marshaller, data->data, + spice_header_get_msg_size(data->header, c->use_mini_header)); + spice_msg_out_send_internal(out); + } +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-cursor.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-cursor.c new file mode 100644 index 0000000..99e7a48 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-cursor.c @@ -0,0 +1,597 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#include "spice-client.h" +#include "spice-common.h" + +#include "spice-channel-priv.h" +#include "spice-channel-cache.h" +#include "spice-marshal.h" + +/** + * SECTION:channel-cursor + * @short_description: update cursor shape and position + * @title: Cursor Channel + * @section_id: + * @see_also: #SpiceChannel, and the GTK widget #SpiceDisplay + * @stability: Stable + * @include: channel-cursor.h + * + * The Spice protocol defines a set of messages for controlling cursor + * shape and position on the remote display area. The cursor changes + * that should be reflected on the display are notified by + * signals. See for example #SpiceCursorChannel::cursor-set + * #SpiceCursorChannel::cursor-move signals. + */ + +#define SPICE_CURSOR_CHANNEL_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE((obj), SPICE_TYPE_CURSOR_CHANNEL, SpiceCursorChannelPrivate)) + +typedef struct display_cursor display_cursor; + +struct display_cursor { + SpiceCursorHeader hdr; + gboolean default_cursor; + int refcount; + guint32 data[]; +}; + +struct _SpiceCursorChannelPrivate { + display_cache cursors; + gboolean init_done; +}; + +enum { + SPICE_CURSOR_SET, + SPICE_CURSOR_MOVE, + SPICE_CURSOR_HIDE, + SPICE_CURSOR_RESET, + + SPICE_CURSOR_LAST_SIGNAL, +}; + +static guint signals[SPICE_CURSOR_LAST_SIGNAL]; + +static void spice_cursor_handle_msg(SpiceChannel *channel, SpiceMsgIn *msg); +static void delete_cursor_all(SpiceChannel *channel); +static display_cursor * display_cursor_ref(display_cursor *cursor); +static void display_cursor_unref(display_cursor *cursor); + +G_DEFINE_TYPE(SpiceCursorChannel, spice_cursor_channel, SPICE_TYPE_CHANNEL) + +/* ------------------------------------------------------------------ */ + +static void spice_cursor_channel_init(SpiceCursorChannel *channel) +{ + SpiceCursorChannelPrivate *c; + + c = channel->priv = SPICE_CURSOR_CHANNEL_GET_PRIVATE(channel); + + cache_init(&c->cursors, "cursor"); +} + +static void spice_cursor_channel_finalize(GObject *obj) +{ + delete_cursor_all(SPICE_CHANNEL(obj)); + + if (G_OBJECT_CLASS(spice_cursor_channel_parent_class)->finalize) + G_OBJECT_CLASS(spice_cursor_channel_parent_class)->finalize(obj); +} + +/* coroutine context */ +static void spice_cursor_channel_reset(SpiceChannel *channel, gboolean migrating) +{ + SpiceCursorChannelPrivate *c = SPICE_CURSOR_CHANNEL(channel)->priv; + + delete_cursor_all(channel); + c->init_done = FALSE; + + SPICE_CHANNEL_CLASS(spice_cursor_channel_parent_class)->channel_reset(channel, migrating); +} + +static void spice_cursor_channel_class_init(SpiceCursorChannelClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS(klass); + SpiceChannelClass *channel_class = SPICE_CHANNEL_CLASS(klass); + + gobject_class->finalize = spice_cursor_channel_finalize; + channel_class->handle_msg = spice_cursor_handle_msg; + channel_class->channel_reset = spice_cursor_channel_reset; + + /** + * SpiceCursorChannel::cursor-set: + * @cursor: the #SpiceCursorChannel that emitted the signal + * @width: width of the shape + * @height: height of the shape + * @hot_x: horizontal offset of the 'hotspot' of the cursor + * @hot_y: vertical offset of the 'hotspot' of the cursor + * @rgba: 32bits shape data, or %NULL if default cursor. It might + * be freed after the signal is emitted, so make sure to copy it + * if you need it later! + * + * The #SpiceCursorChannel::cursor-set signal is emitted to modify + * cursor aspect and position on the display area. + **/ + signals[SPICE_CURSOR_SET] = + g_signal_new("cursor-set", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceCursorChannelClass, cursor_set), + NULL, NULL, + g_cclosure_user_marshal_VOID__INT_INT_INT_INT_POINTER, + G_TYPE_NONE, + 5, + G_TYPE_INT, G_TYPE_INT, + G_TYPE_INT, G_TYPE_INT, + G_TYPE_POINTER); + + /** + * SpiceCursorChannel::cursor-move: + * @cursor: the #SpiceCursorChannel that emitted the signal + * @x: x position + * @y: y position + * + * The #SpiceCursorChannel::cursor-move signal is emitted to update + * the cursor position on the display area. + **/ + signals[SPICE_CURSOR_MOVE] = + g_signal_new("cursor-move", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceCursorChannelClass, cursor_move), + NULL, NULL, + g_cclosure_user_marshal_VOID__INT_INT, + G_TYPE_NONE, + 2, + G_TYPE_INT, G_TYPE_INT); + + /** + * SpiceCursorChannel::cursor-hide: + * @cursor: the #SpiceCursorChannel that emitted the signal + * + * The #SpiceCursorChannel::cursor-hide signal is emitted to hide + * the cursor/pointer on the display area. + **/ + signals[SPICE_CURSOR_HIDE] = + g_signal_new("cursor-hide", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceCursorChannelClass, cursor_hide), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, + 0); + + /** + * SpiceCursorChannel::cursor-reset: + * @cursor: the #SpiceCursorChannel that emitted the signal + * + * The #SpiceCursorChannel::cursor-reset signal is emitted to + * reset the cursor to its default context. + **/ + signals[SPICE_CURSOR_RESET] = + g_signal_new("cursor-reset", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceCursorChannelClass, cursor_reset), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, + 0); + + g_type_class_add_private(klass, sizeof(SpiceCursorChannelPrivate)); +} + +/* signal trampoline---------------------------------------------------------- */ + +struct SPICE_CURSOR_HIDE { +}; + +struct SPICE_CURSOR_RESET { +}; + +struct SPICE_CURSOR_SET { + uint16_t width; + uint16_t height; + uint16_t hot_spot_x; + uint16_t hot_spot_y; + gpointer rgba; +}; + +struct SPICE_CURSOR_MOVE { + gint x; + gint y; +}; + +/* main context */ +static void do_emit_main_context(GObject *object, int signum, gpointer params) +{ + switch (signum) { + case SPICE_CURSOR_HIDE: + case SPICE_CURSOR_RESET: { + g_signal_emit(object, signals[signum], 0); + break; + } + case SPICE_CURSOR_SET: { + struct SPICE_CURSOR_SET *p = params; + g_signal_emit(object, signals[signum], 0, + p->width, p->height, p->hot_spot_x, p->hot_spot_y, p->rgba); + break; + } + case SPICE_CURSOR_MOVE: { + struct SPICE_CURSOR_MOVE *p = params; + g_signal_emit(object, signals[signum], 0, p->x, p->y); + break; + } + default: + g_warn_if_reached(); + } +} + +/* ------------------------------------------------------------------ */ + +static void mono_cursor(display_cursor *cursor, const guint8 *data) +{ + const guint8 *xor, *and; + guint8 *dest; + int bpl, x, y, bit; + + bpl = (cursor->hdr.width + 7) / 8; + and = data; + xor = and + bpl * cursor->hdr.height; + dest = (uint8_t *)cursor->data; + for (y = 0; y < cursor->hdr.height; y++) { + bit = 0x80; + for (x = 0; x < cursor->hdr.width; x++, dest += 4) { + if (and[x/8] & bit) { + if (xor[x/8] & bit) { + /* flip -> hmm? */ + dest[0] = 0x00; + dest[1] = 0x00; + dest[2] = 0x00; + dest[3] = 0x80; + } else { + /* unchanged -> transparent */ + dest[0] = 0x00; + dest[1] = 0x00; + dest[2] = 0x00; + dest[3] = 0x00; + } + } else { + if (xor[x/8] & bit) { + /* set -> white */ + dest[0] = 0xff; + dest[1] = 0xff; + dest[2] = 0xff; + dest[3] = 0xff; + } else { + /* clear -> black */ + dest[0] = 0x00; + dest[1] = 0x00; + dest[2] = 0x00; + dest[3] = 0xff; + } + } + bit >>= 1; + if (bit == 0) { + bit = 0x80; + } + } + and += bpl; + xor += bpl; + } +} + +static guint8 get_pix_mask(const guint8 *data, gint offset, gint pix_index) +{ + return data[offset + (pix_index >> 3)] & (0x80 >> (pix_index % 8)); +} + +static guint32 get_pix_hack(gint pix_index, gint width) +{ + return (((pix_index % width) ^ (pix_index / width)) & 1) ? 0xc0303030 : 0x30505050; +} + +static display_cursor * display_cursor_ref(display_cursor *cursor) +{ + g_return_val_if_fail(cursor != NULL, NULL); + g_return_val_if_fail(cursor->refcount > 0, NULL); + + cursor->refcount++; + return cursor; +} + +static void display_cursor_unref(display_cursor *cursor) +{ + g_return_if_fail(cursor != NULL); + g_return_if_fail(cursor->refcount > 0); + + cursor->refcount--; + if (cursor->refcount == 0) + g_free(cursor); +} + +static display_cursor *set_cursor(SpiceChannel *channel, SpiceCursor *scursor) +{ + SpiceCursorChannelPrivate *c = SPICE_CURSOR_CHANNEL(channel)->priv; + SpiceCursorHeader *hdr = &scursor->header; + display_cache_item *item; + display_cursor *cursor; + size_t size; + gint i, pix_mask, pix; + const guint8* data; + guint8 *rgba; + guint8 val; + + CHANNEL_DEBUG(channel, "%s: flags %d, size %d", __FUNCTION__, + scursor->flags, scursor->data_size); + + if (scursor->flags & SPICE_CURSOR_FLAGS_NONE) + return NULL; + + CHANNEL_DEBUG(channel, "%s: type %d, %" PRIx64 ", %dx%d", __FUNCTION__, + hdr->type, hdr->unique, hdr->width, hdr->height); + + if (scursor->flags & SPICE_CURSOR_FLAGS_FROM_CACHE) { + item = cache_find(&c->cursors, hdr->unique); + g_return_val_if_fail(item != NULL, NULL); + return display_cursor_ref(item->ptr); + } + + g_return_val_if_fail(scursor->data_size != 0, NULL); + + size = 4 * hdr->width * hdr->height; + cursor = spice_malloc(sizeof(*cursor) + size); + cursor->hdr = *hdr; + cursor->default_cursor = FALSE; + cursor->refcount = 1; + data = scursor->data; + + switch (hdr->type) { + case SPICE_CURSOR_TYPE_MONO: + mono_cursor(cursor, data); + break; + case SPICE_CURSOR_TYPE_ALPHA: + memcpy(cursor->data, data, size); + break; + case SPICE_CURSOR_TYPE_COLOR32: + memcpy(cursor->data, data, size); + for (i = 0; i < hdr->width * hdr->height; i++) { + pix_mask = get_pix_mask(data, size, i); + if (pix_mask && *((guint32*)data + i) == 0xffffff) { + cursor->data[i] = get_pix_hack(i, hdr->width); + } else { + cursor->data[i] |= (pix_mask ? 0 : 0xff000000); + } + } + break; + case SPICE_CURSOR_TYPE_COLOR16: + for (i = 0; i < hdr->width * hdr->height; i++) { + pix_mask = get_pix_mask(data, size, i); + pix = *((guint16*)data + i); + if (pix_mask && pix == 0x7fff) { + cursor->data[i] = get_pix_hack(i, hdr->width); + } else { + cursor->data[i] |= ((pix & 0x1f) << 3) | ((pix & 0x3e0) << 6) | + ((pix & 0x7c00) << 9) | (pix_mask ? 0 : 0xff000000); + } + } + break; + case SPICE_CURSOR_TYPE_COLOR4: + size = (SPICE_ALIGN(hdr->width, 2) / 2) * hdr->height; + for (i = 0; i < hdr->width * hdr->height; i++) { + pix_mask = get_pix_mask(data, size + (sizeof(uint32_t) << 4), i); + int idx = (i & 1) ? (data[i >> 1] & 0x0f) : ((data[i >> 1] & 0xf0) >> 4); + pix = *((uint32_t*)(data + size) + idx); + if (pix_mask && pix == 0xffffff) { + cursor->data[i] = get_pix_hack(i, hdr->width); + } else { + cursor->data[i] = pix | (pix_mask ? 0 : 0xff000000); + } + } + + break; + default: + g_warning("%s: unimplemented cursor type %d", __FUNCTION__, + hdr->type); + cursor->default_cursor = TRUE; + goto cache_add; + } + + rgba = (guint8*)cursor->data; + for (i = 0; i < hdr->width * hdr->height; i++) { + val = rgba[0]; + rgba[0] = rgba[2]; + rgba[2] = val; + rgba += 4; + } + +cache_add: + if (cursor && (scursor->flags & SPICE_CURSOR_FLAGS_CACHE_ME)) { + display_cursor_ref(cursor); + item = cache_add(&c->cursors, hdr->unique); + item->ptr = cursor; + } + + return cursor; +} + +static void delete_cursor_one(SpiceChannel *channel, display_cache_item *item) +{ + SpiceCursorChannelPrivate *c = SPICE_CURSOR_CHANNEL(channel)->priv; + + display_cursor_unref((display_cursor*)item->ptr); + cache_del(&c->cursors, item); +} + +static void delete_cursor_all(SpiceChannel *channel) +{ + SpiceCursorChannelPrivate *c = SPICE_CURSOR_CHANNEL(channel)->priv; + display_cache_item *item; + + for (;;) { + item = cache_get_lru(&c->cursors); + if (item == NULL) { + return; + } + delete_cursor_one(channel, item); + } +} + +/* coroutine context */ +static void emit_cursor_set(SpiceChannel *channel, display_cursor *cursor) +{ + g_return_if_fail(cursor != NULL); + emit_main_context(channel, SPICE_CURSOR_SET, + cursor->hdr.width, cursor->hdr.height, + cursor->hdr.hot_spot_x, cursor->hdr.hot_spot_y, + cursor->default_cursor ? NULL : cursor->data); +} + +/* coroutine context */ +static void cursor_handle_init(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgCursorInit *init = spice_msg_in_parsed(in); + SpiceCursorChannelPrivate *c = SPICE_CURSOR_CHANNEL(channel)->priv; + display_cursor *cursor; + + g_return_if_fail(c->init_done == FALSE); + + delete_cursor_all(channel); + cursor = set_cursor(channel, &init->cursor); + c->init_done = TRUE; + if (cursor) + emit_cursor_set(channel, cursor); + if (!init->visible || !cursor) + emit_main_context(channel, SPICE_CURSOR_HIDE); + if (cursor) + display_cursor_unref(cursor); +} + +/* coroutine context */ +static void cursor_handle_reset(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceCursorChannelPrivate *c = SPICE_CURSOR_CHANNEL(channel)->priv; + + CHANNEL_DEBUG(channel, "%s, init_done: %d", __FUNCTION__, c->init_done); + + delete_cursor_all(channel); + emit_main_context(channel, SPICE_CURSOR_RESET); + c->init_done = FALSE; +} + +/* coroutine context */ +static void cursor_handle_set(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgCursorSet *set = spice_msg_in_parsed(in); + SpiceCursorChannelPrivate *c = SPICE_CURSOR_CHANNEL(channel)->priv; + display_cursor *cursor; + + g_return_if_fail(c->init_done == TRUE); + + cursor = set_cursor(channel, &set->cursor); + if (cursor) + emit_cursor_set(channel, cursor); + else + emit_main_context(channel, SPICE_CURSOR_HIDE); + + + if (cursor) + display_cursor_unref(cursor); +} + +/* coroutine context */ +static void cursor_handle_move(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgCursorMove *move = spice_msg_in_parsed(in); + SpiceCursorChannelPrivate *c = SPICE_CURSOR_CHANNEL(channel)->priv; + + g_return_if_fail(c->init_done == TRUE); + + emit_main_context(channel, SPICE_CURSOR_MOVE, + move->position.x, move->position.y); +} + +/* coroutine context */ +static void cursor_handle_hide(SpiceChannel *channel, SpiceMsgIn *in) +{ +#ifdef EXTRA_CHECKS + SpiceCursorChannelPrivate *c = SPICE_CURSOR_CHANNEL(channel)->priv; + + g_return_if_fail(c->init_done == TRUE); +#endif + + emit_main_context(channel, SPICE_CURSOR_HIDE); +} + +/* coroutine context */ +static void cursor_handle_trail(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceCursorChannelPrivate *c = SPICE_CURSOR_CHANNEL(channel)->priv; + + g_return_if_fail(c->init_done == TRUE); + + g_warning("%s: TODO", __FUNCTION__); +} + +/* coroutine context */ +static void cursor_handle_inval_one(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceCursorChannelPrivate *c = SPICE_CURSOR_CHANNEL(channel)->priv; + SpiceMsgDisplayInvalOne *zap = spice_msg_in_parsed(in); + display_cache_item *item; + + g_return_if_fail(c->init_done == TRUE); + + item = cache_find(&c->cursors, zap->id); + delete_cursor_one(channel, item); +} + +/* coroutine context */ +static void cursor_handle_inval_all(SpiceChannel *channel, SpiceMsgIn *in) +{ + delete_cursor_all(channel); +} + +static const spice_msg_handler cursor_handlers[] = { + [ SPICE_MSG_CURSOR_INIT ] = cursor_handle_init, + [ SPICE_MSG_CURSOR_RESET ] = cursor_handle_reset, + [ SPICE_MSG_CURSOR_SET ] = cursor_handle_set, + [ SPICE_MSG_CURSOR_MOVE ] = cursor_handle_move, + [ SPICE_MSG_CURSOR_HIDE ] = cursor_handle_hide, + [ SPICE_MSG_CURSOR_TRAIL ] = cursor_handle_trail, + [ SPICE_MSG_CURSOR_INVAL_ONE ] = cursor_handle_inval_one, + [ SPICE_MSG_CURSOR_INVAL_ALL ] = cursor_handle_inval_all, +}; + +/* coroutine context */ +static void spice_cursor_handle_msg(SpiceChannel *channel, SpiceMsgIn *msg) +{ + int type = spice_msg_in_type(msg); + SpiceChannelClass *parent_class; + + g_return_if_fail(type < SPICE_N_ELEMENTS(cursor_handlers)); + + parent_class = SPICE_CHANNEL_CLASS(spice_cursor_channel_parent_class); + + if (cursor_handlers[type] != NULL) + cursor_handlers[type](channel, msg); + else if (parent_class->handle_msg) + parent_class->handle_msg(channel, msg); + else + g_return_if_reached(); +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-cursor.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-cursor.h new file mode 100644 index 0000000..5b5ed47 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-cursor.h @@ -0,0 +1,77 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_CLIENT_CURSOR_CHANNEL_H__ +#define __SPICE_CLIENT_CURSOR_CHANNEL_H__ + +#include "spice-client.h" + +G_BEGIN_DECLS + +#define SPICE_TYPE_CURSOR_CHANNEL (spice_cursor_channel_get_type()) +#define SPICE_CURSOR_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), SPICE_TYPE_CURSOR_CHANNEL, SpiceCursorChannel)) +#define SPICE_CURSOR_CHANNEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPICE_TYPE_CURSOR_CHANNEL, SpiceCursorChannelClass)) +#define SPICE_IS_CURSOR_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SPICE_TYPE_CURSOR_CHANNEL)) +#define SPICE_IS_CURSOR_CHANNEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SPICE_TYPE_CURSOR_CHANNEL)) +#define SPICE_CURSOR_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), SPICE_TYPE_CURSOR_CHANNEL, SpiceCursorChannelClass)) + +typedef struct _SpiceCursorChannel SpiceCursorChannel; +typedef struct _SpiceCursorChannelClass SpiceCursorChannelClass; +typedef struct _SpiceCursorChannelPrivate SpiceCursorChannelPrivate; + +/** + * SpiceCursorChannel: + * + * The #SpiceCursorChannel struct is opaque and should not be accessed directly. + */ +struct _SpiceCursorChannel { + SpiceChannel parent; + + /*< private >*/ + SpiceCursorChannelPrivate *priv; + /* Do not add fields to this struct */ +}; + +/** + * SpiceCursorChannelClass: + * @parent_class: Parent class. + * @cursor_set: Signal class handler for the #SpiceCursorChannel::cursor-set signal. + * @cursor_move: Signal class handler for the #SpiceCursorChannel::cursor-move signal. + * @cursor_hide: Signal class handler for the #SpiceCursorChannel::cursor-hide signal. + * @cursor_reset: Signal class handler for the #SpiceCursorChannel::cursor-reset signal. + * + * Class structure for #SpiceCursorChannel. + */ +struct _SpiceCursorChannelClass { + SpiceChannelClass parent_class; + + /* signals */ + void (*cursor_set)(SpiceCursorChannel *channel, gint width, gint height, + gint hot_x, gint hot_y, gpointer rgba); + void (*cursor_move)(SpiceCursorChannel *channel, gint x, gint y); + void (*cursor_hide)(SpiceCursorChannel *channel); + void (*cursor_reset)(SpiceCursorChannel *channel); + + /*< private >*/ + /* Do not add fields to this struct */ +}; + +GType spice_cursor_channel_get_type(void); + +G_END_DECLS + +#endif /* __SPICE_CLIENT_CURSOR_CHANNEL_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-display-mjpeg.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-display-mjpeg.c new file mode 100644 index 0000000..627aab4 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-display-mjpeg.c @@ -0,0 +1,156 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#include "spice-client.h" +#include "spice-common.h" +#include "spice-channel-priv.h" + +#include "channel-display-priv.h" + +static void mjpeg_src_init(struct jpeg_decompress_struct *cinfo) +{ + display_stream *st = SPICE_CONTAINEROF(cinfo->src, display_stream, mjpeg_src); + uint8_t *data; + + cinfo->src->bytes_in_buffer = stream_get_current_frame(st, &data); + cinfo->src->next_input_byte = data; +} + +static boolean mjpeg_src_fill(struct jpeg_decompress_struct *cinfo) +{ + g_critical("need more input data"); + return 0; +} + +static void mjpeg_src_skip(struct jpeg_decompress_struct *cinfo, + long num_bytes) +{ + cinfo->src->next_input_byte += num_bytes; +} + +static void mjpeg_src_term(struct jpeg_decompress_struct *cinfo) +{ + /* nothing */ +} + +G_GNUC_INTERNAL +void stream_mjpeg_init(display_stream *st) +{ + st->mjpeg_cinfo.err = jpeg_std_error(&st->mjpeg_jerr); + jpeg_create_decompress(&st->mjpeg_cinfo); + + st->mjpeg_src.init_source = mjpeg_src_init; + st->mjpeg_src.fill_input_buffer = mjpeg_src_fill; + st->mjpeg_src.skip_input_data = mjpeg_src_skip; + st->mjpeg_src.resync_to_restart = jpeg_resync_to_restart; + st->mjpeg_src.term_source = mjpeg_src_term; + st->mjpeg_cinfo.src = &st->mjpeg_src; +} + +G_GNUC_INTERNAL +void stream_mjpeg_data(display_stream *st) +{ + gboolean back_compat = st->channel->priv->peer_hdr.major_version == 1; + int width; + int height; + uint8_t *dest; + uint8_t *lines[4]; + + stream_get_dimensions(st, &width, &height); + dest = malloc(width * height * 4); + + if (st->out_frame) { + free(st->out_frame); + } + st->out_frame = dest; + + jpeg_read_header(&st->mjpeg_cinfo, 1); +#ifdef JCS_EXTENSIONS + // requires jpeg-turbo + if (back_compat) + st->mjpeg_cinfo.out_color_space = JCS_EXT_RGBX; + else + st->mjpeg_cinfo.out_color_space = JCS_EXT_BGRX; +#else +#warning "You should consider building with libjpeg-turbo" + st->mjpeg_cinfo.out_color_space = JCS_RGB; +#endif + +#ifndef SPICE_QUALITY + st->mjpeg_cinfo.dct_method = JDCT_IFAST; + st->mjpeg_cinfo.do_fancy_upsampling = FALSE; + st->mjpeg_cinfo.do_block_smoothing = FALSE; + st->mjpeg_cinfo.dither_mode = JDITHER_ORDERED; +#endif + // TODO: in theory should check cinfo.output_height match with our height + jpeg_start_decompress(&st->mjpeg_cinfo); + /* rec_outbuf_height is the recommended size of the output buffer we + * pass to libjpeg for optimum performance + */ + if (st->mjpeg_cinfo.rec_outbuf_height > G_N_ELEMENTS(lines)) { + jpeg_abort_decompress(&st->mjpeg_cinfo); + g_return_if_reached(); + } + + while (st->mjpeg_cinfo.output_scanline < st->mjpeg_cinfo.output_height) { + /* only used when JCS_EXTENSIONS is undefined */ + G_GNUC_UNUSED unsigned int lines_read; + + for (unsigned int j = 0; j < st->mjpeg_cinfo.rec_outbuf_height; j++) { + lines[j] = dest; +#ifdef JCS_EXTENSIONS + dest += 4 * width; +#else + dest += 3 * width; +#endif + } + lines_read = jpeg_read_scanlines(&st->mjpeg_cinfo, lines, + st->mjpeg_cinfo.rec_outbuf_height); +#ifndef JCS_EXTENSIONS + { + uint8_t *s = lines[0]; + uint32_t *d = (uint32_t *)s; + + if (back_compat) { + for (unsigned int j = lines_read * width; j > 0; ) { + j -= 1; // reverse order, bad for cache? + d[j] = s[j * 3 + 0] | + s[j * 3 + 1] << 8 | + s[j * 3 + 2] << 16; + } + } else { + for (unsigned int j = lines_read * width; j > 0; ) { + j -= 1; // reverse order, bad for cache? + d[j] = s[j * 3 + 0] << 16 | + s[j * 3 + 1] << 8 | + s[j * 3 + 2]; + } + } + } +#endif + dest = &st->out_frame[st->mjpeg_cinfo.output_scanline * width * 4]; + } + jpeg_finish_decompress(&st->mjpeg_cinfo); +} + +G_GNUC_INTERNAL +void stream_mjpeg_cleanup(display_stream *st) +{ + jpeg_destroy_decompress(&st->mjpeg_cinfo); + free(st->out_frame); + st->out_frame = NULL; +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-display-priv.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-display-priv.h new file mode 100644 index 0000000..ff0f484 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-display-priv.h @@ -0,0 +1,86 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef CHANNEL_DISPLAY_PRIV_H_ +# define CHANNEL_DISPLAY_PRIV_H_ + +#include +#ifdef WIN32 +/* We need some hacks to avoid warnings from the jpeg headers */ +#define HAVE_BOOLEAN +#define XMD_H +#endif +#include + +#include "common/canvas_base.h" +#include "common/canvas_utils.h" +#include "common/sw_canvas.h" +#include "common/ring.h" +#include "common/quic.h" +#include "common/rop3.h" + +G_BEGIN_DECLS + + +typedef struct display_surface { + RingItem link; + guint32 surface_id; + bool primary; + enum SpiceSurfaceFmt format; + int width, height, stride, size; + int shmid; + uint8_t *data; + SpiceCanvas *canvas; + SpiceGlzDecoder *glz_decoder; + SpiceZlibDecoder *zlib_decoder; + SpiceJpegDecoder *jpeg_decoder; +} display_surface; + +typedef struct display_stream { + SpiceMsgIn *msg_create; + SpiceMsgIn *msg_clip; + SpiceMsgIn *msg_data; + + /* from messages */ + display_surface *surface; + SpiceClip *clip; + QRegion region; + int have_region; + int codec; + + /* mjpeg decoder */ + struct jpeg_source_mgr mjpeg_src; + struct jpeg_decompress_struct mjpeg_cinfo; + struct jpeg_error_mgr mjpeg_jerr; + + uint8_t *out_frame; + GQueue *msgq; + guint timeout; + SpiceChannel *channel; +} display_stream; + +void stream_get_dimensions(display_stream *st, int *width, int *height); +uint32_t stream_get_current_frame(display_stream *st, uint8_t **data); + +/* channel-display-mjpeg.c */ +void stream_mjpeg_init(display_stream *st); +void stream_mjpeg_data(display_stream *st); +void stream_mjpeg_cleanup(display_stream *st); + +G_END_DECLS + +#endif // CHANNEL_DISPLAY_PRIV_H_ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-display.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-display.c new file mode 100644 index 0000000..2b44b43 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-display.c @@ -0,0 +1,1626 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#ifdef HAVE_SYS_TYPES_H +#include +#endif + +#ifdef HAVE_SYS_SHM_H +#include +#endif + +#ifdef HAVE_SYS_IPC_H +#include +#endif + +#include "glib-compat.h" +#include "spice-client.h" +#include "spice-common.h" + +#include "spice-marshal.h" +#include "spice-channel-priv.h" +#include "spice-session-priv.h" +#include "channel-display-priv.h" +#include "decode.h" + +/** + * SECTION:channel-display + * @short_description: remote display area + * @title: Display Channel + * @section_id: + * @see_also: #SpiceChannel, and the GTK widget #SpiceDisplay + * @stability: Stable + * @include: channel-display.h + * + * A class that handles the rendering of the remote display and inform + * of its updates. + * + * The creation of the main graphic buffer is signaled with + * #SpiceDisplayChannel::display-primary-create. + * + * The update of regions is notified by + * #SpiceDisplayChannel::display-invalidate signals. + */ + +#define SPICE_DISPLAY_CHANNEL_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE((obj), SPICE_TYPE_DISPLAY_CHANNEL, SpiceDisplayChannelPrivate)) + +#define MONITORS_MAX 256 + +struct _SpiceDisplayChannelPrivate { + Ring surfaces; + display_cache *images; + display_cache *palettes; + SpiceImageCache image_cache; + SpicePaletteCache palette_cache; + SpiceImageSurfaces image_surfaces; + SpiceGlzDecoderWindow *glz_window; + display_stream **streams; + int nstreams; + gboolean mark; + guint mark_false_event_id; + GArray *monitors; + guint monitors_max; +#ifdef WIN32 + HDC dc; +#endif +}; + +G_DEFINE_TYPE(SpiceDisplayChannel, spice_display_channel, SPICE_TYPE_CHANNEL) + +/* Properties */ +enum { + PROP_0, + PROP_WIDTH, + PROP_HEIGHT, + PROP_MONITORS, + PROP_MONITORS_MAX +}; + +enum { + SPICE_DISPLAY_PRIMARY_CREATE, + SPICE_DISPLAY_PRIMARY_DESTROY, + SPICE_DISPLAY_INVALIDATE, + SPICE_DISPLAY_MARK, + + SPICE_DISPLAY_LAST_SIGNAL, +}; + +static guint signals[SPICE_DISPLAY_LAST_SIGNAL]; + +static void spice_display_handle_msg(SpiceChannel *channel, SpiceMsgIn *msg); +static void spice_display_channel_up(SpiceChannel *channel); + +static void clear_surfaces(SpiceChannel *channel, gboolean keep_primary); +static void clear_streams(SpiceChannel *channel); +static display_surface *find_surface(SpiceDisplayChannelPrivate *c, guint32 surface_id); +static gboolean display_stream_render(display_stream *st); +static void spice_display_channel_reset(SpiceChannel *channel, gboolean migrating); +static void spice_display_channel_reset_capabilities(SpiceChannel *channel); +static void destroy_canvas(display_surface *surface); + +/* ------------------------------------------------------------------ */ + +static void spice_display_channel_dispose(GObject *object) +{ + SpiceDisplayChannelPrivate *c = SPICE_DISPLAY_CHANNEL(object)->priv; + + if (c->mark_false_event_id != 0) { + g_source_remove(c->mark_false_event_id); + c->mark_false_event_id = 0; + } + + if (G_OBJECT_CLASS(spice_display_channel_parent_class)->dispose) + G_OBJECT_CLASS(spice_display_channel_parent_class)->dispose(object); +} + +static void spice_display_channel_finalize(GObject *object) +{ + SpiceDisplayChannelPrivate *c = SPICE_DISPLAY_CHANNEL(object)->priv; + + g_clear_pointer(&c->monitors, g_array_unref); + clear_surfaces(SPICE_CHANNEL(object), FALSE); + clear_streams(SPICE_CHANNEL(object)); + + if (G_OBJECT_CLASS(spice_display_channel_parent_class)->finalize) + G_OBJECT_CLASS(spice_display_channel_parent_class)->finalize(object); +} + +static void spice_display_channel_constructed(GObject *object) +{ + SpiceDisplayChannelPrivate *c = SPICE_DISPLAY_CHANNEL(object)->priv; + SpiceSession *s = spice_channel_get_session(SPICE_CHANNEL(object)); + + g_return_if_fail(s != NULL); + spice_session_get_caches(s, &c->images, &c->palettes, &c->glz_window); + + g_return_if_fail(c->glz_window != NULL); + g_return_if_fail(c->images != NULL); + g_return_if_fail(c->palettes != NULL); + + c->monitors = g_array_new(FALSE, TRUE, sizeof(SpiceDisplayMonitorConfig)); + + if (G_OBJECT_CLASS(spice_display_channel_parent_class)->constructed) + G_OBJECT_CLASS(spice_display_channel_parent_class)->constructed(object); +} + + +static void spice_display_get_property(GObject *object, + guint prop_id, + GValue *value, + GParamSpec *pspec) +{ + SpiceDisplayChannelPrivate *c = SPICE_DISPLAY_CHANNEL(object)->priv; + + switch (prop_id) { + case PROP_WIDTH: { + display_surface *surface = find_surface(c, 0); + g_value_set_uint(value, surface ? surface->width : 0); + break; + } + case PROP_HEIGHT: { + display_surface *surface = find_surface(c, 0); + g_value_set_uint(value, surface ? surface->height : 0); + break; + } + case PROP_MONITORS: { + g_value_set_boxed(value, c->monitors); + break; + } + case PROP_MONITORS_MAX: { + g_value_set_uint(value, c->monitors_max); + break; + } + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); + break; + } +} + +static void spice_display_set_property(GObject *object, + guint prop_id, + const GValue *value, + GParamSpec *pspec) +{ + switch (prop_id) { + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); + break; + } +} + +/* main or coroutine context */ +static void spice_display_channel_reset(SpiceChannel *channel, gboolean migrating) +{ + /* palettes, images, and glz_window are cleared in the session */ + clear_streams(channel); + clear_surfaces(channel, TRUE); + + SPICE_CHANNEL_CLASS(spice_display_channel_parent_class)->channel_reset(channel, migrating); +} + +static void spice_display_channel_class_init(SpiceDisplayChannelClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS(klass); + SpiceChannelClass *channel_class = SPICE_CHANNEL_CLASS(klass); + + gobject_class->finalize = spice_display_channel_finalize; + gobject_class->dispose = spice_display_channel_dispose; + gobject_class->get_property = spice_display_get_property; + gobject_class->set_property = spice_display_set_property; + gobject_class->constructed = spice_display_channel_constructed; + + channel_class->handle_msg = spice_display_handle_msg; + channel_class->channel_up = spice_display_channel_up; + channel_class->channel_reset = spice_display_channel_reset; + channel_class->channel_reset_capabilities = spice_display_channel_reset_capabilities; + + g_object_class_install_property + (gobject_class, PROP_HEIGHT, + g_param_spec_uint("height", + "Display height", + "The primary surface height", + 0, G_MAXUINT, 0, + G_PARAM_READABLE | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property + (gobject_class, PROP_WIDTH, + g_param_spec_uint("width", + "Display width", + "The primary surface width", + 0, G_MAXUINT, 0, + G_PARAM_READABLE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceDisplayChannel:monitors: + * + * Current monitors configuration. + * + * Since: 0.13 + */ + g_object_class_install_property + (gobject_class, PROP_MONITORS, + g_param_spec_boxed("monitors", + "Display monitors", + "The monitors configuration", + G_TYPE_ARRAY, + G_PARAM_READABLE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceDisplayChannel:monitors-max: + * + * The maximum number of monitors the server or guest supports. + * May change during client lifetime, for instance guest may + * reboot or dynamically adjust this. + * + * Since: 0.13 + */ + g_object_class_install_property + (gobject_class, PROP_MONITORS_MAX, + g_param_spec_uint("monitors-max", + "Max display monitors", + "The current maximum number of monitors", + 1, MONITORS_MAX, 1, + G_PARAM_READABLE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceDisplayChannel::display-primary-create: + * @display: the #SpiceDisplayChannel that emitted the signal + * @format: %SPICE_SURFACE_FMT_32_xRGB or %SPICE_SURFACE_FMT_16_555; + * @width: width resolution + * @height: height resolution + * @stride: the buffer stride ("width" padding) + * @shmid: identifier of the shared memory segment associated with + * the @imgdata, or -1 if not shm + * @imgdata: pointer to surface buffer + * + * The #SpiceDisplayChannel::display-primary-create signal + * provides main display buffer data. + **/ + signals[SPICE_DISPLAY_PRIMARY_CREATE] = + g_signal_new("display-primary-create", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceDisplayChannelClass, + display_primary_create), + NULL, NULL, + g_cclosure_user_marshal_VOID__INT_INT_INT_INT_INT_POINTER, + G_TYPE_NONE, + 6, + G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, + G_TYPE_INT, G_TYPE_INT, G_TYPE_POINTER); + + /** + * SpiceDisplayChannel::display-primary-destroy: + * @display: the #SpiceDisplayChannel that emitted the signal + * + * The #SpiceDisplayChannel::display-primary-destroy signal is + * emitted when the primary surface is freed and should not be + * accessed anymore. + **/ + signals[SPICE_DISPLAY_PRIMARY_DESTROY] = + g_signal_new("display-primary-destroy", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceDisplayChannelClass, + display_primary_destroy), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, + 0); + + /** + * SpiceDisplayChannel::display-invalidate: + * @display: the #SpiceDisplayChannel that emitted the signal + * @x: x position + * @y: y position + * @width: width + * @height: height + * + * The #SpiceDisplayChannel::display-invalidate signal is emitted + * when the rectangular region x/y/w/h of the primary buffer is + * updated. + **/ + signals[SPICE_DISPLAY_INVALIDATE] = + g_signal_new("display-invalidate", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceDisplayChannelClass, + display_invalidate), + NULL, NULL, + g_cclosure_user_marshal_VOID__INT_INT_INT_INT, + G_TYPE_NONE, + 4, + G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT); + + /** + * SpiceDisplayChannel::display-mark: + * @display: the #SpiceDisplayChannel that emitted the signal + * + * The #SpiceDisplayChannel::display-mark signal is emitted when + * the %RED_DISPLAY_MARK command is received, and the display + * should be exposed. + **/ + signals[SPICE_DISPLAY_MARK] = + g_signal_new("display-mark", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceDisplayChannelClass, + display_mark), + NULL, NULL, + g_cclosure_marshal_VOID__INT, + G_TYPE_NONE, + 1, + G_TYPE_INT); + + g_type_class_add_private(klass, sizeof(SpiceDisplayChannelPrivate)); + + sw_canvas_init(); + quic_init(); + rop3_init(); +} + +/** + * spice_display_get_primary: + * @channel: + * @surface_id: + * @primary: + * + * Retrieve primary display surface @surface_id. + * + * Returns: %TRUE if the primary surface was found and its details + * collected in @primary. + */ +gboolean spice_display_get_primary(SpiceChannel *channel, guint32 surface_id, + SpiceDisplayPrimary *primary) +{ + g_return_val_if_fail(SPICE_IS_DISPLAY_CHANNEL(channel), FALSE); + g_return_val_if_fail(primary != NULL, FALSE); + + SpiceDisplayChannelPrivate *c = SPICE_DISPLAY_CHANNEL(channel)->priv; + display_surface *surface = find_surface(c, surface_id); + + if (surface == NULL) + return FALSE; + + g_return_val_if_fail(surface->primary, FALSE); + + primary->format = surface->format; + primary->width = surface->width; + primary->height = surface->height; + primary->stride = surface->stride; + primary->shmid = surface->shmid; + primary->data = surface->data; + primary->marked = c->mark; + CHANNEL_DEBUG(channel, "get primary %p", primary->data); + + return TRUE; +} + +/* signal trampoline---------------------------------------------------------- */ + +struct SPICE_DISPLAY_PRIMARY_CREATE { + gint format; + gint width; + gint height; + gint stride; + gint shmid; + gpointer imgdata; +}; + +struct SPICE_DISPLAY_PRIMARY_DESTROY { +}; + +struct SPICE_DISPLAY_INVALIDATE { + gint x; + gint y; + gint w; + gint h; +}; + +struct SPICE_DISPLAY_MARK { + gint mark; +}; + +/* main context */ +static void do_emit_main_context(GObject *object, int signum, gpointer params) +{ + switch (signum) { + case SPICE_DISPLAY_PRIMARY_DESTROY: { + g_signal_emit(object, signals[signum], 0); + break; + } + case SPICE_DISPLAY_MARK: { + struct SPICE_DISPLAY_MARK *p = params; + g_signal_emit(object, signals[signum], 0, p->mark); + break; + } + case SPICE_DISPLAY_PRIMARY_CREATE: { + struct SPICE_DISPLAY_PRIMARY_CREATE *p = params; + g_signal_emit(object, signals[signum], 0, + p->format, p->width, p->height, p->stride, p->shmid, p->imgdata); + break; + } + case SPICE_DISPLAY_INVALIDATE: { + struct SPICE_DISPLAY_INVALIDATE *p = params; + g_signal_emit(object, signals[signum], 0, p->x, p->y, p->w, p->h); + break; + } + default: + g_warn_if_reached(); + } +} + +/* ------------------------------------------------------------------ */ + +static void image_put(SpiceImageCache *cache, uint64_t id, pixman_image_t *image) +{ + SpiceDisplayChannelPrivate *c = + SPICE_CONTAINEROF(cache, SpiceDisplayChannelPrivate, image_cache); + display_cache_item *item; + + item = cache_find(c->images, id); + if (item) { + cache_ref(item); + return; + } + + item = cache_add(c->images, id); + item->ptr = pixman_image_ref(image); +} + +typedef struct _WaitImageData +{ + gboolean lossy; + SpiceImageCache *cache; + uint64_t id; + pixman_image_t *image; +} WaitImageData; + +static gboolean wait_image(gpointer data) +{ + display_cache_item *item; + WaitImageData *wait = data; + SpiceDisplayChannelPrivate *c = + SPICE_CONTAINEROF(wait->cache, SpiceDisplayChannelPrivate, image_cache); + + item = cache_find(c->images, wait->id); + if (item == NULL || + (item->lossy && !wait->lossy)) + return FALSE; + + cache_used(c->images, item); + wait->image = pixman_image_ref(item->ptr); + + return TRUE; +} + +static pixman_image_t *image_get(SpiceImageCache *cache, uint64_t id) +{ + WaitImageData wait = { + .lossy = TRUE, + .cache = cache, + .id = id, + .image = NULL + }; + if (!g_coroutine_condition_wait(g_coroutine_self(), wait_image, &wait)) + SPICE_DEBUG("wait image got cancelled"); + + return wait.image; +} + +static void image_remove(SpiceImageCache *cache, uint64_t id) +{ + SpiceDisplayChannelPrivate *c = + SPICE_CONTAINEROF(cache, SpiceDisplayChannelPrivate, image_cache); + display_cache_item *item; + + item = cache_find(c->images, id); + g_return_if_fail(item != NULL); + if (cache_unref(item)) { + pixman_image_unref(item->ptr); + cache_del(c->images, item); + } +} + +static void palette_put(SpicePaletteCache *cache, SpicePalette *palette) +{ + SpiceDisplayChannelPrivate *c = + SPICE_CONTAINEROF(cache, SpiceDisplayChannelPrivate, palette_cache); + display_cache_item *item; + + item = cache_add(c->palettes, palette->unique); + item->ptr = g_memdup(palette, sizeof(SpicePalette) + + palette->num_ents * sizeof(palette->ents[0])); +} + +static SpicePalette *palette_get(SpicePaletteCache *cache, uint64_t id) +{ + SpiceDisplayChannelPrivate *c = + SPICE_CONTAINEROF(cache, SpiceDisplayChannelPrivate, palette_cache); + display_cache_item *item; + + item = cache_find(c->palettes, id); + if (item) { + cache_ref(item); + return item->ptr; + } + return NULL; +} + +static void palette_remove(SpicePaletteCache *cache, uint32_t id) +{ + SpiceDisplayChannelPrivate *c = + SPICE_CONTAINEROF(cache, SpiceDisplayChannelPrivate, palette_cache); + display_cache_item *item; + + item = cache_find(c->palettes, id); + if (item) { + if (cache_unref(item)) { + g_free(item->ptr); + cache_del(c->palettes, item); + } + } +} + +static void palette_release(SpicePaletteCache *cache, SpicePalette *palette) +{ + palette_remove(cache, palette->unique); +} + +#ifdef SW_CANVAS_CACHE +static void image_put_lossy(SpiceImageCache *cache, uint64_t id, + pixman_image_t *surface) +{ + SpiceDisplayChannelPrivate *c = + SPICE_CONTAINEROF(cache, SpiceDisplayChannelPrivate, image_cache); + display_cache_item *item; + +#ifndef NDEBUG + g_warn_if_fail(cache_find(c->images, id) == NULL); +#endif + + item = cache_add(c->images, id); + item->ptr = pixman_image_ref(surface); + item->lossy = TRUE; +} + +static void image_replace_lossy(SpiceImageCache *cache, uint64_t id, + pixman_image_t *surface) +{ + SpiceDisplayChannelPrivate *c = + SPICE_CONTAINEROF(cache, SpiceDisplayChannelPrivate, image_cache); + display_cache_item *item; + + item = cache_find(c->images, id); + g_return_if_fail(item != NULL); + + pixman_image_unref(item->ptr); + item->ptr = pixman_image_ref(surface); + item->lossy = FALSE; +} + +static pixman_image_t* image_get_lossless(SpiceImageCache *cache, uint64_t id) +{ + WaitImageData wait = { + .lossy = FALSE, + .cache = cache, + .id = id, + .image = NULL + }; + if (!g_coroutine_condition_wait(g_coroutine_self(), wait_image, &wait)) + SPICE_DEBUG("wait lossless got cancelled"); + + return wait.image; +} +#endif + +static SpiceCanvas *surfaces_get(SpiceImageSurfaces *surfaces, + uint32_t surface_id) +{ + SpiceDisplayChannelPrivate *c = + SPICE_CONTAINEROF(surfaces, SpiceDisplayChannelPrivate, image_surfaces); + + display_surface *s = + find_surface(c, surface_id); + + return s ? s->canvas : NULL; +} + +static SpiceImageCacheOps image_cache_ops = { + .put = image_put, + .get = image_get, + +#ifdef SW_CANVAS_CACHE + .put_lossy = image_put_lossy, + .replace_lossy = image_replace_lossy, + .get_lossless = image_get_lossless, +#endif +}; + +static SpicePaletteCacheOps palette_cache_ops = { + .put = palette_put, + .get = palette_get, + .release = palette_release, +}; + +static SpiceImageSurfacesOps image_surfaces_ops = { + .get = surfaces_get +}; + +#if defined(WIN32) +static HDC create_compatible_dc(void) +{ + HDC dc = CreateCompatibleDC(NULL); + if (!dc) { + g_warning("create compatible DC failed"); + } + return dc; +} +#endif + +static void spice_display_channel_reset_capabilities(SpiceChannel *channel) +{ + spice_channel_set_capability(SPICE_CHANNEL(channel), SPICE_DISPLAY_CAP_SIZED_STREAM); + spice_channel_set_capability(SPICE_CHANNEL(channel), SPICE_DISPLAY_CAP_MONITORS_CONFIG); + spice_channel_set_capability(SPICE_CHANNEL(channel), SPICE_DISPLAY_CAP_COMPOSITE); + spice_channel_set_capability(SPICE_CHANNEL(channel), SPICE_DISPLAY_CAP_A8_SURFACE); +} + +static void spice_display_channel_init(SpiceDisplayChannel *channel) +{ + SpiceDisplayChannelPrivate *c; + + c = channel->priv = SPICE_DISPLAY_CHANNEL_GET_PRIVATE(channel); + + ring_init(&c->surfaces); + c->image_cache.ops = &image_cache_ops; + c->palette_cache.ops = &palette_cache_ops; + c->image_surfaces.ops = &image_surfaces_ops; +#if defined(WIN32) + c->dc = create_compatible_dc(); +#endif + c->monitors_max = 1; + spice_display_channel_reset_capabilities(SPICE_CHANNEL(channel)); +} + +/* ------------------------------------------------------------------ */ + +static int create_canvas(SpiceChannel *channel, display_surface *surface) +{ + SpiceDisplayChannelPrivate *c = SPICE_DISPLAY_CHANNEL(channel)->priv; + + if (surface->primary) { + display_surface *primary = find_surface(c, 0); + + if (primary) { + if (primary->width == surface->width && + primary->height == surface->height) { + CHANNEL_DEBUG(channel, "Reusing existing primary surface"); + return 0; + } + + emit_main_context(channel, SPICE_DISPLAY_PRIMARY_DESTROY); + ring_remove(&primary->link); + destroy_canvas(primary); + free(primary); + } + + CHANNEL_DEBUG(channel, "Create primary canvas"); +#ifdef HAVE_SYS_SHM_H + surface->shmid = shmget(IPC_PRIVATE, surface->size, IPC_CREAT | 0777); + if (surface->shmid >= 0) { + surface->data = shmat(surface->shmid, 0, 0); + if (surface->data == NULL) { + shmctl(surface->shmid, IPC_RMID, 0); + surface->shmid = -1; + } + } +#else + surface->shmid = -1; +#endif + } else { + surface->shmid = -1; + } + + if (surface->shmid == -1) { + surface->data = spice_malloc(surface->size); + } + + g_return_val_if_fail(c->glz_window, 0); + + g_warn_if_fail(surface->canvas == NULL); + g_warn_if_fail(surface->glz_decoder == NULL); + g_warn_if_fail(surface->zlib_decoder == NULL); + g_warn_if_fail(surface->jpeg_decoder == NULL); + + surface->glz_decoder = glz_decoder_new(c->glz_window); + surface->zlib_decoder = zlib_decoder_new(); + surface->jpeg_decoder = jpeg_decoder_new(); + + surface->canvas = canvas_create_for_data(surface->width, + surface->height, + surface->format, + surface->data, + surface->stride, +#ifdef SW_CANVAS_CACHE + &c->image_cache, + &c->palette_cache, +#endif + &c->image_surfaces, + surface->glz_decoder, + surface->jpeg_decoder, + surface->zlib_decoder); + + g_return_val_if_fail(surface->canvas != NULL, 0); + ring_add(&c->surfaces, &surface->link); + + if (surface->primary) { + emit_main_context(channel, SPICE_DISPLAY_PRIMARY_CREATE, + surface->format, surface->width, surface->height, + surface->stride, surface->shmid, surface->data); + + if (!spice_channel_test_capability(channel, SPICE_DISPLAY_CAP_MONITORS_CONFIG)) { + g_array_set_size(c->monitors, 1); + SpiceDisplayMonitorConfig *config = &g_array_index(c->monitors, SpiceDisplayMonitorConfig, 0); + config->x = config->y = 0; + config->width = surface->width; + config->height = surface->height; + g_object_notify_main_context(G_OBJECT(channel), "monitors"); + } + } + + return 0; +} + +static void destroy_canvas(display_surface *surface) +{ + if (surface == NULL) + return; + + glz_decoder_destroy(surface->glz_decoder); + zlib_decoder_destroy(surface->zlib_decoder); + jpeg_decoder_destroy(surface->jpeg_decoder); + + if (surface->shmid == -1) { + free(surface->data); + } +#ifdef HAVE_SYS_SHM_H + else { + shmdt(surface->data); + shmctl(surface->shmid, IPC_RMID, 0); + } +#endif + surface->shmid = -1; + surface->data = NULL; + + surface->canvas->ops->destroy(surface->canvas); + surface->canvas = NULL; +} + +static display_surface *find_surface(SpiceDisplayChannelPrivate *c, guint32 surface_id) +{ + display_surface *surface; + RingItem *item; + + for (item = ring_get_head(&c->surfaces); + item != NULL; + item = ring_next(&c->surfaces, item)) { + surface = SPICE_CONTAINEROF(item, display_surface, link); + if (surface->surface_id == surface_id) + return surface; + } + return NULL; +} + +static void clear_surfaces(SpiceChannel *channel, gboolean keep_primary) +{ + SpiceDisplayChannelPrivate *c = SPICE_DISPLAY_CHANNEL(channel)->priv; + display_surface *surface; + RingItem *item; + + for (item = ring_get_head(&c->surfaces); item != NULL; ) { + surface = SPICE_CONTAINEROF(item, display_surface, link); + item = ring_next(&c->surfaces, item); + + if (keep_primary && surface->primary) { + CHANNEL_DEBUG(channel, "keeping exisiting primary surface, migration or reset"); + continue; + } + + ring_remove(&surface->link); + destroy_canvas(surface); + free(surface); + } +} + +/* coroutine context */ +static void emit_invalidate(SpiceChannel *channel, SpiceRect *bbox) +{ + emit_main_context(channel, SPICE_DISPLAY_INVALIDATE, + bbox->left, bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top); +} + +/* ------------------------------------------------------------------ */ + +/* coroutine context */ +static void spice_display_channel_up(SpiceChannel *channel) +{ + SpiceMsgOut *out; + SpiceSession *s = spice_channel_get_session(channel); + SpiceMsgcDisplayInit init; + int cache_size; + int glz_window_size; + + g_object_get(s, + "cache-size", &cache_size, + "glz-window-size", &glz_window_size, + NULL); + CHANNEL_DEBUG(channel, "%s: cache_size %d, glz_window_size %d (bytes)", __FUNCTION__, + cache_size, glz_window_size); + init.pixmap_cache_id = 1; + init.glz_dictionary_id = 1; + init.pixmap_cache_size = cache_size / 4; /* pixels */ + init.glz_dictionary_window_size = glz_window_size / 4; /* pixels */ + out = spice_msg_out_new(channel, SPICE_MSGC_DISPLAY_INIT); + out->marshallers->msgc_display_init(out->marshaller, &init); + spice_msg_out_send_internal(out); + + /* if we are not using monitors config, notify of existence of + this monitor */ + if (channel->priv->channel_id != 0) + g_object_notify_main_context(G_OBJECT(channel), "monitors"); +} + +#define DRAW(type) { \ + display_surface *surface = \ + find_surface(SPICE_DISPLAY_CHANNEL(channel)->priv, \ + op->base.surface_id); \ + g_return_if_fail(surface != NULL); \ + surface->canvas->ops->draw_##type(surface->canvas, &op->base.box, \ + &op->base.clip, &op->data); \ + if (surface->primary) { \ + emit_invalidate(channel, &op->base.box); \ + } \ +} + +/* coroutine context */ +static void display_handle_mode(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceDisplayChannelPrivate *c = SPICE_DISPLAY_CHANNEL(channel)->priv; + SpiceMsgDisplayMode *mode = spice_msg_in_parsed(in); + display_surface *surface; + + g_warn_if_fail(c->mark == FALSE); + + surface = spice_new0(display_surface, 1); + surface->format = mode->bits == 32 ? + SPICE_SURFACE_FMT_32_xRGB : SPICE_SURFACE_FMT_16_555; + surface->width = mode->x_res; + surface->height = mode->y_res; + surface->stride = surface->width * 4; + surface->size = surface->height * surface->stride; + surface->primary = true; + create_canvas(channel, surface); +} + +/* coroutine context */ +static void display_handle_mark(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceDisplayChannelPrivate *c = SPICE_DISPLAY_CHANNEL(channel)->priv; + display_surface *surface = find_surface(c, 0); + + CHANNEL_DEBUG(channel, "%s", __FUNCTION__); + g_return_if_fail(surface != NULL); +#ifdef EXTRA_CHECKS + g_warn_if_fail(c->mark == FALSE); +#endif + + c->mark = TRUE; + emit_main_context(channel, SPICE_DISPLAY_MARK, TRUE); +} + +/* coroutine context */ +static void display_handle_reset(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceDisplayChannelPrivate *c = SPICE_DISPLAY_CHANNEL(channel)->priv; + display_surface *surface = find_surface(c, 0); + + CHANNEL_DEBUG(channel, "%s: TODO detach_from_screen", __FUNCTION__); + + if (surface != NULL) + surface->canvas->ops->clear(surface->canvas); + + spice_session_palettes_clear(spice_channel_get_session(channel)); + + c->mark = FALSE; + emit_main_context(channel, SPICE_DISPLAY_MARK, FALSE); +} + +/* coroutine context */ +static void display_handle_copy_bits(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgDisplayCopyBits *op = spice_msg_in_parsed(in); + SpiceDisplayChannelPrivate *c = SPICE_DISPLAY_CHANNEL(channel)->priv; + display_surface *surface = find_surface(c, op->base.surface_id); + + g_return_if_fail(surface != NULL); + surface->canvas->ops->copy_bits(surface->canvas, &op->base.box, + &op->base.clip, &op->src_pos); + if (surface->primary) { + emit_invalidate(channel, &op->base.box); + } +} + +/* coroutine context */ +static void display_handle_inv_list(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceDisplayChannelPrivate *c = SPICE_DISPLAY_CHANNEL(channel)->priv; + SpiceResourceList *list = spice_msg_in_parsed(in); + int i; + + for (i = 0; i < list->count; i++) { + switch (list->resources[i].type) { + case SPICE_RES_TYPE_PIXMAP: + image_remove(&c->image_cache, list->resources[i].id); + break; + default: + g_return_if_reached(); + break; + } + } +} + +/* coroutine context */ +static void display_handle_inv_pixmap_all(SpiceChannel *channel, SpiceMsgIn *in) +{ + spice_channel_handle_wait_for_channels(channel, in); + + spice_session_images_clear(spice_channel_get_session(channel)); +} + +/* coroutine context */ +static void display_handle_inv_palette(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceDisplayChannelPrivate *c = SPICE_DISPLAY_CHANNEL(channel)->priv; + SpiceMsgDisplayInvalOne* op = spice_msg_in_parsed(in); + + palette_remove(&c->palette_cache, op->id); +} + +/* coroutine context */ +static void display_handle_inv_palette_all(SpiceChannel *channel, SpiceMsgIn *in) +{ + spice_session_palettes_clear(spice_channel_get_session(channel)); +} + +/* ------------------------------------------------------------------ */ + +static void display_update_stream_region(display_stream *st) +{ + int i; + + switch (st->clip->type) { + case SPICE_CLIP_TYPE_RECTS: + region_clear(&st->region); + for (i = 0; i < st->clip->rects->num_rects; i++) { + region_add(&st->region, &st->clip->rects->rects[i]); + } + st->have_region = true; + break; + case SPICE_CLIP_TYPE_NONE: + default: + st->have_region = false; + break; + } +} + +/* coroutine context */ +static void display_handle_stream_create(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceDisplayChannelPrivate *c = SPICE_DISPLAY_CHANNEL(channel)->priv; + SpiceMsgDisplayStreamCreate *op = spice_msg_in_parsed(in); + display_stream *st; + + CHANNEL_DEBUG(channel, "%s: id %d", __FUNCTION__, op->id); + + if (op->id >= c->nstreams) { + int n = c->nstreams; + if (!c->nstreams) { + c->nstreams = 1; + } + while (op->id >= c->nstreams) { + c->nstreams *= 2; + } + c->streams = realloc(c->streams, c->nstreams * sizeof(c->streams[0])); + memset(c->streams + n, 0, (c->nstreams - n) * sizeof(c->streams[0])); + } + g_return_if_fail(c->streams[op->id] == NULL); + c->streams[op->id] = spice_new0(display_stream, 1); + st = c->streams[op->id]; + + st->msg_create = in; + spice_msg_in_ref(in); + st->clip = &op->clip; + st->codec = op->codec_type; + st->surface = find_surface(c, op->surface_id); + st->msgq = g_queue_new(); + st->channel = channel; + + region_init(&st->region); + display_update_stream_region(st); + + switch (st->codec) { + case SPICE_VIDEO_CODEC_TYPE_MJPEG: + stream_mjpeg_init(st); + break; + } +} + +/* coroutine or main context */ +static gboolean display_stream_schedule(display_stream *st) +{ + guint32 time, d; + SpiceStreamDataHeader *op; + SpiceMsgIn *in; + + if (st->timeout) + return TRUE; + + time = spice_session_get_mm_time(spice_channel_get_session(st->channel)); + + in = g_queue_peek_head(st->msgq); + g_return_val_if_fail(in != NULL, TRUE); + + op = spice_msg_in_parsed(in); + if (time < op->multi_media_time) { + d = op->multi_media_time - time; + SPICE_DEBUG("scheduling next stream render in %u ms", d); + st->timeout = g_timeout_add(d, (GSourceFunc)display_stream_render, st); + return TRUE; + } else { + in = g_queue_pop_head(st->msgq); + spice_msg_in_unref(in); + if (g_queue_get_length(st->msgq) == 0) + return TRUE; + } + + return FALSE; +} + +static SpiceRect *stream_get_dest(display_stream *st) +{ + if (st->msg_data == NULL || + spice_msg_in_type(st->msg_data) != SPICE_MSG_DISPLAY_STREAM_DATA_SIZED) { + SpiceMsgDisplayStreamCreate *info = spice_msg_in_parsed(st->msg_create); + + return &info->dest; + } else { + SpiceMsgDisplayStreamDataSized *op = spice_msg_in_parsed(st->msg_data); + + return &op->dest; + } + +} + +static uint32_t stream_get_flags(display_stream *st) +{ + SpiceMsgDisplayStreamCreate *info = spice_msg_in_parsed(st->msg_create); + + return info->flags; +} + +G_GNUC_INTERNAL +uint32_t stream_get_current_frame(display_stream *st, uint8_t **data) +{ + if (st->msg_data == NULL) { + *data = NULL; + return 0; + } + + if (spice_msg_in_type(st->msg_data) == SPICE_MSG_DISPLAY_STREAM_DATA) { + SpiceMsgDisplayStreamData *op = spice_msg_in_parsed(st->msg_data); + + *data = op->data; + return op->data_size; + } else { + SpiceMsgDisplayStreamDataSized *op = spice_msg_in_parsed(st->msg_data); + + g_return_val_if_fail(spice_msg_in_type(st->msg_data) == + SPICE_MSG_DISPLAY_STREAM_DATA_SIZED, 0); + *data = op->data; + return op->data_size; + } + +} + +G_GNUC_INTERNAL +void stream_get_dimensions(display_stream *st, int *width, int *height) +{ + g_return_if_fail(width != NULL); + g_return_if_fail(height != NULL); + + if (st->msg_data == NULL || + spice_msg_in_type(st->msg_data) != SPICE_MSG_DISPLAY_STREAM_DATA_SIZED) { + SpiceMsgDisplayStreamCreate *info = spice_msg_in_parsed(st->msg_create); + + *width = info->stream_width; + *height = info->stream_height; + } else { + SpiceMsgDisplayStreamDataSized *op = spice_msg_in_parsed(st->msg_data); + + *width = op->width; + *height = op->height; + } +} + +/* main context */ +static gboolean display_stream_render(display_stream *st) +{ + SpiceMsgIn *in; + + st->timeout = 0; + do { + in = g_queue_pop_head(st->msgq); + + g_return_val_if_fail(in != NULL, FALSE); + + st->msg_data = in; + switch (st->codec) { + case SPICE_VIDEO_CODEC_TYPE_MJPEG: + stream_mjpeg_data(st); + break; + } + + if (st->out_frame) { + int width; + int height; + SpiceRect *dest; + uint8_t *data; + int stride; + + stream_get_dimensions(st, &width, &height); + dest = stream_get_dest(st); + + data = st->out_frame; + stride = width * sizeof(uint32_t); + if (!(stream_get_flags(st) & SPICE_STREAM_FLAGS_TOP_DOWN)) { + data += stride * (height - 1); + stride = -stride; + } + + st->surface->canvas->ops->put_image( + st->surface->canvas, +#ifdef WIN32 + SPICE_DISPLAY_CHANNEL(st->channel)->priv->dc, +#endif + dest, data, + width, height, stride, + st->have_region ? &st->region : NULL); + + if (st->surface->primary) + g_signal_emit(st->channel, signals[SPICE_DISPLAY_INVALIDATE], 0, + dest->left, dest->top, + dest->right - dest->left, + dest->bottom - dest->top); + } + + st->msg_data = NULL; + spice_msg_in_unref(in); + + in = g_queue_peek_head(st->msgq); + if (in == NULL) + break; + + if (display_stream_schedule(st)) + return FALSE; + } while (1); + + return FALSE; +} + +/* coroutine context */ +static void display_handle_stream_data(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceDisplayChannelPrivate *c = SPICE_DISPLAY_CHANNEL(channel)->priv; + SpiceStreamDataHeader *op = spice_msg_in_parsed(in); + display_stream *st; + guint32 mmtime; + + g_return_if_fail(c != NULL); + g_return_if_fail(c->streams != NULL); + g_return_if_fail(c->nstreams > op->id); + + st = c->streams[op->id]; + mmtime = spice_session_get_mm_time(spice_channel_get_session(channel)); + + if (spice_msg_in_type(in) == SPICE_MSG_DISPLAY_STREAM_DATA_SIZED) { + CHANNEL_DEBUG(channel, "stream %d contains sized data", op->id); + } + + if (op->multi_media_time == 0) { + g_critical("Received frame with invalid 0 timestamp! perhaps wrong graphic driver?"); + op->multi_media_time = mmtime + 100; /* workaround... */ + } + + if (op->multi_media_time < mmtime) { + CHANNEL_DEBUG(channel, "stream data too late by %u ms (ts: %u, mmtime: %u), dropin", + mmtime - op->multi_media_time, op->multi_media_time, mmtime); + return; + } + + spice_msg_in_ref(in); + g_queue_push_tail(st->msgq, in); + display_stream_schedule(st); +} + +/* coroutine context */ +static void display_handle_stream_clip(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceDisplayChannelPrivate *c = SPICE_DISPLAY_CHANNEL(channel)->priv; + SpiceMsgDisplayStreamClip *op = spice_msg_in_parsed(in); + display_stream *st; + + g_return_if_fail(c != NULL); + g_return_if_fail(c->streams != NULL); + g_return_if_fail(c->nstreams > op->id); + + st = c->streams[op->id]; + + if (st->msg_clip) { + spice_msg_in_unref(st->msg_clip); + } + spice_msg_in_ref(in); + st->msg_clip = in; + st->clip = &op->clip; + display_update_stream_region(st); +} + +static void _msg_in_unref_func(gpointer data, gpointer user_data) +{ + spice_msg_in_unref(data); +} + +static void destroy_stream(SpiceChannel *channel, int id) +{ + SpiceDisplayChannelPrivate *c = SPICE_DISPLAY_CHANNEL(channel)->priv; + display_stream *st; + + g_return_if_fail(c != NULL); + g_return_if_fail(c->streams != NULL); + g_return_if_fail(c->nstreams > id); + + st = c->streams[id]; + if (!st) + return; + + switch (st->codec) { + case SPICE_VIDEO_CODEC_TYPE_MJPEG: + stream_mjpeg_cleanup(st); + break; + } + + if (st->msg_clip) + spice_msg_in_unref(st->msg_clip); + spice_msg_in_unref(st->msg_create); + + g_queue_foreach(st->msgq, _msg_in_unref_func, NULL); + g_queue_free(st->msgq); + if (st->timeout != 0) + g_source_remove(st->timeout); + free(st); + c->streams[id] = NULL; +} + +static void clear_streams(SpiceChannel *channel) +{ + SpiceDisplayChannelPrivate *c = SPICE_DISPLAY_CHANNEL(channel)->priv; + int i; + + for (i = 0; i < c->nstreams; i++) { + destroy_stream(channel, i); + } + free(c->streams); + c->streams = NULL; + c->nstreams = 0; +} + +/* coroutine context */ +static void display_handle_stream_destroy(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgDisplayStreamDestroy *op = spice_msg_in_parsed(in); + + g_return_if_fail(op != NULL); + CHANNEL_DEBUG(channel, "%s: id %d", __FUNCTION__, op->id); + destroy_stream(channel, op->id); +} + +/* coroutine context */ +static void display_handle_stream_destroy_all(SpiceChannel *channel, SpiceMsgIn *in) +{ + clear_streams(channel); +} + +/* ------------------------------------------------------------------ */ + +/* coroutine context */ +static void display_handle_draw_fill(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgDisplayDrawFill *op = spice_msg_in_parsed(in); + DRAW(fill); +} + +/* coroutine context */ +static void display_handle_draw_opaque(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgDisplayDrawOpaque *op = spice_msg_in_parsed(in); + DRAW(opaque); +} + +/* coroutine context */ +static void display_handle_draw_copy(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgDisplayDrawCopy *op = spice_msg_in_parsed(in); + DRAW(copy); +} + +/* coroutine context */ +static void display_handle_draw_blend(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgDisplayDrawBlend *op = spice_msg_in_parsed(in); + DRAW(blend); +} + +/* coroutine context */ +static void display_handle_draw_blackness(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgDisplayDrawBlackness *op = spice_msg_in_parsed(in); + DRAW(blackness); +} + +static void display_handle_draw_whiteness(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgDisplayDrawWhiteness *op = spice_msg_in_parsed(in); + DRAW(whiteness); +} + +/* coroutine context */ +static void display_handle_draw_invers(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgDisplayDrawInvers *op = spice_msg_in_parsed(in); + DRAW(invers); +} + +/* coroutine context */ +static void display_handle_draw_rop3(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgDisplayDrawRop3 *op = spice_msg_in_parsed(in); + DRAW(rop3); +} + +/* coroutine context */ +static void display_handle_draw_stroke(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgDisplayDrawStroke *op = spice_msg_in_parsed(in); + DRAW(stroke); +} + +/* coroutine context */ +static void display_handle_draw_text(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgDisplayDrawText *op = spice_msg_in_parsed(in); + DRAW(text); +} + +/* coroutine context */ +static void display_handle_draw_transparent(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgDisplayDrawTransparent *op = spice_msg_in_parsed(in); + DRAW(transparent); +} + +/* coroutine context */ +static void display_handle_draw_alpha_blend(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgDisplayDrawAlphaBlend *op = spice_msg_in_parsed(in); + DRAW(alpha_blend); +} + +/* coroutine context */ +static void display_handle_draw_composite(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgDisplayDrawComposite *op = spice_msg_in_parsed(in); + DRAW(composite); +} + +/* coroutine context */ +static void display_handle_surface_create(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceDisplayChannelPrivate *c = SPICE_DISPLAY_CHANNEL(channel)->priv; + SpiceMsgSurfaceCreate *create = spice_msg_in_parsed(in); + display_surface *surface = spice_new0(display_surface, 1); + + surface->surface_id = create->surface_id; + surface->format = create->format; + surface->width = create->width; + surface->height = create->height; + surface->stride = create->width * 4; + surface->size = surface->height * surface->stride; + + if (create->flags == SPICE_SURFACE_FLAGS_PRIMARY) { + surface->primary = true; + create_canvas(channel, surface); + if (c->mark_false_event_id != 0) { + g_source_remove(c->mark_false_event_id); + c->mark_false_event_id = FALSE; + } + } else { + surface->primary = false; + create_canvas(channel, surface); + } +} + +static gboolean display_mark_false(gpointer data) +{ + SpiceChannel *channel = data; + SpiceDisplayChannelPrivate *c = SPICE_DISPLAY_CHANNEL(channel)->priv; + + c->mark = FALSE; + g_signal_emit(channel, signals[SPICE_DISPLAY_MARK], 0, FALSE); + + c->mark_false_event_id = 0; + return FALSE; +} + +/* coroutine context */ +static void display_handle_surface_destroy(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgSurfaceDestroy *destroy = spice_msg_in_parsed(in); + SpiceDisplayChannelPrivate *c = SPICE_DISPLAY_CHANNEL(channel)->priv; + display_surface *surface; + + g_return_if_fail(destroy != NULL); + + surface = find_surface(c, destroy->surface_id); + if (surface == NULL) { + /* this is not a problem in spicec, it happens as well and returns.. */ + /* g_warn_if_reached(); */ + return; + } + if (surface->primary) { + int id = spice_channel_get_channel_id(channel); + CHANNEL_DEBUG(channel, "%d: FIXME primary destroy, but is display really disabled?", id); + /* this is done with a timeout in spicec as well, it's *ugly* */ + if (id != 0 && c->mark_false_event_id == 0) { + c->mark_false_event_id = g_timeout_add_seconds(1, display_mark_false, channel); + } + emit_main_context(channel, SPICE_DISPLAY_PRIMARY_DESTROY); + } + + ring_remove(&surface->link); + destroy_canvas(surface); + free(surface); +} + +#define CLAMP_CHECK(x, low, high) (((x) > (high)) ? TRUE : (((x) < (low)) ? TRUE : FALSE)) + +/* coroutine context */ +static void display_handle_monitors_config(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgDisplayMonitorsConfig *config = spice_msg_in_parsed(in); + SpiceDisplayChannelPrivate *c = SPICE_DISPLAY_CHANNEL(channel)->priv; + guint i; + + g_return_if_fail(config != NULL); + g_return_if_fail(config->count > 0); + + CHANNEL_DEBUG(channel, "monitors config: n: %d/%d", config->count, config->max_allowed); + + c->monitors_max = config->max_allowed; + if (CLAMP_CHECK(c->monitors_max, 1, MONITORS_MAX)) { + g_warning("MonitorConfig max_allowed is not within permitted range, clamping"); + c->monitors_max = CLAMP(c->monitors_max, 1, MONITORS_MAX); + } + + if (CLAMP_CHECK(config->count, 1, c->monitors_max)) { + g_warning("MonitorConfig count is not within permitted range, clamping"); + config->count = CLAMP(config->count, 1, c->monitors_max); + } + + c->monitors = g_array_set_size(c->monitors, config->count); + + for (i = 0; i < config->count; i++) { + SpiceDisplayMonitorConfig *mc = &g_array_index(c->monitors, SpiceDisplayMonitorConfig, i); + SpiceHead *head = &config->heads[i]; + CHANNEL_DEBUG(channel, "monitor id: %u, surface id: %u, +%u+%u-%ux%u", + head->id, head->surface_id, + head->x, head->y, head->width, head->height); + mc->id = head->id; + mc->surface_id = head->surface_id; + mc->x = head->x; + mc->y = head->y; + mc->width = head->width; + mc->height = head->height; + } + + g_object_notify_main_context(G_OBJECT(channel), "monitors"); +} + +static const spice_msg_handler display_handlers[] = { + [ SPICE_MSG_DISPLAY_MODE ] = display_handle_mode, + [ SPICE_MSG_DISPLAY_MARK ] = display_handle_mark, + [ SPICE_MSG_DISPLAY_RESET ] = display_handle_reset, + [ SPICE_MSG_DISPLAY_COPY_BITS ] = display_handle_copy_bits, + [ SPICE_MSG_DISPLAY_INVAL_LIST ] = display_handle_inv_list, + [ SPICE_MSG_DISPLAY_INVAL_ALL_PIXMAPS ] = display_handle_inv_pixmap_all, + [ SPICE_MSG_DISPLAY_INVAL_PALETTE ] = display_handle_inv_palette, + [ SPICE_MSG_DISPLAY_INVAL_ALL_PALETTES ] = display_handle_inv_palette_all, + + [ SPICE_MSG_DISPLAY_STREAM_CREATE ] = display_handle_stream_create, + [ SPICE_MSG_DISPLAY_STREAM_DATA ] = display_handle_stream_data, + [ SPICE_MSG_DISPLAY_STREAM_CLIP ] = display_handle_stream_clip, + [ SPICE_MSG_DISPLAY_STREAM_DESTROY ] = display_handle_stream_destroy, + [ SPICE_MSG_DISPLAY_STREAM_DESTROY_ALL ] = display_handle_stream_destroy_all, + [ SPICE_MSG_DISPLAY_STREAM_DATA_SIZED ] = display_handle_stream_data, + + [ SPICE_MSG_DISPLAY_DRAW_FILL ] = display_handle_draw_fill, + [ SPICE_MSG_DISPLAY_DRAW_OPAQUE ] = display_handle_draw_opaque, + [ SPICE_MSG_DISPLAY_DRAW_COPY ] = display_handle_draw_copy, + [ SPICE_MSG_DISPLAY_DRAW_BLEND ] = display_handle_draw_blend, + [ SPICE_MSG_DISPLAY_DRAW_BLACKNESS ] = display_handle_draw_blackness, + [ SPICE_MSG_DISPLAY_DRAW_WHITENESS ] = display_handle_draw_whiteness, + [ SPICE_MSG_DISPLAY_DRAW_INVERS ] = display_handle_draw_invers, + [ SPICE_MSG_DISPLAY_DRAW_ROP3 ] = display_handle_draw_rop3, + [ SPICE_MSG_DISPLAY_DRAW_STROKE ] = display_handle_draw_stroke, + [ SPICE_MSG_DISPLAY_DRAW_TEXT ] = display_handle_draw_text, + [ SPICE_MSG_DISPLAY_DRAW_TRANSPARENT ] = display_handle_draw_transparent, + [ SPICE_MSG_DISPLAY_DRAW_ALPHA_BLEND ] = display_handle_draw_alpha_blend, + [ SPICE_MSG_DISPLAY_DRAW_COMPOSITE ] = display_handle_draw_composite, + + [ SPICE_MSG_DISPLAY_SURFACE_CREATE ] = display_handle_surface_create, + [ SPICE_MSG_DISPLAY_SURFACE_DESTROY ] = display_handle_surface_destroy, + + [ SPICE_MSG_DISPLAY_MONITORS_CONFIG ] = display_handle_monitors_config, +}; + +/* coroutine context */ +static void spice_display_handle_msg(SpiceChannel *channel, SpiceMsgIn *msg) +{ + int type = spice_msg_in_type(msg); + SpiceChannelClass *parent_class; + + g_return_if_fail(type < SPICE_N_ELEMENTS(display_handlers)); + + parent_class = SPICE_CHANNEL_CLASS(spice_display_channel_parent_class); + + if (display_handlers[type] != NULL) + display_handlers[type](channel, msg); + else if (parent_class->handle_msg) + parent_class->handle_msg(channel, msg); + else + g_return_if_reached(); +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-display.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-display.h new file mode 100644 index 0000000..88e60d9 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-display.h @@ -0,0 +1,102 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_CLIENT_DISPLAY_CHANNEL_H__ +#define __SPICE_CLIENT_DISPLAY_CHANNEL_H__ + +#include "spice-client.h" + +G_BEGIN_DECLS + +#define SPICE_TYPE_DISPLAY_CHANNEL (spice_display_channel_get_type()) +#define SPICE_DISPLAY_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), SPICE_TYPE_DISPLAY_CHANNEL, SpiceDisplayChannel)) +#define SPICE_DISPLAY_CHANNEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPICE_TYPE_DISPLAY_CHANNEL, SpiceDisplayChannelClass)) +#define SPICE_IS_DISPLAY_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SPICE_TYPE_DISPLAY_CHANNEL)) +#define SPICE_IS_DISPLAY_CHANNEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SPICE_TYPE_DISPLAY_CHANNEL)) +#define SPICE_DISPLAY_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), SPICE_TYPE_DISPLAY_CHANNEL, SpiceDisplayChannelClass)) + +typedef struct _SpiceDisplayChannel SpiceDisplayChannel; +typedef struct _SpiceDisplayChannelClass SpiceDisplayChannelClass; +typedef struct _SpiceDisplayChannelPrivate SpiceDisplayChannelPrivate; + +typedef struct _SpiceDisplayMonitorConfig SpiceDisplayMonitorConfig; +struct _SpiceDisplayMonitorConfig { + guint id; + guint surface_id; + guint x; + guint y; + guint width; + guint height; +}; + +typedef struct _SpiceDisplayPrimary SpiceDisplayPrimary; +struct _SpiceDisplayPrimary { + enum SpiceSurfaceFmt format; + gint width; + gint height; + gint stride; + gint shmid; + guint8 *data; + gboolean marked; +}; + +/** + * SpiceDisplayChannel: + * + * The #SpiceDisplayChannel struct is opaque and should not be accessed directly. + */ +struct _SpiceDisplayChannel { + SpiceChannel parent; + + /*< private >*/ + SpiceDisplayChannelPrivate *priv; + /* Do not add fields to this struct */ +}; + +/** + * SpiceDisplayChannelClass: + * @parent_class: Parent class. + * @display_primary_create: Signal class handler for the #SpiceDisplayChannel::display-primary-create signal. + * @display_primary_destroy: Signal class handler for the #SpiceDisplayChannel::display-primary-destroy signal. + * @display_invalidate: Signal class handler for the #SpiceDisplayChannel::display-invalidate signal. + * @display_mark: Signal class handler for the #SpiceDisplayChannel::display-mark signal. + * + * Class structure for #SpiceDisplayChannel. + */ +struct _SpiceDisplayChannelClass { + SpiceChannelClass parent_class; + + /* signals */ + void (*display_primary_create)(SpiceChannel *channel, gint format, + gint width, gint height, gint stride, + gint shmid, gpointer data); + void (*display_primary_destroy)(SpiceChannel *channel); + void (*display_invalidate)(SpiceChannel *channel, + gint x, gint y, gint w, gint h); + void (*display_mark)(SpiceChannel *channel, + gboolean mark); + + /*< private >*/ +}; + +GType spice_display_channel_get_type(void); +gboolean spice_display_get_primary(SpiceChannel *channel, guint32 surface_id, + SpiceDisplayPrimary *primary); + +G_END_DECLS + +#endif /* __SPICE_CLIENT_DISPLAY_CHANNEL_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-inputs.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-inputs.c new file mode 100644 index 0000000..ee45940 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-inputs.c @@ -0,0 +1,678 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#include "spice-client.h" +#include "spice-common.h" +#include "spice-channel-priv.h" + +/** + * SECTION:channel-inputs + * @short_description: control the server mouse and keyboard + * @title: Inputs Channel + * @section_id: + * @see_also: #SpiceChannel, and the GTK widget #SpiceDisplay + * @stability: Stable + * @include: channel-inputs.h + * + * Spice supports sending keyboard key events and keyboard leds + * synchronization. The key events are sent using + * spice_inputs_key_press() and spice_inputs_key_release() using PC AT + * scancode. + * + * Guest keyboard leds state can be manipulated with + * spice_inputs_set_key_locks(). When key lock change, a notification + * is emitted with #SpiceInputsChannel::inputs-modifiers signal. + */ + +#define SPICE_INPUTS_CHANNEL_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE((obj), SPICE_TYPE_INPUTS_CHANNEL, SpiceInputsChannelPrivate)) + +struct _SpiceInputsChannelPrivate { + int bs; + int dx, dy; + unsigned int x, y, dpy; + int motion_count; + int modifiers; + guint32 locks; +}; + +G_DEFINE_TYPE(SpiceInputsChannel, spice_inputs_channel, SPICE_TYPE_CHANNEL) + +/* Properties */ +enum { + PROP_0, + PROP_KEY_MODIFIERS, +}; + +/* Signals */ +enum { + SPICE_INPUTS_MODIFIERS, + + SPICE_INPUTS_LAST_SIGNAL, +}; + +static guint signals[SPICE_INPUTS_LAST_SIGNAL]; + +static void spice_inputs_handle_msg(SpiceChannel *channel, SpiceMsgIn *msg); +static void spice_inputs_channel_up(SpiceChannel *channel); +static void spice_inputs_channel_reset(SpiceChannel *channel, gboolean migrating); +/* ------------------------------------------------------------------ */ + +static void spice_inputs_channel_init(SpiceInputsChannel *channel) +{ + channel->priv = SPICE_INPUTS_CHANNEL_GET_PRIVATE(channel); +} + +static void spice_inputs_get_property(GObject *object, + guint prop_id, + GValue *value, + GParamSpec *pspec) +{ + SpiceInputsChannelPrivate *c = SPICE_INPUTS_CHANNEL(object)->priv; + + switch (prop_id) { + case PROP_KEY_MODIFIERS: + g_value_set_int(value, c->modifiers); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); + break; + } +} + +static void spice_inputs_channel_finalize(GObject *obj) +{ + if (G_OBJECT_CLASS(spice_inputs_channel_parent_class)->finalize) + G_OBJECT_CLASS(spice_inputs_channel_parent_class)->finalize(obj); +} + +static void spice_inputs_channel_class_init(SpiceInputsChannelClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS(klass); + SpiceChannelClass *channel_class = SPICE_CHANNEL_CLASS(klass); + + gobject_class->finalize = spice_inputs_channel_finalize; + gobject_class->get_property = spice_inputs_get_property; + channel_class->handle_msg = spice_inputs_handle_msg; + channel_class->channel_up = spice_inputs_channel_up; + channel_class->channel_reset = spice_inputs_channel_reset; + + g_object_class_install_property + (gobject_class, PROP_KEY_MODIFIERS, + g_param_spec_int("key-modifiers", + "Key modifiers", + "Guest keyboard lock/led state", + 0, INT_MAX, 0, + G_PARAM_READABLE | + G_PARAM_STATIC_NAME | + G_PARAM_STATIC_NICK | + G_PARAM_STATIC_BLURB)); + + /** + * SpiceInputsChannel::inputs-modifier: + * @display: the #SpiceInputsChannel that emitted the signal + * + * The #SpiceInputsChannel::inputs-modifier signal is emitted when + * the guest keyboard locks are changed. You can read the current + * state from #SpiceInputsChannel:key-modifiers property. + **/ + /* TODO: use notify instead? */ + signals[SPICE_INPUTS_MODIFIERS] = + g_signal_new("inputs-modifiers", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceInputsChannelClass, inputs_modifiers), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, + 0); + + g_type_class_add_private(klass, sizeof(SpiceInputsChannelPrivate)); +} + +/* signal trampoline---------------------------------------------------------- */ + +struct SPICE_INPUTS_MODIFIERS { +}; + +/* main context */ +static void do_emit_main_context(GObject *object, int signum, gpointer params) +{ + switch (signum) { + case SPICE_INPUTS_MODIFIERS: { + g_signal_emit(object, signals[signum], 0); + break; + } + default: + g_warn_if_reached(); + } +} + +/* ------------------------------------------------------------------ */ + +static SpiceMsgOut* mouse_motion(SpiceInputsChannel *channel) +{ + SpiceInputsChannelPrivate *c = channel->priv; + SpiceMsgcMouseMotion motion; + SpiceMsgOut *msg; + + if (!c->dx && !c->dy) + return NULL; + + motion.buttons_state = c->bs; + motion.dx = c->dx; + motion.dy = c->dy; + msg = spice_msg_out_new(SPICE_CHANNEL(channel), + SPICE_MSGC_INPUTS_MOUSE_MOTION); + msg->marshallers->msgc_inputs_mouse_motion(msg->marshaller, &motion); + + c->motion_count++; + c->dx = 0; + c->dy = 0; + + return msg; +} + +static SpiceMsgOut* mouse_position(SpiceInputsChannel *channel) +{ + SpiceInputsChannelPrivate *c = channel->priv; + SpiceMsgcMousePosition position; + SpiceMsgOut *msg; + + if (c->dpy == -1) + return NULL; + + /* CHANNEL_DEBUG(channel, "%s: +%d+%d", __FUNCTION__, c->x, c->y); */ + position.buttons_state = c->bs; + position.x = c->x; + position.y = c->y; + position.display_id = c->dpy; + msg = spice_msg_out_new(SPICE_CHANNEL(channel), + SPICE_MSGC_INPUTS_MOUSE_POSITION); + msg->marshallers->msgc_inputs_mouse_position(msg->marshaller, &position); + + c->motion_count++; + c->dpy = -1; + + return msg; +} + +/* main context */ +static void send_position(SpiceInputsChannel *channel) +{ + SpiceMsgOut *msg; + + if (spice_channel_get_read_only(SPICE_CHANNEL(channel))) + return; + + msg = mouse_position(channel); + if (!msg) /* if no motion */ + return; + + spice_msg_out_send(msg); +} + +/* main context */ +static void send_motion(SpiceInputsChannel *channel) +{ + SpiceMsgOut *msg; + + if (spice_channel_get_read_only(SPICE_CHANNEL(channel))) + return; + + msg = mouse_motion(channel); + if (!msg) /* if no motion */ + return; + + spice_msg_out_send(msg); +} + +/* coroutine context */ +static void inputs_handle_init(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceInputsChannelPrivate *c = SPICE_INPUTS_CHANNEL(channel)->priv; + SpiceMsgInputsInit *init = spice_msg_in_parsed(in); + + c->modifiers = init->keyboard_modifiers; + emit_main_context(channel, SPICE_INPUTS_MODIFIERS); +} + +/* coroutine context */ +static void inputs_handle_modifiers(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceInputsChannelPrivate *c = SPICE_INPUTS_CHANNEL(channel)->priv; + SpiceMsgInputsKeyModifiers *modifiers = spice_msg_in_parsed(in); + + c->modifiers = modifiers->modifiers; + emit_main_context(channel, SPICE_INPUTS_MODIFIERS); +} + +/* coroutine context */ +static void inputs_handle_ack(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceInputsChannelPrivate *c = SPICE_INPUTS_CHANNEL(channel)->priv; + SpiceMsgOut *msg; + + c->motion_count -= SPICE_INPUT_MOTION_ACK_BUNCH; + + msg = mouse_motion(SPICE_INPUTS_CHANNEL(channel)); + if (msg) { /* if no motion, msg == NULL */ + spice_msg_out_send_internal(msg); + } + + msg = mouse_position(SPICE_INPUTS_CHANNEL(channel)); + if (msg) { + spice_msg_out_send_internal(msg); + } +} + +static const spice_msg_handler inputs_handlers[] = { + [ SPICE_MSG_INPUTS_INIT ] = inputs_handle_init, + [ SPICE_MSG_INPUTS_KEY_MODIFIERS ] = inputs_handle_modifiers, + [ SPICE_MSG_INPUTS_MOUSE_MOTION_ACK ] = inputs_handle_ack, +}; + +/* coroutine context */ +static void spice_inputs_handle_msg(SpiceChannel *channel, SpiceMsgIn *msg) +{ + int type = spice_msg_in_type(msg); + SpiceChannelClass *parent_class; + + g_return_if_fail(type < SPICE_N_ELEMENTS(inputs_handlers)); + + parent_class = SPICE_CHANNEL_CLASS(spice_inputs_channel_parent_class); + + if (inputs_handlers[type] != NULL) + inputs_handlers[type](channel, msg); + else if (parent_class->handle_msg) + parent_class->handle_msg(channel, msg); + else + g_return_if_reached(); +} + +/** + * spice_inputs_motion: + * @channel: + * @dx: delta X mouse coordinates + * @dy: delta Y mouse coordinates + * @button_state: SPICE_MOUSE_BUTTON_MASK flags + * + * Change mouse position (used in SPICE_MOUSE_MODE_CLIENT). + **/ +void spice_inputs_motion(SpiceInputsChannel *channel, gint dx, gint dy, + gint button_state) +{ + SpiceInputsChannelPrivate *c; + + g_return_if_fail(channel != NULL); + g_return_if_fail(SPICE_CHANNEL(channel)->priv->state != SPICE_CHANNEL_STATE_UNCONNECTED); + if (SPICE_CHANNEL(channel)->priv->state != SPICE_CHANNEL_STATE_READY) + return; + + if (dx == 0 && dy == 0) + return; + + c = channel->priv; + c->bs = button_state; + c->dx += dx; + c->dy += dy; + + if (c->motion_count < SPICE_INPUT_MOTION_ACK_BUNCH * 2) { + send_motion(channel); + } +} + +/** + * spice_inputs_position: + * @channel: + * @x: X mouse coordinates + * @y: Y mouse coordinates + * @display: display channel id + * @button_state: SPICE_MOUSE_BUTTON_MASK flags + * + * Change mouse position (used in SPICE_MOUSE_MODE_CLIENT). + **/ +void spice_inputs_position(SpiceInputsChannel *channel, gint x, gint y, + gint display, gint button_state) +{ + SpiceInputsChannelPrivate *c; + + g_return_if_fail(channel != NULL); + + if (SPICE_CHANNEL(channel)->priv->state != SPICE_CHANNEL_STATE_READY) + return; + + c = channel->priv; + c->bs = button_state; + c->x = x; + c->y = y; + c->dpy = display; + + if (c->motion_count < SPICE_INPUT_MOTION_ACK_BUNCH * 2) { + send_position(channel); + } else { + CHANNEL_DEBUG(channel, "over SPICE_INPUT_MOTION_ACK_BUNCH * 2, dropping"); + } +} + +/** + * spice_inputs_button_press: + * @channel: + * @button: a SPICE_MOUSE_BUTTON + * @button_state: SPICE_MOUSE_BUTTON_MASK flags + * + * Press a mouse button. + **/ +void spice_inputs_button_press(SpiceInputsChannel *channel, gint button, + gint button_state) +{ + SpiceInputsChannelPrivate *c; + SpiceMsgcMousePress press; + SpiceMsgOut *msg; + + g_return_if_fail(channel != NULL); + + if (SPICE_CHANNEL(channel)->priv->state != SPICE_CHANNEL_STATE_READY) + return; + if (spice_channel_get_read_only(SPICE_CHANNEL(channel))) + return; + + c = channel->priv; + switch (button) { + case SPICE_MOUSE_BUTTON_LEFT: + button_state |= SPICE_MOUSE_BUTTON_MASK_LEFT; + break; + case SPICE_MOUSE_BUTTON_MIDDLE: + button_state |= SPICE_MOUSE_BUTTON_MASK_MIDDLE; + break; + case SPICE_MOUSE_BUTTON_RIGHT: + button_state |= SPICE_MOUSE_BUTTON_MASK_RIGHT; + break; + } + + c->bs = button_state; + send_motion(channel); + send_position(channel); + + msg = spice_msg_out_new(SPICE_CHANNEL(channel), + SPICE_MSGC_INPUTS_MOUSE_PRESS); + press.button = button; + press.buttons_state = button_state; + msg->marshallers->msgc_inputs_mouse_press(msg->marshaller, &press); + spice_msg_out_send(msg); +} + +/** + * spice_inputs_button_release: + * @channel: + * @button: a SPICE_MOUSE_BUTTON + * @button_state: SPICE_MOUSE_BUTTON_MASK flags + * + * Release a button. + **/ +void spice_inputs_button_release(SpiceInputsChannel *channel, gint button, + gint button_state) +{ + SpiceInputsChannelPrivate *c; + SpiceMsgcMouseRelease release; + SpiceMsgOut *msg; + + g_return_if_fail(channel != NULL); + + if (SPICE_CHANNEL(channel)->priv->state != SPICE_CHANNEL_STATE_READY) + return; + if (spice_channel_get_read_only(SPICE_CHANNEL(channel))) + return; + + c = channel->priv; + switch (button) { + case SPICE_MOUSE_BUTTON_LEFT: + button_state &= ~SPICE_MOUSE_BUTTON_MASK_LEFT; + break; + case SPICE_MOUSE_BUTTON_MIDDLE: + button_state &= ~SPICE_MOUSE_BUTTON_MASK_MIDDLE; + break; + case SPICE_MOUSE_BUTTON_RIGHT: + button_state &= ~SPICE_MOUSE_BUTTON_MASK_RIGHT; + break; + } + + c->bs = button_state; + send_motion(channel); + send_position(channel); + + msg = spice_msg_out_new(SPICE_CHANNEL(channel), + SPICE_MSGC_INPUTS_MOUSE_RELEASE); + release.button = button; + release.buttons_state = button_state; + msg->marshallers->msgc_inputs_mouse_release(msg->marshaller, &release); + spice_msg_out_send(msg); +} + +/** + * spice_inputs_key_press: + * @channel: + * @scancode: a PC AT key scancode + * + * Press a key. + **/ +void spice_inputs_key_press(SpiceInputsChannel *channel, guint scancode) +{ + SpiceMsgcKeyDown down; + SpiceMsgOut *msg; + + g_return_if_fail(channel != NULL); + g_return_if_fail(SPICE_CHANNEL(channel)->priv->state != SPICE_CHANNEL_STATE_UNCONNECTED); + if (SPICE_CHANNEL(channel)->priv->state != SPICE_CHANNEL_STATE_READY) + return; + if (spice_channel_get_read_only(SPICE_CHANNEL(channel))) + return; + + down.code = spice_make_scancode(scancode, FALSE); + msg = spice_msg_out_new(SPICE_CHANNEL(channel), SPICE_MSGC_INPUTS_KEY_DOWN); + msg->marshallers->msgc_inputs_key_down(msg->marshaller, &down); + spice_msg_out_send(msg); +} + +#ifdef CONFIG_MARU +void spice_inputs_tizen_keydown(SpiceInputsChannel *channel, guint scancode, int spice_msgc_inputs_type) +{ + SpiceMsgcKeyDown down; + SpiceMsgOut *msg; + + g_return_if_fail(channel != NULL); + g_return_if_fail(SPICE_CHANNEL(channel)->priv->state != SPICE_CHANNEL_STATE_UNCONNECTED); + if (SPICE_CHANNEL(channel)->priv->state != SPICE_CHANNEL_STATE_READY) + return; + if (spice_channel_get_read_only(SPICE_CHANNEL(channel))) + return; + + down.code = spice_make_scancode(scancode, FALSE); + msg = spice_msg_out_new(SPICE_CHANNEL(channel), spice_msgc_inputs_type); + msg->marshallers->msgc_inputs_tizen_keydown(msg->marshaller, &down); + spice_msg_out_send(msg); +} + +void spice_inputs_tizen_keyup(SpiceInputsChannel *channel, guint scancode, int spice_msgc_inputs_type) +{ + SpiceMsgcKeyUp up; + SpiceMsgOut *msg; + + g_return_if_fail(channel != NULL); + g_return_if_fail(SPICE_CHANNEL(channel)->priv->state != SPICE_CHANNEL_STATE_UNCONNECTED); + if (SPICE_CHANNEL(channel)->priv->state != SPICE_CHANNEL_STATE_READY) + return; + if (spice_channel_get_read_only(SPICE_CHANNEL(channel))) + return; + + up.code = spice_make_scancode(scancode, FALSE); + msg = spice_msg_out_new(SPICE_CHANNEL(channel), spice_msgc_inputs_type); + msg->marshallers->msgc_inputs_tizen_keyup(msg->marshaller, &up); + spice_msg_out_send(msg); +} +#endif + +/** + * spice_inputs_key_release: + * @channel: + * @scancode: a PC AT key scancode + * + * Release a key. + **/ +void spice_inputs_key_release(SpiceInputsChannel *channel, guint scancode) +{ + SpiceMsgcKeyUp up; + SpiceMsgOut *msg; + + g_return_if_fail(channel != NULL); + g_return_if_fail(SPICE_CHANNEL(channel)->priv->state != SPICE_CHANNEL_STATE_UNCONNECTED); + if (SPICE_CHANNEL(channel)->priv->state != SPICE_CHANNEL_STATE_READY) + return; + if (spice_channel_get_read_only(SPICE_CHANNEL(channel))) + return; + + up.code = spice_make_scancode(scancode, TRUE); + msg = spice_msg_out_new(SPICE_CHANNEL(channel), SPICE_MSGC_INPUTS_KEY_UP); + msg->marshallers->msgc_inputs_key_up(msg->marshaller, &up); + spice_msg_out_send(msg); +} + +/** + * spice_inputs_key_press_and_release: + * @channel: + * @scancode: a PC AT key scancode + * + * Press and release a key event atomically (in the same message). + * + * Since: 0.13 + **/ +void spice_inputs_key_press_and_release(SpiceInputsChannel *input_channel, guint scancode) +{ + SpiceChannel *channel = SPICE_CHANNEL(input_channel); + + g_return_if_fail(channel != NULL); + g_return_if_fail(channel->priv->state != SPICE_CHANNEL_STATE_UNCONNECTED); + + if (channel->priv->state != SPICE_CHANNEL_STATE_READY) + return; + if (spice_channel_get_read_only(channel)) + return; + + if (spice_channel_test_capability(channel, SPICE_INPUTS_CAP_KEY_SCANCODE)) { + SpiceMsgOut *msg; + guint16 code; + guint8 *buf; + + msg = spice_msg_out_new(channel, SPICE_MSGC_INPUTS_KEY_SCANCODE); + if (scancode < 0x100) { + buf = (guint8*)spice_marshaller_reserve_space(msg->marshaller, 2); + buf[0] = spice_make_scancode(scancode, FALSE); + buf[1] = spice_make_scancode(scancode, TRUE); + } else { + buf = (guint8*)spice_marshaller_reserve_space(msg->marshaller, 4); + code = spice_make_scancode(scancode, FALSE); + buf[0] = code & 0xff; + buf[1] = code >> 8; + code = spice_make_scancode(scancode, TRUE); + buf[2] = code & 0xff; + buf[3] = code >> 8; + } + spice_msg_out_send(msg); + } else { + CHANNEL_DEBUG(channel, "The server doesn't support atomic press and release"); + spice_inputs_key_press(input_channel, scancode); + spice_inputs_key_release(input_channel, scancode); + } +} + +/* main or coroutine context */ +static SpiceMsgOut* set_key_locks(SpiceInputsChannel *channel, guint locks) +{ + SpiceMsgcKeyModifiers modifiers; + SpiceMsgOut *msg; + SpiceInputsChannelPrivate *ic; + SpiceChannelPrivate *c; + + g_return_val_if_fail(SPICE_IS_INPUTS_CHANNEL(channel), NULL); + + ic = channel->priv; + c = SPICE_CHANNEL(channel)->priv; + + ic->locks = locks; + if (c->state != SPICE_CHANNEL_STATE_READY) + return NULL; + + msg = spice_msg_out_new(SPICE_CHANNEL(channel), + SPICE_MSGC_INPUTS_KEY_MODIFIERS); + modifiers.modifiers = locks; + msg->marshallers->msgc_inputs_key_modifiers(msg->marshaller, &modifiers); + return msg; +} + +/** + * spice_inputs_set_key_locks: + * @channel: + * @locks: #SpiceInputsLock modifiers flags + * + * Set the keyboard locks on the guest (Caps, Num, Scroll..) + **/ +void spice_inputs_set_key_locks(SpiceInputsChannel *channel, guint locks) +{ + SpiceMsgOut *msg; + + if (spice_channel_get_read_only(SPICE_CHANNEL(channel))) + return; + + msg = set_key_locks(channel, locks); + if (!msg) /* you can set_key_locks() even if the channel is not ready */ + return; + + spice_msg_out_send(msg); /* main -> coroutine */ +} + +/* coroutine context */ +static void spice_inputs_channel_up(SpiceChannel *channel) +{ + SpiceInputsChannelPrivate *c = SPICE_INPUTS_CHANNEL(channel)->priv; + SpiceMsgOut *msg; + + if (spice_channel_get_read_only(channel)) + return; + + msg = set_key_locks(SPICE_INPUTS_CHANNEL(channel), c->locks); + spice_msg_out_send_internal(msg); +} + +static void spice_inputs_channel_reset(SpiceChannel *channel, gboolean migrating) +{ + SpiceInputsChannelPrivate *c = SPICE_INPUTS_CHANNEL(channel)->priv; + c->motion_count = 0; + + SPICE_CHANNEL_CLASS(spice_inputs_channel_parent_class)->channel_reset(channel, migrating); +} +/* +void spice_inputs_channel_hwkey(SpiceChannel *channel, int type, int keycode) +{ + SpiceMsgOut *msg; + guint8 *buf; + + msg = spice_msg_out_new(channel, SPICE_MSGC_INPUTS_HWKEY_SCANCODE); + buf = (guint8*)spice_marshaller_reserve_space(msg->marshaller, 2); + buf[0] = type; + buf[1] = keycode; + spice_msg_out_send(msg); +}*/ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-inputs.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-inputs.h new file mode 100644 index 0000000..51de050 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-inputs.h @@ -0,0 +1,93 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_CLIENT_INPUTS_CHANNEL_H__ +#define __SPICE_CLIENT_INPUTS_CHANNEL_H__ + +#include "spice-client.h" + +G_BEGIN_DECLS + +#define SPICE_TYPE_INPUTS_CHANNEL (spice_inputs_channel_get_type()) +#define SPICE_INPUTS_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), SPICE_TYPE_INPUTS_CHANNEL, SpiceInputsChannel)) +#define SPICE_INPUTS_CHANNEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPICE_TYPE_INPUTS_CHANNEL, SpiceInputsChannelClass)) +#define SPICE_IS_INPUTS_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SPICE_TYPE_INPUTS_CHANNEL)) +#define SPICE_IS_INPUTS_CHANNEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SPICE_TYPE_INPUTS_CHANNEL)) +#define SPICE_INPUTS_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), SPICE_TYPE_INPUTS_CHANNEL, SpiceInputsChannelClass)) + +typedef struct _SpiceInputsChannel SpiceInputsChannel; +typedef struct _SpiceInputsChannelClass SpiceInputsChannelClass; +typedef struct _SpiceInputsChannelPrivate SpiceInputsChannelPrivate; + +#ifdef CONFIG_MARU +void spice_inputs_tizen_keydown(SpiceInputsChannel *channel, guint scancode, int spice_msgc_inputs_type); +void spice_inputs_tizen_keyup(SpiceInputsChannel *channel, guint scancode, int spice_msgc_inputs_type); +#endif + +typedef enum { + SPICE_INPUTS_SCROLL_LOCK = (1 << 0), + SPICE_INPUTS_NUM_LOCK = (1 << 1), + SPICE_INPUTS_CAPS_LOCK = (1 << 2) +} SpiceInputsLock; + +/** + * SpiceInputsChannel: + * + * The #SpiceInputsChannel struct is opaque and should not be accessed directly. + */ +struct _SpiceInputsChannel { + SpiceChannel parent; + + /*< private >*/ + SpiceInputsChannelPrivate *priv; + /* Do not add fields to this struct */ +}; + +/** + * SpiceInputsChannelClass: + * @parent_class: Parent class. + * @inputs_modifiers: Signal class handler for the #SpiceInputsChannel::inputs-modifiers signal. + * + * Class structure for #SpiceInputsChannel. + */ +struct _SpiceInputsChannelClass { + SpiceChannelClass parent_class; + + /* signals */ + void (*inputs_modifiers)(SpiceChannel *channel); + + /*< private >*/ + /* Do not add fields to this struct */ +}; + +GType spice_inputs_channel_get_type(void); + +void spice_inputs_motion(SpiceInputsChannel *channel, gint dx, gint dy, + gint button_state); +void spice_inputs_position(SpiceInputsChannel *channel, gint x, gint y, + gint display, gint button_state); +void spice_inputs_button_press(SpiceInputsChannel *channel, gint button, + gint button_state); +void spice_inputs_button_release(SpiceInputsChannel *channel, gint button, + gint button_state); +void spice_inputs_key_press(SpiceInputsChannel *channel, guint scancode); +void spice_inputs_key_release(SpiceInputsChannel *channel, guint scancode); +void spice_inputs_set_key_locks(SpiceInputsChannel *channel, guint locks); +void spice_inputs_key_press_and_release(SpiceInputsChannel *channel, guint scancode); +G_END_DECLS + +#endif /* __SPICE_CLIENT_INPUTS_CHANNEL_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-main.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-main.c new file mode 100644 index 0000000..4c3ae3b --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-main.c @@ -0,0 +1,2845 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#include +#include +#include +#include + +#include "glib-compat.h" +#include "spice-client.h" +#include "spice-common.h" +#include "spice-marshal.h" + +#include "spice-util-priv.h" +#include "spice-channel-priv.h" +#include "spice-session-priv.h" + +/** + * SECTION:channel-main + * @short_description: the main Spice channel + * @title: Main Channel + * @section_id: + * @see_also: #SpiceChannel, and the GTK widget #SpiceDisplay + * @stability: Stable + * @include: channel-main.h + * + * The main channel is the Spice session control channel. It handles + * communication initialization (channels list), migrations, mouse + * modes, multimedia time, and agent communication. + * + * + */ + +#define SPICE_MAIN_CHANNEL_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE((obj), SPICE_TYPE_MAIN_CHANNEL, SpiceMainChannelPrivate)) + +#define MAX_DISPLAY 16 /* Note must fit in a guint32, see monitors_align */ + +typedef struct spice_migrate spice_migrate; + +#define FILE_XFER_CHUNK_SIZE (VD_AGENT_MAX_DATA_SIZE * 32) +typedef struct SpiceFileXferTask { + uint32_t id; + gboolean pending; + GFile *file; + SpiceMainChannel *channel; + GFileInputStream *file_stream; + GFileCopyFlags flags; + GCancellable *cancellable; + GFileProgressCallback progress_callback; + gpointer progress_callback_data; + GAsyncReadyCallback callback; + gpointer user_data; + char buffer[FILE_XFER_CHUNK_SIZE]; + uint64_t read_bytes; + uint64_t file_size; + GError *error; +} SpiceFileXferTask; + +struct _SpiceMainChannelPrivate { + enum SpiceMouseMode mouse_mode; + bool agent_connected; + bool agent_caps_received; + + gboolean agent_display_config_sent; + guint8 display_color_depth; + gboolean display_disable_wallpaper:1; + gboolean display_disable_font_smooth:1; + gboolean display_disable_animation:1; + gboolean disable_display_position:1; + gboolean disable_display_align:1; + + int agent_tokens; + VDAgentMessage agent_msg; /* partial msg reconstruction */ + guint8 *agent_msg_data; + guint agent_msg_pos; + uint8_t agent_msg_size; + uint32_t agent_caps[VD_AGENT_CAPS_SIZE]; + struct { + int x; + int y; + int width; + int height; + gboolean enabled; + } display[MAX_DISPLAY]; + gint timer_id; + GQueue *agent_msg_queue; + GHashTable *file_xfer_tasks; + GSList *flushing; + + guint switch_host_delayed_id; + guint migrate_delayed_id; + spice_migrate *migrate_data; +}; + +struct spice_migrate { + struct coroutine *from; + SpiceMigrationDstInfo *info; + SpiceSession *session; + guint nchannels; + SpiceChannel *src_channel; + SpiceChannel *dst_channel; + bool do_seamless; /* used as input and output for the seamless migration handshake. + input: whether to send to the dest SPICE_MSGC_MAIN_MIGRATE_DST_DO_SEAMLESS + output: whether the dest approved seamless migration + (SPICE_MSG_MAIN_MIGRATE_DST_SEAMLESS_ACK/NACK) + */ + uint32_t src_mig_version; +}; + +G_DEFINE_TYPE(SpiceMainChannel, spice_main_channel, SPICE_TYPE_CHANNEL) + +/* Properties */ +enum { + PROP_0, + PROP_MOUSE_MODE, + PROP_AGENT_CONNECTED, + PROP_AGENT_CAPS_0, + PROP_DISPLAY_DISABLE_WALLPAPER, + PROP_DISPLAY_DISABLE_FONT_SMOOTH, + PROP_DISPLAY_DISABLE_ANIMATION, + PROP_DISPLAY_COLOR_DEPTH, + PROP_DISABLE_DISPLAY_POSITION, + PROP_DISABLE_DISPLAY_ALIGN, +}; + +/* Signals */ +enum { + SPICE_MAIN_MOUSE_UPDATE, + SPICE_MAIN_AGENT_UPDATE, + SPICE_MAIN_CLIPBOARD, + SPICE_MAIN_CLIPBOARD_GRAB, + SPICE_MAIN_CLIPBOARD_REQUEST, + SPICE_MAIN_CLIPBOARD_RELEASE, + SPICE_MAIN_CLIPBOARD_SELECTION, + SPICE_MAIN_CLIPBOARD_SELECTION_GRAB, + SPICE_MAIN_CLIPBOARD_SELECTION_REQUEST, + SPICE_MAIN_CLIPBOARD_SELECTION_RELEASE, + SPICE_MIGRATION_STARTED, + SPICE_MAIN_LAST_SIGNAL, +}; + +static guint signals[SPICE_MAIN_LAST_SIGNAL]; + +static void spice_main_handle_msg(SpiceChannel *channel, SpiceMsgIn *msg); +static void agent_send_msg_queue(SpiceMainChannel *channel); +static void agent_free_msg_queue(SpiceMainChannel *channel); +static void migrate_channel_event_cb(SpiceChannel *channel, SpiceChannelEvent event, + gpointer data); +static gboolean main_migrate_handshake_done(gpointer data); +static void spice_main_channel_send_migration_handshake(SpiceChannel *channel); +static void file_xfer_continue_read(SpiceFileXferTask *task); +static void file_xfer_completed(SpiceFileXferTask *task, GError *error); +static void file_xfer_flushed(SpiceMainChannel *channel, gboolean success); + +/* ------------------------------------------------------------------ */ + +static const char *agent_msg_types[] = { + [ VD_AGENT_MOUSE_STATE ] = "mouse state", + [ VD_AGENT_MONITORS_CONFIG ] = "monitors config", + [ VD_AGENT_REPLY ] = "reply", + [ VD_AGENT_CLIPBOARD ] = "clipboard", + [ VD_AGENT_DISPLAY_CONFIG ] = "display config", + [ VD_AGENT_ANNOUNCE_CAPABILITIES ] = "announce caps", + [ VD_AGENT_CLIPBOARD_GRAB ] = "clipboard grab", + [ VD_AGENT_CLIPBOARD_REQUEST ] = "clipboard request", + [ VD_AGENT_CLIPBOARD_RELEASE ] = "clipboard release", +}; + +static const char *agent_caps[] = { + [ VD_AGENT_CAP_MOUSE_STATE ] = "mouse state", + [ VD_AGENT_CAP_MONITORS_CONFIG ] = "monitors config", + [ VD_AGENT_CAP_REPLY ] = "reply", + [ VD_AGENT_CAP_CLIPBOARD ] = "clipboard (old)", + [ VD_AGENT_CAP_DISPLAY_CONFIG ] = "display config", + [ VD_AGENT_CAP_CLIPBOARD_BY_DEMAND ] = "clipboard", + [ VD_AGENT_CAP_CLIPBOARD_SELECTION ] = "clipboard selection", +}; +#define NAME(_a, _i) ((_i) < SPICE_N_ELEMENTS(_a) ? (_a[(_i)] ?: "?") : "?") + +/* ------------------------------------------------------------------ */ + +static void spice_main_channel_reset_capabilties(SpiceChannel *channel) +{ + spice_channel_set_capability(SPICE_CHANNEL(channel), SPICE_MAIN_CAP_SEMI_SEAMLESS_MIGRATE); + spice_channel_set_capability(SPICE_CHANNEL(channel), SPICE_MAIN_CAP_NAME_AND_UUID); + spice_channel_set_capability(SPICE_CHANNEL(channel), SPICE_MAIN_CAP_AGENT_CONNECTED_TOKENS); + spice_channel_set_capability(SPICE_CHANNEL(channel), SPICE_MAIN_CAP_SEAMLESS_MIGRATE); +} + +static void spice_main_channel_init(SpiceMainChannel *channel) +{ + SpiceMainChannelPrivate *c; + + c = channel->priv = SPICE_MAIN_CHANNEL_GET_PRIVATE(channel); + c->agent_msg_queue = g_queue_new(); + c->file_xfer_tasks = g_hash_table_new(g_direct_hash, g_direct_equal); + + spice_main_channel_reset_capabilties(SPICE_CHANNEL(channel)); +} + +static void spice_main_get_property(GObject *object, + guint prop_id, + GValue *value, + GParamSpec *pspec) +{ + SpiceMainChannelPrivate *c = SPICE_MAIN_CHANNEL(object)->priv; + + switch (prop_id) { + case PROP_MOUSE_MODE: + g_value_set_int(value, c->mouse_mode); + break; + case PROP_AGENT_CONNECTED: + g_value_set_boolean(value, c->agent_connected); + break; + case PROP_AGENT_CAPS_0: + g_value_set_int(value, c->agent_caps[0]); + break; + case PROP_DISPLAY_DISABLE_WALLPAPER: + g_value_set_boolean(value, c->display_disable_wallpaper); + break; + case PROP_DISPLAY_DISABLE_FONT_SMOOTH: + g_value_set_boolean(value, c->display_disable_font_smooth); + break; + case PROP_DISPLAY_DISABLE_ANIMATION: + g_value_set_boolean(value, c->display_disable_animation); + break; + case PROP_DISPLAY_COLOR_DEPTH: + g_value_set_uint(value, c->display_color_depth); + break; + case PROP_DISABLE_DISPLAY_POSITION: + g_value_set_boolean(value, c->disable_display_position); + break; + case PROP_DISABLE_DISPLAY_ALIGN: + g_value_set_boolean(value, c->disable_display_align); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); + break; + } +} + +static void spice_main_set_property(GObject *gobject, guint prop_id, + const GValue *value, GParamSpec *pspec) +{ + SpiceMainChannelPrivate *c = SPICE_MAIN_CHANNEL(gobject)->priv; + + switch (prop_id) { + case PROP_DISPLAY_DISABLE_WALLPAPER: + c->display_disable_wallpaper = g_value_get_boolean(value); + break; + case PROP_DISPLAY_DISABLE_FONT_SMOOTH: + c->display_disable_font_smooth = g_value_get_boolean(value); + break; + case PROP_DISPLAY_DISABLE_ANIMATION: + c->display_disable_animation = g_value_get_boolean(value); + break; + case PROP_DISPLAY_COLOR_DEPTH: { + guint color_depth = g_value_get_uint(value); + g_return_if_fail(color_depth % 8 == 0); + c->display_color_depth = color_depth; + break; + } + case PROP_DISABLE_DISPLAY_POSITION: + c->disable_display_position = g_value_get_boolean(value); + break; + case PROP_DISABLE_DISPLAY_ALIGN: + c->disable_display_align = g_value_get_boolean(value); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, pspec); + break; + } +} + +static void spice_main_channel_dispose(GObject *obj) +{ + SpiceMainChannelPrivate *c = SPICE_MAIN_CHANNEL(obj)->priv; + + if (c->timer_id) { + g_source_remove(c->timer_id); + c->timer_id = 0; + } + + if (c->switch_host_delayed_id) { + g_source_remove(c->switch_host_delayed_id); + c->switch_host_delayed_id = 0; + } + + if (c->migrate_delayed_id) { + g_source_remove(c->migrate_delayed_id); + c->migrate_delayed_id = 0; + } + + if (G_OBJECT_CLASS(spice_main_channel_parent_class)->dispose) + G_OBJECT_CLASS(spice_main_channel_parent_class)->dispose(obj); +} + +static void spice_main_channel_finalize(GObject *obj) +{ + SpiceMainChannelPrivate *c = SPICE_MAIN_CHANNEL(obj)->priv; + + g_free(c->agent_msg_data); + agent_free_msg_queue(SPICE_MAIN_CHANNEL(obj)); + if (c->file_xfer_tasks) + g_hash_table_unref(c->file_xfer_tasks); + + if (G_OBJECT_CLASS(spice_main_channel_parent_class)->finalize) + G_OBJECT_CLASS(spice_main_channel_parent_class)->finalize(obj); +} + +/* coroutine context */ +static void spice_channel_iterate_write(SpiceChannel *channel) +{ + agent_send_msg_queue(SPICE_MAIN_CHANNEL(channel)); + + if (SPICE_CHANNEL_CLASS(spice_main_channel_parent_class)->iterate_write) + SPICE_CHANNEL_CLASS(spice_main_channel_parent_class)->iterate_write(channel); +} + +/* main or coroutine context */ +static void spice_main_channel_reset_agent(SpiceMainChannel *channel) +{ + SpiceMainChannelPrivate *c = channel->priv; + GError *error; + GList *tasks; + GList *l; + + c->agent_connected = FALSE; + c->agent_caps_received = FALSE; + c->agent_display_config_sent = FALSE; + c->agent_msg_pos = 0; + g_free(c->agent_msg_data); + c->agent_msg_data = NULL; + c->agent_msg_size = 0; + + tasks = g_hash_table_get_values(c->file_xfer_tasks); + for (l = tasks; l != NULL; l = l->next) { + SpiceFileXferTask *task = (SpiceFileXferTask *)l->data; + + error = g_error_new(SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + "Agent connection closed"); + file_xfer_completed(task, error); + } + g_list_free(tasks); + file_xfer_flushed(channel, FALSE); +} + +/* main or coroutine context */ +static void spice_main_channel_reset(SpiceChannel *channel, gboolean migrating) +{ + SpiceMainChannelPrivate *c = SPICE_MAIN_CHANNEL(channel)->priv; + + /* This is not part of reset_agent, since the spice-server expects any + pending multi-chunk messages to be completed by the client, even after + it has send an agent-disconnected msg as that is what the original + spicec did. Also see the TODO in server/reds.c reds_reset_vdp() */ + c->agent_tokens = 0; + agent_free_msg_queue(SPICE_MAIN_CHANNEL(channel)); + c->agent_msg_queue = g_queue_new(); + + spice_main_channel_reset_agent(SPICE_MAIN_CHANNEL(channel)); + + SPICE_CHANNEL_CLASS(spice_main_channel_parent_class)->channel_reset(channel, migrating); +} + +static void spice_main_channel_class_init(SpiceMainChannelClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS(klass); + SpiceChannelClass *channel_class = SPICE_CHANNEL_CLASS(klass); + + gobject_class->dispose = spice_main_channel_dispose; + gobject_class->finalize = spice_main_channel_finalize; + gobject_class->get_property = spice_main_get_property; + gobject_class->set_property = spice_main_set_property; + + channel_class->handle_msg = spice_main_handle_msg; + channel_class->iterate_write = spice_channel_iterate_write; + channel_class->channel_reset = spice_main_channel_reset; + channel_class->channel_reset_capabilities = spice_main_channel_reset_capabilties; + channel_class->channel_send_migration_handshake = spice_main_channel_send_migration_handshake; + + /** + * SpiceMainChannel:mouse-mode: + * + * Spice protocol specifies two mouse modes, client mode and + * server mode. In client mode (%SPICE_MOUSE_MODE_CLIENT), the + * affective mouse is the client side mouse: the client sends + * mouse position within the display and the server sends mouse + * shape messages. In server mode (%SPICE_MOUSE_MODE_SERVER), the + * client sends relative mouse movements and the server sends + * position and shape commands. + **/ + g_object_class_install_property + (gobject_class, PROP_MOUSE_MODE, + g_param_spec_int("mouse-mode", + "Mouse mode", + "Mouse mode", + 0, INT_MAX, 0, + G_PARAM_READABLE | + G_PARAM_STATIC_NAME | + G_PARAM_STATIC_NICK | + G_PARAM_STATIC_BLURB)); + + g_object_class_install_property + (gobject_class, PROP_AGENT_CONNECTED, + g_param_spec_boolean("agent-connected", + "Agent connected", + "Whether the agent is connected", + FALSE, + G_PARAM_READABLE | + G_PARAM_STATIC_NAME | + G_PARAM_STATIC_NICK | + G_PARAM_STATIC_BLURB)); + + g_object_class_install_property + (gobject_class, PROP_AGENT_CAPS_0, + g_param_spec_int("agent-caps-0", + "Agent caps 0", + "Agent capability bits 0 -> 31", + 0, INT_MAX, 0, + G_PARAM_READABLE | + G_PARAM_STATIC_NAME | + G_PARAM_STATIC_NICK | + G_PARAM_STATIC_BLURB)); + + g_object_class_install_property + (gobject_class, PROP_DISPLAY_DISABLE_WALLPAPER, + g_param_spec_boolean("disable-wallpaper", + "Disable guest wallpaper", + "Disable guest wallpaper", + FALSE, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property + (gobject_class, PROP_DISPLAY_DISABLE_FONT_SMOOTH, + g_param_spec_boolean("disable-font-smooth", + "Disable guest font smooth", + "Disable guest font smoothing", + FALSE, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property + (gobject_class, PROP_DISPLAY_DISABLE_ANIMATION, + g_param_spec_boolean("disable-animation", + "Disable guest animations", + "Disable guest animations", + FALSE, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property + (gobject_class, PROP_DISABLE_DISPLAY_POSITION, + g_param_spec_boolean("disable-display-position", + "Disable display position", + "Disable using display position when setting monitor config", + TRUE, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property + (gobject_class, PROP_DISPLAY_COLOR_DEPTH, + g_param_spec_uint("color-depth", + "Color depth", + "Color depth", 0, 32, 0, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceMainChannel:disable-display-align: + * + * Disable automatic horizontal display position alignment. + * + * Since: 0.13 + */ + g_object_class_install_property + (gobject_class, PROP_DISABLE_DISPLAY_ALIGN, + g_param_spec_boolean("disable-display-align", + "Disable display align", + "Disable display position alignment", + FALSE, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + /* TODO use notify instead */ + /** + * SpiceMainChannel::main-mouse-update: + * @main: the #SpiceMainChannel that emitted the signal + * + * Notify when the mouse mode has changed. + **/ + signals[SPICE_MAIN_MOUSE_UPDATE] = + g_signal_new("main-mouse-update", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceMainChannelClass, mouse_update), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, + 0); + + /* TODO use notify instead */ + /** + * SpiceMainChannel::main-agent-update: + * @main: the #SpiceMainChannel that emitted the signal + * + * Notify when the %SpiceMainChannel:agent-connected or + * %SpiceMainChannel:agent-caps-0 property change. + **/ + signals[SPICE_MAIN_AGENT_UPDATE] = + g_signal_new("main-agent-update", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceMainChannelClass, agent_update), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, + 0); + /** + * SpiceMainChannel::main-clipboard: + * @main: the #SpiceMainChannel that emitted the signal + * @type: the VD_AGENT_CLIPBOARD data type + * @data: clipboard data + * @size: size of @data in bytes + * + * Provides guest clipboard data requested by spice_main_clipboard_request(). + * + * Deprecated: 0.6: use SpiceMainChannel::main-clipboard-selection instead. + **/ + signals[SPICE_MAIN_CLIPBOARD] = + g_signal_new("main-clipboard", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_LAST | G_SIGNAL_DEPRECATED, + 0, + NULL, NULL, + g_cclosure_user_marshal_VOID__UINT_POINTER_UINT, + G_TYPE_NONE, + 3, + G_TYPE_UINT, G_TYPE_POINTER, G_TYPE_UINT); + + /** + * SpiceMainChannel::main-clipboard-selection: + * @main: the #SpiceMainChannel that emitted the signal + * + * Since: 0.6 + **/ + signals[SPICE_MAIN_CLIPBOARD_SELECTION] = + g_signal_new("main-clipboard-selection", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_LAST, + 0, + NULL, NULL, + g_cclosure_user_marshal_VOID__UINT_UINT_POINTER_UINT, + G_TYPE_NONE, + 4, + G_TYPE_UINT, G_TYPE_UINT, G_TYPE_POINTER, G_TYPE_UINT); + + /** + * SpiceMainChannel::main-clipboard-grab: + * @main: the #SpiceMainChannel that emitted the signal + * @types: the VD_AGENT_CLIPBOARD data types + * @ntypes: the number of @types + * + * Inform when clipboard data is available from the guest, and for + * which @types. + * + * Deprecated: 0.6: use SpiceMainChannel::main-clipboard-selection-grab instead. + **/ + signals[SPICE_MAIN_CLIPBOARD_GRAB] = + g_signal_new("main-clipboard-grab", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_LAST | G_SIGNAL_DEPRECATED, + 0, + NULL, NULL, + g_cclosure_user_marshal_BOOLEAN__POINTER_UINT, + G_TYPE_BOOLEAN, + 2, + G_TYPE_POINTER, G_TYPE_UINT); + + /** + * SpiceMainChannel::main-clipboard-selection-grab: + * @main: the #SpiceMainChannel that emitted the signal + * @types: the VD_AGENT_CLIPBOARD data types + * @ntypes: the number of @types + * + * Inform when clipboard data is available from the guest, and for + * which @types. + * + * Since: 0.6 + **/ + signals[SPICE_MAIN_CLIPBOARD_SELECTION_GRAB] = + g_signal_new("main-clipboard-selection-grab", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_LAST, + 0, + NULL, NULL, + g_cclosure_user_marshal_BOOLEAN__UINT_POINTER_UINT, + G_TYPE_BOOLEAN, + 3, + G_TYPE_UINT, G_TYPE_POINTER, G_TYPE_UINT); + + /** + * SpiceMainChannel::main-clipboard-request: + * @main: the #SpiceMainChannel that emitted the signal + * @types: the VD_AGENT_CLIPBOARD request type + * + * Return value: %TRUE if the request is successful + * + * Request clipbard data from the client. + * + * Deprecated: 0.6: use SpiceMainChannel::main-clipboard-selection-request instead. + **/ + signals[SPICE_MAIN_CLIPBOARD_REQUEST] = + g_signal_new("main-clipboard-request", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_LAST | G_SIGNAL_DEPRECATED, + 0, + NULL, NULL, + g_cclosure_user_marshal_BOOLEAN__UINT, + G_TYPE_BOOLEAN, + 1, + G_TYPE_UINT); + + /** + * SpiceMainChannel::main-clipboard-selection-request: + * @main: the #SpiceMainChannel that emitted the signal + * @types: the VD_AGENT_CLIPBOARD request type + * + * Return value: %TRUE if the request is successful + * + * Request clipbard data from the client. + * + * Since: 0.6 + **/ + signals[SPICE_MAIN_CLIPBOARD_SELECTION_REQUEST] = + g_signal_new("main-clipboard-selection-request", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_LAST, + 0, + NULL, NULL, + g_cclosure_user_marshal_BOOLEAN__UINT_UINT, + G_TYPE_BOOLEAN, + 2, + G_TYPE_UINT, G_TYPE_UINT); + + /** + * SpiceMainChannel::main-clipboard-release: + * @main: the #SpiceMainChannel that emitted the signal + * + * Inform when the clipboard is released from the guest, when no + * clipboard data is available from the guest. + * + * Deprecated: 0.6: use SpiceMainChannel::main-clipboard-selection-release instead. + **/ + signals[SPICE_MAIN_CLIPBOARD_RELEASE] = + g_signal_new("main-clipboard-release", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_LAST | G_SIGNAL_DEPRECATED, + 0, + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, + 0); + + /** + * SpiceMainChannel::main-clipboard-selection-release: + * @main: the #SpiceMainChannel that emitted the signal + * + * Inform when the clipboard is released from the guest, when no + * clipboard data is available from the guest. + * + * Since: 0.6 + **/ + signals[SPICE_MAIN_CLIPBOARD_SELECTION_RELEASE] = + g_signal_new("main-clipboard-selection-release", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_LAST, + 0, + NULL, NULL, + g_cclosure_marshal_VOID__UINT, + G_TYPE_NONE, + 1, + G_TYPE_UINT); + + /** + * SpiceMainChannel::migration-started: + * @main: the #SpiceMainChannel that emitted the signal + * @session: a migration #SpiceSession + * + * Inform when migration is starting. Application wishing to make + * connections themself can set the #SpiceSession:client-sockets + * to @TRUE, then follow #SpiceSession::channel-new creation, and + * use spice_channel_open_fd() once the socket is created. + * + **/ + signals[SPICE_MIGRATION_STARTED] = + g_signal_new("migration-started", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_LAST, + 0, + NULL, NULL, + g_cclosure_marshal_VOID__OBJECT, + G_TYPE_NONE, + 1, + G_TYPE_OBJECT); + + g_type_class_add_private(klass, sizeof(SpiceMainChannelPrivate)); +} + +/* signal trampoline---------------------------------------------------------- */ + +struct SPICE_MAIN_CLIPBOARD_RELEASE { +}; + +struct SPICE_MAIN_AGENT_UPDATE { +}; + +struct SPICE_MAIN_MOUSE_UPDATE { +}; + +struct SPICE_MAIN_CLIPBOARD { + guint type; + gpointer data; + gsize size; +}; + +struct SPICE_MAIN_CLIPBOARD_GRAB { + gpointer types; + gsize ntypes; + gboolean *ret; +}; + +struct SPICE_MAIN_CLIPBOARD_REQUEST { + guint type; + gboolean *ret; +}; + +struct SPICE_MAIN_CLIPBOARD_SELECTION { + guint8 selection; + guint type; + gpointer data; + gsize size; +}; + +struct SPICE_MAIN_CLIPBOARD_SELECTION_GRAB { + guint8 selection; + gpointer types; + gsize ntypes; + gboolean *ret; +}; + +struct SPICE_MAIN_CLIPBOARD_SELECTION_REQUEST { + guint8 selection; + guint type; + gboolean *ret; +}; + +struct SPICE_MAIN_CLIPBOARD_SELECTION_RELEASE { + guint8 selection; +}; + +/* main context */ +static void do_emit_main_context(GObject *object, int signum, gpointer params) +{ + switch (signum) { + case SPICE_MAIN_CLIPBOARD_RELEASE: + case SPICE_MAIN_AGENT_UPDATE: + case SPICE_MAIN_MOUSE_UPDATE: { + g_signal_emit(object, signals[signum], 0); + break; + } + case SPICE_MAIN_CLIPBOARD: { + struct SPICE_MAIN_CLIPBOARD *p = params; + g_signal_emit(object, signals[signum], 0, + p->type, p->data, p->size); + break; + } + case SPICE_MAIN_CLIPBOARD_GRAB: { + struct SPICE_MAIN_CLIPBOARD_GRAB *p = params; + g_signal_emit(object, signals[signum], 0, + p->types, p->ntypes, p->ret); + break; + } + case SPICE_MAIN_CLIPBOARD_REQUEST: { + struct SPICE_MAIN_CLIPBOARD_REQUEST *p = params; + g_signal_emit(object, signals[signum], 0, + p->type, p->ret); + break; + } + case SPICE_MAIN_CLIPBOARD_SELECTION: { + struct SPICE_MAIN_CLIPBOARD_SELECTION *p = params; + g_signal_emit(object, signals[signum], 0, + p->selection, p->type, p->data, p->size); + break; + } + case SPICE_MAIN_CLIPBOARD_SELECTION_GRAB: { + struct SPICE_MAIN_CLIPBOARD_SELECTION_GRAB *p = params; + g_signal_emit(object, signals[signum], 0, + p->selection, p->types, p->ntypes, p->ret); + break; + } + case SPICE_MAIN_CLIPBOARD_SELECTION_REQUEST: { + struct SPICE_MAIN_CLIPBOARD_SELECTION_REQUEST *p = params; + g_signal_emit(object, signals[signum], 0, + p->selection, p->type, p->ret); + break; + } + case SPICE_MAIN_CLIPBOARD_SELECTION_RELEASE: { + struct SPICE_MAIN_CLIPBOARD_SELECTION_RELEASE *p = params; + g_signal_emit(object, signals[signum], 0, + p->selection); + break; + } + default: + g_warn_if_reached(); + } +} + +/* ------------------------------------------------------------------ */ + + +static void agent_free_msg_queue(SpiceMainChannel *channel) +{ + SpiceMainChannelPrivate *c = channel->priv; + SpiceMsgOut *out; + + if (!c->agent_msg_queue) + return; + + while (!g_queue_is_empty(c->agent_msg_queue)) { + out = g_queue_pop_head(c->agent_msg_queue); + spice_msg_out_unref(out); + } + + g_queue_free(c->agent_msg_queue); + c->agent_msg_queue = NULL; +} + +/* Here, flushing algorithm is stolen from spice-channel.c */ +static void file_xfer_flushed(SpiceMainChannel *channel, gboolean success) +{ + SpiceMainChannelPrivate *c = channel->priv; + GSList *l; + + for (l = c->flushing; l != NULL; l = l->next) { + GSimpleAsyncResult *result = G_SIMPLE_ASYNC_RESULT(l->data); + g_simple_async_result_set_op_res_gboolean(result, success); + g_simple_async_result_complete_in_idle(result); + } + + g_slist_free_full(c->flushing, g_object_unref); + c->flushing = NULL; +} + +static void file_xfer_flush_async(SpiceMainChannel *channel, GCancellable *cancellable, + GAsyncReadyCallback callback, gpointer user_data) +{ + GSimpleAsyncResult *simple; + SpiceMainChannelPrivate *c = channel->priv; + gboolean was_empty; + + simple = g_simple_async_result_new(G_OBJECT(channel), callback, user_data, + file_xfer_flush_async); + + was_empty = g_queue_is_empty(c->agent_msg_queue); + if (was_empty) { + g_simple_async_result_set_op_res_gboolean(simple, TRUE); + g_simple_async_result_complete_in_idle(simple); + g_object_unref(simple); + return; + } + + c->flushing = g_slist_append(c->flushing, simple); +} + +static gboolean file_xfer_flush_finish(SpiceMainChannel *channel, GAsyncResult *result, + GError **error) +{ + GSimpleAsyncResult *simple = (GSimpleAsyncResult *)result; + + g_return_val_if_fail(g_simple_async_result_is_valid(result, + G_OBJECT(channel), file_xfer_flush_async), FALSE); + + if (g_simple_async_result_propagate_error(simple, error)) { + return FALSE; + } + + CHANNEL_DEBUG(channel, "flushed finished!"); + return g_simple_async_result_get_op_res_gboolean(simple); +} + +/* coroutine context */ +static void agent_send_msg_queue(SpiceMainChannel *channel) +{ + SpiceMainChannelPrivate *c = channel->priv; + SpiceMsgOut *out; + + while (c->agent_tokens > 0 && + !g_queue_is_empty(c->agent_msg_queue)) { + c->agent_tokens--; + out = g_queue_pop_head(c->agent_msg_queue); + spice_msg_out_send_internal(out); + } + if (g_queue_is_empty(c->agent_msg_queue) && c->flushing != NULL) { + file_xfer_flushed(channel, TRUE); + } +} + +/* any context: the message is not flushed immediately, + you can wakeup() the channel coroutine or send_msg_queue() + + expected arguments, pair of data/data_size to send terminated with NULL: + agent_msg_queue_many(main, VD_AGENT_..., + &foo, sizeof(Foo), + data, data_size, NULL); +*/ +G_GNUC_NULL_TERMINATED +static void agent_msg_queue_many(SpiceMainChannel *channel, int type, const void *data, ...) +{ + va_list args; + SpiceMainChannelPrivate *c = channel->priv; + SpiceMsgOut *out; + VDAgentMessage msg; + guint8 *payload; + gsize paysize, s, mins, size = 0; + const guint8 *d; + + G_STATIC_ASSERT(VD_AGENT_MAX_DATA_SIZE > sizeof(VDAgentMessage)); + + va_start(args, data); + for (d = data; d != NULL; d = va_arg(args, void*)) { + size += va_arg(args, gsize); + } + va_end(args); + + msg.protocol = VD_AGENT_PROTOCOL; + msg.type = type; + msg.opaque = 0; + msg.size = size; + + paysize = MIN(VD_AGENT_MAX_DATA_SIZE, size + sizeof(VDAgentMessage)); + out = spice_msg_out_new(SPICE_CHANNEL(channel), SPICE_MSGC_MAIN_AGENT_DATA); + payload = spice_marshaller_reserve_space(out->marshaller, paysize); + memcpy(payload, &msg, sizeof(VDAgentMessage)); + payload += sizeof(VDAgentMessage); + paysize -= sizeof(VDAgentMessage); + if (paysize == 0) { + g_queue_push_tail(c->agent_msg_queue, out); + out = NULL; + } + + va_start(args, data); + for (d = data; size > 0; d = va_arg(args, void*)) { + s = va_arg(args, gsize); + while (s > 0) { + if (out == NULL) { + paysize = MIN(VD_AGENT_MAX_DATA_SIZE, size); + out = spice_msg_out_new(SPICE_CHANNEL(channel), SPICE_MSGC_MAIN_AGENT_DATA); + payload = spice_marshaller_reserve_space(out->marshaller, paysize); + } + mins = MIN(paysize, s); + memcpy(payload, d, mins); + d += mins; + payload += mins; + s -= mins; + size -= mins; + paysize -= mins; + if (paysize == 0) { + g_queue_push_tail(c->agent_msg_queue, out); + out = NULL; + } + } + } + va_end(args); + g_warn_if_fail(out == NULL); +} + +static int monitors_cmp(const void *p1, const void *p2, gpointer user_data) +{ + const VDAgentMonConfig *m1 = p1; + const VDAgentMonConfig *m2 = p2; + double d1 = sqrt(m1->x * m1->x + m1->y * m1->y); + double d2 = sqrt(m2->x * m2->x + m2->y * m2->y); + int diff = d1 - d2; + + return diff == 0 ? (char*)p1 - (char*)p2 : diff; +} + +static void monitors_align(VDAgentMonConfig *monitors, int nmonitors) +{ + gint i, j, x = 0; + guint32 used = 0; + VDAgentMonConfig *sorted_monitors; + + if (nmonitors == 0) + return; + + /* sort by distance from origin */ + sorted_monitors = g_memdup(monitors, nmonitors * sizeof(VDAgentMonConfig)); + g_qsort_with_data(sorted_monitors, nmonitors, sizeof(VDAgentMonConfig), monitors_cmp, NULL); + + /* super-KISS ltr alignment, feel free to improve */ + for (i = 0; i < nmonitors; i++) { + /* Find where this monitor is in the sorted order */ + for (j = 0; j < nmonitors; j++) { + /* Avoid using the same entry twice, this happens with older + virt-viewer versions which always set x and y to 0 */ + if (used & (1 << j)) + continue; + if (memcmp(&monitors[j], &sorted_monitors[i], + sizeof(VDAgentMonConfig)) == 0) + break; + } + used |= 1 << j; + monitors[j].x = x; + monitors[j].y = 0; + x += monitors[j].width; + if (monitors[j].width || monitors[j].height) + SPICE_DEBUG("#%d +%d+%d-%dx%d", j, monitors[j].x, monitors[j].y, + monitors[j].width, monitors[j].height); + } + g_free(sorted_monitors); +} + + +#define agent_msg_queue(Channel, Type, Size, Data) \ + agent_msg_queue_many((Channel), (Type), (Data), (Size), NULL) + +/** + * spice_main_send_monitor_config: + * @channel: + * + * Send monitors configuration previously set with + * spice_main_set_display() and spice_main_set_display_enabled() + * + * Returns: %TRUE on success. + **/ +gboolean spice_main_send_monitor_config(SpiceMainChannel *channel) +{ + SpiceMainChannelPrivate *c; + VDAgentMonitorsConfig *mon; + int i, j, monitors; + size_t size; + + g_return_val_if_fail(SPICE_IS_MAIN_CHANNEL(channel), FALSE); + c = channel->priv; + g_return_val_if_fail(c->agent_connected, FALSE); + + if (spice_main_agent_test_capability(channel, + VD_AGENT_CAP_SPARSE_MONITORS_CONFIG)) { + monitors = SPICE_N_ELEMENTS(c->display); + } else { + monitors = 0; + for (i = 0; i < SPICE_N_ELEMENTS(c->display); i++) { + if (c->display[i].enabled) + monitors += 1; + } + } + + size = sizeof(VDAgentMonitorsConfig) + sizeof(VDAgentMonConfig) * monitors; + mon = spice_malloc0(size); + + mon->num_of_monitors = monitors; + if (c->disable_display_position == FALSE || + c->disable_display_align == FALSE) + mon->flags |= VD_AGENT_CONFIG_MONITORS_FLAG_USE_POS; + + j = 0; + for (i = 0; i < SPICE_N_ELEMENTS(c->display); i++) { + if (!c->display[i].enabled) { + if (spice_main_agent_test_capability(channel, + VD_AGENT_CAP_SPARSE_MONITORS_CONFIG)) + j++; + continue; + } + mon->monitors[j].depth = c->display_color_depth ? c->display_color_depth : 32; + mon->monitors[j].width = c->display[i].width; + mon->monitors[j].height = c->display[i].height; + mon->monitors[j].x = c->display[i].x; + mon->monitors[j].y = c->display[i].y; + CHANNEL_DEBUG(channel, "monitor config: #%d %dx%d+%d+%d @ %d bpp", j, + mon->monitors[j].width, mon->monitors[j].height, + mon->monitors[j].x, mon->monitors[j].y, + mon->monitors[j].depth); + j++; + } + + if (c->disable_display_align == FALSE) + monitors_align(mon->monitors, mon->num_of_monitors); + + agent_msg_queue(channel, VD_AGENT_MONITORS_CONFIG, size, mon); + free(mon); + + spice_channel_wakeup(SPICE_CHANNEL(channel), FALSE); + if (c->timer_id != 0) { + g_source_remove(c->timer_id); + c->timer_id = 0; + } + + return TRUE; +} + +/* any context: the message is not flushed immediately, + you can wakeup() the channel coroutine or send_msg_queue() */ +static void agent_display_config(SpiceMainChannel *channel) +{ + SpiceMainChannelPrivate *c = channel->priv; + VDAgentDisplayConfig config = { 0, }; + + if (c->display_disable_wallpaper) { + config.flags |= VD_AGENT_DISPLAY_CONFIG_FLAG_DISABLE_WALLPAPER; + } + + if (c->display_disable_font_smooth) { + config.flags |= VD_AGENT_DISPLAY_CONFIG_FLAG_DISABLE_FONT_SMOOTH; + } + + if (c->display_disable_animation) { + config.flags |= VD_AGENT_DISPLAY_CONFIG_FLAG_DISABLE_ANIMATION; + } + + if (c->display_color_depth != 0) { + config.flags |= VD_AGENT_DISPLAY_CONFIG_FLAG_SET_COLOR_DEPTH; + config.depth = c->display_color_depth; + } + + CHANNEL_DEBUG(channel, "display_config: flags: %u, depth: %u", config.flags, config.depth); + + agent_msg_queue(channel, VD_AGENT_DISPLAY_CONFIG, sizeof(VDAgentDisplayConfig), &config); +} + +/* any context: the message is not flushed immediately, + you can wakeup() the channel coroutine or send_msg_queue() */ +static void agent_announce_caps(SpiceMainChannel *channel) +{ + SpiceMainChannelPrivate *c = channel->priv; + VDAgentAnnounceCapabilities *caps; + size_t size; + + if (!c->agent_connected) + return; + + size = sizeof(VDAgentAnnounceCapabilities) + VD_AGENT_CAPS_BYTES; + caps = spice_malloc0(size); + if (!c->agent_caps_received) + caps->request = 1; + VD_AGENT_SET_CAPABILITY(caps->caps, VD_AGENT_CAP_MOUSE_STATE); + VD_AGENT_SET_CAPABILITY(caps->caps, VD_AGENT_CAP_MONITORS_CONFIG); + VD_AGENT_SET_CAPABILITY(caps->caps, VD_AGENT_CAP_REPLY); + VD_AGENT_SET_CAPABILITY(caps->caps, VD_AGENT_CAP_DISPLAY_CONFIG); + VD_AGENT_SET_CAPABILITY(caps->caps, VD_AGENT_CAP_CLIPBOARD_BY_DEMAND); + VD_AGENT_SET_CAPABILITY(caps->caps, VD_AGENT_CAP_CLIPBOARD_SELECTION); + + agent_msg_queue(channel, VD_AGENT_ANNOUNCE_CAPABILITIES, size, caps); + free(caps); +} + +#define HAS_CLIPBOARD_SELECTION(c) \ + VD_AGENT_HAS_CAPABILITY((c)->agent_caps, G_N_ELEMENTS((c)->agent_caps), VD_AGENT_CAP_CLIPBOARD_SELECTION) + +/* any context: the message is not flushed immediately, + you can wakeup() the channel coroutine or send_msg_queue() */ +static void agent_clipboard_grab(SpiceMainChannel *channel, guint selection, + guint32 *types, int ntypes) +{ + SpiceMainChannelPrivate *c = channel->priv; + guint8 *msg; + VDAgentClipboardGrab *grab; + size_t size; + int i; + + if (!c->agent_connected) + return; + + g_return_if_fail(VD_AGENT_HAS_CAPABILITY(c->agent_caps, + G_N_ELEMENTS(c->agent_caps), VD_AGENT_CAP_CLIPBOARD_BY_DEMAND)); + + size = sizeof(VDAgentClipboardGrab) + sizeof(uint32_t) * ntypes; + if (HAS_CLIPBOARD_SELECTION(c)) + size += 4; + else if (selection != VD_AGENT_CLIPBOARD_SELECTION_CLIPBOARD) { + CHANNEL_DEBUG(channel, "Ignoring clipboard grab"); + return; + } + + msg = g_alloca(size); + memset(msg, 0, size); + + grab = (VDAgentClipboardGrab *)msg; + + if (HAS_CLIPBOARD_SELECTION(c)) { + msg[0] = selection; + grab = (VDAgentClipboardGrab *)(msg + 4); + } + + for (i = 0; i < ntypes; i++) { + grab->types[i] = types[i]; + } + + agent_msg_queue(channel, VD_AGENT_CLIPBOARD_GRAB, size, msg); +} + +/* any context: the message is not flushed immediately, + you can wakeup() the channel coroutine or send_msg_queue() */ +static void agent_clipboard_notify(SpiceMainChannel *channel, guint selection, + guint32 type, const guchar *data, size_t size) +{ + SpiceMainChannelPrivate *c = channel->priv; + VDAgentClipboard *cb; + guint8 *msg; + size_t msgsize; + + g_return_if_fail(c->agent_connected); + + g_return_if_fail(VD_AGENT_HAS_CAPABILITY(c->agent_caps, + G_N_ELEMENTS(c->agent_caps), VD_AGENT_CAP_CLIPBOARD_BY_DEMAND)); + + msgsize = sizeof(VDAgentClipboard); + if (HAS_CLIPBOARD_SELECTION(c)) + msgsize += 4; + else if (selection != VD_AGENT_CLIPBOARD_SELECTION_CLIPBOARD) { + CHANNEL_DEBUG(channel, "Ignoring clipboard notify"); + return; + } + + msg = g_alloca(msgsize); + memset(msg, 0, msgsize); + + cb = (VDAgentClipboard *)msg; + + if (HAS_CLIPBOARD_SELECTION(c)) { + msg[0] = selection; + cb = (VDAgentClipboard *)(msg + 4); + } + + cb->type = type; + agent_msg_queue_many(channel, VD_AGENT_CLIPBOARD, msg, msgsize, data, size, NULL); +} + +/* any context: the message is not flushed immediately, + you can wakeup() the channel coroutine or send_msg_queue() */ +static void agent_clipboard_request(SpiceMainChannel *channel, guint selection, guint32 type) +{ + SpiceMainChannelPrivate *c = channel->priv; + VDAgentClipboardRequest *request; + guint8 *msg; + size_t msgsize; + + g_return_if_fail(c->agent_connected); + + g_return_if_fail(VD_AGENT_HAS_CAPABILITY(c->agent_caps, + G_N_ELEMENTS(c->agent_caps), VD_AGENT_CAP_CLIPBOARD_BY_DEMAND)); + + msgsize = sizeof(VDAgentClipboardRequest); + if (HAS_CLIPBOARD_SELECTION(c)) + msgsize += 4; + else if (selection != VD_AGENT_CLIPBOARD_SELECTION_CLIPBOARD) { + SPICE_DEBUG("Ignoring clipboard request"); + return; + } + + msg = g_alloca(msgsize); + memset(msg, 0, msgsize); + + request = (VDAgentClipboardRequest *)msg; + + if (HAS_CLIPBOARD_SELECTION(c)) { + msg[0] = selection; + request = (VDAgentClipboardRequest *)(msg + 4); + } + + request->type = type; + + agent_msg_queue(channel, VD_AGENT_CLIPBOARD_REQUEST, msgsize, msg); +} + +/* any context: the message is not flushed immediately, + you can wakeup() the channel coroutine or send_msg_queue() */ +static void agent_clipboard_release(SpiceMainChannel *channel, guint selection) +{ + SpiceMainChannelPrivate *c = channel->priv; + guint8 msg[4] = { 0, }; + guint8 msgsize = 0; + + g_return_if_fail(c->agent_connected); + + g_return_if_fail(VD_AGENT_HAS_CAPABILITY(c->agent_caps, + G_N_ELEMENTS(c->agent_caps), VD_AGENT_CAP_CLIPBOARD_BY_DEMAND)); + + if (HAS_CLIPBOARD_SELECTION(c)) { + msg[0] = selection; + msgsize += 4; + } else if (selection != VD_AGENT_CLIPBOARD_SELECTION_CLIPBOARD) { + SPICE_DEBUG("Ignoring clipboard release"); + return; + } + + agent_msg_queue(channel, VD_AGENT_CLIPBOARD_RELEASE, msgsize, msg); +} + +/* main context*/ +static gboolean timer_set_display(gpointer data) +{ + SpiceMainChannel *channel = data; + SpiceMainChannelPrivate *c = channel->priv; + + c->timer_id = 0; + if (c->agent_connected) + spice_main_send_monitor_config(channel); + + return FALSE; +} + +/* any context */ +static void update_display_timer(SpiceMainChannel *channel, guint seconds) +{ + SpiceMainChannelPrivate *c = channel->priv; + + if (c->timer_id) + g_source_remove(c->timer_id); + + c->timer_id = g_timeout_add_seconds(seconds, timer_set_display, channel); +} + +/* coroutine context */ +static void set_agent_connected(SpiceMainChannel *channel, gboolean connected) +{ + SpiceMainChannelPrivate *c = channel->priv; + + SPICE_DEBUG("agent connected: %s", spice_yes_no(connected)); + if (connected != c->agent_connected) { + c->agent_connected = connected; + g_object_notify_main_context(G_OBJECT(channel), "agent-connected"); + } +} + +/* coroutine context */ +static void agent_start(SpiceMainChannel *channel) +{ + SpiceMainChannelPrivate *c = channel->priv; + SpiceMsgcMainAgentStart agent_start = { + .num_tokens = ~0, + }; + SpiceMsgOut *out; + + set_agent_connected(channel, TRUE); + c->agent_caps_received = false; + emit_main_context(channel, SPICE_MAIN_AGENT_UPDATE); + + out = spice_msg_out_new(SPICE_CHANNEL(channel), SPICE_MSGC_MAIN_AGENT_START); + out->marshallers->msgc_main_agent_start(out->marshaller, &agent_start); + spice_msg_out_send_internal(out); + + if (c->agent_connected) { + agent_announce_caps(channel); + agent_send_msg_queue(channel); + } +} + +/* coroutine context */ +static void agent_stopped(SpiceMainChannel *channel) +{ + spice_main_channel_reset_agent(channel); + set_agent_connected(channel, FALSE); /* For notify */ + emit_main_context(channel, SPICE_MAIN_AGENT_UPDATE); +} + +/* coroutine context */ +static void set_mouse_mode(SpiceMainChannel *channel, uint32_t supported, uint32_t current) +{ + SpiceMainChannelPrivate *c = channel->priv; + + if (c->mouse_mode != current) { + c->mouse_mode = current; + emit_main_context(channel, SPICE_MAIN_MOUSE_UPDATE); + g_object_notify_main_context(G_OBJECT(channel), "mouse-mode"); + } + + /* switch to client mode if possible */ + if (!spice_channel_get_read_only(SPICE_CHANNEL(channel)) && + supported & SPICE_MOUSE_MODE_CLIENT && + current != SPICE_MOUSE_MODE_CLIENT) { + SpiceMsgcMainMouseModeRequest req = { + .mode = SPICE_MOUSE_MODE_CLIENT, + }; + SpiceMsgOut *out; + + out = spice_msg_out_new(SPICE_CHANNEL(channel), SPICE_MSGC_MAIN_MOUSE_MODE_REQUEST); + out->marshallers->msgc_main_mouse_mode_request(out->marshaller, &req); + spice_msg_out_send_internal(out); + } +} + +/* coroutine context */ +static void main_handle_init(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMainChannelPrivate *c = SPICE_MAIN_CHANNEL(channel)->priv; + SpiceMsgMainInit *init = spice_msg_in_parsed(in); + SpiceSession *session; + SpiceMsgOut *out; + + session = spice_channel_get_session(channel); + spice_session_set_connection_id(session, init->session_id); + + set_mouse_mode(SPICE_MAIN_CHANNEL(channel), init->supported_mouse_modes, + init->current_mouse_mode); + + spice_session_set_mm_time(session, init->multi_media_time); + spice_session_set_caches_hints(session, init->ram_hint, init->display_channels_hint); + + c->agent_tokens = init->agent_tokens; + if (init->agent_connected) + agent_start(SPICE_MAIN_CHANNEL(channel)); + + if (spice_session_migrate_after_main_init(session)) + return; + + out = spice_msg_out_new(SPICE_CHANNEL(channel), SPICE_MSGC_MAIN_ATTACH_CHANNELS); + spice_msg_out_send_internal(out); +} + +/* coroutine context */ +static void main_handle_name(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgMainName *name = spice_msg_in_parsed(in); + SpiceSession *session = spice_channel_get_session(channel); + + SPICE_DEBUG("server name: %s", name->name); + spice_session_set_name(session, (const gchar *)name->name); +} + +/* coroutine context */ +static void main_handle_uuid(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgMainUuid *uuid = spice_msg_in_parsed(in); + SpiceSession *session = spice_channel_get_session(channel); + gchar *uuid_str = spice_uuid_to_string(uuid->uuid); + + SPICE_DEBUG("server uuid: %s", uuid_str); + spice_session_set_uuid(session, uuid->uuid); + + g_free(uuid_str); +} + +/* coroutine context */ +static void main_handle_mm_time(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceSession *session; + SpiceMsgMainMultiMediaTime *msg = spice_msg_in_parsed(in); + + session = spice_channel_get_session(channel); + spice_session_set_mm_time(session, msg->time); +} + +typedef struct channel_new { + SpiceSession *session; + int type; + int id; +} channel_new_t; + +/* main context */ +static gboolean _channel_new(channel_new_t *c) +{ + g_return_val_if_fail(c != NULL, FALSE); + + spice_channel_new(c->session, c->type, c->id); + + g_object_unref(c->session); + g_free(c); + + return FALSE; +} + +/* coroutine context */ +static void main_handle_channels_list(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgChannels *msg = spice_msg_in_parsed(in); + SpiceSession *session; + int i; + + session = spice_channel_get_session(channel); + for (i = 0; i < msg->num_of_channels; i++) { + channel_new_t *c; + + c = g_new(channel_new_t, 1); + c->session = g_object_ref(session); + c->type = msg->channels[i].type; + c->id = msg->channels[i].id; + /* no need to explicitely switch to main context, since + synchronous call is not needed. */ + /* no need to track idle, session is refed */ + g_idle_add((GSourceFunc)_channel_new, c); + } +} + +/* coroutine context */ +static void main_handle_mouse_mode(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgMainMouseMode *msg = spice_msg_in_parsed(in); + set_mouse_mode(SPICE_MAIN_CHANNEL(channel), msg->supported_modes, msg->current_mode); +} + +/* coroutine context */ +static void main_handle_agent_connected(SpiceChannel *channel, SpiceMsgIn *in) +{ + agent_start(SPICE_MAIN_CHANNEL(channel)); + update_display_timer(SPICE_MAIN_CHANNEL(channel), 0); +} + +/* coroutine context */ +static void main_handle_agent_connected_tokens(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMainChannelPrivate *c = SPICE_MAIN_CHANNEL(channel)->priv; + SpiceMsgMainAgentConnectedTokens *msg = spice_msg_in_parsed(in); + + c->agent_tokens = msg->num_tokens; + agent_start(SPICE_MAIN_CHANNEL(channel)); + update_display_timer(SPICE_MAIN_CHANNEL(channel), 0); +} + +/* coroutine context */ +static void main_handle_agent_disconnected(SpiceChannel *channel, SpiceMsgIn *in) +{ + agent_stopped(SPICE_MAIN_CHANNEL(channel)); +} + +static void file_xfer_task_free(SpiceFileXferTask *task) +{ + SpiceMainChannelPrivate *c; + + g_return_if_fail(task != NULL); + + c = task->channel->priv; + g_hash_table_remove(c->file_xfer_tasks, GUINT_TO_POINTER(task->id)); + + g_clear_object(&task->channel); + g_clear_object(&task->file); + g_clear_object(&task->file_stream); + g_free(task); +} + +/* main context */ +static void file_xfer_close_cb(GObject *object, + GAsyncResult *close_res, + gpointer user_data) +{ + GSimpleAsyncResult *res; + SpiceFileXferTask *task; + GError *error = NULL; + + task = user_data; + + if (object) { + GInputStream *stream = G_INPUT_STREAM(object); + g_input_stream_close_finish(stream, close_res, &error); + if (error) { + /* This error dont need to report to user, just print a log */ + SPICE_DEBUG("close file error: %s", error->message); + g_clear_error(&error); + } + } + + /* Notify to user that files have been transferred or something error + happened. */ + res = g_simple_async_result_new(G_OBJECT(task->channel), + task->callback, + task->user_data, + spice_main_file_copy_async); + if (task->error) { + g_simple_async_result_take_error(res, task->error); + g_simple_async_result_set_op_res_gboolean(res, FALSE); + } else { + g_simple_async_result_set_op_res_gboolean(res, TRUE); + } + g_simple_async_result_complete_in_idle(res); + g_object_unref(res); + + file_xfer_task_free(task); +} + +static void file_xfer_data_flushed_cb(GObject *source_object, + GAsyncResult *res, + gpointer user_data) +{ + SpiceFileXferTask *task = user_data; + SpiceMainChannel *channel = (SpiceMainChannel *)source_object; + GError *error = NULL; + + task->pending = FALSE; + file_xfer_flush_finish(channel, res, &error); + if (error || task->error) { + file_xfer_completed(task, error); + return; + } + + if (task->progress_callback) + task->progress_callback(task->read_bytes, task->file_size, + task->progress_callback_data); + + /* Read more data */ + file_xfer_continue_read(task); +} + +static void file_xfer_queue(SpiceFileXferTask *task, int data_size) +{ + VDAgentFileXferDataMessage msg; + SpiceMainChannel *channel = SPICE_MAIN_CHANNEL(task->channel); + + msg.id = task->id; + msg.size = data_size; + agent_msg_queue_many(channel, VD_AGENT_FILE_XFER_DATA, + &msg, sizeof(msg), + task->buffer, data_size, NULL); + spice_channel_wakeup(SPICE_CHANNEL(channel), FALSE); +} + +/* main context */ +static void file_xfer_read_cb(GObject *source_object, + GAsyncResult *res, + gpointer user_data) +{ + SpiceFileXferTask *task = user_data; + SpiceMainChannel *channel = task->channel; + gssize count; + GError *error = NULL; + + task->pending = FALSE; + count = g_input_stream_read_finish(G_INPUT_STREAM(task->file_stream), + res, &error); + /* Check for pending earlier errors */ + if (task->error) { + file_xfer_completed(task, error); + return; + } + + if (count > 0) { + task->read_bytes += count; + file_xfer_queue(task, count); + file_xfer_flush_async(channel, task->cancellable, + file_xfer_data_flushed_cb, task); + task->pending = TRUE; + } else if (error) { + VDAgentFileXferStatusMessage msg = { + .id = task->id, + .result = VD_AGENT_FILE_XFER_STATUS_ERROR, + }; + agent_msg_queue_many(task->channel, VD_AGENT_FILE_XFER_STATUS, + &msg, sizeof(msg), NULL); + spice_channel_wakeup(SPICE_CHANNEL(task->channel), FALSE); + file_xfer_completed(task, error); + } + /* else EOF, do nothing (wait for VD_AGENT_FILE_XFER_STATUS from agent) */ +} + +/* coroutine context */ +static void file_xfer_continue_read(SpiceFileXferTask *task) +{ + g_input_stream_read_async(G_INPUT_STREAM(task->file_stream), + task->buffer, + FILE_XFER_CHUNK_SIZE, + G_PRIORITY_DEFAULT, + task->cancellable, + file_xfer_read_cb, + task); + task->pending = TRUE; +} + +/* coroutine context */ +static void file_xfer_handle_status(SpiceMainChannel *channel, + VDAgentFileXferStatusMessage *msg) +{ + SpiceMainChannelPrivate *c = channel->priv; + SpiceFileXferTask *task; + GError *error = NULL; + + + task = g_hash_table_lookup(c->file_xfer_tasks, GUINT_TO_POINTER(msg->id)); + if (task == NULL) { + SPICE_DEBUG("cannot find task %d", msg->id); + return; + } + + SPICE_DEBUG("task %d received response %d", msg->id, msg->result); + + switch (msg->result) { + case VD_AGENT_FILE_XFER_STATUS_CAN_SEND_DATA: + if (task->pending) { + error = g_error_new(SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + "transfer received CAN_SEND_DATA in pending state"); + break; + } + file_xfer_continue_read(task); + return; + case VD_AGENT_FILE_XFER_STATUS_CANCELLED: + error = g_error_new(SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + "transfer is cancelled by spice agent"); + break; + case VD_AGENT_FILE_XFER_STATUS_ERROR: + error = g_error_new(SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + "some errors occurred in the spice agent"); + break; + case VD_AGENT_FILE_XFER_STATUS_SUCCESS: + if (task->pending) + error = g_error_new(SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + "transfer received success in pending state"); + break; + default: + g_warn_if_reached(); + error = g_error_new(SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + "unhandled status type: %u", msg->result); + break; + } + + file_xfer_completed(task, error); +} + +/* coroutine context */ +static void main_agent_handle_msg(SpiceChannel *channel, + VDAgentMessage *msg, gpointer payload) +{ + SpiceMainChannelPrivate *c = SPICE_MAIN_CHANNEL(channel)->priv; + guint8 selection = VD_AGENT_CLIPBOARD_SELECTION_CLIPBOARD; + + g_return_if_fail(msg->protocol == VD_AGENT_PROTOCOL); + + switch (msg->type) { + case VD_AGENT_CLIPBOARD_RELEASE: + case VD_AGENT_CLIPBOARD_REQUEST: + case VD_AGENT_CLIPBOARD_GRAB: + case VD_AGENT_CLIPBOARD: + if (VD_AGENT_HAS_CAPABILITY(c->agent_caps, G_N_ELEMENTS(c->agent_caps), VD_AGENT_CAP_CLIPBOARD_SELECTION)) { + selection = *((guint8*)payload); + payload = ((guint8*)payload) + 4; + msg->size -= 4; + } + break; + default: + break; + } + + switch (msg->type) { + case VD_AGENT_ANNOUNCE_CAPABILITIES: + { + VDAgentAnnounceCapabilities *caps = payload; + int i, size; + + size = VD_AGENT_CAPS_SIZE_FROM_MSG_SIZE(msg->size); + if (size > VD_AGENT_CAPS_SIZE) + size = VD_AGENT_CAPS_SIZE; + memset(c->agent_caps, 0, sizeof(c->agent_caps)); + for (i = 0; i < size * 32; i++) { + if (!VD_AGENT_HAS_CAPABILITY(caps->caps, size, i)) + continue; + SPICE_DEBUG("%s: cap: %d (%s)", __FUNCTION__, + i, NAME(agent_caps, i)); + VD_AGENT_SET_CAPABILITY(c->agent_caps, i); + } + c->agent_caps_received = true; + emit_main_context(channel, SPICE_MAIN_AGENT_UPDATE); + + if (caps->request) + agent_announce_caps(SPICE_MAIN_CHANNEL(channel)); + + if (VD_AGENT_HAS_CAPABILITY(caps->caps, G_N_ELEMENTS(c->agent_caps), VD_AGENT_CAP_DISPLAY_CONFIG) && + !c->agent_display_config_sent) { + agent_display_config(SPICE_MAIN_CHANNEL(channel)); + agent_send_msg_queue(SPICE_MAIN_CHANNEL(channel)); + c->agent_display_config_sent = true; + } + break; + } + case VD_AGENT_CLIPBOARD: + { + VDAgentClipboard *cb = payload; + emit_main_context(channel, SPICE_MAIN_CLIPBOARD_SELECTION, selection, + cb->type, cb->data, msg->size - sizeof(VDAgentClipboard)); + + if (selection == VD_AGENT_CLIPBOARD_SELECTION_CLIPBOARD) + emit_main_context(channel, SPICE_MAIN_CLIPBOARD, + cb->type, cb->data, msg->size - sizeof(VDAgentClipboard)); + break; + } + case VD_AGENT_CLIPBOARD_GRAB: + { + gboolean ret; + emit_main_context(channel, SPICE_MAIN_CLIPBOARD_SELECTION_GRAB, selection, + (guint8*)payload, msg->size / sizeof(uint32_t), &ret); + if (selection == VD_AGENT_CLIPBOARD_SELECTION_CLIPBOARD) + emit_main_context(channel, SPICE_MAIN_CLIPBOARD_GRAB, + payload, msg->size / sizeof(uint32_t), &ret); + break; + } + case VD_AGENT_CLIPBOARD_REQUEST: + { + gboolean ret; + VDAgentClipboardRequest *req = payload; + emit_main_context(channel, SPICE_MAIN_CLIPBOARD_SELECTION_REQUEST, selection, + req->type, &ret); + + if (selection == VD_AGENT_CLIPBOARD_SELECTION_CLIPBOARD) + emit_main_context(channel, SPICE_MAIN_CLIPBOARD_REQUEST, + req->type, &ret); + break; + } + case VD_AGENT_CLIPBOARD_RELEASE: + { + emit_main_context(channel, SPICE_MAIN_CLIPBOARD_SELECTION_RELEASE, selection); + + if (selection == VD_AGENT_CLIPBOARD_SELECTION_CLIPBOARD) + emit_main_context(channel, SPICE_MAIN_CLIPBOARD_RELEASE); + break; + } + case VD_AGENT_REPLY: + { + VDAgentReply *reply = payload; + SPICE_DEBUG("%s: reply: type %d, %s", __FUNCTION__, reply->type, + reply->error == VD_AGENT_SUCCESS ? "success" : "error"); + break; + } + case VD_AGENT_FILE_XFER_STATUS: + file_xfer_handle_status(SPICE_MAIN_CHANNEL(channel), payload); + break; + default: + g_warning("unhandled agent message type: %u (%s), size %u", + msg->type, NAME(agent_msg_types, msg->type), msg->size); + } +} + +/* coroutine context */ +static void main_handle_agent_data_msg(SpiceChannel* channel, int* msg_size, guchar** msg_pos) +{ + SpiceMainChannelPrivate *c = SPICE_MAIN_CHANNEL(channel)->priv; + int n; + + if (c->agent_msg_pos < sizeof(VDAgentMessage)) { + n = MIN(sizeof(VDAgentMessage) - c->agent_msg_pos, *msg_size); + memcpy((uint8_t*)&c->agent_msg + c->agent_msg_pos, *msg_pos, n); + c->agent_msg_pos += n; + *msg_size -= n; + *msg_pos += n; + if (c->agent_msg_pos == sizeof(VDAgentMessage)) { + SPICE_DEBUG("agent msg start: msg_size=%d, protocol=%d, type=%d", + c->agent_msg.size, c->agent_msg.protocol, c->agent_msg.type); + g_return_if_fail(c->agent_msg_data == NULL); + c->agent_msg_data = g_malloc(c->agent_msg.size); + } + } + + if (c->agent_msg_pos >= sizeof(VDAgentMessage)) { + n = MIN(sizeof(VDAgentMessage) + c->agent_msg.size - c->agent_msg_pos, *msg_size); + memcpy(c->agent_msg_data + c->agent_msg_pos - sizeof(VDAgentMessage), *msg_pos, n); + c->agent_msg_pos += n; + *msg_size -= n; + *msg_pos += n; + } + + if (c->agent_msg_pos == sizeof(VDAgentMessage) + c->agent_msg.size) { + main_agent_handle_msg(channel, &c->agent_msg, c->agent_msg_data); + g_free(c->agent_msg_data); + c->agent_msg_data = NULL; + c->agent_msg_pos = 0; + } +} + +/* coroutine context */ +static void main_handle_agent_data(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMainChannelPrivate *c = SPICE_MAIN_CHANNEL(channel)->priv; + guint8 *data; + int len; + + g_warn_if_fail(c->agent_connected); + + /* shortcut to avoid extra message allocation & copy if possible */ + if (c->agent_msg_pos == 0) { + VDAgentMessage *msg; + guint msg_size; + + msg = spice_msg_in_raw(in, &len); + msg_size = msg->size; + + if (msg_size + sizeof(VDAgentMessage) == len) { + main_agent_handle_msg(channel, msg, msg->data); + return; + } + } + + data = spice_msg_in_raw(in, &len); + while (len > 0) { + main_handle_agent_data_msg(channel, &len, &data); + } +} + +/* coroutine context */ +static void main_handle_agent_token(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgMainAgentTokens *tokens = spice_msg_in_parsed(in); + SpiceMainChannelPrivate *c = SPICE_MAIN_CHANNEL(channel)->priv; + + c->agent_tokens += tokens->num_tokens; + + agent_send_msg_queue(SPICE_MAIN_CHANNEL(channel)); +} + +/* main context */ +static void migrate_channel_new_cb(SpiceSession *s, SpiceChannel *channel, gpointer data) +{ + g_signal_connect(channel, "channel-event", + G_CALLBACK(migrate_channel_event_cb), data); +} + +static SpiceChannel* migrate_channel_connect(spice_migrate *mig, int type, int id) +{ + SPICE_DEBUG("migrate_channel_connect %d:%d", type, id); + + SpiceChannel *newc = spice_channel_new(mig->session, type, id); + spice_channel_connect(newc); + mig->nchannels++; + + return newc; +} + +/* coroutine context */ +static void spice_main_channel_send_migration_handshake(SpiceChannel *channel) +{ + SpiceMainChannelPrivate *c = SPICE_MAIN_CHANNEL(channel)->priv; + + if (!spice_channel_test_capability(channel, SPICE_MAIN_CAP_SEAMLESS_MIGRATE)) { + c->migrate_data->do_seamless = false; + g_idle_add(main_migrate_handshake_done, c->migrate_data); + } else { + SpiceMsgcMainMigrateDstDoSeamless msg_data; + SpiceMsgOut *msg_out; + + msg_data.src_version = c->migrate_data->src_mig_version; + + msg_out = spice_msg_out_new(channel, SPICE_MSGC_MAIN_MIGRATE_DST_DO_SEAMLESS); + msg_out->marshallers->msgc_main_migrate_dst_do_seamless(msg_out->marshaller, &msg_data); + spice_msg_out_send_internal(msg_out); + } +} + +/* main context */ +static void migrate_channel_event_cb(SpiceChannel *channel, SpiceChannelEvent event, + gpointer data) +{ + spice_migrate *mig = data; + SpiceChannelPrivate *c = SPICE_CHANNEL(channel)->priv; + SpiceSession *session; + + g_return_if_fail(mig->nchannels > 0); + g_signal_handlers_disconnect_by_func(channel, migrate_channel_event_cb, data); + + session = spice_channel_get_session(mig->src_channel); + + switch (event) { + case SPICE_CHANNEL_OPENED: + + if (c->channel_type == SPICE_CHANNEL_MAIN) { + if (mig->do_seamless) { + SpiceMainChannelPrivate *main_priv = SPICE_MAIN_CHANNEL(channel)->priv; + + c->state = SPICE_CHANNEL_STATE_MIGRATION_HANDSHAKE; + mig->dst_channel = channel; + main_priv->migrate_data = mig; + } else { + c->state = SPICE_CHANNEL_STATE_MIGRATING; + mig->nchannels--; + } + /* now connect the rest of the channels */ + GList *channels, *l; + l = channels = spice_session_get_channels(session); + while (l != NULL) { + SpiceChannelPrivate *curc = SPICE_CHANNEL(l->data)->priv; + l = l->next; + if (curc->channel_type == SPICE_CHANNEL_MAIN) + continue; + migrate_channel_connect(mig, curc->channel_type, curc->channel_id); + } + g_list_free(channels); + } else { + c->state = SPICE_CHANNEL_STATE_MIGRATING; + mig->nchannels--; + } + + SPICE_DEBUG("migration: channel opened chan:%p, left %d", channel, mig->nchannels); + if (mig->nchannels == 0) + coroutine_yieldto(mig->from, NULL); + break; + default: + SPICE_DEBUG("error or unhandled channel event during migration: %d", event); + /* go back to main channel to report error */ + coroutine_yieldto(mig->from, NULL); + } +} + +/* main context */ +static gboolean main_migrate_handshake_done(gpointer data) +{ + spice_migrate *mig = data; + SpiceChannelPrivate *c = SPICE_CHANNEL(mig->dst_channel)->priv; + + g_return_val_if_fail(c->channel_type == SPICE_CHANNEL_MAIN, FALSE); + g_return_val_if_fail(c->state == SPICE_CHANNEL_STATE_MIGRATION_HANDSHAKE, FALSE); + + c->state = SPICE_CHANNEL_STATE_MIGRATING; + mig->nchannels--; + if (mig->nchannels == 0) + coroutine_yieldto(mig->from, NULL); + return FALSE; +} + +#ifdef __GNUC__ +typedef struct __attribute__ ((__packed__)) OldRedMigrationBegin { +#else +typedef struct __declspec(align(1)) OldRedMigrationBegin { +#endif + uint16_t port; + uint16_t sport; + char host[0]; +} OldRedMigrationBegin; + +/* main context */ +static gboolean migrate_connect(gpointer data) +{ + spice_migrate *mig = data; + SpiceChannelPrivate *c; + int port, sport; + const char *host; + SpiceSession *session; + + g_return_val_if_fail(mig != NULL, FALSE); + g_return_val_if_fail(mig->info != NULL, FALSE); + g_return_val_if_fail(mig->nchannels == 0, FALSE); + c = SPICE_CHANNEL(mig->src_channel)->priv; + g_return_val_if_fail(c != NULL, FALSE); + + session = spice_channel_get_session(mig->src_channel); + mig->session = spice_session_new_from_session(session); + mig->session->priv->migration_copy = true; + + if ((c->peer_hdr.major_version == 1) && + (c->peer_hdr.minor_version < 1)) { + OldRedMigrationBegin *info = (OldRedMigrationBegin *)mig->info; + SPICE_DEBUG("migrate_begin old %s %d %d", + info->host, info->port, info->sport); + port = info->port; + sport = info->sport; + host = info->host; + } else { + SpiceMigrationDstInfo *info = mig->info; + SPICE_DEBUG("migrate_begin %d %s %d %d", + info->host_size, info->host_data, info->port, info->sport); + port = info->port; + sport = info->sport; + host = (char*)info->host_data; + + if ((c->peer_hdr.major_version == 1) || + (c->peer_hdr.major_version == 2 && c->peer_hdr.minor_version < 1)) { + GByteArray *pubkey = g_byte_array_new(); + + g_byte_array_append(pubkey, info->pub_key_data, info->pub_key_size); + g_object_set(mig->session, + "pubkey", pubkey, + "verify", SPICE_SESSION_VERIFY_PUBKEY, + NULL); + g_byte_array_unref(pubkey); + } else if (info->cert_subject_size == 0 || + strlen((const char*)info->cert_subject_data) == 0) { + /* only verify hostname if no cert subject */ + g_object_set(mig->session, "verify", SPICE_SESSION_VERIFY_HOSTNAME, NULL); + } else { + gchar *subject = g_alloca(info->cert_subject_size + 1); + strncpy(subject, (const char*)info->cert_subject_data, info->cert_subject_size); + subject[info->cert_subject_size] = '\0'; + + // session data are already copied + g_object_set(mig->session, + "cert-subject", subject, + "verify", SPICE_SESSION_VERIFY_SUBJECT, + NULL); + } + } + + if (g_getenv("SPICE_MIG_HOST")) + host = g_getenv("SPICE_MIG_HOST"); + + g_object_set(mig->session, "host", host, NULL); + spice_session_set_port(mig->session, port, FALSE); + spice_session_set_port(mig->session, sport, TRUE); + g_signal_connect(mig->session, "channel-new", + G_CALLBACK(migrate_channel_new_cb), mig); + + g_signal_emit(mig->src_channel, signals[SPICE_MIGRATION_STARTED], 0, + mig->session); + + /* the migration process is in 2 steps, first the main channel and + then the rest of the channels */ + mig->session->priv->cmain = migrate_channel_connect(mig, SPICE_CHANNEL_MAIN, 0); + + return FALSE; +} + +/* coroutine context */ +static void main_migrate_connect(SpiceChannel *channel, + SpiceMigrationDstInfo *dst_info, bool do_seamless, + uint32_t src_mig_version) +{ + SpiceMainChannelPrivate *main_priv = SPICE_MAIN_CHANNEL(channel)->priv; + spice_migrate mig = { 0, }; + SpiceMsgOut *out; + int reply_type; + + mig.src_channel = channel; + mig.info = dst_info; + mig.from = coroutine_self(); + mig.do_seamless = do_seamless; + mig.src_mig_version = src_mig_version; + + main_priv->migrate_data = &mig; + + /* no need to track idle, call is sync for this coroutine */ + g_idle_add(migrate_connect, &mig); + + /* switch to main loop and wait for connections */ + coroutine_yield(NULL); + g_return_if_fail(mig.session != NULL); + + if (mig.nchannels != 0) { + reply_type = SPICE_MSGC_MAIN_MIGRATE_CONNECT_ERROR; + spice_session_disconnect(mig.session); + } else { + if (mig.do_seamless) { + SPICE_DEBUG("migration (seamless): connections all ok"); + reply_type = SPICE_MSGC_MAIN_MIGRATE_CONNECTED_SEAMLESS; + } else { + SPICE_DEBUG("migration (semi-seamless): connections all ok"); + reply_type = SPICE_MSGC_MAIN_MIGRATE_CONNECTED; + } + spice_session_set_migration(spice_channel_get_session(channel), + mig.session, + mig.do_seamless); + } + g_object_unref(mig.session); + + out = spice_msg_out_new(SPICE_CHANNEL(channel), reply_type); + spice_msg_out_send(out); +} + +/* coroutine context */ +static void main_handle_migrate_begin(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgMainMigrationBegin *msg = spice_msg_in_parsed(in); + + main_migrate_connect(channel, &msg->dst_info, false, 0); +} + +/* coroutine context */ +static void main_handle_migrate_begin_seamless(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgMainMigrateBeginSeamless *msg = spice_msg_in_parsed(in); + + main_migrate_connect(channel, &msg->dst_info, true, msg->src_mig_version); +} + +static void main_handle_migrate_dst_seamless_ack(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceChannelPrivate *c = SPICE_CHANNEL(channel)->priv; + SpiceMainChannelPrivate *main_priv = SPICE_MAIN_CHANNEL(channel)->priv; + + g_return_if_fail(c->state == SPICE_CHANNEL_STATE_MIGRATION_HANDSHAKE); + main_priv->migrate_data->do_seamless = true; + g_idle_add(main_migrate_handshake_done, main_priv->migrate_data); +} + +static void main_handle_migrate_dst_seamless_nack(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceChannelPrivate *c = SPICE_CHANNEL(channel)->priv; + SpiceMainChannelPrivate *main_priv = SPICE_MAIN_CHANNEL(channel)->priv; + + g_return_if_fail(c->state == SPICE_CHANNEL_STATE_MIGRATION_HANDSHAKE); + main_priv->migrate_data->do_seamless = false; + g_idle_add(main_migrate_handshake_done, main_priv->migrate_data); +} + +/* main context */ +static gboolean migrate_delayed(gpointer data) +{ + SpiceChannel *channel = data; + SpiceMainChannelPrivate *c = SPICE_MAIN_CHANNEL(channel)->priv; + + g_warn_if_fail(c->migrate_delayed_id != 0); + c->migrate_delayed_id = 0; + + spice_session_migrate_end(channel->priv->session); + + return FALSE; +} + +/* coroutine context */ +static void main_handle_migrate_end(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMainChannelPrivate *c = SPICE_MAIN_CHANNEL(channel)->priv; + + SPICE_DEBUG("migrate end"); + + g_return_if_fail(c->migrate_delayed_id == 0); + g_return_if_fail(spice_channel_test_capability(channel, SPICE_MAIN_CAP_SEMI_SEAMLESS_MIGRATE)); + + c->migrate_delayed_id = g_idle_add(migrate_delayed, channel); +} + +/* main context */ +static gboolean switch_host_delayed(gpointer data) +{ + SpiceChannel *channel = data; + SpiceSession *session; + SpiceMainChannelPrivate *c = SPICE_MAIN_CHANNEL(channel)->priv; + + g_warn_if_fail(c->switch_host_delayed_id != 0); + c->switch_host_delayed_id = 0; + + session = spice_channel_get_session(channel); + + spice_channel_disconnect(channel, SPICE_CHANNEL_SWITCHING); + spice_session_switching_disconnect(session); + + spice_channel_connect(channel); + spice_session_set_migration_state(session, SPICE_SESSION_MIGRATION_NONE); + + return FALSE; +} + +/* coroutine context */ +static void main_handle_migrate_switch_host(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceMsgMainMigrationSwitchHost *mig = spice_msg_in_parsed(in); + SpiceSession *session; + char *host = (char *)mig->host_data; + char *subject = NULL; + SpiceMainChannelPrivate *c = SPICE_MAIN_CHANNEL(channel)->priv; + + g_return_if_fail(host[mig->host_size - 1] == '\0'); + + if (mig->cert_subject_size) { + subject = (char *)mig->cert_subject_data; + g_return_if_fail(subject[mig->cert_subject_size - 1] == '\0'); + } + + SPICE_DEBUG("migrate_switch %s %d %d %s", + host, mig->port, mig->sport, subject); + + if (c->switch_host_delayed_id != 0) { + g_warning("Switching host already in progress, aborting it"); + g_warn_if_fail(g_source_remove(c->switch_host_delayed_id)); + c->switch_host_delayed_id = 0; + } + + session = spice_channel_get_session(channel); + spice_session_set_migration_state(session, SPICE_SESSION_MIGRATION_SWITCHING); + g_object_set(session, + "host", host, + "cert-subject", subject, + NULL); + spice_session_set_port(session, mig->port, FALSE); + spice_session_set_port(session, mig->sport, TRUE); + + c->switch_host_delayed_id = g_idle_add(switch_host_delayed, channel); +} + +/* coroutine context */ +static void main_handle_migrate_cancel(SpiceChannel *channel, + SpiceMsgIn *in G_GNUC_UNUSED) +{ + SpiceSession *session; + + SPICE_DEBUG("migrate_cancel"); + session = spice_channel_get_session(channel); + spice_session_abort_migration(session); +} + +static const spice_msg_handler main_handlers[] = { + [ SPICE_MSG_MAIN_INIT ] = main_handle_init, + [ SPICE_MSG_MAIN_NAME ] = main_handle_name, + [ SPICE_MSG_MAIN_UUID ] = main_handle_uuid, + [ SPICE_MSG_MAIN_CHANNELS_LIST ] = main_handle_channels_list, + [ SPICE_MSG_MAIN_MOUSE_MODE ] = main_handle_mouse_mode, + [ SPICE_MSG_MAIN_MULTI_MEDIA_TIME ] = main_handle_mm_time, + + [ SPICE_MSG_MAIN_AGENT_CONNECTED ] = main_handle_agent_connected, + [ SPICE_MSG_MAIN_AGENT_DISCONNECTED ] = main_handle_agent_disconnected, + [ SPICE_MSG_MAIN_AGENT_DATA ] = main_handle_agent_data, + [ SPICE_MSG_MAIN_AGENT_TOKEN ] = main_handle_agent_token, + + [ SPICE_MSG_MAIN_MIGRATE_BEGIN ] = main_handle_migrate_begin, + [ SPICE_MSG_MAIN_MIGRATE_END ] = main_handle_migrate_end, + [ SPICE_MSG_MAIN_MIGRATE_CANCEL ] = main_handle_migrate_cancel, + [ SPICE_MSG_MAIN_MIGRATE_SWITCH_HOST ] = main_handle_migrate_switch_host, + [ SPICE_MSG_MAIN_AGENT_CONNECTED_TOKENS ] = main_handle_agent_connected_tokens, + [ SPICE_MSG_MAIN_MIGRATE_BEGIN_SEAMLESS ] = main_handle_migrate_begin_seamless, + [ SPICE_MSG_MAIN_MIGRATE_DST_SEAMLESS_ACK] = main_handle_migrate_dst_seamless_ack, + [ SPICE_MSG_MAIN_MIGRATE_DST_SEAMLESS_NACK] = main_handle_migrate_dst_seamless_nack, +}; + +/* coroutine context */ +static void spice_main_handle_msg(SpiceChannel *channel, SpiceMsgIn *msg) +{ + int type = spice_msg_in_type(msg); + SpiceChannelClass *parent_class; + SpiceChannelPrivate *c = SPICE_CHANNEL(channel)->priv; + + g_return_if_fail(type < SPICE_N_ELEMENTS(main_handlers)); + + parent_class = SPICE_CHANNEL_CLASS(spice_main_channel_parent_class); + + if (c->state == SPICE_CHANNEL_STATE_MIGRATION_HANDSHAKE) { + if (type != SPICE_MSG_MAIN_MIGRATE_DST_SEAMLESS_ACK && + type != SPICE_MSG_MAIN_MIGRATE_DST_SEAMLESS_NACK) { + g_critical("unexpected msg (%d)." + "Only MIGRATE_DST_SEAMLESS_ACK/NACK are allowed", type); + return; + } + } + + if (main_handlers[type] != NULL) + main_handlers[type](channel, msg); + else if (parent_class->handle_msg) + parent_class->handle_msg(channel, msg); + else + g_return_if_reached(); +} + +/** + * spice_main_agent_test_capability: + * @channel: + * @cap: an agent capability identifier + * + * Test capability of a remote agent. + * + * Returns: %TRUE if @cap (channel kind capability) is available. + **/ +gboolean spice_main_agent_test_capability(SpiceMainChannel *channel, guint32 cap) +{ + g_return_val_if_fail(SPICE_IS_MAIN_CHANNEL(channel), FALSE); + + SpiceMainChannelPrivate *c = channel->priv; + + if (!c->agent_caps_received) + return FALSE; + + return VD_AGENT_HAS_CAPABILITY(c->agent_caps, G_N_ELEMENTS(c->agent_caps), cap); +} + +/** + * spice_main_update_display: + * @channel: + * @id: display ID + * @x: x position + * @y: y position + * @width: display width + * @height: display height + * @update: if %TRUE, update guest resolution after 1sec. + * + * Update the display @id resolution. + * + * If @update is %TRUE, the remote configuration will be updated too + * after 1 second without further changes. You can send when you want + * without delay the new configuration to the remote with + * spice_main_send_monitor_config() + **/ +void spice_main_update_display(SpiceMainChannel *channel, int id, + int x, int y, int width, int height, + gboolean update) +{ + SpiceMainChannelPrivate *c; + + g_return_if_fail(channel != NULL); + g_return_if_fail(SPICE_IS_MAIN_CHANNEL(channel)); + g_return_if_fail(x >= 0); + g_return_if_fail(y >= 0); + g_return_if_fail(width >= 0); + g_return_if_fail(height >= 0); + + c = SPICE_MAIN_CHANNEL(channel)->priv; + + g_return_if_fail(id < SPICE_N_ELEMENTS(c->display)); + + c->display[id].x = x; + c->display[id].y = y; + c->display[id].width = width; + c->display[id].height = height; + + if (update) + update_display_timer(channel, 1); +} + +/** + * spice_main_set_display: + * @channel: + * @id: display ID + * @x: x position + * @y: y position + * @width: display width + * @height: display height + * + * Notify the guest of screen resolution change. The notification is + * sent 1 second later, if no further changes happen. + **/ +void spice_main_set_display(SpiceMainChannel *channel, int id, + int x, int y, int width, int height) +{ + spice_main_update_display(channel, id, x, y, width, height, TRUE); +} + +/** + * spice_main_clipboard_grab: + * @channel: + * @types: an array of #VD_AGENT_CLIPBOARD types available in the clipboard + * @ntypes: the number of @types + * + * Grab the guest clipboard, with #VD_AGENT_CLIPBOARD @types. + * + * Deprecated: 0.6: use spice_main_clipboard_selection_grab() instead. + **/ +void spice_main_clipboard_grab(SpiceMainChannel *channel, guint32 *types, int ntypes) +{ + spice_main_clipboard_selection_grab(channel, VD_AGENT_CLIPBOARD_SELECTION_CLIPBOARD, types, ntypes); +} + +/** + * spice_main_clipboard_selection_grab: + * @channel: + * @selection: one of the clipboard #VD_AGENT_CLIPBOARD_SELECTION_* + * @types: an array of #VD_AGENT_CLIPBOARD types available in the clipboard + * @ntypes: the number of @types + * + * Grab the guest clipboard, with #VD_AGENT_CLIPBOARD @types. + * + * Since: 0.6 + **/ +void spice_main_clipboard_selection_grab(SpiceMainChannel *channel, guint selection, + guint32 *types, int ntypes) +{ + g_return_if_fail(channel != NULL); + g_return_if_fail(SPICE_IS_MAIN_CHANNEL(channel)); + + agent_clipboard_grab(channel, selection, types, ntypes); + spice_channel_wakeup(SPICE_CHANNEL(channel), FALSE); +} + +/** + * spice_main_clipboard_release: + * @channel: + * + * Release the clipboard (for example, when the client looses the + * clipboard grab): Inform the guest no clipboard data is available. + * + * Deprecated: 0.6: use spice_main_clipboard_selection_release() instead. + **/ +void spice_main_clipboard_release(SpiceMainChannel *channel) +{ + spice_main_clipboard_selection_release(channel, VD_AGENT_CLIPBOARD_SELECTION_CLIPBOARD); +} + +/** + * spice_main_clipboard_selection_release: + * @channel: + * @selection: one of the clipboard #VD_AGENT_CLIPBOARD_SELECTION_* + * + * Release the clipboard (for example, when the client looses the + * clipboard grab): Inform the guest no clipboard data is available. + * + * Since: 0.6 + **/ +void spice_main_clipboard_selection_release(SpiceMainChannel *channel, guint selection) +{ + g_return_if_fail(channel != NULL); + g_return_if_fail(SPICE_IS_MAIN_CHANNEL(channel)); + + SpiceMainChannelPrivate *c = channel->priv; + + if (!c->agent_connected) + return; + + agent_clipboard_release(channel, selection); + spice_channel_wakeup(SPICE_CHANNEL(channel), FALSE); +} + +/** + * spice_main_clipboard_notify: + * @channel: + * @type: a #VD_AGENT_CLIPBOARD type + * @data: clipboard data + * @size: data length in bytes + * + * Send the clipboard data to the guest. + * + * Deprecated: 0.6: use spice_main_clipboard_selection_notify() instead. + **/ +void spice_main_clipboard_notify(SpiceMainChannel *channel, + guint32 type, const guchar *data, size_t size) +{ + spice_main_clipboard_selection_notify(channel, VD_AGENT_CLIPBOARD_SELECTION_CLIPBOARD, + type, data, size); +} + +/** + * spice_main_clipboard_selection_notify: + * @channel: + * @selection: one of the clipboard #VD_AGENT_CLIPBOARD_SELECTION_* + * @type: a #VD_AGENT_CLIPBOARD type + * @data: clipboard data + * @size: data length in bytes + * + * Send the clipboard data to the guest. + * + * Since: 0.6 + **/ +void spice_main_clipboard_selection_notify(SpiceMainChannel *channel, guint selection, + guint32 type, const guchar *data, size_t size) +{ + g_return_if_fail(channel != NULL); + g_return_if_fail(SPICE_IS_MAIN_CHANNEL(channel)); + + agent_clipboard_notify(channel, selection, type, data, size); + spice_channel_wakeup(SPICE_CHANNEL(channel), FALSE); +} + +/** + * spice_main_clipboard_request: + * @channel: + * @type: a #VD_AGENT_CLIPBOARD type + * + * Request clipboard data of @type from the guest. The reply is sent + * through the #SpiceMainChannel::main-clipboard signal. + * + * Deprecated: 0.6: use spice_main_clipboard_selection_request() instead. + **/ +void spice_main_clipboard_request(SpiceMainChannel *channel, guint32 type) +{ + spice_main_clipboard_selection_request(channel, VD_AGENT_CLIPBOARD_SELECTION_CLIPBOARD, type); +} + +/** + * spice_main_clipboard_selection_request: + * @channel: + * @selection: one of the clipboard #VD_AGENT_CLIPBOARD_SELECTION_* + * @type: a #VD_AGENT_CLIPBOARD type + * + * Request clipboard data of @type from the guest. The reply is sent + * through the #SpiceMainChannel::main-clipboard signal. + * + * Since: 0.6 + **/ +void spice_main_clipboard_selection_request(SpiceMainChannel *channel, guint selection, guint32 type) +{ + g_return_if_fail(channel != NULL); + g_return_if_fail(SPICE_IS_MAIN_CHANNEL(channel)); + + agent_clipboard_request(channel, selection, type); + spice_channel_wakeup(SPICE_CHANNEL(channel), FALSE); +} + +/** + * spice_main_set_display_enabled: + * @channel: a #SpiceMainChannel + * @id: display ID (if -1: set all displays) + * @enabled: wether display @id is enabled + * + * When sending monitor configuration to agent guest, don't set + * display @id, which the agent translates to disabling the display + * id. Note: this will take effect next time the monitor + * configuration is sent. + * + * Since: 0.6 + **/ +void spice_main_set_display_enabled(SpiceMainChannel *channel, int id, gboolean enabled) +{ + g_return_if_fail(channel != NULL); + g_return_if_fail(SPICE_IS_MAIN_CHANNEL(channel)); + g_return_if_fail(id >= -1); + + SpiceMainChannelPrivate *c = channel->priv; + + if (id == -1) { + gint i; + for (i = 0; i < G_N_ELEMENTS(c->display); i++) + c->display[i].enabled = enabled; + } else { + g_return_if_fail(id < G_N_ELEMENTS(c->display)); + c->display[id].enabled = enabled; + } + + update_display_timer(channel, 1); +} + +static void file_xfer_completed(SpiceFileXferTask *task, GError *error) +{ + /* In case of multiple errors we only report the first error */ + if (task->error) + g_clear_error(&error); + if (error) { + SPICE_DEBUG("File %s xfer failed: %s", + g_file_get_path(task->file), error->message); + task->error = error; + } + + if (task->pending) + return; + + if (!task->file_stream) { + file_xfer_close_cb(NULL, NULL, task); + return; + } + + g_input_stream_close_async(G_INPUT_STREAM(task->file_stream), + G_PRIORITY_DEFAULT, + task->cancellable, + file_xfer_close_cb, + task); + task->pending = TRUE; +} + +static void file_xfer_info_async_cb(GObject *obj, GAsyncResult *res, gpointer data) +{ + GFileInfo *info; + GFile *file = G_FILE(obj); + GError *error = NULL; + GKeyFile *keyfile = NULL; + gchar *basename = NULL; + VDAgentFileXferStartMessage msg; + gsize /*msg_size*/ data_len; + gchar *string; + SpiceFileXferTask *task = (SpiceFileXferTask *)data; + + task->pending = FALSE; + info = g_file_query_info_finish(file, res, &error); + if (error || task->error) + goto failed; + + task->file_size = + g_file_info_get_attribute_uint64(info, G_FILE_ATTRIBUTE_STANDARD_SIZE); + keyfile = g_key_file_new(); + + /* File name */ + basename = g_file_get_basename(file); + g_key_file_set_string(keyfile, "vdagent-file-xfer", "name", basename); + g_free(basename); + /* File size */ + g_key_file_set_uint64(keyfile, "vdagent-file-xfer", "size", task->file_size); + + /* Save keyfile content to memory. TODO: more file attributions + need to be sent to guest */ + string = g_key_file_to_data(keyfile, &data_len, &error); + g_key_file_free(keyfile); + if (error) + goto failed; + + /* Create file-xfer start message */ + msg.id = task->id; + agent_msg_queue_many(task->channel, VD_AGENT_FILE_XFER_START, + &msg, sizeof(msg), + string, data_len + 1, NULL); + g_free(string); + spice_channel_wakeup(SPICE_CHANNEL(task->channel), FALSE); + return; + +failed: + file_xfer_completed(task, error); +} + +static void file_xfer_read_async_cb(GObject *obj, GAsyncResult *res, gpointer data) +{ + GFile *file = G_FILE(obj); + SpiceFileXferTask *task = (SpiceFileXferTask *)data; + GError *error = NULL; + + task->pending = FALSE; + task->file_stream = g_file_read_finish(file, res, &error); + if (error || task->error) { + file_xfer_completed(task, error); + return; + } + + g_file_query_info_async(task->file, + G_FILE_ATTRIBUTE_STANDARD_SIZE, + G_FILE_QUERY_INFO_NONE, + G_PRIORITY_DEFAULT, + task->cancellable, + file_xfer_info_async_cb, + task); + task->pending = TRUE; +} + +static void file_xfer_send_start_msg_async(SpiceMainChannel *channel, + GFile *file, + GFileCopyFlags flags, + GCancellable *cancellable, + GFileProgressCallback progress_callback, + gpointer progress_callback_data, + GAsyncReadyCallback callback, + gpointer user_data) +{ + SpiceMainChannelPrivate *c = channel->priv; + SpiceFileXferTask *task; + static uint32_t xfer_id; /* Used to identify task id */ + + task = spice_malloc0(sizeof(SpiceFileXferTask)); + task->id = ++xfer_id; + task->channel = g_object_ref(channel); + task->file = g_object_ref(file); + task->flags = flags; + task->cancellable = cancellable; + task->progress_callback = progress_callback; + task->progress_callback_data = progress_callback_data; + task->callback = callback; + task->user_data = user_data; + + CHANNEL_DEBUG(task->channel, "Insert a xfer task:%d to task list", task->id); + g_hash_table_insert(c->file_xfer_tasks, GUINT_TO_POINTER(task->id), task); + + g_file_read_async(file, + G_PRIORITY_DEFAULT, + cancellable, + file_xfer_read_async_cb, + task); + task->pending = TRUE; +} + +/** + * spice_main_file_copy_async: + * @sources: #GFile to be transfer + * @flags: set of #GFileCopyFlags + * @cancellable: (allow-none): optional #GCancellable object, %NULL to ignore + * @progress_callback: (allow-none) (scope call): function to callback with + * progress information, or %NULL if progress information is not needed + * @progress_callback_data: (closure): user data to pass to @progress_callback + * @callback: a #GAsyncReadyCallback to call when the request is satisfied + * @user_data: the data to pass to callback function + * + * Copies the file @sources to guest + * + * If @cancellable is not %NULL, then the operation can be cancelled by + * triggering the cancellable object from another thread. If the operation + * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. + * + * If @progress_callback is not %NULL, then the operation can be monitored by + * setting this to a #GFileProgressCallback function. @progress_callback_data + * will be passed to this function. It is guaranteed that this callback will + * be called after all data has been transferred with the total number of bytes + * copied during the operation. + * + * When the operation is finished, callback will be called. You can then call + * spice_main_file_copy_finish() to get the result of the operation. + * + **/ +void spice_main_file_copy_async(SpiceMainChannel *channel, + GFile **sources, + GFileCopyFlags flags, + GCancellable *cancellable, + GFileProgressCallback progress_callback, + gpointer progress_callback_data, + GAsyncReadyCallback callback, + gpointer user_data) +{ + SpiceMainChannelPrivate *c = channel->priv; + + g_return_if_fail(channel != NULL); + g_return_if_fail(SPICE_IS_MAIN_CHANNEL(channel)); + g_return_if_fail(sources != NULL && sources[0] != NULL); + + /* At the moment, the copy() method is limited to a single file, + support for copying multi-files will be implemented later. */ + g_return_if_fail(sources[1] == NULL); + + if (!c->agent_connected) { + g_simple_async_report_error_in_idle(G_OBJECT(channel), + callback, + user_data, + SPICE_CLIENT_ERROR, + SPICE_CLIENT_ERROR_FAILED, + "The agent is not connected"); + return; + } + + file_xfer_send_start_msg_async(channel, + sources[0], + flags, + cancellable, + progress_callback, + progress_callback_data, + callback, + user_data); +} + +/** + * spice_main_file_copy_finish: + * @result: a #GAsyncResult. + * @error: a #GError, or %NULL + * + * Finishes copying the file started with + * spice_main_file_copy_async(). + * + * Returns: a %TRUE on success, %FALSE on error. + **/ +gboolean spice_main_file_copy_finish(SpiceMainChannel *channel, + GAsyncResult *result, + GError **error) +{ + GSimpleAsyncResult *simple; + + g_return_val_if_fail(SPICE_IS_MAIN_CHANNEL(channel), FALSE); + g_return_val_if_fail(g_simple_async_result_is_valid(result, + G_OBJECT(channel), spice_main_file_copy_async), FALSE); + + simple = (GSimpleAsyncResult *)result; + + if (g_simple_async_result_propagate_error(simple, error)) { + return FALSE; + } + + return g_simple_async_result_get_op_res_gboolean(simple); +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-main.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-main.h new file mode 100644 index 0000000..3e4fc42 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-main.h @@ -0,0 +1,109 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_CLIENT_MAIN_CHANNEL_H__ +#define __SPICE_CLIENT_MAIN_CHANNEL_H__ + +#include "spice-client.h" + +G_BEGIN_DECLS + +#define SPICE_TYPE_MAIN_CHANNEL (spice_main_channel_get_type()) +#define SPICE_MAIN_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), SPICE_TYPE_MAIN_CHANNEL, SpiceMainChannel)) +#define SPICE_MAIN_CHANNEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPICE_TYPE_MAIN_CHANNEL, SpiceMainChannelClass)) +#define SPICE_IS_MAIN_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SPICE_TYPE_MAIN_CHANNEL)) +#define SPICE_IS_MAIN_CHANNEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SPICE_TYPE_MAIN_CHANNEL)) +#define SPICE_MAIN_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), SPICE_TYPE_MAIN_CHANNEL, SpiceMainChannelClass)) + +typedef struct _SpiceMainChannel SpiceMainChannel; +typedef struct _SpiceMainChannelClass SpiceMainChannelClass; +typedef struct _SpiceMainChannelPrivate SpiceMainChannelPrivate; + +/** + * SpiceMainChannel: + * + * The #SpiceMainChannel struct is opaque and should not be accessed directly. + */ +struct _SpiceMainChannel { + SpiceChannel parent; + + /*< private >*/ + SpiceMainChannelPrivate *priv; + /* Do not add fields to this struct */ +}; + +/** + * SpiceMainChannelClass: + * @parent_class: Parent class. + * @mouse_update: Signal class handler for the #SpiceMainChannel::mouse-update signal. + * @agent_update: Signal class handler for the #SpiceMainChannel::agent-update signal. + * + * Class structure for #SpiceMainChannel. + */ +struct _SpiceMainChannelClass { + SpiceChannelClass parent_class; + + /* signals */ + void (*mouse_update)(SpiceChannel *channel); + void (*agent_update)(SpiceChannel *channel); + + /*< private >*/ + /* Do not add fields to this struct */ +}; + +GType spice_main_channel_get_type(void); + +void spice_main_set_display(SpiceMainChannel *channel, int id, + int x, int y, int width, int height); +void spice_main_update_display(SpiceMainChannel *channel, int id, + int x, int y, int width, int height, gboolean update); +void spice_main_set_display_enabled(SpiceMainChannel *channel, int id, gboolean enabled); +gboolean spice_main_send_monitor_config(SpiceMainChannel *channel); + +void spice_main_clipboard_selection_grab(SpiceMainChannel *channel, guint selection, guint32 *types, int ntypes); +void spice_main_clipboard_selection_release(SpiceMainChannel *channel, guint selection); +void spice_main_clipboard_selection_notify(SpiceMainChannel *channel, guint selection, guint32 type, const guchar *data, size_t size); +void spice_main_clipboard_selection_request(SpiceMainChannel *channel, guint selection, guint32 type); + +gboolean spice_main_agent_test_capability(SpiceMainChannel *channel, guint32 cap); +void spice_main_file_copy_async(SpiceMainChannel *channel, + GFile **sources, + GFileCopyFlags flags, + GCancellable *cancellable, + GFileProgressCallback progress_callback, + gpointer progress_callback_data, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean spice_main_file_copy_finish(SpiceMainChannel *channel, + GAsyncResult *result, + GError **error); + +#ifndef SPICE_DISABLE_DEPRECATED +SPICE_DEPRECATED_FOR(spice_main_clipboard_selection_grab) +void spice_main_clipboard_grab(SpiceMainChannel *channel, guint32 *types, int ntypes); +SPICE_DEPRECATED_FOR(spice_main_clipboard_selection_release) +void spice_main_clipboard_release(SpiceMainChannel *channel); +SPICE_DEPRECATED_FOR(spice_main_clipboard_selection_notify) +void spice_main_clipboard_notify(SpiceMainChannel *channel, guint32 type, const guchar *data, size_t size); +SPICE_DEPRECATED_FOR(spice_main_clipboard_selection_request) +void spice_main_clipboard_request(SpiceMainChannel *channel, guint32 type); +#endif + +G_END_DECLS + +#endif /* __SPICE_CLIENT_MAIN_CHANNEL_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-playback.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-playback.c new file mode 100644 index 0000000..5aa8454 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-playback.c @@ -0,0 +1,522 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#include + +#include "spice-client.h" +#include "spice-common.h" +#include "spice-channel-priv.h" +#include "spice-session-priv.h" + +#include "spice-marshal.h" + +/** + * SECTION:channel-playback + * @short_description: audio stream for playback + * @title: Playback Channel + * @section_id: + * @see_also: #SpiceChannel, and #SpiceAudio + * @stability: Stable + * @include: channel-playback.h + * + * #SpicePlaybackChannel class handles an audio playback stream. The + * audio data is received via #SpicePlaybackChannel::playback-data + * signal, and is controlled by the guest with + * #SpicePlaybackChannel::playback-stop and + * #SpicePlaybackChannel::playback-start signal events. + * + * Note: You may be interested to let the #SpiceAudio class play and + * record audio channels for your application. + */ + +#define SPICE_PLAYBACK_CHANNEL_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE((obj), SPICE_TYPE_PLAYBACK_CHANNEL, SpicePlaybackChannelPrivate)) + +struct _SpicePlaybackChannelPrivate { + int mode; + CELTMode *celt_mode; + CELTDecoder *celt_decoder; + guint32 frame_count; + guint32 last_time; + guint8 nchannels; + guint16 *volume; + guint8 mute; +}; + +G_DEFINE_TYPE(SpicePlaybackChannel, spice_playback_channel, SPICE_TYPE_CHANNEL) + +/* Properties */ +enum { + PROP_0, + PROP_NCHANNELS, + PROP_VOLUME, + PROP_MUTE, +}; + +/* Signals */ +enum { + SPICE_PLAYBACK_START, + SPICE_PLAYBACK_DATA, + SPICE_PLAYBACK_STOP, + SPICE_PLAYBACK_GET_DELAY, + + SPICE_PLAYBACK_LAST_SIGNAL, +}; + +static guint signals[SPICE_PLAYBACK_LAST_SIGNAL]; + +static void spice_playback_handle_msg(SpiceChannel *channel, SpiceMsgIn *msg); + +/* ------------------------------------------------------------------ */ + +static void spice_playback_channel_reset_capabilities(SpiceChannel *channel) +{ + if (!g_getenv("SPICE_DISABLE_CELT")) + spice_channel_set_capability(SPICE_CHANNEL(channel), SPICE_PLAYBACK_CAP_CELT_0_5_1); + spice_channel_set_capability(SPICE_CHANNEL(channel), SPICE_PLAYBACK_CAP_VOLUME); +} + +static void spice_playback_channel_init(SpicePlaybackChannel *channel) +{ + channel->priv = SPICE_PLAYBACK_CHANNEL_GET_PRIVATE(channel); + + spice_playback_channel_reset_capabilities(SPICE_CHANNEL(channel)); +} + +static void spice_playback_channel_finalize(GObject *obj) +{ + SpicePlaybackChannelPrivate *c = SPICE_PLAYBACK_CHANNEL(obj)->priv; + + if (c->celt_decoder) { + celt051_decoder_destroy(c->celt_decoder); + c->celt_decoder = NULL; + } + + if (c->celt_mode) { + celt051_mode_destroy(c->celt_mode); + c->celt_mode = NULL; + } + + g_free(c->volume); + c->volume = NULL; + + if (G_OBJECT_CLASS(spice_playback_channel_parent_class)->finalize) + G_OBJECT_CLASS(spice_playback_channel_parent_class)->finalize(obj); +} + +static void spice_playback_channel_get_property(GObject *gobject, + guint prop_id, + GValue *value, + GParamSpec *pspec) +{ + SpicePlaybackChannel *channel = SPICE_PLAYBACK_CHANNEL(gobject); + SpicePlaybackChannelPrivate *c = channel->priv; + + switch (prop_id) { + case PROP_VOLUME: + g_value_set_pointer(value, c->volume); + break; + case PROP_NCHANNELS: + g_value_set_uint(value, c->nchannels); + break; + case PROP_MUTE: + g_value_set_boolean(value, c->mute); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, pspec); + break; + } +} + +static void spice_playback_channel_set_property(GObject *gobject, + guint prop_id, + const GValue *value, + GParamSpec *pspec) +{ + switch (prop_id) { + case PROP_VOLUME: + /* TODO: request guest volume change */ + break; + case PROP_MUTE: + /* TODO: request guest mute change */ + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, pspec); + break; + } +} + +/* main or coroutine context */ +static void spice_playback_channel_reset(SpiceChannel *channel, gboolean migrating) +{ + SpicePlaybackChannelPrivate *c = SPICE_PLAYBACK_CHANNEL(channel)->priv; + + if (c->celt_decoder) { + celt051_decoder_destroy(c->celt_decoder); + c->celt_decoder = NULL; + } + + if (c->celt_mode) { + celt051_mode_destroy(c->celt_mode); + c->celt_mode = NULL; + } + + SPICE_CHANNEL_CLASS(spice_playback_channel_parent_class)->channel_reset(channel, migrating); +} + +static void spice_playback_channel_class_init(SpicePlaybackChannelClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS(klass); + SpiceChannelClass *channel_class = SPICE_CHANNEL_CLASS(klass); + + gobject_class->finalize = spice_playback_channel_finalize; + gobject_class->get_property = spice_playback_channel_get_property; + gobject_class->set_property = spice_playback_channel_set_property; + + channel_class->handle_msg = spice_playback_handle_msg; + channel_class->channel_reset = spice_playback_channel_reset; + channel_class->channel_reset_capabilities = spice_playback_channel_reset_capabilities; + + g_object_class_install_property + (gobject_class, PROP_NCHANNELS, + g_param_spec_uint("nchannels", + "Number of Channels", + "Number of Channels", + 0, G_MAXUINT8, 2, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property + (gobject_class, PROP_VOLUME, + g_param_spec_pointer("volume", + "Playback volume", + "Playback volume", + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property + (gobject_class, PROP_MUTE, + g_param_spec_boolean("mute", + "Mute", + "Mute", + FALSE, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + /** + * SpicePlaybackChannel::playback-start: + * @channel: the #SpicePlaybackChannel that emitted the signal + * @format: a #SPICE_AUDIO_FMT + * @channels: number of channels + * @rate: audio rate + * + * Notify when the playback should start, and provide audio format + * characteristics. + **/ + signals[SPICE_PLAYBACK_START] = + g_signal_new("playback-start", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpicePlaybackChannelClass, playback_start), + NULL, NULL, + g_cclosure_user_marshal_VOID__INT_INT_INT, + G_TYPE_NONE, + 3, + G_TYPE_INT, G_TYPE_INT, G_TYPE_INT); + + /** + * SpicePlaybackChannel::playback-data: + * @channel: the #SpicePlaybackChannel that emitted the signal + * @data: pointer to audio data + * @data_size: size in byte of @data + * + * Provide audio data to be played. + **/ + signals[SPICE_PLAYBACK_DATA] = + g_signal_new("playback-data", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpicePlaybackChannelClass, playback_data), + NULL, NULL, + g_cclosure_user_marshal_VOID__POINTER_INT, + G_TYPE_NONE, + 2, + G_TYPE_POINTER, G_TYPE_INT); + + /** + * SpicePlaybackChannel::playback-stop: + * @channel: the #SpicePlaybackChannel that emitted the signal + * + * Notify when the playback should stop. + **/ + signals[SPICE_PLAYBACK_STOP] = + g_signal_new("playback-stop", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpicePlaybackChannelClass, playback_stop), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, + 0); + + /** + * SpicePlaybackChannel::playback-get-delay: + * @channel: the #SpicePlaybackChannel that emitted the signal + * + * Notify when the current playback delay is requested + **/ + signals[SPICE_PLAYBACK_GET_DELAY] = + g_signal_new("playback-get-delay", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + 0, + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, + 0); + + g_type_class_add_private(klass, sizeof(SpicePlaybackChannelPrivate)); +} + +/* signal trampoline---------------------------------------------------------- */ + +struct SPICE_PLAYBACK_START { + gint format; + gint channels; + gint frequency; +}; + +struct SPICE_PLAYBACK_DATA { + uint8_t *data; + gsize data_size; +}; + +struct SPICE_PLAYBACK_STOP { +}; + +struct SPICE_PLAYBACK_GET_DELAY { +}; + +/* main context */ +static void do_emit_main_context(GObject *object, int signum, gpointer params) +{ + switch (signum) { + case SPICE_PLAYBACK_GET_DELAY: + case SPICE_PLAYBACK_STOP: { + g_signal_emit(object, signals[signum], 0); + break; + } + case SPICE_PLAYBACK_START: { + struct SPICE_PLAYBACK_START *p = params; + g_signal_emit(object, signals[signum], 0, + p->format, p->channels, p->frequency); + break; + } + case SPICE_PLAYBACK_DATA: { + struct SPICE_PLAYBACK_DATA *p = params; + g_signal_emit(object, signals[signum], 0, + p->data, p->data_size); + break; + } + default: + g_warn_if_reached(); + } +} + +/* ------------------------------------------------------------------ */ + +/* coroutine context */ +static void playback_handle_data(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpicePlaybackChannelPrivate *c = SPICE_PLAYBACK_CHANNEL(channel)->priv; + SpiceMsgPlaybackPacket *packet = spice_msg_in_parsed(in); + +#ifdef DEBUG + CHANNEL_DEBUG(channel, "%s: time %d data %p size %d", __FUNCTION__, + packet->time, packet->data, packet->data_size); +#endif + + if (c->last_time > packet->time) + g_warn_if_reached(); + + c->last_time = packet->time; + + switch (c->mode) { + case SPICE_AUDIO_DATA_MODE_RAW: + emit_main_context(channel, SPICE_PLAYBACK_DATA, + packet->data, packet->data_size); + break; + case SPICE_AUDIO_DATA_MODE_CELT_0_5_1: { + celt_int16_t pcm[256 * 2]; + + g_return_if_fail(c->celt_decoder != NULL); + + if (celt051_decode(c->celt_decoder, packet->data, + packet->data_size, pcm) != CELT_OK) { + g_warning("celt_decode() error"); + return; + } + + emit_main_context(channel, SPICE_PLAYBACK_DATA, + (uint8_t *)pcm, sizeof(pcm)); + break; + } + default: + g_warning("%s: unhandled mode", __FUNCTION__); + break; + } + + if ((c->frame_count++ % 100) == 0) { + emit_main_context(channel, SPICE_PLAYBACK_GET_DELAY); + } +} + +/* coroutine context */ +static void playback_handle_mode(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpicePlaybackChannelPrivate *c = SPICE_PLAYBACK_CHANNEL(channel)->priv; + SpiceMsgPlaybackMode *mode = spice_msg_in_parsed(in); + + CHANNEL_DEBUG(channel, "%s: time %d mode %d data %p size %d", __FUNCTION__, + mode->time, mode->mode, mode->data, mode->data_size); + + c->mode = mode->mode; + switch (c->mode) { + case SPICE_AUDIO_DATA_MODE_RAW: + case SPICE_AUDIO_DATA_MODE_CELT_0_5_1: + break; + default: + g_warning("%s: unhandled mode", __FUNCTION__); + break; + } +} + +/* coroutine context */ +static void playback_handle_start(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpicePlaybackChannelPrivate *c = SPICE_PLAYBACK_CHANNEL(channel)->priv; + SpiceMsgPlaybackStart *start = spice_msg_in_parsed(in); + int celt_mode_err; + + CHANNEL_DEBUG(channel, "%s: fmt %d channels %d freq %d time %d", __FUNCTION__, + start->format, start->channels, start->frequency, start->time); + + c->frame_count = 0; + c->last_time = start->time; + + switch (c->mode) { + case SPICE_AUDIO_DATA_MODE_RAW: + emit_main_context(channel, SPICE_PLAYBACK_START, + start->format, start->channels, start->frequency); + break; + case SPICE_AUDIO_DATA_MODE_CELT_0_5_1: { + /* TODO: only support one setting now */ + int frame_size = 256; + if (!c->celt_mode) + c->celt_mode = celt051_mode_create(start->frequency, start->channels, + frame_size, &celt_mode_err); + if (!c->celt_mode) + g_warning("create celt mode failed %d", celt_mode_err); + + if (!c->celt_decoder) + c->celt_decoder = celt051_decoder_create(c->celt_mode); + + if (!c->celt_decoder) + g_warning("create celt decoder failed"); + + emit_main_context(channel, SPICE_PLAYBACK_START, + start->format, start->channels, start->frequency); + break; + } + default: + g_warning("%s: unhandled mode", __FUNCTION__); + break; + } +} + +/* coroutine context */ +static void playback_handle_stop(SpiceChannel *channel, SpiceMsgIn *in) +{ + emit_main_context(channel, SPICE_PLAYBACK_STOP); +} + +/* coroutine context */ +static void playback_handle_set_volume(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpicePlaybackChannelPrivate *c = SPICE_PLAYBACK_CHANNEL(channel)->priv; + SpiceMsgAudioVolume *vol = spice_msg_in_parsed(in); + + if (vol->nchannels == 0) { + g_warning("spice-server send audio-volume-msg with 0 channels"); + return; + } + + g_free(c->volume); + c->nchannels = vol->nchannels; + c->volume = g_new(guint16, c->nchannels); + memcpy(c->volume, vol->volume, sizeof(guint16) * c->nchannels); + g_object_notify_main_context(G_OBJECT(channel), "volume"); +} + +/* coroutine context */ +static void playback_handle_set_mute(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpicePlaybackChannelPrivate *c = SPICE_PLAYBACK_CHANNEL(channel)->priv; + SpiceMsgAudioMute *m = spice_msg_in_parsed(in); + + c->mute = m->mute; + g_object_notify_main_context(G_OBJECT(channel), "mute"); +} + +static const spice_msg_handler playback_handlers[] = { + [ SPICE_MSG_PLAYBACK_DATA ] = playback_handle_data, + [ SPICE_MSG_PLAYBACK_MODE ] = playback_handle_mode, + [ SPICE_MSG_PLAYBACK_START ] = playback_handle_start, + [ SPICE_MSG_PLAYBACK_STOP ] = playback_handle_stop, + [ SPICE_MSG_PLAYBACK_VOLUME ] = playback_handle_set_volume, + [ SPICE_MSG_PLAYBACK_MUTE ] = playback_handle_set_mute, +}; + +/* coroutine context */ +static void spice_playback_handle_msg(SpiceChannel *channel, SpiceMsgIn *msg) +{ + int type = spice_msg_in_type(msg); + SpiceChannelClass *parent_class; + + g_return_if_fail(type < SPICE_N_ELEMENTS(playback_handlers)); + + parent_class = SPICE_CHANNEL_CLASS(spice_playback_channel_parent_class); + + if (playback_handlers[type] != NULL) + playback_handlers[type](channel, msg); + else if (parent_class->handle_msg) + parent_class->handle_msg(channel, msg); + else + g_return_if_reached(); +} + +void spice_playback_channel_set_delay(SpicePlaybackChannel *channel, guint32 delay_ms) +{ + SpicePlaybackChannelPrivate *c; + + g_return_if_fail(SPICE_IS_PLAYBACK_CHANNEL(channel)); + + CHANNEL_DEBUG(channel, "playback set_delay %u ms", delay_ms); + + c = channel->priv; + spice_session_set_mm_time(spice_channel_get_session(SPICE_CHANNEL(channel)), + c->last_time - delay_ms); +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-playback.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-playback.h new file mode 100644 index 0000000..9cf68cf --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-playback.h @@ -0,0 +1,76 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_CLIENT_PLAYBACK_CHANNEL_H__ +#define __SPICE_CLIENT_PLAYBACK_CHANNEL_H__ + +#include "spice-client.h" + +G_BEGIN_DECLS + +#define SPICE_TYPE_PLAYBACK_CHANNEL (spice_playback_channel_get_type()) +#define SPICE_PLAYBACK_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), SPICE_TYPE_PLAYBACK_CHANNEL, SpicePlaybackChannel)) +#define SPICE_PLAYBACK_CHANNEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPICE_TYPE_PLAYBACK_CHANNEL, SpicePlaybackChannelClass)) +#define SPICE_IS_PLAYBACK_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SPICE_TYPE_PLAYBACK_CHANNEL)) +#define SPICE_IS_PLAYBACK_CHANNEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SPICE_TYPE_PLAYBACK_CHANNEL)) +#define SPICE_PLAYBACK_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), SPICE_TYPE_PLAYBACK_CHANNEL, SpicePlaybackChannelClass)) + +typedef struct _SpicePlaybackChannel SpicePlaybackChannel; +typedef struct _SpicePlaybackChannelClass SpicePlaybackChannelClass; +typedef struct _SpicePlaybackChannelPrivate SpicePlaybackChannelPrivate; + +/** + * SpicePlaybackChannel: + * + * The #SpicePlaybackChannel struct is opaque and should not be accessed directly. + */ +struct _SpicePlaybackChannel { + SpiceChannel parent; + + /*< private >*/ + SpicePlaybackChannelPrivate *priv; + /* Do not add fields to this struct */ +}; + +/** + * SpicePlaybackChannelClass: + * @parent_class: Parent class. + * @playback_start: Signal class handler for the #SpicePlaybackChannel::playback-start signal. + * @playback_data: Signal class handler for the #SpicePlaybackChannel::playback-data signal. + * @playback_stop: Signal class handler for the #SpicePlaybackChannel::playback-stop signal. + * + * Class structure for #SpicePlaybackChannel. + */ +struct _SpicePlaybackChannelClass { + SpiceChannelClass parent_class; + + /* signals */ + void (*playback_start)(SpicePlaybackChannel *channel, + gint format, gint channels, gint freq); + void (*playback_data)(SpicePlaybackChannel *channel, gpointer *data, gint size); + void (*playback_stop)(SpicePlaybackChannel *channel); + + /*< private >*/ + /* Do not add fields to this struct */ +}; + +GType spice_playback_channel_get_type(void); +void spice_playback_channel_set_delay(SpicePlaybackChannel *channel, guint32 delay_ms); + +G_END_DECLS + +#endif /* __SPICE_CLIENT_PLAYBACK_CHANNEL_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-port.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-port.c new file mode 100644 index 0000000..1d6eef2 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-port.c @@ -0,0 +1,426 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2012 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#include "spice-client.h" +#include "spice-common.h" +#include "spice-channel-priv.h" +#include "spice-marshal.h" +#include "glib-compat.h" + +/** + * SECTION:channel-port + * @short_description: private communication channel + * @title: Port Channel + * @section_id: + * @see_also: #SpiceChannel + * @stability: Stable + * @include: channel-port.h + * + * A Spice port channel carry arbitrary data between the Spice client + * and the Spice server. It may be used to provide additional + * services on top of a Spice connection. For example, a channel can + * be associated with the qemu monitor for the client to interact + * with it, just like any qemu chardev. Or it may be used with + * various protocols, such as the Spice Controller. + * + * A port kind is identified simply by a fqdn, such as + * org.qemu.monitor, org.spice.spicy.test or org.ovirt.controller... + * + * Once connected and initialized, the client may read the name of the + * port via SpicePortChannel:port-name. + + * When the other end of the port is ready, + * SpicePortChannel:port-opened is set to %TRUE and you can start + * receiving data via the signal SpicePortChannel::port-data, or + * sending data via spice_port_write_async(). + * + * Since: 0.15 + */ + +#define SPICE_PORT_CHANNEL_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE((obj), SPICE_TYPE_PORT_CHANNEL, SpicePortChannelPrivate)) + +struct _SpicePortChannelPrivate { + gchar *name; + gboolean opened; +}; + +G_DEFINE_TYPE(SpicePortChannel, spice_port_channel, SPICE_TYPE_CHANNEL) + +/* Properties */ +enum { + PROP_0, + PROP_PORT_NAME, + PROP_PORT_OPENED, +}; + +/* Signals */ +enum { + SPICE_PORT_DATA, + SPICE_PORT_EVENT, + LAST_SIGNAL, +}; + +static guint signals[LAST_SIGNAL]; + +static void spice_port_handle_msg(SpiceChannel *channel, SpiceMsgIn *msg); + +static void spice_port_channel_init(SpicePortChannel *channel) +{ + channel->priv = SPICE_PORT_CHANNEL_GET_PRIVATE(channel); +} + +static void spice_port_get_property(GObject *object, + guint prop_id, + GValue *value, + GParamSpec *pspec) +{ + SpicePortChannelPrivate *c = SPICE_PORT_CHANNEL(object)->priv; + + switch (prop_id) { + case PROP_PORT_NAME: + g_value_set_string(value, c->name); + break; + case PROP_PORT_OPENED: + g_value_set_boolean(value, c->opened); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); + break; + } +} + +static void spice_port_channel_finalize(GObject *object) +{ + SpicePortChannelPrivate *c = SPICE_PORT_CHANNEL(object)->priv; + + g_free(c->name); + + if (G_OBJECT_CLASS(spice_port_channel_parent_class)->finalize) + G_OBJECT_CLASS(spice_port_channel_parent_class)->finalize(object); +} + +static void spice_port_channel_reset(SpiceChannel *channel, gboolean migrating) +{ + SpicePortChannelPrivate *c = SPICE_PORT_CHANNEL(channel)->priv; + + g_clear_pointer(&c->name, g_free); + c->opened = FALSE; + + SPICE_CHANNEL_CLASS(spice_port_channel_parent_class)->channel_reset(channel, migrating); +} + +static void spice_port_channel_class_init(SpicePortChannelClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS(klass); + SpiceChannelClass *channel_class = SPICE_CHANNEL_CLASS(klass); + + gobject_class->finalize = spice_port_channel_finalize; + gobject_class->get_property = spice_port_get_property; + channel_class->handle_msg = spice_port_handle_msg; + channel_class->channel_reset = spice_port_channel_reset; + + g_object_class_install_property + (gobject_class, PROP_PORT_NAME, + g_param_spec_string("port-name", + "Port name", + "Port name", + NULL, + G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property + (gobject_class, PROP_PORT_OPENED, + g_param_spec_boolean("port-opened", + "Port opened", + "Port opened", + FALSE, + G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); + + /** + * SpicePort::port-data: + * @channel: the channel that emitted the signal + * @data: the data received + * @size: number of bytes read + * + * The #SpicePortChannel::port-data signal is emitted when new + * port data is received. + * Since: 0.15 + **/ + signals[SPICE_PORT_DATA] = + g_signal_new("port-data", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_LAST, + 0, + NULL, NULL, + g_cclosure_user_marshal_VOID__POINTER_INT, + G_TYPE_NONE, + 2, + G_TYPE_POINTER, G_TYPE_INT); + + + /** + * SpicePort::port-event: + * @channel: the channel that emitted the signal + * @event: the event received + * @size: number of bytes read + * + * The #SpicePortChannel::port-event signal is emitted when new + * port event is received. + * Since: 0.15 + **/ + signals[SPICE_PORT_EVENT] = + g_signal_new("port-event", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_LAST, + 0, + NULL, NULL, + g_cclosure_marshal_VOID__INT, + G_TYPE_NONE, + 1, + G_TYPE_INT); + + g_type_class_add_private(klass, sizeof(SpicePortChannelPrivate)); +} + +/* signal trampoline---------------------------------------------------------- */ + +struct SPICE_PORT_DATA { + uint8_t *data; + gsize data_size; +}; + +struct SPICE_PORT_EVENT { + int event; +}; + +/* main context */ +static void do_emit_main_context(GObject *object, int signum, gpointer params) +{ + switch (signum) { + case SPICE_PORT_DATA: { + struct SPICE_PORT_DATA *p = params; + g_signal_emit(object, signals[signum], 0, p->data, p->data_size); + break; + } + case SPICE_PORT_EVENT: { + struct SPICE_PORT_EVENT *p = params; + g_signal_emit(object, signals[signum], 0, p->event); + break; + } + default: + g_warn_if_reached(); + } +} + +/* coroutine context */ +static void port_set_opened(SpicePortChannel *self, gboolean opened) +{ + SpicePortChannelPrivate *c = self->priv; + + if (c->opened == opened) + return; + + c->opened = opened; + g_object_notify_main_context(G_OBJECT(self), "port-opened"); +} + +/* coroutine context */ +static void port_handle_init(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpicePortChannel *self = SPICE_PORT_CHANNEL(channel); + SpicePortChannelPrivate *c = self->priv; + SpiceMsgPortInit *init = spice_msg_in_parsed(in); + + CHANNEL_DEBUG(channel, "init: %s %d", init->name, init->opened); + g_return_if_fail(init->name != NULL && *init->name != '\0'); + g_return_if_fail(c->name == NULL); + + c->name = g_strdup((gchar*)init->name); + g_object_notify(G_OBJECT(channel), "port-name"); + + port_set_opened(self, init->opened); +} + +/* coroutine context */ +static void port_handle_event(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpicePortChannel *self = SPICE_PORT_CHANNEL(channel); + SpiceMsgPortEvent *event = spice_msg_in_parsed(in); + + CHANNEL_DEBUG(channel, "port event: %d", event->event); + switch (event->event) { + case SPICE_PORT_EVENT_OPENED: + port_set_opened(self, true); + break; + case SPICE_PORT_EVENT_CLOSED: + port_set_opened(self, false); + break; + } + + emit_main_context(channel, SPICE_PORT_EVENT, event->event); +} + +/* coroutine context */ +static void port_handle_msg(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpicePortChannel *self = SPICE_PORT_CHANNEL(channel); + int size; + uint8_t *buf; + + buf = spice_msg_in_raw(in, &size); + CHANNEL_DEBUG(channel, "port %p got %d %p", channel, size, buf); + port_set_opened(self, true); + emit_main_context(channel, SPICE_PORT_DATA, buf, size); +} + +static void port_write_free_cb(uint8_t *data, void *user_data) +{ + GSimpleAsyncResult *result = user_data; + + g_simple_async_result_complete(result); + g_object_unref(result); +} + +/** + * spice_port_write_async: + * @port: A #SpicePortChannel + * @buffer: (array length=count) (element-type guint8): the buffer + * containing the data to write + * @count: the number of bytes to write + * @cancellable: (allow-none): optional GCancellable object, NULL to ignore + * @callback: (scope async): callback to call when the request is satisfied + * @user_data: (closure): the data to pass to callback function + * + * Request an asynchronous write of count bytes from @buffer into the + * @port. When the operation is finished @callback will be called. You + * can then call spice_port_write_finish() to get the result of + * the operation. + * + * Since: 0.15 + **/ +void spice_port_write_async(SpicePortChannel *self, + const void *buffer, gsize count, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + GSimpleAsyncResult *simple; + SpicePortChannelPrivate *c; + SpiceMsgOut *msg; + + g_return_if_fail(SPICE_IS_PORT_CHANNEL(self)); + g_return_if_fail(buffer != NULL); + c = self->priv; + + if (!c->opened) { + g_simple_async_report_error_in_idle(G_OBJECT(self), callback, user_data, + SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + "The port is not opened"); + return; + } + + simple = g_simple_async_result_new(G_OBJECT(self), callback, user_data, + spice_port_write_async); + g_simple_async_result_set_op_res_gssize(simple, count); + + msg = spice_msg_out_new(SPICE_CHANNEL(self), SPICE_MSGC_SPICEVMC_DATA); + spice_marshaller_add_ref_full(msg->marshaller, (uint8_t*)buffer, count, + port_write_free_cb, simple); + spice_msg_out_send(msg); +} + +/** + * spice_port_write_finish: + * @port: a #SpicePortChannel + * @result: a #GAsyncResult + * @error: a #GError location to store the error occurring, or %NULL + * to ignore + * + * Finishes a port write operation. + * + * Returns: a #gssize containing the number of bytes written to the stream. + * Since: 0.15 + **/ +gssize spice_port_write_finish(SpicePortChannel *self, + GAsyncResult *result, GError **error) +{ + GSimpleAsyncResult *simple; + + g_return_val_if_fail(SPICE_IS_PORT_CHANNEL(self), -1); + g_return_val_if_fail(result != NULL, -1); + + simple = (GSimpleAsyncResult *)result; + + if (g_simple_async_result_propagate_error(simple, error)) + return -1; + + g_return_val_if_fail(g_simple_async_result_is_valid(result, G_OBJECT(self), + spice_port_write_async), -1); + + return g_simple_async_result_get_op_res_gssize(simple); +} + +/** + * spice_port_event: + * @port: a #SpicePortChannel + * @event: a SPICE_PORT_EVENT value + * + * Send an event to the port. + * + * Note: The values SPICE_PORT_EVENT_CLOSED and + * SPICE_PORT_EVENT_OPENED are managed by the channel connection + * state. + * + * Since: 0.15 + **/ +void spice_port_event(SpicePortChannel *self, guint8 event) +{ + SpiceMsgcPortEvent e; + SpiceMsgOut *msg; + + g_return_if_fail(SPICE_IS_PORT_CHANNEL(self)); + g_return_if_fail(event > SPICE_PORT_EVENT_CLOSED); + + msg = spice_msg_out_new(SPICE_CHANNEL(self), SPICE_MSGC_PORT_EVENT); + e.event = event; + msg->marshallers->msgc_port_event(msg->marshaller, &e); + spice_msg_out_send(msg); +} + +static const spice_msg_handler port_handlers[] = { + [ SPICE_MSG_PORT_INIT ] = port_handle_init, + [ SPICE_MSG_PORT_EVENT ] = port_handle_event, + [ SPICE_MSG_SPICEVMC_DATA ] = port_handle_msg, +}; + +/* coroutine context */ +static void spice_port_handle_msg(SpiceChannel *channel, SpiceMsgIn *msg) +{ + int type = spice_msg_in_type(msg); + SpiceChannelClass *parent_class; + + g_return_if_fail(type < SPICE_N_ELEMENTS(port_handlers)); + + parent_class = SPICE_CHANNEL_CLASS(spice_port_channel_parent_class); + + if (port_handlers[type] != NULL) + port_handlers[type](channel, msg); + else if (parent_class->handle_msg) + parent_class->handle_msg(channel, msg); + else + g_return_if_reached(); +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-port.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-port.h new file mode 100644 index 0000000..84d512d --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-port.h @@ -0,0 +1,76 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2012 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_CLIENT_PORT_CHANNEL_H__ +#define __SPICE_CLIENT_PORT_CHANNEL_H__ + +#include +#include "spice-client.h" + +G_BEGIN_DECLS + +#define SPICE_TYPE_PORT_CHANNEL (spice_port_channel_get_type()) +#define SPICE_PORT_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), SPICE_TYPE_PORT_CHANNEL, SpicePortChannel)) +#define SPICE_PORT_CHANNEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPICE_TYPE_PORT_CHANNEL, SpicePortChannelClass)) +#define SPICE_IS_PORT_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SPICE_TYPE_PORT_CHANNEL)) +#define SPICE_IS_PORT_CHANNEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SPICE_TYPE_PORT_CHANNEL)) +#define SPICE_PORT_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), SPICE_TYPE_PORT_CHANNEL, SpicePortChannelClass)) + +typedef struct _SpicePortChannel SpicePortChannel; +typedef struct _SpicePortChannelClass SpicePortChannelClass; +typedef struct _SpicePortChannelPrivate SpicePortChannelPrivate; + +/** + * SpicePortChannel: + * + * The #SpicePortChannel struct is opaque and should not be accessed directly. + */ +struct _SpicePortChannel { + SpiceChannel parent; + + /*< private >*/ + SpicePortChannelPrivate *priv; + /* Do not add fields to this struct */ +}; + +/** + * SpicePortChannelClass: + * @parent_class: Parent class. + * + * Class structure for #SpicePortChannel. + */ +struct _SpicePortChannelClass { + SpiceChannelClass parent_class; + + /*< private >*/ + /* Do not add fields to this struct */ +}; + +GType spice_port_channel_get_type(void); + +void spice_port_write_async(SpicePortChannel *port, + const void *buffer, gsize count, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +gssize spice_port_write_finish(SpicePortChannel *port, + GAsyncResult *result, GError **error); +void spice_port_event(SpicePortChannel *port, guint8 event); + +G_END_DECLS + +#endif /* __SPICE_CLIENT_PORT_CHANNEL_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-record.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-record.c new file mode 100644 index 0000000..6345569 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-record.c @@ -0,0 +1,548 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#include + +#include "spice-client.h" +#include "spice-common.h" +#include "spice-channel-priv.h" + +#include "spice-marshal.h" +#include "spice-session-priv.h" + +/** + * SECTION:channel-record + * @short_description: audio stream for recording + * @title: Record Channel + * @section_id: + * @see_also: #SpiceChannel, and #SpiceAudio + * @stability: Stable + * @include: channel-record.h + * + * #SpiceRecordChannel class handles an audio recording stream. The + * audio stream should start when #SpiceRecordChannel::record-start is + * emitted and should be stopped when #SpiceRecordChannel::record-stop + * is received. + * + * The audio is sent to the guest by calling spice_record_send_data() + * with the recorded PCM data. + * + * Note: You may be interested to let the #SpiceAudio class play and + * record audio channels for your application. + */ + +#define SPICE_RECORD_CHANNEL_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE((obj), SPICE_TYPE_RECORD_CHANNEL, SpiceRecordChannelPrivate)) + +struct _SpiceRecordChannelPrivate { + int mode; + gboolean started; + CELTMode *celt_mode; + CELTEncoder *celt_encoder; + gsize frame_bytes; + guint8 *last_frame; + gsize last_frame_current; + guint8 nchannels; + guint16 *volume; + guint8 mute; +}; + +G_DEFINE_TYPE(SpiceRecordChannel, spice_record_channel, SPICE_TYPE_CHANNEL) + +/* Properties */ +enum { + PROP_0, + PROP_NCHANNELS, + PROP_VOLUME, + PROP_MUTE, +}; + +/* Signals */ +enum { + SPICE_RECORD_START, + SPICE_RECORD_STOP, + + SPICE_RECORD_LAST_SIGNAL, +}; + +static guint signals[SPICE_RECORD_LAST_SIGNAL]; + +static void spice_record_handle_msg(SpiceChannel *channel, SpiceMsgIn *msg); +static void channel_up(SpiceChannel *channel); + +#define FRAME_SIZE 256 +#define CELT_BIT_RATE (64 * 1024) + +/* ------------------------------------------------------------------ */ + +static void spice_record_channel_reset_capabilities(SpiceChannel *channel) +{ + if (!g_getenv("SPICE_DISABLE_CELT")) + spice_channel_set_capability(SPICE_CHANNEL(channel), SPICE_RECORD_CAP_CELT_0_5_1); + spice_channel_set_capability(SPICE_CHANNEL(channel), SPICE_RECORD_CAP_VOLUME); +} + +static void spice_record_channel_init(SpiceRecordChannel *channel) +{ + channel->priv = SPICE_RECORD_CHANNEL_GET_PRIVATE(channel); + + spice_record_channel_reset_capabilities(SPICE_CHANNEL(channel)); +} + +static void spice_record_channel_finalize(GObject *obj) +{ + SpiceRecordChannelPrivate *c = SPICE_RECORD_CHANNEL(obj)->priv; + + g_free(c->last_frame); + c->last_frame = NULL; + + if (c->celt_encoder) { + celt051_encoder_destroy(c->celt_encoder); + c->celt_encoder = NULL; + } + + if (c->celt_mode) { + celt051_mode_destroy(c->celt_mode); + c->celt_mode = NULL; + } + + g_free(c->volume); + c->volume = NULL; + + if (G_OBJECT_CLASS(spice_record_channel_parent_class)->finalize) + G_OBJECT_CLASS(spice_record_channel_parent_class)->finalize(obj); +} + +static void spice_record_channel_get_property(GObject *gobject, + guint prop_id, + GValue *value, + GParamSpec *pspec) +{ + SpiceRecordChannel *channel = SPICE_RECORD_CHANNEL(gobject); + SpiceRecordChannelPrivate *c = channel->priv; + + switch (prop_id) { + case PROP_VOLUME: + g_value_set_pointer(value, c->volume); + break; + case PROP_NCHANNELS: + g_value_set_uint(value, c->nchannels); + break; + case PROP_MUTE: + g_value_set_boolean(value, c->mute); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, pspec); + break; + } +} + +static void spice_record_channel_set_property(GObject *gobject, + guint prop_id, + const GValue *value, + GParamSpec *pspec) +{ + switch (prop_id) { + case PROP_VOLUME: + /* TODO: request guest volume change */ + break; + case PROP_MUTE: + /* TODO: request guest mute change */ + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, pspec); + break; + } +} + +static void channel_reset(SpiceChannel *channel, gboolean migrating) +{ + SpiceRecordChannelPrivate *c = SPICE_RECORD_CHANNEL(channel)->priv; + + g_free(c->last_frame); + c->last_frame = NULL; + + if (c->celt_encoder) { + celt051_encoder_destroy(c->celt_encoder); + c->celt_encoder = NULL; + } + + if (c->celt_mode) { + celt051_mode_destroy(c->celt_mode); + c->celt_mode = NULL; + } + + SPICE_CHANNEL_CLASS(spice_record_channel_parent_class)->channel_reset(channel, migrating); +} + +static void spice_record_channel_class_init(SpiceRecordChannelClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS(klass); + SpiceChannelClass *channel_class = SPICE_CHANNEL_CLASS(klass); + + gobject_class->finalize = spice_record_channel_finalize; + gobject_class->get_property = spice_record_channel_get_property; + gobject_class->set_property = spice_record_channel_set_property; + channel_class->handle_msg = spice_record_handle_msg; + channel_class->channel_up = channel_up; + channel_class->channel_reset = channel_reset; + channel_class->channel_reset_capabilities = spice_record_channel_reset_capabilities; + + g_object_class_install_property + (gobject_class, PROP_NCHANNELS, + g_param_spec_uint("nchannels", + "Number of Channels", + "Number of Channels", + 0, G_MAXUINT8, 2, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property + (gobject_class, PROP_VOLUME, + g_param_spec_pointer("volume", + "Playback volume", + "", + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property + (gobject_class, PROP_MUTE, + g_param_spec_boolean("mute", + "Mute", + "Mute", + FALSE, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + /** + * SpiceRecordChannel::record-start: + * @channel: the #SpiceRecordChannel that emitted the signal + * @format: a #SPICE_AUDIO_FMT + * @channels: number of channels + * @rate: audio rate + * + * Notify when the recording should start, and provide audio format + * characteristics. + **/ + signals[SPICE_RECORD_START] = + g_signal_new("record-start", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceRecordChannelClass, record_start), + NULL, NULL, + g_cclosure_user_marshal_VOID__INT_INT_INT, + G_TYPE_NONE, + 3, + G_TYPE_INT, G_TYPE_INT, G_TYPE_INT); + + /** + * SpiceRecordChannel::record-stop: + * @channel: the #SpiceRecordChannel that emitted the signal + * + * Notify when the recording should stop. + **/ + signals[SPICE_RECORD_STOP] = + g_signal_new("record-stop", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceRecordChannelClass, record_stop), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, + 0); + + g_type_class_add_private(klass, sizeof(SpiceRecordChannelPrivate)); +} + +/* signal trampoline---------------------------------------------------------- */ + +struct SPICE_RECORD_START { + gint format; + gint channels; + gint frequency; +}; + +struct SPICE_RECORD_STOP { +}; + +/* main context */ +static void do_emit_main_context(GObject *object, int signum, gpointer params) +{ + switch (signum) { + case SPICE_RECORD_START: { + struct SPICE_RECORD_START *p = params; + g_signal_emit(object, signals[signum], 0, + p->format, p->channels, p->frequency); + break; + } + case SPICE_RECORD_STOP: { + g_signal_emit(object, signals[signum], 0); + break; + } + default: + g_warn_if_reached(); + } +} + +/* main context */ +static void spice_record_mode(SpiceRecordChannel *channel, uint32_t time, + uint32_t mode, uint8_t *data, uint32_t data_size) +{ + SpiceMsgcRecordMode m = {0, }; + SpiceMsgOut *msg; + + g_return_if_fail(channel != NULL); + if (spice_channel_get_read_only(SPICE_CHANNEL(channel))) + return; + + m.mode = mode; + m.time = time; + m.data = data; + m.data_size = data_size; + + msg = spice_msg_out_new(SPICE_CHANNEL(channel), SPICE_MSGC_RECORD_MODE); + msg->marshallers->msgc_record_mode(msg->marshaller, &m); + spice_msg_out_send(msg); +} + +/* coroutine context */ +static void channel_up(SpiceChannel *channel) +{ + SpiceRecordChannelPrivate *rc; + + rc = SPICE_RECORD_CHANNEL(channel)->priv; + if (!g_getenv("SPICE_DISABLE_CELT") && + spice_channel_test_capability(channel, SPICE_RECORD_CAP_CELT_0_5_1)) { + rc->mode = SPICE_AUDIO_DATA_MODE_CELT_0_5_1; + } else { + rc->mode = SPICE_AUDIO_DATA_MODE_RAW; + } +} + +/* main context */ +static void spice_record_start_mark(SpiceRecordChannel *channel, uint32_t time) +{ + SpiceMsgcRecordStartMark m = {0, }; + SpiceMsgOut *msg; + + g_return_if_fail(channel != NULL); + if (spice_channel_get_read_only(SPICE_CHANNEL(channel))) + return; + + m.time = time; + + msg = spice_msg_out_new(SPICE_CHANNEL(channel), SPICE_MSGC_RECORD_START_MARK); + msg->marshallers->msgc_record_start_mark(msg->marshaller, &m); + spice_msg_out_send(msg); +} + +/** + * spice_record_send_data: + * @channel: + * @data: PCM data + * @bytes: size of @data + * @time: stream timestamp + * + * Send recorded PCM data to the guest. + **/ +void spice_record_send_data(SpiceRecordChannel *channel, gpointer data, + gsize bytes, uint32_t time) +{ + SpiceRecordChannelPrivate *rc; + SpiceMsgcRecordPacket p = {0, }; + int celt_compressed_frame_bytes = FRAME_SIZE * CELT_BIT_RATE / 44100 / 8; + uint8_t *celt_buf = NULL; + + g_return_if_fail(channel != NULL); + g_return_if_fail(spice_channel_get_read_only(SPICE_CHANNEL(channel)) == FALSE); + + rc = channel->priv; + + if (!rc->started) { + spice_record_mode(channel, time, rc->mode, NULL, 0); + spice_record_start_mark(channel, time); + rc->started = TRUE; + } + + if (rc->mode == SPICE_AUDIO_DATA_MODE_CELT_0_5_1) + celt_buf = g_alloca(celt_compressed_frame_bytes); + + p.time = time; + + while (bytes > 0) { + gsize n; + int frame_size; + SpiceMsgOut *msg; + uint8_t *frame; + + if (rc->last_frame_current > 0) { + /* complete previous frame */ + n = MIN(bytes, rc->frame_bytes - rc->last_frame_current); + memcpy(rc->last_frame + rc->last_frame_current, data, n); + rc->last_frame_current += n; + if (rc->last_frame_current < rc->frame_bytes) + /* if the frame is still incomplete, return */ + break; + frame = rc->last_frame; + frame_size = rc->frame_bytes; + } else { + n = MIN(bytes, rc->frame_bytes); + frame_size = n; + frame = data; + } + + if (rc->last_frame_current == 0 && + n < rc->frame_bytes) { + /* start a new frame */ + memcpy(rc->last_frame, data, n); + rc->last_frame_current = n; + break; + } + + if (rc->mode == SPICE_AUDIO_DATA_MODE_CELT_0_5_1) { + frame_size = celt051_encode(rc->celt_encoder, (celt_int16_t *)frame, NULL, celt_buf, + celt_compressed_frame_bytes); + if (frame_size < 0) { + g_warning("celt encode failed"); + return; + } + frame = celt_buf; + } + + msg = spice_msg_out_new(SPICE_CHANNEL(channel), SPICE_MSGC_RECORD_DATA); + msg->marshallers->msgc_record_data(msg->marshaller, &p); + spice_marshaller_add(msg->marshaller, frame, frame_size); + spice_msg_out_send(msg); + + if (rc->last_frame_current == rc->frame_bytes) + rc->last_frame_current = 0; + + bytes -= n; + data = (guint8*)data + n; + } +} + +/* ------------------------------------------------------------------ */ + +/* coroutine context */ +static void record_handle_start(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceRecordChannelPrivate *c = SPICE_RECORD_CHANNEL(channel)->priv; + SpiceMsgRecordStart *start = spice_msg_in_parsed(in); + + CHANNEL_DEBUG(channel, "%s: fmt %d channels %d freq %d", __FUNCTION__, + start->format, start->channels, start->frequency); + + c->frame_bytes = FRAME_SIZE * 16 * start->channels / 8; + + g_free(c->last_frame); + c->last_frame = g_malloc(c->frame_bytes); + c->last_frame_current = 0; + + switch (c->mode) { + case SPICE_AUDIO_DATA_MODE_RAW: + emit_main_context(channel, SPICE_RECORD_START, + start->format, start->channels, start->frequency); + break; + case SPICE_AUDIO_DATA_MODE_CELT_0_5_1: { + int celt_mode_err; + + g_return_if_fail(start->format == SPICE_AUDIO_FMT_S16); + + if (!c->celt_mode) + c->celt_mode = celt051_mode_create(start->frequency, start->channels, FRAME_SIZE, + &celt_mode_err); + if (!c->celt_mode) + g_warning("Failed to create celt mode"); + + if (!c->celt_encoder) + c->celt_encoder = celt051_encoder_create(c->celt_mode); + + if (!c->celt_encoder) + g_warning("Failed to create celt encoder"); + + emit_main_context(channel, SPICE_RECORD_START, + start->format, start->channels, start->frequency); + break; + } + default: + g_warning("%s: unhandled mode %d", __FUNCTION__, c->mode); + break; + } +} + +/* coroutine context */ +static void record_handle_stop(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceRecordChannelPrivate *rc = SPICE_RECORD_CHANNEL(channel)->priv; + + emit_main_context(channel, SPICE_RECORD_STOP); + rc->started = FALSE; +} + +/* coroutine context */ +static void record_handle_set_volume(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceRecordChannelPrivate *c = SPICE_RECORD_CHANNEL(channel)->priv; + SpiceMsgAudioVolume *vol = spice_msg_in_parsed(in); + + if (vol->nchannels == 0) { + g_warning("spice-server send audio-volume-msg with 0 channels"); + return; + } + + g_free(c->volume); + c->nchannels = vol->nchannels; + c->volume = g_new(guint16, c->nchannels); + memcpy(c->volume, vol->volume, sizeof(guint16) * c->nchannels); + g_object_notify_main_context(G_OBJECT(channel), "volume"); +} + +/* coroutine context */ +static void record_handle_set_mute(SpiceChannel *channel, SpiceMsgIn *in) +{ + SpiceRecordChannelPrivate *c = SPICE_RECORD_CHANNEL(channel)->priv; + SpiceMsgAudioMute *m = spice_msg_in_parsed(in); + + c->mute = m->mute; + g_object_notify_main_context(G_OBJECT(channel), "mute"); +} + +static const spice_msg_handler record_handlers[] = { + [ SPICE_MSG_RECORD_START ] = record_handle_start, + [ SPICE_MSG_RECORD_STOP ] = record_handle_stop, + [ SPICE_MSG_RECORD_VOLUME ] = record_handle_set_volume, + [ SPICE_MSG_RECORD_MUTE ] = record_handle_set_mute, +}; + +/* coroutine context */ +static void spice_record_handle_msg(SpiceChannel *channel, SpiceMsgIn *msg) +{ + int type = spice_msg_in_type(msg); + + SpiceChannelClass *parent_class; + + g_return_if_fail(type < SPICE_N_ELEMENTS(record_handlers)); + + parent_class = SPICE_CHANNEL_CLASS(spice_record_channel_parent_class); + + if (record_handlers[type] != NULL) + record_handlers[type](channel, msg); + else if (parent_class->handle_msg) + parent_class->handle_msg(channel, msg); + else + g_return_if_reached(); +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-record.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-record.h new file mode 100644 index 0000000..20a9ad3 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-record.h @@ -0,0 +1,77 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_CLIENT_RECORD_CHANNEL_H__ +#define __SPICE_CLIENT_RECORD_CHANNEL_H__ + +#include "spice-client.h" + +G_BEGIN_DECLS + +#define SPICE_TYPE_RECORD_CHANNEL (spice_record_channel_get_type()) +#define SPICE_RECORD_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), SPICE_TYPE_RECORD_CHANNEL, SpiceRecordChannel)) +#define SPICE_RECORD_CHANNEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPICE_TYPE_RECORD_CHANNEL, SpiceRecordChannelClass)) +#define SPICE_IS_RECORD_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SPICE_TYPE_RECORD_CHANNEL)) +#define SPICE_IS_RECORD_CHANNEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SPICE_TYPE_RECORD_CHANNEL)) +#define SPICE_RECORD_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), SPICE_TYPE_RECORD_CHANNEL, SpiceRecordChannelClass)) + +typedef struct _SpiceRecordChannel SpiceRecordChannel; +typedef struct _SpiceRecordChannelClass SpiceRecordChannelClass; +typedef struct _SpiceRecordChannelPrivate SpiceRecordChannelPrivate; + +/** + * SpiceRecordChannel: + * + * The #SpiceRecordChannel struct is opaque and should not be accessed directly. + */ +struct _SpiceRecordChannel { + SpiceChannel parent; + + /*< private >*/ + SpiceRecordChannelPrivate *priv; + /* Do not add fields to this struct */ +}; + +/** + * SpiceRecordChannelClass: + * @parent_class: Parent class. + * @record_start: Signal class handler for the #SpiceRecordChannel::record-start signal. + * @record_stop: Signal class handler for the #SpiceRecordChannel::record-stop signal. + * @record_data: Unused (deprecated). + * + * Class structure for #SpiceRecordChannel. + */ +struct _SpiceRecordChannelClass { + SpiceChannelClass parent_class; + + /* signals */ + void (*record_start)(SpiceRecordChannel *channel, + gint format, gint channels, gint freq); + void (*record_data)(SpiceRecordChannel *channel, gpointer *data, gint size); + void (*record_stop)(SpiceRecordChannel *channel); + + /*< private >*/ + /* Do not add fields to this struct */ +}; + +GType spice_record_channel_get_type(void); +void spice_record_send_data(SpiceRecordChannel *channel, gpointer data, + gsize bytes, guint32 time); + +G_END_DECLS + +#endif /* __SPICE_CLIENT_RECORD_CHANNEL_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-smartcard.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-smartcard.c new file mode 100644 index 0000000..21b8343 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-smartcard.c @@ -0,0 +1,573 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#include "config.h" + +#ifdef USE_SMARTCARD +#include +#endif + +#include "spice-client.h" +#include "spice-common.h" + +#include "spice-channel-priv.h" +#include "smartcard-manager.h" +#include "smartcard-manager-priv.h" +#include "spice-session-priv.h" + +/** + * SECTION:channel-smartcard + * @short_description: smartcard authentication + * @title: Smartcard Channel + * @section_id: + * @see_also: #SpiceSmartcardManager, #SpiceSession + * @stability: API Stable (channel in development) + * @include: channel-smartcard.h + * + * The Spice protocol defines a set of messages to forward smartcard + * information from the Spice client to the VM. This channel handles + * these messages. While it's mainly focus on smartcard readers and + * smartcards, it's also possible to use it with a software smartcard + * (ie a set of 3 certificates from the client machine). + * This class doesn't provide useful methods, see #SpiceSession properties + * for a way to enable/disable this channel, and #SpiceSmartcardManager + * if you want to detect smartcard reader hotplug/unplug, and smartcard + * insertion/removal. + */ + +#define SPICE_SMARTCARD_CHANNEL_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE((obj), SPICE_TYPE_SMARTCARD_CHANNEL, SpiceSmartcardChannelPrivate)) + +struct _SpiceSmartcardChannelMessage { +#ifdef USE_SMARTCARD + VSCMsgType message_type; +#endif + SpiceMsgOut *message; +}; +typedef struct _SpiceSmartcardChannelMessage SpiceSmartcardChannelMessage; + + +struct _SpiceSmartcardChannelPrivate { + /* track readers that have been added but for which we didn't receive + * an ack from the spice server yet. We rely on the fact that the + * readers in this list are ordered by the time we sent the request to + * the server. When we get an ack from the server for a reader addition, + * we can pop the 1st entry to get the reader the ack corresponds to. */ + GList *pending_reader_additions; + + /* used to removals of readers that were not ack'ed yet by the spice + * server */ + GHashTable *pending_reader_removals; + + /* used to track card insertions on readers that were not ack'ed yet + * by the spice server */ + GHashTable *pending_card_insertions; + + /* next commands to be sent to the spice server. This is needed since + * we have to wait for a command answer before sending the next one + */ + GQueue *message_queue; + + /* message that is currently being processed by the spice server (ie last + * message that was sent to the server) + */ + SpiceSmartcardChannelMessage *in_flight_message; +}; + +G_DEFINE_TYPE(SpiceSmartcardChannel, spice_smartcard_channel, SPICE_TYPE_CHANNEL) + +enum { + + SPICE_SMARTCARD_LAST_SIGNAL, +}; + +static void spice_smartcard_handle_msg(SpiceChannel *channel, SpiceMsgIn *msg); +static void spice_smartcard_channel_up(SpiceChannel *channel); +static void handle_smartcard_msg(SpiceChannel *channel, SpiceMsgIn *in); +static void smartcard_message_free(SpiceSmartcardChannelMessage *message); + +/* ------------------------------------------------------------------ */ +#ifdef USE_SMARTCARD +static void reader_added_cb(SpiceSmartcardManager *manager, VReader *reader, + gpointer user_data); +static void reader_removed_cb(SpiceSmartcardManager *manager, VReader *reader, + gpointer user_data); +static void card_inserted_cb(SpiceSmartcardManager *manager, VReader *reader, + gpointer user_data); +static void card_removed_cb(SpiceSmartcardManager *manager, VReader *reader, + gpointer user_data); +#endif + +static void spice_smartcard_channel_init(SpiceSmartcardChannel *channel) +{ + SpiceSmartcardChannelPrivate *priv; + + channel->priv = SPICE_SMARTCARD_CHANNEL_GET_PRIVATE(channel); + priv = channel->priv; + priv->message_queue = g_queue_new(); + +#ifdef USE_SMARTCARD + priv->pending_card_insertions = + g_hash_table_new_full(g_direct_hash, g_direct_equal, + (GDestroyNotify)vreader_free, NULL); + priv->pending_reader_removals = + g_hash_table_new_full(g_direct_hash, g_direct_equal, + (GDestroyNotify)vreader_free, NULL); +#endif +} + +static void spice_smartcard_channel_constructed(GObject *object) +{ + SpiceSession *s = spice_channel_get_session(SPICE_CHANNEL(object)); + + g_return_if_fail(s != NULL); + +#ifdef USE_SMARTCARD + if (!s->priv->migration_copy) { + SpiceSmartcardChannel *channel = SPICE_SMARTCARD_CHANNEL(object); + SpiceSmartcardManager *manager = spice_smartcard_manager_get(); + + g_signal_connect(G_OBJECT(manager), "reader-added", + (GCallback)reader_added_cb, channel); + g_signal_connect(G_OBJECT(manager), "reader-removed", + (GCallback)reader_removed_cb, channel); + g_signal_connect(G_OBJECT(manager), "card-inserted", + (GCallback)card_inserted_cb, channel); + g_signal_connect(G_OBJECT(manager), "card-removed", + (GCallback)card_removed_cb, channel); + } +#endif + + if (G_OBJECT_CLASS(spice_smartcard_channel_parent_class)->constructed) + G_OBJECT_CLASS(spice_smartcard_channel_parent_class)->constructed(object); + +} + +static void spice_smartcard_channel_finalize(GObject *obj) +{ + SpiceSmartcardChannelPrivate *c = SPICE_SMARTCARD_CHANNEL_GET_PRIVATE(obj); + + if (c->pending_card_insertions != NULL) { + g_hash_table_destroy(c->pending_card_insertions); + c->pending_card_insertions = NULL; + } + if (c->pending_reader_removals != NULL) { + g_hash_table_destroy(c->pending_reader_removals); + c->pending_reader_removals = NULL; + } + if (c->message_queue != NULL) { + g_queue_foreach(c->message_queue, (GFunc)smartcard_message_free, NULL); + g_queue_free(c->message_queue); + c->message_queue = NULL; + } + if (c->in_flight_message != NULL) { + smartcard_message_free(c->in_flight_message); + c->in_flight_message = NULL; + } + + g_list_free(c->pending_reader_additions); + c->pending_reader_additions = NULL; + + if (G_OBJECT_CLASS(spice_smartcard_channel_parent_class)->finalize) + G_OBJECT_CLASS(spice_smartcard_channel_parent_class)->finalize(obj); +} + +static void spice_smartcard_channel_reset(SpiceChannel *channel, gboolean migrating) +{ + SpiceSmartcardChannelPrivate *c = SPICE_SMARTCARD_CHANNEL_GET_PRIVATE(channel); + + g_hash_table_remove_all(c->pending_card_insertions); + g_hash_table_remove_all(c->pending_reader_removals); + + if (c->message_queue != NULL) { + g_queue_foreach(c->message_queue, (GFunc)smartcard_message_free, NULL); + g_queue_clear(c->message_queue); + } + + if (c->in_flight_message != NULL) { + smartcard_message_free(c->in_flight_message); + c->in_flight_message = NULL; + } + + g_list_free(c->pending_reader_additions); + c->pending_reader_additions = NULL; + + SPICE_CHANNEL_CLASS(spice_smartcard_channel_parent_class)->channel_reset(channel, migrating); +} + +static void spice_smartcard_channel_class_init(SpiceSmartcardChannelClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS(klass); + SpiceChannelClass *channel_class = SPICE_CHANNEL_CLASS(klass); + + gobject_class->finalize = spice_smartcard_channel_finalize; + gobject_class->constructed = spice_smartcard_channel_constructed; + + channel_class->handle_msg = spice_smartcard_handle_msg; + channel_class->channel_up = spice_smartcard_channel_up; + channel_class->channel_reset = spice_smartcard_channel_reset; + + g_type_class_add_private(klass, sizeof(SpiceSmartcardChannelPrivate)); +} + +static const spice_msg_handler smartcard_handlers[] = { + [ SPICE_MSG_SMARTCARD_DATA ] = handle_smartcard_msg, +}; + +/* ------------------------------------------------------------------ */ +/* private api */ + +static void +smartcard_message_free(SpiceSmartcardChannelMessage *message) +{ + if (message->message) + spice_msg_out_unref(message->message); + g_slice_free(SpiceSmartcardChannelMessage, message); +} + +#if USE_SMARTCARD +static gboolean is_attached_to_server(VReader *reader) +{ + return (vreader_get_id(reader) != (vreader_id_t)-1); +} + +static gboolean +spice_channel_has_pending_card_insertion(SpiceSmartcardChannel *channel, + VReader *reader) +{ + return (g_hash_table_lookup(channel->priv->pending_card_insertions, reader) != NULL); +} + +static void +spice_channel_queue_card_insertion(SpiceSmartcardChannel *channel, + VReader *reader) +{ + vreader_reference(reader); + g_hash_table_insert(channel->priv->pending_card_insertions, + reader, reader); +} + +static void +spice_channel_drop_pending_card_insertion(SpiceSmartcardChannel *channel, + VReader *reader) +{ + g_hash_table_remove(channel->priv->pending_card_insertions, reader); +} + +static gboolean +spice_channel_has_pending_reader_removal(SpiceSmartcardChannel *channel, + VReader *reader) +{ + return (g_hash_table_lookup(channel->priv->pending_reader_removals, reader) != NULL); +} + +static void +spice_channel_queue_reader_removal(SpiceSmartcardChannel *channel, + VReader *reader) +{ + vreader_reference(reader); + g_hash_table_insert(channel->priv->pending_reader_removals, + reader, reader); +} + +static void +spice_channel_drop_pending_reader_removal(SpiceSmartcardChannel *channel, + VReader *reader) +{ + g_hash_table_remove(channel->priv->pending_reader_removals, reader); +} + +static SpiceSmartcardChannelMessage * +smartcard_message_new(VSCMsgType msg_type, SpiceMsgOut *msg_out) +{ + SpiceSmartcardChannelMessage *message; + + message = g_slice_new0(SpiceSmartcardChannelMessage); + message->message = msg_out; + message->message_type = msg_type; + + return message; +} + +/* Indicates that handling of the message that is currently in flight has + * been completed. If needed, sends the next queued command to the server. */ +static void +smartcard_message_complete_in_flight(SpiceSmartcardChannel *channel) +{ + g_return_if_fail(channel->priv->in_flight_message != NULL); + + smartcard_message_free(channel->priv->in_flight_message); + channel->priv->in_flight_message = g_queue_pop_head(channel->priv->message_queue); + if (channel->priv->in_flight_message != NULL) { + spice_msg_out_send(channel->priv->in_flight_message->message); + channel->priv->in_flight_message->message = NULL; + } +} + +static void smartcard_message_send(SpiceSmartcardChannel *channel, + VSCMsgType msg_type, + SpiceMsgOut *msg_out, gboolean queue) +{ + SpiceSmartcardChannelMessage *message; + + if (spice_channel_get_read_only(SPICE_CHANNEL(channel))) + return; + + CHANNEL_DEBUG(channel, "send message %d, %s", + msg_type, queue ? "queued" : "now"); + if (!queue) { + spice_msg_out_send(msg_out); + return; + } + + message = smartcard_message_new(msg_type, msg_out); + if (channel->priv->in_flight_message == NULL) { + g_return_if_fail(g_queue_is_empty(channel->priv->message_queue)); + channel->priv->in_flight_message = message; + spice_msg_out_send(channel->priv->in_flight_message->message); + channel->priv->in_flight_message->message = NULL; + } else { + g_queue_push_tail(channel->priv->message_queue, message); + } +} + +static void +send_msg_generic_with_data(SpiceSmartcardChannel *channel, VReader *reader, + VSCMsgType msg_type, + const uint8_t *data, gsize data_len, + gboolean serialize_msg) +{ + SpiceMsgOut *msg_out; + VSCMsgHeader header = { + .type = msg_type, + .length = data_len + }; + + if(vreader_get_id(reader) == -1) + header.reader_id = VSCARD_UNDEFINED_READER_ID; + else + header.reader_id = vreader_get_id(reader); + + msg_out = spice_msg_out_new(SPICE_CHANNEL(channel), + SPICE_MSGC_SMARTCARD_DATA); + msg_out->marshallers->msgc_smartcard_header(msg_out->marshaller, &header); + if ((data != NULL) && (data_len != 0)) { + spice_marshaller_add(msg_out->marshaller, data, data_len); + } + + smartcard_message_send(channel, msg_type, msg_out, serialize_msg); +} + +static void send_msg_generic(SpiceSmartcardChannel *channel, VReader *reader, + VSCMsgType msg_type) +{ + send_msg_generic_with_data(channel, reader, msg_type, NULL, 0, TRUE); +} + +static void send_msg_atr(SpiceSmartcardChannel *channel, VReader *reader) +{ +#define MAX_ATR_LEN 40 //this should be defined in libcacard + uint8_t atr[MAX_ATR_LEN]; + int atr_len = MAX_ATR_LEN; + + g_return_if_fail(vreader_get_id(reader) != VSCARD_UNDEFINED_READER_ID); + vreader_power_on(reader, atr, &atr_len); + send_msg_generic_with_data(channel, reader, VSC_ATR, atr, atr_len, TRUE); +} + +static void reader_added_cb(SpiceSmartcardManager *manager, VReader *reader, + gpointer user_data) +{ + SpiceSmartcardChannel *channel = SPICE_SMARTCARD_CHANNEL(user_data); + const char *reader_name = vreader_get_name(reader); + + channel->priv->pending_reader_additions = + g_list_append(channel->priv->pending_reader_additions, reader); + + send_msg_generic_with_data(channel, reader, VSC_ReaderAdd, + (uint8_t*)reader_name, strlen(reader_name), TRUE); +} + +static void reader_removed_cb(SpiceSmartcardManager *manager, VReader *reader, + gpointer user_data) +{ + SpiceSmartcardChannel *channel = SPICE_SMARTCARD_CHANNEL(user_data); + + if (is_attached_to_server(reader)) { + send_msg_generic(channel, reader, VSC_ReaderRemove); + } else { + spice_channel_queue_reader_removal(channel, reader); + } +} + +/* ------------------------------------------------------------------ */ +/* callbacks */ +static void card_inserted_cb(SpiceSmartcardManager *manager, VReader *reader, + gpointer user_data) +{ + SpiceSmartcardChannel *channel = SPICE_SMARTCARD_CHANNEL(user_data); + + if (is_attached_to_server(reader)) { + send_msg_atr(channel, reader); + } else { + spice_channel_queue_card_insertion(channel, reader); + } +} + +static void card_removed_cb(SpiceSmartcardManager *manager, VReader *reader, + gpointer user_data) +{ + SpiceSmartcardChannel *channel = SPICE_SMARTCARD_CHANNEL(user_data); + + if (is_attached_to_server(reader)) { + send_msg_generic(channel, reader, VSC_CardRemove); + } else { + /* this does nothing when reader has no card insertion pending */ + spice_channel_drop_pending_card_insertion(channel, reader); + } +} +#endif /* USE_SMARTCARD */ + +/* coroutine context */ +static void spice_smartcard_handle_msg(SpiceChannel *channel, SpiceMsgIn *msg) +{ + int type = spice_msg_in_type(msg); + SpiceChannelClass *parent_class; + + g_return_if_fail(type < SPICE_N_ELEMENTS(smartcard_handlers)); + + parent_class = SPICE_CHANNEL_CLASS(spice_smartcard_channel_parent_class); + + if (smartcard_handlers[type] != NULL) + smartcard_handlers[type](channel, msg); + else if (parent_class->handle_msg) + parent_class->handle_msg(channel, msg); + else + g_return_if_reached(); +} + +static void spice_smartcard_channel_up_cb(GObject *source_object, + GAsyncResult *res, + gpointer user_data) +{ + SpiceChannel *channel = SPICE_CHANNEL(user_data); + + g_return_if_fail(channel != NULL); + g_return_if_fail(SPICE_IS_SESSION(source_object)); + + if (!spice_channel_get_session(SPICE_CHANNEL(channel))->priv->migration_copy) { + GError *error = NULL; + + spice_smartcard_manager_init_finish(SPICE_SESSION(source_object), + res, &error); + if (error) + g_warning("%s", error->message); + g_clear_error(&error); + } +} + +static void spice_smartcard_channel_up(SpiceChannel *channel) +{ + spice_smartcard_manager_init_async(spice_channel_get_session(channel), + g_cancellable_new(), + spice_smartcard_channel_up_cb, + channel); +} + +static void handle_smartcard_msg(SpiceChannel *channel, SpiceMsgIn *in) +{ +#ifdef USE_SMARTCARD + SpiceSmartcardChannelPrivate *priv = SPICE_SMARTCARD_CHANNEL_GET_PRIVATE(channel); + SpiceMsgSmartcard *msg = spice_msg_in_parsed(in); + VReader *reader; + + priv = SPICE_SMARTCARD_CHANNEL_GET_PRIVATE(channel); + CHANNEL_DEBUG(channel, "handle msg %d", msg->type); + switch (msg->type) { + case VSC_Error: + g_return_if_fail(priv->in_flight_message != NULL); + CHANNEL_DEBUG(channel, "in flight %d", priv->in_flight_message->message_type); + switch (priv->in_flight_message->message_type) { + case VSC_ReaderAdd: + g_return_if_fail(priv->pending_reader_additions != NULL); + reader = priv->pending_reader_additions->data; + g_return_if_fail(reader != NULL); + g_return_if_fail(vreader_get_id(reader) == -1); + priv->pending_reader_additions = + g_list_delete_link(priv->pending_reader_additions, + priv->pending_reader_additions); + vreader_set_id(reader, msg->reader_id); + + if (spice_channel_has_pending_card_insertion(SPICE_SMARTCARD_CHANNEL(channel), reader)) { + send_msg_atr(SPICE_SMARTCARD_CHANNEL(channel), reader); + spice_channel_drop_pending_card_insertion(SPICE_SMARTCARD_CHANNEL(channel), reader); + } + + if (spice_channel_has_pending_reader_removal(SPICE_SMARTCARD_CHANNEL(channel), reader)) { + send_msg_generic(SPICE_SMARTCARD_CHANNEL(channel), + reader, VSC_CardRemove); + spice_channel_drop_pending_reader_removal(SPICE_SMARTCARD_CHANNEL(channel), reader); + } + break; + case VSC_APDU: + case VSC_ATR: + case VSC_CardRemove: + case VSC_Error: + case VSC_ReaderRemove: + break; + default: + g_warning("Unexpected message: %d", priv->in_flight_message->message_type); + break; + } + smartcard_message_complete_in_flight(SPICE_SMARTCARD_CHANNEL(channel)); + + break; + + case VSC_APDU: + case VSC_Init: { + const unsigned int APDU_BUFFER_SIZE = 270; + VReaderStatus reader_status; + uint8_t data_out[APDU_BUFFER_SIZE + sizeof(uint32_t)]; + int data_out_len = sizeof(data_out); + + g_return_if_fail(msg->reader_id != VSCARD_UNDEFINED_READER_ID); + reader = vreader_get_reader_by_id(msg->reader_id); + g_return_if_fail(reader != NULL); //FIXME: add log message + + reader_status = vreader_xfr_bytes(reader, + msg->data, msg->length, + data_out, &data_out_len); + if (reader_status == VREADER_OK) { + send_msg_generic_with_data(SPICE_SMARTCARD_CHANNEL(channel), + reader, VSC_APDU, + data_out, data_out_len, FALSE); + } else { + uint32_t error_code; + error_code = GUINT32_TO_LE(reader_status); + send_msg_generic_with_data(SPICE_SMARTCARD_CHANNEL(channel), + reader, VSC_Error, + (uint8_t*)&error_code, + sizeof (error_code), FALSE); + } + break; + } + default: + g_return_if_reached(); + } +#endif +} + diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-smartcard.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-smartcard.h new file mode 100644 index 0000000..28c8b88 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-smartcard.h @@ -0,0 +1,68 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_CLIENT_SMARTCARD_CHANNEL_H__ +#define __SPICE_CLIENT_SMARTCARD_CHANNEL_H__ + +#include "spice-client.h" + +G_BEGIN_DECLS + +#define SPICE_TYPE_SMARTCARD_CHANNEL (spice_smartcard_channel_get_type()) +#define SPICE_SMARTCARD_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), SPICE_TYPE_SMARTCARD_CHANNEL, SpiceSmartcardChannel)) +#define SPICE_SMARTCARD_CHANNEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPICE_TYPE_SMARTCARD_CHANNEL, SpiceSmartcardChannelClass)) +#define SPICE_IS_SMARTCARD_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SPICE_TYPE_SMARTCARD_CHANNEL)) +#define SPICE_IS_SMARTCARD_CHANNEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SPICE_TYPE_SMARTCARD_CHANNEL)) +#define SPICE_SMARTCARD_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), SPICE_TYPE_SMARTCARD_CHANNEL, SpiceSmartcardChannelClass)) + +typedef struct _SpiceSmartcardChannel SpiceSmartcardChannel; +typedef struct _SpiceSmartcardChannelClass SpiceSmartcardChannelClass; +typedef struct _SpiceSmartcardChannelPrivate SpiceSmartcardChannelPrivate; + +/** + * SpiceSmartcardChannel: + * + * The #SpiceSmartcardChannel struct is opaque and should not be accessed directly. + */ +struct _SpiceSmartcardChannel { + SpiceChannel parent; + + /*< private >*/ + SpiceSmartcardChannelPrivate *priv; + /* Do not add fields to this struct */ +}; + +/** + * SpiceSmartcardChannelClass: + * @parent_class: Parent class. + * + * Class structure for #SpiceSmartcardChannel. + */ +struct _SpiceSmartcardChannelClass { + SpiceChannelClass parent_class; + + /* signals */ + + /*< private >*/ + /* Do not add fields to this struct */ +}; + +GType spice_smartcard_channel_get_type(void); + +G_END_DECLS + +#endif /* __SPICE_CLIENT_SMARTCARD_CHANNEL_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-usbredir-priv.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-usbredir-priv.h new file mode 100644 index 0000000..2c4c6f7 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-usbredir-priv.h @@ -0,0 +1,61 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2011 Red Hat, Inc. + + Red Hat Authors: + Hans de Goede + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_CLIENT_USBREDIR_CHANNEL_PRIV_H__ +#define __SPICE_CLIENT_USBREDIR_CHANNEL_PRIV_H__ + +#include +#include +#include "spice-client.h" + +G_BEGIN_DECLS + +/* Note: this must be called before calling any other functions, and the + context should not be destroyed before the last device has been + disconnected */ +void spice_usbredir_channel_set_context(SpiceUsbredirChannel *channel, + libusb_context *context); + +/* Note the context must be set, and the channel must be brought up + (through spice_channel_connect()), before calling this. */ +void spice_usbredir_channel_connect_device_async( + SpiceUsbredirChannel *channel, + libusb_device *device, + SpiceUsbDevice *spice_device, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +gboolean spice_usbredir_channel_connect_device_finish( + SpiceUsbredirChannel *channel, + GAsyncResult *res, + GError **err); + +void spice_usbredir_channel_disconnect_device(SpiceUsbredirChannel *channel); + +libusb_device *spice_usbredir_channel_get_device(SpiceUsbredirChannel *channel); + +void spice_usbredir_channel_get_guest_filter( + SpiceUsbredirChannel *channel, + const struct usbredirfilter_rule **rules_ret, + int *rules_count_ret); + +G_END_DECLS + +#endif /* __SPICE_CLIENT_USBREDIR_CHANNEL_PRIV_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-usbredir.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-usbredir.c new file mode 100644 index 0000000..11bf38c --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-usbredir.c @@ -0,0 +1,693 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright 2010-2012 Red Hat, Inc. + + Red Hat Authors: + Hans de Goede + Richard Hughes + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#include "config.h" + +#ifdef USE_USBREDIR +#include +#include +#if USE_POLKIT +#include "usb-acl-helper.h" +#endif +#include "channel-usbredir-priv.h" +#include "usb-device-manager-priv.h" +#include "usbutil.h" +#endif + +#include "spice-client.h" +#include "spice-common.h" + +#include "spice-channel-priv.h" +#include "glib-compat.h" + +/** + * SECTION:channel-usbredir + * @short_description: usb redirection + * @title: USB Redirection Channel + * @section_id: + * @stability: API Stable (channel in development) + * @include: channel-usbredir.h + * + * The Spice protocol defines a set of messages to redirect USB devices + * from the Spice client to the VM. This channel handles these messages. + */ + +#ifdef USE_USBREDIR + +#define SPICE_USBREDIR_CHANNEL_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE((obj), SPICE_TYPE_USBREDIR_CHANNEL, SpiceUsbredirChannelPrivate)) + +enum SpiceUsbredirChannelState { + STATE_DISCONNECTED, +#if USE_POLKIT + STATE_WAITING_FOR_ACL_HELPER, +#endif + STATE_CONNECTED, + STATE_DISCONNECTING, +}; + +struct _SpiceUsbredirChannelPrivate { + libusb_device *device; + SpiceUsbDevice *spice_device; + libusb_context *context; + struct usbredirhost *host; + /* To catch usbredirhost error messages and report them as a GError */ + GError **catch_error; + /* Data passed from channel handle msg to the usbredirhost read cb */ + const uint8_t *read_buf; + int read_buf_size; + enum SpiceUsbredirChannelState state; +#if USE_POLKIT + GSimpleAsyncResult *result; + SpiceUsbAclHelper *acl_helper; +#endif +}; + +static void spice_usbredir_handle_msg(SpiceChannel *channel, SpiceMsgIn *msg); +static void spice_usbredir_channel_up(SpiceChannel *channel); +static void spice_usbredir_channel_dispose(GObject *obj); +static void spice_usbredir_channel_finalize(GObject *obj); +static void usbredir_handle_msg(SpiceChannel *channel, SpiceMsgIn *in); + +static void usbredir_log(void *user_data, int level, const char *msg); +static int usbredir_read_callback(void *user_data, uint8_t *data, int count); +static int usbredir_write_callback(void *user_data, uint8_t *data, int count); +static void usbredir_write_flush_callback(void *user_data); + +static void *usbredir_alloc_lock(void); +static void usbredir_lock_lock(void *user_data); +static void usbredir_unlock_lock(void *user_data); +static void usbredir_free_lock(void *user_data); + +#endif + +G_DEFINE_TYPE(SpiceUsbredirChannel, spice_usbredir_channel, SPICE_TYPE_CHANNEL) + +/* ------------------------------------------------------------------ */ + +static void spice_usbredir_channel_init(SpiceUsbredirChannel *channel) +{ +#ifdef USE_USBREDIR + channel->priv = SPICE_USBREDIR_CHANNEL_GET_PRIVATE(channel); +#endif +} + +#ifdef USE_USBREDIR +static void spice_usbredir_channel_reset(SpiceChannel *c, gboolean migrating) +{ + SpiceUsbredirChannel *channel = SPICE_USBREDIR_CHANNEL(c); + SpiceUsbredirChannelPrivate *priv = channel->priv; + + if (priv->host) { + if (priv->state == STATE_CONNECTED) + spice_usbredir_channel_disconnect_device(channel); + usbredirhost_close(priv->host); + priv->host = NULL; + /* Call set_context to re-create the host */ + spice_usbredir_channel_set_context(channel, priv->context); + } + SPICE_CHANNEL_CLASS(spice_usbredir_channel_parent_class)->channel_reset(c, migrating); +} +#endif + +static void spice_usbredir_channel_class_init(SpiceUsbredirChannelClass *klass) +{ +#ifdef USE_USBREDIR + GObjectClass *gobject_class = G_OBJECT_CLASS(klass); + SpiceChannelClass *channel_class = SPICE_CHANNEL_CLASS(klass); + + gobject_class->dispose = spice_usbredir_channel_dispose; + gobject_class->finalize = spice_usbredir_channel_finalize; + channel_class->handle_msg = spice_usbredir_handle_msg; + channel_class->channel_up = spice_usbredir_channel_up; + channel_class->channel_reset = spice_usbredir_channel_reset; + + g_type_class_add_private(klass, sizeof(SpiceUsbredirChannelPrivate)); +#endif +} + +#ifdef USE_USBREDIR +static void spice_usbredir_channel_dispose(GObject *obj) +{ + SpiceUsbredirChannel *channel = SPICE_USBREDIR_CHANNEL(obj); + + spice_usbredir_channel_disconnect_device(channel); + + /* Chain up to the parent class */ + if (G_OBJECT_CLASS(spice_usbredir_channel_parent_class)->dispose) + G_OBJECT_CLASS(spice_usbredir_channel_parent_class)->dispose(obj); +} + +/* + * Note we don't unref our device / acl_helper / result references in our + * finalize. The reason for this is that depending on our state at dispose + * time they are either: + * 1) Already unreferenced + * 2) Will be unreferenced by the disconnect_device call from dispose + * 3) Will be unreferenced by spice_usbredir_channel_open_acl_cb + * + * Now the last one may seem like an issue, since what will happen if + * spice_usbredir_channel_open_acl_cb will run after finalization? + * + * This will never happens since the GSimpleAsyncResult created before we + * get into the STATE_WAITING_FOR_ACL_HELPER takes a reference to its + * source object, which is our SpiceUsbredirChannel object, so + * the finalize won't hapen until spice_usbredir_channel_open_acl_cb runs, + * and unrefs priv->result which will in turn unref ourselve once the + * complete_in_idle call it does has completed. And once + * spice_usbredir_channel_open_acl_cb has run, all references we hold have + * been released even in the 3th scenario. + */ +static void spice_usbredir_channel_finalize(GObject *obj) +{ + SpiceUsbredirChannel *channel = SPICE_USBREDIR_CHANNEL(obj); + + if (channel->priv->host) + usbredirhost_close(channel->priv->host); + + /* Chain up to the parent class */ + if (G_OBJECT_CLASS(spice_usbredir_channel_parent_class)->finalize) + G_OBJECT_CLASS(spice_usbredir_channel_parent_class)->finalize(obj); +} + +static const spice_msg_handler usbredir_handlers[] = { + [ SPICE_MSG_SPICEVMC_DATA ] = usbredir_handle_msg, +}; + +/* ------------------------------------------------------------------ */ +/* private api */ + +G_GNUC_INTERNAL +void spice_usbredir_channel_set_context(SpiceUsbredirChannel *channel, + libusb_context *context) +{ + SpiceUsbredirChannelPrivate *priv = channel->priv; + + g_return_if_fail(priv->host == NULL); + + priv->context = context; + priv->host = usbredirhost_open_full( + context, NULL, + usbredir_log, + usbredir_read_callback, + usbredir_write_callback, + usbredir_write_flush_callback, + usbredir_alloc_lock, + usbredir_lock_lock, + usbredir_unlock_lock, + usbredir_free_lock, + channel, PACKAGE_STRING, + spice_util_get_debug() ? usbredirparser_debug : usbredirparser_warning, + usbredirhost_fl_write_cb_owns_buffer); + if (!priv->host) + g_error("Out of memory allocating usbredirhost"); +} + +static gboolean spice_usbredir_channel_open_device( + SpiceUsbredirChannel *channel, GError **err) +{ + SpiceUsbredirChannelPrivate *priv = channel->priv; + libusb_device_handle *handle = NULL; + int rc, status; + + g_return_val_if_fail(priv->state == STATE_DISCONNECTED +#if USE_POLKIT + || priv->state == STATE_WAITING_FOR_ACL_HELPER +#endif + , FALSE); + + rc = libusb_open(priv->device, &handle); + if (rc != 0) { + g_set_error(err, SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + "Could not open usb device: %s [%i]", + spice_usbutil_libusb_strerror(rc), rc); + return FALSE; + } + + priv->catch_error = err; + status = usbredirhost_set_device(priv->host, handle); + priv->catch_error = NULL; + if (status != usb_redir_success) { + g_return_val_if_fail(err == NULL || *err != NULL, FALSE); + return FALSE; + } + + if (!spice_usb_device_manager_start_event_listening( + spice_usb_device_manager_get( + spice_channel_get_session(SPICE_CHANNEL(channel)), NULL), + err)) { + usbredirhost_set_device(priv->host, NULL); + return FALSE; + } + + priv->state = STATE_CONNECTED; + + return TRUE; +} + +#if USE_POLKIT +static void spice_usbredir_channel_open_acl_cb( + GObject *gobject, GAsyncResult *acl_res, gpointer user_data) +{ + SpiceUsbAclHelper *acl_helper = SPICE_USB_ACL_HELPER(gobject); + SpiceUsbredirChannel *channel = SPICE_USBREDIR_CHANNEL(user_data); + SpiceUsbredirChannelPrivate *priv = channel->priv; + GError *err = NULL; + + g_return_if_fail(acl_helper == priv->acl_helper); + g_return_if_fail(priv->state == STATE_WAITING_FOR_ACL_HELPER || + priv->state == STATE_DISCONNECTING); + + spice_usb_acl_helper_open_acl_finish(acl_helper, acl_res, &err); + if (!err && priv->state == STATE_DISCONNECTING) { + err = g_error_new_literal(G_IO_ERROR, G_IO_ERROR_CANCELLED, + "USB redirection channel connect cancelled"); + } + if (!err) { + spice_usbredir_channel_open_device(channel, &err); + } + if (err) { + g_simple_async_result_take_error(priv->result, err); + libusb_unref_device(priv->device); + priv->device = NULL; + g_boxed_free(spice_usb_device_get_type(), priv->spice_device); + priv->spice_device = NULL; + priv->state = STATE_DISCONNECTED; + } + + spice_usb_acl_helper_close_acl(priv->acl_helper); + g_clear_object(&priv->acl_helper); + g_object_set(spice_channel_get_session(SPICE_CHANNEL(channel)), + "inhibit-keyboard-grab", FALSE, NULL); + + g_simple_async_result_complete_in_idle(priv->result); + g_clear_object(&priv->result); +} +#endif + +G_GNUC_INTERNAL +void spice_usbredir_channel_connect_device_async( + SpiceUsbredirChannel *channel, + libusb_device *device, + SpiceUsbDevice *spice_device, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + SpiceUsbredirChannelPrivate *priv = channel->priv; + GSimpleAsyncResult *result; +#if ! USE_POLKIT + GError *err = NULL; +#endif + + g_return_if_fail(SPICE_IS_USBREDIR_CHANNEL(channel)); + g_return_if_fail(device != NULL); + + CHANNEL_DEBUG(channel, "connecting usb channel %p", channel); + + result = g_simple_async_result_new(G_OBJECT(channel), callback, user_data, + spice_usbredir_channel_connect_device_async); + + if (!priv->host) { + g_simple_async_result_set_error(result, + SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + "Error libusb context not set"); + goto done; + } + + if (priv->state != STATE_DISCONNECTED) { + g_simple_async_result_set_error(result, + SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + "Error channel is busy"); + goto done; + } + + priv->device = libusb_ref_device(device); + priv->spice_device = g_boxed_copy(spice_usb_device_get_type(), + spice_device); +#if USE_POLKIT + priv->result = result; + priv->state = STATE_WAITING_FOR_ACL_HELPER; + priv->acl_helper = spice_usb_acl_helper_new(); + g_object_set(spice_channel_get_session(SPICE_CHANNEL(channel)), + "inhibit-keyboard-grab", TRUE, NULL); + spice_usb_acl_helper_open_acl(priv->acl_helper, + libusb_get_bus_number(device), + libusb_get_device_address(device), + cancellable, + spice_usbredir_channel_open_acl_cb, + channel); + return; +#else + if (!spice_usbredir_channel_open_device(channel, &err)) { + g_simple_async_result_take_error(result, err); + libusb_unref_device(priv->device); + priv->device = NULL; + g_boxed_free(spice_usb_device_get_type(), priv->spice_device); + priv->spice_device = NULL; + } +#endif + +done: + g_simple_async_result_complete_in_idle(result); + g_object_unref(result); +} + +G_GNUC_INTERNAL +gboolean spice_usbredir_channel_connect_device_finish( + SpiceUsbredirChannel *channel, + GAsyncResult *res, + GError **err) +{ + GSimpleAsyncResult *result = G_SIMPLE_ASYNC_RESULT(res); + + g_return_val_if_fail(g_simple_async_result_is_valid(res, G_OBJECT(channel), + spice_usbredir_channel_connect_device_async), + FALSE); + + if (g_simple_async_result_propagate_error(result, err)) + return FALSE; + + return TRUE; +} + +G_GNUC_INTERNAL +void spice_usbredir_channel_disconnect_device(SpiceUsbredirChannel *channel) +{ + SpiceUsbredirChannelPrivate *priv = channel->priv; + + CHANNEL_DEBUG(channel, "disconnecting device from usb channel %p", channel); + + switch (priv->state) { + case STATE_DISCONNECTED: + case STATE_DISCONNECTING: + break; +#if USE_POLKIT + case STATE_WAITING_FOR_ACL_HELPER: + priv->state = STATE_DISCONNECTING; + /* We're still waiting for the acl helper -> cancel it */ + spice_usb_acl_helper_close_acl(priv->acl_helper); + break; +#endif + case STATE_CONNECTED: + /* + * This sets the usb event thread run condition to FALSE, therefor + * it must be done before usbredirhost_set_device NULL, as + * usbredirhost_set_device NULL will interrupt the + * libusb_handle_events call in the thread. + */ + spice_usb_device_manager_stop_event_listening( + spice_usb_device_manager_get( + spice_channel_get_session(SPICE_CHANNEL(channel)), NULL)); + /* This also closes the libusb handle we passed from open_device */ + usbredirhost_set_device(priv->host, NULL); + libusb_unref_device(priv->device); + priv->device = NULL; + g_boxed_free(spice_usb_device_get_type(), priv->spice_device); + priv->spice_device = NULL; + priv->state = STATE_DISCONNECTED; + break; + } +} + +G_GNUC_INTERNAL +libusb_device *spice_usbredir_channel_get_device(SpiceUsbredirChannel *channel) +{ + return channel->priv->device; +} + +G_GNUC_INTERNAL +void spice_usbredir_channel_get_guest_filter( + SpiceUsbredirChannel *channel, + const struct usbredirfilter_rule **rules_ret, + int *rules_count_ret) +{ + SpiceUsbredirChannelPrivate *priv = channel->priv; + + g_return_if_fail(priv->host != NULL); + + usbredirhost_get_guest_filter(priv->host, rules_ret, rules_count_ret); +} + +/* ------------------------------------------------------------------ */ +/* callbacks (any context) */ + +/* Note that this function must be re-entrant safe, as it can get called + from both the main thread as well as from the usb event handling thread */ +static void usbredir_write_flush_callback(void *user_data) +{ + SpiceUsbredirChannel *channel = SPICE_USBREDIR_CHANNEL(user_data); + SpiceUsbredirChannelPrivate *priv = channel->priv; + + if (spice_channel_get_state(SPICE_CHANNEL(channel)) != + SPICE_CHANNEL_STATE_READY) + return; + + usbredirhost_write_guest_data(priv->host); +} + +static void usbredir_log(void *user_data, int level, const char *msg) +{ + SpiceUsbredirChannel *channel = user_data; + SpiceUsbredirChannelPrivate *priv = channel->priv; + + if (priv->catch_error && level == usbredirparser_error) { + CHANNEL_DEBUG(channel, "%s", msg); + /* Remove "usbredirhost: " prefix from usbredirhost messages */ + if (strncmp(msg, "usbredirhost: ", 14) == 0) + g_set_error_literal(priv->catch_error, SPICE_CLIENT_ERROR, + SPICE_CLIENT_ERROR_FAILED, msg + 14); + else + g_set_error_literal(priv->catch_error, SPICE_CLIENT_ERROR, + SPICE_CLIENT_ERROR_FAILED, msg); + return; + } + + switch (level) { + case usbredirparser_error: + g_critical("%s", msg); break; + case usbredirparser_warning: + g_warning("%s", msg); break; + default: + CHANNEL_DEBUG(channel, "%s", msg); break; + } +} + +static int usbredir_read_callback(void *user_data, uint8_t *data, int count) +{ + SpiceUsbredirChannel *channel = user_data; + SpiceUsbredirChannelPrivate *priv = channel->priv; + + if (priv->read_buf_size < count) { + count = priv->read_buf_size; + } + + memcpy(data, priv->read_buf, count); + + priv->read_buf_size -= count; + if (priv->read_buf_size) { + priv->read_buf += count; + } else { + priv->read_buf = NULL; + } + + return count; +} + +static void usbredir_free_write_cb_data(uint8_t *data, void *user_data) +{ + SpiceUsbredirChannel *channel = user_data; + SpiceUsbredirChannelPrivate *priv = channel->priv; + + usbredirhost_free_write_buffer(priv->host, data); +} + +static int usbredir_write_callback(void *user_data, uint8_t *data, int count) +{ + SpiceUsbredirChannel *channel = user_data; + SpiceMsgOut *msg_out; + + msg_out = spice_msg_out_new(SPICE_CHANNEL(channel), + SPICE_MSGC_SPICEVMC_DATA); + spice_marshaller_add_ref_full(msg_out->marshaller, data, count, + usbredir_free_write_cb_data, channel); + spice_msg_out_send(msg_out); + + return count; +} + +static void *usbredir_alloc_lock(void) { +#if GLIB_CHECK_VERSION(2,32,0) + GMutex *mutex; + + mutex = g_new0(GMutex, 1); + g_mutex_init(mutex); + + return mutex; +#else + return g_mutex_new(); +#endif +} + +static void usbredir_lock_lock(void *user_data) { + GMutex *mutex = user_data; + + g_mutex_lock(mutex); +} + +static void usbredir_unlock_lock(void *user_data) { + GMutex *mutex = user_data; + + g_mutex_unlock(mutex); +} + +static void usbredir_free_lock(void *user_data) { + GMutex *mutex = user_data; + +#if GLIB_CHECK_VERSION(2,32,0) + g_mutex_clear(mutex); + g_free(mutex); +#else + g_mutex_free(mutex); +#endif +} + +/* --------------------------------------------------------------------- */ + +/* Events to be handled in main context */ +enum { + DEVICE_ERROR, +}; + +struct DEVICE_ERROR { + SpiceUsbDevice *spice_device; + GError *error; +}; + +/* main context */ +static void do_emit_main_context(GObject *object, int event, gpointer params) +{ + SpiceUsbredirChannel *channel = SPICE_USBREDIR_CHANNEL(object); + SpiceUsbredirChannelPrivate *priv = channel->priv; + + switch (event) { + case DEVICE_ERROR: { + struct DEVICE_ERROR *p = params; + /* Check that the device has not changed before we manage to run */ + if (p->spice_device == priv->spice_device) { + spice_usbredir_channel_disconnect_device(channel); + spice_usb_device_manager_device_error( + spice_usb_device_manager_get( + spice_channel_get_session(SPICE_CHANNEL(channel)), NULL), + p->spice_device, p->error); + } + break; + } + default: + g_warn_if_reached(); + } +} + +/* --------------------------------------------------------------------- */ +/* coroutine context */ +static void spice_usbredir_handle_msg(SpiceChannel *c, SpiceMsgIn *msg) +{ + int type = spice_msg_in_type(msg); + SpiceChannelClass *parent_class; + + g_return_if_fail(type < SPICE_N_ELEMENTS(usbredir_handlers)); + + parent_class = SPICE_CHANNEL_CLASS(spice_usbredir_channel_parent_class); + + if (usbredir_handlers[type] != NULL) + usbredir_handlers[type](c, msg); + else if (parent_class->handle_msg) + parent_class->handle_msg(c, msg); + else + g_return_if_reached(); +} + +static void spice_usbredir_channel_up(SpiceChannel *c) +{ + SpiceUsbredirChannel *channel = SPICE_USBREDIR_CHANNEL(c); + SpiceUsbredirChannelPrivate *priv = channel->priv; + + /* Flush any pending writes */ + usbredirhost_write_guest_data(priv->host); +} + +static void usbredir_handle_msg(SpiceChannel *c, SpiceMsgIn *in) +{ + SpiceUsbredirChannel *channel = SPICE_USBREDIR_CHANNEL(c); + SpiceUsbredirChannelPrivate *priv = channel->priv; + int r, size; + uint8_t *buf; + + g_return_if_fail(priv->host != NULL); + + /* No recursion allowed! */ + g_return_if_fail(priv->read_buf == NULL); + + buf = spice_msg_in_raw(in, &size); + priv->read_buf = buf; + priv->read_buf_size = size; + + r = usbredirhost_read_guest_data(priv->host); + if (r != 0) { + SpiceUsbDevice *spice_device = priv->spice_device; + gchar *desc; + GError *err; + + g_return_if_fail(spice_device != NULL); + + desc = spice_usb_device_get_description(spice_device, NULL); + switch (r) { + case usbredirhost_read_parse_error: + err = g_error_new(SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + _("usbredir protocol parse error for %s"), desc); + break; + case usbredirhost_read_device_rejected: + err = g_error_new(SPICE_CLIENT_ERROR, + SPICE_CLIENT_USB_DEVICE_REJECTED, + _("%s rejected by host"), desc); + break; + case usbredirhost_read_device_lost: + err = g_error_new(SPICE_CLIENT_ERROR, + SPICE_CLIENT_USB_DEVICE_LOST, + _("%s disconnected (fatal IO error)"), desc); + break; + default: + err = g_error_new(SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + _("Unknown error (%d) for %s"), r, desc); + } + g_free(desc); + + CHANNEL_DEBUG(c, "%s", err->message); + + spice_device = g_boxed_copy(spice_usb_device_get_type(), spice_device); + emit_main_context(channel, DEVICE_ERROR, spice_device, err); + g_boxed_free(spice_usb_device_get_type(), spice_device); + + g_error_free(err); + } +} + +#endif /* USE_USBREDIR */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-usbredir.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-usbredir.h new file mode 100644 index 0000000..0cc4fbf --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/channel-usbredir.h @@ -0,0 +1,71 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2011 Red Hat, Inc. + + Red Hat Authors: + Hans de Goede + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_CLIENT_USBREDIR_CHANNEL_H__ +#define __SPICE_CLIENT_USBREDIR_CHANNEL_H__ + +#include "spice-client.h" + +G_BEGIN_DECLS + +#define SPICE_TYPE_USBREDIR_CHANNEL (spice_usbredir_channel_get_type()) +#define SPICE_USBREDIR_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), SPICE_TYPE_USBREDIR_CHANNEL, SpiceUsbredirChannel)) +#define SPICE_USBREDIR_CHANNEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPICE_TYPE_USBREDIR_CHANNEL, SpiceUsbredirChannelClass)) +#define SPICE_IS_USBREDIR_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SPICE_TYPE_USBREDIR_CHANNEL)) +#define SPICE_IS_USBREDIR_CHANNEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SPICE_TYPE_USBREDIR_CHANNEL)) +#define SPICE_USBREDIR_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), SPICE_TYPE_USBREDIR_CHANNEL, SpiceUsbredirChannelClass)) + +typedef struct _SpiceUsbredirChannel SpiceUsbredirChannel; +typedef struct _SpiceUsbredirChannelClass SpiceUsbredirChannelClass; +typedef struct _SpiceUsbredirChannelPrivate SpiceUsbredirChannelPrivate; + +/** + * SpiceUsbredirChannel: + * + * The #SpiceUsbredirChannel struct is opaque and should not be accessed directly. + */ +struct _SpiceUsbredirChannel { + SpiceChannel parent; + + /*< private >*/ + SpiceUsbredirChannelPrivate *priv; + /* Do not add fields to this struct */ +}; + +/** + * SpiceUsbredirChannelClass: + * @parent_class: Parent class. + * + * Class structure for #SpiceUsbredirChannel. + */ +struct _SpiceUsbredirChannelClass { + SpiceChannelClass parent_class; + + /* signals */ + + /*< private >*/ + /* Do not add fields to this struct */ +}; + +GType spice_usbredir_channel_get_type(void); + +G_END_DECLS + +#endif /* __SPICE_CLIENT_USBREDIR_CHANNEL_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/continuation.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/continuation.c new file mode 100644 index 0000000..2891a25 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/continuation.c @@ -0,0 +1,99 @@ +/* + * GTK VNC Widget + * + * Copyright (C) 2006 Anthony Liguori + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.0 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +#include + +#undef _FORTIFY_SOURCE + +#include "continuation.h" + +/* + * va_args to makecontext() must be type 'int', so passing + * the pointer we need may require several int args. This + * union is a quick hack to let us do that + */ +union cc_arg { + void *p; + int i[2]; +}; + +static void continuation_trampoline(int i0, int i1) +{ + union cc_arg arg; + struct continuation *cc; + arg.i[0] = i0; + arg.i[1] = i1; + cc = arg.p; + + if (_setjmp(cc->jmp) == 0) { + ucontext_t tmp; + swapcontext(&tmp, &cc->last); + } + + cc->entry(cc); +} + +int cc_init(struct continuation *cc) +{ + volatile union cc_arg arg; + arg.p = cc; + if (getcontext(&cc->uc) == -1) + return -1; + + cc->uc.uc_link = &cc->last; + cc->uc.uc_stack.ss_sp = cc->stack; + cc->uc.uc_stack.ss_size = cc->stack_size; + cc->uc.uc_stack.ss_flags = 0; + + makecontext(&cc->uc, (void *)continuation_trampoline, 2, arg.i[0], arg.i[1]); + swapcontext(&cc->last, &cc->uc); + + return 0; +} + +int cc_release(struct continuation *cc) +{ + if (cc->release) + return cc->release(cc); + + return 0; +} + +int cc_swap(struct continuation *from, struct continuation *to) +{ + to->exited = 0; + if (getcontext(&to->last) == -1) + return -1; + else if (to->exited == 0) + to->exited = 1; // so when coroutine finishes + else if (to->exited == 1) + return 1; // it ends up here + + if (_setjmp(from->jmp) == 0) + _longjmp(to->jmp, 1); + + return 0; +} +/* + * Local variables: + * c-indent-level: 8 + * c-basic-offset: 8 + * tab-width: 8 + * End: + */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/continuation.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/continuation.h new file mode 100644 index 0000000..1247337 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/continuation.h @@ -0,0 +1,61 @@ +/* + * GTK VNC Widget + * + * Copyright (C) 2006 Anthony Liguori + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.0 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef _CONTINUATION_H_ +#define _CONTINUATION_H_ + +#include +#include +#include + +struct continuation +{ + char *stack; + size_t stack_size; + void (*entry)(struct continuation *cc); + int (*release)(struct continuation *cc); + + /* private */ + ucontext_t uc; + ucontext_t last; + int exited; + jmp_buf jmp; +}; + +int cc_init(struct continuation *cc); + +int cc_release(struct continuation *cc); + +/* you can use an uninitialized struct continuation for from if you do not have + the current continuation handy. */ +int cc_swap(struct continuation *from, struct continuation *to); + +#define offset_of(type, member) ((unsigned long)(&((type *)0)->member)) +#define container_of(obj, type, member) \ + (type *)(((char *)obj) - offset_of(type, member)) + +#endif +/* + * Local variables: + * c-indent-level: 8 + * c-basic-offset: 8 + * tab-width: 8 + * End: + */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/Makefile.am b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/Makefile.am new file mode 100644 index 0000000..00552e8 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/Makefile.am @@ -0,0 +1,100 @@ +NULL = + +AM_CPPFLAGS = \ + -DG_LOG_DOMAIN=\"GSpiceController\" \ + $(GIO_CFLAGS) \ + $(COMMON_CFLAGS) \ + $(NULL) + +# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html +AM_LDFLAGS = \ + -no-undefined \ + $(GIO_LIBS) \ + $(NULL) + +AM_VALAFLAGS = \ + --pkg gio-2.0 \ + --pkg spice-protocol --vapidir=$(top_srcdir)/data \ + --pkg custom --vapidir=$(srcdir) \ + -C \ + $(NULL) + +lib_LTLIBRARIES = libspice-controller.la +noinst_PROGRAMS = test-controller spice-controller-dump + +libspice_controller_la_VALASOURCES = \ + menu.vala \ + controller.vala \ + foreign-menu.vala \ + util.vala \ + $(NULL) + +libspice_controller_la_BUILT_SOURCES = \ + $(libspice_controller_la_VALASOURCES:.vala=.c) \ + spice-controller.h \ + $(NULL) + +BUILT_SOURCES = \ + $(libspice_controller_la_BUILT_SOURCES) \ + controller.vala.stamp \ + $(NULL) + +libspice_controller_la_SOURCES = \ + $(libspice_controller_la_BUILT_SOURCES) \ + custom.h \ + spice-controller-listener.c \ + spice-controller-listener.h \ + spice-foreign-menu-listener.c \ + spice-foreign-menu-listener.h \ + $(NULL) + +if OS_WIN32 +libspice_controller_la_SOURCES += \ + namedpipe.c \ + namedpipe.h \ + namedpipeconnection.c \ + namedpipeconnection.h \ + namedpipelistener.c \ + namedpipelistener.h \ + win32-util.c \ + win32-util.h \ + $(NULL) +endif +libspice_controller_la_LDFLAGS = \ + $(AM_LDFLAGS) \ + -version-info 0:0:0 \ + $(NULL) + +libspice_controllerincludedir = $(includedir)/spice-controller +libspice_controllerinclude_HEADERS = \ + spice-controller.h + +test_controller_SOURCES = test.c +test_controller_LDADD = libspice-controller.la + +spice_controller_dump_SOURCES = dump.c +spice_controller_dump_LDADD = libspice-controller.la + +controller.vala.stamp: $(libspice_controller_la_VALASOURCES) custom.vapi + @if test -z "$(VALAC)"; then \ + echo "" ; \ + echo " *** Error: missing valac!" ; \ + echo " *** You must run autogen.sh or configure --enable-vala" ; \ + echo "" ; \ + exit 1 ; \ + fi + $(VALA_V)$(VALAC) $(VALAFLAGS) $(AM_VALAFLAGS) \ + $(addprefix $(srcdir)/,$(libspice_controller_la_VALASOURCES)) \ + -H spice-controller.h + @touch $@ + +$(libspice_controller_la_BUILT_SOURCES): controller.vala.stamp + +EXTRA_DIST = \ + $(libspice_controller_la_VALASOURCES) \ + controller.vala.stamp \ + custom.vapi \ + gio-windows-2.0.vapi \ + $(NULL) + +-include $(top_srcdir)/git.mk diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/Makefile.in b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/Makefile.in new file mode 100644 index 0000000..30f1c89 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/Makefile.in @@ -0,0 +1,905 @@ +# Makefile.in generated by automake 1.13.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2012 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@ + + + +VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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@ +noinst_PROGRAMS = test-controller$(EXEEXT) \ + spice-controller-dump$(EXEEXT) +@OS_WIN32_TRUE@am__append_1 = \ +@OS_WIN32_TRUE@ namedpipe.c \ +@OS_WIN32_TRUE@ namedpipe.h \ +@OS_WIN32_TRUE@ namedpipeconnection.c \ +@OS_WIN32_TRUE@ namedpipeconnection.h \ +@OS_WIN32_TRUE@ namedpipelistener.c \ +@OS_WIN32_TRUE@ namedpipelistener.h \ +@OS_WIN32_TRUE@ win32-util.c \ +@OS_WIN32_TRUE@ win32-util.h \ +@OS_WIN32_TRUE@ $(NULL) + +subdir = gtk/controller +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ + $(top_srcdir)/build-aux/depcomp \ + $(libspice_controllerinclude_HEADERS) +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/check_python.m4 \ + $(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/intltool.m4 \ + $(top_srcdir)/m4/ld-version.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/m4/manywarnings.m4 \ + $(top_srcdir)/m4/spice-compile-warnings.m4 \ + $(top_srcdir)/m4/warnings.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 = +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; }; \ + } +am__installdirs = "$(DESTDIR)$(libdir)" \ + "$(DESTDIR)$(libspice_controllerincludedir)" +LTLIBRARIES = $(lib_LTLIBRARIES) +libspice_controller_la_LIBADD = +am__libspice_controller_la_SOURCES_DIST = menu.c controller.c \ + foreign-menu.c util.c spice-controller.h custom.h \ + spice-controller-listener.c spice-controller-listener.h \ + spice-foreign-menu-listener.c spice-foreign-menu-listener.h \ + namedpipe.c namedpipe.h namedpipeconnection.c \ + namedpipeconnection.h namedpipelistener.c namedpipelistener.h \ + win32-util.c win32-util.h +am__objects_1 = +am__objects_2 = menu.lo controller.lo foreign-menu.lo util.lo \ + $(am__objects_1) +am__objects_3 = $(am__objects_2) $(am__objects_1) +@OS_WIN32_TRUE@am__objects_4 = namedpipe.lo namedpipeconnection.lo \ +@OS_WIN32_TRUE@ namedpipelistener.lo win32-util.lo \ +@OS_WIN32_TRUE@ $(am__objects_1) +am_libspice_controller_la_OBJECTS = $(am__objects_3) \ + spice-controller-listener.lo spice-foreign-menu-listener.lo \ + $(am__objects_1) $(am__objects_4) +libspice_controller_la_OBJECTS = $(am_libspice_controller_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +libspice_controller_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(AM_CFLAGS) $(CFLAGS) $(libspice_controller_la_LDFLAGS) \ + $(LDFLAGS) -o $@ +PROGRAMS = $(noinst_PROGRAMS) +am_spice_controller_dump_OBJECTS = dump.$(OBJEXT) +spice_controller_dump_OBJECTS = $(am_spice_controller_dump_OBJECTS) +spice_controller_dump_DEPENDENCIES = libspice-controller.la +am_test_controller_OBJECTS = test.$(OBJEXT) +test_controller_OBJECTS = $(am_test_controller_OBJECTS) +test_controller_DEPENDENCIES = libspice-controller.la +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libspice_controller_la_SOURCES) \ + $(spice_controller_dump_SOURCES) $(test_controller_SOURCES) +DIST_SOURCES = $(am__libspice_controller_la_SOURCES_DIST) \ + $(spice_controller_dump_SOURCES) $(test_controller_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +HEADERS = $(libspice_controllerinclude_HEADERS) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ACL_HELPER_DIR = @ACL_HELPER_DIR@ +ACL_LIBS = @ACL_LIBS@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CAIRO_CFLAGS = @CAIRO_CFLAGS@ +CAIRO_LIBS = @CAIRO_LIBS@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CELT051_CFLAGS = @CELT051_CFLAGS@ +CELT051_LIBDIR = @CELT051_LIBDIR@ +CELT051_LIBS = @CELT051_LIBS@ +CFLAGS = @CFLAGS@ +COMMON_CFLAGS = @COMMON_CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DBUS_GLIB_CFLAGS = @DBUS_GLIB_CFLAGS@ +DBUS_GLIB_LIBS = @DBUS_GLIB_LIBS@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GIO_CFLAGS = @GIO_CFLAGS@ +GIO_LIBS = @GIO_LIBS@ +GLIB2_CFLAGS = @GLIB2_CFLAGS@ +GLIB2_LIBS = @GLIB2_LIBS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GOBJECT2_CFLAGS = @GOBJECT2_CFLAGS@ +GOBJECT2_LIBS = @GOBJECT2_LIBS@ +GREP = @GREP@ +GST_CFLAGS = @GST_CFLAGS@ +GST_LIBS = @GST_LIBS@ +GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ +GTHREAD_LIBS = @GTHREAD_LIBS@ +GTKDOC_CHECK = @GTKDOC_CHECK@ +GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ +GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ +GTKDOC_MKPDF = @GTKDOC_MKPDF@ +GTKDOC_REBASE = @GTKDOC_REBASE@ +GTK_API_VERSION = @GTK_API_VERSION@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +GTK_REQUIRED = @GTK_REQUIRED@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +HTML_DIR = @HTML_DIR@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@ +INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@ +INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@ +INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@ +INTROSPECTION_LIBS = @INTROSPECTION_LIBS@ +INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@ +INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@ +INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@ +JPEG_LIBS = @JPEG_LIBS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBM = @LIBM@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PIE_CFLAGS = @PIE_CFLAGS@ +PIE_LDFLAGS = @PIE_LDFLAGS@ +PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ +PIXMAN_LIBS = @PIXMAN_LIBS@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PNP_IDS = @PNP_IDS@ +POFILES = @POFILES@ +POLICYDIR = @POLICYDIR@ +POLKIT_CFLAGS = @POLKIT_CFLAGS@ +POLKIT_LIBS = @POLKIT_LIBS@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PULSE_CFLAGS = @PULSE_CFLAGS@ +PULSE_LIBS = @PULSE_LIBS@ +PYGTK_CFLAGS = @PYGTK_CFLAGS@ +PYGTK_LIBS = @PYGTK_LIBS@ +PYTHON = @PYTHON@ +PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ +PYTHON_INCLUDES = @PYTHON_INCLUDES@ +PYTHON_PLATFORM = @PYTHON_PLATFORM@ +PYTHON_PREFIX = @PYTHON_PREFIX@ +PYTHON_VERSION = @PYTHON_VERSION@ +RANLIB = @RANLIB@ +SASL_CFLAGS = @SASL_CFLAGS@ +SASL_LIBS = @SASL_LIBS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SMARTCARD_CFLAGS = @SMARTCARD_CFLAGS@ +SMARTCARD_LIBS = @SMARTCARD_LIBS@ +SPICE_CFLAGS = @SPICE_CFLAGS@ +SPICE_GLIB_CFLAGS = @SPICE_GLIB_CFLAGS@ +SPICE_GLIB_REQUIRES = @SPICE_GLIB_REQUIRES@ +SPICE_GTK_API_VERSION = @SPICE_GTK_API_VERSION@ +SPICE_GTK_CFLAGS = @SPICE_GTK_CFLAGS@ +SPICE_GTK_LOCALEDIR = @SPICE_GTK_LOCALEDIR@ +SPICE_GTK_REQUIRES = @SPICE_GTK_REQUIRES@ +SSL_CFLAGS = @SSL_CFLAGS@ +SSL_LIBS = @SSL_LIBS@ +STOW = @STOW@ +STRIP = @STRIP@ +USBREDIR_CFLAGS = @USBREDIR_CFLAGS@ +USBREDIR_LIBS = @USBREDIR_LIBS@ +USB_IDS = @USB_IDS@ +USE_NLS = @USE_NLS@ +VALAC = @VALAC@ +VAPIDIR = @VAPIDIR@ +VAPIGEN = @VAPIGEN@ +VERSION = @VERSION@ +WARN_CFLAGS = @WARN_CFLAGS@ +WARN_LDFLAGS = @WARN_LDFLAGS@ +WARN_PYFLAGS = @WARN_PYFLAGS@ +XGETTEXT = @XGETTEXT@ +XRANDR_CFLAGS = @XRANDR_CFLAGS@ +XRANDR_LIBS = @XRANDR_LIBS@ +Z_LIBS = @Z_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgpyexecdir = @pkgpyexecdir@ +pkgpythondir = @pkgpythondir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +pyexecdir = @pyexecdir@ +pythondir = @pythondir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +subdirs = @subdirs@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +NULL = +AM_CPPFLAGS = \ + -DG_LOG_DOMAIN=\"GSpiceController\" \ + $(GIO_CFLAGS) \ + $(COMMON_CFLAGS) \ + $(NULL) + + +# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html +AM_LDFLAGS = \ + -no-undefined \ + $(GIO_LIBS) \ + $(NULL) + +AM_VALAFLAGS = \ + --pkg gio-2.0 \ + --pkg spice-protocol --vapidir=$(top_srcdir)/data \ + --pkg custom --vapidir=$(srcdir) \ + -C \ + $(NULL) + +lib_LTLIBRARIES = libspice-controller.la +libspice_controller_la_VALASOURCES = \ + menu.vala \ + controller.vala \ + foreign-menu.vala \ + util.vala \ + $(NULL) + +libspice_controller_la_BUILT_SOURCES = \ + $(libspice_controller_la_VALASOURCES:.vala=.c) \ + spice-controller.h \ + $(NULL) + +BUILT_SOURCES = \ + $(libspice_controller_la_BUILT_SOURCES) \ + controller.vala.stamp \ + $(NULL) + +libspice_controller_la_SOURCES = \ + $(libspice_controller_la_BUILT_SOURCES) custom.h \ + spice-controller-listener.c spice-controller-listener.h \ + spice-foreign-menu-listener.c spice-foreign-menu-listener.h \ + $(NULL) $(am__append_1) +libspice_controller_la_LDFLAGS = \ + $(AM_LDFLAGS) \ + -version-info 0:0:0 \ + $(NULL) + +libspice_controllerincludedir = $(includedir)/spice-controller +libspice_controllerinclude_HEADERS = \ + spice-controller.h + +test_controller_SOURCES = test.c +test_controller_LDADD = libspice-controller.la +spice_controller_dump_SOURCES = dump.c +spice_controller_dump_LDADD = libspice-controller.la +EXTRA_DIST = \ + $(libspice_controller_la_VALASOURCES) \ + controller.vala.stamp \ + custom.vapi \ + gio-windows-2.0.vapi \ + $(NULL) + +all: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(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) --foreign gtk/controller/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign gtk/controller/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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +install-libLTLIBRARIES: $(lib_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ + } + +uninstall-libLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ + done + +clean-libLTLIBRARIES: + -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) + @list='$(lib_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } +libspice-controller.la: $(libspice_controller_la_OBJECTS) $(libspice_controller_la_DEPENDENCIES) $(EXTRA_libspice_controller_la_DEPENDENCIES) + $(AM_V_CCLD)$(libspice_controller_la_LINK) -rpath $(libdir) $(libspice_controller_la_OBJECTS) $(libspice_controller_la_LIBADD) $(LIBS) + +clean-noinstPROGRAMS: + @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ + echo " rm -f" $$list; \ + rm -f $$list || exit $$?; \ + test -n "$(EXEEXT)" || exit 0; \ + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f" $$list; \ + rm -f $$list +spice-controller-dump$(EXEEXT): $(spice_controller_dump_OBJECTS) $(spice_controller_dump_DEPENDENCIES) $(EXTRA_spice_controller_dump_DEPENDENCIES) + @rm -f spice-controller-dump$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(spice_controller_dump_OBJECTS) $(spice_controller_dump_LDADD) $(LIBS) +test-controller$(EXEEXT): $(test_controller_OBJECTS) $(test_controller_DEPENDENCIES) $(EXTRA_test_controller_DEPENDENCIES) + @rm -f test-controller$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_controller_OBJECTS) $(test_controller_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/controller.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dump.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/foreign-menu.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/menu.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/namedpipe.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/namedpipeconnection.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/namedpipelistener.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spice-controller-listener.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spice-foreign-menu-listener.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/util.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/win32-util.Plo@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-libspice_controllerincludeHEADERS: $(libspice_controllerinclude_HEADERS) + @$(NORMAL_INSTALL) + @list='$(libspice_controllerinclude_HEADERS)'; test -n "$(libspice_controllerincludedir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libspice_controllerincludedir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libspice_controllerincludedir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libspice_controllerincludedir)'"; \ + $(INSTALL_HEADER) $$files "$(DESTDIR)$(libspice_controllerincludedir)" || exit $$?; \ + done + +uninstall-libspice_controllerincludeHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(libspice_controllerinclude_HEADERS)'; test -n "$(libspice_controllerincludedir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libspice_controllerincludedir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @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: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-am +all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) +installdirs: + for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libspice_controllerincludedir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) 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 "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) +clean: clean-am + +clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ + clean-noinstPROGRAMS mostlyclean-am + +distclean: distclean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-libspice_controllerincludeHEADERS + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: install-libLTLIBRARIES + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-libLTLIBRARIES \ + uninstall-libspice_controllerincludeHEADERS + +.MAKE: all check install install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ + clean-libLTLIBRARIES clean-libtool clean-noinstPROGRAMS \ + cscopelist-am ctags ctags-am distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags 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-libLTLIBRARIES \ + install-libspice_controllerincludeHEADERS install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ + pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am \ + uninstall-libLTLIBRARIES \ + uninstall-libspice_controllerincludeHEADERS + + +controller.vala.stamp: $(libspice_controller_la_VALASOURCES) custom.vapi + @if test -z "$(VALAC)"; then \ + echo "" ; \ + echo " *** Error: missing valac!" ; \ + echo " *** You must run autogen.sh or configure --enable-vala" ; \ + echo "" ; \ + exit 1 ; \ + fi + $(VALA_V)$(VALAC) $(VALAFLAGS) $(AM_VALAFLAGS) \ + $(addprefix $(srcdir)/,$(libspice_controller_la_VALASOURCES)) \ + -H spice-controller.h + @touch $@ + +$(libspice_controller_la_BUILT_SOURCES): controller.vala.stamp + +-include $(top_srcdir)/git.mk + +# 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: diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/controller.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/controller.c new file mode 100644 index 0000000..f8479d9 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/controller.c @@ -0,0 +1,2312 @@ +/* controller.c generated by valac 0.20.0, the Vala compiler + * generated from controller.vala, do not modify */ + +/* Copyright (C) 2011 Red Hat, Inc.*/ +/* This library is free software; you can redistribute it and/or*/ +/* modify it under the terms of the GNU Lesser General Public*/ +/* License as published by the Free Software Foundation; either*/ +/* version 2.1 of the License, or (at your option) any later version.*/ +/* This library 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*/ +/* Lesser General Public License for more details.*/ +/* You should have received a copy of the GNU Lesser General Public*/ +/* License along with this library; if not, see .*/ + +#include +#include +#include +#include +#include +#include +#include +#include + + +#define SPICE_CTRL_TYPE_CONTROLLER (spice_ctrl_controller_get_type ()) +#define SPICE_CTRL_CONTROLLER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPICE_CTRL_TYPE_CONTROLLER, SpiceCtrlController)) +#define SPICE_CTRL_CONTROLLER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SPICE_CTRL_TYPE_CONTROLLER, SpiceCtrlControllerClass)) +#define SPICE_CTRL_IS_CONTROLLER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPICE_CTRL_TYPE_CONTROLLER)) +#define SPICE_CTRL_IS_CONTROLLER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPICE_CTRL_TYPE_CONTROLLER)) +#define SPICE_CTRL_CONTROLLER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPICE_CTRL_TYPE_CONTROLLER, SpiceCtrlControllerClass)) + +typedef struct _SpiceCtrlController SpiceCtrlController; +typedef struct _SpiceCtrlControllerClass SpiceCtrlControllerClass; +typedef struct _SpiceCtrlControllerPrivate SpiceCtrlControllerPrivate; + +#define SPICE_CTRL_TYPE_MENU (spice_ctrl_menu_get_type ()) +#define SPICE_CTRL_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPICE_CTRL_TYPE_MENU, SpiceCtrlMenu)) +#define SPICE_CTRL_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SPICE_CTRL_TYPE_MENU, SpiceCtrlMenuClass)) +#define SPICE_CTRL_IS_MENU(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPICE_CTRL_TYPE_MENU)) +#define SPICE_CTRL_IS_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPICE_CTRL_TYPE_MENU)) +#define SPICE_CTRL_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPICE_CTRL_TYPE_MENU, SpiceCtrlMenuClass)) + +typedef struct _SpiceCtrlMenu SpiceCtrlMenu; +typedef struct _SpiceCtrlMenuClass SpiceCtrlMenuClass; +#define _g_free0(var) (var = (g_free (var), NULL)) +#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) +#define __g_list_free__g_object_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__g_object_unref0_ (var), NULL))) +#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) +typedef struct _SpiceCtrlControllerSendMsgData SpiceCtrlControllerSendMsgData; +typedef struct _SpiceCtrlControllerHandleClientData SpiceCtrlControllerHandleClientData; +typedef struct _SpiceCtrlControllerListenData SpiceCtrlControllerListenData; + +typedef enum { + SPICE_CTRL_ERROR_VALUE +} SpiceCtrlError; +#define SPICE_CTRL_ERROR spice_ctrl_error_quark () +struct _SpiceCtrlController { + GObject parent_instance; + SpiceCtrlControllerPrivate * priv; +}; + +struct _SpiceCtrlControllerClass { + GObjectClass parent_class; +}; + +struct _SpiceCtrlControllerPrivate { + gchar* _host; + guint32 _port; + guint32 _sport; + gchar* _password; + unsigned int _display_flags; + gchar* _tls_ciphers; + gchar* _host_subject; + gchar* _ca_file; + gchar* _title; + gchar* _hotkeys; + gchar** _secure_channels; + gint _secure_channels_length1; + gint __secure_channels_size_; + gchar** _disable_channels; + gint _disable_channels_length1; + gint __disable_channels_size_; + SpiceCtrlMenu* _menu; + gboolean _enable_smartcard; + gboolean _send_cad; + gchar** _disable_effects; + gint _disable_effects_length1; + gint __disable_effects_size_; + guint32 _color_depth; + gboolean _enable_usbredir; + gboolean _enable_usb_autoshare; + gchar* _usb_filter; + gchar* _proxy; + GIOStream* excl_connection; + gint nclients; + GList* clients; +}; + +struct _SpiceCtrlControllerSendMsgData { + int _state_; + GObject* _source_object_; + GAsyncResult* _res_; + GSimpleAsyncResult* _async_result; + SpiceCtrlController* self; + guint8* p; + gint p_length1; + gboolean result; + GIOStream* _tmp0_; + GIOStream* _tmp1_; + GOutputStream* _tmp2_; + GOutputStream* _tmp3_; + guint8* _tmp4_; + gint _tmp4__length1; + guint8* _tmp5_; + gint _tmp5__length1; + GList* _tmp6_; + GList* c_collection; + GList* c_it; + GIOStream* _tmp7_; + GIOStream* c; + GIOStream* _tmp8_; + GOutputStream* _tmp9_; + GOutputStream* _tmp10_; + guint8* _tmp11_; + gint _tmp11__length1; + guint8* _tmp12_; + gint _tmp12__length1; + GError* e; + GError* _tmp13_; + const gchar* _tmp14_; + GError * _inner_error_; +}; + +struct _SpiceCtrlControllerHandleClientData { + int _state_; + GObject* _source_object_; + GAsyncResult* _res_; + GSimpleAsyncResult* _async_result; + SpiceCtrlController* self; + GIOStream* c; + gboolean excl; + guint8* _tmp0_; + guint8* p; + gint p_length1; + gint _p_size_; + guint8* _tmp1_; + gint _tmp1__length1; + ControllerInit* init; + GIOStream* _tmp2_; + GInputStream* _tmp3_; + GInputStream* _tmp4_; + guint8* _tmp5_; + gint _tmp5__length1; + ControllerInit* _tmp6_; + ControllerInitHeader _tmp7_; + guint32 _tmp8_; + gboolean _tmp9_; + ControllerInit* _tmp10_; + ControllerInitHeader _tmp11_; + guint32 _tmp12_; + gboolean _tmp13_; + ControllerInit* _tmp14_; + ControllerInitHeader _tmp15_; + guint32 _tmp16_; + gboolean _tmp17_; + ControllerInit* _tmp18_; + guint64 _tmp19_; + gboolean _tmp20_; + GIOStream* _tmp21_; + gboolean _tmp22_; + ControllerInit* _tmp23_; + guint32 _tmp24_; + gboolean _tmp25_; + gint _tmp26_; + gint _tmp27_; + gchar* _tmp28_; + gchar* _tmp29_; + gchar* _tmp30_; + gchar* _tmp31_; + GIOStream* _tmp32_; + GIOStream* _tmp33_; + gboolean _tmp34_; + gboolean _tmp35_; + guint8* _tmp36_; + guint8* t; + gint t_length1; + gint _t_size_; + GIOStream* _tmp37_; + GInputStream* _tmp38_; + GInputStream* _tmp39_; + guint8* _tmp40_; + gint _tmp40__length1; + guint8* _tmp41_; + gint _tmp41__length1; + ControllerMsg* msg; + ControllerMsg* _tmp42_; + guint32 _tmp43_; + gchar* _tmp44_; + gchar* _tmp45_; + gchar* _tmp46_; + gchar* _tmp47_; + gchar* _tmp48_; + gchar* _tmp49_; + ControllerMsg* _tmp50_; + guint32 _tmp51_; + gchar* _tmp52_; + gchar* _tmp53_; + gchar* _tmp54_; + gchar* _tmp55_; + ControllerMsg* _tmp56_; + guint32 _tmp57_; + gboolean _tmp58_; + ControllerMsg* _tmp59_; + guint32 _tmp60_; + ControllerMsg* _tmp61_; + guint32 _tmp62_; + gint _tmp63_; + guint8* _tmp64_; + gint _tmp64__length1; + GIOStream* _tmp65_; + GInputStream* _tmp66_; + GInputStream* _tmp67_; + guint8* _tmp68_; + gint _tmp68__length1; + ControllerMsg* _tmp69_; + guint32 _tmp70_; + ControllerMsg* _tmp71_; + gboolean _tmp72_; + GError * _inner_error_; +}; + +struct _SpiceCtrlControllerListenData { + int _state_; + GObject* _source_object_; + GAsyncResult* _res_; + GSimpleAsyncResult* _async_result; + SpiceCtrlController* self; + gchar* addr; + const gchar* _tmp0_; + GObject* _tmp1_; + GObject* listener; + gboolean _tmp2_; + gboolean _tmp3_; + GObject* _tmp4_; + GIOStream* _tmp5_; + GIOStream* _tmp6_; + GIOStream* c; + gint _tmp7_; + GIOStream* _tmp8_; + GIOStream* _tmp9_; + GIOStream* _tmp10_; + GError* e; + GError* _tmp11_; + const gchar* _tmp12_; + GIOStream* _tmp13_; + GIOStream* _tmp14_; + gint _tmp15_; + GError * _inner_error_; +}; + + +static gpointer spice_ctrl_controller_parent_class = NULL; + +GQuark spice_ctrl_error_quark (void); +GType spice_ctrl_controller_get_type (void) G_GNUC_CONST; +GType spice_ctrl_menu_get_type (void) G_GNUC_CONST; +#define SPICE_CTRL_CONTROLLER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), SPICE_CTRL_TYPE_CONTROLLER, SpiceCtrlControllerPrivate)) +enum { + SPICE_CTRL_CONTROLLER_DUMMY_PROPERTY, + SPICE_CTRL_CONTROLLER_HOST, + SPICE_CTRL_CONTROLLER_PORT, + SPICE_CTRL_CONTROLLER_SPORT, + SPICE_CTRL_CONTROLLER_PASSWORD, + SPICE_CTRL_CONTROLLER_DISPLAY_FLAGS, + SPICE_CTRL_CONTROLLER_TLS_CIPHERS, + SPICE_CTRL_CONTROLLER_HOST_SUBJECT, + SPICE_CTRL_CONTROLLER_CA_FILE, + SPICE_CTRL_CONTROLLER_TITLE, + SPICE_CTRL_CONTROLLER_HOTKEYS, + SPICE_CTRL_CONTROLLER_SECURE_CHANNELS, + SPICE_CTRL_CONTROLLER_DISABLE_CHANNELS, + SPICE_CTRL_CONTROLLER_MENU, + SPICE_CTRL_CONTROLLER_ENABLE_SMARTCARD, + SPICE_CTRL_CONTROLLER_SEND_CAD, + SPICE_CTRL_CONTROLLER_DISABLE_EFFECTS, + SPICE_CTRL_CONTROLLER_COLOR_DEPTH, + SPICE_CTRL_CONTROLLER_ENABLE_USBREDIR, + SPICE_CTRL_CONTROLLER_ENABLE_USB_AUTOSHARE, + SPICE_CTRL_CONTROLLER_USB_FILTER, + SPICE_CTRL_CONTROLLER_PROXY +}; +static void _g_object_unref0_ (gpointer var); +static void _g_list_free__g_object_unref0_ (GList* self); +void spice_ctrl_controller_menu_item_click_msg (SpiceCtrlController* self, gint32 item_id); +void spice_ctrl_controller_send_msg (SpiceCtrlController* self, guint8* p, int p_length1, GAsyncReadyCallback _callback_, gpointer _user_data_); +gboolean spice_ctrl_controller_send_msg_finish (SpiceCtrlController* self, GAsyncResult* _res_, GError** error); +static void spice_ctrl_controller_send_msg_data_free (gpointer _data); +static gboolean spice_ctrl_controller_send_msg_co (SpiceCtrlControllerSendMsgData* _data_); +void spice_ctrl_output_stream_write (GOutputStream* stream, guint8* buffer, int buffer_length1, GAsyncReadyCallback _callback_, gpointer _user_data_); +void spice_ctrl_output_stream_write_finish (GAsyncResult* _res_, GError** error); +static guint8* _vala_array_dup1 (guint8* self, int length); +static void spice_ctrl_controller_send_msg_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_); +static guint8* _vala_array_dup2 (guint8* self, int length); +static gboolean spice_ctrl_controller_handle_message (SpiceCtrlController* self, ControllerMsg* msg); +static void spice_ctrl_controller_set_host (SpiceCtrlController* self, const gchar* value); +static void spice_ctrl_controller_set_port (SpiceCtrlController* self, guint32 value); +guint32 spice_ctrl_controller_get_port (SpiceCtrlController* self); +static void spice_ctrl_controller_set_sport (SpiceCtrlController* self, guint32 value); +guint32 spice_ctrl_controller_get_sport (SpiceCtrlController* self); +static void spice_ctrl_controller_set_password (SpiceCtrlController* self, const gchar* value); +static void spice_ctrl_controller_set_secure_channels (SpiceCtrlController* self, gchar** value, int value_length1); +static void spice_ctrl_controller_set_disable_channels (SpiceCtrlController* self, gchar** value, int value_length1); +static void spice_ctrl_controller_set_tls_ciphers (SpiceCtrlController* self, const gchar* value); +static void spice_ctrl_controller_set_ca_file (SpiceCtrlController* self, const gchar* value); +static void spice_ctrl_controller_set_host_subject (SpiceCtrlController* self, const gchar* value); +static void spice_ctrl_controller_set_display_flags (SpiceCtrlController* self, unsigned int value); +static void spice_ctrl_controller_set_title (SpiceCtrlController* self, const gchar* value); +static void spice_ctrl_controller_set_enable_smartcard (SpiceCtrlController* self, gboolean value); +SpiceCtrlMenu* spice_ctrl_menu_new_from_string (const gchar* str); +SpiceCtrlMenu* spice_ctrl_menu_construct_from_string (GType object_type, const gchar* str); +static void spice_ctrl_controller_set_menu (SpiceCtrlController* self, SpiceCtrlMenu* value); +static void spice_ctrl_controller_set_send_cad (SpiceCtrlController* self, gboolean value); +static void spice_ctrl_controller_set_hotkeys (SpiceCtrlController* self, const gchar* value); +static void spice_ctrl_controller_set_color_depth (SpiceCtrlController* self, guint32 value); +static void spice_ctrl_controller_set_disable_effects (SpiceCtrlController* self, gchar** value, int value_length1); +static void spice_ctrl_controller_set_enable_usbredir (SpiceCtrlController* self, gboolean value); +static void spice_ctrl_controller_set_enable_usb_autoshare (SpiceCtrlController* self, gboolean value); +static void spice_ctrl_controller_set_usb_filter (SpiceCtrlController* self, const gchar* value); +static void spice_ctrl_controller_set_proxy (SpiceCtrlController* self, const gchar* value); +static void spice_ctrl_controller_handle_client_data_free (gpointer _data); +static void spice_ctrl_controller_handle_client (SpiceCtrlController* self, GIOStream* c, GAsyncReadyCallback _callback_, gpointer _user_data_); +static void spice_ctrl_controller_handle_client_finish (SpiceCtrlController* self, GAsyncResult* _res_, GError** error); +static gboolean spice_ctrl_controller_handle_client_co (SpiceCtrlControllerHandleClientData* _data_); +void spice_ctrl_input_stream_read (GInputStream* stream, guint8* buffer, int buffer_length1, GAsyncReadyCallback _callback_, gpointer _user_data_); +void spice_ctrl_input_stream_read_finish (GAsyncResult* _res_, GError** error); +static void spice_ctrl_controller_handle_client_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_); +SpiceCtrlController* spice_ctrl_controller_new (void); +SpiceCtrlController* spice_ctrl_controller_construct (GType object_type); +static void spice_ctrl_controller_listen_data_free (gpointer _data); +void spice_ctrl_controller_listen (SpiceCtrlController* self, const gchar* addr, GAsyncReadyCallback _callback_, gpointer _user_data_); +void spice_ctrl_controller_listen_finish (SpiceCtrlController* self, GAsyncResult* _res_, GError** error); +static gboolean spice_ctrl_controller_listen_co (SpiceCtrlControllerListenData* _data_); +static void spice_ctrl_controller_listen_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_); +const gchar* spice_ctrl_controller_get_host (SpiceCtrlController* self); +const gchar* spice_ctrl_controller_get_password (SpiceCtrlController* self); +unsigned int spice_ctrl_controller_get_display_flags (SpiceCtrlController* self); +const gchar* spice_ctrl_controller_get_tls_ciphers (SpiceCtrlController* self); +const gchar* spice_ctrl_controller_get_host_subject (SpiceCtrlController* self); +const gchar* spice_ctrl_controller_get_ca_file (SpiceCtrlController* self); +const gchar* spice_ctrl_controller_get_title (SpiceCtrlController* self); +const gchar* spice_ctrl_controller_get_hotkeys (SpiceCtrlController* self); +gchar** spice_ctrl_controller_get_secure_channels (SpiceCtrlController* self, int* result_length1); +static gchar** _vala_array_dup3 (gchar** self, int length); +gchar** spice_ctrl_controller_get_disable_channels (SpiceCtrlController* self, int* result_length1); +static gchar** _vala_array_dup4 (gchar** self, int length); +SpiceCtrlMenu* spice_ctrl_controller_get_menu (SpiceCtrlController* self); +gboolean spice_ctrl_controller_get_enable_smartcard (SpiceCtrlController* self); +gboolean spice_ctrl_controller_get_send_cad (SpiceCtrlController* self); +gchar** spice_ctrl_controller_get_disable_effects (SpiceCtrlController* self, int* result_length1); +static gchar** _vala_array_dup5 (gchar** self, int length); +guint32 spice_ctrl_controller_get_color_depth (SpiceCtrlController* self); +gboolean spice_ctrl_controller_get_enable_usbredir (SpiceCtrlController* self); +gboolean spice_ctrl_controller_get_enable_usb_autoshare (SpiceCtrlController* self); +const gchar* spice_ctrl_controller_get_usb_filter (SpiceCtrlController* self); +const gchar* spice_ctrl_controller_get_proxy (SpiceCtrlController* self); +static void spice_ctrl_controller_finalize (GObject* obj); +static void _vala_spice_ctrl_controller_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); +static void _vala_spice_ctrl_controller_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); +static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); +static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); +static gint _vala_array_length (gpointer array); + + +GQuark spice_ctrl_error_quark (void) { + return g_quark_from_static_string ("spice_ctrl_error-quark"); +} + + +static void _g_object_unref0_ (gpointer var) { + (var == NULL) ? NULL : (var = (g_object_unref (var), NULL)); +} + + +static void _g_list_free__g_object_unref0_ (GList* self) { + g_list_foreach (self, (GFunc) _g_object_unref0_, NULL); + g_list_free (self); +} + + +void spice_ctrl_controller_menu_item_click_msg (SpiceCtrlController* self, gint32 item_id) { + ControllerValue msg = {0}; + gint32 _tmp0_; + ControllerValue _tmp1_; + ControllerMsg _tmp2_; + guint32 _tmp3_; + guint8* p; + gint p_length1; + gint _p_size_; + g_return_if_fail (self != NULL); + memset (&msg, 0, sizeof (ControllerValue)); + msg.base.size = (guint32) sizeof (ControllerValue); + msg.base.id = (guint32) CONTROLLER_MENU_ITEM_CLICK; + _tmp0_ = item_id; + msg.value = (guint32) _tmp0_; + _tmp1_ = msg; + _tmp2_ = _tmp1_.base; + _tmp3_ = _tmp2_.size; + p = ((guint8*) (&msg)) + 0; + p_length1 = _tmp3_ - 0; + _p_size_ = p_length1; + spice_ctrl_controller_send_msg (self, p, p_length1, NULL, NULL); +} + + +static void spice_ctrl_controller_send_msg_data_free (gpointer _data) { + SpiceCtrlControllerSendMsgData* _data_; + _data_ = _data; + _g_object_unref0 (_data_->self); + g_slice_free (SpiceCtrlControllerSendMsgData, _data_); +} + + +static gpointer _g_object_ref0 (gpointer self) { + return self ? g_object_ref (self) : NULL; +} + + +void spice_ctrl_controller_send_msg (SpiceCtrlController* self, guint8* p, int p_length1, GAsyncReadyCallback _callback_, gpointer _user_data_) { + SpiceCtrlControllerSendMsgData* _data_; + SpiceCtrlController* _tmp0_; + guint8* _tmp1_; + gint _tmp1__length1; + _data_ = g_slice_new0 (SpiceCtrlControllerSendMsgData); + _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, spice_ctrl_controller_send_msg); + g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, spice_ctrl_controller_send_msg_data_free); + _tmp0_ = _g_object_ref0 (self); + _data_->self = _tmp0_; + _tmp1_ = p; + _tmp1__length1 = p_length1; + _data_->p = _tmp1_; + _data_->p_length1 = _tmp1__length1; + spice_ctrl_controller_send_msg_co (_data_); +} + + +gboolean spice_ctrl_controller_send_msg_finish (SpiceCtrlController* self, GAsyncResult* _res_, GError** error) { + gboolean result; + SpiceCtrlControllerSendMsgData* _data_; + if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) { + return FALSE; + } + _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_)); + result = _data_->result; + return result; +} + + +static guint8* _vala_array_dup1 (guint8* self, int length) { + return g_memdup (self, length * sizeof (guint8)); +} + + +static void spice_ctrl_controller_send_msg_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) { + SpiceCtrlControllerSendMsgData* _data_; + _data_ = _user_data_; + _data_->_source_object_ = source_object; + _data_->_res_ = _res_; + spice_ctrl_controller_send_msg_co (_data_); +} + + +static guint8* _vala_array_dup2 (guint8* self, int length) { + return g_memdup (self, length * sizeof (guint8)); +} + + +static gboolean spice_ctrl_controller_send_msg_co (SpiceCtrlControllerSendMsgData* _data_) { + switch (_data_->_state_) { + case 0: + goto _state_0; + case 1: + goto _state_1; + case 2: + goto _state_2; + default: + g_assert_not_reached (); + } + _state_0: + { + _data_->_tmp0_ = _data_->self->priv->excl_connection; + if (_data_->_tmp0_ != NULL) { + _data_->_tmp1_ = _data_->self->priv->excl_connection; + _data_->_tmp2_ = g_io_stream_get_output_stream (_data_->_tmp1_); + _data_->_tmp3_ = _data_->_tmp2_; + _data_->_tmp4_ = _data_->p; + _data_->_tmp4__length1 = _data_->p_length1; + _data_->_tmp5_ = (_data_->_tmp4_ != NULL) ? _vala_array_dup1 (_data_->_tmp4_, _data_->_tmp4__length1) : ((gpointer) _data_->_tmp4_); + _data_->_tmp5__length1 = _data_->_tmp4__length1; + _data_->_state_ = 1; + spice_ctrl_output_stream_write (_data_->_tmp3_, _data_->_tmp5_, _data_->_tmp5__length1, spice_ctrl_controller_send_msg_ready, _data_); + return FALSE; + _state_1: + spice_ctrl_output_stream_write_finish (_data_->_res_, &_data_->_inner_error_); + if (_data_->_inner_error_ != NULL) { + goto __catch1_g_error; + } + } else { + _data_->_tmp6_ = _data_->self->priv->clients; + { + _data_->c_collection = _data_->_tmp6_; + for (_data_->c_it = _data_->c_collection; _data_->c_it != NULL; _data_->c_it = _data_->c_it->next) { + _data_->_tmp7_ = _g_object_ref0 ((GIOStream*) _data_->c_it->data); + _data_->c = _data_->_tmp7_; + { + _data_->_tmp8_ = _data_->c; + _data_->_tmp9_ = g_io_stream_get_output_stream (_data_->_tmp8_); + _data_->_tmp10_ = _data_->_tmp9_; + _data_->_tmp11_ = _data_->p; + _data_->_tmp11__length1 = _data_->p_length1; + _data_->_tmp12_ = (_data_->_tmp11_ != NULL) ? _vala_array_dup2 (_data_->_tmp11_, _data_->_tmp11__length1) : ((gpointer) _data_->_tmp11_); + _data_->_tmp12__length1 = _data_->_tmp11__length1; + _data_->_state_ = 2; + spice_ctrl_output_stream_write (_data_->_tmp10_, _data_->_tmp12_, _data_->_tmp12__length1, spice_ctrl_controller_send_msg_ready, _data_); + return FALSE; + _state_2: + spice_ctrl_output_stream_write_finish (_data_->_res_, &_data_->_inner_error_); + if (_data_->_inner_error_ != NULL) { + _g_object_unref0 (_data_->c); + goto __catch1_g_error; + } + _g_object_unref0 (_data_->c); + } + } + } + } + } + goto __finally1; + __catch1_g_error: + { + _data_->e = _data_->_inner_error_; + _data_->_inner_error_ = NULL; + _data_->_tmp13_ = _data_->e; + _data_->_tmp14_ = _data_->_tmp13_->message; + g_warning ("controller.vala:79: %s", _data_->_tmp14_); + _g_error_free0 (_data_->e); + } + __finally1: + if (_data_->_inner_error_ != NULL) { + g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); + g_error_free (_data_->_inner_error_); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + _data_->result = TRUE; + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; +} + + +static gboolean spice_ctrl_controller_handle_message (SpiceCtrlController* self, ControllerMsg* msg) { + gboolean result = FALSE; + ControllerMsg* _tmp0_; + ControllerValue* v; + ControllerMsg* _tmp1_; + ControllerData* d; + ControllerData* _tmp2_; + const gchar* str; + ControllerMsg* _tmp3_; + guint32 _tmp4_; + g_return_val_if_fail (self != NULL, FALSE); + _tmp0_ = msg; + v = (ControllerValue*) _tmp0_; + _tmp1_ = msg; + d = (ControllerData*) _tmp1_; + _tmp2_ = d; + str = (const gchar*) (&(*_tmp2_).data); + _tmp3_ = msg; + _tmp4_ = (*_tmp3_).id; + switch (_tmp4_) { + case CONTROLLER_HOST: + { + const gchar* _tmp5_; + const gchar* _tmp6_; + gchar* _tmp7_ = NULL; + gchar* _tmp8_; + _tmp5_ = str; + spice_ctrl_controller_set_host (self, _tmp5_); + _tmp6_ = str; + _tmp7_ = g_strdup_printf ("got HOST: %s", _tmp6_); + _tmp8_ = _tmp7_; + g_debug ("controller.vala:97: %s", _tmp8_); + _g_free0 (_tmp8_); + break; + } + case CONTROLLER_PORT: + { + ControllerValue* _tmp9_; + guint32 _tmp10_; + guint32 _tmp11_; + gchar* _tmp12_ = NULL; + gchar* _tmp13_; + _tmp9_ = v; + _tmp10_ = (*_tmp9_).value; + spice_ctrl_controller_set_port (self, _tmp10_); + _tmp11_ = self->priv->_port; + _tmp12_ = g_strdup_printf ("got PORT: %u", (guint) _tmp11_); + _tmp13_ = _tmp12_; + g_debug ("controller.vala:101: %s", _tmp13_); + _g_free0 (_tmp13_); + break; + } + case CONTROLLER_SPORT: + { + ControllerValue* _tmp14_; + guint32 _tmp15_; + guint32 _tmp16_; + gchar* _tmp17_ = NULL; + gchar* _tmp18_; + _tmp14_ = v; + _tmp15_ = (*_tmp14_).value; + spice_ctrl_controller_set_sport (self, _tmp15_); + _tmp16_ = self->priv->_sport; + _tmp17_ = g_strdup_printf ("got SPORT: %u", (guint) _tmp16_); + _tmp18_ = _tmp17_; + g_debug ("controller.vala:105: %s", _tmp18_); + _g_free0 (_tmp18_); + break; + } + case CONTROLLER_PASSWORD: + { + const gchar* _tmp19_; + _tmp19_ = str; + spice_ctrl_controller_set_password (self, _tmp19_); + g_debug ("controller.vala:109: got PASSWORD"); + break; + } + case CONTROLLER_SECURE_CHANNELS: + { + const gchar* _tmp20_; + gchar** _tmp21_; + gchar** _tmp22_ = NULL; + gchar** _tmp23_; + gint _tmp23__length1; + const gchar* _tmp24_; + gchar* _tmp25_ = NULL; + gchar* _tmp26_; + _tmp20_ = str; + _tmp22_ = _tmp21_ = g_strsplit (_tmp20_, ",", 0); + _tmp23_ = _tmp22_; + _tmp23__length1 = _vala_array_length (_tmp21_); + spice_ctrl_controller_set_secure_channels (self, _tmp23_, _vala_array_length (_tmp21_)); + _tmp23_ = (_vala_array_free (_tmp23_, _tmp23__length1, (GDestroyNotify) g_free), NULL); + _tmp24_ = str; + _tmp25_ = g_strdup_printf ("got SECURE_CHANNELS %s", _tmp24_); + _tmp26_ = _tmp25_; + g_debug ("controller.vala:114: %s", _tmp26_); + _g_free0 (_tmp26_); + break; + } + case CONTROLLER_DISABLE_CHANNELS: + { + const gchar* _tmp27_; + gchar** _tmp28_; + gchar** _tmp29_ = NULL; + gchar** _tmp30_; + gint _tmp30__length1; + const gchar* _tmp31_; + gchar* _tmp32_ = NULL; + gchar* _tmp33_; + _tmp27_ = str; + _tmp29_ = _tmp28_ = g_strsplit (_tmp27_, ",", 0); + _tmp30_ = _tmp29_; + _tmp30__length1 = _vala_array_length (_tmp28_); + spice_ctrl_controller_set_disable_channels (self, _tmp30_, _vala_array_length (_tmp28_)); + _tmp30_ = (_vala_array_free (_tmp30_, _tmp30__length1, (GDestroyNotify) g_free), NULL); + _tmp31_ = str; + _tmp32_ = g_strdup_printf ("got DISABLE_CHANNELS %s", _tmp31_); + _tmp33_ = _tmp32_; + g_debug ("controller.vala:119: %s", _tmp33_); + _g_free0 (_tmp33_); + break; + } + case CONTROLLER_TLS_CIPHERS: + { + const gchar* _tmp34_; + const gchar* _tmp35_; + gchar* _tmp36_ = NULL; + gchar* _tmp37_; + _tmp34_ = str; + spice_ctrl_controller_set_tls_ciphers (self, _tmp34_); + _tmp35_ = str; + _tmp36_ = g_strdup_printf ("got TLS_CIPHERS %s", _tmp35_); + _tmp37_ = _tmp36_; + g_debug ("controller.vala:124: %s", _tmp37_); + _g_free0 (_tmp37_); + break; + } + case CONTROLLER_CA_FILE: + { + const gchar* _tmp38_; + const gchar* _tmp39_; + gchar* _tmp40_ = NULL; + gchar* _tmp41_; + _tmp38_ = str; + spice_ctrl_controller_set_ca_file (self, _tmp38_); + _tmp39_ = str; + _tmp40_ = g_strdup_printf ("got CA_FILE %s", _tmp39_); + _tmp41_ = _tmp40_; + g_debug ("controller.vala:128: %s", _tmp41_); + _g_free0 (_tmp41_); + break; + } + case CONTROLLER_HOST_SUBJECT: + { + const gchar* _tmp42_; + const gchar* _tmp43_; + gchar* _tmp44_ = NULL; + gchar* _tmp45_; + _tmp42_ = str; + spice_ctrl_controller_set_host_subject (self, _tmp42_); + _tmp43_ = str; + _tmp44_ = g_strdup_printf ("got HOST_SUBJECT %s", _tmp43_); + _tmp45_ = _tmp44_; + g_debug ("controller.vala:132: %s", _tmp45_); + _g_free0 (_tmp45_); + break; + } + case CONTROLLER_FULL_SCREEN: + { + ControllerValue* _tmp46_; + guint32 _tmp47_; + ControllerValue* _tmp48_; + guint32 _tmp49_; + gchar* _tmp50_ = NULL; + gchar* _tmp51_; + _tmp46_ = v; + _tmp47_ = (*_tmp46_).value; + spice_ctrl_controller_set_display_flags (self, (unsigned int) _tmp47_); + _tmp48_ = v; + _tmp49_ = (*_tmp48_).value; + _tmp50_ = g_strdup_printf ("got FULL_SCREEN 0x%x", (guint) _tmp49_); + _tmp51_ = _tmp50_; + g_debug ("controller.vala:137: %s", _tmp51_); + _g_free0 (_tmp51_); + break; + } + case CONTROLLER_SET_TITLE: + { + const gchar* _tmp52_; + const gchar* _tmp53_; + gchar* _tmp54_ = NULL; + gchar* _tmp55_; + _tmp52_ = str; + spice_ctrl_controller_set_title (self, _tmp52_); + _tmp53_ = str; + _tmp54_ = g_strdup_printf ("got TITLE %s", _tmp53_); + _tmp55_ = _tmp54_; + g_debug ("controller.vala:141: %s", _tmp55_); + _g_free0 (_tmp55_); + break; + } + case CONTROLLER_ENABLE_SMARTCARD: + { + ControllerValue* _tmp56_; + guint32 _tmp57_; + ControllerValue* _tmp58_; + guint32 _tmp59_; + gchar* _tmp60_ = NULL; + gchar* _tmp61_; + _tmp56_ = v; + _tmp57_ = (*_tmp56_).value; + spice_ctrl_controller_set_enable_smartcard (self, (gboolean) _tmp57_); + _tmp58_ = v; + _tmp59_ = (*_tmp58_).value; + _tmp60_ = g_strdup_printf ("got ENABLE_SMARTCARD 0x%x", (guint) _tmp59_); + _tmp61_ = _tmp60_; + g_debug ("controller.vala:145: %s", _tmp61_); + _g_free0 (_tmp61_); + break; + } + case CONTROLLER_CREATE_MENU: + { + const gchar* _tmp62_; + SpiceCtrlMenu* _tmp63_; + SpiceCtrlMenu* _tmp64_; + const gchar* _tmp65_; + gchar* _tmp66_ = NULL; + gchar* _tmp67_; + _tmp62_ = str; + _tmp63_ = spice_ctrl_menu_new_from_string (_tmp62_); + _tmp64_ = _tmp63_; + spice_ctrl_controller_set_menu (self, _tmp64_); + _g_object_unref0 (_tmp64_); + _tmp65_ = str; + _tmp66_ = g_strdup_printf ("got CREATE_MENU %s", _tmp65_); + _tmp67_ = _tmp66_; + g_debug ("controller.vala:150: %s", _tmp67_); + _g_free0 (_tmp67_); + break; + } + case CONTROLLER_DELETE_MENU: + { + spice_ctrl_controller_set_menu (self, NULL); + g_debug ("controller.vala:154: got DELETE_MENU request"); + break; + } + case CONTROLLER_SEND_CAD: + { + ControllerValue* _tmp68_; + guint32 _tmp69_; + ControllerValue* _tmp70_; + guint32 _tmp71_; + gchar* _tmp72_ = NULL; + gchar* _tmp73_; + _tmp68_ = v; + _tmp69_ = (*_tmp68_).value; + spice_ctrl_controller_set_send_cad (self, (gboolean) _tmp69_); + _tmp70_ = v; + _tmp71_ = (*_tmp70_).value; + _tmp72_ = g_strdup_printf ("got SEND_CAD %u", (guint) _tmp71_); + _tmp73_ = _tmp72_; + g_debug ("controller.vala:159: %s", _tmp73_); + _g_free0 (_tmp73_); + break; + } + case CONTROLLER_HOTKEYS: + { + const gchar* _tmp74_; + const gchar* _tmp75_; + gchar* _tmp76_ = NULL; + gchar* _tmp77_; + _tmp74_ = str; + spice_ctrl_controller_set_hotkeys (self, _tmp74_); + _tmp75_ = str; + _tmp76_ = g_strdup_printf ("got HOTKEYS %s", _tmp75_); + _tmp77_ = _tmp76_; + g_debug ("controller.vala:164: %s", _tmp77_); + _g_free0 (_tmp77_); + break; + } + case CONTROLLER_COLOR_DEPTH: + { + ControllerValue* _tmp78_; + guint32 _tmp79_; + ControllerValue* _tmp80_; + guint32 _tmp81_; + gchar* _tmp82_ = NULL; + gchar* _tmp83_; + _tmp78_ = v; + _tmp79_ = (*_tmp78_).value; + spice_ctrl_controller_set_color_depth (self, _tmp79_); + _tmp80_ = v; + _tmp81_ = (*_tmp80_).value; + _tmp82_ = g_strdup_printf ("got COLOR_DEPTH %u", (guint) _tmp81_); + _tmp83_ = _tmp82_; + g_debug ("controller.vala:169: %s", _tmp83_); + _g_free0 (_tmp83_); + break; + } + case CONTROLLER_DISABLE_EFFECTS: + { + const gchar* _tmp84_; + gchar** _tmp85_; + gchar** _tmp86_ = NULL; + gchar** _tmp87_; + gint _tmp87__length1; + const gchar* _tmp88_; + gchar* _tmp89_ = NULL; + gchar* _tmp90_; + _tmp84_ = str; + _tmp86_ = _tmp85_ = g_strsplit (_tmp84_, ",", 0); + _tmp87_ = _tmp86_; + _tmp87__length1 = _vala_array_length (_tmp85_); + spice_ctrl_controller_set_disable_effects (self, _tmp87_, _vala_array_length (_tmp85_)); + _tmp87_ = (_vala_array_free (_tmp87_, _tmp87__length1, (GDestroyNotify) g_free), NULL); + _tmp88_ = str; + _tmp89_ = g_strdup_printf ("got DISABLE_EFFECTS %s", _tmp88_); + _tmp90_ = _tmp89_; + g_debug ("controller.vala:173: %s", _tmp90_); + _g_free0 (_tmp90_); + break; + } + case CONTROLLER_CONNECT: + { + g_signal_emit_by_name (self, "do-connect"); + g_debug ("controller.vala:178: got CONNECT request"); + break; + } + case CONTROLLER_SHOW: + { + g_signal_emit_by_name (self, "show"); + g_debug ("controller.vala:182: got SHOW request"); + break; + } + case CONTROLLER_HIDE: + { + g_signal_emit_by_name (self, "hide"); + g_debug ("controller.vala:186: got HIDE request"); + break; + } + case CONTROLLER_ENABLE_USB: + { + ControllerValue* _tmp91_; + guint32 _tmp92_; + ControllerValue* _tmp93_; + guint32 _tmp94_; + gchar* _tmp95_ = NULL; + gchar* _tmp96_; + _tmp91_ = v; + _tmp92_ = (*_tmp91_).value; + spice_ctrl_controller_set_enable_usbredir (self, (gboolean) _tmp92_); + _tmp93_ = v; + _tmp94_ = (*_tmp93_).value; + _tmp95_ = g_strdup_printf ("got ENABLE_USB %u", (guint) _tmp94_); + _tmp96_ = _tmp95_; + g_debug ("controller.vala:190: %s", _tmp96_); + _g_free0 (_tmp96_); + break; + } + case CONTROLLER_ENABLE_USB_AUTOSHARE: + { + ControllerValue* _tmp97_; + guint32 _tmp98_; + ControllerValue* _tmp99_; + guint32 _tmp100_; + gchar* _tmp101_ = NULL; + gchar* _tmp102_; + _tmp97_ = v; + _tmp98_ = (*_tmp97_).value; + spice_ctrl_controller_set_enable_usb_autoshare (self, (gboolean) _tmp98_); + _tmp99_ = v; + _tmp100_ = (*_tmp99_).value; + _tmp101_ = g_strdup_printf ("got ENABLE_USB_AUTOSHARE %u", (guint) _tmp100_); + _tmp102_ = _tmp101_; + g_debug ("controller.vala:194: %s", _tmp102_); + _g_free0 (_tmp102_); + break; + } + case CONTROLLER_USB_FILTER: + { + const gchar* _tmp103_; + const gchar* _tmp104_; + gchar* _tmp105_ = NULL; + gchar* _tmp106_; + _tmp103_ = str; + spice_ctrl_controller_set_usb_filter (self, _tmp103_); + _tmp104_ = str; + _tmp105_ = g_strdup_printf ("got USB_FILTER %s", _tmp104_); + _tmp106_ = _tmp105_; + g_debug ("controller.vala:198: %s", _tmp106_); + _g_free0 (_tmp106_); + break; + } + case CONTROLLER_PROXY: + { + const gchar* _tmp107_; + const gchar* _tmp108_; + gchar* _tmp109_ = NULL; + gchar* _tmp110_; + _tmp107_ = str; + spice_ctrl_controller_set_proxy (self, _tmp107_); + _tmp108_ = str; + _tmp109_ = g_strdup_printf ("got PROXY %s", _tmp108_); + _tmp110_ = _tmp109_; + g_debug ("controller.vala:202: %s", _tmp110_); + _g_free0 (_tmp110_); + break; + } + default: + { + ControllerMsg* _tmp111_; + guint32 _tmp112_; + gchar* _tmp113_ = NULL; + gchar* _tmp114_; + _tmp111_ = msg; + _tmp112_ = (*_tmp111_).id; + _tmp113_ = g_strdup_printf ("got unknown msg.id %u", (guint) _tmp112_); + _tmp114_ = _tmp113_; + g_debug ("controller.vala:205: %s", _tmp114_); + _g_free0 (_tmp114_); + g_warn_if_reached (); + result = FALSE; + return result; + } + } + result = TRUE; + return result; +} + + +static void spice_ctrl_controller_handle_client_data_free (gpointer _data) { + SpiceCtrlControllerHandleClientData* _data_; + _data_ = _data; + _g_object_unref0 (_data_->c); + _g_object_unref0 (_data_->self); + g_slice_free (SpiceCtrlControllerHandleClientData, _data_); +} + + +static void spice_ctrl_controller_handle_client (SpiceCtrlController* self, GIOStream* c, GAsyncReadyCallback _callback_, gpointer _user_data_) { + SpiceCtrlControllerHandleClientData* _data_; + SpiceCtrlController* _tmp0_; + GIOStream* _tmp1_; + GIOStream* _tmp2_; + _data_ = g_slice_new0 (SpiceCtrlControllerHandleClientData); + _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, spice_ctrl_controller_handle_client); + g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, spice_ctrl_controller_handle_client_data_free); + _tmp0_ = _g_object_ref0 (self); + _data_->self = _tmp0_; + _tmp1_ = c; + _tmp2_ = _g_object_ref0 (_tmp1_); + _g_object_unref0 (_data_->c); + _data_->c = _tmp2_; + spice_ctrl_controller_handle_client_co (_data_); +} + + +static void spice_ctrl_controller_handle_client_finish (SpiceCtrlController* self, GAsyncResult* _res_, GError** error) { + SpiceCtrlControllerHandleClientData* _data_; + if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) { + return; + } + _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_)); +} + + +static void spice_ctrl_controller_handle_client_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) { + SpiceCtrlControllerHandleClientData* _data_; + _data_ = _user_data_; + _data_->_source_object_ = source_object; + _data_->_res_ = _res_; + spice_ctrl_controller_handle_client_co (_data_); +} + + +static gboolean spice_ctrl_controller_handle_client_co (SpiceCtrlControllerHandleClientData* _data_) { + switch (_data_->_state_) { + case 0: + goto _state_0; + case 1: + goto _state_1; + case 2: + goto _state_2; + case 3: + goto _state_3; + default: + g_assert_not_reached (); + } + _state_0: + _data_->excl = FALSE; + g_debug ("controller.vala:215: new socket client, reading init header"); + _data_->_tmp0_ = NULL; + _data_->_tmp0_ = g_new0 (guint8, sizeof (ControllerInit)); + _data_->p = _data_->_tmp0_; + _data_->p_length1 = sizeof (ControllerInit); + _data_->_p_size_ = _data_->p_length1; + _data_->_tmp1_ = _data_->p; + _data_->_tmp1__length1 = _data_->p_length1; + _data_->init = (ControllerInit*) _data_->_tmp1_; + _data_->_tmp2_ = _data_->c; + _data_->_tmp3_ = g_io_stream_get_input_stream (_data_->_tmp2_); + _data_->_tmp4_ = _data_->_tmp3_; + _data_->_tmp5_ = _data_->p; + _data_->_tmp5__length1 = _data_->p_length1; + _data_->_state_ = 1; + spice_ctrl_input_stream_read (_data_->_tmp4_, _data_->_tmp5_, _data_->_tmp5__length1, spice_ctrl_controller_handle_client_ready, _data_); + return FALSE; + _state_1: + spice_ctrl_input_stream_read_finish (_data_->_res_, &_data_->_inner_error_); + if (_data_->_inner_error_ != NULL) { + g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); + g_error_free (_data_->_inner_error_); + _data_->p = (g_free (_data_->p), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + _data_->_tmp6_ = _data_->init; + _data_->_tmp7_ = (*_data_->_tmp6_).base; + _data_->_tmp8_ = _data_->_tmp7_.magic; + _data_->_tmp9_ = FALSE; + _data_->_tmp9_ = g_warn_if (_data_->_tmp8_ != CONTROLLER_MAGIC); + if (_data_->_tmp9_) { + _data_->p = (g_free (_data_->p), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + _data_->_tmp10_ = _data_->init; + _data_->_tmp11_ = (*_data_->_tmp10_).base; + _data_->_tmp12_ = _data_->_tmp11_.version; + _data_->_tmp13_ = FALSE; + _data_->_tmp13_ = g_warn_if (_data_->_tmp12_ != ((guint32) CONTROLLER_VERSION)); + if (_data_->_tmp13_) { + _data_->p = (g_free (_data_->p), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + _data_->_tmp14_ = _data_->init; + _data_->_tmp15_ = (*_data_->_tmp14_).base; + _data_->_tmp16_ = _data_->_tmp15_.size; + _data_->_tmp17_ = FALSE; + _data_->_tmp17_ = g_warn_if (((gulong) _data_->_tmp16_) < sizeof (ControllerInit)); + if (_data_->_tmp17_) { + _data_->p = (g_free (_data_->p), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + _data_->_tmp18_ = _data_->init; + _data_->_tmp19_ = (*_data_->_tmp18_).credentials; + _data_->_tmp20_ = FALSE; + _data_->_tmp20_ = g_warn_if (_data_->_tmp19_ != ((guint64) 0)); + if (_data_->_tmp20_) { + _data_->p = (g_free (_data_->p), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + _data_->_tmp21_ = _data_->self->priv->excl_connection; + _data_->_tmp22_ = FALSE; + _data_->_tmp22_ = g_warn_if (_data_->_tmp21_ != NULL); + if (_data_->_tmp22_) { + _data_->p = (g_free (_data_->p), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + _data_->_tmp23_ = _data_->init; + _data_->_tmp24_ = (*_data_->_tmp23_).flags; + _data_->excl = (gboolean) (_data_->_tmp24_ & CONTROLLER_FLAG_EXCLUSIVE); + _data_->_tmp25_ = _data_->excl; + if (_data_->_tmp25_) { + _data_->_tmp26_ = _data_->self->priv->nclients; + if (_data_->_tmp26_ > 1) { + _data_->_tmp27_ = _data_->self->priv->nclients; + _data_->_tmp28_ = NULL; + _data_->_tmp28_ = g_strdup_printf ("%i", _data_->_tmp27_); + _data_->_tmp29_ = _data_->_tmp28_; + _data_->_tmp30_ = NULL; + _data_->_tmp30_ = g_strconcat ("Can't make the client exclusive, there is already ", _data_->_tmp29_, " connected clients", NULL); + _data_->_tmp31_ = _data_->_tmp30_; + g_warning ("controller.vala:234: %s", _data_->_tmp31_); + _g_free0 (_data_->_tmp31_); + _g_free0 (_data_->_tmp29_); + _data_->p = (g_free (_data_->p), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + _data_->_tmp32_ = _data_->c; + _data_->_tmp33_ = _g_object_ref0 (_data_->_tmp32_); + _g_object_unref0 (_data_->self->priv->excl_connection); + _data_->self->priv->excl_connection = _data_->_tmp33_; + } + g_signal_emit_by_name (_data_->self, "client-connected"); + { + _data_->_tmp34_ = TRUE; + while (TRUE) { + _data_->_tmp35_ = _data_->_tmp34_; + if (!_data_->_tmp35_) { + } + _data_->_tmp34_ = FALSE; + _data_->_tmp36_ = NULL; + _data_->_tmp36_ = g_new0 (guint8, sizeof (ControllerMsg)); + _data_->t = _data_->_tmp36_; + _data_->t_length1 = sizeof (ControllerMsg); + _data_->_t_size_ = _data_->t_length1; + _data_->_tmp37_ = _data_->c; + _data_->_tmp38_ = g_io_stream_get_input_stream (_data_->_tmp37_); + _data_->_tmp39_ = _data_->_tmp38_; + _data_->_tmp40_ = _data_->t; + _data_->_tmp40__length1 = _data_->t_length1; + _data_->_state_ = 2; + spice_ctrl_input_stream_read (_data_->_tmp39_, _data_->_tmp40_, _data_->_tmp40__length1, spice_ctrl_controller_handle_client_ready, _data_); + return FALSE; + _state_2: + spice_ctrl_input_stream_read_finish (_data_->_res_, &_data_->_inner_error_); + if (_data_->_inner_error_ != NULL) { + g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); + g_error_free (_data_->_inner_error_); + _data_->t = (g_free (_data_->t), NULL); + _data_->p = (g_free (_data_->p), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + _data_->_tmp41_ = _data_->t; + _data_->_tmp41__length1 = _data_->t_length1; + _data_->msg = (ControllerMsg*) _data_->_tmp41_; + _data_->_tmp42_ = _data_->msg; + _data_->_tmp43_ = (*_data_->_tmp42_).id; + _data_->_tmp44_ = NULL; + _data_->_tmp44_ = g_strdup_printf ("%u", _data_->_tmp43_); + _data_->_tmp45_ = _data_->_tmp44_; + _data_->_tmp46_ = g_strconcat ("new message ", _data_->_tmp45_, NULL); + _data_->_tmp47_ = _data_->_tmp46_; + _data_->_tmp48_ = g_strconcat (_data_->_tmp47_, "size ", NULL); + _data_->_tmp49_ = _data_->_tmp48_; + _data_->_tmp50_ = _data_->msg; + _data_->_tmp51_ = (*_data_->_tmp50_).size; + _data_->_tmp52_ = NULL; + _data_->_tmp52_ = g_strdup_printf ("%u", _data_->_tmp51_); + _data_->_tmp53_ = _data_->_tmp52_; + _data_->_tmp54_ = g_strconcat (_data_->_tmp49_, _data_->_tmp53_, NULL); + _data_->_tmp55_ = _data_->_tmp54_; + g_debug ("controller.vala:246: %s", _data_->_tmp55_); + _g_free0 (_data_->_tmp55_); + _g_free0 (_data_->_tmp53_); + _g_free0 (_data_->_tmp49_); + _g_free0 (_data_->_tmp47_); + _g_free0 (_data_->_tmp45_); + _data_->_tmp56_ = _data_->msg; + _data_->_tmp57_ = (*_data_->_tmp56_).size; + _data_->_tmp58_ = FALSE; + _data_->_tmp58_ = g_warn_if (((gulong) _data_->_tmp57_) < sizeof (ControllerMsg)); + if (_data_->_tmp58_) { + _data_->t = (g_free (_data_->t), NULL); + break; + } + _data_->_tmp59_ = _data_->msg; + _data_->_tmp60_ = (*_data_->_tmp59_).size; + if (((gulong) _data_->_tmp60_) > sizeof (ControllerMsg)) { + _data_->_tmp61_ = _data_->msg; + _data_->_tmp62_ = (*_data_->_tmp61_).size; + _data_->_tmp63_ = 0; + _data_->_tmp63_ = (gint) _data_->_tmp62_; + _data_->t = g_renew (guint8, _data_->t, (gint) _data_->_tmp62_); + (_data_->_tmp63_ > _data_->t_length1) ? memset (_data_->t + _data_->t_length1, 0, sizeof (guint8) * (_data_->_tmp63_ - _data_->t_length1)) : NULL; + _data_->t_length1 = _data_->_tmp63_; + _data_->_t_size_ = _data_->_tmp63_; + _data_->_tmp64_ = _data_->t; + _data_->_tmp64__length1 = _data_->t_length1; + _data_->msg = (ControllerMsg*) _data_->_tmp64_; + _data_->_tmp65_ = _data_->c; + _data_->_tmp66_ = g_io_stream_get_input_stream (_data_->_tmp65_); + _data_->_tmp67_ = _data_->_tmp66_; + _data_->_tmp68_ = _data_->t; + _data_->_tmp68__length1 = _data_->t_length1; + _data_->_tmp69_ = _data_->msg; + _data_->_tmp70_ = (*_data_->_tmp69_).size; + _data_->_state_ = 3; + spice_ctrl_input_stream_read (_data_->_tmp67_, _data_->_tmp68_ + sizeof (ControllerMsg), _data_->_tmp70_ - sizeof (ControllerMsg), spice_ctrl_controller_handle_client_ready, _data_); + return FALSE; + _state_3: + spice_ctrl_input_stream_read_finish (_data_->_res_, &_data_->_inner_error_); + if (_data_->_inner_error_ != NULL) { + g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); + g_error_free (_data_->_inner_error_); + _data_->t = (g_free (_data_->t), NULL); + _data_->p = (g_free (_data_->p), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + } + _data_->_tmp71_ = _data_->msg; + spice_ctrl_controller_handle_message (_data_->self, _data_->_tmp71_); + _data_->t = (g_free (_data_->t), NULL); + } + } + _data_->_tmp72_ = _data_->excl; + if (_data_->_tmp72_) { + _g_object_unref0 (_data_->self->priv->excl_connection); + _data_->self->priv->excl_connection = NULL; + } + _data_->p = (g_free (_data_->p), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; +} + + +SpiceCtrlController* spice_ctrl_controller_construct (GType object_type) { + SpiceCtrlController * self = NULL; + self = (SpiceCtrlController*) g_object_new (object_type, NULL); + return self; +} + + +SpiceCtrlController* spice_ctrl_controller_new (void) { + return spice_ctrl_controller_construct (SPICE_CTRL_TYPE_CONTROLLER); +} + + +static void spice_ctrl_controller_listen_data_free (gpointer _data) { + SpiceCtrlControllerListenData* _data_; + _data_ = _data; + _g_free0 (_data_->addr); + _g_object_unref0 (_data_->self); + g_slice_free (SpiceCtrlControllerListenData, _data_); +} + + +void spice_ctrl_controller_listen (SpiceCtrlController* self, const gchar* addr, GAsyncReadyCallback _callback_, gpointer _user_data_) { + SpiceCtrlControllerListenData* _data_; + SpiceCtrlController* _tmp0_; + const gchar* _tmp1_; + gchar* _tmp2_; + _data_ = g_slice_new0 (SpiceCtrlControllerListenData); + _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, spice_ctrl_controller_listen); + g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, spice_ctrl_controller_listen_data_free); + _tmp0_ = _g_object_ref0 (self); + _data_->self = _tmp0_; + _tmp1_ = addr; + _tmp2_ = g_strdup (_tmp1_); + _g_free0 (_data_->addr); + _data_->addr = _tmp2_; + spice_ctrl_controller_listen_co (_data_); +} + + +void spice_ctrl_controller_listen_finish (SpiceCtrlController* self, GAsyncResult* _res_, GError** error) { + SpiceCtrlControllerListenData* _data_; + if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) { + return; + } + _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_)); +} + + +static void spice_ctrl_controller_listen_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) { + SpiceCtrlControllerListenData* _data_; + _data_ = _user_data_; + _data_->_source_object_ = source_object; + _data_->_res_ = _res_; + spice_ctrl_controller_listen_co (_data_); +} + + +static gboolean spice_ctrl_controller_listen_co (SpiceCtrlControllerListenData* _data_) { + switch (_data_->_state_) { + case 0: + goto _state_0; + case 1: + goto _state_1; + case 2: + goto _state_2; + default: + g_assert_not_reached (); + } + _state_0: + _data_->_tmp0_ = _data_->addr; + _data_->_tmp1_ = NULL; + _data_->_tmp1_ = spice_controller_listener_new (_data_->_tmp0_, &_data_->_inner_error_); + _data_->listener = _data_->_tmp1_; + if (_data_->_inner_error_ != NULL) { + g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); + g_error_free (_data_->_inner_error_); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + { + _data_->_tmp2_ = TRUE; + while (TRUE) { + _data_->_tmp3_ = _data_->_tmp2_; + if (!_data_->_tmp3_) { + } + _data_->_tmp2_ = FALSE; + _data_->_tmp4_ = _data_->listener; + _data_->_state_ = 1; + spice_controller_listener_accept_async (_data_->_tmp4_, NULL, spice_ctrl_controller_listen_ready, _data_); + return FALSE; + _state_1: + _data_->_tmp5_ = NULL; + _data_->_tmp5_ = spice_controller_listener_accept_finish (_data_->_tmp4_, _data_->_res_, NULL, &_data_->_inner_error_); + _data_->_tmp6_ = _g_object_ref0 (_data_->_tmp5_); + _data_->c = _data_->_tmp6_; + if (_data_->_inner_error_ != NULL) { + g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); + g_error_free (_data_->_inner_error_); + _g_object_unref0 (_data_->listener); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + _data_->_tmp7_ = _data_->self->priv->nclients; + _data_->self->priv->nclients = _data_->_tmp7_ + 1; + _data_->_tmp8_ = _data_->c; + _data_->_tmp9_ = _g_object_ref0 (_data_->_tmp8_); + _data_->self->priv->clients = g_list_append (_data_->self->priv->clients, _data_->_tmp9_); + { + _data_->_tmp10_ = _data_->c; + _data_->_state_ = 2; + spice_ctrl_controller_handle_client (_data_->self, _data_->_tmp10_, spice_ctrl_controller_listen_ready, _data_); + return FALSE; + _state_2: + spice_ctrl_controller_handle_client_finish (_data_->self, _data_->_res_, &_data_->_inner_error_); + if (_data_->_inner_error_ != NULL) { + goto __catch2_g_error; + } + } + goto __finally2; + __catch2_g_error: + { + _data_->e = _data_->_inner_error_; + _data_->_inner_error_ = NULL; + _data_->_tmp11_ = _data_->e; + _data_->_tmp12_ = _data_->_tmp11_->message; + g_warning ("controller.vala:277: %s", _data_->_tmp12_); + _g_error_free0 (_data_->e); + } + __finally2: + if (_data_->_inner_error_ != NULL) { + g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); + g_error_free (_data_->_inner_error_); + _g_object_unref0 (_data_->c); + _g_object_unref0 (_data_->listener); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + _data_->_tmp13_ = _data_->c; + g_io_stream_close (_data_->_tmp13_, NULL, &_data_->_inner_error_); + if (_data_->_inner_error_ != NULL) { + g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); + g_error_free (_data_->_inner_error_); + _g_object_unref0 (_data_->c); + _g_object_unref0 (_data_->listener); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + _data_->_tmp14_ = _data_->c; + _data_->self->priv->clients = g_list_remove (_data_->self->priv->clients, _data_->_tmp14_); + _data_->_tmp15_ = _data_->self->priv->nclients; + _data_->self->priv->nclients = _data_->_tmp15_ - 1; + _g_object_unref0 (_data_->c); + } + } + _g_object_unref0 (_data_->listener); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; +} + + +const gchar* spice_ctrl_controller_get_host (SpiceCtrlController* self) { + const gchar* result; + const gchar* _tmp0_; + g_return_val_if_fail (self != NULL, NULL); + _tmp0_ = self->priv->_host; + result = _tmp0_; + return result; +} + + +static void spice_ctrl_controller_set_host (SpiceCtrlController* self, const gchar* value) { + const gchar* _tmp0_; + gchar* _tmp1_; + g_return_if_fail (self != NULL); + _tmp0_ = value; + _tmp1_ = g_strdup (_tmp0_); + _g_free0 (self->priv->_host); + self->priv->_host = _tmp1_; + g_object_notify ((GObject *) self, "host"); +} + + +guint32 spice_ctrl_controller_get_port (SpiceCtrlController* self) { + guint32 result; + guint32 _tmp0_; + g_return_val_if_fail (self != NULL, 0U); + _tmp0_ = self->priv->_port; + result = _tmp0_; + return result; +} + + +static void spice_ctrl_controller_set_port (SpiceCtrlController* self, guint32 value) { + guint32 _tmp0_; + g_return_if_fail (self != NULL); + _tmp0_ = value; + self->priv->_port = _tmp0_; + g_object_notify ((GObject *) self, "port"); +} + + +guint32 spice_ctrl_controller_get_sport (SpiceCtrlController* self) { + guint32 result; + guint32 _tmp0_; + g_return_val_if_fail (self != NULL, 0U); + _tmp0_ = self->priv->_sport; + result = _tmp0_; + return result; +} + + +static void spice_ctrl_controller_set_sport (SpiceCtrlController* self, guint32 value) { + guint32 _tmp0_; + g_return_if_fail (self != NULL); + _tmp0_ = value; + self->priv->_sport = _tmp0_; + g_object_notify ((GObject *) self, "sport"); +} + + +const gchar* spice_ctrl_controller_get_password (SpiceCtrlController* self) { + const gchar* result; + const gchar* _tmp0_; + g_return_val_if_fail (self != NULL, NULL); + _tmp0_ = self->priv->_password; + result = _tmp0_; + return result; +} + + +static void spice_ctrl_controller_set_password (SpiceCtrlController* self, const gchar* value) { + const gchar* _tmp0_; + gchar* _tmp1_; + g_return_if_fail (self != NULL); + _tmp0_ = value; + _tmp1_ = g_strdup (_tmp0_); + _g_free0 (self->priv->_password); + self->priv->_password = _tmp1_; + g_object_notify ((GObject *) self, "password"); +} + + +unsigned int spice_ctrl_controller_get_display_flags (SpiceCtrlController* self) { + unsigned int result; + unsigned int _tmp0_; + g_return_val_if_fail (self != NULL, 0); + _tmp0_ = self->priv->_display_flags; + result = _tmp0_; + return result; +} + + +static void spice_ctrl_controller_set_display_flags (SpiceCtrlController* self, unsigned int value) { + unsigned int _tmp0_; + g_return_if_fail (self != NULL); + _tmp0_ = value; + self->priv->_display_flags = _tmp0_; + g_object_notify ((GObject *) self, "display-flags"); +} + + +const gchar* spice_ctrl_controller_get_tls_ciphers (SpiceCtrlController* self) { + const gchar* result; + const gchar* _tmp0_; + g_return_val_if_fail (self != NULL, NULL); + _tmp0_ = self->priv->_tls_ciphers; + result = _tmp0_; + return result; +} + + +static void spice_ctrl_controller_set_tls_ciphers (SpiceCtrlController* self, const gchar* value) { + const gchar* _tmp0_; + gchar* _tmp1_; + g_return_if_fail (self != NULL); + _tmp0_ = value; + _tmp1_ = g_strdup (_tmp0_); + _g_free0 (self->priv->_tls_ciphers); + self->priv->_tls_ciphers = _tmp1_; + g_object_notify ((GObject *) self, "tls-ciphers"); +} + + +const gchar* spice_ctrl_controller_get_host_subject (SpiceCtrlController* self) { + const gchar* result; + const gchar* _tmp0_; + g_return_val_if_fail (self != NULL, NULL); + _tmp0_ = self->priv->_host_subject; + result = _tmp0_; + return result; +} + + +static void spice_ctrl_controller_set_host_subject (SpiceCtrlController* self, const gchar* value) { + const gchar* _tmp0_; + gchar* _tmp1_; + g_return_if_fail (self != NULL); + _tmp0_ = value; + _tmp1_ = g_strdup (_tmp0_); + _g_free0 (self->priv->_host_subject); + self->priv->_host_subject = _tmp1_; + g_object_notify ((GObject *) self, "host-subject"); +} + + +const gchar* spice_ctrl_controller_get_ca_file (SpiceCtrlController* self) { + const gchar* result; + const gchar* _tmp0_; + g_return_val_if_fail (self != NULL, NULL); + _tmp0_ = self->priv->_ca_file; + result = _tmp0_; + return result; +} + + +static void spice_ctrl_controller_set_ca_file (SpiceCtrlController* self, const gchar* value) { + const gchar* _tmp0_; + gchar* _tmp1_; + g_return_if_fail (self != NULL); + _tmp0_ = value; + _tmp1_ = g_strdup (_tmp0_); + _g_free0 (self->priv->_ca_file); + self->priv->_ca_file = _tmp1_; + g_object_notify ((GObject *) self, "ca-file"); +} + + +const gchar* spice_ctrl_controller_get_title (SpiceCtrlController* self) { + const gchar* result; + const gchar* _tmp0_; + g_return_val_if_fail (self != NULL, NULL); + _tmp0_ = self->priv->_title; + result = _tmp0_; + return result; +} + + +static void spice_ctrl_controller_set_title (SpiceCtrlController* self, const gchar* value) { + const gchar* _tmp0_; + gchar* _tmp1_; + g_return_if_fail (self != NULL); + _tmp0_ = value; + _tmp1_ = g_strdup (_tmp0_); + _g_free0 (self->priv->_title); + self->priv->_title = _tmp1_; + g_object_notify ((GObject *) self, "title"); +} + + +const gchar* spice_ctrl_controller_get_hotkeys (SpiceCtrlController* self) { + const gchar* result; + const gchar* _tmp0_; + g_return_val_if_fail (self != NULL, NULL); + _tmp0_ = self->priv->_hotkeys; + result = _tmp0_; + return result; +} + + +static void spice_ctrl_controller_set_hotkeys (SpiceCtrlController* self, const gchar* value) { + const gchar* _tmp0_; + gchar* _tmp1_; + g_return_if_fail (self != NULL); + _tmp0_ = value; + _tmp1_ = g_strdup (_tmp0_); + _g_free0 (self->priv->_hotkeys); + self->priv->_hotkeys = _tmp1_; + g_object_notify ((GObject *) self, "hotkeys"); +} + + +gchar** spice_ctrl_controller_get_secure_channels (SpiceCtrlController* self, int* result_length1) { + gchar** result; + gchar** _tmp0_; + gint _tmp0__length1; + gchar** _tmp1_; + gint _tmp1__length1; + g_return_val_if_fail (self != NULL, NULL); + _tmp0_ = self->priv->_secure_channels; + _tmp0__length1 = self->priv->_secure_channels_length1; + _tmp1_ = _tmp0_; + _tmp1__length1 = _tmp0__length1; + if (result_length1) { + *result_length1 = _tmp1__length1; + } + result = _tmp1_; + return result; +} + + +static gchar** _vala_array_dup3 (gchar** self, int length) { + gchar** result; + int i; + result = g_new0 (gchar*, length + 1); + for (i = 0; i < length; i++) { + gchar* _tmp0_; + _tmp0_ = g_strdup (self[i]); + result[i] = _tmp0_; + } + return result; +} + + +static void spice_ctrl_controller_set_secure_channels (SpiceCtrlController* self, gchar** value, int value_length1) { + gchar** _tmp0_; + gint _tmp0__length1; + gchar** _tmp1_; + gint _tmp1__length1; + g_return_if_fail (self != NULL); + _tmp0_ = value; + _tmp0__length1 = value_length1; + _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup3 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_); + _tmp1__length1 = _tmp0__length1; + self->priv->_secure_channels = (_vala_array_free (self->priv->_secure_channels, self->priv->_secure_channels_length1, (GDestroyNotify) g_free), NULL); + self->priv->_secure_channels = _tmp1_; + self->priv->_secure_channels_length1 = _tmp1__length1; + self->priv->__secure_channels_size_ = self->priv->_secure_channels_length1; + g_object_notify ((GObject *) self, "secure-channels"); +} + + +gchar** spice_ctrl_controller_get_disable_channels (SpiceCtrlController* self, int* result_length1) { + gchar** result; + gchar** _tmp0_; + gint _tmp0__length1; + gchar** _tmp1_; + gint _tmp1__length1; + g_return_val_if_fail (self != NULL, NULL); + _tmp0_ = self->priv->_disable_channels; + _tmp0__length1 = self->priv->_disable_channels_length1; + _tmp1_ = _tmp0_; + _tmp1__length1 = _tmp0__length1; + if (result_length1) { + *result_length1 = _tmp1__length1; + } + result = _tmp1_; + return result; +} + + +static gchar** _vala_array_dup4 (gchar** self, int length) { + gchar** result; + int i; + result = g_new0 (gchar*, length + 1); + for (i = 0; i < length; i++) { + gchar* _tmp0_; + _tmp0_ = g_strdup (self[i]); + result[i] = _tmp0_; + } + return result; +} + + +static void spice_ctrl_controller_set_disable_channels (SpiceCtrlController* self, gchar** value, int value_length1) { + gchar** _tmp0_; + gint _tmp0__length1; + gchar** _tmp1_; + gint _tmp1__length1; + g_return_if_fail (self != NULL); + _tmp0_ = value; + _tmp0__length1 = value_length1; + _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup4 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_); + _tmp1__length1 = _tmp0__length1; + self->priv->_disable_channels = (_vala_array_free (self->priv->_disable_channels, self->priv->_disable_channels_length1, (GDestroyNotify) g_free), NULL); + self->priv->_disable_channels = _tmp1_; + self->priv->_disable_channels_length1 = _tmp1__length1; + self->priv->__disable_channels_size_ = self->priv->_disable_channels_length1; + g_object_notify ((GObject *) self, "disable-channels"); +} + + +SpiceCtrlMenu* spice_ctrl_controller_get_menu (SpiceCtrlController* self) { + SpiceCtrlMenu* result; + SpiceCtrlMenu* _tmp0_; + g_return_val_if_fail (self != NULL, NULL); + _tmp0_ = self->priv->_menu; + result = _tmp0_; + return result; +} + + +static void spice_ctrl_controller_set_menu (SpiceCtrlController* self, SpiceCtrlMenu* value) { + SpiceCtrlMenu* _tmp0_; + SpiceCtrlMenu* _tmp1_; + g_return_if_fail (self != NULL); + _tmp0_ = value; + _tmp1_ = _g_object_ref0 (_tmp0_); + _g_object_unref0 (self->priv->_menu); + self->priv->_menu = _tmp1_; + g_object_notify ((GObject *) self, "menu"); +} + + +gboolean spice_ctrl_controller_get_enable_smartcard (SpiceCtrlController* self) { + gboolean result; + gboolean _tmp0_; + g_return_val_if_fail (self != NULL, FALSE); + _tmp0_ = self->priv->_enable_smartcard; + result = _tmp0_; + return result; +} + + +static void spice_ctrl_controller_set_enable_smartcard (SpiceCtrlController* self, gboolean value) { + gboolean _tmp0_; + g_return_if_fail (self != NULL); + _tmp0_ = value; + self->priv->_enable_smartcard = _tmp0_; + g_object_notify ((GObject *) self, "enable-smartcard"); +} + + +gboolean spice_ctrl_controller_get_send_cad (SpiceCtrlController* self) { + gboolean result; + gboolean _tmp0_; + g_return_val_if_fail (self != NULL, FALSE); + _tmp0_ = self->priv->_send_cad; + result = _tmp0_; + return result; +} + + +static void spice_ctrl_controller_set_send_cad (SpiceCtrlController* self, gboolean value) { + gboolean _tmp0_; + g_return_if_fail (self != NULL); + _tmp0_ = value; + self->priv->_send_cad = _tmp0_; + g_object_notify ((GObject *) self, "send-cad"); +} + + +gchar** spice_ctrl_controller_get_disable_effects (SpiceCtrlController* self, int* result_length1) { + gchar** result; + gchar** _tmp0_; + gint _tmp0__length1; + gchar** _tmp1_; + gint _tmp1__length1; + g_return_val_if_fail (self != NULL, NULL); + _tmp0_ = self->priv->_disable_effects; + _tmp0__length1 = self->priv->_disable_effects_length1; + _tmp1_ = _tmp0_; + _tmp1__length1 = _tmp0__length1; + if (result_length1) { + *result_length1 = _tmp1__length1; + } + result = _tmp1_; + return result; +} + + +static gchar** _vala_array_dup5 (gchar** self, int length) { + gchar** result; + int i; + result = g_new0 (gchar*, length + 1); + for (i = 0; i < length; i++) { + gchar* _tmp0_; + _tmp0_ = g_strdup (self[i]); + result[i] = _tmp0_; + } + return result; +} + + +static void spice_ctrl_controller_set_disable_effects (SpiceCtrlController* self, gchar** value, int value_length1) { + gchar** _tmp0_; + gint _tmp0__length1; + gchar** _tmp1_; + gint _tmp1__length1; + g_return_if_fail (self != NULL); + _tmp0_ = value; + _tmp0__length1 = value_length1; + _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup5 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_); + _tmp1__length1 = _tmp0__length1; + self->priv->_disable_effects = (_vala_array_free (self->priv->_disable_effects, self->priv->_disable_effects_length1, (GDestroyNotify) g_free), NULL); + self->priv->_disable_effects = _tmp1_; + self->priv->_disable_effects_length1 = _tmp1__length1; + self->priv->__disable_effects_size_ = self->priv->_disable_effects_length1; + g_object_notify ((GObject *) self, "disable-effects"); +} + + +guint32 spice_ctrl_controller_get_color_depth (SpiceCtrlController* self) { + guint32 result; + guint32 _tmp0_; + g_return_val_if_fail (self != NULL, 0U); + _tmp0_ = self->priv->_color_depth; + result = _tmp0_; + return result; +} + + +static void spice_ctrl_controller_set_color_depth (SpiceCtrlController* self, guint32 value) { + guint32 _tmp0_; + g_return_if_fail (self != NULL); + _tmp0_ = value; + self->priv->_color_depth = _tmp0_; + g_object_notify ((GObject *) self, "color-depth"); +} + + +gboolean spice_ctrl_controller_get_enable_usbredir (SpiceCtrlController* self) { + gboolean result; + gboolean _tmp0_; + g_return_val_if_fail (self != NULL, FALSE); + _tmp0_ = self->priv->_enable_usbredir; + result = _tmp0_; + return result; +} + + +static void spice_ctrl_controller_set_enable_usbredir (SpiceCtrlController* self, gboolean value) { + gboolean _tmp0_; + g_return_if_fail (self != NULL); + _tmp0_ = value; + self->priv->_enable_usbredir = _tmp0_; + g_object_notify ((GObject *) self, "enable-usbredir"); +} + + +gboolean spice_ctrl_controller_get_enable_usb_autoshare (SpiceCtrlController* self) { + gboolean result; + gboolean _tmp0_; + g_return_val_if_fail (self != NULL, FALSE); + _tmp0_ = self->priv->_enable_usb_autoshare; + result = _tmp0_; + return result; +} + + +static void spice_ctrl_controller_set_enable_usb_autoshare (SpiceCtrlController* self, gboolean value) { + gboolean _tmp0_; + g_return_if_fail (self != NULL); + _tmp0_ = value; + self->priv->_enable_usb_autoshare = _tmp0_; + g_object_notify ((GObject *) self, "enable-usb-autoshare"); +} + + +const gchar* spice_ctrl_controller_get_usb_filter (SpiceCtrlController* self) { + const gchar* result; + const gchar* _tmp0_; + g_return_val_if_fail (self != NULL, NULL); + _tmp0_ = self->priv->_usb_filter; + result = _tmp0_; + return result; +} + + +static void spice_ctrl_controller_set_usb_filter (SpiceCtrlController* self, const gchar* value) { + const gchar* _tmp0_; + gchar* _tmp1_; + g_return_if_fail (self != NULL); + _tmp0_ = value; + _tmp1_ = g_strdup (_tmp0_); + _g_free0 (self->priv->_usb_filter); + self->priv->_usb_filter = _tmp1_; + g_object_notify ((GObject *) self, "usb-filter"); +} + + +const gchar* spice_ctrl_controller_get_proxy (SpiceCtrlController* self) { + const gchar* result; + const gchar* _tmp0_; + g_return_val_if_fail (self != NULL, NULL); + _tmp0_ = self->priv->_proxy; + result = _tmp0_; + return result; +} + + +static void spice_ctrl_controller_set_proxy (SpiceCtrlController* self, const gchar* value) { + const gchar* _tmp0_; + gchar* _tmp1_; + g_return_if_fail (self != NULL); + _tmp0_ = value; + _tmp1_ = g_strdup (_tmp0_); + _g_free0 (self->priv->_proxy); + self->priv->_proxy = _tmp1_; + g_object_notify ((GObject *) self, "proxy"); +} + + +static void spice_ctrl_controller_class_init (SpiceCtrlControllerClass * klass) { + spice_ctrl_controller_parent_class = g_type_class_peek_parent (klass); + g_type_class_add_private (klass, sizeof (SpiceCtrlControllerPrivate)); + G_OBJECT_CLASS (klass)->get_property = _vala_spice_ctrl_controller_get_property; + G_OBJECT_CLASS (klass)->set_property = _vala_spice_ctrl_controller_set_property; + G_OBJECT_CLASS (klass)->finalize = spice_ctrl_controller_finalize; + g_object_class_install_property (G_OBJECT_CLASS (klass), SPICE_CTRL_CONTROLLER_HOST, g_param_spec_string ("host", "host", "host", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); + g_object_class_install_property (G_OBJECT_CLASS (klass), SPICE_CTRL_CONTROLLER_PORT, g_param_spec_uint ("port", "port", "port", 0, G_MAXUINT, 0U, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); + g_object_class_install_property (G_OBJECT_CLASS (klass), SPICE_CTRL_CONTROLLER_SPORT, g_param_spec_uint ("sport", "sport", "sport", 0, G_MAXUINT, 0U, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); + g_object_class_install_property (G_OBJECT_CLASS (klass), SPICE_CTRL_CONTROLLER_PASSWORD, g_param_spec_string ("password", "password", "password", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); + g_object_class_install_property (G_OBJECT_CLASS (klass), SPICE_CTRL_CONTROLLER_DISPLAY_FLAGS, g_param_spec_uint ("display-flags", "display-flags", "display-flags", 0, G_MAXUINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); + g_object_class_install_property (G_OBJECT_CLASS (klass), SPICE_CTRL_CONTROLLER_TLS_CIPHERS, g_param_spec_string ("tls-ciphers", "tls-ciphers", "tls-ciphers", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); + g_object_class_install_property (G_OBJECT_CLASS (klass), SPICE_CTRL_CONTROLLER_HOST_SUBJECT, g_param_spec_string ("host-subject", "host-subject", "host-subject", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); + g_object_class_install_property (G_OBJECT_CLASS (klass), SPICE_CTRL_CONTROLLER_CA_FILE, g_param_spec_string ("ca-file", "ca-file", "ca-file", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); + g_object_class_install_property (G_OBJECT_CLASS (klass), SPICE_CTRL_CONTROLLER_TITLE, g_param_spec_string ("title", "title", "title", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); + g_object_class_install_property (G_OBJECT_CLASS (klass), SPICE_CTRL_CONTROLLER_HOTKEYS, g_param_spec_string ("hotkeys", "hotkeys", "hotkeys", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); + g_object_class_install_property (G_OBJECT_CLASS (klass), SPICE_CTRL_CONTROLLER_SECURE_CHANNELS, g_param_spec_boxed ("secure-channels", "secure-channels", "secure-channels", G_TYPE_STRV, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); + g_object_class_install_property (G_OBJECT_CLASS (klass), SPICE_CTRL_CONTROLLER_DISABLE_CHANNELS, g_param_spec_boxed ("disable-channels", "disable-channels", "disable-channels", G_TYPE_STRV, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); + g_object_class_install_property (G_OBJECT_CLASS (klass), SPICE_CTRL_CONTROLLER_MENU, g_param_spec_object ("menu", "menu", "menu", SPICE_CTRL_TYPE_MENU, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); + g_object_class_install_property (G_OBJECT_CLASS (klass), SPICE_CTRL_CONTROLLER_ENABLE_SMARTCARD, g_param_spec_boolean ("enable-smartcard", "enable-smartcard", "enable-smartcard", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); + g_object_class_install_property (G_OBJECT_CLASS (klass), SPICE_CTRL_CONTROLLER_SEND_CAD, g_param_spec_boolean ("send-cad", "send-cad", "send-cad", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); + g_object_class_install_property (G_OBJECT_CLASS (klass), SPICE_CTRL_CONTROLLER_DISABLE_EFFECTS, g_param_spec_boxed ("disable-effects", "disable-effects", "disable-effects", G_TYPE_STRV, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); + g_object_class_install_property (G_OBJECT_CLASS (klass), SPICE_CTRL_CONTROLLER_COLOR_DEPTH, g_param_spec_uint ("color-depth", "color-depth", "color-depth", 0, G_MAXUINT, 0U, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); + g_object_class_install_property (G_OBJECT_CLASS (klass), SPICE_CTRL_CONTROLLER_ENABLE_USBREDIR, g_param_spec_boolean ("enable-usbredir", "enable-usbredir", "enable-usbredir", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); + g_object_class_install_property (G_OBJECT_CLASS (klass), SPICE_CTRL_CONTROLLER_ENABLE_USB_AUTOSHARE, g_param_spec_boolean ("enable-usb-autoshare", "enable-usb-autoshare", "enable-usb-autoshare", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); + g_object_class_install_property (G_OBJECT_CLASS (klass), SPICE_CTRL_CONTROLLER_USB_FILTER, g_param_spec_string ("usb-filter", "usb-filter", "usb-filter", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); + g_object_class_install_property (G_OBJECT_CLASS (klass), SPICE_CTRL_CONTROLLER_PROXY, g_param_spec_string ("proxy", "proxy", "proxy", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); + g_signal_new ("do_connect", SPICE_CTRL_TYPE_CONTROLLER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); + g_signal_new ("show", SPICE_CTRL_TYPE_CONTROLLER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); + g_signal_new ("hide", SPICE_CTRL_TYPE_CONTROLLER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); + g_signal_new ("client_connected", SPICE_CTRL_TYPE_CONTROLLER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); +} + + +static void spice_ctrl_controller_instance_init (SpiceCtrlController * self) { + self->priv = SPICE_CTRL_CONTROLLER_GET_PRIVATE (self); +} + + +static void spice_ctrl_controller_finalize (GObject* obj) { + SpiceCtrlController * self; + self = G_TYPE_CHECK_INSTANCE_CAST (obj, SPICE_CTRL_TYPE_CONTROLLER, SpiceCtrlController); + _g_free0 (self->priv->_host); + _g_free0 (self->priv->_password); + _g_free0 (self->priv->_tls_ciphers); + _g_free0 (self->priv->_host_subject); + _g_free0 (self->priv->_ca_file); + _g_free0 (self->priv->_title); + _g_free0 (self->priv->_hotkeys); + self->priv->_secure_channels = (_vala_array_free (self->priv->_secure_channels, self->priv->_secure_channels_length1, (GDestroyNotify) g_free), NULL); + self->priv->_disable_channels = (_vala_array_free (self->priv->_disable_channels, self->priv->_disable_channels_length1, (GDestroyNotify) g_free), NULL); + _g_object_unref0 (self->priv->_menu); + self->priv->_disable_effects = (_vala_array_free (self->priv->_disable_effects, self->priv->_disable_effects_length1, (GDestroyNotify) g_free), NULL); + _g_free0 (self->priv->_usb_filter); + _g_free0 (self->priv->_proxy); + _g_object_unref0 (self->priv->excl_connection); + __g_list_free__g_object_unref0_0 (self->priv->clients); + G_OBJECT_CLASS (spice_ctrl_controller_parent_class)->finalize (obj); +} + + +GType spice_ctrl_controller_get_type (void) { + static volatile gsize spice_ctrl_controller_type_id__volatile = 0; + if (g_once_init_enter (&spice_ctrl_controller_type_id__volatile)) { + static const GTypeInfo g_define_type_info = { sizeof (SpiceCtrlControllerClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) spice_ctrl_controller_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SpiceCtrlController), 0, (GInstanceInitFunc) spice_ctrl_controller_instance_init, NULL }; + GType spice_ctrl_controller_type_id; + spice_ctrl_controller_type_id = g_type_register_static (G_TYPE_OBJECT, "SpiceCtrlController", &g_define_type_info, 0); + g_once_init_leave (&spice_ctrl_controller_type_id__volatile, spice_ctrl_controller_type_id); + } + return spice_ctrl_controller_type_id__volatile; +} + + +static void _vala_spice_ctrl_controller_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { + SpiceCtrlController * self; + self = G_TYPE_CHECK_INSTANCE_CAST (object, SPICE_CTRL_TYPE_CONTROLLER, SpiceCtrlController); + switch (property_id) { + case SPICE_CTRL_CONTROLLER_HOST: + g_value_set_string (value, spice_ctrl_controller_get_host (self)); + break; + case SPICE_CTRL_CONTROLLER_PORT: + g_value_set_uint (value, spice_ctrl_controller_get_port (self)); + break; + case SPICE_CTRL_CONTROLLER_SPORT: + g_value_set_uint (value, spice_ctrl_controller_get_sport (self)); + break; + case SPICE_CTRL_CONTROLLER_PASSWORD: + g_value_set_string (value, spice_ctrl_controller_get_password (self)); + break; + case SPICE_CTRL_CONTROLLER_DISPLAY_FLAGS: + g_value_set_uint (value, spice_ctrl_controller_get_display_flags (self)); + break; + case SPICE_CTRL_CONTROLLER_TLS_CIPHERS: + g_value_set_string (value, spice_ctrl_controller_get_tls_ciphers (self)); + break; + case SPICE_CTRL_CONTROLLER_HOST_SUBJECT: + g_value_set_string (value, spice_ctrl_controller_get_host_subject (self)); + break; + case SPICE_CTRL_CONTROLLER_CA_FILE: + g_value_set_string (value, spice_ctrl_controller_get_ca_file (self)); + break; + case SPICE_CTRL_CONTROLLER_TITLE: + g_value_set_string (value, spice_ctrl_controller_get_title (self)); + break; + case SPICE_CTRL_CONTROLLER_HOTKEYS: + g_value_set_string (value, spice_ctrl_controller_get_hotkeys (self)); + break; + case SPICE_CTRL_CONTROLLER_SECURE_CHANNELS: + { + int length; + g_value_set_boxed (value, spice_ctrl_controller_get_secure_channels (self, &length)); + } + break; + case SPICE_CTRL_CONTROLLER_DISABLE_CHANNELS: + { + int length; + g_value_set_boxed (value, spice_ctrl_controller_get_disable_channels (self, &length)); + } + break; + case SPICE_CTRL_CONTROLLER_MENU: + g_value_set_object (value, spice_ctrl_controller_get_menu (self)); + break; + case SPICE_CTRL_CONTROLLER_ENABLE_SMARTCARD: + g_value_set_boolean (value, spice_ctrl_controller_get_enable_smartcard (self)); + break; + case SPICE_CTRL_CONTROLLER_SEND_CAD: + g_value_set_boolean (value, spice_ctrl_controller_get_send_cad (self)); + break; + case SPICE_CTRL_CONTROLLER_DISABLE_EFFECTS: + { + int length; + g_value_set_boxed (value, spice_ctrl_controller_get_disable_effects (self, &length)); + } + break; + case SPICE_CTRL_CONTROLLER_COLOR_DEPTH: + g_value_set_uint (value, spice_ctrl_controller_get_color_depth (self)); + break; + case SPICE_CTRL_CONTROLLER_ENABLE_USBREDIR: + g_value_set_boolean (value, spice_ctrl_controller_get_enable_usbredir (self)); + break; + case SPICE_CTRL_CONTROLLER_ENABLE_USB_AUTOSHARE: + g_value_set_boolean (value, spice_ctrl_controller_get_enable_usb_autoshare (self)); + break; + case SPICE_CTRL_CONTROLLER_USB_FILTER: + g_value_set_string (value, spice_ctrl_controller_get_usb_filter (self)); + break; + case SPICE_CTRL_CONTROLLER_PROXY: + g_value_set_string (value, spice_ctrl_controller_get_proxy (self)); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); + break; + } +} + + +static void _vala_spice_ctrl_controller_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { + SpiceCtrlController * self; + self = G_TYPE_CHECK_INSTANCE_CAST (object, SPICE_CTRL_TYPE_CONTROLLER, SpiceCtrlController); + switch (property_id) { + case SPICE_CTRL_CONTROLLER_HOST: + spice_ctrl_controller_set_host (self, g_value_get_string (value)); + break; + case SPICE_CTRL_CONTROLLER_PORT: + spice_ctrl_controller_set_port (self, g_value_get_uint (value)); + break; + case SPICE_CTRL_CONTROLLER_SPORT: + spice_ctrl_controller_set_sport (self, g_value_get_uint (value)); + break; + case SPICE_CTRL_CONTROLLER_PASSWORD: + spice_ctrl_controller_set_password (self, g_value_get_string (value)); + break; + case SPICE_CTRL_CONTROLLER_DISPLAY_FLAGS: + spice_ctrl_controller_set_display_flags (self, g_value_get_uint (value)); + break; + case SPICE_CTRL_CONTROLLER_TLS_CIPHERS: + spice_ctrl_controller_set_tls_ciphers (self, g_value_get_string (value)); + break; + case SPICE_CTRL_CONTROLLER_HOST_SUBJECT: + spice_ctrl_controller_set_host_subject (self, g_value_get_string (value)); + break; + case SPICE_CTRL_CONTROLLER_CA_FILE: + spice_ctrl_controller_set_ca_file (self, g_value_get_string (value)); + break; + case SPICE_CTRL_CONTROLLER_TITLE: + spice_ctrl_controller_set_title (self, g_value_get_string (value)); + break; + case SPICE_CTRL_CONTROLLER_HOTKEYS: + spice_ctrl_controller_set_hotkeys (self, g_value_get_string (value)); + break; + case SPICE_CTRL_CONTROLLER_SECURE_CHANNELS: + { + gpointer boxed; + boxed = g_value_get_boxed (value); + spice_ctrl_controller_set_secure_channels (self, boxed, g_strv_length (boxed)); + } + break; + case SPICE_CTRL_CONTROLLER_DISABLE_CHANNELS: + { + gpointer boxed; + boxed = g_value_get_boxed (value); + spice_ctrl_controller_set_disable_channels (self, boxed, g_strv_length (boxed)); + } + break; + case SPICE_CTRL_CONTROLLER_MENU: + spice_ctrl_controller_set_menu (self, g_value_get_object (value)); + break; + case SPICE_CTRL_CONTROLLER_ENABLE_SMARTCARD: + spice_ctrl_controller_set_enable_smartcard (self, g_value_get_boolean (value)); + break; + case SPICE_CTRL_CONTROLLER_SEND_CAD: + spice_ctrl_controller_set_send_cad (self, g_value_get_boolean (value)); + break; + case SPICE_CTRL_CONTROLLER_DISABLE_EFFECTS: + { + gpointer boxed; + boxed = g_value_get_boxed (value); + spice_ctrl_controller_set_disable_effects (self, boxed, g_strv_length (boxed)); + } + break; + case SPICE_CTRL_CONTROLLER_COLOR_DEPTH: + spice_ctrl_controller_set_color_depth (self, g_value_get_uint (value)); + break; + case SPICE_CTRL_CONTROLLER_ENABLE_USBREDIR: + spice_ctrl_controller_set_enable_usbredir (self, g_value_get_boolean (value)); + break; + case SPICE_CTRL_CONTROLLER_ENABLE_USB_AUTOSHARE: + spice_ctrl_controller_set_enable_usb_autoshare (self, g_value_get_boolean (value)); + break; + case SPICE_CTRL_CONTROLLER_USB_FILTER: + spice_ctrl_controller_set_usb_filter (self, g_value_get_string (value)); + break; + case SPICE_CTRL_CONTROLLER_PROXY: + spice_ctrl_controller_set_proxy (self, g_value_get_string (value)); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); + break; + } +} + + +static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { + if ((array != NULL) && (destroy_func != NULL)) { + int i; + for (i = 0; i < array_length; i = i + 1) { + if (((gpointer*) array)[i] != NULL) { + destroy_func (((gpointer*) array)[i]); + } + } + } +} + + +static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { + _vala_array_destroy (array, array_length, destroy_func); + g_free (array); +} + + +static gint _vala_array_length (gpointer array) { + int length; + length = 0; + if (array) { + while (((gpointer*) array)[length]) { + length++; + } + } + return length; +} + + + diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/controller.vala b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/controller.vala new file mode 100644 index 0000000..84b4527 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/controller.vala @@ -0,0 +1,286 @@ +// Copyright (C) 2011 Red Hat, Inc. + +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. + +// This library 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 +// Lesser General Public License for more details. + +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, see . + +using GLib; +using Custom; +using Win32; +using Spice; +using SpiceProtocol; + +namespace SpiceCtrl { + +public errordomain Error { + VALUE, +} + +public class Controller: Object { + public string host { private set; get; } + public uint32 port { private set; get; } + public uint32 sport { private set; get; } + public string password { private set; get; } + public SpiceProtocol.Controller.Display display_flags { private set; get; } + public string tls_ciphers { private set; get; } + public string host_subject { private set; get; } + public string ca_file { private set; get; } + public string title { private set; get; } + public string hotkeys { private set; get; } + public string[] secure_channels { private set; get; } + public string[] disable_channels { private set; get; } + public SpiceCtrl.Menu? menu { private set; get; } + public bool enable_smartcard { private set; get; } + public bool send_cad { private set; get; } + public string[] disable_effects {private set; get; } + public uint32 color_depth {private set; get; } + public bool enable_usbredir { private set; get; } + public bool enable_usb_autoshare { private set; get; } + public string usb_filter { private set; get; } + public string proxy { private set; get; } + + public signal void do_connect (); + public signal void show (); + public signal void hide (); + + public signal void client_connected (); + + public void menu_item_click_msg (int32 item_id) { + var msg = SpiceProtocol.Controller.MsgValue (); + msg.base.size = (uint32)sizeof (SpiceProtocol.Controller.MsgValue); + msg.base.id = SpiceProtocol.Controller.MsgId.MENU_ITEM_CLICK; + msg.value = item_id; + unowned uint8[] p = ((uint8[])(&msg))[0:msg.base.size]; + send_msg.begin (p); + } + + public async bool send_msg (uint8[] p) throws GLib.Error { + // vala FIXME: pass Controller.Msg instead + // vala doesn't keep reference on the struct in async methods + // it copies only base, which is not enough to transmit the whole + // message. + try { + if (excl_connection != null) { + yield output_stream_write (excl_connection.output_stream, p); + } else { + foreach (var c in clients) + yield output_stream_write (c.output_stream, p); + } + } catch (GLib.Error e) { + warning (e.message); + } + + return true; + } + + private GLib.IOStream? excl_connection; + private int nclients; + List clients; + + private bool handle_message (SpiceProtocol.Controller.Msg* msg) { + var v = (SpiceProtocol.Controller.MsgValue*)(msg); + var d = (SpiceProtocol.Controller.MsgData*)(msg); + unowned string str = (string)(&d.data); + + switch (msg.id) { + case SpiceProtocol.Controller.MsgId.HOST: + host = str; + debug ("got HOST: %s".printf (str)); + break; + case SpiceProtocol.Controller.MsgId.PORT: + port = v.value; + debug ("got PORT: %u".printf (port)); + break; + case SpiceProtocol.Controller.MsgId.SPORT: + sport = v.value; + debug ("got SPORT: %u".printf (sport)); + break; + case SpiceProtocol.Controller.MsgId.PASSWORD: + password = str; + debug ("got PASSWORD"); + break; + + case SpiceProtocol.Controller.MsgId.SECURE_CHANNELS: + secure_channels = str.split(","); + debug ("got SECURE_CHANNELS %s".printf (str)); + break; + + case SpiceProtocol.Controller.MsgId.DISABLE_CHANNELS: + disable_channels = str.split(","); + debug ("got DISABLE_CHANNELS %s".printf (str)); + break; + + case SpiceProtocol.Controller.MsgId.TLS_CIPHERS: + tls_ciphers = str; + debug ("got TLS_CIPHERS %s".printf (str)); + break; + case SpiceProtocol.Controller.MsgId.CA_FILE: + ca_file = str; + debug ("got CA_FILE %s".printf (str)); + break; + case SpiceProtocol.Controller.MsgId.HOST_SUBJECT: + host_subject = str; + debug ("got HOST_SUBJECT %s".printf (str)); + break; + + case SpiceProtocol.Controller.MsgId.FULL_SCREEN: + display_flags = (SpiceProtocol.Controller.Display)v.value; + debug ("got FULL_SCREEN 0x%x".printf (v.value)); + break; + case SpiceProtocol.Controller.MsgId.SET_TITLE: + title = str; + debug ("got TITLE %s".printf (str)); + break; + case SpiceProtocol.Controller.MsgId.ENABLE_SMARTCARD: + enable_smartcard = (bool)v.value; + debug ("got ENABLE_SMARTCARD 0x%x".printf (v.value)); + break; + + case SpiceProtocol.Controller.MsgId.CREATE_MENU: + menu = new SpiceCtrl.Menu.from_string (str); + debug ("got CREATE_MENU %s".printf (str)); + break; + case SpiceProtocol.Controller.MsgId.DELETE_MENU: + menu = null; + debug ("got DELETE_MENU request"); + break; + + case SpiceProtocol.Controller.MsgId.SEND_CAD: + send_cad = (bool)v.value; + debug ("got SEND_CAD %u".printf (v.value)); + break; + + case SpiceProtocol.Controller.MsgId.HOTKEYS: + hotkeys = str; + debug ("got HOTKEYS %s".printf (str)); + break; + + case SpiceProtocol.Controller.MsgId.COLOR_DEPTH: + color_depth = v.value; + debug ("got COLOR_DEPTH %u".printf (v.value)); + break; + case SpiceProtocol.Controller.MsgId.DISABLE_EFFECTS: + disable_effects = str.split(","); + debug ("got DISABLE_EFFECTS %s".printf (str)); + break; + + case SpiceProtocol.Controller.MsgId.CONNECT: + do_connect (); + debug ("got CONNECT request"); + break; + case SpiceProtocol.Controller.MsgId.SHOW: + show (); + debug ("got SHOW request"); + break; + case SpiceProtocol.Controller.MsgId.HIDE: + hide (); + debug ("got HIDE request"); + break; + case SpiceProtocol.Controller.MsgId.ENABLE_USB: + enable_usbredir = (bool)v.value; + debug ("got ENABLE_USB %u".printf (v.value)); + break; + case SpiceProtocol.Controller.MsgId.ENABLE_USB_AUTOSHARE: + enable_usb_autoshare = (bool)v.value; + debug ("got ENABLE_USB_AUTOSHARE %u".printf (v.value)); + break; + case SpiceProtocol.Controller.MsgId.USB_FILTER: + usb_filter = str; + debug ("got USB_FILTER %s".printf (str)); + break; + case SpiceProtocol.Controller.MsgId.PROXY: + proxy = str; + debug ("got PROXY %s".printf (str)); + break; + default: + debug ("got unknown msg.id %u".printf (msg.id)); + warn_if_reached (); + return false; + } + return true; + } + + private async void handle_client (IOStream c) throws GLib.Error { + var excl = false; + + debug ("new socket client, reading init header"); + + var p = new uint8[sizeof(SpiceProtocol.Controller.Init)]; + var init = (SpiceProtocol.Controller.Init*)p; + yield input_stream_read (c.input_stream, p); + if (warn_if (init.base.magic != SpiceProtocol.Controller.MAGIC)) + return; + if (warn_if (init.base.version != SpiceProtocol.Controller.VERSION)) + return; + if (warn_if (init.base.size < sizeof (SpiceProtocol.Controller.Init))) + return; + if (warn_if (init.credentials != 0)) + return; + if (warn_if (excl_connection != null)) + return; + + excl = (bool)(init.flags & SpiceProtocol.Controller.Flag.EXCLUSIVE); + if (excl) { + if (nclients > 1) { + warning (@"Can't make the client exclusive, there is already $nclients connected clients"); + return; + } + excl_connection = c; + } + + client_connected (); + + for (;;) { + var t = new uint8[sizeof(SpiceProtocol.Controller.Msg)]; + yield input_stream_read (c.input_stream, t); + var msg = (SpiceProtocol.Controller.Msg*)t; + debug ("new message " + msg.id.to_string () + "size " + msg.size.to_string ()); + if (warn_if (msg.size < sizeof (SpiceProtocol.Controller.Msg))) + break; + + if (msg.size > sizeof (SpiceProtocol.Controller.Msg)) { + t.resize ((int)msg.size); + msg = (SpiceProtocol.Controller.Msg*)t; + yield input_stream_read (c.input_stream, t[sizeof(SpiceProtocol.Controller.Msg):msg.size]); + } + + handle_message (msg); + } + + if (excl) + excl_connection = null; + } + + public Controller() { + } + + public async void listen (string? addr = null) throws GLib.Error, SpiceCtrl.Error + { + var listener = ControllerListener.new_listener (addr); + + for (;;) { + var c = yield listener.accept_async (); + nclients += 1; + clients.append (c); + try { + yield handle_client (c); + } catch (GLib.Error e) { + warning (e.message); + } + c.close (); + clients.remove (c); + nclients -= 1; + } + } +} + +} // SpiceCtrl diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/controller.vala.stamp b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/controller.vala.stamp new file mode 100644 index 0000000..e69de29 diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/custom.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/custom.h new file mode 100644 index 0000000..7f849fc --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/custom.h @@ -0,0 +1,22 @@ +#ifndef CUSTOM_H_ +#define CUSTOM_H_ + +#include + +static inline gboolean g_warn_if_expr (gboolean condition, + const char *pretty_func, + const char *expression) { + if G_UNLIKELY(condition) { + g_log (G_LOG_DOMAIN, + G_LOG_LEVEL_CRITICAL, + "%s: `%s' condition reached", + pretty_func, + expression); + } + + return condition; +} + +#define g_warn_if(expr) g_warn_if_expr((expr), __PRETTY_FUNCTION__, #expr) + +#endif diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/custom.vapi b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/custom.vapi new file mode 100644 index 0000000..a12fdec --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/custom.vapi @@ -0,0 +1,28 @@ +using GLib; + +namespace Custom { + + [CCode (cname = "g_warn_if", cheader_filename = "custom.h")] + public bool warn_if(bool condition); +} + +namespace Spice { + + [CCode (cname = "GObject", ref_function = "g_object_ref", unref_function = "g_object_unref", free_function = "")] + class ControllerListener { + [CCode (cname = "spice_controller_listener_new", cheader_filename = "spice-controller-listener.h")] + public static ControllerListener new_listener (string addr) throws GLib.Error; + + [CCode (cname = "spice_controller_listener_accept_async", cheader_filename = "spice-controller-listener.h")] + public async unowned GLib.IOStream accept_async (GLib.Cancellable? cancellable = null, out GLib.Object? source_object = null) throws GLib.Error; + } + + [CCode (cname = "GObject", ref_function = "g_object_ref", unref_function = "g_object_unref", free_function = "")] + class ForeignMenuListener { + [CCode (cname = "spice_foreign_menu_listener_new", cheader_filename = "spice-foreign-menu-listener.h")] + public static ForeignMenuListener new_listener (string addr) throws GLib.Error; + + [CCode (cname = "spice_foreign_menu_listener_accept_async", cheader_filename = "spice-foreign-menu-listener.h")] + public async unowned GLib.IOStream accept_async (GLib.Cancellable? cancellable = null, out GLib.Object? source_object = null) throws GLib.Error; + } +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/dump.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/dump.c new file mode 100644 index 0000000..4fcfe58 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/dump.c @@ -0,0 +1,119 @@ +/* Copyright (C) 2011 Red Hat, Inc. */ + +/* This library is free software; you can redistribute it and/or */ +/* modify it under the terms of the GNU Lesser General Public */ +/* License as published by the Free Software Foundation; either */ +/* version 2.1 of the License, or (at your option) any later version. */ + +/* This library 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 */ +/* Lesser General Public License for more details. */ + +/* You should have received a copy of the GNU Lesser General Public */ +/* License along with this library; if not, see . */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include +#include + +#ifdef WIN32 +#include +#else +#include +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#include +#include +#include +#include +#include +#endif + +#include "spice-controller.h" + +SpiceCtrlController *ctrl = NULL; +SpiceCtrlForeignMenu *menu = NULL; +GMainLoop *loop = NULL; + +void signaled (GObject *gobject, const gchar *signal_name) +{ + g_message ("signaled: %s", signal_name); +} + +void notified (GObject *gobject, GParamSpec *pspec, + gpointer user_data) +{ + GValue value = { 0, }; + GValue strvalue = { 0, }; + + g_return_if_fail (gobject != NULL); + g_return_if_fail (pspec != NULL); + + g_value_init (&value, pspec->value_type); + g_value_init (&strvalue, G_TYPE_STRING); + g_object_get_property (gobject, pspec->name, &value); + + if (pspec->value_type == G_TYPE_STRV) { + gchar** p = (gchar **)g_value_get_boxed (&value); + g_message ("notify::%s == ", pspec->name); + while (*p) + g_message ("%s", *p++); + } else if (G_TYPE_IS_OBJECT(pspec->value_type)) { + GObject *o = g_value_get_object (&value); + g_message ("notify::%s == %s", pspec->name, o ? G_OBJECT_TYPE_NAME (o) : "null"); + } else { + g_value_transform (&value, &strvalue); + g_message ("notify::%s = %s", pspec->name, g_value_get_string (&strvalue)); + } + + g_value_unset (&value); + g_value_unset (&strvalue); +} + +void connect_signals (gpointer obj) +{ + guint i, n_ids = 0; + guint *ids = NULL; + GType type = G_OBJECT_TYPE (obj); + + ids = g_signal_list_ids (type, &n_ids); + for (i = 0; i < n_ids; i++) { + const gchar *name = g_signal_name (ids[i]); + g_signal_connect (obj, name, G_CALLBACK (signaled), (gpointer)name); + } +} + +int main (int argc, char *argv[]) +{ + g_type_init (); + loop = g_main_loop_new (NULL, FALSE); + + if (argc > 1 && g_str_equal(argv[1], "--menu")) { + menu = spice_ctrl_foreign_menu_new (); + g_signal_connect (menu, "notify", G_CALLBACK (notified), NULL); + connect_signals (menu); + + spice_ctrl_foreign_menu_listen (menu, NULL, NULL, NULL); + } else { + ctrl = spice_ctrl_controller_new (); + g_signal_connect (ctrl, "notify", G_CALLBACK (notified), NULL); + connect_signals (ctrl); + + spice_ctrl_controller_listen (ctrl, NULL, NULL, NULL); + } + + g_main_loop_run (loop); + + if (ctrl != NULL) + g_object_unref (ctrl); + if (menu != NULL) + g_object_unref (menu); + + return 0; +} + diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/foreign-menu.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/foreign-menu.c new file mode 100644 index 0000000..b00d23c --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/foreign-menu.c @@ -0,0 +1,1402 @@ +/* foreign-menu.c generated by valac 0.20.0, the Vala compiler + * generated from foreign-menu.vala, do not modify */ + +/* Copyright (C) 2012 Red Hat, Inc.*/ +/* This library is free software; you can redistribute it and/or*/ +/* modify it under the terms of the GNU Lesser General Public*/ +/* License as published by the Free Software Foundation; either*/ +/* version 2.1 of the License, or (at your option) any later version.*/ +/* This library 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*/ +/* Lesser General Public License for more details.*/ +/* You should have received a copy of the GNU Lesser General Public*/ +/* License along with this library; if not, see .*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +#define SPICE_CTRL_TYPE_FOREIGN_MENU (spice_ctrl_foreign_menu_get_type ()) +#define SPICE_CTRL_FOREIGN_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPICE_CTRL_TYPE_FOREIGN_MENU, SpiceCtrlForeignMenu)) +#define SPICE_CTRL_FOREIGN_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SPICE_CTRL_TYPE_FOREIGN_MENU, SpiceCtrlForeignMenuClass)) +#define SPICE_CTRL_IS_FOREIGN_MENU(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPICE_CTRL_TYPE_FOREIGN_MENU)) +#define SPICE_CTRL_IS_FOREIGN_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPICE_CTRL_TYPE_FOREIGN_MENU)) +#define SPICE_CTRL_FOREIGN_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPICE_CTRL_TYPE_FOREIGN_MENU, SpiceCtrlForeignMenuClass)) + +typedef struct _SpiceCtrlForeignMenu SpiceCtrlForeignMenu; +typedef struct _SpiceCtrlForeignMenuClass SpiceCtrlForeignMenuClass; +typedef struct _SpiceCtrlForeignMenuPrivate SpiceCtrlForeignMenuPrivate; + +#define SPICE_CTRL_TYPE_MENU (spice_ctrl_menu_get_type ()) +#define SPICE_CTRL_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPICE_CTRL_TYPE_MENU, SpiceCtrlMenu)) +#define SPICE_CTRL_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SPICE_CTRL_TYPE_MENU, SpiceCtrlMenuClass)) +#define SPICE_CTRL_IS_MENU(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPICE_CTRL_TYPE_MENU)) +#define SPICE_CTRL_IS_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPICE_CTRL_TYPE_MENU)) +#define SPICE_CTRL_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPICE_CTRL_TYPE_MENU, SpiceCtrlMenuClass)) + +typedef struct _SpiceCtrlMenu SpiceCtrlMenu; +typedef struct _SpiceCtrlMenuClass SpiceCtrlMenuClass; +#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) +#define _g_free0(var) (var = (g_free (var), NULL)) +#define __g_list_free__g_object_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__g_object_unref0_ (var), NULL))) +#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) +typedef struct _SpiceCtrlForeignMenuSendMsgData SpiceCtrlForeignMenuSendMsgData; +typedef struct _SpiceCtrlMenuPrivate SpiceCtrlMenuPrivate; + +#define SPICE_CTRL_TYPE_MENU_ITEM (spice_ctrl_menu_item_get_type ()) +#define SPICE_CTRL_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPICE_CTRL_TYPE_MENU_ITEM, SpiceCtrlMenuItem)) +#define SPICE_CTRL_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SPICE_CTRL_TYPE_MENU_ITEM, SpiceCtrlMenuItemClass)) +#define SPICE_CTRL_IS_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPICE_CTRL_TYPE_MENU_ITEM)) +#define SPICE_CTRL_IS_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPICE_CTRL_TYPE_MENU_ITEM)) +#define SPICE_CTRL_MENU_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPICE_CTRL_TYPE_MENU_ITEM, SpiceCtrlMenuItemClass)) + +typedef struct _SpiceCtrlMenuItem SpiceCtrlMenuItem; +typedef struct _SpiceCtrlMenuItemClass SpiceCtrlMenuItemClass; +typedef struct _SpiceCtrlForeignMenuHandleClientData SpiceCtrlForeignMenuHandleClientData; +typedef struct _SpiceCtrlForeignMenuListenData SpiceCtrlForeignMenuListenData; + +struct _SpiceCtrlForeignMenu { + GObject parent_instance; + SpiceCtrlForeignMenuPrivate * priv; +}; + +struct _SpiceCtrlForeignMenuClass { + GObjectClass parent_class; +}; + +struct _SpiceCtrlForeignMenuPrivate { + SpiceCtrlMenu* _menu; + gchar* _title; + gint nclients; + GList* clients; +}; + +struct _SpiceCtrlForeignMenuSendMsgData { + int _state_; + GObject* _source_object_; + GAsyncResult* _res_; + GSimpleAsyncResult* _async_result; + SpiceCtrlForeignMenu* self; + guint8* p; + gint p_length1; + gboolean result; + GList* _tmp0_; + GList* c_collection; + GList* c_it; + GIOStream* _tmp1_; + GIOStream* c; + GIOStream* _tmp2_; + GOutputStream* _tmp3_; + GOutputStream* _tmp4_; + guint8* _tmp5_; + gint _tmp5__length1; + guint8* _tmp6_; + gint _tmp6__length1; + GError* e; + GError* _tmp7_; + const gchar* _tmp8_; + GError * _inner_error_; +}; + +struct _SpiceCtrlMenu { + GObject parent_instance; + SpiceCtrlMenuPrivate * priv; + GList* items; +}; + +struct _SpiceCtrlMenuClass { + GObjectClass parent_class; +}; + +struct _SpiceCtrlForeignMenuHandleClientData { + int _state_; + GObject* _source_object_; + GAsyncResult* _res_; + GSimpleAsyncResult* _async_result; + SpiceCtrlForeignMenu* self; + GIOStream* c; + guint8* _tmp0_; + guint8* p; + gint p_length1; + gint _p_size_; + guint8* _tmp1_; + gint _tmp1__length1; + FrgMenuInitHeader* header; + GIOStream* _tmp2_; + GInputStream* _tmp3_; + GInputStream* _tmp4_; + guint8* _tmp5_; + gint _tmp5__length1; + FrgMenuInitHeader* _tmp6_; + guint32 _tmp7_; + gboolean _tmp8_; + FrgMenuInitHeader* _tmp9_; + guint32 _tmp10_; + gboolean _tmp11_; + FrgMenuInitHeader* _tmp12_; + guint32 _tmp13_; + gboolean _tmp14_; + guint8* _tmp15_; + guint8* cp; + gint cp_length1; + gint _cp_size_; + GIOStream* _tmp16_; + GInputStream* _tmp17_; + GInputStream* _tmp18_; + guint8* _tmp19_; + gint _tmp19__length1; + guint8* _tmp20_; + gint _tmp20__length1; + guint64 credentials; + guint64 _tmp21_; + gboolean _tmp22_; + FrgMenuInitHeader* _tmp23_; + guint32 _tmp24_; + gulong title_size; + gulong _tmp25_; + guint8* _tmp26_; + guint8* title; + gint title_length1; + gint _title_size_; + GIOStream* _tmp27_; + GInputStream* _tmp28_; + GInputStream* _tmp29_; + guint8* _tmp30_; + gint _tmp30__length1; + gulong _tmp31_; + guint8* _tmp32_; + gint _tmp32__length1; + gboolean _tmp33_; + gboolean _tmp34_; + guint8* _tmp35_; + guint8* t; + gint t_length1; + gint _t_size_; + GIOStream* _tmp36_; + GInputStream* _tmp37_; + GInputStream* _tmp38_; + guint8* _tmp39_; + gint _tmp39__length1; + guint8* _tmp40_; + gint _tmp40__length1; + FrgMenuMsg* msg; + FrgMenuMsg* _tmp41_; + guint32 _tmp42_; + gchar* _tmp43_; + gchar* _tmp44_; + gchar* _tmp45_; + gchar* _tmp46_; + gchar* _tmp47_; + gchar* _tmp48_; + FrgMenuMsg* _tmp49_; + guint32 _tmp50_; + gchar* _tmp51_; + gchar* _tmp52_; + gchar* _tmp53_; + gchar* _tmp54_; + FrgMenuMsg* _tmp55_; + guint32 _tmp56_; + gboolean _tmp57_; + FrgMenuMsg* _tmp58_; + guint32 _tmp59_; + FrgMenuMsg* _tmp60_; + guint32 _tmp61_; + gint _tmp62_; + guint8* _tmp63_; + gint _tmp63__length1; + GIOStream* _tmp64_; + GInputStream* _tmp65_; + GInputStream* _tmp66_; + guint8* _tmp67_; + gint _tmp67__length1; + FrgMenuMsg* _tmp68_; + guint32 _tmp69_; + FrgMenuMsg* _tmp70_; + GError * _inner_error_; +}; + +typedef enum { + SPICE_CTRL_ERROR_VALUE +} SpiceCtrlError; +#define SPICE_CTRL_ERROR spice_ctrl_error_quark () +struct _SpiceCtrlForeignMenuListenData { + int _state_; + GObject* _source_object_; + GAsyncResult* _res_; + GSimpleAsyncResult* _async_result; + SpiceCtrlForeignMenu* self; + gchar* addr; + const gchar* _tmp0_; + GObject* _tmp1_; + GObject* listener; + gboolean _tmp2_; + gboolean _tmp3_; + GObject* _tmp4_; + GIOStream* _tmp5_; + GIOStream* _tmp6_; + GIOStream* c; + gint _tmp7_; + GIOStream* _tmp8_; + GIOStream* _tmp9_; + GIOStream* _tmp10_; + GError* e; + GError* _tmp11_; + const gchar* _tmp12_; + GIOStream* _tmp13_; + GIOStream* _tmp14_; + gint _tmp15_; + GError * _inner_error_; +}; + + +static gpointer spice_ctrl_foreign_menu_parent_class = NULL; + +GType spice_ctrl_foreign_menu_get_type (void) G_GNUC_CONST; +GType spice_ctrl_menu_get_type (void) G_GNUC_CONST; +#define SPICE_CTRL_FOREIGN_MENU_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), SPICE_CTRL_TYPE_FOREIGN_MENU, SpiceCtrlForeignMenuPrivate)) +enum { + SPICE_CTRL_FOREIGN_MENU_DUMMY_PROPERTY, + SPICE_CTRL_FOREIGN_MENU_MENU, + SPICE_CTRL_FOREIGN_MENU_TITLE +}; +static void _g_object_unref0_ (gpointer var); +static void _g_list_free__g_object_unref0_ (GList* self); +SpiceCtrlForeignMenu* spice_ctrl_foreign_menu_new (void); +SpiceCtrlForeignMenu* spice_ctrl_foreign_menu_construct (GType object_type); +SpiceCtrlMenu* spice_ctrl_menu_new (void); +SpiceCtrlMenu* spice_ctrl_menu_construct (GType object_type); +static void spice_ctrl_foreign_menu_set_menu (SpiceCtrlForeignMenu* self, SpiceCtrlMenu* value); +void spice_ctrl_foreign_menu_menu_item_click_msg (SpiceCtrlForeignMenu* self, gint32 item_id); +void spice_ctrl_foreign_menu_send_msg (SpiceCtrlForeignMenu* self, guint8* p, int p_length1, GAsyncReadyCallback _callback_, gpointer _user_data_); +gboolean spice_ctrl_foreign_menu_send_msg_finish (SpiceCtrlForeignMenu* self, GAsyncResult* _res_, GError** error); +static guint8* _vala_array_dup6 (guint8* self, int length); +void spice_ctrl_foreign_menu_menu_item_checked_msg (SpiceCtrlForeignMenu* self, gint32 item_id, gboolean checked); +static guint8* _vala_array_dup7 (guint8* self, int length); +void spice_ctrl_foreign_menu_app_activated_msg (SpiceCtrlForeignMenu* self, gboolean activated); +static guint8* _vala_array_dup8 (guint8* self, int length); +static void spice_ctrl_foreign_menu_send_msg_data_free (gpointer _data); +static gboolean spice_ctrl_foreign_menu_send_msg_co (SpiceCtrlForeignMenuSendMsgData* _data_); +void spice_ctrl_output_stream_write (GOutputStream* stream, guint8* buffer, int buffer_length1, GAsyncReadyCallback _callback_, gpointer _user_data_); +void spice_ctrl_output_stream_write_finish (GAsyncResult* _res_, GError** error); +static guint8* _vala_array_dup9 (guint8* self, int length); +static void spice_ctrl_foreign_menu_send_msg_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_); +static unsigned int spice_ctrl_foreign_menu_get_menu_flags (SpiceCtrlForeignMenu* self, guint32 type); +static gboolean spice_ctrl_foreign_menu_handle_message (SpiceCtrlForeignMenu* self, FrgMenuMsg* msg); +static void spice_ctrl_foreign_menu_set_title (SpiceCtrlForeignMenu* self, const gchar* value); +SpiceCtrlMenu* spice_ctrl_foreign_menu_get_menu (SpiceCtrlForeignMenu* self); +GType spice_ctrl_menu_item_get_type (void) G_GNUC_CONST; +SpiceCtrlMenuItem* spice_ctrl_menu_item_new (gint id, const gchar* text, unsigned int flags); +SpiceCtrlMenuItem* spice_ctrl_menu_item_construct (GType object_type, gint id, const gchar* text, unsigned int flags); +static void spice_ctrl_foreign_menu_handle_client_data_free (gpointer _data); +static void spice_ctrl_foreign_menu_handle_client (SpiceCtrlForeignMenu* self, GIOStream* c, GAsyncReadyCallback _callback_, gpointer _user_data_); +static void spice_ctrl_foreign_menu_handle_client_finish (SpiceCtrlForeignMenu* self, GAsyncResult* _res_, GError** error); +static gboolean spice_ctrl_foreign_menu_handle_client_co (SpiceCtrlForeignMenuHandleClientData* _data_); +void spice_ctrl_input_stream_read (GInputStream* stream, guint8* buffer, int buffer_length1, GAsyncReadyCallback _callback_, gpointer _user_data_); +void spice_ctrl_input_stream_read_finish (GAsyncResult* _res_, GError** error); +static void spice_ctrl_foreign_menu_handle_client_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_); +static void spice_ctrl_foreign_menu_listen_data_free (gpointer _data); +GQuark spice_ctrl_error_quark (void); +void spice_ctrl_foreign_menu_listen (SpiceCtrlForeignMenu* self, const gchar* addr, GAsyncReadyCallback _callback_, gpointer _user_data_); +void spice_ctrl_foreign_menu_listen_finish (SpiceCtrlForeignMenu* self, GAsyncResult* _res_, GError** error); +static gboolean spice_ctrl_foreign_menu_listen_co (SpiceCtrlForeignMenuListenData* _data_); +static void spice_ctrl_foreign_menu_listen_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_); +const gchar* spice_ctrl_foreign_menu_get_title (SpiceCtrlForeignMenu* self); +static void spice_ctrl_foreign_menu_finalize (GObject* obj); +static void _vala_spice_ctrl_foreign_menu_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); +static void _vala_spice_ctrl_foreign_menu_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); + + +static void _g_object_unref0_ (gpointer var) { + (var == NULL) ? NULL : (var = (g_object_unref (var), NULL)); +} + + +static void _g_list_free__g_object_unref0_ (GList* self) { + g_list_foreach (self, (GFunc) _g_object_unref0_, NULL); + g_list_free (self); +} + + +SpiceCtrlForeignMenu* spice_ctrl_foreign_menu_construct (GType object_type) { + SpiceCtrlForeignMenu * self = NULL; + SpiceCtrlMenu* _tmp0_; + SpiceCtrlMenu* _tmp1_; + self = (SpiceCtrlForeignMenu*) g_object_new (object_type, NULL); + _tmp0_ = spice_ctrl_menu_new (); + _tmp1_ = _tmp0_; + spice_ctrl_foreign_menu_set_menu (self, _tmp1_); + _g_object_unref0 (_tmp1_); + return self; +} + + +SpiceCtrlForeignMenu* spice_ctrl_foreign_menu_new (void) { + return spice_ctrl_foreign_menu_construct (SPICE_CTRL_TYPE_FOREIGN_MENU); +} + + +static guint8* _vala_array_dup6 (guint8* self, int length) { + return g_memdup (self, length * sizeof (guint8)); +} + + +void spice_ctrl_foreign_menu_menu_item_click_msg (SpiceCtrlForeignMenu* self, gint32 item_id) { + gint32 _tmp0_; + gchar* _tmp1_ = NULL; + gchar* _tmp2_; + FrgMenuEvent msg = {0}; + gint32 _tmp3_; + FrgMenuEvent _tmp4_; + FrgMenuMsg _tmp5_; + guint32 _tmp6_; + guint8* p; + gint p_length1; + gint _p_size_; + guint8* _tmp7_; + gint _tmp7__length1; + g_return_if_fail (self != NULL); + _tmp0_ = item_id; + _tmp1_ = g_strdup_printf ("clicked id: %d", (gint) _tmp0_); + _tmp2_ = _tmp1_; + g_debug ("foreign-menu.vala:35: %s", _tmp2_); + _g_free0 (_tmp2_); + memset (&msg, 0, sizeof (FrgMenuEvent)); + msg.base.size = (guint32) sizeof (FrgMenuEvent); + msg.base.id = (guint32) FOREIGN_MENU_ITEM_EVENT; + _tmp3_ = item_id; + msg.id = (guint32) _tmp3_; + msg.action = (guint32) FOREIGN_MENU_EVENT_CLICK; + _tmp4_ = msg; + _tmp5_ = _tmp4_.base; + _tmp6_ = _tmp5_.size; + p = ((guint8*) (&msg)) + 0; + p_length1 = _tmp6_ - 0; + _p_size_ = p_length1; + _tmp7_ = (p != NULL) ? _vala_array_dup6 (p, p_length1) : ((gpointer) p); + _tmp7__length1 = p_length1; + spice_ctrl_foreign_menu_send_msg (self, _tmp7_, _tmp7__length1, NULL, NULL); +} + + +static guint8* _vala_array_dup7 (guint8* self, int length) { + return g_memdup (self, length * sizeof (guint8)); +} + + +void spice_ctrl_foreign_menu_menu_item_checked_msg (SpiceCtrlForeignMenu* self, gint32 item_id, gboolean checked) { + const gchar* _tmp0_ = NULL; + gboolean _tmp1_; + const gchar* _tmp2_; + gint32 _tmp3_; + gchar* _tmp4_ = NULL; + gchar* _tmp5_; + FrgMenuEvent msg = {0}; + gint32 _tmp6_; + int _tmp7_ = 0; + gboolean _tmp8_; + int _tmp9_; + FrgMenuEvent _tmp10_; + FrgMenuMsg _tmp11_; + guint32 _tmp12_; + guint8* p; + gint p_length1; + gint _p_size_; + guint8* _tmp13_; + gint _tmp13__length1; + g_return_if_fail (self != NULL); + _tmp1_ = checked; + if (_tmp1_) { + _tmp0_ = ""; + } else { + _tmp0_ = "un"; + } + _tmp2_ = _tmp0_; + _tmp3_ = item_id; + _tmp4_ = g_strdup_printf ("%schecked id: %d", _tmp2_, (gint) _tmp3_); + _tmp5_ = _tmp4_; + g_debug ("foreign-menu.vala:48: %s", _tmp5_); + _g_free0 (_tmp5_); + memset (&msg, 0, sizeof (FrgMenuEvent)); + msg.base.size = (guint32) sizeof (FrgMenuEvent); + msg.base.id = (guint32) FOREIGN_MENU_ITEM_EVENT; + _tmp6_ = item_id; + msg.id = (guint32) _tmp6_; + _tmp8_ = checked; + if (_tmp8_) { + _tmp7_ = FOREIGN_MENU_EVENT_CHECKED; + } else { + _tmp7_ = FOREIGN_MENU_EVENT_UNCHECKED; + } + _tmp9_ = _tmp7_; + msg.action = (guint32) _tmp9_; + _tmp10_ = msg; + _tmp11_ = _tmp10_.base; + _tmp12_ = _tmp11_.size; + p = ((guint8*) (&msg)) + 0; + p_length1 = _tmp12_ - 0; + _p_size_ = p_length1; + _tmp13_ = (p != NULL) ? _vala_array_dup7 (p, p_length1) : ((gpointer) p); + _tmp13__length1 = p_length1; + spice_ctrl_foreign_menu_send_msg (self, _tmp13_, _tmp13__length1, NULL, NULL); +} + + +static guint8* _vala_array_dup8 (guint8* self, int length) { + return g_memdup (self, length * sizeof (guint8)); +} + + +void spice_ctrl_foreign_menu_app_activated_msg (SpiceCtrlForeignMenu* self, gboolean activated) { + FrgMenuMsg msg = {0}; + int _tmp0_ = 0; + gboolean _tmp1_; + int _tmp2_; + FrgMenuMsg _tmp3_; + guint32 _tmp4_; + guint8* p; + gint p_length1; + gint _p_size_; + guint8* _tmp5_; + gint _tmp5__length1; + g_return_if_fail (self != NULL); + memset (&msg, 0, sizeof (FrgMenuMsg)); + msg.size = (guint32) sizeof (FrgMenuEvent); + _tmp1_ = activated; + if (_tmp1_) { + _tmp0_ = FOREIGN_MENU_APP_ACTIVATED; + } else { + _tmp0_ = FOREIGN_MENU_APP_DEACTIVATED; + } + _tmp2_ = _tmp0_; + msg.id = (guint32) _tmp2_; + _tmp3_ = msg; + _tmp4_ = _tmp3_.size; + p = ((guint8*) (&msg)) + 0; + p_length1 = _tmp4_ - 0; + _p_size_ = p_length1; + _tmp5_ = (p != NULL) ? _vala_array_dup8 (p, p_length1) : ((gpointer) p); + _tmp5__length1 = p_length1; + spice_ctrl_foreign_menu_send_msg (self, _tmp5_, _tmp5__length1, NULL, NULL); +} + + +static void spice_ctrl_foreign_menu_send_msg_data_free (gpointer _data) { + SpiceCtrlForeignMenuSendMsgData* _data_; + _data_ = _data; + _data_->p = (g_free (_data_->p), NULL); + _g_object_unref0 (_data_->self); + g_slice_free (SpiceCtrlForeignMenuSendMsgData, _data_); +} + + +static gpointer _g_object_ref0 (gpointer self) { + return self ? g_object_ref (self) : NULL; +} + + +void spice_ctrl_foreign_menu_send_msg (SpiceCtrlForeignMenu* self, guint8* p, int p_length1, GAsyncReadyCallback _callback_, gpointer _user_data_) { + SpiceCtrlForeignMenuSendMsgData* _data_; + SpiceCtrlForeignMenu* _tmp0_; + _data_ = g_slice_new0 (SpiceCtrlForeignMenuSendMsgData); + _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, spice_ctrl_foreign_menu_send_msg); + g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, spice_ctrl_foreign_menu_send_msg_data_free); + _tmp0_ = _g_object_ref0 (self); + _data_->self = _tmp0_; + _data_->p = (g_free (_data_->p), NULL); + _data_->p = p; + _data_->p_length1 = p_length1; + spice_ctrl_foreign_menu_send_msg_co (_data_); +} + + +gboolean spice_ctrl_foreign_menu_send_msg_finish (SpiceCtrlForeignMenu* self, GAsyncResult* _res_, GError** error) { + gboolean result; + SpiceCtrlForeignMenuSendMsgData* _data_; + if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) { + return FALSE; + } + _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_)); + result = _data_->result; + return result; +} + + +static guint8* _vala_array_dup9 (guint8* self, int length) { + return g_memdup (self, length * sizeof (guint8)); +} + + +static void spice_ctrl_foreign_menu_send_msg_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) { + SpiceCtrlForeignMenuSendMsgData* _data_; + _data_ = _user_data_; + _data_->_source_object_ = source_object; + _data_->_res_ = _res_; + spice_ctrl_foreign_menu_send_msg_co (_data_); +} + + +static gboolean spice_ctrl_foreign_menu_send_msg_co (SpiceCtrlForeignMenuSendMsgData* _data_) { + switch (_data_->_state_) { + case 0: + goto _state_0; + case 1: + goto _state_1; + default: + g_assert_not_reached (); + } + _state_0: + { + _data_->_tmp0_ = _data_->self->priv->clients; + { + _data_->c_collection = _data_->_tmp0_; + for (_data_->c_it = _data_->c_collection; _data_->c_it != NULL; _data_->c_it = _data_->c_it->next) { + _data_->_tmp1_ = _g_object_ref0 ((GIOStream*) _data_->c_it->data); + _data_->c = _data_->_tmp1_; + { + _data_->_tmp2_ = _data_->c; + _data_->_tmp3_ = g_io_stream_get_output_stream (_data_->_tmp2_); + _data_->_tmp4_ = _data_->_tmp3_; + _data_->_tmp5_ = _data_->p; + _data_->_tmp5__length1 = _data_->p_length1; + _data_->_tmp6_ = (_data_->_tmp5_ != NULL) ? _vala_array_dup9 (_data_->_tmp5_, _data_->_tmp5__length1) : ((gpointer) _data_->_tmp5_); + _data_->_tmp6__length1 = _data_->_tmp5__length1; + _data_->_state_ = 1; + spice_ctrl_output_stream_write (_data_->_tmp4_, _data_->_tmp6_, _data_->_tmp6__length1, spice_ctrl_foreign_menu_send_msg_ready, _data_); + return FALSE; + _state_1: + spice_ctrl_output_stream_write_finish (_data_->_res_, &_data_->_inner_error_); + if (_data_->_inner_error_ != NULL) { + _g_object_unref0 (_data_->c); + goto __catch3_g_error; + } + _g_object_unref0 (_data_->c); + } + } + } + } + goto __finally3; + __catch3_g_error: + { + _data_->e = _data_->_inner_error_; + _data_->_inner_error_ = NULL; + _data_->_tmp7_ = _data_->e; + _data_->_tmp8_ = _data_->_tmp7_->message; + g_warning ("foreign-menu.vala:83: %s", _data_->_tmp8_); + _g_error_free0 (_data_->e); + } + __finally3: + if (_data_->_inner_error_ != NULL) { + g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); + g_error_free (_data_->_inner_error_); + _data_->p = (g_free (_data_->p), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + _data_->result = TRUE; + _data_->p = (g_free (_data_->p), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + _data_->p = (g_free (_data_->p), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; +} + + +static unsigned int spice_ctrl_foreign_menu_get_menu_flags (SpiceCtrlForeignMenu* self, guint32 type) { + unsigned int result = 0; + unsigned int flags; + guint32 _tmp0_; + guint32 _tmp2_; + g_return_val_if_fail (self != NULL, 0); + flags = 0; + _tmp0_ = type; + if ((FOREIGN_MENU_ITEM_TYPE_CHECKED & _tmp0_) != 0) { + unsigned int _tmp1_; + _tmp1_ = flags; + flags = _tmp1_ | CONTROLLER_MENU_FLAGS_CHECKED; + } + _tmp2_ = type; + if ((FOREIGN_MENU_ITEM_TYPE_DIM & _tmp2_) != 0) { + unsigned int _tmp3_; + _tmp3_ = flags; + flags = _tmp3_ | CONTROLLER_MENU_FLAGS_GRAYED; + } + result = flags; + return result; +} + + +static gboolean spice_ctrl_foreign_menu_handle_message (SpiceCtrlForeignMenu* self, FrgMenuMsg* msg) { + gboolean result = FALSE; + FrgMenuMsg* _tmp0_; + guint32 _tmp1_; + g_return_val_if_fail (self != NULL, FALSE); + _tmp0_ = msg; + _tmp1_ = (*_tmp0_).id; + switch (_tmp1_) { + case FOREIGN_MENU_SET_TITLE: + { + FrgMenuMsg* _tmp2_; + FrgMenuSetTitle* t; + FrgMenuSetTitle* _tmp3_; + const gchar* _tmp4_; + _tmp2_ = msg; + t = (FrgMenuSetTitle*) _tmp2_; + _tmp3_ = t; + _tmp4_ = (*_tmp3_).string; + spice_ctrl_foreign_menu_set_title (self, _tmp4_); + break; + } + case FOREIGN_MENU_ADD_ITEM: + { + FrgMenuMsg* _tmp5_; + FrgMenuAddItem* i; + FrgMenuAddItem* _tmp6_; + guint32 _tmp7_; + FrgMenuAddItem* _tmp8_; + guint32 _tmp9_; + FrgMenuAddItem* _tmp10_; + guint32 _tmp11_; + FrgMenuAddItem* _tmp12_; + const gchar* _tmp13_; + SpiceCtrlMenu* _tmp14_; + FrgMenuAddItem* _tmp15_; + guint32 _tmp16_; + FrgMenuAddItem* _tmp17_; + const gchar* _tmp18_; + FrgMenuAddItem* _tmp19_; + guint32 _tmp20_; + unsigned int _tmp21_ = 0; + SpiceCtrlMenuItem* _tmp22_; + _tmp5_ = msg; + i = (FrgMenuAddItem*) _tmp5_; + _tmp6_ = i; + _tmp7_ = (*_tmp6_).id; + _tmp8_ = i; + _tmp9_ = (*_tmp8_).type; + _tmp10_ = i; + _tmp11_ = (*_tmp10_).position; + _tmp12_ = i; + _tmp13_ = (*_tmp12_).string; + g_debug ("foreign-menu.vala:108: add id:%u type:%u position:%u title:%s", (guint) _tmp7_, (guint) _tmp9_, (guint) _tmp11_, _tmp13_); + _tmp14_ = self->priv->_menu; + _tmp15_ = i; + _tmp16_ = (*_tmp15_).id; + _tmp17_ = i; + _tmp18_ = (*_tmp17_).string; + _tmp19_ = i; + _tmp20_ = (*_tmp19_).type; + _tmp21_ = spice_ctrl_foreign_menu_get_menu_flags (self, _tmp20_); + _tmp22_ = spice_ctrl_menu_item_new ((gint) _tmp16_, _tmp18_, _tmp21_); + _tmp14_->items = g_list_append (_tmp14_->items, _tmp22_); + g_object_notify ((GObject*) self, "menu"); + break; + } + case FOREIGN_MENU_MODIFY_ITEM: + { + g_debug ("foreign-menu.vala:113: deprecated: modify item"); + break; + } + case FOREIGN_MENU_REMOVE_ITEM: + { + FrgMenuMsg* _tmp23_; + FrgMenuRmItem* i; + FrgMenuRmItem* _tmp24_; + guint32 _tmp25_; + gchar* _tmp26_ = NULL; + gchar* _tmp27_; + _tmp23_ = msg; + i = (FrgMenuRmItem*) _tmp23_; + _tmp24_ = i; + _tmp25_ = (*_tmp24_).id; + _tmp26_ = g_strdup_printf ("not implemented: remove id:%u", (guint) _tmp25_); + _tmp27_ = _tmp26_; + g_debug ("foreign-menu.vala:117: %s", _tmp27_); + _g_free0 (_tmp27_); + break; + } + case FOREIGN_MENU_CLEAR: + { + SpiceCtrlMenu* _tmp28_; + SpiceCtrlMenu* _tmp29_; + _tmp28_ = spice_ctrl_menu_new (); + _tmp29_ = _tmp28_; + spice_ctrl_foreign_menu_set_menu (self, _tmp29_); + _g_object_unref0 (_tmp29_); + break; + } + default: + { + g_warn_if_reached (); + result = FALSE; + return result; + } + } + result = TRUE; + return result; +} + + +static void spice_ctrl_foreign_menu_handle_client_data_free (gpointer _data) { + SpiceCtrlForeignMenuHandleClientData* _data_; + _data_ = _data; + _g_object_unref0 (_data_->c); + _g_object_unref0 (_data_->self); + g_slice_free (SpiceCtrlForeignMenuHandleClientData, _data_); +} + + +static void spice_ctrl_foreign_menu_handle_client (SpiceCtrlForeignMenu* self, GIOStream* c, GAsyncReadyCallback _callback_, gpointer _user_data_) { + SpiceCtrlForeignMenuHandleClientData* _data_; + SpiceCtrlForeignMenu* _tmp0_; + GIOStream* _tmp1_; + GIOStream* _tmp2_; + _data_ = g_slice_new0 (SpiceCtrlForeignMenuHandleClientData); + _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, spice_ctrl_foreign_menu_handle_client); + g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, spice_ctrl_foreign_menu_handle_client_data_free); + _tmp0_ = _g_object_ref0 (self); + _data_->self = _tmp0_; + _tmp1_ = c; + _tmp2_ = _g_object_ref0 (_tmp1_); + _g_object_unref0 (_data_->c); + _data_->c = _tmp2_; + spice_ctrl_foreign_menu_handle_client_co (_data_); +} + + +static void spice_ctrl_foreign_menu_handle_client_finish (SpiceCtrlForeignMenu* self, GAsyncResult* _res_, GError** error) { + SpiceCtrlForeignMenuHandleClientData* _data_; + if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) { + return; + } + _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_)); +} + + +static void spice_ctrl_foreign_menu_handle_client_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) { + SpiceCtrlForeignMenuHandleClientData* _data_; + _data_ = _user_data_; + _data_->_source_object_ = source_object; + _data_->_res_ = _res_; + spice_ctrl_foreign_menu_handle_client_co (_data_); +} + + +static gboolean spice_ctrl_foreign_menu_handle_client_co (SpiceCtrlForeignMenuHandleClientData* _data_) { + switch (_data_->_state_) { + case 0: + goto _state_0; + case 1: + goto _state_1; + case 2: + goto _state_2; + case 3: + goto _state_3; + case 4: + goto _state_4; + case 5: + goto _state_5; + default: + g_assert_not_reached (); + } + _state_0: + g_debug ("foreign-menu.vala:130: new socket client, reading init header"); + _data_->_tmp0_ = NULL; + _data_->_tmp0_ = g_new0 (guint8, sizeof (FrgMenuInitHeader)); + _data_->p = _data_->_tmp0_; + _data_->p_length1 = sizeof (FrgMenuInitHeader); + _data_->_p_size_ = _data_->p_length1; + _data_->_tmp1_ = _data_->p; + _data_->_tmp1__length1 = _data_->p_length1; + _data_->header = (FrgMenuInitHeader*) _data_->_tmp1_; + _data_->_tmp2_ = _data_->c; + _data_->_tmp3_ = g_io_stream_get_input_stream (_data_->_tmp2_); + _data_->_tmp4_ = _data_->_tmp3_; + _data_->_tmp5_ = _data_->p; + _data_->_tmp5__length1 = _data_->p_length1; + _data_->_state_ = 1; + spice_ctrl_input_stream_read (_data_->_tmp4_, _data_->_tmp5_, _data_->_tmp5__length1, spice_ctrl_foreign_menu_handle_client_ready, _data_); + return FALSE; + _state_1: + spice_ctrl_input_stream_read_finish (_data_->_res_, &_data_->_inner_error_); + if (_data_->_inner_error_ != NULL) { + g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); + g_error_free (_data_->_inner_error_); + _data_->p = (g_free (_data_->p), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + _data_->_tmp6_ = _data_->header; + _data_->_tmp7_ = (*_data_->_tmp6_).magic; + _data_->_tmp8_ = FALSE; + _data_->_tmp8_ = g_warn_if (_data_->_tmp7_ != FOREIGN_MENU_MAGIC); + if (_data_->_tmp8_) { + _data_->p = (g_free (_data_->p), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + _data_->_tmp9_ = _data_->header; + _data_->_tmp10_ = (*_data_->_tmp9_).version; + _data_->_tmp11_ = FALSE; + _data_->_tmp11_ = g_warn_if (_data_->_tmp10_ != ((guint32) FOREIGN_MENU_VERSION)); + if (_data_->_tmp11_) { + _data_->p = (g_free (_data_->p), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + _data_->_tmp12_ = _data_->header; + _data_->_tmp13_ = (*_data_->_tmp12_).size; + _data_->_tmp14_ = FALSE; + _data_->_tmp14_ = g_warn_if (((gulong) _data_->_tmp13_) < sizeof (FrgMenuInit)); + if (_data_->_tmp14_) { + _data_->p = (g_free (_data_->p), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + _data_->_tmp15_ = NULL; + _data_->_tmp15_ = g_new0 (guint8, sizeof (guint64)); + _data_->cp = _data_->_tmp15_; + _data_->cp_length1 = sizeof (guint64); + _data_->_cp_size_ = _data_->cp_length1; + _data_->_tmp16_ = _data_->c; + _data_->_tmp17_ = g_io_stream_get_input_stream (_data_->_tmp16_); + _data_->_tmp18_ = _data_->_tmp17_; + _data_->_tmp19_ = _data_->cp; + _data_->_tmp19__length1 = _data_->cp_length1; + _data_->_state_ = 2; + spice_ctrl_input_stream_read (_data_->_tmp18_, _data_->_tmp19_, _data_->_tmp19__length1, spice_ctrl_foreign_menu_handle_client_ready, _data_); + return FALSE; + _state_2: + spice_ctrl_input_stream_read_finish (_data_->_res_, &_data_->_inner_error_); + if (_data_->_inner_error_ != NULL) { + g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); + g_error_free (_data_->_inner_error_); + _data_->cp = (g_free (_data_->cp), NULL); + _data_->p = (g_free (_data_->p), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + _data_->_tmp20_ = _data_->cp; + _data_->_tmp20__length1 = _data_->cp_length1; + _data_->credentials = *((guint64*) _data_->_tmp20_); + _data_->_tmp21_ = _data_->credentials; + _data_->_tmp22_ = FALSE; + _data_->_tmp22_ = g_warn_if (_data_->_tmp21_ != ((guint64) 0)); + if (_data_->_tmp22_) { + _data_->cp = (g_free (_data_->cp), NULL); + _data_->p = (g_free (_data_->p), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + _data_->_tmp23_ = _data_->header; + _data_->_tmp24_ = (*_data_->_tmp23_).size; + _data_->title_size = _data_->_tmp24_ - sizeof (FrgMenuInit); + _data_->_tmp25_ = _data_->title_size; + _data_->_tmp26_ = NULL; + _data_->_tmp26_ = g_new0 (guint8, _data_->_tmp25_ + 1); + _data_->title = _data_->_tmp26_; + _data_->title_length1 = _data_->_tmp25_ + 1; + _data_->_title_size_ = _data_->title_length1; + _data_->_tmp27_ = _data_->c; + _data_->_tmp28_ = g_io_stream_get_input_stream (_data_->_tmp27_); + _data_->_tmp29_ = _data_->_tmp28_; + _data_->_tmp30_ = _data_->title; + _data_->_tmp30__length1 = _data_->title_length1; + _data_->_tmp31_ = _data_->title_size; + _data_->_state_ = 3; + g_input_stream_read_async (_data_->_tmp29_, (void*) (_data_->_tmp30_ + 0), (gsize) (_data_->_tmp31_ - 0), G_PRIORITY_DEFAULT, NULL, spice_ctrl_foreign_menu_handle_client_ready, _data_); + return FALSE; + _state_3: + g_input_stream_read_finish (_data_->_tmp29_, _data_->_res_, &_data_->_inner_error_); + if (_data_->_inner_error_ != NULL) { + g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); + g_error_free (_data_->_inner_error_); + _data_->title = (g_free (_data_->title), NULL); + _data_->cp = (g_free (_data_->cp), NULL); + _data_->p = (g_free (_data_->p), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + _data_->_tmp32_ = _data_->title; + _data_->_tmp32__length1 = _data_->title_length1; + spice_ctrl_foreign_menu_set_title (_data_->self, (const gchar*) _data_->_tmp32_); + g_signal_emit_by_name (_data_->self, "client-connected"); + { + _data_->_tmp33_ = TRUE; + while (TRUE) { + _data_->_tmp34_ = _data_->_tmp33_; + if (!_data_->_tmp34_) { + } + _data_->_tmp33_ = FALSE; + _data_->_tmp35_ = NULL; + _data_->_tmp35_ = g_new0 (guint8, sizeof (FrgMenuMsg)); + _data_->t = _data_->_tmp35_; + _data_->t_length1 = sizeof (FrgMenuMsg); + _data_->_t_size_ = _data_->t_length1; + _data_->_tmp36_ = _data_->c; + _data_->_tmp37_ = g_io_stream_get_input_stream (_data_->_tmp36_); + _data_->_tmp38_ = _data_->_tmp37_; + _data_->_tmp39_ = _data_->t; + _data_->_tmp39__length1 = _data_->t_length1; + _data_->_state_ = 4; + spice_ctrl_input_stream_read (_data_->_tmp38_, _data_->_tmp39_, _data_->_tmp39__length1, spice_ctrl_foreign_menu_handle_client_ready, _data_); + return FALSE; + _state_4: + spice_ctrl_input_stream_read_finish (_data_->_res_, &_data_->_inner_error_); + if (_data_->_inner_error_ != NULL) { + g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); + g_error_free (_data_->_inner_error_); + _data_->t = (g_free (_data_->t), NULL); + _data_->title = (g_free (_data_->title), NULL); + _data_->cp = (g_free (_data_->cp), NULL); + _data_->p = (g_free (_data_->p), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + _data_->_tmp40_ = _data_->t; + _data_->_tmp40__length1 = _data_->t_length1; + _data_->msg = (FrgMenuMsg*) _data_->_tmp40_; + _data_->_tmp41_ = _data_->msg; + _data_->_tmp42_ = (*_data_->_tmp41_).id; + _data_->_tmp43_ = NULL; + _data_->_tmp43_ = g_strdup_printf ("%u", _data_->_tmp42_); + _data_->_tmp44_ = _data_->_tmp43_; + _data_->_tmp45_ = g_strconcat ("new message ", _data_->_tmp44_, NULL); + _data_->_tmp46_ = _data_->_tmp45_; + _data_->_tmp47_ = g_strconcat (_data_->_tmp46_, "size ", NULL); + _data_->_tmp48_ = _data_->_tmp47_; + _data_->_tmp49_ = _data_->msg; + _data_->_tmp50_ = (*_data_->_tmp49_).size; + _data_->_tmp51_ = NULL; + _data_->_tmp51_ = g_strdup_printf ("%u", _data_->_tmp50_); + _data_->_tmp52_ = _data_->_tmp51_; + _data_->_tmp53_ = g_strconcat (_data_->_tmp48_, _data_->_tmp52_, NULL); + _data_->_tmp54_ = _data_->_tmp53_; + g_debug ("foreign-menu.vala:159: %s", _data_->_tmp54_); + _g_free0 (_data_->_tmp54_); + _g_free0 (_data_->_tmp52_); + _g_free0 (_data_->_tmp48_); + _g_free0 (_data_->_tmp46_); + _g_free0 (_data_->_tmp44_); + _data_->_tmp55_ = _data_->msg; + _data_->_tmp56_ = (*_data_->_tmp55_).size; + _data_->_tmp57_ = FALSE; + _data_->_tmp57_ = g_warn_if (((gulong) _data_->_tmp56_) < sizeof (FrgMenuMsg)); + if (_data_->_tmp57_) { + _data_->t = (g_free (_data_->t), NULL); + break; + } + _data_->_tmp58_ = _data_->msg; + _data_->_tmp59_ = (*_data_->_tmp58_).size; + if (((gulong) _data_->_tmp59_) > sizeof (FrgMenuMsg)) { + _data_->_tmp60_ = _data_->msg; + _data_->_tmp61_ = (*_data_->_tmp60_).size; + _data_->_tmp62_ = 0; + _data_->_tmp62_ = (gint) _data_->_tmp61_; + _data_->t = g_renew (guint8, _data_->t, (gint) _data_->_tmp61_); + (_data_->_tmp62_ > _data_->t_length1) ? memset (_data_->t + _data_->t_length1, 0, sizeof (guint8) * (_data_->_tmp62_ - _data_->t_length1)) : NULL; + _data_->t_length1 = _data_->_tmp62_; + _data_->_t_size_ = _data_->_tmp62_; + _data_->_tmp63_ = _data_->t; + _data_->_tmp63__length1 = _data_->t_length1; + _data_->msg = (FrgMenuMsg*) _data_->_tmp63_; + _data_->_tmp64_ = _data_->c; + _data_->_tmp65_ = g_io_stream_get_input_stream (_data_->_tmp64_); + _data_->_tmp66_ = _data_->_tmp65_; + _data_->_tmp67_ = _data_->t; + _data_->_tmp67__length1 = _data_->t_length1; + _data_->_tmp68_ = _data_->msg; + _data_->_tmp69_ = (*_data_->_tmp68_).size; + _data_->_state_ = 5; + spice_ctrl_input_stream_read (_data_->_tmp66_, _data_->_tmp67_ + sizeof (FrgMenuMsg), _data_->_tmp69_ - sizeof (FrgMenuMsg), spice_ctrl_foreign_menu_handle_client_ready, _data_); + return FALSE; + _state_5: + spice_ctrl_input_stream_read_finish (_data_->_res_, &_data_->_inner_error_); + if (_data_->_inner_error_ != NULL) { + g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); + g_error_free (_data_->_inner_error_); + _data_->t = (g_free (_data_->t), NULL); + _data_->title = (g_free (_data_->title), NULL); + _data_->cp = (g_free (_data_->cp), NULL); + _data_->p = (g_free (_data_->p), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + } + _data_->_tmp70_ = _data_->msg; + spice_ctrl_foreign_menu_handle_message (_data_->self, _data_->_tmp70_); + _data_->t = (g_free (_data_->t), NULL); + } + } + _data_->title = (g_free (_data_->title), NULL); + _data_->cp = (g_free (_data_->cp), NULL); + _data_->p = (g_free (_data_->p), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; +} + + +static void spice_ctrl_foreign_menu_listen_data_free (gpointer _data) { + SpiceCtrlForeignMenuListenData* _data_; + _data_ = _data; + _g_free0 (_data_->addr); + _g_object_unref0 (_data_->self); + g_slice_free (SpiceCtrlForeignMenuListenData, _data_); +} + + +void spice_ctrl_foreign_menu_listen (SpiceCtrlForeignMenu* self, const gchar* addr, GAsyncReadyCallback _callback_, gpointer _user_data_) { + SpiceCtrlForeignMenuListenData* _data_; + SpiceCtrlForeignMenu* _tmp0_; + const gchar* _tmp1_; + gchar* _tmp2_; + _data_ = g_slice_new0 (SpiceCtrlForeignMenuListenData); + _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, spice_ctrl_foreign_menu_listen); + g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, spice_ctrl_foreign_menu_listen_data_free); + _tmp0_ = _g_object_ref0 (self); + _data_->self = _tmp0_; + _tmp1_ = addr; + _tmp2_ = g_strdup (_tmp1_); + _g_free0 (_data_->addr); + _data_->addr = _tmp2_; + spice_ctrl_foreign_menu_listen_co (_data_); +} + + +void spice_ctrl_foreign_menu_listen_finish (SpiceCtrlForeignMenu* self, GAsyncResult* _res_, GError** error) { + SpiceCtrlForeignMenuListenData* _data_; + if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) { + return; + } + _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_)); +} + + +static void spice_ctrl_foreign_menu_listen_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) { + SpiceCtrlForeignMenuListenData* _data_; + _data_ = _user_data_; + _data_->_source_object_ = source_object; + _data_->_res_ = _res_; + spice_ctrl_foreign_menu_listen_co (_data_); +} + + +static gboolean spice_ctrl_foreign_menu_listen_co (SpiceCtrlForeignMenuListenData* _data_) { + switch (_data_->_state_) { + case 0: + goto _state_0; + case 1: + goto _state_1; + case 2: + goto _state_2; + default: + g_assert_not_reached (); + } + _state_0: + _data_->_tmp0_ = _data_->addr; + _data_->_tmp1_ = NULL; + _data_->_tmp1_ = spice_foreign_menu_listener_new (_data_->_tmp0_, &_data_->_inner_error_); + _data_->listener = _data_->_tmp1_; + if (_data_->_inner_error_ != NULL) { + g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); + g_error_free (_data_->_inner_error_); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + { + _data_->_tmp2_ = TRUE; + while (TRUE) { + _data_->_tmp3_ = _data_->_tmp2_; + if (!_data_->_tmp3_) { + } + _data_->_tmp2_ = FALSE; + _data_->_tmp4_ = _data_->listener; + _data_->_state_ = 1; + spice_foreign_menu_listener_accept_async (_data_->_tmp4_, NULL, spice_ctrl_foreign_menu_listen_ready, _data_); + return FALSE; + _state_1: + _data_->_tmp5_ = NULL; + _data_->_tmp5_ = spice_foreign_menu_listener_accept_finish (_data_->_tmp4_, _data_->_res_, NULL, &_data_->_inner_error_); + _data_->_tmp6_ = _g_object_ref0 (_data_->_tmp5_); + _data_->c = _data_->_tmp6_; + if (_data_->_inner_error_ != NULL) { + g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); + g_error_free (_data_->_inner_error_); + _g_object_unref0 (_data_->listener); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + _data_->_tmp7_ = _data_->self->priv->nclients; + _data_->self->priv->nclients = _data_->_tmp7_ + 1; + _data_->_tmp8_ = _data_->c; + _data_->_tmp9_ = _g_object_ref0 (_data_->_tmp8_); + _data_->self->priv->clients = g_list_append (_data_->self->priv->clients, _data_->_tmp9_); + { + _data_->_tmp10_ = _data_->c; + _data_->_state_ = 2; + spice_ctrl_foreign_menu_handle_client (_data_->self, _data_->_tmp10_, spice_ctrl_foreign_menu_listen_ready, _data_); + return FALSE; + _state_2: + spice_ctrl_foreign_menu_handle_client_finish (_data_->self, _data_->_res_, &_data_->_inner_error_); + if (_data_->_inner_error_ != NULL) { + goto __catch4_g_error; + } + } + goto __finally4; + __catch4_g_error: + { + _data_->e = _data_->_inner_error_; + _data_->_inner_error_ = NULL; + _data_->_tmp11_ = _data_->e; + _data_->_tmp12_ = _data_->_tmp11_->message; + g_warning ("foreign-menu.vala:187: %s", _data_->_tmp12_); + _g_error_free0 (_data_->e); + } + __finally4: + if (_data_->_inner_error_ != NULL) { + g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); + g_error_free (_data_->_inner_error_); + _g_object_unref0 (_data_->c); + _g_object_unref0 (_data_->listener); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + _data_->_tmp13_ = _data_->c; + g_io_stream_close (_data_->_tmp13_, NULL, &_data_->_inner_error_); + if (_data_->_inner_error_ != NULL) { + g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); + g_error_free (_data_->_inner_error_); + _g_object_unref0 (_data_->c); + _g_object_unref0 (_data_->listener); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } + _data_->_tmp14_ = _data_->c; + _data_->self->priv->clients = g_list_remove (_data_->self->priv->clients, _data_->_tmp14_); + _data_->_tmp15_ = _data_->self->priv->nclients; + _data_->self->priv->nclients = _data_->_tmp15_ - 1; + _g_object_unref0 (_data_->c); + } + } + _g_object_unref0 (_data_->listener); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; +} + + +SpiceCtrlMenu* spice_ctrl_foreign_menu_get_menu (SpiceCtrlForeignMenu* self) { + SpiceCtrlMenu* result; + SpiceCtrlMenu* _tmp0_; + g_return_val_if_fail (self != NULL, NULL); + _tmp0_ = self->priv->_menu; + result = _tmp0_; + return result; +} + + +static void spice_ctrl_foreign_menu_set_menu (SpiceCtrlForeignMenu* self, SpiceCtrlMenu* value) { + SpiceCtrlMenu* _tmp0_; + SpiceCtrlMenu* _tmp1_; + g_return_if_fail (self != NULL); + _tmp0_ = value; + _tmp1_ = _g_object_ref0 (_tmp0_); + _g_object_unref0 (self->priv->_menu); + self->priv->_menu = _tmp1_; + g_object_notify ((GObject *) self, "menu"); +} + + +const gchar* spice_ctrl_foreign_menu_get_title (SpiceCtrlForeignMenu* self) { + const gchar* result; + const gchar* _tmp0_; + g_return_val_if_fail (self != NULL, NULL); + _tmp0_ = self->priv->_title; + result = _tmp0_; + return result; +} + + +static void spice_ctrl_foreign_menu_set_title (SpiceCtrlForeignMenu* self, const gchar* value) { + const gchar* _tmp0_; + gchar* _tmp1_; + g_return_if_fail (self != NULL); + _tmp0_ = value; + _tmp1_ = g_strdup (_tmp0_); + _g_free0 (self->priv->_title); + self->priv->_title = _tmp1_; + g_object_notify ((GObject *) self, "title"); +} + + +static void spice_ctrl_foreign_menu_class_init (SpiceCtrlForeignMenuClass * klass) { + spice_ctrl_foreign_menu_parent_class = g_type_class_peek_parent (klass); + g_type_class_add_private (klass, sizeof (SpiceCtrlForeignMenuPrivate)); + G_OBJECT_CLASS (klass)->get_property = _vala_spice_ctrl_foreign_menu_get_property; + G_OBJECT_CLASS (klass)->set_property = _vala_spice_ctrl_foreign_menu_set_property; + G_OBJECT_CLASS (klass)->finalize = spice_ctrl_foreign_menu_finalize; + g_object_class_install_property (G_OBJECT_CLASS (klass), SPICE_CTRL_FOREIGN_MENU_MENU, g_param_spec_object ("menu", "menu", "menu", SPICE_CTRL_TYPE_MENU, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); + g_object_class_install_property (G_OBJECT_CLASS (klass), SPICE_CTRL_FOREIGN_MENU_TITLE, g_param_spec_string ("title", "title", "title", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); + g_signal_new ("client_connected", SPICE_CTRL_TYPE_FOREIGN_MENU, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); +} + + +static void spice_ctrl_foreign_menu_instance_init (SpiceCtrlForeignMenu * self) { + self->priv = SPICE_CTRL_FOREIGN_MENU_GET_PRIVATE (self); +} + + +static void spice_ctrl_foreign_menu_finalize (GObject* obj) { + SpiceCtrlForeignMenu * self; + self = G_TYPE_CHECK_INSTANCE_CAST (obj, SPICE_CTRL_TYPE_FOREIGN_MENU, SpiceCtrlForeignMenu); + _g_object_unref0 (self->priv->_menu); + _g_free0 (self->priv->_title); + __g_list_free__g_object_unref0_0 (self->priv->clients); + G_OBJECT_CLASS (spice_ctrl_foreign_menu_parent_class)->finalize (obj); +} + + +GType spice_ctrl_foreign_menu_get_type (void) { + static volatile gsize spice_ctrl_foreign_menu_type_id__volatile = 0; + if (g_once_init_enter (&spice_ctrl_foreign_menu_type_id__volatile)) { + static const GTypeInfo g_define_type_info = { sizeof (SpiceCtrlForeignMenuClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) spice_ctrl_foreign_menu_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SpiceCtrlForeignMenu), 0, (GInstanceInitFunc) spice_ctrl_foreign_menu_instance_init, NULL }; + GType spice_ctrl_foreign_menu_type_id; + spice_ctrl_foreign_menu_type_id = g_type_register_static (G_TYPE_OBJECT, "SpiceCtrlForeignMenu", &g_define_type_info, 0); + g_once_init_leave (&spice_ctrl_foreign_menu_type_id__volatile, spice_ctrl_foreign_menu_type_id); + } + return spice_ctrl_foreign_menu_type_id__volatile; +} + + +static void _vala_spice_ctrl_foreign_menu_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { + SpiceCtrlForeignMenu * self; + self = G_TYPE_CHECK_INSTANCE_CAST (object, SPICE_CTRL_TYPE_FOREIGN_MENU, SpiceCtrlForeignMenu); + switch (property_id) { + case SPICE_CTRL_FOREIGN_MENU_MENU: + g_value_set_object (value, spice_ctrl_foreign_menu_get_menu (self)); + break; + case SPICE_CTRL_FOREIGN_MENU_TITLE: + g_value_set_string (value, spice_ctrl_foreign_menu_get_title (self)); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); + break; + } +} + + +static void _vala_spice_ctrl_foreign_menu_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { + SpiceCtrlForeignMenu * self; + self = G_TYPE_CHECK_INSTANCE_CAST (object, SPICE_CTRL_TYPE_FOREIGN_MENU, SpiceCtrlForeignMenu); + switch (property_id) { + case SPICE_CTRL_FOREIGN_MENU_MENU: + spice_ctrl_foreign_menu_set_menu (self, g_value_get_object (value)); + break; + case SPICE_CTRL_FOREIGN_MENU_TITLE: + spice_ctrl_foreign_menu_set_title (self, g_value_get_string (value)); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); + break; + } +} + + + diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/foreign-menu.vala b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/foreign-menu.vala new file mode 100644 index 0000000..005955a --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/foreign-menu.vala @@ -0,0 +1,197 @@ +// Copyright (C) 2012 Red Hat, Inc. + +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. + +// This library 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 +// Lesser General Public License for more details. + +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, see . + +using Custom; + +namespace SpiceCtrl { + +public class ForeignMenu: Object { + + public Menu menu { get; private set; } + public string title { get; private set; } + + public signal void client_connected (); + + private int nclients; + private List clients; + + public ForeignMenu() { + menu = new Menu (); + } + + public void menu_item_click_msg (int32 item_id) { + debug ("clicked id: %d".printf (item_id)); + + var msg = SpiceProtocol.ForeignMenu.Event (); + msg.base.size = (uint32)sizeof (SpiceProtocol.ForeignMenu.Event); + msg.base.id = SpiceProtocol.ForeignMenu.MsgId.ITEM_EVENT; + msg.id = item_id; + msg.action = SpiceProtocol.ForeignMenu.EventType.CLICK; + + unowned uint8[] p = ((uint8[])(&msg))[0:msg.base.size]; + send_msg.begin (p); + } + + public void menu_item_checked_msg (int32 item_id, bool checked = true) { + debug ("%schecked id: %d".printf (checked ? "" : "un", item_id)); + + var msg = SpiceProtocol.ForeignMenu.Event (); + msg.base.size = (uint32)sizeof (SpiceProtocol.ForeignMenu.Event); + msg.base.id = SpiceProtocol.ForeignMenu.MsgId.ITEM_EVENT; + msg.id = item_id; + msg.action = checked ? + SpiceProtocol.ForeignMenu.EventType.CHECKED : + SpiceProtocol.ForeignMenu.EventType.UNCHECKED; + + unowned uint8[] p = ((uint8[])(&msg))[0:msg.base.size]; + send_msg.begin (p); + } + + public void app_activated_msg (bool activated = true) { + var msg = SpiceProtocol.ForeignMenu.Msg (); + msg.size = (uint32)sizeof (SpiceProtocol.ForeignMenu.Event); + msg.id = activated ? + SpiceProtocol.ForeignMenu.MsgId.APP_ACTIVATED : + SpiceProtocol.ForeignMenu.MsgId.APP_DEACTIVATED; + + unowned uint8[] p = ((uint8[])(&msg))[0:msg.size]; + send_msg.begin (p); + } + + public async bool send_msg (owned uint8[] p) throws GLib.Error { + // vala FIXME: pass Controller.Msg instead + // vala doesn't keep reference on the struct in async methods + // it copies only base, which is not enough to transmit the whole + // message. + try { + foreach (var c in clients) { + yield output_stream_write (c.output_stream, p); + } + } catch (GLib.Error e) { + warning (e.message); + } + + return true; + } + + SpiceProtocol.Controller.MenuFlags get_menu_flags (uint32 type) { + SpiceProtocol.Controller.MenuFlags flags = 0; + + if ((SpiceProtocol.ForeignMenu.MenuFlags.CHECKED & type) != 0) + flags |= SpiceProtocol.Controller.MenuFlags.CHECKED; + if ((SpiceProtocol.ForeignMenu.MenuFlags.DIM & type) != 0) + flags |= SpiceProtocol.Controller.MenuFlags.GRAYED; + + return flags; + } + + private bool handle_message (SpiceProtocol.ForeignMenu.Msg* msg) { + switch (msg.id) { + case SpiceProtocol.ForeignMenu.MsgId.SET_TITLE: + var t = (SpiceProtocol.ForeignMenu.SetTitle*)(msg); + title = t.string; + break; + case SpiceProtocol.ForeignMenu.MsgId.ADD_ITEM: + var i = (SpiceProtocol.ForeignMenu.AddItem*)(msg); + debug ("add id:%u type:%u position:%u title:%s", i.id, i.type, i.position, i.string); + menu.items.append (new MenuItem ((int)i.id, i.string, get_menu_flags (i.type))); + notify_property ("menu"); + break; + case SpiceProtocol.ForeignMenu.MsgId.MODIFY_ITEM: + debug ("deprecated: modify item"); + break; + case SpiceProtocol.ForeignMenu.MsgId.REMOVE_ITEM: + var i = (SpiceProtocol.ForeignMenu.RmItem*)(msg); + debug ("not implemented: remove id:%u".printf (i.id)); + break; + case SpiceProtocol.ForeignMenu.MsgId.CLEAR: + menu = new Menu (); + break; + default: + warn_if_reached (); + return false; + } + return true; + } + + private async void handle_client (IOStream c) throws GLib.Error { + debug ("new socket client, reading init header"); + + var p = new uint8[sizeof(SpiceProtocol.ForeignMenu.InitHeader)]; + var header = (SpiceProtocol.ForeignMenu.InitHeader*)p; + yield input_stream_read (c.input_stream, p); + if (warn_if (header.magic != SpiceProtocol.ForeignMenu.MAGIC)) + return; + if (warn_if (header.version != SpiceProtocol.ForeignMenu.VERSION)) + return; + if (warn_if (header.size < sizeof (SpiceProtocol.ForeignMenu.Init))) + return; + + var cp = new uint8[sizeof(uint64)]; + yield input_stream_read (c.input_stream, cp); + uint64 credentials = *(uint64*)cp; + if (warn_if (credentials != 0)) + return; + + var title_size = header.size - sizeof(SpiceProtocol.ForeignMenu.Init); + var title = new uint8[title_size + 1]; + yield c.input_stream.read_async (title[0:title_size]); + this.title = (string)title; + + client_connected (); + + for (;;) { + var t = new uint8[sizeof(SpiceProtocol.ForeignMenu.Msg)]; + yield input_stream_read (c.input_stream, t); + var msg = (SpiceProtocol.ForeignMenu.Msg*)t; + debug ("new message " + msg.id.to_string () + "size " + msg.size.to_string ()); + + if (warn_if (msg.size < sizeof (SpiceProtocol.ForeignMenu.Msg))) + break; + + if (msg.size > sizeof (SpiceProtocol.ForeignMenu.Msg)) { + t.resize ((int)msg.size); + msg = (SpiceProtocol.ForeignMenu.Msg*)t; + + yield input_stream_read (c.input_stream, t[sizeof(SpiceProtocol.ForeignMenu.Msg):msg.size]); + } + + handle_message (msg); + } + + } + + public async void listen (string? addr = null) throws GLib.Error, SpiceCtrl.Error + { + var listener = Spice.ForeignMenuListener.new_listener (addr); + + for (;;) { + var c = yield listener.accept_async (); + nclients += 1; + clients.append (c); + try { + yield handle_client (c); + } catch (GLib.Error e) { + warning (e.message); + } + c.close (); + clients.remove (c); + nclients -= 1; + } + } + +} + +} // SpiceCtrl diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/gio-windows-2.0.vapi b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/gio-windows-2.0.vapi new file mode 100644 index 0000000..a09cfe8 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/gio-windows-2.0.vapi @@ -0,0 +1,30 @@ +/* gio-windows-2.0.vapi generated by vapigen. */ +/* NOT YET UPSTREAM: https://bugzilla.gnome.org/show_bug.cgi?id=650052 */ + +[CCode (cprefix = "GLib", lower_case_cprefix = "glib_")] +namespace GLib { + [CCode (cheader_filename = "gio/gwin32inputstream.h")] + public class Win32InputStream : GLib.InputStream { + public weak GLib.InputStream parent_instance; + [CCode (cname = "g_win32_input_stream_new", type = "GInputStream*", has_construct_function = false)] + public Win32InputStream (void* handle, bool close_handle); + [CCode (cname = "g_win32_input_stream_get_close_handle")] + public static bool get_close_handle (GLib.Win32InputStream stream); + [CCode (cname = "g_win32_input_stream_get_handle")] + public static void* get_handle (GLib.Win32InputStream stream); + [CCode (cname = "g_win32_input_stream_set_close_handle")] + public static void set_close_handle (GLib.Win32InputStream stream, bool close_handle); + } + [CCode (cheader_filename = "gio/gwin32inputstream.h")] + public class Win32OutputStream : GLib.OutputStream { + public weak GLib.OutputStream parent_instance; + [CCode (cname = "g_win32_output_stream_new", type = "GOutputStream*", has_construct_function = false)] + public Win32OutputStream (void* handle, bool close_handle); + [CCode (cname = "g_win32_output_stream_get_close_handle")] + public static bool get_close_handle (GLib.Win32OutputStream stream); + [CCode (cname = "g_win32_output_stream_get_handle")] + public static void* get_handle (GLib.Win32OutputStream stream); + [CCode (cname = "g_win32_output_stream_set_close_handle")] + public static void set_close_handle (GLib.Win32OutputStream stream, bool close_handle); + } +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/menu.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/menu.c new file mode 100644 index 0000000..fd50778 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/menu.c @@ -0,0 +1,733 @@ +/* menu.c generated by valac 0.20.0, the Vala compiler + * generated from menu.vala, do not modify */ + +/* Copyright (C) 2011 Red Hat, Inc.*/ +/* This library is free software; you can redistribute it and/or*/ +/* modify it under the terms of the GNU Lesser General Public*/ +/* License as published by the Free Software Foundation; either*/ +/* version 2.1 of the License, or (at your option) any later version.*/ +/* This library 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*/ +/* Lesser General Public License for more details.*/ +/* You should have received a copy of the GNU Lesser General Public*/ +/* License along with this library; if not, see .*/ + +#include +#include +#include +#include +#include +#include + + +#define SPICE_CTRL_TYPE_MENU_ITEM (spice_ctrl_menu_item_get_type ()) +#define SPICE_CTRL_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPICE_CTRL_TYPE_MENU_ITEM, SpiceCtrlMenuItem)) +#define SPICE_CTRL_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SPICE_CTRL_TYPE_MENU_ITEM, SpiceCtrlMenuItemClass)) +#define SPICE_CTRL_IS_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPICE_CTRL_TYPE_MENU_ITEM)) +#define SPICE_CTRL_IS_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPICE_CTRL_TYPE_MENU_ITEM)) +#define SPICE_CTRL_MENU_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPICE_CTRL_TYPE_MENU_ITEM, SpiceCtrlMenuItemClass)) + +typedef struct _SpiceCtrlMenuItem SpiceCtrlMenuItem; +typedef struct _SpiceCtrlMenuItemClass SpiceCtrlMenuItemClass; +typedef struct _SpiceCtrlMenuItemPrivate SpiceCtrlMenuItemPrivate; + +#define SPICE_CTRL_TYPE_MENU (spice_ctrl_menu_get_type ()) +#define SPICE_CTRL_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPICE_CTRL_TYPE_MENU, SpiceCtrlMenu)) +#define SPICE_CTRL_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SPICE_CTRL_TYPE_MENU, SpiceCtrlMenuClass)) +#define SPICE_CTRL_IS_MENU(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPICE_CTRL_TYPE_MENU)) +#define SPICE_CTRL_IS_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPICE_CTRL_TYPE_MENU)) +#define SPICE_CTRL_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPICE_CTRL_TYPE_MENU, SpiceCtrlMenuClass)) + +typedef struct _SpiceCtrlMenu SpiceCtrlMenu; +typedef struct _SpiceCtrlMenuClass SpiceCtrlMenuClass; +#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) +#define _g_free0(var) (var = (g_free (var), NULL)) +typedef struct _SpiceCtrlMenuPrivate SpiceCtrlMenuPrivate; +#define __g_list_free__g_object_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__g_object_unref0_ (var), NULL))) +#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) + +struct _SpiceCtrlMenuItem { + GObject parent_instance; + SpiceCtrlMenuItemPrivate * priv; + SpiceCtrlMenu* submenu; + gint parent_id; + gint id; + gchar* text; + gchar* accel; + unsigned int flags; +}; + +struct _SpiceCtrlMenuItemClass { + GObjectClass parent_class; +}; + +typedef enum { + SPICE_CTRL_ERROR_VALUE +} SpiceCtrlError; +#define SPICE_CTRL_ERROR spice_ctrl_error_quark () +struct _SpiceCtrlMenu { + GObject parent_instance; + SpiceCtrlMenuPrivate * priv; + GList* items; +}; + +struct _SpiceCtrlMenuClass { + GObjectClass parent_class; +}; + + +static gpointer spice_ctrl_menu_item_parent_class = NULL; +static gpointer spice_ctrl_menu_parent_class = NULL; + +GType spice_ctrl_menu_item_get_type (void) G_GNUC_CONST; +GType spice_ctrl_menu_get_type (void) G_GNUC_CONST; +enum { + SPICE_CTRL_MENU_ITEM_DUMMY_PROPERTY +}; +SpiceCtrlMenuItem* spice_ctrl_menu_item_new (gint id, const gchar* text, unsigned int flags); +SpiceCtrlMenuItem* spice_ctrl_menu_item_construct (GType object_type, gint id, const gchar* text, unsigned int flags); +GQuark spice_ctrl_error_quark (void); +SpiceCtrlMenuItem* spice_ctrl_menu_item_new_from_string (const gchar* str, GError** error); +SpiceCtrlMenuItem* spice_ctrl_menu_item_construct_from_string (GType object_type, const gchar* str, GError** error); +SpiceCtrlMenu* spice_ctrl_menu_new (void); +SpiceCtrlMenu* spice_ctrl_menu_construct (GType object_type); +gchar* spice_ctrl_menu_item_to_string (SpiceCtrlMenuItem* self); +gchar* spice_ctrl_menu_to_string (SpiceCtrlMenu* self); +const gchar* spice_protocol_controller_menu_flags_to_string (unsigned int self); +static const char* _spice_protocol_controller_menu_flags_to_string (unsigned int value); +static void spice_ctrl_menu_item_finalize (GObject* obj); +enum { + SPICE_CTRL_MENU_DUMMY_PROPERTY +}; +static void _g_object_unref0_ (gpointer var); +static void _g_list_free__g_object_unref0_ (GList* self); +SpiceCtrlMenu* spice_ctrl_menu_find_id (SpiceCtrlMenu* self, gint id); +SpiceCtrlMenu* spice_ctrl_menu_new_from_string (const gchar* str); +SpiceCtrlMenu* spice_ctrl_menu_construct_from_string (GType object_type, const gchar* str); +static void spice_ctrl_menu_finalize (GObject* obj); +static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); +static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); +static gint _vala_array_length (gpointer array); + + +SpiceCtrlMenuItem* spice_ctrl_menu_item_construct (GType object_type, gint id, const gchar* text, unsigned int flags) { + SpiceCtrlMenuItem * self = NULL; + gint _tmp0_; + const gchar* _tmp1_; + gchar* _tmp2_; + unsigned int _tmp3_; + g_return_val_if_fail (text != NULL, NULL); + self = (SpiceCtrlMenuItem*) g_object_new (object_type, NULL); + _tmp0_ = id; + self->id = _tmp0_; + _tmp1_ = text; + _tmp2_ = g_strdup (_tmp1_); + _g_free0 (self->text); + self->text = _tmp2_; + _tmp3_ = flags; + self->flags = _tmp3_; + return self; +} + + +SpiceCtrlMenuItem* spice_ctrl_menu_item_new (gint id, const gchar* text, unsigned int flags) { + return spice_ctrl_menu_item_construct (SPICE_CTRL_TYPE_MENU_ITEM, id, text, flags); +} + + +SpiceCtrlMenuItem* spice_ctrl_menu_item_construct_from_string (GType object_type, const gchar* str, GError** error) { + SpiceCtrlMenuItem * self = NULL; + const gchar* _tmp0_; + const gchar* _tmp1_; + gchar** _tmp2_; + gchar** _tmp3_ = NULL; + gchar** params; + gint params_length1; + gint _params_size_; + gchar** _tmp4_; + gint _tmp4__length1; + gboolean _tmp5_ = FALSE; + gchar** _tmp7_; + gint _tmp7__length1; + const gchar* _tmp8_; + gint _tmp9_ = 0; + gchar** _tmp10_; + gint _tmp10__length1; + const gchar* _tmp11_; + gint _tmp12_ = 0; + gchar** _tmp13_; + gint _tmp13__length1; + const gchar* _tmp14_; + gchar** _tmp15_; + gchar** _tmp16_ = NULL; + gchar** textaccel; + gint textaccel_length1; + gint _textaccel_size_; + gchar** _tmp17_; + gint _tmp17__length1; + const gchar* _tmp18_; + gchar* _tmp19_; + gchar** _tmp20_; + gint _tmp20__length1; + gchar** _tmp24_; + gint _tmp24__length1; + const gchar* _tmp25_; + gint _tmp26_ = 0; + SpiceCtrlMenu* _tmp27_; + GError * _inner_error_ = NULL; + g_return_val_if_fail (str != NULL, NULL); + self = (SpiceCtrlMenuItem*) g_object_new (object_type, NULL); + _tmp0_ = str; + _tmp1_ = CONTROLLER_MENU_PARAM_DELIMITER; + _tmp3_ = _tmp2_ = g_strsplit (_tmp0_, _tmp1_, 0); + params = _tmp3_; + params_length1 = _vala_array_length (_tmp2_); + _params_size_ = params_length1; + _tmp4_ = params; + _tmp4__length1 = params_length1; + _tmp5_ = g_warn_if (_tmp4__length1 != 5); + if (_tmp5_) { + GError* _tmp6_; + _tmp6_ = g_error_new_literal (SPICE_CTRL_ERROR, SPICE_CTRL_ERROR_VALUE, ""); + _inner_error_ = _tmp6_; + if (_inner_error_->domain == SPICE_CTRL_ERROR) { + g_propagate_error (error, _inner_error_); + params = (_vala_array_free (params, params_length1, (GDestroyNotify) g_free), NULL); + _g_object_unref0 (self); + return NULL; + } else { + params = (_vala_array_free (params, params_length1, (GDestroyNotify) g_free), NULL); + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); + g_clear_error (&_inner_error_); + return NULL; + } + } + _tmp7_ = params; + _tmp7__length1 = params_length1; + _tmp8_ = _tmp7_[0]; + _tmp9_ = atoi (_tmp8_); + self->parent_id = _tmp9_; + _tmp10_ = params; + _tmp10__length1 = params_length1; + _tmp11_ = _tmp10_[1]; + _tmp12_ = atoi (_tmp11_); + self->id = _tmp12_; + _tmp13_ = params; + _tmp13__length1 = params_length1; + _tmp14_ = _tmp13_[2]; + _tmp16_ = _tmp15_ = g_strsplit (_tmp14_, "\t", 0); + textaccel = _tmp16_; + textaccel_length1 = _vala_array_length (_tmp15_); + _textaccel_size_ = textaccel_length1; + _tmp17_ = textaccel; + _tmp17__length1 = textaccel_length1; + _tmp18_ = _tmp17_[0]; + _tmp19_ = g_strdup (_tmp18_); + _g_free0 (self->text); + self->text = _tmp19_; + _tmp20_ = textaccel; + _tmp20__length1 = textaccel_length1; + if (_tmp20__length1 > 1) { + gchar** _tmp21_; + gint _tmp21__length1; + const gchar* _tmp22_; + gchar* _tmp23_; + _tmp21_ = textaccel; + _tmp21__length1 = textaccel_length1; + _tmp22_ = _tmp21_[1]; + _tmp23_ = g_strdup (_tmp22_); + _g_free0 (self->accel); + self->accel = _tmp23_; + } + _tmp24_ = params; + _tmp24__length1 = params_length1; + _tmp25_ = _tmp24_[3]; + _tmp26_ = atoi (_tmp25_); + self->flags = (unsigned int) _tmp26_; + _tmp27_ = spice_ctrl_menu_new (); + _g_object_unref0 (self->submenu); + self->submenu = _tmp27_; + textaccel = (_vala_array_free (textaccel, textaccel_length1, (GDestroyNotify) g_free), NULL); + params = (_vala_array_free (params, params_length1, (GDestroyNotify) g_free), NULL); + return self; +} + + +SpiceCtrlMenuItem* spice_ctrl_menu_item_new_from_string (const gchar* str, GError** error) { + return spice_ctrl_menu_item_construct_from_string (SPICE_CTRL_TYPE_MENU_ITEM, str, error); +} + + +static const gchar* string_to_string (const gchar* self) { + const gchar* result = NULL; + g_return_val_if_fail (self != NULL, NULL); + result = self; + return result; +} + + +static const char* _spice_protocol_controller_menu_flags_to_string (unsigned int value) { + switch (value) { + case CONTROLLER_MENU_FLAGS_SEPARATOR: + return "CONTROLLER_MENU_FLAGS_SEPARATOR"; + case CONTROLLER_MENU_FLAGS_DISABLED: + return "CONTROLLER_MENU_FLAGS_DISABLED"; + case CONTROLLER_MENU_FLAGS_POPUP: + return "CONTROLLER_MENU_FLAGS_POPUP"; + case CONTROLLER_MENU_FLAGS_CHECKED: + return "CONTROLLER_MENU_FLAGS_CHECKED"; + case CONTROLLER_MENU_FLAGS_GRAYED: + return "CONTROLLER_MENU_FLAGS_GRAYED"; + } + return NULL; +} + + +gchar* spice_ctrl_menu_item_to_string (SpiceCtrlMenuItem* self) { + gchar* result = NULL; + SpiceCtrlMenu* _tmp0_; + gchar* _tmp1_ = NULL; + gchar* sub; + gint _tmp2_; + gchar* _tmp3_ = NULL; + gchar* _tmp4_; + gint _tmp5_; + gchar* _tmp6_ = NULL; + gchar* _tmp7_; + const gchar* _tmp8_; + const gchar* _tmp9_ = NULL; + unsigned int _tmp10_; + const gchar* _tmp11_ = NULL; + gchar* _tmp12_ = NULL; + gchar* _tmp13_; + gchar* str; + const gchar* _tmp14_; + const gchar* _tmp15_ = NULL; + gchar** _tmp16_; + gchar** _tmp17_ = NULL; + g_return_val_if_fail (self != NULL, NULL); + _tmp0_ = self->submenu; + _tmp1_ = spice_ctrl_menu_to_string (_tmp0_); + sub = _tmp1_; + _tmp2_ = self->parent_id; + _tmp3_ = g_strdup_printf ("%i", _tmp2_); + _tmp4_ = _tmp3_; + _tmp5_ = self->id; + _tmp6_ = g_strdup_printf ("%i", _tmp5_); + _tmp7_ = _tmp6_; + _tmp8_ = self->text; + _tmp9_ = string_to_string (_tmp8_); + _tmp10_ = self->flags; + _tmp11_ = _spice_protocol_controller_menu_flags_to_string (_tmp10_); + _tmp12_ = g_strconcat ("pid: ", _tmp4_, ", id: ", _tmp7_, ", text: \"", _tmp9_, "\", flags: ", _tmp11_, NULL); + _tmp13_ = _tmp12_; + _g_free0 (_tmp7_); + _g_free0 (_tmp4_); + str = _tmp13_; + _tmp14_ = sub; + _tmp15_ = string_to_string (_tmp14_); + _tmp17_ = _tmp16_ = g_strsplit (_tmp15_, "\n", 0); + { + gchar** l_collection = NULL; + gint l_collection_length1 = 0; + gint _l_collection_size_ = 0; + gint l_it = 0; + l_collection = _tmp17_; + l_collection_length1 = _vala_array_length (_tmp16_); + for (l_it = 0; l_it < _vala_array_length (_tmp16_); l_it = l_it + 1) { + gchar* _tmp18_; + gchar* l = NULL; + _tmp18_ = g_strdup (l_collection[l_it]); + l = _tmp18_; + { + const gchar* _tmp19_; + const gchar* _tmp20_; + const gchar* _tmp21_; + const gchar* _tmp22_ = NULL; + gchar* _tmp23_ = NULL; + gchar* _tmp24_; + gchar* _tmp25_; + _tmp19_ = l; + if (g_strcmp0 (_tmp19_, "") == 0) { + _g_free0 (l); + continue; + } + _tmp20_ = str; + _tmp21_ = l; + _tmp22_ = string_to_string (_tmp21_); + _tmp23_ = g_strconcat ("\n ", _tmp22_, NULL); + _tmp24_ = _tmp23_; + _tmp25_ = g_strconcat (_tmp20_, _tmp24_, NULL); + _g_free0 (str); + str = _tmp25_; + _g_free0 (_tmp24_); + _g_free0 (l); + } + } + l_collection = (_vala_array_free (l_collection, l_collection_length1, (GDestroyNotify) g_free), NULL); + } + result = str; + _g_free0 (sub); + return result; +} + + +static void spice_ctrl_menu_item_class_init (SpiceCtrlMenuItemClass * klass) { + spice_ctrl_menu_item_parent_class = g_type_class_peek_parent (klass); + G_OBJECT_CLASS (klass)->finalize = spice_ctrl_menu_item_finalize; +} + + +static void spice_ctrl_menu_item_instance_init (SpiceCtrlMenuItem * self) { +} + + +static void spice_ctrl_menu_item_finalize (GObject* obj) { + SpiceCtrlMenuItem * self; + self = G_TYPE_CHECK_INSTANCE_CAST (obj, SPICE_CTRL_TYPE_MENU_ITEM, SpiceCtrlMenuItem); + _g_object_unref0 (self->submenu); + _g_free0 (self->text); + _g_free0 (self->accel); + G_OBJECT_CLASS (spice_ctrl_menu_item_parent_class)->finalize (obj); +} + + +GType spice_ctrl_menu_item_get_type (void) { + static volatile gsize spice_ctrl_menu_item_type_id__volatile = 0; + if (g_once_init_enter (&spice_ctrl_menu_item_type_id__volatile)) { + static const GTypeInfo g_define_type_info = { sizeof (SpiceCtrlMenuItemClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) spice_ctrl_menu_item_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SpiceCtrlMenuItem), 0, (GInstanceInitFunc) spice_ctrl_menu_item_instance_init, NULL }; + GType spice_ctrl_menu_item_type_id; + spice_ctrl_menu_item_type_id = g_type_register_static (G_TYPE_OBJECT, "SpiceCtrlMenuItem", &g_define_type_info, 0); + g_once_init_leave (&spice_ctrl_menu_item_type_id__volatile, spice_ctrl_menu_item_type_id); + } + return spice_ctrl_menu_item_type_id__volatile; +} + + +static void _g_object_unref0_ (gpointer var) { + (var == NULL) ? NULL : (var = (g_object_unref (var), NULL)); +} + + +static void _g_list_free__g_object_unref0_ (GList* self) { + g_list_foreach (self, (GFunc) _g_object_unref0_, NULL); + g_list_free (self); +} + + +static gpointer _g_object_ref0 (gpointer self) { + return self ? g_object_ref (self) : NULL; +} + + +SpiceCtrlMenu* spice_ctrl_menu_find_id (SpiceCtrlMenu* self, gint id) { + SpiceCtrlMenu* result = NULL; + gint _tmp0_; + GList* _tmp2_; + g_return_val_if_fail (self != NULL, NULL); + _tmp0_ = id; + if (_tmp0_ == 0) { + SpiceCtrlMenu* _tmp1_; + _tmp1_ = _g_object_ref0 (self); + result = _tmp1_; + return result; + } + _tmp2_ = self->items; + { + GList* item_collection = NULL; + GList* item_it = NULL; + item_collection = _tmp2_; + for (item_it = item_collection; item_it != NULL; item_it = item_it->next) { + SpiceCtrlMenuItem* _tmp3_; + SpiceCtrlMenuItem* item = NULL; + _tmp3_ = _g_object_ref0 ((SpiceCtrlMenuItem*) item_it->data); + item = _tmp3_; + { + SpiceCtrlMenuItem* _tmp4_; + gint _tmp5_; + gint _tmp6_; + SpiceCtrlMenuItem* _tmp10_; + SpiceCtrlMenu* _tmp11_; + gint _tmp12_; + SpiceCtrlMenu* _tmp13_ = NULL; + SpiceCtrlMenu* menu; + SpiceCtrlMenu* _tmp14_; + _tmp4_ = item; + _tmp5_ = _tmp4_->id; + _tmp6_ = id; + if (_tmp5_ == _tmp6_) { + SpiceCtrlMenuItem* _tmp7_; + SpiceCtrlMenu* _tmp8_; + SpiceCtrlMenu* _tmp9_; + _tmp7_ = item; + _tmp8_ = _tmp7_->submenu; + _tmp9_ = _g_object_ref0 (_tmp8_); + result = _tmp9_; + _g_object_unref0 (item); + return result; + } + _tmp10_ = item; + _tmp11_ = _tmp10_->submenu; + _tmp12_ = id; + _tmp13_ = spice_ctrl_menu_find_id (_tmp11_, _tmp12_); + menu = _tmp13_; + _tmp14_ = menu; + if (_tmp14_ != NULL) { + result = menu; + _g_object_unref0 (item); + return result; + } + _g_object_unref0 (menu); + _g_object_unref0 (item); + } + } + } + result = NULL; + return result; +} + + +SpiceCtrlMenu* spice_ctrl_menu_construct_from_string (GType object_type, const gchar* str) { + SpiceCtrlMenu * self = NULL; + const gchar* _tmp0_; + const gchar* _tmp1_; + gchar** _tmp2_; + gchar** _tmp3_ = NULL; + GError * _inner_error_ = NULL; + g_return_val_if_fail (str != NULL, NULL); + self = (SpiceCtrlMenu*) g_object_new (object_type, NULL); + _tmp0_ = str; + _tmp1_ = CONTROLLER_MENU_ITEM_DELIMITER; + _tmp3_ = _tmp2_ = g_strsplit (_tmp0_, _tmp1_, 0); + { + gchar** itemstr_collection = NULL; + gint itemstr_collection_length1 = 0; + gint _itemstr_collection_size_ = 0; + gint itemstr_it = 0; + itemstr_collection = _tmp3_; + itemstr_collection_length1 = _vala_array_length (_tmp2_); + for (itemstr_it = 0; itemstr_it < _vala_array_length (_tmp2_); itemstr_it = itemstr_it + 1) { + gchar* _tmp4_; + gchar* itemstr = NULL; + _tmp4_ = g_strdup (itemstr_collection[itemstr_it]); + itemstr = _tmp4_; + { + { + const gchar* _tmp5_; + gint _tmp6_; + gint _tmp7_; + const gchar* _tmp8_; + SpiceCtrlMenuItem* _tmp9_; + SpiceCtrlMenuItem* item; + SpiceCtrlMenuItem* _tmp10_; + gint _tmp11_; + SpiceCtrlMenu* _tmp12_ = NULL; + SpiceCtrlMenu* parent; + SpiceCtrlMenu* _tmp13_; + SpiceCtrlMenu* _tmp15_; + SpiceCtrlMenuItem* _tmp16_; + SpiceCtrlMenuItem* _tmp17_; + _tmp5_ = itemstr; + _tmp6_ = strlen (_tmp5_); + _tmp7_ = _tmp6_; + if (_tmp7_ == 0) { + _g_free0 (itemstr); + continue; + } + _tmp8_ = itemstr; + _tmp9_ = spice_ctrl_menu_item_new_from_string (_tmp8_, &_inner_error_); + item = _tmp9_; + if (_inner_error_ != NULL) { + if (_inner_error_->domain == SPICE_CTRL_ERROR) { + goto __catch0_spice_ctrl_error; + } + _g_free0 (itemstr); + itemstr_collection = (_vala_array_free (itemstr_collection, itemstr_collection_length1, (GDestroyNotify) g_free), NULL); + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); + g_clear_error (&_inner_error_); + return NULL; + } + _tmp10_ = item; + _tmp11_ = _tmp10_->parent_id; + _tmp12_ = spice_ctrl_menu_find_id (self, _tmp11_); + parent = _tmp12_; + _tmp13_ = parent; + if (_tmp13_ == NULL) { + GError* _tmp14_; + _tmp14_ = g_error_new_literal (SPICE_CTRL_ERROR, SPICE_CTRL_ERROR_VALUE, "Invalid parent menu id"); + _inner_error_ = _tmp14_; + _g_object_unref0 (parent); + _g_object_unref0 (item); + if (_inner_error_->domain == SPICE_CTRL_ERROR) { + goto __catch0_spice_ctrl_error; + } + _g_object_unref0 (parent); + _g_object_unref0 (item); + _g_free0 (itemstr); + itemstr_collection = (_vala_array_free (itemstr_collection, itemstr_collection_length1, (GDestroyNotify) g_free), NULL); + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); + g_clear_error (&_inner_error_); + return NULL; + } + _tmp15_ = parent; + _tmp16_ = item; + _tmp17_ = _g_object_ref0 (_tmp16_); + _tmp15_->items = g_list_append (_tmp15_->items, _tmp17_); + _g_object_unref0 (parent); + _g_object_unref0 (item); + } + goto __finally0; + __catch0_spice_ctrl_error: + { + GError* e = NULL; + GError* _tmp18_; + const gchar* _tmp19_; + e = _inner_error_; + _inner_error_ = NULL; + _tmp18_ = e; + _tmp19_ = _tmp18_->message; + g_warning ("menu.vala:95: %s", _tmp19_); + _g_error_free0 (e); + } + __finally0: + if (_inner_error_ != NULL) { + _g_free0 (itemstr); + itemstr_collection = (_vala_array_free (itemstr_collection, itemstr_collection_length1, (GDestroyNotify) g_free), NULL); + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); + g_clear_error (&_inner_error_); + return NULL; + } + _g_free0 (itemstr); + } + } + itemstr_collection = (_vala_array_free (itemstr_collection, itemstr_collection_length1, (GDestroyNotify) g_free), NULL); + } + return self; +} + + +SpiceCtrlMenu* spice_ctrl_menu_new_from_string (const gchar* str) { + return spice_ctrl_menu_construct_from_string (SPICE_CTRL_TYPE_MENU, str); +} + + +gchar* spice_ctrl_menu_to_string (SpiceCtrlMenu* self) { + gchar* result = NULL; + gchar* _tmp0_; + gchar* str; + GList* _tmp1_; + g_return_val_if_fail (self != NULL, NULL); + _tmp0_ = g_strdup (""); + str = _tmp0_; + _tmp1_ = self->items; + { + GList* i_collection = NULL; + GList* i_it = NULL; + i_collection = _tmp1_; + for (i_it = i_collection; i_it != NULL; i_it = i_it->next) { + SpiceCtrlMenuItem* _tmp2_; + SpiceCtrlMenuItem* i = NULL; + _tmp2_ = _g_object_ref0 ((SpiceCtrlMenuItem*) i_it->data); + i = _tmp2_; + { + const gchar* _tmp3_; + SpiceCtrlMenuItem* _tmp4_; + gchar* _tmp5_ = NULL; + gchar* _tmp6_; + gchar* _tmp7_ = NULL; + gchar* _tmp8_; + gchar* _tmp9_; + _tmp3_ = str; + _tmp4_ = i; + _tmp5_ = spice_ctrl_menu_item_to_string (_tmp4_); + _tmp6_ = _tmp5_; + _tmp7_ = g_strconcat ("\n", _tmp6_, NULL); + _tmp8_ = _tmp7_; + _tmp9_ = g_strconcat (_tmp3_, _tmp8_, NULL); + _g_free0 (str); + str = _tmp9_; + _g_free0 (_tmp8_); + _g_free0 (_tmp6_); + _g_object_unref0 (i); + } + } + } + result = str; + return result; +} + + +SpiceCtrlMenu* spice_ctrl_menu_construct (GType object_type) { + SpiceCtrlMenu * self = NULL; + self = (SpiceCtrlMenu*) g_object_new (object_type, NULL); + return self; +} + + +SpiceCtrlMenu* spice_ctrl_menu_new (void) { + return spice_ctrl_menu_construct (SPICE_CTRL_TYPE_MENU); +} + + +static void spice_ctrl_menu_class_init (SpiceCtrlMenuClass * klass) { + spice_ctrl_menu_parent_class = g_type_class_peek_parent (klass); + G_OBJECT_CLASS (klass)->finalize = spice_ctrl_menu_finalize; +} + + +static void spice_ctrl_menu_instance_init (SpiceCtrlMenu * self) { +} + + +static void spice_ctrl_menu_finalize (GObject* obj) { + SpiceCtrlMenu * self; + self = G_TYPE_CHECK_INSTANCE_CAST (obj, SPICE_CTRL_TYPE_MENU, SpiceCtrlMenu); + __g_list_free__g_object_unref0_0 (self->items); + G_OBJECT_CLASS (spice_ctrl_menu_parent_class)->finalize (obj); +} + + +GType spice_ctrl_menu_get_type (void) { + static volatile gsize spice_ctrl_menu_type_id__volatile = 0; + if (g_once_init_enter (&spice_ctrl_menu_type_id__volatile)) { + static const GTypeInfo g_define_type_info = { sizeof (SpiceCtrlMenuClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) spice_ctrl_menu_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SpiceCtrlMenu), 0, (GInstanceInitFunc) spice_ctrl_menu_instance_init, NULL }; + GType spice_ctrl_menu_type_id; + spice_ctrl_menu_type_id = g_type_register_static (G_TYPE_OBJECT, "SpiceCtrlMenu", &g_define_type_info, 0); + g_once_init_leave (&spice_ctrl_menu_type_id__volatile, spice_ctrl_menu_type_id); + } + return spice_ctrl_menu_type_id__volatile; +} + + +static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { + if ((array != NULL) && (destroy_func != NULL)) { + int i; + for (i = 0; i < array_length; i = i + 1) { + if (((gpointer*) array)[i] != NULL) { + destroy_func (((gpointer*) array)[i]); + } + } + } +} + + +static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { + _vala_array_destroy (array, array_length, destroy_func); + g_free (array); +} + + +static gint _vala_array_length (gpointer array) { + int length; + length = 0; + if (array) { + while (((gpointer*) array)[length]) { + length++; + } + } + return length; +} + + + diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/menu.vala b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/menu.vala new file mode 100644 index 0000000..7e8fc16 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/menu.vala @@ -0,0 +1,108 @@ +// Copyright (C) 2011 Red Hat, Inc. + +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. + +// This library 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 +// Lesser General Public License for more details. + +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, see . + +using GLib; +using Custom; +using SpiceProtocol.Controller; + +namespace SpiceCtrl { + +public class MenuItem: Object { + + public Menu submenu; + public int parent_id; + public int id; + public string text; + public string accel; + public SpiceProtocol.Controller.MenuFlags flags; + + public MenuItem (int id, string text, SpiceProtocol.Controller.MenuFlags flags) { + this.id = id; + this.text = text; + this.flags = flags; + } + + public MenuItem.from_string (string str) throws SpiceCtrl.Error { + var params = str.split (SpiceProtocol.Controller.MENU_PARAM_DELIMITER); + if (warn_if (params.length != 5)) + throw new SpiceCtrl.Error.VALUE(""); /* Vala: why is it mandatory to give a string? */ + parent_id = int.parse (params[0]); + id = int.parse (params[1]); + var textaccel = params[2].split ("\t"); + text = textaccel[0]; + if (textaccel.length > 1) + accel = textaccel[1]; + flags = (SpiceProtocol.Controller.MenuFlags)int.parse (params[3]); + + submenu = new Menu (); + } + + public string to_string () { + var sub = submenu.to_string (); + var str = @"pid: $parent_id, id: $id, text: \"$text\", flags: $flags"; + foreach (var l in sub.to_string ().split ("\n")) { + if (l == "") + continue; + str += @"\n $l"; + } + return str; + } +} + +public class Menu: Object { + + public List items; + + public Menu? find_id (int id) { + if (id == 0) + return this; + + foreach (var item in items) { + if (item.id == id) + return item.submenu; + + var menu = item.submenu.find_id (id); + if (menu != null) + return menu; + } + + return null; + } + + public Menu.from_string (string str) { + foreach (var itemstr in str.split (SpiceProtocol.Controller.MENU_ITEM_DELIMITER)) { + try { + if (itemstr.length == 0) + continue; + var item = new MenuItem.from_string (itemstr); + var parent = find_id (item.parent_id); + if (parent == null) + throw new SpiceCtrl.Error.VALUE("Invalid parent menu id"); + parent.items.append (item); + } catch (SpiceCtrl.Error e) { + warning (e.message); + } + } + } + + public string to_string () { + var str = ""; + foreach (var i in items) + str += @"\n$i"; + return str; + } +} + +} // SpiceCtrl diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/namedpipe.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/namedpipe.c new file mode 100644 index 0000000..6859770 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/namedpipe.c @@ -0,0 +1,270 @@ +/* + Copyright (C) 2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ + +#include "namedpipe.h" + +#include +#include +#include +#include + +static void spice_named_pipe_initable_iface_init (GInitableIface *iface); +static gboolean spice_named_pipe_initable_init (GInitable *initable, + GCancellable *cancellable, + GError **error); + +G_DEFINE_TYPE_WITH_CODE (SpiceNamedPipe, spice_named_pipe, G_TYPE_OBJECT, + G_IMPLEMENT_INTERFACE (G_TYPE_INITABLE, + spice_named_pipe_initable_iface_init)); + +enum +{ + PROP_0, + PROP_NAME, + PROP_HANDLE, +}; + +struct _SpiceNamedPipePrivate +{ + gchar * name; + GError * construct_error; + guint inited : 1; + HANDLE handle; +}; + +static void +spice_named_pipe_finalize (GObject *object) +{ + SpiceNamedPipe *np = SPICE_NAMED_PIPE (object); + + g_clear_error (&np->priv->construct_error); + + g_free (np->priv->name); + np->priv->name = NULL; + + if (np->priv->handle) + { + CloseHandle (np->priv->handle); + np->priv->handle = NULL; + } + + if (G_OBJECT_CLASS (spice_named_pipe_parent_class)->finalize) + G_OBJECT_CLASS (spice_named_pipe_parent_class)->finalize (object); +} + +#define DEFAULT_PIPE_BUF_SIZE 4096 + +static void +spice_named_pipe_constructed (GObject *object) +{ + SpiceNamedPipe *np = SPICE_NAMED_PIPE (object); + + if (np->priv->handle) + /* TODO: find a way to ensure user provided handle is a named + pipe, in overlapped mode */ + goto end; + + np->priv->handle = CreateNamedPipe (np->priv->name, + PIPE_ACCESS_DUPLEX | FILE_FLAG_OVERLAPPED, + PIPE_TYPE_BYTE | PIPE_READMODE_BYTE | PIPE_WAIT, + PIPE_UNLIMITED_INSTANCES, + DEFAULT_PIPE_BUF_SIZE, DEFAULT_PIPE_BUF_SIZE, + 0, NULL); + + if (np->priv->handle == INVALID_HANDLE_VALUE) + { + int errsv = GetLastError (); + gchar *emsg = g_win32_error_message (errsv); + + g_set_error (&np->priv->construct_error, + G_IO_ERROR, + g_io_error_from_win32_error (errsv), + "Error CreateNamedPipe(): %s", + emsg); + + g_free (emsg); + return; + } + + /* TODO: we could have a client backlog by creating many pipes, the + maximum number of outstanding connections.. or we could just let + the named_pipe_listener take multiple NamedPipe instances */ +end: + g_assert (np->priv->handle != INVALID_HANDLE_VALUE); + return; +} + +static void +spice_named_pipe_get_property (GObject *object, + guint prop_id, + GValue *value, + GParamSpec *pspec) +{ + SpiceNamedPipe *np = SPICE_NAMED_PIPE (object); + + switch (prop_id) + { + case PROP_NAME: + g_value_set_string (value, np->priv->name); + break; + case PROP_HANDLE: + g_value_set_pointer (value, np->priv->handle); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); + } +} + +static void +spice_named_pipe_set_property (GObject *object, + guint prop_id, + const GValue *value, + GParamSpec *pspec) +{ + SpiceNamedPipe *np = SPICE_NAMED_PIPE (object); + + switch (prop_id) + { + case PROP_NAME: + g_free (np->priv->name); + np->priv->name = g_value_dup_string (value); + break; + case PROP_HANDLE: + np->priv->handle = g_value_get_pointer (value); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); + } +} + +static void +spice_named_pipe_class_init (SpiceNamedPipeClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS (klass); + + g_type_class_add_private (klass, sizeof (SpiceNamedPipePrivate)); + + gobject_class->set_property = spice_named_pipe_set_property; + gobject_class->get_property = spice_named_pipe_get_property; + gobject_class->finalize = spice_named_pipe_finalize; + gobject_class->constructed = spice_named_pipe_constructed; + + g_object_class_install_property (gobject_class, PROP_NAME, + g_param_spec_string ("name", + "Pipe Name", + "The NamedPipe name", + NULL, + G_PARAM_CONSTRUCT_ONLY | + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property (gobject_class, PROP_HANDLE, + g_param_spec_pointer ("handle", + "Pipe handle", + "The pipe handle", + G_PARAM_CONSTRUCT_ONLY | + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); +} + +static void +spice_named_pipe_init (SpiceNamedPipe *np) +{ + np->priv = G_TYPE_INSTANCE_GET_PRIVATE (np, + SPICE_TYPE_NAMED_PIPE, + SpiceNamedPipePrivate); +} + +static gboolean +spice_named_pipe_initable_init (GInitable *initable, + GCancellable *cancellable, + GError **error) +{ + SpiceNamedPipe *np; + + g_return_val_if_fail (SPICE_IS_NAMED_PIPE (initable), FALSE); + + np = SPICE_NAMED_PIPE (initable); + + if (cancellable != NULL) + { + g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, + "Cancellable initialization not supported"); + return FALSE; + } + + np->priv->inited = TRUE; + + if (np->priv->construct_error) + { + if (error) + *error = g_error_copy (np->priv->construct_error); + return FALSE; + } + + + return TRUE; +} + +static void +spice_named_pipe_initable_iface_init (GInitableIface *iface) +{ + iface->init = spice_named_pipe_initable_init; +} + +SpiceNamedPipe * +spice_named_pipe_new (const gchar *name, GError **error) +{ + return SPICE_NAMED_PIPE (g_initable_new (SPICE_TYPE_NAMED_PIPE, + NULL, error, + "name", name, + NULL)); +} + +void * +spice_named_pipe_get_handle (SpiceNamedPipe *namedpipe) +{ + g_return_val_if_fail (SPICE_IS_NAMED_PIPE (namedpipe), NULL); + + return namedpipe->priv->handle; +} + +gboolean +spice_named_pipe_close (SpiceNamedPipe *np, + GError **error) +{ + BOOL res; + + g_return_val_if_fail (SPICE_IS_NAMED_PIPE (np), FALSE); + + res = CloseHandle (np->priv->handle); + np->priv->handle = NULL; + if (!res) + { + int errsv = GetLastError (); + gchar *emsg = g_win32_error_message (errsv); + + g_set_error (error, G_IO_ERROR, + g_io_error_from_win32_error (errsv), + "Error closing handle: %s", + emsg); + g_free (emsg); + return FALSE; + } + + return TRUE; +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/namedpipe.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/namedpipe.h new file mode 100644 index 0000000..e0e873b --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/namedpipe.h @@ -0,0 +1,59 @@ +/* + Copyright (C) 2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __NAMED_PIPE_H__ +#define __NAMED_PIPE_H__ + +#include + +G_BEGIN_DECLS + +#define SPICE_TYPE_NAMED_PIPE (spice_named_pipe_get_type ()) +#define SPICE_NAMED_PIPE(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \ + SPICE_TYPE_NAMED_PIPE, SpiceNamedPipe)) +#define SPICE_NAMED_PIPE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), \ + SPICE_TYPE_NAMED_PIPE, SpiceNamedPipeClass)) +#define SPICE_IS_NAMED_PIPE(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \ + SPICE_TYPE_NAMED_PIPE)) +#define SPICE_IS_NAMED_PIPE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), \ + SPICE_TYPE_NAMED_PIPE)) +#define SPICE_NAMED_PIPE_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), \ + SPICE_TYPE_NAMED_PIPE, SpiceNamedPipeClass)) + +typedef struct _SpiceNamedPipe SpiceNamedPipe; +typedef struct _SpiceNamedPipePrivate SpiceNamedPipePrivate; +typedef struct _SpiceNamedPipeClass SpiceNamedPipeClass; + +struct _SpiceNamedPipeClass +{ + GObjectClass parent_class; +}; + +struct _SpiceNamedPipe +{ + GObject parent_instance; + SpiceNamedPipePrivate *priv; +}; + +GType spice_named_pipe_get_type (void) G_GNUC_CONST; + +SpiceNamedPipe * spice_named_pipe_new (const gchar *name, GError **error); +void * spice_named_pipe_get_handle(SpiceNamedPipe *namedpipe); +gboolean spice_named_pipe_close (SpiceNamedPipe *namedpipe, + GError **error); +G_END_DECLS + +#endif /* __NAMED_PIPE_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/namedpipeconnection.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/namedpipeconnection.c new file mode 100644 index 0000000..1e84e9f --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/namedpipeconnection.c @@ -0,0 +1,245 @@ +/* + Copyright (C) 2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ + +#include "namedpipeconnection.h" + +#include +#include +#include +#include + +#include +#include + +G_DEFINE_TYPE (SpiceNamedPipeConnection, spice_named_pipe_connection, + G_TYPE_IO_STREAM) + +enum +{ + PROP_0, + PROP_NAMED_PIPE, +}; + +struct _SpiceNamedPipeConnectionPrivate +{ + GInputStream *input_stream; + GOutputStream *output_stream; + SpiceNamedPipe *namedpipe; + gboolean in_dispose; +}; + +static void +spice_named_pipe_connection_init (SpiceNamedPipeConnection *connection) +{ + connection->priv = G_TYPE_INSTANCE_GET_PRIVATE (connection, + SPICE_TYPE_NAMED_PIPE_CONNECTION, + SpiceNamedPipeConnectionPrivate); +} + +static void +spice_named_pipe_connection_get_property (GObject *object, + guint prop_id, + GValue *value, + GParamSpec *pspec) +{ + SpiceNamedPipeConnection *c = SPICE_NAMED_PIPE_CONNECTION (object); + + switch (prop_id) + { + case PROP_NAMED_PIPE: + g_return_if_fail (c->priv->namedpipe == NULL); + g_value_set_object (value, c->priv->namedpipe); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); + } +} + +static void +spice_named_pipe_connection_set_property (GObject *object, + guint prop_id, + const GValue *value, + GParamSpec *pspec) +{ + SpiceNamedPipeConnection *c = SPICE_NAMED_PIPE_CONNECTION (object); + + switch (prop_id) + { + case PROP_NAMED_PIPE: + c->priv->namedpipe = g_value_get_object (value); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); + } +} + +static GInputStream * +spice_named_pipe_connection_get_input_stream (GIOStream *io_stream) +{ + SpiceNamedPipeConnection *c = SPICE_NAMED_PIPE_CONNECTION (io_stream); + HANDLE h = spice_named_pipe_get_handle (c->priv->namedpipe); + + g_return_val_if_fail (h != NULL, NULL); + + if (c->priv->input_stream == NULL) + c->priv->input_stream = g_win32_input_stream_new (h, FALSE); + + return c->priv->input_stream; +} + +static GOutputStream * +spice_named_pipe_connection_get_output_stream (GIOStream *io_stream) +{ + SpiceNamedPipeConnection *c = SPICE_NAMED_PIPE_CONNECTION (io_stream); + HANDLE h = spice_named_pipe_get_handle (c->priv->namedpipe); + + g_return_val_if_fail (h != NULL, NULL); + + if (c->priv->output_stream == NULL) + c->priv->output_stream = g_win32_output_stream_new (h, FALSE); + + return c->priv->output_stream; +} + +static void +spice_named_pipe_connection_dispose (GObject *object) +{ + SpiceNamedPipeConnection *c = SPICE_NAMED_PIPE_CONNECTION (object); + + c->priv->in_dispose = TRUE; + + if (G_OBJECT_CLASS (spice_named_pipe_connection_parent_class)->dispose) + G_OBJECT_CLASS (spice_named_pipe_connection_parent_class)->dispose (object); + + c->priv->in_dispose = FALSE; +} + +static void +spice_named_pipe_connection_finalize (GObject *object) +{ + SpiceNamedPipeConnection *c = SPICE_NAMED_PIPE_CONNECTION (object); + + if (c->priv->output_stream) + { + g_object_unref (c->priv->output_stream); + c->priv->output_stream = NULL; + } + + if (c->priv->input_stream) + { + g_object_unref (c->priv->input_stream); + c->priv->input_stream = NULL; + } + + g_object_unref (c->priv->namedpipe); + + if (G_OBJECT_CLASS (spice_named_pipe_connection_parent_class)->finalize) + G_OBJECT_CLASS (spice_named_pipe_connection_parent_class)->finalize (object); +} + +static gboolean +spice_named_pipe_connection_close (GIOStream *stream, + GCancellable *cancellable, + GError **error) +{ + SpiceNamedPipeConnection *c = SPICE_NAMED_PIPE_CONNECTION (stream); + + if (c->priv->output_stream) + g_output_stream_close (c->priv->output_stream, cancellable, NULL); + if (c->priv->input_stream) + g_input_stream_close (c->priv->input_stream, cancellable, NULL); + + /* Don't close the underlying socket if this is being called + * as part of dispose(); when destroying the GSocketConnection, + * we only want to close the socket if we're holding the last + * reference on it, and in that case it will close itself when + * we unref namedpipe in finalize(). + */ + if (c->priv->in_dispose) + return TRUE; + + return spice_named_pipe_close (c->priv->namedpipe, error); +} + +static void +spice_named_pipe_connection_close_async (GIOStream *stream, + int io_priority, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + GSimpleAsyncResult *res; + GIOStreamClass *class; + GError *error; + + class = G_IO_STREAM_GET_CLASS (stream); + + /* namedpipe close is not blocking, just do it! */ + error = NULL; + if (class->close_fn && + !class->close_fn (stream, cancellable, &error)) + { + g_simple_async_report_take_gerror_in_idle (G_OBJECT (stream), + callback, user_data, + error); + return; + } + + res = g_simple_async_result_new (G_OBJECT (stream), + callback, + user_data, + spice_named_pipe_connection_close_async); + g_simple_async_result_complete_in_idle (res); + g_object_unref (res); +} + +static gboolean +spice_named_pipe_connection_close_finish (GIOStream *stream, + GAsyncResult *result, + GError **error) +{ + return TRUE; +} + +static void +spice_named_pipe_connection_class_init (SpiceNamedPipeConnectionClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS (klass); + GIOStreamClass *stream_class = G_IO_STREAM_CLASS (klass); + + g_type_class_add_private (klass, sizeof (SpiceNamedPipeConnectionPrivate)); + + gobject_class->set_property = spice_named_pipe_connection_set_property; + gobject_class->get_property = spice_named_pipe_connection_get_property; + gobject_class->dispose = spice_named_pipe_connection_dispose; + gobject_class->finalize = spice_named_pipe_connection_finalize; + + stream_class->get_input_stream = spice_named_pipe_connection_get_input_stream; + stream_class->get_output_stream = spice_named_pipe_connection_get_output_stream; + stream_class->close_fn = spice_named_pipe_connection_close; + stream_class->close_async = spice_named_pipe_connection_close_async; + stream_class->close_finish = spice_named_pipe_connection_close_finish; + + g_object_class_install_property (gobject_class, PROP_NAMED_PIPE, + g_param_spec_object ("namedpipe", + "NamedPipe", + "The associated NamedPipe", + SPICE_TYPE_NAMED_PIPE, + G_PARAM_CONSTRUCT_ONLY | + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/namedpipeconnection.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/namedpipeconnection.h new file mode 100644 index 0000000..86f0be6 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/namedpipeconnection.h @@ -0,0 +1,56 @@ +/* + Copyright (C) 2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __NAMED_PIPE_CONNECTION_H__ +#define __NAMED_PIPE_CONNECTION_H__ + +#include +#include "namedpipe.h" + +G_BEGIN_DECLS + +#define SPICE_TYPE_NAMED_PIPE_CONNECTION (spice_named_pipe_connection_get_type ()) +#define SPICE_NAMED_PIPE_CONNECTION(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \ + SPICE_TYPE_NAMED_PIPE_CONNECTION, SpiceNamedPipeConnection)) +#define SPICE_NAMED_PIPE_CONNECTION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), \ + SPICE_TYPE_NAMED_PIPE_CONNECTION, SpiceNamedPipeConnectionClass)) +#define SPICE_IS_NAMED_PIPE_CONNECTION(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \ + SPICE_TYPE_NAMED_PIPE_CONNECTION)) +#define SPICE_IS_NAMED_PIPE_CONNECTION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), \ + SPICE_TYPE_NAMED_PIPE_CONNECTION)) +#define SPICE_NAMED_PIPE_CONNECTION_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), \ + SPICE_TYPE_NAMED_PIPE_CONNECTION, SpiceNamedPipeConnectionClass)) + +typedef struct _SpiceNamedPipeConnection SpiceNamedPipeConnection; +typedef struct _SpiceNamedPipeConnectionPrivate SpiceNamedPipeConnectionPrivate; +typedef struct _SpiceNamedPipeConnectionClass SpiceNamedPipeConnectionClass; + +struct _SpiceNamedPipeConnectionClass +{ + GIOStreamClass parent_class; +}; + +struct _SpiceNamedPipeConnection +{ + GIOStream parent_instance; + SpiceNamedPipeConnectionPrivate *priv; +}; + +GType spice_named_pipe_connection_get_type (void) G_GNUC_CONST; + +G_END_DECLS + +#endif /* __NAMED_PIPE_CONNECTION_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/namedpipelistener.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/namedpipelistener.c new file mode 100644 index 0000000..28b2a4d --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/namedpipelistener.c @@ -0,0 +1,329 @@ +/* + Copyright (C) 2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ + +#include "namedpipelistener.h" + +#include +#include +#include +#include + +static GSource *g_win32_handle_source_add (HANDLE handle, + GSourceFunc callback, + gpointer user_data); + +G_DEFINE_TYPE (SpiceNamedPipeListener, spice_named_pipe_listener, G_TYPE_OBJECT); + +struct _SpiceNamedPipeListenerPrivate +{ + GQueue namedpipes; +}; + +static void +spice_named_pipe_listener_dispose (GObject *object) +{ + SpiceNamedPipeListener *listener = SPICE_NAMED_PIPE_LISTENER (object); + SpiceNamedPipe *p; + + while ((p = g_queue_pop_head (&listener->priv->namedpipes)) != NULL) + g_object_unref (p); + + g_return_if_fail (g_queue_get_length (&listener->priv->namedpipes) == 0); + g_queue_clear (&listener->priv->namedpipes); + + if (G_OBJECT_CLASS (spice_named_pipe_listener_parent_class)->dispose) + G_OBJECT_CLASS (spice_named_pipe_listener_parent_class)->dispose (object); +} + +static void +spice_named_pipe_listener_class_init (SpiceNamedPipeListenerClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS (klass); + + g_type_class_add_private (klass, sizeof (SpiceNamedPipeListenerPrivate)); + + gobject_class->dispose = spice_named_pipe_listener_dispose; +} + +static void +spice_named_pipe_listener_init (SpiceNamedPipeListener *listener) +{ + listener->priv = G_TYPE_INSTANCE_GET_PRIVATE (listener, + SPICE_TYPE_NAMED_PIPE_LISTENER, + SpiceNamedPipeListenerPrivate); + + g_queue_init (&listener->priv->namedpipes); +} + +void +spice_named_pipe_listener_add_named_pipe (SpiceNamedPipeListener *listener, + SpiceNamedPipe *namedpipe) +{ + g_return_if_fail (SPICE_IS_NAMED_PIPE_LISTENER (listener)); + g_return_if_fail (SPICE_IS_NAMED_PIPE (namedpipe)); + + g_queue_push_head (&listener->priv->namedpipes, g_object_ref (namedpipe)); +} + +typedef struct { + GCancellable *cancellable; + GSource *source; + GSimpleAsyncResult *async_result; + SpiceNamedPipe *np; + OVERLAPPED overlapped; +} ConnectData; + +static void +connect_cancelled (GCancellable *cancellable, + gpointer user_data) +{ + ConnectData *c = user_data; + GError *error = NULL; + + g_source_destroy (c->source); + c->source = NULL; + + g_cancellable_set_error_if_cancelled (cancellable, &error); + g_simple_async_result_set_from_error (c->async_result, error); + g_error_free (error); + + g_simple_async_result_complete (c->async_result); + g_object_unref (c->async_result); +} + +static gboolean +connect_ready (gpointer user_data) +{ + ConnectData *c = user_data; + gulong cbret; + gboolean success; + + /* Now complete the result (assuming it wasn't already completed) */ + g_return_val_if_fail (c->async_result != NULL, FALSE); + + success = GetOverlappedResult (c->np, &c->overlapped, &cbret, FALSE); + if (!success) + { + int errsv = GetLastError (); + gchar *emsg = g_win32_error_message (errsv); + + g_simple_async_result_set_error (c->async_result, + G_IO_ERROR, + G_IO_ERROR_INVALID_ARGUMENT, + "GetOverlappedResult(): %s %d", + emsg, errsv); + } + + g_simple_async_result_complete (c->async_result); + g_object_unref (c->async_result); /* TODO: that sould free c? */ + + return FALSE; +} + +static void +connect_data_free (gpointer data) +{ + ConnectData *c = data; + + if (c->source) + { + g_source_destroy (c->source); + g_source_unref (c->source); + c->source = NULL; + } + if (c->cancellable) + { + g_signal_handlers_disconnect_by_func (c->cancellable, connect_cancelled, c); + g_object_unref (c->cancellable); + c->cancellable = NULL; + } + + if (c->async_result) /* this is only a weak reference */ + c->async_result = NULL; + + if (c->overlapped.hEvent != NULL) + { + CloseHandle (c->overlapped.hEvent); + c->overlapped.hEvent = NULL; + } + + if (c->np != NULL) + { + g_object_unref (c->np); + c->np = NULL; + } + + g_free (c); +} + +void +spice_named_pipe_listener_accept_async (SpiceNamedPipeListener *listener, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + ConnectData *c; + SpiceNamedPipe *namedpipe; + + g_return_if_fail (SPICE_IS_NAMED_PIPE_LISTENER (listener)); + + namedpipe = SPICE_NAMED_PIPE (g_queue_pop_head (&listener->priv->namedpipes)); + /* do not unref, we keep that ref */ + g_return_if_fail (namedpipe != NULL); + + c = g_new0 (ConnectData, 1); + c->np = namedpipe; /* transfer what used to be the avail_namedpipes ref */ + c->async_result = g_simple_async_result_new (G_OBJECT (listener), callback, user_data, + spice_named_pipe_listener_accept_async); + c->overlapped.hEvent = CreateEvent (NULL, /* default security attribute */ + TRUE, /* manual-reset event */ + TRUE, /* initial state = signaled */ + NULL); /* unnamed event object */ + g_simple_async_result_set_op_res_gpointer (c->async_result, c, connect_data_free); + + if (ConnectNamedPipe (spice_named_pipe_get_handle (namedpipe), &c->overlapped) != 0) + { + /* we shouldn't get there if the listener is in non-blocking */ + g_warn_if_reached (); + } + + switch (GetLastError ()) + { + case ERROR_SUCCESS: + case ERROR_IO_PENDING: + break; + case ERROR_PIPE_CONNECTED: + g_simple_async_result_complete_in_idle (c->async_result); + g_object_unref (c->async_result); + return; + default: + g_simple_async_report_error_in_idle (G_OBJECT (listener), + callback, user_data, + G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT, + "ConnectNamedPipe() failed %ld", GetLastError ()); + g_object_unref (c->async_result); + return; + } + + c->source = g_win32_handle_source_add (c->overlapped.hEvent, + connect_ready, c); + + if (cancellable) + { + c->cancellable = g_object_ref (cancellable); + g_signal_connect (cancellable, "cancelled", + G_CALLBACK (connect_cancelled), c); + } +} + +SpiceNamedPipeConnection * +spice_named_pipe_listener_accept_finish (SpiceNamedPipeListener *listener, + GAsyncResult *result, + GObject **source_object, + GError **error) +{ + GSimpleAsyncResult *simple; + ConnectData *c; + SpiceNamedPipeConnection *connection; + + g_return_val_if_fail (SPICE_IS_NAMED_PIPE_LISTENER (listener), NULL); + g_return_val_if_fail (G_IS_SIMPLE_ASYNC_RESULT (result), NULL); + g_return_val_if_fail (g_simple_async_result_is_valid (result, G_OBJECT (listener), + spice_named_pipe_listener_accept_async), + NULL); + + simple = G_SIMPLE_ASYNC_RESULT (result); + if (g_simple_async_result_propagate_error (simple, error)) + return NULL; + + c = g_simple_async_result_get_op_res_gpointer (simple); + + connection = g_object_new (SPICE_TYPE_NAMED_PIPE_CONNECTION, + "namedpipe", c->np, + NULL); + return connection; +} + +SpiceNamedPipeListener * +spice_named_pipe_listener_new (void) +{ + return g_object_new (SPICE_TYPE_NAMED_PIPE_LISTENER, NULL); +} + +/* Windows HANDLE GSource - from gio/gwin32resolver.c */ + +typedef struct { + GSource source; + GPollFD pollfd; +} GWin32HandleSource; + +static gboolean +g_win32_handle_source_prepare (GSource *source, + gint *timeout) +{ + *timeout = -1; + return FALSE; +} + +static gboolean +g_win32_handle_source_check (GSource *source) +{ + GWin32HandleSource *hsource = (GWin32HandleSource *)source; + + return hsource->pollfd.revents; +} + +static gboolean +g_win32_handle_source_dispatch (GSource *source, + GSourceFunc callback, + gpointer user_data) +{ + return (*callback) (user_data); +} + +static void +g_win32_handle_source_finalize (GSource *source) +{ + ; +} + +GSourceFuncs g_win32_handle_source_funcs = { + g_win32_handle_source_prepare, + g_win32_handle_source_check, + g_win32_handle_source_dispatch, + g_win32_handle_source_finalize +}; + +static GSource * +g_win32_handle_source_add (HANDLE handle, + GSourceFunc callback, + gpointer user_data) +{ + GWin32HandleSource *hsource; + GSource *source; + + source = g_source_new (&g_win32_handle_source_funcs, sizeof (GWin32HandleSource)); + hsource = (GWin32HandleSource *)source; + hsource->pollfd.fd = (gint)handle; + hsource->pollfd.events = G_IO_IN; + hsource->pollfd.revents = 0; + g_source_add_poll (source, &hsource->pollfd); + + g_source_set_callback (source, callback, user_data, NULL); + g_source_attach (source, g_main_context_get_thread_default ()); + return source; +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/namedpipelistener.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/namedpipelistener.h new file mode 100644 index 0000000..3084d00 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/namedpipelistener.h @@ -0,0 +1,71 @@ +/* + Copyright (C) 2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __NAMED_PIPE_LISTENER_H__ +#define __NAMED_PIPE_LISTENER_H__ + +#include + +#include "namedpipe.h" +#include "namedpipeconnection.h" + +G_BEGIN_DECLS + +#define SPICE_TYPE_NAMED_PIPE_LISTENER (spice_named_pipe_listener_get_type ()) +#define SPICE_NAMED_PIPE_LISTENER(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \ + SPICE_TYPE_NAMED_PIPE_LISTENER, SpiceNamedPipeListener)) +#define SPICE_NAMED_PIPE_LISTENER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), \ + SPICE_TYPE_NAMED_PIPE_LISTENER, SpiceNamedPipeListenerClass)) +#define SPICE_IS_NAMED_PIPE_LISTENER(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \ + SPICE_TYPE_NAMED_PIPE_LISTENER)) +#define SPICE_IS_NAMED_PIPE_LISTENER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), \ + SPICE_TYPE_NAMED_PIPE_LISTENER)) +#define SPICE_NAMED_PIPE_LISTENER_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), \ + SPICE_TYPE_NAMED_PIPE_LISTENER, SpiceNamedPipeListenerClass)) + +typedef struct _SpiceNamedPipeListener SpiceNamedPipeListener; +typedef struct _SpiceNamedPipeListenerPrivate SpiceNamedPipeListenerPrivate; +typedef struct _SpiceNamedPipeListenerClass SpiceNamedPipeListenerClass; + +struct _SpiceNamedPipeListenerClass +{ + GObjectClass parent_class; +}; + +struct _SpiceNamedPipeListener +{ + GObject parent_instance; + SpiceNamedPipeListenerPrivate *priv; +}; + +GType spice_named_pipe_listener_get_type (void) G_GNUC_CONST; + +SpiceNamedPipeListener * spice_named_pipe_listener_new (void); +void spice_named_pipe_listener_add_named_pipe (SpiceNamedPipeListener *listener, + SpiceNamedPipe *namedpipe); +void spice_named_pipe_listener_accept_async (SpiceNamedPipeListener *listener, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +SpiceNamedPipeConnection * spice_named_pipe_listener_accept_finish (SpiceNamedPipeListener *listener, + GAsyncResult *result, + GObject **source_object, + GError **error); + +G_END_DECLS + +#endif /* __NAMED_PIPE_LISTENER_H__ */ + diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/rm.exe.stackdump b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/rm.exe.stackdump new file mode 100644 index 0000000..27ed65c --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/rm.exe.stackdump @@ -0,0 +1,16 @@ +MSYS-1.0.17 Build:2011-04-24 23:39 +Exception: STATUS_ACCESS_VIOLATION at eip=60808C1C +eax=71112F0C ebx=711149E4 ecx=03019001 edx=0000010C esi=00000000 edi=711100D4 +ebp=0022FEC8 esp=0022FEB0 program=C:\msys\1.0\mingw\bin\rm.exe +cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023 +Stack trace: +Frame Function Args +0022FEC8 60808C1C (711100D4, 0000010C, 00000024, 0022FEFC) +0022FF18 608045F0 (6089C7A0, FFFFFFFE, 00000024, 6089C6A4) +0022FF58 60804B85 (00000000, 00000000, 00000000, 00000000) +0022FF78 00415D7F (004011C0, 037F0000, 0022FF94, 75E7ED5C) +0022FF88 0040103E (7FFDB000, 0022FFD4, 779337EB, 7FFDB000) +0022FF94 75E7ED5C (7FFDB000, 560BD46C, 00000000, 00000000) +0022FFD4 779337EB (00401000, 7FFDB000, 00000000, 00000000) +0022FFEC 779337BE (00401000, 7FFDB000, 00000000, 78746341) +End of stack trace \ No newline at end of file diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/spice-controller-listener.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/spice-controller-listener.c new file mode 100644 index 0000000..0189848 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/spice-controller-listener.c @@ -0,0 +1,158 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2012 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ + +#include +#include + +#include "spice-controller-listener.h" + +#ifdef G_OS_WIN32 +#include +#include "namedpipe.h" +#include "namedpipelistener.h" +#include "win32-util.h" +#endif + +#ifdef G_OS_UNIX +#include +#endif + +/** + * SpiceControllerListenerError: + * @SPICE_CONTROLLER_LISTENER_ERROR_VALUE: invalid value. + * + * Possible errors of controller listener related functions. + **/ + +/** + * SPICE_CONTROLLER_LISTENER_ERROR: + * + * The error domain of the controller listener subsystem. + **/ +GQuark +spice_controller_listener_error_quark (void) +{ + return g_quark_from_static_string ("spice-controller-listener-error"); +} + +GObject* +spice_controller_listener_new (const gchar *address, GError **error) +{ + GObject *listener = NULL; + gchar *addr = NULL; + + g_return_val_if_fail (error == NULL || *error == NULL, NULL); + + addr = g_strdup (address); + +#ifdef G_OS_WIN32 + if (addr == NULL) + addr = g_strdup (g_getenv ("SPICE_XPI_NAMEDPIPE")); + if (addr == NULL) + addr = g_strdup_printf ("\\\\.\\pipe\\SpiceController-%" G_GUINT64_FORMAT, (guint64)GetCurrentProcessId ()); +#else + if (addr == NULL) + addr = g_strdup (g_getenv ("SPICE_XPI_SOCKET")); +#endif + if (addr == NULL) { + g_set_error (error, + SPICE_CONTROLLER_LISTENER_ERROR, + SPICE_CONTROLLER_LISTENER_ERROR_VALUE, +#ifdef G_OS_WIN32 + "Missing namedpipe address" +#else + "Missing socket address" +#endif + ); + goto end; + } + + g_unlink (addr); + +#ifdef G_OS_WIN32 + { + SpiceNamedPipe *np; + + listener = G_OBJECT (spice_named_pipe_listener_new ()); + + np = spice_win32_user_pipe_new (addr, error); + if (!np) { + g_object_unref (listener); + listener = NULL; + goto end; + } + + spice_named_pipe_listener_add_named_pipe (SPICE_NAMED_PIPE_LISTENER (listener), np); + } +#else + { + listener = G_OBJECT (g_socket_listener_new ()); + + if (!g_socket_listener_add_address (G_SOCKET_LISTENER (listener), + G_SOCKET_ADDRESS (g_unix_socket_address_new (addr)), + G_SOCKET_TYPE_STREAM, + G_SOCKET_PROTOCOL_DEFAULT, + NULL, + NULL, + error)) + g_warning ("failed to add address"); + } +#endif + +end: + g_free (addr); + return listener; +} + +void +spice_controller_listener_accept_async (GObject *listener, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_return_if_fail(G_IS_OBJECT(listener)); + +#ifdef G_OS_WIN32 + spice_named_pipe_listener_accept_async (SPICE_NAMED_PIPE_LISTENER (listener), cancellable, callback, user_data); +#else + g_socket_listener_accept_async (G_SOCKET_LISTENER (listener), cancellable, callback, user_data); +#endif +} + +GIOStream* +spice_controller_listener_accept_finish (GObject *listener, + GAsyncResult *result, + GObject **source_object, + GError **error) +{ + g_return_val_if_fail(G_IS_OBJECT(listener), NULL); + +#ifdef G_OS_WIN32 + SpiceNamedPipeConnection *np; + np = spice_named_pipe_listener_accept_finish (SPICE_NAMED_PIPE_LISTENER (listener), result, source_object, error); + if (np) + return G_IO_STREAM (np); +#else + GSocketConnection *socket; + socket = g_socket_listener_accept_finish (G_SOCKET_LISTENER (listener), result, source_object, error); + if (socket) + return G_IO_STREAM (socket); +#endif + + return NULL; +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/spice-controller-listener.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/spice-controller-listener.h new file mode 100644 index 0000000..fc6ba3d --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/spice-controller-listener.h @@ -0,0 +1,50 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2012 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_CONTROLLER_LISTENER_H__ +#define __SPICE_CONTROLLER_LISTENER_H__ + +#include + +G_BEGIN_DECLS + +#define SPICE_CONTROLLER_LISTENER_ERROR spice_controller_listener_error_quark () +GQuark spice_controller_listener_error_quark (void); + +typedef enum +{ + SPICE_CONTROLLER_LISTENER_ERROR_VALUE /* incorrect value */ +} SpiceControllerListenerError; + + +GObject* spice_controller_listener_new (const gchar *address, GError **error); + +void spice_controller_listener_accept_async (GObject *listener, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +GIOStream* spice_controller_listener_accept_finish (GObject *listener, + GAsyncResult *result, + GObject **source_object, + GError **error); +G_END_DECLS + +#endif /* __SPICE_CONTROLLER_LISTENER_H__ */ + + + diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/spice-controller.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/spice-controller.h new file mode 100644 index 0000000..5ca9d3f --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/spice-controller.h @@ -0,0 +1,172 @@ +/* spice-controller.h generated by valac 0.20.0, the Vala compiler, do not modify */ + + +#ifndef __SPICE_CONTROLLER_H__ +#define __SPICE_CONTROLLER_H__ + +#include +#include +#include +#include +#include +#include + +G_BEGIN_DECLS + + +#define SPICE_CTRL_TYPE_MENU_ITEM (spice_ctrl_menu_item_get_type ()) +#define SPICE_CTRL_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPICE_CTRL_TYPE_MENU_ITEM, SpiceCtrlMenuItem)) +#define SPICE_CTRL_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SPICE_CTRL_TYPE_MENU_ITEM, SpiceCtrlMenuItemClass)) +#define SPICE_CTRL_IS_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPICE_CTRL_TYPE_MENU_ITEM)) +#define SPICE_CTRL_IS_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPICE_CTRL_TYPE_MENU_ITEM)) +#define SPICE_CTRL_MENU_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPICE_CTRL_TYPE_MENU_ITEM, SpiceCtrlMenuItemClass)) + +typedef struct _SpiceCtrlMenuItem SpiceCtrlMenuItem; +typedef struct _SpiceCtrlMenuItemClass SpiceCtrlMenuItemClass; +typedef struct _SpiceCtrlMenuItemPrivate SpiceCtrlMenuItemPrivate; + +#define SPICE_CTRL_TYPE_MENU (spice_ctrl_menu_get_type ()) +#define SPICE_CTRL_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPICE_CTRL_TYPE_MENU, SpiceCtrlMenu)) +#define SPICE_CTRL_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SPICE_CTRL_TYPE_MENU, SpiceCtrlMenuClass)) +#define SPICE_CTRL_IS_MENU(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPICE_CTRL_TYPE_MENU)) +#define SPICE_CTRL_IS_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPICE_CTRL_TYPE_MENU)) +#define SPICE_CTRL_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPICE_CTRL_TYPE_MENU, SpiceCtrlMenuClass)) + +typedef struct _SpiceCtrlMenu SpiceCtrlMenu; +typedef struct _SpiceCtrlMenuClass SpiceCtrlMenuClass; +typedef struct _SpiceCtrlMenuPrivate SpiceCtrlMenuPrivate; + +#define SPICE_CTRL_TYPE_CONTROLLER (spice_ctrl_controller_get_type ()) +#define SPICE_CTRL_CONTROLLER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPICE_CTRL_TYPE_CONTROLLER, SpiceCtrlController)) +#define SPICE_CTRL_CONTROLLER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SPICE_CTRL_TYPE_CONTROLLER, SpiceCtrlControllerClass)) +#define SPICE_CTRL_IS_CONTROLLER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPICE_CTRL_TYPE_CONTROLLER)) +#define SPICE_CTRL_IS_CONTROLLER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPICE_CTRL_TYPE_CONTROLLER)) +#define SPICE_CTRL_CONTROLLER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPICE_CTRL_TYPE_CONTROLLER, SpiceCtrlControllerClass)) + +typedef struct _SpiceCtrlController SpiceCtrlController; +typedef struct _SpiceCtrlControllerClass SpiceCtrlControllerClass; +typedef struct _SpiceCtrlControllerPrivate SpiceCtrlControllerPrivate; + +#define SPICE_CTRL_TYPE_FOREIGN_MENU (spice_ctrl_foreign_menu_get_type ()) +#define SPICE_CTRL_FOREIGN_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPICE_CTRL_TYPE_FOREIGN_MENU, SpiceCtrlForeignMenu)) +#define SPICE_CTRL_FOREIGN_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SPICE_CTRL_TYPE_FOREIGN_MENU, SpiceCtrlForeignMenuClass)) +#define SPICE_CTRL_IS_FOREIGN_MENU(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPICE_CTRL_TYPE_FOREIGN_MENU)) +#define SPICE_CTRL_IS_FOREIGN_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPICE_CTRL_TYPE_FOREIGN_MENU)) +#define SPICE_CTRL_FOREIGN_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPICE_CTRL_TYPE_FOREIGN_MENU, SpiceCtrlForeignMenuClass)) + +typedef struct _SpiceCtrlForeignMenu SpiceCtrlForeignMenu; +typedef struct _SpiceCtrlForeignMenuClass SpiceCtrlForeignMenuClass; +typedef struct _SpiceCtrlForeignMenuPrivate SpiceCtrlForeignMenuPrivate; + +struct _SpiceCtrlMenuItem { + GObject parent_instance; + SpiceCtrlMenuItemPrivate * priv; + SpiceCtrlMenu* submenu; + gint parent_id; + gint id; + gchar* text; + gchar* accel; + unsigned int flags; +}; + +struct _SpiceCtrlMenuItemClass { + GObjectClass parent_class; +}; + +typedef enum { + SPICE_CTRL_ERROR_VALUE +} SpiceCtrlError; +#define SPICE_CTRL_ERROR spice_ctrl_error_quark () +struct _SpiceCtrlMenu { + GObject parent_instance; + SpiceCtrlMenuPrivate * priv; + GList* items; +}; + +struct _SpiceCtrlMenuClass { + GObjectClass parent_class; +}; + +struct _SpiceCtrlController { + GObject parent_instance; + SpiceCtrlControllerPrivate * priv; +}; + +struct _SpiceCtrlControllerClass { + GObjectClass parent_class; +}; + +struct _SpiceCtrlForeignMenu { + GObject parent_instance; + SpiceCtrlForeignMenuPrivate * priv; +}; + +struct _SpiceCtrlForeignMenuClass { + GObjectClass parent_class; +}; + + +GType spice_ctrl_menu_item_get_type (void) G_GNUC_CONST; +GType spice_ctrl_menu_get_type (void) G_GNUC_CONST; +SpiceCtrlMenuItem* spice_ctrl_menu_item_new (gint id, const gchar* text, unsigned int flags); +SpiceCtrlMenuItem* spice_ctrl_menu_item_construct (GType object_type, gint id, const gchar* text, unsigned int flags); +GQuark spice_ctrl_error_quark (void); +SpiceCtrlMenuItem* spice_ctrl_menu_item_new_from_string (const gchar* str, GError** error); +SpiceCtrlMenuItem* spice_ctrl_menu_item_construct_from_string (GType object_type, const gchar* str, GError** error); +gchar* spice_ctrl_menu_item_to_string (SpiceCtrlMenuItem* self); +SpiceCtrlMenu* spice_ctrl_menu_find_id (SpiceCtrlMenu* self, gint id); +SpiceCtrlMenu* spice_ctrl_menu_new_from_string (const gchar* str); +SpiceCtrlMenu* spice_ctrl_menu_construct_from_string (GType object_type, const gchar* str); +gchar* spice_ctrl_menu_to_string (SpiceCtrlMenu* self); +SpiceCtrlMenu* spice_ctrl_menu_new (void); +SpiceCtrlMenu* spice_ctrl_menu_construct (GType object_type); +GType spice_ctrl_controller_get_type (void) G_GNUC_CONST; +void spice_ctrl_controller_menu_item_click_msg (SpiceCtrlController* self, gint32 item_id); +void spice_ctrl_controller_send_msg (SpiceCtrlController* self, guint8* p, int p_length1, GAsyncReadyCallback _callback_, gpointer _user_data_); +gboolean spice_ctrl_controller_send_msg_finish (SpiceCtrlController* self, GAsyncResult* _res_, GError** error); +SpiceCtrlController* spice_ctrl_controller_new (void); +SpiceCtrlController* spice_ctrl_controller_construct (GType object_type); +void spice_ctrl_controller_listen (SpiceCtrlController* self, const gchar* addr, GAsyncReadyCallback _callback_, gpointer _user_data_); +void spice_ctrl_controller_listen_finish (SpiceCtrlController* self, GAsyncResult* _res_, GError** error); +const gchar* spice_ctrl_controller_get_host (SpiceCtrlController* self); +guint32 spice_ctrl_controller_get_port (SpiceCtrlController* self); +guint32 spice_ctrl_controller_get_sport (SpiceCtrlController* self); +const gchar* spice_ctrl_controller_get_password (SpiceCtrlController* self); +unsigned int spice_ctrl_controller_get_display_flags (SpiceCtrlController* self); +const gchar* spice_ctrl_controller_get_tls_ciphers (SpiceCtrlController* self); +const gchar* spice_ctrl_controller_get_host_subject (SpiceCtrlController* self); +const gchar* spice_ctrl_controller_get_ca_file (SpiceCtrlController* self); +const gchar* spice_ctrl_controller_get_title (SpiceCtrlController* self); +const gchar* spice_ctrl_controller_get_hotkeys (SpiceCtrlController* self); +gchar** spice_ctrl_controller_get_secure_channels (SpiceCtrlController* self, int* result_length1); +gchar** spice_ctrl_controller_get_disable_channels (SpiceCtrlController* self, int* result_length1); +SpiceCtrlMenu* spice_ctrl_controller_get_menu (SpiceCtrlController* self); +gboolean spice_ctrl_controller_get_enable_smartcard (SpiceCtrlController* self); +gboolean spice_ctrl_controller_get_send_cad (SpiceCtrlController* self); +gchar** spice_ctrl_controller_get_disable_effects (SpiceCtrlController* self, int* result_length1); +guint32 spice_ctrl_controller_get_color_depth (SpiceCtrlController* self); +gboolean spice_ctrl_controller_get_enable_usbredir (SpiceCtrlController* self); +gboolean spice_ctrl_controller_get_enable_usb_autoshare (SpiceCtrlController* self); +const gchar* spice_ctrl_controller_get_usb_filter (SpiceCtrlController* self); +const gchar* spice_ctrl_controller_get_proxy (SpiceCtrlController* self); +GType spice_ctrl_foreign_menu_get_type (void) G_GNUC_CONST; +SpiceCtrlForeignMenu* spice_ctrl_foreign_menu_new (void); +SpiceCtrlForeignMenu* spice_ctrl_foreign_menu_construct (GType object_type); +void spice_ctrl_foreign_menu_menu_item_click_msg (SpiceCtrlForeignMenu* self, gint32 item_id); +void spice_ctrl_foreign_menu_menu_item_checked_msg (SpiceCtrlForeignMenu* self, gint32 item_id, gboolean checked); +void spice_ctrl_foreign_menu_app_activated_msg (SpiceCtrlForeignMenu* self, gboolean activated); +void spice_ctrl_foreign_menu_send_msg (SpiceCtrlForeignMenu* self, guint8* p, int p_length1, GAsyncReadyCallback _callback_, gpointer _user_data_); +gboolean spice_ctrl_foreign_menu_send_msg_finish (SpiceCtrlForeignMenu* self, GAsyncResult* _res_, GError** error); +void spice_ctrl_foreign_menu_listen (SpiceCtrlForeignMenu* self, const gchar* addr, GAsyncReadyCallback _callback_, gpointer _user_data_); +void spice_ctrl_foreign_menu_listen_finish (SpiceCtrlForeignMenu* self, GAsyncResult* _res_, GError** error); +SpiceCtrlMenu* spice_ctrl_foreign_menu_get_menu (SpiceCtrlForeignMenu* self); +const gchar* spice_ctrl_foreign_menu_get_title (SpiceCtrlForeignMenu* self); +void spice_ctrl_input_stream_read (GInputStream* stream, guint8* buffer, int buffer_length1, GAsyncReadyCallback _callback_, gpointer _user_data_); +void spice_ctrl_input_stream_read_finish (GAsyncResult* _res_, GError** error); +void spice_ctrl_output_stream_write (GOutputStream* stream, guint8* buffer, int buffer_length1, GAsyncReadyCallback _callback_, gpointer _user_data_); +void spice_ctrl_output_stream_write_finish (GAsyncResult* _res_, GError** error); + + +G_END_DECLS + +#endif diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/spice-foreign-menu-listener.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/spice-foreign-menu-listener.c new file mode 100644 index 0000000..6693e21 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/spice-foreign-menu-listener.c @@ -0,0 +1,160 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2012 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ + +#include +#include + +#include "spice-foreign-menu-listener.h" + +#ifdef G_OS_WIN32 +#include +#include "namedpipe.h" +#include "namedpipelistener.h" +#include "win32-util.h" +#endif + +#ifdef G_OS_UNIX +#include +#endif + +/** + * SpiceForeignMenuListenerError: + * @SPICE_FOREIGN_MENU_LISTENER_ERROR_VALUE: invalid value. + * + * Possible errors of foreign menu listener related functions. + **/ + +/** + * SPICE_FOREIGN_MENU_LISTENER_ERROR: + * + * The error domain of the foreign menu listener subsystem. + **/ +GQuark +spice_foreign_menu_listener_error_quark (void) +{ + return g_quark_from_static_string ("spice-foreign-menu-listener-error"); +} + +GObject* +spice_foreign_menu_listener_new (const gchar *address, GError **error) +{ + GObject *listener = NULL; + gchar *addr = NULL; + + g_return_val_if_fail (error == NULL || *error == NULL, NULL); + + addr = g_strdup (address); + +#ifdef G_OS_WIN32 + if (addr == NULL) + addr = g_strdup (g_getenv ("SPICE_FOREIGN_MENU_NAMEDPIPE")); + if (addr == NULL) + addr = g_strdup_printf ("\\\\.\\pipe\\SpiceForeignMenu-%" G_GUINT64_FORMAT, (guint64)GetCurrentProcessId ()); +#else + if (addr == NULL) + addr = g_strdup (g_getenv ("SPICE_FOREIGN_MENU_SOCKET")); + if (addr == NULL) + addr = g_strdup_printf ("/tmp/SpiceForeignMenu-%" G_GUINT64_FORMAT ".uds", (guint64)getpid ()); +#endif + if (addr == NULL) { + g_set_error (error, + SPICE_FOREIGN_MENU_LISTENER_ERROR, + SPICE_FOREIGN_MENU_LISTENER_ERROR_VALUE, +#ifdef G_OS_WIN32 + "Missing namedpipe address" +#else + "Missing socket address" +#endif + ); + goto end; + } + + g_unlink (addr); + +#ifdef G_OS_WIN32 + { + SpiceNamedPipe *np; + + listener = G_OBJECT (spice_named_pipe_listener_new ()); + + np = spice_win32_user_pipe_new (addr, error); + if (!np) { + g_object_unref (listener); + listener = NULL; + goto end; + } + + spice_named_pipe_listener_add_named_pipe (SPICE_NAMED_PIPE_LISTENER (listener), np); + } +#else + { + listener = G_OBJECT (g_socket_listener_new ()); + + if (!g_socket_listener_add_address (G_SOCKET_LISTENER (listener), + G_SOCKET_ADDRESS (g_unix_socket_address_new (addr)), + G_SOCKET_TYPE_STREAM, + G_SOCKET_PROTOCOL_DEFAULT, + NULL, + NULL, + error)) + g_warning ("failed to add address"); + } +#endif + +end: + g_free (addr); + return listener; +} + +void +spice_foreign_menu_listener_accept_async (GObject *listener, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_return_if_fail(G_IS_OBJECT(listener)); + +#ifdef G_OS_WIN32 + spice_named_pipe_listener_accept_async (SPICE_NAMED_PIPE_LISTENER (listener), cancellable, callback, user_data); +#else + g_socket_listener_accept_async (G_SOCKET_LISTENER (listener), cancellable, callback, user_data); +#endif +} + +GIOStream* +spice_foreign_menu_listener_accept_finish (GObject *listener, + GAsyncResult *result, + GObject **source_object, + GError **error) +{ + g_return_val_if_fail(G_IS_OBJECT(listener), NULL); + +#ifdef G_OS_WIN32 + SpiceNamedPipeConnection *np; + np = spice_named_pipe_listener_accept_finish (SPICE_NAMED_PIPE_LISTENER (listener), result, source_object, error); + if (np) + return G_IO_STREAM (np); +#else + GSocketConnection *socket; + socket = g_socket_listener_accept_finish (G_SOCKET_LISTENER (listener), result, source_object, error); + if (socket) + return G_IO_STREAM (socket); +#endif + + return NULL; +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/spice-foreign-menu-listener.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/spice-foreign-menu-listener.h new file mode 100644 index 0000000..1071528 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/spice-foreign-menu-listener.h @@ -0,0 +1,47 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2012 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_FOREIGN_MENU_LISTENER_H__ +#define __SPICE_FOREIGN_MENU_LISTENER_H__ + +#include + +G_BEGIN_DECLS + +#define SPICE_FOREIGN_MENU_LISTENER_ERROR spice_foreign_menu_listener_error_quark () +GQuark spice_foreign_menu_listener_error_quark (void); + +typedef enum +{ + SPICE_FOREIGN_MENU_LISTENER_ERROR_VALUE /* incorrect value */ +} SpiceForeignMenuListenerError; + + +GObject* spice_foreign_menu_listener_new (const gchar *address, GError **error); + +void spice_foreign_menu_listener_accept_async (GObject *listener, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +GIOStream* spice_foreign_menu_listener_accept_finish (GObject *listener, + GAsyncResult *result, + GObject **source_object, + GError **error); +G_END_DECLS + +#endif /* __SPICE_FOREIGN_MENU_LISTENER_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/test.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/test.c new file mode 100644 index 0000000..289ffb8 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/test.c @@ -0,0 +1,290 @@ +/* Copyright (C) 2011 Red Hat, Inc. */ + +/* This library is free software; you can redistribute it and/or */ +/* modify it under the terms of the GNU Lesser General Public */ +/* License as published by the Free Software Foundation; either */ +/* version 2.1 of the License, or (at your option) any later version. */ + +/* This library 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 */ +/* Lesser General Public License for more details. */ + +/* You should have received a copy of the GNU Lesser General Public */ +/* License along with this library; if not, see . */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include +#include +#include + +#include "spice-controller.h" + +#ifdef WIN32 +#include +#define PIPE_NAME TEXT("\\\\.\\pipe\\SpiceController-%lu") +static HANDLE pipe = INVALID_HANDLE_VALUE; +#else + +#include +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#include +#include +#include +#include +#include + +#define PIPE_NAME "/tmp/test" +static int sock = -1; + +#endif + +#define PIPE_NAME_MAX_LEN 256 + +void write_to_pipe (const void* data, size_t len) +{ +#ifdef WIN32 + DWORD written; + if (!WriteFile (pipe, data, len, &written, NULL) || written != len) { + printf("Write to pipe failed %u\n", GetLastError()); + } +#else + if (send (sock, data, len, 0) != len) { + printf ("send failed, (%d) %s\n", errno, strerror(errno)); + } +#endif +} + +gboolean send_init (void) +{ + ControllerInit msg = { + { CONTROLLER_MAGIC, CONTROLLER_VERSION, sizeof (msg) }, + 0, + CONTROLLER_FLAG_EXCLUSIVE + }; + + write_to_pipe(&msg, sizeof (msg)); + return FALSE; +} + +void send_msg (uint32_t id) +{ + ControllerMsg msg = { + id, sizeof (msg) + }; + + write_to_pipe (&msg, sizeof (msg)); +} + +void send_value (uint32_t id, uint32_t value) +{ + ControllerValue msg = { + { id, sizeof(msg) }, + value + }; + + write_to_pipe (&msg, sizeof (msg)); +} + +void send_data (uint32_t id, uint8_t* data, size_t data_size) +{ + size_t size = sizeof (ControllerData) + data_size; + ControllerData* msg = (ControllerData*)malloc (size); + + msg->base.id = id; + msg->base.size = (uint32_t)size; + memcpy (msg->data, data, data_size); + write_to_pipe (msg, size); + free (msg); +} + +ssize_t read_from_pipe (void* data, size_t size) +{ + ssize_t read; +#ifdef WIN32 + DWORD bytes; + if (!ReadFile (pipe, data, size, &bytes, NULL)) { + printf ("Read from pipe failed %u\n", GetLastError()); + } + read = bytes; +#else + read = recv (sock, data, size, 0); + if ((read == -1 || read == 0)) { + printf ("recv failed, (%d) %s\n", errno, strerror (errno)); + } +#endif + return read; +} + +#define HOST "localhost" +#define PORT 5931 +#define SPORT 0 +#define PWD "P@s5w0rd" +#define SECURE_CHANNELS "main,inputs,playback" +#define DISABLED_CHANNELS "playback,record" +#define TITLE "Hello from controller" +#define HOTKEYS "toggle-fullscreen=shift+f1,release-cursor=shift+f2" +#define MENU "0\r4864\rS&end Ctrl+Alt+Del\tCtrl+Alt+End\r0\r\n" \ + "0\r5120\r&Toggle full screen\tShift+F11\r0\r\n" \ + "0\r1\r&Special keys\r4\r\n" \ + "1\r5376\r&Send Shift+F11\r0\r\n" \ + "1\r5632\r&Send Shift+F12\r0\r\n" \ + "1\r5888\r&Send Ctrl+Alt+End\r0\r\n" \ + "0\r1\r-\r1\r\n" \ + "0\r2\rChange CD\r4\r\n" \ + "2\r3\rNo CDs\r0\r\n" \ + "2\r4\r[Eject]\r0\r\n" \ + "0\r5\r-\r1\r\n" \ + "0\r6\rPlay\r0\r\n" \ + "0\r7\rSuspend\r0\r\n" \ + "0\r8\rStop\r0\r\n" + +#define TLS_CIPHERS "TLS_C1PHERS" +#define CA_FILE "C@_FILE" +#define HOST_SUBJECT "Host_SUBJ3CT" + +SpiceCtrlController *ctrl; +GMainLoop *loop; + +void signaled (GObject *gobject, const gchar *signal_name) +{ + g_message ("signaled: %s", signal_name); + if (g_str_equal (signal_name, "hide")) { + spice_ctrl_controller_menu_item_click_msg (ctrl, 42); + g_timeout_add (1000, (GSourceFunc)g_main_loop_quit, loop); + } +} + +void notified (GObject *gobject, GParamSpec *pspec, + gpointer user_data) +{ + GValue value = { 0, }; + GValue strvalue = { 0, }; + + g_return_if_fail (gobject != NULL); + g_return_if_fail (pspec != NULL); + + g_value_init (&value, pspec->value_type); + g_value_init (&strvalue, G_TYPE_STRING); + g_object_get_property (gobject, pspec->name, &value); + + if (pspec->value_type == G_TYPE_STRV) { + gchar** p = (gchar **)g_value_get_boxed (&value); + g_message ("notify::%s == ", pspec->name); + while (*p) + g_message ("%s", *p++); + } else if (G_TYPE_IS_OBJECT(pspec->value_type)) { + GObject *o = g_value_get_object (&value); + g_message ("notify::%s == %s", pspec->name, o ? G_OBJECT_TYPE_NAME (o) : "null"); + } else { + g_value_transform (&value, &strvalue); + g_message ("notify::%s = %s", pspec->name, g_value_get_string (&strvalue)); + } + + g_value_unset (&value); + g_value_unset (&strvalue); +} + +void connect_signals (gpointer obj) +{ + guint i, n_ids = 0; + guint *ids = NULL; + GType type = G_OBJECT_TYPE (obj); + + ids = g_signal_list_ids (type, &n_ids); + for (i = 0; i < n_ids; i++) { + const gchar *name = g_signal_name (ids[i]); + g_signal_connect (obj, name, G_CALLBACK (signaled), (gpointer)name); + } +} + +int main (int argc, char *argv[]) +{ + int spicec_pid = (argc > 1 ? atoi (argv[1]) : 0); + char* host = (argc > 2 ? argv[2] : (char*)HOST); + int port = (argc > 3 ? atoi (argv[3]) : PORT); + char pipe_name[PIPE_NAME_MAX_LEN]; + ControllerValue msg; + ssize_t read; + + g_type_init (); + ctrl = spice_ctrl_controller_new (); + loop = g_main_loop_new (NULL, FALSE); + g_signal_connect (ctrl, "notify", G_CALLBACK (notified), NULL); + connect_signals (ctrl); + +#ifdef WIN32 + snprintf (pipe_name, PIPE_NAME_MAX_LEN, PIPE_NAME, spicec_pid); + spice_ctrl_controller_listen (ctrl, pipe_name, NULL, NULL); + + printf ("Creating Spice controller connection %s\n", pipe_name); + pipe = CreateFile (pipe_name, GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL); + if (pipe == INVALID_HANDLE_VALUE) { + printf ("Could not open pipe %u\n", GetLastError()); + return -1; + } +#else + spice_ctrl_controller_listen (ctrl, PIPE_NAME, NULL, NULL); + + snprintf (pipe_name, PIPE_NAME_MAX_LEN, PIPE_NAME); + printf ("Creating a controller connection %s\n", pipe_name); + struct sockaddr_un remote; + if ((sock = socket (AF_UNIX, SOCK_STREAM, 0)) == -1) { + printf ("Could not open socket, (%d) %s\n", errno, strerror(errno)); + return -1; + } + remote.sun_family = AF_UNIX; + strcpy (remote.sun_path, pipe_name); + if (connect (sock, (struct sockaddr *)&remote, + strlen (remote.sun_path) + sizeof(remote.sun_family)) == -1) { + printf ("Socket connect failed, (%d) %s\n", errno, strerror(errno)); + close (sock); + return -1; + } +#endif + + /* TODO: we rely on socket / pipe buffer... which is lame :) */ + send_init (); + + send_data (CONTROLLER_HOST, (uint8_t*)host, strlen(host) + 1); + send_value (CONTROLLER_PORT, port); + send_value (CONTROLLER_SPORT, SPORT); + send_data (CONTROLLER_PASSWORD, (uint8_t*)PWD, sizeof(PWD) + 1); + send_data (CONTROLLER_SECURE_CHANNELS, (uint8_t*)SECURE_CHANNELS, sizeof(SECURE_CHANNELS) + 1); + send_data (CONTROLLER_DISABLE_CHANNELS, (uint8_t*)DISABLED_CHANNELS, sizeof(DISABLED_CHANNELS) + 1); + send_data (CONTROLLER_TLS_CIPHERS, (uint8_t*)TLS_CIPHERS, sizeof(TLS_CIPHERS) + 1); + send_data (CONTROLLER_CA_FILE, (uint8_t*)CA_FILE, sizeof(CA_FILE) + 1); + send_data (CONTROLLER_HOST_SUBJECT, (uint8_t*)HOST_SUBJECT, sizeof(HOST_SUBJECT) + 1); + send_data (CONTROLLER_SET_TITLE, (uint8_t*)TITLE, sizeof(TITLE) + 1); + send_data (CONTROLLER_HOTKEYS, (uint8_t*)HOTKEYS, sizeof(HOTKEYS) + 1); + send_data (CONTROLLER_CREATE_MENU, (uint8_t*)MENU, sizeof(MENU)); + + send_value (CONTROLLER_FULL_SCREEN, /*CONTROLLER_SET_FULL_SCREEN |*/ CONTROLLER_AUTO_DISPLAY_RES); + + send_msg (CONTROLLER_SHOW); + send_msg (CONTROLLER_CONNECT); + send_msg (CONTROLLER_SHOW); + send_msg (CONTROLLER_DELETE_MENU); + send_msg (CONTROLLER_HIDE); + + g_main_loop_run (loop); + + while ((read = read_from_pipe (&msg, sizeof(msg))) == sizeof(msg)) { + printf ("Received id %u, size %u, value %u\n", msg.base.id, msg.base.size, msg.value); + if (msg.value == 42) + break; + } + +#ifdef WIN32 + CloseHandle (pipe); +#else + close (sock); +#endif + g_object_unref (ctrl); + return 0; +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/util.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/util.c new file mode 100644 index 0000000..3e4a85f --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/util.c @@ -0,0 +1,362 @@ +/* util.c generated by valac 0.20.0, the Vala compiler + * generated from util.vala, do not modify */ + +/* Copyright (C) 2012 Red Hat, Inc.*/ +/* This library is free software; you can redistribute it and/or*/ +/* modify it under the terms of the GNU Lesser General Public*/ +/* License as published by the Free Software Foundation; either*/ +/* version 2.1 of the License, or (at your option) any later version.*/ +/* This library 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*/ +/* Lesser General Public License for more details.*/ +/* You should have received a copy of the GNU Lesser General Public*/ +/* License along with this library; if not, see .*/ + +#include +#include +#include + +#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) +typedef struct _SpiceCtrlInputStreamReadData SpiceCtrlInputStreamReadData; +typedef struct _SpiceCtrlOutputStreamWriteData SpiceCtrlOutputStreamWriteData; + +struct _SpiceCtrlInputStreamReadData { + int _state_; + GObject* _source_object_; + GAsyncResult* _res_; + GSimpleAsyncResult* _async_result; + GInputStream* stream; + guint8* buffer; + gint buffer_length1; + guint8* _tmp0_; + gint _tmp0__length1; + gint length; + gssize i; + gssize _tmp1_; + gint _tmp2_; + GInputStream* _tmp3_; + guint8* _tmp4_; + gint _tmp4__length1; + gssize _tmp5_; + gint _tmp6_; + gssize _tmp7_; + gssize n; + gssize _tmp8_; + GError* _tmp9_; + gssize _tmp10_; + gssize _tmp11_; + GError * _inner_error_; +}; + +struct _SpiceCtrlOutputStreamWriteData { + int _state_; + GObject* _source_object_; + GAsyncResult* _res_; + GSimpleAsyncResult* _async_result; + GOutputStream* stream; + guint8* buffer; + gint buffer_length1; + guint8* _tmp0_; + gint _tmp0__length1; + gint length; + gssize i; + gssize _tmp1_; + gint _tmp2_; + GOutputStream* _tmp3_; + guint8* _tmp4_; + gint _tmp4__length1; + gssize _tmp5_; + gint _tmp6_; + gssize _tmp7_; + gssize n; + gssize _tmp8_; + GError* _tmp9_; + gssize _tmp10_; + gssize _tmp11_; + GError * _inner_error_; +}; + + + +static void spice_ctrl_input_stream_read_data_free (gpointer _data); +void spice_ctrl_input_stream_read (GInputStream* stream, guint8* buffer, int buffer_length1, GAsyncReadyCallback _callback_, gpointer _user_data_); +void spice_ctrl_input_stream_read_finish (GAsyncResult* _res_, GError** error); +static gboolean spice_ctrl_input_stream_read_co (SpiceCtrlInputStreamReadData* _data_); +static void spice_ctrl_input_stream_read_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_); +static void spice_ctrl_output_stream_write_data_free (gpointer _data); +void spice_ctrl_output_stream_write (GOutputStream* stream, guint8* buffer, int buffer_length1, GAsyncReadyCallback _callback_, gpointer _user_data_); +void spice_ctrl_output_stream_write_finish (GAsyncResult* _res_, GError** error); +static gboolean spice_ctrl_output_stream_write_co (SpiceCtrlOutputStreamWriteData* _data_); +static void spice_ctrl_output_stream_write_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_); + + +static void spice_ctrl_input_stream_read_data_free (gpointer _data) { + SpiceCtrlInputStreamReadData* _data_; + _data_ = _data; + _g_object_unref0 (_data_->stream); + g_slice_free (SpiceCtrlInputStreamReadData, _data_); +} + + +static gpointer _g_object_ref0 (gpointer self) { + return self ? g_object_ref (self) : NULL; +} + + +void spice_ctrl_input_stream_read (GInputStream* stream, guint8* buffer, int buffer_length1, GAsyncReadyCallback _callback_, gpointer _user_data_) { + SpiceCtrlInputStreamReadData* _data_; + GInputStream* _tmp0_; + GInputStream* _tmp1_; + guint8* _tmp2_; + gint _tmp2__length1; + _data_ = g_slice_new0 (SpiceCtrlInputStreamReadData); + _data_->_async_result = g_simple_async_result_new (g_object_newv (G_TYPE_OBJECT, 0, NULL), _callback_, _user_data_, spice_ctrl_input_stream_read); + g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, spice_ctrl_input_stream_read_data_free); + _tmp0_ = stream; + _tmp1_ = _g_object_ref0 (_tmp0_); + _g_object_unref0 (_data_->stream); + _data_->stream = _tmp1_; + _tmp2_ = buffer; + _tmp2__length1 = buffer_length1; + _data_->buffer = _tmp2_; + _data_->buffer_length1 = _tmp2__length1; + spice_ctrl_input_stream_read_co (_data_); +} + + +void spice_ctrl_input_stream_read_finish (GAsyncResult* _res_, GError** error) { + SpiceCtrlInputStreamReadData* _data_; + if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) { + return; + } + _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_)); +} + + +static void spice_ctrl_input_stream_read_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) { + SpiceCtrlInputStreamReadData* _data_; + _data_ = _user_data_; + _data_->_source_object_ = source_object; + _data_->_res_ = _res_; + spice_ctrl_input_stream_read_co (_data_); +} + + +static gboolean spice_ctrl_input_stream_read_co (SpiceCtrlInputStreamReadData* _data_) { + switch (_data_->_state_) { + case 0: + goto _state_0; + case 1: + goto _state_1; + default: + g_assert_not_reached (); + } + _state_0: + _data_->_tmp0_ = _data_->buffer; + _data_->_tmp0__length1 = _data_->buffer_length1; + _data_->length = _data_->_tmp0__length1; + _data_->i = (gssize) 0; + while (TRUE) { + _data_->_tmp1_ = _data_->i; + _data_->_tmp2_ = _data_->length; + if (!(_data_->_tmp1_ < ((gssize) _data_->_tmp2_))) { + break; + } + _data_->_tmp3_ = _data_->stream; + _data_->_tmp4_ = _data_->buffer; + _data_->_tmp4__length1 = _data_->buffer_length1; + _data_->_tmp5_ = _data_->i; + _data_->_tmp6_ = _data_->length; + _data_->_state_ = 1; + g_input_stream_read_async (_data_->_tmp3_, (void*) (_data_->_tmp4_ + _data_->_tmp5_), (gsize) (_data_->_tmp6_ - _data_->_tmp5_), G_PRIORITY_DEFAULT, NULL, spice_ctrl_input_stream_read_ready, _data_); + return FALSE; + _state_1: + _data_->_tmp7_ = 0L; + _data_->_tmp7_ = g_input_stream_read_finish (_data_->_tmp3_, _data_->_res_, &_data_->_inner_error_); + _data_->n = _data_->_tmp7_; + if (_data_->_inner_error_ != NULL) { + if (_data_->_inner_error_->domain == G_IO_ERROR) { + g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); + g_error_free (_data_->_inner_error_); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } else { + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); + g_clear_error (&_data_->_inner_error_); + return FALSE; + } + } + _data_->_tmp8_ = _data_->n; + if (_data_->_tmp8_ == ((gssize) 0)) { + _data_->_tmp9_ = g_error_new_literal (G_IO_ERROR, G_IO_ERROR_CLOSED, "closed stream"); + _data_->_inner_error_ = _data_->_tmp9_; + if (_data_->_inner_error_->domain == G_IO_ERROR) { + g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); + g_error_free (_data_->_inner_error_); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } else { + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); + g_clear_error (&_data_->_inner_error_); + return FALSE; + } + } + _data_->_tmp10_ = _data_->i; + _data_->_tmp11_ = _data_->n; + _data_->i = _data_->_tmp10_ + _data_->_tmp11_; + } + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; +} + + +static void spice_ctrl_output_stream_write_data_free (gpointer _data) { + SpiceCtrlOutputStreamWriteData* _data_; + _data_ = _data; + _g_object_unref0 (_data_->stream); + _data_->buffer = (g_free (_data_->buffer), NULL); + g_slice_free (SpiceCtrlOutputStreamWriteData, _data_); +} + + +void spice_ctrl_output_stream_write (GOutputStream* stream, guint8* buffer, int buffer_length1, GAsyncReadyCallback _callback_, gpointer _user_data_) { + SpiceCtrlOutputStreamWriteData* _data_; + GOutputStream* _tmp0_; + GOutputStream* _tmp1_; + _data_ = g_slice_new0 (SpiceCtrlOutputStreamWriteData); + _data_->_async_result = g_simple_async_result_new (g_object_newv (G_TYPE_OBJECT, 0, NULL), _callback_, _user_data_, spice_ctrl_output_stream_write); + g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, spice_ctrl_output_stream_write_data_free); + _tmp0_ = stream; + _tmp1_ = _g_object_ref0 (_tmp0_); + _g_object_unref0 (_data_->stream); + _data_->stream = _tmp1_; + _data_->buffer = (g_free (_data_->buffer), NULL); + _data_->buffer = buffer; + _data_->buffer_length1 = buffer_length1; + spice_ctrl_output_stream_write_co (_data_); +} + + +void spice_ctrl_output_stream_write_finish (GAsyncResult* _res_, GError** error) { + SpiceCtrlOutputStreamWriteData* _data_; + if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) { + return; + } + _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_)); +} + + +static void spice_ctrl_output_stream_write_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) { + SpiceCtrlOutputStreamWriteData* _data_; + _data_ = _user_data_; + _data_->_source_object_ = source_object; + _data_->_res_ = _res_; + spice_ctrl_output_stream_write_co (_data_); +} + + +static gboolean spice_ctrl_output_stream_write_co (SpiceCtrlOutputStreamWriteData* _data_) { + switch (_data_->_state_) { + case 0: + goto _state_0; + case 1: + goto _state_1; + default: + g_assert_not_reached (); + } + _state_0: + _data_->_tmp0_ = _data_->buffer; + _data_->_tmp0__length1 = _data_->buffer_length1; + _data_->length = _data_->_tmp0__length1; + _data_->i = (gssize) 0; + while (TRUE) { + _data_->_tmp1_ = _data_->i; + _data_->_tmp2_ = _data_->length; + if (!(_data_->_tmp1_ < ((gssize) _data_->_tmp2_))) { + break; + } + _data_->_tmp3_ = _data_->stream; + _data_->_tmp4_ = _data_->buffer; + _data_->_tmp4__length1 = _data_->buffer_length1; + _data_->_tmp5_ = _data_->i; + _data_->_tmp6_ = _data_->length; + _data_->_state_ = 1; + g_output_stream_write_async (_data_->_tmp3_, _data_->_tmp4_ + _data_->_tmp5_, (gsize) (_data_->_tmp6_ - _data_->_tmp5_), G_PRIORITY_DEFAULT, NULL, spice_ctrl_output_stream_write_ready, _data_); + return FALSE; + _state_1: + _data_->_tmp7_ = 0L; + _data_->_tmp7_ = g_output_stream_write_finish (_data_->_tmp3_, _data_->_res_, &_data_->_inner_error_); + _data_->n = _data_->_tmp7_; + if (_data_->_inner_error_ != NULL) { + if (_data_->_inner_error_->domain == G_IO_ERROR) { + g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); + g_error_free (_data_->_inner_error_); + _data_->buffer = (g_free (_data_->buffer), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } else { + _data_->buffer = (g_free (_data_->buffer), NULL); + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); + g_clear_error (&_data_->_inner_error_); + return FALSE; + } + } + _data_->_tmp8_ = _data_->n; + if (_data_->_tmp8_ == ((gssize) 0)) { + _data_->_tmp9_ = g_error_new_literal (G_IO_ERROR, G_IO_ERROR_CLOSED, "closed stream"); + _data_->_inner_error_ = _data_->_tmp9_; + if (_data_->_inner_error_->domain == G_IO_ERROR) { + g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); + g_error_free (_data_->_inner_error_); + _data_->buffer = (g_free (_data_->buffer), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; + } else { + _data_->buffer = (g_free (_data_->buffer), NULL); + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); + g_clear_error (&_data_->_inner_error_); + return FALSE; + } + } + _data_->_tmp10_ = _data_->i; + _data_->_tmp11_ = _data_->n; + _data_->i = _data_->_tmp10_ + _data_->_tmp11_; + } + _data_->buffer = (g_free (_data_->buffer), NULL); + if (_data_->_state_ == 0) { + g_simple_async_result_complete_in_idle (_data_->_async_result); + } else { + g_simple_async_result_complete (_data_->_async_result); + } + g_object_unref (_data_->_async_result); + return FALSE; +} + + + diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/util.vala b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/util.vala new file mode 100644 index 0000000..16f546c --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/util.vala @@ -0,0 +1,42 @@ +// Copyright (C) 2012 Red Hat, Inc. + +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. + +// This library 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 +// Lesser General Public License for more details. + +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, see . + +namespace SpiceCtrl { + + public async void input_stream_read (InputStream stream, uint8[] buffer) throws GLib.IOError { + var length = buffer.length; + ssize_t i = 0; + + while (i < length) { + var n = yield stream.read_async (buffer[i:length]); + if (n == 0) + throw new GLib.IOError.CLOSED ("closed stream") ; + i += n; + } + } + + public async void output_stream_write (OutputStream stream, owned uint8[] buffer) throws GLib.IOError { + var length = buffer.length; + ssize_t i = 0; + + while (i < length) { + var n = yield stream.write_async (buffer[i:length]); + if (n == 0) + throw new GLib.IOError.CLOSED ("closed stream") ; + i += n; + } + } + +} \ No newline at end of file diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/win32-util.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/win32-util.c new file mode 100644 index 0000000..429db5d --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/win32-util.c @@ -0,0 +1,166 @@ +/* + Copyright (C) 2012 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ + +#include "win32-util.h" +#include +#include +#include + +#define FILE_FLAG_FIRST_PIPE_INSTANCE 524288 +#define SDDL_REVISION_1 1 +#define ConvertStringSecurityDescriptorToSecurityDescriptor __MINGW_NAME_AW(ConvertStringSecurityDescriptorToSecurityDescriptor) + + +gboolean +spice_win32_set_low_integrity (void* handle, GError **error) +{ + g_return_val_if_fail (handle != NULL, FALSE); + g_return_val_if_fail (error == NULL || *error == NULL, FALSE); + + /* see also http://msdn.microsoft.com/en-us/library/bb625960.aspx */ + PSECURITY_DESCRIPTOR psd = NULL; + PACL psacl = NULL; + BOOL sacl_present = FALSE; + BOOL sacl_defaulted = FALSE; + char *emsg; + int errsv; + gboolean success = FALSE; + +/* if (!ConvertStringSecurityDescriptorToSecurityDescriptor ("S:(ML;;NW;;;LW)", + SDDL_REVISION_1, &psd, NULL)) + goto failed; +*/ + if (!GetSecurityDescriptorSacl (psd, &sacl_present, &psacl, &sacl_defaulted)) + goto failed; + + if (SetSecurityInfo (handle, SE_KERNEL_OBJECT, LABEL_SECURITY_INFORMATION, + NULL, NULL, NULL, psacl) != ERROR_SUCCESS) + goto failed; + + success = TRUE; + goto end; + +failed: + errsv = GetLastError (); + emsg = g_win32_error_message (errsv); + g_set_error (error, G_IO_ERROR, + g_io_error_from_win32_error (errsv), + "Error setting integrity: %s", + emsg); + g_free (emsg); + +end: + if (psd != NULL) + LocalFree (psd); + + return success; +} + +static gboolean +get_user_security_attributes (SECURITY_ATTRIBUTES* psa, SECURITY_DESCRIPTOR* psd, PACL* ppdacl) +{ + EXPLICIT_ACCESS ea; + TRUSTEE trst; + DWORD ret = 0; + + ZeroMemory (psa, sizeof (*psa)); + ZeroMemory (psd, sizeof (*psd)); + psa->nLength = sizeof (*psa); + psa->bInheritHandle = FALSE; + psa->lpSecurityDescriptor = psd; + + ZeroMemory (&trst, sizeof (trst)); + trst.pMultipleTrustee = NULL; + trst.MultipleTrusteeOperation = NO_MULTIPLE_TRUSTEE; + trst.TrusteeForm = TRUSTEE_IS_NAME; + trst.TrusteeType = TRUSTEE_IS_USER; + trst.ptstrName = "CURRENT_USER"; + + ZeroMemory (&ea, sizeof (ea)); + ea.grfAccessPermissions = GENERIC_WRITE | GENERIC_READ; + ea.grfAccessMode = SET_ACCESS; + ea.grfInheritance = NO_INHERITANCE; + ea.Trustee = trst; + + ret = SetEntriesInAcl (1, &ea, NULL, ppdacl); + if (ret != ERROR_SUCCESS) + return FALSE; + + if (!InitializeSecurityDescriptor (psd, SECURITY_DESCRIPTOR_REVISION)) + return FALSE; + + if (!SetSecurityDescriptorDacl (psd, TRUE, *ppdacl, FALSE)) + return FALSE; + + return TRUE; +} + +#define DEFAULT_PIPE_BUF_SIZE 4096 + +SpiceNamedPipe* +spice_win32_user_pipe_new (gchar *name, GError **error) +{ + SECURITY_ATTRIBUTES sa; + SECURITY_DESCRIPTOR sd; + PACL dacl = NULL; + HANDLE pipe; + SpiceNamedPipe *np = NULL; + + g_return_val_if_fail (name != NULL, NULL); + g_return_val_if_fail (error != NULL, NULL); + + if (!get_user_security_attributes (&sa, &sd, &dacl)) + return NULL; + + pipe = CreateNamedPipe (name, + PIPE_ACCESS_DUPLEX | FILE_FLAG_OVERLAPPED | + /* FIXME: why is FILE_FLAG_FIRST_PIPE_INSTANCE needed for WRITE_DAC + * (apparently needed by SetSecurityInfo). This will prevent + * multiple pipe listener....?! */ + FILE_FLAG_FIRST_PIPE_INSTANCE | WRITE_DAC, + PIPE_TYPE_BYTE | PIPE_READMODE_BYTE | PIPE_WAIT, + PIPE_UNLIMITED_INSTANCES, + DEFAULT_PIPE_BUF_SIZE, DEFAULT_PIPE_BUF_SIZE, + 0, &sa); + + if (pipe == INVALID_HANDLE_VALUE) { + int errsv = GetLastError (); + gchar *emsg = g_win32_error_message (errsv); + + g_set_error (error, + G_IO_ERROR, + g_io_error_from_win32_error (errsv), + "Error CreateNamedPipe(): %s", + emsg); + + g_free (emsg); + goto end; + } + + /* lower integrity on Vista/Win7+ */ + if ((LOBYTE (g_win32_get_windows_version()) > 0x05) && + !spice_win32_set_low_integrity (pipe, error)) + goto end; + + np = SPICE_NAMED_PIPE (g_initable_new (SPICE_TYPE_NAMED_PIPE, + NULL, error, "handle", pipe, NULL)); + +end: + LocalFree (dacl); + + return np; +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/win32-util.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/win32-util.h new file mode 100644 index 0000000..b24ac77 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/controller/win32-util.h @@ -0,0 +1,30 @@ +/* + Copyright (C) 2012 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __WIN32_UTIL_H__ +#define __WIN32_UTIL_H__ + +#include +#include "namedpipe.h" + +G_BEGIN_DECLS + +gboolean spice_win32_set_low_integrity (void* handle, GError **error); +SpiceNamedPipe* spice_win32_user_pipe_new (gchar *name, GError **error); + +G_END_DECLS + +#endif /* __WIN32_UTIL_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/coroutine.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/coroutine.h new file mode 100644 index 0000000..031a97b --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/coroutine.h @@ -0,0 +1,77 @@ +/* + * GTK VNC Widget + * + * Copyright (C) 2006 Anthony Liguori + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.0 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef _COROUTINE_H_ +#define _COROUTINE_H_ + +#include "config.h" + +#if WITH_UCONTEXT +#include "continuation.h" +#elif WITH_WINFIBER +#include +#else +#include +#endif + +struct coroutine +{ + size_t stack_size; + void *(*entry)(void *); + int (*release)(struct coroutine *); + + /* read-only */ + int exited; + + /* private */ + struct coroutine *caller; + void *data; + +#if WITH_UCONTEXT + struct continuation cc; +#elif WITH_WINFIBER + LPVOID fiber; + int ret; +#else + GThread *thread; + gboolean runnable; +#endif +}; + +int coroutine_init(struct coroutine *co); + +int coroutine_release(struct coroutine *co); + +void *coroutine_swap(struct coroutine *from, struct coroutine *to, void *arg); + +struct coroutine *coroutine_self(void); + +void *coroutine_yieldto(struct coroutine *to, void *arg); + +void *coroutine_yield(void *arg); + +#endif +/* + * Local variables: + * c-indent-level: 8 + * c-basic-offset: 8 + * tab-width: 8 + * End: + */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/coroutine_gthread.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/coroutine_gthread.c new file mode 100644 index 0000000..14231a0 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/coroutine_gthread.c @@ -0,0 +1,163 @@ +/* + * GTK VNC Widget + * + * Copyright (C) 2006 Anthony Liguori + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.0 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#include + +#include "coroutine.h" +#include +#include + +static GCond *run_cond; +static GMutex *run_lock; +static struct coroutine *current; +static struct coroutine leader; + +#if 0 +#define CO_DEBUG(OP) fprintf(stderr, "%s %p %s %d\n", OP, g_thread_self(), __FUNCTION__, __LINE__) +#else +#define CO_DEBUG(OP) +#endif + +static void coroutine_system_init(void) +{ + if (!g_thread_supported()) { + CO_DEBUG("INIT"); + g_thread_init(NULL); + } + + + run_cond = g_cond_new(); + run_lock = g_mutex_new(); + CO_DEBUG("LOCK"); + g_mutex_lock(run_lock); + + /* The thread that creates the first coroutine is the system coroutine + * so let's fill out a structure for it */ + leader.entry = NULL; + leader.release = NULL; + leader.stack_size = 0; + leader.exited = 0; + leader.thread = g_thread_self(); + leader.runnable = TRUE; /* we're the one running right now */ + leader.caller = NULL; + leader.data = NULL; + + current = &leader; +} + +static gpointer coroutine_thread(gpointer opaque) +{ + struct coroutine *co = opaque; + CO_DEBUG("LOCK"); + g_mutex_lock(run_lock); + while (!co->runnable) { + CO_DEBUG("WAIT"); + g_cond_wait(run_cond, run_lock); + } + + CO_DEBUG("RUNNABLE"); + current = co; + co->data = co->entry(co->data); + co->exited = 1; + + co->caller->runnable = TRUE; + CO_DEBUG("BROADCAST"); + g_cond_broadcast(run_cond); + CO_DEBUG("UNLOCK"); + g_mutex_unlock(run_lock); + + return NULL; +} + +int coroutine_init(struct coroutine *co) +{ + if (run_cond == NULL) + coroutine_system_init(); + + CO_DEBUG("NEW"); + co->thread = g_thread_create_full(coroutine_thread, co, co->stack_size, + FALSE, TRUE, + G_THREAD_PRIORITY_NORMAL, + NULL); + if (co->thread == NULL) + return -1; + + co->exited = 0; + co->runnable = FALSE; + co->caller = NULL; + + return 0; +} + +int coroutine_release(struct coroutine *co G_GNUC_UNUSED) +{ + return 0; +} + +void *coroutine_swap(struct coroutine *from, struct coroutine *to, void *arg) +{ + from->runnable = FALSE; + to->runnable = TRUE; + to->data = arg; + to->caller = from; + CO_DEBUG("BROADCAST"); + g_cond_broadcast(run_cond); + CO_DEBUG("UNLOCK"); + g_mutex_unlock(run_lock); + CO_DEBUG("LOCK"); + g_mutex_lock(run_lock); + while (!from->runnable) { + CO_DEBUG("WAIT"); + g_cond_wait(run_cond, run_lock); + } + current = from; + + CO_DEBUG("SWAPPED"); + return from->data; +} + +struct coroutine *coroutine_self(void) +{ + return current; +} + +void *coroutine_yieldto(struct coroutine *to, void *arg) +{ + if (to->caller) { + fprintf(stderr, "Co-routine is re-entering itself\n"); + abort(); + } + CO_DEBUG("SWAP"); + return coroutine_swap(coroutine_self(), to, arg); +} + +void *coroutine_yield(void *arg) +{ + struct coroutine *to = coroutine_self()->caller; + if (!to) { + fprintf(stderr, "Co-routine is yielding to no one\n"); + abort(); + } + + CO_DEBUG("SWAP"); + coroutine_self()->caller = NULL; + return coroutine_swap(coroutine_self(), to, arg); +} + diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/coroutine_ucontext.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/coroutine_ucontext.c new file mode 100644 index 0000000..af811a7 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/coroutine_ucontext.c @@ -0,0 +1,139 @@ +/* + * GTK VNC Widget + * + * Copyright (C) 2006 Anthony Liguori + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.0 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#include + +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#include +#include +#include +#include "coroutine.h" + +#ifndef MAP_ANONYMOUS +# define MAP_ANONYMOUS MAP_ANON +#endif + +int coroutine_release(struct coroutine *co) +{ + return cc_release(&co->cc); +} + +static int _coroutine_release(struct continuation *cc) +{ + struct coroutine *co = container_of(cc, struct coroutine, cc); + + if (co->release) { + int ret = co->release(co); + if (ret < 0) + return ret; + } + + co->caller = NULL; + + return 0; +} + +static void coroutine_trampoline(struct continuation *cc) +{ + struct coroutine *co = container_of(cc, struct coroutine, cc); + co->data = co->entry(co->data); +} + +int coroutine_init(struct coroutine *co) +{ + if (co->stack_size == 0) + co->stack_size = 16 << 20; + + co->cc.stack_size = co->stack_size; + co->cc.stack = mmap(0, co->stack_size, + PROT_READ | PROT_WRITE, + MAP_PRIVATE | MAP_ANONYMOUS, + -1, 0); + if (co->cc.stack == MAP_FAILED) + return -1; + co->cc.entry = coroutine_trampoline; + co->cc.release = _coroutine_release; + co->exited = 0; + + return cc_init(&co->cc); +} + +#if 0 +static __thread struct coroutine leader; +static __thread struct coroutine *current; +#else +static struct coroutine leader; +static struct coroutine *current; +#endif + +struct coroutine *coroutine_self(void) +{ + if (current == NULL) + current = &leader; + return current; +} + +void *coroutine_swap(struct coroutine *from, struct coroutine *to, void *arg) +{ + int ret; + to->data = arg; + current = to; + ret = cc_swap(&from->cc, &to->cc); + if (ret == 0) + return from->data; + else if (ret == 1) { + coroutine_release(to); + current = &leader; + to->exited = 1; + return to->data; + } + + return NULL; +} + +void *coroutine_yieldto(struct coroutine *to, void *arg) +{ + if (to->caller) { + fprintf(stderr, "Co-routine is re-entering itself\n"); + abort(); + } + to->caller = coroutine_self(); + return coroutine_swap(coroutine_self(), to, arg); +} + +void *coroutine_yield(void *arg) +{ + struct coroutine *to = coroutine_self()->caller; + if (!to) { + fprintf(stderr, "Co-routine is yielding to no one\n"); + abort(); + } + coroutine_self()->caller = NULL; + return coroutine_swap(coroutine_self(), to, arg); +} +/* + * Local variables: + * c-indent-level: 8 + * c-basic-offset: 8 + * tab-width: 8 + * End: + */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/coroutine_winfibers.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/coroutine_winfibers.c new file mode 100644 index 0000000..a4cd14b --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/coroutine_winfibers.c @@ -0,0 +1,121 @@ +/* + * SpiceGtk coroutine with Windows fibers + * + * Copyright (C) 2011 Marc-André Lureau + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.0 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#include +#include + +#include "coroutine.h" + +static struct coroutine leader = { 0, }; +static struct coroutine *current = NULL; +static struct coroutine *caller = NULL; + +int coroutine_release(struct coroutine *co) +{ + DeleteFiber(co->fiber); + return 0; +} + +static void WINAPI coroutine_trampoline(LPVOID lpParameter) +{ + struct coroutine *co = (struct coroutine *)lpParameter; + + co->data = co->entry(co->data); + + if (co->release) + co->ret = co->release(co); + else + co->ret = 0; + + co->caller = NULL; + + // and switch back to caller + co->ret = 1; + SwitchToFiber(caller->fiber); +} + +int coroutine_init(struct coroutine *co) +{ + if (leader.fiber == NULL) { + leader.fiber = ConvertThreadToFiber(&leader); + if (leader.fiber == NULL) + return -1; + } + + co->fiber = CreateFiber(0, &coroutine_trampoline, co); + co->ret = 0; + if (co->fiber == NULL) + return -1; + + return 0; +} + +struct coroutine *coroutine_self(void) +{ + if (current == NULL) + current = &leader; + return current; +} + +void *coroutine_swap(struct coroutine *from, struct coroutine *to, void *arg) +{ + to->data = arg; + current = to; + caller = from; + SwitchToFiber(to->fiber); + if (to->ret == 0) + return from->data; + else if (to->ret == 1) { + coroutine_release(to); + current = &leader; + to->exited = 1; + return to->data; + } + + return NULL; +} + +void *coroutine_yieldto(struct coroutine *to, void *arg) +{ + if (to->caller) { + fprintf(stderr, "Co-routine is re-entering itself\n"); + abort(); + } + to->caller = coroutine_self(); + return coroutine_swap(coroutine_self(), to, arg); +} + +void *coroutine_yield(void *arg) +{ + struct coroutine *to = coroutine_self()->caller; + if (!to) { + fprintf(stderr, "Co-routine is yielding to no one\n"); + abort(); + } + coroutine_self()->caller = NULL; + return coroutine_swap(coroutine_self(), to, arg); +} +/* + * Local variables: + * c-indent-level: 8 + * c-basic-offset: 8 + * tab-width: 8 + * End: + */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/decode-glz-tmpl.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/decode-glz-tmpl.c new file mode 100644 index 0000000..63e3a36 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/decode-glz-tmpl.c @@ -0,0 +1,337 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ + +// External defines: PLT, RGBX/PLTXX/ALPHA, TO_RGB32. +// If PLT4/1 and TO_RGB32 are defined, we need CAST_PLT_DISTANCE ( +// because then the number of pixels differ from the units used in the compression) + +/* + For each output pixel type the following macros are defined: + OUT_PIXEL - the output pixel type + COPY_PIXEL(p, out) - assigns the pixel to the place pointed by out and + increases out. Used in RLE. + Need special handling because in alpha we copy only + the pad byte. + COPY_REF_PIXEL(ref, out) - copies the pixel pointed by ref to the pixel pointed by out. + Increases ref and out. + COPY_COMP_PIXEL(encoder, out) - copies pixel from the compressed buffer to the decompressed + buffer. Increases out. +*/ + +#if !defined(LZ_RGB_ALPHA) +#define COPY_PIXEL(p, out) (*(out++) = p) +#define COPY_REF_PIXEL(ref, out) (*(out++) = *(ref++)) +#endif + +// decompressing plt to plt +#ifdef LZ_PLT +#ifndef TO_RGB32 +#define OUT_PIXEL one_byte_pixel_t +#define FNAME(name) glz_plt_##name +#define COPY_COMP_PIXEL(in, out) {(out)->a = *(in++); out++;} +#else // TO_RGB32 +#define OUT_PIXEL rgb32_pixel_t +#define COPY_PLT_ENTRY(ent, out) {\ + (out)->b = ent; (out)->g = (ent >> 8); (out)->r = (ent >> 16); (out)->pad = 0;} +#ifdef PLT8 +#define FNAME(name) glz_plt8_to_rgb32_##name +#define COPY_COMP_PIXEL(in, out, palette) { \ + uint32_t rgb = palette->ents[*(in++)]; \ + COPY_PLT_ENTRY(rgb, out); \ + out++; \ +} +#elif defined(PLT4_BE) +#define FNAME(name) glz_plt4_be_to_rgb32_##name +#define COPY_COMP_PIXEL(in, out, palette){ \ + uint8_t byte = *(in++); \ + uint32_t rgb = palette->ents[((byte >> 4) & 0x0f) % (palette->num_ents)]; \ + COPY_PLT_ENTRY(rgb, out); \ + out++; \ + rgb = palette->ents[(byte & 0x0f) % (palette->num_ents)]; \ + COPY_PLT_ENTRY(rgb, out); \ + out++; \ +} +#define CAST_PLT_DISTANCE(dist) (dist*2) +#elif defined(PLT4_LE) +#define FNAME(name) glz_plt4_le_to_rgb32_##name +#define COPY_COMP_PIXEL(in, out, palette){ \ + uint8_t byte = *(in++); \ + uint32_t rgb = palette->ents[(byte & 0x0f) % (palette->num_ents)]; \ + COPY_PLT_ENTRY(rgb, out); \ + out++; \ + rgb = palette->ents[((byte >> 4) & 0x0f) % (palette->num_ents)]; \ + COPY_PLT_ENTRY(rgb, out); \ + out++; \ +} +#define CAST_PLT_DISTANCE(dist) (dist*2) +#elif defined(PLT1_BE) // TODO store palette entries for direct access +#define FNAME(name) glz_plt1_be_to_rgb32_##name +#define COPY_COMP_PIXEL(in, out, palette){ \ + uint8_t byte = *(in++); \ + int i; \ + uint32_t fore = palette->ents[1]; \ + uint32_t back = palette->ents[0]; \ + for (i = 7; i >= 0; i--) \ + { \ + if ((byte >> i) & 1) { \ + COPY_PLT_ENTRY(fore, out); \ + } else { \ + COPY_PLT_ENTRY(back, out); \ + } \ + out++; \ + } \ +} +#define CAST_PLT_DISTANCE(dist) (dist*8) +#elif defined(PLT1_LE) +#define FNAME(name) glz_plt1_le_to_rgb32_##name +#define COPY_COMP_PIXEL(in, out, palette){ \ + uint8_t byte = *(in++); \ + int i; \ + uint32_t fore = palette->ents[1]; \ + uint32_t back = palette->ents[0]; \ + for (i = 0; i < 8; i++) \ + { \ + if ((byte >> i) & 1) { \ + COPY_PLT_ENTRY(fore, out); \ + } else { \ + COPY_PLT_ENTRY(back, out); \ + } \ + out++; \ + } \ +} +#define CAST_PLT_DISTANCE(dist) (dist*8) +#endif // PLT Type +#endif // TO_RGB32 +#endif + +#ifdef LZ_RGB16 +#ifndef TO_RGB32 +#define OUT_PIXEL rgb16_pixel_t +#define FNAME(name) glz_rgb16_##name +#define COPY_COMP_PIXEL(in, out) {*out = (*(in++)) << 8; *out |= *(in++); out++;} +#else +#define OUT_PIXEL rgb32_pixel_t +#define FNAME(name) glz_rgb16_to_rgb32_##name +#define COPY_COMP_PIXEL(in, out) {out->r = *(in++); out->b= *(in++); \ + out->g = (((out->r) << 6) | ((out->b) >> 2)) & ~0x07; \ + out->g |= (out->g >> 5); \ + out->r = ((out->r << 1) & ~0x07) | ((out->r >> 4) & 0x07) ; \ + out->b = (out->b << 3) | ((out->b >> 2) & 0x07); \ + out->pad = 0; \ + out++; \ +} +#endif +#endif + +#ifdef LZ_RGB24 +#define OUT_PIXEL rgb24_pixel_t +#define FNAME(name) glz_rgb24_##name +#define COPY_COMP_PIXEL(in, out) { \ + out->b = *(in++); \ + out->g = *(in++); \ + out->r = *(in++); \ + out++; \ +} +#endif + +#ifdef LZ_RGB32 +#define OUT_PIXEL rgb32_pixel_t +#define FNAME(name) glz_rgb32_##name +#define COPY_COMP_PIXEL(in, out) { \ + out->b = *(in++); \ + out->g = *(in++); \ + out->r = *(in++); \ + out->pad = 0; \ + out++; \ +} +#endif + +#ifdef LZ_RGB_ALPHA +#define OUT_PIXEL rgb32_pixel_t +#define FNAME(name) glz_rgb_alpha_##name +#define COPY_PIXEL(p, out) {out->pad = p.pad; out++;} +#define COPY_REF_PIXEL(ref, out) {out->pad = ref->pad; out++; ref++;} +#define COPY_COMP_PIXEL(in, out) {out->pad = *(in++); out++;} +#endif + +// TODO: separate into routines that decode to dist,len. and to a routine that +// actually copies the data. + +/* returns num of bytes read from in buf. + size should be in PIXEL */ +static size_t FNAME(decode)(SpiceGlzDecoderWindow *window, + uint8_t* in_buf, uint8_t *out_buf, int size, + uint64_t image_id, SpicePalette *plt) +{ + uint8_t *ip = in_buf; + OUT_PIXEL *out_pix_buf = (OUT_PIXEL *)out_buf; + OUT_PIXEL *op = out_pix_buf; + OUT_PIXEL *op_limit = out_pix_buf + size; + + uint32_t ctrl = *(ip++); + int loop = true; + + do { + if (ctrl >= MAX_COPY) { // reference (dictionary/RLE) + OUT_PIXEL *ref = op; + uint32_t len = ctrl >> 5; + uint8_t pixel_flag = (ctrl >> 4) & 0x01; + uint32_t pixel_ofs = (ctrl & 0x0f); + uint8_t image_flag; + uint32_t image_dist; + + /* retrieving the referenced images, the offset of the first pixel, + and the match length */ + + uint8_t code; + //len--; // TODO: why do we do this? + + if (len == 7) { // match length is bigger than 7 + do { + code = *(ip++); + len += code; + } while (code == 255); // remaining of len + } + code = *(ip++); + pixel_ofs += (code << 4); + + code = *(ip++); + image_flag = (code >> 6) & 0x03; + if (!pixel_flag) { // short pixel offset + int i; + image_dist = code & 0x3f; + for (i = 0; i < image_flag; i++) { + code = *(ip++); + image_dist += (code << (6 + (8 * i))); + } + } else { + int i; + pixel_flag = (code >> 5) & 0x01; + pixel_ofs += (code & 0x1f) << 12; + image_dist = 0; + for (i = 0; i < image_flag; i++) { + code = *(ip++); + image_dist += (code << 8 * i); + } + + + if (pixel_flag) { // very long pixel offset + code = *(ip++); + pixel_ofs += code << 17; + } + } + +#if defined(LZ_PLT) || defined(LZ_RGB_ALPHA) + len += 2; // length is biased by 2 (fixing bias) +#elif defined(LZ_RGB16) + len += 1; // length is biased by 1 (fixing bias) +#endif + if (!image_dist) { + pixel_ofs += 1; // offset is biased by 1 (fixing bias) + } + +#if defined(TO_RGB32) +#if defined(PLT4_BE) || defined(PLT4_LE) || defined(PLT1_BE) || defined(PLT1_LE) + pixel_ofs = CAST_PLT_DISTANCE(pixel_ofs); + len = CAST_PLT_DISTANCE(len); +#endif +#endif + + if (!image_dist) { // reference is inside the same image + ref -= pixel_ofs; + g_return_val_if_fail(ref + len <= op_limit, 0); + g_return_val_if_fail(ref >= out_pix_buf, 0); + } else { + ref = glz_decoder_window_bits(window, image_id, + image_dist, pixel_ofs); + } + + g_return_val_if_fail(ref != NULL, 0); + g_return_val_if_fail(op + len <= op_limit, 0); + + /* copying the match*/ + + if (ref == (op - 1)) { // run (this will never be called in PLT4/1_TO_RGB because the + // number of pixel copied is larger then one... + /* optimize copy for a run */ + OUT_PIXEL b = *ref; + for (; len; --len) { + COPY_PIXEL(b, op); + g_return_val_if_fail(op <= op_limit, 0); + } + } else { + for (; len; --len) { + COPY_REF_PIXEL(ref, op); + g_return_val_if_fail(op <= op_limit, 0); + } + } + } else { // copy + ctrl++; // copy count is biased by 1 +#if defined(TO_RGB32) && (defined(PLT4_BE) || defined(PLT4_LE) || defined(PLT1_BE) || \ + defined(PLT1_LE)) + g_return_val_if_fail(op + CAST_PLT_DISTANCE(ctrl) <= op_limit, 0); +#else + g_return_val_if_fail(op + ctrl <= op_limit, 0); +#endif + +#if defined(TO_RGB32) && defined(LZ_PLT) + g_return_val_if_fail(plt, 0); + COPY_COMP_PIXEL(ip, op, plt); +#else + COPY_COMP_PIXEL(ip, op); +#endif + g_return_val_if_fail(op <= op_limit, 0); + + for (--ctrl; ctrl; ctrl--) { +#if defined(TO_RGB32) && defined(LZ_PLT) + g_return_val_if_fail(plt, 0); + COPY_COMP_PIXEL(ip, op, plt); +#else + COPY_COMP_PIXEL(ip, op); +#endif + g_return_val_if_fail(op <= op_limit, 0); + } + } // END REF/COPY + + if (LZ_EXPECT_CONDITIONAL(op < op_limit)) { + ctrl = *(ip++); + } else { + loop = false; + } + } while (LZ_EXPECT_CONDITIONAL(loop)); + + return (ip - in_buf); +} +#undef LZ_PLT +#undef PLT8 +#undef PLT4_BE +#undef PLT4_LE +#undef PLT1_BE +#undef PLT1_LE +#undef LZ_RGB16 +#undef LZ_RGB24 +#undef LZ_RGB32 +#undef LZ_RGB_ALPHA +#undef TO_RGB32 +#undef OUT_PIXEL +#undef FNAME +#undef COPY_PIXEL +#undef COPY_REF_PIXEL +#undef COPY_COMP_PIXEL +#undef COPY_PLT_ENTRY +#undef CAST_PLT_DISTANCE + diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/decode-glz.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/decode-glz.c new file mode 100644 index 0000000..e2626ef --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/decode-glz.c @@ -0,0 +1,473 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#include +#include +#include + +#include + +#include "gio-coroutine.h" +#include "spice-util.h" +#include "decode.h" + +#include "common/canvas_utils.h" + +struct glz_image_hdr { + uint64_t id; + LzImageType type; + uint32_t width; + uint32_t height; + uint32_t gross_pixels; + bool top_down; + uint32_t win_head_dist; +}; + +struct glz_image { + struct glz_image_hdr hdr; + pixman_image_t *surface; + uint8_t *data; +}; + +static struct glz_image *glz_image_new(struct glz_image_hdr *hdr, + int type, void *opaque) +{ + struct glz_image *img; + + g_return_val_if_fail(type == LZ_IMAGE_TYPE_RGB32 || type == LZ_IMAGE_TYPE_RGBA, NULL); + + img = spice_new0(struct glz_image, 1); + img->hdr = *hdr; + img->surface = alloc_lz_image_surface + (opaque, type == LZ_IMAGE_TYPE_RGBA ? PIXMAN_a8r8g8b8 : PIXMAN_x8r8g8b8, + img->hdr.width, img->hdr.height, img->hdr.gross_pixels, img->hdr.top_down); + pixman_image_ref(img->surface); + img->data = (uint8_t *)pixman_image_get_data(img->surface); + if (!img->hdr.top_down) { + img->data = img->data - img->hdr.width * (img->hdr.height - 1) * 4; + } + return img; +} + +static void glz_image_destroy(struct glz_image *img) +{ + if (img == NULL) + return; + + pixman_image_unref(img->surface); + free(img); +} + +/* ------------------------------------------------------------------ */ + +#define INIT_IMAGES_CAPACITY 100 +#define WIN_OVERFLOW_FACTOR 1.5 +#define WIN_REALLOC_FACTOR 1.5 + +struct SpiceGlzDecoderWindow { + struct glz_image **images; + uint32_t nimages; + uint64_t oldest; + uint64_t tail_gap; +}; + +static void glz_decoder_window_resize(SpiceGlzDecoderWindow *w) +{ + struct glz_image **new_images; + int i, new_slot; + + SPICE_DEBUG("%s: array resize %d -> %d", __FUNCTION__, + w->nimages, w->nimages * 2); + new_images = spice_new0(struct glz_image*, w->nimages * 2); + for (i = 0; i < w->nimages; i++) { + if (w->images[i] == NULL) { + /* + * We can have empty slots when images come in out of order, this + * can happen when a vm has multiple displays, since each display + * uses its own socket there is no guarantee that images + * originating from different displays are received in id order. + */ + continue; + } + new_slot = w->images[i]->hdr.id % (w->nimages * 2); + new_images[new_slot] = w->images[i]; + } + free(w->images); + w->images = new_images; + w->nimages *= 2; +} + +static void glz_decoder_window_add(SpiceGlzDecoderWindow *w, + struct glz_image *img) +{ + int slot = img->hdr.id % w->nimages; + + if (w->images[slot]) { + /* need more space */ + glz_decoder_window_resize(w); + slot = img->hdr.id % w->nimages; + } + + w->images[slot] = img; + + /* close the gap */ + while (w->tail_gap <= img->hdr.id && w->images[w->tail_gap % w->nimages] != NULL) + w->tail_gap++; +} + +struct wait_for_image_data { + SpiceGlzDecoderWindow *window; + uint64_t id; +}; + +static gboolean wait_for_image(gpointer data) +{ + struct wait_for_image_data *wait = data; + int slot = wait->id % wait->window->nimages; + struct glz_image *image = wait->window->images[slot]; + gboolean ready = image && image->hdr.id == wait->id; + + return ready; +} + +static void *glz_decoder_window_bits(SpiceGlzDecoderWindow *w, uint64_t id, + uint32_t dist, uint32_t offset) +{ + struct wait_for_image_data data = { + .window = w, + .id = id - dist, + }; + + if (!g_coroutine_condition_wait(g_coroutine_self(), wait_for_image, &data)) + SPICE_DEBUG("wait for image cancelled"); + + int slot = (id - dist) % w->nimages; + + g_return_val_if_fail(w->images[slot] != NULL, NULL); + g_return_val_if_fail(w->images[slot]->hdr.id == id - dist, NULL); + g_return_val_if_fail(w->images[slot]->hdr.gross_pixels >= offset, NULL); + + return w->images[slot]->data + offset * 4; +} + +static void glz_decoder_window_release(SpiceGlzDecoderWindow *w, + uint64_t oldest) +{ + int slot; + + while (w->oldest < oldest) { + slot = w->oldest % w->nimages; + glz_image_destroy(w->images[slot]); + w->images[slot] = NULL; + w->oldest++; + } +} + +/* ------------------------------------------------------------------ */ + +typedef struct GlibGlzDecoder { + SpiceGlzDecoder base; + uint8_t *in_start; + uint8_t *in_now; + SpiceGlzDecoderWindow *window; + struct glz_image_hdr image; +} GlibGlzDecoder; + +/* + * Give hints to the compiler for branch prediction optimization. + */ +#if defined(__GNUC__) && (__GNUC__ > 2) +#define LZ_EXPECT_CONDITIONAL(c) (__builtin_expect((c), 1)) +#define LZ_UNEXPECT_CONDITIONAL(c) (__builtin_expect((c), 0)) +#else +#define LZ_EXPECT_CONDITIONAL(c) (c) +#define LZ_UNEXPECT_CONDITIONAL(c) (c) +#endif + + +#ifdef __GNUC__ +#define ATTR_PACKED __attribute__ ((__packed__)) +#else +#define ATTR_PACKED +#pragma pack(push) +#pragma pack(1) +#endif + +/* + * the palette images will be treated as one byte pixels. Their width + * should be transformed accordingly. + */ +typedef struct ATTR_PACKED one_byte_pixel_t { + uint8_t a; +} one_byte_pixel_t; + +typedef struct ATTR_PACKED rgb32_pixel_t { + uint8_t b; + uint8_t g; + uint8_t r; + uint8_t pad; +} rgb32_pixel_t; + +typedef struct ATTR_PACKED rgb24_pixel_t { + uint8_t b; + uint8_t g; + uint8_t r; +} rgb24_pixel_t; + +typedef uint16_t rgb16_pixel_t; + +#ifndef __GNUC__ +#pragma pack(pop) +#endif + +#undef ATTR_PACKED + +#define LZ_PLT +#include "decode-glz-tmpl.c" + +#define LZ_PLT +#define PLT8 +#define TO_RGB32 +#include "decode-glz-tmpl.c" + +#define LZ_PLT +#define PLT4_BE +#define TO_RGB32 +#include "decode-glz-tmpl.c" + +#define LZ_PLT +#define PLT4_LE +#define TO_RGB32 +#include "decode-glz-tmpl.c" + +#define LZ_PLT +#define PLT1_BE +#define TO_RGB32 +#include "decode-glz-tmpl.c" + +#define LZ_PLT +#define PLT1_LE +#define TO_RGB32 +#include "decode-glz-tmpl.c" + + +#define LZ_RGB16 +#include "decode-glz-tmpl.c" +#define LZ_RGB16 +#define TO_RGB32 +#include "decode-glz-tmpl.c" + +#define LZ_RGB24 +#include "decode-glz-tmpl.c" + +#define LZ_RGB32 +#include "decode-glz-tmpl.c" + +#define LZ_RGB_ALPHA +#include "decode-glz-tmpl.c" + +#undef LZ_UNEXPECT_CONDITIONAL +#undef LZ_EXPECT_CONDITIONAL + +typedef size_t (*decode_function)(SpiceGlzDecoderWindow *window, + uint8_t* in_buf, uint8_t *out_buf, int size, + uint64_t id, SpicePalette *plt); + +// ordered according to LZ_IMAGE_TYPE +const decode_function DECODE_TO_RGB32[] = { + NULL, + glz_plt1_le_to_rgb32_decode, + glz_plt1_be_to_rgb32_decode, + glz_plt4_le_to_rgb32_decode, + glz_plt4_be_to_rgb32_decode, + glz_plt8_to_rgb32_decode, + glz_rgb16_to_rgb32_decode, + glz_rgb32_decode, + glz_rgb32_decode, + glz_rgb32_decode +}; + +const decode_function DECODE_TO_SAME[] = { + NULL, + glz_plt_decode, + glz_plt_decode, + glz_plt_decode, + glz_plt_decode, + glz_plt_decode, + glz_rgb16_decode, + glz_rgb24_decode, + glz_rgb32_decode, + glz_rgb32_decode +}; + +static uint32_t decode_32(GlibGlzDecoder *d) +{ + uint32_t word = 0; + word |= *(d->in_now++); + word <<= 8; + word |= *(d->in_now++); + word <<= 8; + word |= *(d->in_now++); + word <<= 8; + word |= *(d->in_now++); + return word; +} + +static uint64_t decode_64(GlibGlzDecoder *d) +{ + uint64_t long_word = decode_32(d); + long_word <<= 32; + long_word |= decode_32(d); + return long_word; +} + +static void decode_header(GlibGlzDecoder *d) +{ + uint32_t magic; + uint32_t version; + uint32_t stride; + uint8_t tmp; + + magic = decode_32(d); + g_return_if_fail(magic == LZ_MAGIC); + + version = decode_32(d); + g_return_if_fail(version == LZ_VERSION); + + tmp = *(d->in_now++); + + d->image.type = (LzImageType)(tmp & LZ_IMAGE_TYPE_MASK); + d->image.top_down = (tmp >> LZ_IMAGE_TYPE_LOG) ? true : false; + d->image.width = decode_32(d); + d->image.height = decode_32(d); + stride = decode_32(d); + + if (IS_IMAGE_TYPE_PLT[d->image.type]) { + d->image.gross_pixels = stride * PLT_PIXELS_PER_BYTE[d->image.type] + * d->image.height; + } else { + d->image.gross_pixels = d->image.width * d->image.height; + } + + d->image.id = decode_64(d); + d->image.win_head_dist = decode_32(d); + + SPICE_DEBUG("%s: %dx%d, id %" PRId64 ", ref %" PRId64, + __FUNCTION__, + d->image.width, d->image.height, d->image.id, + d->image.id - d->image.win_head_dist); +} + +static void decode(SpiceGlzDecoder *decoder, + uint8_t *data, SpicePalette *palette, + void *usr_data) +{ + GlibGlzDecoder *d = SPICE_CONTAINEROF(decoder, GlibGlzDecoder, base); + LzImageType decoded_type; + struct glz_image *decoded_image; + size_t n_in_bytes_decoded; + + d->in_start = data; + d->in_now = data; + + decode_header(d); + + if (d->image.type == LZ_IMAGE_TYPE_RGBA) { + decoded_type = LZ_IMAGE_TYPE_RGBA; + } else { + decoded_type = LZ_IMAGE_TYPE_RGB32; + } + + decoded_image = glz_image_new(&d->image, decoded_type, usr_data); + + n_in_bytes_decoded = DECODE_TO_RGB32[d->image.type] + (d->window, d->in_now, decoded_image->data, + d->image.gross_pixels, d->image.id, palette); + + d->in_now += n_in_bytes_decoded; + + if (d->image.type == LZ_IMAGE_TYPE_RGBA) { + glz_rgb_alpha_decode(d->window, d->in_now, decoded_image->data, + d->image.gross_pixels, d->image.id, palette); + } + + glz_decoder_window_add(d->window, decoded_image); + + { /* release old images from last tail_gap, only if the gap is closed */ + uint64_t oldest; + struct glz_image *image = d->window->images[(d->window->tail_gap - 1) % d->window->nimages]; + + g_return_if_fail(image != NULL); + + oldest = image->hdr.id - image->hdr.win_head_dist; + glz_decoder_window_release(d->window, oldest); + } +} + +/* ------------------------------------------------------------------ */ + +static SpiceGlzDecoderOps glz_decoder_ops = { + .decode = decode, +}; + +void glz_decoder_window_clear(SpiceGlzDecoderWindow *w) +{ + int i; + + g_return_if_fail(w->nimages == 0 || w->images != NULL); + + for (i = 0; i < w->nimages; i++) { + if (w->images[i]) { + glz_image_destroy(w->images[i]); + } + } + + w->nimages = 16; + g_free(w->images); + w->images = spice_new0(struct glz_image*, w->nimages); + w->tail_gap = 0; +} + +SpiceGlzDecoderWindow *glz_decoder_window_new(void) +{ + SpiceGlzDecoderWindow *w = spice_new0(SpiceGlzDecoderWindow, 1); + glz_decoder_window_clear(w); + return w; +} + +void glz_decoder_window_destroy(SpiceGlzDecoderWindow *w) +{ + if (w == NULL) + return; + + glz_decoder_window_clear(w); + free(w->images); + free(w); +} + +SpiceGlzDecoder *glz_decoder_new(SpiceGlzDecoderWindow *w) +{ + GlibGlzDecoder *d = spice_new0(GlibGlzDecoder, 1); + d->base.ops = &glz_decoder_ops; + d->window = w; + return &d->base; +} + +void glz_decoder_destroy(SpiceGlzDecoder *d) +{ + free(d); +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/decode-jpeg.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/decode-jpeg.c new file mode 100644 index 0000000..85976d0 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/decode-jpeg.c @@ -0,0 +1,189 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#include "decode.h" + +#ifdef WIN32 +/* We need some hacks to avoid warnings from the jpeg headers, ex: */ +/* #define HAVE_BOOLEAN */ +#define XMD_H +/* #undef FAR */ +/* but they are not compatible: uchar vs int........!@@(#$$??!@! */ +/* fix this with UGLY HACK! */ +/* #define boolean spice_jpeg_boolean */ +/* #define INT32 spice_jpeg_int32 */ +#endif + +#include +#include + +typedef struct GlibJpegDecoder +{ + SpiceJpegDecoder base; + struct jpeg_decompress_struct _cinfo; + struct jpeg_error_mgr _jerr; + struct jpeg_source_mgr _jsrc; + + uint8_t* _data; + int _data_size; + int _width; + int _height; +} GlibJpegDecoder; + +static void begin_decode(SpiceJpegDecoder *decoder, + uint8_t* data, int data_size, + int* out_width, int* out_height) +{ + GlibJpegDecoder *d = SPICE_CONTAINEROF(decoder, GlibJpegDecoder, base); + + g_return_if_fail(data != NULL); + g_return_if_fail(data_size != 0); + + if (d->_data) + jpeg_abort_decompress(&d->_cinfo); + + d->_data = data; + d->_data_size = data_size; + + d->_cinfo.src->next_input_byte = d->_data; + d->_cinfo.src->bytes_in_buffer = d->_data_size; + + jpeg_read_header(&d->_cinfo, TRUE); + + d->_cinfo.out_color_space = JCS_RGB; + d->_width = d->_cinfo.image_width; + d->_height = d->_cinfo.image_height; + + *out_width = d->_width; + *out_height = d->_height; +} + +/* TODO: move it elsewhere and reuse it in get_pixbuf(), optimize? */ +typedef void (*converter_rgb_t)(uint8_t* src, uint8_t* dest, int width); + +static void convert_rgb_to_bgr(uint8_t* src, uint8_t* dest, int width) +{ + int x; + + for (x = 0; x < width; x++) { + *dest++ = src[2]; + *dest++ = src[1]; + *dest++ = src[0]; + src += 3; + } +} + +static void convert_rgb_to_bgrx(uint8_t* src, uint8_t* dest, int width) +{ + int x; + + for (x = 0; x < width; x++) { + *dest++ = src[2]; + *dest++ = src[1]; + *dest++ = src[0]; + *dest++ = 0; + src += 3; + } +} + +static void decode(SpiceJpegDecoder *decoder, + uint8_t* dest, int stride, int format) +{ + GlibJpegDecoder *d = SPICE_CONTAINEROF(decoder, GlibJpegDecoder, base); + uint8_t* scan_line = g_alloca(d->_width * 3); + converter_rgb_t converter = NULL; + int row; + + switch (format) { + case SPICE_BITMAP_FMT_24BIT: + converter = convert_rgb_to_bgr; + break; + case SPICE_BITMAP_FMT_32BIT: + converter = convert_rgb_to_bgrx; + break; + default: + g_warning("bad bitmap format, %d", format); + return; + } + + g_return_if_fail(converter != NULL); + + jpeg_start_decompress(&d->_cinfo); + + for (row = 0; row < d->_height; row++) { + jpeg_read_scanlines(&d->_cinfo, &scan_line, 1); + converter(scan_line, dest, d->_width); + dest += stride; + } + + jpeg_finish_decompress(&d->_cinfo); +} + +static SpiceJpegDecoderOps jpeg_decoder_ops = { + .begin_decode = begin_decode, + .decode = decode, +}; + +static void jpeg_decoder_init_source(j_decompress_ptr cinfo) +{ +} + +static boolean jpeg_decoder_fill_input_buffer(j_decompress_ptr cinfo) +{ + g_warning("no more data for jpeg"); + return FALSE; +} + +static void jpeg_decoder_skip_input_data(j_decompress_ptr cinfo, long num_bytes) +{ + g_return_if_fail(num_bytes < (long)cinfo->src->bytes_in_buffer); + + cinfo->src->next_input_byte += num_bytes; + cinfo->src->bytes_in_buffer -= num_bytes; +} + +static void jpeg_decoder_term_source (j_decompress_ptr cinfo) +{ + return; +} + +SpiceJpegDecoder *jpeg_decoder_new(void) +{ + GlibJpegDecoder *d = spice_new0(GlibJpegDecoder, 1); + + d->_cinfo.err = jpeg_std_error(&d->_jerr); + jpeg_create_decompress(&d->_cinfo); + + d->_cinfo.src = &d->_jsrc; + d->_cinfo.src->init_source = jpeg_decoder_init_source; + d->_cinfo.src->fill_input_buffer = jpeg_decoder_fill_input_buffer; + d->_cinfo.src->skip_input_data = jpeg_decoder_skip_input_data; + d->_cinfo.src->resync_to_restart = jpeg_resync_to_restart; + d->_cinfo.src->term_source = jpeg_decoder_term_source; + + d->base.ops = &jpeg_decoder_ops; + + return &d->base; +} + +void jpeg_decoder_destroy(SpiceJpegDecoder *decoder) +{ + GlibJpegDecoder *d = SPICE_CONTAINEROF(decoder, GlibJpegDecoder, base); + + jpeg_destroy_decompress(&d->_cinfo); + free(d); +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/decode-zlib.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/decode-zlib.c new file mode 100644 index 0000000..a692020 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/decode-zlib.c @@ -0,0 +1,87 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#include "decode.h" + +#ifndef __GNUC__ +#define ZLIB_WINAPI +#endif + +#include + +typedef struct GlibZlibDecoder +{ + SpiceZlibDecoder base; + z_stream _z_strm; +} GlibZlibDecoder; + +static void decode(SpiceZlibDecoder *decoder, + uint8_t *data, int data_size, + uint8_t *dest, int dest_size) +{ + GlibZlibDecoder *d = SPICE_CONTAINEROF(decoder, GlibZlibDecoder, base); + int z_ret; + + inflateReset(&d->_z_strm); + d->_z_strm.next_in = data; + d->_z_strm.avail_in = data_size; + d->_z_strm.next_out = dest; + d->_z_strm.avail_out = dest_size; + + z_ret = inflate(&d->_z_strm, Z_FINISH); + + if (z_ret != Z_STREAM_END) { + g_warning("zlib inflate failed, error %d", z_ret); + } +} + +static SpiceZlibDecoderOps zlib_decoder_ops = { + .decode = decode, +}; + +SpiceZlibDecoder *zlib_decoder_new(void) +{ + GlibZlibDecoder *d = spice_new0(GlibZlibDecoder, 1); + int z_ret; + + d->_z_strm.zalloc = Z_NULL; + d->_z_strm.zfree = Z_NULL; + d->_z_strm.opaque = Z_NULL; + d->_z_strm.next_in = Z_NULL; + d->_z_strm.avail_in = 0; + z_ret = inflateInit(&d->_z_strm); + if (z_ret != Z_OK) { + g_warning("zlib decoder init failed, error %d", z_ret); + goto fail; + } + + d->base.ops = &zlib_decoder_ops; + + return &d->base; + +fail: + free(d); + return NULL; +} + +void zlib_decoder_destroy(SpiceZlibDecoder *decoder) +{ + GlibZlibDecoder *d = SPICE_CONTAINEROF(decoder, GlibZlibDecoder, base); + + inflateEnd(&d->_z_strm); + free(d); +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/decode.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/decode.h new file mode 100644 index 0000000..7af0760 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/decode.h @@ -0,0 +1,44 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef SPICEGTK_DECODE_H_ +# define SPICEGTK_DECODE_H_ + +#include + +#include "common/canvas_base.h" + +G_BEGIN_DECLS + +typedef struct SpiceGlzDecoderWindow SpiceGlzDecoderWindow; + +SpiceGlzDecoderWindow *glz_decoder_window_new(void); +void glz_decoder_window_clear(SpiceGlzDecoderWindow *w); +void glz_decoder_window_destroy(SpiceGlzDecoderWindow *w); + +SpiceGlzDecoder *glz_decoder_new(SpiceGlzDecoderWindow *w); +void glz_decoder_destroy(SpiceGlzDecoder *d); + +SpiceZlibDecoder *zlib_decoder_new(void); +void zlib_decoder_destroy(SpiceZlibDecoder *d); + +SpiceJpegDecoder *jpeg_decoder_new(void); +void jpeg_decoder_destroy(SpiceJpegDecoder *d); + +G_END_DECLS + +#endif // SPICEGTK_DECODE_H_ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/desktop-integration.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/desktop-integration.c new file mode 100644 index 0000000..044e0d3 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/desktop-integration.c @@ -0,0 +1,231 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2012 Red Hat, Inc. + + Red Hat Authors: + Hans de Goede + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ + +#include "config.h" + +#include +#ifdef USE_DBUS +#include +#endif + +#include "glib-compat.h" +#include "spice-session-priv.h" +#include "desktop-integration.h" + +#include + +#define GNOME_SESSION_INHIBIT_AUTOMOUNT 16 + +/* ------------------------------------------------------------------ */ +/* gobject glue */ + +#define SPICE_DESKTOP_INTEGRATION_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE ((obj), SPICE_TYPE_DESKTOP_INTEGRATION, SpiceDesktopIntegrationPrivate)) + +struct _SpiceDesktopIntegrationPrivate { +#ifdef USE_DBUS + DBusGConnection *dbus_conn; + DBusGProxy *gnome_session_proxy; + guint gnome_automount_inhibit_cookie; +#else + int dummy; +#endif +}; + +G_DEFINE_TYPE(SpiceDesktopIntegration, spice_desktop_integration, G_TYPE_OBJECT); + +/* ------------------------------------------------------------------ */ +/* Gnome specific code */ + +#ifdef USE_DBUS + +static void handle_dbus_call_error(const char *call, GError **_error) +{ + GError *error = *_error; + const char *message = error->message; + + if (error->domain == DBUS_GERROR && + error->code == DBUS_GERROR_REMOTE_EXCEPTION) + message = dbus_g_error_get_name(error); + g_warning("Error calling '%s': %s", call, message); + g_clear_error(_error); +} + +static gboolean gnome_integration_init(SpiceDesktopIntegration *self) +{ + SpiceDesktopIntegrationPrivate *priv = self->priv; + GError *error = NULL; + + if (!priv->dbus_conn) + return FALSE; + + /* We use for_name_owner, to resolve the name now, as we may not be + running under gnome-session manager at all! */ + priv->gnome_session_proxy = dbus_g_proxy_new_for_name_owner( + priv->dbus_conn, + "org.gnome.SessionManager", + "/org/gnome/SessionManager", + "org.gnome.SessionManager", + &error); + if (error) { + g_debug("Could not create org.gnome.SessionManager dbus proxy: %s", + error->message); + g_clear_error(&error); + return FALSE; + } + + return TRUE; +} + +static void gnome_integration_inhibit_automount(SpiceDesktopIntegration *self) +{ + SpiceDesktopIntegrationPrivate *priv = self->priv; + GError *error = NULL; + + if (!priv->gnome_session_proxy) + return; + + g_return_if_fail(priv->gnome_automount_inhibit_cookie == 0); + + if (!dbus_g_proxy_call( + priv->gnome_session_proxy, "Inhibit", &error, + G_TYPE_STRING, g_get_prgname(), + G_TYPE_UINT, 0, + G_TYPE_STRING, + _("Automounting has been inhibited for USB auto-redirecting"), + G_TYPE_UINT, GNOME_SESSION_INHIBIT_AUTOMOUNT, + G_TYPE_INVALID, + G_TYPE_UINT, &priv->gnome_automount_inhibit_cookie, + G_TYPE_INVALID)) + handle_dbus_call_error("org.gnome.SessionManager.Inhibit", &error); +} + +static void gnome_integration_uninhibit_automount(SpiceDesktopIntegration *self) +{ + SpiceDesktopIntegrationPrivate *priv = self->priv; + GError *error = NULL; + + if (!priv->gnome_session_proxy) + return; + + /* Cookie is 0 when we failed to inhibit (and when called from dispose) */ + if (priv->gnome_automount_inhibit_cookie == 0) + return; + + if (!dbus_g_proxy_call( + priv->gnome_session_proxy, "Uninhibit", &error, + G_TYPE_UINT, priv->gnome_automount_inhibit_cookie, + G_TYPE_INVALID, + G_TYPE_INVALID)) + handle_dbus_call_error("org.gnome.SessionManager.Uninhibit", &error); + + priv->gnome_automount_inhibit_cookie = 0; +} + +static void gnome_integration_dispose(SpiceDesktopIntegration *self) +{ + SpiceDesktopIntegrationPrivate *priv = self->priv; + + g_clear_object(&priv->gnome_session_proxy); +} + +#endif + +/* ------------------------------------------------------------------ */ +/* gobject glue */ + +static void spice_desktop_integration_init(SpiceDesktopIntegration *self) +{ + SpiceDesktopIntegrationPrivate *priv; +#ifdef USE_DBUS + GError *error = NULL; +#endif + + priv = SPICE_DESKTOP_INTEGRATION_GET_PRIVATE(self); + self->priv = priv; + +#ifdef USE_DBUS + priv->dbus_conn = dbus_g_bus_get (DBUS_BUS_SESSION, &error); + if (!priv->dbus_conn) { + g_warning("Error connecting to session dbus: %s", error->message); + g_clear_error(&error); + } + if (!gnome_integration_init(self)) +#endif + g_warning("Warning no automount-inhibiting implementation available"); +} + +static void spice_desktop_integration_dispose(GObject *gobject) +{ +#ifdef USE_DBUS + SpiceDesktopIntegration *self = SPICE_DESKTOP_INTEGRATION(gobject); + + gnome_integration_dispose(self); +#endif + + /* Chain up to the parent class */ + if (G_OBJECT_CLASS(spice_desktop_integration_parent_class)->dispose) + G_OBJECT_CLASS(spice_desktop_integration_parent_class)->dispose(gobject); +} + +static void spice_desktop_integration_class_init(SpiceDesktopIntegrationClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS (klass); + + gobject_class->dispose = spice_desktop_integration_dispose; + + g_type_class_add_private(klass, sizeof(SpiceDesktopIntegrationPrivate)); +} + +/* ------------------------------------------------------------------ */ +/* public methods */ + +SpiceDesktopIntegration *spice_desktop_integration_get(SpiceSession *session) +{ + SpiceDesktopIntegration *self; + static GStaticMutex mutex = G_STATIC_MUTEX_INIT; + + g_return_val_if_fail(session != NULL, NULL); + + g_static_mutex_lock(&mutex); + self = session->priv->desktop_integration; + if (self == NULL) { + self = g_object_new(SPICE_TYPE_DESKTOP_INTEGRATION, NULL); + session->priv->desktop_integration = self; + } + g_static_mutex_unlock(&mutex); + + return self; +} + +void spice_desktop_integration_inhibit_automount(SpiceDesktopIntegration *self) +{ +#ifdef USE_DBUS + gnome_integration_inhibit_automount(self); +#endif +} + +void spice_desktop_integration_uninhibit_automount(SpiceDesktopIntegration *self) +{ +#ifdef USE_DBUS + gnome_integration_uninhibit_automount(self); +#endif +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/desktop-integration.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/desktop-integration.h new file mode 100644 index 0000000..3716089 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/desktop-integration.h @@ -0,0 +1,64 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2012 Red Hat, Inc. + + Red Hat Authors: + Hans de Goede + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_DESKTOP_INTEGRATION_H__ +#define __SPICE_DESKTOP_INTEGRATION_H__ + +#include "spice-client.h" + +G_BEGIN_DECLS + +#define SPICE_TYPE_DESKTOP_INTEGRATION (spice_desktop_integration_get_type ()) +#define SPICE_DESKTOP_INTEGRATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPICE_TYPE_DESKTOP_INTEGRATION, SpiceDesktopIntegration)) +#define SPICE_DESKTOP_INTEGRATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SPICE_TYPE_DESKTOP_INTEGRATION, SpiceDesktopIntegrationClass)) +#define SPICE_IS_DESKTOP_INTEGRATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPICE_TYPE_DESKTOP_INTEGRATION)) +#define SPICE_IS_DESKTOP_INTEGRATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPICE_TYPE_DESKTOP_INTEGRATION)) +#define SPICE_DESKTOP_INTEGRATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPICE_TYPE_DESKTOP_INTEGRATION, SpiceDesktopIntegrationClass)) + +typedef struct _SpiceDesktopIntegration SpiceDesktopIntegration; +typedef struct _SpiceDesktopIntegrationClass SpiceDesktopIntegrationClass; +typedef struct _SpiceDesktopIntegrationPrivate SpiceDesktopIntegrationPrivate; + +/* + * SpiceDesktopIntegration offers helper-functions to do desktop environment + * and/or platform specific tasks like disabling automount, disabling the + * screen-saver, etc. SpiceDesktopIntegration is for internal spice-gtk usage + * only! + */ +struct _SpiceDesktopIntegration +{ + GObject parent; + + SpiceDesktopIntegrationPrivate *priv; +}; + +struct _SpiceDesktopIntegrationClass +{ + GObjectClass parent_class; +}; + +GType spice_desktop_integration_get_type(void); +SpiceDesktopIntegration *spice_desktop_integration_get(SpiceSession *session); +void spice_desktop_integration_inhibit_automount(SpiceDesktopIntegration *self); +void spice_desktop_integration_uninhibit_automount(SpiceDesktopIntegration *self); + +G_END_DECLS + +#endif /* __SPICE_DESKTOP_INTEGRATION_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/display-name.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/display-name.c new file mode 100644 index 0000000..d38eb2f --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/display-name.c @@ -0,0 +1,299 @@ +/* + * Copyright 2007 Red Hat, Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * on the rights to use, copy, modify, merge, publish, distribute, sub + * license, and/or sell copies of the Software, and to permit persons to whom + * the Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice (including the next + * paragraph) shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +/* Author: Soren Sandmann */ + +#include +#include +#include +#include +#include +#include +#include +#include "edid.h" + +typedef struct Vendor Vendor; +struct Vendor +{ + const char vendor_id[4]; + const char vendor_name[28]; +}; + +/* This list of vendor codes derived from lshw + * + * http://ezix.org/project/wiki/HardwareLiSter + * + * Note: we now prefer to use data coming from hwdata (and shipped with + * gnome-desktop). See + * http://git.fedorahosted.org/git/?p=hwdata.git;a=blob_plain;f=pnp.ids;hb=HEAD + * All contributions to the list of vendors should go there. + */ +static const struct Vendor vendors[] = +{ + { "AIC", "AG Neovo" }, + { "ACR", "Acer" }, + { "DEL", "DELL" }, + { "SAM", "SAMSUNG" }, + { "SNY", "SONY" }, + { "SEC", "Epson" }, + { "WAC", "Wacom" }, + { "NEC", "NEC" }, + { "CMO", "CMO" }, /* Chi Mei */ + { "BNQ", "BenQ" }, + + { "ABP", "Advansys" }, + { "ACC", "Accton" }, + { "ACE", "Accton" }, + { "ADP", "Adaptec" }, + { "ADV", "AMD" }, + { "AIR", "AIR" }, + { "AMI", "AMI" }, + { "ASU", "ASUS" }, + { "ATI", "ATI" }, + { "ATK", "Allied Telesyn" }, + { "AZT", "Aztech" }, + { "BAN", "Banya" }, + { "BRI", "Boca Research" }, + { "BUS", "Buslogic" }, + { "CCI", "Cache Computers Inc." }, + { "CHA", "Chase" }, + { "CMD", "CMD Technology, Inc." }, + { "COG", "Cogent" }, + { "CPQ", "Compaq" }, + { "CRS", "Crescendo" }, + { "CSC", "Crystal" }, + { "CSI", "CSI" }, + { "CTL", "Creative Labs" }, + { "DBI", "Digi" }, + { "DEC", "Digital Equipment" }, + { "DBK", "Databook" }, + { "EGL", "Eagle Technology" }, + { "ELS", "ELSA" }, + { "ESS", "ESS" }, + { "FAR", "Farallon" }, + { "FDC", "Future Domain" }, + { "HWP", "Hewlett-Packard" }, + { "IBM", "IBM" }, + { "INT", "Intel" }, + { "ISA", "Iomega" }, + { "LEN", "Lenovo" }, + { "MDG", "Madge" }, + { "MDY", "Microdyne" }, + { "MET", "Metheus" }, + { "MIC", "Micronics" }, + { "MLX", "Mylex" }, + { "NVL", "Novell" }, + { "OLC", "Olicom" }, + { "PRO", "Proteon" }, + { "RII", "Racal" }, + { "RTL", "Realtek" }, + { "SCM", "SCM" }, + { "SKD", "SysKonnect" }, + { "SGI", "SGI" }, + { "SMC", "SMC" }, + { "SNI", "Siemens Nixdorf" }, + { "STL", "Stallion Technologies" }, + { "SUN", "Sun" }, + { "SUP", "SupraExpress" }, + { "SVE", "SVEC" }, + { "TCC", "Thomas-Conrad" }, + { "TCI", "Tulip" }, + { "TCM", "3Com" }, + { "TCO", "Thomas-Conrad" }, + { "TEC", "Tecmar" }, + { "TRU", "Truevision" }, + { "TOS", "Toshiba" }, + { "TYN", "Tyan" }, + { "UBI", "Ungermann-Bass" }, + { "USC", "UltraStor" }, + { "VDM", "Vadem" }, + { "VMI", "Vermont" }, + { "WDC", "Western Digital" }, + { "ZDS", "Zeos" }, + + /* From http://faydoc.tripod.com/structures/01/0136.htm */ + { "ACT", "Targa" }, + { "ADI", "ADI" }, + { "AOC", "AOC Intl" }, + { "API", "Acer America" }, + { "APP", "Apple Computer" }, + { "ART", "ArtMedia" }, + { "AST", "AST Research" }, + { "CPL", "Compal" }, + { "CTX", "Chuntex Electronic Co." }, + { "DPC", "Delta Electronics" }, + { "DWE", "Daewoo" }, + { "ECS", "ELITEGROUP" }, + { "EIZ", "EIZO" }, + { "FCM", "Funai" }, + { "GSM", "LG Electronics" }, + { "GWY", "Gateway 2000" }, + { "HEI", "Hyundai" }, + { "HIT", "Hitachi" }, + { "HSL", "Hansol" }, + { "HTC", "Hitachi" }, + { "ICL", "Fujitsu ICL" }, + { "IVM", "Idek Iiyama" }, + { "KFC", "KFC Computek" }, + { "LKM", "ADLAS" }, + { "LNK", "LINK Tech" }, + { "LTN", "Lite-On" }, + { "MAG", "MAG InnoVision" }, + { "MAX", "Maxdata" }, + { "MEI", "Panasonic" }, + { "MEL", "Mitsubishi" }, + { "MIR", "miro" }, + { "MTC", "MITAC" }, + { "NAN", "NANAO" }, + { "NEC", "NEC Tech" }, + { "NOK", "Nokia" }, + { "OQI", "OPTIQUEST" }, + { "PBN", "Packard Bell" }, + { "PGS", "Princeton" }, + { "PHL", "Philips" }, + { "REL", "Relisys" }, + { "SDI", "Samtron" }, + { "SMI", "Smile" }, + { "SPT", "Sceptre" }, + { "SRC", "Shamrock Technology" }, + { "STP", "Sceptre" }, + { "TAT", "Tatung" }, + { "TRL", "Royal Information Company" }, + { "TSB", "Toshiba, Inc." }, + { "UNM", "Unisys" }, + { "VSC", "ViewSonic" }, + { "WTC", "Wen Tech" }, + { "ZCM", "Zenith Data Systems" }, + + { "???", "Unknown" }, +}; + +static GHashTable *pnp_ids = NULL; + +static void +read_pnp_ids (void) +{ + gchar *contents; + gchar **lines; + gchar *line; + gchar *code, *name; + gint i; + + if (pnp_ids) + return; + + pnp_ids = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL); + + if (g_file_get_contents (PNP_IDS, &contents, NULL, NULL)) + { + lines = g_strsplit (contents, "\n", -1); + for (i = 0; lines[i]; i++) + { + line = lines[i]; + if (line[0] && line[1] && line[2] && line[3] == '\t' && line[4]) + { + code = line; + line[3] = '\0'; + name = line + 4; + g_hash_table_insert (pnp_ids, code, name); + } + } + g_free (lines); + g_free (contents); + } +} + + +static const char * +find_vendor (const char *code) +{ + const char *vendor_name; + int i; + + read_pnp_ids (); + + vendor_name = g_hash_table_lookup (pnp_ids, code); + + if (vendor_name) + return vendor_name; + + for (i = 0; i < sizeof (vendors) / sizeof (vendors[0]); ++i) + { + const Vendor *v = &(vendors[i]); + + if (strcmp (v->vendor_id, code) == 0) + return v->vendor_name; + } + + return code; +}; + +char * +make_display_name (const MonitorInfo *info) +{ + const char *vendor; + int width_mm, height_mm, inches; + + if (info) + { + vendor = find_vendor (info->manufacturer_code); + } + else + { + /* Translators: "Unknown" here is used to identify a monitor for which + * we don't know the vendor. When a vendor is known, the name of the + * vendor is used. */ + vendor = C_("Monitor vendor", "Unknown"); + } + + if (info && info->width_mm != -1 && info->height_mm) + { + width_mm = info->width_mm; + height_mm = info->height_mm; + } + else if (info && info->n_detailed_timings) + { + width_mm = info->detailed_timings[0].width_mm; + height_mm = info->detailed_timings[0].height_mm; + } + else + { + width_mm = -1; + height_mm = -1; + } + + if (width_mm != -1 && height_mm != -1) + { + double d = sqrt (width_mm * width_mm + height_mm * height_mm); + + inches = (int)(d / 25.4 + 0.5); + } + else + { + inches = -1; + } + + if (inches > 0) + return g_strdup_printf ("%s %d\"", vendor, inches); + else + return g_strdup (vendor); +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/edid-parse.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/edid-parse.c new file mode 100644 index 0000000..512c568 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/edid-parse.c @@ -0,0 +1,540 @@ +/* + * Copyright 2007 Red Hat, Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * on the rights to use, copy, modify, merge, publish, distribute, sub + * license, and/or sell copies of the Software, and to permit persons to whom + * the Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice (including the next + * paragraph) shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +/* Author: Soren Sandmann */ + +#include "edid.h" +#include +#include +#include +#include + +static int +get_bit (int in, int bit) +{ + return (in & (1 << bit)) >> bit; +} + +static int +get_bits (int in, int begin, int end) +{ + int mask = (1 << (end - begin + 1)) - 1; + + return (in >> begin) & mask; +} + +static int +decode_header (const uchar *edid) +{ + if (memcmp (edid, "\x00\xff\xff\xff\xff\xff\xff\x00", 8) == 0) + return TRUE; + return FALSE; +} + +static int +decode_vendor_and_product_identification (const uchar *edid, MonitorInfo *info) +{ + int is_model_year; + + /* Manufacturer Code */ + info->manufacturer_code[0] = get_bits (edid[0x08], 2, 6); + info->manufacturer_code[1] = get_bits (edid[0x08], 0, 1) << 3; + info->manufacturer_code[1] |= get_bits (edid[0x09], 5, 7); + info->manufacturer_code[2] = get_bits (edid[0x09], 0, 4); + info->manufacturer_code[3] = '\0'; + + info->manufacturer_code[0] += 'A' - 1; + info->manufacturer_code[1] += 'A' - 1; + info->manufacturer_code[2] += 'A' - 1; + + /* Product Code */ + info->product_code = edid[0x0b] << 8 | edid[0x0a]; + + /* Serial Number */ + info->serial_number = + edid[0x0c] | edid[0x0d] << 8 | edid[0x0e] << 16 | edid[0x0f] << 24; + + /* Week and Year */ + is_model_year = FALSE; + switch (edid[0x10]) + { + case 0x00: + info->production_week = -1; + break; + + case 0xff: + info->production_week = -1; + is_model_year = TRUE; + break; + + default: + info->production_week = edid[0x10]; + break; + } + + if (is_model_year) + { + info->production_year = -1; + info->model_year = 1990 + edid[0x11]; + } + else + { + info->production_year = 1990 + edid[0x11]; + info->model_year = -1; + } + + return TRUE; +} + +static int +decode_edid_version (const uchar *edid, MonitorInfo *info) +{ + info->major_version = edid[0x12]; + info->minor_version = edid[0x13]; + + return TRUE; +} + +static int +decode_display_parameters (const uchar *edid, MonitorInfo *info) +{ + /* Digital vs Analog */ + info->is_digital = get_bit (edid[0x14], 7); + + if (info->is_digital) + { + int bits; + + static const int bit_depth[8] = + { + -1, 6, 8, 10, 12, 14, 16, -1 + }; + + static const Interface interfaces[6] = + { + UNDEFINED, DVI, HDMI_A, HDMI_B, MDDI, DISPLAY_PORT + }; + + bits = get_bits (edid[0x14], 4, 6); + info->connector.digital.bits_per_primary = bit_depth[bits]; + + bits = get_bits (edid[0x14], 0, 3); + + if (bits <= 5) + info->connector.digital.interface = interfaces[bits]; + else + info->connector.digital.interface = UNDEFINED; + } + else + { + int bits = get_bits (edid[0x14], 5, 6); + + static const double levels[][3] = + { + { 0.7, 0.3, 1.0 }, + { 0.714, 0.286, 1.0 }, + { 1.0, 0.4, 1.4 }, + { 0.7, 0.0, 0.7 }, + }; + + info->connector.analog.video_signal_level = levels[bits][0]; + info->connector.analog.sync_signal_level = levels[bits][1]; + info->connector.analog.total_signal_level = levels[bits][2]; + + info->connector.analog.blank_to_black = get_bit (edid[0x14], 4); + + info->connector.analog.separate_hv_sync = get_bit (edid[0x14], 3); + info->connector.analog.composite_sync_on_h = get_bit (edid[0x14], 2); + info->connector.analog.composite_sync_on_green = get_bit (edid[0x14], 1); + + info->connector.analog.serration_on_vsync = get_bit (edid[0x14], 0); + } + + /* Screen Size / Aspect Ratio */ + if (edid[0x15] == 0 && edid[0x16] == 0) + { + info->width_mm = -1; + info->height_mm = -1; + info->aspect_ratio = -1.0; + } + else if (edid[0x16] == 0) + { + info->width_mm = -1; + info->height_mm = -1; + info->aspect_ratio = 100.0 / (edid[0x15] + 99); + } + else if (edid[0x15] == 0) + { + info->width_mm = -1; + info->height_mm = -1; + info->aspect_ratio = 100.0 / (edid[0x16] + 99); + info->aspect_ratio = 1/info->aspect_ratio; /* portrait */ + } + else + { + info->width_mm = 10 * edid[0x15]; + info->height_mm = 10 * edid[0x16]; + } + + /* Gamma */ + if (edid[0x17] == 0xFF) + info->gamma = -1.0; + else + info->gamma = (edid[0x17] + 100.0) / 100.0; + + /* Features */ + info->standby = get_bit (edid[0x18], 7); + info->suspend = get_bit (edid[0x18], 6); + info->active_off = get_bit (edid[0x18], 5); + + if (info->is_digital) + { + info->connector.digital.rgb444 = TRUE; + if (get_bit (edid[0x18], 3)) + info->connector.digital.ycrcb444 = 1; + if (get_bit (edid[0x18], 4)) + info->connector.digital.ycrcb422 = 1; + } + else + { + int bits = get_bits (edid[0x18], 3, 4); + ColorType color_type[4] = + { + MONOCHROME, RGB, OTHER_COLOR, UNDEFINED_COLOR + }; + + info->connector.analog.color_type = color_type[bits]; + } + + info->srgb_is_standard = get_bit (edid[0x18], 2); + + /* In 1.3 this is called "has preferred timing" */ + info->preferred_timing_includes_native = get_bit (edid[0x18], 1); + + /* FIXME: In 1.3 this indicates whether the monitor accepts GTF */ + info->continuous_frequency = get_bit (edid[0x18], 0); + return TRUE; +} + +static double +decode_fraction (int high, int low) +{ + double result = 0.0; + int i; + + high = (high << 2) | low; + + for (i = 0; i < 10; ++i) + result += get_bit (high, i) * pow (2, i - 10); + + return result; +} + +static int +decode_color_characteristics (const uchar *edid, MonitorInfo *info) +{ + info->red_x = decode_fraction (edid[0x1b], get_bits (edid[0x19], 6, 7)); + info->red_y = decode_fraction (edid[0x1c], get_bits (edid[0x19], 5, 4)); + info->green_x = decode_fraction (edid[0x1d], get_bits (edid[0x19], 2, 3)); + info->green_y = decode_fraction (edid[0x1e], get_bits (edid[0x19], 0, 1)); + info->blue_x = decode_fraction (edid[0x1f], get_bits (edid[0x1a], 6, 7)); + info->blue_y = decode_fraction (edid[0x20], get_bits (edid[0x1a], 4, 5)); + info->white_x = decode_fraction (edid[0x21], get_bits (edid[0x1a], 2, 3)); + info->white_y = decode_fraction (edid[0x22], get_bits (edid[0x1a], 0, 1)); + + return TRUE; +} + +static int +decode_established_timings (const uchar *edid, MonitorInfo *info) +{ + static const Timing established[][8] = + { + { + { 800, 600, 60 }, + { 800, 600, 56 }, + { 640, 480, 75 }, + { 640, 480, 72 }, + { 640, 480, 67 }, + { 640, 480, 60 }, + { 720, 400, 88 }, + { 720, 400, 70 } + }, + { + { 1280, 1024, 75 }, + { 1024, 768, 75 }, + { 1024, 768, 70 }, + { 1024, 768, 60 }, + { 1024, 768, 87 }, + { 832, 624, 75 }, + { 800, 600, 75 }, + { 800, 600, 72 } + }, + { + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 1152, 870, 75 } + }, + }; + + int i, j, idx; + + idx = 0; + for (i = 0; i < 3; ++i) + { + for (j = 0; j < 8; ++j) + { + int byte = edid[0x23 + i]; + + if (get_bit (byte, j) && established[i][j].frequency != 0) + info->established[idx++] = established[i][j]; + } + } + return TRUE; +} + +static int +decode_standard_timings (const uchar *edid, MonitorInfo *info) +{ + int i; + + for (i = 0; i < 8; i++) + { + int first = edid[0x26 + 2 * i]; + int second = edid[0x27 + 2 * i]; + + if (first != 0x01 && second != 0x01) + { + int w = 8 * (first + 31); + int h = 0; + + switch (get_bits (second, 6, 7)) + { + case 0x00: h = (w / 16) * 10; break; + case 0x01: h = (w / 4) * 3; break; + case 0x02: h = (w / 5) * 4; break; + case 0x03: h = (w / 16) * 9; break; + } + + info->standard[i].width = w; + info->standard[i].height = h; + info->standard[i].frequency = get_bits (second, 0, 5) + 60; + } + } + + return TRUE; +} + +static void +decode_lf_string (const uchar *s, int n_chars, char *result) +{ + int i; + for (i = 0; i < n_chars; ++i) + { + if (s[i] == 0x0a) + { + *result++ = '\0'; + break; + } + else if (s[i] == 0x00) + { + /* Convert embedded 0's to spaces */ + *result++ = ' '; + } + else + { + *result++ = s[i]; + } + } +} + +static void +decode_display_descriptor (const uchar *desc, + MonitorInfo *info) +{ + switch (desc[0x03]) + { + case 0xFC: + decode_lf_string (desc + 5, 13, info->dsc_product_name); + break; + case 0xFF: + decode_lf_string (desc + 5, 13, info->dsc_serial_number); + break; + case 0xFE: + decode_lf_string (desc + 5, 13, info->dsc_string); + break; + case 0xFD: + /* Range Limits */ + break; + case 0xFB: + /* Color Point */ + break; + case 0xFA: + /* Timing Identifications */ + break; + case 0xF9: + /* Color Management */ + break; + case 0xF8: + /* Timing Codes */ + break; + case 0xF7: + /* Established Timings */ + break; + case 0x10: + break; + } +} + +static void +decode_detailed_timing (const uchar *timing, + DetailedTiming *detailed) +{ + int bits; + StereoType stereo[] = + { + NO_STEREO, NO_STEREO, FIELD_RIGHT, FIELD_LEFT, + TWO_WAY_RIGHT_ON_EVEN, TWO_WAY_LEFT_ON_EVEN, + FOUR_WAY_INTERLEAVED, SIDE_BY_SIDE + }; + + detailed->pixel_clock = (timing[0x00] | timing[0x01] << 8) * 10000; + detailed->h_addr = timing[0x02] | ((timing[0x04] & 0xf0) << 4); + detailed->h_blank = timing[0x03] | ((timing[0x04] & 0x0f) << 8); + detailed->v_addr = timing[0x05] | ((timing[0x07] & 0xf0) << 4); + detailed->v_blank = timing[0x06] | ((timing[0x07] & 0x0f) << 8); + detailed->h_front_porch = timing[0x08] | get_bits (timing[0x0b], 6, 7) << 8; + detailed->h_sync = timing[0x09] | get_bits (timing[0x0b], 4, 5) << 8; + detailed->v_front_porch = + get_bits (timing[0x0a], 4, 7) | get_bits (timing[0x0b], 2, 3) << 4; + detailed->v_sync = + get_bits (timing[0x0a], 0, 3) | get_bits (timing[0x0b], 0, 1) << 4; + detailed->width_mm = timing[0x0c] | get_bits (timing[0x0e], 4, 7) << 8; + detailed->height_mm = timing[0x0d] | get_bits (timing[0x0e], 0, 3) << 8; + detailed->right_border = timing[0x0f]; + detailed->top_border = timing[0x10]; + + detailed->interlaced = get_bit (timing[0x11], 7); + + /* Stereo */ + bits = get_bits (timing[0x11], 5, 6) << 1 | get_bit (timing[0x11], 0); + detailed->stereo = stereo[bits]; + + /* Sync */ + bits = timing[0x11]; + + detailed->digital_sync = get_bit (bits, 4); + if (detailed->digital_sync) + { + detailed->connector.digital.composite = !get_bit (bits, 3); + + if (detailed->connector.digital.composite) + { + detailed->connector.digital.serrations = get_bit (bits, 2); + detailed->connector.digital.negative_vsync = FALSE; + } + else + { + detailed->connector.digital.serrations = FALSE; + detailed->connector.digital.negative_vsync = !get_bit (bits, 2); + } + + detailed->connector.digital.negative_hsync = !get_bit (bits, 0); + } + else + { + detailed->connector.analog.bipolar = get_bit (bits, 3); + detailed->connector.analog.serrations = get_bit (bits, 2); + detailed->connector.analog.sync_on_green = !get_bit (bits, 1); + } +} + +static int +decode_descriptors (const uchar *edid, MonitorInfo *info) +{ + int i; + int timing_idx; + + timing_idx = 0; + + for (i = 0; i < 4; ++i) + { + int index = 0x36 + i * 18; + + if (edid[index + 0] == 0x00 && edid[index + 1] == 0x00) + { + decode_display_descriptor (edid + index, info); + } + else + { + decode_detailed_timing ( + edid + index, &(info->detailed_timings[timing_idx++])); + } + } + + info->n_detailed_timings = timing_idx; + + return TRUE; +} + +static void +decode_check_sum (const uchar *edid, + MonitorInfo *info) +{ + int i; + uchar check = 0; + + for (i = 0; i < 128; ++i) + check += edid[i]; + + info->checksum = check; +} + +MonitorInfo * +decode_edid (const uchar *edid) +{ + MonitorInfo *info = g_new0 (MonitorInfo, 1); + + decode_check_sum (edid, info); + + if (decode_header (edid) + && decode_vendor_and_product_identification (edid, info) + && decode_edid_version (edid, info) + && decode_display_parameters (edid, info) + && decode_color_characteristics (edid, info) + && decode_established_timings (edid, info) + && decode_standard_timings (edid, info) + && decode_descriptors (edid, info)) + { + return info; + } + else + { + g_free (info); + return NULL; + } +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/edid.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/edid.h new file mode 100644 index 0000000..dc3daa3 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/edid.h @@ -0,0 +1,192 @@ +/* edid.h + * + * Copyright 2007, 2008, Red Hat, Inc. + * + * This file is part of the Gnome Library. + * + * The Gnome Library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * The Gnome Library 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 + * Library General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, see . + * + * Author: Soren Sandmann + */ + +#ifndef EDID_H +#define EDID_H + +typedef unsigned char uchar; +typedef struct MonitorInfo MonitorInfo; +typedef struct Timing Timing; +typedef struct DetailedTiming DetailedTiming; + +typedef enum +{ + UNDEFINED, + DVI, + HDMI_A, + HDMI_B, + MDDI, + DISPLAY_PORT +} Interface; + +typedef enum +{ + UNDEFINED_COLOR, + MONOCHROME, + RGB, + OTHER_COLOR +} ColorType; + +typedef enum +{ + NO_STEREO, + FIELD_RIGHT, + FIELD_LEFT, + TWO_WAY_RIGHT_ON_EVEN, + TWO_WAY_LEFT_ON_EVEN, + FOUR_WAY_INTERLEAVED, + SIDE_BY_SIDE +} StereoType; + +struct Timing +{ + int width; + int height; + int frequency; +}; + +struct DetailedTiming +{ + int pixel_clock; + int h_addr; + int h_blank; + int h_sync; + int h_front_porch; + int v_addr; + int v_blank; + int v_sync; + int v_front_porch; + int width_mm; + int height_mm; + int right_border; + int top_border; + int interlaced; + StereoType stereo; + + int digital_sync; + union + { + struct + { + int bipolar; + int serrations; + int sync_on_green; + } analog; + + struct + { + int composite; + int serrations; + int negative_vsync; + int negative_hsync; + } digital; + } connector; +}; + +struct MonitorInfo +{ + int checksum; + char manufacturer_code[4]; + int product_code; + unsigned int serial_number; + + int production_week; /* -1 if not specified */ + int production_year; /* -1 if not specified */ + int model_year; /* -1 if not specified */ + + int major_version; + int minor_version; + + int is_digital; + + union + { + struct + { + int bits_per_primary; + Interface interface; + int rgb444; + int ycrcb444; + int ycrcb422; + } digital; + + struct + { + double video_signal_level; + double sync_signal_level; + double total_signal_level; + + int blank_to_black; + + int separate_hv_sync; + int composite_sync_on_h; + int composite_sync_on_green; + int serration_on_vsync; + ColorType color_type; + } analog; + } connector; + + int width_mm; /* -1 if not specified */ + int height_mm; /* -1 if not specified */ + double aspect_ratio; /* -1.0 if not specififed */ + + double gamma; /* -1.0 if not specified */ + + int standby; + int suspend; + int active_off; + + int srgb_is_standard; + int preferred_timing_includes_native; + int continuous_frequency; + + double red_x; + double red_y; + double green_x; + double green_y; + double blue_x; + double blue_y; + double white_x; + double white_y; + + Timing established[24]; /* Terminated by 0x0x0 */ + Timing standard[8]; + + int n_detailed_timings; + DetailedTiming detailed_timings[4]; /* If monitor has a preferred + * mode, it is the first one + * (whether it has, is + * determined by the + * preferred_timing_includes + * bit. + */ + + /* Optional product description */ + char dsc_serial_number[14]; + char dsc_product_name[14]; + char dsc_string[14]; /* Unspecified ASCII data */ +}; + +MonitorInfo *decode_edid (const uchar *data); +char *make_display_name (const MonitorInfo *info); + +#endif diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-config.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-config.c new file mode 100644 index 0000000..82befb0 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-config.c @@ -0,0 +1,2048 @@ +/* gnome-rr-config.c + * -*- c-basic-offset: 4 -*- + * + * Copyright 2007, 2008, Red Hat, Inc. + * Copyright 2010 Giovanni Campagna + * + * This file is part of the Gnome Library. + * + * The Gnome Library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * The Gnome Library 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 + * Library General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, see . + * + * Author: Soren Sandmann + */ + +#define GNOME_DESKTOP_USE_UNSTABLE_API + +#include +#include +#include +#include +#include +#include + +#ifdef HAVE_X11 +#include +#include +#endif + +#include "gnome-rr-config.h" + +#include "edid.h" +#include "gnome-rr-private.h" + +#define CONFIG_INTENDED_BASENAME "monitors.xml" +#define CONFIG_BACKUP_BASENAME "monitors.xml.backup" + +/* In version 0 of the config file format, we had several + * toplevel elements and no explicit version number. So, the filed looked + * like + * + * + * ... + * + * + * ... + * + * + * Since version 1 of the config file, the file has a toplevel + * element to group all the configurations. That element has a "version" + * attribute which is an integer. So, the file looks like this: + * + * + * + * ... + * + * + * ... + * + * + */ + +/* A helper wrapper around the GMarkup parser stuff */ +static gboolean parse_file_gmarkup (const gchar *file, + const GMarkupParser *parser, + gpointer data, + GError **err); + +typedef struct CrtcAssignment CrtcAssignment; + +static gboolean crtc_assignment_apply (CrtcAssignment *assign, + guint32 timestamp, + GError **error); +static CrtcAssignment *crtc_assignment_new (GnomeRRScreen *screen, + GnomeRROutputInfo **outputs, + GError **error); +static void crtc_assignment_free (CrtcAssignment *assign); + +enum { + PROP_0, + PROP_SCREEN, + PROP_LAST +}; + +G_DEFINE_TYPE (GnomeRRConfig, gnome_rr_config, G_TYPE_OBJECT) + +typedef struct Parser Parser; + +/* Parser for monitor configurations */ +struct Parser +{ + int config_file_version; + GnomeRROutputInfo * output; + GnomeRRConfig * configuration; + GPtrArray * outputs; + GPtrArray * configurations; + GQueue * stack; +}; + +static int +parse_int (const char *text) +{ + return strtol (text, NULL, 0); +} + +static guint +parse_uint (const char *text) +{ + return strtoul (text, NULL, 0); +} + +static gboolean +stack_is (Parser *parser, + const char *s1, + ...) +{ + GList *stack = NULL; + const char *s; + GList *l1, *l2; + va_list args; + + stack = g_list_prepend (stack, (gpointer)s1); + + va_start (args, s1); + + s = va_arg (args, const char *); + while (s) + { + stack = g_list_prepend (stack, (gpointer)s); + s = va_arg (args, const char *); + } + + l1 = stack; + l2 = parser->stack->head; + + while (l1 && l2) + { + if (strcmp (l1->data, l2->data) != 0) + { + g_list_free (stack); + return FALSE; + } + + l1 = l1->next; + l2 = l2->next; + } + + g_list_free (stack); + + return (!l1 && !l2); +} + +static void +handle_start_element (GMarkupParseContext *context, + const gchar *name, + const gchar **attr_names, + const gchar **attr_values, + gpointer user_data, + GError **err) +{ + Parser *parser = user_data; + + if (strcmp (name, "output") == 0) + { + int i; + g_return_if_fail (parser->output == NULL); + + parser->output = g_object_new (GNOME_TYPE_RR_OUTPUT_INFO, NULL); + parser->output->priv->rotation = 0; + + for (i = 0; attr_names[i] != NULL; ++i) + { + if (strcmp (attr_names[i], "name") == 0) + { + parser->output->priv->name = g_strdup (attr_values[i]); + break; + } + } + + if (!parser->output->priv->name) + { + /* This really shouldn't happen, but it's better to make + * something up than to crash later. + */ + g_warning ("Malformed monitor configuration file"); + + parser->output->priv->name = g_strdup ("default"); + } + parser->output->priv->connected = FALSE; + parser->output->priv->on = FALSE; + parser->output->priv->primary = FALSE; + } + else if (strcmp (name, "configuration") == 0) + { + g_return_if_fail (parser->configuration == NULL); + + parser->configuration = g_object_new (GNOME_TYPE_RR_CONFIG, NULL); + parser->configuration->priv->clone = FALSE; + parser->configuration->priv->outputs = NULL; + } + else if (strcmp (name, "monitors") == 0) + { + int i; + + for (i = 0; attr_names[i] != NULL; i++) + { + if (strcmp (attr_names[i], "version") == 0) + { + parser->config_file_version = parse_int (attr_values[i]); + break; + } + } + } + + g_queue_push_tail (parser->stack, g_strdup (name)); +} + +static void +handle_end_element (GMarkupParseContext *context, + const gchar *name, + gpointer user_data, + GError **err) +{ + Parser *parser = user_data; + + if (strcmp (name, "output") == 0) + { + /* If no rotation properties were set, just use GNOME_RR_ROTATION_0 */ + if (parser->output->priv->rotation == 0) + parser->output->priv->rotation = GNOME_RR_ROTATION_0; + + g_ptr_array_add (parser->outputs, parser->output); + + parser->output = NULL; + } + else if (strcmp (name, "configuration") == 0) + { + g_ptr_array_add (parser->outputs, NULL); + parser->configuration->priv->outputs = + (GnomeRROutputInfo **)g_ptr_array_free (parser->outputs, FALSE); + parser->outputs = g_ptr_array_new (); + g_ptr_array_add (parser->configurations, parser->configuration); + parser->configuration = NULL; + } + + g_free (g_queue_pop_tail (parser->stack)); +} + +#define TOPLEVEL_ELEMENT (parser->config_file_version > 0 ? "monitors" : NULL) + +static void +handle_text (GMarkupParseContext *context, + const gchar *text, + gsize text_len, + gpointer user_data, + GError **err) +{ + Parser *parser = user_data; + + if (stack_is (parser, "vendor", "output", "configuration", TOPLEVEL_ELEMENT, NULL)) + { + parser->output->priv->connected = TRUE; + + strncpy ((gchar*) parser->output->priv->vendor, text, 3); + parser->output->priv->vendor[3] = 0; + } + else if (stack_is (parser, "clone", "configuration", TOPLEVEL_ELEMENT, NULL)) + { + if (strcmp (text, "yes") == 0) + parser->configuration->priv->clone = TRUE; + } + else if (stack_is (parser, "product", "output", "configuration", TOPLEVEL_ELEMENT, NULL)) + { + parser->output->priv->connected = TRUE; + + parser->output->priv->product = parse_int (text); + } + else if (stack_is (parser, "serial", "output", "configuration", TOPLEVEL_ELEMENT, NULL)) + { + parser->output->priv->connected = TRUE; + + parser->output->priv->serial = parse_uint (text); + } + else if (stack_is (parser, "width", "output", "configuration", TOPLEVEL_ELEMENT, NULL)) + { + parser->output->priv->on = TRUE; + + parser->output->priv->width = parse_int (text); + } + else if (stack_is (parser, "x", "output", "configuration", TOPLEVEL_ELEMENT, NULL)) + { + parser->output->priv->on = TRUE; + + parser->output->priv->x = parse_int (text); + } + else if (stack_is (parser, "y", "output", "configuration", TOPLEVEL_ELEMENT, NULL)) + { + parser->output->priv->on = TRUE; + + parser->output->priv->y = parse_int (text); + } + else if (stack_is (parser, "height", "output", "configuration", TOPLEVEL_ELEMENT, NULL)) + { + parser->output->priv->on = TRUE; + + parser->output->priv->height = parse_int (text); + } + else if (stack_is (parser, "rate", "output", "configuration", TOPLEVEL_ELEMENT, NULL)) + { + parser->output->priv->on = TRUE; + + parser->output->priv->rate = parse_int (text); + } + else if (stack_is (parser, "rotation", "output", "configuration", TOPLEVEL_ELEMENT, NULL)) + { + if (strcmp (text, "normal") == 0) + { + parser->output->priv->rotation |= GNOME_RR_ROTATION_0; + } + else if (strcmp (text, "left") == 0) + { + parser->output->priv->rotation |= GNOME_RR_ROTATION_90; + } + else if (strcmp (text, "upside_down") == 0) + { + parser->output->priv->rotation |= GNOME_RR_ROTATION_180; + } + else if (strcmp (text, "right") == 0) + { + parser->output->priv->rotation |= GNOME_RR_ROTATION_270; + } + } + else if (stack_is (parser, "reflect_x", "output", "configuration", TOPLEVEL_ELEMENT, NULL)) + { + if (strcmp (text, "yes") == 0) + { + parser->output->priv->rotation |= GNOME_RR_REFLECT_X; + } + } + else if (stack_is (parser, "reflect_y", "output", "configuration", TOPLEVEL_ELEMENT, NULL)) + { + if (strcmp (text, "yes") == 0) + { + parser->output->priv->rotation |= GNOME_RR_REFLECT_Y; + } + } + else if (stack_is (parser, "primary", "output", "configuration", TOPLEVEL_ELEMENT, NULL)) + { + if (strcmp (text, "yes") == 0) + { + parser->output->priv->primary = TRUE; + } + } + else + { + /* Ignore other properties so we can expand the format in the future */ + } +} + +static void +parser_free (Parser *parser) +{ + int i; + GList *list; + + g_return_if_fail (parser != NULL); + + if (parser->output) + g_object_unref (parser->output); + + if (parser->configuration) + g_object_unref (parser->configuration); + + for (i = 0; i < parser->outputs->len; ++i) + { + GnomeRROutputInfo *output = parser->outputs->pdata[i]; + + g_object_unref (output); + } + + g_ptr_array_free (parser->outputs, TRUE); + + for (i = 0; i < parser->configurations->len; ++i) + { + GnomeRRConfig *config = parser->configurations->pdata[i]; + + g_object_unref (config); + } + + g_ptr_array_free (parser->configurations, TRUE); + + for (list = parser->stack->head; list; list = list->next) + g_free (list->data); + g_queue_free (parser->stack); + + g_free (parser); +} + +static GnomeRRConfig ** +configurations_read_from_file (const gchar *filename, GError **error) +{ + Parser *parser = g_new0 (Parser, 1); + GnomeRRConfig **result; + GMarkupParser callbacks = { + handle_start_element, + handle_end_element, + handle_text, + NULL, /* passthrough */ + NULL, /* error */ + }; + + parser->config_file_version = 0; + parser->configurations = g_ptr_array_new (); + parser->outputs = g_ptr_array_new (); + parser->stack = g_queue_new (); + + if (!parse_file_gmarkup (filename, &callbacks, parser, error)) + { + result = NULL; + + g_return_val_if_fail (parser->outputs, NULL); + goto out; + } + + g_return_val_if_fail (parser->outputs, NULL); + + g_ptr_array_add (parser->configurations, NULL); + result = (GnomeRRConfig **)g_ptr_array_free (parser->configurations, FALSE); + parser->configurations = g_ptr_array_new (); + + g_return_val_if_fail (parser->outputs, NULL); +out: + parser_free (parser); + + return result; +} + +static void +gnome_rr_config_init (GnomeRRConfig *self) +{ + self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, GNOME_TYPE_RR_CONFIG, GnomeRRConfigPrivate); + + self->priv->clone = FALSE; + self->priv->screen = NULL; + self->priv->outputs = NULL; +} + +static void +gnome_rr_config_set_property (GObject *gobject, guint property_id, const GValue *value, GParamSpec *property) +{ + GnomeRRConfig *self = GNOME_RR_CONFIG (gobject); + + switch (property_id) { + case PROP_SCREEN: + self->priv->screen = g_value_dup_object (value); + return; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, property_id, property); + } +} + +static void +gnome_rr_config_finalize (GObject *gobject) +{ + GnomeRRConfig *self = GNOME_RR_CONFIG (gobject); + + if (self->priv->screen) + g_object_unref (self->priv->screen); + + if (self->priv->outputs) { + int i; + + for (i = 0; self->priv->outputs[i] != NULL; i++) { + GnomeRROutputInfo *output = self->priv->outputs[i]; + g_object_unref (output); + } + g_free (self->priv->outputs); + } + + G_OBJECT_CLASS (gnome_rr_config_parent_class)->finalize (gobject); +} + +gboolean +gnome_rr_config_load_current (GnomeRRConfig *config, GError **error) +{ + GPtrArray *a; + GnomeRROutput **rr_outputs; + int i; + int clone_width = -1; + int clone_height = -1; + int last_x; + + g_return_val_if_fail (GNOME_IS_RR_CONFIG (config), FALSE); + + a = g_ptr_array_new (); + rr_outputs = gnome_rr_screen_list_outputs (config->priv->screen); + + config->priv->clone = FALSE; + + for (i = 0; rr_outputs[i] != NULL; ++i) + { + GnomeRROutput *rr_output = rr_outputs[i]; + GnomeRROutputInfo *output = g_object_new (GNOME_TYPE_RR_OUTPUT_INFO, NULL); + GnomeRRMode *mode = NULL; + const guint8 *edid_data = gnome_rr_output_get_edid_data (rr_output); + GnomeRRCrtc *crtc; + + output->priv->name = g_strdup (gnome_rr_output_get_name (rr_output)); + output->priv->connected = gnome_rr_output_is_connected (rr_output); + + if (!output->priv->connected) + { + output->priv->x = -1; + output->priv->y = -1; + output->priv->width = -1; + output->priv->height = -1; + output->priv->rate = -1; + output->priv->rotation = GNOME_RR_ROTATION_0; + } + else + { + MonitorInfo *info = NULL; + + if (edid_data) + info = decode_edid (edid_data); + + if (info) + { + memcpy (output->priv->vendor, info->manufacturer_code, + sizeof (output->priv->vendor)); + + output->priv->product = info->product_code; + output->priv->serial = info->serial_number; + output->priv->aspect = info->aspect_ratio; + } + else + { + strcpy (output->priv->vendor, "???"); + output->priv->product = 0; + output->priv->serial = 0; + } + + if (gnome_rr_output_is_laptop (rr_output)) + output->priv->display_name = g_strdup (_("Laptop")); + else + output->priv->display_name = make_display_name (info); + + g_free (info); + + crtc = gnome_rr_output_get_crtc (rr_output); + mode = crtc? gnome_rr_crtc_get_current_mode (crtc) : NULL; + + if (crtc && mode) + { + output->priv->on = TRUE; + + gnome_rr_crtc_get_position (crtc, &output->priv->x, &output->priv->y); + output->priv->width = gnome_rr_mode_get_width (mode); + output->priv->height = gnome_rr_mode_get_height (mode); + output->priv->rate = gnome_rr_mode_get_freq (mode); + output->priv->rotation = gnome_rr_crtc_get_current_rotation (crtc); + + if (output->priv->x == 0 && output->priv->y == 0) { + if (clone_width == -1) { + clone_width = output->priv->width; + clone_height = output->priv->height; + } else if (clone_width == output->priv->width && + clone_height == output->priv->height) { + config->priv->clone = TRUE; + } + } + } + else + { + output->priv->on = FALSE; + config->priv->clone = FALSE; + } + + /* Get preferred size for the monitor */ + mode = gnome_rr_output_get_preferred_mode (rr_output); + + if (!mode) + { + GnomeRRMode **modes = gnome_rr_output_list_modes (rr_output); + + /* FIXME: we should pick the "best" mode here, where best is + * sorted wrt + * + * - closest aspect ratio + * - mode area + * - refresh rate + * - We may want to extend randrwrap so that get_preferred + * returns that - although that could also depend on + * the crtc. + */ + if (modes[0]) + mode = modes[0]; + } + + if (mode) + { + output->priv->pref_width = gnome_rr_mode_get_width (mode); + output->priv->pref_height = gnome_rr_mode_get_height (mode); + } + else + { + /* Pick some random numbers. This should basically never happen */ + output->priv->pref_width = 1024; + output->priv->pref_height = 768; + } + } + + output->priv->primary = gnome_rr_output_get_is_primary (rr_output); + + g_ptr_array_add (a, output); + } + + g_ptr_array_add (a, NULL); + + config->priv->outputs = (GnomeRROutputInfo **)g_ptr_array_free (a, FALSE); + + /* Walk the outputs computing the right-most edge of all + * lit-up displays + */ + last_x = 0; + for (i = 0; config->priv->outputs[i] != NULL; ++i) + { + GnomeRROutputInfo *output = config->priv->outputs[i]; + + if (output->priv->on) + { + last_x = MAX (last_x, output->priv->x + output->priv->width); + } + } + + /* Now position all off displays to the right of the + * on displays + */ + for (i = 0; config->priv->outputs[i] != NULL; ++i) + { + GnomeRROutputInfo *output = config->priv->outputs[i]; + + if (output->priv->connected && !output->priv->on) + { + output->priv->x = last_x; + last_x = output->priv->x + output->priv->width; + } + } + + g_return_val_if_fail (gnome_rr_config_match (config, config), FALSE); + + return TRUE; +} + +gboolean +gnome_rr_config_load_filename (GnomeRRConfig *result, const char *filename, GError **error) +{ + GnomeRRConfig *current; + GnomeRRConfig **configs; + gboolean found = FALSE; + + g_return_val_if_fail (GNOME_IS_RR_CONFIG (result), FALSE); + g_return_val_if_fail (filename != NULL, FALSE); + g_return_val_if_fail (error == NULL || *error == NULL, FALSE); + + current = gnome_rr_config_new_current (result->priv->screen, error); + + configs = configurations_read_from_file (filename, error); + + if (configs) + { + int i; + + for (i = 0; configs[i] != NULL; ++i) + { + if (gnome_rr_config_match (configs[i], current)) + { + int j; + GPtrArray *array; + result->priv->clone = configs[i]->priv->clone; + + array = g_ptr_array_new (); + for (j = 0; configs[i]->priv->outputs[j] != NULL; j++) { + g_object_ref (configs[i]->priv->outputs[j]); + g_ptr_array_add (array, configs[i]->priv->outputs[j]); + } + g_ptr_array_add (array, NULL); + result->priv->outputs = (GnomeRROutputInfo **) g_ptr_array_free (array, FALSE); + + found = TRUE; + break; + } + g_object_unref (configs[i]); + } + g_free (configs); + + if (!found) + g_set_error (error, GNOME_RR_ERROR, GNOME_RR_ERROR_NO_MATCHING_CONFIG, + _("none of the saved display configurations matched the active configuration")); + } + + g_object_unref (current); + return found; +} + +static void +gnome_rr_config_class_init (GnomeRRConfigClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS (klass); + + g_type_class_add_private (klass, sizeof (GnomeRROutputInfoPrivate)); + + gobject_class->set_property = gnome_rr_config_set_property; + gobject_class->finalize = gnome_rr_config_finalize; + + g_object_class_install_property (gobject_class, PROP_SCREEN, + g_param_spec_object ("screen", "Screen", "The GnomeRRScreen this config applies to", GNOME_TYPE_RR_SCREEN, + G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS)); +} + +GnomeRRConfig * +gnome_rr_config_new_current (GnomeRRScreen *screen, GError **error) +{ + GnomeRRConfig *self = g_object_new (GNOME_TYPE_RR_CONFIG, "screen", screen, NULL); + + if (gnome_rr_config_load_current (self, error)) + return self; + else + { + g_object_unref (self); + return NULL; + } +} + +GnomeRRConfig * +gnome_rr_config_new_stored (GnomeRRScreen *screen, GError **error) +{ + GnomeRRConfig *self = g_object_new (GNOME_TYPE_RR_CONFIG, "screen", screen, NULL); + char *filename; + gboolean success; + + filename = gnome_rr_config_get_intended_filename (); + + success = gnome_rr_config_load_filename (self, filename, error); + + g_free (filename); + + if (success) + return self; + else + { + g_object_unref (self); + return NULL; + } +} + +static gboolean +parse_file_gmarkup (const gchar *filename, + const GMarkupParser *parser, + gpointer data, + GError **err) +{ + GMarkupParseContext *context = NULL; + gchar *contents = NULL; + gboolean result = TRUE; + gsize len; + + if (!g_file_get_contents (filename, &contents, &len, err)) + { + result = FALSE; + goto out; + } + + context = g_markup_parse_context_new (parser, 0, data, NULL); + + if (!g_markup_parse_context_parse (context, contents, len, err)) + { + result = FALSE; + goto out; + } + + if (!g_markup_parse_context_end_parse (context, err)) + { + result = FALSE; + goto out; + } + +out: + if (contents) + g_free (contents); + + if (context) + g_markup_parse_context_free (context); + + return result; +} + +static gboolean +output_match (GnomeRROutputInfo *output1, GnomeRROutputInfo *output2) +{ + g_return_val_if_fail (GNOME_IS_RR_OUTPUT_INFO (output1), FALSE); + g_return_val_if_fail (GNOME_IS_RR_OUTPUT_INFO (output2), FALSE); + + if (strcmp (output1->priv->name, output2->priv->name) != 0) + return FALSE; + + if (strcmp (output1->priv->vendor, output2->priv->vendor) != 0) + return FALSE; + + if (output1->priv->product != output2->priv->product) + return FALSE; + + if (output1->priv->serial != output2->priv->serial) + return FALSE; + + if (output1->priv->connected != output2->priv->connected) + return FALSE; + + return TRUE; +} + +static gboolean +output_equal (GnomeRROutputInfo *output1, GnomeRROutputInfo *output2) +{ + g_return_val_if_fail (GNOME_IS_RR_OUTPUT_INFO (output1), FALSE); + g_return_val_if_fail (GNOME_IS_RR_OUTPUT_INFO (output2), FALSE); + + if (!output_match (output1, output2)) + return FALSE; + + if (output1->priv->on != output2->priv->on) + return FALSE; + + if (output1->priv->on) + { + if (output1->priv->width != output2->priv->width) + return FALSE; + + if (output1->priv->height != output2->priv->height) + return FALSE; + + if (output1->priv->rate != output2->priv->rate) + return FALSE; + + if (output1->priv->x != output2->priv->x) + return FALSE; + + if (output1->priv->y != output2->priv->y) + return FALSE; + + if (output1->priv->rotation != output2->priv->rotation) + return FALSE; + } + + return TRUE; +} + +static GnomeRROutputInfo * +find_output (GnomeRRConfig *config, const char *name) +{ + int i; + + for (i = 0; config->priv->outputs[i] != NULL; ++i) + { + GnomeRROutputInfo *output = config->priv->outputs[i]; + + if (strcmp (name, output->priv->name) == 0) + return output; + } + + return NULL; +} + +/* Match means "these configurations apply to the same hardware + * setups" + */ +gboolean +gnome_rr_config_match (GnomeRRConfig *c1, GnomeRRConfig *c2) +{ + int i; + g_return_val_if_fail (GNOME_IS_RR_CONFIG (c1), FALSE); + g_return_val_if_fail (GNOME_IS_RR_CONFIG (c2), FALSE); + + for (i = 0; c1->priv->outputs[i] != NULL; ++i) + { + GnomeRROutputInfo *output1 = c1->priv->outputs[i]; + GnomeRROutputInfo *output2; + + output2 = find_output (c2, output1->priv->name); + if (!output2 || !output_match (output1, output2)) + return FALSE; + } + + return TRUE; +} + +/* Equal means "the configurations will result in the same + * modes being set on the outputs" + */ +gboolean +gnome_rr_config_equal (GnomeRRConfig *c1, + GnomeRRConfig *c2) +{ + int i; + g_return_val_if_fail (GNOME_IS_RR_CONFIG (c1), FALSE); + g_return_val_if_fail (GNOME_IS_RR_CONFIG (c2), FALSE); + + for (i = 0; c1->priv->outputs[i] != NULL; ++i) + { + GnomeRROutputInfo *output1 = c1->priv->outputs[i]; + GnomeRROutputInfo *output2; + + output2 = find_output (c2, output1->priv->name); + if (!output2 || !output_equal (output1, output2)) + return FALSE; + } + + return TRUE; +} + +static GnomeRROutputInfo ** +make_outputs (GnomeRRConfig *config) +{ + GPtrArray *outputs; + GnomeRROutputInfo *first_on; + int i; + + outputs = g_ptr_array_new (); + + first_on = NULL; + + for (i = 0; config->priv->outputs[i] != NULL; ++i) + { + GnomeRROutputInfo *old = config->priv->outputs[i]; + GnomeRROutputInfo *new = g_object_new (GNOME_TYPE_RR_OUTPUT_INFO, NULL); + *(new->priv) = *(old->priv); + if (old->priv->name) + new->priv->name = g_strdup (old->priv->name); + if (old->priv->display_name) + new->priv->display_name = g_strdup (old->priv->display_name); + + if (old->priv->on && !first_on) + first_on = old; + + if (config->priv->clone && new->priv->on) + { + if (!first_on) { + g_warn_if_reached (); + goto end; + } + new->priv->width = first_on->priv->width; + new->priv->height = first_on->priv->height; + new->priv->rotation = first_on->priv->rotation; + new->priv->x = 0; + new->priv->y = 0; + } + + g_ptr_array_add (outputs, new); + } + +end: + g_ptr_array_add (outputs, NULL); + + return (GnomeRROutputInfo **)g_ptr_array_free (outputs, FALSE); +} + +gboolean +gnome_rr_config_applicable (GnomeRRConfig *configuration, + GnomeRRScreen *screen, + GError **error) +{ + GnomeRROutputInfo **outputs; + CrtcAssignment *assign; + gboolean result; + int i; + + g_return_val_if_fail (GNOME_IS_RR_CONFIG (configuration), FALSE); + g_return_val_if_fail (GNOME_IS_RR_SCREEN (screen), FALSE); + g_return_val_if_fail (error == NULL || *error == NULL, FALSE); + + outputs = make_outputs (configuration); + assign = crtc_assignment_new (screen, outputs, error); + + if (assign) + { + result = TRUE; + crtc_assignment_free (assign); + } + else + { + result = FALSE; + } + + for (i = 0; outputs[i] != NULL; i++) { + g_object_unref (outputs[i]); + } + + return result; +} + +/* Database management */ + +static void +ensure_config_directory (void) +{ + g_mkdir_with_parents (g_get_user_config_dir (), 0700); +} + +char * +gnome_rr_config_get_backup_filename (void) +{ + ensure_config_directory (); + return g_build_filename (g_get_user_config_dir (), CONFIG_BACKUP_BASENAME, NULL); +} + +char * +gnome_rr_config_get_intended_filename (void) +{ + ensure_config_directory (); + return g_build_filename (g_get_user_config_dir (), CONFIG_INTENDED_BASENAME, NULL); +} + +static const char * +get_rotation_name (GnomeRRRotation r) +{ + if (r & GNOME_RR_ROTATION_0) + return "normal"; + if (r & GNOME_RR_ROTATION_90) + return "left"; + if (r & GNOME_RR_ROTATION_180) + return "upside_down"; + if (r & GNOME_RR_ROTATION_270) + return "right"; + + return "normal"; +} + +static const char * +yes_no (int x) +{ + return x? "yes" : "no"; +} + +static const char * +get_reflect_x (GnomeRRRotation r) +{ + return yes_no (r & GNOME_RR_REFLECT_X); +} + +static const char * +get_reflect_y (GnomeRRRotation r) +{ + return yes_no (r & GNOME_RR_REFLECT_Y); +} + +static void +emit_configuration (GnomeRRConfig *config, + GString *string) +{ + int j; + + g_string_append_printf (string, " \n"); + + g_string_append_printf (string, " %s\n", yes_no (config->priv->clone)); + + for (j = 0; config->priv->outputs[j] != NULL; ++j) + { + GnomeRROutputInfo *output = config->priv->outputs[j]; + + g_string_append_printf ( + string, " \n", output->priv->name); + + if (output->priv->connected && *output->priv->vendor != '\0') + { + g_string_append_printf ( + string, " %s\n", output->priv->vendor); + g_string_append_printf ( + string, " 0x%04x\n", output->priv->product); + g_string_append_printf ( + string, " 0x%08x\n", output->priv->serial); + } + + /* An unconnected output which is on does not make sense */ + if (output->priv->connected && output->priv->on) + { + g_string_append_printf ( + string, " %d\n", output->priv->width); + g_string_append_printf ( + string, " %d\n", output->priv->height); + g_string_append_printf ( + string, " %d\n", output->priv->rate); + g_string_append_printf ( + string, " %d\n", output->priv->x); + g_string_append_printf ( + string, " %d\n", output->priv->y); + g_string_append_printf ( + string, " %s\n", get_rotation_name (output->priv->rotation)); + g_string_append_printf ( + string, " %s\n", get_reflect_x (output->priv->rotation)); + g_string_append_printf ( + string, " %s\n", get_reflect_y (output->priv->rotation)); + g_string_append_printf ( + string, " %s\n", yes_no (output->priv->primary)); + } + + g_string_append_printf (string, " \n"); + } + + g_string_append_printf (string, " \n"); +} + +void +gnome_rr_config_sanitize (GnomeRRConfig *config) +{ + int i; + int x_offset, y_offset; + gboolean found; + + /* Offset everything by the top/left-most coordinate to + * make sure the configuration starts at (0, 0) + */ + x_offset = y_offset = G_MAXINT; + for (i = 0; config->priv->outputs[i]; ++i) + { + GnomeRROutputInfo *output = config->priv->outputs[i]; + + if (output->priv->on) + { + x_offset = MIN (x_offset, output->priv->x); + y_offset = MIN (y_offset, output->priv->y); + } + } + + for (i = 0; config->priv->outputs[i]; ++i) + { + GnomeRROutputInfo *output = config->priv->outputs[i]; + + if (output->priv->on) + { + output->priv->x -= x_offset; + output->priv->y -= y_offset; + } + } + + /* Only one primary, please */ + found = FALSE; + for (i = 0; config->priv->outputs[i]; ++i) + { + if (config->priv->outputs[i]->priv->primary) + { + if (found) + { + config->priv->outputs[i]->priv->primary = FALSE; + } + else + { + found = TRUE; + } + } + } +} + +static gboolean +output_info_is_laptop (GnomeRROutputInfo *info) +{ + if (info->priv->name + && (strstr (info->priv->name, "lvds") || /* Most drivers use an "LVDS" prefix... */ + strstr (info->priv->name, "LVDS") || + strstr (info->priv->name, "Lvds") || + strstr (info->priv->name, "LCD"))) /* ... but fglrx uses "LCD" in some versions. Shoot me now, kthxbye. */ + return TRUE; + + return FALSE; +} + +gboolean +gnome_rr_config_ensure_primary (GnomeRRConfig *configuration) +{ + int i; + GnomeRROutputInfo *laptop; + GnomeRROutputInfo *top_left; + gboolean found; + GnomeRRConfigPrivate *priv; + + g_return_val_if_fail (GNOME_IS_RR_CONFIG (configuration), FALSE); + + laptop = NULL; + top_left = NULL; + found = FALSE; + priv = configuration->priv; + + for (i = 0; priv->outputs[i] != NULL; ++i) { + GnomeRROutputInfo *info = priv->outputs[i]; + + if (!info->priv->on) { + info->priv->primary = FALSE; + continue; + } + + /* ensure only one */ + if (info->priv->primary) { + if (found) { + info->priv->primary = FALSE; + } else { + found = TRUE; + } + } + + if (top_left == NULL + || (info->priv->x < top_left->priv->x + && info->priv->y < top_left->priv->y)) { + top_left = info; + } + if (laptop == NULL + && output_info_is_laptop (info)) { + /* shame we can't find the connector type + as with gnome_rr_output_is_laptop */ + laptop = info; + } + } + + if (!found) { + if (laptop != NULL) { + laptop->priv->primary = TRUE; + } else if (top_left != NULL) { + top_left->priv->primary = TRUE; + } + } + + return !found; +} + +GString * +gnome_rr_config_dump (GnomeRRConfig *configuration) +{ + GString *output; + + output = g_string_new (""); + emit_configuration (configuration, output); + return output; +} + +gboolean +gnome_rr_config_save (GnomeRRConfig *configuration, GError **error) +{ + GnomeRRConfig **configurations; + GString *output; + int i; + gchar *intended_filename; + gchar *backup_filename; + gboolean result; + + g_return_val_if_fail (GNOME_IS_RR_CONFIG (configuration), FALSE); + g_return_val_if_fail (error == NULL || *error == NULL, FALSE); + + output = g_string_new (""); + + backup_filename = gnome_rr_config_get_backup_filename (); + intended_filename = gnome_rr_config_get_intended_filename (); + + configurations = configurations_read_from_file (intended_filename, NULL); /* NULL-GError */ + + g_string_append_printf (output, "\n"); + + if (configurations) + { + for (i = 0; configurations[i] != NULL; ++i) + { + if (!gnome_rr_config_match (configurations[i], configuration)) + emit_configuration (configurations[i], output); + g_object_unref (configurations[i]); + } + + g_free (configurations); + } + + emit_configuration (configuration, output); + + g_string_append_printf (output, "\n"); + + /* backup the file first */ + rename (intended_filename, backup_filename); /* no error checking because the intended file may not even exist */ + + result = g_file_set_contents (intended_filename, output->str, -1, error); + + if (!result) + rename (backup_filename, intended_filename); /* no error checking because the backup may not even exist */ + + g_free (backup_filename); + g_free (intended_filename); + + return result; +} + +gboolean +gnome_rr_config_apply_with_time (GnomeRRConfig *config, + GnomeRRScreen *screen, + guint32 timestamp, + GError **error) +{ + CrtcAssignment *assignment; + GnomeRROutputInfo **outputs; + gboolean result = FALSE; + int i; + + g_return_val_if_fail (GNOME_IS_RR_CONFIG (config), FALSE); + g_return_val_if_fail (GNOME_IS_RR_SCREEN (screen), FALSE); + + outputs = make_outputs (config); + + assignment = crtc_assignment_new (screen, outputs, error); + + for (i = 0; outputs[i] != NULL; i++) + g_object_unref (outputs[i]); + g_free (outputs); + + if (assignment) + { + if (crtc_assignment_apply (assignment, timestamp, error)) + result = TRUE; + + crtc_assignment_free (assignment); + + gdk_flush (); + } + + return result; +} + +/* gnome_rr_config_apply_from_filename_with_time: + * @screen: A #GnomeRRScreen + * @filename: Path of the file to look in for stored RANDR configurations. + * @timestamp: X server timestamp from the event that causes the screen configuration to change (a user's button press, for example) + * @error: Location to store error, or %NULL + * + * First, this function refreshes the @screen to match the current RANDR + * configuration from the X server. Then, it tries to load the file in + * @filename and looks for suitable matching RANDR configurations in the file; + * if one is found, that configuration will be applied to the current set of + * RANDR outputs. + * + * Typically, @filename is the result of gnome_rr_config_get_intended_filename() or + * gnome_rr_config_get_backup_filename(). + * + * Returns: TRUE if the RANDR configuration was loaded and applied from + * $(XDG_CONFIG_HOME)/monitors.xml, or FALSE otherwise: + * + * If the current RANDR configuration could not be refreshed, the @error will + * have a domain of #GNOME_RR_ERROR and a corresponding error code. + * + * If the file in question is loaded successfully but the configuration cannot + * be applied, the @error will have a domain of #GNOME_RR_ERROR. Note that an + * error code of #GNOME_RR_ERROR_NO_MATCHING_CONFIG is not a real error; it + * simply means that there were no stored configurations that match the current + * set of RANDR outputs. + * + * If the file in question cannot be loaded, the @error will have a domain of + * #G_FILE_ERROR. Note that an error code of G_FILE_ERROR_NOENT is not really + * an error, either; it means that there was no stored configuration file and so + * nothing is changed. + */ +gboolean +gnome_rr_config_apply_from_filename_with_time (GnomeRRScreen *screen, const char *filename, guint32 timestamp, GError **error) +{ + GnomeRRConfig *stored; + GError *my_error; + + g_return_val_if_fail (GNOME_IS_RR_SCREEN (screen), FALSE); + g_return_val_if_fail (filename != NULL, FALSE); + g_return_val_if_fail (error == NULL || *error == NULL, FALSE); + + my_error = NULL; + if (!gnome_rr_screen_refresh (screen, &my_error)) { + if (my_error) { + g_propagate_error (error, my_error); + return FALSE; /* This is a genuine error */ + } + + /* This means the screen didn't change, so just proceed */ + } + + stored = g_object_new (GNOME_TYPE_RR_CONFIG, "screen", screen, NULL); + + if (gnome_rr_config_load_filename (stored, filename, error)) + { + gboolean result; + + gnome_rr_config_ensure_primary (stored); + result = gnome_rr_config_apply_with_time (stored, screen, timestamp, error); + + g_object_unref (stored); + return result; + } + else + { + g_object_unref (stored); + return FALSE; + } +} + +/** + * gnome_rr_config_get_outputs: + * + * Returns: (array zero-terminated=1) (element-type GnomeDesktop.RROutputInfo) (transfer none): the output configuration for this #GnomeRRConfig + */ +GnomeRROutputInfo ** +gnome_rr_config_get_outputs (GnomeRRConfig *self) +{ + g_return_val_if_fail (GNOME_IS_RR_CONFIG (self), NULL); + + return self->priv->outputs; +} + +/** + * gnome_rr_config_get_clone: + * + * Returns: whether at least two outputs are at (0, 0) offset and they + * have the same width/height. Those outputs are of course connected and on + * (i.e. they have a CRTC assigned). + */ +gboolean +gnome_rr_config_get_clone (GnomeRRConfig *self) +{ + g_return_val_if_fail (GNOME_IS_RR_CONFIG (self), FALSE); + + return self->priv->clone; +} + +void +gnome_rr_config_set_clone (GnomeRRConfig *self, gboolean clone) +{ + g_return_if_fail (GNOME_IS_RR_CONFIG (self)); + + self->priv->clone = clone; +} + +/* + * CRTC assignment + */ +typedef struct CrtcInfo CrtcInfo; + +struct CrtcInfo +{ + GnomeRRMode *mode; + int x; + int y; + GnomeRRRotation rotation; + GPtrArray *outputs; +}; + +struct CrtcAssignment +{ + GnomeRRScreen *screen; + GHashTable *info; + GnomeRROutput *primary; +}; + +static gboolean +can_clone (CrtcInfo *info, + GnomeRROutput *output) +{ + int i; + + for (i = 0; i < info->outputs->len; ++i) + { + GnomeRROutput *clone = info->outputs->pdata[i]; + + if (!gnome_rr_output_can_clone (clone, output)) + return FALSE; + } + + return TRUE; +} + +static gboolean +crtc_assignment_assign (CrtcAssignment *assign, + GnomeRRCrtc *crtc, + GnomeRRMode *mode, + int x, + int y, + GnomeRRRotation rotation, + gboolean primary, + GnomeRROutput *output, + GError **error) +{ + CrtcInfo *info = g_hash_table_lookup (assign->info, crtc); + guint32 crtc_id; + const char *output_name; + + crtc_id = gnome_rr_crtc_get_id (crtc); + output_name = gnome_rr_output_get_name (output); + + if (!gnome_rr_crtc_can_drive_output (crtc, output)) + { + g_set_error (error, GNOME_RR_ERROR, GNOME_RR_ERROR_CRTC_ASSIGNMENT, + _("CRTC %d cannot drive output %s"), crtc_id, output_name); + return FALSE; + } + + if (!gnome_rr_output_supports_mode (output, mode)) + { + g_set_error (error, GNOME_RR_ERROR, GNOME_RR_ERROR_CRTC_ASSIGNMENT, + _("output %s does not support mode %dx%d@%dHz"), + output_name, + gnome_rr_mode_get_width (mode), + gnome_rr_mode_get_height (mode), + gnome_rr_mode_get_freq (mode)); + return FALSE; + } + + if (!gnome_rr_crtc_supports_rotation (crtc, rotation)) + { + g_set_error (error, GNOME_RR_ERROR, GNOME_RR_ERROR_CRTC_ASSIGNMENT, + _("CRTC %d does not support rotation=%s"), + crtc_id, + get_rotation_name (rotation)); + return FALSE; + } + + if (info) + { + if (!(info->mode == mode && + info->x == x && + info->y == y && + info->rotation == rotation)) + { + g_set_error (error, GNOME_RR_ERROR, GNOME_RR_ERROR_CRTC_ASSIGNMENT, + _("output %s does not have the same parameters as another cloned output:\n" + "existing mode = %d, new mode = %d\n" + "existing coordinates = (%d, %d), new coordinates = (%d, %d)\n" + "existing rotation = %s, new rotation = %s"), + output_name, + gnome_rr_mode_get_id (info->mode), gnome_rr_mode_get_id (mode), + info->x, info->y, + x, y, + get_rotation_name (info->rotation), get_rotation_name (rotation)); + return FALSE; + } + + if (!can_clone (info, output)) + { + g_set_error (error, GNOME_RR_ERROR, GNOME_RR_ERROR_CRTC_ASSIGNMENT, + _("cannot clone to output %s"), + output_name); + return FALSE; + } + + g_ptr_array_add (info->outputs, output); + + if (primary && !assign->primary) + { + assign->primary = output; + } + + return TRUE; + } + else + { + CrtcInfo *info = g_new0 (CrtcInfo, 1); + + info->mode = mode; + info->x = x; + info->y = y; + info->rotation = rotation; + info->outputs = g_ptr_array_new (); + + g_ptr_array_add (info->outputs, output); + + g_hash_table_insert (assign->info, crtc, info); + + if (primary && !assign->primary) + { + assign->primary = output; + } + + return TRUE; + } +} + +static void +crtc_assignment_unassign (CrtcAssignment *assign, + GnomeRRCrtc *crtc, + GnomeRROutput *output) +{ + CrtcInfo *info = g_hash_table_lookup (assign->info, crtc); + + if (info) + { + g_ptr_array_remove (info->outputs, output); + + if (assign->primary == output) + { + assign->primary = NULL; + } + + if (info->outputs->len == 0) + g_hash_table_remove (assign->info, crtc); + } +} + +static void +crtc_assignment_free (CrtcAssignment *assign) +{ + g_hash_table_destroy (assign->info); + + g_free (assign); +} + +typedef struct { + guint32 timestamp; + gboolean has_error; + GError **error; +} ConfigureCrtcState; + +static void +configure_crtc (gpointer key, + gpointer value, + gpointer data) +{ + GnomeRRCrtc *crtc = key; + CrtcInfo *info = value; + ConfigureCrtcState *state = data; + + if (state->has_error) + return; + + if (!gnome_rr_crtc_set_config_with_time (crtc, + state->timestamp, + info->x, info->y, + info->mode, + info->rotation, + (GnomeRROutput **)info->outputs->pdata, + info->outputs->len, + state->error)) + state->has_error = TRUE; +} + +static gboolean +mode_is_rotated (CrtcInfo *info) +{ + if ((info->rotation & GNOME_RR_ROTATION_270) || + (info->rotation & GNOME_RR_ROTATION_90)) + { + return TRUE; + } + return FALSE; +} + +static gboolean +crtc_is_rotated (GnomeRRCrtc *crtc) +{ + GnomeRRRotation r = gnome_rr_crtc_get_current_rotation (crtc); + + if ((r & GNOME_RR_ROTATION_270) || + (r & GNOME_RR_ROTATION_90)) + { + return TRUE; + } + + return FALSE; +} + +static void +accumulate_error (GString *accumulated_error, GError *error) +{ + g_string_append_printf (accumulated_error, " %s\n", error->message); + g_error_free (error); +} + +/* Check whether the given set of settings can be used + * at the same time -- ie. whether there is an assignment + * of CRTC's to outputs. + * + * Brute force - the number of objects involved is small + * enough that it doesn't matter. + */ +static gboolean +real_assign_crtcs (GnomeRRScreen *screen, + GnomeRROutputInfo **outputs, + CrtcAssignment *assignment, + GError **error) +{ + GnomeRRCrtc **crtcs = gnome_rr_screen_list_crtcs (screen); + GnomeRROutputInfo *output; + int i; + gboolean tried_mode; + GError *my_error; + GString *accumulated_error; + gboolean success; + + output = *outputs; + if (!output) + return TRUE; + + /* It is always allowed for an output to be turned off */ + if (!output->priv->on) + { + return real_assign_crtcs (screen, outputs + 1, assignment, error); + } + + success = FALSE; + tried_mode = FALSE; + accumulated_error = g_string_new (NULL); + + for (i = 0; crtcs[i] != NULL; ++i) + { + GnomeRRCrtc *crtc = crtcs[i]; + int crtc_id = gnome_rr_crtc_get_id (crtc); + int pass; + + g_string_append_printf (accumulated_error, + _("Trying modes for CRTC %d\n"), + crtc_id); + + /* Make two passes, one where frequencies must match, then + * one where they don't have to + */ + for (pass = 0; pass < 2; ++pass) + { + GnomeRROutput *gnome_rr_output = gnome_rr_screen_get_output_by_name (screen, output->priv->name); + GnomeRRMode **modes = gnome_rr_output_list_modes (gnome_rr_output); + int j; + + for (j = 0; modes[j] != NULL; ++j) + { + GnomeRRMode *mode = modes[j]; + int mode_width; + int mode_height; + int mode_freq; + + mode_width = gnome_rr_mode_get_width (mode); + mode_height = gnome_rr_mode_get_height (mode); + mode_freq = gnome_rr_mode_get_freq (mode); + + g_string_append_printf (accumulated_error, + _("CRTC %d: trying mode %dx%d@%dHz with output at %dx%d@%dHz (pass %d)\n"), + crtc_id, + mode_width, mode_height, mode_freq, + output->priv->width, output->priv->height, output->priv->rate, + pass); + + if (mode_width == output->priv->width && + mode_height == output->priv->height && + (pass == 1 || mode_freq == output->priv->rate)) + { + tried_mode = TRUE; + + my_error = NULL; + if (crtc_assignment_assign ( + assignment, crtc, modes[j], + output->priv->x, output->priv->y, + output->priv->rotation, + output->priv->primary, + gnome_rr_output, + &my_error)) + { + my_error = NULL; + if (real_assign_crtcs (screen, outputs + 1, assignment, &my_error)) { + success = TRUE; + goto out; + } else + accumulate_error (accumulated_error, my_error); + + crtc_assignment_unassign (assignment, crtc, gnome_rr_output); + } else + accumulate_error (accumulated_error, my_error); + } + } + } + } + +out: + + if (success) + g_string_free (accumulated_error, TRUE); + else { + char *str; + + str = g_string_free (accumulated_error, FALSE); + + if (tried_mode) + g_set_error (error, GNOME_RR_ERROR, GNOME_RR_ERROR_CRTC_ASSIGNMENT, + _("could not assign CRTCs to outputs:\n%s"), + str); + else + g_set_error (error, GNOME_RR_ERROR, GNOME_RR_ERROR_CRTC_ASSIGNMENT, + _("none of the selected modes were compatible with the possible modes:\n%s"), + str); + + g_free (str); + } + + return success; +} + +static void +crtc_info_free (CrtcInfo *info) +{ + g_ptr_array_free (info->outputs, TRUE); + g_free (info); +} + +static void +get_required_virtual_size (CrtcAssignment *assign, int *width, int *height) +{ + GList *active_crtcs = g_hash_table_get_keys (assign->info); + GList *list; + int d; + + if (!width) + width = &d; + if (!height) + height = &d; + + /* Compute size of the screen */ + *width = *height = 1; + for (list = active_crtcs; list != NULL; list = list->next) + { + GnomeRRCrtc *crtc = list->data; + CrtcInfo *info = g_hash_table_lookup (assign->info, crtc); + int w, h; + + w = gnome_rr_mode_get_width (info->mode); + h = gnome_rr_mode_get_height (info->mode); + + if (mode_is_rotated (info)) + { + int tmp = h; + h = w; + w = tmp; + } + + *width = MAX (*width, info->x + w); + *height = MAX (*height, info->y + h); + } + + g_list_free (active_crtcs); +} + +static CrtcAssignment * +crtc_assignment_new (GnomeRRScreen *screen, GnomeRROutputInfo **outputs, GError **error) +{ + CrtcAssignment *assignment = g_new0 (CrtcAssignment, 1); + + assignment->info = g_hash_table_new_full ( + g_direct_hash, g_direct_equal, NULL, (GFreeFunc)crtc_info_free); + + if (real_assign_crtcs (screen, outputs, assignment, error)) + { + int width, height; + int min_width, max_width, min_height, max_height; + int required_pixels, min_pixels, max_pixels; + + get_required_virtual_size (assignment, &width, &height); + + gnome_rr_screen_get_ranges ( + screen, &min_width, &max_width, &min_height, &max_height); + + required_pixels = width * height; + min_pixels = min_width * min_height; + max_pixels = max_width * max_height; + + if (required_pixels < min_pixels || required_pixels > max_pixels) + { + g_set_error (error, GNOME_RR_ERROR, GNOME_RR_ERROR_BOUNDS_ERROR, + /* Translators: the "requested", "minimum", and + * "maximum" words here are not keywords; please + * translate them as usual. */ + _("required virtual size does not fit available size: " + "requested=(%d, %d), minimum=(%d, %d), maximum=(%d, %d)"), + width, height, + min_width, min_height, + max_width, max_height); + goto fail; + } + + assignment->screen = screen; + + return assignment; + } + +fail: + crtc_assignment_free (assignment); + + return NULL; +} + +#ifdef HAVE_X11 +/* + * get_dpi_from_x_server copied from + * https://bugzilla.novell.com/show_bug.cgi?id=217790#c20 + */ +#define DPI_FALLBACK 96 +#define DPI_LOW_REASONABLE_VALUE 50 +#define DPI_HIGH_REASONABLE_VALUE 500 +static double +get_dpi_from_x_server (void) +{ + GdkScreen *screen; + double dpi; + + screen = gdk_screen_get_default (); + if (screen) + { + int width_pixels, width_mm; + int height_pixels, height_mm; + double width_dpi, height_dpi; + + width_pixels = gdk_screen_get_width (screen); + width_mm = gdk_screen_get_width_mm (screen); + + height_pixels = gdk_screen_get_height (screen); + height_mm = gdk_screen_get_height_mm (screen); + + width_dpi = width_pixels / (width_mm / 25.4); + height_dpi = height_pixels / (height_mm / 25.4); + + if (width_dpi < DPI_LOW_REASONABLE_VALUE || width_dpi > DPI_HIGH_REASONABLE_VALUE + || height_dpi < DPI_LOW_REASONABLE_VALUE || height_dpi > DPI_HIGH_REASONABLE_VALUE) + dpi = DPI_FALLBACK; + else + dpi = (width_dpi + height_dpi) / 2.0; + } + else + { + /* Huh!? No screen? */ + + dpi = DPI_FALLBACK; + } + + return dpi; +} +#endif + +static gboolean +crtc_assignment_apply (CrtcAssignment *assign, guint32 timestamp, GError **error) +{ + GnomeRRCrtc **all_crtcs = gnome_rr_screen_list_crtcs (assign->screen); + int width, height; + int i; + int min_width, max_width, min_height, max_height; + int width_mm, height_mm; + gboolean success = TRUE; + + /* Compute size of the screen */ + get_required_virtual_size (assign, &width, &height); + + gnome_rr_screen_get_ranges ( + assign->screen, &min_width, &max_width, &min_height, &max_height); + + /* We should never get here if the dimensions don't fit in the virtual size, + * but just in case we do, fix it up. + */ + width = MAX (min_width, width); + width = MIN (max_width, width); + height = MAX (min_height, height); + height = MIN (max_height, height); + + /* FMQ: do we need to check the sizes instead of clamping them? */ + + /* Grab the server while we fiddle with the CRTCs and the screen, so that + * apps that listen for RANDR notifications will only receive the final + * status. + */ +#ifdef HAVE_X11 + gdk_x11_display_grab (gdk_screen_get_display (assign->screen->priv->gdk_screen)); +#endif + + /* Turn off all crtcs that are currently displaying outside the new screen, + * or are not used in the new setup + */ + for (i = 0; all_crtcs[i] != NULL; ++i) + { + GnomeRRCrtc *crtc = all_crtcs[i]; + GnomeRRMode *mode = gnome_rr_crtc_get_current_mode (crtc); + int x, y; + + if (mode) + { + int w, h; + gnome_rr_crtc_get_position (crtc, &x, &y); + + w = gnome_rr_mode_get_width (mode); + h = gnome_rr_mode_get_height (mode); + + if (crtc_is_rotated (crtc)) + { + int tmp = h; + h = w; + w = tmp; + } + + if (x + w > width || y + h > height || !g_hash_table_lookup (assign->info, crtc)) + { + if (!gnome_rr_crtc_set_config_with_time (crtc, timestamp, 0, 0, NULL, GNOME_RR_ROTATION_0, NULL, 0, error)) + { + success = FALSE; + break; + } + + } + } + } + + /* The 'physical size' of an X screen is meaningless if that screen + * can consist of many monitors. So just pick a size that make the + * dpi 96. + * + * Firefox and Evince apparently believe what X tells them. + */ + double dpi = 96.0; +#ifdef HAVE_X11 + dpi = get_dpi_from_x_server(); +#endif + width_mm = (width / dpi) * 25.4 + 0.5; + height_mm = (height / dpi) * 25.4 + 0.5; + + if (success) + { + ConfigureCrtcState state; + + gnome_rr_screen_set_size (assign->screen, width, height, width_mm, height_mm); + + state.timestamp = timestamp; + state.has_error = FALSE; + state.error = error; + + g_hash_table_foreach (assign->info, configure_crtc, &state); + + success = !state.has_error; + } + + gnome_rr_screen_set_primary_output (assign->screen, assign->primary); + +#ifdef HAVE_X11 + gdk_x11_display_ungrab (gdk_screen_get_display (assign->screen->priv->gdk_screen)); +#endif + return success; +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-config.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-config.h new file mode 100644 index 0000000..b1b6c15 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-config.h @@ -0,0 +1,149 @@ +/* gnome-rr-config.h + * -*- c-basic-offset: 4 -*- + * + * Copyright 2007, 2008, Red Hat, Inc. + * Copyright 2010 Giovanni Campagna + * + * This file is part of the Gnome Library. + * + * The Gnome Library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * The Gnome Library 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 + * Library General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, see . + * + * Author: Soren Sandmann + */ +#ifndef GNOME_RR_CONFIG_H +#define GNOME_RR_CONFIG_H + +#ifndef GNOME_DESKTOP_USE_UNSTABLE_API +#error gnome-rr-config.h is unstable API. You must define GNOME_DESKTOP_USE_UNSTABLE_API before including gnome-rr-config.h +#endif + +#include +#include +#include "gnome-rr.h" + +typedef struct GnomeRROutputInfoPrivate GnomeRROutputInfoPrivate; +typedef struct GnomeRRConfigPrivate GnomeRRConfigPrivate; + +typedef struct +{ + GObject parent; + + /*< private >*/ + GnomeRROutputInfoPrivate *priv; +} GnomeRROutputInfo; + +typedef struct +{ + GObjectClass parent_class; +} GnomeRROutputInfoClass; + +#define GNOME_TYPE_RR_OUTPUT_INFO (gnome_rr_output_info_get_type()) +#define GNOME_RR_OUTPUT_INFO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNOME_TYPE_RR_OUTPUT_INFO, GnomeRROutputInfo)) +#define GNOME_IS_RR_OUTPUT_INFO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNOME_TYPE_RR_OUTPUT_INFO)) +#define GNOME_RR_OUTPUT_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNOME_TYPE_RR_OUTPUT_INFO, GnomeRROutputInfoClass)) +#define GNOME_IS_RR_OUTPUT_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_RR_OUTPUT_INFO)) +#define GNOME_RR_OUTPUT_INFO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNOME_TYPE_RR_OUTPUT_INFO, GnomeRROutputInfoClass)) + +GType gnome_rr_output_info_get_type (void); + +char *gnome_rr_output_info_get_name (GnomeRROutputInfo *self); + +gboolean gnome_rr_output_info_is_active (GnomeRROutputInfo *self); +void gnome_rr_output_info_set_active (GnomeRROutputInfo *self, gboolean active); + +void gnome_rr_output_info_get_geometry (GnomeRROutputInfo *self, int *x, int *y, int *width, int *height); +void gnome_rr_output_info_set_geometry (GnomeRROutputInfo *self, int x, int y, int width, int height); + +int gnome_rr_output_info_get_refresh_rate (GnomeRROutputInfo *self); +void gnome_rr_output_info_set_refresh_rate (GnomeRROutputInfo *self, int rate); + +GnomeRRRotation gnome_rr_output_info_get_rotation (GnomeRROutputInfo *self); +void gnome_rr_output_info_set_rotation (GnomeRROutputInfo *self, GnomeRRRotation rotation); + +gboolean gnome_rr_output_info_is_connected (GnomeRROutputInfo *self); +void gnome_rr_output_info_get_vendor (GnomeRROutputInfo *self, gchar* vendor); +guint gnome_rr_output_info_get_product (GnomeRROutputInfo *self); +guint gnome_rr_output_info_get_serial (GnomeRROutputInfo *self); +double gnome_rr_output_info_get_aspect_ratio (GnomeRROutputInfo *self); +char *gnome_rr_output_info_get_display_name (GnomeRROutputInfo *self); + +gboolean gnome_rr_output_info_get_primary (GnomeRROutputInfo *self); +void gnome_rr_output_info_set_primary (GnomeRROutputInfo *self, gboolean primary); + +int gnome_rr_output_info_get_preferred_width (GnomeRROutputInfo *self); +int gnome_rr_output_info_get_preferred_height (GnomeRROutputInfo *self); + +typedef struct +{ + GObject parent; + + /*< private >*/ + GnomeRRConfigPrivate *priv; +} GnomeRRConfig; + +typedef struct +{ + GObjectClass parent_class; +} GnomeRRConfigClass; + +#define GNOME_TYPE_RR_CONFIG (gnome_rr_config_get_type()) +#define GNOME_RR_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNOME_TYPE_RR_CONFIG, GnomeRRConfig)) +#define GNOME_IS_RR_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNOME_TYPE_RR_CONFIG)) +#define GNOME_RR_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNOME_TYPE_RR_CONFIG, GnomeRRConfigClass)) +#define GNOME_IS_RR_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_RR_CONFIG)) +#define GNOME_RR_CONFIG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNOME_TYPE_RR_CONFIG, GnomeRRConfigClass)) + +GType gnome_rr_config_get_type (void); + +GnomeRRConfig *gnome_rr_config_new_current (GnomeRRScreen *screen, + GError **error); +GnomeRRConfig *gnome_rr_config_new_stored (GnomeRRScreen *screen, + GError **error); +gboolean gnome_rr_config_load_current (GnomeRRConfig *self, + GError **error); +gboolean gnome_rr_config_load_filename (GnomeRRConfig *self, + const gchar *filename, + GError **error); +gboolean gnome_rr_config_match (GnomeRRConfig *config1, + GnomeRRConfig *config2); +gboolean gnome_rr_config_equal (GnomeRRConfig *config1, + GnomeRRConfig *config2); +gboolean gnome_rr_config_save (GnomeRRConfig *configuration, + GError **error); +void gnome_rr_config_sanitize (GnomeRRConfig *configuration); +gboolean gnome_rr_config_ensure_primary (GnomeRRConfig *configuration); + +gboolean gnome_rr_config_apply_with_time (GnomeRRConfig *configuration, + GnomeRRScreen *screen, + guint32 timestamp, + GError **error); + +gboolean gnome_rr_config_apply_from_filename_with_time (GnomeRRScreen *screen, + const char *filename, + guint32 timestamp, + GError **error); + +gboolean gnome_rr_config_applicable (GnomeRRConfig *configuration, + GnomeRRScreen *screen, + GError **error); + +gboolean gnome_rr_config_get_clone (GnomeRRConfig *configuration); +void gnome_rr_config_set_clone (GnomeRRConfig *configuration, gboolean clone); +GnomeRROutputInfo **gnome_rr_config_get_outputs (GnomeRRConfig *configuration); +GString *gnome_rr_config_dump (GnomeRRConfig *configuration); + +char *gnome_rr_config_get_backup_filename (void); +char *gnome_rr_config_get_intended_filename (void); + +#endif diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-generic.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-generic.c new file mode 100644 index 0000000..90c4055 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-generic.c @@ -0,0 +1,218 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* gnome-rr.c + * + * Copyright 2011, Red Hat, Inc. + * + * This file is part of the Gnome Library. + * + * The Gnome Library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * The Gnome Library 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 + * Library General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, see . + * + * Author: Marc-André Lureau + */ + +#define GNOME_DESKTOP_USE_UNSTABLE_API + +#include +#include +#include + +#include + +#undef GNOME_DISABLE_DEPRECATED +#include "gnome-rr.h" +#include "gnome-rr-config.h" +#include "gnome-rr-private.h" +#include "gnome-rr-generic.h" + +struct GnomeRRGenericScreenPrivate +{ + RRMode rrmode_id; +}; + +static void gnome_rr_generic_screen_initable_iface_init (GInitableIface *iface); +G_DEFINE_TYPE_WITH_CODE (GnomeRRGenericScreen, gnome_rr_generic_screen, GNOME_TYPE_RR_SCREEN, + G_IMPLEMENT_INTERFACE (G_TYPE_INITABLE, gnome_rr_generic_screen_initable_iface_init)) + +static gboolean +gnome_rr_generic_screen_initable_init (GInitable *initable, GCancellable *canc, GError **error) +{ + GInitableIface *iface, *parent_iface; + + iface = G_TYPE_INSTANCE_GET_INTERFACE(initable, G_TYPE_INITABLE, GInitableIface); + parent_iface = g_type_interface_peek_parent(iface); + + if (!parent_iface->init (initable, canc, error)) + return FALSE; + + return TRUE; +} + +static void +gnome_rr_generic_screen_initable_iface_init (GInitableIface *iface) +{ + iface->init = gnome_rr_generic_screen_initable_init; +} + +static void +gnome_rr_generic_screen_finalize (GObject *gobject) +{ + G_OBJECT_CLASS (gnome_rr_generic_screen_parent_class)->finalize (gobject); +} + +static void +gnome_rr_generic_screen_class_init (GnomeRRGenericScreenClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS (klass); + + g_type_class_add_private (klass, sizeof (GnomeRRGenericScreenPrivate)); + + gobject_class->finalize = gnome_rr_generic_screen_finalize; +} + +static void +gnome_rr_generic_screen_init (GnomeRRGenericScreen *self) +{ + GnomeRRGenericScreenPrivate *priv = G_TYPE_INSTANCE_GET_PRIVATE (self, + GNOME_TYPE_RR_GENERIC_SCREEN, GnomeRRGenericScreenPrivate); + + self->priv = priv; +} + +gboolean +fill_out_screen_info (GnomeRRScreen *screen, ScreenInfo *info, + gboolean needs_reprobe, GError **error) +{ + GdkScreen *gdk_screen; + GPtrArray *crtcs, *outputs, *modes; + guint i; + + g_object_get(G_OBJECT(screen), "gdk-screen", &gdk_screen, NULL); + + crtcs = g_ptr_array_new (); + outputs = g_ptr_array_new (); + modes = g_ptr_array_new (); + + for (i = 0; i < gdk_screen_get_n_monitors(gdk_screen); i++) { + GdkRectangle monitor_geometry; + GnomeRRCrtc *crtc; + GnomeRROutput *output; + + crtc = crtc_new(info, i); + crtc->rotations = GNOME_RR_ROTATION_0; + g_ptr_array_add(crtcs, crtc); + + gdk_screen_get_monitor_geometry(gdk_screen, i, &monitor_geometry); + crtc->x = monitor_geometry.x; + crtc->y = monitor_geometry.y; + crtc->current_rotation = GNOME_RR_ROTATION_0; + + output = output_new(info, i); + output->name = gdk_screen_get_monitor_plug_name(gdk_screen, i); + output->current_crtc = crtc; + output->possible_crtcs = g_new0 (GnomeRRCrtc*, 2); + output->possible_crtcs[0] = crtc; + output->connected = TRUE; + output->width_mm = gdk_screen_get_monitor_width_mm(gdk_screen, i); + output->height_mm = gdk_screen_get_monitor_height_mm(gdk_screen, i); + + crtc->current_mode = mode_new(info, i); + crtc->current_mode->width = monitor_geometry.x; + crtc->current_mode->height = monitor_geometry.y; + output->modes = g_new0(GnomeRRMode*, 2); + output->modes[0] = crtc->current_mode; + g_ptr_array_add(modes, crtc->current_mode); + + crtc->current_outputs = g_new0(GnomeRROutput*, 2); + crtc->current_outputs[0] = output; + crtc->possible_outputs = g_new0(GnomeRROutput*, 2); + crtc->possible_outputs[0] = output; + } + + info->min_width = 0; + info->min_height = 0; + info->max_width = gdk_screen_get_width(gdk_screen); + info->max_height = gdk_screen_get_height(gdk_screen); + + g_ptr_array_add (modes, NULL); + info->modes = (GnomeRRMode **)g_ptr_array_free (modes, FALSE); + + g_ptr_array_add (crtcs, NULL); + info->crtcs = (GnomeRRCrtc **)g_ptr_array_free (crtcs, FALSE); + + g_ptr_array_add (outputs, NULL); + info->outputs = (GnomeRROutput **)g_ptr_array_free (outputs, FALSE); + + g_object_unref(G_OBJECT(gdk_screen)); + + return TRUE; +} + +gboolean +gnome_rr_crtc_set_config_with_time (GnomeRRCrtc *crtc, + guint32 timestamp, + int x, + int y, + GnomeRRMode *mode, + GnomeRRRotation rotation, + GnomeRROutput **outputs, + int n_outputs, + GError **error) +{ + g_set_error (error, GNOME_RR_ERROR, GNOME_RR_ERROR_UNKNOWN, + /* Translators: a CRTC is a CRT Controller (this is X terminology). */ + _("could not set the output configuration")); + + return FALSE; +} + +void +gnome_rr_screen_set_size (GnomeRRScreen *self, + int width, + int height, + int mm_width, + int mm_height) +{ + g_warning ("Unimplemented on MacOS X"); +} + +void +gnome_rr_crtc_set_gamma (GnomeRRCrtc *crtc, int size, + unsigned short *red, + unsigned short *green, + unsigned short *blue) +{ + g_return_if_fail (crtc != NULL); + g_return_if_fail (red != NULL); + g_return_if_fail (green != NULL); + g_return_if_fail (blue != NULL); + + g_warning ("Unimplemented on MacOS X"); +} + +gboolean +gnome_rr_crtc_get_gamma (GnomeRRCrtc *crtc, int *size, + unsigned short **red, unsigned short **green, + unsigned short **blue) +{ + g_return_val_if_fail (crtc != NULL, FALSE); + + g_warning ("Unimplemented on MacOS X"); + return FALSE; +} + +void +screen_set_primary_output (GnomeRRScreen *screen, GnomeRROutput *output) +{ + g_warning ("Unimplemented on MacOS X"); +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-generic.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-generic.h new file mode 100644 index 0000000..6694cd7 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-generic.h @@ -0,0 +1,53 @@ +/* gnome-rr-generic.h + * + * Copyright 2011, Red Hat, Inc. + * + * This file is part of the Gnome Library. + * + * The Gnome Library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * The Gnome Library 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 + * Library General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, see . + * + * Authors: Soren Sandmann + * Marc-André Lureau + */ + +#ifndef GNOME_RR_GENERIC_H +#define GNOME_RR_GENERIC_H + +#include +#include "gnome-rr.h" + +#define GNOME_TYPE_RR_GENERIC_SCREEN (gnome_rr_generic_screen_get_type()) +#define GNOME_RR_GENERIC_SCREEN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNOME_TYPE_RR_GENERIC_SCREEN, GnomeRRGenericScreen)) +#define GNOME_IS_RR_GENERIC_SCREEN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNOME_TYPE_RR_GENERIC_SCREEN)) +#define GNOME_RR_GENERIC_SCREEN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNOME_TYPE_RR_GENERIC_SCREEN, GnomeRRGenericScreenClass)) +#define GNOME_IS_RR_GENERIC_SCREEN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_RR_GENERIC_SCREEN)) +#define GNOME_RR_GENERIC_SCREEN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNOME_TYPE_RR_GENERIC_SCREEN, GnomeRRGenericScreenClass)) + +typedef struct GnomeRRGenericScreenPrivate GnomeRRGenericScreenPrivate; + +typedef struct { + GnomeRRScreen parent; + + GnomeRRGenericScreenPrivate* priv; +} GnomeRRGenericScreen; + +typedef struct { + GnomeRRScreenClass parent_class; + + void (* changed) (void); +} GnomeRRGenericScreenClass; + +GType gnome_rr_generic_screen_get_type (void); + +#endif /* GNOME_RR_GENERIC_H */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-output-info.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-output-info.c new file mode 100644 index 0000000..d9c1658 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-output-info.c @@ -0,0 +1,244 @@ +/* gnome-rr-output-info.c + * -*- c-basic-offset: 4 -*- + * + * Copyright 2010 Giovanni Campagna + * + * This file is part of the Gnome Desktop Library. + * + * The Gnome Desktop Library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * The Gnome Library 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 + * Library General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, see . + */ + +#define GNOME_DESKTOP_USE_UNSTABLE_API + +#include + +#include "gnome-rr-config.h" + +#include "edid.h" +#include "gnome-rr-private.h" + +G_DEFINE_TYPE (GnomeRROutputInfo, gnome_rr_output_info, G_TYPE_OBJECT) + +static void +gnome_rr_output_info_init (GnomeRROutputInfo *self) +{ + self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, GNOME_TYPE_RR_OUTPUT_INFO, GnomeRROutputInfoPrivate); + + self->priv->name = NULL; + self->priv->on = FALSE; + self->priv->display_name = NULL; +} + +static void +gnome_rr_output_info_finalize (GObject *gobject) +{ + GnomeRROutputInfo *self = GNOME_RR_OUTPUT_INFO (gobject); + + g_free (self->priv->name); + g_free (self->priv->display_name); + + G_OBJECT_CLASS (gnome_rr_output_info_parent_class)->finalize (gobject); +} + +static void +gnome_rr_output_info_class_init (GnomeRROutputInfoClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS (klass); + + g_type_class_add_private (klass, sizeof (GnomeRROutputInfoPrivate)); + + gobject_class->finalize = gnome_rr_output_info_finalize; +} + +/** + * gnome_rr_output_info_get_name: + * + * Returns: (transfer none): the output name + */ +char *gnome_rr_output_info_get_name (GnomeRROutputInfo *self) +{ + g_return_val_if_fail (GNOME_IS_RR_OUTPUT_INFO (self), NULL); + + return self->priv->name; +} + +/** + * gnome_rr_output_info_is_active: + * + * Returns: whether there is a CRTC assigned to this output (i.e. a signal is being sent to it) + */ +gboolean gnome_rr_output_info_is_active (GnomeRROutputInfo *self) +{ + g_return_val_if_fail (GNOME_IS_RR_OUTPUT_INFO (self), FALSE); + + return self->priv->on; +} + +void gnome_rr_output_info_set_active (GnomeRROutputInfo *self, gboolean active) +{ + g_return_if_fail (GNOME_IS_RR_OUTPUT_INFO (self)); + + self->priv->on = active; +} + +/** + * gnome_rr_output_info_get_geometry: + * + * @self: a #GnomeRROutputInfo + * @x: (out) (allow-none): + * @y: (out) (allow-none): + * @width: (out) (allow-none): + * @height: (out) (allow-none): + */ +void gnome_rr_output_info_get_geometry (GnomeRROutputInfo *self, int *x, int *y, int *width, int *height) +{ + g_return_if_fail (GNOME_IS_RR_OUTPUT_INFO (self)); + + if (x) + *x = self->priv->x; + if (y) + *y = self->priv->y; + if (width) + *width = self->priv->width; + if (height) + *height = self->priv->height; +} + +void gnome_rr_output_info_set_geometry (GnomeRROutputInfo *self, int x, int y, int width, int height) +{ + g_return_if_fail (GNOME_IS_RR_OUTPUT_INFO (self)); + + self->priv->x = x; + self->priv->y = y; + self->priv->width = width; + self->priv->height = height; +} + +int gnome_rr_output_info_get_refresh_rate (GnomeRROutputInfo *self) +{ + g_return_val_if_fail (GNOME_IS_RR_OUTPUT_INFO (self), 0); + + return self->priv->rate; +} + +void gnome_rr_output_info_set_refresh_rate (GnomeRROutputInfo *self, int rate) +{ + g_return_if_fail (GNOME_IS_RR_OUTPUT_INFO (self)); + + self->priv->rate = rate; +} + +GnomeRRRotation gnome_rr_output_info_get_rotation (GnomeRROutputInfo *self) +{ + g_return_val_if_fail (GNOME_IS_RR_OUTPUT_INFO (self), GNOME_RR_ROTATION_0); + + return self->priv->rotation; +} + +void gnome_rr_output_info_set_rotation (GnomeRROutputInfo *self, GnomeRRRotation rotation) +{ + g_return_if_fail (GNOME_IS_RR_OUTPUT_INFO (self)); + + self->priv->rotation = rotation; +} + +/** + * gnome_rr_output_info_is_connected: + * + * Returns: whether the output is physically connected to a monitor + */ +gboolean gnome_rr_output_info_is_connected (GnomeRROutputInfo *self) +{ + g_return_val_if_fail (GNOME_IS_RR_OUTPUT_INFO (self), FALSE); + + return self->priv->connected; +} + +/** + * gnome_rr_output_info_get_vendor: + * + * @self: a #GnomeRROutputInfo + * @vendor: (out caller-allocates) (array fixed-size=4): + */ +void gnome_rr_output_info_get_vendor (GnomeRROutputInfo *self, gchar* vendor) +{ + g_return_if_fail (GNOME_IS_RR_OUTPUT_INFO (self)); + g_return_if_fail (vendor != NULL); + + vendor[0] = self->priv->vendor[0]; + vendor[1] = self->priv->vendor[1]; + vendor[2] = self->priv->vendor[2]; + vendor[3] = self->priv->vendor[3]; +} + +guint gnome_rr_output_info_get_product (GnomeRROutputInfo *self) +{ + g_return_val_if_fail (GNOME_IS_RR_OUTPUT_INFO (self), 0); + + return self->priv->product; +} + +guint gnome_rr_output_info_get_serial (GnomeRROutputInfo *self) +{ + g_return_val_if_fail (GNOME_IS_RR_OUTPUT_INFO (self), 0); + + return self->priv->serial; +} + +double gnome_rr_output_info_get_aspect_ratio (GnomeRROutputInfo *self) +{ + g_return_val_if_fail (GNOME_IS_RR_OUTPUT_INFO (self), 0); + + return self->priv->aspect; +} + +/** + * gnome_rr_output_info_get_display_name: + * + * Returns: (transfer none): the display name of this output + */ +char *gnome_rr_output_info_get_display_name (GnomeRROutputInfo *self) +{ + g_return_val_if_fail (GNOME_IS_RR_OUTPUT_INFO (self), NULL); + + return self->priv->display_name; +} + +gboolean gnome_rr_output_info_get_primary (GnomeRROutputInfo *self) +{ + g_return_val_if_fail (GNOME_IS_RR_OUTPUT_INFO (self), FALSE); + + return self->priv->primary; +} + +void gnome_rr_output_info_set_primary (GnomeRROutputInfo *self, gboolean primary) +{ + g_return_if_fail (GNOME_IS_RR_OUTPUT_INFO (self)); + + self->priv->primary = primary; +} + +int gnome_rr_output_info_get_preferred_width (GnomeRROutputInfo *self) +{ + g_return_val_if_fail (GNOME_IS_RR_OUTPUT_INFO (self), 0); + + return self->priv->pref_width; +} + +int gnome_rr_output_info_get_preferred_height (GnomeRROutputInfo *self) +{ + g_return_val_if_fail (GNOME_IS_RR_OUTPUT_INFO (self), 0); + + return self->priv->pref_height; +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-private.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-private.h new file mode 100644 index 0000000..0e06b5e --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-private.h @@ -0,0 +1,204 @@ +/* gnome-rr-private.h + * + * Copyright 2007, 2008, Red Hat, Inc. + * + * This file is part of the Gnome Library. + * + * The Gnome Library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * The Gnome Library 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 + * Library General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, see . + * + * Author: Soren Sandmann + */ + +#ifndef GNOME_RR_PRIVATE_H +#define GNOME_RR_PRIVATE_H + +#include +#include + +#ifdef HAVE_RANDR +#include +#endif + +#ifdef WIN32 +#include +#include +#endif + +#ifndef HAVE_RANDR +/* This is to avoid a ton of ifdefs wherever we use a type from libXrandr */ +typedef int RROutput; +typedef int RRCrtc; +typedef int RRMode; +typedef int Rotation; +#define RR_Rotate_0 1 +#define RR_Rotate_90 2 +#define RR_Rotate_180 4 +#define RR_Rotate_270 8 +#define RR_Reflect_X 16 +#define RR_Reflect_Y 32 +#endif + +typedef struct ScreenInfo ScreenInfo; + +struct ScreenInfo +{ + int min_width; + int max_width; + int min_height; + int max_height; + + GnomeRROutput ** outputs; + GnomeRRCrtc ** crtcs; + GnomeRRMode ** modes; + + GnomeRRScreen * screen; + + GnomeRRMode ** clone_modes; + +#ifdef HAVE_RANDR + XRRScreenResources *resources; + RROutput primary; +#endif +}; + +struct GnomeRRScreenPrivate +{ + GdkScreen * gdk_screen; + ScreenInfo * info; +}; + +struct GnomeRROutputInfoPrivate +{ + char * name; + + gboolean on; + int width; + int height; + int rate; + int x; + int y; + GnomeRRRotation rotation; + + gboolean connected; + gchar vendor[4]; + guint product; + guint serial; + double aspect; + int pref_width; + int pref_height; + char * display_name; + gboolean primary; +}; + +struct GnomeRRConfigPrivate +{ + gboolean clone; + GnomeRRScreen * screen; + GnomeRROutputInfo ** outputs; +}; + +struct GnomeRROutput +{ + ScreenInfo * info; + RROutput id; + + char * name; + GnomeRRCrtc * current_crtc; + gboolean connected; + gulong width_mm; + gulong height_mm; + GnomeRRCrtc ** possible_crtcs; + GnomeRROutput ** clones; + GnomeRRMode ** modes; + int n_preferred; + guint8 * edid_data; + int edid_size; + char * connector_type; +}; + +struct GnomeRROutputWrap +{ + RROutput id; +}; + +struct GnomeRRCrtc +{ + ScreenInfo * info; + RRCrtc id; + + GnomeRRMode * current_mode; + GnomeRROutput ** current_outputs; + GnomeRROutput ** possible_outputs; + int x; + int y; + + GnomeRRRotation current_rotation; + GnomeRRRotation rotations; + int gamma_size; +}; + +struct GnomeRRMode +{ + ScreenInfo * info; + RRMode id; + char * name; + int width; + int height; + int freq; /* in mHz */ +#ifdef WIN32 + DEVMODE mode; +#endif +}; + +#if !GTK_CHECK_VERSION (2, 91, 0) +#define gdk_x11_window_get_xid gdk_x11_drawable_get_xid +#define gdk_error_trap_pop_ignored gdk_error_trap_pop +#endif + +G_GNUC_INTERNAL +GdkScreen * gnome_rr_screen_get_gdk_screen (GnomeRRScreen *self); +G_GNUC_INTERNAL +GnomeRROutput * gnome_rr_output_by_id (ScreenInfo *info, RROutput id); +G_GNUC_INTERNAL +GnomeRRCrtc * crtc_by_id (ScreenInfo *info, RRCrtc id); +G_GNUC_INTERNAL +GnomeRRMode * mode_by_id (ScreenInfo *info, RRMode id); + +G_GNUC_INTERNAL +ScreenInfo * screen_info_new (GnomeRRScreen *screen, gboolean needs_reprobe, + GError **error); +G_GNUC_INTERNAL +gboolean screen_update (GnomeRRScreen *screen, gboolean force_callback, + gboolean needs_reprobe, GError **error); +G_GNUC_INTERNAL +gboolean fill_out_screen_info (GnomeRRScreen *screen, ScreenInfo *info, + gboolean needs_reprobe, GError **error); +G_GNUC_INTERNAL +void screen_set_primary_output (GnomeRRScreen *screen, GnomeRROutput *output); +G_GNUC_INTERNAL +GnomeRRCrtc * crtc_new (ScreenInfo *info, RRCrtc id); + +/* GnomeRROutput */ +G_GNUC_INTERNAL +GnomeRROutput * output_new (ScreenInfo *info, RROutput id); +G_GNUC_INTERNAL +GnomeRRMode * mode_new (ScreenInfo *info, RRMode id); +G_GNUC_INTERNAL +void screen_info_free (ScreenInfo *info); +G_GNUC_INTERNAL +void gather_clone_modes (ScreenInfo *info); + + + +#endif diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-windows.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-windows.c new file mode 100644 index 0000000..3e10094 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-windows.c @@ -0,0 +1,453 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* gnome-rr.c + * + * Copyright 2011, Red Hat, Inc. + * + * This file is part of the Gnome Library. + * + * The Gnome Library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * The Gnome Library 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 + * Library General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, see . + * + * Author: Marc-André Lureau + */ + +#define GNOME_DESKTOP_USE_UNSTABLE_API + +#include +#include +#include + +#include + +#include +#include + +#undef GNOME_DISABLE_DEPRECATED +#include "gnome-rr.h" +#include "gnome-rr-config.h" +#include "gnome-rr-private.h" +#include "gnome-rr-windows.h" + +struct GnomeRRWindowsScreenPrivate +{ + RRMode rrmode_id; + DISPLAY_DEVICE device; +}; + +static void gnome_rr_windows_screen_initable_iface_init (GInitableIface *iface); +G_DEFINE_TYPE_WITH_CODE (GnomeRRWindowsScreen, gnome_rr_windows_screen, GNOME_TYPE_RR_SCREEN, + G_IMPLEMENT_INTERFACE (G_TYPE_INITABLE, gnome_rr_windows_screen_initable_iface_init)) + +static gboolean +gnome_rr_windows_screen_initable_init (GInitable *initable, GCancellable *canc, GError **error) +{ + GInitableIface *iface, *parent_iface; + + iface = G_TYPE_INSTANCE_GET_INTERFACE(initable, G_TYPE_INITABLE, GInitableIface); + parent_iface = g_type_interface_peek_parent(iface); + + if (!parent_iface->init (initable, canc, error)) + return FALSE; + + return TRUE; +} + +static void +gnome_rr_windows_screen_initable_iface_init (GInitableIface *iface) +{ + iface->init = gnome_rr_windows_screen_initable_init; +} + +static void +gnome_rr_windows_screen_finalize (GObject *gobject) +{ + G_OBJECT_CLASS (gnome_rr_windows_screen_parent_class)->finalize (gobject); +} + +static void +gnome_rr_windows_screen_class_init (GnomeRRWindowsScreenClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS (klass); + + g_type_class_add_private (klass, sizeof (GnomeRRWindowsScreenPrivate)); + + gobject_class->finalize = gnome_rr_windows_screen_finalize; +} + +static void +gnome_rr_windows_screen_init (GnomeRRWindowsScreen *self) +{ + GnomeRRWindowsScreenPrivate *priv = G_TYPE_INSTANCE_GET_PRIVATE (self, + GNOME_TYPE_RR_WINDOWS_SCREEN, GnomeRRWindowsScreenPrivate); + + self->priv = priv; +} + +static int +display_frequency_to_freq (DWORD f) +{ + return ((f <= 1 ? 60 : f) * 1000); +} + +GnomeRRMode * +lookup_mode (GPtrArray *a, DEVMODE *mode, int flags) +{ + guint len = a->len; + GnomeRRMode **modes = (GnomeRRMode **)a->pdata; + + for (len = a->len; len > 0; len--) { + GnomeRRMode *m = modes[len - 1]; + + if (m->width != mode->dmPelsWidth) + continue; + if (m->height != mode->dmPelsHeight) + continue; + if (m->freq != display_frequency_to_freq (mode->dmDisplayFrequency)) + continue; + return m; + } + + return NULL; +} + +#if(WINVER >= 0x0501) +typedef struct +{ + DWORD o; + GnomeRRRotation rot; +} RotationMap; + +static const RotationMap rotation_map[] = +{ + { DMDO_DEFAULT, GNOME_RR_ROTATION_0 }, + { DMDO_90, GNOME_RR_ROTATION_90 }, + { DMDO_180, GNOME_RR_ROTATION_180 }, + { DMDO_270, GNOME_RR_ROTATION_270 }, +}; + +static GnomeRRRotation +gnome_rr_rotation_from_orientation (DWORD o) +{ + int i; + GnomeRRRotation result = 0; + + for (i = 0; i < G_N_ELEMENTS (rotation_map); ++i) + { + if (o == rotation_map[i].o) + result |= rotation_map[i].rot; + } + + return result; +} + +static DWORD +orientation_from_rotation (GnomeRRRotation r) +{ + int i; + + for (i = 0; i < G_N_ELEMENTS (rotation_map); ++i) + { + if (r & rotation_map[i].rot) + return rotation_map[i].o; + } + + g_return_val_if_reached (DMDO_DEFAULT); +} +#endif + + +GnomeRRMode* +screen_mode_new (GnomeRRScreen *screen, ScreenInfo *info, DEVMODE *m) +{ + GnomeRRWindowsScreen *self = GNOME_RR_WINDOWS_SCREEN (screen); + GnomeRRWindowsScreenPrivate *priv = self->priv; + GnomeRRMode *mode; + + g_return_val_if_fail (m != NULL, NULL); + + mode = mode_new (info, priv->rrmode_id++); + mode->mode = *m; + mode->width = m->dmPelsWidth; + mode->height = m->dmPelsHeight; + mode->freq = display_frequency_to_freq (m->dmDisplayFrequency); + + return mode; +} + +gboolean +fill_out_screen_info (GnomeRRScreen *screen, ScreenInfo *info, + gboolean needs_reprobe, GError **error) +{ + DWORD device_id; + DISPLAY_DEVICE device; + GPtrArray *crtcs, *outputs, *modes, *omodes;; + + device.cb = sizeof(device); + + crtcs = g_ptr_array_new (); + outputs = g_ptr_array_new (); + modes = g_ptr_array_new (); + + for (device_id = 0; ; device_id++) { + GnomeRRCrtc *crtc; + GnomeRRMode *rrmode; + GnomeRROutput *output; + DEVMODE mode = { {0, }, }; + DWORD iModeNum; + + mode.dmSize = sizeof (DEVMODE); + + if (!EnumDisplayDevices (NULL, device_id, &device, 0)) + break; + +#if DEBUG + g_debug ("%s - %s, primary: %s", device.DeviceName, device.DeviceString, + device.StateFlags & DISPLAY_DEVICE_PRIMARY_DEVICE ? "yes" : "no"); +#endif + if (device.StateFlags & DISPLAY_DEVICE_MIRRORING_DRIVER) /* FIXME: == clone output? */ + continue; + + crtc = crtc_new (info, device_id); + crtc->rotations = GNOME_RR_ROTATION_0; + g_ptr_array_add (crtcs, crtc); + + output = output_new (info, device_id); + g_ptr_array_add (outputs, output); + omodes = g_ptr_array_new (); + + output->name = g_strdup (device.DeviceName); + output->current_crtc = crtc; + output->possible_crtcs = g_new0 (GnomeRRCrtc*, 2); + output->possible_crtcs[0] = crtc; + output->clones = g_new0 (GnomeRROutput*, 1); /* FIXME */ + /* FIXME: could be a seperate active display? */ + output->connected = + device.StateFlags & DISPLAY_DEVICE_ATTACHED_TO_DESKTOP; + + /* Populate modes for this display/crtc */ + for (iModeNum = 0; ; iModeNum++) { +#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410) && defined(EDS_ROTATEDMODE) + if (!EnumDisplaySettingsEx (device.DeviceName, iModeNum, &mode, EDS_ROTATEDMODE)) +#else + if (!EnumDisplaySettings (device.DeviceName, iModeNum, &mode)) +#endif + break; + +#if DEBUG + g_debug ("pos: %ldx%ld, size: %ldx%ld, rot: %ld depth: %ld freq: %ld", + mode.dmPosition.x, mode.dmPosition.y, + mode.dmPelsWidth, mode.dmPelsHeight, + mode.dmDisplayOrientation, mode.dmBitsPerPel, + mode.dmDisplayFrequency); +#endif + + rrmode = screen_mode_new (screen, info, &mode); + g_ptr_array_add (modes, rrmode); + g_ptr_array_add (omodes, rrmode); +#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410) + /* NOTE: windows does rotation at mode level... */ +// crtc->rotations |= gnome_rr_rotation_from_orientation (mode.dmDisplayOrientation); +#endif + } + + { + /* Current mode settings for this display/crtc */ +#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410) && defined(EDS_ROTATEDMODE) + if (!EnumDisplaySettingsEx (device.DeviceName, ENUM_CURRENT_SETTINGS, &mode, EDS_ROTATEDMODE)) +#else + if (!EnumDisplaySettings (device.DeviceName, ENUM_CURRENT_SETTINGS, &mode)) +#endif + { + g_warn_if_reached (); + continue; + } + + crtc->current_mode = lookup_mode (omodes, &mode, 0); + if (!crtc->current_mode) { + g_warn_if_reached (); + + rrmode = screen_mode_new (screen, info, &mode); + g_ptr_array_add (modes, rrmode); + g_ptr_array_add (omodes, rrmode); + crtc->current_mode = lookup_mode (outputs, &mode, 0); + } + g_return_val_if_fail (crtc->current_mode != NULL, FALSE); + + crtc->x = mode.dmPosition.x; + crtc->y = mode.dmPosition.y; + +#if(WINVER >= 0x0501) + crtc->current_rotation = gnome_rr_rotation_from_orientation (mode.dmDisplayOrientation); +#else + crtc->current_rotation = GNOME_RR_ROTATION_0; +#endif + + crtc->current_outputs = g_new0 (GnomeRROutput*, 2); + crtc->current_outputs[0] = output; + crtc->possible_outputs = g_new0 (GnomeRROutput*, 2); + crtc->possible_outputs[0] = output; + } + + /* FIXME: vista has GetMonitorDisplayAreaSize, not mingw */ + /* see also EDID hack on stackoverflow if necessary */ + output->width_mm = 0; + output->height_mm = 0; + g_ptr_array_add (omodes, NULL); + output->modes = (GnomeRRMode **)g_ptr_array_free (omodes, FALSE); + } + + g_ptr_array_add (modes, NULL); + info->modes = (GnomeRRMode **)g_ptr_array_free (modes, FALSE); + + g_ptr_array_add (crtcs, NULL); + info->crtcs = (GnomeRRCrtc **)g_ptr_array_free (crtcs, FALSE); + + g_ptr_array_add (outputs, NULL); + info->outputs = (GnomeRROutput **)g_ptr_array_free (outputs, FALSE); + + if (needs_reprobe) { + /* FIXME: all wrong.. perhaps size of primary monitor & sum of monitor sizes*/ + info->min_width = 0; + info->min_height = 0; + info->max_width = MAX(GetSystemMetrics (SM_CXVIRTUALSCREEN), 8192); + info->max_height = MAX(GetSystemMetrics (SM_CYVIRTUALSCREEN), 8192); + } else { + gnome_rr_screen_get_ranges (info->screen, + &(info->min_width), + &(info->max_width), + &(info->min_height), + &(info->max_height)); + } + + gather_clone_modes (info); /* FIXME: or do it diffently? */ + + return TRUE; +} + +static const gchar* +get_display_change_error (LONG ret) +{ + switch (ret) { + case DISP_CHANGE_SUCCESSFUL: + return "The settings change was successful."; + case DISP_CHANGE_BADDUALVIEW: + return "The settings change was unsuccessful because the system is DualView capable."; + case DISP_CHANGE_BADFLAGS: + return "An invalid set of flags was passed in."; + case DISP_CHANGE_BADMODE: + return "The graphics mode is not supported."; + case DISP_CHANGE_BADPARAM: + return "An invalid parameter was passed in. This can include an invalid flag or combination of flags."; + case DISP_CHANGE_FAILED: + return "The display driver failed the specified graphics mode."; + case DISP_CHANGE_NOTUPDATED: + return "Unable to write settings to the registry."; + case DISP_CHANGE_RESTART: + return "The computer must be restarted for the graphics mode to work."; + } + + g_return_val_if_reached ("unknown display change error"); +} + +gboolean +gnome_rr_crtc_set_config_with_time (GnomeRRCrtc *crtc, + guint32 timestamp, + int x, + int y, + GnomeRRMode *mode, + GnomeRRRotation rotation, + GnomeRROutput **outputs, + int n_outputs, + GError **error) +{ + int n; + DEVMODE m; + LONG ret; + + g_return_val_if_fail (n_outputs <= 1, FALSE); /* FIXME */ + g_return_val_if_fail (crtc != NULL, FALSE); + g_return_val_if_fail (mode != NULL || outputs == NULL || n_outputs == 0, FALSE); + g_return_val_if_fail (error == NULL || *error == NULL, FALSE); + + if (mode == NULL) /* FIXME: turn off crtc? */ + return TRUE; + + m = mode->mode; + + m.dmFields |= DM_POSITION; + m.dmPosition.x = x; + m.dmPosition.y = y; +#if(WINVER >= 0x0501) + m.dmFields |= DM_DISPLAYORIENTATION; + m.dmDisplayOrientation = orientation_from_rotation (rotation); +#endif + /* TODO: deal with removed outputs and refresh stucts */ + + for (n = 0; n < n_outputs; ++n) { + GnomeRROutput *o = outputs[n]; + + ret = ChangeDisplaySettingsEx(o->name, &m, NULL, CDS_FULLSCREEN, NULL); + if (ret != DISP_CHANGE_SUCCESSFUL) { + g_set_error (error, GNOME_RR_ERROR, GNOME_RR_ERROR_UNKNOWN, + /* Translators: a CRTC is a CRT Controller (this is X terminology). */ + _("could not set the output configuration %s"), + get_display_change_error (ret)); + return FALSE; + } + } + + return TRUE; +} + +void +gnome_rr_screen_set_size (GnomeRRScreen *self, + int width, + int height, + int mm_width, + int mm_height) +{ + g_return_if_fail (GNOME_IS_RR_WINDOWS_SCREEN (self)); + + /* there is nothing we can do here, windows seems to compute + virtual screen size itself */ +} + +void +gnome_rr_crtc_set_gamma (GnomeRRCrtc *crtc, int size, + unsigned short *red, + unsigned short *green, + unsigned short *blue) +{ + g_return_if_fail (crtc != NULL); + g_return_if_fail (red != NULL); + g_return_if_fail (green != NULL); + g_return_if_fail (blue != NULL); + + g_warning ("Unimplemented on Windows"); +} + +gboolean +gnome_rr_crtc_get_gamma (GnomeRRCrtc *crtc, int *size, + unsigned short **red, unsigned short **green, + unsigned short **blue) +{ + g_return_val_if_fail (crtc != NULL, FALSE); + + g_warning ("Unimplemented on Windows"); + return FALSE; +} + +void +screen_set_primary_output (GnomeRRScreen *screen, GnomeRROutput *output) +{ +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-windows.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-windows.h new file mode 100644 index 0000000..337bd50 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-windows.h @@ -0,0 +1,53 @@ +/* gnome-rr-windows.h + * + * Copyright 2011, Red Hat, Inc. + * + * This file is part of the Gnome Library. + * + * The Gnome Library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * The Gnome Library 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 + * Library General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, see . + * + * Authors: Soren Sandmann + * Marc-André Lureau + */ + +#ifndef GNOME_RR_WINDOWS_H +#define GNOME_RR_WINDOWS_H + +#include +#include "gnome-rr.h" + +#define GNOME_TYPE_RR_WINDOWS_SCREEN (gnome_rr_windows_screen_get_type()) +#define GNOME_RR_WINDOWS_SCREEN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNOME_TYPE_RR_WINDOWS_SCREEN, GnomeRRWindowsScreen)) +#define GNOME_IS_RR_WINDOWS_SCREEN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNOME_TYPE_RR_WINDOWS_SCREEN)) +#define GNOME_RR_WINDOWS_SCREEN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNOME_TYPE_RR_WINDOWS_SCREEN, GnomeRRWindowsScreenClass)) +#define GNOME_IS_RR_WINDOWS_SCREEN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_RR_WINDOWS_SCREEN)) +#define GNOME_RR_WINDOWS_SCREEN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNOME_TYPE_RR_WINDOWS_SCREEN, GnomeRRWindowsScreenClass)) + +typedef struct GnomeRRWindowsScreenPrivate GnomeRRWindowsScreenPrivate; + +typedef struct { + GnomeRRScreen parent; + + GnomeRRWindowsScreenPrivate* priv; +} GnomeRRWindowsScreen; + +typedef struct { + GnomeRRScreenClass parent_class; + + void (* changed) (void); +} GnomeRRWindowsScreenClass; + +GType gnome_rr_windows_screen_get_type (void); + +#endif /* GNOME_RR_WINDOWS_H */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-x11.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-x11.c new file mode 100644 index 0000000..e37a668 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-x11.c @@ -0,0 +1,1013 @@ +/* gnome-rr-x11.c + * + * Copyright 2007, 2008, Red Hat, Inc. + * + * This file is part of the Gnome Library. + * + * The Gnome Library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * The Gnome Library 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 + * Library General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, see . + * + * Author: Soren Sandmann + */ + +#define GNOME_DESKTOP_USE_UNSTABLE_API + +#include +#include +#include + +#ifdef HAVE_RANDR +#include +#endif + +#include + +#ifdef HAVE_X11 +#include +#include +#include +#endif + +#undef GNOME_DISABLE_DEPRECATED +#include "gnome-rr.h" +#include "gnome-rr-x11.h" +#include "gnome-rr-config.h" + +#include "gnome-rr-private.h" + +struct GnomeRRX11ScreenPrivate +{ + Display * xdisplay; + Screen * xscreen; + Window xroot; + + int randr_event_base; + int rr_major_version; + int rr_minor_version; + Atom connector_type_atom; +}; + +#define DISPLAY(o) (GNOME_RR_X11_SCREEN((o)->info->screen)->priv->xdisplay) + +#ifdef HAVE_RANDR +#define RANDR_LIBRARY_IS_AT_LEAST_1_3 (RANDR_MAJOR > 1 || (RANDR_MAJOR == 1 && RANDR_MINOR >= 3)) +#else +#define RANDR_LIBRARY_IS_AT_LEAST_1_3 0 +#endif + +#define SERVERS_RANDR_IS_AT_LEAST_1_3(priv) (priv->rr_major_version > 1 || (priv->rr_major_version == 1 && priv->rr_minor_version >= 3)) + +static gboolean output_initialize (GnomeRROutput *output, XRRScreenResources *res, GError **error); +static void gnome_rr_x11_screen_initable_iface_init (GInitableIface *iface); +G_DEFINE_TYPE_WITH_CODE (GnomeRRX11Screen, gnome_rr_x11_screen, GNOME_TYPE_RR_SCREEN, + G_IMPLEMENT_INTERFACE (G_TYPE_INITABLE, gnome_rr_x11_screen_initable_iface_init)) + +static GdkFilterReturn +screen_on_event (GdkXEvent *xevent, + GdkEvent *event, + gpointer data) +{ +#ifdef HAVE_RANDR + GnomeRRX11Screen *screen = data; + GnomeRRX11ScreenPrivate *priv = screen->priv; + XEvent *e = xevent; + int event_num; + + if (!e) + return GDK_FILTER_CONTINUE; + + event_num = e->type - priv->randr_event_base; + + if (event_num == RRScreenChangeNotify) { + /* We don't reprobe the hardware; we just fetch the X server's latest + * state. The server already knows the new state of the outputs; that's + * why it sent us an event! + */ + screen_update (GNOME_RR_SCREEN (screen), TRUE, FALSE, NULL); /* NULL-GError */ +#if 0 + /* Enable this code to get a dialog showing the RANDR timestamps, for debugging purposes */ + { + GtkWidget *dialog; + XRRScreenChangeNotifyEvent *rr_event; + static int dialog_num; + + rr_event = (XRRScreenChangeNotifyEvent *) e; + + dialog = gtk_message_dialog_new (NULL, + 0, + GTK_MESSAGE_INFO, + GTK_BUTTONS_CLOSE, + "RRScreenChangeNotify timestamps (%d):\n" + "event change: %u\n" + "event config: %u\n" + "event serial: %lu\n" + "----------------------" + "screen change: %u\n" + "screen config: %u\n", + dialog_num++, + (guint32) rr_event->timestamp, + (guint32) rr_event->config_timestamp, + rr_event->serial, + (guint32) priv->info->resources->timestamp, + (guint32) priv->info->resources->configTimestamp); + g_signal_connect (dialog, "response", + G_CALLBACK (gtk_widget_destroy), NULL); + gtk_widget_show (dialog); + } +#endif + } +#if 0 + /* WHY THIS CODE IS DISABLED: + * + * Note that in gnome_rr_screen_new(), we only select for + * RRScreenChangeNotifyMask. We used to select for other values in + * RR*NotifyMask, but we weren't really doing anything useful with those + * events. We only care about "the screens changed in some way or another" + * for now. + * + * If we ever run into a situtation that could benefit from processing more + * detailed events, we can enable this code again. + * + * Note that the X server sends RRScreenChangeNotify in conjunction with the + * more detailed events from RANDR 1.2 - see xserver/randr/randr.c:TellChanged(). + */ + else if (event_num == RRNotify) + { + /* Other RandR events */ + + XRRNotifyEvent *event = (XRRNotifyEvent *)e; + + /* Here we can distinguish between RRNotify events supported + * since RandR 1.2 such as RRNotify_OutputProperty. For now, we + * don't have anything special to do for particular subevent types, so + * we leave this as an empty switch(). + */ + switch (event->subtype) + { + default: + break; + } + + /* No need to reprobe hardware here */ + screen_update (GNOME_RR_SCREEN (screen), TRUE, FALSE, NULL); /* NULL-GError */ + } +#endif + +#endif /* HAVE_RANDR */ + + /* Pass the event on to GTK+ */ + return GDK_FILTER_CONTINUE; +} + +static gboolean +gnome_rr_x11_screen_initable_init (GInitable *initable, GCancellable *canc, GError **error) +{ + GInitableIface *iface, *parent_iface; + + iface = G_TYPE_INSTANCE_GET_INTERFACE(initable, G_TYPE_INITABLE, GInitableIface); + parent_iface = g_type_interface_peek_parent(iface); + +#ifdef HAVE_RANDR + GnomeRRX11Screen *self = GNOME_RR_X11_SCREEN (initable); + GnomeRRX11ScreenPrivate *priv = self->priv; + Display *dpy = GDK_SCREEN_XDISPLAY (gnome_rr_screen_get_gdk_screen (GNOME_RR_SCREEN (self))); + int event_base; + int ignore; + GdkWindow *root; + + root = gdk_screen_get_root_window (gnome_rr_screen_get_gdk_screen (GNOME_RR_SCREEN (self))); + priv->connector_type_atom = XInternAtom (dpy, "ConnectorType", FALSE); + + if (XRRQueryExtension (dpy, &event_base, &ignore)) + { + priv->randr_event_base = event_base; + + XRRQueryVersion (dpy, &priv->rr_major_version, &priv->rr_minor_version); + if (priv->rr_major_version < 1 || (priv->rr_major_version == 1 && priv->rr_minor_version < 2)) { + g_set_error (error, GNOME_RR_ERROR, GNOME_RR_ERROR_NO_RANDR_EXTENSION, + "RANDR extension is too old (must be at least 1.2)"); + return FALSE; + } + + if (!parent_iface->init (initable, canc, error)) + return FALSE; + + XRRSelectInput (priv->xdisplay, + priv->xroot, + RRScreenChangeNotifyMask); + gdk_x11_register_standard_event_type ( + gdk_screen_get_display (gnome_rr_screen_get_gdk_screen (GNOME_RR_SCREEN (self))), + event_base, + RRNotify + 1); + gdk_window_add_filter (root, screen_on_event, self); + + return TRUE; + } + else + { +#endif /* HAVE_RANDR */ + g_set_error (error, GNOME_RR_ERROR, GNOME_RR_ERROR_NO_RANDR_EXTENSION, + _("RANDR extension is not present")); + + return FALSE; +#ifdef HAVE_RANDR + } +#endif +} + +static void +gnome_rr_x11_screen_initable_iface_init (GInitableIface *iface) +{ + iface->init = gnome_rr_x11_screen_initable_init; +} + +static void +gnome_rr_x11_screen_finalize (GObject *gobject) +{ + GnomeRRX11Screen *screen = GNOME_RR_X11_SCREEN (gobject); + GdkWindow *root; + + root = gdk_screen_get_root_window (gnome_rr_screen_get_gdk_screen (GNOME_RR_SCREEN (screen))); + gdk_window_remove_filter (root, screen_on_event, screen); + + G_OBJECT_CLASS (gnome_rr_x11_screen_parent_class)->finalize (gobject); +} + +static void +gnome_rr_x11_screen_class_init (GnomeRRX11ScreenClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS (klass); + + g_type_class_add_private (klass, sizeof (GnomeRRX11ScreenPrivate)); + + gobject_class->finalize = gnome_rr_x11_screen_finalize; +} + +static void +on_gdk_screen_changed (GnomeRRX11Screen *self, G_GNUC_UNUSED gpointer data) +{ + GnomeRRX11ScreenPrivate *priv = self->priv; + GdkScreen *gdk_screen; + GdkWindow *root; + + gdk_screen = gnome_rr_screen_get_gdk_screen (GNOME_RR_SCREEN (self)); + root = gdk_screen_get_root_window (gdk_screen); + + priv->xroot = gdk_x11_window_get_xid (root); + priv->xdisplay = GDK_SCREEN_XDISPLAY (gdk_screen); + priv->xscreen = gdk_x11_screen_get_xscreen (gdk_screen); +} + +static void +gnome_rr_x11_screen_init (GnomeRRX11Screen *self) +{ + GnomeRRX11ScreenPrivate *priv = G_TYPE_INSTANCE_GET_PRIVATE (self, GNOME_TYPE_RR_X11_SCREEN, GnomeRRX11ScreenPrivate); + + self->priv = priv; + priv->xdisplay = NULL; + priv->xroot = None; + priv->xscreen = NULL; + priv->rr_major_version = 0; + priv->rr_minor_version = 0; + + /* no need to unregister this handler: it's self - instead of notify signal, we could override the prop */ + g_signal_connect (self, "notify::gdk-screen", G_CALLBACK (on_gdk_screen_changed), NULL); +} + +void +gnome_rr_screen_set_size (GnomeRRScreen *self, + int width, + int height, + int mm_width, + int mm_height) +{ + g_return_if_fail (GNOME_IS_RR_X11_SCREEN (self)); + +#ifdef HAVE_RANDR + GnomeRRX11ScreenPrivate *priv = GNOME_RR_X11_SCREEN (self)->priv; + + gdk_error_trap_push (); + XRRSetScreenSize (priv->xdisplay, priv->xroot, + width, height, mm_width, mm_height); + gdk_error_trap_pop_ignored (); +#endif +} + +#ifdef HAVE_RANDR +/* GnomeRRCrtc */ +typedef struct +{ + Rotation xrot; + GnomeRRRotation rot; +} RotationMap; + +static const RotationMap rotation_map[] = +{ + { RR_Rotate_0, GNOME_RR_ROTATION_0 }, + { RR_Rotate_90, GNOME_RR_ROTATION_90 }, + { RR_Rotate_180, GNOME_RR_ROTATION_180 }, + { RR_Rotate_270, GNOME_RR_ROTATION_270 }, + { RR_Reflect_X, GNOME_RR_REFLECT_X }, + { RR_Reflect_Y, GNOME_RR_REFLECT_Y }, +}; + +static GnomeRRRotation +gnome_rr_rotation_from_xrotation (Rotation r) +{ + int i; + GnomeRRRotation result = 0; + + for (i = 0; i < G_N_ELEMENTS (rotation_map); ++i) + { + if (r & rotation_map[i].xrot) + result |= rotation_map[i].rot; + } + + return result; +} + +static Rotation +xrotation_from_rotation (GnomeRRRotation r) +{ + int i; + Rotation result = 0; + + for (i = 0; i < G_N_ELEMENTS (rotation_map); ++i) + { + if (r & rotation_map[i].rot) + result |= rotation_map[i].xrot; + } + + return result; +} + +static gboolean +crtc_initialize (GnomeRRCrtc *crtc, + XRRScreenResources *res, + GError **error) +{ + XRRCrtcInfo *info = XRRGetCrtcInfo (DISPLAY (crtc), res, crtc->id); + GPtrArray *a; + int i; + +#if 0 + g_print ("CRTC %lx Timestamp: %u\n", crtc->id, (guint32)info->timestamp); +#endif + + if (!info) + { + /* FIXME: We need to reaquire the screen resources */ + /* FIXME: can we actually catch BadRRCrtc, and does it make sense to emit that? */ + + /* Translators: CRTC is a CRT Controller (this is X terminology). + * It is *very* unlikely that you'll ever get this error, so it is + * only listed for completeness. */ + g_set_error (error, GNOME_RR_ERROR, GNOME_RR_ERROR_RANDR_ERROR, + _("could not get information about CRTC %d"), + (int) crtc->id); + return FALSE; + } + + /* GnomeRRMode */ + crtc->current_mode = mode_by_id (crtc->info, info->mode); + + crtc->x = info->x; + crtc->y = info->y; + + /* Current outputs */ + a = g_ptr_array_new (); + for (i = 0; i < info->noutput; ++i) + { + GnomeRROutput *output = gnome_rr_output_by_id (crtc->info, info->outputs[i]); + + if (output) + g_ptr_array_add (a, output); + } + g_ptr_array_add (a, NULL); + crtc->current_outputs = (GnomeRROutput **)g_ptr_array_free (a, FALSE); + + /* Possible outputs */ + a = g_ptr_array_new (); + for (i = 0; i < info->npossible; ++i) + { + GnomeRROutput *output = gnome_rr_output_by_id (crtc->info, info->possible[i]); + + if (output) + g_ptr_array_add (a, output); + } + g_ptr_array_add (a, NULL); + crtc->possible_outputs = (GnomeRROutput **)g_ptr_array_free (a, FALSE); + + /* Rotations */ + crtc->current_rotation = gnome_rr_rotation_from_xrotation (info->rotation); + crtc->rotations = gnome_rr_rotation_from_xrotation (info->rotations); + + XRRFreeCrtcInfo (info); + + /* get an store gamma size */ + crtc->gamma_size = XRRGetCrtcGammaSize (DISPLAY (crtc), crtc->id); + + return TRUE; +} + +static void +mode_initialize (GnomeRRMode *mode, XRRModeInfo *info) +{ + g_return_if_fail (mode != NULL); + g_return_if_fail (info != NULL); + + mode->name = g_strdup (info->name); + mode->width = info->width; + mode->height = info->height; + mode->freq = ((info->dotClock / (double)info->hTotal) / info->vTotal + 0.5) * 1000; +} + +static gboolean +fill_screen_info_from_resources (ScreenInfo *info, + XRRScreenResources *resources, + GError **error) +{ + int i; + GPtrArray *a; + GnomeRRCrtc **crtc; + GnomeRROutput **output; + + info->resources = resources; + + /* We create all the structures before initializing them, so + * that they can refer to each other. + */ + a = g_ptr_array_new (); + for (i = 0; i < resources->ncrtc; ++i) + { + GnomeRRCrtc *crtc = crtc_new (info, resources->crtcs[i]); + + g_ptr_array_add (a, crtc); + } + g_ptr_array_add (a, NULL); + info->crtcs = (GnomeRRCrtc **)g_ptr_array_free (a, FALSE); + + a = g_ptr_array_new (); + for (i = 0; i < resources->noutput; ++i) + { + GnomeRROutput *output = output_new (info, resources->outputs[i]); + + g_ptr_array_add (a, output); + } + g_ptr_array_add (a, NULL); + info->outputs = (GnomeRROutput **)g_ptr_array_free (a, FALSE); + + a = g_ptr_array_new (); + for (i = 0; i < resources->nmode; ++i) + { + GnomeRRMode *mode = mode_new (info, resources->modes[i].id); + + g_ptr_array_add (a, mode); + } + g_ptr_array_add (a, NULL); + info->modes = (GnomeRRMode **)g_ptr_array_free (a, FALSE); + + /* Initialize */ + for (crtc = info->crtcs; *crtc; ++crtc) + { + if (!crtc_initialize (*crtc, resources, error)) + return FALSE; + } + + for (output = info->outputs; *output; ++output) + { + if (!output_initialize (*output, resources, error)) + return FALSE; + } + + for (i = 0; i < resources->nmode; ++i) + { + GnomeRRMode *mode = mode_by_id (info, resources->modes[i].id); + + mode_initialize (mode, &(resources->modes[i])); + } + + gather_clone_modes (info); + + return TRUE; +} +#endif /* HAVE_RANDR */ + +gboolean +fill_out_screen_info (GnomeRRScreen *screen, + ScreenInfo *info, + gboolean needs_reprobe, + GError **error) +{ + GnomeRRX11ScreenPrivate *priv = GNOME_RR_X11_SCREEN (screen)->priv; + Display *xdisplay = priv->xdisplay; + Window xroot = priv->xroot; +#ifdef HAVE_RANDR + XRRScreenResources *resources; + + g_return_val_if_fail (xdisplay != NULL, FALSE); + g_return_val_if_fail (info != NULL, FALSE); + + /* First update the screen resources */ + + if (needs_reprobe) + resources = XRRGetScreenResources (xdisplay, xroot); + else + { + /* XRRGetScreenResourcesCurrent is less expensive than + * XRRGetScreenResources, however it is available only + * in RandR 1.3 or higher + */ +#if RANDR_LIBRARY_IS_AT_LEAST_1_3 + if (SERVERS_RANDR_IS_AT_LEAST_1_3 (priv)) + resources = XRRGetScreenResourcesCurrent (xdisplay, xroot); + else + resources = XRRGetScreenResources (xdisplay, xroot); +#else + resources = XRRGetScreenResources (xdisplay, xroot); +#endif + } + + if (resources) + { + if (!fill_screen_info_from_resources (info, resources, error)) + return FALSE; + } + else + { + g_set_error (error, GNOME_RR_ERROR, GNOME_RR_ERROR_RANDR_ERROR, + /* Translators: a CRTC is a CRT Controller (this is X terminology). */ + _("could not get the screen resources (CRTCs, outputs, modes)")); + return FALSE; + } + + /* Then update the screen size range. We do this after XRRGetScreenResources() so that + * the X server will already have an updated view of the outputs. + */ + + if (needs_reprobe) { + gboolean success; + + gdk_error_trap_push (); + success = XRRGetScreenSizeRange (xdisplay, xroot, + &(info->min_width), + &(info->min_height), + &(info->max_width), + &(info->max_height)); + gdk_flush (); + if (gdk_error_trap_pop ()) { + g_set_error (error, GNOME_RR_ERROR, GNOME_RR_ERROR_UNKNOWN, + _("unhandled X error while getting the range of screen sizes")); + return FALSE; + } + + if (!success) { + g_set_error (error, GNOME_RR_ERROR, GNOME_RR_ERROR_RANDR_ERROR, + _("could not get the range of screen sizes")); + return FALSE; + } + } + else + { + gnome_rr_screen_get_ranges (info->screen, + &(info->min_width), + &(info->max_width), + &(info->min_height), + &(info->max_height)); + } + + info->primary = None; +#if RANDR_LIBRARY_IS_AT_LEAST_1_3 + if (SERVERS_RANDR_IS_AT_LEAST_1_3 (priv)) { + gdk_error_trap_push (); + info->primary = XRRGetOutputPrimary (xdisplay, xroot); + gdk_error_trap_pop_ignored (); + } +#endif + + return TRUE; +#else + return FALSE; +#endif /* HAVE_RANDR */ +} + +static guint8 * +get_property (Display *dpy, + RROutput output, + Atom atom, + int *len) +{ +#ifdef HAVE_RANDR + unsigned char *prop; + int actual_format; + unsigned long nitems, bytes_after; + Atom actual_type; + guint8 *result; + + XRRGetOutputProperty (dpy, output, atom, + 0, 100, False, False, + AnyPropertyType, + &actual_type, &actual_format, + &nitems, &bytes_after, &prop); + + if (actual_type == XA_INTEGER && actual_format == 8) + { + result = g_memdup (prop, nitems); + if (len) + *len = nitems; + } + else + { + result = NULL; + } + + XFree (prop); + + return result; +#else + return NULL; +#endif /* HAVE_RANDR */ +} + +static guint8 * +read_edid_data (GnomeRROutput *output, int *len) +{ + Atom edid_atom; + guint8 *result; + + edid_atom = XInternAtom (DISPLAY (output), "EDID", FALSE); + result = get_property (DISPLAY (output), + output->id, edid_atom, len); + + if (!result) + { + edid_atom = XInternAtom (DISPLAY (output), "EDID_DATA", FALSE); + result = get_property (DISPLAY (output), + output->id, edid_atom, len); + } + + if (result) + { + if (*len % 128 == 0) + return result; + else + g_free (result); + } + + return NULL; +} + +static char * +x11_get_connector_type_string (GnomeRROutput *output) +{ +#ifdef HAVE_RANDR + char *result; + unsigned char *prop; + int actual_format; + unsigned long nitems, bytes_after; + Atom actual_type; + Atom connector_type; + char *connector_type_str; + GnomeRRX11ScreenPrivate *priv = GNOME_RR_X11_SCREEN (output->info->screen)->priv; + + result = NULL; + + if (XRRGetOutputProperty (DISPLAY (output), output->id, priv->connector_type_atom, + 0, 100, False, False, + AnyPropertyType, + &actual_type, &actual_format, + &nitems, &bytes_after, &prop) != Success) + return NULL; + + if (!(actual_type == XA_ATOM && actual_format == 32 && nitems == 1)) + goto out; + + connector_type = *((Atom *) prop); + + connector_type_str = XGetAtomName (DISPLAY (output), connector_type); + if (connector_type_str) { + result = g_strdup (connector_type_str); /* so the caller can g_free() it */ + XFree (connector_type_str); + } + +out: + + XFree (prop); + + return result; +#else + return NULL; +#endif +} + +static gboolean +output_initialize (GnomeRROutput *output, XRRScreenResources *res, GError **error) +{ + XRROutputInfo *info = XRRGetOutputInfo ( + DISPLAY (output), res, output->id); + GPtrArray *a; + int i; + +#if 0 + g_print ("Output %lx Timestamp: %u\n", output->id, (guint32)info->timestamp); +#endif + + if (!info || !output->info) + { + /* FIXME: see the comment in crtc_initialize() */ + /* Translators: here, an "output" is a video output */ + g_set_error (error, GNOME_RR_ERROR, GNOME_RR_ERROR_RANDR_ERROR, + _("could not get information about output %d"), + (int) output->id); + return FALSE; + } + + output->name = g_strdup (info->name); /* FIXME: what is nameLen used for? */ + output->current_crtc = crtc_by_id (output->info, info->crtc); + output->width_mm = info->mm_width; + output->height_mm = info->mm_height; + output->connected = (info->connection == RR_Connected); + output->connector_type = x11_get_connector_type_string (output); + + /* Possible crtcs */ + a = g_ptr_array_new (); + + for (i = 0; i < info->ncrtc; ++i) + { + GnomeRRCrtc *crtc = crtc_by_id (output->info, info->crtcs[i]); + + if (crtc) + g_ptr_array_add (a, crtc); + } + g_ptr_array_add (a, NULL); + output->possible_crtcs = (GnomeRRCrtc **)g_ptr_array_free (a, FALSE); + + /* Clones */ + a = g_ptr_array_new (); + for (i = 0; i < info->nclone; ++i) + { + GnomeRROutput *gnome_rr_output = gnome_rr_output_by_id (output->info, info->clones[i]); + + if (gnome_rr_output) + g_ptr_array_add (a, gnome_rr_output); + } + g_ptr_array_add (a, NULL); + output->clones = (GnomeRROutput **)g_ptr_array_free (a, FALSE); + + /* Modes */ + a = g_ptr_array_new (); + for (i = 0; i < info->nmode; ++i) + { + GnomeRRMode *mode = mode_by_id (output->info, info->modes[i]); + + if (mode) + g_ptr_array_add (a, mode); + } + g_ptr_array_add (a, NULL); + output->modes = (GnomeRRMode **)g_ptr_array_free (a, FALSE); + + output->n_preferred = info->npreferred; + + /* Edid data */ + output->edid_data = read_edid_data (output, &output->edid_size); + + XRRFreeOutputInfo (info); + + return TRUE; +} + +gboolean +gnome_rr_crtc_set_config_with_time (GnomeRRCrtc *crtc, + guint32 timestamp, + int x, + int y, + GnomeRRMode *mode, + GnomeRRRotation rotation, + GnomeRROutput **outputs, + int n_outputs, + GError **error) +{ +#ifdef HAVE_RANDR + ScreenInfo *info; + GArray *output_ids; + Status status; + gboolean result; + int i; + + g_return_val_if_fail (crtc != NULL, FALSE); + g_return_val_if_fail (mode != NULL || outputs == NULL || n_outputs == 0, FALSE); + g_return_val_if_fail (error == NULL || *error == NULL, FALSE); + + info = crtc->info; + + if (mode) + { + if (x + mode->width > info->max_width + || y + mode->height > info->max_height) + { + g_set_error (error, GNOME_RR_ERROR, GNOME_RR_ERROR_BOUNDS_ERROR, + /* Translators: the "position", "size", and "maximum" + * words here are not keywords; please translate them + * as usual. A CRTC is a CRT Controller (this is X terminology) */ + _("requested position/size for CRTC %d is outside the allowed limit: " + "position=(%d, %d), size=(%d, %d), maximum=(%d, %d)"), + (int) crtc->id, + x, y, + mode->width, mode->height, + info->max_width, info->max_height); + return FALSE; + } + } + + output_ids = g_array_new (FALSE, FALSE, sizeof (RROutput)); + + if (outputs) + { + for (i = 0; i < n_outputs; ++i) + g_array_append_val (output_ids, outputs[i]->id); + } + + status = XRRSetCrtcConfig (DISPLAY (crtc), info->resources, crtc->id, + timestamp, + x, y, + mode ? mode->id : None, + xrotation_from_rotation (rotation), + (RROutput *)output_ids->data, + output_ids->len); + + g_array_free (output_ids, TRUE); + + if (status == RRSetConfigSuccess) + result = TRUE; + else { + result = FALSE; + /* Translators: CRTC is a CRT Controller (this is X terminology). + * It is *very* unlikely that you'll ever get this error, so it is + * only listed for completeness. */ + g_set_error (error, GNOME_RR_ERROR, GNOME_RR_ERROR_RANDR_ERROR, + _("could not set the configuration for CRTC %d"), + (int) crtc->id); + } + + return result; +#else + return FALSE; +#endif /* HAVE_RANDR */ +} + +void +gnome_rr_crtc_set_gamma (GnomeRRCrtc *crtc, int size, + unsigned short *red, + unsigned short *green, + unsigned short *blue) +{ + g_return_if_fail (crtc != NULL); + g_return_if_fail (red != NULL); + g_return_if_fail (green != NULL); + g_return_if_fail (blue != NULL); + +#ifdef HAVE_RANDR + int copy_size; + XRRCrtcGamma *gamma; + + if (size != crtc->gamma_size) + return; + + gamma = XRRAllocGamma (crtc->gamma_size); + + copy_size = crtc->gamma_size * sizeof (unsigned short); + memcpy (gamma->red, red, copy_size); + memcpy (gamma->green, green, copy_size); + memcpy (gamma->blue, blue, copy_size); + + XRRSetCrtcGamma (DISPLAY (crtc), crtc->id, gamma); + XRRFreeGamma (gamma); +#endif /* HAVE_RANDR */ +} + +gboolean +gnome_rr_crtc_get_gamma (GnomeRRCrtc *crtc, int *size, + unsigned short **red, unsigned short **green, + unsigned short **blue) +{ + g_return_val_if_fail (crtc != NULL, FALSE); + +#ifdef HAVE_RANDR + int copy_size; + unsigned short *r, *g, *b; + XRRCrtcGamma *gamma; + + gamma = XRRGetCrtcGamma (DISPLAY (crtc), crtc->id); + if (!gamma) + return FALSE; + + copy_size = crtc->gamma_size * sizeof (unsigned short); + + if (red) { + r = g_new0 (unsigned short, crtc->gamma_size); + memcpy (r, gamma->red, copy_size); + *red = r; + } + + if (green) { + g = g_new0 (unsigned short, crtc->gamma_size); + memcpy (g, gamma->green, copy_size); + *green = g; + } + + if (blue) { + b = g_new0 (unsigned short, crtc->gamma_size); + memcpy (b, gamma->blue, copy_size); + *blue = b; + } + + XRRFreeGamma (gamma); + + if (size) + *size = crtc->gamma_size; + + return TRUE; +#else + return FALSE; +#endif /* HAVE_RANDR */ +} + +gboolean +gnome_rr_x11_screen_force_timestamp_update (GnomeRRX11Screen *self) +{ +#ifdef HAVE_RANDR + GnomeRRX11ScreenPrivate *priv = self->priv; + GnomeRRCrtc *crtc; + XRRCrtcInfo *current_info; + Status status; + gboolean timestamp_updated; + ScreenInfo *info; + + timestamp_updated = FALSE; + + info = GNOME_RR_SCREEN(self)->priv->info; + crtc = info->crtcs[0]; + + if (crtc == NULL) + goto out; + + current_info = XRRGetCrtcInfo (priv->xdisplay, + info->resources, + crtc->id); + + if (current_info == NULL) + goto out; + + gdk_error_trap_push (); + status = XRRSetCrtcConfig (priv->xdisplay, + info->resources, + crtc->id, + current_info->timestamp, + current_info->x, + current_info->y, + current_info->mode, + current_info->rotation, + current_info->outputs, + current_info->noutput); + + XRRFreeCrtcInfo (current_info); + + gdk_flush (); + if (gdk_error_trap_pop ()) + goto out; + + if (status == RRSetConfigSuccess) + timestamp_updated = TRUE; +out: + return timestamp_updated; +#else + return FALSE; +#endif +} + +void +screen_set_primary_output (GnomeRRScreen *screen, GnomeRROutput *output) +{ +#if RANDR_LIBRARY_IS_AT_LEAST_1_3 + GnomeRRX11ScreenPrivate *priv = GNOME_RR_X11_SCREEN (screen)->priv; + RROutput id; + + if (output) + id = output->id; + else + id = None; + + if (SERVERS_RANDR_IS_AT_LEAST_1_3 (priv)) + XRRSetOutputPrimary (priv->xdisplay, priv->xroot, id); +#endif +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-x11.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-x11.h new file mode 100644 index 0000000..af53365 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr-x11.h @@ -0,0 +1,56 @@ +/* gnome-rr-x11.h + * + * Copyright 2011, Red Hat, Inc. + * + * This file is part of the Gnome Library. + * + * The Gnome Library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * The Gnome Library 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 + * Library General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, see . + * + * Authors: Soren Sandmann + * Marc-André Lureau + */ + +#ifndef GNOME_RR_X11_H +#define GNOME_RR_X11_H + +#include +#include "gnome-rr.h" + +#define GNOME_TYPE_RR_X11_SCREEN (gnome_rr_x11_screen_get_type()) +#define GNOME_RR_X11_SCREEN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNOME_TYPE_RR_X11_SCREEN, GnomeRRX11Screen)) +#define GNOME_IS_RR_X11_SCREEN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNOME_TYPE_RR_X11_SCREEN)) +#define GNOME_RR_X11_SCREEN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNOME_TYPE_RR_X11_SCREEN, GnomeRRX11ScreenClass)) +#define GNOME_IS_RR_X11_SCREEN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_RR_X11_SCREEN)) +#define GNOME_RR_X11_SCREEN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNOME_TYPE_RR_X11_SCREEN, GnomeRRX11ScreenClass)) + +typedef struct GnomeRRX11ScreenPrivate GnomeRRX11ScreenPrivate; + +typedef struct { + GnomeRRScreen parent; + + GnomeRRX11ScreenPrivate* priv; +} GnomeRRX11Screen; + +typedef struct { + GnomeRRScreenClass parent_class; + + void (* changed) (void); +} GnomeRRX11ScreenClass; + +GType gnome_rr_x11_screen_get_type (void); + +G_GNUC_INTERNAL +gboolean gnome_rr_x11_screen_force_timestamp_update (GnomeRRX11Screen *screen); + +#endif /* GNOME_RR_X11_H */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr.c new file mode 100644 index 0000000..b1327bd --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr.c @@ -0,0 +1,1161 @@ +/* gnome-rr.c + * + * Copyright 2007, 2008, Red Hat, Inc. + * + * This file is part of the Gnome Library. + * + * The Gnome Library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * The Gnome Library 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 + * Library General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, see . + * + * Author: Soren Sandmann + */ + +#define GNOME_DESKTOP_USE_UNSTABLE_API + +#include +#include +#include + +#include + +#include "../glib-compat.h" + +#if defined(HAVE_X11) +#include +#include +#include +#include "gnome-rr-x11.h" +#elif defined(HAVE_WINDOWS) +#include "gnome-rr-windows.h" +#else +#include "gnome-rr-generic.h" +#endif + +#undef GNOME_DISABLE_DEPRECATED +#include "gnome-rr.h" +#include "gnome-rr-config.h" + +#include "gnome-rr-private.h" + +enum { + SCREEN_PROP_0, + SCREEN_PROP_GDK_SCREEN, + SCREEN_PROP_LAST, +}; + +enum { + SCREEN_CHANGED, + SCREEN_SIGNAL_LAST, +}; + +static gint screen_signals[SCREEN_SIGNAL_LAST]; +static GParamSpec *screen_properties[SCREEN_PROP_LAST]; + +/* GnomeRRCrtc */ +static GnomeRRCrtc * crtc_copy (const GnomeRRCrtc *from); +static void crtc_free (GnomeRRCrtc *crtc); + +static GnomeRROutput *output_copy (const GnomeRROutput *from); +static void output_free (GnomeRROutput *output); + +static GnomeRRMode * mode_copy (const GnomeRRMode *from); +static void mode_free (GnomeRRMode *mode); + +static void gnome_rr_screen_set_property (GObject*, guint, const GValue*, GParamSpec*); +static void gnome_rr_screen_get_property (GObject*, guint, GValue*, GParamSpec*); +static void gnome_rr_screen_initable_iface_init (GInitableIface *iface); +G_DEFINE_TYPE_WITH_CODE (GnomeRRScreen, gnome_rr_screen, G_TYPE_OBJECT, + G_IMPLEMENT_INTERFACE (G_TYPE_INITABLE, gnome_rr_screen_initable_iface_init)) + +G_DEFINE_BOXED_TYPE (GnomeRRCrtc, gnome_rr_crtc, crtc_copy, crtc_free) +G_DEFINE_BOXED_TYPE (GnomeRROutput, gnome_rr_output, output_copy, output_free) +G_DEFINE_BOXED_TYPE (GnomeRRMode, gnome_rr_mode, mode_copy, mode_free) + +/* Errors */ + +/** + * gnome_rr_error_quark: + * + * Returns the #GQuark that will be used for #GError values returned by the + * GnomeRR API. + * + * Return value: a #GQuark used to identify errors coming from the GnomeRR API. + */ +GQuark +gnome_rr_error_quark (void) +{ + return g_quark_from_static_string ("gnome-rr-error-quark"); +} + +/* Screen */ +GnomeRROutput * +gnome_rr_output_by_id (ScreenInfo *info, RROutput id) +{ + GnomeRROutput **output; + + g_return_val_if_fail (info != NULL, NULL); + + for (output = info->outputs; *output; ++output) + { + if ((*output)->id == id) + return *output; + } + + return NULL; +} + +GnomeRRCrtc * +crtc_by_id (ScreenInfo *info, RRCrtc id) +{ + GnomeRRCrtc **crtc; + + if (!info) + return NULL; + + for (crtc = info->crtcs; *crtc; ++crtc) + { + if ((*crtc)->id == id) + return *crtc; + } + + return NULL; +} + +GnomeRRMode * +mode_by_id (ScreenInfo *info, RRMode id) +{ + GnomeRRMode **mode; + + g_return_val_if_fail (info != NULL, NULL); + + for (mode = info->modes; *mode; ++mode) + { + if ((*mode)->id == id) + return *mode; + } + + return NULL; +} + +void +screen_info_free (ScreenInfo *info) +{ + GnomeRROutput **output; + GnomeRRCrtc **crtc; + GnomeRRMode **mode; + + g_return_if_fail (info != NULL); + +#ifdef HAVE_RANDR + if (info->resources) + { + XRRFreeScreenResources (info->resources); + + info->resources = NULL; + } +#endif + + if (info->outputs) + { + for (output = info->outputs; *output; ++output) + output_free (*output); + g_free (info->outputs); + } + + if (info->crtcs) + { + for (crtc = info->crtcs; *crtc; ++crtc) + crtc_free (*crtc); + g_free (info->crtcs); + } + + if (info->modes) + { + for (mode = info->modes; *mode; ++mode) + mode_free (*mode); + g_free (info->modes); + } + + if (info->clone_modes) + { + /* The modes themselves were freed above */ + g_free (info->clone_modes); + } + + g_free (info); +} + +static gboolean +has_similar_mode (GnomeRROutput *output, GnomeRRMode *mode) +{ + int i; + GnomeRRMode **modes = gnome_rr_output_list_modes (output); + int width = gnome_rr_mode_get_width (mode); + int height = gnome_rr_mode_get_height (mode); + + for (i = 0; modes[i] != NULL; ++i) + { + GnomeRRMode *m = modes[i]; + + if (gnome_rr_mode_get_width (m) == width && + gnome_rr_mode_get_height (m) == height) + { + return TRUE; + } + } + + return FALSE; +} + +void +gather_clone_modes (ScreenInfo *info) +{ + int i; + GPtrArray *result = g_ptr_array_new (); + + for (i = 0; info->outputs[i] != NULL; ++i) + { + int j; + GnomeRROutput *output1, *output2; + + output1 = info->outputs[i]; + + if (!output1->connected) + continue; + + for (j = 0; output1->modes[j] != NULL; ++j) + { + GnomeRRMode *mode = output1->modes[j]; + gboolean valid; + int k; + + valid = TRUE; + for (k = 0; info->outputs[k] != NULL; ++k) + { + output2 = info->outputs[k]; + + if (!output2->connected) + continue; + + if (!has_similar_mode (output2, mode)) + { + valid = FALSE; + break; + } + } + + if (valid) + g_ptr_array_add (result, mode); + } + } + + g_ptr_array_add (result, NULL); + + info->clone_modes = (GnomeRRMode **)g_ptr_array_free (result, FALSE); +} + +ScreenInfo * +screen_info_new (GnomeRRScreen *screen, gboolean needs_reprobe, GError **error) +{ + ScreenInfo *info = g_new0 (ScreenInfo, 1); + + g_return_val_if_fail (screen != NULL, NULL); + + info->outputs = NULL; + info->crtcs = NULL; + info->modes = NULL; + info->screen = screen; + + if (fill_out_screen_info (screen, info, needs_reprobe, error)) + { + return info; + } + else + { + screen_info_free (info); + return NULL; + } +} + +gboolean +screen_update (GnomeRRScreen *screen, gboolean force_callback, gboolean needs_reprobe, GError **error) +{ + ScreenInfo *info; + gboolean changed = FALSE; + + g_return_val_if_fail (screen != NULL, FALSE); + + info = screen_info_new (screen, needs_reprobe, error); + if (!info) + return FALSE; + +#ifdef HAVE_RANDR + if (info->resources->configTimestamp != screen->priv->info->resources->configTimestamp) + changed = TRUE; +#endif + + screen_info_free (screen->priv->info); + + screen->priv->info = info; + + if (changed || force_callback) + g_signal_emit (G_OBJECT (screen), screen_signals[SCREEN_CHANGED], 0); + + return changed; +} + +static gboolean +gnome_rr_screen_initable_init (GInitable *initable, GCancellable *canc, GError **error) +{ + GnomeRRScreen *self = GNOME_RR_SCREEN (initable); + GnomeRRScreenPrivate *priv = self->priv; + + priv->info = screen_info_new (self, TRUE, error); + g_return_val_if_fail (priv->info != NULL, FALSE); + + return TRUE; +} + +static void +gnome_rr_screen_initable_iface_init (GInitableIface *iface) +{ + iface->init = gnome_rr_screen_initable_init; +} + +static void +gnome_rr_screen_set_property (GObject *gobject, guint property_id, const GValue *value, GParamSpec *property) +{ + GnomeRRScreen *self = GNOME_RR_SCREEN (gobject); + GnomeRRScreenPrivate *priv = self->priv; + + switch (property_id) + { + case SCREEN_PROP_GDK_SCREEN: + priv->gdk_screen = g_value_get_object (value); + g_object_notify (gobject, "gdk-screen"); + return; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, property_id, property); + return; + } +} + +static void +gnome_rr_screen_get_property (GObject *gobject, guint property_id, GValue *value, GParamSpec *property) +{ + GnomeRRScreen *self = GNOME_RR_SCREEN (gobject); + + switch (property_id) + { + case SCREEN_PROP_GDK_SCREEN: + g_value_set_object (value, gnome_rr_screen_get_gdk_screen (self)); + return; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, property_id, property); + return; + } +} + +static void +gnome_rr_screen_finalize (GObject *gobject) +{ + GnomeRRScreen *screen = GNOME_RR_SCREEN (gobject); + + if (screen->priv->info) + screen_info_free (screen->priv->info); + + G_OBJECT_CLASS (gnome_rr_screen_parent_class)->finalize (gobject); +} + +void +gnome_rr_screen_class_init (GnomeRRScreenClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS (klass); + g_type_class_add_private (klass, sizeof (GnomeRRScreenPrivate)); + + gobject_class->set_property = gnome_rr_screen_set_property; + gobject_class->get_property = gnome_rr_screen_get_property; + gobject_class->finalize = gnome_rr_screen_finalize; + + screen_properties[SCREEN_PROP_GDK_SCREEN] = g_param_spec_object ( + "gdk-screen", + "GDK Screen", + "The GDK Screen represented by this GnomeRRScreen", + GDK_TYPE_SCREEN, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT_ONLY | + G_PARAM_STATIC_STRINGS); + + g_object_class_install_property( + gobject_class, + SCREEN_PROP_GDK_SCREEN, + screen_properties[SCREEN_PROP_GDK_SCREEN]); + + screen_signals[SCREEN_CHANGED] = g_signal_new("changed", + G_TYPE_FROM_CLASS (gobject_class), + G_SIGNAL_RUN_FIRST | G_SIGNAL_NO_RECURSE | G_SIGNAL_NO_HOOKS, + G_STRUCT_OFFSET (GnomeRRScreenClass, changed), + NULL, + NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, + 0); +} + +void +gnome_rr_screen_init (GnomeRRScreen *self) +{ + GnomeRRScreenPrivate *priv = G_TYPE_INSTANCE_GET_PRIVATE (self, GNOME_TYPE_RR_SCREEN, GnomeRRScreenPrivate); + self->priv = priv; + + priv->gdk_screen = NULL; + priv->info = NULL; +} + +/** + * gnome_rr_screen_new: + * Creates a new #GnomeRRScreen instance + * + * @screen: the #GdkScreen on which to operate + * @error: will be set if screen could not be created + * + * Returns: a new #GnomeRRScreen instance or NULL if screen could not be created, + * for instance if the driver does not support Xrandr 1.2 + */ +GnomeRRScreen * +gnome_rr_screen_new (GdkScreen *screen, + GError **error) +{ + /* FIXME: _gnome_desktop_init_i18n (); */ + return g_initable_new ( +#if defined(HAVE_X11) + GNOME_TYPE_RR_X11_SCREEN, +#elif defined(HAVE_WINDOWS) + GNOME_TYPE_RR_WINDOWS_SCREEN, +#else + GNOME_TYPE_RR_GENERIC_SCREEN, +#endif + NULL, error, "gdk-screen", screen, NULL); +} + +/** + * gnome_rr_screen_get_ranges: + * + * Get the ranges of the screen + * @screen: a #GnomeRRScreen + * @min_width: (out): the minimum width + * @max_width: (out): the maximum width + * @min_height: (out): the minimum height + * @max_height: (out): the maximum height + */ +void +gnome_rr_screen_get_ranges (GnomeRRScreen *screen, + int *min_width, + int *max_width, + int *min_height, + int *max_height) +{ + GnomeRRScreenPrivate *priv; + + g_return_if_fail (GNOME_IS_RR_SCREEN (screen)); + + priv = screen->priv; + + if (min_width) + *min_width = priv->info->min_width; + + if (max_width) + *max_width = priv->info->max_width; + + if (min_height) + *min_height = priv->info->min_height; + + if (max_height) + *max_height = priv->info->max_height; +} + +/** + * gnome_rr_screen_get_timestamps: + * @screen: a #GnomeRRScreen + * @change_timestamp_ret: (out): Location in which to store the timestamp at which the RANDR configuration was last changed + * @config_timestamp_ret: (out): Location in which to store the timestamp at which the RANDR configuration was last obtained + * + * Queries the two timestamps that the X RANDR extension maintains. The X + * server will prevent change requests for stale configurations, those whose + * timestamp is not equal to that of the latest request for configuration. The + * X server will also prevent change requests that have an older timestamp to + * the latest change request. + */ +void +gnome_rr_screen_get_timestamps (GnomeRRScreen *screen, + guint32 *change_timestamp_ret, + guint32 *config_timestamp_ret) +{ + GnomeRRScreenPrivate *priv G_GNUC_UNUSED; + + g_return_if_fail (GNOME_IS_RR_SCREEN (screen)); + + priv = screen->priv; + +#ifdef HAVE_RANDR + if (change_timestamp_ret) + *change_timestamp_ret = priv->info->resources->timestamp; + + if (config_timestamp_ret) + *config_timestamp_ret = priv->info->resources->configTimestamp; +#endif +} + +/** + * gnome_rr_screen_refresh: + * @screen: a #GnomeRRScreen + * @error: location to store error, or %NULL + * + * Refreshes the screen configuration, and calls the screen's callback if it + * exists and if the screen's configuration changed. + * + * Return value: TRUE if the screen's configuration changed; otherwise, the + * function returns FALSE and a NULL error if the configuration didn't change, + * or FALSE and a non-NULL error if there was an error while refreshing the + * configuration. + */ +gboolean +gnome_rr_screen_refresh (GnomeRRScreen *screen, + GError **error) +{ + gboolean refreshed; + + g_return_val_if_fail (error == NULL || *error == NULL, FALSE); + +#ifdef HAVE_X11 + gdk_x11_display_grab (gdk_screen_get_display (screen->priv->gdk_screen)); +#endif + + refreshed = screen_update (screen, FALSE, TRUE, error); + +#ifdef HAVE_X11 + gnome_rr_x11_screen_force_timestamp_update (GNOME_RR_X11_SCREEN (screen)); /* this is to keep other clients from thinking that the X server re-detected things by itself - bgo#621046 */ + gdk_x11_display_ungrab (gdk_screen_get_display (screen->priv->gdk_screen)); +#endif + + return refreshed; +} + +/** + * gnome_rr_screen_list_modes: + * + * List available XRandR modes + * + * Returns: (array zero-terminated=1) (transfer none): + */ +GnomeRRMode ** +gnome_rr_screen_list_modes (GnomeRRScreen *screen) +{ + g_return_val_if_fail (GNOME_IS_RR_SCREEN (screen), NULL); + g_return_val_if_fail (screen->priv->info != NULL, NULL); + + return screen->priv->info->modes; +} + +/** + * gnome_rr_screen_list_clone_modes: + * + * List available XRandR clone modes + * + * Returns: (array zero-terminated=1) (transfer none): + */ +GnomeRRMode ** +gnome_rr_screen_list_clone_modes (GnomeRRScreen *screen) +{ + g_return_val_if_fail (GNOME_IS_RR_SCREEN (screen), NULL); + g_return_val_if_fail (screen->priv->info != NULL, NULL); + + return screen->priv->info->clone_modes; +} + +/** + * gnome_rr_screen_list_crtcs: + * + * List all CRTCs + * + * Returns: (array zero-terminated=1) (transfer none): + */ +GnomeRRCrtc ** +gnome_rr_screen_list_crtcs (GnomeRRScreen *screen) +{ + g_return_val_if_fail (GNOME_IS_RR_SCREEN (screen), NULL); + g_return_val_if_fail (screen->priv->info != NULL, NULL); + + return screen->priv->info->crtcs; +} + +/** + * gnome_rr_screen_list_outputs: + * + * List all outputs + * + * Returns: (array zero-terminated=1) (transfer none): + */ +GnomeRROutput ** +gnome_rr_screen_list_outputs (GnomeRRScreen *screen) +{ + g_return_val_if_fail (GNOME_IS_RR_SCREEN (screen), NULL); + g_return_val_if_fail (screen->priv->info != NULL, NULL); + + return screen->priv->info->outputs; +} + +/** + * gnome_rr_screen_get_crtc_by_id: + * + * Returns: (transfer none): the CRTC identified by @id + */ +GnomeRRCrtc * +gnome_rr_screen_get_crtc_by_id (GnomeRRScreen *screen, + guint32 id) +{ + GnomeRRCrtc **crtcs; + int i; + + g_return_val_if_fail (GNOME_IS_RR_SCREEN (screen), NULL); + g_return_val_if_fail (screen->priv->info != NULL, NULL); + + crtcs = screen->priv->info->crtcs; + + for (i = 0; crtcs[i] != NULL; ++i) + { + if (crtcs[i]->id == id) + return crtcs[i]; + } + + return NULL; +} + +/** + * gnome_rr_screen_get_output_by_id: + * + * Returns: (transfer none): the output identified by @id + */ +GnomeRROutput * +gnome_rr_screen_get_output_by_id (GnomeRRScreen *screen, + guint32 id) +{ + GnomeRROutput **outputs; + int i; + + g_return_val_if_fail (GNOME_IS_RR_SCREEN (screen), NULL); + g_return_val_if_fail (screen->priv->info != NULL, NULL); + + outputs = screen->priv->info->outputs; + + for (i = 0; outputs[i] != NULL; ++i) + { + if (outputs[i]->id == id) + return outputs[i]; + } + + return NULL; +} + +/* GnomeRROutput */ +GnomeRROutput * +output_new (ScreenInfo *info, RROutput id) +{ + GnomeRROutput *output = g_slice_new0 (GnomeRROutput); + + output->id = id; + output->info = info; + + return output; +} + +static GnomeRROutput* +output_copy (const GnomeRROutput *from) +{ + GPtrArray *array; + GnomeRRCrtc **p_crtc; + GnomeRROutput **p_output; + GnomeRRMode **p_mode; + GnomeRROutput *output = g_slice_new0 (GnomeRROutput); + + output->id = from->id; + output->info = from->info; + output->name = g_strdup (from->name); + output->current_crtc = from->current_crtc; + output->width_mm = from->width_mm; + output->height_mm = from->height_mm; + output->connected = from->connected; + output->n_preferred = from->n_preferred; + output->connector_type = g_strdup (from->connector_type); + + array = g_ptr_array_new (); + for (p_crtc = from->possible_crtcs; *p_crtc != NULL; p_crtc++) + { + g_ptr_array_add (array, *p_crtc); + } + output->possible_crtcs = (GnomeRRCrtc**) g_ptr_array_free (array, FALSE); + + array = g_ptr_array_new (); + for (p_output = from->clones; *p_output != NULL; p_output++) + { + g_ptr_array_add (array, *p_output); + } + output->clones = (GnomeRROutput**) g_ptr_array_free (array, FALSE); + + array = g_ptr_array_new (); + for (p_mode = from->modes; *p_mode != NULL; p_mode++) + { + g_ptr_array_add (array, *p_mode); + } + output->modes = (GnomeRRMode**) g_ptr_array_free (array, FALSE); + + output->edid_size = from->edid_size; + output->edid_data = g_memdup (from->edid_data, from->edid_size); + + return output; +} + +static void +output_free (GnomeRROutput *output) +{ + g_free (output->clones); + g_free (output->modes); + g_free (output->possible_crtcs); + g_free (output->edid_data); + g_free (output->name); + g_free (output->connector_type); + g_slice_free (GnomeRROutput, output); +} + +guint32 +gnome_rr_output_get_id (GnomeRROutput *output) +{ + g_return_val_if_fail (output != NULL, 0); + + return output->id; +} + +const guint8 * +gnome_rr_output_get_edid_data (GnomeRROutput *output) +{ + g_return_val_if_fail (output != NULL, NULL); + + return output->edid_data; +} + +/** + * gnome_rr_screen_get_output_by_id: + * + * Returns: (transfer none): the output identified by @name + */ +GnomeRROutput * +gnome_rr_screen_get_output_by_name (GnomeRRScreen *screen, + const char *name) +{ + int i; + + g_return_val_if_fail (GNOME_IS_RR_SCREEN (screen), NULL); + g_return_val_if_fail (screen->priv->info != NULL, NULL); + + for (i = 0; screen->priv->info->outputs[i] != NULL; ++i) + { + GnomeRROutput *output = screen->priv->info->outputs[i]; + + if (strcmp (output->name, name) == 0) + return output; + } + + return NULL; +} + +GnomeRRCrtc * +gnome_rr_output_get_crtc (GnomeRROutput *output) +{ + g_return_val_if_fail (output != NULL, NULL); + + return output->current_crtc; +} + +/* Returns NULL if the ConnectorType property is not available */ +const char * +gnome_rr_output_get_connector_type (GnomeRROutput *output) +{ + g_return_val_if_fail (output != NULL, NULL); + + return output->connector_type; +} + +gboolean +gnome_rr_output_is_laptop (GnomeRROutput *output) +{ + const char *connector_type; + + g_return_val_if_fail (output != NULL, FALSE); + + if (!output->connected) + return FALSE; + + /* The ConnectorType property is present in RANDR 1.3 and greater */ + + connector_type = gnome_rr_output_get_connector_type (output); + if (connector_type && strcmp (connector_type, GNOME_RR_CONNECTOR_TYPE_PANEL) == 0) + return TRUE; + + /* Older versions of RANDR - this is a best guess, as @#$% RANDR doesn't have standard output names, + * so drivers can use whatever they like. + */ + + if (output->name + && (strstr (output->name, "lvds") || /* Most drivers use an "LVDS" prefix... */ + strstr (output->name, "LVDS") || + strstr (output->name, "Lvds") || + strstr (output->name, "LCD"))) /* ... but fglrx uses "LCD" in some versions. Shoot me now, kthxbye. */ + return TRUE; + + return FALSE; +} + +GnomeRRMode * +gnome_rr_output_get_current_mode (GnomeRROutput *output) +{ + GnomeRRCrtc *crtc; + + g_return_val_if_fail (output != NULL, NULL); + + if ((crtc = gnome_rr_output_get_crtc (output))) + return gnome_rr_crtc_get_current_mode (crtc); + + return NULL; +} + +void +gnome_rr_output_get_position (GnomeRROutput *output, + int *x, + int *y) +{ + GnomeRRCrtc *crtc; + + g_return_if_fail (output != NULL); + + if ((crtc = gnome_rr_output_get_crtc (output))) + gnome_rr_crtc_get_position (crtc, x, y); +} + +const char * +gnome_rr_output_get_name (GnomeRROutput *output) +{ + g_return_val_if_fail (output != NULL, ""); + return output->name; +} + +int +gnome_rr_output_get_width_mm (GnomeRROutput *output) +{ + g_return_val_if_fail (output != NULL, -1); + return output->width_mm; +} + +int +gnome_rr_output_get_height_mm (GnomeRROutput *output) +{ + g_return_val_if_fail (output != NULL, -1); + return output->height_mm; +} + +GnomeRRMode * +gnome_rr_output_get_preferred_mode (GnomeRROutput *output) +{ + g_return_val_if_fail (output != NULL, NULL); + if (output->n_preferred) + return output->modes[0]; + + return NULL; +} + +GnomeRRMode ** +gnome_rr_output_list_modes (GnomeRROutput *output) +{ + g_return_val_if_fail (output != NULL, NULL); + return output->modes; +} + +gboolean +gnome_rr_output_is_connected (GnomeRROutput *output) +{ + g_return_val_if_fail (output != NULL, FALSE); + return output->connected; +} + +gboolean +gnome_rr_output_supports_mode (GnomeRROutput *output, + GnomeRRMode *mode) +{ + int i; + + g_return_val_if_fail (output != NULL, FALSE); + g_return_val_if_fail (mode != NULL, FALSE); + + for (i = 0; output->modes[i] != NULL; ++i) + { + if (output->modes[i] == mode) + return TRUE; + } + + return FALSE; +} + +gboolean +gnome_rr_output_can_clone (GnomeRROutput *output, + GnomeRROutput *clone) +{ + int i; + + g_return_val_if_fail (output != NULL, FALSE); + g_return_val_if_fail (clone != NULL, FALSE); + + for (i = 0; output->clones[i] != NULL; ++i) + { + if (output->clones[i] == clone) + return TRUE; + } + + return FALSE; +} + +gboolean +gnome_rr_output_get_is_primary (GnomeRROutput *output) +{ +#ifdef HAVE_RANDR + return output->info->primary == output->id; +#else + return FALSE; +#endif +} + +void +gnome_rr_screen_set_primary_output (GnomeRRScreen *screen, + GnomeRROutput *output) +{ + g_return_if_fail (GNOME_IS_RR_SCREEN (screen)); + + screen_set_primary_output (screen, output); +} + +#ifndef GNOME_DISABLE_DEPRECATED_SOURCE +gboolean +gnome_rr_crtc_set_config (GnomeRRCrtc *crtc, + int x, + int y, + GnomeRRMode *mode, + GnomeRRRotation rotation, + GnomeRROutput **outputs, + int n_outputs, + GError **error) +{ + return gnome_rr_crtc_set_config_with_time (crtc, GDK_CURRENT_TIME, x, y, mode, rotation, outputs, n_outputs, error); +} +#endif + +GnomeRRMode * +gnome_rr_crtc_get_current_mode (GnomeRRCrtc *crtc) +{ + g_return_val_if_fail (crtc != NULL, NULL); + + return crtc->current_mode; +} + +guint32 +gnome_rr_crtc_get_id (GnomeRRCrtc *crtc) +{ + g_return_val_if_fail (crtc != NULL, 0); + + return crtc->id; +} + +gboolean +gnome_rr_crtc_can_drive_output (GnomeRRCrtc *crtc, + GnomeRROutput *output) +{ + int i; + + g_return_val_if_fail (crtc != NULL, FALSE); + g_return_val_if_fail (output != NULL, FALSE); + + for (i = 0; crtc->possible_outputs[i] != NULL; ++i) + { + if (crtc->possible_outputs[i] == output) + return TRUE; + } + + return FALSE; +} + +/* FIXME: merge with get_mode()? */ +void +gnome_rr_crtc_get_position (GnomeRRCrtc *crtc, + int *x, + int *y) +{ + g_return_if_fail (crtc != NULL); + + if (x) + *x = crtc->x; + + if (y) + *y = crtc->y; +} + +/* FIXME: merge with get_mode()? */ +GnomeRRRotation +gnome_rr_crtc_get_current_rotation (GnomeRRCrtc *crtc) +{ + g_return_val_if_fail (crtc != NULL, GNOME_RR_ROTATION_0); + return crtc->current_rotation; +} + +GnomeRRRotation +gnome_rr_crtc_get_rotations (GnomeRRCrtc *crtc) +{ + g_return_val_if_fail (crtc != NULL, GNOME_RR_ROTATION_0); + return crtc->rotations; +} + +gboolean +gnome_rr_crtc_supports_rotation (GnomeRRCrtc * crtc, + GnomeRRRotation rotation) +{ + g_return_val_if_fail (crtc != NULL, FALSE); + return (crtc->rotations & rotation); +} + +GnomeRRCrtc * +crtc_new (ScreenInfo *info, RROutput id) +{ + GnomeRRCrtc *crtc = g_slice_new0 (GnomeRRCrtc); + + crtc->id = id; + crtc->info = info; + + return crtc; +} + +static GnomeRRCrtc * +crtc_copy (const GnomeRRCrtc *from) +{ + GnomeRROutput **p_output; + GPtrArray *array; + GnomeRRCrtc *to = g_slice_new0 (GnomeRRCrtc); + + to->info = from->info; + to->id = from->id; + to->current_mode = from->current_mode; + to->x = from->x; + to->y = from->y; + to->current_rotation = from->current_rotation; + to->rotations = from->rotations; + to->gamma_size = from->gamma_size; + + array = g_ptr_array_new (); + for (p_output = from->current_outputs; *p_output != NULL; p_output++) + { + g_ptr_array_add (array, *p_output); + } + to->current_outputs = (GnomeRROutput**) g_ptr_array_free (array, FALSE); + + array = g_ptr_array_new (); + for (p_output = from->possible_outputs; *p_output != NULL; p_output++) + { + g_ptr_array_add (array, *p_output); + } + to->possible_outputs = (GnomeRROutput**) g_ptr_array_free (array, FALSE); + + return to; +} + +static void +crtc_free (GnomeRRCrtc *crtc) +{ + g_free (crtc->current_outputs); + g_free (crtc->possible_outputs); + g_slice_free (GnomeRRCrtc, crtc); +} + +/* GnomeRRMode */ +GnomeRRMode * +mode_new (ScreenInfo *info, RRMode id) +{ + GnomeRRMode *mode = g_slice_new0 (GnomeRRMode); + + mode->id = id; + mode->info = info; + + return mode; +} + +guint32 +gnome_rr_mode_get_id (GnomeRRMode *mode) +{ + g_return_val_if_fail (mode != NULL, 0); + return mode->id; +} + +guint +gnome_rr_mode_get_width (GnomeRRMode *mode) +{ + g_return_val_if_fail (mode != NULL, 0); + return mode->width; +} + +int +gnome_rr_mode_get_freq (GnomeRRMode *mode) +{ + g_return_val_if_fail (mode != NULL, 0); + return (mode->freq) / 1000; +} + +guint +gnome_rr_mode_get_height (GnomeRRMode *mode) +{ + g_return_val_if_fail (mode != NULL, 0); + return mode->height; +} + +static GnomeRRMode * +mode_copy (const GnomeRRMode *from) +{ + GnomeRRMode *to = g_slice_new0 (GnomeRRMode); + + to->id = from->id; + to->info = from->info; + to->name = g_strdup (from->name); + to->width = from->width; + to->height = from->height; + to->freq = from->freq; + + return to; +} + +static void +mode_free (GnomeRRMode *mode) +{ + g_free (mode->name); + g_slice_free (GnomeRRMode, mode); +} + +GdkScreen * +gnome_rr_screen_get_gdk_screen (GnomeRRScreen *self) +{ + g_return_val_if_fail (self != NULL, NULL); + + return self->priv->gdk_screen; +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr.h new file mode 100644 index 0000000..d32d2f6 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/display/gnome-rr.h @@ -0,0 +1,200 @@ +/* gnome-rr.h + * + * Copyright 2007, 2008, Red Hat, Inc. + * + * This file is part of the Gnome Library. + * + * The Gnome Library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * The Gnome Library 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 + * Library General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, see . + * + * Author: Soren Sandmann + */ +#ifndef GNOME_RR_H +#define GNOME_RR_H + +#ifndef GNOME_DESKTOP_USE_UNSTABLE_API +#error GnomeRR is unstable API. You must define GNOME_DESKTOP_USE_UNSTABLE_API before including gnomerr.h +#endif + +#include +#include + +typedef struct GnomeRRScreenPrivate GnomeRRScreenPrivate; +typedef struct GnomeRROutput GnomeRROutput; +typedef struct GnomeRRCrtc GnomeRRCrtc; +typedef struct GnomeRRMode GnomeRRMode; + +typedef struct { + GObject parent; + + GnomeRRScreenPrivate* priv; +} GnomeRRScreen; + +typedef struct { + GObjectClass parent_class; + + void (* changed) (void); +} GnomeRRScreenClass; + +typedef enum +{ + GNOME_RR_ROTATION_0 = (1 << 0), + GNOME_RR_ROTATION_90 = (1 << 1), + GNOME_RR_ROTATION_180 = (1 << 2), + GNOME_RR_ROTATION_270 = (1 << 3), + GNOME_RR_REFLECT_X = (1 << 4), + GNOME_RR_REFLECT_Y = (1 << 5) +} GnomeRRRotation; + +/* Error codes */ + +#define GNOME_RR_ERROR (gnome_rr_error_quark ()) + +GQuark gnome_rr_error_quark (void); + +typedef enum { + GNOME_RR_ERROR_UNKNOWN, /* generic "fail" */ + GNOME_RR_ERROR_NO_RANDR_EXTENSION, /* RANDR extension is not present */ + GNOME_RR_ERROR_RANDR_ERROR, /* generic/undescribed error from the underlying XRR API */ + GNOME_RR_ERROR_BOUNDS_ERROR, /* requested bounds of a CRTC are outside the maximum size */ + GNOME_RR_ERROR_CRTC_ASSIGNMENT, /* could not assign CRTCs to outputs */ + GNOME_RR_ERROR_NO_MATCHING_CONFIG, /* none of the saved configurations matched the current configuration */ +} GnomeRRError; + +#define GNOME_RR_CONNECTOR_TYPE_PANEL "Panel" /* This is a laptop's built-in LCD */ + +#define GNOME_TYPE_RR_SCREEN (gnome_rr_screen_get_type()) +#define GNOME_RR_SCREEN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNOME_TYPE_RR_SCREEN, GnomeRRScreen)) +#define GNOME_IS_RR_SCREEN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNOME_TYPE_RR_SCREEN)) +#define GNOME_RR_SCREEN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNOME_TYPE_RR_SCREEN, GnomeRRScreenClass)) +#define GNOME_IS_RR_SCREEN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_RR_SCREEN)) +#define GNOME_RR_SCREEN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNOME_TYPE_RR_SCREEN, GnomeRRScreenClass)) + +#define GNOME_TYPE_RR_OUTPUT (gnome_rr_output_get_type()) +#define GNOME_TYPE_RR_CRTC (gnome_rr_crtc_get_type()) +#define GNOME_TYPE_RR_MODE (gnome_rr_mode_get_type()) + +GType gnome_rr_screen_get_type (void); +GType gnome_rr_output_get_type (void); +GType gnome_rr_crtc_get_type (void); +GType gnome_rr_mode_get_type (void); + +/* GnomeRRScreen */ +GnomeRRScreen * gnome_rr_screen_new (GdkScreen *screen, + GError **error); +GnomeRROutput **gnome_rr_screen_list_outputs (GnomeRRScreen *screen); +GnomeRRCrtc ** gnome_rr_screen_list_crtcs (GnomeRRScreen *screen); +GnomeRRMode ** gnome_rr_screen_list_modes (GnomeRRScreen *screen); +GnomeRRMode ** gnome_rr_screen_list_clone_modes (GnomeRRScreen *screen); +void gnome_rr_screen_set_size (GnomeRRScreen *screen, + int width, + int height, + int mm_width, + int mm_height); +GnomeRRCrtc * gnome_rr_screen_get_crtc_by_id (GnomeRRScreen *screen, + guint32 id); +gboolean gnome_rr_screen_refresh (GnomeRRScreen *screen, + GError **error); +GnomeRROutput * gnome_rr_screen_get_output_by_id (GnomeRRScreen *screen, + guint32 id); +GnomeRROutput * gnome_rr_screen_get_output_by_name (GnomeRRScreen *screen, + const char *name); +void gnome_rr_screen_get_ranges (GnomeRRScreen *screen, + int *min_width, + int *max_width, + int *min_height, + int *max_height); +void gnome_rr_screen_get_timestamps (GnomeRRScreen *screen, + guint32 *change_timestamp_ret, + guint32 *config_timestamp_ret); + +void gnome_rr_screen_set_primary_output (GnomeRRScreen *screen, + GnomeRROutput *output); + +GnomeRRMode **gnome_rr_screen_create_clone_modes (GnomeRRScreen *screen); + +/* GnomeRROutput */ +guint32 gnome_rr_output_get_id (GnomeRROutput *output); +const char * gnome_rr_output_get_name (GnomeRROutput *output); +gboolean gnome_rr_output_is_connected (GnomeRROutput *output); +int gnome_rr_output_get_size_inches (GnomeRROutput *output); +int gnome_rr_output_get_width_mm (GnomeRROutput *outout); +int gnome_rr_output_get_height_mm (GnomeRROutput *output); +const guint8 * gnome_rr_output_get_edid_data (GnomeRROutput *output); +GnomeRRCrtc ** gnome_rr_output_get_possible_crtcs (GnomeRROutput *output); +GnomeRRMode * gnome_rr_output_get_current_mode (GnomeRROutput *output); +GnomeRRCrtc * gnome_rr_output_get_crtc (GnomeRROutput *output); +const char * gnome_rr_output_get_connector_type (GnomeRROutput *output); +gboolean gnome_rr_output_is_laptop (GnomeRROutput *output); +void gnome_rr_output_get_position (GnomeRROutput *output, + int *x, + int *y); +gboolean gnome_rr_output_can_clone (GnomeRROutput *output, + GnomeRROutput *clone); +GnomeRRMode ** gnome_rr_output_list_modes (GnomeRROutput *output); +GnomeRRMode * gnome_rr_output_get_preferred_mode (GnomeRROutput *output); +gboolean gnome_rr_output_supports_mode (GnomeRROutput *output, + GnomeRRMode *mode); +gboolean gnome_rr_output_get_is_primary (GnomeRROutput *output); + +/* GnomeRRMode */ +guint32 gnome_rr_mode_get_id (GnomeRRMode *mode); +guint gnome_rr_mode_get_width (GnomeRRMode *mode); +guint gnome_rr_mode_get_height (GnomeRRMode *mode); +int gnome_rr_mode_get_freq (GnomeRRMode *mode); + +/* GnomeRRCrtc */ +guint32 gnome_rr_crtc_get_id (GnomeRRCrtc *crtc); + +#ifndef GNOME_DISABLE_DEPRECATED +gboolean gnome_rr_crtc_set_config (GnomeRRCrtc *crtc, + int x, + int y, + GnomeRRMode *mode, + GnomeRRRotation rotation, + GnomeRROutput **outputs, + int n_outputs, + GError **error); +#endif + +gboolean gnome_rr_crtc_set_config_with_time (GnomeRRCrtc *crtc, + guint32 timestamp, + int x, + int y, + GnomeRRMode *mode, + GnomeRRRotation rotation, + GnomeRROutput **outputs, + int n_outputs, + GError **error); +gboolean gnome_rr_crtc_can_drive_output (GnomeRRCrtc *crtc, + GnomeRROutput *output); +GnomeRRMode * gnome_rr_crtc_get_current_mode (GnomeRRCrtc *crtc); +void gnome_rr_crtc_get_position (GnomeRRCrtc *crtc, + int *x, + int *y); +GnomeRRRotation gnome_rr_crtc_get_current_rotation (GnomeRRCrtc *crtc); +GnomeRRRotation gnome_rr_crtc_get_rotations (GnomeRRCrtc *crtc); +gboolean gnome_rr_crtc_supports_rotation (GnomeRRCrtc *crtc, + GnomeRRRotation rotation); + +gboolean gnome_rr_crtc_get_gamma (GnomeRRCrtc *crtc, + int *size, + unsigned short **red, + unsigned short **green, + unsigned short **blue); +void gnome_rr_crtc_set_gamma (GnomeRRCrtc *crtc, + int size, + unsigned short *red, + unsigned short *green, + unsigned short *blue); +#endif /* GNOME_RR_H */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/gio-coroutine.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/gio-coroutine.c new file mode 100644 index 0000000..355c75c --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/gio-coroutine.c @@ -0,0 +1,272 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + Copyright (C) 2006 Anthony Liguori + Copyright (C) 2009-2010 Daniel P. Berrange + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.0 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#include "gio-coroutine.h" + +typedef struct _GConditionWaitSource +{ + GCoroutine *self; + GSource src; + GConditionWaitFunc func; + gpointer data; +} GConditionWaitSource; + +GCoroutine* g_coroutine_self(void) +{ + return (GCoroutine*)coroutine_self(); +} + +/* Main loop helper functions */ +static gboolean g_io_wait_helper(GSocket *sock G_GNUC_UNUSED, + GIOCondition cond, + gpointer data) +{ + struct coroutine *to = data; + coroutine_yieldto(to, &cond); + return FALSE; +} + +GIOCondition g_coroutine_socket_wait(GCoroutine *self, + GSocket *sock, + GIOCondition cond) +{ + GIOCondition *ret, val = 0; + GSource *src; + + g_return_val_if_fail(self != NULL, 0); + g_return_val_if_fail(self->wait_id == 0, 0); + g_return_val_if_fail(sock != NULL, 0); + + src = g_socket_create_source(sock, cond | G_IO_HUP | G_IO_ERR | G_IO_NVAL, NULL); + g_source_set_callback(src, (GSourceFunc)g_io_wait_helper, self, NULL); + self->wait_id = g_source_attach(src, NULL); + ret = coroutine_yield(NULL); + g_source_unref(src); + + if (ret != NULL) + val = *ret; + else + g_source_remove(self->wait_id); + + self->wait_id = 0; + return val; +} + +void g_coroutine_condition_cancel(GCoroutine *coroutine) +{ + g_return_if_fail(coroutine != NULL); + + if (coroutine->condition_id == 0) + return; + + g_source_remove(coroutine->condition_id); + coroutine->condition_id = 0; +} + +void g_coroutine_wakeup(GCoroutine *coroutine) +{ + g_return_if_fail(coroutine != NULL); + g_return_if_fail(coroutine != g_coroutine_self()); + + if (coroutine->wait_id) + coroutine_yieldto(&coroutine->coroutine, NULL); +} + +/* + * Call immediately before the main loop does an iteration. Returns + * true if the condition we're checking is ready for dispatch + */ +static gboolean g_condition_wait_prepare(GSource *src, + int *timeout) { + GConditionWaitSource *vsrc = (GConditionWaitSource *)src; + *timeout = -1; + return vsrc->func(vsrc->data); +} + +/* + * Call immediately after the main loop does an iteration. Returns + * true if the condition we're checking is ready for dispatch + */ +static gboolean g_condition_wait_check(GSource *src) +{ + GConditionWaitSource *vsrc = (GConditionWaitSource *)src; + return vsrc->func(vsrc->data); +} + +static gboolean g_condition_wait_dispatch(GSource *src G_GNUC_UNUSED, + GSourceFunc cb, + gpointer data) { + return cb(data); +} + +GSourceFuncs waitFuncs = { + .prepare = g_condition_wait_prepare, + .check = g_condition_wait_check, + .dispatch = g_condition_wait_dispatch, +}; + +static gboolean g_condition_wait_helper(gpointer data) +{ + GCoroutine *self = (GCoroutine *)data; + coroutine_yieldto(&self->coroutine, NULL); + return FALSE; +} + +/* + * g_coroutine_condition_wait: + * @coroutine: the coroutine to wait on + * @func: the condition callback + * @data: the user data passed to @func callback + * + * This function will wait on caller coroutine until @func returns %TRUE. + * + * @func is called when entering the main loop from the main context (coroutine). + * + * The condition can be cancelled by calling g_coroutine_wakeup() + * + * Returns: %TRUE if condition reached, %FALSE if not and cancelled + */ +gboolean g_coroutine_condition_wait(GCoroutine *self, GConditionWaitFunc func, gpointer data) +{ + GSource *src; + GConditionWaitSource *vsrc; + + g_return_val_if_fail(self != NULL, FALSE); + g_return_val_if_fail(self->condition_id == 0, FALSE); + g_return_val_if_fail(func != NULL, FALSE); + + /* Short-circuit check in case we've got it ahead of time */ + if (func(data)) + return TRUE; + + /* + * Don't have it, so yield to the main loop, checking the condition + * on each iteration of the main loop + */ + src = g_source_new(&waitFuncs, sizeof(GConditionWaitSource)); + vsrc = (GConditionWaitSource *)src; + + vsrc->func = func; + vsrc->data = data; + vsrc->self = self; + + self->condition_id = g_source_attach(src, NULL); + g_source_set_callback(src, g_condition_wait_helper, self, NULL); + coroutine_yield(NULL); + g_source_unref(src); + + /* it got woked up / cancelled? */ + if (self->condition_id == 0) + return func(data); + + self->condition_id = 0; + return TRUE; +} + +struct signal_data +{ + GObject *object; + struct coroutine *caller; + int signum; + gpointer params; + GSignalEmitMainFunc func; + const char *debug_info; + gboolean notified; +}; + +static gboolean emit_main_context(gpointer opaque) +{ + struct signal_data *signal = opaque; + + signal->func(signal->object, signal->signum, signal->params); + signal->notified = TRUE; + + coroutine_yieldto(signal->caller, NULL); + + return FALSE; +} + +/* coroutine -> main context */ +void g_signal_emit_main_context(GObject *object, + GSignalEmitMainFunc emit_main_func, + int signum, + gpointer params, + const char *debug_info) +{ + struct signal_data data; + + g_return_if_fail(coroutine_self()->caller); + + data.object = object; + data.caller = coroutine_self(); + data.signum = signum; + data.params = params; + data.func = emit_main_func; + data.debug_info = debug_info; + data.notified = FALSE; + g_idle_add(emit_main_context, &data); + + /* This switches to the system coroutine context, lets + * the idle function run to dispatch the signal, and + * finally returns once complete. ie this is synchronous + * from the POV of the coroutine despite there being + * an idle function involved + */ + coroutine_yield(NULL); + g_warn_if_fail(data.notified); +} + +static gboolean notify_main_context(gpointer opaque) +{ + struct signal_data *signal = opaque; + + g_object_notify(signal->object, signal->params); + signal->notified = TRUE; + + coroutine_yieldto(signal->caller, NULL); + + return FALSE; +} + +/* coroutine -> main context */ +void g_object_notify_main_context(GObject *object, + const gchar *property_name) +{ + struct signal_data data; + + g_return_if_fail(coroutine_self()->caller); + + data.object = object; + data.caller = coroutine_self(); + data.params = (gpointer)property_name; + data.notified = FALSE; + + g_idle_add(notify_main_context, &data); + + /* This switches to the system coroutine context, lets + * the idle function run to dispatch the signal, and + * finally returns once complete. ie this is synchronous + * from the POV of the coroutine despite there being + * an idle function involved + */ + coroutine_yield(NULL); + g_warn_if_fail(data.notified); +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/gio-coroutine.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/gio-coroutine.h new file mode 100644 index 0000000..1c4094e --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/gio-coroutine.h @@ -0,0 +1,65 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + Copyright (C) 2006 Anthony Liguori + Copyright (C) 2009-2010 Daniel P. Berrange + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.0 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ +#ifndef __GIO_COROUTINE_H__ +#define __GIO_COROUTINE_H__ + +#include +#include "coroutine.h" + +G_BEGIN_DECLS + +typedef struct _GCoroutine GCoroutine; + +struct _GCoroutine +{ + struct coroutine coroutine; + guint wait_id; + guint condition_id; +}; + +/* + * A special GSource impl which allows us to wait on a certain + * condition to be satisfied. This is effectively a boolean test + * run on each iteration of the main loop. So whenever a file has + * new I/O, or a timer occurs, etc we'll do the check. This is + * pretty efficient compared to a normal GLib Idle func which has + * to busy wait on a timeout, since our condition is only checked + * when some other source's state changes + */ +typedef gboolean (*GConditionWaitFunc)(gpointer); + +typedef void (*GSignalEmitMainFunc)(GObject *object, int signum, gpointer params); + +GCoroutine* g_coroutine_self (void); +void g_coroutine_wakeup (GCoroutine *coroutine); +GIOCondition g_coroutine_socket_wait (GCoroutine *coroutine, + GSocket *sock, GIOCondition cond); +gboolean g_coroutine_condition_wait (GCoroutine *coroutine, + GConditionWaitFunc func, gpointer data); +void g_coroutine_condition_cancel(GCoroutine *coroutine); + +void g_signal_emit_main_context(GObject *object, GSignalEmitMainFunc func, + int signum, gpointer params, const char *debug_info); +void g_object_notify_main_context(GObject *object, const gchar *property_name); + +G_END_DECLS + +#endif /* __GIO_COROUTINE_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/glib-compat.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/glib-compat.c new file mode 100644 index 0000000..0c108ef --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/glib-compat.c @@ -0,0 +1,103 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ + +#include "glib-compat.h" + +#if !GLIB_CHECK_VERSION(2,26,0) +G_DEFINE_BOXED_TYPE (GError, spice_error, g_error_copy, g_error_free) + +/** + * g_key_file_set_uint64: + * @key_file: a #GKeyFile + * @group_name: a group name + * @key: a key + * @value: an integer value + * + * Associates a new integer value with @key under @group_name. + * If @key cannot be found then it is created. + * + * Since: 2.26 + **/ +void +g_key_file_set_uint64 (GKeyFile *key_file, + const gchar *group_name, + const gchar *key, + guint64 value) +{ + gchar *result; + + g_return_if_fail (key_file != NULL); + + result = g_strdup_printf ("%" G_GUINT64_FORMAT, value); + g_key_file_set_value (key_file, group_name, key, result); + g_free (result); +} +#endif + +#if !GLIB_CHECK_VERSION(2,28,0) +/** + * spice_simple_async_result_take_error: (skip) + * @simple: a #GSimpleAsyncResult + * @error: a #GError + * + * Sets the result from @error, and takes over the caller's ownership + * of @error, so the caller does not need to free it any more. + * + * Since: 2.28 + **/ +G_GNUC_INTERNAL void +g_simple_async_result_take_error (GSimpleAsyncResult *simple, + GError *error) +{ + /* this code is different from upstream */ + /* we can't avoid extra copy/free, since the simple struct is + opaque */ + g_simple_async_result_set_from_error (simple, error); + g_error_free (error); +} + + +/** + * g_slist_free_full: (skip) + * @list: a #GSList + * @free_func: a #GDestroyNotify + * + * Convenience method, which frees all the memory used by a #GSList, + * and calls the specified destroy function on every element's data + * + * Since: 2.28 + **/ +G_GNUC_INTERNAL void +g_slist_free_full(GSList *list, + GDestroyNotify free_func) +{ + GSList *el; + + if (free_func) { + for (el = list; el ; el = g_slist_next(el)) { + free_func(el); + } + } + + g_slist_free(list); +} + +#endif + +#if !GLIB_CHECK_VERSION(2,30,0) +G_DEFINE_BOXED_TYPE (GMainContext, spice_main_context, g_main_context_ref, g_main_context_unref) +#endif + diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/glib-compat.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/glib-compat.h new file mode 100644 index 0000000..cc5232a --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/glib-compat.h @@ -0,0 +1,132 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef GLIB_COMPAT_H +#define GLIB_COMPAT_H + +#include +#include + +#if !GLIB_CHECK_VERSION(2,26,0) +#define G_DEFINE_BOXED_TYPE(TypeName, type_name, copy_func, free_func) G_DEFINE_BOXED_TYPE_WITH_CODE (TypeName, type_name, copy_func, free_func, {}) +#define G_DEFINE_BOXED_TYPE_WITH_CODE(TypeName, type_name, copy_func, free_func, _C_) _G_DEFINE_BOXED_TYPE_BEGIN (TypeName, type_name, copy_func, free_func) {_C_;} _G_DEFINE_TYPE_EXTENDED_END() +#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) +#define _G_DEFINE_BOXED_TYPE_BEGIN(TypeName, type_name, copy_func, free_func) \ +GType \ +type_name##_get_type (void) \ +{ \ + static volatile gsize g_define_type_id__volatile = 0; \ + if (g_once_init_enter (&g_define_type_id__volatile)) \ + { \ + GType (* _g_register_boxed) \ + (const gchar *, \ + union \ + { \ + TypeName * (*do_copy_type) (TypeName *); \ + TypeName * (*do_const_copy_type) (const TypeName *); \ + GBoxedCopyFunc do_copy_boxed; \ + } __attribute__((__transparent_union__)), \ + union \ + { \ + void (* do_free_type) (TypeName *); \ + GBoxedFreeFunc do_free_boxed; \ + } __attribute__((__transparent_union__)) \ + ) = g_boxed_type_register_static; \ + GType g_define_type_id = \ + _g_register_boxed (g_intern_static_string (#TypeName), copy_func, free_func); \ + { /* custom code follows */ +#else +#define _G_DEFINE_BOXED_TYPE_BEGIN(TypeName, type_name, copy_func, free_func) \ +GType \ +type_name##_get_type (void) \ +{ \ + static volatile gsize g_define_type_id__volatile = 0; \ + if (g_once_init_enter (&g_define_type_id__volatile)) \ + { \ + GType g_define_type_id = \ + g_boxed_type_register_static (g_intern_static_string (#TypeName), \ + (GBoxedCopyFunc) copy_func, \ + (GBoxedFreeFunc) free_func); \ + { /* custom code follows */ +#endif /* __GNUC__ */ + +#define g_source_set_name(source, name) G_STMT_START { } G_STMT_END + +#define G_TYPE_ERROR (spice_error_get_type ()) +GType spice_error_get_type (void) G_GNUC_CONST; + +#define G_PARAM_DEPRECATED (1 << 31) + +void g_key_file_set_uint64 (GKeyFile *key_file, + const gchar *group_name, + const gchar *key, + guint64 value); +#endif /* glib 2.26 */ + +#if !GLIB_CHECK_VERSION(2,28,0) +#define g_clear_object(object_ptr) \ + G_STMT_START { \ + /* Only one access, please */ \ + gpointer *_p = (gpointer) (object_ptr); \ + gpointer _o; \ + \ + do \ + _o = g_atomic_pointer_get (_p); \ + while G_UNLIKELY (!g_atomic_pointer_compare_and_exchange (_p, _o, NULL));\ + \ + if (_o) \ + g_object_unref (_o); \ + } G_STMT_END + +void +g_simple_async_result_take_error(GSimpleAsyncResult *simple, + GError *error); + +void +g_slist_free_full(GSList *list, + GDestroyNotify free_func); + +#endif /* glib 2.28 */ + +#if !GLIB_CHECK_VERSION(2,30,0) +#define G_TYPE_MAIN_CONTEXT (spice_main_context_get_type ()) +GType spice_main_context_get_type (void) G_GNUC_CONST; +#endif + +#if !GLIB_CHECK_VERSION(2,32,0) +# define G_SIGNAL_DEPRECATED (1 << 9) +#endif + +#ifndef g_clear_pointer +#define g_clear_pointer(pp, destroy) \ + G_STMT_START { \ + G_STATIC_ASSERT (sizeof *(pp) == sizeof (gpointer)); \ + /* Only one access, please */ \ + gpointer *_pp = (gpointer *) (pp); \ + gpointer _p; \ + /* This assignment is needed to avoid a gcc warning */ \ + GDestroyNotify _destroy = (GDestroyNotify) (destroy); \ + \ + (void) (0 ? (gpointer) *(pp) : 0); \ + do \ + _p = g_atomic_pointer_get (_pp); \ + while G_UNLIKELY (!g_atomic_pointer_compare_and_exchange (_pp, _p, NULL)); \ + \ + if (_p) \ + _destroy (_p); \ + } G_STMT_END +#endif + +#endif /* GLIB_COMPAT_H */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/keymap-gen.pl b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/keymap-gen.pl new file mode 100644 index 0000000..3582e2b --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/keymap-gen.pl @@ -0,0 +1,210 @@ +#!/usr/bin/perl + +use strict; +use warnings; + +use Text::CSV; + +my %names = ( + linux => [], + osx => [] +); + +my %namecolumns = ( + linux => 0, + osx => 2, + win32 => 10, + ); + +# Base data sources: +# +# linux: Linux: linux/input.h (master set) +# osx: OS-X: Carbon/HIToolbox/Events.h (manually mapped) +# atset1: AT Set 1: linux/drivers/input/keyboard/atkbd.c (atkbd_set2_keycode + atkbd_unxlate_table) +# atset2: AT Set 2: linux/drivers/input/keyboard/atkbd.c (atkbd_set2_keycode) +# atset3: AT Set 3: linux/drivers/input/keyboard/atkbd.c (atkbd_set3_keycode) +# xt: XT: linux/drivers/input/keyboard/xt.c (xtkbd_keycode) +# xtkbd: Linux RAW: linux/drivers/char/keyboard.c (x86_keycodes) +# usb: USB HID: linux/drivers/hid/usbhid/usbkbd.c (usb_kbd_keycode) +# win32: Win32: mingw32/winuser.h (manually mapped) +# xwinxt: XWin XT: xorg-server/hw/xwin/{winkeybd.c,winkeynames.h} (xt + manually transcribed) +# xkbdxt: XKBD XT: xf86-input-keyboard/src/at_scancode.c (xt + manually transcribed) +# +# Derived data sources +# +# xorgevdev: Xorg + evdev: linux + an offset +# xorgkbd: Xorg + kbd: xkbdxt + an offset +# xorgxquartz: Xorg + OS-X: osx + an offset +# xorgxwin: Xorg + Cygwin: xwinxt + an offset +# rfb: XT over RFB: xtkbd + special re-encoding of high bit + +my @basemaps = qw(linux osx atset1 atset2 atset3 xt xtkbd usb win32 xwinxt xkbdxt); +my @derivedmaps = qw(xorgevdev xorgkbd xorgxquartz xorgxwin rfb); +my @maps = (@basemaps, @derivedmaps); + +my %maps; + +foreach my $map (@maps) { + $maps{$map} = [ [], [] ]; +} +my %mapcolumns = ( + osx => 3, + atset1 => 4, + atset2 => 5, + atset3 => 6, + xt => 7, + xtkbd => 8, + usb => 9, + win32 => 11, + xwinxt => 12, + xkbdxt => 13, + ); + +sub help { + my $msg = shift; + print $msg; + print "\n"; + print "Valid keymaps are:\n"; + print "\n"; + foreach my $name (sort { $a cmp $b } keys %maps) { + print " $name\n"; + } + print "\n"; + exit (1); +} + +if ($#ARGV != 2) { + help("syntax: $0 KEYMAPS SRCMAP DSTMAP\n"); +} + +my $keymaps = shift @ARGV; +my $src = shift @ARGV; +my $dst = shift @ARGV; + +help("$src is not a known keymap\n") unless exists $maps{$src}; +help("$dst is not a known keymap\n") unless exists $maps{$dst}; + + +open CSV, $keymaps + or die "cannot read $keymaps: $!"; + +my $csv = Text::CSV->new(); +# Discard column headings +$csv->getline(\*CSV); + +my $row; +while ($row = $csv->getline(\*CSV)) { + my $linux = $row->[1]; + + $linux = hex($linux) if $linux =~ /0x/; + + my $to = $maps{linux}->[0]; + my $from = $maps{linux}->[1]; + $to->[$linux] = $linux; + $from->[$linux] = $linux; + + foreach my $name (keys %namecolumns) { + my $col = $namecolumns{$name}; + my $val = $row->[$col]; + + $val = "" unless defined $val; + + $names{$name}->[$linux] = $val; + } + + foreach my $name (keys %mapcolumns) { + my $col = $mapcolumns{$name}; + my $val = $row->[$col]; + + next unless defined $val && $val ne ""; + $val = hex($val) if $val =~ /0x/; + + $to = $maps{$name}->[0]; + $from = $maps{$name}->[1]; + $to->[$linux] = $val; + $from->[$val] = $linux; + } + + # XXX there are some special cases in kbd to handle + # Xorg KBD driver is the Xorg KBD XT codes offset by +8 + # The XKBD XT codes are the same as normal XT codes + # for values <= 83, and completely made up for extended + # scancodes :-( + ($to, $from) = @{$maps{xorgkbd}}; + if (defined $maps{xkbdxt}->[0]->[$linux]) { + $to->[$linux] = $maps{xkbdxt}->[0]->[$linux] + 8; + $from->[$to->[$linux]] = $linux; + } + + # Xorg evdev is simply Linux keycodes offset by +8 + ($to, $from) = @{$maps{xorgevdev}}; + $to->[$linux] = $linux + 8; + $from->[$to->[$linux]] = $linux; + + # Xorg XQuartz is simply OS-X keycodes offset by +8 + ($to, $from) = @{$maps{xorgxquartz}}; + if (defined $maps{osx}->[0]->[$linux]) { + $to->[$linux] = $maps{osx}->[0]->[$linux] + 8; + $from->[$to->[$linux]] = $linux; + } + + # RFB keycodes are XT kbd keycodes with a slightly + # different encoding of 0xe0 scan codes. RFB uses + # the high bit of the first byte, instead of the low + # bit of the second byte. + ($to, $from) = @{$maps{rfb}}; + my $xtkbd = $maps{xtkbd}->[0]->[$linux]; + if (defined $xtkbd) { + $to->[$linux] = $xtkbd ? (($xtkbd & 0x100)>>1) | ($xtkbd & 0x7f) : 0; + $from->[$to->[$linux]] = $linux; + } + + # Xorg Cygwin is the Xorg Cygwin XT codes offset by +8 + # The Cygwin XT codes are the same as normal XT codes + # for values <= 83, and completely made up for extended + # scancodes :-( + ($to, $from) = @{$maps{xorgxwin}}; + if (defined $maps{xwinxt}->[0]->[$linux]) { + $to->[$linux] = $maps{xwinxt}->[0]->[$linux] + 8; + $from->[$to->[$linux]] = $linux; + } + +# print $linux, "\n"; +} + +close CSV; + +my $srcmap = $maps{$src}->[1]; +my $dstmap = $maps{$dst}->[0]; + +printf "static const guint16 keymap_%s2%s[] = {\n", $src, $dst; + +for (my $i = 0 ; $i <= $#{$srcmap} ; $i++) { + my $linux = $srcmap->[$i] || 0; + my $j = $dstmap->[$linux]; + next unless $linux && $j; + + my $srcname = $names{$src}->[$linux] if exists $names{$src}; + my $dstname = $names{$dst}->[$linux] if exists $names{$dst}; + my $vianame = $names{linux}->[$linux] unless $src eq "linux" || $dst eq "linux"; + + $srcname = "" unless $srcname; + $dstname = "" unless $dstname; + $vianame = "" unless $vianame; + $srcname = " ($srcname)" if $srcname; + $dstname = " ($dstname)" if $dstname; + $vianame = " ($vianame)" if $vianame; + + my $comment; + if ($src ne "linux" && $dst ne "linux") { + $comment = sprintf "%d%s => %d%s via %d%s", $i, $srcname, $j, $dstname, $linux, $vianame; + } else { + $comment = sprintf "%d%s => %d%s", $i, $srcname, $j, $dstname; + } + + my $data = sprintf "[0x%x] = 0x%x,", $i, $j; + + printf " %-20s /* %s */\n", $data, $comment; +} + +print "};\n"; diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/keymaps.csv b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/keymaps.csv new file mode 100644 index 0000000..a5bf5cb Binary files /dev/null and b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/keymaps.csv differ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/map-file b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/map-file new file mode 100644 index 0000000..e6c54d4 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/map-file @@ -0,0 +1,124 @@ +SPICEGTK_1 { +global: +spice_audio_get; +spice_audio_get_type; +spice_audio_new; +spice_channel_connect; +spice_channel_destroy; +spice_channel_disconnect; +spice_channel_event_get_type; +spice_channel_get_type; +spice_channel_new; +spice_channel_open_fd; +spice_channel_set_capability; +spice_channel_test_capability; +spice_channel_test_common_capability; +spice_channel_type_to_string; +spice_channel_flush_async; +spice_channel_flush_finish; +spice_client_error_quark; +spice_cursor_channel_get_type; +spice_display_channel_get_type; +spice_display_get_primary; +spice_display_copy_to_guest; +spice_display_get_grab_keys; +spice_display_get_pixbuf; +spice_display_get_type; +spice_display_key_event_get_type; +spice_display_mouse_ungrab; +spice_display_new; +spice_display_new_with_monitor; +spice_display_paste_from_guest; +spice_display_send_keys; +spice_display_send_hwkeys; +spice_display_send_rotation; +spice_display_send_hostkbd; +spice_display_send_close; +spice_display_get_sdbport; +spice_display_set_grab_keys; +spice_error_get_type; +spice_get_option_group; +spice_grab_sequence_as_string; +spice_grab_sequence_copy; +spice_grab_sequence_free; +spice_grab_sequence_get_type; +spice_grab_sequence_new; +spice_grab_sequence_new_from_string; +spice_g_signal_connect_object; +spice_gtk_session_copy_to_guest; +spice_gtk_session_get; +spice_gtk_session_get_type; +spice_gtk_session_paste_from_guest; +spice_inputs_button_press; +spice_inputs_button_release; +spice_inputs_channel_get_type; +spice_inputs_key_press; +spice_inputs_tizen_keydown; +spice_inputs_tizen_keyup; +spice_inputs_key_press_and_release; +spice_inputs_key_release; +spice_inputs_lock_get_type; +spice_inputs_motion; +spice_inputs_position; +spice_inputs_set_key_locks; +spice_main_agent_test_capability; +spice_main_file_copy_async; +spice_main_file_copy_finish; +spice_main_channel_get_type; +spice_main_clipboard_grab; +spice_main_clipboard_notify; +spice_main_clipboard_release; +spice_main_clipboard_request; +spice_main_clipboard_selection_grab; +spice_main_clipboard_selection_notify; +spice_main_clipboard_selection_release; +spice_main_clipboard_selection_request; +spice_main_send_monitor_config; +spice_main_set_display; +spice_main_set_display_enabled; +spice_main_update_display; +spice_playback_channel_get_type; +spice_playback_channel_set_delay; +spice_port_channel_get_type; +spice_port_event; +spice_port_write_async; +spice_port_write_finish; +spice_record_channel_get_type; +spice_record_send_data; +spice_session_connect; +spice_session_disconnect; +spice_session_get_channels; +spice_session_get_read_only; +spice_session_get_type; +spice_session_has_channel_type; +spice_session_migration_get_type; +spice_session_new; +spice_session_open_fd; +spice_session_verify_get_type; +spice_set_session_option; +spice_smartcard_channel_get_type; +spice_smartcard_manager_get; +spice_smartcard_manager_get_type; +spice_smartcard_manager_insert_card; +spice_smartcard_manager_remove_card; +spice_smartcard_reader_get_type; +spice_smartcard_reader_is_software; +spice_usb_device_get_description; +spice_usb_device_get_type; +spice_usb_device_manager_can_redirect_device; +spice_usb_device_manager_connect_device_async; +spice_usb_device_manager_connect_device_finish; +spice_usb_device_manager_disconnect_device; +spice_usb_device_manager_get; +spice_usb_device_manager_get_devices; +spice_usb_device_manager_get_type; +spice_usb_device_manager_is_device_connected; +spice_usb_device_widget_get_type; +spice_usb_device_widget_new; +spice_usbredir_channel_get_type; +spice_util_get_debug; +spice_util_get_version_string; +spice_util_set_debug; +local: +*; +}; diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/smartcard-manager-priv.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/smartcard-manager-priv.h new file mode 100644 index 0000000..f408d1f --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/smartcard-manager-priv.h @@ -0,0 +1,39 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SMARTCARD_MANAGER_PRIV_H__ +#define __SMARTCARD_MANAGER_PRIV_H__ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif +#include +#include "spice-session.h" + +G_BEGIN_DECLS + +void spice_smartcard_manager_init_async(SpiceSession *session, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer opaque); +gboolean spice_smartcard_manager_init_finish(SpiceSession *session, + GAsyncResult *result, + GError **err); + +G_END_DECLS + +#endif /* __SMARTCARD_MANAGER_PRIV_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/smartcard-manager.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/smartcard-manager.c new file mode 100644 index 0000000..51f228a --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/smartcard-manager.c @@ -0,0 +1,617 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#include "config.h" + +#include +#include + +#include "glib-compat.h" + +#ifdef USE_SMARTCARD +#include +#include +#include +#endif + +#include "spice-client.h" +#include "smartcard-manager.h" +#include "smartcard-manager-priv.h" +#include "spice-marshal.h" + +/** + * SECTION:smartcard-manager + * @short_description: smartcard management + * @title: Spice Smartcard Manager + * @section_id: + * @see_also: + * @stability: Stable + * @include: smartcard-manager.h + * + * #SpiceSmartcardManager monitors smartcard reader plugging/unplugging, + * and smartcard insertions/removals. It also provides methods to handle + * software smartcards (to emulate a smartcard reader/smartcard on the + * guest using 3 certificates available to the client). + */ + +/* ------------------------------------------------------------------ */ +/* gobject glue */ + +#define SPICE_SMARTCARD_MANAGER_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE ((obj), SPICE_TYPE_SMARTCARD_MANAGER, SpiceSmartcardManagerPrivate)) + +struct _SpiceSmartcardManagerPrivate { + guint monitor_id; + + /* software smartcard reader, the certificates to use for this reader + * were given at the channel creation time. This reader has no physical + * existence, it's all controlled by explicit software + * insertion/removal of cards + */ +#ifdef USE_SMARTCARD + VReader *software_reader; +#endif +}; + +G_DEFINE_TYPE(SpiceSmartcardManager, spice_smartcard_manager, G_TYPE_OBJECT) +#ifdef USE_SMARTCARD +G_DEFINE_BOXED_TYPE(VReader, spice_smartcard_reader, vreader_reference, vreader_free) +#else +typedef GObject VReader; +G_DEFINE_BOXED_TYPE(VReader, spice_smartcard_reader, g_object_ref, g_object_unref) +#endif + +/* Properties */ +enum { + PROP_0, +}; + +/* Signals */ +enum { + SPICE_SMARTCARD_MANAGER_READER_ADDED, + SPICE_SMARTCARD_MANAGER_READER_REMOVED, + SPICE_SMARTCARD_MANAGER_CARD_INSERTED, + SPICE_SMARTCARD_MANAGER_CARD_REMOVED, + + SPICE_SMARTCARD_MANAGER_LAST_SIGNAL, +}; + +static guint signals[SPICE_SMARTCARD_MANAGER_LAST_SIGNAL]; + +#ifdef USE_SMARTCARD +typedef gboolean (*SmartcardSourceFunc)(VEvent *event, gpointer user_data); +static gboolean smartcard_monitor_dispatch(VEvent *event, gpointer user_data); +#endif + +/* ------------------------------------------------------------------ */ + +static void spice_smartcard_manager_init(SpiceSmartcardManager *smartcard_manager) +{ + SpiceSmartcardManagerPrivate *priv; + + priv = SPICE_SMARTCARD_MANAGER_GET_PRIVATE(smartcard_manager); + smartcard_manager->priv = priv; +} + +static void spice_smartcard_manager_dispose(GObject *gobject) +{ + /* Chain up to the parent class */ + if (G_OBJECT_CLASS(spice_smartcard_manager_parent_class)->dispose) + G_OBJECT_CLASS(spice_smartcard_manager_parent_class)->dispose(gobject); +} + +static void spice_smartcard_manager_finalize(GObject *gobject) +{ + SpiceSmartcardManagerPrivate *priv; + + priv = SPICE_SMARTCARD_MANAGER_GET_PRIVATE(gobject); + if (priv->monitor_id != 0) { + g_source_remove(priv->monitor_id); + priv->monitor_id = 0; + } + +#ifdef USE_SMARTCARD + if (priv->software_reader != NULL) { + vreader_free(priv->software_reader); + priv->software_reader = NULL; + } +#endif + + /* Chain up to the parent class */ + if (G_OBJECT_CLASS(spice_smartcard_manager_parent_class)->finalize) + G_OBJECT_CLASS(spice_smartcard_manager_parent_class)->finalize(gobject); +} + +static void spice_smartcard_manager_class_init(SpiceSmartcardManagerClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS (klass); + + /** + * SpiceSmartcardManager::reader-added: + * @manager: the #SpiceSmartcardManager that emitted the signal + * @vreader: #VReader boxed object corresponding to the added reader + * + * The #SpiceSmartcardManager::reader-added signal is emitted whenever + * a new smartcard reader (software or hardware) has been plugged in. + **/ + signals[SPICE_SMARTCARD_MANAGER_READER_ADDED] = + g_signal_new("reader-added", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceSmartcardManagerClass, reader_added), + NULL, NULL, + g_cclosure_marshal_VOID__BOXED, + G_TYPE_NONE, + 1, + SPICE_TYPE_SMARTCARD_READER); + + /** + * SpiceSmartcardManager::reader-removed: + * @manager: the #SpiceSmartcardManager that emitted the signal + * @vreader: #VReader boxed object corresponding to the removed reader + * + * The #SpiceSmartcardManager::reader-removed signal is emitted whenever + * a smartcard reader (software or hardware) has been removed. + **/ + signals[SPICE_SMARTCARD_MANAGER_READER_REMOVED] = + g_signal_new("reader-removed", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceSmartcardManagerClass, reader_removed), + NULL, NULL, + g_cclosure_marshal_VOID__BOXED, + G_TYPE_NONE, + 1, + SPICE_TYPE_SMARTCARD_READER); + + /** + * SpiceSmartcardManager::card-inserted: + * @manager: the #SpiceSmartcardManager that emitted the signal + * @vreader: #VReader boxed object corresponding to the reader a new + * card was inserted in + * + * The #SpiceSmartcardManager::card-inserted signal is emitted whenever + * a smartcard is inserted in a reader + **/ + signals[SPICE_SMARTCARD_MANAGER_CARD_INSERTED] = + g_signal_new("card-inserted", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceSmartcardManagerClass, card_inserted), + NULL, NULL, + g_cclosure_marshal_VOID__BOXED, + G_TYPE_NONE, + 1, + SPICE_TYPE_SMARTCARD_READER); + + /** + * SpiceSmartcardManager::card-removed: + * @manager: the #SpiceSmartcardManager that emitted the signal + * @vreader: #VReader boxed object corresponding to the reader a card + * was removed from + * + * The #SpiceSmartcardManager::card-removed signal is emitted whenever + * a smartcard was removed from a reader. + **/ + signals[SPICE_SMARTCARD_MANAGER_CARD_REMOVED] = + g_signal_new("card-removed", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceSmartcardManagerClass, card_removed), + NULL, NULL, + g_cclosure_marshal_VOID__BOXED, + G_TYPE_NONE, + 1, + SPICE_TYPE_SMARTCARD_READER); + gobject_class->dispose = spice_smartcard_manager_dispose; + gobject_class->finalize = spice_smartcard_manager_finalize; + + g_type_class_add_private(klass, sizeof(SpiceSmartcardManagerPrivate)); +} + +/* ------------------------------------------------------------------ */ +/* private api */ + +static SpiceSmartcardManager *spice_smartcard_manager_new(void) +{ + return g_object_new(SPICE_TYPE_SMARTCARD_MANAGER, NULL); +} + +/* ------------------------------------------------------------------ */ +/* public api */ + +/** + * spice_smartcard_manager_get: + * + * #SpiceSmartcardManager is a singleton, use this function to get a pointer + * to it. A new SpiceSmartcardManager instance will be created the first + * time this function is called + * + * Returns: (transfer none): a weak reference to the #SpiceSmartcardManager + */ +SpiceSmartcardManager *spice_smartcard_manager_get(void) +{ + static GOnce manager_singleton_once = G_ONCE_INIT; + + return g_once(&manager_singleton_once, + (GThreadFunc)spice_smartcard_manager_new, + NULL); +} + +#ifdef USE_SMARTCARD +static gboolean smartcard_monitor_dispatch(VEvent *event, gpointer user_data) +{ + g_return_val_if_fail(event != NULL, TRUE); + SpiceSmartcardManager *manager = SPICE_SMARTCARD_MANAGER(user_data); + + switch (event->type) { + case VEVENT_READER_INSERT: + if (spice_smartcard_reader_is_software((SpiceSmartcardReader*)event->reader)) { + g_warn_if_fail(manager->priv->software_reader == NULL); + manager->priv->software_reader = vreader_reference(event->reader); + } + SPICE_DEBUG("smartcard: reader-added"); + g_signal_emit(G_OBJECT(user_data), + signals[SPICE_SMARTCARD_MANAGER_READER_ADDED], + 0, event->reader); + break; + + case VEVENT_READER_REMOVE: + if (spice_smartcard_reader_is_software((SpiceSmartcardReader*)event->reader)) { + g_warn_if_fail(manager->priv->software_reader != NULL); + vreader_free(manager->priv->software_reader); + manager->priv->software_reader = NULL; + } + SPICE_DEBUG("smartcard: reader-removed"); + g_signal_emit(G_OBJECT(user_data), + signals[SPICE_SMARTCARD_MANAGER_READER_REMOVED], + 0, event->reader); + break; + + case VEVENT_CARD_INSERT: + SPICE_DEBUG("smartcard: card-inserted"); + g_signal_emit(G_OBJECT(user_data), + signals[SPICE_SMARTCARD_MANAGER_CARD_INSERTED], + 0, event->reader); + break; + case VEVENT_CARD_REMOVE: + SPICE_DEBUG("smartcard: card-removed"); + g_signal_emit(G_OBJECT(user_data), + signals[SPICE_SMARTCARD_MANAGER_CARD_REMOVED], + 0, event->reader); + break; + case VEVENT_LAST: + break; + } + + return TRUE; +} + +/* ------------------------------------------------------------------ */ +/* smartcard monitoring GSource */ +struct _SmartcardSource { + GSource parent_source; + VEvent *pending_event; +}; +typedef struct _SmartcardSource SmartcardSource; + +static gboolean smartcard_source_prepare(GSource *source, gint *timeout) +{ + SmartcardSource *smartcard_source = (SmartcardSource *)source; + + if (smartcard_source->pending_event == NULL) + smartcard_source->pending_event = vevent_get_next_vevent(); + + if (timeout != NULL) + *timeout = -1; + + return (smartcard_source->pending_event != NULL); +} + +static gboolean smartcard_source_check(GSource *source) +{ + return smartcard_source_prepare(source, NULL); +} + +static gboolean smartcard_source_dispatch(GSource *source, + GSourceFunc callback, + gpointer user_data) +{ + SmartcardSource *smartcard_source = (SmartcardSource *)source; + SmartcardSourceFunc smartcard_callback = (SmartcardSourceFunc)callback; + + g_return_val_if_fail(smartcard_source->pending_event != NULL, FALSE); + + if (callback) { + gboolean event_consumed; + event_consumed = smartcard_callback(smartcard_source->pending_event, + user_data); + if (event_consumed) { + vevent_delete(smartcard_source->pending_event); + smartcard_source->pending_event = NULL; + } + } + + return TRUE; +} + +static void smartcard_source_finalize(GSource *source) +{ + SmartcardSource *smartcard_source = (SmartcardSource *)source; + + if (smartcard_source->pending_event) { + vevent_delete(smartcard_source->pending_event); + smartcard_source->pending_event = NULL; + } +} + +static GSource *smartcard_monitor_source_new(void) +{ + static GSourceFuncs source_funcs = { + .prepare = smartcard_source_prepare, + .check = smartcard_source_check, + .dispatch = smartcard_source_dispatch, + .finalize = smartcard_source_finalize + }; + GSource *source; + + source = g_source_new(&source_funcs, sizeof(SmartcardSource)); + g_source_set_name(source, "Smartcard event source"); + return source; +} + +static guint smartcard_monitor_add(SmartcardSourceFunc callback, + gpointer user_data) +{ + GSource *source; + guint id; + + source = smartcard_monitor_source_new(); + g_source_set_callback(source, (GSourceFunc)callback, user_data, NULL); + id = g_source_attach(source, NULL); + g_source_unref(source); + + return id; +} + +static void +spice_smartcard_manager_update_monitor(void) +{ + SpiceSmartcardManager *self = spice_smartcard_manager_get(); + SpiceSmartcardManagerPrivate *priv = self->priv; + + if (priv->monitor_id != 0) + return; + + priv->monitor_id = smartcard_monitor_add(smartcard_monitor_dispatch, self); +} + +#define SPICE_SOFTWARE_READER_NAME "Spice Software Smartcard" + +/** + * spice_smartcard_reader_is_software: + * @reader: a #SpiceSmartcardReader + * + * Tests if @reader is a software (emulated) smartcard reader. + * + * Returns: TRUE if @reader is a software (emulated) smartcard reader, + * FALSE otherwise + */ +gboolean spice_smartcard_reader_is_software(SpiceSmartcardReader *reader) +{ + g_return_val_if_fail(reader != NULL, FALSE); + return (strcmp(vreader_get_name((VReader*)reader), SPICE_SOFTWARE_READER_NAME) == 0); +} + +static gboolean smartcard_manager_init(SpiceSession *session, + GCancellable *cancellable, + GError **err) +{ + gchar *emul_args = NULL; + VCardEmulOptions *options = NULL; + gchar *dbname = NULL; + GStrv certificates = NULL; + gboolean retval = FALSE; + + SPICE_DEBUG("smartcard_manager_init"); + g_return_val_if_fail(SPICE_IS_SESSION(session), FALSE); + g_object_get(G_OBJECT(session), + "smartcard-db", &dbname, + "smartcard-certificates", &certificates, + NULL); + + if ((certificates == NULL) || (g_strv_length(certificates) != 3)) + goto init; + + if (dbname) { + emul_args = g_strdup_printf("db=\"%s\" use_hw=no " + "soft=(,%s,CAC,,%s,%s,%s)", + dbname, SPICE_SOFTWARE_READER_NAME, + certificates[0], certificates[1], + certificates[2]); + } else { + emul_args = g_strdup_printf("use_hw=no soft=(,%s,CAC,,%s,%s,%s)", + SPICE_SOFTWARE_READER_NAME, + certificates[0], certificates[1], + certificates[2]); + } + + options = vcard_emul_options(emul_args); + if (options == NULL) { + *err = g_error_new(SPICE_CLIENT_ERROR, + SPICE_CLIENT_ERROR_FAILED, + "vcard_emul_options() failed!"); + goto end; + } + + if (g_cancellable_set_error_if_cancelled(cancellable, err)) + goto end; + +init: + SPICE_DEBUG("vcard_emul_init"); + if (vcard_emul_init(options) != VCARD_EMUL_OK) { + *err = g_error_new(SPICE_CLIENT_ERROR, + SPICE_CLIENT_ERROR_FAILED, + "Failed to initialize smartcard"); + goto end; + } + + retval = TRUE; + +end: + SPICE_DEBUG("smartcard_manager_init end: %d", retval); + g_free(emul_args); + g_free(dbname); + g_strfreev(certificates); + return retval; +} + +static void smartcard_manager_init_helper(GSimpleAsyncResult *res, + GObject *object, + GCancellable *cancellable) +{ + SpiceSession *session = SPICE_SESSION(object); + GError *err = NULL; + + if (!smartcard_manager_init(session, cancellable, &err)) { + g_simple_async_result_set_from_error(res, err); + g_error_free(err); + } +} + + +G_GNUC_INTERNAL +void spice_smartcard_manager_init_async(SpiceSession *session, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer opaque) +{ + GSimpleAsyncResult *res; + + res = g_simple_async_result_new(G_OBJECT(session), + callback, + opaque, + spice_smartcard_manager_init); + g_simple_async_result_run_in_thread(res, + smartcard_manager_init_helper, + G_PRIORITY_DEFAULT, + cancellable); + g_object_unref(res); +} + +G_GNUC_INTERNAL +gboolean spice_smartcard_manager_init_finish(SpiceSession *session, + GAsyncResult *result, + GError **err) +{ + GSimpleAsyncResult *simple; + + g_return_val_if_fail(SPICE_IS_SESSION(session), FALSE); + g_return_val_if_fail(G_IS_SIMPLE_ASYNC_RESULT(result), FALSE); + + SPICE_DEBUG("smartcard_manager_finish"); + + simple = G_SIMPLE_ASYNC_RESULT(result); + g_return_val_if_fail(g_simple_async_result_get_source_tag(simple) == spice_smartcard_manager_init, FALSE); + if (g_simple_async_result_propagate_error(simple, err)) + return FALSE; + + spice_smartcard_manager_update_monitor(); + + return TRUE; +} + +/** + * spice_smartcard_manager_insert_card: + * @manager: a #SpiceSmartcardManager + * + * Simulates the insertion of a smartcard in the guest. Valid certificates + * must have been set in #SpiceSession:smartcard-certificates for software + * smartcard support to work. At the moment, only one software smartcard + * reader is supported, that's why there is no parameter to indicate which + * reader to insert the card in. + * + * Returns: TRUE if smartcard insertion was successfully simulated, FALSE + * if this failed, or if software smartcard support isn't enabled. + */ +gboolean spice_smartcard_manager_insert_card(SpiceSmartcardManager *manager) +{ + VCardEmulError status; + + g_return_val_if_fail(manager->priv->software_reader != NULL, FALSE); + + status = vcard_emul_force_card_insert(manager->priv->software_reader); + + return (status == VCARD_EMUL_OK); +} + +/** + * spice_smartcard_manager_remove_card: + * @manager: a #SpiceSmartcardManager + * + * Simulates the removal of a smartcard in the guest. At the moment, only + * one software smartcard reader is supported, that's why there is no + * parameter to indicate which reader to insert the card in. + * + * Returns: TRUE if smartcard removal was successfully simulated, FALSE + * if this failed, or if software smartcard support isn't enabled. + */ +gboolean spice_smartcard_manager_remove_card(SpiceSmartcardManager *manager) +{ + VCardEmulError status; + + g_return_val_if_fail(manager->priv->software_reader != NULL, FALSE); + + status = vcard_emul_force_card_remove(manager->priv->software_reader); + + return (status == VCARD_EMUL_OK); +} +#else +gboolean spice_smartcard_reader_is_software(SpiceSmartcardReader *reader) +{ + return TRUE; +} + +G_GNUC_INTERNAL +void spice_smartcard_manager_init_async(SpiceSession *session, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer opaque) +{ + SPICE_DEBUG("using fake smartcard backend"); +} + +G_GNUC_INTERNAL +gboolean spice_smartcard_manager_init_finish(SpiceSession *session, + GAsyncResult *result, + GError **err) +{ + g_return_val_if_fail(SPICE_IS_SESSION(session), FALSE); + + return TRUE; +} + +gboolean spice_smartcard_manager_insert_card(SpiceSmartcardManager *manager) +{ + return FALSE; +} + +gboolean spice_smartcard_manager_remove_card(SpiceSmartcardManager *manager) +{ + return FALSE; +} +#endif /* USE_SMARTCARD */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/smartcard-manager.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/smartcard-manager.h new file mode 100644 index 0000000..24d9f92 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/smartcard-manager.h @@ -0,0 +1,79 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_SMARTCARD_MANAGER_H__ +#define __SPICE_SMARTCARD_MANAGER_H__ + +G_BEGIN_DECLS + +#include "spice-types.h" +#include "spice-glib-enums.h" +#include "spice-util.h" + +#define SPICE_TYPE_SMARTCARD_MANAGER (spice_smartcard_manager_get_type ()) +#define SPICE_SMARTCARD_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPICE_TYPE_SMARTCARD_MANAGER, SpiceSmartcardManager)) +#define SPICE_SMARTCARD_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SPICE_TYPE_SMARTCARD_MANAGER, SpiceSmartcardManagerClass)) +#define SPICE_IS_SMARTCARD_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPICE_TYPE_SMARTCARD_MANAGER)) +#define SPICE_IS_SMARTCARD_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPICE_TYPE_SMARTCARD_MANAGER)) +#define SPICE_SMARTCARD_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPICE_TYPE_SMARTCARD_MANAGER, SpiceSmartcardManagerClass)) + +#define SPICE_TYPE_SMARTCARD_READER (spice_smartcard_reader_get_type()) + +typedef struct _SpiceSmartcardManager SpiceSmartcardManager; +typedef struct _SpiceSmartcardManagerClass SpiceSmartcardManagerClass; +typedef struct _SpiceSmartcardManagerPrivate SpiceSmartcardManagerPrivate; +typedef struct _SpiceSmartcardReader SpiceSmartcardReader; + +struct _SpiceSmartcardManager +{ + GObject parent; + + /*< private >*/ + SpiceSmartcardManagerPrivate *priv; + /* Do not add fields to this struct */ +}; + +struct _SpiceSmartcardManagerClass +{ + GObjectClass parent_class; + /*< public >*/ + /* signals */ + void (*reader_added)(SpiceSmartcardManager *manager, SpiceSmartcardReader *reader); + void (*reader_removed)(SpiceSmartcardManager *manager, SpiceSmartcardReader *reader); + void (*card_inserted)(SpiceSmartcardManager *manager, SpiceSmartcardReader *reader); + void (*card_removed)(SpiceSmartcardManager *manager, SpiceSmartcardReader *reader ); + + /*< private >*/ + /* + * If adding fields to this struct, remove corresponding + * amount of padding to avoid changing overall struct size + */ + gchar _spice_reserved[SPICE_RESERVED_PADDING]; +}; + +GType spice_smartcard_manager_get_type(void); +GType spice_smartcard_reader_get_type(void); + +SpiceSmartcardManager *spice_smartcard_manager_get(void); +gboolean spice_smartcard_manager_insert_card(SpiceSmartcardManager *manager); +gboolean spice_smartcard_manager_remove_card(SpiceSmartcardManager *manager); +gboolean spice_smartcard_reader_is_software(SpiceSmartcardReader *reader); + +G_END_DECLS + +#endif /* __SPICE_SMARTCARD_MANAGER_H__ */ + diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-audio-priv.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-audio-priv.h new file mode 100644 index 0000000..71cc8ed --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-audio-priv.h @@ -0,0 +1,35 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_AUDIO_PRIVATE_H__ +#define __SPICE_AUDIO_PRIVATE_H__ + +#include +#include +#include "spice-session.h" + +G_BEGIN_DECLS + +struct _SpiceAudioPrivate { + SpiceSession *session; + GMainContext *main_context; +}; + +G_END_DECLS + +#endif /* __SPICE_AUDIO_PRIVATE_H__ */ + diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-audio.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-audio.c new file mode 100644 index 0000000..6cf8f01 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-audio.c @@ -0,0 +1,262 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +/* + * simple audio init dispatcher + */ + +/** + * SECTION:spice-audio + * @short_description: a helper to play and to record audio channels + * @title: Spice Audio + * @section_id: + * @see_also: #SpiceRecordChannel, and #SpicePlaybackChannel + * @stability: Stable + * @include: spice-audio.h + * + * A class that handles the playback and record channels for your + * application, and connect them to the default sound system. + */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "spice-client.h" +#include "spice-common.h" + +#include "spice-audio.h" +#include "spice-session-priv.h" +#include "spice-channel-priv.h" +#include "spice-audio-priv.h" + +#ifdef WITH_PULSE +#include "spice-pulse.h" +#endif +#ifdef WITH_GSTAUDIO +#include "spice-gstaudio.h" +#endif + +#include "glib-compat.h" + +#define SPICE_AUDIO_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE ((obj), SPICE_TYPE_AUDIO, SpiceAudioPrivate)) + +G_DEFINE_ABSTRACT_TYPE(SpiceAudio, spice_audio, G_TYPE_OBJECT) + +enum { + PROP_0, + PROP_SESSION, + PROP_MAIN_CONTEXT, +}; + +static void spice_audio_finalize(GObject *gobject) +{ + SpiceAudio *self = SPICE_AUDIO(gobject); + SpiceAudioPrivate *priv = self->priv; + + if (priv->main_context) { + g_main_context_unref(priv->main_context); + priv->main_context = NULL; + } + + if (G_OBJECT_CLASS(spice_audio_parent_class)->finalize) + G_OBJECT_CLASS(spice_audio_parent_class)->finalize(gobject); +} + +static void spice_audio_get_property(GObject *gobject, + guint prop_id, + GValue *value, + GParamSpec *pspec) +{ + SpiceAudio *self = SPICE_AUDIO(gobject); + SpiceAudioPrivate *priv = self->priv; + + switch (prop_id) { + case PROP_SESSION: + g_value_set_object(value, priv->session); + break; + case PROP_MAIN_CONTEXT: + g_value_set_boxed(value, priv->main_context); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, pspec); + break; + } +} + +static void spice_audio_set_property(GObject *gobject, + guint prop_id, + const GValue *value, + GParamSpec *pspec) +{ + SpiceAudio *self = SPICE_AUDIO(gobject); + SpiceAudioPrivate *priv = self->priv; + + switch (prop_id) { + case PROP_SESSION: + priv->session = g_value_get_object(value); + break; + case PROP_MAIN_CONTEXT: + priv->main_context = g_value_dup_boxed(value); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, pspec); + break; + } +} + +static void spice_audio_class_init(SpiceAudioClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS (klass); + GParamSpec *pspec; + + gobject_class->finalize = spice_audio_finalize; + gobject_class->get_property = spice_audio_get_property; + gobject_class->set_property = spice_audio_set_property; + + /** + * SpiceAudio:session: + * + * #SpiceSession this #SpiceAudio is associated with + * + **/ + pspec = g_param_spec_object("session", "Session", "SpiceSession", + SPICE_TYPE_SESSION, + G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); + g_object_class_install_property(gobject_class, PROP_SESSION, pspec); + + /** + * SpiceAudio:main-context: + */ + pspec = g_param_spec_boxed("main-context", "Main Context", + "GMainContext to use for the event source", + G_TYPE_MAIN_CONTEXT, + G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); + g_object_class_install_property(gobject_class, PROP_MAIN_CONTEXT, pspec); + + g_type_class_add_private(klass, sizeof(SpiceAudioPrivate)); +} + +static void spice_audio_init(SpiceAudio *self) +{ + self->priv = SPICE_AUDIO_GET_PRIVATE(self); +} + +static void connect_channel(SpiceAudio *self, SpiceChannel *channel) +{ + if (channel->priv->state != SPICE_CHANNEL_STATE_UNCONNECTED) + return; + + if (SPICE_AUDIO_GET_CLASS(self)->connect_channel(self, channel)) + spice_channel_connect(channel); +} + +static void update_audio_channels(SpiceAudio *self, SpiceSession *session) +{ + if (session->priv->audio) { + GList *list, *tmp; + + list = spice_session_get_channels(session); + for (tmp = g_list_first(list); tmp != NULL; tmp = g_list_next(tmp)) { + connect_channel(self, tmp->data); + } + g_list_free(list); + } else { + g_debug("FIXME: disconnect audio channels"); + } +} + +static void channel_new(SpiceSession *session, SpiceChannel *channel, SpiceAudio *self) +{ + connect_channel(self, channel); +} + +static void session_enable_audio(GObject *gobject, GParamSpec *pspec, + gpointer user_data) +{ + update_audio_channels(SPICE_AUDIO(user_data), SPICE_SESSION(gobject)); +} + +/** + * spice_audio_new: + * @session: the #SpiceSession to connect to + * @context: a #GMainContext to attach to (or %NULL for default). + * @name: a name for the audio channels (or %NULL for application name). + * + * Once instantiated, #SpiceAudio will handle the playback and record + * channels to stream to your local audio system. + * + * Returns: a new #SpiceAudio instance or %NULL if no backend or failed. + * Deprecated: 0.8: Use spice_audio_get() instead + **/ +SpiceAudio *spice_audio_new(SpiceSession *session, GMainContext *context, + const char *name) +{ + SpiceAudio *self = NULL; + + if (context == NULL) + context = g_main_context_default(); + if (name == NULL) + name = g_get_application_name(); + +#ifdef WITH_PULSE + self = SPICE_AUDIO(spice_pulse_new(session, context, name)); +#endif +#ifdef WITH_GSTAUDIO + self = SPICE_AUDIO(spice_gstaudio_new(session, context, name)); +#endif + if (!self) + return NULL; + + spice_g_signal_connect_object(session, "notify::enable-audio", G_CALLBACK(session_enable_audio), self, 0); + spice_g_signal_connect_object(session, "channel-new", G_CALLBACK(channel_new), self, 0); + update_audio_channels(self, session); + + return self; +} + +/** + * spice_audio_get: + * @session: the #SpiceSession to connect to + * @context: (allow-none): a #GMainContext to attach to (or %NULL for default). + * + * Gets the #SpiceAudio associated with the passed in #SpiceSession. + * A new #SpiceAudio instance will be created the first time this + * function is called for a certain #SpiceSession. + * + * Note that this function returns a weak reference, which should not be used + * after the #SpiceSession itself has been unref-ed by the caller. + * + * Returns: (transfer none): a weak reference to a #SpiceAudio + * instance or %NULL if failed. + **/ +SpiceAudio *spice_audio_get(SpiceSession *session, GMainContext *context) +{ + static GStaticMutex mutex = G_STATIC_MUTEX_INIT; + SpiceAudio *self; + + g_static_mutex_lock(&mutex); + self = session->priv->audio_manager; + if (self == NULL) { + self = spice_audio_new(session, context, NULL); + session->priv->audio_manager = self; + } + g_static_mutex_unlock(&mutex); + + return self; +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-audio.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-audio.h new file mode 100644 index 0000000..ebc4946 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-audio.h @@ -0,0 +1,85 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_CLIENT_AUDIO_H__ +#define __SPICE_CLIENT_AUDIO_H__ + +#include +#include "spice-util.h" +#include "spice-session.h" + +G_BEGIN_DECLS + +#define SPICE_TYPE_AUDIO spice_audio_get_type() + +#define SPICE_AUDIO(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPICE_TYPE_AUDIO, SpiceAudio)) + +#define SPICE_AUDIO_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST ((klass), SPICE_TYPE_AUDIO, SpiceAudioClass)) + +#define SPICE_IS_AUDIO(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPICE_TYPE_AUDIO)) + +#define SPICE_IS_AUDIO_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE ((klass), SPICE_TYPE_AUDIO)) + +#define SPICE_AUDIO_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS ((obj), SPICE_TYPE_AUDIO, SpiceAudioClass)) + +typedef struct _SpiceAudio SpiceAudio; +typedef struct _SpiceAudioClass SpiceAudioClass; +typedef struct _SpiceAudioPrivate SpiceAudioPrivate; + +/** + * SpiceAudio: + * + * The #SpiceAudio struct is opaque and should not be accessed directly. + */ +struct _SpiceAudio { + GObject parent; + + SpiceAudioPrivate *priv; +}; + +/** + * SpiceAudioClass: + * @parent_class: Parent class. + * + * Class structure for #SpiceAudio. + */ +struct _SpiceAudioClass { + GObjectClass parent_class; + + /*< private >*/ + gboolean (*connect_channel)(SpiceAudio *audio, SpiceChannel *channel); + + gchar _spice_reserved[SPICE_RESERVED_PADDING]; +}; + +GType spice_audio_get_type(void); + +SpiceAudio* spice_audio_get(SpiceSession *session, GMainContext *context); + +#ifndef SPICE_DISABLE_DEPRECATED +SPICE_DEPRECATED_FOR(spice_audio_get) +SpiceAudio* spice_audio_new(SpiceSession *session, GMainContext *context, const char *name); +#endif + +G_END_DECLS + +#endif /* __SPICE_CLIENT_AUDIO_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-channel-cache.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-channel-cache.h new file mode 100644 index 0000000..3f39877 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-channel-cache.h @@ -0,0 +1,135 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef SPICE_CHANNEL_CACHE_H_ +# define SPICE_CHANNEL_CACHE_H_ + +#include /* For PRIx64 */ +#include "common/mem.h" +#include "common/ring.h" + +G_BEGIN_DECLS + +typedef struct display_cache_item { + RingItem hash_link; + RingItem lru_link; + uint64_t id; + uint32_t refcount; + void *ptr; + gboolean lossy; +} display_cache_item; + +typedef struct display_cache { + const char *name; + Ring hash[64]; + Ring lru; + int nitems; +} display_cache; + +static inline void cache_init(display_cache *cache, const char *name) +{ + int i; + + cache->name = name; + ring_init(&cache->lru); + for (i = 0; i < SPICE_N_ELEMENTS(cache->hash); i++) { + ring_init(&cache->hash[i]); + } +} + +static inline Ring *cache_head(display_cache *cache, uint64_t id) +{ + return &cache->hash[id % SPICE_N_ELEMENTS(cache->hash)]; +} + +static inline void cache_used(display_cache *cache, display_cache_item *item) +{ + ring_remove(&item->lru_link); + ring_add(&cache->lru, &item->lru_link); +} + +static inline display_cache_item *cache_get_lru(display_cache *cache) +{ + display_cache_item *item; + RingItem *ring; + + if (ring_is_empty(&cache->lru)) + return NULL; + ring = ring_get_tail(&cache->lru); + item = SPICE_CONTAINEROF(ring, display_cache_item, lru_link); + return item; +} + +static inline display_cache_item *cache_find(display_cache *cache, uint64_t id) +{ + display_cache_item *item; + RingItem *ring; + Ring *head; + + head = cache_head(cache, id); + for (ring = ring_get_head(head); ring != NULL; ring = ring_next(head, ring)) { + item = SPICE_CONTAINEROF(ring, display_cache_item, hash_link); + if (item->id == id) { + return item; + } + } + + SPICE_DEBUG("%s: %s %" PRIx64 " [not found]", __FUNCTION__, + cache->name, id); + return NULL; +} + +static inline display_cache_item *cache_add(display_cache *cache, uint64_t id) +{ + display_cache_item *item; + + item = spice_new0(display_cache_item, 1); + item->id = id; + item->refcount = 1; + ring_add(cache_head(cache, item->id), &item->hash_link); + ring_add(&cache->lru, &item->lru_link); + cache->nitems++; + + SPICE_DEBUG("%s: %s %" PRIx64 " (%d)", __FUNCTION__, + cache->name, id, cache->nitems); + return item; +} + +static inline void cache_del(display_cache *cache, display_cache_item *item) +{ + SPICE_DEBUG("%s: %s %" PRIx64, __FUNCTION__, + cache->name, item->id); + ring_remove(&item->hash_link); + ring_remove(&item->lru_link); + free(item); + cache->nitems--; +} + +static inline void cache_ref(display_cache_item *item) +{ + item->refcount++; +} + +static inline int cache_unref(display_cache_item *item) +{ + item->refcount--; + return item->refcount == 0; +} + +G_END_DECLS + +#endif // SPICE_CHANNEL_CACHE_H_ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-channel-enums.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-channel-enums.h new file mode 100644 index 0000000..30bfa51 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-channel-enums.h @@ -0,0 +1,11 @@ +#ifndef SPICE_CHANNEL_ENUMS_H +#define SPICE_CHANNEL_ENUMS_H + +#warning "deprecated: please include spice-glib-enums.h" +#include "spice-glib-enums.h" + +#endif /* SPICE_CHANNEL_ENUMS_H */ + + + + diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-channel-priv.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-channel-priv.h new file mode 100644 index 0000000..b2d8a14 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-channel-priv.h @@ -0,0 +1,199 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_CLIENT_CHANNEL_PRIV_H__ +#define __SPICE_CLIENT_CHANNEL_PRIV_H__ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include +#include + +#if HAVE_SASL +#include +#endif + +#include "spice-util-priv.h" +#include "coroutine.h" +#include "gio-coroutine.h" + +#include "common/client_marshallers.h" +#include "common/client_demarshallers.h" +#include "common/ssl_verify.h" + +G_BEGIN_DECLS + +#define MAX_SPICE_DATA_HEADER_SIZE sizeof(SpiceDataHeader) + +#define CHANNEL_DEBUG(channel, fmt, ...) \ + SPICE_DEBUG("%s: " fmt, SPICE_CHANNEL(channel)->priv->name, ## __VA_ARGS__) + +struct _SpiceMsgOut { + int refcount; + SpiceChannel *channel; + SpiceMessageMarshallers *marshallers; + SpiceMarshaller *marshaller; + uint8_t *header; + gboolean ro_check; +}; + +struct _SpiceMsgIn { + int refcount; + SpiceChannel *channel; + uint8_t header[MAX_SPICE_DATA_HEADER_SIZE]; + uint8_t *data; + int hpos,dpos; + uint8_t *parsed; + size_t psize; + message_destructor_t pfree; + SpiceMsgIn *parent; +}; + +enum spice_channel_state { + SPICE_CHANNEL_STATE_UNCONNECTED = 0, + SPICE_CHANNEL_STATE_CONNECTING, + SPICE_CHANNEL_STATE_READY, + SPICE_CHANNEL_STATE_SWITCHING, + SPICE_CHANNEL_STATE_MIGRATING, + SPICE_CHANNEL_STATE_MIGRATION_HANDSHAKE, +}; + +struct _SpiceChannelPrivate { + /* swapped on migration */ + SSL_CTX *ctx; + SSL *ssl; + SpiceOpenSSLVerify *sslverify; + GSocket *sock; + GSocketConnection *conn; + +#if HAVE_SASL + sasl_conn_t *sasl_conn; + const char *sasl_decoded; + unsigned int sasl_decoded_length; + unsigned int sasl_decoded_offset; +#endif + + gboolean use_mini_header; + uint64_t out_serial; + uint64_t in_serial; + + /* not swapped */ + SpiceSession *session; + GCoroutine coroutine; + int fd; + gboolean has_error; + guint connect_delayed_id; + + GQueue xmit_queue; + gboolean xmit_queue_blocked; + STATIC_MUTEX xmit_queue_lock; + guint xmit_queue_wakeup_id; + + char name[16]; + enum spice_channel_state state; + spice_parse_channel_func_t parser; + SpiceMessageMarshallers *marshallers; + guint channel_watch; + int tls; + + int connection_id; + int channel_id; + int channel_type; + SpiceLinkHeader link_hdr; + SpiceLinkMess link_msg; + SpiceLinkHeader peer_hdr; + SpiceLinkReply* peer_msg; + int peer_pos; + + SpiceMsgIn *msg_in; + int message_ack_window; + int message_ack_count; + + GArray *caps; + GArray *common_caps; + GArray *remote_caps; + GArray *remote_common_caps; + + gsize total_read_bytes; + uint64_t last_message_serial; + GSList *flushing; +}; + +SpiceMsgIn *spice_msg_in_new(SpiceChannel *channel); +SpiceMsgIn *spice_msg_in_sub_new(SpiceChannel *channel, SpiceMsgIn *parent, + SpiceSubMessage *sub); +void spice_msg_in_ref(SpiceMsgIn *in); +void spice_msg_in_unref(SpiceMsgIn *in); +int spice_msg_in_type(SpiceMsgIn *in); +void *spice_msg_in_parsed(SpiceMsgIn *in); +void *spice_msg_in_raw(SpiceMsgIn *in, int *len); +void spice_msg_in_hexdump(SpiceMsgIn *in); + +SpiceMsgOut *spice_msg_out_new(SpiceChannel *channel, int type); +void spice_msg_out_ref(SpiceMsgOut *out); +void spice_msg_out_unref(SpiceMsgOut *out); +void spice_msg_out_send(SpiceMsgOut *out); +void spice_msg_out_send_internal(SpiceMsgOut *out); +void spice_msg_out_hexdump(SpiceMsgOut *out, unsigned char *data, int len); + +uint16_t spice_header_get_msg_type(uint8_t *header, gboolean is_mini_header); +uint32_t spice_header_get_msg_size(uint8_t *header, gboolean is_mini_header); + +void spice_channel_up(SpiceChannel *channel); +void spice_channel_wakeup(SpiceChannel *channel, gboolean cancel); + +SpiceSession* spice_channel_get_session(SpiceChannel *channel); +enum spice_channel_state spice_channel_get_state(SpiceChannel *channel); + +/* coroutine context */ +typedef void (*handler_msg_in)(SpiceChannel *channel, SpiceMsgIn *msg, gpointer data); +void spice_channel_recv_msg(SpiceChannel *channel, handler_msg_in handler, gpointer data); + +/* channel-base.c */ +/* coroutine context */ +void spice_channel_handle_set_ack(SpiceChannel *channel, SpiceMsgIn *in); +void spice_channel_handle_ping(SpiceChannel *channel, SpiceMsgIn *in); +void spice_channel_handle_notify(SpiceChannel *channel, SpiceMsgIn *in); +void spice_channel_handle_disconnect(SpiceChannel *channel, SpiceMsgIn *in); +void spice_channel_handle_wait_for_channels(SpiceChannel *channel, SpiceMsgIn *in); +void spice_channel_handle_migrate(SpiceChannel *channel, SpiceMsgIn *in); + +gint spice_channel_get_channel_id(SpiceChannel *channel); +gint spice_channel_get_channel_type(SpiceChannel *channel); +void spice_channel_swap(SpiceChannel *channel, SpiceChannel *swap, gboolean swap_msgs); +gboolean spice_channel_get_read_only(SpiceChannel *channel); +void spice_channel_reset(SpiceChannel *channel, gboolean migrating); + +void spice_caps_set(GArray *caps, guint32 cap, const gchar *desc); +#define spice_channel_set_common_capability(channel, cap) \ + spice_caps_set(SPICE_CHANNEL(channel)->priv->common_caps, cap, #cap) +#define spice_channel_set_capability(channel, cap) \ + spice_caps_set(SPICE_CHANNEL(channel)->priv->caps, cap, #cap) + +/* coroutine context */ +#define emit_main_context(object, event, args...) \ + G_STMT_START { \ + g_signal_emit_main_context(G_OBJECT(object), do_emit_main_context, \ + event, &((struct event) { args }), G_STRLOC); \ + } G_STMT_END + + +G_END_DECLS + +#endif /* __SPICE_CLIENT_CHANNEL_PRIV_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-channel.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-channel.c new file mode 100644 index 0000000..b2f2ba7 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-channel.c @@ -0,0 +1,2843 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#include "spice-client.h" +#include "spice-common.h" +#include "glib-compat.h" + +#include "spice-channel-priv.h" +#include "spice-session-priv.h" +#include "spice-marshal.h" +#include "bio-gsocket.h" + +#include +#include +#include +#include +#include +#include +#ifdef HAVE_SYS_SOCKET_H +#include +#endif +#ifdef HAVE_NETINET_IN_H +#include +#include // TCP_NODELAY +#endif +#ifdef HAVE_ARPA_INET_H +#include +#endif +#include + +#include "gio-coroutine.h" + +static void spice_channel_handle_msg(SpiceChannel *channel, SpiceMsgIn *msg); +static void spice_channel_write_msg(SpiceChannel *channel, SpiceMsgOut *out); +static void spice_channel_send_link(SpiceChannel *channel); +static void channel_disconnect(SpiceChannel *channel); +static void channel_reset(SpiceChannel *channel, gboolean migrating); +static void spice_channel_reset_capabilities(SpiceChannel *channel); +static void spice_channel_send_migration_handshake(SpiceChannel *channel); + +/** + * SECTION:spice-channel + * @short_description: the base channel class + * @title: Spice Channel + * @section_id: + * @see_also: #SpiceSession, #SpiceMainChannel and other channels + * @stability: Stable + * @include: spice-channel.h + * + * #SpiceChannel is the base class for the different kind of Spice + * channel connections, such as #SpiceMainChannel, or + * #SpiceInputsChannel. + */ + +/* ------------------------------------------------------------------ */ +/* gobject glue */ + +#define SPICE_CHANNEL_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE ((obj), SPICE_TYPE_CHANNEL, SpiceChannelPrivate)) + +G_DEFINE_TYPE(SpiceChannel, spice_channel, G_TYPE_OBJECT); + +/* Properties */ +enum { + PROP_0, + PROP_SESSION, + PROP_CHANNEL_TYPE, + PROP_CHANNEL_ID, + PROP_TOTAL_READ_BYTES, +}; + +/* Signals */ +enum { + SPICE_CHANNEL_EVENT, + SPICE_CHANNEL_OPEN_FD, + + SPICE_CHANNEL_LAST_SIGNAL, +}; + +static guint signals[SPICE_CHANNEL_LAST_SIGNAL]; + +static void spice_channel_iterate_write(SpiceChannel *channel); +static void spice_channel_iterate_read(SpiceChannel *channel); + +static void spice_channel_init(SpiceChannel *channel) +{ + SpiceChannelPrivate *c; + + c = channel->priv = SPICE_CHANNEL_GET_PRIVATE(channel); + + c->out_serial = 1; + c->in_serial = 1; + c->fd = -1; + strcpy(c->name, "?"); + c->caps = g_array_new(FALSE, TRUE, sizeof(guint32)); + c->common_caps = g_array_new(FALSE, TRUE, sizeof(guint32)); + c->remote_caps = g_array_new(FALSE, TRUE, sizeof(guint32)); + c->remote_common_caps = g_array_new(FALSE, TRUE, sizeof(guint32)); + spice_channel_set_common_capability(channel, SPICE_COMMON_CAP_PROTOCOL_AUTH_SELECTION); + spice_channel_set_common_capability(channel, SPICE_COMMON_CAP_MINI_HEADER); + g_queue_init(&c->xmit_queue); + STATIC_MUTEX_INIT(c->xmit_queue_lock); +} + +static void spice_channel_constructed(GObject *gobject) +{ + SpiceChannel *channel = SPICE_CHANNEL(gobject); + SpiceChannelPrivate *c = channel->priv; + const char *desc = spice_channel_type_to_string(c->channel_type); + + snprintf(c->name, sizeof(c->name), "%s-%d:%d", + desc ? desc : "unknown", c->channel_type, c->channel_id); + CHANNEL_DEBUG(channel, "%s", __FUNCTION__); + + c->connection_id = spice_session_get_connection_id(c->session); + spice_session_channel_new(c->session, channel); + + /* Chain up to the parent class */ + if (G_OBJECT_CLASS(spice_channel_parent_class)->constructed) + G_OBJECT_CLASS(spice_channel_parent_class)->constructed(gobject); +} + +static void spice_channel_dispose(GObject *gobject) +{ + SpiceChannel *channel = SPICE_CHANNEL(gobject); + SpiceChannelPrivate *c = channel->priv; + + CHANNEL_DEBUG(channel, "%s %p", __FUNCTION__, gobject); + + if (c->session) + spice_session_channel_destroy(c->session, channel); + + spice_channel_disconnect(channel, SPICE_CHANNEL_CLOSED); + + if (c->session) { + g_object_unref(c->session); + c->session = NULL; + } + + /* Chain up to the parent class */ + if (G_OBJECT_CLASS(spice_channel_parent_class)->dispose) + G_OBJECT_CLASS(spice_channel_parent_class)->dispose(gobject); +} + +static void spice_channel_finalize(GObject *gobject) +{ + SpiceChannel *channel = SPICE_CHANNEL(gobject); + SpiceChannelPrivate *c = channel->priv; + + CHANNEL_DEBUG(channel, "%s %p", __FUNCTION__, gobject); + + g_idle_remove_by_data(gobject); + + STATIC_MUTEX_CLEAR(c->xmit_queue_lock); + + if (c->caps) + g_array_free(c->caps, TRUE); + + if (c->common_caps) + g_array_free(c->common_caps, TRUE); + + if (c->remote_caps) + g_array_free(c->remote_caps, TRUE); + + if (c->remote_common_caps) + g_array_free(c->remote_common_caps, TRUE); + + /* Chain up to the parent class */ + if (G_OBJECT_CLASS(spice_channel_parent_class)->finalize) + G_OBJECT_CLASS(spice_channel_parent_class)->finalize(gobject); +} + +static void spice_channel_get_property(GObject *gobject, + guint prop_id, + GValue *value, + GParamSpec *pspec) +{ + SpiceChannel *channel = SPICE_CHANNEL(gobject); + SpiceChannelPrivate *c = channel->priv; + + switch (prop_id) { + case PROP_SESSION: + g_value_set_object(value, c->session); + break; + case PROP_CHANNEL_TYPE: + g_value_set_int(value, c->channel_type); + break; + case PROP_CHANNEL_ID: + g_value_set_int(value, c->channel_id); + break; + case PROP_TOTAL_READ_BYTES: + g_value_set_ulong(value, c->total_read_bytes); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, pspec); + break; + } +} + +G_GNUC_INTERNAL +gint spice_channel_get_channel_id(SpiceChannel *channel) +{ + SpiceChannelPrivate *c = SPICE_CHANNEL_GET_PRIVATE(channel); + + g_return_val_if_fail(c != NULL, 0); + return c->channel_id; +} + +G_GNUC_INTERNAL +gint spice_channel_get_channel_type(SpiceChannel *channel) +{ + SpiceChannelPrivate *c = SPICE_CHANNEL_GET_PRIVATE(channel); + + g_return_val_if_fail(c != NULL, 0); + return c->channel_type; +} + +static void spice_channel_set_property(GObject *gobject, + guint prop_id, + const GValue *value, + GParamSpec *pspec) +{ + SpiceChannel *channel = SPICE_CHANNEL(gobject); + SpiceChannelPrivate *c = channel->priv; + + switch (prop_id) { + case PROP_SESSION: + c->session = g_value_dup_object(value); + break; + case PROP_CHANNEL_TYPE: + c->channel_type = g_value_get_int(value); + break; + case PROP_CHANNEL_ID: + c->channel_id = g_value_get_int(value); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, pspec); + break; + } +} + +static void spice_channel_class_init(SpiceChannelClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS (klass); + + klass->iterate_write = spice_channel_iterate_write; + klass->iterate_read = spice_channel_iterate_read; + klass->channel_disconnect = channel_disconnect; + klass->channel_reset = channel_reset; + + gobject_class->constructed = spice_channel_constructed; + gobject_class->dispose = spice_channel_dispose; + gobject_class->finalize = spice_channel_finalize; + gobject_class->get_property = spice_channel_get_property; + gobject_class->set_property = spice_channel_set_property; + klass->handle_msg = spice_channel_handle_msg; + + g_object_class_install_property + (gobject_class, PROP_SESSION, + g_param_spec_object("spice-session", + "Spice session", + "", + SPICE_TYPE_SESSION, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT_ONLY | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property + (gobject_class, PROP_CHANNEL_TYPE, + g_param_spec_int("channel-type", + "Channel type", + "", + -1, INT_MAX, -1, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT_ONLY | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property + (gobject_class, PROP_CHANNEL_ID, + g_param_spec_int("channel-id", + "Channel ID", + "", + -1, INT_MAX, -1, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT_ONLY | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property + (gobject_class, PROP_TOTAL_READ_BYTES, + g_param_spec_ulong("total-read-bytes", + "Total read bytes", + "", + 0, G_MAXULONG, 0, + G_PARAM_READABLE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceChannel::channel-event: + * @channel: the channel that emitted the signal + * @event: a #SpiceChannelEvent + * + * The #SpiceChannel::channel-event signal is emitted when the + * state of the connection change. + **/ + signals[SPICE_CHANNEL_EVENT] = + g_signal_new("channel-event", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceChannelClass, channel_event), + NULL, NULL, + g_cclosure_marshal_VOID__ENUM, + G_TYPE_NONE, + 1, + SPICE_TYPE_CHANNEL_EVENT); + + /** + * SpiceChannel::open-fd: + * @channel: the channel that emitted the signal + * @with_tls: wether TLS connection is requested + * + * The #SpiceChannel::open-fd signal is emitted when a new + * connection is requested. This signal is emitted when the + * connection is made with spice_session_open_fd(). + **/ + signals[SPICE_CHANNEL_OPEN_FD] = + g_signal_new("open-fd", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceChannelClass, open_fd), + NULL, NULL, + g_cclosure_marshal_VOID__INT, + G_TYPE_NONE, + 1, + G_TYPE_INT); + + g_type_class_add_private(klass, sizeof(SpiceChannelPrivate)); + + SSL_library_init(); + SSL_load_error_strings(); +} + +/* ---------------------------------------------------------------- */ +/* private header api */ + +static inline void spice_header_set_msg_type(uint8_t *header, gboolean is_mini_header, + uint16_t type) +{ + if (is_mini_header) { + ((SpiceMiniDataHeader *)header)->type = type; + } else { + ((SpiceDataHeader *)header)->type = type; + } +} + +static inline void spice_header_set_msg_size(uint8_t *header, gboolean is_mini_header, + uint32_t size) +{ + if (is_mini_header) { + ((SpiceMiniDataHeader *)header)->size = size; + } else { + ((SpiceDataHeader *)header)->size = size; + } +} + +G_GNUC_INTERNAL +uint16_t spice_header_get_msg_type(uint8_t *header, gboolean is_mini_header) +{ + if (is_mini_header) { + return ((SpiceMiniDataHeader *)header)->type; + } else { + return ((SpiceDataHeader *)header)->type; + } +} + +G_GNUC_INTERNAL +uint32_t spice_header_get_msg_size(uint8_t *header, gboolean is_mini_header) +{ + if (is_mini_header) { + return ((SpiceMiniDataHeader *)header)->size; + } else { + return ((SpiceDataHeader *)header)->size; + } +} + +static inline int spice_header_get_header_size(gboolean is_mini_header) +{ + return is_mini_header ? sizeof(SpiceMiniDataHeader) : sizeof(SpiceDataHeader); +} + +static inline void spice_header_set_msg_serial(uint8_t *header, gboolean is_mini_header, + uint64_t serial) +{ + if (!is_mini_header) { + ((SpiceDataHeader *)header)->serial = serial; + } +} + +static inline void spice_header_reset_msg_sub_list(uint8_t *header, gboolean is_mini_header) +{ + if (!is_mini_header) { + ((SpiceDataHeader *)header)->sub_list = 0; + } +} + +static inline uint64_t spice_header_get_in_msg_serial(SpiceMsgIn *in) +{ + SpiceChannelPrivate *c = in->channel->priv; + uint8_t *header = in->header; + + if (c->use_mini_header) { + return c->in_serial; + } else { + return ((SpiceDataHeader *)header)->serial; + } +} + +static inline uint64_t spice_header_get_out_msg_serial(SpiceMsgOut *out) +{ + SpiceChannelPrivate *c = out->channel->priv; + + if (c->use_mini_header) { + return c->out_serial; + } else { + return ((SpiceDataHeader *)out->header)->serial; + } +} + +static inline uint32_t spice_header_get_msg_sub_list(uint8_t *header, gboolean is_mini_header) +{ + if (is_mini_header) { + return 0; + } else { + return ((SpiceDataHeader *)header)->sub_list; + } +} + +/* ---------------------------------------------------------------- */ +/* private msg api */ + +G_GNUC_INTERNAL +SpiceMsgIn *spice_msg_in_new(SpiceChannel *channel) +{ + SpiceMsgIn *in; + + g_return_val_if_fail(channel != NULL, NULL); + + in = spice_new0(SpiceMsgIn, 1); + in->refcount = 1; + in->channel = channel; + + return in; +} + +G_GNUC_INTERNAL +SpiceMsgIn *spice_msg_in_sub_new(SpiceChannel *channel, SpiceMsgIn *parent, + SpiceSubMessage *sub) +{ + SpiceMsgIn *in; + + g_return_val_if_fail(channel != NULL, NULL); + + in = spice_msg_in_new(channel); + spice_header_set_msg_type(in->header, channel->priv->use_mini_header, sub->type); + spice_header_set_msg_size(in->header, channel->priv->use_mini_header, sub->size); + in->data = (uint8_t*)(sub+1); + in->dpos = sub->size; + in->parent = parent; + spice_msg_in_ref(parent); + return in; +} + +G_GNUC_INTERNAL +void spice_msg_in_ref(SpiceMsgIn *in) +{ + g_return_if_fail(in != NULL); + + in->refcount++; +} + +G_GNUC_INTERNAL +void spice_msg_in_unref(SpiceMsgIn *in) +{ + g_return_if_fail(in != NULL); + + in->refcount--; + if (in->refcount > 0) + return; + if (in->parsed) + in->pfree(in->parsed); + if (in->parent) { + spice_msg_in_unref(in->parent); + } else { + free(in->data); + } + free(in); +} + +G_GNUC_INTERNAL +int spice_msg_in_type(SpiceMsgIn *in) +{ + g_return_val_if_fail(in != NULL, -1); + + return spice_header_get_msg_type(in->header, in->channel->priv->use_mini_header); +} + +G_GNUC_INTERNAL +void *spice_msg_in_parsed(SpiceMsgIn *in) +{ + g_return_val_if_fail(in != NULL, NULL); + + return in->parsed; +} + +G_GNUC_INTERNAL +void *spice_msg_in_raw(SpiceMsgIn *in, int *len) +{ + g_return_val_if_fail(in != NULL, NULL); + g_return_val_if_fail(len != NULL, NULL); + + *len = in->dpos; + return in->data; +} + +static void hexdump(const char *prefix, unsigned char *data, int len) +{ + int i; + + for (i = 0; i < len; i++) { + if (i % 16 == 0) + fprintf(stderr, "%s:", prefix); + if (i % 4 == 0) + fprintf(stderr, " "); + fprintf(stderr, " %02x", data[i]); + if (i % 16 == 15) + fprintf(stderr, "\n"); + } + if (i % 16 != 0) + fprintf(stderr, "\n"); +} + +G_GNUC_INTERNAL +void spice_msg_in_hexdump(SpiceMsgIn *in) +{ + SpiceChannelPrivate *c = in->channel->priv; + + fprintf(stderr, "--\n<< hdr: %s serial %" PRIu64 " type %d size %d sub-list %d\n", + c->name, spice_header_get_in_msg_serial(in), + spice_header_get_msg_type(in->header, c->use_mini_header), + spice_header_get_msg_size(in->header, c->use_mini_header), + spice_header_get_msg_sub_list(in->header, c->use_mini_header)); + hexdump("<< msg", in->data, in->dpos); +} + +G_GNUC_INTERNAL +void spice_msg_out_hexdump(SpiceMsgOut *out, unsigned char *data, int len) +{ + SpiceChannelPrivate *c = out->channel->priv; + + fprintf(stderr, "--\n>> hdr: %s serial %" PRIu64 " type %d size %d sub-list %d\n", + c->name, + spice_header_get_out_msg_serial(out), + spice_header_get_msg_type(out->header, c->use_mini_header), + spice_header_get_msg_size(out->header, c->use_mini_header), + spice_header_get_msg_sub_list(out->header, c->use_mini_header)); + hexdump(">> msg", data, len); +} + +static gboolean msg_check_read_only (int channel_type, int msg_type) +{ + if (msg_type < 100) // those are the common messages + return FALSE; + + switch (channel_type) { + /* messages allowed to be sent in read-only mode */ + case SPICE_CHANNEL_MAIN: + switch (msg_type) { + case SPICE_MSGC_MAIN_CLIENT_INFO: + case SPICE_MSGC_MAIN_MIGRATE_CONNECTED: + case SPICE_MSGC_MAIN_MIGRATE_CONNECT_ERROR: + case SPICE_MSGC_MAIN_ATTACH_CHANNELS: + case SPICE_MSGC_MAIN_MIGRATE_END: + return FALSE; + } + break; + case SPICE_CHANNEL_DISPLAY: + return FALSE; + } + + return TRUE; +} + +G_GNUC_INTERNAL +SpiceMsgOut *spice_msg_out_new(SpiceChannel *channel, int type) +{ + SpiceChannelPrivate *c = channel->priv; + SpiceMsgOut *out; + + g_return_val_if_fail(c != NULL, NULL); + + out = spice_new0(SpiceMsgOut, 1); + out->refcount = 1; + out->channel = channel; + out->ro_check = msg_check_read_only(c->channel_type, type); + + out->marshallers = c->marshallers; + out->marshaller = spice_marshaller_new(); + + out->header = spice_marshaller_reserve_space(out->marshaller, + spice_header_get_header_size(c->use_mini_header)); + spice_marshaller_set_base(out->marshaller, spice_header_get_header_size(c->use_mini_header)); + spice_header_set_msg_type(out->header, c->use_mini_header, type); + spice_header_set_msg_serial(out->header, c->use_mini_header, c->out_serial); + spice_header_reset_msg_sub_list(out->header, c->use_mini_header); + + c->out_serial++; + return out; +} + +G_GNUC_INTERNAL +void spice_msg_out_ref(SpiceMsgOut *out) +{ + g_return_if_fail(out != NULL); + + out->refcount++; +} + +G_GNUC_INTERNAL +void spice_msg_out_unref(SpiceMsgOut *out) +{ + g_return_if_fail(out != NULL); + + out->refcount--; + if (out->refcount > 0) + return; + spice_marshaller_destroy(out->marshaller); + free(out); +} + +/* system context */ +static gboolean spice_channel_idle_wakeup(gpointer user_data) +{ + SpiceChannel *channel = SPICE_CHANNEL(user_data); + SpiceChannelPrivate *c = channel->priv; + + /* + * Note: + * + * - This must be done before the wakeup as that may eventually + * call channel_reset() which checks this. + * - The lock calls are really necessary, this fixes the following race: + * 1) usb-event-thread calls spice_msg_out_send() + * 2) spice_msg_out_send calls g_timeout_add_full(...) + * 3) we run, set xmit_queue_wakeup_id to 0 + * 4) spice_msg_out_send stores the result of g_timeout_add_full() in + * xmit_queue_wakeup_id, overwriting the 0 we just stored + * 5) xmit_queue_wakeup_id now says there is a wakeup pending which is + * false + */ + STATIC_MUTEX_LOCK(c->xmit_queue_lock); + c->xmit_queue_wakeup_id = 0; + STATIC_MUTEX_UNLOCK(c->xmit_queue_lock); + + spice_channel_wakeup(channel, FALSE); + + return FALSE; +} + +/* any context (system/co-routine/usb-event-thread) */ +G_GNUC_INTERNAL +void spice_msg_out_send(SpiceMsgOut *out) +{ + SpiceChannelPrivate *c; + gboolean was_empty; + + g_return_if_fail(out != NULL); + g_return_if_fail(out->channel != NULL); + c = out->channel->priv; + + STATIC_MUTEX_LOCK(c->xmit_queue_lock); + if (c->xmit_queue_blocked) { + g_warning("message queue is blocked, dropping message"); + goto end; + } + + was_empty = g_queue_is_empty(&c->xmit_queue); + g_queue_push_tail(&c->xmit_queue, out); + + /* One wakeup is enough to empty the entire queue -> only do a wakeup + if the queue was empty, and there isn't one pending already. */ + if (was_empty && !c->xmit_queue_wakeup_id) { + c->xmit_queue_wakeup_id = + /* Use g_timeout_add_full so that can specify the priority */ + g_timeout_add_full(G_PRIORITY_HIGH, 0, + spice_channel_idle_wakeup, + out->channel, NULL); + } + +end: + STATIC_MUTEX_UNLOCK(c->xmit_queue_lock); +} + +/* coroutine context */ +G_GNUC_INTERNAL +void spice_msg_out_send_internal(SpiceMsgOut *out) +{ + g_return_if_fail(out != NULL); + + spice_channel_write_msg(out->channel, out); +} + +/* ---------------------------------------------------------------- */ + +struct SPICE_CHANNEL_EVENT { + SpiceChannelEvent event; +}; + +/* main context */ +static void do_emit_main_context(GObject *object, int signum, gpointer params) +{ + switch (signum) { + case SPICE_CHANNEL_EVENT: { + struct SPICE_CHANNEL_EVENT *p = params; + g_signal_emit(object, signals[signum], 0, p->event); + break; + } + case SPICE_CHANNEL_OPEN_FD: + g_warning("this signal is only sent directly from main context"); + break; + default: + g_warn_if_reached(); + } +} + +/* + * Write all 'data' of length 'datalen' bytes out to + * the wire + */ +/* coroutine context */ +static void spice_channel_flush_wire(SpiceChannel *channel, + const void *data, + size_t datalen) +{ + SpiceChannelPrivate *c = channel->priv; + const char *ptr = data; + size_t offset = 0; + GIOCondition cond; + + while (offset < datalen) { + int ret; + + if (c->has_error) return; + + cond = 0; + if (c->tls) { + ret = SSL_write(c->ssl, ptr+offset, datalen-offset); + if (ret < 0) { + ret = SSL_get_error(c->ssl, ret); + if (ret == SSL_ERROR_WANT_READ) + cond |= G_IO_IN; + if (ret == SSL_ERROR_WANT_WRITE) + cond |= G_IO_OUT; + ret = -1; + } + } else { + GError *error = NULL; + ret = g_socket_send(c->sock, ptr+offset, datalen-offset, + NULL, &error); + if (ret < 0) { + if (g_error_matches(error, G_IO_ERROR, G_IO_ERROR_WOULD_BLOCK)) { + cond = G_IO_OUT; + } else { + CHANNEL_DEBUG(channel, "Send error %s", error->message); + } + g_clear_error(&error); + ret = -1; + } + } + if (ret == -1) { + if (cond != 0) { + g_coroutine_socket_wait(&c->coroutine, c->sock, cond); + continue; + } else { + CHANNEL_DEBUG(channel, "Closing the channel: spice_channel_flush %d", errno); + c->has_error = TRUE; + return; + } + } + if (ret == 0) { + CHANNEL_DEBUG(channel, "Closing the connection: spice_channel_flush"); + c->has_error = TRUE; + return; + } + offset += ret; + } +} + +#if HAVE_SASL +/* + * Encode all buffered data, write all encrypted data out + * to the wire + */ +static void spice_channel_flush_sasl(SpiceChannel *channel, const void *data, size_t len) +{ + SpiceChannelPrivate *c = channel->priv; + const char *output; + unsigned int outputlen; + int err; + + err = sasl_encode(c->sasl_conn, data, len, &output, &outputlen); + if (err != SASL_OK) { + g_warning ("Failed to encode SASL data %s", + sasl_errstring(err, NULL, NULL)); + c->has_error = TRUE; + return; + } + + //CHANNEL_DEBUG(channel, "Flush SASL %d: %p %d", len, output, outputlen); + spice_channel_flush_wire(channel, output, outputlen); +} +#endif + +/* coroutine context */ +static void spice_channel_write(SpiceChannel *channel, const void *data, size_t len) +{ +#if HAVE_SASL + SpiceChannelPrivate *c = channel->priv; + + if (c->sasl_conn) + spice_channel_flush_sasl(channel, data, len); + else +#endif + spice_channel_flush_wire(channel, data, len); +} + +/* coroutine context */ +static void spice_channel_write_msg(SpiceChannel *channel, SpiceMsgOut *out) +{ + uint8_t *data; + int free_data; + size_t len; + uint32_t msg_size; + + g_return_if_fail(channel != NULL); + g_return_if_fail(out != NULL); + g_return_if_fail(channel == out->channel); + + if (out->ro_check && + spice_channel_get_read_only(channel)) { + g_warning("Try to send message while read-only. Please report a bug."); + return; + } + + msg_size = spice_marshaller_get_total_size(out->marshaller) - + spice_header_get_header_size(channel->priv->use_mini_header); + spice_header_set_msg_size(out->header, channel->priv->use_mini_header, msg_size); + data = spice_marshaller_linearize(out->marshaller, 0, &len, &free_data); + /* spice_msg_out_hexdump(out, data, len); */ + spice_channel_write(channel, data, len); + + if (free_data) + free(data); + + spice_msg_out_unref(out); +} + +/* + * Read at least 1 more byte of data straight off the wire + * into the requested buffer. + */ +/* coroutine context */ +static int spice_channel_read_wire(SpiceChannel *channel, void *data, size_t len) +{ + SpiceChannelPrivate *c = channel->priv; + int ret; + GIOCondition cond; + +reread: + + if (c->has_error) return 0; /* has_error is set by disconnect(), return no error */ + + cond = 0; + if (c->tls) { + ret = SSL_read(c->ssl, data, len); + if (ret < 0) { + ret = SSL_get_error(c->ssl, ret); + if (ret == SSL_ERROR_WANT_READ) + cond |= G_IO_IN; + if (ret == SSL_ERROR_WANT_WRITE) + cond |= G_IO_OUT; + ret = -1; + } + } else { + GError *error = NULL; + ret = g_socket_receive(c->sock, data, len, NULL, &error); + if (ret < 0) { + if (g_error_matches(error, G_IO_ERROR, G_IO_ERROR_WOULD_BLOCK)) { + cond = G_IO_IN; + } else { + CHANNEL_DEBUG(channel, "Read error %s", error->message); + } + g_clear_error(&error); + ret = -1; + } + } + + if (ret == -1) { + if (cond != 0) { + g_coroutine_socket_wait(&c->coroutine, c->sock, cond); + goto reread; + } else { + c->has_error = TRUE; + return -errno; + } + } + if (ret == 0) { + CHANNEL_DEBUG(channel, "Closing the connection: spice_channel_read() - ret=0"); + c->has_error = TRUE; + return 0; + } + + return ret; +} + +#if HAVE_SASL +/* + * Read at least 1 more byte of data out of the SASL decrypted + * data buffer, into the internal read buffer + */ +static int spice_channel_read_sasl(SpiceChannel *channel, void *data, size_t len) +{ + SpiceChannelPrivate *c = channel->priv; + + /* CHANNEL_DEBUG(channel, "Read %lu SASL %p size %d offset %d", len, c->sasl_decoded, */ + /* c->sasl_decoded_length, c->sasl_decoded_offset); */ + + if (c->sasl_decoded == NULL || c->sasl_decoded_length == 0) { + char encoded[8192]; /* should stay lower than maxbufsize */ + int err, ret; + + g_warn_if_fail(c->sasl_decoded_offset == 0); + + ret = spice_channel_read_wire(channel, encoded, sizeof(encoded)); + if (ret < 0) + return ret; + + err = sasl_decode(c->sasl_conn, encoded, ret, + &c->sasl_decoded, &c->sasl_decoded_length); + if (err != SASL_OK) { + g_warning("Failed to decode SASL data %s", + sasl_errstring(err, NULL, NULL)); + c->has_error = TRUE; + return -EINVAL; + } + c->sasl_decoded_offset = 0; + } + + if (c->sasl_decoded_length == 0) + return 0; + + len = MIN(c->sasl_decoded_length - c->sasl_decoded_offset, len); + memcpy(data, c->sasl_decoded + c->sasl_decoded_offset, len); + c->sasl_decoded_offset += len; + + if (c->sasl_decoded_offset == c->sasl_decoded_length) { + c->sasl_decoded_length = c->sasl_decoded_offset = 0; + c->sasl_decoded = NULL; + } + + return len; +} +#endif + +/* + * Fill the 'data' buffer up with exactly 'len' bytes worth of data + */ +/* coroutine context */ +static int spice_channel_read(SpiceChannel *channel, void *data, size_t length) +{ + SpiceChannelPrivate *c = channel->priv; + gsize len = length; + int ret; + + while (len > 0) { + if (c->has_error) return 0; /* has_error is set by disconnect(), return no error */ + +#if HAVE_SASL + if (c->sasl_conn) + ret = spice_channel_read_sasl(channel, data, len); + else +#endif + ret = spice_channel_read_wire(channel, data, len); + if (ret < 0) + return ret; + g_assert(ret <= len); + len -= ret; + data = ((char*)data) + ret; +#if DEBUG + if (len > 0) + CHANNEL_DEBUG(channel, "still needs %" G_GSIZE_FORMAT, len); +#endif + } + c->total_read_bytes += length; + + return length; +} + +/* coroutine context */ +static void spice_channel_send_spice_ticket(SpiceChannel *channel) +{ + SpiceChannelPrivate *c = channel->priv; + EVP_PKEY *pubkey; + int nRSASize; + BIO *bioKey; + RSA *rsa; + char *password; + uint8_t *encrypted; + int rc; + + bioKey = BIO_new(BIO_s_mem()); + g_return_if_fail(bioKey != NULL); + + BIO_write(bioKey, c->peer_msg->pub_key, SPICE_TICKET_PUBKEY_BYTES); + pubkey = d2i_PUBKEY_bio(bioKey, NULL); + g_return_if_fail(pubkey != NULL); + + rsa = pubkey->pkey.rsa; + nRSASize = RSA_size(rsa); + + encrypted = g_alloca(nRSASize); + /* + The use of RSA encryption limit the potential maximum password length. + for RSA_PKCS1_OAEP_PADDING it is RSA_size(rsa) - 41. + */ + g_object_get(c->session, "password", &password, NULL); + if (password == NULL) + password = g_strdup(""); + rc = RSA_public_encrypt(strlen(password) + 1, (uint8_t*)password, + encrypted, rsa, RSA_PKCS1_OAEP_PADDING); + g_warn_if_fail(rc > 0); + + spice_channel_write(channel, encrypted, nRSASize); + memset(encrypted, 0, nRSASize); + EVP_PKEY_free(pubkey); + BIO_free(bioKey); + g_free(password); +} + +/* coroutine context */ +static void spice_channel_recv_auth(SpiceChannel *channel) +{ + SpiceChannelPrivate *c = channel->priv; + uint32_t link_res; + int rc; + + rc = spice_channel_read(channel, &link_res, sizeof(link_res)); + if (rc != sizeof(link_res)) { + CHANNEL_DEBUG(channel, "incomplete auth reply (%d/%" G_GSIZE_FORMAT ")", + rc, sizeof(link_res)); + emit_main_context(channel, SPICE_CHANNEL_EVENT, SPICE_CHANNEL_ERROR_LINK); + return; + } + + if (link_res != SPICE_LINK_ERR_OK) { + CHANNEL_DEBUG(channel, "link result: reply %d", link_res); + emit_main_context(channel, SPICE_CHANNEL_EVENT, SPICE_CHANNEL_ERROR_AUTH); + return; + } + + c->state = SPICE_CHANNEL_STATE_READY; + + emit_main_context(channel, SPICE_CHANNEL_EVENT, SPICE_CHANNEL_OPENED); + + if (c->state == SPICE_CHANNEL_STATE_MIGRATION_HANDSHAKE) { + spice_channel_send_migration_handshake(channel); + } + + if (c->state != SPICE_CHANNEL_STATE_MIGRATING) + spice_channel_up(channel); +} + +G_GNUC_INTERNAL +void spice_channel_up(SpiceChannel *channel) +{ + SpiceChannelPrivate *c = channel->priv; + + CHANNEL_DEBUG(channel, "channel up, state %d", c->state); + + if (SPICE_CHANNEL_GET_CLASS(channel)->channel_up) + SPICE_CHANNEL_GET_CLASS(channel)->channel_up(channel); +} + +/* coroutine context */ +static void spice_channel_send_link(SpiceChannel *channel) +{ + SpiceChannelPrivate *c = channel->priv; + uint8_t *buffer, *p; + int protocol, i; + + c->link_hdr.magic = SPICE_MAGIC; + c->link_hdr.size = sizeof(c->link_msg); + + g_object_get(c->session, "protocol", &protocol, NULL); + switch (protocol) { + case 1: /* protocol 1 == major 1, old 0.4 protocol, last active minor */ + c->link_hdr.major_version = 1; + c->link_hdr.minor_version = 3; + c->parser = spice_get_server_channel_parser1(c->channel_type, NULL); + c->marshallers = spice_message_marshallers_get1(); + break; + case SPICE_VERSION_MAJOR: /* protocol 2 == current */ + c->link_hdr.major_version = SPICE_VERSION_MAJOR; + c->link_hdr.minor_version = SPICE_VERSION_MINOR; + c->parser = spice_get_server_channel_parser(c->channel_type, NULL); + c->marshallers = spice_message_marshallers_get(); + break; + default: + g_critical("unknown major %d", protocol); + return; + } + + c->link_msg.connection_id = c->connection_id; + c->link_msg.channel_type = c->channel_type; + c->link_msg.channel_id = c->channel_id; + c->link_msg.caps_offset = sizeof(c->link_msg); + + c->link_msg.num_common_caps = c->common_caps->len; + c->link_msg.num_channel_caps = c->caps->len; + c->link_hdr.size += (c->link_msg.num_common_caps + + c->link_msg.num_channel_caps) * sizeof(uint32_t); + + buffer = spice_malloc(sizeof(c->link_hdr) + c->link_hdr.size); + p = buffer; + + memcpy(p, &c->link_hdr, sizeof(c->link_hdr)); p += sizeof(c->link_hdr); + memcpy(p, &c->link_msg, sizeof(c->link_msg)); p += sizeof(c->link_msg); + + for (i = 0; i < c->common_caps->len; i++) { + *(uint32_t *)p = g_array_index(c->common_caps, uint32_t, i); + p += sizeof(uint32_t); + } + for (i = 0; i < c->caps->len; i++) { + *(uint32_t *)p = g_array_index(c->caps, uint32_t, i); + p += sizeof(uint32_t); + } + CHANNEL_DEBUG(channel, "channel type %d id %d num common caps %d num caps %d", + c->link_msg.channel_type, + c->link_msg.channel_id, + c->link_msg.num_common_caps, + c->link_msg.num_channel_caps); + spice_channel_write(channel, buffer, p - buffer); + free(buffer); +} + +static void spice_channel_switch_protocol(SpiceChannel *channel, gint version) +{ + SpiceChannelPrivate *c = channel->priv; + + g_object_set(c->session, "protocol", version, NULL); + SPICE_CHANNEL_GET_CLASS(channel)->channel_disconnect(channel); + spice_channel_connect(channel); +} + +/* coroutine context */ +static gboolean spice_channel_recv_link_hdr(SpiceChannel *channel) +{ + SpiceChannelPrivate *c = channel->priv; + int rc; + + rc = spice_channel_read(channel, &c->peer_hdr, sizeof(c->peer_hdr)); + if (rc != sizeof(c->peer_hdr)) { + g_warning("incomplete link header (%d/%" G_GSIZE_FORMAT ")", + rc, sizeof(c->peer_hdr)); + goto error; + } + if (c->peer_hdr.magic != SPICE_MAGIC) { + g_warning("invalid SPICE_MAGIC!"); + goto error; + } + + CHANNEL_DEBUG(channel, "Peer version: %d:%d", c->peer_hdr.major_version, c->peer_hdr.minor_version); + if (c->peer_hdr.major_version != c->link_hdr.major_version) { + g_warning("major mismatch (got %d, expected %d)", + c->peer_hdr.major_version, c->link_hdr.major_version); + goto error; + } + + c->peer_msg = spice_malloc(c->peer_hdr.size); + if (c->peer_msg == NULL) { + g_warning("invalid peer header size: %u", c->peer_hdr.size); + goto error; + } + + return TRUE; + +error: + /* Windows socket seems to give early CONNRESET errors. The server + does not linger when closing the socket if the protocol is + incompatible. Try with the oldest protocol in this case: */ + if (c->peer_msg != NULL && c->link_hdr.major_version != 1) { + SPICE_DEBUG("%s: error, switching to protocol 1 (spice 0.4)", c->name); + spice_channel_switch_protocol(channel, 1); + return TRUE; + } + + emit_main_context(channel, SPICE_CHANNEL_EVENT, SPICE_CHANNEL_ERROR_LINK); + return FALSE; +} + +#if HAVE_SASL +/* + * NB, keep in sync with similar method in spice/server/reds.c + */ +static gchar *addr_to_string(GSocketAddress *addr) +{ + GInetSocketAddress *iaddr = G_INET_SOCKET_ADDRESS(addr); + guint16 port; + GInetAddress *host; + gchar *hoststr; + gchar *ret; + + host = g_inet_socket_address_get_address(iaddr); + port = g_inet_socket_address_get_port(iaddr); + hoststr = g_inet_address_to_string(host); + + ret = g_strdup_printf("%s;%hu", hoststr, port); + g_free(hoststr); + + return ret; +} + +static gboolean +spice_channel_gather_sasl_credentials(SpiceChannel *channel, + sasl_interact_t *interact) +{ + SpiceChannelPrivate *c; + int ninteract; + + g_return_val_if_fail(channel != NULL, FALSE); + g_return_val_if_fail(channel->priv != NULL, FALSE); + + c = channel->priv; + + /* FIXME: we could keep connection open and ask connection details if missing */ + + for (ninteract = 0 ; interact[ninteract].id != 0 ; ninteract++) { + switch (interact[ninteract].id) { + case SASL_CB_AUTHNAME: + case SASL_CB_USER: + g_warn_if_reached(); + break; + + case SASL_CB_PASS: + if (spice_session_get_password(c->session) == NULL) + return FALSE; + + interact[ninteract].result = spice_session_get_password(c->session); + interact[ninteract].len = strlen(interact[ninteract].result); + break; + } + } + + CHANNEL_DEBUG(channel, "Filled SASL interact"); + + return TRUE; +} + +/* + * + * Init msg from server + * + * u32 mechlist-length + * u8-array mechlist-string + * + * Start msg to server + * + * u32 mechname-length + * u8-array mechname-string + * u32 clientout-length + * u8-array clientout-string + * + * Start msg from server + * + * u32 serverin-length + * u8-array serverin-string + * u8 continue + * + * Step msg to server + * + * u32 clientout-length + * u8-array clientout-string + * + * Step msg from server + * + * u32 serverin-length + * u8-array serverin-string + * u8 continue + */ + +#define SASL_MAX_MECHLIST_LEN 300 +#define SASL_MAX_MECHNAME_LEN 100 +#define SASL_MAX_DATA_LEN (1024 * 1024) + +/* Perform the SASL authentication process + */ +static gboolean spice_channel_perform_auth_sasl(SpiceChannel *channel) +{ + SpiceChannelPrivate *c; + sasl_conn_t *saslconn = NULL; + sasl_security_properties_t secprops; + const char *clientout; + char *serverin = NULL; + unsigned int clientoutlen; + int err; + char *localAddr = NULL, *remoteAddr = NULL; + const void *val; + sasl_ssf_t ssf; + sasl_callback_t saslcb[] = { + { .id = SASL_CB_PASS }, + { .id = 0 }, + }; + sasl_interact_t *interact = NULL; + guint32 len; + char *mechlist; + const char *mechname; + gboolean ret = FALSE; + GSocketAddress *addr = NULL; + guint8 complete; + + g_return_val_if_fail(channel != NULL, FALSE); + g_return_val_if_fail(channel->priv != NULL, FALSE); + + c = channel->priv; + + /* Sets up the SASL library as a whole */ + err = sasl_client_init(NULL); + CHANNEL_DEBUG(channel, "Client initialize SASL authentication %d", err); + if (err != SASL_OK) { + g_critical("failed to initialize SASL library: %d (%s)", + err, sasl_errstring(err, NULL, NULL)); + goto error; + } + + /* Get local address in form IPADDR:PORT */ + addr = g_socket_get_local_address(c->sock, NULL); + if (!addr) { + g_critical("failed to get local address"); + goto error; + } + if ((g_socket_address_get_family(addr) == G_SOCKET_FAMILY_IPV4 || + g_socket_address_get_family(addr) == G_SOCKET_FAMILY_IPV6) && + (localAddr = addr_to_string(addr)) == NULL) + goto error; + g_clear_object(&addr); + + /* Get remote address in form IPADDR:PORT */ + addr = g_socket_get_remote_address(c->sock, NULL); + if (!addr) { + g_critical("failed to get peer address"); + goto error; + } + if ((g_socket_address_get_family(addr) == G_SOCKET_FAMILY_IPV4 || + g_socket_address_get_family(addr) == G_SOCKET_FAMILY_IPV6) && + (remoteAddr = addr_to_string(addr)) == NULL) + goto error; + g_clear_object(&addr); + + CHANNEL_DEBUG(channel, "Client SASL new host:'%s' local:'%s' remote:'%s'", + spice_session_get_host(c->session), localAddr, remoteAddr); + + /* Setup a handle for being a client */ + err = sasl_client_new("spice", + spice_session_get_host(c->session), + localAddr, + remoteAddr, + saslcb, + SASL_SUCCESS_DATA, + &saslconn); + g_free(localAddr); + g_free(remoteAddr); + + if (err != SASL_OK) { + g_critical("Failed to create SASL client context: %d (%s)", + err, sasl_errstring(err, NULL, NULL)); + goto error; + } + + if (c->ssl) { + sasl_ssf_t ssf; + + ssf = SSL_get_cipher_bits(c->ssl, NULL); + err = sasl_setprop(saslconn, SASL_SSF_EXTERNAL, &ssf); + if (err != SASL_OK) { + g_critical("cannot set SASL external SSF %d (%s)", + err, sasl_errstring(err, NULL, NULL)); + goto error; + } + } + + memset(&secprops, 0, sizeof secprops); + /* If we've got TLS, we don't care about SSF */ + secprops.min_ssf = c->ssl ? 0 : 56; /* Equiv to DES supported by all Kerberos */ + secprops.max_ssf = c->ssl ? 0 : 100000; /* Very strong ! AES == 256 */ + secprops.maxbufsize = 100000; + /* If we're not TLS, then forbid any anonymous or trivially crackable auth */ + secprops.security_flags = c->ssl ? 0 : + SASL_SEC_NOANONYMOUS | SASL_SEC_NOPLAINTEXT; + + err = sasl_setprop(saslconn, SASL_SEC_PROPS, &secprops); + if (err != SASL_OK) { + g_critical("cannot set security props %d (%s)", + err, sasl_errstring(err, NULL, NULL)); + goto error; + } + + /* Get the supported mechanisms from the server */ + spice_channel_read(channel, &len, sizeof(len)); + if (c->has_error) + goto error; + if (len > SASL_MAX_MECHLIST_LEN) { + g_critical("mechlistlen %d too long", len); + goto error; + } + + mechlist = g_malloc(len + 1); + spice_channel_read(channel, mechlist, len); + mechlist[len] = '\0'; + if (c->has_error) { + g_free(mechlist); + mechlist = NULL; + goto error; + } + +restart: + /* Start the auth negotiation on the client end first */ + CHANNEL_DEBUG(channel, "Client start negotiation mechlist '%s'", mechlist); + err = sasl_client_start(saslconn, + mechlist, + &interact, + &clientout, + &clientoutlen, + &mechname); + if (err != SASL_OK && err != SASL_CONTINUE && err != SASL_INTERACT) { + g_critical("Failed to start SASL negotiation: %d (%s)", + err, sasl_errdetail(saslconn)); + g_free(mechlist); + mechlist = NULL; + goto error; + } + + /* Need to gather some credentials from the client */ + if (err == SASL_INTERACT) { + if (!spice_channel_gather_sasl_credentials(channel, interact)) { + CHANNEL_DEBUG(channel, "Failed to collect auth credentials"); + goto error; + } + goto restart; + } + + CHANNEL_DEBUG(channel, "Server start negotiation with mech %s. Data %d bytes %p '%s'", + mechname, clientoutlen, clientout, clientout); + + if (clientoutlen > SASL_MAX_DATA_LEN) { + g_critical("SASL negotiation data too long: %d bytes", + clientoutlen); + goto error; + } + + /* Send back the chosen mechname */ + len = strlen(mechname); + spice_channel_write(channel, &len, sizeof(guint32)); + spice_channel_write(channel, mechname, len); + + /* NB, distinction of NULL vs "" is *critical* in SASL */ + if (clientout) { + len += clientoutlen + 1; + spice_channel_write(channel, &len, sizeof(guint32)); + spice_channel_write(channel, clientout, len); + } else { + len = 0; + spice_channel_write(channel, &len, sizeof(guint32)); + } + + if (c->has_error) + goto error; + + CHANNEL_DEBUG(channel, "Getting sever start negotiation reply"); + /* Read the 'START' message reply from server */ + spice_channel_read(channel, &len, sizeof(len)); + if (c->has_error) + goto error; + if (len > SASL_MAX_DATA_LEN) { + g_critical("SASL negotiation data too long: %d bytes", + len); + goto error; + } + + /* NB, distinction of NULL vs "" is *critical* in SASL */ + if (len > 0) { + serverin = g_malloc(len); + spice_channel_read(channel, serverin, len); + serverin[len - 1] = '\0'; + len--; + } else { + serverin = NULL; + } + spice_channel_read(channel, &complete, sizeof(guint8)); + if (c->has_error) + goto error; + + CHANNEL_DEBUG(channel, "Client start result complete: %d. Data %d bytes %p '%s'", + complete, len, serverin, serverin); + + /* Loop-the-loop... + * Even if the server has completed, the client must *always* do at least one step + * in this loop to verify the server isn't lying about something. Mutual auth */ + for (;;) { + restep: + err = sasl_client_step(saslconn, + serverin, + len, + &interact, + &clientout, + &clientoutlen); + if (err != SASL_OK && err != SASL_CONTINUE && err != SASL_INTERACT) { + g_critical("Failed SASL step: %d (%s)", + err, sasl_errdetail(saslconn)); + goto error; + } + + /* Need to gather some credentials from the client */ + if (err == SASL_INTERACT) { + if (!spice_channel_gather_sasl_credentials(channel, + interact)) { + CHANNEL_DEBUG(channel, "%s", "Failed to collect auth credentials"); + goto error; + } + goto restep; + } + + if (serverin) { + g_free(serverin); + serverin = NULL; + } + + CHANNEL_DEBUG(channel, "Client step result %d. Data %d bytes %p '%s'", err, clientoutlen, clientout, clientout); + + /* Previous server call showed completion & we're now locally complete too */ + if (complete && err == SASL_OK) + break; + + /* Not done, prepare to talk with the server for another iteration */ + + /* NB, distinction of NULL vs "" is *critical* in SASL */ + if (clientout) { + len = clientoutlen + 1; + spice_channel_write(channel, &len, sizeof(guint32)); + spice_channel_write(channel, clientout, len); + } else { + len = 0; + spice_channel_write(channel, &len, sizeof(guint32)); + } + + if (c->has_error) + goto error; + + CHANNEL_DEBUG(channel, "Server step with %d bytes %p", clientoutlen, clientout); + + spice_channel_read(channel, &len, sizeof(guint32)); + if (c->has_error) + goto error; + if (len > SASL_MAX_DATA_LEN) { + g_critical("SASL negotiation data too long: %d bytes", len); + goto error; + } + + /* NB, distinction of NULL vs "" is *critical* in SASL */ + if (len) { + serverin = g_malloc(len); + spice_channel_read(channel, serverin, len); + serverin[len - 1] = '\0'; + len--; + } else { + serverin = NULL; + } + + spice_channel_read(channel, &complete, sizeof(guint8)); + if (c->has_error) + goto error; + + CHANNEL_DEBUG(channel, "Client step result complete: %d. Data %d bytes %p '%s'", + complete, len, serverin, serverin); + + /* This server call shows complete, and earlier client step was OK */ + if (complete) { + g_free(serverin); + serverin = NULL; + if (err == SASL_CONTINUE) /* something went wrong */ + goto complete; + break; + } + } + + /* Check for suitable SSF if non-TLS */ + if (!c->ssl) { + err = sasl_getprop(saslconn, SASL_SSF, &val); + if (err != SASL_OK) { + g_critical("cannot query SASL ssf on connection %d (%s)", + err, sasl_errstring(err, NULL, NULL)); + goto error; + } + ssf = *(const int *)val; + CHANNEL_DEBUG(channel, "SASL SSF value %d", ssf); + if (ssf < 56) { /* 56 == DES level, good for Kerberos */ + g_critical("negotiation SSF %d was not strong enough", ssf); + goto error; + } + } + +complete: + CHANNEL_DEBUG(channel, "%s", "SASL authentication complete"); + spice_channel_read(channel, &len, sizeof(len)); + if (len != SPICE_LINK_ERR_OK) + emit_main_context(channel, SPICE_CHANNEL_EVENT, SPICE_CHANNEL_ERROR_AUTH); + ret = len == SPICE_LINK_ERR_OK; + /* This must come *after* check-auth-result, because the former + * is defined to be sent unencrypted, and setting saslconn turns + * on the SSF layer encryption processing */ + c->sasl_conn = saslconn; + return ret; + +error: + g_clear_object(&addr); + if (saslconn) + sasl_dispose(&saslconn); + emit_main_context(channel, SPICE_CHANNEL_EVENT, SPICE_CHANNEL_ERROR_AUTH); + c->has_error = TRUE; /* force disconnect */ + return FALSE; +} +#endif /* HAVE_SASL */ + +/* coroutine context */ +static void spice_channel_recv_link_msg(SpiceChannel *channel, gboolean *switch_tls) +{ + SpiceChannelPrivate *c; + int rc, num_caps, i; + uint32_t *caps; + + g_return_if_fail(channel != NULL); + g_return_if_fail(channel->priv != NULL); + + c = channel->priv; + + rc = spice_channel_read(channel, (uint8_t*)c->peer_msg + c->peer_pos, + c->peer_hdr.size - c->peer_pos); + c->peer_pos += rc; + if (c->peer_pos != c->peer_hdr.size) { + g_critical("%s: %s: incomplete link reply (%d/%d)", + c->name, __FUNCTION__, rc, c->peer_hdr.size); + emit_main_context(channel, SPICE_CHANNEL_EVENT, SPICE_CHANNEL_ERROR_LINK); + return; + } + switch (c->peer_msg->error) { + case SPICE_LINK_ERR_OK: + /* nothing */ + break; + case SPICE_LINK_ERR_NEED_SECURED: + *switch_tls = true; + CHANNEL_DEBUG(channel, "switching to tls"); + return; + default: + g_warning("%s: %s: unhandled error %d", + c->name, __FUNCTION__, c->peer_msg->error); + goto error; + } + + num_caps = c->peer_msg->num_channel_caps + c->peer_msg->num_common_caps; + CHANNEL_DEBUG(channel, "%s: %d caps", __FUNCTION__, num_caps); + + /* see original spice/client code: */ + /* g_return_if_fail(c->peer_msg + c->peer_msg->caps_offset * sizeof(uint32_t) > c->peer_msg + c->peer_hdr.size); */ + + caps = (uint32_t *)((uint8_t *)c->peer_msg + c->peer_msg->caps_offset); + + g_array_set_size(c->remote_common_caps, c->peer_msg->num_common_caps); + for (i = 0; i < c->peer_msg->num_common_caps; i++, caps++) { + g_array_index(c->remote_common_caps, uint32_t, i) = *caps; + CHANNEL_DEBUG(channel, "got common caps %u:0x%X", i, *caps); + } + + g_array_set_size(c->remote_caps, c->peer_msg->num_channel_caps); + for (i = 0; i < c->peer_msg->num_channel_caps; i++, caps++) { + g_array_index(c->remote_caps, uint32_t, i) = *caps; + CHANNEL_DEBUG(channel, "got channel caps %u:0x%X", i, *caps); + } + + if (!spice_channel_test_common_capability(channel, + SPICE_COMMON_CAP_PROTOCOL_AUTH_SELECTION)) { + CHANNEL_DEBUG(channel, "Server supports spice ticket auth only"); + spice_channel_send_spice_ticket(channel); + } else { + SpiceLinkAuthMechanism auth = { 0, }; + +#if HAVE_SASL + if (spice_channel_test_common_capability(channel, SPICE_COMMON_CAP_AUTH_SASL)) { + CHANNEL_DEBUG(channel, "Choosing SASL mechanism"); + auth.auth_mechanism = SPICE_COMMON_CAP_AUTH_SASL; + spice_channel_write(channel, &auth, sizeof(auth)); + spice_channel_perform_auth_sasl(channel); + } else +#endif + if (spice_channel_test_common_capability(channel, SPICE_COMMON_CAP_AUTH_SPICE)) { + auth.auth_mechanism = SPICE_COMMON_CAP_AUTH_SPICE; + spice_channel_write(channel, &auth, sizeof(auth)); + spice_channel_send_spice_ticket(channel); + } else { + g_warning("No compatible AUTH mechanism"); + goto error; + } + } + c->use_mini_header = spice_channel_test_common_capability(channel, + SPICE_COMMON_CAP_MINI_HEADER); + CHANNEL_DEBUG(channel, "use mini header: %d", c->use_mini_header); + return; + +error: + SPICE_CHANNEL_GET_CLASS(channel)->channel_disconnect(channel); + emit_main_context(channel, SPICE_CHANNEL_EVENT, SPICE_CHANNEL_ERROR_LINK); +} + +/* system context */ +G_GNUC_INTERNAL +void spice_channel_wakeup(SpiceChannel *channel, gboolean cancel) +{ + GCoroutine *c = &channel->priv->coroutine; + + if (cancel) + g_coroutine_condition_cancel(c); + + g_coroutine_wakeup(c); +} + +G_GNUC_INTERNAL +gboolean spice_channel_get_read_only(SpiceChannel *channel) +{ + return spice_session_get_read_only(channel->priv->session); +} + +/* coroutine context */ +G_GNUC_INTERNAL +void spice_channel_recv_msg(SpiceChannel *channel, + handler_msg_in msg_handler, gpointer data) +{ + SpiceChannelPrivate *c = channel->priv; + SpiceMsgIn *in; + int header_size; + int msg_size; + int msg_type; + int sub_list_offset = 0; + int rc; + + if (!c->msg_in) { + c->msg_in = spice_msg_in_new(channel); + } + in = c->msg_in; + header_size = spice_header_get_header_size(c->use_mini_header); + + /* receive message */ + if (in->hpos < header_size) { + rc = spice_channel_read(channel, in->header + in->hpos, + header_size - in->hpos); + if (rc < 0) { + g_critical("recv hdr: %s", strerror(errno)); + return; + } + in->hpos += rc; + if (in->hpos < header_size) + return; + in->data = spice_malloc(spice_header_get_msg_size(in->header, c->use_mini_header)); + } + msg_size = spice_header_get_msg_size(in->header, c->use_mini_header); + if (in->dpos < msg_size) { + rc = spice_channel_read(channel, in->data + in->dpos, + msg_size - in->dpos); + if (rc < 0) { + g_critical("recv msg: %s", strerror(errno)); + return; + } + in->dpos += rc; + if (in->dpos < msg_size) + return; + } + + msg_type = spice_header_get_msg_type(in->header, c->use_mini_header); + sub_list_offset = spice_header_get_msg_sub_list(in->header, c->use_mini_header); + + if (msg_type == SPICE_MSG_LIST || sub_list_offset) { + SpiceSubMessageList *sub_list; + SpiceSubMessage *sub; + SpiceMsgIn *sub_in; + int i; + + sub_list = (SpiceSubMessageList *)(in->data + sub_list_offset); + for (i = 0; i < sub_list->size; i++) { + sub = (SpiceSubMessage *)(in->data + sub_list->sub_messages[i]); + sub_in = spice_msg_in_sub_new(channel, in, sub); + sub_in->parsed = c->parser(sub_in->data, sub_in->data + sub_in->dpos, + spice_header_get_msg_type(sub_in->header, + c->use_mini_header), + c->peer_hdr.minor_version, + &sub_in->psize, &sub_in->pfree); + if (sub_in->parsed == NULL) { + g_critical("failed to parse sub-message: %s type %d", + c->name, spice_header_get_msg_type(sub_in->header, c->use_mini_header)); + return; + } + msg_handler(channel, sub_in, data); + spice_msg_in_unref(sub_in); + } + } + + /* ack message */ + if (c->message_ack_count) { + c->message_ack_count--; + if (!c->message_ack_count) { + SpiceMsgOut *out = spice_msg_out_new(channel, SPICE_MSGC_ACK); + spice_msg_out_send_internal(out); + c->message_ack_count = c->message_ack_window; + } + } + + if (msg_type == SPICE_MSG_LIST) { + goto end; + } + + /* parse message */ + in->parsed = c->parser(in->data, in->data + in->dpos, msg_type, + c->peer_hdr.minor_version, &in->psize, &in->pfree); +#ifdef CONFIG_MARU + if (msg_type >= 26100) { + c->last_message_serial = spice_header_get_in_msg_serial(in); + c->in_serial++; + /* release message */ + c->msg_in = NULL; + return; + } +#endif + if (in->parsed == NULL) { + g_critical("failed to parse message: %s type %d", + c->name, msg_type); + goto end; + } + + /* process message */ + c->msg_in = NULL; /* the function is reentrant, reset state */ + /* spice_msg_in_hexdump(in); */ + msg_handler(channel, in, data); + +end: + /* If the server uses full header, the serial is not necessarily equal + * to c->in_serial (the server can sometimes skip serials) */ + c->last_message_serial = spice_header_get_in_msg_serial(in); + c->in_serial++; + /* release message */ + c->msg_in = NULL; + spice_msg_in_unref(in); +} + +const gchar* spice_channel_type_to_string(gint type) +{ + static const char *to_string[] = { + NULL, + [ SPICE_CHANNEL_MAIN ] = "main", + [ SPICE_CHANNEL_DISPLAY ] = "display", + [ SPICE_CHANNEL_INPUTS ] = "inputs", + [ SPICE_CHANNEL_CURSOR ] = "cursor", + [ SPICE_CHANNEL_PLAYBACK ] = "playback", + [ SPICE_CHANNEL_RECORD ] = "record", + [ SPICE_CHANNEL_TUNNEL ] = "tunnel", + [ SPICE_CHANNEL_SMARTCARD ] = "smartcard", + [ SPICE_CHANNEL_USBREDIR ] = "usbredir", + [ SPICE_CHANNEL_PORT ] = "port", + }; + const char *str = NULL; + + if (type >= 0 && type < G_N_ELEMENTS(to_string)) { + str = to_string[type]; + } + + return str ? str : "unknown channel type"; +} + +/** + * spice_channel_new: + * @s: the @SpiceSession the channel is linked to + * @type: the requested SPICECHANNELPRIVATE type + * @id: the channel-id + * + * Create a new #SpiceChannel of type @type, and channel ID @id. + * + * Returns: a weak reference to #SpiceChannel, the session owns the reference + **/ +SpiceChannel *spice_channel_new(SpiceSession *s, int type, int id) +{ + SpiceChannel *channel; + GType gtype = 0; + + g_return_val_if_fail(s != NULL, NULL); + + switch (type) { + case SPICE_CHANNEL_MAIN: + gtype = SPICE_TYPE_MAIN_CHANNEL; + break; + case SPICE_CHANNEL_DISPLAY: + gtype = SPICE_TYPE_DISPLAY_CHANNEL; + break; + case SPICE_CHANNEL_CURSOR: + gtype = SPICE_TYPE_CURSOR_CHANNEL; + break; + case SPICE_CHANNEL_INPUTS: + gtype = SPICE_TYPE_INPUTS_CHANNEL; + break; + case SPICE_CHANNEL_PLAYBACK: + case SPICE_CHANNEL_RECORD: { + if (!s->priv->audio) { + g_debug("audio channel is disabled, not creating it"); + return NULL; + } + gtype = type == SPICE_CHANNEL_RECORD ? + SPICE_TYPE_RECORD_CHANNEL : SPICE_TYPE_PLAYBACK_CHANNEL; + break; + } +#ifdef USE_SMARTCARD + case SPICE_CHANNEL_SMARTCARD: { + if (!s->priv->smartcard) { + g_debug("smartcard channel is disabled, not creating it"); + return NULL; + } + gtype = SPICE_TYPE_SMARTCARD_CHANNEL; + break; + } +#endif +#ifdef USE_USBREDIR + case SPICE_CHANNEL_USBREDIR: { + if (!s->priv->usbredir) { + g_debug("usbredir channel is disabled, not creating it"); + return NULL; + } + gtype = SPICE_TYPE_USBREDIR_CHANNEL; + break; + } +#endif + case SPICE_CHANNEL_PORT: + gtype = SPICE_TYPE_PORT_CHANNEL; + break; + default: + g_debug("unsupported channel kind: %s: %d", + spice_channel_type_to_string(type), type); + return NULL; + } + channel = SPICE_CHANNEL(g_object_new(gtype, + "spice-session", s, + "channel-type", type, + "channel-id", id, + NULL)); + return channel; +} + +/** + * spice_channel_destroy: + * @channel: + * + * Disconnect and unref the @channel. Called by @spice_session_disconnect() + * + **/ +void spice_channel_destroy(SpiceChannel *channel) +{ + g_return_if_fail(channel != NULL); + + CHANNEL_DEBUG(channel, "channel destroy"); + spice_channel_disconnect(channel, SPICE_CHANNEL_NONE); + g_object_unref(channel); +} + +/* any context */ +static void spice_channel_flushed(SpiceChannel *channel, gboolean success) +{ + SpiceChannelPrivate *c = channel->priv; + GSList *l; + + for (l = c->flushing; l != NULL; l = l->next) { + GSimpleAsyncResult *result = G_SIMPLE_ASYNC_RESULT(l->data); + g_simple_async_result_set_op_res_gboolean(result, success); + g_simple_async_result_complete_in_idle(result); + } + + g_slist_free_full(c->flushing, g_object_unref); + c->flushing = NULL; +} + +/* coroutine context */ +static void spice_channel_iterate_write(SpiceChannel *channel) +{ + SpiceChannelPrivate *c = channel->priv; + SpiceMsgOut *out; + + do { + STATIC_MUTEX_LOCK(c->xmit_queue_lock); + out = g_queue_pop_head(&c->xmit_queue); + STATIC_MUTEX_UNLOCK(c->xmit_queue_lock); + if (out) + spice_channel_write_msg(channel, out); + } while (out); + + spice_channel_flushed(channel, TRUE); +} + +/* coroutine context */ +static void spice_channel_iterate_read(SpiceChannel *channel) +{ + SpiceChannelPrivate *c = channel->priv; + g_return_if_fail(c->state != SPICE_CHANNEL_STATE_MIGRATING); + + spice_channel_recv_msg(channel, + (handler_msg_in)SPICE_CHANNEL_GET_CLASS(channel)->handle_msg, NULL); +} + +static gboolean wait_migration(gpointer data) +{ + SpiceChannel *channel = SPICE_CHANNEL(data); + SpiceChannelPrivate *c = channel->priv; + + if (c->state != SPICE_CHANNEL_STATE_MIGRATING) { + CHANNEL_DEBUG(channel, "unfreeze channel"); + return TRUE; + } + + return FALSE; +} + +/* coroutine context */ +static gboolean spice_channel_iterate(SpiceChannel *channel) +{ + SpiceChannelPrivate *c = channel->priv; + GIOCondition ret; + + do { + if (c->state == SPICE_CHANNEL_STATE_MIGRATING && + !g_coroutine_condition_wait(&c->coroutine, wait_migration, channel)) + CHANNEL_DEBUG(channel, "migration wait cancelled"); + + if (c->has_error) { + CHANNEL_DEBUG(channel, "channel has error, breaking loop"); + return FALSE; + } + + SPICE_CHANNEL_GET_CLASS(channel)->iterate_write(channel); + + ret = g_coroutine_socket_wait(&c->coroutine, c->sock, + c->state != SPICE_CHANNEL_STATE_MIGRATING ? G_IO_IN : 0); + +#ifdef WIN32 + /* FIXME: windows gsocket is buggy, it doesn't return correct condition... */ + ret = g_socket_condition_check(c->sock, G_IO_IN); +#endif + } while (ret == 0); /* ret == 0 means no IO condition, but woken up */ + + if (ret & G_IO_IN) { + do + SPICE_CHANNEL_GET_CLASS(channel)->iterate_read(channel); +#if HAVE_SASL + while (c->sasl_decoded != NULL); +#else + while (FALSE); +#endif + } + + if (c->state > SPICE_CHANNEL_STATE_CONNECTING && + ret & (G_IO_ERR|G_IO_HUP)) { + SPICE_DEBUG("got socket error: %d", ret); + emit_main_context(channel, SPICE_CHANNEL_EVENT, + c->state == SPICE_CHANNEL_STATE_READY ? + SPICE_CHANNEL_ERROR_IO : SPICE_CHANNEL_ERROR_LINK); + c->has_error = TRUE; + return FALSE; + } + + return TRUE; +} + +/* we use an idle function to allow the coroutine to exit before we actually + * unref the object since the coroutine's state is part of the object */ +static gboolean spice_channel_delayed_unref(gpointer data) +{ + SpiceChannel *channel = SPICE_CHANNEL(data); + SpiceChannelPrivate *c = channel->priv; + + g_return_val_if_fail(channel != NULL, FALSE); + CHANNEL_DEBUG(channel, "Delayed unref channel %p", channel); + + g_return_val_if_fail(c->coroutine.coroutine.exited == TRUE, FALSE); + + g_object_unref(G_OBJECT(data)); + + return FALSE; +} + +static X509_LOOKUP_METHOD spice_x509_mem_lookup = { + "spice_x509_mem_lookup", + 0 +}; + +static int spice_channel_load_ca(SpiceChannel *channel) +{ + SpiceChannelPrivate *c = channel->priv; + STACK_OF(X509_INFO) *inf; + X509_INFO *itmp; + X509_LOOKUP *lookup; + BIO *in; + int i, count = 0; + guint8 *ca; + guint size; + const gchar *ca_file; + + g_return_val_if_fail(c->ctx != NULL, 0); + + lookup = X509_STORE_add_lookup(c->ctx->cert_store, &spice_x509_mem_lookup); + ca_file = spice_session_get_ca_file(c->session); + spice_session_get_ca(c->session, &ca, &size); + + CHANNEL_DEBUG(channel, "Load CA, file: %s, data: %p", ca_file, ca); + g_warn_if_fail(ca_file || ca); + + if (ca != NULL) { + in = BIO_new_mem_buf(ca, size); + inf = PEM_X509_INFO_read_bio(in, NULL, NULL, NULL); + BIO_free(in); + + for (i = 0; i < sk_X509_INFO_num(inf); i++) { + itmp = sk_X509_INFO_value(inf, i); + if (itmp->x509) { + X509_STORE_add_cert(lookup->store_ctx, itmp->x509); + count++; + } + if (itmp->crl) { + X509_STORE_add_crl(lookup->store_ctx, itmp->crl); + count++; + } + } + + sk_X509_INFO_pop_free(inf, X509_INFO_free); + } + + if (ca_file != NULL) { + int rc = SSL_CTX_load_verify_locations(c->ctx, ca_file, NULL); + if (rc != 1) + g_warning("loading ca certs from %s failed", ca_file); + else + count++; + } + + return count; +} + + +/* coroutine context */ +static void *spice_channel_coroutine(void *data) +{ + SpiceChannel *channel = SPICE_CHANNEL(data); + SpiceChannelPrivate *c = channel->priv; + guint verify; + int rc, delay_val = 1; + gboolean switch_tls = FALSE; + + CHANNEL_DEBUG(channel, "Started background coroutine %p", &c->coroutine); + + if (spice_session_get_client_provided_socket(c->session)) { + if (c->fd < 0) { + g_critical("fd not provided!"); + emit_main_context(channel, SPICE_CHANNEL_EVENT, SPICE_CHANNEL_ERROR_CONNECT); + goto cleanup; + } + + if (!(c->sock = g_socket_new_from_fd(c->fd, NULL))) { + CHANNEL_DEBUG(channel, "Failed to open socket from fd %d", c->fd); + emit_main_context(channel, SPICE_CHANNEL_EVENT, SPICE_CHANNEL_ERROR_CONNECT); + goto cleanup; + } + + g_socket_set_blocking(c->sock, FALSE); + g_socket_set_keepalive(c->sock, TRUE); + goto connected; + } + +reconnect: + c->conn = spice_session_channel_open_host(c->session, channel, c->tls); + if (c->conn == NULL) { + if (!c->tls) { + CHANNEL_DEBUG(channel, "trying with TLS port"); + c->tls = true; /* FIXME: does that really work with provided fd */ + goto reconnect; + } else { + CHANNEL_DEBUG(channel, "Connect error"); + emit_main_context(channel, SPICE_CHANNEL_EVENT, SPICE_CHANNEL_ERROR_CONNECT); + goto cleanup; + } + } + c->sock = g_object_ref(g_socket_connection_get_socket(c->conn)); + + c->has_error = FALSE; + + if (c->tls) { + c->ctx = SSL_CTX_new(TLSv1_method()); + if (c->ctx == NULL) { + g_critical("SSL_CTX_new failed"); + emit_main_context(channel, SPICE_CHANNEL_EVENT, SPICE_CHANNEL_ERROR_TLS); + goto cleanup; + } + + verify = spice_session_get_verify(c->session); + if (verify & + (SPICE_SESSION_VERIFY_SUBJECT | SPICE_SESSION_VERIFY_HOSTNAME)) { + rc = spice_channel_load_ca(channel); + if (rc == 0) { + g_warning("no cert loaded"); + if (verify & SPICE_SESSION_VERIFY_PUBKEY) { + g_warning("only pubkey active"); + verify = SPICE_SESSION_VERIFY_PUBKEY; + } else { + emit_main_context(channel, SPICE_CHANNEL_EVENT, SPICE_CHANNEL_ERROR_TLS); + goto cleanup; + } + } + } + + { + const gchar *ciphers = spice_session_get_ciphers(c->session); + if (ciphers != NULL) { + rc = SSL_CTX_set_cipher_list(c->ctx, ciphers); + if (rc != 1) + g_warning("loading cipher list %s failed", ciphers); + } + } + + c->ssl = SSL_new(c->ctx); + if (c->ssl == NULL) { + g_critical("SSL_new failed"); + emit_main_context(channel, SPICE_CHANNEL_EVENT, SPICE_CHANNEL_ERROR_TLS); + goto cleanup; + } + + + BIO *bio = bio_new_gsocket(c->sock); + SSL_set_bio(c->ssl, bio, bio); + + { + guint8 *pubkey; + guint pubkey_len; + + spice_session_get_pubkey(c->session, &pubkey, &pubkey_len); + c->sslverify = spice_openssl_verify_new(c->ssl, verify, + spice_session_get_host(c->session), + (char*)pubkey, pubkey_len, + spice_session_get_cert_subject(c->session)); + } + +ssl_reconnect: + rc = SSL_connect(c->ssl); + if (rc <= 0) { + rc = SSL_get_error(c->ssl, rc); + if (rc == SSL_ERROR_WANT_READ || rc == SSL_ERROR_WANT_WRITE) { + g_coroutine_socket_wait(&c->coroutine, c->sock, G_IO_OUT|G_IO_ERR|G_IO_HUP); + goto ssl_reconnect; + } else { + g_warning("%s: SSL_connect: %s", + c->name, ERR_error_string(rc, NULL)); + emit_main_context(channel, SPICE_CHANNEL_EVENT, SPICE_CHANNEL_ERROR_TLS); + goto cleanup; + } + } + } + +connected: + rc = setsockopt(g_socket_get_fd(c->sock), IPPROTO_TCP, TCP_NODELAY, + (const char*)&delay_val, sizeof(delay_val)); + if ((rc != 0) +#ifdef ENOTSUP + && (errno != ENOTSUP) +#endif + ) { + g_warning("%s: could not set sockopt TCP_NODELAY: %s", c->name, + strerror(errno)); + } + + spice_channel_send_link(channel); + if (spice_channel_recv_link_hdr(channel) == FALSE) + goto cleanup; + spice_channel_recv_link_msg(channel, &switch_tls); + if (switch_tls) + goto cleanup; + spice_channel_recv_auth(channel); + + while (spice_channel_iterate(channel)) + ; + +cleanup: + CHANNEL_DEBUG(channel, "Coroutine exit %s", c->name); + + SPICE_CHANNEL_GET_CLASS(channel)->channel_disconnect(channel); + + if (switch_tls) { + c->tls = true; + spice_channel_connect(channel); + g_object_unref(channel); + } else + g_idle_add(spice_channel_delayed_unref, data); + + /* Co-routine exits now - the SpiceChannel object may no longer exist, + so don't do anything else now unless you like SEGVs */ + return NULL; +} + +static gboolean connect_delayed(gpointer data) +{ + SpiceChannel *channel = data; + SpiceChannelPrivate *c = channel->priv; + struct coroutine *co; + + CHANNEL_DEBUG(channel, "Open coroutine starting %p", channel); + c->connect_delayed_id = 0; + + co = &c->coroutine.coroutine; + + co->stack_size = 16 << 20; /* 16Mb */ + co->entry = spice_channel_coroutine; + co->release = NULL; + + coroutine_init(co); + coroutine_yieldto(co, channel); + + return FALSE; +} + +static gboolean channel_connect(SpiceChannel *channel) +{ + SpiceChannelPrivate *c = channel->priv; + + g_return_val_if_fail(c != NULL, FALSE); + + if (c->session == NULL || c->channel_type == -1 || c->channel_id == -1) { + /* unset properties or unknown channel type */ + g_warning("%s: channel setup incomplete", __FUNCTION__); + return false; + } + if (c->state != SPICE_CHANNEL_STATE_UNCONNECTED) { + g_warning("Invalid channel_connect state: %d", c->state); + return true; + } + + if (spice_session_get_client_provided_socket(c->session)) { + if (c->fd == -1) { + g_signal_emit(channel, signals[SPICE_CHANNEL_OPEN_FD], 0, c->tls); + return true; + } + } + c->state = SPICE_CHANNEL_STATE_CONNECTING; + c->xmit_queue_blocked = FALSE; + + g_return_val_if_fail(c->sock == NULL, FALSE); + g_object_ref(G_OBJECT(channel)); /* Unref'd when co-routine exits */ + + /* we connect in idle, to let previous coroutine exit, if present */ + c->connect_delayed_id = g_idle_add(connect_delayed, channel); + + return true; +} + +/** + * spice_channel_connect: + * @channel: + * + * Connect the channel, using #SpiceSession connection informations + * + * Returns: %TRUE on success. + **/ +gboolean spice_channel_connect(SpiceChannel *channel) +{ + g_return_val_if_fail(SPICE_IS_CHANNEL(channel), FALSE); + SpiceChannelPrivate *c = channel->priv; + + if (c->state >= SPICE_CHANNEL_STATE_CONNECTING) + return TRUE; + + return channel_connect(channel); +} + +/** + * spice_channel_open_fd: + * @channel: + * @fd: a file descriptor (socket) or -1. + * request mechanism + * + * Connect the channel using @fd socket. + * + * If @fd is -1, a valid fd will be requested later via the + * SpiceChannel::open-fd signal. + * + * Returns: %TRUE on success. + **/ +gboolean spice_channel_open_fd(SpiceChannel *channel, int fd) +{ + SpiceChannelPrivate *c = SPICE_CHANNEL_GET_PRIVATE(channel); + + g_return_val_if_fail(c != NULL, FALSE); + g_return_val_if_fail(fd >= -1, FALSE); + + c->fd = fd; + + return channel_connect(channel); +} + +/* system or coroutine context */ +static void channel_reset(SpiceChannel *channel, gboolean migrating) +{ + SpiceChannelPrivate *c = SPICE_CHANNEL_GET_PRIVATE(channel); + + if (c->connect_delayed_id) { + g_source_remove(c->connect_delayed_id); + c->connect_delayed_id = 0; + } + +#if HAVE_SASL + if (c->sasl_conn) { + sasl_dispose(&c->sasl_conn); + c->sasl_conn = NULL; + c->sasl_decoded_offset = c->sasl_decoded_length = 0; + } +#endif + + spice_openssl_verify_free(c->sslverify); + c->sslverify = NULL; + + if (c->ssl) { + SSL_free(c->ssl); + c->ssl = NULL; + } + + if (c->ctx) { + SSL_CTX_free(c->ctx); + c->ctx = NULL; + } + + if (c->conn) { + g_object_unref(c->conn); + c->conn = NULL; + } + if (c->sock) { + g_object_unref(c->sock); + c->sock = NULL; + } + c->fd = -1; + + free(c->peer_msg); + c->peer_msg = NULL; + c->peer_pos = 0; + + STATIC_MUTEX_LOCK(c->xmit_queue_lock); + c->xmit_queue_blocked = TRUE; /* Disallow queuing new messages */ + gboolean was_empty = g_queue_is_empty(&c->xmit_queue); + g_queue_foreach(&c->xmit_queue, (GFunc)spice_msg_out_unref, NULL); + g_queue_clear(&c->xmit_queue); + if (c->xmit_queue_wakeup_id) { + g_source_remove(c->xmit_queue_wakeup_id); + c->xmit_queue_wakeup_id = 0; + } + STATIC_MUTEX_UNLOCK(c->xmit_queue_lock); + spice_channel_flushed(channel, was_empty); + + g_array_set_size(c->remote_common_caps, 0); + g_array_set_size(c->remote_caps, 0); + g_array_set_size(c->common_caps, 0); + /* Restore our default capabilities in case the channel gets re-used */ + spice_channel_set_common_capability(channel, SPICE_COMMON_CAP_PROTOCOL_AUTH_SELECTION); + spice_channel_set_common_capability(channel, SPICE_COMMON_CAP_MINI_HEADER); + spice_channel_reset_capabilities(channel); +} + +/* system or coroutine context */ +G_GNUC_INTERNAL +void spice_channel_reset(SpiceChannel *channel, gboolean migrating) +{ + SPICE_CHANNEL_GET_CLASS(channel)->channel_reset(channel, migrating); +} + +/* system or coroutine context */ +static void channel_disconnect(SpiceChannel *channel) +{ + SpiceChannelPrivate *c = SPICE_CHANNEL_GET_PRIVATE(channel); + + g_return_if_fail(c != NULL); + + if (c->state == SPICE_CHANNEL_STATE_UNCONNECTED) + return; + + c->has_error = TRUE; /* break the loop */ + + if (c->state == SPICE_CHANNEL_STATE_READY) + emit_main_context(channel, SPICE_CHANNEL_EVENT, SPICE_CHANNEL_CLOSED); + + c->state = SPICE_CHANNEL_STATE_UNCONNECTED; + spice_channel_reset(channel, FALSE); + + g_return_if_fail(SPICE_IS_CHANNEL(channel)); +} + +/** + * spice_channel_disconnect: + * @channel: + * @reason: a channel event emitted on main context (or #SPICE_CHANNEL_NONE) + * + * Close the socket and reset connection specific data. Finally, emit + * @reason #SpiceChannel::channel-event on main context if not + * #SPICE_CHANNEL_NONE. + **/ +void spice_channel_disconnect(SpiceChannel *channel, SpiceChannelEvent reason) +{ + SpiceChannelPrivate *c = SPICE_CHANNEL_GET_PRIVATE(channel); + + CHANNEL_DEBUG(channel, "channel disconnect %d", reason); + g_return_if_fail(c != NULL); + + if (c->state == SPICE_CHANNEL_STATE_UNCONNECTED) + return; + + if (reason == SPICE_CHANNEL_SWITCHING) + c->state = SPICE_CHANNEL_STATE_SWITCHING; + + c->has_error = TRUE; /* break the loop */ + + if (c->state == SPICE_CHANNEL_STATE_MIGRATING) { + c->state = SPICE_CHANNEL_STATE_READY; + } else + spice_channel_wakeup(channel, TRUE); + + if (reason != SPICE_CHANNEL_NONE) + g_signal_emit(G_OBJECT(channel), signals[SPICE_CHANNEL_EVENT], 0, reason); +} + +static gboolean test_capability(GArray *caps, guint32 cap) +{ + guint32 c, word_index = cap / 32; + gboolean ret; + + if (caps == NULL) + return FALSE; + + if (caps->len < word_index + 1) + return FALSE; + + c = g_array_index(caps, guint32, word_index); + ret = (c & (1 << (cap % 32))) != 0; + + SPICE_DEBUG("test cap %d in 0x%X: %s", cap, c, ret ? "yes" : "no"); + return ret; +} + +/** + * spice_channel_test_capability: + * @channel: + * @cap: + * + * Test availability of remote "channel kind capability". + * + * Returns: %TRUE if @cap (channel kind capability) is available. + **/ +gboolean spice_channel_test_capability(SpiceChannel *self, guint32 cap) +{ + SpiceChannelPrivate *c; + + g_return_val_if_fail(SPICE_IS_CHANNEL(self), FALSE); + + c = self->priv; + return test_capability(c->remote_caps, cap); +} + +/** + * spice_channel_test_common_capability: + * @channel: + * @cap: + * + * Test availability of remote "common channel capability". + * + * Returns: %TRUE if @cap (common channel capability) is available. + **/ +gboolean spice_channel_test_common_capability(SpiceChannel *self, guint32 cap) +{ + SpiceChannelPrivate *c; + + g_return_val_if_fail(SPICE_IS_CHANNEL(self), FALSE); + + c = self->priv; + return test_capability(c->remote_common_caps, cap); +} + +static void set_capability(GArray *caps, guint32 cap) +{ + guint word_index = cap / 32; + + g_return_if_fail(caps != NULL); + + if (caps->len <= word_index) + g_array_set_size(caps, word_index + 1); + + g_array_index(caps, guint32, word_index) = + g_array_index(caps, guint32, word_index) | (1 << (cap % 32)); +} + +/** + * spice_channel_set_capability: + * @channel: + * @cap: a capability + * + * Enable specific channel-kind capability. + * Deprecated: 0.13: this function has been removed + **/ +#undef spice_channel_set_capability +void spice_channel_set_capability(SpiceChannel *channel, guint32 cap) +{ + SpiceChannelPrivate *c; + + g_return_if_fail(SPICE_IS_CHANNEL(channel)); + + c = channel->priv; + set_capability(c->caps, cap); +} + +G_GNUC_INTERNAL +void spice_caps_set(GArray *caps, guint32 cap, const gchar *desc) +{ + g_return_if_fail(caps != NULL); + g_return_if_fail(desc != NULL); + + if (g_strcmp0(g_getenv(desc), "0") == 0) + return; + + set_capability(caps, cap); +} + +G_GNUC_INTERNAL +SpiceSession* spice_channel_get_session(SpiceChannel *channel) +{ + g_return_val_if_fail(SPICE_IS_CHANNEL(channel), NULL); + + return channel->priv->session; +} + +G_GNUC_INTERNAL +enum spice_channel_state spice_channel_get_state(SpiceChannel *channel) +{ + g_return_val_if_fail(SPICE_IS_CHANNEL(channel), + SPICE_CHANNEL_STATE_UNCONNECTED); + + return channel->priv->state; +} + +G_GNUC_INTERNAL +void spice_channel_swap(SpiceChannel *channel, SpiceChannel *swap, gboolean swap_msgs) +{ + SpiceChannelPrivate *c = SPICE_CHANNEL_GET_PRIVATE(channel); + SpiceChannelPrivate *s = SPICE_CHANNEL_GET_PRIVATE(swap); + + g_return_if_fail(c != NULL); + g_return_if_fail(s != NULL); + + g_return_if_fail(s->session != NULL); + g_return_if_fail(s->sock != NULL); + +#define SWAP(Field) ({ \ + typeof (c->Field) Field = c->Field; \ + c->Field = s->Field; \ + s->Field = Field; \ +}) + + /* TODO: split channel in 2 objects: a controller and a swappable + state object */ + SWAP(sock); + SWAP(ctx); + SWAP(ssl); + SWAP(sslverify); + SWAP(tls); + SWAP(use_mini_header); + if (swap_msgs) { + SWAP(xmit_queue); + SWAP(xmit_queue_blocked); + SWAP(in_serial); + SWAP(out_serial); + } + SWAP(caps); + SWAP(common_caps); + SWAP(remote_caps); + SWAP(remote_common_caps); +#if HAVE_SASL + SWAP(sasl_conn); + SWAP(sasl_decoded); + SWAP(sasl_decoded_length); + SWAP(sasl_decoded_offset); +#endif +} + +static const spice_msg_handler base_handlers[] = { + [ SPICE_MSG_SET_ACK ] = spice_channel_handle_set_ack, + [ SPICE_MSG_PING ] = spice_channel_handle_ping, + [ SPICE_MSG_NOTIFY ] = spice_channel_handle_notify, + [ SPICE_MSG_DISCONNECTING ] = spice_channel_handle_disconnect, + [ SPICE_MSG_WAIT_FOR_CHANNELS ] = spice_channel_handle_wait_for_channels, + [ SPICE_MSG_MIGRATE ] = spice_channel_handle_migrate, +}; + +/* coroutine context */ +static void spice_channel_handle_msg(SpiceChannel *channel, SpiceMsgIn *msg) +{ + int type = spice_msg_in_type(msg); + + g_return_if_fail(type < SPICE_N_ELEMENTS(base_handlers)); + g_return_if_fail(base_handlers[type] != NULL); + + base_handlers[type](channel, msg); +} + +static void spice_channel_reset_capabilities(SpiceChannel *channel) +{ + SpiceChannelPrivate *c = SPICE_CHANNEL_GET_PRIVATE(channel); + g_array_set_size(c->caps, 0); + + if (SPICE_CHANNEL_GET_CLASS(channel)->channel_reset_capabilities) { + SPICE_CHANNEL_GET_CLASS(channel)->channel_reset_capabilities(channel); + } +} + +static void spice_channel_send_migration_handshake(SpiceChannel *channel) +{ + SpiceChannelPrivate *c = SPICE_CHANNEL_GET_PRIVATE(channel); + + if (SPICE_CHANNEL_GET_CLASS(channel)->channel_send_migration_handshake) { + SPICE_CHANNEL_GET_CLASS(channel)->channel_send_migration_handshake(channel); + } else { + c->state = SPICE_CHANNEL_STATE_MIGRATING; + } +} + +/** + * spice_channel_flush_async: + * @channel: a #SpiceChannel + * @cancellable: (allow-none): optional GCancellable object, %NULL to ignore + * @callback: (scope async): callback to call when the request is satisfied + * @user_data: (closure): the data to pass to callback function + * + * Forces an asynchronous write of all user-space buffered data for + * the given channel. + * + * When the operation is finished callback will be called. You can + * then call spice_channel_flush_finish() to get the result of the + * operation. + * + * Since: 0.15 + **/ +void spice_channel_flush_async(SpiceChannel *self, GCancellable *cancellable, + GAsyncReadyCallback callback, gpointer user_data) +{ + GSimpleAsyncResult *simple; + SpiceChannelPrivate *c; + gboolean was_empty; + + g_return_if_fail(SPICE_IS_CHANNEL(self)); + c = self->priv; + + if (c->state != SPICE_CHANNEL_STATE_READY) { + g_simple_async_report_error_in_idle(G_OBJECT(self), callback, user_data, + SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + "The channel is not ready yet"); + return; + } + + simple = g_simple_async_result_new(G_OBJECT(self), callback, user_data, + spice_channel_flush_async); + + STATIC_MUTEX_LOCK(c->xmit_queue_lock); + was_empty = g_queue_is_empty(&c->xmit_queue); + STATIC_MUTEX_UNLOCK(c->xmit_queue_lock); + if (was_empty) { + g_simple_async_result_set_op_res_gboolean(simple, TRUE); + g_simple_async_result_complete_in_idle(simple); + g_object_unref(simple); + return; + } + + c->flushing = g_slist_append(c->flushing, simple); +} + +/** + * spice_channel_flush_finish: + * @channel: a #SpiceChannel + * @result: a #GAsyncResult + * @error: a #GError location to store the error occurring, or %NULL + * to ignore. + * + * Finishes flushing a channel. + * + * Returns: %TRUE if flush operation succeeded, %FALSE otherwise. + * Since: 0.15 + **/ +gboolean spice_channel_flush_finish(SpiceChannel *self, GAsyncResult *result, + GError **error) +{ + GSimpleAsyncResult *simple; + + g_return_val_if_fail(SPICE_IS_CHANNEL(self), FALSE); + g_return_val_if_fail(result != NULL, FALSE); + + simple = (GSimpleAsyncResult *)result; + + if (g_simple_async_result_propagate_error(simple, error)) + return -1; + + g_return_val_if_fail(g_simple_async_result_is_valid(result, G_OBJECT(self), + spice_channel_flush_async), FALSE); + + CHANNEL_DEBUG(self, "flushed finished!"); + return g_simple_async_result_get_op_res_gboolean(simple); +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-channel.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-channel.h new file mode 100644 index 0000000..4b2af33 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-channel.h @@ -0,0 +1,126 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_CLIENT_CHANNEL_H__ +#define __SPICE_CLIENT_CHANNEL_H__ + +G_BEGIN_DECLS + +#include +#include "spice-types.h" +#include "spice-glib-enums.h" +#include "spice-util.h" + +#define SPICE_TYPE_CHANNEL (spice_channel_get_type ()) +#define SPICE_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPICE_TYPE_CHANNEL, SpiceChannel)) +#define SPICE_CHANNEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SPICE_TYPE_CHANNEL, SpiceChannelClass)) +#define SPICE_IS_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPICE_TYPE_CHANNEL)) +#define SPICE_IS_CHANNEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPICE_TYPE_CHANNEL)) +#define SPICE_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPICE_TYPE_CHANNEL, SpiceChannelClass)) + +typedef struct _SpiceMsgIn SpiceMsgIn; +typedef struct _SpiceMsgOut SpiceMsgOut; + +/** + * SpiceChannelEvent: + * @SPICE_CHANNEL_NONE: no event, or ignored event + * @SPICE_CHANNEL_OPENED: connection is authentified and ready + * @SPICE_CHANNEL_CLOSED: connection is closed normally (sent if channel was ready) + * @SPICE_CHANNEL_ERROR_CONNECT: connection error + * @SPICE_CHANNEL_ERROR_TLS: SSL error + * @SPICE_CHANNEL_ERROR_LINK: error during link process + * @SPICE_CHANNEL_ERROR_AUTH: authentication error + * @SPICE_CHANNEL_ERROR_IO: IO error + * + * An event, emitted by #SpiceChannel::channel-event signal. + **/ +typedef enum +{ + SPICE_CHANNEL_NONE = 0, + SPICE_CHANNEL_OPENED = 10, + SPICE_CHANNEL_SWITCHING, + SPICE_CHANNEL_CLOSED, + SPICE_CHANNEL_ERROR_CONNECT = 20, + SPICE_CHANNEL_ERROR_TLS, + SPICE_CHANNEL_ERROR_LINK, + SPICE_CHANNEL_ERROR_AUTH, + SPICE_CHANNEL_ERROR_IO, +} SpiceChannelEvent; + +struct _SpiceChannel +{ + GObject parent; + SpiceChannelPrivate *priv; + /* Do not add fields to this struct */ +}; + +struct _SpiceChannelClass +{ + GObjectClass parent_class; + + /*< public >*/ + /* signals, main context */ + void (*channel_event)(SpiceChannel *channel, SpiceChannelEvent event); + void (*open_fd)(SpiceChannel *channel, int with_tls); + + /*< private >*/ + /* virtual methods, coroutine context */ + void (*handle_msg)(SpiceChannel *channel, SpiceMsgIn *msg); + void (*channel_up)(SpiceChannel *channel); + void (*iterate_write)(SpiceChannel *channel); + void (*iterate_read)(SpiceChannel *channel); + + /*< private >*/ + /* virtual method, any context */ + void (*channel_disconnect)(SpiceChannel *channel); + void (*channel_reset)(SpiceChannel *channel, gboolean migrating); + void (*channel_reset_capabilities)(SpiceChannel *channel); + + /*< private >*/ + /* virtual methods, coroutine context */ + void (*channel_send_migration_handshake)(SpiceChannel *channel); + + /* + * If adding fields to this struct, remove corresponding + * amount of padding to avoid changing overall struct size + */ + gchar _spice_reserved[SPICE_RESERVED_PADDING - sizeof(void *)]; +}; + +GType spice_channel_get_type(void); + +typedef void (*spice_msg_handler)(SpiceChannel *channel, SpiceMsgIn *in); + +SpiceChannel *spice_channel_new(SpiceSession *s, int type, int id); +void spice_channel_destroy(SpiceChannel *channel); +gboolean spice_channel_connect(SpiceChannel *channel); +gboolean spice_channel_open_fd(SpiceChannel *channel, int fd); +void spice_channel_disconnect(SpiceChannel *channel, SpiceChannelEvent reason); +gboolean spice_channel_test_capability(SpiceChannel *channel, guint32 cap); +gboolean spice_channel_test_common_capability(SpiceChannel *channel, guint32 cap); +void spice_channel_flush_async(SpiceChannel *channel, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); +gboolean spice_channel_flush_finish(SpiceChannel *channel, GAsyncResult *result, GError **error); +#ifndef SPICE_DISABLE_DEPRECATED +SPICE_DEPRECATED +void spice_channel_set_capability(SpiceChannel *channel, guint32 cap); +#endif + +const gchar* spice_channel_type_to_string(gint type); + +G_END_DECLS + +#endif /* __SPICE_CLIENT_CHANNEL_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-client-glib-usb-acl-helper.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-client-glib-usb-acl-helper.c new file mode 100644 index 0000000..93b9b3a --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-client-glib-usb-acl-helper.c @@ -0,0 +1,371 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2011,2012 Red Hat, Inc. + Copyright (C) 2009 Kay Sievers + + Red Hat Authors: + Hans de Goede + + 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, see . +*/ + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "glib-compat.h" + +#define FATAL_ERROR(...) \ + do { \ + /* We print the error both to stdout, for the app invoking us and \ + stderr for the end user */ \ + fprintf(stdout, "Error " __VA_ARGS__); \ + fprintf(stderr, "spice-client-glib-usb-helper: Error " __VA_ARGS__); \ + exit_status = 1; \ + cleanup(); \ + } while (0) + +#define ERROR(...) \ + do { \ + fprintf(stdout, __VA_ARGS__); \ + cleanup(); \ + } while (0) + +enum state { + STATE_WAITING_FOR_BUS_N_DEV, + STATE_WAITING_FOR_POL_KIT, + STATE_WAITING_FOR_STDIN_EOF, +}; + +static enum state state = STATE_WAITING_FOR_BUS_N_DEV; +static int exit_status; +static int busnum, devnum; +static char path[PATH_MAX]; +static GMainLoop *loop; +static GDataInputStream *stdin_stream; +static GCancellable *polkit_cancellable; +static PolkitSubject *subject; +static PolkitAuthority *authority; + +/* + * This function is a copy of the same function in udev, written by Kay + * Sievers, you can find it in udev in extras/udev-acl/udev-acl.c + */ +static int set_facl(const char* filename, uid_t uid, int add) +{ + int get; + acl_t acl; + acl_entry_t entry = NULL; + acl_entry_t e; + acl_permset_t permset; + int ret; + + /* don't touch ACLs for root */ + if (uid == 0) + return 0; + + /* read current record */ + acl = acl_get_file(filename, ACL_TYPE_ACCESS); + if (!acl) + return -1; + + /* locate ACL_USER entry for uid */ + get = acl_get_entry(acl, ACL_FIRST_ENTRY, &e); + while (get == 1) { + acl_tag_t t; + + acl_get_tag_type(e, &t); + if (t == ACL_USER) { + uid_t *u; + + u = (uid_t*)acl_get_qualifier(e); + if (u == NULL) { + ret = -1; + goto out; + } + if (*u == uid) { + entry = e; + acl_free(u); + break; + } + acl_free(u); + } + + get = acl_get_entry(acl, ACL_NEXT_ENTRY, &e); + } + + /* remove ACL_USER entry for uid */ + if (!add) { + if (entry == NULL) { + ret = 0; + goto out; + } + acl_delete_entry(acl, entry); + goto update; + } + + /* create ACL_USER entry for uid */ + if (entry == NULL) { + ret = acl_create_entry(&acl, &entry); + if (ret != 0) + goto out; + acl_set_tag_type(entry, ACL_USER); + acl_set_qualifier(entry, &uid); + } + + /* add permissions for uid */ + acl_get_permset(entry, &permset); + acl_add_perm(permset, ACL_READ|ACL_WRITE); +update: + /* update record */ + acl_calc_mask(&acl); + ret = acl_set_file(filename, ACL_TYPE_ACCESS, acl); + if (ret != 0) + goto out; +out: + acl_free(acl); + return ret; +} + +static void cleanup(void) +{ + if (polkit_cancellable) + g_cancellable_cancel(polkit_cancellable); + + if (state == STATE_WAITING_FOR_STDIN_EOF) + set_facl(path, getuid(), 0); + + if (loop) + g_main_loop_quit(loop); +} + +/* Not available in polkit < 0.101 */ +#if !HAVE_POLKIT_AUTHORIZATION_RESULT_GET_DISMISSED +static gboolean +polkit_authorization_result_get_dismissed(PolkitAuthorizationResult *result) +{ + gboolean ret; + PolkitDetails *details; + + g_return_val_if_fail(POLKIT_IS_AUTHORIZATION_RESULT(result), FALSE); + + ret = FALSE; + details = polkit_authorization_result_get_details(result); + if (details != NULL && polkit_details_lookup(details, "polkit.dismissed")) + ret = TRUE; + + return ret; +} +#endif + +static void check_authorization_cb(PolkitAuthority *authority, + GAsyncResult *res, gpointer data) +{ + PolkitAuthorizationResult *result; + GError *err = NULL; + struct stat stat_buf; + + g_clear_object(&polkit_cancellable); + + result = polkit_authority_check_authorization_finish(authority, res, &err); + if (err) { + FATAL_ERROR("PoliciKit error: %s\n", err->message); + g_error_free(err); + return; + } + + if (polkit_authorization_result_get_dismissed(result)) { + ERROR("CANCELED\n"); + return; + } + + if (!polkit_authorization_result_get_is_authorized(result)) { + ERROR("Not authorized\n"); + return; + } + + snprintf(path, PATH_MAX, "/dev/bus/usb/%03d/%03d", busnum, devnum); + + if (stat(path, &stat_buf) != 0) { + FATAL_ERROR("statting %s: %s\n", path, strerror(errno)); + return; + } + if (!S_ISCHR(stat_buf.st_mode)) { + FATAL_ERROR("%s is not a character device\n", path); + return; + } + + if (set_facl(path, getuid(), 1)) { + FATAL_ERROR("setting facl: %s\n", strerror(errno)); + return; + } + + fprintf(stdout, "SUCCESS\n"); + fflush(stdout); + state = STATE_WAITING_FOR_STDIN_EOF; +} + +static void stdin_read_complete(GObject *src, GAsyncResult *res, gpointer data) +{ + char *s, *ep; + GError *err = NULL; + gsize len; + + s = g_data_input_stream_read_line_finish(G_DATA_INPUT_STREAM(src), res, + &len, &err); + if (!s) { + if (err) { + FATAL_ERROR("Reading from stdin: %s\n", err->message); + g_error_free(err); + return; + } + + switch (state) { + case STATE_WAITING_FOR_BUS_N_DEV: + FATAL_ERROR("EOF while waiting for bus and device num\n"); + break; + case STATE_WAITING_FOR_POL_KIT: + ERROR("Cancelled while waiting for authorization\n"); + break; + case STATE_WAITING_FOR_STDIN_EOF: + cleanup(); + break; + } + return; + } + + switch (state) { + case STATE_WAITING_FOR_BUS_N_DEV: + busnum = strtol(s, &ep, 10); + if (!isspace(*ep)) { + FATAL_ERROR("Invalid busnum / devnum: %s\n", s); + break; + } + devnum = strtol(ep, &ep, 10); + if (*ep != '\0') { + FATAL_ERROR("Invalid busnum / devnum: %s\n", s); + break; + } + + /* + * The set_facl() call is a no-op for root, so no need to ask PolKit + * and then if ok call set_facl(), when called by a root process. + */ + if (getuid() != 0) { + polkit_cancellable = g_cancellable_new(); + polkit_authority_check_authorization( + authority, subject, "org.spice-space.lowlevelusbaccess", NULL, + POLKIT_CHECK_AUTHORIZATION_FLAGS_ALLOW_USER_INTERACTION, + polkit_cancellable, + (GAsyncReadyCallback)check_authorization_cb, NULL); + state = STATE_WAITING_FOR_POL_KIT; + } else { + fprintf(stdout, "SUCCESS\n"); + fflush(stdout); + state = STATE_WAITING_FOR_STDIN_EOF; + } + + g_data_input_stream_read_line_async(stdin_stream, G_PRIORITY_DEFAULT, + NULL, stdin_read_complete, NULL); + break; + default: + FATAL_ERROR("Unexpected extra input in state %d: %s\n", state, s); + } + g_free(s); +} + +/* Fix for polkit 0.97 and later */ +#if !HAVE_POLKIT_AUTHORITY_GET_SYNC +static PolkitAuthority * +polkit_authority_get_sync (GCancellable *cancellable, GError **error) +{ + PolkitAuthority *authority; + + authority = polkit_authority_get (); + if (!authority) + g_set_error (error, 0, 0, "failed to get the PolicyKit authority"); + + return authority; +} +#endif + +#ifndef HAVE_CLEARENV +extern char **environ; + +static int +clearenv (void) +{ + if (environ != NULL) + environ[0] = NULL; + return 0; +} +#endif + +int main(void) +{ + pid_t parent_pid; + GInputStream *stdin_unix_stream; + + /* Nuke the environment to get a well-known and sanitized + * environment to avoid attacks via e.g. the DBUS_SYSTEM_BUS_ADDRESS + * environment variable and similar. + */ + if (clearenv () != 0) { + FATAL_ERROR("Error clearing environment: %s\n", g_strerror (errno)); + return 1; + } + + g_type_init(); + + loop = g_main_loop_new(NULL, FALSE); + + authority = polkit_authority_get_sync(NULL, NULL); + parent_pid = getppid (); + if (parent_pid == 1) { + FATAL_ERROR("Parent process was reaped by init(1)\n"); + return 1; + } + subject = polkit_unix_process_new(parent_pid); + + stdin_unix_stream = g_unix_input_stream_new(STDIN_FILENO, 0); + stdin_stream = g_data_input_stream_new(stdin_unix_stream); + g_data_input_stream_set_newline_type(stdin_stream, + G_DATA_STREAM_NEWLINE_TYPE_LF); + g_clear_object(&stdin_unix_stream); + g_data_input_stream_read_line_async(stdin_stream, G_PRIORITY_DEFAULT, NULL, + stdin_read_complete, NULL); + + g_main_loop_run(loop); + + if (polkit_cancellable) + g_clear_object(&polkit_cancellable); + g_object_unref(stdin_stream); + g_object_unref(authority); + g_object_unref(subject); + g_main_loop_unref(loop); + + return exit_status; +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-client-gtk-manual.defs b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-client-gtk-manual.defs new file mode 100644 index 0000000..233798a --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-client-gtk-manual.defs @@ -0,0 +1,135 @@ +(define-method set_display + (of-object "SpiceMainChannel") + (c-name "spice_main_set_display") + (return-type "none") + (parameters + '("int" "id") + '("int" "x") + '("int" "y") + '("int" "width") + '("int" "height") + ) +) + +(define-method clipboard_grab + (of-object "SpiceMainChannel") + (c-name "spice_main_clipboard_grab") + (return-type "none") + (parameters + '("int*" "types") + '("int" "ntypes") + ) +) + +(define-method clipboard_release + (of-object "SpiceMainChannel") + (c-name "spice_main_clipboard_release") + (return-type "none") +) + +(define-method motion + (of-object "SpiceInputsChannel") + (c-name "spice_inputs_motion") + (return-type "none") + (parameters + '("gint" "dx") + '("gint" "dy") + '("gint" "button_state") + ) +) + +(define-method position + (of-object "SpiceInputsChannel") + (c-name "spice_inputs_position") + (return-type "none") + (parameters + '("gint" "x") + '("gint" "y") + '("gint" "display") + '("gint" "button_state") + ) +) + +(define-method button_press + (of-object "SpiceInputsChannel") + (c-name "spice_inputs_button_press") + (return-type "none") + (parameters + '("gint" "button") + '("gint" "button_state") + ) +) + +(define-method button_release + (of-object "SpiceInputsChannel") + (c-name "spice_inputs_button_release") + (return-type "none") + (parameters + '("gint" "button") + '("gint" "button_state") + ) +) + +(define-method key_press + (of-object "SpiceInputsChannel") + (c-name "spice_inputs_key_press") + (return-type "none") + (parameters + '("guint" "keyval") + ) +) + +(define-method key_release + (of-object "SpiceInputsChannel") + (c-name "spice_inputs_key_release") + (return-type "none") + (parameters + '("guint" "keyval") + ) +) + +(define-method hwkey_press + (of-object "SpiceInputsChannel") + (c-name "spice_inputs_hwkey_press") + (return-type "none") + (parameters + '("guint" "keyval") + ) +) + +(define-method hwkey_release + (of-object "SpiceInputsChannel") + (c-name "spice_inputs_hwkey_release") + (return-type "none") + (parameters + '("guint" "keyval") + ) +) + +(define-method set_key_locks + (of-object "SpiceInputsChannel") + (c-name "spice_inputs_set_key_locks") + (return-type "none") + (parameters + '("guint" "locks") + ) +) + +(define-enum ClientError + (in-module "Spice") + (c-name "SpiceClientError") + (values + '("failed" "SPICE_CLIENT_ERROR_FAILED") + ) +) + +(define-function spice_audio_new + (c-name "spice_audio_new") + (is-constructor-of "SpiceAudio") + (return-type "SpiceAudio*") + (parameters + '("SpiceSession*" "session") + '("GMainContext*" "context") + '("const-char*" "name") + ) +) diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-client-gtk-module.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-client-gtk-module.c new file mode 100644 index 0000000..e93b19d --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-client-gtk-module.c @@ -0,0 +1,44 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#include + +void spice_register_classes (PyObject *d); +void spice_add_constants(PyObject *module, const gchar *strip_prefix); +extern PyMethodDef spice_functions[]; + +DL_EXPORT(void) initSpiceClientGtk(void) +{ + PyObject *m, *d; + + init_pygobject(); + + m = Py_InitModule("SpiceClientGtk", spice_functions); + if (PyErr_Occurred()) + Py_FatalError("can't init module"); + + d = PyModule_GetDict(m); + if (PyErr_Occurred()) + Py_FatalError("can't get dict"); + + spice_register_classes(d); + spice_add_constants(m, "SPICE_"); + + if (PyErr_Occurred()) { + Py_FatalError("can't initialise module SpiceClientGtk"); + } +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-client-gtk.override b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-client-gtk.override new file mode 100644 index 0000000..f83e3a1 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-client-gtk.override @@ -0,0 +1,178 @@ +%% +headers +#include +#include "pygobject.h" +#include "spice-common.h" +#include "spice-widget.h" +#include "spice-gtk-session.h" +#include "spice-audio.h" +#include "usb-device-widget.h" +%% +modulename spice_client_gtk +%% +import gobject.GObject as PyGObject_Type +import gtk.DrawingArea as PyGtkDrawingArea_Type +import gtk.Widget as PyGtkWidget_Type +import gtk.VBox as PyGtkVBox_Type +%% +ignore-glob + *_get_type +%% +%% +override spice_display_send_keys kwargs +static PyObject* +_wrap_spice_display_send_keys(PyGObject *self, + PyObject *args, PyObject *kwargs) +{ + static char *kwlist[] = {"keys", "kind", NULL}; + PyObject *keyList; + int kind = SPICE_DISPLAY_KEY_EVENT_CLICK; + int i, len; + guint *keys; + + if (!PyArg_ParseTupleAndKeywords(args, kwargs, + "O|I:SpiceDisplay.send_keys", kwlist, + &keyList, &kind)) + return NULL; + + if (!PyList_Check(keyList)) + return NULL; + + len = PyList_Size(keyList); + keys = malloc(sizeof(guint)*len); + for (i = 0 ; i < len ; i++) { + PyObject *val; + char *sym; + val = PyList_GetItem(keyList, i); + sym = PyString_AsString(val); + if (!sym) { + free(keys); + return NULL; + } + keys[i] = gdk_keyval_from_name(sym); + } + + spice_display_send_keys(SPICE_DISPLAY(self->obj), keys, len, kind); + free(keys); + + Py_INCREF(Py_None); + return Py_None; +} +%% +override spice_display_get_grab_keys kwargs +static PyObject* +_wrap_spice_display_get_grab_keys(PyGObject *self, + PyObject *args, PyObject *kwargs) +{ + SpiceGrabSequence *seq; + PyObject *keyList; + int i; + + seq = spice_display_get_grab_keys(SPICE_DISPLAY(self->obj)); + + keyList = PyList_New(0); + for (i = 0 ; i < seq->nkeysyms ; i++) + PyList_Append(keyList, PyInt_FromLong(seq->keysyms[i])); + + return keyList; +} +%% +override spice_display_set_grab_keys kwargs +static PyObject* +_wrap_spice_display_set_grab_keys(PyGObject *self, + PyObject *args, PyObject *kwargs) +{ + static char *kwlist[] = {"keys", NULL}; + PyObject *keyList; + int i; + guint nkeysyms; + guint *keysyms; + SpiceGrabSequence *seq; + + if (!PyArg_ParseTupleAndKeywords(args, kwargs, + "O|I:SpiceDisplay.set_grab_keys", kwlist, + &keyList)) + return NULL; + + if (!PyList_Check(keyList)) + return NULL; + + nkeysyms = PyList_Size(keyList); + keysyms = g_new0(guint, nkeysyms); + + for (i = 0 ; i < nkeysyms ; i++) { + PyObject *val = PyList_GetItem(keyList, i); + keysyms[i] = (guint)PyInt_AsLong(val); + } + + seq = spice_grab_sequence_new(nkeysyms, keysyms); + g_free(keysyms); + + spice_display_set_grab_keys(SPICE_DISPLAY(self->obj), seq); + + spice_grab_sequence_free(seq); + + Py_INCREF(Py_None); + return Py_None; +} +%% +override spice_session_get_channels +static PyObject* +_wrap_spice_session_get_channels(PyGObject *self, + PyObject *args, PyObject *kwargs) +{ + PyObject *py_list; + GList *list, *tmp; + PyObject *chann; + + list = spice_session_get_channels(SPICE_SESSION(self->obj)); + + if ((py_list = PyList_New(0)) == NULL) { + return NULL; + } + for (tmp = list; tmp != NULL; tmp = tmp->next) { + chann = pygobject_new(G_OBJECT(tmp->data)); + if (chann == NULL) { + Py_DECREF(py_list); + return NULL; + } + PyList_Append(py_list, chann); + Py_DECREF(chann); + } + return py_list; +} +%% +override spice_audio_new +static int +_wrap_spice_audio_new(PyGObject *self, + PyObject *args, PyObject *kwargs) +{ + static char *kwlist[] = {"session", "context", "name", NULL}; + PyGObject *session = NULL; + PyObject *py_context = NULL; + char *name = NULL; + + if (!PyArg_ParseTupleAndKeywords(args, kwargs, + "O!|Os:SpiceAudio", kwlist, + &PySpiceSession_Type, &session, + &py_context, &name)) + return -1; + + self->obj = (GObject *)spice_audio_new(SPICE_SESSION(session->obj), NULL, NULL); + + if (!self->obj) { + PyErr_SetString(PyExc_RuntimeError, "could not create SpiceAudio object"); + return -1; + } + pygobject_register_wrapper((PyObject *)self); + return 0; + +} +%% +override send_hwkey kwargs +static PyObject* +_wrap_send_hwkey(PyGObject *self, + PyObject *args, PyObject *kwargs) +{ +} + diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-client.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-client.c new file mode 100644 index 0000000..59f2918 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-client.c @@ -0,0 +1,26 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#include + +#include "spice-client.h" + +GQuark spice_client_error_quark(void) +{ + return g_quark_from_static_string("spice-client-error-quark"); +} + diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-client.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-client.h new file mode 100644 index 0000000..730d11a --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-client.h @@ -0,0 +1,70 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_CLIENT_CLIENT_H__ +#define __SPICE_CLIENT_CLIENT_H__ + +/* glib */ +#include +#include + +/* spice-protocol */ +#include +#include + +/* spice/gtk */ +#include "spice-types.h" +#include "spice-session.h" +#include "spice-channel.h" +#include "spice-option.h" + +#include "channel-main.h" +#include "channel-display.h" +#include "channel-cursor.h" +#include "channel-inputs.h" +#include "channel-playback.h" +#include "channel-record.h" +#include "channel-smartcard.h" +#include "channel-usbredir.h" +#include "channel-port.h" + +#include "smartcard-manager.h" +#include "usb-device-manager.h" +#include "spice-audio.h" + +G_BEGIN_DECLS + +#define SPICE_CLIENT_ERROR spice_client_error_quark() + +/** + * SpiceClientError: + * @SPICE_CLIENT_ERROR_FAILED: generic error code + * + * Error codes returned by spice-client API. + */ +typedef enum +{ + SPICE_CLIENT_ERROR_FAILED, + SPICE_CLIENT_USB_DEVICE_REJECTED, + SPICE_CLIENT_USB_DEVICE_LOST, +} SpiceClientError; + +GQuark spice_client_error_quark(void); + +G_END_DECLS + +#endif /* __SPICE_CLIENT_CLIENT_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-cmdline.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-cmdline.c new file mode 100644 index 0000000..bb4b630 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-cmdline.c @@ -0,0 +1,100 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif +#include + +#include "spice-client.h" +#include "spice-common.h" +#include "spice-cmdline.h" + +static char *host; +static char *port; +static char *tls_port; +static char *password; +static char *uri; + +static GOptionEntry spice_entries[] = { + { + .long_name = "uri", + .arg = G_OPTION_ARG_STRING, + .arg_data = &uri, + .description = N_("Spice server uri"), + .arg_description = N_(""), + },{ + .long_name = "host", + .short_name = 'h', + .arg = G_OPTION_ARG_STRING, + .arg_data = &host, + .description = N_("Spice server address"), + .arg_description = N_(""), + },{ + .long_name = "port", + .short_name = 'p', + .arg = G_OPTION_ARG_STRING, + .arg_data = &port, + .description = N_("Spice server port"), + .arg_description = N_(""), + },{ + .long_name = "secure-port", + .short_name = 's', + .arg = G_OPTION_ARG_STRING, + .arg_data = &tls_port, + .description = N_("Spice server secure port"), + .arg_description = N_(""), + },{ + .long_name = "password", + .short_name = 'w', + .arg = G_OPTION_ARG_STRING, + .arg_data = &password, + .description = N_("Server password"), + .arg_description = N_(""), + },{ + /* end of list */ + } +}; + +GOptionGroup *spice_cmdline_get_option_group(void) +{ + GOptionGroup *grp; + + grp = g_option_group_new("spice", + _("Spice connection options:"), + _("Show Spice options"), + NULL, NULL); + g_option_group_add_entries(grp, spice_entries); + + return grp; +} + +void spice_cmdline_session_setup(SpiceSession *session) +{ + g_return_if_fail(SPICE_IS_SESSION(session)); + + if (uri) + g_object_set(session, "uri", uri, NULL); + if (host) + g_object_set(session, "host", host, NULL); + if (port) + g_object_set(session, "port", port, NULL); + if (tls_port) + g_object_set(session, "tls-port", tls_port, NULL); + if (password) + g_object_set(session, "password", password, NULL); +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-cmdline.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-cmdline.h new file mode 100644 index 0000000..11a8086 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-cmdline.h @@ -0,0 +1,29 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ + +#ifndef SPICE_CMDLINE_H_ +# define SPICE_CMDLINE_H_ + +G_BEGIN_DECLS + +GOptionGroup *spice_cmdline_get_option_group(void); +void spice_cmdline_session_setup(SpiceSession *session); + +G_END_DECLS + +#endif // SPICE_CMDLINE_H_ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-common.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-common.h new file mode 100644 index 0000000..8554f4c --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-common.h @@ -0,0 +1,36 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef SPICE_COMMON_H_ +# define SPICE_COMMON_H_ + +/* system */ +#include +#include +#include +#include +#include +#include +#include + +#include "common/mem.h" +#include "common/messages.h" +#include "common/marshaller.h" + +#include "spice-util.h" + +#endif // SPICE_COMMON_H_ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-glib-sym-file b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-glib-sym-file new file mode 100644 index 0000000..6feb096 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-glib-sym-file @@ -0,0 +1,90 @@ +spice_audio_get +spice_audio_get_type +spice_audio_new +spice_channel_connect +spice_channel_destroy +spice_channel_disconnect +spice_channel_event_get_type +spice_channel_flush_async +spice_channel_flush_finish +spice_channel_get_type +spice_channel_new +spice_channel_open_fd +spice_channel_set_capability +spice_channel_test_capability +spice_channel_test_common_capability +spice_channel_type_to_string +spice_client_error_quark +spice_cursor_channel_get_type +spice_display_channel_get_type +spice_display_get_primary +spice_g_signal_connect_object +spice_get_option_group +spice_inputs_button_press +spice_inputs_button_release +spice_inputs_channel_get_type +spice_inputs_key_press +spice_inputs_hwkey_press +spice_inputs_key_press_and_release +spice_inputs_key_release +spice_inputs_hwkey_release +spice_inputs_lock_get_type +spice_inputs_motion +spice_inputs_position +spice_inputs_set_key_locks +spice_main_agent_test_capability +spice_main_file_copy_async +spice_main_file_copy_finish +spice_main_channel_get_type +spice_main_clipboard_grab +spice_main_clipboard_notify +spice_main_clipboard_release +spice_main_clipboard_request +spice_main_clipboard_selection_grab +spice_main_clipboard_selection_notify +spice_main_clipboard_selection_release +spice_main_clipboard_selection_request +spice_main_send_monitor_config +spice_main_set_display +spice_main_set_display_enabled +spice_main_update_display +spice_playback_channel_get_type +spice_playback_channel_set_delay +spice_port_channel_get_type +spice_port_event +spice_port_write_async +spice_port_write_finish +spice_record_channel_get_type +spice_record_send_data +spice_session_connect +spice_session_disconnect +spice_session_get_channels +spice_session_get_read_only +spice_session_get_type +spice_session_has_channel_type +spice_session_migration_get_type +spice_session_new +spice_session_open_fd +spice_session_verify_get_type +spice_set_session_option +spice_smartcard_channel_get_type +spice_smartcard_manager_get +spice_smartcard_manager_get_type +spice_smartcard_manager_insert_card +spice_smartcard_manager_remove_card +spice_smartcard_reader_get_type +spice_smartcard_reader_is_software +spice_usb_device_get_description +spice_usb_device_get_type +spice_usb_device_manager_can_redirect_device +spice_usb_device_manager_connect_device_async +spice_usb_device_manager_connect_device_finish +spice_usb_device_manager_disconnect_device +spice_usb_device_manager_get +spice_usb_device_manager_get_devices +spice_usb_device_manager_get_type +spice_usb_device_manager_is_device_connected +spice_usbredir_channel_get_type +spice_util_get_debug +spice_util_get_version_string +spice_util_set_debug diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-grabsequence.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-grabsequence.c new file mode 100644 index 0000000..dab438c --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-grabsequence.c @@ -0,0 +1,160 @@ +/* + * GTK VNC Widget + * + * Copyright (C) 2010 Daniel P. Berrange + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.0 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#include + +#include +#include + +#include "spice-grabsequence.h" + +GType spice_grab_sequence_get_type(void) +{ + static GType grab_sequence_type = 0; + + if (G_UNLIKELY(grab_sequence_type == 0)) { + grab_sequence_type = g_boxed_type_register_static + ("SpiceGrabSequence", + (GBoxedCopyFunc)spice_grab_sequence_copy, + (GBoxedFreeFunc)spice_grab_sequence_free); + } + + return grab_sequence_type; +} + + +/** + * spice_grab_sequence_new: + * @nkeysyms: length of @keysyms + * @keysyms: (array length=nkeysyms): the keysym values + * + * Creates a new grab sequence from a list of keysym values + * + * Returns: (transfer full): a new grab sequence object + */ +SpiceGrabSequence *spice_grab_sequence_new(guint nkeysyms, guint *keysyms) +{ + SpiceGrabSequence *sequence; + + sequence = g_slice_new0(SpiceGrabSequence); + sequence->nkeysyms = nkeysyms; + sequence->keysyms = g_new0(guint, nkeysyms); + memcpy(sequence->keysyms, keysyms, sizeof(guint)*nkeysyms); + + return sequence; +} + + +/** + * spice_grab_sequence_new_from_string: + * @str: a string of '+' seperated key names (ex: "Control_L+Alt_L") + * + * Returns: a new #SpiceGrabSequence. + **/ +SpiceGrabSequence *spice_grab_sequence_new_from_string(const gchar *str) +{ + gchar **keysymstr; + int i; + SpiceGrabSequence *sequence; + + sequence = g_slice_new0(SpiceGrabSequence); + + keysymstr = g_strsplit(str, "+", 5); + + sequence->nkeysyms = 0; + while (keysymstr[sequence->nkeysyms]) + sequence->nkeysyms++; + + sequence->keysyms = g_new0(guint, sequence->nkeysyms); + for (i = 0 ; i < sequence->nkeysyms ; i++) { + sequence->keysyms[i] = + (guint)gdk_keyval_from_name(keysymstr[i]); + if (sequence->keysyms[i] == 0) { + g_critical("Invalid key: %s", keysymstr[i]); + } + } + g_strfreev(keysymstr); + + return sequence; + +} + + +/** + * spice_grab_sequence_copy: + * @sequence: sequence to copy + * + * Returns: (transfer full): a copy of @sequence + **/ +SpiceGrabSequence *spice_grab_sequence_copy(SpiceGrabSequence *srcSequence) +{ + SpiceGrabSequence *sequence; + + sequence = g_slice_dup(SpiceGrabSequence, srcSequence); + sequence->keysyms = g_new0(guint, srcSequence->nkeysyms); + memcpy(sequence->keysyms, srcSequence->keysyms, + sizeof(guint) * sequence->nkeysyms); + + return sequence; +} + + +/** + * spice_grab_sequence_free: + * @sequence: + * + * Free @sequence. + **/ +void spice_grab_sequence_free(SpiceGrabSequence *sequence) +{ + g_free(sequence->keysyms); + g_slice_free(SpiceGrabSequence, sequence); +} + + +/** + * spice_grab_sequence_as_string: + * @sequence: + * + * Returns: (transfer full): a newly allocated string representing the key sequence + **/ +gchar *spice_grab_sequence_as_string(SpiceGrabSequence *sequence) +{ + GString *str = g_string_new(""); + int i; + + for (i = 0 ; i < sequence->nkeysyms ; i++) { + if (i > 0) + g_string_append_c(str, '+'); + g_string_append(str, gdk_keyval_name(sequence->keysyms[i])); + } + + return g_string_free(str, FALSE); + +} + + +/* + * Local variables: + * c-indent-level: 8 + * c-basic-offset: 8 + * tab-width: 8 + * End: + */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-grabsequence.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-grabsequence.h new file mode 100644 index 0000000..fe58fc1 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-grabsequence.h @@ -0,0 +1,61 @@ +/* + * GTK VNC Widget + * + * Copyright (C) 2006 Anthony Liguori + * Copyright (C) 2009-2010 Daniel P. Berrange + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.0 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef SPICE_GRAB_SEQUENCE_H +#define SPICE_GRAB_SEQUENCE_H + +#include +#include + +G_BEGIN_DECLS + +#define SPICE_TYPE_GRAB_SEQUENCE (spice_grab_sequence_get_type ()) + +typedef struct _SpiceGrabSequence SpiceGrabSequence; + +struct _SpiceGrabSequence { + /*< private >*/ + guint nkeysyms; + guint *keysyms; + + /* Do not add fields to this struct */ +}; + +GType spice_grab_sequence_get_type(void); + +SpiceGrabSequence *spice_grab_sequence_new(guint nkeysyms, guint *keysyms); +SpiceGrabSequence *spice_grab_sequence_new_from_string(const gchar *str); +SpiceGrabSequence *spice_grab_sequence_copy(SpiceGrabSequence *sequence); +void spice_grab_sequence_free(SpiceGrabSequence *sequence); +gchar *spice_grab_sequence_as_string(SpiceGrabSequence *sequence); + + +G_END_DECLS + +#endif /* SPICE_GRAB_SEQUENCE_H */ + +/* + * Local variables: + * c-indent-level: 8 + * c-basic-offset: 8 + * tab-width: 8 + * End: + */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-gstaudio.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-gstaudio.c new file mode 100644 index 0000000..6dd250e --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-gstaudio.c @@ -0,0 +1,539 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include +#include +#include +#include +#include + +#include "spice-gstaudio.h" +#include "spice-common.h" +#include "spice-session.h" +#include "spice-util.h" + +#define SPICE_GSTAUDIO_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE((obj), SPICE_TYPE_GSTAUDIO, SpiceGstaudioPrivate)) + +G_DEFINE_TYPE(SpiceGstaudio, spice_gstaudio, SPICE_TYPE_AUDIO) + +struct stream { + GstElement *pipe; + GstElement *src; + GstElement *sink; + guint rate; + guint channels; +}; + +struct _SpiceGstaudioPrivate { + SpiceChannel *pchannel; + SpiceChannel *rchannel; + struct stream playback; + struct stream record; + guint mmtime_id; +}; + +static void channel_event(SpiceChannel *channel, SpiceChannelEvent event, + gpointer data); +static gboolean connect_channel(SpiceAudio *audio, SpiceChannel *channel); + +static void spice_gstaudio_finalize(GObject *obj) +{ + G_OBJECT_CLASS(spice_gstaudio_parent_class)->finalize(obj); +} + +void stream_dispose(struct stream *s) +{ + if (s->pipe) { + gst_element_set_state(s->pipe, GST_STATE_NULL); + gst_object_unref(s->pipe); + s->pipe = NULL; + } + + if (s->src) { + gst_object_unref(s->src); + s->src = NULL; + } + + if (s->sink) { + gst_object_unref(s->sink); + s->sink = NULL; + } +} + +static void spice_gstaudio_dispose(GObject *obj) +{ + SpiceGstaudioPrivate *p; + SPICE_DEBUG("%s", __FUNCTION__); + p = SPICE_GSTAUDIO_GET_PRIVATE(obj); + + stream_dispose(&p->playback); + stream_dispose(&p->record); + + if (p->pchannel != NULL) { + g_signal_handlers_disconnect_by_func(p->pchannel, + channel_event, obj); + g_object_unref(p->pchannel); + p->pchannel = NULL; + } + + if (p->rchannel != NULL) { + g_signal_handlers_disconnect_by_func(p->rchannel, + channel_event, obj); + g_object_unref(p->rchannel); + p->rchannel = NULL; + } +} + +static void spice_gstaudio_init(SpiceGstaudio *pulse) +{ + pulse->priv = SPICE_GSTAUDIO_GET_PRIVATE(pulse); +} + +static void spice_gstaudio_class_init(SpiceGstaudioClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS(klass); + SpiceAudioClass *audio_class = SPICE_AUDIO_CLASS(klass); + + audio_class->connect_channel = connect_channel; + + gobject_class->finalize = spice_gstaudio_finalize; + gobject_class->dispose = spice_gstaudio_dispose; + + g_type_class_add_private(klass, sizeof(SpiceGstaudioPrivate)); +} + +static void record_new_buffer(GstAppSink *appsink, gpointer data) +{ + SpiceGstaudio *gstaudio = data; + SpiceGstaudioPrivate *p = gstaudio->priv; + GstMessage *msg; + + g_return_if_fail(p != NULL); + + msg = gst_message_new_application(GST_OBJECT(p->record.pipe), NULL); + gst_element_post_message(p->record.pipe, msg); +} + +static void record_stop(SpiceRecordChannel *channel, gpointer data) +{ + SpiceGstaudio *gstaudio = data; + SpiceGstaudioPrivate *p = gstaudio->priv; + + SPICE_DEBUG("%s", __FUNCTION__); + if (p->record.pipe) + gst_element_set_state(p->record.pipe, GST_STATE_READY); +} + +static gboolean record_bus_cb(GstBus *bus, GstMessage *msg, gpointer data) +{ + SpiceGstaudio *gstaudio = data; + SpiceGstaudioPrivate *p = gstaudio->priv; + + g_return_val_if_fail(p != NULL, FALSE); + + switch (GST_MESSAGE_TYPE(msg)) { + case GST_MESSAGE_APPLICATION: { + GstBuffer *b; + + b = gst_app_sink_pull_buffer(GST_APP_SINK(p->record.sink)); + if (!b) { + if (!gst_app_sink_is_eos(GST_APP_SINK(p->record.sink))) + g_warning("eos not reached, but can't pull new buffer"); + return TRUE; + } + + spice_record_send_data(SPICE_RECORD_CHANNEL(p->rchannel), + /* FIXME: server side doesn't care about ts? + what is the unit? ms apparently */ + GST_BUFFER_DATA(b), GST_BUFFER_SIZE(b), 0); + break; + } + default: + break; + } + + return TRUE; +} + +static void record_start(SpiceRecordChannel *channel, gint format, gint channels, + gint frequency, gpointer data) +{ + SpiceGstaudio *gstaudio = data; + SpiceGstaudioPrivate *p = gstaudio->priv; + + g_return_if_fail(p != NULL); + g_return_if_fail(format == SPICE_AUDIO_FMT_S16); + + if (p->record.pipe && + (p->record.rate != frequency || + p->record.channels != channels)) { + record_stop(channel, data); + gst_object_unref(p->record.pipe); + p->record.pipe = NULL; + } + + if (!p->record.pipe) { + GError *error = NULL; + GstBus *bus; + gchar *audio_caps = + g_strdup_printf("audio/x-raw-int,channels=%d,rate=%d,signed=(boolean)true," + "width=16,depth=16,endianness=1234", channels, frequency); + gchar *pipeline = + g_strdup_printf("autoaudiosrc name=audiosrc ! queue ! audioconvert ! audioresample ! " + "appsink caps=\"%s\" name=appsink", audio_caps); + + p->record.pipe = gst_parse_launch(pipeline, &error); + if (p->record.pipe == NULL) { + g_warning("Failed to create pipeline: %s", error->message); + goto lerr; + } + + bus = gst_pipeline_get_bus(GST_PIPELINE(p->record.pipe)); + gst_bus_add_watch(bus, record_bus_cb, data); + gst_object_unref(GST_OBJECT(bus)); + + p->record.src = gst_bin_get_by_name(GST_BIN(p->record.pipe), "audiosrc"); + p->record.sink = gst_bin_get_by_name(GST_BIN(p->record.pipe), "appsink"); + p->record.rate = frequency; + p->record.channels = channels; + + gst_app_sink_set_emit_signals(GST_APP_SINK(p->record.sink), TRUE); + spice_g_signal_connect_object(p->record.sink, "new-buffer", + G_CALLBACK(record_new_buffer), gstaudio, 0); + +lerr: + g_clear_error(&error); + g_free(audio_caps); + g_free(pipeline); + } + + if (p->record.pipe) + gst_element_set_state(p->record.pipe, GST_STATE_PLAYING); +} + +static void channel_event(SpiceChannel *channel, SpiceChannelEvent event, + gpointer data) +{ + SpiceGstaudio *gstaudio = data; + SpiceGstaudioPrivate *p = gstaudio->priv; + + switch (event) { + case SPICE_CHANNEL_OPENED: + break; + case SPICE_CHANNEL_CLOSED: + if (channel == p->pchannel) { + p->pchannel = NULL; + g_object_unref(channel); + } else if (channel == p->rchannel) { + record_stop(SPICE_RECORD_CHANNEL(channel), gstaudio); + p->rchannel = NULL; + g_object_unref(channel); + } else /* if (p->pchannel || p->rchannel) */ + g_warn_if_reached(); + break; + default: + break; + } +} + +static void playback_stop(SpicePlaybackChannel *channel, gpointer data) +{ + SpiceGstaudio *gstaudio = data; + SpiceGstaudioPrivate *p = SPICE_GSTAUDIO_GET_PRIVATE(gstaudio); + + if (p->playback.pipe) + gst_element_set_state(p->playback.pipe, GST_STATE_READY); + if (p->mmtime_id != 0) { + g_source_remove(p->mmtime_id); + p->mmtime_id = 0; + } +} + +static gboolean update_mmtime_timeout_cb(gpointer data) +{ + SpiceGstaudio *gstaudio = data; + SpiceGstaudioPrivate *p = SPICE_GSTAUDIO_GET_PRIVATE(gstaudio); + GstQuery *q; + + q = gst_query_new_latency(); + if (gst_element_query(p->playback.pipe, q)) { + gboolean live; + GstClockTime minlat, maxlat; + gst_query_parse_latency(q, &live, &minlat, &maxlat); + SPICE_DEBUG("got min latency %" GST_TIME_FORMAT ", max latency %" + GST_TIME_FORMAT ", live %d", GST_TIME_ARGS (minlat), + GST_TIME_ARGS (maxlat), live); + spice_playback_channel_set_delay(SPICE_PLAYBACK_CHANNEL(p->pchannel), GST_TIME_AS_MSECONDS(minlat)); + } + gst_query_unref (q); + + return TRUE; +} + +static void playback_start(SpicePlaybackChannel *channel, gint format, gint channels, + gint frequency, gpointer data) +{ + SpiceGstaudio *gstaudio = data; + SpiceGstaudioPrivate *p = SPICE_GSTAUDIO_GET_PRIVATE(gstaudio); + + g_return_if_fail(p != NULL); + g_return_if_fail(format == SPICE_AUDIO_FMT_S16); + + if (p->playback.pipe && + (p->playback.rate != frequency || + p->playback.channels != channels)) { + playback_stop(channel, data); + gst_object_unref(p->playback.pipe); + p->playback.pipe = NULL; + } + + if (!p->playback.pipe) { + GError *error = NULL; + gchar *audio_caps = + g_strdup_printf("audio/x-raw-int,channels=%d,rate=%d,signed=(boolean)true," + "width=16,depth=16,endianness=1234", channels, frequency); + gchar *pipeline = g_strdup (g_getenv("SPICE_GST_AUDIOSINK")); + if (pipeline == NULL) + pipeline = g_strdup_printf("appsrc is-live=1 do-timestamp=0 caps=\"%s\" name=\"appsrc\" ! queue ! " + "audioconvert ! audioresample ! autoaudiosink name=\"audiosink\"", audio_caps); + SPICE_DEBUG("audio pipeline: %s", pipeline); + p->playback.pipe = gst_parse_launch(pipeline, &error); + if (p->playback.pipe == NULL) { + g_warning("Failed to create pipeline: %s", error->message); + goto lerr; + } + p->playback.src = gst_bin_get_by_name(GST_BIN(p->playback.pipe), "appsrc"); + p->playback.sink = gst_bin_get_by_name(GST_BIN(p->playback.pipe), "audiosink"); + p->playback.rate = frequency; + p->playback.channels = channels; + +lerr: + g_clear_error(&error); + g_free(audio_caps); + g_free(pipeline); + } + + if (p->playback.pipe) + gst_element_set_state(p->playback.pipe, GST_STATE_PLAYING); + + if (p->mmtime_id == 0) { + update_mmtime_timeout_cb(gstaudio); + p->mmtime_id = g_timeout_add_seconds(1, update_mmtime_timeout_cb, gstaudio); + } +} + +static void playback_data(SpicePlaybackChannel *channel, + gpointer *audio, gint size, + gpointer data) +{ + SpiceGstaudio *gstaudio = data; + SpiceGstaudioPrivate *p = SPICE_GSTAUDIO_GET_PRIVATE(gstaudio); + GstBuffer *buf; + + g_return_if_fail(p != NULL); + + audio = g_memdup(audio, size); /* TODO: try to avoid memory copy */ + buf = gst_app_buffer_new(audio, size, g_free, audio); + gst_app_src_push_buffer(GST_APP_SRC(p->playback.src), buf); +} + +#define VOLUME_NORMAL 65535 + +static void playback_volume_changed(GObject *object, GParamSpec *pspec, gpointer data) +{ + SpiceGstaudio *gstaudio = data; + GstElement *e; + guint16 *volume; + guint nchannels; + SpiceGstaudioPrivate *p = gstaudio->priv; + gdouble vol; + + if (!p->playback.sink) + return; + + g_object_get(object, + "volume", &volume, + "nchannels", &nchannels, + NULL); + + g_return_if_fail(nchannels > 0); + + vol = 1.0 * volume[0] / VOLUME_NORMAL; + + if (GST_IS_BIN(p->playback.sink)) + e = gst_bin_get_by_interface(GST_BIN(p->playback.sink), GST_TYPE_STREAM_VOLUME); + else + e = g_object_ref(p->playback.sink); + + if (GST_IS_STREAM_VOLUME(e)) + gst_stream_volume_set_volume(GST_STREAM_VOLUME(e), GST_STREAM_VOLUME_FORMAT_CUBIC, vol); + else + g_object_set(e, "volume", vol, NULL); + + g_object_unref(e); +} + +static void playback_mute_changed(GObject *object, GParamSpec *pspec, gpointer data) +{ + SpiceGstaudio *gstaudio = data; + SpiceGstaudioPrivate *p = gstaudio->priv; + GstElement *e; + gboolean mute; + + if (!p->playback.sink) + return; + + g_object_get(object, "mute", &mute, NULL); + SPICE_DEBUG("playback mute changed %u", mute); + + if (GST_IS_BIN(p->playback.sink)) + e = gst_bin_get_by_interface(GST_BIN(p->playback.sink), GST_TYPE_STREAM_VOLUME); + else + e = g_object_ref(p->playback.sink); + + if (GST_IS_STREAM_VOLUME(e)) + gst_stream_volume_set_mute(GST_STREAM_VOLUME(e), mute); + + g_object_unref(e); +} + +static void record_volume_changed(GObject *object, GParamSpec *pspec, gpointer data) +{ + SpiceGstaudio *gstaudio = data; + SpiceGstaudioPrivate *p = gstaudio->priv; + GstElement *e; + guint16 *volume; + guint nchannels; + gdouble vol; + + if (!p->record.src) + return; + + g_object_get(object, + "volume", &volume, + "nchannels", &nchannels, + NULL); + + g_return_if_fail(nchannels > 0); + + vol = 1.0 * volume[0] / VOLUME_NORMAL; + + /* TODO directsoundsrc doesn't support IDirectSoundBuffer_SetVolume */ + /* TODO pulsesrc doesn't support volume property, it's all coming! */ + + if (GST_IS_BIN(p->record.src)) + e = gst_bin_get_by_interface(GST_BIN(p->record.src), GST_TYPE_STREAM_VOLUME); + else + e = g_object_ref(p->record.src); + + if (GST_IS_STREAM_VOLUME(e)) + gst_stream_volume_set_volume(GST_STREAM_VOLUME(e), GST_STREAM_VOLUME_FORMAT_CUBIC, vol); + else + g_warning("gst lacks volume capabilities on src (TODO)"); + + g_object_unref(e); +} + +static void record_mute_changed(GObject *object, GParamSpec *pspec, gpointer data) +{ + SpiceGstaudio *gstaudio = data; + SpiceGstaudioPrivate *p = gstaudio->priv; + GstElement *e; + gboolean mute; + + if (!p->record.src) + return; + + g_object_get(object, "mute", &mute, NULL); + + if (GST_IS_BIN(p->record.src)) + e = gst_bin_get_by_interface(GST_BIN(p->record.src), GST_TYPE_STREAM_VOLUME); + else + e = g_object_ref(p->record.src); + + if (GST_IS_STREAM_VOLUME (e)) + gst_stream_volume_set_mute(GST_STREAM_VOLUME(e), mute); + else + g_warning("gst lacks mute capabilities on src: %d (TODO)", mute); + + g_object_unref(e); +} + +static gboolean connect_channel(SpiceAudio *audio, SpiceChannel *channel) +{ + SpiceGstaudio *gstaudio = SPICE_GSTAUDIO(audio); + SpiceGstaudioPrivate *p = gstaudio->priv; + + if (SPICE_IS_PLAYBACK_CHANNEL(channel)) { + g_return_val_if_fail(p->pchannel == NULL, FALSE); + + p->pchannel = g_object_ref(channel); + spice_g_signal_connect_object(channel, "playback-start", + G_CALLBACK(playback_start), gstaudio, 0); + spice_g_signal_connect_object(channel, "playback-data", + G_CALLBACK(playback_data), gstaudio, 0); + spice_g_signal_connect_object(channel, "playback-stop", + G_CALLBACK(playback_stop), gstaudio, 0); + spice_g_signal_connect_object(channel, "channel-event", + G_CALLBACK(channel_event), gstaudio, 0); + spice_g_signal_connect_object(channel, "notify::volume", + G_CALLBACK(playback_volume_changed), gstaudio, 0); + spice_g_signal_connect_object(channel, "notify::mute", + G_CALLBACK(playback_mute_changed), gstaudio, 0); + + return TRUE; + } + + if (SPICE_IS_RECORD_CHANNEL(channel)) { + g_return_val_if_fail(p->rchannel == NULL, FALSE); + + p->rchannel = g_object_ref(channel); + spice_g_signal_connect_object(channel, "record-start", + G_CALLBACK(record_start), gstaudio, 0); + spice_g_signal_connect_object(channel, "record-stop", + G_CALLBACK(record_stop), gstaudio, 0); + spice_g_signal_connect_object(channel, "channel-event", + G_CALLBACK(channel_event), gstaudio, 0); + spice_g_signal_connect_object(channel, "notify::volume", + G_CALLBACK(record_volume_changed), gstaudio, 0); + spice_g_signal_connect_object(channel, "notify::mute", + G_CALLBACK(record_mute_changed), gstaudio, 0); + + return TRUE; + } + + return FALSE; +} + +SpiceGstaudio *spice_gstaudio_new(SpiceSession *session, GMainContext *context, + const char *name) +{ + SpiceGstaudio *gstaudio; + + gst_init(NULL, NULL); + gstaudio = g_object_new(SPICE_TYPE_GSTAUDIO, + "session", session, + "main-context", context, + NULL); + + return gstaudio; +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-gstaudio.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-gstaudio.h new file mode 100644 index 0000000..b605f1c --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-gstaudio.h @@ -0,0 +1,56 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_CLIENT_GSTAUDIO_H__ +#define __SPICE_CLIENT_GSTAUDIO_H__ + +#include "spice-client.h" +#include "spice-audio.h" + +G_BEGIN_DECLS + +#define SPICE_TYPE_GSTAUDIO (spice_gstaudio_get_type()) +#define SPICE_GSTAUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), SPICE_TYPE_GSTAUDIO, SpiceGstaudio)) +#define SPICE_GSTAUDIO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPICE_TYPE_GSTAUDIO, SpiceGstaudioClass)) +#define SPICE_IS_GSTAUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SPICE_TYPE_GSTAUDIO)) +#define SPICE_IS_GSTAUDIO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SPICE_TYPE_GSTAUDIO)) +#define SPICE_GSTAUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), SPICE_TYPE_GSTAUDIO, SpiceGstaudioClass)) + + +typedef struct _SpiceGstaudio SpiceGstaudio; +typedef struct _SpiceGstaudioClass SpiceGstaudioClass; +typedef struct _SpiceGstaudioPrivate SpiceGstaudioPrivate; + +struct _SpiceGstaudio { + SpiceAudio parent; + SpiceGstaudioPrivate *priv; + /* Do not add fields to this struct */ +}; + +struct _SpiceGstaudioClass { + SpiceAudioClass parent_class; + /* Do not add fields to this struct */ +}; + +GType spice_gstaudio_get_type(void); + +SpiceGstaudio *spice_gstaudio_new(SpiceSession *session, + GMainContext *context, const char *name); + +G_END_DECLS + +#endif /* __SPICE_CLIENT_GSTAUDIO_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-gtk-session-priv.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-gtk-session-priv.h new file mode 100644 index 0000000..aba6fe9 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-gtk-session-priv.h @@ -0,0 +1,31 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010-2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_CLIENT_GTK_SESSION_PRIV_H__ +#define __SPICE_CLIENT_GTK_SESSION_PRIV_H__ + +#include "spice-gtk-session.h" + +G_BEGIN_DECLS + +void spice_gtk_session_request_auto_usbredir(SpiceGtkSession *self, + gboolean state); +gboolean spice_gtk_session_get_read_only(SpiceGtkSession *self); + +G_END_DECLS + +#endif /* __SPICE_CLIENT_GTK_SESSION_PRIV_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-gtk-session.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-gtk-session.c new file mode 100644 index 0000000..47c7d36 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-gtk-session.c @@ -0,0 +1,974 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010-2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ + +#include +#include +#include "desktop-integration.h" +#include "spice-common.h" +#include "spice-gtk-session.h" +#include "spice-gtk-session-priv.h" +#include "spice-session-priv.h" + +#define CLIPBOARD_LAST (VD_AGENT_CLIPBOARD_SELECTION_SECONDARY + 1) + +struct _SpiceGtkSessionPrivate { + SpiceSession *session; + /* Clipboard related */ + gboolean auto_clipboard_enable; + SpiceMainChannel *main; + GtkClipboard *clipboard; + GtkClipboard *clipboard_primary; + GtkTargetEntry *clip_targets[CLIPBOARD_LAST]; + guint nclip_targets[CLIPBOARD_LAST]; + gboolean clip_hasdata[CLIPBOARD_LAST]; + gboolean clip_grabbed[CLIPBOARD_LAST]; + gboolean clipboard_by_guest[CLIPBOARD_LAST]; + /* auto-usbredir related */ + gboolean auto_usbredir_enable; + int auto_usbredir_reqs; +}; + +/** + * SECTION:spice-gtk-session + * @short_description: handles GTK connection details + * @title: Spice GTK Session + * @section_id: + * @see_also: #SpiceSession, and the GTK widget #SpiceDisplay + * @stability: Stable + * @include: spice-gtk-session.h + * + * The #SpiceGtkSession class is the spice-client-gtk counter part of + * #SpiceSession. It contains functionality which should be handled per + * session rather then per #SpiceDisplay (one session can have multiple + * displays), but which cannot live in #SpiceSession as it depends on + * GTK. For example the clipboard functionality. + * + * There should always be a 1:1 relation between #SpiceGtkSession objects + * and #SpiceSession objects. Therefor there is no spice_gtk_session_new, + * instead there is spice_gtk_session_get() which ensures this 1:1 relation. + * + * Client and guest clipboards will be shared automatically if + * #SpiceGtkSession:auto-clipboard is set to #TRUE. Alternatively, you + * can send / receive clipboard data from client to guest with + * spice_gtk_session_copy_to_guest() / spice_gtk_session_paste_from_guest(). + */ + +/* ------------------------------------------------------------------ */ +/* Prototypes for private functions */ +static void clipboard_owner_change(GtkClipboard *clipboard, + GdkEventOwnerChange *event, + gpointer user_data); +static void channel_new(SpiceSession *session, SpiceChannel *channel, + gpointer user_data); +static void channel_destroy(SpiceSession *session, SpiceChannel *channel, + gpointer user_data); +static gboolean read_only(SpiceGtkSession *self); + +/* ------------------------------------------------------------------ */ +/* gobject glue */ + +#define SPICE_GTK_SESSION_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE ((obj), SPICE_TYPE_GTK_SESSION, SpiceGtkSessionPrivate)) + +G_DEFINE_TYPE (SpiceGtkSession, spice_gtk_session, G_TYPE_OBJECT); + +/* Properties */ +enum { + PROP_0, + PROP_SESSION, + PROP_AUTO_CLIPBOARD, + PROP_AUTO_USBREDIR, +}; + +static void spice_gtk_session_init(SpiceGtkSession *self) +{ + SpiceGtkSessionPrivate *s; + + s = self->priv = SPICE_GTK_SESSION_GET_PRIVATE(self); + + s->clipboard = gtk_clipboard_get(GDK_SELECTION_CLIPBOARD); + g_signal_connect(G_OBJECT(s->clipboard), "owner-change", + G_CALLBACK(clipboard_owner_change), self); + s->clipboard_primary = gtk_clipboard_get(GDK_SELECTION_PRIMARY); + g_signal_connect(G_OBJECT(s->clipboard_primary), "owner-change", + G_CALLBACK(clipboard_owner_change), self); +} + +static GObject * +spice_gtk_session_constructor(GType gtype, + guint n_properties, + GObjectConstructParam *properties) +{ + GObject *obj; + SpiceGtkSession *self; + SpiceGtkSessionPrivate *s; + GList *list; + GList *it; + + { + /* Always chain up to the parent constructor */ + GObjectClass *parent_class; + parent_class = G_OBJECT_CLASS(spice_gtk_session_parent_class); + obj = parent_class->constructor(gtype, n_properties, properties); + } + + self = SPICE_GTK_SESSION(obj); + s = self->priv; + if (!s->session) + g_error("SpiceGtKSession constructed without a session"); + + g_signal_connect(s->session, "channel-new", + G_CALLBACK(channel_new), self); + g_signal_connect(s->session, "channel-destroy", + G_CALLBACK(channel_destroy), self); + list = spice_session_get_channels(s->session); + for (it = g_list_first(list); it != NULL; it = g_list_next(it)) { + channel_new(s->session, it->data, (gpointer*)self); + } + g_list_free(list); + + return obj; +} + +static void spice_gtk_session_dispose(GObject *gobject) +{ + SpiceGtkSession *self = SPICE_GTK_SESSION(gobject); + SpiceGtkSessionPrivate *s = self->priv; + + /* release stuff */ + if (s->clipboard) { + g_signal_handlers_disconnect_by_func(s->clipboard, + G_CALLBACK(clipboard_owner_change), self); + s->clipboard = NULL; + } + + if (s->clipboard_primary) { + g_signal_handlers_disconnect_by_func(s->clipboard_primary, + G_CALLBACK(clipboard_owner_change), self); + s->clipboard_primary = NULL; + } + + if (s->session) { + g_signal_handlers_disconnect_by_func(s->session, + G_CALLBACK(channel_new), + self); + g_signal_handlers_disconnect_by_func(s->session, + G_CALLBACK(channel_destroy), + self); + s->session = NULL; + } + + /* Chain up to the parent class */ + if (G_OBJECT_CLASS(spice_gtk_session_parent_class)->dispose) + G_OBJECT_CLASS(spice_gtk_session_parent_class)->dispose(gobject); +} + +static void spice_gtk_session_finalize(GObject *gobject) +{ + SpiceGtkSession *self = SPICE_GTK_SESSION(gobject); + SpiceGtkSessionPrivate *s = self->priv; + int i; + + /* release stuff */ + for (i = 0; i < CLIPBOARD_LAST; ++i) { + g_free(s->clip_targets[i]); + s->clip_targets[i] = NULL; + } + + /* Chain up to the parent class */ + if (G_OBJECT_CLASS(spice_gtk_session_parent_class)->finalize) + G_OBJECT_CLASS(spice_gtk_session_parent_class)->finalize(gobject); +} + +static void spice_gtk_session_get_property(GObject *gobject, + guint prop_id, + GValue *value, + GParamSpec *pspec) +{ + SpiceGtkSession *self = SPICE_GTK_SESSION(gobject); + SpiceGtkSessionPrivate *s = self->priv; + + switch (prop_id) { + case PROP_SESSION: + g_value_set_object(value, s->session); + break; + case PROP_AUTO_CLIPBOARD: + g_value_set_boolean(value, s->auto_clipboard_enable); + break; + case PROP_AUTO_USBREDIR: + g_value_set_boolean(value, s->auto_usbredir_enable); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, pspec); + break; + } +} + +static void spice_gtk_session_set_property(GObject *gobject, + guint prop_id, + const GValue *value, + GParamSpec *pspec) +{ + SpiceGtkSession *self = SPICE_GTK_SESSION(gobject); + SpiceGtkSessionPrivate *s = self->priv; + + switch (prop_id) { + case PROP_SESSION: + s->session = g_value_get_object(value); + break; + case PROP_AUTO_CLIPBOARD: + s->auto_clipboard_enable = g_value_get_boolean(value); + break; + case PROP_AUTO_USBREDIR: { + SpiceDesktopIntegration *desktop_int; + gboolean orig_value = s->auto_usbredir_enable; + + s->auto_usbredir_enable = g_value_get_boolean(value); + if (s->auto_usbredir_enable == orig_value) + break; + + if (s->auto_usbredir_reqs) { + SpiceUsbDeviceManager *manager = + spice_usb_device_manager_get(s->session, NULL); + + if (!manager) + break; + + g_object_set(manager, "auto-connect", s->auto_usbredir_enable, + NULL); + + desktop_int = spice_desktop_integration_get(s->session); + if (s->auto_usbredir_enable) + spice_desktop_integration_inhibit_automount(desktop_int); + else + spice_desktop_integration_uninhibit_automount(desktop_int); + } + break; + } + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, pspec); + break; + } +} + +static void spice_gtk_session_class_init(SpiceGtkSessionClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS(klass); + + gobject_class->constructor = spice_gtk_session_constructor; + gobject_class->dispose = spice_gtk_session_dispose; + gobject_class->finalize = spice_gtk_session_finalize; + gobject_class->get_property = spice_gtk_session_get_property; + gobject_class->set_property = spice_gtk_session_set_property; + + /** + * SpiceGtkSession:session: + * + * #SpiceSession this #SpiceGtkSession is associated with + * + * Since: 0.8 + **/ + g_object_class_install_property + (gobject_class, PROP_SESSION, + g_param_spec_object("session", + "Session", + "SpiceSession", + SPICE_TYPE_SESSION, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT_ONLY | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceGtkSession:auto-clipboard: + * + * When this is true the clipboard gets automatically shared between host + * and guest. + * + * Since: 0.8 + **/ + g_object_class_install_property + (gobject_class, PROP_AUTO_CLIPBOARD, + g_param_spec_boolean("auto-clipboard", + "Auto clipboard", + "Automatically relay clipboard changes between " + "host and guest.", + TRUE, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceGtkSession:auto-usbredir: + * + * Automatically redirect newly plugged in USB devices. Note the auto + * redirection only happens when a #SpiceDisplay associated with the + * session had keyboard focus. + * + * Since: 0.8 + **/ + g_object_class_install_property + (gobject_class, PROP_AUTO_USBREDIR, + g_param_spec_boolean("auto-usbredir", + "Auto USB Redirection", + "Automatically redirect newly plugged in USB" + "Devices to the guest.", + FALSE, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + g_type_class_add_private(klass, sizeof(SpiceGtkSessionPrivate)); +} + +/* ---------------------------------------------------------------- */ +/* private functions (clipboard related) */ + +static GtkClipboard* get_clipboard_from_selection(SpiceGtkSessionPrivate *s, + guint selection) +{ + if (selection == VD_AGENT_CLIPBOARD_SELECTION_CLIPBOARD) { + return s->clipboard; + } else if (selection == VD_AGENT_CLIPBOARD_SELECTION_PRIMARY) { + return s->clipboard_primary; + } else { + g_warning("Unhandled clipboard selection: %d", selection); + return NULL; + } +} + +static gint get_selection_from_clipboard(SpiceGtkSessionPrivate *s, + GtkClipboard* cb) +{ + if (cb == s->clipboard) { + return VD_AGENT_CLIPBOARD_SELECTION_CLIPBOARD; + } else if (cb == s->clipboard_primary) { + return VD_AGENT_CLIPBOARD_SELECTION_PRIMARY; + } else { + g_warning("Unhandled clipboard"); + return -1; + } +} + +static const struct { + const char *xatom; + uint32_t vdagent; + uint32_t flags; +} atom2agent[] = { + { + .vdagent = VD_AGENT_CLIPBOARD_UTF8_TEXT, + .xatom = "UTF8_STRING", + },{ + .vdagent = VD_AGENT_CLIPBOARD_UTF8_TEXT, + .xatom = "text/plain;charset=utf-8" + },{ + .vdagent = VD_AGENT_CLIPBOARD_UTF8_TEXT, + .xatom = "STRING" + },{ + .vdagent = VD_AGENT_CLIPBOARD_UTF8_TEXT, + .xatom = "TEXT" + },{ + .vdagent = VD_AGENT_CLIPBOARD_UTF8_TEXT, + .xatom = "text/plain" + },{ + .vdagent = VD_AGENT_CLIPBOARD_IMAGE_PNG, + .xatom = "image/png" + },{ + .vdagent = VD_AGENT_CLIPBOARD_IMAGE_BMP, + .xatom = "image/bmp" + },{ + .vdagent = VD_AGENT_CLIPBOARD_IMAGE_BMP, + .xatom = "image/x-bmp" + },{ + .vdagent = VD_AGENT_CLIPBOARD_IMAGE_BMP, + .xatom = "image/x-MS-bmp" + },{ + .vdagent = VD_AGENT_CLIPBOARD_IMAGE_BMP, + .xatom = "image/x-win-bitmap" + },{ + .vdagent = VD_AGENT_CLIPBOARD_IMAGE_TIFF, + .xatom = "image/tiff" + },{ + .vdagent = VD_AGENT_CLIPBOARD_IMAGE_JPG, + .xatom = "image/jpeg" + } +}; + +typedef struct _WeakRef { + GObject *object; +} WeakRef; + +static void weak_notify_cb(WeakRef *weakref, GObject *object) +{ + weakref->object = NULL; +} + +static WeakRef* weak_ref(GObject *object) +{ + WeakRef *weakref = g_new(WeakRef, 1); + + g_object_weak_ref(object, (GWeakNotify)weak_notify_cb, weakref); + weakref->object = object; + + return weakref; +} + +static void weak_unref(WeakRef* weakref) +{ + if (weakref->object) + g_object_weak_unref(weakref->object, (GWeakNotify)weak_notify_cb, weakref); + + g_free(weakref); +} + +static void clipboard_get_targets(GtkClipboard *clipboard, + GdkAtom *atoms, + gint n_atoms, + gpointer user_data) +{ + WeakRef *weakref = user_data; + SpiceGtkSession *self = (SpiceGtkSession*)weakref->object; + weak_unref(weakref); + + if (self == NULL) + return; + + g_return_if_fail(SPICE_IS_GTK_SESSION(self)); + + SpiceGtkSessionPrivate *s = self->priv; + guint32 types[SPICE_N_ELEMENTS(atom2agent)]; + char *name; + int a, m, t; + int selection; + + if (s->main == NULL) + return; + + selection = get_selection_from_clipboard(s, clipboard); + g_return_if_fail(selection != -1); + + SPICE_DEBUG("%s:", __FUNCTION__); + if (spice_util_get_debug()) { + for (a = 0; a < n_atoms; a++) { + name = gdk_atom_name(atoms[a]); + SPICE_DEBUG(" \"%s\"", name); + g_free(name); + } + } + + memset(types, 0, sizeof(types)); + for (a = 0; a < n_atoms; a++) { + name = gdk_atom_name(atoms[a]); + for (m = 0; m < SPICE_N_ELEMENTS(atom2agent); m++) { + if (strcasecmp(name, atom2agent[m].xatom) != 0) { + continue; + } + /* found match */ + for (t = 0; t < SPICE_N_ELEMENTS(atom2agent); t++) { + if (types[t] == atom2agent[m].vdagent) { + /* type already in list */ + break; + } + if (types[t] == 0) { + /* add type to empty slot */ + types[t] = atom2agent[m].vdagent; + break; + } + } + break; + } + g_free(name); + } + for (t = 0; t < SPICE_N_ELEMENTS(atom2agent); t++) { + if (types[t] == 0) { + break; + } + } + if (!s->clip_grabbed[selection] && t > 0) { + s->clip_grabbed[selection] = TRUE; + + if (spice_main_agent_test_capability(s->main, VD_AGENT_CAP_CLIPBOARD_BY_DEMAND)) + spice_main_clipboard_selection_grab(s->main, selection, types, t); + /* Sending a grab causes the agent to do an impicit release */ + s->nclip_targets[selection] = 0; + } +} + +static void clipboard_owner_change(GtkClipboard *clipboard, + GdkEventOwnerChange *event, + gpointer user_data) +{ + g_return_if_fail(SPICE_IS_GTK_SESSION(user_data)); + + SpiceGtkSession *self = user_data; + SpiceGtkSessionPrivate *s = self->priv; + int selection; + + selection = get_selection_from_clipboard(s, clipboard); + g_return_if_fail(selection != -1); + + if (s->main == NULL) + return; + + if (s->clip_grabbed[selection]) { + s->clip_grabbed[selection] = FALSE; + if (spice_main_agent_test_capability(s->main, VD_AGENT_CAP_CLIPBOARD_BY_DEMAND)) + spice_main_clipboard_selection_release(s->main, selection); + } + + switch (event->reason) { + case GDK_OWNER_CHANGE_NEW_OWNER: + if (gtk_clipboard_get_owner(clipboard) == G_OBJECT(self)) + break; + + s->clipboard_by_guest[selection] = FALSE; + s->clip_hasdata[selection] = TRUE; + if (s->auto_clipboard_enable && !read_only(self)) + gtk_clipboard_request_targets(clipboard, clipboard_get_targets, + weak_ref(G_OBJECT(self))); + break; + default: + s->clip_hasdata[selection] = FALSE; + break; + } +} + +typedef struct +{ + GMainLoop *loop; + GtkSelectionData *selection_data; + guint info; + guint selection; +} RunInfo; + +static void clipboard_got_from_guest(SpiceMainChannel *main, guint selection, + guint type, guchar *data, guint size, + gpointer user_data) +{ + RunInfo *ri = user_data; + + g_return_if_fail(selection == ri->selection); + + SPICE_DEBUG("clipboard got data"); + + gtk_selection_data_set(ri->selection_data, + gdk_atom_intern_static_string(atom2agent[ri->info].xatom), + 8, data, size); + + if (g_main_loop_is_running (ri->loop)) + g_main_loop_quit (ri->loop); +} + +static void clipboard_agent_connected(RunInfo *ri) +{ + g_warning("agent status changed, cancel clipboard request"); + + if (g_main_loop_is_running(ri->loop)) + g_main_loop_quit(ri->loop); +} + +static void clipboard_get(GtkClipboard *clipboard, + GtkSelectionData *selection_data, + guint info, gpointer user_data) +{ + g_return_if_fail(SPICE_IS_GTK_SESSION(user_data)); + + RunInfo ri = { NULL, }; + SpiceGtkSession *self = user_data; + SpiceGtkSessionPrivate *s = self->priv; + gulong clipboard_handler; + gulong agent_handler; + int selection; + + SPICE_DEBUG("clipboard get"); + + selection = get_selection_from_clipboard(s, clipboard); + g_return_if_fail(selection != -1); + g_return_if_fail(info < SPICE_N_ELEMENTS(atom2agent)); + g_return_if_fail(s->main != NULL); + + ri.selection_data = selection_data; + ri.info = info; + ri.loop = g_main_loop_new(NULL, FALSE); + ri.selection = selection; + + clipboard_handler = g_signal_connect(s->main, "main-clipboard-selection", + G_CALLBACK(clipboard_got_from_guest), + &ri); + agent_handler = g_signal_connect(s->main, "notify::agent-connected", + G_CALLBACK(clipboard_agent_connected), + &ri); + + spice_main_clipboard_selection_request(s->main, selection, + atom2agent[info].vdagent); + + /* apparently, this is needed to avoid dead-lock, from + gtk_dialog_run */ + gdk_threads_leave(); + g_main_loop_run(ri.loop); + gdk_threads_enter(); + + g_main_loop_unref(ri.loop); + ri.loop = NULL; + g_signal_handler_disconnect(s->main, clipboard_handler); + g_signal_handler_disconnect(s->main, agent_handler); +} + +static void clipboard_clear(GtkClipboard *clipboard, gpointer user_data) +{ + SPICE_DEBUG("clipboard_clear"); + /* We watch for clipboard ownership changes and act on those, so we + don't need to do anything here */ +} + +static gboolean clipboard_grab(SpiceMainChannel *main, guint selection, + guint32* types, guint32 ntypes, + gpointer user_data) +{ + g_return_val_if_fail(SPICE_IS_GTK_SESSION(user_data), FALSE); + + SpiceGtkSession *self = user_data; + SpiceGtkSessionPrivate *s = self->priv; + GtkTargetEntry targets[SPICE_N_ELEMENTS(atom2agent)]; + gboolean target_selected[SPICE_N_ELEMENTS(atom2agent)] = { FALSE, }; + gboolean found; + GtkClipboard* cb; + int m, n, i; + + cb = get_clipboard_from_selection(s, selection); + g_return_val_if_fail(cb != NULL, FALSE); + + i = 0; + for (n = 0; n < ntypes; ++n) { + found = FALSE; + for (m = 0; m < SPICE_N_ELEMENTS(atom2agent); m++) { + if (atom2agent[m].vdagent == types[n] && !target_selected[m]) { + found = TRUE; + g_return_val_if_fail(i < SPICE_N_ELEMENTS(atom2agent), FALSE); + targets[i].target = (gchar*)atom2agent[m].xatom; + targets[i].flags = 0; + targets[i].info = m; + target_selected[m] = TRUE; + i += 1; + } + } + if (!found) { + g_warning("clipboard: couldn't find a matching type for: %d", + types[n]); + } + } + + g_free(s->clip_targets[selection]); + s->nclip_targets[selection] = i; + s->clip_targets[selection] = g_memdup(targets, sizeof(GtkTargetEntry) * i); + /* Receiving a grab implies we've released our own grab */ + s->clip_grabbed[selection] = FALSE; + + if (read_only(self) || + !s->auto_clipboard_enable || + s->nclip_targets[selection] == 0) + goto skip_grab_clipboard; + + if (!gtk_clipboard_set_with_owner(cb, targets, i, + clipboard_get, clipboard_clear, G_OBJECT(self))) { + g_warning("clipboard grab failed"); + return FALSE; + } + s->clipboard_by_guest[selection] = TRUE; + s->clip_hasdata[selection] = FALSE; + +skip_grab_clipboard: + return TRUE; +} + +static void clipboard_received_cb(GtkClipboard *clipboard, + GtkSelectionData *selection_data, + gpointer user_data) +{ + WeakRef *weakref = user_data; + SpiceGtkSession *self = (SpiceGtkSession*)weakref->object; + weak_unref(weakref); + + if (self == NULL) + return; + + g_return_if_fail(SPICE_IS_GTK_SESSION(self)); + + SpiceGtkSessionPrivate *s = self->priv; + gint len = 0, m; + guint32 type = VD_AGENT_CLIPBOARD_NONE; + gchar* name; + GdkAtom atom; + int selection; + + selection = get_selection_from_clipboard(s, clipboard); + g_return_if_fail(selection != -1); + + len = gtk_selection_data_get_length(selection_data); + if (len == -1) { + SPICE_DEBUG("empty clipboard"); + len = 0; + } else if (len == 0) { + SPICE_DEBUG("TODO: what should be done here?"); + } else { + atom = gtk_selection_data_get_data_type(selection_data); + name = gdk_atom_name(atom); + for (m = 0; m < SPICE_N_ELEMENTS(atom2agent); m++) { + if (strcasecmp(name, atom2agent[m].xatom) == 0) { + break; + } + } + + if (m >= SPICE_N_ELEMENTS(atom2agent)) { + g_warning("clipboard_received for unsupported type: %s", name); + } else { + type = atom2agent[m].vdagent; + } + + g_free(name); + } + + spice_main_clipboard_selection_notify(s->main, selection, type, + gtk_selection_data_get_data(selection_data), len); +} + +static gboolean clipboard_request(SpiceMainChannel *main, guint selection, + guint type, gpointer user_data) +{ + g_return_val_if_fail(SPICE_IS_GTK_SESSION(user_data), FALSE); + + SpiceGtkSession *self = user_data; + SpiceGtkSessionPrivate *s = self->priv; + GdkAtom atom; + GtkClipboard* cb; + int m; + + if (read_only(self)) + return FALSE; + + cb = get_clipboard_from_selection(s, selection); + g_return_val_if_fail(cb != NULL, FALSE); + + for (m = 0; m < SPICE_N_ELEMENTS(atom2agent); m++) { + if (atom2agent[m].vdagent == type) + break; + } + + g_return_val_if_fail(m < SPICE_N_ELEMENTS(atom2agent), FALSE); + + atom = gdk_atom_intern_static_string(atom2agent[m].xatom); + gtk_clipboard_request_contents(cb, atom, clipboard_received_cb, + weak_ref(G_OBJECT(self))); + + return TRUE; +} + +static void clipboard_release(SpiceMainChannel *main, guint selection, + gpointer user_data) +{ + g_return_if_fail(SPICE_IS_GTK_SESSION(user_data)); + + SpiceGtkSession *self = user_data; + SpiceGtkSessionPrivate *s = self->priv; + GtkClipboard* clipboard = get_clipboard_from_selection(s, selection); + + if (!clipboard) + return; + + s->nclip_targets[selection] = 0; + + if (!s->clipboard_by_guest[selection]) + return; + gtk_clipboard_clear(clipboard); + s->clipboard_by_guest[selection] = FALSE; +} + +static void channel_new(SpiceSession *session, SpiceChannel *channel, + gpointer user_data) +{ + g_return_if_fail(SPICE_IS_GTK_SESSION(user_data)); + + SpiceGtkSession *self = user_data; + SpiceGtkSessionPrivate *s = self->priv; + + if (SPICE_IS_MAIN_CHANNEL(channel)) { + SPICE_DEBUG("Changing main channel from %p to %p", s->main, channel); + s->main = SPICE_MAIN_CHANNEL(channel); + g_signal_connect(channel, "main-clipboard-selection-grab", + G_CALLBACK(clipboard_grab), self); + g_signal_connect(channel, "main-clipboard-selection-request", + G_CALLBACK(clipboard_request), self); + g_signal_connect(channel, "main-clipboard-selection-release", + G_CALLBACK(clipboard_release), self); + } +} + +static void channel_destroy(SpiceSession *session, SpiceChannel *channel, + gpointer user_data) +{ + g_return_if_fail(SPICE_IS_GTK_SESSION(user_data)); + + SpiceGtkSession *self = user_data; + SpiceGtkSessionPrivate *s = self->priv; + guint i; + + if (SPICE_IS_MAIN_CHANNEL(channel) && SPICE_MAIN_CHANNEL(channel) == s->main) { + s->main = NULL; + for (i = 0; i < CLIPBOARD_LAST; ++i) { + if (s->clipboard_by_guest[i]) { + GtkClipboard *cb = get_clipboard_from_selection(s, i); + if (cb) + gtk_clipboard_clear(cb); + s->clipboard_by_guest[i] = FALSE; + } + s->clip_grabbed[i] = FALSE; + s->nclip_targets[i] = 0; + } + } +} + +static gboolean read_only(SpiceGtkSession *self) +{ + return spice_session_get_read_only(self->priv->session); +} + +/* ---------------------------------------------------------------- */ +/* private functions (usbredir related) */ +G_GNUC_INTERNAL +void spice_gtk_session_request_auto_usbredir(SpiceGtkSession *self, + gboolean state) +{ + g_return_if_fail(SPICE_IS_GTK_SESSION(self)); + + SpiceGtkSessionPrivate *s = self->priv; + SpiceDesktopIntegration *desktop_int; + SpiceUsbDeviceManager *manager; + + if (state) { + s->auto_usbredir_reqs++; + if (s->auto_usbredir_reqs != 1) + return; + } else { + g_return_if_fail(s->auto_usbredir_reqs > 0); + s->auto_usbredir_reqs--; + if (s->auto_usbredir_reqs != 0) + return; + } + + if (!s->auto_usbredir_enable) + return; + + manager = spice_usb_device_manager_get(s->session, NULL); + if (!manager) + return; + + g_object_set(manager, "auto-connect", state, NULL); + + desktop_int = spice_desktop_integration_get(s->session); + if (state) + spice_desktop_integration_inhibit_automount(desktop_int); + else + spice_desktop_integration_uninhibit_automount(desktop_int); +} + +/* ------------------------------------------------------------------ */ +/* public functions */ + +/** + * spice_gtk_session_get: + * @session: #SpiceSession for which to get the #SpiceGtkSession + * + * Gets the #SpiceGtkSession associated with the passed in #SpiceSession. + * A new #SpiceGtkSession instance will be created the first time this + * function is called for a certain #SpiceSession. + * + * Note that this function returns a weak reference, which should not be used + * after the #SpiceSession itself has been unref-ed by the caller. + * + * Returns: (transfer none): a weak reference to the #SpiceGtkSession associated with the passed in #SpiceSession + * + * Since 0.8 + **/ +SpiceGtkSession *spice_gtk_session_get(SpiceSession *session) +{ + g_return_val_if_fail(SPICE_IS_SESSION(session), NULL); + + SpiceGtkSession *self; + static GStaticMutex mutex = G_STATIC_MUTEX_INIT; + + g_static_mutex_lock(&mutex); + self = session->priv->gtk_session; + if (self == NULL) { + self = g_object_new(SPICE_TYPE_GTK_SESSION, "session", session, NULL); + session->priv->gtk_session = self; + } + g_static_mutex_unlock(&mutex); + + return SPICE_GTK_SESSION(self); +} + +/** + * spice_gtk_session_copy_to_guest: + * @self: + * + * Copy client-side clipboard to guest clipboard. + * + * Since 0.8 + **/ +void spice_gtk_session_copy_to_guest(SpiceGtkSession *self) +{ + g_return_if_fail(SPICE_IS_GTK_SESSION(self)); + g_return_if_fail(read_only(self) == FALSE); + + SpiceGtkSessionPrivate *s = self->priv; + int selection = VD_AGENT_CLIPBOARD_SELECTION_CLIPBOARD; + + if (s->clip_hasdata[selection] && !s->clip_grabbed[selection]) { + gtk_clipboard_request_targets(s->clipboard, clipboard_get_targets, + weak_ref(G_OBJECT(self))); + } +} + +/** + * spice_gtk_session_paste_from_guest: + * @self: + * + * Copy guest clipboard to client-side clipboard. + * + * Since 0.8 + **/ +void spice_gtk_session_paste_from_guest(SpiceGtkSession *self) +{ + g_return_if_fail(SPICE_IS_GTK_SESSION(self)); + g_return_if_fail(read_only(self) == FALSE); + + SpiceGtkSessionPrivate *s = self->priv; + int selection = VD_AGENT_CLIPBOARD_SELECTION_CLIPBOARD; + + if (s->nclip_targets[selection] == 0) { + g_warning("Guest clipboard is not available."); + return; + } + + if (!gtk_clipboard_set_with_owner(s->clipboard, s->clip_targets[selection], s->nclip_targets[selection], + clipboard_get, clipboard_clear, G_OBJECT(self))) { + g_warning("Clipboard grab failed"); + return; + } + s->clipboard_by_guest[selection] = TRUE; + s->clip_hasdata[selection] = FALSE; +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-gtk-session.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-gtk-session.h new file mode 100644 index 0000000..3b4eac6 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-gtk-session.h @@ -0,0 +1,65 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010-2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_CLIENT_GTK_SESSION_H__ +#define __SPICE_CLIENT_GTK_SESSION_H__ + +#include "spice-client.h" + +G_BEGIN_DECLS + +#define SPICE_TYPE_GTK_SESSION (spice_gtk_session_get_type ()) +#define SPICE_GTK_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPICE_TYPE_GTK_SESSION, SpiceGtkSession)) +#define SPICE_GTK_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SPICE_TYPE_GTK_SESSION, SpiceGtkSessionClass)) +#define SPICE_IS_GTK_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPICE_TYPE_GTK_SESSION)) +#define SPICE_IS_GTK_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPICE_TYPE_GTK_SESSION)) +#define SPICE_GTK_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPICE_TYPE_GTK_SESSION, SpiceGtkSessionClass)) + +typedef struct _SpiceGtkSession SpiceGtkSession; +typedef struct _SpiceGtkSessionClass SpiceGtkSessionClass; +typedef struct _SpiceGtkSessionPrivate SpiceGtkSessionPrivate; + +struct _SpiceGtkSession +{ + GObject parent; + SpiceGtkSessionPrivate *priv; + /* Do not add fields to this struct */ +}; + +struct _SpiceGtkSessionClass +{ + GObjectClass parent_class; + + /* signals */ + + /*< private >*/ + /* + * If adding fields to this struct, remove corresponding + * amount of padding to avoid changing overall struct size + */ + gchar _spice_reserved[SPICE_RESERVED_PADDING]; +}; + +GType spice_gtk_session_get_type(void); + +SpiceGtkSession *spice_gtk_session_get(SpiceSession *session); +void spice_gtk_session_copy_to_guest(SpiceGtkSession *self); +void spice_gtk_session_paste_from_guest(SpiceGtkSession *self); + +G_END_DECLS + +#endif /* __SPICE_CLIENT_GTK_SESSION_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-gtk-sym-file b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-gtk-sym-file new file mode 100644 index 0000000..50c012c --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-gtk-sym-file @@ -0,0 +1,26 @@ +spice_display_copy_to_guest +spice_display_get_grab_keys +spice_display_get_pixbuf +spice_display_get_type +spice_display_key_event_get_type +spice_display_mouse_ungrab +spice_display_new +spice_display_new_with_monitor +spice_display_paste_from_guest +spice_display_send_keys +spice_display_send_hwkeys +spice_display_send_rotation +spice_display_set_grab_keys +spice_grab_sequence_as_string +spice_grab_sequence_copy +spice_grab_sequence_free +spice_grab_sequence_get_type +spice_grab_sequence_new +spice_grab_sequence_new_from_string +spice_gtk_session_copy_to_guest +spice_gtk_session_get +spice_gtk_session_get_type +spice_gtk_session_paste_from_guest +spice_usb_device_widget_get_type +spice_usb_device_widget_new + diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-marshal.txt b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-marshal.txt new file mode 100644 index 0000000..9c76054 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-marshal.txt @@ -0,0 +1,14 @@ +VOID:INT,INT +VOID:INT,INT,INT +VOID:INT,INT,INT,INT +VOID:INT,INT,INT,INT,POINTER +VOID:INT,INT,INT,INT,INT,POINTER +VOID:POINTER,INT +BOOLEAN:POINTER,UINT +BOOLEAN:UINT +VOID:UINT,POINTER,UINT +VOID:UINT,UINT,POINTER,UINT +BOOLEAN:UINT,POINTER,UINT +BOOLEAN:UINT,UINT +VOID:OBJECT,OBJECT +VOID:BOXED,BOXED diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-option.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-option.c new file mode 100644 index 0000000..9ae1381 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-option.c @@ -0,0 +1,235 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include +#include "spice-session.h" +#include "spice-util.h" +#include "usb-device-manager.h" + +static gchar *disable_effects = NULL; +static gint color_depth = 0; +static char *ca_file = NULL; +static char *host_subject = NULL; +static char *smartcard_db = NULL; +static char *smartcard_certificates = NULL; +static char *usbredir_auto_redirect_filter = NULL; +static char *usbredir_redirect_on_connect = NULL; +static gboolean smartcard = FALSE; +static gboolean disable_audio = FALSE; +static gboolean disable_usbredir = FALSE; +static gint cache_size = 0; +static gint glz_window_size = 0; + +G_GNUC_NORETURN +static void option_version(void) +{ + g_print(PACKAGE_STRING "\n"); + exit(0); +} + +static gboolean option_debug(void) +{ + spice_util_set_debug(TRUE); + return TRUE; +} + +static gboolean parse_color_depth(const gchar *option_name, const gchar *value, + gpointer data, GError **error) +{ + unsigned long parsed_depth; + char *end; + + if (option_name == NULL) { + g_set_error(error, G_OPTION_ERROR, G_OPTION_ERROR_FAILED, _("missing color depth, must be 16 or 32")); + return FALSE; + } + + parsed_depth = strtoul(value, &end, 0); + if (*end != '\0') + goto error; + + if ((parsed_depth != 16) && (parsed_depth != 32)) + goto error; + + color_depth = parsed_depth; + + return TRUE; + +error: + g_set_error(error, G_OPTION_ERROR, G_OPTION_ERROR_FAILED, _("invalid color depth (%s), must be 16 or 32"), value); + return FALSE; +} + +static gboolean parse_disable_effects(const gchar *option_name, const gchar *value, + gpointer data, GError **error) +{ + + if ((g_strcmp0(value, "wallpaper") != 0) + && (g_strcmp0(value, "font-smooth") != 0) + && (g_strcmp0(value, "animation") != 0) + && (g_strcmp0(value, "all") != 0)) { + /* Translators: do not translate 'wallpaper', 'font-smooth', + * 'animation', 'all' as the user must use these values with the + * --spice-disable-effects command line option + */ + g_set_error(error, G_OPTION_ERROR, G_OPTION_ERROR_FAILED, + _("invalid effect name (%s), must be 'wallpaper', 'font-smooth', 'animation' or 'all'"), value); + return FALSE; + } + + disable_effects = g_strdup(value); + + return TRUE; +} + +static gboolean parse_usbredir_filter(const gchar *option_name, + const gchar *value, + gpointer data, GError **error) + +{ + g_warning("--spice-usbredir-filter is deprecated, please use --spice-usbredir-auto-redirect-filter instead"); + g_free(usbredir_auto_redirect_filter); + usbredir_auto_redirect_filter = g_strdup(value); + return TRUE; +} + + +/** + * spice_get_option_group: (skip) + * + * Returns: (transfer full): a #GOptionGroup for the commandline + * arguments specific to Spice. You have to call + * spice_set_session_option() after to set the options on a + * #SpiceSession. + **/ +GOptionGroup* spice_get_option_group(void) +{ + const GOptionEntry entries[] = { + { "spice-disable-effects", '\0', 0, G_OPTION_ARG_CALLBACK, parse_disable_effects, + N_("Disable guest display effects"), N_("") }, + { "spice-color-depth", '\0', 0, G_OPTION_ARG_CALLBACK, parse_color_depth, + N_("Guest display color depth"), N_("<16,32>") }, + { "spice-ca-file", '\0', 0, G_OPTION_ARG_FILENAME, &ca_file, + N_("Truststore file for secure connections"), N_("") }, + { "spice-host-subject", '\0', 0, G_OPTION_ARG_STRING, &host_subject, + N_("Subject of the host certificate (field=value pairs separated by commas)"), N_("") }, + { "spice-disable-audio", '\0', 0, G_OPTION_ARG_NONE, &disable_audio, + N_("Disable audio support"), NULL }, + { "spice-smartcard", '\0', 0, G_OPTION_ARG_NONE, &smartcard, + N_("Enable smartcard support"), NULL }, + { "spice-smartcard-certificates", '\0', 0, G_OPTION_ARG_STRING, &smartcard_certificates, + N_("Certificates to use for software smartcards (field=values separated by commas)"), N_("") }, + { "spice-smartcard-db", '\0', 0, G_OPTION_ARG_STRING, &smartcard_db, + N_("Path to the local certificate database to use for software smartcard certificates"), N_("") }, + { "spice-disable-usbredir", '\0', 0, G_OPTION_ARG_NONE, &disable_usbredir, + N_("Disable USB redirection support"), NULL }, + /* Backward compats version of spice-usbredir-auto-redirect-filter */ + { "spice-usbredir-filter", '\0', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_CALLBACK, parse_usbredir_filter, + NULL, NULL }, + { "spice-usbredir-auto-redirect-filter", '\0', 0, G_OPTION_ARG_STRING, &usbredir_auto_redirect_filter, + N_("Filter selecting USB devices to be auto-redirected when plugged in"), N_("") }, + { "spice-usbredir-redirect-on-connect", '\0', 0, G_OPTION_ARG_STRING, &usbredir_redirect_on_connect, + N_("Filter selecting USB devices to redirect on connect"), N_("") }, + { "spice-cache-size", '\0', 0, G_OPTION_ARG_INT, &cache_size, + N_("Image cache size"), N_("") }, + { "spice-glz-window-size", '\0', 0, G_OPTION_ARG_INT, &glz_window_size, + N_("Glz compression history size"), N_("") }, + + { "spice-debug", '\0', G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, option_debug, + N_("Enable Spice-GTK debugging"), NULL }, + { "spice-gtk-version", '\0', G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, option_version, + N_("Display Spice-GTK version information"), NULL }, + { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL } + }; + GOptionGroup *grp; + + grp = g_option_group_new("spice", _("Spice Options:"), _("Show Spice Options"), NULL, NULL); + g_option_group_add_entries(grp, entries); + + return grp; +} + +/** + * spice_set_session_option: + * @session: a #SpiceSession to set option upon + * + * Set various properties on @session, according to the commandline + * arguments given to spice_get_option_group() option group. + **/ +void spice_set_session_option(SpiceSession *session) +{ + g_return_if_fail(SPICE_IS_SESSION(session)); + + if (ca_file == NULL) { + const char *homedir = g_getenv("HOME"); + if (!homedir) + homedir = g_get_home_dir(); + ca_file = g_strdup_printf("%s/.spicec/spice_truststore.pem", homedir); + } + + if (disable_effects) { + GStrv effects; + effects = g_strsplit(disable_effects, ",", -1); + if (effects) + g_object_set(session, "disable-effects", effects, NULL); + g_strfreev(effects); + } + if (color_depth) + g_object_set(session, "color-depth", color_depth, NULL); + if (ca_file) + g_object_set(session, "ca-file", ca_file, NULL); + if (host_subject) + g_object_set(session, "cert-subject", host_subject, NULL); + if (smartcard) { + g_object_set(session, "enable-smartcard", smartcard, NULL); + if (smartcard_certificates) { + GStrv certs_strv; + certs_strv = g_strsplit(smartcard_certificates, ",", -1); + if (certs_strv) + g_object_set(session, "smartcard-certificates", certs_strv, NULL); + g_strfreev(certs_strv); + } + if (smartcard_db) + g_object_set(session, "smartcard-db", smartcard_db, NULL); + } + if (usbredir_auto_redirect_filter) { + SpiceUsbDeviceManager *m = spice_usb_device_manager_get(session, NULL); + if (m) + g_object_set(m, "auto-connect-filter", + usbredir_auto_redirect_filter, NULL); + } + if (usbredir_redirect_on_connect) { + SpiceUsbDeviceManager *m = spice_usb_device_manager_get(session, NULL); + if (m) + g_object_set(m, "redirect-on-connect", + usbredir_redirect_on_connect, NULL); + } + if (disable_usbredir) + g_object_set(session, "enable-usbredir", FALSE, NULL); + if (disable_audio) + g_object_set(session, "enable-audio", FALSE, NULL); + if (cache_size) + g_object_set(session, "cache-size", cache_size, NULL); + if (glz_window_size) + g_object_set(session, "glz-window-size", glz_window_size, NULL); +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-option.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-option.h new file mode 100644 index 0000000..ce24f65 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-option.h @@ -0,0 +1,31 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef SPICE_OPTION_H +#define SPICE_OPTION_H + +#include +#include "spice-session.h" + +G_BEGIN_DECLS + +GOptionGroup* spice_get_option_group(void); +void spice_set_session_option(SpiceSession *session); + +G_END_DECLS + +#endif /* SPICE_OPTION_H */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-proxy.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-proxy.c new file mode 100644 index 0000000..55c9023 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-proxy.c @@ -0,0 +1,258 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2012 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ + +#include +#include + +#include "spice-client.h" +#include "spice-proxy.h" + +struct _SpiceProxyPrivate { + gchar *protocol; + gchar *hostname; + guint port; +}; + +#define SPICE_PROXY_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE((o), SPICE_TYPE_PROXY, SpiceProxyPrivate)) + +G_DEFINE_TYPE(SpiceProxy, spice_proxy, G_TYPE_OBJECT); + +enum { + SPICE_PROXY_DUMMY_PROPERTY, + SPICE_PROXY_PROTOCOL, + SPICE_PROXY_HOSTNAME, + SPICE_PROXY_PORT +}; + +G_GNUC_INTERNAL +SpiceProxy* spice_proxy_new(void) +{ + SpiceProxy * self = NULL; + self = (SpiceProxy*)g_object_new(SPICE_TYPE_PROXY, NULL); + return self; +} + +G_GNUC_INTERNAL +gboolean spice_proxy_parse(SpiceProxy *self, const gchar *uri, GError **error) +{ + gboolean success = FALSE; + + g_return_val_if_fail(self != NULL, FALSE); + g_return_val_if_fail(uri != NULL, FALSE); + + /* FIXME: use GUri when it is ready... only support http atm */ + /* the code is voluntarily not parsing thoroughly the uri */ + if (g_ascii_strncasecmp("http://", uri, 7) == 0) + uri += 7; + + spice_proxy_set_protocol(self, "http"); + spice_proxy_set_port(self, 3128); + + gchar **proxyv = g_strsplit(uri, ":", 0); + const gchar *proxy_port = NULL; + + if (proxyv[0] == NULL || strlen(proxyv[0]) == 0) { + g_set_error(error, SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + "Invalid hostname in proxy address"); + goto end; + } + + spice_proxy_set_hostname(self, proxyv[0]); + if (proxyv[0] != NULL) + proxy_port = proxyv[1]; + + if (proxy_port != NULL) { + char *endptr; + guint port = strtoul(proxy_port, &endptr, 10); + if (*endptr != '\0') { + g_set_error(error, SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + "Invalid proxy port: %s", proxy_port); + goto end; + } + spice_proxy_set_port(self, port); + } + + success = TRUE; + +end: + g_strfreev(proxyv); + return success; +} + +G_GNUC_INTERNAL +const gchar* spice_proxy_get_protocol(SpiceProxy *self) +{ + g_return_val_if_fail(SPICE_IS_PROXY(self), NULL); + return self->priv->protocol; +} + +G_GNUC_INTERNAL +void spice_proxy_set_protocol(SpiceProxy *self, const gchar *value) +{ + g_return_if_fail(SPICE_IS_PROXY(self)); + + g_free(self->priv->protocol); + self->priv->protocol = g_strdup(value); + g_object_notify((GObject *)self, "protocol"); +} + +G_GNUC_INTERNAL +const gchar* spice_proxy_get_hostname(SpiceProxy *self) +{ + g_return_val_if_fail(SPICE_IS_PROXY(self), NULL); + return self->priv->hostname; +} + + +G_GNUC_INTERNAL +void spice_proxy_set_hostname(SpiceProxy *self, const gchar *value) +{ + g_return_if_fail(SPICE_IS_PROXY(self)); + + g_free(self->priv->hostname); + self->priv->hostname = g_strdup(value); + g_object_notify((GObject *)self, "hostname"); +} + +G_GNUC_INTERNAL +guint spice_proxy_get_port(SpiceProxy *self) +{ + g_return_val_if_fail(SPICE_IS_PROXY(self), 0); + return self->priv->port; +} + +G_GNUC_INTERNAL +void spice_proxy_set_port(SpiceProxy *self, guint port) +{ + g_return_if_fail(SPICE_IS_PROXY(self)); + self->priv->port = port; + g_object_notify((GObject *)self, "port"); +} + +static void spice_proxy_get_property(GObject *object, guint property_id, + GValue *value, GParamSpec *pspec) +{ + SpiceProxy *self; + self = G_TYPE_CHECK_INSTANCE_CAST(object, SPICE_TYPE_PROXY, SpiceProxy); + + switch (property_id) { + case SPICE_PROXY_PROTOCOL: + g_value_set_string(value, spice_proxy_get_protocol(self)); + break; + case SPICE_PROXY_HOSTNAME: + g_value_set_string(value, spice_proxy_get_hostname(self)); + break; + case SPICE_PROXY_PORT: + g_value_set_uint(value, spice_proxy_get_port(self)); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec); + break; + } +} + + +static void spice_proxy_set_property(GObject *object, guint property_id, + const GValue *value, GParamSpec *pspec) +{ + SpiceProxy * self; + self = G_TYPE_CHECK_INSTANCE_CAST(object, SPICE_TYPE_PROXY, SpiceProxy); + + switch (property_id) { + case SPICE_PROXY_PROTOCOL: + spice_proxy_set_protocol(self, g_value_get_string(value)); + break; + case SPICE_PROXY_HOSTNAME: + spice_proxy_set_hostname(self, g_value_get_string(value)); + break; + case SPICE_PROXY_PORT: + spice_proxy_set_port(self, g_value_get_uint(value)); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec); + break; + } +} + +static void spice_proxy_finalize(GObject* obj) +{ + SpiceProxy *self; + + self = G_TYPE_CHECK_INSTANCE_CAST(obj, SPICE_TYPE_PROXY, SpiceProxy); + g_free(self->priv->protocol); + g_free(self->priv->hostname); + + G_OBJECT_CLASS (spice_proxy_parent_class)->finalize (obj); +} + +static void spice_proxy_init (SpiceProxy *self) +{ + self->priv = SPICE_PROXY_GET_PRIVATE(self); +} + + +static void spice_proxy_class_init(SpiceProxyClass *klass) +{ + spice_proxy_parent_class = g_type_class_peek_parent (klass); + g_type_class_add_private(klass, sizeof(SpiceProxyPrivate)); + + G_OBJECT_CLASS (klass)->get_property = spice_proxy_get_property; + G_OBJECT_CLASS (klass)->set_property = spice_proxy_set_property; + G_OBJECT_CLASS (klass)->finalize = spice_proxy_finalize; + + g_object_class_install_property(G_OBJECT_CLASS (klass), + SPICE_PROXY_PROTOCOL, + g_param_spec_string ("protocol", + "protocol", + "protocol", + NULL, + G_PARAM_STATIC_STRINGS | + G_PARAM_READWRITE)); + + g_object_class_install_property(G_OBJECT_CLASS (klass), + SPICE_PROXY_HOSTNAME, + g_param_spec_string ("hostname", + "hostname", + "hostname", + NULL, + G_PARAM_STATIC_STRINGS | + G_PARAM_READWRITE)); + + g_object_class_install_property(G_OBJECT_CLASS (klass), + SPICE_PROXY_PORT, + g_param_spec_uint ("port", + "port", + "port", + 0, G_MAXUINT, 0, + G_PARAM_STATIC_STRINGS | + G_PARAM_READWRITE)); +} + +G_GNUC_INTERNAL +gchar* spice_proxy_to_string(SpiceProxy* self) +{ + SpiceProxyPrivate *p; + + g_return_val_if_fail(SPICE_IS_PROXY(self), NULL); + p = self->priv; + + if (p->protocol == NULL || p->hostname == NULL) + return NULL; + + return g_strdup_printf("%s://%s:%u", p->protocol, p->hostname, p->port); +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-proxy.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-proxy.h new file mode 100644 index 0000000..1e7b6d7 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-proxy.h @@ -0,0 +1,60 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2012 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_PROXY_H__ +#define __SPICE_PROXY_H__ + +#include + +G_BEGIN_DECLS + +#define SPICE_TYPE_PROXY (spice_proxy_get_type ()) +#define SPICE_PROXY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPICE_TYPE_PROXY, SpiceProxy)) +#define SPICE_PROXY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SPICE_TYPE_PROXY, SpiceProxyClass)) +#define SPICE_IS_PROXY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPICE_TYPE_PROXY)) +#define SPICE_IS_PROXY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPICE_TYPE_PROXY)) +#define SPICE_PROXY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPICE_TYPE_PROXY, SpiceProxyClass)) + +typedef struct _SpiceProxy SpiceProxy; +typedef struct _SpiceProxyClass SpiceProxyClass; +typedef struct _SpiceProxyPrivate SpiceProxyPrivate; + +struct _SpiceProxy { + GObject parent_instance; + SpiceProxyPrivate * priv; +}; + +struct _SpiceProxyClass { + GObjectClass parent_class; +}; + + +GType spice_proxy_get_type(void) G_GNUC_CONST; + +SpiceProxy* spice_proxy_new(void); +gboolean spice_proxy_parse(SpiceProxy* self, const gchar* uri, GError** error); +const gchar* spice_proxy_get_protocol(SpiceProxy* self); +void spice_proxy_set_protocol(SpiceProxy* self, const gchar* value); +const gchar* spice_proxy_get_hostname(SpiceProxy* self); +void spice_proxy_set_hostname(SpiceProxy* self, const gchar* value); +guint spice_proxy_get_port(SpiceProxy* self); +void spice_proxy_set_port(SpiceProxy* self, guint port); +gchar *spice_proxy_to_string(SpiceProxy* self); + +G_END_DECLS + +#endif /* __SPICE_PROXY_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-pulse.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-pulse.c new file mode 100644 index 0000000..6a977c4 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-pulse.c @@ -0,0 +1,811 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#include "spice-pulse.h" +#include "spice-common.h" +#include "spice-session-priv.h" +#include "spice-channel-priv.h" +#include "spice-util-priv.h" + +#include +#include + +#define SPICE_PULSE_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE((obj), SPICE_TYPE_PULSE, SpicePulsePrivate)) + +struct stream { + pa_sample_spec spec; + pa_stream *stream; + int state; + pa_operation *uncork_op; + pa_operation *cork_op; + gboolean started; +}; + +struct _SpicePulsePrivate { + SpiceChannel *pchannel; + SpiceChannel *rchannel; + + pa_glib_mainloop *mainloop; + pa_context *context; + int state; + struct stream playback; + struct stream record; +}; + +G_DEFINE_TYPE(SpicePulse, spice_pulse, SPICE_TYPE_AUDIO) + +static const char *stream_state_names[] = { + [ PA_STREAM_UNCONNECTED ] = "unconnected", + [ PA_STREAM_CREATING ] = "creating", + [ PA_STREAM_READY ] = "ready", + [ PA_STREAM_FAILED ] = "failed", + [ PA_STREAM_TERMINATED ] = "terminated", +}; + +static const char *context_state_names[] = { + [ PA_CONTEXT_UNCONNECTED ] = "unconnected", + [ PA_CONTEXT_CONNECTING ] = "connecting", + [ PA_CONTEXT_AUTHORIZING ] = "authorizing", + [ PA_CONTEXT_SETTING_NAME ] = "setting_name", + [ PA_CONTEXT_READY ] = "ready", + [ PA_CONTEXT_FAILED ] = "failed", + [ PA_CONTEXT_TERMINATED ] = "terminated", +}; +#define STATE_NAME(array, state) \ + ((state < G_N_ELEMENTS(array)) ? array[state] : NULL) + +static void channel_event(SpiceChannel *channel, SpiceChannelEvent event, + gpointer data); +static void stream_stop(SpicePulse *pulse, struct stream *s); +static gboolean connect_channel(SpiceAudio *audio, SpiceChannel *channel); + +static void spice_pulse_finalize(GObject *obj) +{ + SpicePulsePrivate *p; + + p = SPICE_PULSE_GET_PRIVATE(obj); + + if (p->context != NULL) + pa_context_unref(p->context); + + if (p->mainloop != NULL) + pa_glib_mainloop_free(p->mainloop); + + G_OBJECT_CLASS(spice_pulse_parent_class)->finalize(obj); +} + +static void spice_pulse_dispose(GObject *obj) +{ + SpicePulsePrivate *p; + + SPICE_DEBUG("%s", __FUNCTION__); + p = SPICE_PULSE_GET_PRIVATE(obj); + + if (p->playback.uncork_op) + pa_operation_unref(p->playback.uncork_op); + p->playback.uncork_op = NULL; + + if (p->playback.cork_op) + pa_operation_unref(p->playback.cork_op); + p->playback.cork_op = NULL; + + if (p->record.uncork_op) + pa_operation_unref(p->record.uncork_op); + p->record.uncork_op = NULL; + + if (p->record.cork_op) + pa_operation_unref(p->record.cork_op); + p->record.cork_op = NULL; + + if (p->pchannel) + g_object_unref(p->pchannel); + p->pchannel = NULL; + + if (p->rchannel) + g_object_unref(p->rchannel); + p->rchannel = NULL; + + G_OBJECT_CLASS(spice_pulse_parent_class)->dispose(obj); +} + +static void spice_pulse_init(SpicePulse *pulse) +{ + pulse->priv = SPICE_PULSE_GET_PRIVATE(pulse); +} + +static void spice_pulse_class_init(SpicePulseClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS(klass); + SpiceAudioClass *audio_class = SPICE_AUDIO_CLASS(klass); + + audio_class->connect_channel = connect_channel; + + gobject_class->finalize = spice_pulse_finalize; + gobject_class->dispose = spice_pulse_dispose; + + g_type_class_add_private(klass, sizeof(SpicePulsePrivate)); +} + +/* ------------------------------------------------------------------ */ +static void pulse_uncork_cb(pa_stream *pastream, int success, void *data) +{ + struct stream *s = data; + + if (!success) + g_warning("pulseaudio uncork operation failed"); + + pa_operation_unref(s->uncork_op); + s->uncork_op = NULL; +} + +static void stream_uncork(SpicePulse *pulse, struct stream *s) +{ + SpicePulsePrivate *p = SPICE_PULSE_GET_PRIVATE(pulse); + pa_operation *o = NULL; + + if (s->cork_op) { + pa_operation_cancel(s->cork_op); + pa_operation_unref(s->cork_op); + s->cork_op = NULL; + } + + if (pa_stream_is_corked(s->stream) && !s->uncork_op) { + if (!(o = pa_stream_cork(s->stream, 0, pulse_uncork_cb, s))) { + g_warning("pa_stream_uncork() failed: %s", + pa_strerror(pa_context_errno(p->context))); + } + s->uncork_op = o; + } +} + +static void pulse_flush_cb(pa_stream *pastream, int success, void *data) +{ + struct stream *s = data; + + if (!success) + g_warning("pulseaudio flush operation failed"); + + pa_operation_unref(s->cork_op); + s->cork_op = NULL; +} + +static void pulse_cork_cb(pa_stream *pastream, int success, void *data) +{ + struct stream *s = data; + + if (!success) + g_warning("pulseaudio cork operation failed"); + + pa_operation_unref(s->cork_op); + + if (!(s->cork_op = pa_stream_flush(s->stream, pulse_flush_cb, s))) { + g_warning("pa_stream_flush() failed"); + } +} + +static void stream_cork(SpicePulse *pulse, struct stream *s) +{ + SpicePulsePrivate *p = SPICE_PULSE_GET_PRIVATE(pulse); + pa_operation *o = NULL; + + if (s->uncork_op) { + pa_operation_cancel(s->uncork_op); + pa_operation_unref(s->uncork_op); + s->uncork_op = NULL; + } + + if (!pa_stream_is_corked(s->stream) && !s->cork_op) { + if (!(o = pa_stream_cork(s->stream, 1, pulse_cork_cb, s))) { + g_warning("pa_stream_cork() failed: %s", + pa_strerror(pa_context_errno(p->context))); + } + s->cork_op = o; + } +} + +static void stream_stop(SpicePulse *pulse, struct stream *s) +{ + SpicePulsePrivate *p = SPICE_PULSE_GET_PRIVATE(pulse); + + if (pa_stream_disconnect(s->stream) < 0) { + g_warning("pa_stream_disconnect() failed: %s", + pa_strerror(pa_context_errno(p->context))); + } + pa_stream_unref(s->stream); + s->stream = NULL; +} + +static void stream_state_callback(pa_stream *s, void *userdata) +{ + SpicePulsePrivate *p; + p = SPICE_PULSE_GET_PRIVATE(userdata); + + g_return_if_fail(p != NULL); + g_return_if_fail(s != NULL); + + switch (pa_stream_get_state(s)) { + case PA_STREAM_CREATING: + case PA_STREAM_TERMINATED: + case PA_STREAM_READY: + break; + case PA_STREAM_FAILED: + default: + g_warning("Stream error: %s", pa_strerror(pa_context_errno(pa_stream_get_context(s)))); + } +} + +static void stream_underflow_cb(pa_stream *s, void *userdata) +{ + SPICE_DEBUG("PA stream underflow!!"); + +#ifdef PULSE_ADJUST_LATENCY + const pa_buffer_attr *buffer_attr; + pa_buffer_attr new_buffer_attr; + pa_operation *op; + + buffer_attr = pa_stream_get_buffer_attr(s); + g_return_if_fail(buffer_attr != NULL); + + new_buffer_attr = *buffer_attr; + new_buffer_attr.tlength *= 2; + new_buffer_attr.minreq *= 2; + op = pa_stream_set_buffer_attr(s, &new_buffer_attr, NULL, NULL); + pa_operation_unref(op); +#endif +} + +static void create_playback(SpicePulse *pulse) +{ + SpicePulsePrivate *p = SPICE_PULSE_GET_PRIVATE(pulse); + pa_stream_flags_t flags; + pa_buffer_attr buffer_attr = { 0, }; + + g_return_if_fail(p != NULL); + g_return_if_fail(p->context != NULL); + g_return_if_fail(p->playback.stream == NULL); + g_return_if_fail(pa_context_get_state(p->context) == PA_CONTEXT_READY); + + p->playback.state = PA_STREAM_READY; + p->playback.stream = pa_stream_new(p->context, "playback", + &p->playback.spec, NULL); + pa_stream_set_state_callback(p->playback.stream, stream_state_callback, pulse); + pa_stream_set_underflow_callback(p->playback.stream, stream_underflow_cb, pulse); + + /* FIXME: we might want customizable latency */ + buffer_attr.maxlength = -1; + buffer_attr.tlength = pa_usec_to_bytes(100 * PA_USEC_PER_MSEC, &p->playback.spec); + buffer_attr.prebuf = -1; + buffer_attr.minreq = -1; + flags = PA_STREAM_ADJUST_LATENCY; + + if (pa_stream_connect_playback(p->playback.stream, + NULL, &buffer_attr, flags, NULL, NULL) < 0) { + g_warning("pa_stream_connect_playback() failed: %s", + pa_strerror(pa_context_errno(p->context))); + } +} + +static void playback_start(SpicePlaybackChannel *channel, gint format, gint channels, + gint frequency, gpointer data) +{ + SpicePulse *pulse = data; + SpicePulsePrivate *p = SPICE_PULSE_GET_PRIVATE(pulse); + pa_context_state_t state; + + g_return_if_fail(p != NULL); + + p->playback.started = TRUE; + + if (p->playback.stream && + (p->playback.spec.rate != frequency || + p->playback.spec.channels != channels)) { + stream_stop(pulse, &p->playback); + } + + g_return_if_fail(format == SPICE_AUDIO_FMT_S16); + p->playback.spec.format = PA_SAMPLE_S16LE; + p->playback.spec.rate = frequency; + p->playback.spec.channels = channels; + + state = pa_context_get_state(p->context); + switch (state) { + case PA_CONTEXT_READY: + if (p->state != state) { + SPICE_DEBUG("%s: pulse context ready", __FUNCTION__); + } + if (p->playback.stream == NULL) { + create_playback(pulse); + } else + stream_uncork(pulse, &p->playback); + break; + default: + if (p->state != state) { + SPICE_DEBUG("%s: pulse context not ready (%s)", + __FUNCTION__, STATE_NAME(context_state_names, state)); + } + break; + } + p->state = state; +} + +static void playback_data(SpicePlaybackChannel *channel, + gpointer *audio, gint size, + gpointer data) +{ + SpicePulse *pulse = data; + SpicePulsePrivate *p = SPICE_PULSE_GET_PRIVATE(pulse); + pa_stream_state_t state; + + if (!p->playback.stream) + return; + + state = pa_stream_get_state(p->playback.stream); + switch (state) { + case PA_STREAM_CREATING: + SPICE_DEBUG("stream creating, dropping data"); + break; + case PA_STREAM_READY: + if (p->playback.state != state) { + SPICE_DEBUG("%s: pulse playback stream ready", __FUNCTION__); + } + if (pa_stream_write(p->playback.stream, audio, size, NULL, 0, PA_SEEK_RELATIVE) < 0) { + g_warning("pa_stream_write() failed: %s", + pa_strerror(pa_context_errno(p->context))); + } + break; + default: + if (p->playback.state != state) { + SPICE_DEBUG("%s: pulse playback stream not ready (%s)", + __FUNCTION__, STATE_NAME(stream_state_names, state)); + } + break; + } + p->playback.state = state; +} + +static void playback_stop(SpicePlaybackChannel *channel, gpointer data) +{ + SpicePulse *pulse = data; + SpicePulsePrivate *p = pulse->priv; + + SPICE_DEBUG("%s", __FUNCTION__); + + p->playback.started = FALSE; + if (!p->playback.stream) + return; + + stream_cork(pulse, &p->playback); +} + +static void stream_update_timing_callback(pa_stream *s, int success, void *userdata) +{ + pa_usec_t usec; + int negative = 0; + SpicePulsePrivate *p; + + p = SPICE_PULSE_GET_PRIVATE(userdata); + + g_return_if_fail(s != NULL); + g_return_if_fail(p != NULL); + + if (!p->playback.stream || !p->playback.started) + return; + + if (!success || + pa_stream_get_latency(s, &usec, &negative) < 0) { + g_warning("Failed to get latency: %s", pa_strerror(pa_context_errno(p->context))); + return; + } + + g_return_if_fail(negative == FALSE); + + spice_playback_channel_set_delay(SPICE_PLAYBACK_CHANNEL(p->pchannel), usec / 1000); +} + +static void playback_get_delay(SpicePlaybackChannel *channel, gpointer data) +{ + SpicePulse *pulse = data; + SpicePulsePrivate *p = pulse->priv; + + if (p->playback.stream && pa_stream_get_state(p->playback.stream) == PA_STREAM_READY) { + pa_operation *o; + if (!(o = pa_stream_update_timing_info(p->playback.stream, stream_update_timing_callback, data))) + g_warning("pa_stream_update_timing_info() failed: %s", + pa_strerror(pa_context_errno(p->context))); + else + pa_operation_unref(o); + } +} + +static void stream_read_callback(pa_stream *s, size_t length, void *data) +{ + SpicePulse *pulse = data; + SpicePulsePrivate *p = SPICE_PULSE_GET_PRIVATE(pulse); + + g_return_if_fail(p != NULL); + + while (pa_stream_readable_size(s) > 0) { + const void *snddata; + + if (pa_stream_peek(s, &snddata, &length) < 0) { + g_warning("pa_stream_peek() failed: %s", + pa_strerror(pa_context_errno(p->context))); + return; + } + + g_return_if_fail(snddata); + g_return_if_fail(length > 0); + + if (p->rchannel != NULL) + spice_record_send_data(SPICE_RECORD_CHANNEL(p->rchannel), + /* FIXME: server side doesn't care about ts? + what is the unit? ms apparently */ + (gpointer)snddata, length, 0); + + if (pa_stream_drop(s) < 0) { + g_warning("pa_stream_drop() failed: %s", + pa_strerror(pa_context_errno(p->context))); + return; + } + } +} + +static void create_record(SpicePulse *pulse) +{ + SpicePulsePrivate *p = SPICE_PULSE_GET_PRIVATE(pulse); + pa_buffer_attr buffer_attr = { 0, }; + pa_stream_flags_t flags; + + g_return_if_fail(p != NULL); + g_return_if_fail(p->context != NULL); + g_return_if_fail(p->record.stream == NULL); + g_return_if_fail(pa_context_get_state(p->context) == PA_CONTEXT_READY); + + p->record.state = PA_STREAM_READY; + p->record.stream = pa_stream_new(p->context, "record", + &p->record.spec, NULL); + pa_stream_set_read_callback(p->record.stream, stream_read_callback, pulse); + pa_stream_set_state_callback(p->record.stream, stream_state_callback, pulse); + + /* FIXME: we might want customizable latency */ + buffer_attr.maxlength = -1; + buffer_attr.prebuf = -1; + buffer_attr.fragsize = buffer_attr.tlength = pa_usec_to_bytes(20 * PA_USEC_PER_MSEC, &p->record.spec); + buffer_attr.minreq = (uint32_t) -1; + flags = PA_STREAM_ADJUST_LATENCY; + + if (pa_stream_connect_record(p->record.stream, NULL, &buffer_attr, flags) < 0) { + g_warning("pa_stream_connect_record() failed: %s", + pa_strerror(pa_context_errno(p->context))); + } +} + +static void record_start(SpiceRecordChannel *channel, gint format, gint channels, + gint frequency, gpointer data) +{ + SpicePulse *pulse = data; + SpicePulsePrivate *p = SPICE_PULSE_GET_PRIVATE(pulse); + pa_context_state_t state; + + p->record.started = TRUE; + + if (p->record.stream && + (p->record.spec.rate != frequency || + p->record.spec.channels != channels)) { + stream_stop(pulse, &p->record); + } + + g_return_if_fail(format == SPICE_AUDIO_FMT_S16); + p->record.spec.format = PA_SAMPLE_S16LE; + p->record.spec.rate = frequency; + p->record.spec.channels = channels; + + state = pa_context_get_state(p->context); + switch (state) { + case PA_CONTEXT_READY: + if (p->state != state) { + SPICE_DEBUG("%s: pulse context ready", __FUNCTION__); + } + if (p->record.stream == NULL) { + create_record(pulse); + } else + stream_uncork(pulse, &p->record); + break; + default: + if (p->state != state) { + g_warning("%s: pulse context not ready (%s)", + __FUNCTION__, STATE_NAME(context_state_names, state)); + } + break; + } + p->state = state; +} + +static void record_stop(SpiceRecordChannel *channel, gpointer data) +{ + SpicePulse *pulse = data; + SpicePulsePrivate *p = pulse->priv; + + SPICE_DEBUG("%s", __FUNCTION__); + + p->record.started = FALSE; + if (!p->record.stream) + return; + + stream_stop(pulse, &p->record); +} + +static void channel_event(SpiceChannel *channel, SpiceChannelEvent event, + gpointer data) +{ + SpicePulse *pulse = data; + SpicePulsePrivate *p = pulse->priv; + + switch (event) { + case SPICE_CHANNEL_OPENED: + break; + case SPICE_CHANNEL_CLOSED: + if (channel == p->pchannel) { + SPICE_DEBUG("playback closed"); + p->pchannel = NULL; + g_object_unref(channel); + } else if (channel == p->rchannel) { + SPICE_DEBUG("record closed"); + record_stop(SPICE_RECORD_CHANNEL(channel), pulse); + p->rchannel = NULL; + g_object_unref(channel); + } else /* if (p->pchannel || p->rchannel) */ + g_warn_if_reached(); + break; + default: + break; + } +} + +static void playback_volume_changed(GObject *object, GParamSpec *pspec, gpointer data) +{ + SpicePulse *pulse = data; + SpicePulsePrivate *p = pulse->priv; + guint16 *volume; + guint nchannels; + pa_operation *op; + pa_cvolume v; + guint i; + + g_object_get(object, + "volume", &volume, + "nchannels", &nchannels, + NULL); + + pa_cvolume_init(&v); + v.channels = p->playback.spec.channels; + for (i = 0; i < nchannels; ++i) { + v.values[i] = (PA_VOLUME_NORM - PA_VOLUME_MUTED) * volume[i] / G_MAXUINT16; + SPICE_DEBUG("playback volume changed %u", v.values[i]); + } + + if (!p->playback.stream || + pa_stream_get_index(p->playback.stream) == PA_INVALID_INDEX) + return; + + op = pa_context_set_sink_input_volume(p->context, + pa_stream_get_index(p->playback.stream), + &v, NULL, NULL); + if (!op) + g_warning("set_sink_input_volume() failed: %s", + pa_strerror(pa_context_errno(p->context))); + else + pa_operation_unref(op); +} + +static void playback_mute_changed(GObject *object, GParamSpec *pspec, gpointer data) +{ + SpicePulse *pulse = data; + SpicePulsePrivate *p = pulse->priv; + gboolean mute; + pa_operation *op; + + g_object_get(object, "mute", &mute, NULL); + SPICE_DEBUG("playback mute changed %u", mute); + + if (!p->playback.stream || + pa_stream_get_index(p->playback.stream) == PA_INVALID_INDEX) + return; + + op = pa_context_set_sink_input_mute(p->context, + pa_stream_get_index(p->playback.stream), + mute, NULL, NULL); + if (!op) + g_warning("set_sink_input_mute() failed: %s", + pa_strerror(pa_context_errno(p->context))); + else + pa_operation_unref(op); +} + +static void record_mute_changed(GObject *object, GParamSpec *pspec, gpointer data) +{ + SpicePulse *pulse = data; + SpicePulsePrivate *p = pulse->priv; + gboolean mute; + pa_operation *op; + + g_object_get(object, "mute", &mute, NULL); + SPICE_DEBUG("record mute changed %u", mute); + + if (!p->record.stream || + pa_stream_get_device_index(p->record.stream) == PA_INVALID_INDEX) + return; + + op = pa_context_set_source_mute_by_index(p->context, + pa_stream_get_device_index(p->record.stream), + mute, NULL, NULL); + if (!op) + g_warning("set_source_mute() failed: %s", + pa_strerror(pa_context_errno(p->context))); + else + pa_operation_unref(op); +} + +static void record_volume_changed(GObject *object, GParamSpec *pspec, gpointer data) +{ + SpicePulse *pulse = data; + SpicePulsePrivate *p = pulse->priv; + guint16 *volume; + guint nchannels; + pa_operation *op; + pa_cvolume v; + guint i; + + g_object_get(object, + "volume", &volume, + "nchannels", &nchannels, + NULL); + + pa_cvolume_init(&v); + v.channels = p->record.spec.channels; + for (i = 0; i < nchannels; ++i) { + v.values[i] = (PA_VOLUME_NORM - PA_VOLUME_MUTED) * volume[i] / G_MAXUINT16; + SPICE_DEBUG("record volume changed %u", v.values[i]); + } + + if (!p->record.stream || + pa_stream_get_device_index(p->record.stream) == PA_INVALID_INDEX) + return; + + /* FIXME: use the upcoming "set_source_output_volume" */ + op = pa_context_set_source_volume_by_index(p->context, + pa_stream_get_device_index(p->record.stream), + &v, NULL, NULL); + if (!op) + g_warning("set_source_volume() failed: %s", + pa_strerror(pa_context_errno(p->context))); + else + pa_operation_unref(op); +} + +static gboolean connect_channel(SpiceAudio *audio, SpiceChannel *channel) +{ + SpicePulse *pulse = SPICE_PULSE(audio); + SpicePulsePrivate *p = pulse->priv; + + if (SPICE_IS_PLAYBACK_CHANNEL(channel)) { + g_return_val_if_fail(p->pchannel == NULL, FALSE); + + p->pchannel = g_object_ref(channel); + spice_g_signal_connect_object(channel, "playback-start", + G_CALLBACK(playback_start), pulse, 0); + spice_g_signal_connect_object(channel, "playback-get-delay", + G_CALLBACK(playback_get_delay), pulse, 0); + spice_g_signal_connect_object(channel, "playback-data", + G_CALLBACK(playback_data), pulse, 0); + spice_g_signal_connect_object(channel, "playback-stop", + G_CALLBACK(playback_stop), pulse, 0); + spice_g_signal_connect_object(channel, "channel-event", + G_CALLBACK(channel_event), pulse, 0); + spice_g_signal_connect_object(channel, "notify::volume", + G_CALLBACK(playback_volume_changed), pulse, 0); + spice_g_signal_connect_object(channel, "notify::mute", + G_CALLBACK(playback_mute_changed), pulse, 0); + + return TRUE; + } + + if (SPICE_IS_RECORD_CHANNEL(channel)) { + g_return_val_if_fail(p->rchannel == NULL, FALSE); + + p->rchannel = g_object_ref(channel); + spice_g_signal_connect_object(channel, "record-start", + G_CALLBACK(record_start), pulse, 0); + spice_g_signal_connect_object(channel, "record-stop", + G_CALLBACK(record_stop), pulse, 0); + spice_g_signal_connect_object(channel, "channel-event", + G_CALLBACK(channel_event), pulse, 0); + spice_g_signal_connect_object(channel, "notify::volume", + G_CALLBACK(record_volume_changed), pulse, 0); + spice_g_signal_connect_object(channel, "notify::mute", + G_CALLBACK(record_mute_changed), pulse, 0); + + return TRUE; + } + + return FALSE; +} + +static void context_state_callback(pa_context *c, void *userdata) +{ + SpicePulsePrivate *p; + p = SPICE_PULSE_GET_PRIVATE(userdata); + + g_return_if_fail(p != NULL); + g_return_if_fail(c != NULL); + switch (pa_context_get_state(c)) { + case PA_CONTEXT_CONNECTING: + case PA_CONTEXT_AUTHORIZING: + case PA_CONTEXT_SETTING_NAME: + case PA_CONTEXT_UNCONNECTED: + break; + + case PA_CONTEXT_READY: { + if (!p->record.stream && p->record.started) + create_record(SPICE_PULSE(userdata)); + + if (!p->playback.stream && p->playback.started) + create_playback(SPICE_PULSE(userdata)); + break; + } + + case PA_CONTEXT_FAILED: + g_warning("PulseAudio context failed %s", + pa_strerror(pa_context_errno(p->context))); + break; + + case PA_CONTEXT_TERMINATED: + default: + SPICE_DEBUG("PulseAudio context terminated"); + break; + } +} + +SpicePulse *spice_pulse_new(SpiceSession *session, GMainContext *context, + const char *name) +{ + SpicePulse *pulse; + SpicePulsePrivate *p; + + pulse = g_object_new(SPICE_TYPE_PULSE, + "session", session, + "main-context", context, + NULL); + p = SPICE_PULSE_GET_PRIVATE(pulse); + + p->mainloop = pa_glib_mainloop_new(context); + p->state = PA_CONTEXT_READY; + p->context = pa_context_new(pa_glib_mainloop_get_api(p->mainloop), name); + pa_context_set_state_callback(p->context, context_state_callback, pulse); + if (pa_context_connect(p->context, NULL, 0, NULL) < 0) { + g_warning("pa_context_connect() failed: %s", + pa_strerror(pa_context_errno(p->context))); + goto error; + } + + return pulse; + +error: + g_object_unref(pulse); + return NULL; +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-pulse.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-pulse.h new file mode 100644 index 0000000..819647e --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-pulse.h @@ -0,0 +1,57 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_CLIENT_PULSE_H__ +#define __SPICE_CLIENT_PULSE_H__ + +#include "spice-client.h" +#include "spice-audio.h" + +G_BEGIN_DECLS + +#define SPICE_TYPE_PULSE (spice_pulse_get_type()) +#define SPICE_PULSE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), SPICE_TYPE_PULSE, SpicePulse)) +#define SPICE_PULSE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPICE_TYPE_PULSE, SpicePulseClass)) +#define SPICE_IS_PULSE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SPICE_TYPE_PULSE)) +#define SPICE_IS_PULSE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SPICE_TYPE_PULSE)) +#define SPICE_PULSE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), SPICE_TYPE_PULSE, SpicePulseClass)) + + +typedef struct _SpicePulse SpicePulse; +typedef struct _SpicePulseClass SpicePulseClass; +typedef struct _SpicePulsePrivate SpicePulsePrivate; + +struct _SpicePulse { + SpiceAudio parent; + SpicePulsePrivate *priv; + /* Do not add fields to this struct */ +}; + +struct _SpicePulseClass { + SpiceAudioClass parent_class; + /* Do not add fields to this struct */ +}; + +GType spice_pulse_get_type(void); + +SpicePulse *spice_pulse_new(SpiceSession *session, + GMainContext *context, + const char *name); + +G_END_DECLS + +#endif /* __SPICE_CLIENT_PULSE_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-session-priv.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-session-priv.h new file mode 100644 index 0000000..d5df378 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-session-priv.h @@ -0,0 +1,160 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_CLIENT_SESSION_PRIV_H__ +#define __SPICE_CLIENT_SESSION_PRIV_H__ + +#include +#include +#include "desktop-integration.h" +#include "spice-session.h" +#include "spice-proxy.h" +#include "spice-gtk-session.h" +#include "spice-channel-cache.h" +#include "decode.h" + +G_BEGIN_DECLS + +#define IMAGES_CACHE_SIZE_DEFAULT (1024 * 1024 * 80) +#define MIN_GLZ_WINDOW_SIZE_DEFAULT (1024 * 1024 * 12) +#define MAX_GLZ_WINDOW_SIZE_DEFAULT MIN((LZ_MAX_WINDOW_SIZE * 4), 1024 * 1024 * 64) + +struct _SpiceSessionPrivate { + char *host; + char *port; + char *tls_port; + char *password; + char *ca_file; + char *ciphers; + GByteArray *pubkey; + GByteArray *ca; + char *cert_subject; + guint verify; + gboolean read_only; + SpiceProxy *proxy; + + /* whether to enable audio */ + gboolean audio; + + /* whether to enable smartcard event forwarding to the server */ + gboolean smartcard; + + /* list of certificates to use for the software smartcard reader if + * enabled. For now, it has to contain exactly 3 certificates for + * the software reader to be functional + */ + GStrv smartcard_certificates; + + /* path to the local certificate database to use to lookup the + * certificates stored in 'certificates'. If NULL, libcacard will + * fallback to using a default database. + */ + char * smartcard_db; + + /* whether to enable USB redirection */ + gboolean usbredir; + + /* Set when a usbredir channel has requested the keyboard grab to be + temporarily released (because it is going to invoke policykit) */ + gboolean inhibit_keyboard_grab; + + GStrv disable_effects; + gint color_depth; + + int connection_id; + int protocol; + SpiceChannel *cmain; /* weak reference */ + Ring channels; + guint32 mm_time; + gboolean client_provided_sockets; + guint64 mm_time_at_clock; + SpiceSession *migration; + GList *migration_left; + SpiceSessionMigration migration_state; + gboolean full_migration; /* seamless migration indicator */ + gboolean disconnecting; + gboolean migrate_wait_init; + guint after_main_init; + gboolean migration_copy; + + display_cache images; + display_cache palettes; + SpiceGlzDecoderWindow *glz_window; + int images_cache_size; + int glz_window_size; + uint32_t pci_ram_size; + uint32_t display_channels_count; + guint8 uuid[16]; + gchar *name; + + /* associated objects */ + SpiceAudio *audio_manager; + SpiceDesktopIntegration *desktop_integration; + SpiceGtkSession *gtk_session; + SpiceUsbDeviceManager *usb_manager; +}; + +SpiceSession *spice_session_new_from_session(SpiceSession *session); + +void spice_session_set_connection_id(SpiceSession *session, int id); +int spice_session_get_connection_id(SpiceSession *session); +gboolean spice_session_get_client_provided_socket(SpiceSession *session); + +GSocketConnection* spice_session_channel_open_host(SpiceSession *session, SpiceChannel *channel, + gboolean use_tls); +void spice_session_channel_new(SpiceSession *session, SpiceChannel *channel); +void spice_session_channel_destroy(SpiceSession *session, SpiceChannel *channel); +void spice_session_channel_migrate(SpiceSession *session, SpiceChannel *channel); + +void spice_session_set_mm_time(SpiceSession *session, guint32 time); +guint32 spice_session_get_mm_time(SpiceSession *session); + +void spice_session_switching_disconnect(SpiceSession *session); +void spice_session_set_migration(SpiceSession *session, + SpiceSession *migration, + gboolean full_migration); +void spice_session_abort_migration(SpiceSession *session); +void spice_session_set_migration_state(SpiceSession *session, SpiceSessionMigration state); + +void spice_session_set_port(SpiceSession *session, int port, gboolean tls); +void spice_session_get_pubkey(SpiceSession *session, guint8 **pubkey, guint *size); +guint spice_session_get_verify(SpiceSession *session); +const gchar* spice_session_get_password(SpiceSession *session); +const gchar* spice_session_get_host(SpiceSession *session); +const gchar* spice_session_get_cert_subject(SpiceSession *session); +const gchar* spice_session_get_ciphers(SpiceSession *session); +const gchar* spice_session_get_ca_file(SpiceSession *session); +void spice_session_get_ca(SpiceSession *session, guint8 **ca, guint *size); + +void spice_session_set_caches_hints(SpiceSession *session, + uint32_t pci_ram_size, + uint32_t display_channels_count); +void spice_session_get_caches(SpiceSession *session, + display_cache **images, + display_cache **palettes, + SpiceGlzDecoderWindow **glz_window); +void spice_session_palettes_clear(SpiceSession *session); +void spice_session_images_clear(SpiceSession *session); +void spice_session_migrate_end(SpiceSession *session); +gboolean spice_session_migrate_after_main_init(SpiceSession *session); +SpiceChannel* spice_session_lookup_channel(SpiceSession *session, gint id, gint type); +void spice_session_set_uuid(SpiceSession *session, guint8 uuid[16]); +void spice_session_set_name(SpiceSession *session, const gchar *name); + +G_END_DECLS + +#endif /* __SPICE_CLIENT_SESSION_PRIV_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-session.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-session.c new file mode 100644 index 0000000..4a19d1e --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-session.c @@ -0,0 +1,2087 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#include +#include + +#include "common/ring.h" + +#include "spice-client.h" +#include "spice-common.h" +#include "spice-channel-priv.h" +#include "spice-util-priv.h" +#include "spice-session-priv.h" +#include "gio-coroutine.h" +#include "glib-compat.h" +#include "wocky-http-proxy.h" +#include "spice-proxy.h" + +struct channel { + SpiceChannel *channel; + RingItem link; +}; + +/** + * SECTION:spice-session + * @short_description: handles connection details, and active channels + * @title: Spice Session + * @section_id: + * @see_also: #SpiceChannel, and the GTK widget #SpiceDisplay + * @stability: Stable + * @include: spice-session.h + * + * The #SpiceSession class handles all the #SpiceChannel connections. + * It's also the class that contains connections informations, such as + * #SpiceSession:host and #SpiceSession:port. + * + * You can simply set the property #SpiceSession:uri to something like + * "spice://127.0.0.1?port=5930" to configure your connection details. + * + * You may want to connect to #SpiceSession::channel-new signal, to be + * informed of the availability of channels and to interact with + * them. + * + * For example, when the #SpiceInputsChannel is available and get the + * event #SPICE_CHANNEL_OPENED, you can send key events with + * spice_inputs_key_press(). When the #SpiceMainChannel is available, + * you can start sharing the clipboard... . + * + * + * Once #SpiceSession properties set, you can call + * spice_session_connect() to start connecting and communicating with + * a Spice server. + */ + +/* ------------------------------------------------------------------ */ +/* gobject glue */ + +#define SPICE_SESSION_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE ((obj), SPICE_TYPE_SESSION, SpiceSessionPrivate)) + +G_DEFINE_TYPE (SpiceSession, spice_session, G_TYPE_OBJECT); + +#ifdef CONFIG_MARU +char HOST_IP[32] = "localhost"; +#endif + +/* Properties */ +enum { + PROP_0, + PROP_HOST, + PROP_PORT, + PROP_TLS_PORT, + PROP_PASSWORD, + PROP_CA_FILE, + PROP_CIPHERS, + PROP_IPV4, + PROP_IPV6, + PROP_PROTOCOL, + PROP_URI, + PROP_CLIENT_SOCKETS, + PROP_PUBKEY, + PROP_CERT_SUBJECT, + PROP_VERIFY, + PROP_MIGRATION_STATE, + PROP_AUDIO, + PROP_SMARTCARD, + PROP_SMARTCARD_CERTIFICATES, + PROP_SMARTCARD_DB, + PROP_USBREDIR, + PROP_INHIBIT_KEYBOARD_GRAB, + PROP_DISABLE_EFFECTS, + PROP_COLOR_DEPTH, + PROP_READ_ONLY, + PROP_CACHE_SIZE, + PROP_GLZ_WINDOW_SIZE, + PROP_UUID, + PROP_NAME, + PROP_CA, + PROP_PROXY +}; + +/* signals */ +enum { + SPICE_SESSION_CHANNEL_NEW, + SPICE_SESSION_CHANNEL_DESTROY, + SPICE_SESSION_LAST_SIGNAL, +}; + +static guint signals[SPICE_SESSION_LAST_SIGNAL]; + + +static void update_proxy(SpiceSession *self, const gchar *str) +{ + SpiceSessionPrivate *s = self->priv; + SpiceProxy *proxy = NULL; + GError *error = NULL; + + if (str == NULL) + str = g_getenv("SPICE_PROXY"); + if (str == NULL || *str == 0) { + g_clear_object(&s->proxy); + return; + } + + proxy = spice_proxy_new(); + if (!spice_proxy_parse(proxy, str, &error)) + g_clear_object(&proxy); + if (error) { + g_warning("%s", error->message); + g_clear_error(&error); + } + + if (proxy != NULL) { + g_clear_object(&s->proxy); + s->proxy = proxy; + } +} + +static void spice_session_init(SpiceSession *session) +{ + SpiceSessionPrivate *s; + gchar *channels; + + SPICE_DEBUG("New session (compiled from package " PACKAGE_STRING ")"); + s = session->priv = SPICE_SESSION_GET_PRIVATE(session); + + channels = g_strjoin(", ", + spice_channel_type_to_string(SPICE_CHANNEL_MAIN), + spice_channel_type_to_string(SPICE_CHANNEL_DISPLAY), + spice_channel_type_to_string(SPICE_CHANNEL_INPUTS), + spice_channel_type_to_string(SPICE_CHANNEL_CURSOR), + spice_channel_type_to_string(SPICE_CHANNEL_PLAYBACK), + spice_channel_type_to_string(SPICE_CHANNEL_RECORD), +#ifdef USE_SMARTCARD + spice_channel_type_to_string(SPICE_CHANNEL_SMARTCARD), +#endif +#ifdef USE_USBREDIR + spice_channel_type_to_string(SPICE_CHANNEL_USBREDIR), +#endif + NULL); + SPICE_DEBUG("Supported channels: %s", channels); + g_free(channels); + + ring_init(&s->channels); + cache_init(&s->images, "image"); + cache_init(&s->palettes, "palette"); + s->glz_window = glz_decoder_window_new(); + update_proxy(session, NULL); +} + +static void +spice_session_dispose(GObject *gobject) +{ + SpiceSession *session = SPICE_SESSION(gobject); + SpiceSessionPrivate *s = session->priv; + + SPICE_DEBUG("session dispose"); + + spice_session_disconnect(session); + + if (s->migration) { + spice_session_disconnect(s->migration); + g_object_unref(s->migration); + s->migration = NULL; + } + + if (s->migration_left) { + g_list_free(s->migration_left); + s->migration_left = NULL; + } + + if (s->after_main_init) { + g_source_remove(s->after_main_init); + s->after_main_init = 0; + } + + g_clear_object(&s->audio_manager); + g_clear_object(&s->desktop_integration); + g_clear_object(&s->gtk_session); + g_clear_object(&s->usb_manager); + g_clear_object(&s->proxy); + + /* Chain up to the parent class */ + if (G_OBJECT_CLASS(spice_session_parent_class)->dispose) + G_OBJECT_CLASS(spice_session_parent_class)->dispose(gobject); +} + +G_GNUC_INTERNAL +void spice_session_palettes_clear(SpiceSession *session) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + g_return_if_fail(s != NULL); + + for (;;) { + display_cache_item *item = cache_get_lru(&s->palettes); + if (item == NULL) + break; + cache_del(&s->palettes, item); + } +} + +G_GNUC_INTERNAL +void spice_session_images_clear(SpiceSession *session) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + g_return_if_fail(s != NULL); + + for (;;) { + display_cache_item *item = cache_get_lru(&s->images); + if (item == NULL) + break; + pixman_image_unref(item->ptr); + cache_del(&s->images, item); + } +} + +static void +spice_session_finalize(GObject *gobject) +{ + SpiceSession *session = SPICE_SESSION(gobject); + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + + /* release stuff */ + g_free(s->host); + g_free(s->port); + g_free(s->tls_port); + g_free(s->password); + g_free(s->ca_file); + g_free(s->ciphers); + g_free(s->cert_subject); + g_strfreev(s->smartcard_certificates); + g_free(s->smartcard_db); + g_strfreev(s->disable_effects); + + spice_session_palettes_clear(session); + spice_session_images_clear(session); + glz_decoder_window_destroy(s->glz_window); + + g_clear_pointer(&s->pubkey, g_byte_array_unref); + g_clear_pointer(&s->ca, g_byte_array_unref); + + /* Chain up to the parent class */ + if (G_OBJECT_CLASS(spice_session_parent_class)->finalize) + G_OBJECT_CLASS(spice_session_parent_class)->finalize(gobject); +} + +#define URI_SCHEME_SPICE "spice://" +#define URI_QUERY_START ";?" +#define URI_QUERY_SEP ";&" + +static int spice_uri_create(SpiceSession *session, char *dest, int len) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + int pos = 0; + + if (s->host == NULL || (s->port == NULL && s->tls_port == NULL)) { + return 0; + } + + pos += snprintf(dest + pos, len-pos, "spice://%s?", s->host); + if (s->port && strlen(s->port)) + pos += snprintf(dest + pos, len - pos, "port=%s;", s->port); + if (s->tls_port && strlen(s->tls_port)) + pos += snprintf(dest + pos, len - pos, "tls-port=%s;", s->tls_port); + return pos; +} + +static int spice_uri_parse(SpiceSession *session, const char *original_uri) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + gchar *host = NULL, *port = NULL, *tls_port = NULL, *uri = NULL, *password = NULL; + gchar *path = NULL; + gchar *unescaped_path = NULL; + gchar *authority = NULL; + gchar *query = NULL; + + g_return_val_if_fail(original_uri != NULL, -1); + + uri = g_strdup(original_uri); + + /* Break up the URI into its various parts, scheme, authority, + * path (ignored) and query + */ + if (strncmp(uri, URI_SCHEME_SPICE, strlen(URI_SCHEME_SPICE)) != 0) { + g_warning("Expected a URI scheme of '%s' in URI '%s'", + URI_SCHEME_SPICE, uri); + goto fail; + } + authority = uri + strlen(URI_SCHEME_SPICE); + path = strchr(authority, '/'); + if (path) { + path[0] = '\0'; + path++; + } + + if (path) { + size_t prefix = strcspn(path, URI_QUERY_START); + query = path + prefix; + } else { + size_t prefix = strcspn(authority, URI_QUERY_START); + query = authority + prefix; + } + + if (query && query[0]) { + query[0] = '\0'; + query++; + } + + /* Now process the individual parts */ + + if (authority[0] == '[') { + gchar *tmp = strchr(authority, ']'); + if (!tmp) { + g_warning("Missing closing ']' in authority for URI '%s'", uri); + goto fail; + } + tmp[0] = '\0'; + tmp++; + host = g_strdup(authority + 1); + if (tmp[0] == ':') + port = g_strdup(tmp + 1); + } else { + gchar *tmp = strchr(authority, ':'); + if (tmp) { + *tmp = '\0'; + tmp++; + port = g_strdup(tmp); + } + host = g_uri_unescape_string(authority, NULL); + } + + if (path && !(g_str_equal(path, "") || + g_str_equal(path, "/"))) { + g_warning("Unexpected path data '%s' for URI '%s'", path, uri); + /* don't fail, just ignore */ + } + unescaped_path = g_uri_unescape_string(path, NULL); + + while (query && query[0] != '\0') { + gchar key[32], value[128]; + gchar **target_key; + + int len; + if (sscanf(query, "%31[-a-zA-Z0-9]=%127[^;&]%n", key, value, &len) != 2) { + g_warning("Failed to parse URI query '%s'", query); + goto fail; + } + query += len; + if (*query) + query++; + + target_key = NULL; + if (g_str_equal(key, "port")) { + target_key = &port; + } else if (g_str_equal(key, "tls-port")) { + target_key = &tls_port; + } else if (g_str_equal(key, "password")) { + target_key = &password; + g_warning("password may be visible in process listings"); + } else { + g_warning("unknown key in spice URI parsing: '%s'", key); + goto fail; + } + if (target_key) { + if (*target_key) { + g_warning("Double set of '%s' in URI '%s'", key, uri); + goto fail; + } + *target_key = g_uri_unescape_string(value, NULL); + } + } + + if (port == NULL && tls_port == NULL) { + g_warning("Missing port or tls-port in spice URI '%s'", uri); + goto fail; + } + + /* parsed ok -> apply */ + g_free(uri); + g_free(unescaped_path); + g_free(s->host); + g_free(s->port); + g_free(s->tls_port); + g_free(s->password); + s->host = host; + s->port = port; + s->tls_port = tls_port; + s->password = password; + return 0; + +fail: + g_free(uri); + g_free(unescaped_path); + g_free(host); + g_free(port); + g_free(tls_port); + g_free(password); + return -1; +} + +static void spice_session_get_property(GObject *gobject, + guint prop_id, + GValue *value, + GParamSpec *pspec) +{ + SpiceSession *session = SPICE_SESSION(gobject); + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + char buf[256]; + int len; + + switch (prop_id) { + case PROP_HOST: + g_value_set_string(value, s->host); + break; + case PROP_PORT: + g_value_set_string(value, s->port); + break; + case PROP_TLS_PORT: + g_value_set_string(value, s->tls_port); + break; + case PROP_PASSWORD: + g_value_set_string(value, s->password); + break; + case PROP_CA_FILE: + g_value_set_string(value, s->ca_file); + break; + case PROP_CIPHERS: + g_value_set_string(value, s->ciphers); + break; + case PROP_PROTOCOL: + g_value_set_int(value, s->protocol); + break; + case PROP_URI: + len = spice_uri_create(session, buf, sizeof(buf)); + g_value_set_string(value, len ? buf : NULL); + break; + case PROP_CLIENT_SOCKETS: + g_value_set_boolean(value, s->client_provided_sockets); + break; + case PROP_PUBKEY: + g_value_set_boxed(value, s->pubkey); + break; + case PROP_CA: + g_value_set_boxed(value, s->ca); + break; + case PROP_CERT_SUBJECT: + g_value_set_string(value, s->cert_subject); + break; + case PROP_VERIFY: + g_value_set_flags(value, s->verify); + break; + case PROP_MIGRATION_STATE: + g_value_set_enum(value, s->migration_state); + break; + case PROP_SMARTCARD: + g_value_set_boolean(value, s->smartcard); + break; + case PROP_SMARTCARD_CERTIFICATES: + g_value_set_boxed(value, s->smartcard_certificates); + break; + case PROP_SMARTCARD_DB: + g_value_set_string(value, s->smartcard_db); + break; + case PROP_USBREDIR: + g_value_set_boolean(value, s->usbredir); + break; + case PROP_INHIBIT_KEYBOARD_GRAB: + g_value_set_boolean(value, s->inhibit_keyboard_grab); + break; + case PROP_DISABLE_EFFECTS: + g_value_set_boxed(value, s->disable_effects); + break; + case PROP_COLOR_DEPTH: + g_value_set_int(value, s->color_depth); + break; + case PROP_AUDIO: + g_value_set_boolean(value, s->audio); + break; + case PROP_READ_ONLY: + g_value_set_boolean(value, s->read_only); + break; + case PROP_CACHE_SIZE: + g_value_set_int(value, s->images_cache_size); + break; + case PROP_GLZ_WINDOW_SIZE: + g_value_set_int(value, s->glz_window_size); + break; + case PROP_NAME: + g_value_set_string(value, s->name); + break; + case PROP_UUID: + g_value_set_pointer(value, s->uuid); + break; + case PROP_PROXY: + g_value_take_string(value, spice_proxy_to_string(s->proxy)); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, pspec); + break; + } +} + +static void spice_session_set_property(GObject *gobject, + guint prop_id, + const GValue *value, + GParamSpec *pspec) +{ + SpiceSession *session = SPICE_SESSION(gobject); + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + const char *str; + + switch (prop_id) { + case PROP_HOST: + g_free(s->host); + s->host = g_value_dup_string(value); + break; + case PROP_PORT: + g_free(s->port); + s->port = g_value_dup_string(value); + break; + case PROP_TLS_PORT: + g_free(s->tls_port); + s->tls_port = g_value_dup_string(value); + break; + case PROP_PASSWORD: + g_free(s->password); + s->password = g_value_dup_string(value); + break; + case PROP_CA_FILE: + g_free(s->ca_file); + s->ca_file = g_value_dup_string(value); + break; + case PROP_CIPHERS: + g_free(s->ciphers); + s->ciphers = g_value_dup_string(value); + break; + case PROP_PROTOCOL: + s->protocol = g_value_get_int(value); + break; + case PROP_URI: + str = g_value_get_string(value); + if (str != NULL) + spice_uri_parse(session, str); + break; + case PROP_CLIENT_SOCKETS: + s->client_provided_sockets = g_value_get_boolean(value); + break; + case PROP_PUBKEY: + if (s->pubkey) + g_byte_array_unref(s->pubkey); + s->pubkey = g_value_dup_boxed(value); + if (s->pubkey) + s->verify |= SPICE_SESSION_VERIFY_PUBKEY; + else + s->verify &= ~SPICE_SESSION_VERIFY_PUBKEY; + break; + case PROP_CERT_SUBJECT: + g_free(s->cert_subject); + s->cert_subject = g_value_dup_string(value); + if (s->cert_subject) + s->verify |= SPICE_SESSION_VERIFY_SUBJECT; + else + s->verify &= ~SPICE_SESSION_VERIFY_SUBJECT; + break; + case PROP_VERIFY: + s->verify = g_value_get_flags(value); + break; + case PROP_MIGRATION_STATE: + s->migration_state = g_value_get_enum(value); + break; + case PROP_SMARTCARD: + s->smartcard = g_value_get_boolean(value); + break; + case PROP_SMARTCARD_CERTIFICATES: + g_strfreev(s->smartcard_certificates); + s->smartcard_certificates = g_value_dup_boxed(value); + break; + case PROP_SMARTCARD_DB: + g_free(s->smartcard_db); + s->smartcard_db = g_value_dup_string(value); + break; + case PROP_USBREDIR: + s->usbredir = g_value_get_boolean(value); + break; + case PROP_INHIBIT_KEYBOARD_GRAB: + s->inhibit_keyboard_grab = g_value_get_boolean(value); + break; + case PROP_DISABLE_EFFECTS: + g_strfreev(s->disable_effects); + s->disable_effects = g_value_dup_boxed(value); + break; + case PROP_COLOR_DEPTH: + s->color_depth = g_value_get_int(value); + break; + case PROP_AUDIO: + s->audio = g_value_get_boolean(value); + break; + case PROP_READ_ONLY: + s->read_only = g_value_get_boolean(value); + g_object_notify(gobject, "read-only"); + break; + case PROP_CACHE_SIZE: + s->images_cache_size = g_value_get_int(value); + break; + case PROP_GLZ_WINDOW_SIZE: + s->glz_window_size = g_value_get_int(value); + break; + case PROP_CA: + g_clear_pointer(&s->ca, g_byte_array_unref); + s->ca = g_value_dup_boxed(value); + break; + case PROP_PROXY: + update_proxy(session, g_value_get_string(value)); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, pspec); + break; + } +} + +static void spice_session_class_init(SpiceSessionClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS(klass); + +#if GLIB_CHECK_VERSION(2, 26, 0) + _wocky_http_proxy_get_type(); +#endif + + gobject_class->dispose = spice_session_dispose; + gobject_class->finalize = spice_session_finalize; + gobject_class->get_property = spice_session_get_property; + gobject_class->set_property = spice_session_set_property; + + /** + * SpiceSession:host: + * + * URL of the SPICE host to connect to + * + **/ + g_object_class_install_property + (gobject_class, PROP_HOST, + g_param_spec_string("host", + "Host", + "Remote host", + "localhost", + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:port: + * + * Port to connect to for unencrypted sessions + * + **/ + g_object_class_install_property + (gobject_class, PROP_PORT, + g_param_spec_string("port", + "Port", + "Remote port (plaintext)", + NULL, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:tls-port: + * + * Port to connect to for TLS sessions + * + **/ + g_object_class_install_property + (gobject_class, PROP_TLS_PORT, + g_param_spec_string("tls-port", + "TLS port", + "Remote port (encrypted)", + NULL, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:password: + * + * TLS password to use + * + **/ + g_object_class_install_property + (gobject_class, PROP_PASSWORD, + g_param_spec_string("password", + "Password", + "", + NULL, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:ca-file: + * + * File holding the CA certificates for the host the client is + * connecting to + * + **/ + g_object_class_install_property + (gobject_class, PROP_CA_FILE, + g_param_spec_string("ca-file", + "CA file", + "File holding the CA certificates", + NULL, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:ciphers: + * + **/ + g_object_class_install_property + (gobject_class, PROP_CIPHERS, + g_param_spec_string("ciphers", + "Ciphers", + "SSL cipher list", + NULL, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:protocol: + * + * Version of the SPICE protocol to use + * + **/ + g_object_class_install_property + (gobject_class, PROP_PROTOCOL, + g_param_spec_int("protocol", + "Protocol", + "Spice protocol major version", + 1, 2, 2, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:uri: + * + * URI of the SPICE host to connect to. The URI is of the form + * spice://hostname?port=XXX or spice://hostname?tls_port=XXX + * + **/ + g_object_class_install_property + (gobject_class, PROP_URI, + g_param_spec_string("uri", + "URI", + "Spice connection URI", + NULL, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:client-sockets: + * + **/ + g_object_class_install_property + (gobject_class, PROP_CLIENT_SOCKETS, + g_param_spec_boolean("client-sockets", + "Client sockets", + "Sockets are provided by the client", + FALSE, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:pubkey: + * + **/ + g_object_class_install_property + (gobject_class, PROP_PUBKEY, + g_param_spec_boxed("pubkey", + "Pub Key", + "Public key to check", + G_TYPE_BYTE_ARRAY, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:cert-subject: + * + **/ + g_object_class_install_property + (gobject_class, PROP_CERT_SUBJECT, + g_param_spec_string("cert-subject", + "Cert Subject", + "Certificate subject to check", + NULL, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:verify: + * + * #SpiceSessionVerify bit field indicating which parts of the peer + * certificate should be checked + **/ + g_object_class_install_property + (gobject_class, PROP_VERIFY, + g_param_spec_flags("verify", + "Verify", + "Certificate verification parameters", + SPICE_TYPE_SESSION_VERIFY, + SPICE_SESSION_VERIFY_HOSTNAME, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:migration-state: + * + * #SpiceSessionMigration bit field indicating if a migration is in + * progress + * + **/ + g_object_class_install_property + (gobject_class, PROP_MIGRATION_STATE, + g_param_spec_enum("migration-state", + "Migration state", + "Migration state", + SPICE_TYPE_SESSION_MIGRATION, + SPICE_SESSION_MIGRATION_NONE, + G_PARAM_READABLE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:disable-effects: + * + * A comma-separated list of effects to disable. The settings will + * be applied on new display channels. The following effets can be + * disabled "wallpaper", "font-smooth", "animation", and "all", + * which will disable all the effects. If NULL, don't apply changes. + * + * Since: 0.7 + **/ + g_object_class_install_property + (gobject_class, PROP_DISABLE_EFFECTS, + g_param_spec_boxed ("disable-effects", + "Disable effects", + "Comma-separated effects to disable", + G_TYPE_STRV, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:color-depth: + * + * Display color depth to set on new display channels. If 0, don't set. + * + * Since: 0.7 + **/ + g_object_class_install_property + (gobject_class, PROP_COLOR_DEPTH, + g_param_spec_int("color-depth", + "Color depth", + "Display channel color depth", + 0, 32, 0, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:enable-smartcard: + * + * If set to TRUE, the smartcard channel will be enabled and smartcard + * events will be forwarded to the guest + * + * Since: 0.7 + **/ + g_object_class_install_property + (gobject_class, PROP_SMARTCARD, + g_param_spec_boolean("enable-smartcard", + "Enable smartcard event forwarding", + "Forward smartcard events to the SPICE server", + FALSE, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:enable-audio: + * + * If set to TRUE, the audio channels will be enabled for + * playback and recording. + * + * Since: 0.8 + **/ + g_object_class_install_property + (gobject_class, PROP_AUDIO, + g_param_spec_boolean("enable-audio", + "Enable audio channels", + "Enable audio channels", + TRUE, + G_PARAM_READWRITE | G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:smartcard-certificates: + * + * This property is used when one wants to simulate a smartcard with no + * hardware smartcard reader. If it's set to a NULL-terminated string + * array containing the names of 3 valid certificates, these will be + * used to simulate a smartcard in the guest + * See also spice_smartcard_manager_insert_card() + * + * Since: 0.7 + **/ + g_object_class_install_property + (gobject_class, PROP_SMARTCARD_CERTIFICATES, + g_param_spec_boxed("smartcard-certificates", + "Smartcard certificates", + "Smartcard certificates for software-based smartcards", + G_TYPE_STRV, + G_PARAM_READABLE | + G_PARAM_WRITABLE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:smartcard-db: + * + * Path to the NSS certificate database containing the certificates to + * use to simulate a software smartcard + * + * Since: 0.7 + **/ + g_object_class_install_property + (gobject_class, PROP_SMARTCARD_DB, + g_param_spec_string("smartcard-db", + "Smartcard certificate database", + "Path to the database for smartcard certificates", + NULL, + G_PARAM_READABLE | + G_PARAM_WRITABLE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:enable-usbredir: + * + * If set to TRUE, the usbredir channel will be enabled and USB devices + * can be redirected to the guest + * + * Since: 0.8 + **/ + g_object_class_install_property + (gobject_class, PROP_USBREDIR, + g_param_spec_boolean("enable-usbredir", + "Enable USB device redirection", + "Forward USB devices to the SPICE server", + TRUE, + G_PARAM_READWRITE | G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession::inhibit-keyboard-grab: + * + * This boolean is set by the usbredir channel to indicate to #SpiceDisplay + * that the keyboard grab should be temporarily released, because it is + * going to invoke policykit. It will get reset when the usbredir channel + * is done with polickit. + * + * Since: 0.8 + **/ + g_object_class_install_property + (gobject_class, PROP_INHIBIT_KEYBOARD_GRAB, + g_param_spec_boolean("inhibit-keyboard-grab", + "Inhibit Keyboard Grab", + "Request that SpiceDisplays don't grab the keyboard", + FALSE, + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:ca: + * + * CA certificates in PEM format. The text data can contain + * several CA certificates identified by: + * + * -----BEGIN CERTIFICATE----- + * ... (CA certificate in base64 encoding) ... + * -----END CERTIFICATE----- + * + * Since: 0.15 + **/ + g_object_class_install_property + (gobject_class, PROP_CA, + g_param_spec_boxed("ca", + "CA", + "The CA certificates data", + G_TYPE_BYTE_ARRAY, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession::channel-new: + * @session: the session that emitted the signal + * @channel: the new #SpiceChannel + * + * The #SpiceSession::channel-new signal is emitted each time a #SpiceChannel is created. + **/ + signals[SPICE_SESSION_CHANNEL_NEW] = + g_signal_new("channel-new", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceSessionClass, channel_new), + NULL, NULL, + g_cclosure_marshal_VOID__OBJECT, + G_TYPE_NONE, + 1, + SPICE_TYPE_CHANNEL); + + /** + * SpiceSession::channel-destroy: + * @session: the session that emitted the signal + * @channel: the destroyed #SpiceChannel + * + * The #SpiceSession::channel-destroy signal is emitted each time a #SpiceChannel is destroyed. + **/ + signals[SPICE_SESSION_CHANNEL_DESTROY] = + g_signal_new("channel-destroy", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceSessionClass, channel_destroy), + NULL, NULL, + g_cclosure_marshal_VOID__OBJECT, + G_TYPE_NONE, + 1, + SPICE_TYPE_CHANNEL); + + /** + * SpiceSession:read-only: + * + * Whether this connection is read-only mode. + * + * Since: 0.8 + **/ + g_object_class_install_property + (gobject_class, PROP_READ_ONLY, + g_param_spec_boolean("read-only", "Read-only", + "Whether this connection is read-only mode", + FALSE, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:cache-size: + * + * Images cache size. If 0, don't set. + * + * Since: 0.9 + **/ + g_object_class_install_property + (gobject_class, PROP_CACHE_SIZE, + g_param_spec_int("cache-size", + "Cache size", + "Images cache size (bytes)", + 0, G_MAXINT, 0, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:glz-window-size: + * + * Glz window size. If 0, don't set. + * + * Since: 0.9 + **/ + g_object_class_install_property + (gobject_class, PROP_GLZ_WINDOW_SIZE, + g_param_spec_int("glz-window-size", + "Glz window size", + "Glz window size (bytes)", + 0, LZ_MAX_WINDOW_SIZE * 4, 0, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:name: + * + * Spice server name. + * + * Since: 0.11 + **/ + g_object_class_install_property + (gobject_class, PROP_NAME, + g_param_spec_string("name", + "Name", + "Spice server name", + NULL, + G_PARAM_READABLE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:uuid: + * + * Spice server uuid. + * + * Since: 0.11 + **/ + g_object_class_install_property + (gobject_class, PROP_UUID, + g_param_spec_pointer("uuid", + "UUID", + "Spice server uuid", + G_PARAM_READABLE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceSession:proxy: + * + * URI to the proxy server to use when doing network connection. + * of the form [:port] ]]> + * + * Since: 0.17 + **/ + g_object_class_install_property + (gobject_class, PROP_PROXY, + g_param_spec_string("proxy", + "Proxy", + "The proxy server", + NULL, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + g_type_class_add_private(klass, sizeof(SpiceSessionPrivate)); +} + +/* ------------------------------------------------------------------ */ +/* public functions */ + +/** + * spice_session_new: + * + * Creates a new Spice session. + * + * Returns: a new #SpiceSession + **/ +SpiceSession *spice_session_new(void) +{ + return SPICE_SESSION(g_object_new(SPICE_TYPE_SESSION, NULL)); +} + +G_GNUC_INTERNAL +SpiceSession *spice_session_new_from_session(SpiceSession *session) +{ + SpiceSession *copy = SPICE_SESSION(g_object_new(SPICE_TYPE_SESSION, + "host", NULL, + "ca-file", NULL, + NULL)); + SpiceSessionPrivate *c = copy->priv, *s = session->priv; + + g_clear_object(&c->proxy); + + g_warn_if_fail(c->host == NULL); + g_warn_if_fail(c->tls_port == NULL); + g_warn_if_fail(c->password == NULL); + g_warn_if_fail(c->ca_file == NULL); + g_warn_if_fail(c->ciphers == NULL); + g_warn_if_fail(c->cert_subject == NULL); + g_warn_if_fail(c->pubkey == NULL); + g_warn_if_fail(c->pubkey == NULL); + g_warn_if_fail(c->proxy == NULL); + + g_object_get(session, + "host", &c->host, + "tls-port", &c->tls_port, + "password", &c->password, + "ca-file", &c->ca_file, + "ciphers", &c->ciphers, + "cert-subject", &c->cert_subject, + "pubkey", &c->pubkey, + "verify", &c->verify, + "smartcard-certificates", &c->smartcard_certificates, + "smartcard-db", &c->smartcard_db, + "enable-smartcard", &c->smartcard, + "enable-audio", &c->audio, + "enable-usbredir", &c->usbredir, + NULL); + + c->client_provided_sockets = s->client_provided_sockets; + c->protocol = s->protocol; + c->connection_id = s->connection_id; + if (s->proxy) + c->proxy = g_object_ref(s->proxy); + + return copy; +} + +/** + * spice_session_connect: + * @session: + * + * Open the session using the #SpiceSession:host and + * #SpiceSession:port. + * + * Returns: %FALSE if the connection failed. + **/ +gboolean spice_session_connect(SpiceSession *session) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + + g_return_val_if_fail(s != NULL, FALSE); + + spice_session_disconnect(session); + s->disconnecting = FALSE; + + s->client_provided_sockets = FALSE; + + g_warn_if_fail(s->cmain == NULL); + s->cmain = spice_channel_new(session, SPICE_CHANNEL_MAIN, 0); + + glz_decoder_window_clear(s->glz_window); + return spice_channel_connect(s->cmain); +} + +/** + * spice_session_open_fd: + * @session: + * @fd: a file descriptor (socket) or -1 + * + * Open the session using the provided @fd socket file + * descriptor. This is useful if you create the fd yourself, for + * example to setup a SSH tunnel. + * + * If @fd is -1, a valid fd will be requested later via the + * SpiceChannel::open-fd signal. + * + * Returns: + **/ +gboolean spice_session_open_fd(SpiceSession *session, int fd) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + + g_return_val_if_fail(s != NULL, FALSE); + g_return_val_if_fail(fd >= -1, FALSE); + + spice_session_disconnect(session); + s->disconnecting = FALSE; + + s->client_provided_sockets = TRUE; + + g_warn_if_fail(s->cmain == NULL); + s->cmain = spice_channel_new(session, SPICE_CHANNEL_MAIN, 0); + + glz_decoder_window_clear(s->glz_window); + return spice_channel_open_fd(s->cmain, fd); +} + +G_GNUC_INTERNAL +gboolean spice_session_get_client_provided_socket(SpiceSession *session) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + + g_return_val_if_fail(s != NULL, FALSE); + return s->client_provided_sockets; +} + +G_GNUC_INTERNAL +void spice_session_switching_disconnect(SpiceSession *self) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(self); + struct channel *item; + RingItem *ring, *next; + + g_return_if_fail(s != NULL); + g_return_if_fail(s->cmain != NULL); + + /* disconnect/destroy all but main channel */ + + for (ring = ring_get_head(&s->channels); ring != NULL; ring = next) { + next = ring_next(&s->channels, ring); + item = SPICE_CONTAINEROF(ring, struct channel, link); + if (item->channel != s->cmain) + spice_channel_destroy(item->channel); /* /!\ item and channel are destroy() after this call */ + } + + g_warn_if_fail(!ring_is_empty(&s->channels)); /* ring_get_length() == 1 */ + + spice_session_palettes_clear(self); + spice_session_images_clear(self); + glz_decoder_window_clear(s->glz_window); +} + +G_GNUC_INTERNAL +void spice_session_set_migration(SpiceSession *session, + SpiceSession *migration, + gboolean full_migration) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + SpiceSessionPrivate *m = SPICE_SESSION_GET_PRIVATE(migration); + gchar *tmp; + + g_return_if_fail(s != NULL); + + s->full_migration = full_migration; + spice_session_set_migration_state(session, SPICE_SESSION_MIGRATION_MIGRATING); + + g_warn_if_fail(s->migration == NULL); + s->migration = g_object_ref(migration); + + tmp = s->host; + s->host = m->host; + m->host = tmp; + + tmp = s->port; + s->port = m->port; + m->port = tmp; + + tmp = s->tls_port; + s->tls_port = m->tls_port; + m->tls_port = tmp; + + g_warn_if_fail(ring_get_length(&s->channels) == ring_get_length(&m->channels)); + + SPICE_DEBUG("migration channels left:%d (in migration:%d)", + ring_get_length(&s->channels), ring_get_length(&m->channels)); + s->migration_left = spice_session_get_channels(session); +} + +G_GNUC_INTERNAL +SpiceChannel* spice_session_lookup_channel(SpiceSession *session, gint id, gint type) +{ + RingItem *ring, *next; + SpiceSessionPrivate *s = session->priv; + struct channel *c; + + g_return_val_if_fail(s != NULL, NULL); + + for (ring = ring_get_head(&s->channels); + ring != NULL; ring = next) { + next = ring_next(&s->channels, ring); + c = SPICE_CONTAINEROF(ring, struct channel, link); + if (c == NULL || c->channel == NULL) { + g_warn_if_reached(); + continue; + } + + if (id == spice_channel_get_channel_id(c->channel) && + type == spice_channel_get_channel_type(c->channel)) + break; + } + g_return_val_if_fail(ring != NULL, NULL); + + return c->channel; +} + +G_GNUC_INTERNAL +void spice_session_abort_migration(SpiceSession *session) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + RingItem *ring, *next; + struct channel *c; + + g_return_if_fail(s != NULL); + + if (s->migration == NULL) { + SPICE_DEBUG("no migration in progress"); + return; + } + + for (ring = ring_get_head(&s->channels); + ring != NULL; ring = next) { + next = ring_next(&s->channels, ring); + c = SPICE_CONTAINEROF(ring, struct channel, link); + + if (g_list_find(s->migration_left, c->channel)) + continue; + + spice_channel_swap(c->channel, + spice_session_lookup_channel(s->migration, + spice_channel_get_channel_id(c->channel), + spice_channel_get_channel_type(c->channel)), + !s->full_migration); + } + + g_list_free(s->migration_left); + s->migration_left = NULL; + spice_session_disconnect(s->migration); + g_object_unref(s->migration); + s->migration = NULL; + + spice_session_set_migration_state(session, SPICE_SESSION_MIGRATION_NONE); +} + +G_GNUC_INTERNAL +void spice_session_channel_migrate(SpiceSession *session, SpiceChannel *channel) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + SpiceChannel *c; + gint id, type; + + g_return_if_fail(s != NULL); + g_return_if_fail(s->migration != NULL); + g_return_if_fail(SPICE_IS_CHANNEL(channel)); + + id = spice_channel_get_channel_id(channel); + type = spice_channel_get_channel_type(channel); + CHANNEL_DEBUG(channel, "migrating channel id:%d type:%d", id, type); + + c = spice_session_lookup_channel(s->migration, id, type); + g_return_if_fail(c != NULL); + + if (!g_queue_is_empty(&c->priv->xmit_queue) && s->full_migration) { + CHANNEL_DEBUG(channel, "mig channel xmit queue is not empty. type %s", c->priv->name); + } + spice_channel_swap(channel, c, !s->full_migration); + s->migration_left = g_list_remove(s->migration_left, channel); + + if (g_list_length(s->migration_left) == 0) { + CHANNEL_DEBUG(channel, "all channel migrated"); + spice_session_disconnect(s->migration); + g_object_unref(s->migration); + s->migration = NULL; + spice_session_set_migration_state(session, SPICE_SESSION_MIGRATION_NONE); + } +} + +/* main context */ +static gboolean after_main_init(gpointer data) +{ + SpiceSession *self = data; + SpiceSessionPrivate *s = self->priv; + GList *l; + + for (l = s->migration_left; l != NULL; ) { + SpiceChannel *channel = l->data; + l = l->next; + + spice_session_channel_migrate(self, channel); + channel->priv->state = SPICE_CHANNEL_STATE_READY; + spice_channel_up(channel); + } + + s->after_main_init = 0; + return FALSE; +} + +/* coroutine context */ +G_GNUC_INTERNAL +gboolean spice_session_migrate_after_main_init(SpiceSession *self) +{ + SpiceSessionPrivate *s = self->priv; + + if (!s->migrate_wait_init) + return FALSE; + + g_return_val_if_fail(g_list_length(s->migration_left) != 0, FALSE); + g_return_val_if_fail(s->after_main_init == 0, FALSE); + + s->migrate_wait_init = FALSE; + s->after_main_init = g_idle_add(after_main_init, self); + + return TRUE; +} + +/* main context */ +G_GNUC_INTERNAL +void spice_session_migrate_end(SpiceSession *self) +{ + SpiceSessionPrivate *s = self->priv; + SpiceMsgOut *out; + GList *l; + + g_return_if_fail(s->migration); + g_return_if_fail(s->migration->priv->cmain); + g_return_if_fail(g_list_length(s->migration_left) != 0); + + /* disconnect and reset all channels */ + for (l = s->migration_left; l != NULL; ) { + SpiceChannel *channel = l->data; + l = l->next; + + if (!SPICE_IS_MAIN_CHANNEL(channel)) { + /* freeze other channels */ + channel->priv->state = SPICE_CHANNEL_STATE_MIGRATING; + } + + /* reset for migration, disconnect */ + spice_channel_reset(channel, TRUE); + + if (SPICE_IS_MAIN_CHANNEL(channel)) { + /* migrate main to target, so we can start talking */ + spice_session_channel_migrate(self, channel); + } + } + + spice_session_palettes_clear(self); + spice_session_images_clear(self); + glz_decoder_window_clear(s->glz_window); + + /* send MIGRATE_END to target */ + out = spice_msg_out_new(s->cmain, SPICE_MSGC_MAIN_MIGRATE_END); + spice_msg_out_send(out); + + /* now wait after main init for the rest of channels migration */ + s->migrate_wait_init = TRUE; +} + +/** + * spice_session_get_read_only: + * @session: a #SpiceSession + * + * Returns: wether the @session is in read-only mode. + **/ +gboolean spice_session_get_read_only(SpiceSession *self) +{ + g_return_val_if_fail(SPICE_IS_SESSION(self), FALSE); + + return self->priv->read_only; +} + +/** + * spice_session_disconnect: + * @session: + * + * Disconnect the @session, and destroy all channels. + **/ +void spice_session_disconnect(SpiceSession *session) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + struct channel *item; + RingItem *ring, *next; + + g_return_if_fail(s != NULL); + + SPICE_DEBUG("session: disconnecting %d", s->disconnecting); + if (s->disconnecting) + return; + + s->disconnecting = TRUE; + s->cmain = NULL; + + for (ring = ring_get_head(&s->channels); ring != NULL; ring = next) { + next = ring_next(&s->channels, ring); + item = SPICE_CONTAINEROF(ring, struct channel, link); + spice_channel_destroy(item->channel); /* /!\ item and channel are destroy() after this call */ + } + + s->connection_id = 0; + + g_free(s->name); + s->name = NULL; + memset(s->uuid, 0, sizeof(s->uuid)); + + /* we leave disconnecting = TRUE, so that spice_channel_destroy() + is not called multiple times on channels that are in pending + destroy state. */ +} + +/** + * spice_session_get_channels: + * @session: a #SpiceSession + * + * Get the list of current channels associated with this @session. + * + * Returns: (element-type SpiceChannel) (transfer container): a #GList + * of unowned #SpiceChannel channels. + **/ +GList *spice_session_get_channels(SpiceSession *session) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + struct channel *item; + GList *list = NULL; + RingItem *ring; + + g_return_val_if_fail(s != NULL, NULL); + + for (ring = ring_get_head(&s->channels); + ring != NULL; + ring = ring_next(&s->channels, ring)) { + item = SPICE_CONTAINEROF(ring, struct channel, link); + list = g_list_append(list, item->channel); + } + return list; +} + +/** + * spice_session_has_channel_type: + * @session: a #SpiceSession + * + * See if there is a @type channel in the channels associated with this + * @session. + * + * Returns: TRUE if a @type channel is available otherwise FALSE. + **/ +gboolean spice_session_has_channel_type(SpiceSession *session, gint type) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + struct channel *item; + RingItem *ring; + + g_return_val_if_fail(s != NULL, FALSE); + + for (ring = ring_get_head(&s->channels); + ring != NULL; + ring = ring_next(&s->channels, ring)) { + item = SPICE_CONTAINEROF(ring, struct channel, link); + if (spice_channel_get_channel_type(item->channel) == type) { + return TRUE; + } + } + return FALSE; +} + +/* ------------------------------------------------------------------ */ +/* private functions */ + +typedef struct spice_open_host spice_open_host; + +struct spice_open_host { + struct coroutine *from; + SpiceSession *session; + SpiceChannel *channel; + SpiceProxy *proxy; + int port; + GCancellable *cancellable; + GError *error; + GSocketConnection *connection; + GSocketClient *client; +}; + +static void socket_client_connect_ready(GObject *source_object, GAsyncResult *result, + gpointer data) +{ + GSocketClient *client = G_SOCKET_CLIENT(source_object); + spice_open_host *open_host = data; + GSocketConnection *connection = NULL; + + SPICE_DEBUG("connect ready"); + connection = g_socket_client_connect_finish(client, result, &open_host->error); + if (connection == NULL) + goto end; + + open_host->connection = connection; + +end: + coroutine_yieldto(open_host->from, NULL); +} + +/* main context */ +static void open_host_connectable_connect(spice_open_host *open_host, GSocketConnectable *connectable) +{ + SPICE_DEBUG("connecting %p...", open_host); + + g_socket_client_connect_async(open_host->client, connectable, + open_host->cancellable, + socket_client_connect_ready, open_host); +} + +#if GLIB_CHECK_VERSION(2,26,0) +/* main context */ +static void proxy_lookup_ready(GObject *source_object, GAsyncResult *result, + gpointer data) +{ + spice_open_host *open_host = data; + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(open_host->session); + GList *addresses = NULL, *it; + GSocketAddress *address; + + SPICE_DEBUG("proxy lookup ready"); + addresses = g_resolver_lookup_by_name_finish(G_RESOLVER(source_object), + result, &open_host->error); + if (addresses == NULL || open_host->error) { + coroutine_yieldto(open_host->from, NULL); + return; + } + + for (it = addresses; it != NULL; it = it->next) { + address = g_proxy_address_new(G_INET_ADDRESS(it->data), + spice_proxy_get_port(open_host->proxy), "http", + s->host, open_host->port, NULL, NULL); + if (address != NULL) + break; + } + + open_host_connectable_connect(open_host, G_SOCKET_CONNECTABLE(address)); + g_resolver_free_addresses(addresses); +} +#endif + +/* main context */ +static gboolean open_host_idle_cb(gpointer data) +{ + spice_open_host *open_host = data; + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(open_host->session); + + g_return_val_if_fail(open_host != NULL, FALSE); + g_return_val_if_fail(open_host->connection == NULL, FALSE); + +#if GLIB_CHECK_VERSION(2,26,0) + open_host->proxy = s->proxy; + if (open_host->error != NULL) { + coroutine_yieldto(open_host->from, NULL); + return FALSE; + } + + if (open_host->proxy) + g_resolver_lookup_by_name_async(g_resolver_get_default(), + spice_proxy_get_hostname(open_host->proxy), + open_host->cancellable, + proxy_lookup_ready, open_host); + else +#endif + open_host_connectable_connect(open_host, + g_network_address_new(s->host, open_host->port)); + + SPICE_DEBUG("open host %s:%d", s->host, open_host->port); + if (open_host->proxy != NULL) { + gchar *str = spice_proxy_to_string(open_host->proxy); + SPICE_DEBUG("(with proxy %s)", str); + g_free(str); + } + + return FALSE; +} + +/* coroutine context */ +G_GNUC_INTERNAL +GSocketConnection* spice_session_channel_open_host(SpiceSession *session, SpiceChannel *channel, + gboolean use_tls) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + spice_open_host open_host = { 0, }; + gchar *port, *endptr; + +#ifdef CONFIG_MARU + strcpy(HOST_IP, s->host); +#endif + // FIXME: make open_host() cancellable + open_host.from = coroutine_self(); + open_host.session = session; + open_host.channel = channel; + port = use_tls ? s->tls_port : s->port; + if (port == NULL) + return NULL; + + open_host.port = strtol(port, &endptr, 10); + if (*port == '\0' || *endptr != '\0' || + open_host.port <= 0 || open_host.port > G_MAXUINT16) { + g_warning("Invalid port value %s", port); + return NULL; + } + + open_host.client = g_socket_client_new(); + + guint id = g_idle_add(open_host_idle_cb, &open_host); + /* switch to main loop and wait for connection */ + coroutine_yield(NULL); + g_source_remove (id); + + if (open_host.error != NULL) { + g_warning("%s", open_host.error->message); + g_clear_error(&open_host.error); + } else if (open_host.connection != NULL) { + GSocket *socket; + socket = g_socket_connection_get_socket(open_host.connection); + g_socket_set_blocking(socket, FALSE); + g_socket_set_keepalive(socket, TRUE); + } + + g_clear_object(&open_host.client); + return open_host.connection; +} + + +G_GNUC_INTERNAL +void spice_session_channel_new(SpiceSession *session, SpiceChannel *channel) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + struct channel *item; + + g_return_if_fail(s != NULL); + g_return_if_fail(channel != NULL); + + item = spice_new0(struct channel, 1); + item->channel = channel; + ring_add(&s->channels, &item->link); + + if (SPICE_IS_MAIN_CHANNEL(channel)) { + gboolean all = spice_strv_contains(s->disable_effects, "all"); + + g_object_set(channel, + "disable-wallpaper", all || spice_strv_contains(s->disable_effects, "wallpaper"), + "disable-font-smooth", all || spice_strv_contains(s->disable_effects, "font-smooth"), + "disable-animation", all || spice_strv_contains(s->disable_effects, "animation"), + NULL); + if (s->color_depth != 0) + g_object_set(channel, "color-depth", s->color_depth, NULL); + + CHANNEL_DEBUG(channel, "new main channel, switching"); + s->cmain = channel; + } + + g_signal_emit(session, signals[SPICE_SESSION_CHANNEL_NEW], 0, channel); +} + +G_GNUC_INTERNAL +void spice_session_channel_destroy(SpiceSession *session, SpiceChannel *channel) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + struct channel *item = NULL; + RingItem *ring; + + g_return_if_fail(s != NULL); + g_return_if_fail(channel != NULL); + + if (s->migration_left) + s->migration_left = g_list_remove(s->migration_left, channel); + + for (ring = ring_get_head(&s->channels); ring != NULL; + ring = ring_next(&s->channels, ring)) { + item = SPICE_CONTAINEROF(ring, struct channel, link); + if (item->channel == channel) + break; + } + + g_return_if_fail(ring != NULL); + + if (channel == s->cmain) { + CHANNEL_DEBUG(channel, "the session lost the main channel"); + s->cmain = NULL; + } + + ring_remove(&item->link); + free(item); + + g_signal_emit(session, signals[SPICE_SESSION_CHANNEL_DESTROY], 0, channel); +} + +G_GNUC_INTERNAL +void spice_session_set_connection_id(SpiceSession *session, int id) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + + g_return_if_fail(s != NULL); + + s->connection_id = id; +} + +G_GNUC_INTERNAL +int spice_session_get_connection_id(SpiceSession *session) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + + g_return_val_if_fail(s != NULL, -1); + + return s->connection_id; +} + +#if !GLIB_CHECK_VERSION(2,27,2) +static guint64 g_get_monotonic_time(void) +{ + GTimeVal tv; + + /* TODO: support real monotonic clock? */ + g_get_current_time(&tv); + + return (((gint64) tv.tv_sec) * 1000000) + tv.tv_usec; +} +#endif + +G_GNUC_INTERNAL +guint32 spice_session_get_mm_time(SpiceSession *session) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + + g_return_val_if_fail(s != NULL, 0); + + /* FIXME: we may want to estimate the drift of clocks, and well, + do something better than this trivial approach */ + return s->mm_time + (g_get_monotonic_time() - s->mm_time_at_clock) / 1000; +} + +G_GNUC_INTERNAL +void spice_session_set_mm_time(SpiceSession *session, guint32 time) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + + g_return_if_fail(s != NULL); + + s->mm_time = time; + s->mm_time_at_clock = g_get_monotonic_time(); + SPICE_DEBUG("set mm time: %u", spice_session_get_mm_time(session)); +} + +G_GNUC_INTERNAL +void spice_session_set_port(SpiceSession *session, int port, gboolean tls) +{ + const char *prop = tls ? "tls-port" : "port"; + char *tmp; + + g_return_if_fail(session != NULL); + + /* old spicec client doesn't accept port == 0, see Migrate::start */ + tmp = port > 0 ? g_strdup_printf("%d", port) : NULL; + g_object_set(session, prop, tmp, NULL); + g_free(tmp); +} + +G_GNUC_INTERNAL +void spice_session_get_pubkey(SpiceSession *session, guint8 **pubkey, guint *size) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + + g_return_if_fail(s != NULL); + g_return_if_fail(pubkey != NULL); + g_return_if_fail(size != NULL); + + *pubkey = s->pubkey ? s->pubkey->data : NULL; + *size = s->pubkey ? s->pubkey->len : 0; +} + +G_GNUC_INTERNAL +void spice_session_get_ca(SpiceSession *session, guint8 **ca, guint *size) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + + g_return_if_fail(s != NULL); + g_return_if_fail(ca != NULL); + g_return_if_fail(size != NULL); + + *ca = s->ca ? s->ca->data : NULL; + *size = s->ca ? s->ca->len : 0; +} + +G_GNUC_INTERNAL +guint spice_session_get_verify(SpiceSession *session) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + + g_return_val_if_fail(s != NULL, 0); + return s->verify; +} + +G_GNUC_INTERNAL +void spice_session_set_migration_state(SpiceSession *session, SpiceSessionMigration state) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + + g_return_if_fail(s != NULL); + s->migration_state = state; + g_object_notify(G_OBJECT(session), "migration-state"); +} + +G_GNUC_INTERNAL +const gchar* spice_session_get_password(SpiceSession *session) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + + g_return_val_if_fail(s != NULL, NULL); + return s->password; +} + +G_GNUC_INTERNAL +const gchar* spice_session_get_host(SpiceSession *session) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + + g_return_val_if_fail(s != NULL, NULL); + return s->host; +} + +G_GNUC_INTERNAL +const gchar* spice_session_get_cert_subject(SpiceSession *session) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + + g_return_val_if_fail(s != NULL, NULL); + return s->cert_subject; +} + +G_GNUC_INTERNAL +const gchar* spice_session_get_ciphers(SpiceSession *session) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + + g_return_val_if_fail(s != NULL, NULL); + return s->ciphers; +} + +G_GNUC_INTERNAL +const gchar* spice_session_get_ca_file(SpiceSession *session) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + + g_return_val_if_fail(s != NULL, NULL); + return s->ca_file; +} + +G_GNUC_INTERNAL +void spice_session_get_caches(SpiceSession *session, + display_cache **images, + display_cache **palettes, + SpiceGlzDecoderWindow **glz_window) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + + g_return_if_fail(s != NULL); + + if (images) + *images = &s->images; + if (palettes) + *palettes = &s->palettes; + if (glz_window) + *glz_window = s->glz_window; +} + +G_GNUC_INTERNAL +void spice_session_set_caches_hints(SpiceSession *session, + uint32_t pci_ram_size, + uint32_t display_channels_count) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + + g_return_if_fail(s != NULL); + + s->pci_ram_size = pci_ram_size; + s->display_channels_count = display_channels_count; + + /* TODO: when setting cache and window size, we should consider the client's + * available memory and the number of display channels */ + if (s->images_cache_size == 0) { + s->images_cache_size = IMAGES_CACHE_SIZE_DEFAULT; + } + + if (s->glz_window_size == 0) { + s->glz_window_size = MIN(MAX_GLZ_WINDOW_SIZE_DEFAULT, pci_ram_size / 2); + s->glz_window_size = MAX(MIN_GLZ_WINDOW_SIZE_DEFAULT, s->glz_window_size); + } +} + +G_GNUC_INTERNAL +void spice_session_set_uuid(SpiceSession *session, guint8 uuid[16]) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + + g_return_if_fail(s != NULL); + memcpy(s->uuid, uuid, sizeof(s->uuid)); + + g_object_notify(G_OBJECT(session), "uuid"); +} + +G_GNUC_INTERNAL +void spice_session_set_name(SpiceSession *session, const gchar *name) +{ + SpiceSessionPrivate *s = SPICE_SESSION_GET_PRIVATE(session); + + g_return_if_fail(s != NULL); + g_free(s->name); + s->name = g_strdup(name); + + g_object_notify(G_OBJECT(session), "name"); +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-session.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-session.h new file mode 100644 index 0000000..b07f525 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-session.h @@ -0,0 +1,98 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_CLIENT_SESSION_H__ +#define __SPICE_CLIENT_SESSION_H__ + +#include +#include "spice-types.h" +#include "spice-glib-enums.h" +#include "spice-util.h" + +G_BEGIN_DECLS + +#define SPICE_TYPE_SESSION (spice_session_get_type ()) +#define SPICE_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPICE_TYPE_SESSION, SpiceSession)) +#define SPICE_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SPICE_TYPE_SESSION, SpiceSessionClass)) +#define SPICE_IS_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPICE_TYPE_SESSION)) +#define SPICE_IS_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPICE_TYPE_SESSION)) +#define SPICE_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPICE_TYPE_SESSION, SpiceSessionClass)) + +/** + * SpiceSessionVerify: + * @SPICE_SESSION_VERIFY_PUBKEY: verify certificate public key matching + * @SPICE_SESSION_VERIFY_HOSTNAME: verify certificate hostname matching + * @SPICE_SESSION_VERIFY_SUBJECT: verify certificate subject matching + * + * Peer certificate verification parameters flags. + **/ +typedef enum { + SPICE_SESSION_VERIFY_PUBKEY = (1 << 0), + SPICE_SESSION_VERIFY_HOSTNAME = (1 << 1), + SPICE_SESSION_VERIFY_SUBJECT = (1 << 2), +} SpiceSessionVerify; + +/** + * SpiceSessionMigration: + * @SPICE_SESSION_MIGRATION_NONE: no migration going on + * @SPICE_SESSION_MIGRATION_SWITCHING: the session is switching host (destroy and reconnect) + * @SPICE_SESSION_MIGRATION_MIGRATING: the session is migrating seamlessly (reconnect) + * + * Session migration state. + **/ +typedef enum { + SPICE_SESSION_MIGRATION_NONE, + SPICE_SESSION_MIGRATION_SWITCHING, + SPICE_SESSION_MIGRATION_MIGRATING, +} SpiceSessionMigration; + +struct _SpiceSession +{ + GObject parent; + SpiceSessionPrivate *priv; + /* Do not add fields to this struct */ +}; + +struct _SpiceSessionClass +{ + GObjectClass parent_class; + + /* signals */ + void (*channel_new)(SpiceSession *session, SpiceChannel *channel); + void (*channel_destroy)(SpiceSession *session, SpiceChannel *channel); + + /*< private >*/ + /* + * If adding fields to this struct, remove corresponding + * amount of padding to avoid changing overall struct size + */ + gchar _spice_reserved[SPICE_RESERVED_PADDING]; +}; + +GType spice_session_get_type(void); + +SpiceSession *spice_session_new(void); +gboolean spice_session_connect(SpiceSession *session); +gboolean spice_session_open_fd(SpiceSession *session, int fd); +void spice_session_disconnect(SpiceSession *session); +GList *spice_session_get_channels(SpiceSession *session); +gboolean spice_session_has_channel_type(SpiceSession *session, gint type); +gboolean spice_session_get_read_only(SpiceSession *session); + +G_END_DECLS + +#endif /* __SPICE_CLIENT_SESSION_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-types.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-types.h new file mode 100644 index 0000000..f149094 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-types.h @@ -0,0 +1,35 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_CLIENT_TYPES_H__ +#define __SPICE_CLIENT_TYPES_H__ + +G_BEGIN_DECLS + +/* SpiceSession */ +typedef struct _SpiceSession SpiceSession; +typedef struct _SpiceSessionClass SpiceSessionClass; +typedef struct _SpiceSessionPrivate SpiceSessionPrivate; + +/* SpiceChannel */ +typedef struct _SpiceChannel SpiceChannel; +typedef struct _SpiceChannelClass SpiceChannelClass; +typedef struct _SpiceChannelPrivate SpiceChannelPrivate; + +G_END_DECLS + +#endif /* __SPICE_CLIENT_TYPES_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-util-priv.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-util-priv.h new file mode 100644 index 0000000..ee5a42d --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-util-priv.h @@ -0,0 +1,49 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef SPICE_UTIL_PRIV_H +#define SPICE_UTIL_PRIV_H + +#include +#include "spice-util.h" + +G_BEGIN_DECLS + +#define UUID_FMT "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x" + +gboolean spice_strv_contains(const GStrv strv, const gchar *str); +gchar* spice_uuid_to_string(const guint8 uuid[16]); +const gchar* spice_yes_no(gboolean value); +guint16 spice_make_scancode(guint scancode, gboolean release); + +#if GLIB_CHECK_VERSION(2,32,0) +#define STATIC_MUTEX GMutex +#define STATIC_MUTEX_INIT(m) g_mutex_init(&(m)) +#define STATIC_MUTEX_CLEAR(m) g_mutex_clear(&(m)) +#define STATIC_MUTEX_LOCK(m) g_mutex_lock(&(m)) +#define STATIC_MUTEX_UNLOCK(m) g_mutex_unlock(&(m)) +#else +#define STATIC_MUTEX GStaticMutex +#define STATIC_MUTEX_INIT(m) g_static_mutex_init(&(m)) +#define STATIC_MUTEX_CLEAR(m) g_static_mutex_free(&(m)) +#define STATIC_MUTEX_LOCK(m) g_static_mutex_lock(&(m)) +#define STATIC_MUTEX_UNLOCK(m) g_static_mutex_unlock(&(m)) +#endif + +G_END_DECLS + +#endif /* SPICE_UTIL_PRIV_H */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-util.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-util.c new file mode 100644 index 0000000..774a145 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-util.c @@ -0,0 +1,247 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + Copyright © 2006-2010 Collabora Ltd. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif +#include +#include +#include +#include "spice-util-priv.h" +#include "spice-util.h" +#include "spice-util-priv.h" + +/** + * SECTION:spice-util + * @short_description: version and debugging functions + * @title: Utilities + * @section_id: + * @stability: Stable + * @include: spice-util.h + * + * Various functions for debugging and informational purposes. + */ + +static gboolean debugFlag = FALSE; + +/** + * spice_util_set_debug: + * @enabled: %TRUE or %FALSE + * + * Enable or disable Spice-GTK debugging messages. + **/ +void spice_util_set_debug(gboolean enabled) +{ +#if GLIB_CHECK_VERSION(2, 31, 0) + if (enabled) { + const gchar *doms = g_getenv("G_MESSAGES_DEBUG"); + if (!doms) { + g_setenv("G_MESSAGES_DEBUG", G_LOG_DOMAIN, 1); + } else if (!strstr(doms, G_LOG_DOMAIN)) { + gchar *newdoms = g_strdup_printf("%s %s", doms, G_LOG_DOMAIN); + g_setenv("G_MESSAGES_DEBUG", newdoms, 1); + g_free(newdoms); + } + } +#endif + debugFlag = enabled; +} + +gboolean spice_util_get_debug(void) +{ + return debugFlag || g_getenv("SPICE_DEBUG") != NULL; +} + +/** + * spice_util_get_version_string: + * + * Returns: Spice-GTK version as a const string. + **/ +const gchar *spice_util_get_version_string(void) +{ + return VERSION; +} + +G_GNUC_INTERNAL +gboolean spice_strv_contains(const GStrv strv, const gchar *str) +{ + int i; + + if (strv == NULL) + return FALSE; + + for (i = 0; strv[i] != NULL; i++) + if (g_str_equal(strv[i], str)) + return TRUE; + + return FALSE; +} + +G_GNUC_INTERNAL +gchar* spice_uuid_to_string(const guint8 uuid[16]) +{ + return g_strdup_printf(UUID_FMT, uuid[0], uuid[1], + uuid[2], uuid[3], uuid[4], uuid[5], + uuid[6], uuid[7], uuid[8], uuid[9], + uuid[10], uuid[11], uuid[12], uuid[13], + uuid[14], uuid[15]); +} + +typedef struct { + GObject *instance; + GObject *observer; + GClosure *closure; + gulong handler_id; +} WeakHandlerCtx; + +static WeakHandlerCtx * +whc_new (GObject *instance, + GObject *observer) +{ + WeakHandlerCtx *ctx = g_slice_new0 (WeakHandlerCtx); + + ctx->instance = instance; + ctx->observer = observer; + + return ctx; +} + +static void +whc_free (WeakHandlerCtx *ctx) +{ + g_slice_free (WeakHandlerCtx, ctx); +} + +static void observer_destroyed_cb (gpointer, GObject *); +static void closure_invalidated_cb (gpointer, GClosure *); + +/* + * If signal handlers are removed before the object is destroyed, this + * callback will never get triggered. + */ +static void +instance_destroyed_cb (gpointer ctx_, + GObject *where_the_instance_was) +{ + WeakHandlerCtx *ctx = ctx_; + + /* No need to disconnect the signal here, the instance has gone away. */ + g_object_weak_unref (ctx->observer, observer_destroyed_cb, ctx); + g_closure_remove_invalidate_notifier (ctx->closure, ctx, + closure_invalidated_cb); + whc_free (ctx); +} + +/* Triggered when the observer is destroyed. */ +static void +observer_destroyed_cb (gpointer ctx_, + GObject *where_the_observer_was) +{ + WeakHandlerCtx *ctx = ctx_; + + g_closure_remove_invalidate_notifier (ctx->closure, ctx, + closure_invalidated_cb); + g_signal_handler_disconnect (ctx->instance, ctx->handler_id); + g_object_weak_unref (ctx->instance, instance_destroyed_cb, ctx); + whc_free (ctx); +} + +/* Triggered when either object is destroyed or the handler is disconnected. */ +static void +closure_invalidated_cb (gpointer ctx_, + GClosure *where_the_closure_was) +{ + WeakHandlerCtx *ctx = ctx_; + + g_object_weak_unref (ctx->instance, instance_destroyed_cb, ctx); + g_object_weak_unref (ctx->observer, observer_destroyed_cb, ctx); + whc_free (ctx); +} + +/* Copied from tp_g_signal_connect_object. See documentation. */ +/** + * spice_g_signal_connect_object: (skip) + * @instance: the instance to connect to. + * @detailed_signal: a string of the form "signal-name::detail". + * @c_handler: the #GCallback to connect. + * @gobject: the object to pass as data to @c_handler. + * @connect_flags: a combination of #GConnectFlags. + * + * Similar to g_signal_connect_object() but will delete connection + * when any of the objects is destroyed. + * + * Returns: the handler id. + */ +gulong spice_g_signal_connect_object (gpointer instance, + const gchar *detailed_signal, + GCallback c_handler, + gpointer gobject, + GConnectFlags connect_flags) +{ + GObject *instance_obj = G_OBJECT (instance); + WeakHandlerCtx *ctx = whc_new (instance_obj, gobject); + + g_return_val_if_fail (G_TYPE_CHECK_INSTANCE (instance), 0); + g_return_val_if_fail (detailed_signal != NULL, 0); + g_return_val_if_fail (c_handler != NULL, 0); + g_return_val_if_fail (G_IS_OBJECT (gobject), 0); + g_return_val_if_fail ( + (connect_flags & ~(G_CONNECT_AFTER|G_CONNECT_SWAPPED)) == 0, 0); + + if (connect_flags & G_CONNECT_SWAPPED) + ctx->closure = g_cclosure_new_object_swap (c_handler, gobject); + else + ctx->closure = g_cclosure_new_object (c_handler, gobject); + + ctx->handler_id = g_signal_connect_closure (instance, detailed_signal, + ctx->closure, (connect_flags & G_CONNECT_AFTER) ? TRUE : FALSE); + + g_object_weak_ref (instance_obj, instance_destroyed_cb, ctx); + g_object_weak_ref (gobject, observer_destroyed_cb, ctx); + g_closure_add_invalidate_notifier (ctx->closure, ctx, + closure_invalidated_cb); + + return ctx->handler_id; +} + +G_GNUC_INTERNAL +const gchar* spice_yes_no(gboolean value) +{ + return value ? "yes" : "no"; +} + +G_GNUC_INTERNAL +guint16 spice_make_scancode(guint scancode, gboolean release) +{ + SPICE_DEBUG("%s: %s scancode %d", + __FUNCTION__, release ? "release" : "", scancode); + + if (release) { + if (scancode < 0x100) + return scancode | 0x80; + else + return 0x80e0 | ((scancode - 0x100) << 8); + } else { + if (scancode < 0x100) + return scancode; + else + return 0xe0 | ((scancode - 0x100) << 8); + } + + g_return_val_if_reached(0); +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-util.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-util.h new file mode 100644 index 0000000..6996e55 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-util.h @@ -0,0 +1,62 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef SPICE_UTIL_H +#define SPICE_UTIL_H + +#include + +G_BEGIN_DECLS + +void spice_util_set_debug(gboolean enabled); +gboolean spice_util_get_debug(void); +const gchar *spice_util_get_version_string(void); +gulong spice_g_signal_connect_object(gpointer instance, + const gchar *detailed_signal, + GCallback c_handler, + gpointer gobject, + GConnectFlags connect_flags); + +#define SPICE_DEBUG(fmt, ...) \ + do { \ + if (G_UNLIKELY(spice_util_get_debug())) \ + g_debug(G_STRLOC " " fmt, ## __VA_ARGS__); \ + } while (0) + +#define SPICE_RESERVED_PADDING (10 * sizeof(void*)) + +/* need to be in a public header, glib-compat.h is private */ +#ifndef SPICE_GNUC_DEPRECATED_FOR +#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5) +#define SPICE_GNUC_DEPRECATED_FOR(f) \ + __attribute__((deprecated("Use " #f " instead"))) +#else +#define SPICE_GNUC_DEPRECATED_FOR(f) G_GNUC_DEPRECATED +#endif /* __GNUC__ */ +#endif + +#ifndef SPICE_NO_DEPRECATED +#define SPICE_DEPRECATED_FOR(f) SPICE_GNUC_DEPRECATED_FOR(f) +#define SPICE_DEPRECATED G_GNUC_DEPRECATED +#else +#define SPICE_DEPRECATED_FOR(f) +#define SPICE_DEPRECATED +#endif + +G_END_DECLS + +#endif /* SPICE_UTIL_H */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-widget-cairo.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-widget-cairo.c new file mode 100644 index 0000000..60fa72a --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-widget-cairo.c @@ -0,0 +1,215 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ + +#ifdef CONFIG_MARU +#include +#endif +#include "spice-widget.h" +#include "spice-widget-priv.h" + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +/* Some compatibility defines to let us build on both Gtk2 and Gtk3 */ +#if GTK_CHECK_VERSION (2, 91, 0) + +static inline void gdk_drawable_get_size(GdkWindow *w, gint *ww, gint *wh) +{ + *ww = gdk_window_get_width(w); + *wh = gdk_window_get_height(w); +} +#endif + +G_GNUC_INTERNAL +int spicex_image_create(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + if (d->ximage != NULL) + return 0; + + if (d->format == SPICE_SURFACE_FMT_16_555 || + d->format == SPICE_SURFACE_FMT_16_565) { + d->convert = TRUE; + d->data = g_malloc0(d->area.width * d->area.height * 4); + + d->ximage = cairo_image_surface_create_for_data + (d->data, CAIRO_FORMAT_RGB24, d->area.width, d->area.height, d->area.width * 4); + + } else { + d->convert = FALSE; + + d->ximage = cairo_image_surface_create_for_data + (d->data, CAIRO_FORMAT_RGB24, d->width, d->height, d->stride); + } + + return 0; +} + +G_GNUC_INTERNAL +void spicex_image_destroy(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + if (d->ximage) { + cairo_surface_destroy(d->ximage); + d->ximage = NULL; + } + if (d->convert && d->data) { + g_free(d->data); + d->data = NULL; + } + d->convert = FALSE; +} + +#if !GTK_CHECK_VERSION (3, 0, 0) +#define cairo_rectangle_int_t GdkRectangle +#define cairo_region_t GdkRegion +#define cairo_region_create_rectangle gdk_region_rectangle +#define cairo_region_subtract_rectangle(_dest,_rect) { GdkRegion *_region = gdk_region_rectangle (_rect); gdk_region_subtract (_dest, _region); gdk_region_destroy (_region); } +#define cairo_region_destroy gdk_region_destroy +#endif + +#ifdef CONFIG_MARU +void rotate_display(cairo_t *cr, int type, int w, int h) { + int degree = type * 90; + + cairo_translate(cr, w/2, h/2); + cairo_rotate(cr, -(double)degree * ((double)M_PI/(double)180.0)); + + if (type == ROTATION_180) { + cairo_translate(cr, -w/2, -h/2); + } + else { + cairo_translate(cr, -h/2, -w/2); + } +} +#endif + +G_GNUC_INTERNAL +void spicex_draw_event(SpiceDisplay *display, cairo_t *cr) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + cairo_rectangle_int_t rect; + cairo_region_t *region; + double s; + int x, y; + int ww, wh; + int w, h; + + spice_display_get_scaling(display, &s, &x, &y, &w, &h); + + gdk_drawable_get_size(gtk_widget_get_window(GTK_WIDGET(display)), &ww, &wh); + + /* We need to paint the bg color around the image */ + rect.x = 0; + rect.y = 0; + rect.width = ww; + rect.height = wh; + region = cairo_region_create_rectangle(&rect); + + /* Optionally cut out the inner area where the pixmap + will be drawn. This avoids 'flashing' since we're + not double-buffering. */ + if (d->ximage) { + rect.x = x; + rect.y = y; + rect.width = w; + rect.height = h; + cairo_region_subtract_rectangle(region, &rect); + } + + gdk_cairo_region (cr, region); + cairo_region_destroy (region); + + /* Need to set a real solid color, because the default is usually + transparent these days, and non-double buffered windows can't + render transparently */ + cairo_set_source_rgb (cr, 0, 0, 0); + cairo_fill(cr); + + /* Draw the display */ + if (d->ximage) { + cairo_translate(cr, x, y); + cairo_rectangle(cr, 0, 0, w, h); // image read start point +#ifdef CONFIG_MARU + switch(d->rotation_type) { + case 0: + break; + case 1: + rotate_display(cr, ROTATION_90, w, h); + break; + case 2: + rotate_display(cr, ROTATION_180, w, h); + break; + case 3: + rotate_display(cr, ROTATION_270, w, h); + break; + default: + break; + } +#endif + cairo_scale(cr, s, s); + + if (!d->convert) + cairo_translate(cr, -d->area.x, -d->area.y); + + cairo_set_source_surface(cr, d->ximage, 0, 0); + cairo_fill(cr); + + if (d->mouse_mode == SPICE_MOUSE_MODE_SERVER && + d->mouse_guest_x != -1 && d->mouse_guest_y != -1 && + !d->show_cursor) { + GdkPixbuf *image = d->mouse_pixbuf; + if (image != NULL) { + gdk_cairo_set_source_pixbuf(cr, image, + d->mouse_guest_x - d->mouse_hotspot.x, + d->mouse_guest_y - d->mouse_hotspot.y); + cairo_paint(cr); + } + } + } +} + +#if ! GTK_CHECK_VERSION (2, 91, 0) +G_GNUC_INTERNAL +void spicex_expose_event(SpiceDisplay *display, GdkEventExpose *expose) +{ + cairo_t *cr; + + cr = gdk_cairo_create(gtk_widget_get_window(GTK_WIDGET(display))); + cairo_rectangle(cr, + expose->area.x, + expose->area.y, + expose->area.width, + expose->area.height); + cairo_clip(cr); + + spicex_draw_event(display, cr); + + cairo_destroy(cr); +} +#endif + +G_GNUC_INTERNAL +gboolean spicex_is_scaled(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + return d->allow_scaling; +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-widget-priv.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-widget-priv.h new file mode 100644 index 0000000..8063245 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-widget-priv.h @@ -0,0 +1,144 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_WIDGET_PRIV_H__ +#define __SPICE_WIDGET_PRIV_H__ + +G_BEGIN_DECLS + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#ifdef WITH_X11 +#include +#include +#include +#endif + +#ifdef WIN32 +#include +#endif + +#include "spice-widget.h" +#include "spice-common.h" +#include "spice-gtk-session.h" + +#define SPICE_DISPLAY_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE((obj), SPICE_TYPE_DISPLAY, SpiceDisplayPrivate)) + +struct _SpiceDisplayPrivate { + gint channel_id; + gint monitor_id; + + /* options */ + bool keyboard_grab_enable; + gboolean keyboard_grab_inhibit; + bool mouse_grab_enable; + bool resize_guest_enable; + + /* state */ + gboolean ready; + gboolean monitor_ready; + enum SpiceSurfaceFmt format; + gint width, height, stride; + gint shmid; + gpointer data_origin; /* the original display image data */ + gpointer data; /* converted if necessary to 32 bits */ + + GdkRectangle area; +#ifdef CONFIG_MARU + int rotation_type; +#endif + /* window border */ + gint ww, wh, mx, my; + + bool convert; + bool have_mitshm; + gboolean allow_scaling; + gboolean only_downscale; + gboolean disable_inputs; + + /* TODO: make a display object instead? */ +#ifdef WITH_X11 + Display *dpy; + XVisualInfo *vi; + XImage *ximage; + XShmSegmentInfo *shminfo; + GC gc; +#else + cairo_surface_t *ximage; +#endif + + SpiceSession *session; + SpiceGtkSession *gtk_session; + SpiceMainChannel *main; + SpiceChannel *display; + SpiceCursorChannel *cursor; + SpiceInputsChannel *inputs; + SpiceSmartcardChannel *smartcard; + + enum SpiceMouseMode mouse_mode; + int mouse_grab_active; + bool mouse_have_pointer; + GdkCursor *mouse_cursor; + GdkPixbuf *mouse_pixbuf; + GdkPoint mouse_hotspot; + GdkCursor *show_cursor; + int mouse_last_x; + int mouse_last_y; + int mouse_guest_x; + int mouse_guest_y; + + bool keyboard_grab_active; + bool keyboard_have_focus; + + const guint16 const *keycode_map; + size_t keycode_maplen; + uint32_t key_state[512 / 32]; + int key_delayed_scancode; + guint key_delayed_id; + SpiceGrabSequence *grabseq; /* the configured key sequence */ + gboolean *activeseq; /* the currently pressed keys */ + gint mark; +#ifdef WIN32 + HHOOK keyboard_hook; + int win_mouse[3]; + int win_mouse_speed; +#endif + guint keypress_delay; + gint zoom_level; +#ifdef GDK_WINDOWING_X11 + int x11_accel_numerator; + int x11_accel_denominator; + int x11_threshold; +#endif +}; + +int spicex_image_create (SpiceDisplay *display); +void spicex_image_destroy (SpiceDisplay *display); +#if GTK_CHECK_VERSION (2, 91, 0) +void spicex_draw_event (SpiceDisplay *display, cairo_t *cr); +#else +void spicex_expose_event (SpiceDisplay *display, GdkEventExpose *ev); +#endif +gboolean spicex_is_scaled (SpiceDisplay *display); +void spice_display_get_scaling (SpiceDisplay *display, double *s, int *x, int *y, int *w, int *h); + +G_END_DECLS + +#endif diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-widget-x11.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-widget-x11.c new file mode 100644 index 0000000..05b8d56 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-widget-x11.c @@ -0,0 +1,282 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#include "spice-widget.h" +#include "spice-widget-priv.h" + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#ifdef HAVE_SYS_SHM_H +#include +#endif + +#ifdef HAVE_SYS_IPC_H +#include +#endif + +static bool no_mitshm; + +static struct format_table { + enum SpiceSurfaceFmt spice; + XVisualInfo xvisual; +} format_table[] = { + { + .spice = SPICE_SURFACE_FMT_32_ARGB, /* FIXME: is that correct xvisual? */ + .xvisual = { + .depth = 24, + .red_mask = 0xff0000, + .green_mask = 0x00ff00, + .blue_mask = 0x0000ff, + }, + },{ + .spice = SPICE_SURFACE_FMT_32_xRGB, + .xvisual = { + .depth = 24, + .red_mask = 0xff0000, + .green_mask = 0x00ff00, + .blue_mask = 0x0000ff, + }, + },{ + .spice = SPICE_SURFACE_FMT_16_555, + .xvisual = { + .depth = 16, + .red_mask = 0x7c00, + .green_mask = 0x03e0, + .blue_mask = 0x001f, + }, + },{ + .spice = SPICE_SURFACE_FMT_16_565, + .xvisual = { + .depth = 16, + .red_mask = 0xf800, + .green_mask = 0x07e0, + .blue_mask = 0x001f, + }, + } +}; + +static XVisualInfo *get_visual_for_format(GtkWidget *widget, enum SpiceSurfaceFmt format) +{ + GdkDrawable *drawable = gtk_widget_get_window(widget); + GdkDisplay *display = gdk_drawable_get_display(drawable); + GdkScreen *screen = gdk_drawable_get_screen(drawable); + XVisualInfo template; + int found, i; + XVisualInfo *vi; + + for (i = 0; i < SPICE_N_ELEMENTS(format_table); i++) { + if (format == format_table[i].spice) + break; + } + if (i == SPICE_N_ELEMENTS(format_table)) { + g_warn_if_reached(); + return NULL; + } + + template = format_table[i].xvisual; + template.screen = gdk_x11_screen_get_screen_number(screen); + vi = XGetVisualInfo(gdk_x11_display_get_xdisplay(display), + VisualScreenMask | VisualDepthMask | + VisualRedMaskMask | VisualGreenMaskMask | VisualBlueMaskMask, + &template, &found); + return vi; +} + +static XVisualInfo *get_visual_default(GtkWidget *widget) +{ + GdkDrawable *drawable = gtk_widget_get_window(widget); + GdkDisplay *display = gdk_drawable_get_display(drawable); + GdkScreen *screen = gdk_drawable_get_screen(drawable); + XVisualInfo template; + int found; + + template.screen = gdk_x11_screen_get_screen_number(screen); + return XGetVisualInfo(gdk_x11_display_get_xdisplay(display), + VisualScreenMask, + &template, &found); +} + +static int catch_no_mitshm(Display * dpy, XErrorEvent * event) +{ + no_mitshm = true; + return 0; +} + +G_GNUC_INTERNAL +int spicex_image_create(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + if (d->ximage != NULL) + return 0; + + GdkDrawable *window = gtk_widget_get_window(GTK_WIDGET(display)); + GdkDisplay *gtkdpy = gdk_drawable_get_display(window); + void *old_handler = NULL; + XGCValues gcval = { + .foreground = 0, + .background = 0, + }; + + d->dpy = gdk_x11_display_get_xdisplay(gtkdpy); + d->convert = false; + d->vi = get_visual_for_format(GTK_WIDGET(display), d->format); + if (d->vi == NULL) { + d->convert = true; + d->vi = get_visual_default(GTK_WIDGET(display)); + d->vi = get_visual_for_format(GTK_WIDGET(display), SPICE_SURFACE_FMT_32_xRGB); + g_return_val_if_fail(d->vi != NULL, 1); + } + if (d->convert) { + d->data = g_malloc0(d->height * d->stride); /* pixels are 32 bits */ + } + + d->gc = XCreateGC(d->dpy, gdk_x11_drawable_get_xid(window), + GCForeground | GCBackground, &gcval); + + if (d->convert) /* do not use shm when doing color format conversion */ + goto xcreate; + + if (d->have_mitshm && d->shmid != -1) { + if (!XShmQueryExtension(d->dpy)) { + goto shm_fail; + } + no_mitshm = false; + old_handler = XSetErrorHandler(catch_no_mitshm); + d->shminfo = g_new0(XShmSegmentInfo, 1); + d->ximage = XShmCreateImage(d->dpy, d->vi->visual, d->vi->depth, + ZPixmap, d->data, d->shminfo, d->width, d->height); + if (d->ximage == NULL) + goto shm_fail; + d->shminfo->shmaddr = d->data; + d->shminfo->shmid = d->shmid; + d->shminfo->readOnly = false; + XShmAttach(d->dpy, d->shminfo); + XSync(d->dpy, False); + shmctl(d->shmid, IPC_RMID, 0); + if (no_mitshm) + goto shm_fail; + XSetErrorHandler(old_handler); + return 0; + } + + shm_fail: + d->have_mitshm = false; + g_free(d->shminfo); + d->shminfo = NULL; + if (old_handler) + XSetErrorHandler(old_handler); + xcreate: + d->ximage = XCreateImage(d->dpy, d->vi->visual, d->vi->depth, ZPixmap, 0, + d->data, d->width, d->height, 32, d->stride); + return 0; +} + +G_GNUC_INTERNAL +void spicex_image_destroy(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + if (d->ximage) { + /* avoid XDestroy to free shared memory, owned and freed by + channel-display itself */ + if (d->ximage->data == d->data_origin) + d->ximage->data = NULL; + XDestroyImage(d->ximage); + d->ximage = NULL; + if (d->convert) + d->data = 0; + } + if (d->shminfo) { + XShmDetach(d->dpy, d->shminfo); + free(d->shminfo); + d->shminfo = NULL; + } + if (d->gc) { + XFreeGC(d->dpy, d->gc); + d->gc = NULL; + } + if (d->convert && d->data) { + g_free(d->data); + d->data = NULL; + } +} + +G_GNUC_INTERNAL +void spicex_expose_event(SpiceDisplay *display, GdkEventExpose *expose) +{ + GdkDrawable *window = gtk_widget_get_window(GTK_WIDGET(display)); + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + int x, y, w, h; + + spice_display_get_scaling(display, NULL, &x, &y, &w, &h); + + if (expose->area.x >= x && + expose->area.y >= y && + expose->area.x + expose->area.width <= x + w && + expose->area.y + expose->area.height <= y + h) { + /* area is completely inside the guest screen -- blit it */ + if (d->have_mitshm && d->shminfo) { + XShmPutImage(d->dpy, gdk_x11_drawable_get_xid(window), + d->gc, d->ximage, + d->area.x + expose->area.x - x, d->area.y + expose->area.y - y, + expose->area.x, expose->area.y, + expose->area.width, expose->area.height, + true); + } else { + XPutImage(d->dpy, gdk_x11_drawable_get_xid(window), + d->gc, d->ximage, + d->area.x + expose->area.x - x, d->area.y + expose->area.y - y, + expose->area.x, expose->area.y, + expose->area.width, expose->area.height); + } + } else { + /* complete window update */ + if (d->ww > d->area.width || d->wh > d->area.height) { + int x1 = x; + int x2 = x + w; + int y1 = y; + int y2 = y + h; + XFillRectangle(d->dpy, gdk_x11_drawable_get_xid(window), + d->gc, 0, 0, x1, d->wh); + XFillRectangle(d->dpy, gdk_x11_drawable_get_xid(window), + d->gc, x2, 0, d->ww - x2, d->wh); + XFillRectangle(d->dpy, gdk_x11_drawable_get_xid(window), + d->gc, 0, 0, d->ww, y1); + XFillRectangle(d->dpy, gdk_x11_drawable_get_xid(window), + d->gc, 0, y2, d->ww, d->wh - y2); + } + if (d->have_mitshm && d->shminfo) { + XShmPutImage(d->dpy, gdk_x11_drawable_get_xid(window), + d->gc, d->ximage, + d->area.x, d->area.y, x, y, w, h, + true); + } else { + XPutImage(d->dpy, gdk_x11_drawable_get_xid(window), + d->gc, d->ximage, + d->area.x, d->area.y, x, y, w, h); + } + } +} + +G_GNUC_INTERNAL +gboolean spicex_is_scaled(SpiceDisplay *display) +{ + return FALSE; /* backend doesn't support scaling yet */ +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-widget.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-widget.c new file mode 100644 index 0000000..37d1372 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-widget.c @@ -0,0 +1,2977 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#include + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#if HAVE_X11_XKBLIB_H +#include +#include +#endif +#ifdef GDK_WINDOWING_X11 +#include +#include +#endif +#ifdef WIN32 +#include +#include +#ifndef MAPVK_VK_TO_VSC /* may be undefined in older mingw-headers */ +#define MAPVK_VK_TO_VSC 0 +#endif +#endif + +#include "spice-widget.h" +#include "spice-widget-priv.h" +#include "spice-gtk-session-priv.h" +#include "vncdisplaykeymap.h" + +#include "glib-compat.h" + +/* Some compatibility defines to let us build on both Gtk2 and Gtk3 */ +#if GTK_CHECK_VERSION (2, 91, 0) + +static inline void gdk_drawable_get_size(GdkWindow *w, gint *ww, gint *wh) +{ + *ww = gdk_window_get_width(w); + *wh = gdk_window_get_height(w); +} + +#define GtkObject GtkWidget +#define GtkObjectClass GtkWidgetClass +#define GTK_OBJECT_CLASS(c) GTK_WIDGET_CLASS(c) + +#endif + +#if !GTK_CHECK_VERSION(2, 20, 0) +static gboolean gtk_widget_get_realized(GtkWidget *widget) +{ + g_return_val_if_fail (GTK_IS_WIDGET (widget), FALSE); + return GTK_WIDGET_REALIZED(widget); +} +#endif + +/** + * SECTION:spice-widget + * @short_description: a GTK display widget + * @title: Spice Display + * @section_id: + * @stability: Stable + * @include: spice-widget.h + * + * A GTK widget that displays a SPICE server. It sends keyboard/mouse + * events and can also share clipboard... + * + * Arbitrary key events can be sent thanks to spice_display_send_keys(). + * + * The widget will optionally grab the keyboard and the mouse when + * focused if the properties #SpiceDisplay:grab-keyboard and + * #SpiceDisplay:grab-mouse are #TRUE respectively. It can be + * ungrabbed with spice_display_mouse_ungrab(), and by setting a key + * combination with spice_display_set_grab_keys(). + * + * Finally, spice_display_get_pixbuf() will take a screenshot of the + * current display and return an #GdkPixbuf (that you can then easily + * save to disk). + */ + +G_DEFINE_TYPE(SpiceDisplay, spice_display, GTK_TYPE_DRAWING_AREA) + +/* Properties */ +enum { + PROP_0, + PROP_SESSION, + PROP_CHANNEL_ID, + PROP_KEYBOARD_GRAB, + PROP_MOUSE_GRAB, + PROP_RESIZE_GUEST, + PROP_AUTO_CLIPBOARD, + PROP_SCALING, + PROP_ONLY_DOWNSCALE, + PROP_DISABLE_INPUTS, + PROP_ZOOM_LEVEL, + PROP_MONITOR_ID, + PROP_KEYPRESS_DELAY, + PROP_READY +}; + +/* Signals */ +enum { + SPICE_DISPLAY_MOUSE_GRAB, + SPICE_DISPLAY_KEYBOARD_GRAB, + SPICE_DISPLAY_GRAB_KEY_PRESSED, + SPICE_DISPLAY_LAST_SIGNAL, +}; + +static guint signals[SPICE_DISPLAY_LAST_SIGNAL]; + +#ifdef WIN32 +static HWND win32_window = NULL; +#endif + +static void update_keyboard_grab(SpiceDisplay *display); +static void try_keyboard_grab(SpiceDisplay *display); +static void try_keyboard_ungrab(SpiceDisplay *display); +static void update_mouse_grab(SpiceDisplay *display); +static void try_mouse_grab(SpiceDisplay *display); +static void try_mouse_ungrab(SpiceDisplay *display); +static void recalc_geometry(GtkWidget *widget); +static void channel_new(SpiceSession *s, SpiceChannel *channel, gpointer data); +static void channel_destroy(SpiceSession *s, SpiceChannel *channel, gpointer data); +static void sync_keyboard_lock_modifiers(SpiceDisplay *display); +static void cursor_invalidate(SpiceDisplay *display); +static void update_area(SpiceDisplay *display, gint x, gint y, gint width, gint height); + +/* ---------------------------------------------------------------- */ + +static void spice_display_get_property(GObject *object, + guint prop_id, + GValue *value, + GParamSpec *pspec) +{ + SpiceDisplay *display = SPICE_DISPLAY(object); + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + gboolean boolean; + + switch (prop_id) { + case PROP_SESSION: + g_value_set_object(value, d->session); + break; + case PROP_CHANNEL_ID: + g_value_set_int(value, d->channel_id); + break; + case PROP_MONITOR_ID: + g_value_set_int(value, d->monitor_id); + break; + case PROP_KEYBOARD_GRAB: + g_value_set_boolean(value, d->keyboard_grab_enable); + break; + case PROP_MOUSE_GRAB: + g_value_set_boolean(value, d->mouse_grab_enable); + break; + case PROP_RESIZE_GUEST: + g_value_set_boolean(value, d->resize_guest_enable); + break; + case PROP_AUTO_CLIPBOARD: + g_object_get(d->gtk_session, "auto-clipboard", &boolean, NULL); + g_value_set_boolean(value, boolean); + break; + case PROP_SCALING: + g_value_set_boolean(value, d->allow_scaling); + break; + case PROP_ONLY_DOWNSCALE: + g_value_set_boolean(value, d->only_downscale); + break; + case PROP_DISABLE_INPUTS: + g_value_set_boolean(value, d->disable_inputs); + break; + case PROP_ZOOM_LEVEL: + g_value_set_int(value, d->zoom_level); + break; + case PROP_READY: + g_value_set_boolean(value, d->ready); + break; + case PROP_KEYPRESS_DELAY: + g_value_set_uint(value, d->keypress_delay); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); + break; + } +} + +static void scaling_updated(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + GdkWindow *window = gtk_widget_get_window(GTK_WIDGET(display)); + + recalc_geometry(GTK_WIDGET(display)); + if (d->ximage && window) { /* if not yet shown */ + gtk_widget_queue_draw(GTK_WIDGET(display)); + } +} + +static void update_size_request(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + gint reqwidth, reqheight; + + if (d->resize_guest_enable) { + reqwidth = 640; + reqheight = 480; + } else { + reqwidth = d->area.width; + reqheight = d->area.height; + } + + gtk_widget_set_size_request(GTK_WIDGET(display), reqwidth, reqheight); + recalc_geometry(GTK_WIDGET(display)); +} + +static void update_keyboard_focus(SpiceDisplay *display, gboolean state) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + d->keyboard_have_focus = state; + + /* keyboard grab gets inhibited by usb-device-manager when it is + in the process of redirecting a usb-device (as this may show a + policykit dialog). Making autoredir/automount setting changes while + this is happening is not a good idea! */ + if (d->keyboard_grab_inhibit) + return; + + spice_gtk_session_request_auto_usbredir(d->gtk_session, state); +} + +static void update_ready(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + gboolean ready; + + ready = d->mark != 0 && d->monitor_ready; + + if (d->ready == ready) + return; + + if (ready && gtk_widget_get_window(GTK_WIDGET(display))) + gtk_widget_queue_draw(GTK_WIDGET(display)); + + d->ready = ready; + g_object_notify(G_OBJECT(display), "ready"); +} + +static void set_monitor_ready(SpiceDisplay *self, gboolean ready) +{ + SpiceDisplayPrivate *d = self->priv; + + d->monitor_ready = ready; + update_ready(self); +} + +static gint get_display_id(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + /* supported monitor_id only with display channel #0 */ + if (d->channel_id == 0 && d->monitor_id >= 0) + return d->monitor_id; + + g_return_val_if_fail(d->monitor_id <= 0, -1); + + return d->channel_id; +} + +static void update_monitor_area(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + SpiceDisplayMonitorConfig *cfg, *c = NULL; + GArray *monitors = NULL; + int i; + + SPICE_DEBUG("update monitor area %d:%d", d->channel_id, d->monitor_id); + if (d->monitor_id < 0) + goto whole; + + g_object_get(d->display, "monitors", &monitors, NULL); + for (i = 0; monitors != NULL && i < monitors->len; i++) { + cfg = &g_array_index(monitors, SpiceDisplayMonitorConfig, i); + if (cfg->id == d->monitor_id) { + c = cfg; + break; + } + } + if (c == NULL) { + SPICE_DEBUG("update monitor: no monitor %d", d->monitor_id); + set_monitor_ready(display, false); + if (spice_channel_test_capability(d->display, SPICE_DISPLAY_CAP_MONITORS_CONFIG)) { + SPICE_DEBUG("waiting until MonitorsConfig is received"); + return; + } + goto whole; + } + + if (c->surface_id != 0) { + g_warning("FIXME: only support monitor config with primary surface 0, " + "but given config surface %d", c->surface_id); + goto whole; + } + + if (!d->resize_guest_enable) + spice_main_update_display(d->main, get_display_id(display), + c->x, c->y, c->width, c->height, FALSE); + + update_area(display, c->x, c->y, c->width, c->height); + g_clear_pointer(&monitors, g_array_unref); + return; + +whole: + g_clear_pointer(&monitors, g_array_unref); + /* by display whole surface */ + update_area(display, 0, 0, d->width, d->height); + set_monitor_ready(display, true); +} + +static void spice_display_set_property(GObject *object, + guint prop_id, + const GValue *value, + GParamSpec *pspec) +{ + SpiceDisplay *display = SPICE_DISPLAY(object); + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + switch (prop_id) { + case PROP_SESSION: + g_warn_if_fail(d->session == NULL); + d->session = g_value_dup_object(value); + d->gtk_session = spice_gtk_session_get(d->session); + break; + case PROP_CHANNEL_ID: + d->channel_id = g_value_get_int(value); + break; + case PROP_MONITOR_ID: + d->monitor_id = g_value_get_int(value); + if (d->display) /* if constructed */ + update_monitor_area(display); + break; + case PROP_KEYBOARD_GRAB: + d->keyboard_grab_enable = g_value_get_boolean(value); + update_keyboard_grab(display); + break; + case PROP_MOUSE_GRAB: + d->mouse_grab_enable = g_value_get_boolean(value); + update_mouse_grab(display); + break; + case PROP_RESIZE_GUEST: + d->resize_guest_enable = g_value_get_boolean(value); + update_size_request(display); + break; + case PROP_SCALING: + d->allow_scaling = g_value_get_boolean(value); + scaling_updated(display); + break; + case PROP_ONLY_DOWNSCALE: + d->only_downscale = g_value_get_boolean(value); + scaling_updated(display); + break; + case PROP_AUTO_CLIPBOARD: + g_object_set(d->gtk_session, "auto-clipboard", + g_value_get_boolean(value), NULL); + break; + case PROP_DISABLE_INPUTS: + d->disable_inputs = g_value_get_boolean(value); + gtk_widget_set_can_focus(GTK_WIDGET(display), !d->disable_inputs); + update_keyboard_grab(display); + update_mouse_grab(display); + break; + case PROP_ZOOM_LEVEL: + d->zoom_level = g_value_get_int(value); + scaling_updated(display); + break; + case PROP_KEYPRESS_DELAY: + d->keypress_delay = g_value_get_uint(value); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); + break; + } +} + +static void gtk_session_property_changed(GObject *gobject, + GParamSpec *pspec, + gpointer user_data) +{ + SpiceDisplay *display = user_data; + + g_object_notify(G_OBJECT(display), g_param_spec_get_name(pspec)); +} + +static void session_inhibit_keyboard_grab_changed(GObject *gobject, + GParamSpec *pspec, + gpointer user_data) +{ + SpiceDisplay *display = user_data; + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + g_object_get(d->session, "inhibit-keyboard-grab", + &d->keyboard_grab_inhibit, NULL); + update_keyboard_grab(display); + update_mouse_grab(display); +} + +static void spice_display_dispose(GObject *obj) +{ + SpiceDisplay *display = SPICE_DISPLAY(obj); + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + SPICE_DEBUG("spice display dispose"); + + spicex_image_destroy(display); + g_clear_object(&d->session); + d->gtk_session = NULL; + + if (d->key_delayed_id) { + g_source_remove(d->key_delayed_id); + d->key_delayed_id = 0; + } + + G_OBJECT_CLASS(spice_display_parent_class)->dispose(obj); +} + +static void spice_display_finalize(GObject *obj) +{ + SpiceDisplay *display = SPICE_DISPLAY(obj); + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + SPICE_DEBUG("Finalize spice display"); + + if (d->grabseq) { + spice_grab_sequence_free(d->grabseq); + d->grabseq = NULL; + } + g_free(d->activeseq); + d->activeseq = NULL; + + if (d->show_cursor) { + gdk_cursor_unref(d->show_cursor); + d->show_cursor = NULL; + } + + if (d->mouse_cursor) { + gdk_cursor_unref(d->mouse_cursor); + d->mouse_cursor = NULL; + } + + if (d->mouse_pixbuf) { + g_object_unref(d->mouse_pixbuf); + d->mouse_pixbuf = NULL; + } + + G_OBJECT_CLASS(spice_display_parent_class)->finalize(obj); +} + +static GdkCursor* get_blank_cursor(void) +{ + if (g_getenv("SPICE_DEBUG_CURSOR")) + return gdk_cursor_new(GDK_DOT); + +#ifdef CONFIG_MARU + return gdk_cursor_new(GDK_ARROW); +#else + return gdk_cursor_new(GDK_BLANK_CURSOR); +#endif +} + +static gboolean grab_broken(SpiceDisplay *self, GdkEventGrabBroken *event, + gpointer user_data G_GNUC_UNUSED) +{ + SPICE_DEBUG("%s (implicit: %d, keyboard: %d)", __FUNCTION__, + event->implicit, event->keyboard); + + if (event->keyboard) { + try_keyboard_ungrab(self); + } + + /* always release mouse when grab broken, this could be more + generally placed in keyboard_ungrab(), but one might worry of + breaking someone else code. */ + try_mouse_ungrab(self); + + return false; +} + +static void drag_data_received_callback(SpiceDisplay *self, + GdkDragContext *drag_context, + gint x, + gint y, + GtkSelectionData *data, + guint info, + guint time, + gpointer *user_data) +{ + const guchar *buf; + gchar **file_urls; + int n_files; + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(self); + int i = 0; + GFile **files; + + /* We get a buf like: + * file:///root/a.txt\r\nfile:///root/b.txt\r\n + */ + SPICE_DEBUG("%s: drag a file", __FUNCTION__); + buf = gtk_selection_data_get_data(data); + g_return_if_fail(buf != NULL); + + file_urls = g_uri_list_extract_uris((const gchar*)buf); + n_files = g_strv_length(file_urls); + files = g_new0(GFile*, n_files + 1); + for (i = 0; i < n_files; i++) { + files[i] = g_file_new_for_uri(file_urls[i]); + } + g_strfreev(file_urls); + + spice_main_file_copy_async(d->main, files, 0, NULL, NULL, + NULL, NULL, NULL); + for (i = 0; i < n_files; i++) { + g_object_unref(files[i]); + } + g_free(files); + + gtk_drag_finish(drag_context, TRUE, FALSE, time); +} + +static void spice_display_init(SpiceDisplay *display) +{ + GtkWidget *widget = GTK_WIDGET(display); + SpiceDisplayPrivate *d; + GtkTargetEntry targets = { "text/uri-list", 0, 0 }; + + d = display->priv = SPICE_DISPLAY_GET_PRIVATE(display); + + g_signal_connect(display, "grab-broken-event", G_CALLBACK(grab_broken), NULL); + gtk_drag_dest_set(widget, GTK_DEST_DEFAULT_ALL, &targets, 1, GDK_ACTION_COPY); + g_signal_connect(display, "drag-data-received", + G_CALLBACK(drag_data_received_callback), NULL); + gtk_widget_add_events(widget, + GDK_STRUCTURE_MASK | + GDK_POINTER_MOTION_MASK | + GDK_BUTTON_PRESS_MASK | + GDK_BUTTON_RELEASE_MASK | + GDK_BUTTON_MOTION_MASK | + GDK_ENTER_NOTIFY_MASK | + GDK_LEAVE_NOTIFY_MASK | + GDK_KEY_PRESS_MASK | + GDK_SCROLL_MASK); +#ifdef WITH_X11 + gtk_widget_set_double_buffered(widget, false); +#else + gtk_widget_set_double_buffered(widget, true); +#endif + gtk_widget_set_can_focus(widget, true); + gtk_widget_set_has_window(widget, true); + d->keycode_map = vnc_display_keymap_gdk2xtkbd_table(&d->keycode_maplen); + d->grabseq = spice_grab_sequence_new_from_string("Control_L+Alt_L"); + d->activeseq = g_new0(gboolean, d->grabseq->nkeysyms); + + d->mouse_cursor = get_blank_cursor(); + d->have_mitshm = true; +} + +static GObject * +spice_display_constructor(GType gtype, + guint n_properties, + GObjectConstructParam *properties) +{ + GObject *obj; + SpiceDisplay *display; + SpiceDisplayPrivate *d; + GList *list; + GList *it; + + { + /* Always chain up to the parent constructor */ + GObjectClass *parent_class; + parent_class = G_OBJECT_CLASS(spice_display_parent_class); + obj = parent_class->constructor(gtype, n_properties, properties); + } + + display = SPICE_DISPLAY(obj); + d = SPICE_DISPLAY_GET_PRIVATE(display); + + if (!d->session) + g_error("SpiceDisplay constructed without a session"); + + spice_g_signal_connect_object(d->session, "channel-new", + G_CALLBACK(channel_new), display, 0); + spice_g_signal_connect_object(d->session, "channel-destroy", + G_CALLBACK(channel_destroy), display, 0); + list = spice_session_get_channels(d->session); + for (it = g_list_first(list); it != NULL; it = g_list_next(it)) { + if (SPICE_IS_MAIN_CHANNEL(it->data)) { + channel_new(d->session, it->data, (gpointer*)display); + break; + } + } + for (it = g_list_first(list); it != NULL; it = g_list_next(it)) { + if (!SPICE_IS_MAIN_CHANNEL(it->data)) + channel_new(d->session, it->data, (gpointer*)display); + } + g_list_free(list); + + spice_g_signal_connect_object(d->gtk_session, "notify::auto-clipboard", + G_CALLBACK(gtk_session_property_changed), display, 0); + + spice_g_signal_connect_object(d->session, "notify::inhibit-keyboard-grab", + G_CALLBACK(session_inhibit_keyboard_grab_changed), + display, 0); + + return obj; +} + +/** + * spice_display_set_grab_keys: + * @display: the display widget + * @seq: (transfer none): key sequence + * + * Set the key combination to grab/ungrab the keyboard. The default is + * "Control L + Alt L". + **/ +void spice_display_set_grab_keys(SpiceDisplay *display, SpiceGrabSequence *seq) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + g_return_if_fail(d != NULL); + + if (d->grabseq) { + spice_grab_sequence_free(d->grabseq); + } + if (seq) + d->grabseq = spice_grab_sequence_copy(seq); + else + d->grabseq = spice_grab_sequence_new_from_string("Control_L+Alt_L"); + g_free(d->activeseq); + d->activeseq = g_new0(gboolean, d->grabseq->nkeysyms); +} + +#ifdef WIN32 +static LRESULT CALLBACK keyboard_hook_cb(int code, WPARAM wparam, LPARAM lparam) +{ + if (win32_window && code == HC_ACTION) { + KBDLLHOOKSTRUCT *hooked = (KBDLLHOOKSTRUCT*)lparam; + DWORD dwmsg = (hooked->flags << 24) | (hooked->scanCode << 16) | 1; + + if (hooked->vkCode == VK_NUMLOCK || hooked->vkCode == VK_RSHIFT) { + dwmsg &= ~(1 << 24); + SendMessage(win32_window, wparam, hooked->vkCode, dwmsg); + } + switch (hooked->vkCode) { + case VK_CAPITAL: + case VK_SCROLL: + case VK_NUMLOCK: + case VK_LSHIFT: + case VK_RSHIFT: + case VK_LCONTROL: + case VK_RCONTROL: + case VK_LMENU: + case VK_RMENU: + break; + default: + SendMessage(win32_window, wparam, hooked->vkCode, dwmsg); + return 1; + } + } + return CallNextHookEx(NULL, code, wparam, lparam); +} +#endif + +/** + * spice_display_get_grab_keys: + * @display: the display widget + * + * Returns: (transfer none): the current grab key combination. + **/ +SpiceGrabSequence *spice_display_get_grab_keys(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + g_return_val_if_fail(d != NULL, NULL); + + return d->grabseq; +} + +static void try_keyboard_grab(SpiceDisplay *display) +{ + GtkWidget *widget = GTK_WIDGET(display); + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + GdkGrabStatus status; + + if (g_getenv("SPICE_NOGRAB")) + return; + if (d->disable_inputs) + return; + + if (d->keyboard_grab_inhibit) + return; + if (!d->keyboard_grab_enable) + return; + if (d->keyboard_grab_active) + return; + if (!d->keyboard_have_focus) + return; + if (!d->mouse_have_pointer) + return; + + g_return_if_fail(gtk_widget_is_focus(widget)); + + SPICE_DEBUG("grab keyboard"); + gtk_widget_grab_focus(widget); + +#ifdef WIN32 + if (d->keyboard_hook == NULL) + d->keyboard_hook = SetWindowsHookEx(WH_KEYBOARD_LL, keyboard_hook_cb, + GetModuleHandle(NULL), 0); + g_warn_if_fail(d->keyboard_hook != NULL); +#endif + status = gdk_keyboard_grab(gtk_widget_get_window(widget), FALSE, + GDK_CURRENT_TIME); + if (status != GDK_GRAB_SUCCESS) { + g_warning("keyboard grab failed %d", status); + d->keyboard_grab_active = false; + } else { + d->keyboard_grab_active = true; + g_signal_emit(widget, signals[SPICE_DISPLAY_KEYBOARD_GRAB], 0, true); + } +} + +static void try_keyboard_ungrab(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + GtkWidget *widget = GTK_WIDGET(display); + + if (!d->keyboard_grab_active) + return; + + SPICE_DEBUG("ungrab keyboard"); + gdk_keyboard_ungrab(GDK_CURRENT_TIME); +#ifdef WIN32 + if (d->keyboard_hook != NULL) { + UnhookWindowsHookEx(d->keyboard_hook); + d->keyboard_hook = NULL; + } +#endif + d->keyboard_grab_active = false; + g_signal_emit(widget, signals[SPICE_DISPLAY_KEYBOARD_GRAB], 0, false); +} + +static void update_keyboard_grab(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + if (d->keyboard_grab_enable && + !d->keyboard_grab_inhibit && + !d->disable_inputs) + try_keyboard_grab(display); + else + try_keyboard_ungrab(display); +} + +static void set_mouse_accel(SpiceDisplay *display, gboolean enabled) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + +#if defined GDK_WINDOWING_X11 + GdkWindow *w = GDK_WINDOW(gtk_widget_get_window(GTK_WIDGET(display))); + Display *x_display = GDK_WINDOW_XDISPLAY(w); + + if (enabled) { + /* restore mouse acceleration */ + XChangePointerControl(x_display, True, True, + d->x11_accel_numerator, d->x11_accel_denominator, d->x11_threshold); + } else { + XGetPointerControl(x_display, + &d->x11_accel_numerator, &d->x11_accel_denominator, &d->x11_threshold); + /* set mouse acceleration to default */ + XChangePointerControl(x_display, True, True, -1, -1, -1); + SPICE_DEBUG("disabled X11 mouse motion %d %d %d", + d->x11_accel_numerator, d->x11_accel_denominator, d->x11_threshold); + } +#elif defined GDK_WINDOWING_WIN32 + if (enabled) { + g_return_if_fail(SystemParametersInfo(SPI_SETMOUSE, 0, &d->win_mouse, 0)); + g_return_if_fail(SystemParametersInfo(SPI_SETMOUSESPEED, 0, (PVOID)d->win_mouse_speed, 0)); + } else { + int accel[3] = { 0, 0, 0 }; // disabled + g_return_if_fail(SystemParametersInfo(SPI_GETMOUSE, 0, &d->win_mouse, 0)); + g_return_if_fail(SystemParametersInfo(SPI_GETMOUSESPEED, 0, &d->win_mouse_speed, 0)); + g_return_if_fail(SystemParametersInfo(SPI_SETMOUSE, 0, &accel, SPIF_SENDCHANGE)); + g_return_if_fail(SystemParametersInfo(SPI_SETMOUSESPEED, 0, (PVOID)10, SPIF_SENDCHANGE)); // default + } +#else + g_warning("Mouse acceleration code missing for your platform"); +#endif +} + +#ifdef WIN32 +static gboolean win32_clip_cursor(void) +{ + RECT window, workarea, rect; + HMONITOR monitor; + MONITORINFO mi = { 0, }; + + g_return_val_if_fail(win32_window != NULL, FALSE); + + if (!GetWindowRect(win32_window, &window)) + goto error; + + monitor = MonitorFromRect(&window, MONITOR_DEFAULTTONEAREST); + g_return_val_if_fail(monitor != NULL, false); + + mi.cbSize = sizeof(mi); + if (!GetMonitorInfo(monitor, &mi)) + goto error; + workarea = mi.rcWork; + + if (!IntersectRect(&rect, &window, &workarea)) { + g_critical("error clipping cursor"); + return false; + } + + SPICE_DEBUG("clip rect %ld %ld %ld %ld\n", + rect.left, rect.right, rect.top, rect.bottom); + + if (!ClipCursor(&rect)) + goto error; + + return true; + +error: + { + DWORD errval = GetLastError(); + gchar *errstr = g_win32_error_message(errval); + g_warning("failed to clip cursor (%ld) %s", errval, errstr); + } + + return false; +} +#endif + +static GdkGrabStatus do_pointer_grab(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + GdkWindow *window = GDK_WINDOW(gtk_widget_get_window(GTK_WIDGET(display))); + GdkGrabStatus status = GDK_GRAB_BROKEN; + GdkCursor *blank = get_blank_cursor(); + + if (!gtk_widget_get_realized(GTK_WIDGET(display))) + goto end; + +#ifdef WIN32 + if (!win32_clip_cursor()) + goto end; +#endif + + try_keyboard_grab(display); + /* + * from gtk-vnc: + * For relative mouse to work correctly when grabbed we need to + * allow the pointer to move anywhere on the local desktop, so + * use NULL for the 'confine_to' argument. Furthermore we need + * the coords to be reported to our VNC window, regardless of + * what window the pointer is actally over, so use 'FALSE' for + * 'owner_events' parameter + */ + status = gdk_pointer_grab(window, FALSE, + GDK_POINTER_MOTION_MASK | + GDK_BUTTON_PRESS_MASK | + GDK_BUTTON_RELEASE_MASK | + GDK_BUTTON_MOTION_MASK | + GDK_SCROLL_MASK, + NULL, + blank, + GDK_CURRENT_TIME); + if (status != GDK_GRAB_SUCCESS) { + d->mouse_grab_active = false; + g_warning("pointer grab failed %d", status); + } else { + d->mouse_grab_active = true; + g_signal_emit(display, signals[SPICE_DISPLAY_MOUSE_GRAB], 0, true); + } + + if (status == GDK_GRAB_SUCCESS) + set_mouse_accel(display, FALSE); + +end: + gdk_cursor_unref(blank); + return status; +} + +static void update_mouse_pointer(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + GdkWindow *window = GDK_WINDOW(gtk_widget_get_window(GTK_WIDGET(display))); + + if (!window) + return; + + switch (d->mouse_mode) { + case SPICE_MOUSE_MODE_CLIENT: + if (gdk_window_get_cursor(window) != d->mouse_cursor) + gdk_window_set_cursor(window, d->mouse_cursor); + break; + case SPICE_MOUSE_MODE_SERVER: + if (gdk_window_get_cursor(window) != NULL) + gdk_window_set_cursor(window, NULL); + break; + default: + g_warn_if_reached(); + break; + } +} + +static void try_mouse_grab(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + if (g_getenv("SPICE_NOGRAB")) + return; + if (d->disable_inputs) + return; + + if (!d->mouse_have_pointer) + return; + if (!d->keyboard_have_focus) + return; + + if (!d->mouse_grab_enable) + return; + if (d->mouse_mode != SPICE_MOUSE_MODE_SERVER) + return; + if (d->mouse_grab_active) + return; + + if (do_pointer_grab(display) != GDK_GRAB_SUCCESS) + return; + + d->mouse_last_x = -1; + d->mouse_last_y = -1; +} + +static void mouse_wrap(SpiceDisplay *display, GdkEventMotion *motion) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + gint xr, yr; + +#ifdef WIN32 + RECT clip; + g_return_if_fail(GetClipCursor(&clip)); + xr = clip.left + (clip.right - clip.left) / 2; + yr = clip.top + (clip.bottom - clip.top) / 2; + /* the clip rectangle has no offset, so we can't use gdk_wrap_pointer */ + SetCursorPos(xr, yr); + d->mouse_last_x = -1; + d->mouse_last_y = -1; +#else + GdkScreen *screen = gtk_widget_get_screen(GTK_WIDGET(display)); + xr = gdk_screen_get_width(screen) / 2; + yr = gdk_screen_get_height(screen) / 2; + + if (xr != (gint)motion->x_root || yr != (gint)motion->y_root) { + /* FIXME: we try our best to ignore that next pointer move event.. */ + gdk_display_sync(gdk_screen_get_display(screen)); + + gdk_display_warp_pointer(gtk_widget_get_display(GTK_WIDGET(display)), + screen, xr, yr); + d->mouse_last_x = -1; + d->mouse_last_y = -1; + } +#endif + +} + +static void try_mouse_ungrab(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + if (!d->mouse_grab_active) + return; + + gdk_pointer_ungrab(GDK_CURRENT_TIME); + gtk_grab_remove(GTK_WIDGET(display)); +#ifdef WIN32 + ClipCursor(NULL); +#endif + set_mouse_accel(display, TRUE); + + d->mouse_grab_active = false; + + g_signal_emit(display, signals[SPICE_DISPLAY_MOUSE_GRAB], 0, false); +} + +static void update_mouse_grab(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + if (d->mouse_grab_enable && + !d->keyboard_grab_inhibit && + !d->disable_inputs) + try_mouse_grab(display); + else + try_mouse_ungrab(display); +} + +static void recalc_geometry(GtkWidget *widget) +{ + SpiceDisplay *display = SPICE_DISPLAY(widget); + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + gdouble zoom = 1.0; + + if (spicex_is_scaled(display)) + zoom = (gdouble)d->zoom_level / 100; + + SPICE_DEBUG("recalc geom monitor: %d:%d, guest +%d+%d:%dx%d, window %dx%d, zoom %g", + d->channel_id, d->monitor_id, d->area.x, d->area.y, d->area.width, d->area.height, + d->ww, d->wh, zoom); + + if (d->resize_guest_enable) + spice_main_set_display(d->main, get_display_id(display), + d->area.x, d->area.y, d->ww / zoom, d->wh / zoom); +} + +/* ---------------------------------------------------------------- */ + +#define CONVERT_0565_TO_0888(s) \ + (((((s) << 3) & 0xf8) | (((s) >> 2) & 0x7)) | \ + ((((s) << 5) & 0xfc00) | (((s) >> 1) & 0x300)) | \ + ((((s) << 8) & 0xf80000) | (((s) << 3) & 0x70000))) + +#define CONVERT_0565_TO_8888(s) (CONVERT_0565_TO_0888(s) | 0xff000000) + +#define CONVERT_0555_TO_0888(s) \ + (((((s) & 0x001f) << 3) | (((s) & 0x001c) >> 2)) | \ + ((((s) & 0x03e0) << 6) | (((s) & 0x0380) << 1)) | \ + ((((s) & 0x7c00) << 9) | ((((s) & 0x7000)) << 4))) + +#define CONVERT_0555_TO_8888(s) (CONVERT_0555_TO_0888(s) | 0xff000000) + +static gboolean do_color_convert(SpiceDisplay *display, GdkRectangle *r) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + guint32 *dest = d->data; + guint16 *src = d->data_origin; + gint x, y; + + g_return_val_if_fail(r != NULL, false); + g_return_val_if_fail(d->format == SPICE_SURFACE_FMT_16_555 || + d->format == SPICE_SURFACE_FMT_16_565, false); + + src += (d->stride / 2) * r->y + r->x; + dest += d->area.width * (r->y - d->area.y) + (r->x - d->area.x); + + if (d->format == SPICE_SURFACE_FMT_16_555) { + for (y = 0; y < r->height; y++) { + for (x = 0; x < r->width; x++) { + dest[x] = CONVERT_0555_TO_0888(src[x]); + } + + dest += d->area.width; + src += d->stride / 2; + } + } else if (d->format == SPICE_SURFACE_FMT_16_565) { + for (y = 0; y < r->height; y++) { + for (x = 0; x < r->width; x++) { + dest[x] = CONVERT_0565_TO_0888(src[x]); + } + + dest += d->area.width; + src += d->stride / 2; + } + } + + return true; +} + + +#if GTK_CHECK_VERSION (2, 91, 0) +static gboolean draw_event(GtkWidget *widget, cairo_t *cr) +{ + SpiceDisplay *display = SPICE_DISPLAY(widget); + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + g_return_val_if_fail(d != NULL, false); + + if (d->mark == 0 || d->data == NULL || + d->area.width == 0 || d->area.height == 0) + return false; + g_return_val_if_fail(d->ximage != NULL, false); + + spicex_draw_event(display, cr); + update_mouse_pointer(display); + + return true; +} +#else +static gboolean expose_event(GtkWidget *widget, GdkEventExpose *expose) +{ + SpiceDisplay *display = SPICE_DISPLAY(widget); + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + g_return_val_if_fail(d != NULL, false); + + if (d->mark == 0 || d->data == NULL || + d->area.width == 0 || d->area.height == 0) + return false; + g_return_val_if_fail(d->ximage != NULL, false); + + spicex_expose_event(display, expose); + update_mouse_pointer(display); + + return true; +} +#endif + +/* ---------------------------------------------------------------- */ +typedef enum { + SEND_KEY_PRESS, + SEND_KEY_RELEASE, +} SendKeyType; + +static void key_press_and_release(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + if (d->key_delayed_scancode == 0) + return; + + spice_inputs_key_press_and_release(d->inputs, d->key_delayed_scancode); + d->key_delayed_scancode = 0; + + if (d->key_delayed_id) { + g_source_remove(d->key_delayed_id); + d->key_delayed_id = 0; + } +} + +static gboolean key_press_delayed(gpointer data) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(data); + + if (d->key_delayed_scancode == 0) + return FALSE; + + spice_inputs_key_press(d->inputs, d->key_delayed_scancode); + d->key_delayed_scancode = 0; + + if (d->key_delayed_id) { + g_source_remove(d->key_delayed_id); + d->key_delayed_id = 0; + } + + return FALSE; +} + +static void send_key(SpiceDisplay *display, int scancode, SendKeyType type, gboolean press_delayed) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + uint32_t i, b, m; + + g_return_if_fail(scancode != 0); + + if (!d->inputs) + return; + + if (d->disable_inputs) + return; + + i = scancode / 32; + b = scancode % 32; + m = (1 << b); + g_return_if_fail(i < SPICE_N_ELEMENTS(d->key_state)); + + switch (type) { + case SEND_KEY_PRESS: + /* ensure delayed key is pressed before any new input event */ + key_press_delayed(display); + + if (press_delayed && + d->keypress_delay != 0 && + !(d->key_state[i] & m)) { + g_warn_if_fail(d->key_delayed_id == 0); + d->key_delayed_id = g_timeout_add(d->keypress_delay, key_press_delayed, display); + d->key_delayed_scancode = scancode; + } else + spice_inputs_key_press(d->inputs, scancode); + + d->key_state[i] |= m; + break; + + case SEND_KEY_RELEASE: + if (!(d->key_state[i] & m)) + break; + + if (d->key_delayed_scancode == scancode) + key_press_and_release(display); + else { + /* ensure delayed key is pressed before other key are released */ + key_press_delayed(display); + spice_inputs_key_release(d->inputs, scancode); + } + + d->key_state[i] &= ~m; + break; + + default: + g_warn_if_reached(); + } +} + +#ifdef CONFIG_MARU +static void get_sdb_port(SpiceDisplay *display, int scancode, SendKeyType type, gboolean press_delayed) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + if (!d->inputs) + return; + + if (d->disable_inputs) + return; + + switch (type) { + case SEND_KEY_PRESS: + spice_inputs_tizen_keydown(d->inputs, scancode, SPICE_MSGC_INPUTS_SDB_PORT); + break; + default: + g_warn_if_reached(); + } +} + +static void send_hwkey(SpiceDisplay *display, int scancode, SendKeyType type, gboolean press_delayed) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + g_return_if_fail(scancode != 0); + + if (!d->inputs) + return; + + if (d->disable_inputs) + return; + + switch (type) { + case SEND_KEY_PRESS: + spice_inputs_tizen_keydown(d->inputs, scancode, SPICE_MSGC_INPUTS_HWKEY_DOWN); + break; + + case SEND_KEY_RELEASE: + spice_inputs_tizen_keyup(d->inputs, scancode, SPICE_MSGC_INPUTS_HWKEY_UP); + break; + + default: + g_warn_if_reached(); + } +} + +static void send_rotation(SpiceDisplay *display, int scancode, SendKeyType type, gboolean press_delayed) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + if (!d->inputs) + return; + + if (d->disable_inputs) + return; + + switch (type) { + case SEND_KEY_PRESS: + d->rotation_type = scancode; + spice_inputs_tizen_keydown(d->inputs, scancode, SPICE_MSGC_INPUTS_ROTATION_TYPE); + break; + default: + g_warn_if_reached(); + } +} + +static void send_hostkbd(SpiceDisplay *display, int scancode, SendKeyType type, gboolean press_delayed) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + if (!d->inputs) + return; + + if (d->disable_inputs) + return; + + switch (type) { + case SEND_KEY_PRESS: + spice_inputs_tizen_keydown(d->inputs, scancode, SPICE_MSGC_INPUTS_HOSTKBD_ONOFF); + break; + default: + g_warn_if_reached(); + } +} + +static void send_close(SpiceDisplay *display, int scancode, SendKeyType type, gboolean press_delayed) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + if (!d->inputs) + return; + + if (d->disable_inputs) + return; + + switch (type) { + case SEND_KEY_PRESS: + spice_inputs_tizen_keydown(d->inputs, scancode, SPICE_MSGC_INPUTS_CLOSE_TYPE); + break; + default: + g_warn_if_reached(); + } +} +#endif + +static void release_keys(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + uint32_t i, b; + + SPICE_DEBUG("%s", __FUNCTION__); + for (i = 0; i < SPICE_N_ELEMENTS(d->key_state); i++) { + if (!d->key_state[i]) { + continue; + } + for (b = 0; b < 32; b++) { + send_key(display, i * 32 + b, SEND_KEY_RELEASE, FALSE); + } + } +} + +static gboolean check_for_grab_key(SpiceDisplay *display, int type, int keyval) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + int i; + + if (!d->grabseq->nkeysyms) + return FALSE; + + if (type == GDK_KEY_PRESS) { + /* Record the new key press */ + for (i = 0 ; i < d->grabseq->nkeysyms ; i++) + if (d->grabseq->keysyms[i] == keyval) + d->activeseq[i] = TRUE; + + /* Return if any key is not pressed */ + for (i = 0 ; i < d->grabseq->nkeysyms ; i++) + if (d->activeseq[i] == FALSE) + return FALSE; + + /* resets the whole grab sequence on success */ + memset(d->activeseq, 0, sizeof(gboolean) * d->grabseq->nkeysyms); + return TRUE; + } else if (type == GDK_KEY_RELEASE) { + /* Any key release resets the whole grab sequence */ + memset(d->activeseq, 0, sizeof(gboolean) * d->grabseq->nkeysyms); + return FALSE; + } else + g_warn_if_reached(); + + return FALSE; +} + +static void update_display(SpiceDisplay *display) +{ +#ifdef WIN32 + win32_window = display ? GDK_WINDOW_HWND(gtk_widget_get_window(GTK_WIDGET(display))) : NULL; +#endif +} + +static gboolean key_event(GtkWidget *widget, GdkEventKey *key) +{ + SpiceDisplay *display = SPICE_DISPLAY(widget); + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + int scancode; + +#ifdef WIN32 + /* on windows, we ought to ignore the reserved key event? */ + if (key->hardware_keycode == 0xff) + return false; + + if (!d->keyboard_grab_active) { + if (key->hardware_keycode == VK_LWIN || + key->hardware_keycode == VK_RWIN || + key->hardware_keycode == VK_APPS) + return false; + } + +#endif + SPICE_DEBUG("%s %s: keycode: %d state: %d group %d modifier %d", + __FUNCTION__, key->type == GDK_KEY_PRESS ? "press" : "release", + key->hardware_keycode, key->state, key->group, key->is_modifier); + + if (check_for_grab_key(display, key->type, key->keyval)) { + g_signal_emit(widget, signals[SPICE_DISPLAY_GRAB_KEY_PRESSED], 0); + + if (d->mouse_mode == SPICE_MOUSE_MODE_SERVER) { + if (d->mouse_grab_active) + try_mouse_ungrab(display); + else + try_mouse_grab(display); + } + + // that's the last key pressed from the grab sequence + // let send it to the remote if it's a modifier key + if (!key->is_modifier) + return true; + } + + if (!d->inputs) + return true; + + scancode = vnc_display_keymap_gdk2xtkbd(d->keycode_map, d->keycode_maplen, + key->hardware_keycode); +#ifdef WIN32 + /* MapVirtualKey doesn't return scancode with needed higher byte */ + scancode = MapVirtualKey(key->hardware_keycode, MAPVK_VK_TO_VSC) | + (scancode & 0xff00); +#endif + + switch (key->type) { + case GDK_KEY_PRESS: + send_key(display, scancode, SEND_KEY_PRESS, !key->is_modifier); + break; + case GDK_KEY_RELEASE: + send_key(display, scancode, SEND_KEY_RELEASE, !key->is_modifier); + break; + default: + g_warn_if_reached(); + break; + } + + return true; +} + +static guint get_scancode_from_keyval(SpiceDisplay *display, guint keyval) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + guint keycode = 0; + GdkKeymapKey *keys = NULL; + gint n_keys = 0; + + if (gdk_keymap_get_entries_for_keyval(gdk_keymap_get_default(), + keyval, &keys, &n_keys)) { + /* FIXME what about levels? */ + keycode = keys[0].keycode; + g_free(keys); + } else { + g_warning("could not lookup keyval %u, please report a bug", keyval); + return 0; + } + + return vnc_display_keymap_gdk2xtkbd(d->keycode_map, d->keycode_maplen, keycode); +} + + +/** + * spice_display_send_keys: + * @display: The #SpiceDisplay + * @keyvals: (array length=nkeyvals): Keyval array + * @nkeyvals: Length of keyvals + * @kind: #SpiceDisplayKeyEvent action + * + * Send keyval press/release events to the display. + * + **/ +void spice_display_send_keys(SpiceDisplay *display, const guint *keyvals, + int nkeyvals, SpiceDisplayKeyEvent kind) +{ + int i; + + g_return_if_fail(SPICE_DISPLAY(display) != NULL); + g_return_if_fail(keyvals != NULL); + + SPICE_DEBUG("%s", __FUNCTION__); + + if (kind & SPICE_DISPLAY_KEY_EVENT_PRESS) { + for (i = 0 ; i < nkeyvals ; i++) + send_key(display, get_scancode_from_keyval(display, keyvals[i]), SEND_KEY_PRESS, FALSE); + } + + if (kind & SPICE_DISPLAY_KEY_EVENT_RELEASE) { + for (i = (nkeyvals-1) ; i >= 0 ; i--) + send_key(display, get_scancode_from_keyval(display, keyvals[i]), SEND_KEY_RELEASE, FALSE); + } +} + +#ifdef CONFIG_MARU +void spice_display_get_sdbport(SpiceDisplay *display, const guint *keyvals, + int nkeyvals, SpiceDisplayKeyEvent kind) +{ + int i; + + g_return_if_fail(SPICE_DISPLAY(display) != NULL); + g_return_if_fail(keyvals != NULL); + + SPICE_DEBUG("%s", __FUNCTION__); + + if (kind & SPICE_DISPLAY_KEY_EVENT_CLICK) { + for (i = 0 ; i < nkeyvals ; i++) + get_sdb_port(display, keyvals[i], SEND_KEY_PRESS, FALSE); + } +} + +void spice_display_send_hwkeys(SpiceDisplay *display, const guint *keyvals, + int nkeyvals, SpiceDisplayKeyEvent kind) +{ + int i; + + g_return_if_fail(SPICE_DISPLAY(display) != NULL); + g_return_if_fail(keyvals != NULL); + + SPICE_DEBUG("%s", __FUNCTION__); + + if (kind & SPICE_DISPLAY_KEY_EVENT_PRESS) { + for (i = 0 ; i < nkeyvals ; i++) + send_hwkey(display, keyvals[i], SEND_KEY_PRESS, FALSE); + } + + if (kind & SPICE_DISPLAY_KEY_EVENT_RELEASE) { + for (i = (nkeyvals-1) ; i >= 0 ; i--) + send_hwkey(display, keyvals[i], SEND_KEY_RELEASE, FALSE); + } +} + +void spice_display_send_rotation(SpiceDisplay *display, const guint *keyvals, + int nkeyvals, SpiceDisplayKeyEvent kind) +{ + int i; + + g_return_if_fail(SPICE_DISPLAY(display) != NULL); + g_return_if_fail(keyvals != NULL); + + SPICE_DEBUG("%s", __FUNCTION__); + + if (kind & SPICE_DISPLAY_KEY_EVENT_CLICK) { + for (i = 0 ; i < nkeyvals ; i++) + send_rotation(display, keyvals[i], SEND_KEY_PRESS, FALSE); + } +} + +void spice_display_send_hostkbd(SpiceDisplay *display, const guint *keyvals, + int nkeyvals, SpiceDisplayKeyEvent kind) +{ + int i; + + g_return_if_fail(SPICE_DISPLAY(display) != NULL); + g_return_if_fail(keyvals != NULL); + + SPICE_DEBUG("%s", __FUNCTION__); + + if (kind & SPICE_DISPLAY_KEY_EVENT_CLICK) { + for (i = 0 ; i < nkeyvals ; i++) + send_hostkbd(display, keyvals[i], SEND_KEY_PRESS, FALSE); + } +} + +void spice_display_send_close(SpiceDisplay *display, const guint *keyvals, + int nkeyvals, SpiceDisplayKeyEvent kind) +{ + int i; + + g_return_if_fail(SPICE_DISPLAY(display) != NULL); + g_return_if_fail(keyvals != NULL); + + SPICE_DEBUG("%s", __FUNCTION__); + + if (kind & SPICE_DISPLAY_KEY_EVENT_CLICK) { + for (i = 0 ; i < nkeyvals ; i++) + send_close(display, keyvals[i], SEND_KEY_PRESS, FALSE); + } +} +#endif + +static gboolean enter_event(GtkWidget *widget, GdkEventCrossing *crossing G_GNUC_UNUSED) +{ + SpiceDisplay *display = SPICE_DISPLAY(widget); + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + SPICE_DEBUG("%s", __FUNCTION__); + + d->mouse_have_pointer = true; + try_keyboard_grab(display); + update_display(display); + + return true; +} + +static gboolean leave_event(GtkWidget *widget, GdkEventCrossing *crossing G_GNUC_UNUSED) +{ + SpiceDisplay *display = SPICE_DISPLAY(widget); + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + SPICE_DEBUG("%s", __FUNCTION__); + + if (d->mouse_grab_active) + return true; + + d->mouse_have_pointer = false; + try_keyboard_ungrab(display); + + return true; +} + +static gboolean focus_in_event(GtkWidget *widget, GdkEventFocus *focus G_GNUC_UNUSED) +{ + SpiceDisplay *display = SPICE_DISPLAY(widget); + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + SPICE_DEBUG("%s", __FUNCTION__); + + /* + * Ignore focus in when we already have the focus + * (this happens when doing an ungrab from the leave_event callback). + */ + if (d->keyboard_have_focus) + return true; + + release_keys(display); + sync_keyboard_lock_modifiers(display); + update_keyboard_focus(display, true); + try_keyboard_grab(display); + update_display(display); + + return true; +} + +static gboolean focus_out_event(GtkWidget *widget, GdkEventFocus *focus G_GNUC_UNUSED) +{ + SpiceDisplay *display = SPICE_DISPLAY(widget); + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + SPICE_DEBUG("%s", __FUNCTION__); + update_display(NULL); + + /* + * Ignore focus out after a keyboard grab + * (this happens when doing the grab from the enter_event callback). + */ + if (d->keyboard_grab_active) + return true; + + release_keys(display); + update_keyboard_focus(display, false); + + return true; +} + +static int button_gdk_to_spice(int gdk) +{ + static const int map[] = { + [ 1 ] = SPICE_MOUSE_BUTTON_LEFT, + [ 2 ] = SPICE_MOUSE_BUTTON_MIDDLE, + [ 3 ] = SPICE_MOUSE_BUTTON_RIGHT, + [ 4 ] = SPICE_MOUSE_BUTTON_UP, + [ 5 ] = SPICE_MOUSE_BUTTON_DOWN, + }; + + if (gdk < SPICE_N_ELEMENTS(map)) { + return map [ gdk ]; + } + return 0; +} + +static int button_mask_gdk_to_spice(int gdk) +{ + int spice = 0; + + if (gdk & GDK_BUTTON1_MASK) + spice |= SPICE_MOUSE_BUTTON_MASK_LEFT; + if (gdk & GDK_BUTTON2_MASK) + spice |= SPICE_MOUSE_BUTTON_MASK_MIDDLE; + if (gdk & GDK_BUTTON3_MASK) + spice |= SPICE_MOUSE_BUTTON_MASK_RIGHT; + return spice; +} + +G_GNUC_INTERNAL +void spicex_transform_input (SpiceDisplay *display, + double window_x, double window_y, + int *input_x, int *input_y) +{ + SpiceDisplayPrivate *d = display->priv; + int display_x, display_y, display_w, display_h; + double is; + + spice_display_get_scaling(display, NULL, + &display_x, &display_y, + &display_w, &display_h); + + /* For input we need a different scaling factor in order to + be able to reach the full width of a display. For instance, consider + a display of 100 pixels showing in a window 10 pixels wide. The normal + scaling factor here would be 100/10==10, but if you then take the largest + possible window coordinate, i.e. 9 and multiply by 10 you get 90, not 99, + which is the max display coord. + + If you want to be able to reach the last pixel in the window you need + max_window_x * input_scale == max_display_x, which is + (window_width - 1) * input_scale == (display_width - 1) + + Note, this is the inverse of s (i.e. s ~= 1/is) as we're converting the + coordinates in the inverse direction (window -> display) as the fb size + (display -> window). + */ +#ifdef CONFIG_MARU + if (d->rotation_type == ROTATION_0 || d->rotation_type == ROTATION_180) { + is = (double)(d->area.width-1) / (double)(display_w-1); + } + else { + is = (double)(d->area.height-1) / (double)(display_w-1); + } +#endif + window_x -= display_x; + window_y -= display_y; + + *input_x = floor (window_x * is); + *input_y = floor (window_y * is); +} + +static gboolean motion_event(GtkWidget *widget, GdkEventMotion *motion) +{ + SpiceDisplay *display = SPICE_DISPLAY(widget); + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + int x, y; + + if (!d->inputs) + return true; + if (d->disable_inputs) + return true; + + spicex_transform_input (display, motion->x, motion->y, &x, &y); + + switch (d->mouse_mode) { + case SPICE_MOUSE_MODE_CLIENT: +#ifdef CONFIG_MARU + if (d->rotation_type == ROTATION_0) { + if (x >= 0 && x < d->area.width && + y >= 0 && y < d->area.height) { + spice_inputs_position(d->inputs, x, y, get_display_id(display), + button_mask_gdk_to_spice(motion->state)); + } + } + else if (d->rotation_type == ROTATION_90) { + if (x >= 0 && x < d->area.height && + y >= 0 && y < d->area.width) { + spice_inputs_position(d->inputs, d->area.width - y, x, get_display_id(display), + button_mask_gdk_to_spice(motion->state)); + } + } + else if (d->rotation_type == ROTATION_180) { + if (x >= 0 && x < d->area.width && + y >= 0 && y < d->area.height) { + spice_inputs_position(d->inputs, d->area.width - x, d->area.height - y, get_display_id(display), + button_mask_gdk_to_spice(motion->state)); + } + } + else if (d->rotation_type == ROTATION_270) { + if (x >= 0 && x < d->area.height && + y >= 0 && y < d->area.width) { + spice_inputs_position(d->inputs, y, d->area.height - x, get_display_id(display), + button_mask_gdk_to_spice(motion->state)); + } + } +#else + if (x >= 0 && x < d->area.width && + y >= 0 && y < d->area.height) { + spice_inputs_position(d->inputs, x, y, get_display_id(display), + button_mask_gdk_to_spice(motion->state)); + } +#endif + break; + case SPICE_MOUSE_MODE_SERVER: + if (d->mouse_grab_active) { + gint dx = d->mouse_last_x != -1 ? x - d->mouse_last_x : 0; + gint dy = d->mouse_last_y != -1 ? y - d->mouse_last_y : 0; + + spice_inputs_motion(d->inputs, dx, dy, + button_mask_gdk_to_spice(motion->state)); + + d->mouse_last_x = x; + d->mouse_last_y = y; + if (dx != 0 || dy != 0) + mouse_wrap(display, motion); + } + break; + default: + g_warn_if_reached(); + break; + } + return true; +} + +static gboolean scroll_event(GtkWidget *widget, GdkEventScroll *scroll) +{ + int button; + SpiceDisplay *display = SPICE_DISPLAY(widget); + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + SPICE_DEBUG("%s", __FUNCTION__); + + if (!d->inputs) + return true; + if (d->disable_inputs) + return true; + + if (scroll->direction == GDK_SCROLL_UP) + button = SPICE_MOUSE_BUTTON_UP; + else if (scroll->direction == GDK_SCROLL_DOWN) + button = SPICE_MOUSE_BUTTON_DOWN; + else { + SPICE_DEBUG("unsupported scroll direction"); + return true; + } + + spice_inputs_button_press(d->inputs, button, + button_mask_gdk_to_spice(scroll->state)); + spice_inputs_button_release(d->inputs, button, + button_mask_gdk_to_spice(scroll->state)); + return true; +} + +static gboolean button_event(GtkWidget *widget, GdkEventButton *button) +{ + SpiceDisplay *display = SPICE_DISPLAY(widget); + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + int x, y; + + SPICE_DEBUG("%s %s: button %d, state 0x%x", __FUNCTION__, + button->type == GDK_BUTTON_PRESS ? "press" : "release", + button->button, button->state); + + if (d->disable_inputs) + return true; + + spicex_transform_input (display, button->x, button->y, &x, &y); +#ifdef CONFIG_MARU + if (d->rotation_type == ROTATION_90 || d->rotation_type == ROTATION_270) { + if ((x < 0 || x >= d->area.height || + y < 0 || y >= d->area.width) && + d->mouse_mode == SPICE_MOUSE_MODE_CLIENT) { + /* rule out clicks in outside region */ + return true; + } + } + else { + if ((x < 0 || x >= d->area.width || + y < 0 || y >= d->area.height) && + d->mouse_mode == SPICE_MOUSE_MODE_CLIENT) { + /* rule out clicks in outside region */ + return true; + } + } +#else + if ((x < 0 || x >= d->area.width || + y < 0 || y >= d->area.height) && + d->mouse_mode == SPICE_MOUSE_MODE_CLIENT) { + /* rule out clicks in outside region */ + return true; + } +#endif + gtk_widget_grab_focus(widget); + if (d->mouse_mode == SPICE_MOUSE_MODE_SERVER) { + if (!d->mouse_grab_active) { + try_mouse_grab(display); + return true; + } + } else + /* allow to drag and drop between windows/displays: + + By default, X (and other window system) do a pointer grab + when you press a button, so that the release event is + received by the same window regardless of where the pointer + is. Here, we change that behaviour, so that you can press + and release in two differents displays. This is only + supported in client mouse mode. + + FIXME: should be multiple widget grab, but how? + or should know the position of the other widgets? + */ + gdk_pointer_ungrab(GDK_CURRENT_TIME); + + if (!d->inputs) + return true; + + switch (button->type) { + case GDK_BUTTON_PRESS: + spice_inputs_button_press(d->inputs, + button_gdk_to_spice(button->button), + button_mask_gdk_to_spice(button->state)); + break; + case GDK_BUTTON_RELEASE: + spice_inputs_button_release(d->inputs, + button_gdk_to_spice(button->button), + button_mask_gdk_to_spice(button->state)); + break; + default: + break; + } + return true; +} + +static gboolean configure_event(GtkWidget *widget, GdkEventConfigure *conf) +{ + SpiceDisplay *display = SPICE_DISPLAY(widget); + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + if (conf->width == d->ww && conf->height == d->wh && + conf->x == d->mx && conf->y == d->my) { + return true; + } + + if (conf->width != d->ww || conf->height != d->wh) { + d->ww = conf->width; + d->wh = conf->height; + recalc_geometry(widget); + } + + d->mx = conf->x; + d->my = conf->y; + +#ifdef WIN32 + if (d->mouse_grab_active) { + try_mouse_ungrab(display); + try_mouse_grab(display); + } +#endif + + return true; +} + +static void update_image(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + spicex_image_create(display); + if (d->convert) + do_color_convert(display, &d->area); +} + +static void realize(GtkWidget *widget) +{ + SpiceDisplay *display = SPICE_DISPLAY(widget); + + GTK_WIDGET_CLASS(spice_display_parent_class)->realize(widget); + + update_image(display); +} + +static void unrealize(GtkWidget *widget) +{ + spicex_image_destroy(SPICE_DISPLAY(widget)); + + GTK_WIDGET_CLASS(spice_display_parent_class)->unrealize(widget); +} + + +/* ---------------------------------------------------------------- */ + +static void spice_display_class_init(SpiceDisplayClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS(klass); + GtkWidgetClass *gtkwidget_class = GTK_WIDGET_CLASS(klass); + +#if GTK_CHECK_VERSION (2, 91, 0) + gtkwidget_class->draw = draw_event; +#else + gtkwidget_class->expose_event = expose_event; +#endif + gtkwidget_class->key_press_event = key_event; + gtkwidget_class->key_release_event = key_event; + gtkwidget_class->enter_notify_event = enter_event; + gtkwidget_class->leave_notify_event = leave_event; + gtkwidget_class->focus_in_event = focus_in_event; + gtkwidget_class->focus_out_event = focus_out_event; + gtkwidget_class->motion_notify_event = motion_event; + gtkwidget_class->button_press_event = button_event; + gtkwidget_class->button_release_event = button_event; + gtkwidget_class->configure_event = configure_event; + gtkwidget_class->scroll_event = scroll_event; + gtkwidget_class->realize = realize; + gtkwidget_class->unrealize = unrealize; + + gobject_class->constructor = spice_display_constructor; + gobject_class->dispose = spice_display_dispose; + gobject_class->finalize = spice_display_finalize; + gobject_class->get_property = spice_display_get_property; + gobject_class->set_property = spice_display_set_property; + + /** + * SpiceDisplay:session: + * + * #SpiceSession for this #SpiceDisplay + * + **/ + g_object_class_install_property + (gobject_class, PROP_SESSION, + g_param_spec_object("session", + "Session", + "SpiceSession", + SPICE_TYPE_SESSION, + G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceDisplay:channel-id: + * + * channel-id for this #SpiceDisplay + * + **/ + g_object_class_install_property + (gobject_class, PROP_CHANNEL_ID, + g_param_spec_int("channel-id", + "Channel ID", + "Channel ID for this display", + 0, 255, 0, + G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property + (gobject_class, PROP_KEYBOARD_GRAB, + g_param_spec_boolean("grab-keyboard", + "Grab Keyboard", + "Whether we should grab the keyboard.", + TRUE, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property + (gobject_class, PROP_MOUSE_GRAB, + g_param_spec_boolean("grab-mouse", + "Grab Mouse", + "Whether we should grab the mouse.", + TRUE, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property + (gobject_class, PROP_RESIZE_GUEST, + g_param_spec_boolean("resize-guest", + "Resize guest", + "Try to adapt guest display on window resize. " + "Requires guest cooperation.", + FALSE, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceDisplay:ready: + * + * Indicate whether the display is ready to be shown. It takes + * into account several conditions, such as the channel display + * "mark" state, whether the monitor area is visible.. + * + * Since: 0.13 + **/ + g_object_class_install_property + (gobject_class, PROP_READY, + g_param_spec_boolean("ready", + "Ready", + "Ready to display", + FALSE, + G_PARAM_READABLE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceDisplay:auto-clipboard: + * + * When this is true the clipboard gets automatically shared between host + * and guest. + * + * Deprecated: 0.8: Use SpiceGtkSession:auto-clipboard property instead + **/ + g_object_class_install_property + (gobject_class, PROP_AUTO_CLIPBOARD, + g_param_spec_boolean("auto-clipboard", + "Auto clipboard", + "Automatically relay clipboard changes between " + "host and guest.", + TRUE, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS | + G_PARAM_DEPRECATED)); + + g_object_class_install_property + (gobject_class, PROP_SCALING, + g_param_spec_boolean("scaling", "Scaling", + "Whether we should use scaling", + TRUE, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceDisplay:only-downscale: + * + * If scaling, only scale down, never up. + * + * Since: 0.14 + **/ + g_object_class_install_property + (gobject_class, PROP_ONLY_DOWNSCALE, + g_param_spec_boolean("only-downscale", "Only Downscale", + "If scaling, only scale down, never up", + FALSE, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceDisplay:keypress-delay: + * + * Delay in ms of non-modifiers key press events. If the key is + * released before this delay, a single press & release event is + * sent to the server. If the key is pressed longer than the + * keypress-delay, the server will receive the delayed press + * event, and a following release event when the key is released. + * + * Since: 0.13 + **/ + g_object_class_install_property + (gobject_class, PROP_KEYPRESS_DELAY, + g_param_spec_uint("keypress-delay", "Keypress delay", + "Keypress delay", + 0, G_MAXUINT, 100, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceDisplay:disable-inputs: + * + * Disable all keyboard & mouse inputs. + * + * Since: 0.8 + **/ + g_object_class_install_property + (gobject_class, PROP_DISABLE_INPUTS, + g_param_spec_boolean("disable-inputs", "Disable inputs", + "Whether inputs should be disabled", + FALSE, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + + /** + * SpiceDisplay:zoom-level: + * + * Zoom level in percentage, from 10 to 400. Default to 100. + * (this option is only supported with cairo backend when scaling + * is enabled) + * + * Since: 0.10 + **/ + g_object_class_install_property + (gobject_class, PROP_ZOOM_LEVEL, + g_param_spec_int("zoom-level", "Zoom Level", + "Zoom Level", + 10, 400, 100, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceDisplay:monitor-id: + * + * Select monitor from #SpiceDisplay to show. + * The value -1 means the whole display is shown. + * By default, the monitor 0 is selected. + * + * Since: 0.13 + **/ + g_object_class_install_property + (gobject_class, PROP_MONITOR_ID, + g_param_spec_int("monitor-id", + "Monitor ID", + "Select monitor ID", + -1, G_MAXINT, 0, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceDisplay::mouse-grab: + * @display: the #SpiceDisplay that emitted the signal + * @status: 1 if grabbed, 0 otherwise. + * + * Notify when the mouse grab is active or not. + **/ + signals[SPICE_DISPLAY_MOUSE_GRAB] = + g_signal_new("mouse-grab", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceDisplayClass, mouse_grab), + NULL, NULL, + g_cclosure_marshal_VOID__INT, + G_TYPE_NONE, + 1, + G_TYPE_INT); + + /** + * SpiceDisplay::keyboard-grab: + * @display: the #SpiceDisplay that emitted the signal + * @status: 1 if grabbed, 0 otherwise. + * + * Notify when the keyboard grab is active or not. + **/ + signals[SPICE_DISPLAY_KEYBOARD_GRAB] = + g_signal_new("keyboard-grab", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceDisplayClass, keyboard_grab), + NULL, NULL, + g_cclosure_marshal_VOID__INT, + G_TYPE_NONE, + 1, + G_TYPE_INT); + + /** + * SpiceDisplay::grab-keys-pressed: + * @display: the #SpiceDisplay that emitted the signal + * + * Notify when the grab keys have been pressed + **/ + signals[SPICE_DISPLAY_GRAB_KEY_PRESSED] = + g_signal_new("grab-keys-pressed", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceDisplayClass, keyboard_grab), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, + 0); + + g_type_class_add_private(klass, sizeof(SpiceDisplayPrivate)); +} + +/* ---------------------------------------------------------------- */ + +static void update_mouse_mode(SpiceChannel *channel, gpointer data) +{ + SpiceDisplay *display = data; + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + g_object_get(channel, "mouse-mode", &d->mouse_mode, NULL); + SPICE_DEBUG("mouse mode %d", d->mouse_mode); + + switch (d->mouse_mode) { + case SPICE_MOUSE_MODE_CLIENT: + try_mouse_ungrab(display); + break; + case SPICE_MOUSE_MODE_SERVER: + try_mouse_grab(display); + d->mouse_guest_x = -1; + d->mouse_guest_y = -1; + break; + default: + g_warn_if_reached(); + } + + update_mouse_pointer(display); +} + +static void update_area(SpiceDisplay *display, + gint x, gint y, gint width, gint height) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + GdkRectangle primary = { + .x = 0, + .y = 0, + .width = d->width, + .height = d->height + }; + GdkRectangle area = { + .x = x, + .y = y, + .width = width, + .height = height + }; + + SPICE_DEBUG("update area, primary: %dx%d, area: +%d+%d %dx%d", d->width, d->height, area.x, area.y, area.width, area.height); + + if (!gdk_rectangle_intersect(&primary, &area, &area)) { + SPICE_DEBUG("The monitor area is not intersecting primary surface"); + memset(&d->area, '\0', sizeof(d->area)); + set_monitor_ready(display, false); + return; + } + + spicex_image_destroy(display); + d->area = area; + if (gtk_widget_get_realized(GTK_WIDGET(display))) + update_image(display); + + update_size_request(display); + + set_monitor_ready(display, true); +} + +static void primary_create(SpiceChannel *channel, gint format, + gint width, gint height, gint stride, + gint shmid, gpointer imgdata, gpointer data) +{ + SpiceDisplay *display = data; + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + d->format = format; + d->stride = stride; + d->shmid = shmid; + d->width = width; + d->height = height; + d->data_origin = d->data = imgdata; + + update_monitor_area(display); +} + +static void primary_destroy(SpiceChannel *channel, gpointer data) +{ + SpiceDisplay *display = SPICE_DISPLAY(data); + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + spicex_image_destroy(display); + d->width = 0; + d->height = 0; + d->stride = 0; + d->shmid = 0; + d->data = NULL; + d->data_origin = NULL; + set_monitor_ready(display, false); +} + +static void invalidate(SpiceChannel *channel, + gint x, gint y, gint w, gint h, gpointer data) +{ + SpiceDisplay *display = data; + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + int display_x, display_y; + int x1, y1, x2, y2; + double s; +#ifdef CONFIG_MARU + gint buf; +#endif + + GdkRectangle rect = { + .x = x, + .y = y, + .width = w, + .height = h + }; + + if (!gtk_widget_get_window(GTK_WIDGET(display))) + return; + + if (!gdk_rectangle_intersect(&rect, &d->area, &rect)) + return; +#ifdef CONFIG_MARU + if (d->rotation_type == ROTATION_90 || d->rotation_type == ROTATION_270) { + buf = w; + w = h; + h = buf; + rect.width = w; + rect.height = h; + } +#endif + if (d->convert) + do_color_convert(display, &rect); + + spice_display_get_scaling(display, &s, + &display_x, &display_y, + NULL, NULL); + + x1 = floor ((rect.x - d->area.x) * s); + y1 = floor ((rect.y - d->area.y) * s); + x2 = ceil ((rect.x - d->area.x + rect.width) * s); + y2 = ceil ((rect.y - d->area.y + rect.height) * s); + + gtk_widget_queue_draw_area(GTK_WIDGET(display), + display_x + x1, display_y + y1, + x2 - x1, y2-y1); +} + +static void mark(SpiceDisplay *display, gint mark) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + g_return_if_fail(d != NULL); + + SPICE_DEBUG("widget mark: %d, %d:%d %p", mark, d->channel_id, d->monitor_id, display); + d->mark = mark; + update_ready(display); +} + +static void cursor_set(SpiceCursorChannel *channel, + gint width, gint height, gint hot_x, gint hot_y, + gpointer rgba, gpointer data) +{ + SpiceDisplay *display = data; + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + GdkCursor *cursor = NULL; + + cursor_invalidate(display); + + if (d->mouse_pixbuf) { + g_object_unref(d->mouse_pixbuf); + d->mouse_pixbuf = NULL; + } + + if (rgba != NULL) { + d->mouse_pixbuf = gdk_pixbuf_new_from_data(g_memdup(rgba, width * height * 4), + GDK_COLORSPACE_RGB, + TRUE, 8, + width, + height, + width * 4, + (GdkPixbufDestroyNotify)g_free, NULL); + d->mouse_hotspot.x = hot_x; + d->mouse_hotspot.y = hot_y; + cursor = gdk_cursor_new_from_pixbuf(gtk_widget_get_display(GTK_WIDGET(display)), + d->mouse_pixbuf, hot_x, hot_y); + } else + g_warn_if_reached(); + + if (d->show_cursor) { + // unhide + gdk_cursor_unref(d->show_cursor); + d->show_cursor = NULL; + if (d->mouse_mode == SPICE_MOUSE_MODE_SERVER) { + // keep a hidden cursor, will be shown in cursor_move() + d->show_cursor = cursor; + return; + } + } + + gdk_cursor_unref(d->mouse_cursor); + d->mouse_cursor = cursor; + + update_mouse_pointer(display); + cursor_invalidate(display); +} + +static void cursor_hide(SpiceCursorChannel *channel, gpointer data) +{ + SpiceDisplay *display = data; + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + if (d->show_cursor != NULL) /* then we are already hidden */ + return; + + cursor_invalidate(display); + d->show_cursor = d->mouse_cursor; + d->mouse_cursor = get_blank_cursor(); + update_mouse_pointer(display); +} + +G_GNUC_INTERNAL +void spice_display_get_scaling(SpiceDisplay *display, + double *s_out, + int *x_out, int *y_out, + int *w_out, int *h_out) +{ + SpiceDisplayPrivate *d = display->priv; + int fbw = d->area.width, fbh = d->area.height; + int ww, wh; + int x, y, w, h; + double s; +#ifdef CONFIG_MARU + if (d->rotation_type == ROTATION_90 || d->rotation_type == ROTATION_270) { + fbh = d->area.width; + fbw = d->area.height; + } +#endif + + if (gtk_widget_get_realized (GTK_WIDGET(display))) + gdk_drawable_get_size(gtk_widget_get_window(GTK_WIDGET(display)), &ww, &wh); + else { + ww = fbw; + wh = fbh; + } + + if (!spicex_is_scaled(display)) { + s = 1.0; + x = 0; + y = 0; + + if (ww > d->area.width) + x = (ww - d->area.width) / 2; + if (wh > d->area.height) + y = (wh - d->area.height) / 2; + + w = fbw; + h = fbh; + } else { +#ifdef CONFIG_MARU + if (d->rotation_type == ROTATION_90 || d->rotation_type == ROTATION_270) { + s = MIN ((double)wh / (double)fbw, (double)ww / (double)fbh); + } + else { + s = MIN ((double)ww / (double)fbw, (double)wh / (double)fbh); + } +#else + s = MIN ((double)ww / (double)fbw, (double)wh / (double)fbh); +#endif + if (d->only_downscale && s >= 1.0) + s = 1.0; + + /* Round to int size */ + w = floor (fbw * s + 0.5); + h = floor (fbh * s + 0.5); + + /* Center the display */ + x = (ww - w) / 2; + y = (wh - h) / 2; + } + + if (s_out) + *s_out = s; + if (w_out) + *w_out = w; + if (h_out) + *h_out = h; + if (x_out) + *x_out = x; + if (y_out) + *y_out = y; +} + +static void cursor_invalidate(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = display->priv; + double s; + int x, y; + + if (d->mouse_pixbuf == NULL) + return; + + spice_display_get_scaling(display, &s, &x, &y, NULL, NULL); + + gtk_widget_queue_draw_area(GTK_WIDGET(display), + floor ((d->mouse_guest_x - d->mouse_hotspot.x - d->area.x) * s) + x, + floor ((d->mouse_guest_y - d->mouse_hotspot.y - d->area.y) * s) + y, + ceil (gdk_pixbuf_get_width(d->mouse_pixbuf) * s), + ceil (gdk_pixbuf_get_height(d->mouse_pixbuf) * s)); +} + +static void cursor_move(SpiceCursorChannel *channel, gint x, gint y, gpointer data) +{ + SpiceDisplay *display = data; + SpiceDisplayPrivate *d = display->priv; + + cursor_invalidate(display); + + d->mouse_guest_x = x; + d->mouse_guest_y = y; + + cursor_invalidate(display); + + /* apparently we have to restore cursor when "cursor_move" */ + if (d->show_cursor != NULL) { + gdk_cursor_unref(d->mouse_cursor); + d->mouse_cursor = d->show_cursor; + d->show_cursor = NULL; + update_mouse_pointer(display); + } +} + +static void cursor_reset(SpiceCursorChannel *channel, gpointer data) +{ + SpiceDisplay *display = data; + GdkWindow *window = gtk_widget_get_window(GTK_WIDGET(display)); + + if (!window) { + SPICE_DEBUG("%s: no window, returning", __FUNCTION__); + return; + } + + SPICE_DEBUG("%s", __FUNCTION__); + gdk_window_set_cursor(window, NULL); +} + +static void channel_new(SpiceSession *s, SpiceChannel *channel, gpointer data) +{ + SpiceDisplay *display = data; + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + int id; + + g_object_get(channel, "channel-id", &id, NULL); + if (SPICE_IS_MAIN_CHANNEL(channel)) { + d->main = SPICE_MAIN_CHANNEL(channel); + spice_g_signal_connect_object(channel, "main-mouse-update", + G_CALLBACK(update_mouse_mode), display, 0); + update_mouse_mode(channel, display); + return; + } + + if (SPICE_IS_DISPLAY_CHANNEL(channel)) { + SpiceDisplayPrimary primary; + if (id != d->channel_id) + return; + d->display = channel; + spice_g_signal_connect_object(channel, "display-primary-create", + G_CALLBACK(primary_create), display, 0); + spice_g_signal_connect_object(channel, "display-primary-destroy", + G_CALLBACK(primary_destroy), display, 0); + spice_g_signal_connect_object(channel, "display-invalidate", + G_CALLBACK(invalidate), display, 0); + spice_g_signal_connect_object(channel, "display-mark", + G_CALLBACK(mark), display, G_CONNECT_AFTER | G_CONNECT_SWAPPED); + spice_g_signal_connect_object(channel, "notify::monitors", + G_CALLBACK(update_monitor_area), display, G_CONNECT_AFTER | G_CONNECT_SWAPPED); + if (spice_display_get_primary(channel, 0, &primary)) { + primary_create(channel, primary.format, primary.width, primary.height, + primary.stride, primary.shmid, primary.data, display); + mark(display, primary.marked); + } + spice_channel_connect(channel); + spice_main_set_display_enabled(d->main, get_display_id(display), TRUE); + return; + } + + if (SPICE_IS_CURSOR_CHANNEL(channel)) { + if (id != d->channel_id) + return; + d->cursor = SPICE_CURSOR_CHANNEL(channel); + spice_g_signal_connect_object(channel, "cursor-set", + G_CALLBACK(cursor_set), display, 0); + spice_g_signal_connect_object(channel, "cursor-move", + G_CALLBACK(cursor_move), display, 0); + spice_g_signal_connect_object(channel, "cursor-hide", + G_CALLBACK(cursor_hide), display, 0); + spice_g_signal_connect_object(channel, "cursor-reset", + G_CALLBACK(cursor_reset), display, 0); + spice_channel_connect(channel); + return; + } + + if (SPICE_IS_INPUTS_CHANNEL(channel)) { + d->inputs = SPICE_INPUTS_CHANNEL(channel); + spice_channel_connect(channel); + sync_keyboard_lock_modifiers(display); + return; + } + +#ifdef USE_SMARTCARD + if (SPICE_IS_SMARTCARD_CHANNEL(channel)) { + d->smartcard = SPICE_SMARTCARD_CHANNEL(channel); + spice_channel_connect(channel); + return; + } +#endif + + return; +} + +static void channel_destroy(SpiceSession *s, SpiceChannel *channel, gpointer data) +{ + SpiceDisplay *display = data; + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + int id; + + g_object_get(channel, "channel-id", &id, NULL); + SPICE_DEBUG("channel_destroy %d", id); + + if (SPICE_IS_MAIN_CHANNEL(channel)) { + d->main = NULL; + return; + } + + if (SPICE_IS_DISPLAY_CHANNEL(channel)) { + if (id != d->channel_id) + return; + primary_destroy(d->display, display); + d->display = NULL; + return; + } + + if (SPICE_IS_CURSOR_CHANNEL(channel)) { + if (id != d->channel_id) + return; + d->cursor = NULL; + return; + } + + if (SPICE_IS_INPUTS_CHANNEL(channel)) { + d->inputs = NULL; + return; + } + +#ifdef USE_SMARTCARD + if (SPICE_IS_SMARTCARD_CHANNEL(channel)) { + d->smartcard = NULL; + return; + } +#endif + + return; +} + +/** + * spice_display_new: + * @session: a #SpiceSession + * @channel_id: the display channel ID to associate with #SpiceDisplay + * + * Returns: a new #SpiceDisplay widget. + **/ +SpiceDisplay *spice_display_new(SpiceSession *session, int id) +{ + return g_object_new(SPICE_TYPE_DISPLAY, "session", session, + "channel-id", id, NULL); +} + +/** + * spice_display_new_with_monitor: + * @session: a #SpiceSession + * @channel_id: the display channel ID to associate with #SpiceDisplay + * @monitor_id: the monitor id within the display channel + * + * Since: 0.13 + * Returns: a new #SpiceDisplay widget. + **/ +SpiceDisplay* spice_display_new_with_monitor(SpiceSession *session, gint channel_id, gint monitor_id) +{ + return g_object_new(SPICE_TYPE_DISPLAY, + "session", session, + "channel-id", channel_id, + "monitor-id", monitor_id, + NULL); +} + +/** + * spice_display_mouse_ungrab: + * @display: + * + * Ungrab the mouse. + **/ +void spice_display_mouse_ungrab(SpiceDisplay *display) +{ + try_mouse_ungrab(display); +} + +/** + * spice_display_copy_to_guest: + * @display: + * + * Copy client-side clipboard to guest clipboard. + * + * Deprecated: 0.8: Use spice_gtk_session_copy_to_guest() instead + **/ +void spice_display_copy_to_guest(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + g_return_if_fail(d->gtk_session != NULL); + + spice_gtk_session_copy_to_guest(d->gtk_session); +} + +/** + * spice_display_paste_from_guest: + * @display: + * + * Copy guest clipboard to client-side clipboard. + * + * Deprecated: 0.8: Use spice_gtk_session_paste_from_guest() instead + **/ +void spice_display_paste_from_guest(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + + g_return_if_fail(d->gtk_session != NULL); + + spice_gtk_session_paste_from_guest(d->gtk_session); +} + +/** + * spice_display_get_pixbuf: + * @display: + * + * Take a screenshot of the display. + * + * Returns: (transfer full): a #GdkPixbuf with the screenshot image buffer + **/ +GdkPixbuf *spice_display_get_pixbuf(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + GdkPixbuf *pixbuf; + int x, y; + guchar *src, *data, *dest; + + g_return_val_if_fail(d != NULL, NULL); + /* TODO: ensure d->data has been exposed? */ + g_return_val_if_fail(d->data != NULL, NULL); + + data = g_malloc(d->area.width * d->area.height * 3); + src = d->data; + dest = data; + + for (y = d->area.y; y < d->area.height; ++y) { + for (x = d->area.x; x < d->area.width; ++x) { + dest[0] = src[x * 4 + 2]; + dest[1] = src[x * 4 + 1]; + dest[2] = src[x * 4 + 0]; + dest += 3; + } + src += d->stride; + } + + pixbuf = gdk_pixbuf_new_from_data(data, GDK_COLORSPACE_RGB, false, + 8, d->area.width, d->area.height, d->area.width * 3, + (GdkPixbufDestroyNotify)g_free, NULL); +#ifdef CONFIG_MARU + if (d->rotation_type == ROTATION_90) { + pixbuf = gdk_pixbuf_rotate_simple(pixbuf, 90); + } + else if (d->rotation_type == ROTATION_180) { + pixbuf = gdk_pixbuf_rotate_simple(pixbuf, 180); + } + else if (d->rotation_type == ROTATION_270) { + pixbuf = gdk_pixbuf_rotate_simple(pixbuf, 270); + } +#endif + return pixbuf; +} + +#if HAVE_X11_XKBLIB_H +static guint32 get_keyboard_lock_modifiers(Display *x_display) +{ + XKeyboardState keyboard_state; + guint32 modifiers = 0; + + XGetKeyboardControl(x_display, &keyboard_state); + + if (keyboard_state.led_mask & 0x01) { + modifiers |= SPICE_INPUTS_CAPS_LOCK; + } + if (keyboard_state.led_mask & 0x02) { + modifiers |= SPICE_INPUTS_NUM_LOCK; + } + if (keyboard_state.led_mask & 0x04) { + modifiers |= SPICE_INPUTS_SCROLL_LOCK; + } + return modifiers; +} + +static void sync_keyboard_lock_modifiers(SpiceDisplay *display) +{ + Display *x_display; + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + guint32 modifiers; + GdkWindow *w; + + if (d->disable_inputs) + return; + + w = gtk_widget_get_parent_window(GTK_WIDGET(display)); + if (w == NULL) /* it can happen if the display is not yet shown */ + return; + + x_display = GDK_WINDOW_XDISPLAY(w); + modifiers = get_keyboard_lock_modifiers(x_display); + if (d->inputs) + spice_inputs_set_key_locks(d->inputs, modifiers); +} + +typedef enum SpiceLed { + CAPS_LOCK_LED = 1, + NUM_LOCK_LED, + SCROLL_LOCK_LED, +} SpiceLed; + +static guint get_modifier_mask(Display *x_display, KeySym modifier) +{ + int mask = 0; + int i; + + XModifierKeymap* map = XGetModifierMapping(x_display); + KeyCode keycode = XKeysymToKeycode(x_display, modifier); + if (keycode == NoSymbol) { + return 0; + } + + for (i = 0; i < 8; i++) { + if (map->modifiermap[map->max_keypermod * i] == keycode) { + mask = 1 << i; + } + } + XFreeModifiermap(map); + return mask; +} + +static void set_keyboard_led(Display *x_display, SpiceLed led, int set) +{ + guint mask; + XKeyboardControl keyboard_control; + + switch (led) { + case CAPS_LOCK_LED: + if ((mask = get_modifier_mask(x_display, XK_Caps_Lock)) != 0) { + XkbLockModifiers(x_display, XkbUseCoreKbd, mask, set ? mask : 0); + } + return; + case NUM_LOCK_LED: + if ((mask = get_modifier_mask(x_display, XK_Num_Lock)) != 0) { + XkbLockModifiers(x_display, XkbUseCoreKbd, mask, set ? mask : 0); + } + return; + case SCROLL_LOCK_LED: + keyboard_control.led_mode = set ? LedModeOn : LedModeOff; + keyboard_control.led = led; + XChangeKeyboardControl(x_display, KBLed | KBLedMode, &keyboard_control); + return; + } +} + +G_GNUC_UNUSED +static void spice_set_keyboard_lock_modifiers(SpiceDisplay *display, uint32_t modifiers) +{ + Display *x_display; + + x_display = GDK_WINDOW_XDISPLAY(gtk_widget_get_parent_window(GTK_WIDGET(display))); + + set_keyboard_led(x_display, CAPS_LOCK_LED, !!(modifiers & SPICE_INPUTS_CAPS_LOCK)); + set_keyboard_led(x_display, NUM_LOCK_LED, !!(modifiers & SPICE_INPUTS_NUM_LOCK)); + set_keyboard_led(x_display, SCROLL_LOCK_LED, !!(modifiers & SPICE_INPUTS_SCROLL_LOCK)); +} +#elif defined (WIN32) +static guint32 get_keyboard_lock_modifiers(void) +{ + guint32 modifiers = 0; + + if (GetKeyState(VK_CAPITAL) & 1) { + modifiers |= SPICE_INPUTS_CAPS_LOCK; + } + if (GetKeyState(VK_NUMLOCK) & 1) { + modifiers |= SPICE_INPUTS_NUM_LOCK; + } + if (GetKeyState(VK_SCROLL) & 1) { + modifiers |= SPICE_INPUTS_SCROLL_LOCK; + } + + return modifiers; +} + +static void sync_keyboard_lock_modifiers(SpiceDisplay *display) +{ + SpiceDisplayPrivate *d = SPICE_DISPLAY_GET_PRIVATE(display); + guint32 modifiers; + GdkWindow *w; + + if (d->disable_inputs) + return; + + w = gtk_widget_get_parent_window(GTK_WIDGET(display)); + if (w == NULL) /* it can happen if the display is not yet shown */ + return; + + modifiers = get_keyboard_lock_modifiers(); + if (d->inputs) + spice_inputs_set_key_locks(d->inputs, modifiers); +} +#else +static void sync_keyboard_lock_modifiers(SpiceDisplay *display) +{ + g_warning("sync_keyboard_lock_modifiers not implemented"); +} +#endif // HAVE_X11_XKBLIB_H diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-widget.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-widget.h new file mode 100644 index 0000000..e344998 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spice-widget.h @@ -0,0 +1,108 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifndef __SPICE_CLIENT_WIDGET_H__ +#define __SPICE_CLIENT_WIDGET_H__ + +#include "spice-client.h" + +#include +#include "spice-grabsequence.h" +#include "spice-widget-enums.h" +#include "spice-util.h" +#include "spice-gtk-session.h" + +G_BEGIN_DECLS + +#define SPICE_TYPE_DISPLAY (spice_display_get_type()) +#define SPICE_DISPLAY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), SPICE_TYPE_DISPLAY, SpiceDisplay)) +#define SPICE_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPICE_TYPE_DISPLAY, SpiceDisplayClass)) +#define SPICE_IS_DISPLAY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SPICE_TYPE_DISPLAY)) +#define SPICE_IS_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SPICE_TYPE_DISPLAY)) +#define SPICE_DISPLAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), SPICE_TYPE_DISPLAY, SpiceDisplayClass)) + + +typedef struct _SpiceDisplay SpiceDisplay; +typedef struct _SpiceDisplayClass SpiceDisplayClass; +typedef struct _SpiceDisplayPrivate SpiceDisplayPrivate; + +struct _SpiceDisplay { + GtkDrawingArea parent; + SpiceDisplayPrivate *priv; + /* Do not add fields to this struct */ +}; + +struct _SpiceDisplayClass { + GtkDrawingAreaClass parent_class; + + /* signals */ + void (*mouse_grab)(SpiceChannel *channel, gint grabbed); + void (*keyboard_grab)(SpiceChannel *channel, gint grabbed); + + /*< private >*/ + /* + * If adding fields to this struct, remove corresponding + * amount of padding to avoid changing overall struct size + */ + gchar _spice_reserved[SPICE_RESERVED_PADDING]; +}; + +typedef enum +{ + SPICE_DISPLAY_KEY_EVENT_PRESS = 1, + SPICE_DISPLAY_KEY_EVENT_RELEASE = 2, + SPICE_DISPLAY_KEY_EVENT_CLICK = 3, +} SpiceDisplayKeyEvent; + +GType spice_display_get_type(void); + +SpiceDisplay* spice_display_new(SpiceSession *session, int channel_id); +SpiceDisplay* spice_display_new_with_monitor(SpiceSession *session, gint channel_id, gint monitor_id); + +void spice_display_mouse_ungrab(SpiceDisplay *display); +void spice_display_set_grab_keys(SpiceDisplay *display, SpiceGrabSequence *seq); +SpiceGrabSequence *spice_display_get_grab_keys(SpiceDisplay *display); +void spice_display_send_keys(SpiceDisplay *display, const guint *keyvals, + int nkeyvals, SpiceDisplayKeyEvent kind); +#ifdef CONFIG_MARU +void spice_display_send_hwkeys(SpiceDisplay *display, const guint *keyvals, + int nkeyvals, SpiceDisplayKeyEvent kind); +void spice_display_send_rotation(SpiceDisplay *display, const guint *keyvals, + int nkeyvals, SpiceDisplayKeyEvent kind); +void spice_display_send_hostkbd(SpiceDisplay *display, const guint *keyvals, + int nkeyvals, SpiceDisplayKeyEvent kind); +void spice_display_send_close(SpiceDisplay *display, const guint *keyvals, + int nkeyvals, SpiceDisplayKeyEvent kind); +void spice_display_get_sdbport(SpiceDisplay *display, const guint *keyvals, + int nkeyvals, SpiceDisplayKeyEvent kind); +#define ROTATION_0 0 +#define ROTATION_90 1 +#define ROTATION_180 2 +#define ROTATION_270 3 +#endif +GdkPixbuf *spice_display_get_pixbuf(SpiceDisplay *display); + +#ifndef SPICE_DISABLE_DEPRECATED +SPICE_DEPRECATED_FOR(spice_gtk_session_copy_to_guest) +void spice_display_copy_to_guest(SpiceDisplay *display); +SPICE_DEPRECATED_FOR(spice_gtk_session_paste_from_guest) +void spice_display_paste_from_guest(SpiceDisplay *display); +#endif + +G_END_DECLS + +#endif /* __SPICE_CLIENT_WIDGET_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spicy-screenshot.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spicy-screenshot.c new file mode 100644 index 0000000..43664b6 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spicy-screenshot.c @@ -0,0 +1,196 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif +#include + +#include "spice-client.h" +#include "spice-common.h" +#include "spice-cmdline.h" + +/* config */ +static const char *outf = "spicy-screenshot.ppm"; +static gboolean version = FALSE; + +/* state */ +static SpiceSession *session; +static GMainLoop *mainloop; + +enum SpiceSurfaceFmt d_format; +gint d_width, d_height, d_stride; +gpointer d_data; + +/* ------------------------------------------------------------------ */ + +static void primary_create(SpiceChannel *channel, gint format, + gint width, gint height, gint stride, + gint shmid, gpointer imgdata, gpointer data) +{ + SPICE_DEBUG("%s: %dx%d, format %d", __FUNCTION__, width, height, format); + d_format = format; + d_width = width; + d_height = height; + d_stride = stride; + d_data = imgdata; +} + +static int write_ppm_32(void) +{ + FILE *fp; + uint8_t *p; + int n; + + fp = fopen(outf,"w"); + if (NULL == fp) { + fprintf(stderr, _("%s: can't open %s: %s\n"), g_get_prgname(), outf, strerror(errno)); + return -1; + } + fprintf(fp, "P6\n%d %d\n255\n", + d_width, d_height); + n = d_width * d_height; + p = d_data; + while (n > 0) { + fputc(p[2], fp); + fputc(p[1], fp); + fputc(p[0], fp); + p += 4; + n--; + } + fclose(fp); + return 0; +} + +static void invalidate(SpiceChannel *channel, + gint x, gint y, gint w, gint h, gpointer *data) +{ + int rc; + + switch (d_format) { + case SPICE_SURFACE_FMT_32_xRGB: + rc = write_ppm_32(); + break; + default: + fprintf(stderr, _("unsupported spice surface format %d\n"), d_format); + rc = -1; + break; + } + if (rc == 0) + fprintf(stderr, _("wrote screen shot to %s\n"), outf); + g_main_loop_quit(mainloop); +} + +static void main_channel_event(SpiceChannel *channel, SpiceChannelEvent event, + gpointer data) +{ + switch (event) { + case SPICE_CHANNEL_OPENED: + break; + default: + g_warning("main channel event: %d", event); + g_main_loop_quit(mainloop); + } +} + +static void channel_new(SpiceSession *s, SpiceChannel *channel, gpointer *data) +{ + int id; + + if (SPICE_IS_MAIN_CHANNEL(channel)) { + g_signal_connect(channel, "channel-event", + G_CALLBACK(main_channel_event), data); + return; + } + + if (!SPICE_IS_DISPLAY_CHANNEL(channel)) + return; + + g_object_get(channel, "channel-id", &id, NULL); + if (id != 0) + return; + + g_signal_connect(channel, "display-primary-create", + G_CALLBACK(primary_create), NULL); + g_signal_connect(channel, "display-invalidate", + G_CALLBACK(invalidate), NULL); + spice_channel_connect(channel); +} + +/* ------------------------------------------------------------------ */ + +static GOptionEntry app_entries[] = { + { + .long_name = "out-file", + .short_name = 'o', + .arg = G_OPTION_ARG_FILENAME, + .arg_data = &outf, + .description = N_("Output file name (default spicy-screenshot.ppm)"), + .arg_description = N_(""), + }, + { + .long_name = "version", + .arg = G_OPTION_ARG_NONE, + .arg_data = &version, + .description = N_("Display version and quit"), + }, + { + /* end of list */ + } +}; + +int main(int argc, char *argv[]) +{ + GError *error = NULL; + GOptionContext *context; + + bindtextdomain(GETTEXT_PACKAGE, SPICE_GTK_LOCALEDIR); + bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); + textdomain(GETTEXT_PACKAGE); + + /* parse opts */ + context = g_option_context_new(_(" - make screen shots")); + g_option_context_set_summary(context, _("A Spice server client to take screenshots in ppm format.")); + g_option_context_set_description(context, _("Report bugs to " PACKAGE_BUGREPORT ".")); + g_option_context_set_main_group(context, spice_cmdline_get_option_group()); + g_option_context_add_main_entries(context, app_entries, NULL); + if (!g_option_context_parse (context, &argc, &argv, &error)) { + g_print(_("option parsing failed: %s\n"), error->message); + exit(1); + } + + if (version) { + g_print("%s " PACKAGE_VERSION "\n", g_get_prgname()); + exit(0); + } + + g_type_init(); + mainloop = g_main_loop_new(NULL, false); + + session = spice_session_new(); + g_signal_connect(session, "channel-new", + G_CALLBACK(channel_new), NULL); + spice_cmdline_session_setup(session); + + if (!spice_session_connect(session)) { + fprintf(stderr, _("spice_session_connect failed\n")); + exit(1); + } + + g_main_loop_run(mainloop); + return 0; +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spicy-stats.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spicy-stats.c new file mode 100644 index 0000000..331e5e2 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spicy-stats.c @@ -0,0 +1,144 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif +#include + +#include "spice-client.h" +#include "spice-common.h" +#include "spice-cmdline.h" + +/* config */ +static gboolean version = FALSE; + +/* state */ +static SpiceSession *session; +static GMainLoop *mainloop; + +/* ------------------------------------------------------------------ */ +static void main_channel_event(SpiceChannel *channel, SpiceChannelEvent event, + gpointer data) +{ + switch (event) { + case SPICE_CHANNEL_OPENED: + break; + default: + g_warning("main channel event: %d", event); + g_main_loop_quit(mainloop); + } +} + +static void channel_new(SpiceSession *s, SpiceChannel *channel, gpointer *data) +{ + int id; + + if (SPICE_IS_MAIN_CHANNEL(channel)) { + SPICE_DEBUG("new main channel"); + g_signal_connect(channel, "channel-event", + G_CALLBACK(main_channel_event), data); + } + + if (SPICE_IS_DISPLAY_CHANNEL(channel)) { + g_object_get(channel, "channel-id", &id, NULL); + if (id != 0) + return; + } + + spice_channel_connect(channel); +} + +/* ------------------------------------------------------------------ */ + +static GOptionEntry app_entries[] = { + { + .long_name = "version", + .arg = G_OPTION_ARG_NONE, + .arg_data = &version, + .description = N_("Display version and quit"), + }, + { + /* end of list */ + } +}; + +static void +signal_handler(int signum) +{ + g_main_loop_quit(mainloop); +} + +int main(int argc, char *argv[]) +{ + GError *error = NULL; + GOptionContext *context; + + signal(SIGINT, signal_handler); + + bindtextdomain(GETTEXT_PACKAGE, SPICE_GTK_LOCALEDIR); + bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); + textdomain(GETTEXT_PACKAGE); + + /* parse opts */ + context = g_option_context_new(_(" - make screen shots")); + g_option_context_set_summary(context, _("A Spice client used for testing and measurements.")); + g_option_context_set_description(context, _("Report bugs to " PACKAGE_BUGREPORT ".")); + g_option_context_set_main_group(context, spice_cmdline_get_option_group()); + g_option_context_add_main_entries(context, app_entries, NULL); + if (!g_option_context_parse (context, &argc, &argv, &error)) { + g_print(_("option parsing failed: %s\n"), error->message); + exit(1); + } + + if (version) { + g_print("spicy-stats " PACKAGE_VERSION "\n"); + exit(0); + } + + g_type_init(); + mainloop = g_main_loop_new(NULL, false); + + session = spice_session_new(); + g_signal_connect(session, "channel-new", + G_CALLBACK(channel_new), NULL); + spice_cmdline_session_setup(session); + + if (!spice_session_connect(session)) { + fprintf(stderr, _("spice_session_connect failed\n")); + exit(1); + } + + g_main_loop_run(mainloop); + { + GList *iter, *list = spice_session_get_channels(session); + gulong total_read_bytes; + gint channel_type; + printf("total bytes read:\n"); + for (iter = list ; iter ; iter = iter->next) { + g_object_get(iter->data, + "total-read-bytes", &total_read_bytes, + "channel-type", &channel_type, + NULL); + printf("%s: %lu\n", + spice_channel_type_to_string(channel_type), + total_read_bytes); + } + g_list_free(list); + } + return 0; +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spicy.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spicy.c new file mode 100644 index 0000000..00a45fd --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/spicy.c @@ -0,0 +1,2116 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010-2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see . +*/ + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif +#include + +#include +#ifdef HAVE_TERMIOS_H +#include +#endif + +#define GNOME_DESKTOP_USE_UNSTABLE_API 2 +#include "display/gnome-rr.h" +#include "display/gnome-rr-config.h" + +#ifdef USE_SMARTCARD +#include +#include "smartcard-manager.h" +#endif + +#include "glib-compat.h" +#include "spice-widget.h" +#include "spice-gtk-session.h" +#include "spice-audio.h" +#include "spice-client.h" +#include "spice-common.h" +#include "spice-channel-priv.h" +#include "spice-cmdline.h" +#include "spice-option.h" +#include "usb-device-widget.h" +#include "channel-inputs.h" + +typedef struct spice_connection spice_connection; + +enum { + STATE_SCROLL_LOCK, + STATE_CAPS_LOCK, + STATE_NUM_LOCK, + STATE_MAX, +}; + +#define SPICE_TYPE_WINDOW (spice_window_get_type ()) +#define SPICE_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPICE_TYPE_WINDOW, SpiceWindow)) +#define SPICE_IS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPICE_TYPE_WINDOW)) +#define SPICE_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SPICE_TYPE_WINDOW, SpiceWindowClass)) +#define SPICE_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPICE_TYPE_WINDOW)) +#define SPICE_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPICE_TYPE_WINDOW, SpiceWindowClass)) + +typedef struct _SpiceWindow SpiceWindow; +typedef struct _SpiceWindowClass SpiceWindowClass; + +struct _SpiceWindow { + GObject object; + spice_connection *conn; + gint id; + gint monitor_id; + GtkWidget *toplevel, *spice; + GtkWidget *menubar, *toolbar; + GtkWidget *ritem, *rmenu; + GtkWidget *statusbar, *status, *st[STATE_MAX]; + GtkActionGroup *ag; + GtkUIManager *ui; + bool fullscreen; + bool mouse_grabbed; + SpiceChannel *display_channel; +#ifdef WIN32 + gint win_x; + gint win_y; +#endif + bool enable_accels_save; + bool enable_mnemonics_save; +}; + +struct _SpiceWindowClass +{ + GObjectClass parent_class; +}; + +G_DEFINE_TYPE (SpiceWindow, spice_window, G_TYPE_OBJECT); + +#define CHANNELID_MAX 4 +#define MONITORID_MAX 4 + +// FIXME: turn this into an object, get rid of fixed wins array, use +// signals to replace the various callback that iterate over wins array +struct spice_connection { + SpiceSession *session; + SpiceGtkSession *gtk_session; + SpiceMainChannel *main; + SpiceWindow *wins[CHANNELID_MAX * MONITORID_MAX]; + SpiceAudio *audio; + const char *mouse_state; + const char *agent_state; + gboolean agent_connected; + int channels; + int disconnecting; +}; + +static spice_connection *connection_new(void); +static void connection_connect(spice_connection *conn); +static void connection_disconnect(spice_connection *conn); +static void connection_destroy(spice_connection *conn); +static void resolution_fullscreen(SpiceWindow *win); +static void resolution_restore(SpiceWindow *win); +static void usb_connect_failed(GObject *object, + SpiceUsbDevice *device, + GError *error, + gpointer data); +static gboolean is_gtk_session_property(const gchar *property); +static void del_window(spice_connection *conn, SpiceWindow *win); +/* options */ +static gboolean fullscreen = false; +static gboolean version = false; +static char *spicy_title = NULL; +/* globals */ +static GMainLoop *mainloop = NULL; +static int connections = 0; +static GKeyFile *keyfile = NULL; +static SpicePortChannel*stdin_port = NULL; +static GnomeRRScreen *rrscreen = NULL; +static GnomeRRConfig *rrsaved = NULL; +static GnomeRRConfig *rrcurrent = NULL; + +/* ------------------------------------------------------------------ */ + +static int ask_user(GtkWidget *parent, char *title, char *message, + char *dest, int dlen, int hide) +{ + GtkWidget *dialog, *area, *label, *entry; + const char *txt; + int retval; + + /* Create the widgets */ + dialog = gtk_dialog_new_with_buttons(title, + parent ? GTK_WINDOW(parent) : NULL, + GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_STOCK_OK, + GTK_RESPONSE_ACCEPT, + GTK_STOCK_CANCEL, + GTK_RESPONSE_REJECT, + NULL); + gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_ACCEPT); + area = gtk_dialog_get_content_area(GTK_DIALOG(dialog)); + + label = gtk_label_new(message); + gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); + gtk_box_pack_start(GTK_BOX(area), label, FALSE, FALSE, 5); + + entry = gtk_entry_new(); + gtk_entry_set_text(GTK_ENTRY(entry), dest); + gtk_entry_set_activates_default(GTK_ENTRY(entry), TRUE); + if (hide) + gtk_entry_set_visibility(GTK_ENTRY(entry), FALSE); + gtk_box_pack_start(GTK_BOX(area), entry, FALSE, FALSE, 5); + + /* show and wait for response */ + gtk_widget_show_all(dialog); + switch (gtk_dialog_run(GTK_DIALOG(dialog))) { + case GTK_RESPONSE_ACCEPT: + txt = gtk_entry_get_text(GTK_ENTRY(entry)); + snprintf(dest, dlen, "%s", txt); + retval = 0; + break; + default: + retval = -1; + break; + } + gtk_widget_destroy(dialog); + return retval; +} + +static struct { + const char *text; + const char *prop; + GtkWidget *entry; +} connect_entries[] = { + { .text = N_("Hostname"), .prop = "host" }, + { .text = N_("Port"), .prop = "port" }, + { .text = N_("TLS Port"), .prop = "tls-port" }, +}; + +#ifndef WIN32 +static void recent_selection_changed_dialog_cb(GtkRecentChooser *chooser, gpointer data) +{ + GtkRecentInfo *info; + gchar *txt = NULL; + const gchar *uri; + SpiceSession *session = data; + + info = gtk_recent_chooser_get_current_item(chooser); + if (info == NULL) + return; + + uri = gtk_recent_info_get_uri(info); + g_return_if_fail(uri != NULL); + + g_object_set(session, "uri", uri, NULL); + + g_object_get(session, "host", &txt, NULL); + gtk_entry_set_text(GTK_ENTRY(connect_entries[0].entry), txt ? txt : ""); + g_free(txt); + + g_object_get(session, "port", &txt, NULL); + gtk_entry_set_text(GTK_ENTRY(connect_entries[1].entry), txt ? txt : ""); + g_free(txt); + + g_object_get(session, "tls-port", &txt, NULL); + gtk_entry_set_text(GTK_ENTRY(connect_entries[2].entry), txt ? txt : ""); + g_free(txt); + + gtk_recent_info_unref(info); +} + +static void recent_item_activated_dialog_cb(GtkRecentChooser *chooser, gpointer data) +{ + gtk_dialog_response (GTK_DIALOG (data), GTK_RESPONSE_ACCEPT); +} +#endif + +static int connect_dialog(SpiceSession *session) +{ + GtkWidget *dialog, *area, *label; + GtkTable *table; + int i, retval; + + /* Create the widgets */ + dialog = gtk_dialog_new_with_buttons(_("Connect to SPICE"), + NULL, + GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_STOCK_CANCEL, + GTK_RESPONSE_REJECT, + GTK_STOCK_CONNECT, + GTK_RESPONSE_ACCEPT, + NULL); + gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_ACCEPT); + area = gtk_dialog_get_content_area(GTK_DIALOG(dialog)); + table = GTK_TABLE(gtk_table_new(3, 2, 0)); + gtk_box_pack_start(GTK_BOX(area), GTK_WIDGET(table), TRUE, TRUE, 0); + gtk_table_set_row_spacings(table, 5); + gtk_table_set_col_spacings(table, 5); + + for (i = 0; i < SPICE_N_ELEMENTS(connect_entries); i++) { + gchar *txt; + label = gtk_label_new(connect_entries[i].text); + gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); + gtk_table_attach_defaults(table, label, 0, 1, i, i+1); + connect_entries[i].entry = GTK_WIDGET(gtk_entry_new()); + gtk_table_attach_defaults(table, connect_entries[i].entry, 1, 2, i, i+1); + g_object_get(session, connect_entries[i].prop, &txt, NULL); + SPICE_DEBUG("%s: #%i [%s]: \"%s\"", + __FUNCTION__, i, connect_entries[i].prop, txt); + if (txt) { + gtk_entry_set_text(GTK_ENTRY(connect_entries[i].entry), txt); + g_free(txt); + } + } + + label = gtk_label_new("Recent connections:"); + gtk_box_pack_start(GTK_BOX(area), label, TRUE, TRUE, 0); + gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); +#ifndef WIN32 + GtkRecentFilter *rfilter; + GtkWidget *recent; + + recent = GTK_WIDGET(gtk_recent_chooser_widget_new()); + gtk_recent_chooser_set_show_icons(GTK_RECENT_CHOOSER(recent), FALSE); + gtk_box_pack_start(GTK_BOX(area), recent, TRUE, TRUE, 0); + + rfilter = gtk_recent_filter_new(); + gtk_recent_filter_add_mime_type(rfilter, "application/x-spice"); + gtk_recent_chooser_set_filter(GTK_RECENT_CHOOSER(recent), rfilter); + gtk_recent_chooser_set_local_only(GTK_RECENT_CHOOSER(recent), FALSE); + g_signal_connect(recent, "selection-changed", + G_CALLBACK(recent_selection_changed_dialog_cb), session); + g_signal_connect(recent, "item-activated", + G_CALLBACK(recent_item_activated_dialog_cb), dialog); +#endif + /* show and wait for response */ + gtk_widget_show_all(dialog); + if (gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_ACCEPT) { + for (i = 0; i < SPICE_N_ELEMENTS(connect_entries); i++) { + const gchar *txt; + txt = gtk_entry_get_text(GTK_ENTRY(connect_entries[i].entry)); + g_object_set(session, connect_entries[i].prop, txt, NULL); + } + retval = 0; + } else + retval = -1; + gtk_widget_destroy(dialog); + return retval; +} + +/* ------------------------------------------------------------------ */ + +static void update_status_window(SpiceWindow *win) +{ + gchar *status; + + if (win == NULL) + return; + + if (win->mouse_grabbed) { + SpiceGrabSequence *sequence = spice_display_get_grab_keys(SPICE_DISPLAY(win->spice)); + gchar *seq = spice_grab_sequence_as_string(sequence); + status = g_strdup_printf(_("Use %s to ungrab mouse."), seq); + g_free(seq); + } else { + status = g_strdup_printf(_("mouse: %s, agent: %s"), + win->conn->mouse_state, win->conn->agent_state); + } + + gtk_label_set_text(GTK_LABEL(win->status), status); + g_free(status); +} + +static void update_status(struct spice_connection *conn) +{ + int i; + + for (i = 0; i < SPICE_N_ELEMENTS(conn->wins); i++) { + if (conn->wins[i] == NULL) + continue; + update_status_window(conn->wins[i]); + } +} + +static const char *spice_edit_properties[] = { + "CopyToGuest", + "PasteFromGuest", +}; + +static void update_edit_menu_window(SpiceWindow *win) +{ + int i; + GtkAction *toggle; + + if (win == NULL) { + return; + } + + /* Make "CopyToGuest" and "PasteFromGuest" insensitive if spice + * agent is not connected */ + for (i = 0; i < G_N_ELEMENTS(spice_edit_properties); i++) { + toggle = gtk_action_group_get_action(win->ag, spice_edit_properties[i]); + if (toggle) { + gtk_action_set_sensitive(toggle, win->conn->agent_connected); + } + } +} + +static void update_edit_menu(struct spice_connection *conn) +{ + int i; + + for (i = 0; i < SPICE_N_ELEMENTS(conn->wins); i++) { + if (conn->wins[i]) { + update_edit_menu_window(conn->wins[i]); + } + } +} + +static void menu_cb_connect(GtkAction *action, void *data) +{ + struct spice_connection *conn; + + conn = connection_new(); + connection_connect(conn); +} + +static void menu_cb_close(GtkAction *action, void *data) +{ + SpiceWindow *win = data; + + connection_disconnect(win->conn); +} + +static void menu_cb_copy(GtkAction *action, void *data) +{ + SpiceWindow *win = data; + + spice_gtk_session_copy_to_guest(win->conn->gtk_session); +} + +static void menu_cb_paste(GtkAction *action, void *data) +{ + SpiceWindow *win = data; + + spice_gtk_session_paste_from_guest(win->conn->gtk_session); +} + +static void window_set_fullscreen(SpiceWindow *win, gboolean fs) +{ + if (fs) { +#ifdef WIN32 + gtk_window_get_position(GTK_WINDOW(win->toplevel), &win->win_x, &win->win_y); +#endif + gtk_window_fullscreen(GTK_WINDOW(win->toplevel)); + } else { + gtk_window_unfullscreen(GTK_WINDOW(win->toplevel)); +#ifdef WIN32 + gtk_window_move(GTK_WINDOW(win->toplevel), win->win_x, win->win_y); +#endif + } +} + +static void menu_cb_fullscreen(GtkAction *action, void *data) +{ + SpiceWindow *win = data; + + window_set_fullscreen(win, !win->fullscreen); +} + +#ifdef USE_SMARTCARD +static void enable_smartcard_actions(SpiceWindow *win, VReader *reader, + gboolean can_insert, gboolean can_remove) +{ + GtkAction *action; + + if ((reader != NULL) && (!spice_smartcard_reader_is_software((SpiceSmartcardReader*)reader))) + { + /* Having menu actions to insert/remove smartcards only makes sense + * for software smartcard readers, don't do anything when the event + * we received was for a "real" smartcard reader. + */ + return; + } + action = gtk_action_group_get_action(win->ag, "InsertSmartcard"); + g_return_if_fail(action != NULL); + gtk_action_set_sensitive(action, can_insert); + action = gtk_action_group_get_action(win->ag, "RemoveSmartcard"); + g_return_if_fail(action != NULL); + gtk_action_set_sensitive(action, can_remove); +} + + +static void reader_added_cb(SpiceSmartcardManager *manager, VReader *reader, + gpointer user_data) +{ + enable_smartcard_actions(user_data, reader, TRUE, FALSE); +} + +static void reader_removed_cb(SpiceSmartcardManager *manager, VReader *reader, + gpointer user_data) +{ + enable_smartcard_actions(user_data, reader, FALSE, FALSE); +} + +static void card_inserted_cb(SpiceSmartcardManager *manager, VReader *reader, + gpointer user_data) +{ + enable_smartcard_actions(user_data, reader, FALSE, TRUE); +} + +static void card_removed_cb(SpiceSmartcardManager *manager, VReader *reader, + gpointer user_data) +{ + enable_smartcard_actions(user_data, reader, TRUE, FALSE); +} + +static void menu_cb_insert_smartcard(GtkAction *action, void *data) +{ + spice_smartcard_manager_insert_card(spice_smartcard_manager_get()); +} + +static void menu_cb_remove_smartcard(GtkAction *action, void *data) +{ + spice_smartcard_manager_remove_card(spice_smartcard_manager_get()); +} +#endif + +#ifdef USE_USBREDIR +static void remove_cb(GtkContainer *container, GtkWidget *widget, void *data) +{ + gtk_window_resize(GTK_WINDOW(data), 1, 1); +} + +static void menu_cb_select_usb_devices(GtkAction *action, void *data) +{ + GtkWidget *dialog, *area, *usb_device_widget; + SpiceWindow *win = data; + + /* Create the widgets */ + dialog = gtk_dialog_new_with_buttons( + _("Select USB devices for redirection"), + GTK_WINDOW(win->toplevel), + GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_STOCK_CLOSE, GTK_RESPONSE_ACCEPT, + NULL); + gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_ACCEPT); + gtk_container_set_border_width(GTK_CONTAINER(dialog), 12); + gtk_box_set_spacing(GTK_BOX(gtk_bin_get_child(GTK_BIN(dialog))), 12); + + area = gtk_dialog_get_content_area(GTK_DIALOG(dialog)); + + usb_device_widget = spice_usb_device_widget_new(win->conn->session, + NULL); /* default format */ + g_signal_connect(usb_device_widget, "connect-failed", + G_CALLBACK(usb_connect_failed), NULL); + gtk_box_pack_start(GTK_BOX(area), usb_device_widget, TRUE, TRUE, 0); + + /* This shrinks the dialog when USB devices are unplugged */ + g_signal_connect(usb_device_widget, "remove", + G_CALLBACK(remove_cb), dialog); + + /* show and run */ + gtk_widget_show_all(dialog); + gtk_dialog_run(GTK_DIALOG(dialog)); + gtk_widget_destroy(dialog); +} +#endif + +static void menu_cb_bool_prop(GtkToggleAction *action, gpointer data) +{ + SpiceWindow *win = data; + gboolean state = gtk_toggle_action_get_active(action); + const char *name; + gpointer object; + + name = gtk_action_get_name(GTK_ACTION(action)); + SPICE_DEBUG("%s: %s = %s", __FUNCTION__, name, state ? _("yes") : _("no")); + + g_key_file_set_boolean(keyfile, "general", name, state); + + if (is_gtk_session_property(name)) { + object = win->conn->gtk_session; + } else { + object = win->spice; + } + g_object_set(object, name, state, NULL); +} + +static void menu_cb_conn_bool_prop_changed(GObject *gobject, + GParamSpec *pspec, + gpointer user_data) +{ + SpiceWindow *win = user_data; + const gchar *property = g_param_spec_get_name(pspec); + GtkAction *toggle; + gboolean state; + + toggle = gtk_action_group_get_action(win->ag, property); + g_object_get(win->conn->gtk_session, property, &state, NULL); + gtk_toggle_action_set_active(GTK_TOGGLE_ACTION(toggle), state); +} + +static void menu_cb_toolbar(GtkToggleAction *action, gpointer data) +{ + SpiceWindow *win = data; + gboolean state = gtk_toggle_action_get_active(action); + + gtk_widget_set_visible(win->toolbar, state); + g_key_file_set_boolean(keyfile, "ui", "toolbar", state); +} + +static void menu_cb_statusbar(GtkToggleAction *action, gpointer data) +{ + SpiceWindow *win = data; + gboolean state = gtk_toggle_action_get_active(action); + + gtk_widget_set_visible(win->statusbar, state); + g_key_file_set_boolean(keyfile, "ui", "statusbar", state); +} + +static void menu_cb_about(GtkAction *action, void *data) +{ + char *comments = _("gtk client app for the\n" + "spice remote desktop protocol"); + static const char *copyright = "(c) 2010 Red Hat"; + static const char *website = "http://www.spice-space.org"; + static const char *authors[] = { "Gerd Hoffmann ", + "Marc-André Lureau ", + NULL }; + SpiceWindow *win = data; + + gtk_show_about_dialog(GTK_WINDOW(win->toplevel), + "authors", authors, + "comments", comments, + "copyright", copyright, + "logo-icon-name", GTK_STOCK_ABOUT, + "website", website, + "version", PACKAGE_VERSION, + "license", "LGPLv2.1", + NULL); +} + +static gboolean delete_cb(GtkWidget *widget, GdkEvent *event, gpointer data) +{ + SpiceWindow *win = data; + + if (win->monitor_id == 0) + connection_disconnect(win->conn); + else + del_window(win->conn, win); + + return true; +} + +static gboolean window_state_cb(GtkWidget *widget, GdkEventWindowState *event, + gpointer data) +{ + SpiceWindow *win = data; + if (event->changed_mask & GDK_WINDOW_STATE_FULLSCREEN) { + win->fullscreen = event->new_window_state & GDK_WINDOW_STATE_FULLSCREEN; + if (win->fullscreen) { + gtk_widget_hide(win->menubar); + gtk_widget_hide(win->toolbar); + gtk_widget_hide(win->statusbar); + gtk_widget_grab_focus(win->spice); + } else { + gboolean state; + GtkAction *toggle; + + gtk_widget_show(win->menubar); + toggle = gtk_action_group_get_action(win->ag, "Toolbar"); + state = gtk_toggle_action_get_active(GTK_TOGGLE_ACTION(toggle)); + gtk_widget_set_visible(win->toolbar, state); + toggle = gtk_action_group_get_action(win->ag, "Statusbar"); + state = gtk_toggle_action_get_active(GTK_TOGGLE_ACTION(toggle)); + gtk_widget_set_visible(win->statusbar, state); + } + } + return TRUE; +} + +static void grab_keys_pressed_cb(GtkWidget *widget, gpointer data) +{ + SpiceWindow *win = data; + + /* since mnemonics are disabled, we leave fullscreen when + ungrabbing mouse. Perhaps we should have a different handling + of fullscreen key, or simply use a UI, like vinagre */ + window_set_fullscreen(win, FALSE); +} + +static void mouse_grab_cb(GtkWidget *widget, gint grabbed, gpointer data) +{ + SpiceWindow *win = data; + + win->mouse_grabbed = grabbed; + update_status(win->conn); +} + +static void keyboard_grab_cb(GtkWidget *widget, gint grabbed, gpointer data) +{ + SpiceWindow *win = data; + GtkSettings *settings = gtk_widget_get_settings (widget); + + if (grabbed) { + /* disable mnemonics & accels */ + g_object_get(settings, + "gtk-enable-accels", &win->enable_accels_save, + "gtk-enable-mnemonics", &win->enable_mnemonics_save, + NULL); + g_object_set(settings, + "gtk-enable-accels", FALSE, + "gtk-enable-mnemonics", FALSE, + NULL); + } else { + g_object_set(settings, + "gtk-enable-accels", win->enable_accels_save, + "gtk-enable-mnemonics", win->enable_mnemonics_save, + NULL); + } +} + +static void restore_configuration(SpiceWindow *win) +{ + gboolean state; + gchar *str; + gchar **keys = NULL; + gsize nkeys, i; + GError *error = NULL; + gpointer object; + + keys = g_key_file_get_keys(keyfile, "general", &nkeys, &error); + if (error != NULL) { + if (error->code != G_KEY_FILE_ERROR_GROUP_NOT_FOUND) + g_warning("Failed to read configuration file keys: %s", error->message); + g_clear_error(&error); + return; + } + + if (nkeys > 0) + g_return_if_fail(keys != NULL); + + for (i = 0; i < nkeys; ++i) { + if (g_str_equal(keys[i], "grab-sequence")) + continue; + state = g_key_file_get_boolean(keyfile, "general", keys[i], &error); + if (error != NULL) { + g_clear_error(&error); + continue; + } + + if (is_gtk_session_property(keys[i])) { + object = win->conn->gtk_session; + } else { + object = win->spice; + } + g_object_set(object, keys[i], state, NULL); + } + + g_strfreev(keys); + + str = g_key_file_get_string(keyfile, "general", "grab-sequence", &error); + if (error == NULL) { + SpiceGrabSequence *seq = spice_grab_sequence_new_from_string(str); + spice_display_set_grab_keys(SPICE_DISPLAY(win->spice), seq); + spice_grab_sequence_free(seq); + g_free(str); + } + g_clear_error(&error); + + + state = g_key_file_get_boolean(keyfile, "ui", "toolbar", &error); + if (error == NULL) + gtk_widget_set_visible(win->toolbar, state); + g_clear_error(&error); + + state = g_key_file_get_boolean(keyfile, "ui", "statusbar", &error); + if (error == NULL) + gtk_widget_set_visible(win->statusbar, state); + g_clear_error(&error); +} + +/* ------------------------------------------------------------------ */ + +static const GtkActionEntry entries[] = { + { + .name = "FileMenu", + .label = "_File", + },{ + .name = "FileRecentMenu", + .label = "_Recent", + },{ + .name = "EditMenu", + .label = "_Edit", + },{ + .name = "ViewMenu", + .label = "_View", + },{ + .name = "InputMenu", + .label = "_Input", + },{ + .name = "OptionMenu", + .label = "_Options", + },{ + .name = "HelpMenu", + .label = "_Help", + },{ + + /* File menu */ + .name = "Connect", + .stock_id = GTK_STOCK_CONNECT, + .label = N_("_Connect ..."), + .callback = G_CALLBACK(menu_cb_connect), + },{ + .name = "Close", + .stock_id = GTK_STOCK_CLOSE, + .label = N_("_Close"), + .callback = G_CALLBACK(menu_cb_close), + .accelerator = "", /* none (disable default "W") */ + },{ + + /* Edit menu */ + .name = "CopyToGuest", + .stock_id = GTK_STOCK_COPY, + .label = N_("_Copy to guest"), + .callback = G_CALLBACK(menu_cb_copy), + .accelerator = "", /* none (disable default "C") */ + },{ + .name = "PasteFromGuest", + .stock_id = GTK_STOCK_PASTE, + .label = N_("_Paste from guest"), + .callback = G_CALLBACK(menu_cb_paste), + .accelerator = "", /* none (disable default "V") */ + },{ + + /* View menu */ + .name = "Fullscreen", + .stock_id = GTK_STOCK_FULLSCREEN, + .label = N_("_Fullscreen"), + .callback = G_CALLBACK(menu_cb_fullscreen), + .accelerator = "F11", + },{ +#ifdef USE_SMARTCARD + .name = "InsertSmartcard", + .label = N_("_Insert Smartcard"), + .callback = G_CALLBACK(menu_cb_insert_smartcard), + .accelerator = "F8", + },{ + .name = "RemoveSmartcard", + .label = N_("_Remove Smartcard"), + .callback = G_CALLBACK(menu_cb_remove_smartcard), + .accelerator = "F9", + },{ +#endif + +#ifdef USE_USBREDIR + .name = "SelectUsbDevices", + .label = N_("_Select USB Devices for redirection"), + .callback = G_CALLBACK(menu_cb_select_usb_devices), + .accelerator = "F10", + },{ +#endif + + /* Help menu */ + .name = "About", + .stock_id = GTK_STOCK_ABOUT, + .label = N_("_About ..."), + .callback = G_CALLBACK(menu_cb_about), + } +/*,{ + .name = "Home", + .label = N_("_Home"), + .callback = G_CALLBACK(menu_cb_btclick_home), + }*/ +}; + +static const char *spice_display_properties[] = { + "grab-keyboard", + "grab-mouse", + "resize-guest", + "scaling", + "disable-inputs", +}; + +static const char *spice_gtk_session_properties[] = { + "auto-clipboard", + "auto-usbredir", +}; + +static const GtkToggleActionEntry tentries[] = { + { + .name = "grab-keyboard", + .label = N_("Grab keyboard when active and focused"), + .callback = G_CALLBACK(menu_cb_bool_prop), + },{ + .name = "grab-mouse", + .label = N_("Grab mouse in server mode (no tabled/vdagent)"), + .callback = G_CALLBACK(menu_cb_bool_prop), + },{ + .name = "resize-guest", + .label = N_("Resize guest to match window size"), + .callback = G_CALLBACK(menu_cb_bool_prop), + },{ + .name = "scaling", + .label = N_("Scale display"), + .callback = G_CALLBACK(menu_cb_bool_prop), + },{ + .name = "disable-inputs", + .label = N_("Disable inputs"), + .callback = G_CALLBACK(menu_cb_bool_prop), + },{ + .name = "auto-clipboard", + .label = N_("Automagic clipboard sharing between host and guest"), + .callback = G_CALLBACK(menu_cb_bool_prop), + },{ + .name = "auto-usbredir", + .label = N_("Auto redirect newly plugged in USB devices"), + .callback = G_CALLBACK(menu_cb_bool_prop), + },{ + .name = "Statusbar", + .label = N_("Statusbar"), + .callback = G_CALLBACK(menu_cb_statusbar), + },{ + .name = "Toolbar", + .label = N_("Toolbar"), + .callback = G_CALLBACK(menu_cb_toolbar), + } +}; + +static char ui_xml[] = +"\n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +#ifdef USE_SMARTCARD +" \n" +" \n" +#endif +" \n" +#ifdef USE_USBREDIR +" \n" +#endif +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +"\n"; + +static gboolean is_gtk_session_property(const gchar *property) +{ + int i; + + for (i = 0; i < G_N_ELEMENTS(spice_gtk_session_properties); i++) { + if (!strcmp(spice_gtk_session_properties[i], property)) { + return TRUE; + } + } + return FALSE; +} + +#ifndef WIN32 +static void recent_item_activated_cb(GtkRecentChooser *chooser, gpointer data) +{ + GtkRecentInfo *info; + struct spice_connection *conn; + const char *uri; + + info = gtk_recent_chooser_get_current_item(chooser); + + uri = gtk_recent_info_get_uri(info); + g_return_if_fail(uri != NULL); + + conn = connection_new(); + g_object_set(conn->session, "uri", uri, NULL); + gtk_recent_info_unref(info); + connection_connect(conn); +} +#endif + +static GnomeRROutputInfo * +get_nearest_output (GnomeRRConfig *configuration, int x, int y) +{ + int i; + int nearest_index; + int nearest_dist; + GnomeRROutputInfo **outputs; + + nearest_index = -1; + nearest_dist = G_MAXINT; + + outputs = gnome_rr_config_get_outputs (configuration); + for (i = 0; outputs[i] != NULL; i++) + { + int dist_x, dist_y; + int output_x, output_y, output_width, output_height; + + if (!(gnome_rr_output_info_is_connected (outputs[i]) && gnome_rr_output_info_is_active (outputs[i]))) + continue; + + gnome_rr_output_info_get_geometry (outputs[i], &output_x, &output_y, &output_width, &output_height); + + if (x < output_x) + dist_x = output_x - x; + else if (x >= output_x + output_width) + dist_x = x - (output_x + output_width) + 1; + else + dist_x = 0; + + if (y < output_y) + dist_y = output_y - y; + else if (y >= output_y + output_height) + dist_y = y - (output_y + output_height) + 1; + else + dist_y = 0; + + if (MIN (dist_x, dist_y) < nearest_dist) + { + nearest_dist = MIN (dist_x, dist_y); + nearest_index = i; + } + } + + if (nearest_index != -1) + return outputs[nearest_index]; + else + return NULL; +} + +#if !GTK_CHECK_VERSION (2, 91, 0) +#define gdk_window_get_geometry(win,x,y,w,h) gdk_window_get_geometry(win,x,y,w,h,NULL) +#endif + +static GnomeRROutputInfo * +get_output_for_window(GnomeRRConfig *configuration, GdkWindow *window) +{ + GdkRectangle win_rect; + int i; + int largest_area; + int largest_index; + GnomeRROutputInfo **outputs; + + gdk_window_get_geometry (window, &win_rect.x, &win_rect.y, &win_rect.width, &win_rect.height); + gdk_window_get_origin (window, &win_rect.x, &win_rect.y); + + largest_area = 0; + largest_index = -1; + + outputs = gnome_rr_config_get_outputs (configuration); + for (i = 0; outputs[i] != NULL; i++) + { + GdkRectangle output_rect, intersection; + + gnome_rr_output_info_get_geometry (outputs[i], &output_rect.x, &output_rect.y, &output_rect.width, &output_rect.height); + + if (gnome_rr_output_info_is_connected (outputs[i]) && gdk_rectangle_intersect (&win_rect, &output_rect, &intersection)) + { + int area; + + area = intersection.width * intersection.height; + if (area > largest_area) + { + largest_area = area; + largest_index = i; + } + } + } + + if (largest_index != -1) + return outputs[largest_index]; + else + return get_nearest_output (configuration, + win_rect.x + win_rect.width / 2, + win_rect.y + win_rect.height / 2); +} + +static void +on_screen_changed(GnomeRRScreen *scr, gpointer data) +{ + GError *error = NULL; + GnomeRRConfig *current; + + current = gnome_rr_config_new_current(rrscreen, &error); + if (!current) { + g_warning("Can't get current display config: %s", error->message); + goto end; + } + + if (rrcurrent) + g_object_unref(rrcurrent); + rrcurrent = current; + +end: + g_clear_error(&error); +} + +static void resolution_fullscreen(SpiceWindow *win) +{ + GnomeRROutputInfo *output; + int x, y, width, height; + GError *error = NULL;; + + if (!rrsaved) { + rrsaved = gnome_rr_config_new_current(rrscreen, &error); + g_clear_error(&error); + } + + output = get_output_for_window(rrcurrent, gtk_widget_get_window(win->spice)); + g_return_if_fail(output != NULL); + + gnome_rr_output_info_get_geometry (output, &x, &y, &width, &height); + g_object_get(win->display_channel, "width", &width, "height", &height, NULL); + gnome_rr_output_info_set_geometry (output, x, y, width, height); + + if (!gnome_rr_config_apply_with_time(rrcurrent, rrscreen, + gtk_get_current_event_time (), &error)) { + g_warning("Can't set display config: %s", error->message); + } + g_clear_error(&error); + +#ifdef WIN32 + /* recenter the window on Windows */ + gtk_window_fullscreen(GTK_WINDOW(win->toplevel)); +#endif +} + +static void resolution_restore(SpiceWindow *win) +{ + GnomeRROutputInfo *output, *saved; + int x, y, width, height; + GError *error = NULL;; + + if (rrsaved == NULL) + return; + + output = get_output_for_window(rrcurrent, gtk_widget_get_window(win->spice)); + g_return_if_fail(output != NULL); + saved = get_output_for_window(rrsaved, gtk_widget_get_window(win->spice)); + g_return_if_fail(saved != NULL); + + gnome_rr_output_info_get_geometry (saved, &x, &y, &width, &height); + gnome_rr_output_info_set_geometry (output, x, y, width, height); + + if (!gnome_rr_config_apply_with_time(rrcurrent, rrscreen, + gtk_get_current_event_time (), &error)) { + g_warning("Can't set display config: %s", error->message); + } + g_clear_error(&error); + +#ifdef WIN32 + /* recenter the window on Windows */ + gtk_window_unfullscreen(GTK_WINDOW(win->toplevel)); +#endif +} + +static void resolution_restore_all(void) +{ + GError *error = NULL;; + + if (!rrsaved) + return; + + if (!gnome_rr_config_apply_with_time(rrsaved, rrscreen, + gtk_get_current_event_time (), &error)) { + g_warning("Can't restore display config: %s", error->message); + } + g_clear_error(&error); + + g_object_unref(rrsaved); + rrsaved = NULL; +} + +static gboolean configure_event_cb(GtkWidget *widget, + GdkEventConfigure *event, + gpointer data) +{ + gboolean resize_guest; + SpiceWindow *win = data; + + g_return_val_if_fail(win != NULL, FALSE); + g_return_val_if_fail(win->conn != NULL, FALSE); + + g_object_get(win->spice, "resize-guest", &resize_guest, NULL); + if (resize_guest && win->conn->agent_connected) + return FALSE; + + if (win->fullscreen) + resolution_fullscreen(win); + else + resolution_restore(win); + + return FALSE; +} + +static void +spice_window_class_init (SpiceWindowClass *klass) +{ +} + +static void +spice_window_init (SpiceWindow *self) +{ +} + +static SpiceWindow *create_spice_window(spice_connection *conn, SpiceChannel *channel, int id, gint monitor_id) +{ + char title[32]; + SpiceWindow *win; + GtkAction *toggle; + gboolean state; + GtkWidget *vbox, *frame; + GError *err = NULL; + int i; + SpiceGrabSequence *seq; + + win = g_object_new(SPICE_TYPE_WINDOW, NULL); + win->id = id; + win->monitor_id = monitor_id; + win->conn = conn; + win->display_channel = channel; + + /* toplevel */ + win->toplevel = gtk_window_new(GTK_WINDOW_TOPLEVEL); + if (spicy_title == NULL) { + snprintf(title, sizeof(title), _("spice display %d:%d"), id, monitor_id); + } else { + snprintf(title, sizeof(title), "%s", spicy_title); + } + + gtk_window_set_title(GTK_WINDOW(win->toplevel), title); + g_signal_connect(G_OBJECT(win->toplevel), "window-state-event", + G_CALLBACK(window_state_cb), win); + g_signal_connect(G_OBJECT(win->toplevel), "delete-event", + G_CALLBACK(delete_cb), win); + + /* menu + toolbar */ + win->ui = gtk_ui_manager_new(); + win->ag = gtk_action_group_new("MenuActions"); + gtk_action_group_add_actions(win->ag, entries, G_N_ELEMENTS(entries), win); + gtk_action_group_add_toggle_actions(win->ag, tentries, + G_N_ELEMENTS(tentries), win); + gtk_ui_manager_insert_action_group(win->ui, win->ag, 0); + gtk_window_add_accel_group(GTK_WINDOW(win->toplevel), + gtk_ui_manager_get_accel_group(win->ui)); + + err = NULL; + if (!gtk_ui_manager_add_ui_from_string(win->ui, ui_xml, -1, &err)) { + g_warning("building menus failed: %s", err->message); + g_error_free(err); + exit(1); + } + win->menubar = gtk_ui_manager_get_widget(win->ui, "/MainMenu"); + win->toolbar = gtk_ui_manager_get_widget(win->ui, "/ToolBar"); + + /* recent menu */ + win->ritem = gtk_ui_manager_get_widget + (win->ui, "/MainMenu/FileMenu/FileRecentMenu"); + +#ifndef WIN32 + GtkRecentFilter *rfilter; + + win->rmenu = gtk_recent_chooser_menu_new(); + gtk_recent_chooser_set_show_icons(GTK_RECENT_CHOOSER(win->rmenu), FALSE); + rfilter = gtk_recent_filter_new(); + gtk_recent_filter_add_mime_type(rfilter, "application/x-spice"); + gtk_recent_chooser_add_filter(GTK_RECENT_CHOOSER(win->rmenu), rfilter); + gtk_recent_chooser_set_local_only(GTK_RECENT_CHOOSER(win->rmenu), FALSE); + gtk_menu_item_set_submenu(GTK_MENU_ITEM(win->ritem), win->rmenu); + g_signal_connect(win->rmenu, "item-activated", + G_CALLBACK(recent_item_activated_cb), win); +#endif + + /* spice display */ + win->spice = GTK_WIDGET(spice_display_new_with_monitor(conn->session, id, monitor_id)); + g_signal_connect(win->spice, "configure-event", G_CALLBACK(configure_event_cb), win); + seq = spice_grab_sequence_new_from_string("Shift_L+F12"); + spice_display_set_grab_keys(SPICE_DISPLAY(win->spice), seq); + spice_grab_sequence_free(seq); + + g_signal_connect(G_OBJECT(win->spice), "mouse-grab", + G_CALLBACK(mouse_grab_cb), win); + g_signal_connect(G_OBJECT(win->spice), "keyboard-grab", + G_CALLBACK(keyboard_grab_cb), win); + g_signal_connect(G_OBJECT(win->spice), "grab-keys-pressed", + G_CALLBACK(grab_keys_pressed_cb), win); + + /* status line */ +#if GTK_CHECK_VERSION(3,0,0) + win->statusbar = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 1); +#else + win->statusbar = gtk_hbox_new(FALSE, 1); +#endif + + win->status = gtk_label_new("status line"); + gtk_misc_set_alignment(GTK_MISC(win->status), 0, 0.5); + gtk_misc_set_padding(GTK_MISC(win->status), 3, 1); + update_status_window(win); + + frame = gtk_frame_new(NULL); + gtk_box_pack_start(GTK_BOX(win->statusbar), frame, TRUE, TRUE, 0); + gtk_container_add(GTK_CONTAINER(frame), win->status); + + for (i = 0; i < STATE_MAX; i++) { + win->st[i] = gtk_label_new(_("?")); + gtk_label_set_width_chars(GTK_LABEL(win->st[i]), 5); + frame = gtk_frame_new(NULL); + gtk_box_pack_end(GTK_BOX(win->statusbar), frame, FALSE, FALSE, 0); + gtk_container_add(GTK_CONTAINER(frame), win->st[i]); + } + + /* Make a vbox and put stuff in */ +#if GTK_CHECK_VERSION(3,0,0) + vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 1); +#else + vbox = gtk_vbox_new(FALSE, 1); +#endif + gtk_container_set_border_width(GTK_CONTAINER(vbox), 0); + gtk_container_add(GTK_CONTAINER(win->toplevel), vbox); + gtk_box_pack_start(GTK_BOX(vbox), win->menubar, FALSE, FALSE, 0); + gtk_box_pack_start(GTK_BOX(vbox), win->toolbar, FALSE, FALSE, 0); + gtk_box_pack_start(GTK_BOX(vbox), win->spice, TRUE, TRUE, 0); + gtk_box_pack_end(GTK_BOX(vbox), win->statusbar, FALSE, TRUE, 0); + + /* show window */ + if (fullscreen) + gtk_window_fullscreen(GTK_WINDOW(win->toplevel)); + + gtk_widget_show_all(vbox); + restore_configuration(win); + + /* init toggle actions */ + for (i = 0; i < G_N_ELEMENTS(spice_display_properties); i++) { + toggle = gtk_action_group_get_action(win->ag, + spice_display_properties[i]); + g_object_get(win->spice, spice_display_properties[i], &state, NULL); + gtk_toggle_action_set_active(GTK_TOGGLE_ACTION(toggle), state); + } + + for (i = 0; i < G_N_ELEMENTS(spice_gtk_session_properties); i++) { + char notify[64]; + + toggle = gtk_action_group_get_action(win->ag, + spice_gtk_session_properties[i]); + g_object_get(win->conn->gtk_session, spice_gtk_session_properties[i], + &state, NULL); + gtk_toggle_action_set_active(GTK_TOGGLE_ACTION(toggle), state); + + snprintf(notify, sizeof(notify), "notify::%s", + spice_gtk_session_properties[i]); + spice_g_signal_connect_object(win->conn->gtk_session, notify, + G_CALLBACK(menu_cb_conn_bool_prop_changed), + win, 0); + } + + update_edit_menu_window(win); + + toggle = gtk_action_group_get_action(win->ag, "Toolbar"); + state = gtk_widget_get_visible(win->toolbar); + gtk_toggle_action_set_active(GTK_TOGGLE_ACTION(toggle), state); + + toggle = gtk_action_group_get_action(win->ag, "Statusbar"); + state = gtk_widget_get_visible(win->statusbar); + gtk_toggle_action_set_active(GTK_TOGGLE_ACTION(toggle), state); + +#ifdef USE_SMARTCARD + gboolean smartcard; + + enable_smartcard_actions(win, NULL, FALSE, FALSE); + g_object_get(G_OBJECT(conn->session), + "enable-smartcard", &smartcard, + NULL); + if (smartcard) { + g_signal_connect(G_OBJECT(spice_smartcard_manager_get()), "reader-added", + (GCallback)reader_added_cb, win); + g_signal_connect(G_OBJECT(spice_smartcard_manager_get()), "reader-removed", + (GCallback)reader_removed_cb, win); + g_signal_connect(G_OBJECT(spice_smartcard_manager_get()), "card-inserted", + (GCallback)card_inserted_cb, win); + g_signal_connect(G_OBJECT(spice_smartcard_manager_get()), "card-removed", + (GCallback)card_removed_cb, win); + } +#endif + +#ifndef USE_USBREDIR + GtkAction *usbredir = gtk_action_group_get_action(win->ag, "auto-usbredir"); + gtk_action_set_visible(usbredir, FALSE); +#endif + + gtk_widget_grab_focus(win->spice); + + return win; +} + +static void destroy_spice_window(SpiceWindow *win) +{ + if (win == NULL) + return; + + SPICE_DEBUG("destroy window (#%d:%d)", win->id, win->monitor_id); + g_object_unref(win->ag); + g_object_unref(win->ui); + gtk_widget_destroy(win->toplevel); + g_object_unref(win); +} + +/* ------------------------------------------------------------------ */ + +static void recent_add(SpiceSession *session) +{ + GtkRecentManager *recent; + GtkRecentData meta = { + .mime_type = (char*)"application/x-spice", + .app_name = (char*)"spicy", + .app_exec = (char*)"spicy --uri=%u", + }; + char *uri; + + g_object_get(session, "uri", &uri, NULL); + SPICE_DEBUG("%s: %s", __FUNCTION__, uri); + + g_return_if_fail(g_str_has_prefix(uri, "spice://")); + + recent = gtk_recent_manager_get_default(); + meta.display_name = uri + 8; + if (!gtk_recent_manager_add_full(recent, uri, &meta)) + g_warning("Recent item couldn't be added successfully"); + + g_free(uri); +} + +static void main_channel_event(SpiceChannel *channel, SpiceChannelEvent event, + gpointer data) +{ + spice_connection *conn = data; + char password[64]; + int rc; + + switch (event) { + case SPICE_CHANNEL_OPENED: + g_message("main channel: opened"); + recent_add(conn->session); + break; + case SPICE_CHANNEL_SWITCHING: + g_message("main channel: switching host"); + break; + case SPICE_CHANNEL_CLOSED: + /* this event is only sent if the channel was succesfully opened before */ + g_message("main channel: closed"); + connection_disconnect(conn); + break; + case SPICE_CHANNEL_ERROR_IO: + connection_disconnect(conn); + break; + case SPICE_CHANNEL_ERROR_TLS: + case SPICE_CHANNEL_ERROR_LINK: + case SPICE_CHANNEL_ERROR_CONNECT: + g_message("main channel: failed to connect"); + rc = connect_dialog(conn->session); + if (rc == 0) { + connection_connect(conn); + } else { + connection_disconnect(conn); + } + break; + case SPICE_CHANNEL_ERROR_AUTH: + g_warning("main channel: auth failure (wrong password?)"); + strcpy(password, ""); + /* FIXME i18 */ + rc = ask_user(NULL, _("Authentication"), + _("Please enter the spice server password"), + password, sizeof(password), true); + if (rc == 0) { + g_object_set(conn->session, "password", password, NULL); + connection_connect(conn); + } else { + connection_disconnect(conn); + } + break; + default: + /* TODO: more sophisticated error handling */ + g_warning("unknown main channel event: %d", event); + /* connection_disconnect(conn); */ + break; + } +} + +static void main_mouse_update(SpiceChannel *channel, gpointer data) +{ + spice_connection *conn = data; + gint mode; + + g_object_get(channel, "mouse-mode", &mode, NULL); + switch (mode) { + case SPICE_MOUSE_MODE_SERVER: + conn->mouse_state = "server"; + break; + case SPICE_MOUSE_MODE_CLIENT: + conn->mouse_state = "client"; + break; + default: + conn->mouse_state = "?"; + break; + } + update_status(conn); +} + +static void main_agent_update(SpiceChannel *channel, gpointer data) +{ + spice_connection *conn = data; + + g_object_get(channel, "agent-connected", &conn->agent_connected, NULL); + conn->agent_state = conn->agent_connected ? _("yes") : _("no"); + update_status(conn); + update_edit_menu(conn); +} + +static void inputs_modifiers(SpiceChannel *channel, gpointer data) +{ + spice_connection *conn = data; + int m, i; + + g_object_get(channel, "key-modifiers", &m, NULL); + for (i = 0; i < SPICE_N_ELEMENTS(conn->wins); i++) { + if (conn->wins[i] == NULL) + continue; + + gtk_label_set_text(GTK_LABEL(conn->wins[i]->st[STATE_SCROLL_LOCK]), + m & SPICE_KEYBOARD_MODIFIER_FLAGS_SCROLL_LOCK ? _("SCROLL") : ""); + gtk_label_set_text(GTK_LABEL(conn->wins[i]->st[STATE_CAPS_LOCK]), + m & SPICE_KEYBOARD_MODIFIER_FLAGS_CAPS_LOCK ? _("CAPS") : ""); + gtk_label_set_text(GTK_LABEL(conn->wins[i]->st[STATE_NUM_LOCK]), + m & SPICE_KEYBOARD_MODIFIER_FLAGS_NUM_LOCK ? _("NUM") : ""); + } +} + +static void display_mark(SpiceChannel *channel, gint mark, SpiceWindow *win) +{ + g_return_if_fail(win != NULL); + g_return_if_fail(win->toplevel != NULL); + + if (mark == TRUE) { + gtk_widget_show(win->toplevel); + } else { + gtk_widget_hide(win->toplevel); + } +} + +static void update_auto_usbredir_sensitive(spice_connection *conn) +{ +#ifdef USE_USBREDIR + int i; + GtkAction *ac; + gboolean sensitive; + + sensitive = spice_session_has_channel_type(conn->session, + SPICE_CHANNEL_USBREDIR); + for (i = 0; i < SPICE_N_ELEMENTS(conn->wins); i++) { + if (conn->wins[i] == NULL) + continue; + ac = gtk_action_group_get_action(conn->wins[i]->ag, "auto-usbredir"); + gtk_action_set_sensitive(ac, sensitive); + } +#endif +} + +static SpiceWindow* get_window(spice_connection *conn, int channel_id, int monitor_id) +{ + g_return_val_if_fail(channel_id < CHANNELID_MAX, NULL); + g_return_val_if_fail(monitor_id < MONITORID_MAX, NULL); + + return conn->wins[channel_id * CHANNELID_MAX + monitor_id]; +} + +static void add_window(spice_connection *conn, SpiceWindow *win) +{ + g_return_if_fail(win != NULL); + g_return_if_fail(win->id < CHANNELID_MAX); + g_return_if_fail(win->monitor_id < MONITORID_MAX); + g_return_if_fail(conn->wins[win->id * CHANNELID_MAX + win->monitor_id] == NULL); + + SPICE_DEBUG("add display monitor %d:%d", win->id, win->monitor_id); + conn->wins[win->id * CHANNELID_MAX + win->monitor_id] = win; +} + +static void del_window(spice_connection *conn, SpiceWindow *win) +{ + if (win == NULL) + return; + + g_return_if_fail(win->id < CHANNELID_MAX); + g_return_if_fail(win->monitor_id < MONITORID_MAX); + + g_debug("del display monitor %d:%d", win->id, win->monitor_id); + conn->wins[win->id * CHANNELID_MAX + win->monitor_id] = NULL; + if (win->id > 0) + spice_main_set_display_enabled(conn->main, win->id, FALSE); + else + spice_main_set_display_enabled(conn->main, win->monitor_id, FALSE); + spice_main_send_monitor_config(conn->main); + + destroy_spice_window(win); +} + +static void display_monitors(SpiceChannel *display, GParamSpec *pspec, + spice_connection *conn) +{ + GArray *monitors = NULL; + int id; + guint i; + + g_object_get(display, + "channel-id", &id, + "monitors", &monitors, + NULL); + g_return_if_fail(monitors != NULL); + + for (i = 0; i < monitors->len; i++) { + SpiceWindow *w; + + if (!get_window(conn, id, i)) { + w = create_spice_window(conn, display, id, i); + add_window(conn, w); + spice_g_signal_connect_object(display, "display-mark", + G_CALLBACK(display_mark), w, 0); + gtk_widget_show(w->toplevel); + update_auto_usbredir_sensitive(conn); + } + } + + for (; i < MONITORID_MAX; i++) + del_window(conn, get_window(conn, id, i)); + + g_clear_pointer(&monitors, g_array_unref); +} + +static void port_write_cb(GObject *source_object, + GAsyncResult *res, + gpointer user_data) +{ + SpicePortChannel *port = SPICE_PORT_CHANNEL(source_object); + GError *error = NULL; + + spice_port_write_finish(port, res, &error); + if (error != NULL) + g_warning("%s", error->message); + g_clear_error(&error); +} + +static void port_flushed_cb(GObject *source_object, + GAsyncResult *res, + gpointer user_data) +{ + SpiceChannel *channel = SPICE_CHANNEL(source_object); + GError *error = NULL; + + spice_channel_flush_finish(channel, res, &error); + if (error != NULL) + g_warning("%s", error->message); + g_clear_error(&error); + + spice_channel_disconnect(channel, SPICE_CHANNEL_CLOSED); +} + +static gboolean input_cb(GIOChannel *gin, GIOCondition condition, gpointer data) +{ + char buf[4096]; + gsize bytes_read; + GIOStatus status; + + if (!(condition & G_IO_IN)) + return FALSE; + + status = g_io_channel_read_chars(gin, buf, sizeof(buf), &bytes_read, NULL); + if (status != G_IO_STATUS_NORMAL) + return FALSE; + + if (stdin_port != NULL) + spice_port_write_async(stdin_port, buf, bytes_read, NULL, port_write_cb, NULL); + + return TRUE; +} + +static void port_opened(SpiceChannel *channel, GParamSpec *pspec, + spice_connection *conn) +{ + SpicePortChannel *port = SPICE_PORT_CHANNEL(channel); + gchar *name = NULL; + gboolean opened = FALSE; + + g_object_get(channel, + "port-name", &name, + "port-opened", &opened, + NULL); + + g_printerr("port %p %s: %s\n", channel, name, opened ? "opened" : "closed"); + + if (opened) { + /* only send a break event and disconnect */ + if (g_strcmp0(name, "org.spice.spicy.break") == 0) { + spice_port_event(port, SPICE_PORT_EVENT_BREAK); + } + + /* handle the first spicy port and connect it to stdin/out */ + if (g_strcmp0(name, "org.spice.spicy") == 0 && stdin_port == NULL) { + stdin_port = port; + goto end; + } + + if (port == stdin_port) + goto end; + + spice_channel_flush_async(channel, NULL, port_flushed_cb, conn); + } else { + if (port == stdin_port) + stdin_port = NULL; + } + +end: + g_free(name); +} + +static void port_data(SpicePortChannel *port, + gpointer data, int size, spice_connection *conn) +{ + int r; + + if (port != stdin_port) + return; + + r = write(fileno(stdout), data, size); + if (r != size) { + g_warning("port write failed result %d/%d errno %d", r, size, errno); + } +} + +static void channel_new(SpiceSession *s, SpiceChannel *channel, gpointer data) +{ + spice_connection *conn = data; + int id; + + g_object_get(channel, "channel-id", &id, NULL); + conn->channels++; + SPICE_DEBUG("new channel (#%d)", id); + + if (SPICE_IS_MAIN_CHANNEL(channel)) { + SPICE_DEBUG("new main channel"); + conn->main = SPICE_MAIN_CHANNEL(channel); + g_signal_connect(channel, "channel-event", + G_CALLBACK(main_channel_event), conn); + g_signal_connect(channel, "main-mouse-update", + G_CALLBACK(main_mouse_update), conn); + g_signal_connect(channel, "main-agent-update", + G_CALLBACK(main_agent_update), conn); + main_mouse_update(channel, conn); + main_agent_update(channel, conn); + } + + if (SPICE_IS_DISPLAY_CHANNEL(channel)) { + if (id >= SPICE_N_ELEMENTS(conn->wins)) + return; + if (conn->wins[id] != NULL) + return; + SPICE_DEBUG("new display channel (#%d)", id); + g_signal_connect(channel, "notify::monitors", + G_CALLBACK(display_monitors), conn); + spice_channel_connect(channel); + } + + if (SPICE_IS_INPUTS_CHANNEL(channel)) { + SPICE_DEBUG("new inputs channel"); + g_signal_connect(channel, "inputs-modifiers", + G_CALLBACK(inputs_modifiers), conn); + } + + if (SPICE_IS_PLAYBACK_CHANNEL(channel)) { + SPICE_DEBUG("new audio channel"); + conn->audio = spice_audio_get(s, NULL); + } + + if (SPICE_IS_USBREDIR_CHANNEL(channel)) { + update_auto_usbredir_sensitive(conn); + } + + if (SPICE_IS_PORT_CHANNEL(channel)) { + g_signal_connect(channel, "notify::port-opened", + G_CALLBACK(port_opened), conn); + g_signal_connect(channel, "port-data", + G_CALLBACK(port_data), conn); + spice_channel_connect(channel); + } +} + +static void channel_destroy(SpiceSession *s, SpiceChannel *channel, gpointer data) +{ + spice_connection *conn = data; + int id; + + g_object_get(channel, "channel-id", &id, NULL); + if (SPICE_IS_MAIN_CHANNEL(channel)) { + SPICE_DEBUG("zap main channel"); + conn->main = NULL; + } + + if (SPICE_IS_DISPLAY_CHANNEL(channel)) { + if (id >= SPICE_N_ELEMENTS(conn->wins)) + return; + SPICE_DEBUG("zap display channel (#%d)", id); + /* FIXME destroy widget only */ + } + + if (SPICE_IS_PLAYBACK_CHANNEL(channel)) { + SPICE_DEBUG("zap audio channel"); + } + + if (SPICE_IS_USBREDIR_CHANNEL(channel)) { + update_auto_usbredir_sensitive(conn); + } + + if (SPICE_IS_PORT_CHANNEL(channel)) { + if (SPICE_PORT_CHANNEL(channel) == stdin_port) + stdin_port = NULL; + } + + conn->channels--; + if (conn->channels > 0) { + return; + } + + connection_destroy(conn); +} + +static void migration_state(GObject *session, + GParamSpec *pspec, gpointer data) +{ + SpiceSessionMigration mig; + + g_object_get(session, "migration-state", &mig, NULL); + if (mig == SPICE_SESSION_MIGRATION_SWITCHING) + g_message("migrating session"); +} + +static spice_connection *connection_new(void) +{ + spice_connection *conn; + SpiceUsbDeviceManager *manager; + + conn = g_new0(spice_connection, 1); + conn->session = spice_session_new(); + conn->gtk_session = spice_gtk_session_get(conn->session); + g_signal_connect(conn->session, "channel-new", + G_CALLBACK(channel_new), conn); + g_signal_connect(conn->session, "channel-destroy", + G_CALLBACK(channel_destroy), conn); + g_signal_connect(conn->session, "notify::migration-state", + G_CALLBACK(migration_state), conn); + + manager = spice_usb_device_manager_get(conn->session, NULL); + if (manager) { + g_signal_connect(manager, "auto-connect-failed", + G_CALLBACK(usb_connect_failed), NULL); + g_signal_connect(manager, "device-error", + G_CALLBACK(usb_connect_failed), NULL); + } + + connections++; + SPICE_DEBUG("%s (%d)", __FUNCTION__, connections); + return conn; +} + +static void connection_connect(spice_connection *conn) +{ + conn->disconnecting = false; + spice_session_connect(conn->session); +} + +static void connection_disconnect(spice_connection *conn) +{ + if (conn->disconnecting) + return; + conn->disconnecting = true; + spice_session_disconnect(conn->session); +} + +static void connection_destroy(spice_connection *conn) +{ + g_object_unref(conn->session); + free(conn); + + connections--; + SPICE_DEBUG("%s (%d)", __FUNCTION__, connections); + if (connections > 0) { + return; + } + + g_main_loop_quit(mainloop); +} + +/* ------------------------------------------------------------------ */ + +static GOptionEntry cmd_entries[] = { + { + .long_name = "full-screen", + .short_name = 'f', + .arg = G_OPTION_ARG_NONE, + .arg_data = &fullscreen, + .description = N_("Open in full screen mode"), + },{ + .long_name = "version", + .arg = G_OPTION_ARG_NONE, + .arg_data = &version, + .description = N_("Display version and quit"), + },{ + .long_name = "title", + .arg = G_OPTION_ARG_STRING, + .arg_data = &spicy_title, + .description = N_("Set the window title"), + .arg_description = N_(""), + },{ + /* end of list */ + } +}; + +static void (* segv_handler) (int) = SIG_DFL; +static void (* abrt_handler) (int) = SIG_DFL; +static void (* fpe_handler) (int) = SIG_DFL; +static void (* ill_handler) (int) = SIG_DFL; +#ifndef WIN32 +static void (* bus_handler) (int) = SIG_DFL; +#endif + +static void +signal_handler(int signum) +{ + static gint recursion = FALSE; + + /* + * reset all signal handlers: any further crashes should just be allowed + * to crash normally. + * */ + signal(SIGSEGV, segv_handler); + signal(SIGABRT, abrt_handler); + signal(SIGFPE, fpe_handler); + signal(SIGILL, ill_handler); +#ifndef WIN32 + signal(SIGBUS, bus_handler); +#endif + + /* Stop bizarre loops */ + if (recursion) + abort (); + + recursion = TRUE; + + g_main_loop_quit(mainloop); +} + +static void usb_connect_failed(GObject *object, + SpiceUsbDevice *device, + GError *error, + gpointer data) +{ + GtkWidget *dialog; + + if (error->domain == G_IO_ERROR && error->code == G_IO_ERROR_CANCELLED) + return; + + dialog = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, + GTK_BUTTONS_CLOSE, + "USB redirection error"); + gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog), + "%s", error->message); + gtk_dialog_run(GTK_DIALOG(dialog)); + gtk_widget_destroy(dialog); +} + +static void setup_terminal(gboolean reset) +{ + int stdinfd = fileno(stdin); + + if (!isatty(stdinfd)) + return; + +#ifdef HAVE_TERMIOS_H + static struct termios saved_tios; + struct termios tios; + + if (reset) + tios = saved_tios; + else { + tcgetattr(stdinfd, &tios); + saved_tios = tios; + tios.c_lflag &= ~(ICANON | ECHO); + } + + tcsetattr(stdinfd, TCSANOW, &tios); +#endif +} + +static void watch_stdin(void) +{ + int stdinfd = fileno(stdin); + GIOChannel *gin; + + setup_terminal(false); + gin = g_io_channel_unix_new(stdinfd); + g_io_channel_set_flags(gin, G_IO_FLAG_NONBLOCK, NULL); + g_io_add_watch(gin, G_IO_IN|G_IO_ERR|G_IO_HUP|G_IO_NVAL, input_cb, NULL); +} + +int main(int argc, char *argv[]) +{ + GError *error = NULL; + GOptionContext *context; + spice_connection *conn; + gchar *conf_file, *conf; + char *host = NULL, *port = NULL, *tls_port = NULL; + +#if !GLIB_CHECK_VERSION(2,31,18) + g_thread_init(NULL); +#endif + bindtextdomain(GETTEXT_PACKAGE, SPICE_GTK_LOCALEDIR); + bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); + textdomain(GETTEXT_PACKAGE); + + signal(SIGINT, signal_handler); + signal(SIGTERM, signal_handler); + segv_handler = signal(SIGSEGV, signal_handler); + abrt_handler = signal(SIGABRT, signal_handler); + fpe_handler = signal(SIGFPE, signal_handler); + ill_handler = signal(SIGILL, signal_handler); +#ifndef WIN32 + signal(SIGHUP, signal_handler); + bus_handler = signal(SIGBUS, signal_handler); +#endif + + keyfile = g_key_file_new(); + + int mode = S_IRWXU; + conf_file = g_build_filename(g_get_user_config_dir(), "spicy", NULL); + if (g_mkdir_with_parents(conf_file, mode) == -1) + SPICE_DEBUG("failed to create config directory"); + g_free(conf_file); + + conf_file = g_build_filename(g_get_user_config_dir(), "spicy", "settings", NULL); + if (!g_key_file_load_from_file(keyfile, conf_file, + G_KEY_FILE_KEEP_COMMENTS|G_KEY_FILE_KEEP_TRANSLATIONS, &error)) { + SPICE_DEBUG("Couldn't load configuration: %s", error->message); + g_clear_error(&error); + } + + /* parse opts */ + gtk_init(&argc, &argv); + context = g_option_context_new(_("- spice client teseapplication")); + g_option_context_set_summary(context, _("Gtk+ test client to connect to Spice servers.")); + g_option_context_set_description(context, _("Report bugs to " PACKAGE_BUGREPORT ".")); + g_option_context_add_group(context, spice_get_option_group()); + g_option_context_set_main_group(context, spice_cmdline_get_option_group()); + g_option_context_add_main_entries(context, cmd_entries, NULL); + g_option_context_add_group(context, gtk_get_option_group(TRUE)); + if (!g_option_context_parse (context, &argc, &argv, &error)) { + g_print(_("option parsing failed: %s\n"), error->message); + exit(1); + } + g_option_context_free(context); + + if (version) { + g_print("spicy " PACKAGE_VERSION "\n"); + exit(0); + } + + g_type_init(); + mainloop = g_main_loop_new(NULL, false); + rrscreen = gnome_rr_screen_new(gdk_screen_get_default (), &error); + g_warn_if_fail(rrscreen != NULL); + if (rrscreen) + g_signal_connect(rrscreen, "changed", G_CALLBACK(on_screen_changed), NULL); + on_screen_changed(rrscreen, NULL); + + conn = connection_new(); + spice_set_session_option(conn->session); + spice_cmdline_session_setup(conn->session); + + g_object_get(conn->session, + "host", &host, + "port", &port, + "tls-port", &tls_port, + NULL); + /* If user doesn't provide hostname and port, show the dialog window + instead of connecting to server automatically */ + if (host == NULL || (port == NULL && tls_port == NULL)) { + int ret = connect_dialog(conn->session); + if (ret != 0) { + exit(0); + } + } + g_free(host); + g_free(port); + g_free(tls_port); + + watch_stdin(); + + connection_connect(conn); + if (connections > 0) + g_main_loop_run(mainloop); + g_main_loop_unref(mainloop); + + if ((conf = g_key_file_to_data(keyfile, NULL, &error)) == NULL || + !g_file_set_contents(conf_file, conf, -1, &error)) { + SPICE_DEBUG("Couldn't save configuration: %s", error->message); + g_error_free(error); + error = NULL; + } + + resolution_restore_all(); + + g_object_unref(rrscreen); + g_free(conf_file); + g_free(conf); + g_key_file_free(keyfile); + + g_free(spicy_title); + + setup_terminal(true); + return 0; +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usb-acl-helper.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usb-acl-helper.c new file mode 100644 index 0000000..a3ba14d --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usb-acl-helper.c @@ -0,0 +1,296 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2011 Red Hat, Inc. + + Red Hat Authors: + Hans de Goede <hdegoede@redhat.com> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#include "config.h" + +#include <errno.h> +#include <stdio.h> +#include <string.h> + +#include "usb-acl-helper.h" +#include "glib-compat.h" + +/* ------------------------------------------------------------------ */ +/* gobject glue */ + +#define SPICE_USB_ACL_HELPER_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE ((obj), SPICE_TYPE_USB_ACL_HELPER, SpiceUsbAclHelperPrivate)) + +struct _SpiceUsbAclHelperPrivate { + GSimpleAsyncResult *result; + GIOChannel *in_ch; + GIOChannel *out_ch; + GCancellable *cancellable; + gulong cancellable_id; +}; + +G_DEFINE_TYPE(SpiceUsbAclHelper, spice_usb_acl_helper, G_TYPE_OBJECT); + +static void spice_usb_acl_helper_init(SpiceUsbAclHelper *self) +{ + self->priv = SPICE_USB_ACL_HELPER_GET_PRIVATE(self); +} + +static void spice_usb_acl_helper_cleanup(SpiceUsbAclHelper *self) +{ + SpiceUsbAclHelperPrivate *priv = self->priv; + + g_cancellable_disconnect(priv->cancellable, priv->cancellable_id); + priv->cancellable = NULL; + priv->cancellable_id = 0; + + g_clear_object(&priv->result); + + if (priv->in_ch) { + g_io_channel_unref(priv->in_ch); + priv->in_ch = NULL; + } + + if (priv->out_ch) { + g_io_channel_unref(priv->out_ch); + priv->out_ch = NULL; + } +} + +static void spice_usb_acl_helper_finalize(GObject *gobject) +{ + spice_usb_acl_helper_cleanup(SPICE_USB_ACL_HELPER(gobject)); +} + +static void spice_usb_acl_helper_class_init(SpiceUsbAclHelperClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS (klass); + + gobject_class->finalize = spice_usb_acl_helper_finalize; + + g_type_class_add_private(klass, sizeof(SpiceUsbAclHelperPrivate)); +} + +/* ------------------------------------------------------------------ */ +/* callbacks */ + +static void async_result_set_cancelled(GSimpleAsyncResult *result) +{ + g_simple_async_result_set_error(result, + G_IO_ERROR, G_IO_ERROR_CANCELLED, + "Setting USB device node ACL cancelled"); +} + +static gboolean cb_out_watch(GIOChannel *channel, + GIOCondition cond, + gpointer *user_data) +{ + SpiceUsbAclHelper *self = SPICE_USB_ACL_HELPER(user_data); + SpiceUsbAclHelperPrivate *priv = self->priv; + gboolean success = FALSE; + GError *err = NULL; + GIOStatus status; + gchar *string; + gsize size; + + /* Check that we've not been cancelled */ + if (priv->result == NULL) + goto done; + + g_return_val_if_fail(channel == priv->out_ch, FALSE); + + status = g_io_channel_read_line(priv->out_ch, &string, &size, NULL, &err); + switch (status) { + case G_IO_STATUS_NORMAL: + string[strlen(string) - 1] = 0; + if (!strcmp(string, "SUCCESS")) { + success = TRUE; + } else if (!strcmp(string, "CANCELED")) { + async_result_set_cancelled(priv->result); + } else { + g_simple_async_result_set_error(priv->result, + SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + "Error setting USB device node ACL: '%s'", + string); + } + g_free(string); + break; + case G_IO_STATUS_ERROR: + g_simple_async_result_take_error(priv->result, err); + break; + case G_IO_STATUS_EOF: + g_simple_async_result_set_error(priv->result, + SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + "Unexpected EOF reading from acl helper stdout"); + break; + case G_IO_STATUS_AGAIN: + return TRUE; /* Wait for more input */ + } + + g_cancellable_disconnect(priv->cancellable, priv->cancellable_id); + priv->cancellable = NULL; + priv->cancellable_id = 0; + + g_simple_async_result_complete_in_idle(priv->result); + g_clear_object(&priv->result); + + if (!success) + spice_usb_acl_helper_cleanup(self); + +done: + g_object_unref(self); + return FALSE; +} + +static void cancelled_cb(GCancellable *cancellable, gpointer user_data) +{ + SpiceUsbAclHelper *self = SPICE_USB_ACL_HELPER(user_data); + + spice_usb_acl_helper_close_acl(self); +} + +static void helper_child_watch_cb(GPid pid, gint status, gpointer user_data) +{ + /* Nothing to do, but we need the child watch to avoid zombies */ +} + +/* ------------------------------------------------------------------ */ +/* private api */ + +G_GNUC_INTERNAL +SpiceUsbAclHelper *spice_usb_acl_helper_new(void) +{ + GObject *obj; + + obj = g_object_new(SPICE_TYPE_USB_ACL_HELPER, NULL); + + return SPICE_USB_ACL_HELPER(obj); +} + +G_GNUC_INTERNAL +void spice_usb_acl_helper_open_acl(SpiceUsbAclHelper *self, + gint busnum, gint devnum, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_return_if_fail(SPICE_IS_USB_ACL_HELPER(self)); + + SpiceUsbAclHelperPrivate *priv = self->priv; + GSimpleAsyncResult *result; + GError *err = NULL; + GIOStatus status; + GPid helper_pid; + gsize bytes_written; + gchar *argv[] = { (char*) ACL_HELPER_PATH"/spice-client-glib-usb-acl-helper", NULL }; + gint in, out; + gchar buf[128]; + + result = g_simple_async_result_new(G_OBJECT(self), callback, user_data, + spice_usb_acl_helper_open_acl); + + if (priv->out_ch) { + g_simple_async_result_set_error(result, + SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + "Error acl-helper already has an acl open"); + goto done; + } + + if (g_cancellable_set_error_if_cancelled(cancellable, &err)) { + g_simple_async_result_take_error(result, err); + goto done; + } + + if (!g_spawn_async_with_pipes(NULL, argv, NULL, + G_SPAWN_DO_NOT_REAP_CHILD | G_SPAWN_SEARCH_PATH, + NULL, NULL, &helper_pid, &in, &out, NULL, &err)) { + g_simple_async_result_take_error(result, err); + goto done; + } + g_child_watch_add(helper_pid, helper_child_watch_cb, NULL); + + priv->in_ch = g_io_channel_unix_new(in); + g_io_channel_set_close_on_unref(priv->in_ch, TRUE); + + priv->out_ch = g_io_channel_unix_new(out); + g_io_channel_set_close_on_unref(priv->out_ch, TRUE); + status = g_io_channel_set_flags(priv->out_ch, G_IO_FLAG_NONBLOCK, &err); + if (status != G_IO_STATUS_NORMAL) { + g_simple_async_result_take_error(result, err); + goto done; + } + + snprintf(buf, sizeof(buf), "%d %d\n", busnum, devnum); + status = g_io_channel_write_chars(priv->in_ch, buf, -1, + &bytes_written, &err); + if (status != G_IO_STATUS_NORMAL) { + g_simple_async_result_take_error(result, err); + goto done; + } + status = g_io_channel_flush(priv->in_ch, &err); + if (status != G_IO_STATUS_NORMAL) { + g_simple_async_result_take_error(result, err); + goto done; + } + + priv->result = result; + if (cancellable) { + priv->cancellable = cancellable; + priv->cancellable_id = g_cancellable_connect(cancellable, + G_CALLBACK(cancelled_cb), + self, NULL); + } + g_io_add_watch(priv->out_ch, G_IO_IN|G_IO_HUP, + (GIOFunc)cb_out_watch, g_object_ref(self)); + return; + +done: + spice_usb_acl_helper_cleanup(self); + g_simple_async_result_complete_in_idle(result); + g_object_unref(result); +} + +G_GNUC_INTERNAL +gboolean spice_usb_acl_helper_open_acl_finish( + SpiceUsbAclHelper *self, GAsyncResult *res, GError **err) +{ + GSimpleAsyncResult *result = G_SIMPLE_ASYNC_RESULT(res); + + g_return_val_if_fail(g_simple_async_result_is_valid(res, G_OBJECT(self), + spice_usb_acl_helper_open_acl), + FALSE); + + if (g_simple_async_result_propagate_error(result, err)) + return FALSE; + + return TRUE; +} + +G_GNUC_INTERNAL +void spice_usb_acl_helper_close_acl(SpiceUsbAclHelper *self) +{ + g_return_if_fail(SPICE_IS_USB_ACL_HELPER(self)); + + SpiceUsbAclHelperPrivate *priv = self->priv; + + /* If the acl open has not completed yet report it as cancelled */ + if (priv->result) { + async_result_set_cancelled(priv->result); + g_simple_async_result_complete_in_idle(priv->result); + } + + spice_usb_acl_helper_cleanup(self); +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usb-acl-helper.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usb-acl-helper.h new file mode 100644 index 0000000..2d41b68 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usb-acl-helper.h @@ -0,0 +1,72 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2011 Red Hat, Inc. + + Red Hat Authors: + Hans de Goede <hdegoede@redhat.com> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifndef __SPICE_USB_ACL_HELPER_H__ +#define __SPICE_USB_ACL_HELPER_H__ + +#include "spice-client.h" +#include <gio/gio.h> + +/* Note the entire usb-acl-helper class is private to spice-client-glib !! */ + +G_BEGIN_DECLS + +#define SPICE_TYPE_USB_ACL_HELPER (spice_usb_acl_helper_get_type ()) +#define SPICE_USB_ACL_HELPER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPICE_TYPE_USB_ACL_HELPER, SpiceUsbAclHelper)) +#define SPICE_USB_ACL_HELPER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SPICE_TYPE_USB_ACL_HELPER, SpiceUsbAclHelperClass)) +#define SPICE_IS_USB_ACL_HELPER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPICE_TYPE_USB_ACL_HELPER)) +#define SPICE_IS_USB_ACL_HELPER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPICE_TYPE_USB_ACL_HELPER)) +#define SPICE_USB_ACL_HELPER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPICE_TYPE_USB_ACL_HELPER, SpiceUsbAclHelperClass)) + +typedef struct _SpiceUsbAclHelper SpiceUsbAclHelper; +typedef struct _SpiceUsbAclHelperClass SpiceUsbAclHelperClass; +typedef struct _SpiceUsbAclHelperPrivate SpiceUsbAclHelperPrivate; + +struct _SpiceUsbAclHelper +{ + GObject parent; + + /*< private >*/ + SpiceUsbAclHelperPrivate *priv; + /* Do not add fields to this struct */ +}; + +struct _SpiceUsbAclHelperClass +{ + GObjectClass parent_class; +}; + +GType spice_usb_acl_helper_get_type(void); + +SpiceUsbAclHelper *spice_usb_acl_helper_new(void); + +void spice_usb_acl_helper_open_acl(SpiceUsbAclHelper *self, + gint busnum, gint devnum, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +gboolean spice_usb_acl_helper_open_acl_finish( + SpiceUsbAclHelper *self, GAsyncResult *res, GError **err); + +void spice_usb_acl_helper_close_acl(SpiceUsbAclHelper *self); + +G_END_DECLS + +#endif /* __SPICE_USB_ACL_HELPER_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usb-device-manager-priv.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usb-device-manager-priv.h new file mode 100644 index 0000000..b6fa9c9 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usb-device-manager-priv.h @@ -0,0 +1,48 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2011,2012 Red Hat, Inc. + + Red Hat Authors: + Hans de Goede <hdegoede@redhat.com> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifndef __SPICE_USB_DEVICE_MANAGER_PRIV_H__ +#define __SPICE_USB_DEVICE_MANAGER_PRIV_H__ + +#include "usb-device-manager.h" + +G_BEGIN_DECLS + +gboolean spice_usb_device_manager_start_event_listening( + SpiceUsbDeviceManager *manager, GError **err); + +void spice_usb_device_manager_stop_event_listening( + SpiceUsbDeviceManager *manager); + +#ifdef USE_USBREDIR +#include <libusb.h> +void spice_usb_device_manager_device_error( + SpiceUsbDeviceManager *manager, SpiceUsbDevice *device, GError *err); + +guint8 spice_usb_device_get_busnum(const SpiceUsbDevice *device); +guint8 spice_usb_device_get_devaddr(const SpiceUsbDevice *device); +guint16 spice_usb_device_get_vid(const SpiceUsbDevice *device); +guint16 spice_usb_device_get_pid(const SpiceUsbDevice *device); + +#endif + +G_END_DECLS + +#endif /* __SPICE_USB_DEVICE_MANAGER_PRIV_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usb-device-manager.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usb-device-manager.c new file mode 100644 index 0000000..92d4615 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usb-device-manager.c @@ -0,0 +1,1727 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2011, 2012 Red Hat, Inc. + + Red Hat Authors: + Hans de Goede <hdegoede@redhat.com> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#include "config.h" + +#include <glib-object.h> + +#include "glib-compat.h" + +#ifdef USE_USBREDIR +#include <errno.h> +#include <libusb.h> + +#if defined(USE_GUDEV) +#include <gudev/gudev.h> +#elif defined(G_OS_WIN32) +#include "win-usb-dev.h" +#include "win-usb-driver-install.h" +#else +#warning "Expecting one of G_OS_WIN32 and USE_GUDEV to be defined" +#endif + +#include "channel-usbredir-priv.h" +#include "usbredirhost.h" +#include "usbutil.h" +#endif + +#include "spice-session-priv.h" +#include "spice-client.h" +#include "spice-marshal.h" +#include "usb-device-manager-priv.h" + +#include <glib/gi18n.h> + +#ifndef G_OS_WIN32 /* Linux -- device id is bus.addr */ +#define DEV_ID_FMT "at %d.%d" +#else /* Windows -- device id is vid:pid */ +#define DEV_ID_FMT "0x%04x:0x%04x" +#endif + +/** + * SECTION:usb-device-manager + * @short_description: USB device management + * @title: Spice USB Manager + * @section_id: + * @see_also: + * @stability: Stable + * @include: usb-device-manager.h + * + * #SpiceUsbDeviceManager monitors USB redirection channels and USB + * devices plugging/unplugging. If #SpiceUsbDeviceManager:auto-connect + * is set to %TRUE, it will automatically connect newly plugged USB + * devices to available channels. + * + * There should always be a 1:1 relation between #SpiceUsbDeviceManager objects + * and #SpiceSession objects. Therefor there is no + * spice_usb_device_manager_new, instead there is + * spice_usb_device_manager_get() which ensures this 1:1 relation. + */ + +/* ------------------------------------------------------------------ */ +/* gobject glue */ + +#define SPICE_USB_DEVICE_MANAGER_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE ((obj), SPICE_TYPE_USB_DEVICE_MANAGER, SpiceUsbDeviceManagerPrivate)) + +enum { + PROP_0, + PROP_SESSION, + PROP_AUTO_CONNECT, + PROP_AUTO_CONNECT_FILTER, + PROP_REDIRECT_ON_CONNECT, +}; + +enum +{ + DEVICE_ADDED, + DEVICE_REMOVED, + AUTO_CONNECT_FAILED, + DEVICE_ERROR, + LAST_SIGNAL, +}; + +struct _SpiceUsbDeviceManagerPrivate { + SpiceSession *session; + gboolean auto_connect; + gchar *auto_connect_filter; + gchar *redirect_on_connect; +#ifdef USE_USBREDIR + libusb_context *context; + GUdevClient *udev; + int event_listeners; + GThread *event_thread; + gboolean event_thread_run; + libusb_device **coldplug_list; /* Avoid needless reprobing during init */ + struct usbredirfilter_rule *auto_conn_filter_rules; + struct usbredirfilter_rule *redirect_on_connect_rules; + int auto_conn_filter_rules_count; + int redirect_on_connect_rules_count; +#ifdef G_OS_WIN32 + SpiceWinUsbDriver *installer; +#endif +#endif + GPtrArray *devices; + GPtrArray *channels; +}; + +enum { + SPICE_USB_DEVICE_STATE_NONE = 0, /* this is also DISCONNECTED */ + SPICE_USB_DEVICE_STATE_CONNECTING, + SPICE_USB_DEVICE_STATE_CONNECTED, + SPICE_USB_DEVICE_STATE_DISCONNECTING, + SPICE_USB_DEVICE_STATE_INSTALLING, + SPICE_USB_DEVICE_STATE_UNINSTALLING, + SPICE_USB_DEVICE_STATE_MAX +}; + +#ifdef USE_USBREDIR + +typedef struct _SpiceUsbDeviceInfo { + guint8 busnum; + guint8 devaddr; + guint16 vid; + guint16 pid; + guint8 state; + guint8 reserved; + gint ref; +} SpiceUsbDeviceInfo; + + +static void channel_new(SpiceSession *session, SpiceChannel *channel, + gpointer user_data); +static void channel_destroy(SpiceSession *session, SpiceChannel *channel, + gpointer user_data); +static void spice_usb_device_manager_uevent_cb(GUdevClient *client, + const gchar *action, + GUdevDevice *udevice, + gpointer user_data); +static void spice_usb_device_manager_add_dev(SpiceUsbDeviceManager *self, + GUdevDevice *udev); +static void spice_usb_device_manager_check_redir_on_connect( + SpiceUsbDeviceManager *self, SpiceChannel *channel); + +static SpiceUsbDeviceInfo *spice_usb_device_new(libusb_device *libdev); +static SpiceUsbDevice *spice_usb_device_ref(SpiceUsbDevice *device); +static void spice_usb_device_unref(SpiceUsbDevice *device); + +#ifdef G_OS_WIN32 +static guint8 spice_usb_device_get_state(SpiceUsbDevice *device); +static void spice_usb_device_set_state(SpiceUsbDevice *device, guint8 s); +#endif + +static gboolean spice_usb_device_equal_libdev(SpiceUsbDevice *device, + libusb_device *libdev); +static libusb_device * +spice_usb_device_manager_device_to_libdev(SpiceUsbDeviceManager *self, + SpiceUsbDevice *device); + +static void +_spice_usb_device_manager_connect_device_async(SpiceUsbDeviceManager *self, + SpiceUsbDevice *device, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +G_DEFINE_BOXED_TYPE(SpiceUsbDevice, spice_usb_device, + (GBoxedCopyFunc)spice_usb_device_ref, + (GBoxedFreeFunc)spice_usb_device_unref) + +#else +G_DEFINE_BOXED_TYPE(SpiceUsbDevice, spice_usb_device, g_object_ref, g_object_unref) +#endif + +static void spice_usb_device_manager_initable_iface_init(GInitableIface *iface); + +#ifdef USE_USBREDIR +#ifdef G_OS_WIN32 +static void spice_usb_device_manager_drv_install_cb(GObject *gobject, + GAsyncResult *res, + gpointer user_data); +#endif +#endif + +static guint signals[LAST_SIGNAL] = { 0, }; + +G_DEFINE_TYPE_WITH_CODE(SpiceUsbDeviceManager, spice_usb_device_manager, G_TYPE_OBJECT, + G_IMPLEMENT_INTERFACE (G_TYPE_INITABLE, spice_usb_device_manager_initable_iface_init)); + +static void spice_usb_device_manager_init(SpiceUsbDeviceManager *self) +{ + SpiceUsbDeviceManagerPrivate *priv; + + priv = SPICE_USB_DEVICE_MANAGER_GET_PRIVATE(self); + self->priv = priv; + + priv->channels = g_ptr_array_new(); +#ifdef USE_USBREDIR + priv->devices = g_ptr_array_new_with_free_func((GDestroyNotify) + spice_usb_device_unref); +#endif +} + +static gboolean spice_usb_device_manager_initable_init(GInitable *initable, + GCancellable *cancellable, + GError **err) +{ + SpiceUsbDeviceManager *self; + SpiceUsbDeviceManagerPrivate *priv; +#ifdef USE_USBREDIR + GList *list; + GList *it; + int rc; + const gchar *const subsystems[] = {"usb", NULL}; +#endif + + g_return_val_if_fail(SPICE_IS_USB_DEVICE_MANAGER(initable), FALSE); + g_return_val_if_fail(err == NULL || *err == NULL, FALSE); + + if (cancellable != NULL) { + g_set_error_literal(err, SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + "Cancellable initialization not supported"); + return FALSE; + } + + self = SPICE_USB_DEVICE_MANAGER(initable); + priv = self->priv; + + if (!priv->session) { + g_set_error_literal(err, SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + "SpiceUsbDeviceManager constructed without a session"); + return FALSE; + } + +#ifdef USE_USBREDIR + /* Initialize libusb */ + rc = libusb_init(&priv->context); + if (rc < 0) { + const char *desc = spice_usbutil_libusb_strerror(rc); + g_warning("Error initializing USB support: %s [%i]", desc, rc); + g_set_error(err, SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + "Error initializing USB support: %s [%i]", desc, rc); + return FALSE; + } + + /* Start listening for usb devices plug / unplug */ + priv->udev = g_udev_client_new(subsystems); + g_signal_connect(G_OBJECT(priv->udev), "uevent", + G_CALLBACK(spice_usb_device_manager_uevent_cb), self); + + /* Do coldplug (detection of already connected devices) */ + libusb_get_device_list(priv->context, &priv->coldplug_list); + list = g_udev_client_query_by_subsystem(priv->udev, "usb"); + for (it = g_list_first(list); it; it = g_list_next(it)) { + spice_usb_device_manager_add_dev(self, it->data); + g_object_unref(it->data); + } + g_list_free(list); + libusb_free_device_list(priv->coldplug_list, 1); + priv->coldplug_list = NULL; + + /* Start listening for usb channels connect/disconnect */ + g_signal_connect(priv->session, "channel-new", + G_CALLBACK(channel_new), self); + g_signal_connect(priv->session, "channel-destroy", + G_CALLBACK(channel_destroy), self); + list = spice_session_get_channels(priv->session); + for (it = g_list_first(list); it != NULL; it = g_list_next(it)) { + channel_new(priv->session, it->data, (gpointer*)self); + } + g_list_free(list); + + return TRUE; +#else + g_set_error_literal(err, SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + _("USB redirection support not compiled in")); + return FALSE; +#endif +} + +static void spice_usb_device_manager_finalize(GObject *gobject) +{ + SpiceUsbDeviceManager *self = SPICE_USB_DEVICE_MANAGER(gobject); + SpiceUsbDeviceManagerPrivate *priv = self->priv; + + g_ptr_array_unref(priv->channels); + if (priv->devices) + g_ptr_array_unref(priv->devices); + +#ifdef USE_USBREDIR + g_clear_object(&priv->udev); + if (priv->context) + libusb_exit(priv->context); + if (priv->event_thread) + g_thread_join(priv->event_thread); + free(priv->auto_conn_filter_rules); +#ifdef G_OS_WIN32 + if (priv->installer) + g_object_unref(priv->installer); +#endif +#endif + + g_free(priv->auto_connect_filter); + + /* Chain up to the parent class */ + if (G_OBJECT_CLASS(spice_usb_device_manager_parent_class)->finalize) + G_OBJECT_CLASS(spice_usb_device_manager_parent_class)->finalize(gobject); +} + +static void spice_usb_device_manager_initable_iface_init(GInitableIface *iface) +{ + iface->init = spice_usb_device_manager_initable_init; +} + +static void spice_usb_device_manager_get_property(GObject *gobject, + guint prop_id, + GValue *value, + GParamSpec *pspec) +{ + SpiceUsbDeviceManager *self = SPICE_USB_DEVICE_MANAGER(gobject); + SpiceUsbDeviceManagerPrivate *priv = self->priv; + + switch (prop_id) { + case PROP_SESSION: + g_value_set_object(value, priv->session); + break; + case PROP_AUTO_CONNECT: + g_value_set_boolean(value, priv->auto_connect); + break; + case PROP_AUTO_CONNECT_FILTER: + g_value_set_string(value, priv->auto_connect_filter); + break; + case PROP_REDIRECT_ON_CONNECT: + g_value_set_string(value, priv->redirect_on_connect); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, pspec); + break; + } +} + +static void spice_usb_device_manager_set_property(GObject *gobject, + guint prop_id, + const GValue *value, + GParamSpec *pspec) +{ + SpiceUsbDeviceManager *self = SPICE_USB_DEVICE_MANAGER(gobject); + SpiceUsbDeviceManagerPrivate *priv = self->priv; + + switch (prop_id) { + case PROP_SESSION: + priv->session = g_value_get_object(value); + break; + case PROP_AUTO_CONNECT: + priv->auto_connect = g_value_get_boolean(value); + break; + case PROP_AUTO_CONNECT_FILTER: { + const gchar *filter = g_value_get_string(value); +#ifdef USE_USBREDIR + struct usbredirfilter_rule *rules; + int r, count; + + r = usbredirfilter_string_to_rules(filter, ",", "|", &rules, &count); + if (r) { + if (r == -ENOMEM) + g_error("Failed to allocate memory for auto-connect-filter"); + g_warning("Error parsing auto-connect-filter string, keeping old filter\n"); + break; + } + + free(priv->auto_conn_filter_rules); + priv->auto_conn_filter_rules = rules; + priv->auto_conn_filter_rules_count = count; +#endif + g_free(priv->auto_connect_filter); + priv->auto_connect_filter = g_strdup(filter); + break; + } + case PROP_REDIRECT_ON_CONNECT: { + const gchar *filter = g_value_get_string(value); +#ifdef USE_USBREDIR + struct usbredirfilter_rule *rules = NULL; + int r = 0, count = 0; + + if (filter) + r = usbredirfilter_string_to_rules(filter, ",", "|", + &rules, &count); + if (r) { + if (r == -ENOMEM) + g_error("Failed to allocate memory for redirect-on-connect"); + g_warning("Error parsing redirect-on-connect string, keeping old filter\n"); + break; + } + + free(priv->redirect_on_connect_rules); + priv->redirect_on_connect_rules = rules; + priv->redirect_on_connect_rules_count = count; +#endif + g_free(priv->redirect_on_connect); + priv->redirect_on_connect = g_strdup(filter); + break; + } + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, pspec); + break; + } +} + +static void spice_usb_device_manager_class_init(SpiceUsbDeviceManagerClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS (klass); + GParamSpec *pspec; + + gobject_class->finalize = spice_usb_device_manager_finalize; + gobject_class->get_property = spice_usb_device_manager_get_property; + gobject_class->set_property = spice_usb_device_manager_set_property; + + /** + * SpiceUsbDeviceManager:session: + * + * #SpiceSession this #SpiceUsbDeviceManager is associated with + * + **/ + g_object_class_install_property + (gobject_class, PROP_SESSION, + g_param_spec_object("session", + "Session", + "SpiceSession", + SPICE_TYPE_SESSION, + G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + /** + * SpiceUsbDeviceManager:auto-connect: + * + * Set this to TRUE to automatically redirect newly plugged in device. + * + * Note when #SpiceGtkSession's auto-usbredir property is TRUE, this + * property is controlled by #SpiceGtkSession. + */ + pspec = g_param_spec_boolean("auto-connect", "Auto Connect", + "Auto connect plugged in USB devices", + FALSE, + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); + g_object_class_install_property(gobject_class, PROP_AUTO_CONNECT, pspec); + + /** + * SpiceUsbDeviceManager:auto-connect-filter: + * + * Set a string specifying a filter to use to determine which USB devices + * to autoconnect when plugged in, a filter consists of one or more rules. + * Where each rule has the form of: + * + * @class,@vendor,@product,@version,@allow + * + * Use -1 for @class/@vendor/@product/@version to accept any value. + * + * And the rules are themselves are concatonated like this: + * + * @rule1|@rule2|@rule3 + * + * The default setting filters out HID (class 0x03) USB devices from auto + * connect and auto connects anything else. Note the explicit allow rule at + * the end, this is necessary since by default all devices without a + * matching filter rule will not auto-connect. + * + * Filter strings in this format can be easily created with the RHEV-M + * USB filter editor tool. + */ + pspec = g_param_spec_string("auto-connect-filter", "Auto Connect Filter ", + "Filter determining which USB devices to auto connect", + "0x03,-1,-1,-1,0|-1,-1,-1,-1,1", + G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS); + g_object_class_install_property(gobject_class, PROP_AUTO_CONNECT_FILTER, + pspec); + + /** + * SpiceUsbDeviceManager:redirect-on-connect: + * + * Set a string specifying a filter selecting USB devices to automatically + * redirect after a Spice connection has been established. + * + * See SpiceUsbDeviceManager:auto-connect-filter: for the filter string + * format. + */ + pspec = g_param_spec_string("redirect-on-connect", "Redirect on connect", + "Filter selecting USB devices to redirect on connect", NULL, + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); + g_object_class_install_property(gobject_class, PROP_REDIRECT_ON_CONNECT, + pspec); + + /** + * SpiceUsbDeviceManager::device-added: + * @manager: the #SpiceUsbDeviceManager that emitted the signal + * @device: #SpiceUsbDevice boxed object corresponding to the added device + * + * The #SpiceUsbDeviceManager::device-added signal is emitted whenever + * a new USB device has been plugged in. + **/ + signals[DEVICE_ADDED] = + g_signal_new("device-added", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceUsbDeviceManagerClass, device_added), + NULL, NULL, + g_cclosure_marshal_VOID__BOXED, + G_TYPE_NONE, + 1, + SPICE_TYPE_USB_DEVICE); + + /** + * SpiceUsbDeviceManager::device-removed: + * @manager: the #SpiceUsbDeviceManager that emitted the signal + * @device: #SpiceUsbDevice boxed object corresponding to the removed device + * + * The #SpiceUsbDeviceManager::device-removed signal is emitted whenever + * an USB device has been removed. + **/ + signals[DEVICE_REMOVED] = + g_signal_new("device-removed", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceUsbDeviceManagerClass, device_removed), + NULL, NULL, + g_cclosure_marshal_VOID__BOXED, + G_TYPE_NONE, + 1, + SPICE_TYPE_USB_DEVICE); + + /** + * SpiceUsbDeviceManager::auto-connect-failed: + * @manager: the #SpiceUsbDeviceManager that emitted the signal + * @device: #SpiceUsbDevice boxed object corresponding to the device which failed to auto connect + * @error: #GError describing the reason why the autoconnect failed + * + * The #SpiceUsbDeviceManager::auto-connect-failed signal is emitted + * whenever the auto-connect property is true, and a newly plugged in + * device could not be auto-connected. + **/ + signals[AUTO_CONNECT_FAILED] = + g_signal_new("auto-connect-failed", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceUsbDeviceManagerClass, auto_connect_failed), + NULL, NULL, + g_cclosure_user_marshal_VOID__BOXED_BOXED, + G_TYPE_NONE, + 2, + SPICE_TYPE_USB_DEVICE, + G_TYPE_ERROR); + + /** + * SpiceUsbDeviceManager::device-error: + * @manager: #SpiceUsbDeviceManager that emitted the signal + * @device: #SpiceUsbDevice boxed object corresponding to the device which has an error + * @error: #GError describing the error + * + * The #SpiceUsbDeviceManager::device-error signal is emitted whenever an + * error happens which causes a device to no longer be available to the + * guest. + **/ + signals[DEVICE_ERROR] = + g_signal_new("device-error", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceUsbDeviceManagerClass, device_error), + NULL, NULL, + g_cclosure_user_marshal_VOID__BOXED_BOXED, + G_TYPE_NONE, + 2, + SPICE_TYPE_USB_DEVICE, + G_TYPE_ERROR); + + g_type_class_add_private(klass, sizeof(SpiceUsbDeviceManagerPrivate)); +} + +#ifdef USE_USBREDIR + +/* ------------------------------------------------------------------ */ +/* gudev / libusb Helper functions */ + +static gboolean spice_usb_device_manager_get_udev_bus_n_address( + GUdevDevice *udev, int *bus, int *address) +{ + const gchar *bus_str, *address_str; + + *bus = *address = 0; + +#ifndef G_OS_WIN32 + bus_str = g_udev_device_get_property(udev, "BUSNUM"); + address_str = g_udev_device_get_property(udev, "DEVNUM"); +#else /* Windows -- request vid:pid instead */ + bus_str = g_udev_device_get_property(udev, "VID"); + address_str = g_udev_device_get_property(udev, "PID"); +#endif + if (bus_str) + *bus = atoi(bus_str); + if (address_str) + *address = atoi(address_str); + + return *bus && *address; +} + +static gboolean spice_usb_device_manager_get_device_descriptor( + libusb_device *libdev, + struct libusb_device_descriptor *desc) +{ + int errcode; + const gchar *errstr; + + g_return_val_if_fail(libdev != NULL, FALSE); + g_return_val_if_fail(desc != NULL, FALSE); + + errcode = libusb_get_device_descriptor(libdev, desc); + if (errcode < 0) { + int bus, addr; + + bus = libusb_get_bus_number(libdev); + addr = libusb_get_device_address(libdev); + errstr = spice_usbutil_libusb_strerror(errcode); + g_warning("cannot get device descriptor for (%p) %d.%d -- %s(%d)", + libdev, bus, addr, errstr, errcode); + return FALSE; + } + return TRUE; +} + +static gboolean spice_usb_device_manager_get_libdev_vid_pid( + libusb_device *libdev, int *vid, int *pid) +{ + struct libusb_device_descriptor desc; + + g_return_val_if_fail(libdev != NULL, FALSE); + g_return_val_if_fail(vid != NULL, FALSE); + g_return_val_if_fail(pid != NULL, FALSE); + + *vid = *pid = 0; + + if (!spice_usb_device_manager_get_device_descriptor(libdev, &desc)) { + return FALSE; + } + *vid = desc.idVendor; + *pid = desc.idProduct; + + return TRUE; +} + +/* ------------------------------------------------------------------ */ +/* callbacks */ + +static void channel_new(SpiceSession *session, SpiceChannel *channel, + gpointer user_data) +{ + SpiceUsbDeviceManager *self = user_data; + + if (SPICE_IS_USBREDIR_CHANNEL(channel)) { + spice_usbredir_channel_set_context(SPICE_USBREDIR_CHANNEL(channel), + self->priv->context); + spice_channel_connect(channel); + g_ptr_array_add(self->priv->channels, channel); + + spice_usb_device_manager_check_redir_on_connect(self, channel); + } +} + +static void channel_destroy(SpiceSession *session, SpiceChannel *channel, + gpointer user_data) +{ + SpiceUsbDeviceManager *self = user_data; + + if (SPICE_IS_USBREDIR_CHANNEL(channel)) + g_ptr_array_remove(self->priv->channels, channel); +} + +static void spice_usb_device_manager_auto_connect_cb(GObject *gobject, + GAsyncResult *res, + gpointer user_data) +{ + SpiceUsbDeviceManager *self = SPICE_USB_DEVICE_MANAGER(gobject); + SpiceUsbDevice *device = user_data; + GError *err = NULL; + + spice_usb_device_manager_connect_device_finish(self, res, &err); + if (err) { + gchar *desc = spice_usb_device_get_description(device, NULL); + g_prefix_error(&err, "Could not auto-redirect %s: ", desc); + g_free(desc); + + SPICE_DEBUG("%s", err->message); + g_signal_emit(self, signals[AUTO_CONNECT_FAILED], 0, device, err); + g_error_free(err); + } + spice_usb_device_unref(device); +} + +#ifndef G_OS_WIN32 /* match functions for Linux -- match by bus.addr */ +static gboolean +spice_usb_device_manager_device_match(SpiceUsbDevice *device, + const int bus, const int address) +{ + return (spice_usb_device_get_busnum(device) == bus && + spice_usb_device_get_devaddr(device) == address); +} + +static gboolean +spice_usb_device_manager_libdev_match(libusb_device *libdev, + const int bus, const int address) +{ + return (libusb_get_bus_number(libdev) == bus && + libusb_get_device_address(libdev) == address); +} + +#else /* Win32 -- match functions for Windows -- match by vid:pid */ +static gboolean +spice_usb_device_manager_device_match(SpiceUsbDevice *device, + const int vid, const int pid) +{ + return (spice_usb_device_get_vid(device) == vid && + spice_usb_device_get_pid(device) == pid); +} + +static gboolean +spice_usb_device_manager_libdev_match(libusb_device *libdev, + const int vid, const int pid) +{ + int vid2, pid2; + + if (!spice_usb_device_manager_get_libdev_vid_pid(libdev, &vid2, &pid2)) { + return FALSE; + } + return (vid == vid2 && pid == pid2); +} +#endif /* of Win32 -- match functions */ + +static SpiceUsbDevice* +spice_usb_device_manager_find_device(SpiceUsbDeviceManager *self, + const int bus, const int address) +{ + SpiceUsbDeviceManagerPrivate *priv = self->priv; + SpiceUsbDevice *curr, *device = NULL; + guint i; + + for (i = 0; i < priv->devices->len; i++) { + curr = g_ptr_array_index(priv->devices, i); + if (spice_usb_device_manager_device_match(curr, bus, address)) { + device = curr; + break; + } + } + return device; +} + +static void spice_usb_device_manager_add_dev(SpiceUsbDeviceManager *self, + GUdevDevice *udev) +{ + SpiceUsbDeviceManagerPrivate *priv = self->priv; + libusb_device *libdev = NULL, **dev_list = NULL; + SpiceUsbDevice *device = NULL; + const gchar *devtype, *devclass; + int i, bus, address; + gboolean auto_ok = FALSE; + + devtype = g_udev_device_get_property(udev, "DEVTYPE"); + /* Check if this is a usb device (and not an interface) */ + if (!devtype || strcmp(devtype, "usb_device")) + return; + + /* Skip hubs */ + devclass = g_udev_device_get_sysfs_attr(udev, "bDeviceClass"); + if (!devclass || !strcmp(devclass, "09")) + return; + + if (!spice_usb_device_manager_get_udev_bus_n_address(udev, &bus, &address)) { + g_warning("USB device without bus number or device address"); + return; + } + + device = spice_usb_device_manager_find_device(self, bus, address); + if (device) { + SPICE_DEBUG("USB device 0x%04x:0x%04x at %d.%d already exists, ignored", + spice_usb_device_get_vid(device), + spice_usb_device_get_pid(device), + spice_usb_device_get_busnum(device), + spice_usb_device_get_devaddr(device)); + return; + } + + if (priv->coldplug_list) + dev_list = priv->coldplug_list; + else + libusb_get_device_list(priv->context, &dev_list); + + for (i = 0; dev_list && dev_list[i]; i++) { + if (spice_usb_device_manager_libdev_match(dev_list[i], bus, address)) { + libdev = dev_list[i]; + break; + } + } + + if (libdev) + device = (SpiceUsbDevice*)spice_usb_device_new(libdev); + + if (device && priv->auto_connect) { + auto_ok = usbredirhost_check_device_filter( + priv->auto_conn_filter_rules, + priv->auto_conn_filter_rules_count, + libdev, 0) == 0; + } + + if (!priv->coldplug_list) + libusb_free_device_list(dev_list, 1); + + if (!device) { + g_warning("Could not find USB device to add " DEV_ID_FMT, + bus, address); + return; + } + + g_ptr_array_add(priv->devices, device); + + if (priv->auto_connect) { + gboolean can_redirect; + + can_redirect = spice_usb_device_manager_can_redirect_device( + self, device, NULL); + + if (can_redirect && auto_ok) + spice_usb_device_manager_connect_device_async(self, + device, NULL, + spice_usb_device_manager_auto_connect_cb, + spice_usb_device_ref(device)); + } + + SPICE_DEBUG("device added %p", device); + g_signal_emit(self, signals[DEVICE_ADDED], 0, device); +} + +static void spice_usb_device_manager_remove_dev(SpiceUsbDeviceManager *self, + GUdevDevice *udev) +{ + SpiceUsbDeviceManagerPrivate *priv = self->priv; + SpiceUsbDevice *device = NULL; + int bus, address; + + if (!spice_usb_device_manager_get_udev_bus_n_address(udev, &bus, &address)) + return; + + device = spice_usb_device_manager_find_device(self, bus, address); + if (!device) { + g_warning("Could not find USB device to remove " DEV_ID_FMT, + bus, address); + return; + } + +#ifdef G_OS_WIN32 + const guint8 state = spice_usb_device_get_state(device); + if ((state == SPICE_USB_DEVICE_STATE_INSTALLING) || + (state == SPICE_USB_DEVICE_STATE_UNINSTALLING)) { + SPICE_DEBUG("skipping " DEV_ID_FMT ". It is un/installing its driver", + bus, address); + return; + } +#endif + + spice_usb_device_manager_disconnect_device(self, device); + + SPICE_DEBUG("device removed %p", device); + spice_usb_device_ref(device); + g_ptr_array_remove(priv->devices, device); + g_signal_emit(self, signals[DEVICE_REMOVED], 0, device); + spice_usb_device_unref(device); +} + +static void spice_usb_device_manager_uevent_cb(GUdevClient *client, + const gchar *action, + GUdevDevice *udevice, + gpointer user_data) +{ + SpiceUsbDeviceManager *self = SPICE_USB_DEVICE_MANAGER(user_data); + + if (g_str_equal(action, "add")) + spice_usb_device_manager_add_dev(self, udevice); + else if (g_str_equal (action, "remove")) + spice_usb_device_manager_remove_dev(self, udevice); +} + +static void spice_usb_device_manager_channel_connect_cb( + GObject *gobject, GAsyncResult *channel_res, gpointer user_data) +{ + SpiceUsbredirChannel *channel = SPICE_USBREDIR_CHANNEL(gobject); + GSimpleAsyncResult *result = G_SIMPLE_ASYNC_RESULT(user_data); + GError *err = NULL; + + spice_usbredir_channel_connect_device_finish(channel, channel_res, &err); + if (err) { + g_simple_async_result_take_error(result, err); + } + g_simple_async_result_complete(result); + g_object_unref(result); +} + +#ifdef G_OS_WIN32 + +typedef struct _UsbInstallCbInfo { + SpiceUsbDeviceManager *manager; + SpiceUsbDevice *device; + SpiceWinUsbDriver *installer; + GCancellable *cancellable; + GAsyncReadyCallback callback; + gpointer user_data; + gboolean is_install; +} UsbInstallCbInfo; + +/** + * spice_usb_device_manager_drv_install_cb: + * @gobject: #SpiceWinUsbDriver in charge of installing the driver + * @res: #GAsyncResult of async win usb driver installation + * @user_data: #SpiceUsbDeviceManager requested the installation + * + * Called when an Windows libusb driver installation completed. + * + * If the driver installation was successful, continue with USB + * device redirection + * + * Always call _spice_usb_device_manager_connect_device_async. + * When installation fails, libusb_open fails too, but cleanup would be better. + */ +static void spice_usb_device_manager_drv_install_cb(GObject *gobject, + GAsyncResult *res, + gpointer user_data) +{ + SpiceUsbDeviceManager *self; + SpiceWinUsbDriver *installer; + gint status; + GError *err = NULL; + SpiceUsbDevice *device; + UsbInstallCbInfo *cbinfo; + GCancellable *cancellable; + GAsyncReadyCallback callback; + gboolean is_install; + const gchar *opstr; + + g_return_if_fail(user_data != NULL); + + cbinfo = user_data; + self = cbinfo->manager; + device = cbinfo->device; + installer = cbinfo->installer; + cancellable = cbinfo->cancellable; + callback = cbinfo->callback; + user_data = cbinfo->user_data; + is_install = cbinfo->is_install; + + g_free(cbinfo); + + g_return_if_fail(SPICE_IS_USB_DEVICE_MANAGER(self)); + g_return_if_fail(SPICE_IS_WIN_USB_DRIVER(installer)); + g_return_if_fail(device!= NULL); + + opstr = is_install ? "install" : "uninstall"; + SPICE_DEBUG("Win USB driver %s finished", opstr); + + status = spice_win_usb_driver_install_finish(installer, res, &err); + + spice_usb_device_unref(device); + + spice_usb_device_set_state(device, SPICE_USB_DEVICE_STATE_NONE); + + if (err) { + g_warning("win usb driver %s failed -- %s", opstr, err->message); + g_error_free(err); + } + + if (!status) { + g_warning("failed to %s win usb driver (status=0)", opstr); + } + + if (! is_install) { + return; + } + + /* device is already ref'ed */ + _spice_usb_device_manager_connect_device_async(self, + device, + cancellable, + callback, + user_data); + +} +#endif + +/* ------------------------------------------------------------------ */ +/* private api */ + +static gpointer spice_usb_device_manager_usb_ev_thread(gpointer user_data) +{ + SpiceUsbDeviceManager *self = SPICE_USB_DEVICE_MANAGER(user_data); + SpiceUsbDeviceManagerPrivate *priv = self->priv; + int rc; + + while (priv->event_thread_run) { + rc = libusb_handle_events(priv->context); + if (rc && rc != LIBUSB_ERROR_INTERRUPTED) { + const char *desc = spice_usbutil_libusb_strerror(rc); + g_warning("Error handling USB events: %s [%i]", desc, rc); + } + } + + return NULL; +} + +gboolean spice_usb_device_manager_start_event_listening( + SpiceUsbDeviceManager *self, GError **err) +{ + SpiceUsbDeviceManagerPrivate *priv = self->priv; + + g_return_val_if_fail(err == NULL || *err == NULL, FALSE); + + priv->event_listeners++; + if (priv->event_listeners > 1) + return TRUE; + + /* We don't join the thread when we stop event listening, as the + libusb_handle_events call in the thread won't exit until the + libusb_close call for the device is made from usbredirhost_close. */ + if (priv->event_thread) { + g_thread_join(priv->event_thread); + priv->event_thread = NULL; + } + priv->event_thread_run = TRUE; +#if GLIB_CHECK_VERSION(2,31,19) + priv->event_thread = g_thread_new("usb_ev_thread", + spice_usb_device_manager_usb_ev_thread, + self); +#else + priv->event_thread = g_thread_create(spice_usb_device_manager_usb_ev_thread, + self, TRUE, err); +#endif + return priv->event_thread != NULL; +} + +void spice_usb_device_manager_stop_event_listening( + SpiceUsbDeviceManager *self) +{ + SpiceUsbDeviceManagerPrivate *priv = self->priv; + + g_return_if_fail(priv->event_listeners > 0); + + priv->event_listeners--; + if (priv->event_listeners == 0) + priv->event_thread_run = FALSE; +} + +static void spice_usb_device_manager_check_redir_on_connect( + SpiceUsbDeviceManager *self, SpiceChannel *channel) +{ + SpiceUsbDeviceManagerPrivate *priv = self->priv; + GSimpleAsyncResult *result; + SpiceUsbDevice *device; + libusb_device *libdev; + guint i; + + if (priv->redirect_on_connect == NULL) + return; + + for (i = 0; i < priv->devices->len; i++) { + device = g_ptr_array_index(priv->devices, i); + + if (spice_usb_device_manager_is_device_connected(self, device)) + continue; + + libdev = spice_usb_device_manager_device_to_libdev(self, device); + + if (usbredirhost_check_device_filter( + priv->redirect_on_connect_rules, + priv->redirect_on_connect_rules_count, + libdev, 0) == 0) { + /* Note: re-uses spice_usb_device_manager_connect_device_async's + completion handling code! */ + result = g_simple_async_result_new(G_OBJECT(self), + spice_usb_device_manager_auto_connect_cb, + spice_usb_device_ref(device), + spice_usb_device_manager_connect_device_async); + spice_usbredir_channel_connect_device_async( + SPICE_USBREDIR_CHANNEL(channel), + libdev, device, NULL, + spice_usb_device_manager_channel_connect_cb, + result); + libusb_unref_device(libdev); + return; /* We've taken the channel! */ + } + + libusb_unref_device(libdev); + } +} + +void spice_usb_device_manager_device_error( + SpiceUsbDeviceManager *self, SpiceUsbDevice *device, GError *err) +{ + g_return_if_fail(SPICE_IS_USB_DEVICE_MANAGER(self)); + g_return_if_fail(device != NULL); + + g_signal_emit(self, signals[DEVICE_ERROR], 0, device, err); +} +#endif + +static SpiceUsbredirChannel *spice_usb_device_manager_get_channel_for_dev( + SpiceUsbDeviceManager *manager, SpiceUsbDevice *device) +{ +#ifdef USE_USBREDIR + SpiceUsbDeviceManagerPrivate *priv = manager->priv; + guint i; + + for (i = 0; i < priv->channels->len; i++) { + SpiceUsbredirChannel *channel = g_ptr_array_index(priv->channels, i); + libusb_device *libdev = spice_usbredir_channel_get_device(channel); + if (spice_usb_device_equal_libdev(device, libdev)) + return channel; + } +#endif + return NULL; +} + +/* ------------------------------------------------------------------ */ +/* public api */ + +/** + * spice_usb_device_manager_get: + * @session: #SpiceSession for which to get the #SpiceUsbDeviceManager + * + * Gets the #SpiceUsbDeviceManager associated with the passed in #SpiceSession. + * A new #SpiceUsbDeviceManager instance will be created the first time this + * function is called for a certain #SpiceSession. + * + * Note that this function returns a weak reference, which should not be used + * after the #SpiceSession itself has been unref-ed by the caller. + * + * Returns: (transfer none): a weak reference to the #SpiceUsbDeviceManager associated with the passed in #SpiceSession + */ +SpiceUsbDeviceManager *spice_usb_device_manager_get(SpiceSession *session, + GError **err) +{ + SpiceUsbDeviceManager *self; + static GStaticMutex mutex = G_STATIC_MUTEX_INIT; + + g_return_val_if_fail(err == NULL || *err == NULL, NULL); + + g_static_mutex_lock(&mutex); + self = session->priv->usb_manager; + if (self == NULL) { + self = g_initable_new(SPICE_TYPE_USB_DEVICE_MANAGER, NULL, err, + "session", session, NULL); + session->priv->usb_manager = self; + } + g_static_mutex_unlock(&mutex); + + return self; +} + +/** + * spice_usb_device_manager_get_devices: + * @manager: the #SpiceUsbDeviceManager manager + * + * Returns: (element-type SpiceUsbDevice) (transfer full): a %GPtrArray array of %SpiceUsbDevice + */ +GPtrArray* spice_usb_device_manager_get_devices(SpiceUsbDeviceManager *self) +{ + GPtrArray *devices_copy = NULL; + + g_return_val_if_fail(SPICE_IS_USB_DEVICE_MANAGER(self), NULL); + +#ifdef USE_USBREDIR + SpiceUsbDeviceManagerPrivate *priv = self->priv; + guint i; + + devices_copy = g_ptr_array_new_with_free_func((GDestroyNotify) + spice_usb_device_unref); + for (i = 0; i < priv->devices->len; i++) { + SpiceUsbDevice *device = g_ptr_array_index(priv->devices, i); + g_ptr_array_add(devices_copy, spice_usb_device_ref(device)); + } +#endif + + return devices_copy; +} + +/** + * spice_usb_device_manager_is_device_connected: + * @manager: the #SpiceUsbDeviceManager manager + * @device: a #SpiceUsbDevice + * + * Returns: %TRUE if @device has an associated USB redirection channel + */ +gboolean spice_usb_device_manager_is_device_connected(SpiceUsbDeviceManager *self, + SpiceUsbDevice *device) +{ + g_return_val_if_fail(SPICE_IS_USB_DEVICE_MANAGER(self), FALSE); + g_return_val_if_fail(device != NULL, FALSE); + + return !!spice_usb_device_manager_get_channel_for_dev(self, device); +} + +/** + * spice_usb_device_manager_connect_device_async: + * @manager: the #SpiceUsbDeviceManager manager + * @device: a #SpiceUsbDevice to redirect + * @cancellable: a #GCancellable or NULL + * @callback: a #GAsyncReadyCallback to call when the request is satisfied + * @user_data: data to pass to callback + */ +static void +_spice_usb_device_manager_connect_device_async(SpiceUsbDeviceManager *self, + SpiceUsbDevice *device, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + GSimpleAsyncResult *result; + + g_return_if_fail(SPICE_IS_USB_DEVICE_MANAGER(self)); + g_return_if_fail(device != NULL); + + SPICE_DEBUG("connecting device %p", device); + + result = g_simple_async_result_new(G_OBJECT(self), callback, user_data, + spice_usb_device_manager_connect_device_async); + +#ifdef USE_USBREDIR + SpiceUsbDeviceManagerPrivate *priv = self->priv; + libusb_device *libdev; + guint i; + + if (spice_usb_device_manager_is_device_connected(self, device)) { + g_simple_async_result_set_error(result, + SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + "Cannot connect an already connected usb device"); + goto done; + } + + for (i = 0; i < priv->channels->len; i++) { + SpiceUsbredirChannel *channel = g_ptr_array_index(priv->channels, i); + + if (spice_usbredir_channel_get_device(channel)) + continue; /* Skip already used channels */ + + libdev = spice_usb_device_manager_device_to_libdev(self, device); + if (libdev == NULL) { +#ifdef G_OS_WIN32 + /* Most likely, the device was plugged out at driver installation + * time, and its remove-device event was ignored. + * So remove the device now + */ + SPICE_DEBUG("libdev does not exist for %p -- removing", device); + spice_usb_device_ref(device); + g_ptr_array_remove(priv->devices, device); + g_signal_emit(self, signals[DEVICE_REMOVED], 0, device); + spice_usb_device_unref(device); +#endif + g_simple_async_result_set_error(result, + SPICE_CLIENT_ERROR, + SPICE_CLIENT_ERROR_FAILED, + _("Device was not found")); + goto done; + } + spice_usbredir_channel_connect_device_async(channel, + libdev, + device, + cancellable, + spice_usb_device_manager_channel_connect_cb, + result); + libusb_unref_device(libdev); + return; + } +#endif + + g_simple_async_result_set_error(result, + SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + _("No free USB channel")); +#ifdef USE_USBREDIR +done: +#endif + g_simple_async_result_complete_in_idle(result); + g_object_unref(result); +} + + +void spice_usb_device_manager_connect_device_async(SpiceUsbDeviceManager *self, + SpiceUsbDevice *device, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + +#if defined(USE_USBREDIR) && defined(G_OS_WIN32) + SpiceWinUsbDriver *installer; + UsbInstallCbInfo *cbinfo; + + spice_usb_device_set_state(device, SPICE_USB_DEVICE_STATE_INSTALLING); + if (! self->priv->installer) { + self->priv->installer = spice_win_usb_driver_new(); + } + installer = self->priv->installer; + cbinfo = g_new0(UsbInstallCbInfo, 1); + cbinfo->manager = self; + cbinfo->device = spice_usb_device_ref(device); + cbinfo->installer = installer; + cbinfo->cancellable = cancellable; + cbinfo->callback = callback; + cbinfo->user_data = user_data; + cbinfo->is_install = TRUE; + + spice_win_usb_driver_install(installer, device, cancellable, + spice_usb_device_manager_drv_install_cb, + cbinfo); +#else + _spice_usb_device_manager_connect_device_async(self, + device, + cancellable, + callback, + user_data); +#endif +} + +gboolean spice_usb_device_manager_connect_device_finish( + SpiceUsbDeviceManager *self, GAsyncResult *res, GError **err) +{ + GSimpleAsyncResult *simple = G_SIMPLE_ASYNC_RESULT(res); + + g_return_val_if_fail(g_simple_async_result_is_valid(res, G_OBJECT(self), + spice_usb_device_manager_connect_device_async), + FALSE); + + if (g_simple_async_result_propagate_error(simple, err)) + return FALSE; + + return TRUE; +} + +/** + * spice_usb_device_manager_disconnect_device: + * @manager: the #SpiceUsbDeviceManager manager + * @device: a #SpiceUsbDevice to disconnect + * + * Returns: %TRUE if @device has an associated USB redirection channel + */ +void spice_usb_device_manager_disconnect_device(SpiceUsbDeviceManager *self, + SpiceUsbDevice *device) +{ + g_return_if_fail(SPICE_IS_USB_DEVICE_MANAGER(self)); + g_return_if_fail(device != NULL); + + SPICE_DEBUG("disconnecting device %p", device); + +#ifdef USE_USBREDIR + SpiceUsbredirChannel *channel; + + channel = spice_usb_device_manager_get_channel_for_dev(self, device); + if (channel) + spice_usbredir_channel_disconnect_device(channel); + +#ifdef G_OS_WIN32 + SpiceWinUsbDriver *installer; + UsbInstallCbInfo *cbinfo; + + g_warn_if_fail(device != NULL); + g_warn_if_fail(self->priv->installer != NULL); + + spice_usb_device_set_state(device, SPICE_USB_DEVICE_STATE_UNINSTALLING); + if (! self->priv->installer) { + self->priv->installer = spice_win_usb_driver_new(); + } + installer = self->priv->installer; + cbinfo = g_new0(UsbInstallCbInfo, 1); + cbinfo->manager = self; + cbinfo->device = spice_usb_device_ref(device); + cbinfo->installer = installer; + cbinfo->cancellable = NULL; + cbinfo->callback = NULL; + cbinfo->user_data = NULL; + cbinfo->is_install = FALSE; + + spice_win_usb_driver_uninstall(installer, device, NULL, + spice_usb_device_manager_drv_install_cb, + cbinfo); +#endif + +#endif +} + +gboolean +spice_usb_device_manager_can_redirect_device(SpiceUsbDeviceManager *self, + SpiceUsbDevice *device, + GError **err) +{ +#ifdef USE_USBREDIR + const struct usbredirfilter_rule *guest_filter_rules = NULL; + SpiceUsbDeviceManagerPrivate *priv = self->priv; + int i, guest_filter_rules_count; + + g_return_val_if_fail(SPICE_IS_USB_DEVICE_MANAGER(self), FALSE); + g_return_val_if_fail(device != NULL, FALSE); + g_return_val_if_fail(err == NULL || *err == NULL, FALSE); + + if (!priv->session->priv->usbredir) { + g_set_error_literal(err, SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + _("USB redirection is disabled")); + return FALSE; + } + + if (!priv->channels->len) { + g_set_error_literal(err, SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + _("The connected VM is not configured for USB redirection")); + return FALSE; + } + + /* Skip the other checks for already connected devices */ + if (spice_usb_device_manager_is_device_connected(self, device)) + return TRUE; + + /* We assume all channels have the same filter, so we just take the + filter from the first channel */ + spice_usbredir_channel_get_guest_filter( + g_ptr_array_index(priv->channels, 0), + &guest_filter_rules, &guest_filter_rules_count); + + if (guest_filter_rules) { + gboolean filter_ok; + libusb_device *libdev; + + libdev = spice_usb_device_manager_device_to_libdev(self, device); + g_return_val_if_fail(libdev != NULL, FALSE); + filter_ok = (usbredirhost_check_device_filter( + guest_filter_rules, guest_filter_rules_count, + libdev, 0) == 0); + libusb_unref_device(libdev); + if (!filter_ok) { + g_set_error_literal(err, SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + _("Some USB devices are blocked by host policy")); + return FALSE; + } + } + + /* Check if there are free channels */ + for (i = 0; i < priv->channels->len; i++) { + SpiceUsbredirChannel *channel = g_ptr_array_index(priv->channels, i); + + if (!spice_usbredir_channel_get_device(channel)) + break; + } + if (i == priv->channels->len) { + g_set_error_literal(err, SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + _("There are no free USB channels")); + return FALSE; + } + + return TRUE; +#else + g_set_error_literal(err, SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, + _("USB redirection support not compiled in")); + return FALSE; +#endif +} + +/** + * spice_usb_device_get_description: + * @device: #SpiceUsbDevice to get the description of + * @format: an optionnal printf() format string with positional parameters + * + * Get a string describing the device which is suitable as a description of + * the device for the end user. The returned string should be freed with + * g_free() when no longer needed. + * + * The @format positional parameters are the following: + * - '%%1$s' manufacturer + * - '%%2$s' product + * - '%%3$s' descriptor (a [vendor_id:product_id] string) + * - '%%4$d' bus + * - '%%5$d' address + * + * (the default format string is "%%s %%s %%s at %%d-%%d") + * + * Returns: a newly-allocated string holding the description, or %NULL if failed + */ +gchar *spice_usb_device_get_description(SpiceUsbDevice *device, const gchar *format) +{ +#ifdef USE_USBREDIR + int bus, address, vid, pid; + gchar *description, *descriptor, *manufacturer = NULL, *product = NULL; + + g_return_val_if_fail(device != NULL, NULL); + + bus = spice_usb_device_get_busnum(device); + address = spice_usb_device_get_devaddr(device); + vid = spice_usb_device_get_vid(device); + pid = spice_usb_device_get_pid(device); + + if ((vid > 0) && (pid > 0)) { + descriptor = g_strdup_printf("[%04x:%04x]", vid, pid); + } else { + descriptor = g_strdup(""); + } + + spice_usb_util_get_device_strings(bus, address, vid, pid, + &manufacturer, &product); + + if (!format) + format = _("%s %s %s at %d-%d"); + + description = g_strdup_printf(format, manufacturer, product, descriptor, bus, address); + + g_free(manufacturer); + g_free(descriptor); + g_free(product); + + return description; +#else + return NULL; +#endif +} + + + +#ifdef USE_USBREDIR +/* + * SpiceUsbDeviceInfo + */ +static SpiceUsbDeviceInfo *spice_usb_device_new(libusb_device *libdev) +{ + SpiceUsbDeviceInfo *info; + int vid, pid; + guint8 bus, addr; + + g_return_val_if_fail(libdev != NULL, NULL); + + bus = libusb_get_bus_number(libdev); + addr = libusb_get_device_address(libdev); + + if (!spice_usb_device_manager_get_libdev_vid_pid(libdev, &vid, &pid)) { + return NULL; + } + + info = g_new0(SpiceUsbDeviceInfo, 1); + + info->busnum = bus; + info->devaddr = addr; + info->vid = vid; + info->pid = pid; + info->ref = 1; + + return info; +} + +guint8 spice_usb_device_get_busnum(const SpiceUsbDevice *device) +{ + const SpiceUsbDeviceInfo *info = (const SpiceUsbDeviceInfo *)device; + + g_return_val_if_fail(info != NULL, 0); + + return info->busnum; +} + +guint8 spice_usb_device_get_devaddr(const SpiceUsbDevice *device) +{ + const SpiceUsbDeviceInfo *info = (const SpiceUsbDeviceInfo *)device; + + g_return_val_if_fail(info != NULL, 0); + + return info->devaddr; +} + +guint16 spice_usb_device_get_vid(const SpiceUsbDevice *device) +{ + const SpiceUsbDeviceInfo *info = (const SpiceUsbDeviceInfo *)device; + + g_return_val_if_fail(info != NULL, 0); + + return info->vid; +} + +guint16 spice_usb_device_get_pid(const SpiceUsbDevice *device) +{ + const SpiceUsbDeviceInfo *info = (const SpiceUsbDeviceInfo *)device; + + g_return_val_if_fail(info != NULL, 0); + + return info->pid; +} + +#ifdef G_OS_WIN32 +void spice_usb_device_set_state(SpiceUsbDevice *device, guint8 state) +{ + SpiceUsbDeviceInfo *info = (SpiceUsbDeviceInfo *)device; + + g_return_if_fail(info != NULL); + + info->state = state; +} + +guint8 spice_usb_device_get_state(SpiceUsbDevice *device) +{ + SpiceUsbDeviceInfo *info = (SpiceUsbDeviceInfo *)device; + + g_return_val_if_fail(info != NULL, 0); + + return info->state; +} +#endif + +static SpiceUsbDevice *spice_usb_device_ref(SpiceUsbDevice *device) +{ + SpiceUsbDeviceInfo *info = (SpiceUsbDeviceInfo *)device; + + g_return_val_if_fail(info != NULL, NULL); + g_atomic_int_inc(&info->ref); + return device; +} + +static void spice_usb_device_unref(SpiceUsbDevice *device) +{ + gboolean ref_count_is_0; + + SpiceUsbDeviceInfo *info = (SpiceUsbDeviceInfo *)device; + + g_return_if_fail(info != NULL); + + ref_count_is_0 = g_atomic_int_dec_and_test(&info->ref); + if (ref_count_is_0) { + g_free(info); + } +} + +#ifndef G_OS_WIN32 /* Linux -- compare bus.addr */ +static gboolean +spice_usb_device_equal_libdev(SpiceUsbDevice *device, + libusb_device *libdev) +{ + guint8 addr1, addr2, bus1, bus2; + + if ((device == NULL) || (libdev == NULL)) + return FALSE; + + bus1 = spice_usb_device_get_busnum(device); + addr1 = spice_usb_device_get_devaddr(device); + bus2 = libusb_get_bus_number(libdev); + addr2 = libusb_get_device_address(libdev); + + return ((bus1 == bus2) && (addr1 == addr2)); +} +#else /* Windows -- compare vid:pid of device and libdev */ +static gboolean +spice_usb_device_equal_libdev(SpiceUsbDevice *device, + libusb_device *libdev) +{ + int vid1, vid2, pid1, pid2; + + if ((device == NULL) || (libdev == NULL)) + return FALSE; + + vid1 = spice_usb_device_get_vid(device); + pid1 = spice_usb_device_get_pid(device); + + if (!spice_usb_device_manager_get_libdev_vid_pid(libdev, &vid2, &pid2)) { + return FALSE; + } + + return ((vid1 == vid2) && (pid1 == pid2)); +} +#endif + +/* + * Caller must libusb_unref_device the libusb_device returned by this function. + * Returns a libusb_device, or NULL upon failure + */ +static libusb_device * +spice_usb_device_manager_device_to_libdev(SpiceUsbDeviceManager *self, + SpiceUsbDevice *device) +{ + libusb_device *d, **devlist; + int bus, addr; + int i; + + g_return_val_if_fail(SPICE_IS_USB_DEVICE_MANAGER(self), NULL); + g_return_val_if_fail(device != NULL, NULL); + g_return_val_if_fail(self->priv != NULL, NULL); + g_return_val_if_fail(self->priv->context != NULL, NULL); + +#ifndef G_OS_WIN32 + bus = spice_usb_device_get_busnum(device); + addr = spice_usb_device_get_devaddr(device); +#else + bus = spice_usb_device_get_vid(device); + addr = spice_usb_device_get_pid(device); +#endif + + libusb_get_device_list(self->priv->context, &devlist); + if (!devlist) + return NULL; + + for (i = 0; (d = devlist[i]) != NULL; i++) { + if (spice_usb_device_manager_libdev_match(d, bus, addr)) { + libusb_ref_device(d); + break; + } + } + + libusb_free_device_list(devlist, 1); + + return d; +} +#endif /* USE_USBREDIR */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usb-device-manager.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usb-device-manager.h new file mode 100644 index 0000000..df138ee --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usb-device-manager.h @@ -0,0 +1,119 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2011, 2012 Red Hat, Inc. + + Red Hat Authors: + Hans de Goede <hdegoede@redhat.com> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifndef __SPICE_USB_DEVICE_MANAGER_H__ +#define __SPICE_USB_DEVICE_MANAGER_H__ + +#include "spice-client.h" +#include <gio/gio.h> + +G_BEGIN_DECLS + +#define SPICE_TYPE_USB_DEVICE_MANAGER (spice_usb_device_manager_get_type ()) +#define SPICE_USB_DEVICE_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPICE_TYPE_USB_DEVICE_MANAGER, SpiceUsbDeviceManager)) +#define SPICE_USB_DEVICE_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SPICE_TYPE_USB_DEVICE_MANAGER, SpiceUsbDeviceManagerClass)) +#define SPICE_IS_USB_DEVICE_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPICE_TYPE_USB_DEVICE_MANAGER)) +#define SPICE_IS_USB_DEVICE_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPICE_TYPE_USB_DEVICE_MANAGER)) +#define SPICE_USB_DEVICE_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPICE_TYPE_USB_DEVICE_MANAGER, SpiceUsbDeviceManagerClass)) + +#define SPICE_TYPE_USB_DEVICE (spice_usb_device_get_type()) + +typedef struct _SpiceUsbDeviceManager SpiceUsbDeviceManager; +typedef struct _SpiceUsbDeviceManagerClass SpiceUsbDeviceManagerClass; +typedef struct _SpiceUsbDeviceManagerPrivate SpiceUsbDeviceManagerPrivate; + +typedef struct _SpiceUsbDevice SpiceUsbDevice; + +/** + * SpiceUsbDeviceManager: + * + * The #SpiceUsbDeviceManager struct is opaque and should not be accessed directly. + */ +struct _SpiceUsbDeviceManager +{ + GObject parent; + + /*< private >*/ + SpiceUsbDeviceManagerPrivate *priv; + /* Do not add fields to this struct */ +}; + +/** + * SpiceUsbDeviceManagerClass: + * @parent_class: Parent class. + * @device_added: Signal class handler for the #SpiceUsbDeviceManager::device-added signal. + * @device_removed: Signal class handler for the #SpiceUsbDeviceManager::device-removed signal. + * @auto_connect_failed: Signal class handler for the #SpiceUsbDeviceManager::auto-connect-failed signal. + * + * Class structure for #SpiceUsbDeviceManager. + */ +struct _SpiceUsbDeviceManagerClass +{ + GObjectClass parent_class; + + /* signals */ + void (*device_added) (SpiceUsbDeviceManager *manager, + SpiceUsbDevice *device); + void (*device_removed) (SpiceUsbDeviceManager *manager, + SpiceUsbDevice *device); + void (*auto_connect_failed) (SpiceUsbDeviceManager *manager, + SpiceUsbDevice *device, GError *error); + void (*device_error) (SpiceUsbDeviceManager *manager, + SpiceUsbDevice *device, GError *error); + /*< private >*/ + /* + * If adding fields to this struct, remove corresponding + * amount of padding to avoid changing overall struct size + */ + gchar _spice_reserved[SPICE_RESERVED_PADDING]; +}; + +GType spice_usb_device_get_type(void); +GType spice_usb_device_manager_get_type(void); + +gchar *spice_usb_device_get_description(SpiceUsbDevice *device, const gchar *format); + +SpiceUsbDeviceManager *spice_usb_device_manager_get(SpiceSession *session, + GError **err); + +GPtrArray *spice_usb_device_manager_get_devices(SpiceUsbDeviceManager *manager); + +gboolean spice_usb_device_manager_is_device_connected(SpiceUsbDeviceManager *manager, + SpiceUsbDevice *device); +void spice_usb_device_manager_connect_device_async( + SpiceUsbDeviceManager *manager, + SpiceUsbDevice *device, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +gboolean spice_usb_device_manager_connect_device_finish( + SpiceUsbDeviceManager *self, GAsyncResult *res, GError **err); + +void spice_usb_device_manager_disconnect_device(SpiceUsbDeviceManager *manager, + SpiceUsbDevice *device); + +gboolean +spice_usb_device_manager_can_redirect_device(SpiceUsbDeviceManager *self, + SpiceUsbDevice *device, + GError **err); + +G_END_DECLS + +#endif /* __SPICE_USB_DEVICE_MANAGER_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usb-device-widget.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usb-device-widget.c new file mode 100644 index 0000000..8621a5e --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usb-device-widget.c @@ -0,0 +1,550 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2012 Red Hat, Inc. + + Red Hat Authors: + Hans de Goede <hdegoede@redhat.com> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#include "config.h" +#include <glib/gi18n.h> +#include "glib-compat.h" +#include "spice-client.h" +#include "spice-marshal.h" +#include "usb-device-widget.h" + +/** + * SECTION:usb-device-widget + * @short_description: USB device selection widget + * @title: Spice USB device selection widget + * @section_id: + * @see_also: + * @stability: Stable + * @include: usb-device-widget.h + * + * #SpiceUsbDeviceWidget is a gtk widget which apps can use to easily + * add an UI to select USB devices to redirect (or unredirect). + */ + +/* ------------------------------------------------------------------ */ +/* Prototypes for callbacks */ +static void device_added_cb(SpiceUsbDeviceManager *manager, + SpiceUsbDevice *device, gpointer user_data); +static void device_removed_cb(SpiceUsbDeviceManager *manager, + SpiceUsbDevice *device, gpointer user_data); +static void device_error_cb(SpiceUsbDeviceManager *manager, + SpiceUsbDevice *device, GError *err, gpointer user_data); +static gboolean spice_usb_device_widget_update_status(gpointer user_data); + +/* ------------------------------------------------------------------ */ +/* gobject glue */ + +#define SPICE_USB_DEVICE_WIDGET_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE((obj), SPICE_TYPE_USB_DEVICE_WIDGET, \ + SpiceUsbDeviceWidgetPrivate)) + +enum { + PROP_0, + PROP_SESSION, + PROP_DEVICE_FORMAT_STRING, +}; + +enum { + CONNECT_FAILED, + LAST_SIGNAL, +}; + +struct _SpiceUsbDeviceWidgetPrivate { + SpiceSession *session; + gchar *device_format_string; + SpiceUsbDeviceManager *manager; + GtkWidget *info_bar; + gchar *err_msg; + gsize device_count; +}; + +static guint signals[LAST_SIGNAL] = { 0, }; + +#if GTK_CHECK_VERSION(3,0,0) +G_DEFINE_TYPE(SpiceUsbDeviceWidget, spice_usb_device_widget, GTK_TYPE_BOX); +#else +G_DEFINE_TYPE(SpiceUsbDeviceWidget, spice_usb_device_widget, GTK_TYPE_VBOX); +#endif + + +static void spice_usb_device_widget_get_property(GObject *gobject, + guint prop_id, + GValue *value, + GParamSpec *pspec) +{ + SpiceUsbDeviceWidget *self = SPICE_USB_DEVICE_WIDGET(gobject); + SpiceUsbDeviceWidgetPrivate *priv = self->priv; + + switch (prop_id) { + case PROP_SESSION: + g_value_set_object(value, priv->session); + break; + case PROP_DEVICE_FORMAT_STRING: + g_value_set_string(value, priv->device_format_string); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, pspec); + break; + } +} + +static void spice_usb_device_widget_set_property(GObject *gobject, + guint prop_id, + const GValue *value, + GParamSpec *pspec) +{ + SpiceUsbDeviceWidget *self = SPICE_USB_DEVICE_WIDGET(gobject); + SpiceUsbDeviceWidgetPrivate *priv = self->priv; + + switch (prop_id) { + case PROP_SESSION: + priv->session = g_value_dup_object(value); + break; + case PROP_DEVICE_FORMAT_STRING: + priv->device_format_string = g_value_dup_string(value); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, pspec); + break; + } +} + +static void spice_usb_device_widget_hide_info_bar(SpiceUsbDeviceWidget *self) +{ + SpiceUsbDeviceWidgetPrivate *priv = self->priv; + + if (priv->info_bar) { + gtk_widget_destroy(priv->info_bar); + priv->info_bar = NULL; + } +} + +static void +spice_usb_device_widget_show_info_bar(SpiceUsbDeviceWidget *self, + const gchar *message, + GtkMessageType message_type, + const gchar *stock_icon_id) +{ + SpiceUsbDeviceWidgetPrivate *priv = self->priv; + GtkWidget *info_bar, *content_area, *hbox, *widget; + + spice_usb_device_widget_hide_info_bar(self); + + info_bar = gtk_info_bar_new(); + gtk_info_bar_set_message_type(GTK_INFO_BAR(info_bar), message_type); + + content_area = gtk_info_bar_get_content_area(GTK_INFO_BAR(info_bar)); +#if GTK_CHECK_VERSION(3,0,0) + hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 12); +#else + hbox = gtk_hbox_new(FALSE, 12); +#endif + gtk_container_add(GTK_CONTAINER(content_area), hbox); + + widget = gtk_image_new_from_stock(stock_icon_id, + GTK_ICON_SIZE_SMALL_TOOLBAR); + gtk_box_pack_start(GTK_BOX(hbox), widget, FALSE, FALSE, 0); + + widget = gtk_label_new(message); + gtk_box_pack_start(GTK_BOX(hbox), widget, TRUE, TRUE, 0); + + priv->info_bar = gtk_alignment_new(0.0, 0.0, 1.0, 0.0); + gtk_alignment_set_padding(GTK_ALIGNMENT(priv->info_bar), 0, 0, 12, 0); + gtk_container_add(GTK_CONTAINER(priv->info_bar), info_bar); + gtk_box_pack_start(GTK_BOX(self), priv->info_bar, FALSE, FALSE, 0); + gtk_widget_show_all(priv->info_bar); +} + +static GObject *spice_usb_device_widget_constructor( + GType gtype, guint n_properties, GObjectConstructParam *properties) +{ + GObject *obj; + SpiceUsbDeviceWidget *self; + SpiceUsbDeviceWidgetPrivate *priv; + GPtrArray *devices = NULL; + GError *err = NULL; + GtkWidget *label; + gchar *str; + int i; + + { + /* Always chain up to the parent constructor */ + GObjectClass *parent_class; + parent_class = G_OBJECT_CLASS(spice_usb_device_widget_parent_class); + obj = parent_class->constructor(gtype, n_properties, properties); + } + + self = SPICE_USB_DEVICE_WIDGET(obj); + priv = self->priv; + if (!priv->session) + g_error("SpiceUsbDeviceWidget constructed without a session"); + + label = gtk_label_new(NULL); + str = g_strdup_printf("<b>%s</b>", _("Select USB devices to redirect")); + gtk_label_set_markup(GTK_LABEL (label), str); + g_free(str); + gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); + gtk_box_pack_start(GTK_BOX(self), label, FALSE, FALSE, 0); + + priv->manager = spice_usb_device_manager_get(priv->session, &err); + if (err) { + spice_usb_device_widget_show_info_bar(self, err->message, + GTK_MESSAGE_WARNING, + GTK_STOCK_DIALOG_WARNING); + g_clear_error(&err); + return obj; + } + + g_signal_connect(priv->manager, "device-added", + G_CALLBACK(device_added_cb), self); + g_signal_connect(priv->manager, "device-removed", + G_CALLBACK(device_removed_cb), self); + g_signal_connect(priv->manager, "device-error", + G_CALLBACK(device_error_cb), self); + + devices = spice_usb_device_manager_get_devices(priv->manager); + if (!devices) + goto end; + + for (i = 0; i < devices->len; i++) + device_added_cb(NULL, g_ptr_array_index(devices, i), self); + + g_ptr_array_unref(devices); + +end: + spice_usb_device_widget_update_status(self); + + return obj; +} + +static void spice_usb_device_widget_finalize(GObject *object) +{ + SpiceUsbDeviceWidget *self = SPICE_USB_DEVICE_WIDGET(object); + SpiceUsbDeviceWidgetPrivate *priv = self->priv; + + if (priv->manager) { + g_signal_handlers_disconnect_by_func(priv->manager, + device_added_cb, self); + g_signal_handlers_disconnect_by_func(priv->manager, + device_removed_cb, self); + g_signal_handlers_disconnect_by_func(priv->manager, + device_error_cb, self); + } + g_object_unref(priv->session); + g_free(priv->device_format_string); +} + +static void spice_usb_device_widget_class_init( + SpiceUsbDeviceWidgetClass *klass) +{ + GObjectClass *gobject_class = (GObjectClass *)klass; + GParamSpec *pspec; + + g_type_class_add_private (klass, sizeof (SpiceUsbDeviceWidgetPrivate)); + + gobject_class->constructor = spice_usb_device_widget_constructor; + gobject_class->finalize = spice_usb_device_widget_finalize; + gobject_class->get_property = spice_usb_device_widget_get_property; + gobject_class->set_property = spice_usb_device_widget_set_property; + + /** + * SpiceUsbDeviceWidget:session: + * + * #SpiceSession this #SpiceUsbDeviceWidget is associated with + * + **/ + pspec = g_param_spec_object("session", + "Session", + "SpiceSession", + SPICE_TYPE_SESSION, + G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS); + g_object_class_install_property(gobject_class, PROP_SESSION, pspec); + + /** + * SpiceUsbDeviceWidget:device-format-string: + * + * Format string to pass to spice_usb_device_get_description() for getting + * the device USB descriptions. + */ + pspec = g_param_spec_string("device-format-string", + "Device format string", + "Format string for device description", + NULL, + G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS); + g_object_class_install_property(gobject_class, PROP_DEVICE_FORMAT_STRING, + pspec); + + /** + * SpiceUsbDeviceWidget::connect-failed: + * @widget: The #SpiceUsbDeviceWidget that emitted the signal + * @device: #SpiceUsbDevice boxed object corresponding to the added device + * @error: #GError describing the reason why the connect failed + * + * The #SpiceUsbDeviceWidget::connect-failed signal is emitted whenever + * the user has requested for a device to be redirected and this has + * failed. + **/ + signals[CONNECT_FAILED] = + g_signal_new("connect-failed", + G_OBJECT_CLASS_TYPE(gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(SpiceUsbDeviceWidgetClass, connect_failed), + NULL, NULL, + g_cclosure_user_marshal_VOID__BOXED_BOXED, + G_TYPE_NONE, + 2, + SPICE_TYPE_USB_DEVICE, + G_TYPE_ERROR); +} + +static void spice_usb_device_widget_init(SpiceUsbDeviceWidget *self) +{ + self->priv = SPICE_USB_DEVICE_WIDGET_GET_PRIVATE(self); +} + +/* ------------------------------------------------------------------ */ +/* public api */ + +/** + * spice_usb_device_widget_new: + * @session: #SpiceSession for which to widget will control USB redirection + * @device_format_string: String passed to spice_usb_device_get_description() + * + * Returns: a new #SpiceUsbDeviceWidget instance + */ +GtkWidget *spice_usb_device_widget_new(SpiceSession *session, + const gchar *device_format_string) +{ + return g_object_new(SPICE_TYPE_USB_DEVICE_WIDGET, + "orientation", GTK_ORIENTATION_VERTICAL, + "session", session, + "device-format-string", device_format_string, + "spacing", 6, + NULL); +} + +/* ------------------------------------------------------------------ */ +/* callbacks */ + +static SpiceUsbDevice *get_usb_device(GtkWidget *widget) +{ + if (!GTK_IS_ALIGNMENT(widget)) + return NULL; + + widget = gtk_bin_get_child(GTK_BIN(widget)); + return g_object_get_data(G_OBJECT(widget), "usb-device"); +} + +static void check_can_redirect(GtkWidget *widget, gpointer user_data) +{ + SpiceUsbDeviceWidget *self = SPICE_USB_DEVICE_WIDGET(user_data); + SpiceUsbDeviceWidgetPrivate *priv = self->priv; + SpiceUsbDevice *device; + gboolean can_redirect; + GError *err = NULL; + + device = get_usb_device(widget); + if (!device) + return; /* Non device widget, ie the info_bar */ + + priv->device_count++; + can_redirect = spice_usb_device_manager_can_redirect_device(priv->manager, + device, &err); + gtk_widget_set_sensitive(widget, can_redirect); + + /* If we can not redirect this device, append the error message to + err_msg, but only if it is *not* already there! */ + if (!can_redirect) { + if (priv->err_msg) { + if (!strstr(priv->err_msg, err->message)) { + gchar *old_err_msg = priv->err_msg; + + priv->err_msg = g_strdup_printf("%s\n%s", priv->err_msg, + err->message); + g_free(old_err_msg); + } + } else { + priv->err_msg = g_strdup(err->message); + } + } + + g_clear_error(&err); +} + +static gboolean spice_usb_device_widget_update_status(gpointer user_data) +{ + SpiceUsbDeviceWidget *self = SPICE_USB_DEVICE_WIDGET(user_data); + SpiceUsbDeviceWidgetPrivate *priv = self->priv; + + priv->device_count = 0; + gtk_container_foreach(GTK_CONTAINER(self), check_can_redirect, self); + + if (priv->err_msg) { + spice_usb_device_widget_show_info_bar(self, priv->err_msg, + GTK_MESSAGE_INFO, + GTK_STOCK_DIALOG_WARNING); + g_free(priv->err_msg); + priv->err_msg = NULL; + } else { + spice_usb_device_widget_hide_info_bar(self); + } + + if (priv->device_count == 0) + spice_usb_device_widget_show_info_bar(self, _("No USB devices detected"), + GTK_MESSAGE_INFO, + GTK_STOCK_DIALOG_INFO); + return FALSE; +} + +typedef struct _connect_cb_data { + GtkWidget *check; + SpiceUsbDeviceWidget *self; +} connect_cb_data; + +static void connect_cb(GObject *gobject, GAsyncResult *res, gpointer user_data) +{ + SpiceUsbDeviceManager *manager = SPICE_USB_DEVICE_MANAGER(gobject); + connect_cb_data *data = user_data; + SpiceUsbDeviceWidget *self = data->self; + SpiceUsbDeviceWidgetPrivate *priv = self->priv; + SpiceUsbDevice *device; + GError *err = NULL; + gchar *desc; + + spice_usb_device_manager_connect_device_finish(manager, res, &err); + if (err) { + device = g_object_get_data(G_OBJECT(data->check), "usb-device"); + desc = spice_usb_device_get_description(device, + priv->device_format_string); + g_prefix_error(&err, "Could not redirect %s: ", desc); + g_free(desc); + + SPICE_DEBUG("%s", err->message); + g_signal_emit(self, signals[CONNECT_FAILED], 0, device, err); + g_error_free(err); + + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(data->check), FALSE); + spice_usb_device_widget_update_status(self); + } + + g_object_unref(data->check); + g_object_unref(data->self); + g_free(data); +} + +static void checkbox_clicked_cb(GtkWidget *check, gpointer user_data) +{ + SpiceUsbDeviceWidget *self = SPICE_USB_DEVICE_WIDGET(user_data); + SpiceUsbDeviceWidgetPrivate *priv = self->priv; + SpiceUsbDevice *device; + + device = g_object_get_data(G_OBJECT(check), "usb-device"); + + if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(check))) { + connect_cb_data *data = g_new(connect_cb_data, 1); + data->check = g_object_ref(check); + data->self = g_object_ref(self); + spice_usb_device_manager_connect_device_async(priv->manager, + device, + NULL, + connect_cb, + data); + } else { + spice_usb_device_manager_disconnect_device(priv->manager, + device); + } + spice_usb_device_widget_update_status(self); +} + +static void checkbox_usb_device_destroy_notify(gpointer data) +{ + g_boxed_free(spice_usb_device_get_type(), data); +} + +static void device_added_cb(SpiceUsbDeviceManager *manager, + SpiceUsbDevice *device, gpointer user_data) +{ + SpiceUsbDeviceWidget *self = SPICE_USB_DEVICE_WIDGET(user_data); + SpiceUsbDeviceWidgetPrivate *priv = self->priv; + GtkWidget *align, *check; + gchar *desc; + + desc = spice_usb_device_get_description(device, + priv->device_format_string); + check = gtk_check_button_new_with_label(desc); + g_free(desc); + + if (spice_usb_device_manager_is_device_connected(priv->manager, + device)) + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(check), TRUE); + + g_object_set_data_full( + G_OBJECT(check), "usb-device", + g_boxed_copy(spice_usb_device_get_type(), device), + checkbox_usb_device_destroy_notify); + g_signal_connect(G_OBJECT(check), "clicked", + G_CALLBACK(checkbox_clicked_cb), self); + + align = gtk_alignment_new(0, 0, 0, 0); + gtk_alignment_set_padding(GTK_ALIGNMENT(align), 0, 0, 12, 0); + gtk_container_add(GTK_CONTAINER(align), check); + gtk_box_pack_end(GTK_BOX(self), align, FALSE, FALSE, 0); + spice_usb_device_widget_update_status(self); + gtk_widget_show_all(align); +} + +static void destroy_widget_by_usb_device(GtkWidget *widget, gpointer user_data) +{ + if (get_usb_device(widget) == user_data) + gtk_widget_destroy(widget); +} + +static void device_removed_cb(SpiceUsbDeviceManager *manager, + SpiceUsbDevice *device, gpointer user_data) +{ + SpiceUsbDeviceWidget *self = SPICE_USB_DEVICE_WIDGET(user_data); + + gtk_container_foreach(GTK_CONTAINER(self), + destroy_widget_by_usb_device, device); + + spice_usb_device_widget_update_status(self); +} + +static void set_inactive_by_usb_device(GtkWidget *widget, gpointer user_data) +{ + if (get_usb_device(widget) == user_data) { + GtkWidget *check = gtk_bin_get_child(GTK_BIN(widget)); + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(check), FALSE); + } +} + +static void device_error_cb(SpiceUsbDeviceManager *manager, + SpiceUsbDevice *device, GError *err, gpointer user_data) +{ + SpiceUsbDeviceWidget *self = SPICE_USB_DEVICE_WIDGET(user_data); + + gtk_container_foreach(GTK_CONTAINER(self), + set_inactive_by_usb_device, device); + + spice_usb_device_widget_update_status(self); +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usb-device-widget.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usb-device-widget.h new file mode 100644 index 0000000..3920990 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usb-device-widget.h @@ -0,0 +1,89 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2012 Red Hat, Inc. + + Red Hat Authors: + Hans de Goede <hdegoede@redhat.com> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifndef __SPICE_USB_DEVICE_WIDGET_H__ +#define __SPICE_USB_DEVICE_WIDGET_H__ + +#include <gtk/gtk.h> +#include "spice-client.h" + +G_BEGIN_DECLS + +#define SPICE_TYPE_USB_DEVICE_WIDGET (spice_usb_device_widget_get_type ()) +#define SPICE_USB_DEVICE_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPICE_TYPE_USB_DEVICE_WIDGET, SpiceUsbDeviceWidget)) +#define SPICE_USB_DEVICE_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SPICE_TYPE_USB_DEVICE_WIDGET, SpiceUsbDeviceWidgetClass)) +#define SPICE_IS_USB_DEVICE_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPICE_TYPE_USB_DEVICE_WIDGET)) +#define SPICE_IS_USB_DEVICE_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPICE_TYPE_USB_DEVICE_WIDGET)) +#define SPICE_USB_DEVICE_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPICE_TYPE_USB_DEVICE_WIDGET, SpiceUsbDeviceWidgetClass)) + +typedef struct _SpiceUsbDeviceWidget SpiceUsbDeviceWidget; +typedef struct _SpiceUsbDeviceWidgetClass SpiceUsbDeviceWidgetClass; +typedef struct _SpiceUsbDeviceWidgetPrivate SpiceUsbDeviceWidgetPrivate; + +#if GTK_CHECK_VERSION(3,0,0) +typedef struct _GtkBox _SpiceGtkBox; +typedef struct _GtkBoxClass _SpiceGtkBoxClass; +#else +typedef struct _GtkVBox _SpiceGtkBox; +typedef struct _GtkVBoxClass _SpiceGtkBoxClass; +#endif + +/** + * SpiceUsbDeviceWidget: + * + * The #SpiceUsbDeviceWidget struct is opaque and should not be accessed directly. + */ +struct _SpiceUsbDeviceWidget +{ + _SpiceGtkBox parent; + + /*< private >*/ + SpiceUsbDeviceWidgetPrivate *priv; + /* Do not add fields to this struct */ +}; + +/** + * SpiceUsbDeviceWidgetClass: + * @connect_failed: Signal class handler for the #SpiceUsbDeviceWidget::connect-failed signal. + * + * Class structure for #SpiceUsbDeviceWidget. + */ +struct _SpiceUsbDeviceWidgetClass +{ + _SpiceGtkBoxClass parent_class; + + /* signals */ + void (*connect_failed) (SpiceUsbDeviceWidget *widget, + SpiceUsbDevice *device, GError *error); + /*< private >*/ + /* + * If adding fields to this struct, remove corresponding + * amount of padding to avoid changing overall struct size + */ + gchar _spice_reserved[SPICE_RESERVED_PADDING]; +}; + +GType spice_usb_device_widget_get_type(void); +GtkWidget *spice_usb_device_widget_new(SpiceSession *session, + const gchar *device_format_string); + +G_END_DECLS + +#endif /* __SPICE_USB_DEVICE_WIDGET_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usbutil.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usbutil.c new file mode 100644 index 0000000..18fb14c --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usbutil.c @@ -0,0 +1,325 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2012 Red Hat, Inc. + + Red Hat Authors: + Hans de Goede <hdegoede@redhat.com> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include <glib-object.h> +#include <glib/gi18n.h> +#include <ctype.h> +#include <stdlib.h> + +#include "glib-compat.h" + +#ifdef USE_USBREDIR +#ifdef __linux__ +#include <stdio.h> +#include <unistd.h> +#include <sys/types.h> +#include <sys/stat.h> +#endif +#include "usbutil.h" +#include "spice-util-priv.h" + +#define VENDOR_NAME_LEN (122 - sizeof(void *)) +#define PRODUCT_NAME_LEN 126 + +typedef struct _usb_product_info { + guint16 product_id; + char name[PRODUCT_NAME_LEN]; +} usb_product_info; + +typedef struct _usb_vendor_info { + usb_product_info *product_info; + int product_count; + guint16 vendor_id; + char name[VENDOR_NAME_LEN]; +} usb_vendor_info; + +static GStaticMutex usbids_load_mutex = G_STATIC_MUTEX_INIT; +static int usbids_vendor_count = 0; /* < 0: failed, 0: empty, > 0: loaded */ +static usb_vendor_info *usbids_vendor_info = NULL; + +G_GNUC_INTERNAL +const char *spice_usbutil_libusb_strerror(enum libusb_error error_code) +{ + switch (error_code) { + case LIBUSB_SUCCESS: + return "Success"; + case LIBUSB_ERROR_IO: + return "Input/output error"; + case LIBUSB_ERROR_INVALID_PARAM: + return "Invalid parameter"; + case LIBUSB_ERROR_ACCESS: + return "Access denied (insufficient permissions)"; + case LIBUSB_ERROR_NO_DEVICE: + return "No such device (it may have been disconnected)"; + case LIBUSB_ERROR_NOT_FOUND: + return "Entity not found"; + case LIBUSB_ERROR_BUSY: + return "Resource busy"; + case LIBUSB_ERROR_TIMEOUT: + return "Operation timed out"; + case LIBUSB_ERROR_OVERFLOW: + return "Overflow"; + case LIBUSB_ERROR_PIPE: + return "Pipe error"; + case LIBUSB_ERROR_INTERRUPTED: + return "System call interrupted (perhaps due to signal)"; + case LIBUSB_ERROR_NO_MEM: + return "Insufficient memory"; + case LIBUSB_ERROR_NOT_SUPPORTED: + return "Operation not supported or unimplemented on this platform"; + case LIBUSB_ERROR_OTHER: + return "Other error"; + } + return "Unknown error"; +} + +#ifdef __linux__ +/* <Sigh> libusb does not allow getting the manufacturer and product strings + without opening the device, so grab them directly from sysfs */ +static gchar *spice_usbutil_get_sysfs_attribute(int bus, int address, + const char *attribute) +{ + struct stat stat_buf; + char filename[256]; + gchar *contents; + + snprintf(filename, sizeof(filename), "/dev/bus/usb/%03d/%03d", + bus, address); + if (stat(filename, &stat_buf) != 0) + return NULL; + + snprintf(filename, sizeof(filename), "/sys/dev/char/%d:%d/%s", + major(stat_buf.st_rdev), minor(stat_buf.st_rdev), attribute); + if (!g_file_get_contents(filename, &contents, NULL, NULL)) + return NULL; + + /* Remove the newline at the end */ + contents[strlen(contents) - 1] = '\0'; + + return contents; +} +#endif + +static gboolean spice_usbutil_parse_usbids(gchar *path) +{ + gchar *contents, *line, **lines; + usb_product_info *product_info; + int i, j, id, product_count = 0; + + usbids_vendor_count = 0; + if (!g_file_get_contents(path, &contents, NULL, NULL)) { + usbids_vendor_count = -1; + return FALSE; + } + + lines = g_strsplit(contents, "\n", -1); + + for (i = 0; lines[i]; i++) { + if (!isxdigit(lines[i][0]) || !isxdigit(lines[i][1])) + continue; + + for (j = 1; lines[i + j] && + (lines[i + j][0] == '\t' || + lines[i + j][0] == '#' || + lines[i + j][0] == '\0'); j++) { + if (lines[i + j][0] == '\t' && isxdigit(lines[i + j][1])) + product_count++; + } + i += j - 1; + + usbids_vendor_count++; + } + + usbids_vendor_info = g_new(usb_vendor_info, usbids_vendor_count); + product_info = g_new(usb_product_info, product_count); + + usbids_vendor_count = 0; + for (i = 0; lines[i]; i++) { + line = lines[i]; + + if (!isxdigit(line[0]) || !isxdigit(line[1])) + continue; + + id = strtoul(line, &line, 16); + while (isspace(line[0])) + line++; + + usbids_vendor_info[usbids_vendor_count].vendor_id = id; + snprintf(usbids_vendor_info[usbids_vendor_count].name, + VENDOR_NAME_LEN, "%s", line); + + product_count = 0; + for (j = 1; lines[i + j] && + (lines[i + j][0] == '\t' || + lines[i + j][0] == '#' || + lines[i + j][0] == '\0'); j++) { + line = lines[i + j]; + + if (line[0] != '\t' || !isxdigit(line[1])) + continue; + + id = strtoul(line + 1, &line, 16); + while (isspace(line[0])) + line++; + product_info[product_count].product_id = id; + snprintf(product_info[product_count].name, + PRODUCT_NAME_LEN, "%s", line); + + product_count++; + } + i += j - 1; + + usbids_vendor_info[usbids_vendor_count].product_count = product_count; + usbids_vendor_info[usbids_vendor_count].product_info = product_info; + product_info += product_count; + usbids_vendor_count++; + } + + g_strfreev(lines); + g_free(contents); + +#if 0 /* Testing only */ + for (i = 0; i < usbids_vendor_count; i++) { + printf("%04x %s\n", usbids_vendor_info[i].vendor_id, + usbids_vendor_info[i].name); + product_info = usbids_vendor_info[i].product_info; + for (j = 0; j < usbids_vendor_info[i].product_count; j++) { + printf("\t%04x %s\n", product_info[j].product_id, + product_info[j].name); + } + } +#endif + + return TRUE; +} + +static gboolean spice_usbutil_load_usbids(void) +{ + gboolean success = FALSE; + + g_static_mutex_lock(&usbids_load_mutex); + if (usbids_vendor_count) { + success = usbids_vendor_count > 0; + goto leave; + } + +#ifdef WITH_USBIDS + success = spice_usbutil_parse_usbids(USB_IDS); +#else + { + const gchar * const *dirs = g_get_system_data_dirs(); + gchar *path = NULL; + int i; + + for (i = 0; dirs[i]; ++i) { + path = g_build_filename(dirs[i], "hwdata", "usb.ids", NULL); + success = spice_usbutil_parse_usbids(path); + SPICE_DEBUG("loading %s success: %s", path, spice_yes_no(success)); + g_free(path); + + if (success) + goto leave; + } + } +#endif + +leave: + g_static_mutex_unlock(&usbids_load_mutex); + return success; +} + +G_GNUC_INTERNAL +void spice_usb_util_get_device_strings(int bus, int address, + int vendor_id, int product_id, + gchar **manufacturer, gchar **product) +{ + usb_product_info *product_info; + int i, j; + + g_return_if_fail(manufacturer != NULL); + g_return_if_fail(product != NULL); + + *manufacturer = NULL; + *product = NULL; + +#if __linux__ + *manufacturer = spice_usbutil_get_sysfs_attribute(bus, address, "manufacturer"); + *product = spice_usbutil_get_sysfs_attribute(bus, address, "product"); +#endif + + if ((!*manufacturer || !*product) && + spice_usbutil_load_usbids()) { + + for (i = 0; i < usbids_vendor_count; i++) { + if ((int)usbids_vendor_info[i].vendor_id != vendor_id) + continue; + + if (!*manufacturer && usbids_vendor_info[i].name[0]) + *manufacturer = g_strdup(usbids_vendor_info[i].name); + + product_info = usbids_vendor_info[i].product_info; + for (j = 0; j < usbids_vendor_info[i].product_count; j++) { + if ((int)product_info[j].product_id != product_id) + continue; + + if (!*product && product_info[j].name[0]) + *product = g_strdup(product_info[j].name); + + break; + } + break; + } + } + + if (!*manufacturer) + *manufacturer = g_strdup(_("USB")); + if (!*product) + *product = g_strdup(_("Device")); + + /* Some devices have unwanted whitespace in their strings */ + g_strstrip(*manufacturer); + g_strstrip(*product); + + /* Some devices repeat the manufacturer at the beginning of product */ + if (g_str_has_prefix(*product, *manufacturer) && + strlen(*product) > strlen(*manufacturer)) { + gchar *tmp = g_strdup(*product + strlen(*manufacturer)); + g_free(*product); + *product = tmp; + g_strstrip(*product); + } +} + +#endif + +#ifdef USBUTIL_TEST +int main() +{ + if (spice_usbutil_load_usbids()) + exit(0); + + exit(1); +} +#endif diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usbutil.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usbutil.h new file mode 100644 index 0000000..de5e92a --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/usbutil.h @@ -0,0 +1,39 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2012 Red Hat, Inc. + + Red Hat Authors: + Hans de Goede <hdegoede@redhat.com> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifndef __SPICE_USBUTIL_H__ +#define __SPICE_USBUTIL_H__ + +#include <glib.h> + +#ifdef USE_USBREDIR +#include <libusb.h> + +G_BEGIN_DECLS + +const char *spice_usbutil_libusb_strerror(enum libusb_error error_code); +void spice_usb_util_get_device_strings(int bus, int address, + int vendor_id, int product_id, + gchar **manufacturer, gchar **product); + +G_END_DECLS + +#endif /* USE_USBREDIR */ +#endif /* __SPICE_USBUTIL_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/vncdisplaykeymap.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/vncdisplaykeymap.c new file mode 100644 index 0000000..bf79f9b --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/vncdisplaykeymap.c @@ -0,0 +1,280 @@ +/* + * Copyright (C) 2008 Anthony Liguori <anthony@codemonkey.ws> + * Copyright (C) 2009-2010 Daniel P. Berrange <dan@berrange.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 2 as + * published by the Free Software Foundation. + * + */ + +#include <gdk/gdk.h> +#include <gdk/gdkkeysyms.h> +#include "vncdisplaykeymap.h" + +#include "spice-util.h" + +#undef G_LOG_DOMAIN +#define G_LOG_DOMAIN "vnc-keymap" +#define VNC_DEBUG(message) SPICE_DEBUG(message); + +/* + * This table is taken from QEMU x_keymap.c, under the terms: + * + * Copyright (c) 2003 Fabrice Bellard + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + + +/* Compatability code to allow build on Gtk2 and Gtk3 */ +#ifndef GDK_Tab +#define GDK_Tab GDK_KEY_Tab +#endif + +/* keycode translation for sending ISO_Left_Send + * to vncserver + */ +static struct { + GdkKeymapKey *keys; + gint n_keys; + guint keyval; +} untranslated_keys[] = {{NULL, 0, GDK_Tab}}; + +static unsigned int ref_count_for_untranslated_keys = 0; + +#ifdef GDK_WINDOWING_X11 +#include <gdk/gdkx.h> +#include <X11/XKBlib.h> +#include <stdbool.h> +#include <string.h> + +/* Xorg Linux + kbd (offset + mangled XT keycodes) */ +#include "vncdisplaykeymap_xorgkbd2xtkbd.c" +/* Xorg Linux + evdev (offset evdev keycodes) */ +#include "vncdisplaykeymap_xorgevdev2xtkbd.c" +/* Xorg OS-X aka XQuartz (offset OS-X keycodes) */ +#include "vncdisplaykeymap_xorgxquartz2xtkbd.c" +/* Xorg Cygwin aka XWin (offset + mangled XT keycodes) */ +#include "vncdisplaykeymap_xorgxwin2xtkbd.c" + +/* Gtk2 compat */ +#ifndef GDK_IS_X11_DISPLAY +#define GDK_IS_X11_DISPLAY(dpy) (dpy == dpy) +#endif +#endif + +#ifdef GDK_WINDOWING_WIN32 +/* Win32 native virtual keycodes */ +#include "vncdisplaykeymap_win322xtkbd.c" + +/* Gtk2 compat */ +#ifndef GDK_IS_WIN32_DISPLAY +#define GDK_IS_WIN32_DISPLAY(dpy) (dpy == dpy) +#endif +#endif + +#ifdef GDK_WINDOWING_QUARTZ +/* OS-X native keycodes */ +#include "vncdisplaykeymap_osx2xtkbd.c" + +/* Gtk2 compat */ +#ifndef GDK_IS_QUARTZ_DISPLAY +#define GDK_IS_QUARTZ_DISPLAY(dpy) (dpy == dpy) +#endif +#endif + +#ifdef GDK_WINDOWING_X11 + +#define STRPREFIX(a,b) (strncmp((a),(b),strlen((b))) == 0) + +static gboolean check_for_xwin(GdkDisplay *dpy) +{ + char *vendor = ServerVendor(gdk_x11_display_get_xdisplay(dpy)); + + if (strstr(vendor, "Cygwin/X")) + return TRUE; + + return FALSE; +} + +static gboolean check_for_xquartz(GdkDisplay *dpy) +{ + int nextensions; + int i; + gboolean match = FALSE; + char **extensions = XListExtensions(gdk_x11_display_get_xdisplay(dpy), + &nextensions); + for (i = 0 ; extensions != NULL && i < nextensions ; i++) { + if (strcmp(extensions[i], "Apple-WM") == 0 || + strcmp(extensions[i], "Apple-DRI") == 0) + match = TRUE; + } + if (extensions) + XFreeExtensionList(extensions); + + return match; +} +#endif + +const guint16 const *vnc_display_keymap_gdk2xtkbd_table(size_t *maplen) +{ + GdkDisplay *dpy = gdk_display_get_default(); + +#ifdef GDK_WINDOWING_X11 + if (GDK_IS_X11_DISPLAY(dpy)) { + XkbDescPtr desc; + const gchar *keycodes = NULL; + + /* There is no easy way to determine what X11 server + * and platform & keyboard driver is in use. Thus we + * do best guess heuristics. + * + * This will need more work for people with other + * X servers..... patches welcomed. + */ + + desc = XkbGetKeyboard(gdk_x11_display_get_xdisplay(dpy), + XkbGBN_AllComponentsMask, + XkbUseCoreKbd); + if (desc) { + if (desc->names) { + keycodes = gdk_x11_get_xatom_name(desc->names->keycodes); + if (!keycodes) + g_warning("could not lookup keycode name"); + } + XkbFreeKeyboard(desc, XkbGBN_AllComponentsMask, True); + } + + if (check_for_xwin(dpy)) { + VNC_DEBUG("Using xwin keycode mapping"); + *maplen = G_N_ELEMENTS(keymap_xorgxwin2xtkbd); + return keymap_xorgxwin2xtkbd; + } else if (check_for_xquartz(dpy)) { + VNC_DEBUG("Using xquartz keycode mapping"); + *maplen = G_N_ELEMENTS(keymap_xorgxquartz2xtkbd); + return keymap_xorgxquartz2xtkbd; + } else if (keycodes && STRPREFIX(keycodes, "evdev_")) { + VNC_DEBUG("Using evdev keycode mapping"); + *maplen = G_N_ELEMENTS(keymap_xorgevdev2xtkbd); + return keymap_xorgevdev2xtkbd; + } else if (keycodes && STRPREFIX(keycodes, "xfree86_")) { + VNC_DEBUG("Using xfree86 keycode mapping"); + *maplen = G_N_ELEMENTS(keymap_xorgkbd2xtkbd); + return keymap_xorgkbd2xtkbd; + } else { + g_warning("Unknown keycode mapping '%s'.\n" + "Please report to gtk-vnc-list@gnome.org\n" + "including the following information:\n" + "\n" + " - Operating system\n" + " - GDK build\n" + " - X11 Server\n" + " - xprop -root\n" + " - xdpyinfo\n", + keycodes); + return NULL; + } + } +#endif + +#ifdef GDK_WINDOWING_WIN32 + if (GDK_IS_WIN32_DISPLAY(dpy)) { + VNC_DEBUG("Using Win32 virtual keycode mapping"); + *maplen = G_N_ELEMENTS(keymap_win322xtkbd); + return keymap_win322xtkbd; + } +#endif + +#ifdef GDK_WINDOWING_QUARTZ + if (GDK_IS_QUARTZ_DISPLAY(dpy)) { + VNC_DEBUG("Using OS-X virtual keycode mapping"); + *maplen = G_N_ELEMENTS(keymap_osx2xtkbd); + return keymap_osx2xtkbd; + } +#endif + + g_warning("Unsupported GDK Windowing platform.\n" + "Disabling extended keycode tables.\n" + "Please report to gtk-vnc-list@gnome.org\n" + "including the following information:\n" + "\n" + " - Operating system\n" + " - GDK Windowing system build\n"); + return NULL; +} + +guint16 vnc_display_keymap_gdk2xtkbd(const guint16 const *keycode_map, + size_t keycode_maplen, + guint16 keycode) +{ + if (!keycode_map) + return 0; + if (keycode >= keycode_maplen) + return 0; + return keycode_map[keycode]; +} + +/* Set the keymap entries */ +void vnc_display_keyval_set_entries(void) +{ + size_t i; + if (ref_count_for_untranslated_keys == 0) + for (i = 0; i < sizeof(untranslated_keys) / sizeof(untranslated_keys[0]); i++) + gdk_keymap_get_entries_for_keyval(gdk_keymap_get_default(), + untranslated_keys[i].keyval, + &untranslated_keys[i].keys, + &untranslated_keys[i].n_keys); + ref_count_for_untranslated_keys++; +} + +/* Free the keymap entries */ +void vnc_display_keyval_free_entries(void) +{ + size_t i; + + if (ref_count_for_untranslated_keys == 0) + return; + + ref_count_for_untranslated_keys--; + if (ref_count_for_untranslated_keys == 0) + for (i = 0; i < sizeof(untranslated_keys) / sizeof(untranslated_keys[0]); i++) + g_free(untranslated_keys[i].keys); + +} + +/* Get the keyval from the keycode without the level. */ +guint vnc_display_keyval_from_keycode(guint keycode, guint keyval) +{ + size_t i; + for (i = 0; i < sizeof(untranslated_keys) / sizeof(untranslated_keys[0]); i++) { + if (keycode == untranslated_keys[i].keys[0].keycode) { + return untranslated_keys[i].keyval; + } + } + + return keyval; +} +/* + * Local variables: + * c-indent-level: 8 + * c-basic-offset: 8 + * tab-width: 8 + * End: + */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/vncdisplaykeymap.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/vncdisplaykeymap.h new file mode 100644 index 0000000..cee1b5a --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/vncdisplaykeymap.h @@ -0,0 +1,35 @@ +/* + * GTK VNC Widget + * + * Copyright (C) 2006 Anthony Liguori <anthony@codemonkey.ws> + * Copyright (C) 2009-2010 Daniel P. Berrange <dan@berrange.com> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.0 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef VNC_DISPLAY_KEYMAP_H +#define VNC_DISPLAY_KEYMAP_H + +#include <glib.h> + +const guint16 const *vnc_display_keymap_gdk2xtkbd_table(size_t *maplen); +guint16 vnc_display_keymap_gdk2xtkbd(const guint16 *keycode_map, + size_t keycode_maplen, + guint16 keycode); +void vnc_display_keyval_set_entries(void); +void vnc_display_keyval_free_entries(void); +guint vnc_display_keyval_from_keycode(guint keycode, guint keyval); + +#endif /* VNC_DISPLAY_KEYMAP_H */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/vncdisplaykeymap_osx2xtkbd.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/vncdisplaykeymap_osx2xtkbd.c new file mode 100644 index 0000000..3c61294 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/vncdisplaykeymap_osx2xtkbd.c @@ -0,0 +1,117 @@ +static const guint16 keymap_osx2xtkbd[] = { + [0x0] = 0x1e, /* 0 (ANSI_A) => 30 via 30 (KEY_A) */ + [0x1] = 0x1f, /* 1 (ANSI_S) => 31 via 31 (KEY_S) */ + [0x2] = 0x20, /* 2 (ANSI_D) => 32 via 32 (KEY_D) */ + [0x3] = 0x21, /* 3 (ANSI_F) => 33 via 33 (KEY_F) */ + [0x4] = 0x23, /* 4 (ANSI_H) => 35 via 35 (KEY_H) */ + [0x5] = 0x22, /* 5 (ANSI_G) => 34 via 34 (KEY_G) */ + [0x6] = 0x2c, /* 6 (ANSI_Z) => 44 via 44 (KEY_Z) */ + [0x7] = 0x2d, /* 7 (ANSI_X) => 45 via 45 (KEY_X) */ + [0x8] = 0x2e, /* 8 (ANSI_C) => 46 via 46 (KEY_C) */ + [0x9] = 0x2f, /* 9 (ANSI_V) => 47 via 47 (KEY_V) */ + [0xa] = 0x70, /* 10 (ISO_Section) => 112 via 170 (KEY_ISO) */ + [0xb] = 0x30, /* 11 (ANSI_B) => 48 via 48 (KEY_B) */ + [0xc] = 0x10, /* 12 (ANSI_Q) => 16 via 16 (KEY_Q) */ + [0xd] = 0x11, /* 13 (ANSI_W) => 17 via 17 (KEY_W) */ + [0xe] = 0x12, /* 14 (ANSI_E) => 18 via 18 (KEY_E) */ + [0xf] = 0x13, /* 15 (ANSI_R) => 19 via 19 (KEY_R) */ + [0x10] = 0x15, /* 16 (ANSI_Y) => 21 via 21 (KEY_Y) */ + [0x11] = 0x14, /* 17 (ANSI_T) => 20 via 20 (KEY_T) */ + [0x12] = 0x2, /* 18 (ANSI_1) => 2 via 2 (KEY_1) */ + [0x13] = 0x3, /* 19 (ANSI_2) => 3 via 3 (KEY_2) */ + [0x14] = 0x4, /* 20 (ANSI_3) => 4 via 4 (KEY_3) */ + [0x15] = 0x5, /* 21 (ANSI_4) => 5 via 5 (KEY_4) */ + [0x16] = 0x7, /* 22 (ANSI_6) => 7 via 7 (KEY_6) */ + [0x17] = 0x6, /* 23 (ANSI_5) => 6 via 6 (KEY_5) */ + [0x18] = 0xd, /* 24 (ANSI_Equal) => 13 via 13 (KEY_EQUAL) */ + [0x19] = 0xa, /* 25 (ANSI_9) => 10 via 10 (KEY_9) */ + [0x1a] = 0x8, /* 26 (ANSI_7) => 8 via 8 (KEY_7) */ + [0x1b] = 0xc, /* 27 (ANSI_Minus) => 12 via 12 (KEY_MINUS) */ + [0x1c] = 0x9, /* 28 (ANSI_8) => 9 via 9 (KEY_8) */ + [0x1d] = 0xb, /* 29 (ANSI_0) => 11 via 11 (KEY_0) */ + [0x1e] = 0x1b, /* 30 (ANSI_RightBracket) => 27 via 27 (KEY_RIGHTBRACE) */ + [0x1f] = 0x18, /* 31 (ANSI_O) => 24 via 24 (KEY_O) */ + [0x20] = 0x16, /* 32 (ANSI_U) => 22 via 22 (KEY_U) */ + [0x21] = 0x1a, /* 33 (ANSI_LeftBracket) => 26 via 26 (KEY_LEFTBRACE) */ + [0x22] = 0x17, /* 34 (ANSI_I) => 23 via 23 (KEY_I) */ + [0x23] = 0x19, /* 35 (ANSI_P) => 25 via 25 (KEY_P) */ + [0x24] = 0x1c, /* 36 (Return) => 28 via 28 (KEY_ENTER) */ + [0x25] = 0x26, /* 37 (ANSI_L) => 38 via 38 (KEY_L) */ + [0x26] = 0x24, /* 38 (ANSI_J) => 36 via 36 (KEY_J) */ + [0x27] = 0x28, /* 39 (ANSI_Quote) => 40 via 40 (KEY_APOSTROPHE) */ + [0x28] = 0x25, /* 40 (ANSI_K) => 37 via 37 (KEY_K) */ + [0x29] = 0x27, /* 41 (ANSI_Semicolon) => 39 via 39 (KEY_SEMICOLON) */ + [0x2a] = 0x2b, /* 42 (ANSI_Backslash) => 43 via 43 (KEY_BACKSLASH) */ + [0x2b] = 0x33, /* 43 (ANSI_Comma) => 51 via 51 (KEY_COMMA) */ + [0x2c] = 0x35, /* 44 (ANSI_Slash) => 53 via 53 (KEY_SLASH) */ + [0x2d] = 0x31, /* 45 (ANSI_N) => 49 via 49 (KEY_N) */ + [0x2e] = 0x32, /* 46 (ANSI_M) => 50 via 50 (KEY_M) */ + [0x2f] = 0x34, /* 47 (ANSI_Period) => 52 via 52 (KEY_DOT) */ + [0x30] = 0xf, /* 48 (Tab) => 15 via 15 (KEY_TAB) */ + [0x31] = 0x39, /* 49 (Space) => 57 via 57 (KEY_SPACE) */ + [0x32] = 0x29, /* 50 (ANSI_Grave) => 41 via 41 (KEY_GRAVE) */ + [0x33] = 0xe, /* 51 (Delete) => 14 via 14 (KEY_BACKSPACE) */ + [0x35] = 0x1, /* 53 (Escape) => 1 via 1 (KEY_ESC) */ + [0x37] = 0x15b, /* 55 (Command) => 347 via 125 (KEY_LEFTMETA) */ + [0x38] = 0x2a, /* 56 (Shift) => 42 via 42 (KEY_LEFTSHIFT) */ + [0x39] = 0x3a, /* 57 (CapsLock) => 58 via 58 (KEY_CAPSLOCK) */ + [0x3a] = 0x38, /* 58 (Option) => 56 via 56 (KEY_LEFTALT) */ + [0x3b] = 0x1d, /* 59 (Control) => 29 via 29 (KEY_LEFTCTRL) */ + [0x3c] = 0x36, /* 60 (RightShift) => 54 via 54 (KEY_RIGHTSHIFT) */ + [0x3d] = 0x138, /* 61 (RightOption) => 312 via 100 (KEY_RIGHTALT) */ + [0x3e] = 0x11d, /* 62 (RightControl) => 285 via 97 (KEY_RIGHTCTRL) */ + [0x3f] = 0x15d, /* 63 (Function) => 349 via 127 (KEY_COMPOSE) */ + [0x40] = 0x103, /* 64 (F17) => 259 via 187 (KEY_F17) */ + [0x41] = 0x53, /* 65 (ANSI_KeypadDecimal) => 83 via 83 (KEY_KPDOT) */ + [0x43] = 0x37, /* 67 (ANSI_KeypadMultiply) => 55 via 55 (KEY_KPASTERISK) */ + [0x45] = 0x4e, /* 69 (ANSI_KeypadPlus) => 78 via 78 (KEY_KPPLUS) */ + [0x47] = 0x7e, /* 71 (ANSI_KeypadClear????) => 126 via 121 (KEY_KPCOMMA) */ + [0x48] = 0x130, /* 72 (VolumeUp) => 304 via 115 (KEY_VOLUMEUP) */ + [0x49] = 0x12e, /* 73 (VolumeDown) => 302 via 114 (KEY_VOLUMEDOWN) */ + [0x4a] = 0x120, /* 74 (Mute) => 288 via 113 (KEY_MUTE) */ + [0x4b] = 0x135, /* 75 (ANSI_KeypadDivide) => 309 via 98 (KEY_KPSLASH) */ + [0x4c] = 0x11c, /* 76 (ANSI_KeypadEnter) => 284 via 96 (KEY_KPENTER) */ + [0x4e] = 0x4a, /* 78 (ANSI_KeypadMinus) => 74 via 74 (KEY_KPMINUS) */ + [0x4f] = 0x177, /* 79 (F18) => 375 via 188 (KEY_F18) */ + [0x50] = 0x104, /* 80 (F19) => 260 via 189 (KEY_F19) */ + [0x51] = 0x59, /* 81 (ANSI_KeypadEquals) => 89 via 117 (KEY_KPEQUAL) */ + [0x52] = 0x52, /* 82 (ANSI_Keypad0) => 82 via 82 (KEY_KP0) */ + [0x53] = 0x4f, /* 83 (ANSI_Keypad1) => 79 via 79 (KEY_KP1) */ + [0x54] = 0x50, /* 84 (ANSI_Keypad2) => 80 via 80 (KEY_KP2) */ + [0x55] = 0x51, /* 85 (ANSI_Keypad3) => 81 via 81 (KEY_KP3) */ + [0x56] = 0x4b, /* 86 (ANSI_Keypad4) => 75 via 75 (KEY_KP4) */ + [0x57] = 0x4c, /* 87 (ANSI_Keypad5) => 76 via 76 (KEY_KP5) */ + [0x58] = 0x4d, /* 88 (ANSI_Keypad6) => 77 via 77 (KEY_KP6) */ + [0x59] = 0x47, /* 89 (ANSI_Keypad7) => 71 via 71 (KEY_KP7) */ + [0x5a] = 0x5a, /* 90 (F20) => 90 via 190 (KEY_F20) */ + [0x5b] = 0x48, /* 91 (ANSI_Keypad8) => 72 via 72 (KEY_KP8) */ + [0x5c] = 0x49, /* 92 (ANSI_Keypad9) => 73 via 73 (KEY_KP9) */ + [0x5d] = 0x7d, /* 93 (JIS_Yen) => 125 via 124 (KEY_YEN) */ + [0x5f] = 0x5c, /* 95 (JIS_KeypadComma) => 92 via 95 (KEY_KPJPCOMMA) */ + [0x60] = 0x3f, /* 96 (F5) => 63 via 63 (KEY_F5) */ + [0x61] = 0x40, /* 97 (F6) => 64 via 64 (KEY_F6) */ + [0x62] = 0x41, /* 98 (F7) => 65 via 65 (KEY_F7) */ + [0x63] = 0x3d, /* 99 (F3) => 61 via 61 (KEY_F3) */ + [0x64] = 0x42, /* 100 (F8) => 66 via 66 (KEY_F8) */ + [0x65] = 0x43, /* 101 (F9) => 67 via 67 (KEY_F9) */ + [0x67] = 0x57, /* 103 (F11) => 87 via 87 (KEY_F11) */ + [0x68] = 0x78, /* 104 (JIS_Kana????) => 120 via 90 (KEY_KATAKANA) */ + [0x69] = 0x5d, /* 105 (F13) => 93 via 183 (KEY_F13) */ + [0x6a] = 0x55, /* 106 (F16) => 85 via 186 (KEY_F16) */ + [0x6b] = 0x5e, /* 107 (F14) => 94 via 184 (KEY_F14) */ + [0x6d] = 0x44, /* 109 (F10) => 68 via 68 (KEY_F10) */ + [0x6f] = 0x58, /* 111 (F12) => 88 via 88 (KEY_F12) */ + [0x71] = 0x5f, /* 113 (F15) => 95 via 185 (KEY_F15) */ + [0x73] = 0x147, /* 115 (Home) => 327 via 102 (KEY_HOME) */ + [0x74] = 0x149, /* 116 (PageUp) => 329 via 104 (KEY_PAGEUP) */ + [0x75] = 0x153, /* 117 (ForwardDelete) => 339 via 111 (KEY_DELETE) */ + [0x76] = 0x3e, /* 118 (F4) => 62 via 62 (KEY_F4) */ + [0x77] = 0x14f, /* 119 (End) => 335 via 107 (KEY_END) */ + [0x78] = 0x3c, /* 120 (F2) => 60 via 60 (KEY_F2) */ + [0x79] = 0x151, /* 121 (PageDown) => 337 via 109 (KEY_PAGEDOWN) */ + [0x7a] = 0x3b, /* 122 (F1) => 59 via 59 (KEY_F1) */ + [0x7b] = 0x14b, /* 123 (LeftArrow) => 331 via 105 (KEY_LEFT) */ + [0x7c] = 0x14d, /* 124 (RightArrow) => 333 via 106 (KEY_RIGHT) */ + [0x7d] = 0x150, /* 125 (DownArrow) => 336 via 108 (KEY_DOWN) */ + [0x7e] = 0x148, /* 126 (UpArrow) => 328 via 103 (KEY_UP) */ +}; diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/vncdisplaykeymap_win322xtkbd.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/vncdisplaykeymap_win322xtkbd.c new file mode 100644 index 0000000..40aab9e --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/vncdisplaykeymap_win322xtkbd.c @@ -0,0 +1,141 @@ +static const guint16 keymap_win322xtkbd[] = { + [0x8] = 0xe, /* 8 (VK_BACK) => 14 via 14 (KEY_BACKSPACE) */ + [0x9] = 0xf, /* 9 (VK_TAB) => 15 via 15 (KEY_TAB) */ + [0xd] = 0x1c, /* 13 (VK_RETURN) => 28 via 28 (KEY_ENTER) */ + [0x10] = 0x2a, /* 16 (VK_LSHIFT) => 42 via 42 (KEY_LEFTSHIFT) */ + [0x11] = 0x1d, /* 17 (VK_CONTROL) => 29 via 29 (KEY_LEFTCTRL) */ + [0x12] = 0x38, /* 18 (VK_MENU) => 56 via 56 (KEY_LEFTALT) */ + [0x13] = 0x146, /* 19 (VK_PAUSE) => 326 via 119 (KEY_PAUSE) */ + [0x14] = 0x3a, /* 20 (VK_CAPITAL) => 58 via 58 (KEY_CAPSLOCK) */ + [0x19] = 0x10d, /* 25 (VK_HANJA) => 269 via 123 (KEY_HANJA) */ + [0x1b] = 0x1, /* 27 (VK_ESCAPE) => 1 via 1 (KEY_ESC) */ + [0x20] = 0x39, /* 32 (VK_SPACE) => 57 via 57 (KEY_SPACE) */ + [0x21] = 0x149, /* 33 (VK_PRIOR) => 329 via 104 (KEY_PAGEUP) */ + [0x22] = 0x151, /* 34 (VK_NEXT) => 337 via 109 (KEY_PAGEDOWN) */ + [0x23] = 0x14f, /* 35 (VK_END) => 335 via 107 (KEY_END) */ + [0x24] = 0x147, /* 36 (VK_HOME) => 327 via 102 (KEY_HOME) */ + [0x25] = 0x14b, /* 37 (VK_LEFT) => 331 via 105 (KEY_LEFT) */ + [0x26] = 0x148, /* 38 (VK_UP) => 328 via 103 (KEY_UP) */ + [0x27] = 0x14d, /* 39 (VK_RIGHT) => 333 via 106 (KEY_RIGHT) */ + [0x28] = 0x150, /* 40 (VK_DOWN) => 336 via 108 (KEY_DOWN) */ + [0x2a] = 0x139, /* 42 (VK_PRINT) => 313 via 210 (KEY_PRINT) */ + [0x2c] = 0x54, /* 44 (VK_SNAPSHOT ???) => 84 via 99 (KEY_SYSRQ) */ + [0x2d] = 0x152, /* 45 (VK_INSERT) => 338 via 110 (KEY_INSERT) */ + [0x2e] = 0x153, /* 46 (VK_DELETE) => 339 via 111 (KEY_DELETE) */ + [0x2f] = 0x175, /* 47 (VK_HELP) => 373 via 138 (KEY_HELP) */ + [0x30] = 0xb, /* 48 (VK_0) => 11 via 11 (KEY_0) */ + [0x31] = 0x2, /* 49 (VK_1) => 2 via 2 (KEY_1) */ + [0x32] = 0x3, /* 50 (VK_2) => 3 via 3 (KEY_2) */ + [0x33] = 0x4, /* 51 (VK_3) => 4 via 4 (KEY_3) */ + [0x34] = 0x5, /* 52 (VK_4) => 5 via 5 (KEY_4) */ + [0x35] = 0x6, /* 53 (VK_5) => 6 via 6 (KEY_5) */ + [0x36] = 0x7, /* 54 (VK_6) => 7 via 7 (KEY_6) */ + [0x37] = 0x8, /* 55 (VK_7) => 8 via 8 (KEY_7) */ + [0x38] = 0x9, /* 56 (VK_8) => 9 via 9 (KEY_8) */ + [0x39] = 0xa, /* 57 (VK_9) => 10 via 10 (KEY_9) */ + [0x41] = 0x1e, /* 65 (VK_A) => 30 via 30 (KEY_A) */ + [0x42] = 0x30, /* 66 (VK_B) => 48 via 48 (KEY_B) */ + [0x43] = 0x2e, /* 67 (VK_C) => 46 via 46 (KEY_C) */ + [0x44] = 0x20, /* 68 (VK_D) => 32 via 32 (KEY_D) */ + [0x45] = 0x12, /* 69 (VK_E) => 18 via 18 (KEY_E) */ + [0x46] = 0x21, /* 70 (VK_F) => 33 via 33 (KEY_F) */ + [0x47] = 0x22, /* 71 (VK_G) => 34 via 34 (KEY_G) */ + [0x48] = 0x23, /* 72 (VK_H) => 35 via 35 (KEY_H) */ + [0x49] = 0x17, /* 73 (VK_I) => 23 via 23 (KEY_I) */ + [0x4a] = 0x24, /* 74 (VK_J) => 36 via 36 (KEY_J) */ + [0x4b] = 0x25, /* 75 (VK_K) => 37 via 37 (KEY_K) */ + [0x4c] = 0x26, /* 76 (VK_L) => 38 via 38 (KEY_L) */ + [0x4d] = 0x32, /* 77 (VK_M) => 50 via 50 (KEY_M) */ + [0x4e] = 0x31, /* 78 (VK_N) => 49 via 49 (KEY_N) */ + [0x4f] = 0x18, /* 79 (VK_O) => 24 via 24 (KEY_O) */ + [0x50] = 0x19, /* 80 (VK_P) => 25 via 25 (KEY_P) */ + [0x51] = 0x10, /* 81 (VK_Q) => 16 via 16 (KEY_Q) */ + [0x52] = 0x13, /* 82 (VK_R) => 19 via 19 (KEY_R) */ + [0x53] = 0x1f, /* 83 (VK_S) => 31 via 31 (KEY_S) */ + [0x54] = 0x14, /* 84 (VK_T) => 20 via 20 (KEY_T) */ + [0x55] = 0x16, /* 85 (VK_U) => 22 via 22 (KEY_U) */ + [0x56] = 0x2f, /* 86 (VK_V) => 47 via 47 (KEY_V) */ + [0x57] = 0x11, /* 87 (VK_W) => 17 via 17 (KEY_W) */ + [0x58] = 0x2d, /* 88 (VK_X) => 45 via 45 (KEY_X) */ + [0x59] = 0x15, /* 89 (VK_Y) => 21 via 21 (KEY_Y) */ + [0x5a] = 0x2c, /* 90 (VK_Z) => 44 via 44 (KEY_Z) */ + [0x5b] = 0x15b, /* 91 (VK_LWIN) => 347 via 125 (KEY_LEFTMETA) */ + [0x5c] = 0x15c, /* 92 (VK_RWIN) => 348 via 126 (KEY_RIGHTMETA) */ + [0x5d] = 0x15d, /* 93 (VK_APPS) => 349 via 127 (KEY_COMPOSE) */ + [0x5f] = 0x15f, /* 95 (VK_SLEEP) => 351 via 142 (KEY_SLEEP) */ + [0x60] = 0x52, /* 96 (VK_NUMPAD0) => 82 via 82 (KEY_KP0) */ + [0x61] = 0x4f, /* 97 (VK_NUMPAD1) => 79 via 79 (KEY_KP1) */ + [0x62] = 0x50, /* 98 (VK_NUMPAD2) => 80 via 80 (KEY_KP2) */ + [0x63] = 0x51, /* 99 (VK_NUMPAD3) => 81 via 81 (KEY_KP3) */ + [0x64] = 0x4b, /* 100 (VK_NUMPAD4) => 75 via 75 (KEY_KP4) */ + [0x65] = 0x4c, /* 101 (VK_NUMPAD5) => 76 via 76 (KEY_KP5) */ + [0x66] = 0x4d, /* 102 (VK_NUMPAD6) => 77 via 77 (KEY_KP6) */ + [0x67] = 0x47, /* 103 (VK_NUMPAD7) => 71 via 71 (KEY_KP7) */ + [0x68] = 0x48, /* 104 (VK_NUMPAD8) => 72 via 72 (KEY_KP8) */ + [0x69] = 0x49, /* 105 (VK_NUMPAD9) => 73 via 73 (KEY_KP9) */ + [0x6a] = 0x37, /* 106 (VK_MULTIPLY) => 55 via 55 (KEY_KPASTERISK) */ + [0x6b] = 0x4e, /* 107 (VK_ADD) => 78 via 78 (KEY_KPPLUS) */ + [0x6c] = 0x7e, /* 108 (VK_SEPARATOR??) => 126 via 121 (KEY_KPCOMMA) */ + [0x6d] = 0x4a, /* 109 (VK_SUBTRACT) => 74 via 74 (KEY_KPMINUS) */ + [0x6e] = 0x53, /* 110 (VK_DECIMAL) => 83 via 83 (KEY_KPDOT) */ + [0x6f] = 0x135, /* 111 (VK_DIVIDE) => 309 via 98 (KEY_KPSLASH) */ + [0x70] = 0x3b, /* 112 (VK_F1) => 59 via 59 (KEY_F1) */ + [0x71] = 0x3c, /* 113 (VK_F2) => 60 via 60 (KEY_F2) */ + [0x72] = 0x3d, /* 114 (VK_F3) => 61 via 61 (KEY_F3) */ + [0x73] = 0x3e, /* 115 (VK_F4) => 62 via 62 (KEY_F4) */ + [0x74] = 0x3f, /* 116 (VK_F5) => 63 via 63 (KEY_F5) */ + [0x75] = 0x40, /* 117 (VK_F6) => 64 via 64 (KEY_F6) */ + [0x76] = 0x41, /* 118 (VK_F7) => 65 via 65 (KEY_F7) */ + [0x77] = 0x42, /* 119 (VK_F8) => 66 via 66 (KEY_F8) */ + [0x78] = 0x43, /* 120 (VK_F9) => 67 via 67 (KEY_F9) */ + [0x79] = 0x44, /* 121 (VK_F10) => 68 via 68 (KEY_F10) */ + [0x7a] = 0x57, /* 122 (VK_F11) => 87 via 87 (KEY_F11) */ + [0x7b] = 0x58, /* 123 (VK_F12) => 88 via 88 (KEY_F12) */ + [0x7c] = 0x5d, /* 124 (VK_F13) => 93 via 183 (KEY_F13) */ + [0x7d] = 0x5e, /* 125 (VK_F14) => 94 via 184 (KEY_F14) */ + [0x7e] = 0x5f, /* 126 (VK_F15) => 95 via 185 (KEY_F15) */ + [0x7f] = 0x55, /* 127 (VK_F16) => 85 via 186 (KEY_F16) */ + [0x80] = 0x103, /* 128 (VK_F17) => 259 via 187 (KEY_F17) */ + [0x81] = 0x177, /* 129 (VK_F18) => 375 via 188 (KEY_F18) */ + [0x82] = 0x104, /* 130 (VK_F19) => 260 via 189 (KEY_F19) */ + [0x83] = 0x5a, /* 131 (VK_F20) => 90 via 190 (KEY_F20) */ + [0x84] = 0x74, /* 132 (VK_F21) => 116 via 191 (KEY_F21) */ + [0x85] = 0x179, /* 133 (VK_F22) => 377 via 192 (KEY_F22) */ + [0x86] = 0x6d, /* 134 (VK_F23) => 109 via 193 (KEY_F23) */ + [0x87] = 0x6f, /* 135 (VK_F24) => 111 via 194 (KEY_F24) */ + [0x90] = 0x45, /* 144 (VK_NUMLOCK) => 69 via 69 (KEY_NUMLOCK) */ + [0x91] = 0x46, /* 145 (VK_SCROLL) => 70 via 70 (KEY_SCROLLLOCK) */ + [0xa0] = 0x2a, /* 160 (VK_LSHIFT) => 42 via 42 (KEY_LEFTSHIFT) */ + [0xa1] = 0x36, /* 161 (VK_RSHIFT) => 54 via 54 (KEY_RIGHTSHIFT) */ + [0xa2] = 0x1d, /* 162 (VK_CONTROL) => 29 via 29 (KEY_LEFTCTRL) */ + [0xa3] = 0x11d, /* 163 (VK_RCONTROL) => 285 via 97 (KEY_RIGHTCTRL) */ + [0xa4] = 0x38, /* 164 (VK_MENU) => 56 via 56 (KEY_LEFTALT) */ + [0xa5] = 0x138, /* 165 (VK_RMENU) => 312 via 100 (KEY_RIGHTALT) */ + [0xa6] = 0x16a, /* 166 (VK_BROWSER_BACK) => 362 via 158 (KEY_BACK) */ + [0xa7] = 0x169, /* 167 (VK_BROWSER_FORWARD) => 361 via 159 (KEY_FORWARD) */ + [0xa8] = 0x167, /* 168 (VK_BROWSER_REFRESH) => 359 via 173 (KEY_REFRESH) */ + [0xa9] = 0x168, /* 169 (VK_BROWSER_STOP) => 360 via 128 (KEY_STOP) */ + [0xaa] = 0x165, /* 170 (VK_BROWSER_SEARCH) => 357 via 217 (KEY_SEARCH) */ + [0xac] = 0x132, /* 172 (VK_BROWSER_HOME) => 306 via 172 (KEY_HOMEPAGE) */ + [0xad] = 0x120, /* 173 (VK_VOLUME_MUTE) => 288 via 113 (KEY_MUTE) */ + [0xae] = 0x12e, /* 174 (VK_VOLUME_DOWN) => 302 via 114 (KEY_VOLUMEDOWN) */ + [0xaf] = 0x130, /* 175 (VK_VOLUME_UP) => 304 via 115 (KEY_VOLUMEUP) */ + [0xb0] = 0x119, /* 176 (VK_MEDIA_NEXT_TRACK) => 281 via 163 (KEY_NEXTSONG) */ + [0xb1] = 0x110, /* 177 (VK_MEDIA_PREV_TRACK) => 272 via 165 (KEY_PREVIOUSSONG) */ + [0xb2] = 0x124, /* 178 (VK_MEDIA_STOP) => 292 via 166 (KEY_STOPCD) */ + [0xb3] = 0x122, /* 179 (VK_MEDIA_PLAY_PAUSE) => 290 via 164 (KEY_PLAYPAUSE) */ + [0xb4] = 0x13f, /* 180 (VK_LAUNCH_MAIL) => 319 via 215 (KEY_EMAIL) */ + [0xba] = 0x27, /* 186 (VK_OEM_1) => 39 via 39 (KEY_SEMICOLON) */ + [0xbb] = 0xd, /* 187 (VK_OEM_PLUS) => 13 via 13 (KEY_EQUAL) */ + [0xbc] = 0x33, /* 188 (VK_OEM_COMMA) => 51 via 51 (KEY_COMMA) */ + [0xbd] = 0xc, /* 189 (VK_OEM_MINUS) => 12 via 12 (KEY_MINUS) */ + [0xbe] = 0x34, /* 190 (VK_OEM_PERIOD) => 52 via 52 (KEY_DOT) */ + [0xbf] = 0x35, /* 191 (VK_OEM_2) => 53 via 53 (KEY_SLASH) */ + [0xc0] = 0x29, /* 192 (VK_OEM_3) => 41 via 41 (KEY_GRAVE) */ + [0xdb] = 0x1a, /* 219 (VK_OEM_4) => 26 via 26 (KEY_LEFTBRACE) */ + [0xdc] = 0x2b, /* 220 (VK_OEM_5) => 43 via 43 (KEY_BACKSLASH) */ + [0xdd] = 0x1b, /* 221 (VK_OEM_6) => 27 via 27 (KEY_RIGHTBRACE) */ + [0xde] = 0x28, /* 222 (VK_OEM_7) => 40 via 40 (KEY_APOSTROPHE) */ + [0xe1] = 0x56, /* 225 (VK_OEM_102) => 86 via 86 (KEY_102ND) */ + [0xfa] = 0x133, /* 250 (VK_PLAY) => 307 via 207 (KEY_PLAY) */ +}; diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/vncdisplaykeymap_xorgevdev2xtkbd.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/vncdisplaykeymap_xorgevdev2xtkbd.c new file mode 100644 index 0000000..ffa8c45 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/vncdisplaykeymap_xorgevdev2xtkbd.c @@ -0,0 +1,240 @@ +static const guint16 keymap_xorgevdev2xtkbd[] = { + [0x9] = 0x1, /* 9 => 1 via 1 (KEY_ESC) */ + [0xa] = 0x2, /* 10 => 2 via 2 (KEY_1) */ + [0xb] = 0x3, /* 11 => 3 via 3 (KEY_2) */ + [0xc] = 0x4, /* 12 => 4 via 4 (KEY_3) */ + [0xd] = 0x5, /* 13 => 5 via 5 (KEY_4) */ + [0xe] = 0x6, /* 14 => 6 via 6 (KEY_5) */ + [0xf] = 0x7, /* 15 => 7 via 7 (KEY_6) */ + [0x10] = 0x8, /* 16 => 8 via 8 (KEY_7) */ + [0x11] = 0x9, /* 17 => 9 via 9 (KEY_8) */ + [0x12] = 0xa, /* 18 => 10 via 10 (KEY_9) */ + [0x13] = 0xb, /* 19 => 11 via 11 (KEY_0) */ + [0x14] = 0xc, /* 20 => 12 via 12 (KEY_MINUS) */ + [0x15] = 0xd, /* 21 => 13 via 13 (KEY_EQUAL) */ + [0x16] = 0xe, /* 22 => 14 via 14 (KEY_BACKSPACE) */ + [0x17] = 0xf, /* 23 => 15 via 15 (KEY_TAB) */ + [0x18] = 0x10, /* 24 => 16 via 16 (KEY_Q) */ + [0x19] = 0x11, /* 25 => 17 via 17 (KEY_W) */ + [0x1a] = 0x12, /* 26 => 18 via 18 (KEY_E) */ + [0x1b] = 0x13, /* 27 => 19 via 19 (KEY_R) */ + [0x1c] = 0x14, /* 28 => 20 via 20 (KEY_T) */ + [0x1d] = 0x15, /* 29 => 21 via 21 (KEY_Y) */ + [0x1e] = 0x16, /* 30 => 22 via 22 (KEY_U) */ + [0x1f] = 0x17, /* 31 => 23 via 23 (KEY_I) */ + [0x20] = 0x18, /* 32 => 24 via 24 (KEY_O) */ + [0x21] = 0x19, /* 33 => 25 via 25 (KEY_P) */ + [0x22] = 0x1a, /* 34 => 26 via 26 (KEY_LEFTBRACE) */ + [0x23] = 0x1b, /* 35 => 27 via 27 (KEY_RIGHTBRACE) */ + [0x24] = 0x1c, /* 36 => 28 via 28 (KEY_ENTER) */ + [0x25] = 0x1d, /* 37 => 29 via 29 (KEY_LEFTCTRL) */ + [0x26] = 0x1e, /* 38 => 30 via 30 (KEY_A) */ + [0x27] = 0x1f, /* 39 => 31 via 31 (KEY_S) */ + [0x28] = 0x20, /* 40 => 32 via 32 (KEY_D) */ + [0x29] = 0x21, /* 41 => 33 via 33 (KEY_F) */ + [0x2a] = 0x22, /* 42 => 34 via 34 (KEY_G) */ + [0x2b] = 0x23, /* 43 => 35 via 35 (KEY_H) */ + [0x2c] = 0x24, /* 44 => 36 via 36 (KEY_J) */ + [0x2d] = 0x25, /* 45 => 37 via 37 (KEY_K) */ + [0x2e] = 0x26, /* 46 => 38 via 38 (KEY_L) */ + [0x2f] = 0x27, /* 47 => 39 via 39 (KEY_SEMICOLON) */ + [0x30] = 0x28, /* 48 => 40 via 40 (KEY_APOSTROPHE) */ + [0x31] = 0x29, /* 49 => 41 via 41 (KEY_GRAVE) */ + [0x32] = 0x2a, /* 50 => 42 via 42 (KEY_LEFTSHIFT) */ + [0x33] = 0x2b, /* 51 => 43 via 43 (KEY_BACKSLASH) */ + [0x34] = 0x2c, /* 52 => 44 via 44 (KEY_Z) */ + [0x35] = 0x2d, /* 53 => 45 via 45 (KEY_X) */ + [0x36] = 0x2e, /* 54 => 46 via 46 (KEY_C) */ + [0x37] = 0x2f, /* 55 => 47 via 47 (KEY_V) */ + [0x38] = 0x30, /* 56 => 48 via 48 (KEY_B) */ + [0x39] = 0x31, /* 57 => 49 via 49 (KEY_N) */ + [0x3a] = 0x32, /* 58 => 50 via 50 (KEY_M) */ + [0x3b] = 0x33, /* 59 => 51 via 51 (KEY_COMMA) */ + [0x3c] = 0x34, /* 60 => 52 via 52 (KEY_DOT) */ + [0x3d] = 0x35, /* 61 => 53 via 53 (KEY_SLASH) */ + [0x3e] = 0x36, /* 62 => 54 via 54 (KEY_RIGHTSHIFT) */ + [0x3f] = 0x37, /* 63 => 55 via 55 (KEY_KPASTERISK) */ + [0x40] = 0x38, /* 64 => 56 via 56 (KEY_LEFTALT) */ + [0x41] = 0x39, /* 65 => 57 via 57 (KEY_SPACE) */ + [0x42] = 0x3a, /* 66 => 58 via 58 (KEY_CAPSLOCK) */ + [0x43] = 0x3b, /* 67 => 59 via 59 (KEY_F1) */ + [0x44] = 0x3c, /* 68 => 60 via 60 (KEY_F2) */ + [0x45] = 0x3d, /* 69 => 61 via 61 (KEY_F3) */ + [0x46] = 0x3e, /* 70 => 62 via 62 (KEY_F4) */ + [0x47] = 0x3f, /* 71 => 63 via 63 (KEY_F5) */ + [0x48] = 0x40, /* 72 => 64 via 64 (KEY_F6) */ + [0x49] = 0x41, /* 73 => 65 via 65 (KEY_F7) */ + [0x4a] = 0x42, /* 74 => 66 via 66 (KEY_F8) */ + [0x4b] = 0x43, /* 75 => 67 via 67 (KEY_F9) */ + [0x4c] = 0x44, /* 76 => 68 via 68 (KEY_F10) */ + [0x4d] = 0x45, /* 77 => 69 via 69 (KEY_NUMLOCK) */ + [0x4e] = 0x46, /* 78 => 70 via 70 (KEY_SCROLLLOCK) */ + [0x4f] = 0x47, /* 79 => 71 via 71 (KEY_KP7) */ + [0x50] = 0x48, /* 80 => 72 via 72 (KEY_KP8) */ + [0x51] = 0x49, /* 81 => 73 via 73 (KEY_KP9) */ + [0x52] = 0x4a, /* 82 => 74 via 74 (KEY_KPMINUS) */ + [0x53] = 0x4b, /* 83 => 75 via 75 (KEY_KP4) */ + [0x54] = 0x4c, /* 84 => 76 via 76 (KEY_KP5) */ + [0x55] = 0x4d, /* 85 => 77 via 77 (KEY_KP6) */ + [0x56] = 0x4e, /* 86 => 78 via 78 (KEY_KPPLUS) */ + [0x57] = 0x4f, /* 87 => 79 via 79 (KEY_KP1) */ + [0x58] = 0x50, /* 88 => 80 via 80 (KEY_KP2) */ + [0x59] = 0x51, /* 89 => 81 via 81 (KEY_KP3) */ + [0x5a] = 0x52, /* 90 => 82 via 82 (KEY_KP0) */ + [0x5b] = 0x53, /* 91 => 83 via 83 (KEY_KPDOT) */ + [0x5c] = 0x54, /* 92 => 84 via 84 */ + [0x5d] = 0x76, /* 93 => 118 via 85 (KEY_ZENKAKUHANKAKU) */ + [0x5e] = 0x56, /* 94 => 86 via 86 (KEY_102ND) */ + [0x5f] = 0x57, /* 95 => 87 via 87 (KEY_F11) */ + [0x60] = 0x58, /* 96 => 88 via 88 (KEY_F12) */ + [0x61] = 0x73, /* 97 => 115 via 89 (KEY_RO) */ + [0x62] = 0x78, /* 98 => 120 via 90 (KEY_KATAKANA) */ + [0x63] = 0x77, /* 99 => 119 via 91 (KEY_HIRAGANA) */ + [0x64] = 0x79, /* 100 => 121 via 92 (KEY_HENKAN) */ + [0x65] = 0x70, /* 101 => 112 via 93 (KEY_KATAKANAHIRAGANA) */ + [0x66] = 0x7b, /* 102 => 123 via 94 (KEY_MUHENKAN) */ + [0x67] = 0x5c, /* 103 => 92 via 95 (KEY_KPJPCOMMA) */ + [0x68] = 0x11c, /* 104 => 284 via 96 (KEY_KPENTER) */ + [0x69] = 0x11d, /* 105 => 285 via 97 (KEY_RIGHTCTRL) */ + [0x6a] = 0x135, /* 106 => 309 via 98 (KEY_KPSLASH) */ + [0x6b] = 0x54, /* 107 => 84 via 99 (KEY_SYSRQ) */ + [0x6c] = 0x138, /* 108 => 312 via 100 (KEY_RIGHTALT) */ + [0x6d] = 0x5b, /* 109 => 91 via 101 (KEY_LINEFEED) */ + [0x6e] = 0x147, /* 110 => 327 via 102 (KEY_HOME) */ + [0x6f] = 0x148, /* 111 => 328 via 103 (KEY_UP) */ + [0x70] = 0x149, /* 112 => 329 via 104 (KEY_PAGEUP) */ + [0x71] = 0x14b, /* 113 => 331 via 105 (KEY_LEFT) */ + [0x72] = 0x14d, /* 114 => 333 via 106 (KEY_RIGHT) */ + [0x73] = 0x14f, /* 115 => 335 via 107 (KEY_END) */ + [0x74] = 0x150, /* 116 => 336 via 108 (KEY_DOWN) */ + [0x75] = 0x151, /* 117 => 337 via 109 (KEY_PAGEDOWN) */ + [0x76] = 0x152, /* 118 => 338 via 110 (KEY_INSERT) */ + [0x77] = 0x153, /* 119 => 339 via 111 (KEY_DELETE) */ + [0x78] = 0x16f, /* 120 => 367 via 112 (KEY_MACRO) */ + [0x79] = 0x120, /* 121 => 288 via 113 (KEY_MUTE) */ + [0x7a] = 0x12e, /* 122 => 302 via 114 (KEY_VOLUMEDOWN) */ + [0x7b] = 0x130, /* 123 => 304 via 115 (KEY_VOLUMEUP) */ + [0x7c] = 0x15e, /* 124 => 350 via 116 (KEY_POWER) */ + [0x7d] = 0x59, /* 125 => 89 via 117 (KEY_KPEQUAL) */ + [0x7e] = 0x14e, /* 126 => 334 via 118 (KEY_KPPLUSMINUS) */ + [0x7f] = 0x146, /* 127 => 326 via 119 (KEY_PAUSE) */ + [0x80] = 0x10b, /* 128 => 267 via 120 (KEY_SCALE) */ + [0x81] = 0x7e, /* 129 => 126 via 121 (KEY_KPCOMMA) */ + [0x83] = 0x10d, /* 131 => 269 via 123 (KEY_HANJA) */ + [0x84] = 0x7d, /* 132 => 125 via 124 (KEY_YEN) */ + [0x85] = 0x15b, /* 133 => 347 via 125 (KEY_LEFTMETA) */ + [0x86] = 0x15c, /* 134 => 348 via 126 (KEY_RIGHTMETA) */ + [0x87] = 0x15d, /* 135 => 349 via 127 (KEY_COMPOSE) */ + [0x88] = 0x168, /* 136 => 360 via 128 (KEY_STOP) */ + [0x89] = 0x105, /* 137 => 261 via 129 (KEY_AGAIN) */ + [0x8a] = 0x106, /* 138 => 262 via 130 (KEY_PROPS) */ + [0x8b] = 0x107, /* 139 => 263 via 131 (KEY_UNDO) */ + [0x8c] = 0x10c, /* 140 => 268 via 132 (KEY_FRONT) */ + [0x8d] = 0x178, /* 141 => 376 via 133 (KEY_COPY) */ + [0x8e] = 0x64, /* 142 => 100 via 134 (KEY_OPEN) */ + [0x8f] = 0x65, /* 143 => 101 via 135 (KEY_PASTE) */ + [0x90] = 0x141, /* 144 => 321 via 136 (KEY_FIND) */ + [0x91] = 0x13c, /* 145 => 316 via 137 (KEY_CUT) */ + [0x92] = 0x175, /* 146 => 373 via 138 (KEY_HELP) */ + [0x93] = 0x11e, /* 147 => 286 via 139 (KEY_MENU) */ + [0x94] = 0x121, /* 148 => 289 via 140 (KEY_CALC) */ + [0x95] = 0x66, /* 149 => 102 via 141 (KEY_SETUP) */ + [0x96] = 0x15f, /* 150 => 351 via 142 (KEY_SLEEP) */ + [0x97] = 0x163, /* 151 => 355 via 143 (KEY_WAKEUP) */ + [0x98] = 0x67, /* 152 => 103 via 144 (KEY_FILE) */ + [0x99] = 0x68, /* 153 => 104 via 145 (KEY_SENDFILE) */ + [0x9a] = 0x69, /* 154 => 105 via 146 (KEY_DELETEFILE) */ + [0x9b] = 0x113, /* 155 => 275 via 147 (KEY_XFER) */ + [0x9c] = 0x11f, /* 156 => 287 via 148 (KEY_PROG1) */ + [0x9d] = 0x117, /* 157 => 279 via 149 (KEY_PROG2) */ + [0x9e] = 0x102, /* 158 => 258 via 150 (KEY_WWW) */ + [0x9f] = 0x6a, /* 159 => 106 via 151 (KEY_MSDOS) */ + [0xa0] = 0x112, /* 160 => 274 via 152 (KEY_SCREENLOCK) */ + [0xa1] = 0x6b, /* 161 => 107 via 153 (KEY_DIRECTION) */ + [0xa2] = 0x126, /* 162 => 294 via 154 (KEY_CYCLEWINDOWS) */ + [0xa3] = 0x16c, /* 163 => 364 via 155 (KEY_MAIL) */ + [0xa4] = 0x166, /* 164 => 358 via 156 (KEY_BOOKMARKS) */ + [0xa5] = 0x16b, /* 165 => 363 via 157 (KEY_COMPUTER) */ + [0xa6] = 0x16a, /* 166 => 362 via 158 (KEY_BACK) */ + [0xa7] = 0x169, /* 167 => 361 via 159 (KEY_FORWARD) */ + [0xa8] = 0x123, /* 168 => 291 via 160 (KEY_CLOSECD) */ + [0xa9] = 0x6c, /* 169 => 108 via 161 (KEY_EJECTCD) */ + [0xaa] = 0x17d, /* 170 => 381 via 162 (KEY_EJECTCLOSECD) */ + [0xab] = 0x119, /* 171 => 281 via 163 (KEY_NEXTSONG) */ + [0xac] = 0x122, /* 172 => 290 via 164 (KEY_PLAYPAUSE) */ + [0xad] = 0x110, /* 173 => 272 via 165 (KEY_PREVIOUSSONG) */ + [0xae] = 0x124, /* 174 => 292 via 166 (KEY_STOPCD) */ + [0xaf] = 0x131, /* 175 => 305 via 167 (KEY_RECORD) */ + [0xb0] = 0x118, /* 176 => 280 via 168 (KEY_REWIND) */ + [0xb1] = 0x63, /* 177 => 99 via 169 (KEY_PHONE) */ + [0xb2] = 0x70, /* 178 => 112 via 170 (KEY_ISO) */ + [0xb3] = 0x101, /* 179 => 257 via 171 (KEY_CONFIG) */ + [0xb4] = 0x132, /* 180 => 306 via 172 (KEY_HOMEPAGE) */ + [0xb5] = 0x167, /* 181 => 359 via 173 (KEY_REFRESH) */ + [0xb6] = 0x71, /* 182 => 113 via 174 (KEY_EXIT) */ + [0xb7] = 0x72, /* 183 => 114 via 175 (KEY_MOVE) */ + [0xb8] = 0x108, /* 184 => 264 via 176 (KEY_EDIT) */ + [0xb9] = 0x75, /* 185 => 117 via 177 (KEY_SCROLLUP) */ + [0xba] = 0x10f, /* 186 => 271 via 178 (KEY_SCROLLDOWN) */ + [0xbb] = 0x176, /* 187 => 374 via 179 (KEY_KPLEFTPAREN) */ + [0xbc] = 0x17b, /* 188 => 379 via 180 (KEY_KPRIGHTPAREN) */ + [0xbd] = 0x109, /* 189 => 265 via 181 (KEY_NEW) */ + [0xbe] = 0x10a, /* 190 => 266 via 182 (KEY_REDO) */ + [0xbf] = 0x5d, /* 191 => 93 via 183 (KEY_F13) */ + [0xc0] = 0x5e, /* 192 => 94 via 184 (KEY_F14) */ + [0xc1] = 0x5f, /* 193 => 95 via 185 (KEY_F15) */ + [0xc2] = 0x55, /* 194 => 85 via 186 (KEY_F16) */ + [0xc3] = 0x103, /* 195 => 259 via 187 (KEY_F17) */ + [0xc4] = 0x177, /* 196 => 375 via 188 (KEY_F18) */ + [0xc5] = 0x104, /* 197 => 260 via 189 (KEY_F19) */ + [0xc6] = 0x5a, /* 198 => 90 via 190 (KEY_F20) */ + [0xc7] = 0x74, /* 199 => 116 via 191 (KEY_F21) */ + [0xc8] = 0x179, /* 200 => 377 via 192 (KEY_F22) */ + [0xc9] = 0x6d, /* 201 => 109 via 193 (KEY_F23) */ + [0xca] = 0x6f, /* 202 => 111 via 194 (KEY_F24) */ + [0xcb] = 0x115, /* 203 => 277 via 195 */ + [0xcc] = 0x116, /* 204 => 278 via 196 */ + [0xcd] = 0x11a, /* 205 => 282 via 197 */ + [0xce] = 0x11b, /* 206 => 283 via 198 */ + [0xcf] = 0x127, /* 207 => 295 via 199 */ + [0xd0] = 0x128, /* 208 => 296 via 200 (KEY_PLAYCD) */ + [0xd1] = 0x129, /* 209 => 297 via 201 (KEY_PAUSECD) */ + [0xd2] = 0x12b, /* 210 => 299 via 202 (KEY_PROG3) */ + [0xd3] = 0x12c, /* 211 => 300 via 203 (KEY_PROG4) */ + [0xd4] = 0x12d, /* 212 => 301 via 204 (KEY_DASHBOARD) */ + [0xd5] = 0x125, /* 213 => 293 via 205 (KEY_SUSPEND) */ + [0xd6] = 0x12f, /* 214 => 303 via 206 (KEY_CLOSE) */ + [0xd7] = 0x133, /* 215 => 307 via 207 (KEY_PLAY) */ + [0xd8] = 0x134, /* 216 => 308 via 208 (KEY_FASTFORWARD) */ + [0xd9] = 0x136, /* 217 => 310 via 209 (KEY_BASSBOOST) */ + [0xda] = 0x139, /* 218 => 313 via 210 (KEY_PRINT) */ + [0xdb] = 0x13a, /* 219 => 314 via 211 (KEY_HP) */ + [0xdc] = 0x13b, /* 220 => 315 via 212 (KEY_CAMERA) */ + [0xdd] = 0x13d, /* 221 => 317 via 213 (KEY_SOUND) */ + [0xde] = 0x13e, /* 222 => 318 via 214 (KEY_QUESTION) */ + [0xdf] = 0x13f, /* 223 => 319 via 215 (KEY_EMAIL) */ + [0xe0] = 0x140, /* 224 => 320 via 216 (KEY_CHAT) */ + [0xe1] = 0x165, /* 225 => 357 via 217 (KEY_SEARCH) */ + [0xe2] = 0x142, /* 226 => 322 via 218 (KEY_CONNECT) */ + [0xe3] = 0x143, /* 227 => 323 via 219 (KEY_FINANCE) */ + [0xe4] = 0x144, /* 228 => 324 via 220 (KEY_SPORT) */ + [0xe5] = 0x145, /* 229 => 325 via 221 (KEY_SHOP) */ + [0xe6] = 0x114, /* 230 => 276 via 222 (KEY_ALTERASE) */ + [0xe7] = 0x14a, /* 231 => 330 via 223 (KEY_CANCEL) */ + [0xe8] = 0x14c, /* 232 => 332 via 224 (KEY_BRIGHTNESSDOWN) */ + [0xe9] = 0x154, /* 233 => 340 via 225 (KEY_BRIGHTNESSUP) */ + [0xea] = 0x16d, /* 234 => 365 via 226 (KEY_MEDIA) */ + [0xeb] = 0x156, /* 235 => 342 via 227 (KEY_SWITCHVIDEOMODE) */ + [0xec] = 0x157, /* 236 => 343 via 228 (KEY_KBDILLUMTOGGLE) */ + [0xed] = 0x158, /* 237 => 344 via 229 (KEY_KBDILLUMDOWN) */ + [0xee] = 0x159, /* 238 => 345 via 230 (KEY_KBDILLUMUP) */ + [0xef] = 0x15a, /* 239 => 346 via 231 (KEY_SEND) */ + [0xf0] = 0x164, /* 240 => 356 via 232 (KEY_REPLY) */ + [0xf1] = 0x10e, /* 241 => 270 via 233 (KEY_FORWARDMAIL) */ + [0xf2] = 0x155, /* 242 => 341 via 234 (KEY_SAVE) */ + [0xf3] = 0x170, /* 243 => 368 via 235 (KEY_DOCUMENTS) */ + [0xf4] = 0x171, /* 244 => 369 via 236 (KEY_BATTERY) */ + [0xf5] = 0x172, /* 245 => 370 via 237 (KEY_BLUETOOTH) */ + [0xf6] = 0x173, /* 246 => 371 via 238 (KEY_WLAN) */ + [0xf7] = 0x174, /* 247 => 372 via 239 (KEY_UWB) */ +}; diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/vncdisplaykeymap_xorgkbd2xtkbd.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/vncdisplaykeymap_xorgkbd2xtkbd.c new file mode 100644 index 0000000..a455eeb --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/vncdisplaykeymap_xorgkbd2xtkbd.c @@ -0,0 +1,112 @@ +static const guint16 keymap_xorgkbd2xtkbd[] = { + [0x9] = 0x1, /* 9 => 1 via 1 (KEY_ESC) */ + [0xa] = 0x2, /* 10 => 2 via 2 (KEY_1) */ + [0xb] = 0x3, /* 11 => 3 via 3 (KEY_2) */ + [0xc] = 0x4, /* 12 => 4 via 4 (KEY_3) */ + [0xd] = 0x5, /* 13 => 5 via 5 (KEY_4) */ + [0xe] = 0x6, /* 14 => 6 via 6 (KEY_5) */ + [0xf] = 0x7, /* 15 => 7 via 7 (KEY_6) */ + [0x10] = 0x8, /* 16 => 8 via 8 (KEY_7) */ + [0x11] = 0x9, /* 17 => 9 via 9 (KEY_8) */ + [0x12] = 0xa, /* 18 => 10 via 10 (KEY_9) */ + [0x13] = 0xb, /* 19 => 11 via 11 (KEY_0) */ + [0x14] = 0xc, /* 20 => 12 via 12 (KEY_MINUS) */ + [0x15] = 0xd, /* 21 => 13 via 13 (KEY_EQUAL) */ + [0x16] = 0xe, /* 22 => 14 via 14 (KEY_BACKSPACE) */ + [0x17] = 0xf, /* 23 => 15 via 15 (KEY_TAB) */ + [0x18] = 0x10, /* 24 => 16 via 16 (KEY_Q) */ + [0x19] = 0x11, /* 25 => 17 via 17 (KEY_W) */ + [0x1a] = 0x12, /* 26 => 18 via 18 (KEY_E) */ + [0x1b] = 0x13, /* 27 => 19 via 19 (KEY_R) */ + [0x1c] = 0x14, /* 28 => 20 via 20 (KEY_T) */ + [0x1d] = 0x15, /* 29 => 21 via 21 (KEY_Y) */ + [0x1e] = 0x16, /* 30 => 22 via 22 (KEY_U) */ + [0x1f] = 0x17, /* 31 => 23 via 23 (KEY_I) */ + [0x20] = 0x18, /* 32 => 24 via 24 (KEY_O) */ + [0x21] = 0x19, /* 33 => 25 via 25 (KEY_P) */ + [0x22] = 0x1a, /* 34 => 26 via 26 (KEY_LEFTBRACE) */ + [0x23] = 0x1b, /* 35 => 27 via 27 (KEY_RIGHTBRACE) */ + [0x24] = 0x1c, /* 36 => 28 via 28 (KEY_ENTER) */ + [0x25] = 0x1d, /* 37 => 29 via 29 (KEY_LEFTCTRL) */ + [0x26] = 0x1e, /* 38 => 30 via 30 (KEY_A) */ + [0x27] = 0x1f, /* 39 => 31 via 31 (KEY_S) */ + [0x28] = 0x20, /* 40 => 32 via 32 (KEY_D) */ + [0x29] = 0x21, /* 41 => 33 via 33 (KEY_F) */ + [0x2a] = 0x22, /* 42 => 34 via 34 (KEY_G) */ + [0x2b] = 0x23, /* 43 => 35 via 35 (KEY_H) */ + [0x2c] = 0x24, /* 44 => 36 via 36 (KEY_J) */ + [0x2d] = 0x25, /* 45 => 37 via 37 (KEY_K) */ + [0x2e] = 0x26, /* 46 => 38 via 38 (KEY_L) */ + [0x2f] = 0x27, /* 47 => 39 via 39 (KEY_SEMICOLON) */ + [0x30] = 0x28, /* 48 => 40 via 40 (KEY_APOSTROPHE) */ + [0x31] = 0x29, /* 49 => 41 via 41 (KEY_GRAVE) */ + [0x32] = 0x2a, /* 50 => 42 via 42 (KEY_LEFTSHIFT) */ + [0x33] = 0x2b, /* 51 => 43 via 43 (KEY_BACKSLASH) */ + [0x34] = 0x2c, /* 52 => 44 via 44 (KEY_Z) */ + [0x35] = 0x2d, /* 53 => 45 via 45 (KEY_X) */ + [0x36] = 0x2e, /* 54 => 46 via 46 (KEY_C) */ + [0x37] = 0x2f, /* 55 => 47 via 47 (KEY_V) */ + [0x38] = 0x30, /* 56 => 48 via 48 (KEY_B) */ + [0x39] = 0x31, /* 57 => 49 via 49 (KEY_N) */ + [0x3a] = 0x32, /* 58 => 50 via 50 (KEY_M) */ + [0x3b] = 0x33, /* 59 => 51 via 51 (KEY_COMMA) */ + [0x3c] = 0x34, /* 60 => 52 via 52 (KEY_DOT) */ + [0x3d] = 0x35, /* 61 => 53 via 53 (KEY_SLASH) */ + [0x3e] = 0x36, /* 62 => 54 via 54 (KEY_RIGHTSHIFT) */ + [0x3f] = 0x37, /* 63 => 55 via 55 (KEY_KPASTERISK) */ + [0x40] = 0x38, /* 64 => 56 via 56 (KEY_LEFTALT) */ + [0x41] = 0x39, /* 65 => 57 via 57 (KEY_SPACE) */ + [0x42] = 0x3a, /* 66 => 58 via 58 (KEY_CAPSLOCK) */ + [0x43] = 0x3b, /* 67 => 59 via 59 (KEY_F1) */ + [0x44] = 0x3c, /* 68 => 60 via 60 (KEY_F2) */ + [0x45] = 0x3d, /* 69 => 61 via 61 (KEY_F3) */ + [0x46] = 0x3e, /* 70 => 62 via 62 (KEY_F4) */ + [0x47] = 0x3f, /* 71 => 63 via 63 (KEY_F5) */ + [0x48] = 0x40, /* 72 => 64 via 64 (KEY_F6) */ + [0x49] = 0x41, /* 73 => 65 via 65 (KEY_F7) */ + [0x4a] = 0x42, /* 74 => 66 via 66 (KEY_F8) */ + [0x4b] = 0x43, /* 75 => 67 via 67 (KEY_F9) */ + [0x4c] = 0x44, /* 76 => 68 via 68 (KEY_F10) */ + [0x4d] = 0x45, /* 77 => 69 via 69 (KEY_NUMLOCK) */ + [0x4e] = 0x46, /* 78 => 70 via 70 (KEY_SCROLLLOCK) */ + [0x4f] = 0x47, /* 79 => 71 via 71 (KEY_KP7) */ + [0x50] = 0x48, /* 80 => 72 via 72 (KEY_KP8) */ + [0x51] = 0x49, /* 81 => 73 via 73 (KEY_KP9) */ + [0x52] = 0x4a, /* 82 => 74 via 74 (KEY_KPMINUS) */ + [0x53] = 0x4b, /* 83 => 75 via 75 (KEY_KP4) */ + [0x54] = 0x4c, /* 84 => 76 via 76 (KEY_KP5) */ + [0x55] = 0x4d, /* 85 => 77 via 77 (KEY_KP6) */ + [0x56] = 0x4e, /* 86 => 78 via 78 (KEY_KPPLUS) */ + [0x57] = 0x4f, /* 87 => 79 via 79 (KEY_KP1) */ + [0x58] = 0x50, /* 88 => 80 via 80 (KEY_KP2) */ + [0x59] = 0x51, /* 89 => 81 via 81 (KEY_KP3) */ + [0x5a] = 0x52, /* 90 => 82 via 82 (KEY_KP0) */ + [0x5b] = 0x53, /* 91 => 83 via 83 (KEY_KPDOT) */ + [0x61] = 0x147, /* 97 => 327 via 102 (KEY_HOME) */ + [0x62] = 0x148, /* 98 => 328 via 103 (KEY_UP) */ + [0x63] = 0x149, /* 99 => 329 via 104 (KEY_PAGEUP) */ + [0x64] = 0x14b, /* 100 => 331 via 105 (KEY_LEFT) */ + [0x66] = 0x14d, /* 102 => 333 via 106 (KEY_RIGHT) */ + [0x67] = 0x14f, /* 103 => 335 via 107 (KEY_END) */ + [0x68] = 0x150, /* 104 => 336 via 108 (KEY_DOWN) */ + [0x69] = 0x151, /* 105 => 337 via 109 (KEY_PAGEDOWN) */ + [0x6a] = 0x152, /* 106 => 338 via 110 (KEY_INSERT) */ + [0x6b] = 0x153, /* 107 => 339 via 111 (KEY_DELETE) */ + [0x6c] = 0x11c, /* 108 => 284 via 96 (KEY_KPENTER) */ + [0x6d] = 0x11d, /* 109 => 285 via 97 (KEY_RIGHTCTRL) */ + [0x6e] = 0x146, /* 110 => 326 via 119 (KEY_PAUSE) */ + [0x6f] = 0x54, /* 111 => 84 via 99 (KEY_SYSRQ) */ + [0x70] = 0x135, /* 112 => 309 via 98 (KEY_KPSLASH) */ + [0x71] = 0x138, /* 113 => 312 via 100 (KEY_RIGHTALT) */ + [0x73] = 0x15b, /* 115 => 347 via 125 (KEY_LEFTMETA) */ + [0x74] = 0x15c, /* 116 => 348 via 126 (KEY_RIGHTMETA) */ + [0x75] = 0x15d, /* 117 => 349 via 127 (KEY_COMPOSE) */ + [0x76] = 0x5d, /* 118 => 93 via 183 (KEY_F13) */ + [0x77] = 0x5e, /* 119 => 94 via 184 (KEY_F14) */ + [0x78] = 0x5f, /* 120 => 95 via 185 (KEY_F15) */ + [0x79] = 0x55, /* 121 => 85 via 186 (KEY_F16) */ + [0x7a] = 0x103, /* 122 => 259 via 187 (KEY_F17) */ + [0x7e] = 0x59, /* 126 => 89 via 117 (KEY_KPEQUAL) */ + [0x85] = 0x7d, /* 133 => 125 via 124 (KEY_YEN) */ + [0xd0] = 0x70, /* 208 => 112 via 93 (KEY_KATAKANAHIRAGANA) */ +}; diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/vncdisplaykeymap_xorgxquartz2xtkbd.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/vncdisplaykeymap_xorgxquartz2xtkbd.c new file mode 100644 index 0000000..76e6d47 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/vncdisplaykeymap_xorgxquartz2xtkbd.c @@ -0,0 +1,117 @@ +static const guint16 keymap_xorgxquartz2xtkbd[] = { + [0x8] = 0x1e, /* 8 => 30 via 30 (KEY_A) */ + [0x9] = 0x1f, /* 9 => 31 via 31 (KEY_S) */ + [0xa] = 0x20, /* 10 => 32 via 32 (KEY_D) */ + [0xb] = 0x21, /* 11 => 33 via 33 (KEY_F) */ + [0xc] = 0x23, /* 12 => 35 via 35 (KEY_H) */ + [0xd] = 0x22, /* 13 => 34 via 34 (KEY_G) */ + [0xe] = 0x2c, /* 14 => 44 via 44 (KEY_Z) */ + [0xf] = 0x2d, /* 15 => 45 via 45 (KEY_X) */ + [0x10] = 0x2e, /* 16 => 46 via 46 (KEY_C) */ + [0x11] = 0x2f, /* 17 => 47 via 47 (KEY_V) */ + [0x12] = 0x70, /* 18 => 112 via 170 (KEY_ISO) */ + [0x13] = 0x30, /* 19 => 48 via 48 (KEY_B) */ + [0x14] = 0x10, /* 20 => 16 via 16 (KEY_Q) */ + [0x15] = 0x11, /* 21 => 17 via 17 (KEY_W) */ + [0x16] = 0x12, /* 22 => 18 via 18 (KEY_E) */ + [0x17] = 0x13, /* 23 => 19 via 19 (KEY_R) */ + [0x18] = 0x15, /* 24 => 21 via 21 (KEY_Y) */ + [0x19] = 0x14, /* 25 => 20 via 20 (KEY_T) */ + [0x1a] = 0x2, /* 26 => 2 via 2 (KEY_1) */ + [0x1b] = 0x3, /* 27 => 3 via 3 (KEY_2) */ + [0x1c] = 0x4, /* 28 => 4 via 4 (KEY_3) */ + [0x1d] = 0x5, /* 29 => 5 via 5 (KEY_4) */ + [0x1e] = 0x7, /* 30 => 7 via 7 (KEY_6) */ + [0x1f] = 0x6, /* 31 => 6 via 6 (KEY_5) */ + [0x20] = 0xd, /* 32 => 13 via 13 (KEY_EQUAL) */ + [0x21] = 0xa, /* 33 => 10 via 10 (KEY_9) */ + [0x22] = 0x8, /* 34 => 8 via 8 (KEY_7) */ + [0x23] = 0xc, /* 35 => 12 via 12 (KEY_MINUS) */ + [0x24] = 0x9, /* 36 => 9 via 9 (KEY_8) */ + [0x25] = 0xb, /* 37 => 11 via 11 (KEY_0) */ + [0x26] = 0x1b, /* 38 => 27 via 27 (KEY_RIGHTBRACE) */ + [0x27] = 0x18, /* 39 => 24 via 24 (KEY_O) */ + [0x28] = 0x16, /* 40 => 22 via 22 (KEY_U) */ + [0x29] = 0x1a, /* 41 => 26 via 26 (KEY_LEFTBRACE) */ + [0x2a] = 0x17, /* 42 => 23 via 23 (KEY_I) */ + [0x2b] = 0x19, /* 43 => 25 via 25 (KEY_P) */ + [0x2c] = 0x1c, /* 44 => 28 via 28 (KEY_ENTER) */ + [0x2d] = 0x26, /* 45 => 38 via 38 (KEY_L) */ + [0x2e] = 0x24, /* 46 => 36 via 36 (KEY_J) */ + [0x2f] = 0x28, /* 47 => 40 via 40 (KEY_APOSTROPHE) */ + [0x30] = 0x25, /* 48 => 37 via 37 (KEY_K) */ + [0x31] = 0x27, /* 49 => 39 via 39 (KEY_SEMICOLON) */ + [0x32] = 0x2b, /* 50 => 43 via 43 (KEY_BACKSLASH) */ + [0x33] = 0x33, /* 51 => 51 via 51 (KEY_COMMA) */ + [0x34] = 0x35, /* 52 => 53 via 53 (KEY_SLASH) */ + [0x35] = 0x31, /* 53 => 49 via 49 (KEY_N) */ + [0x36] = 0x32, /* 54 => 50 via 50 (KEY_M) */ + [0x37] = 0x34, /* 55 => 52 via 52 (KEY_DOT) */ + [0x38] = 0xf, /* 56 => 15 via 15 (KEY_TAB) */ + [0x39] = 0x39, /* 57 => 57 via 57 (KEY_SPACE) */ + [0x3a] = 0x29, /* 58 => 41 via 41 (KEY_GRAVE) */ + [0x3b] = 0xe, /* 59 => 14 via 14 (KEY_BACKSPACE) */ + [0x3d] = 0x1, /* 61 => 1 via 1 (KEY_ESC) */ + [0x3f] = 0x15b, /* 63 => 347 via 125 (KEY_LEFTMETA) */ + [0x40] = 0x2a, /* 64 => 42 via 42 (KEY_LEFTSHIFT) */ + [0x41] = 0x3a, /* 65 => 58 via 58 (KEY_CAPSLOCK) */ + [0x42] = 0x38, /* 66 => 56 via 56 (KEY_LEFTALT) */ + [0x43] = 0x1d, /* 67 => 29 via 29 (KEY_LEFTCTRL) */ + [0x44] = 0x36, /* 68 => 54 via 54 (KEY_RIGHTSHIFT) */ + [0x45] = 0x138, /* 69 => 312 via 100 (KEY_RIGHTALT) */ + [0x46] = 0x11d, /* 70 => 285 via 97 (KEY_RIGHTCTRL) */ + [0x47] = 0x15d, /* 71 => 349 via 127 (KEY_COMPOSE) */ + [0x48] = 0x103, /* 72 => 259 via 187 (KEY_F17) */ + [0x49] = 0x53, /* 73 => 83 via 83 (KEY_KPDOT) */ + [0x4b] = 0x37, /* 75 => 55 via 55 (KEY_KPASTERISK) */ + [0x4d] = 0x4e, /* 77 => 78 via 78 (KEY_KPPLUS) */ + [0x4f] = 0x7e, /* 79 => 126 via 121 (KEY_KPCOMMA) */ + [0x50] = 0x130, /* 80 => 304 via 115 (KEY_VOLUMEUP) */ + [0x51] = 0x12e, /* 81 => 302 via 114 (KEY_VOLUMEDOWN) */ + [0x52] = 0x120, /* 82 => 288 via 113 (KEY_MUTE) */ + [0x53] = 0x135, /* 83 => 309 via 98 (KEY_KPSLASH) */ + [0x54] = 0x11c, /* 84 => 284 via 96 (KEY_KPENTER) */ + [0x56] = 0x4a, /* 86 => 74 via 74 (KEY_KPMINUS) */ + [0x57] = 0x177, /* 87 => 375 via 188 (KEY_F18) */ + [0x58] = 0x104, /* 88 => 260 via 189 (KEY_F19) */ + [0x59] = 0x59, /* 89 => 89 via 117 (KEY_KPEQUAL) */ + [0x5a] = 0x52, /* 90 => 82 via 82 (KEY_KP0) */ + [0x5b] = 0x4f, /* 91 => 79 via 79 (KEY_KP1) */ + [0x5c] = 0x50, /* 92 => 80 via 80 (KEY_KP2) */ + [0x5d] = 0x51, /* 93 => 81 via 81 (KEY_KP3) */ + [0x5e] = 0x4b, /* 94 => 75 via 75 (KEY_KP4) */ + [0x5f] = 0x4c, /* 95 => 76 via 76 (KEY_KP5) */ + [0x60] = 0x4d, /* 96 => 77 via 77 (KEY_KP6) */ + [0x61] = 0x47, /* 97 => 71 via 71 (KEY_KP7) */ + [0x62] = 0x5a, /* 98 => 90 via 190 (KEY_F20) */ + [0x63] = 0x48, /* 99 => 72 via 72 (KEY_KP8) */ + [0x64] = 0x49, /* 100 => 73 via 73 (KEY_KP9) */ + [0x65] = 0x7d, /* 101 => 125 via 124 (KEY_YEN) */ + [0x67] = 0x5c, /* 103 => 92 via 95 (KEY_KPJPCOMMA) */ + [0x68] = 0x3f, /* 104 => 63 via 63 (KEY_F5) */ + [0x69] = 0x40, /* 105 => 64 via 64 (KEY_F6) */ + [0x6a] = 0x41, /* 106 => 65 via 65 (KEY_F7) */ + [0x6b] = 0x3d, /* 107 => 61 via 61 (KEY_F3) */ + [0x6c] = 0x42, /* 108 => 66 via 66 (KEY_F8) */ + [0x6d] = 0x43, /* 109 => 67 via 67 (KEY_F9) */ + [0x6f] = 0x57, /* 111 => 87 via 87 (KEY_F11) */ + [0x70] = 0x78, /* 112 => 120 via 90 (KEY_KATAKANA) */ + [0x71] = 0x5d, /* 113 => 93 via 183 (KEY_F13) */ + [0x72] = 0x55, /* 114 => 85 via 186 (KEY_F16) */ + [0x73] = 0x5e, /* 115 => 94 via 184 (KEY_F14) */ + [0x75] = 0x44, /* 117 => 68 via 68 (KEY_F10) */ + [0x77] = 0x58, /* 119 => 88 via 88 (KEY_F12) */ + [0x79] = 0x5f, /* 121 => 95 via 185 (KEY_F15) */ + [0x7b] = 0x147, /* 123 => 327 via 102 (KEY_HOME) */ + [0x7c] = 0x149, /* 124 => 329 via 104 (KEY_PAGEUP) */ + [0x7d] = 0x153, /* 125 => 339 via 111 (KEY_DELETE) */ + [0x7e] = 0x3e, /* 126 => 62 via 62 (KEY_F4) */ + [0x7f] = 0x14f, /* 127 => 335 via 107 (KEY_END) */ + [0x80] = 0x3c, /* 128 => 60 via 60 (KEY_F2) */ + [0x81] = 0x151, /* 129 => 337 via 109 (KEY_PAGEDOWN) */ + [0x82] = 0x3b, /* 130 => 59 via 59 (KEY_F1) */ + [0x83] = 0x14b, /* 131 => 331 via 105 (KEY_LEFT) */ + [0x84] = 0x14d, /* 132 => 333 via 106 (KEY_RIGHT) */ + [0x85] = 0x150, /* 133 => 336 via 108 (KEY_DOWN) */ + [0x86] = 0x148, /* 134 => 328 via 103 (KEY_UP) */ +}; diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/vncdisplaykeymap_xorgxwin2xtkbd.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/vncdisplaykeymap_xorgxwin2xtkbd.c new file mode 100644 index 0000000..7587a2c --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/vncdisplaykeymap_xorgxwin2xtkbd.c @@ -0,0 +1,112 @@ +static const guint16 keymap_xorgxwin2xtkbd[] = { + [0x9] = 0x1, /* 9 => 1 via 1 (KEY_ESC) */ + [0xa] = 0x2, /* 10 => 2 via 2 (KEY_1) */ + [0xb] = 0x3, /* 11 => 3 via 3 (KEY_2) */ + [0xc] = 0x4, /* 12 => 4 via 4 (KEY_3) */ + [0xd] = 0x5, /* 13 => 5 via 5 (KEY_4) */ + [0xe] = 0x6, /* 14 => 6 via 6 (KEY_5) */ + [0xf] = 0x7, /* 15 => 7 via 7 (KEY_6) */ + [0x10] = 0x8, /* 16 => 8 via 8 (KEY_7) */ + [0x11] = 0x9, /* 17 => 9 via 9 (KEY_8) */ + [0x12] = 0xa, /* 18 => 10 via 10 (KEY_9) */ + [0x13] = 0xb, /* 19 => 11 via 11 (KEY_0) */ + [0x14] = 0xc, /* 20 => 12 via 12 (KEY_MINUS) */ + [0x15] = 0xd, /* 21 => 13 via 13 (KEY_EQUAL) */ + [0x16] = 0xe, /* 22 => 14 via 14 (KEY_BACKSPACE) */ + [0x17] = 0xf, /* 23 => 15 via 15 (KEY_TAB) */ + [0x18] = 0x10, /* 24 => 16 via 16 (KEY_Q) */ + [0x19] = 0x11, /* 25 => 17 via 17 (KEY_W) */ + [0x1a] = 0x12, /* 26 => 18 via 18 (KEY_E) */ + [0x1b] = 0x13, /* 27 => 19 via 19 (KEY_R) */ + [0x1c] = 0x14, /* 28 => 20 via 20 (KEY_T) */ + [0x1d] = 0x15, /* 29 => 21 via 21 (KEY_Y) */ + [0x1e] = 0x16, /* 30 => 22 via 22 (KEY_U) */ + [0x1f] = 0x17, /* 31 => 23 via 23 (KEY_I) */ + [0x20] = 0x18, /* 32 => 24 via 24 (KEY_O) */ + [0x21] = 0x19, /* 33 => 25 via 25 (KEY_P) */ + [0x22] = 0x1a, /* 34 => 26 via 26 (KEY_LEFTBRACE) */ + [0x23] = 0x1b, /* 35 => 27 via 27 (KEY_RIGHTBRACE) */ + [0x24] = 0x1c, /* 36 => 28 via 28 (KEY_ENTER) */ + [0x25] = 0x1d, /* 37 => 29 via 29 (KEY_LEFTCTRL) */ + [0x26] = 0x1e, /* 38 => 30 via 30 (KEY_A) */ + [0x27] = 0x1f, /* 39 => 31 via 31 (KEY_S) */ + [0x28] = 0x20, /* 40 => 32 via 32 (KEY_D) */ + [0x29] = 0x21, /* 41 => 33 via 33 (KEY_F) */ + [0x2a] = 0x22, /* 42 => 34 via 34 (KEY_G) */ + [0x2b] = 0x23, /* 43 => 35 via 35 (KEY_H) */ + [0x2c] = 0x24, /* 44 => 36 via 36 (KEY_J) */ + [0x2d] = 0x25, /* 45 => 37 via 37 (KEY_K) */ + [0x2e] = 0x26, /* 46 => 38 via 38 (KEY_L) */ + [0x2f] = 0x27, /* 47 => 39 via 39 (KEY_SEMICOLON) */ + [0x30] = 0x28, /* 48 => 40 via 40 (KEY_APOSTROPHE) */ + [0x31] = 0x29, /* 49 => 41 via 41 (KEY_GRAVE) */ + [0x32] = 0x2a, /* 50 => 42 via 42 (KEY_LEFTSHIFT) */ + [0x33] = 0x2b, /* 51 => 43 via 43 (KEY_BACKSLASH) */ + [0x34] = 0x2c, /* 52 => 44 via 44 (KEY_Z) */ + [0x35] = 0x2d, /* 53 => 45 via 45 (KEY_X) */ + [0x36] = 0x2e, /* 54 => 46 via 46 (KEY_C) */ + [0x37] = 0x2f, /* 55 => 47 via 47 (KEY_V) */ + [0x38] = 0x30, /* 56 => 48 via 48 (KEY_B) */ + [0x39] = 0x31, /* 57 => 49 via 49 (KEY_N) */ + [0x3a] = 0x32, /* 58 => 50 via 50 (KEY_M) */ + [0x3b] = 0x33, /* 59 => 51 via 51 (KEY_COMMA) */ + [0x3c] = 0x34, /* 60 => 52 via 52 (KEY_DOT) */ + [0x3d] = 0x35, /* 61 => 53 via 53 (KEY_SLASH) */ + [0x3e] = 0x36, /* 62 => 54 via 54 (KEY_RIGHTSHIFT) */ + [0x3f] = 0x37, /* 63 => 55 via 55 (KEY_KPASTERISK) */ + [0x40] = 0x38, /* 64 => 56 via 56 (KEY_LEFTALT) */ + [0x41] = 0x39, /* 65 => 57 via 57 (KEY_SPACE) */ + [0x42] = 0x3a, /* 66 => 58 via 58 (KEY_CAPSLOCK) */ + [0x43] = 0x3b, /* 67 => 59 via 59 (KEY_F1) */ + [0x44] = 0x3c, /* 68 => 60 via 60 (KEY_F2) */ + [0x45] = 0x3d, /* 69 => 61 via 61 (KEY_F3) */ + [0x46] = 0x3e, /* 70 => 62 via 62 (KEY_F4) */ + [0x47] = 0x3f, /* 71 => 63 via 63 (KEY_F5) */ + [0x48] = 0x40, /* 72 => 64 via 64 (KEY_F6) */ + [0x49] = 0x41, /* 73 => 65 via 65 (KEY_F7) */ + [0x4a] = 0x42, /* 74 => 66 via 66 (KEY_F8) */ + [0x4b] = 0x43, /* 75 => 67 via 67 (KEY_F9) */ + [0x4c] = 0x44, /* 76 => 68 via 68 (KEY_F10) */ + [0x4d] = 0x45, /* 77 => 69 via 69 (KEY_NUMLOCK) */ + [0x4e] = 0x46, /* 78 => 70 via 70 (KEY_SCROLLLOCK) */ + [0x4f] = 0x47, /* 79 => 71 via 71 (KEY_KP7) */ + [0x50] = 0x48, /* 80 => 72 via 72 (KEY_KP8) */ + [0x51] = 0x49, /* 81 => 73 via 73 (KEY_KP9) */ + [0x52] = 0x4a, /* 82 => 74 via 74 (KEY_KPMINUS) */ + [0x53] = 0x4b, /* 83 => 75 via 75 (KEY_KP4) */ + [0x54] = 0x4c, /* 84 => 76 via 76 (KEY_KP5) */ + [0x55] = 0x4d, /* 85 => 77 via 77 (KEY_KP6) */ + [0x56] = 0x4e, /* 86 => 78 via 78 (KEY_KPPLUS) */ + [0x57] = 0x4f, /* 87 => 79 via 79 (KEY_KP1) */ + [0x58] = 0x50, /* 88 => 80 via 80 (KEY_KP2) */ + [0x59] = 0x51, /* 89 => 81 via 81 (KEY_KP3) */ + [0x5a] = 0x52, /* 90 => 82 via 82 (KEY_KP0) */ + [0x5b] = 0x53, /* 91 => 83 via 83 (KEY_KPDOT) */ + [0x61] = 0x147, /* 97 => 327 via 102 (KEY_HOME) */ + [0x62] = 0x148, /* 98 => 328 via 103 (KEY_UP) */ + [0x63] = 0x149, /* 99 => 329 via 104 (KEY_PAGEUP) */ + [0x64] = 0x14b, /* 100 => 331 via 105 (KEY_LEFT) */ + [0x66] = 0x14d, /* 102 => 333 via 106 (KEY_RIGHT) */ + [0x67] = 0x14f, /* 103 => 335 via 107 (KEY_END) */ + [0x68] = 0x150, /* 104 => 336 via 108 (KEY_DOWN) */ + [0x69] = 0x151, /* 105 => 337 via 109 (KEY_PAGEDOWN) */ + [0x6a] = 0x152, /* 106 => 338 via 110 (KEY_INSERT) */ + [0x6b] = 0x153, /* 107 => 339 via 111 (KEY_DELETE) */ + [0x6c] = 0x11c, /* 108 => 284 via 96 (KEY_KPENTER) */ + [0x6d] = 0x11d, /* 109 => 285 via 97 (KEY_RIGHTCTRL) */ + [0x6e] = 0x146, /* 110 => 326 via 119 (KEY_PAUSE) */ + [0x6f] = 0x54, /* 111 => 84 via 99 (KEY_SYSRQ) */ + [0x70] = 0x135, /* 112 => 309 via 98 (KEY_KPSLASH) */ + [0x71] = 0x138, /* 113 => 312 via 100 (KEY_RIGHTALT) */ + [0x73] = 0x15b, /* 115 => 347 via 125 (KEY_LEFTMETA) */ + [0x74] = 0x15c, /* 116 => 348 via 126 (KEY_RIGHTMETA) */ + [0x75] = 0x15d, /* 117 => 349 via 127 (KEY_COMPOSE) */ + [0x76] = 0x5d, /* 118 => 93 via 183 (KEY_F13) */ + [0x77] = 0x5e, /* 119 => 94 via 184 (KEY_F14) */ + [0x78] = 0x5f, /* 120 => 95 via 185 (KEY_F15) */ + [0x79] = 0x55, /* 121 => 85 via 186 (KEY_F16) */ + [0x7a] = 0x103, /* 122 => 259 via 187 (KEY_F17) */ + [0x7e] = 0x59, /* 126 => 89 via 117 (KEY_KPEQUAL) */ + [0x85] = 0x7d, /* 133 => 125 via 124 (KEY_YEN) */ + [0xd0] = 0x70, /* 208 => 112 via 93 (KEY_KATAKANAHIRAGANA) */ +}; diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/win-usb-clerk.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/win-usb-clerk.h new file mode 100644 index 0000000..24da3b4 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/win-usb-clerk.h @@ -0,0 +1,36 @@ +#ifndef _H_USBCLERK +#define _H_USBCLERK + +#include <windows.h> + +#define USB_CLERK_PIPE_NAME TEXT("\\\\.\\pipe\\usbclerkpipe") +#define USB_CLERK_MAGIC 0xDADA +#define USB_CLERK_VERSION 0x0003 + +typedef struct USBClerkHeader { + UINT16 magic; + UINT16 version; + UINT16 type; + UINT16 size; +} USBClerkHeader; + +enum { + USB_CLERK_DRIVER_INSTALL = 1, + USB_CLERK_DRIVER_REMOVE, + USB_CLERK_REPLY, + USB_CLERK_DRIVER_SESSION_INSTALL, + USB_CLERK_END_MESSAGE, +}; + +typedef struct USBClerkDriverOp { + USBClerkHeader hdr; + UINT16 vid; + UINT16 pid; +} USBClerkDriverOp; + +typedef struct USBClerkReply { + USBClerkHeader hdr; + UINT32 status; +} USBClerkReply; + +#endif diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/win-usb-dev.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/win-usb-dev.c new file mode 100644 index 0000000..9c95ac4 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/win-usb-dev.c @@ -0,0 +1,540 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2012 Red Hat, Inc. + + Red Hat Authors: + Arnon Gilboa <agilboa@redhat.com> + Uri Lublin <uril@redhat.com> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <windows.h> +#include <libusb.h> +#include "win-usb-dev.h" +#include "spice-marshal.h" +#include "spice-util.h" +#include "usbutil.h" + +#define G_UDEV_CLIENT_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE((obj), G_UDEV_TYPE_CLIENT, GUdevClientPrivate)) + +struct _GUdevClientPrivate { + libusb_context *ctx; + gssize udev_list_size; + GList *udev_list; + HWND hwnd; +}; + +#define G_UDEV_CLIENT_WINCLASS_NAME TEXT("G_UDEV_CLIENT") + +static void g_udev_client_initable_iface_init(GInitableIface *iface); + +G_DEFINE_TYPE_WITH_CODE(GUdevClient, g_udev_client, G_TYPE_OBJECT, + G_IMPLEMENT_INTERFACE(G_TYPE_INITABLE, g_udev_client_initable_iface_init)); + + +typedef struct _GUdevDeviceInfo GUdevDeviceInfo; + +struct _GUdevDeviceInfo { + guint16 bus; + guint16 addr; + guint16 vid; + guint16 pid; + guint16 class; + gchar sclass[4]; + gchar sbus[4]; + gchar saddr[4]; + gchar svid[8]; + gchar spid[8]; +}; + +struct _GUdevDevicePrivate +{ + /* FixMe: move above fields to this structure and access them directly */ + GUdevDeviceInfo *udevinfo; +}; + +G_DEFINE_TYPE(GUdevDevice, g_udev_device, G_TYPE_OBJECT) + + +enum +{ + UEVENT_SIGNAL, + LAST_SIGNAL, +}; + +static guint signals[LAST_SIGNAL] = { 0, }; +static GUdevClient *singleton = NULL; + +static GUdevDevice *g_udev_device_new(GUdevDeviceInfo *udevinfo); +static LRESULT CALLBACK wnd_proc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam); +static gboolean get_usb_dev_info(libusb_device *dev, GUdevDeviceInfo *udevinfo); + +//uncomment to debug gudev device lists. +//#define DEBUG_GUDEV_DEVICE_LISTS + +#ifdef DEBUG_GUDEV_DEVICE_LISTS +static void g_udev_device_print_list(GList *l, const gchar *msg); +#else +static void g_udev_device_print_list(GList *l, const gchar *msg) {} +#endif +static void g_udev_device_print(GUdevDevice *udev, const gchar *msg); + +static gboolean g_udev_skip_search(GUdevDevice *udev); + +GQuark g_udev_client_error_quark(void) +{ + return g_quark_from_static_string("win-gudev-client-error-quark"); +} + +GUdevClient *g_udev_client_new(const gchar* const *subsystems) +{ + if (!singleton) { + singleton = g_initable_new(G_UDEV_TYPE_CLIENT, NULL, NULL, NULL); + return singleton; + } else { + return g_object_ref(singleton); + } +} + + +/* + * devs [in,out] an empty devs list in, full devs list out + * Returns: number-of-devices, or a negative value on error. + */ +static ssize_t +g_udev_client_list_devices(GUdevClient *self, GList **devs, + GError **err, const gchar *name) +{ + gssize rc; + libusb_device **lusb_list, **dev; + GUdevClientPrivate *priv; + GUdevDeviceInfo *udevinfo; + GUdevDevice *udevice; + ssize_t n; + + g_return_val_if_fail(G_UDEV_IS_CLIENT(self), -1); + g_return_val_if_fail(devs != NULL, -2); + + priv = self->priv; + + g_return_val_if_fail(self->priv->ctx != NULL, -3); + + rc = libusb_get_device_list(priv->ctx, &lusb_list); + if (rc < 0) { + const char *errstr = spice_usbutil_libusb_strerror(rc); + g_warning("%s: libusb_get_device_list failed", name); + g_set_error(err, G_UDEV_CLIENT_ERROR, G_UDEV_CLIENT_LIBUSB_FAILED, + "%s: Error getting device list from libusb: %s [%i]", + name, errstr, rc); + return -4; + } + + n = 0; + for (dev = lusb_list; *dev; dev++) { + udevinfo = g_new0(GUdevDeviceInfo, 1); + get_usb_dev_info(*dev, udevinfo); + udevice = g_udev_device_new(udevinfo); + if (g_udev_skip_search(udevice)) { + g_object_unref(udevice); + continue; + } + *devs = g_list_prepend(*devs, udevice); + n++; + } + libusb_free_device_list(lusb_list, 1); + + return n; +} + +static void g_udev_client_free_device_list(GList **devs) +{ + g_return_if_fail(devs != NULL); + if (*devs) { + g_list_free_full(*devs, g_object_unref); + *devs = NULL; + } +} + + +static gboolean +g_udev_client_initable_init(GInitable *initable, GCancellable *cancellable, + GError **err) +{ + GUdevClient *self; + GUdevClientPrivate *priv; + WNDCLASS wcls; + int rc; + + g_return_val_if_fail(G_UDEV_IS_CLIENT(initable), FALSE); + g_return_val_if_fail(cancellable == NULL, FALSE); + + self = G_UDEV_CLIENT(initable); + priv = self->priv; + + rc = libusb_init(&priv->ctx); + if (rc < 0) { + const char *errstr = spice_usbutil_libusb_strerror(rc); + g_warning("Error initializing USB support: %s [%i]", errstr, rc); + g_set_error(err, G_UDEV_CLIENT_ERROR, G_UDEV_CLIENT_LIBUSB_FAILED, + "Error initializing USB support: %s [%i]", errstr, rc); + return FALSE; + } + + /* get initial device list */ + priv->udev_list_size = g_udev_client_list_devices(self, &priv->udev_list, + err, __FUNCTION__); + if (priv->udev_list_size < 0) { + goto g_udev_client_init_failed; + } + + g_udev_device_print_list(priv->udev_list, "init: first list is: "); + + /* create a hidden window */ + memset(&wcls, 0, sizeof(wcls)); + wcls.lpfnWndProc = wnd_proc; + wcls.lpszClassName = G_UDEV_CLIENT_WINCLASS_NAME; + if (!RegisterClass(&wcls)) { + DWORD e = GetLastError(); + g_warning("RegisterClass failed , %ld", (long)e); + g_set_error(err, G_UDEV_CLIENT_ERROR, G_UDEV_CLIENT_WINAPI_FAILED, + "RegisterClass failed: %ld", (long)e); + goto g_udev_client_init_failed; + } + priv->hwnd = CreateWindow(G_UDEV_CLIENT_WINCLASS_NAME, + NULL, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL); + if (!priv->hwnd) { + DWORD e = GetLastError(); + g_warning("CreateWindow failed: %ld", (long)e); + g_set_error(err, G_UDEV_CLIENT_ERROR, G_UDEV_CLIENT_LIBUSB_FAILED, + "CreateWindow failed: %ld", (long)e); + goto g_udev_client_init_failed_unreg; + } + + return TRUE; + + g_udev_client_init_failed_unreg: + UnregisterClass(G_UDEV_CLIENT_WINCLASS_NAME, NULL); + g_udev_client_init_failed: + libusb_exit(priv->ctx); + priv->ctx = NULL; + + return FALSE; +} + +static void g_udev_client_initable_iface_init(GInitableIface *iface) +{ + iface->init = g_udev_client_initable_init; +} + +GList *g_udev_client_query_by_subsystem(GUdevClient *self, const gchar *subsystem) +{ + GList *l = g_list_copy(self->priv->udev_list); + g_list_foreach(l, (GFunc)g_object_ref, NULL); + return l; +} + +static void g_udev_client_init(GUdevClient *self) +{ + self->priv = G_UDEV_CLIENT_GET_PRIVATE(self); +} + +static void g_udev_client_finalize(GObject *gobject) +{ + GUdevClient *self = G_UDEV_CLIENT(gobject); + GUdevClientPrivate *priv = self->priv; + + singleton = NULL; + DestroyWindow(priv->hwnd); + UnregisterClass(G_UDEV_CLIENT_WINCLASS_NAME, NULL); + g_udev_client_free_device_list(&priv->udev_list); + + /* free libusb context initializing by libusb_init() */ + g_warn_if_fail(priv->ctx != NULL); + libusb_exit(priv->ctx); + + /* Chain up to the parent class */ + if (G_OBJECT_CLASS(g_udev_client_parent_class)->finalize) + G_OBJECT_CLASS(g_udev_client_parent_class)->finalize(gobject); +} + +static void g_udev_client_class_init(GUdevClientClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS(klass); + + gobject_class->finalize = g_udev_client_finalize; + + signals[UEVENT_SIGNAL] = + g_signal_new("uevent", + G_OBJECT_CLASS_TYPE(klass), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(GUdevClientClass, uevent), + NULL, NULL, + g_cclosure_user_marshal_VOID__BOXED_BOXED, + G_TYPE_NONE, + 2, + G_TYPE_STRING, + G_UDEV_TYPE_DEVICE); + + g_type_class_add_private(klass, sizeof(GUdevClientPrivate)); +} + +static gboolean get_usb_dev_info(libusb_device *dev, GUdevDeviceInfo *udevinfo) +{ + struct libusb_device_descriptor desc; + + g_return_val_if_fail(dev, FALSE); + g_return_val_if_fail(udevinfo, FALSE); + + if (libusb_get_device_descriptor(dev, &desc) < 0) { + g_warning("cannot get device descriptor %p", dev); + return FALSE; + } + + udevinfo->bus = libusb_get_bus_number(dev); + udevinfo->addr = libusb_get_device_address(dev); + udevinfo->class = desc.bDeviceClass; + udevinfo->vid = desc.idVendor; + udevinfo->pid = desc.idProduct; + snprintf(udevinfo->sclass, sizeof(udevinfo->sclass), "%d", udevinfo->class); + snprintf(udevinfo->sbus, sizeof(udevinfo->sbus), "%d", udevinfo->bus); + snprintf(udevinfo->saddr, sizeof(udevinfo->saddr), "%d", udevinfo->addr); + snprintf(udevinfo->svid, sizeof(udevinfo->svid), "%d", udevinfo->vid); + snprintf(udevinfo->spid, sizeof(udevinfo->spid), "%d", udevinfo->pid); + return TRUE; +} + +/* Only vid:pid are compared */ +static gboolean gudev_devices_are_equal(GUdevDevice *a, GUdevDevice *b) +{ + GUdevDeviceInfo *ai, *bi; + gboolean same_vid; + gboolean same_pid; + + ai = a->priv->udevinfo; + bi = b->priv->udevinfo; + + same_vid = (ai->vid == bi->vid); + same_pid = (ai->pid == bi->pid); + + return (same_pid && same_vid); +} + + +/* Assumes each event stands for a single device change (at most) */ +static void handle_dev_change(GUdevClient *self) +{ + GUdevClientPrivate *priv = self->priv; + GUdevDevice *changed_dev = NULL; + ssize_t dev_count; + int is_dev_change; + GError *err; + GList *now_devs = NULL; + GList *llist, *slist; /* long-list and short-list*/ + GList *lit, *sit; /* iterators for long-list and short-list */ + GUdevDevice *ldev, *sdev; /* devices on long-list and short-list */ + + dev_count = g_udev_client_list_devices(self, &now_devs, &err, + __FUNCTION__); + g_return_if_fail(dev_count >= 0); + + SPICE_DEBUG("number of current devices %d, I know about %d devices", + dev_count, priv->udev_list_size); + + is_dev_change = dev_count - priv->udev_list_size; + if (is_dev_change == 0) { + g_udev_client_free_device_list(&now_devs); + return; + } + + if (is_dev_change > 0) { + llist = now_devs; + slist = priv->udev_list; + } else { + llist = priv->udev_list; + slist = now_devs; + } + + g_udev_device_print_list(llist, "handle_dev_change: long list:"); + g_udev_device_print_list(slist, "handle_dev_change: short list:"); + + /* Go over the longer list */ + for (lit = g_list_first(llist); lit != NULL; lit=g_list_next(lit)) { + ldev = lit->data; + /* Look for dev in the shorther list */ + for (sit = g_list_first(slist); sit != NULL; sit=g_list_next(sit)) { + sdev = sit->data; + if (gudev_devices_are_equal(ldev, sdev)) + break; + } + if (sit == NULL) { + /* Found a device which appears only in the longer list */ + changed_dev = ldev; + break; + } + } + + if (!changed_dev) { + g_warning("couldn't find any device change"); + goto leave; + } + + if (is_dev_change > 0) { + g_udev_device_print(changed_dev, ">>> USB device inserted"); + g_signal_emit(self, signals[UEVENT_SIGNAL], 0, "add", changed_dev); + } else { + g_udev_device_print(changed_dev, "<<< USB device removed"); + g_signal_emit(self, signals[UEVENT_SIGNAL], 0, "remove", changed_dev); + } + +leave: + /* keep most recent info: free previous list, and keep current list */ + g_udev_client_free_device_list(&priv->udev_list); + priv->udev_list = now_devs; + priv->udev_list_size = dev_count; +} + +static LRESULT CALLBACK wnd_proc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam) +{ + /* Only DBT_DEVNODES_CHANGED recieved */ + if (message == WM_DEVICECHANGE) { + handle_dev_change(singleton); + } + return DefWindowProc(hwnd, message, wparam, lparam); +} + +/*** GUdevDevice ***/ + +static void g_udev_device_finalize(GObject *object) +{ + GUdevDevice *device = G_UDEV_DEVICE(object); + + g_free(device->priv->udevinfo); + if (G_OBJECT_CLASS(g_udev_device_parent_class)->finalize != NULL) + (* G_OBJECT_CLASS(g_udev_device_parent_class)->finalize)(object); +} + +static void g_udev_device_class_init(GUdevDeviceClass *klass) +{ + GObjectClass *gobject_class = (GObjectClass *) klass; + + gobject_class->finalize = g_udev_device_finalize; + g_type_class_add_private (klass, sizeof(GUdevDevicePrivate)); +} + +static void g_udev_device_init(GUdevDevice *device) +{ + device->priv = G_TYPE_INSTANCE_GET_PRIVATE(device, G_UDEV_TYPE_DEVICE, GUdevDevicePrivate); +} + +static GUdevDevice *g_udev_device_new(GUdevDeviceInfo *udevinfo) +{ + GUdevDevice *device; + + g_return_val_if_fail(udevinfo != NULL, NULL); + + device = G_UDEV_DEVICE(g_object_new(G_UDEV_TYPE_DEVICE, NULL)); + device->priv->udevinfo = udevinfo; + return device; +} + +const gchar *g_udev_device_get_property(GUdevDevice *udev, const gchar *property) +{ + GUdevDeviceInfo* udevinfo; + + g_return_val_if_fail(G_UDEV_DEVICE(udev), NULL); + g_return_val_if_fail(property != NULL, NULL); + + udevinfo = udev->priv->udevinfo; + g_return_val_if_fail(udevinfo != NULL, NULL); + + if (g_strcmp0(property, "BUSNUM") == 0) { + return udevinfo->sbus; + } else if (g_strcmp0(property, "DEVNUM") == 0) { + return udevinfo->saddr; + } else if (g_strcmp0(property, "DEVTYPE") == 0) { + return "usb_device"; + } else if (g_strcmp0(property, "VID") == 0) { + return udevinfo->svid; + } else if (g_strcmp0(property, "PID") == 0) { + return udevinfo->spid; + } + + g_warn_if_reached(); + return NULL; +} + +const gchar *g_udev_device_get_sysfs_attr(GUdevDevice *udev, const gchar *attr) +{ + GUdevDeviceInfo* udevinfo; + + g_return_val_if_fail(G_UDEV_DEVICE(udev), NULL); + g_return_val_if_fail(attr != NULL, NULL); + + udevinfo = udev->priv->udevinfo; + g_return_val_if_fail(udevinfo != NULL, NULL); + + + if (g_strcmp0(attr, "bDeviceClass") == 0) { + return udevinfo->sclass; + } + g_warn_if_reached(); + return NULL; +} + +#ifdef DEBUG_GUDEV_DEVICE_LISTS +static void g_udev_device_print_list(GList *l, const gchar *msg) +{ + GList *it; + + for (it = g_list_first(l); it != NULL; it=g_list_next(it)) { + g_udev_device_print(it->data, msg); + } +} +#endif + +static void g_udev_device_print(GUdevDevice *udev, const gchar *msg) +{ + GUdevDeviceInfo* udevinfo; + + g_return_if_fail(G_UDEV_DEVICE(udev)); + + udevinfo = udev->priv->udevinfo; + g_return_if_fail(udevinfo != NULL); + + SPICE_DEBUG("%s: %d.%d 0x%04x:0x%04x class %d", msg, + udevinfo->bus, udevinfo->addr, + udevinfo->vid, udevinfo->pid, udevinfo->class); +} + +static gboolean g_udev_skip_search(GUdevDevice *udev) +{ + GUdevDeviceInfo* udevinfo; + gboolean skip; + + g_return_val_if_fail(G_UDEV_DEVICE(udev), FALSE); + + udevinfo = udev->priv->udevinfo; + g_return_val_if_fail(udevinfo != NULL, FALSE); + + skip = ((udevinfo->addr == 0xff) || /* root hub (HCD) */ + (udevinfo->class == LIBUSB_CLASS_HUB) || /* hub*/ + (udevinfo->addr == 0)); /* bad address */ + return skip; +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/win-usb-dev.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/win-usb-dev.h new file mode 100644 index 0000000..b5c4fce --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/win-usb-dev.h @@ -0,0 +1,110 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2012 Red Hat, Inc. + + Red Hat Authors: + Arnon Gilboa <agilboa@redhat.com> + Uri Lublin <uril@redhat.com> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifndef __WIN_USB_DEV_H__ +#define __WIN_USB_DEV_H__ + +#include <gtk/gtk.h> + +G_BEGIN_DECLS + +/* GUdevDevice */ + +#define G_UDEV_TYPE_DEVICE (g_udev_device_get_type()) +#define G_UDEV_DEVICE(o) (G_TYPE_CHECK_INSTANCE_CAST((o), G_UDEV_TYPE_DEVICE, GUdevDevice)) +#define G_UDEV_DEVICE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_UDEV_TYPE_DEVICE, GUdevDeviceClass)) +#define G_UDEV_IS_DEVICE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_UDEV_TYPE_DEVICE)) +#define G_UDEV_IS_DEVICE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE((k), G_UDEV_TYPE_DEVICE)) +#define G_UDEV_DEVICE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS((o), G_UDEV_TYPE_DEVICE, GUdevDeviceClass)) + +typedef struct _GUdevDevice GUdevDevice; +typedef struct _GUdevDeviceClass GUdevDeviceClass; +typedef struct _GUdevDevicePrivate GUdevDevicePrivate; + +struct _GUdevDevice +{ + GObject parent; + GUdevDevicePrivate *priv; +}; + +struct _GUdevDeviceClass +{ + GObjectClass parent_class; +}; + +/* GUdevClient */ + +#define G_UDEV_TYPE_CLIENT (g_udev_client_get_type()) +#define G_UDEV_CLIENT(o) (G_TYPE_CHECK_INSTANCE_CAST((o), G_UDEV_TYPE_CLIENT, GUdevClient)) +#define G_UDEV_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_UDEV_TYPE_CLIENT, GUdevClientClass)) +#define G_UDEV_IS_CLIENT(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), G_UDEV_TYPE_CLIENT)) +#define G_UDEV_IS_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE((k), G_UDEV_TYPE_CLIENT)) +#define G_UDEV_CLIENT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS((o), G_UDEV_TYPE_CLIENT, GUdevClientClass)) + +typedef struct _GUdevClient GUdevClient; +typedef struct _GUdevClientClass GUdevClientClass; +typedef struct _GUdevClientPrivate GUdevClientPrivate; + +struct _GUdevClient +{ + GObject parent; + + GUdevClientPrivate *priv; +}; + +struct _GUdevClientClass +{ + GObjectClass parent_class; + + /* signals */ + void (*uevent)(GUdevClient *client, const gchar *action, GUdevDevice *device); +}; + +GType g_udev_client_get_type(void) G_GNUC_CONST; +GUdevClient *g_udev_client_new(const gchar* const *subsystems); +GList *g_udev_client_query_by_subsystem(GUdevClient *client, const gchar *subsystem); + +GType g_udev_device_get_type(void) G_GNUC_CONST; +const gchar *g_udev_device_get_property(GUdevDevice *udev, const gchar *property); +const gchar *g_udev_device_get_sysfs_attr(GUdevDevice *udev, const gchar *attr); + +GQuark g_udev_client_error_quark(void); +#define G_UDEV_CLIENT_ERROR g_udev_client_error_quark() + +/** + * GUdevClientError: + * @G_UDEV_CLIENT_ERROR_FAILED: generic error code + * @G_UDEV_CLIENT_LIBUSB_FAILED: a libusb call failed + * @G_UDEV_CLIENT_WINAPI_FAILED: a winapi call failed + * + * Error codes returned by spice-client API. + */ +typedef enum +{ + G_UDEV_CLIENT_ERROR_FAILED = 1, + G_UDEV_CLIENT_LIBUSB_FAILED, + G_UDEV_CLIENT_WINAPI_FAILED +} GUdevClientError; + + +G_END_DECLS + +#endif /* __WIN_USB_DEV_H__ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/win-usb-driver-install.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/win-usb-driver-install.c new file mode 100644 index 0000000..1d68296 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/win-usb-driver-install.c @@ -0,0 +1,395 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2011 Red Hat, Inc. + + Red Hat Authors: + Uri Lublin <uril@redhat.com> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +/* + * Some notes: + * Each installer (instance) opens a named-pipe to talk with win-usb-clerk. + * Each installer (instance) requests driver installation for a single device. + */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <windows.h> +#include <gio/gio.h> +#include <gio/gwin32inputstream.h> +#include <gio/gwin32outputstream.h> +#include "spice-util.h" +#include "win-usb-clerk.h" +#include "win-usb-driver-install.h" +#include "usb-device-manager-priv.h" + +/* ------------------------------------------------------------------ */ +/* gobject glue */ + +#define SPICE_WIN_USB_DRIVER_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE ((obj), SPICE_TYPE_WIN_USB_DRIVER, SpiceWinUsbDriverPrivate)) + +struct _SpiceWinUsbDriverPrivate { + USBClerkReply reply; + GSimpleAsyncResult *result; + GCancellable *cancellable; + HANDLE handle; + SpiceUsbDevice *device; +}; + + + +G_DEFINE_TYPE(SpiceWinUsbDriver, spice_win_usb_driver, G_TYPE_OBJECT); + +static void spice_win_usb_driver_init(SpiceWinUsbDriver *self) +{ + self->priv = SPICE_WIN_USB_DRIVER_GET_PRIVATE(self); +} + +static void spice_win_usb_driver_close(SpiceWinUsbDriver *self) +{ + if (self->priv->handle) { + CloseHandle(self->priv->handle); + self->priv->handle = 0; + } +} + +static void spice_win_usb_driver_finalize(GObject *gobject) +{ + SpiceWinUsbDriver *self = SPICE_WIN_USB_DRIVER(gobject); + SpiceWinUsbDriverPrivate *priv = self->priv; + + spice_win_usb_driver_close(self); + g_clear_object(&priv->result); +} + +static void spice_win_usb_driver_class_init(SpiceWinUsbDriverClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS (klass); + + gobject_class->finalize = spice_win_usb_driver_finalize; + + g_type_class_add_private(klass, sizeof(SpiceWinUsbDriverPrivate)); +} + +/* ------------------------------------------------------------------ */ +/* callbacks */ + +void win_usb_driver_handle_reply_cb(GObject *gobject, + GAsyncResult *read_res, + gpointer user_data) +{ + SpiceWinUsbDriver *self; + SpiceWinUsbDriverPrivate *priv; + + GInputStream *istream; + GError *err = NULL; + gssize bytes; + + g_return_if_fail(SPICE_IS_WIN_USB_DRIVER(user_data)); + self = SPICE_WIN_USB_DRIVER(user_data); + priv = self->priv; + istream = G_INPUT_STREAM(gobject); + + bytes = g_input_stream_read_finish(istream, read_res, &err); + + SPICE_DEBUG("Finished reading reply-msg from usbclerk: bytes=%ld " + "err_exist?=%d", (long)bytes, err!=NULL); + + g_warn_if_fail(g_input_stream_close(istream, NULL, NULL)); + g_clear_object(&istream); + + if (err) { + g_warning("failed to read reply from usbclerk (%s)", err->message); + g_simple_async_result_take_error(priv->result, err); + goto failed_reply; + } + + if (bytes == 0) { + g_warning("unexpected EOF from usbclerk"); + g_simple_async_result_set_error(priv->result, + SPICE_WIN_USB_DRIVER_ERROR, + SPICE_WIN_USB_DRIVER_ERROR_FAILED, + "unexpected EOF from usbclerk"); + goto failed_reply; + } + + if (bytes != sizeof(priv->reply)) { + g_warning("usbclerk size mismatch: read %d bytes, expected %d (header %d, size in header %d)", + bytes, sizeof(priv->reply), sizeof(priv->reply.hdr), priv->reply.hdr.size); + /* For now just warn, do not fail */ + } + + if (priv->reply.hdr.magic != USB_CLERK_MAGIC) { + g_warning("usbclerk magic mismatch: mine=0x%04x server=0x%04x", + USB_CLERK_MAGIC, priv->reply.hdr.magic); + g_simple_async_result_set_error(priv->result, + SPICE_WIN_USB_DRIVER_ERROR, + SPICE_WIN_USB_DRIVER_ERROR_MESSAGE, + "usbclerk magic mismatch"); + goto failed_reply; + } + + if (priv->reply.hdr.version != USB_CLERK_VERSION) { + g_warning("usbclerk version mismatch: mine=0x%04x server=0x%04x", + USB_CLERK_VERSION, priv->reply.hdr.version); + g_simple_async_result_set_error(priv->result, + SPICE_WIN_USB_DRIVER_ERROR, + SPICE_WIN_USB_DRIVER_ERROR_MESSAGE, + "usbclerk version mismatch"); + } + + if (priv->reply.hdr.type != USB_CLERK_REPLY) { + g_warning("usbclerk message with unexpected type %d", + priv->reply.hdr.type); + g_simple_async_result_set_error(priv->result, + SPICE_WIN_USB_DRIVER_ERROR, + SPICE_WIN_USB_DRIVER_ERROR_MESSAGE, + "usbclerk message with unexpected type"); + goto failed_reply; + } + + if (priv->reply.hdr.size != bytes) { + g_warning("usbclerk message size mismatch: read %d bytes hdr.size=%d", + bytes, priv->reply.hdr.size); + g_simple_async_result_set_error(priv->result, + SPICE_WIN_USB_DRIVER_ERROR, + SPICE_WIN_USB_DRIVER_ERROR_MESSAGE, + "usbclerk message with unexpected size"); + goto failed_reply; + } + + failed_reply: + g_simple_async_result_complete_in_idle(priv->result); + g_clear_object(&priv->result); +} + +/* ------------------------------------------------------------------ */ +/* helper functions */ + +static +gboolean spice_win_usb_driver_send_request(SpiceWinUsbDriver *self, guint16 op, + guint16 vid, guint16 pid, GError **err) +{ + USBClerkDriverOp req; + GOutputStream *ostream; + SpiceWinUsbDriverPrivate *priv; + gsize bytes; + gboolean ret; + + SPICE_DEBUG("sending a request to usbclerk service (op=%d vid=0x%04x pid=0x%04x", + op, vid, pid); + + g_return_val_if_fail(SPICE_IS_WIN_USB_DRIVER(self), FALSE); + priv = self->priv; + + memset(&req, 0, sizeof(req)); + req.hdr.magic = USB_CLERK_MAGIC; + req.hdr.version = USB_CLERK_VERSION; + req.hdr.type = op; + req.hdr.size = sizeof(req); + req.vid = vid; + req.pid = pid; + + ostream = g_win32_output_stream_new(priv->handle, FALSE); + + ret = g_output_stream_write_all(ostream, &req, sizeof(req), &bytes, NULL, err); + g_warn_if_fail(g_output_stream_close(ostream, NULL, NULL)); + g_object_unref(ostream); + SPICE_DEBUG("write_all request returned %d written bytes %u expecting %u", + ret, bytes, sizeof(req)); + return ret; +} + +static +void spice_win_usb_driver_read_reply_async(SpiceWinUsbDriver *self) +{ + SpiceWinUsbDriverPrivate *priv; + GInputStream *istream; + + g_return_if_fail(SPICE_IS_WIN_USB_DRIVER(self)); + priv = self->priv; + + SPICE_DEBUG("waiting for a reply from usbclerk"); + + istream = g_win32_input_stream_new(priv->handle, FALSE); + + g_input_stream_read_async(istream, &priv->reply, sizeof(priv->reply), + G_PRIORITY_DEFAULT, priv->cancellable, + win_usb_driver_handle_reply_cb, self); +} + + +/* ------------------------------------------------------------------ */ +/* private api */ + + +G_GNUC_INTERNAL +SpiceWinUsbDriver *spice_win_usb_driver_new(void) +{ + GObject *obj; + + obj = g_object_new(SPICE_TYPE_WIN_USB_DRIVER, NULL); + + return SPICE_WIN_USB_DRIVER(obj); +} + +static +void spice_win_usb_driver_op(SpiceWinUsbDriver *self, + SpiceUsbDevice *device, + guint16 op_type, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + guint16 vid, pid; + GError *err = NULL; + GSimpleAsyncResult *result; + SpiceWinUsbDriverPrivate *priv; + + g_return_if_fail(SPICE_IS_WIN_USB_DRIVER(self)); + g_return_if_fail(device != NULL); + + priv = self->priv; + + result = g_simple_async_result_new(G_OBJECT(self), callback, user_data, + spice_win_usb_driver_op); + + if (priv->result) { /* allow one install/uninstall request at a time */ + g_warning("Another request exists -- try later"); + g_simple_async_result_set_error(result, + SPICE_WIN_USB_DRIVER_ERROR, SPICE_WIN_USB_DRIVER_ERROR_FAILED, + "Another request exists -- try later"); + goto failed_request; + } + + + vid = spice_usb_device_get_vid(device); + pid = spice_usb_device_get_pid(device); + + if (! priv->handle ) { + SPICE_DEBUG("win-usb-driver-install: connecting to usbclerk named pipe"); + priv->handle = CreateFile(USB_CLERK_PIPE_NAME, + GENERIC_READ | GENERIC_WRITE, + 0, NULL, + OPEN_EXISTING, + FILE_ATTRIBUTE_NORMAL | FILE_FLAG_OVERLAPPED, + NULL); + if (priv->handle == INVALID_HANDLE_VALUE) { + DWORD errval = GetLastError(); + gchar *errstr = g_win32_error_message(errval); + g_warning("failed to create a named pipe to usbclerk (%ld) %s", + errval,errstr); + g_simple_async_result_set_error(result, + G_IO_ERROR, G_IO_ERROR_FAILED, + "Failed to create named pipe (%ld) %s", errval, errstr); + goto failed_request; + } + } + + if (!spice_win_usb_driver_send_request(self, op_type, + vid, pid, &err)) { + g_warning("failed to send a request to usbclerk %s", err->message); + g_simple_async_result_take_error(result, err); + goto failed_request; + } + + /* set up for async read */ + priv->result = result; + priv->device = device; + priv->cancellable = cancellable; + + spice_win_usb_driver_read_reply_async(self); + + return; + + failed_request: + g_simple_async_result_complete_in_idle(result); + g_clear_object(&result); +} + + + +/** + * spice_win_usb_driver_install: + * Start libusb driver installation for @device + * + * A new NamedPipe is created for each request. + * + * Returns: TRUE if a request was sent to usbclerk + * FALSE upon failure to send a request. + */ +G_GNUC_INTERNAL +void spice_win_usb_driver_install(SpiceWinUsbDriver *self, + SpiceUsbDevice *device, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + SPICE_DEBUG("Win usb driver installation started"); + + spice_win_usb_driver_op(self, device, USB_CLERK_DRIVER_SESSION_INSTALL, + cancellable, callback, user_data); +} + +G_GNUC_INTERNAL +void spice_win_usb_driver_uninstall(SpiceWinUsbDriver *self, + SpiceUsbDevice *device, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + SPICE_DEBUG("Win usb driver uninstall operation started"); + + spice_win_usb_driver_op(self, device, USB_CLERK_DRIVER_REMOVE, cancellable, + callback, user_data); +} + + +/** + * Returns: currently returns 0 (failure) and 1 (success) + * possibly later we'll add error-codes + */ +G_GNUC_INTERNAL +gint spice_win_usb_driver_install_finish(SpiceWinUsbDriver *self, + GAsyncResult *res, GError **err) +{ + GSimpleAsyncResult *result = G_SIMPLE_ASYNC_RESULT(res); + + g_return_val_if_fail(SPICE_IS_WIN_USB_DRIVER(self), 0); + g_return_val_if_fail(g_simple_async_result_is_valid(res, G_OBJECT(self), + spice_win_usb_driver_op), + FALSE); + if (g_simple_async_result_propagate_error(result, err)) + return 0; + + return self->priv->reply.status; +} + +G_GNUC_INTERNAL +SpiceUsbDevice *spice_win_usb_driver_get_device(SpiceWinUsbDriver *self) +{ + g_return_val_if_fail(SPICE_IS_WIN_USB_DRIVER(self), 0); + + return self->priv->device; +} + +GQuark spice_win_usb_driver_error_quark(void) +{ + return g_quark_from_static_string("spice-win-usb-driver-error-quark"); +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/win-usb-driver-install.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/win-usb-driver-install.h new file mode 100644 index 0000000..034abf9 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/win-usb-driver-install.h @@ -0,0 +1,104 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2011 Red Hat, Inc. + + Red Hat Authors: + Uri Lublin <uril@redhat.com> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef SPICE_WIN_USB_DRIVER_H +#define SPICE_WIN_USB_DRIVER_H + +#include "usb-device-manager.h" + +G_BEGIN_DECLS + +GQuark win_usb_driver_error_quark(void); + + +#define SPICE_TYPE_WIN_USB_DRIVER (spice_win_usb_driver_get_type ()) +#define SPICE_WIN_USB_DRIVER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), \ + SPICE_TYPE_WIN_USB_DRIVER, SpiceWinUsbDriver)) +#define SPICE_IS_WIN_USB_DRIVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \ + SPICE_TYPE_WIN_USB_DRIVER)) +#define SPICE_WIN_USB_DRIVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), \ + SPICE_TYPE_WIN_USB_DRIVER, SpiceWinUsbDriverClass)) +#define SPICE_IS_WIN_USB_DRIVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),\ + SPICE_TYPE_WIN_USB_DRIVER)) +#define SPICE_WIN_USB_DRIVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),\ + SPICE_TYPE_WIN_USB_DRIVER, SpiceWinUsbDriverClass)) + +typedef struct _SpiceWinUsbDriver SpiceWinUsbDriver; +typedef struct _SpiceWinUsbDriverClass SpiceWinUsbDriverClass; +typedef struct _SpiceWinUsbDriverPrivate SpiceWinUsbDriverPrivate; + +struct _SpiceWinUsbDriver +{ + GObject parent; + + /*< private >*/ + SpiceWinUsbDriverPrivate *priv; + /* Do not add fields to this struct */ +}; + +struct _SpiceWinUsbDriverClass +{ + GObjectClass parent_class; +}; + +GType spice_win_usb_driver_get_type(void); + +SpiceWinUsbDriver *spice_win_usb_driver_new(void); + + +void spice_win_usb_driver_install(SpiceWinUsbDriver *self, + SpiceUsbDevice *device, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +void spice_win_usb_driver_uninstall(SpiceWinUsbDriver *self, + SpiceUsbDevice *device, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gint spice_win_usb_driver_install_finish(SpiceWinUsbDriver *self, + GAsyncResult *res, GError **err); + + +SpiceUsbDevice *spice_win_usb_driver_get_device(SpiceWinUsbDriver *self); + +#define SPICE_WIN_USB_DRIVER_ERROR spice_win_usb_driver_error_quark() + +/** + * SpiceWinUsbDriverError: + * @SPICE_WIN_USB_DRIVER_ERROR_FAILED: generic error code + * @SPICE_WIN_USB_DRIVER_ERROR_MESSAGE: bad message read from clerk + * + * Error codes returned by spice-client API. + */ +typedef enum +{ + SPICE_WIN_USB_DRIVER_ERROR_FAILED, + SPICE_WIN_USB_DRIVER_ERROR_MESSAGE, +} SpiceWinUsbDriverError; + +GQuark spice_win_usb_driver_error_quark(void); + +G_END_DECLS + +#endif /* SPICE_WIN_USB_DRIVER_H */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/wocky-http-proxy.c b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/wocky-http-proxy.c new file mode 100644 index 0000000..639cfb0 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/wocky-http-proxy.c @@ -0,0 +1,429 @@ + /* wocky-http-proxy.c: Source for WockyHttpProxy + * + * Copyright (C) 2010 Collabora, Ltd. + * @author Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#include "config.h" + +#include "wocky-http-proxy.h" + +#include <string.h> +#include <stdlib.h> + + +struct _WockyHttpProxy +{ + GObject parent; +}; + +struct _WockyHttpProxyClass +{ + GObjectClass parent_class; +}; + +static void wocky_http_proxy_iface_init (GProxyInterface *proxy_iface); + +#define wocky_http_proxy_get_type _wocky_http_proxy_get_type +G_DEFINE_TYPE_WITH_CODE (WockyHttpProxy, wocky_http_proxy, G_TYPE_OBJECT, + G_IMPLEMENT_INTERFACE (G_TYPE_PROXY, + wocky_http_proxy_iface_init) + g_io_extension_point_set_required_type ( + g_io_extension_point_register (G_PROXY_EXTENSION_POINT_NAME), + G_TYPE_PROXY); + g_io_extension_point_implement (G_PROXY_EXTENSION_POINT_NAME, + g_define_type_id, "http", 0)) + +static void +wocky_http_proxy_init (WockyHttpProxy *proxy) +{ +} + +#define HTTP_END_MARKER "\r\n\r\n" + +static gchar * +create_request (GProxyAddress *proxy_address, gboolean *has_cred) +{ + const gchar *hostname; + gint port; + const gchar *username; + const gchar *password; + GString *request; + gchar *ascii_hostname; + + if (has_cred) + *has_cred = FALSE; + + hostname = g_proxy_address_get_destination_hostname (proxy_address); + port = g_proxy_address_get_destination_port (proxy_address); + username = g_proxy_address_get_username (proxy_address); + password = g_proxy_address_get_password (proxy_address); + + request = g_string_new (NULL); + + ascii_hostname = g_hostname_to_ascii (hostname); + g_string_append_printf (request, + "CONNECT %s:%i HTTP/1.0\r\n" + "Host: %s:%i\r\n" + "Proxy-Connection: keep-alive\r\n" + "User-Agent: GLib/%i.%i\r\n", + ascii_hostname, port, + ascii_hostname, port, + GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION); + g_free (ascii_hostname); + + if (username != NULL && password != NULL) + { + gchar *cred; + gchar *base64_cred; + + if (has_cred) + *has_cred = TRUE; + + cred = g_strdup_printf ("%s:%s", username, password); + base64_cred = g_base64_encode ((guchar *) cred, strlen (cred)); + g_free (cred); + g_string_append_printf (request, + "Proxy-Authorization: %s\r\n", + base64_cred); + g_free (base64_cred); + } + + g_string_append (request, "\r\n"); + + return g_string_free (request, FALSE); +} + +static gboolean +check_reply (const gchar *buffer, gboolean has_cred, GError **error) +{ + gint err_code; + const gchar *ptr = buffer + 7; + + if (strncmp (buffer, "HTTP/1.", 7) != 0 + || (*ptr != '0' && *ptr != '1')) + { + g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_PROXY_FAILED, + "Bad HTTP proxy reply"); + return FALSE; + } + + ptr++; + while (*ptr == ' ') ptr++; + + err_code = atoi (ptr); + + if (err_code < 200 || err_code >= 300) + { + const gchar *msg_start; + gchar *msg; + + while (g_ascii_isdigit (*ptr)) + ptr++; + + while (*ptr == ' ') + ptr++; + + msg_start = ptr; + + ptr = strchr (msg_start, '\r'); + + if (ptr == NULL) + ptr = strchr (msg_start, '\0'); + + msg = g_strndup (msg_start, ptr - msg_start); + + if (err_code == 407) + { + if (has_cred) + g_set_error (error, G_IO_ERROR, G_IO_ERROR_PROXY_AUTH_FAILED, + "HTTP proxy authentication failed"); + else + g_set_error (error, G_IO_ERROR, G_IO_ERROR_PROXY_NEED_AUTH, + "HTTP proxy authentication required"); + } + else if (msg[0] == '\0') + g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_PROXY_FAILED, + "Connection failed due to broken HTTP reply"); + else + g_set_error (error, G_IO_ERROR, G_IO_ERROR_PROXY_FAILED, + "HTTP proxy connection failed: %i %s", + err_code, msg); + + g_free (msg); + return FALSE; + } + + return TRUE; +} + +static GIOStream * +wocky_http_proxy_connect (GProxy *proxy, + GIOStream *io_stream, + GProxyAddress *proxy_address, + GCancellable *cancellable, + GError **error) +{ + GInputStream *in; + GOutputStream *out; + GDataInputStream *data_in; + gchar *buffer; + gboolean has_cred; + + in = g_io_stream_get_input_stream (io_stream); + out = g_io_stream_get_output_stream (io_stream); + + data_in = g_data_input_stream_new (in); + g_filter_input_stream_set_close_base_stream (G_FILTER_INPUT_STREAM (data_in), + FALSE); + + buffer = create_request (proxy_address, &has_cred); + if (!g_output_stream_write_all (out, buffer, strlen (buffer), NULL, + cancellable, error)) + goto error; + + g_free (buffer); + buffer = g_data_input_stream_read_until (data_in, HTTP_END_MARKER, NULL, + cancellable, error); + g_object_unref (data_in); + data_in = NULL; + + if (buffer == NULL) + { + if (error && (*error == NULL)) + g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_PROXY_FAILED, + "HTTP proxy server closed connection unexpectedly."); + goto error; + } + + if (!check_reply (buffer, has_cred, error)) + goto error; + + g_free (buffer); + + return g_object_ref (io_stream); + +error: + if (data_in != NULL) + g_object_unref (data_in); + + g_free (buffer); + return NULL; +} + + +typedef struct +{ + GSimpleAsyncResult *simple; + GIOStream *io_stream; + gchar *buffer; + gssize length; + gssize offset; + GDataInputStream *data_in; + gboolean has_cred; + GCancellable *cancellable; +} ConnectAsyncData; + +static void request_write_cb (GObject *source, + GAsyncResult *res, + gpointer user_data); +static void reply_read_cb (GObject *source, + GAsyncResult *res, + gpointer user_data); + +static void +free_connect_data (ConnectAsyncData *data) +{ + if (data->io_stream != NULL) + g_object_unref (data->io_stream); + + g_free (data->buffer); + + if (data->data_in != NULL) + g_object_unref (data->data_in); + + if (data->cancellable != NULL) + g_object_unref (data->cancellable); + + g_slice_free (ConnectAsyncData, data); +} + +static void +complete_async_from_error (ConnectAsyncData *data, GError *error) +{ + GSimpleAsyncResult *simple = data->simple; + + if (error == NULL) + g_set_error_literal (&error, G_IO_ERROR, G_IO_ERROR_PROXY_FAILED, + "HTTP proxy server closed connection unexpectedly."); + + g_simple_async_result_set_from_error (data->simple, error); + g_error_free (error); + g_simple_async_result_set_op_res_gpointer (simple, NULL, NULL); + g_simple_async_result_complete (simple); + g_object_unref (simple); +} + +static void +do_write (GAsyncReadyCallback callback, ConnectAsyncData *data) +{ + GOutputStream *out; + out = g_io_stream_get_output_stream (data->io_stream); + g_output_stream_write_async (out, + data->buffer + data->offset, + data->length - data->offset, + G_PRIORITY_DEFAULT, data->cancellable, + callback, data); +} + +static void +wocky_http_proxy_connect_async (GProxy *proxy, + GIOStream *io_stream, + GProxyAddress *proxy_address, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + GSimpleAsyncResult *simple; + ConnectAsyncData *data; + GInputStream *in; + + simple = g_simple_async_result_new (G_OBJECT (proxy), + callback, user_data, + wocky_http_proxy_connect_async); + + data = g_slice_new0 (ConnectAsyncData); + + data->simple = simple; + data->io_stream = g_object_ref (io_stream); + + if (cancellable != NULL) + data->cancellable = g_object_ref (cancellable); + + in = g_io_stream_get_input_stream (io_stream); + + data->data_in = g_data_input_stream_new (in); + g_filter_input_stream_set_close_base_stream (G_FILTER_INPUT_STREAM (data->data_in), + FALSE); + + g_simple_async_result_set_op_res_gpointer (simple, data, + (GDestroyNotify) free_connect_data); + + data->buffer = create_request (proxy_address, &data->has_cred); + data->length = strlen (data->buffer); + data->offset = 0; + + do_write (request_write_cb, data); +} + +static void +request_write_cb (GObject *source, + GAsyncResult *res, + gpointer user_data) +{ + GError *error = NULL; + ConnectAsyncData *data = user_data; + gssize written; + + written = g_output_stream_write_finish (G_OUTPUT_STREAM (source), + res, &error); + if (written < 0) + { + complete_async_from_error (data, error); + return; + } + + data->offset += written; + + if (data->offset == data->length) + { + g_free (data->buffer); + data->buffer = NULL; + + g_data_input_stream_read_until_async (data->data_in, + HTTP_END_MARKER, + G_PRIORITY_DEFAULT, + data->cancellable, + reply_read_cb, data); + + } + else + { + do_write (request_write_cb, data); + } +} + +static void +reply_read_cb (GObject *source, + GAsyncResult *res, + gpointer user_data) +{ + GError *error = NULL; + ConnectAsyncData *data = user_data; + + data->buffer = g_data_input_stream_read_until_finish (data->data_in, + res, NULL, &error); + + if (data->buffer == NULL) + { + complete_async_from_error (data, error); + return; + } + + if (!check_reply (data->buffer, data->has_cred, &error)) + { + complete_async_from_error (data, error); + return; + } + + g_simple_async_result_complete (data->simple); + g_object_unref (data->simple); +} + +static GIOStream * +wocky_http_proxy_connect_finish (GProxy *proxy, + GAsyncResult *result, + GError **error) +{ + GSimpleAsyncResult *simple = G_SIMPLE_ASYNC_RESULT (result); + ConnectAsyncData *data = g_simple_async_result_get_op_res_gpointer (simple); + + if (g_simple_async_result_propagate_error (simple, error)) + return NULL; + + return g_object_ref (data->io_stream); +} + +static gboolean +wocky_http_proxy_supports_hostname (GProxy *proxy) +{ + return TRUE; +} + +static void +wocky_http_proxy_class_init (WockyHttpProxyClass *class) +{ +} + +static void +wocky_http_proxy_iface_init (GProxyInterface *proxy_iface) +{ + proxy_iface->connect = wocky_http_proxy_connect; + proxy_iface->connect_async = wocky_http_proxy_connect_async; + proxy_iface->connect_finish = wocky_http_proxy_connect_finish; + proxy_iface->supports_hostname = wocky_http_proxy_supports_hostname; +} diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/gtk/wocky-http-proxy.h b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/wocky-http-proxy.h new file mode 100644 index 0000000..3b91e63 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/gtk/wocky-http-proxy.h @@ -0,0 +1,42 @@ + /* wocky-http-proxy.h: Header for WockyHttpProxy + * + * Copyright (C) 2010 Collabora, Ltd. + * @author Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> + * + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ +#ifndef _WOCKY_HTTP_PROXY_H_ +#define _WOCKY_HTTP_PROXY_H_ + +#include <gio/gio.h> + +G_BEGIN_DECLS + +#define WOCKY_TYPE_HTTP_PROXY (_wocky_http_proxy_get_type ()) +#define WOCKY_HTTP_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), WOCKY_TYPE_HTTP_PROXY, WockyHttpProxy)) +#define WOCKY_HTTP_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), WOCKY_TYPE_HTTP_PROXY, WockyHttpProxyClass)) +#define WOCKY_IS_HTTP_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), WOCKY_TYPE_HTTP_PROXY)) +#define WOCKY_IS_HTTP_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), WOCKY_TYPE_HTTP_PROXY)) +#define WOCKY_HTTP_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), WOCKY_TYPE_HTTP_PROXY, WockyHttpProxyClass)) + +typedef struct _WockyHttpProxy WockyHttpProxy; +typedef struct _WockyHttpProxyClass WockyHttpProxyClass; + +GType _wocky_http_proxy_get_type (void); + +G_END_DECLS + +#endif /* _WOCKY_HTTP_PROXY_H_ */ diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/m4/check_python.m4 b/tizen/distrib/remote/client/spice-gtk-0.19/m4/check_python.m4 new file mode 100644 index 0000000..16fb49c --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/m4/check_python.m4 @@ -0,0 +1,46 @@ +# serial 3 +# Find valid warning flags for the C Compiler. -*-Autoconf-*- +# +# Copyright (C) 2001, 2002, 2006 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 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 + +# Written by Jesse Thilo. + +dnl a macro to check for ability to create python extensions +dnl AM_CHECK_PYTHON_HEADERS([ACTION-IF-POSSIBLE], [ACTION-IF-NOT-POSSIBLE]) +dnl function also defines PYTHON_INCLUDES +AC_DEFUN([AM_CHECK_PYTHON_HEADERS], + [AC_REQUIRE([AM_PATH_PYTHON]) + AC_MSG_CHECKING(for headers required to compile python extensions) + dnl deduce PYTHON_INCLUDES + py_prefix=`$PYTHON -c "import sys; print sys.prefix"` + py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` + PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" + if test "$py_prefix" != "$py_exec_prefix"; then + PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" + fi + AC_SUBST(PYTHON_INCLUDES) + dnl check if the headers exist: + save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES" + AC_TRY_CPP([#include <Python.h>],dnl + [AC_MSG_RESULT(found) + $1],dnl + [AC_MSG_RESULT(not found) + $2]) + CPPFLAGS="$save_CPPFLAGS" +]) diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/m4/gtk-doc.m4 b/tizen/distrib/remote/client/spice-gtk-0.19/m4/gtk-doc.m4 new file mode 100644 index 0000000..0ada151 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/m4/gtk-doc.m4 @@ -0,0 +1,67 @@ +dnl -*- mode: autoconf -*- + +# serial 1 + +dnl Usage: +dnl GTK_DOC_CHECK([minimum-gtk-doc-version]) +AC_DEFUN([GTK_DOC_CHECK], +[ + AC_REQUIRE([PKG_PROG_PKG_CONFIG]) + AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first + AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first + + dnl check for tools we added during development + AC_PATH_PROG([GTKDOC_CHECK],[gtkdoc-check]) + AC_PATH_PROGS([GTKDOC_REBASE],[gtkdoc-rebase],[true]) + AC_PATH_PROG([GTKDOC_MKPDF],[gtkdoc-mkpdf]) + + dnl for overriding the documentation installation directory + AC_ARG_WITH([html-dir], + AS_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),, + [with_html_dir='${datadir}/gtk-doc/html']) + HTML_DIR="$with_html_dir" + AC_SUBST([HTML_DIR]) + + dnl enable/disable documentation building + AC_ARG_ENABLE([gtk-doc], + AS_HELP_STRING([--enable-gtk-doc], + [use gtk-doc to build documentation [[default=no]]]),, + [enable_gtk_doc=no]) + + if test x$enable_gtk_doc = xyes; then + ifelse([$1],[], + [PKG_CHECK_EXISTS([gtk-doc],, + AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))], + [PKG_CHECK_EXISTS([gtk-doc >= $1],, + AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build $PACKAGE_NAME]))]) + dnl don't check for glib if we build glib + if test "x$PACKAGE_NAME" != "xglib"; then + dnl don't fail if someone does not have glib + PKG_CHECK_MODULES(GTKDOC_DEPS, glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0,,) + fi + fi + + AC_MSG_CHECKING([whether to build gtk-doc documentation]) + AC_MSG_RESULT($enable_gtk_doc) + + dnl enable/disable output formats + AC_ARG_ENABLE([gtk-doc-html], + AS_HELP_STRING([--enable-gtk-doc-html], + [build documentation in html format [[default=yes]]]),, + [enable_gtk_doc_html=yes]) + AC_ARG_ENABLE([gtk-doc-pdf], + AS_HELP_STRING([--enable-gtk-doc-pdf], + [build documentation in pdf format [[default=no]]]),, + [enable_gtk_doc_pdf=no]) + + if test -z "$GTKDOC_MKPDF"; then + enable_gtk_doc_pdf=no + fi + + + AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes]) + AM_CONDITIONAL([GTK_DOC_BUILD_HTML], [test x$enable_gtk_doc_html = xyes]) + AM_CONDITIONAL([GTK_DOC_BUILD_PDF], [test x$enable_gtk_doc_pdf = xyes]) + AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"]) + AM_CONDITIONAL([GTK_DOC_USE_REBASE], [test -n "$GTKDOC_REBASE"]) +]) diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/m4/intltool.m4 b/tizen/distrib/remote/client/spice-gtk-0.19/m4/intltool.m4 new file mode 100644 index 0000000..33353ed --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/m4/intltool.m4 @@ -0,0 +1,237 @@ +## intltool.m4 - Configure intltool for the target system. -*-Shell-script-*- +## Copyright (C) 2001 Eazel, Inc. +## Author: Maciej Stachowiak <mjs@noisehavoc.org> +## Kenneth Christiansen <kenneth@gnu.org> +## +## 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +## +## As a special exception to the GNU General Public License, if you +## distribute this file as part of a program that contains a +## configuration script generated by Autoconf, you may include it under +## the same distribution terms that you use for the rest of that program. + +dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml]) +# serial 42 IT_PROG_INTLTOOL +AC_DEFUN([IT_PROG_INTLTOOL], [ +AC_PREREQ([2.50])dnl +AC_REQUIRE([AM_NLS])dnl + +case "$am__api_version" in + 1.[01234]) + AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool]) + ;; + *) + ;; +esac + +INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` +INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` +INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` +if test -n "$1"; then + AC_MSG_CHECKING([for intltool >= $1]) + AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found]) + test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || + AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.]) +fi + +AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update]) +AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge]) +AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract]) +if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then + AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.]) +fi + +if test -z "$AM_DEFAULT_VERBOSITY"; then + AM_DEFAULT_VERBOSITY=1 +fi +AC_SUBST([AM_DEFAULT_VERBOSITY]) + +INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' +INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' +INTLTOOL__v_MERGE_0='@echo " ITMRG " [$]@;' +AC_SUBST(INTLTOOL_V_MERGE) +AC_SUBST(INTLTOOL__v_MERGE_) +AC_SUBST(INTLTOOL__v_MERGE_0) + +INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' +intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' +intltool__v_merge_options_0='-q' +AC_SUBST(INTLTOOL_V_MERGE_OPTIONS) +AC_SUBST(intltool__v_merge_options_) +AC_SUBST(intltool__v_merge_options_0) + + INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' +INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< [$]@' + INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' +INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' +if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then + INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< [$]@' +else + INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.[$][$]RANDOM && mkdir [$][$]_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u [$][$]_it_tmp_dir $< [$]@ && rmdir [$][$]_it_tmp_dir' +fi + INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + +_IT_SUBST(INTLTOOL_DESKTOP_RULE) +_IT_SUBST(INTLTOOL_DIRECTORY_RULE) +_IT_SUBST(INTLTOOL_KEYS_RULE) +_IT_SUBST(INTLTOOL_PROP_RULE) +_IT_SUBST(INTLTOOL_OAF_RULE) +_IT_SUBST(INTLTOOL_PONG_RULE) +_IT_SUBST(INTLTOOL_SERVER_RULE) +_IT_SUBST(INTLTOOL_SHEET_RULE) +_IT_SUBST(INTLTOOL_SOUNDLIST_RULE) +_IT_SUBST(INTLTOOL_UI_RULE) +_IT_SUBST(INTLTOOL_XAM_RULE) +_IT_SUBST(INTLTOOL_KBD_RULE) +_IT_SUBST(INTLTOOL_XML_RULE) +_IT_SUBST(INTLTOOL_XML_NOMERGE_RULE) +_IT_SUBST(INTLTOOL_CAVES_RULE) +_IT_SUBST(INTLTOOL_SCHEMAS_RULE) +_IT_SUBST(INTLTOOL_THEME_RULE) +_IT_SUBST(INTLTOOL_SERVICE_RULE) +_IT_SUBST(INTLTOOL_POLICY_RULE) + +# Check the gettext tools to make sure they are GNU +AC_PATH_PROG(XGETTEXT, xgettext) +AC_PATH_PROG(MSGMERGE, msgmerge) +AC_PATH_PROG(MSGFMT, msgfmt) +AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) +if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then + AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) +fi +xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" +mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" +mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" +if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then + AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) +fi + +AC_PATH_PROG(INTLTOOL_PERL, perl) +if test -z "$INTLTOOL_PERL"; then + AC_MSG_ERROR([perl not found]) +fi +AC_MSG_CHECKING([for perl >= 5.8.1]) +$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 +if test $? -ne 0; then + AC_MSG_ERROR([perl 5.8.1 is required for intltool]) +else + IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` + AC_MSG_RESULT([$IT_PERL_VERSION]) +fi +if test "x$2" != "xno-xml"; then + AC_MSG_CHECKING([for XML::Parser]) + if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then + AC_MSG_RESULT([ok]) + else + AC_MSG_ERROR([XML::Parser perl module is required for intltool]) + fi +fi + +# Substitute ALL_LINGUAS so we can use it in po/Makefile +AC_SUBST(ALL_LINGUAS) + +# Set DATADIRNAME correctly if it is not set yet +# (copied from glib-gettext.m4) +if test -z "$DATADIRNAME"; then + AC_LINK_IFELSE( + [AC_LANG_PROGRAM([[]], + [[extern int _nl_msg_cat_cntr; + return _nl_msg_cat_cntr]])], + [DATADIRNAME=share], + [case $host in + *-*-solaris*) + dnl On Solaris, if bind_textdomain_codeset is in libc, + dnl GNU format message catalog is always supported, + dnl since both are added to the libc all together. + dnl Hence, we'd like to go with DATADIRNAME=share + dnl in this case. + AC_CHECK_FUNC(bind_textdomain_codeset, + [DATADIRNAME=share], [DATADIRNAME=lib]) + ;; + *) + [DATADIRNAME=lib] + ;; + esac]) +fi +AC_SUBST(DATADIRNAME) + +IT_PO_SUBDIR([po]) + +]) + + +# IT_PO_SUBDIR(DIRNAME) +# --------------------- +# All po subdirs have to be declared with this macro; the subdir "po" is +# declared by IT_PROG_INTLTOOL. +# +AC_DEFUN([IT_PO_SUBDIR], +[AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS. +dnl +dnl The following CONFIG_COMMANDS should be executed at the very end +dnl of config.status. +AC_CONFIG_COMMANDS_PRE([ + AC_CONFIG_COMMANDS([$1/stamp-it], [ + if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then + AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.]) + fi + rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp" + >"$1/stamp-it.tmp" + [sed '/^#/d + s/^[[].*] *// + /^[ ]*$/d + '"s|^| $ac_top_srcdir/|" \ + "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES" + ] + [sed '/^POTFILES =/,/[^\\]$/ { + /^POTFILES =/!d + r $1/POTFILES + } + ' "$1/Makefile.in" >"$1/Makefile"] + rm -f "$1/Makefile.tmp" + mv "$1/stamp-it.tmp" "$1/stamp-it" + ]) +])dnl +]) + +# _IT_SUBST(VARIABLE) +# ------------------- +# Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST +# +AC_DEFUN([_IT_SUBST], +[ +AC_SUBST([$1]) +m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) +] +) + +# deprecated macros +AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL]) +# A hint is needed for aclocal from Automake <= 1.9.4: +# AC_DEFUN([AC_PROG_INTLTOOL], ...) + diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/m4/ld-version.m4 b/tizen/distrib/remote/client/spice-gtk-0.19/m4/ld-version.m4 new file mode 100644 index 0000000..589fb71 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/m4/ld-version.m4 @@ -0,0 +1,34 @@ +dnl Check whether the linker supports --version-script. +dnl +dnl Probes whether the linker supports --version-script with a simple version +dnl script that only defines a single version. Sets the Automake conditional +dnl HAVE_LD_VERSION_SCRIPT based on whether it is supported. +dnl +dnl Written by Russ Allbery <rra@stanford.edu> +dnl Based on the gnulib ld-version-script macro from Simon Josefsson +dnl Copyright 2010 Board of Trustees, Leland Stanford Jr. University +dnl Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc. +dnl +dnl This file is free software; the Free Software Foundation gives unlimited +dnl permission to copy and/or distribute it, with or without modifications, as +dnl long as this notice is preserved. + +AC_DEFUN([RRA_LD_VERSION_SCRIPT], +[AC_CACHE_CHECK([if -Wl,--version-script works], [rra_cv_ld_version_script], + [save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map" + cat > conftest.map <<EOF +VERSION_1 { + global: + sym; + + local: + *; +}; +EOF + AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])], + [rra_cv_ld_version_script=yes], [rra_cv_ld_version_script=no]) + rm -f conftest.map + LDFLAGS="$save_LDFLAGS"]) + AM_CONDITIONAL([HAVE_LD_VERSION_SCRIPT], + [test x"$rra_cv_ld_version_script" = xyes])]) diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/m4/libtool.m4 b/tizen/distrib/remote/client/spice-gtk-0.19/m4/libtool.m4 new file mode 100644 index 0000000..56666f0 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/m4/libtool.m4 @@ -0,0 +1,7986 @@ +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +# 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file 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. + +m4_define([_LT_COPYING], [dnl +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +# 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file is part of GNU Libtool. +# +# GNU Libtool 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. +# +# As a special exception to the GNU General Public License, +# if you distribute this file as part of a program or library that +# is built using GNU Libtool, you may include this file under the +# same distribution terms that you use for the rest of that program. +# +# GNU Libtool 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 GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or +# obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +]) + +# serial 57 LT_INIT + + +# LT_PREREQ(VERSION) +# ------------------ +# Complain and exit if this libtool version is less that VERSION. +m4_defun([LT_PREREQ], +[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, + [m4_default([$3], + [m4_fatal([Libtool version $1 or higher is required], + 63)])], + [$2])]) + + +# _LT_CHECK_BUILDDIR +# ------------------ +# Complain if the absolute build directory name contains unusual characters +m4_defun([_LT_CHECK_BUILDDIR], +[case `pwd` in + *\ * | *\ *) + AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; +esac +]) + + +# LT_INIT([OPTIONS]) +# ------------------ +AC_DEFUN([LT_INIT], +[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT +AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl +AC_BEFORE([$0], [LT_LANG])dnl +AC_BEFORE([$0], [LT_OUTPUT])dnl +AC_BEFORE([$0], [LTDL_INIT])dnl +m4_require([_LT_CHECK_BUILDDIR])dnl + +dnl Autoconf doesn't catch unexpanded LT_ macros by default: +m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl +m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 +dnl unless we require an AC_DEFUNed macro: +AC_REQUIRE([LTOPTIONS_VERSION])dnl +AC_REQUIRE([LTSUGAR_VERSION])dnl +AC_REQUIRE([LTVERSION_VERSION])dnl +AC_REQUIRE([LTOBSOLETE_VERSION])dnl +m4_require([_LT_PROG_LTMAIN])dnl + +_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) + +dnl Parse OPTIONS +_LT_SET_OPTIONS([$0], [$1]) + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS="$ltmain" + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' +AC_SUBST(LIBTOOL)dnl + +_LT_SETUP + +# Only expand once: +m4_define([LT_INIT]) +])# LT_INIT + +# Old names: +AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) +AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_PROG_LIBTOOL], []) +dnl AC_DEFUN([AM_PROG_LIBTOOL], []) + + +# _LT_CC_BASENAME(CC) +# ------------------- +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. +m4_defun([_LT_CC_BASENAME], +[for cc_temp in $1""; do + case $cc_temp in + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` +]) + + +# _LT_FILEUTILS_DEFAULTS +# ---------------------- +# It is okay to use these file commands and assume they have been set +# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'. +m4_defun([_LT_FILEUTILS_DEFAULTS], +[: ${CP="cp -f"} +: ${MV="mv -f"} +: ${RM="rm -f"} +])# _LT_FILEUTILS_DEFAULTS + + +# _LT_SETUP +# --------- +m4_defun([_LT_SETUP], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl + +_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl +dnl +_LT_DECL([], [host_alias], [0], [The host system])dnl +_LT_DECL([], [host], [0])dnl +_LT_DECL([], [host_os], [0])dnl +dnl +_LT_DECL([], [build_alias], [0], [The build system])dnl +_LT_DECL([], [build], [0])dnl +_LT_DECL([], [build_os], [0])dnl +dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([LT_PATH_LD])dnl +AC_REQUIRE([LT_PATH_NM])dnl +dnl +AC_REQUIRE([AC_PROG_LN_S])dnl +test -z "$LN_S" && LN_S="ln -s" +_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl +dnl +AC_REQUIRE([LT_CMD_MAX_LEN])dnl +_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl +_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl +dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_CHECK_SHELL_FEATURES])dnl +m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl +m4_require([_LT_CMD_RELOAD])dnl +m4_require([_LT_CHECK_MAGIC_METHOD])dnl +m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl +m4_require([_LT_CMD_OLD_ARCHIVE])dnl +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl +m4_require([_LT_WITH_SYSROOT])dnl + +_LT_CONFIG_LIBTOOL_INIT([ +# See if we are running on zsh, and set the options which allow our +# commands through without removal of \ escapes INIT. +if test -n "\${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi +]) +if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi + +_LT_CHECK_OBJDIR + +m4_require([_LT_TAG_COMPILER])dnl + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Global variables: +ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except MSVC, +# which needs '.lib'). +libext=a + +with_gnu_ld="$lt_cv_prog_gnu_ld" + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS +test -z "$LD" && LD=ld +test -z "$ac_objext" && ac_objext=o + +_LT_CC_BASENAME([$compiler]) + +# Only perform the check for file, if the check method requires it +test -z "$MAGIC_CMD" && MAGIC_CMD=file +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + _LT_PATH_MAGIC + fi + ;; +esac + +# Use C for the default configuration in the libtool script +LT_SUPPORTED_TAG([CC]) +_LT_LANG_C_CONFIG +_LT_LANG_DEFAULT_CONFIG +_LT_CONFIG_COMMANDS +])# _LT_SETUP + + +# _LT_PREPARE_SED_QUOTE_VARS +# -------------------------- +# Define a few sed substitution that help us do robust quoting. +m4_defun([_LT_PREPARE_SED_QUOTE_VARS], +[# Backslashify metacharacters that are still active within +# double-quoted strings. +sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\([["`\\]]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to delay expansion of an escaped single quote. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' +]) + +# _LT_PROG_LTMAIN +# --------------- +# Note that this code is called both from `configure', and `config.status' +# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, +# `config.status' has no value for ac_aux_dir unless we are using Automake, +# so we pass a copy along to make sure it has a sensible value anyway. +m4_defun([_LT_PROG_LTMAIN], +[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl +_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) +ltmain="$ac_aux_dir/ltmain.sh" +])# _LT_PROG_LTMAIN + + +## ------------------------------------- ## +## Accumulate code for creating libtool. ## +## ------------------------------------- ## + +# So that we can recreate a full libtool script including additional +# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS +# in macros and then make a single call at the end using the `libtool' +# label. + + +# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) +# ---------------------------------------- +# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. +m4_define([_LT_CONFIG_LIBTOOL_INIT], +[m4_ifval([$1], + [m4_append([_LT_OUTPUT_LIBTOOL_INIT], + [$1 +])])]) + +# Initialize. +m4_define([_LT_OUTPUT_LIBTOOL_INIT]) + + +# _LT_CONFIG_LIBTOOL([COMMANDS]) +# ------------------------------ +# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. +m4_define([_LT_CONFIG_LIBTOOL], +[m4_ifval([$1], + [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], + [$1 +])])]) + +# Initialize. +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) + + +# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) +# ----------------------------------------------------- +m4_defun([_LT_CONFIG_SAVE_COMMANDS], +[_LT_CONFIG_LIBTOOL([$1]) +_LT_CONFIG_LIBTOOL_INIT([$2]) +]) + + +# _LT_FORMAT_COMMENT([COMMENT]) +# ----------------------------- +# Add leading comment marks to the start of each line, and a trailing +# full-stop to the whole comment if one is not present already. +m4_define([_LT_FORMAT_COMMENT], +[m4_ifval([$1], [ +m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], + [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) +)]) + + + +## ------------------------ ## +## FIXME: Eliminate VARNAME ## +## ------------------------ ## + + +# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) +# ------------------------------------------------------------------- +# CONFIGNAME is the name given to the value in the libtool script. +# VARNAME is the (base) name used in the configure script. +# VALUE may be 0, 1 or 2 for a computed quote escaped value based on +# VARNAME. Any other value will be used directly. +m4_define([_LT_DECL], +[lt_if_append_uniq([lt_decl_varnames], [$2], [, ], + [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], + [m4_ifval([$1], [$1], [$2])]) + lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) + m4_ifval([$4], + [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) + lt_dict_add_subkey([lt_decl_dict], [$2], + [tagged?], [m4_ifval([$5], [yes], [no])])]) +]) + + +# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) +# -------------------------------------------------------- +m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) + + +# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) +# ------------------------------------------------ +m4_define([lt_decl_tag_varnames], +[_lt_decl_filter([tagged?], [yes], $@)]) + + +# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) +# --------------------------------------------------------- +m4_define([_lt_decl_filter], +[m4_case([$#], + [0], [m4_fatal([$0: too few arguments: $#])], + [1], [m4_fatal([$0: too few arguments: $#: $1])], + [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], + [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], + [lt_dict_filter([lt_decl_dict], $@)])[]dnl +]) + + +# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) +# -------------------------------------------------- +m4_define([lt_decl_quote_varnames], +[_lt_decl_filter([value], [1], $@)]) + + +# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) +# --------------------------------------------------- +m4_define([lt_decl_dquote_varnames], +[_lt_decl_filter([value], [2], $@)]) + + +# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) +# --------------------------------------------------- +m4_define([lt_decl_varnames_tagged], +[m4_assert([$# <= 2])dnl +_$0(m4_quote(m4_default([$1], [[, ]])), + m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), + m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) +m4_define([_lt_decl_varnames_tagged], +[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) + + +# lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) +# ------------------------------------------------ +m4_define([lt_decl_all_varnames], +[_$0(m4_quote(m4_default([$1], [[, ]])), + m4_if([$2], [], + m4_quote(lt_decl_varnames), + m4_quote(m4_shift($@))))[]dnl +]) +m4_define([_lt_decl_all_varnames], +[lt_join($@, lt_decl_varnames_tagged([$1], + lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl +]) + + +# _LT_CONFIG_STATUS_DECLARE([VARNAME]) +# ------------------------------------ +# Quote a variable value, and forward it to `config.status' so that its +# declaration there will have the same value as in `configure'. VARNAME +# must have a single quote delimited value for this to work. +m4_define([_LT_CONFIG_STATUS_DECLARE], +[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`']) + + +# _LT_CONFIG_STATUS_DECLARATIONS +# ------------------------------ +# We delimit libtool config variables with single quotes, so when +# we write them to config.status, we have to be sure to quote all +# embedded single quotes properly. In configure, this macro expands +# each variable declared with _LT_DECL (and _LT_TAGDECL) into: +# +# <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`' +m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], +[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), + [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) + + +# _LT_LIBTOOL_TAGS +# ---------------- +# Output comment and list of tags supported by the script +m4_defun([_LT_LIBTOOL_TAGS], +[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl +available_tags="_LT_TAGS"dnl +]) + + +# _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) +# ----------------------------------- +# Extract the dictionary values for VARNAME (optionally with TAG) and +# expand to a commented shell variable setting: +# +# # Some comment about what VAR is for. +# visible_name=$lt_internal_name +m4_define([_LT_LIBTOOL_DECLARE], +[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], + [description])))[]dnl +m4_pushdef([_libtool_name], + m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl +m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), + [0], [_libtool_name=[$]$1], + [1], [_libtool_name=$lt_[]$1], + [2], [_libtool_name=$lt_[]$1], + [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl +m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl +]) + + +# _LT_LIBTOOL_CONFIG_VARS +# ----------------------- +# Produce commented declarations of non-tagged libtool config variables +# suitable for insertion in the LIBTOOL CONFIG section of the `libtool' +# script. Tagged libtool config variables (even for the LIBTOOL CONFIG +# section) are produced by _LT_LIBTOOL_TAG_VARS. +m4_defun([_LT_LIBTOOL_CONFIG_VARS], +[m4_foreach([_lt_var], + m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) + + +# _LT_LIBTOOL_TAG_VARS(TAG) +# ------------------------- +m4_define([_LT_LIBTOOL_TAG_VARS], +[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) + + +# _LT_TAGVAR(VARNAME, [TAGNAME]) +# ------------------------------ +m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) + + +# _LT_CONFIG_COMMANDS +# ------------------- +# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of +# variables for single and double quote escaping we saved from calls +# to _LT_DECL, we can put quote escaped variables declarations +# into `config.status', and then the shell code to quote escape them in +# for loops in `config.status'. Finally, any additional code accumulated +# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. +m4_defun([_LT_CONFIG_COMMANDS], +[AC_PROVIDE_IFELSE([LT_OUTPUT], + dnl If the libtool generation code has been placed in $CONFIG_LT, + dnl instead of duplicating it all over again into config.status, + dnl then we will have config.status run $CONFIG_LT later, so it + dnl needs to know what name is stored there: + [AC_CONFIG_COMMANDS([libtool], + [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], + dnl If the libtool generation code is destined for config.status, + dnl expand the accumulated commands and init code now: + [AC_CONFIG_COMMANDS([libtool], + [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) +])#_LT_CONFIG_COMMANDS + + +# Initialize. +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], +[ + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +sed_quote_subst='$sed_quote_subst' +double_quote_subst='$double_quote_subst' +delay_variable_subst='$delay_variable_subst' +_LT_CONFIG_STATUS_DECLARATIONS +LTCC='$LTCC' +LTCFLAGS='$LTCFLAGS' +compiler='$compiler_DEFAULT' + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$[]1 +_LTECHO_EOF' +} + +# Quote evaled strings. +for var in lt_decl_all_varnames([[ \ +]], lt_decl_quote_varnames); do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[[\\\\\\\`\\"\\\$]]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +# Double-quote double-evaled strings. +for var in lt_decl_all_varnames([[ \ +]], lt_decl_dquote_varnames); do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[[\\\\\\\`\\"\\\$]]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +_LT_OUTPUT_LIBTOOL_INIT +]) + +# _LT_GENERATED_FILE_INIT(FILE, [COMMENT]) +# ------------------------------------ +# Generate a child script FILE with all initialization necessary to +# reuse the environment learned by the parent script, and make the +# file executable. If COMMENT is supplied, it is inserted after the +# `#!' sequence but before initialization text begins. After this +# macro, additional text can be appended to FILE to form the body of +# the child script. The macro ends with non-zero status if the +# file could not be fully written (such as if the disk is full). +m4_ifdef([AS_INIT_GENERATED], +[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])], +[m4_defun([_LT_GENERATED_FILE_INIT], +[m4_require([AS_PREPARE])]dnl +[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl +[lt_write_fail=0 +cat >$1 <<_ASEOF || lt_write_fail=1 +#! $SHELL +# Generated by $as_me. +$2 +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$1 <<\_ASEOF || lt_write_fail=1 +AS_SHELL_SANITIZE +_AS_PREPARE +exec AS_MESSAGE_FD>&1 +_ASEOF +test $lt_write_fail = 0 && chmod +x $1[]dnl +m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT + +# LT_OUTPUT +# --------- +# This macro allows early generation of the libtool script (before +# AC_OUTPUT is called), incase it is used in configure for compilation +# tests. +AC_DEFUN([LT_OUTPUT], +[: ${CONFIG_LT=./config.lt} +AC_MSG_NOTICE([creating $CONFIG_LT]) +_LT_GENERATED_FILE_INIT(["$CONFIG_LT"], +[# Run this file to recreate a libtool stub with the current configuration.]) + +cat >>"$CONFIG_LT" <<\_LTEOF +lt_cl_silent=false +exec AS_MESSAGE_LOG_FD>>config.log +{ + echo + AS_BOX([Running $as_me.]) +} >&AS_MESSAGE_LOG_FD + +lt_cl_help="\ +\`$as_me' creates a local libtool stub from the current configuration, +for use in further configure time tests before the real libtool is +generated. + +Usage: $[0] [[OPTIONS]] + + -h, --help print this help, then exit + -V, --version print version number, then exit + -q, --quiet do not print progress messages + -d, --debug don't remove temporary files + +Report bugs to <bug-libtool@gnu.org>." + +lt_cl_version="\ +m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl +m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) +configured by $[0], generated by m4_PACKAGE_STRING. + +Copyright (C) 2011 Free Software Foundation, Inc. +This config.lt script is free software; the Free Software Foundation +gives unlimited permision to copy, distribute and modify it." + +while test $[#] != 0 +do + case $[1] in + --version | --v* | -V ) + echo "$lt_cl_version"; exit 0 ;; + --help | --h* | -h ) + echo "$lt_cl_help"; exit 0 ;; + --debug | --d* | -d ) + debug=: ;; + --quiet | --q* | --silent | --s* | -q ) + lt_cl_silent=: ;; + + -*) AC_MSG_ERROR([unrecognized option: $[1] +Try \`$[0] --help' for more information.]) ;; + + *) AC_MSG_ERROR([unrecognized argument: $[1] +Try \`$[0] --help' for more information.]) ;; + esac + shift +done + +if $lt_cl_silent; then + exec AS_MESSAGE_FD>/dev/null +fi +_LTEOF + +cat >>"$CONFIG_LT" <<_LTEOF +_LT_OUTPUT_LIBTOOL_COMMANDS_INIT +_LTEOF + +cat >>"$CONFIG_LT" <<\_LTEOF +AC_MSG_NOTICE([creating $ofile]) +_LT_OUTPUT_LIBTOOL_COMMANDS +AS_EXIT(0) +_LTEOF +chmod +x "$CONFIG_LT" + +# configure is writing to config.log, but config.lt does its own redirection, +# appending to config.log, which fails on DOS, as config.log is still kept +# open by configure. Here we exec the FD to /dev/null, effectively closing +# config.log, so it can be properly (re)opened and appended to by config.lt. +lt_cl_success=: +test "$silent" = yes && + lt_config_lt_args="$lt_config_lt_args --quiet" +exec AS_MESSAGE_LOG_FD>/dev/null +$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false +exec AS_MESSAGE_LOG_FD>>config.log +$lt_cl_success || AS_EXIT(1) +])# LT_OUTPUT + + +# _LT_CONFIG(TAG) +# --------------- +# If TAG is the built-in tag, create an initial libtool script with a +# default configuration from the untagged config vars. Otherwise add code +# to config.status for appending the configuration named by TAG from the +# matching tagged config vars. +m4_defun([_LT_CONFIG], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +_LT_CONFIG_SAVE_COMMANDS([ + m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl + m4_if(_LT_TAG, [C], [ + # See if we are running on zsh, and set the options which allow our + # commands through without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + + cfgfile="${ofile}T" + trap "$RM \"$cfgfile\"; exit 1" 1 2 15 + $RM "$cfgfile" + + cat <<_LT_EOF >> "$cfgfile" +#! $SHELL + +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +_LT_COPYING +_LT_LIBTOOL_TAGS + +# ### BEGIN LIBTOOL CONFIG +_LT_LIBTOOL_CONFIG_VARS +_LT_LIBTOOL_TAG_VARS +# ### END LIBTOOL CONFIG + +_LT_EOF + + case $host_os in + aix3*) + cat <<\_LT_EOF >> "$cfgfile" +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +_LT_EOF + ;; + esac + + _LT_PROG_LTMAIN + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + _LT_PROG_REPLACE_SHELLFNS + + mv -f "$cfgfile" "$ofile" || + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" +], +[cat <<_LT_EOF >> "$ofile" + +dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded +dnl in a comment (ie after a #). +# ### BEGIN LIBTOOL TAG CONFIG: $1 +_LT_LIBTOOL_TAG_VARS(_LT_TAG) +# ### END LIBTOOL TAG CONFIG: $1 +_LT_EOF +])dnl /m4_if +], +[m4_if([$1], [], [ + PACKAGE='$PACKAGE' + VERSION='$VERSION' + TIMESTAMP='$TIMESTAMP' + RM='$RM' + ofile='$ofile'], []) +])dnl /_LT_CONFIG_SAVE_COMMANDS +])# _LT_CONFIG + + +# LT_SUPPORTED_TAG(TAG) +# --------------------- +# Trace this macro to discover what tags are supported by the libtool +# --tag option, using: +# autoconf --trace 'LT_SUPPORTED_TAG:$1' +AC_DEFUN([LT_SUPPORTED_TAG], []) + + +# C support is built-in for now +m4_define([_LT_LANG_C_enabled], []) +m4_define([_LT_TAGS], []) + + +# LT_LANG(LANG) +# ------------- +# Enable libtool support for the given language if not already enabled. +AC_DEFUN([LT_LANG], +[AC_BEFORE([$0], [LT_OUTPUT])dnl +m4_case([$1], + [C], [_LT_LANG(C)], + [C++], [_LT_LANG(CXX)], + [Go], [_LT_LANG(GO)], + [Java], [_LT_LANG(GCJ)], + [Fortran 77], [_LT_LANG(F77)], + [Fortran], [_LT_LANG(FC)], + [Windows Resource], [_LT_LANG(RC)], + [m4_ifdef([_LT_LANG_]$1[_CONFIG], + [_LT_LANG($1)], + [m4_fatal([$0: unsupported language: "$1"])])])dnl +])# LT_LANG + + +# _LT_LANG(LANGNAME) +# ------------------ +m4_defun([_LT_LANG], +[m4_ifdef([_LT_LANG_]$1[_enabled], [], + [LT_SUPPORTED_TAG([$1])dnl + m4_append([_LT_TAGS], [$1 ])dnl + m4_define([_LT_LANG_]$1[_enabled], [])dnl + _LT_LANG_$1_CONFIG($1)])dnl +])# _LT_LANG + + +m4_ifndef([AC_PROG_GO], [ +############################################################ +# NOTE: This macro has been submitted for inclusion into # +# GNU Autoconf as AC_PROG_GO. When it is available in # +# a released version of Autoconf we should remove this # +# macro and use it instead. # +############################################################ +m4_defun([AC_PROG_GO], +[AC_LANG_PUSH(Go)dnl +AC_ARG_VAR([GOC], [Go compiler command])dnl +AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl +_AC_ARG_VAR_LDFLAGS()dnl +AC_CHECK_TOOL(GOC, gccgo) +if test -z "$GOC"; then + if test -n "$ac_tool_prefix"; then + AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo]) + fi +fi +if test -z "$GOC"; then + AC_CHECK_PROG(GOC, gccgo, gccgo, false) +fi +])#m4_defun +])#m4_ifndef + + +# _LT_LANG_DEFAULT_CONFIG +# ----------------------- +m4_defun([_LT_LANG_DEFAULT_CONFIG], +[AC_PROVIDE_IFELSE([AC_PROG_CXX], + [LT_LANG(CXX)], + [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) + +AC_PROVIDE_IFELSE([AC_PROG_F77], + [LT_LANG(F77)], + [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) + +AC_PROVIDE_IFELSE([AC_PROG_FC], + [LT_LANG(FC)], + [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) + +dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal +dnl pulling things in needlessly. +AC_PROVIDE_IFELSE([AC_PROG_GCJ], + [LT_LANG(GCJ)], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], + [LT_LANG(GCJ)], + [AC_PROVIDE_IFELSE([LT_PROG_GCJ], + [LT_LANG(GCJ)], + [m4_ifdef([AC_PROG_GCJ], + [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) + m4_ifdef([A][M_PROG_GCJ], + [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) + m4_ifdef([LT_PROG_GCJ], + [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) + +AC_PROVIDE_IFELSE([AC_PROG_GO], + [LT_LANG(GO)], + [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])]) + +AC_PROVIDE_IFELSE([LT_PROG_RC], + [LT_LANG(RC)], + [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) +])# _LT_LANG_DEFAULT_CONFIG + +# Obsolete macros: +AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) +AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) +AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) +AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) +AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_CXX], []) +dnl AC_DEFUN([AC_LIBTOOL_F77], []) +dnl AC_DEFUN([AC_LIBTOOL_FC], []) +dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) +dnl AC_DEFUN([AC_LIBTOOL_RC], []) + + +# _LT_TAG_COMPILER +# ---------------- +m4_defun([_LT_TAG_COMPILER], +[AC_REQUIRE([AC_PROG_CC])dnl + +_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl +_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl +_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl +_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC +])# _LT_TAG_COMPILER + + +# _LT_COMPILER_BOILERPLATE +# ------------------------ +# Check for compiler boilerplate output or warnings with +# the simple compiler test code. +m4_defun([_LT_COMPILER_BOILERPLATE], +[m4_require([_LT_DECL_SED])dnl +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$RM conftest* +])# _LT_COMPILER_BOILERPLATE + + +# _LT_LINKER_BOILERPLATE +# ---------------------- +# Check for linker boilerplate output or warnings with +# the simple link test code. +m4_defun([_LT_LINKER_BOILERPLATE], +[m4_require([_LT_DECL_SED])dnl +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$RM -r conftest* +])# _LT_LINKER_BOILERPLATE + +# _LT_REQUIRED_DARWIN_CHECKS +# ------------------------- +m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ + case $host_os in + rhapsody* | darwin*) + AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) + AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) + AC_CHECK_TOOL([LIPO], [lipo], [:]) + AC_CHECK_TOOL([OTOOL], [otool], [:]) + AC_CHECK_TOOL([OTOOL64], [otool64], [:]) + _LT_DECL([], [DSYMUTIL], [1], + [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) + _LT_DECL([], [NMEDIT], [1], + [Tool to change global to local symbols on Mac OS X]) + _LT_DECL([], [LIPO], [1], + [Tool to manipulate fat objects and archives on Mac OS X]) + _LT_DECL([], [OTOOL], [1], + [ldd/readelf like tool for Mach-O binaries on Mac OS X]) + _LT_DECL([], [OTOOL64], [1], + [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) + + AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], + [lt_cv_apple_cc_single_mod=no + if test -z "${LT_MULTI_MODULE}"; then + # By default we will add the -single_module flag. You can override + # by either setting the environment variable LT_MULTI_MODULE + # non-empty at configure time, or by adding -multi_module to the + # link flags. + rm -rf libconftest.dylib* + echo "int foo(void){return 1;}" > conftest.c + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ +-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err + _lt_result=$? + # If there is a non-empty error log, and "single_module" + # appears in it, assume the flag caused a linker warning + if test -s conftest.err && $GREP single_module conftest.err; then + cat conftest.err >&AS_MESSAGE_LOG_FD + # Otherwise, if the output was created with a 0 exit code from + # the compiler, it worked. + elif test -f libconftest.dylib && test $_lt_result -eq 0; then + lt_cv_apple_cc_single_mod=yes + else + cat conftest.err >&AS_MESSAGE_LOG_FD + fi + rm -rf libconftest.dylib* + rm -f conftest.* + fi]) + + AC_CACHE_CHECK([for -exported_symbols_list linker flag], + [lt_cv_ld_exported_symbols_list], + [lt_cv_ld_exported_symbols_list=no + save_LDFLAGS=$LDFLAGS + echo "_main" > conftest.sym + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], + [lt_cv_ld_exported_symbols_list=yes], + [lt_cv_ld_exported_symbols_list=no]) + LDFLAGS="$save_LDFLAGS" + ]) + + AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], + [lt_cv_ld_force_load=no + cat > conftest.c << _LT_EOF +int forced_loaded() { return 2;} +_LT_EOF + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD + echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD + $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD + echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD + $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD + cat > conftest.c << _LT_EOF +int main() { return 0;} +_LT_EOF + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err + _lt_result=$? + if test -s conftest.err && $GREP force_load conftest.err; then + cat conftest.err >&AS_MESSAGE_LOG_FD + elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then + lt_cv_ld_force_load=yes + else + cat conftest.err >&AS_MESSAGE_LOG_FD + fi + rm -f conftest.err libconftest.a conftest conftest.c + rm -rf conftest.dSYM + ]) + case $host_os in + rhapsody* | darwin1.[[012]]) + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; + darwin1.*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + darwin*) # darwin 5.x on + # if running on 10.5 or later, the deployment target defaults + # to the OS version, if on x86, and 10.4, the deployment + # target defaults to 10.4. Don't you love it? + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in + 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + 10.[[012]]*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + 10.*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + esac + ;; + esac + if test "$lt_cv_apple_cc_single_mod" = "yes"; then + _lt_dar_single_mod='$single_module' + fi + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' + else + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then + _lt_dsymutil='~$DSYMUTIL $lib || :' + else + _lt_dsymutil= + fi + ;; + esac +]) + + +# _LT_DARWIN_LINKER_FEATURES([TAG]) +# --------------------------------- +# Checks for linker and compiler features on darwin +m4_defun([_LT_DARWIN_LINKER_FEATURES], +[ + m4_require([_LT_REQUIRED_DARWIN_CHECKS]) + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_automatic, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + if test "$lt_cv_ld_force_load" = "yes"; then + _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' + m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes], + [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes]) + else + _LT_TAGVAR(whole_archive_flag_spec, $1)='' + fi + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" + case $cc_basename in + ifort*) _lt_dar_can_shared=yes ;; + *) _lt_dar_can_shared=$GCC ;; + esac + if test "$_lt_dar_can_shared" = "yes"; then + output_verbose_link_cmd=func_echo_all + _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" + _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" + _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" + _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + m4_if([$1], [CXX], +[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then + _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" + _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" + fi +],[]) + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi +]) + +# _LT_SYS_MODULE_PATH_AIX([TAGNAME]) +# ---------------------------------- +# Links a minimal program and checks the executable +# for the system default hardcoded library path. In most cases, +# this is /usr/lib:/lib, but when the MPI compilers are used +# the location of the communication and MPI libs are included too. +# If we don't find anything, use the default library path according +# to the aix ld manual. +# Store the results from the different compilers for each TAGNAME. +# Allow to override them for all tags through lt_cv_aix_libpath. +m4_defun([_LT_SYS_MODULE_PATH_AIX], +[m4_require([_LT_DECL_SED])dnl +if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])], + [AC_LINK_IFELSE([AC_LANG_PROGRAM],[ + lt_aix_libpath_sed='[ + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }]' + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi],[]) + if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib" + fi + ]) + aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1]) +fi +])# _LT_SYS_MODULE_PATH_AIX + + +# _LT_SHELL_INIT(ARG) +# ------------------- +m4_define([_LT_SHELL_INIT], +[m4_divert_text([M4SH-INIT], [$1 +])])# _LT_SHELL_INIT + + + +# _LT_PROG_ECHO_BACKSLASH +# ----------------------- +# Find how we can fake an echo command that does not interpret backslash. +# In particular, with Autoconf 2.60 or later we add some code to the start +# of the generated configure script which will find a shell with a builtin +# printf (which we can use as an echo command). +m4_defun([_LT_PROG_ECHO_BACKSLASH], +[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + +AC_MSG_CHECKING([how to print strings]) +# Test print first, because it will be a builtin if present. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='print -r --' +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='printf %s\n' +else + # Use this function as a fallback that always works. + func_fallback_echo () + { + eval 'cat <<_LTECHO_EOF +$[]1 +_LTECHO_EOF' + } + ECHO='func_fallback_echo' +fi + +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "$*" +} + +case "$ECHO" in + printf*) AC_MSG_RESULT([printf]) ;; + print*) AC_MSG_RESULT([print -r]) ;; + *) AC_MSG_RESULT([cat]) ;; +esac + +m4_ifdef([_AS_DETECT_SUGGESTED], +[_AS_DETECT_SUGGESTED([ + test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || ( + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + PATH=/empty FPATH=/empty; export PATH FPATH + test "X`printf %s $ECHO`" = "X$ECHO" \ + || test "X`print -r -- $ECHO`" = "X$ECHO" )])]) + +_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) +_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes]) +])# _LT_PROG_ECHO_BACKSLASH + + +# _LT_WITH_SYSROOT +# ---------------- +AC_DEFUN([_LT_WITH_SYSROOT], +[AC_MSG_CHECKING([for sysroot]) +AC_ARG_WITH([sysroot], +[ --with-sysroot[=DIR] Search for dependent libraries within DIR + (or the compiler's sysroot if not specified).], +[], [with_sysroot=no]) + +dnl lt_sysroot will always be passed unquoted. We quote it here +dnl in case the user passed a directory name. +lt_sysroot= +case ${with_sysroot} in #( + yes) + if test "$GCC" = yes; then + lt_sysroot=`$CC --print-sysroot 2>/dev/null` + fi + ;; #( + /*) + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` + ;; #( + no|'') + ;; #( + *) + AC_MSG_RESULT([${with_sysroot}]) + AC_MSG_ERROR([The sysroot must be an absolute path.]) + ;; +esac + + AC_MSG_RESULT([${lt_sysroot:-no}]) +_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl +[dependent libraries, and in which our libraries should be installed.])]) + +# _LT_ENABLE_LOCK +# --------------- +m4_defun([_LT_ENABLE_LOCK], +[AC_ARG_ENABLE([libtool-lock], + [AS_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ +s390*-*linux*|s390*-*tpf*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.o` in + *32-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_i386_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*|powerpc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_x86_64_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*|s390*-*tpf*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, + [AC_LANG_PUSH(C) + AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) + AC_LANG_POP]) + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +*-*solaris*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.o` in + *64-bit*) + case $lt_cv_prog_gnu_ld in + yes*) + case $host in + i?86-*-solaris*) + LD="${LD-ld} -m elf_x86_64" + ;; + sparc*-*-solaris*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + # GNU ld 2.21 introduced _sol2 emulations. Use them if available. + if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then + LD="${LD-ld}_sol2" + fi + ;; + *) + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then + LD="${LD-ld} -64" + fi + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; +esac + +need_locks="$enable_libtool_lock" +])# _LT_ENABLE_LOCK + + +# _LT_PROG_AR +# ----------- +m4_defun([_LT_PROG_AR], +[AC_CHECK_TOOLS(AR, [ar], false) +: ${AR=ar} +: ${AR_FLAGS=cru} +_LT_DECL([], [AR], [1], [The archiver]) +_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) + +AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], + [lt_cv_ar_at_file=no + AC_COMPILE_IFELSE([AC_LANG_PROGRAM], + [echo conftest.$ac_objext > conftest.lst + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD' + AC_TRY_EVAL([lt_ar_try]) + if test "$ac_status" -eq 0; then + # Ensure the archiver fails upon bogus file names. + rm -f conftest.$ac_objext libconftest.a + AC_TRY_EVAL([lt_ar_try]) + if test "$ac_status" -ne 0; then + lt_cv_ar_at_file=@ + fi + fi + rm -f conftest.* libconftest.a + ]) + ]) + +if test "x$lt_cv_ar_at_file" = xno; then + archiver_list_spec= +else + archiver_list_spec=$lt_cv_ar_at_file +fi +_LT_DECL([], [archiver_list_spec], [1], + [How to feed a file listing to the archiver]) +])# _LT_PROG_AR + + +# _LT_CMD_OLD_ARCHIVE +# ------------------- +m4_defun([_LT_CMD_OLD_ARCHIVE], +[_LT_PROG_AR + +AC_CHECK_TOOL(STRIP, strip, :) +test -z "$STRIP" && STRIP=: +_LT_DECL([], [STRIP], [1], [A symbol stripping program]) + +AC_CHECK_TOOL(RANLIB, ranlib, :) +test -z "$RANLIB" && RANLIB=: +_LT_DECL([], [RANLIB], [1], + [Commands used to install an old-style archive]) + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" + ;; + *) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" +fi + +case $host_os in + darwin*) + lock_old_archive_extraction=yes ;; + *) + lock_old_archive_extraction=no ;; +esac +_LT_DECL([], [old_postinstall_cmds], [2]) +_LT_DECL([], [old_postuninstall_cmds], [2]) +_LT_TAGDECL([], [old_archive_cmds], [2], + [Commands used to build an old-style archive]) +_LT_DECL([], [lock_old_archive_extraction], [0], + [Whether to use a lock for old archive extraction]) +])# _LT_CMD_OLD_ARCHIVE + + +# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------------------- +# Check whether the given compiler option works +AC_DEFUN([_LT_COMPILER_OPTION], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_SED])dnl +AC_CACHE_CHECK([$1], [$2], + [$2=no + m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$3" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + $2=yes + fi + fi + $RM conftest* +]) + +if test x"[$]$2" = xyes; then + m4_if([$5], , :, [$5]) +else + m4_if([$6], , :, [$6]) +fi +])# _LT_COMPILER_OPTION + +# Old name: +AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) + + +# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------- +# Check whether the given linker option works +AC_DEFUN([_LT_LINKER_OPTION], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_SED])dnl +AC_CACHE_CHECK([$1], [$2], + [$2=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $3" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&AS_MESSAGE_LOG_FD + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + $2=yes + fi + else + $2=yes + fi + fi + $RM -r conftest* + LDFLAGS="$save_LDFLAGS" +]) + +if test x"[$]$2" = xyes; then + m4_if([$4], , :, [$4]) +else + m4_if([$5], , :, [$5]) +fi +])# _LT_LINKER_OPTION + +# Old name: +AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) + + +# LT_CMD_MAX_LEN +#--------------- +AC_DEFUN([LT_CMD_MAX_LEN], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +# find the maximum length of command line arguments +AC_MSG_CHECKING([the maximum length of command line arguments]) +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl + i=0 + teststring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw* | cegcc*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + mint*) + # On MiNT this can take a long time and run out of memory. + lt_cv_sys_max_cmd_len=8192; + ;; + + amigaos*) + # On AmigaOS with pdksh, this test takes hours, literally. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; + ;; + + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + ;; + + interix*) + # We know the value 262144 and hardcode it with a safety zone (like BSD) + lt_cv_sys_max_cmd_len=196608 + ;; + + os2*) + # The test takes a long time on OS/2. + lt_cv_sys_max_cmd_len=8192 + ;; + + osf*) + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not + # nice to cause kernel panics so lets avoid the loop below. + # First set a reasonable default. + lt_cv_sys_max_cmd_len=16384 + # + if test -x /sbin/sysconfig; then + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in + *1*) lt_cv_sys_max_cmd_len=-1 ;; + esac + fi + ;; + sco3.2v5*) + lt_cv_sys_max_cmd_len=102400 + ;; + sysv5* | sco5v6* | sysv4.2uw2*) + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` + if test -n "$kargmax"; then + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` + else + lt_cv_sys_max_cmd_len=32768 + fi + ;; + *) + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` + if test -n "$lt_cv_sys_max_cmd_len"; then + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + else + # Make teststring a little bigger before we do anything with it. + # a 1K string should be a reasonable start. + for i in 1 2 3 4 5 6 7 8 ; do + teststring=$teststring$teststring + done + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ + = "X$teststring$teststring"; } >/dev/null 2>&1 && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + teststring=$teststring$teststring + done + # Only check the string length outside the loop. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` + teststring= + # Add a significant safety factor because C++ compilers can tack on + # massive amounts of additional arguments before passing them to the + # linker. It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + fi + ;; + esac +]) +if test -n $lt_cv_sys_max_cmd_len ; then + AC_MSG_RESULT($lt_cv_sys_max_cmd_len) +else + AC_MSG_RESULT(none) +fi +max_cmd_len=$lt_cv_sys_max_cmd_len +_LT_DECL([], [max_cmd_len], [0], + [What is the maximum length of a command?]) +])# LT_CMD_MAX_LEN + +# Old name: +AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) + + +# _LT_HEADER_DLFCN +# ---------------- +m4_defun([_LT_HEADER_DLFCN], +[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl +])# _LT_HEADER_DLFCN + + +# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) +# ---------------------------------------------------------------- +m4_defun([_LT_TRY_DLOPEN_SELF], +[m4_require([_LT_HEADER_DLFCN])dnl +if test "$cross_compiling" = yes; then : + [$4] +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +[#line $LINENO "configure" +#include "confdefs.h" + +#if HAVE_DLFCN_H +#include <dlfcn.h> +#endif + +#include <stdio.h> + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif + +int fnord () { return 42; } +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } + /* dlclose (self); */ + } + else + puts (dlerror ()); + + return status; +}] +_LT_EOF + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) $1 ;; + x$lt_dlneed_uscore) $2 ;; + x$lt_dlunknown|x*) $3 ;; + esac + else : + # compilation failed + $3 + fi +fi +rm -fr conftest* +])# _LT_TRY_DLOPEN_SELF + + +# LT_SYS_DLOPEN_SELF +# ------------------ +AC_DEFUN([LT_SYS_DLOPEN_SELF], +[m4_require([_LT_HEADER_DLFCN])dnl +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32* | cegcc*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ]) + ;; + + *) + AC_CHECK_FUNC([shl_load], + [lt_cv_dlopen="shl_load"], + [AC_CHECK_LIB([dld], [shl_load], + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], + [AC_CHECK_FUNC([dlopen], + [lt_cv_dlopen="dlopen"], + [AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], + [AC_CHECK_LIB([svld], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], + [AC_CHECK_LIB([dld], [dld_link], + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) + ]) + ]) + ]) + ]) + ]) + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + AC_CACHE_CHECK([whether a program can dlopen itself], + lt_cv_dlopen_self, [dnl + _LT_TRY_DLOPEN_SELF( + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) + ]) + + if test "x$lt_cv_dlopen_self" = xyes; then + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" + AC_CACHE_CHECK([whether a statically linked program can dlopen itself], + lt_cv_dlopen_self_static, [dnl + _LT_TRY_DLOPEN_SELF( + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) + ]) + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi +_LT_DECL([dlopen_support], [enable_dlopen], [0], + [Whether dlopen is supported]) +_LT_DECL([dlopen_self], [enable_dlopen_self], [0], + [Whether dlopen of programs is supported]) +_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], + [Whether dlopen of statically linked programs is supported]) +])# LT_SYS_DLOPEN_SELF + +# Old name: +AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) + + +# _LT_COMPILER_C_O([TAGNAME]) +# --------------------------- +# Check to see if options -c and -o are simultaneously supported by compiler. +# This macro does not hard code the compiler like AC_PROG_CC_C_O. +m4_defun([_LT_COMPILER_C_O], +[m4_require([_LT_DECL_SED])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_TAG_COMPILER])dnl +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + fi + fi + chmod u+w . 2>&AS_MESSAGE_LOG_FD + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* +]) +_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], + [Does compiler simultaneously support -c and -o options?]) +])# _LT_COMPILER_C_O + + +# _LT_COMPILER_FILE_LOCKS([TAGNAME]) +# ---------------------------------- +# Check to see if we can do hard links to lock some files if needed +m4_defun([_LT_COMPILER_FILE_LOCKS], +[m4_require([_LT_ENABLE_LOCK])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +_LT_COMPILER_C_O([$1]) + +hard_links="nottested" +if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + AC_MSG_CHECKING([if we can lock with hard links]) + hard_links=yes + $RM conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + AC_MSG_RESULT([$hard_links]) + if test "$hard_links" = no; then + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) + need_locks=warn + fi +else + need_locks=no +fi +_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) +])# _LT_COMPILER_FILE_LOCKS + + +# _LT_CHECK_OBJDIR +# ---------------- +m4_defun([_LT_CHECK_OBJDIR], +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], +[rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null]) +objdir=$lt_cv_objdir +_LT_DECL([], [objdir], [0], + [The name of the directory that contains temporary libtool files])dnl +m4_pattern_allow([LT_OBJDIR])dnl +AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/", + [Define to the sub-directory in which libtool stores uninstalled libraries.]) +])# _LT_CHECK_OBJDIR + + +# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) +# -------------------------------------- +# Check hardcoding attributes. +m4_defun([_LT_LINKER_HARDCODE_LIBPATH], +[AC_MSG_CHECKING([how to hardcode library paths into programs]) +_LT_TAGVAR(hardcode_action, $1)= +if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || + test -n "$_LT_TAGVAR(runpath_var, $1)" || + test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then + + # We can hardcode non-existent directories. + if test "$_LT_TAGVAR(hardcode_direct, $1)" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no && + test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then + # Linking always hardcodes the temporary library directory. + _LT_TAGVAR(hardcode_action, $1)=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + _LT_TAGVAR(hardcode_action, $1)=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + _LT_TAGVAR(hardcode_action, $1)=unsupported +fi +AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) + +if test "$_LT_TAGVAR(hardcode_action, $1)" = relink || + test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi +_LT_TAGDECL([], [hardcode_action], [0], + [How to hardcode a shared library path into an executable]) +])# _LT_LINKER_HARDCODE_LIBPATH + + +# _LT_CMD_STRIPLIB +# ---------------- +m4_defun([_LT_CMD_STRIPLIB], +[m4_require([_LT_DECL_EGREP]) +striplib= +old_striplib= +AC_MSG_CHECKING([whether stripping libraries is possible]) +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + AC_MSG_RESULT([yes]) +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + old_striplib="$STRIP -S" + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + fi + ;; + *) + AC_MSG_RESULT([no]) + ;; + esac +fi +_LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) +_LT_DECL([], [striplib], [1]) +])# _LT_CMD_STRIPLIB + + +# _LT_SYS_DYNAMIC_LINKER([TAG]) +# ----------------------------- +# PORTME Fill in your ld.so characteristics +m4_defun([_LT_SYS_DYNAMIC_LINKER], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_OBJDUMP])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_CHECK_SHELL_FEATURES])dnl +AC_MSG_CHECKING([dynamic linker characteristics]) +m4_if([$1], + [], [ +if test "$GCC" = yes; then + case $host_os in + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; + *) lt_awk_arg="/^libraries:/" ;; + esac + case $host_os in + mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;; + *) lt_sed_strip_eq="s,=/,/,g" ;; + esac + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` + case $lt_search_path_spec in + *\;*) + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` + ;; + *) + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` + ;; + esac + # Ok, now we have the path, separated by spaces, we can step through it + # and add multilib dir if necessary. + lt_tmp_lt_search_path_spec= + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` + for lt_sys_path in $lt_search_path_spec; do + if test -d "$lt_sys_path/$lt_multi_os_dir"; then + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" + else + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' +BEGIN {RS=" "; FS="/|\n";} { + lt_foo=""; + lt_count=0; + for (lt_i = NF; lt_i > 0; lt_i--) { + if ($lt_i != "" && $lt_i != ".") { + if ($lt_i == "..") { + lt_count++; + } else { + if (lt_count == 0) { + lt_foo="/" $lt_i lt_foo; + } else { + lt_count--; + } + } + } + } + if (lt_foo != "") { lt_freq[[lt_foo]]++; } + if (lt_freq[[lt_foo]] == 1) { print lt_foo; } +}'` + # AWK program above erroneously prepends '/' to C:/dos/paths + # for these hosts. + case $host_os in + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ + $SED 's,/\([[A-Za-z]]:\),\1,g'` ;; + esac + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi]) +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix[[4-9]]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[[01]] | aix4.[[01]].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib<name>.so + # instead of lib<name>.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + case $host_cpu in + powerpc) + # Since July 2007 AmigaOS4 officially supports .so libraries. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + ;; + m68k) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + esac + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[[45]]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32* | cegcc*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$cc_basename in + yes,*) + # gcc + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; + fi' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' +m4_if([$1], [],[ + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + ;; + esac + dynamic_linker='Win32 ld.exe' + ;; + + *,cl*) + # Native MSVC + libname_spec='$name' + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + library_names_spec='${libname}.dll.lib' + + case $build_os in + mingw*) + sys_lib_search_path_spec= + lt_save_ifs=$IFS + IFS=';' + for lt_path in $LIB + do + IFS=$lt_save_ifs + # Let DOS variable expansion print the short 8.3 style file name. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" + done + IFS=$lt_save_ifs + # Convert to MSYS style. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'` + ;; + cygwin*) + # Convert to unix form, then to dos form, then back to unix form + # but this time dos style (no spaces!) so that the unix form looks + # like /cygdrive/c/PROGRA~1:/cygdr... + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + ;; + *) + sys_lib_search_path_spec="$LIB" + if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then + # It is most probably a Windows format PATH. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # FIXME: find the short name or the path components, as spaces are + # common. (e.g. "Program Files" -> "PROGRA~1") + ;; + esac + + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + dynamic_linker='Win32 link.exe' + ;; + + *) + # Assume MSVC wrapper + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' + dynamic_linker='Win32 ld.exe' + ;; + esac + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' +m4_if([$1], [],[ + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[[23]].*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2.*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[[01]]* | freebsdelf3.[[01]]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +haiku*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + dynamic_linker="$host_os runtime_loader" + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LIBRARY_PATH + shlibpath_overrides_runpath=yes + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555, ... + postinstall_cmds='chmod 555 $lib' + # or fails outright, so override atomically: + install_override_mode=555 + ;; + +interix[[3-9]]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux # correct to gnu/linux during the next big refactor + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + + # Some binutils ld are patched to set DT_RUNPATH + AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath], + [lt_cv_shlibpath_overrides_runpath=no + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ + LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], + [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], + [lt_cv_shlibpath_overrides_runpath=yes])]) + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + ]) + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath + + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # Add ABI-specific directories to the system library path. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" + + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +*nto* | *qnx*) + version_type=qnx + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='ldqnx.so' + ;; + +openbsd*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[[89]] | openbsd2.[[89]].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=freebsd-elf + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + if test "$with_gnu_ld" = yes; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +tpf*) + # TPF is a cross-target only. Preferred cross-host = GNU/Linux. + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +uts4*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +AC_MSG_RESULT([$dynamic_linker]) +test "$dynamic_linker" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" +fi +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" +fi + +_LT_DECL([], [variables_saved_for_relink], [1], + [Variables whose values should be saved in libtool wrapper scripts and + restored at link time]) +_LT_DECL([], [need_lib_prefix], [0], + [Do we need the "lib" prefix for modules?]) +_LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) +_LT_DECL([], [version_type], [0], [Library versioning type]) +_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) +_LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) +_LT_DECL([], [shlibpath_overrides_runpath], [0], + [Is shlibpath searched before the hard-coded library search path?]) +_LT_DECL([], [libname_spec], [1], [Format of library name prefix]) +_LT_DECL([], [library_names_spec], [1], + [[List of archive names. First name is the real one, the rest are links. + The last name is the one that the linker finds with -lNAME]]) +_LT_DECL([], [soname_spec], [1], + [[The coded name of the library, if different from the real name]]) +_LT_DECL([], [install_override_mode], [1], + [Permission mode override for installation of shared libraries]) +_LT_DECL([], [postinstall_cmds], [2], + [Command to use after installation of a shared archive]) +_LT_DECL([], [postuninstall_cmds], [2], + [Command to use after uninstallation of a shared archive]) +_LT_DECL([], [finish_cmds], [2], + [Commands used to finish a libtool library installation in a directory]) +_LT_DECL([], [finish_eval], [1], + [[As "finish_cmds", except a single script fragment to be evaled but + not shown]]) +_LT_DECL([], [hardcode_into_libs], [0], + [Whether we should hardcode library paths into libraries]) +_LT_DECL([], [sys_lib_search_path_spec], [2], + [Compile-time system search path for libraries]) +_LT_DECL([], [sys_lib_dlsearch_path_spec], [2], + [Run-time system search path for libraries]) +])# _LT_SYS_DYNAMIC_LINKER + + +# _LT_PATH_TOOL_PREFIX(TOOL) +# -------------------------- +# find a file program which can recognize shared library +AC_DEFUN([_LT_PATH_TOOL_PREFIX], +[m4_require([_LT_DECL_EGREP])dnl +AC_MSG_CHECKING([for $1]) +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, +[case $MAGIC_CMD in +[[\\/*] | ?:[\\/]*]) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR +dnl $ac_dummy forces splitting on constant user-supplied paths. +dnl POSIX.2 word splitting is done only on the output of word expansions, +dnl not every word. This closes a longstanding sh security hole. + ac_dummy="m4_if([$2], , $PATH, [$2])" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$1; then + lt_cv_path_MAGIC_CMD="$ac_dir/$1" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<_LT_EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +_LT_EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac]) +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + AC_MSG_RESULT($MAGIC_CMD) +else + AC_MSG_RESULT(no) +fi +_LT_DECL([], [MAGIC_CMD], [0], + [Used to examine libraries when file_magic_cmd begins with "file"])dnl +])# _LT_PATH_TOOL_PREFIX + +# Old name: +AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) + + +# _LT_PATH_MAGIC +# -------------- +# find a file program which can recognize a shared library +m4_defun([_LT_PATH_MAGIC], +[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) + else + MAGIC_CMD=: + fi +fi +])# _LT_PATH_MAGIC + + +# LT_PATH_LD +# ---------- +# find the pathname to the GNU or non-GNU linker +AC_DEFUN([LT_PATH_LD], +[AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_PROG_ECHO_BACKSLASH])dnl + +AC_ARG_WITH([gnu-ld], + [AS_HELP_STRING([--with-gnu-ld], + [assume the C compiler uses GNU ld @<:@default=no@:>@])], + [test "$withval" = no || with_gnu_ld=yes], + [with_gnu_ld=no])dnl + +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + AC_MSG_CHECKING([for ld used by $CC]) + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [[\\/]]* | ?:[[\\/]]*) + re_direlt='/[[^/]][[^/]]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + AC_MSG_CHECKING([for GNU ld]) +else + AC_MSG_CHECKING([for non-GNU ld]) +fi +AC_CACHE_VAL(lt_cv_path_LD, +[if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in + *GNU* | *'with BFD'*) + test "$with_gnu_ld" != no && break + ;; + *) + test "$with_gnu_ld" != yes && break + ;; + esac + fi + done + IFS="$lt_save_ifs" +else + lt_cv_path_LD="$LD" # Let the user override the test with a path. +fi]) +LD="$lt_cv_path_LD" +if test -n "$LD"; then + AC_MSG_RESULT($LD) +else + AC_MSG_RESULT(no) +fi +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) +_LT_PATH_LD_GNU +AC_SUBST([LD]) + +_LT_TAGDECL([], [LD], [1], [The linker used to build libraries]) +])# LT_PATH_LD + +# Old names: +AU_ALIAS([AM_PROG_LD], [LT_PATH_LD]) +AU_ALIAS([AC_PROG_LD], [LT_PATH_LD]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_PROG_LD], []) +dnl AC_DEFUN([AC_PROG_LD], []) + + +# _LT_PATH_LD_GNU +#- -------------- +m4_defun([_LT_PATH_LD_GNU], +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, +[# I'd rather use --version here, but apparently some GNU lds only accept -v. +case `$LD -v 2>&1 </dev/null` in +*GNU* | *'with BFD'*) + lt_cv_prog_gnu_ld=yes + ;; +*) + lt_cv_prog_gnu_ld=no + ;; +esac]) +with_gnu_ld=$lt_cv_prog_gnu_ld +])# _LT_PATH_LD_GNU + + +# _LT_CMD_RELOAD +# -------------- +# find reload flag for linker +# -- PORTME Some linkers may need a different reload flag. +m4_defun([_LT_CMD_RELOAD], +[AC_CACHE_CHECK([for $LD option to reload object files], + lt_cv_ld_reload_flag, + [lt_cv_ld_reload_flag='-r']) +reload_flag=$lt_cv_ld_reload_flag +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' +case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + if test "$GCC" != yes; then + reload_cmds=false + fi + ;; + darwin*) + if test "$GCC" = yes; then + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' + else + reload_cmds='$LD$reload_flag -o $output$reload_objs' + fi + ;; +esac +_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl +_LT_TAGDECL([], [reload_cmds], [2])dnl +])# _LT_CMD_RELOAD + + +# _LT_CHECK_MAGIC_METHOD +# ---------------------- +# how to check for library dependencies +# -- PORTME fill in with the dynamic library characteristics +m4_defun([_LT_CHECK_MAGIC_METHOD], +[m4_require([_LT_DECL_EGREP]) +m4_require([_LT_DECL_OBJDUMP]) +AC_CACHE_CHECK([how to recognize dependent libraries], +lt_cv_deplibs_check_method, +[lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_deplibs_check_method='unknown' +# Need to set the preceding variable on all platforms that support +# interlibrary dependencies. +# 'none' -- dependencies not supported. +# `unknown' -- same as none, but documents that we really don't know. +# 'pass_all' -- all dependencies passed with no checks. +# 'test_compile' -- check by making test program. +# 'file_magic [[regex]]' -- check by looking for files in library path +# which responds to the $file_magic_cmd with a given extended regex. +# If you have `file' or equivalent on your system and you're not sure +# whether `pass_all' will *always* work, you probably want this one. + +case $host_os in +aix[[4-9]]*) + lt_cv_deplibs_check_method=pass_all + ;; + +beos*) + lt_cv_deplibs_check_method=pass_all + ;; + +bsdi[[45]]*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' + lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_test_file=/shlib/libc.so + ;; + +cygwin*) + # func_win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + ;; + +mingw* | pw32*) + # Base MSYS/MinGW do not provide the 'file' command needed by + # func_win32_libid shell function, so use a weaker test based on 'objdump', + # unless we find 'file', for example because we are cross-compiling. + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. + if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + else + # Keep this pattern in sync with the one in func_win32_libid. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' + lt_cv_file_magic_cmd='$OBJDUMP -f' + fi + ;; + +cegcc*) + # use the weaker test based on 'objdump'. See mingw*. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + ;; + +darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +freebsd* | dragonfly*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +haiku*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case $host_cpu in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'] + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac + ;; + +interix[[3-9]]*) + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' + ;; + +irix5* | irix6* | nonstopux*) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + lt_cv_deplibs_check_method=pass_all + ;; + +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + lt_cv_deplibs_check_method=pass_all + ;; + +netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' + fi + ;; + +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +*nto* | *qnx*) + lt_cv_deplibs_check_method=pass_all + ;; + +openbsd*) + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + fi + ;; + +osf3* | osf4* | osf5*) + lt_cv_deplibs_check_method=pass_all + ;; + +rdos*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv4 | sysv4.3*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; + pc) + lt_cv_deplibs_check_method=pass_all + ;; + esac + ;; + +tpf*) + lt_cv_deplibs_check_method=pass_all + ;; +esac +]) + +file_magic_glob= +want_nocaseglob=no +if test "$build" = "$host"; then + case $host_os in + mingw* | pw32*) + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then + want_nocaseglob=yes + else + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"` + fi + ;; + esac +fi + +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown + +_LT_DECL([], [deplibs_check_method], [1], + [Method to check whether dependent libraries are shared objects]) +_LT_DECL([], [file_magic_cmd], [1], + [Command to use when deplibs_check_method = "file_magic"]) +_LT_DECL([], [file_magic_glob], [1], + [How to find potential files when deplibs_check_method = "file_magic"]) +_LT_DECL([], [want_nocaseglob], [1], + [Find potential files using nocaseglob when deplibs_check_method = "file_magic"]) +])# _LT_CHECK_MAGIC_METHOD + + +# LT_PATH_NM +# ---------- +# find the pathname to a BSD- or MS-compatible name lister +AC_DEFUN([LT_PATH_NM], +[AC_REQUIRE([AC_PROG_CC])dnl +AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, +[if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_nm_to_check="${ac_tool_prefix}nm" + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then + lt_nm_to_check="$lt_nm_to_check nm" + fi + for lt_tmp_nm in $lt_nm_to_check; do + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/$lt_tmp_nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + ;; + esac + fi + done + IFS="$lt_save_ifs" + done + : ${lt_cv_path_NM=no} +fi]) +if test "$lt_cv_path_NM" != "no"; then + NM="$lt_cv_path_NM" +else + # Didn't find any BSD compatible name lister, look for dumpbin. + if test -n "$DUMPBIN"; then : + # Let the user override the test. + else + AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in + *COFF*) + DUMPBIN="$DUMPBIN -symbols" + ;; + *) + DUMPBIN=: + ;; + esac + fi + AC_SUBST([DUMPBIN]) + if test "$DUMPBIN" != ":"; then + NM="$DUMPBIN" + fi +fi +test -z "$NM" && NM=nm +AC_SUBST([NM]) +_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl + +AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], + [lt_cv_nm_interface="BSD nm" + echo "int some_variable = 0;" > conftest.$ac_ext + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$ac_compile" 2>conftest.err) + cat conftest.err >&AS_MESSAGE_LOG_FD + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) + cat conftest.err >&AS_MESSAGE_LOG_FD + (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD) + cat conftest.out >&AS_MESSAGE_LOG_FD + if $GREP 'External.*some_variable' conftest.out > /dev/null; then + lt_cv_nm_interface="MS dumpbin" + fi + rm -f conftest*]) +])# LT_PATH_NM + +# Old names: +AU_ALIAS([AM_PROG_NM], [LT_PATH_NM]) +AU_ALIAS([AC_PROG_NM], [LT_PATH_NM]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_PROG_NM], []) +dnl AC_DEFUN([AC_PROG_NM], []) + +# _LT_CHECK_SHAREDLIB_FROM_LINKLIB +# -------------------------------- +# how to determine the name of the shared library +# associated with a specific link library. +# -- PORTME fill in with the dynamic library characteristics +m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB], +[m4_require([_LT_DECL_EGREP]) +m4_require([_LT_DECL_OBJDUMP]) +m4_require([_LT_DECL_DLLTOOL]) +AC_CACHE_CHECK([how to associate runtime and link libraries], +lt_cv_sharedlib_from_linklib_cmd, +[lt_cv_sharedlib_from_linklib_cmd='unknown' + +case $host_os in +cygwin* | mingw* | pw32* | cegcc*) + # two different shell functions defined in ltmain.sh + # decide which to use based on capabilities of $DLLTOOL + case `$DLLTOOL --help 2>&1` in + *--identify-strict*) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib + ;; + *) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback + ;; + esac + ;; +*) + # fallback: assume linklib IS sharedlib + lt_cv_sharedlib_from_linklib_cmd="$ECHO" + ;; +esac +]) +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO + +_LT_DECL([], [sharedlib_from_linklib_cmd], [1], + [Command to associate shared and link libraries]) +])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB + + +# _LT_PATH_MANIFEST_TOOL +# ---------------------- +# locate the manifest tool +m4_defun([_LT_PATH_MANIFEST_TOOL], +[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :) +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt +AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool], + [lt_cv_path_mainfest_tool=no + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out + cat conftest.err >&AS_MESSAGE_LOG_FD + if $GREP 'Manifest Tool' conftest.out > /dev/null; then + lt_cv_path_mainfest_tool=yes + fi + rm -f conftest*]) +if test "x$lt_cv_path_mainfest_tool" != xyes; then + MANIFEST_TOOL=: +fi +_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl +])# _LT_PATH_MANIFEST_TOOL + + +# LT_LIB_M +# -------- +# check for math library +AC_DEFUN([LT_LIB_M], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +LIBM= +case $host in +*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) + # These system don't have libm, or don't need it + ;; +*-ncr-sysv4.3*) + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") + ;; +*) + AC_CHECK_LIB(m, cos, LIBM="-lm") + ;; +esac +AC_SUBST([LIBM]) +])# LT_LIB_M + +# Old name: +AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_CHECK_LIBM], []) + + +# _LT_COMPILER_NO_RTTI([TAGNAME]) +# ------------------------------- +m4_defun([_LT_COMPILER_NO_RTTI], +[m4_require([_LT_TAG_COMPILER])dnl + +_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= + +if test "$GCC" = yes; then + case $cc_basename in + nvcc*) + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;; + *) + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;; + esac + + _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], + lt_cv_prog_compiler_rtti_exceptions, + [-fno-rtti -fno-exceptions], [], + [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) +fi +_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1], + [Compiler flag to turn off builtin functions]) +])# _LT_COMPILER_NO_RTTI + + +# _LT_CMD_GLOBAL_SYMBOLS +# ---------------------- +m4_defun([_LT_CMD_GLOBAL_SYMBOLS], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([LT_PATH_NM])dnl +AC_REQUIRE([LT_PATH_LD])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_TAG_COMPILER])dnl + +# Check for command to grab the raw symbol name followed by C symbol from nm. +AC_MSG_CHECKING([command to parse $NM output from $compiler object]) +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], +[ +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[[BCDEGRST]]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[[BCDT]]' + ;; +cygwin* | mingw* | pw32* | cegcc*) + symcode='[[ABCDGISTW]]' + ;; +hpux*) + if test "$host_cpu" = ia64; then + symcode='[[ABCDEGRST]]' + fi + ;; +irix* | nonstopux*) + symcode='[[BCDEGRST]]' + ;; +osf*) + symcode='[[BCDEGQRST]]' + ;; +solaris*) + symcode='[[BDRT]]' + ;; +sco3.2v5*) + symcode='[[DT]]' + ;; +sysv4.2uw2*) + symcode='[[DT]]' + ;; +sysv5* | sco5v6* | unixware* | OpenUNIX*) + symcode='[[ABDT]]' + ;; +sysv4) + symcode='[[DFNSTU]]' + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[[ABCDGIRSTW]]' ;; +esac + +# Transform an extracted symbol line into a proper C declaration. +# Some systems (esp. on ia64) link data and code symbols differently, +# so use this general approach. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'" +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'" + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# Try without a prefix underscore, then with it. +for ac_symprfx in "" "_"; do + + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. + symxfrm="\\1 $ac_symprfx\\2 \\2" + + # Write the raw and C identifiers. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then + # Fake it for dumpbin and say T for any non-static function + # and D for any global variable. + # Also find C++ and __fastcall symbols from MSVC++, + # which start with @ or ?. + lt_cv_sys_global_symbol_pipe="$AWK ['"\ +" {last_section=section; section=\$ 3};"\ +" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ +" \$ 0!~/External *\|/{next};"\ +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ +" {if(hide[section]) next};"\ +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ +" s[1]~/^[@?]/{print s[1], s[1]; next};"\ +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ +" ' prfx=^$ac_symprfx]" + else + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" + fi + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext <<_LT_EOF +#ifdef __cplusplus +extern "C" { +#endif +char nm_test_var; +void nm_test_func(void); +void nm_test_func(void){} +#ifdef __cplusplus +} +#endif +int main(){nm_test_var='a';nm_test_func();return(0);} +_LT_EOF + + if AC_TRY_EVAL(ac_compile); then + # Now try to grab the symbols. + nlist=conftest.nm + if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then + cat <<_LT_EOF > conftest.$ac_ext +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) +/* DATA imports from DLLs on WIN32 con't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT@&t@_DLSYM_CONST +#elif defined(__osf__) +/* This system does not cope well with relocations in const data. */ +# define LT@&t@_DLSYM_CONST +#else +# define LT@&t@_DLSYM_CONST const +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +_LT_EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' + + cat <<_LT_EOF >> conftest.$ac_ext + +/* The mapping between symbol names and symbols. */ +LT@&t@_DLSYM_CONST struct { + const char *name; + void *address; +} +lt__PROGRAM__LTX_preloaded_symbols[[]] = +{ + { "@PROGRAM@", (void *) 0 }, +_LT_EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext + cat <<\_LT_EOF >> conftest.$ac_ext + {0, (void *) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt__PROGRAM__LTX_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif +_LT_EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_globsym_save_LIBS=$LIBS + lt_globsym_save_CFLAGS=$CFLAGS + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS=$lt_globsym_save_LIBS + CFLAGS=$lt_globsym_save_CFLAGS + else + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD + fi + else + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.$ac_ext >&5 + fi + rm -rf conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done +]) +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + AC_MSG_RESULT(failed) +else + AC_MSG_RESULT(ok) +fi + +# Response file support. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then + nm_file_list_spec='@' +elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then + nm_file_list_spec='@' +fi + +_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], + [Take the output of nm and produce a listing of raw symbols and C names]) +_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], + [Transform the output of nm in a proper C declaration]) +_LT_DECL([global_symbol_to_c_name_address], + [lt_cv_sys_global_symbol_to_c_name_address], [1], + [Transform the output of nm in a C name address pair]) +_LT_DECL([global_symbol_to_c_name_address_lib_prefix], + [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], + [Transform the output of nm in a C name address pair when lib prefix is needed]) +_LT_DECL([], [nm_file_list_spec], [1], + [Specify filename containing input files for $NM]) +]) # _LT_CMD_GLOBAL_SYMBOLS + + +# _LT_COMPILER_PIC([TAGNAME]) +# --------------------------- +m4_defun([_LT_COMPILER_PIC], +[m4_require([_LT_TAG_COMPILER])dnl +_LT_TAGVAR(lt_prog_compiler_wl, $1)= +_LT_TAGVAR(lt_prog_compiler_pic, $1)= +_LT_TAGVAR(lt_prog_compiler_static, $1)= + +m4_if([$1], [CXX], [ + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | cygwin* | os2* | pw32* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + _LT_TAGVAR(lt_prog_compiler_static, $1)= + ;; + interix[[3-9]]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + sysv4*MP*) + if test -d /usr/nec; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + *qnx* | *nto*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + case $host_os in + aix[[4-9]]*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68*) + # Green Hills C++ Compiler + # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + mingw* | cygwin* | os2* | pw32* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + dgux*) + case $cc_basename in + ec++*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + ghcx*) + # Green Hills C++ Compiler + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + freebsd* | dragonfly*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + if test "$host_cpu" != ia64; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + fi + ;; + aCC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + interix*) + # This is c89, which is MS Visual C++ (no shared libs) + # Anyone wants to do a port? + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + KCC*) + # KAI C++ Compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + ecpc* ) + # old Intel C++ for x86_64 which still supported -KPIC. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + icpc* ) + # Intel C++, used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + pgCC* | pgcpp*) + # Portland Group C++ compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + cxx*) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*) + # IBM XL 8.0, 9.0 on PPC and BlueGene + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + esac + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + *qnx* | *nto*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + ;; + RCC*) + # Rational C++ 2.4.1 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + cxx*) + # Digital/Compaq C++ + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + solaris*) + case $cc_basename in + CC* | sunCC*) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + gcx*) + # Green Hills C++ Compiler + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + lcc*) + # Lucid + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + case $cc_basename in + CC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + *) + ;; + esac + ;; + vxworks*) + ;; + *) + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +], +[ + if test "$GCC" = yes; then + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + _LT_TAGVAR(lt_prog_compiler_static, $1)= + ;; + + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + # +Z the default + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + + interix[[3-9]]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + enable_shared=no + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + + case $cc_basename in + nvcc*) # Cuda Compiler Driver 2.2 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker ' + if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)" + fi + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + + hpux9* | hpux10* | hpux11*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC (with -KPIC) is the default. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + # old Intel for x86_64 which still supported -KPIC. + ecc*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + # icc used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + icc* | ifort*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + # Lahey Fortran 8.1. + lf95*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' + _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' + ;; + nagfor*) + # NAG Fortran compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + ccc*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All Alpha code is PIC. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + xl* | bgxl* | bgf* | mpixl*) + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='' + ;; + *Sun\ F* | *Sun*Fortran*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + *Sun\ C*) + # Sun C 5.9 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + ;; + *Intel*\ [[CF]]*Compiler*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + *Portland\ Group*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + esac + ;; + esac + ;; + + newsos6) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + + osf3* | osf4* | osf5*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All OSF/1 code is PIC. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + rdos*) + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + solaris*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + case $cc_basename in + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; + *) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; + esac + ;; + + sunos4*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + unicos*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + + uts4*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + *) + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +]) +case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" + ;; +esac + +AC_CACHE_CHECK([for $compiler option to produce PIC], + [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)], + [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) +_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1) + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then + _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works], + [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)], + [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [], + [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in + "" | " "*) ;; + *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;; + esac], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) +fi +_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], + [Additional compiler flags for building library objects]) + +_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], + [How to pass a linker flag through the compiler]) +# +# Check to make sure the static flag actually works. +# +wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\" +_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], + _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1), + $lt_tmp_static_flag, + [], + [_LT_TAGVAR(lt_prog_compiler_static, $1)=]) +_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1], + [Compiler flag to prevent dynamic linking]) +])# _LT_COMPILER_PIC + + +# _LT_LINKER_SHLIBS([TAGNAME]) +# ---------------------------- +# See if the linker supports building shared libraries. +m4_defun([_LT_LINKER_SHLIBS], +[AC_REQUIRE([LT_PATH_LD])dnl +AC_REQUIRE([LT_PATH_NM])dnl +m4_require([_LT_PATH_MANIFEST_TOOL])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl +m4_require([_LT_TAG_COMPILER])dnl +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +m4_if([$1], [CXX], [ + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] + case $host_os in + aix[[4-9]]*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global defined + # symbols, whereas GNU nm marks them as "W". + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + else + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" + ;; + cygwin* | mingw* | cegcc*) + case $cc_basename in + cl*) + _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' + ;; + *) + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] + ;; + esac + ;; + *) + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac +], [ + runpath_var= + _LT_TAGVAR(allow_undefined_flag, $1)= + _LT_TAGVAR(always_export_symbols, $1)=no + _LT_TAGVAR(archive_cmds, $1)= + _LT_TAGVAR(archive_expsym_cmds, $1)= + _LT_TAGVAR(compiler_needs_object, $1)=no + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + _LT_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(hardcode_automatic, $1)=no + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_direct_absolute, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_TAGVAR(hardcode_libdir_separator, $1)= + _LT_TAGVAR(hardcode_minus_L, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_TAGVAR(inherit_rpath, $1)=no + _LT_TAGVAR(link_all_deplibs, $1)=unknown + _LT_TAGVAR(module_cmds, $1)= + _LT_TAGVAR(module_expsym_cmds, $1)= + _LT_TAGVAR(old_archive_from_new_cmds, $1)= + _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= + _LT_TAGVAR(thread_safe_flag_spec, $1)= + _LT_TAGVAR(whole_archive_flag_spec, $1)= + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + _LT_TAGVAR(include_expsyms, $1)= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + # Exclude shared library initialization/finalization symbols. +dnl Note also adjust exclude_expsyms for C++ above. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + _LT_TAGVAR(ld_shlibs, $1)=yes + + # On some targets, GNU ld is compatible enough with the native linker + # that we're better off using the native interface for both. + lt_use_gnu_ld_interface=no + if test "$with_gnu_ld" = yes; then + case $host_os in + aix*) + # The AIX port of GNU ld has always aspired to compatibility + # with the native linker. However, as the warning in the GNU ld + # block says, versions before 2.19.5* couldn't really create working + # shared libraries, regardless of the interface used. + case `$LD -v 2>&1` in + *\ \(GNU\ Binutils\)\ 2.19.5*) ;; + *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;; + *\ \(GNU\ Binutils\)\ [[3-9]]*) ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + fi + + if test "$lt_use_gnu_ld_interface" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + runpath_var=LD_RUN_PATH + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_TAGVAR(whole_archive_flag_spec, $1)= + fi + supports_anon_versioning=no + case `$LD -v 2>&1` in + *GNU\ gold*) supports_anon_versioning=yes ;; + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + + # See if GNU ld supports shared libraries. + case $host_os in + aix[[3-9]]*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + _LT_TAGVAR(ld_shlibs, $1)=no + cat <<_LT_EOF 1>&2 + +*** Warning: the GNU linker, at least up to release 2.19, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to install binutils +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. +*** You will then need to restart the configuration process. + +_LT_EOF + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='' + ;; + m68k) + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + ;; + + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=no + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + haiku*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + + interix[[3-9]]*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) + tmp_diet=no + if test "$host_os" = linux-dietlibc; then + case $cc_basename in + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) + esac + fi + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ + && test "$tmp_diet" = no + then + tmp_addflag=' $pic_flag' + tmp_sharedflag='-shared' + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; + pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group f77 and f90 compilers + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + lf95*) # Lahey Fortran 8.1 + _LT_TAGVAR(whole_archive_flag_spec, $1)= + tmp_sharedflag='--shared' ;; + xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) + tmp_sharedflag='-qmkshrobj' + tmp_addflag= ;; + nvcc*) # Cuda Compiler Driver 2.2 + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(compiler_needs_object, $1)=yes + ;; + esac + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) # Sun C 5.9 + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(compiler_needs_object, $1)=yes + tmp_sharedflag='-G' ;; + *Sun\ F*) # Sun Fortran 8.3 + tmp_sharedflag='-G' ;; + esac + _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + + if test "x$supports_anon_versioning" = xyes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + + case $cc_basename in + xlf* | bgf* | bgxlf* | mpixlf*) + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself + _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' + if test "x$supports_anon_versioning" = xyes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' + fi + ;; + esac + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris*) + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then + _LT_TAGVAR(ld_shlibs, $1)=no + cat <<_LT_EOF 1>&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) + _LT_TAGVAR(ld_shlibs, $1)=no + cat <<_LT_EOF 1>&2 + +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not +*** reliably create shared libraries on SCO systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + ;; + *) + # For security reasons, it is highly recommended that you always + # use absolute paths for naming shared libraries, and exclude the + # DT_RUNPATH tag from executables and libraries. But doing so + # requires that you compile everything twice, which is a pain. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + sunos4*) + _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + + if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then + runpath_var= + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=yes + _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + _LT_TAGVAR(hardcode_direct, $1)=unsupported + fi + ;; + + aix[[4-9]]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global + # defined symbols, whereas GNU nm marks them as "W". + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + else + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_TAGVAR(archive_cmds, $1)='' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' + + if test "$GCC" = yes; then + case $host_os in aix4.[[012]]|aix4.[[012]].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && + strings "$collect2name" | $GREP resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + _LT_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)= + fi + ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an + # empty executable. + _LT_SYS_MODULE_PATH_AIX([$1]) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an + # empty executable. + _LT_SYS_MODULE_PATH_AIX([$1]) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds its shared libraries. + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='' + ;; + m68k) + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + ;; + + bsdi[[45]]*) + _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + case $cc_basename in + cl*) + # Native MSVC + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' + # Don't use ranlib + _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' + _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # Assume MSVC wrapper + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + # FIXME: Should let the user specify the lib program. + _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + ;; + esac + ;; + + darwin* | rhapsody*) + _LT_DARWIN_LINKER_FEATURES($1) + ;; + + dgux*) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2.*) + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | dragonfly*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + hpux9*) + if test "$GCC" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(hardcode_direct, $1)=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + + hpux10*) + if test "$GCC" = yes && test "$with_gnu_ld" = no; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + fi + if test "$with_gnu_ld" = no; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + fi + ;; + + hpux11*) + if test "$GCC" = yes && test "$with_gnu_ld" = no; then + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + m4_if($1, [], [ + # Older versions of the 11.00 compiler do not understand -b yet + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) + _LT_LINKER_OPTION([if $CC understands -b], + _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b], + [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], + [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])], + [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags']) + ;; + esac + fi + if test "$with_gnu_ld" = no; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + case $host_cpu in + hppa*64*|ia64*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + *) + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + # Try to use the -exported_symbol ld option, if it does not + # work, assume that -exports_file does not work either and + # implicitly export all symbols. + # This should be the same for all languages, so no per-tag cache variable. + AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol], + [lt_cv_irix_exported_symbol], + [save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" + AC_LINK_IFELSE( + [AC_LANG_SOURCE( + [AC_LANG_CASE([C], [[int foo (void) { return 0; }]], + [C++], [[int foo (void) { return 0; }]], + [Fortran 77], [[ + subroutine foo + end]], + [Fortran], [[ + subroutine foo + end]])])], + [lt_cv_irix_exported_symbol=yes], + [lt_cv_irix_exported_symbol=no]) + LDFLAGS="$save_LDFLAGS"]) + if test "$lt_cv_irix_exported_symbol" = yes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' + fi + else + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)='no' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(inherit_rpath, $1)=yes + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + newsos6) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *nto* | *qnx*) + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + else + case $host_os in + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + ;; + esac + fi + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + os2*) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)='no' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + else + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' + + # Both c and cxx compiler support -rpath directly + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)='no' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + + solaris*) + _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' + if test "$GCC" = yes; then + wlarc='${wl}' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + else + case `$CC -V 2>&1` in + *"Compilers 5.0"*) + wlarc='' + _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' + ;; + *) + wlarc='${wl}' + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + ;; + esac + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. GCC discards it without `$wl', + # but is careful enough not to reorder. + # Supported since Solaris 2.6 (maybe 2.5.1?) + if test "$GCC" = yes; then + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + else + _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' + fi + ;; + esac + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv4) + case $host_vendor in + sni) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' + _LT_TAGVAR(hardcode_direct, $1)=no + ;; + motorola) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv4.3*) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + _LT_TAGVAR(ld_shlibs, $1)=yes + fi + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + uts4*) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + + if test x$host_vendor = xsni; then + case $host in + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym' + ;; + esac + fi + fi +]) +AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) +test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + +_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld + +_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl +_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl +_LT_DECL([], [extract_expsyms_cmds], [2], + [The commands to extract the exported symbol list from a shared archive]) + +# +# Do we need to explicitly link libc? +# +case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in +x|xyes) + # Assume -lc should be added + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $_LT_TAGVAR(archive_cmds, $1) in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + AC_CACHE_CHECK([whether -lc should be explicitly linked in], + [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1), + [$RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) + pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) + _LT_TAGVAR(allow_undefined_flag, $1)= + if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) + then + lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no + else + lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes + fi + _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $RM conftest* + ]) + _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1) + ;; + esac + fi + ;; +esac + +_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0], + [Whether or not to add -lc for building shared libraries]) +_LT_TAGDECL([allow_libtool_libs_with_static_runtimes], + [enable_shared_with_static_runtimes], [0], + [Whether or not to disallow shared libs when runtime libs are static]) +_LT_TAGDECL([], [export_dynamic_flag_spec], [1], + [Compiler flag to allow reflexive dlopens]) +_LT_TAGDECL([], [whole_archive_flag_spec], [1], + [Compiler flag to generate shared objects directly from archives]) +_LT_TAGDECL([], [compiler_needs_object], [1], + [Whether the compiler copes with passing no objects directly]) +_LT_TAGDECL([], [old_archive_from_new_cmds], [2], + [Create an old-style archive from a shared archive]) +_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2], + [Create a temporary old-style archive to link instead of a shared archive]) +_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive]) +_LT_TAGDECL([], [archive_expsym_cmds], [2]) +_LT_TAGDECL([], [module_cmds], [2], + [Commands used to build a loadable module if different from building + a shared archive.]) +_LT_TAGDECL([], [module_expsym_cmds], [2]) +_LT_TAGDECL([], [with_gnu_ld], [1], + [Whether we are building with GNU ld or not]) +_LT_TAGDECL([], [allow_undefined_flag], [1], + [Flag that allows shared libraries with undefined symbols to be built]) +_LT_TAGDECL([], [no_undefined_flag], [1], + [Flag that enforces no undefined symbols]) +_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], + [Flag to hardcode $libdir into a binary during linking. + This must work even if $libdir does not exist]) +_LT_TAGDECL([], [hardcode_libdir_separator], [1], + [Whether we need a single "-rpath" flag with a separated argument]) +_LT_TAGDECL([], [hardcode_direct], [0], + [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes + DIR into the resulting binary]) +_LT_TAGDECL([], [hardcode_direct_absolute], [0], + [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes + DIR into the resulting binary and the resulting library dependency is + "absolute", i.e impossible to change by setting ${shlibpath_var} if the + library is relocated]) +_LT_TAGDECL([], [hardcode_minus_L], [0], + [Set to "yes" if using the -LDIR flag during linking hardcodes DIR + into the resulting binary]) +_LT_TAGDECL([], [hardcode_shlibpath_var], [0], + [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR + into the resulting binary]) +_LT_TAGDECL([], [hardcode_automatic], [0], + [Set to "yes" if building a shared library automatically hardcodes DIR + into the library and all subsequent libraries and executables linked + against it]) +_LT_TAGDECL([], [inherit_rpath], [0], + [Set to yes if linker adds runtime paths of dependent libraries + to runtime path list]) +_LT_TAGDECL([], [link_all_deplibs], [0], + [Whether libtool must link a program against all its dependency libraries]) +_LT_TAGDECL([], [always_export_symbols], [0], + [Set to "yes" if exported symbols are required]) +_LT_TAGDECL([], [export_symbols_cmds], [2], + [The commands to list exported symbols]) +_LT_TAGDECL([], [exclude_expsyms], [1], + [Symbols that should not be listed in the preloaded symbols]) +_LT_TAGDECL([], [include_expsyms], [1], + [Symbols that must always be exported]) +_LT_TAGDECL([], [prelink_cmds], [2], + [Commands necessary for linking programs (against libraries) with templates]) +_LT_TAGDECL([], [postlink_cmds], [2], + [Commands necessary for finishing linking programs]) +_LT_TAGDECL([], [file_list_spec], [1], + [Specify filename containing input files]) +dnl FIXME: Not yet implemented +dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1], +dnl [Compiler flag to generate thread safe objects]) +])# _LT_LINKER_SHLIBS + + +# _LT_LANG_C_CONFIG([TAG]) +# ------------------------ +# Ensure that the configuration variables for a C compiler are suitably +# defined. These variables are subsequently used by _LT_CONFIG to write +# the compiler configuration to `libtool'. +m4_defun([_LT_LANG_C_CONFIG], +[m4_require([_LT_DECL_EGREP])dnl +lt_save_CC="$CC" +AC_LANG_PUSH(C) + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}' + +_LT_TAG_COMPILER +# Save the default compiler, since it gets overwritten when the other +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. +compiler_DEFAULT=$CC + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... +if test -n "$compiler"; then + _LT_COMPILER_NO_RTTI($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + LT_SYS_DLOPEN_SELF + _LT_CMD_STRIPLIB + + # Report which library types will actually be built + AC_MSG_CHECKING([if libtool supports shared libraries]) + AC_MSG_RESULT([$can_build_shared]) + + AC_MSG_CHECKING([whether to build shared libraries]) + test "$can_build_shared" = "no" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + + aix[[4-9]]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + esac + AC_MSG_RESULT([$enable_shared]) + + AC_MSG_CHECKING([whether to build static libraries]) + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + AC_MSG_RESULT([$enable_static]) + + _LT_CONFIG($1) +fi +AC_LANG_POP +CC="$lt_save_CC" +])# _LT_LANG_C_CONFIG + + +# _LT_LANG_CXX_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for a C++ compiler are suitably +# defined. These variables are subsequently used by _LT_CONFIG to write +# the compiler configuration to `libtool'. +m4_defun([_LT_LANG_CXX_CONFIG], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_PATH_MANIFEST_TOOL])dnl +if test -n "$CXX" && ( test "X$CXX" != "Xno" && + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || + (test "X$CXX" != "Xg++"))) ; then + AC_PROG_CXXCPP +else + _lt_caught_CXX_error=yes +fi + +AC_LANG_PUSH(C++) +_LT_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_TAGVAR(allow_undefined_flag, $1)= +_LT_TAGVAR(always_export_symbols, $1)=no +_LT_TAGVAR(archive_expsym_cmds, $1)= +_LT_TAGVAR(compiler_needs_object, $1)=no +_LT_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_TAGVAR(hardcode_direct, $1)=no +_LT_TAGVAR(hardcode_direct_absolute, $1)=no +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_TAGVAR(hardcode_libdir_separator, $1)= +_LT_TAGVAR(hardcode_minus_L, $1)=no +_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported +_LT_TAGVAR(hardcode_automatic, $1)=no +_LT_TAGVAR(inherit_rpath, $1)=no +_LT_TAGVAR(module_cmds, $1)= +_LT_TAGVAR(module_expsym_cmds, $1)= +_LT_TAGVAR(link_all_deplibs, $1)=unknown +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds +_LT_TAGVAR(no_undefined_flag, $1)= +_LT_TAGVAR(whole_archive_flag_spec, $1)= +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Source file extension for C++ test sources. +ac_ext=cpp + +# Object file extension for compiled C++ test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# No sense in running all these tests if we already determined that +# the CXX compiler isn't working. Some variables (like enable_shared) +# are currently assumed to apply to all compilers on this platform, +# and will be corrupted by setting them based on a non-working compiler. +if test "$_lt_caught_CXX_error" != yes; then + # Code to be used in simple compile tests + lt_simple_compile_test_code="int some_variable = 0;" + + # Code to be used in simple link tests + lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' + + # ltmain only uses $CC for tagged configurations so make sure $CC is set. + _LT_TAG_COMPILER + + # save warnings/boilerplate of simple test code + _LT_COMPILER_BOILERPLATE + _LT_LINKER_BOILERPLATE + + # Allow CC to be a program name with arguments. + lt_save_CC=$CC + lt_save_CFLAGS=$CFLAGS + lt_save_LD=$LD + lt_save_GCC=$GCC + GCC=$GXX + lt_save_with_gnu_ld=$with_gnu_ld + lt_save_path_LD=$lt_cv_path_LD + if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx + else + $as_unset lt_cv_prog_gnu_ld + fi + if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX + else + $as_unset lt_cv_path_LD + fi + test -z "${LDCXX+set}" || LD=$LDCXX + CC=${CXX-"c++"} + CFLAGS=$CXXFLAGS + compiler=$CC + _LT_TAGVAR(compiler, $1)=$CC + _LT_CC_BASENAME([$compiler]) + + if test -n "$compiler"; then + # We don't want -fno-exception when compiling C++ code, so set the + # no_builtin_flag separately + if test "$GXX" = yes; then + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' + else + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= + fi + + if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + LT_PATH_LD + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | + $GREP 'no-whole-archive' > /dev/null; then + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + + else + GXX=no + with_gnu_ld=no + wlarc= + fi + + # PORTME: fill in a description of your system's C++ link characteristics + AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) + _LT_TAGVAR(ld_shlibs, $1)=yes + case $host_os in + aix3*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + aix[[4-9]]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_TAGVAR(archive_cmds, $1)='' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' + + if test "$GXX" = yes; then + case $host_os in aix4.[[012]]|aix4.[[012]].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && + strings "$collect2name" | $GREP resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + _LT_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to + # export. + _LT_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty + # executable. + _LT_SYS_MODULE_PATH_AIX([$1]) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an + # empty executable. + _LT_SYS_MODULE_PATH_AIX([$1]) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds its shared + # libraries. + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + cygwin* | mingw* | pw32* | cegcc*) + case $GXX,$cc_basename in + ,cl* | no,cl*) + # Native MSVC + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + # Don't use ranlib + _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' + _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + func_to_tool_file "$lt_outputfile"~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # g++ + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=no + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + darwin* | rhapsody*) + _LT_DARWIN_LINKER_FEATURES($1) + ;; + + dgux*) + case $cc_basename in + ec++*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + ghcx*) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + freebsd2.*) + # C++ shared libraries reported to be fairly broken before + # switch to ELF + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + freebsd-elf*) + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + + freebsd* | dragonfly*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + _LT_TAGVAR(ld_shlibs, $1)=yes + ;; + + gnu*) + ;; + + haiku*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + + hpux9*) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + aCC*) + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + ;; + *) + if test "$GXX" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + case $host_cpu in + hppa*64*|ia64*) + ;; + *) + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + esac + fi + case $host_cpu in + hppa*64*|ia64*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + *) + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + aCC*) + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + interix[[3-9]]*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + irix5* | irix6*) + case $cc_basename in + CC*) + # SGI C++ + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' + fi + fi + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + esac + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(inherit_rpath, $1)=yes + ;; + + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc* | ecpc* ) + # Intel C++ + with_gnu_ld=yes + # version 8.0 and above of icpc choke on multiply defined symbols + # if we add $predep_objects and $postdep_objects, however 7.1 and + # earlier do not add the objects themselves. + case `$CC -V 2>&1` in + *"Version 7."*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + *) # Version 8.0 or newer + tmp_idyn= + case $host_cpu in + ia64*) tmp_idyn=' -i_dynamic';; + esac + _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + esac + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + pgCC* | pgcpp*) + # Portland Group C++ compiler + case `$CC -V` in + *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*) + _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ + compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' + _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ + $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ + $RANLIB $oldlib' + _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + ;; + *) # Version 6 and above use weak symbols + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + ;; + esac + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + ;; + cxx*) + # Compaq C++ + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' + ;; + xl* | mpixl* | bgxl*) + # IBM XL 8.0 on PPC, with GNU ld + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + if test "x$supports_anon_versioning" = xyes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(compiler_needs_object, $1)=yes + + # Not sure whether something based on + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 + # would be better. + output_verbose_link_cmd='func_echo_all' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + esac + ;; + esac + ;; + + lynxos*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + m88k*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + mvs*) + case $cc_basename in + cxx*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + + *nto* | *qnx*) + _LT_TAGVAR(ld_shlibs, $1)=yes + ;; + + openbsd2*) + # C++ shared libraries are fairly broken + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + fi + output_verbose_link_cmd=func_echo_all + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + osf3* | osf4* | osf5*) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + case $host in + osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; + *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; + esac + ;; + RCC*) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + cxx*) + case $host in + osf3*) + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + ;; + *) + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~ + $RM $lib.exp' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + ;; + esac + + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + case $host in + osf3*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + ;; + esac + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + psos*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + lcc*) + # Lucid + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + solaris*) + case $cc_basename in + CC* | sunCC*) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_TAGVAR(archive_cmds_need_lc,$1)=yes + _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. + # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' + ;; + esac + _LT_TAGVAR(link_all_deplibs, $1)=yes + + output_verbose_link_cmd='func_echo_all' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + gcx*) + # Green Hills C++ Compiler + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' + if $CC --version | $GREP -v '^2\.7' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + fi + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + fi + ;; + esac + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + + case $cc_basename in + CC*) + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + case $cc_basename in + CC*) + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~ + '"$_LT_TAGVAR(old_archive_cmds, $1)" + _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~ + '"$_LT_TAGVAR(reload_cmds, $1)" + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + vxworks*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + + AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) + test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + + _LT_TAGVAR(GCC, $1)="$GXX" + _LT_TAGVAR(LD, $1)="$LD" + + ## CAVEAT EMPTOR: + ## There is no encapsulation within the following macros, do not change + ## the running order or otherwise move them around unless you know exactly + ## what you are doing... + _LT_SYS_HIDDEN_LIBDEPS($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) + fi # test -n "$compiler" + + CC=$lt_save_CC + CFLAGS=$lt_save_CFLAGS + LDCXX=$LD + LD=$lt_save_LD + GCC=$lt_save_GCC + with_gnu_ld=$lt_save_with_gnu_ld + lt_cv_path_LDCXX=$lt_cv_path_LD + lt_cv_path_LD=$lt_save_path_LD + lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld + lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld +fi # test "$_lt_caught_CXX_error" != yes + +AC_LANG_POP +])# _LT_LANG_CXX_CONFIG + + +# _LT_FUNC_STRIPNAME_CNF +# ---------------------- +# func_stripname_cnf prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +# +# This function is identical to the (non-XSI) version of func_stripname, +# except this one can be used by m4 code that may be executed by configure, +# rather than the libtool script. +m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl +AC_REQUIRE([_LT_DECL_SED]) +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH]) +func_stripname_cnf () +{ + case ${2} in + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; + esac +} # func_stripname_cnf +])# _LT_FUNC_STRIPNAME_CNF + +# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) +# --------------------------------- +# Figure out "hidden" library dependencies from verbose +# compiler output when linking a shared library. +# Parse the compiler output and extract the necessary +# objects, libraries and library flags. +m4_defun([_LT_SYS_HIDDEN_LIBDEPS], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl +# Dependencies to place before and after the object being linked: +_LT_TAGVAR(predep_objects, $1)= +_LT_TAGVAR(postdep_objects, $1)= +_LT_TAGVAR(predeps, $1)= +_LT_TAGVAR(postdeps, $1)= +_LT_TAGVAR(compiler_lib_search_path, $1)= + +dnl we can't use the lt_simple_compile_test_code here, +dnl because it contains code intended for an executable, +dnl not a library. It's possible we should let each +dnl tag define a new lt_????_link_test_code variable, +dnl but it's only used here... +m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF +int a; +void foo (void) { a = 0; } +_LT_EOF +], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF +class Foo +{ +public: + Foo (void) { a = 0; } +private: + int a; +}; +_LT_EOF +], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF + subroutine foo + implicit none + integer*4 a + a=0 + return + end +_LT_EOF +], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF + subroutine foo + implicit none + integer a + a=0 + return + end +_LT_EOF +], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF +public class foo { + private int a; + public void bar (void) { + a = 0; + } +}; +_LT_EOF +], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF +package foo +func foo() { +} +_LT_EOF +]) + +_lt_libdeps_save_CFLAGS=$CFLAGS +case "$CC $CFLAGS " in #( +*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; +*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; +*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; +esac + +dnl Parse the compiler output and extract the necessary +dnl objects, libraries and library flags. +if AC_TRY_EVAL(ac_compile); then + # Parse the compiler output and extract the necessary + # objects, libraries and library flags. + + # Sentinel used to keep track of whether or not we are before + # the conftest object file. + pre_test_object_deps_done=no + + for p in `eval "$output_verbose_link_cmd"`; do + case ${prev}${p} in + + -L* | -R* | -l*) + # Some compilers place space between "-{L,R}" and the path. + # Remove the space. + if test $p = "-L" || + test $p = "-R"; then + prev=$p + continue + fi + + # Expand the sysroot to ease extracting the directories later. + if test -z "$prev"; then + case $p in + -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; + -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; + -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; + esac + fi + case $p in + =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; + esac + if test "$pre_test_object_deps_done" = no; then + case ${prev} in + -L | -R) + # Internal compiler library paths should come after those + # provided the user. The postdeps already come after the + # user supplied libs so there is no need to process them. + if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then + _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}" + else + _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}" + fi + ;; + # The "-l" case would never come before the object being + # linked, so don't bother handling this case. + esac + else + if test -z "$_LT_TAGVAR(postdeps, $1)"; then + _LT_TAGVAR(postdeps, $1)="${prev}${p}" + else + _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}" + fi + fi + prev= + ;; + + *.lto.$objext) ;; # Ignore GCC LTO objects + *.$objext) + # This assumes that the test object file only shows up + # once in the compiler output. + if test "$p" = "conftest.$objext"; then + pre_test_object_deps_done=yes + continue + fi + + if test "$pre_test_object_deps_done" = no; then + if test -z "$_LT_TAGVAR(predep_objects, $1)"; then + _LT_TAGVAR(predep_objects, $1)="$p" + else + _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" + fi + else + if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then + _LT_TAGVAR(postdep_objects, $1)="$p" + else + _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" + fi + fi + ;; + + *) ;; # Ignore the rest. + + esac + done + + # Clean up. + rm -f a.out a.exe +else + echo "libtool.m4: error: problem compiling $1 test program" +fi + +$RM -f confest.$objext +CFLAGS=$_lt_libdeps_save_CFLAGS + +# PORTME: override above test on systems where it is broken +m4_if([$1], [CXX], +[case $host_os in +interix[[3-9]]*) + # Interix 3.5 installs completely hosed .la files for C++, so rather than + # hack all around it, let's just trust "g++" to DTRT. + _LT_TAGVAR(predep_objects,$1)= + _LT_TAGVAR(postdep_objects,$1)= + _LT_TAGVAR(postdeps,$1)= + ;; + +linux*) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + + # The more standards-conforming stlport4 library is + # incompatible with the Cstd library. Avoid specifying + # it if it's in CXXFLAGS. Ignore libCrun as + # -library=stlport4 depends on it. + case " $CXX $CXXFLAGS " in + *" -library=stlport4 "*) + solaris_use_stlport4=yes + ;; + esac + + if test "$solaris_use_stlport4" != yes; then + _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' + fi + ;; + esac + ;; + +solaris*) + case $cc_basename in + CC* | sunCC*) + # The more standards-conforming stlport4 library is + # incompatible with the Cstd library. Avoid specifying + # it if it's in CXXFLAGS. Ignore libCrun as + # -library=stlport4 depends on it. + case " $CXX $CXXFLAGS " in + *" -library=stlport4 "*) + solaris_use_stlport4=yes + ;; + esac + + # Adding this requires a known-good setup of shared libraries for + # Sun compiler versions before 5.6, else PIC objects from an old + # archive will be linked into the output, leading to subtle bugs. + if test "$solaris_use_stlport4" != yes; then + _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' + fi + ;; + esac + ;; +esac +]) + +case " $_LT_TAGVAR(postdeps, $1) " in +*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; +esac + _LT_TAGVAR(compiler_lib_search_dirs, $1)= +if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then + _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` +fi +_LT_TAGDECL([], [compiler_lib_search_dirs], [1], + [The directories searched by this compiler when creating a shared library]) +_LT_TAGDECL([], [predep_objects], [1], + [Dependencies to place before and after the objects being linked to + create a shared library]) +_LT_TAGDECL([], [postdep_objects], [1]) +_LT_TAGDECL([], [predeps], [1]) +_LT_TAGDECL([], [postdeps], [1]) +_LT_TAGDECL([], [compiler_lib_search_path], [1], + [The library search path used internally by the compiler when linking + a shared library]) +])# _LT_SYS_HIDDEN_LIBDEPS + + +# _LT_LANG_F77_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for a Fortran 77 compiler are +# suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_F77_CONFIG], +[AC_LANG_PUSH(Fortran 77) +if test -z "$F77" || test "X$F77" = "Xno"; then + _lt_disable_F77=yes +fi + +_LT_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_TAGVAR(allow_undefined_flag, $1)= +_LT_TAGVAR(always_export_symbols, $1)=no +_LT_TAGVAR(archive_expsym_cmds, $1)= +_LT_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_TAGVAR(hardcode_direct, $1)=no +_LT_TAGVAR(hardcode_direct_absolute, $1)=no +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_TAGVAR(hardcode_libdir_separator, $1)= +_LT_TAGVAR(hardcode_minus_L, $1)=no +_LT_TAGVAR(hardcode_automatic, $1)=no +_LT_TAGVAR(inherit_rpath, $1)=no +_LT_TAGVAR(module_cmds, $1)= +_LT_TAGVAR(module_expsym_cmds, $1)= +_LT_TAGVAR(link_all_deplibs, $1)=unknown +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds +_LT_TAGVAR(no_undefined_flag, $1)= +_LT_TAGVAR(whole_archive_flag_spec, $1)= +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Source file extension for f77 test sources. +ac_ext=f + +# Object file extension for compiled f77 test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# No sense in running all these tests if we already determined that +# the F77 compiler isn't working. Some variables (like enable_shared) +# are currently assumed to apply to all compilers on this platform, +# and will be corrupted by setting them based on a non-working compiler. +if test "$_lt_disable_F77" != yes; then + # Code to be used in simple compile tests + lt_simple_compile_test_code="\ + subroutine t + return + end +" + + # Code to be used in simple link tests + lt_simple_link_test_code="\ + program t + end +" + + # ltmain only uses $CC for tagged configurations so make sure $CC is set. + _LT_TAG_COMPILER + + # save warnings/boilerplate of simple test code + _LT_COMPILER_BOILERPLATE + _LT_LINKER_BOILERPLATE + + # Allow CC to be a program name with arguments. + lt_save_CC="$CC" + lt_save_GCC=$GCC + lt_save_CFLAGS=$CFLAGS + CC=${F77-"f77"} + CFLAGS=$FFLAGS + compiler=$CC + _LT_TAGVAR(compiler, $1)=$CC + _LT_CC_BASENAME([$compiler]) + GCC=$G77 + if test -n "$compiler"; then + AC_MSG_CHECKING([if libtool supports shared libraries]) + AC_MSG_RESULT([$can_build_shared]) + + AC_MSG_CHECKING([whether to build shared libraries]) + test "$can_build_shared" = "no" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + aix[[4-9]]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + esac + AC_MSG_RESULT([$enable_shared]) + + AC_MSG_CHECKING([whether to build static libraries]) + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + AC_MSG_RESULT([$enable_static]) + + _LT_TAGVAR(GCC, $1)="$G77" + _LT_TAGVAR(LD, $1)="$LD" + + ## CAVEAT EMPTOR: + ## There is no encapsulation within the following macros, do not change + ## the running order or otherwise move them around unless you know exactly + ## what you are doing... + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) + fi # test -n "$compiler" + + GCC=$lt_save_GCC + CC="$lt_save_CC" + CFLAGS="$lt_save_CFLAGS" +fi # test "$_lt_disable_F77" != yes + +AC_LANG_POP +])# _LT_LANG_F77_CONFIG + + +# _LT_LANG_FC_CONFIG([TAG]) +# ------------------------- +# Ensure that the configuration variables for a Fortran compiler are +# suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_FC_CONFIG], +[AC_LANG_PUSH(Fortran) + +if test -z "$FC" || test "X$FC" = "Xno"; then + _lt_disable_FC=yes +fi + +_LT_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_TAGVAR(allow_undefined_flag, $1)= +_LT_TAGVAR(always_export_symbols, $1)=no +_LT_TAGVAR(archive_expsym_cmds, $1)= +_LT_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_TAGVAR(hardcode_direct, $1)=no +_LT_TAGVAR(hardcode_direct_absolute, $1)=no +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_TAGVAR(hardcode_libdir_separator, $1)= +_LT_TAGVAR(hardcode_minus_L, $1)=no +_LT_TAGVAR(hardcode_automatic, $1)=no +_LT_TAGVAR(inherit_rpath, $1)=no +_LT_TAGVAR(module_cmds, $1)= +_LT_TAGVAR(module_expsym_cmds, $1)= +_LT_TAGVAR(link_all_deplibs, $1)=unknown +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds +_LT_TAGVAR(no_undefined_flag, $1)= +_LT_TAGVAR(whole_archive_flag_spec, $1)= +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Source file extension for fc test sources. +ac_ext=${ac_fc_srcext-f} + +# Object file extension for compiled fc test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# No sense in running all these tests if we already determined that +# the FC compiler isn't working. Some variables (like enable_shared) +# are currently assumed to apply to all compilers on this platform, +# and will be corrupted by setting them based on a non-working compiler. +if test "$_lt_disable_FC" != yes; then + # Code to be used in simple compile tests + lt_simple_compile_test_code="\ + subroutine t + return + end +" + + # Code to be used in simple link tests + lt_simple_link_test_code="\ + program t + end +" + + # ltmain only uses $CC for tagged configurations so make sure $CC is set. + _LT_TAG_COMPILER + + # save warnings/boilerplate of simple test code + _LT_COMPILER_BOILERPLATE + _LT_LINKER_BOILERPLATE + + # Allow CC to be a program name with arguments. + lt_save_CC="$CC" + lt_save_GCC=$GCC + lt_save_CFLAGS=$CFLAGS + CC=${FC-"f95"} + CFLAGS=$FCFLAGS + compiler=$CC + GCC=$ac_cv_fc_compiler_gnu + + _LT_TAGVAR(compiler, $1)=$CC + _LT_CC_BASENAME([$compiler]) + + if test -n "$compiler"; then + AC_MSG_CHECKING([if libtool supports shared libraries]) + AC_MSG_RESULT([$can_build_shared]) + + AC_MSG_CHECKING([whether to build shared libraries]) + test "$can_build_shared" = "no" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + aix[[4-9]]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + esac + AC_MSG_RESULT([$enable_shared]) + + AC_MSG_CHECKING([whether to build static libraries]) + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + AC_MSG_RESULT([$enable_static]) + + _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu" + _LT_TAGVAR(LD, $1)="$LD" + + ## CAVEAT EMPTOR: + ## There is no encapsulation within the following macros, do not change + ## the running order or otherwise move them around unless you know exactly + ## what you are doing... + _LT_SYS_HIDDEN_LIBDEPS($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) + fi # test -n "$compiler" + + GCC=$lt_save_GCC + CC=$lt_save_CC + CFLAGS=$lt_save_CFLAGS +fi # test "$_lt_disable_FC" != yes + +AC_LANG_POP +])# _LT_LANG_FC_CONFIG + + +# _LT_LANG_GCJ_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for the GNU Java Compiler compiler +# are suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_GCJ_CONFIG], +[AC_REQUIRE([LT_PROG_GCJ])dnl +AC_LANG_SAVE + +# Source file extension for Java test sources. +ac_ext=java + +# Object file extension for compiled Java test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="class foo {}" + +# Code to be used in simple link tests +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_TAG_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_CFLAGS=$CFLAGS +lt_save_GCC=$GCC +GCC=yes +CC=${GCJ-"gcj"} +CFLAGS=$GCJFLAGS +compiler=$CC +_LT_TAGVAR(compiler, $1)=$CC +_LT_TAGVAR(LD, $1)="$LD" +_LT_CC_BASENAME([$compiler]) + +# GCJ did not exist at the time GCC didn't implicitly link libc in. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no + +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds + +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... +if test -n "$compiler"; then + _LT_COMPILER_NO_RTTI($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) +fi + +AC_LANG_RESTORE + +GCC=$lt_save_GCC +CC=$lt_save_CC +CFLAGS=$lt_save_CFLAGS +])# _LT_LANG_GCJ_CONFIG + + +# _LT_LANG_GO_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for the GNU Go compiler +# are suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_GO_CONFIG], +[AC_REQUIRE([LT_PROG_GO])dnl +AC_LANG_SAVE + +# Source file extension for Go test sources. +ac_ext=go + +# Object file extension for compiled Go test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="package main; func main() { }" + +# Code to be used in simple link tests +lt_simple_link_test_code='package main; func main() { }' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_TAG_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_CFLAGS=$CFLAGS +lt_save_GCC=$GCC +GCC=yes +CC=${GOC-"gccgo"} +CFLAGS=$GOFLAGS +compiler=$CC +_LT_TAGVAR(compiler, $1)=$CC +_LT_TAGVAR(LD, $1)="$LD" +_LT_CC_BASENAME([$compiler]) + +# Go did not exist at the time GCC didn't implicitly link libc in. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no + +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds + +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... +if test -n "$compiler"; then + _LT_COMPILER_NO_RTTI($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) +fi + +AC_LANG_RESTORE + +GCC=$lt_save_GCC +CC=$lt_save_CC +CFLAGS=$lt_save_CFLAGS +])# _LT_LANG_GO_CONFIG + + +# _LT_LANG_RC_CONFIG([TAG]) +# ------------------------- +# Ensure that the configuration variables for the Windows resource compiler +# are suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_RC_CONFIG], +[AC_REQUIRE([LT_PROG_RC])dnl +AC_LANG_SAVE + +# Source file extension for RC test sources. +ac_ext=rc + +# Object file extension for compiled RC test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' + +# Code to be used in simple link tests +lt_simple_link_test_code="$lt_simple_compile_test_code" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_TAG_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +lt_save_CFLAGS=$CFLAGS +lt_save_GCC=$GCC +GCC= +CC=${RC-"windres"} +CFLAGS= +compiler=$CC +_LT_TAGVAR(compiler, $1)=$CC +_LT_CC_BASENAME([$compiler]) +_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + +if test -n "$compiler"; then + : + _LT_CONFIG($1) +fi + +GCC=$lt_save_GCC +AC_LANG_RESTORE +CC=$lt_save_CC +CFLAGS=$lt_save_CFLAGS +])# _LT_LANG_RC_CONFIG + + +# LT_PROG_GCJ +# ----------- +AC_DEFUN([LT_PROG_GCJ], +[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], + [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], + [AC_CHECK_TOOL(GCJ, gcj,) + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" + AC_SUBST(GCJFLAGS)])])[]dnl +]) + +# Old name: +AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([LT_AC_PROG_GCJ], []) + + +# LT_PROG_GO +# ---------- +AC_DEFUN([LT_PROG_GO], +[AC_CHECK_TOOL(GOC, gccgo,) +]) + + +# LT_PROG_RC +# ---------- +AC_DEFUN([LT_PROG_RC], +[AC_CHECK_TOOL(RC, windres,) +]) + +# Old name: +AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([LT_AC_PROG_RC], []) + + +# _LT_DECL_EGREP +# -------------- +# If we don't have a new enough Autoconf to choose the best grep +# available, choose the one first in the user's PATH. +m4_defun([_LT_DECL_EGREP], +[AC_REQUIRE([AC_PROG_EGREP])dnl +AC_REQUIRE([AC_PROG_FGREP])dnl +test -z "$GREP" && GREP=grep +_LT_DECL([], [GREP], [1], [A grep program that handles long lines]) +_LT_DECL([], [EGREP], [1], [An ERE matcher]) +_LT_DECL([], [FGREP], [1], [A literal string matcher]) +dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too +AC_SUBST([GREP]) +]) + + +# _LT_DECL_OBJDUMP +# -------------- +# If we don't have a new enough Autoconf to choose the best objdump +# available, choose the one first in the user's PATH. +m4_defun([_LT_DECL_OBJDUMP], +[AC_CHECK_TOOL(OBJDUMP, objdump, false) +test -z "$OBJDUMP" && OBJDUMP=objdump +_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper]) +AC_SUBST([OBJDUMP]) +]) + +# _LT_DECL_DLLTOOL +# ---------------- +# Ensure DLLTOOL variable is set. +m4_defun([_LT_DECL_DLLTOOL], +[AC_CHECK_TOOL(DLLTOOL, dlltool, false) +test -z "$DLLTOOL" && DLLTOOL=dlltool +_LT_DECL([], [DLLTOOL], [1], [DLL creation program]) +AC_SUBST([DLLTOOL]) +]) + +# _LT_DECL_SED +# ------------ +# Check for a fully-functional sed program, that truncates +# as few characters as possible. Prefer GNU sed if found. +m4_defun([_LT_DECL_SED], +[AC_PROG_SED +test -z "$SED" && SED=sed +Xsed="$SED -e 1s/^X//" +_LT_DECL([], [SED], [1], [A sed program that does not truncate output]) +_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], + [Sed that helps us avoid accidentally triggering echo(1) options like -n]) +])# _LT_DECL_SED + +m4_ifndef([AC_PROG_SED], [ +############################################################ +# NOTE: This macro has been submitted for inclusion into # +# GNU Autoconf as AC_PROG_SED. When it is available in # +# a released version of Autoconf we should remove this # +# macro and use it instead. # +############################################################ + +m4_defun([AC_PROG_SED], +[AC_MSG_CHECKING([for a sed that does not truncate output]) +AC_CACHE_VAL(lt_cv_path_SED, +[# Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for lt_ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" + fi + done + done +done +IFS=$as_save_IFS +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && continue + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed + fi + done +done +]) +SED=$lt_cv_path_SED +AC_SUBST([SED]) +AC_MSG_RESULT([$SED]) +])#AC_PROG_SED +])#m4_ifndef + +# Old name: +AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([LT_AC_PROG_SED], []) + + +# _LT_CHECK_SHELL_FEATURES +# ------------------------ +# Find out whether the shell is Bourne or XSI compatible, +# or has some other useful features. +m4_defun([_LT_CHECK_SHELL_FEATURES], +[AC_MSG_CHECKING([whether the shell understands some XSI constructs]) +# Try some XSI features +xsi_shell=no +( _lt_dummy="a/b/c" + test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ + = c,a/b,b/c, \ + && eval 'test $(( 1 + 1 )) -eq 2 \ + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ + && xsi_shell=yes +AC_MSG_RESULT([$xsi_shell]) +_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell']) + +AC_MSG_CHECKING([whether the shell understands "+="]) +lt_shell_append=no +( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \ + >/dev/null 2>&1 \ + && lt_shell_append=yes +AC_MSG_RESULT([$lt_shell_append]) +_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append']) + +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + lt_unset=unset +else + lt_unset=false +fi +_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl + +# test EBCDIC or ASCII +case `echo X|tr X '\101'` in + A) # ASCII based system + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr + lt_SP2NL='tr \040 \012' + lt_NL2SP='tr \015\012 \040\040' + ;; + *) # EBCDIC based system + lt_SP2NL='tr \100 \n' + lt_NL2SP='tr \r\n \100\100' + ;; +esac +_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl +_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl +])# _LT_CHECK_SHELL_FEATURES + + +# _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY) +# ------------------------------------------------------ +# In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and +# '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY. +m4_defun([_LT_PROG_FUNCTION_REPLACE], +[dnl { +sed -e '/^$1 ()$/,/^} # $1 /c\ +$1 ()\ +{\ +m4_bpatsubsts([$2], [$], [\\], [^\([ ]\)], [\\\1]) +} # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: +]) + + +# _LT_PROG_REPLACE_SHELLFNS +# ------------------------- +# Replace existing portable implementations of several shell functions with +# equivalent extended shell implementations where those features are available.. +m4_defun([_LT_PROG_REPLACE_SHELLFNS], +[if test x"$xsi_shell" = xyes; then + _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl + case ${1} in + */*) func_dirname_result="${1%/*}${2}" ;; + * ) func_dirname_result="${3}" ;; + esac]) + + _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl + func_basename_result="${1##*/}"]) + + _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl + case ${1} in + */*) func_dirname_result="${1%/*}${2}" ;; + * ) func_dirname_result="${3}" ;; + esac + func_basename_result="${1##*/}"]) + + _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are + # positional parameters, so assign one to ordinary parameter first. + func_stripname_result=${3} + func_stripname_result=${func_stripname_result#"${1}"} + func_stripname_result=${func_stripname_result%"${2}"}]) + + _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl + func_split_long_opt_name=${1%%=*} + func_split_long_opt_arg=${1#*=}]) + + _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl + func_split_short_opt_arg=${1#??} + func_split_short_opt_name=${1%"$func_split_short_opt_arg"}]) + + _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl + case ${1} in + *.lo) func_lo2o_result=${1%.lo}.${objext} ;; + *) func_lo2o_result=${1} ;; + esac]) + + _LT_PROG_FUNCTION_REPLACE([func_xform], [ func_xform_result=${1%.*}.lo]) + + _LT_PROG_FUNCTION_REPLACE([func_arith], [ func_arith_result=$(( $[*] ))]) + + _LT_PROG_FUNCTION_REPLACE([func_len], [ func_len_result=${#1}]) +fi + +if test x"$lt_shell_append" = xyes; then + _LT_PROG_FUNCTION_REPLACE([func_append], [ eval "${1}+=\\${2}"]) + + _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl + func_quote_for_eval "${2}" +dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \ + eval "${1}+=\\\\ \\$func_quote_for_eval_result"]) + + # Save a `func_append' function call where possible by direct use of '+=' + sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +else + # Save a `func_append' function call even when '+=' is not available + sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +fi + +if test x"$_lt_function_replace_fail" = x":"; then + AC_MSG_WARN([Unable to substitute extended shell functions in $ofile]) +fi +]) + +# _LT_PATH_CONVERSION_FUNCTIONS +# ----------------------------- +# Determine which file name conversion functions should be used by +# func_to_host_file (and, implicitly, by func_to_host_path). These are needed +# for certain cross-compile configurations and native mingw. +m4_defun([_LT_PATH_CONVERSION_FUNCTIONS], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +AC_MSG_CHECKING([how to convert $build file names to $host format]) +AC_CACHE_VAL(lt_cv_to_host_file_cmd, +[case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 + ;; + esac + ;; + *-*-cygwin* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin + ;; + esac + ;; + * ) # unhandled hosts (and "normal" native builds) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; +esac +]) +to_host_file_cmd=$lt_cv_to_host_file_cmd +AC_MSG_RESULT([$lt_cv_to_host_file_cmd]) +_LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd], + [0], [convert $build file names to $host format])dnl + +AC_MSG_CHECKING([how to convert $build file names to toolchain format]) +AC_CACHE_VAL(lt_cv_to_tool_file_cmd, +[#assume ordinary cross tools, or native build. +lt_cv_to_tool_file_cmd=func_convert_file_noop +case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 + ;; + esac + ;; +esac +]) +to_tool_file_cmd=$lt_cv_to_tool_file_cmd +AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) +_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], + [0], [convert $build files to toolchain format])dnl +])# _LT_PATH_CONVERSION_FUNCTIONS diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/m4/ltoptions.m4 b/tizen/distrib/remote/client/spice-gtk-0.19/m4/ltoptions.m4 new file mode 100644 index 0000000..5d9acd8 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/m4/ltoptions.m4 @@ -0,0 +1,384 @@ +# Helper functions for option handling. -*- Autoconf -*- +# +# Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# Written by Gary V. Vaughan, 2004 +# +# This file 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. + +# serial 7 ltoptions.m4 + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) + + +# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) +# ------------------------------------------ +m4_define([_LT_MANGLE_OPTION], +[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) + + +# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) +# --------------------------------------- +# Set option OPTION-NAME for macro MACRO-NAME, and if there is a +# matching handler defined, dispatch to it. Other OPTION-NAMEs are +# saved as a flag. +m4_define([_LT_SET_OPTION], +[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl +m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), + _LT_MANGLE_DEFUN([$1], [$2]), + [m4_warning([Unknown $1 option `$2'])])[]dnl +]) + + +# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) +# ------------------------------------------------------------ +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +m4_define([_LT_IF_OPTION], +[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) + + +# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) +# ------------------------------------------------------- +# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME +# are set. +m4_define([_LT_UNLESS_OPTIONS], +[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), + [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), + [m4_define([$0_found])])])[]dnl +m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 +])[]dnl +]) + + +# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) +# ---------------------------------------- +# OPTION-LIST is a space-separated list of Libtool options associated +# with MACRO-NAME. If any OPTION has a matching handler declared with +# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about +# the unknown option and exit. +m4_defun([_LT_SET_OPTIONS], +[# Set options +m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), + [_LT_SET_OPTION([$1], _LT_Option)]) + +m4_if([$1],[LT_INIT],[ + dnl + dnl Simply set some default values (i.e off) if boolean options were not + dnl specified: + _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no + ]) + _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no + ]) + dnl + dnl If no reference was made to various pairs of opposing options, then + dnl we run the default mode handler for the pair. For example, if neither + dnl `shared' nor `disable-shared' was passed, we enable building of shared + dnl archives by default: + _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) + _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) + _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) + _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], + [_LT_ENABLE_FAST_INSTALL]) + ]) +])# _LT_SET_OPTIONS + + +## --------------------------------- ## +## Macros to handle LT_INIT options. ## +## --------------------------------- ## + +# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) +# ----------------------------------------- +m4_define([_LT_MANGLE_DEFUN], +[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) + + +# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) +# ----------------------------------------------- +m4_define([LT_OPTION_DEFINE], +[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl +])# LT_OPTION_DEFINE + + +# dlopen +# ------ +LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes +]) + +AU_DEFUN([AC_LIBTOOL_DLOPEN], +[_LT_SET_OPTION([LT_INIT], [dlopen]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you +put the `dlopen' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) + + +# win32-dll +# --------- +# Declare package support for building win32 dll's. +LT_OPTION_DEFINE([LT_INIT], [win32-dll], +[enable_win32_dll=yes + +case $host in +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) + AC_CHECK_TOOL(AS, as, false) + AC_CHECK_TOOL(DLLTOOL, dlltool, false) + AC_CHECK_TOOL(OBJDUMP, objdump, false) + ;; +esac + +test -z "$AS" && AS=as +_LT_DECL([], [AS], [1], [Assembler program])dnl + +test -z "$DLLTOOL" && DLLTOOL=dlltool +_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl + +test -z "$OBJDUMP" && OBJDUMP=objdump +_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl +])# win32-dll + +AU_DEFUN([AC_LIBTOOL_WIN32_DLL], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +_LT_SET_OPTION([LT_INIT], [win32-dll]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you +put the `win32-dll' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) + + +# _LT_ENABLE_SHARED([DEFAULT]) +# ---------------------------- +# implement the --enable-shared flag, and supports the `shared' and +# `disable-shared' LT_INIT options. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +m4_define([_LT_ENABLE_SHARED], +[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl +AC_ARG_ENABLE([shared], + [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], + [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) + + _LT_DECL([build_libtool_libs], [enable_shared], [0], + [Whether or not to build shared libraries]) +])# _LT_ENABLE_SHARED + +LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) +LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) + +# Old names: +AC_DEFUN([AC_ENABLE_SHARED], +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) +]) + +AC_DEFUN([AC_DISABLE_SHARED], +[_LT_SET_OPTION([LT_INIT], [disable-shared]) +]) + +AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) +AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_ENABLE_SHARED], []) +dnl AC_DEFUN([AM_DISABLE_SHARED], []) + + + +# _LT_ENABLE_STATIC([DEFAULT]) +# ---------------------------- +# implement the --enable-static flag, and support the `static' and +# `disable-static' LT_INIT options. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +m4_define([_LT_ENABLE_STATIC], +[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl +AC_ARG_ENABLE([static], + [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], + [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_static=]_LT_ENABLE_STATIC_DEFAULT) + + _LT_DECL([build_old_libs], [enable_static], [0], + [Whether or not to build static libraries]) +])# _LT_ENABLE_STATIC + +LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) +LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) + +# Old names: +AC_DEFUN([AC_ENABLE_STATIC], +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) +]) + +AC_DEFUN([AC_DISABLE_STATIC], +[_LT_SET_OPTION([LT_INIT], [disable-static]) +]) + +AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) +AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_ENABLE_STATIC], []) +dnl AC_DEFUN([AM_DISABLE_STATIC], []) + + + +# _LT_ENABLE_FAST_INSTALL([DEFAULT]) +# ---------------------------------- +# implement the --enable-fast-install flag, and support the `fast-install' +# and `disable-fast-install' LT_INIT options. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +m4_define([_LT_ENABLE_FAST_INSTALL], +[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl +AC_ARG_ENABLE([fast-install], + [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], + [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) + +_LT_DECL([fast_install], [enable_fast_install], [0], + [Whether or not to optimize for fast installation])dnl +])# _LT_ENABLE_FAST_INSTALL + +LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) +LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) + +# Old names: +AU_DEFUN([AC_ENABLE_FAST_INSTALL], +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you put +the `fast-install' option into LT_INIT's first parameter.]) +]) + +AU_DEFUN([AC_DISABLE_FAST_INSTALL], +[_LT_SET_OPTION([LT_INIT], [disable-fast-install]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you put +the `disable-fast-install' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) +dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) + + +# _LT_WITH_PIC([MODE]) +# -------------------- +# implement the --with-pic flag, and support the `pic-only' and `no-pic' +# LT_INIT options. +# MODE is either `yes' or `no'. If omitted, it defaults to `both'. +m4_define([_LT_WITH_PIC], +[AC_ARG_WITH([pic], + [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@], + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], + [lt_p=${PACKAGE-default} + case $withval in + yes|no) pic_mode=$withval ;; + *) + pic_mode=default + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for lt_pkg in $withval; do + IFS="$lt_save_ifs" + if test "X$lt_pkg" = "X$lt_p"; then + pic_mode=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [pic_mode=default]) + +test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) + +_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl +])# _LT_WITH_PIC + +LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) +LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) + +# Old name: +AU_DEFUN([AC_LIBTOOL_PICMODE], +[_LT_SET_OPTION([LT_INIT], [pic-only]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you +put the `pic-only' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) + +## ----------------- ## +## LTDL_INIT Options ## +## ----------------- ## + +m4_define([_LTDL_MODE], []) +LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], + [m4_define([_LTDL_MODE], [nonrecursive])]) +LT_OPTION_DEFINE([LTDL_INIT], [recursive], + [m4_define([_LTDL_MODE], [recursive])]) +LT_OPTION_DEFINE([LTDL_INIT], [subproject], + [m4_define([_LTDL_MODE], [subproject])]) + +m4_define([_LTDL_TYPE], []) +LT_OPTION_DEFINE([LTDL_INIT], [installable], + [m4_define([_LTDL_TYPE], [installable])]) +LT_OPTION_DEFINE([LTDL_INIT], [convenience], + [m4_define([_LTDL_TYPE], [convenience])]) diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/m4/ltsugar.m4 b/tizen/distrib/remote/client/spice-gtk-0.19/m4/ltsugar.m4 new file mode 100644 index 0000000..9000a05 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/m4/ltsugar.m4 @@ -0,0 +1,123 @@ +# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- +# +# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. +# Written by Gary V. Vaughan, 2004 +# +# This file 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. + +# serial 6 ltsugar.m4 + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) + + +# lt_join(SEP, ARG1, [ARG2...]) +# ----------------------------- +# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their +# associated separator. +# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier +# versions in m4sugar had bugs. +m4_define([lt_join], +[m4_if([$#], [1], [], + [$#], [2], [[$2]], + [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) +m4_define([_lt_join], +[m4_if([$#$2], [2], [], + [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) + + +# lt_car(LIST) +# lt_cdr(LIST) +# ------------ +# Manipulate m4 lists. +# These macros are necessary as long as will still need to support +# Autoconf-2.59 which quotes differently. +m4_define([lt_car], [[$1]]) +m4_define([lt_cdr], +[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], + [$#], 1, [], + [m4_dquote(m4_shift($@))])]) +m4_define([lt_unquote], $1) + + +# lt_append(MACRO-NAME, STRING, [SEPARATOR]) +# ------------------------------------------ +# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'. +# Note that neither SEPARATOR nor STRING are expanded; they are appended +# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). +# No SEPARATOR is output if MACRO-NAME was previously undefined (different +# than defined and empty). +# +# This macro is needed until we can rely on Autoconf 2.62, since earlier +# versions of m4sugar mistakenly expanded SEPARATOR but not STRING. +m4_define([lt_append], +[m4_define([$1], + m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) + + + +# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) +# ---------------------------------------------------------- +# Produce a SEP delimited list of all paired combinations of elements of +# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list +# has the form PREFIXmINFIXSUFFIXn. +# Needed until we can rely on m4_combine added in Autoconf 2.62. +m4_define([lt_combine], +[m4_if(m4_eval([$# > 3]), [1], + [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl +[[m4_foreach([_Lt_prefix], [$2], + [m4_foreach([_Lt_suffix], + ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, + [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) + + +# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) +# ----------------------------------------------------------------------- +# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited +# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. +m4_define([lt_if_append_uniq], +[m4_ifdef([$1], + [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], + [lt_append([$1], [$2], [$3])$4], + [$5])], + [lt_append([$1], [$2], [$3])$4])]) + + +# lt_dict_add(DICT, KEY, VALUE) +# ----------------------------- +m4_define([lt_dict_add], +[m4_define([$1($2)], [$3])]) + + +# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) +# -------------------------------------------- +m4_define([lt_dict_add_subkey], +[m4_define([$1($2:$3)], [$4])]) + + +# lt_dict_fetch(DICT, KEY, [SUBKEY]) +# ---------------------------------- +m4_define([lt_dict_fetch], +[m4_ifval([$3], + m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), + m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) + + +# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) +# ----------------------------------------------------------------- +m4_define([lt_if_dict_fetch], +[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], + [$5], + [$6])]) + + +# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) +# -------------------------------------------------------------- +m4_define([lt_dict_filter], +[m4_if([$5], [], [], + [lt_join(m4_quote(m4_default([$4], [[, ]])), + lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), + [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl +]) diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/m4/ltversion.m4 b/tizen/distrib/remote/client/spice-gtk-0.19/m4/ltversion.m4 new file mode 100644 index 0000000..07a8602 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/m4/ltversion.m4 @@ -0,0 +1,23 @@ +# ltversion.m4 -- version numbers -*- Autoconf -*- +# +# Copyright (C) 2004 Free Software Foundation, Inc. +# Written by Scott James Remnant, 2004 +# +# This file 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. + +# @configure_input@ + +# serial 3337 ltversion.m4 +# This file is part of GNU Libtool + +m4_define([LT_PACKAGE_VERSION], [2.4.2]) +m4_define([LT_PACKAGE_REVISION], [1.3337]) + +AC_DEFUN([LTVERSION_VERSION], +[macro_version='2.4.2' +macro_revision='1.3337' +_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) +_LT_DECL(, macro_revision, 0) +]) diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/m4/lt~obsolete.m4 b/tizen/distrib/remote/client/spice-gtk-0.19/m4/lt~obsolete.m4 new file mode 100644 index 0000000..c573da9 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/m4/lt~obsolete.m4 @@ -0,0 +1,98 @@ +# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- +# +# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. +# Written by Scott James Remnant, 2004. +# +# This file 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. + +# serial 5 lt~obsolete.m4 + +# These exist entirely to fool aclocal when bootstrapping libtool. +# +# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN) +# which have later been changed to m4_define as they aren't part of the +# exported API, or moved to Autoconf or Automake where they belong. +# +# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN +# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us +# using a macro with the same name in our local m4/libtool.m4 it'll +# pull the old libtool.m4 in (it doesn't see our shiny new m4_define +# and doesn't know about Autoconf macros at all.) +# +# So we provide this file, which has a silly filename so it's always +# included after everything else. This provides aclocal with the +# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything +# because those macros already exist, or will be overwritten later. +# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. +# +# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. +# Yes, that means every name once taken will need to remain here until +# we give up compatibility with versions before 1.7, at which point +# we need to keep only those names which we still refer to. + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) + +m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) +m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) +m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) +m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) +m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) +m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) +m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) +m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) +m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) +m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) +m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) +m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) +m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) +m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) +m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) +m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) +m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) +m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) +m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) +m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) +m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) +m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) +m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) +m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) +m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) +m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) +m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) +m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) +m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) +m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) +m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) +m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) +m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) +m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) +m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) +m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) +m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) +m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) +m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) +m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) +m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) +m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) +m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) +m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) +m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) +m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) +m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) +m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) +m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) +m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) +m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) +m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) +m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) +m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/m4/manywarnings.m4 b/tizen/distrib/remote/client/spice-gtk-0.19/m4/manywarnings.m4 new file mode 100644 index 0000000..fd0e372 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/m4/manywarnings.m4 @@ -0,0 +1,184 @@ +# manywarnings.m4 serial 3 +dnl Copyright (C) 2008-2012 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +dnl From Simon Josefsson + +# gl_MANYWARN_COMPLEMENT(OUTVAR, LISTVAR, REMOVEVAR) +# -------------------------------------------------- +# Copy LISTVAR to OUTVAR except for the entries in REMOVEVAR. +# Elements separated by whitespace. In set logic terms, the function +# does OUTVAR = LISTVAR \ REMOVEVAR. +AC_DEFUN([gl_MANYWARN_COMPLEMENT], +[ + gl_warn_set= + set x $2; shift + for gl_warn_item + do + case " $3 " in + *" $gl_warn_item "*) + ;; + *) + gl_warn_set="$gl_warn_set $gl_warn_item" + ;; + esac + done + $1=$gl_warn_set +]) + +# gl_MANYWARN_ALL_GCC(VARIABLE) +# ----------------------------- +# Add all documented GCC warning parameters to variable VARIABLE. +# Note that you need to test them using gl_WARN_ADD if you want to +# make sure your gcc understands it. +AC_DEFUN([gl_MANYWARN_ALL_GCC], +[ + dnl First, check if -Wno-missing-field-initializers is needed. + dnl -Wmissing-field-initializers is implied by -W, but that issues + dnl warnings with GCC version before 4.7, for the common idiom + dnl of initializing types on the stack to zero, using { 0, } + AC_REQUIRE([AC_PROG_CC]) + if test -n "$GCC"; then + + dnl First, check -W -Werror -Wno-missing-field-initializers is supported + dnl with the current $CC $CFLAGS $CPPFLAGS. + AC_MSG_CHECKING([whether -Wno-missing-field-initializers is supported]) + AC_CACHE_VAL([gl_cv_cc_nomfi_supported], [ + gl_save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -W -Werror -Wno-missing-field-initializers" + AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM([[]], [[]])], + [gl_cv_cc_nomfi_supported=yes], + [gl_cv_cc_nomfi_supported=no]) + CFLAGS="$gl_save_CFLAGS"]) + AC_MSG_RESULT([$gl_cv_cc_nomfi_supported]) + + if test "$gl_cv_cc_nomfi_supported" = yes; then + dnl Now check whether -Wno-missing-field-initializers is needed + dnl for the { 0, } construct. + AC_MSG_CHECKING([whether -Wno-missing-field-initializers is needed]) + AC_CACHE_VAL([gl_cv_cc_nomfi_needed], [ + gl_save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -W -Werror" + AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[void f (void) + { + typedef struct { int a; int b; } s_t; + s_t s1 = { 0, }; + } + ]], + [[]])], + [gl_cv_cc_nomfi_needed=no], + [gl_cv_cc_nomfi_needed=yes]) + CFLAGS="$gl_save_CFLAGS" + ]) + AC_MSG_RESULT([$gl_cv_cc_nomfi_needed]) + fi + fi + + gl_manywarn_set= + for gl_manywarn_item in \ + -Wall \ + -W \ + -Wformat-y2k \ + -Wformat-nonliteral \ + -Wformat-security \ + -Winit-self \ + -Wmissing-include-dirs \ + -Wswitch-default \ + -Wswitch-enum \ + -Wunused \ + -Wunknown-pragmas \ + -Wstrict-aliasing \ + -Wstrict-overflow \ + -Wsystem-headers \ + -Wfloat-equal \ + -Wtraditional \ + -Wtraditional-conversion \ + -Wdeclaration-after-statement \ + -Wundef \ + -Wshadow \ + -Wunsafe-loop-optimizations \ + -Wpointer-arith \ + -Wbad-function-cast \ + -Wc++-compat \ + -Wcast-qual \ + -Wcast-align \ + -Wwrite-strings \ + -Wconversion \ + -Wsign-conversion \ + -Wlogical-op \ + -Waggregate-return \ + -Wstrict-prototypes \ + -Wold-style-definition \ + -Wmissing-prototypes \ + -Wmissing-declarations \ + -Wmissing-noreturn \ + -Wmissing-format-attribute \ + -Wpacked \ + -Wpadded \ + -Wredundant-decls \ + -Wnested-externs \ + -Wunreachable-code \ + -Winline \ + -Winvalid-pch \ + -Wlong-long \ + -Wvla \ + -Wvolatile-register-var \ + -Wdisabled-optimization \ + -Wstack-protector \ + -Woverlength-strings \ + -Wbuiltin-macro-redefined \ + -Wmudflap \ + -Wpacked-bitfield-compat \ + -Wsync-nand \ + ; do + gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" + done + # The following are not documented in the manual but are included in + # output from gcc --help=warnings. + for gl_manywarn_item in \ + -Wattributes \ + -Wcoverage-mismatch \ + -Wmultichar \ + -Wunused-macros \ + ; do + gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" + done + # More warnings from gcc 4.6.2 --help=warnings. + for gl_manywarn_item in \ + -Wabi \ + -Wcpp \ + -Wdeprecated \ + -Wdeprecated-declarations \ + -Wdiv-by-zero \ + -Wdouble-promotion \ + -Wendif-labels \ + -Wextra \ + -Wformat-contains-nul \ + -Wformat-extra-args \ + -Wformat-zero-length \ + -Wformat=2 \ + -Wmultichar \ + -Wnormalized=nfc \ + -Woverflow \ + -Wpointer-to-int-cast \ + -Wpragmas \ + -Wsuggest-attribute=const \ + -Wsuggest-attribute=noreturn \ + -Wsuggest-attribute=pure \ + -Wtrampolines \ + ; do + gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" + done + + # Disable the missing-field-initializers warning if needed + if test "$gl_cv_cc_nomfi_needed" = yes; then + gl_manywarn_set="$gl_manywarn_set -Wno-missing-field-initializers" + fi + + $1=$gl_manywarn_set +]) diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/m4/spice-compile-warnings.m4 b/tizen/distrib/remote/client/spice-gtk-0.19/m4/spice-compile-warnings.m4 new file mode 100644 index 0000000..31fc0fc --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/m4/spice-compile-warnings.m4 @@ -0,0 +1,150 @@ +# SPICE_COMPILE_WARNINGS(DONTWARN) +# -------------------------------------------------------- +# Enable all known GCC compiler warnings, except for those +# we can't yet cope with +# +AC_DEFUN([SPICE_COMPILE_WARNINGS],[ + dnl ****************************** + dnl More compiler warnings + dnl ****************************** + + AC_ARG_ENABLE([werror], + AS_HELP_STRING([--enable-werror], [Use -Werror (if supported)]), + [set_werror="$enableval"], + [if test -d $srcdir/.git; then + is_git_version=true + set_werror=yes + else + set_werror=no + fi]) + + # List of warnings that are not relevant / wanted + + dontwarn=$1 + + # Don't care about C++ compiler compat + dontwarn="$dontwarn -Wc++-compat" + dontwarn="$dontwarn -Wabi" + dontwarn="$dontwarn -Wdeprecated" + # Don't care about ancient C standard compat + dontwarn="$dontwarn -Wtraditional" + # Don't care about ancient C standard compat + dontwarn="$dontwarn -Wtraditional-conversion" + # Ignore warnings in /usr/include + dontwarn="$dontwarn -Wsystem-headers" + # Happy for compiler to add struct padding + dontwarn="$dontwarn -Wpadded" + # GCC very confused with -O2 + dontwarn="$dontwarn -Wunreachable-code" + + + dontwarn="$dontwarn -Wconversion" + dontwarn="$dontwarn -Wsign-conversion" + dontwarn="$dontwarn -Wvla" + dontwarn="$dontwarn -Wundef" + dontwarn="$dontwarn -Wcast-qual" + dontwarn="$dontwarn -Wlong-long" + dontwarn="$dontwarn -Wswitch-default" + dontwarn="$dontwarn -Wswitch-enum" + dontwarn="$dontwarn -Wstrict-overflow" + dontwarn="$dontwarn -Wunsafe-loop-optimizations" + dontwarn="$dontwarn -Wformat-nonliteral" + dontwarn="$dontwarn -Wfloat-equal" + dontwarn="$dontwarn -Wdeclaration-after-statement" + dontwarn="$dontwarn -Wcast-qual" + dontwarn="$dontwarn -Wconversion" + dontwarn="$dontwarn -Wsign-conversion" + dontwarn="$dontwarn -Wpacked" + dontwarn="$dontwarn -Wunused-macros" + dontwarn="$dontwarn -Woverlength-strings" + dontwarn="$dontwarn -Wstack-protector" + dontwarn="$dontwarn -Winline" + dontwarn="$dontwarn -Wbad-function-cast" + dontwarn="$dontwarn -Wshadow" + + # Get all possible GCC warnings + gl_MANYWARN_ALL_GCC([maybewarn]) + + # Remove the ones we don't want, blacklisted earlier + gl_MANYWARN_COMPLEMENT([wantwarn], [$maybewarn], [$dontwarn]) + + # Check for $CC support of each warning + for w in $wantwarn; do + gl_WARN_ADD([$w]) + done + + # GNULIB uses '-W' (aka -Wextra) which includes a bunch of stuff. + # Unfortunately, this means you can't simply use '-Wsign-compare' + # with gl_MANYWARN_COMPLEMENT + # So we have -W enabled, and then have to explicitly turn off... + gl_WARN_ADD([-Wno-sign-compare]) + gl_WARN_ADD([-Wno-unused-parameter]) + gl_WARN_ADD([-Wno-missing-field-initializers]) + # We can't enable this due to horrible spice_usb_device_get_description + # signature + gl_WARN_ADD([-Wno-format-nonliteral]) + # We use some deprecated functions to avoid #ifdef hell while maintaining + # compat with older gtk / glib versions + gl_WARN_ADD([-Wno-deprecated-declarations]) + + + + # GNULIB expects this to be part of -Wc++-compat, but we turn + # that one off, so we need to manually enable this again + gl_WARN_ADD([-Wjump-misses-init]) + + # GNULIB turns on -Wformat=2 which implies -Wformat-nonliteral, + # so we need to manually re-exclude it. + gl_WARN_ADD([-Wno-format-nonliteral]) + + # This should be < 1024 really. pixman_utils is the blackspot + # preventing lower usage + gl_WARN_ADD([-Wframe-larger-than=9216]) + + # Use improved glibc headers + AH_VERBATIM([FORTIFY_SOURCE], + [/* Enable compile-time and run-time bounds-checking, and some warnings. */ + #if defined __OPTIMIZE__ && __OPTIMIZE__ + # define _FORTIFY_SOURCE 2 + #endif + ]) + + # Extra special flags + dnl -fstack-protector stuff passes gl_WARN_ADD with gcc + dnl on Mingw32, but fails when actually used + case $host in + *-*-linux*) + dnl Fedora only uses -fstack-protector, but doesn't seem to + dnl be great overhead in adding -fstack-protector-all instead + dnl gl_WARN_ADD([-fstack-protector]) + gl_WARN_ADD([-fstack-protector-all]) + gl_WARN_ADD([--param=ssp-buffer-size=4]) + ;; + esac + gl_WARN_ADD([-fexceptions]) + gl_WARN_ADD([-fasynchronous-unwind-tables]) + gl_WARN_ADD([-fdiagnostics-show-option]) + gl_WARN_ADD([-funit-at-a-time]) + + # Need -fipa-pure-const in order to make -Wsuggest-attribute=pure + # fire even without -O. + gl_WARN_ADD([-fipa-pure-const]) + + # We should eventually enable this, but right now there are at + # least 75 functions triggering warnings. + gl_WARN_ADD([-Wno-suggest-attribute=pure]) + gl_WARN_ADD([-Wno-suggest-attribute=const]) + + if test "$set_werror" = "yes" + then + gl_WARN_ADD([-Werror]) + fi + + WARN_LDFLAGS=$WARN_CFLAGS + AC_SUBST([WARN_CFLAGS]) + AC_SUBST([WARN_LDFLAGS]) + + gl_WARN_ADD([-Wno-write-strings]) + WARN_PYFLAGS=$WARN_CFLAGS + AC_SUBST([WARN_PYFLAGS]) +]) diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/m4/warnings.m4 b/tizen/distrib/remote/client/spice-gtk-0.19/m4/warnings.m4 new file mode 100644 index 0000000..69d05a6 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/m4/warnings.m4 @@ -0,0 +1,37 @@ +# warnings.m4 serial 5 +dnl Copyright (C) 2008-2012 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +dnl From Simon Josefsson + +# gl_AS_VAR_APPEND(VAR, VALUE) +# ---------------------------- +# Provide the functionality of AS_VAR_APPEND if Autoconf does not have it. +m4_ifdef([AS_VAR_APPEND], +[m4_copy([AS_VAR_APPEND], [gl_AS_VAR_APPEND])], +[m4_define([gl_AS_VAR_APPEND], +[AS_VAR_SET([$1], [AS_VAR_GET([$1])$2])])]) + +# gl_WARN_ADD(PARAMETER, [VARIABLE = WARN_CFLAGS]) +# ------------------------------------------------ +# Adds parameter to WARN_CFLAGS if the compiler supports it. For example, +# gl_WARN_ADD([-Wparentheses]). +AC_DEFUN([gl_WARN_ADD], +dnl FIXME: gl_Warn must be used unquoted until we can assume +dnl autoconf 2.64 or newer. +[AS_VAR_PUSHDEF([gl_Warn], [gl_cv_warn_$1])dnl +AC_CACHE_CHECK([whether compiler handles $1], m4_defn([gl_Warn]), [ + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} $1" + AC_PREPROC_IFELSE([AC_LANG_PROGRAM([])], + [AS_VAR_SET(gl_Warn, [yes])], + [AS_VAR_SET(gl_Warn, [no])]) + CPPFLAGS="$gl_save_CPPFLAGS" +]) +AS_VAR_IF(gl_Warn, [yes], + [gl_AS_VAR_APPEND(m4_if([$2], [], [[WARN_CFLAGS]], [[$2]]), [" $1"])]) +AS_VAR_POPDEF([gl_Warn])dnl +m4_ifval([$2], [AS_LITERAL_IF([$2], [AC_SUBST([$2])], [])])dnl +]) diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/po/ChangeLog b/tizen/distrib/remote/client/spice-gtk-0.19/po/ChangeLog new file mode 100644 index 0000000..d300628 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/po/ChangeLog @@ -0,0 +1,8 @@ +2010-11-25 Marc-Andre Lureau <marcandre.lureau@redhat.com> + + * Added initial french translation for spicy and snappy. + +2010-11-24 Marc-Andre Lureau <marcandre.lureau@redhat.com> + + * Initial translation support. + diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/po/LINGUAS b/tizen/distrib/remote/client/spice-gtk-0.19/po/LINGUAS new file mode 100644 index 0000000..8921737 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/po/LINGUAS @@ -0,0 +1,2 @@ +# keep this file sorted alphabetically, one language code per line +fr diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/po/Makefile.in.in b/tizen/distrib/remote/client/spice-gtk-0.19/po/Makefile.in.in new file mode 100644 index 0000000..06a8cfe --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/po/Makefile.in.in @@ -0,0 +1,222 @@ +# Makefile for program source directory in GNU NLS utilities package. +# Copyright (C) 1995, 1996, 1997 by Ulrich Drepper <drepper@gnu.ai.mit.edu> +# Copyright (C) 2004-2008 Rodney Dawes <dobey.pwns@gmail.com> +# +# This file may be copied and used freely without restrictions. It may +# be used in projects which are not available under a GNU Public License, +# but which still want to provide support for the GNU gettext functionality. +# +# - Modified by Owen Taylor <otaylor@redhat.com> to use GETTEXT_PACKAGE +# instead of PACKAGE and to look for po2tbl in ./ not in intl/ +# +# - Modified by jacob berkman <jacob@ximian.com> to install +# Makefile.in.in and po2tbl.sed.in for use with glib-gettextize +# +# - Modified by Rodney Dawes <dobey.pwns@gmail.com> for use with intltool +# +# We have the following line for use by intltoolize: +# INTLTOOL_MAKEFILE + +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +PACKAGE = @PACKAGE@ +VERSION = @VERSION@ + +SHELL = @SHELL@ + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +top_builddir = @top_builddir@ +VPATH = @srcdir@ + +prefix = @prefix@ +exec_prefix = @exec_prefix@ +datadir = @datadir@ +datarootdir = @datarootdir@ +libdir = @libdir@ +DATADIRNAME = @DATADIRNAME@ +itlocaledir = $(prefix)/$(DATADIRNAME)/locale +subdir = po +install_sh = @install_sh@ +# Automake >= 1.8 provides @mkdir_p@. +# Until it can be supposed, use the safe fallback: +mkdir_p = $(install_sh) -d + +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ + +GMSGFMT = @GMSGFMT@ +MSGFMT = @MSGFMT@ +XGETTEXT = @XGETTEXT@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +MSGMERGE = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist +GENPOT = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot + +ALL_LINGUAS = @ALL_LINGUAS@ + +PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi) + +USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep \^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep \^$$lang$$`"; then printf "$$lang "; fi; done; fi) + +USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) + +POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done) + +DISTFILES = Makefile.in.in POTFILES.in $(POFILES) +EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS + +POTFILES = \ +# This comment gets stripped out + +CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done) + +.SUFFIXES: +.SUFFIXES: .po .pox .gmo .mo .msg .cat + +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +INTLTOOL_V_MSGFMT = $(INTLTOOL__v_MSGFMT_$(V)) +INTLTOOL__v_MSGFMT_= $(INTLTOOL__v_MSGFMT_$(AM_DEFAULT_VERBOSITY)) +INTLTOOL__v_MSGFMT_0 = @echo " MSGFMT" $@; + +.po.pox: + $(MAKE) $(GETTEXT_PACKAGE).pot + $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox + +.po.mo: + $(INTLTOOL_V_MSGFMT)$(MSGFMT) -o $@ $< + +.po.gmo: + $(INTLTOOL_V_MSGFMT)file=`echo $* | sed 's,.*/,,'`.gmo \ + && rm -f $$file && $(GMSGFMT) -o $$file $< + +.po.cat: + sed -f ../intl/po2msg.sed < $< > $*.msg \ + && rm -f $@ && gencat $@ $*.msg + + +all: all-@USE_NLS@ + +all-yes: $(CATALOGS) +all-no: + +$(GETTEXT_PACKAGE).pot: $(POTFILES) + $(GENPOT) + +install: install-data +install-data: install-data-@USE_NLS@ +install-data-no: all +install-data-yes: all + linguas="$(USE_LINGUAS)"; \ + for lang in $$linguas; do \ + dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \ + $(mkdir_p) $$dir; \ + if test -r $$lang.gmo; then \ + $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ + echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \ + else \ + $(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ + echo "installing $(srcdir)/$$lang.gmo as" \ + "$$dir/$(GETTEXT_PACKAGE).mo"; \ + fi; \ + if test -r $$lang.gmo.m; then \ + $(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \ + echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \ + else \ + if test -r $(srcdir)/$$lang.gmo.m ; then \ + $(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \ + $$dir/$(GETTEXT_PACKAGE).mo.m; \ + echo "installing $(srcdir)/$$lang.gmo.m as" \ + "$$dir/$(GETTEXT_PACKAGE).mo.m"; \ + else \ + true; \ + fi; \ + fi; \ + done + +# Empty stubs to satisfy archaic automake needs +dvi info ctags tags CTAGS TAGS ID: + +# Define this as empty until I found a useful application. +install-exec installcheck: + +uninstall: + linguas="$(USE_LINGUAS)"; \ + for lang in $$linguas; do \ + rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \ + rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \ + done + +check: all $(GETTEXT_PACKAGE).pot + rm -f missing notexist + srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m + if [ -r missing -o -r notexist ]; then \ + exit 1; \ + fi + +mostlyclean: + rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp + rm -f .intltool-merge-cache + +clean: mostlyclean + +distclean: clean + rm -f Makefile Makefile.in POTFILES stamp-it + rm -f *.mo *.msg *.cat *.cat.m *.gmo + +maintainer-clean: distclean + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + rm -f Makefile.in.in + +distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) +dist distdir: $(DISTFILES) + dists="$(DISTFILES)"; \ + extra_dists="$(EXTRA_DISTFILES)"; \ + for file in $$extra_dists; do \ + test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \ + done; \ + for file in $$dists; do \ + test -f $$file || file="$(srcdir)/$$file"; \ + ln $$file $(distdir) 2> /dev/null \ + || cp -p $$file $(distdir); \ + done + +update-po: Makefile + $(MAKE) $(GETTEXT_PACKAGE).pot + tmpdir=`pwd`; \ + linguas="$(USE_LINGUAS)"; \ + for lang in $$linguas; do \ + echo "$$lang:"; \ + result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \ + if $$result; then \ + if cmp $(srcdir)/$$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ + rm -f $$tmpdir/$$lang.new.po; \ + else \ + if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ + :; \ + else \ + echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ + rm -f $$tmpdir/$$lang.new.po; \ + exit 1; \ + fi; \ + fi; \ + else \ + echo "msgmerge for $$lang.gmo failed!"; \ + rm -f $$tmpdir/$$lang.new.po; \ + fi; \ + done + +Makefile POTFILES: stamp-it + @if test ! -f $@; then \ + rm -f stamp-it; \ + $(MAKE) stamp-it; \ + fi + +stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \ + $(SHELL) ./config.status + +# Tell versions [3.59,3.63) of GNU make not to export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/po/POTFILES.in b/tizen/distrib/remote/client/spice-gtk-0.19/po/POTFILES.in new file mode 100644 index 0000000..0d962f0 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/po/POTFILES.in @@ -0,0 +1,17 @@ +data/spice-mime.xml.in +data/spicy.desktop.in.in +gtk/channel-usbredir.c +gtk/desktop-integration.c +gtk/display/display-name.c +gtk/display/gnome-rr-config.c +gtk/display/gnome-rr-generic.c +gtk/display/gnome-rr-windows.c +gtk/display/gnome-rr-x11.c +gtk/spice-cmdline.c +gtk/spice-option.c +gtk/spicy-screenshot.c +gtk/spicy-stats.c +gtk/spicy.c +gtk/usb-device-manager.c +gtk/usb-device-widget.c +gtk/usbutil.c diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/po/POTFILES.skip b/tizen/distrib/remote/client/spice-gtk-0.19/po/POTFILES.skip new file mode 100644 index 0000000..5c78729 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/po/POTFILES.skip @@ -0,0 +1 @@ +data/spicy.desktop.in diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/po/fr.po b/tizen/distrib/remote/client/spice-gtk-0.19/po/fr.po new file mode 100644 index 0000000..7a8f3ec --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/po/fr.po @@ -0,0 +1,235 @@ +# French translation for spice. +# Copyright (C) 2010 Listed translators +# This file is distributed under the same license as the gtk-vnc package. +# +# Marc-André Lureau <marcandre.lureau@redhat.com>, 2010 +# +msgid "" +msgstr "" +"Project-Id-Version: spice master fr\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-11-25 03:25+0100\n" +"PO-Revision-Date: 2010-11-25 03:43+0100\n" +"Last-Translator: Marc-André Lureau <marcandre.lureau@redhat.com>\n" +"Language-Team: GNOME French Team <gnomefr@traduc.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#: ../gtk/spicy.c:129 +msgid "Hostname" +msgstr "Nom de l'hôte" + +#: ../gtk/spicy.c:130 +msgid "Port" +msgstr "Port" + +#: ../gtk/spicy.c:131 +msgid "TLS Port" +msgstr "Port TLS" + +#. Create the widgets +#: ../gtk/spicy.c:140 +msgid "Connect" +msgstr "Connexion" + +#: ../gtk/spicy.c:196 +#, c-format +msgid "Use Shift+F12 to ungrab mouse." +msgstr "Utiliser Shift+F12 pour désaisir la souris." + +#: ../gtk/spicy.c:198 +#, c-format +msgid "mouse: %s, agent: %s" +msgstr "souris: %s, agent: %s" + +#: ../gtk/spicy.c:257 ../gtk/spicy.c:683 +msgid "yes" +msgstr "oui" + +#: ../gtk/spicy.c:257 ../gtk/spicy.c:683 +msgid "no" +msgstr "non" + +#: ../gtk/spicy.c:265 +msgid "" +"gtk client app for the\n" +"spice remote desktop protocol" +msgstr "" +"Application Gtk de connexion\n" +"au serveur de bureau spice" + +#: ../gtk/spicy.c:360 +msgid "_Connect ..." +msgstr "_Ouvrir une session..." + +#: ../gtk/spicy.c:366 +msgid "_Close" +msgstr "_Quitter" + +#: ../gtk/spicy.c:374 +msgid "_Copy to guest" +msgstr "_Copier dans l'invité" + +#: ../gtk/spicy.c:380 +msgid "_Paste from guest" +msgstr "Coller dans l'invité" + +#: ../gtk/spicy.c:388 +msgid "_Fullscreen" +msgstr "_Plein écran" + +#: ../gtk/spicy.c:395 +msgid "_Ungrab mouse" +msgstr "_Désaisir la souris" + +#: ../gtk/spicy.c:403 +msgid "_About ..." +msgstr "_À propos" + +#: ../gtk/spicy.c:411 +msgid "Grab keyboard when active and focused" +msgstr "Saisir le clavier après focus" + +#: ../gtk/spicy.c:415 +msgid "Grab mouse in server mode (no tabled/vdagent)" +msgstr "Saisir la souris en mode serveur (pas d'agent)" + +#: ../gtk/spicy.c:419 +msgid "Resize guest to match window size" +msgstr "Redimensionner l'invité à la taille de fenêtre" + +#: ../gtk/spicy.c:423 +msgid "Automagic clipboard sharing between host and guest" +msgstr "Partage de presse-papiers automatique" + +#: ../gtk/spicy.c:485 +#, c-format +msgid "spice display %d" +msgstr "écran spice %d" + +#: ../gtk/spicy.c:542 +msgid "?" +msgstr "?" + +#. FIXME i18 +#: ../gtk/spicy.c:639 +msgid "Authentication" +msgstr "Authentification" + +#: ../gtk/spicy.c:640 +msgid "Please enter the spice server password" +msgstr "Entrez le mot de passe du serveur spice" + +#: ../gtk/spicy.c:694 +msgid "SCROLL" +msgstr "DÉFIL" + +#: ../gtk/spicy.c:696 +msgid "CAPS" +msgstr "VERR.MAJ" + +#: ../gtk/spicy.c:698 +msgid "NUM" +msgstr "VERR.NUM" + +#: ../gtk/spicy.c:831 +msgid "open in full screen mode" +msgstr "Ouvrir en plein-écran" + +#: ../gtk/spicy.c:849 +msgid "- spice client application" +msgstr "- application client spice" + +#: ../gtk/spicy.c:854 ../gtk/snappy.c:144 +#, c-format +msgid "option parsing failed: %s\n" +msgstr "échec d'analyse des options: %s\n" + +#: ../gtk/snappy.c:60 +#, c-format +msgid "snappy: can't open %s: %s\n" +msgstr "snappy: impossible d'ouvrir %s: %s\n" + +#: ../gtk/snappy.c:88 +#, c-format +msgid "unsupported spice surface format %d\n" +msgstr "format de surface spice non supporté %d\n" + +#: ../gtk/snappy.c:93 +#, c-format +msgid "wrote screen shot to %s\n" +msgstr "capture d'écran sauvée dans %s\n" + +#: ../gtk/snappy.c:123 +msgid "output file name (*.ppm)" +msgstr "nom de fichier d'enregistrement (*.ppm)" + +#: ../gtk/snappy.c:124 +msgid "<filename>" +msgstr "<nom de fichier>" + +#. parse opts +#: ../gtk/snappy.c:140 +msgid " - write screen shots in ppm format" +msgstr " - sauve des capture d'écran au format ppm" + +#: ../gtk/snappy.c:157 +#, c-format +msgid "spice_session_connect failed\n" +msgstr "spice_session_connect a échoué\n" + +#: ../gtk/spice-cmdline.c:39 +msgid "spice server uri" +msgstr "uri du serveur spice" + +#: ../gtk/spice-cmdline.c:40 +msgid "<uri>" +msgstr "<uri>" + +#: ../gtk/spice-cmdline.c:46 +msgid "spice server address" +msgstr "adresse du serveur spice" + +#: ../gtk/spice-cmdline.c:47 +msgid "<host>" +msgstr "<hôte>" + +#: ../gtk/spice-cmdline.c:53 +msgid "spice server port" +msgstr "port du serveur spice" + +#: ../gtk/spice-cmdline.c:54 ../gtk/spice-cmdline.c:61 +msgid "<port>" +msgstr "<port>" + +#: ../gtk/spice-cmdline.c:60 +msgid "spice server secure port" +msgstr "port sécurisé du serveur spice" + +#: ../gtk/spice-cmdline.c:66 +msgid "truststore file for secure connections" +msgstr "fichier truststore pour les connexions sécurisées" + +#: ../gtk/spice-cmdline.c:67 +#, fuzzy +msgid "<file>" +msgstr "<nom de fichier>" + +#: ../gtk/spice-cmdline.c:73 +msgid "server password" +msgstr "mot de passe du serveur" + +#: ../gtk/spice-cmdline.c:74 +msgid "<password>" +msgstr "<mot de passe>" + +#: ../gtk/spice-cmdline.c:86 +msgid "Spice Options:" +msgstr "Options Spice:" + +#: ../gtk/spice-cmdline.c:87 +msgid "Show spice Options" +msgstr "Affiche les options de spice" diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/spice-client-glib-2.0.pc.in b/tizen/distrib/remote/client/spice-gtk-0.19/spice-client-glib-2.0.pc.in new file mode 100644 index 0000000..27d6886 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/spice-client-glib-2.0.pc.in @@ -0,0 +1,13 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: spice-client-glib-2.0 +Description: SPICE Client GLib 2.0 library +Version: @VERSION@ + +Requires: spice-protocol +Requires.private: @SPICE_GLIB_REQUIRES@ +Libs: -L${libdir} -lspice-client-glib-2.0 +Cflags: -I${includedir}/spice-client-glib-2.0 diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/spice-client-gtk-2.0.pc.in b/tizen/distrib/remote/client/spice-gtk-0.19/spice-client-gtk-2.0.pc.in new file mode 100644 index 0000000..a5b96e2 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/spice-client-gtk-2.0.pc.in @@ -0,0 +1,12 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: spice-client-gtk-2.0 +Description: SPICE Client Gtk 2.0 library +Version: @VERSION@ + +Requires: @SPICE_GTK_REQUIRES@ spice-client-glib-2.0 +Libs: -L${libdir} -lspice-client-gtk-2.0 +Cflags: -I${includedir}/spice-client-gtk-2.0 diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/spice-client-gtk-3.0.pc.in b/tizen/distrib/remote/client/spice-gtk-0.19/spice-client-gtk-3.0.pc.in new file mode 100644 index 0000000..7bad0c8 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/spice-client-gtk-3.0.pc.in @@ -0,0 +1,12 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: spice-client-gtk-3.0 +Description: SPICE Client Gtk 3.0 library +Version: @VERSION@ + +Requires: @SPICE_GTK_REQUIRES@ spice-client-glib-2.0 +Libs: -L${libdir} -lspice-client-gtk-3.0 +Cflags: -I${includedir}/spice-client-gtk-3.0 diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/spice-controller.pc.in b/tizen/distrib/remote/client/spice-gtk-0.19/spice-controller.pc.in new file mode 100644 index 0000000..7dfe4b4 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/spice-controller.pc.in @@ -0,0 +1,12 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: spice-controller +Description: SPICE Client controller library +Version: @VERSION@ + +Requires: glib-2.0 +Libs: -L${libdir} -lspice-controller +Cflags: -I${includedir}/spice-controller diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/vapi/Makefile.am b/tizen/distrib/remote/client/spice-gtk-0.19/vapi/Makefile.am new file mode 100644 index 0000000..e19aefc --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/vapi/Makefile.am @@ -0,0 +1,37 @@ +NULL = +CLEANFILES = + +vapidir = $(datadir)/vala/vapi +vapi_DATA = \ + spice-client-glib-2.0.vapi \ + spice-client-gtk-$(SPICE_GTK_API_VERSION).vapi \ + $(NULL) +dist_vapi_DATA = \ + spice-client-gtk-$(SPICE_GTK_API_VERSION).deps \ + spice-client-glib-2.0.deps \ + $(NULL) + +BUILT_SOURCES = $(vapi_DATA) +EXTRA_DIST = \ + spice-client-gtk-2.0.deps \ + spice-client-gtk-3.0.deps \ + SpiceClientGLib-2.0.metadata \ + $(NULL) + +spice-client-glib-2.0.vapi: $(top_builddir)/gtk/SpiceClientGLib-2.0.gir SpiceClientGLib-2.0.metadata + $(AM_V_GEN)$(VAPIGEN) \ + --metadatadir=$(srcdir) \ + --library spice-client-glib-2.0 \ + --pkg gio-2.0 \ + $< + +spice-client-gtk-$(SPICE_GTK_API_VERSION).vapi: $(top_builddir)/gtk/SpiceClientGtk-$(SPICE_GTK_API_VERSION).gir spice-client-glib-2.0.vapi + $(AM_V_GEN)$(VAPIGEN) \ + --vapidir=$(builddir) \ + --girdir=$(top_builddir)/gtk \ + --pkg spice-client-glib-2.0 \ + --pkg gtk+-$(GTK_API_VERSION) \ + --library spice-client-gtk-$(SPICE_GTK_API_VERSION) \ + $< + +-include $(top_srcdir)/git.mk diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/vapi/Makefile.in b/tizen/distrib/remote/client/spice-gtk-0.19/vapi/Makefile.in new file mode 100644 index 0000000..4b361e7 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/vapi/Makefile.in @@ -0,0 +1,641 @@ +# Makefile.in generated by automake 1.13.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2012 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@ + +VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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 = vapi +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ + $(dist_vapi_DATA) +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/check_python.m4 \ + $(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/intltool.m4 \ + $(top_srcdir)/m4/ld-version.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/m4/manywarnings.m4 \ + $(top_srcdir)/m4/spice-compile-warnings.m4 \ + $(top_srcdir)/m4/warnings.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 = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +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; }; \ + } +am__installdirs = "$(DESTDIR)$(vapidir)" "$(DESTDIR)$(vapidir)" +DATA = $(dist_vapi_DATA) $(vapi_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ACL_HELPER_DIR = @ACL_HELPER_DIR@ +ACL_LIBS = @ACL_LIBS@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CAIRO_CFLAGS = @CAIRO_CFLAGS@ +CAIRO_LIBS = @CAIRO_LIBS@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CELT051_CFLAGS = @CELT051_CFLAGS@ +CELT051_LIBDIR = @CELT051_LIBDIR@ +CELT051_LIBS = @CELT051_LIBS@ +CFLAGS = @CFLAGS@ +COMMON_CFLAGS = @COMMON_CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DBUS_GLIB_CFLAGS = @DBUS_GLIB_CFLAGS@ +DBUS_GLIB_LIBS = @DBUS_GLIB_LIBS@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GIO_CFLAGS = @GIO_CFLAGS@ +GIO_LIBS = @GIO_LIBS@ +GLIB2_CFLAGS = @GLIB2_CFLAGS@ +GLIB2_LIBS = @GLIB2_LIBS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GOBJECT2_CFLAGS = @GOBJECT2_CFLAGS@ +GOBJECT2_LIBS = @GOBJECT2_LIBS@ +GREP = @GREP@ +GST_CFLAGS = @GST_CFLAGS@ +GST_LIBS = @GST_LIBS@ +GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ +GTHREAD_LIBS = @GTHREAD_LIBS@ +GTKDOC_CHECK = @GTKDOC_CHECK@ +GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ +GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ +GTKDOC_MKPDF = @GTKDOC_MKPDF@ +GTKDOC_REBASE = @GTKDOC_REBASE@ +GTK_API_VERSION = @GTK_API_VERSION@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +GTK_REQUIRED = @GTK_REQUIRED@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +HTML_DIR = @HTML_DIR@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@ +INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@ +INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@ +INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@ +INTROSPECTION_LIBS = @INTROSPECTION_LIBS@ +INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@ +INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@ +INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@ +JPEG_LIBS = @JPEG_LIBS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBM = @LIBM@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PIE_CFLAGS = @PIE_CFLAGS@ +PIE_LDFLAGS = @PIE_LDFLAGS@ +PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ +PIXMAN_LIBS = @PIXMAN_LIBS@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PNP_IDS = @PNP_IDS@ +POFILES = @POFILES@ +POLICYDIR = @POLICYDIR@ +POLKIT_CFLAGS = @POLKIT_CFLAGS@ +POLKIT_LIBS = @POLKIT_LIBS@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PULSE_CFLAGS = @PULSE_CFLAGS@ +PULSE_LIBS = @PULSE_LIBS@ +PYGTK_CFLAGS = @PYGTK_CFLAGS@ +PYGTK_LIBS = @PYGTK_LIBS@ +PYTHON = @PYTHON@ +PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ +PYTHON_INCLUDES = @PYTHON_INCLUDES@ +PYTHON_PLATFORM = @PYTHON_PLATFORM@ +PYTHON_PREFIX = @PYTHON_PREFIX@ +PYTHON_VERSION = @PYTHON_VERSION@ +RANLIB = @RANLIB@ +SASL_CFLAGS = @SASL_CFLAGS@ +SASL_LIBS = @SASL_LIBS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SMARTCARD_CFLAGS = @SMARTCARD_CFLAGS@ +SMARTCARD_LIBS = @SMARTCARD_LIBS@ +SPICE_CFLAGS = @SPICE_CFLAGS@ +SPICE_GLIB_CFLAGS = @SPICE_GLIB_CFLAGS@ +SPICE_GLIB_REQUIRES = @SPICE_GLIB_REQUIRES@ +SPICE_GTK_API_VERSION = @SPICE_GTK_API_VERSION@ +SPICE_GTK_CFLAGS = @SPICE_GTK_CFLAGS@ +SPICE_GTK_LOCALEDIR = @SPICE_GTK_LOCALEDIR@ +SPICE_GTK_REQUIRES = @SPICE_GTK_REQUIRES@ +SSL_CFLAGS = @SSL_CFLAGS@ +SSL_LIBS = @SSL_LIBS@ +STOW = @STOW@ +STRIP = @STRIP@ +USBREDIR_CFLAGS = @USBREDIR_CFLAGS@ +USBREDIR_LIBS = @USBREDIR_LIBS@ +USB_IDS = @USB_IDS@ +USE_NLS = @USE_NLS@ +VALAC = @VALAC@ +VAPIDIR = @VAPIDIR@ +VAPIGEN = @VAPIGEN@ +VERSION = @VERSION@ +WARN_CFLAGS = @WARN_CFLAGS@ +WARN_LDFLAGS = @WARN_LDFLAGS@ +WARN_PYFLAGS = @WARN_PYFLAGS@ +XGETTEXT = @XGETTEXT@ +XRANDR_CFLAGS = @XRANDR_CFLAGS@ +XRANDR_LIBS = @XRANDR_LIBS@ +Z_LIBS = @Z_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgpyexecdir = @pkgpyexecdir@ +pkgpythondir = @pkgpythondir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +pyexecdir = @pyexecdir@ +pythondir = @pythondir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +subdirs = @subdirs@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +NULL = +CLEANFILES = +vapidir = $(datadir)/vala/vapi +vapi_DATA = \ + spice-client-glib-2.0.vapi \ + spice-client-gtk-$(SPICE_GTK_API_VERSION).vapi \ + $(NULL) + +dist_vapi_DATA = \ + spice-client-gtk-$(SPICE_GTK_API_VERSION).deps \ + spice-client-glib-2.0.deps \ + $(NULL) + +BUILT_SOURCES = $(vapi_DATA) +EXTRA_DIST = \ + spice-client-gtk-2.0.deps \ + spice-client-gtk-3.0.deps \ + SpiceClientGLib-2.0.metadata \ + $(NULL) + +all: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(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) --foreign vapi/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign vapi/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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-dist_vapiDATA: $(dist_vapi_DATA) + @$(NORMAL_INSTALL) + @list='$(dist_vapi_DATA)'; test -n "$(vapidir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(vapidir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(vapidir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(vapidir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(vapidir)" || exit $$?; \ + done + +uninstall-dist_vapiDATA: + @$(NORMAL_UNINSTALL) + @list='$(dist_vapi_DATA)'; test -n "$(vapidir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(vapidir)'; $(am__uninstall_files_from_dir) +install-vapiDATA: $(vapi_DATA) + @$(NORMAL_INSTALL) + @list='$(vapi_DATA)'; test -n "$(vapidir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(vapidir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(vapidir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(vapidir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(vapidir)" || exit $$?; \ + done + +uninstall-vapiDATA: + @$(NORMAL_UNINSTALL) + @list='$(vapi_DATA)'; test -n "$(vapidir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(vapidir)'; $(am__uninstall_files_from_dir) +tags TAGS: + +ctags CTAGS: + +cscope cscopelist: + + +distdir: $(DISTFILES) + @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: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(vapidir)" "$(DESTDIR)$(vapidir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) 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: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +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 "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) +clean: clean-am + +clean-am: clean-generic clean-libtool 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-dist_vapiDATA install-vapiDATA + +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-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 mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-dist_vapiDATA uninstall-vapiDATA + +.MAKE: all check install install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + cscopelist-am ctags-am distclean distclean-generic \ + distclean-libtool distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am \ + install-dist_vapiDATA install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-strip install-vapiDATA \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \ + uninstall-am uninstall-dist_vapiDATA uninstall-vapiDATA + + +spice-client-glib-2.0.vapi: $(top_builddir)/gtk/SpiceClientGLib-2.0.gir SpiceClientGLib-2.0.metadata + $(AM_V_GEN)$(VAPIGEN) \ + --metadatadir=$(srcdir) \ + --library spice-client-glib-2.0 \ + --pkg gio-2.0 \ + $< + +spice-client-gtk-$(SPICE_GTK_API_VERSION).vapi: $(top_builddir)/gtk/SpiceClientGtk-$(SPICE_GTK_API_VERSION).gir spice-client-glib-2.0.vapi + $(AM_V_GEN)$(VAPIGEN) \ + --vapidir=$(builddir) \ + --girdir=$(top_builddir)/gtk \ + --pkg spice-client-glib-2.0 \ + --pkg gtk+-$(GTK_API_VERSION) \ + --library spice-client-gtk-$(SPICE_GTK_API_VERSION) \ + $< + +-include $(top_srcdir)/git.mk + +# 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: diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/vapi/SpiceClientGLib-2.0.metadata b/tizen/distrib/remote/client/spice-gtk-0.19/vapi/SpiceClientGLib-2.0.metadata new file mode 100644 index 0000000..acb7f57 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/vapi/SpiceClientGLib-2.0.metadata @@ -0,0 +1 @@ +Channel.open_fd#virtual_method skip diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/vapi/spice-client-glib-2.0.deps b/tizen/distrib/remote/client/spice-gtk-0.19/vapi/spice-client-glib-2.0.deps new file mode 100644 index 0000000..cd10dfd --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/vapi/spice-client-glib-2.0.deps @@ -0,0 +1 @@ +gio-2.0 diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/vapi/spice-client-gtk-2.0.deps b/tizen/distrib/remote/client/spice-gtk-0.19/vapi/spice-client-gtk-2.0.deps new file mode 100644 index 0000000..8991f34 --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/vapi/spice-client-gtk-2.0.deps @@ -0,0 +1,2 @@ +spice-client-glib-2.0 +gtk+-2.0 diff --git a/tizen/distrib/remote/client/spice-gtk-0.19/vapi/spice-client-gtk-3.0.deps b/tizen/distrib/remote/client/spice-gtk-0.19/vapi/spice-client-gtk-3.0.deps new file mode 100644 index 0000000..d04a10b --- /dev/null +++ b/tizen/distrib/remote/client/spice-gtk-0.19/vapi/spice-client-gtk-3.0.deps @@ -0,0 +1,2 @@ +spice-client-glib-2.0 +gtk+-3.0 diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/AUTHORS b/tizen/distrib/remote/client/virt-viewer-0.5.3/AUTHORS new file mode 100644 index 0000000..a559205 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/AUTHORS @@ -0,0 +1,74 @@ + Virt Viewer Authors + =================== + +The Virt Viewer application is maintained by + + Daniel P. Berrange <berrange@redhat.com> (Original author) + Christophe Fergeau <cfergeau@redhat.com> + Marc-André Lureau <marcandre.lureau@redhat.com> + Hans de Goede <hdegoede@redhat.com> + +With additional patches from: + + Atsushi SAKAI <sakaia@jp.fujitsu.com> + Chris Lalancette <clalance@redhat.com> + Guannan Ren <gren@redhat.com> + Guido G\374nther <agx@sigxcpu.org> + Hans de Goede <hdegoede@redhat.com> + Hiroyuki Kaguchi <fj7025cf@aa.jp.fujitsu.com> + Jiri Denemark <Jiri.Denemark@gmail.com> + Pavel Raiskup <praiskup@redhat.com> + Richard W.M. Jones <rjones@redhat.com> + Ronnie Sahlberg <ronniesahlberg@gmail.com> + Yann E. MORIN <yann.morin.1998@anciens.enib.fr> + Yonit Halperin <yhalperi@redhat.com> + Zeeshan Ali (Khattak) <zeeshanak@gnome.org> + + ...send patches to get your name here... + +Translations have been provided by + + <amitakhya@fedoraproject.org> + <andreyjktl@fedoraproject.org> + <anipeter@fedoraproject.org> + <ankit@fedoraproject.org> + <aron@fedoraproject.org> + <bozzo@fedoraproject.org> + <elsupergomez@fedoraproject.org> + <enshahar@fedoraproject.org> + <fdaluisio@fedoraproject.org> + <gcintra@fedoraproject.org> + <giallu@fedoraproject.org> + <hedda@fedoraproject.org> + <htaira@fedoraproject.org> + <ifelix@fedoraproject.org> + <jassy@fedoraproject.org> + <khasida@fedoraproject.org> + <kkrothap@fedoraproject.org> + <leahliu@fedoraproject.org> + <mgiri@fedoraproject.org> + <mospina@fedoraproject.org> + <mvdz@fedoraproject.org> + <rajesh@fedoraproject.org> + <raven@fedoraproject.org> + <renault@fedoraproject.org> + <runab@fedoraproject.org> + <samfreemanz@fedoraproject.org> + <sandeeps@fedoraproject.org> + <shanky@fedoraproject.org> + <snicore@fedoraproject.org> + <swkothar@fedoraproject.org> + <tchuang@fedoraproject.org> + <tombo@fedoraproject.org> + <tomspur@fedoraproject.org> + <warrink@fedoraproject.org> + <webappz@fedoraproject.org> + <ypoyarko@fedoraproject.org> + <yurchor@fedoraproject.org> + <zoltanh721@fedoraproject.org> + ...and more... + +For full translation credits see the header of the individual +files in the po/ directory. + +-- End diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/COPYING b/tizen/distrib/remote/client/virt-viewer-0.5.3/COPYING new file mode 100644 index 0000000..623b625 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/COPYING @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) 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 +this service 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 make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. 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. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute 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 and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +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 +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the 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 a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, 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. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE 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. + + 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 +convey 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 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 + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision 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, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This 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 Library General +Public License instead of this License. diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/ChangeLog b/tizen/distrib/remote/client/virt-viewer-0.5.3/ChangeLog new file mode 100644 index 0000000..6156efc --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/ChangeLog @@ -0,0 +1,1767 @@ +2012-05-15 Daniel P. Berrange <berrange@redhat.com> + + Avoid use of deprecated GTK3 pointer APIs + The gtk_widget_get_pointer() API is deprecated in GTK3 since it + is not aware of multiple pointers. Replace its usage in autoDrawer.c + with GdkDeviceManager and friends + + Adapt to avoid use of deprecated GTK3 style & size APIs + The GtkStyle API has been deprecated in favour of GtkStyleContext. + Update ovBox.c to use the latter if building with GtK3. Also replace + use of the gtk_widget_size_request API with gtk_widget_get_preferred_size. + +2012-05-15 Marc-André Lureau <marcandre.lureau@gmail.com> + + Release v0.5.3 + + nsis: fix .nsis file paths + - look up for icons under the DESTDIR directory + - don't ship gstaudiofx, unneeded + - add missing libtasn + +2012-05-14 Marc-André Lureau <marcandre.lureau@gmail.com> + + dist: ship .ico in tarball + Some distros (a 4-letters) don't have icotool. + Let's ship the .ico in the tarball. + + The build will fail if icoutil is not installed when + building from git or when the .ico is absent. The error + should be explicit. + + nsis: IE policy to launch silentely remote-viewer + Add IE ElevationPolicy for the remote-viewer client. + + http://msdn.microsoft.com/en-us/library/bb250462%28v=vs.85%29.aspx + + nsis: fix removal of start menu directory + +2012-05-08 Daniel P. Berrange <berrange@redhat.com> + + Avoid race condition when disposing of app + When disposing of the VirtViewerApp, we free the hash table + containing the windows. This causes each window to be freed, + which in turn causes the visibility callback to be invoked. + This can then get NULL pointers from the self->priv->windows + usage. + + Blank out priv->windows before unrefing the hashs and add + a check to ensure priv->windows is non-NULL. + +2012-05-04 Daniel P. Berrange <berrange@redhat.com> + + Ensure windows are destroyed when display closes + When running virt-viewer with the --reconnect argument, when + the session closes, the VirtViewerWindow instances were being + freed, but not the GtkWindow itself. So the orphaned window + stayed around doing nothing. The GtkBuilder instance was also + leaked. + + Fix these two leaks & also add some debugging to help future + troubleshooting + +2012-05-02 Daniel P. Berrange <berrange@redhat.com> + + Change 'OK' button to 'Close' button in USB device selection + The USB device selection applies immediately, so the dialog + should be using 'Close' instead of 'OK' for its primary button + +2012-04-27 Christophe Fergeau <cfergeau@redhat.com> + + g_getenv returns a const string + When switching from getenv to g_getenv, 'doms' declaration + wasn't changed from char * to const char *, which causes + a gcc warning. + +2012-04-26 Daniel P. Berrange <berrange@redhat.com> + + Replace getenv/setenv with g_getenv/g_setenv for Win32 portability + +2012-04-25 Daniel P. Berrange <berrange@redhat.com> + + Add debugging when performing fullscreen auto-configuration + + Refresh translations from transifex + + Really fix debug output on glib >= 2.31 + + Fix debug output on glib >= 2.31 + +2012-04-23 Daniel P. Berrange <berrange@redhat.com> + + Set the remote-viewer binary application name + Currently the window titles for remote-view have 'remote-viewer' + appended them. This is based off the argv[0] name. We should be + setting the GLib application name though, so we can get a localized + 'Remote Viewer' string in the titlebar + + Add support for raw IPv6 addresses in VNC & libvirt URIs + Support vnc://[x:y:z:]:5901/ for raw IPv6 addresses in URIs, + and qemu+ssh://root@[x:y:x:]:22/ for raw IPv6 addresses in + libvirt URIs + +2012-04-19 Daniel P. Berrange <berrange@redhat.com> + + Fix scaling of window to avoid integer truncation + Use round() instead of integer truncation when scaling the window, + to avoid floating point precision problems on i386 + +2012-04-18 Daniel P. Berrange <berrange@redhat.com> + + Add a desktop file for launching remote-viewer + Enable automagic handling of spice:// URLs in firefox by + registering a desktop handler for remote-viewer with the + SPICE URI scheme + +2012-04-17 Daniel P. Berrange <berrange@redhat.com> + + Give remote-viewer priority over spicec for spice-xpi-client + + Add manpage docs for the --attach option + + Fix manpage to s/--fullscreen/--full-screen/ + +2012-04-17 Christophe Fergeau <cfergeau@redhat.com> + + Fix automatic usb redir through controller + remote-viewer is currently trying to use + SpiceUsbDeviceManager::auto-connect to control whether USB devices + should be automatically connected or not. However, this property + is more or less an internal spice-gtk property which is toggled + by SpiceGtkSession when the SPICE widget gets/loses focus. + + SpiceGtkSession has an "auto-usbredir" property which can be used + by applications to enable/disable automatic usb redirection through + SPICE. Since this property is helpfully bound to + VirtViewerSession::auto-usbredir, use this when the controller + is told to enable/disable USB redirection. + + Without this change, automatic USB redirection will always get reenabled + as soon as there's a focus change since SpiceGtkSession::auto-usbredir + defaults to be enabled in spice-gtk. + +2012-04-05 Daniel P. Berrange <berrange@redhat.com> + + Ensure windres & icotool are present on Win32 builds + Builds are failing with an obscure error message + + make[3]: Entering directory `/var/lib/builder/source-root/virt-viewer/build/icons' + GEN virt-viewer.ico + /bin/sh: -c: command not found + make[3]: *** [virt-viewer.ico] Error 127 + + This is because configure.ac does not enforce that icotool + is present on Win32. + + * configure.ac: Mandate windres & icotool on Win32 + + Require F17 for spice in RPM builds + + Exclude windows-cmdline-wrapper.c from some syntax check rules + + Add Yonit to authors file + + Fix some syntax violations in git.mk + +2012-04-05 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> + + Minor simplification/optimization of VirtViewerDisplay + +2012-04-04 Daniel P. Berrange <berrange@redhat.com> + + Fix typo in variable names for Win32 command helper + + Fix close of VNC displays + When clicking the close button on a virt-viewer window with + a VNC session open, while the VNC session terminates, the + window does not go away. + + The problem is that the virt_viewer_session_vnc_disconnected + method never gets invoked. The close button triggers a call + to virt_viewer_session_clear_displays which unrefs the + VirtViewerDisplayVnc instance. This in turn triggers a call + to gtk_container_destroy, which destroys all widgets it + contains, ie the VncDisplay * object. + + With the VncDisplay object in its dispose phase, no signals + will ever be emitted, thus the 'vnc-disconnected' signal + never gets seen. + + The design issue is that VirtViewerDisplayVnc is assuming + it owns the VncDisplay, whereas in fact the real owner is + the VirtViewerSessionVnc object. + + The solution is to introduce a new virt_viewer_display_close + method which can be used to de-parent the widget before + VirtViewerDisplay is unref'd. + + The VirtViewerSessionVnc object also needs to hold a full ref + on the VncDisplay object, not merely a floating reference + + * virt-viewer-display-spice.c, virt-viewer-display.c, + virt-viewer-display.h: Add virt_viewer_display_close + * virt-viewer-display-vnc.c: Deparent VNC widget in + virt_viewer_display_close impl + * virt-viewer-session-vnc.c: Improve logging + * virt-viewer-session.c: Call virt_viewer_display_close + before unrefing display + * virt-viewer-window.c: Improve logging + +2012-04-04 Christophe Fergeau <cfergeau@redhat.com> + + Propagate USB redirection controller messages + +2012-04-03 Yonit Halperin <yhalperi@redhat.com> + + Add support for the SPICE properties disable-effects & color-depth + +2012-04-03 Christophe Fergeau <cfergeau@redhat.com> + + build-sys: fix Windows specific LDFLAGS on non-mingw + +2012-04-02 Marc-André Lureau <marcandre.lureau@gmail.com> + + nsis: fix a few missing icons + + nsis: add the remote-viewer cmdline wrapper + + remote-viewer: make it a GUI/windows application with hybrid console + If the application can attach to its parent console, redirect + input/output. So that will work nicely with the command line wrapper. + + Add a Windows command line wrapper + Add a small command line wrapper, to be able to call GUI/windows application from the console + +2012-04-01 Marc-André Lureau <marcandre.lureau@gmail.com> + + Disable mnemonics via gtk-enable-mnemonics settings + This has 2 advantages, and I can't figure any drawback: + - it fixes the issue of mnemonic hints being draw when pressing Alt + key (character underlined), even when they were disabled. + - it simplifies the code :) + + Disable menu items that would fail when there is no display + + build-sys: simplify autogen.sh + It should support NOCONFIGURE=1 ./autogen.sh && mingw32-configure + +2012-03-30 Marc-André Lureau <marcandre.lureau@gmail.com> + + build-sys: use git.mk to generate gitignore + This makefile is just fantastic, it forces you into good practices, + support various build targets (my windows builddir ignore the right + files etc..) + + The more I use it, the more I like it. + + win32: add a few Windows sepecific data + Add application icon and manifest + + win32: clean-up the NSIS installer, allow user install + + Fix recent --spice-controller regression, add error message + The current code will attempt to dereference args if + --spice-controller, even if args is NULL. + + Let's not accept any extra argument/uri on the command line if using + the controller. Beside, the conditionnal block looks better outside of + the if condition. + +2012-03-29 Hans de Goede <hdegoede@redhat.com> + + usbredir: listen for device-error signal + +2012-03-29 Marc-André Lureau <marcandre.lureau@gmail.com> + + remote-viewer: press Enter to connect in dialog + + Remove unused variable i + + remote-viewer: add a simple connection dialog + If the user doesn't provide URI, let's show a simple dialog to enter it. + + Also save & list recently used URLs in that dialog. + + Fix g_thread_init deprecation warning + Although the doc says it is only deprecated since >2.32, it's actually + >2.31 according to glib git log. + +2012-03-21 Marc-Andre Lureau <marcandre.lureau@redhat.com> + + Do not warn if the display is shown and not ready + Lower warning message to debug level. There are various racy ways it + ends up calling show_display although the display is not yet + ready. This is not such a big problem, although it would be nice to + handle this case better + + Notify focus state when the foreign menu title is set + The current code only inform of focus state when the listener is ready. + spice-gtk controller code lacks signal when a client connects, but a + client will set the title when connected and send a notify signal. + Use this event to notify of application focus state. + + Do not try to unref NULL menu + + Don't leak foreign menu + The RemoveViewer object will have its own ref. + +2012-03-21 Marc-André Lureau <marcandre.lureau@gmail.com> + + spice: handle switch-host event + Do not disconnect session when switching host (non-seamless migration + method). + + Also, handle a bit better main channel events and do not disconnect on + unknown events, however raise unhandled event message to warning + level. + + spice: remove usage of deprecated audio api + + Display correct key bindings to release cursor + If the accels are enabled (with Spice controller custom bindings), + show the configured keybinding in the title bar. + + spice: implement --fullscreen=auto-conf + - auto-conf is an optionnal argument to --fullscreen: + it will set the guest display configuration to match the client + display configuration, by sending the client monitors size and + position to capable guests. + +2012-03-18 Marc-André Lureau <marcandre.lureau@gmail.com> + + Fix indentation + +2012-03-16 Marc-André Lureau <marcandre.lureau@gmail.com> + + Do not crash so easily when given invalid uri + 'remote-viewer foobar' shouldn't crash + +2012-03-13 Daniel P. Berrange <berrange@redhat.com> + + Updated translations + +2012-03-09 Marc-André Lureau <marcandre.lureau@gmail.com> + + Make sure we call g_thread_init() + GThread is needed by spice-gtk + + Notify of focus state when a client connects + The current code notifies the controller when the remote-viewer + application starts, but not when the client is connected. We should do + the later instead + +2012-03-09 Daniel P. Berrange <berrange@redhat.com> + + Update NEWS for 0.5.2 release + + Import newer translations from transifex + + Fix libvirt/SPICE min versions + We require libvirt >= 0.9.7 to get virDomainOpenGraphics + + We require spice-gtk >= 0.11 to get the fix for dealing with + authentication over an SSH tunnel + + We requires spice-protocol >= 0.10.1 to get a constant + required by USB redirection + +2012-03-08 Marc-André Lureau <marcandre.lureau@gmail.com> + + Add a send-key menu in fullscreen + +2012-03-07 Marc-André Lureau <marcandre.lureau@gmail.com> + + build: fix autogen message + When running ./autogen.sh on a pristine git checkout, I got: + + libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and + libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. + You should add the contents of '/usr/share/aclocal/intltool.m4' to 'aclocal.m4'. + +2012-03-07 Hans de Goede <hdegoede@redhat.com> + + virt-viewer-window: Don't try to resize non visible windows + Trying to resize not visible windows leads to the following being printed + to the console: + Gdk-CRITICAL **: IA__gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' + + This gets triggered by the gdk_screen_get_monitor_geometry() call in + virt_viewer_window_resize() + + virt-viewer-window: Add show / hide utility functions + + virt-viewer-window: Move checks before resize to virt_viewer_window_resize + + virt-viewer-window: Remove useless tests for priv->window != NULL + priv->window gets set on init and never unset, so there is no need to check + for it. + +2012-03-07 Daniel P. Berrange <berrange@redhat.com> + + Update AUTHORS file + + Refresh translations + +2012-03-06 Hans de Goede <hdegoede@redhat.com> + + virt-viewer-window: Add a USB device selection to the fullscreen menu (v2) + Note this button only gets shown on USB redir capable virtual machines. + + Changes in v2: + -Use gtk_widget_set_visible for simpler code + + window: Call virt_viewer_app_quit instead of gtk_main_quit + When quiting from the fullscreen menu call virt_viewer_app_quit instead of + gtk_main_quit so that the session gets properly disconnected before quiting. + + virt_viewer_app_quit: Cleanly close the connection before quiting + Even though the previous patches in this series ensure that the session + gets properly finalized, we still need to wait for the disconnect signal, + as spice-glib uses co-routines which need some time to cleanly close the + connection / session. + + session-spice: Delay the disconnected signal till all channels are closed + Before this patch session-spice would emit the disconnected signal as soon + as the main channel is closed, but other channels may still be open at + that time and raising the disconnected signal usally leads to the app class + calling gtk_main_quit, at which point the other channels never get properly + finalized (as there co-routines still hold a reference to them). + + This is esp. bad for usbredir channels as these re-attach the kernel driver + for redirected devices when finalized. So exiting without properly finalizing + them leads to the formerly redirected devices not being usuable until the + driver is manually reloaded or the device is unplugged and re-plugged + (the kernel does not automatically re-bind kernel drivers when userspace + closes a usbfs node). + + This patch fixes this by delaying the emitting of the disconnect signal + until the last channel has been destroyed. + + virt-viewer-app: unref the session on dispose + With this patch combined with the previous patches in this series, the + VirtViewerSession (finally) gets properly finalized on exit. + + virt-viewer-display: Use a borrowed reference to session + Before this patch there was a cyclic reference between VirtViewerSesion and + VirtViewerDisplay, since all VirtViewerDisplays are created / destroyed by + VirtViewerSession it is safe to assume that lifetime of VirtViewerSession >= + VirtViewerDisplay, so VirtViewerDisplay can take a borrowed reference + breaking the circle, and allowing proper cleanup on exit. + + Note that there is no g_object_unref removed from virt-viewer-display, this + because there is no finalize / dispose and before this patch + VirtViewerDisplay never unref-ed the reference it hold to the session. + + virt-viewer-window: Use a borrowed reference to app + Before this patch there was a cyclic reference between VirtViewerApp and + VirtViewerWindow, since all VirtViewerWindows are created / destroyed by + VirtViewerApp it is safe to assume that lifetime of VirtViewerApp >= + VirtViewerWindow, so VirtViewerWindow can take a borrowed reference + breaking the circle, and allowing proper cleanup on exit. + + virt-viewer-app: main_window is part of our windows hashtable + This means that: + 1) There is no need to explictly set its title separately + 2) It is unref-ed when we do g_hash_table_unref(priv->windows), so it + should not be unref-ed separately otherwise it is unref-ed twice! + + Notice that 2 was never a problem because of circular references + between VirtViewerApp and VirtViewerWindow, but once the follow + up patch to this one breaks the circle 2 becomes an issue. + + session-spice: dispose should chain up to dispose not finalize!! + + usbredir: Gnome HIG-ify USB device selection dialog + These changes match the changes already made to the spice-gtk + usb device selection widget to match the spacing advised by the Gnome HIG. + + usbredir: Shrink the usb device selection dialog when devices are unplugged + +2012-03-05 Christophe Fergeau <cfergeau@redhat.com> + + Don't attempt to translate "" + The empty string has a magic meaning for gettext, it's used to + store a translation header with all kind of information about the + po file. This is not something we want to use as a window title, so + change to _("") to "" when we want an empty string. + + Fix path to spice-controller.h + +2012-03-01 Daniel P. Berrange <berrange@redhat.com> + + Remove trailing blank line + +2012-03-01 Marc-André Lureau <marcandre.lureau@gmail.com> + + fix make distcheck + + Prepare for release 0.5.2 + + update .mailmap + +2012-03-01 Marc-Andre Lureau <marcandre.lureau@redhat.com> + + remote-viewer: support spice foreign menu + +2012-03-01 Marc-André Lureau <marcandre.lureau@gmail.com> + + Add property app:has-focus + + Fix compilation with gtk 2.18 + + spice: fix connecting via ssh to a password-protected server + spice_session_connect() will attempt to connect directly to the + server, we need to continue calling spice_session_open_fd() for ssh + tunnel to work. + + spice: fix double unref of main channel + When doing unref() on a channel, channel-destroy signal may be emitted + during object dispose time, and it will attempt to unref() the channel + again likely leading to a crash. + + It may be that spice-gtk should have a different/simpler object + life-cycle model, but it's also a good assumption to not take strong + references on the channels, but just keep a weak reference as the + session is really the channel life-cycle manager. + + https://bugzilla.redhat.com/show_bug.cgi?id=797082 + +2012-02-27 Daniel P. Berrange <berrange@redhat.com> + + Import translations + +2012-02-23 Marc-André Lureau <marcandre.lureau@gmail.com> + + nsis: set HKCU "Software\spice-space.org\spicex\client" + With recent RHEV portal plugin, the Spice client is chosen according + to this key. + +2012-02-22 Marc-André Lureau <marcandre.lureau@gmail.com> + + remote-viewer: add smartcard controller message + + spice: teach customizable key bindings with controller + Tested with RHEVM 3.0 instance with custom bindings for fullscreen & + ungrab. + + Small code simplification + + Use the accelgroup to define key bindings + With accelgroups, we can redefine the keybindings + + Add hidden menu smartcard remove/insert and release-cursor + + Add virt_viewer_app_get_session() + + spice: implement smartcard-{insert,remove} virtual methods + + Add smartcard-{insert,remove} and release-cursor virtual methods + + Do not disable accelgroup if accels are enabled + + Add VirtViewerApp:enable-accel property + + Require an accel group for full-screen menu + Bump Gtk depedency to 2.18, since we already use symbols from it. + +2012-02-17 Daniel P. Berrange <berrange@redhat.com> + + Prepare for release 0.5.1 + +2012-02-16 Daniel P. Berrange <berrange@redhat.com> + + Remove virt-viewer.pot from git, as it is generated dynamically + + Add back compat for GObject 2.22 which lacks GBinding + + Relax GTK-VNC version again + A previous commit needlessly increased the min required GTK-VNC + + Only link remote-viewer program against SPICE controller + + Remove use of a libtool convenience library + The use of a libtool convenience library causes some platforms to + loose the ability to use the GNU_RELRO security feature in the + resulting binary. Refactor the makefile to simply compile the + common files twice, once for virt-viewer & once for remote-viewer + + Import latest translations from transifex + +2012-02-15 Daniel P. Berrange <berrange@redhat.com> + + Adjust POTFILES.in check to strip type prefix + + Add transifex configuration file + +2012-02-14 Daniel P. Berrange <berrange@redhat.com> + + Fix inclusion of GtkBuilder files in virt-viewer.pot + + Refresh translation files + + Update for release 0.5.0 + +2012-02-14 Marc-André Lureau <marcandre.lureau@gmail.com> + + First %d in controller title should be substituted with window nth + + Add libp11-kit-0.dll to nsis script + +2012-02-14 Daniel P. Berrange <berrange@redhat.com> + + Set pretty icon for remote-viewer windows too + + Don't hardcode 'localhost' in no @listen parameter is given + If no @listen parameter is given, we must not hardcode 'localhost' + since we can't assume we are running on the same host. Instead use + the hostname from the connection URI + + Extract tlsPort for SPICE and use it to enable secure connections + +2012-02-08 Daniel P. Berrange <berrange@redhat.com> + + Don't do whitespace checks on icons + + Set transient parent for screenshot dialog + + Ensure auth popup windows have correct transient parent + +2012-02-08 Marc-André Lureau <marcandre.lureau@gmail.com> + + Make the password field activates default widget + When pressing "Enter", the default auth dialog action isn't activated. + Setting activates_default to TRUE fixes this issue. + + Do not resize guest desktop if !auto-resize + If auto-resize is enabled, the guest desktop size will be resized to + match current window*zoom size. + + This can be a problem if the user explicitely set the desktop size to + a different resolution and want to keep it. Disabling auto-resize + sounds like a simple way to allow that. + + Resize Spice guest display to the container size + The SpiceDisplay doesn't receive the full allocation, because + VirtViewerDisplay maintains current aspect ratio. However, the guest + display can be resize up to its container size. + + This fixes going full-screen and not getting native resolution for + instance. + +2012-02-08 Daniel P. Berrange <berrange@redhat.com> + + Ensure About dialog has transient hints setup + + Import a pretty icon for virt-viewer application + + Re-added GtkBuilder XML files to POTFILES.in + Adapt syntax-check rule to allow XML files in POTFILES.in and + re-add the GtkBuilder XML files + + Implement SPICE desktop resizing that takes account of zoom level + The standard SPICE widget guest resize implementation does not + take into account the zoom level settings in virt-viewer, because + it has no knowledge of this functionality. The guest resize can, + however, be done by calling spice_main_set_display() directly. + This allows virt-viewer to resize the guest taking into account + zoom levels. + + ie, if virt-viewer is run with --zoom 50 and the window + is resized to 400x300, then the guest agent should + be told to set its resolution to 800x600 + +2012-02-07 Daniel P. Berrange <berrange@redhat.com> + + Revert support for resizing guest desktop + The SpiceDisplay widget has built-in support for resizing the + guest desktop, but this does not know that virt-viewer has a + zoom level setting. This makes the virt-viewer zoom completely + inoperable. Revert use of the 'resize-guest' property. + +2012-02-06 Marc-André Lureau <marcandre.lureau@gmail.com> + + Add spice-xpi-client-remote-viewer alternative + + man: add remote-viewer man page + +2012-02-06 Daniel P. Berrange <berrange@redhat.com> + + Import GNULIB rules for syntax checking code + + Add config.h to every source file + + Use exit() constants + + copyright fix + + End of file whitespace cleanup + + Update POTFILES.in + + Replace @FOO@ with $(FOO) in all Makefile.am + + Update copyright headers + + Remove useless if() before free() + + Update AUTHORS file + + Simplify no-op debug macro & fix plugin header + + Fix makefile.am subsitutions for plugin + + Convert TABS to spaces & reindent everywhere + +2012-02-06 Hans de Goede <hdegoede@redhat.com> + + Only make the USB device selection sensitive when the vm is USB capable + + Add a menu entry for USB device selection + +2012-02-06 Marc-André Lureau <marcandre.lureau@gmail.com> + + Grab the focus when showing the display + Override the grab_focus() method in the display class. Since both VNC + and Spice displays are the direct child, let's just grab the child. + It can be that this behaviour need to be overriden if Spice or VNC + display become more complex (using sub-childs or different objects) + +2012-01-31 Daniel P. Berrange <berrange@redhat.com> + + Ignore more generated files + +2012-01-31 Guannan Ren <gren@redhat.com> + + Disconnect virt-viewer when receiving signal session-cancelled + + Register a new signal session-cancelled + + Tune the first argument in calls to g_type_class_add_private() + +2012-01-31 Daniel P. Berrange <berrange@redhat.com> + + Support for virDomainOpenGraphics API + Add a new flag --attach, which instructs virt-viewer to attach + to the target display using virDomainOpenGraphics, instead of + initiating a VNC/SPICE connection directly. + + Make VNC support opening connections based on URI + + Adapt remote-viewer so that it builds without SPICE + +2012-01-31 Marc-André Lureau <marcandre.lureau@redhat.com> + + Add virt-viewer.nsis + Use ${DESTDIR} variable and @prefix@ to look for files. + Can't easily be generated, it has too much customization. + +2012-01-31 Marc-André Lureau <marcandre.lureau@gmail.com> + + Enable spice auto-usbredir + + Remove usage of deprecated property + + Add error dialog for USB redirection failure + + Resize guest desktop with SPICE + This is the method we prefer, even though we can't keep aspect ratio. + We could eventually support aspect ration in spice-gtk. + +2012-01-31 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: make libvirt optionnal + +2012-01-31 Marc-André Lureau <marcandre.lureau@gmail.com> + + Use a first letter capital in help + The GLib/GNOME convention seems to have first letter as capital for + option description strings. + +2012-01-31 Marc-André Lureau <marcandre.lureau@redhat.com> + + Add spice_get_option_group() + + Add spice controller support in remote-viewer + Usage is simply "remote-viewer --spice-controller" + + Add remote-viewer program + This program is meant for direct URI connections. + ex: remote-viewer vnc://uri + +2012-01-30 Marc-André Lureau <marcandre.lureau@gmail.com> + + Add a few property getters, used by controller + - virt_viewer_app_get_windows() + - virt_viewer_window_get_builder() + - "VirtViewerSessionSpice:spice-session" property + + build: use AM_GLIB_GNU_GETTEXT + Using intltool macro only causes build issues on exotic platforms, + such as MinGW. + + As long as this bug isn't fixed, we should use AM_GLIB_GNU_GETTEXT + https://bugs.launchpad.net/intltool/+bug/398571 + + NB this partially reverts + + 3473c4bb49adc0caca58dc1a8b6ce81c6870558a + + The difference is the ordering of the rules. With AM_GLIB_GNU_GETTEXT + appearing after IT_PROG_INTLTOOL, the --disable-nls arg to configure + is broken. Thus AM_GLIB_GNU_GETTEXT is called first in this change. + +2012-01-30 Marc-André Lureau <marcandre.lureau@redhat.com> + + Make virt_viewer_activate() a vfunc + since other equivalent methods are already overridable. + + Add window-added & window-removed signals + + Use graphical URI for connection + If specified, use URI for connection details + + Add virt_viewer_session_open_uri + + build: replace deprecated functions + +2012-01-30 Daniel P. Berrange <berrange@redhat.com> + + Add support for --system arg to autogen.sh + +2011-11-09 Daniel P. Berrange <berrange@redhat.com> + + Prep for 0.4.2 release + +2011-11-07 Daniel P. Berrange <berrange@redhat.com> + + Automatically generate changelog from GIT history during make dist + +2011-11-07 Marc-André Lureau <marcandre.lureau@redhat.com> + + Update POTFILES.in, fix make distcheck + +2011-11-07 Daniel P. Berrange <berrange@redhat.com> + + Ignore some more generated files + +2011-11-07 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: make gtk-vnc optional + +2011-11-07 Daniel P. Berrange <berrange@redhat.com> + + Require GTK-VNC 0.4.3 and remove redundant realize() call + Remove call to gtk_widget_realize for the GTK-VNC widget. Requires + GTK-VNC >= 0.4.3 + +2011-11-07 Marc-André Lureau <marcandre.lureau@redhat.com> + + Emit display-desktop-resize from set_desktop_size() + +2011-11-07 Daniel P. Berrange <berrange@redhat.com> + + Don't include INSTALL file in GIT + + Revert 1a56de3acad6a19fd958fae9278cf1c97fdabb18 + The GLIB2 check previously removed was misleading because it in + fact checked for gmodule-export-2.0 which is needed to export + the signal handlers. Revert the previous commit, but rename the + var to GMODULE2 to make it clearer + + Always use canonical URI from libvirt connection + The URI we feed into libvirt may be an alias, so always query the + actual URI used internally + +2011-11-04 Daniel P. Berrange <berrange@redhat.com> + + Update automated build to test both GTK2 and GTK3 builds + + Update mingw32 RPM specfile to use GTK3 on F15 or later + + Remove pkgconfig check for GLIB2 since it is implied by GTK2/3 + +2011-11-03 Daniel P. Berrange <berrange@redhat.com> + + Fix configure arg for disabling spice + + Print configuration summary + +2011-10-11 Daniel P. Berrange <berrange@redhat.com> + + Fix broken keycombos for F9->F12 menu + The table for sending C-A-Fn to guests had messed up mappings + for F9->F12 + + Wire up SpiceDisplay grab signals + To ensure that we can put the key release sequence message in the + title bar, wire up VirtViewerDisplaySpice to the grab signals + in SpiceDisplay + + Fix setting of window title with --wait + When waiting for a VM to appear or start, set the initial window + title to the command line arg. When the VM actually appears then + update it to the real VM name + +2011-09-28 Daniel P. Berrange <berrange@redhat.com> + + Fix crash from previous commit when using UNIX sockets + Code in the previous commit would use 'ghost' even when it was + NULL, as with UNIX domain socket based connections. + +2011-09-19 Daniel P. Berrange <berrange@redhat.com> + + Fix hostname when XML gives a wildcard address + When the guest XML contains a wildcard address like 0.0.0.0 or ::, + we can't directly use connect() on it. Instead we have to use the + hostname/IP from the libvirt URI. + +2011-09-16 Daniel P. Berrange <berrange@redhat.com> + + Propagate primary window zoom level to secondary windows + Ensure that all windows get a default zoom level of 100. Propagate + the primary window's zoom level to all secondary windows when + initially creating them + + Fix setting of window title with domain name + +2011-08-16 Daniel P. Berrange <berrange@redhat.com> + + Fix setting of initial zoom level on display + +2011-08-16 Guido Günther <agx@sigxcpu.org> + + ff callbacks must be invoked from a clean stack + If 'ff' callbacks are invoked directly from the remove + callback they will likely deadlock in libvirt. They must + be invoked from a clean stack, so switch to using a + glib idle callback. + +2011-08-14 Guido Günther <agx@sigxcpu.org> + + Don't print (null) as user + + Don't print incorrect port numbers + The port isn't 22 when we connect to an alternate port given in + .ssh/config. + + Don't hardcode ssh port to 0 + Many thanks to Luca Capello <luca@pca.it> for debugging this. + +2011-08-12 Daniel P. Berrange <berrange@redhat.com> + + Fix inverted sshport test that broke SSH tunnelling + +2011-08-04 Marc-André Lureau <marcandre.lureau@redhat.com> + + Return if xmlParseURI() failed, instead of crashing + + Lookup UI file correctly, to fix Windows support + + Mark exported function for gtkbuild to lookup on Windows + + Make title more translatable and using application name + + Use g_printerr for errors instead of fprintf(stderr,..) + + Lower severity of unhandled Spice events + + Add virt_viewer_app_show_display() + Similar to previous virt_viewer_app_show_status(). + Used later on by Spice controller to switch between display and status. + + Fix fullscreen should hide taskbar on Windows + +2011-08-04 Daniel P. Berrange <berrange@redhat.com> + + Update for 0.4.1 release + + Update authors & copyright dates + + Fix sort order of displays submenu + +2011-08-03 Guido Günther <agx@sigxcpu.org> + + Don't hardcode SSH port to 22 + To allow $HOME/.ssh/config to override the default SSH port, + don't hardcode '-p 22' in the command line. + +2011-08-03 Pavel Raiskup <praiskup@redhat.com> + + Remove unreachable condition in authentication dialog + +2011-07-26 Daniel P. Berrange <berrange@redhat.com> + + Remove duplicated struct definition + +2011-07-26 Marc-André Lureau <marcandre.lureau@redhat.com> + + If only one display, fullscreen should be on the current display + + Show status on all open windows + The split virt_viewer_notebook_show_status() to + virt_viewer_notebook_show_status_va() is unnecessary + in the end, but it's more future-proof. + + Add a "Displays" submenu, and warn when closing last display + + Don't ignore creation of secondary displays + + Use app fullscreen property instead of app.start() argument + + Implement app_set_fullscreen() to go over existing windows + + Show display and rise its window when we have the display show hint + Track event for Spice, and imitate it for VNC. + + Change enter/leave fullscreen to take/restore position + That allow positionning windows in multi-head. + + Also, get rid of window_state_cb, since it's impossible to + properly catch the event to do the right thing, ie move to a different + screen before go full-screen, or disallow it in case nb physical + monitors < nb virtual monitors. + + Add nth window to virt_viewer_app_window_new() + + Introduce fullscreen property and virt_viewer_app_set_fullscreen() + + Let virt_viewer_notebook_show_status take varags + + Status messages can be translated + + Add show-hint property to display + + Split VirtViewerApp window into VirtViewerWindow + +2011-07-22 Marc-André Lureau <marcandre.lureau@redhat.com> + + Inherit from VirtViewerApp for VirtViewer + Make it a real GObject. + + The parts specific to virt should go in virt-viewer.c + + Turn VirtViewer into a VirtViewerApp object + + Split virt_viewer_start() and virt_viewer_new() + + Split virt_viewer_activate() and virt_viewer_set_domain() + + Split virt_viewer_create_session() out of virt_viewer_extract_connect_info() + For future reusability + + Reorder _VirtViewer to make it easier to split with RemoteViewer + + Extract scheme in virt_viewer_extract_host() + Needed for remote-viewer. + +2011-07-18 Daniel P. Berrange <berrange@redhat.com> + + Remove use of AM_GLIB_GNU_GETTEXT + Since we already invoke the intltool macros, also invoking + AM_GLIB_GNU_GETTEXT is wrong and causes problems with the + later makefile rules + +2011-07-12 Daniel P. Berrange <berrange@redhat.com> + + Fix build requirements for GTK3 + + Remove bogus hardcoded check for GTK2 + + Disable SPICE unless on x86 architectures + + Fix compat with GTK 2.18.0 + + Updates for 0.4.0 release + + Remove virt-viewer-priv.h from sources, since it is gone + + Remove duplicated typedefs + + Annotate unused variables + + Fix leak of graphics type attribute from XML + + Fix leak of command line arguments + +2011-07-11 Daniel P. Berrange <berrange@redhat.com> + + Split pull part of VirtViewerDisplay out into VirtViewerSession + To facilitate introduction of multi-head support, pull some of + the VirtViewerDisplay class out into a new VirtViewerSession + class. + + Avoid (null) in titlebar + + Fix colour of status label to show up on black background + + Fix reconnecting of SPICE display + +2011-07-11 Marc-André Lureau <marcandre.lureau@redhat.com> + + Fill space on the display alignment with black + + Add support for --fullscreen option + + Skip non-primary monitors in SPICE + +2011-07-11 Daniel P. Berrange <berrange@redhat.com> + + Remove circular dependancy between VirtViewerDisplay and VirtViewer + Add many signals to VirtViewerDisplay which are emitted when various + events occur. This lets us remove all the code in the VirtViewerDisplay + subclasses which call back into VirtViewer methods. Instead VirtViewer + can simply connect signals to the display + + Turn VirtViewerDisplay into a proper Gtk widget + Turn VirtViewerDisplay into a Gtk widget instead of just a GObject, + by merging the functionality from VirtViewerAlign + +2011-07-11 Daniel P. Berrange <dan@berrange.com> + + Update to optionally build with GTK3 + +2011-07-01 Daniel P. Berrange <dan@berrange.com> + + Replace use of GtkAlignment with a custom align widget + To use the GtkAlignment we have to play evil tricks overriding + its size request, to make it reallocate the child to the preferred + size we desire based on the virtual desktop size + zoom level. + + By replacing the GtkAlignment with a custom widget we can + directly implement the layout/sizing semantics we want without + playing stupid games + + Introduce standard naming convention to files & methods + All source files must be named + + virt-viewer-XXXX + + All methods named + + virt_viewer_XXX + +2011-07-01 Daniel P. Berrange <berrange@redhat.com> + + Fix some compile warnings + + Convert from Glade to GtkBuilder + + Refactor configure.ac to pull out required version + + Enable use of scaling from spice >= 0.6 + Make the SPICE widget operate in the same way as the VNC widget + with display scaling, and auto-resize, but preserving guest + aspect ratio + + Hide menu bar on fullscreen & add a hiding toolbar + * src/Makefile.am, src/view/autoDrawer.c, src/view/autoDrawer.c + src/view/drawer.c, src/view/drawer.h, src/view/ovBox.c, + src/view/ovBox.c: Import auto-drawer from vinagre + * src/viewer-priv.h, src/viewer.c, src/viewer.glade, + src/display-vnc.c: Insert an auto-drawer above the + notebook and display an auto-hiding toolbar when fullscreen + +2011-06-30 Daniel P. Berrange <berrange@redhat.com> + + Add message about whether it is VNC or SPICE display + + Add some useful data for the --verbose flag + +2011-05-23 Daniel P. Berrange <berrange@redhat.com> + + Fix re-connect after authentication failure + viewer->display will be non-NULL if we have already attempted a + connection. So, remove the check for it being NULL, and instead + skip the widget setup step. + +2011-05-23 Jiri Denemark <Jiri.Denemark@gmail.com> + + Add support for listen attribute + Virt-viewer now parses listen attribute from graphics element to be able + to connect to domains configured with explicit listen address: + + <graphics type='vnc' port='-1' autoport='yes' listen='123.45.67.89'/> + +2011-05-23 Daniel P. Berrange <berrange@redhat.com> + + Replace .hgignore with .gitignore + +2011-02-21 Daniel P. Berrange <dan@berrange.com> + + Added tag release-0.3.1 for changeset f71b32a6a583 + + Updates for 0.3.1 release + + Fix typo in SPICE configure setup + + Added tag release-0.3.0 for changeset 807203083e74 + + Updates for 0.3.0 release + + Fix misc RPM specfile bugs + +2011-02-11 Daniel P. Berrange <dan@berrange.com> + + Merge heads + + Disable mozilla plugin since it doesn't build currently + + Enable SPICE in Fedora 15 or later + +2011-02-08 yurchor <yurchor@fedoraproject.org> + + l10n: Updates to Ukrainian (uk) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2011-02-08 elsupergomez <elsupergomez@fedoraproject.org> + + l10n: Updates to Spanish (Castilian) (es) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2011-02-07 Daniel P. Berrange <dan@berrange.com> + + Update pkg-config check for spice-gtk library + +2011-02-04 warrink <warrink@fedoraproject.org> + + l10n: Updates to Dutch (Flemish) (nl) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2011-02-04 raven <raven@fedoraproject.org> + + l10n: Updates to Polish (pl) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + + l10n: Updates to Polish (pl) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2011-02-03 Daniel P. Berrange <dan@berrange.com> + + Fix waiting for VM based on UUID + + Support connections over UNIX sockets + + Avoid fetching XML document multiple times when extracting graphics + +2011-01-29 fdaluisio <fdaluisio@fedoraproject.org> + + l10n: Updates to Italian (it) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2011-01-28 tomspur <tomspur@fedoraproject.org> + + l10n: Updates to German (de) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2011-01-12 andreyjktl <andreyjktl@fedoraproject.org> + + l10n: Updates to Russian (ru) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2011-01-10 elsupergomez <elsupergomez@fedoraproject.org> + + l10n: Updates to Spanish (Castilian) (es) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2010-12-21 jassy <jassy@fedoraproject.org> + + l10n: Updates to Panjabi (Punjabi) (pa) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2010-12-16 warrink <warrink@fedoraproject.org> + + l10n: Updates to Dutch (Flemish) (nl) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2010-12-15 raven <raven@fedoraproject.org> + + l10n: Updates to Polish (pl) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2010-12-10 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: make spice-gtk dependency optional + +2010-11-30 Marc-André Lureau <marcandre.lureau@redhat.com> + + viewer: add support for spice resize-guest + And also turn on clipboard sharing. + + viewer: Add support for Spice + +2010-11-19 Marc-André Lureau <marcandre.lureau@redhat.com> + + viewer: generalize extract_port() into viewer_extract_xpath_string() + + viewer: silence a few warnings of unused variables + + viewer: split vnc display creation out of viewer_activate() + +2010-12-14 Daniel P. Berrange <dan@berrange.com> + + Improve auth dialog message when no address is available + +2010-11-17 tombo <tombo@fedoraproject.org> + + l10n: Updates to Italian (it) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2010-10-04 giallu <giallu@fedoraproject.org> + + l10n: Updates to Italian (it) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2010-09-30 aron <aron@fedoraproject.org> + + l10n: Updates to Chinese (China) (zh_CN) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2010-08-10 bozzo <bozzo@fedoraproject.org> + + l10n: Updates to French (fr) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2010-08-03 warrink <warrink@fedoraproject.org> + + l10n: First Dutch translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2010-07-22 ankit <ankit@fedoraproject.org> + + l10n: Updates to Gujarati (gu) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2010-07-09 Daniel P. Berrange <dan@berrange.com> + + Merge heads + +2010-07-09 Ronnie Sahlberg <ronniesahlberg@gmail.com> + + Misc fixes to command line args in virt-viewer manpage + Fix three issues with the manpage for virt-viewer : + + * Short option for --reconnect is -r, not -w + * Show that the short option for zoom takes an argument + * Add the --debug argument. + +2010-07-06 raven <raven@fedoraproject.org> + + l10n: Updates to Polish (pl) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2010-07-06 elsupergomez <elsupergomez@fedoraproject.org> + + l10n: Updates to Spanish (Castilian) (es) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2010-07-05 Ronnie Sahlberg <ronniesahlberg@gmail.com> + + Add support for zoom levels + Add a menu for zooming in/out of the virtual desktop. + + Add a --zoom command line to set the initial zoom level. + + Defaults to 100% zoom at startup + +2010-07-05 Daniel P. Berrange <dan@berrange.com> + + Add all current languages to LINGUAS file + No locale files were being installed since all the + languages were missing in LINGUAS + +2010-06-27 zoltanh721 <zoltanh721@fedoraproject.org> + + l10n: Updates to Hungarian (hu) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2010-06-25 htaira <htaira@fedoraproject.org> + + l10n: Updates to Japanese (ja) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2010-06-09 htaira <htaira@fedoraproject.org> + + l10n: Updates to Japanese (ja) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2010-04-14 mvdz <mvdz@fedoraproject.org> + + l10n: Updates to Ukrainian (uk) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2010-04-01 enshahar <enshahar@fedoraproject.org> + + l10n: Updates to Korean (ko) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2010-03-30 webappz <webappz@fedoraproject.org> + + l10n: Updates to Hungarian (hu) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + + l10n: Updates to Hungarian (hu) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + + l10n: Updates to Hungarian (hu) translation + Transmitted-via: Transifex (translate.fedoraproject.org) + +2010-03-22 mvdz <mvdz@fedoraproject.org> + + l10n: Added Ukrainian translation. + Transmitted-via: Transifex (translate.fedoraproject.org) + +2010-03-14 amitakhya <amitakhya@fedoraproject.org> + + l10n: Adding Assamese translations. + Transmitted-via: Transifex (translate.fedoraproject.org) + +2010-02-26 runab <runab@fedoraproject.org> + + Sending translation for po/bn_IN.po + +2010-02-24 rajesh <rajesh@fedoraproject.org> + + Sending translation for po/hi.po + +2010-02-20 snicore <snicore@fedoraproject.org> + + Sending translation for po/hu.po + +2010-02-08 anipeter <anipeter@fedoraproject.org> + + Sending translation for po/ml.po + +2010-02-01 mgiri <mgiri@fedoraproject.org> + + Sending translation for po/or.po + +2010-01-29 ifelix <ifelix@fedoraproject.org> + + Sending translation for po/ta.po + +2010-01-29 jassy <jassy@fedoraproject.org> + + Sending translation for Punjabi + +2010-01-28 sandeeps <sandeeps@fedoraproject.org> + + Sending translation for po/mr.po + +2010-01-28 shanky <shanky@fedoraproject.org> + + Sending translation for po/kn.po + +2010-01-28 giallu <giallu@fedoraproject.org> + + Sending translation for Italian + +2010-01-28 jassy <jassy@fedoraproject.org> + + Sending translation for po/pa.po + +2010-01-28 kkrothap <kkrothap@fedoraproject.org> + + Sending translation for po/te.po + +2010-01-28 mospina <mospina@fedoraproject.org> + + Sending translation for Korean + +2010-01-25 Daniel P. Berrange <berrange@redhat.com> + + Remove bogus it_IT.po file, correct name was it.po + +2010-01-24 tchuang <tchuang@fedoraproject.org> + + Sending translation for po/zh_TW.po + +2010-01-24 raven <raven@fedoraproject.org> + + Sending translation for po/it.po + +2010-01-23 giallu <giallu@fedoraproject.org> + + Sending translation for po/it_IT.po + +2010-01-22 hedda <hedda@fedoraproject.org> + + Sending translation for German + +2010-01-22 leahliu <leahliu@fedoraproject.org> + + Sending translation for Chinese (Simplified) + +2010-01-22 khasida <khasida@fedoraproject.org> + + Sending translation for po/ja.po + +2010-01-22 mospina <mospina@fedoraproject.org> + + Sending translation for po/ko.po + + Sending translation for Spanish + +2010-01-22 ypoyarko <ypoyarko@fedoraproject.org> + + Sending translation for Russian + +2010-01-22 gcintra <gcintra@fedoraproject.org> + + Sending translation for po/pt_BR.po + +2010-01-22 samfreemanz <samfreemanz@fedoraproject.org> + + Sending translation for French + +2010-01-22 hedda <hedda@fedoraproject.org> + + Sending translation for po/de.po + +2010-01-22 leahliu <leahliu@fedoraproject.org> + + Sending translation for Chinese (Simplified) + +2010-01-21 leahliu <leahliu@fedoraproject.org> + + Sending translation for po/zh_CN.po + +2010-01-21 ypoyarko <ypoyarko@fedoraproject.org> + + Sending translation for po/ru.po + +2010-01-21 mospina <mospina@fedoraproject.org> + + Sending translation for po/es.po + +2010-01-21 swkothar <swkothar@fedoraproject.org> + + Sending translation for po/gu.po + +2010-01-18 renault <renault@fedoraproject.org> + + Sending translation for po/fr.po + +2010-01-15 Daniel P. Berrange <berrange@redhat.com> + + Added tag release-0.2.1 for changeset 13bcca43c859 + + Updates for 0.2.1 release + +2010-01-13 raven <raven@fedoraproject.org> + + Sending translation for Polish + +2010-01-12 Daniel P. Berrange <berrange@redhat.com> + + Add message dialog displays for important error scenarios + + Fix warning with default widget focus in auth dialog + + Add dialog to alert user to unsuccessful authentication & retry Alert user if VNC server has no compatible auth methods Support VNC bell & cut text events + + Turn on automake's silent build rules if available + + Various cleanups for Glib/GTK and BZ 474213 + +2010-01-11 raven <raven@fedoraproject.org> + + Sending translation for Polish + +2010-01-11 Daniel P. Berrange <berrange@redhat.com> + + Add 'pl' to LINGUAS. Remove accidentally committed .pot file and add it to .hgignore. Add RPM specfile magic for translations. Fix typo in about.glade URL + +2010-01-11 raven <raven@fedoraproject.org> + + Sending translation for po/pl.po + +2010-01-11 Daniel P. Berrange <berrange@redhat.com> + + Add support for i18n of the UI + Add all the boilerplate code required for doing i18n of the UI. + No translations available yet though + +2009-08-15 Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> + + viewer: fix build on 'old' GTK2 + Debian lenny has gtk2 2.12.12, which is missing gtk_widget_get_window. + Provide our own function if GTK2 <= 2.12 . + + Highly inspired from: http://osdir.com/ml/svn-commits-list/2009-08/msg00725.html + +2009-07-29 Daniel P. Berrange <berrange@redhat.com> + + Added tag release-0.2.0 for changeset b38a2c67ebfd + + Update for 0.2.0 release + + Disable compile errors in plugin till we figure out what's up with the header files + + Update deps in rpm + + Ensure VNC display is centered if being scaled + + Ensure password is not echoed + + Add support for libvirt graphical auth + + Pull auth code out into separate file + +2009-07-28 Daniel P. Berrange <berrange@redhat.com> + + Make plugin work again + + Add compatability logic for drivers without domain event support + + Fix mouse / key grab vs modifier disabling mixup + + Pull glib event loop integration into tree until libvirt-glib is more mature + + Re-write the way scaling/resizing works + * Default to auto-resize mode where we try to fit the VNC widget 1:1 in the main window + * If local desktop is not large enough for VNC widget, scale down, maintaining aspect ratio + * Allow the user to turn off auto-resize and have total manual control over window size + * Always scale the display in fullscreen mode + + Add a --debug command line flag + + Fix waiting for a VM that does not initially exist + + Move most of viewer code out into viewer.c + +2008-11-28 Daniel P. Berrange <berrange@redhat.com> + + Initial mingw32 build support + + Use g_strdup & friends + + Remove unused usleep code + +2008-11-26 Daniel P. Berrange <berrange@redhat.com> + + Re-write completely to use Glade, libvirt events, and libvirt-glib integration + +2008-11-03 Daniel P. Berrange <berrange@redhat.com> + + Fix rule to use DESTDIR on plugin install + +2008-10-10 Richard W.M. Jones <rjones@redhat.com> + + * configure.ac, src/Makefile.am, src/main.c, src/usleep.c: Support for building on Windows using MinGW compiler toolchain (or for cross-compiling using the same). + * .hgignore: Ignore some generated files. + +2008-06-17 Daniel P. Berrange <berrange@redhat.com> + + Add error message when conecting to inactive VM (Hiroyuki Kaguchi) + +2008-04-28 Daniel P. Berrange <berrange@redhat.com> + + Use GTK apis for option parsing (Guido G\374nther) + +2008-04-24 Daniel P. Berrange <berrange@redhat.com> + + Avoid caching inactive domain to workaround issues with older XenD (Hiroyuki Kaguchi) + +2008-04-22 Daniel P. Berrange <berrange@redhat.com> + + Call gtk_init early to ensure it grabs args like --sync + +2008-04-08 Daniel P. Berrange <berrange@redhat.com> + + Fix manpage typo + +2008-03-21 Daniel P. Berrange <berrange@redhat.com> + + Bump GTK dep to 2.10.0 + +2008-03-10 Daniel P. Berrange <berrange@redhat.com> + + Added tag release-0.0.3 for changeset 05f9c167354b + + Refresh news / changelog for release + +2008-03-09 Daniel P. Berrange <berrange@redhat.com> + + Added -plugin sub RPM, disabled by default, except for autobuild + +2008-03-08 Daniel P. Berrange <berrange@redhat.com> + + Relax firefox plugin version to 1.5.0 + +2008-03-07 Daniel P. Berrange <berrange@redhat.com> + + Disable scaling by default if running on composited window + + Block view menu accelerator & remove debug + + Added support for desktop scaling with OpenGL + +2008-03-05 Daniel P. Berrange <berrange@redhat.com> + + Kill automake portability warnings. Use a config.h Cleanup misc build issues. Build with fatal compile warnings + + Disable menu accelerators when keyboard is grabbed (Chris Lalancett) + + Fix type in autogen.sh output (Chris Lalancett) + +2008-01-25 Daniel P. Berrange <berrange@redhat.com> + + Added browser plugin (Richard Jones) + + Refactor main method for viewer to prepare for plugin (Richard Jones + +2008-01-11 Daniel P. Berrange <berrange@redhat.com> + + Whitespace fix + + Hide chars in passwd field + + Fix a few typos (Atsushi SAKAI) + +2007-11-29 Daniel P. Berrange <berrange@redhat.com> + + Use proper domain name in title bar, rather than VNC server title + +2007-08-29 Daniel P. Berrange <berrange@redhat.com> + + Added tag release-0.0.2 for changeset f3accb51c6f5 + + Fix crash with no transport + + New release 0.0.2 + + Document the '--direct' option + + Support TLS credentials & improved SSH tunnelling + + Support for connecting over an SSH tunnel + +2007-08-28 Daniel P. Berrange <berrange@redhat.com> + + Merge + + Added initial ability to connect remote hosts + + Disable debug flag + + Fixed delete-event handler args + +2007-08-16 Daniel P. Berrange <berrange@redhat.com> + + Added COPYING/INSTALL files + + Added tag release-0.0.1 for changeset 2b78ab2d18ce + + Fixed build requires & group. Removed exclusivearch + + Fill out authors, news & readme + +2007-07-21 Daniel P. Berrange <berrange@redhat.com> + + Connected up screenshot & about menus + +2007-07-20 Daniel P. Berrange <berrange@redhat.com> + + Added manual page + + Initial commit diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/INSTALL b/tizen/distrib/remote/client/virt-viewer-0.5.3/INSTALL new file mode 100644 index 0000000..a1e89e1 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/INSTALL @@ -0,0 +1,370 @@ +Installation Instructions +************************* + +Copyright (C) 1994-1996, 1999-2002, 2004-2011 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 bug. Until the bug is fixed you can use this workaround: + + CONFIG_SHELL=/bin/bash /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. + diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/Makefile.am b/tizen/distrib/remote/client/virt-viewer-0.5.3/Makefile.am new file mode 100644 index 0000000..f307c06 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/Makefile.am @@ -0,0 +1,60 @@ +NULL = + +ACLOCAL_AMFLAGS = -I m4 + +SUBDIRS = icons src man plugin po data + +EXTRA_DIST = \ + $(PACKAGE).spec \ + intltool-extract.in \ + intltool-merge.in \ + intltool-update.in \ + GNUmakefile \ + maint.mk \ + cfg.mk \ + build-aux/gitlog-to-changelog \ + build-aux/useless-if-before-free \ + build-aux/vc-list-files \ + $(NULL) + +DISTCLEAN_FILES = \ + $(PACKAGE).spec \ + intltool-extract \ + intltool-merge \ + intltool-update \ + $(NULL) + +MAINTAINERCLEANFILES = \ + $(srcdir)/INSTALL \ + $(srcdir)/aclocal.m4 \ + $(srcdir)/autoscan.log \ + $(srcdir)/config.h.in \ + $(srcdir)/build-aux/compile \ + $(srcdir)/build-aux/config.guess \ + $(srcdir)/build-aux/config.sub \ + $(srcdir)/build-aux/depcomp \ + $(srcdir)/build-aux/install-sh \ + $(srcdir)/build-aux/ltmain.sh \ + $(srcdir)/build-aux/missing \ + $(srcdir)/m4/intltool.m4 \ + $(srcdir)/m4/libtool.m4 \ + $(srcdir)/m4/ltoptions.m4 \ + $(srcdir)/m4/ltsugar.m4 \ + $(srcdir)/m4/ltversion.m4 \ + $(srcdir)/m4/lt~obsolete.m4 \ + $(NULL) + +dist-hook: gen-ChangeLog + +# Generate the ChangeLog file (with all entries since the switch to git) +# and insert it into the directory we're about to use to create a tarball. +.PHONY: gen-ChangeLog +gen-ChangeLog: + if test -d .git || test -d ../.git; then \ + $(top_srcdir)/build-aux/gitlog-to-changelog \ + > $(distdir)/cl-t; \ + rm -f $(distdir)/ChangeLog; \ + mv $(distdir)/cl-t $(distdir)/ChangeLog; \ + fi + +-include $(top_srcdir)/git.mk diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/Makefile.in b/tizen/distrib/remote/client/virt-viewer-0.5.3/Makefile.in new file mode 100644 index 0000000..c827528 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/Makefile.in @@ -0,0 +1,877 @@ +# 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@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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 = . +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in $(srcdir)/config.h.in \ + $(srcdir)/mingw32-virt-viewer.spec.in \ + $(srcdir)/virt-viewer.spec.in $(top_srcdir)/configure AUTHORS \ + COPYING ChangeLog INSTALL NEWS build-aux/compile \ + build-aux/config.guess build-aux/config.sub build-aux/depcomp \ + build-aux/install-sh build-aux/ltmain.sh build-aux/missing +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = config.h +CONFIG_CLEAN_FILES = mingw32-virt-viewer.spec virt-viewer.spec +CONFIG_CLEAN_VPATH_FILES = +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-dvi-recursive install-exec-recursive \ + install-html-recursive install-info-recursive \ + install-pdf-recursive install-ps-recursive install-recursive \ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ + distdir dist dist-all distcheck +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + if test -d "$(distdir)"; then \ + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -rf "$(distdir)" \ + || { sleep 5 && rm -rf "$(distdir)"; }; \ + else :; fi +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +DIST_ARCHIVES = $(distdir).tar.gz +GZIP_ENV = --best +distuninstallcheck_listfiles = find . -type f -print +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' +distcleancheck_listfiles = find . -type f -print +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +FIREFOX_PLUGIN_CFLAGS = @FIREFOX_PLUGIN_CFLAGS@ +FIREFOX_PLUGIN_LIBS = @FIREFOX_PLUGIN_LIBS@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GLIB2_CFLAGS = @GLIB2_CFLAGS@ +GLIB2_LIBS = @GLIB2_LIBS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GTK_API_VERSION = @GTK_API_VERSION@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +GTK_REQUIRED = @GTK_REQUIRED@ +GTK_VNC_API_VERSION = @GTK_VNC_API_VERSION@ +GTK_VNC_CFLAGS = @GTK_VNC_CFLAGS@ +GTK_VNC_LIBS = @GTK_VNC_LIBS@ +ICOTOOL = @ICOTOOL@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIBVIRT_CFLAGS = @LIBVIRT_CFLAGS@ +LIBVIRT_LIBS = @LIBVIRT_LIBS@ +LIBXML2_CFLAGS = @LIBXML2_CFLAGS@ +LIBXML2_LIBS = @LIBXML2_LIBS@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MOZILLA_PLUGIN_CFLAGS = @MOZILLA_PLUGIN_CFLAGS@ +MOZILLA_PLUGIN_LIBS = @MOZILLA_PLUGIN_LIBS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +NSPR_CFLAGS = @NSPR_CFLAGS@ +NSPR_LIBS = @NSPR_LIBS@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SPICE_CONTROLLER_CFLAGS = @SPICE_CONTROLLER_CFLAGS@ +SPICE_CONTROLLER_LIBS = @SPICE_CONTROLLER_LIBS@ +SPICE_GTK_CFLAGS = @SPICE_GTK_CFLAGS@ +SPICE_GTK_LIBS = @SPICE_GTK_LIBS@ +SPICE_PROTOCOL_CFLAGS = @SPICE_PROTOCOL_CFLAGS@ +SPICE_PROTOCOL_LIBS = @SPICE_PROTOCOL_LIBS@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WARN_CFLAGS = @WARN_CFLAGS@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +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@ +NULL = +ACLOCAL_AMFLAGS = -I m4 +SUBDIRS = icons src man plugin po data +EXTRA_DIST = \ + $(PACKAGE).spec \ + intltool-extract.in \ + intltool-merge.in \ + intltool-update.in \ + GNUmakefile \ + maint.mk \ + cfg.mk \ + build-aux/gitlog-to-changelog \ + build-aux/useless-if-before-free \ + build-aux/vc-list-files \ + $(NULL) + +DISTCLEAN_FILES = \ + $(PACKAGE).spec \ + intltool-extract \ + intltool-merge \ + intltool-update \ + $(NULL) + +MAINTAINERCLEANFILES = \ + $(srcdir)/INSTALL \ + $(srcdir)/aclocal.m4 \ + $(srcdir)/autoscan.log \ + $(srcdir)/config.h.in \ + $(srcdir)/build-aux/compile \ + $(srcdir)/build-aux/config.guess \ + $(srcdir)/build-aux/config.sub \ + $(srcdir)/build-aux/depcomp \ + $(srcdir)/build-aux/install-sh \ + $(srcdir)/build-aux/ltmain.sh \ + $(srcdir)/build-aux/missing \ + $(srcdir)/m4/intltool.m4 \ + $(srcdir)/m4/libtool.m4 \ + $(srcdir)/m4/ltoptions.m4 \ + $(srcdir)/m4/ltsugar.m4 \ + $(srcdir)/m4/ltversion.m4 \ + $(srcdir)/m4/lt~obsolete.m4 \ + $(NULL) + +all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: +am--refresh: Makefile + @: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ + $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: $(am__configure_deps) + $(am__cd) $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +$(am__aclocal_m4_deps): + +config.h: stamp-h1 + @if test ! -f $@; then rm -f stamp-h1; else :; fi + @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi + +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config.h +$(srcdir)/config.h.in: $(am__configure_deps) + ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) + rm -f stamp-h1 + touch $@ + +distclean-hdr: + -rm -f config.h stamp-h1 +mingw32-virt-viewer.spec: $(top_builddir)/config.status $(srcdir)/mingw32-virt-viewer.spec.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +virt-viewer.spec: $(top_builddir)/config.status $(srcdir)/virt-viewer.spec.in + cd $(top_builddir) && $(SHELL) ./config.status $@ + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + -rm -f libtool config.lt + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +$(RECURSIVE_CLEAN_TARGETS): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + $(am__remove_distdir) + test -d "$(distdir)" || mkdir "$(distdir)" + @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 + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" distdir="$(distdir)" \ + dist-hook + -test -n "$(am__skip_mode_fix)" \ + || find "$(distdir)" -type d ! -perm -755 \ + -exec chmod u+rwx,go+rx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r "$(distdir)" +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + +dist-lzip: distdir + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz + $(am__remove_distdir) + +dist-lzma: distdir + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma + $(am__remove_distdir) + +dist-xz: distdir + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz + $(am__remove_distdir) + +dist-tarZ: distdir + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__remove_distdir) + +dist-shar: distdir + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + $(am__remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__remove_distdir) + +dist dist-all: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lzma*) \ + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ + *.tar.lz*) \ + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ + *.tar.xz*) \ + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir); chmod a+w $(distdir) + mkdir $(distdir)/_build + mkdir $(distdir)/_inst + chmod a-w $(distdir) + test -d $(distdir)/_build || exit 0; \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && am__cwd=`pwd` \ + && $(am__cd) $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(AM_DISTCHECK_CONFIGURE_FLAGS) \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ + && cd "$$am__cwd" \ + || exit 1 + $(am__remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' +distuninstallcheck: + @test -n '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: trying to run $@ with an empty' \ + '$$(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + $(am__cd) '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: check-recursive +all-am: Makefile config.h +installdirs: installdirs-recursive +installdirs-am: +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +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-recursive + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-hdr \ + distclean-libtool distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: + +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ + ctags-recursive install-am install-strip tags-recursive + +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am am--refresh check check-am clean clean-generic \ + clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \ + dist-gzip dist-hook dist-lzip dist-lzma dist-shar dist-tarZ \ + dist-xz dist-zip distcheck distclean distclean-generic \ + distclean-hdr distclean-libtool distclean-tags distcleancheck \ + distdir distuninstallcheck 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-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ + uninstall uninstall-am + + +dist-hook: gen-ChangeLog + +# Generate the ChangeLog file (with all entries since the switch to git) +# and insert it into the directory we're about to use to create a tarball. +.PHONY: gen-ChangeLog +gen-ChangeLog: + if test -d .git || test -d ../.git; then \ + $(top_srcdir)/build-aux/gitlog-to-changelog \ + > $(distdir)/cl-t; \ + rm -f $(distdir)/ChangeLog; \ + mv $(distdir)/cl-t $(distdir)/ChangeLog; \ + fi + +-include $(top_srcdir)/git.mk + +# 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: diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/NEWS b/tizen/distrib/remote/client/virt-viewer-0.5.3/NEWS new file mode 100644 index 0000000..6768f78 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/NEWS @@ -0,0 +1,163 @@ + Virt Viewer News + ================ + +0.5.3: May 14, 2012 +------------------- + + - Add support for raw IPv6 addresses + - Add a remote-viewer.desktop file and register spice:// handling + - Add a simple connection dialog to remote-viewer + - Add remote-viewer --fullscreen=auto-conf option, to update guest + monitors configuration to match client + - Spice controller support for disable-effects, color-depth and + usbredir + - Spice controller interaction fixes + - Windows version and nsis installer improvements + - Import newer translations from transifex + - Misc reference leak / crash bugs fixed + + +0.5.2: Mar 09, 2012 +------------------- + + - Require libvirt >= 0.9.7, spice-gtk >= 0.11, spice-protocol >= 0.10.1 + - Import newer translations from transifex + - remote-viewer learned Spice controller customizable key bindings, + smartcard property, and foreign menu + - Fix Spice crash on re-connection + - Fix connecting via ssh to a password-protected server + - Add a sendkey menu in fullscreen mode + - Add USB device selection in fullscreen mode + - Misc reference leak / crash bugs fixed + +0.5.1: Feb 17, 2012 +------------------- + + - Import newer translations from transifex + - Fix build system to ensure we don't loose GNU_RELRO + security feature + - Don't link virt-viewer binary against spice controller + - Add back compat for GObject 2.22 which lacks GBinding + +0.5.0: Feb 14, 2012 +------------------- + + - Add a remote-viewer binary for connecting to a SPICE/VNC + server based on URI, instead of querying libvirt + - Add ability to attach to a local VM via libvirt instead of + connecting over UNIX sockets + - Add support for SPICE controller + - Allow build without libvirt, for remote-viewer only + - Automatically resize guest desktop when resizing window with SPICE + - Add support for redirecting host USB devices to remote guest + - Grab focus when first showing the display + - Register as a spice-xpi-client-remote alternative + - Add pretty icon for virt-viewer app + - Set transient window hints on all popups + - Activate password 'Ok' button when pressing Enter + - Support secure connections with SPICE + - Don't hardcode 'localhost' for hostname + +0.4.2: Nov 9, 2011 +------------------- + + - Fix exports of signal functions for GTK UI builder on Windows + - Avoid crash if xmlParseURI fails + - Fix inverted test for SSH port that broke tunnelling + - Don't hardcode port numbers for SSH if not requested by user + - Fix deadlock in event handling + - Fix initial zoom level for all windows + - Fix window title to include domain name + - Fix hostname used when XML gives a wildcard IP address + - Fix window title when waiting for domain to appear + - Fix key shortcust for F9-F12 menus + - Always ask libvirt for its canonical URI + - Allow build without GTK-VNC (ie spice only) + - Require GTK-VNC >= 0.4.3 + - Require SPICE-GTK >= 0.6.0 + + +0.4.1: Aug 4, 2011 +------------------- + + - Remove bogus use of AM_GLIB_GNU_GETTEXT macro to try to + facilitate BSD builds + - Support multiple monitors with SPICE and QXL drivers + - Don't hardcode SSH port to 22 when tunnelling + +0.4.0: Jul 12, 2011 +------------------- + + - Require SPICE-GTK >= 0.6 + - Hide menu bar when going fullscreen + - Support building against GTK2 or GTK3 + - Convert from Glade to GtkBuilder + - Honour 'listen' attribute from <graphics> XML when connecting + - Fix reconnection after authentication failure + - Make --verbose flag actually do something + - Enable scaling with SPICE to match VNC behaviour + - Rewrite widget resizing code to (try to) be more reliable + - Fill extra space outside guest display with black + - Fix (null) in title bar while not connected + - Fix multiple memory leaks + - Fix reconnecting to display with SPICE + +0.3.1: Feb 21, 2011 +------------------- + + - Fix typo in configure script that broke SPICE + +0.3.0: Feb 21, 2011 +------------------- + + - Add support for SPICE graphics client + - Allow connections to VNC server over UNIX sockets + - Improve error messages on auth/connection failure + - Add support for zoom levels + - Many updated translations + +0.2.1: Jan 15, 2010 +------------------- + + - Add infrastructure for translation + - Display dialog to user if authentication fails + - Display dialog to user if domain cannot be found + - GTK/GLib best practice cleanups + - Add Polish translation + +0.2.0: July 20, 2009 +-------------------- + + - Switch UI over to use Glade + - Support graphical dialog for VNC and libvirt authentication + - Resize window to match VNC desktop size where possible + - Scale down VNC desktop if it cannot fit in host desktop space + - Allow user to resize window to arbitrary size, scaling VNC + - Fix blocking of accelerators + - Allow automatic reconnect to a VM via --reconnect + - Use libvirt events to detect when VM changes state + - Wait for VM to appear if it does not exist + - Fix plugin build with newer xulrunner + - Port & build for Mingw32 target + +0.0.3: March 10, 2008 +--------------------- + + - Block accelerators when grab is active + - Enable smooth scaling of desktop to fill screen + - Added an experimental firefox plugin (disabled by default) + - Hide characters in password entry field + - Use domain name in title bar instead of VNC desktop name + +0.0.2: August 28, 2007 +---------------------- + + - Support connecting to remote libvirt servers + - Support connecting to remote VNC consoles + - Support tunneling VNC over SSH + - Support TLS x509 certificate credentials + +0.0.1: August 15, 2007 +---------------------- + + - Initial release diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/README b/tizen/distrib/remote/client/virt-viewer-0.5.3/README new file mode 100644 index 0000000..04df356 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/README @@ -0,0 +1,45 @@ + Virt Viewer + =========== + +Virt Viewer provides a graphical viewer for the guest OS +display. At this time is supports guest OS using the VNC +or SPICE protocols. Further protocols may be supported in +the future as user demand dicatates. The viewer can connect +directly to both local and remotely hosted guest OS, optionally +using SSL/TLS encryption. + +Virt Viewer can be built with either GTK2 or GTK3, with the +default option currently being GTK2. The choice can be made +with: + + ./configure --with-gtk=3.0 (or =2.0) + +Virt Viewer uses the GTK-VNC (>= 0.4.3) widget to provide a +display of the VNC protocol, which is available from + + http://gtk-vnc.sourceforge.net/ + +Virt Viewer uses the SPICE-GTK (>= 0.11) widget to provide a +display of the SPICE protocol, which is available from: + + http://spice-space.org/page/Spice-Gtk + +Use of either SPICE-GTK or GTK-VNC can be disabled at time +of configure, with --without-gtk-vnc or --without-spice-gtk +respectively. + +Virt Viewer uses libvirt to lookup information about the +guest OS display. This is available from + + http://libvirt.org/ + +Further information about the Virt Viewer application can be +found on the Virt Manager website: + + http://virt-manager.org/ + +Feedback should be directed to the mailing list at + + http://virt-manager.org/mailinglist.html + +-- End diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/acinclude.m4 b/tizen/distrib/remote/client/virt-viewer-0.5.3/acinclude.m4 new file mode 100644 index 0000000..73b5a7b --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/acinclude.m4 @@ -0,0 +1,89 @@ +dnl +dnl Taken from gnome-common/macros2/gnome-compiler-flags.m4 +dnl +dnl We've added: +dnl -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls +dnl We've removed +dnl CFLAGS="$realsave_CFLAGS" +dnl to avoid clobbering user-specified CFLAGS +dnl +AC_DEFUN([VIRT_VIEWER_COMPILE_WARNINGS],[ + dnl ****************************** + dnl More compiler warnings + dnl ****************************** + + AC_ARG_ENABLE(compile-warnings, + AC_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@], + [Turn on compiler warnings]),, + [enable_compile_warnings="m4_default([$1],[maximum])"]) + + warnCFLAGS= + + try_compiler_flags="-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables" + + case "$enable_compile_warnings" in + no) + ;; + minimum) + try_compiler_flags="$try_compiler_flags -Wall" + ;; + yes) + try_compiler_flags="$try_compiler_flags -Wall -Wmissing-prototypes -std=c99" + ;; + maximum|error) + try_compiler_flags="$try_compiler_flags -Wall -Wmissing-prototypes -std=c99 -Wnested-externs -Wpointer-arith" + try_compiler_flags="$try_compiler_flags -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return" + # Removed -Wstrict-prototypes to avoid GTK bug + try_compiler_flags="$try_compiler_flags -Winline -Wredundant-decls -Wno-sign-compare" + if test "$enable_compile_warnings" = "error" ; then + try_compiler_flags="$try_compiler_flags -Werror" + fi + ;; + *) + AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings) + ;; + esac + + compiler_flags= + for option in $try_compiler_flags; do + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS $option" + AC_MSG_CHECKING([whether gcc understands $option]) + AC_TRY_COMPILE([], [], + has_option=yes, + has_option=no,) + CFLAGS="$SAVE_CFLAGS" + AC_MSG_RESULT($has_option) + if test $has_option = yes; then + compiler_flags="$compiler_flags $option" + fi + unset has_option + unset SAVE_CFLAGS + done + unset option + unset try_compiler_flags + + AC_ARG_ENABLE(iso-c, + AC_HELP_STRING([--enable-iso-c], + [Try to warn if code is not ISO C ]),, + [enable_iso_c=no]) + + AC_MSG_CHECKING(what language compliance flags to pass to the C compiler) + complCFLAGS= + if test "x$enable_iso_c" != "xno"; then + if test "x$GCC" = "xyes"; then + case " $CFLAGS " in + *[\ \ ]-ansi[\ \ ]*) ;; + *) complCFLAGS="$complCFLAGS -ansi" ;; + esac + case " $CFLAGS " in + *[\ \ ]-pedantic[\ \ ]*) ;; + *) complCFLAGS="$complCFLAGS -pedantic" ;; + esac + fi + fi + AC_MSG_RESULT($complCFLAGS) + + WARN_CFLAGS="$compiler_flags $complCFLAGS" + AC_SUBST(WARN_CFLAGS) +]) diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/aclocal.m4 b/tizen/distrib/remote/client/virt-viewer-0.5.3/aclocal.m4 new file mode 100644 index 0000000..eadb352 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/aclocal.m4 @@ -0,0 +1,1710 @@ +# generated automatically by aclocal 1.11.3 -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, +# Inc. +# This file 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. + +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, +[m4_warning([this file was generated for autoconf 2.68. +You have another version of autoconf. It may work, but is not guaranteed to. +If you have problems, you may need to regenerate the build system entirely. +To do so, use the procedure documented by the package, typically `autoreconf'.])]) + +# Copyright (C) 1995-2002 Free Software Foundation, Inc. +# Copyright (C) 2001-2003,2004 Red Hat, Inc. +# +# This file is free software, distributed under the terms of the GNU +# General Public License. As a special exception to the GNU General +# Public License, this file may be distributed as part of a program +# that contains a configuration script generated by Autoconf, under +# the same distribution terms as the rest of that program. +# +# This file can be copied and used freely without restrictions. It can +# be used in projects which are not available under the GNU Public License +# but which still want to provide support for the GNU gettext functionality. +# +# Macro to add for using GNU gettext. +# Ulrich Drepper <drepper@cygnus.com>, 1995, 1996 +# +# Modified to never use included libintl. +# Owen Taylor <otaylor@redhat.com>, 12/15/1998 +# +# Major rework to remove unused code +# Owen Taylor <otaylor@redhat.com>, 12/11/2002 +# +# Added better handling of ALL_LINGUAS from GNU gettext version +# written by Bruno Haible, Owen Taylor <otaylor.redhat.com> 5/30/3002 +# +# Modified to require ngettext +# Matthias Clasen <mclasen@redhat.com> 08/06/2004 +# +# We need this here as well, since someone might use autoconf-2.5x +# to configure GLib then an older version to configure a package +# using AM_GLIB_GNU_GETTEXT +AC_PREREQ(2.53) + +dnl +dnl We go to great lengths to make sure that aclocal won't +dnl try to pull in the installed version of these macros +dnl when running aclocal in the glib directory. +dnl +m4_copy([AC_DEFUN],[glib_DEFUN]) +m4_copy([AC_REQUIRE],[glib_REQUIRE]) +dnl +dnl At the end, if we're not within glib, we'll define the public +dnl definitions in terms of our private definitions. +dnl + +# GLIB_LC_MESSAGES +#-------------------- +glib_DEFUN([GLIB_LC_MESSAGES], + [AC_CHECK_HEADERS([locale.h]) + if test $ac_cv_header_locale_h = yes; then + AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, + [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES], + am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) + if test $am_cv_val_LC_MESSAGES = yes; then + AC_DEFINE(HAVE_LC_MESSAGES, 1, + [Define if your <locale.h> file defines LC_MESSAGES.]) + fi + fi]) + +# GLIB_PATH_PROG_WITH_TEST +#---------------------------- +dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, +dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) +glib_DEFUN([GLIB_PATH_PROG_WITH_TEST], +[# Extract the first word of "$2", so it can be a program name with args. +set dummy $2; ac_word=[$]2 +AC_MSG_CHECKING([for $ac_word]) +AC_CACHE_VAL(ac_cv_path_$1, +[case "[$]$1" in + /*) + ac_cv_path_$1="[$]$1" # Let the user override the test with a path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in ifelse([$5], , $PATH, [$5]); do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if [$3]; then + ac_cv_path_$1="$ac_dir/$ac_word" + break + fi + fi + done + IFS="$ac_save_ifs" +dnl If no 4th arg is given, leave the cache variable unset, +dnl so AC_PATH_PROGS will keep looking. +ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" +])dnl + ;; +esac])dnl +$1="$ac_cv_path_$1" +if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then + AC_MSG_RESULT([$]$1) +else + AC_MSG_RESULT(no) +fi +AC_SUBST($1)dnl +]) + +# GLIB_WITH_NLS +#----------------- +glib_DEFUN([GLIB_WITH_NLS], + dnl NLS is obligatory + [USE_NLS=yes + AC_SUBST(USE_NLS) + + gt_cv_have_gettext=no + + CATOBJEXT=NONE + XGETTEXT=: + INTLLIBS= + + AC_CHECK_HEADER(libintl.h, + [gt_cv_func_dgettext_libintl="no" + libintl_extra_libs="" + + # + # First check in libc + # + AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc, + [AC_TRY_LINK([ +#include <libintl.h> +], + [return !ngettext ("","", 1)], + gt_cv_func_ngettext_libc=yes, + gt_cv_func_ngettext_libc=no) + ]) + + if test "$gt_cv_func_ngettext_libc" = "yes" ; then + AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc, + [AC_TRY_LINK([ +#include <libintl.h> +], + [return !dgettext ("","")], + gt_cv_func_dgettext_libc=yes, + gt_cv_func_dgettext_libc=no) + ]) + fi + + if test "$gt_cv_func_ngettext_libc" = "yes" ; then + AC_CHECK_FUNCS(bind_textdomain_codeset) + fi + + # + # If we don't have everything we want, check in libintl + # + if test "$gt_cv_func_dgettext_libc" != "yes" \ + || test "$gt_cv_func_ngettext_libc" != "yes" \ + || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then + + AC_CHECK_LIB(intl, bindtextdomain, + [AC_CHECK_LIB(intl, ngettext, + [AC_CHECK_LIB(intl, dgettext, + gt_cv_func_dgettext_libintl=yes)])]) + + if test "$gt_cv_func_dgettext_libintl" != "yes" ; then + AC_MSG_CHECKING([if -liconv is needed to use gettext]) + AC_MSG_RESULT([]) + AC_CHECK_LIB(intl, ngettext, + [AC_CHECK_LIB(intl, dcgettext, + [gt_cv_func_dgettext_libintl=yes + libintl_extra_libs=-liconv], + :,-liconv)], + :,-liconv) + fi + + # + # If we found libintl, then check in it for bind_textdomain_codeset(); + # we'll prefer libc if neither have bind_textdomain_codeset(), + # and both have dgettext and ngettext + # + if test "$gt_cv_func_dgettext_libintl" = "yes" ; then + glib_save_LIBS="$LIBS" + LIBS="$LIBS -lintl $libintl_extra_libs" + unset ac_cv_func_bind_textdomain_codeset + AC_CHECK_FUNCS(bind_textdomain_codeset) + LIBS="$glib_save_LIBS" + + if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then + gt_cv_func_dgettext_libc=no + else + if test "$gt_cv_func_dgettext_libc" = "yes" \ + && test "$gt_cv_func_ngettext_libc" = "yes"; then + gt_cv_func_dgettext_libintl=no + fi + fi + fi + fi + + if test "$gt_cv_func_dgettext_libc" = "yes" \ + || test "$gt_cv_func_dgettext_libintl" = "yes"; then + gt_cv_have_gettext=yes + fi + + if test "$gt_cv_func_dgettext_libintl" = "yes"; then + INTLLIBS="-lintl $libintl_extra_libs" + fi + + if test "$gt_cv_have_gettext" = "yes"; then + AC_DEFINE(HAVE_GETTEXT,1, + [Define if the GNU gettext() function is already present or preinstalled.]) + GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl + if test "$MSGFMT" != "no"; then + glib_save_LIBS="$LIBS" + LIBS="$LIBS $INTLLIBS" + AC_CHECK_FUNCS(dcgettext) + MSGFMT_OPTS= + AC_MSG_CHECKING([if msgfmt accepts -c]) + GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: test 1.0\n" +"PO-Revision-Date: 2007-02-15 12:01+0100\n" +"Last-Translator: test <foo@bar.xx>\n" +"Language-Team: C <LL@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" +], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])]) + AC_SUBST(MSGFMT_OPTS) + AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) + GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) + AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; + return _nl_msg_cat_cntr], + [CATOBJEXT=.gmo + DATADIRNAME=share], + [case $host in + *-*-solaris*) + dnl On Solaris, if bind_textdomain_codeset is in libc, + dnl GNU format message catalog is always supported, + dnl since both are added to the libc all together. + dnl Hence, we'd like to go with DATADIRNAME=share and + dnl and CATOBJEXT=.gmo in this case. + AC_CHECK_FUNC(bind_textdomain_codeset, + [CATOBJEXT=.gmo + DATADIRNAME=share], + [CATOBJEXT=.mo + DATADIRNAME=lib]) + ;; + *-*-openbsd*) + CATOBJEXT=.mo + DATADIRNAME=share + ;; + *) + CATOBJEXT=.mo + DATADIRNAME=lib + ;; + esac]) + LIBS="$glib_save_LIBS" + INSTOBJEXT=.mo + else + gt_cv_have_gettext=no + fi + fi + ]) + + if test "$gt_cv_have_gettext" = "yes" ; then + AC_DEFINE(ENABLE_NLS, 1, + [always defined to indicate that i18n is enabled]) + fi + + dnl Test whether we really found GNU xgettext. + if test "$XGETTEXT" != ":"; then + dnl If it is not GNU xgettext we define it as : so that the + dnl Makefiles still can work. + if $XGETTEXT --omit-header /dev/null 2> /dev/null; then + : ; + else + AC_MSG_RESULT( + [found xgettext program is not GNU xgettext; ignore it]) + XGETTEXT=":" + fi + fi + + # We need to process the po/ directory. + POSUB=po + + AC_OUTPUT_COMMANDS( + [case "$CONFIG_FILES" in *po/Makefile.in*) + sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile + esac]) + + dnl These rules are solely for the distribution goal. While doing this + dnl we only have to keep exactly one list of the available catalogs + dnl in configure.ac. + for lang in $ALL_LINGUAS; do + GMOFILES="$GMOFILES $lang.gmo" + POFILES="$POFILES $lang.po" + done + + dnl Make all variables we use known to autoconf. + AC_SUBST(CATALOGS) + AC_SUBST(CATOBJEXT) + AC_SUBST(DATADIRNAME) + AC_SUBST(GMOFILES) + AC_SUBST(INSTOBJEXT) + AC_SUBST(INTLLIBS) + AC_SUBST(PO_IN_DATADIR_TRUE) + AC_SUBST(PO_IN_DATADIR_FALSE) + AC_SUBST(POFILES) + AC_SUBST(POSUB) + ]) + +# AM_GLIB_GNU_GETTEXT +# ------------------- +# Do checks necessary for use of gettext. If a suitable implementation +# of gettext is found in either in libintl or in the C library, +# it will set INTLLIBS to the libraries needed for use of gettext +# and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable +# gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST() +# on various variables needed by the Makefile.in.in installed by +# glib-gettextize. +dnl +glib_DEFUN([GLIB_GNU_GETTEXT], + [AC_REQUIRE([AC_PROG_CC])dnl + AC_REQUIRE([AC_HEADER_STDC])dnl + + GLIB_LC_MESSAGES + GLIB_WITH_NLS + + if test "$gt_cv_have_gettext" = "yes"; then + if test "x$ALL_LINGUAS" = "x"; then + LINGUAS= + else + AC_MSG_CHECKING(for catalogs to be installed) + NEW_LINGUAS= + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + NEW_LINGUAS="$NEW_LINGUAS $presentlang" + fi + done + LINGUAS=$NEW_LINGUAS + AC_MSG_RESULT($LINGUAS) + fi + + dnl Construct list of names of catalog files to be constructed. + if test -n "$LINGUAS"; then + for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done + fi + fi + + dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly + dnl find the mkinstalldirs script in another subdir but ($top_srcdir). + dnl Try to locate is. + MKINSTALLDIRS= + if test -n "$ac_aux_dir"; then + MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" + fi + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + AC_SUBST(MKINSTALLDIRS) + + dnl Generate list of files to be processed by xgettext which will + dnl be included in po/Makefile. + test -d po || mkdir po + if test "x$srcdir" != "x."; then + if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then + posrcprefix="$srcdir/" + else + posrcprefix="../$srcdir/" + fi + else + posrcprefix="../" + fi + rm -f po/POTFILES + sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ + < $srcdir/po/POTFILES.in > po/POTFILES + ]) + +# AM_GLIB_DEFINE_LOCALEDIR(VARIABLE) +# ------------------------------- +# Define VARIABLE to the location where catalog files will +# be installed by po/Makefile. +glib_DEFUN([GLIB_DEFINE_LOCALEDIR], +[glib_REQUIRE([GLIB_GNU_GETTEXT])dnl +glib_save_prefix="$prefix" +glib_save_exec_prefix="$exec_prefix" +glib_save_datarootdir="$datarootdir" +test "x$prefix" = xNONE && prefix=$ac_default_prefix +test "x$exec_prefix" = xNONE && exec_prefix=$prefix +datarootdir=`eval echo "${datarootdir}"` +if test "x$CATOBJEXT" = "x.mo" ; then + localedir=`eval echo "${libdir}/locale"` +else + localedir=`eval echo "${datadir}/locale"` +fi +prefix="$glib_save_prefix" +exec_prefix="$glib_save_exec_prefix" +datarootdir="$glib_save_datarootdir" +AC_DEFINE_UNQUOTED($1, "$localedir", + [Define the location where the catalogs will be installed]) +]) + +dnl +dnl Now the definitions that aclocal will find +dnl +ifdef(glib_configure_ac,[],[ +AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)]) +AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)]) +])dnl + +# GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL]) +# +# Create a temporary file with TEST-FILE as its contents and pass the +# file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with +# 0 and perform ACTION-IF-FAIL for any other exit status. +AC_DEFUN([GLIB_RUN_PROG], +[cat >conftest.foo <<_ACEOF +$2 +_ACEOF +if AC_RUN_LOG([$1 conftest.foo]); then + m4_ifval([$3], [$3], [:]) +m4_ifvaln([$4], [else $4])dnl +echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD +sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD +fi]) + + +# nls.m4 serial 5 (gettext-0.18) +dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation, +dnl Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. +dnl +dnl This file can can be used in projects which are not available under +dnl the GNU General Public License or the GNU Library General Public +dnl License but which still want to provide support for the GNU gettext +dnl functionality. +dnl Please note that the actual code of the GNU gettext library is covered +dnl by the GNU Library General Public License, and the rest of the GNU +dnl gettext package package is covered by the GNU General Public License. +dnl They are *not* in the public domain. + +dnl Authors: +dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. +dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003. + +AC_PREREQ([2.50]) + +AC_DEFUN([AM_NLS], +[ + AC_MSG_CHECKING([whether NLS is requested]) + dnl Default is enabled NLS + AC_ARG_ENABLE([nls], + [ --disable-nls do not use Native Language Support], + USE_NLS=$enableval, USE_NLS=yes) + AC_MSG_RESULT([$USE_NLS]) + AC_SUBST([USE_NLS]) +]) + +# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- +# serial 1 (pkg-config-0.24) +# +# Copyright © 2004 Scott James Remnant <scott@netsplit.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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# PKG_PROG_PKG_CONFIG([MIN-VERSION]) +# ---------------------------------- +AC_DEFUN([PKG_PROG_PKG_CONFIG], +[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) +m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) +AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) +AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=m4_default([$1], [0.9.0]) + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + PKG_CONFIG="" + fi +fi[]dnl +])# PKG_PROG_PKG_CONFIG + +# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# +# Check to see whether a particular set of modules exists. Similar +# to PKG_CHECK_MODULES(), but does not set variables or print errors. +# +# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +# only at the first occurence in configure.ac, so if the first place +# it's called might be skipped (such as if it is within an "if", you +# have to call PKG_CHECK_EXISTS manually +# -------------------------------------------------------------- +AC_DEFUN([PKG_CHECK_EXISTS], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +if test -n "$PKG_CONFIG" && \ + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then + m4_default([$2], [:]) +m4_ifvaln([$3], [else + $3])dnl +fi]) + +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) +# --------------------------------------------- +m4_define([_PKG_CONFIG], +[if test -n "$$1"; then + pkg_cv_[]$1="$$1" + elif test -n "$PKG_CONFIG"; then + PKG_CHECK_EXISTS([$3], + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], + [pkg_failed=yes]) + else + pkg_failed=untried +fi[]dnl +])# _PKG_CONFIG + +# _PKG_SHORT_ERRORS_SUPPORTED +# ----------------------------- +AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi[]dnl +])# _PKG_SHORT_ERRORS_SUPPORTED + + +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], +# [ACTION-IF-NOT-FOUND]) +# +# +# Note that if there is a possibility the first call to +# PKG_CHECK_MODULES might not happen, you should be sure to include an +# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac +# +# +# -------------------------------------------------------------- +AC_DEFUN([PKG_CHECK_MODULES], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl + +pkg_failed=no +AC_MSG_CHECKING([for $1]) + +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) +_PKG_CONFIG([$1][_LIBS], [libs], [$2]) + +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS +and $1[]_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details.]) + +if test $pkg_failed = yes; then + AC_MSG_RESULT([no]) + _PKG_SHORT_ERRORS_SUPPORTED + if test $_pkg_short_errors_supported = yes; then + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` + else + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD + + m4_default([$4], [AC_MSG_ERROR( +[Package requirements ($2) were not met: + +$$1_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +_PKG_TEXT]) + ]) +elif test $pkg_failed = untried; then + AC_MSG_RESULT([no]) + m4_default([$4], [AC_MSG_FAILURE( +[The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +_PKG_TEXT + +To get pkg-config, see <http://pkg-config.freedesktop.org/>.]) + ]) +else + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS + AC_MSG_RESULT([yes]) + $3 +fi[]dnl +])# PKG_CHECK_MODULES + +# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software +# Foundation, Inc. +# +# This file 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. + +# serial 1 + +# AM_AUTOMAKE_VERSION(VERSION) +# ---------------------------- +# Automake X.Y traces this macro to ensure aclocal.m4 has been +# generated from the m4 files accompanying Automake X.Y. +# (This private macro should not be called outside this file.) +AC_DEFUN([AM_AUTOMAKE_VERSION], +[am__api_version='1.11' +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to +dnl require some minimum version. Point them to the right macro. +m4_if([$1], [1.11.3], [], + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl +]) + +# _AM_AUTOCONF_VERSION(VERSION) +# ----------------------------- +# aclocal traces this macro to find the Autoconf version. +# This is a private macro too. Using m4_define simplifies +# the logic in aclocal, which can simply ignore this definition. +m4_define([_AM_AUTOCONF_VERSION], []) + +# AM_SET_CURRENT_AUTOMAKE_VERSION +# ------------------------------- +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], +[AM_AUTOMAKE_VERSION([1.11.3])dnl +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) + +# AM_AUX_DIR_EXPAND -*- Autoconf -*- + +# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. +# +# This file 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. + +# serial 1 + +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to +# `$srcdir', `$srcdir/..', or `$srcdir/../..'. +# +# Of course, Automake must honor this variable whenever it calls a +# tool from the auxiliary directory. The problem is that $srcdir (and +# therefore $ac_aux_dir as well) can be either absolute or relative, +# depending on how configure is run. This is pretty annoying, since +# it makes $ac_aux_dir quite unusable in subdirectories: in the top +# source directory, any form will work fine, but in subdirectories a +# relative path needs to be adjusted first. +# +# $ac_aux_dir/missing +# fails when called from a subdirectory if $ac_aux_dir is relative +# $top_srcdir/$ac_aux_dir/missing +# fails if $ac_aux_dir is absolute, +# fails when called from a subdirectory in a VPATH build with +# a relative $ac_aux_dir +# +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir +# are both prefixed by $srcdir. In an in-source build this is usually +# harmless because $srcdir is `.', but things will broke when you +# start a VPATH build or use an absolute $srcdir. +# +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` +# and then we would define $MISSING as +# MISSING="\${SHELL} $am_aux_dir/missing" +# This will work as long as MISSING is not called from configure, because +# unfortunately $(top_srcdir) has no meaning in configure. +# However there are other variables, like CC, which are often used in +# configure, and could therefore not use this "fixed" $ac_aux_dir. +# +# Another solution, used here, is to always expand $ac_aux_dir to an +# absolute PATH. The drawback is that using absolute paths prevent a +# configured tree to be moved without reconfiguration. + +AC_DEFUN([AM_AUX_DIR_EXPAND], +[dnl Rely on autoconf to set up CDPATH properly. +AC_PREREQ([2.50])dnl +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` +]) + +# AM_CONDITIONAL -*- Autoconf -*- + +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 +# Free Software Foundation, Inc. +# +# This file 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. + +# serial 9 + +# AM_CONDITIONAL(NAME, SHELL-CONDITION) +# ------------------------------------- +# Define a conditional. +AC_DEFUN([AM_CONDITIONAL], +[AC_PREREQ(2.52)dnl + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl +AC_SUBST([$1_TRUE])dnl +AC_SUBST([$1_FALSE])dnl +_AM_SUBST_NOTMAKE([$1_TRUE])dnl +_AM_SUBST_NOTMAKE([$1_FALSE])dnl +m4_define([_AM_COND_VALUE_$1], [$2])dnl +if $2; then + $1_TRUE= + $1_FALSE='#' +else + $1_TRUE='#' + $1_FALSE= +fi +AC_CONFIG_COMMANDS_PRE( +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then + AC_MSG_ERROR([[conditional "$1" was never defined. +Usually this means the macro was only invoked conditionally.]]) +fi])]) + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, +# 2010, 2011 Free Software Foundation, Inc. +# +# This file 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. + +# serial 12 + +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be +# written in clear, in which case automake, when reading aclocal.m4, +# will think it sees a *use*, and therefore will trigger all it's +# C support machinery. Also note that it means that autoscan, seeing +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... + + +# _AM_DEPENDENCIES(NAME) +# ---------------------- +# See how the compiler implements dependency checking. +# NAME is "CC", "CXX", "GCJ", or "OBJC". +# We try a few techniques and use that to set a single cache variable. +# +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular +# dependency, and given that the user is not expected to run this macro, +# just rely on AC_PROG_CC. +AC_DEFUN([_AM_DEPENDENCIES], +[AC_REQUIRE([AM_SET_DEPDIR])dnl +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl +AC_REQUIRE([AM_MAKE_INCLUDE])dnl +AC_REQUIRE([AM_DEP_TRACK])dnl + +ifelse([$1], CC, [depcc="$CC" am_compiler_list=], + [$1], CXX, [depcc="$CXX" am_compiler_list=], + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], UPC, [depcc="$UPC" am_compiler_list=], + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], + [depcc="$$1" am_compiler_list=]) + +AC_CACHE_CHECK([dependency style of $depcc], + [am_cv_$1_dependencies_compiler_type], +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + rm -rf conftest.dir + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_$1_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` + fi + am__universal=false + m4_case([$1], [CC], + [case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac], + [CXX], + [case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac]) + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok `-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_$1_dependencies_compiler_type=none +fi +]) +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) +AM_CONDITIONAL([am__fastdep$1], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) +]) + + +# AM_SET_DEPDIR +# ------------- +# Choose a directory name for dependency files. +# This macro is AC_REQUIREd in _AM_DEPENDENCIES +AC_DEFUN([AM_SET_DEPDIR], +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl +]) + + +# AM_DEP_TRACK +# ------------ +AC_DEFUN([AM_DEP_TRACK], +[AC_ARG_ENABLE(dependency-tracking, +[ --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors]) +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' + am__nodep='_no' +fi +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) +AC_SUBST([AMDEPBACKSLASH])dnl +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl +AC_SUBST([am__nodep])dnl +_AM_SUBST_NOTMAKE([am__nodep])dnl +]) + +# Generate code to set up dependency tracking. -*- Autoconf -*- + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 +# Free Software Foundation, Inc. +# +# This file 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. + +#serial 5 + +# _AM_OUTPUT_DEPENDENCY_COMMANDS +# ------------------------------ +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], +[{ + # Autoconf 2.62 quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`AS_DIRNAME("$mf")` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`AS_DIRNAME(["$file"])` + AS_MKDIR_P([$dirpart/$fdir]) + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done + done +} +])# _AM_OUTPUT_DEPENDENCY_COMMANDS + + +# AM_OUTPUT_DEPENDENCY_COMMANDS +# ----------------------------- +# This macro should only be invoked once -- use via AC_REQUIRE. +# +# This code is only required when automatic dependency tracking +# is enabled. FIXME. This creates each `.P' file that we will +# need in order to bootstrap the dependency handling code. +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], +[AC_CONFIG_COMMANDS([depfiles], + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) +]) + +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 +# Free Software Foundation, Inc. +# +# This file 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. + +# serial 8 + +# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. +AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) + +# Do all the work for Automake. -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +# 2005, 2006, 2008, 2009 Free Software Foundation, Inc. +# +# This file 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. + +# serial 16 + +# This macro actually does too much. Some checks are only needed if +# your package does certain things. But this isn't really a big deal. + +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) +# AM_INIT_AUTOMAKE([OPTIONS]) +# ----------------------------------------------- +# The call with PACKAGE and VERSION arguments is the old style +# call (pre autoconf-2.50), which is being phased out. PACKAGE +# and VERSION should now be passed to AC_INIT and removed from +# the call to AM_INIT_AUTOMAKE. +# We support both call styles for the transition. After +# the next Automake release, Autoconf can make the AC_INIT +# arguments mandatory, and then we can depend on a new Autoconf +# release and drop the old call support. +AC_DEFUN([AM_INIT_AUTOMAKE], +[AC_PREREQ([2.62])dnl +dnl Autoconf wants to disallow AM_ names. We explicitly allow +dnl the ones we care about. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl +AC_REQUIRE([AC_PROG_INSTALL])dnl +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi +AC_SUBST([CYGPATH_W]) + +# Define the identity of the package. +dnl Distinguish between old-style and new-style calls. +m4_ifval([$2], +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl + AC_SUBST([PACKAGE], [$1])dnl + AC_SUBST([VERSION], [$2])], +[_AM_SET_OPTIONS([$1])dnl +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl + +_AM_IF_OPTION([no-define],, +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl + +# Some tools Automake needs. +AC_REQUIRE([AM_SANITY_CHECK])dnl +AC_REQUIRE([AC_ARG_PROGRAM])dnl +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) +AM_MISSING_PROG(AUTOCONF, autoconf) +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) +AM_MISSING_PROG(AUTOHEADER, autoheader) +AM_MISSING_PROG(MAKEINFO, makeinfo) +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl +AC_REQUIRE([AM_PROG_MKDIR_P])dnl +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([AC_PROG_MAKE_SET])dnl +AC_REQUIRE([AM_SET_LEADING_DOT])dnl +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], + [_AM_PROG_TAR([v7])])]) +_AM_IF_OPTION([no-dependencies],, +[AC_PROVIDE_IFELSE([AC_PROG_CC], + [_AM_DEPENDENCIES(CC)], + [define([AC_PROG_CC], + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_CXX], + [_AM_DEPENDENCIES(CXX)], + [define([AC_PROG_CXX], + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJC], + [_AM_DEPENDENCIES(OBJC)], + [define([AC_PROG_OBJC], + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl +]) +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl +dnl The `parallel-tests' driver may need to know about EXEEXT, so add the +dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro +dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. +AC_CONFIG_COMMANDS_PRE(dnl +[m4_provide_if([_AM_COMPILER_EXEEXT], + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl +]) + +dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further +dnl mangled by Autoconf and run in a shell conditional statement. +m4_define([_AC_COMPILER_EXEEXT], +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) + + +# When config.status generates a header, we must update the stamp-h file. +# This file resides in the same directory as the config header +# that is generated. The stamp files are numbered to have different names. + +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the +# loop where config.status creates the headers, so we can generate +# our stamp files there. +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], +[# Compute $1's index in $config_headers. +_am_arg=$1 +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) + +# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation, +# Inc. +# +# This file 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. + +# serial 1 + +# AM_PROG_INSTALL_SH +# ------------------ +# Define $install_sh. +AC_DEFUN([AM_PROG_INSTALL_SH], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +if test x"${install_sh}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi +AC_SUBST(install_sh)]) + +# Copyright (C) 2003, 2005 Free Software Foundation, Inc. +# +# This file 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. + +# serial 2 + +# Check whether the underlying file-system supports filenames +# with a leading dot. For instance MS-DOS doesn't. +AC_DEFUN([AM_SET_LEADING_DOT], +[rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null +AC_SUBST([am__leading_dot])]) + +# Check to see how 'make' treats includes. -*- Autoconf -*- + +# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. +# +# This file 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. + +# serial 4 + +# AM_MAKE_INCLUDE() +# ----------------- +# Check to see how make treats includes. +AC_DEFUN([AM_MAKE_INCLUDE], +[am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo this is the am__doit target +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +AC_MSG_CHECKING([for style of include used by $am_make]) +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# Ignore all kinds of additional output from `make'. +case `$am_make -s -f confmf 2> /dev/null` in #( +*the\ am__doit\ target*) + am__include=include + am__quote= + _am_result=GNU + ;; +esac +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + case `$am_make -s -f confmf 2> /dev/null` in #( + *the\ am__doit\ target*) + am__include=.include + am__quote="\"" + _am_result=BSD + ;; + esac +fi +AC_SUBST([am__include]) +AC_SUBST([am__quote]) +AC_MSG_RESULT([$_am_result]) +rm -f confinc confmf +]) + +# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008 +# Free Software Foundation, Inc. +# +# This file 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. + +# serial 6 + +# AM_PROG_CC_C_O +# -------------- +# Like AC_PROG_CC_C_O, but changed for automake. +AC_DEFUN([AM_PROG_CC_C_O], +[AC_REQUIRE([AC_PROG_CC_C_O])dnl +AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([compile])dnl +# FIXME: we rely on the cache variable name because +# there is no other way. +set dummy $CC +am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o +if test "$am_t" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +dnl Make sure AC_PROG_CC is never called again, or it will override our +dnl setting of CC. +m4_define([AC_PROG_CC], + [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) +]) + +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- + +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 +# Free Software Foundation, Inc. +# +# This file 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. + +# serial 6 + +# AM_MISSING_PROG(NAME, PROGRAM) +# ------------------------------ +AC_DEFUN([AM_MISSING_PROG], +[AC_REQUIRE([AM_MISSING_HAS_RUN]) +$1=${$1-"${am_missing_run}$2"} +AC_SUBST($1)]) + + +# AM_MISSING_HAS_RUN +# ------------------ +# Define MISSING if not defined so far and test if it supports --run. +# If it does, set am_missing_run to use it, otherwise, to nothing. +AC_DEFUN([AM_MISSING_HAS_RUN], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([missing])dnl +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + AC_MSG_WARN([`missing' script is too old or missing]) +fi +]) + +# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation, +# Inc. +# +# This file 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. + +# serial 1 + +# AM_PROG_MKDIR_P +# --------------- +# Check for `mkdir -p'. +AC_DEFUN([AM_PROG_MKDIR_P], +[AC_PREREQ([2.60])dnl +AC_REQUIRE([AC_PROG_MKDIR_P])dnl +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, +dnl while keeping a definition of mkdir_p for backward compatibility. +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of +dnl Makefile.ins that do not define MKDIR_P, so we do our own +dnl adjustment using top_builddir (which is defined more often than +dnl MKDIR_P). +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl +case $mkdir_p in + [[\\/$]]* | ?:[[\\/]]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac +]) + +# Helper functions for option handling. -*- Autoconf -*- + +# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software +# Foundation, Inc. +# +# This file 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. + +# serial 5 + +# _AM_MANGLE_OPTION(NAME) +# ----------------------- +AC_DEFUN([_AM_MANGLE_OPTION], +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) + +# _AM_SET_OPTION(NAME) +# -------------------- +# Set option NAME. Presently that only means defining a flag for this option. +AC_DEFUN([_AM_SET_OPTION], +[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) + +# _AM_SET_OPTIONS(OPTIONS) +# ------------------------ +# OPTIONS is a space-separated list of Automake options. +AC_DEFUN([_AM_SET_OPTIONS], +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) + +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) +# ------------------------------------------- +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +AC_DEFUN([_AM_IF_OPTION], +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) + +# Check to make sure that the build environment is sane. -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 +# Free Software Foundation, Inc. +# +# This file 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. + +# serial 5 + +# AM_SANITY_CHECK +# --------------- +AC_DEFUN([AM_SANITY_CHECK], +[AC_MSG_CHECKING([whether build environment is sane]) +# Just in case +sleep 1 +echo timestamp > conftest.file +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[[\\\"\#\$\&\'\`$am_lf]]*) + AC_MSG_ERROR([unsafe absolute working directory name]);; +esac +case $srcdir in + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) + AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; +esac + +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$[*]" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + rm -f conftest.file + if test "$[*]" != "X $srcdir/configure conftest.file" \ + && test "$[*]" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken +alias in your environment]) + fi + + test "$[2]" = conftest.file + ) +then + # Ok. + : +else + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) +fi +AC_MSG_RESULT(yes)]) + +# Copyright (C) 2009, 2011 Free Software Foundation, Inc. +# +# This file 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. + +# serial 2 + +# AM_SILENT_RULES([DEFAULT]) +# -------------------------- +# Enable less verbose build rules; with the default set to DEFAULT +# (`yes' being less verbose, `no' or empty being verbose). +AC_DEFUN([AM_SILENT_RULES], +[AC_ARG_ENABLE([silent-rules], +[ --enable-silent-rules less verbose build output (undo: `make V=1') + --disable-silent-rules verbose build output (undo: `make V=0')]) +case $enable_silent_rules in +yes) AM_DEFAULT_VERBOSITY=0;; +no) AM_DEFAULT_VERBOSITY=1;; +*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; +esac +dnl +dnl A few `make' implementations (e.g., NonStop OS and NextStep) +dnl do not support nested variable expansions. +dnl See automake bug#9928 and bug#10237. +am_make=${MAKE-make} +AC_CACHE_CHECK([whether $am_make supports nested variables], + [am_cv_make_support_nested_variables], + [if AS_ECHO([['TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi]) +if test $am_cv_make_support_nested_variables = yes; then + dnl Using `$V' instead of `$(V)' breaks IRIX make. + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AC_SUBST([AM_V])dnl +AM_SUBST_NOTMAKE([AM_V])dnl +AC_SUBST([AM_DEFAULT_V])dnl +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl +AM_BACKSLASH='\' +AC_SUBST([AM_BACKSLASH])dnl +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl +]) + +# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. +# +# This file 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. + +# serial 1 + +# AM_PROG_INSTALL_STRIP +# --------------------- +# One issue with vendor `install' (even GNU) is that you can't +# specify the program used to strip binaries. This is especially +# annoying in cross-compiling environments, where the build's strip +# is unlikely to handle the host's binaries. +# Fortunately install-sh will honor a STRIPPROG variable, so we +# always use install-sh in `make install-strip', and initialize +# STRIPPROG with the value of the STRIP variable (set by the user). +AC_DEFUN([AM_PROG_INSTALL_STRIP], +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +dnl Don't test for $cross_compiling = yes, because it might be `maybe'. +if test "$cross_compiling" != no; then + AC_CHECK_TOOL([STRIP], [strip], :) +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" +AC_SUBST([INSTALL_STRIP_PROGRAM])]) + +# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. +# +# This file 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. + +# serial 3 + +# _AM_SUBST_NOTMAKE(VARIABLE) +# --------------------------- +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. +# This macro is traced by Automake. +AC_DEFUN([_AM_SUBST_NOTMAKE]) + +# AM_SUBST_NOTMAKE(VARIABLE) +# -------------------------- +# Public sister of _AM_SUBST_NOTMAKE. +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) + +# Check how to create a tarball. -*- Autoconf -*- + +# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc. +# +# This file 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. + +# serial 2 + +# _AM_PROG_TAR(FORMAT) +# -------------------- +# Check how to create a tarball in format FORMAT. +# FORMAT should be one of `v7', `ustar', or `pax'. +# +# Substitute a variable $(am__tar) that is a command +# writing to stdout a FORMAT-tarball containing the directory +# $tardir. +# tardir=directory && $(am__tar) > result.tar +# +# Substitute a variable $(am__untar) that extract such +# a tarball read from stdin. +# $(am__untar) < result.tar +AC_DEFUN([_AM_PROG_TAR], +[# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AC_SUBST([AMTAR], ['$${TAR-tar}']) +m4_if([$1], [v7], + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], + [m4_case([$1], [ustar],, [pax],, + [m4_fatal([Unknown tar format])]) +AC_MSG_CHECKING([how to create a $1 tar archive]) +# Loop over all known methods to create a tar archive until one works. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' +_am_tools=${am_cv_prog_tar_$1-$_am_tools} +# Do not fold the above two line into one, because Tru64 sh and +# Solaris sh will not grok spaces in the rhs of `-'. +for _am_tool in $_am_tools +do + case $_am_tool in + gnutar) + for _am_tar in tar gnutar gtar; + do + AM_RUN_LOG([$_am_tar --version]) && break + done + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' + am__untar="$_am_tar -xf -" + ;; + plaintar) + # Must skip GNU tar: if it does not support --format= it doesn't create + # ustar tarball either. + (tar --version) >/dev/null 2>&1 && continue + am__tar='tar chf - "$$tardir"' + am__tar_='tar chf - "$tardir"' + am__untar='tar xf -' + ;; + pax) + am__tar='pax -L -x $1 -w "$$tardir"' + am__tar_='pax -L -x $1 -w "$tardir"' + am__untar='pax -r' + ;; + cpio) + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' + am__untar='cpio -i -H $1 -d' + ;; + none) + am__tar=false + am__tar_=false + am__untar=false + ;; + esac + + # If the value was cached, stop now. We just wanted to have am__tar + # and am__untar set. + test -n "${am_cv_prog_tar_$1}" && break + + # tar/untar a dummy directory, and stop if the command works + rm -rf conftest.dir + mkdir conftest.dir + echo GrepMe > conftest.dir/file + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) + rm -rf conftest.dir + if test -s conftest.tar; then + AM_RUN_LOG([$am__untar <conftest.tar]) + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break + fi +done +rm -rf conftest.dir + +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) +AC_MSG_RESULT([$am_cv_prog_tar_$1])]) +AC_SUBST([am__tar]) +AC_SUBST([am__untar]) +]) # _AM_PROG_TAR + +m4_include([m4/intltool.m4]) +m4_include([m4/libtool.m4]) +m4_include([m4/ltoptions.m4]) +m4_include([m4/ltsugar.m4]) +m4_include([m4/ltversion.m4]) +m4_include([m4/lt~obsolete.m4]) +m4_include([acinclude.m4]) diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/compile b/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/compile new file mode 100644 index 0000000..b1f4749 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/compile @@ -0,0 +1,310 @@ +#! /bin/sh +# Wrapper for compilers which do not understand '-c -o'. + +scriptversion=2012-01-04.17; # UTC + +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010, 2012 Free +# Software Foundation, Inc. +# Written by Tom Tromey <tromey@cygnus.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, 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/>. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to <bug-automake@gnu.org> or send patches to +# <automake-patches@gnu.org>. + +nl=' +' + +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent tools from complaining about whitespace usage. +IFS=" "" $nl" + +file_conv= + +# func_file_conv build_file lazy +# Convert a $build file to $host form and store it in $file +# Currently only supports Windows hosts. If the determined conversion +# type is listed in (the comma separated) LAZY, no conversion will +# take place. +func_file_conv () +{ + file=$1 + case $file in + / | /[!/]*) # absolute file, and not a UNC file + if test -z "$file_conv"; then + # lazily determine how to convert abs files + case `uname -s` in + MINGW*) + file_conv=mingw + ;; + CYGWIN*) + file_conv=cygwin + ;; + *) + file_conv=wine + ;; + esac + fi + case $file_conv/,$2, in + *,$file_conv,*) + ;; + mingw/*) + file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` + ;; + cygwin/*) + file=`cygpath -m "$file" || echo "$file"` + ;; + wine/*) + file=`winepath -w "$file" || echo "$file"` + ;; + esac + ;; + esac +} + +# func_cl_wrapper cl arg... +# Adjust compile command to suit cl +func_cl_wrapper () +{ + # Assume a capable shell + lib_path= + shared=: + linker_opts= + for arg + do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as 'compile cc -o foo foo.c'. + eat=1 + case $2 in + *.o | *.[oO][bB][jJ]) + func_file_conv "$2" + set x "$@" -Fo"$file" + shift + ;; + *) + func_file_conv "$2" + set x "$@" -Fe"$file" + shift + ;; + esac + ;; + -I*) + func_file_conv "${1#-I}" mingw + set x "$@" -I"$file" + shift + ;; + -l*) + lib=${1#-l} + found=no + save_IFS=$IFS + IFS=';' + for dir in $lib_path $LIB + do + IFS=$save_IFS + if $shared && test -f "$dir/$lib.dll.lib"; then + found=yes + set x "$@" "$dir/$lib.dll.lib" + break + fi + if test -f "$dir/$lib.lib"; then + found=yes + set x "$@" "$dir/$lib.lib" + break + fi + done + IFS=$save_IFS + + test "$found" != yes && set x "$@" "$lib.lib" + shift + ;; + -L*) + func_file_conv "${1#-L}" + if test -z "$lib_path"; then + lib_path=$file + else + lib_path="$lib_path;$file" + fi + linker_opts="$linker_opts -LIBPATH:$file" + ;; + -static) + shared=false + ;; + -Wl,*) + arg=${1#-Wl,} + save_ifs="$IFS"; IFS=',' + for flag in $arg; do + IFS="$save_ifs" + linker_opts="$linker_opts $flag" + done + IFS="$save_ifs" + ;; + -Xlinker) + eat=1 + linker_opts="$linker_opts $2" + ;; + -*) + set x "$@" "$1" + shift + ;; + *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) + func_file_conv "$1" + set x "$@" -Tp"$file" + shift + ;; + *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) + func_file_conv "$1" mingw + set x "$@" "$file" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift + done + if test -n "$linker_opts"; then + linker_opts="-link$linker_opts" + fi + exec "$@" $linker_opts + exit 1 +} + +eat= + +case $1 in + '') + echo "$0: No command. Try '$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: compile [--help] [--version] PROGRAM [ARGS] + +Wrapper for compilers which do not understand '-c -o'. +Remove '-o dest.o' from ARGS, run PROGRAM with the remaining +arguments, and rename the output as expected. + +If you are trying to build a whole package this is not the +right script to run: please start by reading the file 'INSTALL'. + +Report bugs to <bug-automake@gnu.org>. +EOF + exit $? + ;; + -v | --v*) + echo "compile $scriptversion" + exit $? + ;; + cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) + func_cl_wrapper "$@" # Doesn't return... + ;; +esac + +ofile= +cfile= + +for arg +do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as 'compile cc -o foo foo.c'. + # So we strip '-o arg' only if arg is an object. + eat=1 + case $2 in + *.o | *.obj) + ofile=$2 + ;; + *) + set x "$@" -o "$2" + shift + ;; + esac + ;; + *.c) + cfile=$1 + set x "$@" "$1" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift +done + +if test -z "$ofile" || test -z "$cfile"; then + # If no '-o' option was seen then we might have been invoked from a + # pattern rule where we don't need one. That is ok -- this is a + # normal compilation that the losing compiler can handle. If no + # '.c' file was seen then we are probably linking. That is also + # ok. + exec "$@" +fi + +# Name of file we expect compiler to create. +cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` + +# Create the lock directory. +# Note: use '[/\\:.-]' here to ensure that we don't use the same name +# that we are using for the .o file. Also, base the name on the expected +# object file name, since that is what matters with a parallel build. +lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d +while true; do + if mkdir "$lockdir" >/dev/null 2>&1; then + break + fi + sleep 1 +done +# FIXME: race condition here if user kills between mkdir and trap. +trap "rmdir '$lockdir'; exit 1" 1 2 15 + +# Run the compile. +"$@" +ret=$? + +if test -f "$cofile"; then + test "$cofile" = "$ofile" || mv "$cofile" "$ofile" +elif test -f "${cofile}bj"; then + test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" +fi + +rmdir "$lockdir" +exit $ret + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/config.guess b/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/config.guess new file mode 100644 index 0000000..49ba16f --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/config.guess @@ -0,0 +1,1522 @@ +#! /bin/sh +# Attempt to guess a canonical system name. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, +# 2011, 2012 Free Software Foundation, Inc. + +timestamp='2012-01-01' + +# This file 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. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + + +# Originally written by Per Bothner. Please send patches (context +# diff format) to <config-patches@gnu.org> and include a ChangeLog +# entry. +# +# This script attempts to guess a canonical system name similar to +# config.sub. If it succeeds, it prints the system name on stdout, and +# exits with 0. Otherwise, it exits with 1. +# +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] + +Output the configuration name of the system \`$me' is run on. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to <config-patches@gnu.org>." + +version="\ +GNU config.guess ($timestamp) + +Originally written by Per Bothner. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 +Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" >&2 + exit 1 ;; + * ) + break ;; + esac +done + +if test $# != 0; then + echo "$me: too many arguments$help" >&2 + exit 1 +fi + +trap 'exit 1' 1 2 15 + +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a +# compiler to aid in system detection is discouraged as it requires +# temporary files to be created and, as you can see below, it is a +# headache to deal with in a portable fashion. + +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still +# use `HOST_CC' if defined, but it is deprecated. + +# Portable tmp directory creation inspired by the Autoconf team. + +set_cc_for_build=' +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; +: ${TMPDIR=/tmp} ; + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; +dummy=$tmp/dummy ; +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; +case $CC_FOR_BUILD,$HOST_CC,$CC in + ,,) echo "int x;" > $dummy.c ; + for c in cc gcc c89 c99 ; do + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then + CC_FOR_BUILD="$c"; break ; + fi ; + done ; + if test x"$CC_FOR_BUILD" = x ; then + CC_FOR_BUILD=no_compiler_found ; + fi + ;; + ,,*) CC_FOR_BUILD=$CC ;; + ,*,*) CC_FOR_BUILD=$HOST_CC ;; +esac ; set_cc_for_build= ;' + +# This is needed to find uname on a Pyramid OSx when run in the BSD universe. +# (ghazi@noc.rutgers.edu 1994-08-24) +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then + PATH=$PATH:/.attbin ; export PATH +fi + +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown + +# Note: order is significant - the case branches are not exclusive. + +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in + *:NetBSD:*:*) + # NetBSD (nbsd) targets should (where applicable) match one or + # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently + # switched to ELF, *-*-netbsd* would select the old + # object file format. This provides both forward + # compatibility and a consistent mechanism for selecting the + # object file format. + # + # Note: NetBSD doesn't particularly care about the vendor + # portion of the name. We always set it to "unknown". + sysctl="sysctl -n hw.machine_arch" + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ + /usr/sbin/$sysctl 2>/dev/null || echo unknown)` + case "${UNAME_MACHINE_ARCH}" in + armeb) machine=armeb-unknown ;; + arm*) machine=arm-unknown ;; + sh3el) machine=shl-unknown ;; + sh3eb) machine=sh-unknown ;; + sh5el) machine=sh5le-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE_ARCH}" in + arm*|i386|m68k|ns32k|sh3*|sparc|vax) + eval $set_cc_for_build + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ELF__ + then + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). + # Return netbsd for either. FIX? + os=netbsd + else + os=netbsdelf + fi + ;; + *) + os=netbsd + ;; + esac + # The OS release + # Debian GNU/NetBSD machines have a different userland, and + # thus, need a distinct triplet. However, they do not need + # kernel version information, so it can be replaced with a + # suitable tag, in the style of linux-gnu. + case "${UNAME_VERSION}" in + Debian*) + release='-gnu' + ;; + *) + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + ;; + esac + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: + # contains redundant information, the shorter form: + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. + echo "${machine}-${os}${release}" + exit ;; + *:OpenBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} + exit ;; + *:ekkoBSD:*:*) + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} + exit ;; + *:SolidBSD:*:*) + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} + exit ;; + macppc:MirBSD:*:*) + echo powerpc-unknown-mirbsd${UNAME_RELEASE} + exit ;; + *:MirBSD:*:*) + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} + exit ;; + alpha:OSF1:*:*) + case $UNAME_RELEASE in + *4.0) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` + ;; + *5.*) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + ;; + esac + # According to Compaq, /usr/sbin/psrinfo has been available on + # OSF/1 and Tru64 systems produced since 1995. I hope that + # covers most systems running today. This code pipes the CPU + # types through head -n 1, so we only detect the type of CPU 0. + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` + case "$ALPHA_CPU_TYPE" in + "EV4 (21064)") + UNAME_MACHINE="alpha" ;; + "EV4.5 (21064)") + UNAME_MACHINE="alpha" ;; + "LCA4 (21066/21068)") + UNAME_MACHINE="alpha" ;; + "EV5 (21164)") + UNAME_MACHINE="alphaev5" ;; + "EV5.6 (21164A)") + UNAME_MACHINE="alphaev56" ;; + "EV5.6 (21164PC)") + UNAME_MACHINE="alphapca56" ;; + "EV5.7 (21164PC)") + UNAME_MACHINE="alphapca57" ;; + "EV6 (21264)") + UNAME_MACHINE="alphaev6" ;; + "EV6.7 (21264A)") + UNAME_MACHINE="alphaev67" ;; + "EV6.8CB (21264C)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8AL (21264B)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8CX (21264D)") + UNAME_MACHINE="alphaev68" ;; + "EV6.9A (21264/EV69A)") + UNAME_MACHINE="alphaev69" ;; + "EV7 (21364)") + UNAME_MACHINE="alphaev7" ;; + "EV7.9 (21364A)") + UNAME_MACHINE="alphaev79" ;; + esac + # A Pn.n version is a patched version. + # A Vn.n version is a released version. + # A Tn.n version is a released field test version. + # A Xn.n version is an unreleased experimental baselevel. + # 1.2 uses "1.2" for uname -r. + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + # Reset EXIT trap before exiting to avoid spurious non-zero exit code. + exitcode=$? + trap '' 0 + exit $exitcode ;; + Alpha\ *:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # Should we change UNAME_MACHINE based on the output of uname instead + # of the specific Alpha model? + echo alpha-pc-interix + exit ;; + 21064:Windows_NT:50:3) + echo alpha-dec-winnt3.5 + exit ;; + Amiga*:UNIX_System_V:4.0:*) + echo m68k-unknown-sysv4 + exit ;; + *:[Aa]miga[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-amigaos + exit ;; + *:[Mm]orph[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-morphos + exit ;; + *:OS/390:*:*) + echo i370-ibm-openedition + exit ;; + *:z/VM:*:*) + echo s390-ibm-zvmoe + exit ;; + *:OS400:*:*) + echo powerpc-ibm-os400 + exit ;; + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) + echo arm-acorn-riscix${UNAME_RELEASE} + exit ;; + arm:riscos:*:*|arm:RISCOS:*:*) + echo arm-unknown-riscos + exit ;; + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) + echo hppa1.1-hitachi-hiuxmpp + exit ;; + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. + if test "`(/bin/universe) 2>/dev/null`" = att ; then + echo pyramid-pyramid-sysv3 + else + echo pyramid-pyramid-bsd + fi + exit ;; + NILE*:*:*:dcosx) + echo pyramid-pyramid-svr4 + exit ;; + DRS?6000:unix:4.0:6*) + echo sparc-icl-nx6 + exit ;; + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) + case `/usr/bin/uname -p` in + sparc) echo sparc-icl-nx7; exit ;; + esac ;; + s390x:SunOS:*:*) + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4H:SunOS:5.*:*) + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) + echo i386-pc-auroraux${UNAME_RELEASE} + exit ;; + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) + eval $set_cc_for_build + SUN_ARCH="i386" + # If there is a compiler, see if it is configured for 64-bit objects. + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. + # This test works for both compilers. + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + SUN_ARCH="x86_64" + fi + fi + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:6*:*) + # According to config.sub, this is the proper way to canonicalize + # SunOS6. Hard to guess exactly what SunOS6 will be like, but + # it's likely to be more like Solaris than SunOS4. + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:*:*) + case "`/usr/bin/arch -k`" in + Series*|S4*) + UNAME_RELEASE=`uname -v` + ;; + esac + # Japanese Language versions have a version number like `4.1.3-JL'. + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` + exit ;; + sun3*:SunOS:*:*) + echo m68k-sun-sunos${UNAME_RELEASE} + exit ;; + sun*:*:4.2BSD:*) + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 + case "`/bin/arch`" in + sun3) + echo m68k-sun-sunos${UNAME_RELEASE} + ;; + sun4) + echo sparc-sun-sunos${UNAME_RELEASE} + ;; + esac + exit ;; + aushp:SunOS:*:*) + echo sparc-auspex-sunos${UNAME_RELEASE} + exit ;; + # The situation for MiNT is a little confusing. The machine name + # can be virtually everything (everything which is not + # "atarist" or "atariste" at least should have a processor + # > m68000). The system name ranges from "MiNT" over "FreeMiNT" + # to the lowercase version "mint" (or "freemint"). Finally + # the system name "TOS" denotes a system which is actually not + # MiNT. But MiNT is downward compatible to TOS, so this should + # be no problem. + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) + echo m68k-milan-mint${UNAME_RELEASE} + exit ;; + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) + echo m68k-hades-mint${UNAME_RELEASE} + exit ;; + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) + echo m68k-unknown-mint${UNAME_RELEASE} + exit ;; + m68k:machten:*:*) + echo m68k-apple-machten${UNAME_RELEASE} + exit ;; + powerpc:machten:*:*) + echo powerpc-apple-machten${UNAME_RELEASE} + exit ;; + RISC*:Mach:*:*) + echo mips-dec-mach_bsd4.3 + exit ;; + RISC*:ULTRIX:*:*) + echo mips-dec-ultrix${UNAME_RELEASE} + exit ;; + VAX*:ULTRIX*:*:*) + echo vax-dec-ultrix${UNAME_RELEASE} + exit ;; + 2020:CLIX:*:* | 2430:CLIX:*:*) + echo clipper-intergraph-clix${UNAME_RELEASE} + exit ;; + mips:*:*:UMIPS | mips:*:*:RISCos) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c +#ifdef __cplusplus +#include <stdio.h> /* for printf() prototype */ + int main (int argc, char *argv[]) { +#else + int main (argc, argv) int argc; char *argv[]; { +#endif + #if defined (host_mips) && defined (MIPSEB) + #if defined (SYSTYPE_SYSV) + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_SVR4) + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); + #endif + #endif + exit (-1); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && + SYSTEM_NAME=`$dummy $dummyarg` && + { echo "$SYSTEM_NAME"; exit; } + echo mips-mips-riscos${UNAME_RELEASE} + exit ;; + Motorola:PowerMAX_OS:*:*) + echo powerpc-motorola-powermax + exit ;; + Motorola:*:4.3:PL8-*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:Power_UNIX:*:*) + echo powerpc-harris-powerunix + exit ;; + m88k:CX/UX:7*:*) + echo m88k-harris-cxux7 + exit ;; + m88k:*:4*:R4*) + echo m88k-motorola-sysv4 + exit ;; + m88k:*:3*:R3*) + echo m88k-motorola-sysv3 + exit ;; + AViiON:dgux:*:*) + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] + then + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ + [ ${TARGET_BINARY_INTERFACE}x = x ] + then + echo m88k-dg-dgux${UNAME_RELEASE} + else + echo m88k-dg-dguxbcs${UNAME_RELEASE} + fi + else + echo i586-dg-dgux${UNAME_RELEASE} + fi + exit ;; + M88*:DolphinOS:*:*) # DolphinOS (SVR3) + echo m88k-dolphin-sysv3 + exit ;; + M88*:*:R3*:*) + # Delta 88k system running SVR3 + echo m88k-motorola-sysv3 + exit ;; + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) + echo m88k-tektronix-sysv3 + exit ;; + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) + echo m68k-tektronix-bsd + exit ;; + *:IRIX*:*:*) + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` + exit ;; + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + i*86:AIX:*:*) + echo i386-ibm-aix + exit ;; + ia64:AIX:*:*) + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} + exit ;; + *:AIX:2:3) + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include <sys/systemcfg.h> + + main() + { + if (!__power_pc()) + exit(1); + puts("powerpc-ibm-aix3.2.5"); + exit(0); + } +EOF + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` + then + echo "$SYSTEM_NAME" + else + echo rs6000-ibm-aix3.2.5 + fi + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then + echo rs6000-ibm-aix3.2.4 + else + echo rs6000-ibm-aix3.2 + fi + exit ;; + *:AIX:*:[4567]) + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then + IBM_ARCH=rs6000 + else + IBM_ARCH=powerpc + fi + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${IBM_ARCH}-ibm-aix${IBM_REV} + exit ;; + *:AIX:*:*) + echo rs6000-ibm-aix + exit ;; + ibmrt:4.4BSD:*|romp-ibm:BSD:*) + echo romp-ibm-bsd4.4 + exit ;; + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to + exit ;; # report: romp-ibm BSD 4.3 + *:BOSX:*:*) + echo rs6000-bull-bosx + exit ;; + DPX/2?00:B.O.S.:*:*) + echo m68k-bull-sysv3 + exit ;; + 9000/[34]??:4.3bsd:1.*:*) + echo m68k-hp-bsd + exit ;; + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) + echo m68k-hp-bsd4.4 + exit ;; + 9000/[34678]??:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + case "${UNAME_MACHINE}" in + 9000/31? ) HP_ARCH=m68000 ;; + 9000/[34]?? ) HP_ARCH=m68k ;; + 9000/[678][0-9][0-9]) + if [ -x /usr/bin/getconf ]; then + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in + 32) HP_ARCH="hppa2.0n" ;; + 64) HP_ARCH="hppa2.0w" ;; + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 + esac ;; + esac + fi + if [ "${HP_ARCH}" = "" ]; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + + #define _HPUX_SOURCE + #include <stdlib.h> + #include <unistd.h> + + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); + + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } +EOF + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` + test -z "$HP_ARCH" && HP_ARCH=hppa + fi ;; + esac + if [ ${HP_ARCH} = "hppa2.0w" ] + then + eval $set_cc_for_build + + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler + # generating 64-bit code. GNU and HP use different nomenclature: + # + # $ CC_FOR_BUILD=cc ./config.guess + # => hppa2.0w-hp-hpux11.23 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess + # => hppa64-hp-hpux11.23 + + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | + grep -q __LP64__ + then + HP_ARCH="hppa2.0w" + else + HP_ARCH="hppa64" + fi + fi + echo ${HP_ARCH}-hp-hpux${HPUX_REV} + exit ;; + ia64:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + echo ia64-hp-hpux${HPUX_REV} + exit ;; + 3050*:HI-UX:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include <unistd.h> + int + main () + { + long cpu = sysconf (_SC_CPU_VERSION); + /* The order matters, because CPU_IS_HP_MC68K erroneously returns + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct + results, however. */ + if (CPU_IS_PA_RISC (cpu)) + { + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; + default: puts ("hppa-hitachi-hiuxwe2"); break; + } + } + else if (CPU_IS_HP_MC68K (cpu)) + puts ("m68k-hitachi-hiuxwe2"); + else puts ("unknown-hitachi-hiuxwe2"); + exit (0); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } + echo unknown-hitachi-hiuxwe2 + exit ;; + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) + echo hppa1.1-hp-bsd + exit ;; + 9000/8??:4.3bsd:*:*) + echo hppa1.0-hp-bsd + exit ;; + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) + echo hppa1.0-hp-mpeix + exit ;; + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) + echo hppa1.1-hp-osf + exit ;; + hp8??:OSF1:*:*) + echo hppa1.0-hp-osf + exit ;; + i*86:OSF1:*:*) + if [ -x /usr/sbin/sysversion ] ; then + echo ${UNAME_MACHINE}-unknown-osf1mk + else + echo ${UNAME_MACHINE}-unknown-osf1 + fi + exit ;; + parisc*:Lites*:*:*) + echo hppa1.1-hp-lites + exit ;; + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) + echo c1-convex-bsd + exit ;; + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) + echo c34-convex-bsd + exit ;; + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) + echo c38-convex-bsd + exit ;; + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) + echo c4-convex-bsd + exit ;; + CRAY*Y-MP:*:*:*) + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*[A-Z]90:*:*:*) + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ + -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*TS:*:*:*) + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*T3E:*:*:*) + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*SV1:*:*:*) + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + *:UNICOS/mp:*:*) + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + 5000:UNIX_System_V:4.*:*) + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} + exit ;; + sparc*:BSD/OS:*:*) + echo sparc-unknown-bsdi${UNAME_RELEASE} + exit ;; + *:BSD/OS:*:*) + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} + exit ;; + *:FreeBSD:*:*) + UNAME_PROCESSOR=`/usr/bin/uname -p` + case ${UNAME_PROCESSOR} in + amd64) + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + *) + echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + esac + exit ;; + i*:CYGWIN*:*) + echo ${UNAME_MACHINE}-pc-cygwin + exit ;; + *:MINGW*:*) + echo ${UNAME_MACHINE}-pc-mingw32 + exit ;; + i*:MSYS*:*) + echo ${UNAME_MACHINE}-pc-msys + exit ;; + i*:windows32*:*) + # uname -m includes "-pc" on this system. + echo ${UNAME_MACHINE}-mingw32 + exit ;; + i*:PW*:*) + echo ${UNAME_MACHINE}-pc-pw32 + exit ;; + *:Interix*:*) + case ${UNAME_MACHINE} in + x86) + echo i586-pc-interix${UNAME_RELEASE} + exit ;; + authenticamd | genuineintel | EM64T) + echo x86_64-unknown-interix${UNAME_RELEASE} + exit ;; + IA64) + echo ia64-unknown-interix${UNAME_RELEASE} + exit ;; + esac ;; + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) + echo i${UNAME_MACHINE}-pc-mks + exit ;; + 8664:Windows_NT:*) + echo x86_64-pc-mks + exit ;; + i*:Windows_NT*:* | Pentium*:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we + # UNAME_MACHINE based on the output of uname instead of i386? + echo i586-pc-interix + exit ;; + i*:UWIN*:*) + echo ${UNAME_MACHINE}-pc-uwin + exit ;; + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) + echo x86_64-unknown-cygwin + exit ;; + p*:CYGWIN*:*) + echo powerpcle-unknown-cygwin + exit ;; + prep*:SunOS:5.*:*) + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + *:GNU:*:*) + # the GNU system + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + exit ;; + *:GNU/*:*:*) + # other systems with GNU libc and userland + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu + exit ;; + i*86:Minix:*:*) + echo ${UNAME_MACHINE}-pc-minix + exit ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + objdump --private-headers /bin/sh | grep -q ld.so.1 + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} + exit ;; + arm*:Linux:*:*) + eval $set_cc_for_build + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_EABI__ + then + echo ${UNAME_MACHINE}-unknown-linux-gnu + else + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_PCS_VFP + then + echo ${UNAME_MACHINE}-unknown-linux-gnueabi + else + echo ${UNAME_MACHINE}-unknown-linux-gnueabihf + fi + fi + exit ;; + avr32*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + cris:Linux:*:*) + echo ${UNAME_MACHINE}-axis-linux-gnu + exit ;; + crisv32:Linux:*:*) + echo ${UNAME_MACHINE}-axis-linux-gnu + exit ;; + frv:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + hexagon:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + i*86:Linux:*:*) + LIBC=gnu + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #ifdef __dietlibc__ + LIBC=dietlibc + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` + echo "${UNAME_MACHINE}-pc-linux-${LIBC}" + exit ;; + ia64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m32r*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m68*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + mips:Linux:*:* | mips64:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef ${UNAME_MACHINE} + #undef ${UNAME_MACHINE}el + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=${UNAME_MACHINE}el + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=${UNAME_MACHINE} + #else + CPU= + #endif + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } + ;; + or32:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + padre:Linux:*:*) + echo sparc-unknown-linux-gnu + exit ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-gnu + exit ;; + parisc:Linux:*:* | hppa:Linux:*:*) + # Look for CPU level + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in + PA7*) echo hppa1.1-unknown-linux-gnu ;; + PA8*) echo hppa2.0-unknown-linux-gnu ;; + *) echo hppa-unknown-linux-gnu ;; + esac + exit ;; + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-gnu + exit ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-gnu + exit ;; + s390:Linux:*:* | s390x:Linux:*:*) + echo ${UNAME_MACHINE}-ibm-linux + exit ;; + sh64*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + sh*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + sparc:Linux:*:* | sparc64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + tile*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + vax:Linux:*:*) + echo ${UNAME_MACHINE}-dec-linux-gnu + exit ;; + x86_64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + xtensa*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + i*86:DYNIX/ptx:4*:*) + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. + # earlier versions are messed up and put the nodename in both + # sysname and nodename. + echo i386-sequent-sysv4 + exit ;; + i*86:UNIX_SV:4.2MP:2.*) + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, + # I just have to hope. -- rms. + # Use sysv4.2uw... so that sysv4* matches it. + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} + exit ;; + i*86:OS/2:*:*) + # If we were able to find `uname', then EMX Unix compatibility + # is probably installed. + echo ${UNAME_MACHINE}-pc-os2-emx + exit ;; + i*86:XTS-300:*:STOP) + echo ${UNAME_MACHINE}-unknown-stop + exit ;; + i*86:atheos:*:*) + echo ${UNAME_MACHINE}-unknown-atheos + exit ;; + i*86:syllable:*:*) + echo ${UNAME_MACHINE}-pc-syllable + exit ;; + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) + echo i386-unknown-lynxos${UNAME_RELEASE} + exit ;; + i*86:*DOS:*:*) + echo ${UNAME_MACHINE}-pc-msdosdjgpp + exit ;; + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} + else + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} + fi + exit ;; + i*86:*:5:[678]*) + # UnixWare 7.x, OpenUNIX and OpenServer 6. + case `/bin/uname -X | grep "^Machine"` in + *486*) UNAME_MACHINE=i486 ;; + *Pentium) UNAME_MACHINE=i586 ;; + *Pent*|*Celeron) UNAME_MACHINE=i686 ;; + esac + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} + exit ;; + i*86:*:3.2:*) + if test -f /usr/options/cb.name; then + UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` + echo ${UNAME_MACHINE}-pc-isc$UNAME_REL + elif /bin/uname -X 2>/dev/null >/dev/null ; then + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ + && UNAME_MACHINE=i586 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ + && UNAME_MACHINE=i686 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ + && UNAME_MACHINE=i686 + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL + else + echo ${UNAME_MACHINE}-pc-sysv32 + fi + exit ;; + pc:*:*:*) + # Left here for compatibility: + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i586. + # Note: whatever this is, it MUST be the same as what config.sub + # prints for the "djgpp" host, or else GDB configury will decide that + # this is a cross-build. + echo i586-pc-msdosdjgpp + exit ;; + Intel:Mach:3*:*) + echo i386-pc-mach3 + exit ;; + paragon:*:*:*) + echo i860-intel-osf1 + exit ;; + i860:*:4.*:*) # i860-SVR4 + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 + else # Add other i860-SVR4 vendors below as they are discovered. + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 + fi + exit ;; + mini*:CTIX:SYS*5:*) + # "miniframe" + echo m68010-convergent-sysv + exit ;; + mc68k:UNIX:SYSTEM5:3.51m) + echo m68k-convergent-sysv + exit ;; + M680?0:D-NIX:5.3:*) + echo m68k-diab-dnix + exit ;; + M68*:*:R3V[5678]*:*) + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) + OS_REL='' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4; exit; } ;; + NCR*:*:4.2:* | MPRAS*:*:4.2:*) + OS_REL='.3' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) + echo m68k-unknown-lynxos${UNAME_RELEASE} + exit ;; + mc68030:UNIX_System_V:4.*:*) + echo m68k-atari-sysv4 + exit ;; + TSUNAMI:LynxOS:2.*:*) + echo sparc-unknown-lynxos${UNAME_RELEASE} + exit ;; + rs6000:LynxOS:2.*:*) + echo rs6000-unknown-lynxos${UNAME_RELEASE} + exit ;; + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) + echo powerpc-unknown-lynxos${UNAME_RELEASE} + exit ;; + SM[BE]S:UNIX_SV:*:*) + echo mips-dde-sysv${UNAME_RELEASE} + exit ;; + RM*:ReliantUNIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + RM*:SINIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + *:SINIX-*:*:*) + if uname -p 2>/dev/null >/dev/null ; then + UNAME_MACHINE=`(uname -p) 2>/dev/null` + echo ${UNAME_MACHINE}-sni-sysv4 + else + echo ns32k-sni-sysv + fi + exit ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says <Richard.M.Bartel@ccMail.Census.GOV> + echo i586-unisys-sysv4 + exit ;; + *:UNIX_System_V:4*:FTX*) + # From Gerald Hewes <hewes@openmarket.com>. + # How about differentiating between stratus architectures? -djm + echo hppa1.1-stratus-sysv4 + exit ;; + *:*:*:FTX*) + # From seanf@swdc.stratus.com. + echo i860-stratus-sysv4 + exit ;; + i*86:VOS:*:*) + # From Paul.Green@stratus.com. + echo ${UNAME_MACHINE}-stratus-vos + exit ;; + *:VOS:*:*) + # From Paul.Green@stratus.com. + echo hppa1.1-stratus-vos + exit ;; + mc68*:A/UX:*:*) + echo m68k-apple-aux${UNAME_RELEASE} + exit ;; + news*:NEWS-OS:6*:*) + echo mips-sony-newsos6 + exit ;; + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) + if [ -d /usr/nec ]; then + echo mips-nec-sysv${UNAME_RELEASE} + else + echo mips-unknown-sysv${UNAME_RELEASE} + fi + exit ;; + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. + echo powerpc-be-beos + exit ;; + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. + echo powerpc-apple-beos + exit ;; + BePC:BeOS:*:*) # BeOS running on Intel PC compatible. + echo i586-pc-beos + exit ;; + BePC:Haiku:*:*) # Haiku running on Intel PC compatible. + echo i586-pc-haiku + exit ;; + SX-4:SUPER-UX:*:*) + echo sx4-nec-superux${UNAME_RELEASE} + exit ;; + SX-5:SUPER-UX:*:*) + echo sx5-nec-superux${UNAME_RELEASE} + exit ;; + SX-6:SUPER-UX:*:*) + echo sx6-nec-superux${UNAME_RELEASE} + exit ;; + SX-7:SUPER-UX:*:*) + echo sx7-nec-superux${UNAME_RELEASE} + exit ;; + SX-8:SUPER-UX:*:*) + echo sx8-nec-superux${UNAME_RELEASE} + exit ;; + SX-8R:SUPER-UX:*:*) + echo sx8r-nec-superux${UNAME_RELEASE} + exit ;; + Power*:Rhapsody:*:*) + echo powerpc-apple-rhapsody${UNAME_RELEASE} + exit ;; + *:Rhapsody:*:*) + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} + exit ;; + *:Darwin:*:*) + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown + case $UNAME_PROCESSOR in + i386) + eval $set_cc_for_build + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + UNAME_PROCESSOR="x86_64" + fi + fi ;; + unknown) UNAME_PROCESSOR=powerpc ;; + esac + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} + exit ;; + *:procnto*:*:* | *:QNX:[0123456789]*:*) + UNAME_PROCESSOR=`uname -p` + if test "$UNAME_PROCESSOR" = "x86"; then + UNAME_PROCESSOR=i386 + UNAME_MACHINE=pc + fi + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} + exit ;; + *:QNX:*:4*) + echo i386-pc-qnx + exit ;; + NEO-?:NONSTOP_KERNEL:*:*) + echo neo-tandem-nsk${UNAME_RELEASE} + exit ;; + NSE-?:NONSTOP_KERNEL:*:*) + echo nse-tandem-nsk${UNAME_RELEASE} + exit ;; + NSR-?:NONSTOP_KERNEL:*:*) + echo nsr-tandem-nsk${UNAME_RELEASE} + exit ;; + *:NonStop-UX:*:*) + echo mips-compaq-nonstopux + exit ;; + BS2000:POSIX*:*:*) + echo bs2000-siemens-sysv + exit ;; + DS/*:UNIX_System_V:*:*) + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} + exit ;; + *:Plan9:*:*) + # "uname -m" is not consistent, so use $cputype instead. 386 + # is converted to i386 for consistency with other x86 + # operating systems. + if test "$cputype" = "386"; then + UNAME_MACHINE=i386 + else + UNAME_MACHINE="$cputype" + fi + echo ${UNAME_MACHINE}-unknown-plan9 + exit ;; + *:TOPS-10:*:*) + echo pdp10-unknown-tops10 + exit ;; + *:TENEX:*:*) + echo pdp10-unknown-tenex + exit ;; + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) + echo pdp10-dec-tops20 + exit ;; + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) + echo pdp10-xkl-tops20 + exit ;; + *:TOPS-20:*:*) + echo pdp10-unknown-tops20 + exit ;; + *:ITS:*:*) + echo pdp10-unknown-its + exit ;; + SEI:*:*:SEIUX) + echo mips-sei-seiux${UNAME_RELEASE} + exit ;; + *:DragonFly:*:*) + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit ;; + *:*VMS:*:*) + UNAME_MACHINE=`(uname -p) 2>/dev/null` + case "${UNAME_MACHINE}" in + A*) echo alpha-dec-vms ; exit ;; + I*) echo ia64-dec-vms ; exit ;; + V*) echo vax-dec-vms ; exit ;; + esac ;; + *:XENIX:*:SysV) + echo i386-pc-xenix + exit ;; + i*86:skyos:*:*) + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' + exit ;; + i*86:rdos:*:*) + echo ${UNAME_MACHINE}-pc-rdos + exit ;; + i*86:AROS:*:*) + echo ${UNAME_MACHINE}-pc-aros + exit ;; +esac + +#echo '(No uname command or uname output not recognized.)' 1>&2 +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 + +eval $set_cc_for_build +cat >$dummy.c <<EOF +#ifdef _SEQUENT_ +# include <sys/types.h> +# include <sys/utsname.h> +#endif +main () +{ +#if defined (sony) +#if defined (MIPSEB) + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, + I don't know.... */ + printf ("mips-sony-bsd\n"); exit (0); +#else +#include <sys/param.h> + printf ("m68k-sony-newsos%s\n", +#ifdef NEWSOS4 + "4" +#else + "" +#endif + ); exit (0); +#endif +#endif + +#if defined (__arm) && defined (__acorn) && defined (__unix) + printf ("arm-acorn-riscix\n"); exit (0); +#endif + +#if defined (hp300) && !defined (hpux) + printf ("m68k-hp-bsd\n"); exit (0); +#endif + +#if defined (NeXT) +#if !defined (__ARCHITECTURE__) +#define __ARCHITECTURE__ "m68k" +#endif + int version; + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; + if (version < 4) + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); + else + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); + exit (0); +#endif + +#if defined (MULTIMAX) || defined (n16) +#if defined (UMAXV) + printf ("ns32k-encore-sysv\n"); exit (0); +#else +#if defined (CMU) + printf ("ns32k-encore-mach\n"); exit (0); +#else + printf ("ns32k-encore-bsd\n"); exit (0); +#endif +#endif +#endif + +#if defined (__386BSD__) + printf ("i386-pc-bsd\n"); exit (0); +#endif + +#if defined (sequent) +#if defined (i386) + printf ("i386-sequent-dynix\n"); exit (0); +#endif +#if defined (ns32000) + printf ("ns32k-sequent-dynix\n"); exit (0); +#endif +#endif + +#if defined (_SEQUENT_) + struct utsname un; + + uname(&un); + + if (strncmp(un.version, "V2", 2) == 0) { + printf ("i386-sequent-ptx2\n"); exit (0); + } + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ + printf ("i386-sequent-ptx1\n"); exit (0); + } + printf ("i386-sequent-ptx\n"); exit (0); + +#endif + +#if defined (vax) +# if !defined (ultrix) +# include <sys/param.h> +# if defined (BSD) +# if BSD == 43 + printf ("vax-dec-bsd4.3\n"); exit (0); +# else +# if BSD == 199006 + printf ("vax-dec-bsd4.3reno\n"); exit (0); +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# endif +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# else + printf ("vax-dec-ultrix\n"); exit (0); +# endif +#endif + +#if defined (alliant) && defined (i860) + printf ("i860-alliant-bsd\n"); exit (0); +#endif + + exit (1); +} +EOF + +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } + +# Apollos put the system type in the environment. + +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } + +# Convex versions that predate uname can use getsysinfo(1) + +if [ -x /usr/convex/getsysinfo ] +then + case `getsysinfo -f cpu_type` in + c1*) + echo c1-convex-bsd + exit ;; + c2*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + c34*) + echo c34-convex-bsd + exit ;; + c38*) + echo c38-convex-bsd + exit ;; + c4*) + echo c4-convex-bsd + exit ;; + esac +fi + +cat >&2 <<EOF +$0: unable to guess system type + +This script, last modified $timestamp, has failed to recognize +the operating system you are using. It is advised that you +download the most up to date version of the config scripts from + + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD +and + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD + +If the version you run ($0) is already up to date, please +send the following data and any information you think might be +pertinent to <config-patches@gnu.org> in order to provide the needed +information to handle your system. + +config.guess timestamp = $timestamp + +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` + +hostinfo = `(hostinfo) 2>/dev/null` +/bin/universe = `(/bin/universe) 2>/dev/null` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` +/bin/arch = `(/bin/arch) 2>/dev/null` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` + +UNAME_MACHINE = ${UNAME_MACHINE} +UNAME_RELEASE = ${UNAME_RELEASE} +UNAME_SYSTEM = ${UNAME_SYSTEM} +UNAME_VERSION = ${UNAME_VERSION} +EOF + +exit 1 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/config.sub b/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/config.sub new file mode 100644 index 0000000..d6b6b3c --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/config.sub @@ -0,0 +1,1766 @@ +#! /bin/sh +# Configuration validation subroutine script. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, +# 2011, 2012 Free Software Foundation, Inc. + +timestamp='2012-01-01' + +# This file is (in principle) common to ALL GNU software. +# The presence of a machine in this file suggests that SOME GNU software +# can handle that machine. It does not imply ALL GNU software can. +# +# This file 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. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + + +# Please send patches to <config-patches@gnu.org>. Submit a context +# diff and a properly formatted GNU ChangeLog entry. +# +# Configuration subroutine to validate and canonicalize a configuration type. +# Supply the specified configuration type as an argument. +# If it is invalid, we print an error message on stderr and exit with code 1. +# Otherwise, we print the canonical config type on stdout and succeed. + +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD + +# This file is supposed to be the same for all GNU packages +# and recognize all the CPU types, system types and aliases +# that are meaningful with *any* GNU software. +# Each package is responsible for reporting which valid configurations +# it does not support. The user should be able to distinguish +# a failure to support a valid configuration from a meaningless +# configuration. + +# The goal of this file is to map all the various variations of a given +# machine specification into a single specification in the form: +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or in some cases, the newer four-part form: +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM +# It is wrong to echo any other type of specification. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] CPU-MFR-OPSYS + $0 [OPTION] ALIAS + +Canonicalize a configuration name. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to <config-patches@gnu.org>." + +version="\ +GNU config.sub ($timestamp) + +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 +Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" + exit 1 ;; + + *local*) + # First pass through any local machine types. + echo $1 + exit ;; + + * ) + break ;; + esac +done + +case $# in + 0) echo "$me: missing argument$help" >&2 + exit 1;; + 1) ;; + *) echo "$me: too many arguments$help" >&2 + exit 1;; +esac + +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). +# Here we must recognize all the valid KERNEL-OS combinations. +maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` +case $maybe_os in + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ + linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ + knetbsd*-gnu* | netbsd*-gnu* | \ + kopensolaris*-gnu* | \ + storm-chaos* | os2-emx* | rtmk-nova*) + os=-$maybe_os + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` + ;; + *) + basic_machine=`echo $1 | sed 's/-[^-]*$//'` + if [ $basic_machine != $1 ] + then os=`echo $1 | sed 's/.*-/-/'` + else os=; fi + ;; +esac + +### Let's recognize common machines as not being operating systems so +### that things like config.sub decstation-3100 work. We also +### recognize some manufacturers as not being operating systems, so we +### can provide default operating systems below. +case $os in + -sun*os*) + # Prevent following clause from handling this invalid input. + ;; + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ + -apple | -axis | -knuth | -cray | -microblaze) + os= + basic_machine=$1 + ;; + -bluegene*) + os=-cnk + ;; + -sim | -cisco | -oki | -wec | -winbond) + os= + basic_machine=$1 + ;; + -scout) + ;; + -wrs) + os=-vxworks + basic_machine=$1 + ;; + -chorusos*) + os=-chorusos + basic_machine=$1 + ;; + -chorusrdb) + os=-chorusrdb + basic_machine=$1 + ;; + -hiux*) + os=-hiuxwe2 + ;; + -sco6) + os=-sco5v6 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco5) + os=-sco3.2v5 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco4) + os=-sco3.2v4 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2.[4-9]*) + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2v[4-9]*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco5v6*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco*) + os=-sco3.2v2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -udk*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -isc) + os=-isc2.2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -clix*) + basic_machine=clipper-intergraph + ;; + -isc*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -lynx*) + os=-lynxos + ;; + -ptx*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` + ;; + -windowsnt*) + os=`echo $os | sed -e 's/windowsnt/winnt/'` + ;; + -psos*) + os=-psos + ;; + -mint | -mint[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; +esac + +# Decode aliases for certain CPU-COMPANY combinations. +case $basic_machine in + # Recognize the basic CPU types without company name. + # Some are omitted here because they have special meanings below. + 1750a | 580 \ + | a29k \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ + | be32 | be64 \ + | bfin \ + | c4x | clipper \ + | d10v | d30v | dlx | dsp16xx \ + | epiphany \ + | fido | fr30 | frv \ + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | hexagon \ + | i370 | i860 | i960 | ia64 \ + | ip2k | iq2000 \ + | le32 | le64 \ + | lm32 \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ + | maxq | mb | microblaze | mcore | mep | metag \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64el \ + | mips64octeon | mips64octeonel \ + | mips64orion | mips64orionel \ + | mips64r5900 | mips64r5900el \ + | mips64vr | mips64vrel \ + | mips64vr4100 | mips64vr4100el \ + | mips64vr4300 | mips64vr4300el \ + | mips64vr5000 | mips64vr5000el \ + | mips64vr5900 | mips64vr5900el \ + | mipsisa32 | mipsisa32el \ + | mipsisa32r2 | mipsisa32r2el \ + | mipsisa64 | mipsisa64el \ + | mipsisa64r2 | mipsisa64r2el \ + | mipsisa64sb1 | mipsisa64sb1el \ + | mipsisa64sr71k | mipsisa64sr71kel \ + | mipstx39 | mipstx39el \ + | mn10200 | mn10300 \ + | moxie \ + | mt \ + | msp430 \ + | nds32 | nds32le | nds32be \ + | nios | nios2 \ + | ns16k | ns32k \ + | open8 \ + | or32 \ + | pdp10 | pdp11 | pj | pjl \ + | powerpc | powerpc64 | powerpc64le | powerpcle \ + | pyramid \ + | rl78 | rx \ + | score \ + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ + | sh64 | sh64le \ + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ + | spu \ + | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ + | ubicom32 \ + | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ + | we32k \ + | x86 | xc16x | xstormy16 | xtensa \ + | z8k | z80) + basic_machine=$basic_machine-unknown + ;; + c54x) + basic_machine=tic54x-unknown + ;; + c55x) + basic_machine=tic55x-unknown + ;; + c6x) + basic_machine=tic6x-unknown + ;; + m6811 | m68hc11 | m6812 | m68hc12 | picochip) + basic_machine=$basic_machine-unknown + os=-none + ;; + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) + ;; + ms1) + basic_machine=mt-unknown + ;; + + strongarm | thumb | xscale) + basic_machine=arm-unknown + ;; + + xscaleeb) + basic_machine=armeb-unknown + ;; + + xscaleel) + basic_machine=armel-unknown + ;; + + # We use `pc' rather than `unknown' + # because (1) that's what they normally are, and + # (2) the word "unknown" tends to confuse beginning users. + i*86 | x86_64) + basic_machine=$basic_machine-pc + ;; + # Object if more than one company name word. + *-*-*) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; + # Recognize the basic CPU types with company name. + 580-* \ + | a29k-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ + | avr-* | avr32-* \ + | be32-* | be64-* \ + | bfin-* | bs2000-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* \ + | clipper-* | craynv-* | cydra-* \ + | d10v-* | d30v-* | dlx-* \ + | elxsi-* \ + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ + | h8300-* | h8500-* \ + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ + | hexagon-* \ + | i*86-* | i860-* | i960-* | ia64-* \ + | ip2k-* | iq2000-* \ + | le32-* | le64-* \ + | lm32-* \ + | m32c-* | m32r-* | m32rle-* \ + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ + | mips16-* \ + | mips64-* | mips64el-* \ + | mips64octeon-* | mips64octeonel-* \ + | mips64orion-* | mips64orionel-* \ + | mips64r5900-* | mips64r5900el-* \ + | mips64vr-* | mips64vrel-* \ + | mips64vr4100-* | mips64vr4100el-* \ + | mips64vr4300-* | mips64vr4300el-* \ + | mips64vr5000-* | mips64vr5000el-* \ + | mips64vr5900-* | mips64vr5900el-* \ + | mipsisa32-* | mipsisa32el-* \ + | mipsisa32r2-* | mipsisa32r2el-* \ + | mipsisa64-* | mipsisa64el-* \ + | mipsisa64r2-* | mipsisa64r2el-* \ + | mipsisa64sb1-* | mipsisa64sb1el-* \ + | mipsisa64sr71k-* | mipsisa64sr71kel-* \ + | mipstx39-* | mipstx39el-* \ + | mmix-* \ + | mt-* \ + | msp430-* \ + | nds32-* | nds32le-* | nds32be-* \ + | nios-* | nios2-* \ + | none-* | np1-* | ns16k-* | ns32k-* \ + | open8-* \ + | orion-* \ + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ + | pyramid-* \ + | rl78-* | romp-* | rs6000-* | rx-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ + | sparclite-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ + | tahoe-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tile*-* \ + | tron-* \ + | ubicom32-* \ + | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ + | vax-* \ + | we32k-* \ + | x86-* | x86_64-* | xc16x-* | xps100-* \ + | xstormy16-* | xtensa*-* \ + | ymp-* \ + | z8k-* | z80-*) + ;; + # Recognize the basic CPU types without company name, with glob match. + xtensa*) + basic_machine=$basic_machine-unknown + ;; + # Recognize the various machine names and aliases which stand + # for a CPU type and a company and sometimes even an OS. + 386bsd) + basic_machine=i386-unknown + os=-bsd + ;; + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) + basic_machine=m68000-att + ;; + 3b*) + basic_machine=we32k-att + ;; + a29khif) + basic_machine=a29k-amd + os=-udi + ;; + abacus) + basic_machine=abacus-unknown + ;; + adobe68k) + basic_machine=m68010-adobe + os=-scout + ;; + alliant | fx80) + basic_machine=fx80-alliant + ;; + altos | altos3068) + basic_machine=m68k-altos + ;; + am29k) + basic_machine=a29k-none + os=-bsd + ;; + amd64) + basic_machine=x86_64-pc + ;; + amd64-*) + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + amdahl) + basic_machine=580-amdahl + os=-sysv + ;; + amiga | amiga-*) + basic_machine=m68k-unknown + ;; + amigaos | amigados) + basic_machine=m68k-unknown + os=-amigaos + ;; + amigaunix | amix) + basic_machine=m68k-unknown + os=-sysv4 + ;; + apollo68) + basic_machine=m68k-apollo + os=-sysv + ;; + apollo68bsd) + basic_machine=m68k-apollo + os=-bsd + ;; + aros) + basic_machine=i386-pc + os=-aros + ;; + aux) + basic_machine=m68k-apple + os=-aux + ;; + balance) + basic_machine=ns32k-sequent + os=-dynix + ;; + blackfin) + basic_machine=bfin-unknown + os=-linux + ;; + blackfin-*) + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + bluegene*) + basic_machine=powerpc-ibm + os=-cnk + ;; + c54x-*) + basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c55x-*) + basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c6x-*) + basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c90) + basic_machine=c90-cray + os=-unicos + ;; + cegcc) + basic_machine=arm-unknown + os=-cegcc + ;; + convex-c1) + basic_machine=c1-convex + os=-bsd + ;; + convex-c2) + basic_machine=c2-convex + os=-bsd + ;; + convex-c32) + basic_machine=c32-convex + os=-bsd + ;; + convex-c34) + basic_machine=c34-convex + os=-bsd + ;; + convex-c38) + basic_machine=c38-convex + os=-bsd + ;; + cray | j90) + basic_machine=j90-cray + os=-unicos + ;; + craynv) + basic_machine=craynv-cray + os=-unicosmp + ;; + cr16 | cr16-*) + basic_machine=cr16-unknown + os=-elf + ;; + crds | unos) + basic_machine=m68k-crds + ;; + crisv32 | crisv32-* | etraxfs*) + basic_machine=crisv32-axis + ;; + cris | cris-* | etrax*) + basic_machine=cris-axis + ;; + crx) + basic_machine=crx-unknown + os=-elf + ;; + da30 | da30-*) + basic_machine=m68k-da30 + ;; + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) + basic_machine=mips-dec + ;; + decsystem10* | dec10*) + basic_machine=pdp10-dec + os=-tops10 + ;; + decsystem20* | dec20*) + basic_machine=pdp10-dec + os=-tops20 + ;; + delta | 3300 | motorola-3300 | motorola-delta \ + | 3300-motorola | delta-motorola) + basic_machine=m68k-motorola + ;; + delta88) + basic_machine=m88k-motorola + os=-sysv3 + ;; + dicos) + basic_machine=i686-pc + os=-dicos + ;; + djgpp) + basic_machine=i586-pc + os=-msdosdjgpp + ;; + dpx20 | dpx20-*) + basic_machine=rs6000-bull + os=-bosx + ;; + dpx2* | dpx2*-bull) + basic_machine=m68k-bull + os=-sysv3 + ;; + ebmon29k) + basic_machine=a29k-amd + os=-ebmon + ;; + elxsi) + basic_machine=elxsi-elxsi + os=-bsd + ;; + encore | umax | mmax) + basic_machine=ns32k-encore + ;; + es1800 | OSE68k | ose68k | ose | OSE) + basic_machine=m68k-ericsson + os=-ose + ;; + fx2800) + basic_machine=i860-alliant + ;; + genix) + basic_machine=ns32k-ns + ;; + gmicro) + basic_machine=tron-gmicro + os=-sysv + ;; + go32) + basic_machine=i386-pc + os=-go32 + ;; + h3050r* | hiux*) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + h8300hms) + basic_machine=h8300-hitachi + os=-hms + ;; + h8300xray) + basic_machine=h8300-hitachi + os=-xray + ;; + h8500hms) + basic_machine=h8500-hitachi + os=-hms + ;; + harris) + basic_machine=m88k-harris + os=-sysv3 + ;; + hp300-*) + basic_machine=m68k-hp + ;; + hp300bsd) + basic_machine=m68k-hp + os=-bsd + ;; + hp300hpux) + basic_machine=m68k-hp + os=-hpux + ;; + hp3k9[0-9][0-9] | hp9[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k2[0-9][0-9] | hp9k31[0-9]) + basic_machine=m68000-hp + ;; + hp9k3[2-9][0-9]) + basic_machine=m68k-hp + ;; + hp9k6[0-9][0-9] | hp6[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k7[0-79][0-9] | hp7[0-79][0-9]) + basic_machine=hppa1.1-hp + ;; + hp9k78[0-9] | hp78[0-9]) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][13679] | hp8[0-9][13679]) + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][0-9] | hp8[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hppa-next) + os=-nextstep3 + ;; + hppaosf) + basic_machine=hppa1.1-hp + os=-osf + ;; + hppro) + basic_machine=hppa1.1-hp + os=-proelf + ;; + i370-ibm* | ibm*) + basic_machine=i370-ibm + ;; + i*86v32) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv32 + ;; + i*86v4*) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv4 + ;; + i*86v) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv + ;; + i*86sol2) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-solaris2 + ;; + i386mach) + basic_machine=i386-mach + os=-mach + ;; + i386-vsta | vsta) + basic_machine=i386-unknown + os=-vsta + ;; + iris | iris4d) + basic_machine=mips-sgi + case $os in + -irix*) + ;; + *) + os=-irix4 + ;; + esac + ;; + isi68 | isi) + basic_machine=m68k-isi + os=-sysv + ;; + m68knommu) + basic_machine=m68k-unknown + os=-linux + ;; + m68knommu-*) + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + m88k-omron*) + basic_machine=m88k-omron + ;; + magnum | m3230) + basic_machine=mips-mips + os=-sysv + ;; + merlin) + basic_machine=ns32k-utek + os=-sysv + ;; + microblaze) + basic_machine=microblaze-xilinx + ;; + mingw32) + basic_machine=i386-pc + os=-mingw32 + ;; + mingw32ce) + basic_machine=arm-unknown + os=-mingw32ce + ;; + miniframe) + basic_machine=m68000-convergent + ;; + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; + mips3*-*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` + ;; + mips3*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown + ;; + monitor) + basic_machine=m68k-rom68k + os=-coff + ;; + morphos) + basic_machine=powerpc-unknown + os=-morphos + ;; + msdos) + basic_machine=i386-pc + os=-msdos + ;; + ms1-*) + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` + ;; + msys) + basic_machine=i386-pc + os=-msys + ;; + mvs) + basic_machine=i370-ibm + os=-mvs + ;; + nacl) + basic_machine=le32-unknown + os=-nacl + ;; + ncr3000) + basic_machine=i486-ncr + os=-sysv4 + ;; + netbsd386) + basic_machine=i386-unknown + os=-netbsd + ;; + netwinder) + basic_machine=armv4l-rebel + os=-linux + ;; + news | news700 | news800 | news900) + basic_machine=m68k-sony + os=-newsos + ;; + news1000) + basic_machine=m68030-sony + os=-newsos + ;; + news-3600 | risc-news) + basic_machine=mips-sony + os=-newsos + ;; + necv70) + basic_machine=v70-nec + os=-sysv + ;; + next | m*-next ) + basic_machine=m68k-next + case $os in + -nextstep* ) + ;; + -ns2*) + os=-nextstep2 + ;; + *) + os=-nextstep3 + ;; + esac + ;; + nh3000) + basic_machine=m68k-harris + os=-cxux + ;; + nh[45]000) + basic_machine=m88k-harris + os=-cxux + ;; + nindy960) + basic_machine=i960-intel + os=-nindy + ;; + mon960) + basic_machine=i960-intel + os=-mon960 + ;; + nonstopux) + basic_machine=mips-compaq + os=-nonstopux + ;; + np1) + basic_machine=np1-gould + ;; + neo-tandem) + basic_machine=neo-tandem + ;; + nse-tandem) + basic_machine=nse-tandem + ;; + nsr-tandem) + basic_machine=nsr-tandem + ;; + op50n-* | op60c-*) + basic_machine=hppa1.1-oki + os=-proelf + ;; + openrisc | openrisc-*) + basic_machine=or32-unknown + ;; + os400) + basic_machine=powerpc-ibm + os=-os400 + ;; + OSE68000 | ose68000) + basic_machine=m68000-ericsson + os=-ose + ;; + os68k) + basic_machine=m68k-none + os=-os68k + ;; + pa-hitachi) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + paragon) + basic_machine=i860-intel + os=-osf + ;; + parisc) + basic_machine=hppa-unknown + os=-linux + ;; + parisc-*) + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + pbd) + basic_machine=sparc-tti + ;; + pbb) + basic_machine=m68k-tti + ;; + pc532 | pc532-*) + basic_machine=ns32k-pc532 + ;; + pc98) + basic_machine=i386-pc + ;; + pc98-*) + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium | p5 | k5 | k6 | nexgen | viac3) + basic_machine=i586-pc + ;; + pentiumpro | p6 | 6x86 | athlon | athlon_*) + basic_machine=i686-pc + ;; + pentiumii | pentium2 | pentiumiii | pentium3) + basic_machine=i686-pc + ;; + pentium4) + basic_machine=i786-pc + ;; + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) + basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumpro-* | p6-* | 6x86-* | athlon-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium4-*) + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pn) + basic_machine=pn-gould + ;; + power) basic_machine=power-ibm + ;; + ppc | ppcbe) basic_machine=powerpc-unknown + ;; + ppc-* | ppcbe-*) + basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppcle | powerpclittle | ppc-le | powerpc-little) + basic_machine=powerpcle-unknown + ;; + ppcle-* | powerpclittle-*) + basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64) basic_machine=powerpc64-unknown + ;; + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64le | powerpc64little | ppc64-le | powerpc64-little) + basic_machine=powerpc64le-unknown + ;; + ppc64le-* | powerpc64little-*) + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ps2) + basic_machine=i386-ibm + ;; + pw32) + basic_machine=i586-unknown + os=-pw32 + ;; + rdos) + basic_machine=i386-pc + os=-rdos + ;; + rom68k) + basic_machine=m68k-rom68k + os=-coff + ;; + rm[46]00) + basic_machine=mips-siemens + ;; + rtpc | rtpc-*) + basic_machine=romp-ibm + ;; + s390 | s390-*) + basic_machine=s390-ibm + ;; + s390x | s390x-*) + basic_machine=s390x-ibm + ;; + sa29200) + basic_machine=a29k-amd + os=-udi + ;; + sb1) + basic_machine=mipsisa64sb1-unknown + ;; + sb1el) + basic_machine=mipsisa64sb1el-unknown + ;; + sde) + basic_machine=mipsisa32-sde + os=-elf + ;; + sei) + basic_machine=mips-sei + os=-seiux + ;; + sequent) + basic_machine=i386-sequent + ;; + sh) + basic_machine=sh-hitachi + os=-hms + ;; + sh5el) + basic_machine=sh5le-unknown + ;; + sh64) + basic_machine=sh64-unknown + ;; + sparclite-wrs | simso-wrs) + basic_machine=sparclite-wrs + os=-vxworks + ;; + sps7) + basic_machine=m68k-bull + os=-sysv2 + ;; + spur) + basic_machine=spur-unknown + ;; + st2000) + basic_machine=m68k-tandem + ;; + stratus) + basic_machine=i860-stratus + os=-sysv4 + ;; + strongarm-* | thumb-*) + basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + sun2) + basic_machine=m68000-sun + ;; + sun2os3) + basic_machine=m68000-sun + os=-sunos3 + ;; + sun2os4) + basic_machine=m68000-sun + os=-sunos4 + ;; + sun3os3) + basic_machine=m68k-sun + os=-sunos3 + ;; + sun3os4) + basic_machine=m68k-sun + os=-sunos4 + ;; + sun4os3) + basic_machine=sparc-sun + os=-sunos3 + ;; + sun4os4) + basic_machine=sparc-sun + os=-sunos4 + ;; + sun4sol2) + basic_machine=sparc-sun + os=-solaris2 + ;; + sun3 | sun3-*) + basic_machine=m68k-sun + ;; + sun4) + basic_machine=sparc-sun + ;; + sun386 | sun386i | roadrunner) + basic_machine=i386-sun + ;; + sv1) + basic_machine=sv1-cray + os=-unicos + ;; + symmetry) + basic_machine=i386-sequent + os=-dynix + ;; + t3e) + basic_machine=alphaev5-cray + os=-unicos + ;; + t90) + basic_machine=t90-cray + os=-unicos + ;; + tile*) + basic_machine=$basic_machine-unknown + os=-linux-gnu + ;; + tx39) + basic_machine=mipstx39-unknown + ;; + tx39el) + basic_machine=mipstx39el-unknown + ;; + toad1) + basic_machine=pdp10-xkl + os=-tops20 + ;; + tower | tower-32) + basic_machine=m68k-ncr + ;; + tpf) + basic_machine=s390x-ibm + os=-tpf + ;; + udi29k) + basic_machine=a29k-amd + os=-udi + ;; + ultra3) + basic_machine=a29k-nyu + os=-sym1 + ;; + v810 | necv810) + basic_machine=v810-nec + os=-none + ;; + vaxv) + basic_machine=vax-dec + os=-sysv + ;; + vms) + basic_machine=vax-dec + os=-vms + ;; + vpp*|vx|vx-*) + basic_machine=f301-fujitsu + ;; + vxworks960) + basic_machine=i960-wrs + os=-vxworks + ;; + vxworks68) + basic_machine=m68k-wrs + os=-vxworks + ;; + vxworks29k) + basic_machine=a29k-wrs + os=-vxworks + ;; + w65*) + basic_machine=w65-wdc + os=-none + ;; + w89k-*) + basic_machine=hppa1.1-winbond + os=-proelf + ;; + xbox) + basic_machine=i686-pc + os=-mingw32 + ;; + xps | xps100) + basic_machine=xps100-honeywell + ;; + xscale-* | xscalee[bl]-*) + basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` + ;; + ymp) + basic_machine=ymp-cray + os=-unicos + ;; + z8k-*-coff) + basic_machine=z8k-unknown + os=-sim + ;; + z80-*-coff) + basic_machine=z80-unknown + os=-sim + ;; + none) + basic_machine=none-none + os=-none + ;; + +# Here we handle the default manufacturer of certain CPU types. It is in +# some cases the only manufacturer, in others, it is the most popular. + w89k) + basic_machine=hppa1.1-winbond + ;; + op50n) + basic_machine=hppa1.1-oki + ;; + op60c) + basic_machine=hppa1.1-oki + ;; + romp) + basic_machine=romp-ibm + ;; + mmix) + basic_machine=mmix-knuth + ;; + rs6000) + basic_machine=rs6000-ibm + ;; + vax) + basic_machine=vax-dec + ;; + pdp10) + # there are many clones, so DEC is not a safe bet + basic_machine=pdp10-unknown + ;; + pdp11) + basic_machine=pdp11-dec + ;; + we32k) + basic_machine=we32k-att + ;; + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) + basic_machine=sh-unknown + ;; + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) + basic_machine=sparc-sun + ;; + cydra) + basic_machine=cydra-cydrome + ;; + orion) + basic_machine=orion-highlevel + ;; + orion105) + basic_machine=clipper-highlevel + ;; + mac | mpw | mac-mpw) + basic_machine=m68k-apple + ;; + pmac | pmac-mpw) + basic_machine=powerpc-apple + ;; + *-unknown) + # Make sure to match an already-canonicalized machine name. + ;; + *) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; +esac + +# Here we canonicalize certain aliases for manufacturers. +case $basic_machine in + *-digital*) + basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` + ;; + *-commodore*) + basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` + ;; + *) + ;; +esac + +# Decode manufacturer-specific aliases for certain operating systems. + +if [ x"$os" != x"" ] +then +case $os in + # First match some system type aliases + # that might get confused with valid system types. + # -solaris* is a basic system type, with this one exception. + -auroraux) + os=-auroraux + ;; + -solaris1 | -solaris1.*) + os=`echo $os | sed -e 's|solaris1|sunos4|'` + ;; + -solaris) + os=-solaris2 + ;; + -svr4*) + os=-sysv4 + ;; + -unixware*) + os=-sysv4.2uw + ;; + -gnu/linux*) + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` + ;; + # First accept the basic system types. + # The portable systems comes first. + # Each alternative MUST END IN A *, to match a version number. + # -sysv* is not here because it comes later, after sysvr4. + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ + | -sym* | -kopensolaris* \ + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ + | -aos* | -aros* \ + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ + | -openbsd* | -solidbsd* \ + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ + | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* | -cegcc* \ + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -mingw32* | -linux-gnu* | -linux-android* \ + | -linux-newlib* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) + # Remember, each alternative MUST END IN *, to match a version number. + ;; + -qnx*) + case $basic_machine in + x86-* | i*86-*) + ;; + *) + os=-nto$os + ;; + esac + ;; + -nto-qnx*) + ;; + -nto*) + os=`echo $os | sed -e 's|nto|nto-qnx|'` + ;; + -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) + ;; + -mac*) + os=`echo $os | sed -e 's|mac|macos|'` + ;; + -linux-dietlibc) + os=-linux-dietlibc + ;; + -linux*) + os=`echo $os | sed -e 's|linux|linux-gnu|'` + ;; + -sunos5*) + os=`echo $os | sed -e 's|sunos5|solaris2|'` + ;; + -sunos6*) + os=`echo $os | sed -e 's|sunos6|solaris3|'` + ;; + -opened*) + os=-openedition + ;; + -os400*) + os=-os400 + ;; + -wince*) + os=-wince + ;; + -osfrose*) + os=-osfrose + ;; + -osf*) + os=-osf + ;; + -utek*) + os=-bsd + ;; + -dynix*) + os=-bsd + ;; + -acis*) + os=-aos + ;; + -atheos*) + os=-atheos + ;; + -syllable*) + os=-syllable + ;; + -386bsd) + os=-bsd + ;; + -ctix* | -uts*) + os=-sysv + ;; + -nova*) + os=-rtmk-nova + ;; + -ns2 ) + os=-nextstep2 + ;; + -nsk*) + os=-nsk + ;; + # Preserve the version number of sinix5. + -sinix5.*) + os=`echo $os | sed -e 's|sinix|sysv|'` + ;; + -sinix*) + os=-sysv4 + ;; + -tpf*) + os=-tpf + ;; + -triton*) + os=-sysv3 + ;; + -oss*) + os=-sysv3 + ;; + -svr4) + os=-sysv4 + ;; + -svr3) + os=-sysv3 + ;; + -sysvr4) + os=-sysv4 + ;; + # This must come after -sysvr4. + -sysv*) + ;; + -ose*) + os=-ose + ;; + -es1800*) + os=-ose + ;; + -xenix) + os=-xenix + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + os=-mint + ;; + -aros*) + os=-aros + ;; + -kaos*) + os=-kaos + ;; + -zvmoe) + os=-zvmoe + ;; + -dicos*) + os=-dicos + ;; + -nacl*) + ;; + -none) + ;; + *) + # Get rid of the `-' at the beginning of $os. + os=`echo $os | sed 's/[^-]*-//'` + echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 + exit 1 + ;; +esac +else + +# Here we handle the default operating systems that come with various machines. +# The value should be what the vendor currently ships out the door with their +# machine or put another way, the most popular os provided with the machine. + +# Note that if you're going to try to match "-MANUFACTURER" here (say, +# "-sun"), then you have to tell the case statement up towards the top +# that MANUFACTURER isn't an operating system. Otherwise, code above +# will signal an error saying that MANUFACTURER isn't an operating +# system, and we'll never get to this point. + +case $basic_machine in + score-*) + os=-elf + ;; + spu-*) + os=-elf + ;; + *-acorn) + os=-riscix1.2 + ;; + arm*-rebel) + os=-linux + ;; + arm*-semi) + os=-aout + ;; + c4x-* | tic4x-*) + os=-coff + ;; + tic54x-*) + os=-coff + ;; + tic55x-*) + os=-coff + ;; + tic6x-*) + os=-coff + ;; + # This must come before the *-dec entry. + pdp10-*) + os=-tops20 + ;; + pdp11-*) + os=-none + ;; + *-dec | vax-*) + os=-ultrix4.2 + ;; + m68*-apollo) + os=-domain + ;; + i386-sun) + os=-sunos4.0.2 + ;; + m68000-sun) + os=-sunos3 + ;; + m68*-cisco) + os=-aout + ;; + mep-*) + os=-elf + ;; + mips*-cisco) + os=-elf + ;; + mips*-*) + os=-elf + ;; + or32-*) + os=-coff + ;; + *-tti) # must be before sparc entry or we get the wrong os. + os=-sysv3 + ;; + sparc-* | *-sun) + os=-sunos4.1.1 + ;; + *-be) + os=-beos + ;; + *-haiku) + os=-haiku + ;; + *-ibm) + os=-aix + ;; + *-knuth) + os=-mmixware + ;; + *-wec) + os=-proelf + ;; + *-winbond) + os=-proelf + ;; + *-oki) + os=-proelf + ;; + *-hp) + os=-hpux + ;; + *-hitachi) + os=-hiux + ;; + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) + os=-sysv + ;; + *-cbm) + os=-amigaos + ;; + *-dg) + os=-dgux + ;; + *-dolphin) + os=-sysv3 + ;; + m68k-ccur) + os=-rtu + ;; + m88k-omron*) + os=-luna + ;; + *-next ) + os=-nextstep + ;; + *-sequent) + os=-ptx + ;; + *-crds) + os=-unos + ;; + *-ns) + os=-genix + ;; + i370-*) + os=-mvs + ;; + *-next) + os=-nextstep3 + ;; + *-gould) + os=-sysv + ;; + *-highlevel) + os=-bsd + ;; + *-encore) + os=-bsd + ;; + *-sgi) + os=-irix + ;; + *-siemens) + os=-sysv4 + ;; + *-masscomp) + os=-rtu + ;; + f30[01]-fujitsu | f700-fujitsu) + os=-uxpv + ;; + *-rom68k) + os=-coff + ;; + *-*bug) + os=-coff + ;; + *-apple) + os=-macos + ;; + *-atari*) + os=-mint + ;; + *) + os=-none + ;; +esac +fi + +# Here we handle the case where we know the os, and the CPU type, but not the +# manufacturer. We pick the logical manufacturer. +vendor=unknown +case $basic_machine in + *-unknown) + case $os in + -riscix*) + vendor=acorn + ;; + -sunos*) + vendor=sun + ;; + -cnk*|-aix*) + vendor=ibm + ;; + -beos*) + vendor=be + ;; + -hpux*) + vendor=hp + ;; + -mpeix*) + vendor=hp + ;; + -hiux*) + vendor=hitachi + ;; + -unos*) + vendor=crds + ;; + -dgux*) + vendor=dg + ;; + -luna*) + vendor=omron + ;; + -genix*) + vendor=ns + ;; + -mvs* | -opened*) + vendor=ibm + ;; + -os400*) + vendor=ibm + ;; + -ptx*) + vendor=sequent + ;; + -tpf*) + vendor=ibm + ;; + -vxsim* | -vxworks* | -windiss*) + vendor=wrs + ;; + -aux*) + vendor=apple + ;; + -hms*) + vendor=hitachi + ;; + -mpw* | -macos*) + vendor=apple + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + vendor=atari + ;; + -vos*) + vendor=stratus + ;; + esac + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` + ;; +esac + +echo $basic_machine$os +exit + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/depcomp b/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/depcomp new file mode 100644 index 0000000..bd0ac08 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/depcomp @@ -0,0 +1,688 @@ +#! /bin/sh +# depcomp - compile a program generating dependencies as side-effects + +scriptversion=2011-12-04.11; # UTC + +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010, +# 2011 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 2, 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/>. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>. + +case $1 in + '') + echo "$0: No command. Try \`$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: depcomp [--help] [--version] PROGRAM [ARGS] + +Run PROGRAMS ARGS to compile a file, generating dependencies +as side-effects. + +Environment variables: + depmode Dependency tracking mode. + source Source file read by `PROGRAMS ARGS'. + object Object file output by `PROGRAMS ARGS'. + DEPDIR directory where to store dependencies. + depfile Dependency file to output. + tmpdepfile Temporary file to use when outputting dependencies. + libtool Whether libtool is used (yes/no). + +Report bugs to <bug-automake@gnu.org>. +EOF + exit $? + ;; + -v | --v*) + echo "depcomp $scriptversion" + exit $? + ;; +esac + +if test -z "$depmode" || test -z "$source" || test -z "$object"; then + echo "depcomp: Variables source, object and depmode must be set" 1>&2 + exit 1 +fi + +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. +depfile=${depfile-`echo "$object" | + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} + +rm -f "$tmpdepfile" + +# Some modes work just like other modes, but use different flags. We +# parameterize here, but still list the modes in the big case below, +# to make depend.m4 easier to write. Note that we *cannot* use a case +# here, because this file can only contain one case statement. +if test "$depmode" = hp; then + # HP compiler uses -M and no extra arg. + gccflag=-M + depmode=gcc +fi + +if test "$depmode" = dashXmstdout; then + # This is just like dashmstdout with a different argument. + dashmflag=-xM + depmode=dashmstdout +fi + +cygpath_u="cygpath -u -f -" +if test "$depmode" = msvcmsys; then + # This is just like msvisualcpp but w/o cygpath translation. + # Just convert the backslash-escaped backslashes to single forward + # slashes to satisfy depend.m4 + cygpath_u='sed s,\\\\,/,g' + depmode=msvisualcpp +fi + +if test "$depmode" = msvc7msys; then + # This is just like msvc7 but w/o cygpath translation. + # Just convert the backslash-escaped backslashes to single forward + # slashes to satisfy depend.m4 + cygpath_u='sed s,\\\\,/,g' + depmode=msvc7 +fi + +case "$depmode" in +gcc3) +## gcc 3 implements dependency tracking that does exactly what +## we want. Yay! Note: for some reason libtool 1.4 doesn't like +## it if -MD -MP comes after the -MF stuff. Hmm. +## Unfortunately, FreeBSD c89 acceptance of flags depends upon +## the command line argument order; so add the flags where they +## appear in depend2.am. Note that the slowdown incurred here +## affects only configure: in makefiles, %FASTDEP% shortcuts this. + for arg + do + case $arg in + -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; + *) set fnord "$@" "$arg" ;; + esac + shift # fnord + shift # $arg + done + "$@" + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + mv "$tmpdepfile" "$depfile" + ;; + +gcc) +## There are various ways to get dependency output from gcc. Here's +## why we pick this rather obscure method: +## - Don't want to use -MD because we'd like the dependencies to end +## up in a subdir. Having to rename by hand is ugly. +## (We might end up doing this anyway to support other compilers.) +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like +## -MM, not -M (despite what the docs say). +## - Using -M directly means running the compiler twice (even worse +## than renaming). + if test -z "$gccflag"; then + gccflag=-MD, + fi + "$@" -Wp,"$gccflag$tmpdepfile" + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz +## The second -e expression handles DOS-style file names with drive letters. + sed -e 's/^[^:]*: / /' \ + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" +## This next piece of magic avoids the `deleted header file' problem. +## The problem is that when a header file which appears in a .P file +## is deleted, the dependency causes make to die (because there is +## typically no way to rebuild the header). We avoid this by adding +## dummy dependencies for each header file. Too bad gcc doesn't do +## this for us directly. + tr ' ' ' +' < "$tmpdepfile" | +## Some versions of gcc put a space before the `:'. On the theory +## that the space means something, we add a space to the output as +## well. hp depmode also adds that space, but also prefixes the VPATH +## to the object. Take care to not repeat it in the output. +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +sgi) + if test "$libtool" = yes; then + "$@" "-Wp,-MDupdate,$tmpdepfile" + else + "$@" -MDupdate "$tmpdepfile" + fi + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files + echo "$object : \\" > "$depfile" + + # Clip off the initial element (the dependent). Don't try to be + # clever and replace this with sed code, as IRIX sed won't handle + # lines with more than a fixed number of characters (4096 in + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; + # the IRIX cc adds comments like `#:fec' to the end of the + # dependency line. + tr ' ' ' +' < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ + tr ' +' ' ' >> "$depfile" + echo >> "$depfile" + + # The second pass generates a dummy entry for each header file. + tr ' ' ' +' < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ + >> "$depfile" + else + # The sourcefile does not contain any dependencies, so just + # store a dummy comment line, to avoid errors with the Makefile + # "include basename.Plo" scheme. + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +aix) + # The C for AIX Compiler uses -M and outputs the dependencies + # in a .u file. In older versions, this file always lives in the + # current directory. Also, the AIX compiler puts `$object:' at the + # start of each line; $object doesn't have directory information. + # Version 6 uses the directory in both cases. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.u + tmpdepfile2=$base.u + tmpdepfile3=$dir.libs/$base.u + "$@" -Wc,-M + else + tmpdepfile1=$dir$base.u + tmpdepfile2=$dir$base.u + tmpdepfile3=$dir$base.u + "$@" -M + fi + stat=$? + + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + # Each line is of the form `foo.o: dependent.h'. + # Do two passes, one to just change these to + # `$object: dependent.h' and one to simply `dependent.h:'. + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" + # That's a tab and a space in the []. + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" + else + # The sourcefile does not contain any dependencies, so just + # store a dummy comment line, to avoid errors with the Makefile + # "include basename.Plo" scheme. + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +icc) + # Intel's C compiler understands `-MD -MF file'. However on + # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c + # ICC 7.0 will fill foo.d with something like + # foo.o: sub/foo.c + # foo.o: sub/foo.h + # which is wrong. We want: + # sub/foo.o: sub/foo.c + # sub/foo.o: sub/foo.h + # sub/foo.c: + # sub/foo.h: + # ICC 7.1 will output + # foo.o: sub/foo.c sub/foo.h + # and will wrap long lines using \ : + # foo.o: sub/foo.c ... \ + # sub/foo.h ... \ + # ... + + "$@" -MD -MF "$tmpdepfile" + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + # Each line is of the form `foo.o: dependent.h', + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. + # Do two passes, one to just change these to + # `$object: dependent.h' and one to simply `dependent.h:'. + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process this invocation + # correctly. Breaking it into two sed invocations is a workaround. + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | + sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp2) + # The "hp" stanza above does not work with aCC (C++) and HP's ia64 + # compilers, which have integrated preprocessors. The correct option + # to use with these is +Maked; it writes dependencies to a file named + # 'foo.d', which lands next to the object file, wherever that + # happens to be. + # Much of this is similar to the tru64 case; see comments there. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir.libs/$base.d + "$@" -Wc,+Maked + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + "$@" +Maked + fi + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile1" "$tmpdepfile2" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" + # Add `dependent.h:' lines. + sed -ne '2,${ + s/^ *// + s/ \\*$// + s/$/:/ + p + }' "$tmpdepfile" >> "$depfile" + else + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" "$tmpdepfile2" + ;; + +tru64) + # The Tru64 compiler uses -MD to generate dependencies as a side + # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put + # dependencies in `foo.d' instead, so we check for that too. + # Subdirectories are respected. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + + if test "$libtool" = yes; then + # With Tru64 cc, shared objects can also be used to make a + # static library. This mechanism is used in libtool 1.4 series to + # handle both shared and static libraries in a single compilation. + # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. + # + # With libtool 1.5 this exception was removed, and libtool now + # generates 2 separate objects for the 2 libraries. These two + # compilations output dependencies in $dir.libs/$base.o.d and + # in $dir$base.o.d. We have to check for both files, because + # one of the two compilations can be disabled. We should prefer + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is + # automatically cleaned when .libs/ is deleted, while ignoring + # the former would cause a distcleancheck panic. + tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 + tmpdepfile2=$dir$base.o.d # libtool 1.5 + tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 + tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 + "$@" -Wc,-MD + else + tmpdepfile1=$dir$base.o.d + tmpdepfile2=$dir$base.d + tmpdepfile3=$dir$base.d + tmpdepfile4=$dir$base.d + "$@" -MD + fi + + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" + # That's a tab and a space in the []. + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" + else + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +msvc7) + if test "$libtool" = yes; then + showIncludes=-Wc,-showIncludes + else + showIncludes=-showIncludes + fi + "$@" $showIncludes > "$tmpdepfile" + stat=$? + grep -v '^Note: including file: ' "$tmpdepfile" + if test "$stat" = 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + # The first sed program below extracts the file names and escapes + # backslashes for cygpath. The second sed program outputs the file + # name when reading, but also accumulates all include files in the + # hold buffer in order to output them again at the end. This only + # works with sed implementations that can handle large buffers. + sed < "$tmpdepfile" -n ' +/^Note: including file: *\(.*\)/ { + s//\1/ + s/\\/\\\\/g + p +}' | $cygpath_u | sort -u | sed -n ' +s/ /\\ /g +s/\(.*\)/ \1 \\/p +s/.\(.*\) \\/\1:/ +H +$ { + s/.*/ / + G + p +}' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvc7msys) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +#nosideeffect) + # This comment above is used by automake to tell side-effect + # dependency tracking mechanisms from slower ones. + +dashmstdout) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout, regardless of -o. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + # Remove `-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + test -z "$dashmflag" && dashmflag=-M + # Require at least two characters before searching for `:' + # in the target name. This is to cope with DOS-style filenames: + # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. + "$@" $dashmflag | + sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" + rm -f "$depfile" + cat < "$tmpdepfile" > "$depfile" + tr ' ' ' +' < "$tmpdepfile" | \ +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +dashXmstdout) + # This case only exists to satisfy depend.m4. It is never actually + # run, as this mode is specially recognized in the preamble. + exit 1 + ;; + +makedepend) + "$@" || exit $? + # Remove any Libtool call + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + # X makedepend + shift + cleared=no eat=no + for arg + do + case $cleared in + no) + set ""; shift + cleared=yes ;; + esac + if test $eat = yes; then + eat=no + continue + fi + case "$arg" in + -D*|-I*) + set fnord "$@" "$arg"; shift ;; + # Strip any option that makedepend may not understand. Remove + # the object too, otherwise makedepend will parse it as a source file. + -arch) + eat=yes ;; + -*|$object) + ;; + *) + set fnord "$@" "$arg"; shift ;; + esac + done + obj_suffix=`echo "$object" | sed 's/^.*\././'` + touch "$tmpdepfile" + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" + rm -f "$depfile" + # makedepend may prepend the VPATH from the source file name to the object. + # No need to regex-escape $object, excess matching of '.' is harmless. + sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" + sed '1,2d' "$tmpdepfile" | tr ' ' ' +' | \ +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" "$tmpdepfile".bak + ;; + +cpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + # Remove `-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + "$@" -E | + sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ + -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | + sed '$ s: \\$::' > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + cat < "$tmpdepfile" >> "$depfile" + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvisualcpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + IFS=" " + for arg + do + case "$arg" in + -o) + shift + ;; + $object) + shift + ;; + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") + set fnord "$@" + shift + shift + ;; + *) + set fnord "$@" "$arg" + shift + shift + ;; + esac + done + "$@" -E 2>/dev/null | + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" + echo " " >> "$depfile" + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvcmsys) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +none) + exec "$@" + ;; + +*) + echo "Unknown depmode $depmode" 1>&2 + exit 1 + ;; +esac + +exit 0 + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/gitlog-to-changelog b/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/gitlog-to-changelog new file mode 100644 index 0000000..4559704 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/gitlog-to-changelog @@ -0,0 +1,191 @@ +eval '(exit $?0)' && eval 'exec perl -wS "$0" ${1+"$@"}' + & eval 'exec perl -wS "$0" $argv:q' + if 0; +# Convert git log output to ChangeLog format. + +my $VERSION = '2009-10-30 13:46'; # UTC +# The definition above must lie within the first 8 lines in order +# for the Emacs time-stamp write hook (at end) to update it. +# If you change this file with Emacs, please let the write hook +# do its job. Otherwise, update this string manually. + +# Copyright (C) 2008-2011 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 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/>. + +# Written by Jim Meyering + +use strict; +use warnings; +use Getopt::Long; +use POSIX qw(strftime); + +(my $ME = $0) =~ s|.*/||; + +# use File::Coda; # http://meyering.net/code/Coda/ +END { + defined fileno STDOUT or return; + close STDOUT and return; + warn "$ME: failed to close standard output: $!\n"; + $? ||= 1; +} + +sub usage ($) +{ + my ($exit_code) = @_; + my $STREAM = ($exit_code == 0 ? *STDOUT : *STDERR); + if ($exit_code != 0) + { + print $STREAM "Try `$ME --help' for more information.\n"; + } + else + { + print $STREAM <<EOF; +Usage: $ME [OPTIONS] [ARGS] + +Convert git log output to ChangeLog format. If present, any ARGS +are passed to "git log". To avoid ARGS being parsed as options to +$ME, they may be preceded by '--'. + +OPTIONS: + + --since=DATE convert only the logs since DATE; + the default is to convert all log entries. + --format=FMT set format string for commit subject and body; + see 'man git-log' for the list of format metacharacters; + the default is '%s%n%b%n' + + --help display this help and exit + --version output version information and exit + +EXAMPLE: + + $ME --since=2008-01-01 > ChangeLog + $ME -- -n 5 foo > last-5-commits-to-branch-foo + +EOF + } + exit $exit_code; +} + +# If the string $S is a well-behaved file name, simply return it. +# If it contains white space, quotes, etc., quote it, and return the new string. +sub shell_quote($) +{ + my ($s) = @_; + if ($s =~ m![^\w+/.,-]!) + { + # Convert each single quote to '\'' + $s =~ s/\'/\'\\\'\'/g; + # Then single quote the string. + $s = "'$s'"; + } + return $s; +} + +sub quoted_cmd(@) +{ + return join (' ', map {shell_quote $_} @_); +} + +{ + my $since_date = '1970-01-01 UTC'; + my $format_string = '%s%n%b%n'; + GetOptions + ( + help => sub { usage 0 }, + version => sub { print "$ME version $VERSION\n"; exit }, + 'since=s' => \$since_date, + 'format=s' => \$format_string, + ) or usage 1; + + my @cmd = (qw (git log --log-size), "--since=$since_date", + '--pretty=format:%ct %an <%ae>%n%n'.$format_string, @ARGV); + open PIPE, '-|', @cmd + or die ("$ME: failed to run `". quoted_cmd (@cmd) ."': $!\n" + . "(Is your Git too old? Version 1.5.1 or later is required.)\n"); + + my $prev_date_line = ''; + while (1) + { + defined (my $in = <PIPE>) + or last; + $in =~ /^log size (\d+)$/ + or die "$ME:$.: Invalid line (expected log size):\n$in"; + my $log_nbytes = $1; + + my $log; + my $n_read = read PIPE, $log, $log_nbytes; + $n_read == $log_nbytes + or die "$ME:$.: unexpected EOF\n"; + + my @line = split "\n", $log; + my $author_line = shift @line; + defined $author_line + or die "$ME:$.: unexpected EOF\n"; + $author_line =~ /^(\d+) (.*>)$/ + or die "$ME:$.: Invalid line " + . "(expected date/author/email):\n$author_line\n"; + + my $date_line = sprintf "%s $2\n", strftime ("%F", localtime ($1)); + # If this line would be the same as the previous date/name/email + # line, then arrange not to print it. + if ($date_line ne $prev_date_line) + { + $prev_date_line eq '' + or print "\n"; + print $date_line; + } + $prev_date_line = $date_line; + + # Omit "Signed-off-by..." lines. + @line = grep !/^Signed-off-by: .*>$/, @line; + + # If there were any lines + if (@line == 0) + { + warn "$ME: warning: empty commit message:\n $date_line\n"; + } + else + { + # Remove leading and trailing blank lines. + while ($line[0] =~ /^\s*$/) { shift @line; } + while ($line[$#line] =~ /^\s*$/) { pop @line; } + + # Prefix each non-empty line with a TAB. + @line = map { length $_ ? "\t$_" : '' } @line; + + print "\n", join ("\n", @line), "\n"; + } + + defined ($in = <PIPE>) + or last; + $in ne "\n" + and die "$ME:$.: unexpected line:\n$in"; + } + + close PIPE + or die "$ME: error closing pipe from " . quoted_cmd (@cmd) . "\n"; + # FIXME-someday: include $PROCESS_STATUS in the diagnostic +} + +# Local Variables: +# mode: perl +# indent-tabs-mode: nil +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "my $VERSION = '" +# time-stamp-format: "%:y-%02m-%02d %02H:%02M" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "'; # UTC" +# End: diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/install-sh b/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/install-sh new file mode 100644 index 0000000..a9244eb --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/install-sh @@ -0,0 +1,527 @@ +#!/bin/sh +# install - install a program, script, or datafile + +scriptversion=2011-01-19.21; # UTC + +# This originates from X11R5 (mit/util/scripts/install.sh), which was +# later released in X11R6 (xc/config/util/install.sh) with the +# following copyright and license. +# +# Copyright (C) 1994 X Consortium +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# +# Except as contained in this notice, the name of the X Consortium shall not +# be used in advertising or otherwise to promote the sale, use or other deal- +# ings in this Software without prior written authorization from the X Consor- +# tium. +# +# +# FSF changes to this file are in the public domain. +# +# Calling this script install-sh is preferred over install.sh, to prevent +# `make' implicit rules from creating a file called install from it +# when there is no Makefile. +# +# This script is compatible with the BSD install script, but was written +# from scratch. + +nl=' +' +IFS=" "" $nl" + +# set DOITPROG to echo to test this script + +# Don't use :- since 4.3BSD and earlier shells don't like it. +doit=${DOITPROG-} +if test -z "$doit"; then + doit_exec=exec +else + doit_exec=$doit +fi + +# Put in absolute file names if you don't have them in your path; +# or use environment vars. + +chgrpprog=${CHGRPPROG-chgrp} +chmodprog=${CHMODPROG-chmod} +chownprog=${CHOWNPROG-chown} +cmpprog=${CMPPROG-cmp} +cpprog=${CPPROG-cp} +mkdirprog=${MKDIRPROG-mkdir} +mvprog=${MVPROG-mv} +rmprog=${RMPROG-rm} +stripprog=${STRIPPROG-strip} + +posix_glob='?' +initialize_posix_glob=' + test "$posix_glob" != "?" || { + if (set -f) 2>/dev/null; then + posix_glob= + else + posix_glob=: + fi + } +' + +posix_mkdir= + +# Desired mode of installed file. +mode=0755 + +chgrpcmd= +chmodcmd=$chmodprog +chowncmd= +mvcmd=$mvprog +rmcmd="$rmprog -f" +stripcmd= + +src= +dst= +dir_arg= +dst_arg= + +copy_on_change=false +no_target_directory= + +usage="\ +Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE + or: $0 [OPTION]... SRCFILES... DIRECTORY + or: $0 [OPTION]... -t DIRECTORY SRCFILES... + or: $0 [OPTION]... -d DIRECTORIES... + +In the 1st form, copy SRCFILE to DSTFILE. +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. +In the 4th, create DIRECTORIES. + +Options: + --help display this help and exit. + --version display version info and exit. + + -c (ignored) + -C install only if different (preserve the last data modification time) + -d create directories instead of installing files. + -g GROUP $chgrpprog installed files to GROUP. + -m MODE $chmodprog installed files to MODE. + -o USER $chownprog installed files to USER. + -s $stripprog installed files. + -t DIRECTORY install into DIRECTORY. + -T report an error if DSTFILE is a directory. + +Environment variables override the default commands: + CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG + RMPROG STRIPPROG +" + +while test $# -ne 0; do + case $1 in + -c) ;; + + -C) copy_on_change=true;; + + -d) dir_arg=true;; + + -g) chgrpcmd="$chgrpprog $2" + shift;; + + --help) echo "$usage"; exit $?;; + + -m) mode=$2 + case $mode in + *' '* | *' '* | *' +'* | *'*'* | *'?'* | *'['*) + echo "$0: invalid mode: $mode" >&2 + exit 1;; + esac + shift;; + + -o) chowncmd="$chownprog $2" + shift;; + + -s) stripcmd=$stripprog;; + + -t) dst_arg=$2 + # Protect names problematic for `test' and other utilities. + case $dst_arg in + -* | [=\(\)!]) dst_arg=./$dst_arg;; + esac + shift;; + + -T) no_target_directory=true;; + + --version) echo "$0 $scriptversion"; exit $?;; + + --) shift + break;; + + -*) echo "$0: invalid option: $1" >&2 + exit 1;; + + *) break;; + esac + shift +done + +if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then + # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dst_arg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dst_arg" + shift # fnord + fi + shift # arg + dst_arg=$arg + # Protect names problematic for `test' and other utilities. + case $dst_arg in + -* | [=\(\)!]) dst_arg=./$dst_arg;; + esac + done +fi + +if test $# -eq 0; then + if test -z "$dir_arg"; then + echo "$0: no input file specified." >&2 + exit 1 + fi + # It's OK to call `install-sh -d' without argument. + # This can happen when creating conditional directories. + exit 0 +fi + +if test -z "$dir_arg"; then + do_exit='(exit $ret); exit $ret' + trap "ret=129; $do_exit" 1 + trap "ret=130; $do_exit" 2 + trap "ret=141; $do_exit" 13 + trap "ret=143; $do_exit" 15 + + # Set umask so as not to create temps with too-generous modes. + # However, 'strip' requires both read and write access to temps. + case $mode in + # Optimize common cases. + *644) cp_umask=133;; + *755) cp_umask=22;; + + *[0-7]) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw='% 200' + fi + cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; + *) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw=,u+rw + fi + cp_umask=$mode$u_plus_rw;; + esac +fi + +for src +do + # Protect names problematic for `test' and other utilities. + case $src in + -* | [=\(\)!]) src=./$src;; + esac + + if test -n "$dir_arg"; then + dst=$src + dstdir=$dst + test -d "$dstdir" + dstdir_status=$? + else + + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command + # might cause directories to be created, which would be especially bad + # if $src (and thus $dsttmp) contains '*'. + if test ! -f "$src" && test ! -d "$src"; then + echo "$0: $src does not exist." >&2 + exit 1 + fi + + if test -z "$dst_arg"; then + echo "$0: no destination specified." >&2 + exit 1 + fi + dst=$dst_arg + + # If destination is a directory, append the input filename; won't work + # if double slashes aren't ignored. + if test -d "$dst"; then + if test -n "$no_target_directory"; then + echo "$0: $dst_arg: Is a directory" >&2 + exit 1 + fi + dstdir=$dst + dst=$dstdir/`basename "$src"` + dstdir_status=0 + else + # Prefer dirname, but fall back on a substitute if dirname fails. + dstdir=` + (dirname "$dst") 2>/dev/null || + expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$dst" : 'X\(//\)[^/]' \| \ + X"$dst" : 'X\(//\)$' \| \ + X"$dst" : 'X\(/\)' \| . 2>/dev/null || + echo X"$dst" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q' + ` + + test -d "$dstdir" + dstdir_status=$? + fi + fi + + obsolete_mkdir_used=false + + if test $dstdir_status != 0; then + case $posix_mkdir in + '') + # Create intermediate dirs using mode 755 as modified by the umask. + # This is like FreeBSD 'install' as of 1997-10-28. + umask=`umask` + case $stripcmd.$umask in + # Optimize common cases. + *[2367][2367]) mkdir_umask=$umask;; + .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; + + *[0-7]) + mkdir_umask=`expr $umask + 22 \ + - $umask % 100 % 40 + $umask % 20 \ + - $umask % 10 % 4 + $umask % 2 + `;; + *) mkdir_umask=$umask,go-w;; + esac + + # With -d, create the new directory with the user-specified mode. + # Otherwise, rely on $mkdir_umask. + if test -n "$dir_arg"; then + mkdir_mode=-m$mode + else + mkdir_mode= + fi + + posix_mkdir=false + case $umask in + *[123567][0-7][0-7]) + # POSIX mkdir -p sets u+wx bits regardless of umask, which + # is incompatible with FreeBSD 'install' when (umask & 300) != 0. + ;; + *) + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 + + if (umask $mkdir_umask && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 + then + if test -z "$dir_arg" || { + # Check for POSIX incompatibilities with -m. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or + # other-writeable bit of parent directory when it shouldn't. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. + ls_ld_tmpdir=`ls -ld "$tmpdir"` + case $ls_ld_tmpdir in + d????-?r-*) different_mode=700;; + d????-?--*) different_mode=755;; + *) false;; + esac && + $mkdirprog -m$different_mode -p -- "$tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$tmpdir"` + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" + } + } + then posix_mkdir=: + fi + rmdir "$tmpdir/d" "$tmpdir" + else + # Remove any dirs left behind by ancient mkdir implementations. + rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null + fi + trap '' 0;; + esac;; + esac + + if + $posix_mkdir && ( + umask $mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" + ) + then : + else + + # The umask is ridiculous, or mkdir does not conform to POSIX, + # or it failed possibly due to a race condition. Create the + # directory the slow way, step by step, checking for races as we go. + + case $dstdir in + /*) prefix='/';; + [-=\(\)!]*) prefix='./';; + *) prefix='';; + esac + + eval "$initialize_posix_glob" + + oIFS=$IFS + IFS=/ + $posix_glob set -f + set fnord $dstdir + shift + $posix_glob set +f + IFS=$oIFS + + prefixes= + + for d + do + test X"$d" = X && continue + + prefix=$prefix$d + if test -d "$prefix"; then + prefixes= + else + if $posix_mkdir; then + (umask=$mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break + # Don't fail if two instances are running concurrently. + test -d "$prefix" || exit 1 + else + case $prefix in + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; + *) qprefix=$prefix;; + esac + prefixes="$prefixes '$qprefix'" + fi + fi + prefix=$prefix/ + done + + if test -n "$prefixes"; then + # Don't fail if two instances are running concurrently. + (umask $mkdir_umask && + eval "\$doit_exec \$mkdirprog $prefixes") || + test -d "$dstdir" || exit 1 + obsolete_mkdir_used=true + fi + fi + fi + + if test -n "$dir_arg"; then + { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && + { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || + test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 + else + + # Make a couple of temp file names in the proper directory. + dsttmp=$dstdir/_inst.$$_ + rmtmp=$dstdir/_rm.$$_ + + # Trap to clean up those temp files at exit. + trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 + + # Copy the file name to the temp name. + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && + + # and set any options; do chmod last to preserve setuid bits. + # + # If any of these fail, we abort the whole thing. If we want to + # ignore errors from any of these, just make sure not to ignore + # errors from the above "$doit $cpprog $src $dsttmp" command. + # + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && + { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && + { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && + + # If -C, don't bother to copy if it wouldn't change the file. + if $copy_on_change && + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && + + eval "$initialize_posix_glob" && + $posix_glob set -f && + set X $old && old=:$2:$4:$5:$6 && + set X $new && new=:$2:$4:$5:$6 && + $posix_glob set +f && + + test "$old" = "$new" && + $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 + then + rm -f "$dsttmp" + else + # Rename the file to the real destination. + $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || + + # The rename failed, perhaps because mv can't rename something else + # to itself, or perhaps because mv is so ancient that it does not + # support -f. + { + # Now remove or move aside any old file at destination location. + # We try this two ways since rm can't unlink itself on some + # systems and the destination file might be busy for other + # reasons. In this case, the final cleanup might fail but the new + # file should still install successfully. + { + test ! -f "$dst" || + $doit $rmcmd -f "$dst" 2>/dev/null || + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && + { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } + } || + { echo "$0: cannot unlink or rename $dst" >&2 + (exit 1); exit 1 + } + } && + + # Now rename the file to the real destination. + $doit $mvcmd "$dsttmp" "$dst" + } + fi || exit 1 + + trap '' 0 + fi +done + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/ltmain.sh b/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/ltmain.sh new file mode 100644 index 0000000..63ae69d --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/ltmain.sh @@ -0,0 +1,9655 @@ + +# libtool (GNU libtool) 2.4.2 +# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, +# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. +# This is free software; see the source for copying conditions. There is NO +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +# GNU Libtool 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. +# +# As a special exception to the GNU General Public License, +# if you distribute this file as part of a program or library that +# is built using GNU Libtool, you may include this file under the +# same distribution terms that you use for the rest of that program. +# +# GNU Libtool 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 GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, +# or obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +# Usage: $progname [OPTION]... [MODE-ARG]... +# +# Provide generalized library-building support services. +# +# --config show all configuration variables +# --debug enable verbose shell tracing +# -n, --dry-run display commands without modifying any files +# --features display basic configuration information and exit +# --mode=MODE use operation mode MODE +# --preserve-dup-deps don't remove duplicate dependency libraries +# --quiet, --silent don't print informational messages +# --no-quiet, --no-silent +# print informational messages (default) +# --no-warn don't display warning messages +# --tag=TAG use configuration variables from tag TAG +# -v, --verbose print more informational messages than default +# --no-verbose don't print the extra informational messages +# --version print version information +# -h, --help, --help-all print short, long, or detailed help message +# +# MODE must be one of the following: +# +# clean remove files from the build directory +# compile compile a source file into a libtool object +# execute automatically set library path, then run a program +# finish complete the installation of libtool libraries +# install install libraries or executables +# link create a library or an executable +# uninstall remove libraries from an installed directory +# +# MODE-ARGS vary depending on the MODE. When passed as first option, +# `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that. +# Try `$progname --help --mode=MODE' for a more detailed description of MODE. +# +# When reporting a bug, please describe a test case to reproduce it and +# include the following information: +# +# host-triplet: $host +# shell: $SHELL +# compiler: $LTCC +# compiler flags: $LTCFLAGS +# linker: $LD (gnu? $with_gnu_ld) +# $progname: (GNU libtool) 2.4.2 +# automake: $automake_version +# autoconf: $autoconf_version +# +# Report bugs to <bug-libtool@gnu.org>. +# GNU libtool home page: <http://www.gnu.org/software/libtool/>. +# General help using GNU software: <http://www.gnu.org/gethelp/>. + +PROGRAM=libtool +PACKAGE=libtool +VERSION=2.4.2 +TIMESTAMP="" +package_revision=1.3337 + +# Be Bourne compatible +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac +fi +BIN_SH=xpg4; export BIN_SH # for Tru64 +DUALCASE=1; export DUALCASE # for MKS sh + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +$1 +_LTECHO_EOF' +} + +# NLS nuisances: We save the old values to restore during execute mode. +lt_user_locale= +lt_safe_locale= +for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES +do + eval "if test \"\${$lt_var+set}\" = set; then + save_$lt_var=\$$lt_var + $lt_var=C + export $lt_var + lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\" + lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" + fi" +done +LC_ALL=C +LANGUAGE=C +export LANGUAGE LC_ALL + +$lt_unset CDPATH + + +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh +# is ksh but when the shell is invoked as "sh" and the current value of +# the _XPG environment variable is not equal to 1 (one), the special +# positional parameter $0, within a function call, is the name of the +# function. +progpath="$0" + + + +: ${CP="cp -f"} +test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'} +: ${MAKE="make"} +: ${MKDIR="mkdir"} +: ${MV="mv -f"} +: ${RM="rm -f"} +: ${SHELL="${CONFIG_SHELL-/bin/sh}"} +: ${Xsed="$SED -e 1s/^X//"} + +# Global variables: +EXIT_SUCCESS=0 +EXIT_FAILURE=1 +EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. +EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. + +exit_status=$EXIT_SUCCESS + +# Make sure IFS has a sensible default +lt_nl=' +' +IFS=" $lt_nl" + +dirname="s,/[^/]*$,," +basename="s,^.*/,," + +# func_dirname file append nondir_replacement +# Compute the dirname of FILE. If nonempty, add APPEND to the result, +# otherwise set result to NONDIR_REPLACEMENT. +func_dirname () +{ + func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` + if test "X$func_dirname_result" = "X${1}"; then + func_dirname_result="${3}" + else + func_dirname_result="$func_dirname_result${2}" + fi +} # func_dirname may be replaced by extended shell implementation + + +# func_basename file +func_basename () +{ + func_basename_result=`$ECHO "${1}" | $SED "$basename"` +} # func_basename may be replaced by extended shell implementation + + +# func_dirname_and_basename file append nondir_replacement +# perform func_basename and func_dirname in a single function +# call: +# dirname: Compute the dirname of FILE. If nonempty, +# add APPEND to the result, otherwise set result +# to NONDIR_REPLACEMENT. +# value returned in "$func_dirname_result" +# basename: Compute filename of FILE. +# value retuned in "$func_basename_result" +# Implementation must be kept synchronized with func_dirname +# and func_basename. For efficiency, we do not delegate to +# those functions but instead duplicate the functionality here. +func_dirname_and_basename () +{ + # Extract subdirectory from the argument. + func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"` + if test "X$func_dirname_result" = "X${1}"; then + func_dirname_result="${3}" + else + func_dirname_result="$func_dirname_result${2}" + fi + func_basename_result=`$ECHO "${1}" | $SED -e "$basename"` +} # func_dirname_and_basename may be replaced by extended shell implementation + + +# func_stripname prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +# func_strip_suffix prefix name +func_stripname () +{ + case ${2} in + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; + esac +} # func_stripname may be replaced by extended shell implementation + + +# These SED scripts presuppose an absolute path with a trailing slash. +pathcar='s,^/\([^/]*\).*$,\1,' +pathcdr='s,^/[^/]*,,' +removedotparts=':dotsl + s@/\./@/@g + t dotsl + s,/\.$,/,' +collapseslashes='s@/\{1,\}@/@g' +finalslash='s,/*$,/,' + +# func_normal_abspath PATH +# Remove doubled-up and trailing slashes, "." path components, +# and cancel out any ".." path components in PATH after making +# it an absolute path. +# value returned in "$func_normal_abspath_result" +func_normal_abspath () +{ + # Start from root dir and reassemble the path. + func_normal_abspath_result= + func_normal_abspath_tpath=$1 + func_normal_abspath_altnamespace= + case $func_normal_abspath_tpath in + "") + # Empty path, that just means $cwd. + func_stripname '' '/' "`pwd`" + func_normal_abspath_result=$func_stripname_result + return + ;; + # The next three entries are used to spot a run of precisely + # two leading slashes without using negated character classes; + # we take advantage of case's first-match behaviour. + ///*) + # Unusual form of absolute path, do nothing. + ;; + //*) + # Not necessarily an ordinary path; POSIX reserves leading '//' + # and for example Cygwin uses it to access remote file shares + # over CIFS/SMB, so we conserve a leading double slash if found. + func_normal_abspath_altnamespace=/ + ;; + /*) + # Absolute path, do nothing. + ;; + *) + # Relative path, prepend $cwd. + func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath + ;; + esac + # Cancel out all the simple stuff to save iterations. We also want + # the path to end with a slash for ease of parsing, so make sure + # there is one (and only one) here. + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"` + while :; do + # Processed it all yet? + if test "$func_normal_abspath_tpath" = / ; then + # If we ascended to the root using ".." the result may be empty now. + if test -z "$func_normal_abspath_result" ; then + func_normal_abspath_result=/ + fi + break + fi + func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$pathcar"` + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$pathcdr"` + # Figure out what to do with it + case $func_normal_abspath_tcomponent in + "") + # Trailing empty path component, ignore it. + ;; + ..) + # Parent dir; strip last assembled component from result. + func_dirname "$func_normal_abspath_result" + func_normal_abspath_result=$func_dirname_result + ;; + *) + # Actual path component, append it. + func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent + ;; + esac + done + # Restore leading double-slash if one was found on entry. + func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result +} + +# func_relative_path SRCDIR DSTDIR +# generates a relative path from SRCDIR to DSTDIR, with a trailing +# slash if non-empty, suitable for immediately appending a filename +# without needing to append a separator. +# value returned in "$func_relative_path_result" +func_relative_path () +{ + func_relative_path_result= + func_normal_abspath "$1" + func_relative_path_tlibdir=$func_normal_abspath_result + func_normal_abspath "$2" + func_relative_path_tbindir=$func_normal_abspath_result + + # Ascend the tree starting from libdir + while :; do + # check if we have found a prefix of bindir + case $func_relative_path_tbindir in + $func_relative_path_tlibdir) + # found an exact match + func_relative_path_tcancelled= + break + ;; + $func_relative_path_tlibdir*) + # found a matching prefix + func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir" + func_relative_path_tcancelled=$func_stripname_result + if test -z "$func_relative_path_result"; then + func_relative_path_result=. + fi + break + ;; + *) + func_dirname $func_relative_path_tlibdir + func_relative_path_tlibdir=${func_dirname_result} + if test "x$func_relative_path_tlibdir" = x ; then + # Have to descend all the way to the root! + func_relative_path_result=../$func_relative_path_result + func_relative_path_tcancelled=$func_relative_path_tbindir + break + fi + func_relative_path_result=../$func_relative_path_result + ;; + esac + done + + # Now calculate path; take care to avoid doubling-up slashes. + func_stripname '' '/' "$func_relative_path_result" + func_relative_path_result=$func_stripname_result + func_stripname '/' '/' "$func_relative_path_tcancelled" + if test "x$func_stripname_result" != x ; then + func_relative_path_result=${func_relative_path_result}/${func_stripname_result} + fi + + # Normalisation. If bindir is libdir, return empty string, + # else relative path ending with a slash; either way, target + # file name can be directly appended. + if test ! -z "$func_relative_path_result"; then + func_stripname './' '' "$func_relative_path_result/" + func_relative_path_result=$func_stripname_result + fi +} + +# The name of this program: +func_dirname_and_basename "$progpath" +progname=$func_basename_result + +# Make sure we have an absolute path for reexecution: +case $progpath in + [\\/]*|[A-Za-z]:\\*) ;; + *[\\/]*) + progdir=$func_dirname_result + progdir=`cd "$progdir" && pwd` + progpath="$progdir/$progname" + ;; + *) + save_IFS="$IFS" + IFS=${PATH_SEPARATOR-:} + for progdir in $PATH; do + IFS="$save_IFS" + test -x "$progdir/$progname" && break + done + IFS="$save_IFS" + test -n "$progdir" || progdir=`pwd` + progpath="$progdir/$progname" + ;; +esac + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed="${SED}"' -e 1s/^X//' +sed_quote_subst='s/\([`"$\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\(["`\\]\)/\\\1/g' + +# Sed substitution that turns a string into a regex matching for the +# string literally. +sed_make_literal_regex='s,[].[^$\\*\/],\\&,g' + +# Sed substitution that converts a w32 file name or path +# which contains forward slashes, into one that contains +# (escaped) backslashes. A very naive implementation. +lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' + +# Re-`\' parameter expansions in output of double_quote_subst that were +# `\'-ed in input to the same. If an odd number of `\' preceded a '$' +# in input to double_quote_subst, that '$' was protected from expansion. +# Since each input `\' is now two `\'s, look for any number of runs of +# four `\'s followed by two `\'s and then a '$'. `\' that '$'. +bs='\\' +bs2='\\\\' +bs4='\\\\\\\\' +dollar='\$' +sed_double_backslash="\ + s/$bs4/&\\ +/g + s/^$bs2$dollar/$bs&/ + s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g + s/\n//g" + +# Standard options: +opt_dry_run=false +opt_help=false +opt_quiet=false +opt_verbose=false +opt_warning=: + +# func_echo arg... +# Echo program name prefixed message, along with the current mode +# name if it has been set yet. +func_echo () +{ + $ECHO "$progname: ${opt_mode+$opt_mode: }$*" +} + +# func_verbose arg... +# Echo program name prefixed message in verbose mode only. +func_verbose () +{ + $opt_verbose && func_echo ${1+"$@"} + + # A bug in bash halts the script if the last line of a function + # fails when set -e is in force, so we need another command to + # work around that: + : +} + +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "$*" +} + +# func_error arg... +# Echo program name prefixed message to standard error. +func_error () +{ + $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2 +} + +# func_warning arg... +# Echo program name prefixed warning message to standard error. +func_warning () +{ + $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2 + + # bash bug again: + : +} + +# func_fatal_error arg... +# Echo program name prefixed message to standard error, and exit. +func_fatal_error () +{ + func_error ${1+"$@"} + exit $EXIT_FAILURE +} + +# func_fatal_help arg... +# Echo program name prefixed message to standard error, followed by +# a help hint, and exit. +func_fatal_help () +{ + func_error ${1+"$@"} + func_fatal_error "$help" +} +help="Try \`$progname --help' for more information." ## default + + +# func_grep expression filename +# Check whether EXPRESSION matches any line of FILENAME, without output. +func_grep () +{ + $GREP "$1" "$2" >/dev/null 2>&1 +} + + +# func_mkdir_p directory-path +# Make sure the entire path to DIRECTORY-PATH is available. +func_mkdir_p () +{ + my_directory_path="$1" + my_dir_list= + + if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then + + # Protect directory names starting with `-' + case $my_directory_path in + -*) my_directory_path="./$my_directory_path" ;; + esac + + # While some portion of DIR does not yet exist... + while test ! -d "$my_directory_path"; do + # ...make a list in topmost first order. Use a colon delimited + # list incase some portion of path contains whitespace. + my_dir_list="$my_directory_path:$my_dir_list" + + # If the last portion added has no slash in it, the list is done + case $my_directory_path in */*) ;; *) break ;; esac + + # ...otherwise throw away the child directory and loop + my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"` + done + my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'` + + save_mkdir_p_IFS="$IFS"; IFS=':' + for my_dir in $my_dir_list; do + IFS="$save_mkdir_p_IFS" + # mkdir can fail with a `File exist' error if two processes + # try to create one of the directories concurrently. Don't + # stop in that case! + $MKDIR "$my_dir" 2>/dev/null || : + done + IFS="$save_mkdir_p_IFS" + + # Bail out if we (or some other process) failed to create a directory. + test -d "$my_directory_path" || \ + func_fatal_error "Failed to create \`$1'" + fi +} + + +# func_mktempdir [string] +# Make a temporary directory that won't clash with other running +# libtool processes, and avoids race conditions if possible. If +# given, STRING is the basename for that directory. +func_mktempdir () +{ + my_template="${TMPDIR-/tmp}/${1-$progname}" + + if test "$opt_dry_run" = ":"; then + # Return a directory name, but don't create it in dry-run mode + my_tmpdir="${my_template}-$$" + else + + # If mktemp works, use that first and foremost + my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` + + if test ! -d "$my_tmpdir"; then + # Failing that, at least try and use $RANDOM to avoid a race + my_tmpdir="${my_template}-${RANDOM-0}$$" + + save_mktempdir_umask=`umask` + umask 0077 + $MKDIR "$my_tmpdir" + umask $save_mktempdir_umask + fi + + # If we're not in dry-run mode, bomb out on failure + test -d "$my_tmpdir" || \ + func_fatal_error "cannot create temporary directory \`$my_tmpdir'" + fi + + $ECHO "$my_tmpdir" +} + + +# func_quote_for_eval arg +# Aesthetically quote ARG to be evaled later. +# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT +# is double-quoted, suitable for a subsequent eval, whereas +# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters +# which are still active within double quotes backslashified. +func_quote_for_eval () +{ + case $1 in + *[\\\`\"\$]*) + func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;; + *) + func_quote_for_eval_unquoted_result="$1" ;; + esac + + case $func_quote_for_eval_unquoted_result in + # Double-quote args containing shell metacharacters to delay + # word splitting, command substitution and and variable + # expansion for a subsequent eval. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\"" + ;; + *) + func_quote_for_eval_result="$func_quote_for_eval_unquoted_result" + esac +} + + +# func_quote_for_expand arg +# Aesthetically quote ARG to be evaled later; same as above, +# but do not quote variable references. +func_quote_for_expand () +{ + case $1 in + *[\\\`\"]*) + my_arg=`$ECHO "$1" | $SED \ + -e "$double_quote_subst" -e "$sed_double_backslash"` ;; + *) + my_arg="$1" ;; + esac + + case $my_arg in + # Double-quote args containing shell metacharacters to delay + # word splitting and command substitution for a subsequent eval. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + my_arg="\"$my_arg\"" + ;; + esac + + func_quote_for_expand_result="$my_arg" +} + + +# func_show_eval cmd [fail_exp] +# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is +# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP +# is given, then evaluate it. +func_show_eval () +{ + my_cmd="$1" + my_fail_exp="${2-:}" + + ${opt_silent-false} || { + func_quote_for_expand "$my_cmd" + eval "func_echo $func_quote_for_expand_result" + } + + if ${opt_dry_run-false}; then :; else + eval "$my_cmd" + my_status=$? + if test "$my_status" -eq 0; then :; else + eval "(exit $my_status); $my_fail_exp" + fi + fi +} + + +# func_show_eval_locale cmd [fail_exp] +# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is +# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP +# is given, then evaluate it. Use the saved locale for evaluation. +func_show_eval_locale () +{ + my_cmd="$1" + my_fail_exp="${2-:}" + + ${opt_silent-false} || { + func_quote_for_expand "$my_cmd" + eval "func_echo $func_quote_for_expand_result" + } + + if ${opt_dry_run-false}; then :; else + eval "$lt_user_locale + $my_cmd" + my_status=$? + eval "$lt_safe_locale" + if test "$my_status" -eq 0; then :; else + eval "(exit $my_status); $my_fail_exp" + fi + fi +} + +# func_tr_sh +# Turn $1 into a string suitable for a shell variable name. +# Result is stored in $func_tr_sh_result. All characters +# not in the set a-zA-Z0-9_ are replaced with '_'. Further, +# if $1 begins with a digit, a '_' is prepended as well. +func_tr_sh () +{ + case $1 in + [0-9]* | *[!a-zA-Z0-9_]*) + func_tr_sh_result=`$ECHO "$1" | $SED 's/^\([0-9]\)/_\1/; s/[^a-zA-Z0-9_]/_/g'` + ;; + * ) + func_tr_sh_result=$1 + ;; + esac +} + + +# func_version +# Echo version message to standard output and exit. +func_version () +{ + $opt_debug + + $SED -n '/(C)/!b go + :more + /\./!{ + N + s/\n# / / + b more + } + :go + /^# '$PROGRAM' (GNU /,/# warranty; / { + s/^# // + s/^# *$// + s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/ + p + }' < "$progpath" + exit $? +} + +# func_usage +# Echo short help message to standard output and exit. +func_usage () +{ + $opt_debug + + $SED -n '/^# Usage:/,/^# *.*--help/ { + s/^# // + s/^# *$// + s/\$progname/'$progname'/ + p + }' < "$progpath" + echo + $ECHO "run \`$progname --help | more' for full usage" + exit $? +} + +# func_help [NOEXIT] +# Echo long help message to standard output and exit, +# unless 'noexit' is passed as argument. +func_help () +{ + $opt_debug + + $SED -n '/^# Usage:/,/# Report bugs to/ { + :print + s/^# // + s/^# *$// + s*\$progname*'$progname'* + s*\$host*'"$host"'* + s*\$SHELL*'"$SHELL"'* + s*\$LTCC*'"$LTCC"'* + s*\$LTCFLAGS*'"$LTCFLAGS"'* + s*\$LD*'"$LD"'* + s/\$with_gnu_ld/'"$with_gnu_ld"'/ + s/\$automake_version/'"`(${AUTOMAKE-automake} --version) 2>/dev/null |$SED 1q`"'/ + s/\$autoconf_version/'"`(${AUTOCONF-autoconf} --version) 2>/dev/null |$SED 1q`"'/ + p + d + } + /^# .* home page:/b print + /^# General help using/b print + ' < "$progpath" + ret=$? + if test -z "$1"; then + exit $ret + fi +} + +# func_missing_arg argname +# Echo program name prefixed message to standard error and set global +# exit_cmd. +func_missing_arg () +{ + $opt_debug + + func_error "missing argument for $1." + exit_cmd=exit +} + + +# func_split_short_opt shortopt +# Set func_split_short_opt_name and func_split_short_opt_arg shell +# variables after splitting SHORTOPT after the 2nd character. +func_split_short_opt () +{ + my_sed_short_opt='1s/^\(..\).*$/\1/;q' + my_sed_short_rest='1s/^..\(.*\)$/\1/;q' + + func_split_short_opt_name=`$ECHO "$1" | $SED "$my_sed_short_opt"` + func_split_short_opt_arg=`$ECHO "$1" | $SED "$my_sed_short_rest"` +} # func_split_short_opt may be replaced by extended shell implementation + + +# func_split_long_opt longopt +# Set func_split_long_opt_name and func_split_long_opt_arg shell +# variables after splitting LONGOPT at the `=' sign. +func_split_long_opt () +{ + my_sed_long_opt='1s/^\(--[^=]*\)=.*/\1/;q' + my_sed_long_arg='1s/^--[^=]*=//' + + func_split_long_opt_name=`$ECHO "$1" | $SED "$my_sed_long_opt"` + func_split_long_opt_arg=`$ECHO "$1" | $SED "$my_sed_long_arg"` +} # func_split_long_opt may be replaced by extended shell implementation + +exit_cmd=: + + + + + +magic="%%%MAGIC variable%%%" +magic_exe="%%%MAGIC EXE variable%%%" + +# Global variables. +nonopt= +preserve_args= +lo2o="s/\\.lo\$/.${objext}/" +o2lo="s/\\.${objext}\$/.lo/" +extracted_archives= +extracted_serial=0 + +# If this variable is set in any of the actions, the command in it +# will be execed at the end. This prevents here-documents from being +# left over by shells. +exec_cmd= + +# func_append var value +# Append VALUE to the end of shell variable VAR. +func_append () +{ + eval "${1}=\$${1}\${2}" +} # func_append may be replaced by extended shell implementation + +# func_append_quoted var value +# Quote VALUE and append to the end of shell variable VAR, separated +# by a space. +func_append_quoted () +{ + func_quote_for_eval "${2}" + eval "${1}=\$${1}\\ \$func_quote_for_eval_result" +} # func_append_quoted may be replaced by extended shell implementation + + +# func_arith arithmetic-term... +func_arith () +{ + func_arith_result=`expr "${@}"` +} # func_arith may be replaced by extended shell implementation + + +# func_len string +# STRING may not start with a hyphen. +func_len () +{ + func_len_result=`expr "${1}" : ".*" 2>/dev/null || echo $max_cmd_len` +} # func_len may be replaced by extended shell implementation + + +# func_lo2o object +func_lo2o () +{ + func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` +} # func_lo2o may be replaced by extended shell implementation + + +# func_xform libobj-or-source +func_xform () +{ + func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` +} # func_xform may be replaced by extended shell implementation + + +# func_fatal_configuration arg... +# Echo program name prefixed message to standard error, followed by +# a configuration failure hint, and exit. +func_fatal_configuration () +{ + func_error ${1+"$@"} + func_error "See the $PACKAGE documentation for more information." + func_fatal_error "Fatal configuration error." +} + + +# func_config +# Display the configuration for all the tags in this script. +func_config () +{ + re_begincf='^# ### BEGIN LIBTOOL' + re_endcf='^# ### END LIBTOOL' + + # Default configuration. + $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath" + + # Now print the configurations for the tags. + for tagname in $taglist; do + $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath" + done + + exit $? +} + +# func_features +# Display the features supported by this script. +func_features () +{ + echo "host: $host" + if test "$build_libtool_libs" = yes; then + echo "enable shared libraries" + else + echo "disable shared libraries" + fi + if test "$build_old_libs" = yes; then + echo "enable static libraries" + else + echo "disable static libraries" + fi + + exit $? +} + +# func_enable_tag tagname +# Verify that TAGNAME is valid, and either flag an error and exit, or +# enable the TAGNAME tag. We also add TAGNAME to the global $taglist +# variable here. +func_enable_tag () +{ + # Global variable: + tagname="$1" + + re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$" + re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$" + sed_extractcf="/$re_begincf/,/$re_endcf/p" + + # Validate tagname. + case $tagname in + *[!-_A-Za-z0-9,/]*) + func_fatal_error "invalid tag name: $tagname" + ;; + esac + + # Don't test for the "default" C tag, as we know it's + # there but not specially marked. + case $tagname in + CC) ;; + *) + if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then + taglist="$taglist $tagname" + + # Evaluate the configuration. Be careful to quote the path + # and the sed script, to avoid splitting on whitespace, but + # also don't use non-portable quotes within backquotes within + # quotes we have to do it in 2 steps: + extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"` + eval "$extractedcf" + else + func_error "ignoring unknown tag $tagname" + fi + ;; + esac +} + +# func_check_version_match +# Ensure that we are using m4 macros, and libtool script from the same +# release of libtool. +func_check_version_match () +{ + if test "$package_revision" != "$macro_revision"; then + if test "$VERSION" != "$macro_version"; then + if test -z "$macro_version"; then + cat >&2 <<_LT_EOF +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the +$progname: definition of this LT_INIT comes from an older release. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION +$progname: and run autoconf again. +_LT_EOF + else + cat >&2 <<_LT_EOF +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the +$progname: definition of this LT_INIT comes from $PACKAGE $macro_version. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION +$progname: and run autoconf again. +_LT_EOF + fi + else + cat >&2 <<_LT_EOF +$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, +$progname: but the definition of this LT_INIT comes from revision $macro_revision. +$progname: You should recreate aclocal.m4 with macros from revision $package_revision +$progname: of $PACKAGE $VERSION and run autoconf again. +_LT_EOF + fi + + exit $EXIT_MISMATCH + fi +} + + +# Shorthand for --mode=foo, only valid as the first argument +case $1 in +clean|clea|cle|cl) + shift; set dummy --mode clean ${1+"$@"}; shift + ;; +compile|compil|compi|comp|com|co|c) + shift; set dummy --mode compile ${1+"$@"}; shift + ;; +execute|execut|execu|exec|exe|ex|e) + shift; set dummy --mode execute ${1+"$@"}; shift + ;; +finish|finis|fini|fin|fi|f) + shift; set dummy --mode finish ${1+"$@"}; shift + ;; +install|instal|insta|inst|ins|in|i) + shift; set dummy --mode install ${1+"$@"}; shift + ;; +link|lin|li|l) + shift; set dummy --mode link ${1+"$@"}; shift + ;; +uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) + shift; set dummy --mode uninstall ${1+"$@"}; shift + ;; +esac + + + +# Option defaults: +opt_debug=: +opt_dry_run=false +opt_config=false +opt_preserve_dup_deps=false +opt_features=false +opt_finish=false +opt_help=false +opt_help_all=false +opt_silent=: +opt_warning=: +opt_verbose=: +opt_silent=false +opt_verbose=false + + +# Parse options once, thoroughly. This comes as soon as possible in the +# script to make things like `--version' happen as quickly as we can. +{ + # this just eases exit handling + while test $# -gt 0; do + opt="$1" + shift + case $opt in + --debug|-x) opt_debug='set -x' + func_echo "enabling shell trace mode" + $opt_debug + ;; + --dry-run|--dryrun|-n) + opt_dry_run=: + ;; + --config) + opt_config=: +func_config + ;; + --dlopen|-dlopen) + optarg="$1" + opt_dlopen="${opt_dlopen+$opt_dlopen +}$optarg" + shift + ;; + --preserve-dup-deps) + opt_preserve_dup_deps=: + ;; + --features) + opt_features=: +func_features + ;; + --finish) + opt_finish=: +set dummy --mode finish ${1+"$@"}; shift + ;; + --help) + opt_help=: + ;; + --help-all) + opt_help_all=: +opt_help=': help-all' + ;; + --mode) + test $# = 0 && func_missing_arg $opt && break + optarg="$1" + opt_mode="$optarg" +case $optarg in + # Valid mode arguments: + clean|compile|execute|finish|install|link|relink|uninstall) ;; + + # Catch anything else as an error + *) func_error "invalid argument for $opt" + exit_cmd=exit + break + ;; +esac + shift + ;; + --no-silent|--no-quiet) + opt_silent=false +func_append preserve_args " $opt" + ;; + --no-warning|--no-warn) + opt_warning=false +func_append preserve_args " $opt" + ;; + --no-verbose) + opt_verbose=false +func_append preserve_args " $opt" + ;; + --silent|--quiet) + opt_silent=: +func_append preserve_args " $opt" + opt_verbose=false + ;; + --verbose|-v) + opt_verbose=: +func_append preserve_args " $opt" +opt_silent=false + ;; + --tag) + test $# = 0 && func_missing_arg $opt && break + optarg="$1" + opt_tag="$optarg" +func_append preserve_args " $opt $optarg" +func_enable_tag "$optarg" + shift + ;; + + -\?|-h) func_usage ;; + --help) func_help ;; + --version) func_version ;; + + # Separate optargs to long options: + --*=*) + func_split_long_opt "$opt" + set dummy "$func_split_long_opt_name" "$func_split_long_opt_arg" ${1+"$@"} + shift + ;; + + # Separate non-argument short options: + -\?*|-h*|-n*|-v*) + func_split_short_opt "$opt" + set dummy "$func_split_short_opt_name" "-$func_split_short_opt_arg" ${1+"$@"} + shift + ;; + + --) break ;; + -*) func_fatal_help "unrecognized option \`$opt'" ;; + *) set dummy "$opt" ${1+"$@"}; shift; break ;; + esac + done + + # Validate options: + + # save first non-option argument + if test "$#" -gt 0; then + nonopt="$opt" + shift + fi + + # preserve --debug + test "$opt_debug" = : || func_append preserve_args " --debug" + + case $host in + *cygwin* | *mingw* | *pw32* | *cegcc*) + # don't eliminate duplications in $postdeps and $predeps + opt_duplicate_compiler_generated_deps=: + ;; + *) + opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps + ;; + esac + + $opt_help || { + # Sanity checks first: + func_check_version_match + + if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then + func_fatal_configuration "not configured to build any kind of library" + fi + + # Darwin sucks + eval std_shrext=\"$shrext_cmds\" + + # Only execute mode is allowed to have -dlopen flags. + if test -n "$opt_dlopen" && test "$opt_mode" != execute; then + func_error "unrecognized option \`-dlopen'" + $ECHO "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Change the help message to a mode-specific one. + generic_help="$help" + help="Try \`$progname --help --mode=$opt_mode' for more information." + } + + + # Bail if the options were screwed + $exit_cmd $EXIT_FAILURE +} + + + + +## ----------- ## +## Main. ## +## ----------- ## + +# func_lalib_p file +# True iff FILE is a libtool `.la' library or `.lo' object file. +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_lalib_p () +{ + test -f "$1" && + $SED -e 4q "$1" 2>/dev/null \ + | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 +} + +# func_lalib_unsafe_p file +# True iff FILE is a libtool `.la' library or `.lo' object file. +# This function implements the same check as func_lalib_p without +# resorting to external programs. To this end, it redirects stdin and +# closes it afterwards, without saving the original file descriptor. +# As a safety measure, use it only where a negative result would be +# fatal anyway. Works if `file' does not exist. +func_lalib_unsafe_p () +{ + lalib_p=no + if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then + for lalib_p_l in 1 2 3 4 + do + read lalib_p_line + case "$lalib_p_line" in + \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; + esac + done + exec 0<&5 5<&- + fi + test "$lalib_p" = yes +} + +# func_ltwrapper_script_p file +# True iff FILE is a libtool wrapper script +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_ltwrapper_script_p () +{ + func_lalib_p "$1" +} + +# func_ltwrapper_executable_p file +# True iff FILE is a libtool wrapper executable +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_ltwrapper_executable_p () +{ + func_ltwrapper_exec_suffix= + case $1 in + *.exe) ;; + *) func_ltwrapper_exec_suffix=.exe ;; + esac + $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 +} + +# func_ltwrapper_scriptname file +# Assumes file is an ltwrapper_executable +# uses $file to determine the appropriate filename for a +# temporary ltwrapper_script. +func_ltwrapper_scriptname () +{ + func_dirname_and_basename "$1" "" "." + func_stripname '' '.exe' "$func_basename_result" + func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper" +} + +# func_ltwrapper_p file +# True iff FILE is a libtool wrapper script or wrapper executable +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_ltwrapper_p () +{ + func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1" +} + + +# func_execute_cmds commands fail_cmd +# Execute tilde-delimited COMMANDS. +# If FAIL_CMD is given, eval that upon failure. +# FAIL_CMD may read-access the current command in variable CMD! +func_execute_cmds () +{ + $opt_debug + save_ifs=$IFS; IFS='~' + for cmd in $1; do + IFS=$save_ifs + eval cmd=\"$cmd\" + func_show_eval "$cmd" "${2-:}" + done + IFS=$save_ifs +} + + +# func_source file +# Source FILE, adding directory component if necessary. +# Note that it is not necessary on cygwin/mingw to append a dot to +# FILE even if both FILE and FILE.exe exist: automatic-append-.exe +# behavior happens only for exec(3), not for open(2)! Also, sourcing +# `FILE.' does not work on cygwin managed mounts. +func_source () +{ + $opt_debug + case $1 in + */* | *\\*) . "$1" ;; + *) . "./$1" ;; + esac +} + + +# func_resolve_sysroot PATH +# Replace a leading = in PATH with a sysroot. Store the result into +# func_resolve_sysroot_result +func_resolve_sysroot () +{ + func_resolve_sysroot_result=$1 + case $func_resolve_sysroot_result in + =*) + func_stripname '=' '' "$func_resolve_sysroot_result" + func_resolve_sysroot_result=$lt_sysroot$func_stripname_result + ;; + esac +} + +# func_replace_sysroot PATH +# If PATH begins with the sysroot, replace it with = and +# store the result into func_replace_sysroot_result. +func_replace_sysroot () +{ + case "$lt_sysroot:$1" in + ?*:"$lt_sysroot"*) + func_stripname "$lt_sysroot" '' "$1" + func_replace_sysroot_result="=$func_stripname_result" + ;; + *) + # Including no sysroot. + func_replace_sysroot_result=$1 + ;; + esac +} + +# func_infer_tag arg +# Infer tagged configuration to use if any are available and +# if one wasn't chosen via the "--tag" command line option. +# Only attempt this if the compiler in the base compile +# command doesn't match the default compiler. +# arg is usually of the form 'gcc ...' +func_infer_tag () +{ + $opt_debug + if test -n "$available_tags" && test -z "$tagname"; then + CC_quoted= + for arg in $CC; do + func_append_quoted CC_quoted "$arg" + done + CC_expanded=`func_echo_all $CC` + CC_quoted_expanded=`func_echo_all $CC_quoted` + case $@ in + # Blanks in the command may have been stripped by the calling shell, + # but not from the CC environment variable when configure was run. + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;; + # Blanks at the start of $base_compile will cause this to fail + # if we don't check for them as well. + *) + for z in $available_tags; do + if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then + # Evaluate the configuration. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" + CC_quoted= + for arg in $CC; do + # Double-quote args containing other shell metacharacters. + func_append_quoted CC_quoted "$arg" + done + CC_expanded=`func_echo_all $CC` + CC_quoted_expanded=`func_echo_all $CC_quoted` + case "$@ " in + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) + # The compiler in the base compile command matches + # the one in the tagged configuration. + # Assume this is the tagged configuration we want. + tagname=$z + break + ;; + esac + fi + done + # If $tagname still isn't set, then no tagged configuration + # was found and let the user know that the "--tag" command + # line option must be used. + if test -z "$tagname"; then + func_echo "unable to infer tagged configuration" + func_fatal_error "specify a tag with \`--tag'" +# else +# func_verbose "using $tagname tagged configuration" + fi + ;; + esac + fi +} + + + +# func_write_libtool_object output_name pic_name nonpic_name +# Create a libtool object file (analogous to a ".la" file), +# but don't create it if we're doing a dry run. +func_write_libtool_object () +{ + write_libobj=${1} + if test "$build_libtool_libs" = yes; then + write_lobj=\'${2}\' + else + write_lobj=none + fi + + if test "$build_old_libs" = yes; then + write_oldobj=\'${3}\' + else + write_oldobj=none + fi + + $opt_dry_run || { + cat >${write_libobj}T <<EOF +# $write_libobj - a libtool object file +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object=$write_lobj + +# Name of the non-PIC object +non_pic_object=$write_oldobj + +EOF + $MV "${write_libobj}T" "${write_libobj}" + } +} + + +################################################## +# FILE NAME AND PATH CONVERSION HELPER FUNCTIONS # +################################################## + +# func_convert_core_file_wine_to_w32 ARG +# Helper function used by file name conversion functions when $build is *nix, +# and $host is mingw, cygwin, or some other w32 environment. Relies on a +# correctly configured wine environment available, with the winepath program +# in $build's $PATH. +# +# ARG is the $build file name to be converted to w32 format. +# Result is available in $func_convert_core_file_wine_to_w32_result, and will +# be empty on error (or when ARG is empty) +func_convert_core_file_wine_to_w32 () +{ + $opt_debug + func_convert_core_file_wine_to_w32_result="$1" + if test -n "$1"; then + # Unfortunately, winepath does not exit with a non-zero error code, so we + # are forced to check the contents of stdout. On the other hand, if the + # command is not found, the shell will set an exit code of 127 and print + # *an error message* to stdout. So we must check for both error code of + # zero AND non-empty stdout, which explains the odd construction: + func_convert_core_file_wine_to_w32_tmp=`winepath -w "$1" 2>/dev/null` + if test "$?" -eq 0 && test -n "${func_convert_core_file_wine_to_w32_tmp}"; then + func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" | + $SED -e "$lt_sed_naive_backslashify"` + else + func_convert_core_file_wine_to_w32_result= + fi + fi +} +# end: func_convert_core_file_wine_to_w32 + + +# func_convert_core_path_wine_to_w32 ARG +# Helper function used by path conversion functions when $build is *nix, and +# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly +# configured wine environment available, with the winepath program in $build's +# $PATH. Assumes ARG has no leading or trailing path separator characters. +# +# ARG is path to be converted from $build format to win32. +# Result is available in $func_convert_core_path_wine_to_w32_result. +# Unconvertible file (directory) names in ARG are skipped; if no directory names +# are convertible, then the result may be empty. +func_convert_core_path_wine_to_w32 () +{ + $opt_debug + # unfortunately, winepath doesn't convert paths, only file names + func_convert_core_path_wine_to_w32_result="" + if test -n "$1"; then + oldIFS=$IFS + IFS=: + for func_convert_core_path_wine_to_w32_f in $1; do + IFS=$oldIFS + func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f" + if test -n "$func_convert_core_file_wine_to_w32_result" ; then + if test -z "$func_convert_core_path_wine_to_w32_result"; then + func_convert_core_path_wine_to_w32_result="$func_convert_core_file_wine_to_w32_result" + else + func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result" + fi + fi + done + IFS=$oldIFS + fi +} +# end: func_convert_core_path_wine_to_w32 + + +# func_cygpath ARGS... +# Wrapper around calling the cygpath program via LT_CYGPATH. This is used when +# when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2) +# $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or +# (2), returns the Cygwin file name or path in func_cygpath_result (input +# file name or path is assumed to be in w32 format, as previously converted +# from $build's *nix or MSYS format). In case (3), returns the w32 file name +# or path in func_cygpath_result (input file name or path is assumed to be in +# Cygwin format). Returns an empty string on error. +# +# ARGS are passed to cygpath, with the last one being the file name or path to +# be converted. +# +# Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH +# environment variable; do not put it in $PATH. +func_cygpath () +{ + $opt_debug + if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then + func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null` + if test "$?" -ne 0; then + # on failure, ensure result is empty + func_cygpath_result= + fi + else + func_cygpath_result= + func_error "LT_CYGPATH is empty or specifies non-existent file: \`$LT_CYGPATH'" + fi +} +#end: func_cygpath + + +# func_convert_core_msys_to_w32 ARG +# Convert file name or path ARG from MSYS format to w32 format. Return +# result in func_convert_core_msys_to_w32_result. +func_convert_core_msys_to_w32 () +{ + $opt_debug + # awkward: cmd appends spaces to result + func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null | + $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"` +} +#end: func_convert_core_msys_to_w32 + + +# func_convert_file_check ARG1 ARG2 +# Verify that ARG1 (a file name in $build format) was converted to $host +# format in ARG2. Otherwise, emit an error message, but continue (resetting +# func_to_host_file_result to ARG1). +func_convert_file_check () +{ + $opt_debug + if test -z "$2" && test -n "$1" ; then + func_error "Could not determine host file name corresponding to" + func_error " \`$1'" + func_error "Continuing, but uninstalled executables may not work." + # Fallback: + func_to_host_file_result="$1" + fi +} +# end func_convert_file_check + + +# func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH +# Verify that FROM_PATH (a path in $build format) was converted to $host +# format in TO_PATH. Otherwise, emit an error message, but continue, resetting +# func_to_host_file_result to a simplistic fallback value (see below). +func_convert_path_check () +{ + $opt_debug + if test -z "$4" && test -n "$3"; then + func_error "Could not determine the host path corresponding to" + func_error " \`$3'" + func_error "Continuing, but uninstalled executables may not work." + # Fallback. This is a deliberately simplistic "conversion" and + # should not be "improved". See libtool.info. + if test "x$1" != "x$2"; then + lt_replace_pathsep_chars="s|$1|$2|g" + func_to_host_path_result=`echo "$3" | + $SED -e "$lt_replace_pathsep_chars"` + else + func_to_host_path_result="$3" + fi + fi +} +# end func_convert_path_check + + +# func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG +# Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT +# and appending REPL if ORIG matches BACKPAT. +func_convert_path_front_back_pathsep () +{ + $opt_debug + case $4 in + $1 ) func_to_host_path_result="$3$func_to_host_path_result" + ;; + esac + case $4 in + $2 ) func_append func_to_host_path_result "$3" + ;; + esac +} +# end func_convert_path_front_back_pathsep + + +################################################## +# $build to $host FILE NAME CONVERSION FUNCTIONS # +################################################## +# invoked via `$to_host_file_cmd ARG' +# +# In each case, ARG is the path to be converted from $build to $host format. +# Result will be available in $func_to_host_file_result. + + +# func_to_host_file ARG +# Converts the file name ARG from $build format to $host format. Return result +# in func_to_host_file_result. +func_to_host_file () +{ + $opt_debug + $to_host_file_cmd "$1" +} +# end func_to_host_file + + +# func_to_tool_file ARG LAZY +# converts the file name ARG from $build format to toolchain format. Return +# result in func_to_tool_file_result. If the conversion in use is listed +# in (the comma separated) LAZY, no conversion takes place. +func_to_tool_file () +{ + $opt_debug + case ,$2, in + *,"$to_tool_file_cmd",*) + func_to_tool_file_result=$1 + ;; + *) + $to_tool_file_cmd "$1" + func_to_tool_file_result=$func_to_host_file_result + ;; + esac +} +# end func_to_tool_file + + +# func_convert_file_noop ARG +# Copy ARG to func_to_host_file_result. +func_convert_file_noop () +{ + func_to_host_file_result="$1" +} +# end func_convert_file_noop + + +# func_convert_file_msys_to_w32 ARG +# Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic +# conversion to w32 is not available inside the cwrapper. Returns result in +# func_to_host_file_result. +func_convert_file_msys_to_w32 () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + func_convert_core_msys_to_w32 "$1" + func_to_host_file_result="$func_convert_core_msys_to_w32_result" + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_msys_to_w32 + + +# func_convert_file_cygwin_to_w32 ARG +# Convert file name ARG from Cygwin to w32 format. Returns result in +# func_to_host_file_result. +func_convert_file_cygwin_to_w32 () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + # because $build is cygwin, we call "the" cygpath in $PATH; no need to use + # LT_CYGPATH in this case. + func_to_host_file_result=`cygpath -m "$1"` + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_cygwin_to_w32 + + +# func_convert_file_nix_to_w32 ARG +# Convert file name ARG from *nix to w32 format. Requires a wine environment +# and a working winepath. Returns result in func_to_host_file_result. +func_convert_file_nix_to_w32 () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + func_convert_core_file_wine_to_w32 "$1" + func_to_host_file_result="$func_convert_core_file_wine_to_w32_result" + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_nix_to_w32 + + +# func_convert_file_msys_to_cygwin ARG +# Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. +# Returns result in func_to_host_file_result. +func_convert_file_msys_to_cygwin () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + func_convert_core_msys_to_w32 "$1" + func_cygpath -u "$func_convert_core_msys_to_w32_result" + func_to_host_file_result="$func_cygpath_result" + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_msys_to_cygwin + + +# func_convert_file_nix_to_cygwin ARG +# Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed +# in a wine environment, working winepath, and LT_CYGPATH set. Returns result +# in func_to_host_file_result. +func_convert_file_nix_to_cygwin () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + # convert from *nix to w32, then use cygpath to convert from w32 to cygwin. + func_convert_core_file_wine_to_w32 "$1" + func_cygpath -u "$func_convert_core_file_wine_to_w32_result" + func_to_host_file_result="$func_cygpath_result" + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_nix_to_cygwin + + +############################################# +# $build to $host PATH CONVERSION FUNCTIONS # +############################################# +# invoked via `$to_host_path_cmd ARG' +# +# In each case, ARG is the path to be converted from $build to $host format. +# The result will be available in $func_to_host_path_result. +# +# Path separators are also converted from $build format to $host format. If +# ARG begins or ends with a path separator character, it is preserved (but +# converted to $host format) on output. +# +# All path conversion functions are named using the following convention: +# file name conversion function : func_convert_file_X_to_Y () +# path conversion function : func_convert_path_X_to_Y () +# where, for any given $build/$host combination the 'X_to_Y' value is the +# same. If conversion functions are added for new $build/$host combinations, +# the two new functions must follow this pattern, or func_init_to_host_path_cmd +# will break. + + +# func_init_to_host_path_cmd +# Ensures that function "pointer" variable $to_host_path_cmd is set to the +# appropriate value, based on the value of $to_host_file_cmd. +to_host_path_cmd= +func_init_to_host_path_cmd () +{ + $opt_debug + if test -z "$to_host_path_cmd"; then + func_stripname 'func_convert_file_' '' "$to_host_file_cmd" + to_host_path_cmd="func_convert_path_${func_stripname_result}" + fi +} + + +# func_to_host_path ARG +# Converts the path ARG from $build format to $host format. Return result +# in func_to_host_path_result. +func_to_host_path () +{ + $opt_debug + func_init_to_host_path_cmd + $to_host_path_cmd "$1" +} +# end func_to_host_path + + +# func_convert_path_noop ARG +# Copy ARG to func_to_host_path_result. +func_convert_path_noop () +{ + func_to_host_path_result="$1" +} +# end func_convert_path_noop + + +# func_convert_path_msys_to_w32 ARG +# Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic +# conversion to w32 is not available inside the cwrapper. Returns result in +# func_to_host_path_result. +func_convert_path_msys_to_w32 () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # Remove leading and trailing path separator characters from ARG. MSYS + # behavior is inconsistent here; cygpath turns them into '.;' and ';.'; + # and winepath ignores them completely. + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" + func_to_host_path_result="$func_convert_core_msys_to_w32_result" + func_convert_path_check : ";" \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" + fi +} +# end func_convert_path_msys_to_w32 + + +# func_convert_path_cygwin_to_w32 ARG +# Convert path ARG from Cygwin to w32 format. Returns result in +# func_to_host_file_result. +func_convert_path_cygwin_to_w32 () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # See func_convert_path_msys_to_w32: + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"` + func_convert_path_check : ";" \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" + fi +} +# end func_convert_path_cygwin_to_w32 + + +# func_convert_path_nix_to_w32 ARG +# Convert path ARG from *nix to w32 format. Requires a wine environment and +# a working winepath. Returns result in func_to_host_file_result. +func_convert_path_nix_to_w32 () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # See func_convert_path_msys_to_w32: + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" + func_to_host_path_result="$func_convert_core_path_wine_to_w32_result" + func_convert_path_check : ";" \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" + fi +} +# end func_convert_path_nix_to_w32 + + +# func_convert_path_msys_to_cygwin ARG +# Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. +# Returns result in func_to_host_file_result. +func_convert_path_msys_to_cygwin () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # See func_convert_path_msys_to_w32: + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" + func_cygpath -u -p "$func_convert_core_msys_to_w32_result" + func_to_host_path_result="$func_cygpath_result" + func_convert_path_check : : \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" : "$1" + fi +} +# end func_convert_path_msys_to_cygwin + + +# func_convert_path_nix_to_cygwin ARG +# Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a +# a wine environment, working winepath, and LT_CYGPATH set. Returns result in +# func_to_host_file_result. +func_convert_path_nix_to_cygwin () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # Remove leading and trailing path separator characters from + # ARG. msys behavior is inconsistent here, cygpath turns them + # into '.;' and ';.', and winepath ignores them completely. + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" + func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result" + func_to_host_path_result="$func_cygpath_result" + func_convert_path_check : : \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" : "$1" + fi +} +# end func_convert_path_nix_to_cygwin + + +# func_mode_compile arg... +func_mode_compile () +{ + $opt_debug + # Get the compilation command and the source file. + base_compile= + srcfile="$nonopt" # always keep a non-empty value in "srcfile" + suppress_opt=yes + suppress_output= + arg_mode=normal + libobj= + later= + pie_flag= + + for arg + do + case $arg_mode in + arg ) + # do not "continue". Instead, add this to base_compile + lastarg="$arg" + arg_mode=normal + ;; + + target ) + libobj="$arg" + arg_mode=normal + continue + ;; + + normal ) + # Accept any command-line options. + case $arg in + -o) + test -n "$libobj" && \ + func_fatal_error "you cannot specify \`-o' more than once" + arg_mode=target + continue + ;; + + -pie | -fpie | -fPIE) + func_append pie_flag " $arg" + continue + ;; + + -shared | -static | -prefer-pic | -prefer-non-pic) + func_append later " $arg" + continue + ;; + + -no-suppress) + suppress_opt=no + continue + ;; + + -Xcompiler) + arg_mode=arg # the next one goes into the "base_compile" arg list + continue # The current "srcfile" will either be retained or + ;; # replaced later. I would guess that would be a bug. + + -Wc,*) + func_stripname '-Wc,' '' "$arg" + args=$func_stripname_result + lastarg= + save_ifs="$IFS"; IFS=',' + for arg in $args; do + IFS="$save_ifs" + func_append_quoted lastarg "$arg" + done + IFS="$save_ifs" + func_stripname ' ' '' "$lastarg" + lastarg=$func_stripname_result + + # Add the arguments to base_compile. + func_append base_compile " $lastarg" + continue + ;; + + *) + # Accept the current argument as the source file. + # The previous "srcfile" becomes the current argument. + # + lastarg="$srcfile" + srcfile="$arg" + ;; + esac # case $arg + ;; + esac # case $arg_mode + + # Aesthetically quote the previous argument. + func_append_quoted base_compile "$lastarg" + done # for arg + + case $arg_mode in + arg) + func_fatal_error "you must specify an argument for -Xcompile" + ;; + target) + func_fatal_error "you must specify a target with \`-o'" + ;; + *) + # Get the name of the library object. + test -z "$libobj" && { + func_basename "$srcfile" + libobj="$func_basename_result" + } + ;; + esac + + # Recognize several different file suffixes. + # If the user specifies -o file.o, it is replaced with file.lo + case $libobj in + *.[cCFSifmso] | \ + *.ada | *.adb | *.ads | *.asm | \ + *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \ + *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup) + func_xform "$libobj" + libobj=$func_xform_result + ;; + esac + + case $libobj in + *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;; + *) + func_fatal_error "cannot determine name of library object from \`$libobj'" + ;; + esac + + func_infer_tag $base_compile + + for arg in $later; do + case $arg in + -shared) + test "$build_libtool_libs" != yes && \ + func_fatal_configuration "can not build a shared library" + build_old_libs=no + continue + ;; + + -static) + build_libtool_libs=no + build_old_libs=yes + continue + ;; + + -prefer-pic) + pic_mode=yes + continue + ;; + + -prefer-non-pic) + pic_mode=no + continue + ;; + esac + done + + func_quote_for_eval "$libobj" + test "X$libobj" != "X$func_quote_for_eval_result" \ + && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \ + && func_warning "libobj name \`$libobj' may not contain shell special characters." + func_dirname_and_basename "$obj" "/" "" + objname="$func_basename_result" + xdir="$func_dirname_result" + lobj=${xdir}$objdir/$objname + + test -z "$base_compile" && \ + func_fatal_help "you must specify a compilation command" + + # Delete any leftover library objects. + if test "$build_old_libs" = yes; then + removelist="$obj $lobj $libobj ${libobj}T" + else + removelist="$lobj $libobj ${libobj}T" + fi + + # On Cygwin there's no "real" PIC flag so we must build both object types + case $host_os in + cygwin* | mingw* | pw32* | os2* | cegcc*) + pic_mode=default + ;; + esac + if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then + # non-PIC code in shared libraries is not supported + pic_mode=default + fi + + # Calculate the filename of the output object if compiler does + # not support -o with -c + if test "$compiler_c_o" = no; then + output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext} + lockfile="$output_obj.lock" + else + output_obj= + need_locks=no + lockfile= + fi + + # Lock this critical section if it is needed + # We use this script file to make the link, it avoids creating a new file + if test "$need_locks" = yes; then + until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do + func_echo "Waiting for $lockfile to be removed" + sleep 2 + done + elif test "$need_locks" = warn; then + if test -f "$lockfile"; then + $ECHO "\ +*** ERROR, $lockfile exists and contains: +`cat $lockfile 2>/dev/null` + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $opt_dry_run || $RM $removelist + exit $EXIT_FAILURE + fi + func_append removelist " $output_obj" + $ECHO "$srcfile" > "$lockfile" + fi + + $opt_dry_run || $RM $removelist + func_append removelist " $lockfile" + trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 + + func_to_tool_file "$srcfile" func_convert_file_msys_to_w32 + srcfile=$func_to_tool_file_result + func_quote_for_eval "$srcfile" + qsrcfile=$func_quote_for_eval_result + + # Only build a PIC object if we are building libtool libraries. + if test "$build_libtool_libs" = yes; then + # Without this assignment, base_compile gets emptied. + fbsd_hideous_sh_bug=$base_compile + + if test "$pic_mode" != no; then + command="$base_compile $qsrcfile $pic_flag" + else + # Don't build PIC code + command="$base_compile $qsrcfile" + fi + + func_mkdir_p "$xdir$objdir" + + if test -z "$output_obj"; then + # Place PIC objects in $objdir + func_append command " -o $lobj" + fi + + func_show_eval_locale "$command" \ + 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' + + if test "$need_locks" = warn && + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then + $ECHO "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $opt_dry_run || $RM $removelist + exit $EXIT_FAILURE + fi + + # Just move the object if needed, then go on to compile the next one + if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then + func_show_eval '$MV "$output_obj" "$lobj"' \ + 'error=$?; $opt_dry_run || $RM $removelist; exit $error' + fi + + # Allow error messages only from the first compilation. + if test "$suppress_opt" = yes; then + suppress_output=' >/dev/null 2>&1' + fi + fi + + # Only build a position-dependent object if we build old libraries. + if test "$build_old_libs" = yes; then + if test "$pic_mode" != yes; then + # Don't build PIC code + command="$base_compile $qsrcfile$pie_flag" + else + command="$base_compile $qsrcfile $pic_flag" + fi + if test "$compiler_c_o" = yes; then + func_append command " -o $obj" + fi + + # Suppress compiler output if we already did a PIC compilation. + func_append command "$suppress_output" + func_show_eval_locale "$command" \ + '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' + + if test "$need_locks" = warn && + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then + $ECHO "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $opt_dry_run || $RM $removelist + exit $EXIT_FAILURE + fi + + # Just move the object if needed + if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then + func_show_eval '$MV "$output_obj" "$obj"' \ + 'error=$?; $opt_dry_run || $RM $removelist; exit $error' + fi + fi + + $opt_dry_run || { + func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" + + # Unlock the critical section if it was locked + if test "$need_locks" != no; then + removelist=$lockfile + $RM "$lockfile" + fi + } + + exit $EXIT_SUCCESS +} + +$opt_help || { + test "$opt_mode" = compile && func_mode_compile ${1+"$@"} +} + +func_mode_help () +{ + # We need to display help for each of the modes. + case $opt_mode in + "") + # Generic help is extracted from the usage comments + # at the start of this file. + func_help + ;; + + clean) + $ECHO \ +"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE... + +Remove files from the build directory. + +RM is the name of the program to use to delete files associated with each FILE +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed +to RM. + +If FILE is a libtool library, object or program, all the files associated +with it are deleted. Otherwise, only FILE itself is deleted using RM." + ;; + + compile) + $ECHO \ +"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE + +Compile a source file into a libtool library object. + +This mode accepts the following additional options: + + -o OUTPUT-FILE set the output file name to OUTPUT-FILE + -no-suppress do not suppress compiler output for multiple passes + -prefer-pic try to build PIC objects only + -prefer-non-pic try to build non-PIC objects only + -shared do not build a \`.o' file suitable for static linking + -static only build a \`.o' file suitable for static linking + -Wc,FLAG pass FLAG directly to the compiler + +COMPILE-COMMAND is a command to be used in creating a \`standard' object file +from the given SOURCEFILE. + +The output file name is determined by removing the directory component from +SOURCEFILE, then substituting the C source code suffix \`.c' with the +library object suffix, \`.lo'." + ;; + + execute) + $ECHO \ +"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]... + +Automatically set library path, then run a program. + +This mode accepts the following additional options: + + -dlopen FILE add the directory containing FILE to the library path + +This mode sets the library path environment variable according to \`-dlopen' +flags. + +If any of the ARGS are libtool executable wrappers, then they are translated +into their corresponding uninstalled binary, and any of their required library +directories are added to the library path. + +Then, COMMAND is executed, with ARGS as arguments." + ;; + + finish) + $ECHO \ +"Usage: $progname [OPTION]... --mode=finish [LIBDIR]... + +Complete the installation of libtool libraries. + +Each LIBDIR is a directory that contains libtool libraries. + +The commands that this mode executes may require superuser privileges. Use +the \`--dry-run' option if you just want to see what would be executed." + ;; + + install) + $ECHO \ +"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND... + +Install executables or libraries. + +INSTALL-COMMAND is the installation command. The first component should be +either the \`install' or \`cp' program. + +The following components of INSTALL-COMMAND are treated specially: + + -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation + +The rest of the components are interpreted as arguments to that command (only +BSD-compatible install options are recognized)." + ;; + + link) + $ECHO \ +"Usage: $progname [OPTION]... --mode=link LINK-COMMAND... + +Link object files or libraries together to form another library, or to +create an executable program. + +LINK-COMMAND is a command using the C compiler that you would use to create +a program from several object files. + +The following components of LINK-COMMAND are treated specially: + + -all-static do not do any dynamic linking at all + -avoid-version do not add a version suffix if possible + -bindir BINDIR specify path to binaries directory (for systems where + libraries must be found in the PATH setting at runtime) + -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime + -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols + -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) + -export-symbols SYMFILE + try to export only the symbols listed in SYMFILE + -export-symbols-regex REGEX + try to export only the symbols matching REGEX + -LLIBDIR search LIBDIR for required installed libraries + -lNAME OUTPUT-FILE requires the installed library libNAME + -module build a library that can dlopened + -no-fast-install disable the fast-install mode + -no-install link a not-installable executable + -no-undefined declare that a library does not refer to external symbols + -o OUTPUT-FILE create OUTPUT-FILE from the specified objects + -objectlist FILE Use a list of object files found in FILE to specify objects + -precious-files-regex REGEX + don't remove output files matching REGEX + -release RELEASE specify package release information + -rpath LIBDIR the created library will eventually be installed in LIBDIR + -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries + -shared only do dynamic linking of libtool libraries + -shrext SUFFIX override the standard shared library file extension + -static do not do any dynamic linking of uninstalled libtool libraries + -static-libtool-libs + do not do any dynamic linking of libtool libraries + -version-info CURRENT[:REVISION[:AGE]] + specify library version info [each variable defaults to 0] + -weak LIBNAME declare that the target provides the LIBNAME interface + -Wc,FLAG + -Xcompiler FLAG pass linker-specific FLAG directly to the compiler + -Wl,FLAG + -Xlinker FLAG pass linker-specific FLAG directly to the linker + -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC) + +All other options (arguments beginning with \`-') are ignored. + +Every other argument is treated as a filename. Files ending in \`.la' are +treated as uninstalled libtool libraries, other files are standard or library +object files. + +If the OUTPUT-FILE ends in \`.la', then a libtool library is created, +only library objects (\`.lo' files) may be specified, and \`-rpath' is +required, except when creating a convenience library. + +If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created +using \`ar' and \`ranlib', or on Windows using \`lib'. + +If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file +is created, otherwise an executable program is created." + ;; + + uninstall) + $ECHO \ +"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... + +Remove libraries from an installation directory. + +RM is the name of the program to use to delete files associated with each FILE +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed +to RM. + +If FILE is a libtool library, all the files associated with it are deleted. +Otherwise, only FILE itself is deleted using RM." + ;; + + *) + func_fatal_help "invalid operation mode \`$opt_mode'" + ;; + esac + + echo + $ECHO "Try \`$progname --help' for more information about other modes." +} + +# Now that we've collected a possible --mode arg, show help if necessary +if $opt_help; then + if test "$opt_help" = :; then + func_mode_help + else + { + func_help noexit + for opt_mode in compile link execute install finish uninstall clean; do + func_mode_help + done + } | sed -n '1p; 2,$s/^Usage:/ or: /p' + { + func_help noexit + for opt_mode in compile link execute install finish uninstall clean; do + echo + func_mode_help + done + } | + sed '1d + /^When reporting/,/^Report/{ + H + d + } + $x + /information about other modes/d + /more detailed .*MODE/d + s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/' + fi + exit $? +fi + + +# func_mode_execute arg... +func_mode_execute () +{ + $opt_debug + # The first argument is the command name. + cmd="$nonopt" + test -z "$cmd" && \ + func_fatal_help "you must specify a COMMAND" + + # Handle -dlopen flags immediately. + for file in $opt_dlopen; do + test -f "$file" \ + || func_fatal_help "\`$file' is not a file" + + dir= + case $file in + *.la) + func_resolve_sysroot "$file" + file=$func_resolve_sysroot_result + + # Check to see that this really is a libtool archive. + func_lalib_unsafe_p "$file" \ + || func_fatal_help "\`$lib' is not a valid libtool archive" + + # Read the libtool library. + dlname= + library_names= + func_source "$file" + + # Skip this library if it cannot be dlopened. + if test -z "$dlname"; then + # Warn if it was a shared library. + test -n "$library_names" && \ + func_warning "\`$file' was not linked with \`-export-dynamic'" + continue + fi + + func_dirname "$file" "" "." + dir="$func_dirname_result" + + if test -f "$dir/$objdir/$dlname"; then + func_append dir "/$objdir" + else + if test ! -f "$dir/$dlname"; then + func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" + fi + fi + ;; + + *.lo) + # Just add the directory containing the .lo file. + func_dirname "$file" "" "." + dir="$func_dirname_result" + ;; + + *) + func_warning "\`-dlopen' is ignored for non-libtool libraries and objects" + continue + ;; + esac + + # Get the absolute pathname. + absdir=`cd "$dir" && pwd` + test -n "$absdir" && dir="$absdir" + + # Now add the directory to shlibpath_var. + if eval "test -z \"\$$shlibpath_var\""; then + eval "$shlibpath_var=\"\$dir\"" + else + eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" + fi + done + + # This variable tells wrapper scripts just to set shlibpath_var + # rather than running their programs. + libtool_execute_magic="$magic" + + # Check if any of the arguments is a wrapper script. + args= + for file + do + case $file in + -* | *.la | *.lo ) ;; + *) + # Do a test to see if this is really a libtool program. + if func_ltwrapper_script_p "$file"; then + func_source "$file" + # Transform arg to wrapped name. + file="$progdir/$program" + elif func_ltwrapper_executable_p "$file"; then + func_ltwrapper_scriptname "$file" + func_source "$func_ltwrapper_scriptname_result" + # Transform arg to wrapped name. + file="$progdir/$program" + fi + ;; + esac + # Quote arguments (to preserve shell metacharacters). + func_append_quoted args "$file" + done + + if test "X$opt_dry_run" = Xfalse; then + if test -n "$shlibpath_var"; then + # Export the shlibpath_var. + eval "export $shlibpath_var" + fi + + # Restore saved environment variables + for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES + do + eval "if test \"\${save_$lt_var+set}\" = set; then + $lt_var=\$save_$lt_var; export $lt_var + else + $lt_unset $lt_var + fi" + done + + # Now prepare to actually exec the command. + exec_cmd="\$cmd$args" + else + # Display what would be done. + if test -n "$shlibpath_var"; then + eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" + echo "export $shlibpath_var" + fi + $ECHO "$cmd$args" + exit $EXIT_SUCCESS + fi +} + +test "$opt_mode" = execute && func_mode_execute ${1+"$@"} + + +# func_mode_finish arg... +func_mode_finish () +{ + $opt_debug + libs= + libdirs= + admincmds= + + for opt in "$nonopt" ${1+"$@"} + do + if test -d "$opt"; then + func_append libdirs " $opt" + + elif test -f "$opt"; then + if func_lalib_unsafe_p "$opt"; then + func_append libs " $opt" + else + func_warning "\`$opt' is not a valid libtool archive" + fi + + else + func_fatal_error "invalid argument \`$opt'" + fi + done + + if test -n "$libs"; then + if test -n "$lt_sysroot"; then + sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"` + sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;" + else + sysroot_cmd= + fi + + # Remove sysroot references + if $opt_dry_run; then + for lib in $libs; do + echo "removing references to $lt_sysroot and \`=' prefixes from $lib" + done + else + tmpdir=`func_mktempdir` + for lib in $libs; do + sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \ + > $tmpdir/tmp-la + mv -f $tmpdir/tmp-la $lib + done + ${RM}r "$tmpdir" + fi + fi + + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then + for libdir in $libdirs; do + if test -n "$finish_cmds"; then + # Do each command in the finish commands. + func_execute_cmds "$finish_cmds" 'admincmds="$admincmds +'"$cmd"'"' + fi + if test -n "$finish_eval"; then + # Do the single finish_eval. + eval cmds=\"$finish_eval\" + $opt_dry_run || eval "$cmds" || func_append admincmds " + $cmds" + fi + done + fi + + # Exit here if they wanted silent mode. + $opt_silent && exit $EXIT_SUCCESS + + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then + echo "----------------------------------------------------------------------" + echo "Libraries have been installed in:" + for libdir in $libdirs; do + $ECHO " $libdir" + done + echo + echo "If you ever happen to want to link against installed libraries" + echo "in a given directory, LIBDIR, you must either use libtool, and" + echo "specify the full pathname of the library, or use the \`-LLIBDIR'" + echo "flag during linking and do at least one of the following:" + if test -n "$shlibpath_var"; then + echo " - add LIBDIR to the \`$shlibpath_var' environment variable" + echo " during execution" + fi + if test -n "$runpath_var"; then + echo " - add LIBDIR to the \`$runpath_var' environment variable" + echo " during linking" + fi + if test -n "$hardcode_libdir_flag_spec"; then + libdir=LIBDIR + eval flag=\"$hardcode_libdir_flag_spec\" + + $ECHO " - use the \`$flag' linker flag" + fi + if test -n "$admincmds"; then + $ECHO " - have your system administrator run these commands:$admincmds" + fi + if test -f /etc/ld.so.conf; then + echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" + fi + echo + + echo "See any operating system documentation about shared libraries for" + case $host in + solaris2.[6789]|solaris2.1[0-9]) + echo "more information, such as the ld(1), crle(1) and ld.so(8) manual" + echo "pages." + ;; + *) + echo "more information, such as the ld(1) and ld.so(8) manual pages." + ;; + esac + echo "----------------------------------------------------------------------" + fi + exit $EXIT_SUCCESS +} + +test "$opt_mode" = finish && func_mode_finish ${1+"$@"} + + +# func_mode_install arg... +func_mode_install () +{ + $opt_debug + # There may be an optional sh(1) argument at the beginning of + # install_prog (especially on Windows NT). + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || + # Allow the use of GNU shtool's install command. + case $nonopt in *shtool*) :;; *) false;; esac; then + # Aesthetically quote it. + func_quote_for_eval "$nonopt" + install_prog="$func_quote_for_eval_result " + arg=$1 + shift + else + install_prog= + arg=$nonopt + fi + + # The real first argument should be the name of the installation program. + # Aesthetically quote it. + func_quote_for_eval "$arg" + func_append install_prog "$func_quote_for_eval_result" + install_shared_prog=$install_prog + case " $install_prog " in + *[\\\ /]cp\ *) install_cp=: ;; + *) install_cp=false ;; + esac + + # We need to accept at least all the BSD install flags. + dest= + files= + opts= + prev= + install_type= + isdir=no + stripme= + no_mode=: + for arg + do + arg2= + if test -n "$dest"; then + func_append files " $dest" + dest=$arg + continue + fi + + case $arg in + -d) isdir=yes ;; + -f) + if $install_cp; then :; else + prev=$arg + fi + ;; + -g | -m | -o) + prev=$arg + ;; + -s) + stripme=" -s" + continue + ;; + -*) + ;; + *) + # If the previous option needed an argument, then skip it. + if test -n "$prev"; then + if test "x$prev" = x-m && test -n "$install_override_mode"; then + arg2=$install_override_mode + no_mode=false + fi + prev= + else + dest=$arg + continue + fi + ;; + esac + + # Aesthetically quote the argument. + func_quote_for_eval "$arg" + func_append install_prog " $func_quote_for_eval_result" + if test -n "$arg2"; then + func_quote_for_eval "$arg2" + fi + func_append install_shared_prog " $func_quote_for_eval_result" + done + + test -z "$install_prog" && \ + func_fatal_help "you must specify an install program" + + test -n "$prev" && \ + func_fatal_help "the \`$prev' option requires an argument" + + if test -n "$install_override_mode" && $no_mode; then + if $install_cp; then :; else + func_quote_for_eval "$install_override_mode" + func_append install_shared_prog " -m $func_quote_for_eval_result" + fi + fi + + if test -z "$files"; then + if test -z "$dest"; then + func_fatal_help "no file or destination specified" + else + func_fatal_help "you must specify a destination" + fi + fi + + # Strip any trailing slash from the destination. + func_stripname '' '/' "$dest" + dest=$func_stripname_result + + # Check to see that the destination is a directory. + test -d "$dest" && isdir=yes + if test "$isdir" = yes; then + destdir="$dest" + destname= + else + func_dirname_and_basename "$dest" "" "." + destdir="$func_dirname_result" + destname="$func_basename_result" + + # Not a directory, so check to see that there is only one file specified. + set dummy $files; shift + test "$#" -gt 1 && \ + func_fatal_help "\`$dest' is not a directory" + fi + case $destdir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + for file in $files; do + case $file in + *.lo) ;; + *) + func_fatal_help "\`$destdir' must be an absolute directory name" + ;; + esac + done + ;; + esac + + # This variable tells wrapper scripts just to set variables rather + # than running their programs. + libtool_install_magic="$magic" + + staticlibs= + future_libdirs= + current_libdirs= + for file in $files; do + + # Do each installation. + case $file in + *.$libext) + # Do the static libraries later. + func_append staticlibs " $file" + ;; + + *.la) + func_resolve_sysroot "$file" + file=$func_resolve_sysroot_result + + # Check to see that this really is a libtool archive. + func_lalib_unsafe_p "$file" \ + || func_fatal_help "\`$file' is not a valid libtool archive" + + library_names= + old_library= + relink_command= + func_source "$file" + + # Add the libdir to current_libdirs if it is the destination. + if test "X$destdir" = "X$libdir"; then + case "$current_libdirs " in + *" $libdir "*) ;; + *) func_append current_libdirs " $libdir" ;; + esac + else + # Note the libdir as a future libdir. + case "$future_libdirs " in + *" $libdir "*) ;; + *) func_append future_libdirs " $libdir" ;; + esac + fi + + func_dirname "$file" "/" "" + dir="$func_dirname_result" + func_append dir "$objdir" + + if test -n "$relink_command"; then + # Determine the prefix the user has applied to our future dir. + inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"` + + # Don't allow the user to place us outside of our expected + # location b/c this prevents finding dependent libraries that + # are installed to the same prefix. + # At present, this check doesn't affect windows .dll's that + # are installed into $libdir/../bin (currently, that works fine) + # but it's something to keep an eye on. + test "$inst_prefix_dir" = "$destdir" && \ + func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir" + + if test -n "$inst_prefix_dir"; then + # Stick the inst_prefix_dir data into the link command. + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` + else + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"` + fi + + func_warning "relinking \`$file'" + func_show_eval "$relink_command" \ + 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"' + fi + + # See the names of the shared library. + set dummy $library_names; shift + if test -n "$1"; then + realname="$1" + shift + + srcname="$realname" + test -n "$relink_command" && srcname="$realname"T + + # Install the shared library and build the symlinks. + func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \ + 'exit $?' + tstripme="$stripme" + case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + case $realname in + *.dll.a) + tstripme="" + ;; + esac + ;; + esac + if test -n "$tstripme" && test -n "$striplib"; then + func_show_eval "$striplib $destdir/$realname" 'exit $?' + fi + + if test "$#" -gt 0; then + # Delete the old symlinks, and create new ones. + # Try `ln -sf' first, because the `ln' binary might depend on + # the symlink we replace! Solaris /bin/ln does not understand -f, + # so we also need to try rm && ln -s. + for linkname + do + test "$linkname" != "$realname" \ + && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })" + done + fi + + # Do each command in the postinstall commands. + lib="$destdir/$realname" + func_execute_cmds "$postinstall_cmds" 'exit $?' + fi + + # Install the pseudo-library for information purposes. + func_basename "$file" + name="$func_basename_result" + instname="$dir/$name"i + func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' + + # Maybe install the static library, too. + test -n "$old_library" && func_append staticlibs " $dir/$old_library" + ;; + + *.lo) + # Install (i.e. copy) a libtool object. + + # Figure out destination file name, if it wasn't already specified. + if test -n "$destname"; then + destfile="$destdir/$destname" + else + func_basename "$file" + destfile="$func_basename_result" + destfile="$destdir/$destfile" + fi + + # Deduce the name of the destination old-style object file. + case $destfile in + *.lo) + func_lo2o "$destfile" + staticdest=$func_lo2o_result + ;; + *.$objext) + staticdest="$destfile" + destfile= + ;; + *) + func_fatal_help "cannot copy a libtool object to \`$destfile'" + ;; + esac + + # Install the libtool object if requested. + test -n "$destfile" && \ + func_show_eval "$install_prog $file $destfile" 'exit $?' + + # Install the old object if enabled. + if test "$build_old_libs" = yes; then + # Deduce the name of the old-style object file. + func_lo2o "$file" + staticobj=$func_lo2o_result + func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' + fi + exit $EXIT_SUCCESS + ;; + + *) + # Figure out destination file name, if it wasn't already specified. + if test -n "$destname"; then + destfile="$destdir/$destname" + else + func_basename "$file" + destfile="$func_basename_result" + destfile="$destdir/$destfile" + fi + + # If the file is missing, and there is a .exe on the end, strip it + # because it is most likely a libtool script we actually want to + # install + stripped_ext="" + case $file in + *.exe) + if test ! -f "$file"; then + func_stripname '' '.exe' "$file" + file=$func_stripname_result + stripped_ext=".exe" + fi + ;; + esac + + # Do a test to see if this is really a libtool program. + case $host in + *cygwin* | *mingw*) + if func_ltwrapper_executable_p "$file"; then + func_ltwrapper_scriptname "$file" + wrapper=$func_ltwrapper_scriptname_result + else + func_stripname '' '.exe' "$file" + wrapper=$func_stripname_result + fi + ;; + *) + wrapper=$file + ;; + esac + if func_ltwrapper_script_p "$wrapper"; then + notinst_deplibs= + relink_command= + + func_source "$wrapper" + + # Check the variables that should have been set. + test -z "$generated_by_libtool_version" && \ + func_fatal_error "invalid libtool wrapper script \`$wrapper'" + + finalize=yes + for lib in $notinst_deplibs; do + # Check to see that each library is installed. + libdir= + if test -f "$lib"; then + func_source "$lib" + fi + libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test + if test -n "$libdir" && test ! -f "$libfile"; then + func_warning "\`$lib' has not been installed in \`$libdir'" + finalize=no + fi + done + + relink_command= + func_source "$wrapper" + + outputname= + if test "$fast_install" = no && test -n "$relink_command"; then + $opt_dry_run || { + if test "$finalize" = yes; then + tmpdir=`func_mktempdir` + func_basename "$file$stripped_ext" + file="$func_basename_result" + outputname="$tmpdir/$file" + # Replace the output file specification. + relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` + + $opt_silent || { + func_quote_for_expand "$relink_command" + eval "func_echo $func_quote_for_expand_result" + } + if eval "$relink_command"; then : + else + func_error "error: relink \`$file' with the above command before installing it" + $opt_dry_run || ${RM}r "$tmpdir" + continue + fi + file="$outputname" + else + func_warning "cannot relink \`$file'" + fi + } + else + # Install the binary that we compiled earlier. + file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"` + fi + fi + + # remove .exe since cygwin /usr/bin/install will append another + # one anyway + case $install_prog,$host in + */usr/bin/install*,*cygwin*) + case $file:$destfile in + *.exe:*.exe) + # this is ok + ;; + *.exe:*) + destfile=$destfile.exe + ;; + *:*.exe) + func_stripname '' '.exe' "$destfile" + destfile=$func_stripname_result + ;; + esac + ;; + esac + func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?' + $opt_dry_run || if test -n "$outputname"; then + ${RM}r "$tmpdir" + fi + ;; + esac + done + + for file in $staticlibs; do + func_basename "$file" + name="$func_basename_result" + + # Set up the ranlib parameters. + oldlib="$destdir/$name" + func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 + tool_oldlib=$func_to_tool_file_result + + func_show_eval "$install_prog \$file \$oldlib" 'exit $?' + + if test -n "$stripme" && test -n "$old_striplib"; then + func_show_eval "$old_striplib $tool_oldlib" 'exit $?' + fi + + # Do each command in the postinstall commands. + func_execute_cmds "$old_postinstall_cmds" 'exit $?' + done + + test -n "$future_libdirs" && \ + func_warning "remember to run \`$progname --finish$future_libdirs'" + + if test -n "$current_libdirs"; then + # Maybe just do a dry run. + $opt_dry_run && current_libdirs=" -n$current_libdirs" + exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' + else + exit $EXIT_SUCCESS + fi +} + +test "$opt_mode" = install && func_mode_install ${1+"$@"} + + +# func_generate_dlsyms outputname originator pic_p +# Extract symbols from dlprefiles and create ${outputname}S.o with +# a dlpreopen symbol table. +func_generate_dlsyms () +{ + $opt_debug + my_outputname="$1" + my_originator="$2" + my_pic_p="${3-no}" + my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'` + my_dlsyms= + + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + if test -n "$NM" && test -n "$global_symbol_pipe"; then + my_dlsyms="${my_outputname}S.c" + else + func_error "not configured to extract global symbols from dlpreopened files" + fi + fi + + if test -n "$my_dlsyms"; then + case $my_dlsyms in + "") ;; + *.c) + # Discover the nlist of each of the dlfiles. + nlist="$output_objdir/${my_outputname}.nm" + + func_show_eval "$RM $nlist ${nlist}S ${nlist}T" + + # Parse the name list into a source file. + func_verbose "creating $output_objdir/$my_dlsyms" + + $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ +/* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */ +/* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */ + +#ifdef __cplusplus +extern \"C\" { +#endif + +#if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)) +#pragma GCC diagnostic ignored \"-Wstrict-prototypes\" +#endif + +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) +/* DATA imports from DLLs on WIN32 con't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT_DLSYM_CONST +#elif defined(__osf__) +/* This system does not cope well with relocations in const data. */ +# define LT_DLSYM_CONST +#else +# define LT_DLSYM_CONST const +#endif + +/* External symbol declarations for the compiler. */\ +" + + if test "$dlself" = yes; then + func_verbose "generating symbol list for \`$output'" + + $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" + + # Add our own program objects to the symbol list. + progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP` + for progfile in $progfiles; do + func_to_tool_file "$progfile" func_convert_file_msys_to_w32 + func_verbose "extracting global C symbols from \`$func_to_tool_file_result'" + $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'" + done + + if test -n "$exclude_expsyms"; then + $opt_dry_run || { + eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' + eval '$MV "$nlist"T "$nlist"' + } + fi + + if test -n "$export_symbols_regex"; then + $opt_dry_run || { + eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' + eval '$MV "$nlist"T "$nlist"' + } + fi + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + export_symbols="$output_objdir/$outputname.exp" + $opt_dry_run || { + $RM $export_symbols + eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' + case $host in + *cygwin* | *mingw* | *cegcc* ) + eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' + eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' + ;; + esac + } + else + $opt_dry_run || { + eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' + eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' + eval '$MV "$nlist"T "$nlist"' + case $host in + *cygwin* | *mingw* | *cegcc* ) + eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' + eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' + ;; + esac + } + fi + fi + + for dlprefile in $dlprefiles; do + func_verbose "extracting global C symbols from \`$dlprefile'" + func_basename "$dlprefile" + name="$func_basename_result" + case $host in + *cygwin* | *mingw* | *cegcc* ) + # if an import library, we need to obtain dlname + if func_win32_import_lib_p "$dlprefile"; then + func_tr_sh "$dlprefile" + eval "curr_lafile=\$libfile_$func_tr_sh_result" + dlprefile_dlbasename="" + if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then + # Use subshell, to avoid clobbering current variable values + dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"` + if test -n "$dlprefile_dlname" ; then + func_basename "$dlprefile_dlname" + dlprefile_dlbasename="$func_basename_result" + else + # no lafile. user explicitly requested -dlpreopen <import library>. + $sharedlib_from_linklib_cmd "$dlprefile" + dlprefile_dlbasename=$sharedlib_from_linklib_result + fi + fi + $opt_dry_run || { + if test -n "$dlprefile_dlbasename" ; then + eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"' + else + func_warning "Could not compute DLL name from $name" + eval '$ECHO ": $name " >> "$nlist"' + fi + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | + $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'" + } + else # not an import lib + $opt_dry_run || { + eval '$ECHO ": $name " >> "$nlist"' + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" + } + fi + ;; + *) + $opt_dry_run || { + eval '$ECHO ": $name " >> "$nlist"' + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" + } + ;; + esac + done + + $opt_dry_run || { + # Make sure we have at least an empty file. + test -f "$nlist" || : > "$nlist" + + if test -n "$exclude_expsyms"; then + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T + $MV "$nlist"T "$nlist" + fi + + # Try sorting and uniquifying the output. + if $GREP -v "^: " < "$nlist" | + if sort -k 3 </dev/null >/dev/null 2>&1; then + sort -k 3 + else + sort +2 + fi | + uniq > "$nlist"S; then + : + else + $GREP -v "^: " < "$nlist" > "$nlist"S + fi + + if test -f "$nlist"S; then + eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' + else + echo '/* NONE */' >> "$output_objdir/$my_dlsyms" + fi + + echo >> "$output_objdir/$my_dlsyms" "\ + +/* The mapping between symbol names and symbols. */ +typedef struct { + const char *name; + void *address; +} lt_dlsymlist; +extern LT_DLSYM_CONST lt_dlsymlist +lt_${my_prefix}_LTX_preloaded_symbols[]; +LT_DLSYM_CONST lt_dlsymlist +lt_${my_prefix}_LTX_preloaded_symbols[] = +{\ + { \"$my_originator\", (void *) 0 }," + + case $need_lib_prefix in + no) + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" + ;; + *) + eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" + ;; + esac + echo >> "$output_objdir/$my_dlsyms" "\ + {0, (void *) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt_${my_prefix}_LTX_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif\ +" + } # !$opt_dry_run + + pic_flag_for_symtable= + case "$compile_command " in + *" -static "*) ;; + *) + case $host in + # compiling the symbol table file with pic_flag works around + # a FreeBSD bug that causes programs to crash when -lm is + # linked before any other PIC object. But we must not use + # pic_flag when linking with -static. The problem exists in + # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. + *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) + pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; + *-*-hpux*) + pic_flag_for_symtable=" $pic_flag" ;; + *) + if test "X$my_pic_p" != Xno; then + pic_flag_for_symtable=" $pic_flag" + fi + ;; + esac + ;; + esac + symtab_cflags= + for arg in $LTCFLAGS; do + case $arg in + -pie | -fpie | -fPIE) ;; + *) func_append symtab_cflags " $arg" ;; + esac + done + + # Now compile the dynamic symbol file. + func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?' + + # Clean up the generated files. + func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"' + + # Transform the symbol file into the correct name. + symfileobj="$output_objdir/${my_outputname}S.$objext" + case $host in + *cygwin* | *mingw* | *cegcc* ) + if test -f "$output_objdir/$my_outputname.def"; then + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` + else + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` + fi + ;; + *) + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` + ;; + esac + ;; + *) + func_fatal_error "unknown suffix for \`$my_dlsyms'" + ;; + esac + else + # We keep going just in case the user didn't refer to + # lt_preloaded_symbols. The linker will fail if global_symbol_pipe + # really was required. + + # Nullify the symbol file. + compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"` + fi +} + +# func_win32_libid arg +# return the library type of file 'arg' +# +# Need a lot of goo to handle *both* DLLs and import libs +# Has to be a shell function in order to 'eat' the argument +# that is supplied when $file_magic_command is called. +# Despite the name, also deal with 64 bit binaries. +func_win32_libid () +{ + $opt_debug + win32_libid_type="unknown" + win32_fileres=`file -L $1 2>/dev/null` + case $win32_fileres in + *ar\ archive\ import\ library*) # definitely import + win32_libid_type="x86 archive import" + ;; + *ar\ archive*) # could be an import, or static + # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD. + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | + $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then + func_to_tool_file "$1" func_convert_file_msys_to_w32 + win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" | + $SED -n -e ' + 1,100{ + / I /{ + s,.*,import, + p + q + } + }'` + case $win32_nmres in + import*) win32_libid_type="x86 archive import";; + *) win32_libid_type="x86 archive static";; + esac + fi + ;; + *DLL*) + win32_libid_type="x86 DLL" + ;; + *executable*) # but shell scripts are "executable" too... + case $win32_fileres in + *MS\ Windows\ PE\ Intel*) + win32_libid_type="x86 DLL" + ;; + esac + ;; + esac + $ECHO "$win32_libid_type" +} + +# func_cygming_dll_for_implib ARG +# +# Platform-specific function to extract the +# name of the DLL associated with the specified +# import library ARG. +# Invoked by eval'ing the libtool variable +# $sharedlib_from_linklib_cmd +# Result is available in the variable +# $sharedlib_from_linklib_result +func_cygming_dll_for_implib () +{ + $opt_debug + sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"` +} + +# func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs +# +# The is the core of a fallback implementation of a +# platform-specific function to extract the name of the +# DLL associated with the specified import library LIBNAME. +# +# SECTION_NAME is either .idata$6 or .idata$7, depending +# on the platform and compiler that created the implib. +# +# Echos the name of the DLL associated with the +# specified import library. +func_cygming_dll_for_implib_fallback_core () +{ + $opt_debug + match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"` + $OBJDUMP -s --section "$1" "$2" 2>/dev/null | + $SED '/^Contents of section '"$match_literal"':/{ + # Place marker at beginning of archive member dllname section + s/.*/====MARK====/ + p + d + } + # These lines can sometimes be longer than 43 characters, but + # are always uninteresting + /:[ ]*file format pe[i]\{,1\}-/d + /^In archive [^:]*:/d + # Ensure marker is printed + /^====MARK====/p + # Remove all lines with less than 43 characters + /^.\{43\}/!d + # From remaining lines, remove first 43 characters + s/^.\{43\}//' | + $SED -n ' + # Join marker and all lines until next marker into a single line + /^====MARK====/ b para + H + $ b para + b + :para + x + s/\n//g + # Remove the marker + s/^====MARK====// + # Remove trailing dots and whitespace + s/[\. \t]*$// + # Print + /./p' | + # we now have a list, one entry per line, of the stringified + # contents of the appropriate section of all members of the + # archive which possess that section. Heuristic: eliminate + # all those which have a first or second character that is + # a '.' (that is, objdump's representation of an unprintable + # character.) This should work for all archives with less than + # 0x302f exports -- but will fail for DLLs whose name actually + # begins with a literal '.' or a single character followed by + # a '.'. + # + # Of those that remain, print the first one. + $SED -e '/^\./d;/^.\./d;q' +} + +# func_cygming_gnu_implib_p ARG +# This predicate returns with zero status (TRUE) if +# ARG is a GNU/binutils-style import library. Returns +# with nonzero status (FALSE) otherwise. +func_cygming_gnu_implib_p () +{ + $opt_debug + func_to_tool_file "$1" func_convert_file_msys_to_w32 + func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'` + test -n "$func_cygming_gnu_implib_tmp" +} + +# func_cygming_ms_implib_p ARG +# This predicate returns with zero status (TRUE) if +# ARG is an MS-style import library. Returns +# with nonzero status (FALSE) otherwise. +func_cygming_ms_implib_p () +{ + $opt_debug + func_to_tool_file "$1" func_convert_file_msys_to_w32 + func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'` + test -n "$func_cygming_ms_implib_tmp" +} + +# func_cygming_dll_for_implib_fallback ARG +# Platform-specific function to extract the +# name of the DLL associated with the specified +# import library ARG. +# +# This fallback implementation is for use when $DLLTOOL +# does not support the --identify-strict option. +# Invoked by eval'ing the libtool variable +# $sharedlib_from_linklib_cmd +# Result is available in the variable +# $sharedlib_from_linklib_result +func_cygming_dll_for_implib_fallback () +{ + $opt_debug + if func_cygming_gnu_implib_p "$1" ; then + # binutils import library + sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"` + elif func_cygming_ms_implib_p "$1" ; then + # ms-generated import library + sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"` + else + # unknown + sharedlib_from_linklib_result="" + fi +} + + +# func_extract_an_archive dir oldlib +func_extract_an_archive () +{ + $opt_debug + f_ex_an_ar_dir="$1"; shift + f_ex_an_ar_oldlib="$1" + if test "$lock_old_archive_extraction" = yes; then + lockfile=$f_ex_an_ar_oldlib.lock + until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do + func_echo "Waiting for $lockfile to be removed" + sleep 2 + done + fi + func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \ + 'stat=$?; rm -f "$lockfile"; exit $stat' + if test "$lock_old_archive_extraction" = yes; then + $opt_dry_run || rm -f "$lockfile" + fi + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then + : + else + func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" + fi +} + + +# func_extract_archives gentop oldlib ... +func_extract_archives () +{ + $opt_debug + my_gentop="$1"; shift + my_oldlibs=${1+"$@"} + my_oldobjs="" + my_xlib="" + my_xabs="" + my_xdir="" + + for my_xlib in $my_oldlibs; do + # Extract the objects. + case $my_xlib in + [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; + *) my_xabs=`pwd`"/$my_xlib" ;; + esac + func_basename "$my_xlib" + my_xlib="$func_basename_result" + my_xlib_u=$my_xlib + while :; do + case " $extracted_archives " in + *" $my_xlib_u "*) + func_arith $extracted_serial + 1 + extracted_serial=$func_arith_result + my_xlib_u=lt$extracted_serial-$my_xlib ;; + *) break ;; + esac + done + extracted_archives="$extracted_archives $my_xlib_u" + my_xdir="$my_gentop/$my_xlib_u" + + func_mkdir_p "$my_xdir" + + case $host in + *-darwin*) + func_verbose "Extracting $my_xabs" + # Do not bother doing anything if just a dry run + $opt_dry_run || { + darwin_orig_dir=`pwd` + cd $my_xdir || exit $? + darwin_archive=$my_xabs + darwin_curdir=`pwd` + darwin_base_archive=`basename "$darwin_archive"` + darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` + if test -n "$darwin_arches"; then + darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` + darwin_arch= + func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" + for darwin_arch in $darwin_arches ; do + func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}" + $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" + cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" + func_extract_an_archive "`pwd`" "${darwin_base_archive}" + cd "$darwin_curdir" + $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" + done # $darwin_arches + ## Okay now we've a bunch of thin objects, gotta fatten them up :) + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u` + darwin_file= + darwin_files= + for darwin_file in $darwin_filelist; do + darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP` + $LIPO -create -output "$darwin_file" $darwin_files + done # $darwin_filelist + $RM -rf unfat-$$ + cd "$darwin_orig_dir" + else + cd $darwin_orig_dir + func_extract_an_archive "$my_xdir" "$my_xabs" + fi # $darwin_arches + } # !$opt_dry_run + ;; + *) + func_extract_an_archive "$my_xdir" "$my_xabs" + ;; + esac + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP` + done + + func_extract_archives_result="$my_oldobjs" +} + + +# func_emit_wrapper [arg=no] +# +# Emit a libtool wrapper script on stdout. +# Don't directly open a file because we may want to +# incorporate the script contents within a cygwin/mingw +# wrapper executable. Must ONLY be called from within +# func_mode_link because it depends on a number of variables +# set therein. +# +# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR +# variable will take. If 'yes', then the emitted script +# will assume that the directory in which it is stored is +# the $objdir directory. This is a cygwin/mingw-specific +# behavior. +func_emit_wrapper () +{ + func_emit_wrapper_arg1=${1-no} + + $ECHO "\ +#! $SHELL + +# $output - temporary wrapper script for $objdir/$outputname +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION +# +# The $output program cannot be directly executed until all the libtool +# libraries that it depends on are installed. +# +# This wrapper script should never be moved out of the build directory. +# If it is, it will not operate correctly. + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +sed_quote_subst='$sed_quote_subst' + +# Be Bourne compatible +if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac +fi +BIN_SH=xpg4; export BIN_SH # for Tru64 +DUALCASE=1; export DUALCASE # for MKS sh + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +relink_command=\"$relink_command\" + +# This environment variable determines our operation mode. +if test \"\$libtool_install_magic\" = \"$magic\"; then + # install mode needs the following variables: + generated_by_libtool_version='$macro_version' + notinst_deplibs='$notinst_deplibs' +else + # When we are sourced in execute mode, \$file and \$ECHO are already set. + if test \"\$libtool_execute_magic\" != \"$magic\"; then + file=\"\$0\"" + + qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"` + $ECHO "\ + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$1 +_LTECHO_EOF' +} + ECHO=\"$qECHO\" + fi + +# Very basic option parsing. These options are (a) specific to +# the libtool wrapper, (b) are identical between the wrapper +# /script/ and the wrapper /executable/ which is used only on +# windows platforms, and (c) all begin with the string "--lt-" +# (application programs are unlikely to have options which match +# this pattern). +# +# There are only two supported options: --lt-debug and +# --lt-dump-script. There is, deliberately, no --lt-help. +# +# The first argument to this parsing function should be the +# script's $0 value, followed by "$@". +lt_option_debug= +func_parse_lt_options () +{ + lt_script_arg0=\$0 + shift + for lt_opt + do + case \"\$lt_opt\" in + --lt-debug) lt_option_debug=1 ;; + --lt-dump-script) + lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\` + test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=. + lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\` + cat \"\$lt_dump_D/\$lt_dump_F\" + exit 0 + ;; + --lt-*) + \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2 + exit 1 + ;; + esac + done + + # Print the debug banner immediately: + if test -n \"\$lt_option_debug\"; then + echo \"${outputname}:${output}:\${LINENO}: libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\" 1>&2 + fi +} + +# Used when --lt-debug. Prints its arguments to stdout +# (redirection is the responsibility of the caller) +func_lt_dump_args () +{ + lt_dump_args_N=1; + for lt_arg + do + \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[\$lt_dump_args_N]: \$lt_arg\" + lt_dump_args_N=\`expr \$lt_dump_args_N + 1\` + done +} + +# Core function for launching the target application +func_exec_program_core () +{ +" + case $host in + # Backslashes separate directories on plain windows + *-*-mingw | *-*-os2* | *-cegcc*) + $ECHO "\ + if test -n \"\$lt_option_debug\"; then + \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2 + func_lt_dump_args \${1+\"\$@\"} 1>&2 + fi + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} +" + ;; + + *) + $ECHO "\ + if test -n \"\$lt_option_debug\"; then + \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2 + func_lt_dump_args \${1+\"\$@\"} 1>&2 + fi + exec \"\$progdir/\$program\" \${1+\"\$@\"} +" + ;; + esac + $ECHO "\ + \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 + exit 1 +} + +# A function to encapsulate launching the target application +# Strips options in the --lt-* namespace from \$@ and +# launches target application with the remaining arguments. +func_exec_program () +{ + case \" \$* \" in + *\\ --lt-*) + for lt_wr_arg + do + case \$lt_wr_arg in + --lt-*) ;; + *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; + esac + shift + done ;; + esac + func_exec_program_core \${1+\"\$@\"} +} + + # Parse options + func_parse_lt_options \"\$0\" \${1+\"\$@\"} + + # Find the directory that this script lives in. + thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\` + test \"x\$thisdir\" = \"x\$file\" && thisdir=. + + # Follow symbolic links until we get to the real thisdir. + file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\` + while test -n \"\$file\"; do + destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\` + + # If there was a directory component, then change thisdir. + if test \"x\$destdir\" != \"x\$file\"; then + case \"\$destdir\" in + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; + *) thisdir=\"\$thisdir/\$destdir\" ;; + esac + fi + + file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\` + file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\` + done + + # Usually 'no', except on cygwin/mingw when embedded into + # the cwrapper. + WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1 + if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then + # special case for '.' + if test \"\$thisdir\" = \".\"; then + thisdir=\`pwd\` + fi + # remove .libs from thisdir + case \"\$thisdir\" in + *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;; + $objdir ) thisdir=. ;; + esac + fi + + # Try to get the absolute directory name. + absdir=\`cd \"\$thisdir\" && pwd\` + test -n \"\$absdir\" && thisdir=\"\$absdir\" +" + + if test "$fast_install" = yes; then + $ECHO "\ + program=lt-'$outputname'$exeext + progdir=\"\$thisdir/$objdir\" + + if test ! -f \"\$progdir/\$program\" || + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ + test \"X\$file\" != \"X\$progdir/\$program\"; }; then + + file=\"\$\$-\$program\" + + if test ! -d \"\$progdir\"; then + $MKDIR \"\$progdir\" + else + $RM \"\$progdir/\$file\" + fi" + + $ECHO "\ + + # relink executable if necessary + if test -n \"\$relink_command\"; then + if relink_command_output=\`eval \$relink_command 2>&1\`; then : + else + $ECHO \"\$relink_command_output\" >&2 + $RM \"\$progdir/\$file\" + exit 1 + fi + fi + + $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || + { $RM \"\$progdir/\$program\"; + $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } + $RM \"\$progdir/\$file\" + fi" + else + $ECHO "\ + program='$outputname' + progdir=\"\$thisdir/$objdir\" +" + fi + + $ECHO "\ + + if test -f \"\$progdir/\$program\"; then" + + # fixup the dll searchpath if we need to. + # + # Fix the DLL searchpath if we need to. Do this before prepending + # to shlibpath, because on Windows, both are PATH and uninstalled + # libraries must come first. + if test -n "$dllsearchpath"; then + $ECHO "\ + # Add the dll search path components to the executable PATH + PATH=$dllsearchpath:\$PATH +" + fi + + # Export our shlibpath_var if we have one. + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then + $ECHO "\ + # Add our own library path to $shlibpath_var + $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" + + # Some systems cannot cope with colon-terminated $shlibpath_var + # The second colon is a workaround for a bug in BeOS R4 sed + $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\` + + export $shlibpath_var +" + fi + + $ECHO "\ + if test \"\$libtool_execute_magic\" != \"$magic\"; then + # Run the actual program with our arguments. + func_exec_program \${1+\"\$@\"} + fi + else + # The program doesn't exist. + \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 + \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 + \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 + exit 1 + fi +fi\ +" +} + + +# func_emit_cwrapperexe_src +# emit the source code for a wrapper executable on stdout +# Must ONLY be called from within func_mode_link because +# it depends on a number of variable set therein. +func_emit_cwrapperexe_src () +{ + cat <<EOF + +/* $cwrappersource - temporary wrapper executable for $objdir/$outputname + Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION + + The $output program cannot be directly executed until all the libtool + libraries that it depends on are installed. + + This wrapper executable should never be moved out of the build directory. + If it is, it will not operate correctly. +*/ +EOF + cat <<"EOF" +#ifdef _MSC_VER +# define _CRT_SECURE_NO_DEPRECATE 1 +#endif +#include <stdio.h> +#include <stdlib.h> +#ifdef _MSC_VER +# include <direct.h> +# include <process.h> +# include <io.h> +#else +# include <unistd.h> +# include <stdint.h> +# ifdef __CYGWIN__ +# include <io.h> +# endif +#endif +#include <malloc.h> +#include <stdarg.h> +#include <assert.h> +#include <string.h> +#include <ctype.h> +#include <errno.h> +#include <fcntl.h> +#include <sys/stat.h> + +/* declarations of non-ANSI functions */ +#if defined(__MINGW32__) +# ifdef __STRICT_ANSI__ +int _putenv (const char *); +# endif +#elif defined(__CYGWIN__) +# ifdef __STRICT_ANSI__ +char *realpath (const char *, char *); +int putenv (char *); +int setenv (const char *, const char *, int); +# endif +/* #elif defined (other platforms) ... */ +#endif + +/* portability defines, excluding path handling macros */ +#if defined(_MSC_VER) +# define setmode _setmode +# define stat _stat +# define chmod _chmod +# define getcwd _getcwd +# define putenv _putenv +# define S_IXUSR _S_IEXEC +# ifndef _INTPTR_T_DEFINED +# define _INTPTR_T_DEFINED +# define intptr_t int +# endif +#elif defined(__MINGW32__) +# define setmode _setmode +# define stat _stat +# define chmod _chmod +# define getcwd _getcwd +# define putenv _putenv +#elif defined(__CYGWIN__) +# define HAVE_SETENV +# define FOPEN_WB "wb" +/* #elif defined (other platforms) ... */ +#endif + +#if defined(PATH_MAX) +# define LT_PATHMAX PATH_MAX +#elif defined(MAXPATHLEN) +# define LT_PATHMAX MAXPATHLEN +#else +# define LT_PATHMAX 1024 +#endif + +#ifndef S_IXOTH +# define S_IXOTH 0 +#endif +#ifndef S_IXGRP +# define S_IXGRP 0 +#endif + +/* path handling portability macros */ +#ifndef DIR_SEPARATOR +# define DIR_SEPARATOR '/' +# define PATH_SEPARATOR ':' +#endif + +#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ + defined (__OS2__) +# define HAVE_DOS_BASED_FILE_SYSTEM +# define FOPEN_WB "wb" +# ifndef DIR_SEPARATOR_2 +# define DIR_SEPARATOR_2 '\\' +# endif +# ifndef PATH_SEPARATOR_2 +# define PATH_SEPARATOR_2 ';' +# endif +#endif + +#ifndef DIR_SEPARATOR_2 +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) +#else /* DIR_SEPARATOR_2 */ +# define IS_DIR_SEPARATOR(ch) \ + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) +#endif /* DIR_SEPARATOR_2 */ + +#ifndef PATH_SEPARATOR_2 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) +#else /* PATH_SEPARATOR_2 */ +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) +#endif /* PATH_SEPARATOR_2 */ + +#ifndef FOPEN_WB +# define FOPEN_WB "w" +#endif +#ifndef _O_BINARY +# define _O_BINARY 0 +#endif + +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) +#define XFREE(stale) do { \ + if (stale) { free ((void *) stale); stale = 0; } \ +} while (0) + +#if defined(LT_DEBUGWRAPPER) +static int lt_debug = 1; +#else +static int lt_debug = 0; +#endif + +const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */ + +void *xmalloc (size_t num); +char *xstrdup (const char *string); +const char *base_name (const char *name); +char *find_executable (const char *wrapper); +char *chase_symlinks (const char *pathspec); +int make_executable (const char *path); +int check_executable (const char *path); +char *strendzap (char *str, const char *pat); +void lt_debugprintf (const char *file, int line, const char *fmt, ...); +void lt_fatal (const char *file, int line, const char *message, ...); +static const char *nonnull (const char *s); +static const char *nonempty (const char *s); +void lt_setenv (const char *name, const char *value); +char *lt_extend_str (const char *orig_value, const char *add, int to_end); +void lt_update_exe_path (const char *name, const char *value); +void lt_update_lib_path (const char *name, const char *value); +char **prepare_spawn (char **argv); +void lt_dump_script (FILE *f); +EOF + + cat <<EOF +volatile const char * MAGIC_EXE = "$magic_exe"; +const char * LIB_PATH_VARNAME = "$shlibpath_var"; +EOF + + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then + func_to_host_path "$temp_rpath" + cat <<EOF +const char * LIB_PATH_VALUE = "$func_to_host_path_result"; +EOF + else + cat <<"EOF" +const char * LIB_PATH_VALUE = ""; +EOF + fi + + if test -n "$dllsearchpath"; then + func_to_host_path "$dllsearchpath:" + cat <<EOF +const char * EXE_PATH_VARNAME = "PATH"; +const char * EXE_PATH_VALUE = "$func_to_host_path_result"; +EOF + else + cat <<"EOF" +const char * EXE_PATH_VARNAME = ""; +const char * EXE_PATH_VALUE = ""; +EOF + fi + + if test "$fast_install" = yes; then + cat <<EOF +const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */ +EOF + else + cat <<EOF +const char * TARGET_PROGRAM_NAME = "$outputname"; /* hopefully, no .exe */ +EOF + fi + + + cat <<"EOF" + +#define LTWRAPPER_OPTION_PREFIX "--lt-" + +static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX; +static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script"; +static const char *debug_opt = LTWRAPPER_OPTION_PREFIX "debug"; + +int +main (int argc, char *argv[]) +{ + char **newargz; + int newargc; + char *tmp_pathspec; + char *actual_cwrapper_path; + char *actual_cwrapper_name; + char *target_name; + char *lt_argv_zero; + intptr_t rval = 127; + + int i; + + program_name = (char *) xstrdup (base_name (argv[0])); + newargz = XMALLOC (char *, argc + 1); + + /* very simple arg parsing; don't want to rely on getopt + * also, copy all non cwrapper options to newargz, except + * argz[0], which is handled differently + */ + newargc=0; + for (i = 1; i < argc; i++) + { + if (strcmp (argv[i], dumpscript_opt) == 0) + { +EOF + case "$host" in + *mingw* | *cygwin* ) + # make stdout use "unix" line endings + echo " setmode(1,_O_BINARY);" + ;; + esac + + cat <<"EOF" + lt_dump_script (stdout); + return 0; + } + if (strcmp (argv[i], debug_opt) == 0) + { + lt_debug = 1; + continue; + } + if (strcmp (argv[i], ltwrapper_option_prefix) == 0) + { + /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX + namespace, but it is not one of the ones we know about and + have already dealt with, above (inluding dump-script), then + report an error. Otherwise, targets might begin to believe + they are allowed to use options in the LTWRAPPER_OPTION_PREFIX + namespace. The first time any user complains about this, we'll + need to make LTWRAPPER_OPTION_PREFIX a configure-time option + or a configure.ac-settable value. + */ + lt_fatal (__FILE__, __LINE__, + "unrecognized %s option: '%s'", + ltwrapper_option_prefix, argv[i]); + } + /* otherwise ... */ + newargz[++newargc] = xstrdup (argv[i]); + } + newargz[++newargc] = NULL; + +EOF + cat <<EOF + /* The GNU banner must be the first non-error debug message */ + lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\n"); +EOF + cat <<"EOF" + lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\n", argv[0]); + lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name); + + tmp_pathspec = find_executable (argv[0]); + if (tmp_pathspec == NULL) + lt_fatal (__FILE__, __LINE__, "couldn't find %s", argv[0]); + lt_debugprintf (__FILE__, __LINE__, + "(main) found exe (before symlink chase) at: %s\n", + tmp_pathspec); + + actual_cwrapper_path = chase_symlinks (tmp_pathspec); + lt_debugprintf (__FILE__, __LINE__, + "(main) found exe (after symlink chase) at: %s\n", + actual_cwrapper_path); + XFREE (tmp_pathspec); + + actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path)); + strendzap (actual_cwrapper_path, actual_cwrapper_name); + + /* wrapper name transforms */ + strendzap (actual_cwrapper_name, ".exe"); + tmp_pathspec = lt_extend_str (actual_cwrapper_name, ".exe", 1); + XFREE (actual_cwrapper_name); + actual_cwrapper_name = tmp_pathspec; + tmp_pathspec = 0; + + /* target_name transforms -- use actual target program name; might have lt- prefix */ + target_name = xstrdup (base_name (TARGET_PROGRAM_NAME)); + strendzap (target_name, ".exe"); + tmp_pathspec = lt_extend_str (target_name, ".exe", 1); + XFREE (target_name); + target_name = tmp_pathspec; + tmp_pathspec = 0; + + lt_debugprintf (__FILE__, __LINE__, + "(main) libtool target name: %s\n", + target_name); +EOF + + cat <<EOF + newargz[0] = + XMALLOC (char, (strlen (actual_cwrapper_path) + + strlen ("$objdir") + 1 + strlen (actual_cwrapper_name) + 1)); + strcpy (newargz[0], actual_cwrapper_path); + strcat (newargz[0], "$objdir"); + strcat (newargz[0], "/"); +EOF + + cat <<"EOF" + /* stop here, and copy so we don't have to do this twice */ + tmp_pathspec = xstrdup (newargz[0]); + + /* do NOT want the lt- prefix here, so use actual_cwrapper_name */ + strcat (newargz[0], actual_cwrapper_name); + + /* DO want the lt- prefix here if it exists, so use target_name */ + lt_argv_zero = lt_extend_str (tmp_pathspec, target_name, 1); + XFREE (tmp_pathspec); + tmp_pathspec = NULL; +EOF + + case $host_os in + mingw*) + cat <<"EOF" + { + char* p; + while ((p = strchr (newargz[0], '\\')) != NULL) + { + *p = '/'; + } + while ((p = strchr (lt_argv_zero, '\\')) != NULL) + { + *p = '/'; + } + } +EOF + ;; + esac + + cat <<"EOF" + XFREE (target_name); + XFREE (actual_cwrapper_path); + XFREE (actual_cwrapper_name); + + lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */ + lt_setenv ("DUALCASE", "1"); /* for MSK sh */ + /* Update the DLL searchpath. EXE_PATH_VALUE ($dllsearchpath) must + be prepended before (that is, appear after) LIB_PATH_VALUE ($temp_rpath) + because on Windows, both *_VARNAMEs are PATH but uninstalled + libraries must come first. */ + lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE); + lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE); + + lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n", + nonnull (lt_argv_zero)); + for (i = 0; i < newargc; i++) + { + lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n", + i, nonnull (newargz[i])); + } + +EOF + + case $host_os in + mingw*) + cat <<"EOF" + /* execv doesn't actually work on mingw as expected on unix */ + newargz = prepare_spawn (newargz); + rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz); + if (rval == -1) + { + /* failed to start process */ + lt_debugprintf (__FILE__, __LINE__, + "(main) failed to launch target \"%s\": %s\n", + lt_argv_zero, nonnull (strerror (errno))); + return 127; + } + return rval; +EOF + ;; + *) + cat <<"EOF" + execv (lt_argv_zero, newargz); + return rval; /* =127, but avoids unused variable warning */ +EOF + ;; + esac + + cat <<"EOF" +} + +void * +xmalloc (size_t num) +{ + void *p = (void *) malloc (num); + if (!p) + lt_fatal (__FILE__, __LINE__, "memory exhausted"); + + return p; +} + +char * +xstrdup (const char *string) +{ + return string ? strcpy ((char *) xmalloc (strlen (string) + 1), + string) : NULL; +} + +const char * +base_name (const char *name) +{ + const char *base; + +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + /* Skip over the disk name in MSDOS pathnames. */ + if (isalpha ((unsigned char) name[0]) && name[1] == ':') + name += 2; +#endif + + for (base = name; *name; name++) + if (IS_DIR_SEPARATOR (*name)) + base = name + 1; + return base; +} + +int +check_executable (const char *path) +{ + struct stat st; + + lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n", + nonempty (path)); + if ((!path) || (!*path)) + return 0; + + if ((stat (path, &st) >= 0) + && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) + return 1; + else + return 0; +} + +int +make_executable (const char *path) +{ + int rval = 0; + struct stat st; + + lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n", + nonempty (path)); + if ((!path) || (!*path)) + return 0; + + if (stat (path, &st) >= 0) + { + rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); + } + return rval; +} + +/* Searches for the full path of the wrapper. Returns + newly allocated full path name if found, NULL otherwise + Does not chase symlinks, even on platforms that support them. +*/ +char * +find_executable (const char *wrapper) +{ + int has_slash = 0; + const char *p; + const char *p_next; + /* static buffer for getcwd */ + char tmp[LT_PATHMAX + 1]; + int tmp_len; + char *concat_name; + + lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n", + nonempty (wrapper)); + + if ((wrapper == NULL) || (*wrapper == '\0')) + return NULL; + + /* Absolute path? */ +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':') + { + concat_name = xstrdup (wrapper); + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + } + else + { +#endif + if (IS_DIR_SEPARATOR (wrapper[0])) + { + concat_name = xstrdup (wrapper); + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + } +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + } +#endif + + for (p = wrapper; *p; p++) + if (*p == '/') + { + has_slash = 1; + break; + } + if (!has_slash) + { + /* no slashes; search PATH */ + const char *path = getenv ("PATH"); + if (path != NULL) + { + for (p = path; *p; p = p_next) + { + const char *q; + size_t p_len; + for (q = p; *q; q++) + if (IS_PATH_SEPARATOR (*q)) + break; + p_len = q - p; + p_next = (*q == '\0' ? q : q + 1); + if (p_len == 0) + { + /* empty path: current directory */ + if (getcwd (tmp, LT_PATHMAX) == NULL) + lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", + nonnull (strerror (errno))); + tmp_len = strlen (tmp); + concat_name = + XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); + memcpy (concat_name, tmp, tmp_len); + concat_name[tmp_len] = '/'; + strcpy (concat_name + tmp_len + 1, wrapper); + } + else + { + concat_name = + XMALLOC (char, p_len + 1 + strlen (wrapper) + 1); + memcpy (concat_name, p, p_len); + concat_name[p_len] = '/'; + strcpy (concat_name + p_len + 1, wrapper); + } + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + } + } + /* not found in PATH; assume curdir */ + } + /* Relative path | not found in path: prepend cwd */ + if (getcwd (tmp, LT_PATHMAX) == NULL) + lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", + nonnull (strerror (errno))); + tmp_len = strlen (tmp); + concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); + memcpy (concat_name, tmp, tmp_len); + concat_name[tmp_len] = '/'; + strcpy (concat_name + tmp_len + 1, wrapper); + + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + return NULL; +} + +char * +chase_symlinks (const char *pathspec) +{ +#ifndef S_ISLNK + return xstrdup (pathspec); +#else + char buf[LT_PATHMAX]; + struct stat s; + char *tmp_pathspec = xstrdup (pathspec); + char *p; + int has_symlinks = 0; + while (strlen (tmp_pathspec) && !has_symlinks) + { + lt_debugprintf (__FILE__, __LINE__, + "checking path component for symlinks: %s\n", + tmp_pathspec); + if (lstat (tmp_pathspec, &s) == 0) + { + if (S_ISLNK (s.st_mode) != 0) + { + has_symlinks = 1; + break; + } + + /* search backwards for last DIR_SEPARATOR */ + p = tmp_pathspec + strlen (tmp_pathspec) - 1; + while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) + p--; + if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) + { + /* no more DIR_SEPARATORS left */ + break; + } + *p = '\0'; + } + else + { + lt_fatal (__FILE__, __LINE__, + "error accessing file \"%s\": %s", + tmp_pathspec, nonnull (strerror (errno))); + } + } + XFREE (tmp_pathspec); + + if (!has_symlinks) + { + return xstrdup (pathspec); + } + + tmp_pathspec = realpath (pathspec, buf); + if (tmp_pathspec == 0) + { + lt_fatal (__FILE__, __LINE__, + "could not follow symlinks for %s", pathspec); + } + return xstrdup (tmp_pathspec); +#endif +} + +char * +strendzap (char *str, const char *pat) +{ + size_t len, patlen; + + assert (str != NULL); + assert (pat != NULL); + + len = strlen (str); + patlen = strlen (pat); + + if (patlen <= len) + { + str += len - patlen; + if (strcmp (str, pat) == 0) + *str = '\0'; + } + return str; +} + +void +lt_debugprintf (const char *file, int line, const char *fmt, ...) +{ + va_list args; + if (lt_debug) + { + (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line); + va_start (args, fmt); + (void) vfprintf (stderr, fmt, args); + va_end (args); + } +} + +static void +lt_error_core (int exit_status, const char *file, + int line, const char *mode, + const char *message, va_list ap) +{ + fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode); + vfprintf (stderr, message, ap); + fprintf (stderr, ".\n"); + + if (exit_status >= 0) + exit (exit_status); +} + +void +lt_fatal (const char *file, int line, const char *message, ...) +{ + va_list ap; + va_start (ap, message); + lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap); + va_end (ap); +} + +static const char * +nonnull (const char *s) +{ + return s ? s : "(null)"; +} + +static const char * +nonempty (const char *s) +{ + return (s && !*s) ? "(empty)" : nonnull (s); +} + +void +lt_setenv (const char *name, const char *value) +{ + lt_debugprintf (__FILE__, __LINE__, + "(lt_setenv) setting '%s' to '%s'\n", + nonnull (name), nonnull (value)); + { +#ifdef HAVE_SETENV + /* always make a copy, for consistency with !HAVE_SETENV */ + char *str = xstrdup (value); + setenv (name, str, 1); +#else + int len = strlen (name) + 1 + strlen (value) + 1; + char *str = XMALLOC (char, len); + sprintf (str, "%s=%s", name, value); + if (putenv (str) != EXIT_SUCCESS) + { + XFREE (str); + } +#endif + } +} + +char * +lt_extend_str (const char *orig_value, const char *add, int to_end) +{ + char *new_value; + if (orig_value && *orig_value) + { + int orig_value_len = strlen (orig_value); + int add_len = strlen (add); + new_value = XMALLOC (char, add_len + orig_value_len + 1); + if (to_end) + { + strcpy (new_value, orig_value); + strcpy (new_value + orig_value_len, add); + } + else + { + strcpy (new_value, add); + strcpy (new_value + add_len, orig_value); + } + } + else + { + new_value = xstrdup (add); + } + return new_value; +} + +void +lt_update_exe_path (const char *name, const char *value) +{ + lt_debugprintf (__FILE__, __LINE__, + "(lt_update_exe_path) modifying '%s' by prepending '%s'\n", + nonnull (name), nonnull (value)); + + if (name && *name && value && *value) + { + char *new_value = lt_extend_str (getenv (name), value, 0); + /* some systems can't cope with a ':'-terminated path #' */ + int len = strlen (new_value); + while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1])) + { + new_value[len-1] = '\0'; + } + lt_setenv (name, new_value); + XFREE (new_value); + } +} + +void +lt_update_lib_path (const char *name, const char *value) +{ + lt_debugprintf (__FILE__, __LINE__, + "(lt_update_lib_path) modifying '%s' by prepending '%s'\n", + nonnull (name), nonnull (value)); + + if (name && *name && value && *value) + { + char *new_value = lt_extend_str (getenv (name), value, 0); + lt_setenv (name, new_value); + XFREE (new_value); + } +} + +EOF + case $host_os in + mingw*) + cat <<"EOF" + +/* Prepares an argument vector before calling spawn(). + Note that spawn() does not by itself call the command interpreter + (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") : + ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); + GetVersionEx(&v); + v.dwPlatformId == VER_PLATFORM_WIN32_NT; + }) ? "cmd.exe" : "command.com"). + Instead it simply concatenates the arguments, separated by ' ', and calls + CreateProcess(). We must quote the arguments since Win32 CreateProcess() + interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a + special way: + - Space and tab are interpreted as delimiters. They are not treated as + delimiters if they are surrounded by double quotes: "...". + - Unescaped double quotes are removed from the input. Their only effect is + that within double quotes, space and tab are treated like normal + characters. + - Backslashes not followed by double quotes are not special. + - But 2*n+1 backslashes followed by a double quote become + n backslashes followed by a double quote (n >= 0): + \" -> " + \\\" -> \" + \\\\\" -> \\" + */ +#define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" +#define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" +char ** +prepare_spawn (char **argv) +{ + size_t argc; + char **new_argv; + size_t i; + + /* Count number of arguments. */ + for (argc = 0; argv[argc] != NULL; argc++) + ; + + /* Allocate new argument vector. */ + new_argv = XMALLOC (char *, argc + 1); + + /* Put quoted arguments into the new argument vector. */ + for (i = 0; i < argc; i++) + { + const char *string = argv[i]; + + if (string[0] == '\0') + new_argv[i] = xstrdup ("\"\""); + else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL) + { + int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL); + size_t length; + unsigned int backslashes; + const char *s; + char *quoted_string; + char *p; + + length = 0; + backslashes = 0; + if (quote_around) + length++; + for (s = string; *s != '\0'; s++) + { + char c = *s; + if (c == '"') + length += backslashes + 1; + length++; + if (c == '\\') + backslashes++; + else + backslashes = 0; + } + if (quote_around) + length += backslashes + 1; + + quoted_string = XMALLOC (char, length + 1); + + p = quoted_string; + backslashes = 0; + if (quote_around) + *p++ = '"'; + for (s = string; *s != '\0'; s++) + { + char c = *s; + if (c == '"') + { + unsigned int j; + for (j = backslashes + 1; j > 0; j--) + *p++ = '\\'; + } + *p++ = c; + if (c == '\\') + backslashes++; + else + backslashes = 0; + } + if (quote_around) + { + unsigned int j; + for (j = backslashes; j > 0; j--) + *p++ = '\\'; + *p++ = '"'; + } + *p = '\0'; + + new_argv[i] = quoted_string; + } + else + new_argv[i] = (char *) string; + } + new_argv[argc] = NULL; + + return new_argv; +} +EOF + ;; + esac + + cat <<"EOF" +void lt_dump_script (FILE* f) +{ +EOF + func_emit_wrapper yes | + $SED -n -e ' +s/^\(.\{79\}\)\(..*\)/\1\ +\2/ +h +s/\([\\"]\)/\\\1/g +s/$/\\n/ +s/\([^\n]*\).*/ fputs ("\1", f);/p +g +D' + cat <<"EOF" +} +EOF +} +# end: func_emit_cwrapperexe_src + +# func_win32_import_lib_p ARG +# True if ARG is an import lib, as indicated by $file_magic_cmd +func_win32_import_lib_p () +{ + $opt_debug + case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in + *import*) : ;; + *) false ;; + esac +} + +# func_mode_link arg... +func_mode_link () +{ + $opt_debug + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + # It is impossible to link a dll without this setting, and + # we shouldn't force the makefile maintainer to figure out + # which system we are compiling for in order to pass an extra + # flag for every libtool invocation. + # allow_undefined=no + + # FIXME: Unfortunately, there are problems with the above when trying + # to make a dll which has undefined symbols, in which case not + # even a static library is built. For now, we need to specify + # -no-undefined on the libtool link line when we can be certain + # that all symbols are satisfied, otherwise we get a static library. + allow_undefined=yes + ;; + *) + allow_undefined=yes + ;; + esac + libtool_args=$nonopt + base_compile="$nonopt $@" + compile_command=$nonopt + finalize_command=$nonopt + + compile_rpath= + finalize_rpath= + compile_shlibpath= + finalize_shlibpath= + convenience= + old_convenience= + deplibs= + old_deplibs= + compiler_flags= + linker_flags= + dllsearchpath= + lib_search_path=`pwd` + inst_prefix_dir= + new_inherited_linker_flags= + + avoid_version=no + bindir= + dlfiles= + dlprefiles= + dlself=no + export_dynamic=no + export_symbols= + export_symbols_regex= + generated= + libobjs= + ltlibs= + module=no + no_install=no + objs= + non_pic_objects= + precious_files_regex= + prefer_static_libs=no + preload=no + prev= + prevarg= + release= + rpath= + xrpath= + perm_rpath= + temp_rpath= + thread_safe=no + vinfo= + vinfo_number=no + weak_libs= + single_module="${wl}-single_module" + func_infer_tag $base_compile + + # We need to know -static, to get the right output filenames. + for arg + do + case $arg in + -shared) + test "$build_libtool_libs" != yes && \ + func_fatal_configuration "can not build a shared library" + build_old_libs=no + break + ;; + -all-static | -static | -static-libtool-libs) + case $arg in + -all-static) + if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then + func_warning "complete static linking is impossible in this configuration" + fi + if test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=yes + ;; + -static) + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=built + ;; + -static-libtool-libs) + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=yes + ;; + esac + build_libtool_libs=no + build_old_libs=yes + break + ;; + esac + done + + # See if our shared archives depend on static archives. + test -n "$old_archive_from_new_cmds" && build_old_libs=yes + + # Go through the arguments, transforming them on the way. + while test "$#" -gt 0; do + arg="$1" + shift + func_quote_for_eval "$arg" + qarg=$func_quote_for_eval_unquoted_result + func_append libtool_args " $func_quote_for_eval_result" + + # If the previous option needs an argument, assign it. + if test -n "$prev"; then + case $prev in + output) + func_append compile_command " @OUTPUT@" + func_append finalize_command " @OUTPUT@" + ;; + esac + + case $prev in + bindir) + bindir="$arg" + prev= + continue + ;; + dlfiles|dlprefiles) + if test "$preload" = no; then + # Add the symbol object into the linking commands. + func_append compile_command " @SYMFILE@" + func_append finalize_command " @SYMFILE@" + preload=yes + fi + case $arg in + *.la | *.lo) ;; # We handle these cases below. + force) + if test "$dlself" = no; then + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + self) + if test "$prev" = dlprefiles; then + dlself=yes + elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then + dlself=yes + else + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + *) + if test "$prev" = dlfiles; then + func_append dlfiles " $arg" + else + func_append dlprefiles " $arg" + fi + prev= + continue + ;; + esac + ;; + expsyms) + export_symbols="$arg" + test -f "$arg" \ + || func_fatal_error "symbol file \`$arg' does not exist" + prev= + continue + ;; + expsyms_regex) + export_symbols_regex="$arg" + prev= + continue + ;; + framework) + case $host in + *-*-darwin*) + case "$deplibs " in + *" $qarg.ltframework "*) ;; + *) func_append deplibs " $qarg.ltframework" # this is fixed later + ;; + esac + ;; + esac + prev= + continue + ;; + inst_prefix) + inst_prefix_dir="$arg" + prev= + continue + ;; + objectlist) + if test -f "$arg"; then + save_arg=$arg + moreargs= + for fil in `cat "$save_arg"` + do +# func_append moreargs " $fil" + arg=$fil + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if func_lalib_unsafe_p "$arg"; then + pic_object= + non_pic_object= + + # Read the .lo file + func_source "$arg" + + if test -z "$pic_object" || + test -z "$non_pic_object" || + test "$pic_object" = none && + test "$non_pic_object" = none; then + func_fatal_error "cannot find name of object for \`$arg'" + fi + + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir="$func_dirname_result" + + if test "$pic_object" != none; then + # Prepend the subdirectory the object is found in. + pic_object="$xdir$pic_object" + + if test "$prev" = dlfiles; then + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then + func_append dlfiles " $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test "$prev" = dlprefiles; then + # Preload the old-style object. + func_append dlprefiles " $pic_object" + prev= + fi + + # A PIC object. + func_append libobjs " $pic_object" + arg="$pic_object" + fi + + # Non-PIC object. + if test "$non_pic_object" != none; then + # Prepend the subdirectory the object is found in. + non_pic_object="$xdir$non_pic_object" + + # A standard non-PIC object + func_append non_pic_objects " $non_pic_object" + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi + else + # If the PIC object exists, use it instead. + # $xdir was prepended to $pic_object above. + non_pic_object="$pic_object" + func_append non_pic_objects " $non_pic_object" + fi + else + # Only an error if not doing a dry-run. + if $opt_dry_run; then + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir="$func_dirname_result" + + func_lo2o "$arg" + pic_object=$xdir$objdir/$func_lo2o_result + non_pic_object=$xdir$func_lo2o_result + func_append libobjs " $pic_object" + func_append non_pic_objects " $non_pic_object" + else + func_fatal_error "\`$arg' is not a valid libtool object" + fi + fi + done + else + func_fatal_error "link input file \`$arg' does not exist" + fi + arg=$save_arg + prev= + continue + ;; + precious_regex) + precious_files_regex="$arg" + prev= + continue + ;; + release) + release="-$arg" + prev= + continue + ;; + rpath | xrpath) + # We need an absolute path. + case $arg in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + func_fatal_error "only absolute run-paths are allowed" + ;; + esac + if test "$prev" = rpath; then + case "$rpath " in + *" $arg "*) ;; + *) func_append rpath " $arg" ;; + esac + else + case "$xrpath " in + *" $arg "*) ;; + *) func_append xrpath " $arg" ;; + esac + fi + prev= + continue + ;; + shrext) + shrext_cmds="$arg" + prev= + continue + ;; + weak) + func_append weak_libs " $arg" + prev= + continue + ;; + xcclinker) + func_append linker_flags " $qarg" + func_append compiler_flags " $qarg" + prev= + func_append compile_command " $qarg" + func_append finalize_command " $qarg" + continue + ;; + xcompiler) + func_append compiler_flags " $qarg" + prev= + func_append compile_command " $qarg" + func_append finalize_command " $qarg" + continue + ;; + xlinker) + func_append linker_flags " $qarg" + func_append compiler_flags " $wl$qarg" + prev= + func_append compile_command " $wl$qarg" + func_append finalize_command " $wl$qarg" + continue + ;; + *) + eval "$prev=\"\$arg\"" + prev= + continue + ;; + esac + fi # test -n "$prev" + + prevarg="$arg" + + case $arg in + -all-static) + if test -n "$link_static_flag"; then + # See comment for -static flag below, for more details. + func_append compile_command " $link_static_flag" + func_append finalize_command " $link_static_flag" + fi + continue + ;; + + -allow-undefined) + # FIXME: remove this flag sometime in the future. + func_fatal_error "\`-allow-undefined' must not be used because it is the default" + ;; + + -avoid-version) + avoid_version=yes + continue + ;; + + -bindir) + prev=bindir + continue + ;; + + -dlopen) + prev=dlfiles + continue + ;; + + -dlpreopen) + prev=dlprefiles + continue + ;; + + -export-dynamic) + export_dynamic=yes + continue + ;; + + -export-symbols | -export-symbols-regex) + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then + func_fatal_error "more than one -exported-symbols argument is not allowed" + fi + if test "X$arg" = "X-export-symbols"; then + prev=expsyms + else + prev=expsyms_regex + fi + continue + ;; + + -framework) + prev=framework + continue + ;; + + -inst-prefix-dir) + prev=inst_prefix + continue + ;; + + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* + # so, if we see these flags be careful not to treat them like -L + -L[A-Z][A-Z]*:*) + case $with_gcc/$host in + no/*-*-irix* | /*-*-irix*) + func_append compile_command " $arg" + func_append finalize_command " $arg" + ;; + esac + continue + ;; + + -L*) + func_stripname "-L" '' "$arg" + if test -z "$func_stripname_result"; then + if test "$#" -gt 0; then + func_fatal_error "require no space between \`-L' and \`$1'" + else + func_fatal_error "need path for \`-L' option" + fi + fi + func_resolve_sysroot "$func_stripname_result" + dir=$func_resolve_sysroot_result + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + absdir=`cd "$dir" && pwd` + test -z "$absdir" && \ + func_fatal_error "cannot determine absolute directory name of \`$dir'" + dir="$absdir" + ;; + esac + case "$deplibs " in + *" -L$dir "* | *" $arg "*) + # Will only happen for absolute or sysroot arguments + ;; + *) + # Preserve sysroot, but never include relative directories + case $dir in + [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;; + *) func_append deplibs " -L$dir" ;; + esac + func_append lib_search_path " $dir" + ;; + esac + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` + case :$dllsearchpath: in + *":$dir:"*) ;; + ::) dllsearchpath=$dir;; + *) func_append dllsearchpath ":$dir";; + esac + case :$dllsearchpath: in + *":$testbindir:"*) ;; + ::) dllsearchpath=$testbindir;; + *) func_append dllsearchpath ":$testbindir";; + esac + ;; + esac + continue + ;; + + -l*) + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) + # These systems don't actually have a C or math library (as such) + continue + ;; + *-*-os2*) + # These systems don't actually have a C library (as such) + test "X$arg" = "X-lc" && continue + ;; + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc due to us having libc/libc_r. + test "X$arg" = "X-lc" && continue + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C and math libraries are in the System framework + func_append deplibs " System.ltframework" + continue + ;; + *-*-sco3.2v5* | *-*-sco5v6*) + # Causes problems with __ctype + test "X$arg" = "X-lc" && continue + ;; + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) + # Compiler inserts libc in the correct place for threads to work + test "X$arg" = "X-lc" && continue + ;; + esac + elif test "X$arg" = "X-lc_r"; then + case $host in + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; + esac + fi + func_append deplibs " $arg" + continue + ;; + + -module) + module=yes + continue + ;; + + # Tru64 UNIX uses -model [arg] to determine the layout of C++ + # classes, name mangling, and exception handling. + # Darwin uses the -arch flag to determine output architecture. + -model|-arch|-isysroot|--sysroot) + func_append compiler_flags " $arg" + func_append compile_command " $arg" + func_append finalize_command " $arg" + prev=xcompiler + continue + ;; + + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ + |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) + func_append compiler_flags " $arg" + func_append compile_command " $arg" + func_append finalize_command " $arg" + case "$new_inherited_linker_flags " in + *" $arg "*) ;; + * ) func_append new_inherited_linker_flags " $arg" ;; + esac + continue + ;; + + -multi_module) + single_module="${wl}-multi_module" + continue + ;; + + -no-fast-install) + fast_install=no + continue + ;; + + -no-install) + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) + # The PATH hackery in wrapper scripts is required on Windows + # and Darwin in order for the loader to find any dlls it needs. + func_warning "\`-no-install' is ignored for $host" + func_warning "assuming \`-no-fast-install' instead" + fast_install=no + ;; + *) no_install=yes ;; + esac + continue + ;; + + -no-undefined) + allow_undefined=no + continue + ;; + + -objectlist) + prev=objectlist + continue + ;; + + -o) prev=output ;; + + -precious-files-regex) + prev=precious_regex + continue + ;; + + -release) + prev=release + continue + ;; + + -rpath) + prev=rpath + continue + ;; + + -R) + prev=xrpath + continue + ;; + + -R*) + func_stripname '-R' '' "$arg" + dir=$func_stripname_result + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + =*) + func_stripname '=' '' "$dir" + dir=$lt_sysroot$func_stripname_result + ;; + *) + func_fatal_error "only absolute run-paths are allowed" + ;; + esac + case "$xrpath " in + *" $dir "*) ;; + *) func_append xrpath " $dir" ;; + esac + continue + ;; + + -shared) + # The effects of -shared are defined in a previous loop. + continue + ;; + + -shrext) + prev=shrext + continue + ;; + + -static | -static-libtool-libs) + # The effects of -static are defined in a previous loop. + # We used to do the same as -all-static on platforms that + # didn't have a PIC flag, but the assumption that the effects + # would be equivalent was wrong. It would break on at least + # Digital Unix and AIX. + continue + ;; + + -thread-safe) + thread_safe=yes + continue + ;; + + -version-info) + prev=vinfo + continue + ;; + + -version-number) + prev=vinfo + vinfo_number=yes + continue + ;; + + -weak) + prev=weak + continue + ;; + + -Wc,*) + func_stripname '-Wc,' '' "$arg" + args=$func_stripname_result + arg= + save_ifs="$IFS"; IFS=',' + for flag in $args; do + IFS="$save_ifs" + func_quote_for_eval "$flag" + func_append arg " $func_quote_for_eval_result" + func_append compiler_flags " $func_quote_for_eval_result" + done + IFS="$save_ifs" + func_stripname ' ' '' "$arg" + arg=$func_stripname_result + ;; + + -Wl,*) + func_stripname '-Wl,' '' "$arg" + args=$func_stripname_result + arg= + save_ifs="$IFS"; IFS=',' + for flag in $args; do + IFS="$save_ifs" + func_quote_for_eval "$flag" + func_append arg " $wl$func_quote_for_eval_result" + func_append compiler_flags " $wl$func_quote_for_eval_result" + func_append linker_flags " $func_quote_for_eval_result" + done + IFS="$save_ifs" + func_stripname ' ' '' "$arg" + arg=$func_stripname_result + ;; + + -Xcompiler) + prev=xcompiler + continue + ;; + + -Xlinker) + prev=xlinker + continue + ;; + + -XCClinker) + prev=xcclinker + continue + ;; + + # -msg_* for osf cc + -msg_*) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + ;; + + # Flags to be passed through unchanged, with rationale: + # -64, -mips[0-9] enable 64-bit mode for the SGI compiler + # -r[0-9][0-9]* specify processor for the SGI compiler + # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler + # +DA*, +DD* enable 64-bit mode for the HP compiler + # -q* compiler args for the IBM compiler + # -m*, -t[45]*, -txscale* architecture-specific flags for GCC + # -F/path path to uninstalled frameworks, gcc on darwin + # -p, -pg, --coverage, -fprofile-* profiling flags for GCC + # @file GCC response files + # -tp=* Portland pgcc target processor selection + # --sysroot=* for sysroot support + # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ + -O*|-flto*|-fwhopr*|-fuse-linker-plugin) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + func_append compile_command " $arg" + func_append finalize_command " $arg" + func_append compiler_flags " $arg" + continue + ;; + + # Some other compiler flag. + -* | +*) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + ;; + + *.$objext) + # A standard object. + func_append objs " $arg" + ;; + + *.lo) + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if func_lalib_unsafe_p "$arg"; then + pic_object= + non_pic_object= + + # Read the .lo file + func_source "$arg" + + if test -z "$pic_object" || + test -z "$non_pic_object" || + test "$pic_object" = none && + test "$non_pic_object" = none; then + func_fatal_error "cannot find name of object for \`$arg'" + fi + + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir="$func_dirname_result" + + if test "$pic_object" != none; then + # Prepend the subdirectory the object is found in. + pic_object="$xdir$pic_object" + + if test "$prev" = dlfiles; then + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then + func_append dlfiles " $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test "$prev" = dlprefiles; then + # Preload the old-style object. + func_append dlprefiles " $pic_object" + prev= + fi + + # A PIC object. + func_append libobjs " $pic_object" + arg="$pic_object" + fi + + # Non-PIC object. + if test "$non_pic_object" != none; then + # Prepend the subdirectory the object is found in. + non_pic_object="$xdir$non_pic_object" + + # A standard non-PIC object + func_append non_pic_objects " $non_pic_object" + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi + else + # If the PIC object exists, use it instead. + # $xdir was prepended to $pic_object above. + non_pic_object="$pic_object" + func_append non_pic_objects " $non_pic_object" + fi + else + # Only an error if not doing a dry-run. + if $opt_dry_run; then + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir="$func_dirname_result" + + func_lo2o "$arg" + pic_object=$xdir$objdir/$func_lo2o_result + non_pic_object=$xdir$func_lo2o_result + func_append libobjs " $pic_object" + func_append non_pic_objects " $non_pic_object" + else + func_fatal_error "\`$arg' is not a valid libtool object" + fi + fi + ;; + + *.$libext) + # An archive. + func_append deplibs " $arg" + func_append old_deplibs " $arg" + continue + ;; + + *.la) + # A libtool-controlled library. + + func_resolve_sysroot "$arg" + if test "$prev" = dlfiles; then + # This library was specified with -dlopen. + func_append dlfiles " $func_resolve_sysroot_result" + prev= + elif test "$prev" = dlprefiles; then + # The library was specified with -dlpreopen. + func_append dlprefiles " $func_resolve_sysroot_result" + prev= + else + func_append deplibs " $func_resolve_sysroot_result" + fi + continue + ;; + + # Some other compiler argument. + *) + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + ;; + esac # arg + + # Now actually substitute the argument into the commands. + if test -n "$arg"; then + func_append compile_command " $arg" + func_append finalize_command " $arg" + fi + done # argument parsing loop + + test -n "$prev" && \ + func_fatal_help "the \`$prevarg' option requires an argument" + + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then + eval arg=\"$export_dynamic_flag_spec\" + func_append compile_command " $arg" + func_append finalize_command " $arg" + fi + + oldlibs= + # calculate the name of the file, without its directory + func_basename "$output" + outputname="$func_basename_result" + libobjs_save="$libobjs" + + if test -n "$shlibpath_var"; then + # get the directories listed in $shlibpath_var + eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\` + else + shlib_search_path= + fi + eval sys_lib_search_path=\"$sys_lib_search_path_spec\" + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" + + func_dirname "$output" "/" "" + output_objdir="$func_dirname_result$objdir" + func_to_tool_file "$output_objdir/" + tool_output_objdir=$func_to_tool_file_result + # Create the object directory. + func_mkdir_p "$output_objdir" + + # Determine the type of output + case $output in + "") + func_fatal_help "you must specify an output file" + ;; + *.$libext) linkmode=oldlib ;; + *.lo | *.$objext) linkmode=obj ;; + *.la) linkmode=lib ;; + *) linkmode=prog ;; # Anything else should be a program. + esac + + specialdeplibs= + + libs= + # Find all interdependent deplibs by searching for libraries + # that are linked more than once (e.g. -la -lb -la) + for deplib in $deplibs; do + if $opt_preserve_dup_deps ; then + case "$libs " in + *" $deplib "*) func_append specialdeplibs " $deplib" ;; + esac + fi + func_append libs " $deplib" + done + + if test "$linkmode" = lib; then + libs="$predeps $libs $compiler_lib_search_path $postdeps" + + # Compute libraries that are listed more than once in $predeps + # $postdeps and mark them as special (i.e., whose duplicates are + # not to be eliminated). + pre_post_deps= + if $opt_duplicate_compiler_generated_deps; then + for pre_post_dep in $predeps $postdeps; do + case "$pre_post_deps " in + *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;; + esac + func_append pre_post_deps " $pre_post_dep" + done + fi + pre_post_deps= + fi + + deplibs= + newdependency_libs= + newlib_search_path= + need_relink=no # whether we're linking any uninstalled libtool libraries + notinst_deplibs= # not-installed libtool libraries + notinst_path= # paths that contain not-installed libtool libraries + + case $linkmode in + lib) + passes="conv dlpreopen link" + for file in $dlfiles $dlprefiles; do + case $file in + *.la) ;; + *) + func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file" + ;; + esac + done + ;; + prog) + compile_deplibs= + finalize_deplibs= + alldeplibs=no + newdlfiles= + newdlprefiles= + passes="conv scan dlopen dlpreopen link" + ;; + *) passes="conv" + ;; + esac + + for pass in $passes; do + # The preopen pass in lib mode reverses $deplibs; put it back here + # so that -L comes before libs that need it for instance... + if test "$linkmode,$pass" = "lib,link"; then + ## FIXME: Find the place where the list is rebuilt in the wrong + ## order, and fix it there properly + tmp_deplibs= + for deplib in $deplibs; do + tmp_deplibs="$deplib $tmp_deplibs" + done + deplibs="$tmp_deplibs" + fi + + if test "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan"; then + libs="$deplibs" + deplibs= + fi + if test "$linkmode" = prog; then + case $pass in + dlopen) libs="$dlfiles" ;; + dlpreopen) libs="$dlprefiles" ;; + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; + esac + fi + if test "$linkmode,$pass" = "lib,dlpreopen"; then + # Collect and forward deplibs of preopened libtool libs + for lib in $dlprefiles; do + # Ignore non-libtool-libs + dependency_libs= + func_resolve_sysroot "$lib" + case $lib in + *.la) func_source "$func_resolve_sysroot_result" ;; + esac + + # Collect preopened libtool deplibs, except any this library + # has declared as weak libs + for deplib in $dependency_libs; do + func_basename "$deplib" + deplib_base=$func_basename_result + case " $weak_libs " in + *" $deplib_base "*) ;; + *) func_append deplibs " $deplib" ;; + esac + done + done + libs="$dlprefiles" + fi + if test "$pass" = dlopen; then + # Collect dlpreopened libraries + save_deplibs="$deplibs" + deplibs= + fi + + for deplib in $libs; do + lib= + found=no + case $deplib in + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ + |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + func_append compiler_flags " $deplib" + if test "$linkmode" = lib ; then + case "$new_inherited_linker_flags " in + *" $deplib "*) ;; + * ) func_append new_inherited_linker_flags " $deplib" ;; + esac + fi + fi + continue + ;; + -l*) + if test "$linkmode" != lib && test "$linkmode" != prog; then + func_warning "\`-l' is ignored for archives/objects" + continue + fi + func_stripname '-l' '' "$deplib" + name=$func_stripname_result + if test "$linkmode" = lib; then + searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" + else + searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" + fi + for searchdir in $searchdirs; do + for search_ext in .la $std_shrext .so .a; do + # Search the libtool library + lib="$searchdir/lib${name}${search_ext}" + if test -f "$lib"; then + if test "$search_ext" = ".la"; then + found=yes + else + found=no + fi + break 2 + fi + done + done + if test "$found" != yes; then + # deplib doesn't seem to be a libtool library + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" + fi + continue + else # deplib is a libtool library + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, + # We need to do some special things here, and not later. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $deplib "*) + if func_lalib_p "$lib"; then + library_names= + old_library= + func_source "$lib" + for l in $old_library $library_names; do + ll="$l" + done + if test "X$ll" = "X$old_library" ; then # only static version available + found=no + func_dirname "$lib" "" "." + ladir="$func_dirname_result" + lib=$ladir/$old_library + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" + fi + continue + fi + fi + ;; + *) ;; + esac + fi + fi + ;; # -l + *.ltframework) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + if test "$linkmode" = lib ; then + case "$new_inherited_linker_flags " in + *" $deplib "*) ;; + * ) func_append new_inherited_linker_flags " $deplib" ;; + esac + fi + fi + continue + ;; + -L*) + case $linkmode in + lib) + deplibs="$deplib $deplibs" + test "$pass" = conv && continue + newdependency_libs="$deplib $newdependency_libs" + func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result" + func_append newlib_search_path " $func_resolve_sysroot_result" + ;; + prog) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + if test "$pass" = scan; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result" + func_append newlib_search_path " $func_resolve_sysroot_result" + ;; + *) + func_warning "\`-L' is ignored for archives/objects" + ;; + esac # linkmode + continue + ;; # -L + -R*) + if test "$pass" = link; then + func_stripname '-R' '' "$deplib" + func_resolve_sysroot "$func_stripname_result" + dir=$func_resolve_sysroot_result + # Make sure the xrpath contains only unique directories. + case "$xrpath " in + *" $dir "*) ;; + *) func_append xrpath " $dir" ;; + esac + fi + deplibs="$deplib $deplibs" + continue + ;; + *.la) + func_resolve_sysroot "$deplib" + lib=$func_resolve_sysroot_result + ;; + *.$libext) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + case $linkmode in + lib) + # Linking convenience modules into shared libraries is allowed, + # but linking other static libraries is non-portable. + case " $dlpreconveniencelibs " in + *" $deplib "*) ;; + *) + valid_a_lib=no + case $deplibs_check_method in + match_pattern*) + set dummy $deplibs_check_method; shift + match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` + if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \ + | $EGREP "$match_pattern_regex" > /dev/null; then + valid_a_lib=yes + fi + ;; + pass_all) + valid_a_lib=yes + ;; + esac + if test "$valid_a_lib" != yes; then + echo + $ECHO "*** Warning: Trying to link with static lib archive $deplib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because the file extensions .$libext of this argument makes me believe" + echo "*** that it is just a static archive that I should not use here." + else + echo + $ECHO "*** Warning: Linking the shared library $output against the" + $ECHO "*** static library $deplib is not portable!" + deplibs="$deplib $deplibs" + fi + ;; + esac + continue + ;; + prog) + if test "$pass" != link; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + continue + ;; + esac # linkmode + ;; # *.$libext + *.lo | *.$objext) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + elif test "$linkmode" = prog; then + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then + # If there is no dlopen support or we're linking statically, + # we need to preload. + func_append newdlprefiles " $deplib" + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + func_append newdlfiles " $deplib" + fi + fi + continue + ;; + %DEPLIBS%) + alldeplibs=yes + continue + ;; + esac # case $deplib + + if test "$found" = yes || test -f "$lib"; then : + else + func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'" + fi + + # Check to see that this really is a libtool archive. + func_lalib_unsafe_p "$lib" \ + || func_fatal_error "\`$lib' is not a valid libtool archive" + + func_dirname "$lib" "" "." + ladir="$func_dirname_result" + + dlname= + dlopen= + dlpreopen= + libdir= + library_names= + old_library= + inherited_linker_flags= + # If the library was installed with an old release of libtool, + # it will not redefine variables installed, or shouldnotlink + installed=yes + shouldnotlink=no + avoidtemprpath= + + + # Read the .la file + func_source "$lib" + + # Convert "-framework foo" to "foo.ltframework" + if test -n "$inherited_linker_flags"; then + tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'` + for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do + case " $new_inherited_linker_flags " in + *" $tmp_inherited_linker_flag "*) ;; + *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";; + esac + done + fi + dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + if test "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan" || + { test "$linkmode" != prog && test "$linkmode" != lib; }; then + test -n "$dlopen" && func_append dlfiles " $dlopen" + test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen" + fi + + if test "$pass" = conv; then + # Only check for convenience libraries + deplibs="$lib $deplibs" + if test -z "$libdir"; then + if test -z "$old_library"; then + func_fatal_error "cannot find name of link library for \`$lib'" + fi + # It is a libtool convenience library, so add in its objects. + func_append convenience " $ladir/$objdir/$old_library" + func_append old_convenience " $ladir/$objdir/$old_library" + elif test "$linkmode" != prog && test "$linkmode" != lib; then + func_fatal_error "\`$lib' is not a convenience library" + fi + tmp_libs= + for deplib in $dependency_libs; do + deplibs="$deplib $deplibs" + if $opt_preserve_dup_deps ; then + case "$tmp_libs " in + *" $deplib "*) func_append specialdeplibs " $deplib" ;; + esac + fi + func_append tmp_libs " $deplib" + done + continue + fi # $pass = conv + + + # Get the name of the library we link against. + linklib= + if test -n "$old_library" && + { test "$prefer_static_libs" = yes || + test "$prefer_static_libs,$installed" = "built,no"; }; then + linklib=$old_library + else + for l in $old_library $library_names; do + linklib="$l" + done + fi + if test -z "$linklib"; then + func_fatal_error "cannot find name of link library for \`$lib'" + fi + + # This library was specified with -dlopen. + if test "$pass" = dlopen; then + if test -z "$libdir"; then + func_fatal_error "cannot -dlopen a convenience library: \`$lib'" + fi + if test -z "$dlname" || + test "$dlopen_support" != yes || + test "$build_libtool_libs" = no; then + # If there is no dlname, no dlopen support or we're linking + # statically, we need to preload. We also need to preload any + # dependent libraries so libltdl's deplib preloader doesn't + # bomb out in the load deplibs phase. + func_append dlprefiles " $lib $dependency_libs" + else + func_append newdlfiles " $lib" + fi + continue + fi # $pass = dlopen + + # We need an absolute path. + case $ladir in + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; + *) + abs_ladir=`cd "$ladir" && pwd` + if test -z "$abs_ladir"; then + func_warning "cannot determine absolute directory name of \`$ladir'" + func_warning "passing it literally to the linker, although it might fail" + abs_ladir="$ladir" + fi + ;; + esac + func_basename "$lib" + laname="$func_basename_result" + + # Find the relevant object directory and library name. + if test "X$installed" = Xyes; then + if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then + func_warning "library \`$lib' was moved." + dir="$ladir" + absdir="$abs_ladir" + libdir="$abs_ladir" + else + dir="$lt_sysroot$libdir" + absdir="$lt_sysroot$libdir" + fi + test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes + else + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then + dir="$ladir" + absdir="$abs_ladir" + # Remove this search path later + func_append notinst_path " $abs_ladir" + else + dir="$ladir/$objdir" + absdir="$abs_ladir/$objdir" + # Remove this search path later + func_append notinst_path " $abs_ladir" + fi + fi # $installed = yes + func_stripname 'lib' '.la' "$laname" + name=$func_stripname_result + + # This library was specified with -dlpreopen. + if test "$pass" = dlpreopen; then + if test -z "$libdir" && test "$linkmode" = prog; then + func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'" + fi + case "$host" in + # special handling for platforms with PE-DLLs. + *cygwin* | *mingw* | *cegcc* ) + # Linker will automatically link against shared library if both + # static and shared are present. Therefore, ensure we extract + # symbols from the import library if a shared library is present + # (otherwise, the dlopen module name will be incorrect). We do + # this by putting the import library name into $newdlprefiles. + # We recover the dlopen module name by 'saving' the la file + # name in a special purpose variable, and (later) extracting the + # dlname from the la file. + if test -n "$dlname"; then + func_tr_sh "$dir/$linklib" + eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname" + func_append newdlprefiles " $dir/$linklib" + else + func_append newdlprefiles " $dir/$old_library" + # Keep a list of preopened convenience libraries to check + # that they are being used correctly in the link pass. + test -z "$libdir" && \ + func_append dlpreconveniencelibs " $dir/$old_library" + fi + ;; + * ) + # Prefer using a static library (so that no silly _DYNAMIC symbols + # are required to link). + if test -n "$old_library"; then + func_append newdlprefiles " $dir/$old_library" + # Keep a list of preopened convenience libraries to check + # that they are being used correctly in the link pass. + test -z "$libdir" && \ + func_append dlpreconveniencelibs " $dir/$old_library" + # Otherwise, use the dlname, so that lt_dlopen finds it. + elif test -n "$dlname"; then + func_append newdlprefiles " $dir/$dlname" + else + func_append newdlprefiles " $dir/$linklib" + fi + ;; + esac + fi # $pass = dlpreopen + + if test -z "$libdir"; then + # Link the convenience library + if test "$linkmode" = lib; then + deplibs="$dir/$old_library $deplibs" + elif test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$dir/$old_library $compile_deplibs" + finalize_deplibs="$dir/$old_library $finalize_deplibs" + else + deplibs="$lib $deplibs" # used for prog,scan pass + fi + continue + fi + + + if test "$linkmode" = prog && test "$pass" != link; then + func_append newlib_search_path " $ladir" + deplibs="$lib $deplibs" + + linkalldeplibs=no + if test "$link_all_deplibs" != no || test -z "$library_names" || + test "$build_libtool_libs" = no; then + linkalldeplibs=yes + fi + + tmp_libs= + for deplib in $dependency_libs; do + case $deplib in + -L*) func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result" + func_append newlib_search_path " $func_resolve_sysroot_result" + ;; + esac + # Need to link against all dependency_libs? + if test "$linkalldeplibs" = yes; then + deplibs="$deplib $deplibs" + else + # Need to hardcode shared library paths + # or/and link against static libraries + newdependency_libs="$deplib $newdependency_libs" + fi + if $opt_preserve_dup_deps ; then + case "$tmp_libs " in + *" $deplib "*) func_append specialdeplibs " $deplib" ;; + esac + fi + func_append tmp_libs " $deplib" + done # for deplib + continue + fi # $linkmode = prog... + + if test "$linkmode,$pass" = "prog,link"; then + if test -n "$library_names" && + { { test "$prefer_static_libs" = no || + test "$prefer_static_libs,$installed" = "built,yes"; } || + test -z "$old_library"; }; then + # We need to hardcode the library path + if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then + # Make sure the rpath contains only unique directories. + case "$temp_rpath:" in + *"$absdir:"*) ;; + *) func_append temp_rpath "$absdir:" ;; + esac + fi + + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) func_append compile_rpath " $absdir" ;; + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) func_append finalize_rpath " $libdir" ;; + esac + ;; + esac + fi # $linkmode,$pass = prog,link... + + if test "$alldeplibs" = yes && + { test "$deplibs_check_method" = pass_all || + { test "$build_libtool_libs" = yes && + test -n "$library_names"; }; }; then + # We only need to search for static libraries + continue + fi + fi + + link_static=no # Whether the deplib will be linked statically + use_static_libs=$prefer_static_libs + if test "$use_static_libs" = built && test "$installed" = yes; then + use_static_libs=no + fi + if test -n "$library_names" && + { test "$use_static_libs" = no || test -z "$old_library"; }; then + case $host in + *cygwin* | *mingw* | *cegcc*) + # No point in relinking DLLs because paths are not encoded + func_append notinst_deplibs " $lib" + need_relink=no + ;; + *) + if test "$installed" = no; then + func_append notinst_deplibs " $lib" + need_relink=yes + fi + ;; + esac + # This is a shared library + + # Warn about portability, can't link against -module's on some + # systems (darwin). Don't bleat about dlopened modules though! + dlopenmodule="" + for dlpremoduletest in $dlprefiles; do + if test "X$dlpremoduletest" = "X$lib"; then + dlopenmodule="$dlpremoduletest" + break + fi + done + if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then + echo + if test "$linkmode" = prog; then + $ECHO "*** Warning: Linking the executable $output against the loadable module" + else + $ECHO "*** Warning: Linking the shared library $output against the loadable module" + fi + $ECHO "*** $linklib is not portable!" + fi + if test "$linkmode" = lib && + test "$hardcode_into_libs" = yes; then + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) func_append compile_rpath " $absdir" ;; + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) func_append finalize_rpath " $libdir" ;; + esac + ;; + esac + fi + + if test -n "$old_archive_from_expsyms_cmds"; then + # figure out the soname + set dummy $library_names + shift + realname="$1" + shift + libname=`eval "\\$ECHO \"$libname_spec\""` + # use dlname if we got it. it's perfectly good, no? + if test -n "$dlname"; then + soname="$dlname" + elif test -n "$soname_spec"; then + # bleh windows + case $host in + *cygwin* | mingw* | *cegcc*) + func_arith $current - $age + major=$func_arith_result + versuffix="-$major" + ;; + esac + eval soname=\"$soname_spec\" + else + soname="$realname" + fi + + # Make a new name for the extract_expsyms_cmds to use + soroot="$soname" + func_basename "$soroot" + soname="$func_basename_result" + func_stripname 'lib' '.dll' "$soname" + newlib=libimp-$func_stripname_result.a + + # If the library has no export list, then create one now + if test -f "$output_objdir/$soname-def"; then : + else + func_verbose "extracting exported symbol list from \`$soname'" + func_execute_cmds "$extract_expsyms_cmds" 'exit $?' + fi + + # Create $newlib + if test -f "$output_objdir/$newlib"; then :; else + func_verbose "generating import library for \`$soname'" + func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' + fi + # make sure the library variables are pointing to the new library + dir=$output_objdir + linklib=$newlib + fi # test -n "$old_archive_from_expsyms_cmds" + + if test "$linkmode" = prog || test "$opt_mode" != relink; then + add_shlibpath= + add_dir= + add= + lib_linked=yes + case $hardcode_action in + immediate | unsupported) + if test "$hardcode_direct" = no; then + add="$dir/$linklib" + case $host in + *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; + *-*-sysv4*uw2*) add_dir="-L$dir" ;; + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ + *-*-unixware7*) add_dir="-L$dir" ;; + *-*-darwin* ) + # if the lib is a (non-dlopened) module then we can not + # link against it, someone is ignoring the earlier warnings + if /usr/bin/file -L $add 2> /dev/null | + $GREP ": [^:]* bundle" >/dev/null ; then + if test "X$dlopenmodule" != "X$lib"; then + $ECHO "*** Warning: lib $linklib is a module, not a shared library" + if test -z "$old_library" ; then + echo + echo "*** And there doesn't seem to be a static archive available" + echo "*** The link will probably fail, sorry" + else + add="$dir/$old_library" + fi + elif test -n "$old_library"; then + add="$dir/$old_library" + fi + fi + esac + elif test "$hardcode_minus_L" = no; then + case $host in + *-*-sunos*) add_shlibpath="$dir" ;; + esac + add_dir="-L$dir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = no; then + add_shlibpath="$dir" + add="-l$name" + else + lib_linked=no + fi + ;; + relink) + if test "$hardcode_direct" = yes && + test "$hardcode_direct_absolute" = no; then + add="$dir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$absdir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in + [\\/]*) + func_append add_dir " -L$inst_prefix_dir$libdir" + ;; + esac + fi + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + add_shlibpath="$dir" + add="-l$name" + else + lib_linked=no + fi + ;; + *) lib_linked=no ;; + esac + + if test "$lib_linked" != yes; then + func_fatal_configuration "unsupported hardcode properties" + fi + + if test -n "$add_shlibpath"; then + case :$compile_shlibpath: in + *":$add_shlibpath:"*) ;; + *) func_append compile_shlibpath "$add_shlibpath:" ;; + esac + fi + if test "$linkmode" = prog; then + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" + test -n "$add" && compile_deplibs="$add $compile_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + if test "$hardcode_direct" != yes && + test "$hardcode_minus_L" != yes && + test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) func_append finalize_shlibpath "$libdir:" ;; + esac + fi + fi + fi + + if test "$linkmode" = prog || test "$opt_mode" = relink; then + add_shlibpath= + add_dir= + add= + # Finalize command for both is simple: just hardcode it. + if test "$hardcode_direct" = yes && + test "$hardcode_direct_absolute" = no; then + add="$libdir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$libdir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) func_append finalize_shlibpath "$libdir:" ;; + esac + add="-l$name" + elif test "$hardcode_automatic" = yes; then + if test -n "$inst_prefix_dir" && + test -f "$inst_prefix_dir$libdir/$linklib" ; then + add="$inst_prefix_dir$libdir/$linklib" + else + add="$libdir/$linklib" + fi + else + # We cannot seem to hardcode it, guess we'll fake it. + add_dir="-L$libdir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in + [\\/]*) + func_append add_dir " -L$inst_prefix_dir$libdir" + ;; + esac + fi + add="-l$name" + fi + + if test "$linkmode" = prog; then + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" + test -n "$add" && finalize_deplibs="$add $finalize_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + fi + fi + elif test "$linkmode" = prog; then + # Here we assume that one of hardcode_direct or hardcode_minus_L + # is not unsupported. This is valid on all known static and + # shared platforms. + if test "$hardcode_direct" != unsupported; then + test -n "$old_library" && linklib="$old_library" + compile_deplibs="$dir/$linklib $compile_deplibs" + finalize_deplibs="$dir/$linklib $finalize_deplibs" + else + compile_deplibs="-l$name -L$dir $compile_deplibs" + finalize_deplibs="-l$name -L$dir $finalize_deplibs" + fi + elif test "$build_libtool_libs" = yes; then + # Not a shared library + if test "$deplibs_check_method" != pass_all; then + # We're trying link a shared library against a static one + # but the system doesn't support it. + + # Just print a warning and add the library to dependency_libs so + # that the program can be linked against the static library. + echo + $ECHO "*** Warning: This system can not link to static lib archive $lib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have." + if test "$module" = yes; then + echo "*** But as you try to build a module library, libtool will still create " + echo "*** a static module, that should work as long as the dlopening application" + echo "*** is linked with the -dlopen flag to resolve symbols at runtime." + if test -z "$global_symbol_pipe"; then + echo + echo "*** However, this would only work if libtool was able to extract symbol" + echo "*** lists from a program, using \`nm' or equivalent, but libtool could" + echo "*** not find such a program. So, this module is probably useless." + echo "*** \`nm' from GNU binutils and a full rebuild may help." + fi + if test "$build_old_libs" = no; then + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + fi + else + deplibs="$dir/$old_library $deplibs" + link_static=yes + fi + fi # link shared/static library? + + if test "$linkmode" = lib; then + if test -n "$dependency_libs" && + { test "$hardcode_into_libs" != yes || + test "$build_old_libs" = yes || + test "$link_static" = yes; }; then + # Extract -R from dependency_libs + temp_deplibs= + for libdir in $dependency_libs; do + case $libdir in + -R*) func_stripname '-R' '' "$libdir" + temp_xrpath=$func_stripname_result + case " $xrpath " in + *" $temp_xrpath "*) ;; + *) func_append xrpath " $temp_xrpath";; + esac;; + *) func_append temp_deplibs " $libdir";; + esac + done + dependency_libs="$temp_deplibs" + fi + + func_append newlib_search_path " $absdir" + # Link against this library + test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" + # ... and its dependency_libs + tmp_libs= + for deplib in $dependency_libs; do + newdependency_libs="$deplib $newdependency_libs" + case $deplib in + -L*) func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result";; + *) func_resolve_sysroot "$deplib" ;; + esac + if $opt_preserve_dup_deps ; then + case "$tmp_libs " in + *" $func_resolve_sysroot_result "*) + func_append specialdeplibs " $func_resolve_sysroot_result" ;; + esac + fi + func_append tmp_libs " $func_resolve_sysroot_result" + done + + if test "$link_all_deplibs" != no; then + # Add the search paths of all dependency libraries + for deplib in $dependency_libs; do + path= + case $deplib in + -L*) path="$deplib" ;; + *.la) + func_resolve_sysroot "$deplib" + deplib=$func_resolve_sysroot_result + func_dirname "$deplib" "" "." + dir=$func_dirname_result + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; + *) + absdir=`cd "$dir" && pwd` + if test -z "$absdir"; then + func_warning "cannot determine absolute directory name of \`$dir'" + absdir="$dir" + fi + ;; + esac + if $GREP "^installed=no" $deplib > /dev/null; then + case $host in + *-*-darwin*) + depdepl= + eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` + if test -n "$deplibrary_names" ; then + for tmp in $deplibrary_names ; do + depdepl=$tmp + done + if test -f "$absdir/$objdir/$depdepl" ; then + depdepl="$absdir/$objdir/$depdepl" + darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` + if test -z "$darwin_install_name"; then + darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` + fi + func_append compiler_flags " ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}" + func_append linker_flags " -dylib_file ${darwin_install_name}:${depdepl}" + path= + fi + fi + ;; + *) + path="-L$absdir/$objdir" + ;; + esac + else + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + test -z "$libdir" && \ + func_fatal_error "\`$deplib' is not a valid libtool archive" + test "$absdir" != "$libdir" && \ + func_warning "\`$deplib' seems to be moved" + + path="-L$absdir" + fi + ;; + esac + case " $deplibs " in + *" $path "*) ;; + *) deplibs="$path $deplibs" ;; + esac + done + fi # link_all_deplibs != no + fi # linkmode = lib + done # for deplib in $libs + if test "$pass" = link; then + if test "$linkmode" = "prog"; then + compile_deplibs="$new_inherited_linker_flags $compile_deplibs" + finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" + else + compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + fi + fi + dependency_libs="$newdependency_libs" + if test "$pass" = dlpreopen; then + # Link the dlpreopened libraries before other libraries + for deplib in $save_deplibs; do + deplibs="$deplib $deplibs" + done + fi + if test "$pass" != dlopen; then + if test "$pass" != conv; then + # Make sure lib_search_path contains only unique directories. + lib_search_path= + for dir in $newlib_search_path; do + case "$lib_search_path " in + *" $dir "*) ;; + *) func_append lib_search_path " $dir" ;; + esac + done + newlib_search_path= + fi + + if test "$linkmode,$pass" != "prog,link"; then + vars="deplibs" + else + vars="compile_deplibs finalize_deplibs" + fi + for var in $vars dependency_libs; do + # Add libraries to $var in reverse order + eval tmp_libs=\"\$$var\" + new_libs= + for deplib in $tmp_libs; do + # FIXME: Pedantically, this is the right thing to do, so + # that some nasty dependency loop isn't accidentally + # broken: + #new_libs="$deplib $new_libs" + # Pragmatically, this seems to cause very few problems in + # practice: + case $deplib in + -L*) new_libs="$deplib $new_libs" ;; + -R*) ;; + *) + # And here is the reason: when a library appears more + # than once as an explicit dependence of a library, or + # is implicitly linked in more than once by the + # compiler, it is considered special, and multiple + # occurrences thereof are not removed. Compare this + # with having the same library being listed as a + # dependency of multiple other libraries: in this case, + # we know (pedantically, we assume) the library does not + # need to be listed more than once, so we keep only the + # last copy. This is not always right, but it is rare + # enough that we require users that really mean to play + # such unportable linking tricks to link the library + # using -Wl,-lname, so that libtool does not consider it + # for duplicate removal. + case " $specialdeplibs " in + *" $deplib "*) new_libs="$deplib $new_libs" ;; + *) + case " $new_libs " in + *" $deplib "*) ;; + *) new_libs="$deplib $new_libs" ;; + esac + ;; + esac + ;; + esac + done + tmp_libs= + for deplib in $new_libs; do + case $deplib in + -L*) + case " $tmp_libs " in + *" $deplib "*) ;; + *) func_append tmp_libs " $deplib" ;; + esac + ;; + *) func_append tmp_libs " $deplib" ;; + esac + done + eval $var=\"$tmp_libs\" + done # for var + fi + # Last step: remove runtime libs from dependency_libs + # (they stay in deplibs) + tmp_libs= + for i in $dependency_libs ; do + case " $predeps $postdeps $compiler_lib_search_path " in + *" $i "*) + i="" + ;; + esac + if test -n "$i" ; then + func_append tmp_libs " $i" + fi + done + dependency_libs=$tmp_libs + done # for pass + if test "$linkmode" = prog; then + dlfiles="$newdlfiles" + fi + if test "$linkmode" = prog || test "$linkmode" = lib; then + dlprefiles="$newdlprefiles" + fi + + case $linkmode in + oldlib) + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + func_warning "\`-dlopen' is ignored for archives" + fi + + case " $deplibs" in + *\ -l* | *\ -L*) + func_warning "\`-l' and \`-L' are ignored for archives" ;; + esac + + test -n "$rpath" && \ + func_warning "\`-rpath' is ignored for archives" + + test -n "$xrpath" && \ + func_warning "\`-R' is ignored for archives" + + test -n "$vinfo" && \ + func_warning "\`-version-info/-version-number' is ignored for archives" + + test -n "$release" && \ + func_warning "\`-release' is ignored for archives" + + test -n "$export_symbols$export_symbols_regex" && \ + func_warning "\`-export-symbols' is ignored for archives" + + # Now set the variables for building old libraries. + build_libtool_libs=no + oldlibs="$output" + func_append objs "$old_deplibs" + ;; + + lib) + # Make sure we only generate libraries of the form `libNAME.la'. + case $outputname in + lib*) + func_stripname 'lib' '.la' "$outputname" + name=$func_stripname_result + eval shared_ext=\"$shrext_cmds\" + eval libname=\"$libname_spec\" + ;; + *) + test "$module" = no && \ + func_fatal_help "libtool library \`$output' must begin with \`lib'" + + if test "$need_lib_prefix" != no; then + # Add the "lib" prefix for modules if required + func_stripname '' '.la' "$outputname" + name=$func_stripname_result + eval shared_ext=\"$shrext_cmds\" + eval libname=\"$libname_spec\" + else + func_stripname '' '.la' "$outputname" + libname=$func_stripname_result + fi + ;; + esac + + if test -n "$objs"; then + if test "$deplibs_check_method" != pass_all; then + func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs" + else + echo + $ECHO "*** Warning: Linking the shared library $output against the non-libtool" + $ECHO "*** objects $objs is not portable!" + func_append libobjs " $objs" + fi + fi + + test "$dlself" != no && \ + func_warning "\`-dlopen self' is ignored for libtool libraries" + + set dummy $rpath + shift + test "$#" -gt 1 && \ + func_warning "ignoring multiple \`-rpath's for a libtool library" + + install_libdir="$1" + + oldlibs= + if test -z "$rpath"; then + if test "$build_libtool_libs" = yes; then + # Building a libtool convenience library. + # Some compilers have problems with a `.al' extension so + # convenience libraries should have the same extension an + # archive normally would. + oldlibs="$output_objdir/$libname.$libext $oldlibs" + build_libtool_libs=convenience + build_old_libs=yes + fi + + test -n "$vinfo" && \ + func_warning "\`-version-info/-version-number' is ignored for convenience libraries" + + test -n "$release" && \ + func_warning "\`-release' is ignored for convenience libraries" + else + + # Parse the version information argument. + save_ifs="$IFS"; IFS=':' + set dummy $vinfo 0 0 0 + shift + IFS="$save_ifs" + + test -n "$7" && \ + func_fatal_help "too many parameters to \`-version-info'" + + # convert absolute version numbers to libtool ages + # this retains compatibility with .la files and attempts + # to make the code below a bit more comprehensible + + case $vinfo_number in + yes) + number_major="$1" + number_minor="$2" + number_revision="$3" + # + # There are really only two kinds -- those that + # use the current revision as the major version + # and those that subtract age and use age as + # a minor version. But, then there is irix + # which has an extra 1 added just for fun + # + case $version_type in + # correct linux to gnu/linux during the next big refactor + darwin|linux|osf|windows|none) + func_arith $number_major + $number_minor + current=$func_arith_result + age="$number_minor" + revision="$number_revision" + ;; + freebsd-aout|freebsd-elf|qnx|sunos) + current="$number_major" + revision="$number_minor" + age="0" + ;; + irix|nonstopux) + func_arith $number_major + $number_minor + current=$func_arith_result + age="$number_minor" + revision="$number_minor" + lt_irix_increment=no + ;; + esac + ;; + no) + current="$1" + revision="$2" + age="$3" + ;; + esac + + # Check that each of the things are valid numbers. + case $current in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + func_error "CURRENT \`$current' must be a nonnegative integer" + func_fatal_error "\`$vinfo' is not valid version information" + ;; + esac + + case $revision in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + func_error "REVISION \`$revision' must be a nonnegative integer" + func_fatal_error "\`$vinfo' is not valid version information" + ;; + esac + + case $age in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + func_error "AGE \`$age' must be a nonnegative integer" + func_fatal_error "\`$vinfo' is not valid version information" + ;; + esac + + if test "$age" -gt "$current"; then + func_error "AGE \`$age' is greater than the current interface number \`$current'" + func_fatal_error "\`$vinfo' is not valid version information" + fi + + # Calculate the version variables. + major= + versuffix= + verstring= + case $version_type in + none) ;; + + darwin) + # Like Linux, but with the current version available in + # verstring for coding it into the library header + func_arith $current - $age + major=.$func_arith_result + versuffix="$major.$age.$revision" + # Darwin ld doesn't like 0 for these options... + func_arith $current + 1 + minor_current=$func_arith_result + xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" + ;; + + freebsd-aout) + major=".$current" + versuffix=".$current.$revision"; + ;; + + freebsd-elf) + major=".$current" + versuffix=".$current" + ;; + + irix | nonstopux) + if test "X$lt_irix_increment" = "Xno"; then + func_arith $current - $age + else + func_arith $current - $age + 1 + fi + major=$func_arith_result + + case $version_type in + nonstopux) verstring_prefix=nonstopux ;; + *) verstring_prefix=sgi ;; + esac + verstring="$verstring_prefix$major.$revision" + + # Add in all the interfaces that we are compatible with. + loop=$revision + while test "$loop" -ne 0; do + func_arith $revision - $loop + iface=$func_arith_result + func_arith $loop - 1 + loop=$func_arith_result + verstring="$verstring_prefix$major.$iface:$verstring" + done + + # Before this point, $major must not contain `.'. + major=.$major + versuffix="$major.$revision" + ;; + + linux) # correct to gnu/linux during the next big refactor + func_arith $current - $age + major=.$func_arith_result + versuffix="$major.$age.$revision" + ;; + + osf) + func_arith $current - $age + major=.$func_arith_result + versuffix=".$current.$age.$revision" + verstring="$current.$age.$revision" + + # Add in all the interfaces that we are compatible with. + loop=$age + while test "$loop" -ne 0; do + func_arith $current - $loop + iface=$func_arith_result + func_arith $loop - 1 + loop=$func_arith_result + verstring="$verstring:${iface}.0" + done + + # Make executables depend on our current version. + func_append verstring ":${current}.0" + ;; + + qnx) + major=".$current" + versuffix=".$current" + ;; + + sunos) + major=".$current" + versuffix=".$current.$revision" + ;; + + windows) + # Use '-' rather than '.', since we only want one + # extension on DOS 8.3 filesystems. + func_arith $current - $age + major=$func_arith_result + versuffix="-$major" + ;; + + *) + func_fatal_configuration "unknown library version type \`$version_type'" + ;; + esac + + # Clear the version info if we defaulted, and they specified a release. + if test -z "$vinfo" && test -n "$release"; then + major= + case $version_type in + darwin) + # we can't check for "0.0" in archive_cmds due to quoting + # problems, so we reset it completely + verstring= + ;; + *) + verstring="0.0" + ;; + esac + if test "$need_version" = no; then + versuffix= + else + versuffix=".0.0" + fi + fi + + # Remove version info from name if versioning should be avoided + if test "$avoid_version" = yes && test "$need_version" = no; then + major= + versuffix= + verstring="" + fi + + # Check to see if the archive will have undefined symbols. + if test "$allow_undefined" = yes; then + if test "$allow_undefined_flag" = unsupported; then + func_warning "undefined symbols not allowed in $host shared libraries" + build_libtool_libs=no + build_old_libs=yes + fi + else + # Don't allow undefined symbols. + allow_undefined_flag="$no_undefined_flag" + fi + + fi + + func_generate_dlsyms "$libname" "$libname" "yes" + func_append libobjs " $symfileobj" + test "X$libobjs" = "X " && libobjs= + + if test "$opt_mode" != relink; then + # Remove our outputs, but don't remove object files since they + # may have been created when compiling PIC objects. + removelist= + tempremovelist=`$ECHO "$output_objdir/*"` + for p in $tempremovelist; do + case $p in + *.$objext | *.gcno) + ;; + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) + if test "X$precious_files_regex" != "X"; then + if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 + then + continue + fi + fi + func_append removelist " $p" + ;; + *) ;; + esac + done + test -n "$removelist" && \ + func_show_eval "${RM}r \$removelist" + fi + + # Now set the variables for building old libraries. + if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then + func_append oldlibs " $output_objdir/$libname.$libext" + + # Transform .lo files to .o files. + oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP` + fi + + # Eliminate all temporary directories. + #for path in $notinst_path; do + # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"` + # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"` + # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"` + #done + + if test -n "$xrpath"; then + # If the user specified any rpath flags, then add them. + temp_xrpath= + for libdir in $xrpath; do + func_replace_sysroot "$libdir" + func_append temp_xrpath " -R$func_replace_sysroot_result" + case "$finalize_rpath " in + *" $libdir "*) ;; + *) func_append finalize_rpath " $libdir" ;; + esac + done + if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then + dependency_libs="$temp_xrpath $dependency_libs" + fi + fi + + # Make sure dlfiles contains only unique files that won't be dlpreopened + old_dlfiles="$dlfiles" + dlfiles= + for lib in $old_dlfiles; do + case " $dlprefiles $dlfiles " in + *" $lib "*) ;; + *) func_append dlfiles " $lib" ;; + esac + done + + # Make sure dlprefiles contains only unique files + old_dlprefiles="$dlprefiles" + dlprefiles= + for lib in $old_dlprefiles; do + case "$dlprefiles " in + *" $lib "*) ;; + *) func_append dlprefiles " $lib" ;; + esac + done + + if test "$build_libtool_libs" = yes; then + if test -n "$rpath"; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) + # these systems don't actually have a c library (as such)! + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C library is in the System framework + func_append deplibs " System.ltframework" + ;; + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc due to us having libc/libc_r. + ;; + *-*-sco3.2v5* | *-*-sco5v6*) + # Causes problems with __ctype + ;; + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) + # Compiler inserts libc in the correct place for threads to work + ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test "$build_libtool_need_lc" = "yes"; then + func_append deplibs " -lc" + fi + ;; + esac + fi + + # Transform deplibs into only deplibs that can be linked in shared. + name_save=$name + libname_save=$libname + release_save=$release + versuffix_save=$versuffix + major_save=$major + # I'm not sure if I'm treating the release correctly. I think + # release should show up in the -l (ie -lgmp5) so we don't want to + # add it in twice. Is that correct? + release="" + versuffix="" + major="" + newdeplibs= + droppeddeps=no + case $deplibs_check_method in + pass_all) + # Don't check for shared/static. Everything works. + # This might be a little naive. We might want to check + # whether the library exists or not. But this is on + # osf3 & osf4 and I'm not really sure... Just + # implementing what was already the behavior. + newdeplibs=$deplibs + ;; + test_compile) + # This code stresses the "libraries are programs" paradigm to its + # limits. Maybe even breaks it. We compile a program, linking it + # against the deplibs as a proxy for the library. Then we can check + # whether they linked in statically or dynamically with ldd. + $opt_dry_run || $RM conftest.c + cat > conftest.c <<EOF + int main() { return 0; } +EOF + $opt_dry_run || $RM conftest + if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then + ldd_output=`ldd conftest` + for i in $deplibs; do + case $i in + -l*) + func_stripname -l '' "$i" + name=$func_stripname_result + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $i "*) + func_append newdeplibs " $i" + i="" + ;; + esac + fi + if test -n "$i" ; then + libname=`eval "\\$ECHO \"$libname_spec\""` + deplib_matches=`eval "\\$ECHO \"$library_names_spec\""` + set dummy $deplib_matches; shift + deplib_match=$1 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then + func_append newdeplibs " $i" + else + droppeddeps=yes + echo + $ECHO "*** Warning: dynamic linker does not accept needed library $i." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which I believe you do not have" + echo "*** because a test_compile did reveal that the linker did not use it for" + echo "*** its dynamic dependency list that programs get resolved with at runtime." + fi + fi + ;; + *) + func_append newdeplibs " $i" + ;; + esac + done + else + # Error occurred in the first compile. Let's try to salvage + # the situation: Compile a separate program for each library. + for i in $deplibs; do + case $i in + -l*) + func_stripname -l '' "$i" + name=$func_stripname_result + $opt_dry_run || $RM conftest + if $LTCC $LTCFLAGS -o conftest conftest.c $i; then + ldd_output=`ldd conftest` + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $i "*) + func_append newdeplibs " $i" + i="" + ;; + esac + fi + if test -n "$i" ; then + libname=`eval "\\$ECHO \"$libname_spec\""` + deplib_matches=`eval "\\$ECHO \"$library_names_spec\""` + set dummy $deplib_matches; shift + deplib_match=$1 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then + func_append newdeplibs " $i" + else + droppeddeps=yes + echo + $ECHO "*** Warning: dynamic linker does not accept needed library $i." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because a test_compile did reveal that the linker did not use this one" + echo "*** as a dynamic dependency that programs can get resolved with at runtime." + fi + fi + else + droppeddeps=yes + echo + $ECHO "*** Warning! Library $i is needed by this library but I was not able to" + echo "*** make it link in! You will probably need to install it or some" + echo "*** library that it depends on before this library will be fully" + echo "*** functional. Installing it before continuing would be even better." + fi + ;; + *) + func_append newdeplibs " $i" + ;; + esac + done + fi + ;; + file_magic*) + set dummy $deplibs_check_method; shift + file_magic_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` + for a_deplib in $deplibs; do + case $a_deplib in + -l*) + func_stripname -l '' "$a_deplib" + name=$func_stripname_result + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $a_deplib "*) + func_append newdeplibs " $a_deplib" + a_deplib="" + ;; + esac + fi + if test -n "$a_deplib" ; then + libname=`eval "\\$ECHO \"$libname_spec\""` + if test -n "$file_magic_glob"; then + libnameglob=`func_echo_all "$libname" | $SED -e $file_magic_glob` + else + libnameglob=$libname + fi + test "$want_nocaseglob" = yes && nocaseglob=`shopt -p nocaseglob` + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do + if test "$want_nocaseglob" = yes; then + shopt -s nocaseglob + potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` + $nocaseglob + else + potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` + fi + for potent_lib in $potential_libs; do + # Follow soft links. + if ls -lLd "$potent_lib" 2>/dev/null | + $GREP " -> " >/dev/null; then + continue + fi + # The statement above tries to avoid entering an + # endless loop below, in case of cyclic links. + # We might still enter an endless loop, since a link + # loop can be closed while we follow links, + # but so what? + potlib="$potent_lib" + while test -h "$potlib" 2>/dev/null; do + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` + case $potliblink in + [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; + *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";; + esac + done + if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | + $SED -e 10q | + $EGREP "$file_magic_regex" > /dev/null; then + func_append newdeplibs " $a_deplib" + a_deplib="" + break 2 + fi + done + done + fi + if test -n "$a_deplib" ; then + droppeddeps=yes + echo + $ECHO "*** Warning: linker path does not have real file for library $a_deplib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because I did check the linker path looking for a file starting" + if test -z "$potlib" ; then + $ECHO "*** with $libname but no candidates were found. (...for file magic test)" + else + $ECHO "*** with $libname and none of the candidates passed a file format test" + $ECHO "*** using a file magic. Last file checked: $potlib" + fi + fi + ;; + *) + # Add a -L argument. + func_append newdeplibs " $a_deplib" + ;; + esac + done # Gone through all deplibs. + ;; + match_pattern*) + set dummy $deplibs_check_method; shift + match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` + for a_deplib in $deplibs; do + case $a_deplib in + -l*) + func_stripname -l '' "$a_deplib" + name=$func_stripname_result + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $a_deplib "*) + func_append newdeplibs " $a_deplib" + a_deplib="" + ;; + esac + fi + if test -n "$a_deplib" ; then + libname=`eval "\\$ECHO \"$libname_spec\""` + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do + potential_libs=`ls $i/$libname[.-]* 2>/dev/null` + for potent_lib in $potential_libs; do + potlib="$potent_lib" # see symlink-check above in file_magic test + if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \ + $EGREP "$match_pattern_regex" > /dev/null; then + func_append newdeplibs " $a_deplib" + a_deplib="" + break 2 + fi + done + done + fi + if test -n "$a_deplib" ; then + droppeddeps=yes + echo + $ECHO "*** Warning: linker path does not have real file for library $a_deplib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because I did check the linker path looking for a file starting" + if test -z "$potlib" ; then + $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" + else + $ECHO "*** with $libname and none of the candidates passed a file format test" + $ECHO "*** using a regex pattern. Last file checked: $potlib" + fi + fi + ;; + *) + # Add a -L argument. + func_append newdeplibs " $a_deplib" + ;; + esac + done # Gone through all deplibs. + ;; + none | unknown | *) + newdeplibs="" + tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'` + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + for i in $predeps $postdeps ; do + # can't use Xsed below, because $i might contain '/' + tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"` + done + fi + case $tmp_deplibs in + *[!\ \ ]*) + echo + if test "X$deplibs_check_method" = "Xnone"; then + echo "*** Warning: inter-library dependencies are not supported in this platform." + else + echo "*** Warning: inter-library dependencies are not known to be supported." + fi + echo "*** All declared inter-library dependencies are being dropped." + droppeddeps=yes + ;; + esac + ;; + esac + versuffix=$versuffix_save + major=$major_save + release=$release_save + libname=$libname_save + name=$name_save + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library with the System framework + newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'` + ;; + esac + + if test "$droppeddeps" = yes; then + if test "$module" = yes; then + echo + echo "*** Warning: libtool could not satisfy all declared inter-library" + $ECHO "*** dependencies of module $libname. Therefore, libtool will create" + echo "*** a static module, that should work as long as the dlopening" + echo "*** application is linked with the -dlopen flag." + if test -z "$global_symbol_pipe"; then + echo + echo "*** However, this would only work if libtool was able to extract symbol" + echo "*** lists from a program, using \`nm' or equivalent, but libtool could" + echo "*** not find such a program. So, this module is probably useless." + echo "*** \`nm' from GNU binutils and a full rebuild may help." + fi + if test "$build_old_libs" = no; then + oldlibs="$output_objdir/$libname.$libext" + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + else + echo "*** The inter-library dependencies that have been dropped here will be" + echo "*** automatically added whenever a program is linked with this library" + echo "*** or is declared to -dlopen it." + + if test "$allow_undefined" = no; then + echo + echo "*** Since this library must not contain undefined symbols," + echo "*** because either the platform does not support them or" + echo "*** it was explicitly requested with -no-undefined," + echo "*** libtool will only create a static version of it." + if test "$build_old_libs" = no; then + oldlibs="$output_objdir/$libname.$libext" + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + fi + fi + fi + # Done checking deplibs! + deplibs=$newdeplibs + fi + # Time to change all our "foo.ltframework" stuff back to "-framework foo" + case $host in + *-*-darwin*) + newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + ;; + esac + + # move library search paths that coincide with paths to not yet + # installed libraries to the beginning of the library search list + new_libs= + for path in $notinst_path; do + case " $new_libs " in + *" -L$path/$objdir "*) ;; + *) + case " $deplibs " in + *" -L$path/$objdir "*) + func_append new_libs " -L$path/$objdir" ;; + esac + ;; + esac + done + for deplib in $deplibs; do + case $deplib in + -L*) + case " $new_libs " in + *" $deplib "*) ;; + *) func_append new_libs " $deplib" ;; + esac + ;; + *) func_append new_libs " $deplib" ;; + esac + done + deplibs="$new_libs" + + # All the library-specific variables (install_libdir is set above). + library_names= + old_library= + dlname= + + # Test again, we may have decided not to build it any more + if test "$build_libtool_libs" = yes; then + # Remove ${wl} instances when linking with ld. + # FIXME: should test the right _cmds variable. + case $archive_cmds in + *\$LD\ *) wl= ;; + esac + if test "$hardcode_into_libs" = yes; then + # Hardcode the library paths + hardcode_libdirs= + dep_rpath= + rpath="$finalize_rpath" + test "$opt_mode" != relink && rpath="$compile_rpath$rpath" + for libdir in $rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + func_replace_sysroot "$libdir" + libdir=$func_replace_sysroot_result + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + func_append dep_rpath " $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) func_append perm_rpath " $libdir" ;; + esac + fi + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval "dep_rpath=\"$hardcode_libdir_flag_spec\"" + fi + if test -n "$runpath_var" && test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + func_append rpath "$dir:" + done + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" + fi + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" + fi + + shlibpath="$finalize_shlibpath" + test "$opt_mode" != relink && shlibpath="$compile_shlibpath$shlibpath" + if test -n "$shlibpath"; then + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" + fi + + # Get the real and link names of the library. + eval shared_ext=\"$shrext_cmds\" + eval library_names=\"$library_names_spec\" + set dummy $library_names + shift + realname="$1" + shift + + if test -n "$soname_spec"; then + eval soname=\"$soname_spec\" + else + soname="$realname" + fi + if test -z "$dlname"; then + dlname=$soname + fi + + lib="$output_objdir/$realname" + linknames= + for link + do + func_append linknames " $link" + done + + # Use standard objects if they are pic + test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP` + test "X$libobjs" = "X " && libobjs= + + delfiles= + if test -n "$export_symbols" && test -n "$include_expsyms"; then + $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" + export_symbols="$output_objdir/$libname.uexp" + func_append delfiles " $export_symbols" + fi + + orig_export_symbols= + case $host_os in + cygwin* | mingw* | cegcc*) + if test -n "$export_symbols" && test -z "$export_symbols_regex"; then + # exporting using user supplied symfile + if test "x`$SED 1q $export_symbols`" != xEXPORTS; then + # and it's NOT already a .def file. Must figure out + # which of the given symbols are data symbols and tag + # them as such. So, trigger use of export_symbols_cmds. + # export_symbols gets reassigned inside the "prepare + # the list of exported symbols" if statement, so the + # include_expsyms logic still works. + orig_export_symbols="$export_symbols" + export_symbols= + always_export_symbols=yes + fi + fi + ;; + esac + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then + func_verbose "generating symbol list for \`$libname.la'" + export_symbols="$output_objdir/$libname.exp" + $opt_dry_run || $RM $export_symbols + cmds=$export_symbols_cmds + save_ifs="$IFS"; IFS='~' + for cmd1 in $cmds; do + IFS="$save_ifs" + # Take the normal branch if the nm_file_list_spec branch + # doesn't work or if tool conversion is not needed. + case $nm_file_list_spec~$to_tool_file_cmd in + *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*) + try_normal_branch=yes + eval cmd=\"$cmd1\" + func_len " $cmd" + len=$func_len_result + ;; + *) + try_normal_branch=no + ;; + esac + if test "$try_normal_branch" = yes \ + && { test "$len" -lt "$max_cmd_len" \ + || test "$max_cmd_len" -le -1; } + then + func_show_eval "$cmd" 'exit $?' + skipped_export=false + elif test -n "$nm_file_list_spec"; then + func_basename "$output" + output_la=$func_basename_result + save_libobjs=$libobjs + save_output=$output + output=${output_objdir}/${output_la}.nm + func_to_tool_file "$output" + libobjs=$nm_file_list_spec$func_to_tool_file_result + func_append delfiles " $output" + func_verbose "creating $NM input file list: $output" + for obj in $save_libobjs; do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" + done > "$output" + eval cmd=\"$cmd1\" + func_show_eval "$cmd" 'exit $?' + output=$save_output + libobjs=$save_libobjs + skipped_export=false + else + # The command line is too long to execute in one step. + func_verbose "using reloadable object file for export list..." + skipped_export=: + # Break out early, otherwise skipped_export may be + # set to false by a later but shorter cmd. + break + fi + done + IFS="$save_ifs" + if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then + func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' + func_show_eval '$MV "${export_symbols}T" "$export_symbols"' + fi + fi + fi + + if test -n "$export_symbols" && test -n "$include_expsyms"; then + tmp_export_symbols="$export_symbols" + test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' + fi + + if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then + # The given exports_symbols file has to be filtered, so filter it. + func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" + # FIXME: $output_objdir/$libname.filter potentially contains lots of + # 's' commands which not all seds can handle. GNU sed should be fine + # though. Also, the filter scales superlinearly with the number of + # global variables. join(1) would be nice here, but unfortunately + # isn't a blessed tool. + $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter + func_append delfiles " $export_symbols $output_objdir/$libname.filter" + export_symbols=$output_objdir/$libname.def + $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols + fi + + tmp_deplibs= + for test_deplib in $deplibs; do + case " $convenience " in + *" $test_deplib "*) ;; + *) + func_append tmp_deplibs " $test_deplib" + ;; + esac + done + deplibs="$tmp_deplibs" + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec" && + test "$compiler_needs_object" = yes && + test -z "$libobjs"; then + # extract the archives, so we have objects to list. + # TODO: could optimize this to just extract one archive. + whole_archive_flag_spec= + fi + if test -n "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + test "X$libobjs" = "X " && libobjs= + else + gentop="$output_objdir/${outputname}x" + func_append generated " $gentop" + + func_extract_archives $gentop $convenience + func_append libobjs " $func_extract_archives_result" + test "X$libobjs" = "X " && libobjs= + fi + fi + + if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then + eval flag=\"$thread_safe_flag_spec\" + func_append linker_flags " $flag" + fi + + # Make a backup of the uninstalled library when relinking + if test "$opt_mode" = relink; then + $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? + fi + + # Do each of the archive commands. + if test "$module" = yes && test -n "$module_cmds" ; then + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then + eval test_cmds=\"$module_expsym_cmds\" + cmds=$module_expsym_cmds + else + eval test_cmds=\"$module_cmds\" + cmds=$module_cmds + fi + else + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then + eval test_cmds=\"$archive_expsym_cmds\" + cmds=$archive_expsym_cmds + else + eval test_cmds=\"$archive_cmds\" + cmds=$archive_cmds + fi + fi + + if test "X$skipped_export" != "X:" && + func_len " $test_cmds" && + len=$func_len_result && + test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then + : + else + # The command line is too long to link in one step, link piecewise + # or, if using GNU ld and skipped_export is not :, use a linker + # script. + + # Save the value of $output and $libobjs because we want to + # use them later. If we have whole_archive_flag_spec, we + # want to use save_libobjs as it was before + # whole_archive_flag_spec was expanded, because we can't + # assume the linker understands whole_archive_flag_spec. + # This may have to be revisited, in case too many + # convenience libraries get linked in and end up exceeding + # the spec. + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + fi + save_output=$output + func_basename "$output" + output_la=$func_basename_result + + # Clear the reloadable object creation command queue and + # initialize k to one. + test_cmds= + concat_cmds= + objlist= + last_robj= + k=1 + + if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then + output=${output_objdir}/${output_la}.lnkscript + func_verbose "creating GNU ld script: $output" + echo 'INPUT (' > $output + for obj in $save_libobjs + do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" >> $output + done + echo ')' >> $output + func_append delfiles " $output" + func_to_tool_file "$output" + output=$func_to_tool_file_result + elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then + output=${output_objdir}/${output_la}.lnk + func_verbose "creating linker input file list: $output" + : > $output + set x $save_libobjs + shift + firstobj= + if test "$compiler_needs_object" = yes; then + firstobj="$1 " + shift + fi + for obj + do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" >> $output + done + func_append delfiles " $output" + func_to_tool_file "$output" + output=$firstobj\"$file_list_spec$func_to_tool_file_result\" + else + if test -n "$save_libobjs"; then + func_verbose "creating reloadable object files..." + output=$output_objdir/$output_la-${k}.$objext + eval test_cmds=\"$reload_cmds\" + func_len " $test_cmds" + len0=$func_len_result + len=$len0 + + # Loop over the list of objects to be linked. + for obj in $save_libobjs + do + func_len " $obj" + func_arith $len + $func_len_result + len=$func_arith_result + if test "X$objlist" = X || + test "$len" -lt "$max_cmd_len"; then + func_append objlist " $obj" + else + # The command $test_cmds is almost too long, add a + # command to the queue. + if test "$k" -eq 1 ; then + # The first file doesn't have a previous command to add. + reload_objs=$objlist + eval concat_cmds=\"$reload_cmds\" + else + # All subsequent reloadable object files will link in + # the last one created. + reload_objs="$objlist $last_robj" + eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\" + fi + last_robj=$output_objdir/$output_la-${k}.$objext + func_arith $k + 1 + k=$func_arith_result + output=$output_objdir/$output_la-${k}.$objext + objlist=" $obj" + func_len " $last_robj" + func_arith $len0 + $func_len_result + len=$func_arith_result + fi + done + # Handle the remaining objects by creating one last + # reloadable object file. All subsequent reloadable object + # files will link in the last one created. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + reload_objs="$objlist $last_robj" + eval concat_cmds=\"\${concat_cmds}$reload_cmds\" + if test -n "$last_robj"; then + eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\" + fi + func_append delfiles " $output" + + else + output= + fi + + if ${skipped_export-false}; then + func_verbose "generating symbol list for \`$libname.la'" + export_symbols="$output_objdir/$libname.exp" + $opt_dry_run || $RM $export_symbols + libobjs=$output + # Append the command to create the export file. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" + if test -n "$last_robj"; then + eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" + fi + fi + + test -n "$save_libobjs" && + func_verbose "creating a temporary reloadable object file: $output" + + # Loop through the commands generated above and execute them. + save_ifs="$IFS"; IFS='~' + for cmd in $concat_cmds; do + IFS="$save_ifs" + $opt_silent || { + func_quote_for_expand "$cmd" + eval "func_echo $func_quote_for_expand_result" + } + $opt_dry_run || eval "$cmd" || { + lt_exit=$? + + # Restore the uninstalled library and exit + if test "$opt_mode" = relink; then + ( cd "$output_objdir" && \ + $RM "${realname}T" && \ + $MV "${realname}U" "$realname" ) + fi + + exit $lt_exit + } + done + IFS="$save_ifs" + + if test -n "$export_symbols_regex" && ${skipped_export-false}; then + func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' + func_show_eval '$MV "${export_symbols}T" "$export_symbols"' + fi + fi + + if ${skipped_export-false}; then + if test -n "$export_symbols" && test -n "$include_expsyms"; then + tmp_export_symbols="$export_symbols" + test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' + fi + + if test -n "$orig_export_symbols"; then + # The given exports_symbols file has to be filtered, so filter it. + func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" + # FIXME: $output_objdir/$libname.filter potentially contains lots of + # 's' commands which not all seds can handle. GNU sed should be fine + # though. Also, the filter scales superlinearly with the number of + # global variables. join(1) would be nice here, but unfortunately + # isn't a blessed tool. + $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter + func_append delfiles " $export_symbols $output_objdir/$libname.filter" + export_symbols=$output_objdir/$libname.def + $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols + fi + fi + + libobjs=$output + # Restore the value of output. + output=$save_output + + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + test "X$libobjs" = "X " && libobjs= + fi + # Expand the library linking commands again to reset the + # value of $libobjs for piecewise linking. + + # Do each of the archive commands. + if test "$module" = yes && test -n "$module_cmds" ; then + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then + cmds=$module_expsym_cmds + else + cmds=$module_cmds + fi + else + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then + cmds=$archive_expsym_cmds + else + cmds=$archive_cmds + fi + fi + fi + + if test -n "$delfiles"; then + # Append the command to remove temporary files to $cmds. + eval cmds=\"\$cmds~\$RM $delfiles\" + fi + + # Add any objects from preloaded convenience libraries + if test -n "$dlprefiles"; then + gentop="$output_objdir/${outputname}x" + func_append generated " $gentop" + + func_extract_archives $gentop $dlprefiles + func_append libobjs " $func_extract_archives_result" + test "X$libobjs" = "X " && libobjs= + fi + + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $opt_silent || { + func_quote_for_expand "$cmd" + eval "func_echo $func_quote_for_expand_result" + } + $opt_dry_run || eval "$cmd" || { + lt_exit=$? + + # Restore the uninstalled library and exit + if test "$opt_mode" = relink; then + ( cd "$output_objdir" && \ + $RM "${realname}T" && \ + $MV "${realname}U" "$realname" ) + fi + + exit $lt_exit + } + done + IFS="$save_ifs" + + # Restore the uninstalled library and exit + if test "$opt_mode" = relink; then + $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? + + if test -n "$convenience"; then + if test -z "$whole_archive_flag_spec"; then + func_show_eval '${RM}r "$gentop"' + fi + fi + + exit $EXIT_SUCCESS + fi + + # Create links to the real library. + for linkname in $linknames; do + if test "$realname" != "$linkname"; then + func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' + fi + done + + # If -module or -export-dynamic was specified, set the dlname. + if test "$module" = yes || test "$export_dynamic" = yes; then + # On all known operating systems, these are identical. + dlname="$soname" + fi + fi + ;; + + obj) + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + func_warning "\`-dlopen' is ignored for objects" + fi + + case " $deplibs" in + *\ -l* | *\ -L*) + func_warning "\`-l' and \`-L' are ignored for objects" ;; + esac + + test -n "$rpath" && \ + func_warning "\`-rpath' is ignored for objects" + + test -n "$xrpath" && \ + func_warning "\`-R' is ignored for objects" + + test -n "$vinfo" && \ + func_warning "\`-version-info' is ignored for objects" + + test -n "$release" && \ + func_warning "\`-release' is ignored for objects" + + case $output in + *.lo) + test -n "$objs$old_deplibs" && \ + func_fatal_error "cannot build library object \`$output' from non-libtool objects" + + libobj=$output + func_lo2o "$libobj" + obj=$func_lo2o_result + ;; + *) + libobj= + obj="$output" + ;; + esac + + # Delete the old objects. + $opt_dry_run || $RM $obj $libobj + + # Objects from convenience libraries. This assumes + # single-version convenience libraries. Whenever we create + # different ones for PIC/non-PIC, this we'll have to duplicate + # the extraction. + reload_conv_objs= + gentop= + # reload_cmds runs $LD directly, so let us get rid of + # -Wl from whole_archive_flag_spec and hope we can get by with + # turning comma into space.. + wl= + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec"; then + eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" + reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'` + else + gentop="$output_objdir/${obj}x" + func_append generated " $gentop" + + func_extract_archives $gentop $convenience + reload_conv_objs="$reload_objs $func_extract_archives_result" + fi + fi + + # If we're not building shared, we need to use non_pic_objs + test "$build_libtool_libs" != yes && libobjs="$non_pic_objects" + + # Create the old-style object. + reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test + + output="$obj" + func_execute_cmds "$reload_cmds" 'exit $?' + + # Exit if we aren't doing a library object file. + if test -z "$libobj"; then + if test -n "$gentop"; then + func_show_eval '${RM}r "$gentop"' + fi + + exit $EXIT_SUCCESS + fi + + if test "$build_libtool_libs" != yes; then + if test -n "$gentop"; then + func_show_eval '${RM}r "$gentop"' + fi + + # Create an invalid libtool object if no PIC, so that we don't + # accidentally link it into a program. + # $show "echo timestamp > $libobj" + # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? + exit $EXIT_SUCCESS + fi + + if test -n "$pic_flag" || test "$pic_mode" != default; then + # Only do commands if we really have different PIC objects. + reload_objs="$libobjs $reload_conv_objs" + output="$libobj" + func_execute_cmds "$reload_cmds" 'exit $?' + fi + + if test -n "$gentop"; then + func_show_eval '${RM}r "$gentop"' + fi + + exit $EXIT_SUCCESS + ;; + + prog) + case $host in + *cygwin*) func_stripname '' '.exe' "$output" + output=$func_stripname_result.exe;; + esac + test -n "$vinfo" && \ + func_warning "\`-version-info' is ignored for programs" + + test -n "$release" && \ + func_warning "\`-release' is ignored for programs" + + test "$preload" = yes \ + && test "$dlopen_support" = unknown \ + && test "$dlopen_self" = unknown \ + && test "$dlopen_self_static" = unknown && \ + func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support." + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library is the System framework + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'` + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'` + ;; + esac + + case $host in + *-*-darwin*) + # Don't allow lazy linking, it breaks C++ global constructors + # But is supposedly fixed on 10.4 or later (yay!). + if test "$tagname" = CXX ; then + case ${MACOSX_DEPLOYMENT_TARGET-10.0} in + 10.[0123]) + func_append compile_command " ${wl}-bind_at_load" + func_append finalize_command " ${wl}-bind_at_load" + ;; + esac + fi + # Time to change all our "foo.ltframework" stuff back to "-framework foo" + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + ;; + esac + + + # move library search paths that coincide with paths to not yet + # installed libraries to the beginning of the library search list + new_libs= + for path in $notinst_path; do + case " $new_libs " in + *" -L$path/$objdir "*) ;; + *) + case " $compile_deplibs " in + *" -L$path/$objdir "*) + func_append new_libs " -L$path/$objdir" ;; + esac + ;; + esac + done + for deplib in $compile_deplibs; do + case $deplib in + -L*) + case " $new_libs " in + *" $deplib "*) ;; + *) func_append new_libs " $deplib" ;; + esac + ;; + *) func_append new_libs " $deplib" ;; + esac + done + compile_deplibs="$new_libs" + + + func_append compile_command " $compile_deplibs" + func_append finalize_command " $finalize_deplibs" + + if test -n "$rpath$xrpath"; then + # If the user specified any rpath flags, then add them. + for libdir in $rpath $xrpath; do + # This is the magic to use -rpath. + case "$finalize_rpath " in + *" $libdir "*) ;; + *) func_append finalize_rpath " $libdir" ;; + esac + done + fi + + # Now hardcode the library paths + rpath= + hardcode_libdirs= + for libdir in $compile_rpath $finalize_rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + func_append rpath " $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) func_append perm_rpath " $libdir" ;; + esac + fi + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'` + case :$dllsearchpath: in + *":$libdir:"*) ;; + ::) dllsearchpath=$libdir;; + *) func_append dllsearchpath ":$libdir";; + esac + case :$dllsearchpath: in + *":$testbindir:"*) ;; + ::) dllsearchpath=$testbindir;; + *) func_append dllsearchpath ":$testbindir";; + esac + ;; + esac + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval rpath=\" $hardcode_libdir_flag_spec\" + fi + compile_rpath="$rpath" + + rpath= + hardcode_libdirs= + for libdir in $finalize_rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + func_append rpath " $flag" + fi + elif test -n "$runpath_var"; then + case "$finalize_perm_rpath " in + *" $libdir "*) ;; + *) func_append finalize_perm_rpath " $libdir" ;; + esac + fi + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval rpath=\" $hardcode_libdir_flag_spec\" + fi + finalize_rpath="$rpath" + + if test -n "$libobjs" && test "$build_old_libs" = yes; then + # Transform all the library objects into standard objects. + compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP` + finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP` + fi + + func_generate_dlsyms "$outputname" "@PROGRAM@" "no" + + # template prelinking step + if test -n "$prelink_cmds"; then + func_execute_cmds "$prelink_cmds" 'exit $?' + fi + + wrappers_required=yes + case $host in + *cegcc* | *mingw32ce*) + # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. + wrappers_required=no + ;; + *cygwin* | *mingw* ) + if test "$build_libtool_libs" != yes; then + wrappers_required=no + fi + ;; + *) + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then + wrappers_required=no + fi + ;; + esac + if test "$wrappers_required" = no; then + # Replace the output file specification. + compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'` + link_command="$compile_command$compile_rpath" + + # We have no uninstalled library dependencies, so finalize right now. + exit_status=0 + func_show_eval "$link_command" 'exit_status=$?' + + if test -n "$postlink_cmds"; then + func_to_tool_file "$output" + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` + func_execute_cmds "$postlink_cmds" 'exit $?' + fi + + # Delete the generated files. + if test -f "$output_objdir/${outputname}S.${objext}"; then + func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"' + fi + + exit $exit_status + fi + + if test -n "$compile_shlibpath$finalize_shlibpath"; then + compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" + fi + if test -n "$finalize_shlibpath"; then + finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" + fi + + compile_var= + finalize_var= + if test -n "$runpath_var"; then + if test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + func_append rpath "$dir:" + done + compile_var="$runpath_var=\"$rpath\$$runpath_var\" " + fi + if test -n "$finalize_perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $finalize_perm_rpath; do + func_append rpath "$dir:" + done + finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " + fi + fi + + if test "$no_install" = yes; then + # We don't need to create a wrapper script. + link_command="$compile_var$compile_command$compile_rpath" + # Replace the output file specification. + link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'` + # Delete the old output file. + $opt_dry_run || $RM $output + # Link the executable and exit + func_show_eval "$link_command" 'exit $?' + + if test -n "$postlink_cmds"; then + func_to_tool_file "$output" + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` + func_execute_cmds "$postlink_cmds" 'exit $?' + fi + + exit $EXIT_SUCCESS + fi + + if test "$hardcode_action" = relink; then + # Fast installation is not supported + link_command="$compile_var$compile_command$compile_rpath" + relink_command="$finalize_var$finalize_command$finalize_rpath" + + func_warning "this platform does not like uninstalled shared libraries" + func_warning "\`$output' will be relinked during installation" + else + if test "$fast_install" != no; then + link_command="$finalize_var$compile_command$finalize_rpath" + if test "$fast_install" = yes; then + relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'` + else + # fast_install is set to needless + relink_command= + fi + else + link_command="$compile_var$compile_command$compile_rpath" + relink_command="$finalize_var$finalize_command$finalize_rpath" + fi + fi + + # Replace the output file specification. + link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` + + # Delete the old output files. + $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname + + func_show_eval "$link_command" 'exit $?' + + if test -n "$postlink_cmds"; then + func_to_tool_file "$output_objdir/$outputname" + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` + func_execute_cmds "$postlink_cmds" 'exit $?' + fi + + # Now create the wrapper script. + func_verbose "creating $output" + + # Quote the relink command for shipping. + if test -n "$relink_command"; then + # Preserve any variables that may affect compiler behavior + for var in $variables_saved_for_relink; do + if eval test -z \"\${$var+set}\"; then + relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" + elif eval var_value=\$$var; test -z "$var_value"; then + relink_command="$var=; export $var; $relink_command" + else + func_quote_for_eval "$var_value" + relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" + fi + done + relink_command="(cd `pwd`; $relink_command)" + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` + fi + + # Only actually do things if not in dry run mode. + $opt_dry_run || { + # win32 will think the script is a binary if it has + # a .exe suffix, so we strip it off here. + case $output in + *.exe) func_stripname '' '.exe' "$output" + output=$func_stripname_result ;; + esac + # test for cygwin because mv fails w/o .exe extensions + case $host in + *cygwin*) + exeext=.exe + func_stripname '' '.exe' "$outputname" + outputname=$func_stripname_result ;; + *) exeext= ;; + esac + case $host in + *cygwin* | *mingw* ) + func_dirname_and_basename "$output" "" "." + output_name=$func_basename_result + output_path=$func_dirname_result + cwrappersource="$output_path/$objdir/lt-$output_name.c" + cwrapper="$output_path/$output_name.exe" + $RM $cwrappersource $cwrapper + trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 + + func_emit_cwrapperexe_src > $cwrappersource + + # The wrapper executable is built using the $host compiler, + # because it contains $host paths and files. If cross- + # compiling, it, like the target executable, must be + # executed on the $host or under an emulation environment. + $opt_dry_run || { + $LTCC $LTCFLAGS -o $cwrapper $cwrappersource + $STRIP $cwrapper + } + + # Now, create the wrapper script for func_source use: + func_ltwrapper_scriptname $cwrapper + $RM $func_ltwrapper_scriptname_result + trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15 + $opt_dry_run || { + # note: this script will not be executed, so do not chmod. + if test "x$build" = "x$host" ; then + $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result + else + func_emit_wrapper no > $func_ltwrapper_scriptname_result + fi + } + ;; + * ) + $RM $output + trap "$RM $output; exit $EXIT_FAILURE" 1 2 15 + + func_emit_wrapper no > $output + chmod +x $output + ;; + esac + } + exit $EXIT_SUCCESS + ;; + esac + + # See if we need to build an old-fashioned archive. + for oldlib in $oldlibs; do + + if test "$build_libtool_libs" = convenience; then + oldobjs="$libobjs_save $symfileobj" + addlibs="$convenience" + build_libtool_libs=no + else + if test "$build_libtool_libs" = module; then + oldobjs="$libobjs_save" + build_libtool_libs=no + else + oldobjs="$old_deplibs $non_pic_objects" + if test "$preload" = yes && test -f "$symfileobj"; then + func_append oldobjs " $symfileobj" + fi + fi + addlibs="$old_convenience" + fi + + if test -n "$addlibs"; then + gentop="$output_objdir/${outputname}x" + func_append generated " $gentop" + + func_extract_archives $gentop $addlibs + func_append oldobjs " $func_extract_archives_result" + fi + + # Do each command in the archive commands. + if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then + cmds=$old_archive_from_new_cmds + else + + # Add any objects from preloaded convenience libraries + if test -n "$dlprefiles"; then + gentop="$output_objdir/${outputname}x" + func_append generated " $gentop" + + func_extract_archives $gentop $dlprefiles + func_append oldobjs " $func_extract_archives_result" + fi + + # POSIX demands no paths to be encoded in archives. We have + # to avoid creating archives with duplicate basenames if we + # might have to extract them afterwards, e.g., when creating a + # static archive out of a convenience library, or when linking + # the entirety of a libtool archive into another (currently + # not supported by libtool). + if (for obj in $oldobjs + do + func_basename "$obj" + $ECHO "$func_basename_result" + done | sort | sort -uc >/dev/null 2>&1); then + : + else + echo "copying selected object files to avoid basename conflicts..." + gentop="$output_objdir/${outputname}x" + func_append generated " $gentop" + func_mkdir_p "$gentop" + save_oldobjs=$oldobjs + oldobjs= + counter=1 + for obj in $save_oldobjs + do + func_basename "$obj" + objbase="$func_basename_result" + case " $oldobjs " in + " ") oldobjs=$obj ;; + *[\ /]"$objbase "*) + while :; do + # Make sure we don't pick an alternate name that also + # overlaps. + newobj=lt$counter-$objbase + func_arith $counter + 1 + counter=$func_arith_result + case " $oldobjs " in + *[\ /]"$newobj "*) ;; + *) if test ! -f "$gentop/$newobj"; then break; fi ;; + esac + done + func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" + func_append oldobjs " $gentop/$newobj" + ;; + *) func_append oldobjs " $obj" ;; + esac + done + fi + func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 + tool_oldlib=$func_to_tool_file_result + eval cmds=\"$old_archive_cmds\" + + func_len " $cmds" + len=$func_len_result + if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then + cmds=$old_archive_cmds + elif test -n "$archiver_list_spec"; then + func_verbose "using command file archive linking..." + for obj in $oldobjs + do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" + done > $output_objdir/$libname.libcmd + func_to_tool_file "$output_objdir/$libname.libcmd" + oldobjs=" $archiver_list_spec$func_to_tool_file_result" + cmds=$old_archive_cmds + else + # the command line is too long to link in one step, link in parts + func_verbose "using piecewise archive linking..." + save_RANLIB=$RANLIB + RANLIB=: + objlist= + concat_cmds= + save_oldobjs=$oldobjs + oldobjs= + # Is there a better way of finding the last object in the list? + for obj in $save_oldobjs + do + last_oldobj=$obj + done + eval test_cmds=\"$old_archive_cmds\" + func_len " $test_cmds" + len0=$func_len_result + len=$len0 + for obj in $save_oldobjs + do + func_len " $obj" + func_arith $len + $func_len_result + len=$func_arith_result + func_append objlist " $obj" + if test "$len" -lt "$max_cmd_len"; then + : + else + # the above command should be used before it gets too long + oldobjs=$objlist + if test "$obj" = "$last_oldobj" ; then + RANLIB=$save_RANLIB + fi + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" + objlist= + len=$len0 + fi + done + RANLIB=$save_RANLIB + oldobjs=$objlist + if test "X$oldobjs" = "X" ; then + eval cmds=\"\$concat_cmds\" + else + eval cmds=\"\$concat_cmds~\$old_archive_cmds\" + fi + fi + fi + func_execute_cmds "$cmds" 'exit $?' + done + + test -n "$generated" && \ + func_show_eval "${RM}r$generated" + + # Now create the libtool archive. + case $output in + *.la) + old_library= + test "$build_old_libs" = yes && old_library="$libname.$libext" + func_verbose "creating $output" + + # Preserve any variables that may affect compiler behavior + for var in $variables_saved_for_relink; do + if eval test -z \"\${$var+set}\"; then + relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" + elif eval var_value=\$$var; test -z "$var_value"; then + relink_command="$var=; export $var; $relink_command" + else + func_quote_for_eval "$var_value" + relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" + fi + done + # Quote the link command for shipping. + relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` + if test "$hardcode_automatic" = yes ; then + relink_command= + fi + + # Only create the output if not a dry run. + $opt_dry_run || { + for installed in no yes; do + if test "$installed" = yes; then + if test -z "$install_libdir"; then + break + fi + output="$output_objdir/$outputname"i + # Replace all uninstalled libtool libraries with the installed ones + newdependency_libs= + for deplib in $dependency_libs; do + case $deplib in + *.la) + func_basename "$deplib" + name="$func_basename_result" + func_resolve_sysroot "$deplib" + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result` + test -z "$libdir" && \ + func_fatal_error "\`$deplib' is not a valid libtool archive" + func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name" + ;; + -L*) + func_stripname -L '' "$deplib" + func_replace_sysroot "$func_stripname_result" + func_append newdependency_libs " -L$func_replace_sysroot_result" + ;; + -R*) + func_stripname -R '' "$deplib" + func_replace_sysroot "$func_stripname_result" + func_append newdependency_libs " -R$func_replace_sysroot_result" + ;; + *) func_append newdependency_libs " $deplib" ;; + esac + done + dependency_libs="$newdependency_libs" + newdlfiles= + + for lib in $dlfiles; do + case $lib in + *.la) + func_basename "$lib" + name="$func_basename_result" + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + test -z "$libdir" && \ + func_fatal_error "\`$lib' is not a valid libtool archive" + func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name" + ;; + *) func_append newdlfiles " $lib" ;; + esac + done + dlfiles="$newdlfiles" + newdlprefiles= + for lib in $dlprefiles; do + case $lib in + *.la) + # Only pass preopened files to the pseudo-archive (for + # eventual linking with the app. that links it) if we + # didn't already link the preopened objects directly into + # the library: + func_basename "$lib" + name="$func_basename_result" + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + test -z "$libdir" && \ + func_fatal_error "\`$lib' is not a valid libtool archive" + func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name" + ;; + esac + done + dlprefiles="$newdlprefiles" + else + newdlfiles= + for lib in $dlfiles; do + case $lib in + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; + *) abs=`pwd`"/$lib" ;; + esac + func_append newdlfiles " $abs" + done + dlfiles="$newdlfiles" + newdlprefiles= + for lib in $dlprefiles; do + case $lib in + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; + *) abs=`pwd`"/$lib" ;; + esac + func_append newdlprefiles " $abs" + done + dlprefiles="$newdlprefiles" + fi + $RM $output + # place dlname in correct position for cygwin + # In fact, it would be nice if we could use this code for all target + # systems that can't hard-code library paths into their executables + # and that have no shared library path variable independent of PATH, + # but it turns out we can't easily determine that from inspecting + # libtool variables, so we have to hard-code the OSs to which it + # applies here; at the moment, that means platforms that use the PE + # object format with DLL files. See the long comment at the top of + # tests/bindir.at for full details. + tdlname=$dlname + case $host,$output,$installed,$module,$dlname in + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) + # If a -bindir argument was supplied, place the dll there. + if test "x$bindir" != x ; + then + func_relative_path "$install_libdir" "$bindir" + tdlname=$func_relative_path_result$dlname + else + # Otherwise fall back on heuristic. + tdlname=../bin/$dlname + fi + ;; + esac + $ECHO > $output "\ +# $outputname - a libtool library file +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='$tdlname' + +# Names of this library. +library_names='$library_names' + +# The name of the static archive. +old_library='$old_library' + +# Linker flags that can not go in dependency_libs. +inherited_linker_flags='$new_inherited_linker_flags' + +# Libraries that this one depends upon. +dependency_libs='$dependency_libs' + +# Names of additional weak libraries provided by this library +weak_library_names='$weak_libs' + +# Version information for $libname. +current=$current +age=$age +revision=$revision + +# Is this an already installed library? +installed=$installed + +# Should we warn about portability when linking against -modules? +shouldnotlink=$module + +# Files to dlopen/dlpreopen +dlopen='$dlfiles' +dlpreopen='$dlprefiles' + +# Directory that this library needs to be installed in: +libdir='$install_libdir'" + if test "$installed" = no && test "$need_relink" = yes; then + $ECHO >> $output "\ +relink_command=\"$relink_command\"" + fi + done + } + + # Do a symbolic link so that the libtool archive can be found in + # LD_LIBRARY_PATH before the program is installed. + func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' + ;; + esac + exit $EXIT_SUCCESS +} + +{ test "$opt_mode" = link || test "$opt_mode" = relink; } && + func_mode_link ${1+"$@"} + + +# func_mode_uninstall arg... +func_mode_uninstall () +{ + $opt_debug + RM="$nonopt" + files= + rmforce= + exit_status=0 + + # This variable tells wrapper scripts just to set variables rather + # than running their programs. + libtool_install_magic="$magic" + + for arg + do + case $arg in + -f) func_append RM " $arg"; rmforce=yes ;; + -*) func_append RM " $arg" ;; + *) func_append files " $arg" ;; + esac + done + + test -z "$RM" && \ + func_fatal_help "you must specify an RM program" + + rmdirs= + + for file in $files; do + func_dirname "$file" "" "." + dir="$func_dirname_result" + if test "X$dir" = X.; then + odir="$objdir" + else + odir="$dir/$objdir" + fi + func_basename "$file" + name="$func_basename_result" + test "$opt_mode" = uninstall && odir="$dir" + + # Remember odir for removal later, being careful to avoid duplicates + if test "$opt_mode" = clean; then + case " $rmdirs " in + *" $odir "*) ;; + *) func_append rmdirs " $odir" ;; + esac + fi + + # Don't error if the file doesn't exist and rm -f was used. + if { test -L "$file"; } >/dev/null 2>&1 || + { test -h "$file"; } >/dev/null 2>&1 || + test -f "$file"; then + : + elif test -d "$file"; then + exit_status=1 + continue + elif test "$rmforce" = yes; then + continue + fi + + rmfiles="$file" + + case $name in + *.la) + # Possibly a libtool archive, so verify it. + if func_lalib_p "$file"; then + func_source $dir/$name + + # Delete the libtool libraries and symlinks. + for n in $library_names; do + func_append rmfiles " $odir/$n" + done + test -n "$old_library" && func_append rmfiles " $odir/$old_library" + + case "$opt_mode" in + clean) + case " $library_names " in + *" $dlname "*) ;; + *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;; + esac + test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i" + ;; + uninstall) + if test -n "$library_names"; then + # Do each command in the postuninstall commands. + func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' + fi + + if test -n "$old_library"; then + # Do each command in the old_postuninstall commands. + func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' + fi + # FIXME: should reinstall the best remaining shared library. + ;; + esac + fi + ;; + + *.lo) + # Possibly a libtool object, so verify it. + if func_lalib_p "$file"; then + + # Read the .lo file + func_source $dir/$name + + # Add PIC object to the list of files to remove. + if test -n "$pic_object" && + test "$pic_object" != none; then + func_append rmfiles " $dir/$pic_object" + fi + + # Add non-PIC object to the list of files to remove. + if test -n "$non_pic_object" && + test "$non_pic_object" != none; then + func_append rmfiles " $dir/$non_pic_object" + fi + fi + ;; + + *) + if test "$opt_mode" = clean ; then + noexename=$name + case $file in + *.exe) + func_stripname '' '.exe' "$file" + file=$func_stripname_result + func_stripname '' '.exe' "$name" + noexename=$func_stripname_result + # $file with .exe has already been added to rmfiles, + # add $file without .exe + func_append rmfiles " $file" + ;; + esac + # Do a test to see if this is a libtool program. + if func_ltwrapper_p "$file"; then + if func_ltwrapper_executable_p "$file"; then + func_ltwrapper_scriptname "$file" + relink_command= + func_source $func_ltwrapper_scriptname_result + func_append rmfiles " $func_ltwrapper_scriptname_result" + else + relink_command= + func_source $dir/$noexename + fi + + # note $name still contains .exe if it was in $file originally + # as does the version of $file that was added into $rmfiles + func_append rmfiles " $odir/$name $odir/${name}S.${objext}" + if test "$fast_install" = yes && test -n "$relink_command"; then + func_append rmfiles " $odir/lt-$name" + fi + if test "X$noexename" != "X$name" ; then + func_append rmfiles " $odir/lt-${noexename}.c" + fi + fi + fi + ;; + esac + func_show_eval "$RM $rmfiles" 'exit_status=1' + done + + # Try to remove the ${objdir}s in the directories where we deleted files + for dir in $rmdirs; do + if test -d "$dir"; then + func_show_eval "rmdir $dir >/dev/null 2>&1" + fi + done + + exit $exit_status +} + +{ test "$opt_mode" = uninstall || test "$opt_mode" = clean; } && + func_mode_uninstall ${1+"$@"} + +test -z "$opt_mode" && { + help="$generic_help" + func_fatal_help "you must specify a MODE" +} + +test -z "$exec_cmd" && \ + func_fatal_help "invalid operation mode \`$opt_mode'" + +if test -n "$exec_cmd"; then + eval exec "$exec_cmd" + exit $EXIT_FAILURE +fi + +exit $exit_status + + +# The TAGs below are defined such that we never get into a situation +# in which we disable both kinds of libraries. Given conflicting +# choices, we go for a static library, that is the most portable, +# since we can't tell whether shared libraries were disabled because +# the user asked for that or because the platform doesn't support +# them. This is particularly important on AIX, because we don't +# support having both static and shared libraries enabled at the same +# time on that platform, so we default to a shared-only configuration. +# If a disable-shared tag is given, we'll fallback to a static-only +# configuration. But we'll never go from static-only to shared-only. + +# ### BEGIN LIBTOOL TAG CONFIG: disable-shared +build_libtool_libs=no +build_old_libs=yes +# ### END LIBTOOL TAG CONFIG: disable-shared + +# ### BEGIN LIBTOOL TAG CONFIG: disable-static +build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` +# ### END LIBTOOL TAG CONFIG: disable-static + +# Local Variables: +# mode:shell-script +# sh-indentation:2 +# End: +# vi:sw=2 + diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/missing b/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/missing new file mode 100644 index 0000000..86a8fc3 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/missing @@ -0,0 +1,331 @@ +#! /bin/sh +# Common stub for a few missing GNU programs while installing. + +scriptversion=2012-01-06.13; # UTC + +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, +# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. +# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. + +# 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, 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/>. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +if test $# -eq 0; then + echo 1>&2 "Try \`$0 --help' for more information" + exit 1 +fi + +run=: +sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' +sed_minuso='s/.* -o \([^ ]*\).*/\1/p' + +# In the cases where this matters, `missing' is being run in the +# srcdir already. +if test -f configure.ac; then + configure_ac=configure.ac +else + configure_ac=configure.in +fi + +msg="missing on your system" + +case $1 in +--run) + # Try to run requested program, and just exit if it succeeds. + run= + shift + "$@" && exit 0 + # Exit code 63 means version mismatch. This often happens + # when the user try to use an ancient version of a tool on + # a file that requires a minimum version. In this case we + # we should proceed has if the program had been absent, or + # if --run hadn't been passed. + if test $? = 63; then + run=: + msg="probably too old" + fi + ;; + + -h|--h|--he|--hel|--help) + echo "\ +$0 [OPTION]... PROGRAM [ARGUMENT]... + +Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an +error status if there is no known handling for PROGRAM. + +Options: + -h, --help display this help and exit + -v, --version output version information and exit + --run try to run the given command, and emulate it if it fails + +Supported PROGRAM values: + aclocal touch file \`aclocal.m4' + autoconf touch file \`configure' + autoheader touch file \`config.h.in' + autom4te touch the output file, or create a stub one + automake touch all \`Makefile.in' files + bison create \`y.tab.[ch]', if possible, from existing .[ch] + flex create \`lex.yy.c', if possible, from existing .c + help2man touch the output file + lex create \`lex.yy.c', if possible, from existing .c + makeinfo touch the output file + yacc create \`y.tab.[ch]', if possible, from existing .[ch] + +Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and +\`g' are ignored when checking the name. + +Send bug reports to <bug-automake@gnu.org>." + exit $? + ;; + + -v|--v|--ve|--ver|--vers|--versi|--versio|--version) + echo "missing $scriptversion (GNU Automake)" + exit $? + ;; + + -*) + echo 1>&2 "$0: Unknown \`$1' option" + echo 1>&2 "Try \`$0 --help' for more information" + exit 1 + ;; + +esac + +# normalize program name to check for. +program=`echo "$1" | sed ' + s/^gnu-//; t + s/^gnu//; t + s/^g//; t'` + +# Now exit if we have it, but it failed. Also exit now if we +# don't have it and --version was passed (most likely to detect +# the program). This is about non-GNU programs, so use $1 not +# $program. +case $1 in + lex*|yacc*) + # Not GNU programs, they don't have --version. + ;; + + *) + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then + # Could not run --version or --help. This is probably someone + # running `$TOOL --version' or `$TOOL --help' to check whether + # $TOOL exists and not knowing $TOOL uses missing. + exit 1 + fi + ;; +esac + +# If it does not exist, or fails to run (possibly an outdated version), +# try to emulate it. +case $program in + aclocal*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`acinclude.m4' or \`${configure_ac}'. You might want + to install the \`Automake' and \`Perl' packages. Grab them from + any GNU archive site." + touch aclocal.m4 + ;; + + autoconf*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`${configure_ac}'. You might want to install the + \`Autoconf' and \`GNU m4' packages. Grab them from any GNU + archive site." + touch configure + ;; + + autoheader*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`acconfig.h' or \`${configure_ac}'. You might want + to install the \`Autoconf' and \`GNU m4' packages. Grab them + from any GNU archive site." + files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` + test -z "$files" && files="config.h" + touch_files= + for f in $files; do + case $f in + *:*) touch_files="$touch_files "`echo "$f" | + sed -e 's/^[^:]*://' -e 's/:.*//'`;; + *) touch_files="$touch_files $f.in";; + esac + done + touch $touch_files + ;; + + automake*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. + You might want to install the \`Automake' and \`Perl' packages. + Grab them from any GNU archive site." + find . -type f -name Makefile.am -print | + sed 's/\.am$/.in/' | + while read f; do touch "$f"; done + ;; + + autom4te*) + echo 1>&2 "\ +WARNING: \`$1' is needed, but is $msg. + You might have modified some files without having the + proper tools for further handling them. + You can get \`$1' as part of \`Autoconf' from any GNU + archive site." + + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -f "$file"; then + touch $file + else + test -z "$file" || exec >$file + echo "#! /bin/sh" + echo "# Created by GNU Automake missing as a replacement of" + echo "# $ $@" + echo "exit 0" + chmod +x $file + exit 1 + fi + ;; + + bison*|yacc*) + echo 1>&2 "\ +WARNING: \`$1' $msg. You should only need it if + you modified a \`.y' file. You may need the \`Bison' package + in order for those modifications to take effect. You can get + \`Bison' from any GNU archive site." + rm -f y.tab.c y.tab.h + if test $# -ne 1; then + eval LASTARG=\${$#} + case $LASTARG in + *.y) + SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` + if test -f "$SRCFILE"; then + cp "$SRCFILE" y.tab.c + fi + SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` + if test -f "$SRCFILE"; then + cp "$SRCFILE" y.tab.h + fi + ;; + esac + fi + if test ! -f y.tab.h; then + echo >y.tab.h + fi + if test ! -f y.tab.c; then + echo 'main() { return 0; }' >y.tab.c + fi + ;; + + lex*|flex*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a \`.l' file. You may need the \`Flex' package + in order for those modifications to take effect. You can get + \`Flex' from any GNU archive site." + rm -f lex.yy.c + if test $# -ne 1; then + eval LASTARG=\${$#} + case $LASTARG in + *.l) + SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` + if test -f "$SRCFILE"; then + cp "$SRCFILE" lex.yy.c + fi + ;; + esac + fi + if test ! -f lex.yy.c; then + echo 'main() { return 0; }' >lex.yy.c + fi + ;; + + help2man*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a dependency of a manual page. You may need the + \`Help2man' package in order for those modifications to take + effect. You can get \`Help2man' from any GNU archive site." + + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -f "$file"; then + touch $file + else + test -z "$file" || exec >$file + echo ".ab help2man is required to generate this page" + exit $? + fi + ;; + + makeinfo*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a \`.texi' or \`.texinfo' file, or any other file + indirectly affecting the aspect of the manual. The spurious + call might also be the consequence of using a buggy \`make' (AIX, + DU, IRIX). You might want to install the \`Texinfo' package or + the \`GNU make' package. Grab either from any GNU archive site." + # The file to touch is that specified with -o ... + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -z "$file"; then + # ... or it is the one specified with @setfilename ... + infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` + file=`sed -n ' + /^@setfilename/{ + s/.* \([^ ]*\) *$/\1/ + p + q + }' $infile` + # ... or it is derived from the source name (dir/f.texi becomes f.info) + test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info + fi + # If the file does not exist, the user really needs makeinfo; + # let's fail without touching anything. + test -f $file || exit 1 + touch $file + ;; + + *) + echo 1>&2 "\ +WARNING: \`$1' is needed, and is $msg. + You might have modified some files without having the + proper tools for further handling them. Check the \`README' file, + it often tells you about the needed prerequisites for installing + this package. You may also peek at any GNU archive site, in case + some other package would contain this missing \`$1' program." + exit 1 + ;; +esac + +exit 0 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/useless-if-before-free b/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/useless-if-before-free new file mode 100644 index 0000000..b8f5a26 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/useless-if-before-free @@ -0,0 +1,207 @@ +eval '(exit $?0)' && eval 'exec perl -wST "$0" ${1+"$@"}' + & eval 'exec perl -wST "$0" $argv:q' + if 0; +# Detect instances of "if (p) free (p);". +# Likewise "if (p != 0)", "if (0 != p)", or with NULL; and with braces. + +my $VERSION = '2011-04-20 13:43'; # UTC +# The definition above must lie within the first 8 lines in order +# for the Emacs time-stamp write hook (at end) to update it. +# If you change this file with Emacs, please let the write hook +# do its job. Otherwise, update this string manually. + +# Copyright (C) 2008-2011 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 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/>. + +# Written by Jim Meyering + +use strict; +use warnings; +use Getopt::Long; + +(my $ME = $0) =~ s|.*/||; + +# use File::Coda; # http://meyering.net/code/Coda/ +END { + defined fileno STDOUT or return; + close STDOUT and return; + warn "$ME: failed to close standard output: $!\n"; + $? ||= 1; +} + +sub usage ($) +{ + my ($exit_code) = @_; + my $STREAM = ($exit_code == 0 ? *STDOUT : *STDERR); + if ($exit_code != 0) + { + print $STREAM "Try `$ME --help' for more information.\n"; + } + else + { + print $STREAM <<EOF; +Usage: $ME [OPTIONS] FILE... + +Detect any instance in FILE of a useless "if" test before a free call, e.g., +"if (p) free (p);". Any such test may be safely removed without affecting +the semantics of the C code in FILE. Use --name=FOO --name=BAR to also +detect free-like functions named FOO and BAR. + +OPTIONS: + + --list print only the name of each matching FILE (\\0-terminated) + --name=N add name N to the list of \`free\'-like functions to detect; + may be repeated + + --help display this help and exit + --version output version information and exit + +Exit status: + + 0 one or more matches + 1 no match + 2 an error + +EXAMPLE: + +For example, this command prints all removable "if" tests before "free" +and "kfree" calls in the linux kernel sources: + + git ls-files -z |xargs -0 $ME --name=kfree + +EOF + } + exit $exit_code; +} + +sub is_NULL ($) +{ + my ($expr) = @_; + return ($expr eq 'NULL' || $expr eq '0'); +} + +{ + sub EXIT_MATCH {0} + sub EXIT_NO_MATCH {1} + sub EXIT_ERROR {2} + my $err = EXIT_NO_MATCH; + + my $list; + my @name = qw(free); + GetOptions + ( + help => sub { usage 0 }, + version => sub { print "$ME version $VERSION\n"; exit }, + list => \$list, + 'name=s@' => \@name, + ) or usage 1; + + # Make sure we have the right number of non-option arguments. + # Always tell the user why we fail. + @ARGV < 1 + and (warn "$ME: missing FILE argument\n"), usage EXIT_ERROR; + + my $or = join '|', @name; + my $regexp = qr/(?:$or)/; + + # Set the input record separator. + # Note: this makes it impractical to print line numbers. + $/ = '"'; + + my $found_match = 0; + FILE: + foreach my $file (@ARGV) + { + open FH, '<', $file + or (warn "$ME: can't open `$file' for reading: $!\n"), + $err = EXIT_ERROR, next; + while (defined (my $line = <FH>)) + { + while ($line =~ + /\b(if\s*\(\s*([^)]+?)(?:\s*!=\s*([^)]+?))?\s*\) + # 1 2 3 + (?: \s*$regexp\s*\((?:\s*\([^)]+\))?\s*([^)]+)\)\s*;| + \s*\{\s*$regexp\s*\((?:\s*\([^)]+\))?\s*([^)]+)\)\s*;\s*\}))/sxg) + { + my $all = $1; + my ($lhs, $rhs) = ($2, $3); + my ($free_opnd, $braced_free_opnd) = ($4, $5); + my $non_NULL; + if (!defined $rhs) { $non_NULL = $lhs } + elsif (is_NULL $rhs) { $non_NULL = $lhs } + elsif (is_NULL $lhs) { $non_NULL = $rhs } + else { next } + + # Compare the non-NULL part of the "if" expression and the + # free'd expression, without regard to white space. + $non_NULL =~ tr/ \t//d; + my $e2 = defined $free_opnd ? $free_opnd : $braced_free_opnd; + $e2 =~ tr/ \t//d; + if ($non_NULL eq $e2) + { + $found_match = 1; + $list + and (print "$file\0"), next FILE; + print "$file: $all\n"; + } + } + } + } + continue + { + close FH; + } + + $found_match && $err == EXIT_NO_MATCH + and $err = EXIT_MATCH; + + exit $err; +} + +my $foo = <<'EOF'; +# The above is to *find* them. +# This adjusts them, removing the unnecessary "if (p)" part. + +# FIXME: do something like this as an option (doesn't do braces): +free=xfree +git grep -l -z "$free *(" \ + | xargs -0 useless-if-before-free -l --name="$free" \ + | xargs -0 perl -0x3b -pi -e \ + 's/\bif\s*\(\s*(\S+?)(?:\s*!=\s*(?:0|NULL))?\s*\)\s+('"$free"'\s*\((?:\s*\([^)]+\))?\s*\1\s*\)\s*;)/$2/s' + +# Use the following to remove redundant uses of kfree inside braces. +# Note that -0777 puts perl in slurp-whole-file mode; +# but we have plenty of memory, these days... +free=kfree +git grep -l -z "$free *(" \ + | xargs -0 useless-if-before-free -l --name="$free" \ + | xargs -0 perl -0777 -pi -e \ + 's/\bif\s*\(\s*(\S+?)(?:\s*!=\s*(?:0|NULL))?\s*\)\s*\{\s*('"$free"'\s*\((?:\s*\([^)]+\))?\s*\1\s*\);)\s*\}[^\n]*$/$2/gms' + +Be careful that the result of the above transformation is valid. +If the matched string is followed by "else", then obviously, it won't be. + +When modifying files, refuse to process anything other than a regular file. +EOF + +## Local Variables: +## mode: perl +## indent-tabs-mode: nil +## eval: (add-hook 'write-file-hooks 'time-stamp) +## time-stamp-start: "my $VERSION = '" +## time-stamp-format: "%:y-%02m-%02d %02H:%02M" +## time-stamp-time-zone: "UTC" +## time-stamp-end: "'; # UTC" +## End: diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/vc-list-files b/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/vc-list-files new file mode 100644 index 0000000..405e458 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/build-aux/vc-list-files @@ -0,0 +1,113 @@ +#!/bin/sh +# List version-controlled file names. + +# Print a version string. +scriptversion=2011-05-16.22; # UTC + +# Copyright (C) 2006-2011 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 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/>. + + +# List the specified version-controlled files. +# With no argument, list them all. With a single DIRECTORY argument, +# list the version-controlled files in that directory. + +# If there's an argument, it must be a single, "."-relative directory name. +# cvsu is part of the cvsutils package: http://www.red-bean.com/cvsutils/ + +postprocess= +case $1 in + --help) cat <<EOF +Usage: $0 [-C SRCDIR] [DIR...] + +Output a list of version-controlled files in DIR (default .), relative to +SRCDIR (default .). SRCDIR must be the top directory of a checkout. + +Options: + --help print this help, then exit + --version print version number, then exit + -C SRCDIR change directory to SRCDIR before generating list + +Report bugs and patches to <bug-gnulib@gnu.org>. +EOF + exit ;; + + --version) + year=`echo "$scriptversion" | sed 's/[^0-9].*//'` + cat <<EOF +vc-list-files $scriptversion +Copyright (C) $year Free Software Foundation, Inc, +License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> +This is free software: you are free to change and redistribute it. +There is NO WARRANTY, to the extent permitted by law. +EOF + exit ;; + + -C) + test "$2" = . || postprocess="| sed 's|^|$2/|'" + cd "$2" || exit 1 + shift; shift ;; +esac + +test $# = 0 && set . + +for dir +do + if test -d .git; then + test "x$dir" = x. \ + && dir= sed_esc= \ + || { dir="$dir/"; sed_esc=`echo "$dir"|env sed 's,\([\\/]\),\\\\\1,g'`; } + # Ignore git symlinks - either they point into the tree, in which case + # we don't need to visit the target twice, or they point somewhere + # else (often into a submodule), in which case the content does not + # belong to this package. + eval exec git ls-tree -r 'HEAD:"$dir"' \ + \| sed -n '"s/^100[^ ]*./$sed_esc/p"' $postprocess + elif test -d .hg; then + eval exec hg locate '"$dir/*"' $postprocess + elif test -d .bzr; then + test "$postprocess" = '' && postprocess="| sed 's|^\./||'" + eval exec bzr ls -R --versioned '"$dir"' $postprocess + elif test -d CVS; then + test "$postprocess" = '' && postprocess="| sed 's|^\./||'" + if test -x build-aux/cvsu; then + eval build-aux/cvsu --find --types=AFGM '"$dir"' $postprocess + elif (cvsu --help) >/dev/null 2>&1; then + eval cvsu --find --types=AFGM '"$dir"' $postprocess + else + eval awk -F/ \''{ \ + if (!$1 && $3 !~ /^-/) { \ + f=FILENAME; \ + if (f ~ /CVS\/Entries$/) \ + f = substr(f, 1, length(f)-11); \ + print f $2; \ + }}'\'' \ + `find "$dir" -name Entries -print` /dev/null' $postprocess + fi + elif test -d .svn; then + eval exec svn list -R '"$dir"' $postprocess + else + echo "$0: Failed to determine type of version control used in `pwd`" 1>&2 + exit 1 + fi +done + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/cfg.mk b/tizen/distrib/remote/client/virt-viewer-0.5.3/cfg.mk new file mode 100644 index 0000000..3f9b47b --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/cfg.mk @@ -0,0 +1,137 @@ +# Customize Makefile.maint. -*- makefile -*- +# Copyright (C) 2008-2011 Red Hat, Inc. +# Copyright (C) 2003-2008 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 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/>. + +# Tests not to run as part of "make distcheck". +local-checks-to-skip = \ + changelog-check \ + check-AUTHORS \ + makefile-check \ + makefile_path_separator_check \ + patch-check \ + sc_GPL_version \ + sc_always_defined_macros \ + sc_cast_of_alloca_return_value \ + sc_cross_check_PATH_usage_in_tests \ + sc_dd_max_sym_length \ + sc_error_exit_success \ + sc_file_system \ + sc_immutable_NEWS \ + sc_makefile_path_separator_check \ + sc_obsolete_symbols \ + sc_prohibit_always_true_header_tests \ + sc_prohibit_S_IS_definition \ + sc_prohibit_atoi_atof \ + sc_prohibit_hash_without_use \ + sc_prohibit_jm_in_m4 \ + sc_prohibit_quote_without_use \ + sc_prohibit_quotearg_without_use \ + sc_prohibit_stat_st_blocks \ + sc_root_tests \ + sc_space_tab \ + sc_sun_os_names \ + sc_system_h_headers \ + sc_texinfo_acronym \ + sc_tight_scope \ + sc_two_space_separator_in_usage \ + sc_error_message_uppercase \ + sc_program_name \ + sc_require_test_exit_idiom \ + sc_makefile_check \ + sc_useless_cpp_parens + +# Files that should never cause syntax check failures. +VC_LIST_ALWAYS_EXCLUDE_REGEX = \ + (^HACKING|\.po|maint.mk)$$ + +# Functions like free() that are no-ops on NULL arguments. +useless_free_options = \ + --name=g_free \ + --name=xmlBufferFree \ + --name=xmlFree \ + --name=xmlFreeDoc \ + --name=xmlXPathFreeContext \ + --name=xmlFreeParserContext \ + --name=xmlXPathFreeObject + +# Ensure that no C source file, docs, or rng schema uses TABs for +# indentation. Also match *.h.in files, to get libvirt.h.in. Exclude +# files in gnulib, since they're imported. +space_indent_files=(\.(rng|s?[ch](\.in)?|html.in|py)|(daemon|tools)/.*\.in) +sc_TAB_in_indentation: + @prohibit='^ * ' \ + in_vc_files='$(space_indent_files)$$' \ + halt='indent with space, not TAB, in C, sh, html, py, and RNG schemas' \ + $(_sc_search_regexp) + +# G_GNUC_UNUSED should only be applied in implementations, not +# header declarations +sc_avoid_attribute_unused_in_header: + @prohibit='^[^#]*G_GNUC_UNUSED([^:]|$$)' \ + in_vc_files='\.h$$' \ + halt='use G_GNUC_UNUSED in .c rather than .h files' \ + $(_sc_search_regexp) + +# Enforce recommended preprocessor indentation style. +sc_preprocessor_indentation: + @if cppi --version >/dev/null 2>&1; then \ + $(VC_LIST_EXCEPT) | grep '\.[ch]$$' | xargs cppi -a -c \ + || { echo '$(ME): incorrect preprocessor indentation' 1>&2; \ + exit 1; }; \ + else \ + echo '$(ME): skipping test $@: cppi not installed' 1>&2; \ + fi + +sc_copyright_format: + @require='Copyright .*Red 'Hat', Inc\.' \ + containing='Copyright .*Red 'Hat \ + halt='Red Hat copyright is missing Inc.' \ + $(_sc_search_regexp) + @prohibit='Copyright [^(].*Red 'Hat \ + halt='consistently use (C) in Red Hat copyright' \ + $(_sc_search_regexp) + @prohibit='\<Red''Hat\>' \ + halt='spell Red Hat as two words' \ + $(_sc_search_regexp) + +# We don't use this feature of maint.mk. +prev_version_file = /dev/null + +# Give credit where due: +# Ensure that each commit author email address (possibly mapped via +# git log's .mailmap) appears in our AUTHORS file. +sc_check_author_list: + @fail=0; \ + for i in $$(git log --pretty=format:%aE%n|sort -u|grep -v '^$$'); do \ + sanitized=$$(echo "$$i"|LC_ALL=C sed 's/\([^a-zA-Z0-9_@-]\)/\\\1/g'); \ + grep -iq "<$$sanitized>" $(srcdir)/AUTHORS \ + || { printf '%s\n' "$$i" >&2; fail=1; }; \ + done; \ + test $$fail = 1 \ + && echo '$(ME): committer(s) not listed in AUTHORS' >&2; \ + test $$fail = 0 + + +exclude_file_name_regexp--sc_preprocessor_indentation = ^*/*.[ch] +exclude_file_name_regexp--sc_prohibit_strcmp = ^*/*.[ch] +exclude_file_name_regexp--sc_require_config_h = ^plugin/|src/gbinding\.c|src/windows-cmdline-wrapper.c +exclude_file_name_regexp--sc_require_config_h_first = ^plugin/|src/gbinding\.c|src/windows-cmdline-wrapper.c + +exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF = ^icons/ +exclude_file_name_regexp--sc_trailing_blank = ^icons/ + +exclude_file_name_regexp--sc_bindtextdomain = src/windows-cmdline-wrapper.c +exclude_file_name_regexp--sc_prohibit_magic_number_exit = src/windows-cmdline-wrapper.c diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/config.h.in b/tizen/distrib/remote/client/virt-viewer-0.5.3/config.h.in new file mode 100644 index 0000000..b359d9a --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/config.h.in @@ -0,0 +1,113 @@ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* always defined to indicate that i18n is enabled */ +#undef ENABLE_NLS + +/* GETTEXT package name */ +#undef GETTEXT_PACKAGE + +/* Define to 1 if you have the `bind_textdomain_codeset' function. */ +#undef HAVE_BIND_TEXTDOMAIN_CODESET + +/* Define to 1 if you have the `dcgettext' function. */ +#undef HAVE_DCGETTEXT + +/* Define to 1 if you have the <dlfcn.h> header file. */ +#undef HAVE_DLFCN_H + +/* Define to 1 if you have the `fork' function. */ +#undef HAVE_FORK + +/* Define if the GNU gettext() function is already present or preinstalled. */ +#undef HAVE_GETTEXT + +/* Have gtk-vnc? */ +#undef HAVE_GTK_VNC + +/* Define to 1 if you have the <inttypes.h> header file. */ +#undef HAVE_INTTYPES_H + +/* Define if your <locale.h> file defines LC_MESSAGES. */ +#undef HAVE_LC_MESSAGES + +/* Have libvirt? */ +#undef HAVE_LIBVIRT + +/* Define to 1 if you have the <locale.h> header file. */ +#undef HAVE_LOCALE_H + +/* Define to 1 if you have the <memory.h> header file. */ +#undef HAVE_MEMORY_H + +/* Define to 1 if you have the `socketpair' function. */ +#undef HAVE_SOCKETPAIR + +/* Have spice-gtk? */ +#undef HAVE_SPICE_GTK + +/* Define to 1 if you have the <stdint.h> header file. */ +#undef HAVE_STDINT_H + +/* Define to 1 if you have the <stdlib.h> header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the <strings.h> header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the <string.h> header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the <sys/socket.h> header file. */ +#undef HAVE_SYS_SOCKET_H + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the <sys/types.h> header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have the <sys/un.h> header file. */ +#undef HAVE_SYS_UN_H + +/* Define to 1 if you have the <unistd.h> header file. */ +#undef HAVE_UNISTD_H + +/* Define to 1 if you have the <windows.h> header file. */ +#undef HAVE_WINDOWS_H + +/* Define to the sub-directory in which libtool stores uninstalled libraries. + */ +#undef LT_OBJDIR + +/* Define to 1 if your C compiler doesn't accept -c and -o together. */ +#undef NO_MINUS_C_MINUS_O + +/* Name of package */ +#undef PACKAGE + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the home page for this package. */ +#undef PACKAGE_URL + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Version number of package */ +#undef VERSION + +/* Enable GNU extensions */ +#undef _GNU_SOURCE diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/configure b/tizen/distrib/remote/client/virt-viewer-0.5.3/configure new file mode 100755 index 0000000..4b82d99 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/configure @@ -0,0 +1,17055 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.68 for virt-viewer 0.5.3. +# +# +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software +# Foundation, Inc. +# +# +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +if test "x$CONFIG_SHELL" = x; then + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi +" + as_required="as_fn_return () { (exit \$1); } +as_fn_success () { as_fn_return 0; } +as_fn_failure () { as_fn_return 1; } +as_fn_ret_success () { return 0; } +as_fn_ret_failure () { return 1; } + +exitcode=0 +as_fn_success || { exitcode=1; echo as_fn_success failed.; } +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : + +else + exitcode=1; echo positional parameters were not saved. +fi +test x\$exitcode = x0 || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 + + test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO + PATH=/empty FPATH=/empty; export PATH FPATH + test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ + || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 +test \$(( 1 + 1 )) = 2 || exit 1" + if (eval "$as_required") 2>/dev/null; then : + as_have_required=yes +else + as_have_required=no +fi + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + as_found=: + case $as_dir in #( + /*) + for as_base in sh bash ksh sh5; do + # Try only shells that exist, to save several forks. + as_shell=$as_dir/$as_base + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + CONFIG_SHELL=$as_shell as_have_required=yes + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + break 2 +fi +fi + done;; + esac + as_found=false +done +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi; } +IFS=$as_save_IFS + + + if test "x$CONFIG_SHELL" != x; then : + # We cannot yet assume a decent shell, so we have to provide a + # neutralization value for shells without unset; and this also + # works around shells that cannot unset nonexistent variables. + # Preserve -v and -x to the replacement shell. + BASH_ENV=/dev/null + ENV=/dev/null + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV + export CONFIG_SHELL + case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; + esac + exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} +fi + + if test x$as_have_required = xno; then : + $as_echo "$0: This script requires a shell more modern than all" + $as_echo "$0: the shells that I found on your system." + if test x${ZSH_VERSION+set} = xset ; then + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" + $as_echo "$0: be upgraded to zsh 4.3.4 or later." + else + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, +$0: including any error possibly output before this +$0: message. Then install a modern shell, or manually run +$0: the script under such a shell if you do have one." + fi + exit 1 +fi +fi +fi +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +# Unset more variables known to interfere with behavior of common tools. +CLICOLOR_FORCE= GREP_OPTIONS= +unset CLICOLOR_FORCE GREP_OPTIONS + +## --------------------- ## +## M4sh Shell Functions. ## +## --------------------- ## +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + + + as_lineno_1=$LINENO as_lineno_1a=$LINENO + as_lineno_2=$LINENO as_lineno_2a=$LINENO + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in #( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + +SHELL=${CONFIG_SHELL-/bin/sh} + + +test -n "$DJDIR" || exec 7<&0 </dev/null +exec 6>&1 + +# Name of the host. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_clean_files= +ac_config_libobj_dir=. +LIBOBJS= +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= + +# Identity of this package. +PACKAGE_NAME='virt-viewer' +PACKAGE_TARNAME='virt-viewer' +PACKAGE_VERSION='0.5.3' +PACKAGE_STRING='virt-viewer 0.5.3' +PACKAGE_BUGREPORT='' +PACKAGE_URL='' + +ac_unique_file="src/virt-viewer-main.c" +# Factoring default headers for most tests. +ac_includes_default="\ +#include <stdio.h> +#ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif +#ifdef HAVE_SYS_STAT_H +# include <sys/stat.h> +#endif +#ifdef STDC_HEADERS +# include <stdlib.h> +# include <stddef.h> +#else +# ifdef HAVE_STDLIB_H +# include <stdlib.h> +# endif +#endif +#ifdef HAVE_STRING_H +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H +# include <memory.h> +# endif +# include <string.h> +#endif +#ifdef HAVE_STRINGS_H +# include <strings.h> +#endif +#ifdef HAVE_INTTYPES_H +# include <inttypes.h> +#endif +#ifdef HAVE_STDINT_H +# include <stdint.h> +#endif +#ifdef HAVE_UNISTD_H +# include <unistd.h> +#endif" + +ac_config_libobj_dir=src +ac_subst_vars='am__EXEEXT_FALSE +am__EXEEXT_TRUE +LTLIBOBJS +LIBOBJS +ENABLE_PLUGIN_FALSE +ENABLE_PLUGIN_TRUE +MOZILLA_PLUGIN_LIBS +MOZILLA_PLUGIN_CFLAGS +FIREFOX_PLUGIN_LIBS +FIREFOX_PLUGIN_CFLAGS +NSPR_LIBS +NSPR_CFLAGS +HAVE_SPICE_GTK_FALSE +HAVE_SPICE_GTK_TRUE +SPICE_PROTOCOL_LIBS +SPICE_PROTOCOL_CFLAGS +SPICE_CONTROLLER_LIBS +SPICE_CONTROLLER_CFLAGS +SPICE_GTK_LIBS +SPICE_GTK_CFLAGS +HAVE_GTK_VNC_FALSE +HAVE_GTK_VNC_TRUE +GTK_VNC_LIBS +GTK_VNC_CFLAGS +GTK_LIBS +GTK_CFLAGS +HAVE_GTK_3_FALSE +HAVE_GTK_3_TRUE +HAVE_GTK_2_FALSE +HAVE_GTK_2_TRUE +GTK_VNC_API_VERSION +GTK_REQUIRED +GTK_API_VERSION +HAVE_LIBVIRT_FALSE +HAVE_LIBVIRT_TRUE +LIBVIRT_LIBS +LIBVIRT_CFLAGS +LIBXML2_LIBS +LIBXML2_CFLAGS +GLIB2_LIBS +GLIB2_CFLAGS +PKG_CONFIG_LIBDIR +PKG_CONFIG_PATH +PKG_CONFIG +ALL_LINGUAS +INTLTOOL_PERL +MSGMERGE +INTLTOOL_POLICY_RULE +INTLTOOL_SERVICE_RULE +INTLTOOL_THEME_RULE +INTLTOOL_SCHEMAS_RULE +INTLTOOL_CAVES_RULE +INTLTOOL_XML_NOMERGE_RULE +INTLTOOL_XML_RULE +INTLTOOL_KBD_RULE +INTLTOOL_XAM_RULE +INTLTOOL_UI_RULE +INTLTOOL_SOUNDLIST_RULE +INTLTOOL_SHEET_RULE +INTLTOOL_SERVER_RULE +INTLTOOL_PONG_RULE +INTLTOOL_OAF_RULE +INTLTOOL_PROP_RULE +INTLTOOL_KEYS_RULE +INTLTOOL_DIRECTORY_RULE +INTLTOOL_DESKTOP_RULE +intltool__v_merge_options_0 +intltool__v_merge_options_ +INTLTOOL_V_MERGE_OPTIONS +INTLTOOL__v_MERGE_0 +INTLTOOL__v_MERGE_ +INTLTOOL_V_MERGE +INTLTOOL_EXTRACT +INTLTOOL_MERGE +INTLTOOL_UPDATE +MKINSTALLDIRS +POSUB +POFILES +PO_IN_DATADIR_FALSE +PO_IN_DATADIR_TRUE +INTLLIBS +INSTOBJEXT +GMOFILES +DATADIRNAME +CATOBJEXT +CATALOGS +XGETTEXT +GMSGFMT +MSGFMT_OPTS +MSGFMT +USE_NLS +GETTEXT_PACKAGE +WARN_CFLAGS +WINDRES +ICOTOOL +CPP +OTOOL64 +OTOOL +LIPO +NMEDIT +DSYMUTIL +MANIFEST_TOOL +RANLIB +ac_ct_AR +AR +DLLTOOL +OBJDUMP +LN_S +NM +ac_ct_DUMPBIN +DUMPBIN +LD +FGREP +EGREP +GREP +SED +LIBTOOL +am__fastdepCC_FALSE +am__fastdepCC_TRUE +CCDEPMODE +am__nodep +AMDEPBACKSLASH +AMDEP_FALSE +AMDEP_TRUE +am__quote +am__include +DEPDIR +OBJEXT +EXEEXT +ac_ct_CC +CPPFLAGS +LDFLAGS +CFLAGS +CC +OS_WIN32_FALSE +OS_WIN32_TRUE +AM_BACKSLASH +AM_DEFAULT_VERBOSITY +AM_DEFAULT_V +AM_V +host_os +host_vendor +host_cpu +host +build_os +build_vendor +build_cpu +build +am__untar +am__tar +AMTAR +am__leading_dot +SET_MAKE +AWK +mkdir_p +MKDIR_P +INSTALL_STRIP_PROGRAM +STRIP +install_sh +MAKEINFO +AUTOHEADER +AUTOMAKE +AUTOCONF +ACLOCAL +VERSION +PACKAGE +CYGPATH_W +am__isrc +INSTALL_DATA +INSTALL_SCRIPT +INSTALL_PROGRAM +target_alias +host_alias +build_alias +LIBS +ECHO_T +ECHO_N +ECHO_C +DEFS +mandir +localedir +libdir +psdir +pdfdir +dvidir +htmldir +infodir +docdir +oldincludedir +includedir +localstatedir +sharedstatedir +sysconfdir +datadir +datarootdir +libexecdir +sbindir +bindir +program_transform_name +prefix +exec_prefix +PACKAGE_URL +PACKAGE_BUGREPORT +PACKAGE_STRING +PACKAGE_VERSION +PACKAGE_TARNAME +PACKAGE_NAME +PATH_SEPARATOR +SHELL' +ac_subst_files='' +ac_user_opts=' +enable_option_checking +enable_silent_rules +enable_dependency_tracking +enable_shared +enable_static +with_pic +enable_fast_install +with_gnu_ld +with_sysroot +enable_libtool_lock +enable_compile_warnings +enable_iso_c +enable_nls +with_libvirt +with_gtk +with_gtk_vnc +with_spice_gtk +enable_plugin +' + ac_precious_vars='build_alias +host_alias +target_alias +CC +CFLAGS +LDFLAGS +LIBS +CPPFLAGS +CPP +PKG_CONFIG +PKG_CONFIG_PATH +PKG_CONFIG_LIBDIR +GLIB2_CFLAGS +GLIB2_LIBS +LIBXML2_CFLAGS +LIBXML2_LIBS +LIBVIRT_CFLAGS +LIBVIRT_LIBS +GTK_CFLAGS +GTK_LIBS +GTK_VNC_CFLAGS +GTK_VNC_LIBS +SPICE_GTK_CFLAGS +SPICE_GTK_LIBS +SPICE_CONTROLLER_CFLAGS +SPICE_CONTROLLER_LIBS +SPICE_PROTOCOL_CFLAGS +SPICE_PROTOCOL_LIBS +NSPR_CFLAGS +NSPR_LIBS +FIREFOX_PLUGIN_CFLAGS +FIREFOX_PLUGIN_LIBS +MOZILLA_PLUGIN_CFLAGS +MOZILLA_PLUGIN_LIBS' + + +# Initialize some variables set by options. +ac_init_help= +ac_init_version=false +ac_unrecognized_opts= +ac_unrecognized_sep= +# The variables have the same names as the options, with +# dashes changed to underlines. +cache_file=/dev/null +exec_prefix=NONE +no_create= +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +verbose= +x_includes=NONE +x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. +# (The list follows the same order as the GNU Coding Standards.) +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datarootdir='${prefix}/share' +datadir='${datarootdir}' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +includedir='${prefix}/include' +oldincludedir='/usr/include' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +infodir='${datarootdir}/info' +htmldir='${docdir}' +dvidir='${docdir}' +pdfdir='${docdir}' +psdir='${docdir}' +libdir='${exec_prefix}/lib' +localedir='${datarootdir}/locale' +mandir='${datarootdir}/man' + +ac_prev= +ac_dashdash= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval $ac_prev=\$ac_option + ac_prev= + continue + fi + + case $ac_option in + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *=) ac_optarg= ;; + *) ac_optarg=yes ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case $ac_dashdash$ac_option in + --) + ac_dashdash=yes ;; + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir=$ac_optarg ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build_alias=$ac_optarg ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=*) + datadir=$ac_optarg ;; + + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ + | --dataroo | --dataro | --datar) + ac_prev=datarootdir ;; + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) + datarootdir=$ac_optarg ;; + + -disable-* | --disable-*) + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=no ;; + + -docdir | --docdir | --docdi | --doc | --do) + ac_prev=docdir ;; + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) + docdir=$ac_optarg ;; + + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) + ac_prev=dvidir ;; + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) + dvidir=$ac_optarg ;; + + -enable-* | --enable-*) + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=\$ac_optarg ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; + + -host | --host | --hos | --ho) + ac_prev=host_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + host_alias=$ac_optarg ;; + + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) + ac_prev=htmldir ;; + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ + | --ht=*) + htmldir=$ac_optarg ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir=$ac_optarg ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir=$ac_optarg ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir=$ac_optarg ;; + + -localedir | --localedir | --localedi | --localed | --locale) + ac_prev=localedir ;; + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) + localedir=$ac_optarg ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst | --locals) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) + localstatedir=$ac_optarg ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir=$ac_optarg ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix=$ac_optarg ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix=$ac_optarg ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name=$ac_optarg ;; + + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) + ac_prev=pdfdir ;; + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) + pdfdir=$ac_optarg ;; + + -psdir | --psdir | --psdi | --psd | --ps) + ac_prev=psdir ;; + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) + psdir=$ac_optarg ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir=$ac_optarg ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir=$ac_optarg ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=\$ac_optarg ;; + + -without-* | --without-*) + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=no ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes=$ac_optarg ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + + -*) as_fn_error $? "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information" + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + case $ac_envvar in #( + '' | [0-9]* | *[!_$as_cr_alnum]* ) + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; + esac + eval $ac_envvar=\$ac_optarg + export $ac_envvar ;; + + *) + # FIXME: should be removed in autoconf 3.0. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" + ;; + + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + as_fn_error $? "missing argument to $ac_option" +fi + +if test -n "$ac_unrecognized_opts"; then + case $enable_option_checking in + no) ;; + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + esac +fi + +# Check all directory arguments for consistency. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ + datadir sysconfdir sharedstatedir localstatedir includedir \ + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ + libdir localedir mandir +do + eval ac_val=\$$ac_var + # Remove trailing slashes. + case $ac_val in + */ ) + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` + eval $ac_var=\$ac_val;; + esac + # Be sure to have absolute directory names. + case $ac_val in + [\\/$]* | ?:[\\/]* ) continue;; + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; + esac + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" +done + +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used" >&2 + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +ac_pwd=`pwd` && test -n "$ac_pwd" && +ac_ls_di=`ls -di .` && +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || + as_fn_error $? "working directory cannot be determined" +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || + as_fn_error $? "pwd does not report name of working directory" + + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then the parent directory. + ac_confdir=`$as_dirname -- "$as_myself" || +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_myself" : 'X\(//\)[^/]' \| \ + X"$as_myself" : 'X\(//\)$' \| \ + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_myself" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + srcdir=$ac_confdir + if test ! -r "$srcdir/$ac_unique_file"; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r "$srcdir/$ac_unique_file"; then + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" +fi +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_abs_confdir=`( + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" + pwd)` +# When building in place, set srcdir=. +if test "$ac_abs_confdir" = "$ac_pwd"; then + srcdir=. +fi +# Remove unnecessary trailing slashes from srcdir. +# Double slashes in file names in object file debugging info +# mess up M-x gdb in Emacs. +case $srcdir in +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; +esac +for ac_var in $ac_precious_vars; do + eval ac_env_${ac_var}_set=\${${ac_var}+set} + eval ac_env_${ac_var}_value=\$${ac_var} + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} + eval ac_cv_env_${ac_var}_value=\$${ac_var} +done + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures virt-viewer 0.5.3 to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking ...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root [DATAROOTDIR/doc/virt-viewer] + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] +_ACEOF + + cat <<\_ACEOF + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names + +System types: + --build=BUILD configure for building on BUILD [guessed] + --host=HOST cross-compile to build programs to run on HOST [BUILD] +_ACEOF +fi + +if test -n "$ac_init_help"; then + case $ac_init_help in + short | recursive ) echo "Configuration of virt-viewer 0.5.3:";; + esac + cat <<\_ACEOF + +Optional Features: + --disable-option-checking ignore unrecognized --enable/--with options + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-silent-rules less verbose build output (undo: `make V=1') + --disable-silent-rules verbose build output (undo: `make V=0') + --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors + --enable-shared[=PKGS] build shared libraries [default=yes] + --enable-static[=PKGS] build static libraries [default=yes] + --enable-fast-install[=PKGS] + optimize for fast installation [default=yes] + --disable-libtool-lock avoid locking (might break parallel builds) + --enable-compile-warnings=[no/minimum/yes/maximum/error] + Turn on compiler warnings + --enable-iso-c Try to warn if code is not ISO C + --disable-nls do not use Native Language Support + --enable-plugin=no/yes enable browser plugin default=no + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use + both] + --with-gnu-ld assume the C compiler uses GNU ld [default=no] + --with-sysroot=DIR Search for dependent libraries within DIR + (or the compiler's sysroot if not specified). + --without-libvirt Ignore presence of libvirt and disable it + --with-gtk=2.0|3.0 which gtk+ version to compile against (default: 2.0) + --without-gtk-vnc Ignore presence of gtk-vnc and disable it + --without-spice-gtk Ignore presence of spice-gtk and disable it + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a + nonstandard directory <lib dir> + LIBS libraries to pass to the linker, e.g. -l<library> + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if + you have headers in a nonstandard directory <include dir> + CPP C preprocessor + PKG_CONFIG path to pkg-config utility + PKG_CONFIG_PATH + directories to add to pkg-config's search path + PKG_CONFIG_LIBDIR + path overriding pkg-config's built-in search path + GLIB2_CFLAGS + C compiler flags for GLIB2, overriding pkg-config + GLIB2_LIBS linker flags for GLIB2, overriding pkg-config + LIBXML2_CFLAGS + C compiler flags for LIBXML2, overriding pkg-config + LIBXML2_LIBS + linker flags for LIBXML2, overriding pkg-config + LIBVIRT_CFLAGS + C compiler flags for LIBVIRT, overriding pkg-config + LIBVIRT_LIBS + linker flags for LIBVIRT, overriding pkg-config + GTK_CFLAGS C compiler flags for GTK, overriding pkg-config + GTK_LIBS linker flags for GTK, overriding pkg-config + GTK_VNC_CFLAGS + C compiler flags for GTK_VNC, overriding pkg-config + GTK_VNC_LIBS + linker flags for GTK_VNC, overriding pkg-config + SPICE_GTK_CFLAGS + C compiler flags for SPICE_GTK, overriding pkg-config + SPICE_GTK_LIBS + linker flags for SPICE_GTK, overriding pkg-config + SPICE_CONTROLLER_CFLAGS + C compiler flags for SPICE_CONTROLLER, overriding pkg-config + SPICE_CONTROLLER_LIBS + linker flags for SPICE_CONTROLLER, overriding pkg-config + SPICE_PROTOCOL_CFLAGS + C compiler flags for SPICE_PROTOCOL, overriding pkg-config + SPICE_PROTOCOL_LIBS + linker flags for SPICE_PROTOCOL, overriding pkg-config + NSPR_CFLAGS C compiler flags for NSPR, overriding pkg-config + NSPR_LIBS linker flags for NSPR, overriding pkg-config + FIREFOX_PLUGIN_CFLAGS + C compiler flags for FIREFOX_PLUGIN, overriding pkg-config + FIREFOX_PLUGIN_LIBS + linker flags for FIREFOX_PLUGIN, overriding pkg-config + MOZILLA_PLUGIN_CFLAGS + C compiler flags for MOZILLA_PLUGIN, overriding pkg-config + MOZILLA_PLUGIN_LIBS + linker flags for MOZILLA_PLUGIN, overriding pkg-config + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +Report bugs to the package provider. +_ACEOF +ac_status=$? +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d "$ac_dir" || + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || + continue + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + cd "$ac_dir" || { ac_status=$?; continue; } + # Check for guested configure. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_srcdir/configure"; then + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done +fi + +test -n "$ac_init_help" && exit $ac_status +if $ac_init_version; then + cat <<\_ACEOF +virt-viewer configure 0.5.3 +generated by GNU Autoconf 2.68 + +Copyright (C) 2010 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit +fi + +## ------------------------ ## +## Autoconf initialization. ## +## ------------------------ ## + +# ac_fn_c_try_compile LINENO +# -------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_compile + +# ac_fn_c_try_link LINENO +# ----------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_link + +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + +# ac_fn_c_try_cpp LINENO +# ---------------------- +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_cpp () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } > conftest.i && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_cpp + +# ac_fn_c_try_run LINENO +# ---------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +# that executables *can* be run. +ac_fn_c_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + ac_retval=0 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_run + +# ac_fn_c_check_func LINENO FUNC VAR +# ---------------------------------- +# Tests whether FUNC exists, setting the cache variable VAR accordingly +ac_fn_c_check_func () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Define $2 to an innocuous variant, in case <limits.h> declares $2. + For example, HP-UX 11i <limits.h> declares gettimeofday. */ +#define $2 innocuous_$2 + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $2 (); below. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + <limits.h> exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include <limits.h> +#else +# include <assert.h> +#endif + +#undef $2 + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $2 (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$2 || defined __stub___$2 +choke me +#endif + +int +main () +{ +return $2 (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_func + +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists, giving a warning if it cannot be compiled using +# the include files in INCLUDES and setting the cache variable VAR +# accordingly. +ac_fn_c_check_header_mongrel () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if eval \${$3+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 +$as_echo_n "checking $2 usability... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_header_compiler=yes +else + ac_header_compiler=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 +$as_echo_n "checking $2 presence... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <$2> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ac_header_preproc=yes +else + ac_header_preproc=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( + yes:no: ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; + no:yes:* ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=\$ac_header_compiler" +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_mongrel +cat >config.log <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by virt-viewer $as_me 0.5.3, which was +generated by GNU Autoconf 2.68. Invocation command line was + + $ $0 $@ + +_ACEOF +exec 5>>config.log +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + $as_echo "PATH: $as_dir" + done +IFS=$as_save_IFS + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *\'*) + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; + 2) + as_fn_append ac_configure_args1 " '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + as_fn_append ac_configure_args " '$ac_arg'" + ;; + esac + done +done +{ ac_configure_args0=; unset ac_configure_args0;} +{ ac_configure_args1=; unset ac_configure_args1;} + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Use '\'' to represent an apostrophe within the trap. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + $as_echo "## ---------------- ## +## Cache variables. ## +## ---------------- ##" + echo + # The following way of writing the cache mishandles newlines in values, +( + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + (set) 2>&1 | + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + sed -n \ + "s/'\''/'\''\\\\'\'''\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + ;; #( + *) + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) + echo + + $as_echo "## ----------------- ## +## Output variables. ## +## ----------------- ##" + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + + if test -n "$ac_subst_files"; then + $as_echo "## ------------------- ## +## File substitutions. ## +## ------------------- ##" + echo + for ac_var in $ac_subst_files + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then + $as_echo "## ----------- ## +## confdefs.h. ## +## ----------- ##" + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + $as_echo "$as_me: caught signal $ac_signal" + $as_echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status +' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -f -r conftest* confdefs.h + +$as_echo "/* confdefs.h */" > confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_URL "$PACKAGE_URL" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer an explicitly selected file to automatically selected ones. +ac_site_file1=NONE +ac_site_file2=NONE +if test -n "$CONFIG_SITE"; then + # We do not want a PATH search for config.site. + case $CONFIG_SITE in #(( + -*) ac_site_file1=./$CONFIG_SITE;; + */*) ac_site_file1=$CONFIG_SITE;; + *) ac_site_file1=./$CONFIG_SITE;; + esac +elif test "x$prefix" != xNONE; then + ac_site_file1=$prefix/share/config.site + ac_site_file2=$prefix/etc/config.site +else + ac_site_file1=$ac_default_prefix/share/config.site + ac_site_file2=$ac_default_prefix/etc/config.site +fi +for ac_site_file in "$ac_site_file1" "$ac_site_file2" +do + test "x$ac_site_file" = xNONE && continue + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +$as_echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" \ + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "failed to load site script $ac_site_file +See \`config.log' for more details" "$LINENO" 5; } + fi +done + +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special files + # actually), so we avoid doing that. DJGPP emulates it as a regular file. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +$as_echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; + *) . "./$cache_file";; + esac + fi +else + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +$as_echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in $ac_precious_vars; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val=\$ac_cv_env_${ac_var}_value + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + # differences in whitespace do not lead to failure. + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + ac_cache_corrupted=: + else + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) as_fn_append ac_configure_args " '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 +fi +## -------------------- ## +## Main body of script. ## +## -------------------- ## + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + + +ac_aux_dir= +for ac_dir in build-aux "$srcdir"/build-aux; do + if test -f "$ac_dir/install-sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f "$ac_dir/install.sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f "$ac_dir/shtool"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi +done +if test -z "$ac_aux_dir"; then + as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + +ac_config_headers="$ac_config_headers config.h" + +am__api_version='1.11' + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +# Reject install programs that cannot install multiple files. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +$as_echo_n "checking for a BSD-compatible install... " >&6; } +if test -z "$INSTALL"; then +if ${ac_cv_path_install+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in #(( + ./ | .// | /[cC]/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + rm -rf conftest.one conftest.two conftest.dir + echo one > conftest.one + echo two > conftest.two + mkdir conftest.dir + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + test -s conftest.one && test -s conftest.two && + test -s conftest.dir/conftest.one && + test -s conftest.dir/conftest.two + then + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + fi + done + done + ;; +esac + + done +IFS=$as_save_IFS + +rm -rf conftest.one conftest.two conftest.dir + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + INSTALL=$ac_install_sh + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +$as_echo "$INSTALL" >&6; } + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 +$as_echo_n "checking whether build environment is sane... " >&6; } +# Just in case +sleep 1 +echo timestamp > conftest.file +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[\\\"\#\$\&\'\`$am_lf]*) + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; +esac +case $srcdir in + *[\\\"\#\$\&\'\`$am_lf\ \ ]*) + as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; +esac + +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + rm -f conftest.file + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken +alias in your environment" "$LINENO" 5 + fi + + test "$2" = conftest.file + ) +then + # Ok. + : +else + as_fn_error $? "newly created file is older than distributed files! +Check your system clock" "$LINENO" 5 +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s&\$&$program_suffix&;$program_transform_name" +# Double any \ or $. +# By default was `s,x,x', remove it if useless. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` + +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` + +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} +fi + +if test x"${install_sh}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi + +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } +if test -z "$MKDIR_P"; then + if ${ac_cv_path_mkdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in mkdir gmkdir; do + for ac_exec_ext in '' $ac_executable_extensions; do + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( + 'mkdir (GNU coreutils) '* | \ + 'mkdir (coreutils) '* | \ + 'mkdir (fileutils) '4.1*) + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext + break 3;; + esac + done + done + done +IFS=$as_save_IFS + +fi + + test -d ./--version && rmdir ./--version + if test "${ac_cv_path_mkdir+set}" = set; then + MKDIR_P="$ac_cv_path_mkdir -p" + else + # As a last resort, use the slow shell script. Don't cache a + # value for MKDIR_P within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + MKDIR_P="$ac_install_sh -d" + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 +$as_echo "$MKDIR_P" >&6; } + +mkdir_p="$MKDIR_P" +case $mkdir_p in + [\\/$]* | ?:[\\/]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AWK+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AWK" && break +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null + +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + am__isrc=' -I$(srcdir)' + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi + + +# Define the identity of the package. + PACKAGE='virt-viewer' + VERSION='0.5.3' + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE "$PACKAGE" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define VERSION "$VERSION" +_ACEOF + +# Some tools Automake needs. + +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} + + +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} + + +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} + + +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} + + +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AMTAR='$${TAR-tar}' + +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' + + + + + +# Make sure we can run config.sub. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 +$as_echo_n "checking build system type... " >&6; } +if ${ac_cv_build+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_build_alias=$build_alias +test "x$ac_build_alias" = x && + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` +test "x$ac_build_alias" = x && + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +$as_echo "$ac_cv_build" >&6; } +case $ac_cv_build in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; +esac +build=$ac_cv_build +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_build +shift +build_cpu=$1 +build_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +build_os=$* +IFS=$ac_save_IFS +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 +$as_echo_n "checking host system type... " >&6; } +if ${ac_cv_host+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "x$host_alias" = x; then + ac_cv_host=$ac_cv_build +else + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +$as_echo "$ac_cv_host" >&6; } +case $ac_cv_host in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; +esac +host=$ac_cv_host +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_host +shift +host_cpu=$1 +host_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +host_os=$* +IFS=$ac_save_IFS +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac + + + +# Use the silent-rules feature when possible. + +# Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" = set; then : + enableval=$enable_silent_rules; +fi + +case $enable_silent_rules in +yes) AM_DEFAULT_VERBOSITY=0;; +no) AM_DEFAULT_VERBOSITY=1;; +*) AM_DEFAULT_VERBOSITY=0;; +esac +am_make=${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AM_BACKSLASH='\' + + +GLIB2_REQUIRED=2.12.0 +LIBXML2_REQUIRED="2.6.0" +LIBVIRT_REQUIRED="0.9.7" +GTK2_REQUIRED="2.18.0" +#GTK3_REQUIRED="3.0" +GTK3_REQUIRED="2.91.3" +GTK_VNC1_REQUIRED="0.3.8" +GTK_VNC2_REQUIRED="0.4.0" +SPICE_GTK_REQUIRED="0.9" +SPICE_PROTOCOL_REQUIRED="0.10.1" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5 +$as_echo_n "checking for native Win32... " >&6; } +case "$host_os" in + *mingw*|*cygwin*) + os_win32=yes + ;; + *) + os_win32=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5 +$as_echo "$os_win32" >&6; } + if test "$os_win32" = "yes"; then + OS_WIN32_TRUE= + OS_WIN32_FALSE='#' +else + OS_WIN32_TRUE='#' + OS_WIN32_FALSE= +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +$as_echo_n "checking whether the C compiler works... " >&6; } +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` + +# The possible output files: +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" + +ac_rmfiles= +for ac_file in $ac_files +do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + * ) ac_rmfiles="$ac_rmfiles $ac_file";; + esac +done +rm -f $ac_rmfiles + +if { { ac_try="$ac_link_default" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' +# in a Makefile. We should not override ac_cv_exeext if it was cached, +# so that the user can short-circuit this test for compilers unknown to +# Autoconf. +for ac_file in $ac_files '' +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + fi + # We set ac_cv_exeext here because the later test for it is not + # safe: cross compilers may not add the suffix if given an `-o' + # argument, so we may need to know it at that point already. + # Even if this section looks crufty: it has the advantage of + # actually working. + break;; + * ) + break;; + esac +done +test "$ac_cv_exeext" = no && ac_cv_exeext= + +else + ac_file='' +fi +if test -z "$ac_file"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +$as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "C compiler cannot create executables +See \`config.log' for more details" "$LINENO" 5; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +$as_echo_n "checking for C compiler default output file name... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +$as_echo "$ac_file" >&6; } +ac_exeext=$ac_cv_exeext + +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +$as_echo_n "checking for suffix of executables... " >&6; } +if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + break;; + * ) break;; + esac +done +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest conftest$ac_cv_exeext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +$as_echo "$ac_cv_exeext" >&6; } + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdio.h> +int +main () +{ +FILE *f = fopen ("conftest.out", "w"); + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +ac_clean_files="$ac_clean_files conftest.out" +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } +if test "$cross_compiling" != yes; then + { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if { ac_try='./conftest$ac_cv_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details" "$LINENO" 5; } + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } + +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +$as_echo_n "checking for suffix of object files... " >&6; } +if ${ac_cv_objext+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of object files: cannot compile +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +$as_echo "$ac_cv_objext" >&6; } +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if ${ac_cv_c_compiler_gnu+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if ${ac_cv_prog_cc_g+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdarg.h> +#include <stdio.h> +#include <sys/types.h> +#include <sys/stat.h> +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +DEPDIR="${am__leading_dot}deps" + +ac_config_commands="$ac_config_commands depfiles" + + +am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo this is the am__doit target +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 +$as_echo_n "checking for style of include used by $am_make... " >&6; } +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# Ignore all kinds of additional output from `make'. +case `$am_make -s -f confmf 2> /dev/null` in #( +*the\ am__doit\ target*) + am__include=include + am__quote= + _am_result=GNU + ;; +esac +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + case `$am_make -s -f confmf 2> /dev/null` in #( + *the\ am__doit\ target*) + am__include=.include + am__quote="\"" + _am_result=BSD + ;; + esac +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 +$as_echo "$_am_result" >&6; } +rm -f confinc confmf + +# Check whether --enable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then : + enableval=$enable_dependency_tracking; +fi + +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' + am__nodep='_no' +fi + if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +fi + + + +depcc="$CC" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if ${am_cv_CC_dependencies_compiler_type+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + rm -rf conftest.dir + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + am__universal=false + case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok `-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + +if test "x$CC" != xcc; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 +$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 +$as_echo_n "checking whether cc understands -c and -o together... " >&6; } +fi +set dummy $CC; ac_cc=`$as_echo "$2" | + sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +# Make sure it works both with $CC and with simple cc. +# We do the test twice because some compilers refuse to overwrite an +# existing .o file with -o, though they will create one. +ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' +rm -f conftest2.* +if { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && + test -f conftest2.$ac_objext && { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; +then + eval ac_cv_prog_cc_${ac_cc}_c_o=yes + if test "x$CC" != xcc; then + # Test first that cc exists at all. + if { ac_try='cc -c conftest.$ac_ext >&5' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' + rm -f conftest2.* + if { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && + test -f conftest2.$ac_objext && { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; + then + # cc works too. + : + else + # cc exists but doesn't like -o. + eval ac_cv_prog_cc_${ac_cc}_c_o=no + fi + fi + fi +else + eval ac_cv_prog_cc_${ac_cc}_c_o=no +fi +rm -f core conftest* + +fi +if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h + +fi + +# FIXME: we rely on the cache variable name because +# there is no other way. +set dummy $CC +am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o +if test "$am_t" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi + + +case `pwd` in + *\ * | *\ *) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; +esac + + + +macro_version='2.4.2' +macro_revision='1.3337' + + + + + + + + + + + + + +ltmain="$ac_aux_dir/ltmain.sh" + +# Backslashify metacharacters that are still active within +# double-quoted strings. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\(["`\\]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to delay expansion of an escaped single quote. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 +$as_echo_n "checking how to print strings... " >&6; } +# Test print first, because it will be a builtin if present. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='print -r --' +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='printf %s\n' +else + # Use this function as a fallback that always works. + func_fallback_echo () + { + eval 'cat <<_LTECHO_EOF +$1 +_LTECHO_EOF' + } + ECHO='func_fallback_echo' +fi + +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "" +} + +case "$ECHO" in + printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 +$as_echo "printf" >&6; } ;; + print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 +$as_echo "print -r" >&6; } ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 +$as_echo "cat" >&6; } ;; +esac + + + + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 +$as_echo_n "checking for a sed that does not truncate output... " >&6; } +if ${ac_cv_path_SED+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ + for ac_i in 1 2 3 4 5 6 7; do + ac_script="$ac_script$as_nl$ac_script" + done + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed + { ac_script=; unset ac_script;} + if test -z "$SED"; then + ac_path_SED_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue +# Check for GNU ac_path_SED and select it if it is found. + # Check for GNU $ac_path_SED +case `"$ac_path_SED" --version 2>&1` in +*GNU*) + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo '' >> "conftest.nl" + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_SED_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_SED="$ac_path_SED" + ac_path_SED_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_SED_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_SED"; then + as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 + fi +else + ac_cv_path_SED=$SED +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 +$as_echo "$ac_cv_path_SED" >&6; } + SED="$ac_cv_path_SED" + rm -f conftest.sed + +test -z "$SED" && SED=sed +Xsed="$SED -e 1s/^X//" + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; } +if ${ac_cv_path_GREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$GREP"; then + ac_path_GREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in grep ggrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue +# Check for GNU ac_path_GREP and select it if it is found. + # Check for GNU $ac_path_GREP +case `"$ac_path_GREP" --version 2>&1` in +*GNU*) + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_GREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_GREP="$ac_path_GREP" + ac_path_GREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_GREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_GREP"; then + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_GREP=$GREP +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 +$as_echo "$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +$as_echo_n "checking for egrep... " >&6; } +if ${ac_cv_path_EGREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 + then ac_cv_path_EGREP="$GREP -E" + else + if test -z "$EGREP"; then + ac_path_EGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue +# Check for GNU ac_path_EGREP and select it if it is found. + # Check for GNU $ac_path_EGREP +case `"$ac_path_EGREP" --version 2>&1` in +*GNU*) + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_EGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP="$ac_path_EGREP" + ac_path_EGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_EGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_EGREP"; then + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_EGREP=$EGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 +$as_echo "$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 +$as_echo_n "checking for fgrep... " >&6; } +if ${ac_cv_path_FGREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 + then ac_cv_path_FGREP="$GREP -F" + else + if test -z "$FGREP"; then + ac_path_FGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in fgrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue +# Check for GNU ac_path_FGREP and select it if it is found. + # Check for GNU $ac_path_FGREP +case `"$ac_path_FGREP" --version 2>&1` in +*GNU*) + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'FGREP' >> "conftest.nl" + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_FGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_FGREP="$ac_path_FGREP" + ac_path_FGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_FGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_FGREP"; then + as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_FGREP=$FGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 +$as_echo "$ac_cv_path_FGREP" >&6; } + FGREP="$ac_cv_path_FGREP" + + +test -z "$GREP" && GREP=grep + + + + + + + + + + + + + + + + + + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 +$as_echo_n "checking for ld used by $CC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | ?:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if ${lt_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in + *GNU* | *'with BFD'*) + test "$with_gnu_ld" != no && break + ;; + *) + test "$with_gnu_ld" != yes && break + ;; + esac + fi + done + IFS="$lt_save_ifs" +else + lt_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$lt_cv_path_LD" +if test -n "$LD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if ${lt_cv_prog_gnu_ld+:} false; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU lds only accept -v. +case `$LD -v 2>&1 </dev/null` in +*GNU* | *'with BFD'*) + lt_cv_prog_gnu_ld=yes + ;; +*) + lt_cv_prog_gnu_ld=no + ;; +esac +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 +$as_echo "$lt_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$lt_cv_prog_gnu_ld + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } +if ${lt_cv_path_NM+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_nm_to_check="${ac_tool_prefix}nm" + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then + lt_nm_to_check="$lt_nm_to_check nm" + fi + for lt_tmp_nm in $lt_nm_to_check; do + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/$lt_tmp_nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + ;; + esac + fi + done + IFS="$lt_save_ifs" + done + : ${lt_cv_path_NM=no} +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 +$as_echo "$lt_cv_path_NM" >&6; } +if test "$lt_cv_path_NM" != "no"; then + NM="$lt_cv_path_NM" +else + # Didn't find any BSD compatible name lister, look for dumpbin. + if test -n "$DUMPBIN"; then : + # Let the user override the test. + else + if test -n "$ac_tool_prefix"; then + for ac_prog in dumpbin "link -dump" + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_DUMPBIN+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$DUMPBIN"; then + ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +DUMPBIN=$ac_cv_prog_DUMPBIN +if test -n "$DUMPBIN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 +$as_echo "$DUMPBIN" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$DUMPBIN" && break + done +fi +if test -z "$DUMPBIN"; then + ac_ct_DUMPBIN=$DUMPBIN + for ac_prog in dumpbin "link -dump" +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_DUMPBIN"; then + ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN +if test -n "$ac_ct_DUMPBIN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 +$as_echo "$ac_ct_DUMPBIN" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_DUMPBIN" && break +done + + if test "x$ac_ct_DUMPBIN" = x; then + DUMPBIN=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + DUMPBIN=$ac_ct_DUMPBIN + fi +fi + + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in + *COFF*) + DUMPBIN="$DUMPBIN -symbols" + ;; + *) + DUMPBIN=: + ;; + esac + fi + + if test "$DUMPBIN" != ":"; then + NM="$DUMPBIN" + fi +fi +test -z "$NM" && NM=nm + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 +$as_echo_n "checking the name lister ($NM) interface... " >&6; } +if ${lt_cv_nm_interface+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_nm_interface="BSD nm" + echo "int some_variable = 0;" > conftest.$ac_ext + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) + (eval "$ac_compile" 2>conftest.err) + cat conftest.err >&5 + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) + cat conftest.err >&5 + (eval echo "\"\$as_me:$LINENO: output\"" >&5) + cat conftest.out >&5 + if $GREP 'External.*some_variable' conftest.out > /dev/null; then + lt_cv_nm_interface="MS dumpbin" + fi + rm -f conftest* +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 +$as_echo "$lt_cv_nm_interface" >&6; } + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 +$as_echo_n "checking whether ln -s works... " >&6; } +LN_S=$as_ln_s +if test "$LN_S" = "ln -s"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 +$as_echo "no, using $LN_S" >&6; } +fi + +# find the maximum length of command line arguments +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 +$as_echo_n "checking the maximum length of command line arguments... " >&6; } +if ${lt_cv_sys_max_cmd_len+:} false; then : + $as_echo_n "(cached) " >&6 +else + i=0 + teststring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw* | cegcc*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + mint*) + # On MiNT this can take a long time and run out of memory. + lt_cv_sys_max_cmd_len=8192; + ;; + + amigaos*) + # On AmigaOS with pdksh, this test takes hours, literally. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; + ;; + + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + ;; + + interix*) + # We know the value 262144 and hardcode it with a safety zone (like BSD) + lt_cv_sys_max_cmd_len=196608 + ;; + + os2*) + # The test takes a long time on OS/2. + lt_cv_sys_max_cmd_len=8192 + ;; + + osf*) + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not + # nice to cause kernel panics so lets avoid the loop below. + # First set a reasonable default. + lt_cv_sys_max_cmd_len=16384 + # + if test -x /sbin/sysconfig; then + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in + *1*) lt_cv_sys_max_cmd_len=-1 ;; + esac + fi + ;; + sco3.2v5*) + lt_cv_sys_max_cmd_len=102400 + ;; + sysv5* | sco5v6* | sysv4.2uw2*) + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` + if test -n "$kargmax"; then + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` + else + lt_cv_sys_max_cmd_len=32768 + fi + ;; + *) + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` + if test -n "$lt_cv_sys_max_cmd_len"; then + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + else + # Make teststring a little bigger before we do anything with it. + # a 1K string should be a reasonable start. + for i in 1 2 3 4 5 6 7 8 ; do + teststring=$teststring$teststring + done + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ + = "X$teststring$teststring"; } >/dev/null 2>&1 && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + teststring=$teststring$teststring + done + # Only check the string length outside the loop. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` + teststring= + # Add a significant safety factor because C++ compilers can tack on + # massive amounts of additional arguments before passing them to the + # linker. It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + fi + ;; + esac + +fi + +if test -n $lt_cv_sys_max_cmd_len ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 +$as_echo "$lt_cv_sys_max_cmd_len" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 +$as_echo "none" >&6; } +fi +max_cmd_len=$lt_cv_sys_max_cmd_len + + + + + + +: ${CP="cp -f"} +: ${MV="mv -f"} +: ${RM="rm -f"} + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 +$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } +# Try some XSI features +xsi_shell=no +( _lt_dummy="a/b/c" + test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ + = c,a/b,b/c, \ + && eval 'test $(( 1 + 1 )) -eq 2 \ + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ + && xsi_shell=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 +$as_echo "$xsi_shell" >&6; } + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 +$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } +lt_shell_append=no +( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ + >/dev/null 2>&1 \ + && lt_shell_append=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 +$as_echo "$lt_shell_append" >&6; } + + +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + lt_unset=unset +else + lt_unset=false +fi + + + + + +# test EBCDIC or ASCII +case `echo X|tr X '\101'` in + A) # ASCII based system + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr + lt_SP2NL='tr \040 \012' + lt_NL2SP='tr \015\012 \040\040' + ;; + *) # EBCDIC based system + lt_SP2NL='tr \100 \n' + lt_NL2SP='tr \r\n \100\100' + ;; +esac + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 +$as_echo_n "checking how to convert $build file names to $host format... " >&6; } +if ${lt_cv_to_host_file_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 + ;; + esac + ;; + *-*-cygwin* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin + ;; + esac + ;; + * ) # unhandled hosts (and "normal" native builds) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; +esac + +fi + +to_host_file_cmd=$lt_cv_to_host_file_cmd +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 +$as_echo "$lt_cv_to_host_file_cmd" >&6; } + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 +$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } +if ${lt_cv_to_tool_file_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + #assume ordinary cross tools, or native build. +lt_cv_to_tool_file_cmd=func_convert_file_noop +case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 + ;; + esac + ;; +esac + +fi + +to_tool_file_cmd=$lt_cv_to_tool_file_cmd +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 +$as_echo "$lt_cv_to_tool_file_cmd" >&6; } + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 +$as_echo_n "checking for $LD option to reload object files... " >&6; } +if ${lt_cv_ld_reload_flag+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_reload_flag='-r' +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 +$as_echo "$lt_cv_ld_reload_flag" >&6; } +reload_flag=$lt_cv_ld_reload_flag +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' +case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + if test "$GCC" != yes; then + reload_cmds=false + fi + ;; + darwin*) + if test "$GCC" = yes; then + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' + else + reload_cmds='$LD$reload_flag -o $output$reload_objs' + fi + ;; +esac + + + + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. +set dummy ${ac_tool_prefix}objdump; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OBJDUMP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OBJDUMP"; then + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OBJDUMP=$ac_cv_prog_OBJDUMP +if test -n "$OBJDUMP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 +$as_echo "$OBJDUMP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OBJDUMP"; then + ac_ct_OBJDUMP=$OBJDUMP + # Extract the first word of "objdump", so it can be a program name with args. +set dummy objdump; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OBJDUMP"; then + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_OBJDUMP="objdump" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP +if test -n "$ac_ct_OBJDUMP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 +$as_echo "$ac_ct_OBJDUMP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OBJDUMP" = x; then + OBJDUMP="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OBJDUMP=$ac_ct_OBJDUMP + fi +else + OBJDUMP="$ac_cv_prog_OBJDUMP" +fi + +test -z "$OBJDUMP" && OBJDUMP=objdump + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 +$as_echo_n "checking how to recognize dependent libraries... " >&6; } +if ${lt_cv_deplibs_check_method+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_deplibs_check_method='unknown' +# Need to set the preceding variable on all platforms that support +# interlibrary dependencies. +# 'none' -- dependencies not supported. +# `unknown' -- same as none, but documents that we really don't know. +# 'pass_all' -- all dependencies passed with no checks. +# 'test_compile' -- check by making test program. +# 'file_magic [[regex]]' -- check by looking for files in library path +# which responds to the $file_magic_cmd with a given extended regex. +# If you have `file' or equivalent on your system and you're not sure +# whether `pass_all' will *always* work, you probably want this one. + +case $host_os in +aix[4-9]*) + lt_cv_deplibs_check_method=pass_all + ;; + +beos*) + lt_cv_deplibs_check_method=pass_all + ;; + +bsdi[45]*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' + lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_test_file=/shlib/libc.so + ;; + +cygwin*) + # func_win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + ;; + +mingw* | pw32*) + # Base MSYS/MinGW do not provide the 'file' command needed by + # func_win32_libid shell function, so use a weaker test based on 'objdump', + # unless we find 'file', for example because we are cross-compiling. + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. + if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + else + # Keep this pattern in sync with the one in func_win32_libid. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' + lt_cv_file_magic_cmd='$OBJDUMP -f' + fi + ;; + +cegcc*) + # use the weaker test based on 'objdump'. See mingw*. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + ;; + +darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +freebsd* | dragonfly*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +haiku*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case $host_cpu in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac + ;; + +interix[3-9]*) + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' + ;; + +irix5* | irix6* | nonstopux*) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + lt_cv_deplibs_check_method=pass_all + ;; + +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + lt_cv_deplibs_check_method=pass_all + ;; + +netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' + fi + ;; + +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +*nto* | *qnx*) + lt_cv_deplibs_check_method=pass_all + ;; + +openbsd*) + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + fi + ;; + +osf3* | osf4* | osf5*) + lt_cv_deplibs_check_method=pass_all + ;; + +rdos*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv4 | sysv4.3*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; + pc) + lt_cv_deplibs_check_method=pass_all + ;; + esac + ;; + +tpf*) + lt_cv_deplibs_check_method=pass_all + ;; +esac + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 +$as_echo "$lt_cv_deplibs_check_method" >&6; } + +file_magic_glob= +want_nocaseglob=no +if test "$build" = "$host"; then + case $host_os in + mingw* | pw32*) + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then + want_nocaseglob=yes + else + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` + fi + ;; + esac +fi + +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown + + + + + + + + + + + + + + + + + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. +set dummy ${ac_tool_prefix}dlltool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_DLLTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$DLLTOOL"; then + ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +DLLTOOL=$ac_cv_prog_DLLTOOL +if test -n "$DLLTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 +$as_echo "$DLLTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_DLLTOOL"; then + ac_ct_DLLTOOL=$DLLTOOL + # Extract the first word of "dlltool", so it can be a program name with args. +set dummy dlltool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_DLLTOOL"; then + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_DLLTOOL="dlltool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL +if test -n "$ac_ct_DLLTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 +$as_echo "$ac_ct_DLLTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_DLLTOOL" = x; then + DLLTOOL="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + DLLTOOL=$ac_ct_DLLTOOL + fi +else + DLLTOOL="$ac_cv_prog_DLLTOOL" +fi + +test -z "$DLLTOOL" && DLLTOOL=dlltool + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 +$as_echo_n "checking how to associate runtime and link libraries... " >&6; } +if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_sharedlib_from_linklib_cmd='unknown' + +case $host_os in +cygwin* | mingw* | pw32* | cegcc*) + # two different shell functions defined in ltmain.sh + # decide which to use based on capabilities of $DLLTOOL + case `$DLLTOOL --help 2>&1` in + *--identify-strict*) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib + ;; + *) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback + ;; + esac + ;; +*) + # fallback: assume linklib IS sharedlib + lt_cv_sharedlib_from_linklib_cmd="$ECHO" + ;; +esac + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 +$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO + + + + + + + + +if test -n "$ac_tool_prefix"; then + for ac_prog in ar + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AR="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +$as_echo "$AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AR" && break + done +fi +if test -z "$AR"; then + ac_ct_AR=$AR + for ac_prog in ar +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_AR="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 +$as_echo "$ac_ct_AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_AR" && break +done + + if test "x$ac_ct_AR" = x; then + AR="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + AR=$ac_ct_AR + fi +fi + +: ${AR=ar} +: ${AR_FLAGS=cru} + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 +$as_echo_n "checking for archiver @FILE support... " >&6; } +if ${lt_cv_ar_at_file+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ar_at_file=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + echo conftest.$ac_objext > conftest.lst + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 + (eval $lt_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test "$ac_status" -eq 0; then + # Ensure the archiver fails upon bogus file names. + rm -f conftest.$ac_objext libconftest.a + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 + (eval $lt_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test "$ac_status" -ne 0; then + lt_cv_ar_at_file=@ + fi + fi + rm -f conftest.* libconftest.a + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 +$as_echo "$lt_cv_ar_at_file" >&6; } + +if test "x$lt_cv_ar_at_file" = xno; then + archiver_list_spec= +else + archiver_list_spec=$lt_cv_ar_at_file +fi + + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +test -z "$STRIP" && STRIP=: + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +$as_echo "$RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 +$as_echo "$ac_ct_RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_RANLIB" = x; then + RANLIB=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + RANLIB=$ac_ct_RANLIB + fi +else + RANLIB="$ac_cv_prog_RANLIB" +fi + +test -z "$RANLIB" && RANLIB=: + + + + + + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" + ;; + *) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" +fi + +case $host_os in + darwin*) + lock_old_archive_extraction=yes ;; + *) + lock_old_archive_extraction=no ;; +esac + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Check for command to grab the raw symbol name followed by C symbol from nm. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } +if ${lt_cv_sys_global_symbol_pipe+:} false; then : + $as_echo_n "(cached) " >&6 +else + +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[BCDEGRST]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)' + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[BCDT]' + ;; +cygwin* | mingw* | pw32* | cegcc*) + symcode='[ABCDGISTW]' + ;; +hpux*) + if test "$host_cpu" = ia64; then + symcode='[ABCDEGRST]' + fi + ;; +irix* | nonstopux*) + symcode='[BCDEGRST]' + ;; +osf*) + symcode='[BCDEGQRST]' + ;; +solaris*) + symcode='[BDRT]' + ;; +sco3.2v5*) + symcode='[DT]' + ;; +sysv4.2uw2*) + symcode='[DT]' + ;; +sysv5* | sco5v6* | unixware* | OpenUNIX*) + symcode='[ABDT]' + ;; +sysv4) + symcode='[DFNSTU]' + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[ABCDGIRSTW]' ;; +esac + +# Transform an extracted symbol line into a proper C declaration. +# Some systems (esp. on ia64) link data and code symbols differently, +# so use this general approach. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# Try without a prefix underscore, then with it. +for ac_symprfx in "" "_"; do + + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. + symxfrm="\\1 $ac_symprfx\\2 \\2" + + # Write the raw and C identifiers. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then + # Fake it for dumpbin and say T for any non-static function + # and D for any global variable. + # Also find C++ and __fastcall symbols from MSVC++, + # which start with @ or ?. + lt_cv_sys_global_symbol_pipe="$AWK '"\ +" {last_section=section; section=\$ 3};"\ +" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ +" \$ 0!~/External *\|/{next};"\ +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ +" {if(hide[section]) next};"\ +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ +" s[1]~/^[@?]/{print s[1], s[1]; next};"\ +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ +" ' prfx=^$ac_symprfx" + else + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" + fi + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext <<_LT_EOF +#ifdef __cplusplus +extern "C" { +#endif +char nm_test_var; +void nm_test_func(void); +void nm_test_func(void){} +#ifdef __cplusplus +} +#endif +int main(){nm_test_var='a';nm_test_func();return(0);} +_LT_EOF + + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + # Now try to grab the symbols. + nlist=conftest.nm + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 + (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then + cat <<_LT_EOF > conftest.$ac_ext +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) +/* DATA imports from DLLs on WIN32 con't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT_DLSYM_CONST +#elif defined(__osf__) +/* This system does not cope well with relocations in const data. */ +# define LT_DLSYM_CONST +#else +# define LT_DLSYM_CONST const +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +_LT_EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' + + cat <<_LT_EOF >> conftest.$ac_ext + +/* The mapping between symbol names and symbols. */ +LT_DLSYM_CONST struct { + const char *name; + void *address; +} +lt__PROGRAM__LTX_preloaded_symbols[] = +{ + { "@PROGRAM@", (void *) 0 }, +_LT_EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext + cat <<\_LT_EOF >> conftest.$ac_ext + {0, (void *) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt__PROGRAM__LTX_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif +_LT_EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_globsym_save_LIBS=$LIBS + lt_globsym_save_CFLAGS=$CFLAGS + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS=$lt_globsym_save_LIBS + CFLAGS=$lt_globsym_save_CFLAGS + else + echo "cannot find nm_test_func in $nlist" >&5 + fi + else + echo "cannot find nm_test_var in $nlist" >&5 + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 + fi + else + echo "$progname: failed program was:" >&5 + cat conftest.$ac_ext >&5 + fi + rm -rf conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done + +fi + +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 +$as_echo "failed" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 +$as_echo "ok" >&6; } +fi + +# Response file support. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then + nm_file_list_spec='@' +elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then + nm_file_list_spec='@' +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 +$as_echo_n "checking for sysroot... " >&6; } + +# Check whether --with-sysroot was given. +if test "${with_sysroot+set}" = set; then : + withval=$with_sysroot; +else + with_sysroot=no +fi + + +lt_sysroot= +case ${with_sysroot} in #( + yes) + if test "$GCC" = yes; then + lt_sysroot=`$CC --print-sysroot 2>/dev/null` + fi + ;; #( + /*) + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` + ;; #( + no|'') + ;; #( + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 +$as_echo "${with_sysroot}" >&6; } + as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 + ;; +esac + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 +$as_echo "${lt_sysroot:-no}" >&6; } + + + + + +# Check whether --enable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then : + enableval=$enable_libtool_lock; +fi + +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ +s390*-*linux*|s390*-*tpf*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.o` in + *32-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_i386_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*|powerpc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_x86_64_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*|s390*-*tpf*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 +$as_echo_n "checking whether the C compiler needs -belf... " >&6; } +if ${lt_cv_cc_needs_belf+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + lt_cv_cc_needs_belf=yes +else + lt_cv_cc_needs_belf=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 +$as_echo "$lt_cv_cc_needs_belf" >&6; } + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +*-*solaris*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.o` in + *64-bit*) + case $lt_cv_prog_gnu_ld in + yes*) + case $host in + i?86-*-solaris*) + LD="${LD-ld} -m elf_x86_64" + ;; + sparc*-*-solaris*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + # GNU ld 2.21 introduced _sol2 emulations. Use them if available. + if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then + LD="${LD-ld}_sol2" + fi + ;; + *) + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then + LD="${LD-ld} -64" + fi + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; +esac + +need_locks="$enable_libtool_lock" + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. +set dummy ${ac_tool_prefix}mt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$MANIFEST_TOOL"; then + ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL +if test -n "$MANIFEST_TOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 +$as_echo "$MANIFEST_TOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_MANIFEST_TOOL"; then + ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL + # Extract the first word of "mt", so it can be a program name with args. +set dummy mt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_MANIFEST_TOOL"; then + ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL +if test -n "$ac_ct_MANIFEST_TOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 +$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_MANIFEST_TOOL" = x; then + MANIFEST_TOOL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL + fi +else + MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" +fi + +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 +$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } +if ${lt_cv_path_mainfest_tool+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_path_mainfest_tool=no + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out + cat conftest.err >&5 + if $GREP 'Manifest Tool' conftest.out > /dev/null; then + lt_cv_path_mainfest_tool=yes + fi + rm -f conftest* +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 +$as_echo "$lt_cv_path_mainfest_tool" >&6; } +if test "x$lt_cv_path_mainfest_tool" != xyes; then + MANIFEST_TOOL=: +fi + + + + + + + case $host_os in + rhapsody* | darwin*) + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_DSYMUTIL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$DSYMUTIL"; then + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +DSYMUTIL=$ac_cv_prog_DSYMUTIL +if test -n "$DSYMUTIL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 +$as_echo "$DSYMUTIL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_DSYMUTIL"; then + ac_ct_DSYMUTIL=$DSYMUTIL + # Extract the first word of "dsymutil", so it can be a program name with args. +set dummy dsymutil; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_DSYMUTIL"; then + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL +if test -n "$ac_ct_DSYMUTIL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 +$as_echo "$ac_ct_DSYMUTIL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_DSYMUTIL" = x; then + DSYMUTIL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + DSYMUTIL=$ac_ct_DSYMUTIL + fi +else + DSYMUTIL="$ac_cv_prog_DSYMUTIL" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. +set dummy ${ac_tool_prefix}nmedit; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_NMEDIT+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NMEDIT"; then + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +NMEDIT=$ac_cv_prog_NMEDIT +if test -n "$NMEDIT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 +$as_echo "$NMEDIT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_NMEDIT"; then + ac_ct_NMEDIT=$NMEDIT + # Extract the first word of "nmedit", so it can be a program name with args. +set dummy nmedit; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_NMEDIT"; then + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_NMEDIT="nmedit" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT +if test -n "$ac_ct_NMEDIT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 +$as_echo "$ac_ct_NMEDIT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_NMEDIT" = x; then + NMEDIT=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + NMEDIT=$ac_ct_NMEDIT + fi +else + NMEDIT="$ac_cv_prog_NMEDIT" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. +set dummy ${ac_tool_prefix}lipo; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_LIPO+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$LIPO"; then + ac_cv_prog_LIPO="$LIPO" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_LIPO="${ac_tool_prefix}lipo" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +LIPO=$ac_cv_prog_LIPO +if test -n "$LIPO"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 +$as_echo "$LIPO" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_LIPO"; then + ac_ct_LIPO=$LIPO + # Extract the first word of "lipo", so it can be a program name with args. +set dummy lipo; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_LIPO+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_LIPO"; then + ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_LIPO="lipo" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO +if test -n "$ac_ct_LIPO"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 +$as_echo "$ac_ct_LIPO" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_LIPO" = x; then + LIPO=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + LIPO=$ac_ct_LIPO + fi +else + LIPO="$ac_cv_prog_LIPO" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. +set dummy ${ac_tool_prefix}otool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OTOOL"; then + ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OTOOL="${ac_tool_prefix}otool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OTOOL=$ac_cv_prog_OTOOL +if test -n "$OTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 +$as_echo "$OTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OTOOL"; then + ac_ct_OTOOL=$OTOOL + # Extract the first word of "otool", so it can be a program name with args. +set dummy otool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OTOOL"; then + ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_OTOOL="otool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL +if test -n "$ac_ct_OTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 +$as_echo "$ac_ct_OTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OTOOL" = x; then + OTOOL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OTOOL=$ac_ct_OTOOL + fi +else + OTOOL="$ac_cv_prog_OTOOL" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. +set dummy ${ac_tool_prefix}otool64; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OTOOL64+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OTOOL64"; then + ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OTOOL64=$ac_cv_prog_OTOOL64 +if test -n "$OTOOL64"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 +$as_echo "$OTOOL64" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OTOOL64"; then + ac_ct_OTOOL64=$OTOOL64 + # Extract the first word of "otool64", so it can be a program name with args. +set dummy otool64; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OTOOL64"; then + ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_OTOOL64="otool64" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 +if test -n "$ac_ct_OTOOL64"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 +$as_echo "$ac_ct_OTOOL64" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OTOOL64" = x; then + OTOOL64=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OTOOL64=$ac_ct_OTOOL64 + fi +else + OTOOL64="$ac_cv_prog_OTOOL64" +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 +$as_echo_n "checking for -single_module linker flag... " >&6; } +if ${lt_cv_apple_cc_single_mod+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_apple_cc_single_mod=no + if test -z "${LT_MULTI_MODULE}"; then + # By default we will add the -single_module flag. You can override + # by either setting the environment variable LT_MULTI_MODULE + # non-empty at configure time, or by adding -multi_module to the + # link flags. + rm -rf libconftest.dylib* + echo "int foo(void){return 1;}" > conftest.c + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ +-dynamiclib -Wl,-single_module conftest.c" >&5 + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err + _lt_result=$? + # If there is a non-empty error log, and "single_module" + # appears in it, assume the flag caused a linker warning + if test -s conftest.err && $GREP single_module conftest.err; then + cat conftest.err >&5 + # Otherwise, if the output was created with a 0 exit code from + # the compiler, it worked. + elif test -f libconftest.dylib && test $_lt_result -eq 0; then + lt_cv_apple_cc_single_mod=yes + else + cat conftest.err >&5 + fi + rm -rf libconftest.dylib* + rm -f conftest.* + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 +$as_echo "$lt_cv_apple_cc_single_mod" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } +if ${lt_cv_ld_exported_symbols_list+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_exported_symbols_list=no + save_LDFLAGS=$LDFLAGS + echo "_main" > conftest.sym + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + lt_cv_ld_exported_symbols_list=yes +else + lt_cv_ld_exported_symbols_list=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$save_LDFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 +$as_echo_n "checking for -force_load linker flag... " >&6; } +if ${lt_cv_ld_force_load+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_force_load=no + cat > conftest.c << _LT_EOF +int forced_loaded() { return 2;} +_LT_EOF + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 + echo "$AR cru libconftest.a conftest.o" >&5 + $AR cru libconftest.a conftest.o 2>&5 + echo "$RANLIB libconftest.a" >&5 + $RANLIB libconftest.a 2>&5 + cat > conftest.c << _LT_EOF +int main() { return 0;} +_LT_EOF + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err + _lt_result=$? + if test -s conftest.err && $GREP force_load conftest.err; then + cat conftest.err >&5 + elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then + lt_cv_ld_force_load=yes + else + cat conftest.err >&5 + fi + rm -f conftest.err libconftest.a conftest conftest.c + rm -rf conftest.dSYM + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 +$as_echo "$lt_cv_ld_force_load" >&6; } + case $host_os in + rhapsody* | darwin1.[012]) + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; + darwin1.*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + darwin*) # darwin 5.x on + # if running on 10.5 or later, the deployment target defaults + # to the OS version, if on x86, and 10.4, the deployment + # target defaults to 10.4. Don't you love it? + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in + 10.0,*86*-darwin8*|10.0,*-darwin[91]*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + 10.[012]*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + 10.*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + esac + ;; + esac + if test "$lt_cv_apple_cc_single_mod" = "yes"; then + _lt_dar_single_mod='$single_module' + fi + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' + else + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then + _lt_dsymutil='~$DSYMUTIL $lib || :' + else + _lt_dsymutil= + fi + ;; + esac + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +$as_echo_n "checking how to run the C preprocessor... " >&6; } +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if ${ac_cv_prog_CPP+:} false; then : + $as_echo_n "(cached) " >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + # <limits.h> exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include <limits.h> +#else +# include <assert.h> +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <ac_nonexistent.h> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +$as_echo "$CPP" >&6; } +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + # <limits.h> exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include <limits.h> +#else +# include <assert.h> +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <ac_nonexistent.h> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details" "$LINENO" 5; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } +if ${ac_cv_header_stdc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdlib.h> +#include <stdarg.h> +#include <string.h> +#include <float.h> + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdc=yes +else + ac_cv_header_stdc=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <string.h> + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdlib.h> + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <ctype.h> +#include <stdlib.h> +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + +else + ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +$as_echo "#define STDC_HEADERS 1" >>confdefs.h + +fi + +# On IRIX 5.3, sys/types and inttypes.h are conflicting. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +for ac_header in dlfcn.h +do : + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default +" +if test "x$ac_cv_header_dlfcn_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_DLFCN_H 1 +_ACEOF + +fi + +done + + + + + +# Set options + + + + enable_dlopen=no + + + enable_win32_dll=no + + + # Check whether --enable-shared was given. +if test "${enable_shared+set}" = set; then : + enableval=$enable_shared; p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_shared=yes +fi + + + + + + + + + + # Check whether --enable-static was given. +if test "${enable_static+set}" = set; then : + enableval=$enable_static; p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_static=yes +fi + + + + + + + + + + +# Check whether --with-pic was given. +if test "${with_pic+set}" = set; then : + withval=$with_pic; lt_p=${PACKAGE-default} + case $withval in + yes|no) pic_mode=$withval ;; + *) + pic_mode=default + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for lt_pkg in $withval; do + IFS="$lt_save_ifs" + if test "X$lt_pkg" = "X$lt_p"; then + pic_mode=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + pic_mode=default +fi + + +test -z "$pic_mode" && pic_mode=default + + + + + + + + # Check whether --enable-fast-install was given. +if test "${enable_fast_install+set}" = set; then : + enableval=$enable_fast_install; p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_fast_install=yes +fi + + + + + + + + + + + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS="$ltmain" + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +test -z "$LN_S" && LN_S="ln -s" + + + + + + + + + + + + + + +if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 +$as_echo_n "checking for objdir... " >&6; } +if ${lt_cv_objdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 +$as_echo "$lt_cv_objdir" >&6; } +objdir=$lt_cv_objdir + + + + + +cat >>confdefs.h <<_ACEOF +#define LT_OBJDIR "$lt_cv_objdir/" +_ACEOF + + + + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Global variables: +ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except MSVC, +# which needs '.lib'). +libext=a + +with_gnu_ld="$lt_cv_prog_gnu_ld" + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS +test -z "$LD" && LD=ld +test -z "$ac_objext" && ac_objext=o + +for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` + + +# Only perform the check for file, if the check method requires it +test -z "$MAGIC_CMD" && MAGIC_CMD=file +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } +if ${lt_cv_path_MAGIC_CMD+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/${ac_tool_prefix}file; then + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<_LT_EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +_LT_EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 +$as_echo "$MAGIC_CMD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + + +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 +$as_echo_n "checking for file... " >&6; } +if ${lt_cv_path_MAGIC_CMD+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/file; then + lt_cv_path_MAGIC_CMD="$ac_dir/file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<_LT_EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +_LT_EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 +$as_echo "$MAGIC_CMD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + else + MAGIC_CMD=: + fi +fi + + fi + ;; +esac + +# Use C for the default configuration in the libtool script + +lt_save_CC="$CC" +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +objext=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}' + + + + + + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + +# Save the default compiler, since it gets overwritten when the other +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. +compiler_DEFAULT=$CC + +# save warnings/boilerplate of simple test code +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$RM conftest* + +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$RM -r conftest* + + +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... +if test -n "$compiler"; then + +lt_prog_compiler_no_builtin_flag= + +if test "$GCC" = yes; then + case $cc_basename in + nvcc*) + lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; + *) + lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; + esac + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } +if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } + +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" +else + : +fi + +fi + + + + + + + lt_prog_compiler_wl= +lt_prog_compiler_pic= +lt_prog_compiler_static= + + + if test "$GCC" = yes; then + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_static='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + lt_prog_compiler_pic='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic='-fno-common' + ;; + + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + lt_prog_compiler_static= + ;; + + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + ;; + + interix[3-9]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared=no + enable_shared=no + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + lt_prog_compiler_pic='-fPIC -shared' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic=-Kconform_pic + fi + ;; + + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + + case $cc_basename in + nvcc*) # Cuda Compiler Driver 2.2 + lt_prog_compiler_wl='-Xlinker ' + if test -n "$lt_prog_compiler_pic"; then + lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" + fi + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + else + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static='-non_shared' + ;; + + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + # old Intel for x86_64 which still supported -KPIC. + ecc*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-static' + ;; + # icc used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + icc* | ifort*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + # Lahey Fortran 8.1. + lf95*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='--shared' + lt_prog_compiler_static='--static' + ;; + nagfor*) + # NAG Fortran compiler + lt_prog_compiler_wl='-Wl,-Wl,,' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fpic' + lt_prog_compiler_static='-Bstatic' + ;; + ccc*) + lt_prog_compiler_wl='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + xl* | bgxl* | bgf* | mpixl*) + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-qpic' + lt_prog_compiler_static='-qstaticlink' + ;; + *) + case `$CC -v 2>&1 | sed 5q` in + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='' + ;; + *Sun\ F* | *Sun*Fortran*) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='-Qoption ld ' + ;; + *Sun\ C*) + # Sun C 5.9 + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='-Wl,' + ;; + *Intel*\ [CF]*Compiler*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + *Portland\ Group*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fpic' + lt_prog_compiler_static='-Bstatic' + ;; + esac + ;; + esac + ;; + + newsos6) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + lt_prog_compiler_pic='-fPIC -shared' + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + + rdos*) + lt_prog_compiler_static='-non_shared' + ;; + + solaris*) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + case $cc_basename in + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) + lt_prog_compiler_wl='-Qoption ld ';; + *) + lt_prog_compiler_wl='-Wl,';; + esac + ;; + + sunos4*) + lt_prog_compiler_wl='-Qoption ld ' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic='-Kconform_pic' + lt_prog_compiler_static='-Bstatic' + fi + ;; + + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + unicos*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_can_build_shared=no + ;; + + uts4*) + lt_prog_compiler_pic='-pic' + lt_prog_compiler_static='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared=no + ;; + esac + fi + +case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic= + ;; + *) + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" + ;; +esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } +if ${lt_cv_prog_compiler_pic+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_pic=$lt_prog_compiler_pic +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 +$as_echo "$lt_cv_prog_compiler_pic" >&6; } +lt_prog_compiler_pic=$lt_cv_prog_compiler_pic + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } +if ${lt_cv_prog_compiler_pic_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_pic_works=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_pic_works=yes + fi + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } + +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then + case $lt_prog_compiler_pic in + "" | " "*) ;; + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; + esac +else + lt_prog_compiler_pic= + lt_prog_compiler_can_build_shared=no +fi + +fi + + + + + + + + + + + +# +# Check to make sure the static flag actually works. +# +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } +if ${lt_cv_prog_compiler_static_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_static_works=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_static_works=yes + fi + else + lt_cv_prog_compiler_static_works=yes + fi + fi + $RM -r conftest* + LDFLAGS="$save_LDFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 +$as_echo "$lt_cv_prog_compiler_static_works" >&6; } + +if test x"$lt_cv_prog_compiler_static_works" = xyes; then + : +else + lt_prog_compiler_static= +fi + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if ${lt_cv_prog_compiler_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . 2>&5 + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; } + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if ${lt_cv_prog_compiler_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . 2>&5 + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; } + + + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 +$as_echo_n "checking if we can lock with hard links... " >&6; } + hard_links=yes + $RM conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 +$as_echo "$hard_links" >&6; } + if test "$hard_links" = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + + runpath_var= + allow_undefined_flag= + always_export_symbols=no + archive_cmds= + archive_expsym_cmds= + compiler_needs_object=no + enable_shared_with_static_runtimes=no + export_dynamic_flag_spec= + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + hardcode_automatic=no + hardcode_direct=no + hardcode_direct_absolute=no + hardcode_libdir_flag_spec= + hardcode_libdir_separator= + hardcode_minus_L=no + hardcode_shlibpath_var=unsupported + inherit_rpath=no + link_all_deplibs=unknown + module_cmds= + module_expsym_cmds= + old_archive_from_new_cmds= + old_archive_from_expsyms_cmds= + thread_safe_flag_spec= + whole_archive_flag_spec= + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + # Exclude shared library initialization/finalization symbols. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs=yes + + # On some targets, GNU ld is compatible enough with the native linker + # that we're better off using the native interface for both. + lt_use_gnu_ld_interface=no + if test "$with_gnu_ld" = yes; then + case $host_os in + aix*) + # The AIX port of GNU ld has always aspired to compatibility + # with the native linker. However, as the warning in the GNU ld + # block says, versions before 2.19.5* couldn't really create working + # shared libraries, regardless of the interface used. + case `$LD -v 2>&1` in + *\ \(GNU\ Binutils\)\ 2.19.5*) ;; + *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; + *\ \(GNU\ Binutils\)\ [3-9]*) ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + fi + + if test "$lt_use_gnu_ld_interface" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + export_dynamic_flag_spec='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec= + fi + supports_anon_versioning=no + case `$LD -v 2>&1` in + *GNU\ gold*) supports_anon_versioning=yes ;; + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + + # See if GNU ld supports shared libraries. + case $host_os in + aix[3-9]*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no + cat <<_LT_EOF 1>&2 + +*** Warning: the GNU linker, at least up to release 2.19, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to install binutils +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. +*** You will then need to restart the configuration process. + +_LT_EOF + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='' + ;; + m68k) + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + ;; + esac + ;; + + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag=unsupported + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs=no + fi + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec='-L$libdir' + export_dynamic_flag_spec='${wl}--export-all-symbols' + allow_undefined_flag=unsupported + always_export_symbols=no + enable_shared_with_static_runtimes=yes + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' + exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + ld_shlibs=no + fi + ;; + + haiku*) + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + link_all_deplibs=yes + ;; + + interix[3-9]*) + hardcode_direct=no + hardcode_shlibpath_var=no + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) + tmp_diet=no + if test "$host_os" = linux-dietlibc; then + case $cc_basename in + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) + esac + fi + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ + && test "$tmp_diet" = no + then + tmp_addflag=' $pic_flag' + tmp_sharedflag='-shared' + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; + pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group f77 and f90 compilers + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + lf95*) # Lahey Fortran 8.1 + whole_archive_flag_spec= + tmp_sharedflag='--shared' ;; + xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) + tmp_sharedflag='-qmkshrobj' + tmp_addflag= ;; + nvcc*) # Cuda Compiler Driver 2.2 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + compiler_needs_object=yes + ;; + esac + case `$CC -v 2>&1 | sed 5q` in + *Sun\ C*) # Sun C 5.9 + whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + compiler_needs_object=yes + tmp_sharedflag='-G' ;; + *Sun\ F*) # Sun Fortran 8.3 + tmp_sharedflag='-G' ;; + esac + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + + if test "x$supports_anon_versioning" = xyes; then + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + + case $cc_basename in + xlf* | bgf* | bgxlf* | mpixlf*) + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself + whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' + if test "x$supports_anon_versioning" = xyes; then + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' + fi + ;; + esac + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris*) + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + cat <<_LT_EOF 1>&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) + ld_shlibs=no + cat <<_LT_EOF 1>&2 + +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not +*** reliably create shared libraries on SCO systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + ;; + *) + # For security reasons, it is highly recommended that you always + # use absolute paths for naming shared libraries, and exclude the + # DT_RUNPATH tag from executables and libraries. But doing so + # requires that you compile everything twice, which is a pain. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + ;; + + sunos4*) + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + *) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + + if test "$ld_shlibs" = no; then + runpath_var= + hardcode_libdir_flag_spec= + export_dynamic_flag_spec= + whole_archive_flag_spec= + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag=unsupported + always_export_symbols=yes + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported + fi + ;; + + aix[4-9]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global + # defined symbols, whereas GNU nm marks them as "W". + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds='' + hardcode_direct=yes + hardcode_direct_absolute=yes + hardcode_libdir_separator=':' + link_all_deplibs=yes + file_list_spec='${wl}-f,' + + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && + strings "$collect2name" | $GREP resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + hardcode_direct=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + export_dynamic_flag_spec='${wl}-bexpall' + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag='-berok' + # Determine the default libpath from the value encoded in an + # empty executable. + if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath_+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_="/usr/lib:/lib" + fi + +fi + + aix_libpath=$lt_cv_aix_libpath_ +fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag="-z nodefs" + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an + # empty executable. + if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath_+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_="/usr/lib:/lib" + fi + +fi + + aix_libpath=$lt_cv_aix_libpath_ +fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag=' ${wl}-bernotok' + allow_undefined_flag=' ${wl}-berok' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec='$convenience' + fi + archive_cmds_need_lc=yes + # This is similar to how AIX traditionally builds its shared libraries. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='' + ;; + m68k) + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + ;; + esac + ;; + + bsdi[45]*) + export_dynamic_flag_spec=-rdynamic + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + case $cc_basename in + cl*) + # Native MSVC + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + always_export_symbols=yes + file_list_spec='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, )='true' + enable_shared_with_static_runtimes=yes + exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' + # Don't use ranlib + old_postinstall_cmds='chmod 644 $oldlib' + postlink_cmds='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # Assume MSVC wrapper + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_from_new_cmds='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' + enable_shared_with_static_runtimes=yes + ;; + esac + ;; + + darwin* | rhapsody*) + + + archive_cmds_need_lc=no + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + if test "$lt_cv_ld_force_load" = "yes"; then + whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' + + else + whole_archive_flag_spec='' + fi + link_all_deplibs=yes + allow_undefined_flag="$_lt_dar_allow_undefined" + case $cc_basename in + ifort*) _lt_dar_can_shared=yes ;; + *) _lt_dar_can_shared=$GCC ;; + esac + if test "$_lt_dar_can_shared" = "yes"; then + output_verbose_link_cmd=func_echo_all + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" + archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" + module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + + else + ld_shlibs=no + fi + + ;; + + dgux*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2.*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | dragonfly*) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + export_dynamic_flag_spec='${wl}-E' + ;; + + hpux10*) + if test "$GCC" = yes && test "$with_gnu_ld" = no; then + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + fi + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + hardcode_direct_absolute=yes + export_dynamic_flag_spec='${wl}-E' + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + fi + ;; + + hpux11*) + if test "$GCC" = yes && test "$with_gnu_ld" = no; then + case $host_cpu in + hppa*64*) + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case $host_cpu in + hppa*64*) + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + + # Older versions of the 11.00 compiler do not understand -b yet + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 +$as_echo_n "checking if $CC understands -b... " >&6; } +if ${lt_cv_prog_compiler__b+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler__b=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -b" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler__b=yes + fi + else + lt_cv_prog_compiler__b=yes + fi + fi + $RM -r conftest* + LDFLAGS="$save_LDFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 +$as_echo "$lt_cv_prog_compiler__b" >&6; } + +if test x"$lt_cv_prog_compiler__b" = xyes; then + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' +else + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' +fi + + ;; + esac + fi + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + + case $host_cpu in + hppa*64*|ia64*) + hardcode_direct=no + hardcode_shlibpath_var=no + ;; + *) + hardcode_direct=yes + hardcode_direct_absolute=yes + export_dynamic_flag_spec='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + # Try to use the -exported_symbol ld option, if it does not + # work, assume that -exports_file does not work either and + # implicitly export all symbols. + # This should be the same for all languages, so no per-tag cache variable. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 +$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } +if ${lt_cv_irix_exported_symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int foo (void) { return 0; } +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + lt_cv_irix_exported_symbol=yes +else + lt_cv_irix_exported_symbol=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$save_LDFLAGS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 +$as_echo "$lt_cv_irix_exported_symbol" >&6; } + if test "$lt_cv_irix_exported_symbol" = yes; then + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' + fi + else + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' + fi + archive_cmds_need_lc='no' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + inherit_rpath=yes + link_all_deplibs=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + newsos6) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_shlibpath_var=no + ;; + + *nto* | *qnx*) + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + hardcode_direct=yes + hardcode_shlibpath_var=no + hardcode_direct_absolute=yes + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac + fi + else + ld_shlibs=no + fi + ;; + + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + allow_undefined_flag=unsupported + archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + fi + archive_cmds_need_lc='no' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec='-rpath $libdir' + fi + archive_cmds_need_lc='no' + hardcode_libdir_separator=: + ;; + + solaris*) + no_undefined_flag=' -z defs' + if test "$GCC" = yes; then + wlarc='${wl}' + archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + else + case `$CC -v 2>&1` in + *"Compilers 5.0"*) + wlarc='' + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' + ;; + *) + wlarc='${wl}' + archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + ;; + esac + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_shlibpath_var=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. GCC discards it without `$wl', + # but is careful enough not to reorder. + # Supported since Solaris 2.6 (maybe 2.5.1?) + if test "$GCC" = yes; then + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + else + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' + fi + ;; + esac + link_all_deplibs=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds='$CC -r -o $output$reload_objs' + hardcode_direct=no + ;; + motorola) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv4.3*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs=yes + fi + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) + no_undefined_flag='${wl}-z,text' + archive_cmds_need_lc=no + hardcode_shlibpath_var=no + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + no_undefined_flag='${wl}-z,text' + allow_undefined_flag='${wl}-z,nodefs' + archive_cmds_need_lc=no + hardcode_shlibpath_var=no + hardcode_libdir_flag_spec='${wl}-R,$libdir' + hardcode_libdir_separator=':' + link_all_deplibs=yes + export_dynamic_flag_spec='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + uts4*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + *) + ld_shlibs=no + ;; + esac + + if test x$host_vendor = xsni; then + case $host in + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + export_dynamic_flag_spec='${wl}-Blargedynsym' + ;; + esac + fi + fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 +$as_echo "$ld_shlibs" >&6; } +test "$ld_shlibs" = no && can_build_shared=no + +with_gnu_ld=$with_gnu_ld + + + + + + + + + + + + + + + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } +if ${lt_cv_archive_cmds_need_lc+:} false; then : + $as_echo_n "(cached) " >&6 +else + $RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl + pic_flag=$lt_prog_compiler_pic + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag + allow_undefined_flag= + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + then + lt_cv_archive_cmds_need_lc=no + else + lt_cv_archive_cmds_need_lc=yes + fi + allow_undefined_flag=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 +$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } + archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc + ;; + esac + fi + ;; +esac + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 +$as_echo_n "checking dynamic linker characteristics... " >&6; } + +if test "$GCC" = yes; then + case $host_os in + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; + *) lt_awk_arg="/^libraries:/" ;; + esac + case $host_os in + mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; + *) lt_sed_strip_eq="s,=/,/,g" ;; + esac + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` + case $lt_search_path_spec in + *\;*) + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` + ;; + *) + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` + ;; + esac + # Ok, now we have the path, separated by spaces, we can step through it + # and add multilib dir if necessary. + lt_tmp_lt_search_path_spec= + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` + for lt_sys_path in $lt_search_path_spec; do + if test -d "$lt_sys_path/$lt_multi_os_dir"; then + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" + else + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' +BEGIN {RS=" "; FS="/|\n";} { + lt_foo=""; + lt_count=0; + for (lt_i = NF; lt_i > 0; lt_i--) { + if ($lt_i != "" && $lt_i != ".") { + if ($lt_i == "..") { + lt_count++; + } else { + if (lt_count == 0) { + lt_foo="/" $lt_i lt_foo; + } else { + lt_count--; + } + } + } + } + if (lt_foo != "") { lt_freq[lt_foo]++; } + if (lt_freq[lt_foo] == 1) { print lt_foo; } +}'` + # AWK program above erroneously prepends '/' to C:/dos/paths + # for these hosts. + case $host_os in + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ + $SED 's,/\([A-Za-z]:\),\1,g'` ;; + esac + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix[4-9]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib<name>.so + # instead of lib<name>.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + case $host_cpu in + powerpc) + # Since July 2007 AmigaOS4 officially supports .so libraries. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + ;; + m68k) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + esac + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[45]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32* | cegcc*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$cc_basename in + yes,*) + # gcc + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; + fi' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + ;; + esac + dynamic_linker='Win32 ld.exe' + ;; + + *,cl*) + # Native MSVC + libname_spec='$name' + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + library_names_spec='${libname}.dll.lib' + + case $build_os in + mingw*) + sys_lib_search_path_spec= + lt_save_ifs=$IFS + IFS=';' + for lt_path in $LIB + do + IFS=$lt_save_ifs + # Let DOS variable expansion print the short 8.3 style file name. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" + done + IFS=$lt_save_ifs + # Convert to MSYS style. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` + ;; + cygwin*) + # Convert to unix form, then to dos form, then back to unix form + # but this time dos style (no spaces!) so that the unix form looks + # like /cygdrive/c/PROGRA~1:/cygdr... + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + ;; + *) + sys_lib_search_path_spec="$LIB" + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # FIXME: find the short name or the path components, as spaces are + # common. (e.g. "Program Files" -> "PROGRA~1") + ;; + esac + + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + dynamic_linker='Win32 link.exe' + ;; + + *) + # Assume MSVC wrapper + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + dynamic_linker='Win32 ld.exe' + ;; + esac + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[23].*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2.*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +haiku*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + dynamic_linker="$host_os runtime_loader" + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LIBRARY_PATH + shlibpath_overrides_runpath=yes + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555, ... + postinstall_cmds='chmod 555 $lib' + # or fails outright, so override atomically: + install_override_mode=555 + ;; + +interix[3-9]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux # correct to gnu/linux during the next big refactor + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + + # Some binutils ld are patched to set DT_RUNPATH + if ${lt_cv_shlibpath_overrides_runpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_shlibpath_overrides_runpath=no + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : + lt_cv_shlibpath_overrides_runpath=yes +fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + +fi + + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath + + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # Add ABI-specific directories to the system library path. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" + + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +*nto* | *qnx*) + version_type=qnx + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='ldqnx.so' + ;; + +openbsd*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=freebsd-elf + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + if test "$with_gnu_ld" = yes; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +tpf*) + # TPF is a cross-target only. Preferred cross-host = GNU/Linux. + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +uts4*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 +$as_echo "$dynamic_linker" >&6; } +test "$dynamic_linker" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" +fi +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; } +hardcode_action= +if test -n "$hardcode_libdir_flag_spec" || + test -n "$runpath_var" || + test "X$hardcode_automatic" = "Xyes" ; then + + # We can hardcode non-existent directories. + if test "$hardcode_direct" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && + test "$hardcode_minus_L" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action=unsupported +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 +$as_echo "$hardcode_action" >&6; } + +if test "$hardcode_action" = relink || + test "$inherit_rpath" = yes; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + + + + + + + if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32* | cegcc*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if ${ac_cv_lib_dl_dlopen+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = xyes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" +if test "x$ac_cv_func_shl_load" = xyes; then : + lt_cv_dlopen="shl_load" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 +$as_echo_n "checking for shl_load in -ldld... " >&6; } +if ${ac_cv_lib_dld_shl_load+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char shl_load (); +int +main () +{ +return shl_load (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dld_shl_load=yes +else + ac_cv_lib_dld_shl_load=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 +$as_echo "$ac_cv_lib_dld_shl_load" >&6; } +if test "x$ac_cv_lib_dld_shl_load" = xyes; then : + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" +else + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" +if test "x$ac_cv_func_dlopen" = xyes; then : + lt_cv_dlopen="dlopen" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if ${ac_cv_lib_dl_dlopen+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = xyes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 +$as_echo_n "checking for dlopen in -lsvld... " >&6; } +if ${ac_cv_lib_svld_dlopen+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_svld_dlopen=yes +else + ac_cv_lib_svld_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 +$as_echo "$ac_cv_lib_svld_dlopen" >&6; } +if test "x$ac_cv_lib_svld_dlopen" = xyes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 +$as_echo_n "checking for dld_link in -ldld... " >&6; } +if ${ac_cv_lib_dld_dld_link+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dld_link (); +int +main () +{ +return dld_link (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dld_dld_link=yes +else + ac_cv_lib_dld_dld_link=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 +$as_echo "$ac_cv_lib_dld_dld_link" >&6; } +if test "x$ac_cv_lib_dld_dld_link" = xyes; then : + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 +$as_echo_n "checking whether a program can dlopen itself... " >&6; } +if ${lt_cv_dlopen_self+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +#line $LINENO "configure" +#include "confdefs.h" + +#if HAVE_DLFCN_H +#include <dlfcn.h> +#endif + +#include <stdio.h> + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif + +int fnord () { return 42; } +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } + /* dlclose (self); */ + } + else + puts (dlerror ()); + + return status; +} +_LT_EOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 +$as_echo "$lt_cv_dlopen_self" >&6; } + + if test "x$lt_cv_dlopen_self" = xyes; then + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } +if ${lt_cv_dlopen_self_static+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +#line $LINENO "configure" +#include "confdefs.h" + +#if HAVE_DLFCN_H +#include <dlfcn.h> +#endif + +#include <stdio.h> + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif + +int fnord () { return 42; } +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } + /* dlclose (self); */ + } + else + puts (dlerror ()); + + return status; +} +_LT_EOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 +$as_echo "$lt_cv_dlopen_self_static" >&6; } + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + + + + + + + + + + + + + + + + +striplib= +old_striplib= +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 +$as_echo_n "checking whether stripping libraries is possible... " >&6; } +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + old_striplib="$STRIP -S" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; + esac +fi + + + + + + + + + + + + + # Report which library types will actually be built + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 +$as_echo_n "checking if libtool supports shared libraries... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 +$as_echo "$can_build_shared" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 +$as_echo_n "checking whether to build shared libraries... " >&6; } + test "$can_build_shared" = "no" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + + aix[4-9]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + esac + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 +$as_echo "$enable_shared" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 +$as_echo_n "checking whether to build static libraries... " >&6; } + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 +$as_echo "$enable_static" >&6; } + + + + +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC="$lt_save_CC" + + + + + + + + + + + + + + + + ac_config_commands="$ac_config_commands libtool" + + + + +# Only expand once: + + + +for ac_prog in icotool +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ICOTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ICOTOOL"; then + ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ICOTOOL="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ICOTOOL=$ac_cv_prog_ICOTOOL +if test -n "$ICOTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5 +$as_echo "$ICOTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ICOTOOL" && break +done +test -n "$ICOTOOL" || ICOTOOL="icotool" + + +if test "x$os_win32" = "xyes"; then : + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. +set dummy ${ac_tool_prefix}windres; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_WINDRES+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$WINDRES"; then + ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_WINDRES="${ac_tool_prefix}windres" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +WINDRES=$ac_cv_prog_WINDRES +if test -n "$WINDRES"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 +$as_echo "$WINDRES" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_WINDRES"; then + ac_ct_WINDRES=$WINDRES + # Extract the first word of "windres", so it can be a program name with args. +set dummy windres; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_WINDRES+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_WINDRES"; then + ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_WINDRES="windres" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES +if test -n "$ac_ct_WINDRES"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5 +$as_echo "$ac_ct_WINDRES" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_WINDRES" = x; then + WINDRES="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + WINDRES=$ac_ct_WINDRES + fi +else + WINDRES="$ac_cv_prog_WINDRES" +fi + + + if test -z "$WINDRES" ; then + as_fn_error $? "\"windres is required to compile virt-viewer on this platform\"" "$LINENO" 5 + fi + +fi + + + + +$as_echo "#define _GNU_SOURCE /**/" >>confdefs.h + + +# Autoconf 2.61a.99 and earlier don't support linking a file only +# in VPATH builds. But since GNUmakefile is for maintainer use +# only, it does not matter if we skip the link with older autoconf. +# Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH +# builds, so use a shell variable to bypass this. +GNUmakefile=GNUmakefile +ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile" + + + + + # Check whether --enable-compile-warnings was given. +if test "${enable_compile_warnings+set}" = set; then : + enableval=$enable_compile_warnings; +else + enable_compile_warnings="maximum" +fi + + + warnCFLAGS= + + try_compiler_flags="-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables" + + case "$enable_compile_warnings" in + no) + ;; + minimum) + try_compiler_flags="$try_compiler_flags -Wall" + ;; + yes) + try_compiler_flags="$try_compiler_flags -Wall -Wmissing-prototypes -std=c99" + ;; + maximum|error) + try_compiler_flags="$try_compiler_flags -Wall -Wmissing-prototypes -std=c99 -Wnested-externs -Wpointer-arith" + try_compiler_flags="$try_compiler_flags -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return" + # Removed -Wstrict-prototypes to avoid GTK bug + try_compiler_flags="$try_compiler_flags -Winline -Wredundant-decls -Wno-sign-compare" + if test "$enable_compile_warnings" = "error" ; then + try_compiler_flags="$try_compiler_flags -Werror" + fi + ;; + *) + as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5 + ;; + esac + + compiler_flags= + for option in $try_compiler_flags; do + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS $option" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5 +$as_echo_n "checking whether gcc understands $option... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + has_option=yes +else + has_option=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$SAVE_CFLAGS" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 +$as_echo "$has_option" >&6; } + if test $has_option = yes; then + compiler_flags="$compiler_flags $option" + fi + unset has_option + unset SAVE_CFLAGS + done + unset option + unset try_compiler_flags + + # Check whether --enable-iso-c was given. +if test "${enable_iso_c+set}" = set; then : + enableval=$enable_iso_c; +else + enable_iso_c=no +fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5 +$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; } + complCFLAGS= + if test "x$enable_iso_c" != "xno"; then + if test "x$GCC" = "xyes"; then + case " $CFLAGS " in + *\ \ -ansi\ \ *) ;; + *) complCFLAGS="$complCFLAGS -ansi" ;; + esac + case " $CFLAGS " in + *\ \ -pedantic\ \ *) ;; + *) complCFLAGS="$complCFLAGS -pedantic" ;; + esac + fi + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5 +$as_echo "$complCFLAGS" >&6; } + + WARN_CFLAGS="$compiler_flags $complCFLAGS" + + + +GETTEXT_PACKAGE=virt-viewer + + +cat >>confdefs.h <<_ACEOF +#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" +_ACEOF + + + + for ac_header in locale.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" +if test "x$ac_cv_header_locale_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LOCALE_H 1 +_ACEOF + +fi + +done + + if test $ac_cv_header_locale_h = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 +$as_echo_n "checking for LC_MESSAGES... " >&6; } +if ${am_cv_val_LC_MESSAGES+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <locale.h> +int +main () +{ +return LC_MESSAGES + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_val_LC_MESSAGES=yes +else + am_cv_val_LC_MESSAGES=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 +$as_echo "$am_cv_val_LC_MESSAGES" >&6; } + if test $am_cv_val_LC_MESSAGES = yes; then + +$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h + + fi + fi + USE_NLS=yes + + + gt_cv_have_gettext=no + + CATOBJEXT=NONE + XGETTEXT=: + INTLLIBS= + + ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" +if test "x$ac_cv_header_libintl_h" = xyes; then : + gt_cv_func_dgettext_libintl="no" + libintl_extra_libs="" + + # + # First check in libc + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 +$as_echo_n "checking for ngettext in libc... " >&6; } +if ${gt_cv_func_ngettext_libc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> + +int +main () +{ +return !ngettext ("","", 1) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_ngettext_libc=yes +else + gt_cv_func_ngettext_libc=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 +$as_echo "$gt_cv_func_ngettext_libc" >&6; } + + if test "$gt_cv_func_ngettext_libc" = "yes" ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 +$as_echo_n "checking for dgettext in libc... " >&6; } +if ${gt_cv_func_dgettext_libc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <libintl.h> + +int +main () +{ +return !dgettext ("","") + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_dgettext_libc=yes +else + gt_cv_func_dgettext_libc=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 +$as_echo "$gt_cv_func_dgettext_libc" >&6; } + fi + + if test "$gt_cv_func_ngettext_libc" = "yes" ; then + for ac_func in bind_textdomain_codeset +do : + ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" +if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_BIND_TEXTDOMAIN_CODESET 1 +_ACEOF + +fi +done + + fi + + # + # If we don't have everything we want, check in libintl + # + if test "$gt_cv_func_dgettext_libc" != "yes" \ + || test "$gt_cv_func_ngettext_libc" != "yes" \ + || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 +$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } +if ${ac_cv_lib_intl_bindtextdomain+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lintl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char bindtextdomain (); +int +main () +{ +return bindtextdomain (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_intl_bindtextdomain=yes +else + ac_cv_lib_intl_bindtextdomain=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 +$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } +if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 +$as_echo_n "checking for ngettext in -lintl... " >&6; } +if ${ac_cv_lib_intl_ngettext+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lintl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char ngettext (); +int +main () +{ +return ngettext (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_intl_ngettext=yes +else + ac_cv_lib_intl_ngettext=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 +$as_echo "$ac_cv_lib_intl_ngettext" >&6; } +if test "x$ac_cv_lib_intl_ngettext" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 +$as_echo_n "checking for dgettext in -lintl... " >&6; } +if ${ac_cv_lib_intl_dgettext+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lintl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dgettext (); +int +main () +{ +return dgettext (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_intl_dgettext=yes +else + ac_cv_lib_intl_dgettext=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 +$as_echo "$ac_cv_lib_intl_dgettext" >&6; } +if test "x$ac_cv_lib_intl_dgettext" = xyes; then : + gt_cv_func_dgettext_libintl=yes +fi + +fi + +fi + + + if test "$gt_cv_func_dgettext_libintl" != "yes" ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 +$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 +$as_echo "" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 +$as_echo_n "checking for ngettext in -lintl... " >&6; } +if ${ac_cv_lib_intl_ngettext+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lintl -liconv $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char ngettext (); +int +main () +{ +return ngettext (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_intl_ngettext=yes +else + ac_cv_lib_intl_ngettext=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 +$as_echo "$ac_cv_lib_intl_ngettext" >&6; } +if test "x$ac_cv_lib_intl_ngettext" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 +$as_echo_n "checking for dcgettext in -lintl... " >&6; } +if ${ac_cv_lib_intl_dcgettext+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lintl -liconv $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dcgettext (); +int +main () +{ +return dcgettext (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_intl_dcgettext=yes +else + ac_cv_lib_intl_dcgettext=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 +$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } +if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : + gt_cv_func_dgettext_libintl=yes + libintl_extra_libs=-liconv +else + : +fi + +else + : +fi + + fi + + # + # If we found libintl, then check in it for bind_textdomain_codeset(); + # we'll prefer libc if neither have bind_textdomain_codeset(), + # and both have dgettext and ngettext + # + if test "$gt_cv_func_dgettext_libintl" = "yes" ; then + glib_save_LIBS="$LIBS" + LIBS="$LIBS -lintl $libintl_extra_libs" + unset ac_cv_func_bind_textdomain_codeset + for ac_func in bind_textdomain_codeset +do : + ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" +if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_BIND_TEXTDOMAIN_CODESET 1 +_ACEOF + +fi +done + + LIBS="$glib_save_LIBS" + + if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then + gt_cv_func_dgettext_libc=no + else + if test "$gt_cv_func_dgettext_libc" = "yes" \ + && test "$gt_cv_func_ngettext_libc" = "yes"; then + gt_cv_func_dgettext_libintl=no + fi + fi + fi + fi + + if test "$gt_cv_func_dgettext_libc" = "yes" \ + || test "$gt_cv_func_dgettext_libintl" = "yes"; then + gt_cv_have_gettext=yes + fi + + if test "$gt_cv_func_dgettext_libintl" = "yes"; then + INTLLIBS="-lintl $libintl_extra_libs" + fi + + if test "$gt_cv_have_gettext" = "yes"; then + +$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h + + # Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGFMT" in + /*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then + ac_cv_path_MSGFMT="$ac_dir/$ac_word" + break + fi + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" + ;; +esac +fi +MSGFMT="$ac_cv_path_MSGFMT" +if test "$MSGFMT" != "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +$as_echo "$MSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + if test "$MSGFMT" != "no"; then + glib_save_LIBS="$LIBS" + LIBS="$LIBS $INTLLIBS" + for ac_func in dcgettext +do : + ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" +if test "x$ac_cv_func_dcgettext" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_DCGETTEXT 1 +_ACEOF + +fi +done + + MSGFMT_OPTS= + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 +$as_echo_n "checking if msgfmt accepts -c... " >&6; } + cat >conftest.foo <<_ACEOF + +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: test 1.0\n" +"PO-Revision-Date: 2007-02-15 12:01+0100\n" +"Last-Translator: test <foo@bar.xx>\n" +"Language-Team: C <LL@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" + +_ACEOF +if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 + ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +echo "$as_me: failed input was:" >&5 +sed 's/^/| /' conftest.foo >&5 +fi + + # Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GMSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT +if test -n "$GMSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +$as_echo "$GMSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + # Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XGETTEXT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$XGETTEXT" in + /*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then + ac_cv_path_XGETTEXT="$ac_dir/$ac_word" + break + fi + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" + ;; +esac +fi +XGETTEXT="$ac_cv_path_XGETTEXT" +if test "$XGETTEXT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +$as_echo "$XGETTEXT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +extern int _nl_msg_cat_cntr; + return _nl_msg_cat_cntr + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + CATOBJEXT=.gmo + DATADIRNAME=share +else + case $host in + *-*-solaris*) + ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" +if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : + CATOBJEXT=.gmo + DATADIRNAME=share +else + CATOBJEXT=.mo + DATADIRNAME=lib +fi + + ;; + *-*-openbsd*) + CATOBJEXT=.mo + DATADIRNAME=share + ;; + *) + CATOBJEXT=.mo + DATADIRNAME=lib + ;; + esac +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$glib_save_LIBS" + INSTOBJEXT=.mo + else + gt_cv_have_gettext=no + fi + fi + +fi + + + + if test "$gt_cv_have_gettext" = "yes" ; then + +$as_echo "#define ENABLE_NLS 1" >>confdefs.h + + fi + + if test "$XGETTEXT" != ":"; then + if $XGETTEXT --omit-header /dev/null 2> /dev/null; then + : ; + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 +$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } + XGETTEXT=":" + fi + fi + + # We need to process the po/ directory. + POSUB=po + + ac_config_commands="$ac_config_commands default-1" + + + for lang in $ALL_LINGUAS; do + GMOFILES="$GMOFILES $lang.gmo" + POFILES="$POFILES $lang.po" + done + + + + + + + + + + + + + + if test "$gt_cv_have_gettext" = "yes"; then + if test "x$ALL_LINGUAS" = "x"; then + LINGUAS= + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 +$as_echo_n "checking for catalogs to be installed... " >&6; } + NEW_LINGUAS= + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + NEW_LINGUAS="$NEW_LINGUAS $presentlang" + fi + done + LINGUAS=$NEW_LINGUAS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 +$as_echo "$LINGUAS" >&6; } + fi + + if test -n "$LINGUAS"; then + for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done + fi + fi + + MKINSTALLDIRS= + if test -n "$ac_aux_dir"; then + MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" + fi + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + + + test -d po || mkdir po + if test "x$srcdir" != "x."; then + if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then + posrcprefix="$srcdir/" + else + posrcprefix="../$srcdir/" + fi + else + posrcprefix="../" + fi + rm -f po/POTFILES + sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ + < $srcdir/po/POTFILES.in > po/POTFILES + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 +$as_echo_n "checking whether NLS is requested... " >&6; } + # Check whether --enable-nls was given. +if test "${enable_nls+set}" = set; then : + enableval=$enable_nls; USE_NLS=$enableval +else + USE_NLS=yes +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + + + + +case "$am__api_version" in + 1.01234) + as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 + ;; + *) + ;; +esac + +INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` +INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` +INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` +if test -n "0.35.0"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5 +$as_echo_n "checking for intltool >= 0.35.0... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 +$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } + test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || + as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5 +fi + +# Extract the first word of "intltool-update", so it can be a program name with args. +set dummy intltool-update; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $INTLTOOL_UPDATE in + [\\/]* | ?:[\\/]*) + ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE +if test -n "$INTLTOOL_UPDATE"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 +$as_echo "$INTLTOOL_UPDATE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "intltool-merge", so it can be a program name with args. +set dummy intltool-merge; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $INTLTOOL_MERGE in + [\\/]* | ?:[\\/]*) + ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE +if test -n "$INTLTOOL_MERGE"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 +$as_echo "$INTLTOOL_MERGE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "intltool-extract", so it can be a program name with args. +set dummy intltool-extract; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $INTLTOOL_EXTRACT in + [\\/]* | ?:[\\/]*) + ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT +if test -n "$INTLTOOL_EXTRACT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 +$as_echo "$INTLTOOL_EXTRACT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then + as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 +fi + +if test -z "$AM_DEFAULT_VERBOSITY"; then + AM_DEFAULT_VERBOSITY=1 +fi + + +INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' +INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' +INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' + + + + +INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' +intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' +intltool__v_merge_options_0='-q' + + + + + INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' +INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@' + INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' +INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' +if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then + INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@' +else + INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir' +fi + INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +# Check the gettext tools to make sure they are GNU +# Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XGETTEXT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $XGETTEXT in + [\\/]* | ?:[\\/]*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +XGETTEXT=$ac_cv_path_XGETTEXT +if test -n "$XGETTEXT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +$as_echo "$XGETTEXT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "msgmerge", so it can be a program name with args. +set dummy msgmerge; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGMERGE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MSGMERGE in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +MSGMERGE=$ac_cv_path_MSGMERGE +if test -n "$MSGMERGE"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 +$as_echo "$MSGMERGE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +MSGFMT=$ac_cv_path_MSGFMT +if test -n "$MSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +$as_echo "$MSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GMSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT +if test -n "$GMSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +$as_echo "$GMSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then + as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 +fi +xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" +mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" +mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" +if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then + as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 +fi + +# Extract the first word of "perl", so it can be a program name with args. +set dummy perl; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_INTLTOOL_PERL+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $INTLTOOL_PERL in + [\\/]* | ?:[\\/]*) + ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL +if test -n "$INTLTOOL_PERL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 +$as_echo "$INTLTOOL_PERL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +if test -z "$INTLTOOL_PERL"; then + as_fn_error $? "perl not found" "$LINENO" 5 +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 +$as_echo_n "checking for perl >= 5.8.1... " >&6; } +$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 +if test $? -ne 0; then + as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 +else + IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 +$as_echo "$IT_PERL_VERSION" >&6; } +fi +if test "x" != "xno-xml"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 +$as_echo_n "checking for XML::Parser... " >&6; } + if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 +$as_echo "ok" >&6; } + else + as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 + fi +fi + +# Substitute ALL_LINGUAS so we can use it in po/Makefile + + +# Set DATADIRNAME correctly if it is not set yet +# (copied from glib-gettext.m4) +if test -z "$DATADIRNAME"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +extern int _nl_msg_cat_cntr; + return _nl_msg_cat_cntr + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + DATADIRNAME=share +else + case $host in + *-*-solaris*) + ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" +if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : + DATADIRNAME=share +else + DATADIRNAME=lib +fi + + ;; + *) + DATADIRNAME=lib + ;; + esac +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi + + + + + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=0.9.0 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB2" >&5 +$as_echo_n "checking for GLIB2... " >&6; } + +if test -n "$GLIB2_CFLAGS"; then + pkg_cv_GLIB2_CFLAGS="$GLIB2_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB2_REQUIRED gthread-2.0 gmodule-export-2.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB2_REQUIRED gthread-2.0 gmodule-export-2.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GLIB2_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB2_REQUIRED gthread-2.0 gmodule-export-2.0" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$GLIB2_LIBS"; then + pkg_cv_GLIB2_LIBS="$GLIB2_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB2_REQUIRED gthread-2.0 gmodule-export-2.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB2_REQUIRED gthread-2.0 gmodule-export-2.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GLIB2_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB2_REQUIRED gthread-2.0 gmodule-export-2.0" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + GLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= $GLIB2_REQUIRED gthread-2.0 gmodule-export-2.0" 2>&1` + else + GLIB2_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= $GLIB2_REQUIRED gthread-2.0 gmodule-export-2.0" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$GLIB2_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (glib-2.0 >= $GLIB2_REQUIRED gthread-2.0 gmodule-export-2.0) were not met: + +$GLIB2_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables GLIB2_CFLAGS +and GLIB2_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 + +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables GLIB2_CFLAGS +and GLIB2_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } + +else + GLIB2_CFLAGS=$pkg_cv_GLIB2_CFLAGS + GLIB2_LIBS=$pkg_cv_GLIB2_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML2" >&5 +$as_echo_n "checking for LIBXML2... " >&6; } + +if test -n "$LIBXML2_CFLAGS"; then + pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML2_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML2_REQUIRED") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= $LIBXML2_REQUIRED" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$LIBXML2_LIBS"; then + pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML2_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML2_REQUIRED") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= $LIBXML2_REQUIRED" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + LIBXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxml-2.0 >= $LIBXML2_REQUIRED" 2>&1` + else + LIBXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxml-2.0 >= $LIBXML2_REQUIRED" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$LIBXML2_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (libxml-2.0 >= $LIBXML2_REQUIRED) were not met: + +$LIBXML2_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables LIBXML2_CFLAGS +and LIBXML2_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 + +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables LIBXML2_CFLAGS +and LIBXML2_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } + +else + LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS + LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + +# Check whether --with-libvirt was given. +if test "${with_libvirt+set}" = set; then : + withval=$with_libvirt; +fi + + +if test "x$with_libvirt" != "xno"; then : + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBVIRT" >&5 +$as_echo_n "checking for LIBVIRT... " >&6; } + +if test -n "$LIBVIRT_CFLAGS"; then + pkg_cv_LIBVIRT_CFLAGS="$LIBVIRT_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvirt\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libvirt") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_LIBVIRT_CFLAGS=`$PKG_CONFIG --cflags "libvirt" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$LIBVIRT_LIBS"; then + pkg_cv_LIBVIRT_LIBS="$LIBVIRT_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvirt\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libvirt") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_LIBVIRT_LIBS=`$PKG_CONFIG --libs "libvirt" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + LIBVIRT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libvirt" 2>&1` + else + LIBVIRT_PKG_ERRORS=`$PKG_CONFIG --print-errors "libvirt" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$LIBVIRT_PKG_ERRORS" >&5 + + have_libvirt=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_libvirt=no +else + LIBVIRT_CFLAGS=$pkg_cv_LIBVIRT_CFLAGS + LIBVIRT_LIBS=$pkg_cv_LIBVIRT_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_libvirt=yes +fi +else + have_libvirt=no +fi + +if test "x$have_libvirt" = "xyes"; then : + +$as_echo "#define HAVE_LIBVIRT 1" >>confdefs.h + +else + if test "x$with_libvirt" = "xyes"; then : + as_fn_error $? "libvirt requested but not found" "$LINENO" 5 + +fi + +fi + if test "x$have_libvirt" = "xyes"; then + HAVE_LIBVIRT_TRUE= + HAVE_LIBVIRT_FALSE='#' +else + HAVE_LIBVIRT_TRUE='#' + HAVE_LIBVIRT_FALSE= +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which gtk+ version to compile against" >&5 +$as_echo_n "checking which gtk+ version to compile against... " >&6; } + +# Check whether --with-gtk was given. +if test "${with_gtk+set}" = set; then : + withval=$with_gtk; case "$with_gtk" in + 2.0|3.0) ;; + *) as_fn_error $? "invalid gtk version specified" "$LINENO" 5 ;; + esac +else +# with_gtk=2.0 + with_gtk=3.0 +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gtk" >&5 +$as_echo "$with_gtk" >&6; } + +case "$with_gtk" in + 2.0) GTK_API_VERSION=2.0 + GTK_REQUIRED=$GTK2_REQUIRED + GTK_VNC_REQUIRED=$GTK_VNC1_REQUIRED + GTK_VNC_API_VERSION=1.0 + SPICE_GTK_API_VERSION=2.0 + ;; + 3.0) GTK_API_VERSION=3.0 + GTK_REQUIRED=$GTK3_REQUIRED + GTK_VNC_REQUIRED=$GTK_VNC2_REQUIRED + GTK_VNC_API_VERSION=2.0 + SPICE_GTK_API_VERSION=3.0 + ;; +esac + + + + + if test "$with_gtk" = "2.0"; then + HAVE_GTK_2_TRUE= + HAVE_GTK_2_FALSE='#' +else + HAVE_GTK_2_TRUE='#' + HAVE_GTK_2_FALSE= +fi + + if test "$with_gtk" = "3.0"; then + HAVE_GTK_3_TRUE= + HAVE_GTK_3_FALSE='#' +else + HAVE_GTK_3_TRUE='#' + HAVE_GTK_3_FALSE= +fi + + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 +$as_echo_n "checking for GTK... " >&6; } + +if test -n "$GTK_CFLAGS"; then + pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$GTK_LIBS"; then + pkg_cv_GTK_LIBS="$GTK_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>&1` + else + GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$GTK_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (gtk+-$GTK_API_VERSION >= $GTK_REQUIRED) were not met: + +$GTK_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables GTK_CFLAGS +and GTK_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 + +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables GTK_CFLAGS +and GTK_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } + +else + GTK_CFLAGS=$pkg_cv_GTK_CFLAGS + GTK_LIBS=$pkg_cv_GTK_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + +# Check whether --with-gtk-vnc was given. +if test "${with_gtk_vnc+set}" = set; then : + withval=$with_gtk_vnc; +fi + + +if test "x$with_gtk_vnc" != "xno"; then : + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK_VNC" >&5 +$as_echo_n "checking for GTK_VNC... " >&6; } + +if test -n "$GTK_VNC_CFLAGS"; then + pkg_cv_GTK_VNC_CFLAGS="$GTK_VNC_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-vnc-\$GTK_VNC_API_VERSION >= \$GTK_VNC_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gtk-vnc-$GTK_VNC_API_VERSION >= $GTK_VNC_REQUIRED") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GTK_VNC_CFLAGS=`$PKG_CONFIG --cflags "gtk-vnc-$GTK_VNC_API_VERSION >= $GTK_VNC_REQUIRED" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$GTK_VNC_LIBS"; then + pkg_cv_GTK_VNC_LIBS="$GTK_VNC_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-vnc-\$GTK_VNC_API_VERSION >= \$GTK_VNC_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gtk-vnc-$GTK_VNC_API_VERSION >= $GTK_VNC_REQUIRED") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GTK_VNC_LIBS=`$PKG_CONFIG --libs "gtk-vnc-$GTK_VNC_API_VERSION >= $GTK_VNC_REQUIRED" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + GTK_VNC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk-vnc-$GTK_VNC_API_VERSION >= $GTK_VNC_REQUIRED" 2>&1` + else + GTK_VNC_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk-vnc-$GTK_VNC_API_VERSION >= $GTK_VNC_REQUIRED" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$GTK_VNC_PKG_ERRORS" >&5 + + have_gtk_vnc=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_gtk_vnc=no +else + GTK_VNC_CFLAGS=$pkg_cv_GTK_VNC_CFLAGS + GTK_VNC_LIBS=$pkg_cv_GTK_VNC_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_gtk_vnc=yes +fi +else + have_gtk_vnc=no +fi + +if test "x$have_gtk_vnc" = "xyes"; then : + +$as_echo "#define HAVE_GTK_VNC 1" >>confdefs.h + +else + if test "x$with_gtk_vnc" = "xyes"; then : + as_fn_error $? "gtk-vnc requested but not found" "$LINENO" 5 + +fi + +fi + if test "x$have_gtk_vnc" = "xyes"; then + HAVE_GTK_VNC_TRUE= + HAVE_GTK_VNC_FALSE='#' +else + HAVE_GTK_VNC_TRUE='#' + HAVE_GTK_VNC_FALSE= +fi + + + +# Check whether --with-spice-gtk was given. +if test "${with_spice_gtk+set}" = set; then : + withval=$with_spice_gtk; +fi + + +if test "x$with_spice_gtk" != "xno"; then : + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SPICE_GTK" >&5 +$as_echo_n "checking for SPICE_GTK... " >&6; } + +if test -n "$SPICE_GTK_CFLAGS"; then + pkg_cv_SPICE_GTK_CFLAGS="$SPICE_GTK_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"spice-client-gtk-\$SPICE_GTK_API_VERSION >= \$SPICE_GTK_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "spice-client-gtk-$SPICE_GTK_API_VERSION >= $SPICE_GTK_REQUIRED") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SPICE_GTK_CFLAGS=`$PKG_CONFIG --cflags "spice-client-gtk-$SPICE_GTK_API_VERSION >= $SPICE_GTK_REQUIRED" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$SPICE_GTK_LIBS"; then + pkg_cv_SPICE_GTK_LIBS="$SPICE_GTK_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"spice-client-gtk-\$SPICE_GTK_API_VERSION >= \$SPICE_GTK_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "spice-client-gtk-$SPICE_GTK_API_VERSION >= $SPICE_GTK_REQUIRED") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SPICE_GTK_LIBS=`$PKG_CONFIG --libs "spice-client-gtk-$SPICE_GTK_API_VERSION >= $SPICE_GTK_REQUIRED" 2>/dev/null` +else +# pkg_failed=yes + pkg_failed=no +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + SPICE_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "spice-client-gtk-$SPICE_GTK_API_VERSION >= $SPICE_GTK_REQUIRED" 2>&1` + else + SPICE_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "spice-client-gtk-$SPICE_GTK_API_VERSION >= $SPICE_GTK_REQUIRED" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$SPICE_GTK_PKG_ERRORS" >&5 + + have_spice_gtk=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_spice_gtk=no +else + SPICE_GTK_CFLAGS=$pkg_cv_SPICE_GTK_CFLAGS + SPICE_GTK_LIBS=$pkg_cv_SPICE_GTK_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_spice_gtk=yes +fi +else + have_spice_gtk=no +fi + +if test "x$have_spice_gtk" = "xyes"; then : + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SPICE_CONTROLLER" >&5 +$as_echo_n "checking for SPICE_CONTROLLER... " >&6; } + +if test -n "$SPICE_CONTROLLER_CFLAGS"; then + pkg_cv_SPICE_CONTROLLER_CFLAGS="$SPICE_CONTROLLER_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"spice-controller\""; } >&5 + ($PKG_CONFIG --exists --print-errors "spice-controller") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SPICE_CONTROLLER_CFLAGS=`$PKG_CONFIG --cflags "spice-controller" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$SPICE_CONTROLLER_LIBS"; then + pkg_cv_SPICE_CONTROLLER_LIBS="$SPICE_CONTROLLER_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"spice-controller\""; } >&5 + ($PKG_CONFIG --exists --print-errors "spice-controller") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SPICE_CONTROLLER_LIBS=`$PKG_CONFIG --libs "spice-controller" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + SPICE_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "spice-controller" 2>&1` + else + SPICE_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --print-errors "spice-controller" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$SPICE_CONTROLLER_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (spice-controller) were not met: + +$SPICE_CONTROLLER_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables SPICE_CONTROLLER_CFLAGS +and SPICE_CONTROLLER_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 + +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables SPICE_CONTROLLER_CFLAGS +and SPICE_CONTROLLER_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } + +else + SPICE_CONTROLLER_CFLAGS=$pkg_cv_SPICE_CONTROLLER_CFLAGS + SPICE_CONTROLLER_LIBS=$pkg_cv_SPICE_CONTROLLER_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SPICE_PROTOCOL" >&5 +$as_echo_n "checking for SPICE_PROTOCOL... " >&6; } + +if test -n "$SPICE_PROTOCOL_CFLAGS"; then + pkg_cv_SPICE_PROTOCOL_CFLAGS="$SPICE_PROTOCOL_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"spice-protocol >= \$SPICE_PROTOCOL_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "spice-protocol >= $SPICE_PROTOCOL_REQUIRED") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SPICE_PROTOCOL_CFLAGS=`$PKG_CONFIG --cflags "spice-protocol >= $SPICE_PROTOCOL_REQUIRED" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$SPICE_PROTOCOL_LIBS"; then + pkg_cv_SPICE_PROTOCOL_LIBS="$SPICE_PROTOCOL_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"spice-protocol >= \$SPICE_PROTOCOL_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "spice-protocol >= $SPICE_PROTOCOL_REQUIRED") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SPICE_PROTOCOL_LIBS=`$PKG_CONFIG --libs "spice-protocol >= $SPICE_PROTOCOL_REQUIRED" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + SPICE_PROTOCOL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "spice-protocol >= $SPICE_PROTOCOL_REQUIRED" 2>&1` + else + SPICE_PROTOCOL_PKG_ERRORS=`$PKG_CONFIG --print-errors "spice-protocol >= $SPICE_PROTOCOL_REQUIRED" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$SPICE_PROTOCOL_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (spice-protocol >= $SPICE_PROTOCOL_REQUIRED) were not met: + +$SPICE_PROTOCOL_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables SPICE_PROTOCOL_CFLAGS +and SPICE_PROTOCOL_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 + +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables SPICE_PROTOCOL_CFLAGS +and SPICE_PROTOCOL_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } + +else + SPICE_PROTOCOL_CFLAGS=$pkg_cv_SPICE_PROTOCOL_CFLAGS + SPICE_PROTOCOL_LIBS=$pkg_cv_SPICE_PROTOCOL_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + +$as_echo "#define HAVE_SPICE_GTK 1" >>confdefs.h + +else + if test "x$with_spice_gtk" = "xyes"; then : + as_fn_error $? "spice-gtk requested but not found" "$LINENO" 5 + +fi + +fi + if test "x$have_spice_gtk" = "xyes"; then + HAVE_SPICE_GTK_TRUE= + HAVE_SPICE_GTK_FALSE='#' +else + HAVE_SPICE_GTK_TRUE='#' + HAVE_SPICE_GTK_FALSE= +fi + + +for ac_header in sys/socket.h sys/un.h windows.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + +for ac_func in fork socketpair +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + +NSPR_REQUIRED=4.0.0 +FIREFOX_PLUGIN_REQUIRED=1.5.0 +MOZILLA_PLUGIN_REQUIRED=1.8 +# Check whether --enable-plugin was given. +if test "${enable_plugin+set}" = set; then : + enableval=$enable_plugin; +else + enable_plugin=no +fi + +if test "x$enable_plugin" = "xyes"; then + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSPR" >&5 +$as_echo_n "checking for NSPR... " >&6; } + +if test -n "$NSPR_CFLAGS"; then + pkg_cv_NSPR_CFLAGS="$NSPR_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nspr >= \$NSPR_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "nspr >= $NSPR_REQUIRED") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_NSPR_CFLAGS=`$PKG_CONFIG --cflags "nspr >= $NSPR_REQUIRED" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$NSPR_LIBS"; then + pkg_cv_NSPR_LIBS="$NSPR_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nspr >= \$NSPR_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "nspr >= $NSPR_REQUIRED") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_NSPR_LIBS=`$PKG_CONFIG --libs "nspr >= $NSPR_REQUIRED" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + NSPR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "nspr >= $NSPR_REQUIRED" 2>&1` + else + NSPR_PKG_ERRORS=`$PKG_CONFIG --print-errors "nspr >= $NSPR_REQUIRED" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$NSPR_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (nspr >= $NSPR_REQUIRED) were not met: + +$NSPR_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables NSPR_CFLAGS +and NSPR_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 + +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables NSPR_CFLAGS +and NSPR_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } + +else + NSPR_CFLAGS=$pkg_cv_NSPR_CFLAGS + NSPR_LIBS=$pkg_cv_NSPR_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIREFOX_PLUGIN" >&5 +$as_echo_n "checking for FIREFOX_PLUGIN... " >&6; } + +if test -n "$FIREFOX_PLUGIN_CFLAGS"; then + pkg_cv_FIREFOX_PLUGIN_CFLAGS="$FIREFOX_PLUGIN_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-plugin >= \$FIREFOX_PLUGIN_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "firefox-plugin >= $FIREFOX_PLUGIN_REQUIRED") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_FIREFOX_PLUGIN_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin >= $FIREFOX_PLUGIN_REQUIRED" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$FIREFOX_PLUGIN_LIBS"; then + pkg_cv_FIREFOX_PLUGIN_LIBS="$FIREFOX_PLUGIN_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-plugin >= \$FIREFOX_PLUGIN_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "firefox-plugin >= $FIREFOX_PLUGIN_REQUIRED") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_FIREFOX_PLUGIN_LIBS=`$PKG_CONFIG --libs "firefox-plugin >= $FIREFOX_PLUGIN_REQUIRED" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + FIREFOX_PLUGIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "firefox-plugin >= $FIREFOX_PLUGIN_REQUIRED" 2>&1` + else + FIREFOX_PLUGIN_PKG_ERRORS=`$PKG_CONFIG --print-errors "firefox-plugin >= $FIREFOX_PLUGIN_REQUIRED" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$FIREFOX_PLUGIN_PKG_ERRORS" >&5 + + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MOZILLA_PLUGIN" >&5 +$as_echo_n "checking for MOZILLA_PLUGIN... " >&6; } + +if test -n "$MOZILLA_PLUGIN_CFLAGS"; then + pkg_cv_MOZILLA_PLUGIN_CFLAGS="$MOZILLA_PLUGIN_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin >= \$MOZILLA_PLUGIN_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_MOZILLA_PLUGIN_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$MOZILLA_PLUGIN_LIBS"; then + pkg_cv_MOZILLA_PLUGIN_LIBS="$MOZILLA_PLUGIN_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin >= \$MOZILLA_PLUGIN_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_MOZILLA_PLUGIN_LIBS=`$PKG_CONFIG --libs "mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + MOZILLA_PLUGIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED" 2>&1` + else + MOZILLA_PLUGIN_PKG_ERRORS=`$PKG_CONFIG --print-errors "mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$MOZILLA_PLUGIN_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED) were not met: + +$MOZILLA_PLUGIN_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables MOZILLA_PLUGIN_CFLAGS +and MOZILLA_PLUGIN_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 + +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables MOZILLA_PLUGIN_CFLAGS +and MOZILLA_PLUGIN_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } + +else + MOZILLA_PLUGIN_CFLAGS=$pkg_cv_MOZILLA_PLUGIN_CFLAGS + MOZILLA_PLUGIN_LIBS=$pkg_cv_MOZILLA_PLUGIN_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + FIREFOX_PLUGIN_CFLAGS="$MOZILLA_PLUGIN_CFLAGS" + FIREFOX_PLUGIN_LIBS="$MOZILLA_PLUGIN_LIBS" + +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MOZILLA_PLUGIN" >&5 +$as_echo_n "checking for MOZILLA_PLUGIN... " >&6; } + +if test -n "$MOZILLA_PLUGIN_CFLAGS"; then + pkg_cv_MOZILLA_PLUGIN_CFLAGS="$MOZILLA_PLUGIN_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin >= \$MOZILLA_PLUGIN_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_MOZILLA_PLUGIN_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$MOZILLA_PLUGIN_LIBS"; then + pkg_cv_MOZILLA_PLUGIN_LIBS="$MOZILLA_PLUGIN_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin >= \$MOZILLA_PLUGIN_REQUIRED\""; } >&5 + ($PKG_CONFIG --exists --print-errors "mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_MOZILLA_PLUGIN_LIBS=`$PKG_CONFIG --libs "mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + MOZILLA_PLUGIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED" 2>&1` + else + MOZILLA_PLUGIN_PKG_ERRORS=`$PKG_CONFIG --print-errors "mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$MOZILLA_PLUGIN_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED) were not met: + +$MOZILLA_PLUGIN_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables MOZILLA_PLUGIN_CFLAGS +and MOZILLA_PLUGIN_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 + +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables MOZILLA_PLUGIN_CFLAGS +and MOZILLA_PLUGIN_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } + +else + MOZILLA_PLUGIN_CFLAGS=$pkg_cv_MOZILLA_PLUGIN_CFLAGS + MOZILLA_PLUGIN_LIBS=$pkg_cv_MOZILLA_PLUGIN_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + FIREFOX_PLUGIN_CFLAGS="$MOZILLA_PLUGIN_CFLAGS" + FIREFOX_PLUGIN_LIBS="$MOZILLA_PLUGIN_LIBS" + +else + FIREFOX_PLUGIN_CFLAGS=$pkg_cv_FIREFOX_PLUGIN_CFLAGS + FIREFOX_PLUGIN_LIBS=$pkg_cv_FIREFOX_PLUGIN_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + +fi + if test "x$enable_plugin" = "xyes"; then + ENABLE_PLUGIN_TRUE= + ENABLE_PLUGIN_FALSE='#' +else + ENABLE_PLUGIN_TRUE='#' + ENABLE_PLUGIN_FALSE= +fi + + +ac_config_files="$ac_config_files Makefile data/Makefile data/virt-viewer.nsis icons/Makefile icons/16x16/Makefile icons/22x22/Makefile icons/24x24/Makefile icons/32x32/Makefile icons/48x48/Makefile icons/256x256/Makefile man/Makefile mingw32-virt-viewer.spec plugin/Makefile po/Makefile.in src/Makefile src/virt-viewer.rc virt-viewer.spec" + +cat >confcache <<\_ACEOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +( + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; #( + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) | + sed ' + /^ac_cv_env_/b end + t clear + :clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + if test "x$cache_file" != "x/dev/null"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache >"$cache_file" + else + case $cache_file in #( + */* | ?:*) + mv -f confcache "$cache_file"$$ && + mv -f "$cache_file"$$ "$cache_file" ;; #( + *) + mv -f confcache "$cache_file" ;; + esac + fi + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + fi +fi +rm -f confcache + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +DEFS="-DHAVE_CONFIG_H -DCONFIG_MARU" +#DEFS=-DHAVE_CONFIG_H + +ac_libobjs= +ac_ltlibobjs= +U= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + + if test -n "$EXEEXT"; then + am__EXEEXT_TRUE= + am__EXEEXT_FALSE='#' +else + am__EXEEXT_TRUE='#' + am__EXEEXT_FALSE= +fi + +if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then + as_fn_error $? "conditional \"OS_WIN32\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + as_fn_error $? "conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error $? "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + + ac_config_commands="$ac_config_commands po/stamp-it" + + +if test -z "${HAVE_LIBVIRT_TRUE}" && test -z "${HAVE_LIBVIRT_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBVIRT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_GTK_2_TRUE}" && test -z "${HAVE_GTK_2_FALSE}"; then + as_fn_error $? "conditional \"HAVE_GTK_2\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_GTK_3_TRUE}" && test -z "${HAVE_GTK_3_FALSE}"; then + as_fn_error $? "conditional \"HAVE_GTK_3\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_GTK_VNC_TRUE}" && test -z "${HAVE_GTK_VNC_FALSE}"; then + as_fn_error $? "conditional \"HAVE_GTK_VNC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_SPICE_GTK_TRUE}" && test -z "${HAVE_SPICE_GTK_FALSE}"; then + as_fn_error $? "conditional \"HAVE_SPICE_GTK\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${ENABLE_PLUGIN_TRUE}" && test -z "${ENABLE_PLUGIN_FALSE}"; then + as_fn_error $? "conditional \"ENABLE_PLUGIN\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + +: "${CONFIG_STATUS=./config.status}" +ac_write_fail=0 +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +as_write_fail=0 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false + +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in #( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# Save the log message, to keep $0 and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by virt-viewer $as_me 0.5.3, which was +generated by GNU Autoconf 2.68. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +_ACEOF + +case $ac_config_files in *" +"*) set x $ac_config_files; shift; ac_config_files=$*;; +esac + +case $ac_config_headers in *" +"*) set x $ac_config_headers; shift; ac_config_headers=$*;; +esac + + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# Files that config.status was made for. +config_files="$ac_config_files" +config_headers="$ac_config_headers" +config_links="$ac_config_links" +config_commands="$ac_config_commands" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. + +Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration links: +$config_links + +Configuration commands: +$config_commands + +Report bugs to the package provider." + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" +ac_cs_version="\\ +virt-viewer config.status 0.5.3 +configured by $0, generated by GNU Autoconf 2.68, + with options \\"\$ac_cs_config\\" + +Copyright (C) 2010 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='$ac_pwd' +srcdir='$srcdir' +INSTALL='$INSTALL' +MKDIR_P='$MKDIR_P' +AWK='$AWK' +test -n "\$AWK" || AWK=awk +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=?*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + --*=) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg= + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + '') as_fn_error $? "missing file argument" ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + as_fn_error $? "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; + --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) as_fn_error $? "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; + + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +if \$ac_cs_recheck; then + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' + export CONFIG_SHELL + exec "\$@" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + $as_echo "$ac_log" +} >&5 + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# +# INIT-COMMANDS +# +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" + + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +sed_quote_subst='$sed_quote_subst' +double_quote_subst='$double_quote_subst' +delay_variable_subst='$delay_variable_subst' +macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' +macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' +enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' +enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' +pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' +enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' +ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' +PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' +host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' +host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' +host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' +build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' +build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' +build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' +SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' +Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' +GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' +EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' +FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' +LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' +NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' +LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' +max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' +ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' +exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' +lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' +lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' +lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' +lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' +lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' +reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' +reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' +OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' +deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' +file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' +file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' +want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' +DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' +sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' +AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' +AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' +archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' +STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' +RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' +old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' +old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' +old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' +lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' +CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' +CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' +compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' +GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' +nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' +lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' +objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' +MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' +lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' +need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' +MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' +DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' +NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' +LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' +OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' +OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' +libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' +shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' +extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' +archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' +enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' +export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' +whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' +compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' +old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' +old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' +archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' +archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' +module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' +module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' +with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' +allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' +no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' +hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' +hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' +hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' +hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' +hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' +inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' +link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' +always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' +export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' +exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' +include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' +prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' +postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' +file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' +variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' +need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' +need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' +version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' +runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' +shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' +shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' +libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' +library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' +soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' +install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' +postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' +postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' +finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' +finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' +hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' +sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' +sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' +hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' +enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' +enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' +enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' +old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' +striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' + +LTCC='$LTCC' +LTCFLAGS='$LTCFLAGS' +compiler='$compiler_DEFAULT' + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$1 +_LTECHO_EOF' +} + +# Quote evaled strings. +for var in SHELL \ +ECHO \ +PATH_SEPARATOR \ +SED \ +GREP \ +EGREP \ +FGREP \ +LD \ +NM \ +LN_S \ +lt_SP2NL \ +lt_NL2SP \ +reload_flag \ +OBJDUMP \ +deplibs_check_method \ +file_magic_cmd \ +file_magic_glob \ +want_nocaseglob \ +DLLTOOL \ +sharedlib_from_linklib_cmd \ +AR \ +AR_FLAGS \ +archiver_list_spec \ +STRIP \ +RANLIB \ +CC \ +CFLAGS \ +compiler \ +lt_cv_sys_global_symbol_pipe \ +lt_cv_sys_global_symbol_to_cdecl \ +lt_cv_sys_global_symbol_to_c_name_address \ +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ +nm_file_list_spec \ +lt_prog_compiler_no_builtin_flag \ +lt_prog_compiler_pic \ +lt_prog_compiler_wl \ +lt_prog_compiler_static \ +lt_cv_prog_compiler_c_o \ +need_locks \ +MANIFEST_TOOL \ +DSYMUTIL \ +NMEDIT \ +LIPO \ +OTOOL \ +OTOOL64 \ +shrext_cmds \ +export_dynamic_flag_spec \ +whole_archive_flag_spec \ +compiler_needs_object \ +with_gnu_ld \ +allow_undefined_flag \ +no_undefined_flag \ +hardcode_libdir_flag_spec \ +hardcode_libdir_separator \ +exclude_expsyms \ +include_expsyms \ +file_list_spec \ +variables_saved_for_relink \ +libname_spec \ +library_names_spec \ +soname_spec \ +install_override_mode \ +finish_eval \ +old_striplib \ +striplib; do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[\\\\\\\`\\"\\\$]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +# Double-quote double-evaled strings. +for var in reload_cmds \ +old_postinstall_cmds \ +old_postuninstall_cmds \ +old_archive_cmds \ +extract_expsyms_cmds \ +old_archive_from_new_cmds \ +old_archive_from_expsyms_cmds \ +archive_cmds \ +archive_expsym_cmds \ +module_cmds \ +module_expsym_cmds \ +export_symbols_cmds \ +prelink_cmds \ +postlink_cmds \ +postinstall_cmds \ +postuninstall_cmds \ +finish_cmds \ +sys_lib_search_path_spec \ +sys_lib_dlsearch_path_spec; do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[\\\\\\\`\\"\\\$]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +ac_aux_dir='$ac_aux_dir' +xsi_shell='$xsi_shell' +lt_shell_append='$lt_shell_append' + +# See if we are running on zsh, and set the options which allow our +# commands through without removal of \ escapes INIT. +if test -n "\${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi + + + PACKAGE='$PACKAGE' + VERSION='$VERSION' + TIMESTAMP='$TIMESTAMP' + RM='$RM' + ofile='$ofile' + + + +GNUmakefile=$GNUmakefile + + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; + "$GNUmakefile") CONFIG_LINKS="$CONFIG_LINKS $GNUmakefile:$GNUmakefile" ;; + "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; + "data/virt-viewer.nsis") CONFIG_FILES="$CONFIG_FILES data/virt-viewer.nsis" ;; + "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;; + "icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES icons/16x16/Makefile" ;; + "icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/22x22/Makefile" ;; + "icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES icons/24x24/Makefile" ;; + "icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES icons/32x32/Makefile" ;; + "icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/48x48/Makefile" ;; + "icons/256x256/Makefile") CONFIG_FILES="$CONFIG_FILES icons/256x256/Makefile" ;; + "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; + "mingw32-virt-viewer.spec") CONFIG_FILES="$CONFIG_FILES mingw32-virt-viewer.spec" ;; + "plugin/Makefile") CONFIG_FILES="$CONFIG_FILES plugin/Makefile" ;; + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; + "src/virt-viewer.rc") CONFIG_FILES="$CONFIG_FILES src/virt-viewer.rc" ;; + "virt-viewer.spec") CONFIG_FILES="$CONFIG_FILES virt-viewer.spec" ;; + "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; + + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= ac_tmp= + trap 'exit_status=$? + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && +_ACEOF + + +{ + echo "cat >conf$$subs.awk <<_ACEOF" && + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" +} >conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + . ./conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done +rm -f conf$$subs.sh + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && +_ACEOF +sed -n ' +h +s/^/S["/; s/!.*/"]=/ +p +g +s/^[^!]*!// +:repl +t repl +s/'"$ac_delim"'$// +t delim +:nl +h +s/\(.\{148\}\)..*/\1/ +t more1 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ +p +n +b repl +:more1 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t nl +:delim +h +s/\(.\{148\}\)..*/\1/ +t more2 +s/["\\]/\\&/g; s/^/"/; s/$/"/ +p +b +:more2 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t delim +' <conf$$subs.awk | sed ' +/^[^""]/{ + N + s/\n// +} +' >>$CONFIG_STATUS || ac_write_fail=1 +rm -f conf$$subs.awk +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACAWK +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 +_ACEOF + +# VPATH may cause trouble with some makes, so we remove sole $(srcdir), +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ +h +s/// +s/^/:/ +s/[ ]*$/:/ +s/:\$(srcdir):/:/g +s/:\${srcdir}:/:/g +s/:@srcdir@:/:/g +s/^:*// +s/:*$// +x +s/\(=[ ]*\).*/\1/ +G +s/\n// +s/^[^=]*=[ ]*$// +}' +fi + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +fi # test -n "$CONFIG_FILES" + +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$ac_tmp/defines.awk" <<\_ACAWK || +BEGIN { +_ACEOF + +# Transform confdefs.h into an awk script `defines.awk', embedded as +# here-document in config.status, that substitutes the proper values into +# config.h.in to produce config.h. + +# Create a delimiter string that does not exist in confdefs.h, to ease +# handling of long lines. +ac_delim='%!_!# ' +for ac_last_try in false false :; do + ac_tt=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_tt"; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +# For the awk script, D is an array of macro values keyed by name, +# likewise P contains macro parameters if any. Preserve backslash +# newline sequences. + +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* +sed -n ' +s/.\{148\}/&'"$ac_delim"'/g +t rset +:rset +s/^[ ]*#[ ]*define[ ][ ]*/ / +t def +d +:def +s/\\$// +t bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3"/p +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p +d +:bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3\\\\\\n"\\/p +t cont +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p +t cont +d +:cont +n +s/.\{148\}/&'"$ac_delim"'/g +t clear +:clear +s/\\$// +t bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/"/p +d +:bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p +b cont +' <confdefs.h | sed ' +s/'"$ac_delim"'/"\\\ +"/g' >>$CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { + line = \$ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 +fi # test -n "$CONFIG_HEADERS" + + +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS" +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$ac_tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac + ac_MKDIR_P=$MKDIR_P + case $MKDIR_P in + [\\/$]* | ?:[\\/]* ) ;; + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; + esac +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_datarootdir_hack=' + s&@datadir@&$datadir&g + s&@docdir@&$docdir&g + s&@infodir@&$infodir&g + s&@localedir@&$localedir&g + s&@mandir@&$mandir&g + s&\\\${datarootdir}&$datarootdir&g' ;; +esac +_ACEOF + +# Neutralize VPATH when `$srcdir' = `.'. +# Shell code in configure.ac might set extrasub. +# FIXME: do we really want to maintain this feature? +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_sed_extra="$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +s&@MKDIR_P@&$ac_MKDIR_P&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&2;} + + rm -f "$ac_tmp/stdin" + case $ac_file in + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; + esac \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + ;; + :H) + # + # CONFIG_HEADER + # + if test x"$ac_file" != x-; then + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + } >"$ac_tmp/config.h" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$ac_tmp/config.h" "$ac_file" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + fi + else + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error $? "could not create -" "$LINENO" 5 + fi +# Compute "$ac_file"'s index in $config_headers. +_am_arg="$ac_file" +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$_am_arg" : 'X\(//\)[^/]' \| \ + X"$_am_arg" : 'X\(//\)$' \| \ + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$_am_arg" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'`/stamp-h$_am_stamp_count + ;; + :L) + # + # CONFIG_LINK + # + + if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then + : + else + # Prefer the file from the source tree if names are identical. + if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then + ac_source=$srcdir/$ac_source + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5 +$as_echo "$as_me: linking $ac_source to $ac_file" >&6;} + + if test ! -r "$ac_source"; then + as_fn_error $? "$ac_source: file not found" "$LINENO" 5 + fi + rm -f "$ac_file" + + # Try a relative symlink, then a hard link, then a copy. + case $ac_source in + [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;; + *) ac_rel_source=$ac_top_build_prefix$ac_source ;; + esac + ln -s "$ac_rel_source" "$ac_file" 2>/dev/null || + ln "$ac_source" "$ac_file" 2>/dev/null || + cp -p "$ac_source" "$ac_file" || + as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5 + fi + ;; + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || { + # Autoconf 2.62 quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir=$dirpart/$fdir; as_fn_mkdir_p + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done + done +} + ;; + "libtool":C) + + # See if we are running on zsh, and set the options which allow our + # commands through without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + + cfgfile="${ofile}T" + trap "$RM \"$cfgfile\"; exit 1" 1 2 15 + $RM "$cfgfile" + + cat <<_LT_EOF >> "$cfgfile" +#! $SHELL + +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +# 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file is part of GNU Libtool. +# +# GNU Libtool 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. +# +# As a special exception to the GNU General Public License, +# if you distribute this file as part of a program or library that +# is built using GNU Libtool, you may include this file under the +# same distribution terms that you use for the rest of that program. +# +# GNU Libtool 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 GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or +# obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + +# The names of the tagged configurations supported by this script. +available_tags="" + +# ### BEGIN LIBTOOL CONFIG + +# Which release of libtool.m4 was used? +macro_version=$macro_version +macro_revision=$macro_revision + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# What type of objects to build. +pic_mode=$pic_mode + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# An echo program that protects backslashes. +ECHO=$lt_ECHO + +# The PATH separator for the build system. +PATH_SEPARATOR=$lt_PATH_SEPARATOR + +# The host system. +host_alias=$host_alias +host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="\$SED -e 1s/^X//" + +# A grep program that handles long lines. +GREP=$lt_GREP + +# An ERE matcher. +EGREP=$lt_EGREP + +# A literal string matcher. +FGREP=$lt_FGREP + +# A BSD- or MS-compatible name lister. +NM=$lt_NM + +# Whether we need soft or hard links. +LN_S=$lt_LN_S + +# What is the maximum length of a command? +max_cmd_len=$max_cmd_len + +# Object file suffix (normally "o"). +objext=$ac_objext + +# Executable file suffix (normally ""). +exeext=$exeext + +# whether the shell understands "unset". +lt_unset=$lt_unset + +# turn spaces into newlines. +SP2NL=$lt_lt_SP2NL + +# turn newlines into spaces. +NL2SP=$lt_lt_NL2SP + +# convert \$build file names to \$host format. +to_host_file_cmd=$lt_cv_to_host_file_cmd + +# convert \$build files to toolchain format. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd + +# An object symbol dumper. +OBJDUMP=$lt_OBJDUMP + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method = "file_magic". +file_magic_cmd=$lt_file_magic_cmd + +# How to find potential files when deplibs_check_method = "file_magic". +file_magic_glob=$lt_file_magic_glob + +# Find potential files using nocaseglob when deplibs_check_method = "file_magic". +want_nocaseglob=$lt_want_nocaseglob + +# DLL creation program. +DLLTOOL=$lt_DLLTOOL + +# Command to associate shared and link libraries. +sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd + +# The archiver. +AR=$lt_AR + +# Flags to create an archive. +AR_FLAGS=$lt_AR_FLAGS + +# How to feed a file listing to the archiver. +archiver_list_spec=$lt_archiver_list_spec + +# A symbol stripping program. +STRIP=$lt_STRIP + +# Commands used to install an old-style archive. +RANLIB=$lt_RANLIB +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Whether to use a lock for old archive extraction. +lock_old_archive_extraction=$lock_old_archive_extraction + +# A C compiler. +LTCC=$lt_CC + +# LTCC compiler flags. +LTCFLAGS=$lt_CFLAGS + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# Transform the output of nm in a C name address pair when lib prefix is needed. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix + +# Specify filename containing input files for \$NM. +nm_file_list_spec=$lt_nm_file_list_spec + +# The root where to search for dependent libraries,and in which our libraries should be installed. +lt_sysroot=$lt_sysroot + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# Used to examine libraries when file_magic_cmd begins with "file". +MAGIC_CMD=$MAGIC_CMD + +# Must we lock files when doing compilation? +need_locks=$lt_need_locks + +# Manifest tool. +MANIFEST_TOOL=$lt_MANIFEST_TOOL + +# Tool to manipulate archived DWARF debug symbol files on Mac OS X. +DSYMUTIL=$lt_DSYMUTIL + +# Tool to change global to local symbols on Mac OS X. +NMEDIT=$lt_NMEDIT + +# Tool to manipulate fat objects and archives on Mac OS X. +LIPO=$lt_LIPO + +# ldd/readelf like tool for Mach-O binaries on Mac OS X. +OTOOL=$lt_OTOOL + +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. +OTOOL64=$lt_OTOOL64 + +# Old archive suffix (normally "a"). +libext=$libext + +# Shared library suffix (normally ".so"). +shrext_cmds=$lt_shrext_cmds + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at link time. +variables_saved_for_relink=$lt_variables_saved_for_relink + +# Do we need the "lib" prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Library versioning type. +version_type=$version_type + +# Shared library runtime path variable. +runpath_var=$runpath_var + +# Shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Permission mode override for installation of shared libraries. +install_override_mode=$lt_install_override_mode + +# Command to use after installation of a shared archive. +postinstall_cmds=$lt_postinstall_cmds + +# Command to use after uninstallation of a shared archive. +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# As "finish_cmds", except a single script fragment to be evaled but +# not shown. +finish_eval=$lt_finish_eval + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Compile-time system search path for libraries. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries. +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + + +# The linker used to build libraries. +LD=$lt_LD + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# Commands used to build an old-style archive. +old_archive_cmds=$lt_old_archive_cmds + +# A language specific compiler. +CC=$lt_compiler + +# Is the compiler the GNU compiler? +with_gcc=$GCC + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc + +# Whether or not to disallow shared libs when runtime libs are static. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec + +# Whether the compiler copes with passing no objects directly. +compiler_needs_object=$lt_compiler_needs_object + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds + +# Commands used to build a shared archive. +archive_cmds=$lt_archive_cmds +archive_expsym_cmds=$lt_archive_expsym_cmds + +# Commands used to build a loadable module if different from building +# a shared archive. +module_cmds=$lt_module_cmds +module_expsym_cmds=$lt_module_expsym_cmds + +# Whether we are building with GNU ld or not. +with_gnu_ld=$lt_with_gnu_ld + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag + +# Flag that enforces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec + +# Whether we need a single "-rpath" flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator + +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes +# DIR into the resulting binary. +hardcode_direct=$hardcode_direct + +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes +# DIR into the resulting binary and the resulting library dependency is +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the +# library is relocated. +hardcode_direct_absolute=$hardcode_direct_absolute + +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR +# into the resulting binary. +hardcode_minus_L=$hardcode_minus_L + +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR +# into the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var + +# Set to "yes" if building a shared library automatically hardcodes DIR +# into the library and all subsequent libraries and executables linked +# against it. +hardcode_automatic=$hardcode_automatic + +# Set to yes if linker adds runtime paths of dependent libraries +# to runtime path list. +inherit_rpath=$inherit_rpath + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs + +# Set to "yes" if exported symbols are required. +always_export_symbols=$always_export_symbols + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms + +# Commands necessary for linking programs (against libraries) with templates. +prelink_cmds=$lt_prelink_cmds + +# Commands necessary for finishing linking programs. +postlink_cmds=$lt_postlink_cmds + +# Specify filename containing input files. +file_list_spec=$lt_file_list_spec + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action + +# ### END LIBTOOL CONFIG + +_LT_EOF + + case $host_os in + aix3*) + cat <<\_LT_EOF >> "$cfgfile" +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +_LT_EOF + ;; + esac + + +ltmain="$ac_aux_dir/ltmain.sh" + + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + if test x"$xsi_shell" = xyes; then + sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ +func_dirname ()\ +{\ +\ case ${1} in\ +\ */*) func_dirname_result="${1%/*}${2}" ;;\ +\ * ) func_dirname_result="${3}" ;;\ +\ esac\ +} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_basename ()$/,/^} # func_basename /c\ +func_basename ()\ +{\ +\ func_basename_result="${1##*/}"\ +} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ +func_dirname_and_basename ()\ +{\ +\ case ${1} in\ +\ */*) func_dirname_result="${1%/*}${2}" ;;\ +\ * ) func_dirname_result="${3}" ;;\ +\ esac\ +\ func_basename_result="${1##*/}"\ +} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ +func_stripname ()\ +{\ +\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ +\ # positional parameters, so assign one to ordinary parameter first.\ +\ func_stripname_result=${3}\ +\ func_stripname_result=${func_stripname_result#"${1}"}\ +\ func_stripname_result=${func_stripname_result%"${2}"}\ +} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ +func_split_long_opt ()\ +{\ +\ func_split_long_opt_name=${1%%=*}\ +\ func_split_long_opt_arg=${1#*=}\ +} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ +func_split_short_opt ()\ +{\ +\ func_split_short_opt_arg=${1#??}\ +\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ +} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ +func_lo2o ()\ +{\ +\ case ${1} in\ +\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ +\ *) func_lo2o_result=${1} ;;\ +\ esac\ +} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_xform ()$/,/^} # func_xform /c\ +func_xform ()\ +{\ + func_xform_result=${1%.*}.lo\ +} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_arith ()$/,/^} # func_arith /c\ +func_arith ()\ +{\ + func_arith_result=$(( $* ))\ +} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_len ()$/,/^} # func_len /c\ +func_len ()\ +{\ + func_len_result=${#1}\ +} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + +fi + +if test x"$lt_shell_append" = xyes; then + sed -e '/^func_append ()$/,/^} # func_append /c\ +func_append ()\ +{\ + eval "${1}+=\\${2}"\ +} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ +func_append_quoted ()\ +{\ +\ func_quote_for_eval "${2}"\ +\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ +} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + # Save a `func_append' function call where possible by direct use of '+=' + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +else + # Save a `func_append' function call even when '+=' is not available + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +fi + +if test x"$_lt_function_replace_fail" = x":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} +fi + + + mv -f "$cfgfile" "$ofile" || + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" + + ;; + "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) + sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile + esac ;; + "po/stamp-it":C) + if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then + as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 + fi + rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" + >"po/stamp-it.tmp" + sed '/^#/d + s/^[[].*] *// + /^[ ]*$/d + '"s|^| $ac_top_srcdir/|" \ + "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" + + sed '/^POTFILES =/,/[^\\]$/ { + /^POTFILES =/!d + r po/POTFILES + } + ' "po/Makefile.in" >"po/Makefile" + rm -f "po/Makefile.tmp" + mv "po/stamp-it.tmp" "po/stamp-it" + ;; + + esac +done # for ac_tag + + +as_fn_exit 0 +_ACEOF +ac_clean_files=$ac_clean_files_save + +test $ac_write_fail = 0 || + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || as_fn_exit 1 +fi +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 +$as_echo "$as_me: " >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: Configuration summary" >&5 +$as_echo "$as_me: Configuration summary" >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: =====================" >&5 +$as_echo "$as_me: =====================" >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 +$as_echo "$as_me: " >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: Features:" >&5 +$as_echo "$as_me: Features:" >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 +$as_echo "$as_me: " >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: Plugin: $enable_plugin" >&5 +$as_echo "$as_me: Plugin: $enable_plugin" >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: Gtk: $with_gtk" >&5 +$as_echo "$as_me: Gtk: $with_gtk" >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 +$as_echo "$as_me: " >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: Libraries:" >&5 +$as_echo "$as_me: Libraries:" >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 +$as_echo "$as_me: " >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: GLIB2: $GLIB2_CFLAGS $GLIB2_LIBS" >&5 +$as_echo "$as_me: GLIB2: $GLIB2_CFLAGS $GLIB2_LIBS" >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 +$as_echo "$as_me: " >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: GTK: $GTK_CFLAGS $GTK_LIBS" >&5 +$as_echo "$as_me: GTK: $GTK_CFLAGS $GTK_LIBS" >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 +$as_echo "$as_me: " >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: GTK_VNC: $GTK_VNC_CFLAGS $GTK_VNC_LIBS" >&5 +$as_echo "$as_me: GTK_VNC: $GTK_VNC_CFLAGS $GTK_VNC_LIBS" >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 +$as_echo "$as_me: " >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: SPICE_GTK: $SPICE_GTK_CFLAGS $SPICE_GTK_LIBS" >&5 +$as_echo "$as_me: SPICE_GTK: $SPICE_GTK_CFLAGS $SPICE_GTK_LIBS" >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 +$as_echo "$as_me: " >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: LIBXML2: $LIBXML2_CFLAGS $LIBXML2_LIBS" >&5 +$as_echo "$as_me: LIBXML2: $LIBXML2_CFLAGS $LIBXML2_LIBS" >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 +$as_echo "$as_me: " >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: LIBVIRT: $LIBVIRT_CFLAGS $LIBVIRT_LIBS" >&5 +$as_echo "$as_me: LIBVIRT: $LIBVIRT_CFLAGS $LIBVIRT_LIBS" >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 +$as_echo "$as_me: " >&6;} diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/configure.ac b/tizen/distrib/remote/client/virt-viewer-0.5.3/configure.ac new file mode 100644 index 0000000..494cd13 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/configure.ac @@ -0,0 +1,234 @@ + +AC_INIT(virt-viewer, 0.5.3) +AC_CONFIG_SRCDIR(src/virt-viewer-main.c) +AC_CONFIG_MACRO_DIR([m4]) +AC_CONFIG_AUX_DIR([build-aux]) +AM_CONFIG_HEADER(config.h) +dnl Make automake keep quiet about wildcards & other GNUmake-isms +AM_INIT_AUTOMAKE([-Wno-portability]) +AC_CANONICAL_HOST + +# Use the silent-rules feature when possible. +m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])]) +AM_SILENT_RULES([yes]) + +GLIB2_REQUIRED=2.12.0 +LIBXML2_REQUIRED="2.6.0" +LIBVIRT_REQUIRED="0.9.7" +GTK2_REQUIRED="2.18.0" +GTK3_REQUIRED="3.0" +GTK_VNC1_REQUIRED="0.3.8" +GTK_VNC2_REQUIRED="0.4.0" +SPICE_GTK_REQUIRED="0.11" +SPICE_PROTOCOL_REQUIRED="0.10.1" + +AC_MSG_CHECKING([for native Win32]) +case "$host_os" in + *mingw*|*cygwin*) + os_win32=yes + ;; + *) + os_win32=no + ;; +esac +AC_MSG_RESULT([$os_win32]) +AM_CONDITIONAL([OS_WIN32],[test "$os_win32" = "yes"]) + +AC_PROG_CC +AM_PROG_CC_C_O +AC_PROG_LIBTOOL + +AC_CHECK_PROGS(ICOTOOL, [icotool], [icotool]) + +AS_IF([test "x$os_win32" = "xyes"], [ + AC_CHECK_TOOL(WINDRES, [windres]) + + if test -z "$WINDRES" ; then + AC_MSG_ERROR("windres is required to compile virt-viewer on this platform") + fi +]) + +AC_CONFIG_LIBOBJ_DIR([src]) + +AC_DEFINE([_GNU_SOURCE], [], [Enable GNU extensions]) + +# Autoconf 2.61a.99 and earlier don't support linking a file only +# in VPATH builds. But since GNUmakefile is for maintainer use +# only, it does not matter if we skip the link with older autoconf. +# Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH +# builds, so use a shell variable to bypass this. +GNUmakefile=GNUmakefile +m4_if(m4_version_compare([2.61a.100], + m4_defn([m4_PACKAGE_VERSION])), [1], [], + [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [], + [GNUmakefile=$GNUmakefile])]) + +VIRT_VIEWER_COMPILE_WARNINGS(maximum) + +GETTEXT_PACKAGE=virt-viewer +AC_SUBST(GETTEXT_PACKAGE) +AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],"$GETTEXT_PACKAGE", [GETTEXT package name]) + +AM_GLIB_GNU_GETTEXT +IT_PROG_INTLTOOL([0.35.0]) + + +PKG_CHECK_MODULES(GLIB2, glib-2.0 >= $GLIB2_REQUIRED gthread-2.0 gmodule-export-2.0) +PKG_CHECK_MODULES(LIBXML2, libxml-2.0 >= $LIBXML2_REQUIRED) + +AC_ARG_WITH([libvirt], + AS_HELP_STRING([--without-libvirt], [Ignore presence of libvirt and disable it])) + +AS_IF([test "x$with_libvirt" != "xno"], + [PKG_CHECK_MODULES(LIBVIRT, + [libvirt], + [have_libvirt=yes], [have_libvirt=no])], + [have_libvirt=no]) + +AS_IF([test "x$have_libvirt" = "xyes"], + [AC_DEFINE([HAVE_LIBVIRT], 1, [Have libvirt?])], + [AS_IF([test "x$with_libvirt" = "xyes"], + [AC_MSG_ERROR([libvirt requested but not found]) + ]) +]) +AM_CONDITIONAL([HAVE_LIBVIRT], [test "x$have_libvirt" = "xyes"]) + +AC_MSG_CHECKING([which gtk+ version to compile against]) +AC_ARG_WITH([gtk], + [AS_HELP_STRING([--with-gtk=2.0|3.0],[which gtk+ version to compile against (default: 2.0)])], + [case "$with_gtk" in + 2.0|3.0) ;; + *) AC_MSG_ERROR([invalid gtk version specified]) ;; + esac], + [with_gtk=2.0]) +AC_MSG_RESULT([$with_gtk]) + +case "$with_gtk" in + 2.0) GTK_API_VERSION=2.0 + GTK_REQUIRED=$GTK2_REQUIRED + GTK_VNC_REQUIRED=$GTK_VNC1_REQUIRED + GTK_VNC_API_VERSION=1.0 + SPICE_GTK_API_VERSION=2.0 + ;; + 3.0) GTK_API_VERSION=3.0 + GTK_REQUIRED=$GTK3_REQUIRED + GTK_VNC_REQUIRED=$GTK_VNC2_REQUIRED + GTK_VNC_API_VERSION=2.0 + SPICE_GTK_API_VERSION=3.0 + ;; +esac + +AC_SUBST([GTK_API_VERSION]) +AC_SUBST([GTK_REQUIRED]) +AC_SUBST([GTK_VNC_API_VERSION]) +AM_CONDITIONAL([HAVE_GTK_2],[test "$with_gtk" = "2.0"]) +AM_CONDITIONAL([HAVE_GTK_3],[test "$with_gtk" = "3.0"]) + +PKG_CHECK_MODULES(GTK, gtk+-$GTK_API_VERSION >= $GTK_REQUIRED) + +AC_ARG_WITH([gtk-vnc], + AS_HELP_STRING([--without-gtk-vnc], [Ignore presence of gtk-vnc and disable it])) + +AS_IF([test "x$with_gtk_vnc" != "xno"], + [PKG_CHECK_MODULES(GTK_VNC, + gtk-vnc-$GTK_VNC_API_VERSION >= $GTK_VNC_REQUIRED, + [have_gtk_vnc=yes], [have_gtk_vnc=no])], + [have_gtk_vnc=no]) + +AS_IF([test "x$have_gtk_vnc" = "xyes"], + [AC_DEFINE([HAVE_GTK_VNC], 1, [Have gtk-vnc?])], + [AS_IF([test "x$with_gtk_vnc" = "xyes"], + [AC_MSG_ERROR([gtk-vnc requested but not found]) + ]) +]) +AM_CONDITIONAL([HAVE_GTK_VNC], [test "x$have_gtk_vnc" = "xyes"]) + +AC_ARG_WITH([spice-gtk], + AS_HELP_STRING([--without-spice-gtk], [Ignore presence of spice-gtk and disable it])) + +AS_IF([test "x$with_spice_gtk" != "xno"], + [PKG_CHECK_MODULES(SPICE_GTK, + [spice-client-gtk-$SPICE_GTK_API_VERSION >= $SPICE_GTK_REQUIRED], + [have_spice_gtk=yes], [have_spice_gtk=no])], + [have_spice_gtk=no]) + +AS_IF([test "x$have_spice_gtk" = "xyes"], + [PKG_CHECK_MODULES(SPICE_CONTROLLER, [spice-controller])] + [PKG_CHECK_MODULES(SPICE_PROTOCOL, [spice-protocol >= $SPICE_PROTOCOL_REQUIRED])] + [AC_DEFINE([HAVE_SPICE_GTK], 1, [Have spice-gtk?])], + [AS_IF([test "x$with_spice_gtk" = "xyes"], + [AC_MSG_ERROR([spice-gtk requested but not found]) + ]) +]) +AM_CONDITIONAL([HAVE_SPICE_GTK], [test "x$have_spice_gtk" = "xyes"]) + +dnl Decide if this platform can support the SSH tunnel feature. +AC_CHECK_HEADERS([sys/socket.h sys/un.h windows.h]) +AC_CHECK_FUNCS([fork socketpair]) + +dnl --enable-plugin to enable the browser plugin. +NSPR_REQUIRED=4.0.0 +FIREFOX_PLUGIN_REQUIRED=1.5.0 +MOZILLA_PLUGIN_REQUIRED=1.8 +AC_ARG_ENABLE(plugin, + [ --enable-plugin=[no/yes] enable browser plugin [default=no]],, + enable_plugin=no) +if test "x$enable_plugin" = "xyes"; then + dnl Check for Netscape Portable Runtime development package. + PKG_CHECK_MODULES(NSPR, nspr >= $NSPR_REQUIRED) + dnl Check for Firefox plugin package (also includes NSPR cflags/libs). + PKG_CHECK_MODULES(FIREFOX_PLUGIN, + firefox-plugin >= $FIREFOX_PLUGIN_REQUIRED, ,[ + PKG_CHECK_MODULES(MOZILLA_PLUGIN, + mozilla-plugin >= $MOZILLA_PLUGIN_REQUIRED) + FIREFOX_PLUGIN_CFLAGS="$MOZILLA_PLUGIN_CFLAGS" + FIREFOX_PLUGIN_LIBS="$MOZILLA_PLUGIN_LIBS" + ]) + AC_SUBST(FIREFOX_PLUGIN_CFLAGS) + AC_SUBST(FIREFOX_PLUGIN_LIBS) +fi +AM_CONDITIONAL(ENABLE_PLUGIN, [test "x$enable_plugin" = "xyes"]) + +AC_OUTPUT([ + Makefile + data/Makefile + data/virt-viewer.nsis + icons/Makefile + icons/16x16/Makefile + icons/22x22/Makefile + icons/24x24/Makefile + icons/32x32/Makefile + icons/48x48/Makefile + icons/256x256/Makefile + man/Makefile + mingw32-virt-viewer.spec + plugin/Makefile + po/Makefile.in + src/Makefile + src/virt-viewer.rc + virt-viewer.spec +]) + +AC_MSG_NOTICE([]) +AC_MSG_NOTICE([Configuration summary]) +AC_MSG_NOTICE([=====================]) +AC_MSG_NOTICE([]) +AC_MSG_NOTICE([ Features:]) +AC_MSG_NOTICE([]) +AC_MSG_NOTICE([ Plugin: $enable_plugin]) +AC_MSG_NOTICE([ Gtk: $with_gtk]) +AC_MSG_NOTICE([]) +AC_MSG_NOTICE([ Libraries:]) +AC_MSG_NOTICE([]) +AC_MSG_NOTICE([ GLIB2: $GLIB2_CFLAGS $GLIB2_LIBS]) +AC_MSG_NOTICE([]) +AC_MSG_NOTICE([ GTK: $GTK_CFLAGS $GTK_LIBS]) +AC_MSG_NOTICE([]) +AC_MSG_NOTICE([ GTK_VNC: $GTK_VNC_CFLAGS $GTK_VNC_LIBS]) +AC_MSG_NOTICE([]) +AC_MSG_NOTICE([ SPICE_GTK: $SPICE_GTK_CFLAGS $SPICE_GTK_LIBS]) +AC_MSG_NOTICE([]) +AC_MSG_NOTICE([ LIBXML2: $LIBXML2_CFLAGS $LIBXML2_LIBS]) +AC_MSG_NOTICE([]) +AC_MSG_NOTICE([ LIBVIRT: $LIBVIRT_CFLAGS $LIBVIRT_LIBS]) +AC_MSG_NOTICE([]) diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/data/Makefile.am b/tizen/distrib/remote/client/virt-viewer-0.5.3/data/Makefile.am new file mode 100644 index 0000000..ea2bb0a --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/data/Makefile.am @@ -0,0 +1,8 @@ +NULL= + +EXTRA_DIST = \ + spice-xpi-client-remote-viewer \ + virt-viewer.nsis.in \ + $(NULL) + +-include $(top_srcdir)/git.mk diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/data/Makefile.in b/tizen/distrib/remote/client/virt-viewer-0.5.3/data/Makefile.in new file mode 100644 index 0000000..d3f77c2 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/data/Makefile.in @@ -0,0 +1,436 @@ +# 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@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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 = data +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ + $(srcdir)/virt-viewer.nsis.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.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 = virt-viewer.nsis +CONFIG_CLEAN_VPATH_FILES = +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +SOURCES = +DIST_SOURCES = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +FIREFOX_PLUGIN_CFLAGS = @FIREFOX_PLUGIN_CFLAGS@ +FIREFOX_PLUGIN_LIBS = @FIREFOX_PLUGIN_LIBS@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GLIB2_CFLAGS = @GLIB2_CFLAGS@ +GLIB2_LIBS = @GLIB2_LIBS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GTK_API_VERSION = @GTK_API_VERSION@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +GTK_REQUIRED = @GTK_REQUIRED@ +GTK_VNC_API_VERSION = @GTK_VNC_API_VERSION@ +GTK_VNC_CFLAGS = @GTK_VNC_CFLAGS@ +GTK_VNC_LIBS = @GTK_VNC_LIBS@ +ICOTOOL = @ICOTOOL@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIBVIRT_CFLAGS = @LIBVIRT_CFLAGS@ +LIBVIRT_LIBS = @LIBVIRT_LIBS@ +LIBXML2_CFLAGS = @LIBXML2_CFLAGS@ +LIBXML2_LIBS = @LIBXML2_LIBS@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MOZILLA_PLUGIN_CFLAGS = @MOZILLA_PLUGIN_CFLAGS@ +MOZILLA_PLUGIN_LIBS = @MOZILLA_PLUGIN_LIBS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +NSPR_CFLAGS = @NSPR_CFLAGS@ +NSPR_LIBS = @NSPR_LIBS@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SPICE_CONTROLLER_CFLAGS = @SPICE_CONTROLLER_CFLAGS@ +SPICE_CONTROLLER_LIBS = @SPICE_CONTROLLER_LIBS@ +SPICE_GTK_CFLAGS = @SPICE_GTK_CFLAGS@ +SPICE_GTK_LIBS = @SPICE_GTK_LIBS@ +SPICE_PROTOCOL_CFLAGS = @SPICE_PROTOCOL_CFLAGS@ +SPICE_PROTOCOL_LIBS = @SPICE_PROTOCOL_LIBS@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WARN_CFLAGS = @WARN_CFLAGS@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +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@ +NULL = +EXTRA_DIST = \ + spice-xpi-client-remote-viewer \ + virt-viewer.nsis.in \ + $(NULL) + +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 data/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu data/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): +virt-viewer.nsis: $(top_builddir)/config.status $(srcdir)/virt-viewer.nsis.in + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @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 +installdirs: +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." +clean: clean-am + +clean-am: clean-generic clean-libtool 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-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-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 mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + distclean distclean-generic distclean-libtool 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-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am + + +-include $(top_srcdir)/git.mk + +# 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: diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/data/spice-xpi-client-remote-viewer b/tizen/distrib/remote/client/virt-viewer-0.5.3/data/spice-xpi-client-remote-viewer new file mode 100644 index 0000000..3109c66 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/data/spice-xpi-client-remote-viewer @@ -0,0 +1,6 @@ +#!/bin/sh + +logger -t spice "starting remote-viewer --spice-controller $@..." +env | logger -t spice +exec remote-viewer --spice-controller "$@" 2>&1 | logger -t spice +logger -t spice "remote-viewer execution failed" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/data/virt-viewer.nsis.in b/tizen/distrib/remote/client/virt-viewer-0.5.3/data/virt-viewer.nsis.in new file mode 100644 index 0000000..e438159 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/data/virt-viewer.nsis.in @@ -0,0 +1,312 @@ +#!Nsis Installer Command Script +# @configure_input@ +# To build an installer from the script you would normally do: +# +# makensis virt-viewer.nsis +# +# which will generate the output file 'virt-viewer-@VERSION@.exe' which is a Windows +# installer containing your program. + +Name "VirtViewer @VERSION@" +OutFile "virt-viewer-@VERSION@.exe" +InstallDir "$LOCALAPPDATA\virt-viewer" +InstallDirRegKey HKCU "Software\virt-viewer" "" + +RequestExecutionLevel user +SetCompressor bzip2 +ShowInstDetails hide +ShowUninstDetails hide +XPStyle on + +Page directory +Page instfiles + +!define REG_UNINSTALL "Software\Microsoft\Windows\CurrentVersion\Uninstall\virt-viewer" +!define REG_IEPOLICY "Software\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\{96190E9D-6FBB-64DB-9095-29F6FDE0B897}" + +Function RegisterApplication + ;Register uninstaller into Add/Remove panel (for local user only) + WriteRegStr HKCU "${REG_UNINSTALL}" "DisplayName" "VirtViewer @VERSION@" + WriteRegStr HKCU "${REG_UNINSTALL}" "DisplayIcon" "$\"$INSTDIR\bin\virt-viewer.exe$\"" + WriteRegStr HKCU "${REG_UNINSTALL}" "Publisher" "virt-manager.org" + WriteRegStr HKCU "${REG_UNINSTALL}" "DisplayVersion" "@VERSION@" + WriteRegDWord HKCU "${REG_UNINSTALL}" "EstimatedSize" 32000 ;KB + WriteRegStr HKCU "${REG_UNINSTALL}" "HelpLink" "http://www.virt-manager.org" + WriteRegStr HKCU "${REG_UNINSTALL}" "URLInfoAbout" "http://www.virt-manager.org" + WriteRegStr HKCU "${REG_UNINSTALL}" "InstallLocation" "$\"$INSTDIR$\"" + WriteRegStr HKCU "${REG_UNINSTALL}" "InstallSource" "$\"$EXEDIR$\"" + WriteRegDWord HKCU "${REG_UNINSTALL}" "NoModify" 1 + WriteRegDWord HKCU "${REG_UNINSTALL}" "NoRepair" 1 + WriteRegStr HKCU "${REG_UNINSTALL}" "UninstallString" "$\"$INSTDIR\Uninstall.exe$\"" + WriteRegStr HKCU "${REG_UNINSTALL}" "Comments" "Uninstalls VirtViewer." + + WriteRegStr HKCU "${REG_IEPOLICY}" "AppPath" "$INSTDIR\bin" + WriteRegStr HKCU "${REG_IEPOLICY}" "AppName" "remote-viewer.exe" + WriteRegDWord HKCU "${REG_IEPOLICY}" "Policy" 3 +FunctionEnd + +Section "VirtViewer" + SectionIn RO + WriteRegStr HKCU "Software\virt-viewer" "" $INSTDIR + + SetOutPath "$INSTDIR\bin" + File "@prefix@/bin/gst-discoverer-0.10.exe" + File "@prefix@/bin/gst-feedback.exe" + File "@prefix@/bin/gst-inspect-0.10.exe" + File "@prefix@/bin/gst-inspect.exe" + File "@prefix@/bin/gst-launch-0.10.exe" + File "@prefix@/bin/gst-launch.exe" + File "@prefix@/bin/gst-typefind-0.10.exe" + File "@prefix@/bin/gst-typefind.exe" + File "@prefix@/bin/gst-xmlinspect-0.10.exe" + File "@prefix@/bin/gst-xmlinspect.exe" + File "@prefix@/bin/gst-xmllaunch-0.10.exe" + File "@prefix@/bin/gst-xmllaunch.exe" + File "@prefix@/bin/libatk-1.0-0.dll" + File "@prefix@/bin/libcairo-2.dll" + File "@prefix@/bin/libcelt051-0.dll" + File "@prefix@/bin/libcrypto-10.dll" + File "@prefix@/bin/libffi-6.dll" + File "@prefix@/bin/libfontconfig-1.dll" + File "@prefix@/bin/libfreetype-6.dll" + File "@prefix@/bin/libgdk-win32-2.0-0.dll" + File "@prefix@/bin/libgdk-win32-2.0-0.dll" + File "@prefix@/bin/libgdk_pixbuf-2.0-0.dll" + File "@prefix@/bin/libgdk_pixbuf-2.0-0.dll" + File "@prefix@/bin/libgio-2.0-0.dll" + File "@prefix@/bin/libglib-2.0-0.dll" + File "@prefix@/bin/libgmodule-2.0-0.dll" + File "@prefix@/bin/libgobject-2.0-0.dll" + File "@prefix@/bin/libgstapp-0.10-0.dll" + File "@prefix@/bin/libgstaudio-0.10-0.dll" + File "@prefix@/bin/libgstbase-0.10-0.dll" + File "@prefix@/bin/libgstcontroller-0.10-0.dll" + File "@prefix@/bin/libgstfft-0.10-0.dll" + File "@prefix@/bin/libgstinterfaces-0.10-0.dll" + File "@prefix@/bin/libgstpbutils-0.10-0.dll" + File "@prefix@/bin/libgstreamer-0.10-0.dll" + File "@prefix@/bin/libgstvideo-0.10-0.dll" + File "@prefix@/bin/libgthread-2.0-0.dll" + File "@prefix@/bin/libgtk-win32-2.0-0.dll" + File "@prefix@/bin/iconv.dll" + File "@prefix@/bin/libintl-8.dll" + File "@prefix@/bin/libjpeg-62.dll" + File "@prefix@/bin/liborc-0.4-0.dll" + File "@prefix@/bin/liborc-test-0.4-0.dll" + File "@prefix@/bin/libpango-1.0-0.dll" + File "@prefix@/bin/libpangocairo-1.0-0.dll" + File "@prefix@/bin/libpangoft2-1.0-0.dll" + File "@prefix@/bin/libpangowin32-1.0-0.dll" + File "@prefix@/bin/libpixman-1-0.dll" + File "@prefix@/bin/libpng15-15.dll" + File "@prefix@/bin/libspice-client-glib-2.0-1.dll" + File "@prefix@/bin/libspice-client-gtk-2.0-1.dll" + File "@prefix@/bin/libspice-controller-0.dll" + File "@prefix@/bin/libssl-10.dll" + File "@prefix@/bin/libtasn1-3.dll" + File "@prefix@/bin/libxml2-2.dll" + File "@prefix@/bin/libp11-kit-0.dll" + File "@prefix@/bin/libssh2-1.dll" + File "@prefix@/bin/libcurl-4.dll" + File "@prefix@/bin/libportablexdr-0.dll" + File "@prefix@/bin/libidn-11.dll" + File "@prefix@/bin/libssp-0.dll" + File "@prefix@/bin/libvirt-0.dll" + File "@prefix@/bin/libvirt-qemu-0.dll" + File "@prefix@/bin/virsh.exe" + File "@prefix@/bin/virt-pki-validate" + File "@prefix@/bin/virt-xml-validate" + + #gtkvnc + File "@prefix@/bin/libgnutls-26.dll" + File "@prefix@/bin/libgpg-error-0.dll" + File "@prefix@/bin/libgcrypt-11.dll" + File "@prefix@/bin/libgvnc-1.0-0.dll" + File "@prefix@/bin/libgtk-vnc-1.0-0.dll" + + File "@prefix@/bin/pango-querymodules.exe" + File /oname=remote-viewer.com "${DESTDIR}@prefix@/bin/windows-cmdline-wrapper.exe" + File "${DESTDIR}@prefix@/bin/remote-viewer.exe" + File "${DESTDIR}@prefix@/bin/virt-viewer.exe" + File "@prefix@/bin/zlib1.dll" + + SetOutPath "$INSTDIR\etc" + File /r "@prefix@/etc/fonts" + File /r "@prefix@/etc/gtk-2.0" + File /r "@prefix@/etc/libvirt" + CreateDirectory "$INSTDIR\etc\pango" + + CreateDirectory "$INSTDIR\etc\gtk-2.0" + + SetOutPath "$INSTDIR\lib" + File /r "@prefix@/lib/gdk-pixbuf-2.0" + File /r "@prefix@/lib/gtk-2.0" + File /r "@prefix@/lib/pango" + + SetOutPath "$INSTDIR\lib\gstreamer-0.10" + File "@prefix@/lib/gstreamer-0.10/libgstapp.dll" + File "@prefix@/lib/gstreamer-0.10/libgstaudioconvert.dll" + File "@prefix@/lib/gstreamer-0.10/libgstaudiorate.dll" + File "@prefix@/lib/gstreamer-0.10/libgstaudioresample.dll" + File "@prefix@/lib/gstreamer-0.10/libgstaudiotestsrc.dll" + File "@prefix@/lib/gstreamer-0.10/libgstautodetect.dll" + File "@prefix@/lib/gstreamer-0.10/libgstcoreelements.dll" + File "@prefix@/lib/gstreamer-0.10/libgstdirectsoundsink.dll" + File "@prefix@/lib/gstreamer-0.10/libgstdirectsoundsrc.dll" + + SetOutPath "$INSTDIR\share" + File /r "@prefix@/share/libvirt" + + # fixme for all languages + SetOutPath "$INSTDIR\share\locale\fr" + File "@prefix@/share/locale/fr/LC_MESSAGES/libvirt.*" + File "${DESTDIR}@prefix@/share/locale/fr/LC_MESSAGES/virt-viewer.*" + + SetOutPath "$INSTDIR\share\virt-viewer\ui" + File "${DESTDIR}@prefix@/share/virt-viewer/ui/*.xml" + + SetOutPath "$INSTDIR\share\themes\MS-Windows\gtk-2.0" + File "@prefix@/share/themes/MS-Windows/gtk-2.0/gtkrc" + + SetOutPath "$INSTDIR\etc\gtk-2.0" + FileOpen $0 gtkrc w + FileWrite $0 "gtk-theme-name = $\"MS-Windows$\" $\n" + FileWrite $0 "gtk-icon-theme-name = $\"hicolor$\" $\n" + FileClose $0 + + SetOutPath "$INSTDIR\share\icons\hicolor" + File "/usr/share/icons/hicolor/index.theme" + + SetOutPath "$INSTDIR\share\icons\hicolor\16x16\apps" + File "${DESTDIR}@prefix@/share/icons/hicolor/16x16/apps/virt-viewer.png" + File "/usr/share/icons/gnome/16x16/apps/preferences-desktop-keyboard-shortcuts.png" + SetOutPath "$INSTDIR\share\icons\hicolor\32x32\apps" + File "${DESTDIR}@prefix@/share/icons/hicolor/32x32/apps/virt-viewer.png" + SetOutPath "$INSTDIR\share\icons\hicolor\48x48\apps" + File "${DESTDIR}@prefix@/share/icons/hicolor/48x48/apps/virt-viewer.png" + + ReadEnvStr $0 COMSPEC + SetOutPath "$INSTDIR" + nsExec::ExecToLog '$0 /C bin\pango-querymodules.exe > etc\pango\pango.modules' + + # make virt-viewer the default spice-x client + WriteRegStr HKCU "Software\spice-space.org\spicex" "client" "$INSTDIR\bin\remote-viewer.exe --spice-controller" + +SectionEnd + +Section "Start Menu Shortcuts" + CreateDirectory "$SMPROGRAMS\VirtViewer" + CreateShortCut "$SMPROGRAMS\VirtViewer\Remote Viewer.lnk" "$INSTDIR\bin\remote-viewer.exe" "" "$INSTDIR\bin\remote-viewer.exe" 0 + CreateShortCut "$SMPROGRAMS\VirtViewer\Uninstall.lnk" "$INSTDIR\Uninstall.exe" "" "$INSTDIR\Uninstall.exe" 0 +SectionEnd + +Section "Uninstall" + Delete /rebootok "$SMPROGRAMS\VirtViewer\Uninstall.lnk" + Delete /rebootok "$SMPROGRAMS\VirtViewer\Remote Viewer.lnk" + RMDir "$SMPROGRAMS\VirtViewer" + + DeleteRegKey HKCU "Software\spice-space.org\spicex\client" + DeleteRegKey /ifempty HKCU "Software\spice-space.org\spicex" + DeleteRegKey /ifempty HKCU "Software\spice-space.org" + DeleteRegKey HKCU "Software\virt-viewer" + DeleteRegKey HKCU "${REG_UNINSTALL}" + DeleteRegKey HKCU "${REG_IEPOLICY}" + + RMDir /r "$INSTDIR\lib\pango" + + RMDir /r "$INSTDIR\lib\gtk-2.0" + + RMDir /r "$INSTDIR\share\icons\hicolor" + + Delete /rebootok "$INSTDIR\share\virt-viewer\ui\*.xml" + Delete /rebootok "$INSTDIR\share\themes\MS-Windows\gtk-2.0\gtkrc" + + Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstdirectsoundsrc.dll" + Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstdirectsoundsink.dll" + Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstcoreelements.dll" + Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstautodetect.dll" + Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstaudiotestsrc.dll" + Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstaudioresample.dll" + Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstaudiorate.dll" + Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstaudioconvert.dll" + Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstapp.dll" + RMDir "$INSTDIR\lib\gstreamer-0.10" + + RMDir /r "$INSTDIR\lib\gdk-pixbuf-2.0" + + RMDir /r "$INSTDIR\etc\pango" + + RMDir /r "$INSTDIR\etc\gtk-2.0" + + RMDir /r "$INSTDIR\etc\fonts" + + Delete /rebootok "$INSTDIR\bin\remote-viewer.com" + Delete /rebootok "$INSTDIR\bin\remote-viewer.exe" + Delete /rebootok "$INSTDIR\bin\pango-querymodules.exe" + Delete /rebootok "$INSTDIR\bin\libpangoft2-1.0-0.dll" + Delete /rebootok "$INSTDIR\bin\libgdk_pixbuf-2.0-0.dll" + Delete /rebootok "$INSTDIR\bin\libgdk-win32-2.0-0.dll" + Delete /rebootok "$INSTDIR\bin\gst-xmllaunch.exe" + Delete /rebootok "$INSTDIR\bin\gst-xmllaunch-0.10.exe" + Delete /rebootok "$INSTDIR\bin\gst-xmlinspect.exe" + Delete /rebootok "$INSTDIR\bin\gst-xmlinspect-0.10.exe" + Delete /rebootok "$INSTDIR\bin\gst-typefind.exe" + Delete /rebootok "$INSTDIR\bin\gst-typefind-0.10.exe" + Delete /rebootok "$INSTDIR\bin\gst-launch.exe" + Delete /rebootok "$INSTDIR\bin\gst-launch-0.10.exe" + Delete /rebootok "$INSTDIR\bin\gst-inspect.exe" + Delete /rebootok "$INSTDIR\bin\gst-inspect-0.10.exe" + Delete /rebootok "$INSTDIR\bin\gst-feedback.exe" + Delete /rebootok "$INSTDIR\bin\gst-discoverer-0.10.exe" + RMDir "$INSTDIR\bin" + + Delete /rebootok "$INSTDIR\bin\libffi-6.dll" + Delete /rebootok "$INSTDIR\bin\zlib1.dll" + Delete /rebootok "$INSTDIR\bin\libp11-kit-0.dll" + Delete /rebootok "$INSTDIR\bin\libxml2-2.dll" + Delete /rebootok "$INSTDIR\bin\libtasn1-3.dll" + Delete /rebootok "$INSTDIR\bin\libssl-10.dll" + Delete /rebootok "$INSTDIR\bin\libspice-client-gtk-2.0-1.dll" + Delete /rebootok "$INSTDIR\bin\libspice-client-glib-2.0-1.dll" + Delete /rebootok "$INSTDIR\bin\libspice-controller-0.dll" + Delete /rebootok "$INSTDIR\bin\libpng15-15.dll" + Delete /rebootok "$INSTDIR\bin\libpixman-1-0.dll" + Delete /rebootok "$INSTDIR\bin\libpangowin32-1.0-0.dll" + Delete /rebootok "$INSTDIR\bin\libpangocairo-1.0-0.dll" + Delete /rebootok "$INSTDIR\bin\libpango-1.0-0.dll" + Delete /rebootok "$INSTDIR\bin\liborc-test-0.4-0.dll" + Delete /rebootok "$INSTDIR\bin\liborc-0.4-0.dll" + Delete /rebootok "$INSTDIR\bin\libjpeg-62.dll" + Delete /rebootok "$INSTDIR\bin\libintl-8.dll" + Delete /rebootok "$INSTDIR\bin\iconv.dll" + Delete /rebootok "$INSTDIR\bin\libgtk-win32-2.0-0.dll" + Delete /rebootok "$INSTDIR\bin\libgthread-2.0-0.dll" + Delete /rebootok "$INSTDIR\bin\libgstvideo-0.10-0.dll" + Delete /rebootok "$INSTDIR\bin\libgstreamer-0.10-0.dll" + Delete /rebootok "$INSTDIR\bin\libgstpbutils-0.10-0.dll" + Delete /rebootok "$INSTDIR\bin\libgstinterfaces-0.10-0.dll" + Delete /rebootok "$INSTDIR\bin\libgstfft-0.10-0.dll" + Delete /rebootok "$INSTDIR\bin\libgstcontroller-0.10-0.dll" + Delete /rebootok "$INSTDIR\bin\libgstbase-0.10-0.dll" + Delete /rebootok "$INSTDIR\bin\libgstaudio-0.10-0.dll" + Delete /rebootok "$INSTDIR\bin\libgstapp-0.10-0.dll" + Delete /rebootok "$INSTDIR\bin\libgobject-2.0-0.dll" + Delete /rebootok "$INSTDIR\bin\libgmodule-2.0-0.dll" + Delete /rebootok "$INSTDIR\bin\libglib-2.0-0.dll" + Delete /rebootok "$INSTDIR\bin\libgio-2.0-0.dll" + Delete /rebootok "$INSTDIR\bin\libgdk_pixbuf-2.0-0.dll" + Delete /rebootok "$INSTDIR\bin\libgdk-win32-2.0-0.dll" + Delete /rebootok "$INSTDIR\bin\libfreetype-6.dll" + Delete /rebootok "$INSTDIR\bin\libfontconfig-1.dll" + Delete /rebootok "$INSTDIR\bin\libcrypto-10.dll" + Delete /rebootok "$INSTDIR\bin\libcelt051-0.dll" + Delete /rebootok "$INSTDIR\bin\libcairo-2.dll" + Delete /rebootok "$INSTDIR\bin\libatk-1.0-0.dll" + RMDir "$INSTDIR\bin" + RMDir "$INSTDIR" +SectionEnd + +Section -post + WriteUninstaller "$INSTDIR\Uninstall.exe" + Call RegisterApplication +SectionEnd diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/16x16/Makefile.am b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/16x16/Makefile.am new file mode 100644 index 0000000..ba7d6aa --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/16x16/Makefile.am @@ -0,0 +1,7 @@ +size = $(notdir $(PWD)) +icondir = $(datadir)/icons/hicolor/$(size)/apps/ +icon_DATA = $(PACKAGE).png + +EXTRA_DIST = $(icon_DATA) + +-include $(top_srcdir)/git.mk diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/16x16/Makefile.in b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/16x16/Makefile.in new file mode 100644 index 0000000..e15b6c3 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/16x16/Makefile.in @@ -0,0 +1,483 @@ +# 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@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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 = icons/16x16 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.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 = +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +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; }; \ + } +am__installdirs = "$(DESTDIR)$(icondir)" +DATA = $(icon_DATA) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +FIREFOX_PLUGIN_CFLAGS = @FIREFOX_PLUGIN_CFLAGS@ +FIREFOX_PLUGIN_LIBS = @FIREFOX_PLUGIN_LIBS@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GLIB2_CFLAGS = @GLIB2_CFLAGS@ +GLIB2_LIBS = @GLIB2_LIBS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GTK_API_VERSION = @GTK_API_VERSION@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +GTK_REQUIRED = @GTK_REQUIRED@ +GTK_VNC_API_VERSION = @GTK_VNC_API_VERSION@ +GTK_VNC_CFLAGS = @GTK_VNC_CFLAGS@ +GTK_VNC_LIBS = @GTK_VNC_LIBS@ +ICOTOOL = @ICOTOOL@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIBVIRT_CFLAGS = @LIBVIRT_CFLAGS@ +LIBVIRT_LIBS = @LIBVIRT_LIBS@ +LIBXML2_CFLAGS = @LIBXML2_CFLAGS@ +LIBXML2_LIBS = @LIBXML2_LIBS@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MOZILLA_PLUGIN_CFLAGS = @MOZILLA_PLUGIN_CFLAGS@ +MOZILLA_PLUGIN_LIBS = @MOZILLA_PLUGIN_LIBS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +NSPR_CFLAGS = @NSPR_CFLAGS@ +NSPR_LIBS = @NSPR_LIBS@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SPICE_CONTROLLER_CFLAGS = @SPICE_CONTROLLER_CFLAGS@ +SPICE_CONTROLLER_LIBS = @SPICE_CONTROLLER_LIBS@ +SPICE_GTK_CFLAGS = @SPICE_GTK_CFLAGS@ +SPICE_GTK_LIBS = @SPICE_GTK_LIBS@ +SPICE_PROTOCOL_CFLAGS = @SPICE_PROTOCOL_CFLAGS@ +SPICE_PROTOCOL_LIBS = @SPICE_PROTOCOL_LIBS@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WARN_CFLAGS = @WARN_CFLAGS@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +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@ +size = $(notdir $(PWD)) +icondir = $(datadir)/icons/hicolor/$(size)/apps/ +icon_DATA = $(PACKAGE).png +EXTRA_DIST = $(icon_DATA) +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 icons/16x16/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu icons/16x16/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): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-iconDATA: $(icon_DATA) + @$(NORMAL_INSTALL) + test -z "$(icondir)" || $(MKDIR_P) "$(DESTDIR)$(icondir)" + @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(icondir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(icondir)" || exit $$?; \ + done + +uninstall-iconDATA: + @$(NORMAL_UNINSTALL) + @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(icondir)'; $(am__uninstall_files_from_dir) +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @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 $(DATA) +installdirs: + for dir in "$(DESTDIR)$(icondir)"; 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." +clean: clean-am + +clean-am: clean-generic clean-libtool 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-iconDATA + +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-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 mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-iconDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + distclean distclean-generic distclean-libtool 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-iconDATA install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + uninstall uninstall-am uninstall-iconDATA + + +-include $(top_srcdir)/git.mk + +# 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: diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/16x16/virt-viewer.png b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/16x16/virt-viewer.png new file mode 100644 index 0000000..226881f Binary files /dev/null and b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/16x16/virt-viewer.png differ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/22x22/Makefile.am b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/22x22/Makefile.am new file mode 100644 index 0000000..ba7d6aa --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/22x22/Makefile.am @@ -0,0 +1,7 @@ +size = $(notdir $(PWD)) +icondir = $(datadir)/icons/hicolor/$(size)/apps/ +icon_DATA = $(PACKAGE).png + +EXTRA_DIST = $(icon_DATA) + +-include $(top_srcdir)/git.mk diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/22x22/Makefile.in b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/22x22/Makefile.in new file mode 100644 index 0000000..34cc507 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/22x22/Makefile.in @@ -0,0 +1,483 @@ +# 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@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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 = icons/22x22 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.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 = +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +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; }; \ + } +am__installdirs = "$(DESTDIR)$(icondir)" +DATA = $(icon_DATA) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +FIREFOX_PLUGIN_CFLAGS = @FIREFOX_PLUGIN_CFLAGS@ +FIREFOX_PLUGIN_LIBS = @FIREFOX_PLUGIN_LIBS@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GLIB2_CFLAGS = @GLIB2_CFLAGS@ +GLIB2_LIBS = @GLIB2_LIBS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GTK_API_VERSION = @GTK_API_VERSION@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +GTK_REQUIRED = @GTK_REQUIRED@ +GTK_VNC_API_VERSION = @GTK_VNC_API_VERSION@ +GTK_VNC_CFLAGS = @GTK_VNC_CFLAGS@ +GTK_VNC_LIBS = @GTK_VNC_LIBS@ +ICOTOOL = @ICOTOOL@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIBVIRT_CFLAGS = @LIBVIRT_CFLAGS@ +LIBVIRT_LIBS = @LIBVIRT_LIBS@ +LIBXML2_CFLAGS = @LIBXML2_CFLAGS@ +LIBXML2_LIBS = @LIBXML2_LIBS@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MOZILLA_PLUGIN_CFLAGS = @MOZILLA_PLUGIN_CFLAGS@ +MOZILLA_PLUGIN_LIBS = @MOZILLA_PLUGIN_LIBS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +NSPR_CFLAGS = @NSPR_CFLAGS@ +NSPR_LIBS = @NSPR_LIBS@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SPICE_CONTROLLER_CFLAGS = @SPICE_CONTROLLER_CFLAGS@ +SPICE_CONTROLLER_LIBS = @SPICE_CONTROLLER_LIBS@ +SPICE_GTK_CFLAGS = @SPICE_GTK_CFLAGS@ +SPICE_GTK_LIBS = @SPICE_GTK_LIBS@ +SPICE_PROTOCOL_CFLAGS = @SPICE_PROTOCOL_CFLAGS@ +SPICE_PROTOCOL_LIBS = @SPICE_PROTOCOL_LIBS@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WARN_CFLAGS = @WARN_CFLAGS@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +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@ +size = $(notdir $(PWD)) +icondir = $(datadir)/icons/hicolor/$(size)/apps/ +icon_DATA = $(PACKAGE).png +EXTRA_DIST = $(icon_DATA) +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 icons/22x22/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu icons/22x22/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): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-iconDATA: $(icon_DATA) + @$(NORMAL_INSTALL) + test -z "$(icondir)" || $(MKDIR_P) "$(DESTDIR)$(icondir)" + @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(icondir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(icondir)" || exit $$?; \ + done + +uninstall-iconDATA: + @$(NORMAL_UNINSTALL) + @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(icondir)'; $(am__uninstall_files_from_dir) +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @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 $(DATA) +installdirs: + for dir in "$(DESTDIR)$(icondir)"; 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." +clean: clean-am + +clean-am: clean-generic clean-libtool 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-iconDATA + +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-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 mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-iconDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + distclean distclean-generic distclean-libtool 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-iconDATA install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + uninstall uninstall-am uninstall-iconDATA + + +-include $(top_srcdir)/git.mk + +# 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: diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/22x22/virt-viewer.png b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/22x22/virt-viewer.png new file mode 100644 index 0000000..f244adb Binary files /dev/null and b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/22x22/virt-viewer.png differ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/24x24/Makefile.am b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/24x24/Makefile.am new file mode 100644 index 0000000..ba7d6aa --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/24x24/Makefile.am @@ -0,0 +1,7 @@ +size = $(notdir $(PWD)) +icondir = $(datadir)/icons/hicolor/$(size)/apps/ +icon_DATA = $(PACKAGE).png + +EXTRA_DIST = $(icon_DATA) + +-include $(top_srcdir)/git.mk diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/24x24/Makefile.in b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/24x24/Makefile.in new file mode 100644 index 0000000..cbc5961 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/24x24/Makefile.in @@ -0,0 +1,483 @@ +# 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@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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 = icons/24x24 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.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 = +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +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; }; \ + } +am__installdirs = "$(DESTDIR)$(icondir)" +DATA = $(icon_DATA) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +FIREFOX_PLUGIN_CFLAGS = @FIREFOX_PLUGIN_CFLAGS@ +FIREFOX_PLUGIN_LIBS = @FIREFOX_PLUGIN_LIBS@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GLIB2_CFLAGS = @GLIB2_CFLAGS@ +GLIB2_LIBS = @GLIB2_LIBS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GTK_API_VERSION = @GTK_API_VERSION@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +GTK_REQUIRED = @GTK_REQUIRED@ +GTK_VNC_API_VERSION = @GTK_VNC_API_VERSION@ +GTK_VNC_CFLAGS = @GTK_VNC_CFLAGS@ +GTK_VNC_LIBS = @GTK_VNC_LIBS@ +ICOTOOL = @ICOTOOL@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIBVIRT_CFLAGS = @LIBVIRT_CFLAGS@ +LIBVIRT_LIBS = @LIBVIRT_LIBS@ +LIBXML2_CFLAGS = @LIBXML2_CFLAGS@ +LIBXML2_LIBS = @LIBXML2_LIBS@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MOZILLA_PLUGIN_CFLAGS = @MOZILLA_PLUGIN_CFLAGS@ +MOZILLA_PLUGIN_LIBS = @MOZILLA_PLUGIN_LIBS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +NSPR_CFLAGS = @NSPR_CFLAGS@ +NSPR_LIBS = @NSPR_LIBS@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SPICE_CONTROLLER_CFLAGS = @SPICE_CONTROLLER_CFLAGS@ +SPICE_CONTROLLER_LIBS = @SPICE_CONTROLLER_LIBS@ +SPICE_GTK_CFLAGS = @SPICE_GTK_CFLAGS@ +SPICE_GTK_LIBS = @SPICE_GTK_LIBS@ +SPICE_PROTOCOL_CFLAGS = @SPICE_PROTOCOL_CFLAGS@ +SPICE_PROTOCOL_LIBS = @SPICE_PROTOCOL_LIBS@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WARN_CFLAGS = @WARN_CFLAGS@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +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@ +size = $(notdir $(PWD)) +icondir = $(datadir)/icons/hicolor/$(size)/apps/ +icon_DATA = $(PACKAGE).png +EXTRA_DIST = $(icon_DATA) +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 icons/24x24/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu icons/24x24/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): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-iconDATA: $(icon_DATA) + @$(NORMAL_INSTALL) + test -z "$(icondir)" || $(MKDIR_P) "$(DESTDIR)$(icondir)" + @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(icondir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(icondir)" || exit $$?; \ + done + +uninstall-iconDATA: + @$(NORMAL_UNINSTALL) + @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(icondir)'; $(am__uninstall_files_from_dir) +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @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 $(DATA) +installdirs: + for dir in "$(DESTDIR)$(icondir)"; 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." +clean: clean-am + +clean-am: clean-generic clean-libtool 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-iconDATA + +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-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 mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-iconDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + distclean distclean-generic distclean-libtool 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-iconDATA install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + uninstall uninstall-am uninstall-iconDATA + + +-include $(top_srcdir)/git.mk + +# 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: diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/24x24/virt-viewer.png b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/24x24/virt-viewer.png new file mode 100644 index 0000000..f3d2e65 Binary files /dev/null and b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/24x24/virt-viewer.png differ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/256x256/Makefile.am b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/256x256/Makefile.am new file mode 100644 index 0000000..ba7d6aa --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/256x256/Makefile.am @@ -0,0 +1,7 @@ +size = $(notdir $(PWD)) +icondir = $(datadir)/icons/hicolor/$(size)/apps/ +icon_DATA = $(PACKAGE).png + +EXTRA_DIST = $(icon_DATA) + +-include $(top_srcdir)/git.mk diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/256x256/Makefile.in b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/256x256/Makefile.in new file mode 100644 index 0000000..d0a87e5 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/256x256/Makefile.in @@ -0,0 +1,483 @@ +# 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@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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 = icons/256x256 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.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 = +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +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; }; \ + } +am__installdirs = "$(DESTDIR)$(icondir)" +DATA = $(icon_DATA) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +FIREFOX_PLUGIN_CFLAGS = @FIREFOX_PLUGIN_CFLAGS@ +FIREFOX_PLUGIN_LIBS = @FIREFOX_PLUGIN_LIBS@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GLIB2_CFLAGS = @GLIB2_CFLAGS@ +GLIB2_LIBS = @GLIB2_LIBS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GTK_API_VERSION = @GTK_API_VERSION@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +GTK_REQUIRED = @GTK_REQUIRED@ +GTK_VNC_API_VERSION = @GTK_VNC_API_VERSION@ +GTK_VNC_CFLAGS = @GTK_VNC_CFLAGS@ +GTK_VNC_LIBS = @GTK_VNC_LIBS@ +ICOTOOL = @ICOTOOL@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIBVIRT_CFLAGS = @LIBVIRT_CFLAGS@ +LIBVIRT_LIBS = @LIBVIRT_LIBS@ +LIBXML2_CFLAGS = @LIBXML2_CFLAGS@ +LIBXML2_LIBS = @LIBXML2_LIBS@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MOZILLA_PLUGIN_CFLAGS = @MOZILLA_PLUGIN_CFLAGS@ +MOZILLA_PLUGIN_LIBS = @MOZILLA_PLUGIN_LIBS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +NSPR_CFLAGS = @NSPR_CFLAGS@ +NSPR_LIBS = @NSPR_LIBS@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SPICE_CONTROLLER_CFLAGS = @SPICE_CONTROLLER_CFLAGS@ +SPICE_CONTROLLER_LIBS = @SPICE_CONTROLLER_LIBS@ +SPICE_GTK_CFLAGS = @SPICE_GTK_CFLAGS@ +SPICE_GTK_LIBS = @SPICE_GTK_LIBS@ +SPICE_PROTOCOL_CFLAGS = @SPICE_PROTOCOL_CFLAGS@ +SPICE_PROTOCOL_LIBS = @SPICE_PROTOCOL_LIBS@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WARN_CFLAGS = @WARN_CFLAGS@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +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@ +size = $(notdir $(PWD)) +icondir = $(datadir)/icons/hicolor/$(size)/apps/ +icon_DATA = $(PACKAGE).png +EXTRA_DIST = $(icon_DATA) +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 icons/256x256/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu icons/256x256/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): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-iconDATA: $(icon_DATA) + @$(NORMAL_INSTALL) + test -z "$(icondir)" || $(MKDIR_P) "$(DESTDIR)$(icondir)" + @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(icondir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(icondir)" || exit $$?; \ + done + +uninstall-iconDATA: + @$(NORMAL_UNINSTALL) + @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(icondir)'; $(am__uninstall_files_from_dir) +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @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 $(DATA) +installdirs: + for dir in "$(DESTDIR)$(icondir)"; 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." +clean: clean-am + +clean-am: clean-generic clean-libtool 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-iconDATA + +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-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 mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-iconDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + distclean distclean-generic distclean-libtool 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-iconDATA install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + uninstall uninstall-am uninstall-iconDATA + + +-include $(top_srcdir)/git.mk + +# 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: diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/256x256/virt-viewer.png b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/256x256/virt-viewer.png new file mode 100644 index 0000000..d861b86 Binary files /dev/null and b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/256x256/virt-viewer.png differ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/32x32/Makefile.am b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/32x32/Makefile.am new file mode 100644 index 0000000..ba7d6aa --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/32x32/Makefile.am @@ -0,0 +1,7 @@ +size = $(notdir $(PWD)) +icondir = $(datadir)/icons/hicolor/$(size)/apps/ +icon_DATA = $(PACKAGE).png + +EXTRA_DIST = $(icon_DATA) + +-include $(top_srcdir)/git.mk diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/32x32/Makefile.in b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/32x32/Makefile.in new file mode 100644 index 0000000..ca400a1 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/32x32/Makefile.in @@ -0,0 +1,483 @@ +# 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@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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 = icons/32x32 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.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 = +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +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; }; \ + } +am__installdirs = "$(DESTDIR)$(icondir)" +DATA = $(icon_DATA) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +FIREFOX_PLUGIN_CFLAGS = @FIREFOX_PLUGIN_CFLAGS@ +FIREFOX_PLUGIN_LIBS = @FIREFOX_PLUGIN_LIBS@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GLIB2_CFLAGS = @GLIB2_CFLAGS@ +GLIB2_LIBS = @GLIB2_LIBS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GTK_API_VERSION = @GTK_API_VERSION@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +GTK_REQUIRED = @GTK_REQUIRED@ +GTK_VNC_API_VERSION = @GTK_VNC_API_VERSION@ +GTK_VNC_CFLAGS = @GTK_VNC_CFLAGS@ +GTK_VNC_LIBS = @GTK_VNC_LIBS@ +ICOTOOL = @ICOTOOL@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIBVIRT_CFLAGS = @LIBVIRT_CFLAGS@ +LIBVIRT_LIBS = @LIBVIRT_LIBS@ +LIBXML2_CFLAGS = @LIBXML2_CFLAGS@ +LIBXML2_LIBS = @LIBXML2_LIBS@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MOZILLA_PLUGIN_CFLAGS = @MOZILLA_PLUGIN_CFLAGS@ +MOZILLA_PLUGIN_LIBS = @MOZILLA_PLUGIN_LIBS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +NSPR_CFLAGS = @NSPR_CFLAGS@ +NSPR_LIBS = @NSPR_LIBS@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SPICE_CONTROLLER_CFLAGS = @SPICE_CONTROLLER_CFLAGS@ +SPICE_CONTROLLER_LIBS = @SPICE_CONTROLLER_LIBS@ +SPICE_GTK_CFLAGS = @SPICE_GTK_CFLAGS@ +SPICE_GTK_LIBS = @SPICE_GTK_LIBS@ +SPICE_PROTOCOL_CFLAGS = @SPICE_PROTOCOL_CFLAGS@ +SPICE_PROTOCOL_LIBS = @SPICE_PROTOCOL_LIBS@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WARN_CFLAGS = @WARN_CFLAGS@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +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@ +size = $(notdir $(PWD)) +icondir = $(datadir)/icons/hicolor/$(size)/apps/ +icon_DATA = $(PACKAGE).png +EXTRA_DIST = $(icon_DATA) +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 icons/32x32/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu icons/32x32/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): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-iconDATA: $(icon_DATA) + @$(NORMAL_INSTALL) + test -z "$(icondir)" || $(MKDIR_P) "$(DESTDIR)$(icondir)" + @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(icondir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(icondir)" || exit $$?; \ + done + +uninstall-iconDATA: + @$(NORMAL_UNINSTALL) + @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(icondir)'; $(am__uninstall_files_from_dir) +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @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 $(DATA) +installdirs: + for dir in "$(DESTDIR)$(icondir)"; 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." +clean: clean-am + +clean-am: clean-generic clean-libtool 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-iconDATA + +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-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 mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-iconDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + distclean distclean-generic distclean-libtool 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-iconDATA install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + uninstall uninstall-am uninstall-iconDATA + + +-include $(top_srcdir)/git.mk + +# 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: diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/32x32/virt-viewer.png b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/32x32/virt-viewer.png new file mode 100644 index 0000000..b95ea5d Binary files /dev/null and b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/32x32/virt-viewer.png differ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/48x48/Makefile.am b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/48x48/Makefile.am new file mode 100644 index 0000000..ba7d6aa --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/48x48/Makefile.am @@ -0,0 +1,7 @@ +size = $(notdir $(PWD)) +icondir = $(datadir)/icons/hicolor/$(size)/apps/ +icon_DATA = $(PACKAGE).png + +EXTRA_DIST = $(icon_DATA) + +-include $(top_srcdir)/git.mk diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/48x48/Makefile.in b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/48x48/Makefile.in new file mode 100644 index 0000000..0daa951 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/48x48/Makefile.in @@ -0,0 +1,483 @@ +# 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@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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 = icons/48x48 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.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 = +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +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; }; \ + } +am__installdirs = "$(DESTDIR)$(icondir)" +DATA = $(icon_DATA) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +FIREFOX_PLUGIN_CFLAGS = @FIREFOX_PLUGIN_CFLAGS@ +FIREFOX_PLUGIN_LIBS = @FIREFOX_PLUGIN_LIBS@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GLIB2_CFLAGS = @GLIB2_CFLAGS@ +GLIB2_LIBS = @GLIB2_LIBS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GTK_API_VERSION = @GTK_API_VERSION@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +GTK_REQUIRED = @GTK_REQUIRED@ +GTK_VNC_API_VERSION = @GTK_VNC_API_VERSION@ +GTK_VNC_CFLAGS = @GTK_VNC_CFLAGS@ +GTK_VNC_LIBS = @GTK_VNC_LIBS@ +ICOTOOL = @ICOTOOL@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIBVIRT_CFLAGS = @LIBVIRT_CFLAGS@ +LIBVIRT_LIBS = @LIBVIRT_LIBS@ +LIBXML2_CFLAGS = @LIBXML2_CFLAGS@ +LIBXML2_LIBS = @LIBXML2_LIBS@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MOZILLA_PLUGIN_CFLAGS = @MOZILLA_PLUGIN_CFLAGS@ +MOZILLA_PLUGIN_LIBS = @MOZILLA_PLUGIN_LIBS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +NSPR_CFLAGS = @NSPR_CFLAGS@ +NSPR_LIBS = @NSPR_LIBS@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SPICE_CONTROLLER_CFLAGS = @SPICE_CONTROLLER_CFLAGS@ +SPICE_CONTROLLER_LIBS = @SPICE_CONTROLLER_LIBS@ +SPICE_GTK_CFLAGS = @SPICE_GTK_CFLAGS@ +SPICE_GTK_LIBS = @SPICE_GTK_LIBS@ +SPICE_PROTOCOL_CFLAGS = @SPICE_PROTOCOL_CFLAGS@ +SPICE_PROTOCOL_LIBS = @SPICE_PROTOCOL_LIBS@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WARN_CFLAGS = @WARN_CFLAGS@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +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@ +size = $(notdir $(PWD)) +icondir = $(datadir)/icons/hicolor/$(size)/apps/ +icon_DATA = $(PACKAGE).png +EXTRA_DIST = $(icon_DATA) +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 icons/48x48/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu icons/48x48/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): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-iconDATA: $(icon_DATA) + @$(NORMAL_INSTALL) + test -z "$(icondir)" || $(MKDIR_P) "$(DESTDIR)$(icondir)" + @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(icondir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(icondir)" || exit $$?; \ + done + +uninstall-iconDATA: + @$(NORMAL_UNINSTALL) + @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(icondir)'; $(am__uninstall_files_from_dir) +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @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 $(DATA) +installdirs: + for dir in "$(DESTDIR)$(icondir)"; 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." +clean: clean-am + +clean-am: clean-generic clean-libtool 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-iconDATA + +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-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 mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-iconDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + distclean distclean-generic distclean-libtool 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-iconDATA install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + uninstall uninstall-am uninstall-iconDATA + + +-include $(top_srcdir)/git.mk + +# 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: diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/48x48/virt-viewer.png b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/48x48/virt-viewer.png new file mode 100644 index 0000000..28396d1 Binary files /dev/null and b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/48x48/virt-viewer.png differ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/Makefile.am b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/Makefile.am new file mode 100644 index 0000000..8f2db64 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/Makefile.am @@ -0,0 +1,14 @@ +SUBDIRS = 16x16 22x22 24x24 32x32 48x48 256x256 + +if OS_WIN32 +noinst_DATA = virt-viewer.ico +endif + +# http://stackoverflow.com/questions/3236115/which-icon-sizes-should-my-windows-applications-icon-include +ico_sizes = 16 32 48 256 +%.ico: $(foreach s,$(ico_sizes),$(s)x$(s)/%.png) + $(AM_V_GEN)$(ICOTOOL) -c -o $@ $^ + +EXTRA_DIST = virt-viewer.ico + +-include $(top_srcdir)/git.mk diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/Makefile.in b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/Makefile.in new file mode 100644 index 0000000..c4c7ecc --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/Makefile.in @@ -0,0 +1,639 @@ +# 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@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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 = icons +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.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 = +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-dvi-recursive install-exec-recursive \ + install-html-recursive install-info-recursive \ + install-pdf-recursive install-ps-recursive install-recursive \ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive +DATA = $(noinst_DATA) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ + distdir +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +FIREFOX_PLUGIN_CFLAGS = @FIREFOX_PLUGIN_CFLAGS@ +FIREFOX_PLUGIN_LIBS = @FIREFOX_PLUGIN_LIBS@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GLIB2_CFLAGS = @GLIB2_CFLAGS@ +GLIB2_LIBS = @GLIB2_LIBS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GTK_API_VERSION = @GTK_API_VERSION@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +GTK_REQUIRED = @GTK_REQUIRED@ +GTK_VNC_API_VERSION = @GTK_VNC_API_VERSION@ +GTK_VNC_CFLAGS = @GTK_VNC_CFLAGS@ +GTK_VNC_LIBS = @GTK_VNC_LIBS@ +ICOTOOL = @ICOTOOL@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIBVIRT_CFLAGS = @LIBVIRT_CFLAGS@ +LIBVIRT_LIBS = @LIBVIRT_LIBS@ +LIBXML2_CFLAGS = @LIBXML2_CFLAGS@ +LIBXML2_LIBS = @LIBXML2_LIBS@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MOZILLA_PLUGIN_CFLAGS = @MOZILLA_PLUGIN_CFLAGS@ +MOZILLA_PLUGIN_LIBS = @MOZILLA_PLUGIN_LIBS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +NSPR_CFLAGS = @NSPR_CFLAGS@ +NSPR_LIBS = @NSPR_LIBS@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SPICE_CONTROLLER_CFLAGS = @SPICE_CONTROLLER_CFLAGS@ +SPICE_CONTROLLER_LIBS = @SPICE_CONTROLLER_LIBS@ +SPICE_GTK_CFLAGS = @SPICE_GTK_CFLAGS@ +SPICE_GTK_LIBS = @SPICE_GTK_LIBS@ +SPICE_PROTOCOL_CFLAGS = @SPICE_PROTOCOL_CFLAGS@ +SPICE_PROTOCOL_LIBS = @SPICE_PROTOCOL_LIBS@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WARN_CFLAGS = @WARN_CFLAGS@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +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@ +SUBDIRS = 16x16 22x22 24x24 32x32 48x48 256x256 +@OS_WIN32_TRUE@noinst_DATA = virt-viewer.ico + +# http://stackoverflow.com/questions/3236115/which-icon-sizes-should-my-windows-applications-icon-include +ico_sizes = 16 32 48 256 +EXTRA_DIST = virt-viewer.ico +all: all-recursive + +.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 icons/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu icons/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): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +$(RECURSIVE_CLEAN_TARGETS): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @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 + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-recursive +all-am: Makefile $(DATA) +installdirs: installdirs-recursive +installdirs-am: +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +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." +clean: clean-recursive + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-recursive + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: + +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ + install-am install-strip tags-recursive + +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am check check-am clean clean-generic clean-libtool \ + ctags ctags-recursive distclean distclean-generic \ + distclean-libtool distclean-tags 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-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ + uninstall uninstall-am + +%.ico: $(foreach s,$(ico_sizes),$(s)x$(s)/%.png) + $(AM_V_GEN)$(ICOTOOL) -c -o $@ $^ + +-include $(top_srcdir)/git.mk + +# 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: diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/virt-viewer.ico b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/virt-viewer.ico new file mode 100644 index 0000000..e11de61 Binary files /dev/null and b/tizen/distrib/remote/client/virt-viewer-0.5.3/icons/virt-viewer.ico differ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/m4/intltool.m4 b/tizen/distrib/remote/client/virt-viewer-0.5.3/m4/intltool.m4 new file mode 100644 index 0000000..33353ed --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/m4/intltool.m4 @@ -0,0 +1,237 @@ +## intltool.m4 - Configure intltool for the target system. -*-Shell-script-*- +## Copyright (C) 2001 Eazel, Inc. +## Author: Maciej Stachowiak <mjs@noisehavoc.org> +## Kenneth Christiansen <kenneth@gnu.org> +## +## 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +## +## As a special exception to the GNU General Public License, if you +## distribute this file as part of a program that contains a +## configuration script generated by Autoconf, you may include it under +## the same distribution terms that you use for the rest of that program. + +dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml]) +# serial 42 IT_PROG_INTLTOOL +AC_DEFUN([IT_PROG_INTLTOOL], [ +AC_PREREQ([2.50])dnl +AC_REQUIRE([AM_NLS])dnl + +case "$am__api_version" in + 1.[01234]) + AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool]) + ;; + *) + ;; +esac + +INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` +INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` +INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` +if test -n "$1"; then + AC_MSG_CHECKING([for intltool >= $1]) + AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found]) + test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || + AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.]) +fi + +AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update]) +AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge]) +AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract]) +if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then + AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.]) +fi + +if test -z "$AM_DEFAULT_VERBOSITY"; then + AM_DEFAULT_VERBOSITY=1 +fi +AC_SUBST([AM_DEFAULT_VERBOSITY]) + +INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' +INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' +INTLTOOL__v_MERGE_0='@echo " ITMRG " [$]@;' +AC_SUBST(INTLTOOL_V_MERGE) +AC_SUBST(INTLTOOL__v_MERGE_) +AC_SUBST(INTLTOOL__v_MERGE_0) + +INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' +intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' +intltool__v_merge_options_0='-q' +AC_SUBST(INTLTOOL_V_MERGE_OPTIONS) +AC_SUBST(intltool__v_merge_options_) +AC_SUBST(intltool__v_merge_options_0) + + INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' +INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< [$]@' + INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' +INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' +if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then + INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< [$]@' +else + INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.[$][$]RANDOM && mkdir [$][$]_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u [$][$]_it_tmp_dir $< [$]@ && rmdir [$][$]_it_tmp_dir' +fi + INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + +_IT_SUBST(INTLTOOL_DESKTOP_RULE) +_IT_SUBST(INTLTOOL_DIRECTORY_RULE) +_IT_SUBST(INTLTOOL_KEYS_RULE) +_IT_SUBST(INTLTOOL_PROP_RULE) +_IT_SUBST(INTLTOOL_OAF_RULE) +_IT_SUBST(INTLTOOL_PONG_RULE) +_IT_SUBST(INTLTOOL_SERVER_RULE) +_IT_SUBST(INTLTOOL_SHEET_RULE) +_IT_SUBST(INTLTOOL_SOUNDLIST_RULE) +_IT_SUBST(INTLTOOL_UI_RULE) +_IT_SUBST(INTLTOOL_XAM_RULE) +_IT_SUBST(INTLTOOL_KBD_RULE) +_IT_SUBST(INTLTOOL_XML_RULE) +_IT_SUBST(INTLTOOL_XML_NOMERGE_RULE) +_IT_SUBST(INTLTOOL_CAVES_RULE) +_IT_SUBST(INTLTOOL_SCHEMAS_RULE) +_IT_SUBST(INTLTOOL_THEME_RULE) +_IT_SUBST(INTLTOOL_SERVICE_RULE) +_IT_SUBST(INTLTOOL_POLICY_RULE) + +# Check the gettext tools to make sure they are GNU +AC_PATH_PROG(XGETTEXT, xgettext) +AC_PATH_PROG(MSGMERGE, msgmerge) +AC_PATH_PROG(MSGFMT, msgfmt) +AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) +if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then + AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) +fi +xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" +mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" +mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" +if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then + AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) +fi + +AC_PATH_PROG(INTLTOOL_PERL, perl) +if test -z "$INTLTOOL_PERL"; then + AC_MSG_ERROR([perl not found]) +fi +AC_MSG_CHECKING([for perl >= 5.8.1]) +$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 +if test $? -ne 0; then + AC_MSG_ERROR([perl 5.8.1 is required for intltool]) +else + IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` + AC_MSG_RESULT([$IT_PERL_VERSION]) +fi +if test "x$2" != "xno-xml"; then + AC_MSG_CHECKING([for XML::Parser]) + if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then + AC_MSG_RESULT([ok]) + else + AC_MSG_ERROR([XML::Parser perl module is required for intltool]) + fi +fi + +# Substitute ALL_LINGUAS so we can use it in po/Makefile +AC_SUBST(ALL_LINGUAS) + +# Set DATADIRNAME correctly if it is not set yet +# (copied from glib-gettext.m4) +if test -z "$DATADIRNAME"; then + AC_LINK_IFELSE( + [AC_LANG_PROGRAM([[]], + [[extern int _nl_msg_cat_cntr; + return _nl_msg_cat_cntr]])], + [DATADIRNAME=share], + [case $host in + *-*-solaris*) + dnl On Solaris, if bind_textdomain_codeset is in libc, + dnl GNU format message catalog is always supported, + dnl since both are added to the libc all together. + dnl Hence, we'd like to go with DATADIRNAME=share + dnl in this case. + AC_CHECK_FUNC(bind_textdomain_codeset, + [DATADIRNAME=share], [DATADIRNAME=lib]) + ;; + *) + [DATADIRNAME=lib] + ;; + esac]) +fi +AC_SUBST(DATADIRNAME) + +IT_PO_SUBDIR([po]) + +]) + + +# IT_PO_SUBDIR(DIRNAME) +# --------------------- +# All po subdirs have to be declared with this macro; the subdir "po" is +# declared by IT_PROG_INTLTOOL. +# +AC_DEFUN([IT_PO_SUBDIR], +[AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS. +dnl +dnl The following CONFIG_COMMANDS should be executed at the very end +dnl of config.status. +AC_CONFIG_COMMANDS_PRE([ + AC_CONFIG_COMMANDS([$1/stamp-it], [ + if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then + AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.]) + fi + rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp" + >"$1/stamp-it.tmp" + [sed '/^#/d + s/^[[].*] *// + /^[ ]*$/d + '"s|^| $ac_top_srcdir/|" \ + "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES" + ] + [sed '/^POTFILES =/,/[^\\]$/ { + /^POTFILES =/!d + r $1/POTFILES + } + ' "$1/Makefile.in" >"$1/Makefile"] + rm -f "$1/Makefile.tmp" + mv "$1/stamp-it.tmp" "$1/stamp-it" + ]) +])dnl +]) + +# _IT_SUBST(VARIABLE) +# ------------------- +# Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST +# +AC_DEFUN([_IT_SUBST], +[ +AC_SUBST([$1]) +m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) +] +) + +# deprecated macros +AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL]) +# A hint is needed for aclocal from Automake <= 1.9.4: +# AC_DEFUN([AC_PROG_INTLTOOL], ...) + diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/m4/libtool.m4 b/tizen/distrib/remote/client/virt-viewer-0.5.3/m4/libtool.m4 new file mode 100644 index 0000000..56666f0 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/m4/libtool.m4 @@ -0,0 +1,7986 @@ +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +# 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file 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. + +m4_define([_LT_COPYING], [dnl +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +# 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file is part of GNU Libtool. +# +# GNU Libtool 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. +# +# As a special exception to the GNU General Public License, +# if you distribute this file as part of a program or library that +# is built using GNU Libtool, you may include this file under the +# same distribution terms that you use for the rest of that program. +# +# GNU Libtool 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 GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or +# obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +]) + +# serial 57 LT_INIT + + +# LT_PREREQ(VERSION) +# ------------------ +# Complain and exit if this libtool version is less that VERSION. +m4_defun([LT_PREREQ], +[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, + [m4_default([$3], + [m4_fatal([Libtool version $1 or higher is required], + 63)])], + [$2])]) + + +# _LT_CHECK_BUILDDIR +# ------------------ +# Complain if the absolute build directory name contains unusual characters +m4_defun([_LT_CHECK_BUILDDIR], +[case `pwd` in + *\ * | *\ *) + AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; +esac +]) + + +# LT_INIT([OPTIONS]) +# ------------------ +AC_DEFUN([LT_INIT], +[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT +AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl +AC_BEFORE([$0], [LT_LANG])dnl +AC_BEFORE([$0], [LT_OUTPUT])dnl +AC_BEFORE([$0], [LTDL_INIT])dnl +m4_require([_LT_CHECK_BUILDDIR])dnl + +dnl Autoconf doesn't catch unexpanded LT_ macros by default: +m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl +m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 +dnl unless we require an AC_DEFUNed macro: +AC_REQUIRE([LTOPTIONS_VERSION])dnl +AC_REQUIRE([LTSUGAR_VERSION])dnl +AC_REQUIRE([LTVERSION_VERSION])dnl +AC_REQUIRE([LTOBSOLETE_VERSION])dnl +m4_require([_LT_PROG_LTMAIN])dnl + +_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) + +dnl Parse OPTIONS +_LT_SET_OPTIONS([$0], [$1]) + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS="$ltmain" + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' +AC_SUBST(LIBTOOL)dnl + +_LT_SETUP + +# Only expand once: +m4_define([LT_INIT]) +])# LT_INIT + +# Old names: +AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) +AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_PROG_LIBTOOL], []) +dnl AC_DEFUN([AM_PROG_LIBTOOL], []) + + +# _LT_CC_BASENAME(CC) +# ------------------- +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. +m4_defun([_LT_CC_BASENAME], +[for cc_temp in $1""; do + case $cc_temp in + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` +]) + + +# _LT_FILEUTILS_DEFAULTS +# ---------------------- +# It is okay to use these file commands and assume they have been set +# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'. +m4_defun([_LT_FILEUTILS_DEFAULTS], +[: ${CP="cp -f"} +: ${MV="mv -f"} +: ${RM="rm -f"} +])# _LT_FILEUTILS_DEFAULTS + + +# _LT_SETUP +# --------- +m4_defun([_LT_SETUP], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl + +_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl +dnl +_LT_DECL([], [host_alias], [0], [The host system])dnl +_LT_DECL([], [host], [0])dnl +_LT_DECL([], [host_os], [0])dnl +dnl +_LT_DECL([], [build_alias], [0], [The build system])dnl +_LT_DECL([], [build], [0])dnl +_LT_DECL([], [build_os], [0])dnl +dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([LT_PATH_LD])dnl +AC_REQUIRE([LT_PATH_NM])dnl +dnl +AC_REQUIRE([AC_PROG_LN_S])dnl +test -z "$LN_S" && LN_S="ln -s" +_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl +dnl +AC_REQUIRE([LT_CMD_MAX_LEN])dnl +_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl +_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl +dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_CHECK_SHELL_FEATURES])dnl +m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl +m4_require([_LT_CMD_RELOAD])dnl +m4_require([_LT_CHECK_MAGIC_METHOD])dnl +m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl +m4_require([_LT_CMD_OLD_ARCHIVE])dnl +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl +m4_require([_LT_WITH_SYSROOT])dnl + +_LT_CONFIG_LIBTOOL_INIT([ +# See if we are running on zsh, and set the options which allow our +# commands through without removal of \ escapes INIT. +if test -n "\${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi +]) +if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi + +_LT_CHECK_OBJDIR + +m4_require([_LT_TAG_COMPILER])dnl + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Global variables: +ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except MSVC, +# which needs '.lib'). +libext=a + +with_gnu_ld="$lt_cv_prog_gnu_ld" + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS +test -z "$LD" && LD=ld +test -z "$ac_objext" && ac_objext=o + +_LT_CC_BASENAME([$compiler]) + +# Only perform the check for file, if the check method requires it +test -z "$MAGIC_CMD" && MAGIC_CMD=file +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + _LT_PATH_MAGIC + fi + ;; +esac + +# Use C for the default configuration in the libtool script +LT_SUPPORTED_TAG([CC]) +_LT_LANG_C_CONFIG +_LT_LANG_DEFAULT_CONFIG +_LT_CONFIG_COMMANDS +])# _LT_SETUP + + +# _LT_PREPARE_SED_QUOTE_VARS +# -------------------------- +# Define a few sed substitution that help us do robust quoting. +m4_defun([_LT_PREPARE_SED_QUOTE_VARS], +[# Backslashify metacharacters that are still active within +# double-quoted strings. +sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\([["`\\]]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to delay expansion of an escaped single quote. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' +]) + +# _LT_PROG_LTMAIN +# --------------- +# Note that this code is called both from `configure', and `config.status' +# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, +# `config.status' has no value for ac_aux_dir unless we are using Automake, +# so we pass a copy along to make sure it has a sensible value anyway. +m4_defun([_LT_PROG_LTMAIN], +[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl +_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) +ltmain="$ac_aux_dir/ltmain.sh" +])# _LT_PROG_LTMAIN + + +## ------------------------------------- ## +## Accumulate code for creating libtool. ## +## ------------------------------------- ## + +# So that we can recreate a full libtool script including additional +# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS +# in macros and then make a single call at the end using the `libtool' +# label. + + +# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) +# ---------------------------------------- +# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. +m4_define([_LT_CONFIG_LIBTOOL_INIT], +[m4_ifval([$1], + [m4_append([_LT_OUTPUT_LIBTOOL_INIT], + [$1 +])])]) + +# Initialize. +m4_define([_LT_OUTPUT_LIBTOOL_INIT]) + + +# _LT_CONFIG_LIBTOOL([COMMANDS]) +# ------------------------------ +# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. +m4_define([_LT_CONFIG_LIBTOOL], +[m4_ifval([$1], + [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], + [$1 +])])]) + +# Initialize. +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) + + +# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) +# ----------------------------------------------------- +m4_defun([_LT_CONFIG_SAVE_COMMANDS], +[_LT_CONFIG_LIBTOOL([$1]) +_LT_CONFIG_LIBTOOL_INIT([$2]) +]) + + +# _LT_FORMAT_COMMENT([COMMENT]) +# ----------------------------- +# Add leading comment marks to the start of each line, and a trailing +# full-stop to the whole comment if one is not present already. +m4_define([_LT_FORMAT_COMMENT], +[m4_ifval([$1], [ +m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], + [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) +)]) + + + +## ------------------------ ## +## FIXME: Eliminate VARNAME ## +## ------------------------ ## + + +# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) +# ------------------------------------------------------------------- +# CONFIGNAME is the name given to the value in the libtool script. +# VARNAME is the (base) name used in the configure script. +# VALUE may be 0, 1 or 2 for a computed quote escaped value based on +# VARNAME. Any other value will be used directly. +m4_define([_LT_DECL], +[lt_if_append_uniq([lt_decl_varnames], [$2], [, ], + [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], + [m4_ifval([$1], [$1], [$2])]) + lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) + m4_ifval([$4], + [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) + lt_dict_add_subkey([lt_decl_dict], [$2], + [tagged?], [m4_ifval([$5], [yes], [no])])]) +]) + + +# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) +# -------------------------------------------------------- +m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) + + +# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) +# ------------------------------------------------ +m4_define([lt_decl_tag_varnames], +[_lt_decl_filter([tagged?], [yes], $@)]) + + +# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) +# --------------------------------------------------------- +m4_define([_lt_decl_filter], +[m4_case([$#], + [0], [m4_fatal([$0: too few arguments: $#])], + [1], [m4_fatal([$0: too few arguments: $#: $1])], + [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], + [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], + [lt_dict_filter([lt_decl_dict], $@)])[]dnl +]) + + +# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) +# -------------------------------------------------- +m4_define([lt_decl_quote_varnames], +[_lt_decl_filter([value], [1], $@)]) + + +# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) +# --------------------------------------------------- +m4_define([lt_decl_dquote_varnames], +[_lt_decl_filter([value], [2], $@)]) + + +# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) +# --------------------------------------------------- +m4_define([lt_decl_varnames_tagged], +[m4_assert([$# <= 2])dnl +_$0(m4_quote(m4_default([$1], [[, ]])), + m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), + m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) +m4_define([_lt_decl_varnames_tagged], +[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) + + +# lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) +# ------------------------------------------------ +m4_define([lt_decl_all_varnames], +[_$0(m4_quote(m4_default([$1], [[, ]])), + m4_if([$2], [], + m4_quote(lt_decl_varnames), + m4_quote(m4_shift($@))))[]dnl +]) +m4_define([_lt_decl_all_varnames], +[lt_join($@, lt_decl_varnames_tagged([$1], + lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl +]) + + +# _LT_CONFIG_STATUS_DECLARE([VARNAME]) +# ------------------------------------ +# Quote a variable value, and forward it to `config.status' so that its +# declaration there will have the same value as in `configure'. VARNAME +# must have a single quote delimited value for this to work. +m4_define([_LT_CONFIG_STATUS_DECLARE], +[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`']) + + +# _LT_CONFIG_STATUS_DECLARATIONS +# ------------------------------ +# We delimit libtool config variables with single quotes, so when +# we write them to config.status, we have to be sure to quote all +# embedded single quotes properly. In configure, this macro expands +# each variable declared with _LT_DECL (and _LT_TAGDECL) into: +# +# <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`' +m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], +[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), + [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) + + +# _LT_LIBTOOL_TAGS +# ---------------- +# Output comment and list of tags supported by the script +m4_defun([_LT_LIBTOOL_TAGS], +[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl +available_tags="_LT_TAGS"dnl +]) + + +# _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) +# ----------------------------------- +# Extract the dictionary values for VARNAME (optionally with TAG) and +# expand to a commented shell variable setting: +# +# # Some comment about what VAR is for. +# visible_name=$lt_internal_name +m4_define([_LT_LIBTOOL_DECLARE], +[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], + [description])))[]dnl +m4_pushdef([_libtool_name], + m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl +m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), + [0], [_libtool_name=[$]$1], + [1], [_libtool_name=$lt_[]$1], + [2], [_libtool_name=$lt_[]$1], + [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl +m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl +]) + + +# _LT_LIBTOOL_CONFIG_VARS +# ----------------------- +# Produce commented declarations of non-tagged libtool config variables +# suitable for insertion in the LIBTOOL CONFIG section of the `libtool' +# script. Tagged libtool config variables (even for the LIBTOOL CONFIG +# section) are produced by _LT_LIBTOOL_TAG_VARS. +m4_defun([_LT_LIBTOOL_CONFIG_VARS], +[m4_foreach([_lt_var], + m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) + + +# _LT_LIBTOOL_TAG_VARS(TAG) +# ------------------------- +m4_define([_LT_LIBTOOL_TAG_VARS], +[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) + + +# _LT_TAGVAR(VARNAME, [TAGNAME]) +# ------------------------------ +m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) + + +# _LT_CONFIG_COMMANDS +# ------------------- +# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of +# variables for single and double quote escaping we saved from calls +# to _LT_DECL, we can put quote escaped variables declarations +# into `config.status', and then the shell code to quote escape them in +# for loops in `config.status'. Finally, any additional code accumulated +# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. +m4_defun([_LT_CONFIG_COMMANDS], +[AC_PROVIDE_IFELSE([LT_OUTPUT], + dnl If the libtool generation code has been placed in $CONFIG_LT, + dnl instead of duplicating it all over again into config.status, + dnl then we will have config.status run $CONFIG_LT later, so it + dnl needs to know what name is stored there: + [AC_CONFIG_COMMANDS([libtool], + [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], + dnl If the libtool generation code is destined for config.status, + dnl expand the accumulated commands and init code now: + [AC_CONFIG_COMMANDS([libtool], + [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) +])#_LT_CONFIG_COMMANDS + + +# Initialize. +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], +[ + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +sed_quote_subst='$sed_quote_subst' +double_quote_subst='$double_quote_subst' +delay_variable_subst='$delay_variable_subst' +_LT_CONFIG_STATUS_DECLARATIONS +LTCC='$LTCC' +LTCFLAGS='$LTCFLAGS' +compiler='$compiler_DEFAULT' + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$[]1 +_LTECHO_EOF' +} + +# Quote evaled strings. +for var in lt_decl_all_varnames([[ \ +]], lt_decl_quote_varnames); do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[[\\\\\\\`\\"\\\$]]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +# Double-quote double-evaled strings. +for var in lt_decl_all_varnames([[ \ +]], lt_decl_dquote_varnames); do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[[\\\\\\\`\\"\\\$]]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +_LT_OUTPUT_LIBTOOL_INIT +]) + +# _LT_GENERATED_FILE_INIT(FILE, [COMMENT]) +# ------------------------------------ +# Generate a child script FILE with all initialization necessary to +# reuse the environment learned by the parent script, and make the +# file executable. If COMMENT is supplied, it is inserted after the +# `#!' sequence but before initialization text begins. After this +# macro, additional text can be appended to FILE to form the body of +# the child script. The macro ends with non-zero status if the +# file could not be fully written (such as if the disk is full). +m4_ifdef([AS_INIT_GENERATED], +[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])], +[m4_defun([_LT_GENERATED_FILE_INIT], +[m4_require([AS_PREPARE])]dnl +[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl +[lt_write_fail=0 +cat >$1 <<_ASEOF || lt_write_fail=1 +#! $SHELL +# Generated by $as_me. +$2 +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$1 <<\_ASEOF || lt_write_fail=1 +AS_SHELL_SANITIZE +_AS_PREPARE +exec AS_MESSAGE_FD>&1 +_ASEOF +test $lt_write_fail = 0 && chmod +x $1[]dnl +m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT + +# LT_OUTPUT +# --------- +# This macro allows early generation of the libtool script (before +# AC_OUTPUT is called), incase it is used in configure for compilation +# tests. +AC_DEFUN([LT_OUTPUT], +[: ${CONFIG_LT=./config.lt} +AC_MSG_NOTICE([creating $CONFIG_LT]) +_LT_GENERATED_FILE_INIT(["$CONFIG_LT"], +[# Run this file to recreate a libtool stub with the current configuration.]) + +cat >>"$CONFIG_LT" <<\_LTEOF +lt_cl_silent=false +exec AS_MESSAGE_LOG_FD>>config.log +{ + echo + AS_BOX([Running $as_me.]) +} >&AS_MESSAGE_LOG_FD + +lt_cl_help="\ +\`$as_me' creates a local libtool stub from the current configuration, +for use in further configure time tests before the real libtool is +generated. + +Usage: $[0] [[OPTIONS]] + + -h, --help print this help, then exit + -V, --version print version number, then exit + -q, --quiet do not print progress messages + -d, --debug don't remove temporary files + +Report bugs to <bug-libtool@gnu.org>." + +lt_cl_version="\ +m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl +m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) +configured by $[0], generated by m4_PACKAGE_STRING. + +Copyright (C) 2011 Free Software Foundation, Inc. +This config.lt script is free software; the Free Software Foundation +gives unlimited permision to copy, distribute and modify it." + +while test $[#] != 0 +do + case $[1] in + --version | --v* | -V ) + echo "$lt_cl_version"; exit 0 ;; + --help | --h* | -h ) + echo "$lt_cl_help"; exit 0 ;; + --debug | --d* | -d ) + debug=: ;; + --quiet | --q* | --silent | --s* | -q ) + lt_cl_silent=: ;; + + -*) AC_MSG_ERROR([unrecognized option: $[1] +Try \`$[0] --help' for more information.]) ;; + + *) AC_MSG_ERROR([unrecognized argument: $[1] +Try \`$[0] --help' for more information.]) ;; + esac + shift +done + +if $lt_cl_silent; then + exec AS_MESSAGE_FD>/dev/null +fi +_LTEOF + +cat >>"$CONFIG_LT" <<_LTEOF +_LT_OUTPUT_LIBTOOL_COMMANDS_INIT +_LTEOF + +cat >>"$CONFIG_LT" <<\_LTEOF +AC_MSG_NOTICE([creating $ofile]) +_LT_OUTPUT_LIBTOOL_COMMANDS +AS_EXIT(0) +_LTEOF +chmod +x "$CONFIG_LT" + +# configure is writing to config.log, but config.lt does its own redirection, +# appending to config.log, which fails on DOS, as config.log is still kept +# open by configure. Here we exec the FD to /dev/null, effectively closing +# config.log, so it can be properly (re)opened and appended to by config.lt. +lt_cl_success=: +test "$silent" = yes && + lt_config_lt_args="$lt_config_lt_args --quiet" +exec AS_MESSAGE_LOG_FD>/dev/null +$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false +exec AS_MESSAGE_LOG_FD>>config.log +$lt_cl_success || AS_EXIT(1) +])# LT_OUTPUT + + +# _LT_CONFIG(TAG) +# --------------- +# If TAG is the built-in tag, create an initial libtool script with a +# default configuration from the untagged config vars. Otherwise add code +# to config.status for appending the configuration named by TAG from the +# matching tagged config vars. +m4_defun([_LT_CONFIG], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +_LT_CONFIG_SAVE_COMMANDS([ + m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl + m4_if(_LT_TAG, [C], [ + # See if we are running on zsh, and set the options which allow our + # commands through without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + + cfgfile="${ofile}T" + trap "$RM \"$cfgfile\"; exit 1" 1 2 15 + $RM "$cfgfile" + + cat <<_LT_EOF >> "$cfgfile" +#! $SHELL + +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +_LT_COPYING +_LT_LIBTOOL_TAGS + +# ### BEGIN LIBTOOL CONFIG +_LT_LIBTOOL_CONFIG_VARS +_LT_LIBTOOL_TAG_VARS +# ### END LIBTOOL CONFIG + +_LT_EOF + + case $host_os in + aix3*) + cat <<\_LT_EOF >> "$cfgfile" +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +_LT_EOF + ;; + esac + + _LT_PROG_LTMAIN + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + _LT_PROG_REPLACE_SHELLFNS + + mv -f "$cfgfile" "$ofile" || + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" +], +[cat <<_LT_EOF >> "$ofile" + +dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded +dnl in a comment (ie after a #). +# ### BEGIN LIBTOOL TAG CONFIG: $1 +_LT_LIBTOOL_TAG_VARS(_LT_TAG) +# ### END LIBTOOL TAG CONFIG: $1 +_LT_EOF +])dnl /m4_if +], +[m4_if([$1], [], [ + PACKAGE='$PACKAGE' + VERSION='$VERSION' + TIMESTAMP='$TIMESTAMP' + RM='$RM' + ofile='$ofile'], []) +])dnl /_LT_CONFIG_SAVE_COMMANDS +])# _LT_CONFIG + + +# LT_SUPPORTED_TAG(TAG) +# --------------------- +# Trace this macro to discover what tags are supported by the libtool +# --tag option, using: +# autoconf --trace 'LT_SUPPORTED_TAG:$1' +AC_DEFUN([LT_SUPPORTED_TAG], []) + + +# C support is built-in for now +m4_define([_LT_LANG_C_enabled], []) +m4_define([_LT_TAGS], []) + + +# LT_LANG(LANG) +# ------------- +# Enable libtool support for the given language if not already enabled. +AC_DEFUN([LT_LANG], +[AC_BEFORE([$0], [LT_OUTPUT])dnl +m4_case([$1], + [C], [_LT_LANG(C)], + [C++], [_LT_LANG(CXX)], + [Go], [_LT_LANG(GO)], + [Java], [_LT_LANG(GCJ)], + [Fortran 77], [_LT_LANG(F77)], + [Fortran], [_LT_LANG(FC)], + [Windows Resource], [_LT_LANG(RC)], + [m4_ifdef([_LT_LANG_]$1[_CONFIG], + [_LT_LANG($1)], + [m4_fatal([$0: unsupported language: "$1"])])])dnl +])# LT_LANG + + +# _LT_LANG(LANGNAME) +# ------------------ +m4_defun([_LT_LANG], +[m4_ifdef([_LT_LANG_]$1[_enabled], [], + [LT_SUPPORTED_TAG([$1])dnl + m4_append([_LT_TAGS], [$1 ])dnl + m4_define([_LT_LANG_]$1[_enabled], [])dnl + _LT_LANG_$1_CONFIG($1)])dnl +])# _LT_LANG + + +m4_ifndef([AC_PROG_GO], [ +############################################################ +# NOTE: This macro has been submitted for inclusion into # +# GNU Autoconf as AC_PROG_GO. When it is available in # +# a released version of Autoconf we should remove this # +# macro and use it instead. # +############################################################ +m4_defun([AC_PROG_GO], +[AC_LANG_PUSH(Go)dnl +AC_ARG_VAR([GOC], [Go compiler command])dnl +AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl +_AC_ARG_VAR_LDFLAGS()dnl +AC_CHECK_TOOL(GOC, gccgo) +if test -z "$GOC"; then + if test -n "$ac_tool_prefix"; then + AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo]) + fi +fi +if test -z "$GOC"; then + AC_CHECK_PROG(GOC, gccgo, gccgo, false) +fi +])#m4_defun +])#m4_ifndef + + +# _LT_LANG_DEFAULT_CONFIG +# ----------------------- +m4_defun([_LT_LANG_DEFAULT_CONFIG], +[AC_PROVIDE_IFELSE([AC_PROG_CXX], + [LT_LANG(CXX)], + [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) + +AC_PROVIDE_IFELSE([AC_PROG_F77], + [LT_LANG(F77)], + [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) + +AC_PROVIDE_IFELSE([AC_PROG_FC], + [LT_LANG(FC)], + [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) + +dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal +dnl pulling things in needlessly. +AC_PROVIDE_IFELSE([AC_PROG_GCJ], + [LT_LANG(GCJ)], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], + [LT_LANG(GCJ)], + [AC_PROVIDE_IFELSE([LT_PROG_GCJ], + [LT_LANG(GCJ)], + [m4_ifdef([AC_PROG_GCJ], + [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) + m4_ifdef([A][M_PROG_GCJ], + [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) + m4_ifdef([LT_PROG_GCJ], + [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) + +AC_PROVIDE_IFELSE([AC_PROG_GO], + [LT_LANG(GO)], + [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])]) + +AC_PROVIDE_IFELSE([LT_PROG_RC], + [LT_LANG(RC)], + [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) +])# _LT_LANG_DEFAULT_CONFIG + +# Obsolete macros: +AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) +AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) +AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) +AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) +AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_CXX], []) +dnl AC_DEFUN([AC_LIBTOOL_F77], []) +dnl AC_DEFUN([AC_LIBTOOL_FC], []) +dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) +dnl AC_DEFUN([AC_LIBTOOL_RC], []) + + +# _LT_TAG_COMPILER +# ---------------- +m4_defun([_LT_TAG_COMPILER], +[AC_REQUIRE([AC_PROG_CC])dnl + +_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl +_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl +_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl +_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC +])# _LT_TAG_COMPILER + + +# _LT_COMPILER_BOILERPLATE +# ------------------------ +# Check for compiler boilerplate output or warnings with +# the simple compiler test code. +m4_defun([_LT_COMPILER_BOILERPLATE], +[m4_require([_LT_DECL_SED])dnl +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$RM conftest* +])# _LT_COMPILER_BOILERPLATE + + +# _LT_LINKER_BOILERPLATE +# ---------------------- +# Check for linker boilerplate output or warnings with +# the simple link test code. +m4_defun([_LT_LINKER_BOILERPLATE], +[m4_require([_LT_DECL_SED])dnl +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$RM -r conftest* +])# _LT_LINKER_BOILERPLATE + +# _LT_REQUIRED_DARWIN_CHECKS +# ------------------------- +m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ + case $host_os in + rhapsody* | darwin*) + AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) + AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) + AC_CHECK_TOOL([LIPO], [lipo], [:]) + AC_CHECK_TOOL([OTOOL], [otool], [:]) + AC_CHECK_TOOL([OTOOL64], [otool64], [:]) + _LT_DECL([], [DSYMUTIL], [1], + [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) + _LT_DECL([], [NMEDIT], [1], + [Tool to change global to local symbols on Mac OS X]) + _LT_DECL([], [LIPO], [1], + [Tool to manipulate fat objects and archives on Mac OS X]) + _LT_DECL([], [OTOOL], [1], + [ldd/readelf like tool for Mach-O binaries on Mac OS X]) + _LT_DECL([], [OTOOL64], [1], + [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) + + AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], + [lt_cv_apple_cc_single_mod=no + if test -z "${LT_MULTI_MODULE}"; then + # By default we will add the -single_module flag. You can override + # by either setting the environment variable LT_MULTI_MODULE + # non-empty at configure time, or by adding -multi_module to the + # link flags. + rm -rf libconftest.dylib* + echo "int foo(void){return 1;}" > conftest.c + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ +-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err + _lt_result=$? + # If there is a non-empty error log, and "single_module" + # appears in it, assume the flag caused a linker warning + if test -s conftest.err && $GREP single_module conftest.err; then + cat conftest.err >&AS_MESSAGE_LOG_FD + # Otherwise, if the output was created with a 0 exit code from + # the compiler, it worked. + elif test -f libconftest.dylib && test $_lt_result -eq 0; then + lt_cv_apple_cc_single_mod=yes + else + cat conftest.err >&AS_MESSAGE_LOG_FD + fi + rm -rf libconftest.dylib* + rm -f conftest.* + fi]) + + AC_CACHE_CHECK([for -exported_symbols_list linker flag], + [lt_cv_ld_exported_symbols_list], + [lt_cv_ld_exported_symbols_list=no + save_LDFLAGS=$LDFLAGS + echo "_main" > conftest.sym + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], + [lt_cv_ld_exported_symbols_list=yes], + [lt_cv_ld_exported_symbols_list=no]) + LDFLAGS="$save_LDFLAGS" + ]) + + AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], + [lt_cv_ld_force_load=no + cat > conftest.c << _LT_EOF +int forced_loaded() { return 2;} +_LT_EOF + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD + echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD + $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD + echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD + $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD + cat > conftest.c << _LT_EOF +int main() { return 0;} +_LT_EOF + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err + _lt_result=$? + if test -s conftest.err && $GREP force_load conftest.err; then + cat conftest.err >&AS_MESSAGE_LOG_FD + elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then + lt_cv_ld_force_load=yes + else + cat conftest.err >&AS_MESSAGE_LOG_FD + fi + rm -f conftest.err libconftest.a conftest conftest.c + rm -rf conftest.dSYM + ]) + case $host_os in + rhapsody* | darwin1.[[012]]) + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; + darwin1.*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + darwin*) # darwin 5.x on + # if running on 10.5 or later, the deployment target defaults + # to the OS version, if on x86, and 10.4, the deployment + # target defaults to 10.4. Don't you love it? + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in + 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + 10.[[012]]*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + 10.*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + esac + ;; + esac + if test "$lt_cv_apple_cc_single_mod" = "yes"; then + _lt_dar_single_mod='$single_module' + fi + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' + else + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then + _lt_dsymutil='~$DSYMUTIL $lib || :' + else + _lt_dsymutil= + fi + ;; + esac +]) + + +# _LT_DARWIN_LINKER_FEATURES([TAG]) +# --------------------------------- +# Checks for linker and compiler features on darwin +m4_defun([_LT_DARWIN_LINKER_FEATURES], +[ + m4_require([_LT_REQUIRED_DARWIN_CHECKS]) + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_automatic, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + if test "$lt_cv_ld_force_load" = "yes"; then + _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' + m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes], + [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes]) + else + _LT_TAGVAR(whole_archive_flag_spec, $1)='' + fi + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" + case $cc_basename in + ifort*) _lt_dar_can_shared=yes ;; + *) _lt_dar_can_shared=$GCC ;; + esac + if test "$_lt_dar_can_shared" = "yes"; then + output_verbose_link_cmd=func_echo_all + _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" + _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" + _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" + _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + m4_if([$1], [CXX], +[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then + _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" + _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" + fi +],[]) + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi +]) + +# _LT_SYS_MODULE_PATH_AIX([TAGNAME]) +# ---------------------------------- +# Links a minimal program and checks the executable +# for the system default hardcoded library path. In most cases, +# this is /usr/lib:/lib, but when the MPI compilers are used +# the location of the communication and MPI libs are included too. +# If we don't find anything, use the default library path according +# to the aix ld manual. +# Store the results from the different compilers for each TAGNAME. +# Allow to override them for all tags through lt_cv_aix_libpath. +m4_defun([_LT_SYS_MODULE_PATH_AIX], +[m4_require([_LT_DECL_SED])dnl +if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])], + [AC_LINK_IFELSE([AC_LANG_PROGRAM],[ + lt_aix_libpath_sed='[ + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }]' + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi],[]) + if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib" + fi + ]) + aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1]) +fi +])# _LT_SYS_MODULE_PATH_AIX + + +# _LT_SHELL_INIT(ARG) +# ------------------- +m4_define([_LT_SHELL_INIT], +[m4_divert_text([M4SH-INIT], [$1 +])])# _LT_SHELL_INIT + + + +# _LT_PROG_ECHO_BACKSLASH +# ----------------------- +# Find how we can fake an echo command that does not interpret backslash. +# In particular, with Autoconf 2.60 or later we add some code to the start +# of the generated configure script which will find a shell with a builtin +# printf (which we can use as an echo command). +m4_defun([_LT_PROG_ECHO_BACKSLASH], +[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + +AC_MSG_CHECKING([how to print strings]) +# Test print first, because it will be a builtin if present. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='print -r --' +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='printf %s\n' +else + # Use this function as a fallback that always works. + func_fallback_echo () + { + eval 'cat <<_LTECHO_EOF +$[]1 +_LTECHO_EOF' + } + ECHO='func_fallback_echo' +fi + +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "$*" +} + +case "$ECHO" in + printf*) AC_MSG_RESULT([printf]) ;; + print*) AC_MSG_RESULT([print -r]) ;; + *) AC_MSG_RESULT([cat]) ;; +esac + +m4_ifdef([_AS_DETECT_SUGGESTED], +[_AS_DETECT_SUGGESTED([ + test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || ( + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + PATH=/empty FPATH=/empty; export PATH FPATH + test "X`printf %s $ECHO`" = "X$ECHO" \ + || test "X`print -r -- $ECHO`" = "X$ECHO" )])]) + +_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) +_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes]) +])# _LT_PROG_ECHO_BACKSLASH + + +# _LT_WITH_SYSROOT +# ---------------- +AC_DEFUN([_LT_WITH_SYSROOT], +[AC_MSG_CHECKING([for sysroot]) +AC_ARG_WITH([sysroot], +[ --with-sysroot[=DIR] Search for dependent libraries within DIR + (or the compiler's sysroot if not specified).], +[], [with_sysroot=no]) + +dnl lt_sysroot will always be passed unquoted. We quote it here +dnl in case the user passed a directory name. +lt_sysroot= +case ${with_sysroot} in #( + yes) + if test "$GCC" = yes; then + lt_sysroot=`$CC --print-sysroot 2>/dev/null` + fi + ;; #( + /*) + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` + ;; #( + no|'') + ;; #( + *) + AC_MSG_RESULT([${with_sysroot}]) + AC_MSG_ERROR([The sysroot must be an absolute path.]) + ;; +esac + + AC_MSG_RESULT([${lt_sysroot:-no}]) +_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl +[dependent libraries, and in which our libraries should be installed.])]) + +# _LT_ENABLE_LOCK +# --------------- +m4_defun([_LT_ENABLE_LOCK], +[AC_ARG_ENABLE([libtool-lock], + [AS_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ +s390*-*linux*|s390*-*tpf*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.o` in + *32-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_i386_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*|powerpc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_x86_64_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*|s390*-*tpf*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, + [AC_LANG_PUSH(C) + AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) + AC_LANG_POP]) + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +*-*solaris*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.o` in + *64-bit*) + case $lt_cv_prog_gnu_ld in + yes*) + case $host in + i?86-*-solaris*) + LD="${LD-ld} -m elf_x86_64" + ;; + sparc*-*-solaris*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + # GNU ld 2.21 introduced _sol2 emulations. Use them if available. + if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then + LD="${LD-ld}_sol2" + fi + ;; + *) + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then + LD="${LD-ld} -64" + fi + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; +esac + +need_locks="$enable_libtool_lock" +])# _LT_ENABLE_LOCK + + +# _LT_PROG_AR +# ----------- +m4_defun([_LT_PROG_AR], +[AC_CHECK_TOOLS(AR, [ar], false) +: ${AR=ar} +: ${AR_FLAGS=cru} +_LT_DECL([], [AR], [1], [The archiver]) +_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) + +AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], + [lt_cv_ar_at_file=no + AC_COMPILE_IFELSE([AC_LANG_PROGRAM], + [echo conftest.$ac_objext > conftest.lst + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD' + AC_TRY_EVAL([lt_ar_try]) + if test "$ac_status" -eq 0; then + # Ensure the archiver fails upon bogus file names. + rm -f conftest.$ac_objext libconftest.a + AC_TRY_EVAL([lt_ar_try]) + if test "$ac_status" -ne 0; then + lt_cv_ar_at_file=@ + fi + fi + rm -f conftest.* libconftest.a + ]) + ]) + +if test "x$lt_cv_ar_at_file" = xno; then + archiver_list_spec= +else + archiver_list_spec=$lt_cv_ar_at_file +fi +_LT_DECL([], [archiver_list_spec], [1], + [How to feed a file listing to the archiver]) +])# _LT_PROG_AR + + +# _LT_CMD_OLD_ARCHIVE +# ------------------- +m4_defun([_LT_CMD_OLD_ARCHIVE], +[_LT_PROG_AR + +AC_CHECK_TOOL(STRIP, strip, :) +test -z "$STRIP" && STRIP=: +_LT_DECL([], [STRIP], [1], [A symbol stripping program]) + +AC_CHECK_TOOL(RANLIB, ranlib, :) +test -z "$RANLIB" && RANLIB=: +_LT_DECL([], [RANLIB], [1], + [Commands used to install an old-style archive]) + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" + ;; + *) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" +fi + +case $host_os in + darwin*) + lock_old_archive_extraction=yes ;; + *) + lock_old_archive_extraction=no ;; +esac +_LT_DECL([], [old_postinstall_cmds], [2]) +_LT_DECL([], [old_postuninstall_cmds], [2]) +_LT_TAGDECL([], [old_archive_cmds], [2], + [Commands used to build an old-style archive]) +_LT_DECL([], [lock_old_archive_extraction], [0], + [Whether to use a lock for old archive extraction]) +])# _LT_CMD_OLD_ARCHIVE + + +# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------------------- +# Check whether the given compiler option works +AC_DEFUN([_LT_COMPILER_OPTION], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_SED])dnl +AC_CACHE_CHECK([$1], [$2], + [$2=no + m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$3" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + $2=yes + fi + fi + $RM conftest* +]) + +if test x"[$]$2" = xyes; then + m4_if([$5], , :, [$5]) +else + m4_if([$6], , :, [$6]) +fi +])# _LT_COMPILER_OPTION + +# Old name: +AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) + + +# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------- +# Check whether the given linker option works +AC_DEFUN([_LT_LINKER_OPTION], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_SED])dnl +AC_CACHE_CHECK([$1], [$2], + [$2=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $3" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&AS_MESSAGE_LOG_FD + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + $2=yes + fi + else + $2=yes + fi + fi + $RM -r conftest* + LDFLAGS="$save_LDFLAGS" +]) + +if test x"[$]$2" = xyes; then + m4_if([$4], , :, [$4]) +else + m4_if([$5], , :, [$5]) +fi +])# _LT_LINKER_OPTION + +# Old name: +AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) + + +# LT_CMD_MAX_LEN +#--------------- +AC_DEFUN([LT_CMD_MAX_LEN], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +# find the maximum length of command line arguments +AC_MSG_CHECKING([the maximum length of command line arguments]) +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl + i=0 + teststring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw* | cegcc*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + mint*) + # On MiNT this can take a long time and run out of memory. + lt_cv_sys_max_cmd_len=8192; + ;; + + amigaos*) + # On AmigaOS with pdksh, this test takes hours, literally. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; + ;; + + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + ;; + + interix*) + # We know the value 262144 and hardcode it with a safety zone (like BSD) + lt_cv_sys_max_cmd_len=196608 + ;; + + os2*) + # The test takes a long time on OS/2. + lt_cv_sys_max_cmd_len=8192 + ;; + + osf*) + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not + # nice to cause kernel panics so lets avoid the loop below. + # First set a reasonable default. + lt_cv_sys_max_cmd_len=16384 + # + if test -x /sbin/sysconfig; then + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in + *1*) lt_cv_sys_max_cmd_len=-1 ;; + esac + fi + ;; + sco3.2v5*) + lt_cv_sys_max_cmd_len=102400 + ;; + sysv5* | sco5v6* | sysv4.2uw2*) + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` + if test -n "$kargmax"; then + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` + else + lt_cv_sys_max_cmd_len=32768 + fi + ;; + *) + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` + if test -n "$lt_cv_sys_max_cmd_len"; then + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + else + # Make teststring a little bigger before we do anything with it. + # a 1K string should be a reasonable start. + for i in 1 2 3 4 5 6 7 8 ; do + teststring=$teststring$teststring + done + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ + = "X$teststring$teststring"; } >/dev/null 2>&1 && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + teststring=$teststring$teststring + done + # Only check the string length outside the loop. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` + teststring= + # Add a significant safety factor because C++ compilers can tack on + # massive amounts of additional arguments before passing them to the + # linker. It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + fi + ;; + esac +]) +if test -n $lt_cv_sys_max_cmd_len ; then + AC_MSG_RESULT($lt_cv_sys_max_cmd_len) +else + AC_MSG_RESULT(none) +fi +max_cmd_len=$lt_cv_sys_max_cmd_len +_LT_DECL([], [max_cmd_len], [0], + [What is the maximum length of a command?]) +])# LT_CMD_MAX_LEN + +# Old name: +AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) + + +# _LT_HEADER_DLFCN +# ---------------- +m4_defun([_LT_HEADER_DLFCN], +[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl +])# _LT_HEADER_DLFCN + + +# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) +# ---------------------------------------------------------------- +m4_defun([_LT_TRY_DLOPEN_SELF], +[m4_require([_LT_HEADER_DLFCN])dnl +if test "$cross_compiling" = yes; then : + [$4] +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +[#line $LINENO "configure" +#include "confdefs.h" + +#if HAVE_DLFCN_H +#include <dlfcn.h> +#endif + +#include <stdio.h> + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif + +int fnord () { return 42; } +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } + /* dlclose (self); */ + } + else + puts (dlerror ()); + + return status; +}] +_LT_EOF + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) $1 ;; + x$lt_dlneed_uscore) $2 ;; + x$lt_dlunknown|x*) $3 ;; + esac + else : + # compilation failed + $3 + fi +fi +rm -fr conftest* +])# _LT_TRY_DLOPEN_SELF + + +# LT_SYS_DLOPEN_SELF +# ------------------ +AC_DEFUN([LT_SYS_DLOPEN_SELF], +[m4_require([_LT_HEADER_DLFCN])dnl +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32* | cegcc*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ]) + ;; + + *) + AC_CHECK_FUNC([shl_load], + [lt_cv_dlopen="shl_load"], + [AC_CHECK_LIB([dld], [shl_load], + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], + [AC_CHECK_FUNC([dlopen], + [lt_cv_dlopen="dlopen"], + [AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], + [AC_CHECK_LIB([svld], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], + [AC_CHECK_LIB([dld], [dld_link], + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) + ]) + ]) + ]) + ]) + ]) + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + AC_CACHE_CHECK([whether a program can dlopen itself], + lt_cv_dlopen_self, [dnl + _LT_TRY_DLOPEN_SELF( + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) + ]) + + if test "x$lt_cv_dlopen_self" = xyes; then + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" + AC_CACHE_CHECK([whether a statically linked program can dlopen itself], + lt_cv_dlopen_self_static, [dnl + _LT_TRY_DLOPEN_SELF( + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) + ]) + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi +_LT_DECL([dlopen_support], [enable_dlopen], [0], + [Whether dlopen is supported]) +_LT_DECL([dlopen_self], [enable_dlopen_self], [0], + [Whether dlopen of programs is supported]) +_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], + [Whether dlopen of statically linked programs is supported]) +])# LT_SYS_DLOPEN_SELF + +# Old name: +AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) + + +# _LT_COMPILER_C_O([TAGNAME]) +# --------------------------- +# Check to see if options -c and -o are simultaneously supported by compiler. +# This macro does not hard code the compiler like AC_PROG_CC_C_O. +m4_defun([_LT_COMPILER_C_O], +[m4_require([_LT_DECL_SED])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_TAG_COMPILER])dnl +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + fi + fi + chmod u+w . 2>&AS_MESSAGE_LOG_FD + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* +]) +_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], + [Does compiler simultaneously support -c and -o options?]) +])# _LT_COMPILER_C_O + + +# _LT_COMPILER_FILE_LOCKS([TAGNAME]) +# ---------------------------------- +# Check to see if we can do hard links to lock some files if needed +m4_defun([_LT_COMPILER_FILE_LOCKS], +[m4_require([_LT_ENABLE_LOCK])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +_LT_COMPILER_C_O([$1]) + +hard_links="nottested" +if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + AC_MSG_CHECKING([if we can lock with hard links]) + hard_links=yes + $RM conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + AC_MSG_RESULT([$hard_links]) + if test "$hard_links" = no; then + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) + need_locks=warn + fi +else + need_locks=no +fi +_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) +])# _LT_COMPILER_FILE_LOCKS + + +# _LT_CHECK_OBJDIR +# ---------------- +m4_defun([_LT_CHECK_OBJDIR], +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], +[rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null]) +objdir=$lt_cv_objdir +_LT_DECL([], [objdir], [0], + [The name of the directory that contains temporary libtool files])dnl +m4_pattern_allow([LT_OBJDIR])dnl +AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/", + [Define to the sub-directory in which libtool stores uninstalled libraries.]) +])# _LT_CHECK_OBJDIR + + +# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) +# -------------------------------------- +# Check hardcoding attributes. +m4_defun([_LT_LINKER_HARDCODE_LIBPATH], +[AC_MSG_CHECKING([how to hardcode library paths into programs]) +_LT_TAGVAR(hardcode_action, $1)= +if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || + test -n "$_LT_TAGVAR(runpath_var, $1)" || + test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then + + # We can hardcode non-existent directories. + if test "$_LT_TAGVAR(hardcode_direct, $1)" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no && + test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then + # Linking always hardcodes the temporary library directory. + _LT_TAGVAR(hardcode_action, $1)=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + _LT_TAGVAR(hardcode_action, $1)=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + _LT_TAGVAR(hardcode_action, $1)=unsupported +fi +AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) + +if test "$_LT_TAGVAR(hardcode_action, $1)" = relink || + test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi +_LT_TAGDECL([], [hardcode_action], [0], + [How to hardcode a shared library path into an executable]) +])# _LT_LINKER_HARDCODE_LIBPATH + + +# _LT_CMD_STRIPLIB +# ---------------- +m4_defun([_LT_CMD_STRIPLIB], +[m4_require([_LT_DECL_EGREP]) +striplib= +old_striplib= +AC_MSG_CHECKING([whether stripping libraries is possible]) +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + AC_MSG_RESULT([yes]) +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + old_striplib="$STRIP -S" + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + fi + ;; + *) + AC_MSG_RESULT([no]) + ;; + esac +fi +_LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) +_LT_DECL([], [striplib], [1]) +])# _LT_CMD_STRIPLIB + + +# _LT_SYS_DYNAMIC_LINKER([TAG]) +# ----------------------------- +# PORTME Fill in your ld.so characteristics +m4_defun([_LT_SYS_DYNAMIC_LINKER], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_OBJDUMP])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_CHECK_SHELL_FEATURES])dnl +AC_MSG_CHECKING([dynamic linker characteristics]) +m4_if([$1], + [], [ +if test "$GCC" = yes; then + case $host_os in + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; + *) lt_awk_arg="/^libraries:/" ;; + esac + case $host_os in + mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;; + *) lt_sed_strip_eq="s,=/,/,g" ;; + esac + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` + case $lt_search_path_spec in + *\;*) + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` + ;; + *) + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` + ;; + esac + # Ok, now we have the path, separated by spaces, we can step through it + # and add multilib dir if necessary. + lt_tmp_lt_search_path_spec= + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` + for lt_sys_path in $lt_search_path_spec; do + if test -d "$lt_sys_path/$lt_multi_os_dir"; then + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" + else + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' +BEGIN {RS=" "; FS="/|\n";} { + lt_foo=""; + lt_count=0; + for (lt_i = NF; lt_i > 0; lt_i--) { + if ($lt_i != "" && $lt_i != ".") { + if ($lt_i == "..") { + lt_count++; + } else { + if (lt_count == 0) { + lt_foo="/" $lt_i lt_foo; + } else { + lt_count--; + } + } + } + } + if (lt_foo != "") { lt_freq[[lt_foo]]++; } + if (lt_freq[[lt_foo]] == 1) { print lt_foo; } +}'` + # AWK program above erroneously prepends '/' to C:/dos/paths + # for these hosts. + case $host_os in + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ + $SED 's,/\([[A-Za-z]]:\),\1,g'` ;; + esac + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi]) +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix[[4-9]]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[[01]] | aix4.[[01]].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib<name>.so + # instead of lib<name>.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + case $host_cpu in + powerpc) + # Since July 2007 AmigaOS4 officially supports .so libraries. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + ;; + m68k) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + esac + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[[45]]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32* | cegcc*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$cc_basename in + yes,*) + # gcc + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; + fi' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' +m4_if([$1], [],[ + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + ;; + esac + dynamic_linker='Win32 ld.exe' + ;; + + *,cl*) + # Native MSVC + libname_spec='$name' + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + library_names_spec='${libname}.dll.lib' + + case $build_os in + mingw*) + sys_lib_search_path_spec= + lt_save_ifs=$IFS + IFS=';' + for lt_path in $LIB + do + IFS=$lt_save_ifs + # Let DOS variable expansion print the short 8.3 style file name. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" + done + IFS=$lt_save_ifs + # Convert to MSYS style. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'` + ;; + cygwin*) + # Convert to unix form, then to dos form, then back to unix form + # but this time dos style (no spaces!) so that the unix form looks + # like /cygdrive/c/PROGRA~1:/cygdr... + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + ;; + *) + sys_lib_search_path_spec="$LIB" + if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then + # It is most probably a Windows format PATH. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # FIXME: find the short name or the path components, as spaces are + # common. (e.g. "Program Files" -> "PROGRA~1") + ;; + esac + + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + dynamic_linker='Win32 link.exe' + ;; + + *) + # Assume MSVC wrapper + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' + dynamic_linker='Win32 ld.exe' + ;; + esac + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' +m4_if([$1], [],[ + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[[23]].*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2.*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[[01]]* | freebsdelf3.[[01]]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +haiku*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + dynamic_linker="$host_os runtime_loader" + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LIBRARY_PATH + shlibpath_overrides_runpath=yes + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555, ... + postinstall_cmds='chmod 555 $lib' + # or fails outright, so override atomically: + install_override_mode=555 + ;; + +interix[[3-9]]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux # correct to gnu/linux during the next big refactor + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + + # Some binutils ld are patched to set DT_RUNPATH + AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath], + [lt_cv_shlibpath_overrides_runpath=no + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ + LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], + [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], + [lt_cv_shlibpath_overrides_runpath=yes])]) + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + ]) + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath + + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # Add ABI-specific directories to the system library path. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" + + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +*nto* | *qnx*) + version_type=qnx + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='ldqnx.so' + ;; + +openbsd*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[[89]] | openbsd2.[[89]].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=freebsd-elf + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + if test "$with_gnu_ld" = yes; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +tpf*) + # TPF is a cross-target only. Preferred cross-host = GNU/Linux. + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +uts4*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +AC_MSG_RESULT([$dynamic_linker]) +test "$dynamic_linker" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" +fi +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" +fi + +_LT_DECL([], [variables_saved_for_relink], [1], + [Variables whose values should be saved in libtool wrapper scripts and + restored at link time]) +_LT_DECL([], [need_lib_prefix], [0], + [Do we need the "lib" prefix for modules?]) +_LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) +_LT_DECL([], [version_type], [0], [Library versioning type]) +_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) +_LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) +_LT_DECL([], [shlibpath_overrides_runpath], [0], + [Is shlibpath searched before the hard-coded library search path?]) +_LT_DECL([], [libname_spec], [1], [Format of library name prefix]) +_LT_DECL([], [library_names_spec], [1], + [[List of archive names. First name is the real one, the rest are links. + The last name is the one that the linker finds with -lNAME]]) +_LT_DECL([], [soname_spec], [1], + [[The coded name of the library, if different from the real name]]) +_LT_DECL([], [install_override_mode], [1], + [Permission mode override for installation of shared libraries]) +_LT_DECL([], [postinstall_cmds], [2], + [Command to use after installation of a shared archive]) +_LT_DECL([], [postuninstall_cmds], [2], + [Command to use after uninstallation of a shared archive]) +_LT_DECL([], [finish_cmds], [2], + [Commands used to finish a libtool library installation in a directory]) +_LT_DECL([], [finish_eval], [1], + [[As "finish_cmds", except a single script fragment to be evaled but + not shown]]) +_LT_DECL([], [hardcode_into_libs], [0], + [Whether we should hardcode library paths into libraries]) +_LT_DECL([], [sys_lib_search_path_spec], [2], + [Compile-time system search path for libraries]) +_LT_DECL([], [sys_lib_dlsearch_path_spec], [2], + [Run-time system search path for libraries]) +])# _LT_SYS_DYNAMIC_LINKER + + +# _LT_PATH_TOOL_PREFIX(TOOL) +# -------------------------- +# find a file program which can recognize shared library +AC_DEFUN([_LT_PATH_TOOL_PREFIX], +[m4_require([_LT_DECL_EGREP])dnl +AC_MSG_CHECKING([for $1]) +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, +[case $MAGIC_CMD in +[[\\/*] | ?:[\\/]*]) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR +dnl $ac_dummy forces splitting on constant user-supplied paths. +dnl POSIX.2 word splitting is done only on the output of word expansions, +dnl not every word. This closes a longstanding sh security hole. + ac_dummy="m4_if([$2], , $PATH, [$2])" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$1; then + lt_cv_path_MAGIC_CMD="$ac_dir/$1" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<_LT_EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +_LT_EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac]) +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + AC_MSG_RESULT($MAGIC_CMD) +else + AC_MSG_RESULT(no) +fi +_LT_DECL([], [MAGIC_CMD], [0], + [Used to examine libraries when file_magic_cmd begins with "file"])dnl +])# _LT_PATH_TOOL_PREFIX + +# Old name: +AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) + + +# _LT_PATH_MAGIC +# -------------- +# find a file program which can recognize a shared library +m4_defun([_LT_PATH_MAGIC], +[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) + else + MAGIC_CMD=: + fi +fi +])# _LT_PATH_MAGIC + + +# LT_PATH_LD +# ---------- +# find the pathname to the GNU or non-GNU linker +AC_DEFUN([LT_PATH_LD], +[AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_PROG_ECHO_BACKSLASH])dnl + +AC_ARG_WITH([gnu-ld], + [AS_HELP_STRING([--with-gnu-ld], + [assume the C compiler uses GNU ld @<:@default=no@:>@])], + [test "$withval" = no || with_gnu_ld=yes], + [with_gnu_ld=no])dnl + +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + AC_MSG_CHECKING([for ld used by $CC]) + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [[\\/]]* | ?:[[\\/]]*) + re_direlt='/[[^/]][[^/]]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + AC_MSG_CHECKING([for GNU ld]) +else + AC_MSG_CHECKING([for non-GNU ld]) +fi +AC_CACHE_VAL(lt_cv_path_LD, +[if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in + *GNU* | *'with BFD'*) + test "$with_gnu_ld" != no && break + ;; + *) + test "$with_gnu_ld" != yes && break + ;; + esac + fi + done + IFS="$lt_save_ifs" +else + lt_cv_path_LD="$LD" # Let the user override the test with a path. +fi]) +LD="$lt_cv_path_LD" +if test -n "$LD"; then + AC_MSG_RESULT($LD) +else + AC_MSG_RESULT(no) +fi +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) +_LT_PATH_LD_GNU +AC_SUBST([LD]) + +_LT_TAGDECL([], [LD], [1], [The linker used to build libraries]) +])# LT_PATH_LD + +# Old names: +AU_ALIAS([AM_PROG_LD], [LT_PATH_LD]) +AU_ALIAS([AC_PROG_LD], [LT_PATH_LD]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_PROG_LD], []) +dnl AC_DEFUN([AC_PROG_LD], []) + + +# _LT_PATH_LD_GNU +#- -------------- +m4_defun([_LT_PATH_LD_GNU], +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, +[# I'd rather use --version here, but apparently some GNU lds only accept -v. +case `$LD -v 2>&1 </dev/null` in +*GNU* | *'with BFD'*) + lt_cv_prog_gnu_ld=yes + ;; +*) + lt_cv_prog_gnu_ld=no + ;; +esac]) +with_gnu_ld=$lt_cv_prog_gnu_ld +])# _LT_PATH_LD_GNU + + +# _LT_CMD_RELOAD +# -------------- +# find reload flag for linker +# -- PORTME Some linkers may need a different reload flag. +m4_defun([_LT_CMD_RELOAD], +[AC_CACHE_CHECK([for $LD option to reload object files], + lt_cv_ld_reload_flag, + [lt_cv_ld_reload_flag='-r']) +reload_flag=$lt_cv_ld_reload_flag +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' +case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + if test "$GCC" != yes; then + reload_cmds=false + fi + ;; + darwin*) + if test "$GCC" = yes; then + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' + else + reload_cmds='$LD$reload_flag -o $output$reload_objs' + fi + ;; +esac +_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl +_LT_TAGDECL([], [reload_cmds], [2])dnl +])# _LT_CMD_RELOAD + + +# _LT_CHECK_MAGIC_METHOD +# ---------------------- +# how to check for library dependencies +# -- PORTME fill in with the dynamic library characteristics +m4_defun([_LT_CHECK_MAGIC_METHOD], +[m4_require([_LT_DECL_EGREP]) +m4_require([_LT_DECL_OBJDUMP]) +AC_CACHE_CHECK([how to recognize dependent libraries], +lt_cv_deplibs_check_method, +[lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_deplibs_check_method='unknown' +# Need to set the preceding variable on all platforms that support +# interlibrary dependencies. +# 'none' -- dependencies not supported. +# `unknown' -- same as none, but documents that we really don't know. +# 'pass_all' -- all dependencies passed with no checks. +# 'test_compile' -- check by making test program. +# 'file_magic [[regex]]' -- check by looking for files in library path +# which responds to the $file_magic_cmd with a given extended regex. +# If you have `file' or equivalent on your system and you're not sure +# whether `pass_all' will *always* work, you probably want this one. + +case $host_os in +aix[[4-9]]*) + lt_cv_deplibs_check_method=pass_all + ;; + +beos*) + lt_cv_deplibs_check_method=pass_all + ;; + +bsdi[[45]]*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' + lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_test_file=/shlib/libc.so + ;; + +cygwin*) + # func_win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + ;; + +mingw* | pw32*) + # Base MSYS/MinGW do not provide the 'file' command needed by + # func_win32_libid shell function, so use a weaker test based on 'objdump', + # unless we find 'file', for example because we are cross-compiling. + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. + if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + else + # Keep this pattern in sync with the one in func_win32_libid. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' + lt_cv_file_magic_cmd='$OBJDUMP -f' + fi + ;; + +cegcc*) + # use the weaker test based on 'objdump'. See mingw*. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + ;; + +darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +freebsd* | dragonfly*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +haiku*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case $host_cpu in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'] + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac + ;; + +interix[[3-9]]*) + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' + ;; + +irix5* | irix6* | nonstopux*) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + lt_cv_deplibs_check_method=pass_all + ;; + +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + lt_cv_deplibs_check_method=pass_all + ;; + +netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' + fi + ;; + +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +*nto* | *qnx*) + lt_cv_deplibs_check_method=pass_all + ;; + +openbsd*) + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + fi + ;; + +osf3* | osf4* | osf5*) + lt_cv_deplibs_check_method=pass_all + ;; + +rdos*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv4 | sysv4.3*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; + pc) + lt_cv_deplibs_check_method=pass_all + ;; + esac + ;; + +tpf*) + lt_cv_deplibs_check_method=pass_all + ;; +esac +]) + +file_magic_glob= +want_nocaseglob=no +if test "$build" = "$host"; then + case $host_os in + mingw* | pw32*) + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then + want_nocaseglob=yes + else + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"` + fi + ;; + esac +fi + +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown + +_LT_DECL([], [deplibs_check_method], [1], + [Method to check whether dependent libraries are shared objects]) +_LT_DECL([], [file_magic_cmd], [1], + [Command to use when deplibs_check_method = "file_magic"]) +_LT_DECL([], [file_magic_glob], [1], + [How to find potential files when deplibs_check_method = "file_magic"]) +_LT_DECL([], [want_nocaseglob], [1], + [Find potential files using nocaseglob when deplibs_check_method = "file_magic"]) +])# _LT_CHECK_MAGIC_METHOD + + +# LT_PATH_NM +# ---------- +# find the pathname to a BSD- or MS-compatible name lister +AC_DEFUN([LT_PATH_NM], +[AC_REQUIRE([AC_PROG_CC])dnl +AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, +[if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_nm_to_check="${ac_tool_prefix}nm" + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then + lt_nm_to_check="$lt_nm_to_check nm" + fi + for lt_tmp_nm in $lt_nm_to_check; do + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/$lt_tmp_nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + ;; + esac + fi + done + IFS="$lt_save_ifs" + done + : ${lt_cv_path_NM=no} +fi]) +if test "$lt_cv_path_NM" != "no"; then + NM="$lt_cv_path_NM" +else + # Didn't find any BSD compatible name lister, look for dumpbin. + if test -n "$DUMPBIN"; then : + # Let the user override the test. + else + AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in + *COFF*) + DUMPBIN="$DUMPBIN -symbols" + ;; + *) + DUMPBIN=: + ;; + esac + fi + AC_SUBST([DUMPBIN]) + if test "$DUMPBIN" != ":"; then + NM="$DUMPBIN" + fi +fi +test -z "$NM" && NM=nm +AC_SUBST([NM]) +_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl + +AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], + [lt_cv_nm_interface="BSD nm" + echo "int some_variable = 0;" > conftest.$ac_ext + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$ac_compile" 2>conftest.err) + cat conftest.err >&AS_MESSAGE_LOG_FD + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) + cat conftest.err >&AS_MESSAGE_LOG_FD + (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD) + cat conftest.out >&AS_MESSAGE_LOG_FD + if $GREP 'External.*some_variable' conftest.out > /dev/null; then + lt_cv_nm_interface="MS dumpbin" + fi + rm -f conftest*]) +])# LT_PATH_NM + +# Old names: +AU_ALIAS([AM_PROG_NM], [LT_PATH_NM]) +AU_ALIAS([AC_PROG_NM], [LT_PATH_NM]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_PROG_NM], []) +dnl AC_DEFUN([AC_PROG_NM], []) + +# _LT_CHECK_SHAREDLIB_FROM_LINKLIB +# -------------------------------- +# how to determine the name of the shared library +# associated with a specific link library. +# -- PORTME fill in with the dynamic library characteristics +m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB], +[m4_require([_LT_DECL_EGREP]) +m4_require([_LT_DECL_OBJDUMP]) +m4_require([_LT_DECL_DLLTOOL]) +AC_CACHE_CHECK([how to associate runtime and link libraries], +lt_cv_sharedlib_from_linklib_cmd, +[lt_cv_sharedlib_from_linklib_cmd='unknown' + +case $host_os in +cygwin* | mingw* | pw32* | cegcc*) + # two different shell functions defined in ltmain.sh + # decide which to use based on capabilities of $DLLTOOL + case `$DLLTOOL --help 2>&1` in + *--identify-strict*) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib + ;; + *) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback + ;; + esac + ;; +*) + # fallback: assume linklib IS sharedlib + lt_cv_sharedlib_from_linklib_cmd="$ECHO" + ;; +esac +]) +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO + +_LT_DECL([], [sharedlib_from_linklib_cmd], [1], + [Command to associate shared and link libraries]) +])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB + + +# _LT_PATH_MANIFEST_TOOL +# ---------------------- +# locate the manifest tool +m4_defun([_LT_PATH_MANIFEST_TOOL], +[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :) +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt +AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool], + [lt_cv_path_mainfest_tool=no + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out + cat conftest.err >&AS_MESSAGE_LOG_FD + if $GREP 'Manifest Tool' conftest.out > /dev/null; then + lt_cv_path_mainfest_tool=yes + fi + rm -f conftest*]) +if test "x$lt_cv_path_mainfest_tool" != xyes; then + MANIFEST_TOOL=: +fi +_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl +])# _LT_PATH_MANIFEST_TOOL + + +# LT_LIB_M +# -------- +# check for math library +AC_DEFUN([LT_LIB_M], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +LIBM= +case $host in +*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) + # These system don't have libm, or don't need it + ;; +*-ncr-sysv4.3*) + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") + ;; +*) + AC_CHECK_LIB(m, cos, LIBM="-lm") + ;; +esac +AC_SUBST([LIBM]) +])# LT_LIB_M + +# Old name: +AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_CHECK_LIBM], []) + + +# _LT_COMPILER_NO_RTTI([TAGNAME]) +# ------------------------------- +m4_defun([_LT_COMPILER_NO_RTTI], +[m4_require([_LT_TAG_COMPILER])dnl + +_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= + +if test "$GCC" = yes; then + case $cc_basename in + nvcc*) + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;; + *) + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;; + esac + + _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], + lt_cv_prog_compiler_rtti_exceptions, + [-fno-rtti -fno-exceptions], [], + [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) +fi +_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1], + [Compiler flag to turn off builtin functions]) +])# _LT_COMPILER_NO_RTTI + + +# _LT_CMD_GLOBAL_SYMBOLS +# ---------------------- +m4_defun([_LT_CMD_GLOBAL_SYMBOLS], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([LT_PATH_NM])dnl +AC_REQUIRE([LT_PATH_LD])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_TAG_COMPILER])dnl + +# Check for command to grab the raw symbol name followed by C symbol from nm. +AC_MSG_CHECKING([command to parse $NM output from $compiler object]) +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], +[ +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[[BCDEGRST]]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[[BCDT]]' + ;; +cygwin* | mingw* | pw32* | cegcc*) + symcode='[[ABCDGISTW]]' + ;; +hpux*) + if test "$host_cpu" = ia64; then + symcode='[[ABCDEGRST]]' + fi + ;; +irix* | nonstopux*) + symcode='[[BCDEGRST]]' + ;; +osf*) + symcode='[[BCDEGQRST]]' + ;; +solaris*) + symcode='[[BDRT]]' + ;; +sco3.2v5*) + symcode='[[DT]]' + ;; +sysv4.2uw2*) + symcode='[[DT]]' + ;; +sysv5* | sco5v6* | unixware* | OpenUNIX*) + symcode='[[ABDT]]' + ;; +sysv4) + symcode='[[DFNSTU]]' + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[[ABCDGIRSTW]]' ;; +esac + +# Transform an extracted symbol line into a proper C declaration. +# Some systems (esp. on ia64) link data and code symbols differently, +# so use this general approach. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'" +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'" + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# Try without a prefix underscore, then with it. +for ac_symprfx in "" "_"; do + + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. + symxfrm="\\1 $ac_symprfx\\2 \\2" + + # Write the raw and C identifiers. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then + # Fake it for dumpbin and say T for any non-static function + # and D for any global variable. + # Also find C++ and __fastcall symbols from MSVC++, + # which start with @ or ?. + lt_cv_sys_global_symbol_pipe="$AWK ['"\ +" {last_section=section; section=\$ 3};"\ +" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ +" \$ 0!~/External *\|/{next};"\ +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ +" {if(hide[section]) next};"\ +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ +" s[1]~/^[@?]/{print s[1], s[1]; next};"\ +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ +" ' prfx=^$ac_symprfx]" + else + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" + fi + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext <<_LT_EOF +#ifdef __cplusplus +extern "C" { +#endif +char nm_test_var; +void nm_test_func(void); +void nm_test_func(void){} +#ifdef __cplusplus +} +#endif +int main(){nm_test_var='a';nm_test_func();return(0);} +_LT_EOF + + if AC_TRY_EVAL(ac_compile); then + # Now try to grab the symbols. + nlist=conftest.nm + if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then + cat <<_LT_EOF > conftest.$ac_ext +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) +/* DATA imports from DLLs on WIN32 con't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT@&t@_DLSYM_CONST +#elif defined(__osf__) +/* This system does not cope well with relocations in const data. */ +# define LT@&t@_DLSYM_CONST +#else +# define LT@&t@_DLSYM_CONST const +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +_LT_EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' + + cat <<_LT_EOF >> conftest.$ac_ext + +/* The mapping between symbol names and symbols. */ +LT@&t@_DLSYM_CONST struct { + const char *name; + void *address; +} +lt__PROGRAM__LTX_preloaded_symbols[[]] = +{ + { "@PROGRAM@", (void *) 0 }, +_LT_EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext + cat <<\_LT_EOF >> conftest.$ac_ext + {0, (void *) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt__PROGRAM__LTX_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif +_LT_EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_globsym_save_LIBS=$LIBS + lt_globsym_save_CFLAGS=$CFLAGS + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS=$lt_globsym_save_LIBS + CFLAGS=$lt_globsym_save_CFLAGS + else + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD + fi + else + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.$ac_ext >&5 + fi + rm -rf conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done +]) +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + AC_MSG_RESULT(failed) +else + AC_MSG_RESULT(ok) +fi + +# Response file support. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then + nm_file_list_spec='@' +elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then + nm_file_list_spec='@' +fi + +_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], + [Take the output of nm and produce a listing of raw symbols and C names]) +_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], + [Transform the output of nm in a proper C declaration]) +_LT_DECL([global_symbol_to_c_name_address], + [lt_cv_sys_global_symbol_to_c_name_address], [1], + [Transform the output of nm in a C name address pair]) +_LT_DECL([global_symbol_to_c_name_address_lib_prefix], + [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], + [Transform the output of nm in a C name address pair when lib prefix is needed]) +_LT_DECL([], [nm_file_list_spec], [1], + [Specify filename containing input files for $NM]) +]) # _LT_CMD_GLOBAL_SYMBOLS + + +# _LT_COMPILER_PIC([TAGNAME]) +# --------------------------- +m4_defun([_LT_COMPILER_PIC], +[m4_require([_LT_TAG_COMPILER])dnl +_LT_TAGVAR(lt_prog_compiler_wl, $1)= +_LT_TAGVAR(lt_prog_compiler_pic, $1)= +_LT_TAGVAR(lt_prog_compiler_static, $1)= + +m4_if([$1], [CXX], [ + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | cygwin* | os2* | pw32* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + _LT_TAGVAR(lt_prog_compiler_static, $1)= + ;; + interix[[3-9]]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + sysv4*MP*) + if test -d /usr/nec; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + *qnx* | *nto*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + case $host_os in + aix[[4-9]]*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68*) + # Green Hills C++ Compiler + # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + mingw* | cygwin* | os2* | pw32* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + dgux*) + case $cc_basename in + ec++*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + ghcx*) + # Green Hills C++ Compiler + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + freebsd* | dragonfly*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + if test "$host_cpu" != ia64; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + fi + ;; + aCC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + interix*) + # This is c89, which is MS Visual C++ (no shared libs) + # Anyone wants to do a port? + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + KCC*) + # KAI C++ Compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + ecpc* ) + # old Intel C++ for x86_64 which still supported -KPIC. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + icpc* ) + # Intel C++, used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + pgCC* | pgcpp*) + # Portland Group C++ compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + cxx*) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*) + # IBM XL 8.0, 9.0 on PPC and BlueGene + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + esac + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + *qnx* | *nto*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + ;; + RCC*) + # Rational C++ 2.4.1 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + cxx*) + # Digital/Compaq C++ + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + solaris*) + case $cc_basename in + CC* | sunCC*) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + gcx*) + # Green Hills C++ Compiler + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + lcc*) + # Lucid + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + case $cc_basename in + CC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + *) + ;; + esac + ;; + vxworks*) + ;; + *) + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +], +[ + if test "$GCC" = yes; then + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + _LT_TAGVAR(lt_prog_compiler_static, $1)= + ;; + + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + # +Z the default + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + + interix[[3-9]]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + enable_shared=no + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + + case $cc_basename in + nvcc*) # Cuda Compiler Driver 2.2 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker ' + if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)" + fi + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + + hpux9* | hpux10* | hpux11*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC (with -KPIC) is the default. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + # old Intel for x86_64 which still supported -KPIC. + ecc*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + # icc used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + icc* | ifort*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + # Lahey Fortran 8.1. + lf95*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' + _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' + ;; + nagfor*) + # NAG Fortran compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + ccc*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All Alpha code is PIC. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + xl* | bgxl* | bgf* | mpixl*) + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='' + ;; + *Sun\ F* | *Sun*Fortran*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + *Sun\ C*) + # Sun C 5.9 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + ;; + *Intel*\ [[CF]]*Compiler*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + *Portland\ Group*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + esac + ;; + esac + ;; + + newsos6) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + + osf3* | osf4* | osf5*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All OSF/1 code is PIC. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + rdos*) + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + solaris*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + case $cc_basename in + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; + *) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; + esac + ;; + + sunos4*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + unicos*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + + uts4*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + *) + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +]) +case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" + ;; +esac + +AC_CACHE_CHECK([for $compiler option to produce PIC], + [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)], + [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) +_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1) + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then + _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works], + [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)], + [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [], + [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in + "" | " "*) ;; + *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;; + esac], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) +fi +_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], + [Additional compiler flags for building library objects]) + +_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], + [How to pass a linker flag through the compiler]) +# +# Check to make sure the static flag actually works. +# +wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\" +_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], + _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1), + $lt_tmp_static_flag, + [], + [_LT_TAGVAR(lt_prog_compiler_static, $1)=]) +_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1], + [Compiler flag to prevent dynamic linking]) +])# _LT_COMPILER_PIC + + +# _LT_LINKER_SHLIBS([TAGNAME]) +# ---------------------------- +# See if the linker supports building shared libraries. +m4_defun([_LT_LINKER_SHLIBS], +[AC_REQUIRE([LT_PATH_LD])dnl +AC_REQUIRE([LT_PATH_NM])dnl +m4_require([_LT_PATH_MANIFEST_TOOL])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl +m4_require([_LT_TAG_COMPILER])dnl +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +m4_if([$1], [CXX], [ + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] + case $host_os in + aix[[4-9]]*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global defined + # symbols, whereas GNU nm marks them as "W". + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + else + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" + ;; + cygwin* | mingw* | cegcc*) + case $cc_basename in + cl*) + _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' + ;; + *) + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] + ;; + esac + ;; + *) + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac +], [ + runpath_var= + _LT_TAGVAR(allow_undefined_flag, $1)= + _LT_TAGVAR(always_export_symbols, $1)=no + _LT_TAGVAR(archive_cmds, $1)= + _LT_TAGVAR(archive_expsym_cmds, $1)= + _LT_TAGVAR(compiler_needs_object, $1)=no + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + _LT_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(hardcode_automatic, $1)=no + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_direct_absolute, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_TAGVAR(hardcode_libdir_separator, $1)= + _LT_TAGVAR(hardcode_minus_L, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_TAGVAR(inherit_rpath, $1)=no + _LT_TAGVAR(link_all_deplibs, $1)=unknown + _LT_TAGVAR(module_cmds, $1)= + _LT_TAGVAR(module_expsym_cmds, $1)= + _LT_TAGVAR(old_archive_from_new_cmds, $1)= + _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= + _LT_TAGVAR(thread_safe_flag_spec, $1)= + _LT_TAGVAR(whole_archive_flag_spec, $1)= + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + _LT_TAGVAR(include_expsyms, $1)= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + # Exclude shared library initialization/finalization symbols. +dnl Note also adjust exclude_expsyms for C++ above. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + _LT_TAGVAR(ld_shlibs, $1)=yes + + # On some targets, GNU ld is compatible enough with the native linker + # that we're better off using the native interface for both. + lt_use_gnu_ld_interface=no + if test "$with_gnu_ld" = yes; then + case $host_os in + aix*) + # The AIX port of GNU ld has always aspired to compatibility + # with the native linker. However, as the warning in the GNU ld + # block says, versions before 2.19.5* couldn't really create working + # shared libraries, regardless of the interface used. + case `$LD -v 2>&1` in + *\ \(GNU\ Binutils\)\ 2.19.5*) ;; + *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;; + *\ \(GNU\ Binutils\)\ [[3-9]]*) ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + fi + + if test "$lt_use_gnu_ld_interface" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + runpath_var=LD_RUN_PATH + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_TAGVAR(whole_archive_flag_spec, $1)= + fi + supports_anon_versioning=no + case `$LD -v 2>&1` in + *GNU\ gold*) supports_anon_versioning=yes ;; + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + + # See if GNU ld supports shared libraries. + case $host_os in + aix[[3-9]]*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + _LT_TAGVAR(ld_shlibs, $1)=no + cat <<_LT_EOF 1>&2 + +*** Warning: the GNU linker, at least up to release 2.19, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to install binutils +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. +*** You will then need to restart the configuration process. + +_LT_EOF + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='' + ;; + m68k) + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + ;; + + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=no + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + haiku*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + + interix[[3-9]]*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) + tmp_diet=no + if test "$host_os" = linux-dietlibc; then + case $cc_basename in + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) + esac + fi + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ + && test "$tmp_diet" = no + then + tmp_addflag=' $pic_flag' + tmp_sharedflag='-shared' + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; + pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group f77 and f90 compilers + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + lf95*) # Lahey Fortran 8.1 + _LT_TAGVAR(whole_archive_flag_spec, $1)= + tmp_sharedflag='--shared' ;; + xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) + tmp_sharedflag='-qmkshrobj' + tmp_addflag= ;; + nvcc*) # Cuda Compiler Driver 2.2 + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(compiler_needs_object, $1)=yes + ;; + esac + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) # Sun C 5.9 + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(compiler_needs_object, $1)=yes + tmp_sharedflag='-G' ;; + *Sun\ F*) # Sun Fortran 8.3 + tmp_sharedflag='-G' ;; + esac + _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + + if test "x$supports_anon_versioning" = xyes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + + case $cc_basename in + xlf* | bgf* | bgxlf* | mpixlf*) + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself + _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' + if test "x$supports_anon_versioning" = xyes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' + fi + ;; + esac + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris*) + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then + _LT_TAGVAR(ld_shlibs, $1)=no + cat <<_LT_EOF 1>&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) + _LT_TAGVAR(ld_shlibs, $1)=no + cat <<_LT_EOF 1>&2 + +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not +*** reliably create shared libraries on SCO systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + ;; + *) + # For security reasons, it is highly recommended that you always + # use absolute paths for naming shared libraries, and exclude the + # DT_RUNPATH tag from executables and libraries. But doing so + # requires that you compile everything twice, which is a pain. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + sunos4*) + _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + + if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then + runpath_var= + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=yes + _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + _LT_TAGVAR(hardcode_direct, $1)=unsupported + fi + ;; + + aix[[4-9]]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global + # defined symbols, whereas GNU nm marks them as "W". + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + else + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_TAGVAR(archive_cmds, $1)='' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' + + if test "$GCC" = yes; then + case $host_os in aix4.[[012]]|aix4.[[012]].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && + strings "$collect2name" | $GREP resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + _LT_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)= + fi + ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an + # empty executable. + _LT_SYS_MODULE_PATH_AIX([$1]) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an + # empty executable. + _LT_SYS_MODULE_PATH_AIX([$1]) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds its shared libraries. + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='' + ;; + m68k) + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + ;; + + bsdi[[45]]*) + _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + case $cc_basename in + cl*) + # Native MSVC + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' + # Don't use ranlib + _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' + _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # Assume MSVC wrapper + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + # FIXME: Should let the user specify the lib program. + _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + ;; + esac + ;; + + darwin* | rhapsody*) + _LT_DARWIN_LINKER_FEATURES($1) + ;; + + dgux*) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2.*) + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | dragonfly*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + hpux9*) + if test "$GCC" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(hardcode_direct, $1)=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + + hpux10*) + if test "$GCC" = yes && test "$with_gnu_ld" = no; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + fi + if test "$with_gnu_ld" = no; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + fi + ;; + + hpux11*) + if test "$GCC" = yes && test "$with_gnu_ld" = no; then + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + m4_if($1, [], [ + # Older versions of the 11.00 compiler do not understand -b yet + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) + _LT_LINKER_OPTION([if $CC understands -b], + _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b], + [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], + [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])], + [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags']) + ;; + esac + fi + if test "$with_gnu_ld" = no; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + case $host_cpu in + hppa*64*|ia64*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + *) + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + # Try to use the -exported_symbol ld option, if it does not + # work, assume that -exports_file does not work either and + # implicitly export all symbols. + # This should be the same for all languages, so no per-tag cache variable. + AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol], + [lt_cv_irix_exported_symbol], + [save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" + AC_LINK_IFELSE( + [AC_LANG_SOURCE( + [AC_LANG_CASE([C], [[int foo (void) { return 0; }]], + [C++], [[int foo (void) { return 0; }]], + [Fortran 77], [[ + subroutine foo + end]], + [Fortran], [[ + subroutine foo + end]])])], + [lt_cv_irix_exported_symbol=yes], + [lt_cv_irix_exported_symbol=no]) + LDFLAGS="$save_LDFLAGS"]) + if test "$lt_cv_irix_exported_symbol" = yes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' + fi + else + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)='no' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(inherit_rpath, $1)=yes + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + newsos6) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *nto* | *qnx*) + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + else + case $host_os in + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + ;; + esac + fi + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + os2*) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)='no' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + else + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' + + # Both c and cxx compiler support -rpath directly + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)='no' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + + solaris*) + _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' + if test "$GCC" = yes; then + wlarc='${wl}' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + else + case `$CC -V 2>&1` in + *"Compilers 5.0"*) + wlarc='' + _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' + ;; + *) + wlarc='${wl}' + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + ;; + esac + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. GCC discards it without `$wl', + # but is careful enough not to reorder. + # Supported since Solaris 2.6 (maybe 2.5.1?) + if test "$GCC" = yes; then + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + else + _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' + fi + ;; + esac + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv4) + case $host_vendor in + sni) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' + _LT_TAGVAR(hardcode_direct, $1)=no + ;; + motorola) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv4.3*) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + _LT_TAGVAR(ld_shlibs, $1)=yes + fi + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + uts4*) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + + if test x$host_vendor = xsni; then + case $host in + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym' + ;; + esac + fi + fi +]) +AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) +test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + +_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld + +_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl +_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl +_LT_DECL([], [extract_expsyms_cmds], [2], + [The commands to extract the exported symbol list from a shared archive]) + +# +# Do we need to explicitly link libc? +# +case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in +x|xyes) + # Assume -lc should be added + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $_LT_TAGVAR(archive_cmds, $1) in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + AC_CACHE_CHECK([whether -lc should be explicitly linked in], + [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1), + [$RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) + pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) + _LT_TAGVAR(allow_undefined_flag, $1)= + if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) + then + lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no + else + lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes + fi + _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $RM conftest* + ]) + _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1) + ;; + esac + fi + ;; +esac + +_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0], + [Whether or not to add -lc for building shared libraries]) +_LT_TAGDECL([allow_libtool_libs_with_static_runtimes], + [enable_shared_with_static_runtimes], [0], + [Whether or not to disallow shared libs when runtime libs are static]) +_LT_TAGDECL([], [export_dynamic_flag_spec], [1], + [Compiler flag to allow reflexive dlopens]) +_LT_TAGDECL([], [whole_archive_flag_spec], [1], + [Compiler flag to generate shared objects directly from archives]) +_LT_TAGDECL([], [compiler_needs_object], [1], + [Whether the compiler copes with passing no objects directly]) +_LT_TAGDECL([], [old_archive_from_new_cmds], [2], + [Create an old-style archive from a shared archive]) +_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2], + [Create a temporary old-style archive to link instead of a shared archive]) +_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive]) +_LT_TAGDECL([], [archive_expsym_cmds], [2]) +_LT_TAGDECL([], [module_cmds], [2], + [Commands used to build a loadable module if different from building + a shared archive.]) +_LT_TAGDECL([], [module_expsym_cmds], [2]) +_LT_TAGDECL([], [with_gnu_ld], [1], + [Whether we are building with GNU ld or not]) +_LT_TAGDECL([], [allow_undefined_flag], [1], + [Flag that allows shared libraries with undefined symbols to be built]) +_LT_TAGDECL([], [no_undefined_flag], [1], + [Flag that enforces no undefined symbols]) +_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], + [Flag to hardcode $libdir into a binary during linking. + This must work even if $libdir does not exist]) +_LT_TAGDECL([], [hardcode_libdir_separator], [1], + [Whether we need a single "-rpath" flag with a separated argument]) +_LT_TAGDECL([], [hardcode_direct], [0], + [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes + DIR into the resulting binary]) +_LT_TAGDECL([], [hardcode_direct_absolute], [0], + [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes + DIR into the resulting binary and the resulting library dependency is + "absolute", i.e impossible to change by setting ${shlibpath_var} if the + library is relocated]) +_LT_TAGDECL([], [hardcode_minus_L], [0], + [Set to "yes" if using the -LDIR flag during linking hardcodes DIR + into the resulting binary]) +_LT_TAGDECL([], [hardcode_shlibpath_var], [0], + [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR + into the resulting binary]) +_LT_TAGDECL([], [hardcode_automatic], [0], + [Set to "yes" if building a shared library automatically hardcodes DIR + into the library and all subsequent libraries and executables linked + against it]) +_LT_TAGDECL([], [inherit_rpath], [0], + [Set to yes if linker adds runtime paths of dependent libraries + to runtime path list]) +_LT_TAGDECL([], [link_all_deplibs], [0], + [Whether libtool must link a program against all its dependency libraries]) +_LT_TAGDECL([], [always_export_symbols], [0], + [Set to "yes" if exported symbols are required]) +_LT_TAGDECL([], [export_symbols_cmds], [2], + [The commands to list exported symbols]) +_LT_TAGDECL([], [exclude_expsyms], [1], + [Symbols that should not be listed in the preloaded symbols]) +_LT_TAGDECL([], [include_expsyms], [1], + [Symbols that must always be exported]) +_LT_TAGDECL([], [prelink_cmds], [2], + [Commands necessary for linking programs (against libraries) with templates]) +_LT_TAGDECL([], [postlink_cmds], [2], + [Commands necessary for finishing linking programs]) +_LT_TAGDECL([], [file_list_spec], [1], + [Specify filename containing input files]) +dnl FIXME: Not yet implemented +dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1], +dnl [Compiler flag to generate thread safe objects]) +])# _LT_LINKER_SHLIBS + + +# _LT_LANG_C_CONFIG([TAG]) +# ------------------------ +# Ensure that the configuration variables for a C compiler are suitably +# defined. These variables are subsequently used by _LT_CONFIG to write +# the compiler configuration to `libtool'. +m4_defun([_LT_LANG_C_CONFIG], +[m4_require([_LT_DECL_EGREP])dnl +lt_save_CC="$CC" +AC_LANG_PUSH(C) + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}' + +_LT_TAG_COMPILER +# Save the default compiler, since it gets overwritten when the other +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. +compiler_DEFAULT=$CC + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... +if test -n "$compiler"; then + _LT_COMPILER_NO_RTTI($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + LT_SYS_DLOPEN_SELF + _LT_CMD_STRIPLIB + + # Report which library types will actually be built + AC_MSG_CHECKING([if libtool supports shared libraries]) + AC_MSG_RESULT([$can_build_shared]) + + AC_MSG_CHECKING([whether to build shared libraries]) + test "$can_build_shared" = "no" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + + aix[[4-9]]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + esac + AC_MSG_RESULT([$enable_shared]) + + AC_MSG_CHECKING([whether to build static libraries]) + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + AC_MSG_RESULT([$enable_static]) + + _LT_CONFIG($1) +fi +AC_LANG_POP +CC="$lt_save_CC" +])# _LT_LANG_C_CONFIG + + +# _LT_LANG_CXX_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for a C++ compiler are suitably +# defined. These variables are subsequently used by _LT_CONFIG to write +# the compiler configuration to `libtool'. +m4_defun([_LT_LANG_CXX_CONFIG], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_PATH_MANIFEST_TOOL])dnl +if test -n "$CXX" && ( test "X$CXX" != "Xno" && + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || + (test "X$CXX" != "Xg++"))) ; then + AC_PROG_CXXCPP +else + _lt_caught_CXX_error=yes +fi + +AC_LANG_PUSH(C++) +_LT_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_TAGVAR(allow_undefined_flag, $1)= +_LT_TAGVAR(always_export_symbols, $1)=no +_LT_TAGVAR(archive_expsym_cmds, $1)= +_LT_TAGVAR(compiler_needs_object, $1)=no +_LT_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_TAGVAR(hardcode_direct, $1)=no +_LT_TAGVAR(hardcode_direct_absolute, $1)=no +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_TAGVAR(hardcode_libdir_separator, $1)= +_LT_TAGVAR(hardcode_minus_L, $1)=no +_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported +_LT_TAGVAR(hardcode_automatic, $1)=no +_LT_TAGVAR(inherit_rpath, $1)=no +_LT_TAGVAR(module_cmds, $1)= +_LT_TAGVAR(module_expsym_cmds, $1)= +_LT_TAGVAR(link_all_deplibs, $1)=unknown +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds +_LT_TAGVAR(no_undefined_flag, $1)= +_LT_TAGVAR(whole_archive_flag_spec, $1)= +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Source file extension for C++ test sources. +ac_ext=cpp + +# Object file extension for compiled C++ test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# No sense in running all these tests if we already determined that +# the CXX compiler isn't working. Some variables (like enable_shared) +# are currently assumed to apply to all compilers on this platform, +# and will be corrupted by setting them based on a non-working compiler. +if test "$_lt_caught_CXX_error" != yes; then + # Code to be used in simple compile tests + lt_simple_compile_test_code="int some_variable = 0;" + + # Code to be used in simple link tests + lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' + + # ltmain only uses $CC for tagged configurations so make sure $CC is set. + _LT_TAG_COMPILER + + # save warnings/boilerplate of simple test code + _LT_COMPILER_BOILERPLATE + _LT_LINKER_BOILERPLATE + + # Allow CC to be a program name with arguments. + lt_save_CC=$CC + lt_save_CFLAGS=$CFLAGS + lt_save_LD=$LD + lt_save_GCC=$GCC + GCC=$GXX + lt_save_with_gnu_ld=$with_gnu_ld + lt_save_path_LD=$lt_cv_path_LD + if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx + else + $as_unset lt_cv_prog_gnu_ld + fi + if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX + else + $as_unset lt_cv_path_LD + fi + test -z "${LDCXX+set}" || LD=$LDCXX + CC=${CXX-"c++"} + CFLAGS=$CXXFLAGS + compiler=$CC + _LT_TAGVAR(compiler, $1)=$CC + _LT_CC_BASENAME([$compiler]) + + if test -n "$compiler"; then + # We don't want -fno-exception when compiling C++ code, so set the + # no_builtin_flag separately + if test "$GXX" = yes; then + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' + else + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= + fi + + if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + LT_PATH_LD + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | + $GREP 'no-whole-archive' > /dev/null; then + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + + else + GXX=no + with_gnu_ld=no + wlarc= + fi + + # PORTME: fill in a description of your system's C++ link characteristics + AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) + _LT_TAGVAR(ld_shlibs, $1)=yes + case $host_os in + aix3*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + aix[[4-9]]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_TAGVAR(archive_cmds, $1)='' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' + + if test "$GXX" = yes; then + case $host_os in aix4.[[012]]|aix4.[[012]].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && + strings "$collect2name" | $GREP resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + _LT_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to + # export. + _LT_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty + # executable. + _LT_SYS_MODULE_PATH_AIX([$1]) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an + # empty executable. + _LT_SYS_MODULE_PATH_AIX([$1]) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds its shared + # libraries. + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + cygwin* | mingw* | pw32* | cegcc*) + case $GXX,$cc_basename in + ,cl* | no,cl*) + # Native MSVC + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + # Don't use ranlib + _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' + _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + func_to_tool_file "$lt_outputfile"~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # g++ + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=no + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + darwin* | rhapsody*) + _LT_DARWIN_LINKER_FEATURES($1) + ;; + + dgux*) + case $cc_basename in + ec++*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + ghcx*) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + freebsd2.*) + # C++ shared libraries reported to be fairly broken before + # switch to ELF + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + freebsd-elf*) + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + + freebsd* | dragonfly*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + _LT_TAGVAR(ld_shlibs, $1)=yes + ;; + + gnu*) + ;; + + haiku*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + + hpux9*) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + aCC*) + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + ;; + *) + if test "$GXX" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + case $host_cpu in + hppa*64*|ia64*) + ;; + *) + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + esac + fi + case $host_cpu in + hppa*64*|ia64*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + *) + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + aCC*) + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + interix[[3-9]]*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + irix5* | irix6*) + case $cc_basename in + CC*) + # SGI C++ + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' + fi + fi + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + esac + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(inherit_rpath, $1)=yes + ;; + + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc* | ecpc* ) + # Intel C++ + with_gnu_ld=yes + # version 8.0 and above of icpc choke on multiply defined symbols + # if we add $predep_objects and $postdep_objects, however 7.1 and + # earlier do not add the objects themselves. + case `$CC -V 2>&1` in + *"Version 7."*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + *) # Version 8.0 or newer + tmp_idyn= + case $host_cpu in + ia64*) tmp_idyn=' -i_dynamic';; + esac + _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + esac + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + pgCC* | pgcpp*) + # Portland Group C++ compiler + case `$CC -V` in + *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*) + _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ + compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' + _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ + $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ + $RANLIB $oldlib' + _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + ;; + *) # Version 6 and above use weak symbols + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + ;; + esac + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + ;; + cxx*) + # Compaq C++ + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' + ;; + xl* | mpixl* | bgxl*) + # IBM XL 8.0 on PPC, with GNU ld + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + if test "x$supports_anon_versioning" = xyes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(compiler_needs_object, $1)=yes + + # Not sure whether something based on + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 + # would be better. + output_verbose_link_cmd='func_echo_all' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + esac + ;; + esac + ;; + + lynxos*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + m88k*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + mvs*) + case $cc_basename in + cxx*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + + *nto* | *qnx*) + _LT_TAGVAR(ld_shlibs, $1)=yes + ;; + + openbsd2*) + # C++ shared libraries are fairly broken + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + fi + output_verbose_link_cmd=func_echo_all + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + osf3* | osf4* | osf5*) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + case $host in + osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; + *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; + esac + ;; + RCC*) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + cxx*) + case $host in + osf3*) + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + ;; + *) + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~ + $RM $lib.exp' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + ;; + esac + + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + case $host in + osf3*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + ;; + esac + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + psos*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + lcc*) + # Lucid + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + solaris*) + case $cc_basename in + CC* | sunCC*) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_TAGVAR(archive_cmds_need_lc,$1)=yes + _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. + # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' + ;; + esac + _LT_TAGVAR(link_all_deplibs, $1)=yes + + output_verbose_link_cmd='func_echo_all' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + gcx*) + # Green Hills C++ Compiler + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' + if $CC --version | $GREP -v '^2\.7' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + fi + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + fi + ;; + esac + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + + case $cc_basename in + CC*) + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + case $cc_basename in + CC*) + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~ + '"$_LT_TAGVAR(old_archive_cmds, $1)" + _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~ + '"$_LT_TAGVAR(reload_cmds, $1)" + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + vxworks*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + + AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) + test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + + _LT_TAGVAR(GCC, $1)="$GXX" + _LT_TAGVAR(LD, $1)="$LD" + + ## CAVEAT EMPTOR: + ## There is no encapsulation within the following macros, do not change + ## the running order or otherwise move them around unless you know exactly + ## what you are doing... + _LT_SYS_HIDDEN_LIBDEPS($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) + fi # test -n "$compiler" + + CC=$lt_save_CC + CFLAGS=$lt_save_CFLAGS + LDCXX=$LD + LD=$lt_save_LD + GCC=$lt_save_GCC + with_gnu_ld=$lt_save_with_gnu_ld + lt_cv_path_LDCXX=$lt_cv_path_LD + lt_cv_path_LD=$lt_save_path_LD + lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld + lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld +fi # test "$_lt_caught_CXX_error" != yes + +AC_LANG_POP +])# _LT_LANG_CXX_CONFIG + + +# _LT_FUNC_STRIPNAME_CNF +# ---------------------- +# func_stripname_cnf prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +# +# This function is identical to the (non-XSI) version of func_stripname, +# except this one can be used by m4 code that may be executed by configure, +# rather than the libtool script. +m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl +AC_REQUIRE([_LT_DECL_SED]) +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH]) +func_stripname_cnf () +{ + case ${2} in + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; + esac +} # func_stripname_cnf +])# _LT_FUNC_STRIPNAME_CNF + +# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) +# --------------------------------- +# Figure out "hidden" library dependencies from verbose +# compiler output when linking a shared library. +# Parse the compiler output and extract the necessary +# objects, libraries and library flags. +m4_defun([_LT_SYS_HIDDEN_LIBDEPS], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl +# Dependencies to place before and after the object being linked: +_LT_TAGVAR(predep_objects, $1)= +_LT_TAGVAR(postdep_objects, $1)= +_LT_TAGVAR(predeps, $1)= +_LT_TAGVAR(postdeps, $1)= +_LT_TAGVAR(compiler_lib_search_path, $1)= + +dnl we can't use the lt_simple_compile_test_code here, +dnl because it contains code intended for an executable, +dnl not a library. It's possible we should let each +dnl tag define a new lt_????_link_test_code variable, +dnl but it's only used here... +m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF +int a; +void foo (void) { a = 0; } +_LT_EOF +], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF +class Foo +{ +public: + Foo (void) { a = 0; } +private: + int a; +}; +_LT_EOF +], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF + subroutine foo + implicit none + integer*4 a + a=0 + return + end +_LT_EOF +], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF + subroutine foo + implicit none + integer a + a=0 + return + end +_LT_EOF +], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF +public class foo { + private int a; + public void bar (void) { + a = 0; + } +}; +_LT_EOF +], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF +package foo +func foo() { +} +_LT_EOF +]) + +_lt_libdeps_save_CFLAGS=$CFLAGS +case "$CC $CFLAGS " in #( +*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; +*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; +*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; +esac + +dnl Parse the compiler output and extract the necessary +dnl objects, libraries and library flags. +if AC_TRY_EVAL(ac_compile); then + # Parse the compiler output and extract the necessary + # objects, libraries and library flags. + + # Sentinel used to keep track of whether or not we are before + # the conftest object file. + pre_test_object_deps_done=no + + for p in `eval "$output_verbose_link_cmd"`; do + case ${prev}${p} in + + -L* | -R* | -l*) + # Some compilers place space between "-{L,R}" and the path. + # Remove the space. + if test $p = "-L" || + test $p = "-R"; then + prev=$p + continue + fi + + # Expand the sysroot to ease extracting the directories later. + if test -z "$prev"; then + case $p in + -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; + -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; + -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; + esac + fi + case $p in + =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; + esac + if test "$pre_test_object_deps_done" = no; then + case ${prev} in + -L | -R) + # Internal compiler library paths should come after those + # provided the user. The postdeps already come after the + # user supplied libs so there is no need to process them. + if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then + _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}" + else + _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}" + fi + ;; + # The "-l" case would never come before the object being + # linked, so don't bother handling this case. + esac + else + if test -z "$_LT_TAGVAR(postdeps, $1)"; then + _LT_TAGVAR(postdeps, $1)="${prev}${p}" + else + _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}" + fi + fi + prev= + ;; + + *.lto.$objext) ;; # Ignore GCC LTO objects + *.$objext) + # This assumes that the test object file only shows up + # once in the compiler output. + if test "$p" = "conftest.$objext"; then + pre_test_object_deps_done=yes + continue + fi + + if test "$pre_test_object_deps_done" = no; then + if test -z "$_LT_TAGVAR(predep_objects, $1)"; then + _LT_TAGVAR(predep_objects, $1)="$p" + else + _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" + fi + else + if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then + _LT_TAGVAR(postdep_objects, $1)="$p" + else + _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" + fi + fi + ;; + + *) ;; # Ignore the rest. + + esac + done + + # Clean up. + rm -f a.out a.exe +else + echo "libtool.m4: error: problem compiling $1 test program" +fi + +$RM -f confest.$objext +CFLAGS=$_lt_libdeps_save_CFLAGS + +# PORTME: override above test on systems where it is broken +m4_if([$1], [CXX], +[case $host_os in +interix[[3-9]]*) + # Interix 3.5 installs completely hosed .la files for C++, so rather than + # hack all around it, let's just trust "g++" to DTRT. + _LT_TAGVAR(predep_objects,$1)= + _LT_TAGVAR(postdep_objects,$1)= + _LT_TAGVAR(postdeps,$1)= + ;; + +linux*) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + + # The more standards-conforming stlport4 library is + # incompatible with the Cstd library. Avoid specifying + # it if it's in CXXFLAGS. Ignore libCrun as + # -library=stlport4 depends on it. + case " $CXX $CXXFLAGS " in + *" -library=stlport4 "*) + solaris_use_stlport4=yes + ;; + esac + + if test "$solaris_use_stlport4" != yes; then + _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' + fi + ;; + esac + ;; + +solaris*) + case $cc_basename in + CC* | sunCC*) + # The more standards-conforming stlport4 library is + # incompatible with the Cstd library. Avoid specifying + # it if it's in CXXFLAGS. Ignore libCrun as + # -library=stlport4 depends on it. + case " $CXX $CXXFLAGS " in + *" -library=stlport4 "*) + solaris_use_stlport4=yes + ;; + esac + + # Adding this requires a known-good setup of shared libraries for + # Sun compiler versions before 5.6, else PIC objects from an old + # archive will be linked into the output, leading to subtle bugs. + if test "$solaris_use_stlport4" != yes; then + _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' + fi + ;; + esac + ;; +esac +]) + +case " $_LT_TAGVAR(postdeps, $1) " in +*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; +esac + _LT_TAGVAR(compiler_lib_search_dirs, $1)= +if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then + _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` +fi +_LT_TAGDECL([], [compiler_lib_search_dirs], [1], + [The directories searched by this compiler when creating a shared library]) +_LT_TAGDECL([], [predep_objects], [1], + [Dependencies to place before and after the objects being linked to + create a shared library]) +_LT_TAGDECL([], [postdep_objects], [1]) +_LT_TAGDECL([], [predeps], [1]) +_LT_TAGDECL([], [postdeps], [1]) +_LT_TAGDECL([], [compiler_lib_search_path], [1], + [The library search path used internally by the compiler when linking + a shared library]) +])# _LT_SYS_HIDDEN_LIBDEPS + + +# _LT_LANG_F77_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for a Fortran 77 compiler are +# suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_F77_CONFIG], +[AC_LANG_PUSH(Fortran 77) +if test -z "$F77" || test "X$F77" = "Xno"; then + _lt_disable_F77=yes +fi + +_LT_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_TAGVAR(allow_undefined_flag, $1)= +_LT_TAGVAR(always_export_symbols, $1)=no +_LT_TAGVAR(archive_expsym_cmds, $1)= +_LT_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_TAGVAR(hardcode_direct, $1)=no +_LT_TAGVAR(hardcode_direct_absolute, $1)=no +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_TAGVAR(hardcode_libdir_separator, $1)= +_LT_TAGVAR(hardcode_minus_L, $1)=no +_LT_TAGVAR(hardcode_automatic, $1)=no +_LT_TAGVAR(inherit_rpath, $1)=no +_LT_TAGVAR(module_cmds, $1)= +_LT_TAGVAR(module_expsym_cmds, $1)= +_LT_TAGVAR(link_all_deplibs, $1)=unknown +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds +_LT_TAGVAR(no_undefined_flag, $1)= +_LT_TAGVAR(whole_archive_flag_spec, $1)= +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Source file extension for f77 test sources. +ac_ext=f + +# Object file extension for compiled f77 test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# No sense in running all these tests if we already determined that +# the F77 compiler isn't working. Some variables (like enable_shared) +# are currently assumed to apply to all compilers on this platform, +# and will be corrupted by setting them based on a non-working compiler. +if test "$_lt_disable_F77" != yes; then + # Code to be used in simple compile tests + lt_simple_compile_test_code="\ + subroutine t + return + end +" + + # Code to be used in simple link tests + lt_simple_link_test_code="\ + program t + end +" + + # ltmain only uses $CC for tagged configurations so make sure $CC is set. + _LT_TAG_COMPILER + + # save warnings/boilerplate of simple test code + _LT_COMPILER_BOILERPLATE + _LT_LINKER_BOILERPLATE + + # Allow CC to be a program name with arguments. + lt_save_CC="$CC" + lt_save_GCC=$GCC + lt_save_CFLAGS=$CFLAGS + CC=${F77-"f77"} + CFLAGS=$FFLAGS + compiler=$CC + _LT_TAGVAR(compiler, $1)=$CC + _LT_CC_BASENAME([$compiler]) + GCC=$G77 + if test -n "$compiler"; then + AC_MSG_CHECKING([if libtool supports shared libraries]) + AC_MSG_RESULT([$can_build_shared]) + + AC_MSG_CHECKING([whether to build shared libraries]) + test "$can_build_shared" = "no" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + aix[[4-9]]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + esac + AC_MSG_RESULT([$enable_shared]) + + AC_MSG_CHECKING([whether to build static libraries]) + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + AC_MSG_RESULT([$enable_static]) + + _LT_TAGVAR(GCC, $1)="$G77" + _LT_TAGVAR(LD, $1)="$LD" + + ## CAVEAT EMPTOR: + ## There is no encapsulation within the following macros, do not change + ## the running order or otherwise move them around unless you know exactly + ## what you are doing... + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) + fi # test -n "$compiler" + + GCC=$lt_save_GCC + CC="$lt_save_CC" + CFLAGS="$lt_save_CFLAGS" +fi # test "$_lt_disable_F77" != yes + +AC_LANG_POP +])# _LT_LANG_F77_CONFIG + + +# _LT_LANG_FC_CONFIG([TAG]) +# ------------------------- +# Ensure that the configuration variables for a Fortran compiler are +# suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_FC_CONFIG], +[AC_LANG_PUSH(Fortran) + +if test -z "$FC" || test "X$FC" = "Xno"; then + _lt_disable_FC=yes +fi + +_LT_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_TAGVAR(allow_undefined_flag, $1)= +_LT_TAGVAR(always_export_symbols, $1)=no +_LT_TAGVAR(archive_expsym_cmds, $1)= +_LT_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_TAGVAR(hardcode_direct, $1)=no +_LT_TAGVAR(hardcode_direct_absolute, $1)=no +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_TAGVAR(hardcode_libdir_separator, $1)= +_LT_TAGVAR(hardcode_minus_L, $1)=no +_LT_TAGVAR(hardcode_automatic, $1)=no +_LT_TAGVAR(inherit_rpath, $1)=no +_LT_TAGVAR(module_cmds, $1)= +_LT_TAGVAR(module_expsym_cmds, $1)= +_LT_TAGVAR(link_all_deplibs, $1)=unknown +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds +_LT_TAGVAR(no_undefined_flag, $1)= +_LT_TAGVAR(whole_archive_flag_spec, $1)= +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Source file extension for fc test sources. +ac_ext=${ac_fc_srcext-f} + +# Object file extension for compiled fc test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# No sense in running all these tests if we already determined that +# the FC compiler isn't working. Some variables (like enable_shared) +# are currently assumed to apply to all compilers on this platform, +# and will be corrupted by setting them based on a non-working compiler. +if test "$_lt_disable_FC" != yes; then + # Code to be used in simple compile tests + lt_simple_compile_test_code="\ + subroutine t + return + end +" + + # Code to be used in simple link tests + lt_simple_link_test_code="\ + program t + end +" + + # ltmain only uses $CC for tagged configurations so make sure $CC is set. + _LT_TAG_COMPILER + + # save warnings/boilerplate of simple test code + _LT_COMPILER_BOILERPLATE + _LT_LINKER_BOILERPLATE + + # Allow CC to be a program name with arguments. + lt_save_CC="$CC" + lt_save_GCC=$GCC + lt_save_CFLAGS=$CFLAGS + CC=${FC-"f95"} + CFLAGS=$FCFLAGS + compiler=$CC + GCC=$ac_cv_fc_compiler_gnu + + _LT_TAGVAR(compiler, $1)=$CC + _LT_CC_BASENAME([$compiler]) + + if test -n "$compiler"; then + AC_MSG_CHECKING([if libtool supports shared libraries]) + AC_MSG_RESULT([$can_build_shared]) + + AC_MSG_CHECKING([whether to build shared libraries]) + test "$can_build_shared" = "no" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + aix[[4-9]]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + esac + AC_MSG_RESULT([$enable_shared]) + + AC_MSG_CHECKING([whether to build static libraries]) + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + AC_MSG_RESULT([$enable_static]) + + _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu" + _LT_TAGVAR(LD, $1)="$LD" + + ## CAVEAT EMPTOR: + ## There is no encapsulation within the following macros, do not change + ## the running order or otherwise move them around unless you know exactly + ## what you are doing... + _LT_SYS_HIDDEN_LIBDEPS($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) + fi # test -n "$compiler" + + GCC=$lt_save_GCC + CC=$lt_save_CC + CFLAGS=$lt_save_CFLAGS +fi # test "$_lt_disable_FC" != yes + +AC_LANG_POP +])# _LT_LANG_FC_CONFIG + + +# _LT_LANG_GCJ_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for the GNU Java Compiler compiler +# are suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_GCJ_CONFIG], +[AC_REQUIRE([LT_PROG_GCJ])dnl +AC_LANG_SAVE + +# Source file extension for Java test sources. +ac_ext=java + +# Object file extension for compiled Java test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="class foo {}" + +# Code to be used in simple link tests +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_TAG_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_CFLAGS=$CFLAGS +lt_save_GCC=$GCC +GCC=yes +CC=${GCJ-"gcj"} +CFLAGS=$GCJFLAGS +compiler=$CC +_LT_TAGVAR(compiler, $1)=$CC +_LT_TAGVAR(LD, $1)="$LD" +_LT_CC_BASENAME([$compiler]) + +# GCJ did not exist at the time GCC didn't implicitly link libc in. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no + +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds + +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... +if test -n "$compiler"; then + _LT_COMPILER_NO_RTTI($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) +fi + +AC_LANG_RESTORE + +GCC=$lt_save_GCC +CC=$lt_save_CC +CFLAGS=$lt_save_CFLAGS +])# _LT_LANG_GCJ_CONFIG + + +# _LT_LANG_GO_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for the GNU Go compiler +# are suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_GO_CONFIG], +[AC_REQUIRE([LT_PROG_GO])dnl +AC_LANG_SAVE + +# Source file extension for Go test sources. +ac_ext=go + +# Object file extension for compiled Go test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="package main; func main() { }" + +# Code to be used in simple link tests +lt_simple_link_test_code='package main; func main() { }' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_TAG_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_CFLAGS=$CFLAGS +lt_save_GCC=$GCC +GCC=yes +CC=${GOC-"gccgo"} +CFLAGS=$GOFLAGS +compiler=$CC +_LT_TAGVAR(compiler, $1)=$CC +_LT_TAGVAR(LD, $1)="$LD" +_LT_CC_BASENAME([$compiler]) + +# Go did not exist at the time GCC didn't implicitly link libc in. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no + +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds + +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... +if test -n "$compiler"; then + _LT_COMPILER_NO_RTTI($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) +fi + +AC_LANG_RESTORE + +GCC=$lt_save_GCC +CC=$lt_save_CC +CFLAGS=$lt_save_CFLAGS +])# _LT_LANG_GO_CONFIG + + +# _LT_LANG_RC_CONFIG([TAG]) +# ------------------------- +# Ensure that the configuration variables for the Windows resource compiler +# are suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_RC_CONFIG], +[AC_REQUIRE([LT_PROG_RC])dnl +AC_LANG_SAVE + +# Source file extension for RC test sources. +ac_ext=rc + +# Object file extension for compiled RC test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' + +# Code to be used in simple link tests +lt_simple_link_test_code="$lt_simple_compile_test_code" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_TAG_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +lt_save_CFLAGS=$CFLAGS +lt_save_GCC=$GCC +GCC= +CC=${RC-"windres"} +CFLAGS= +compiler=$CC +_LT_TAGVAR(compiler, $1)=$CC +_LT_CC_BASENAME([$compiler]) +_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + +if test -n "$compiler"; then + : + _LT_CONFIG($1) +fi + +GCC=$lt_save_GCC +AC_LANG_RESTORE +CC=$lt_save_CC +CFLAGS=$lt_save_CFLAGS +])# _LT_LANG_RC_CONFIG + + +# LT_PROG_GCJ +# ----------- +AC_DEFUN([LT_PROG_GCJ], +[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], + [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], + [AC_CHECK_TOOL(GCJ, gcj,) + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" + AC_SUBST(GCJFLAGS)])])[]dnl +]) + +# Old name: +AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([LT_AC_PROG_GCJ], []) + + +# LT_PROG_GO +# ---------- +AC_DEFUN([LT_PROG_GO], +[AC_CHECK_TOOL(GOC, gccgo,) +]) + + +# LT_PROG_RC +# ---------- +AC_DEFUN([LT_PROG_RC], +[AC_CHECK_TOOL(RC, windres,) +]) + +# Old name: +AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([LT_AC_PROG_RC], []) + + +# _LT_DECL_EGREP +# -------------- +# If we don't have a new enough Autoconf to choose the best grep +# available, choose the one first in the user's PATH. +m4_defun([_LT_DECL_EGREP], +[AC_REQUIRE([AC_PROG_EGREP])dnl +AC_REQUIRE([AC_PROG_FGREP])dnl +test -z "$GREP" && GREP=grep +_LT_DECL([], [GREP], [1], [A grep program that handles long lines]) +_LT_DECL([], [EGREP], [1], [An ERE matcher]) +_LT_DECL([], [FGREP], [1], [A literal string matcher]) +dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too +AC_SUBST([GREP]) +]) + + +# _LT_DECL_OBJDUMP +# -------------- +# If we don't have a new enough Autoconf to choose the best objdump +# available, choose the one first in the user's PATH. +m4_defun([_LT_DECL_OBJDUMP], +[AC_CHECK_TOOL(OBJDUMP, objdump, false) +test -z "$OBJDUMP" && OBJDUMP=objdump +_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper]) +AC_SUBST([OBJDUMP]) +]) + +# _LT_DECL_DLLTOOL +# ---------------- +# Ensure DLLTOOL variable is set. +m4_defun([_LT_DECL_DLLTOOL], +[AC_CHECK_TOOL(DLLTOOL, dlltool, false) +test -z "$DLLTOOL" && DLLTOOL=dlltool +_LT_DECL([], [DLLTOOL], [1], [DLL creation program]) +AC_SUBST([DLLTOOL]) +]) + +# _LT_DECL_SED +# ------------ +# Check for a fully-functional sed program, that truncates +# as few characters as possible. Prefer GNU sed if found. +m4_defun([_LT_DECL_SED], +[AC_PROG_SED +test -z "$SED" && SED=sed +Xsed="$SED -e 1s/^X//" +_LT_DECL([], [SED], [1], [A sed program that does not truncate output]) +_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], + [Sed that helps us avoid accidentally triggering echo(1) options like -n]) +])# _LT_DECL_SED + +m4_ifndef([AC_PROG_SED], [ +############################################################ +# NOTE: This macro has been submitted for inclusion into # +# GNU Autoconf as AC_PROG_SED. When it is available in # +# a released version of Autoconf we should remove this # +# macro and use it instead. # +############################################################ + +m4_defun([AC_PROG_SED], +[AC_MSG_CHECKING([for a sed that does not truncate output]) +AC_CACHE_VAL(lt_cv_path_SED, +[# Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for lt_ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" + fi + done + done +done +IFS=$as_save_IFS +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && continue + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed + fi + done +done +]) +SED=$lt_cv_path_SED +AC_SUBST([SED]) +AC_MSG_RESULT([$SED]) +])#AC_PROG_SED +])#m4_ifndef + +# Old name: +AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([LT_AC_PROG_SED], []) + + +# _LT_CHECK_SHELL_FEATURES +# ------------------------ +# Find out whether the shell is Bourne or XSI compatible, +# or has some other useful features. +m4_defun([_LT_CHECK_SHELL_FEATURES], +[AC_MSG_CHECKING([whether the shell understands some XSI constructs]) +# Try some XSI features +xsi_shell=no +( _lt_dummy="a/b/c" + test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ + = c,a/b,b/c, \ + && eval 'test $(( 1 + 1 )) -eq 2 \ + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ + && xsi_shell=yes +AC_MSG_RESULT([$xsi_shell]) +_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell']) + +AC_MSG_CHECKING([whether the shell understands "+="]) +lt_shell_append=no +( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \ + >/dev/null 2>&1 \ + && lt_shell_append=yes +AC_MSG_RESULT([$lt_shell_append]) +_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append']) + +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + lt_unset=unset +else + lt_unset=false +fi +_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl + +# test EBCDIC or ASCII +case `echo X|tr X '\101'` in + A) # ASCII based system + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr + lt_SP2NL='tr \040 \012' + lt_NL2SP='tr \015\012 \040\040' + ;; + *) # EBCDIC based system + lt_SP2NL='tr \100 \n' + lt_NL2SP='tr \r\n \100\100' + ;; +esac +_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl +_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl +])# _LT_CHECK_SHELL_FEATURES + + +# _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY) +# ------------------------------------------------------ +# In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and +# '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY. +m4_defun([_LT_PROG_FUNCTION_REPLACE], +[dnl { +sed -e '/^$1 ()$/,/^} # $1 /c\ +$1 ()\ +{\ +m4_bpatsubsts([$2], [$], [\\], [^\([ ]\)], [\\\1]) +} # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: +]) + + +# _LT_PROG_REPLACE_SHELLFNS +# ------------------------- +# Replace existing portable implementations of several shell functions with +# equivalent extended shell implementations where those features are available.. +m4_defun([_LT_PROG_REPLACE_SHELLFNS], +[if test x"$xsi_shell" = xyes; then + _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl + case ${1} in + */*) func_dirname_result="${1%/*}${2}" ;; + * ) func_dirname_result="${3}" ;; + esac]) + + _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl + func_basename_result="${1##*/}"]) + + _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl + case ${1} in + */*) func_dirname_result="${1%/*}${2}" ;; + * ) func_dirname_result="${3}" ;; + esac + func_basename_result="${1##*/}"]) + + _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are + # positional parameters, so assign one to ordinary parameter first. + func_stripname_result=${3} + func_stripname_result=${func_stripname_result#"${1}"} + func_stripname_result=${func_stripname_result%"${2}"}]) + + _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl + func_split_long_opt_name=${1%%=*} + func_split_long_opt_arg=${1#*=}]) + + _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl + func_split_short_opt_arg=${1#??} + func_split_short_opt_name=${1%"$func_split_short_opt_arg"}]) + + _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl + case ${1} in + *.lo) func_lo2o_result=${1%.lo}.${objext} ;; + *) func_lo2o_result=${1} ;; + esac]) + + _LT_PROG_FUNCTION_REPLACE([func_xform], [ func_xform_result=${1%.*}.lo]) + + _LT_PROG_FUNCTION_REPLACE([func_arith], [ func_arith_result=$(( $[*] ))]) + + _LT_PROG_FUNCTION_REPLACE([func_len], [ func_len_result=${#1}]) +fi + +if test x"$lt_shell_append" = xyes; then + _LT_PROG_FUNCTION_REPLACE([func_append], [ eval "${1}+=\\${2}"]) + + _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl + func_quote_for_eval "${2}" +dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \ + eval "${1}+=\\\\ \\$func_quote_for_eval_result"]) + + # Save a `func_append' function call where possible by direct use of '+=' + sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +else + # Save a `func_append' function call even when '+=' is not available + sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +fi + +if test x"$_lt_function_replace_fail" = x":"; then + AC_MSG_WARN([Unable to substitute extended shell functions in $ofile]) +fi +]) + +# _LT_PATH_CONVERSION_FUNCTIONS +# ----------------------------- +# Determine which file name conversion functions should be used by +# func_to_host_file (and, implicitly, by func_to_host_path). These are needed +# for certain cross-compile configurations and native mingw. +m4_defun([_LT_PATH_CONVERSION_FUNCTIONS], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +AC_MSG_CHECKING([how to convert $build file names to $host format]) +AC_CACHE_VAL(lt_cv_to_host_file_cmd, +[case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 + ;; + esac + ;; + *-*-cygwin* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin + ;; + esac + ;; + * ) # unhandled hosts (and "normal" native builds) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; +esac +]) +to_host_file_cmd=$lt_cv_to_host_file_cmd +AC_MSG_RESULT([$lt_cv_to_host_file_cmd]) +_LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd], + [0], [convert $build file names to $host format])dnl + +AC_MSG_CHECKING([how to convert $build file names to toolchain format]) +AC_CACHE_VAL(lt_cv_to_tool_file_cmd, +[#assume ordinary cross tools, or native build. +lt_cv_to_tool_file_cmd=func_convert_file_noop +case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 + ;; + esac + ;; +esac +]) +to_tool_file_cmd=$lt_cv_to_tool_file_cmd +AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) +_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], + [0], [convert $build files to toolchain format])dnl +])# _LT_PATH_CONVERSION_FUNCTIONS diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/m4/ltoptions.m4 b/tizen/distrib/remote/client/virt-viewer-0.5.3/m4/ltoptions.m4 new file mode 100644 index 0000000..5d9acd8 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/m4/ltoptions.m4 @@ -0,0 +1,384 @@ +# Helper functions for option handling. -*- Autoconf -*- +# +# Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# Written by Gary V. Vaughan, 2004 +# +# This file 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. + +# serial 7 ltoptions.m4 + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) + + +# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) +# ------------------------------------------ +m4_define([_LT_MANGLE_OPTION], +[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) + + +# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) +# --------------------------------------- +# Set option OPTION-NAME for macro MACRO-NAME, and if there is a +# matching handler defined, dispatch to it. Other OPTION-NAMEs are +# saved as a flag. +m4_define([_LT_SET_OPTION], +[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl +m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), + _LT_MANGLE_DEFUN([$1], [$2]), + [m4_warning([Unknown $1 option `$2'])])[]dnl +]) + + +# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) +# ------------------------------------------------------------ +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +m4_define([_LT_IF_OPTION], +[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) + + +# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) +# ------------------------------------------------------- +# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME +# are set. +m4_define([_LT_UNLESS_OPTIONS], +[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), + [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), + [m4_define([$0_found])])])[]dnl +m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 +])[]dnl +]) + + +# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) +# ---------------------------------------- +# OPTION-LIST is a space-separated list of Libtool options associated +# with MACRO-NAME. If any OPTION has a matching handler declared with +# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about +# the unknown option and exit. +m4_defun([_LT_SET_OPTIONS], +[# Set options +m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), + [_LT_SET_OPTION([$1], _LT_Option)]) + +m4_if([$1],[LT_INIT],[ + dnl + dnl Simply set some default values (i.e off) if boolean options were not + dnl specified: + _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no + ]) + _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no + ]) + dnl + dnl If no reference was made to various pairs of opposing options, then + dnl we run the default mode handler for the pair. For example, if neither + dnl `shared' nor `disable-shared' was passed, we enable building of shared + dnl archives by default: + _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) + _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) + _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) + _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], + [_LT_ENABLE_FAST_INSTALL]) + ]) +])# _LT_SET_OPTIONS + + +## --------------------------------- ## +## Macros to handle LT_INIT options. ## +## --------------------------------- ## + +# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) +# ----------------------------------------- +m4_define([_LT_MANGLE_DEFUN], +[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) + + +# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) +# ----------------------------------------------- +m4_define([LT_OPTION_DEFINE], +[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl +])# LT_OPTION_DEFINE + + +# dlopen +# ------ +LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes +]) + +AU_DEFUN([AC_LIBTOOL_DLOPEN], +[_LT_SET_OPTION([LT_INIT], [dlopen]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you +put the `dlopen' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) + + +# win32-dll +# --------- +# Declare package support for building win32 dll's. +LT_OPTION_DEFINE([LT_INIT], [win32-dll], +[enable_win32_dll=yes + +case $host in +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) + AC_CHECK_TOOL(AS, as, false) + AC_CHECK_TOOL(DLLTOOL, dlltool, false) + AC_CHECK_TOOL(OBJDUMP, objdump, false) + ;; +esac + +test -z "$AS" && AS=as +_LT_DECL([], [AS], [1], [Assembler program])dnl + +test -z "$DLLTOOL" && DLLTOOL=dlltool +_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl + +test -z "$OBJDUMP" && OBJDUMP=objdump +_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl +])# win32-dll + +AU_DEFUN([AC_LIBTOOL_WIN32_DLL], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +_LT_SET_OPTION([LT_INIT], [win32-dll]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you +put the `win32-dll' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) + + +# _LT_ENABLE_SHARED([DEFAULT]) +# ---------------------------- +# implement the --enable-shared flag, and supports the `shared' and +# `disable-shared' LT_INIT options. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +m4_define([_LT_ENABLE_SHARED], +[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl +AC_ARG_ENABLE([shared], + [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], + [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) + + _LT_DECL([build_libtool_libs], [enable_shared], [0], + [Whether or not to build shared libraries]) +])# _LT_ENABLE_SHARED + +LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) +LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) + +# Old names: +AC_DEFUN([AC_ENABLE_SHARED], +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) +]) + +AC_DEFUN([AC_DISABLE_SHARED], +[_LT_SET_OPTION([LT_INIT], [disable-shared]) +]) + +AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) +AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_ENABLE_SHARED], []) +dnl AC_DEFUN([AM_DISABLE_SHARED], []) + + + +# _LT_ENABLE_STATIC([DEFAULT]) +# ---------------------------- +# implement the --enable-static flag, and support the `static' and +# `disable-static' LT_INIT options. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +m4_define([_LT_ENABLE_STATIC], +[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl +AC_ARG_ENABLE([static], + [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], + [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_static=]_LT_ENABLE_STATIC_DEFAULT) + + _LT_DECL([build_old_libs], [enable_static], [0], + [Whether or not to build static libraries]) +])# _LT_ENABLE_STATIC + +LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) +LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) + +# Old names: +AC_DEFUN([AC_ENABLE_STATIC], +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) +]) + +AC_DEFUN([AC_DISABLE_STATIC], +[_LT_SET_OPTION([LT_INIT], [disable-static]) +]) + +AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) +AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_ENABLE_STATIC], []) +dnl AC_DEFUN([AM_DISABLE_STATIC], []) + + + +# _LT_ENABLE_FAST_INSTALL([DEFAULT]) +# ---------------------------------- +# implement the --enable-fast-install flag, and support the `fast-install' +# and `disable-fast-install' LT_INIT options. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +m4_define([_LT_ENABLE_FAST_INSTALL], +[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl +AC_ARG_ENABLE([fast-install], + [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], + [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) + +_LT_DECL([fast_install], [enable_fast_install], [0], + [Whether or not to optimize for fast installation])dnl +])# _LT_ENABLE_FAST_INSTALL + +LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) +LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) + +# Old names: +AU_DEFUN([AC_ENABLE_FAST_INSTALL], +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you put +the `fast-install' option into LT_INIT's first parameter.]) +]) + +AU_DEFUN([AC_DISABLE_FAST_INSTALL], +[_LT_SET_OPTION([LT_INIT], [disable-fast-install]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you put +the `disable-fast-install' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) +dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) + + +# _LT_WITH_PIC([MODE]) +# -------------------- +# implement the --with-pic flag, and support the `pic-only' and `no-pic' +# LT_INIT options. +# MODE is either `yes' or `no'. If omitted, it defaults to `both'. +m4_define([_LT_WITH_PIC], +[AC_ARG_WITH([pic], + [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@], + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], + [lt_p=${PACKAGE-default} + case $withval in + yes|no) pic_mode=$withval ;; + *) + pic_mode=default + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for lt_pkg in $withval; do + IFS="$lt_save_ifs" + if test "X$lt_pkg" = "X$lt_p"; then + pic_mode=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [pic_mode=default]) + +test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) + +_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl +])# _LT_WITH_PIC + +LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) +LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) + +# Old name: +AU_DEFUN([AC_LIBTOOL_PICMODE], +[_LT_SET_OPTION([LT_INIT], [pic-only]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you +put the `pic-only' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) + +## ----------------- ## +## LTDL_INIT Options ## +## ----------------- ## + +m4_define([_LTDL_MODE], []) +LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], + [m4_define([_LTDL_MODE], [nonrecursive])]) +LT_OPTION_DEFINE([LTDL_INIT], [recursive], + [m4_define([_LTDL_MODE], [recursive])]) +LT_OPTION_DEFINE([LTDL_INIT], [subproject], + [m4_define([_LTDL_MODE], [subproject])]) + +m4_define([_LTDL_TYPE], []) +LT_OPTION_DEFINE([LTDL_INIT], [installable], + [m4_define([_LTDL_TYPE], [installable])]) +LT_OPTION_DEFINE([LTDL_INIT], [convenience], + [m4_define([_LTDL_TYPE], [convenience])]) diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/m4/ltsugar.m4 b/tizen/distrib/remote/client/virt-viewer-0.5.3/m4/ltsugar.m4 new file mode 100644 index 0000000..9000a05 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/m4/ltsugar.m4 @@ -0,0 +1,123 @@ +# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- +# +# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. +# Written by Gary V. Vaughan, 2004 +# +# This file 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. + +# serial 6 ltsugar.m4 + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) + + +# lt_join(SEP, ARG1, [ARG2...]) +# ----------------------------- +# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their +# associated separator. +# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier +# versions in m4sugar had bugs. +m4_define([lt_join], +[m4_if([$#], [1], [], + [$#], [2], [[$2]], + [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) +m4_define([_lt_join], +[m4_if([$#$2], [2], [], + [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) + + +# lt_car(LIST) +# lt_cdr(LIST) +# ------------ +# Manipulate m4 lists. +# These macros are necessary as long as will still need to support +# Autoconf-2.59 which quotes differently. +m4_define([lt_car], [[$1]]) +m4_define([lt_cdr], +[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], + [$#], 1, [], + [m4_dquote(m4_shift($@))])]) +m4_define([lt_unquote], $1) + + +# lt_append(MACRO-NAME, STRING, [SEPARATOR]) +# ------------------------------------------ +# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'. +# Note that neither SEPARATOR nor STRING are expanded; they are appended +# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). +# No SEPARATOR is output if MACRO-NAME was previously undefined (different +# than defined and empty). +# +# This macro is needed until we can rely on Autoconf 2.62, since earlier +# versions of m4sugar mistakenly expanded SEPARATOR but not STRING. +m4_define([lt_append], +[m4_define([$1], + m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) + + + +# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) +# ---------------------------------------------------------- +# Produce a SEP delimited list of all paired combinations of elements of +# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list +# has the form PREFIXmINFIXSUFFIXn. +# Needed until we can rely on m4_combine added in Autoconf 2.62. +m4_define([lt_combine], +[m4_if(m4_eval([$# > 3]), [1], + [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl +[[m4_foreach([_Lt_prefix], [$2], + [m4_foreach([_Lt_suffix], + ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, + [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) + + +# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) +# ----------------------------------------------------------------------- +# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited +# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. +m4_define([lt_if_append_uniq], +[m4_ifdef([$1], + [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], + [lt_append([$1], [$2], [$3])$4], + [$5])], + [lt_append([$1], [$2], [$3])$4])]) + + +# lt_dict_add(DICT, KEY, VALUE) +# ----------------------------- +m4_define([lt_dict_add], +[m4_define([$1($2)], [$3])]) + + +# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) +# -------------------------------------------- +m4_define([lt_dict_add_subkey], +[m4_define([$1($2:$3)], [$4])]) + + +# lt_dict_fetch(DICT, KEY, [SUBKEY]) +# ---------------------------------- +m4_define([lt_dict_fetch], +[m4_ifval([$3], + m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), + m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) + + +# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) +# ----------------------------------------------------------------- +m4_define([lt_if_dict_fetch], +[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], + [$5], + [$6])]) + + +# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) +# -------------------------------------------------------------- +m4_define([lt_dict_filter], +[m4_if([$5], [], [], + [lt_join(m4_quote(m4_default([$4], [[, ]])), + lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), + [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl +]) diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/m4/ltversion.m4 b/tizen/distrib/remote/client/virt-viewer-0.5.3/m4/ltversion.m4 new file mode 100644 index 0000000..07a8602 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/m4/ltversion.m4 @@ -0,0 +1,23 @@ +# ltversion.m4 -- version numbers -*- Autoconf -*- +# +# Copyright (C) 2004 Free Software Foundation, Inc. +# Written by Scott James Remnant, 2004 +# +# This file 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. + +# @configure_input@ + +# serial 3337 ltversion.m4 +# This file is part of GNU Libtool + +m4_define([LT_PACKAGE_VERSION], [2.4.2]) +m4_define([LT_PACKAGE_REVISION], [1.3337]) + +AC_DEFUN([LTVERSION_VERSION], +[macro_version='2.4.2' +macro_revision='1.3337' +_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) +_LT_DECL(, macro_revision, 0) +]) diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/m4/lt~obsolete.m4 b/tizen/distrib/remote/client/virt-viewer-0.5.3/m4/lt~obsolete.m4 new file mode 100644 index 0000000..c573da9 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/m4/lt~obsolete.m4 @@ -0,0 +1,98 @@ +# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- +# +# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. +# Written by Scott James Remnant, 2004. +# +# This file 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. + +# serial 5 lt~obsolete.m4 + +# These exist entirely to fool aclocal when bootstrapping libtool. +# +# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN) +# which have later been changed to m4_define as they aren't part of the +# exported API, or moved to Autoconf or Automake where they belong. +# +# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN +# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us +# using a macro with the same name in our local m4/libtool.m4 it'll +# pull the old libtool.m4 in (it doesn't see our shiny new m4_define +# and doesn't know about Autoconf macros at all.) +# +# So we provide this file, which has a silly filename so it's always +# included after everything else. This provides aclocal with the +# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything +# because those macros already exist, or will be overwritten later. +# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. +# +# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. +# Yes, that means every name once taken will need to remain here until +# we give up compatibility with versions before 1.7, at which point +# we need to keep only those names which we still refer to. + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) + +m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) +m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) +m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) +m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) +m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) +m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) +m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) +m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) +m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) +m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) +m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) +m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) +m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) +m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) +m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) +m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) +m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) +m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) +m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) +m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) +m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) +m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) +m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) +m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) +m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) +m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) +m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) +m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) +m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) +m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) +m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) +m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) +m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) +m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) +m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) +m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) +m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) +m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) +m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) +m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) +m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) +m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) +m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) +m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) +m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) +m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) +m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) +m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) +m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) +m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) +m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) +m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) +m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) +m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/maint.mk b/tizen/distrib/remote/client/virt-viewer-0.5.3/maint.mk new file mode 100644 index 0000000..bac7a96 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/maint.mk @@ -0,0 +1,1514 @@ +# -*-Makefile-*- +# This Makefile fragment tries to be general-purpose enough to be +# used by many projects via the gnulib maintainer-makefile module. + +## Copyright (C) 2001-2011 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 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/>. + +# This is reported not to work with make-3.79.1 +# ME := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)) +ME := maint.mk + +# Diagnostic for continued use of deprecated variable. +# Remove in 2013 +ifneq ($(build_aux),) + $(error "$(ME): \ +set $$(_build-aux) relative to $$(srcdir) instead of $$(build_aux)") +endif + +# Do not save the original name or timestamp in the .tar.gz file. +# Use --rsyncable if available. +gzip_rsyncable := \ + $(shell gzip --help 2>/dev/null|grep rsyncable >/dev/null \ + && printf %s --rsyncable) +GZIP_ENV = '--no-name --best $(gzip_rsyncable)' + +GIT = git +VC = $(GIT) + +VC_LIST = $(srcdir)/$(_build-aux)/vc-list-files -C $(srcdir) + +# You can override this variable in cfg.mk to set your own regexp +# matching files to ignore. +VC_LIST_ALWAYS_EXCLUDE_REGEX ?= ^$$ + +# This is to preprocess robustly the output of $(VC_LIST), so that even +# when $(srcdir) is a pathological name like "....", the leading sed command +# removes only the intended prefix. +_dot_escaped_srcdir = $(subst .,\.,$(srcdir)) + +# Post-process $(VC_LIST) output, prepending $(srcdir)/, but only +# when $(srcdir) is not ".". +ifeq ($(srcdir),.) +_prepend_srcdir_prefix = +else +_prepend_srcdir_prefix = | sed 's|^|$(srcdir)/|' +endif + +# In order to be able to consistently filter "."-relative names, +# (i.e., with no $(srcdir) prefix), this definition is careful to +# remove any $(srcdir) prefix, and to restore what it removes. +_sc_excl = \ + $(if $(exclude_file_name_regexp--$@),$(exclude_file_name_regexp--$@),^$$) +VC_LIST_EXCEPT = \ + $(VC_LIST) | sed 's|^$(_dot_escaped_srcdir)/||' \ + | if test -f $(srcdir)/.x-$@; then grep -vEf $(srcdir)/.x-$@; \ + else grep -Ev -e "$${VC_LIST_EXCEPT_DEFAULT-ChangeLog}"; fi \ + | grep -Ev -e '($(VC_LIST_ALWAYS_EXCLUDE_REGEX)|$(_sc_excl))' \ + $(_prepend_srcdir_prefix) + +ifeq ($(origin prev_version_file), undefined) + prev_version_file = $(srcdir)/.prev-version +endif + +PREV_VERSION := $(shell cat $(prev_version_file) 2>/dev/null) +VERSION_REGEXP = $(subst .,\.,$(VERSION)) +PREV_VERSION_REGEXP = $(subst .,\.,$(PREV_VERSION)) + +ifeq ($(VC),$(GIT)) +this-vc-tag = v$(VERSION) +this-vc-tag-regexp = v$(VERSION_REGEXP) +else +tag-package = $(shell echo "$(PACKAGE)" | tr '[:lower:]' '[:upper:]') +tag-this-version = $(subst .,_,$(VERSION)) +this-vc-tag = $(tag-package)-$(tag-this-version) +this-vc-tag-regexp = $(this-vc-tag) +endif +my_distdir = $(PACKAGE)-$(VERSION) + +# Old releases are stored here. +release_archive_dir ?= ../release + +# Override gnu_rel_host and url_dir_list in cfg.mk if these are not right. +# Use alpha.gnu.org for alpha and beta releases. +# Use ftp.gnu.org for stable releases. +gnu_ftp_host-alpha = alpha.gnu.org +gnu_ftp_host-beta = alpha.gnu.org +gnu_ftp_host-stable = ftp.gnu.org +gnu_rel_host ?= $(gnu_ftp_host-$(RELEASE_TYPE)) + +ifeq ($(gnu_rel_host),ftp.gnu.org) +url_dir_list ?= http://ftpmirror.gnu.org/$(PACKAGE) +else +url_dir_list ?= ftp://$(gnu_rel_host)/gnu/$(PACKAGE) +endif + +# Override this in cfg.mk if you are using a different format in your +# NEWS file. +today = $(shell date +%Y-%m-%d) + +# Select which lines of NEWS are searched for $(news-check-regexp). +# This is a sed line number spec. The default says that we search +# lines 1..10 of NEWS for $(news-check-regexp). +# If you want to search only line 3 or only lines 20-22, use "3" or "20,22". +news-check-lines-spec ?= 1,10 +news-check-regexp ?= '^\*.* $(VERSION_REGEXP) \($(today)\)' + +# Prevent programs like 'sort' from considering distinct strings to be equal. +# Doing it here saves us from having to set LC_ALL elsewhere in this file. +export LC_ALL = C + +## --------------- ## +## Sanity checks. ## +## --------------- ## + +_cfg_mk := $(shell test -f $(srcdir)/cfg.mk && echo '$(srcdir)/cfg.mk') + +# Collect the names of rules starting with `sc_'. +syntax-check-rules := $(sort $(shell sed -n 's/^\(sc_[a-zA-Z0-9_-]*\):.*/\1/p' \ + $(srcdir)/$(ME) $(_cfg_mk))) +.PHONY: $(syntax-check-rules) + +ifeq ($(shell $(VC_LIST) >/dev/null 2>&1; echo $$?),0) +local-checks-available += $(syntax-check-rules) +else +local-checks-available += no-vc-detected +no-vc-detected: + @echo "No version control files detected; skipping syntax check" +endif +.PHONY: $(local-checks-available) + +# Arrange to print the name of each syntax-checking rule just before running it. +$(syntax-check-rules): %: %.m +sc_m_rules_ = $(patsubst %, %.m, $(syntax-check-rules)) +.PHONY: $(sc_m_rules_) +$(sc_m_rules_): + @echo $(patsubst sc_%.m, %, $@) + @date +%s.%N > .sc-start-$(basename $@) + +# Compute and print the elapsed time for each syntax-check rule. +sc_z_rules_ = $(patsubst %, %.z, $(syntax-check-rules)) +.PHONY: $(sc_z_rules_) +$(sc_z_rules_): %.z: % + @end=$$(date +%s.%N); \ + start=$$(cat .sc-start-$*); \ + rm -f .sc-start-$*; \ + awk -v s=$$start -v e=$$end \ + 'END {printf "%.2f $(patsubst sc_%,%,$*)\n", e - s}' < /dev/null + +# The patsubst here is to replace each sc_% rule with its sc_%.z wrapper +# that computes and prints elapsed time. +local-check := \ + $(patsubst sc_%, sc_%.z, \ + $(filter-out $(local-checks-to-skip), $(local-checks-available))) + +syntax-check: $(local-check) + +# _sc_search_regexp +# +# This macro searches for a given construct in the selected files and +# then takes some action. +# +# Parameters (shell variables): +# +# prohibit | require +# +# Regular expression (ERE) denoting either a forbidden construct +# or a required construct. Those arguments are exclusive. +# +# in_vc_files | in_files +# +# grep-E-style regexp denoting the files to check. If no files +# are specified the default are all the files that are under +# version control. +# +# containing | non_containing +# +# Select the files (non) containing strings matching this regexp. +# If both arguments are specified then CONTAINING takes +# precedence. +# +# with_grep_options +# +# Extra options for grep. +# +# ignore_case +# +# Ignore case. +# +# halt +# +# Message to display before to halting execution. +# +# Finally, you may exempt files based on an ERE matching file names. +# For example, to exempt from the sc_space_tab check all files with the +# .diff suffix, set this Make variable: +# +# exclude_file_name_regexp--sc_space_tab = \.diff$ +# +# Note that while this functionality is mostly inherited via VC_LIST_EXCEPT, +# when filtering by name via in_files, we explicitly filter out matching +# names here as well. + +# By default, _sc_search_regexp does not ignore case. +export ignore_case = +_ignore_case = $$(test -n "$$ignore_case" && printf %s -i || :) + +define _sc_say_and_exit + dummy=; : so we do not need a semicolon before each use; \ + { printf '%s\n' "$(ME): $$msg" 1>&2; exit 1; }; +endef + +# _sc_search_regexp used to be named _prohibit_regexp. However, +# upgrading to the new definition and leaving the old name undefined +# would usually convert each custom rule using $(_prohibit_regexp) +# (usually defined in cfg.mk) into a no-op. This definition ensures +# that people know right away if they're still using the old name. +# FIXME: remove in 2012. +_prohibit_regexp = \ + $(error '*** you need to s/_prohibit_regexp/_sc_search_regexp/, and adapt') + +define _sc_search_regexp + dummy=; : so we do not need a semicolon before each use; \ + \ + : Check arguments; \ + test -n "$$prohibit" && test -n "$$require" \ + && { msg='Cannot specify both prohibit and require' \ + $(_sc_say_and_exit) } || :; \ + test -z "$$prohibit" && test -z "$$require" \ + && { msg='Should specify either prohibit or require' \ + $(_sc_say_and_exit) } || :; \ + test -n "$$in_vc_files" && test -n "$$in_files" \ + && { msg='Cannot specify both in_vc_files and in_files' \ + $(_sc_say_and_exit) } || :; \ + test "x$$halt" != x \ + || { msg='halt not defined' $(_sc_say_and_exit) }; \ + \ + : Filter by file name; \ + if test -n "$$in_files"; then \ + files=$$(find $(srcdir) | grep -E "$$in_files" \ + | grep -Ev '$(exclude_file_name_regexp--$@)'); \ + else \ + files=$$($(VC_LIST_EXCEPT)); \ + if test -n "$$in_vc_files"; then \ + files=$$(echo "$$files" | grep -E "$$in_vc_files"); \ + fi; \ + fi; \ + \ + : Filter by content; \ + test -n "$$files" && test -n "$$containing" \ + && { files=$$(grep -l "$$containing" $$files); } || :; \ + test -n "$$files" && test -n "$$non_containing" \ + && { files=$$(grep -vl "$$non_containing" $$files); } || :; \ + \ + : Check for the construct; \ + if test -n "$$files"; then \ + if test -n "$$prohibit"; then \ + grep $$with_grep_options $(_ignore_case) -nE "$$prohibit" $$files \ + && { msg="$$halt" $(_sc_say_and_exit) } || :; \ + else \ + grep $$with_grep_options $(_ignore_case) -LE "$$require" $$files \ + | grep . \ + && { msg="$$halt" $(_sc_say_and_exit) } || :; \ + fi \ + else :; \ + fi || :; +endef + +sc_avoid_if_before_free: + @$(srcdir)/$(_build-aux)/useless-if-before-free \ + $(useless_free_options) \ + $$($(VC_LIST_EXCEPT) | grep -v useless-if-before-free) && \ + { echo '$(ME): found useless "if" before "free" above' 1>&2; \ + exit 1; } || : + +sc_cast_of_argument_to_free: + @prohibit='\<free *\( *\(' halt='don'\''t cast free argument' \ + $(_sc_search_regexp) + +sc_cast_of_x_alloc_return_value: + @prohibit='\*\) *x(m|c|re)alloc\>' \ + halt='don'\''t cast x*alloc return value' \ + $(_sc_search_regexp) + +sc_cast_of_alloca_return_value: + @prohibit='\*\) *alloca\>' \ + halt='don'\''t cast alloca return value' \ + $(_sc_search_regexp) + +sc_space_tab: + @prohibit='[ ] ' \ + halt='found SPACE-TAB sequence; remove the SPACE' \ + $(_sc_search_regexp) + +# Don't use *scanf or the old ato* functions in `real' code. +# They provide no error checking mechanism. +# Instead, use strto* functions. +sc_prohibit_atoi_atof: + @prohibit='\<([fs]?scanf|ato([filq]|ll)) *\(' \ + halt='do not use *scan''f, ato''f, ato''i, ato''l, ato''ll or ato''q' \ + $(_sc_search_regexp) + +# Use STREQ rather than comparing strcmp == 0, or != 0. +sc_prohibit_strcmp: + @grep -nE '! *str''cmp *\(|\<str''cmp *\(.+\) *[!=]=' \ + $$($(VC_LIST_EXCEPT)) \ + | grep -vE ':# *define STRN?EQ\(' && \ + { echo '$(ME): replace str''cmp calls above with STREQ/STRNEQ' \ + 1>&2; exit 1; } || : + +# Pass EXIT_*, not number, to usage, exit, and error (when exiting) +# Convert all uses automatically, via these two commands: +# git grep -l '\<exit *(1)' \ +# | grep -vEf .x-sc_prohibit_magic_number_exit \ +# | xargs --no-run-if-empty \ +# perl -pi -e 's/(^|[^.])\b(exit ?)\(1\)/$1$2(EXIT_FAILURE)/' +# git grep -l '\<exit *(0)' \ +# | grep -vEf .x-sc_prohibit_magic_number_exit \ +# | xargs --no-run-if-empty \ +# perl -pi -e 's/(^|[^.])\b(exit ?)\(0\)/$1$2(EXIT_SUCCESS)/' +sc_prohibit_magic_number_exit: + @prohibit='(^|[^.])\<(usage|exit) ?\([0-9]|\<error ?\([1-9][0-9]*,' \ + halt='use EXIT_* values rather than magic number' \ + $(_sc_search_regexp) + +# Using EXIT_SUCCESS as the first argument to error is misleading, +# since when that parameter is 0, error does not exit. Use `0' instead. +sc_error_exit_success: + @prohibit='error *\(EXIT_SUCCESS,' \ + in_vc_files='\.[chly]$$' \ + halt='found error (EXIT_SUCCESS' \ + $(_sc_search_regexp) + +# `FATAL:' should be fully upper-cased in error messages +# `WARNING:' should be fully upper-cased, or fully lower-cased +sc_error_message_warn_fatal: + @grep -nEA2 '[^rp]error *\(' $$($(VC_LIST_EXCEPT)) \ + | grep -E '"Warning|"Fatal|"fatal' && \ + { echo '$(ME): use FATAL, WARNING or warning' 1>&2; \ + exit 1; } || : + +# Error messages should not start with a capital letter +sc_error_message_uppercase: + @grep -nEA2 '[^rp]error *\(' $$($(VC_LIST_EXCEPT)) \ + | grep -E '"[A-Z]' \ + | grep -vE '"FATAL|"WARNING|"Java|"C#|PRIuMAX' && \ + { echo '$(ME): found capitalized error message' 1>&2; \ + exit 1; } || : + +# Error messages should not end with a period +sc_error_message_period: + @grep -nEA2 '[^rp]error *\(' $$($(VC_LIST_EXCEPT)) \ + | grep -E '[^."]\."' && \ + { echo '$(ME): found error message ending in period' 1>&2; \ + exit 1; } || : + +sc_file_system: + @prohibit=file''system \ + ignore_case=1 \ + halt='found use of "file''system"; spell it "file system"' \ + $(_sc_search_regexp) + +# Don't use cpp tests of this symbol. All code assumes config.h is included. +sc_prohibit_have_config_h: + @prohibit='^# *if.*HAVE''_CONFIG_H' \ + halt='found use of HAVE''_CONFIG_H; remove' \ + $(_sc_search_regexp) + +# Nearly all .c files must include <config.h>. However, we also permit this +# via inclusion of a package-specific header, if cfg.mk specified one. +# config_h_header must be suitable for grep -E. +config_h_header ?= <config\.h> +sc_require_config_h: + @require='^# *include $(config_h_header)' \ + in_vc_files='\.c$$' \ + halt='the above files do not include <config.h>' \ + $(_sc_search_regexp) + +# You must include <config.h> before including any other header file. +# This can possibly be via a package-specific header, if given by cfg.mk. +sc_require_config_h_first: + @if $(VC_LIST_EXCEPT) | grep -l '\.c$$' > /dev/null; then \ + fail=0; \ + for i in $$($(VC_LIST_EXCEPT) | grep '\.c$$'); do \ + grep '^# *include\>' $$i | sed 1q \ + | grep -E '^# *include $(config_h_header)' > /dev/null \ + || { echo $$i; fail=1; }; \ + done; \ + test $$fail = 1 && \ + { echo '$(ME): the above files include some other header' \ + 'before <config.h>' 1>&2; exit 1; } || :; \ + else :; \ + fi + +sc_prohibit_HAVE_MBRTOWC: + @prohibit='\bHAVE_MBRTOWC\b' \ + halt="do not use $$prohibit; it is always defined" \ + $(_sc_search_regexp) + +# To use this "command" macro, you must first define two shell variables: +# h: the header name, with no enclosing <> or "" +# re: a regular expression that matches IFF something provided by $h is used. +define _sc_header_without_use + dummy=; : so we do not need a semicolon before each use; \ + h_esc=`echo '[<"]'"$$h"'[">]'|sed 's/\./\\\\./g'`; \ + if $(VC_LIST_EXCEPT) | grep -l '\.c$$' > /dev/null; then \ + files=$$(grep -l '^# *include '"$$h_esc" \ + $$($(VC_LIST_EXCEPT) | grep '\.c$$')) && \ + grep -LE "$$re" $$files | grep . && \ + { echo "$(ME): the above files include $$h but don't use it" \ + 1>&2; exit 1; } || :; \ + else :; \ + fi +endef + +# Prohibit the inclusion of assert.h without an actual use of assert. +sc_prohibit_assert_without_use: + @h='assert.h' re='\<assert *\(' $(_sc_header_without_use) + +# Prohibit the inclusion of close-stream.h without an actual use. +sc_prohibit_close_stream_without_use: + @h='close-stream.h' re='\<close_stream *\(' $(_sc_header_without_use) + +# Prohibit the inclusion of getopt.h without an actual use. +sc_prohibit_getopt_without_use: + @h='getopt.h' re='\<getopt(_long)? *\(' $(_sc_header_without_use) + +# Don't include quotearg.h unless you use one of its functions. +sc_prohibit_quotearg_without_use: + @h='quotearg.h' re='\<quotearg(_[^ ]+)? *\(' $(_sc_header_without_use) + +# Don't include quote.h unless you use one of its functions. +sc_prohibit_quote_without_use: + @h='quote.h' re='\<quote(_n)? *\(' $(_sc_header_without_use) + +# Don't include this header unless you use one of its functions. +sc_prohibit_long_options_without_use: + @h='long-options.h' re='\<parse_long_options *\(' \ + $(_sc_header_without_use) + +# Don't include this header unless you use one of its functions. +sc_prohibit_inttostr_without_use: + @h='inttostr.h' re='\<(off|[iu]max|uint)tostr *\(' \ + $(_sc_header_without_use) + +# Don't include this header unless you use one of its functions. +sc_prohibit_ignore_value_without_use: + @h='ignore-value.h' re='\<ignore_(value|ptr) *\(' \ + $(_sc_header_without_use) + +# Don't include this header unless you use one of its functions. +sc_prohibit_error_without_use: + @h='error.h' \ + re='\<error(_at_line|_print_progname|_one_per_line|_message_count)? *\('\ + $(_sc_header_without_use) + +# Don't include xalloc.h unless you use one of its functions. +# Consider these symbols: +# perl -lne '/^# *define (\w+)\(/ and print $1' lib/xalloc.h|grep -v '^__'; +# perl -lne '/^(?:extern )?(?:void|char) \*?(\w+) *\(/ and print $1' lib/xalloc.h +# Divide into two sets on case, and filter each through this: +# | sort | perl -MRegexp::Assemble -le \ +# 'print Regexp::Assemble->new(file => "/dev/stdin")->as_string'|sed 's/\?://g' +# Note this was produced by the above: +# _xa1 = \ +#x(((2n?)?re|c(har)?|n(re|m)|z)alloc|alloc_(oversized|die)|m(alloc|emdup)|strdup) +# But we can do better, in at least two ways: +# 1) take advantage of two "dup"-suffixed strings: +# x(((2n?)?re|c(har)?|n(re|m)|[mz])alloc|alloc_(oversized|die)|(mem|str)dup) +# 2) notice that "c(har)?|[mz]" is equivalent to the shorter and more readable +# "char|[cmz]" +# x(((2n?)?re|char|n(re|m)|[cmz])alloc|alloc_(oversized|die)|(mem|str)dup) +_xa1 = x(((2n?)?re|char|n(re|m)|[cmz])alloc|alloc_(oversized|die)|(mem|str)dup) +_xa2 = X([CZ]|N?M)ALLOC +sc_prohibit_xalloc_without_use: + @h='xalloc.h' \ + re='\<($(_xa1)|$(_xa2)) *\('\ + $(_sc_header_without_use) + +# Extract function names: +# perl -lne '/^(?:extern )?(?:void|char) \*?(\w+) *\(/ and print $1' lib/hash.h +_hash_re = \ +clear|delete|free|get_(first|next)|insert|lookup|print_statistics|reset_tuning +_hash_fn = \<($(_hash_re)) *\( +_hash_struct = (struct )?\<[Hh]ash_(table|tuning)\> +sc_prohibit_hash_without_use: + @h='hash.h' \ + re='$(_hash_fn)|$(_hash_struct)'\ + $(_sc_header_without_use) + +sc_prohibit_cloexec_without_use: + @h='cloexec.h' re='\<(set_cloexec_flag|dup_cloexec) *\(' \ + $(_sc_header_without_use) + +sc_prohibit_posixver_without_use: + @h='posixver.h' re='\<posix2_version *\(' $(_sc_header_without_use) + +sc_prohibit_same_without_use: + @h='same.h' re='\<same_name *\(' $(_sc_header_without_use) + +sc_prohibit_hash_pjw_without_use: + @h='hash-pjw.h' \ + re='\<hash_pjw *\(' \ + $(_sc_header_without_use) + +sc_prohibit_safe_read_without_use: + @h='safe-read.h' re='(\<SAFE_READ_ERROR\>|\<safe_read *\()' \ + $(_sc_header_without_use) + +sc_prohibit_argmatch_without_use: + @h='argmatch.h' \ + re='(\<(ARRAY_CARDINALITY|X?ARGMATCH(|_TO_ARGUMENT|_VERIFY))\>|\<(invalid_arg|argmatch(_exit_fn|_(in)?valid)?) *\()' \ + $(_sc_header_without_use) + +sc_prohibit_canonicalize_without_use: + @h='canonicalize.h' \ + re='CAN_(EXISTING|ALL_BUT_LAST|MISSING)|canonicalize_(mode_t|filename_mode)' \ + $(_sc_header_without_use) + +sc_prohibit_root_dev_ino_without_use: + @h='root-dev-ino.h' \ + re='(\<ROOT_DEV_INO_(CHECK|WARN)\>|\<get_root_dev_ino *\()' \ + $(_sc_header_without_use) + +sc_prohibit_openat_without_use: + @h='openat.h' \ + re='\<(openat_(permissive|needs_fchdir|(save|restore)_fail)|l?(stat|ch(own|mod))at|(euid)?accessat)\>' \ + $(_sc_header_without_use) + +# Prohibit the inclusion of c-ctype.h without an actual use. +ctype_re = isalnum|isalpha|isascii|isblank|iscntrl|isdigit|isgraph|islower\ +|isprint|ispunct|isspace|isupper|isxdigit|tolower|toupper +sc_prohibit_c_ctype_without_use: + @h='c-ctype.h' re='\<c_($(ctype_re)) *\(' \ + $(_sc_header_without_use) + +_empty = +_sp = $(_empty) $(_empty) +# The following list was generated by running: +# man signal.h|col -b|perl -ne '/bsd_signal.*;/.../sigwaitinfo.*;/ and print' \ +# | perl -lne '/^\s+(?:int|void).*?(\w+).*/ and print $1' | fmt +_sig_functions = \ + bsd_signal kill killpg pthread_kill pthread_sigmask raise sigaction \ + sigaddset sigaltstack sigdelset sigemptyset sigfillset sighold sigignore \ + siginterrupt sigismember signal sigpause sigpending sigprocmask sigqueue \ + sigrelse sigset sigsuspend sigtimedwait sigwait sigwaitinfo +_sig_function_re = $(subst $(_sp),|,$(strip $(_sig_functions))) +# The following were extracted from "man signal.h" manually. +_sig_types_and_consts = \ + MINSIGSTKSZ SA_NOCLDSTOP SA_NOCLDWAIT SA_NODEFER SA_ONSTACK \ + SA_RESETHAND SA_RESTART SA_SIGINFO SIGEV_NONE SIGEV_SIGNAL \ + SIGEV_THREAD SIGSTKSZ SIG_BLOCK SIG_SETMASK SIG_UNBLOCK SS_DISABLE \ + SS_ONSTACK mcontext_t pid_t sig_atomic_t sigevent siginfo_t sigset_t \ + sigstack sigval stack_t ucontext_t +# generated via this: +# perl -lne '/^#ifdef (SIG\w+)/ and print $1' lib/sig2str.c|sort -u|fmt -70 +_sig_names = \ + SIGABRT SIGALRM SIGALRM1 SIGBUS SIGCANCEL SIGCHLD SIGCLD SIGCONT \ + SIGDANGER SIGDIL SIGEMT SIGFPE SIGFREEZE SIGGRANT SIGHUP SIGILL \ + SIGINFO SIGINT SIGIO SIGIOT SIGKAP SIGKILL SIGKILLTHR SIGLOST SIGLWP \ + SIGMIGRATE SIGMSG SIGPHONE SIGPIPE SIGPOLL SIGPRE SIGPROF SIGPWR \ + SIGQUIT SIGRETRACT SIGSAK SIGSEGV SIGSOUND SIGSTKFLT SIGSTOP SIGSYS \ + SIGTERM SIGTHAW SIGTRAP SIGTSTP SIGTTIN SIGTTOU SIGURG SIGUSR1 \ + SIGUSR2 SIGVIRT SIGVTALRM SIGWAITING SIGWINCH SIGWIND SIGWINDOW \ + SIGXCPU SIGXFSZ +_sig_syms_re = $(subst $(_sp),|,$(strip $(_sig_names) $(_sig_types_and_consts))) + +# Prohibit the inclusion of signal.h without an actual use. +sc_prohibit_signal_without_use: + @h='signal.h' \ + re='\<($(_sig_function_re)) *\(|\<($(_sig_syms_re))\>' \ + $(_sc_header_without_use) + +# Don't include stdio--.h unless you use one of its functions. +sc_prohibit_stdio--_without_use: + @h='stdio--.h' re='\<((f(re)?|p)open|tmpfile) *\(' \ + $(_sc_header_without_use) + +# Don't include stdio-safer.h unless you use one of its functions. +sc_prohibit_stdio-safer_without_use: + @h='stdio-safer.h' re='\<((f(re)?|p)open|tmpfile)_safer *\(' \ + $(_sc_header_without_use) + +# Prohibit the inclusion of strings.h without a sensible use. +# Using the likes of bcmp, bcopy, bzero, index or rindex is not sensible. +sc_prohibit_strings_without_use: + @h='strings.h' \ + re='\<(strn?casecmp|ffs(ll)?)\>' \ + $(_sc_header_without_use) + +# Get the list of symbol names with this: +# perl -lne '/^# *define ([A-Z]\w+)\(/ and print $1' lib/intprops.h|fmt +_intprops_names = \ + TYPE_IS_INTEGER TYPE_TWOS_COMPLEMENT TYPE_ONES_COMPLEMENT \ + TYPE_SIGNED_MAGNITUDE TYPE_SIGNED TYPE_MINIMUM TYPE_MAXIMUM \ + INT_BITS_STRLEN_BOUND INT_STRLEN_BOUND INT_BUFSIZE_BOUND \ + INT_ADD_RANGE_OVERFLOW INT_SUBTRACT_RANGE_OVERFLOW \ + INT_NEGATE_RANGE_OVERFLOW INT_MULTIPLY_RANGE_OVERFLOW \ + INT_DIVIDE_RANGE_OVERFLOW INT_REMAINDER_RANGE_OVERFLOW \ + INT_LEFT_SHIFT_RANGE_OVERFLOW INT_ADD_OVERFLOW INT_SUBTRACT_OVERFLOW \ + INT_NEGATE_OVERFLOW INT_MULTIPLY_OVERFLOW INT_DIVIDE_OVERFLOW \ + INT_REMAINDER_OVERFLOW INT_LEFT_SHIFT_OVERFLOW +_intprops_syms_re = $(subst $(_sp),|,$(strip $(_intprops_names))) +# Prohibit the inclusion of intprops.h without an actual use. +sc_prohibit_intprops_without_use: + @h='intprops.h' \ + re='\<($(_intprops_syms_re)) *\(' \ + $(_sc_header_without_use) + +_stddef_syms_re = NULL|offsetof|ptrdiff_t|size_t|wchar_t +# Prohibit the inclusion of stddef.h without an actual use. +sc_prohibit_stddef_without_use: + @h='stddef.h' \ + re='\<($(_stddef_syms_re))\>' \ + $(_sc_header_without_use) + +_de1 = dirfd|(close|(fd)?open|read|rewind|seek|tell)dir(64)?(_r)? +_de2 = (versionsort|struct dirent|getdirentries|alphasort|scandir(at)?)(64)? +_de3 = MAXNAMLEN|DIR|ino_t|d_ino|d_fileno|d_namlen +_dirent_syms_re = $(_de1)|$(_de2)|$(_de3) +# Prohibit the inclusion of dirent.h without an actual use. +sc_prohibit_dirent_without_use: + @h='dirent.h' \ + re='\<($(_dirent_syms_re))\>' \ + $(_sc_header_without_use) + +# Prohibit the inclusion of verify.h without an actual use. +sc_prohibit_verify_without_use: + @h='verify.h' \ + re='\<(verify(true|expr)?|static_assert) *\(' \ + $(_sc_header_without_use) + +# Don't include xfreopen.h unless you use one of its functions. +sc_prohibit_xfreopen_without_use: + @h='xfreopen.h' re='\<xfreopen *\(' $(_sc_header_without_use) + +sc_obsolete_symbols: + @prohibit='\<(HAVE''_FCNTL_H|O''_NDELAY)\>' \ + halt='do not use HAVE''_FCNTL_H or O'_NDELAY \ + $(_sc_search_regexp) + +# FIXME: warn about definitions of EXIT_FAILURE, EXIT_SUCCESS, STREQ + +# Each nonempty ChangeLog line must start with a year number, or a TAB. +sc_changelog: + @prohibit='^[^12 ]' \ + in_vc_files='^ChangeLog$$' \ + halt='found unexpected prefix in a ChangeLog' \ + $(_sc_search_regexp) + +# Ensure that each .c file containing a "main" function also +# calls set_program_name. +sc_program_name: + @require='set_program_name *\(m?argv\[0\]\);' \ + in_vc_files='\.c$$' \ + containing='\<main *(' \ + halt='the above files do not call set_program_name' \ + $(_sc_search_regexp) + +# Ensure that each .c file containing a "main" function also +# calls bindtextdomain. +sc_bindtextdomain: + @require='bindtextdomain *\(' \ + in_vc_files='\.c$$' \ + containing='\<main *(' \ + halt='the above files do not call bindtextdomain' \ + $(_sc_search_regexp) + +# Require that the final line of each test-lib.sh-using test be this one: +# Exit $fail +# Note: this test requires GNU grep's --label= option. +Exit_witness_file ?= tests/test-lib.sh +Exit_base := $(notdir $(Exit_witness_file)) +sc_require_test_exit_idiom: + @if test -f $(srcdir)/$(Exit_witness_file); then \ + die=0; \ + for i in $$(grep -l -F 'srcdir/$(Exit_base)' \ + $$($(VC_LIST) tests)); do \ + tail -n1 $$i | grep '^Exit .' > /dev/null \ + && : || { die=1; echo $$i; } \ + done; \ + test $$die = 1 && \ + { echo 1>&2 '$(ME): the final line in each of the above is not:'; \ + echo 1>&2 'Exit something'; \ + exit 1; } || :; \ + fi + +sc_trailing_blank: + @prohibit='[ ]$$' \ + halt='found trailing blank(s)' \ + $(_sc_search_regexp) + +# Match lines like the following, but where there is only one space +# between the options and the description: +# -D, --all-repeated[=delimit-method] print all duplicate lines\n +longopt_re = --[a-z][0-9A-Za-z-]*(\[?=[0-9A-Za-z-]*\]?)? +sc_two_space_separator_in_usage: + @prohibit='^ *(-[A-Za-z],)? $(longopt_re) [^ ].*\\$$' \ + halt='help2man requires at least two spaces between an option and its description'\ + $(_sc_search_regexp) + +# A regexp matching function names like "error" that may be used +# to emit translatable messages. +_gl_translatable_diag_func_re ?= error + +# Look for diagnostics that aren't marked for translation. +# This won't find any for which error's format string is on a separate line. +sc_unmarked_diagnostics: + @grep -nE \ + '\<$(_gl_translatable_diag_func_re) *\([^"]*"[^"]*[a-z]{3}' \ + $$($(VC_LIST_EXCEPT)) \ + | grep -Ev '(_|ngettext ?)\(' && \ + { echo '$(ME): found unmarked diagnostic(s)' 1>&2; \ + exit 1; } || : + +# Avoid useless parentheses like those in this example: +# #if defined (SYMBOL) || defined (SYM2) +sc_useless_cpp_parens: + @prohibit='^# *if .*defined *\(' \ + halt='found useless parentheses in cpp directive' \ + $(_sc_search_regexp) + +# List headers for which HAVE_HEADER_H is always true, assuming you are +# using the appropriate gnulib module. CAUTION: for each "unnecessary" +# #if HAVE_HEADER_H that you remove, be sure that your project explicitly +# requires the gnulib module that guarantees the usability of that header. +gl_assured_headers_ = \ + cd $(gnulib_dir)/lib && echo *.in.h|sed 's/\.in\.h//g' + +# Convert the list of names to upper case, and replace each space with "|". +az_ = abcdefghijklmnopqrstuvwxyz +AZ_ = ABCDEFGHIJKLMNOPQRSTUVWXYZ +gl_header_upper_case_or_ = \ + $$($(gl_assured_headers_) \ + | tr $(az_)/.- $(AZ_)___ \ + | tr -s ' ' '|' \ + ) +sc_prohibit_always_true_header_tests: + @or=$(gl_header_upper_case_or_); \ + re="HAVE_($$or)_H"; \ + prohibit='\<'"$$re"'\>' \ + halt=$$(printf '%s\n' \ + 'do not test the above HAVE_<header>_H symbol(s);' \ + ' with the corresponding gnulib module, they are always true') \ + $(_sc_search_regexp) + +# ================================================================== +gl_other_headers_ ?= \ + intprops.h \ + openat.h \ + stat-macros.h + +# Perl -lne code to extract "significant" cpp-defined symbols from a +# gnulib header file, eliminating a few common false-positives. +# The exempted names below are defined only conditionally in gnulib, +# and hence sometimes must/may be defined in application code. +gl_extract_significant_defines_ = \ + /^\# *define ([^_ (][^ (]*)(\s*\(|\s+\w+)/\ + && $$2 !~ /(?:rpl_|_used_without_)/\ + && $$1 !~ /^(?:NSIG|ENODATA)$$/\ + && $$1 !~ /^(?:SA_RESETHAND|SA_RESTART)$$/\ + and print $$1 + +# Create a list of regular expressions matching the names +# of macros that are guaranteed to be defined by parts of gnulib. +define def_sym_regex + gen_h=$(gl_generated_headers_); \ + (cd $(gnulib_dir)/lib; \ + for f in *.in.h $(gl_other_headers_); do \ + test -f $$f \ + && perl -lne '$(gl_extract_significant_defines_)' $$f; \ + done; \ + ) | sort -u \ + | sed 's/^/^ *# *(define|undef) */;s/$$/\\>/' +endef + +# Don't define macros that we already get from gnulib header files. +sc_prohibit_always-defined_macros: + @if test -d $(gnulib_dir); then \ + case $$(echo all: | grep -l -f - Makefile) in Makefile);; *) \ + echo '$(ME): skipping $@: you lack GNU grep' 1>&2; exit 0;; \ + esac; \ + $(def_sym_regex) | grep -E -f - $$($(VC_LIST_EXCEPT)) \ + && { echo '$(ME): define the above via some gnulib .h file' \ + 1>&2; exit 1; } || :; \ + fi +# ================================================================== + +# Prohibit checked in backup files. +sc_prohibit_backup_files: + @$(VC_LIST) | grep '~$$' && \ + { echo '$(ME): found version controlled backup file' 1>&2; \ + exit 1; } || : + +# Require the latest GPL. +sc_GPL_version: + @prohibit='either ''version [^3]' \ + halt='GPL vN, N!=3' \ + $(_sc_search_regexp) + +# Require the latest GFDL. Two regexp, since some .texi files end up +# line wrapping between 'Free Documentation License,' and 'Version'. +_GFDL_regexp = (Free ''Documentation.*Version 1\.[^3]|Version 1\.[^3] or any) +sc_GFDL_version: + @prohibit='$(_GFDL_regexp)' \ + halt='GFDL vN, N!=3' \ + $(_sc_search_regexp) + +# Don't use Texinfo's @acronym{}. +# http://lists.gnu.org/archive/html/bug-gnulib/2010-03/msg00321.html +texinfo_suffix_re_ ?= \.(txi|texi(nfo)?)$$ +sc_texinfo_acronym: + @prohibit='@acronym\{' \ + in_vc_files='$(texinfo_suffix_re_)' \ + halt='found use of Texinfo @acronym{}' \ + $(_sc_search_regexp) + +cvs_keywords = \ + Author|Date|Header|Id|Name|Locker|Log|RCSfile|Revision|Source|State + +sc_prohibit_cvs_keyword: + @prohibit='\$$($(cvs_keywords))\$$' \ + halt='do not use CVS keyword expansion' \ + $(_sc_search_regexp) + +# This Perl code is slightly obfuscated. Not only is each "$" doubled +# because it's in a Makefile, but the $$c's are comments; we cannot +# use "#" due to the way the script ends up concatenated onto one line. +# It would be much more concise, and would produce better output (including +# counts) if written as: +# perl -ln -0777 -e '/\n(\n+)$/ and print "$ARGV: ".length $1' ... +# but that would be far less efficient, reading the entire contents +# of each file, rather than just the last two bytes of each. +# In addition, while the code below detects both blank lines and a missing +# newline at EOF, the above detects only the former. +# +# This is a perl script that is expected to be the single-quoted argument +# to a command-line "-le". The remaining arguments are file names. +# Print the name of each file that ends in exactly one newline byte. +# I.e., warn if there are blank lines (2 or more newlines), or if the +# last byte is not a newline. However, currently we don't complain +# about any file that contains exactly one byte. +# Exit nonzero if at least one such file is found, otherwise, exit 0. +# Warn about, but otherwise ignore open failure. Ignore seek/read failure. +# +# Use this if you want to remove trailing empty lines from selected files: +# perl -pi -0777 -e 's/\n\n+$/\n/' files... +# +require_exactly_one_NL_at_EOF_ = \ + foreach my $$f (@ARGV) \ + { \ + open F, "<", $$f or (warn "failed to open $$f: $$!\n"), next; \ + my $$p = sysseek (F, -2, 2); \ + my $$c = "seek failure probably means file has < 2 bytes; ignore"; \ + my $$last_two_bytes; \ + defined $$p and $$p = sysread F, $$last_two_bytes, 2; \ + close F; \ + $$c = "ignore read failure"; \ + $$p && ($$last_two_bytes eq "\n\n" \ + || substr ($$last_two_bytes,1) ne "\n") \ + and (print $$f), $$fail=1; \ + } \ + END { exit defined $$fail } +sc_prohibit_empty_lines_at_EOF: + @perl -le '$(require_exactly_one_NL_at_EOF_)' $$($(VC_LIST_EXCEPT)) \ + || { echo '$(ME): empty line(s) or no newline at EOF' \ + 1>&2; exit 1; } || : + +# Make sure we don't use st_blocks. Use ST_NBLOCKS instead. +# This is a bit of a kludge, since it prevents use of the string +# even in comments, but for now it does the job with no false positives. +sc_prohibit_stat_st_blocks: + @prohibit='[.>]st_blocks' \ + halt='do not use st_blocks; use ST_NBLOCKS' \ + $(_sc_search_regexp) + +# Make sure we don't define any S_IS* macros in src/*.c files. +# They're already defined via gnulib's sys/stat.h replacement. +sc_prohibit_S_IS_definition: + @prohibit='^ *# *define *S_IS' \ + halt='do not define S_IS* macros; include <sys/stat.h>' \ + $(_sc_search_regexp) + +# Perl block to convert a match to FILE_NAME:LINENO:TEST, +# that is shared by two definitions below. +perl_filename_lineno_text_ = \ + -e ' {' \ + -e ' $$n = ($$` =~ tr/\n/\n/ + 1);' \ + -e ' ($$v = $$&) =~ s/\n/\\n/g;' \ + -e ' print "$$ARGV:$$n:$$v\n";' \ + -e ' }' + +prohibit_doubled_word_RE_ ?= \ + /\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims +prohibit_doubled_word_ = \ + -e 'while ($(prohibit_doubled_word_RE_))' \ + $(perl_filename_lineno_text_) + +# Define this to a regular expression that matches +# any filename:dd:match lines you want to ignore. +# The default is to ignore no matches. +ignore_doubled_word_match_RE_ ?= ^$$ + +sc_prohibit_doubled_word: + @perl -n -0777 $(prohibit_doubled_word_) $$($(VC_LIST_EXCEPT)) \ + | grep -vE '$(ignore_doubled_word_match_RE_)' \ + | grep . && { echo '$(ME): doubled words' 1>&2; exit 1; } || : + +# A regular expression matching undesirable combinations of words like +# "can not"; this matches them even when the two words appear on different +# lines, but not when there is an intervening delimiter like "#" or "*". +prohibit_undesirable_word_seq_RE_ ?= \ + /\bcan\s+not\b/gims +prohibit_undesirable_word_seq_ = \ + -e 'while ($(prohibit_undesirable_word_seq_RE_))' \ + $(perl_filename_lineno_text_) +# Define this to a regular expression that matches +# any filename:dd:match lines you want to ignore. +# The default is to ignore no matches. +ignore_undesirable_word_sequence_RE_ ?= ^$$ + +sc_prohibit_undesirable_word_seq: + @perl -n -0777 $(prohibit_undesirable_word_seq_) \ + $$($(VC_LIST_EXCEPT)) \ + | grep -vE '$(ignore_undesirable_word_sequence_RE_)' | grep . \ + && { echo '$(ME): undesirable word sequence' >&2; exit 1; } || : + +_ptm1 = use "test C1 && test C2", not "test C1 -''a C2" +_ptm2 = use "test C1 || test C2", not "test C1 -''o C2" +# Using test's -a and -o operators is not portable. +# We prefer test over [, since the latter is spelled [[ in configure.ac. +sc_prohibit_test_minus_ao: + @prohibit='(\<test| \[+) .+ -[ao] ' \ + halt='$(_ptm1); $(_ptm2)' \ + $(_sc_search_regexp) + +# Avoid a test bashism. +sc_prohibit_test_double_equal: + @prohibit='(\<test| \[+) .+ == ' \ + containing='#! */bin/[a-z]*sh' \ + halt='use "test x = x", not "test x =''= x"' \ + $(_sc_search_regexp) + +# Each program that uses proper_name_utf8 must link with one of the +# ICONV libraries. Otherwise, some ICONV library must appear in LDADD. +# The perl -0777 invocation below extracts the possibly-multi-line +# definition of LDADD from the appropriate Makefile.am and exits 0 +# when it contains "ICONV". +sc_proper_name_utf8_requires_ICONV: + @progs=$$(grep -l 'proper_name_utf8 ''("' $$($(VC_LIST_EXCEPT)));\ + if test "x$$progs" != x; then \ + fail=0; \ + for p in $$progs; do \ + dir=$$(dirname "$$p"); \ + perl -0777 \ + -ne 'exit !(/^LDADD =(.+?[^\\]\n)/ms && $$1 =~ /ICONV/)' \ + $$dir/Makefile.am && continue; \ + base=$$(basename "$$p" .c); \ + grep "$${base}_LDADD.*ICONV)" $$dir/Makefile.am > /dev/null \ + || { fail=1; echo 1>&2 "$(ME): $$p uses proper_name_utf8"; }; \ + done; \ + test $$fail = 1 && \ + { echo 1>&2 '$(ME): the above do not link with any ICONV library'; \ + exit 1; } || :; \ + fi + +# Warn about "c0nst struct Foo const foo[]", +# but not about "char const *const foo" or "#define const const". +sc_redundant_const: + @prohibit='\bconst\b[[:space:][:alnum:]]{2,}\bconst\b' \ + halt='redundant "const" in declarations' \ + $(_sc_search_regexp) + +sc_const_long_option: + @grep '^ *static.*struct option ' $$($(VC_LIST_EXCEPT)) \ + | grep -Ev 'const struct option|struct option const' && { \ + echo 1>&2 '$(ME): add "const" to the above declarations'; \ + exit 1; } || : + +NEWS_hash = \ + $$(sed -n '/^\*.* $(PREV_VERSION_REGEXP) ([0-9-]*)/,$$p' \ + $(srcdir)/NEWS \ + | perl -0777 -pe \ + 's/^Copyright.+?Free\sSoftware\sFoundation,\sInc\.\n//ms' \ + | md5sum - \ + | sed 's/ .*//') + +# Ensure that we don't accidentally insert an entry into an old NEWS block. +sc_immutable_NEWS: + @if test -f $(srcdir)/NEWS; then \ + test "$(NEWS_hash)" = '$(old_NEWS_hash)' && : || \ + { echo '$(ME): you have modified old NEWS' 1>&2; exit 1; }; \ + fi + +# Update the hash stored above. Do this after each release and +# for any corrections to old entries. +update-NEWS-hash: NEWS + perl -pi -e 's/^(old_NEWS_hash[ \t]+:?=[ \t]+).*/$${1}'"$(NEWS_hash)/" \ + $(srcdir)/cfg.mk + +# Ensure that we use only the standard $(VAR) notation, +# not @...@ in Makefile.am, now that we can rely on automake +# to emit a definition for each substituted variable. +# However, there is still one case in which @VAR@ use is not just +# legitimate, but actually required: when augmenting an automake-defined +# variable with a prefix. For example, gettext uses this: +# MAKEINFO = env LANG= LC_MESSAGES= LC_ALL= LANGUAGE= @MAKEINFO@ +# otherwise, makeinfo would put German or French (current locale) +# navigation hints in the otherwise-English documentation. +# +# Allow the package to add exceptions via a hook in cfg.mk; +# for example, @PRAGMA_SYSTEM_HEADER@ can be permitted by +# setting this to ' && !/PRAGMA_SYSTEM_HEADER/'. +_makefile_at_at_check_exceptions ?= +sc_makefile_at_at_check: + @perl -ne '/\@[A-Z_0-9]+\@/' \ + -e ' && !/([A-Z_0-9]+)\s+=.*\@\1\@$$/' \ + -e ''$(_makefile_at_at_check_exceptions) \ + -e 'and (print "$$ARGV:$$.: $$_"), $$m=1; END {exit !$$m}' \ + $$($(VC_LIST_EXCEPT) | grep -E '(^|/)(Makefile\.am|[^/]+\.mk)$$') \ + && { echo '$(ME): use $$(...), not @...@' 1>&2; exit 1; } || : + +news-check: NEWS + if sed -n $(news-check-lines-spec)p $(srcdir)/NEWS \ + | grep -E $(news-check-regexp) >/dev/null; then \ + :; \ + else \ + echo 'NEWS: $$(news-check-regexp) failed to match' 1>&2; \ + exit 1; \ + fi + +sc_makefile_TAB_only_indentation: + @prohibit='^ [ ]{8}' \ + in_vc_files='akefile|\.mk$$' \ + halt='found TAB-8-space indentation' \ + $(_sc_search_regexp) + +sc_m4_quote_check: + @prohibit='(AC_DEFINE(_UNQUOTED)?|AC_DEFUN)\([^[]' \ + in_vc_files='(^configure\.ac|\.m4)$$' \ + halt='quote the first arg to AC_DEF*' \ + $(_sc_search_regexp) + +fix_po_file_diag = \ +'you have changed the set of files with translatable diagnostics;\n\ +apply the above patch\n' + +# Verify that all source files using _() are listed in po/POTFILES.in. +po_file ?= $(srcdir)/po/POTFILES.in +generated_files ?= $(srcdir)/lib/*.[ch] +sc_po_check: + @if test -f $(po_file); then \ + grep -E -v '^(#|$$)' $(po_file) \ + | grep -v '^src/false\.c$$' \ + | sed 's|\[type: gettext/glade\] ||' \ + | sort > $@-1; \ + files=; \ + for file in $$($(VC_LIST_EXCEPT)) $(generated_files); do \ + test -r $$file || continue; \ + case $$file in \ + *.m4|*.mk) continue ;; \ + *.?|*.??) ;; \ + *.xml) ;; \ + *) continue;; \ + esac; \ + case $$file in \ + *.[ch]) \ + base=`expr " $$file" : ' \(.*\)\..'`; \ + { test -f $$base.l || test -f $$base.y; } && continue;; \ + esac; \ + files="$$files $$file"; \ + done; \ + grep -E -l '(\b(N?_|gettext *)\([^)"]*("|$$))|(<interface>)' $$files \ + | sed 's|^$(_dot_escaped_srcdir)/||' | sort -u > $@-2; \ + diff -u -L $(po_file) -L $(po_file) $@-1 $@-2 \ + || { printf '$(ME): '$(fix_po_file_diag) 1>&2; exit 1; }; \ + rm -f $@-1 $@-2; \ + fi + +# Sometimes it is useful to change the PATH environment variable +# in Makefiles. When doing so, it's better not to use the Unix-centric +# path separator of `:', but rather the automake-provided `$(PATH_SEPARATOR)'. +msg = '$(ME): Do not use `:'\'' above; use $$(PATH_SEPARATOR) instead' +sc_makefile_path_separator_check: + @prohibit='PATH[=].*:' \ + in_vc_files='akefile|\.mk$$' \ + halt=$(msg) \ + $(_sc_search_regexp) + +# Check that `make alpha' will not fail at the end of the process, +# i.e., when pkg-M.N.tar.xz already exists (either in "." or in ../release) +# and is read-only. +writable-files: + if test -d $(release_archive_dir); then \ + for file in $(DIST_ARCHIVES); do \ + for p in ./ $(release_archive_dir)/; do \ + test -e $$p$$file || continue; \ + test -w $$p$$file \ + || { echo ERROR: $$p$$file is not writable; fail=1; }; \ + done; \ + done; \ + test "$$fail" && exit 1 || : ; \ + else :; \ + fi + +v_etc_file = $(gnulib_dir)/lib/version-etc.c +sample-test = tests/sample-test +texi = doc/$(PACKAGE).texi +# Make sure that the copyright date in $(v_etc_file) is up to date. +# Do the same for the $(sample-test) and the main doc/.texi file. +sc_copyright_check: + @require='enum { COPYRIGHT_YEAR = '$$(date +%Y)' };' \ + in_files=$(v_etc_file) \ + halt='out of date copyright in $(v_etc_file); update it' \ + $(_sc_search_regexp) + @require='# Copyright \(C\) '$$(date +%Y)' Free' \ + in_vc_files=$(sample-test) \ + halt='out of date copyright in $(sample-test); update it' \ + $(_sc_search_regexp) + @require='Copyright @copyright\{\} .*'$$(date +%Y)' Free' \ + in_vc_files=$(texi) \ + halt='out of date copyright in $(texi); update it' \ + $(_sc_search_regexp) + +# If tests/help-version exists and seems to be new enough, assume that its +# use of init.sh and path_prepend_ is correct, and ensure that every other +# use of init.sh is identical. +# This is useful because help-version cross-checks prog --version +# with $(VERSION), which verifies that its path_prepend_ invocation +# sets PATH correctly. This is an inexpensive way to ensure that +# the other init.sh-using tests also get it right. +_hv_file ?= $(srcdir)/tests/help-version +_hv_regex_weak ?= ^ *\. .*/init\.sh" +# Fix syntax-highlighters " +_hv_regex_strong ?= ^ *\. "\$${srcdir=\.}/init\.sh" +sc_cross_check_PATH_usage_in_tests: + @if test -f $(_hv_file); then \ + grep -l 'VERSION mismatch' $(_hv_file) >/dev/null \ + || { echo "$@: skipped: no such file: $(_hv_file)" 1>&2; \ + exit 0; }; \ + grep -lE '$(_hv_regex_strong)' $(_hv_file) >/dev/null \ + || { echo "$@: $(_hv_file) lacks conforming use of init.sh" 1>&2; \ + exit 1; }; \ + good=$$(grep -E '$(_hv_regex_strong)' $(_hv_file)); \ + grep -LFx "$$good" \ + $$(grep -lE '$(_hv_regex_weak)' $$($(VC_LIST_EXCEPT))) \ + | grep . && \ + { echo "$(ME): the above files use path_prepend_ inconsistently" \ + 1>&2; exit 1; } || :; \ + fi + +# #if HAVE_... will evaluate to false for any non numeric string. +# That would be flagged by using -Wundef, however gnulib currently +# tests many undefined macros, and so we can't enable that option. +# So at least preclude common boolean strings as macro values. +sc_Wundef_boolean: + @prohibit='^#define.*(yes|no|true|false)$$' \ + in_files='$(CONFIG_INCLUDE)' \ + halt='Use 0 or 1 for macro values' \ + $(_sc_search_regexp) + +# Even if you use pathmax.h to guarantee that PATH_MAX is defined, it might +# not be constant, or might overflow a stack. In general, use PATH_MAX as +# a limit, not an array or alloca size. +sc_prohibit_path_max_allocation: + @prohibit='(\balloca *\([^)]*|\[[^]]*)PATH_MAX' \ + halt='Avoid stack allocations of size PATH_MAX' \ + $(_sc_search_regexp) + +sc_vulnerable_makefile_CVE-2009-4029: + @prohibit='perm -777 -exec chmod a\+rwx|chmod 777 \$$\(distdir\)' \ + in_files=$$(find $(srcdir) -name Makefile.in) \ + halt=$$(printf '%s\n' \ + 'the above files are vulnerable; beware of running' \ + ' "make dist*" rules, and upgrade to fixed automake' \ + ' see http://bugzilla.redhat.com/542609 for details') \ + $(_sc_search_regexp) + +vc-diff-check: + (unset CDPATH; cd $(srcdir) && $(VC) diff) > vc-diffs || : + if test -s vc-diffs; then \ + cat vc-diffs; \ + echo "Some files are locally modified:" 1>&2; \ + exit 1; \ + else \ + rm vc-diffs; \ + fi + +rel-files = $(DIST_ARCHIVES) + +gnulib_dir ?= $(srcdir)/gnulib +gnulib-version = $$(cd $(gnulib_dir) && git describe) +bootstrap-tools ?= autoconf,automake,gnulib + +# If it's not already specified, derive the GPG key ID from +# the signed tag we've just applied to mark this release. +gpg_key_ID ?= \ + $$(git cat-file tag v$(VERSION) > .ann-sig \ + && gpgv .ann-sig - < /dev/null 2>&1 \ + | sed -n '/.*key ID \([0-9A-F]*\)/s//\1/p'; rm -f .ann-sig) + +translation_project_ ?= coordinator@translationproject.org + +# Make info-gnu the default only for a stable release. +ifeq ($(RELEASE_TYPE),stable) + announcement_Cc_ ?= $(translation_project_), $(PACKAGE_BUGREPORT) + announcement_mail_headers_ ?= \ + To: info-gnu@gnu.org \ + Cc: $(announcement_Cc_) \ + Mail-Followup-To: $(PACKAGE_BUGREPORT) +else + announcement_Cc_ ?= $(translation_project_) + announcement_mail_headers_ ?= \ + To: $(PACKAGE_BUGREPORT) \ + Cc: $(announcement_Cc_) +endif + +announcement: NEWS ChangeLog $(rel-files) + @$(srcdir)/$(_build-aux)/announce-gen \ + --mail-headers='$(announcement_mail_headers_)' \ + --release-type=$(RELEASE_TYPE) \ + --package=$(PACKAGE) \ + --prev=$(PREV_VERSION) \ + --curr=$(VERSION) \ + --gpg-key-id=$(gpg_key_ID) \ + --news=$(srcdir)/NEWS \ + --bootstrap-tools=$(bootstrap-tools) \ + --gnulib-version=$(gnulib-version) \ + --no-print-checksums \ + $(addprefix --url-dir=, $(url_dir_list)) + +## ---------------- ## +## Updating files. ## +## ---------------- ## + +ftp-gnu = ftp://ftp.gnu.org/gnu +www-gnu = http://www.gnu.org + +upload_dest_dir_ ?= $(PACKAGE) +emit_upload_commands: + @echo ===================================== + @echo ===================================== + @echo "$(srcdir)/$(_build-aux)/gnupload $(GNUPLOADFLAGS) \\" + @echo " --to $(gnu_rel_host):$(upload_dest_dir_) \\" + @echo " $(rel-files)" + @echo '# send the ~/announce-$(my_distdir) e-mail' + @echo ===================================== + @echo ===================================== + +define emit-commit-log + printf '%s\n' 'maint: post-release administrivia' '' \ + '* NEWS: Add header line for next release.' \ + '* .prev-version: Record previous version.' \ + '* cfg.mk (old_NEWS_hash): Auto-update.' +endef + +.PHONY: no-submodule-changes +no-submodule-changes: + if test -d $(srcdir)/.git; then \ + diff=$$(cd $(srcdir) && git submodule -q foreach \ + git diff-index --name-only HEAD) \ + || exit 1; \ + case $$diff in '') ;; \ + *) echo '$(ME): submodule files are locally modified:'; \ + echo "$$diff"; exit 1;; esac; \ + else \ + : ; \ + fi + +submodule-checks ?= no-submodule-changes public-submodule-commit + +# Ensure that each sub-module commit we're using is public. +# Without this, it is too easy to tag and release code that +# cannot be built from a fresh clone. +.PHONY: public-submodule-commit +public-submodule-commit: + $(AM_V_GEN)if test -d $(srcdir)/.git; then \ + cd $(srcdir) && \ + git submodule --quiet foreach test '$$(git rev-parse $$sha1)' \ + = '$$(git merge-base origin $$sha1)' \ + || { echo '$(ME): found non-public submodule commit' >&2; \ + exit 1; }; \ + else \ + : ; \ + fi +# This rule has a high enough utility/cost ratio that it should be a +# dependent of "check" by default. However, some of us do occasionally +# commit a temporary change that deliberately points to a non-public +# submodule commit, and want to be able to use rules like "make check". +# In that case, run e.g., "make check gl_public_submodule_commit=" +# to disable this test. +gl_public_submodule_commit ?= public-submodule-commit +check: $(gl_public_submodule_commit) + +.PHONY: alpha beta stable +ALL_RECURSIVE_TARGETS += alpha beta stable +alpha beta stable: $(local-check) writable-files $(submodule-checks) + test $@ = stable \ + && { echo $(VERSION) | grep -E '^[0-9]+(\.[0-9]+)+$$' \ + || { echo "invalid version string: $(VERSION)" 1>&2; exit 1;};}\ + || : + $(MAKE) vc-diff-check + $(MAKE) news-check + $(MAKE) distcheck + $(MAKE) dist XZ_OPT=-9ev + $(MAKE) $(release-prep-hook) RELEASE_TYPE=$@ + $(MAKE) -s emit_upload_commands RELEASE_TYPE=$@ + +# Override this in cfg.mk if you follow different procedures. +release-prep-hook ?= release-prep + +gl_noteworthy_news_ = * Noteworthy changes in release ?.? (????-??-??) [?] +.PHONY: release-prep +release-prep: + case $$RELEASE_TYPE in alpha|beta|stable) ;; \ + *) echo "invalid RELEASE_TYPE: $$RELEASE_TYPE" 1>&2; exit 1;; esac + $(MAKE) --no-print-directory -s announcement > ~/announce-$(my_distdir) + if test -d $(release_archive_dir); then \ + ln $(rel-files) $(release_archive_dir); \ + chmod a-w $(rel-files); \ + fi + echo $(VERSION) > $(prev_version_file) + $(MAKE) update-NEWS-hash + perl -pi -e '$$. == 3 and print "$(gl_noteworthy_news_)\n\n\n"' NEWS + $(emit-commit-log) > .ci-msg + $(VC) commit -F .ci-msg -a + rm .ci-msg + +# Override this with e.g., -s $(srcdir)/some_other_name.texi +# if the default $(PACKAGE)-derived name doesn't apply. +gendocs_options_ ?= + +.PHONY: web-manual +web-manual: + @test -z "$(manual_title)" \ + && { echo define manual_title in cfg.mk 1>&2; exit 1; } || : + @cd '$(srcdir)/doc'; \ + $(SHELL) ../$(_build-aux)/gendocs.sh $(gendocs_options_) \ + -o '$(abs_builddir)/doc/manual' \ + --email $(PACKAGE_BUGREPORT) $(PACKAGE) \ + "$(PACKAGE_NAME) - $(manual_title)" + @echo " *** Upload the doc/manual directory to web-cvs." + +# Code Coverage + +init-coverage: + $(MAKE) $(AM_MAKEFLAGS) clean + lcov --directory . --zerocounters + +COVERAGE_CCOPTS ?= "-g --coverage" +COVERAGE_OUT ?= doc/coverage + +build-coverage: + $(MAKE) $(AM_MAKEFLAGS) CFLAGS=$(COVERAGE_CCOPTS) CXXFLAGS=$(COVERAGE_CCOPTS) + $(MAKE) $(AM_MAKEFLAGS) CFLAGS=$(COVERAGE_CCOPTS) CXXFLAGS=$(COVERAGE_CCOPTS) check + mkdir -p $(COVERAGE_OUT) + lcov --directory . --output-file $(COVERAGE_OUT)/$(PACKAGE).info \ + --capture + +gen-coverage: + genhtml --output-directory $(COVERAGE_OUT) \ + $(COVERAGE_OUT)/$(PACKAGE).info \ + --highlight --frames --legend \ + --title "$(PACKAGE_NAME)" + +coverage: init-coverage build-coverage gen-coverage + +# Update gettext files. +PACKAGE ?= $(shell basename $(PWD)) +PO_DOMAIN ?= $(PACKAGE) +POURL = http://translationproject.org/latest/$(PO_DOMAIN)/ +PODIR ?= po +refresh-po: + rm -f $(PODIR)/*.po && \ + echo "$(ME): getting translations into po (please ignore the robots.txt ERROR 404)..." && \ + wget --no-verbose --directory-prefix $(PODIR) --no-directories --recursive --level 1 --accept .po --accept .po.1 $(POURL) && \ + echo 'en@boldquot' > $(PODIR)/LINGUAS && \ + echo 'en@quot' >> $(PODIR)/LINGUAS && \ + ls $(PODIR)/*.po | sed 's/\.po//' | sed 's,$(PODIR)/,,' | sort >> $(PODIR)/LINGUAS + + # Running indent once is not idempotent, but running it twice is. +INDENT_SOURCES ?= $(C_SOURCES) +.PHONY: indent +indent: + indent $(INDENT_SOURCES) + indent $(INDENT_SOURCES) + +# If you want to set UPDATE_COPYRIGHT_* environment variables, +# put the assignments in this variable. +update-copyright-env ?= + +# Run this rule once per year (usually early in January) +# to update all FSF copyright year lists in your project. +# If you have an additional project-specific rule, +# add it in cfg.mk along with a line 'update-copyright: prereq'. +# By default, exclude all variants of COPYING; you can also +# add exemptions (such as ChangeLog..* for rotated change logs) +# in the file .x-update-copyright. +.PHONY: update-copyright +update-copyright: + grep -l -w Copyright \ + $$(export VC_LIST_EXCEPT_DEFAULT=COPYING && $(VC_LIST_EXCEPT)) \ + | $(update-copyright-env) xargs $(srcdir)/$(_build-aux)/$@ + +# This tight_scope test is skipped with a warning if $(_gl_TS_headers) is not +# overridden and $(_gl_TS_dir)/Makefile.am does not mention noinst_HEADERS. + +# NOTE: to override any _gl_TS_* default value, you must +# define the variable(s) using "export" in cfg.mk. +_gl_TS_dir ?= src + +ALL_RECURSIVE_TARGETS += sc_tight_scope +sc_tight_scope: tight-scope.mk + @fail=0; \ + if ! grep '^ *export _gl_TS_headers *=' $(srcdir)/cfg.mk \ + > /dev/null \ + && ! grep -w noinst_HEADERS $(srcdir)/$(_gl_TS_dir)/Makefile.am \ + > /dev/null 2>&1; then \ + echo '$(ME): skipping $@'; \ + else \ + $(MAKE) -s -C $(_gl_TS_dir) \ + -f Makefile \ + -f $(abs_top_srcdir)/cfg.mk \ + -f $(abs_top_builddir)/$< \ + _gl_tight_scope \ + || fail=1; \ + fi; \ + rm -f $<; \ + exit $$fail + +tight-scope.mk: $(ME) + @rm -f $@ $@-t + @perl -ne '/^# TS-start/.../^# TS-end/ and print' $(ME) > $@-t + @chmod a=r $@-t && mv $@-t $@ + +ifeq (a,b) +# TS-start + +# Most functions should have static scope. +# Any that don't must be marked with `extern', but `main' +# and `usage' are exceptions: they're always extern, but +# do not need to be marked. Symbols matching `__.*' are +# reserved by the compiler, so are automatically excluded below. +_gl_TS_unmarked_extern_functions ?= main usage +_gl_TS_function_match ?= /^(?:$(_gl_TS_extern)) +.*?(\S+) *\(/ + +# If your project uses a macro like "XTERN", then put +# the following in cfg.mk to override this default: +# export _gl_TS_extern = extern|XTERN +_gl_TS_extern ?= extern + +# The second nm|grep checks for file-scope variables with `extern' scope. +# Without gnulib's progname module, you might put program_name here. +# Symbols matching `__.*' are reserved by the compiler, +# so are automatically excluded below. +_gl_TS_unmarked_extern_vars ?= + +# NOTE: the _match variables are perl expressions -- not mere regular +# expressions -- so that you can extend them to match other patterns +# and easily extract matched variable names. +# For example, if your project declares some global variables via +# a macro like this: GLOBAL(type, var_name, initializer), then you +# can override this definition to automatically extract those names: +# export _gl_TS_var_match = \ +# /^(?:$(_gl_TS_extern)) .*?\**(\w+)(\[.*?\])?;/ || /\bGLOBAL\(.*?,\s*(.*?),/ +_gl_TS_var_match ?= /^(?:$(_gl_TS_extern)) .*?(\w+)(\[.*?\])?;/ + +# The names of object files in (or relative to) $(_gl_TS_dir). +_gl_TS_obj_files ?= *.$(OBJEXT) + +# Files in which to search for the one-line style extern declarations. +# $(_gl_TS_dir)-relative. +_gl_TS_headers ?= $(noinst_HEADERS) + +.PHONY: _gl_tight_scope +_gl_tight_scope: $(bin_PROGRAMS) + t=exceptions-$$$$; \ + trap 's=$$?; rm -f $$t; exit $$s' 0; \ + for sig in 1 2 3 13 15; do \ + eval "trap 'v=`expr $$sig + 128`; (exit $$v); exit $$v' $$sig"; \ + done; \ + src=`for f in $(SOURCES); do \ + test -f $$f && d= || d=$(srcdir)/; echo $$d$$f; done`; \ + hdr=`for f in $(_gl_TS_headers); do \ + test -f $$f && d= || d=$(srcdir)/; echo $$d$$f; done`; \ + ( printf '^%s$$\n' '__.*' $(_gl_TS_unmarked_extern_functions); \ + grep -h -A1 '^extern .*[^;]$$' $$src \ + | grep -vE '^(extern |--)' | sed 's/ .*//'; \ + perl -lne \ + '$(_gl_TS_function_match) and print "^$$1\$$"' $$hdr; \ + ) | sort -u > $$t; \ + nm -e $(_gl_TS_obj_files) | sed -n 's/.* T //p'|grep -Ev -f $$t \ + && { echo the above functions should have static scope >&2; \ + exit 1; } || : ; \ + ( printf '^%s$$\n' '__.*' $(_gl_TS_unmarked_extern_vars); \ + perl -lne '$(_gl_TS_var_match) and print "^$$1\$$"' $$hdr *.h \ + ) | sort -u > $$t; \ + nm -e $(_gl_TS_obj_files) | sed -n 's/.* [BCDGRS] //p' \ + | sort -u | grep -Ev -f $$t \ + && { echo the above variables should have static scope >&2; \ + exit 1; } || : +# TS-end +endif diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/man/Makefile.am b/tizen/distrib/remote/client/virt-viewer-0.5.3/man/Makefile.am new file mode 100644 index 0000000..d6f709c --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/man/Makefile.am @@ -0,0 +1,18 @@ +NULL = + +man_MANS = \ + remote-viewer.1 \ + virt-viewer.1 \ + $(NULL) + +EXTRA_DIST = \ + remote-viewer.pod \ + virt-viewer.pod \ + $(NULL) + +DISTCLEANFILES = $(man_MANS) + +%.1: %.pod + pod2man $< > $@ + +-include $(top_srcdir)/git.mk diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/man/Makefile.in b/tizen/distrib/remote/client/virt-viewer-0.5.3/man/Makefile.in new file mode 100644 index 0000000..6e66c4c --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/man/Makefile.in @@ -0,0 +1,529 @@ +# 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@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.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 = +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +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) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +FIREFOX_PLUGIN_CFLAGS = @FIREFOX_PLUGIN_CFLAGS@ +FIREFOX_PLUGIN_LIBS = @FIREFOX_PLUGIN_LIBS@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GLIB2_CFLAGS = @GLIB2_CFLAGS@ +GLIB2_LIBS = @GLIB2_LIBS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GTK_API_VERSION = @GTK_API_VERSION@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +GTK_REQUIRED = @GTK_REQUIRED@ +GTK_VNC_API_VERSION = @GTK_VNC_API_VERSION@ +GTK_VNC_CFLAGS = @GTK_VNC_CFLAGS@ +GTK_VNC_LIBS = @GTK_VNC_LIBS@ +ICOTOOL = @ICOTOOL@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIBVIRT_CFLAGS = @LIBVIRT_CFLAGS@ +LIBVIRT_LIBS = @LIBVIRT_LIBS@ +LIBXML2_CFLAGS = @LIBXML2_CFLAGS@ +LIBXML2_LIBS = @LIBXML2_LIBS@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MOZILLA_PLUGIN_CFLAGS = @MOZILLA_PLUGIN_CFLAGS@ +MOZILLA_PLUGIN_LIBS = @MOZILLA_PLUGIN_LIBS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +NSPR_CFLAGS = @NSPR_CFLAGS@ +NSPR_LIBS = @NSPR_LIBS@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SPICE_CONTROLLER_CFLAGS = @SPICE_CONTROLLER_CFLAGS@ +SPICE_CONTROLLER_LIBS = @SPICE_CONTROLLER_LIBS@ +SPICE_GTK_CFLAGS = @SPICE_GTK_CFLAGS@ +SPICE_GTK_LIBS = @SPICE_GTK_LIBS@ +SPICE_PROTOCOL_CFLAGS = @SPICE_PROTOCOL_CFLAGS@ +SPICE_PROTOCOL_LIBS = @SPICE_PROTOCOL_LIBS@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WARN_CFLAGS = @WARN_CFLAGS@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +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@ +NULL = +man_MANS = \ + remote-viewer.1 \ + virt-viewer.1 \ + $(NULL) + +EXTRA_DIST = \ + remote-viewer.pod \ + virt-viewer.pod \ + $(NULL) + +DISTCLEANFILES = $(man_MANS) +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): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +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) + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool 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 mostlyclean-libtool + +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 clean-libtool \ + distclean distclean-generic distclean-libtool 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 mostlyclean-libtool pdf pdf-am ps ps-am \ + uninstall uninstall-am uninstall-man uninstall-man1 + + +%.1: %.pod + pod2man $< > $@ + +-include $(top_srcdir)/git.mk + +# 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: diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/man/remote-viewer.pod b/tizen/distrib/remote/client/virt-viewer-0.5.3/man/remote-viewer.pod new file mode 100644 index 0000000..ed61a55 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/man/remote-viewer.pod @@ -0,0 +1,78 @@ + +=head1 NAME + +remote-viewer - a simple remote desktop client + +=head1 SYNOPSIS + +B<remote-viewer> [OPTIONS] URI + +=head1 DESCRIPTION + +B<remote-viewer> is a simple remote display client. The supported +protocols are SPICE and VNC. + +=head1 OPTIONS + +The following options are accepted when running C<remote-viewer>: + +=over 4 + +=item -h, --help + +Display command line help summary + +=item -V, --version + +Display program version number + +=item -v, --verbose + +Display information about the connection + +=item -z PCT, --zoom=PCT + +Zoom level of the display window in percentage. Range 10-200. + +=item -f, --full-screen + +Start with the window maximised to fullscreen + +=item --spice-controller + +Use the SPICE controller to initialize the connection with the SPICE +server. This option is used by the SPICE browser addons to allow web +page to start a client. + +=item --debug + +Print debugging information + +=back + +=head1 EXAMPLES + +To connect to SPICE server on host "makai" with port 5900 + + remote-viewer spice://makai:5900 + +To connect to VNC server on host "tsingy" with port 5900 + + remote-viewer vnc://tsingy:5900 + +=head1 BUGS + +Report bugs to the mailing list C<http://www.redhat.com/mailman/listinfo/virt-tools-list> + +=head1 COPYRIGHT + +Copyright (C) 2012 Red Hat, Inc., and various contributors. +This is free software. You may redistribute copies of it under the terms of the GNU General +Public License C<http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent +permitted by law. + +=head1 SEE ALSO + +C<virt-viewer(1)>, the project website C<http://virt-manager.org> + +=cut diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/man/virt-viewer.pod b/tizen/distrib/remote/client/virt-viewer-0.5.3/man/virt-viewer.pod new file mode 100644 index 0000000..f2830f8 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/man/virt-viewer.pod @@ -0,0 +1,120 @@ + +=head1 NAME + +virt-viewer - display the graphical console for a virtual machine + +=head1 SYNOPSIS + +B<virt-viewer> [OPTIONS] DOMAIN-NAME|ID|UUID + +=head1 DESCRIPTION + +B<virt-viewer> is a minimal tool for displaying the graphical console +of a virtual machine. The console is accessed using the VNC or SPICE +protocol. The guest can be referred to based on its name, ID, or +UUID. If the guest is not already running, then the viewer can be told +to wait until is starts before attempting to connect to the console +The viewer can connect to remote hosts to lookup the console +information and then also connect to the remote console using the same +network transport. + +=head1 OPTIONS + +The following options are accepted when running C<virt-viewer>: + +=over 4 + +=item -h, --help + +Display command line help summary + +=item -V, --version + +Display program version number + +=item -v, --verbose + +Display information about the connection + +=item -c URI, --connect=URI + +Specify the hypervisor connection URI + +=item -w, --wait + +Wait for the domain to start up before attempting to connect to the console + +=item -r, --reconnect + +Automatically reconnect to the domain if it shuts down and restarts + +=item -z PCT, --zoom=PCT + +Zoom level of the display window in percentage. Range 10-200. + +=item -d, --direct + +Do not attempt to tunnel the console over SSH, even if the main connection URI +used SSH. + +=item -a, --attach + +Use libvirt to directly attach to a local display, instead of making a +TCP/UNIX socket connection. This avoids the need to authentication with +the remote display, if authentication with libvirt is already allowed. +This option does not work with remote displays. + +=item -f, --full-screen + +Start with the window maximised to fullscreen + +=item --debug + +Print debugging information + +=back + +=head1 EXAMPLES + +To connect to the guest called 'demo' running under Xen + + virt-viewer demo + +To connect to the guest with ID 7 running under QEMU + + virt-viewer --connect qemu:///system 7 + +To wait for the guest with UUID 66ab33c0-6919-a3f7-e659-16c82d248521 to +startup and then connect, also reconnecting upon restart of VM + + virt-viewer --reconnect --wait 66ab33c0-6919-a3f7-e659-16c82d248521 + +To connect to a remote console using TLS + + virt-viewer --connect xen://example.org/ demo + +To connect to a remote host using SSH, lookup the guest config and +then make a direct non-tunnelled connection of the console + + virt-viewer --direct --connect xen+ssh://root@example.org/ demo + +=head1 AUTHOR + +Written by Daniel P. Berrange, based on the GTK-VNC example program gvncviewer. + +=head1 BUGS + +Report bugs to the mailing list C<http://www.redhat.com/mailman/listinfo/virt-tools-list> + +=head1 COPYRIGHT + +Copyright (C) 2007-2008 Red Hat, Inc., and various contributors. +This is free software. You may redistribute copies of it under the terms of the GNU General +Public License C<http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent +permitted by law. + +=head1 SEE ALSO + +C<virsh(1)>, C<virt-manager(1)>, the project website C<http://virt-manager.org> + +=cut diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/mingw32-virt-viewer.spec.in b/tizen/distrib/remote/client/virt-viewer-0.5.3/mingw32-virt-viewer.spec.in new file mode 100644 index 0000000..beeb73f --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/mingw32-virt-viewer.spec.in @@ -0,0 +1,84 @@ +%define __strip %{_mingw32_strip} +%define __objdump %{_mingw32_objdump} +%define _use_internal_dependency_generator 0 +%define __find_requires %{_mingw32_findrequires} +%define __find_provides %{_mingw32_findprovides} + +%define with_gtk3 0 +%if 0%{?fedora} >= 15 +%define with_gtk3 1 +%endif + +Name: mingw32-virt-viewer +Version: @VERSION@ +Release: 1%{?dist}%{?extra_release} +Summary: MinGW Windows virt-viewer console application + +License: LGPLv2+ +Group: Development/Libraries +URL: http://virt-manager.org/ +Source0: ftp://virt-manager.org/downloads/virt-viewer/virt-viewer-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: mingw32-filesystem >= 23 +%if %{with_gtk3} +BuildRequires: mingw32-gtk3 >= 3.0.0 +%else +BuildRequires: mingw32-gtk2 >= 2.12.0 +%endif +BuildRequires: mingw32-libvirt >= 0.9.7 +BuildRequires: mingw32-libxml2 +%if %{with_gtk3} +BuildRequires: mingw32-gtk-vnc >= 0.4.3 +%else +BuildRequires: mingw32-gtk-vnc2 >= 0.4.3 +%endif +BuildRequires: pkgconfig + +BuildArch: noarch + + +%description +MinGW Windows virt-viewer console application + + +%prep +%setup -q -n virt-viewer-%{version} + + +%build +%if %{with_gtk3} +%{_mingw32_configure} --with-gtk=3.0 +%else +%{_mingw32_configure} --with-gtk=2.0 +%endif +make + + +%install +rm -rf $RPM_BUILD_ROOT + +make DESTDIR=$RPM_BUILD_ROOT install + +%find_lang virt-viewer + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files -f virt-viewer.lang +%defattr(-,root,root) +%{_mingw32_bindir}/virt-viewer.exe +%{_mingw32_bindir}/remote-viewer.exe + +%dir %{_mingw32_datadir}/virt-viewer/ +%dir %{_mingw32_datadir}/virt-viewer/ui/ +%{_mingw32_datadir}/virt-viewer/ui/virt-viewer.xml +%{_mingw32_datadir}/virt-viewer/ui/virt-viewer-about.xml +%{_mingw32_datadir}/virt-viewer/ui/virt-viewer-auth.xml +%{_mingw32_datadir}/icons/hicolor/*/apps/* + +%{_mingw32_mandir}/man1/virt-viewer.1* +%{_mingw32_mandir}/man1/remote-viewer.1* + +%changelog diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/plugin/Makefile.am b/tizen/distrib/remote/client/virt-viewer-0.5.3/plugin/Makefile.am new file mode 100644 index 0000000..2c1e38c --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/plugin/Makefile.am @@ -0,0 +1,44 @@ +if ENABLE_PLUGIN + +plugindir = $(libdir)/mozilla/plugins +plugin_LTLIBRARIES = virt-viewer-plugin.la + +virt_viewer_plugin_la_SOURCES = \ + ../src/virt-viewer-util.c ../src/virt-viewer-util.h \ + ../src/virt-viewer-auth.c ../src/virt-viewer-auth.h \ + ../src/virt-viewer.c ../src/virt-viewer.h \ + ../src/virt-viewer-events.c ../src/virt-viewer-events.h \ + virt-viewer-plugin.c virt-viewer-plugin.h \ + npshell.c npunix.c +virt_viewer_plugin_la_LIBADD = \ + $(FIREFOX_PLUGIN_LIBS) \ + $(GTK_VNC_LIBS) \ + $(GTK_LIBS) \ + $(LIBXML2_LIBS) \ + $(LIBVIRT_LIBS) +virt_viewer_plugin_la_LDFLAGS = \ + -module -avoid-version +virt_viewer_plugin_la_CFLAGS = \ + -DPLUGIN=1 -DENABLE_DEBUG=1 \ + $(FIREFOX_PLUGIN_CFLAGS) \ + $(GTK_VNC_CFLAGS) \ + $(GTK_CFLAGS) \ + $(LIBXML2_CFLAGS) \ + $(LIBVIRT_CFLAGS) \ + -DGLADE_DIR="\"$(gladedir)\"" \ + -I$(top_srcdir)/src + +all-local: virt-viewer-plugin.so + +virt-viewer-plugin.so: virt-viewer-plugin.la + cp .libs/virt-viewer-plugin.so $@ + +# Only leave the .so file in the plugins directory. +install-data-hook: + rm -f $(DESTDIR)$(plugindir)/virt-viewer-plugin.a $(DESTDIR)$(plugindir)/virt-viewer-plugin.la + +CLEANFILES = virt-viewer-plugin.so + +endif + +-include $(top_srcdir)/git.mk diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/plugin/Makefile.in b/tizen/distrib/remote/client/virt-viewer-0.5.3/plugin/Makefile.in new file mode 100644 index 0000000..71fd693 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/plugin/Makefile.in @@ -0,0 +1,730 @@ +# 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@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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 = plugin +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.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 = +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; }; \ + } +am__installdirs = "$(DESTDIR)$(plugindir)" +LTLIBRARIES = $(plugin_LTLIBRARIES) +am__DEPENDENCIES_1 = +@ENABLE_PLUGIN_TRUE@virt_viewer_plugin_la_DEPENDENCIES = \ +@ENABLE_PLUGIN_TRUE@ $(am__DEPENDENCIES_1) \ +@ENABLE_PLUGIN_TRUE@ $(am__DEPENDENCIES_1) \ +@ENABLE_PLUGIN_TRUE@ $(am__DEPENDENCIES_1) \ +@ENABLE_PLUGIN_TRUE@ $(am__DEPENDENCIES_1) \ +@ENABLE_PLUGIN_TRUE@ $(am__DEPENDENCIES_1) +am__virt_viewer_plugin_la_SOURCES_DIST = ../src/virt-viewer-util.c \ + ../src/virt-viewer-util.h ../src/virt-viewer-auth.c \ + ../src/virt-viewer-auth.h ../src/virt-viewer.c \ + ../src/virt-viewer.h ../src/virt-viewer-events.c \ + ../src/virt-viewer-events.h virt-viewer-plugin.c \ + virt-viewer-plugin.h npshell.c npunix.c +@ENABLE_PLUGIN_TRUE@am_virt_viewer_plugin_la_OBJECTS = \ +@ENABLE_PLUGIN_TRUE@ virt_viewer_plugin_la-virt-viewer-util.lo \ +@ENABLE_PLUGIN_TRUE@ virt_viewer_plugin_la-virt-viewer-auth.lo \ +@ENABLE_PLUGIN_TRUE@ virt_viewer_plugin_la-virt-viewer.lo \ +@ENABLE_PLUGIN_TRUE@ virt_viewer_plugin_la-virt-viewer-events.lo \ +@ENABLE_PLUGIN_TRUE@ virt_viewer_plugin_la-virt-viewer-plugin.lo \ +@ENABLE_PLUGIN_TRUE@ virt_viewer_plugin_la-npshell.lo \ +@ENABLE_PLUGIN_TRUE@ virt_viewer_plugin_la-npunix.lo +virt_viewer_plugin_la_OBJECTS = $(am_virt_viewer_plugin_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +virt_viewer_plugin_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(virt_viewer_plugin_la_CFLAGS) $(CFLAGS) \ + $(virt_viewer_plugin_la_LDFLAGS) $(LDFLAGS) -o $@ +@ENABLE_PLUGIN_TRUE@am_virt_viewer_plugin_la_rpath = -rpath \ +@ENABLE_PLUGIN_TRUE@ $(plugindir) +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +SOURCES = $(virt_viewer_plugin_la_SOURCES) +DIST_SOURCES = $(am__virt_viewer_plugin_la_SOURCES_DIST) +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +FIREFOX_PLUGIN_CFLAGS = @FIREFOX_PLUGIN_CFLAGS@ +FIREFOX_PLUGIN_LIBS = @FIREFOX_PLUGIN_LIBS@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GLIB2_CFLAGS = @GLIB2_CFLAGS@ +GLIB2_LIBS = @GLIB2_LIBS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GTK_API_VERSION = @GTK_API_VERSION@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +GTK_REQUIRED = @GTK_REQUIRED@ +GTK_VNC_API_VERSION = @GTK_VNC_API_VERSION@ +GTK_VNC_CFLAGS = @GTK_VNC_CFLAGS@ +GTK_VNC_LIBS = @GTK_VNC_LIBS@ +ICOTOOL = @ICOTOOL@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIBVIRT_CFLAGS = @LIBVIRT_CFLAGS@ +LIBVIRT_LIBS = @LIBVIRT_LIBS@ +LIBXML2_CFLAGS = @LIBXML2_CFLAGS@ +LIBXML2_LIBS = @LIBXML2_LIBS@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MOZILLA_PLUGIN_CFLAGS = @MOZILLA_PLUGIN_CFLAGS@ +MOZILLA_PLUGIN_LIBS = @MOZILLA_PLUGIN_LIBS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +NSPR_CFLAGS = @NSPR_CFLAGS@ +NSPR_LIBS = @NSPR_LIBS@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SPICE_CONTROLLER_CFLAGS = @SPICE_CONTROLLER_CFLAGS@ +SPICE_CONTROLLER_LIBS = @SPICE_CONTROLLER_LIBS@ +SPICE_GTK_CFLAGS = @SPICE_GTK_CFLAGS@ +SPICE_GTK_LIBS = @SPICE_GTK_LIBS@ +SPICE_PROTOCOL_CFLAGS = @SPICE_PROTOCOL_CFLAGS@ +SPICE_PROTOCOL_LIBS = @SPICE_PROTOCOL_LIBS@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WARN_CFLAGS = @WARN_CFLAGS@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +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@ +@ENABLE_PLUGIN_TRUE@plugindir = $(libdir)/mozilla/plugins +@ENABLE_PLUGIN_TRUE@plugin_LTLIBRARIES = virt-viewer-plugin.la +@ENABLE_PLUGIN_TRUE@virt_viewer_plugin_la_SOURCES = \ +@ENABLE_PLUGIN_TRUE@ ../src/virt-viewer-util.c ../src/virt-viewer-util.h \ +@ENABLE_PLUGIN_TRUE@ ../src/virt-viewer-auth.c ../src/virt-viewer-auth.h \ +@ENABLE_PLUGIN_TRUE@ ../src/virt-viewer.c ../src/virt-viewer.h \ +@ENABLE_PLUGIN_TRUE@ ../src/virt-viewer-events.c ../src/virt-viewer-events.h \ +@ENABLE_PLUGIN_TRUE@ virt-viewer-plugin.c virt-viewer-plugin.h \ +@ENABLE_PLUGIN_TRUE@ npshell.c npunix.c + +@ENABLE_PLUGIN_TRUE@virt_viewer_plugin_la_LIBADD = \ +@ENABLE_PLUGIN_TRUE@ $(FIREFOX_PLUGIN_LIBS) \ +@ENABLE_PLUGIN_TRUE@ $(GTK_VNC_LIBS) \ +@ENABLE_PLUGIN_TRUE@ $(GTK_LIBS) \ +@ENABLE_PLUGIN_TRUE@ $(LIBXML2_LIBS) \ +@ENABLE_PLUGIN_TRUE@ $(LIBVIRT_LIBS) + +@ENABLE_PLUGIN_TRUE@virt_viewer_plugin_la_LDFLAGS = \ +@ENABLE_PLUGIN_TRUE@ -module -avoid-version + +@ENABLE_PLUGIN_TRUE@virt_viewer_plugin_la_CFLAGS = \ +@ENABLE_PLUGIN_TRUE@ -DPLUGIN=1 -DENABLE_DEBUG=1 \ +@ENABLE_PLUGIN_TRUE@ $(FIREFOX_PLUGIN_CFLAGS) \ +@ENABLE_PLUGIN_TRUE@ $(GTK_VNC_CFLAGS) \ +@ENABLE_PLUGIN_TRUE@ $(GTK_CFLAGS) \ +@ENABLE_PLUGIN_TRUE@ $(LIBXML2_CFLAGS) \ +@ENABLE_PLUGIN_TRUE@ $(LIBVIRT_CFLAGS) \ +@ENABLE_PLUGIN_TRUE@ -DGLADE_DIR="\"$(gladedir)\"" \ +@ENABLE_PLUGIN_TRUE@ -I$(top_srcdir)/src + +@ENABLE_PLUGIN_TRUE@CLEANFILES = virt-viewer-plugin.so +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(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 plugin/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu plugin/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-pluginLTLIBRARIES: $(plugin_LTLIBRARIES) + @$(NORMAL_INSTALL) + test -z "$(plugindir)" || $(MKDIR_P) "$(DESTDIR)$(plugindir)" + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \ + } + +uninstall-pluginLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$f"; \ + done + +clean-pluginLTLIBRARIES: + -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES) + @list='$(plugin_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +virt-viewer-plugin.la: $(virt_viewer_plugin_la_OBJECTS) $(virt_viewer_plugin_la_DEPENDENCIES) $(EXTRA_virt_viewer_plugin_la_DEPENDENCIES) + $(AM_V_CCLD)$(virt_viewer_plugin_la_LINK) $(am_virt_viewer_plugin_la_rpath) $(virt_viewer_plugin_la_OBJECTS) $(virt_viewer_plugin_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_viewer_plugin_la-npshell.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_viewer_plugin_la-npunix.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_viewer_plugin_la-virt-viewer-auth.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_viewer_plugin_la-virt-viewer-events.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_viewer_plugin_la-virt-viewer-plugin.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_viewer_plugin_la-virt-viewer-util.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_viewer_plugin_la-virt-viewer.Plo@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +virt_viewer_plugin_la-virt-viewer-util.lo: ../src/virt-viewer-util.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_plugin_la_CFLAGS) $(CFLAGS) -MT virt_viewer_plugin_la-virt-viewer-util.lo -MD -MP -MF $(DEPDIR)/virt_viewer_plugin_la-virt-viewer-util.Tpo -c -o virt_viewer_plugin_la-virt-viewer-util.lo `test -f '../src/virt-viewer-util.c' || echo '$(srcdir)/'`../src/virt-viewer-util.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer_plugin_la-virt-viewer-util.Tpo $(DEPDIR)/virt_viewer_plugin_la-virt-viewer-util.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='../src/virt-viewer-util.c' object='virt_viewer_plugin_la-virt-viewer-util.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_plugin_la_CFLAGS) $(CFLAGS) -c -o virt_viewer_plugin_la-virt-viewer-util.lo `test -f '../src/virt-viewer-util.c' || echo '$(srcdir)/'`../src/virt-viewer-util.c + +virt_viewer_plugin_la-virt-viewer-auth.lo: ../src/virt-viewer-auth.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_plugin_la_CFLAGS) $(CFLAGS) -MT virt_viewer_plugin_la-virt-viewer-auth.lo -MD -MP -MF $(DEPDIR)/virt_viewer_plugin_la-virt-viewer-auth.Tpo -c -o virt_viewer_plugin_la-virt-viewer-auth.lo `test -f '../src/virt-viewer-auth.c' || echo '$(srcdir)/'`../src/virt-viewer-auth.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer_plugin_la-virt-viewer-auth.Tpo $(DEPDIR)/virt_viewer_plugin_la-virt-viewer-auth.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='../src/virt-viewer-auth.c' object='virt_viewer_plugin_la-virt-viewer-auth.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_plugin_la_CFLAGS) $(CFLAGS) -c -o virt_viewer_plugin_la-virt-viewer-auth.lo `test -f '../src/virt-viewer-auth.c' || echo '$(srcdir)/'`../src/virt-viewer-auth.c + +virt_viewer_plugin_la-virt-viewer.lo: ../src/virt-viewer.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_plugin_la_CFLAGS) $(CFLAGS) -MT virt_viewer_plugin_la-virt-viewer.lo -MD -MP -MF $(DEPDIR)/virt_viewer_plugin_la-virt-viewer.Tpo -c -o virt_viewer_plugin_la-virt-viewer.lo `test -f '../src/virt-viewer.c' || echo '$(srcdir)/'`../src/virt-viewer.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer_plugin_la-virt-viewer.Tpo $(DEPDIR)/virt_viewer_plugin_la-virt-viewer.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='../src/virt-viewer.c' object='virt_viewer_plugin_la-virt-viewer.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_plugin_la_CFLAGS) $(CFLAGS) -c -o virt_viewer_plugin_la-virt-viewer.lo `test -f '../src/virt-viewer.c' || echo '$(srcdir)/'`../src/virt-viewer.c + +virt_viewer_plugin_la-virt-viewer-events.lo: ../src/virt-viewer-events.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_plugin_la_CFLAGS) $(CFLAGS) -MT virt_viewer_plugin_la-virt-viewer-events.lo -MD -MP -MF $(DEPDIR)/virt_viewer_plugin_la-virt-viewer-events.Tpo -c -o virt_viewer_plugin_la-virt-viewer-events.lo `test -f '../src/virt-viewer-events.c' || echo '$(srcdir)/'`../src/virt-viewer-events.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer_plugin_la-virt-viewer-events.Tpo $(DEPDIR)/virt_viewer_plugin_la-virt-viewer-events.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='../src/virt-viewer-events.c' object='virt_viewer_plugin_la-virt-viewer-events.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_plugin_la_CFLAGS) $(CFLAGS) -c -o virt_viewer_plugin_la-virt-viewer-events.lo `test -f '../src/virt-viewer-events.c' || echo '$(srcdir)/'`../src/virt-viewer-events.c + +virt_viewer_plugin_la-virt-viewer-plugin.lo: virt-viewer-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_plugin_la_CFLAGS) $(CFLAGS) -MT virt_viewer_plugin_la-virt-viewer-plugin.lo -MD -MP -MF $(DEPDIR)/virt_viewer_plugin_la-virt-viewer-plugin.Tpo -c -o virt_viewer_plugin_la-virt-viewer-plugin.lo `test -f 'virt-viewer-plugin.c' || echo '$(srcdir)/'`virt-viewer-plugin.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer_plugin_la-virt-viewer-plugin.Tpo $(DEPDIR)/virt_viewer_plugin_la-virt-viewer-plugin.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-plugin.c' object='virt_viewer_plugin_la-virt-viewer-plugin.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_plugin_la_CFLAGS) $(CFLAGS) -c -o virt_viewer_plugin_la-virt-viewer-plugin.lo `test -f 'virt-viewer-plugin.c' || echo '$(srcdir)/'`virt-viewer-plugin.c + +virt_viewer_plugin_la-npshell.lo: npshell.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_plugin_la_CFLAGS) $(CFLAGS) -MT virt_viewer_plugin_la-npshell.lo -MD -MP -MF $(DEPDIR)/virt_viewer_plugin_la-npshell.Tpo -c -o virt_viewer_plugin_la-npshell.lo `test -f 'npshell.c' || echo '$(srcdir)/'`npshell.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer_plugin_la-npshell.Tpo $(DEPDIR)/virt_viewer_plugin_la-npshell.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='npshell.c' object='virt_viewer_plugin_la-npshell.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_plugin_la_CFLAGS) $(CFLAGS) -c -o virt_viewer_plugin_la-npshell.lo `test -f 'npshell.c' || echo '$(srcdir)/'`npshell.c + +virt_viewer_plugin_la-npunix.lo: npunix.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_plugin_la_CFLAGS) $(CFLAGS) -MT virt_viewer_plugin_la-npunix.lo -MD -MP -MF $(DEPDIR)/virt_viewer_plugin_la-npunix.Tpo -c -o virt_viewer_plugin_la-npunix.lo `test -f 'npunix.c' || echo '$(srcdir)/'`npunix.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer_plugin_la-npunix.Tpo $(DEPDIR)/virt_viewer_plugin_la-npunix.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='npunix.c' object='virt_viewer_plugin_la-npunix.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_plugin_la_CFLAGS) $(CFLAGS) -c -o virt_viewer_plugin_la-npunix.lo `test -f 'npunix.c' || echo '$(srcdir)/'`npunix.c + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @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 +@ENABLE_PLUGIN_FALSE@all-local: +all-am: Makefile $(LTLIBRARIES) all-local +installdirs: + for dir in "$(DESTDIR)$(plugindir)"; 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: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +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." +@ENABLE_PLUGIN_FALSE@install-data-hook: +clean: clean-am + +clean-am: clean-generic clean-libtool clean-pluginLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-pluginLTLIBRARIES + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-data-hook +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-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-pluginLTLIBRARIES + +.MAKE: install-am install-data-am install-strip + +.PHONY: CTAGS GTAGS all all-am all-local check check-am clean \ + clean-generic clean-libtool clean-pluginLTLIBRARIES ctags \ + distclean distclean-compile distclean-generic \ + distclean-libtool distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-data-hook install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-pluginLTLIBRARIES install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ + uninstall-am uninstall-pluginLTLIBRARIES + + +@ENABLE_PLUGIN_TRUE@all-local: virt-viewer-plugin.so + +@ENABLE_PLUGIN_TRUE@virt-viewer-plugin.so: virt-viewer-plugin.la +@ENABLE_PLUGIN_TRUE@ cp .libs/virt-viewer-plugin.so $@ + +# Only leave the .so file in the plugins directory. +@ENABLE_PLUGIN_TRUE@install-data-hook: +@ENABLE_PLUGIN_TRUE@ rm -f $(DESTDIR)$(plugindir)/virt-viewer-plugin.a $(DESTDIR)$(plugindir)/virt-viewer-plugin.la + +-include $(top_srcdir)/git.mk + +# 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: diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/plugin/npshell.c b/tizen/distrib/remote/client/virt-viewer-0.5.3/plugin/npshell.c new file mode 100644 index 0000000..bb43da3 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/plugin/npshell.c @@ -0,0 +1,394 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Stephen Mak <smak@sun.com> + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +/* + * npshell.c + * + * Netscape Client Plugin API + * - Function that need to be implemented by plugin developers + * + * This file defines a "shell" plugin that plugin developers can use + * as the basis for a real plugin. This shell just provides empty + * implementations of all functions that the plugin can implement + * that will be called by Netscape (the NPP_xxx methods defined in + * npapi.h). + * + * dp Suresh <dp@netscape.com> + * updated 5/1998 <pollmann@netscape.com> + * updated 9/2000 <smak@sun.com> + * + */ + + +/* +The contents of this file are subject to the Mozilla Public License + +Version 1.1 (the "License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ + +Software distributed under the License is distributed on an "AS IS" basis, +WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for +the specific language governing rights and limitations under the License. + +The Original Code is stub code that defines the binary interface to a Mozilla +plugin. + +The Initial Developer of the Original Code is Mozilla. + +Portions created by Adobe Systems Incorporated are Copyright (C) 2007. All Rights Reserved. + +Contributor(s): Adobe Systems Incorporated. +*/ + +//#include <config.h> + +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <strings.h> + +#include <npapi.h> +#include <npupp.h> + +#include "virt-viewer-plugin.h" + +/*********************************************************************** + * + * Implementations of plugin API functions + * + ***********************************************************************/ + +char * +NPP_GetMIMEDescription(void) +{ + return (char *) MIME_TYPES_HANDLED; +} + +NPError +NPP_GetValue(NPP instance G_GNUC_UNUSED, NPPVariable variable, void *value) +{ + NPError err = NPERR_NO_ERROR; + + debug ("NPP_GetValue %d", variable); + + switch (variable) { + case NPPVpluginNameString: + *((const char **)value) = PLUGIN_NAME; + break; + case NPPVpluginDescriptionString: + *((const char **)value) = PLUGIN_DESCRIPTION; + break; + case NPPVpluginNeedsXEmbed: + *((PRBool *)value) = PR_TRUE; + break; + default: + err = NPERR_GENERIC_ERROR; + } + return err; +} + +NPError +NPP_Initialize(void) +{ + debug ("NPP_Initialize"); + + gtk_init(0, 0); + + return NPERR_NO_ERROR; +} + +#ifdef OJI +jref +NPP_GetJavaClass() +{ + return NULL; +} +#endif + +void +NPP_Shutdown(void) +{ + debug ("NPP_Shutdown"); +} + +NPError +NPP_New(NPMIMEType pluginType G_GNUC_UNUSED, + NPP instance, + uint16 mode, + int16 argc, + char* argn[], + char* argv[], + NPSavedData *saved G_GNUC_UNUSED) +{ + PluginInstance *This; + NPError err = NPERR_NO_ERROR; + PRBool supportsXEmbed = PR_FALSE; + NPNToolkitType toolkit = 0; + int i; + + debug ("NPP_New"); + + if (instance == NULL) + return NPERR_INVALID_INSTANCE_ERROR; + + /* http://developer.mozilla.org/en/docs/XEmbed_Extension_for_Mozilla_Plugins + * Check for XEmbed and Gtk toolkit. + */ + err = NPN_GetValue (instance, + NPNVSupportsXEmbedBool, + (void *)&supportsXEmbed); + if (err != NPERR_NO_ERROR || supportsXEmbed != PR_TRUE) + return NPERR_INCOMPATIBLE_VERSION_ERROR; + +#if 1 + err = NPN_GetValue (instance, + NPNVToolkit, + (void *)&toolkit); + if (err != NPERR_NO_ERROR || toolkit != NPNVGtk2) + return NPERR_INCOMPATIBLE_VERSION_ERROR; +#endif + + instance->pdata = NPN_MemAlloc(sizeof(PluginInstance)); + + This = (PluginInstance*) instance->pdata; + + if (This == NULL) { + return NPERR_OUT_OF_MEMORY_ERROR; + } + + memset(This, 0, sizeof(PluginInstance)); + + /* Mode is NP_EMBED, NP_FULL, or NP_BACKGROUND (see npapi.h). */ + This->mode = mode; + This->instance = instance; + This->uri = This->name = NULL; + This->direct = This->waitvm = This->debug = This->reconnect = 0; + + /* Read the parameters passed to the plugin. */ + for (i = 0; i < argc; i++) + { + if (strcasecmp (argn[i], "uri") == 0) + This->uri = strdup (argv[i]); + else if (strcasecmp (argn[i], "name") == 0) + This->name = strdup (argv[i]); + else if (strcasecmp (argn[i], "direct") == 0) + This->direct = strcmp (argv[i], "1") == 0; + else if (strcasecmp (argn[i], "wait") == 0) + This->waitvm = strcmp (argv[i], "1") == 0; + else if (strcasecmp (argn[i], "debug") == 0) + This->debug = strcmp (argv[i], "1") == 0; + else if (strcasecmp (argn[i], "reconnect") == 0) + This->reconnect = strcmp (argv[i], "1") == 0; + } + + return NPERR_NO_ERROR; +} + +NPError +NPP_Destroy(NPP instance, NPSavedData** save G_GNUC_UNUSED) +{ + PluginInstance* This; + + debug ("NPP_Destroy"); + + if (instance == NULL) + return NPERR_INVALID_INSTANCE_ERROR; + + This = (PluginInstance*) instance->pdata; + + if (This != NULL) + { + (void) VirtViewerDestroyWindow (instance); + free (This->uri); + free (This->name); + NPN_MemFree(instance->pdata); + instance->pdata = NULL; + } + + return NPERR_NO_ERROR; +} + + +NPError +NPP_SetWindow(NPP instance, NPWindow* window) +{ + debug ("NPP_SetWindow"); + + return VirtViewerXSetWindow(instance, window); +} + +int32 +NPP_WriteReady(NPP instance, NPStream *stream) +{ + /*printf("NPP_WriteReady()\n");*/ + if (instance == NULL) + return NPERR_INVALID_INSTANCE_ERROR; + + /* We don't want any data, kill the stream */ + NPN_DestroyStream(instance, stream, NPRES_DONE); + + /* Number of bytes ready to accept in NPP_Write() */ + return -1L; /* don't accept any bytes in NPP_Write() */ +} + +int32 +NPP_Write(NPP instance, NPStream *stream, + int32 offset G_GNUC_UNUSED, int32 len G_GNUC_UNUSED, + void *buffer G_GNUC_UNUSED) +{ + /*printf("NPP_Write()\n");*/ + if (instance == NULL) + return NPERR_INVALID_INSTANCE_ERROR; + + /* We don't want any data, kill the stream */ + NPN_DestroyStream(instance, stream, NPRES_DONE); + + return -1L; /* don't accept any bytes in NPP_Write() */ +} + +NPError +NPP_DestroyStream(NPP instance, NPStream *stream G_GNUC_UNUSED, + NPError reason G_GNUC_UNUSED) +{ + /*printf("NPP_DestroyStream()\n");*/ + if (instance == NULL) + return NPERR_INVALID_INSTANCE_ERROR; + + /***** Insert NPP_DestroyStream code here *****\ + PluginInstance* This; + This = (PluginInstance*) instance->pdata; + \**********************************************/ + + return NPERR_NO_ERROR; +} + +void +NPP_StreamAsFile(NPP instance G_GNUC_UNUSED, NPStream *stream G_GNUC_UNUSED, + const char* fname G_GNUC_UNUSED) +{ + /*printf("NPP_StreamAsFile()\n");*/ + /***** Insert NPP_StreamAsFile code here *****\ + PluginInstance* This; + if (instance != NULL) + This = (PluginInstance*) instance->pdata; + \*********************************************/ +} + +void +NPP_URLNotify(NPP instance G_GNUC_UNUSED, const char* url G_GNUC_UNUSED, + NPReason reason G_GNUC_UNUSED, void* notifyData G_GNUC_UNUSED) +{ + /*printf("NPP_URLNotify()\n");*/ + /***** Insert NPP_URLNotify code here *****\ + PluginInstance* This; + if (instance != NULL) + This = (PluginInstance*) instance->pdata; + \*********************************************/ +} + + +void +NPP_Print(NPP instance, NPPrint* printInfo) +{ + /*printf("NPP_Print()\n");*/ + if(printInfo == NULL) + return; + + if (instance != NULL) { + /***** Insert NPP_Print code here *****\ + PluginInstance* This = (PluginInstance*) instance->pdata; + \**************************************/ + + if (printInfo->mode == NP_FULL) { + /* + * PLUGIN DEVELOPERS: + * If your plugin would like to take over + * printing completely when it is in full-screen mode, + * set printInfo->pluginPrinted to TRUE and print your + * plugin as you see fit. If your plugin wants Netscape + * to handle printing in this case, set + * printInfo->pluginPrinted to FALSE (the default) and + * do nothing. If you do want to handle printing + * yourself, printOne is true if the print button + * (as opposed to the print menu) was clicked. + * On the Macintosh, platformPrint is a THPrint; on + * Windows, platformPrint is a structure + * (defined in npapi.h) containing the printer name, port, + * etc. + */ + + /***** Insert NPP_Print code here *****\ + void* platformPrint = + printInfo->print.fullPrint.platformPrint; + NPBool printOne = + printInfo->print.fullPrint.printOne; + \**************************************/ + + /* Do the default*/ + printInfo->print.fullPrint.pluginPrinted = FALSE; + } + else { /* If not fullscreen, we must be embedded */ + /* + * PLUGIN DEVELOPERS: + * If your plugin is embedded, or is full-screen + * but you returned false in pluginPrinted above, NPP_Print + * will be called with mode == NP_EMBED. The NPWindow + * in the printInfo gives the location and dimensions of + * the embedded plugin on the printed page. On the + * Macintosh, platformPrint is the printer port; on + * Windows, platformPrint is the handle to the printing + * device context. + */ + + /***** Insert NPP_Print code here *****\ + NPWindow* printWindow = + &(printInfo->print.embedPrint.window); + void* platformPrint = + printInfo->print.embedPrint.platformPrint; + \**************************************/ + } + } +} + +int16 NPP_HandleEvent(NPP instance, void* event) +{ + /*printf("NPP_HandleEvent()\n");*/ + + return VirtViewerXHandleEvent(instance, event); +} diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/plugin/npunix.c b/tizen/distrib/remote/client/virt-viewer-0.5.3/plugin/npunix.c new file mode 100644 index 0000000..48948d0 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/plugin/npunix.c @@ -0,0 +1,537 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Stephen Mak <smak@sun.com> + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +/* + * npunix.c + * + * Netscape Client Plugin API + * - Wrapper function to interface with the Netscape Navigator + * + * dp Suresh <dp@netscape.com> + * + *---------------------------------------------------------------------- + * PLUGIN DEVELOPERS: + * YOU WILL NOT NEED TO EDIT THIS FILE. + *---------------------------------------------------------------------- + */ + +#include <config.h> + +#define XP_UNIX 1 + +#include <stdio.h> +#include <npapi.h> +#include <npupp.h> + +#include <glib.h> /* just for G_GNUC_UNUSED */ + +/* + * Define PLUGIN_TRACE to have the wrapper functions print + * messages to stderr whenever they are called. + */ + +#ifdef PLUGIN_TRACE +#include <stdio.h> +#define PLUGINDEBUGSTR(msg) fprintf(stderr, "%s\n", msg) +#else +#define PLUGINDEBUGSTR(msg) +#endif + + +/*********************************************************************** + * + * Globals + * + ***********************************************************************/ + +static NPNetscapeFuncs gNetscapeFuncs; /* Netscape Function table */ + + +/*********************************************************************** + * + * Wrapper functions : plugin calling Netscape Navigator + * + * These functions let the plugin developer just call the APIs + * as documented and defined in npapi.h, without needing to know + * about the function table and call macros in npupp.h. + * + ***********************************************************************/ + +void +NPN_Version(int* plugin_major, int* plugin_minor, + int* netscape_major, int* netscape_minor) +{ + *plugin_major = NP_VERSION_MAJOR; + *plugin_minor = NP_VERSION_MINOR; + + /* Major version is in high byte */ + *netscape_major = gNetscapeFuncs.version >> 8; + /* Minor version is in low byte */ + *netscape_minor = gNetscapeFuncs.version & 0xFF; +} + +NPError +NPN_GetValue(NPP instance, NPNVariable variable, void *r_value) +{ + return CallNPN_GetValueProc(gNetscapeFuncs.getvalue, + instance, variable, r_value); +} + +NPError +NPN_SetValue(NPP instance, NPPVariable variable, void *value) +{ + return CallNPN_SetValueProc(gNetscapeFuncs.setvalue, + instance, variable, value); +} + +NPError +NPN_GetURL(NPP instance, const char* url, const char* window) +{ + return CallNPN_GetURLProc(gNetscapeFuncs.geturl, instance, url, window); +} + +NPError +NPN_GetURLNotify(NPP instance, const char* url, const char* window, void* notifyData) +{ + return CallNPN_GetURLNotifyProc(gNetscapeFuncs.geturlnotify, instance, url, window, notifyData); +} + +NPError +NPN_PostURL(NPP instance, const char* url, const char* window, + uint32 len, const char* buf, NPBool file) +{ + return CallNPN_PostURLProc(gNetscapeFuncs.posturl, instance, + url, window, len, buf, file); +} + +NPError +NPN_PostURLNotify(NPP instance, const char* url, const char* window, uint32 len, + const char* buf, NPBool file, void* notifyData) +{ + return CallNPN_PostURLNotifyProc(gNetscapeFuncs.posturlnotify, + instance, url, window, len, buf, file, notifyData); +} + +NPError +NPN_RequestRead(NPStream* stream, NPByteRange* rangeList) +{ + return CallNPN_RequestReadProc(gNetscapeFuncs.requestread, + stream, rangeList); +} + +NPError +NPN_NewStream(NPP instance, NPMIMEType type, const char *window, + NPStream** stream_ptr) +{ + return CallNPN_NewStreamProc(gNetscapeFuncs.newstream, instance, + type, window, stream_ptr); +} + +int32 +NPN_Write(NPP instance, NPStream* stream, int32 len, void* buffer) +{ + return CallNPN_WriteProc(gNetscapeFuncs.write, instance, + stream, len, buffer); +} + +NPError +NPN_DestroyStream(NPP instance, NPStream* stream, NPError reason) +{ + return CallNPN_DestroyStreamProc(gNetscapeFuncs.destroystream, + instance, stream, reason); +} + +void +NPN_Status(NPP instance, const char* message) +{ + CallNPN_StatusProc(gNetscapeFuncs.status, instance, message); +} + +const char* +NPN_UserAgent(NPP instance) +{ + return CallNPN_UserAgentProc(gNetscapeFuncs.uagent, instance); +} + +void* +NPN_MemAlloc(uint32 size) +{ + return CallNPN_MemAllocProc(gNetscapeFuncs.memalloc, size); +} + +void NPN_MemFree(void* ptr) +{ + CallNPN_MemFreeProc(gNetscapeFuncs.memfree, ptr); +} + +uint32 NPN_MemFlush(uint32 size) +{ + return CallNPN_MemFlushProc(gNetscapeFuncs.memflush, size); +} + +void NPN_ReloadPlugins(NPBool reloadPages) +{ + CallNPN_ReloadPluginsProc(gNetscapeFuncs.reloadplugins, reloadPages); +} + +#ifdef OJI +JRIEnv* NPN_GetJavaEnv() +{ + return CallNPN_GetJavaEnvProc(gNetscapeFuncs.getJavaEnv); +} + +jref NPN_GetJavaPeer(NPP instance) +{ + return CallNPN_GetJavaPeerProc(gNetscapeFuncs.getJavaPeer, + instance); +} +#endif + +void +NPN_InvalidateRect(NPP instance, NPRect *invalidRect) +{ + CallNPN_InvalidateRectProc(gNetscapeFuncs.invalidaterect, instance, + invalidRect); +} + +void +NPN_InvalidateRegion(NPP instance, NPRegion invalidRegion) +{ + CallNPN_InvalidateRegionProc(gNetscapeFuncs.invalidateregion, instance, + invalidRegion); +} + +void +NPN_ForceRedraw(NPP instance) +{ + CallNPN_ForceRedrawProc(gNetscapeFuncs.forceredraw, instance); +} + +void NPN_PushPopupsEnabledState(NPP instance, NPBool enabled) +{ + CallNPN_PushPopupsEnabledStateProc(gNetscapeFuncs.pushpopupsenabledstate, + instance, enabled); +} + +void NPN_PopPopupsEnabledState(NPP instance) +{ + CallNPN_PopPopupsEnabledStateProc(gNetscapeFuncs.poppopupsenabledstate, + instance); +} + + + +/*********************************************************************** + * + * Wrapper functions : Netscape Navigator -> plugin + * + * These functions let the plugin developer just create the APIs + * as documented and defined in npapi.h, without needing to + * install those functions in the function table or worry about + * setting up globals for 68K plugins. + * + ***********************************************************************/ + +static NPError +Private_New(NPMIMEType pluginType, NPP instance, uint16 mode, + int16 argc, char* argn[], char* argv[], NPSavedData* saved) +{ + NPError ret; + PLUGINDEBUGSTR("New"); + ret = NPP_New(pluginType, instance, mode, argc, argn, argv, saved); + return ret; +} + +static NPError +Private_Destroy(NPP instance, NPSavedData** save) +{ + PLUGINDEBUGSTR("Destroy"); + return NPP_Destroy(instance, save); +} + +static NPError +Private_SetWindow(NPP instance, NPWindow* window) +{ + NPError err; + PLUGINDEBUGSTR("SetWindow"); + err = NPP_SetWindow(instance, window); + return err; +} + +static NPError +Private_NewStream(NPP instance G_GNUC_UNUSED, NPMIMEType type G_GNUC_UNUSED, + NPStream* stream G_GNUC_UNUSED, + NPBool seekable G_GNUC_UNUSED, uint16* stype G_GNUC_UNUSED) +{ + NPError err = NPERR_NO_ERROR; + PLUGINDEBUGSTR("NewStream"); +/* err = NPP_NewStream(instance, type, stream, seekable, stype);*/ + return err; +} + +static int32 +Private_WriteReady(NPP instance, NPStream* stream) +{ + unsigned int result; + PLUGINDEBUGSTR("WriteReady"); + result = NPP_WriteReady(instance, stream); + return result; +} + +static int32 +Private_Write(NPP instance, NPStream* stream, int32 offset, int32 len, + void* buffer) +{ + unsigned int result; + PLUGINDEBUGSTR("Write"); + result = NPP_Write(instance, stream, offset, len, buffer); + return result; +} + +static void +Private_StreamAsFile(NPP instance, NPStream* stream, const char* fname) +{ + PLUGINDEBUGSTR("StreamAsFile"); + NPP_StreamAsFile(instance, stream, fname); +} + + +static NPError +Private_DestroyStream(NPP instance, NPStream* stream, NPError reason) +{ + NPError err; + PLUGINDEBUGSTR("DestroyStream"); + err = NPP_DestroyStream(instance, stream, reason); + return err; +} + +static void +Private_URLNotify(NPP instance, const char* url, + NPReason reason, void* notifyData) +{ + PLUGINDEBUGSTR("URLNotify"); + NPP_URLNotify(instance, url, reason, notifyData); +} + +static NPError +Private_GetValue(void *instance, NPPVariable variable, void *result) +{ + NPError rv = NPP_GetValue(instance, variable, result); + return rv; +} + +static void +Private_Print(NPP instance, NPPrint* platformPrint) +{ + PLUGINDEBUGSTR("Print"); + NPP_Print(instance, platformPrint); +} + +#ifdef OJI +static JRIGlobalRef +Private_GetJavaClass(void) +{ + jref clazz = NPP_GetJavaClass(); + if (clazz) { + JRIEnv* env = NPN_GetJavaEnv(); + return JRI_NewGlobalRef(env, clazz); + } + return NULL; +} +#endif + +static int16 +Private_HandleEvent(NPP instance, void* event) +{ + return NPP_HandleEvent(instance, event); +} + +/*********************************************************************** + * + * These functions are located automagically by netscape. + * + ***********************************************************************/ + +/* + * NP_GetMIMEDescription + * - Netscape needs to know about this symbol + * - Netscape uses the return value to identify when an object instance + * of this plugin should be created. + */ +char * +NP_GetMIMEDescription(void) +{ + return NPP_GetMIMEDescription(); +} + +/* + * NP_GetValue [optional] + * - Netscape needs to know about this symbol. + * - Interfaces with plugin to get values for predefined variables + * that the navigator needs. + */ +NPError +NP_GetValue(void* future, NPPVariable variable, void *value) +{ + return NPP_GetValue(future, variable, value); +} + +/* + * NP_Initialize + * - Netscape needs to know about this symbol. + * - It calls this function after looking up its symbol before it + * is about to create the first ever object of this kind. + * + * PARAMETERS + * nsTable - The netscape function table. If developers just use these + * wrappers, they dont need to worry about all these function + * tables. + * RETURN + * pluginFuncs + * - This functions needs to fill the plugin function table + * pluginFuncs and return it. Netscape Navigator plugin + * library will use this function table to call the plugin. + * + */ +NPError +NP_Initialize(NPNetscapeFuncs* nsTable, NPPluginFuncs* pluginFuncs) +{ + NPError err = NPERR_NO_ERROR; + + PLUGINDEBUGSTR("NP_Initialize"); + + /* validate input parameters */ + + if ((nsTable == NULL) || (pluginFuncs == NULL)) + err = NPERR_INVALID_FUNCTABLE_ERROR; + + /* + * Check the major version passed in Netscape's function table. + * We won't load if the major version is newer than what we expect. + * Also check that the function tables passed in are big enough for + * all the functions we need (they could be bigger, if Netscape added + * new APIs, but that's OK with us -- we'll just ignore them). + * + */ + + if (err == NPERR_NO_ERROR) { + if ((nsTable->version >> 8) > NP_VERSION_MAJOR) + err = NPERR_INCOMPATIBLE_VERSION_ERROR; + if (nsTable->size < sizeof(NPNetscapeFuncs)) + err = NPERR_INVALID_FUNCTABLE_ERROR; + if (pluginFuncs->size < sizeof(NPPluginFuncs)) + err = NPERR_INVALID_FUNCTABLE_ERROR; + } + + if (err == NPERR_NO_ERROR) { + /* + * Copy all the fields of Netscape function table into our + * copy so we can call back into Netscape later. Note that + * we need to copy the fields one by one, rather than assigning + * the whole structure, because the Netscape function table + * could actually be bigger than what we expect. + */ + gNetscapeFuncs.version = nsTable->version; + gNetscapeFuncs.size = nsTable->size; + gNetscapeFuncs.posturl = nsTable->posturl; + gNetscapeFuncs.geturl = nsTable->geturl; + gNetscapeFuncs.geturlnotify = nsTable->geturlnotify; + gNetscapeFuncs.requestread = nsTable->requestread; + gNetscapeFuncs.newstream = nsTable->newstream; + gNetscapeFuncs.write = nsTable->write; + gNetscapeFuncs.destroystream = nsTable->destroystream; + gNetscapeFuncs.status = nsTable->status; + gNetscapeFuncs.uagent = nsTable->uagent; + gNetscapeFuncs.memalloc = nsTable->memalloc; + gNetscapeFuncs.memfree = nsTable->memfree; + gNetscapeFuncs.memflush = nsTable->memflush; + gNetscapeFuncs.reloadplugins = nsTable->reloadplugins; +#ifdef OJI + gNetscapeFuncs.getJavaEnv = nsTable->getJavaEnv; + gNetscapeFuncs.getJavaPeer = nsTable->getJavaPeer; +#endif + gNetscapeFuncs.getvalue = nsTable->getvalue; + gNetscapeFuncs.setvalue = nsTable->setvalue; + gNetscapeFuncs.pushpopupsenabledstate = nsTable->pushpopupsenabledstate; + gNetscapeFuncs.poppopupsenabledstate = nsTable->poppopupsenabledstate; + + /* + * Set up the plugin function table that Netscape will use to + * call us. Netscape needs to know about our version and size + * and have a UniversalProcPointer for every function we + * implement. + */ + pluginFuncs->version = (NP_VERSION_MAJOR << 8) + NP_VERSION_MINOR; + pluginFuncs->size = sizeof(NPPluginFuncs); + pluginFuncs->newp = NewNPP_NewProc(Private_New); + pluginFuncs->destroy = NewNPP_DestroyProc(Private_Destroy); + pluginFuncs->setwindow = NewNPP_SetWindowProc(Private_SetWindow); + pluginFuncs->newstream = NewNPP_NewStreamProc(Private_NewStream); + pluginFuncs->destroystream = NewNPP_DestroyStreamProc(Private_DestroyStream); + pluginFuncs->asfile = NewNPP_StreamAsFileProc(Private_StreamAsFile); + pluginFuncs->writeready = NewNPP_WriteReadyProc(Private_WriteReady); + pluginFuncs->write = NewNPP_WriteProc(Private_Write); + pluginFuncs->print = NewNPP_PrintProc(Private_Print); + pluginFuncs->urlnotify = NewNPP_URLNotifyProc(Private_URLNotify); + pluginFuncs->getvalue = NewNPP_GetValueProc(Private_GetValue); + pluginFuncs->event = NewNPP_HandleEventProc(Private_HandleEvent); +#ifdef OJI + pluginFuncs->javaClass = Private_GetJavaClass(); +#endif + + err = NPP_Initialize(); + } + + return err; +} + +/* + * NP_Shutdown [optional] + * - Netscape needs to know about this symbol. + * - It calls this function after looking up its symbol after + * the last object of this kind has been destroyed. + * + */ +NPError +NP_Shutdown(void) +{ + PLUGINDEBUGSTR("NP_Shutdown"); + NPP_Shutdown(); + return NPERR_NO_ERROR; +} diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/plugin/virt-viewer-plugin.c b/tizen/distrib/remote/client/virt-viewer-0.5.3/plugin/virt-viewer-plugin.c new file mode 100644 index 0000000..3fd6e84 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/plugin/virt-viewer-plugin.c @@ -0,0 +1,143 @@ +/* + VIRT-VIEWER-PLUGIN + + By Richard W.M. Jones <rjones@redhat.com> + Copyright (C) 2008-2012 Red Hat, Inc. + + Largely based on DiamondX (http://multimedia.cx/diamondx/), which itself + is based on Mozilla sources. + + DiamondX copyright notice: + + Example XEmbed-aware Mozilla browser plugin by Adobe. + + Copyright (c) 2007 Adobe Systems Incorporated + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +*/ + +#include <config.h> + +#include <stdio.h> +#include <stdlib.h> +#include <vncdisplay.h> + +#include "virt-viewer-plugin.h" + + +NPError +VirtViewerXSetWindow (NPP instance, NPWindow *window) +{ + PluginInstance *This; + NPSetWindowCallbackStruct *ws_info; + int r; + + if (instance == NULL) + return NPERR_INVALID_INSTANCE_ERROR; + + This = (PluginInstance*) instance->pdata; + + debug ("ViewViewerXSetWindow, This=%p", This); + + if (This == NULL) + return NPERR_INVALID_INSTANCE_ERROR; + + ws_info = (NPSetWindowCallbackStruct *)window->ws_info; + + /* Mozilla likes to re-run its greatest hits */ + if (window == This->window && + window->x == This->x && + window->y == This->y && + window->width == This->width && + window->height == This->height) { + debug ("virt-viewer-plugin: window re-run; returning"); + return NPERR_NO_ERROR; + } + + This->window = window; + This->x = window->x; + This->y = window->y; + This->width = window->width; + This->height = window->height; + + /* Create a GtkPlug container and a Gtk-VNC widget inside it. */ + This->container = gtk_plug_new ((GdkNativeWindow)(long)window->window); + + /* Make the VNC widget. */ + if (This->uri && This->name) { + debug ("calling viewer_start uri=%s name=%s direct=%d waitvm=%d reconnect=%d container=%p", + This->uri, This->name, This->direct, This->waitvm, This->reconnect, This->container); + r = viewer_start (This->uri, This->name, This->direct, This->waitvm, This->reconnect, 1, This->debug, This->container); + if (r != 0) + fprintf (stderr, "viewer_start returned %d != 0\n", r); + } + + gtk_widget_show_all (This->container); + + return NPERR_NO_ERROR; +} + +NPError +VirtViewerDestroyWindow (NPP instance) +{ + PluginInstance *This = (PluginInstance*) instance->pdata; + + debug ("VirtViewerDestroyWindow, This=%p", This); + + if (This && This->container) { + gtk_widget_destroy (This->container); + This->container = NULL; + } + + return NPERR_NO_ERROR; +} + +static NPWindow windowlessWindow; + +int16 +VirtViewerXHandleEvent(NPP instance, void *event) +{ + XGraphicsExposeEvent exposeEvent; + XEvent *nsEvent; + + debug ("VirtViewerXHandleEvent"); + + nsEvent = (XEvent *) event; + exposeEvent = nsEvent->xgraphicsexpose; + + /*printf(" event: x, y, w, h = %d, %d, %d, %d; display @ %p, window/drawable = %d\n", + exposeEvent.x, + exposeEvent.y, + exposeEvent.width, + exposeEvent.height, + exposeEvent.display, + exposeEvent.drawable);*/ + + windowlessWindow.window = exposeEvent.display; + windowlessWindow.x = exposeEvent.x; + windowlessWindow.y = exposeEvent.y; + windowlessWindow.width = exposeEvent.width; + windowlessWindow.height = exposeEvent.height; + windowlessWindow.ws_info = (void *)exposeEvent.drawable; + + NPP_SetWindow(instance, &windowlessWindow); + + return 0; +} diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/plugin/virt-viewer-plugin.h b/tizen/distrib/remote/client/virt-viewer-0.5.3/plugin/virt-viewer-plugin.h new file mode 100644 index 0000000..add97df --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/plugin/virt-viewer-plugin.h @@ -0,0 +1,83 @@ +/* + VIRT_VIEWER-PLUGIN + + By Richard W.M. Jones <rjones@redhat.com> + Copyright (C) 2008-2012 Red Hat, Inc. + + Largely based on DiamondX (http://multimedia.cx/diamondx/), which itself + is based on Mozilla sources. + + DiamondX copyright notice: + + Example XEmbed-aware Mozilla browser plugin by Adobe. + + Copyright (c) 2007 Adobe Systems Incorporated + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +*/ + +#ifndef VIRT_VIEWER_PLUGIN_H +#define VIRT_VIEWER_PLUGIN_H + +#include <npapi.h> +#include <gtk/gtk.h> +#include <X11/Xlib.h> +#include "virt-viewer-app.h" + +#define PLUGIN_NAME "Virt-viewer browser plugin" +#define MIME_TYPES_HANDLED "application/x-virt-viewer:virt-viewer:Virt viewer" +#define PLUGIN_DESCRIPTION "Virtual machine console viewer plugin" + +typedef struct { + uint16 mode; + NPWindow *window; + int32 x, y; + uint32 width, height; + + NPP instance; + NPBool pluginsHidden; + + GtkWidget *container; + + char *uri, *name; + gboolean direct, waitvm, debug, reconnect; +} PluginInstance; + +extern NPError VirtViewerXSetWindow (NPP instance, NPWindow* window); +extern NPError VirtViewerDestroyWindow (NPP instance); +extern int16 VirtViewerXHandleEvent (NPP instance, void* event); + +#ifdef ENABLE_DEBUG +static void +debug (const char *msg, ...) +{ + va_list args; + + va_start (args, msg); + vfprintf (stderr, msg, args); + va_end (args); + fprintf (stderr, "\n"); + fflush (stderr); +} +#else +#define debug(msg...) +#endif + +#endif /* VIRT_VIEWER_PLUGIN_H */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/LINGUAS b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/LINGUAS new file mode 100644 index 0000000..f24155d --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/LINGUAS @@ -0,0 +1,39 @@ +ar +as +bg +bn_IN +bn +cs +de +es +eu +fi +fr +gl +gu +he +hi +hu +id +it +ja +kn +ko +lv +ml +mr +nl +or +pa +pl +pt_BR +pt +ru +si +sk +ta +te +tr +uk +zh_CN +zh_TW diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/Makefile.in.in b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/Makefile.in.in new file mode 100644 index 0000000..06a8cfe --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/Makefile.in.in @@ -0,0 +1,222 @@ +# Makefile for program source directory in GNU NLS utilities package. +# Copyright (C) 1995, 1996, 1997 by Ulrich Drepper <drepper@gnu.ai.mit.edu> +# Copyright (C) 2004-2008 Rodney Dawes <dobey.pwns@gmail.com> +# +# This file may be copied and used freely without restrictions. It may +# be used in projects which are not available under a GNU Public License, +# but which still want to provide support for the GNU gettext functionality. +# +# - Modified by Owen Taylor <otaylor@redhat.com> to use GETTEXT_PACKAGE +# instead of PACKAGE and to look for po2tbl in ./ not in intl/ +# +# - Modified by jacob berkman <jacob@ximian.com> to install +# Makefile.in.in and po2tbl.sed.in for use with glib-gettextize +# +# - Modified by Rodney Dawes <dobey.pwns@gmail.com> for use with intltool +# +# We have the following line for use by intltoolize: +# INTLTOOL_MAKEFILE + +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +PACKAGE = @PACKAGE@ +VERSION = @VERSION@ + +SHELL = @SHELL@ + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +top_builddir = @top_builddir@ +VPATH = @srcdir@ + +prefix = @prefix@ +exec_prefix = @exec_prefix@ +datadir = @datadir@ +datarootdir = @datarootdir@ +libdir = @libdir@ +DATADIRNAME = @DATADIRNAME@ +itlocaledir = $(prefix)/$(DATADIRNAME)/locale +subdir = po +install_sh = @install_sh@ +# Automake >= 1.8 provides @mkdir_p@. +# Until it can be supposed, use the safe fallback: +mkdir_p = $(install_sh) -d + +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ + +GMSGFMT = @GMSGFMT@ +MSGFMT = @MSGFMT@ +XGETTEXT = @XGETTEXT@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +MSGMERGE = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist +GENPOT = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot + +ALL_LINGUAS = @ALL_LINGUAS@ + +PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi) + +USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep \^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep \^$$lang$$`"; then printf "$$lang "; fi; done; fi) + +USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) + +POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done) + +DISTFILES = Makefile.in.in POTFILES.in $(POFILES) +EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS + +POTFILES = \ +# This comment gets stripped out + +CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done) + +.SUFFIXES: +.SUFFIXES: .po .pox .gmo .mo .msg .cat + +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +INTLTOOL_V_MSGFMT = $(INTLTOOL__v_MSGFMT_$(V)) +INTLTOOL__v_MSGFMT_= $(INTLTOOL__v_MSGFMT_$(AM_DEFAULT_VERBOSITY)) +INTLTOOL__v_MSGFMT_0 = @echo " MSGFMT" $@; + +.po.pox: + $(MAKE) $(GETTEXT_PACKAGE).pot + $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox + +.po.mo: + $(INTLTOOL_V_MSGFMT)$(MSGFMT) -o $@ $< + +.po.gmo: + $(INTLTOOL_V_MSGFMT)file=`echo $* | sed 's,.*/,,'`.gmo \ + && rm -f $$file && $(GMSGFMT) -o $$file $< + +.po.cat: + sed -f ../intl/po2msg.sed < $< > $*.msg \ + && rm -f $@ && gencat $@ $*.msg + + +all: all-@USE_NLS@ + +all-yes: $(CATALOGS) +all-no: + +$(GETTEXT_PACKAGE).pot: $(POTFILES) + $(GENPOT) + +install: install-data +install-data: install-data-@USE_NLS@ +install-data-no: all +install-data-yes: all + linguas="$(USE_LINGUAS)"; \ + for lang in $$linguas; do \ + dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \ + $(mkdir_p) $$dir; \ + if test -r $$lang.gmo; then \ + $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ + echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \ + else \ + $(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ + echo "installing $(srcdir)/$$lang.gmo as" \ + "$$dir/$(GETTEXT_PACKAGE).mo"; \ + fi; \ + if test -r $$lang.gmo.m; then \ + $(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \ + echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \ + else \ + if test -r $(srcdir)/$$lang.gmo.m ; then \ + $(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \ + $$dir/$(GETTEXT_PACKAGE).mo.m; \ + echo "installing $(srcdir)/$$lang.gmo.m as" \ + "$$dir/$(GETTEXT_PACKAGE).mo.m"; \ + else \ + true; \ + fi; \ + fi; \ + done + +# Empty stubs to satisfy archaic automake needs +dvi info ctags tags CTAGS TAGS ID: + +# Define this as empty until I found a useful application. +install-exec installcheck: + +uninstall: + linguas="$(USE_LINGUAS)"; \ + for lang in $$linguas; do \ + rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \ + rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \ + done + +check: all $(GETTEXT_PACKAGE).pot + rm -f missing notexist + srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m + if [ -r missing -o -r notexist ]; then \ + exit 1; \ + fi + +mostlyclean: + rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp + rm -f .intltool-merge-cache + +clean: mostlyclean + +distclean: clean + rm -f Makefile Makefile.in POTFILES stamp-it + rm -f *.mo *.msg *.cat *.cat.m *.gmo + +maintainer-clean: distclean + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + rm -f Makefile.in.in + +distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) +dist distdir: $(DISTFILES) + dists="$(DISTFILES)"; \ + extra_dists="$(EXTRA_DISTFILES)"; \ + for file in $$extra_dists; do \ + test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \ + done; \ + for file in $$dists; do \ + test -f $$file || file="$(srcdir)/$$file"; \ + ln $$file $(distdir) 2> /dev/null \ + || cp -p $$file $(distdir); \ + done + +update-po: Makefile + $(MAKE) $(GETTEXT_PACKAGE).pot + tmpdir=`pwd`; \ + linguas="$(USE_LINGUAS)"; \ + for lang in $$linguas; do \ + echo "$$lang:"; \ + result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \ + if $$result; then \ + if cmp $(srcdir)/$$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ + rm -f $$tmpdir/$$lang.new.po; \ + else \ + if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ + :; \ + else \ + echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ + rm -f $$tmpdir/$$lang.new.po; \ + exit 1; \ + fi; \ + fi; \ + else \ + echo "msgmerge for $$lang.gmo failed!"; \ + rm -f $$tmpdir/$$lang.new.po; \ + fi; \ + done + +Makefile POTFILES: stamp-it + @if test ! -f $@; then \ + rm -f stamp-it; \ + $(MAKE) stamp-it; \ + fi + +stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \ + $(SHELL) ./config.status + +# Tell versions [3.59,3.63) of GNU make not to export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/POTFILES.in b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/POTFILES.in new file mode 100644 index 0000000..6b998e7 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/POTFILES.in @@ -0,0 +1,12 @@ +src/gbinding.c +src/remote-viewer-main.c +src/remote-viewer.c +[type: gettext/glade] src/virt-viewer-about.xml +src/virt-viewer-app.c +[type: gettext/glade] src/virt-viewer-auth.xml +src/virt-viewer-main.c +src/virt-viewer-session-spice.c +src/virt-viewer-session-vnc.c +src/virt-viewer-window.c +src/virt-viewer.c +[type: gettext/glade] src/virt-viewer.xml diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/ar.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/ar.po new file mode 100644 index 0000000..5e95506 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/ar.po @@ -0,0 +1,557 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Arabic <trans-ar@lists.fedoraproject.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ar\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "" + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "" + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "" + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "" + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "" + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "" + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr "" + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/as.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/as.po new file mode 100644 index 0000000..6cdf62f --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/as.po @@ -0,0 +1,559 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Amitakhya Phukan <aphukan@redhat.com>, 2010. +# Nilamdyuti Goswami <ngoswami@redhat.com>, 2012. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Assamese (http://www.transifex.net/projects/p/fedora/language/as/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: as\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "উৎস" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "বন্ধনৰ উৎস" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "লক্ষ্য" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "বন্ধনৰ লক্ষ্য" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "উৎস সম্পত্তি" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "বান্ধিব লগিয়া উৎসৰ সম্পত্তি" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "লক্ষ্য সম্পত্তি" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "বান্ধিব লগিয়া লক্ষ্যৰ সম্পত্তি" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "ফ্লেগসমূহ" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "বন্ধনী ফ্লেগসমূহ" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "দুৰৱৰ্তী-দৰ্শক সংস্কৰণ %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "চলাওক '" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "সংস্কৰণ তথ্য প্ৰদৰ্শন কৰক" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "ভাৰভৌচ তথ্য প্ৰদৰ্শন কৰক" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "কোনো স্বচালিত টানেল নহোৱাকৈ প্ৰত্যক্ষ সংযোগ" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "উইন্ডোৰ জুম স্তৰ, শতাংশত" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "ডিবাগ তথ্য প্ৰদৰ্শন কৰক" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "Spice নিয়ন্ত্ৰক সংযোগ ব্যৱহাৰ কৰি সংযোগ খোলক" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "- দূৰৱৰ্তী দৰ্শক ক্লাএন্ট" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "জুম স্তৰ ১০-২০০ ৰ মাজত হব লাগিব\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "সংযোগ আৰম্ভ কৰিবলে ব্যৰ্থ" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "প্ৰদৰ্শন নিয়ন্ত্ৰক দ্বাৰা অসামৰ্থবান কৰা হৈছে" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "নিয়ন্ত্ৰক সংযোগ ব্যৰ্থ হল: %s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "এটা Spice অধিবেশন সৃষ্টি কৰিব পৰা নগল" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "Spice অধিবেশন সংহতি কৰা হৈ আছে..." + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "URI ৰ পৰা সংযোগ ধৰণ নিৰ্ধাৰণ কৰিব পৰা নগল" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "এই ধৰণৰ বাবে এটা অধিবেশন সৃষ্টি কৰিব পৰা নগল: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "GTK-VNC, SPICE-GTK আৰু libvirt ৰ সৈতে নিৰ্মাণ কৰা এটা দূৰৱৰ্তী ডেস্কটপ ক্লাএন্ট" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "Glade ৰ বিষয়ে" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "স্বত্বাধিকাৰ (C) ২০০৭-২০১২ ডেনিয়েল পি. বিৰেইঞ্জ\nস্বত্বাধিকাৰ (C) ২০০৭-২০১২ Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "Fedora অনুবাদ দল" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "এই প্ৰগ্ৰামটো এটা বিনামুলিয়া চফ্টওৱেৰ; আপুনি Free Software Foundation -ৰ দ্বাৰা প্ৰকাশিত GNU General Public License -ৰ চুক্তিসমূহৰ অন্তৰ্গত ইয়াক পুনৰ বিলাব পাৰিব অথবা সলনি কৰিব পাৰিব; হৈতো লাইচেঞ্চৰ সংস্কৰণ ২, অথবা (আপুনাৰ বিকল্পত) যিকোনো পৰৱৰ্তী সংস্কৰণ।\n\nএই প্ৰগ্ৰামটো এইটো আশাত বিলোৱা হৈছে যে ই ব্যৱহাৰযোগ্য হ'ব, কিন্তু কোনো ওৱাৰেন্টি নথকাকৈ; ব্যৱসায়ীক অথবা কোনো এটা বিশেষ কাৰণৰ যোগ্যতাৰ বাবে বুজুৱা ওৱাৰেন্টি নথকাকৈ। অধিক যানিবলৈ GNU General Public License চাওক।\n\nআপুনি হৈতো ইতিমধ্যে এই প্ৰগ্ৰামৰ সৈতে GNU General Public License -ৰ কপি এটা পাইছে; যদি নাই, Free Software\nFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA লে লিখক\n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "এইটো শেষ দৃশ্যমান প্ৰদৰ্শন। আপুনি প্ৰস্থান কৰিব বিচাৰে নে?" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "প্ৰদৰ্শন %d ৰ বাবে অপেক্ষা কৰা হৈ আছে..." + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "অতিথি %s ৰ বাবে অজ্ঞাত গ্ৰাফিক ধৰণ" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "ssh লে সংযোগ ব্যৰ্থ হল।" + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "চেনেলে সংযোগ কৰিব নোৱাৰি, কেৱল SSH সমৰ্থিত।" + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "চেনেললে সংযোগ অসমৰ্থিত।" + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "গ্ৰাফিক চাৰ্ভাৰলে সংযোগ কৰা হৈ আছে" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "অতিথি ডমেইন বন্ধ হল" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "গ্ৰাফিক চাৰ্ভাৰলে সংযোগিত" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "গ্ৰাফিক চাৰ্ভাৰ %s লে সংযোগ কৰিবলে অক্ষম" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "%s ত দূৰৱৰ্তী ডেস্কটপ চাৰ্ভাৰৰ সৈতে প্ৰমাণীত কৰিবলে অক্ষম: %s\nসংযোগ পুনৰ চেষ্টা কৰিব নে?" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "দূৰৱৰ্তী ডেস্কটপ চাৰ্ভাৰৰ সৈতে প্ৰমাণিত কৰিবলে অক্ষম: %s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "USB পুনৰনিৰ্দেশ ত্ৰুটি: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "প্ৰমাণীকৰণৰ প্ৰয়োজন" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "পাছৱাৰ্ড:" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "ব্যৱহাৰকাৰীৰ নাম:" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "লেবেল" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s সংস্কৰণ %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "libvirt ব্যৱহাৰ কৰি স্থানীয় প্ৰদৰ্শনলে সংলঘ্ন কৰক" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "হাইপাৰভাইছৰলে সংযোগ কৰক" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "ডমেইন আৰম্ভ হবলে অপেক্ষা কৰক" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "পুনৰাম্ভ হওতে ডমেইনলে পুনৰসংযোগ কৰক" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "পূৰ্ণ পৰ্দা অৱস্থাত খোলক" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "Virt দৰ্শক" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "- ভাৰ্চুৱেল যন্ত্ৰৰ চিত্ৰাঙ্কিত ক'ন্সোল" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\nব্যৱহাৰপদ্ধতি: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "পুনৰনিৰ্দেশৰ বাবে USB ডিভাইচসমূহ বাছক" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "অসমৰ্থিত প্ৰমাণীকৰণ ধৰণ %d" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "বিচ্ছিন্ন কৰক" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "USB ডিভাইছ নিৰ্বাচন" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "পূৰ্ণপৰ্দা ত্যাগ কৰক" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "অতিথি ডমেইন পুনৰাম্ভ হোৱাৰ বাবে অপেক্ষা কৰা হৈ আছে" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "অতিথি %s ৰ বাবে গ্ৰাফিক ধৰণ নিৰ্ধাৰণ কৰিব নোৱাৰি" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "অতিথি %s ৰ বাবে গ্ৰাফিক ঠিকনা নিৰ্ধাৰণ কৰিব নোৱাৰি" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "অতিথি %s ৰ বাবে হস্ট নিৰ্ধাৰণ কৰিব নোৱাৰি" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "অতিথি ডমেইন বিচৰা" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "অতিথি ডমেইন সৃষ্টি হোৱালে অপেক্ষা কৰা হৈ আছে" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "%s অতিথিৰ ডোমেইন পোৱা নাযায়" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "অতিথি ডমেইন অৱস্থা নীৰিক্ষণ কৰা" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "অতিথি ডমেইন আৰম্ভ হোৱালে অপেক্ষা কৰা হৈ আছে" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "অতিথি ডমেইন দ্বাৰা চাৰ্ভাৰ আৰম্ভ কৰিবলে অপেক্ষা কৰা হৈ আছে" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "%s URI ৰে libvirt লৈ সংযোগ কৰিব নোৱাৰি" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[none]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "স্বচালিতভাৱে পুনৰআকাৰ দিয়ক" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Ctrl+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Ctrl+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Ctrl+Alt+F1_0" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Ctrl+Alt+F_1" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Ctrl+Alt+F_2" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Ctrl+Alt+F_3" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Ctrl+Alt+F_4" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Ctrl+Alt+F_5" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Ctrl+Alt+F_6" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Ctrl+Alt+F_7" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Ctrl+Alt+F_8" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Ctrl+Alt+F_9" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Ctrl+Alt+_Backspace" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Ctrl+Alt+_Del" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "প্ৰদৰ্শনসমূহ" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "সম্পূৰ্ণ পৰ্দা" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "উন্মোচন কাৰ্চাৰ" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "স্ক্ৰিনশ্বট" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "স্মাৰ্টকাৰ্ড সোমোৱা" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "স্মাৰ্টকাৰ্ড আতৰোৱা" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "নথিপত্ৰ (_F)" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "সহায় (_H)" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "প্ৰিন্টস্ক্ৰিন (_P)" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "কি পঠাওক (_S)" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "দৰ্শন কৰক (_V)" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "জুম কৰক (_Z)" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/bg.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/bg.po new file mode 100644 index 0000000..28c80d8 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/bg.po @@ -0,0 +1,558 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Valentin Laskov <laskov@festa.bg>, 2012. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Bulgarian <trans-bg@lists.fedoraproject.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: bg\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "Източник" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "Източникът на привързването" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "Цел" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "Целта на привързването" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "Свойства на източника" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "Свойствата на източника на привързване" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "Свойства на целта" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "Свойствата на целта на привързване" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "Флагове" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "Флаговете на привързването" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "remote-viewer версия %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "Стартиране '" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "Показва информация за версията" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "Показва по-подробна информация" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "Директна връзка без автоматични тунели" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "Размер на прозореца в проценти" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "Показва информация за отстраняване на грешки" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "Отвори връзка чрез комуникационния контролер Spice" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "- Клиент за отдалечено наблюдение" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "Размерът трябва да е в рамките 10-200\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "Неуспешно инициализиране на връзка" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "Дисплеят е забранен от контролера" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "Връзката на контролера пропадна: %s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "Не мога да създам Spice сесия" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "Създаване на Spice сесия..." + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "От това URI не може да се определи типа на връзката" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "Не може да се създаде сесия от този тип: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "Отдалечен десктоп клиент, създаден с GTK-VNC, SPICE-GTK и libvirt" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "Относно Glade" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "Copyright (C) 2007-2012 Daniel P. Berrange\nCopyright (C) 2007-2012 Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "The Fedora Translation Team\nВалентин Ласков, 2012" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "Тази програма е свободен софтуер; Вие можете да я разпространявате\nи/или променяте под условията на GNU General Public License, както е публикуван от\nFree Software Foundation; версия 2 на лиценза, или по (ваше усмотрение),\nкоято и да е по-късна версия.\n\nТази програма се разпространява с надеждата, че ще бъде полезна,\nно БЕЗ КАКВАТО И ДА Е ГАРАНЦИЯ; без дори косвена гаранция за\nПРОДАВАЕМОСТ или ПРИГОДНОСТ ЗА ОПРЕДЕЛЕНА ЦЕЛ. Вижте\nGNU General Public License за повече подробности.\n\nВие би трябвало да сте получили копие на GNU General Public License\nзаедно с тази програма; ако не, пишете на Free Software\nFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "Това е последният видим екран. Искате ли да излезете?" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "Изчаквам за да покажа %d..." + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "Неизвестен тип графика за госта %s" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "Връзката към ssh пропадна." + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "Не мога да се свържа към канала, поддържа се само SSH." + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "Свързване към канал не се поддържа." + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "Свързване към графичен сървър" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "Виртуализиращата среда на госта беше спряна" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "Свързан към графичен сървър" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "Невъзможно е да се свържа с графичния сървър %s" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "Невъзможно е удостоверяването пред отдалечения десктоп сървър на %s: %s\nДа опитам ли свързването отново?" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "Невъзможно е удостоверяването пред отдалечения десктоп сървър: %s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "Грешка при USB пренасочването: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "Изисква се удостоверяване" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "Парола:" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "Потребител:" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "етикет" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s версия %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "Прилагане към локалния дисплей посредством libvirt" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "Свързване към хипервайзор" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "Изчаквам стартирането на виртуализиращата среда" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "Повторно включване към виртуализиращата среда при рестартиране" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "Отвори в режим на Цял екран" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "Вирт наблюдател" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "- Графична конзола на виртуална машина" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\nУпотреба: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "Изберете USB устройства за пренасочване" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "Не се поддържа удостоверяване тип %d" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "Изключване" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "Избор на USB устройства" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "Изход от Цял екран" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "Изчакване виртуализиращата среда на госта да се рестартира" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "Не мога да определя графичния тип за госта %s" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "Не мога да определя графичния адрес за госта %s" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "Не мога да определя хоста за госта %s" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "Търсене на виртуализиращата среда на госта" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "Изчакване виртуализиращата среда да бъде създадена" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "Не мога да намеря виртуализиращата среда на госта %s" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "Проверка състоянието на виртуализиращата среда" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "Изчакване виртуализиращата среда на госта да бъде стартирана" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "Изчакване виртуализиращата среда на госта да стартира сървър" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "Не е възможна връзка към libvirt с URI %s" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[нищо]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "Автоматично мащабиране" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Ctrl+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Ctrl+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Ctrl+Alt+F1_0" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Ctrl+Alt+F_1" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Ctrl+Alt+F_2" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Ctrl+Alt+F_3" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Ctrl+Alt+F_4" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Ctrl+Alt+F_5" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Ctrl+Alt+F_6" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Ctrl+Alt+F_7" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Ctrl+Alt+F_8" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Ctrl+Alt+F_9" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Ctrl+Alt+_Backspace" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Ctrl+Alt+_Del" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "Екрани" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "Цял екран" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "Освобождаване на показалеца" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "Снимка на екрана" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "Поставяне на смарткарта" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "Премахване на смарткарта" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "_Файл" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "_Помощ" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "Отпечатай _екрана" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "Изпрати _клавиш" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "_Изглед" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "_Мащабиране" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/bn.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/bn.po new file mode 100644 index 0000000..52cad7a --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/bn.po @@ -0,0 +1,563 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Ayesha Akhtar <ayesha@ankur.org.bd>, 2012. +# Mahay Alam Khan <mak@ankur.org.bd>, 2012. +# Newton Baidya <newton@ankur.org.bd>, 2012. +# Robin Mehdee <robin@ankur.org.bd>, 2012. +# Runa Bhattacharjee <runab@redhat.com>, 2010. +# <runabh@gmail.com>, 2012. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Bengali <info@ankur.org.bd>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: bn\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "উৎস" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "বাইন্ডিংয়ের উৎস" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "উদ্দিষ্ট" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "বাইন্ডিংয়ের উদ্দিষ্টবস্তু" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "উৎসের বস্তু" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "উৎসের মধ্যে বাইন্ড করার জন্য চিহ্নিত বস্তু" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "উদ্দিষ্টের বস্তু" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "উদ্দিষ্টের মধ্যে বাইন্ড করার জন্য চিহ্নিত বস্তু" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "ফ্ল্যাগ" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "বাইন্ড করতে ব্যবহৃত ফ্ল্যাগ" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "remote-viewer সংস্করণ %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "সঞ্চালিত হবে '" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "সংস্করণ সংক্রান্ত তথ্য প্রদর্শন করা হবে" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "ভার্বোস তথ্য প্রদর্শন করা হবে" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "স্বয়ংক্রিয় টানেল বিনা কোনো সরাসরি যোগাযোগ নেই" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "উইন্ডোর প্রদর্শনের মাপ, শতাংশে ব্যক্ত" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "ডিবাগ সংক্রান্ত তথ্য প্রদর্শন করা হবে" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "Spice কন্ট্রোলারের যোগাব্যবস্থার মাধ্যমে সংযোগ আরম্ভ করা হবে" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "- দূরবর্তী প্রদর্শনব্যবস্থার ক্লায়েন্ট" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "প্রদর্শনের মাত্রা ১০-২০০-র মধ্যে হওয়া আবশ্যক\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "সংযোগ আরম্ভ করতে ব্যর্থ" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "কন্ট্রোলার দ্বারা প্রদর্শন নিষ্ক্রিয় করা হয়েছে" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "কন্ট্রোলারের সংযোগ স্থাপন করতে ব্যর্থ: %s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "একটি Spice সেশান প্রস্তুত করতে ব্যর্থ" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "Spice-র সেশান প্রস্তুত করা হচ্ছে..." + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "URI থেকে সংযোগের ধরন নির্ধারণ করা সম্ভব নয়" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "এই ধরনের জন্য সেশান প্রস্তুত করা যায়নি: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "GTK-VNC, SPICE-GTK ও libvirt সহযোগে নির্মিত একটি দূরবর্তী ডেস্কটপ" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "Glade পরিচিতি" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "স্বত্বাধিকার (C) ২০০৭-২০১২ ড্যানিয়েল পি. বেরাঞ্জ\nস্বত্বাধিকার (C) ২০০৭-২০১২ Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "Fedora-র অনুবাদকদের দল" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "এটি একটি মুক্ত সফ্টওয়্যার; Free Software Foundation দ্বারা প্রকাশিত GNU General Public License-র শর্তানুযায়ী এটি বিতরণ ও পরিবর্তন করা যাবে; লাইসেন্সের সংস্করণ ২ অথবা (আপনার সুবিধানুযায়ী) ঊর্ধ্বতন কোনো সংস্করণের অধীন।\n\nএই প্রোগ্রামটি বিতরণ করার মূল উদ্দেশ্য যে ব্যবহারকারীরা এর দ্বারা উপকৃত হবেন, কিন্তু \nএটির জন্য কোনো সুস্পষ্ট ওয়ারেন্টি উপস্থিত নেই; বাণিজ্যিক ও কোনো সুনির্দিষ্ট কর্ম সাধনের \nজন্য অন্তর্নিহীত ওয়ারেন্টিও অনুপস্থিত। অধিক জানতে GNU General Public License পড়ুন।\n\nএই প্রোগ্রামের সাথে GNU General Public License-র একটি প্রতিলিপি উপলব্ধ হওয়া উচিত; \nনা থাকলে নিম্নলিখিত ঠিকানায় লিখে তা সংগ্রহ করুন Free Software Foundation, Inc., \n59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "এটি সর্বশেষ দৃশ্যমান প্রদর্শন। আপনি কি প্রস্থান করতে ইচ্ছুক?" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "%d প্রদর্শনের জন্য অপেক্ষা করা হচ্ছে..." + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "%s গেস্ট মেশিনের জন্য অজানা ধরনের গ্রাফিক" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "ssh-র সাথে সংযোগ করতে ব্যর্থ।" + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "চ্যানেলের সাথে সংযোগ করা যায়নি, শুধুমাত্র SSH সমর্থিত হবে।" + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "সমর্থন বিনা চ্যানেলের সাথে সংযোগ করা হবে।" + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "গ্রাফিক সার্ভারের সাথে সংযোগ স্থাপন করা হচ্ছে" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "গেস্ট ডোমেইন বন্ধ হয়েছে" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "গ্রাফিক সার্ভারের সাথে সংযোগ স্থাপন করা হয়েছে" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "%s গ্রাফিক সার্ভারের সাথে সংযোগ স্থাপন করতে ব্যর্থ" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "%s-এ উপস্থিত দূরবর্তী ডেস্কটপ সার্ভারে অনুমোদন করতে ব্যর্থ: %s\nপুনরায় সংযোগের প্রচেষ্টা করা হবে কি?" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "দূরবর্তী ডেস্কটপ সার্ভারের সাথে অনুমোদন করতে ব্যর্থ: %s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "USB পুনর্নির্দেশে সমস্যা: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "অনুমোদন প্রয়োজন" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "পাসওয়ার্ড:" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "ব্যবহারকারীর নাম:" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "label" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s সংস্করণ %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "libvirt সহযোগে স্থানীয় প্রদর্শন ব্যবস্থার সাথে সংযোগ করুন" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "হাইপার-ভাইসরের সাথে সংযোগ স্থাপন করুন" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "ডোমেইন আরম্ভ করতে ব্যর্থ" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "পুনরারম্ভের পরে ডোমেইনের সাথে সংযোগ পুনরায় স্থাপন করা হবে" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "সম্পূর্ণ পর্দায় প্রদর্শন করা হবে" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "Virt Viewer" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "- ভার্চুয়াল মেশিনের গ্রাফিক্যাল কনসোল" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\nব্যবহার পদ্ধতি: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "পুনর্নির্দেশের জন্য USB ডিভাইস নির্বাচন করুন" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "%d ধরনের অনুমোদন সমর্থিত নয়" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "সংযোগ বিচ্ছেদ করুন" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "USB ডিভাইস নির্বাচন" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "সম্পূর্ণ পর্দায় প্রদর্শন থেকে প্রস্থান" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "গেস্ট ডোমেইন পুনরায় আরম্ভের অপেক্ষা করা হচ্ছে" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "%s গেস্ট মেশিনের জন্য গ্রাফিকের ধরন নির্ধারণ করা সম্ভব নয়" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "%s গেস্ট মেশিনের জন্য গ্রাফিক ঠিকানা নির্ধারণ করা সম্ভব নয়" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "%s গেস্ট মেশিনের জন্য হোস্ট নির্ধারণ করা সম্ভব নয়" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "গেস্ট ডোমেইন সন্ধান করা হচ্ছে" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "গেস্ট ডোমেইন প্রস্তুতির অপেক্ষা করা হচ্ছে" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "%s গেস্ট ডোমেইন সন্ধান করতে ব্যর্থ" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "গেস্ট ডোমেইনের অবস্থা পরীক্ষা করতে ব্যর্থ" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "গেস্ট ডোমেইন আরম্ভের অপেক্ষা করা হচ্ছে" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "গেস্ট ডোমেইন দ্বারা সার্ভার আরম্ভের অপেক্ষা করা হচ্ছে" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "URI %s সহযোগে libvirt-র সাথে সংযোগ করতে ব্যর্থ" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[শূণ্য]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "স্বয়ংক্রিয়ভাবে মাপ পরিবর্তন করুন" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Ctrl+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Ctrl+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Ctrl+Alt+F1_0" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Ctrl+Alt+F_1" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Ctrl+Alt+F_2" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Ctrl+Alt+F_3" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Ctrl+Alt+F_4" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Ctrl+Alt+F_5" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Ctrl+Alt+F_6" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Ctrl+Alt+F_7" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Ctrl+Alt+F_8" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Ctrl+Alt+F_9" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Ctrl+Alt+_Backspace" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Ctrl+Alt+_Del" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "প্রদর্শনক্ষেত্র" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "সম্পূর্ণ পর্দায় প্রদর্শন" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "কার্সার মুক্ত করা হবে" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "স্ক্রিন-শট" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "স্মার্ট-কার্ড অন্তর্ভুক্তি" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "স্মার্ট-কার্ড অপসারণ" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "ফাইল (_F)" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "সহায়তা (_H)" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "_PrintScreen" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "কি পাঠিয়ে দিন (_S)" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "প্রদর্শন (_V)" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "প্রদর্শনের নাম (_Z)" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/bn_IN.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/bn_IN.po new file mode 100644 index 0000000..686a802 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/bn_IN.po @@ -0,0 +1,559 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Runa Bhattacharjee <runab@redhat.com>, 2010. +# <runabh@gmail.com>, 2012. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Bengali (India) <anubad@lists.ankur.org.in>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: bn_IN\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "উৎস" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "বাইন্ডিংয়ের উৎস" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "উদ্দিষ্ট" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "বাইন্ডিংয়ের উদ্দিষ্টবস্তু" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "উৎসের বস্তু" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "উৎসের মধ্যে বাইন্ড করার জন্য চিহ্নিত বস্তু" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "উদ্দিষ্টের বস্তু" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "উদ্দিষ্টের মধ্যে বাইন্ড করার জন্য চিহ্নিত বস্তু" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "ফ্ল্যাগ" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "বাইন্ড করতে ব্যবহৃত ফ্ল্যাগ" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "remote-viewer সংস্করণ %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "সঞ্চালিত হবে '" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "সংস্করণ সংক্রান্ত তথ্য প্রদর্শন করা হবে" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "ভার্বোস তথ্য প্রদর্শন করা হবে" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "স্বয়ংক্রিয় টানেল বিনা কোনো সরাসরি যোগাযোগ নেই" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "উইন্ডোর প্রদর্শনের মাপ, শতাংশে ব্যক্ত" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "ডিবাগ সংক্রান্ত তথ্য প্রদর্শন করা হবে" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "Spice কন্ট্রোলারের যোগাব্যবস্থার মাধ্যমে সংযোগ আরম্ভ করা হবে" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "- দূরবর্তী প্রদর্শনব্যবস্থার ক্লায়েন্ট" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "প্রদর্শনের মাত্রা ১০-২০০-র মধ্যে হওয়া আবশ্যক\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "সংযোগ আরম্ভ করতে ব্যর্থ" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "কন্ট্রোলার দ্বারা প্রদর্শন নিষ্ক্রিয় করা হয়েছে" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "কন্ট্রোলারের সংযোগ স্থাপন করতে ব্যর্থ: %s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "একটি Spice সেশান প্রস্তুত করতে ব্যর্থ" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "Spice-র সেশান প্রস্তুত করা হচ্ছে..." + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "URI থেকে সংযোগের ধরন নির্ধারণ করা সম্ভব নয়" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "এই ধরনের জন্য সেশান প্রস্তুত করা যায়নি: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "GTK-VNC, SPICE-GTK ও libvirt সহযোগে নির্মিত একটি দূরবর্তী ডেস্কটপ" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "Glade পরিচিতি" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "স্বত্বাধিকার (C) ২০০৭-২০১২ ড্যানিয়েল পি. বেরাঞ্জ\nস্বত্বাধিকার (C) ২০০৭-২০১২ Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "Fedora-র অনুবাদকদের দল" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "এটি একটি মুক্ত সফ্টওয়্যার; Free Software Foundation দ্বারা প্রকাশিত GNU General Public License-র শর্তানুযায়ী এটি বিতরণ ও পরিবর্তন করা যাবে; লাইসেন্সের সংস্করণ ২ অথবা (আপনার সুবিধানুযায়ী) ঊর্ধ্বতন কোনো সংস্করণের অধীন।\n\nএই প্রোগ্রামটি বিতরণ করার মূল উদ্দেশ্য যে ব্যবহারকারীরা এর দ্বারা উপকৃত হবেন, কিন্তু \nএটির জন্য কোনো সুস্পষ্ট ওয়ারেন্টি উপস্থিত নেই; বাণিজ্যিক ও কোনো সুনির্দিষ্ট কর্ম সাধনের \nজন্য অন্তর্নিহীত ওয়ারেন্টিও অনুপস্থিত। অধিক জানতে GNU General Public License পড়ুন।\n\nএই প্রোগ্রামের সাথে GNU General Public License-র একটি প্রতিলিপি উপলব্ধ হওয়া উচিত; \nনা থাকলে নিম্নলিখিত ঠিকানায় লিখে তা সংগ্রহ করুন Free Software Foundation, Inc., \n59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "এটি সর্বশেষ দৃশ্যমান প্রদর্শন। আপনি কি প্রস্থান করতে ইচ্ছুক?" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "%d প্রদর্শনের জন্য অপেক্ষা করা হচ্ছে..." + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "%s গেস্ট মেশিনের জন্য অজানা ধরনের গ্রাফিক" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "ssh-র সাথে সংযোগ করতে ব্যর্থ।" + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "চ্যানেলের সাথে সংযোগ করা যায়নি, শুধুমাত্র SSH সমর্থিত হবে।" + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "সমর্থন বিনা চ্যানেলের সাথে সংযোগ করা হবে।" + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "গ্রাফিক সার্ভারের সাথে সংযোগ স্থাপন করা হচ্ছে" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "গেস্ট ডোমেইন বন্ধ হয়েছে" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "গ্রাফিক সার্ভারের সাথে সংযোগ স্থাপন করা হয়েছে" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "%s গ্রাফিক সার্ভারের সাথে সংযোগ স্থাপন করতে ব্যর্থ" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "%s-এ উপস্থিত দূরবর্তী ডেস্কটপ সার্ভারে অনুমোদন করতে ব্যর্থ: %s\nপুনরায় সংযোগের প্রচেষ্টা করা হবে কি?" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "দূরবর্তী ডেস্কটপ সার্ভারের সাথে অনুমোদন করতে ব্যর্থ: %s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "USB পুনর্নির্দেশে সমস্যা: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "অনুমোদন প্রয়োজন" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "পাসওয়ার্ড:" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "ব্যবহারকারীর নাম:" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "label" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s সংস্করণ %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "libvirt সহযোগে স্থানীয় প্রদর্শন ব্যবস্থার সাথে সংযোগ করুন" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "হাইপার-ভাইসরের সাথে সংযোগ স্থাপন করুন" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "ডোমেইন আরম্ভ করতে ব্যর্থ" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "পুনরারম্ভের পরে ডোমেইনের সাথে সংযোগ পুনরায় স্থাপন করা হবে" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "সম্পূর্ণ পর্দায় প্রদর্শন করা হবে" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "Virt Viewer" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "- ভার্চুয়াল মেশিনের গ্রাফিক্যাল কনসোল" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\nব্যবহার পদ্ধতি: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "পুনর্নির্দেশের জন্য USB ডিভাইস নির্বাচন করুন" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "%d ধরনের অনুমোদন সমর্থিত নয়" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "সংযোগ বিচ্ছেদ করুন" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "USB ডিভাইস নির্বাচন" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "সম্পূর্ণ পর্দায় প্রদর্শন থেকে প্রস্থান" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "গেস্ট ডোমেইন পুনরায় আরম্ভের অপেক্ষা করা হচ্ছে" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "%s গেস্ট মেশিনের জন্য গ্রাফিকের ধরন নির্ধারণ করা সম্ভব নয়" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "%s গেস্ট মেশিনের জন্য গ্রাফিক ঠিকানা নির্ধারণ করা সম্ভব নয়" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "%s গেস্ট মেশিনের জন্য হোস্ট নির্ধারণ করা সম্ভব নয়" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "গেস্ট ডোমেইন সন্ধান করা হচ্ছে" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "গেস্ট ডোমেইন প্রস্তুতির অপেক্ষা করা হচ্ছে" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "%s গেস্ট ডোমেইন সন্ধান করতে ব্যর্থ" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "গেস্ট ডোমেইনের অবস্থা পরীক্ষা করতে ব্যর্থ" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "গেস্ট ডোমেইন আরম্ভের অপেক্ষা করা হচ্ছে" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "গেস্ট ডোমেইন দ্বারা সার্ভার আরম্ভের অপেক্ষা করা হচ্ছে" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "URI %s সহযোগে libvirt-র সাথে সংযোগ করতে ব্যর্থ" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[শূণ্য]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "স্বয়ংক্রিয়ভাবে মাপ পরিবর্তন করুন" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Ctrl+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Ctrl+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Ctrl+Alt+F1_0" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Ctrl+Alt+F_1" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Ctrl+Alt+F_2" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Ctrl+Alt+F_3" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Ctrl+Alt+F_4" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Ctrl+Alt+F_5" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Ctrl+Alt+F_6" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Ctrl+Alt+F_7" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Ctrl+Alt+F_8" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Ctrl+Alt+F_9" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Ctrl+Alt+_Backspace" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Ctrl+Alt+_Del" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "প্রদর্শনক্ষেত্র" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "সম্পূর্ণ পর্দায় প্রদর্শন" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "কার্সার মুক্ত করা হবে" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "স্ক্রিন-শট" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "স্মার্ট-কার্ড অন্তর্ভুক্তি" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "স্মার্ট-কার্ড অপসারণ" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "ফাইল (_F)" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "সহায়তা (_H)" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "_PrintScreen" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "কি পাঠিয়ে দিন (_S)" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "প্রদর্শন (_V)" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "প্রদর্শনের নাম (_Z)" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/cs.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/cs.po new file mode 100644 index 0000000..1a3dca2 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/cs.po @@ -0,0 +1,557 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Czech (http://www.transifex.net/projects/p/fedora/language/cs/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: cs\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "" + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "" + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "" + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "" + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "" + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "" + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr "" + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/de.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/de.po new file mode 100644 index 0000000..31b2095 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/de.po @@ -0,0 +1,560 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Automatically generated, 2010. +# Hedda Peters <hpeters@redhat.com>, 2010. +# <hpeters@redhat.com>, 2012. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: German <trans-de@lists.fedoraproject.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "Quelle" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "Die Quelle der Bindung" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "Ziel" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "Das Ziel der Bindung" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "Quell-Eigenschaft" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "Die Eigenschaft auf der Quelle der Bindung" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "Ziel-Eigenschaft" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "Die Eigenschaft auf dem Ziel der Bindung" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "Flags" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "Die Bindungs-Flags" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "Remote-Viewer Version %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "Ausführen '" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "Versionsinformationen anzeigen" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "Ausführliche Informationen anzeigen" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "Direkte Verbindung ohne automatische Tunnel" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "Zoomlevel des Fensters in Prozent" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "Debugging-Informationen anzeigen" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "Verbindung öffnen unter Verwendung der Spice-Kontroller-Kommunikation" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "- Remote-Viewer Client" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "Zoom-Level muss zwischen 10 und 200 sein\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "Initiieren der Verbindung fehlgeschlagen" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "Anzeige vom Kontroller deaktiviert" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "Kontroller-Verbindung fehlgeschlagen: %s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "Spice-Sitzung konnte nicht erstellt werden" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "Einrichten der Spice-Sitzung ..." + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "Verbindungstyp konnte nicht von URI ermittelt werden" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "Sitzung für diesen Typ konnte nicht erstellt werden: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "Ein Remote-Desktop-Client erstellt unter Verwendung von GTK-VNC, SPICE-GTK und libvirt" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "Über Glade" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "Copyright (C) 2007-2012 Daniel P. Berrange\nCopyright (C) 2007-2012 Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "Das Fedora Übersetzungs-Team" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "This program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "Dies ist die letzte sichtbare Anzeige. Möchten Sie beenden?" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "Warten auf Anzeige %d ..." + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "Unbekannter Grafiktyp für Gast %s" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "Verbindung über SSH ist fehlgeschlagen." + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "Zu dem Kanal konnte nicht verbunden werden, es wird nur SSH unterstützt" + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "Verbindung zu dem Kanal wird nicht unterstützt." + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "Verbinden mit Grafikserver" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "Gast-Domain wurde beendet" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "Verbunden mit Grafikserver" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "Verbindung zum Grafik-Server %s konnte nicht hergestellt werden" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "Authentifikation beim Remote-Desktop-Server unter %s fehlgeschlagen: %s\nVerbindung erneut versuchen?" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "Authentifikation beim Remote-Desktop-Server fehlgeschlagen: %s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "USB-Weiterleitungsfehler: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "Authentifikation erforderlich" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "Passwort:" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "Benutzername:" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "Label" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s Version %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "Mit lokaler Anzeige verbinden mittels libvirt" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "Verbinden mit Hypervisor" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "Warten auf Start der Domain" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "Nach Neustart erneut mit Domain verbinden" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "In Vollbildmodus öffnen" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "Virt-Viewer" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "- Grafische Konsole der virtuellen Maschine" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\nVerwendung: %s [OPTIONEN] DOMAIN-NAME|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "USB-Gerät zur Weiterleitung wählen" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "Nicht unterstützter Authentifikationsstyp %d" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "Verbindung trennen" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "USB-Geräteauswahl" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "Vollbildmodus verlassen" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "Warten auf Neustart der Domain" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "Grafiktyp für den Gast %s konnte nicht ermittelt werden " + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "Grafikadresse für den Gast %s konnte nicht ermittelt werden " + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "Host für den Gast %s konnte nicht ermittelt werden" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "Suchen der Gast-Domain" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "Warten auf Erstellung der Gast-Domain" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "Gast-Domain %s konnte nicht gefunden werden" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "Prüfen des Gast-Domain-Status" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "Warten auf Start der Gast-Domain" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "Warten, bis Gast-Domain den Server startet" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "Verbindung zu libvirt mit URI %s konnte nicht hergestellt werden" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[keine]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "Größe automatisch anpassen" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Strg+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Strg+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Strg+Alt+F1_0" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Strg+Alt+F_1" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Strg+Alt+F_2" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Strg+Alt+F_3" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Strg+Alt+F_4" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Strg+Alt+F_5" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Strg+Alt+F_6" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Strg+Alt+F_7" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Strg+Alt+F_8" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Strg+Alt+F_9" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Strg+Alt+_Rücktaste" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Strg+Alt+_Entf" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "Anzeigen" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "Vollbild" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "Cursor freigeben" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "Screenshot" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "Smartcard-Eingabe" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "Smartcard-Entfernung" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "_Datei" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "_Hilfe" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "_Bildschirm drucken" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "_Schlüssel senden" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "_Ansicht" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "_Zoom" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/es.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/es.po new file mode 100644 index 0000000..245f12b --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/es.po @@ -0,0 +1,561 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Adolfo Jayme Barrientos <fitoschido@gmail.com>, 2012. +# <gguerrer@redhat.com>, 2012. +# Manuel Eduardo Ospina Sarmiento <mospina@localhost.localdomain>, 2010. +# Manuel Ospina <mospina@redhat.com>, 2010. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Spanish (Castilian) <trans-es@lists.fedoraproject.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: es\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "Fuente" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "La fuente de la conexión" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "Destino" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "El destino de la conexión" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "Propiedad de fuente" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "La propiedad en la fuente que va a conectar" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "Propiedad de destino" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "La propiedad en la fuente que va a conectar" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "Indicadores" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "Indicadores de conexión" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "remote-viewer versión %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "Ejecutar '" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "Mostrar información de versión" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "Mostrar información detallada" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "Conexión directa sin túneles automáticos" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "Aumentar acercamiento de ventana, en porcentaje" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "Mostrar información de depuración" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "Abra la conexión mediante el controlador de comunicación Spice " + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "- Cliente de visor remoto" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "El nivel de amplificación debe ser de 10-200⏎\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "No se pudo inicializar la conexión" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "Pantalla desactivada por el controlador" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "No se pudo conectar al controlador: %s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "No se pudo crear una sesión de Spice" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "Configurando sesión de Spice…" + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "No se puede determinar el tipo de conexión de la URI" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "No se pudo crear una sesión para este tipo: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "Un cliente de escritorio remoto creado con GTK-VNC, SPICE-GTK y libvirt" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "Acerca de Glade" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "Copyright (C) 2007-2012 Daniel P. Berrange\nCopyright (C) 2007-2012 Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "El equipo de traducción de Fedora" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "Este programa es de software libre; puede distribuirlo y modificarlo bajo los términos de la Licencia Pública General de GNU publicada por la Free Software Foundation, ya sea la versiṕn 2 de la licencia o (su opción) una versión posterior.\n\nEste programa se distribuye con la esperanza de que será útil, pero SIN NINGUNA GARANTÍA, incluso sin la garantía implícita de comerciabilidad o IDONEIDAD PARA UN PROPÓSITO PARTICULAR. Ver la GNU General Public License para más detalles. ⏎ \n\nDebe de haber recibido una copia de la Licencia Pública General de GNU junto con este programa, si no, escriba a la Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 EE.UU. \n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "Esta es la última pantalla visible. ¿Quiere salir?" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "Esperando la pantalla %d…" + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "Tipo de gráficos desconocido para el huésped %s" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "Falló la conexión a ssh." + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "No se puede conectar al canal, solo se permite SSH." + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "La conexión al canal no está soportada." + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "Conectando al servidor gráfico" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "Dominio de huéspedes se ha apagado" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "Conectado al servidor gráfico" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "No se pudo conectar al servidor gráfico %s" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "No se puede autenticar con el servidor de escritorio remoto en %s: %s⏎ \n¿Reintentar la conexión?" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "No se puede autenticar con el servidor del escritorio remoto: %s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "Error de redirección USB: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "Se necesita autenticación" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "Contraseña:" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "Nombre de usuario:" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "etiqueta" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s versión %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "Añadir a la pantalla local mediante libvirt" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "Conectar al hipervisor" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "Esperando a que inicie el dominio" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "Reconéctese al dominio tras el reinicio" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "Abrir en modo a pantalla completa" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "Virt Viewer" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "- Consola gráfica de la máquina virtual" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\nUso: %s [OPCIONES] DOMINIO-NOMBRE|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "Seleccione los dispositivos USB para redirigir" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "Tipo de autenticación no compatible %d" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "Desconectar" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "Selección de dispositivos USB" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "Salir de pantalla completa" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "Esperando que el dominio de huéspedes reinicie" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "No se puede determinar el tipo de gráficos para el huésped %s" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "No se puede determinar la dirección de gráficos para el huésped %s" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "No se puede determinar el anfitrión para el huésped %s" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "Buscando dominio de huéspedes" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "Esperando a que el dominio de huéspedes sea creado" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "No se pudo encontrar el dominio huésped %s" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "Comprobando el estatus del dominio de huéspedes" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "Esperando a que dominio de huéspedes inicie" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "Esperando a que el servidor del dominio de huéspedes inicie" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "No se pudo conectar a libvirt con el URI %s" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[ninguno]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "Redimensionar automáticamente" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Ctrl+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Ctrl+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Ctrl+Alt+F1_0" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Ctrl+Alt+F_1" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Ctrl+Alt+F_2" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Ctrl+Alt+F_3" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Ctrl+Alt+F_4" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Ctrl+Alt+F_5" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Ctrl+Alt+F_6" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Ctrl+Alt+F_7" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Ctrl+Alt+F_8" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Ctrl+Alt+F_9" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Ctrl+Alt+_Retroceso" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Ctrl+Alt+_Supr" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "Pantallas" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "Pantalla completa" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "Libere el cursor" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "Captura de pantalla" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "Inserción de Smartcard" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "Retiro de Smartcard" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "_Archivo" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "Ay_uda" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "_ImprPant" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "_Enviar llave" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "_Ver" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "_Zoom" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/eu.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/eu.po new file mode 100644 index 0000000..d1c2b92 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/eu.po @@ -0,0 +1,558 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Asier Iturralde Sarasola <asier.iturralde@gmail.com>, 2012. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Basque (http://www.transifex.net/projects/p/fedora/language/eu/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: eu\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "Exekutatu" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "Bistaratu bertsio informazioa" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "Bistaratu arazketa informazioa" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "" + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "Glade-ri buruz" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "Copyright-a (C) 2007-2012 Daniel P. Berrange\nCopyright-a (C) 2007-2012 Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "" + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "" + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "" + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "" + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "Pasahitza:" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "Erabiltzaile-izena:" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "etiketa" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s bertsioa %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "Ireki pantaila osoko moduan" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "Deskonektatu" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "USB gailuaren hautapena" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "Irten pantaila osotik" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "Pantaila osoa" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "Pantaila-argazkia" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "_Fitxategia" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "_Laguntza" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "_Inprimatu pantaila" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "_Bidali tekla" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "_Ikusi" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "_Zooma" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/fi.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/fi.po new file mode 100644 index 0000000..2265cfe --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/fi.po @@ -0,0 +1,557 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Finnish (http://www.transifex.net/projects/p/fedora/language/fi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "" + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "" + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "" + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "" + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "" + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "" + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr "" + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/fr.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/fr.po new file mode 100644 index 0000000..739b956 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/fr.po @@ -0,0 +1,559 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Boris BARNIER <b.barnier@gmail.com>, 2010. +# Sam Friedmann <sam.friedmann@redhat.com>, 2010, 2012. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: French <trans-fr@lists.fedoraproject.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Plural-Forms: nplurals=2; plural=(n > 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "Source" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "Source de la liaison" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "Cible" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "Cible de la liaison" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "Propriétés de la source" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "Propriétés de la source à lier" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "Propriétés de la cible" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "Propriétés de la cible à lier" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "Indicateurs" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "Indicateurs de liaison" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "remote-viewer version %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "Exécuter '" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "Afficher les informations de version" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "Afficher les informations verbeuses" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "Connexion directe sans tunnels automatiques" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "Niveau de zoom de la fenêtre, en pourcentage" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "Afficher les informations de débogage" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "Ouvrir la connexion à l'aide d'une communication avec le contrôleur de Spice" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "- Client de l'afficheur distant" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "Le niveau du zoom doit se trouver entre 10 et 200\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "Impossible d'initier la connexion" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "Affichage désactivé par le contrôleur" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "Échec de la connexion du contrôleur : %s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "Impossible de créer une session Spice" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "Mise en place d'une session Spice..." + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "Impossible de déterminer le type de la connexion à partir de l'URI" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "Impossible de créer une session pour ce type : %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "Le client bureau distant créé avec GTK-VNC, SPICE-GTK et libvirt" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "À propos de Glade" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "Copyright (C) 2007-2012 Daniel P. Berrange\nCopyright (C) 2007-2012 Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "L'équipe de traduction de Fedora" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "This program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "Ceci est le dernier écran d'affichage visible. Souhaitez-vous quitter l'application ?" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "En attente de l'affichage %d..." + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "Type d'affichage inconnu de l'invité %s" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "Échec de la connexion ssh." + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "Impossible d'établir la connexion au canal, seul SSH est pris en charge." + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "La connexion au canal n'est pas prise en charge." + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "Connexion au serveur d'affichage" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "Le domaine invité est fermé" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "Connecté au serveur d'affichage" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "Impossible d'établir la connexion au serveur d'affichage %s" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "Authentification avec le serveur distant sur %s impossible : %s\nEssayer la connexion à nouveau ?" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "Impossible d'authentifier la connexion avec le serveur de bureau distant : %s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "Erreur de redirection USB : %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "Authentification requise" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "Mot de passe :" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "Nom d'utilisateur :" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "étiquette" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s version %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "S'attacher à l'affichage local à l'aide de libvirt" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "Se connecter à l'hyperviseur" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "En attente de démarrage du domaine" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "Se reconnecter au domaine lors des redémarrages" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "Ouvrir en mode plein écran" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "Virt Viewer" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "- Console graphique de la machine virtuelle" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\nUsage : %s [OPTIONS] DOMAIN-NAME|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "Sélectionnez les périphériques USB à rediriger" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "Le type d'authentification %d n'est pas pris en charge" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "Déconnexion" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "Sélection du périphérique USB" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "Quitter le plein écran" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "En attente du redémarrage du domaine invité" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "Impossible de déterminer le type d'affichage de l'invité %s" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "Impossible de déterminer l'adresse de l'affichage de l'invité %s" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "Impossible de déterminer l'hôte de l'invité %s" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "Recherche du domaine invité" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "En attente de la création du domaine invité" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "Impossible de trouver le domaine invité %s" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "Vérification du statut du domaine invité" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "En attente du démarrage du domaine invité" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "En attente du démarrage du serveur par le domaine invité" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "Impossible de se connecter à libvirt avec URI %s" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[aucun]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "Redimensionner automatiquement" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Ctrl+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Ctrl+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Ctrl+Alt+F1_0" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Ctrl+Alt+F_1" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Ctrl+Alt+F_2" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Ctrl+Alt+F_3" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Ctrl+Alt+F_4" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Ctrl+Alt+F_5" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Ctrl+Alt+F_6" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Ctrl+Alt+F_7" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Ctrl+Alt+F_8" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Ctrl+Alt+F_9" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Ctrl+Alt+_Effacer" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Ctrl+Alt+_Suppr" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "Affichages" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "Plein écran" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "Libérer le curseur" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "Capture d'écran" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "Insertion d'une Smartcard" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "Suppression d'une Smartcard" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "_Fichier" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "_Aide" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "Im_pressionÉcran" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "Touche _Envoyer" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "_Afficher" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "_Zoom" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/gl.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/gl.po new file mode 100644 index 0000000..cd0a904 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/gl.po @@ -0,0 +1,557 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Galician (http://www.transifex.net/projects/p/fedora/language/gl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: gl\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "" + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "" + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "" + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "" + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "" + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "" + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr "" + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/gu.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/gu.po new file mode 100644 index 0000000..2420917 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/gu.po @@ -0,0 +1,558 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Sweta Kothari <swkothar@redhat.com>, 2010, 2012. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Gujarati <trans-gu@lists.fedoraproject.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: gu\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "સ્ત્રોત" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "બાઇન્ડીંગનુ સ્ત્રોત" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "લક્ષ્ય" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "બાઇન્ડીંગનુ લક્ષ્ય" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "સ્ત્રોત ગુણધર્મ" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "બાઇન્ડ કરવા માટે સ્ત્રોત પર ગુણધર્મ" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "લક્ષ્ય ગુણધર્મ" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "બાઇન્ડ કરવા માટે લક્ષ્ય પર ગુણધર્મ" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "ફ્લેગ" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "બાઇન્ડિંગ ફ્લેગ" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "remote-viewer આવૃત્તિ %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "ચલાવો '" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "આવૃત્તિ જાણકારીને બતાવો" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "વર્બોસ જાણકારીને બતાવો" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "સ્વયંસંચાલિત ટનલ સાથે સીધુ જોડાણ નથી" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "નાનામોટાપણાનું સ્તર, ટકામાં" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "ડિબગીંગ જાણકારીને બતાવો" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "Spice નિયંત્રક વાર્તાલાપની મદદથી જોડાણને ખોલો" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "- દૂરસ્થ દર્શક ક્લાયન્ટ" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "નાનુંમોટુ કરવાનું સ્તર 10-200 માં હોવુ જ જોઇએ\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "જોડાણને પ્રારંભ કરવાનુ નિષ્ફળ" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "નિયંત્રક દ્દારા નિષ્ક્રિય થયેલ બતાવો" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "નિયંત્રક જોડાણ નિષ્ફળ: %s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "Spice સત્રને બનાવી શક્યા નહિં" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "Spice સત્રને સુયોજિત કરી રહ્યા છે..." + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "URI માંથી જોડાણ પ્રકારને નક્કી કરી શકાતુ નથી" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "આ પ્રકાર માટે સત્રને બનાવી શક્યા નહિં: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "GTK-VNC, SPICE-GTK અને libvirt સાથે દૂરસ્થ ડેસ્કટોપ ક્લાયન્ટને બનાવેલ છે" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "ગલૅડ વિશે" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "Copyright (C) 2007-2012 Daniel P. Berrange\nCopyright (C) 2007-2012 Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "Fedora અનુવાદ ટીમ" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "This program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "આ છેલ્લુ દૃશ્યમાન દર્શાવ છે. શું તમે બહાર નીકળવા માંગો છો?" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "%d ને દર્શાવવા માટે રાહ જોઇ રહ્યા છે..." + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "મહેમાન %s માટે અજ્ઞાત ગ્રાફિક પ્રકાર" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "ssh સાથે જોડાવાનું નિષ્ફળ." + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "ચેનલમાં જોડાઇ શકતા નથી, SSH ફક્ત આધારભૂત છે." + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "ચેનલમાં જોડાવાનુ બિનઆધારભૂત છે." + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "ગ્રાફિક સર્વરમાં જોડાઇ રહ્યા છે" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "મહેમાન ડોમેઇન બંધ થઇ ગયો" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "ગ્રાફિક સર્વરમાં જોડાયેલ છે" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "ગ્રાફિક સર્વર %s માં જોડાવામાં અસમર્થ" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "%s પર દૂરસ્થ ડેસ્કટોપ સાથે સત્તાધિકરણ કરવાનું અસમર્થ: %s\nફરીથી જોડાણનો પુન:પ્રયત્ન કરો?" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "દૂરસ્થ ડેસ્કટોપ સર્વર સાથે સત્તાધિકરણ કરવાનું અસમર્થ: %s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "USB પુનર્નિર્દેશન ભૂલ: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "સત્તાધિકરણ જરૂરી છે" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "પાસવર્ડ:" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "વપરાશકર્તાનામ:" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "લેબલ" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s આવૃત્તિ %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "libvirt ની મદદથી સ્થાનિક દર્શાવ સાથે જોડાવો" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "હાઇપરવિઝરમાં જોડાવો" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "શરૂ કરવા ડોમેઇન માટે રાહ જુઓ" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "પુનઃશરૂ કરવા પર ડોમેઇન પુનઃજોડાણ" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "સંપૂર્ણ સ્ક્રીન સ્થિતિમાં ખોલો" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "Virt Viewer" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "- વર્ચ્યુઅલ મશીન ગ્રાફિકલ કન્સોલ" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\nવપરાશ: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "પુનર્નિર્દેશન માટે USB ઉપકરણોને પસંદ કરો" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "બિનઆધારભૂત સત્તાધિકરણ પ્રકાર %d" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "જોડાણ તોડી નાંખો" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "USB ઉપકરણ પસંદગી" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "પૂર્ણસ્ક્રીન છોડો" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "પુન:શરૂ કરવા માટે મહેમાન ડોમેઇન માટે રાહ જોઇ રહ્યા છે" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "મહેમાન %s માટે ગ્રાફિક પ્રકારને નક્કી કરી શકાતુ નથી" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "મહેમાન %s માટે ગ્રાફિક સરનામાંને નક્કી કરી શકાતુ નથી" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "મહેમાન %s માટે યજમાનને નક્કી કરી શકાતુ નથી" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "મહેમાન ડોમેઇનને શોધી રહ્યા છે" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "બનાવવા માટે મહેમાન ડોમેઇન માટે રાહ જોઇ રહ્યા છે" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "મહેમાન ડોમેઇન %s ને શોધી શકાતુ નથી" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "મહેમાન ડોમેઇન પરિસ્થિતિને ચકાસી રહ્યા છે" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "શરૂ કરવા માટે મહેમાન ડોમેઇન માટે રાહ જોઇ રહ્યા છે" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "સર્વરને શરૂ કરવા માટે મહેમાન ડોમેઇન માટે રાહ જોઇ રહ્યા છે" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "URI %s સાથે libvirt ને જોડવાનું અસમર્થ" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[કંઇ નહિં]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "આપમેળે માપ બદલો" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Ctrl+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Ctrl+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Ctrl+Alt+F1_0" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Ctrl+Alt+F_1" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Ctrl+Alt+F_2" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Ctrl+Alt+F_3" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Ctrl+Alt+F_4" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Ctrl+Alt+F_5" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Ctrl+Alt+F_6" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Ctrl+Alt+F_7" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Ctrl+Alt+F_8" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Ctrl+Alt+F_9" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Ctrl+Alt+_Backspace" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Ctrl+Alt+_Del" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "દર્શાવે છે" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "પૂર્ણ સ્ક્રીન" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "પ્રકાશન કર્સર" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "સ્ક્રીનશોટ" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "સ્માર્ટકાર્ડ નિવેશ" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "સ્માર્ટકાર્ડ નિરાકરણ" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "ફાઇલ (_F)" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "મદદ (_H)" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "PrintScreen (_P)" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "કી મોકલો (_S)" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "દૃશ્ય (_V)" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "નાનુંમોટુ કરો (_Z)" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/he.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/he.po new file mode 100644 index 0000000..cf61b21 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/he.po @@ -0,0 +1,557 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Hebrew <he-users@lists.fedoraproject.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: he\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "" + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "" + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "" + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "" + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "" + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "" + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr "" + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/hi.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/hi.po new file mode 100644 index 0000000..420e89e --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/hi.po @@ -0,0 +1,560 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Chandan kumar <chandankumar.093047@gmail.com>, 2012. +# Rajesh Ranjan <rajesh672@gmail.com>, 2010. +# Rajesh Ranjan <rranjan@redhat.com>, 2012. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Hindi <indlinux-hindi@lists.sourceforge.net>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: hi\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "स्रोत" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "बाइंडिंग का स्रोत" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "लक्ष्य" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "बाइंडिंग का लक्ष्य" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "स्रोत गुण" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "बाइंड करने के लिए स्रोत पर गुण" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "लक्ष्य गुण" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "बाइंड करने के लिए लक्ष्य पर गुण" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "फ्लैग" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "बाइंडिंग फ्लैग" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "दूरस्थ-दर्शक संस्करण %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "Run '" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "संस्करण की जानकारी दिखाता है" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr " वर्बोज की जानकारी दिखाता है" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr " स्वचालित सुरंगों के साथ कोई भी प्रत्यक्ष कनेक्शन नहीं " + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "विंडो का जूम स्तर, प्रतिशत में" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "डिबगिंग सूचना दिखाता है" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "स्पाइस संचार नियंत्रक का उपयोग करते हुए कनेक्शन खोलें" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "-दूरस्थ दर्शक ग्राहक" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "ज़ूम का स्तर 10-200 अंतर्गत होना चाहिए\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "कनेक्शन आरंभ करने में विफल" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "नियंत्रक के द्वारा प्रदर्शन अक्षम" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "नियंत्रक कनेक्शन में विफल रहा है : %s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "स्पाइस का सत्र नहीं बना पाया" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "स्पाइस सत्र की सेटिंग कर रहा है ..." + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "यूआरआइ से कनेक्शन के प्रकार को तय नहीं कर सकता है" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "इस प्रकार का सत्र नहीं बना सका : %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "एक दूरस्थ डेस्कटॉप ग्राहक जीतीके-वीएनसी, स्पाइस-जीटीके और लिब्विर्ट के साथ निर्मित" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "ग्लेड के बारे में" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "Copyright (C) 2007-2012 Daniel P. Berrange\nCopyright (C) 2007-2012 Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "फेडोरा अनुवाद टीम" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "यह प्रोग्राम मुफ्त सॉफ्टवेयर का है: आप इसे फ्री सॉफ्टवेयर फाउंडेशन के द्वारा प्रकाशित जीएनयू जनरल पब्लिक लाइसेंस; या तो लाइसेंस का संस्करण 2, या (आपके विकल्प के अनुसार) बाद के किसी संस्करण की शर्तों के तहत पुनर्वितरित और / संशोधित कर सकते हैं .\n\nइस कार्यक्रम को इस उम्मीद से वितरित किया गया है कि यह बिना किसी वारंटी;व्यापारिकता की अप्रत्यक्ष वारंटी या किसी खास उद्देश्य के लिए उपयुक्तता के बिना उपयोगी होगा. अधिक जानकारी के लिए जीएनयू जनरल पब्लिक लाइसेंस देखें.\n\nआप इस प्रोग्राम के साथ जीएनयू जनरल पब्लिक लाइसेंस की एक प्रतिलिपि प्राप्त करेगे; अगर नहीं, फ्री सॉफ्टवेयर फाउंडेशन को लिखे, Inc. 59 मंदिर प्लेस, 330 सूट, बोस्टन, एमए 02111-1307, संयुक्त राज्य अमेरिका\n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "यह आखरी दृश्य प्रदर्शन है. क्या आप छोड़ना चाहते हैं?" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr " %d प्रदर्शन के लिए प्रतीक्षा कर रहा है ..." + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "%s अतिथि के लिए अज्ञात ग्राफ़िक प्रकार" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "सश से कनेक्ट करने में विफल." + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "चैनल से कनेक्ट नहीं हो सकता, केवल सश समर्थित." + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr " चैनल से कनेक्ट करना असहायक" + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "ग्राफ़िक सर्वर से कनेक्ट हो रहा है." + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "अतिथि के डोमेन को शटडाउन किया है" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "ग्राफ़िक सर्वर से जुड़ा" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "%s ग्राफ़िक सर्वर से कनेक्ट करने में असमर्थ" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "%s पर दूरस्थ डेस्कटॉप सर्वर के साथ सत्यापन करने में असमर्थ : %s\nफिर से कनेक्शन पुन: प्रयास करें?" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "दूरस्थ डेस्कटॉप सर्वर के साथ सत्यापन करने में असमर्थ : %s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "यूएसबी पुनर्निर्देशन त्रुटि : %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "सत्यापन की आवश्यकता" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "कूटशब्द:" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "उपयोगकर्ता नाम:" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "लेबल" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s संस्करण %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "लिब्विर्ट का उपयोग करके स्थानीय डिस्प्ले का संलग्न करें" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "हाइपरविजर से कनेक्ट करें" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "डोमेन को प्रारंभ करने के लिए प्रतीक्षा करें" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "पुनः आरंभ होने पर डोमेन को फिर से जुड़ें" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "पूर्ण स्क्रीन मोड में खोलें" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "वर्चुअल व्यूअर" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "- वर्चुअल मशीन आलेखी कंसोल" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\nप्रयोग: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "पुनर्निर्देशन के लिए यूएसबी उपकरणों का चयन करें" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "असहायक सत्यापन के प्रकार %d" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "डिस्कनेक्ट करें" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "यूएसबी उपकरण चयन" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "फुल स्क्रीन छोड़ दें" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "अतिथि डोमेन को फिर से प्रारंभ करने के लिए प्रतीक्षा करे " + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "%s अतिथि के लिए ग्राफ़िक प्रकार निर्धारित नहीं कर सकते है " + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "%s अतिथि के लिए ग्राफ़िक पता निर्धारित नहीं कर सकते है " + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "%s अतिथि के लिए होस्ट का निर्धारण नहीं कर सकते है " + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "अतिथि डोमेन को खोज रहा है " + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "अतिथि डोमेन बनाई जाने प्रतीक्षा के लिए की जा रही है" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "अतिथि डोमेन %s नहीं पा सकता है" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "अतिथि डोमेन की स्थिति की जाँच हो रही है" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr " अतिथि डोमेन शुरू करने के लिए प्रतीक्षा की जा रही है " + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "अतिथि डोमेन सर्वर को शुरू करने के लिए प्रतीक्षा कर रहा है" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "URI %s के साथ libvirt से कनेक्ट करने में असमर्थ" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "कुछ नहीं" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "स्वतः आकार परिवर्तन" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Ctrl+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Ctrl+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Ctrl+Alt+F1_0" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Ctrl+Alt+F_1" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Ctrl+Alt+F_2" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Ctrl+Alt+F_3" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Ctrl+Alt+F_4" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Ctrl+Alt+F_5" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Ctrl+Alt+F_6" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Ctrl+Alt+F_7" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Ctrl+Alt+F_8" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Ctrl+Alt+F_9" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Ctrl+Alt+_Backspace" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Ctrl+Alt+_Del" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "प्रदर्शित करे " + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "फुल स्क्रीन" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "रिलीज कर्सर" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "स्क्रीनशॉट" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "स्मार्टकार्ड प्रवेश" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "स्मार्टकार्ड हटाना" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "फाइल (_F)" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "सहायता (_H)" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "प्रिंटस्क्रीन (_P)" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "कुंजी भेजें (_S)" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "दृश्य (_V)" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "ज़ूम (_Z)" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/hu.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/hu.po new file mode 100644 index 0000000..15300f1 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/hu.po @@ -0,0 +1,558 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Nikolas Slivka <snicore@gmail.com>, 2010. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Hungarian <trans-hu@lists.fedoraproject.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: hu\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "Futtatás" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "" + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "" + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "" + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "" + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "" + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "" + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s verzió %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\nHasználata: %s [OPCIÓK] DOMAIN-NAME|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr "" + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "A %s címmel nem tudott csatlakozni a libvirthez" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[nincs]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/id.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/id.po new file mode 100644 index 0000000..f769798 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/id.po @@ -0,0 +1,557 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Indonesian <trans-id@lists.fedoraproject.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: id\n" +"Plural-Forms: nplurals=1; plural=0\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "" + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "" + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "" + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "" + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "" + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "" + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr "" + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/it.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/it.po new file mode 100644 index 0000000..f0fe2f5 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/it.po @@ -0,0 +1,561 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Francesco Tombolini <tombo@adamantio.net>, 2010. +# <fvalen@redhat.com>, 2012. +# Gianluca Sforna <giallu@fedoraproject.org>, 2010. +# silvio pierro <perplesso82@gmail.com>, 2012. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Italian <trans-it@lists.fedoraproject.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: it\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "Sorgente" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "Il sorgente dell'associazione" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "Target" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "Il target dell'associazione" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "Proprietà sorgente" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "La proprietà sul sorgente da associare" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "Proprietà del target" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "La proprietà sul target da associare" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "Flag" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "I flag per l'associazione" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "versione del visualizzatore-remoto %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "Esegui '" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "Mostra informazioni sulla versione" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "Mostra informazioni verbose" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "Connessione diretta con nessun tunnel automatico" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "Livello di zoom della finestra, in percentuale" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "Mostra le informazioni di debugging" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "Apri collegamento usando una comunicazione SPICE" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "- Client visualizzatore remoto" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "Il livello di zoom deve essere tra 10-200\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "Inizializzazione connessione fallita" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "Mostra disabilitato dal controller" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "Connessione controller fallita: %s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "Impossibile creare una sessione di Spice" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "Impostazione sessione Spice in corso..." + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "Impossibile determinare il tipo di connessione da URI" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "Impossibile creare una sessione per questo tipo: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "Un client desktop remoto creato con GTK-VNC, SPICE-GTK e libvirt" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "Informazioni su Glade" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "Copyright (C) 2007-2012 Daniel P. Berrange\nCopyright (C) 2007-2012 Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "Il Fedora Translation Team" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "Questo programma è un sofware libero, è possibile ridistribuirlo e/o modificarlo in conformità alle disposizioni della GNU General Public License come viene pubblicata dalla Free Software Foundation; versione 2 della licenza o (a scelta) tutte le versioni successive.\n\nQuesto programma è distribuito nella speranza che possa essere utile, ma SENZA ALCUNA GARANZIA, e senza garanzia implicita di COMMERCIALIZZAZIONE o di ADATTAMENTO AD UNO SCOPO PARTICOLARE. Per maggiori dettagli consultare la GNU General Public License.\n\nInsieme a questo programma deve essere fornita una copia della GNU General Public License; in caso contrario scrivere alla Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "Questo è l'ultimo display visibile. Si desidera uscire?" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "In attesa del display %d..." + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "Impossibile determinare il tipo grafico per il guest %s" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "Connessione a ssh fallita." + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "Impossibile connettersi al canale, è supportato solo SSH." + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "Connessione al canale non supportata." + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "Connessione al server grafico in corso" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "Il dominio del guest si è arrestato" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "Connesso al server grafico" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "Impossibile connettersi al server grafico %s" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "Impossibile eseguire l'autenticazione con il server desktop remoto su %s: %s\nRiprovare il collegamento?" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "Impossibile eseguire l'autenticazione con il server desktop remoto su: %s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "Errore di reindirizzamento USB: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "Autenticazione necessaria" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "Password:" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "Nome utente:" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "etichetta" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s versione %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "Allega al display locale usando libvirt" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "Connetti con l'hypervisor" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "Attendi l'avvio del dominio" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "Riconnetti con il dominio previo riavvio" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "Apri in modalità schermo intero" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "Virt Viewer" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "- Console grafica della virtual machine" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\nUtilizzo: %s [OPZIONI] NOME-DOMINIO|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "Seleziona i dispositivi USB per il reindirizzamento" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "Tipo di autenticazione %d non supportata" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "Scollega" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "Selezione dispositivo USB" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "Lascia a schermo intero" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "In attesa del riavvio del dominio guest" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "Impossibile determinare il tipo grafico per il guest %s" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "Impossibile determinare l'indirizzo grafico per il guest %s" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "Impossibile determinare l'host per il guest %s" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "Ricerca dominio guest in corso" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "In attessa di una creazione del dominio guest" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "Impossibile trovare il dominio guest %s" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "Controllo stato del dominio guest in corso" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "In attesa dell'avvio del dominio guest" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "In attesa che il dominio guest avvii il server" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "Impossibile connettersi a libvirt con la URI %s" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[nessuno]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "Ridimensiona automaticamente" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Ctrl+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Ctrl+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Ctrl+Alt+F1_0" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Ctrl+Alt+F_1" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Ctrl+Alt+F_2" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Ctrl+Alt+F_3" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Ctrl+Alt+F_4" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Ctrl+Alt+F_5" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Ctrl+Alt+F_6" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Ctrl+Alt+F_7" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Ctrl+Alt+F_8" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Ctrl+Alt+F_9" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Ctrl+Alt+_Backspace" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Ctrl+Alt+_Del" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "Display" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "Schermo intero" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "Rilascia il cursore" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "Schermata" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "Inserimento Smartcard" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "Rimozione Smartcard" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "_File" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "_Aiuto" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "_StampaSchermata" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "_Invia chiave" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "_Visualizza" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "_Zoom" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/ja.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/ja.po new file mode 100644 index 0000000..a03f719 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/ja.po @@ -0,0 +1,560 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Hajime Taira <htaira@redhat.com>, 2012. +# Kiyoto Hashida <khashida@redhat.com>, 2010. +# Tomoyuki KATO <tomo@dream.daynight.jp>, 2012. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Japanese <trans-ja@lists.fedoraproject.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ja\n" +"Plural-Forms: nplurals=1; plural=0\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "ソース" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "バインディングのソース" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "ターゲット" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "バインディングのターゲット" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "ソースのプロパティー" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "バインドするソースのプロパティー" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "ターゲットのプロパティー" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "バインドするターゲットのプロパティー" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "フラグ" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "バインディングのフラグ" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "remote-viewer バージョン %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "実行" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "バージョン情報の表示します" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "詳細情報の表示します" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "自動的にトンネリングせず直接接続する" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "ウィンドウのズームレベル(パーセント単位)" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "デバッグ情報の表示" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "Spice コントローラー通信を使用して接続を開く" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "- リモートビューアークライアント" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "ズームレベルは 10-200 の範囲内でなければいけません\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "接続の初期化に失敗しました" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "ディスプレイがコントローラーにより無効化されました" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "コントローラーの接続に失敗しました: %s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "Spice セッションを作成できませんでした" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "Spice セッションのセットアップ中..." + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "URI から接続の種類を決定できません" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "この種類のセッションを作成できませんでした: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "GTK-VNC, SPICE-GTK および libvirt でビルドされたリモートデスクトップクライアント" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "Glade について" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "Copyright (C) 2007-2012 Daniel P. Berrange\nCopyright (C) 2007-2012 Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "The Fedora Translation Team" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "This program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "これは表示可能な最後のディスプレイです。本当に終了しますか?" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "ディスプレイ %d を待機中..." + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "仮想マシン %s のグラフィックの種類が未知の種類です" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "SSH への接続に失敗しました。" + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "チャンネルに接続できません、SSH のみがサポートされます。" + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "サポートされないチャネルに接続します。" + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "グラフィックサーバーに接続中" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "仮想マシンがシャットダウンしました" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "グラフィックサーバーに接続" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "グラフィックサーバー %s に接続できません" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "%s のリモートデスクトップサーバーに認証できません: %s\n再び接続を試行しますか?" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "リモートデスクトップサーバーに認証できません: %s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "USB リダイレクトエラー: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "認証が必要です" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "パスワード:" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "ユーザー名:" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "ラベル" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%sバージョン %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "libvirt を使用してローカルディスプレイに接続" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "ハイパーバイザーに接続" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "仮想マシンの起動を待つ" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "再起動時に仮想マシンに再接続" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "フルスクリーンモードで開く" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "仮想マシンビューアー" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "- 仮想マシングラフィカルコンソール" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\n使用法: %s [オプション] ドメイン名|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "リダイレクトする USB デバイスを選択" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "サポートしていない認証の種類 %d" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "切断" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "USB デバイスの選択" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "フルスクリーンの解除" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "仮想マシンが再起動するのを待機中" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "仮想マシン %s のグラフィックの種類を決定できません" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "仮想マシン %s のグラフィックのアドレスを決定できません" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "仮想マシン %s のホストを決定できません" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "仮想マシンを検索中" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "仮想マシンが作成されるのを待機中" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "ゲスト %s が見付かりません" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "仮想マシンの状態を確認中" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "ゲストドメインが開始するのを待機中" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "ゲストドメインがサーバーを開始するのを待機中" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "URI %s で libvirt に接続できません" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[なし]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "自動的に画面サイズを変更" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Ctrl+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Ctrl+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Ctrl+Alt+F10(_0)" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Ctrl+Alt+F1(_1)" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Ctrl+Alt+F2(_2)" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Ctrl+Alt+F3(_3)" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Ctrl+Alt+F4(_4)" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Ctrl+Alt+F5(_5)" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Ctrl+Alt+F6(_6)" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Ctrl+Alt+F7(_7)" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Ctrl+Alt+F8(_8)" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Ctrl+Alt+F9(_9)" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Ctrl+Alt+Backspace(_B)" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Ctrl+Alt+Del(_D)" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "ディスプレイ" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "フルスクリーン" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "カーソルの開放" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "スクリーンショット" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "スマートカードの挿入" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "スマートカードの抜き取り" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "ファイル(_F)" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "ヘルプ(_H)" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "PrintScreen(_P)" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "キーを送信(_S)" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "表示(_V)" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "ズーム(_Z)" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/kn.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/kn.po new file mode 100644 index 0000000..758dec8 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/kn.po @@ -0,0 +1,558 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Shankar Prasad <svenkate@redhat.com>, 2010, 2012. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Kannada (http://www.transifex.net/projects/p/fedora/language/kn/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: kn\n" +"Plural-Forms: nplurals=1; plural=0\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "ಮೂಲ" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "ಬೈಂಡಿಂಗಿನ ಮೂಲ" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "ಗುರಿ" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "ಬೈಂಡಿಂಗಿನ ಗುರಿ" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "ಆಕರದ ಗುಣ" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "ಬೈಂಡ್‌ ಮಾಡಬೇಕಿರುವ ಮೂಲದ ಗುಣ" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "ಗುರಿಯ ಗುಣ" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "ಬೈಂಡ್‌ ಆಗಬೇಕಿರುವ ಗುರಿಯ ಗುಣ" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "ಗುರುತುಗಳು" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "ಬೈಂಡಿಂಗ್ ಫ್ಲಾಗ್‌ಗಳು" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "ದೂರದ-ವೀಕ್ಷಕದ ಆವೃತ್ತಿ %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "ಚಲಾಯಿಸಿ '" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "ಪ್ರದರ್ಶನ ಆವೃತ್ತಿ ಮಾಹಿತಿ" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "ವರ್ಬೋಸ್ ಮಾಹಿತಿಯನ್ನು ತೋರಿಸು" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "ಯಾವುದೆ ಸ್ವಯಂಚಾಲಿತ ಟನಲ್‌ಗಳ ನೇರವಾದ ಸಂಪರ್ಕ " + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "ಕಿಟಕಿಯ ಗಾತ್ರ ಬದಲಾವಣೆ, ಪ್ರತಿಶತದಲ್ಲಿ" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "ದೋಷನಿದಾನ ಮಾಹಿತಿಯನ್ನು ತೋರಿಸು" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "ಸ್ಪೈಸ್ ನಿಯಂತ್ರಣ ವ್ಯವಹಾರವನ್ನು ಬಳಸಿಕೊಂಡು ಸಂಪರ್ಕವನ್ನು ತೆರೆ" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "- ದೂರದ ವೀಕ್ಷಕದ ಆವೃತ್ತಿ" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "ಗಾತ್ರ ಬದಲಾವಣೆ ಮಟ್ಟವು 10-200ರ ನಡುವೆ ಇರಬೇಕು\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "ಸಂಪರ್ಕವನ್ನು ಆರಂಭಿಸುವಲ್ಲಿ ವಿಫಲಗೊಂಡಿದೆ" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "ನಿಯಂತ್ರಕದಿಂದ ಪ್ರದರ್ಶಕವನ್ನು ನಿಷ್ಕ್ರಿಯಗೊಳಿಸಲಾಗಿದೆ" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "ನಿಯಂತ್ರಕದ ಸಂಪರ್ಕವು ವಿಫಲಗೊಂಡಿದೆ: %s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "ಸ್ಪೈಸ್ ಅಧಿವೇಶನವನ್ನು ರಚಿಸಲು ಸಾಧ್ಯವಾಗಿಲ್ಲ" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "ಸ್ಪೈಸ್ ಅಧಿವೇಶನವನ್ನು ಸಿದ್ಧಗೊಳಿಸಲಾಗುತ್ತಿದೆ..." + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "URI ಇಂದ ಸಂಪರ್ಕದ ಬಗೆಯನ್ನು ನಿರ್ಧರಿಸಲು ಸಾಧ್ಯವಾಗಿಲ್ಲ" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "ಈ ಬಗೆಗಾಗಿ ಒಂದು ಅಧಿವೇಶನವನ್ನು ರಚಿಸಲು ಸಾಧ್ಯವಾಗಿಲ್ಲ:%s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "GTK-VNC, SPICE-GTK ಮತ್ತು libvirt ನೊಂದಿಗೆ ನಿರ್ಮಿಸಲಾದ ದೂರಸ್ಥ ಗಣಕತೆರೆ ಕ್ಲೈಂಟ್" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "ಗ್ಲೇಡ್ ಕುರಿತು" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "ಹಕ್ಕು (C) 2007-2012 Daniel P. Berrange\nಹಕ್ಕು (C) 2007-2012 Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "ಫೆಡೋರ ಟ್ರಾನ್ಸಲೇಶನ್ ಟೀಮ್" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "This program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "ಇದು ಕೊನೆಯ ಗೋಚರಿಸುವ ಪ್ರದರ್ಶಕ. ನೀವು ನಿರ್ಗಮಿಸಲು ಬಯಸುವಿರಾ?" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "%d ಪ್ರದರ್ಶಕಕ್ಕಾಗಿ ಕಾಯಲಾಗುತ್ತಿದೆ..." + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "%s ಅತಿಥಿಗಾಗಿ ಗೊತ್ತಿರದ ಗ್ರಾಫಿಕ್ ಬಗೆ" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "ssh ಗೆ ಸಂಪರ್ಕವು ವಿಫಲಗೊಂಡಿದೆ." + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "ಚಾನಲ್‌ನೊಂದಿಗೆ ಸಂಪರ್ಕಸಾಧಿಸಲು ಸಾಧ್ಯವಾಗಿಲ್ಲ, SSH ಅನ್ನು ಮಾತ್ರ ಬೆಂಬಲಿಸಲಾಗುತ್ತದೆ." + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "ಚಾನಲ್‌ನೊಂದಿಗೆ ಸಂಪರ್ಕಸಾಧಿಸುವುದನ್ನು ಬೆಂಬಲಿಸಲಾಗುತ್ತದೆ." + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "ಗ್ರಾಫಿಕ್ ಪೂರೈಕೆಗಣಕದೊಂದಿಗೆ ಸಂಪರ್ಕಸಾಧಿಸಲಾಗುತ್ತಿದೆ" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "ಅತಿಥಿ ಡೊಮೈನ್ ಅನ್ನು ಸ್ಥಗಿತಗೊಳಿಸಲಾಗಿದೆ" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "ಗ್ರಾಫಿಕ್ ಪೂರೈಕೆಗಣಕದೊಂದಿಗೆ ಸಂಪರ್ಕಿತಗೊಂಡಿದೆ" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "%s ಎಂಬ ಗ್ರಾಫಿಕ್ ಪೂರೈಕೆಗಣಕದೊಂದಿಗೆ ಸಂಪರ್ಕಿತಗೊಂಡಿದೆ" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "%s ನಲ್ಲಿನ ದೂರದ ಗಣಕತೆರೆ ಪೂರೈಕೆಗಣಕದೊಂದಿಗೆ ದೃಢೀಕರಿಸಲು ಸಾಧ್ಯವಾಗಿಲ್ಲ: %s\nಸಂಪರ್ಕಕ್ಕಾಗಿ ಇನ್ನೊಮ್ಮೆ ಪ್ರಯತ್ನಿಸಬೇಕೆ?" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "ದೂರದ ಗಣಕತೆರೆ ಪೂರೈಕೆಗಣಕದೊಂದಿಗೆ ದೃಢೀಕರಿಸಲು ಸಾಧ್ಯವಾಗಿಲ್ಲ: %s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "USB ಮರುನಿರ್ದೇಶನ ದೋಷ: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "ದೃಢೀಕರಣದ ಅಗತ್ಯವಿದೆ" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "ಗುಪ್ತಪದ:" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "ಬಳಕೆದಾರ ಹೆಸರು:" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "ಲೇಬಲ್" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s ಆವೃತ್ತಿ %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "libvirt ಅನ್ನು ಬಳಸಿಕೊಂಡು ಸ್ಥಳೀಯ ಪ್ರದರ್ಶಕಕ್ಕೆ ಲಗತ್ತಿಸು" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "ಹೈಪರ್ವೈಸರಿನೊಂದಿಗೆ ಸಂಪರ್ಕ ಕಲ್ಪಿಸು" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "ಡೊಮೈನ್ ಆರಂಭಗೊಳ್ಳುವವರೆಗೆ ನಿರೀಕ್ಷಿಸು" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "ಮರಳಿ ಆರಂಭಗೊಂಡ ನಂತರ ಮರಳಿ ಸಂಪರ್ಕ ಜೋಡಿಸು" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "ಪೂರ್ಣ ತೆರೆ ಕ್ರಮದಲ್ಲಿ ತೆರೆ" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "Virt Viewer" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "- ವರ್ಚುವಲ್ ಗಣಕದ ಚಿತ್ರಾತ್ಮಕ ಕನ್ಸೋಲ್" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\nಬಳಕೆ: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "ಮರುನಿರ್ದೇಶನಕ್ಕಾಗಿ USB ಸಾಧನಗಳನ್ನು ಆರಿಸಿ" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "ಬೆಂಬಲವಿರದ ದೃಢೀಕರಣದ ಬಗೆ %d" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "ಸಂಪರ್ಕ ಕಡಿದುಹಾಕು" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "USB ಸಾಧನವನ್ನು ಆರಿಸುವಿಕೆ" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "ಪೂರ್ಣತೆರೆಯಿಂದ ನಿರ್ಗಮಿಸು" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "ಅತಿಥಿ ಡೊಮೈನ್ ಮರಳಿ-ಆರಂಭಗೊಳ್ಳಲು ಕಾಯಲಾಗುತ್ತಿದೆ" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "%s ಎಂಬ ಅತಿಥಿಗಾಗಿ ಗ್ರಾಫಿಕ್‌ನ ಬಗೆಯನ್ನು ನಿರ್ಧರಿಸಲು ಸಾಧ್ಯವಾಗಿಲ್ಲ" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "%s ಎಂಬ ಅತಿಥಿಗಾಗಿ ಗ್ರಾಫಿಕ್‌ನ ವಿಳಾಸವನ್ನು ನಿರ್ಧರಿಸಲು ಸಾಧ್ಯವಾಗಿಲ್ಲ" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "%s ಎಂಬ ಅತಿಥಿಗಾಗಿ ಆತಿಥೇಯವನ್ನು ನಿರ್ಧರಿಸಲು ಸಾಧ್ಯವಾಗಿಲ್ಲ" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "ಅತಿಥಿ ಡೊಮೈನ್ ಅನ್ನು ಪತ್ತೆ ಮಾಡಲಾಗುತ್ತಿದೆ" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "ಅತಿಥಿ ಡೊಮೈನ್ ನಿರ್ಮಾಣಗೊಳ್ಳಲು ಕಾಯಲಾಗುತ್ತಿದೆ" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "ಅತಿಥಿ ಡೊಮೈನ್ %s ಕಂಡುಬಂದಿಲ್ಲ" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "ಅತಿಥಿ ಡೊಮೈನ್ ಸ್ಥಿತಿಯನ್ನು ಪರಿಶೀಲಿಸಲಾಗುತ್ತಿದೆ" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "ಅತಿಥಿ ಡೊಮೈನ್ ಮರಳಿ-ಆರಂಭಗೊಳ್ಳಲು ಕಾಯಲಾಗುತ್ತಿದೆ" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "ಅತಿಥಿ ಡೊಮೈನ್ ಪೂರೈಕೆಗಣಕವನ್ನು ಆರಂಭಿಸುವವರೆಗೆ ಕಾಯಲಾಗುತ್ತಿದೆ" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "URI %s ಯೊಂದಿಗೆ libvirt ಗೆ ಸಂಪರ್ಕ ಸಾಧಿಸಲು ಸಾಧ್ಯವಾಗಿಲ್ಲ" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[ಯಾವುದೂ ಇಲ್ಲ]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "ಸ್ವಯಂಚಾಲಿತವಾಗಿ ಮರುಗಾತ್ರಿಸು" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Ctrl+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Ctrl+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Ctrl+Alt+F1_0" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Ctrl+Alt+F_1" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Ctrl+Alt+F_2" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Ctrl+Alt+F_3" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Ctrl+Alt+F_4" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Ctrl+Alt+F_5" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Ctrl+Alt+F_6" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Ctrl+Alt+F_7" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Ctrl+Alt+F_8" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Ctrl+Alt+F_9" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Ctrl+Alt+_Backspace" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Ctrl+Alt+_Del" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "ಪ್ರದರ್ಶಕಗಳು" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "ಪೂರ್ಣ ತೆರೆ" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "ತೆರೆಸೂಚಕವನ್ನು ಮುಕ್ತಗೊಳಿಸು" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "ತೆರೆಚಿತ್ರ" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "ಸ್ಮಾರ್ಟ್ ಕಾರ್ಡ್ ಸೇರಿಸುವಿಕೆ" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "ಸ್ಮಾರ್ಟ್ ಕಾರ್ಡ್ ತೆಗೆದುಹಾಕುವಿಕೆ" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "ಕಡತ (_F)" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "ನೆರವು (_H)" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "ತೆರೆಯನ್ನು ಮುದ್ರಿಸು (_P)" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "ಕಳುಹಿಸುವ ಕೀಲಿ (_S)" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "ನೋಟ (_V)" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "ಹಿಗ್ಗಿಸು/ಕುಗ್ಗಿಸು (_Z)" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/ko.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/ko.po new file mode 100644 index 0000000..8b9b2f0 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/ko.po @@ -0,0 +1,560 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Automatically generated, 2010. +# Eun-Ju Kim <eukim@redhat.com>, 2012. +# Hyunsok Oh <hoh@redhat.com>, 2010. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Korean (http://www.transifex.net/projects/p/fedora/language/ko/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ko\n" +"Plural-Forms: nplurals=1; plural=0\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "소스 " + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "바인딩 소스 " + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "대상 " + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "바인딩 대상 " + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "소스 속성 " + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "바인드할 소스 속성 " + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "대상 속성 " + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "바인드할 대상 속성 " + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "플래그 " + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "바인딩 플래그 " + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "remote-viewer 버전 %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "실행 " + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "버전 정보 보기 " + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "상세 정보 보기 " + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "자동으로 터널링하지 않고 직접 연결 " + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "윈도우의 줌 레벨 (백분율) " + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "디버그 정보 보기 " + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "Spice 컨트롤러 통신을 사용하여 연결을 오픈합니다 " + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "- 원격 뷰어 클라이언트 " + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "줌 레벨은 10-200 범위 내에 있어야 합니다\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "연결 초기화 실패 " + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "컨트롤러에 의해 디스플레이가 비활성화됨 " + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "컨트롤러 연결에 실패함: %s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "Spice 세션을 생성할 수 없음 " + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "Spice 세션 설정 중..." + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "URI에서 연결 유형을 지정할 수 없음 " + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "이러한 유형의 세션을 생성할 수 없음: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "GTK-VNC, SPICE-GTK, libvirt로 빌드된 원격 데스크톱 클라이언트 " + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "Glade에 관하여 " + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "Copyright (C) 2007-2012 Daniel P. Berrange\nCopyright (C) 2007-2012 Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "Fedora 번역팀 " + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "This program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "이것이 ë³¼ 수 있는 마지막 디스플레이 화면입니다. 정말로 종료하시겠습니까? " + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "디스플레이 %d를 기다리는 중..." + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "게스트 %s의 그래픽 유형을 알 수 없습니다 " + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "ssh 연결을 실패했습니다. " + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "채널에 연결할 수 없습니다, SSH만 지원됩니다. " + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "지원되지 않는 채널에 연결합니다. " + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "그래픽 서버에 연결 중 " + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "게스트 도메인이 종료되었습니다 " + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "그래픽 서버에 연결 " + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "그래픽 서버 %s에 연결할 수 없음 " + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "%s의 원격 데스크톱 서버에 인증할 수 없습니다: %s\n연결을 다시 시도 하시겠습니까? " + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "원격 데스크탑 서버로 인증할 수 없음: %s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "USB 리디렉션 오류: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "인증이 필요함 " + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "암호: " + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "사용자 이름 " + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "레이블 " + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s 버전 %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "libvirt를 사용하여 로컬 디스플레이에 연결 " + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "하이퍼바이저에 연결 " + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "도메인 시작을 기다립니다 " + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "다시 시작시 도메인에 다시 연결 " + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "전체 화면 모드로 열기 " + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "가상 머신 뷰어 " + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "- 가상 머신 그래픽 콘솔" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\n사용법: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "리디렉션을 위한 USB 장치 선택 " + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "지원되지 않는 인증 유형 %d" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "연결 해제 " + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "USB 장치 선택 " + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "전체 화면 해제 " + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "다시 시작할 게스트 도메인을 기다리는 중 " + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "게스트 %s의 그래픽 유형을 지정할 수 없음 " + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "게스트 %s의 그래픽 주소를 지정할 수 없음 " + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "게스트 %s의 호스트를 지정할 수 없음 " + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "게스트 도메인 검색 중 " + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "게스트 도메인이 생성되기를 기다리는 중 " + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "게스트 도메인 %s를 찾을 수 없음 " + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "게스트 도메인 상태 확인 중 " + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "시작할 게스트 도메인을 기다리는 중 " + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "서버를 시작할 게스트 도메인을 기다리는 중 " + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "URI %s로 libvirt에 연결할 수 없음 " + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[없음]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "자동 크기 조정 " + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Ctrl+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Ctrl+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Ctrl+Alt+F1_0" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Ctrl+Alt+F_1" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Ctrl+Alt+F_2" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Ctrl+Alt+F_3" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Ctrl+Alt+F_4" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Ctrl+Alt+F_5" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Ctrl+Alt+F_6" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Ctrl+Alt+F_7" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Ctrl+Alt+F_8" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Ctrl+Alt+F_9" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Ctrl+Alt+Backspace(_B)" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Ctrl+Alt+Del(_D) " + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "디스플레이 " + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "전체 화면 " + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "커서 개방 " + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "스크린샷 " + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "스마트카드 삽입 " + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "스마트카드 제거 " + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "파일(_F)" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "도움말(_H) " + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "PrintScreen(_P) " + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "키 전송(_S)" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "보기(_V)" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "줌(_Z) " diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/lv.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/lv.po new file mode 100644 index 0000000..ff5017a --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/lv.po @@ -0,0 +1,557 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Latvian (http://www.transifex.net/projects/p/fedora/language/lv/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: lv\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "" + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "" + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "" + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "" + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "" + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "" + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr "" + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/ml.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/ml.po new file mode 100644 index 0000000..97d5770 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/ml.po @@ -0,0 +1,558 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Ani Peter <apeter@redhat.com>, 2010, 2012. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Malayalam <discuss@lists.smc.org.in>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ml\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "ശ്രോതസ്സ്" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "ബൈന്‍ഡിങിനുള്ള ശ്രോതസ്സ്" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "ടാര്‍ഗറ്റ്" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "ബൈന്‍ഡിങിനുള്ള ടാര്‍ഗറ്റ്" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "സോഴ്സ് പ്രോപര്‍ട്ടി" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "ബൈന്‍ഡ് ചെയ്യുവാനുള്ള ശ്രോതസ്സിലുള്ള പ്രോപര്‍ട്ടി" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "ടാര്‍ഗറ്റ് പ്രോപര്‍ട്ടി" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "ബൈന്‍ഡ് ചെയ്യുന്നതിനായി ടാര്‍ഗറ്റിലുള്ള പ്രോപര്‍ട്ടി" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "ഫ്ലാഗുകള്‍" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "ബൈന്‍ഡ് ചെയ്യുന്ന ഫ്ലാഗുകള്‍" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "remote-viewer പതിപ്പു് %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "പ്രവര്‍ത്തിപ്പിക്കുക" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "പതിപ്പിനെപ്പറ്റിയുള്ള വിവരം കാണിയ്ക്കുക" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "വെര്‍ബോസ് വിവരം കാണിയ്ക്കുക" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "ഓട്ടോമാറ്റിക് ടണലുകള്‍ ഇല്ലാത്ത നേരിട്ടുള്ള കണക്ഷന്‍" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "ജാലകത്തിന്റെ സൂം ലവല്‍, ശതമാനത്തില്‍" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "ഡീബഗ്ഗിങ് വിവരം കാണിയ്ക്കുക" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "സ്പയിസ് കണ്ട്രോളര്‍ ആശയവിനിമയം ഉപയോഗിച്ചു് കണക്ഷന്‍ തുറക്കുക" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "- റിമോട്ട് വ്യൂവര്‍ ക്ലയന്റ്" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "സൂം ലവല്‍ 10-200 ആയിരിയ്ക്കണം\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "കണക്ഷന്‍ ആരംഭിയ്ക്കുന്നതില്‍ പരാജയം" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "കണ്ട്രോളര്‍ പ്രദര്‍ശനം പ്രവര്‍ത്തന രഹിതമാക്കിയിരിയ്ക്കുന്നു" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "കണ്ട്രോളറിനുള്ള കണക്ഷന്‍ പരാജയപ്പെട്ടു: %s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "ഒരു സ്പയിസ് സെഷന്‍ തയ്യാറാക്കുവാന്‍ സാധ്യമല്ല" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "സ്പയിസ് സെഷന്‍ സജ്ജമാക്കുന്നു..." + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "യുആര്‍ഐയില്‍ നിന്നും കണക്ഷന്‍ രീതി കണ്ടുപിടിയ്ക്കുവാന്‍ സാധ്യമല്ല" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "ഈ തരത്തിനുള്ളൊരു സെഷന്‍ തയ്യാറാക്കുവാന്‍ സാധ്യമല്ല: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "GTK-VNC, SPICE-GTK, libvirt എന്നിവ ഉപയോഗിച്ചുള്ളൊരു റിമോട്ട് ഡസ്ക്ടോപ്പ് ക്ലയന്റ്" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "ഗ്ലേഡിനെപ്പറ്റി" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "പകര്‍പ്പവകാശം (C) 2007-2012 Daniel P. Berrange\nപകര്‍പ്പവകാശം (C) 2007-2012 Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "ഫെഡോറാ പ്രാദേശികവത്കരണ സംഘം" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "ഈ പ്രോഗ്രാം സ്വതന്ത്ര സോഫ്റ്റ്‌വെയര്‍ ആകുന്നു; നിങ്ങള്‍ക്കിത് ഗ്നു ജനറല്‍ പബ്ലിക്ലൈസന്‍സിന്റെ നിബന്ധനകള്‍ പ്രകാരം (രണ്ടാം ലക്കം അല്ലെങ്കില്‍ നിങ്ങളുടെ താല്‍പര്യമനുസരിച്ച് അതിലും പുതിയ ലക്കം) വീണ്ടും വിതരണം ചെയ്യുകയോ മാറ്റം വരുത്തുകയോ ചെയ്യാം. ഫ്രീ സോഫ്റ്റ്‌വെയര്‍ ഫൌണ്ടേഷന്‍ ആണ് ഈ ലൈസന്‍സ് പ്രസിദ്ധീകരിച്ചിട്ടുള്ളത്.\n\nവളരെ ഫലപ്രദമായ പ്രോഗ്രാം എന്ന പ്രതീക്ഷയിലാകുന്നു ഈ പ്രോഗ്രാം വിതരണം ചെയ്തത്.ഇതിന് വാറന്റി ലഭ്യമല്ല. കൂടുതല്‍ വിവരങ്ങള്‍ക്കായി ഗ്നു ജനറല്‍ പബ്ളിക് ലൈസന്‍സ് കാണുക.\n\nഈ പ്രോഗ്രാമിനൊപ്പം നിങ്ങള്‍ക്ക് ഗ്നു ജനറല്‍ പബ്ലിക് ലൈസന്‍സിന്റെ ഒരു പകര്‍പ്പും ലഭിച്ചിരിക്കണം, ഇല്ലായെങ്കില്‍, ‌താഴെ പറയുന്ന മേല്‍വിലാസത്തിലേക്ക് എഴുതുക: Free Software\nFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "ഇതാണു് അവസാന ദൃശ്യം. നിങ്ങള്‍ക്കു് പുറത്തു് കടക്കണമോ?" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "%d പ്രദര്‍ശനത്തിനായി കാത്തിരിയ്ക്കുന്നു..." + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "ഗസ്റ്റ് %s-നുള്ള അപരിചിതമായ ഗ്രാഫിക് രീതി" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "ssh-ലേക്കുള്ള കണക്ഷന്‍ പരാജയപ്പെട്ടു." + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "ചാനലിലേക്കു് കണക്ട് ചെയ്യുവാന്‍ സാധ്യമല്ല, എസ്എസ്എചിനു് മാത്രം പിന്തുണ ലഭ്യമുള്ളൂ." + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "ചാനലിലേക്കുള്ള കണക്ഷനു് പിന്തുണയില്ല." + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "ഗ്രാഫിക് സര്‍വറിലേക്കു് കണക്ട് ചെയ്യുന്നു" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "ഗസ്റ്റ് ഡൊമെയിന്‍ അടച്ചുപൂട്ടിയിരിയ്ക്കുന്നു" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "ഗ്രാഫിക് സര്‍വറിലേക്കു് കണക്ട് ചെയ്തിരിയ്ക്കുന്നു" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "ഗ്രാഫിക് സര്‍വര്‍ %s-ലേക്കു് കണക്ട് ചെയ്യുവാന്‍ സാധ്യമല്ല" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "%s-ല്‍ റിമോട്ട് ഡസ്ക്ടോപ്പ് സര്‍വറിലേക്കു് ആധികാരികത ഉറപ്പാക്കുവാന്‍ സാധ്യമല്ല: %s\nവീണ്ടും ശ്രമിയ്ക്കണമോ?" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "റിമോട്ട് ഡസ്ക്ടോപ്പ് സര്‍വറിനൊപ്പം ആധികാരികത ഉറപ്പാക്കുവാന്‍ സാധ്യമല്ല: %s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "യുഎസ്ബി റീഡയറക്ഷന്‍ പിശക്: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "ആധികാരികത ഉറപ്പാക്കല്‍ ആവശ്യമുണ്ടു്" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "രഹസ്യവാക്ക്:" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "ഉപയോക്തൃനാമം:" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "ലേബല്‍" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s ലക്കം %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "libvirt ഉപയോഗിച്ചു് പ്രാദേശിക പ്രദര്‍ശനത്തിലേക്കു് ഘടിപ്പിയ്ക്കുക" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "ഹൈപ്പര്‍വൈസറിലേക്കു് കണക്ട് ചെയ്യുക" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "ആരംഭിയ്ക്കുന്നതിനായി ഡൊമെയിനുവേണ്ടി കാത്തിരിയ്ക്കുക" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "വീണ്ടും ആരംഭിയ്ക്കുമ്പോള്‍ ഡൊമെയിനിലേക്കു് വീണ്ടും കണക്ട് ചെയ്യുക" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "സ്ക്രീന്‍ പൂര്‍ണ്ണ വലിപ്പത്തില്‍ തുറക്കുക" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "വിര്‍ട്ട് വ്യൂവര്‍" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "- വിര്‍ച്ച്വല്‍ മഷീന്‍ ഗ്രാഫിക്കല്‍ കണ്‍സോള്‍" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\nUsage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "യുഎസ്ബി ഡിവൈസുകള്‍ തെരഞ്ഞെടുക്കുക" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "പിന്തുണയില്ലാത്ത ആധികാരികത ഉറപ്പാക്കല്‍ രീതി %d" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "കണക്ഷന്‍ വിഛേദിയ്ക്കുക" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "യുഎസ്ബി ഡിവൈസ് തെരഞ്ഞെടുക്കല്‍" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "പൂര്‍ണ്ണസ്ക്രീനില്‍ നിന്നും മാറുക" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "ഗസ്റ്റ് ഡൊമെയിന്‍ വീണ്ടും ആരംഭിയ്ക്കുന്നതിനായി കാത്തിരിയ്ക്കുന്നു" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "%s ഗസ്റ്റിനുള്ള ഗ്രാഫിക് രീതി കണ്ടുപിടിയ്ക്കുവാന്‍ സാധ്യമല്ല" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "%s ഗസ്റ്റിനുള്ള ഗ്രാഫിക് വിലാസം കണ്ടുപിടിയ്ക്കുവാന്‍ സാധ്യമല്ല" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "ഗസ്റ്റ് %s-നുള്ള ഹോസ്റ്റ് കണ്ടുപിടിയ്ക്കുവാന്‍ സാധ്യമല്ല" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "ഗസ്റ്റ് ഡൊമെയിന്‍ കണ്ടുപിടിയ്ക്കുന്നു" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "ഗസ്റ്റ് ഡൊമെയിന്‍ തയ്യാറാക്കുന്നതിനായി കാത്തിരിയ്ക്കുന്നു" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "ഗസ്റ്റ് ഡൊമെയിന്‍ %s ലഭ്യമാക്കുവാന്‍ സാധ്യമല്ല" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "ഗസ്റ്റ് ഡൊമെയിന്‍ അവസ്ഥ പരിശോധിയ്ക്കുന്നു" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "ഗസ്റ്റ് ഡൊമെയിന്‍ ആരംഭിയ്ക്കുന്നതിനായി കാത്തിരിയ്ക്കുന്നു" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "ഗസ്റ്റ് ഡൊമെയിന്‍ സര്‍വര്‍ ആരംഭിയ്ക്കുന്നതിനായി കാത്തിരിയ്ക്കുന്നു" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "libvrt-ലേക്ക് യുആര്‍ഐ %s ഉപയോഗിച്ചു് കണക്ട് ചെയ്യുവാന്‍ സാധ്യമല്ല" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[ഒന്നുമില്ല]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "സ്വയമായി വ്യാപ്തി മാറ്റുക" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Ctrl+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Ctrl+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Ctrl+Alt+F1_0" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Ctrl+Alt+F_1" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Ctrl+Alt+F_2" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Ctrl+Alt+F_3" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Ctrl+Alt+F_4" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Ctrl+Alt+F_5" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Ctrl+Alt+F_6" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Ctrl+Alt+F_7" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Ctrl+Alt+F_8" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Ctrl+Alt+F_9" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Ctrl+Alt+_Backspace" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Ctrl+Alt+_Del" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "പ്രദര്‍ശനങ്ങള്‍" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "സ്ക്രീന്‍ പൂര്‍ണ്ണവലിപ്പത്തില്‍" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "കര്‍സര്‍ റിലീസ് ചെയ്യുക" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "സ്ക്രീന്‍ഷോട്ട്" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "സ്മാര്‍ട്ട്കാര്‍ഡ് ഇടല്‍" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "സ്മാര്‍ട്ട്കാര്‍ഡ് നീക്കം ചെയ്യല്‍" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "_ഫയല്‍" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "_സഹായം" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "_PrintScreen" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "കീ _അയയ്ക്കുക" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "_കാഴ്ച" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "_വലുതാക്കുക" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/mr.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/mr.po new file mode 100644 index 0000000..554a645 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/mr.po @@ -0,0 +1,558 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Sandeep Shedmake <sshedmak@redhat.com>, 2010, 2012. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Marathi (http://www.transifex.net/projects/p/fedora/language/mr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: mr\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "स्रोत" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "बाइंडिंगचे स्रोत" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "लक्ष्य" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "बाइंडिंगचे लक्ष्य" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "स्रोत गुणधर्म" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "बाइंडकरण्यासाठी स्रोतवरील गुणधर्म" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "लक्ष्य गुणधर्म" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "बाइंडकरीता लक्ष्यवरील गुणधर्म" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "फ्लॅग्स्" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "बाइंडिंगसाठीचे फ्लॅग्स्" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "remote-viewer आवृत्ती %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "चालवा '" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "आवृत्तीविषयी माहिती दाखवा" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "शब्दात्मक माहिती दाखवा" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "स्वयं टनल्स् विना प्रत्यक्ष जोडणी" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "पटलाचे झूम स्तर, टक्केवारित" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "डिबगिंग माहिती दाखवत आहे" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "स्पाइस कंट्रोलर संपर्काचा वापर करून जोडणी उघडा" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "- रिमोट व्युअर क्लाएंट" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "झूम स्तर 10-200 अंतर्गत पाहिजे\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "जोडणी सुरू करण्यास अपयशी" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "कंट्रोलरतर्फे डिस्पले बंद केले" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "कंट्रोलर जोडणी अपयशी: %s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "स्पाइस सत्र निर्माण करणे अशक्य" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "स्पाइस सत्राची मांडणी अशक्य..." + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "URI पासून जोडणी प्रकार ओळखणे अशक्य" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "या प्रकारकरीता सत्र निर्माण करणे अशक्य: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "GTK-VNC, SPICE-GTK व libvirt सह रिमोट डेस्कटॉप क्लाएंट निर्मीत केले" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "ग्लेड विषयी" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "सर्वहक्काधिकार (C) 2007-2012 Daniel P. Berrange\nसर्वहक्काधिकार (C) 2007-2012 Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "Fedora भाषांतरन गट" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "This program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "हे शेवटचे दृष्यास्पद डिस्पले आहे. तुम्हाला येथून बाहेर पडायचे?" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "डिस्पले %d करीता प्रतिक्षा करत आहे..." + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "अतिथी %s करीता अपरिचीत ग्राफिक प्रकार" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "ssh सह जोडणी अपयशी." + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "वाहिनीसह जोडणी करणे अशक्य, SSH फक्त याकरीता समर्थन पुरवतो." + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "वाहिनीसह जोडणी असमर्थीत आहे." + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "ग्राफिक सर्व्हरसह जोडणी करत आहे" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "अतिथी डोमैन बंद झाले" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "ग्राफिक सर्व्हरसह जोडणी केली" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "ग्राफिक सर्व्हर %s सह जोडणी अशक्य" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "%s: %s येथे रिमोट डेस्कटॉप सर्व्हरसह ओळख पटवणे अशक्य\nजोडणीकरीता पुन्हा प्रयत्न करायचे?" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "रिमोट डेस्कटॉप सर्व्हरसह ओळख पटवणे अशक्य: %s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "USB पुनःनिर्देशन त्रुटी: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "ओळख पटवणे आवश्यक" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "पासवर्ड:" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "वापरकर्तानाव:" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "लेबल" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s आवृत्ती %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "libvirt चा वापर करून स्थानीय डिस्पलेसह जोडणी करा" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "हायपरवाइजरसह जोडणी करा" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "डोमैन सुरू होण्याकरीता वाट पहा" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "पुनःसुरू केल्यानंतर डोमैनसह पुनःजोडणी करा" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "पूर्ण पडदाभर मोडमध्ये उघडा" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "वर्ट व्युअर" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "- वर्च्युअल मशीन ग्राफिकल कंसोल" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\nवापर: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "रिडायरेक्शनकरीता USB साधने पसंत करा" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "असमर्थीत ओळखपटवणे प्रकार %d" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "जोडणी खंडीत करा" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "USB साधनची निवड" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "पडदाभर सोडा" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "अतिथी डोमैनला पुनःसुरू करण्यासाठी वाट पहात आहे" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "अतिथी %s करीता ग्राफिक प्रकार ओळखणे अशक्य" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "अतिथी %s करीता ग्राफिक ॲड्रेस ओळखणे अशक्य" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "अतिथी %s करीता यजमान ओळखणे अशक्य" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "अतिथी डोमैन शोधत आहे" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "अतिथी डोमैन निर्माण करण्यास वाट पहात आहे" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "अतिथी क्षेत्र %s शोधणे अशक्य" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "अतिथी डोमैन स्थिती तपासत आहे" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "अतिथी डोमैनला पुनःसुरू करण्यास वाट पहात आहे" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "अतिथी डोमैनला पुनःसुरू करण्यास वाट पहात आहे" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "URI %s सह libvirt शी जोडणी करणे अशक्य" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[काहिच नाही]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "स्वयं पुनःआकार द्या" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Ctrl+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Ctrl+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Ctrl+Alt+F10 (_0)" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Ctrl+Alt+F1 (_1)" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Ctrl+Alt+F2 (_2)" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Ctrl+Alt+F3 (_3)" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Ctrl+Alt+F4 (_4)" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Ctrl+Alt+F5 (_5)" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Ctrl+Alt+F6 (_6)" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Ctrl+Alt+F7 (_7)" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Ctrl+Alt+F8 (_8)" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Ctrl+Alt+F9 (_9)" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Ctrl+Alt+Backspace (_B)" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Ctrl+Alt+Del (_D)" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "डिस्प्लेज्" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "पडदाभर" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "रिलिज् कर्सर" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "स्क्रीनशॉट" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "स्मार्टकार्ड अंतर्भुत करणे" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "स्मार्टकार्ड काढून टाकणे" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "फाइल (_F)" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "मदत (_H)" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "प्रिंटस्क्रिन (_P)" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "सेंड कि (_S)" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "अवलोकन (_V)" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "झूम करा (_Z)" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/nl.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/nl.po new file mode 100644 index 0000000..1c80670 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/nl.po @@ -0,0 +1,558 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Geert Warrink <geert.warrink@onsnet.nu>, 2010, 2011. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Dutch (http://www.transifex.net/projects/p/fedora/language/nl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: nl\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "Uitvoeren '" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "Zoom niveau in percentage van het venster" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "" + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "" + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "" + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "Onbekend grafisch type voor de gast %s" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "Verbinden met ssh mislukte." + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "Kan geen verbinding maken met kanaal, alleen SSH wordt ondersteund" + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "Verbinding maken met kanaal wordt niet ondersteund." + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "Ka niet verbinden met de grafische server %s" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s versie %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "- Virtuele machine grafische console" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\nGebruik: %s [OPTIES] DOMEIN-NAAM|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr "" + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "Kan het grafische type voor de gast %s niet bepalen" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "Kan het grafische adres voor de gast %s niet bepalen" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "Kan de host voor de gast %s niet bepalen" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "Kan gast domein %s niet vinden" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "Kan niet verbinden met libvirt met URI %s" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[geen]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/or.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/or.po new file mode 100644 index 0000000..70f0c0d --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/or.po @@ -0,0 +1,558 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Manoj Kumar Giri <mgiri@redhat.com>, 2010, 2012. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Oriya (http://www.transifex.net/projects/p/fedora/language/or/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: or\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "ମୂଳ" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "ବନ୍ଧନର ଉତ୍ସ" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "ଲକ୍ଷ୍ଯ" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "ବନ୍ଧନର ଲକ୍ଷ୍ଯ" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "ଉତ୍ସ ଗୁଣଧର୍ମ" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "ବାନ୍ଧିବା ପାଇଁ ଉତ୍ସରେ ଥିବା ଗୁଣଧର୍ମ" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "ଲକ୍ଷ୍ଯର ଗୁଣଧର୍ମ" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "ବାନ୍ଧିବା ପାଇଁ ଲକ୍ଷ୍ୟର ଗୁଣଧର୍ମ" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "ପତାକାଗୁଡିକ" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "ବନ୍ଧନ ପତାକାଗୁଡ଼ିକ" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "remote-viewer ସଂସ୍କରଣ %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "ଚଲାନ୍ତୁ '" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "ସଂସ୍କରଣ ସୂଚନା ଦେଖାନ୍ତୁ" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "ଶବ୍ଦାଡ଼ମ୍ବରପୂର୍ଣ୍ଣ ସୂଚନା ଦର୍ଶାନ୍ତୁ" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "ସ୍ୱୟଂଚାଳିତ ଟନେଲ ବିନା ସିଧାସଳଖ ସଂଯୋଗ" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "ୱିଣ୍ଡୋର ଆକାର ବୃଦ୍ଧି ସ୍ତର, ଶତକଡ଼ାରେ" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "ତ୍ରୁଟିନିବାରଣ ସୂଚନା ଦର୍ଶାନ୍ତୁ" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "ସ୍ପାଇସ ନିୟନ୍ତ୍ରକ ଯୋଗାଯୋଗ ମାଧ୍ଯମରେ ସଂଯୋଗକୁ ଖୋଲନ୍ତୁ" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "- ସୁଦୂର ପ୍ରଦର୍ଶକ କ୍ଲାଏଣ୍ଟ " + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "ଆକାର ବୃଦ୍ଧି ସ୍ତର ନିଶ୍ଚିତ ଭାବରେ 10-200 ମଧ୍ଯରେ ରହିବା ଉଚିତ\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr " ସଂଯୋଗ ଆରମ୍ଭ କରିବାରେ ବିଫଳ" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "ନିୟନ୍ତ୍ରକ ଦ୍ୱାରା ପ୍ରଦର୍ଶନୀ ନିଷ୍କ୍ରିୟ ହୋଇଛି" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "ନିୟନ୍ତ୍ରକ ସଂଯୋଗ ଅସଫଳ ହେଲା:%s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "ସ୍ପାଇସ ଅଧିବେଶନ ପ୍ରସ୍ତୁତ ହୋଇପାରିଲା ନାହିଁ" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "ସ୍ପାଇସ ଅଧିବେଶନ ସେଟ କରୁଅଛି..." + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "URI ରୁ ସଂଯୋଗ ପ୍ରକାରକୁ ନିର୍ଦ୍ଧାରଣ କରିପାରିବେ ନାହିଁ" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "ଏହି ପ୍ରକାର ପାଇଁ ସ୍ପାଇସ ଅଧିବେଶନ ପ୍ରସ୍ତୁତ ହୋଇପାରିଲା ନାହିଁ: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "GTK-VNC, SPICE-GTK ଏବଂ libvirt ସହାୟତାରେ ଏକ ସୁଦୂର ଡେସ୍କଟପ କ୍ଲାଏଣ୍ଟ ପ୍ରସ୍ତୁତ ହୋଇଛି" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "ଗ୍ଲେଡ ବିଷୟରେ" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "Copyright (C) 2007-2012 Daniel P. Berrange\nCopyright (C) 2007-2012 Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "Fedora ଅନୁବାଦନ ଗୋଷ୍ଠି" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "This program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "ଏହା ହେଉଛି ଅନ୍ତିମ ଦୃଶ୍ୟମାନ ପ୍ରଦର୍ଶନୀ। ଆପଣ ବିଦାୟ ନେବାକୁ ଚାହୁଁଛନ୍ତି କି?" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "%d କୁ ଅପେକ୍ଷା କରିଅଛି..." + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "ଅତିଥି %s ପାଇଁ ଅଜ୍ଞାତ ଲେଖାଚିତ୍ର ପ୍ରକାର" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "ssh ସହିତ ସଂଯୋଗ ବିଫଳ ହୋଇଛି।" + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "ଚ୍ୟାନେଲ ସହିତ ସଂଯୋଗ କରିପାରିବେ ନାହିଁ, କେବଳ SSH ସମର୍ଥିତ।" + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "ଚ୍ୟାନେଲ ସହିତ ସଂଯୋଗ ଅସମର୍ଥିତ।" + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "ଆଲେଖିକ ସର୍ଭର ସହିତ ସଂଯୋଗ କରୁଅଛି" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "ଅତିଥି ଡମେନ ବନ୍ଦ ଅଛି" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "ଆଲେଖି ସର୍ଭର ସହ ସଂଯୁକ୍ତ" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "ଆଲେଖୀ ସର୍ଭର %s ସହିତ ସଂଯୋଗ କରିବାରେ ଅସମର୍ଥ" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "%s ରେ ସୁଦୂର ଡେସ୍କଟପ ସର୍ଭର ସହିତ ବୈଧିକରଣ କରିବାରେ ଅସମର୍ଥ: %s\nପୁଣିଥରେ ଚେଷ୍ଟା କରିବେ କି?" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "ସୁଦୂର ଡେସ୍କଟପ ସର୍ଭର ସହିତ ବୈଧିକରଣ କରିବାରେ ଅସମର୍ଥ: %s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "USB ଦିଗପରିବର୍ତ୍ତନ ତ୍ରୁଟି: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "ବୈଧିକରଣ ଆବଶ୍ଯକ" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "ପ୍ରବେଶ ସଙ୍କେତ:" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "ଚାଳକ ନାମ:" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "ନାମପଟି" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s ସଂସ୍କରଣ %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "libvirt ବ୍ୟବହାର କରି ସ୍ଥାନୀୟ ପ୍ରଦର୍ଶନୀ ସହିତ ସଂଲଗ୍ନ ହୋଇଛି" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "hypervisor ସହିତ ସଂଯୋଗ କରନ୍ତୁ" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "ଡମେନକୁ ଆରମ୍ଭ ହେବା ପାଇଁ ଅପେକ୍ଷା କରନ୍ତୁ" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "ପୁନଃଚାଳନ ପରେ ଡମେନ ସହିତ ପୁଣି ସଂଯୁକ୍ତ ହୋଇଛି" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "ସମ୍ପୂର୍ଣ୍ଣ ପରଦା ଧାରାରେ ଖୋଲନ୍ତୁ" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "Virt ପ୍ରଦର୍ଶିକା" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "-ଆଭାସୀ ଯନ୍ତ୍ରର ଆଲେଖୀକ କୋନସୋଲ" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\nବ୍ୟବହାର ବିଧି: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "ଦିଗ ପରିବର୍ତ୍ତନ ପାଇଁ USB ଉପକରଣଗୁଡ଼ିକୁ ବାଛନ୍ତୁ" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "ଅସମର୍ଥିତ ପ୍ରାଧିକରଣ ପ୍ରକାର %d" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "ସଂଯୋଗ ବିଚ୍ଛିନ୍ନ ହୋଇଛି" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "USB ଉପକରଣ ଚୟନ" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "ସମ୍ପୁର୍ଣ୍ଣ ପରଦା ଛାଡ଼ି ଦିଅନ୍ତୁ" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "ପୁନଚାଳନ ପାଇଁ ଅତିଥି ଡମେନକୁ ଅପେକ୍ଷା କରିଛି" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "ଅତିଥି %s ପାଇଁ ଆଲେଖିକ ପ୍ରକାରକୁ ନିର୍ଦ୍ଧାରଣ କରିପାରିବେ ନାହିଁ" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "ଅତିଥି %s ପାଇଁ ଆଲେଖିକ ଠିକଣାକୁ ନିର୍ଦ୍ଧାରଣ କରିପାରିବେ ନାହିଁ" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "ଅତିଥି %s ପାଇଁ ହୋଷ୍ଟ ନିର୍ଦ୍ଧାରଣ କରିପାରିବେ ନାହିଁ" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "ଅତିଥି ଡମେନକୁ ଖୋଜୁଅଛି" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "ନିର୍ମାଣ କରିବା ପାଇଁ ଅତିଥି ଡମେନକୁ ଅପେକ୍ଷା କରିଛି" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "ଅତିଥି ଡମେନ %s କୁ ଖୋଜି ପାଇବେ ନାହିଁ" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "ଅତିଥି ଡମେନ ସ୍ଥିତିକୁ ଯାଞ୍ଚ କରୁଅଛି" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "ଅତିଥି ଡମେନ ଆରମ୍ଭ ହେବାକୁ ଯାଉଛି" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "ସର୍ଭରକୁ ଆରମ୍ଭ କରିବା ପାଇଁ ଅତିଥି ଡମେନକୁ ଅପେକ୍ଷା କରିଛି" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "URI %s ସହାୟତାରେ libvirt ସହିତ ସଂଯୋଗ କରିବାରେ ଅସମର୍ଥ" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[କିଛି ନାହିଁ]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "ସ୍ବୟଂଚାଳିତଭାବରେ ଆକାର କରିବର୍ତ୍ତନ କରନ୍ତୁ" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Ctrl+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Ctrl+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Ctrl+Alt+F1_0" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Ctrl+Alt+F_1" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Ctrl+Alt+F_2" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Ctrl+Alt+F_3" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Ctrl+Alt+F_4" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Ctrl+Alt+F_5" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Ctrl+Alt+F_6" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Ctrl+Alt+F_7" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Ctrl+Alt+F_8" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Ctrl+Alt+F_9" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Ctrl+Alt+_Backspace" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Ctrl+Alt+_Del" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "ପ୍ରଦର୍ଶନୀ" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "ସଂପୂର୍ଣ୍ଣ ପରଦା" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "ସୂଚକକୁ ଛାଡ଼ନ୍ତୁ" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "ଆଶୁଚିତ୍ର" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "ସ୍ମାର୍ଟକାର୍ଡ ଭର୍ତ୍ତିକରିବା" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "ସ୍ମାର୍ଟକାର୍ଡ ବାହାର କରିବା " + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "ଫାଇଲ (_F)" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "ସହାୟତା (_H)" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "ପରଦାକୁ ମୁଦ୍ରଣ କରନ୍ତୁ (_P)" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "କି ପଠାନ୍ତୁ (_S)" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "ଦୃଶ୍ଯ (_V)" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "ବଡ଼ କରନ୍ତୁ (_Z)" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/pa.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/pa.po new file mode 100644 index 0000000..5beefd9 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/pa.po @@ -0,0 +1,558 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Jaswinder Singh <jsingh@redhat.com>, 2010, 2012. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Panjabi (Punjabi) <punjabi-users@lists.sf.net>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: pa\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "ਸਰੋਤ" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "ਬਾਈਂਡਿੰਗ ਦਾ ਸਰੋਤ" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "ਟਾਰਗਿਟ" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "ਬਾਈਂਡਿੰਗ ਦਾ ਟਾਰਗਿਟ" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "ਸਰੋਤ ਪਰਾਪਰਟੀ" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "ਬਾਈਂਡ ਕਰਨ ਲਈ ਸਰੋਤ ਉੱਪਰ ਪਰਾਪਰਟੀ" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "ਟਾਰਗਿਟ ਪਰਾਪਰਟੀ" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "ਬਾਈਂਡ ਕਰਨ ਲਈ ਟਾਰਗਿਟ ਉੱਪਰ ਪਰਾਪਰਟੀ" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "ਫਲੈਗ" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "ਬਾਈਂਡਿੰਗ ਫਲੈਗ" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "remote-viewer ਵਰਜਨ %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "ਚਲਾਓ '" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "ਵਰਜਨ ਜਾਣਕਾਰੀ ਵੇਖਾਓ" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "ਵਰਬੋਜ਼ ਜਾਣਕਾਰੀ ਵੇਖਾਓ" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "ਬਿਨਾਂ ਕਿਸੇ ਆਟੋਮੈਟਿਕ ਟੰਨਲ ਡਾਇਰੈਕਟ ਕੁਨੈਕਸ਼ਨ" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "ਵਿੰਡੋ ਦਾ ਜ਼ੂਮ ਲੈਵਲ, ਪ੍ਰਤੀਸ਼ਤ ਵਿੱਚ" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "ਡੀਬੱਗਿੰਗ ਜਾਣਕਾਰੀ ਵੇਖਾਓ" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "ਸਪਾਈਸ ਕੰਟਰੋਲਰ ਕਮਿਊਨੀਕੇਸ਼ ਵਰਤ ਕੇ ਕੁਨੈਕਸ਼ਨ ਖੋਲੋ" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "- ਰਿਮੋਟ ਡੈਸਕਟਾਪ ਕਲਾਂਈਟ" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "ਜ਼ੂਮ ਲੈਵਲ 10-200 ਵਿਚਕਾਰ ਹੋਣਾ ਜਰੂਰੀ ਹੈ\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "ਕੁਨੈਕਸ਼ਨ ਚਾਲੂ ਕਰਨ ਵਿੱਚ ਫੇਲ" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "ਕੰਟਰੋਲ ਦੁਆਰਾ ਦਰਸ਼ਕ ਅਯੋਗ ਕੀਤਾ ਹੈ" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "ਕੰਟਰੋਲਰ ਕੁਨੈਕਸ਼ਨ ਫੇਲ: %s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "ਸਪਾਈਸ ਕੁਨੈਕਸ਼ਨ ਬਣਾ ਨਹੀਂ ਸਕਿਆ" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "ਸਪਾਈਸ ਕੁਨੈਕਸ਼ਨ ਬਣਾ ਰਿਹਾ ਹੈ..." + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "URI ਤੋਂ ਕੁਨੈਕਸ਼ਨ ਜਾਣਕਾਰੀ ਪ੍ਰਾਪਤ ਨਹੀਂ ਕਰ ਸਕਦਾ" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "ਇਸ ਕਿਸਮ ਲਈ ਸ਼ੈਸ਼ਨ ਨਹੀਂ ਬਣਾ ਸਕਿਆ: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "ਰਿਮੋਟ ਡੈਸਕਟਾਪ ਕਲਾਂਈਟ GTK-VNC, SPICE-GTK ਅਤੇ libvirt ਨਾਲ ਬਣਾਇਆ ਗਿਆ ਹੈ" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "ਗਲੇਡ ਬਾਰੇ" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "Copyright (C) 2007-2012 Daniel P. Berrange\nCopyright (C) 2007-2012 Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "ਫੇਡੋਰਾ ਅਨੁਵਾਦ ਟੀਮ" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "ਇਹ ਪਰੋਗਰਾਮ ਫਰੀ ਸਾਫਟਵੇਅਰ ਹੈ; ਤੁਸੀਂ ਇਸਨੂੰ ਮੁੜ-ਵੰਡ ਅਤੇ/ਜਾਂ ਸੋਧ ਕਰ ਸਕਦੇ ਹੋ\nGNU ਜਨਰਲ ਪਬਲਿਕ ਲਾਈਸੰਸ ਦੀਆਂ ਸ਼ਰਤਾਂ ਅਧੀਨ ਜੋ ਫਰੀ\nਸਾਫਟਵੇਅਰ ਫਾਊਂਡੇਸ਼ਨ ਦੁਆਰਾ ਜਾਰੀ ਕੀਤਾ ਗਿਆ ਹੈ; ਲਾਈਸੰਸ ਦਾ ਵਰਜਨ 2, ਜਾਂ\n(ਤੁਹਾਡੀ ਚੋਂ ਮੁਤਾਬਕ) ਕੋਈ ਬਾਅਦ ਵਾਲਾ ਵਰਜਨ\n\nਇਹ ਪਰੋਗਰਾਮ ਇਸ ਉਦੇਸ਼ ਨਾਲ ਜਾਰੀ ਕੀਤਾ ਗਿਆ ਹੈ ਕਿ ਇਹ ਵਰਤਣਯੋਗ ਹੋਵੇਗਾ,\nਪਰ ਕਿਨਾਂ ਕਿਸੇ ਵਾਰੰਟੀ; ਇੱਥੋਂ ਤੱਕ ਕਿ ਬਿਨਾਂ ਕਿਸੇ ਵਪਾਰਿਕਤਾ ਵਾਰੰਟੀ\nਜਾਂ ਕਿਸੇ ਖਾਸ ਉਦੇਸ਼ ਦੀ ਪੂਰਤੀ ਲਈ। ਵਧੇਰੇ ਵਿਸਥਾਰ ਲਈ\nGNU ਜਨਰਲ ਪਬਲਿਕ ਲਾਈਸੰਸ ਵੇਖੋ।\n\nਤੁਹਾਨੂੰ ਇਸ ਪਰੋਗਰਾਮ ਨਾਲ GNU ਜਨਰਲ ਪਬਲਿਕ ਲਾਈਸੰਸ ਦੀ ਕਾਪੀ\nਮਿਲਨੀ ਚਾਹੀਦੀ ਹੈ; ਜੇ ਨਹੀਂ, ਤਾਂ ਫਰੀ ਸਾਫਟਵੇਅਰ ਫਾਈਊਨਡੇਸ਼ਨ,\nInc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ਨੂੰ ਲਿਖੋ\n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "ਇਹ ਆਖਰੀ ਦਿਸਣਯੋਗ ਝਲਕ ਹੈ। ਕੀ ਤੁਸੀਂ ਬੰਦ ਕਰਨਾ ਚਾਹੁੰਦੇ ਹੋ?" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "ਝਲਕ %d ਦੀ ਉਡੀਕ ਕਰ ਰਿਹਾ ਹੈ..." + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "ਗਿਸਟ %s ਲਈ ਗਰਾਫਿਕਸ ਕਿਸਮ ਅਣਜਾਣ ਹੈ" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "ssh ਨਾਲ ਜੁੜਨ ਤੋਂ ਫੇਲ ਹੋਇਆ।" + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "ਚੈਨਲ ਨਾਲ ਜੁੜ ਨਹੀਂ ਸਕਦਾ, ਸਿਰਫ SSH ਨੂੰ ਸਹਿਯੋਗ ਹੈ।" + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "ਚੈਨਲ ਨਾਲ ਜੁੜਨ ਨੂੰ ਸਹਿਯੋਗ ਨਹੀਂ ਹੈ।" + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "ਗਰਾਫਿਕਸ ਸਰਵਰ ਨਾਲ ਜੁੜ ਰਿਹਾ ਹੈ" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "ਗਿਸਟ ਡੋਮੇਨ ਸ਼ੱਟ-ਡਾਊਨ ਹੋ ਗਿਆ ਹੈ" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "ਗਰਾਫਿਕਸ ਸਰਵਰ ਨਾਲ ਜੁੜ ਗਿਆ ਹੈ" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "ਗਰਾਫਿਕਸ ਸਰਵਰ %s ਨਾਲ ਜੁੜਨ ਤੋਂ ਅਸਮਰਥ" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "%s ਤੋਂ ਰਿਮੋਟ ਡੈਸਕਟਾਪ ਸਰਵਰ ਨਾਲ ਪ੍ਰਮਾਣਿਤ ਕਰਨ ਤੋਂ ਅਸਮਰਥ: %s\nਕੁਨੈਕਸ਼ਨ ਦੁਬਾਰਾ ਕੋਸ਼ਿਸ਼ ਕਰਨੀ ਹੈ?" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "ਰਿਮੋਟ ਸਰਵਰ ਨਾਲ ਪ੍ਰਮਾਣਿਤ ਕਰਨ ਤੋਂ ਅਸਮਰਥ: %s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "USB ਰੀਡਾਇਰੈਕਸ਼ਨ ਗਲਤੀ: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "ਪ੍ਰਮਾਣਕਿਤਾ ਲੋੜੀਦੀ ਹੈ" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "ਪਾਸਵਰਡ:" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "ਯੂਜ਼ਰ ਨਾਂ:" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "ਲੇਬਲ" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s ਵਰਜਨ %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "libvirt ਵਰਤ ਕੇ ਲੋਕਲ ਡਿਸਪਲੇਅ ਨਾਲ ਜੁੜੋ" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "ਹਾਈਪਰਵਾਈਸਰ ਨਾਲ ਜੋੜੋ" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "ਡੋਮੇਲ ਚਾਲੂ ਹੋਣ ਦੀ ਉਡੀਕ ਕਰੋ" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "ਮੁੜ-ਚਾਲੂ ਹੋਣ ਤੇ ਡੋਮੇਨ ਨਾ ਮੁੜ-ਜੁੜੋ" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "ਪੂਰੀ ਸਕਰੀਨ ਮੋਡ ਵਿੱਚ ਖੋਲੋ" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "Virt ਝਲਕਾਰਾ" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "- ਵਰਚੁਅਲ ਮਸ਼ੀਨ ਗਰਾਫੀਕਲ ਕੰਸੋਲ" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\nਵਰਤੋਂ: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "ਰੀਡਾਇਰੈਕਸ਼ਨ ਲਈ USB ਜੰਤਰ ਚੁਣੋ" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "ਨਾ-ਸਹਿਯੋਗੀ ਪ੍ਰਮਾਣਿਕਤਾ ਕਿਸਮ %d" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "ਡਿਸ-ਕੁਨੈਕਟ ਕਰੋ" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "USB ਜੰਤਰ ਚੋਣ" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "ਪੂਰੀ ਸਕਰੀਨ ਛੱਡੋ" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "ਗਿਸਟ ਡੋਮੇਨ ਮੁੜ-ਚਾਲੂ ਹੋਣ ਦੀ ਉਡੀਕ ਕਰ ਰਿਹਾ ਹੈ" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "ਗਿਸਟ %s ਲਈ ਗਰਾਫਿਕ ਕਿਸਮ ਪਤਾ ਨਹੀਂ ਕਰ ਸਕਦਾ" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "ਗਿਸਟ %s ਲਈ ਗਰਾਫਿਕਸ ਐਡਰੈੱਸ ਪਤਾ ਨਹੀਂ ਕਰ ਸਕਿਆ" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "ਗਿਸਟ %s ਲਈ ਹੋਸਟ ਪਤਾ ਨਹੀਂ ਕਰ ਸਕਦਾ" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "ਗਿਸਟ ਡੋਮੇਨ ਲੱਭ ਰਿਹਾ ਹੈ" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "ਗਿਸਟ ਡੋਮੇਨ ਬਣਨ ਦੀ ਉਡੀਕ ਕਰ ਰਿਹਾ ਹੈ" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "ਗਿਸਟ ਡੋਮੇਨ %s ਨਹੀਂ ਲੱਭ ਸਕਿਆ" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "ਗਿਸਟ ਡੋਮੇਨ ਹਾਲਤ ਜਾਂਚ ਰਿਹਾ ਹੈ" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "ਗਿਸਟ ਡੋਮੇਨ ਚਾਲੂ ਹੋਣ ਦੀ ਉਡੀਕ ਕਰ ਰਿਹਾ ਹੈ" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "ਗਿਸਟ ਡੋਮੇਨ ਦੁਆਰਾ ਸਰਵਰ ਚਾਲੂ ਕਰਨ ਦੀ ਉਡੀਕ ਕਰ ਰਿਹਾ ਹੈ" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "libvirt ਨੂੰ URI %s ਨਾਲ ਜੋੜ ਨਹੀਂ ਸਕਿਆ" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[ਕੋਈ ਨਹੀਂ]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "ਆਟੋਮੈਟਿਕ ਮੁੜ-ਅਕਾਰ" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Ctrl+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Ctrl+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Ctrl+Alt+F1_0" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Ctrl+Alt+F_1" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Ctrl+Alt+F_2" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Ctrl+Alt+F_3" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Ctrl+Alt+F_4" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Ctrl+Alt+F_5" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Ctrl+Alt+F_6" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Ctrl+Alt+F_7" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Ctrl+Alt+F_8" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Ctrl+Alt+F_9" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Ctrl+Alt+_Backspace" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Ctrl+Alt+_Del" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "ਝਲਕ" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "ਪੂਰਾ ਪਰਦਾ" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "ਕਰਸਰ ਛੱਡੋ" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "ਸਕਰੀਨ-ਸ਼ਾਟ" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "ਸਮਾਰਟ-ਕਾਰਡ ਜੋੜਨਾ" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "ਸਮਾਰਡ-ਕਾਰਡ ਹਟਾਉਣਾ" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "ਫਾਇਲ(_F)" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "ਮੱਦਦ(_H)" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "ਪ੍ਰਿੰਟ-ਸਕਰੀਨ(_P)" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "ਕੁੰਜੀ ਭੇਜੋ(_S)" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "ਵੇਖੋ(_V)" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "ਜ਼ੂਮ(_Z)" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/pl.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/pl.po new file mode 100644 index 0000000..8645c52 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/pl.po @@ -0,0 +1,558 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Piotr Drąg <piotrdrag@gmail.com>, 2010, 2012. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Polish (http://www.transifex.net/projects/p/fedora/language/pl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: pl\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "Źródło" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "Źródło dowiązania" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "Cel" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "Cel dowiązania" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "Właściwość źródła" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "Właściwość źródła do dowiązania" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "Właściwość celu" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "Właściwość celu do dowiązania" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "Flagi" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "Flagi dowiązania" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "remote-viewer wersja %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "Należy wykonać \"" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "Wyświetla informację o wersji" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "Wyświetla więcej informacji" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "Bezpośrednie połączenie bez automatycznych tuneli" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "Poziom powiększenia okna, w procentach" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "Wyświetla informacje o debugowaniu" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "Otwiera połączenie używając komunikacji kontrolera Spice" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "- zdalna przeglądarka klientów" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "Poziom powiększenia musi być w zakresie 10-200\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "Zainicjowanie połączenia się nie powiodło" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "Ekran został wyłączony przez kontroler" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "Połączenie kontrolera się nie powiodło: %s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "Nie można utworzyć sesji Spice" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "Ustawianie sesji Spice..." + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "Nie można ustalić typu połączenia z adresu URI" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "Nie można utworzyć sesji dla tego typu: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "Klient zdalnego pulpitu zbudowany za pomocą bibliotek GTK-VNC, SPICE-GTK i libvirt" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "O programie Glade" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "Copyright (C) 2007-2012 Daniel P. Berrange\nCopyright (C) 2007-2012 Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "Zespół tłumaczenia Fedory" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "Niniejszy program jest wolnym oprogramowaniem; można go rozprowadzać dalej\ni/lub modyfikować na warunkach Powszechnej Licencji Publicznej GNU, wydanej\nprzez Fundację Wolnego Oprogramowania (Free Software Foundation) - według\nwersji drugiej tej Licencji lub którejś z późniejszych wersji.\n\nNiniejszy program rozpowszechniany jest z nadzieją, iż będzie on użyteczny\n- jednak BEZ JAKIEJKOLWIEK GWARANCJI, nawet domyślnej gwarancji\nPRZYDATNOŚCI HANDLOWEJ albo PRZYDATNOŚCI DO OKREŚLONYCH ZASTOSOWAŃ. W celu\nuzyskania bliższych informacji należy zapoznać się z Powszechną Licencją\nPubliczną GNU.\n\nZ pewnością wraz z niniejszym programem dostarczono także egzemplarz\nPowszechnej Licencji Publicznej GNU (GNU General Public License); jeśli nie\n- proszę napisać do Free Software Foundation, Inc., 59 Temple Place, Suite\n330, Boston, MA 02111-1307 USA.\n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "To jest ostatni widoczny ekran. Zakończyć?" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "Oczekiwanie na ekran %d..." + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "Nieznany typ grafiki dla gościa %s" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "Połączenie z ssh się nie powiodło." + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "Nie można połączyć się z kanałem, obsługiwane jest tylko SSH." + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "Łączenie z kanałem jest nieobsługiwane." + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "Łączenie z serwerem grafiki" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "Domena gościa została wyłączona" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "Połączono z serwerem grafiki" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "Nie można połączyć się z serwerem grafiki %s" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "Nie można uwierzytelnić z serwerem zdalnego pulpitu w %s: %s\nPonowić połączenie?" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "Nie można uwierzytelnić z serwerem zdalnego pulpitu: %s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "Błąd przekierowania USB: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "Wymagane jest uwierzytelnienie" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "Hasło:" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "Nazwa użytkownika:" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "etykieta" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s wersja %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "Łączy z lokalnym ekranem za pomocą biblioteki libvirt" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "Łączy z nadzorcą" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "Oczekuje na uruchomienie domeny" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "Ponownie łączy z domeną po ponownym uruchomieniu" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "Otwiera w trybie pełnoekranowym" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "Przeglądarka wirtualizacji" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "- graficzna konsola maszyny wirtualnej" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\nUżycie: %s [OPCJE] NAZWA-DOMENY|IDENTYFIKATOR|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "Wybór urządzeń USB do przekierowania" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "Nieobsługiwany typ uwierzytelnienia %d" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "Rozłącza" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "Wybór urządzenia USB" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "Opuszcza pełny ekran" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "Oczekiwanie na ponowne uruchomienie domeny gościa" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "Nie można określić typu grafiki dla gościa %s" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "Nie można określić adresu grafiki dla gościa %s" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "Nie można określić gospodarza dla gościa %s" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "Wyszukiwanie domeny gościa" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "Oczekiwanie na utworzenie domeny gościa" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "Nie można odnaleźć domeny gościa %s" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "Sprawdzanie stanu domeny gościa" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "Oczekiwanie na uruchomienie domeny gościa" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "Oczekiwanie na uruchomienie serwera domeny gościa" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "Nie można połączyć się z biblioteką libvirt za pomocą adresu URL %s" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[brak]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "Automatyczna zmiana rozmiaru" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Ctrl+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Ctrl+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Ctrl+Alt+F1_0" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Ctrl+Alt+F_1" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Ctrl+Alt+F_2" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Ctrl+Alt+F_3" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Ctrl+Alt+F_4" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Ctrl+Alt+F_5" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Ctrl+Alt+F_6" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Ctrl+Alt+F_7" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Ctrl+Alt+F_8" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Ctrl+Alt+F_9" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Ctrl+Alt+_Backspace" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Ctrl+Alt+_Del" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "Ekrany" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "Pełny ekran" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "Zwolnienie kursora" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "Zrzut ekranu" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "Włożenie karty smart card" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "Usunięcie karty smart card" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "_Plik" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "Pomo_c" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "Z_rzut ekranu" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "Wyślij klawi_sz" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "_Widok" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "P_owiększenie" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/pt.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/pt.po new file mode 100644 index 0000000..c7899b5 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/pt.po @@ -0,0 +1,557 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Portuguese <trans-pt@lists.fedoraproject.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: pt\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "" + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "" + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "" + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "" + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "" + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "" + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr "" + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/pt_BR.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/pt_BR.po new file mode 100644 index 0000000..f8a9b64 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/pt_BR.po @@ -0,0 +1,558 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# <gcintra@redhat.com>, 2012. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Portuguese (Brazil) <trans-pt_br@lists.fedoraproject.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=2; plural=(n > 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "Fonte" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "A fonte de união" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "Alvo" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "O alvo da união" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "Propriedade da Fonte" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "A propriedade na fonte para união " + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "Propriedade do Alvo" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "A propriedade do alvo a unir" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "Bandeiras" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "As bandeiras de união" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "remote-viewer version %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "Executar '" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "Exibir informações de versão" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "Exibir informações de verbose" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "Conexão direta com os túneis automáticos" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "Nível de zoom da janela, em porcentagem" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "Exibir informações de depuração" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "Abrir conexão usando a comunicação do controlador Spice" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "-Cliente de visualizador remoto" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "Nível de zoom deve estar entre 10-200\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "Falha ao iniciar a conexão " + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "Exibir desabilitado pelo controlador" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "Conexão de controlador falhou:%s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "Não foi possível criar uma sessão Spice" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "Configurando uma sessão Spice" + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "Não foi possíve determinar o tipo de conexão a partir do URI" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "Não foi possível criar uma sessão para este tpo: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "Um cliente de desktop remoto construído com o GTK-VNC, SPICE-GTK e libvirt" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "Sobre o Glade" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "Copyright (C) 2007-2012 Daniel P. Berrange\nCopyright (C) 2007-2012 Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "A equipe de Tradução do Fedora " + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "Este programa é um software livre; você pode redistribuí-lo e/ou modificá-lo sob os termos do GNU - General Public License como publicado pela Fundação de Software Livre; tanto a versão 2 da Licensa quanto (na sua opinião) qualquer versão posterior a esta.\n\nEste programa é distribuído esperando que seja útiil, \nmas SEM NENHUMA GARANTIA; sem até mesmo a garantia implicada de MERCANTIBILIDADE ou SERVIÇO PARA UM PROPÓSITO ESPECÍFICO. Seja GNU - General Public License para mais detalhes. \n\nVocê deve ter recebido uma cópia do GNU - General Public License junto com este programa; Caso não o tenha recebido, escreva para a Fundação de Software Livre, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "Este é o último display visível. Você deseja sairt?" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "Esperando pelo display %d..." + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "Tipo de gráfico desconhecido para convidados %s" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "Falha ao conectar com o ssh." + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "Não foi possível conectar o canal, SSH somente suportado." + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "A conexão com o canal não é suportada." + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "Conectando ao servidor de gráfico" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "Domínio de convidado precisa ser fechado" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "Conectado ao servidor de gráfico" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "Incapaz de conectar ao servidor de gráfico %s" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "Incapaz de autenticar com o servidor de desktop remoto em %s: %s Tentar conexão novamente?" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "Incapaz de autenticar com o servidor remoto: %s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "Erro de redirecionamento do USB:%s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "Autenticação requerida" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "Senha:" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "Nome de usuário:" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "rótulo" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s version %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "Anexar ao display local usando o libvirt" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "Conectar ao hypervisor" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "Esperar pelo domínio para iniciar" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "Reconectar ao domínio no reinício" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "Abrir o modo em tela cheia" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "Visualizador do Virt" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "Console gráfico da máquina virtual" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\nUso: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "Selecionar os dispositivos do USB para redirecionamento" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "Autenticação não suportada tipo %d" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "Desconectar" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "Seleção de dispositivo de USB" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "Deixar tela cheia" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "Esperando pelo domínio do convidado para reiniciar" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "Não é possível determinar o tipo de gráfico para o convidado %s" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "Não foi possível determinar o endereço do gráfico para o convidado %s" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "Não foi possível determinar o host para os convidados %s" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "Encontrando o domínio do convidado" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "Esperando pelo domínio do convidado a ser criado" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "Não foi possível encontrar o domínio do convidado %s" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "Verificando o status do domínio do convidado" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "Esperando pelo domínio do convidado para iniciar" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "Esperando pelo domínio do convidado para iniciar servidor" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "Incapaz de conectar ao libvirt com o URI %s" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[nenhum]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "Redefinição de tamanho automático" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Ctrl+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Ctrl+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Ctrl+Alt+F1_0" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Ctrl+Alt+F_1" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Ctrl+Alt+F_2" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Ctrl+Alt+F_3" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Ctrl+Alt+F_4" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Ctrl+Alt+F_5" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Ctrl+Alt+F_6" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Ctrl+Alt+F_7" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Ctrl+Alt+F_8" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Ctrl+Alt+F_9" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Ctrl+Alt+_Backspace" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Ctrl+Alt+_Del" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "Displays" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "Tela cheia" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "Liberar o cursor" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "Screenshot" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "Inserção do Smartcard " + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "Remoção do Smartcard" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "_Arquivo" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "_Ajuda" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "_PrintScreen" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "_Chave de Envio" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "_Visualizar" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "_Zoom" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/ru.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/ru.po new file mode 100644 index 0000000..f8ef585 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/ru.po @@ -0,0 +1,559 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Automatically generated, 2010. +# Yulia <ypoyarko@redhat.com>, 2010, 2012. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Russian <trans-ru@lists.fedoraproject.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ru\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "Источник" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "Первый элемент привязки" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "Цель" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "Второй элемент привязки" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "Свойство источника" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "Свойство первого элемента" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "Свойство цели" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "Свойство второго элемента" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "Флаги" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "Флаги привязки" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "remote-viewer версия %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "Выполнить '" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "Показать версию" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "Подробный вывод" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "Прямое подключение без туннеля" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "Масштаб окна в процентах" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "Показать сообщения диагностики" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "Открыть соединение с помощью контроллера Spice" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "— Клиент удаленного просмотра" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "Масштаб должен быть в пределах 10-200\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "Не удалось установить соединение" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "Дисплей отключен контроллером" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "Ошибка подключения контроллера: %s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "Не удалось создать сеанс Spice" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "Инициализация сеанса Spice..." + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "Не удалось определить тип подключения в URI" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "Не удалось создать сеанс этого типа: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "Клиент удаленного рабочего стола построен на основе GTK-VNC, SPICE-GTK и libvirt" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "О Glade" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "(C) 2007-2012 Daniel P. Berrange\n(C) 2007-2012 Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "Команда локализации Fedora" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "Эта программа относится к категории свободного программного обеспечения;\nеё можно распространять и изменять в соответствии с условиями \nлицензии GNU General Public License 2 или любой более поздней версии, \nопубликованной фондом свободного программного обеспечения. \n\nПрограмма распространяется в надежде, что она может быть полезной, \nно БЕЗ КАКИХ-ЛИБО ГАРАНТИЙ, ВЫРАЖЕННЫХ ЯВНО ИЛИ ПОДРАЗУМЕВАЕМЫХ,\nВ ТОМ ЧИСЛЕ БЕЗ ГАРАНТИЙ КОММЕРЧЕСКОЙ ЦЕННОСТИ И \nПРИГОДНОСТИ ДЛЯ КОНКРЕТНОЙ ЦЕЛИ. \nПодробную информацию можно найти в тексте лицензии GNU. \n\nКопия лицензии GNU предоставляется вместе с этой программой.\nАдрес фонда: Free Software Foundation, \nInc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "Это последний экран. Завершить работу?" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "Ожидание просмотра %d..." + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "Неизвестный тип графической подсистемы для гостя %s" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "Ошибка соединения ssh." + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "Не удалось подключиться к каналу. Поддерживается только SSH." + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "Подключение к каналу не поддерживается." + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "Подключение к графическому серверу" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "Гостевой домен завершил работу" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "Установлено соединение с графическим сервером" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "Не удалось установить соединение с сервером %s" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "Не удалось пройти аутентификацию на удаленном сервере: %s: %s\nПовторить попытку подключения?" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "Не удалось пройти аутентификацию на удаленном сервере: %s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "Ошибка перенаправления USB: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "Требуется проверка подлинности" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "Пароль:" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "Пользователь:" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "метка" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s версия %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "Подключиться к локальному графическому сеансу с помощью libvirt" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "Подключиться к гипервизору" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "Ожидать запуска домена" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "Заново подключиться к домену после перезапуска" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "Полноэкранный режим" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "Просмотр виртуальных систем" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "— графическая консоль виртуальной машины" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\nФормат: %s [ПАРАМЕТРЫ] ДОМЕН|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "Выбрать устройства USB для перенаправления" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "Неподдерживаемый тип аутентификации %d" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "Отключиться" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "Выбор устройства USB" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "Выйти из полноэкранного режима" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "Ожидание перезапуска гостевого домена" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "Не удалось определить тип графической подсистемы для гостя %s" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "Не удалось определить адрес графического интерфейса для гостя %s" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "Не удалось определить хост для гостя %s" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "Поиск гостевого домена" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "Ожидание создания гостевого домена" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "Гостевой домен %s не найден" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "Проверка статуса гостевого домена" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "Ожидание запуска гостевого домена" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "Ожидание запуска сервера гостевого домена" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "Не удалось подключиться к libvirt на URI %s" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[нет]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "Автоматически изменить размер" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Ctrl+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Ctrl+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Ctrl+Alt+F1_0" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Ctrl+Alt+F_1" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Ctrl+Alt+F_2" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Ctrl+Alt+F_3" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Ctrl+Alt+F_4" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Ctrl+Alt+F_5" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Ctrl+Alt+F_6" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Ctrl+Alt+F_7" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Ctrl+Alt+F_8" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Ctrl+Alt+F_9" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Ctrl+Alt+_Backspace" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Ctrl+Alt+_Del" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "Экраны" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "Во весь экран" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "Освободить курсор" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "Снимок экрана" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "Подключение смарт-карты" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "Удаление смарт-карты" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "_Файл" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "_Справка" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "_PrintScreen" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "О_тправить клавишу" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "_Просмотр" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "_Масштаб" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/si.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/si.po new file mode 100644 index 0000000..fae05e7 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/si.po @@ -0,0 +1,557 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Sinhala (http://www.transifex.net/projects/p/fedora/language/si/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: si\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "" + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "" + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "" + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "" + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "" + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "" + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr "" + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/sk.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/sk.po new file mode 100644 index 0000000..6359500 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/sk.po @@ -0,0 +1,557 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Slovak (http://www.transifex.net/projects/p/fedora/language/sk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: sk\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "" + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "" + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "" + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "" + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "" + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "" + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr "" + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/ta.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/ta.po new file mode 100644 index 0000000..9461be9 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/ta.po @@ -0,0 +1,559 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Felix I <ifelix25@gmail.com>, 2012. +# I. Felix <ifelix@redhat.com>, 2010. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Tamil <tamil-users@lists.fedoraproject.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ta\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "மூலம்" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "பிணைத்தலின் மூலம்" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "இலக்கு" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "பிணைத்தலின் இலக்கு" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "மூல பண்பு" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "பிணைக்க மூலத்தின் குணம்" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "இலக்கு பண்பு" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "பிணைக்க இலக்கின் குணம்" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "கொடிகள்" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "பிணைக்கும் கொடிகள்" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "remote-viewer பதிப்பு %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "இ யக்கு '" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "காட்சி பதிப்பு தகவல்" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "காட்சி வெர்போஸ் தகவல்" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "தானியக்க டனல்கள் இல்லாமல் நேரடி இணைப்பு" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "சாளரத்தின் அளவிடும் நிலை, சதவீதத்தில்" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "பிழைத்திருத்த தகவலை காட்டவும்" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "ஸ்பைஸ் கட்டுப்படுத்தி தொடர்பை பயன்படுத்தி இணைப்பை திறக்கவும்" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "- Remote viewer client" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "அளவிடும் நிலை 10-200-க்குள் இருக்க வேண்டும்\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "இணைப்பை துவக்க முடியவில்லை" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "கட்டுப்படுத்தியால் காட்சி செயல்நீக்கப்பட்டது" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "கட்டுப்படுத்தி இணைப்பு தோல்வியுற்றது: %s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "ஒரு ஸ்பைஸ் அமர்வை உருவாக்க முடியவில்லை" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "ஸ்பைஸ் அமர்வை அமைக்கிறது..." + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "URI-இலிருந்து இணைப்பு வகையை வரையறுக்க முடியாது" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "இந்த வகைக்கு ஒரு அமர்வை உருவாக்க முடியாது: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "ஒரு தொலை பணிமேடை GTK-VNC, SPICE-GTK மற்றும் libvirtஆல் உருவாகப்பட்டது" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "Glade பற்றி" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "Copyright (C) 2007-2012 Daniel P. Berrange\nCopyright (C) 2007-2012 Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "Fedora மொழிபெயர்ப்பு குழு" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "This program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "இந்த கடைசி தெரியும் காட்சி. வெளியேற வேண்டுமா?" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "காட்சி %d-க்கு காத்திருக்கிறது..." + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "விருந்தினர் %sக்கான தெரியாத வரைகலை வகை" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "ssh-உடன் இணைக்க முடியவில்லை." + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "சேனலுடன் இணைக்க வேண்டாம், SSH மட்டும் துணைபுரிகிறது." + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "சேனலுடன் இணைப்பு துணைபுரியவில்லை." + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "வரைகலை சேவையகத்துடன் இணைக்கிறது" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "விருந்தினர் டொமைன் நிறுத்தப்பட்டது" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "வரைகலை சேவையகத்துடன் இணைக்கப்பட்டது" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "வரைகலை சேவையகம் %s-க்கு இணைக்க முடியவில்லை" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "தொலை பணிமேடை சேவையகம் %s-இலில் அங்கீகரிக்க முடியவில்லை: %s\nஇணைப்பை மீண்டும் முயற்சிக்கவும்?" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "தொலை பணிமேடை சேவையகத்துடன் அங்கீகரிக்க முடியவில்லை: %s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "USB மறுதிசையிடல் பிழை: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "அங்கீகாரம் தேவை" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "கடவுச்சொல்:" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "பயனர்பெயர்:" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "லேபிள்" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s பதிப்பு %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "libvirt-ஐ பயன்படுத்தி உள்ளமை காட்சிக்கு இணைக்கவும்" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "ஹைபர்வைசருடன் இணைக்கவும்" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "டொமைன் துவக்க காத்திருக்கவும்" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "மறுதுவக்கத்தின்ப்படி டொமைனை மறுஇணைக்கவும்" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "முழுத்திரை முறைமையில் திறக்கவும்" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "Virt Viewer" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "- உள்ளமை கணினி வரைகலை பணியகம்" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\nபயன்பாடு: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "மறுதிசையிட USB சாதனங்களை தேர்ந்தெடுக்கவும்" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "துணைபுரியாத அங்கீகார வகை %d" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "துண்டி" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "USB சாதன தேர்வு" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "முழுத்திரையை விட்டுவிலகு" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "மறுதுவக்க விருந்தினர் டொமைனுக்காக காத்திருக்கிறது" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "விருந்தினர் %s-க்கு வரைகலை வகையை வரையறுக்க முடியாது" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "விருந்தினர் %s-க்கு வரைகலை முகவரியை வரையறுக்க முடியாது" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "விருந்தினர் %s-க்கு புரவலனை வரையறுக்க முடியாது" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "விருந்தினர் டொமைனை தேடுகிறது" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "விருந்தினர் டொமைன் உருவாக்க காத்திருக்கிறது" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "விருந்தினர் டொமைன் %sஐ தேட முடியவில்லை" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "விருந்தினர் நிலையை சரிபார்க்கிறது" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "துவக்க விருந்தினர் டொமைனுக்காக காத்திருக்கிறது" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "சேவையகத்தை துவக்க விருந்தினர் டொமைனுக்காக காத்திருக்கிறது" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "libvirt ஐ URI %s உடன் இணைக்க முடியவில்லை" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[ஒன்றுமில்லாத]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "தானாக மறுஅளவிடு" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Ctrl+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Ctrl+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Ctrl+Alt+F1_0" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Ctrl+Alt+F_1" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Ctrl+Alt+F_2" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Ctrl+Alt+F_3" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Ctrl+Alt+F_4" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Ctrl+Alt+F_5" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Ctrl+Alt+F_6" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Ctrl+Alt+F_7" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Ctrl+Alt+F_8" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Ctrl+Alt+F_9" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Ctrl+Alt+_Backspace" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Ctrl+Alt+_Del" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "காட்சிகள்" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "முழுத்திரை" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "கர்சரை விடு" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "திரைப்பிடிப்பு" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "ஸ்மார்ட் கார்டு நுழைத்தல்" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "ஸ்மார்ட் கார்டு நீக்கல்" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "கோப்பு (_F)" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "உதவி (_H)" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "திரைஅச்சு (_P)" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "விசையை அனுப்பு (_S)" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "பார்வை (_V)" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "அளவிடு (_Z)" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/te.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/te.po new file mode 100644 index 0000000..5023f58 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/te.po @@ -0,0 +1,558 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Krishna Babu K <kkrothap@redhat.com>, 2010, 2012. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Telugu (http://www.transifex.net/projects/p/fedora/language/te/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: te\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "మూలం" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "బందనం యొక్క మూలం" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "లక్ష్యం" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "బందనం యొక్క లక్ష్యం" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "మూలపు లక్షణం" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "బందనం చేయుటకు మూలంపైన లక్షణం" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "లక్ష్యం లక్షణం" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "బందనం చేయుటకు లక్ష్యం పైని లక్షణం" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "ఫ్లాగ్స్" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "బందనం ఫ్లాగ్స్" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "రిమోట్-వ్యూయర్ వర్షన్ %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "Run '" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "వర్షన్ సమాచారం ప్రదర్శించు" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "వెర్బోస్ సమాచారమును ప్రదర్శించుము" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "ఎటువంటి స్వయంచాలక టన్నెల్సు లేకుండా నేరుగా అనుసంధానము" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "విండో యొక్క జూమ్ స్థాయి, శాతంలో" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "డీబగ్గింగ్ సమాచారమును ప్రదర్శించుము" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "స్పైస్ కంట్రోలర్ కమ్యునికేషన్ వుపయోగించి అనుసంధానం తెరువుము" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "- దూరస్థ దర్శని క్లైంట్" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "జూమ్ స్థాయి తప్పకుండా 10-200 మద్య వుండాలి\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "అనుసంధానం సిద్దపరచుటకు విఫలమైంది" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "నియంత్రికచే ప్రదర్శన అచేతనమైంది" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "నియంత్రిక అనుసంధానం విఫలమైంది: %s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "స్పైస్ సెషన్ సృష్టించలేకపోయింది" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "స్పైస్ సెషన్ అమర్చుచున్నది..." + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "URI నుండి అనుసంధానం రకంను నిర్థారించలేము" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "ఈ రకము కొరకు సెషన్ సృష్టించలేక పోయింది: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "GTK-VNC, SPICE-GTK మరియు libvirtతో నిర్మించబడిన వొక రిమోట్ డెస్కుటాప్ క్లైంట్" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "గ్లేడ్ గురించి" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "Copyright (C) 2007-2012 Daniel P. Berrange\nCopyright (C) 2007-2012 Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "Fedora అనువాద సమూహం" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "ఈ ప్రోగ్రామ్ ఉచిత సాఫ్టువేర్; ఉచిత సాఫ్టువేర్ సంస్థ తరుపున ప్రచురితమైన\nGNU జనరల్ పబ్లిక్ లైసెన్సు కు లోబడి దీనిని మీరు పునఃపంపిణి మరియు/లేదా\nసవరణ చేయవచ్చు; మీరు అనుసరించవలిసినది లైసెన్సు యొక్క వర్షన్ 2, లేదా\n(మీ ఐచ్చికం వద్ద) దాని తరువాతి వర్షన్ కాని.\n\nపవర్ నిర్వాహకి అది ఉపయోగపడుతుందనే నమ్మకం తో పంపిణీ చేయబడింది,\nఅయితే ఏ హామి లేదు; వ్యాపారసంబంధితంగా కాని లేదా ప్రతిపాదిత ప్రయోజనం కొరకు\nకాని హామీ లేదు. అధికవివరములకొరకు GNU జనరల్ పబ్లిక్ లైసెన్సు ను\nచూడండి.\n\nఈ ప్రోగ్రామ్ తో మీరు GNU జనరల్ పబ్లిక్ లైసెన్సు నకలు ను పొంది ఉంటారు;\nపొందకపోతే, Free Software Foundation, Inc., Temple Place,\nSuite 330, Boston, MA 02111-1307 USAకు వ్రాయండి.\n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "ఇది ఆఖరి దృశ్య ప్రదర్శన. మీరు నిష్క్రమించాలని అనుకొనుచున్నారా?" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "ప్రదర్శన %d కొరకు వేచివుంది..." + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "అతిథి %s కొరకు తెలియని గ్రాఫిక్ రకం" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "ssh క్షేత్రముకు అనుసంధానించు." + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "చానల్‌కు అనుసంధానం కాలేదు, SSH కు మాత్రమే తోడ్పాటు నిస్తోంది." + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "చానల్ అనుసంధానంకు తోడ్పాటులేదు." + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "గ్రాఫిక్ సేవికకు అనుసంధానమౌతోంది" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "అతిథి డొమైన్ మూసివేసింది" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "గ్రాఫిక్ సేవికకు అనుసంధానమైంది" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "గ్రాఫిక్ సేవిక %sకు అనుసంధానం కాలేక పోయింది" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "%s వద్ద రిమోట్ డెస్కుటాప్ సేవికతో ధృవీకరించలేక పోయింది: %s\nఅనుసంధానముకు మరలా ప్రయత్నించాలా?" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "రిమోట్ డెస్కుటాప్ సేవికతో ధృవీకరించలేక పోయింది: %s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "USB రీడైరెక్షన్ దోషం: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "ధృవీకరణము అవసరమైంది" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "సంకేతపదము:" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "వినియోగదారినామము:" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "లేబుల్" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s వర్షన్ %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "libvirt వుపయోగించి స్థానిక ప్రదర్శనకు అనుబందించు" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "హైపర్విజర్‌కు అనుసంధానమవ్వు" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "ప్రారంభమగుటకు డొమైన్ కొరకు వేచివుండుము" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "పునఃప్రారంభముపై డొమైన్‌కు తిరిగిఅనుసంధానమవ్వు" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "నిండు తెర రీతిలో తెరువుము" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "వర్ట్ వ్యూయర్" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "- వర్చ్యువల్ మిషన్ గ్రాఫికల్ కన్సోల్" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\nవినియోగము: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "రీడైరెక్షన్ కొరకు USB పరికరాలను యెంపికచేయి" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "మద్దతీయని దృవీకరణ రకము %d" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "అననుసంధానించు" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "USB పరికర యెంపిక" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "నిండుతెర విడు" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "అతిథి డొమైన్ పునఃప్రారంభం కొరకు వేచివుంది" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "అతిథి %s కొరకు గ్రాఫిక్ రకంను నిర్థారించలేక పోయింది" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "అతిథి %s కొరకు గ్రాఫిక్ చిరునామా నిర్ధారించలేదు" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "అతిథి %s కొరకు అతిథేయను నిర్ధారించలేదు" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "అతిథి డొమైన్‌ కనుగొనుచున్నది" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "అతిథి డొమైన్ సృష్టించబడుటకు వేచివుంది" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "అతిథి డొమైన్‌ %sను కనుగొనలేక పోయింది" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "అతిథి డొమైన్‌ స్థితి పరిశీలిస్తోంది" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "అతిథి డొమైన్ ప్రారంభమగుటకు వేచివుంది" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "అతిథి డొమైన్ సేవికను ప్రారంభించుట కొరకు వేచివుంది" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "URI %sతో libvirtకు అనుసంధానం కాలేదు" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[ఏదీకాదు]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "స్వయంచాలకంగా పునఃపరిమాణము" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Ctrl+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Ctrl+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Ctrl+Alt+F1_0" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Ctrl+Alt+F_1" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Ctrl+Alt+F_2" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Ctrl+Alt+F_3" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Ctrl+Alt+F_4" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Ctrl+Alt+F_5" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Ctrl+Alt+F_6" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Ctrl+Alt+F_7" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Ctrl+Alt+F_8" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Ctrl+Alt+F_9" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Ctrl+Alt+_Backspace" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Ctrl+Alt+_Del" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "ప్రదర్శనలు" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "నిండు తెర" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "సూచీ విడుదలచేయి" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "స్క్రీన్‌షాట్" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "స్మార్టుకార్డ్ చొప్పింత" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "స్మార్టుకార్డ్ తీసివేత" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "ఫైలు (_F)" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "సహాయము(_H)" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "ప్రింట్‌స్క్రీన్ (_P)" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "పంపు కీ(_S)" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "దర్శించు (_V)" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "జూమ్ (_Z)" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/tr.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/tr.po new file mode 100644 index 0000000..c73946c --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/tr.po @@ -0,0 +1,557 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Turkish (http://www.transifex.net/projects/p/fedora/language/tr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: tr\n" +"Plural-Forms: nplurals=1; plural=0\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "" + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "" + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "" + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "" + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "" + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "" + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr "" + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/uk.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/uk.po new file mode 100644 index 0000000..54586d0 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/uk.po @@ -0,0 +1,558 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Yuri Chornoivan <yurchor@ukr.net>, 2011, 2012. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Ukrainian <trans-uk@lists.fedoraproject.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: uk\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "Джерело" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "Початковий об’єкт прив’язки" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "Призначення" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "Об’єкт призначення прив’язування" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "Властивість джерела" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "Властивість джерела прив’язування" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "Властивість призначення" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "Властивість призначення прив’язування" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "Прапорці" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "Прапорці прив’язування" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "remote-viewer версії %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "Виконати '" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "Показати інформацію щодо версії" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "Показати докладну інформацію" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "Пряме з’єднання без тунелів" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "Масштаб вікна, у відсотках" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "Показати діагностичну інформацію" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "Встановити з’єднання за допомогою обміну даними з контролером Spice" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "— клієнтська програма віддаленого перегляду" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "Масштаб слід вказувати у діапазоні від 10 до 200\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "Не вдалося започаткувати з’єднання" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "Екран вимкнено контролером" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "Помилка з’єднання з контролером: %s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "Не вдалося створити сеанс Spice" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "Налаштування сеансу Spice…" + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "Не вдалося визначити тип з’єднання за адресою" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "Не вдалося створити сеанс цього типу: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "Клієнтську частину віддаленого керування стільницею побудовано на основі GTK-VNC, SPICE-GTK та libvirt" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "Про Glade" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "© Daniel P. Berrange, 2007–2012\n© Red Hat, Inc., 2007–2012" + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "Команда локалізації Fedora" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "Ця програма є вільним програмним забезпеченням; ви можете поширювати її і/або змінювати її за умов дотримання GNU General Public License у тому вигляді, у якому її оприлюднено Free Software Foundation; версії 2 цієї ліцензії, або (за потреби) будь-якої пізнішої версії\n\nЦя програма поширюється у сподіванні, що вона буде корисною, але БЕЗ БУДЬ-ЯКИХ ГАРАНТІЙ; навіть без очевидної гарантії КОМЕРЦІЙНОЇ ЦІННОСТІ або ПРИДАТНОСТІ ДЛЯ ЯКОЇСЬ МЕТИ Докладніше про це ви можете дізнатися з \nGNU General Public License\nРазом з цією програмою ви маєте отримати копію GNU General Public License Якщо ви її не отримали, повідомте про це на адресу Free Software\nFoundation, Inc, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "Це останній видимий екран. Завершити роботу програми?" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "Очікування на показ %d…" + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "Невідомий тип графічної підсистеми для гостьової системи %s" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "Спроба встановлення з’єднання ssh зазнала невдачі." + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "Не вдалося встановити з’єднання з каналом, підтримується лише SSH." + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "Встановлення з’єднання з каналом не підтримується." + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "Встановлення з’єднання з графічним сервером" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "Гостьовий домен завершив роботу" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "Встановлено з’єднання з графічним сервером" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "Не вдалося встановити з’єднання з графічним сервером %s" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "Не вдалося пройти розпізнавання на сервері віддаленої стільниці %s: %s\nПовторити спробу встановлення з’єднання?" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "Не вдалося пройти розпізнавання на сервері віддаленої стільниці: %s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "Помилка переспрямування USB: %s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "Потрібно пройти розпізнавання" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "Пароль:" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "Користувач:" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "мітка" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s версія %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "З’єднатися з локальним графічним сеансом за допомогою libvirt" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "З’єднатися з гіпервізором" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "Чекати на запуск служби" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "Заново приєднатися до домену після перезапуску" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "Відкрити у повноекранному режимі" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "Перегляд віртуальних систем" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "— графічна консоль віртуальної машини" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\nФормат: %s [ПАРАМЕТРИ] НАЗВА_ДОМЕНУ|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "Виберіть пристрої USB для переспрямування" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "Непідтримуваний тип розпізнавання %d" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "Від’єднатися" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "Вибір пристрою USB" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "Вийти з повноекранного режиму" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s — %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "Очікування на перезапуск гостьового домену" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "Не вдалося визначити тип графічної підсистеми для гостьової системи %s" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "Не вдалося визначити адресу графічного інтерфейсу для гостьової системи %s" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "Не вдалося визначити вузол для гостьової системи %s" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "Пошук гостьового домену" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "Очікування на створення гостьового домену" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "Не вдалося знайти гостьовий домен %s" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "Перевірка стану гостьового домену" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "Очікування на запуск гостьового домену" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "Очікування на запуск сервера гостьового домену" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "Не вдається встановити з’єднання з libvirt за адресою URI %s" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[немає]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "Змінити розмір автоматично" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Ctrl+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Ctrl+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Ctrl+Alt+F1_0" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Ctrl+Alt+F_1" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Ctrl+Alt+F_2" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Ctrl+Alt+F_3" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Ctrl+Alt+F_4" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Ctrl+Alt+F_5" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Ctrl+Alt+F_6" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Ctrl+Alt+F_7" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Ctrl+Alt+F_8" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Ctrl+Alt+F_9" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Ctrl+Alt+_Backspace" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Ctrl+Alt+_Del" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "Екрани" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "Повноекранний" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "Вивільнити вказівник" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "Знімок вікна" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "Вставлення картки пам’яті" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "Вилучення картки пам’яті" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "_Файл" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "_Довідка" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "_PrintScreen" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "_Надіслати клавішу" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "П_ерегляд" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "_Масштаб" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/zh_CN.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/zh_CN.po new file mode 100644 index 0000000..77519a0 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/zh_CN.po @@ -0,0 +1,560 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Aron Xu <aronxu@gnome.org>, 2010. +# Leah Liu <lliu@redhat.com>, 2010. +# Wei Liu <LLIU@REDHAT.COM>, 2012. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Chinese (China) <trans-zh_cn@lists.fedoraproject.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "源" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "捆绑的源" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "目标" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "捆绑的目标" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "源属性" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "要捆绑的源的属性" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "目标属性" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "要捆绑的目标的属性" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "标记" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "捆绑标记" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "remote-viewer 版本 %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "运行 '" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "显示版本信息" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "显示详细信息" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "无自动通道的直接连接" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "窗口缩放级别,以百分比计" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "显示调试信息" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "使用 Spice 控制器沟通打开连接" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "远程 viewer 客户端" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "缩放等级必须在 10-200 之间\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "初始化连接失败" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "显示控制器禁用的" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "控制器连接失败:%s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "无法生成 Spice 会话" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "设置 Spice 会话......" + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "无法确定 URI 的连接类型" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "无法为此类型生成会话:%s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "使用 GTK-VNC, SPICE-GTK 和 libvirt 构建远程桌面客户端" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "关于 Glade" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "版权所有 (C) 2007-2012 Daniel P. Berrange\n版权所有 (C) 2007-2012 Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "Fedora 翻译团队" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "本程序是免费软件,您可以根据自由软件基金发布的 GNU 通用公共许可证版本 2 或(您认为合适的)之后的版本重新发布和(/或)修改这个软件。\n\n发布本程序是希望它\n对您有帮助,但不做任何保证,\n也不保证可用于商业或适合特定目的。\n详情请查看 GNU 通用公共许可证。\n\n本程序附带 GNU 通用公共许可证;\n如果没有,请致电自由软件基金\n59 Temple Place, Suite 330, Boston, MA 02111-1307 USA⏎ \n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "这是最后的可见画面。您要退出吗?" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "等待画面 %d......" + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "虚拟机 %s 的未知图形类型" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "连接到 ssh 失败" + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "无法连接到通道,只支持 SSH。" + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "无法连接到不支持的通道。" + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "正在连接到图形服务器" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "已关闭虚拟机域" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "已连接到图形服务器" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "无法连接到图形服务器 %s" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "无法使用 %s 中的远程桌面服务器验证:%s\n重新尝试连接?" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "无法使用远程桌面服务器验证:%s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "USB 重新定向错误:%s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "所需验证" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "密码:" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "用户名:" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "标签" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s 版本 %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "使用 libvirt 附加本地画面" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "连接到管理程序(hypervisor)" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "等待域启动" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "重启后重新连接到域" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "使用全屏模式打开" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "Virt Viewer" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "- 虚拟机图形控制台" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\n用法:%s [选项] 域名|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "为重新定向选择 USB 设备" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "不支持的验证类型 %d" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "断开连接" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "USB 设备选择" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "离开全屏" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "等待虚拟机域重启" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "无法确定虚拟机 %s 的图形类型" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "无法确定虚拟机 %s 的图形地址" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "无法确定虚拟机 %s 的主机" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "正在查找虚拟机域" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "正在等待生成虚拟机域" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "无法找到客户端域 %s" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "正在检查虚拟机域状态" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "正在等待虚拟机域启动" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "正在等待虚拟机域启动服务器" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "无法使用 URI %s 连接到 libvirt" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[无]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "自动重新定义大小" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Ctrl+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Ctrl+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Ctrl+Alt+F1_0" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Ctrl+Alt+F_1" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Ctrl+Alt+F_2" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Ctrl+Alt+F_3" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Ctrl+Alt+F_4" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Ctrl+Alt+F_5" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Ctrl+Alt+F_6" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Ctrl+Alt+F_7" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Ctrl+Alt+F_8" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Ctrl+Alt+F_9" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Ctrl+Alt+_Backspace" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Ctrl+Alt+_Del" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "画面" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "全屏" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "释放光标" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "截屏" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "插入智能卡" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "删除智能卡" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "文件(_F)" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "帮助(_H)" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "打印屏幕(_P)" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "发送按键(_S)" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "查看(_V)" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "缩放(_Z)" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/po/zh_TW.po b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/zh_TW.po new file mode 100644 index 0000000..4cb95db --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/po/zh_TW.po @@ -0,0 +1,559 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Terry Chuang <tchuang at redhat>, 2010. +# Terry Chuang <tchuang@redhat.com>, 2012. +msgid "" +msgstr "" +"Project-Id-Version: virt-viewer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-04-25 15:50+0100\n" +"PO-Revision-Date: 2012-04-25 14:50+0000\n" +"Last-Translator: Daniel Berrange <dan-transifex@berrange.com>\n" +"Language-Team: Chinese (Taiwan) <trans-zh_TW@lists.fedoraproject.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: zh_TW\n" +"Plural-Forms: nplurals=1; plural=0\n" + +#: ../src/gbinding.c:637 +msgid "Source" +msgstr "來源" + +#: ../src/gbinding.c:638 +msgid "The source of the binding" +msgstr "綁定的來源" + +#: ../src/gbinding.c:652 +msgid "Target" +msgstr "目標" + +#: ../src/gbinding.c:653 +msgid "The target of the binding" +msgstr "綁定的目標" + +#: ../src/gbinding.c:668 +msgid "Source Property" +msgstr "來源屬性" + +#: ../src/gbinding.c:669 +msgid "The property on the source to bind" +msgstr "欲綁定之來源的屬性" + +#: ../src/gbinding.c:684 +msgid "Target Property" +msgstr "目標屬性" + +#: ../src/gbinding.c:685 +msgid "The property on the target to bind" +msgstr "欲綁定之目標的屬性" + +#: ../src/gbinding.c:699 +msgid "Flags" +msgstr "旗標" + +#: ../src/gbinding.c:700 +msgid "The binding flags" +msgstr "綁定旗標" + +#: ../src/remote-viewer-main.c:47 +#, c-format +msgid "remote-viewer version %s\n" +msgstr "remote-viewer 版本 %s\n" + +#: ../src/remote-viewer-main.c:69 +#, c-format +msgid "Invalid full-screen argument: %s" +msgstr "" + +#. Create the widgets +#: ../src/remote-viewer-main.c:104 +msgid "Connection details" +msgstr "" + +#: ../src/remote-viewer-main.c:119 +msgid "URL:" +msgstr "" + +#: ../src/remote-viewer-main.c:127 +msgid "Recent connections:" +msgstr "" + +#: ../src/remote-viewer-main.c:206 ../src/virt-viewer-main.c:60 +msgid "Run '" +msgstr "執行 '" + +#: ../src/remote-viewer-main.c:209 ../src/virt-viewer-main.c:63 +msgid "Display version information" +msgstr "顯示版本資訊" + +#: ../src/remote-viewer-main.c:211 ../src/virt-viewer-main.c:65 +msgid "Display verbose information" +msgstr "顯示詳細資訊" + +#: ../src/remote-viewer-main.c:213 ../src/virt-viewer-main.c:67 +msgid "Direct connection with no automatic tunnels" +msgstr "無自動穿隧的直接連線" + +#: ../src/remote-viewer-main.c:215 ../src/virt-viewer-main.c:77 +msgid "Zoom level of window, in percentage" +msgstr "視窗放大等級,單位為百分比" + +#: ../src/remote-viewer-main.c:217 ../src/virt-viewer-main.c:79 +msgid "Display debugging information" +msgstr "顯示除錯資訊" + +#: ../src/remote-viewer-main.c:219 +msgid "Open in full screen mode (=<auto-conf>)" +msgstr "" + +#: ../src/remote-viewer-main.c:222 +msgid "Open connection using Spice controller communication" +msgstr "透過 Spice 控制器通訊來開啟連線" + +#: ../src/remote-viewer-main.c:249 +msgid "Remote Viewer" +msgstr "" + +#. Setup command line options +#: ../src/remote-viewer-main.c:252 +msgid "- Remote viewer client" +msgstr "- 院端檢視器客戶端" + +#: ../src/remote-viewer-main.c:275 +#, c-format +msgid "Error: extra arguments given while using Spice controller\n" +msgstr "" + +#: ../src/remote-viewer-main.c:284 +#, c-format +msgid "Error: can't handle multiple URIs\n" +msgstr "" + +#: ../src/remote-viewer-main.c:291 ../src/virt-viewer-main.c:125 +#, c-format +msgid "Zoom level must be within 10-200\n" +msgstr "放大等級必須介於 10-200 之間\n" + +#: ../src/remote-viewer.c:237 ../src/remote-viewer.c:784 +msgid "Failed to initiate connection" +msgstr "初始化連線失敗" + +#: ../src/remote-viewer.c:250 +msgid "Display disabled by controller" +msgstr "畫面已被控制器停用" + +#: ../src/remote-viewer.c:697 +#, c-format +msgid "Controller connection failed: %s" +msgstr "控制器連線失敗:%s" + +#: ../src/remote-viewer.c:750 +msgid "Couldn't create a Spice session" +msgstr "無法建立 Spice 作業階段" + +#: ../src/remote-viewer.c:764 +msgid "Setting up Spice session..." +msgstr "正在設置 Spice 作業階段..." + +#: ../src/remote-viewer.c:774 +msgid "Cannot determine the connection type from URI" +msgstr "無法從網址判斷連線類型" + +#: ../src/remote-viewer.c:779 +#, c-format +msgid "Couldn't create a session for this type: %s" +msgstr "無法為此類型建立作業階段:%s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-about.xml.h:1 +msgid "A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt" +msgstr "以 GTK-VNC、SPICE-GTK 和 libvirt 所建立的遠端桌面客戶端" + +#: ../src/virt-viewer-about.xml.h:2 +msgid "About Glade" +msgstr "關於 Glade" + +#: ../src/virt-viewer-about.xml.h:3 +msgid "" +"Copyright (C) 2007-2012 Daniel P. Berrange\n" +"Copyright (C) 2007-2012 Red Hat, Inc." +msgstr "Copyright (C) 2007-2012 Daniel P. Berrange\nCopyright (C) 2007-2012 Red Hat, Inc." + +#: ../src/virt-viewer-about.xml.h:5 +msgid "The Fedora Translation Team" +msgstr "Fedora 翻譯團隊" + +#: ../src/virt-viewer-about.xml.h:6 +msgid "" +"This program is free software; you can redistribute it and/or modify\n" +"it under the terms of the GNU General Public License as published by\n" +"the Free Software Foundation; either version 2 of the License, or\n" +"(at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" +msgstr "此程式為自由軟體;您可將它重新發佈與/或對它進行修改,\n您必須同意自由軟體基金會(Free Software Foundation)的 GNU 通用\n公共許可證(GNU General Public License)的授權條款;許可證\n版本 2 或任何更新的版本。\n\n此程式乃為了方便社群使用,不過\n卻不含任何使用上的保証;甚至沒有任何適銷性上\n以及特定使用對象的保証。 欲取得更多詳細\n資訊,請參閱 GNU 通用公共許可證。\n\n當您取得此程式時,您應同時取得了\n一份 GNU 通用公共許可證。若沒有的話,請聯絡自由軟體\n基金會(Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n" + +#: ../src/virt-viewer-about.xml.h:20 +msgid "virt-manager.org" +msgstr "virt-manager.org" + +#: ../src/virt-viewer-app.c:284 +msgid "This is the last visible display. Do you want to quit?" +msgstr "這是最後的可見顯示。您是否想退出?" + +#: ../src/virt-viewer-app.c:624 +#, c-format +msgid "Waiting for display %d..." +msgstr "正在等候顯示 %d..." + +#: ../src/virt-viewer-app.c:707 +#, c-format +msgid "Unknown graphic type for the guest %s" +msgstr "客端 %s 的圖形類型不明" + +#: ../src/virt-viewer-app.c:782 +msgid "Connect to ssh failed." +msgstr "連至 ssh 的連線失敗。" + +#: ../src/virt-viewer-app.c:784 +msgid "Can't connect to channel, SSH only supported." +msgstr "無法連至頻道,僅支援 SSH。" + +#: ../src/virt-viewer-app.c:796 +msgid "Connect to channel unsupported." +msgstr "不支援連至頻道。" + +#: ../src/virt-viewer-app.c:876 +msgid "Connecting to graphic server" +msgstr "正連至圖形化伺服器" + +#: ../src/virt-viewer-app.c:1006 +msgid "Guest domain has shutdown" +msgstr "客端網域已關閉" + +#: ../src/virt-viewer-app.c:1056 +msgid "Connected to graphic server" +msgstr "已連上圖形化伺服器" + +#: ../src/virt-viewer-app.c:1082 +#, c-format +msgid "Unable to connect to the graphic server %s" +msgstr "無法連上圖形化伺服器 %s" + +#: ../src/virt-viewer-app.c:1111 +#, c-format +msgid "" +"Unable to authenticate with remote desktop server at %s: %s\n" +"Retry connection again?" +msgstr "無法在位於 %s 的遠端桌面伺服器上驗證:%s\n重新嘗試連線?" + +#: ../src/virt-viewer-app.c:1131 +#, c-format +msgid "Unable to authenticate with remote desktop server: %s" +msgstr "無法在遠端桌面伺服器驗證:%s" + +#: ../src/virt-viewer-app.c:1139 +#, c-format +msgid "USB redirection error: %s" +msgstr "USB 重定向錯誤:%s" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer-auth.xml.h:1 +msgid "Authentication required" +msgstr "須要通過驗證" + +#: ../src/virt-viewer-auth.xml.h:2 +msgid "Password:" +msgstr "密碼:" + +#: ../src/virt-viewer-auth.xml.h:3 +msgid "Username:" +msgstr "使用者名稱:" + +#: ../src/virt-viewer-auth.xml.h:4 +msgid "label" +msgstr "標籤" + +#: ../src/virt-viewer-main.c:38 +#, c-format +msgid "%s version %s\n" +msgstr "%s version %s\n" + +#: ../src/virt-viewer-main.c:69 +msgid "Attach to the local display using libvirt" +msgstr "使用 libvirt 連至本機顯示" + +#: ../src/virt-viewer-main.c:71 +msgid "Connect to hypervisor" +msgstr "連至 hypervisor" + +#: ../src/virt-viewer-main.c:73 +msgid "Wait for domain to start" +msgstr "等待網域啟用" + +#: ../src/virt-viewer-main.c:75 +msgid "Reconnect to domain upon restart" +msgstr "重新啓動時重新連至網域" + +#: ../src/virt-viewer-main.c:81 +msgid "Open in full screen mode" +msgstr "以全螢幕模式開啟" + +#: ../src/virt-viewer-main.c:96 +msgid "Virt Viewer" +msgstr "Virt 檢視器" + +#. Setup command line options +#: ../src/virt-viewer-main.c:99 +msgid "- Virtual machine graphical console" +msgstr "- 虛擬機圖形化主控臺" + +#: ../src/virt-viewer-main.c:120 +#, c-format +msgid "" +"\n" +"Usage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n" +"\n" +"%s\n" +"\n" +msgstr "\n用法:%s [OPTIONS] DOMAIN-NAME|ID|UUID\n\n%s\n\n" + +#. Create the widgets +#: ../src/virt-viewer-session-spice.c:380 +msgid "Select USB devices for redirection" +msgstr "選擇欲重新導向的 USB 裝置" + +#: ../src/virt-viewer-session-vnc.c:141 +#, c-format +msgid "Unsupported authentication type %d" +msgstr "不支援的驗證類型 %d" + +#: ../src/virt-viewer-window.c:832 +msgid "Disconnect" +msgstr "中斷連接" + +#: ../src/virt-viewer-window.c:839 ../src/virt-viewer-window.c:840 +#: ../src/virt-viewer.xml.h:22 +msgid "USB device selection" +msgstr "USB 裝置選取" + +#: ../src/virt-viewer-window.c:848 +msgid "Send key combination" +msgstr "" + +#: ../src/virt-viewer-window.c:857 ../src/virt-viewer-window.c:858 +msgid "Leave fullscreen" +msgstr "離開全螢幕" + +#: ../src/virt-viewer-window.c:937 +msgid "Ctrl+Alt" +msgstr "" + +#: ../src/virt-viewer-window.c:940 +#, c-format +msgid "(Press %s to release pointer)" +msgstr "" + +#. translators: +#. * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - +#. <appname>" +#. * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt +#. Viewer" +#. +#: ../src/virt-viewer-window.c:951 +#, c-format +msgid "%s%s%s - %s" +msgstr "%s%s%s - %s" + +#. translators: <space> +#: ../src/virt-viewer-window.c:955 +msgid " " +msgstr " " + +#: ../src/virt-viewer.c:144 +msgid "Waiting for guest domain to re-start" +msgstr "正在等候客端網域重新啓用" + +#: ../src/virt-viewer.c:308 +#, c-format +msgid "Cannot determine the graphic type for the guest %s" +msgstr "無法判斷客端 %s 的圖形化類型為何" + +#: ../src/virt-viewer.c:321 +#, c-format +msgid "Cannot determine the graphic address for the guest %s" +msgstr "無法判斷客端 %s 的圖形化位址為何" + +#: ../src/virt-viewer.c:344 +#, c-format +msgid "Cannot determine the host for the guest %s" +msgstr "無法判斷客端 %s 的主機為何" + +#: ../src/virt-viewer.c:474 +msgid "Finding guest domain" +msgstr "正在尋找客端網域" + +#: ../src/virt-viewer.c:478 +msgid "Waiting for guest domain to be created" +msgstr "正在等候客端網域被建立" + +#: ../src/virt-viewer.c:483 +#, c-format +msgid "Cannot find guest domain %s" +msgstr "找不到客端網域 %s" + +#: ../src/virt-viewer.c:490 +msgid "Checking guest domain status" +msgstr "正在檢查客端網域狀態" + +#: ../src/virt-viewer.c:497 +msgid "Waiting for guest domain to start" +msgstr "正在等候客端網域啟動" + +#: ../src/virt-viewer.c:504 +msgid "Waiting for guest domain to start server" +msgstr "正在等候客端網域啟動伺服器" + +#: ../src/virt-viewer.c:624 +#, c-format +msgid "Unable to connect to libvirt with URI %s" +msgstr "無法透過 %s 網址與 libvirt 連線" + +#: ../src/virt-viewer.c:625 +msgid "[none]" +msgstr "[無]" + +#. * Local variables: +#. * c-indent-level: 4 +#. * c-basic-offset: 4 +#. * indent-tabs-mode: nil +#. * End: +#. +#: ../src/virt-viewer.xml.h:1 +msgid "Automatically resize" +msgstr "自動重新調整大小" + +#: ../src/virt-viewer.xml.h:2 +msgid "Ctrl+Alt+F11" +msgstr "Ctrl+Alt+F11" + +#: ../src/virt-viewer.xml.h:3 +msgid "Ctrl+Alt+F12" +msgstr "Ctrl+Alt+F12" + +#: ../src/virt-viewer.xml.h:4 +msgid "Ctrl+Alt+F1_0" +msgstr "Ctrl+Alt+F1_0" + +#: ../src/virt-viewer.xml.h:5 +msgid "Ctrl+Alt+F_1" +msgstr "Ctrl+Alt+F_1" + +#: ../src/virt-viewer.xml.h:6 +msgid "Ctrl+Alt+F_2" +msgstr "Ctrl+Alt+F_2" + +#: ../src/virt-viewer.xml.h:7 +msgid "Ctrl+Alt+F_3" +msgstr "Ctrl+Alt+F_3" + +#: ../src/virt-viewer.xml.h:8 +msgid "Ctrl+Alt+F_4" +msgstr "Ctrl+Alt+F_4" + +#: ../src/virt-viewer.xml.h:9 +msgid "Ctrl+Alt+F_5" +msgstr "Ctrl+Alt+F_5" + +#: ../src/virt-viewer.xml.h:10 +msgid "Ctrl+Alt+F_6" +msgstr "Ctrl+Alt+F_6" + +#: ../src/virt-viewer.xml.h:11 +msgid "Ctrl+Alt+F_7" +msgstr "Ctrl+Alt+F_7" + +#: ../src/virt-viewer.xml.h:12 +msgid "Ctrl+Alt+F_8" +msgstr "Ctrl+Alt+F_8" + +#: ../src/virt-viewer.xml.h:13 +msgid "Ctrl+Alt+F_9" +msgstr "Ctrl+Alt+F_9" + +#: ../src/virt-viewer.xml.h:14 +msgid "Ctrl+Alt+_Backspace" +msgstr "Ctrl+Alt+_Backspace" + +#: ../src/virt-viewer.xml.h:15 +msgid "Ctrl+Alt+_Del" +msgstr "Ctrl+Alt+_Del" + +#: ../src/virt-viewer.xml.h:16 +msgid "Displays" +msgstr "顯示" + +#: ../src/virt-viewer.xml.h:17 +msgid "Full screen" +msgstr "全螢幕" + +#: ../src/virt-viewer.xml.h:18 +msgid "Release cursor" +msgstr "釋放游標" + +#: ../src/virt-viewer.xml.h:19 +msgid "Screenshot" +msgstr "螢幕快照" + +#: ../src/virt-viewer.xml.h:20 +msgid "Smartcard insertion" +msgstr "智慧卡插入" + +#: ../src/virt-viewer.xml.h:21 +msgid "Smartcard removal" +msgstr "智慧卡移除" + +#: ../src/virt-viewer.xml.h:23 +msgid "_File" +msgstr "檔案(_F)" + +#: ../src/virt-viewer.xml.h:24 +msgid "_Help" +msgstr "求助(_H)" + +#: ../src/virt-viewer.xml.h:25 +msgid "_PrintScreen" +msgstr "列印畫面(_P)" + +#: ../src/virt-viewer.xml.h:26 +msgid "_Send key" +msgstr "傳送按鍵(_S)" + +#: ../src/virt-viewer.xml.h:27 +msgid "_View" +msgstr "檢視(_V)" + +#: ../src/virt-viewer.xml.h:28 +msgid "_Zoom" +msgstr "遠近(_Z)" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/CONERR$ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/CONERR$ new file mode 100644 index 0000000..899fb28 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/CONERR$ @@ -0,0 +1,2 @@ + +(remote-viewer.exe:16392): Gdk-WARNING **: gdkdrawable-win32.c:2013 drawable is not a pixmap or window diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/Makefile.am b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/Makefile.am new file mode 100644 index 0000000..d99b043 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/Makefile.am @@ -0,0 +1,142 @@ +NULL = +LDADD = +MAINTAINERCLEANFILES = +bin_PROGRAMS = + +builderxmldir = $(pkgdatadir)/ui +builderxml_DATA = \ + virt-viewer.xml \ + virt-viewer-about.xml \ + virt-viewer-auth.xml \ + $(NULL) + +EXTRA_DIST = $(builderxml_DATA) \ + gbinding.c \ + gbinding.h + +COMMON_SOURCES = \ + virt-gtk-compat.h \ + virt-viewer-util.h virt-viewer-util.c \ + virt-viewer-auth.h virt-viewer-auth.c \ + virt-viewer-app.h virt-viewer-app.c \ + virt-viewer-session.h virt-viewer-session.c \ + virt-viewer-display.h virt-viewer-display.c \ + virt-viewer-notebook.h virt-viewer-notebook.c \ + virt-viewer-window.h virt-viewer-window.c \ + view/autoDrawer.c \ + view/autoDrawer.h \ + view/drawer.c \ + view/drawer.h \ + view/ovBox.c \ + view/ovBox.h \ + $(NULL) + +if HAVE_GTK_VNC +COMMON_SOURCES += \ + virt-viewer-session-vnc.h virt-viewer-session-vnc.c \ + virt-viewer-display-vnc.h virt-viewer-display-vnc.c \ + $(NULL) +endif + +if HAVE_SPICE_GTK +COMMON_SOURCES += \ + virt-viewer-session-spice.h virt-viewer-session-spice.c \ + virt-viewer-display-spice.h virt-viewer-display-spice.c \ + $(NULL) +endif + + +if HAVE_LIBVIRT +bin_PROGRAMS += virt-viewer +virt_viewer_SOURCES = \ + $(COMMON_SOURCES) \ + virt-viewer-events.h virt-viewer-events.c \ + virt-viewer.h virt-viewer.c \ + virt-viewer-main.c \ + $(NULL) +virt_viewer_LDFLAGS = \ + -lm \ + $(GLIB2_LIBS) \ + $(GTK_LIBS) \ + $(LIBXML2_LIBS) \ + $(LIBVIRT_LIBS) \ + $(NULL) +virt_viewer_CFLAGS = \ + -DLOCALE_DIR=\""$(datadir)/locale"\" \ + -DG_LOG_DOMAIN=\"virt-viewer\" \ + $(GLIB2_CFLAGS) \ + $(GTK_CFLAGS) \ + $(LIBXML2_CFLAGS) \ + $(LIBVIRT_CFLAGS) \ + $(WARN_CFLAGS) \ + $(NULL) + +if HAVE_GTK_VNC +virt_viewer_LDFLAGS += $(GTK_VNC_LIBS) +virt_viewer_CFLAGS += $(GTK_VNC_CFLAGS) +endif +if HAVE_SPICE_GTK +virt_viewer_LDFLAGS += $(SPICE_GTK_LIBS) +virt_viewer_CFLAGS += $(SPICE_GTK_CFLAGS) +endif +endif + + +bin_PROGRAMS += remote-viewer +remote_viewer_SOURCES = \ + $(COMMON_SOURCES) \ + remote-viewer.h remote-viewer.c \ + remote-viewer-main.c \ + $(NULL) +remote_viewer_LDFLAGS = \ + -lm \ + $(GLIB2_LIBS) \ + $(GTK_LIBS) \ + $(LIBXML2_LIBS) \ + $(NULL) +remote_viewer_CFLAGS = \ + -DLOCALE_DIR=\""$(datadir)/locale"\" \ + -DG_LOG_DOMAIN=\"remote-viewer\" \ + $(GLIB2_CFLAGS) \ + $(GTK_CFLAGS) \ + $(LIBXML2_CFLAGS) \ + $(WARN_CFLAGS) \ + $(NULL) + +if HAVE_GTK_VNC +remote_viewer_LDFLAGS += $(GTK_VNC_LIBS) +remote_viewer_CFLAGS += $(GTK_VNC_CFLAGS) +endif +if HAVE_SPICE_GTK +remote_viewer_LDFLAGS += $(SPICE_GTK_LIBS) $(SPICE_CONTROLLER_LIBS) +remote_viewer_CFLAGS += $(SPICE_GTK_CFLAGS) $(SPICE_CONTROLLER_CFLAGS) +endif +if OS_WIN32 +remote_viewer_LDFLAGS += -Wl,--subsystem,windows +endif + +desktopdir = $(datadir)/applications +desktop_DATA = remote-viewer.desktop + +EXTRA_DIST += $(desktop_DATA) + +VIRT_VIEWER_RES = virt-viewer.rc virt-viewer.manifest +ICONDIR = $(top_srcdir)/icons +MANIFESTDIR = $(srcdir) +EXTRA_DIST += $(VIRT_VIEWER_RES) + +if OS_WIN32 +bin_PROGRAMS += windows-cmdline-wrapper +windows_cmdline_wrapper_SOURCES = windows-cmdline-wrapper.c +windows_cmdline_wrapper_LDFLAGS = -lpsapi + +virt-viewer_rc.$(OBJEXT): $(VIRT_VIEWER_RES) $(ICONDIR)/virt-viewer.ico + $(AM_V_GEN)$(WINDRES) \ + -DICONDIR='\"$(ICONDIR)\"' \ + -DMANIFESTDIR='\"$(MANIFESTDIR)\"' \ + -i $< -o $@ +LDADD += virt-viewer_rc.$(OBJEXT) +MAINTAINERCLEANFILES += virt-viewer_rc.$(OBJEXT) +endif + +-include $(top_srcdir)/git.mk diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/Makefile.in b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/Makefile.in new file mode 100644 index 0000000..3c74340 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/Makefile.in @@ -0,0 +1,1343 @@ +# 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@ + + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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@ +bin_PROGRAMS = $(am__EXEEXT_1) remote-viewer$(EXEEXT) $(am__EXEEXT_2) +@HAVE_GTK_VNC_TRUE@am__append_1 = \ +@HAVE_GTK_VNC_TRUE@ virt-viewer-session-vnc.h virt-viewer-session-vnc.c \ +@HAVE_GTK_VNC_TRUE@ virt-viewer-display-vnc.h virt-viewer-display-vnc.c \ +@HAVE_GTK_VNC_TRUE@ $(NULL) + +@HAVE_SPICE_GTK_TRUE@am__append_2 = \ +@HAVE_SPICE_GTK_TRUE@ virt-viewer-session-spice.h virt-viewer-session-spice.c \ +@HAVE_SPICE_GTK_TRUE@ virt-viewer-display-spice.h virt-viewer-display-spice.c \ +@HAVE_SPICE_GTK_TRUE@ $(NULL) + +@HAVE_LIBVIRT_TRUE@am__append_3 = virt-viewer +@HAVE_GTK_VNC_TRUE@@HAVE_LIBVIRT_TRUE@am__append_4 = $(GTK_VNC_LIBS) +@HAVE_GTK_VNC_TRUE@@HAVE_LIBVIRT_TRUE@am__append_5 = $(GTK_VNC_CFLAGS) +@HAVE_LIBVIRT_TRUE@@HAVE_SPICE_GTK_TRUE@am__append_6 = $(SPICE_GTK_LIBS) +@HAVE_LIBVIRT_TRUE@@HAVE_SPICE_GTK_TRUE@am__append_7 = $(SPICE_GTK_CFLAGS) +@HAVE_GTK_VNC_TRUE@am__append_8 = $(GTK_VNC_LIBS) +@HAVE_GTK_VNC_TRUE@am__append_9 = $(GTK_VNC_CFLAGS) +@HAVE_SPICE_GTK_TRUE@am__append_10 = $(SPICE_GTK_LIBS) $(SPICE_CONTROLLER_LIBS) +@HAVE_SPICE_GTK_TRUE@am__append_11 = $(SPICE_GTK_CFLAGS) $(SPICE_CONTROLLER_CFLAGS) +@OS_WIN32_TRUE@am__append_12 = -Wl,--subsystem,windows +@OS_WIN32_TRUE@am__append_13 = windows-cmdline-wrapper +@OS_WIN32_TRUE@am__append_14 = virt-viewer_rc.$(OBJEXT) +@OS_WIN32_TRUE@am__append_15 = virt-viewer_rc.$(OBJEXT) +subdir = src +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ + $(srcdir)/virt-viewer.rc.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.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 = virt-viewer.rc +CONFIG_CLEAN_VPATH_FILES = +@HAVE_LIBVIRT_TRUE@am__EXEEXT_1 = virt-viewer$(EXEEXT) +@OS_WIN32_TRUE@am__EXEEXT_2 = windows-cmdline-wrapper$(EXEEXT) +am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(builderxmldir)" \ + "$(DESTDIR)$(desktopdir)" +PROGRAMS = $(bin_PROGRAMS) +am__remote_viewer_SOURCES_DIST = virt-gtk-compat.h virt-viewer-util.h \ + virt-viewer-util.c virt-viewer-auth.h virt-viewer-auth.c \ + virt-viewer-app.h virt-viewer-app.c virt-viewer-session.h \ + virt-viewer-session.c virt-viewer-display.h \ + virt-viewer-display.c virt-viewer-notebook.h \ + virt-viewer-notebook.c virt-viewer-window.h \ + virt-viewer-window.c view/autoDrawer.c view/autoDrawer.h \ + view/drawer.c view/drawer.h view/ovBox.c view/ovBox.h \ + virt-viewer-session-vnc.h virt-viewer-session-vnc.c \ + virt-viewer-display-vnc.h virt-viewer-display-vnc.c \ + virt-viewer-session-spice.h virt-viewer-session-spice.c \ + virt-viewer-display-spice.h virt-viewer-display-spice.c \ + remote-viewer.h remote-viewer.c remote-viewer-main.c +am__objects_1 = +@HAVE_GTK_VNC_TRUE@am__objects_2 = remote_viewer-virt-viewer-session-vnc.$(OBJEXT) \ +@HAVE_GTK_VNC_TRUE@ remote_viewer-virt-viewer-display-vnc.$(OBJEXT) \ +@HAVE_GTK_VNC_TRUE@ $(am__objects_1) +@HAVE_SPICE_GTK_TRUE@am__objects_3 = remote_viewer-virt-viewer-session-spice.$(OBJEXT) \ +@HAVE_SPICE_GTK_TRUE@ remote_viewer-virt-viewer-display-spice.$(OBJEXT) \ +@HAVE_SPICE_GTK_TRUE@ $(am__objects_1) +am__objects_4 = remote_viewer-virt-viewer-util.$(OBJEXT) \ + remote_viewer-virt-viewer-auth.$(OBJEXT) \ + remote_viewer-virt-viewer-app.$(OBJEXT) \ + remote_viewer-virt-viewer-session.$(OBJEXT) \ + remote_viewer-virt-viewer-display.$(OBJEXT) \ + remote_viewer-virt-viewer-notebook.$(OBJEXT) \ + remote_viewer-virt-viewer-window.$(OBJEXT) \ + remote_viewer-autoDrawer.$(OBJEXT) \ + remote_viewer-drawer.$(OBJEXT) remote_viewer-ovBox.$(OBJEXT) \ + $(am__objects_1) $(am__objects_2) $(am__objects_3) +am_remote_viewer_OBJECTS = $(am__objects_4) \ + remote_viewer-remote-viewer.$(OBJEXT) \ + remote_viewer-remote-viewer-main.$(OBJEXT) $(am__objects_1) +remote_viewer_OBJECTS = $(am_remote_viewer_OBJECTS) +remote_viewer_LDADD = $(LDADD) +remote_viewer_DEPENDENCIES = $(am__append_14) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +remote_viewer_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(remote_viewer_CFLAGS) \ + $(CFLAGS) $(remote_viewer_LDFLAGS) $(LDFLAGS) -o $@ +am__virt_viewer_SOURCES_DIST = virt-gtk-compat.h virt-viewer-util.h \ + virt-viewer-util.c virt-viewer-auth.h virt-viewer-auth.c \ + virt-viewer-app.h virt-viewer-app.c virt-viewer-session.h \ + virt-viewer-session.c virt-viewer-display.h \ + virt-viewer-display.c virt-viewer-notebook.h \ + virt-viewer-notebook.c virt-viewer-window.h \ + virt-viewer-window.c view/autoDrawer.c view/autoDrawer.h \ + view/drawer.c view/drawer.h view/ovBox.c view/ovBox.h \ + virt-viewer-session-vnc.h virt-viewer-session-vnc.c \ + virt-viewer-display-vnc.h virt-viewer-display-vnc.c \ + virt-viewer-session-spice.h virt-viewer-session-spice.c \ + virt-viewer-display-spice.h virt-viewer-display-spice.c \ + virt-viewer-events.h virt-viewer-events.c virt-viewer.h \ + virt-viewer.c virt-viewer-main.c +@HAVE_GTK_VNC_TRUE@am__objects_5 = virt_viewer-virt-viewer-session-vnc.$(OBJEXT) \ +@HAVE_GTK_VNC_TRUE@ virt_viewer-virt-viewer-display-vnc.$(OBJEXT) \ +@HAVE_GTK_VNC_TRUE@ $(am__objects_1) +@HAVE_SPICE_GTK_TRUE@am__objects_6 = virt_viewer-virt-viewer-session-spice.$(OBJEXT) \ +@HAVE_SPICE_GTK_TRUE@ virt_viewer-virt-viewer-display-spice.$(OBJEXT) \ +@HAVE_SPICE_GTK_TRUE@ $(am__objects_1) +am__objects_7 = virt_viewer-virt-viewer-util.$(OBJEXT) \ + virt_viewer-virt-viewer-auth.$(OBJEXT) \ + virt_viewer-virt-viewer-app.$(OBJEXT) \ + virt_viewer-virt-viewer-session.$(OBJEXT) \ + virt_viewer-virt-viewer-display.$(OBJEXT) \ + virt_viewer-virt-viewer-notebook.$(OBJEXT) \ + virt_viewer-virt-viewer-window.$(OBJEXT) \ + virt_viewer-autoDrawer.$(OBJEXT) virt_viewer-drawer.$(OBJEXT) \ + virt_viewer-ovBox.$(OBJEXT) $(am__objects_1) $(am__objects_5) \ + $(am__objects_6) +@HAVE_LIBVIRT_TRUE@am_virt_viewer_OBJECTS = $(am__objects_7) \ +@HAVE_LIBVIRT_TRUE@ virt_viewer-virt-viewer-events.$(OBJEXT) \ +@HAVE_LIBVIRT_TRUE@ virt_viewer-virt-viewer.$(OBJEXT) \ +@HAVE_LIBVIRT_TRUE@ virt_viewer-virt-viewer-main.$(OBJEXT) \ +@HAVE_LIBVIRT_TRUE@ $(am__objects_1) +virt_viewer_OBJECTS = $(am_virt_viewer_OBJECTS) +virt_viewer_LDADD = $(LDADD) +virt_viewer_DEPENDENCIES = $(am__append_14) +virt_viewer_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(virt_viewer_CFLAGS) \ + $(CFLAGS) $(virt_viewer_LDFLAGS) $(LDFLAGS) -o $@ +am__windows_cmdline_wrapper_SOURCES_DIST = windows-cmdline-wrapper.c +@OS_WIN32_TRUE@am_windows_cmdline_wrapper_OBJECTS = \ +@OS_WIN32_TRUE@ windows-cmdline-wrapper.$(OBJEXT) +windows_cmdline_wrapper_OBJECTS = \ + $(am_windows_cmdline_wrapper_OBJECTS) +windows_cmdline_wrapper_LDADD = $(LDADD) +windows_cmdline_wrapper_DEPENDENCIES = $(am__append_14) +windows_cmdline_wrapper_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(AM_CFLAGS) $(CFLAGS) $(windows_cmdline_wrapper_LDFLAGS) \ + $(LDFLAGS) -o $@ +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +SOURCES = $(remote_viewer_SOURCES) $(virt_viewer_SOURCES) \ + $(windows_cmdline_wrapper_SOURCES) +DIST_SOURCES = $(am__remote_viewer_SOURCES_DIST) \ + $(am__virt_viewer_SOURCES_DIST) \ + $(am__windows_cmdline_wrapper_SOURCES_DIST) +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; }; \ + } +DATA = $(builderxml_DATA) $(desktop_DATA) +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +FIREFOX_PLUGIN_CFLAGS = @FIREFOX_PLUGIN_CFLAGS@ +FIREFOX_PLUGIN_LIBS = @FIREFOX_PLUGIN_LIBS@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GLIB2_CFLAGS = @GLIB2_CFLAGS@ +GLIB2_LIBS = @GLIB2_LIBS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +GTK_API_VERSION = @GTK_API_VERSION@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +GTK_REQUIRED = @GTK_REQUIRED@ +GTK_VNC_API_VERSION = @GTK_VNC_API_VERSION@ +GTK_VNC_CFLAGS = @GTK_VNC_CFLAGS@ +GTK_VNC_LIBS = @GTK_VNC_LIBS@ +ICOTOOL = @ICOTOOL@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIBVIRT_CFLAGS = @LIBVIRT_CFLAGS@ +LIBVIRT_LIBS = @LIBVIRT_LIBS@ +LIBXML2_CFLAGS = @LIBXML2_CFLAGS@ +LIBXML2_LIBS = @LIBXML2_LIBS@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MOZILLA_PLUGIN_CFLAGS = @MOZILLA_PLUGIN_CFLAGS@ +MOZILLA_PLUGIN_LIBS = @MOZILLA_PLUGIN_LIBS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +NSPR_CFLAGS = @NSPR_CFLAGS@ +NSPR_LIBS = @NSPR_LIBS@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SPICE_CONTROLLER_CFLAGS = @SPICE_CONTROLLER_CFLAGS@ +SPICE_CONTROLLER_LIBS = @SPICE_CONTROLLER_LIBS@ +SPICE_GTK_CFLAGS = @SPICE_GTK_CFLAGS@ +SPICE_GTK_LIBS = @SPICE_GTK_LIBS@ +SPICE_PROTOCOL_CFLAGS = @SPICE_PROTOCOL_CFLAGS@ +SPICE_PROTOCOL_LIBS = @SPICE_PROTOCOL_LIBS@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WARN_CFLAGS = @WARN_CFLAGS@ +WINDRES = @WINDRES@ +XGETTEXT = @XGETTEXT@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +intltool__v_merge_options_ = @intltool__v_merge_options_@ +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ +libdir = @libdir@ +libexecdir = @libexecdir@ +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@ +NULL = +LDADD = $(am__append_14) +MAINTAINERCLEANFILES = $(am__append_15) +builderxmldir = $(pkgdatadir)/ui +builderxml_DATA = \ + virt-viewer.xml \ + virt-viewer-about.xml \ + virt-viewer-auth.xml \ + $(NULL) + +EXTRA_DIST = $(builderxml_DATA) gbinding.c gbinding.h $(desktop_DATA) \ + $(VIRT_VIEWER_RES) +COMMON_SOURCES = virt-gtk-compat.h virt-viewer-util.h \ + virt-viewer-util.c virt-viewer-auth.h virt-viewer-auth.c \ + virt-viewer-app.h virt-viewer-app.c virt-viewer-session.h \ + virt-viewer-session.c virt-viewer-display.h \ + virt-viewer-display.c virt-viewer-notebook.h \ + virt-viewer-notebook.c virt-viewer-window.h \ + virt-viewer-window.c view/autoDrawer.c view/autoDrawer.h \ + view/drawer.c view/drawer.h view/ovBox.c view/ovBox.h $(NULL) \ + $(am__append_1) $(am__append_2) +@HAVE_LIBVIRT_TRUE@virt_viewer_SOURCES = \ +@HAVE_LIBVIRT_TRUE@ $(COMMON_SOURCES) \ +@HAVE_LIBVIRT_TRUE@ virt-viewer-events.h virt-viewer-events.c \ +@HAVE_LIBVIRT_TRUE@ virt-viewer.h virt-viewer.c \ +@HAVE_LIBVIRT_TRUE@ virt-viewer-main.c \ +@HAVE_LIBVIRT_TRUE@ $(NULL) + +@HAVE_LIBVIRT_TRUE@virt_viewer_LDFLAGS = -lm $(GLIB2_LIBS) $(GTK_LIBS) \ +@HAVE_LIBVIRT_TRUE@ $(LIBXML2_LIBS) $(LIBVIRT_LIBS) $(NULL) \ +@HAVE_LIBVIRT_TRUE@ $(am__append_4) $(am__append_6) +@HAVE_LIBVIRT_TRUE@virt_viewer_CFLAGS = \ +@HAVE_LIBVIRT_TRUE@ -DLOCALE_DIR=\""$(datadir)/locale"\" \ +@HAVE_LIBVIRT_TRUE@ -DG_LOG_DOMAIN=\"virt-viewer\" \ +@HAVE_LIBVIRT_TRUE@ $(GLIB2_CFLAGS) $(GTK_CFLAGS) \ +@HAVE_LIBVIRT_TRUE@ $(LIBXML2_CFLAGS) $(LIBVIRT_CFLAGS) \ +@HAVE_LIBVIRT_TRUE@ $(WARN_CFLAGS) $(NULL) $(am__append_5) \ +@HAVE_LIBVIRT_TRUE@ $(am__append_7) +remote_viewer_SOURCES = \ + $(COMMON_SOURCES) \ + remote-viewer.h remote-viewer.c \ + remote-viewer-main.c \ + $(NULL) + +remote_viewer_LDFLAGS = -lm $(GLIB2_LIBS) $(GTK_LIBS) $(LIBXML2_LIBS) \ + $(NULL) $(am__append_8) $(am__append_10) $(am__append_12) +remote_viewer_CFLAGS = -DLOCALE_DIR=\""$(datadir)/locale"\" \ + -DG_LOG_DOMAIN=\"remote-viewer\" $(GLIB2_CFLAGS) $(GTK_CFLAGS) \ + $(LIBXML2_CFLAGS) $(WARN_CFLAGS) $(NULL) $(am__append_9) \ + $(am__append_11) +desktopdir = $(datadir)/applications +desktop_DATA = remote-viewer.desktop +VIRT_VIEWER_RES = virt-viewer.rc virt-viewer.manifest +ICONDIR = $(top_srcdir)/icons +MANIFESTDIR = $(srcdir) +@OS_WIN32_TRUE@windows_cmdline_wrapper_SOURCES = windows-cmdline-wrapper.c +@OS_WIN32_TRUE@windows_cmdline_wrapper_LDFLAGS = -lpsapi +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(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 src/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu src/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): +virt-viewer.rc: $(top_builddir)/config.status $(srcdir)/virt-viewer.rc.in + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + for p in $$list; do echo "$$p $$p"; done | \ + sed 's/$(EXEEXT)$$//' | \ + while read p p1; do if test -f $$p || test -f $$p1; \ + then echo "$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ + sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) files[d] = files[d] " " $$1; \ + else { print "f", $$3 "/" $$4, $$1; } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ + -e 's/$$/$(EXEEXT)/' `; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(bindir)" && rm -f $$files + +clean-binPROGRAMS: + @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ + echo " rm -f" $$list; \ + rm -f $$list || exit $$?; \ + test -n "$(EXEEXT)" || exit 0; \ + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f" $$list; \ + rm -f $$list +remote-viewer$(EXEEXT): $(remote_viewer_OBJECTS) $(remote_viewer_DEPENDENCIES) $(EXTRA_remote_viewer_DEPENDENCIES) + @rm -f remote-viewer$(EXEEXT) + $(AM_V_CCLD)$(remote_viewer_LINK) $(remote_viewer_OBJECTS) $(remote_viewer_LDADD) $(LIBS) +virt-viewer$(EXEEXT): $(virt_viewer_OBJECTS) $(virt_viewer_DEPENDENCIES) $(EXTRA_virt_viewer_DEPENDENCIES) + @rm -f virt-viewer$(EXEEXT) + $(AM_V_CCLD)$(virt_viewer_LINK) $(virt_viewer_OBJECTS) $(virt_viewer_LDADD) $(LIBS) +windows-cmdline-wrapper$(EXEEXT): $(windows_cmdline_wrapper_OBJECTS) $(windows_cmdline_wrapper_DEPENDENCIES) $(EXTRA_windows_cmdline_wrapper_DEPENDENCIES) + @rm -f windows-cmdline-wrapper$(EXEEXT) + $(AM_V_CCLD)$(windows_cmdline_wrapper_LINK) $(windows_cmdline_wrapper_OBJECTS) $(windows_cmdline_wrapper_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remote_viewer-autoDrawer.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remote_viewer-drawer.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remote_viewer-ovBox.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remote_viewer-remote-viewer-main.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remote_viewer-remote-viewer.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remote_viewer-virt-viewer-app.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remote_viewer-virt-viewer-auth.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remote_viewer-virt-viewer-display-spice.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remote_viewer-virt-viewer-display-vnc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remote_viewer-virt-viewer-display.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remote_viewer-virt-viewer-notebook.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remote_viewer-virt-viewer-session-spice.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remote_viewer-virt-viewer-session-vnc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remote_viewer-virt-viewer-session.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remote_viewer-virt-viewer-util.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remote_viewer-virt-viewer-window.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_viewer-autoDrawer.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_viewer-drawer.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_viewer-ovBox.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_viewer-virt-viewer-app.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_viewer-virt-viewer-auth.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_viewer-virt-viewer-display-spice.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_viewer-virt-viewer-display-vnc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_viewer-virt-viewer-display.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_viewer-virt-viewer-events.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_viewer-virt-viewer-main.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_viewer-virt-viewer-notebook.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_viewer-virt-viewer-session-spice.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_viewer-virt-viewer-session-vnc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_viewer-virt-viewer-session.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_viewer-virt-viewer-util.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_viewer-virt-viewer-window.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virt_viewer-virt-viewer.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/windows-cmdline-wrapper.Po@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +remote_viewer-virt-viewer-util.o: virt-viewer-util.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-virt-viewer-util.o -MD -MP -MF $(DEPDIR)/remote_viewer-virt-viewer-util.Tpo -c -o remote_viewer-virt-viewer-util.o `test -f 'virt-viewer-util.c' || echo '$(srcdir)/'`virt-viewer-util.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-virt-viewer-util.Tpo $(DEPDIR)/remote_viewer-virt-viewer-util.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-util.c' object='remote_viewer-virt-viewer-util.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-virt-viewer-util.o `test -f 'virt-viewer-util.c' || echo '$(srcdir)/'`virt-viewer-util.c + +remote_viewer-virt-viewer-util.obj: virt-viewer-util.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-virt-viewer-util.obj -MD -MP -MF $(DEPDIR)/remote_viewer-virt-viewer-util.Tpo -c -o remote_viewer-virt-viewer-util.obj `if test -f 'virt-viewer-util.c'; then $(CYGPATH_W) 'virt-viewer-util.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-util.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-virt-viewer-util.Tpo $(DEPDIR)/remote_viewer-virt-viewer-util.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-util.c' object='remote_viewer-virt-viewer-util.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-virt-viewer-util.obj `if test -f 'virt-viewer-util.c'; then $(CYGPATH_W) 'virt-viewer-util.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-util.c'; fi` + +remote_viewer-virt-viewer-auth.o: virt-viewer-auth.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-virt-viewer-auth.o -MD -MP -MF $(DEPDIR)/remote_viewer-virt-viewer-auth.Tpo -c -o remote_viewer-virt-viewer-auth.o `test -f 'virt-viewer-auth.c' || echo '$(srcdir)/'`virt-viewer-auth.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-virt-viewer-auth.Tpo $(DEPDIR)/remote_viewer-virt-viewer-auth.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-auth.c' object='remote_viewer-virt-viewer-auth.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-virt-viewer-auth.o `test -f 'virt-viewer-auth.c' || echo '$(srcdir)/'`virt-viewer-auth.c + +remote_viewer-virt-viewer-auth.obj: virt-viewer-auth.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-virt-viewer-auth.obj -MD -MP -MF $(DEPDIR)/remote_viewer-virt-viewer-auth.Tpo -c -o remote_viewer-virt-viewer-auth.obj `if test -f 'virt-viewer-auth.c'; then $(CYGPATH_W) 'virt-viewer-auth.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-auth.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-virt-viewer-auth.Tpo $(DEPDIR)/remote_viewer-virt-viewer-auth.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-auth.c' object='remote_viewer-virt-viewer-auth.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-virt-viewer-auth.obj `if test -f 'virt-viewer-auth.c'; then $(CYGPATH_W) 'virt-viewer-auth.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-auth.c'; fi` + +remote_viewer-virt-viewer-app.o: virt-viewer-app.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-virt-viewer-app.o -MD -MP -MF $(DEPDIR)/remote_viewer-virt-viewer-app.Tpo -c -o remote_viewer-virt-viewer-app.o `test -f 'virt-viewer-app.c' || echo '$(srcdir)/'`virt-viewer-app.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-virt-viewer-app.Tpo $(DEPDIR)/remote_viewer-virt-viewer-app.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-app.c' object='remote_viewer-virt-viewer-app.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-virt-viewer-app.o `test -f 'virt-viewer-app.c' || echo '$(srcdir)/'`virt-viewer-app.c + +remote_viewer-virt-viewer-app.obj: virt-viewer-app.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-virt-viewer-app.obj -MD -MP -MF $(DEPDIR)/remote_viewer-virt-viewer-app.Tpo -c -o remote_viewer-virt-viewer-app.obj `if test -f 'virt-viewer-app.c'; then $(CYGPATH_W) 'virt-viewer-app.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-app.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-virt-viewer-app.Tpo $(DEPDIR)/remote_viewer-virt-viewer-app.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-app.c' object='remote_viewer-virt-viewer-app.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-virt-viewer-app.obj `if test -f 'virt-viewer-app.c'; then $(CYGPATH_W) 'virt-viewer-app.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-app.c'; fi` + +remote_viewer-virt-viewer-session.o: virt-viewer-session.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-virt-viewer-session.o -MD -MP -MF $(DEPDIR)/remote_viewer-virt-viewer-session.Tpo -c -o remote_viewer-virt-viewer-session.o `test -f 'virt-viewer-session.c' || echo '$(srcdir)/'`virt-viewer-session.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-virt-viewer-session.Tpo $(DEPDIR)/remote_viewer-virt-viewer-session.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-session.c' object='remote_viewer-virt-viewer-session.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-virt-viewer-session.o `test -f 'virt-viewer-session.c' || echo '$(srcdir)/'`virt-viewer-session.c + +remote_viewer-virt-viewer-session.obj: virt-viewer-session.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-virt-viewer-session.obj -MD -MP -MF $(DEPDIR)/remote_viewer-virt-viewer-session.Tpo -c -o remote_viewer-virt-viewer-session.obj `if test -f 'virt-viewer-session.c'; then $(CYGPATH_W) 'virt-viewer-session.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-session.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-virt-viewer-session.Tpo $(DEPDIR)/remote_viewer-virt-viewer-session.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-session.c' object='remote_viewer-virt-viewer-session.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-virt-viewer-session.obj `if test -f 'virt-viewer-session.c'; then $(CYGPATH_W) 'virt-viewer-session.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-session.c'; fi` + +remote_viewer-virt-viewer-display.o: virt-viewer-display.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-virt-viewer-display.o -MD -MP -MF $(DEPDIR)/remote_viewer-virt-viewer-display.Tpo -c -o remote_viewer-virt-viewer-display.o `test -f 'virt-viewer-display.c' || echo '$(srcdir)/'`virt-viewer-display.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-virt-viewer-display.Tpo $(DEPDIR)/remote_viewer-virt-viewer-display.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-display.c' object='remote_viewer-virt-viewer-display.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-virt-viewer-display.o `test -f 'virt-viewer-display.c' || echo '$(srcdir)/'`virt-viewer-display.c + +remote_viewer-virt-viewer-display.obj: virt-viewer-display.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-virt-viewer-display.obj -MD -MP -MF $(DEPDIR)/remote_viewer-virt-viewer-display.Tpo -c -o remote_viewer-virt-viewer-display.obj `if test -f 'virt-viewer-display.c'; then $(CYGPATH_W) 'virt-viewer-display.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-display.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-virt-viewer-display.Tpo $(DEPDIR)/remote_viewer-virt-viewer-display.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-display.c' object='remote_viewer-virt-viewer-display.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-virt-viewer-display.obj `if test -f 'virt-viewer-display.c'; then $(CYGPATH_W) 'virt-viewer-display.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-display.c'; fi` + +remote_viewer-virt-viewer-notebook.o: virt-viewer-notebook.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-virt-viewer-notebook.o -MD -MP -MF $(DEPDIR)/remote_viewer-virt-viewer-notebook.Tpo -c -o remote_viewer-virt-viewer-notebook.o `test -f 'virt-viewer-notebook.c' || echo '$(srcdir)/'`virt-viewer-notebook.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-virt-viewer-notebook.Tpo $(DEPDIR)/remote_viewer-virt-viewer-notebook.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-notebook.c' object='remote_viewer-virt-viewer-notebook.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-virt-viewer-notebook.o `test -f 'virt-viewer-notebook.c' || echo '$(srcdir)/'`virt-viewer-notebook.c + +remote_viewer-virt-viewer-notebook.obj: virt-viewer-notebook.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-virt-viewer-notebook.obj -MD -MP -MF $(DEPDIR)/remote_viewer-virt-viewer-notebook.Tpo -c -o remote_viewer-virt-viewer-notebook.obj `if test -f 'virt-viewer-notebook.c'; then $(CYGPATH_W) 'virt-viewer-notebook.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-notebook.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-virt-viewer-notebook.Tpo $(DEPDIR)/remote_viewer-virt-viewer-notebook.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-notebook.c' object='remote_viewer-virt-viewer-notebook.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-virt-viewer-notebook.obj `if test -f 'virt-viewer-notebook.c'; then $(CYGPATH_W) 'virt-viewer-notebook.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-notebook.c'; fi` + +remote_viewer-virt-viewer-window.o: virt-viewer-window.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-virt-viewer-window.o -MD -MP -MF $(DEPDIR)/remote_viewer-virt-viewer-window.Tpo -c -o remote_viewer-virt-viewer-window.o `test -f 'virt-viewer-window.c' || echo '$(srcdir)/'`virt-viewer-window.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-virt-viewer-window.Tpo $(DEPDIR)/remote_viewer-virt-viewer-window.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-window.c' object='remote_viewer-virt-viewer-window.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-virt-viewer-window.o `test -f 'virt-viewer-window.c' || echo '$(srcdir)/'`virt-viewer-window.c + +remote_viewer-virt-viewer-window.obj: virt-viewer-window.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-virt-viewer-window.obj -MD -MP -MF $(DEPDIR)/remote_viewer-virt-viewer-window.Tpo -c -o remote_viewer-virt-viewer-window.obj `if test -f 'virt-viewer-window.c'; then $(CYGPATH_W) 'virt-viewer-window.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-window.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-virt-viewer-window.Tpo $(DEPDIR)/remote_viewer-virt-viewer-window.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-window.c' object='remote_viewer-virt-viewer-window.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-virt-viewer-window.obj `if test -f 'virt-viewer-window.c'; then $(CYGPATH_W) 'virt-viewer-window.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-window.c'; fi` + +remote_viewer-autoDrawer.o: view/autoDrawer.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-autoDrawer.o -MD -MP -MF $(DEPDIR)/remote_viewer-autoDrawer.Tpo -c -o remote_viewer-autoDrawer.o `test -f 'view/autoDrawer.c' || echo '$(srcdir)/'`view/autoDrawer.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-autoDrawer.Tpo $(DEPDIR)/remote_viewer-autoDrawer.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='view/autoDrawer.c' object='remote_viewer-autoDrawer.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-autoDrawer.o `test -f 'view/autoDrawer.c' || echo '$(srcdir)/'`view/autoDrawer.c + +remote_viewer-autoDrawer.obj: view/autoDrawer.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-autoDrawer.obj -MD -MP -MF $(DEPDIR)/remote_viewer-autoDrawer.Tpo -c -o remote_viewer-autoDrawer.obj `if test -f 'view/autoDrawer.c'; then $(CYGPATH_W) 'view/autoDrawer.c'; else $(CYGPATH_W) '$(srcdir)/view/autoDrawer.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-autoDrawer.Tpo $(DEPDIR)/remote_viewer-autoDrawer.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='view/autoDrawer.c' object='remote_viewer-autoDrawer.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-autoDrawer.obj `if test -f 'view/autoDrawer.c'; then $(CYGPATH_W) 'view/autoDrawer.c'; else $(CYGPATH_W) '$(srcdir)/view/autoDrawer.c'; fi` + +remote_viewer-drawer.o: view/drawer.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-drawer.o -MD -MP -MF $(DEPDIR)/remote_viewer-drawer.Tpo -c -o remote_viewer-drawer.o `test -f 'view/drawer.c' || echo '$(srcdir)/'`view/drawer.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-drawer.Tpo $(DEPDIR)/remote_viewer-drawer.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='view/drawer.c' object='remote_viewer-drawer.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-drawer.o `test -f 'view/drawer.c' || echo '$(srcdir)/'`view/drawer.c + +remote_viewer-drawer.obj: view/drawer.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-drawer.obj -MD -MP -MF $(DEPDIR)/remote_viewer-drawer.Tpo -c -o remote_viewer-drawer.obj `if test -f 'view/drawer.c'; then $(CYGPATH_W) 'view/drawer.c'; else $(CYGPATH_W) '$(srcdir)/view/drawer.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-drawer.Tpo $(DEPDIR)/remote_viewer-drawer.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='view/drawer.c' object='remote_viewer-drawer.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-drawer.obj `if test -f 'view/drawer.c'; then $(CYGPATH_W) 'view/drawer.c'; else $(CYGPATH_W) '$(srcdir)/view/drawer.c'; fi` + +remote_viewer-ovBox.o: view/ovBox.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-ovBox.o -MD -MP -MF $(DEPDIR)/remote_viewer-ovBox.Tpo -c -o remote_viewer-ovBox.o `test -f 'view/ovBox.c' || echo '$(srcdir)/'`view/ovBox.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-ovBox.Tpo $(DEPDIR)/remote_viewer-ovBox.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='view/ovBox.c' object='remote_viewer-ovBox.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-ovBox.o `test -f 'view/ovBox.c' || echo '$(srcdir)/'`view/ovBox.c + +remote_viewer-ovBox.obj: view/ovBox.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-ovBox.obj -MD -MP -MF $(DEPDIR)/remote_viewer-ovBox.Tpo -c -o remote_viewer-ovBox.obj `if test -f 'view/ovBox.c'; then $(CYGPATH_W) 'view/ovBox.c'; else $(CYGPATH_W) '$(srcdir)/view/ovBox.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-ovBox.Tpo $(DEPDIR)/remote_viewer-ovBox.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='view/ovBox.c' object='remote_viewer-ovBox.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-ovBox.obj `if test -f 'view/ovBox.c'; then $(CYGPATH_W) 'view/ovBox.c'; else $(CYGPATH_W) '$(srcdir)/view/ovBox.c'; fi` + +remote_viewer-virt-viewer-session-vnc.o: virt-viewer-session-vnc.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-virt-viewer-session-vnc.o -MD -MP -MF $(DEPDIR)/remote_viewer-virt-viewer-session-vnc.Tpo -c -o remote_viewer-virt-viewer-session-vnc.o `test -f 'virt-viewer-session-vnc.c' || echo '$(srcdir)/'`virt-viewer-session-vnc.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-virt-viewer-session-vnc.Tpo $(DEPDIR)/remote_viewer-virt-viewer-session-vnc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-session-vnc.c' object='remote_viewer-virt-viewer-session-vnc.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-virt-viewer-session-vnc.o `test -f 'virt-viewer-session-vnc.c' || echo '$(srcdir)/'`virt-viewer-session-vnc.c + +remote_viewer-virt-viewer-session-vnc.obj: virt-viewer-session-vnc.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-virt-viewer-session-vnc.obj -MD -MP -MF $(DEPDIR)/remote_viewer-virt-viewer-session-vnc.Tpo -c -o remote_viewer-virt-viewer-session-vnc.obj `if test -f 'virt-viewer-session-vnc.c'; then $(CYGPATH_W) 'virt-viewer-session-vnc.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-session-vnc.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-virt-viewer-session-vnc.Tpo $(DEPDIR)/remote_viewer-virt-viewer-session-vnc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-session-vnc.c' object='remote_viewer-virt-viewer-session-vnc.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-virt-viewer-session-vnc.obj `if test -f 'virt-viewer-session-vnc.c'; then $(CYGPATH_W) 'virt-viewer-session-vnc.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-session-vnc.c'; fi` + +remote_viewer-virt-viewer-display-vnc.o: virt-viewer-display-vnc.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-virt-viewer-display-vnc.o -MD -MP -MF $(DEPDIR)/remote_viewer-virt-viewer-display-vnc.Tpo -c -o remote_viewer-virt-viewer-display-vnc.o `test -f 'virt-viewer-display-vnc.c' || echo '$(srcdir)/'`virt-viewer-display-vnc.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-virt-viewer-display-vnc.Tpo $(DEPDIR)/remote_viewer-virt-viewer-display-vnc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-display-vnc.c' object='remote_viewer-virt-viewer-display-vnc.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-virt-viewer-display-vnc.o `test -f 'virt-viewer-display-vnc.c' || echo '$(srcdir)/'`virt-viewer-display-vnc.c + +remote_viewer-virt-viewer-display-vnc.obj: virt-viewer-display-vnc.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-virt-viewer-display-vnc.obj -MD -MP -MF $(DEPDIR)/remote_viewer-virt-viewer-display-vnc.Tpo -c -o remote_viewer-virt-viewer-display-vnc.obj `if test -f 'virt-viewer-display-vnc.c'; then $(CYGPATH_W) 'virt-viewer-display-vnc.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-display-vnc.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-virt-viewer-display-vnc.Tpo $(DEPDIR)/remote_viewer-virt-viewer-display-vnc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-display-vnc.c' object='remote_viewer-virt-viewer-display-vnc.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-virt-viewer-display-vnc.obj `if test -f 'virt-viewer-display-vnc.c'; then $(CYGPATH_W) 'virt-viewer-display-vnc.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-display-vnc.c'; fi` + +remote_viewer-virt-viewer-session-spice.o: virt-viewer-session-spice.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-virt-viewer-session-spice.o -MD -MP -MF $(DEPDIR)/remote_viewer-virt-viewer-session-spice.Tpo -c -o remote_viewer-virt-viewer-session-spice.o `test -f 'virt-viewer-session-spice.c' || echo '$(srcdir)/'`virt-viewer-session-spice.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-virt-viewer-session-spice.Tpo $(DEPDIR)/remote_viewer-virt-viewer-session-spice.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-session-spice.c' object='remote_viewer-virt-viewer-session-spice.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-virt-viewer-session-spice.o `test -f 'virt-viewer-session-spice.c' || echo '$(srcdir)/'`virt-viewer-session-spice.c + +remote_viewer-virt-viewer-session-spice.obj: virt-viewer-session-spice.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-virt-viewer-session-spice.obj -MD -MP -MF $(DEPDIR)/remote_viewer-virt-viewer-session-spice.Tpo -c -o remote_viewer-virt-viewer-session-spice.obj `if test -f 'virt-viewer-session-spice.c'; then $(CYGPATH_W) 'virt-viewer-session-spice.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-session-spice.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-virt-viewer-session-spice.Tpo $(DEPDIR)/remote_viewer-virt-viewer-session-spice.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-session-spice.c' object='remote_viewer-virt-viewer-session-spice.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-virt-viewer-session-spice.obj `if test -f 'virt-viewer-session-spice.c'; then $(CYGPATH_W) 'virt-viewer-session-spice.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-session-spice.c'; fi` + +remote_viewer-virt-viewer-display-spice.o: virt-viewer-display-spice.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-virt-viewer-display-spice.o -MD -MP -MF $(DEPDIR)/remote_viewer-virt-viewer-display-spice.Tpo -c -o remote_viewer-virt-viewer-display-spice.o `test -f 'virt-viewer-display-spice.c' || echo '$(srcdir)/'`virt-viewer-display-spice.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-virt-viewer-display-spice.Tpo $(DEPDIR)/remote_viewer-virt-viewer-display-spice.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-display-spice.c' object='remote_viewer-virt-viewer-display-spice.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-virt-viewer-display-spice.o `test -f 'virt-viewer-display-spice.c' || echo '$(srcdir)/'`virt-viewer-display-spice.c + +remote_viewer-virt-viewer-display-spice.obj: virt-viewer-display-spice.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-virt-viewer-display-spice.obj -MD -MP -MF $(DEPDIR)/remote_viewer-virt-viewer-display-spice.Tpo -c -o remote_viewer-virt-viewer-display-spice.obj `if test -f 'virt-viewer-display-spice.c'; then $(CYGPATH_W) 'virt-viewer-display-spice.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-display-spice.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-virt-viewer-display-spice.Tpo $(DEPDIR)/remote_viewer-virt-viewer-display-spice.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-display-spice.c' object='remote_viewer-virt-viewer-display-spice.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-virt-viewer-display-spice.obj `if test -f 'virt-viewer-display-spice.c'; then $(CYGPATH_W) 'virt-viewer-display-spice.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-display-spice.c'; fi` + +remote_viewer-remote-viewer.o: remote-viewer.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-remote-viewer.o -MD -MP -MF $(DEPDIR)/remote_viewer-remote-viewer.Tpo -c -o remote_viewer-remote-viewer.o `test -f 'remote-viewer.c' || echo '$(srcdir)/'`remote-viewer.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-remote-viewer.Tpo $(DEPDIR)/remote_viewer-remote-viewer.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='remote-viewer.c' object='remote_viewer-remote-viewer.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-remote-viewer.o `test -f 'remote-viewer.c' || echo '$(srcdir)/'`remote-viewer.c + +remote_viewer-remote-viewer.obj: remote-viewer.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-remote-viewer.obj -MD -MP -MF $(DEPDIR)/remote_viewer-remote-viewer.Tpo -c -o remote_viewer-remote-viewer.obj `if test -f 'remote-viewer.c'; then $(CYGPATH_W) 'remote-viewer.c'; else $(CYGPATH_W) '$(srcdir)/remote-viewer.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-remote-viewer.Tpo $(DEPDIR)/remote_viewer-remote-viewer.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='remote-viewer.c' object='remote_viewer-remote-viewer.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-remote-viewer.obj `if test -f 'remote-viewer.c'; then $(CYGPATH_W) 'remote-viewer.c'; else $(CYGPATH_W) '$(srcdir)/remote-viewer.c'; fi` + +remote_viewer-remote-viewer-main.o: remote-viewer-main.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-remote-viewer-main.o -MD -MP -MF $(DEPDIR)/remote_viewer-remote-viewer-main.Tpo -c -o remote_viewer-remote-viewer-main.o `test -f 'remote-viewer-main.c' || echo '$(srcdir)/'`remote-viewer-main.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-remote-viewer-main.Tpo $(DEPDIR)/remote_viewer-remote-viewer-main.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='remote-viewer-main.c' object='remote_viewer-remote-viewer-main.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-remote-viewer-main.o `test -f 'remote-viewer-main.c' || echo '$(srcdir)/'`remote-viewer-main.c + +remote_viewer-remote-viewer-main.obj: remote-viewer-main.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -MT remote_viewer-remote-viewer-main.obj -MD -MP -MF $(DEPDIR)/remote_viewer-remote-viewer-main.Tpo -c -o remote_viewer-remote-viewer-main.obj `if test -f 'remote-viewer-main.c'; then $(CYGPATH_W) 'remote-viewer-main.c'; else $(CYGPATH_W) '$(srcdir)/remote-viewer-main.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/remote_viewer-remote-viewer-main.Tpo $(DEPDIR)/remote_viewer-remote-viewer-main.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='remote-viewer-main.c' object='remote_viewer-remote-viewer-main.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(remote_viewer_CFLAGS) $(CFLAGS) -c -o remote_viewer-remote-viewer-main.obj `if test -f 'remote-viewer-main.c'; then $(CYGPATH_W) 'remote-viewer-main.c'; else $(CYGPATH_W) '$(srcdir)/remote-viewer-main.c'; fi` + +virt_viewer-virt-viewer-util.o: virt-viewer-util.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-util.o -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-util.Tpo -c -o virt_viewer-virt-viewer-util.o `test -f 'virt-viewer-util.c' || echo '$(srcdir)/'`virt-viewer-util.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-util.Tpo $(DEPDIR)/virt_viewer-virt-viewer-util.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-util.c' object='virt_viewer-virt-viewer-util.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-util.o `test -f 'virt-viewer-util.c' || echo '$(srcdir)/'`virt-viewer-util.c + +virt_viewer-virt-viewer-util.obj: virt-viewer-util.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-util.obj -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-util.Tpo -c -o virt_viewer-virt-viewer-util.obj `if test -f 'virt-viewer-util.c'; then $(CYGPATH_W) 'virt-viewer-util.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-util.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-util.Tpo $(DEPDIR)/virt_viewer-virt-viewer-util.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-util.c' object='virt_viewer-virt-viewer-util.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-util.obj `if test -f 'virt-viewer-util.c'; then $(CYGPATH_W) 'virt-viewer-util.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-util.c'; fi` + +virt_viewer-virt-viewer-auth.o: virt-viewer-auth.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-auth.o -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-auth.Tpo -c -o virt_viewer-virt-viewer-auth.o `test -f 'virt-viewer-auth.c' || echo '$(srcdir)/'`virt-viewer-auth.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-auth.Tpo $(DEPDIR)/virt_viewer-virt-viewer-auth.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-auth.c' object='virt_viewer-virt-viewer-auth.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-auth.o `test -f 'virt-viewer-auth.c' || echo '$(srcdir)/'`virt-viewer-auth.c + +virt_viewer-virt-viewer-auth.obj: virt-viewer-auth.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-auth.obj -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-auth.Tpo -c -o virt_viewer-virt-viewer-auth.obj `if test -f 'virt-viewer-auth.c'; then $(CYGPATH_W) 'virt-viewer-auth.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-auth.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-auth.Tpo $(DEPDIR)/virt_viewer-virt-viewer-auth.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-auth.c' object='virt_viewer-virt-viewer-auth.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-auth.obj `if test -f 'virt-viewer-auth.c'; then $(CYGPATH_W) 'virt-viewer-auth.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-auth.c'; fi` + +virt_viewer-virt-viewer-app.o: virt-viewer-app.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-app.o -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-app.Tpo -c -o virt_viewer-virt-viewer-app.o `test -f 'virt-viewer-app.c' || echo '$(srcdir)/'`virt-viewer-app.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-app.Tpo $(DEPDIR)/virt_viewer-virt-viewer-app.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-app.c' object='virt_viewer-virt-viewer-app.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-app.o `test -f 'virt-viewer-app.c' || echo '$(srcdir)/'`virt-viewer-app.c + +virt_viewer-virt-viewer-app.obj: virt-viewer-app.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-app.obj -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-app.Tpo -c -o virt_viewer-virt-viewer-app.obj `if test -f 'virt-viewer-app.c'; then $(CYGPATH_W) 'virt-viewer-app.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-app.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-app.Tpo $(DEPDIR)/virt_viewer-virt-viewer-app.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-app.c' object='virt_viewer-virt-viewer-app.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-app.obj `if test -f 'virt-viewer-app.c'; then $(CYGPATH_W) 'virt-viewer-app.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-app.c'; fi` + +virt_viewer-virt-viewer-session.o: virt-viewer-session.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-session.o -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-session.Tpo -c -o virt_viewer-virt-viewer-session.o `test -f 'virt-viewer-session.c' || echo '$(srcdir)/'`virt-viewer-session.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-session.Tpo $(DEPDIR)/virt_viewer-virt-viewer-session.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-session.c' object='virt_viewer-virt-viewer-session.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-session.o `test -f 'virt-viewer-session.c' || echo '$(srcdir)/'`virt-viewer-session.c + +virt_viewer-virt-viewer-session.obj: virt-viewer-session.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-session.obj -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-session.Tpo -c -o virt_viewer-virt-viewer-session.obj `if test -f 'virt-viewer-session.c'; then $(CYGPATH_W) 'virt-viewer-session.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-session.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-session.Tpo $(DEPDIR)/virt_viewer-virt-viewer-session.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-session.c' object='virt_viewer-virt-viewer-session.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-session.obj `if test -f 'virt-viewer-session.c'; then $(CYGPATH_W) 'virt-viewer-session.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-session.c'; fi` + +virt_viewer-virt-viewer-display.o: virt-viewer-display.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-display.o -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-display.Tpo -c -o virt_viewer-virt-viewer-display.o `test -f 'virt-viewer-display.c' || echo '$(srcdir)/'`virt-viewer-display.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-display.Tpo $(DEPDIR)/virt_viewer-virt-viewer-display.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-display.c' object='virt_viewer-virt-viewer-display.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-display.o `test -f 'virt-viewer-display.c' || echo '$(srcdir)/'`virt-viewer-display.c + +virt_viewer-virt-viewer-display.obj: virt-viewer-display.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-display.obj -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-display.Tpo -c -o virt_viewer-virt-viewer-display.obj `if test -f 'virt-viewer-display.c'; then $(CYGPATH_W) 'virt-viewer-display.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-display.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-display.Tpo $(DEPDIR)/virt_viewer-virt-viewer-display.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-display.c' object='virt_viewer-virt-viewer-display.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-display.obj `if test -f 'virt-viewer-display.c'; then $(CYGPATH_W) 'virt-viewer-display.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-display.c'; fi` + +virt_viewer-virt-viewer-notebook.o: virt-viewer-notebook.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-notebook.o -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-notebook.Tpo -c -o virt_viewer-virt-viewer-notebook.o `test -f 'virt-viewer-notebook.c' || echo '$(srcdir)/'`virt-viewer-notebook.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-notebook.Tpo $(DEPDIR)/virt_viewer-virt-viewer-notebook.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-notebook.c' object='virt_viewer-virt-viewer-notebook.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-notebook.o `test -f 'virt-viewer-notebook.c' || echo '$(srcdir)/'`virt-viewer-notebook.c + +virt_viewer-virt-viewer-notebook.obj: virt-viewer-notebook.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-notebook.obj -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-notebook.Tpo -c -o virt_viewer-virt-viewer-notebook.obj `if test -f 'virt-viewer-notebook.c'; then $(CYGPATH_W) 'virt-viewer-notebook.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-notebook.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-notebook.Tpo $(DEPDIR)/virt_viewer-virt-viewer-notebook.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-notebook.c' object='virt_viewer-virt-viewer-notebook.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-notebook.obj `if test -f 'virt-viewer-notebook.c'; then $(CYGPATH_W) 'virt-viewer-notebook.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-notebook.c'; fi` + +virt_viewer-virt-viewer-window.o: virt-viewer-window.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-window.o -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-window.Tpo -c -o virt_viewer-virt-viewer-window.o `test -f 'virt-viewer-window.c' || echo '$(srcdir)/'`virt-viewer-window.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-window.Tpo $(DEPDIR)/virt_viewer-virt-viewer-window.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-window.c' object='virt_viewer-virt-viewer-window.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-window.o `test -f 'virt-viewer-window.c' || echo '$(srcdir)/'`virt-viewer-window.c + +virt_viewer-virt-viewer-window.obj: virt-viewer-window.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-window.obj -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-window.Tpo -c -o virt_viewer-virt-viewer-window.obj `if test -f 'virt-viewer-window.c'; then $(CYGPATH_W) 'virt-viewer-window.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-window.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-window.Tpo $(DEPDIR)/virt_viewer-virt-viewer-window.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-window.c' object='virt_viewer-virt-viewer-window.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-window.obj `if test -f 'virt-viewer-window.c'; then $(CYGPATH_W) 'virt-viewer-window.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-window.c'; fi` + +virt_viewer-autoDrawer.o: view/autoDrawer.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-autoDrawer.o -MD -MP -MF $(DEPDIR)/virt_viewer-autoDrawer.Tpo -c -o virt_viewer-autoDrawer.o `test -f 'view/autoDrawer.c' || echo '$(srcdir)/'`view/autoDrawer.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-autoDrawer.Tpo $(DEPDIR)/virt_viewer-autoDrawer.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='view/autoDrawer.c' object='virt_viewer-autoDrawer.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-autoDrawer.o `test -f 'view/autoDrawer.c' || echo '$(srcdir)/'`view/autoDrawer.c + +virt_viewer-autoDrawer.obj: view/autoDrawer.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-autoDrawer.obj -MD -MP -MF $(DEPDIR)/virt_viewer-autoDrawer.Tpo -c -o virt_viewer-autoDrawer.obj `if test -f 'view/autoDrawer.c'; then $(CYGPATH_W) 'view/autoDrawer.c'; else $(CYGPATH_W) '$(srcdir)/view/autoDrawer.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-autoDrawer.Tpo $(DEPDIR)/virt_viewer-autoDrawer.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='view/autoDrawer.c' object='virt_viewer-autoDrawer.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-autoDrawer.obj `if test -f 'view/autoDrawer.c'; then $(CYGPATH_W) 'view/autoDrawer.c'; else $(CYGPATH_W) '$(srcdir)/view/autoDrawer.c'; fi` + +virt_viewer-drawer.o: view/drawer.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-drawer.o -MD -MP -MF $(DEPDIR)/virt_viewer-drawer.Tpo -c -o virt_viewer-drawer.o `test -f 'view/drawer.c' || echo '$(srcdir)/'`view/drawer.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-drawer.Tpo $(DEPDIR)/virt_viewer-drawer.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='view/drawer.c' object='virt_viewer-drawer.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-drawer.o `test -f 'view/drawer.c' || echo '$(srcdir)/'`view/drawer.c + +virt_viewer-drawer.obj: view/drawer.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-drawer.obj -MD -MP -MF $(DEPDIR)/virt_viewer-drawer.Tpo -c -o virt_viewer-drawer.obj `if test -f 'view/drawer.c'; then $(CYGPATH_W) 'view/drawer.c'; else $(CYGPATH_W) '$(srcdir)/view/drawer.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-drawer.Tpo $(DEPDIR)/virt_viewer-drawer.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='view/drawer.c' object='virt_viewer-drawer.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-drawer.obj `if test -f 'view/drawer.c'; then $(CYGPATH_W) 'view/drawer.c'; else $(CYGPATH_W) '$(srcdir)/view/drawer.c'; fi` + +virt_viewer-ovBox.o: view/ovBox.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-ovBox.o -MD -MP -MF $(DEPDIR)/virt_viewer-ovBox.Tpo -c -o virt_viewer-ovBox.o `test -f 'view/ovBox.c' || echo '$(srcdir)/'`view/ovBox.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-ovBox.Tpo $(DEPDIR)/virt_viewer-ovBox.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='view/ovBox.c' object='virt_viewer-ovBox.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-ovBox.o `test -f 'view/ovBox.c' || echo '$(srcdir)/'`view/ovBox.c + +virt_viewer-ovBox.obj: view/ovBox.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-ovBox.obj -MD -MP -MF $(DEPDIR)/virt_viewer-ovBox.Tpo -c -o virt_viewer-ovBox.obj `if test -f 'view/ovBox.c'; then $(CYGPATH_W) 'view/ovBox.c'; else $(CYGPATH_W) '$(srcdir)/view/ovBox.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-ovBox.Tpo $(DEPDIR)/virt_viewer-ovBox.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='view/ovBox.c' object='virt_viewer-ovBox.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-ovBox.obj `if test -f 'view/ovBox.c'; then $(CYGPATH_W) 'view/ovBox.c'; else $(CYGPATH_W) '$(srcdir)/view/ovBox.c'; fi` + +virt_viewer-virt-viewer-session-vnc.o: virt-viewer-session-vnc.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-session-vnc.o -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-session-vnc.Tpo -c -o virt_viewer-virt-viewer-session-vnc.o `test -f 'virt-viewer-session-vnc.c' || echo '$(srcdir)/'`virt-viewer-session-vnc.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-session-vnc.Tpo $(DEPDIR)/virt_viewer-virt-viewer-session-vnc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-session-vnc.c' object='virt_viewer-virt-viewer-session-vnc.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-session-vnc.o `test -f 'virt-viewer-session-vnc.c' || echo '$(srcdir)/'`virt-viewer-session-vnc.c + +virt_viewer-virt-viewer-session-vnc.obj: virt-viewer-session-vnc.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-session-vnc.obj -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-session-vnc.Tpo -c -o virt_viewer-virt-viewer-session-vnc.obj `if test -f 'virt-viewer-session-vnc.c'; then $(CYGPATH_W) 'virt-viewer-session-vnc.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-session-vnc.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-session-vnc.Tpo $(DEPDIR)/virt_viewer-virt-viewer-session-vnc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-session-vnc.c' object='virt_viewer-virt-viewer-session-vnc.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-session-vnc.obj `if test -f 'virt-viewer-session-vnc.c'; then $(CYGPATH_W) 'virt-viewer-session-vnc.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-session-vnc.c'; fi` + +virt_viewer-virt-viewer-display-vnc.o: virt-viewer-display-vnc.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-display-vnc.o -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-display-vnc.Tpo -c -o virt_viewer-virt-viewer-display-vnc.o `test -f 'virt-viewer-display-vnc.c' || echo '$(srcdir)/'`virt-viewer-display-vnc.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-display-vnc.Tpo $(DEPDIR)/virt_viewer-virt-viewer-display-vnc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-display-vnc.c' object='virt_viewer-virt-viewer-display-vnc.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-display-vnc.o `test -f 'virt-viewer-display-vnc.c' || echo '$(srcdir)/'`virt-viewer-display-vnc.c + +virt_viewer-virt-viewer-display-vnc.obj: virt-viewer-display-vnc.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-display-vnc.obj -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-display-vnc.Tpo -c -o virt_viewer-virt-viewer-display-vnc.obj `if test -f 'virt-viewer-display-vnc.c'; then $(CYGPATH_W) 'virt-viewer-display-vnc.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-display-vnc.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-display-vnc.Tpo $(DEPDIR)/virt_viewer-virt-viewer-display-vnc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-display-vnc.c' object='virt_viewer-virt-viewer-display-vnc.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-display-vnc.obj `if test -f 'virt-viewer-display-vnc.c'; then $(CYGPATH_W) 'virt-viewer-display-vnc.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-display-vnc.c'; fi` + +virt_viewer-virt-viewer-session-spice.o: virt-viewer-session-spice.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-session-spice.o -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-session-spice.Tpo -c -o virt_viewer-virt-viewer-session-spice.o `test -f 'virt-viewer-session-spice.c' || echo '$(srcdir)/'`virt-viewer-session-spice.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-session-spice.Tpo $(DEPDIR)/virt_viewer-virt-viewer-session-spice.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-session-spice.c' object='virt_viewer-virt-viewer-session-spice.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-session-spice.o `test -f 'virt-viewer-session-spice.c' || echo '$(srcdir)/'`virt-viewer-session-spice.c + +virt_viewer-virt-viewer-session-spice.obj: virt-viewer-session-spice.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-session-spice.obj -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-session-spice.Tpo -c -o virt_viewer-virt-viewer-session-spice.obj `if test -f 'virt-viewer-session-spice.c'; then $(CYGPATH_W) 'virt-viewer-session-spice.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-session-spice.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-session-spice.Tpo $(DEPDIR)/virt_viewer-virt-viewer-session-spice.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-session-spice.c' object='virt_viewer-virt-viewer-session-spice.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-session-spice.obj `if test -f 'virt-viewer-session-spice.c'; then $(CYGPATH_W) 'virt-viewer-session-spice.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-session-spice.c'; fi` + +virt_viewer-virt-viewer-display-spice.o: virt-viewer-display-spice.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-display-spice.o -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-display-spice.Tpo -c -o virt_viewer-virt-viewer-display-spice.o `test -f 'virt-viewer-display-spice.c' || echo '$(srcdir)/'`virt-viewer-display-spice.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-display-spice.Tpo $(DEPDIR)/virt_viewer-virt-viewer-display-spice.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-display-spice.c' object='virt_viewer-virt-viewer-display-spice.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-display-spice.o `test -f 'virt-viewer-display-spice.c' || echo '$(srcdir)/'`virt-viewer-display-spice.c + +virt_viewer-virt-viewer-display-spice.obj: virt-viewer-display-spice.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-display-spice.obj -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-display-spice.Tpo -c -o virt_viewer-virt-viewer-display-spice.obj `if test -f 'virt-viewer-display-spice.c'; then $(CYGPATH_W) 'virt-viewer-display-spice.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-display-spice.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-display-spice.Tpo $(DEPDIR)/virt_viewer-virt-viewer-display-spice.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-display-spice.c' object='virt_viewer-virt-viewer-display-spice.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-display-spice.obj `if test -f 'virt-viewer-display-spice.c'; then $(CYGPATH_W) 'virt-viewer-display-spice.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-display-spice.c'; fi` + +virt_viewer-virt-viewer-events.o: virt-viewer-events.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-events.o -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-events.Tpo -c -o virt_viewer-virt-viewer-events.o `test -f 'virt-viewer-events.c' || echo '$(srcdir)/'`virt-viewer-events.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-events.Tpo $(DEPDIR)/virt_viewer-virt-viewer-events.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-events.c' object='virt_viewer-virt-viewer-events.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-events.o `test -f 'virt-viewer-events.c' || echo '$(srcdir)/'`virt-viewer-events.c + +virt_viewer-virt-viewer-events.obj: virt-viewer-events.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-events.obj -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-events.Tpo -c -o virt_viewer-virt-viewer-events.obj `if test -f 'virt-viewer-events.c'; then $(CYGPATH_W) 'virt-viewer-events.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-events.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-events.Tpo $(DEPDIR)/virt_viewer-virt-viewer-events.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-events.c' object='virt_viewer-virt-viewer-events.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-events.obj `if test -f 'virt-viewer-events.c'; then $(CYGPATH_W) 'virt-viewer-events.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-events.c'; fi` + +virt_viewer-virt-viewer.o: virt-viewer.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer.o -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer.Tpo -c -o virt_viewer-virt-viewer.o `test -f 'virt-viewer.c' || echo '$(srcdir)/'`virt-viewer.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer.Tpo $(DEPDIR)/virt_viewer-virt-viewer.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer.c' object='virt_viewer-virt-viewer.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer.o `test -f 'virt-viewer.c' || echo '$(srcdir)/'`virt-viewer.c + +virt_viewer-virt-viewer.obj: virt-viewer.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer.obj -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer.Tpo -c -o virt_viewer-virt-viewer.obj `if test -f 'virt-viewer.c'; then $(CYGPATH_W) 'virt-viewer.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer.Tpo $(DEPDIR)/virt_viewer-virt-viewer.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer.c' object='virt_viewer-virt-viewer.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer.obj `if test -f 'virt-viewer.c'; then $(CYGPATH_W) 'virt-viewer.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer.c'; fi` + +virt_viewer-virt-viewer-main.o: virt-viewer-main.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-main.o -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-main.Tpo -c -o virt_viewer-virt-viewer-main.o `test -f 'virt-viewer-main.c' || echo '$(srcdir)/'`virt-viewer-main.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-main.Tpo $(DEPDIR)/virt_viewer-virt-viewer-main.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-main.c' object='virt_viewer-virt-viewer-main.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-main.o `test -f 'virt-viewer-main.c' || echo '$(srcdir)/'`virt-viewer-main.c + +virt_viewer-virt-viewer-main.obj: virt-viewer-main.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -MT virt_viewer-virt-viewer-main.obj -MD -MP -MF $(DEPDIR)/virt_viewer-virt-viewer-main.Tpo -c -o virt_viewer-virt-viewer-main.obj `if test -f 'virt-viewer-main.c'; then $(CYGPATH_W) 'virt-viewer-main.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-main.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/virt_viewer-virt-viewer-main.Tpo $(DEPDIR)/virt_viewer-virt-viewer-main.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='virt-viewer-main.c' object='virt_viewer-virt-viewer-main.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(virt_viewer_CFLAGS) $(CFLAGS) -c -o virt_viewer-virt-viewer-main.obj `if test -f 'virt-viewer-main.c'; then $(CYGPATH_W) 'virt-viewer-main.c'; else $(CYGPATH_W) '$(srcdir)/virt-viewer-main.c'; fi` + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-builderxmlDATA: $(builderxml_DATA) + @$(NORMAL_INSTALL) + test -z "$(builderxmldir)" || $(MKDIR_P) "$(DESTDIR)$(builderxmldir)" + @list='$(builderxml_DATA)'; test -n "$(builderxmldir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(builderxmldir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(builderxmldir)" || exit $$?; \ + done + +uninstall-builderxmlDATA: + @$(NORMAL_UNINSTALL) + @list='$(builderxml_DATA)'; test -n "$(builderxmldir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(builderxmldir)'; $(am__uninstall_files_from_dir) +install-desktopDATA: $(desktop_DATA) + @$(NORMAL_INSTALL) + test -z "$(desktopdir)" || $(MKDIR_P) "$(DESTDIR)$(desktopdir)" + @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(desktopdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(desktopdir)" || exit $$?; \ + done + +uninstall-desktopDATA: + @$(NORMAL_UNINSTALL) + @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(desktopdir)'; $(am__uninstall_files_from_dir) + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @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 $(PROGRAMS) $(DATA) +installdirs: + for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(builderxmldir)" "$(DESTDIR)$(desktopdir)"; 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-binPROGRAMS clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-builderxmlDATA install-desktopDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: install-binPROGRAMS + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-binPROGRAMS uninstall-builderxmlDATA \ + uninstall-desktopDATA + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ + clean-generic clean-libtool ctags distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-binPROGRAMS install-builderxmlDATA install-data \ + install-data-am install-desktopDATA install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags uninstall uninstall-am uninstall-binPROGRAMS \ + uninstall-builderxmlDATA uninstall-desktopDATA + + +@OS_WIN32_TRUE@virt-viewer_rc.$(OBJEXT): $(VIRT_VIEWER_RES) $(ICONDIR)/virt-viewer.ico +@OS_WIN32_TRUE@ $(AM_V_GEN)$(WINDRES) \ +@OS_WIN32_TRUE@ -DICONDIR='\"$(ICONDIR)\"' \ +@OS_WIN32_TRUE@ -DMANIFESTDIR='\"$(MANIFESTDIR)\"' \ +@OS_WIN32_TRUE@ -i $< -o $@ + +-include $(top_srcdir)/git.mk + +# 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: diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/audio b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/audio new file mode 100644 index 0000000..4b21182 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/audio @@ -0,0 +1,1079 @@ + 0 virt-viewer-display-spice.c 56 g_object_unref(spice->priv->display); + 1 virt-viewer-display-spice.c 57 g_object_unref(spice->priv->channel); + 2 virt-viewer-display-spice.c 92 g_return_if_fail(self->priv->display != NULL); + 3 virt-viewer-display-spice.c 94 spice_display_send_keys(self->priv->display, keyva + ls, nkeyvals, SPICE_DISPLAY_KEY_EVENT_CLICK); + 4 virt-viewer-display-spice.c 103 g_return_val_if_fail(self->priv->display != NULL, + NULL); + 5 virt-viewer-display-spice.c 105 return spice_display_get_pixbuf(self->priv->displa + y); + 6 virt-viewer-display-spice.c 177 g_object_get(self->priv->channel, "channel-id", &c + hannelid, NULL); + 7 virt-viewer-display-spice.c 193 spice_display_set_grab_keys(self->priv->display, + 8 virt-viewer-display-spice.c 196 spice_display_set_grab_keys(self->priv->display, N + ULL); + 9 virt-viewer-display-spice.c 218 self->priv->channel = g_object_ref(channel); + 10 virt-viewer-display-spice.c 219 self->priv->display = g_object_ref(display); + 11 virt-viewer-display-spice.c 226 gtk_container_add(GTK_CONTAINER(self), GTK_WIDGET( + self->priv->display)); + 12 virt-viewer-display-spice.c 227 gtk_widget_show(GTK_WIDGET(self->priv->display)); + 13 virt-viewer-display-spice.c 228 g_object_set(self->priv->display, + 14 virt-viewer-display-spice.c 235 g_signal_connect(self->priv->display, + 15 virt-viewer-display-spice.c 238 g_signal_connect(self->priv->display, + 16 virt-viewer-display-spice.c 258 spice_display_mouse_ungrab(self->priv->display); + 17 virt-viewer-session.c 56 GList *tmp = session->priv->displays; + 18 virt-viewer-session.c 62 g_list_free(session->priv->displays); + 19 virt-viewer-session.c 64 g_free(session->priv->uri); + 20 virt-viewer-session.c 83 self->priv->app = g_value_get_object(value); + 21 virt-viewer-session.c 106 g_value_set_object(value, self->priv->app); + 22 virt-viewer-session.c 285 session->priv->displays = g_list_append(session->p + riv->displays, display); + 23 virt-viewer-session.c 294 if (!g_list_find(session->priv->displays, display) + ) + 24 virt-viewer-session.c 297 session->priv->displays = g_list_remove(session->p + riv->displays, display); + 25 virt-viewer-session.c 304 GList *tmp = session->priv->displays; + 26 virt-viewer-session.c 313 g_list_free(session->priv->displays); + 27 virt-viewer-session.c 314 session->priv->displays = NULL; + 28 virt-viewer-session.c 352 session->priv->uri = g_strdup(uri); + 29 virt-viewer-session.c 369 if (self->priv->auto_usbredir == auto_usbredir) + 30 virt-viewer-session.c 372 self->priv->auto_usbredir = auto_usbredir; + 31 virt-viewer-session.c 380 return self->priv->auto_usbredir; + 32 virt-viewer-session.c 443 return self->priv->app; + 33 virt-viewer-session.c 450 return g_strdup(self->priv->uri); + 34 virt-viewer-notebook.c 86 priv->status = gtk_label_new(""); + 35 virt-viewer-notebook.c 89 gtk_notebook_append_page(GTK_NOTEBOOK(self), priv- + >status, NULL); + 36 virt-viewer-notebook.c 91 gtk_widget_modify_fg(priv->status, GTK_STATE_NORMA + L, &color); + 37 virt-viewer-notebook.c 105 gtk_label_set_text(GTK_LABEL(priv->status), text); + 38 remote-viewer.c 82 g_value_set_object(value, priv->controller); + 39 remote-viewer.c 85 g_value_set_object(value, priv->ctrl_foreign_menu) + ; + 40 remote-viewer.c 101 g_return_if_fail(priv->controller == NULL); + 41 remote-viewer.c 102 priv->controller = g_value_dup_object(value); + 42 remote-viewer.c 105 g_return_if_fail(priv->ctrl_foreign_menu == NULL); + 43 remote-viewer.c 106 priv->ctrl_foreign_menu = g_value_dup_object(value + ); + 44 remote-viewer.c 119 if (priv->controller) { + 45 remote-viewer.c 120 g_object_unref(priv->controller); + 46 remote-viewer.c 121 priv->controller = NULL; + 47 remote-viewer.c 124 if (priv->ctrl_foreign_menu) { + 48 remote-viewer.c 125 g_object_unref(priv->ctrl_foreign_menu); + 49 remote-viewer.c 126 priv->ctrl_foreign_menu = NULL; + 50 remote-viewer.c 205 spice_ctrl_foreign_menu_app_activated_msg(self->pr + iv->ctrl_foreign_menu, has_focus); + 51 remote-viewer.c 328 if (self->priv->controller == NULL) + 52 remote-viewer.c 341 g_object_get(self->priv->controller, "menu", &menu + , NULL); + 53 remote-viewer.c 346 ctrlmenu_to_gtkmenu(self, menu, G_OBJECT(self->pri + v->controller))); + 54 remote-viewer.c 378 if (self->priv->ctrl_foreign_menu == NULL) + 55 remote-viewer.c 386 const gchar *title = spice_ctrl_foreign_menu_get_t + itle(self->priv->ctrl_foreign_menu); + 56 remote-viewer.c 392 g_object_get(self->priv->ctrl_foreign_menu, "menu" + , &menu, NULL); + 57 remote-viewer.c 397 ctrlmenu_to_gtkmenu(self, menu, G_OBJECT(self->pri + v->ctrl_foreign_menu))); + 58 remote-viewer.c 561 if (self->priv->ctrl_foreign_menu) + 59 remote-viewer.c 562 spice_ctrl_foreign_menu_app_activated_msg(self->pr + iv->ctrl_foreign_menu, g_value_get_boolean(&value) + ); + 60 remote-viewer.c 712 if (self->priv->controller) { + 61 remote-viewer.c 748 if (priv->controller) { + 62 remote-viewer.c 754 g_signal_connect(priv->controller, "notify", G_CAL + LBACK(spice_ctrl_notified), self); + 63 remote-viewer.c 755 g_signal_connect(priv->controller, "do_connect", G + _CALLBACK(spice_ctrl_do_connect), self); + 64 remote-viewer.c 756 g_signal_connect(priv->controller, "show", G_CALLB + ACK(spice_ctrl_show), self); + 65 remote-viewer.c 757 g_signal_connect(priv->controller, "hide", G_CALLB + ACK(spice_ctrl_hide), self); + 66 remote-viewer.c 759 spice_ctrl_controller_listen(priv->controller, NUL + L, spice_ctrl_listen_async_cb, self); + 67 remote-viewer.c 761 g_signal_connect(priv->ctrl_foreign_menu, "notify" + , G_CALLBACK(spice_ctrl_foreign_menu_notified), se + lf); + 68 remote-viewer.c 762 spice_ctrl_foreign_menu_listen(priv->ctrl_foreign_ + menu, NULL, spice_ctrl_listen_async_cb, self); + 69 virt-viewer-app.c 195 GtkWindow *window = GTK_WINDOW(virt_viewer_window_ + get_window(self->priv->main_window)); + 70 virt-viewer-app.c 227 if (priv->session) { + 71 virt-viewer-app.c 228 virt_viewer_session_close(VIRT_VIEWER_SESSION(priv + ->session)); + 72 virt-viewer-app.c 229 if (priv->connected) { + 73 virt-viewer-app.c 230 priv->quiting = TRUE; + 74 virt-viewer-app.c 253 g_hash_table_foreach(self->priv->windows, count_wi + ndow_visible, &n); + 75 virt-viewer-app.c 260 return g_hash_table_size(self->priv->windows); + 76 virt-viewer-app.c 430 if (priv->verbose) { + 77 virt-viewer-app.c 444 if (app->priv->title != NULL) { + 78 virt-viewer-app.c 445 gchar *d = strstr(app->priv->title, "%d"); + 79 virt-viewer-app.c 448 subtitle = g_strdup_printf("%s%d%s", app->priv->ti + tle, nth + 1, d + 2); + 80 virt-viewer-app.c 451 subtitle = g_strdup_printf("%s (%d)", app->priv->t + itle, nth + 1); + 81 virt-viewer-app.c 472 g_hash_table_foreach(app->priv->windows, set_title + , app); + 82 virt-viewer-app.c 485 g_hash_table_foreach(self->priv->windows, update_t + itle, NULL); + 83 virt-viewer-app.c 499 g_hash_table_foreach(self->priv->windows, set_usb_ + options_sensitive, + 84 virt-viewer-app.c 506 return g_hash_table_lookup(self->priv->windows, &n + th); + 85 virt-viewer-app.c 521 removed = g_hash_table_steal(self->priv->windows, + &nth); + 86 virt-viewer-app.c 541 g_hash_table_insert(self->priv->windows, key, win) + ; + 87 virt-viewer-app.c 559 self->priv->focused += 1; + 88 virt-viewer-app.c 561 if (self->priv->focused == 1) + 89 virt-viewer-app.c 572 self->priv->focused -= 1; + 90 virt-viewer-app.c 573 g_warn_if_fail(self->priv->focused >= 0); + 91 virt-viewer-app.c 575 if (self->priv->focused <= 0) + 92 virt-viewer-app.c 591 if (self->priv->main_window) + 93 virt-viewer-app.c 592 virt_viewer_window_set_zoom_level(window, virt_vie + wer_window_get_zoom_level(self->priv->main_window) + ); + 94 virt-viewer-app.c 597 virt_viewer_app_set_fullscreen(self, self->priv->f + ullscreen); + 95 virt-viewer-app.c 623 if (win != self->priv->main_window && + 96 virt-viewer-app.c 647 window = priv->main_window; + 97 virt-viewer-app.c 649 if (priv->container) { + 98 virt-viewer-app.c 687 g_return_val_if_fail(priv->session == NULL, -1); + 99 virt-viewer-app.c 692 GtkWindow *window = virt_viewer_window_get_window( + priv->main_window); +100 virt-viewer-app.c 694 priv->guest_name, type); +101 virt-viewer-app.c 695 priv->session = virt_viewer_session_vnc_new(window + ); +102 virt-viewer-app.c 700 GtkWindow *window = virt_viewer_window_get_window( + priv->main_window); +103 virt-viewer-app.c 702 priv->guest_name, type); +104 virt-viewer-app.c 703 priv->session = virt_viewer_session_spice_new(self + , window); +105 virt-viewer-app.c 708 priv->guest_name, type); +106 virt-viewer-app.c 710 priv->guest_name); +107 virt-viewer-app.c 714 g_signal_connect(priv->session, "session-initializ + ed", +108 virt-viewer-app.c 716 g_signal_connect(priv->session, "session-connected + ", +109 virt-viewer-app.c 718 g_signal_connect(priv->session, "session-disconnec + ted", +110 virt-viewer-app.c 720 g_signal_connect(priv->session, "session-channel-o + pen", +111 virt-viewer-app.c 722 g_signal_connect(priv->session, "session-auth-refu + sed", +112 virt-viewer-app.c 724 g_signal_connect(priv->session, "session-auth-fail + ed", +113 virt-viewer-app.c 726 g_signal_connect(priv->session, "session-usb-faile + d", +114 virt-viewer-app.c 728 g_signal_connect(priv->session, "session-display-a + dded", +115 virt-viewer-app.c 730 g_signal_connect(priv->session, "session-display-r + emoved", +116 virt-viewer-app.c 733 g_signal_connect(priv->session, "session-cut-text" + , +117 virt-viewer-app.c 735 g_signal_connect(priv->session, "session-bell", +118 virt-viewer-app.c 737 g_signal_connect(priv->session, "session-cancelled + ", +119 virt-viewer-app.c 780 if (priv->transport && g_ascii_strcasecmp(priv->tr + ansport, "ssh") == 0 && +120 virt-viewer-app.c 781 !priv->direct && fd == -1) { +121 virt-viewer-app.c 782 if ((fd = virt_viewer_app_open_tunnel_ssh(priv->ho + st, priv->port, priv->user, +122 virt-viewer-app.c 783 priv->ghost, priv->gport, NULL)) < 0) +123 virt-viewer-app.c 814 if (priv->transport && +124 virt-viewer-app.c 815 g_ascii_strcasecmp(priv->transport, "ssh") == 0 && +125 virt-viewer-app.c 816 !priv->direct && +126 virt-viewer-app.c 820 if (priv->gport) { +127 virt-viewer-app.c 822 priv->ghost, priv->gport); +128 virt-viewer-app.c 825 priv->unixsock); +129 virt-viewer-app.c 827 if (priv->port) +130 virt-viewer-app.c 828 p = g_strdup_printf(":%d", priv->port); +131 virt-viewer-app.c 831 priv->user ? priv->user : "", +132 virt-viewer-app.c 832 priv->user ? "@" : "", +133 virt-viewer-app.c 833 priv->host, p ? p : ""); +134 virt-viewer-app.c 836 if ((fd = virt_viewer_app_open_tunnel_ssh(priv->ho + st, priv->port, +135 virt-viewer-app.c 837 priv->user, priv->ghost, +136 virt-viewer-app.c 838 priv->gport, priv->unixsock)) < 0) +137 virt-viewer-app.c 840 } else if (priv->unixsock && fd == -1) { +138 virt-viewer-app.c 842 priv->unixsock); +139 virt-viewer-app.c 843 if ((fd = virt_viewer_app_open_unix_sock(priv->uni + xsock)) < 0) +140 virt-viewer-app.c 849 return virt_viewer_session_open_fd(VIRT_VIEWER_SES + SION(priv->session), fd); +141 virt-viewer-app.c 850 } else if (priv->guri) { +142 virt-viewer-app.c 851 virt_viewer_app_trace(self, "Opening connection to + display at %s\n", priv->guri); +143 virt-viewer-app.c 852 return virt_viewer_session_open_uri(VIRT_VIEWER_SE + SSION(priv->session), priv->guri); +144 virt-viewer-app.c 855 priv->ghost, priv->gport, priv->gtlsport ? priv->g + tlsport : "-1"); +145 virt-viewer-app.c 856 return virt_viewer_session_open_host(VIRT_VIEWER_S + ESSION(priv->session), +146 virt-viewer-app.c 857 priv->ghost, priv->gport, priv->gtlsport); +147 virt-viewer-app.c 872 if (priv->active) +148 virt-viewer-app.c 879 priv->connected = FALSE; +149 virt-viewer-app.c 880 priv->cancelled = FALSE; +150 virt-viewer-app.c 881 priv->active = TRUE; +151 virt-viewer-app.c 882 priv->grabbed = FALSE; +152 virt-viewer-app.c 898 gtk_selection_data_set_text(data, priv->clipboard, + -1); +153 virt-viewer-app.c 919 g_free (priv->clipboard); +154 virt-viewer-app.c 920 priv->clipboard = g_convert (text, -1, "utf-8", "i + so8859-1", &a, &b, NULL); +155 virt-viewer-app.c 922 if (priv->clipboard) { +156 virt-viewer-app.c 940 gdk_window_beep(gtk_widget_get_window(GTK_WIDGET(v + irt_viewer_window_get_window(priv->main_window)))) + ; +157 virt-viewer-app.c 979 if (!priv->active && +158 virt-viewer-app.c 983 if (priv->active) { +159 virt-viewer-app.c 984 priv->reconnect_poll = 0; +160 virt-viewer-app.c 997 if (priv->reconnect_poll != 0) +161 virt-viewer-app.c 1000 priv->reconnect_poll = g_timeout_add(500, virt_vie + wer_app_connect_timer, self); +162 virt-viewer-app.c 1010 priv->guest_name); +163 virt-viewer-app.c 1028 if (!priv->active) +164 virt-viewer-app.c 1031 if (priv->session) +165 virt-viewer-app.c 1032 virt_viewer_session_close(VIRT_VIEWER_SESSION(priv + ->session)); +166 virt-viewer-app.c 1034 priv->connected = FALSE; +167 virt-viewer-app.c 1035 priv->active = FALSE; +168 virt-viewer-app.c 1037 g_free(priv->pretty_address); +169 virt-viewer-app.c 1038 priv->pretty_address = NULL; +170 virt-viewer-app.c 1040 priv->grabbed = FALSE; +171 virt-viewer-app.c 1043 if (priv->authretry) { +172 virt-viewer-app.c 1044 priv->authretry = FALSE; +173 virt-viewer-app.c 1057 priv->connected = TRUE; +174 virt-viewer-app.c 1067 gboolean has_usb = virt_viewer_session_has_usb(sel + f->priv->session); +175 virt-viewer-app.c 1079 if (priv->quiting) +176 virt-viewer-app.c 1082 if (!priv->connected && !priv->cancelled) { +177 virt-viewer-app.c 1085 priv->pretty_address); +178 virt-viewer-app.c 1095 priv->cancelled = TRUE; +179 virt-viewer-app.c 1108 dialog = gtk_message_dialog_new(virt_viewer_window + _get_window(priv->main_window), +180 virt-viewer-app.c 1115 priv->pretty_address, msg); +181 virt-viewer-app.c 1122 priv->authretry = TRUE; +182 virt-viewer-app.c 1124 priv->authretry = FALSE; +183 virt-viewer-app.c 1154 g_value_set_boolean(value, priv->verbose); +184 virt-viewer-app.c 1158 g_value_set_object(value, priv->container); +185 virt-viewer-app.c 1162 g_value_set_object(value, priv->session); +186 virt-viewer-app.c 1166 g_value_set_string(value, priv->guest_name); +187 virt-viewer-app.c 1170 g_value_set_string(value, priv->guri); +188 virt-viewer-app.c 1174 g_value_set_boolean(value, priv->fullscreen); +189 virt-viewer-app.c 1178 g_value_set_string(value, priv->title); +190 virt-viewer-app.c 1186 g_value_set_boolean(value, priv->focused > 0); +191 virt-viewer-app.c 1190 g_value_set_boolean(value, priv->fullscreen_auto_c + onf); +192 virt-viewer-app.c 1208 priv->verbose = g_value_get_boolean(value); +193 virt-viewer-app.c 1212 g_return_if_fail(priv->container == NULL); +194 virt-viewer-app.c 1213 priv->container = g_value_dup_object(value); +195 virt-viewer-app.c 1217 g_free(priv->guest_name); +196 virt-viewer-app.c 1218 priv->guest_name = g_value_dup_string(value); +197 virt-viewer-app.c 1222 g_free(priv->guri); +198 virt-viewer-app.c 1223 priv->guri = g_value_dup_string(value); +199 virt-viewer-app.c 1232 g_free(priv->title); +200 virt-viewer-app.c 1233 priv->title = g_value_dup_string(value); +201 virt-viewer-app.c 1238 priv->enable_accel = g_value_get_boolean(value); +202 virt-viewer-app.c 1242 priv->fullscreen_auto_conf = g_value_get_boolean(v + alue); +203 virt-viewer-app.c 1256 if (priv->windows) { +204 virt-viewer-app.c 1257 GHashTable *tmp = priv->windows; +205 virt-viewer-app.c 1259 * to prevent callbacks using priv->windows +206 virt-viewer-app.c 1261 priv->windows = NULL; +207 virt-viewer-app.c 1262 priv->main_window = NULL; +208 virt-viewer-app.c 1266 if (priv->container) { +209 virt-viewer-app.c 1267 g_object_unref(priv->container); +210 virt-viewer-app.c 1268 priv->container = NULL; +211 virt-viewer-app.c 1271 if (priv->session) { +212 virt-viewer-app.c 1272 g_object_unref(priv->session); +213 virt-viewer-app.c 1273 priv->session = NULL; +214 virt-viewer-app.c 1275 g_free(priv->title); +215 virt-viewer-app.c 1285 virt_viewer_window_show(self->priv->main_window); +216 virt-viewer-app.c 1296 g_return_val_if_fail(!self->priv->started, TRUE); +217 virt-viewer-app.c 1298 self->priv->started = klass->start(self); +218 virt-viewer-app.c 1299 return self->priv->started; +219 virt-viewer-app.c 1306 self->priv->windows = g_hash_table_new_full(g_int_ + hash, g_int_equal, g_free, g_object_unref); +220 virt-viewer-app.c 1322 priv->main_window = virt_viewer_app_window_new(sel + f, priv->container, 0); +221 virt-viewer-app.c 1323 priv->main_notebook = GTK_WIDGET(virt_viewer_windo + w_get_notebook(priv->main_window)); +222 virt-viewer-app.c 1477 self->priv->direct = direct; +223 virt-viewer-app.c 1485 self->priv->attach = attach; +224 virt-viewer-app.c 1493 return self->priv->attach; +225 virt-viewer-app.c 1501 return self->priv->active; +226 virt-viewer-app.c 1509 return self->priv->session != NULL; +227 virt-viewer-app.c 1518 g_free(priv->pretty_address); +228 virt-viewer-app.c 1519 if (priv->guri) +229 virt-viewer-app.c 1520 priv->pretty_address = g_strdup(priv->guri); +230 virt-viewer-app.c 1521 else if (priv->gport) +231 virt-viewer-app.c 1522 priv->pretty_address = g_strdup_printf("%s:%s", pr + iv->ghost, priv->gport); +232 virt-viewer-app.c 1524 priv->pretty_address = g_strdup_printf("%s:%s", pr + iv->host, priv->unixsock); +233 virt-viewer-app.c 1561 .move = virt_viewer_app_get_n_windows_visible(self + ) > 1 || self->priv->fullscreen_auto_conf, +234 virt-viewer-app.c 1565 priv->fullscreen = fullscreen; +235 virt-viewer-app.c 1566 g_hash_table_foreach(priv->windows, fullscreen_cb, + &options); +236 virt-viewer-app.c 1614 GList *keys = g_hash_table_get_keys(self->priv->wi + ndows); +237 virt-viewer-app.c 1622 VirtViewerWindow *vwin = VIRT_VIEWER_WINDOW(g_hash + _table_lookup(self->priv->windows, nth)); +238 virt-viewer-app.c 1643 if (!self->priv->windows) +239 virt-viewer-app.c 1645 g_hash_table_foreach(self->priv->windows, window_u + pdate_menu_displays_cb, self); +240 virt-viewer-app.c 1666 g_free(priv->host); +241 virt-viewer-app.c 1667 g_free(priv->ghost); +242 virt-viewer-app.c 1668 g_free(priv->gport); +243 virt-viewer-app.c 1669 g_free(priv->gtlsport); +244 virt-viewer-app.c 1670 g_free(priv->transport); +245 virt-viewer-app.c 1671 g_free(priv->unixsock); +246 virt-viewer-app.c 1672 g_free(priv->user); +247 virt-viewer-app.c 1673 g_free(priv->guri); +248 virt-viewer-app.c 1675 priv->host = g_strdup(host); +249 virt-viewer-app.c 1676 priv->ghost = g_strdup(ghost); +250 virt-viewer-app.c 1677 priv->gport = g_strdup(gport); +251 virt-viewer-app.c 1678 priv->gtlsport = gtlsport ? g_strdup(gtlsport) : N + ULL; +252 virt-viewer-app.c 1679 priv->transport = g_strdup(transport); +253 virt-viewer-app.c 1680 priv->unixsock = g_strdup(unixsock); +254 virt-viewer-app.c 1681 priv->user = g_strdup(user); +255 virt-viewer-app.c 1682 priv->guri = g_strdup(guri); +256 virt-viewer-app.c 1683 priv->port = port; +257 virt-viewer-app.c 1701 return self->priv->main_window; +258 virt-viewer-app.c 1728 g_hash_table_foreach(self->priv->windows, show_sta + tus_cb, text); +259 virt-viewer-app.c 1746 g_hash_table_foreach(self->priv->windows, show_dis + play_cb, self); +260 virt-viewer-app.c 1754 return self->priv->enable_accel; +261 virt-viewer-app.c 1762 return self->priv->session; +262 virt-viewer-app.c 1769 return self->priv->windows; +263 virt-viewer-window.c 119 g_value_set_string(value, priv->subtitle); +264 virt-viewer-window.c 123 g_value_set_object(value, priv->window); +265 virt-viewer-window.c 127 g_value_set_object(value, priv->display); +266 virt-viewer-window.c 131 g_value_set_object(value, priv->container); +267 virt-viewer-window.c 135 g_value_set_object(value, priv->app); +268 virt-viewer-window.c 151 g_free(priv->subtitle); +269 virt-viewer-window.c 152 priv->subtitle = g_value_dup_string(value); +270 virt-viewer-window.c 157 g_return_if_fail(priv->container == NULL); +271 virt-viewer-window.c 158 priv->container = g_value_dup_object(value); +272 virt-viewer-window.c 162 g_return_if_fail(priv->app == NULL); +273 virt-viewer-window.c 163 priv->app = g_value_get_object(value); +274 virt-viewer-window.c 177 if (priv->display) { +275 virt-viewer-window.c 178 g_object_unref(priv->display); +276 virt-viewer-window.c 179 priv->display = NULL; +277 virt-viewer-window.c 184 if (priv->window) { +278 virt-viewer-window.c 185 gtk_widget_destroy(priv->window); +279 virt-viewer-window.c 186 priv->window = NULL; +280 virt-viewer-window.c 188 if (priv->builder) { +281 virt-viewer-window.c 189 g_object_unref(priv->builder); +282 virt-viewer-window.c 190 priv->builder = NULL; +283 virt-viewer-window.c 193 g_free(priv->subtitle); +284 virt-viewer-window.c 194 priv->subtitle = NULL; +285 virt-viewer-window.c 279 priv->auto_resize = TRUE; +286 virt-viewer-window.c 280 g_value_init(&priv->accel_setting, G_TYPE_STRING); +287 virt-viewer-window.c 282 priv->notebook = virt_viewer_notebook_new(); +288 virt-viewer-window.c 283 priv->builder = virt_viewer_util_load_ui("virt-vie + wer.xml"); +289 virt-viewer-window.c 285 menu = GTK_WIDGET(gtk_builder_get_object(priv->bui + lder, "menu-view-resize")); +290 virt-viewer-window.c 287 gtk_widget_set_sensitive(GTK_WIDGET(gtk_builder_ge + t_object(self->priv->builder, "menu-send")), FALSE + ); +291 virt-viewer-window.c 288 gtk_widget_set_sensitive(GTK_WIDGET(gtk_builder_ge + t_object(self->priv->builder, "menu-file-screensho + t")), FALSE); +292 virt-viewer-window.c 290 gtk_builder_connect_signals(priv->builder, self); +293 virt-viewer-window.c 292 priv->accel_group = GTK_ACCEL_GROUP(gtk_builder_ge + t_object(priv->builder, "accelgroup")); +294 virt-viewer-window.c 295 g_signal_connect(gtk_builder_get_object(priv->buil + der, "menu-view-fullscreen"), +295 virt-viewer-window.c 297 g_signal_connect(gtk_builder_get_object(priv->buil + der, "menu-file-smartcard-insert"), +296 virt-viewer-window.c 299 g_signal_connect(gtk_builder_get_object(priv->buil + der, "menu-file-smartcard-remove"), +297 virt-viewer-window.c 301 g_signal_connect(gtk_builder_get_object(priv->buil + der, "menu-view-release-cursor"), +298 virt-viewer-window.c 304 vbox = GTK_WIDGET(gtk_builder_get_object(priv->bui + lder, "viewer-box")); +299 virt-viewer-window.c 307 gtk_box_pack_end(GTK_BOX(vbox), priv->layout, TRUE + , TRUE, 0); +300 virt-viewer-window.c 309 gtk_widget_modify_bg(priv->layout, GTK_STATE_NORMA + L, &color); +301 virt-viewer-window.c 311 priv->window = GTK_WIDGET(gtk_builder_get_object(p + riv->builder, "viewer")); +302 virt-viewer-window.c 312 gtk_window_add_accel_group(GTK_WINDOW(priv->window + ), priv->accel_group); +303 virt-viewer-window.c 315 gtk_window_set_resizable(GTK_WINDOW(priv->window), + TRUE); +304 virt-viewer-window.c 317 gtk_window_set_has_resize_grip(GTK_WINDOW(priv->wi + ndow), FALSE); +305 virt-viewer-window.c 319 priv->accel_enabled = TRUE; +306 virt-viewer-window.c 321 accels = gtk_accel_groups_from_object(G_OBJECT(pri + v->window)); +307 virt-viewer-window.c 323 priv->accel_list = g_slist_append(priv->accel_list + , accels->data); +308 virt-viewer-window.c 327 priv->zoomlevel = 100; +309 virt-viewer-window.c 334 if (!gtk_widget_get_visible(self->priv->window)) { +310 virt-viewer-window.c 335 self->priv->desktop_resize_pending = TRUE; +311 virt-viewer-window.c 348 if (priv->zoomlevel > 10) +312 virt-viewer-window.c 349 priv->zoomlevel -= 10; +313 virt-viewer-window.c 351 if (!priv->display) +314 virt-viewer-window.c 354 gtk_window_resize(GTK_WINDOW(priv->window), 1, 1); +315 virt-viewer-window.c 355 if (priv->display) +316 virt-viewer-window.c 356 virt_viewer_display_set_zoom_level(VIRT_VIEWER_DIS + PLAY(priv->display), priv->zoomlevel); +317 virt-viewer-window.c 365 if (priv->zoomlevel < 400) +318 virt-viewer-window.c 366 priv->zoomlevel += 10; +319 virt-viewer-window.c 368 if (!priv->display) +320 virt-viewer-window.c 371 gtk_window_resize(GTK_WINDOW(priv->window), 1, 1); +321 virt-viewer-window.c 372 if (priv->display) +322 virt-viewer-window.c 373 virt_viewer_display_set_zoom_level(VIRT_VIEWER_DIS + PLAY(priv->display), priv->zoomlevel); +323 virt-viewer-window.c 381 gtk_window_resize(GTK_WINDOW(priv->window), 1, 1); +324 virt-viewer-window.c 382 priv->zoomlevel = 100; +325 virt-viewer-window.c 384 if (priv->display) +326 virt-viewer-window.c 385 virt_viewer_display_set_zoom_level(VIRT_VIEWER_DIS + PLAY(priv->display), priv->zoomlevel); +327 virt-viewer-window.c 406 if (!priv->auto_resize || priv->fullscreen) +328 virt-viewer-window.c 410 if (!priv->display) { +329 virt-viewer-window.c 415 gtk_window_resize(GTK_WINDOW(priv->window), 1, 1); +330 virt-viewer-window.c 417 virt_viewer_display_get_desktop_size(VIRT_VIEWER_D + ISPLAY(priv->display), +331 virt-viewer-window.c 420 screen = gtk_widget_get_screen(priv->window); +332 virt-viewer-window.c 423 (screen, gtk_widget_get_window(priv->window)), +333 virt-viewer-window.c 449 virt_viewer_display_set_desktop_size(VIRT_VIEWER_D + ISPLAY(priv->display), +334 virt-viewer-window.c 457 GtkWidget *menu = GTK_WIDGET(gtk_builder_get_objec + t(priv->builder, "top-menu")); +335 virt-viewer-window.c 458 GtkCheckMenuItem *check = GTK_CHECK_MENU_ITEM(gtk_ + builder_get_object(priv->builder, "menu-view-fulls + creen")); +336 virt-viewer-window.c 460 if (!priv->fullscreen) +337 virt-viewer-window.c 464 priv->fullscreen = FALSE; +338 virt-viewer-window.c 465 ViewAutoDrawer_SetActive(VIEW_AUTODRAWER(priv->lay + out), FALSE); +339 virt-viewer-window.c 467 gtk_widget_hide(priv->toolbar); +340 virt-viewer-window.c 469 gtk_widget_set_size_request(GTK_WIDGET(priv->windo + w), -1, -1); +341 virt-viewer-window.c 471 gtk_window_unfullscreen(GTK_WINDOW(priv->window)); +342 virt-viewer-window.c 473 if (priv->before_saved) { +343 virt-viewer-window.c 474 gtk_window_move(GTK_WINDOW(priv->window), +344 virt-viewer-window.c 475 priv->before_fullscreen.x, +345 virt-viewer-window.c 476 priv->before_fullscreen.y); +346 virt-viewer-window.c 477 gtk_window_resize(GTK_WINDOW(priv->window), +347 virt-viewer-window.c 478 priv->before_fullscreen.width, +348 virt-viewer-window.c 479 priv->before_fullscreen.height); +349 virt-viewer-window.c 480 priv->before_saved = FALSE; +350 virt-viewer-window.c 488 GtkWidget *menu = GTK_WIDGET(gtk_builder_get_objec + t(priv->builder, "top-menu")); +351 virt-viewer-window.c 489 GtkCheckMenuItem *check = GTK_CHECK_MENU_ITEM(gtk_ + builder_get_object(priv->builder, "menu-view-fulls + creen")); +352 virt-viewer-window.c 491 if (!priv->before_saved) { +353 virt-viewer-window.c 492 gtk_window_get_position(GTK_WINDOW(priv->window), +354 virt-viewer-window.c 493 &priv->before_fullscreen.x, +355 virt-viewer-window.c 494 &priv->before_fullscreen.y); +356 virt-viewer-window.c 495 gtk_window_get_size(GTK_WINDOW(priv->window), +357 virt-viewer-window.c 496 &priv->before_fullscreen.width, +358 virt-viewer-window.c 497 &priv->before_fullscreen.height); +359 virt-viewer-window.c 498 priv->before_saved = TRUE; +360 virt-viewer-window.c 501 if (priv->fullscreen) +361 virt-viewer-window.c 503 priv->fullscreen = TRUE; +362 virt-viewer-window.c 507 gtk_widget_show(priv->toolbar); +363 virt-viewer-window.c 508 ViewAutoDrawer_SetActive(VIEW_AUTODRAWER(priv->lay + out), TRUE); +364 virt-viewer-window.c 509 ViewAutoDrawer_Close(VIEW_AUTODRAWER(priv->layout) + ); +365 virt-viewer-window.c 513 gtk_window_move(GTK_WINDOW(priv->window), x, y); +366 virt-viewer-window.c 515 gtk_window_fullscreen(GTK_WINDOW(priv->window)); +367 virt-viewer-window.c 519 gtk_widget_set_size_request(GTK_WIDGET(priv->windo + w), +368 virt-viewer-window.c 564 virt_viewer_display_send_keys(VIRT_VIEWER_DISPLAY( + priv->display), +369 virt-viewer-window.c 602 if (!priv->accel_enabled) +370 virt-viewer-window.c 608 g_object_get_property(G_OBJECT(settings), "gtk-men + u-bar-accel", &priv->accel_setting); +371 virt-viewer-window.c 612 for (accels = priv->accel_list ; accels ; accels = + accels->next) { +372 virt-viewer-window.c 613 if (virt_viewer_app_get_enable_accel(priv->app) && +373 virt-viewer-window.c 614 priv->accel_group == accels->data) +374 virt-viewer-window.c 616 gtk_window_remove_accel_group(GTK_WINDOW(priv->win + dow), accels->data); +375 virt-viewer-window.c 621 "gtk-enable-mnemonics", &priv->enable_mnemonics_sa + ve, +376 virt-viewer-window.c 627 priv->accel_enabled = FALSE; +377 virt-viewer-window.c 637 if (priv->accel_enabled) +378 virt-viewer-window.c 641 g_object_set_property(G_OBJECT(settings), "gtk-men + u-bar-accel", &priv->accel_setting); +379 virt-viewer-window.c 644 for (accels = priv->accel_list ; accels ; accels = + accels->next) { +380 virt-viewer-window.c 645 if (virt_viewer_app_get_enable_accel(priv->app) && +381 virt-viewer-window.c 646 priv->accel_group == accels->data) +382 virt-viewer-window.c 648 gtk_window_add_accel_group(GTK_WINDOW(priv->window + ), accels->data); +383 virt-viewer-window.c 653 "gtk-enable-mnemonics", priv->enable_mnemonics_sav + e, +384 virt-viewer-window.c 656 priv->accel_enabled = TRUE; +385 virt-viewer-window.c 666 virt_viewer_app_window_set_visible(self->priv->app + , self, FALSE); +386 virt-viewer-window.c 675 virt_viewer_app_quit(self->priv->app); +387 virt-viewer-window.c 683 g_object_set(self->priv->app, "fullscreen", FALSE, + NULL); +388 virt-viewer-window.c 693 gdk_window_get_origin(gtk_widget_get_window(self-> + priv->toolbar_send_key), x, y); +389 virt-viewer-window.c 694 gtk_widget_translate_coordinates(self->priv->toolb + ar_send_key, gtk_widget_get_toplevel(self->priv->t + oolbar_send_key), +390 virt-viewer-window.c 696 gtk_widget_get_allocation(self->priv->toolbar_send + _key, &allocation); +391 virt-viewer-window.c 717 g_object_set(self->priv->app, "fullscreen", fullsc + reen, NULL); +392 virt-viewer-window.c 727 priv->auto_resize = TRUE; +393 virt-viewer-window.c 730 priv->auto_resize = FALSE; +394 virt-viewer-window.c 733 virt_viewer_display_set_auto_resize(priv->display, + priv->auto_resize); +395 virt-viewer-window.c 741 GdkPixbuf *pix = virt_viewer_display_get_pixbuf(VI + RT_VIEWER_DISPLAY(priv->display)); +396 virt-viewer-window.c 755 g_return_if_fail(priv->display != NULL); +397 virt-viewer-window.c 765 GTK_WINDOW(self->priv->window)); +398 virt-viewer-window.c 785 virt_viewer_session_usb_device_selection(virt_view + er_app_get_session(self->priv->app), +399 virt-viewer-window.c 786 GTK_WINDOW(self->priv->window)); +400 virt-viewer-window.c 793 virt_viewer_session_smartcard_insert(virt_viewer_a + pp_get_session(self->priv->app)); +401 virt-viewer-window.c 800 virt_viewer_session_smartcard_remove(virt_viewer_a + pp_get_session(self->priv->app)); +402 virt-viewer-window.c 807 virt_viewer_display_release_cursor(VIRT_VIEWER_DIS + PLAY(self->priv->display)); +403 virt-viewer-window.c 820 GTK_WINDOW(self->priv->window)); +404 virt-viewer-window.c 836 priv->toolbar = gtk_toolbar_new(); +405 virt-viewer-window.c 837 gtk_toolbar_set_show_arrow(GTK_TOOLBAR(priv->toolb + ar), FALSE); +406 virt-viewer-window.c 838 gtk_widget_set_no_show_all(priv->toolbar, TRUE); +407 virt-viewer-window.c 839 gtk_toolbar_set_style(GTK_TOOLBAR(priv->toolbar), + GTK_TOOLBAR_BOTH_HORIZ); +408 virt-viewer-window.c 845 gtk_toolbar_insert(GTK_TOOLBAR(priv->toolbar), GTK + _TOOL_ITEM (button), 0); +409 virt-viewer-window.c 852 gtk_toolbar_insert(GTK_TOOLBAR(priv->toolbar), GTK + _TOOL_ITEM(button), 0); +410 virt-viewer-window.c 854 priv->toolbar_usb_device_selection = button; +411 virt-viewer-window.c 861 gtk_toolbar_insert(GTK_TOOLBAR(priv->toolbar), GTK + _TOOL_ITEM(button), 0); +412 virt-viewer-window.c 864 priv->toolbar_send_key = button; +413 virt-viewer-window.c 872 gtk_toolbar_insert(GTK_TOOLBAR(priv->toolbar), GTK + _TOOL_ITEM(button), 0); +414 virt-viewer-window.c 875 priv->layout = ViewAutoDrawer_New(); +415 virt-viewer-window.c 877 ViewAutoDrawer_SetActive(VIEW_AUTODRAWER(priv->lay + out), FALSE); +416 virt-viewer-window.c 878 ViewOvBox_SetOver(VIEW_OV_BOX(priv->layout), priv- + >toolbar); +417 virt-viewer-window.c 879 ViewOvBox_SetUnder(VIEW_OV_BOX(priv->layout), GTK_ + WIDGET(priv->notebook)); +418 virt-viewer-window.c 880 ViewAutoDrawer_SetOffset(VIEW_AUTODRAWER(priv->lay + out), -1); +419 virt-viewer-window.c 881 ViewAutoDrawer_SetFill(VIEW_AUTODRAWER(priv->layou + t), FALSE); +420 virt-viewer-window.c 882 ViewAutoDrawer_SetOverlapPixels(VIEW_AUTODRAWER(pr + iv->layout), 1); +421 virt-viewer-window.c 883 ViewAutoDrawer_SetNoOverlapPixels(VIEW_AUTODRAWER( + priv->layout), 0); +422 virt-viewer-window.c 884 gtk_widget_show(priv->layout); +423 virt-viewer-window.c 890 return VIRT_VIEWER_NOTEBOOK(self->priv->notebook); +424 virt-viewer-window.c 896 return GTK_WINDOW(self->priv->window); +425 virt-viewer-window.c 905 priv->grabbed = TRUE; +426 virt-viewer-window.c 915 priv->grabbed = FALSE; +427 virt-viewer-window.c 940 if (priv->grabbed) { +428 virt-viewer-window.c 943 if (virt_viewer_app_get_enable_accel(priv->app)) { +429 virt-viewer-window.c 955 if (!ungrab && !priv->subtitle) +430 virt-viewer-window.c 966 ungrab && priv->subtitle ? _(" ") : "", +431 virt-viewer-window.c 967 priv->subtitle, +432 virt-viewer-window.c 970 gtk_window_set_title(GTK_WINDOW(priv->window), tit + le); +433 virt-viewer-window.c 985 menu = GTK_WIDGET(gtk_builder_get_object(priv->bui + lder, "menu-file-usb-device-selection")); +434 virt-viewer-window.c 987 gtk_widget_set_visible(priv->toolbar_usb_device_se + lection, sensitive); +435 virt-viewer-window.c 998 gtk_widget_set_sensitive(GTK_WIDGET(gtk_builder_ge + t_object(self->priv->builder, "menu-send")), hint) + ; +436 virt-viewer-window.c 999 gtk_widget_set_sensitive(GTK_WIDGET(gtk_builder_ge + t_object(self->priv->builder, "menu-file-screensho + t")), hint); +437 virt-viewer-window.c 1000 gtk_widget_set_sensitive(self->priv->toolbar_send_ + key, hint); +438 virt-viewer-window.c 1012 if (priv->display) { +439 virt-viewer-window.c 1013 gtk_notebook_remove_page(GTK_NOTEBOOK(priv->notebo + ok), 1); +440 virt-viewer-window.c 1014 g_object_unref(priv->display); +441 virt-viewer-window.c 1015 priv->display = NULL; +442 virt-viewer-window.c 1019 priv->display = g_object_ref(display); +443 virt-viewer-window.c 1021 virt_viewer_display_set_zoom_level(VIRT_VIEWER_DIS + PLAY(priv->display), priv->zoomlevel); +444 virt-viewer-window.c 1022 virt_viewer_display_set_auto_resize(VIRT_VIEWER_DI + SPLAY(priv->display), priv->auto_resize); +445 virt-viewer-window.c 1024 gtk_notebook_append_page(GTK_NOTEBOOK(priv->notebo + ok), GTK_WIDGET(display), NULL); +446 virt-viewer-window.c 1045 gtk_widget_show(self->priv->window); +447 virt-viewer-window.c 1047 if (self->priv->desktop_resize_pending) { +448 virt-viewer-window.c 1049 self->priv->desktop_resize_pending = FALSE; +449 virt-viewer-window.c 1056 gtk_widget_hide(self->priv->window); +450 virt-viewer-window.c 1065 self->priv->zoomlevel = zoom_level; +451 virt-viewer-window.c 1071 return self->priv->zoomlevel; +452 virt-viewer-window.c 1079 return GTK_MENU_ITEM(gtk_builder_get_object(self-> + priv->builder, "menu-displays")); +453 virt-viewer-window.c 1087 return self->priv->builder; +454 virt-viewer-display-vnc.c 49 g_object_unref(vnc->priv->vnc); +455 virt-viewer-display-vnc.c 115 g_return_if_fail(self->priv->vnc != NULL); +456 virt-viewer-display-vnc.c 117 vnc_display_send_keys(self->priv->vnc, keyvals, nk + eyvals); +457 virt-viewer-display-vnc.c 127 g_return_val_if_fail(self->priv->vnc != NULL, NULL + ); +458 virt-viewer-display-vnc.c 129 return vnc_display_get_pixbuf(self->priv->vnc); +459 virt-viewer-display-vnc.c 158 display->priv->vnc = vnc; +460 virt-viewer-display-vnc.c 160 gtk_container_add(GTK_CONTAINER(display), GTK_WIDG + ET(display->priv->vnc)); +461 virt-viewer-display-vnc.c 161 vnc_display_set_keyboard_grab(display->priv->vnc, + TRUE); +462 virt-viewer-display-vnc.c 162 vnc_display_set_pointer_grab(display->priv->vnc, T + RUE); +463 virt-viewer-display-vnc.c 173 vnc_display_set_force_size(display->priv->vnc, FAL + SE); +464 virt-viewer-display-vnc.c 174 vnc_display_set_scaling(display->priv->vnc, TRUE); +465 virt-viewer-display-vnc.c 177 g_signal_connect(display->priv->vnc, "vnc-desktop- + resize", +466 virt-viewer-display-vnc.c 180 g_signal_connect(display->priv->vnc, "vnc-pointer- + grab", +467 virt-viewer-display-vnc.c 182 g_signal_connect(display->priv->vnc, "vnc-pointer- + ungrab", +468 virt-viewer-display-vnc.c 184 g_signal_connect(display->priv->vnc, "vnc-keyboard + -grab", +469 virt-viewer-display-vnc.c 186 g_signal_connect(display->priv->vnc, "vnc-keyboard + -ungrab", +470 virt-viewer-display-vnc.c 202 gtk_container_remove(GTK_CONTAINER(display), GTK_W + IDGET(vnc->priv->vnc)); +471 virt-viewer.c 96 if (priv->dom) +472 virt-viewer.c 97 virDomainFree(priv->dom); +473 virt-viewer.c 98 if (priv->conn) +474 virt-viewer.c 99 virConnectClose(priv->conn); +475 virt-viewer.c 133 if (priv->dom) { +476 virt-viewer.c 134 virDomainFree(priv->dom); +477 virt-viewer.c 135 priv->dom = NULL; +478 virt-viewer.c 138 if (priv->reconnect) { +479 virt-viewer.c 139 if (!priv->withEvents) { +480 virt-viewer.c 145 virt_viewer_app_trace(app, "Guest %s display has d + isconnected, waiting to reconnect", priv->domkey); +481 virt-viewer.c 199 int id = strtol(priv->domkey, &end, 10); +482 virt-viewer.c 204 dom = virDomainLookupByID(priv->conn, id); +483 virt-viewer.c 206 if (!dom && virt_viewer_parse_uuid(priv->domkey, u + uid) == 0) { +484 virt-viewer.c 207 dom = virDomainLookupByUUID(priv->conn, uuid); +485 virt-viewer.c 210 dom = virDomainLookupByName(priv->conn, priv->domk + ey); +486 virt-viewer.c 222 int id = strtol(priv->domkey, &end, 10); +487 virt-viewer.c 230 if (virt_viewer_parse_uuid(priv->domkey, wantuuid) + == 0) { +488 virt-viewer.c 237 if (strcmp(name, priv->domkey) == 0) +489 virt-viewer.c 309 priv->domkey); +490 virt-viewer.c 322 priv->domkey); +491 virt-viewer.c 342 uri = virConnectGetURI(priv->conn); +492 virt-viewer.c 345 priv->domkey); +493 virt-viewer.c 388 if (priv->dom) +494 virt-viewer.c 389 virDomainFree(priv->dom); +495 virt-viewer.c 390 priv->dom = dom; +496 virt-viewer.c 391 virDomainRef(priv->dom); +497 virt-viewer.c 394 priv->domkey); +498 virt-viewer.c 416 if (!priv->dom) +499 virt-viewer.c 422 if (virDomainOpenGraphics(priv->dom, 0, pair[0], +500 virt-viewer.c 477 if (priv->waitvm) { +501 virt-viewer.c 480 priv->domkey); +502 virt-viewer.c 484 priv->domkey); +503 virt-viewer.c 485 DEBUG_LOG("Cannot find guest %s", priv->domkey); +504 virt-viewer.c 503 if (priv->waitvm) { +505 virt-viewer.c 506 priv->domkey); +506 virt-viewer.c 567 app->priv->uri, +507 virt-viewer.c 618 priv->uri ? priv->uri : "<null>"); +508 virt-viewer.c 619 priv->conn = virConnectOpenAuth(priv->uri, +509 virt-viewer.c 623 if (!priv->conn) { +510 virt-viewer.c 625 priv->uri ? priv->uri : _("[none]")); +511 virt-viewer.c 632 if (virConnectDomainEventRegister(priv->conn, +512 virt-viewer.c 636 priv->withEvents = FALSE; +513 virt-viewer.c 638 priv->withEvents = TRUE; +514 virt-viewer.c 640 if (!priv->withEvents && +515 virt-viewer.c 681 priv->uri = g_strdup(uri); +516 virt-viewer.c 682 priv->domkey = g_strdup(name); +517 virt-viewer.c 683 priv->waitvm = waitvm; +518 virt-viewer.c 684 priv->reconnect = reconnect; +519 virt-viewer-session-vnc.c 57 if (vnc->priv->vnc) { +520 virt-viewer-session-vnc.c 58 vnc_display_close(vnc->priv->vnc); +521 virt-viewer-session-vnc.c 59 g_object_unref(vnc->priv->vnc); +522 virt-viewer-session-vnc.c 61 if (vnc->priv->main_window) +523 virt-viewer-session-vnc.c 62 g_object_unref(vnc->priv->main_window); +524 virt-viewer-session-vnc.c 95 GtkWidget *display = virt_viewer_display_vnc_new(s + ession->priv->vnc); +525 virt-viewer-session-vnc.c 110 /* virt_viewer_display_set_show_hint(VIRT_VIEWER_D + ISPLAY(session->priv->vnc), */ +526 virt-viewer-session-vnc.c 165 g_return_val_if_fail(self->priv->vnc != NULL, FALS + E); +527 virt-viewer-session-vnc.c 167 return vnc_display_open_fd(self->priv->vnc, fd); +528 virt-viewer-session-vnc.c 188 g_return_val_if_fail(self->priv->vnc != NULL, FALS + E); +529 virt-viewer-session-vnc.c 190 return vnc_display_open_host(self->priv->vnc, host + , port); +530 virt-viewer-session-vnc.c 204 g_return_val_if_fail(self->priv->vnc != NULL, FALS + E); +531 virt-viewer-session-vnc.c 222 ret = vnc_display_open_host(self->priv->vnc, +532 virt-viewer-session-vnc.c 239 virt_viewer_auth_vnc_credentials(self->priv->main_ + window, +533 virt-viewer-session-vnc.c 253 DEBUG_LOG("close vnc=%p", self->priv->vnc); +534 virt-viewer-session-vnc.c 254 if (self->priv->vnc != NULL) { +535 virt-viewer-session-vnc.c 256 vnc_display_close(self->priv->vnc); +536 virt-viewer-session-vnc.c 257 g_object_unref(self->priv->vnc); +537 virt-viewer-session-vnc.c 260 self->priv->vnc = VNC_DISPLAY(vnc_display_new()); +538 virt-viewer-session-vnc.c 261 g_object_ref_sink(self->priv->vnc); +539 virt-viewer-session-vnc.c 263 g_signal_connect(self->priv->vnc, "vnc-connected", +540 virt-viewer-session-vnc.c 265 g_signal_connect(self->priv->vnc, "vnc-initialized + ", +541 virt-viewer-session-vnc.c 267 g_signal_connect(self->priv->vnc, "vnc-disconnecte + d", +542 virt-viewer-session-vnc.c 270 g_signal_connect(self->priv->vnc, "vnc-bell", +543 virt-viewer-session-vnc.c 272 g_signal_connect(self->priv->vnc, "vnc-auth-failur + e", +544 virt-viewer-session-vnc.c 274 g_signal_connect(self->priv->vnc, "vnc-auth-unsupp + orted", +545 virt-viewer-session-vnc.c 276 g_signal_connect(self->priv->vnc, "vnc-server-cut- + text", +546 virt-viewer-session-vnc.c 279 g_signal_connect(self->priv->vnc, "vnc-auth-creden + tial", +547 virt-viewer-session-vnc.c 291 session->priv->vnc = VNC_DISPLAY(vnc_display_new() + ); +548 virt-viewer-session-vnc.c 292 g_object_ref_sink(session->priv->vnc); +549 virt-viewer-session-vnc.c 293 session->priv->main_window = g_object_ref(main_win + dow); +550 virt-viewer-session-vnc.c 295 g_signal_connect(session->priv->vnc, "vnc-connecte + d", +551 virt-viewer-session-vnc.c 297 g_signal_connect(session->priv->vnc, "vnc-initiali + zed", +552 virt-viewer-session-vnc.c 299 g_signal_connect(session->priv->vnc, "vnc-disconne + cted", +553 virt-viewer-session-vnc.c 302 g_signal_connect(session->priv->vnc, "vnc-bell", +554 virt-viewer-session-vnc.c 304 g_signal_connect(session->priv->vnc, "vnc-auth-fai + lure", +555 virt-viewer-session-vnc.c 306 g_signal_connect(session->priv->vnc, "vnc-auth-uns + upported", +556 virt-viewer-session-vnc.c 308 g_signal_connect(session->priv->vnc, "vnc-server-c + ut-text", +557 virt-viewer-session-vnc.c 311 g_signal_connect(session->priv->vnc, "vnc-auth-cre + dential", +558 virt-viewer-display.c 233 display->priv->desktopWidth = 100; +559 virt-viewer-display.c 234 display->priv->desktopHeight = 100; +560 virt-viewer-display.c 235 display->priv->zoom_level = 100; +561 virt-viewer-display.c 236 display->priv->zoom = TRUE; +562 virt-viewer-display.c 237 display->priv->dirty = TRUE; +563 virt-viewer-display.c 238 display->priv->auto_resize = TRUE; +564 virt-viewer-display.c 260 priv->desktopHeight); +565 virt-viewer-display.c 264 priv->desktopWidth, +566 virt-viewer-display.c 268 priv->nth_display = g_value_get_int(value); +567 virt-viewer-display.c 271 g_warn_if_fail(priv->session == NULL); +568 virt-viewer-display.c 272 priv->session = g_value_get_object(value); +569 virt-viewer-display.c 292 g_value_set_int(value, priv->desktopWidth); +570 virt-viewer-display.c 295 g_value_set_int(value, priv->desktopHeight); +571 virt-viewer-display.c 298 g_value_set_int(value, priv->nth_display); +572 virt-viewer-display.c 301 g_value_set_int(value, priv->show_hint); +573 virt-viewer-display.c 328 if (!priv->dirty) +574 virt-viewer-display.c 345 if (priv->dirty) { +575 virt-viewer-display.c 346 if (priv->zoom) { +576 virt-viewer-display.c 347 requisition->width += priv->desktopWidth * priv->z + oom_level / 100; +577 virt-viewer-display.c 348 requisition->height += priv->desktopHeight * priv- + >zoom_level / 100; +578 virt-viewer-display.c 350 requisition->width += priv->desktopWidth; +579 virt-viewer-display.c 351 requisition->height += priv->desktopHeight; +580 virt-viewer-display.c 360 priv->desktopWidth, priv->desktopHeight); +581 virt-viewer-display.c 407 desktopAspect = (double)priv->desktopWidth / (doub + le)priv->desktopHeight; +582 virt-viewer-display.c 435 if (priv->dirty) { +583 virt-viewer-display.c 437 priv->dirty = FALSE; +584 virt-viewer-display.c 448 if (width == priv->desktopWidth && height == priv- + >desktopHeight) +585 virt-viewer-display.c 451 priv->desktopWidth = width; +586 virt-viewer-display.c 452 priv->desktopHeight = height; +587 virt-viewer-display.c 453 priv->dirty = TRUE; +588 virt-viewer-display.c 466 *width = priv->desktopWidth; +589 virt-viewer-display.c 467 *height = priv->desktopHeight; +590 virt-viewer-display.c 481 priv->zoom_level = zoom; +591 virt-viewer-display.c 484 priv->dirty = TRUE; +592 virt-viewer-display.c 493 return priv->zoom_level; +593 virt-viewer-display.c 503 priv->zoom = zoom; +594 virt-viewer-display.c 505 priv->dirty = TRUE; +595 virt-viewer-display.c 514 return priv->zoom; +596 virt-viewer-display.c 539 if (priv->show_hint == hint) +597 virt-viewer-display.c 542 priv->show_hint = hint; +598 virt-viewer-display.c 550 return self->priv->session; +599 virt-viewer-display.c 557 self->priv->auto_resize = auto_resize; +600 virt-viewer-display.c 564 return self->priv->auto_resize; +601 virt-viewer-session-spice.c 101 g_value_set_object(value, priv->session); +602 virt-viewer-session-spice.c 123 if (spice->priv->session) { +603 virt-viewer-session-spice.c 124 spice_session_disconnect(spice->priv->session); +604 virt-viewer-session-spice.c 125 g_object_unref(spice->priv->session); +605 virt-viewer-session-spice.c 126 spice->priv->session = NULL; +606 virt-viewer-session-spice.c 129 spice->priv->audio = NULL; +607 virt-viewer-session-spice.c 131 if (spice->priv->main_window) +608 virt-viewer-session-spice.c 132 g_object_unref(spice->priv->main_window); +609 virt-viewer-session-spice.c 193 g_return_if_fail(self->priv->session == NULL); +610 virt-viewer-session-spice.c 195 self->priv->session = spice_session_new(); +611 virt-viewer-session-spice.c 196 spice_set_session_option(self->priv->session); +612 virt-viewer-session-spice.c 198 self->priv->gtk_session = spice_gtk_session_get(se + lf->priv->session); +613 virt-viewer-session-spice.c 199 g_object_set(self->priv->gtk_session, "auto-clipbo + ard", TRUE, NULL); +614 virt-viewer-session-spice.c 201 g_signal_connect(self->priv->session, "channel-new + ", +615 virt-viewer-session-spice.c 203 g_signal_connect(self->priv->session, "channel-des + troy", +616 virt-viewer-session-spice.c 206 manager = spice_usb_device_manager_get(self->priv- + >session, NULL); +617 virt-viewer-session-spice.c 215 self->priv->gtk_session, "auto-usbredir", +618 virt-viewer-session-spice.c 228 if (self->priv->session) { +619 virt-viewer-session-spice.c 229 spice_session_disconnect(self->priv->session); +620 virt-viewer-session-spice.c 230 g_object_unref(self->priv->session); +621 virt-viewer-session-spice.c 231 self->priv->session = NULL; +622 virt-viewer-session-spice.c 232 self->priv->gtk_session = NULL; +623 virt-viewer-session-spice.c 233 self->priv->audio = NULL; +624 virt-viewer-session-spice.c 249 g_return_val_if_fail(self->priv->session != NULL, + FALSE); +625 virt-viewer-session-spice.c 251 g_object_set(self->priv->session, +626 virt-viewer-session-spice.c 257 return spice_session_connect(self->priv->session); +627 virt-viewer-session-spice.c 267 g_return_val_if_fail(self->priv->session != NULL, + FALSE); +628 virt-viewer-session-spice.c 269 g_object_set(self->priv->session, "uri", uri, NULL + ); +629 virt-viewer-session-spice.c 271 return spice_session_connect(self->priv->session); +630 virt-viewer-session-spice.c 282 return spice_session_open_fd(self->priv->session, + fd); +631 virt-viewer-session-spice.c 323 if (self->priv->session) +632 virt-viewer-session-spice.c 324 spice_session_disconnect(self->priv->session); +633 virt-viewer-session-spice.c 331 int ret = virt_viewer_auth_collect_credentials(sel + f->priv->main_window, +634 virt-viewer-session-spice.c 340 g_object_set(self->priv->session, "password", pass + word, NULL); +635 virt-viewer-session-spice.c 341 g_object_get(self->priv->session, "client-sockets" + , &openfd, NULL); +636 virt-viewer-session-spice.c 344 spice_session_open_fd(self->priv->session, -1); +637 virt-viewer-session-spice.c 346 spice_session_connect(self->priv->session); +638 virt-viewer-session-spice.c 372 return spice_usb_device_manager_get(priv->session, + NULL) && +639 virt-viewer-session-spice.c 373 spice_session_has_channel_type(priv->session, +640 virt-viewer-session-spice.c 403 usb_device_widget = spice_usb_device_widget_new(pr + iv->session, +641 virt-viewer-session-spice.c 446 if (self->priv->main_channel != NULL) +642 virt-viewer-session-spice.c 447 g_signal_handlers_disconnect_by_func(self->priv->m + ain_channel, +643 virt-viewer-session-spice.c 452 self->priv->main_channel = SPICE_MAIN_CHANNEL(chan + nel); +644 virt-viewer-session-spice.c 480 if (self->priv->audio == NULL) +645 virt-viewer-session-spice.c 481 self->priv->audio = spice_audio_get(s, NULL); +646 virt-viewer-session-spice.c 486 if (self->priv->mouse_cursor == NULL) +647 virt-viewer-session-spice.c 487 self->priv->mouse_cursor = get_blank_cursor(); +648 virt-viewer-session-spice.c 490 self->priv->channel_count++; +649 virt-viewer-session-spice.c 555 if (channel == SPICE_CHANNEL(self->priv->main_chan + nel)) +650 virt-viewer-session-spice.c 556 self->priv->main_channel = NULL; +651 virt-viewer-session-spice.c 563 if (SPICE_IS_PLAYBACK_CHANNEL(channel) && self->pr + iv->audio) { +652 virt-viewer-session-spice.c 565 self->priv->audio = NULL; +653 virt-viewer-session-spice.c 568 self->priv->channel_count--; +654 virt-viewer-session-spice.c 569 if (self->priv->channel_count == 0) +655 virt-viewer-session-spice.c 589 self->priv->main_window = g_object_ref(main_window + ); +656 virt-viewer-session-spice.c 601 return self->priv->main_channel; +657 view/autoDrawer.c 89 if (!priv->active) { +658 view/autoDrawer.c 95 g_assert(priv->over != NULL); +659 view/autoDrawer.c 96 g_assert(GTK_IS_WIDGET(priv->over)); +660 view/autoDrawer.c 98 ViewOvBox_SetMin(VIEW_OV_BOX(that), priv->noOverla + pPixels); +661 view/autoDrawer.c 101 if (priv->opened && !priv->forceClosing) { +662 view/autoDrawer.c 104 gtk_widget_get_allocation (priv->over, &allocation + ); +663 view/autoDrawer.c 105 fraction = ((double)priv->overlapPixels / allocati + on.height); +664 view/autoDrawer.c 134 that->priv->delayConnection = 0; +665 view/autoDrawer.c 161 that->priv->closeConnection = 0; +666 view/autoDrawer.c 162 that->priv->forceClosing = FALSE; +667 view/autoDrawer.c 206 priv->opened = FALSE; +668 view/autoDrawer.c 210 if (priv->pinned) { +669 view/autoDrawer.c 213 priv->opened = TRUE; +670 view/autoDrawer.c 218 if (gtk_widget_get_window(priv->evBox)) { +671 view/autoDrawer.c 225 devmgr = gdk_display_get_device_manager(gtk_widget + _get_display(priv->evBox)); +672 view/autoDrawer.c 228 gdk_window_get_device_position(gtk_widget_get_wind + ow(priv->evBox), +673 view/autoDrawer.c 231 gtk_widget_get_pointer(priv->evBox, &x, &y); +674 view/autoDrawer.c 234 gtk_widget_get_allocation(priv->evBox, &allocation + ); +675 view/autoDrawer.c 235 g_assert(gtk_container_get_border_width( GTK_CON + TAINER(priv->evBox)) +676 view/autoDrawer.c 239 priv->opened = TRUE; +677 view/autoDrawer.c 249 if (focus && gtk_widget_is_ancestor(focus, priv->e + vBox)) { +678 view/autoDrawer.c 256 priv->opened = TRUE; +679 view/autoDrawer.c 262 if (!priv->inputUngrabbed) { +680 view/autoDrawer.c 314 if (grabbed && gtk_widget_is_ancestor(grabbed, pri + v->evBox)) { +681 view/autoDrawer.c 322 priv->opened = TRUE; +682 view/autoDrawer.c 326 if (priv->delayConnection) { +683 view/autoDrawer.c 327 g_source_remove(priv->delayConnection); +684 view/autoDrawer.c 330 if (priv->forceClosing) { +685 view/autoDrawer.c 335 priv->delayConnection = g_timeout_add(priv->delayV + alue, +686 view/autoDrawer.c 396 priv->inputUngrabbed = ungrabbed; +687 view/autoDrawer.c 498 GtkWidget *oldChild = gtk_bin_get_child(GTK_BIN(pr + iv->evBox)); +688 view/autoDrawer.c 502 gtk_container_remove(GTK_CONTAINER(priv->evBox), o + ldChild); +689 view/autoDrawer.c 506 gtk_container_add(GTK_CONTAINER(priv->evBox), widg + et); +690 view/autoDrawer.c 513 priv->over = widget; +691 view/autoDrawer.c 541 expand = (that->priv->fill || (that->priv->offset + < 0)); +692 view/autoDrawer.c 542 fill = that->priv->fill; +693 view/autoDrawer.c 543 padding = (expand || fill) ? 0 : that->priv->offse + t; +694 view/autoDrawer.c 545 gtk_box_set_child_packing(GTK_BOX(that), that->pri + v->evBox, +695 view/autoDrawer.c 577 priv->active = TRUE; +696 view/autoDrawer.c 578 priv->pinned = FALSE; +697 view/autoDrawer.c 579 priv->forceClosing = FALSE; +698 view/autoDrawer.c 580 priv->inputUngrabbed = TRUE; +699 view/autoDrawer.c 581 priv->delayConnection = 0; +700 view/autoDrawer.c 582 priv->delayValue = 250; +701 view/autoDrawer.c 583 priv->overlapPixels = 0; +702 view/autoDrawer.c 584 priv->noOverlapPixels = 1; +703 view/autoDrawer.c 586 priv->fill = TRUE; +704 view/autoDrawer.c 587 priv->offset = -1; +705 view/autoDrawer.c 589 priv->evBox = gtk_event_box_new(); +706 view/autoDrawer.c 590 gtk_widget_show(priv->evBox); +707 view/autoDrawer.c 591 VIEW_OV_BOX_CLASS(parentClass)->set_over(VIEW_OV_B + OX(that), priv->evBox); +708 view/autoDrawer.c 593 g_signal_connect(priv->evBox, "enter-notify-event" + , +709 view/autoDrawer.c 595 g_signal_connect(priv->evBox, "leave-notify-event" + , +710 view/autoDrawer.c 597 g_signal_connect(priv->evBox, "grab-notify", +711 view/autoDrawer.c 632 if (that->priv->delayConnection) { +712 view/autoDrawer.c 633 g_source_remove(that->priv->delayConnection); +713 view/autoDrawer.c 768 that->priv->delayValue = delay; +714 view/autoDrawer.c 795 that->priv->overlapPixels = overlapPixels; +715 view/autoDrawer.c 825 that->priv->noOverlapPixels = noOverlapPixels; +716 view/autoDrawer.c 856 that->priv->active = active; +717 view/autoDrawer.c 886 that->priv->pinned = pinned; +718 view/autoDrawer.c 920 that->priv->fill = fill; +719 view/autoDrawer.c 949 that->priv->offset = offset; +720 view/autoDrawer.c 988 if (focus && gtk_widget_is_ancestor(focus, that->p + riv->evBox)) { +721 view/autoDrawer.c 992 that->priv->forceClosing = TRUE; +722 view/autoDrawer.c 993 that->priv->closeConnection = +723 view/autoDrawer.c 995 that->priv->delayValue, +724 view/ovBox.c 134 priv->underWin = NULL; +725 view/ovBox.c 135 priv->under = NULL; +726 view/ovBox.c 136 priv->overWin = NULL; +727 view/ovBox.c 137 priv->over = NULL; +728 view/ovBox.c 138 priv->overR.height = -1; +729 view/ovBox.c 139 priv->overR.width = -1; +730 view/ovBox.c 140 priv->min = 0; +731 view/ovBox.c 141 priv->fraction = 0; +732 view/ovBox.c 142 priv->verticalOffset = 0; +733 view/ovBox.c 214 return MIN(that->priv->min, that->priv->overR.heig + ht); +734 view/ovBox.c 286 if (priv->over) { +735 view/ovBox.c 291 gtk_container_child_get(GTK_CONTAINER(that), priv- + >over, +736 view/ovBox.c 306 *width = MIN(priv->overR.width, boxWidth - padding + ); +737 view/ovBox.c 309 *width = MIN(priv->overR.width, boxWidth); +738 view/ovBox.c 316 *y = (priv->overR.height - ViewOvBoxGetActualMin + (that)) +739 view/ovBox.c 317 * (priv->fraction - 1) + priv->verticalOffset; +740 view/ovBox.c 318 *height = priv->overR.height; +741 view/ovBox.c 348 gtk_style_context_set_background(stylecontext, tha + t->priv->underWin); +742 view/ovBox.c 349 gtk_style_context_set_background(stylecontext, tha + t->priv->overWin); +743 view/ovBox.c 355 gtk_style_set_background(style, that->priv->underW + in, GTK_STATE_NORMAL); +744 view/ovBox.c 356 gtk_style_set_background(style, that->priv->overWi + n, GTK_STATE_NORMAL); +745 view/ovBox.c 391 priv->mouse_cursor = gdk_cursor_new(GDK_ARROW); +746 view/ovBox.c 419 priv->underWin = gdk_window_new(window, &attribute + s, mask); +747 view/ovBox.c 420 gdk_window_set_user_data(priv->underWin, that); +748 view/ovBox.c 421 if (priv->under) { +749 view/ovBox.c 422 gtk_widget_set_parent_window(priv->under, priv->un + derWin); +750 view/ovBox.c 424 gdk_window_show(priv->underWin); +751 view/ovBox.c 428 priv->overWin = gdk_window_new(window, &attributes + , mask); +752 view/ovBox.c 429 gdk_window_set_user_data(priv->overWin, that); +753 view/ovBox.c 430 if (priv->over) { +754 view/ovBox.c 431 gtk_widget_set_parent_window(priv->over, priv->ove + rWin); +755 view/ovBox.c 433 gdk_window_show(priv->overWin); +756 view/ovBox.c 434 gdk_window_set_cursor(window, priv->mouse_cursor); +757 view/ovBox.c 473 gdk_window_set_user_data(priv->underWin, NULL); +758 view/ovBox.c 474 gdk_window_destroy(priv->underWin); +759 view/ovBox.c 475 priv->underWin = NULL; +760 view/ovBox.c 477 gdk_window_set_user_data(priv->overWin, NULL); +761 view/ovBox.c 478 gdk_window_destroy(priv->overWin); +762 view/ovBox.c 479 priv->overWin = NULL; +763 view/ovBox.c 515 gtk_widget_get_preferred_size(priv->under, NULL, & + underR); +764 view/ovBox.c 516 gtk_widget_get_preferred_size(priv->over, NULL, &p + riv->overR); +765 view/ovBox.c 518 gtk_widget_size_request(priv->under, &underR); +766 view/ovBox.c 519 gtk_widget_size_request(priv->over, &priv->overR); +767 view/ovBox.c 522 gtk_container_child_get(GTK_CONTAINER(that), priv- + >over, +768 view/ovBox.c 528 priv->overR.width + ((expand || fill) ? 0 : paddin + g)); +769 view/ovBox.c 530 requisition->height = MAX(underR.height + min, pri + v->overR.height); +770 view/ovBox.c 598 gdk_window_move_resize(priv->underWin, under.x, un + der.y, under.width, +771 view/ovBox.c 600 gdk_window_move_resize(priv->overWin, over.x, over + .y, over.width, +772 view/ovBox.c 606 gtk_widget_size_allocate(priv->under, &under); +773 view/ovBox.c 609 gtk_widget_size_allocate(priv->over, &over); +774 view/ovBox.c 706 ViewOvBoxSetChild(that, &that->priv->over, that->p + riv->overWin, widget); +775 view/ovBox.c 845 ViewOvBoxSetChild(that, &that->priv->under, that-> + priv->underWin, widget); +776 view/ovBox.c 901 that->priv->min = min; +777 view/ovBox.c 930 that->priv->fraction = fraction; +778 view/ovBox.c 938 gdk_window_move(that->priv->overWin, x, y); +779 view/ovBox.c 964 return that->priv->fraction; +780 view/drawer.c 78 that->priv->period = 10; +781 view/drawer.c 79 that->priv->step = 0.2; +782 view/drawer.c 80 that->priv->timer.pending = FALSE; +783 view/drawer.c 109 if (priv->timer.pending) { +784 view/drawer.c 110 g_source_remove(priv->timer.id); +785 view/drawer.c 111 priv->timer.pending = FALSE; +786 view/drawer.c 252 if (priv->goal == fraction) { +787 view/drawer.c 253 return priv->timer.pending = FALSE; +788 view/drawer.c 257 priv->goal > fraction +789 view/drawer.c 258 ? MIN(fraction + priv->step, priv->goal) +790 view/drawer.c 259 : MAX(fraction - priv->step, priv->goal)); +791 view/drawer.c 292 priv->period = period; +792 view/drawer.c 293 if (priv->timer.pending) { +793 view/drawer.c 294 g_source_remove(priv->timer.id); +794 view/drawer.c 295 priv->timer.id = g_timeout_add(priv->period, ViewD + rawerOnTimer, that); +795 view/drawer.c 297 priv->step = step; +796 view/drawer.c 329 priv->goal = goal; +797 view/drawer.c 330 if (priv->timer.pending == FALSE) { +798 view/drawer.c 331 priv->timer.id = g_timeout_add(priv->period, ViewD + rawerOnTimer, that); +799 view/drawer.c 332 priv->timer.pending = TRUE; +800 view/drawer.c 365 return priv->period * ((int)(1/priv->step) + 1); diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/gbinding.c b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/gbinding.c new file mode 100644 index 0000000..5b5757c --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/gbinding.c @@ -0,0 +1,1221 @@ +/* gbinding.c: Binding for object properties + * + * Copyright (C) 2010 Intel Corp. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + * + * Author: Emmanuele Bassi <ebassi@linux.intel.com> + */ + +/** + * SECTION:gbinding + * @Title: GBinding + * @Short_Description: Bind two object properties + * + * #GBinding is the representation of a binding between a property on a + * #GObject instance (or source) and another property on another #GObject + * instance (or target). Whenever the source property changes, the same + * value is applied to the target property; for instance, the following + * binding: + * + * |[ + * g_object_bind_property (object1, "property-a", + * object2, "property-b", + * G_BINDING_DEFAULT); + * ]| + * + * will cause <emphasis>object2:property-b</emphasis> to be updated every + * time g_object_set() or the specific accessor changes the value of + * <emphasis>object1:property-a</emphasis>. + * + * It is possible to create a bidirectional binding between two properties + * of two #GObject instances, so that if either property changes, the + * other is updated as well, for instance: + * + * |[ + * g_object_bind_property (object1, "property-a", + * object2, "property-b", + * G_BINDING_BIDIRECTIONAL); + * ]| + * + * will keep the two properties in sync. + * + * It is also possible to set a custom transformation function (in both + * directions, in case of a bidirectional binding) to apply a custom + * transformation from the source value to the target value before + * applying it; for instance, the following binding: + * + * |[ + * g_object_bind_property_full (adjustment1, "value", + * adjustment2, "value", + * G_BINDING_BIDIRECTIONAL, + * celsius_to_fahrenheit, + * fahrenheit_to_celsius, + * NULL, NULL); + * ]| + * + * will keep the <emphasis>value</emphasis> property of the two adjustments + * in sync; the <function>celsius_to_fahrenheit</function> function will be + * called whenever the <emphasis>adjustment1:value</emphasis> property changes + * and will transform the current value of the property before applying it + * to the <emphasis>adjustment2:value</emphasis> property; vice versa, the + * <function>fahrenheit_to_celsius</function> function will be called whenever + * the <emphasis>adjustment2:value</emphasis> property changes, and will + * transform the current value of the property before applying it to the + * <emphasis>adjustment1:value</emphasis>. + * + * Note that #GBinding does not resolve cycles by itself; a cycle like + * + * |[ + * object1:propertyA -> object2:propertyB + * object2:propertyB -> object3:propertyC + * object3:propertyC -> object1:propertyA + * ]| + * + * might lead to an infinite loop. The loop, in this particular case, + * can be avoided if the objects emit the #GObject::notify signal only + * if the value has effectively been changed. A binding is implemented + * using the #GObject::notify signal, so it is susceptible to all the + * various ways of blocking a signal emission, like g_signal_stop_emission() + * or g_signal_handler_block(). + * + * A binding will be severed, and the resources it allocates freed, whenever + * either one of the #GObject instances it refers to are finalized, or when + * the #GBinding instance loses its last reference. + * + * #GBinding is available since GObject 2.26 + */ + +#include <string.h> + +#ifndef G_VALUE_INIT +#define G_VALUE_INIT { 0, { { 0 } } } +#endif + +#define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer + +static void +g_cclosure_user_marshal_BOOLEAN__BOXED_BOXED (GClosure *closure, + GValue *return_value G_GNUC_UNUSED, + guint n_param_values, + const GValue *param_values, + gpointer invocation_hint G_GNUC_UNUSED, + gpointer marshal_data) +{ + typedef gboolean (*GMarshalFunc_BOOLEAN__BOXED_BOXED) (gpointer data1, + gpointer arg_1, + gpointer arg_2, + gpointer data2); + register GMarshalFunc_BOOLEAN__BOXED_BOXED callback; + register GCClosure *cc = (GCClosure*) closure; + register gpointer data1, data2; + gboolean v_return; + + g_return_if_fail (return_value != NULL); + g_return_if_fail (n_param_values == 3); + + if (G_CCLOSURE_SWAP_DATA (closure)) + { + data1 = closure->data; + data2 = g_value_peek_pointer (param_values + 0); + } + else + { + data1 = g_value_peek_pointer (param_values + 0); + data2 = closure->data; + } + callback = (GMarshalFunc_BOOLEAN__BOXED_BOXED) (marshal_data ? marshal_data : cc->callback); + + v_return = callback (data1, + g_marshal_value_peek_boxed (param_values + 1), + g_marshal_value_peek_boxed (param_values + 2), + data2); + + g_value_set_boolean (return_value, v_return); +} + +GType +g_binding_flags_get_type (void) +{ + static volatile gsize g_define_type_id__volatile = 0; + + if (g_once_init_enter (&g_define_type_id__volatile)) + { + static const GFlagsValue values[] = { + { G_BINDING_DEFAULT, "G_BINDING_DEFAULT", "default" }, + { G_BINDING_BIDIRECTIONAL, "G_BINDING_BIDIRECTIONAL", "bidirectional" }, + { G_BINDING_SYNC_CREATE, "G_BINDING_SYNC_CREATE", "sync-create" }, + { G_BINDING_INVERT_BOOLEAN, "G_BINDING_INVERT_BOOLEAN", "invert-boolean" }, + { 0, NULL, NULL } + }; + GType g_define_type_id = + g_flags_register_static (g_intern_static_string ("GBindingFlags"), values); + g_once_init_leave (&g_define_type_id__volatile, g_define_type_id); + } + + return g_define_type_id__volatile; +} + +#define G_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), G_TYPE_BINDING, GBindingClass)) +#define G_IS_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), G_TYPE_BINDING)) +#define G_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), G_TYPE_BINDING, GBindingClass)) + +typedef struct _GBindingClass GBindingClass; + +struct _GBinding +{ + GObject parent_instance; + + /* no reference is held on the objects, to avoid cycles */ + GObject *source; + GObject *target; + + /* the property names are interned, so they should not be freed */ + const gchar *source_property; + const gchar *target_property; + + GParamSpec *source_pspec; + GParamSpec *target_pspec; + + GBindingTransformFunc transform_s2t; + GBindingTransformFunc transform_t2s; + + GBindingFlags flags; + + guint source_notify; + guint target_notify; + + gpointer transform_data; + GDestroyNotify notify; + + /* a guard, to avoid loops */ + guint is_frozen : 1; +}; + +struct _GBindingClass +{ + GObjectClass parent_class; +}; + +enum +{ + PROP_00, + + PROP_SOURCE, + PROP_TARGET, + PROP_SOURCE_PROPERTY, + PROP_TARGET_PROPERTY, + PROP_FLAGS +}; + +static GQuark quark_gbinding = 0; + +G_DEFINE_TYPE (GBinding, g_binding, G_TYPE_OBJECT); + +static inline void +add_binding_qdata (GObject *gobject, + GBinding *binding) +{ + GHashTable *bindings; + + bindings = g_object_get_qdata (gobject, quark_gbinding); + if (bindings == NULL) + { + bindings = g_hash_table_new (NULL, NULL); + + g_object_set_qdata_full (gobject, quark_gbinding, + bindings, + (GDestroyNotify) g_hash_table_destroy); + } + + g_hash_table_insert (bindings, binding, GUINT_TO_POINTER (1)); +} + +static inline void +remove_binding_qdata (GObject *gobject, + GBinding *binding) +{ + GHashTable *bindings; + + bindings = g_object_get_qdata (gobject, quark_gbinding); + g_hash_table_remove (bindings, binding); +} + +/* the basic assumption is that if either the source or the target + * goes away then the binding does not exist any more and it should + * be reaped as well + */ +static void +weak_unbind (gpointer user_data, + GObject *where_the_object_was) +{ + GBinding *binding = user_data; + + /* if what went away was the source, unset it so that GBinding::finalize + * does not try to access it; otherwise, disconnect everything and remove + * the GBinding instance from the object's qdata + */ + if (binding->source == where_the_object_was) + binding->source = NULL; + else + { + if (binding->source_notify != 0) + g_signal_handler_disconnect (binding->source, binding->source_notify); + + g_object_weak_unref (binding->source, weak_unbind, user_data); + remove_binding_qdata (binding->source, binding); + binding->source = NULL; + } + + /* as above, but with the target */ + if (binding->target == where_the_object_was) + binding->target = NULL; + else + { + if (binding->target_notify != 0) + g_signal_handler_disconnect (binding->target, binding->target_notify); + + g_object_weak_unref (binding->target, weak_unbind, user_data); + remove_binding_qdata (binding->target, binding); + binding->target = NULL; + } + + /* this will take care of the binding itself */ + g_object_unref (binding); +} + +static inline gboolean +default_transform (const GValue *value_a, + GValue *value_b) +{ + /* if it's not the same type, try to convert it using the GValue + * transformation API; otherwise just copy it + */ + if (!g_type_is_a (G_VALUE_TYPE (value_a), G_VALUE_TYPE (value_b))) + { + /* are these two types compatible (can be directly copied)? */ + if (g_value_type_compatible (G_VALUE_TYPE (value_a), + G_VALUE_TYPE (value_b))) + { + g_value_copy (value_a, value_b); + goto done; + } + + if (g_value_type_transformable (G_VALUE_TYPE (value_a), + G_VALUE_TYPE (value_b))) + { + if (g_value_transform (value_a, value_b)) + goto done; + + g_warning ("%s: Unable to convert a value of type %s to a " + "value of type %s", + G_STRLOC, + g_type_name (G_VALUE_TYPE (value_a)), + g_type_name (G_VALUE_TYPE (value_b))); + + return FALSE; + } + } + else + g_value_copy (value_a, value_b); + +done: + return TRUE; +} + +static inline gboolean +default_invert_boolean_transform (const GValue *value_a, + GValue *value_b) +{ + gboolean value; + + g_assert (G_VALUE_HOLDS_BOOLEAN (value_a)); + g_assert (G_VALUE_HOLDS_BOOLEAN (value_b)); + + value = g_value_get_boolean (value_a); + value = !value; + + g_value_set_boolean (value_b, value); + + return TRUE; +} + +static gboolean +default_transform_to (GBinding *binding, + const GValue *value_a, + GValue *value_b, + gpointer user_data G_GNUC_UNUSED) +{ + if (binding->flags & G_BINDING_INVERT_BOOLEAN) + return default_invert_boolean_transform (value_a, value_b); + + return default_transform (value_a, value_b); +} + +static gboolean +default_transform_from (GBinding *binding, + const GValue *value_a, + GValue *value_b, + gpointer user_data G_GNUC_UNUSED) +{ + if (binding->flags & G_BINDING_INVERT_BOOLEAN) + return default_invert_boolean_transform (value_a, value_b); + + return default_transform (value_a, value_b); +} + +static void +on_source_notify (GObject *gobject, + GParamSpec *pspec, + GBinding *binding) +{ + const gchar *p_name; + GValue source_value = G_VALUE_INIT; + GValue target_value = G_VALUE_INIT; + gboolean res; + + if (binding->is_frozen) + return; + + p_name = g_intern_string (pspec->name); + + if (p_name != binding->source_property) + return; + + g_value_init (&source_value, G_PARAM_SPEC_VALUE_TYPE (binding->source_pspec)); + g_value_init (&target_value, G_PARAM_SPEC_VALUE_TYPE (binding->target_pspec)); + + g_object_get_property (binding->source, binding->source_pspec->name, &source_value); + + res = binding->transform_s2t (binding, + &source_value, + &target_value, + binding->transform_data); + if (res) + { + binding->is_frozen = TRUE; + + g_param_value_validate (binding->target_pspec, &target_value); + g_object_set_property (binding->target, binding->target_pspec->name, &target_value); + + binding->is_frozen = FALSE; + } + + g_value_unset (&source_value); + g_value_unset (&target_value); +} + +static void +on_target_notify (GObject *gobject, + GParamSpec *pspec, + GBinding *binding) +{ + const gchar *p_name; + GValue source_value = G_VALUE_INIT; + GValue target_value = G_VALUE_INIT; + gboolean res; + + if (binding->is_frozen) + return; + + p_name = g_intern_string (pspec->name); + + if (p_name != binding->target_property) + return; + + g_value_init (&source_value, G_PARAM_SPEC_VALUE_TYPE (binding->target_pspec)); + g_value_init (&target_value, G_PARAM_SPEC_VALUE_TYPE (binding->source_pspec)); + + g_object_get_property (binding->target, binding->target_pspec->name, &source_value); + + res = binding->transform_t2s (binding, + &source_value, + &target_value, + binding->transform_data); + if (res) + { + binding->is_frozen = TRUE; + + g_param_value_validate (binding->source_pspec, &target_value); + g_object_set_property (binding->source, binding->source_pspec->name, &target_value); + + binding->is_frozen = FALSE; + } + + g_value_unset (&source_value); + g_value_unset (&target_value); +} + +static void +g_binding_finalize (GObject *gobject) +{ + GBinding *binding = G_BINDING (gobject); + + /* dispose of the transformation data */ + if (binding->notify != NULL) + { + binding->notify (binding->transform_data); + + binding->transform_data = NULL; + binding->notify = NULL; + } + + /* we need this in case the source and target instance are still + * valid, and it was the GBinding that was unreferenced + */ + if (binding->source != NULL) + { + if (binding->source_notify != 0) + g_signal_handler_disconnect (binding->source, binding->source_notify); + + g_object_weak_unref (binding->source, weak_unbind, binding); + remove_binding_qdata (binding->source, binding); + } + + if (binding->target != NULL) + { + if (binding->target_notify != 0) + g_signal_handler_disconnect (binding->target, binding->target_notify); + + g_object_weak_unref (binding->target, weak_unbind, binding); + remove_binding_qdata (binding->target, binding); + } + + G_OBJECT_CLASS (g_binding_parent_class)->finalize (gobject); +} + +static void +g_binding_set_property (GObject *gobject, + guint prop_id, + const GValue *value, + GParamSpec *pspec) +{ + GBinding *binding = G_BINDING (gobject); + + switch (prop_id) + { + case PROP_SOURCE: + binding->source = g_value_get_object (value); + break; + + case PROP_SOURCE_PROPERTY: + binding->source_property = g_intern_string (g_value_get_string (value)); + break; + + case PROP_TARGET: + binding->target = g_value_get_object (value); + break; + + case PROP_TARGET_PROPERTY: + binding->target_property = g_intern_string (g_value_get_string (value)); + break; + + case PROP_FLAGS: + binding->flags = g_value_get_flags (value); + break; + + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, prop_id, pspec); + break; + } +} + +static void +g_binding_get_property (GObject *gobject, + guint prop_id, + GValue *value, + GParamSpec *pspec) +{ + GBinding *binding = G_BINDING (gobject); + + switch (prop_id) + { + case PROP_SOURCE: + g_value_set_object (value, binding->source); + break; + + case PROP_SOURCE_PROPERTY: + g_value_set_string (value, binding->source_property); + break; + + case PROP_TARGET: + g_value_set_object (value, binding->target); + break; + + case PROP_TARGET_PROPERTY: + g_value_set_string (value, binding->target_property); + break; + + case PROP_FLAGS: + g_value_set_flags (value, binding->flags); + break; + + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, prop_id, pspec); + break; + } +} + +static void +g_binding_constructed (GObject *gobject) +{ + GBinding *binding = G_BINDING (gobject); + + /* assert that we were constructed correctly */ + g_assert (binding->source != NULL); + g_assert (binding->target != NULL); + g_assert (binding->source_property != NULL); + g_assert (binding->target_property != NULL); + + /* we assume a check was performed prior to construction - since + * g_object_bind_property_full() does it; we cannot fail construction + * anyway, so it would be hard for use to properly warn here + */ + binding->source_pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (binding->source), binding->source_property); + binding->target_pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (binding->target), binding->target_property); + g_assert (binding->source_pspec != NULL); + g_assert (binding->target_pspec != NULL); + + /* set the default transformation functions here */ + binding->transform_s2t = default_transform_to; + binding->transform_t2s = default_transform_from; + + binding->transform_data = NULL; + binding->notify = NULL; + + binding->source_notify = g_signal_connect (binding->source, "notify", + G_CALLBACK (on_source_notify), + binding); + + g_object_weak_ref (binding->source, weak_unbind, binding); + add_binding_qdata (binding->source, binding); + + if (binding->flags & G_BINDING_BIDIRECTIONAL) + binding->target_notify = g_signal_connect (binding->target, "notify", + G_CALLBACK (on_target_notify), + binding); + + g_object_weak_ref (binding->target, weak_unbind, binding); + add_binding_qdata (binding->target, binding); + +} + +static void +g_binding_class_init (GBindingClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS (klass); + + quark_gbinding = g_quark_from_static_string ("g-binding"); + + gobject_class->constructed = g_binding_constructed; + gobject_class->set_property = g_binding_set_property; + gobject_class->get_property = g_binding_get_property; + gobject_class->finalize = g_binding_finalize; + + /** + * GBinding:source: + * + * The #GObject that should be used as the source of the binding + * + * Since: 2.26 + */ + g_object_class_install_property (gobject_class, PROP_SOURCE, + g_param_spec_object ("source", + _("Source"), + _("The source of the binding"), + G_TYPE_OBJECT, + G_PARAM_CONSTRUCT_ONLY | + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + /** + * GBinding:target: + * + * The #GObject that should be used as the target of the binding + * + * Since: 2.26 + */ + g_object_class_install_property (gobject_class, PROP_TARGET, + g_param_spec_object ("target", + _("Target"), + _("The target of the binding"), + G_TYPE_OBJECT, + G_PARAM_CONSTRUCT_ONLY | + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + /** + * GBinding:source-property: + * + * The name of the property of #GBinding:source that should be used + * as the source of the binding + * + * Since: 2.26 + */ + g_object_class_install_property (gobject_class, PROP_SOURCE_PROPERTY, + g_param_spec_string ("source-property", + _("Source Property"), + _("The property on the source to bind"), + NULL, + G_PARAM_CONSTRUCT_ONLY | + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + /** + * GBinding:target-property: + * + * The name of the property of #GBinding:target that should be used + * as the target of the binding + * + * Since: 2.26 + */ + g_object_class_install_property (gobject_class, PROP_TARGET_PROPERTY, + g_param_spec_string ("target-property", + _("Target Property"), + _("The property on the target to bind"), + NULL, + G_PARAM_CONSTRUCT_ONLY | + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + /** + * GBinding:flags: + * + * Flags to be used to control the #GBinding + * + * Since: 2.26 + */ + g_object_class_install_property (gobject_class, PROP_FLAGS, + g_param_spec_flags ("flags", + _("Flags"), + _("The binding flags"), + G_TYPE_BINDING_FLAGS, + G_BINDING_DEFAULT, + G_PARAM_CONSTRUCT_ONLY | + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); +} + +static void +g_binding_init (GBinding *binding) +{ +} + +/** + * g_binding_get_flags: + * @binding: a #GBinding + * + * Retrieves the flags passed when constructing the #GBinding + * + * Return value: the #GBindingFlags used by the #GBinding + * + * Since: 2.26 + */ +GBindingFlags +g_binding_get_flags (GBinding *binding) +{ + g_return_val_if_fail (G_IS_BINDING (binding), G_BINDING_DEFAULT); + + return binding->flags; +} + +/** + * g_binding_get_source: + * @binding: a #GBinding + * + * Retrieves the #GObject instance used as the source of the binding + * + * Return value: (transfer none): the source #GObject + * + * Since: 2.26 + */ +GObject * +g_binding_get_source (GBinding *binding) +{ + g_return_val_if_fail (G_IS_BINDING (binding), NULL); + + return binding->source; +} + +/** + * g_binding_get_target: + * @binding: a #GBinding + * + * Retrieves the #GObject instance used as the target of the binding + * + * Return value: (transfer none): the target #GObject + * + * Since: 2.26 + */ +GObject * +g_binding_get_target (GBinding *binding) +{ + g_return_val_if_fail (G_IS_BINDING (binding), NULL); + + return binding->target; +} + +/** + * g_binding_get_source_property: + * @binding: a #GBinding + * + * Retrieves the name of the property of #GBinding:source used as the source + * of the binding + * + * Return value: the name of the source property + * + * Since: 2.26 + */ +const gchar * +g_binding_get_source_property (GBinding *binding) +{ + g_return_val_if_fail (G_IS_BINDING (binding), NULL); + + return binding->source_property; +} + +/** + * g_binding_get_target_property: + * @binding: a #GBinding + * + * Retrieves the name of the property of #GBinding:target used as the target + * of the binding + * + * Return value: the name of the target property + * + * Since: 2.26 + */ +const gchar * +g_binding_get_target_property (GBinding *binding) +{ + g_return_val_if_fail (G_IS_BINDING (binding), NULL); + + return binding->target_property; +} + +/** + * g_object_bind_property_full: + * @source: (type GObject.Object): the source #GObject + * @source_property: the property on @source to bind + * @target: (type GObject.Object): the target #GObject + * @target_property: the property on @target to bind + * @flags: flags to pass to #GBinding + * @transform_to: (scope notified) (allow-none): the transformation function + * from the @source to the @target, or %NULL to use the default + * @transform_from: (scope notified) (allow-none): the transformation function + * from the @target to the @source, or %NULL to use the default + * @user_data: custom data to be passed to the transformation functions, + * or %NULL + * @notify: function to be called when disposing the binding, to free the + * resources used by the transformation functions + * + * Complete version of g_object_bind_property(). + * + * Creates a binding between @source_property on @source and @target_property + * on @target, allowing you to set the transformation functions to be used by + * the binding. + * + * If @flags contains %G_BINDING_BIDIRECTIONAL then the binding will be mutual: + * if @target_property on @target changes then the @source_property on @source + * will be updated as well. The @transform_from function is only used in case + * of bidirectional bindings, otherwise it will be ignored + * + * The binding will automatically be removed when either the @source or the + * @target instances are finalized. To remove the binding without affecting the + * @source and the @target you can just call g_object_unref() on the returned + * #GBinding instance. + * + * A #GObject can have multiple bindings. + * + * <note>The same @user_data parameter will be used for both @transform_to + * and @transform_from transformation functions; the @notify function will + * be called once, when the binding is removed. If you need different data + * for each transformation function, please use + * g_object_bind_property_with_closures() instead.</note> + * + * Return value: (transfer none): the #GBinding instance representing the + * binding between the two #GObject instances. The binding is released + * whenever the #GBinding reference count reaches zero. + * + * Since: 2.26 + */ +GBinding * +g_object_bind_property_full (gpointer source, + const gchar *source_property, + gpointer target, + const gchar *target_property, + GBindingFlags flags, + GBindingTransformFunc transform_to, + GBindingTransformFunc transform_from, + gpointer user_data, + GDestroyNotify notify) +{ + GParamSpec *pspec; + GBinding *binding; + + g_return_val_if_fail (G_IS_OBJECT (source), NULL); + g_return_val_if_fail (source_property != NULL, NULL); + g_return_val_if_fail (G_IS_OBJECT (target), NULL); + g_return_val_if_fail (target_property != NULL, NULL); + + if (source == target && g_strcmp0 (source_property, target_property) == 0) + { + g_warning ("Unable to bind the same property on the same instance"); + return NULL; + } + + /* remove the G_BINDING_INVERT_BOOLEAN flag in case we have + * custom transformation functions + */ + if ((flags & G_BINDING_INVERT_BOOLEAN) && + (transform_to != NULL || transform_from != NULL)) + { + flags &= ~G_BINDING_INVERT_BOOLEAN; + } + + pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (source), source_property); + if (pspec == NULL) + { + g_warning ("%s: The source object of type %s has no property called '%s'", + G_STRLOC, + G_OBJECT_TYPE_NAME (source), + source_property); + return NULL; + } + + if (!(pspec->flags & G_PARAM_READABLE)) + { + g_warning ("%s: The source object of type %s has no readable property called '%s'", + G_STRLOC, + G_OBJECT_TYPE_NAME (source), + source_property); + return NULL; + } + + if ((flags & G_BINDING_BIDIRECTIONAL) && + ((pspec->flags & G_PARAM_CONSTRUCT_ONLY) || !(pspec->flags & G_PARAM_WRITABLE))) + { + g_warning ("%s: The source object of type %s has no writable property called '%s'", + G_STRLOC, + G_OBJECT_TYPE_NAME (source), + source_property); + return NULL; + } + + if ((flags & G_BINDING_INVERT_BOOLEAN) && + !(G_PARAM_SPEC_VALUE_TYPE (pspec) == G_TYPE_BOOLEAN)) + { + g_warning ("%s: The G_BINDING_INVERT_BOOLEAN flag can only be used " + "when binding boolean properties; the source property '%s' " + "is of type '%s'", + G_STRLOC, + source_property, + g_type_name (G_PARAM_SPEC_VALUE_TYPE (pspec))); + return NULL; + } + + pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (target), target_property); + if (pspec == NULL) + { + g_warning ("%s: The target object of type %s has no property called '%s'", + G_STRLOC, + G_OBJECT_TYPE_NAME (target), + target_property); + return NULL; + } + + if ((pspec->flags & G_PARAM_CONSTRUCT_ONLY) || !(pspec->flags & G_PARAM_WRITABLE)) + { + g_warning ("%s: The target object of type %s has no writable property called '%s'", + G_STRLOC, + G_OBJECT_TYPE_NAME (target), + target_property); + return NULL; + } + + if ((flags & G_BINDING_BIDIRECTIONAL) && + !(pspec->flags & G_PARAM_READABLE)) + { + g_warning ("%s: The target object of type %s has no readable property called '%s'", + G_STRLOC, + G_OBJECT_TYPE_NAME (target), + target_property); + return NULL; + } + + if ((flags & G_BINDING_INVERT_BOOLEAN) && + !(G_PARAM_SPEC_VALUE_TYPE (pspec) == G_TYPE_BOOLEAN)) + { + g_warning ("%s: The G_BINDING_INVERT_BOOLEAN flag can only be used " + "when binding boolean properties; the target property '%s' " + "is of type '%s'", + G_STRLOC, + target_property, + g_type_name (G_PARAM_SPEC_VALUE_TYPE (pspec))); + return NULL; + } + + binding = g_object_new (G_TYPE_BINDING, + "source", source, + "source-property", source_property, + "target", target, + "target-property", target_property, + "flags", flags, + NULL); + + if (transform_to != NULL) + binding->transform_s2t = transform_to; + + if (transform_from != NULL) + binding->transform_t2s = transform_from; + + binding->transform_data = user_data; + binding->notify = notify; + + /* synchronize the target with the source by faking an emission of + * the ::notify signal for the source property; this will also take + * care of the bidirectional binding case because the eventual change + * will emit a notification on the target + */ + if (flags & G_BINDING_SYNC_CREATE) + on_source_notify (binding->source, binding->source_pspec, binding); + + return binding; +} + +/** + * g_object_bind_property: + * @source: (type GObject.Object): the source #GObject + * @source_property: the property on @source to bind + * @target: (type GObject.Object): the target #GObject + * @target_property: the property on @target to bind + * @flags: flags to pass to #GBinding + * + * Creates a binding between @source_property on @source and @target_property + * on @target. Whenever the @source_property is changed the @target_property is + * updated using the same value. For instance: + * + * |[ + * g_object_bind_property (action, "active", widget, "sensitive", 0); + * ]| + * + * Will result in the "sensitive" property of the widget #GObject instance to be + * updated with the same value of the "active" property of the action #GObject + * instance. + * + * If @flags contains %G_BINDING_BIDIRECTIONAL then the binding will be mutual: + * if @target_property on @target changes then the @source_property on @source + * will be updated as well. + * + * The binding will automatically be removed when either the @source or the + * @target instances are finalized. To remove the binding without affecting the + * @source and the @target you can just call g_object_unref() on the returned + * #GBinding instance. + * + * A #GObject can have multiple bindings. + * + * Return value: (transfer none): the #GBinding instance representing the + * binding between the two #GObject instances. The binding is released + * whenever the #GBinding reference count reaches zero. + * + * Since: 2.26 + */ +GBinding * +g_object_bind_property (gpointer source, + const gchar *source_property, + gpointer target, + const gchar *target_property, + GBindingFlags flags) +{ + /* type checking is done in g_object_bind_property_full() */ + + return g_object_bind_property_full (source, source_property, + target, target_property, + flags, + NULL, + NULL, + NULL, NULL); +} + +typedef struct _TransformData +{ + GClosure *transform_to_closure; + GClosure *transform_from_closure; +} TransformData; + +static gboolean +bind_with_closures_transform_to (GBinding *binding, + const GValue *source, + GValue *target, + gpointer data) +{ + TransformData *t_data = data; + GValue params[3] = { G_VALUE_INIT, G_VALUE_INIT, G_VALUE_INIT }; + GValue retval = G_VALUE_INIT; + gboolean res; + + g_value_init (¶ms[0], G_TYPE_BINDING); + g_value_set_object (¶ms[0], binding); + + g_value_init (¶ms[1], G_TYPE_VALUE); + g_value_set_boxed (¶ms[1], source); + + g_value_init (¶ms[2], G_TYPE_VALUE); + g_value_set_boxed (¶ms[2], target); + + g_value_init (&retval, G_TYPE_BOOLEAN); + g_value_set_boolean (&retval, FALSE); + + g_closure_invoke (t_data->transform_to_closure, &retval, 3, params, NULL); + + res = g_value_get_boolean (&retval); + if (res) + { + const GValue *out_value = g_value_get_boxed (¶ms[2]); + + g_assert (out_value != NULL); + + g_value_copy (out_value, target); + } + + g_value_unset (¶ms[0]); + g_value_unset (¶ms[1]); + g_value_unset (¶ms[2]); + g_value_unset (&retval); + + return res; +} + +static gboolean +bind_with_closures_transform_from (GBinding *binding, + const GValue *source, + GValue *target, + gpointer data) +{ + TransformData *t_data = data; + GValue params[3] = { G_VALUE_INIT, G_VALUE_INIT, G_VALUE_INIT }; + GValue retval = G_VALUE_INIT; + gboolean res; + + g_value_init (¶ms[0], G_TYPE_BINDING); + g_value_set_object (¶ms[0], binding); + + g_value_init (¶ms[1], G_TYPE_VALUE); + g_value_set_boxed (¶ms[1], source); + + g_value_init (¶ms[2], G_TYPE_VALUE); + g_value_set_boxed (¶ms[2], target); + + g_value_init (&retval, G_TYPE_BOOLEAN); + g_value_set_boolean (&retval, FALSE); + + g_closure_invoke (t_data->transform_from_closure, &retval, 3, params, NULL); + + res = g_value_get_boolean (&retval); + if (res) + { + const GValue *out_value = g_value_get_boxed (¶ms[2]); + + g_assert (out_value != NULL); + + g_value_copy (out_value, target); + } + + g_value_unset (¶ms[0]); + g_value_unset (¶ms[1]); + g_value_unset (¶ms[2]); + g_value_unset (&retval); + + return res; +} + +static void +bind_with_closures_free_func (gpointer data) +{ + TransformData *t_data = data; + + if (t_data->transform_to_closure != NULL) + g_closure_unref (t_data->transform_to_closure); + + if (t_data->transform_from_closure != NULL) + g_closure_unref (t_data->transform_from_closure); + + g_slice_free (TransformData, t_data); +} + +/** + * g_object_bind_property_with_closures: + * @source: (type GObject.Object): the source #GObject + * @source_property: the property on @source to bind + * @target: (type GObject.Object): the target #GObject + * @target_property: the property on @target to bind + * @flags: flags to pass to #GBinding + * @transform_to: a #GClosure wrapping the transformation function + * from the @source to the @target, or %NULL to use the default + * @transform_from: a #GClosure wrapping the transformation function + * from the @target to the @source, or %NULL to use the default + * + * Creates a binding between @source_property on @source and @target_property + * on @target, allowing you to set the transformation functions to be used by + * the binding. + * + * This function is the language bindings friendly version of + * g_object_bind_property_full(), using #GClosure<!-- -->s instead of + * function pointers. + * + * Rename to: g_object_bind_property_full + * + * Return value: (transfer none): the #GBinding instance representing the + * binding between the two #GObject instances. The binding is released + * whenever the #GBinding reference count reaches zero. + * + * Since: 2.26 + */ +GBinding * +g_object_bind_property_with_closures (gpointer source, + const gchar *source_property, + gpointer target, + const gchar *target_property, + GBindingFlags flags, + GClosure *transform_to, + GClosure *transform_from) +{ + TransformData *data; + + data = g_slice_new0 (TransformData); + + if (transform_to != NULL) + { + if (G_CLOSURE_NEEDS_MARSHAL (transform_to)) + g_closure_set_marshal (transform_to, g_cclosure_user_marshal_BOOLEAN__BOXED_BOXED); + + data->transform_to_closure = g_closure_ref (transform_to); + g_closure_sink (data->transform_to_closure); + } + + if (transform_from != NULL) + { + if (G_CLOSURE_NEEDS_MARSHAL (transform_from)) + g_closure_set_marshal (transform_from, g_cclosure_user_marshal_BOOLEAN__BOXED_BOXED); + + data->transform_from_closure = g_closure_ref (transform_from); + g_closure_sink (data->transform_from_closure); + } + + return g_object_bind_property_full (source, source_property, + target, target_property, + flags, + transform_to != NULL ? bind_with_closures_transform_to : NULL, + transform_from != NULL ? bind_with_closures_transform_from : NULL, + data, + bind_with_closures_free_func); +} diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/gbinding.h b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/gbinding.h new file mode 100644 index 0000000..5e60c86 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/gbinding.h @@ -0,0 +1,129 @@ +/* gbinding.h: Binding for object properties + * + * Copyright (C) 2010 Intel Corp. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + * + * Author: Emmanuele Bassi <ebassi@linux.intel.com> + */ + +#ifndef __G_BINDING_H__ +#define __G_BINDING_H__ + +G_BEGIN_DECLS + +#define G_TYPE_BINDING_FLAGS (g_binding_flags_get_type ()) + +#define G_TYPE_BINDING (g_binding_get_type ()) +#define G_BINDING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_BINDING, GBinding)) +#define G_IS_BINDING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_BINDING)) + +/** + * GBinding: + * + * <structname>GBinding</structname> is an opaque structure whose members + * cannot be accessed directly. + * + * Since: 2.26 + */ +typedef struct _GBinding GBinding; + +/** + * GBindingTransformFunc: + * @binding: a #GBinding + * @source_value: the value of the source property + * @target_value: the value of the target property + * @user_data: data passed to the transform function + * + * A function to be called to transform the source property of @source + * from @source_value into the target property of @target + * using @target_value. + * + * Return value: %TRUE if the transformation was successful, and %FALSE + * otherwise + * + * Since: 2.26 + */ +typedef gboolean (* GBindingTransformFunc) (GBinding *binding, + const GValue *source_value, + GValue *target_value, + gpointer user_data); + +/** + * GBindingFlags: + * @G_BINDING_DEFAULT: The default binding; if the source property + * changes, the target property is updated with its value. + * @G_BINDING_BIDIRECTIONAL: Bidirectional binding; if either the + * property of the source or the property of the target changes, + * the other is updated. + * @G_BINDING_SYNC_CREATE: Synchronize the values of the source and + * target properties when creating the binding; the direction of + * the synchronization is always from the source to the target. + * @G_BINDING_INVERT_BOOLEAN: If the two properties being bound are + * booleans, setting one to %TRUE will result in the other being + * set to %FALSE and vice versa. This flag will only work for + * boolean properties, and cannot be used when passing custom + * transformation functions to g_object_bind_property_full(). + * + * Flags to be passed to g_object_bind_property() or + * g_object_bind_property_full(). + * + * This enumeration can be extended at later date. + * + * Since: 2.26 + */ +typedef enum { /*< prefix=G_BINDING >*/ + G_BINDING_DEFAULT = 0, + + G_BINDING_BIDIRECTIONAL = 1 << 0, + G_BINDING_SYNC_CREATE = 1 << 1, + G_BINDING_INVERT_BOOLEAN = 1 << 2 +} GBindingFlags; + +GType g_binding_flags_get_type (void) G_GNUC_CONST; +GType g_binding_get_type (void) G_GNUC_CONST; + +GBindingFlags g_binding_get_flags (GBinding *binding); +GObject * g_binding_get_source (GBinding *binding); +GObject * g_binding_get_target (GBinding *binding); +const gchar * g_binding_get_source_property (GBinding *binding); +const gchar * g_binding_get_target_property (GBinding *binding); + +GBinding *g_object_bind_property (gpointer source, + const gchar *source_property, + gpointer target, + const gchar *target_property, + GBindingFlags flags); +GBinding *g_object_bind_property_full (gpointer source, + const gchar *source_property, + gpointer target, + const gchar *target_property, + GBindingFlags flags, + GBindingTransformFunc transform_to, + GBindingTransformFunc transform_from, + gpointer user_data, + GDestroyNotify notify); +GBinding *g_object_bind_property_with_closures (gpointer source, + const gchar *source_property, + gpointer target, + const gchar *target_property, + GBindingFlags flags, + GClosure *transform_to, + GClosure *transform_from); + +G_END_DECLS + +#endif /* __G_BINDING_H__ */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/remote-viewer-main.c b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/remote-viewer-main.c new file mode 100644 index 0000000..3f212c0 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/remote-viewer-main.c @@ -0,0 +1,352 @@ +/* + * Remote Viewer: A spice/vnc client based on virt-viewer + * + * Copyright (C) 2011-2012 Red Hat, 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 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Marc-André Lureau <marcandre.lureau@redhat.com> + */ + +#include <config.h> +#include <locale.h> +#include <gtk/gtk.h> +#include <glib/gi18n.h> +#include <stdlib.h> +#ifdef G_OS_WIN32 +#ifdef CONFIG_MARU +#define off_t long +#define off64_t long long +#define ATTACH_PARENT_PROCESS ((DWORD)-1) +#endif +#include <windows.h> +gboolean WINAPI AttachConsole(DWORD); +#include <io.h> +#endif + +#ifdef HAVE_GTK_VNC +#include <vncdisplay.h> +#endif +#ifdef HAVE_SPICE_GTK +#include <spice-option.h> +#endif + +#include "remote-viewer.h" +#include "virt-viewer-app.h" +#include "virt-viewer-session.h" + +static void +remote_viewer_version(void) +{ + g_print(_("remote-viewer version %s\n"), VERSION); + exit(EXIT_SUCCESS); +} + +gboolean fullscreen = FALSE; +gboolean fullscreen_auto_conf = FALSE; + +static gboolean +option_fullscreen(G_GNUC_UNUSED const gchar *option_name, + const gchar *value, + G_GNUC_UNUSED gpointer data, GError **error) +{ + fullscreen = TRUE; + + if (value == NULL) + return TRUE; + + if (g_str_equal(value, "auto-conf")) { + fullscreen_auto_conf = TRUE; + return TRUE; + } + + g_set_error(error, G_OPTION_ERROR, G_OPTION_ERROR_FAILED, _("Invalid full-screen argument: %s"), value); + return FALSE; +} + +static void recent_selection_changed_dialog_cb(GtkRecentChooser *chooser, gpointer data) +{ + GtkRecentInfo *info; + GtkWidget *entry = data; + const gchar *uri; + + info = gtk_recent_chooser_get_current_item(chooser); + if (info == NULL) + return; + + uri = gtk_recent_info_get_uri(info); + g_return_if_fail(uri != NULL); + + gtk_entry_set_text(GTK_ENTRY(entry), uri); + + gtk_recent_info_unref(info); +} + +static void recent_item_activated_dialog_cb(GtkRecentChooser *chooser G_GNUC_UNUSED, gpointer data) +{ + gtk_dialog_response (GTK_DIALOG (data), GTK_RESPONSE_ACCEPT); +} + +static gint connect_dialog(gchar **uri) +{ + GtkWidget *dialog, *area, *label, *entry, *recent; + GtkRecentFilter *rfilter; + GtkTable *table; + gint retval; + + /* Create the widgets */ + dialog = gtk_dialog_new_with_buttons(_("Connection details"), + NULL, + GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_STOCK_CANCEL, + GTK_RESPONSE_REJECT, + GTK_STOCK_CONNECT, + GTK_RESPONSE_ACCEPT, + NULL); + gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_ACCEPT); + area = gtk_dialog_get_content_area(GTK_DIALOG(dialog)); + table = GTK_TABLE(gtk_table_new(1, 2, 0)); + gtk_box_pack_start(GTK_BOX(area), GTK_WIDGET(table), TRUE, TRUE, 0); + gtk_table_set_row_spacings(table, 5); + gtk_table_set_col_spacings(table, 5); + + label = gtk_label_new(_("URL:")); + gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); + gtk_table_attach_defaults(table, label, 0, 1, 0, 1); + entry = GTK_WIDGET(gtk_entry_new()); + gtk_entry_set_activates_default(GTK_ENTRY(entry), TRUE); + g_object_set(entry, "width-request", 200, NULL); + gtk_table_attach_defaults(table, entry, 1, 2, 0, 1); + + label = gtk_label_new(_("Recent connections:")); + gtk_box_pack_start(GTK_BOX(area), label, TRUE, TRUE, 0); + gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); + + recent = GTK_WIDGET(gtk_recent_chooser_widget_new()); + gtk_recent_chooser_set_show_icons(GTK_RECENT_CHOOSER(recent), FALSE); + gtk_recent_chooser_set_sort_type(GTK_RECENT_CHOOSER(recent), GTK_RECENT_SORT_MRU); + gtk_box_pack_start(GTK_BOX(area), recent, TRUE, TRUE, 0); + + rfilter = gtk_recent_filter_new(); + gtk_recent_filter_add_mime_type(rfilter, "application/x-spice"); + gtk_recent_filter_add_mime_type(rfilter, "application/x-vnc"); + gtk_recent_chooser_set_filter(GTK_RECENT_CHOOSER(recent), rfilter); + gtk_recent_chooser_set_local_only(GTK_RECENT_CHOOSER(recent), FALSE); + g_signal_connect(recent, "selection-changed", + G_CALLBACK(recent_selection_changed_dialog_cb), entry); + g_signal_connect(recent, "item-activated", + G_CALLBACK(recent_item_activated_dialog_cb), dialog); + + /* show and wait for response */ + gtk_widget_show_all(dialog); + if (gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_ACCEPT) { + *uri = g_strdup(gtk_entry_get_text(GTK_ENTRY(entry))); + retval = 0; + } else { + *uri = NULL; + retval = -1; + } + gtk_widget_destroy(dialog); + + return retval; +} + +static void +recent_add(gchar *uri) +{ + GtkRecentManager *recent; + GtkRecentData meta = { + .mime_type = (char*)"application/x-spice", + .app_name = (char*)"remote-viewer", + .app_exec = (char*)"remote-viewer %u", + }; + + if (uri == NULL) + return; + + g_return_if_fail(g_str_has_prefix(uri, "spice://") || g_str_has_prefix(uri, "vnc://")); + + recent = gtk_recent_manager_get_default(); + meta.display_name = uri; + if (!gtk_recent_manager_add_full(recent, uri, &meta)) + g_warning("Recent item couldn't be added"); +} + +static void connected(VirtViewerSession *session, + VirtViewerApp *self G_GNUC_UNUSED) +{ + gchar *uri = virt_viewer_session_get_uri(session); + + recent_add(uri); +} + +int +main(int argc, char **argv) +{ + GOptionContext *context; + GError *error = NULL; + int ret = 1; + int zoom = 100; + gchar **args = NULL; + gchar *uri = NULL; + gboolean verbose = FALSE; + gboolean debug = FALSE; + gboolean direct = FALSE; + RemoteViewer *viewer = NULL; +#if HAVE_SPICE_GTK + gboolean controller = FALSE; +#endif + VirtViewerApp *app; + const char *help_msg = N_("Run '" PACKAGE " --help' to see a full list of available command line options"); + const GOptionEntry options [] = { + { "version", 'V', G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, + remote_viewer_version, N_("Display version information"), NULL }, + { "verbose", 'v', 0, G_OPTION_ARG_NONE, &verbose, + N_("Display verbose information"), NULL }, + { "direct", 'd', 0, G_OPTION_ARG_NONE, &direct, + N_("Direct connection with no automatic tunnels"), NULL }, + { "zoom", 'z', 0, G_OPTION_ARG_INT, &zoom, + N_("Zoom level of window, in percentage"), "ZOOM" }, + { "debug", '\0', 0, G_OPTION_ARG_NONE, &debug, + N_("Display debugging information"), NULL }, + { "full-screen", 'f', G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_CALLBACK, option_fullscreen, + N_("Open in full screen mode (=<auto-conf>)"), NULL }, +#if HAVE_SPICE_GTK + { "spice-controller", '\0', 0, G_OPTION_ARG_NONE, &controller, + N_("Open connection using Spice controller communication"), NULL }, +#endif + { G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_STRING_ARRAY, &args, + NULL, "URI" }, + { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL } + }; + +#ifdef G_OS_WIN32 + if (AttachConsole(ATTACH_PARENT_PROCESS) != 0) { + freopen("CONIN$", "r", stdin); + freopen("CONOUT$", "w", stdout); + freopen("CONERR$", "w", stderr); + dup2(fileno(stdin), STDIN_FILENO); + dup2(fileno(stdout), STDOUT_FILENO); + dup2(fileno(stderr), STDERR_FILENO); + } +#endif + +#if !GLIB_CHECK_VERSION(2,31,0) + g_thread_init(NULL); +#endif + + setlocale(LC_ALL, ""); + bindtextdomain(GETTEXT_PACKAGE, LOCALE_DIR); + bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); + textdomain(GETTEXT_PACKAGE); + + g_set_application_name(_("Remote Viewer")); + + /* Setup command line options */ + context = g_option_context_new (_("- Remote viewer client")); + g_option_context_add_main_entries (context, options, NULL); + g_option_context_add_group (context, gtk_get_option_group (TRUE)); +#ifdef HAVE_GTK_VNC + g_option_context_add_group (context, vnc_display_get_option_group ()); +#endif +#ifdef HAVE_SPICE_GTK + g_option_context_add_group (context, spice_get_option_group ()); +#endif + g_option_context_parse (context, &argc, &argv, &error); + if (error) { + g_printerr("%s\n%s\n", + error->message, + gettext(help_msg)); + g_error_free(error); + goto cleanup; + } + + g_option_context_free(context); + +#if HAVE_SPICE_GTK + if (controller) { + if (args) { + g_printerr(_("Error: extra arguments given while using Spice controller\n")); + goto cleanup; + } + } else +#endif + if (!args || g_strv_length(args) == 0) { + if (connect_dialog(&uri) != 0) + goto cleanup; + } else if (g_strv_length(args) > 1) { + g_printerr(_("Error: can't handle multiple URIs\n")); + goto cleanup; + } else { + uri = g_strdup(args[0]); + } + + if (zoom < 10 || zoom > 200) { + g_printerr(_("Zoom level must be within 10-200\n")); + goto cleanup; + } + + gtk_window_set_default_icon_name("virt-viewer"); + + virt_viewer_app_set_debug(debug); + +#if HAVE_SPICE_GTK + if (controller) { + viewer = remote_viewer_new_with_controller(verbose); + g_object_set(viewer, "guest-name", "defined by Spice controller", NULL); + } else { +#endif + viewer = remote_viewer_new(uri, verbose); + g_object_set(viewer, "guest-name", uri, NULL); +#if HAVE_SPICE_GTK + } +#endif + if (viewer == NULL) + goto cleanup; + + app = VIRT_VIEWER_APP(viewer); + g_object_set(app, + "fullscreen", fullscreen, + "fullscreen-auto-conf", fullscreen_auto_conf, + NULL); + virt_viewer_window_set_zoom_level(virt_viewer_app_get_main_window(app), zoom); + virt_viewer_app_set_direct(app, direct); + + if (!virt_viewer_app_start(app)) + goto cleanup; + + g_signal_connect(virt_viewer_app_get_session(app), "session-connected", + G_CALLBACK(connected), app); + + gtk_main(); + + ret = 0; + + cleanup: + g_free(uri); + if (viewer) + g_object_unref(viewer); + g_strfreev(args); + + return ret; +} + +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/remote-viewer.c b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/remote-viewer.c new file mode 100644 index 0000000..77c1414 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/remote-viewer.c @@ -0,0 +1,805 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, Inc. + * Copyright (C) 2009-2012 Daniel P. Berrange + * Copyright (C) 2010 Marc-André Lureau + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Marc-André Lureau <marcandre.lureau@redhat.com> + */ + +#include <config.h> +#include <gtk/gtk.h> +#include <glib/gprintf.h> +#include <glib/gi18n.h> + +#ifdef HAVE_SPICE_GTK +#include <spice-controller.h> +#endif + +#ifdef HAVE_SPICE_GTK +#include "virt-viewer-session-spice.h" +#endif +#include "virt-viewer-app.h" +#include "remote-viewer.h" + +#ifndef G_VALUE_INIT /* see bug https://bugzilla.gnome.org/show_bug.cgi?id=654793 */ +#define G_VALUE_INIT { 0, { { 0 } } } +#endif + +struct _RemoteViewerPrivate { +#ifdef HAVE_SPICE_GTK + SpiceCtrlController *controller; + SpiceCtrlForeignMenu *ctrl_foreign_menu; +#endif + GtkWidget *controller_menu; + GtkWidget *foreign_menu; +}; + +G_DEFINE_TYPE (RemoteViewer, remote_viewer, VIRT_VIEWER_TYPE_APP) +#define GET_PRIVATE(o) \ + (G_TYPE_INSTANCE_GET_PRIVATE ((o), REMOTE_VIEWER_TYPE, RemoteViewerPrivate)) + +#if HAVE_SPICE_GTK +enum { + PROP_0, + PROP_CONTROLLER, + PROP_CTRL_FOREIGN_MENU, +}; +#endif + +static gboolean remote_viewer_start(VirtViewerApp *self); +#if HAVE_SPICE_GTK +static int remote_viewer_activate(VirtViewerApp *self); +static void remote_viewer_window_added(VirtViewerApp *self, VirtViewerWindow *win); +static void spice_foreign_menu_updated(RemoteViewer *self); +#endif + +#if HAVE_SPICE_GTK +static void +remote_viewer_get_property (GObject *object, guint property_id, + GValue *value, GParamSpec *pspec) +{ + RemoteViewer *self = REMOTE_VIEWER(object); + RemoteViewerPrivate *priv = self->priv; + + switch (property_id) { + case PROP_CONTROLLER: + g_value_set_object(value, priv->controller); + break; + case PROP_CTRL_FOREIGN_MENU: + g_value_set_object(value, priv->ctrl_foreign_menu); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); + } +} + +static void +remote_viewer_set_property (GObject *object, guint property_id, + const GValue *value, GParamSpec *pspec) +{ + RemoteViewer *self = REMOTE_VIEWER(object); + RemoteViewerPrivate *priv = self->priv; + + switch (property_id) { + case PROP_CONTROLLER: + g_return_if_fail(priv->controller == NULL); + priv->controller = g_value_dup_object(value); + break; + case PROP_CTRL_FOREIGN_MENU: + g_return_if_fail(priv->ctrl_foreign_menu == NULL); + priv->ctrl_foreign_menu = g_value_dup_object(value); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); + } +} + +static void +remote_viewer_dispose (GObject *object) +{ + RemoteViewer *self = REMOTE_VIEWER(object); + RemoteViewerPrivate *priv = self->priv; + + if (priv->controller) { + g_object_unref(priv->controller); + priv->controller = NULL; + } + + if (priv->ctrl_foreign_menu) { + g_object_unref(priv->ctrl_foreign_menu); + priv->ctrl_foreign_menu = NULL; + } + + G_OBJECT_CLASS(remote_viewer_parent_class)->dispose (object); +} +#endif + +static void +remote_viewer_class_init (RemoteViewerClass *klass) +{ +#if HAVE_SPICE_GTK + GObjectClass *object_class = G_OBJECT_CLASS (klass); +#endif + VirtViewerAppClass *app_class = VIRT_VIEWER_APP_CLASS (klass); + + g_type_class_add_private (klass, sizeof (RemoteViewerPrivate)); + +#if HAVE_SPICE_GTK + object_class->get_property = remote_viewer_get_property; + object_class->set_property = remote_viewer_set_property; + object_class->dispose = remote_viewer_dispose; +#endif + + app_class->start = remote_viewer_start; +#if HAVE_SPICE_GTK + app_class->activate = remote_viewer_activate; + app_class->window_added = remote_viewer_window_added; +#endif + +#if HAVE_SPICE_GTK + g_object_class_install_property(object_class, + PROP_CONTROLLER, + g_param_spec_object("controller", + "Controller", + "Spice controller", + SPICE_CTRL_TYPE_CONTROLLER, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT_ONLY | + G_PARAM_STATIC_STRINGS)); + g_object_class_install_property(object_class, + PROP_CTRL_FOREIGN_MENU, + g_param_spec_object("foreign-menu", + "Foreign Menu", + "Spice foreign menu", + SPICE_CTRL_TYPE_FOREIGN_MENU, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT_ONLY | + G_PARAM_STATIC_STRINGS)); +#endif +} + +static void +remote_viewer_init(RemoteViewer *self) +{ + self->priv = GET_PRIVATE(self); +} + +RemoteViewer * +remote_viewer_new(const gchar *uri, gboolean verbose) +{ + return g_object_new(REMOTE_VIEWER_TYPE, + "guri", uri, + "verbose", verbose, + NULL); +} + +#if HAVE_SPICE_GTK +static void +foreign_menu_title_changed(SpiceCtrlForeignMenu *menu G_GNUC_UNUSED, + GParamSpec *pspec G_GNUC_UNUSED, + RemoteViewer *self) +{ + gboolean has_focus; + + g_object_get(G_OBJECT(self), "has-focus", &has_focus, NULL); + /* FIXME: use a proper "new client connected" event + ** a foreign menu client set the title when connecting, + ** inform of focus state at that time. + */ + spice_ctrl_foreign_menu_app_activated_msg(self->priv->ctrl_foreign_menu, has_focus); + + /* update menu title */ + spice_foreign_menu_updated(self); +} + +RemoteViewer * +remote_viewer_new_with_controller(gboolean verbose) +{ + RemoteViewer *self; + SpiceCtrlController *ctrl = spice_ctrl_controller_new(); + SpiceCtrlForeignMenu *menu = spice_ctrl_foreign_menu_new(); + + self = g_object_new(REMOTE_VIEWER_TYPE, + "controller", ctrl, + "foreign-menu", menu, + "verbose", verbose, + NULL); + g_signal_connect(menu, "notify::title", + G_CALLBACK(foreign_menu_title_changed), + self); + g_object_unref(ctrl); + g_object_unref(menu); + + return self; +} + +static void +spice_ctrl_do_connect(SpiceCtrlController *ctrl G_GNUC_UNUSED, + VirtViewerApp *self) +{ + if (virt_viewer_app_initial_connect(self) < 0) { + virt_viewer_app_simple_message_dialog(self, _("Failed to initiate connection")); + } +} + +static void +spice_ctrl_show(SpiceCtrlController *ctrl G_GNUC_UNUSED, RemoteViewer *self) +{ + virt_viewer_app_show_display(VIRT_VIEWER_APP(self)); +} + +static void +spice_ctrl_hide(SpiceCtrlController *ctrl G_GNUC_UNUSED, RemoteViewer *self) +{ + virt_viewer_app_show_status(VIRT_VIEWER_APP(self), _("Display disabled by controller")); +} + +static void +spice_menuitem_activate_cb(GtkMenuItem *mi, GObject *ctrl) +{ + SpiceCtrlMenuItem *menuitem = g_object_get_data(G_OBJECT(mi), "spice-menuitem"); + + g_return_if_fail(menuitem != NULL); + if (gtk_menu_item_get_submenu(mi)) + return; + + if (SPICE_CTRL_IS_CONTROLLER(ctrl)) + spice_ctrl_controller_menu_item_click_msg(SPICE_CTRL_CONTROLLER(ctrl), menuitem->id); + else if (SPICE_CTRL_IS_FOREIGN_MENU(ctrl)) + spice_ctrl_foreign_menu_menu_item_click_msg(SPICE_CTRL_FOREIGN_MENU(ctrl), menuitem->id); +} + +static GtkWidget * +ctrlmenu_to_gtkmenu (RemoteViewer *self, SpiceCtrlMenu *ctrlmenu, GObject *ctrl) +{ + GList *l; + GtkWidget *menu = gtk_menu_new(); + guint n = 0; + + for (l = ctrlmenu->items; l != NULL; l = l->next) { + SpiceCtrlMenuItem *menuitem = l->data; + GtkWidget *item; + char *s; + if (menuitem->text == NULL) { + g_warn_if_reached(); + continue; + } + + for (s = menuitem->text; *s; s++) + if (*s == '&') + *s = '_'; + + if (g_str_equal(menuitem->text, "-")) { + item = gtk_separator_menu_item_new(); + } else if (menuitem->flags & CONTROLLER_MENU_FLAGS_CHECKED) { + item = gtk_check_menu_item_new_with_mnemonic(menuitem->text); + g_object_set(item, "active", TRUE, NULL); + } else { + item = gtk_menu_item_new_with_mnemonic(menuitem->text); + } + + if (menuitem->flags & (CONTROLLER_MENU_FLAGS_GRAYED | CONTROLLER_MENU_FLAGS_DISABLED)) + gtk_widget_set_sensitive(item, FALSE); + + g_object_set_data_full(G_OBJECT(item), "spice-menuitem", + g_object_ref(menuitem), g_object_unref); + g_signal_connect(item, "activate", G_CALLBACK(spice_menuitem_activate_cb), ctrl); + gtk_menu_attach(GTK_MENU (menu), item, 0, 1, n, n + 1); + n += 1; + + if (menuitem->submenu) { + gtk_menu_item_set_submenu(GTK_MENU_ITEM(item), + ctrlmenu_to_gtkmenu(self, menuitem->submenu, ctrl)); + } + } + + if (n == 0) { + g_object_ref_sink(menu); + g_object_unref(menu); + menu = NULL; + } + + gtk_widget_show_all(menu); + return menu; +} + +static void +spice_menu_update(RemoteViewer *self, VirtViewerWindow *win) +{ + GtkWidget *menuitem = g_object_get_data(G_OBJECT(win), "spice-menu"); + SpiceCtrlMenu *menu; + + if (self->priv->controller == NULL) + return; + + if (menuitem != NULL) + gtk_widget_destroy(menuitem); + + { + GtkMenuShell *shell = GTK_MENU_SHELL(gtk_builder_get_object(virt_viewer_window_get_builder(win), "top-menu")); + menuitem = gtk_menu_item_new_with_label("Spice"); + gtk_menu_shell_append(shell, menuitem); + g_object_set_data(G_OBJECT(win), "spice-menu", menuitem); + } + + g_object_get(self->priv->controller, "menu", &menu, NULL); + if (menu == NULL || g_list_length(menu->items) == 0) { + gtk_widget_set_visible(menuitem, FALSE); + } else { + gtk_menu_item_set_submenu(GTK_MENU_ITEM(menuitem), + ctrlmenu_to_gtkmenu(self, menu, G_OBJECT(self->priv->controller))); + gtk_widget_set_visible(menuitem, TRUE); + } + + if (menu != NULL) + g_object_unref(menu); +} + +static void +spice_menu_update_each(gpointer key G_GNUC_UNUSED, + gpointer value, + gpointer user_data) +{ + spice_menu_update(REMOTE_VIEWER(user_data), VIRT_VIEWER_WINDOW(value)); +} + +static void +spice_ctrl_menu_updated(RemoteViewer *self) +{ + GHashTable *windows = virt_viewer_app_get_windows(VIRT_VIEWER_APP(self)); + + DEBUG_LOG("Spice controller menu updated"); + + g_hash_table_foreach(windows, spice_menu_update_each, self); +} + +static void +foreign_menu_update(RemoteViewer *self, VirtViewerWindow *win) +{ + GtkWidget *menuitem = g_object_get_data(G_OBJECT(win), "foreign-menu"); + SpiceCtrlMenu *menu; + + if (self->priv->ctrl_foreign_menu == NULL) + return; + + if (menuitem != NULL) + gtk_widget_destroy(menuitem); + + { + GtkMenuShell *shell = GTK_MENU_SHELL(gtk_builder_get_object(virt_viewer_window_get_builder(win), "top-menu")); + const gchar *title = spice_ctrl_foreign_menu_get_title(self->priv->ctrl_foreign_menu); + menuitem = gtk_menu_item_new_with_label(title); + gtk_menu_shell_append(shell, menuitem); + g_object_set_data(G_OBJECT(win), "foreign-menu", menuitem); + } + + g_object_get(self->priv->ctrl_foreign_menu, "menu", &menu, NULL); + if (menu == NULL || g_list_length(menu->items) == 0) { + gtk_widget_set_visible(menuitem, FALSE); + } else { + gtk_menu_item_set_submenu(GTK_MENU_ITEM(menuitem), + ctrlmenu_to_gtkmenu(self, menu, G_OBJECT(self->priv->ctrl_foreign_menu))); + gtk_widget_set_visible(menuitem, TRUE); + } + g_object_unref(menu); +} + +static void +foreign_menu_update_each(gpointer key G_GNUC_UNUSED, + gpointer value, + gpointer user_data) +{ + foreign_menu_update(REMOTE_VIEWER(user_data), VIRT_VIEWER_WINDOW(value)); +} + +static void +spice_foreign_menu_updated(RemoteViewer *self) +{ + GHashTable *windows = virt_viewer_app_get_windows(VIRT_VIEWER_APP(self)); + + DEBUG_LOG("Spice foreign menu updated"); + + g_hash_table_foreach(windows, foreign_menu_update_each, self); +} + +static SpiceSession * +remote_viewer_get_spice_session(RemoteViewer *self) +{ + VirtViewerSession *vsession = NULL; + SpiceSession *session = NULL; + + g_object_get(self, "session", &vsession, NULL); + g_return_val_if_fail(vsession != NULL, NULL); + + g_object_get(vsession, "spice-session", &session, NULL); + + g_object_unref(vsession); + + return session; +} + +static gchar * +ctrl_key_to_gtk_key(const gchar *key) +{ + int i; + + static const struct { + const char *ctrl; + const char *gtk; + } keys[] = { + /* FIXME: right alt, right ctrl, right shift, cmds */ + { "alt", "<Alt>" }, + { "ralt", "<Alt>" }, + { "rightalt", "<Alt>" }, + { "right-alt", "<Alt>" }, + { "lalt", "<Alt>" }, + { "leftalt", "<Alt>" }, + { "left-alt", "<Alt>" }, + + { "ctrl", "<Ctrl>" }, + { "rctrl", "<Ctrl>" }, + { "rightctrl", "<Ctrl>" }, + { "right-ctrl", "<Ctrl>" }, + { "lctrl", "<Ctrl>" }, + { "leftctrl", "<Ctrl>" }, + { "left-ctrl", "<Ctrl>" }, + + { "shift", "<Shift>" }, + { "rshift", "<Shift>" }, + { "rightshift", "<Shift>" }, + { "right-shift", "<Shift>" }, + { "lshift", "<Shift>" }, + { "leftshift", "<Shift>" }, + { "left-shift", "<Shift>" }, + + { "cmd", "<Ctrl>" }, + { "rcmd", "<Ctrl>" }, + { "rightcmd", "<Ctrl>" }, + { "right-cmd", "<Ctrl>" }, + { "lcmd", "<Ctrl>" }, + { "leftcmd", "<Ctrl>" }, + { "left-cmd", "<Ctrl>" }, + + { "win", "<Super>" }, + { "rwin", "<Super>" }, + { "rightwin", "<Super>" }, + { "right-win", "<Super>" }, + { "lwin", "<Super>" }, + { "leftwin", "<Super>" }, + { "left-win", "<Super>" }, + + { "esc", "Escape" }, + /* { "escape", "Escape" }, */ + + { "ins", "Insert" }, + /* { "insert", "Insert" }, */ + + { "del", "Delete" }, + /* { "delete", "Delete" }, */ + + { "pgup", "Page_Up" }, + { "pageup", "Page_Up" }, + { "pgdn", "Page_Down" }, + { "pagedown", "Page_Down" }, + + /* { "home", "home" }, */ + /* { "end", "end" }, */ + /* { "space", "space" }, */ + + { "enter", "Return" }, + + /* { "tab", "tab" }, */ + /* { "f1", "F1" }, */ + /* { "f2", "F2" }, */ + /* { "f3", "F3" }, */ + /* { "f4", "F4" }, */ + /* { "f5", "F5" }, */ + /* { "f6", "F6" }, */ + /* { "f7", "F7" }, */ + /* { "f8", "F8" }, */ + /* { "f9", "F9" }, */ + /* { "f10", "F10" }, */ + /* { "f11", "F11" }, */ + /* { "f12", "F12" } */ + }; + + for (i = 0; i < G_N_ELEMENTS(keys); ++i) { + if (g_ascii_strcasecmp(keys[i].ctrl, key) == 0) + return g_strdup(keys[i].gtk); + } + + return g_ascii_strup(key, -1); +} + +static gchar* +ctrl_key_to_gtk_accelerator(const gchar *key) +{ + gchar *accel, **k, **keyv; + + keyv = g_strsplit(key, "+", -1); + g_return_val_if_fail(keyv != NULL, NULL); + + for (k = keyv; *k != NULL; k++) { + gchar *tmp = *k; + *k = ctrl_key_to_gtk_key(tmp); + g_free(tmp); + } + + accel = g_strjoinv(NULL, keyv); + g_strfreev(keyv); + + return accel; +} + +static void +app_notified(VirtViewerApp *app, + GParamSpec *pspec, + RemoteViewer *self) +{ + GValue value = G_VALUE_INIT; + + g_value_init(&value, pspec->value_type); + g_object_get_property(G_OBJECT(app), pspec->name, &value); + + if (g_str_equal(pspec->name, "has-focus")) { + if (self->priv->ctrl_foreign_menu) + spice_ctrl_foreign_menu_app_activated_msg(self->priv->ctrl_foreign_menu, g_value_get_boolean(&value)); + } + + g_value_unset(&value); +} + +static void +spice_ctrl_notified(SpiceCtrlController *ctrl, + GParamSpec *pspec, + RemoteViewer *self) +{ + SpiceSession *session = remote_viewer_get_spice_session(self); + GValue value = G_VALUE_INIT; + VirtViewerApp *app = VIRT_VIEWER_APP(self); + + g_return_if_fail(session != NULL); + + g_value_init(&value, pspec->value_type); + g_object_get_property(G_OBJECT(ctrl), pspec->name, &value); + + if (g_str_equal(pspec->name, "host") || + g_str_equal(pspec->name, "port") || + g_str_equal(pspec->name, "password") || + g_str_equal(pspec->name, "ca-file") || + g_str_equal(pspec->name, "enable-smartcard") || + g_str_equal(pspec->name, "color-depth") || + g_str_equal(pspec->name, "disable-effects") || + g_str_equal(pspec->name, "enable-usbredir")) { + g_object_set_property(G_OBJECT(session), pspec->name, &value); + } else if (g_str_equal(pspec->name, "sport")) { + g_object_set_property(G_OBJECT(session), "tls-port", &value); + } else if (g_str_equal(pspec->name, "tls-ciphers")) { + g_object_set_property(G_OBJECT(session), "ciphers", &value); + } else if (g_str_equal(pspec->name, "host-subject")) { + g_object_set_property(G_OBJECT(session), "cert-subject", &value); + } else if (g_str_equal(pspec->name, "enable-usb-autoshare")) { + VirtViewerSession *vsession = NULL; + + g_object_get(self, "session", &vsession, NULL); + g_object_set_property(G_OBJECT(vsession), "auto-usbredir", &value); + g_object_unref(G_OBJECT(vsession)); + } else if (g_str_equal(pspec->name, "usb-filter")) { + SpiceUsbDeviceManager *manager; + manager = spice_usb_device_manager_get(session, NULL); + if (manager != NULL) { + g_object_set_property(G_OBJECT(manager), + "auto-connect-filter", + &value); + } + } else if (g_str_equal(pspec->name, "title")) { + g_object_set_property(G_OBJECT(app), "title", &value); + } else if (g_str_equal(pspec->name, "display-flags")) { + guint flags = g_value_get_uint(&value); + gboolean fullscreen = flags & CONTROLLER_SET_FULL_SCREEN; + gboolean auto_res = flags & CONTROLLER_AUTO_DISPLAY_RES; + g_object_set(G_OBJECT(self), "fullscreen", fullscreen, NULL); + g_debug("unimplemented resize-guest %d", auto_res); + /* g_object_set(G_OBJECT(self), "resize-guest", auto_res, NULL); */ + } else if (g_str_equal(pspec->name, "menu")) { + spice_ctrl_menu_updated(self); + } else if (g_str_equal(pspec->name, "hotkeys")) { + gchar **hotkey, **hotkeys = g_strsplit(g_value_get_string(&value), ",", -1); + if (!hotkeys || g_strv_length(hotkeys) == 0) { + g_object_set(app, "enable-accel", FALSE, NULL); + goto end; + } + + for (hotkey = hotkeys; *hotkey != NULL; hotkey++) { + gchar *key = strstr(*hotkey, "="); + if (key == NULL) { + g_warn_if_reached(); + continue; + } + *key = '\0'; + + gchar *accel = ctrl_key_to_gtk_accelerator(key + 1); + guint accel_key; + GdkModifierType accel_mods; + gtk_accelerator_parse(accel, &accel_key, &accel_mods); + g_free(accel); + + if (g_str_equal(*hotkey, "toggle-fullscreen")) { + gtk_accel_map_change_entry("<virt-viewer>/view/fullscreen", accel_key, accel_mods, TRUE); + } else if (g_str_equal(*hotkey, "release-cursor")) { + gtk_accel_map_change_entry("<virt-viewer>/view/release-cursor", accel_key, accel_mods, TRUE); + } else if (g_str_equal(*hotkey, "smartcard-insert")) { + gtk_accel_map_change_entry("<virt-viewer>/file/smartcard-insert", accel_key, accel_mods, TRUE); + } else if (g_str_equal(*hotkey, "smartcard-remove")) { + gtk_accel_map_change_entry("<virt-viewer>/file/smartcard-remove", accel_key, accel_mods, TRUE); + } else { + g_warning("Unknown hotkey command %s", *hotkey); + } + } + g_strfreev(hotkeys); + + g_object_set(app, "enable-accel", TRUE, NULL); + } else { + gchar *content = g_strdup_value_contents(&value); + + g_debug("unimplemented property: %s=%s", pspec->name, content); + g_free(content); + } + +end: + g_object_unref(session); + g_value_unset(&value); +} + +static void +spice_ctrl_foreign_menu_notified(SpiceCtrlForeignMenu *ctrl_foreign_menu G_GNUC_UNUSED, + GParamSpec *pspec, + RemoteViewer *self) +{ + if (g_str_equal(pspec->name, "menu")) { + spice_foreign_menu_updated(self); + } +} + +static void +spice_ctrl_listen_async_cb(GObject *object, + GAsyncResult *res, + gpointer user_data) +{ + GError *error = NULL; + VirtViewerApp *app = VIRT_VIEWER_APP(user_data); + + if (SPICE_CTRL_IS_CONTROLLER(object)) + spice_ctrl_controller_listen_finish(SPICE_CTRL_CONTROLLER(object), res, &error); + else if (SPICE_CTRL_IS_FOREIGN_MENU(object)) { + spice_ctrl_foreign_menu_listen_finish(SPICE_CTRL_FOREIGN_MENU(object), res, &error); + } else + g_warn_if_reached(); + + if (error != NULL) { + virt_viewer_app_simple_message_dialog(app, + _("Controller connection failed: %s"), + error->message); + g_clear_error(&error); + exit(EXIT_FAILURE); /* TODO: make start async? */ + } +} + + +static int +remote_viewer_activate(VirtViewerApp *app) +{ + g_return_val_if_fail(REMOTE_VIEWER_IS(app), -1); + RemoteViewer *self = REMOTE_VIEWER(app); + int ret = -1; + + if (self->priv->controller) { + SpiceSession *session = remote_viewer_get_spice_session(self); + ret = spice_session_connect(session); + g_object_unref(session); + } else { + ret = VIRT_VIEWER_APP_CLASS(remote_viewer_parent_class)->activate(app); + } + + return ret; +} + +static void +remote_viewer_window_added(VirtViewerApp *app G_GNUC_UNUSED, + VirtViewerWindow *win) +{ + spice_menu_update(REMOTE_VIEWER(app), win); + foreign_menu_update(REMOTE_VIEWER(app), win); +} +#endif + +static gboolean +remote_viewer_start(VirtViewerApp *app) +{ + g_return_val_if_fail(REMOTE_VIEWER_IS(app), FALSE); + +#if HAVE_SPICE_GTK + RemoteViewer *self = REMOTE_VIEWER(app); + RemoteViewerPrivate *priv = self->priv; +#endif + gboolean ret = FALSE; + gchar *guri = NULL; + gchar *type = NULL; + +#if HAVE_SPICE_GTK + g_signal_connect(app, "notify", G_CALLBACK(app_notified), self); + + if (priv->controller) { + if (virt_viewer_app_create_session(app, "spice") < 0) { + virt_viewer_app_simple_message_dialog(app, _("Couldn't create a Spice session")); + goto cleanup; + } + + g_signal_connect(priv->controller, "notify", G_CALLBACK(spice_ctrl_notified), self); + g_signal_connect(priv->controller, "do_connect", G_CALLBACK(spice_ctrl_do_connect), self); + g_signal_connect(priv->controller, "show", G_CALLBACK(spice_ctrl_show), self); + g_signal_connect(priv->controller, "hide", G_CALLBACK(spice_ctrl_hide), self); + + spice_ctrl_controller_listen(priv->controller, NULL, spice_ctrl_listen_async_cb, self); + + g_signal_connect(priv->ctrl_foreign_menu, "notify", G_CALLBACK(spice_ctrl_foreign_menu_notified), self); + spice_ctrl_foreign_menu_listen(priv->ctrl_foreign_menu, NULL, spice_ctrl_listen_async_cb, self); + + virt_viewer_app_show_status(VIRT_VIEWER_APP(self), _("Setting up Spice session...")); + } else { +#endif + g_object_get(app, "guri", &guri, NULL); + g_return_val_if_fail(guri != NULL, FALSE); + + DEBUG_LOG("Opening display to %s", guri); + g_object_set(app, "title", guri, NULL); + + if (virt_viewer_util_extract_host(guri, &type, NULL, NULL, NULL, NULL) < 0 || type == NULL) { + virt_viewer_app_simple_message_dialog(app, _("Cannot determine the connection type from URI")); + goto cleanup; + } + + if (virt_viewer_app_create_session(app, type) < 0) { + virt_viewer_app_simple_message_dialog(app, _("Couldn't create a session for this type: %s"), type); + goto cleanup; + } + + if (virt_viewer_app_initial_connect(app) < 0) { + virt_viewer_app_simple_message_dialog(app, _("Failed to initiate connection")); + goto cleanup; + } +#if HAVE_SPICE_GTK + } +#endif + + ret = VIRT_VIEWER_APP_CLASS(remote_viewer_parent_class)->start(app); + + cleanup: + g_free(guri); + g_free(type); + return ret; +} + +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/remote-viewer.desktop b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/remote-viewer.desktop new file mode 100644 index 0000000..f930592 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/remote-viewer.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Name=Remote Viewer +Exec=remote-viewer %u +Type=Application +Terminal=False +MimeType=x-scheme-handler/spice diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/remote-viewer.h b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/remote-viewer.h new file mode 100644 index 0000000..a465b7e --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/remote-viewer.h @@ -0,0 +1,63 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, 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 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ + +#ifndef REMOTE_VIEWER_H +#define REMOTE_VIEWER_H + +#include <glib-object.h> +#include "virt-viewer-app.h" + +G_BEGIN_DECLS + +#define REMOTE_VIEWER_TYPE remote_viewer_get_type() +#define REMOTE_VIEWER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), REMOTE_VIEWER_TYPE, RemoteViewer)) +#define REMOTE_VIEWER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), REMOTE_VIEWER_TYPE, RemoteViewerClass)) +#define REMOTE_VIEWER_IS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), REMOTE_VIEWER_TYPE)) +#define REMOTE_VIEWER_IS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), REMOTE_VIEWER_TYPE)) +#define REMOTE_VIEWER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), REMOTE_VIEWER_TYPE, RemoteViewerClass)) + +typedef struct _RemoteViewerPrivate RemoteViewerPrivate; + +typedef struct { + VirtViewerApp parent; + RemoteViewerPrivate *priv; +} RemoteViewer; + +typedef struct { + VirtViewerAppClass parent_class; +} RemoteViewerClass; + +GType remote_viewer_get_type (void); + +RemoteViewer* remote_viewer_new(const gchar *uri, gboolean verbose); +RemoteViewer* remote_viewer_new_with_controller(gboolean verbose); + +G_END_DECLS + +#endif /* REMOTE_VIEWER_H */ +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/view/autoDrawer.c b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/view/autoDrawer.c new file mode 100644 index 0000000..42ba97c --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/view/autoDrawer.c @@ -0,0 +1,1001 @@ +/* ************************************************************************* + * Copyright (c) 2005 VMware Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * *************************************************************************/ + +/* + * autoDrawer.c - + * + * Subclass of ViewDrawer that encapsulates the behaviour typically required + * when using the drawer to implement a menu/toolbar that auto-opens when + * moused-over and auto-closes when the mouse leaves. + */ + +#include <config.h> + +#include "autoDrawer.h" + + +struct _ViewAutoDrawerPrivate +{ + gboolean active; + gboolean pinned; + gboolean inputUngrabbed; + + gboolean opened; + gboolean forceClosing; + + gboolean fill; + gint offset; + + guint closeConnection; + guint delayConnection; + guint delayValue; + guint overlapPixels; + guint noOverlapPixels; + + GtkWidget *over; + GtkWidget *evBox; +}; + +#define VIEW_AUTODRAWER_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE((obj), VIEW_TYPE_AUTODRAWER, ViewAutoDrawerPrivate)) + +/* The unaltered parent class. */ +static ViewDrawerClass *parentClass; + + +/* + *----------------------------------------------------------------------------- + * + * ViewAutoDrawerEnforce -- + * + * Enforce an AutoDrawer's goal now. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static void +ViewAutoDrawerEnforce(ViewAutoDrawer *that, // IN + gboolean animate) // IN +{ + double fraction; + GtkAllocation allocation; + ViewAutoDrawerPrivate *priv = that->priv; + + if (!priv->active) { + ViewOvBox_SetMin(VIEW_OV_BOX(that), -1); + ViewOvBox_SetFraction(VIEW_OV_BOX(that), 0); + return; + } + + g_assert(priv->over != NULL); + g_assert(GTK_IS_WIDGET(priv->over)); + + ViewOvBox_SetMin(VIEW_OV_BOX(that), priv->noOverlapPixels); + + // The forceClosing flag overrides the opened flag. + if (priv->opened && !priv->forceClosing) { + fraction = 1; + } else { + gtk_widget_get_allocation (priv->over, &allocation); + fraction = ((double)priv->overlapPixels / allocation.height); + } + + if (!animate) { + ViewOvBox_SetFraction(VIEW_OV_BOX(that), fraction); + } + ViewDrawer_SetGoal(VIEW_DRAWER(that), fraction); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewAutoDrawerOnEnforceDelay -- + * + * Callback fired when a delayed update happens to update the drawer state. + * + * Results: + * FALSE to indicate timer should not repeat. + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static gboolean +ViewAutoDrawerOnEnforceDelay(ViewAutoDrawer *that) // IN +{ + that->priv->delayConnection = 0; + ViewAutoDrawerEnforce(that, TRUE); + + return FALSE; +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewAutoDrawerOnCloseDelay -- + * + * Callback fired when the drawer is closed manually. This prevents the + * drawer from reopening right away. + * + * Results: + * FALSE to indicate timer should not repeat. + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static gboolean +ViewAutoDrawerOnCloseDelay(ViewAutoDrawer *that) // IN +{ + that->priv->closeConnection = 0; + that->priv->forceClosing = FALSE; + + return FALSE; +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewAutoDrawerUpdate -- + * + * Decide whether an AutoDrawer should be opened or closed, and enforce + * that decision now or later. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static void +ViewAutoDrawerUpdate(ViewAutoDrawer *that, // IN + gboolean immediate) // IN +{ + ViewAutoDrawerPrivate *priv = that->priv; + GtkWidget *toplevel = gtk_widget_get_toplevel(GTK_WIDGET(that)); + GtkWindow *window; + GtkAllocation allocation; + + if (!toplevel || !gtk_widget_is_toplevel(toplevel)) { + // The autoDrawer cannot function properly without a toplevel. + return; + } + window = GTK_WINDOW(toplevel); + + /* + * We decide to open the drawer by OR'ing several conditions. Evaluating a + * condition can have the side-effect of setting 'immediate' to TRUE, so we + * cannot stop evaluating the conditions after we have found one to be TRUE. + */ + + priv->opened = FALSE; + + /* Is the AutoDrawer pinned? */ + + if (priv->pinned) { + immediate = TRUE; + + priv->opened = TRUE; + } + + /* Is the mouse cursor inside the event box? */ + + if (gtk_widget_get_window(priv->evBox)) { + int x; + int y; +#if GTK_CHECK_VERSION(3, 0, 0) + GdkDevice *dev; + GdkDeviceManager *devmgr; + + devmgr = gdk_display_get_device_manager(gtk_widget_get_display(priv->evBox)); + dev = gdk_device_manager_get_client_pointer(devmgr); + + gdk_window_get_device_position(gtk_widget_get_window(priv->evBox), + dev, &x, &y, NULL); +#else + gtk_widget_get_pointer(priv->evBox, &x, &y); +#endif + + gtk_widget_get_allocation(priv->evBox, &allocation); + g_assert(gtk_container_get_border_width( GTK_CONTAINER(priv->evBox)) + == 0); + if ( (guint)x < (guint)allocation.width + && (guint)y < (guint)allocation.height) { + priv->opened = TRUE; + } + } + + /* If there is a focused widget, is it inside the event box? */ + + { + GtkWidget *focus; + + focus = gtk_window_get_focus(window); + if (focus && gtk_widget_is_ancestor(focus, priv->evBox)) { + /* + * Override the default 'immediate' to make sure the 'over' widget + * immediately appears along with the widget the focused widget. + */ + immediate = TRUE; + + priv->opened = TRUE; + } + } + + /* If input is grabbed, is it on behalf of a widget inside the event box? */ + + if (!priv->inputUngrabbed) { + GtkWidget *grabbed = NULL; + +#if GTK_CHECK_VERSION(3, 0, 0) + if (gtk_window_has_group (window)) { + GtkWindowGroup *group = gtk_window_get_group (window); + grabbed = gtk_window_group_get_current_grab (group); + } +#else + if (window->group && window->group->grabs) { + grabbed = GTK_WIDGET(window->group->grabs->data); + } +#endif + if (!grabbed) { + grabbed = gtk_grab_get_current(); + } + + if (grabbed && GTK_IS_MENU(grabbed)) { + /* + * With cascading menus, the deepest menu owns the grab. Traverse the + * menu hierarchy up until we reach the attach widget for the whole + * hierarchy. + */ + + for (;;) { + GtkWidget *menuAttach; + GtkWidget *menuItemParent; + + menuAttach = gtk_menu_get_attach_widget(GTK_MENU(grabbed)); + if (!menuAttach) { + /* + * It is unfortunately not mandatory for a menu to have a proper + * attach widget set. + */ + break; + } + + grabbed = menuAttach; + if (!GTK_IS_MENU_ITEM(grabbed)) { + break; + } + + menuItemParent = gtk_widget_get_parent(grabbed); + g_return_if_fail(menuItemParent); + if (!GTK_IS_MENU(menuItemParent)) { + break; + } + + grabbed = menuItemParent; + } + } + + if (grabbed && gtk_widget_is_ancestor(grabbed, priv->evBox)) { + /* + * Override the default 'immediate' to make sure the 'over' widget + * immediately appears along with the widget the grab happens on + * behalf of. + */ + immediate = TRUE; + + priv->opened = TRUE; + } + } + + if (priv->delayConnection) { + g_source_remove(priv->delayConnection); + } + + if (priv->forceClosing) { + ViewAutoDrawerEnforce(that, TRUE); + } else if (immediate) { + ViewAutoDrawerEnforce(that, FALSE); + } else { + priv->delayConnection = g_timeout_add(priv->delayValue, + (GSourceFunc)ViewAutoDrawerOnEnforceDelay, that); + } +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewAutoDrawerOnOverEnterLeave -- + * + * Respond to enter/leave events by doing a delayed update of the drawer + * state. + * + * Results: + * FALSE to indicate event was not handled. + * + * Side effects: + * Will queue delayed update. + * + *----------------------------------------------------------------------------- + */ + +static gboolean +ViewAutoDrawerOnOverEnterLeave(GtkWidget *evBox G_GNUC_UNUSED, // IN: Unused + GdkEventCrossing *event G_GNUC_UNUSED, // IN + ViewAutoDrawer *that) // IN +{ + /* + * This change happens in response to user input. By default, give the user + * some time to correct his input before reacting to the change. + */ + ViewAutoDrawerUpdate(that, FALSE); + + return FALSE; +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewAutoDrawerOnGrabNotify -- + * + * Respond to grab notifications by updating the drawer state. + * + * Results: + * None + * + * Side effects: + * Might queue delayed update. + * + *----------------------------------------------------------------------------- + */ + +static void +ViewAutoDrawerOnGrabNotify(GtkWidget *evBox G_GNUC_UNUSED, // IN: Unused + gboolean ungrabbed, // IN + ViewAutoDrawer *that) // IN +{ + ViewAutoDrawerPrivate *priv = that->priv; + + priv->inputUngrabbed = ungrabbed; + + /* + * This change happens in response to user input. By default, give the user + * some time to correct his input before reacting to the change. + */ + ViewAutoDrawerUpdate(that, FALSE); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewAutoDrawerOnSetFocus -- + * + * Respond to changes in the focus widget of the autoDrawer's toplevel + * by recalculating the state. + * + * Results: + * None + * + * Side effects: + * Drawer state is updated. + * + *----------------------------------------------------------------------------- + */ + +static void +ViewAutoDrawerOnSetFocus(GtkWindow *window G_GNUC_UNUSED, // IN + GtkWidget *widget G_GNUC_UNUSED, // IN + ViewAutoDrawer *that) // IN +{ + /* + * This change happens in response to user input. By default, give the user + * some time to correct his input before reacting to the change. + */ + ViewAutoDrawerUpdate(that, FALSE); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewAutoDrawerOnHierarchyChanged -- + * + * Respond to changes in the toplevel for the AutoDrawer. A toplevel is + * required for the AutoDrawer to calculate its state. + * + * Results: + * None + * + * Side effects: + * Drawer state is updated. + * + *----------------------------------------------------------------------------- + */ + +static void +ViewAutoDrawerOnHierarchyChanged(ViewAutoDrawer *that, // IN + GtkWidget *oldToplevel) // IN +{ + GtkWidget *newToplevel = gtk_widget_get_toplevel(GTK_WIDGET(that)); + + if (oldToplevel && gtk_widget_is_toplevel(oldToplevel)) { + g_signal_handlers_disconnect_by_func(oldToplevel, + G_CALLBACK(ViewAutoDrawerOnSetFocus), + that); + } + + if (newToplevel && gtk_widget_is_toplevel(newToplevel)) { + g_signal_connect_after(newToplevel, "set-focus", + G_CALLBACK(ViewAutoDrawerOnSetFocus), that); + } + + /* This change happens programmatically. Always react to it immediately. */ + ViewAutoDrawerUpdate(that, TRUE); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewAutoDrawerSetOver -- + * + * Virtual method override so that the user's over widget is placed + * inside the AutoDrawer's event box. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static void +ViewAutoDrawerSetOver(ViewOvBox *ovBox, // IN + GtkWidget *widget) // IN +{ + ViewAutoDrawer *that = VIEW_AUTODRAWER(ovBox); + ViewAutoDrawerPrivate *priv = that->priv; + GtkWidget *oldChild = gtk_bin_get_child(GTK_BIN(priv->evBox)); + + if (oldChild) { + g_object_ref(oldChild); + gtk_container_remove(GTK_CONTAINER(priv->evBox), oldChild); + } + + if (widget) { + gtk_container_add(GTK_CONTAINER(priv->evBox), widget); + } + + if (oldChild) { + g_object_unref(oldChild); + } + + priv->over = widget; +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewAutoDrawerRefreshPacking -- + * + * Sets the actual packing values for fill, expand, and packing + * given internal settings. + * + * Results: + * None + * + * Side effects: + * Drawer state is updated. + * + *----------------------------------------------------------------------------- + */ + +static void +ViewAutoDrawerRefreshPacking(ViewAutoDrawer *that) // IN +{ + gboolean expand; + gboolean fill; + guint padding; + + expand = (that->priv->fill || (that->priv->offset < 0)); + fill = that->priv->fill; + padding = (expand || fill) ? 0 : that->priv->offset; + + gtk_box_set_child_packing(GTK_BOX(that), that->priv->evBox, + expand, fill, padding, GTK_PACK_START); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewAutoDrawerInit -- + * + * Initialize a ViewAutoDrawer. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static void +ViewAutoDrawerInit(GTypeInstance *instance, // IN + gpointer klass G_GNUC_UNUSED) // Unused +{ + ViewAutoDrawer *that; + ViewAutoDrawerPrivate *priv; + + that = VIEW_AUTODRAWER(instance); + that->priv = VIEW_AUTODRAWER_GET_PRIVATE(that); + priv = that->priv; + + priv->active = TRUE; + priv->pinned = FALSE; + priv->forceClosing = FALSE; + priv->inputUngrabbed = TRUE; + priv->delayConnection = 0; + priv->delayValue = 250; + priv->overlapPixels = 0; + priv->noOverlapPixels = 1; + + priv->fill = TRUE; + priv->offset = -1; + + priv->evBox = gtk_event_box_new(); +// gtk_widget_set_size_request(priv->evBox, 800, 600); + gtk_widget_show(priv->evBox); + VIEW_OV_BOX_CLASS(parentClass)->set_over(VIEW_OV_BOX(that), priv->evBox); + + g_signal_connect(priv->evBox, "enter-notify-event", + G_CALLBACK(ViewAutoDrawerOnOverEnterLeave), that); + g_signal_connect(priv->evBox, "leave-notify-event", + G_CALLBACK(ViewAutoDrawerOnOverEnterLeave), that); + g_signal_connect(priv->evBox, "grab-notify", + G_CALLBACK(ViewAutoDrawerOnGrabNotify), that); + + g_signal_connect(that, "hierarchy-changed", + G_CALLBACK(ViewAutoDrawerOnHierarchyChanged), NULL); + + /* This change happens programmatically. Always react to it immediately. */ + ViewAutoDrawerUpdate(that, TRUE); + + ViewAutoDrawerRefreshPacking(that); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewAutoDrawerFinalize -- + * + * "finalize" method of a ViewAutoDrawer. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static void +ViewAutoDrawerFinalize(GObject *object) // IN +{ + ViewAutoDrawer *that; + + that = VIEW_AUTODRAWER(object); + if (that->priv->delayConnection) { + g_source_remove(that->priv->delayConnection); + } + + G_OBJECT_CLASS(parentClass)->finalize(object); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewAutoDrawerClassInit -- + * + * Initialize the ViewAutoDrawerClass. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static void +ViewAutoDrawerClassInit(gpointer klass) // IN +{ + GObjectClass *objectClass = G_OBJECT_CLASS(klass); + ViewOvBoxClass *ovBoxClass = VIEW_OV_BOX_CLASS(klass); + + parentClass = g_type_class_peek_parent(klass); + + objectClass->finalize = ViewAutoDrawerFinalize; + + ovBoxClass->set_over = ViewAutoDrawerSetOver; + + g_type_class_add_private(klass, sizeof(ViewAutoDrawerPrivate)); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewAutoDrawer_GetType -- + * + * Get the (memoized) GType of the ViewAutoDrawer GTK+ object. + * + * Results: + * The GType + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +GType +ViewAutoDrawer_GetType(void) +{ + static GType type = 0; + + if (type == 0) { + static const GTypeInfo info = { + sizeof (ViewAutoDrawerClass), + NULL, /* BaseInit */ + NULL, /* BaseFinalize */ + (GClassInitFunc)ViewAutoDrawerClassInit, + NULL, + NULL, /* Class Data */ + sizeof (ViewAutoDrawer), + 0, /* n_preallocs */ + (GInstanceInitFunc)ViewAutoDrawerInit, + NULL, + }; + + type = g_type_register_static(VIEW_TYPE_DRAWER, "ViewAutoDrawer", &info, 0); + } + + return type; +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewAutoDrawer_New -- + * + * Create a new ViewAutoDrawer GTK+ widget. + * + * Results: + * The widget + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +GtkWidget * +ViewAutoDrawer_New(void) +{ + return GTK_WIDGET(g_object_new(VIEW_TYPE_AUTODRAWER, NULL)); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewAutoDrawer_SetSlideDelay -- + * + * Set the response time of an AutoDrawer in ms., i.e. the time that + * elapses between: + * - when the AutoDrawer notices a change that can impact the outcome of + * the decision to open or close the drawer, + * and + * - when the AutoDrawer makes such decision. + * + * Users move the mouse inaccurately. If they temporarily move the mouse in + * or out of the AutoDrawer for less than the reponse time, their move will + * be ignored. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +void +ViewAutoDrawer_SetSlideDelay(ViewAutoDrawer *that, // IN + guint delay) // IN +{ + g_return_if_fail(VIEW_IS_AUTODRAWER(that)); + + that->priv->delayValue = delay; +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewAutoDrawer_SetOverlapPixels -- + * + * Set the number of pixels that the over widget overlaps the under widget + * when not open. + * + * Results: + * None + * + * Side effects: + * Drawer state is updated. + * + *----------------------------------------------------------------------------- + */ + +void +ViewAutoDrawer_SetOverlapPixels(ViewAutoDrawer *that, // IN + guint overlapPixels) // IN +{ + g_return_if_fail(VIEW_IS_AUTODRAWER(that)); + + that->priv->overlapPixels = overlapPixels; + + /* This change happens programmatically. Always react to it immediately. */ + ViewAutoDrawerUpdate(that, TRUE); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewAutoDrawer_SetNoOverlapPixels -- + * + * Set the number of pixels that the drawer reserves when not open. The + * over widget does not overlap the under widget over these pixels. + * + * Results: + * None + * + * Side effects: + * Drawer state is updated. + * + *----------------------------------------------------------------------------- + */ + +void +ViewAutoDrawer_SetNoOverlapPixels(ViewAutoDrawer *that, // IN + guint noOverlapPixels) // IN +{ + g_return_if_fail(VIEW_IS_AUTODRAWER(that)); + + that->priv->noOverlapPixels = noOverlapPixels; + + /* This change happens programmatically. Always react to it immediately. */ + ViewAutoDrawerUpdate(that, TRUE); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewAutoDrawer_SetActive -- + * + * Set whether the AutoDrawer is active or not. That is to say, whether + * it is acting as a drawer or not. When inactive, the over and under + * widget do not overlap and the net result is very much like a vbox. + * + * Results: + * None + * + * Side effects: + * Drawer state is updated. + * + *----------------------------------------------------------------------------- + */ + +void +ViewAutoDrawer_SetActive(ViewAutoDrawer *that, // IN + gboolean active) // IN +{ + g_return_if_fail(VIEW_IS_AUTODRAWER(that)); + + that->priv->active = active; + + /* This change happens programmatically. Always react to it immediately. */ + ViewAutoDrawerUpdate(that, TRUE); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewAutoDrawer_SetPinned -- + * + * Set whether the AutoDrawer is pinned or not. When pinned, the + * AutoDrawer will stay open regardless of the state of any other inputs. + * + * Results: + * None + * + * Side effects: + * Drawer state is updated. + * + *----------------------------------------------------------------------------- + */ + +void +ViewAutoDrawer_SetPinned(ViewAutoDrawer *that, // IN + gboolean pinned) // IN +{ + g_return_if_fail(VIEW_IS_AUTODRAWER(that)); + + that->priv->pinned = pinned; + + /* + * This change happens in response to user input. By default, give the user + * some time to correct his input before reacting to the change. + */ + ViewAutoDrawerUpdate(that, FALSE); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewAutoDrawer_SetFill -- + * + * Set whether the Over widget of the AutoDrawer should fill the full + * width of the AutoDrawer or just occupy the minimum space it needs. + * A value of TRUE overrides offset settings. + * + * Results: + * None + * + * Side effects: + * Drawer state is updated. + * + *----------------------------------------------------------------------------- + */ + +void +ViewAutoDrawer_SetFill(ViewAutoDrawer *that, // IN + gboolean fill) // IN +{ + g_return_if_fail(VIEW_IS_AUTODRAWER(that)); + + that->priv->fill = fill; + ViewAutoDrawerRefreshPacking(that); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewAutoDrawer_SetOffset -- + * + * Set the drawer's X offset, or distance in pixels from the left side. + * If offset is -1, the drawer will be centered. If fill has been set + * TRUE by SetFill, these settings will have no effect. + * + * Results: + * None + * + * Side effects: + * Drawer state is updated. + * + *----------------------------------------------------------------------------- + */ + +void +ViewAutoDrawer_SetOffset(ViewAutoDrawer *that, // IN + gint offset) // IN +{ + g_return_if_fail(VIEW_IS_AUTODRAWER(that)); + + that->priv->offset = offset; + ViewAutoDrawerRefreshPacking(that); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewAutoDrawer_Close -- + * + * Closes the drawer. This will not unset the pinned state. + * + * Results: + * None + * + * Side effects: + * Drawer state is updated. If there is a focused widget inside the + * drawer, unfocus it. + * + *----------------------------------------------------------------------------- + */ + +void +ViewAutoDrawer_Close(ViewAutoDrawer *that) // IN +{ + GtkWindow *window; + GtkWidget *focus; + GtkWidget *toplevel; + + g_return_if_fail(VIEW_IS_AUTODRAWER(that)); + toplevel = gtk_widget_get_toplevel(GTK_WIDGET(that)); + + if (!toplevel || !gtk_widget_is_toplevel(toplevel)) { + // The autoDrawer cannot function properly without a toplevel. + return; + } + window = GTK_WINDOW(toplevel); + + focus = gtk_window_get_focus(window); + if (focus && gtk_widget_is_ancestor(focus, that->priv->evBox)) { + gtk_window_set_focus(window, NULL); + } + + that->priv->forceClosing = TRUE; + that->priv->closeConnection = + g_timeout_add(ViewDrawer_GetCloseTime(&that->parent) + + that->priv->delayValue, + (GSourceFunc)ViewAutoDrawerOnCloseDelay, that); + + /* This change happens programmatically. Always react to it immediately. */ + ViewAutoDrawerUpdate(that, TRUE); +} diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/view/autoDrawer.h b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/view/autoDrawer.h new file mode 100644 index 0000000..a2fdd54 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/view/autoDrawer.h @@ -0,0 +1,91 @@ +/* ************************************************************************* + * Copyright (c) 2005 VMware Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * *************************************************************************/ + +/* + * autoDrawer.h -- + * + * Declarations for the ViewAutoDrawer GTK+ widget. + */ + + +#ifndef LIBVIEW_AUTODRAWER_H +#define LIBVIEW_AUTODRAWER_H + + +#include "drawer.h" + + +#define VIEW_TYPE_AUTODRAWER (ViewAutoDrawer_GetType()) +#define VIEW_AUTODRAWER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), VIEW_TYPE_AUTODRAWER, ViewAutoDrawer)) +#define VIEW_AUTODRAWER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), VIEW_TYPE_AUTODRAWER, ViewAutoDrawerClass)) +#define VIEW_IS_AUTODRAWER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), VIEW_TYPE_AUTODRAWER)) +#define VIEW_IS_AUTODRAWER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), VIEW_TYPE_AUTODRAWER)) +#define VIEW_AUTODRAWER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), VIEW_TYPE_AUTODRAWER, ViewAutoDrawerClass)) + +typedef struct _ViewAutoDrawerPrivate ViewAutoDrawerPrivate; + +typedef struct _ViewAutoDrawer { + /* Must come first. */ + ViewDrawer parent; + + /* Private. */ + ViewAutoDrawerPrivate *priv; +} ViewAutoDrawer; + +typedef struct _ViewAutoDrawerClass { + /* Must come first. */ + ViewDrawerClass parent; + + /* Padding for future expansion */ + void (*_view_reserved0)(void); + void (*_view_reserved1)(void); + void (*_view_reserved2)(void); + void (*_view_reserved3)(void); +} ViewAutoDrawerClass; + + +G_BEGIN_DECLS + + +GType ViewAutoDrawer_GetType(void); + +GtkWidget *ViewAutoDrawer_New(void); + +void ViewAutoDrawer_SetSlideDelay(ViewAutoDrawer *that, guint delay); +void ViewAutoDrawer_SetOverlapPixels(ViewAutoDrawer *that, guint overlapPixels); +void ViewAutoDrawer_SetNoOverlapPixels(ViewAutoDrawer *that, guint noOverlapPixels); + +void ViewAutoDrawer_SetActive(ViewAutoDrawer *that, gboolean active); + +void ViewAutoDrawer_SetPinned(ViewAutoDrawer *that, gboolean pinned); + +void ViewAutoDrawer_SetFill(ViewAutoDrawer *that, gboolean fill); + +void ViewAutoDrawer_SetOffset(ViewAutoDrawer *that, gint offset); + +void ViewAutoDrawer_Close(ViewAutoDrawer *that); + +G_END_DECLS + + +#endif /* LIBVIEW_AUTODRAWER_H */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/view/drawer.c b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/view/drawer.c new file mode 100644 index 0000000..6052ffe --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/view/drawer.c @@ -0,0 +1,367 @@ +/* ************************************************************************* + * Copyright (c) 2005 VMware, Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * *************************************************************************/ + +/* + * drawer.c - + * + * Implementation of a GTK+ drawer, i.e. a widget that opens and closes by + * sliding smoothly, at constant speed, over another one. + */ + +#include <config.h> + +#include "drawer.h" + + +struct _ViewDrawerPrivate +{ + unsigned int period; + double step; + double goal; + struct { + gboolean pending; + guint id; + } timer; +}; + +#define VIEW_DRAWER_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE((obj), VIEW_TYPE_DRAWER, ViewDrawerPrivate)) + +/* The unaltered parent class. */ +static ViewOvBoxClass *parentClass; + + +/* + *----------------------------------------------------------------------------- + * + * ViewDrawerInit -- + * + * Initialize a ViewDrawer. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static void +ViewDrawerInit(GTypeInstance *instance, // IN + gpointer klass G_GNUC_UNUSED) // Unused +{ + ViewDrawer *that; + + that = VIEW_DRAWER(instance); + that->priv = VIEW_DRAWER_GET_PRIVATE(that); + + that->priv->period = 10; + that->priv->step = 0.2; + that->priv->timer.pending = FALSE; +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewDrawerFinalize -- + * + * "finalize" method of a ViewOvBox. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static void +ViewDrawerFinalize(GObject *object) // IN +{ + ViewDrawer *that; + ViewDrawerPrivate *priv; + + that = VIEW_DRAWER(object); + priv = that->priv; + + if (priv->timer.pending) { + g_source_remove(priv->timer.id); + priv->timer.pending = FALSE; + } + + G_OBJECT_CLASS(parentClass)->finalize(object); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewDrawerClassInit -- + * + * Initialize the ViewDrawerClass. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static void +ViewDrawerClassInit(gpointer klass) // IN +{ + GObjectClass *objectClass = G_OBJECT_CLASS(klass); + + parentClass = g_type_class_peek_parent(klass); + + objectClass->finalize = ViewDrawerFinalize; + + g_type_class_add_private(klass, sizeof(ViewDrawerPrivate)); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewDrawer_GetType -- + * + * Get the (memoized) GType of the ViewDrawer GTK+ object. + * + * Results: + * The GType + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +GType +ViewDrawer_GetType(void) +{ + static GType type = 0; + + if (type == 0) { + static const GTypeInfo info = { + sizeof (ViewDrawerClass), + NULL, /* BaseInit */ + NULL, /* BaseFinalize */ + (GClassInitFunc)ViewDrawerClassInit, + NULL, + NULL, /* Class Data */ + sizeof (ViewDrawer), + 0, /* n_preallocs */ + (GInstanceInitFunc)ViewDrawerInit, + NULL + }; + + type = g_type_register_static(VIEW_TYPE_OV_BOX, "ViewDrawer", &info, 0); + } + + return type; +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewDrawer_New -- + * + * Create a new ViewDrawer GTK+ widget. + * + * Results: + * The widget + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +GtkWidget * +ViewDrawer_New(void) +{ + ViewDrawer *that; + + that = VIEW_DRAWER(g_object_new(VIEW_TYPE_DRAWER, NULL)); +// gtk_widget_set_size_request(GTK_WIDGET(that), 1280, 720); + + return GTK_WIDGET(that); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewDrawerOnTimer -- + * + * Timer callback of a ViewDrawer. If we have reached the goal, deschedule + * the timer. Otherwise make progress towards the goal, and keep the timer + * scheduled. + * + * Results: + * TRUE if the timer must be rescheduled. + * FALSE if the timer must not be rescheduled. + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static gint +ViewDrawerOnTimer(gpointer data) // IN +{ + ViewDrawer *that; + ViewDrawerPrivate *priv; + double fraction; + + that = VIEW_DRAWER(data); + priv = that->priv; + + fraction = ViewOvBox_GetFraction(VIEW_OV_BOX(that)); + /* + * Comparing double values with '==' is most of the time a bad idea, due to + * the inexact representation of values in binary (see + * http://www2.hursley.ibm.com/decimal/decifaq1.html and http://boost.org/libs/test/doc/components/test_tools/floating_point_comparison.html). + * But in this particular case it is legitimate. --hpreg + */ + if (priv->goal == fraction) { + return priv->timer.pending = FALSE; + } + + ViewOvBox_SetFraction(VIEW_OV_BOX(that), + priv->goal > fraction + ? MIN(fraction + priv->step, priv->goal) + : MAX(fraction - priv->step, priv->goal)); + return TRUE; +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewDrawer_SetSpeed -- + * + * Set the 'period' (in ms.) and 'step' properties of a ViewDrawer, which + * determine the speed and smoothness of the drawer's motion. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +void +ViewDrawer_SetSpeed(ViewDrawer *that, // IN + unsigned int period, // IN + double step) // IN +{ + ViewDrawerPrivate *priv; + + g_return_if_fail(that != NULL); + + priv = that->priv; + + priv->period = period; + if (priv->timer.pending) { + g_source_remove(priv->timer.id); + priv->timer.id = g_timeout_add(priv->period, ViewDrawerOnTimer, that); + } + priv->step = step; +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewDrawer_SetGoal -- + * + * Set the 'goal' property of a ViewDrawer, i.e. how much the drawer should + * be opened when it is done sliding. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +void +ViewDrawer_SetGoal(ViewDrawer *that, // IN + double goal) // IN +{ + ViewDrawerPrivate *priv; + + g_return_if_fail(that != NULL); + g_return_if_fail(goal >= 0 && goal <= 1); + + priv = that->priv; + + priv->goal = goal; + if (priv->timer.pending == FALSE) { + priv->timer.id = g_timeout_add(priv->period, ViewDrawerOnTimer, that); + priv->timer.pending = TRUE; + } +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewDrawer_GetCloseTime -- + * + * Get the approximate amount of time it will take for this drawer to + * open and close, in ms. + * + * Results: + * The time it takes to open or close the drawer. + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +int +ViewDrawer_GetCloseTime(ViewDrawer *that) +{ + ViewDrawerPrivate *priv; + + if (that == NULL) { + return 0; + } + + priv = that->priv; + + return priv->period * ((int)(1/priv->step) + 1); +} diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/view/drawer.h b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/view/drawer.h new file mode 100644 index 0000000..12964a2 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/view/drawer.h @@ -0,0 +1,83 @@ +/* ************************************************************************* + * Copyright (c) 2005 VMware, Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * *************************************************************************/ + +/* + * drawer.h -- + * + * Declarations for the ViewDrawer GTK+ widget. + */ + + +#ifndef LIBVIEW_DRAWER_H +#define LIBVIEW_DRAWER_H + + +#include "ovBox.h" + + +#define VIEW_TYPE_DRAWER (ViewDrawer_GetType()) +#define VIEW_DRAWER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), VIEW_TYPE_DRAWER, ViewDrawer)) +#define VIEW_DRAWER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), VIEW_TYPE_DRAWER, ViewDrawerClass)) +#define VIEW_IS_DRAWER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), VIEW_TYPE_DRAWER)) +#define VIEW_IS_DRAWER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), VIEW_TYPE_DRAWER)) +#define VIEW_DRAWER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), VIEW_TYPE_DRAWER, ViewDrawerClass)) + +typedef struct _ViewDrawerPrivate ViewDrawerPrivate; + +typedef struct _ViewDrawer { + /* Must come first. */ + ViewOvBox parent; + + /* Private. */ + ViewDrawerPrivate *priv; +} ViewDrawer; + + +typedef struct _ViewDrawerClass { + /* Must come first. */ + ViewOvBoxClass parent; + + /* Padding for future expansion */ + void (*_view_reserved0)(void); + void (*_view_reserved1)(void); + void (*_view_reserved2)(void); + void (*_view_reserved3)(void); +} ViewDrawerClass; + + +G_BEGIN_DECLS + + +GType ViewDrawer_GetType(void); + +GtkWidget *ViewDrawer_New(void); + +void ViewDrawer_SetSpeed(ViewDrawer *that, unsigned int period, double step); +void ViewDrawer_SetGoal(ViewDrawer *that, double fraction); +int ViewDrawer_GetCloseTime(ViewDrawer *that); + + +G_END_DECLS + + +#endif /* LIBVIEW_DRAWER_H */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/view/ovBox.c b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/view/ovBox.c new file mode 100644 index 0000000..145681e --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/view/ovBox.c @@ -0,0 +1,965 @@ +/* ************************************************************************* + * Copyright (c) 2005 VMware, Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * *************************************************************************/ + +/* + * ovBox.c -- + * + * Implementation of a GTK+ overlapping box. Allows you to display and + * quickly move a child that overlaps another child. + * + * Implementation notes + * -------------------- + * + * Changing 'fraction' is fast (we just move the 'overWin' X window, which + * ultimately copies a rectangle on the X server side), and does not + * flicker (the 'under' and 'over' GTK children are not re-drawn, except + * for parts of them that become exposed). + * + * o Initially, we thought it could be done with only 2 X windows + * + * Layout Hierarchy + * ------ --------- + * + * /- overWin --\ underWin + * | | overWin + * /-+- underWin -+-\ + * | | | | + * | \------------/ | + * | | + * \----------------/ + * + * But the 'under' GTK child could create other X windows inside + * 'underWin', which makes it impossible to guarantee that 'overWin' + * will stay stacked on top. + * + * o So we are forced to use 3 X windows + * + * Layout Hierarchy + * ------ --------- + * + * /- overWin --\ window + * | | overWin + * /---+- window ---+---\ underWin + * | | | | + * | /-+- underWin -+-\ | + * | | | | | | + * | | \------------/ | | + * | | | | + * | \----------------/ | + * | | + * \--------------------/ + * + * --hpreg + */ + +#include <config.h> + +#include "ovBox.h" + +#if ! GTK_CHECK_VERSION(3, 0, 0) +#define gtk_widget_set_realized(widget, val) \ + GTK_WIDGET_SET_FLAGS(widget, GTK_REALIZED) +#define gtk_widget_get_realized(widget) \ + GTK_WIDGET_REALIZED(widget) +#endif + +struct _ViewOvBoxPrivate +{ + GdkWindow *underWin; + GtkWidget *under; + GdkWindow *overWin; + GtkWidget *over; + GtkRequisition overR; + unsigned int min; + double fraction; + gint verticalOffset; + GdkCursor *mouse_cursor; +}; + +#define VIEW_OV_BOX_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE((obj), VIEW_TYPE_OV_BOX, ViewOvBoxPrivate)) + +/* The unaltered parent class. */ +static GtkBoxClass *parentClass; + + +/* + *----------------------------------------------------------------------------- + * + * ViewOvBoxInit -- + * + * Initialize a ViewOvBox. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static void +ViewOvBoxInit(GTypeInstance *instance, // IN + gpointer klass G_GNUC_UNUSED) // Unused +{ + ViewOvBox *that; + ViewOvBoxPrivate *priv; + + that = VIEW_OV_BOX(instance); + that->priv = VIEW_OV_BOX_GET_PRIVATE(that); + priv = that->priv; + + gtk_widget_set_has_window (GTK_WIDGET (that), TRUE); + + priv->underWin = NULL; + priv->under = NULL; + priv->overWin = NULL; + priv->over = NULL; + priv->overR.height = -1; + priv->overR.width = -1; + priv->min = 0; + priv->fraction = 0; + priv->verticalOffset = 0; +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewOvBoxMap -- + * + * "map" method of a ViewOvBox. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static void +ViewOvBoxMap(GtkWidget *widget) // IN +{ + gdk_window_show(gtk_widget_get_window (widget)); + GTK_WIDGET_CLASS(parentClass)->map(widget); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewOvBoxUnmap -- + * + * "unmap" method of a ViewOvBox. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static void +ViewOvBoxUnmap(GtkWidget *widget) // IN +{ + gdk_window_hide(gtk_widget_get_window (widget)); + GTK_WIDGET_CLASS(parentClass)->unmap(widget); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewOvBoxGetActualMin -- + * + * Retrieve the actual 'min' value, i.e. a value that is guaranteed not to + * exceed the height of the 'over' child. + * + * Results: + * The actual 'min' value. + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static inline unsigned int +ViewOvBoxGetActualMin(ViewOvBox *that) // IN +{ + return MIN(that->priv->min, that->priv->overR.height); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewOvBoxGetUnderGeometry -- + * + * Retrieve the geometry to apply to 'that->underWin'. + * + * Results: + * The geometry + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static void +ViewOvBoxGetUnderGeometry(ViewOvBox *that, // IN + int *x, // OUT + int *y, // OUT + int *width, // OUT + int *height) // OUT +{ + unsigned int min; + GtkAllocation allocation; + + min = ViewOvBoxGetActualMin(that); + gtk_widget_get_allocation (GTK_WIDGET(that), &allocation); + + *x = 0; + *y = min; + *width = allocation.width; + *height = allocation.height - min; +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewOvBoxGetOverGeometry -- + * + * Retrieve the geometry to apply to 'that->overWin'. + * + * Results: + * The geometry + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static void +ViewOvBoxGetOverGeometry(ViewOvBox *that, // IN + int *x, // OUT + int *y, // OUT + int *width, // OUT + int *height) // OUT +{ + ViewOvBoxPrivate *priv; + gboolean expand; + gboolean fill; + guint padding; + unsigned int boxWidth; + GtkAllocation allocation; + + priv = that->priv; + + if (priv->over) { + /* + * When a child's expand or fill property changes, GtkBox queues + * a resize for the child. + */ + gtk_container_child_get(GTK_CONTAINER(that), priv->over, + "expand", &expand, + "fill", &fill, + "padding", &padding, + NULL); + } else { + /* Default values used by GtkBox. */ + expand = TRUE; + fill = TRUE; + padding = 0; + } + + gtk_widget_get_allocation(GTK_WIDGET(that), &allocation); + boxWidth = allocation.width; + if (!expand) { + *width = MIN(priv->overR.width, boxWidth - padding); + *x = padding; + } else if (!fill) { + *width = MIN(priv->overR.width, boxWidth); + *x = (boxWidth - *width) / 2; + } else { + *width = boxWidth; + *x = 0; + } + + *y = (priv->overR.height - ViewOvBoxGetActualMin(that)) + * (priv->fraction - 1) + priv->verticalOffset; + *height = priv->overR.height; +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewOvBoxSetBackground -- + * + * Set the background color of the 'underWin' and 'overWin' X windows. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static void +ViewOvBoxSetBackground(ViewOvBox *that) // IN +{ + GtkWidget *widget = GTK_WIDGET(that); + +#if GTK_CHECK_VERSION(3, 0, 0) + GtkStyleContext *stylecontext; + + stylecontext = gtk_widget_get_style_context(widget); + gtk_style_context_set_background(stylecontext, gtk_widget_get_window(widget)); + gtk_style_context_set_background(stylecontext, that->priv->underWin); + gtk_style_context_set_background(stylecontext, that->priv->overWin); +#else + GtkStyle *style; + + style = gtk_widget_get_style (widget); + gtk_style_set_background(style, gtk_widget_get_window(widget), GTK_STATE_NORMAL); + gtk_style_set_background(style, that->priv->underWin, GTK_STATE_NORMAL); + gtk_style_set_background(style, that->priv->overWin, GTK_STATE_NORMAL); +#endif +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewOvBoxRealize -- + * + * "realize" method of a ViewOvBox. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static void +ViewOvBoxRealize(GtkWidget *widget) // IN +{ + ViewOvBox *that; + ViewOvBoxPrivate *priv; + GdkWindowAttr attributes; + gint mask; + GtkAllocation allocation; + GdkWindow *window; + + gtk_widget_set_realized (widget, TRUE); + + that = VIEW_OV_BOX(widget); + priv = that->priv; + priv->mouse_cursor = gdk_cursor_new(GDK_ARROW); + + attributes.window_type = GDK_WINDOW_CHILD; + attributes.wclass = GDK_INPUT_OUTPUT; + attributes.visual = gtk_widget_get_visual(widget); + attributes.event_mask = gtk_widget_get_events(widget) | GDK_EXPOSURE_MASK | GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK; + mask = GDK_WA_VISUAL | GDK_WA_X | GDK_WA_Y; + + gtk_widget_get_allocation(widget, &allocation); + attributes.x = allocation.x; + attributes.y = allocation.y; + attributes.width = allocation.width; + attributes.height = allocation.height; + window = gdk_window_new(gtk_widget_get_parent_window(widget), + &attributes, mask); + gtk_widget_set_window(widget, window); + gdk_window_set_user_data(window, that); +#if !GTK_CHECK_VERSION(3, 0, 0) + gtk_widget_set_style(widget, gtk_style_attach(gtk_widget_get_style(widget), window)); +#endif + + /* + * The order in which we create the children X window matters: the child + * created last is stacked on top. --hpreg + */ + + ViewOvBoxGetUnderGeometry(that, &attributes.x, &attributes.y, + &attributes.width, &attributes.height); + priv->underWin = gdk_window_new(window, &attributes, mask); + gdk_window_set_user_data(priv->underWin, that); + if (priv->under) { + gtk_widget_set_parent_window(priv->under, priv->underWin); + } + gdk_window_set_cursor(priv->underWin, priv->mouse_cursor); + gdk_window_show(priv->underWin); + + ViewOvBoxGetOverGeometry(that, &attributes.x, &attributes.y, + &attributes.width, &attributes.height); + priv->overWin = gdk_window_new(window, &attributes, mask); + gdk_window_set_user_data(priv->overWin, that); + if (priv->over) { + gtk_widget_set_parent_window(priv->over, priv->overWin); + } + gdk_window_set_cursor(priv->overWin, priv->mouse_cursor); + gdk_window_show(priv->overWin); + + ViewOvBoxSetBackground(that); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewOvBoxUnrealize -- + * + * "unrealize" method of a ViewOvBox. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static void +ViewOvBoxUnrealize(GtkWidget *widget) // IN +{ + ViewOvBox *that; + ViewOvBoxPrivate *priv; + + that = VIEW_OV_BOX(widget); + priv = that->priv; + + /* + * Unrealize the parent before destroying the windows so that we end up + * unrealizing all the child widgets before destroying the child windows, + * giving them a chance to reparent their windows before we clobber them. + */ + GTK_WIDGET_CLASS(parentClass)->unrealize(widget); + + + gdk_window_set_user_data(priv->underWin, NULL); + gdk_window_destroy(priv->underWin); + priv->underWin = NULL; + + gdk_window_set_user_data(priv->overWin, NULL); + gdk_window_destroy(priv->overWin); + priv->overWin = NULL; + +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewOvBoxSizeRequest -- + * + * "size_request" method of a ViewOvBox. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ +static void +ViewOvBoxSizeRequest(GtkWidget *widget, // IN + GtkRequisition *requisition) // OUT +{ + ViewOvBox *that; + ViewOvBoxPrivate *priv; + GtkRequisition underR; + gboolean expand; + gboolean fill; + guint padding; + unsigned int min; + + that = VIEW_OV_BOX(widget); + priv = that->priv; + +#if GTK_CHECK_VERSION(3, 0, 0) + gtk_widget_get_preferred_size(priv->under, NULL, &underR); + gtk_widget_get_preferred_size(priv->over, NULL, &priv->overR); +#else + gtk_widget_size_request(priv->under, &underR); + gtk_widget_size_request(priv->over, &priv->overR); +#endif + + gtk_container_child_get(GTK_CONTAINER(that), priv->over, + "expand", &expand, + "fill", &fill, + "padding", &padding, + NULL); + requisition->width = MAX(underR.width, + priv->overR.width + ((expand || fill) ? 0 : padding)); + min = ViewOvBoxGetActualMin(that); + requisition->height = MAX(underR.height + min, priv->overR.height); +} + +#if GTK_CHECK_VERSION(3, 0, 0) +static void +ViewOvBox_get_preferred_width (GtkWidget *widget, + gint *minimal_width, + gint *natural_width) +{ + GtkRequisition requisition; + + ViewOvBoxSizeRequest (widget, &requisition); + + *minimal_width = *natural_width = requisition.width; +} + +static void +ViewOvBox_get_preferred_height (GtkWidget *widget, + gint *minimal_height, + gint *natural_height) +{ + GtkRequisition requisition; + + ViewOvBoxSizeRequest (widget, &requisition); + + *minimal_height = *natural_height = requisition.height; +} +#endif + + +/* + *----------------------------------------------------------------------------- + * + * ViewOvBoxSizeAllocate -- + * + * "size_allocate" method of a ViewOvBox. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static void +ViewOvBoxSizeAllocate(GtkWidget *widget, // IN + GtkAllocation *allocation) // IN +{ + ViewOvBox *that; + ViewOvBoxPrivate *priv; + GtkAllocation under; + GtkAllocation over; + + gtk_widget_set_allocation (widget, allocation); + + that = VIEW_OV_BOX(widget); + priv = that->priv; + + ViewOvBoxGetUnderGeometry(that, &under.x, &under.y, &under.width, + &under.height); + ViewOvBoxGetOverGeometry(that, &over.x, &over.y, &over.width, &over.height); + + if (gtk_widget_get_realized(widget)) { + gdk_window_move_resize(gtk_widget_get_window(widget), + allocation->x, allocation->y, + allocation->width, allocation->height); + gdk_window_move_resize(priv->underWin, under.x, under.y, under.width, + under.height); + gdk_window_move_resize(priv->overWin, over.x, over.y, over.width, + over.height); + } + + under.x = 0; + under.y = 0; + gtk_widget_size_allocate(priv->under, &under); + over.x = 0; + over.y = 0; + gtk_widget_size_allocate(priv->over, &over); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewOvBoxStyleSet -- + * + * "style_set" method of a ViewOvBox. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static void +ViewOvBoxStyleSet(GtkWidget *widget, // IN + GtkStyle *previousStyle) // IN: Unused +{ + ViewOvBox *that; + + that = VIEW_OV_BOX(widget); + + if (gtk_widget_get_realized(widget)) { + ViewOvBoxSetBackground(that); + } + + GTK_WIDGET_CLASS(parentClass)->style_set(widget, previousStyle); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewOvBoxSetChild -- + * + * Set a child of a ViewOvBox. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static void +ViewOvBoxSetChild(ViewOvBox *that, // IN + GtkWidget **child, // IN + GdkWindow *childWin, // IN + GtkWidget *widget) // IN +{ + GtkWidget *oldChild = *child; + + if (oldChild) { + g_object_ref(oldChild); + gtk_container_remove(GTK_CONTAINER(that), oldChild); + } + + *child = widget; + if (*child) { + gtk_widget_set_parent_window(widget, childWin); + gtk_container_add(GTK_CONTAINER(that), *child); + } + + if (oldChild) { + g_object_unref(oldChild); + } +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewOvBoxSetOver -- + * + * Base implementation of ViewOvBox_SetOver. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static void +ViewOvBoxSetOver(ViewOvBox *that, // IN + GtkWidget *widget) // IN +{ + ViewOvBoxSetChild(that, &that->priv->over, that->priv->overWin, widget); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewOvBoxClassInit -- + * + * Initialize the ViewOvBoxClass. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +static void +ViewOvBoxClassInit(ViewOvBoxClass *klass) // IN +{ + GtkWidgetClass *widgetClass; + + widgetClass = GTK_WIDGET_CLASS(klass); + + widgetClass->map = ViewOvBoxMap; + widgetClass->unmap = ViewOvBoxUnmap; + widgetClass->realize = ViewOvBoxRealize; + widgetClass->unrealize = ViewOvBoxUnrealize; +#if GTK_CHECK_VERSION(3, 0, 0) + widgetClass->get_preferred_width = ViewOvBox_get_preferred_width; + widgetClass->get_preferred_height = ViewOvBox_get_preferred_height; +#else + widgetClass->size_request = ViewOvBoxSizeRequest; +#endif + widgetClass->size_allocate = ViewOvBoxSizeAllocate; + widgetClass->style_set = ViewOvBoxStyleSet; + + klass->set_over = ViewOvBoxSetOver; + + parentClass = g_type_class_peek_parent(klass); + + g_type_class_add_private(klass, sizeof(ViewOvBoxPrivate)); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewOvBox_GetType -- + * + * Get the (memoized) GType of the ViewOvBox GTK+ object. + * + * Results: + * The GType + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +GType +ViewOvBox_GetType(void) +{ + static GType type = 0; + + if (type == 0) { + static const GTypeInfo info = { + sizeof (ViewOvBoxClass), + NULL, /* BaseInit */ + NULL, /* BaseFinalize */ + (GClassInitFunc)ViewOvBoxClassInit, + NULL, + NULL, /* Class Data */ + sizeof (ViewOvBox), + 0, /* n_preallocs */ + (GInstanceInitFunc)ViewOvBoxInit, + NULL, + }; + + type = g_type_register_static(GTK_TYPE_BOX, "ViewOvBox", &info, 0); + } + + return type; +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewOvBox_New -- + * + * Create a new ViewOvBox GTK+ widget. + * + * Results: + * The widget + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +GtkWidget * +ViewOvBox_New(void) +{ + ViewOvBox *that; + + that = VIEW_OV_BOX(g_object_new(VIEW_TYPE_OV_BOX, NULL)); + return GTK_WIDGET(that); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewOvBox_SetUnder -- + * + * Set the under widget of a ViewOvBox. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +void +ViewOvBox_SetUnder(ViewOvBox *that, // IN + GtkWidget *widget) // IN +{ + g_return_if_fail(that != NULL); + + ViewOvBoxSetChild(that, &that->priv->under, that->priv->underWin, widget); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewOvBox_SetOver -- + * + * Set the over widget of a ViewOvBox. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +void +ViewOvBox_SetOver(ViewOvBox *that, // IN + GtkWidget *widget) // IN +{ + g_return_if_fail(that != NULL); + + VIEW_OV_BOX_GET_CLASS(that)->set_over(that, widget); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewOvBox_SetMin -- + * + * Set the 'min' property of a ViewOvBox, i.e. the number of pixel of the + * 'over' child that should always be displayed without overlapping on the + * 'under' child. + * + * Using a value of -1 displays the 'over' child entirely. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +void +ViewOvBox_SetMin(ViewOvBox *that, // IN + unsigned int min) // IN +{ + g_return_if_fail(that != NULL); + + that->priv->min = min; + gtk_widget_queue_resize(GTK_WIDGET(that)); +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewOvBox_SetFraction -- + * + * Set the 'fraction' property of a ViewOvBox, i.e. how much of the 'over' + * child should overlap on the 'under' child. + * + * Results: + * None + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +void +ViewOvBox_SetFraction(ViewOvBox *that, // IN + double fraction) // IN +{ + g_return_if_fail(that != NULL); + g_return_if_fail(fraction >=0 && fraction <= 1); + + that->priv->fraction = fraction; + if (gtk_widget_get_realized(GTK_WIDGET (that))) { + int x; + int y; + int width; + int height; + + ViewOvBoxGetOverGeometry(that, &x, &y, &width, &height); + gdk_window_move(that->priv->overWin, x, y); + } +} + + +/* + *----------------------------------------------------------------------------- + * + * ViewOvBox_GetFraction -- + * + * Retrieve the 'fraction' property of a ViewOvBox. + * + * Results: + * The value + * + * Side effects: + * None + * + *----------------------------------------------------------------------------- + */ + +double +ViewOvBox_GetFraction(ViewOvBox *that) +{ + g_return_val_if_fail(that != NULL, 0); + + return that->priv->fraction; +} diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/view/ovBox.h b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/view/ovBox.h new file mode 100644 index 0000000..4fa61fd --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/view/ovBox.h @@ -0,0 +1,103 @@ +/* ************************************************************************* + * Copyright (c) 2005 VMware, Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * *************************************************************************/ + +/* + * ovBox.h -- + * + * Declarations for the ViewOvBox GTK+ widget. + */ + + +#ifndef LIBVIEW_OVBOX_H +#define LIBVIEW_OVBOX_H + + +#include <gtk/gtk.h> + + +#define VIEW_TYPE_OV_BOX (ViewOvBox_GetType()) +#define VIEW_OV_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), VIEW_TYPE_OV_BOX, ViewOvBox)) +#define VIEW_OV_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), VIEW_TYPE_OV_BOX, ViewOvBoxClass)) +#define VIEW_IS_OV_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), VIEW_TYPE_OV_BOX)) +#define VIEW_IS_OV_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), VIEW_TYPE_OV_BOX)) +#define VIEW_OV_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), VIEW_TYPE_OV_BOX, ViewOvBoxClass)) + +typedef struct _ViewOvBoxPrivate ViewOvBoxPrivate; + +typedef struct _ViewOvBox { + /* Must come first. */ + GtkBox parent; + + /* Private. */ + ViewOvBoxPrivate *priv; +} ViewOvBox; + + +typedef struct _ViewOvBoxClass { + /* Must come first. */ + GtkBoxClass parent; + + /* Virtual methods. */ + void (* set_over)(ViewOvBox *ovBox, GtkWidget *widget); + + /* Padding for future expansion */ + void (*_view_reserved0)(void); + void (*_view_reserved1)(void); + void (*_view_reserved2)(void); + void (*_view_reserved3)(void); +} ViewOvBoxClass; + + +G_BEGIN_DECLS + + +GType +ViewOvBox_GetType(void); + +GtkWidget * +ViewOvBox_New(void); + +void +ViewOvBox_SetUnder(ViewOvBox *that, + GtkWidget *widget); + +void +ViewOvBox_SetOver(ViewOvBox *that, + GtkWidget *widget); + +void +ViewOvBox_SetMin(ViewOvBox *that, + unsigned int min); + +void +ViewOvBox_SetFraction(ViewOvBox *that, + double fraction); + +double +ViewOvBox_GetFraction(ViewOvBox *that); + + +G_END_DECLS + + +#endif /* LIBVIEW_OVBOX_H */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-gtk-compat.h b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-gtk-compat.h new file mode 100644 index 0000000..7467781 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-gtk-compat.h @@ -0,0 +1,61 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, Inc. + * Copyright (C) 2009-2012 Daniel P. Berrange + * Copyright (C) 2010 Marc-André Lureau + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ +#ifndef _VIRT_GTK_COMPAT +# define _VIRT_GTK_COMPAT + +#include <gdk/gdk.h> + +G_BEGIN_DECLS + +#if GTK_CHECK_VERSION(3, 0, 0) +#define GDK_Control_L GDK_KEY_Control_L +#define GDK_Alt_L GDK_KEY_Alt_L +#define GDK_Delete GDK_KEY_Delete +#define GDK_BackSpace GDK_KEY_BackSpace +#define GDK_Print GDK_KEY_Print +#define GDK_F1 GDK_KEY_F1 +#define GDK_F2 GDK_KEY_F2 +#define GDK_F3 GDK_KEY_F3 +#define GDK_F4 GDK_KEY_F4 +#define GDK_F5 GDK_KEY_F5 +#define GDK_F6 GDK_KEY_F6 +#define GDK_F7 GDK_KEY_F7 +#define GDK_F8 GDK_KEY_F8 +#define GDK_F9 GDK_KEY_F9 +#define GDK_F10 GDK_KEY_F10 +#define GDK_F11 GDK_KEY_F11 +#define GDK_F12 GDK_KEY_F12 +#endif + +G_END_DECLS + +#endif /* _VIRT_GTK_COMPAT */ + +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-about.xml b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-about.xml new file mode 100644 index 0000000..e9ae52a --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-about.xml @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 2.12 --> + <object class="GtkAboutDialog" id="about"> + <property name="can_focus">False</property> + <property name="border_width">5</property> + <property name="title" translatable="yes">About Glade</property> + <property name="resizable">False</property> + <property name="modal">True</property> + <property name="window_position">center-on-parent</property> + <property name="destroy_with_parent">True</property> + <property name="type_hint">dialog</property> + <property name="skip_taskbar_hint">True</property> + <property name="skip_pager_hint">True</property> + <property name="program_name">Virtual Machine Viewer</property> + <property name="copyright" translatable="yes">Copyright (C) 2007-2012 Daniel P. Berrange +Copyright (C) 2007-2012 Red Hat, Inc.</property> + <property name="comments" translatable="yes">A remote desktop client built with GTK-VNC, SPICE-GTK and libvirt</property> + <property name="website">http://virt-manager.org/</property> + <property name="website_label" translatable="yes">virt-manager.org</property> + <property name="license" translatable="yes">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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +</property> + <property name="authors">Daniel P. Berrange +Marc-André Lureau +</property> + <property name="translator_credits" translatable="yes">The Fedora Translation Team</property> + <property name="logo_icon_name">virt-viewer</property> + <signal name="delete-event" handler="virt_viewer_app_about_delete" swapped="no"/> + <signal name="response" handler="virt_viewer_app_about_close" swapped="no"/> + <child internal-child="vbox"> + <object class="GtkBox" id="dialog-vbox1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">2</property> + <child internal-child="action_area"> + <object class="GtkButtonBox" id="dialog-action_area1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="layout_style">end</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="pack_type">end</property> + <property name="position">0</property> + </packing> + </child> + <child> + <placeholder/> + </child> + </object> + </child> + </object> +</interface> diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-app.c b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-app.c new file mode 100644 index 0000000..07c1064 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-app.c @@ -0,0 +1,1785 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, Inc. + * Copyright (C) 2009-2012 Daniel P. Berrange + * Copyright (C) 2010 Marc-André Lureau + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ + +#ifdef CONFIG_MARU +#ifdef WIN32 +#define off_t long +#define off64_t long long +#endif +#endif + +#include <config.h> + +#include <gdk/gdkkeysyms.h> +#include <gtk/gtk.h> +#include <sys/types.h> +#include <sys/stat.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> +#include <locale.h> +#include <glib/gprintf.h> +#include <glib/gi18n.h> + +#include <libxml/xpath.h> +#include <libxml/uri.h> + +#ifdef HAVE_SYS_SOCKET_H +#include <sys/socket.h> +#endif + +#ifdef HAVE_SYS_UN_H +#include <sys/un.h> +#endif + +#ifdef HAVE_WINDOWS_H +#include <windows.h> +#endif + +#include "virt-gtk-compat.h" +#include "virt-viewer-app.h" +#include "virt-viewer-auth.h" +#include "virt-viewer-window.h" +#include "virt-viewer-session.h" +#ifdef HAVE_GTK_VNC +#include "virt-viewer-session-vnc.h" +#endif +#ifdef HAVE_SPICE_GTK +#include "virt-viewer-session-spice.h" +#endif + +gboolean doDebug = FALSE; + +/* Signal handlers for about dialog */ +void virt_viewer_app_about_close(GtkWidget *dialog, VirtViewerApp *self); +void virt_viewer_app_about_delete(GtkWidget *dialog, void *dummy, VirtViewerApp *self); + + +/* Internal methods */ +static void virt_viewer_app_connected(VirtViewerSession *session, + VirtViewerApp *self); +static void virt_viewer_app_initialized(VirtViewerSession *session, + VirtViewerApp *self); +static void virt_viewer_app_disconnected(VirtViewerSession *session, + VirtViewerApp *self); +static void virt_viewer_app_auth_refused(VirtViewerSession *session, + const char *msg, + VirtViewerApp *self); +static void virt_viewer_app_auth_failed(VirtViewerSession *session, + const char *msg, + VirtViewerApp *self); +static void virt_viewer_app_usb_failed(VirtViewerSession *session, + const char *msg, + VirtViewerApp *self); + +static void virt_viewer_app_server_cut_text(VirtViewerSession *session, + const gchar *text, + VirtViewerApp *self); +static void virt_viewer_app_bell(VirtViewerSession *session, + VirtViewerApp *self); + +static void virt_viewer_app_cancelled(VirtViewerSession *session, + VirtViewerApp *self); + +static void virt_viewer_app_channel_open(VirtViewerSession *session, + VirtViewerSessionChannel *channel, + VirtViewerApp *self); +static void virt_viewer_app_update_pretty_address(VirtViewerApp *self); +static void virt_viewer_app_set_fullscreen(VirtViewerApp *self, gboolean fullscreen); +static void virt_viewer_app_update_menu_displays(VirtViewerApp *self); + + +struct _VirtViewerAppPrivate { + VirtViewerWindow *main_window; + GtkWidget *main_notebook; + GtkWidget *container; + GHashTable *windows; + gchar *clipboard; + + gboolean direct; + gboolean verbose; + gboolean enable_accel; + gboolean authretry; + gboolean started; + gboolean fullscreen; + gboolean fullscreen_auto_conf; + gboolean attach; + gboolean quiting; + + VirtViewerSession *session; + gboolean active; + gboolean connected; + gboolean cancelled; + guint reconnect_poll; /* source id */ + char *unixsock; + char *guri; /* prefered over ghost:gport */ + char *ghost; + char *gport; + char *gtlsport; + char *host; /* ssh */ + int port;/* ssh */ + char *user; /* ssh */ + char *transport; + char *pretty_address; + gchar *guest_name; + gboolean grabbed; + char *title; + + gint focused; +}; + + +G_DEFINE_ABSTRACT_TYPE(VirtViewerApp, virt_viewer_app, G_TYPE_OBJECT) +#define GET_PRIVATE(o) \ + (G_TYPE_INSTANCE_GET_PRIVATE ((o), VIRT_VIEWER_TYPE_APP, VirtViewerAppPrivate)) + +enum { + PROP_0, + PROP_VERBOSE, + PROP_CONTAINER, + PROP_SESSION, + PROP_GUEST_NAME, + PROP_GURI, + PROP_FULLSCREEN, + PROP_TITLE, + PROP_ENABLE_ACCEL, + PROP_HAS_FOCUS, + PROP_FULLSCREEN_AUTO_CONF, +}; + +enum { + SIGNAL_WINDOW_ADDED, + SIGNAL_WINDOW_REMOVED, + SIGNAL_LAST, +}; + +static guint signals[SIGNAL_LAST]; + +void +virt_viewer_app_set_debug(gboolean debug) +{ +#if GLIB_CHECK_VERSION(2, 31, 0) + if (debug) { + const gchar *doms = g_getenv("G_MESSAGES_DEBUG"); + if (!doms) { + g_setenv("G_MESSAGES_DEBUG", G_LOG_DOMAIN, 1); + } else if (!strstr(doms, G_LOG_DOMAIN)) { + gchar *newdoms = g_strdup_printf("%s %s", doms, G_LOG_DOMAIN); + g_setenv("G_MESSAGES_DEBUG", newdoms, 1); + g_free(newdoms); + } + } +#endif + doDebug = debug; +} + +void +virt_viewer_app_simple_message_dialog(VirtViewerApp *self, + const char *fmt, ...) +{ + g_return_if_fail(VIRT_VIEWER_IS_APP(self)); + GtkWindow *window = GTK_WINDOW(virt_viewer_window_get_window(self->priv->main_window)); + GtkWidget *dialog; + char *msg; + va_list vargs; + + va_start(vargs, fmt); + + msg = g_strdup_vprintf(fmt, vargs); + + va_end(vargs); + + dialog = gtk_message_dialog_new(window, + GTK_DIALOG_MODAL | + GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_MESSAGE_ERROR, + GTK_BUTTONS_OK, + "%s", + msg); + + gtk_dialog_run(GTK_DIALOG(dialog)); + + gtk_widget_destroy(dialog); + + g_free(msg); +} + +void +virt_viewer_app_quit(VirtViewerApp *self) +{ + g_return_if_fail(VIRT_VIEWER_IS_APP(self)); + VirtViewerAppPrivate *priv = self->priv; + + if (priv->session) { + virt_viewer_session_close(VIRT_VIEWER_SESSION(priv->session)); + if (priv->connected) { + priv->quiting = TRUE; + return; + } + } + + gtk_main_quit(); +} + +static void count_window_visible(gpointer key G_GNUC_UNUSED, + gpointer value, + gpointer user_data) +{ + GtkWindow *win = virt_viewer_window_get_window(VIRT_VIEWER_WINDOW(value)); + guint *n = (guint*)user_data; + + if (gtk_widget_get_visible(GTK_WIDGET(win))) + *n += 1; +} + +static guint +virt_viewer_app_get_n_windows_visible(VirtViewerApp *self) +{ + guint n = 0; + g_hash_table_foreach(self->priv->windows, count_window_visible, &n); + return n; +} + +static guint +virt_viewer_app_get_n_windows(VirtViewerApp *self) +{ + return g_hash_table_size(self->priv->windows); +} + +gboolean +virt_viewer_app_window_set_visible(VirtViewerApp *self, + VirtViewerWindow *window, + gboolean visible) +{ + g_return_val_if_fail(VIRT_VIEWER_IS_APP(self), FALSE); + g_return_val_if_fail(VIRT_VIEWER_IS_WINDOW(window), FALSE); + + if (visible) { + virt_viewer_window_show(window); + return TRUE; + } else { + if (virt_viewer_app_get_n_windows_visible(self) > 1) { + virt_viewer_window_hide(window); + return FALSE; + } else if (virt_viewer_app_get_n_windows(self) > 1) { + GtkWidget *dialog = + gtk_message_dialog_new (virt_viewer_window_get_window(window), + GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_MESSAGE_QUESTION, + GTK_BUTTONS_OK_CANCEL, + _("This is the last visible display. Do you want to quit?")); + gint result = gtk_dialog_run (GTK_DIALOG (dialog)); + switch (result) { + case GTK_RESPONSE_OK: + virt_viewer_app_quit(self); + break; + default: + break; + } + gtk_widget_destroy(dialog); + return FALSE; + } else { + virt_viewer_app_quit(self); + return FALSE; + } + } + + g_warn_if_reached(); + return FALSE; +} + +G_MODULE_EXPORT void +virt_viewer_app_about_close(GtkWidget *dialog, + VirtViewerApp *self G_GNUC_UNUSED) +{ + gtk_widget_hide(dialog); + gtk_widget_destroy(dialog); +} + +G_MODULE_EXPORT void +virt_viewer_app_about_delete(GtkWidget *dialog, + void *dummy G_GNUC_UNUSED, + VirtViewerApp *self G_GNUC_UNUSED) +{ + gtk_widget_hide(dialog); + gtk_widget_destroy(dialog); +} + +#if defined(HAVE_SOCKETPAIR) && defined(HAVE_FORK) + +static int +virt_viewer_app_open_tunnel(const char **cmd) +{ + int fd[2]; + pid_t pid; + + if (socketpair(PF_UNIX, SOCK_STREAM, 0, fd) < 0) + return -1; + + pid = fork(); + if (pid == -1) { + close(fd[0]); + close(fd[1]); + return -1; + } + + if (pid == 0) { /* child */ + close(fd[0]); + close(0); + close(1); + if (dup(fd[1]) < 0) + _exit(1); + if (dup(fd[1]) < 0) + _exit(1); + close(fd[1]); + execvp("ssh", (char *const*)cmd); + _exit(1); + } + close(fd[1]); + return fd[0]; +} + + +static int +virt_viewer_app_open_tunnel_ssh(const char *sshhost, + int sshport, + const char *sshuser, + const char *host, + const char *port, + const char *unixsock) +{ + const char *cmd[10]; + char portstr[50]; + int n = 0; + + cmd[n++] = "ssh"; + if (sshport) { + cmd[n++] = "-p"; + sprintf(portstr, "%d", sshport); + cmd[n++] = portstr; + } + if (sshuser) { + cmd[n++] = "-l"; + cmd[n++] = sshuser; + } + cmd[n++] = sshhost; + cmd[n++] = "nc"; + if (port) { + cmd[n++] = host; + cmd[n++] = port; + } else { + cmd[n++] = "-U"; + cmd[n++] = unixsock; + } + cmd[n++] = NULL; + + return virt_viewer_app_open_tunnel(cmd); +} + +static int +virt_viewer_app_open_unix_sock(const char *unixsock) +{ + struct sockaddr_un addr; + int fd; + + memset(&addr, 0, sizeof addr); + addr.sun_family = AF_UNIX; + strcpy(addr.sun_path, unixsock); + + if ((fd = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) + return -1; + + if (connect(fd, (struct sockaddr *)&addr, sizeof addr) < 0) { + close(fd); + return -1; + } + + return fd; +} + +#endif /* defined(HAVE_SOCKETPAIR) && defined(HAVE_FORK) */ + +void +virt_viewer_app_trace(VirtViewerApp *self, + const char *fmt, ...) +{ + g_return_if_fail(VIRT_VIEWER_IS_APP(self)); + va_list ap; + VirtViewerAppPrivate *priv = self->priv; + + if (doDebug) { + va_start(ap, fmt); + g_logv(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, fmt, ap); + va_end(ap); + } + + if (priv->verbose) { + va_start(ap, fmt); + g_vprintf(fmt, ap); + va_end(ap); + } +} + +static void +virt_viewer_app_set_window_subtitle(VirtViewerApp *app, + VirtViewerWindow *window, + int nth) +{ + gchar *subtitle = NULL; + + if (app->priv->title != NULL) { + gchar *d = strstr(app->priv->title, "%d"); + if (d != NULL) { + *d = '\0'; + subtitle = g_strdup_printf("%s%d%s", app->priv->title, nth + 1, d + 2); + *d = '%'; + } else + subtitle = g_strdup_printf("%s (%d)", app->priv->title, nth + 1); + } + + g_object_set(window, "subtitle", subtitle, NULL); + g_free(subtitle); +} + +static void +set_title(gpointer key, + gpointer value, + gpointer user_data) +{ + gint *nth = key; + VirtViewerApp *app = user_data; + VirtViewerWindow *window = value; + virt_viewer_app_set_window_subtitle(app, window, *nth); +} + +static void +virt_viewer_app_set_all_window_subtitles(VirtViewerApp *app) +{ + g_hash_table_foreach(app->priv->windows, set_title, app); +} + +static void update_title(gpointer key G_GNUC_UNUSED, + gpointer value, + gpointer user_data G_GNUC_UNUSED) +{ + virt_viewer_window_update_title(VIRT_VIEWER_WINDOW(value)); +} + +static void +virt_viewer_app_update_title(VirtViewerApp *self) +{ + g_hash_table_foreach(self->priv->windows, update_title, NULL); +} + +static void set_usb_options_sensitive(gpointer key G_GNUC_UNUSED, + gpointer value, + gpointer user_data) +{ + virt_viewer_window_set_usb_options_sensitive(VIRT_VIEWER_WINDOW(value), + GPOINTER_TO_INT(user_data)); +} + +static void +virt_viewer_app_set_usb_options_sensitive(VirtViewerApp *self, gboolean sensitive) +{ + g_hash_table_foreach(self->priv->windows, set_usb_options_sensitive, + GINT_TO_POINTER(sensitive)); +} + +static VirtViewerWindow * +virt_viewer_app_get_nth_window(VirtViewerApp *self, gint nth) +{ + return g_hash_table_lookup(self->priv->windows, &nth); +} + +static gboolean +virt_viewer_app_remove_nth_window(VirtViewerApp *self, gint nth) +{ + VirtViewerWindow *win; + gboolean removed; + + g_return_val_if_fail(nth != 0, FALSE); + + win = virt_viewer_app_get_nth_window(self, nth); + g_return_val_if_fail(win != NULL, FALSE); + + DEBUG_LOG("Remove window %d %p", nth, win); + removed = g_hash_table_steal(self->priv->windows, &nth); + g_warn_if_fail(removed); + + if (removed) + g_signal_emit(self, signals[SIGNAL_WINDOW_REMOVED], 0, win); + + g_object_unref(win); + + return removed; +} + +static void +virt_viewer_app_set_nth_window(VirtViewerApp *self, gint nth, VirtViewerWindow *win) +{ + gint *key; + + g_return_if_fail(virt_viewer_app_get_nth_window(self, nth) == NULL); + key = g_malloc(sizeof(gint)); + *key = nth; + DEBUG_LOG("Insert window %d %p", nth, win); + g_hash_table_insert(self->priv->windows, key, win); + virt_viewer_app_set_window_subtitle(self, win, nth); + + g_signal_emit(self, signals[SIGNAL_WINDOW_ADDED], 0, win); +} + +static void +viewer_window_visible_cb(GtkWidget *widget G_GNUC_UNUSED, + gpointer user_data) +{ + virt_viewer_app_update_menu_displays(VIRT_VIEWER_APP(user_data)); +} + +static gboolean +viewer_window_focus_in_cb(GtkWindow *window G_GNUC_UNUSED, + GdkEvent *event G_GNUC_UNUSED, + VirtViewerApp *self) +{ + self->priv->focused += 1; + + if (self->priv->focused == 1) + g_object_notify(G_OBJECT(self), "has-focus"); + + return FALSE; +} + +static gboolean +viewer_window_focus_out_cb(GtkWindow *window G_GNUC_UNUSED, + GdkEvent *event G_GNUC_UNUSED, + VirtViewerApp *self) +{ + self->priv->focused -= 1; + g_warn_if_fail(self->priv->focused >= 0); + + if (self->priv->focused <= 0) + g_object_notify(G_OBJECT(self), "has-focus"); + + return FALSE; +} + +static VirtViewerWindow* +virt_viewer_app_window_new(VirtViewerApp *self, GtkWidget *container, gint nth) +{ + VirtViewerWindow* window; + GtkWindow *w; + + window = g_object_new(VIRT_VIEWER_TYPE_WINDOW, + "app", self, + "container", container, + NULL); + if (self->priv->main_window) + virt_viewer_window_set_zoom_level(window, virt_viewer_window_get_zoom_level(self->priv->main_window)); + virt_viewer_app_set_nth_window(self, nth, window); + w = virt_viewer_window_get_window(window); + + /* this will set new window to fullscreen if necessary */ + virt_viewer_app_set_fullscreen(self, self->priv->fullscreen); + g_signal_connect(w, "hide", G_CALLBACK(viewer_window_visible_cb), self); + g_signal_connect(w, "show", G_CALLBACK(viewer_window_visible_cb), self); + g_signal_connect(w, "focus-in-event", G_CALLBACK(viewer_window_focus_in_cb), self); + g_signal_connect(w, "focus-out-event", G_CALLBACK(viewer_window_focus_out_cb), self); + return window; +} + +static void +display_show_hint(VirtViewerDisplay *display, + GParamSpec *pspec G_GNUC_UNUSED, + VirtViewerWindow *win) +{ + VirtViewerApp *self; + VirtViewerNotebook *nb = virt_viewer_window_get_notebook(win); + gint nth, hint; + + g_object_get(win, + "app", &self, + NULL); + g_object_get(display, + "nth-display", &nth, + "show-hint", &hint, + NULL); + + if (hint == VIRT_VIEWER_DISPLAY_SHOW_HINT_HIDE) { + if (win != self->priv->main_window && + g_getenv("VIRT_VIEWER_HIDE")) + virt_viewer_window_hide(win); + virt_viewer_notebook_show_status(nb, _("Waiting for display %d..."), nth + 1); + } else { + virt_viewer_notebook_show_display(nb); + virt_viewer_window_show(win); + gtk_window_present(virt_viewer_window_get_window(win)); + } + + g_object_unref(self); +} + +static void +virt_viewer_app_display_added(VirtViewerSession *session G_GNUC_UNUSED, + VirtViewerDisplay *display, + VirtViewerApp *self) +{ + VirtViewerAppPrivate *priv = self->priv; + VirtViewerWindow *window; + gint nth; + + g_object_get(display, "nth-display", &nth, NULL); + if (nth == 0) { + window = priv->main_window; + } else { + if (priv->container) { + g_warning("multi-head not yet supported within container"); + return; + } + + g_return_if_fail(virt_viewer_app_get_nth_window(self, nth) == NULL); + window = virt_viewer_app_window_new(self, NULL, nth); + } + + virt_viewer_window_set_display(window, display); + g_signal_connect(display, "notify::show-hint", + G_CALLBACK(display_show_hint), window); + g_object_notify(G_OBJECT(display), "show-hint"); /* call display_show_hint */ +} + + +static void +virt_viewer_app_display_removed(VirtViewerSession *session G_GNUC_UNUSED, + VirtViewerDisplay *display, + VirtViewerApp *self) +{ + VirtViewerWindow *win = NULL; + gint nth; + + gtk_widget_hide(GTK_WIDGET(display)); + g_object_get(display, "nth-display", &nth, NULL); + win = virt_viewer_app_get_nth_window(self, nth); + virt_viewer_window_set_display(win, NULL); + + if (nth != 0) + virt_viewer_app_remove_nth_window(self, nth); +} + +int +virt_viewer_app_create_session(VirtViewerApp *self, const gchar *type) +{ + g_return_val_if_fail(VIRT_VIEWER_IS_APP(self), -1); + VirtViewerAppPrivate *priv = self->priv; + g_return_val_if_fail(priv->session == NULL, -1); + g_return_val_if_fail(type != NULL, -1); + +#ifdef HAVE_GTK_VNC + if (g_ascii_strcasecmp(type, "vnc") == 0) { + GtkWindow *window = virt_viewer_window_get_window(priv->main_window); + virt_viewer_app_trace(self, "Guest %s has a %s display\n", + priv->guest_name, type); + priv->session = virt_viewer_session_vnc_new(window); + } else +#endif +#ifdef HAVE_SPICE_GTK + if (g_ascii_strcasecmp(type, "spice") == 0) { + GtkWindow *window = virt_viewer_window_get_window(priv->main_window); + virt_viewer_app_trace(self, "Guest %s has a %s display\n", + priv->guest_name, type); + priv->session = virt_viewer_session_spice_new(self, window); + } else +#endif + { + virt_viewer_app_trace(self, "Guest %s has unsupported %s display type\n", + priv->guest_name, type); + virt_viewer_app_simple_message_dialog(self, _("Unknown graphic type for the guest %s"), + priv->guest_name); + return -1; + } + + g_signal_connect(priv->session, "session-initialized", + G_CALLBACK(virt_viewer_app_initialized), self); + g_signal_connect(priv->session, "session-connected", + G_CALLBACK(virt_viewer_app_connected), self); + g_signal_connect(priv->session, "session-disconnected", + G_CALLBACK(virt_viewer_app_disconnected), self); + g_signal_connect(priv->session, "session-channel-open", + G_CALLBACK(virt_viewer_app_channel_open), self); + g_signal_connect(priv->session, "session-auth-refused", + G_CALLBACK(virt_viewer_app_auth_refused), self); + g_signal_connect(priv->session, "session-auth-failed", + G_CALLBACK(virt_viewer_app_auth_failed), self); + g_signal_connect(priv->session, "session-usb-failed", + G_CALLBACK(virt_viewer_app_usb_failed), self); + g_signal_connect(priv->session, "session-display-added", + G_CALLBACK(virt_viewer_app_display_added), self); + g_signal_connect(priv->session, "session-display-removed", + G_CALLBACK(virt_viewer_app_display_removed), self); + + g_signal_connect(priv->session, "session-cut-text", + G_CALLBACK(virt_viewer_app_server_cut_text), self); + g_signal_connect(priv->session, "session-bell", + G_CALLBACK(virt_viewer_app_bell), self); + g_signal_connect(priv->session, "session-cancelled", + G_CALLBACK(virt_viewer_app_cancelled), self); + + return 0; +} + +static gboolean +virt_viewer_app_default_open_connection(VirtViewerApp *self G_GNUC_UNUSED, int *fd) +{ + *fd = -1; + return TRUE; +} + + +static int +virt_viewer_app_open_connection(VirtViewerApp *self, int *fd) +{ + VirtViewerAppClass *klass; + + g_return_val_if_fail(VIRT_VIEWER_IS_APP(self), -1); + klass = VIRT_VIEWER_APP_GET_CLASS(self); + + return klass->open_connection(self, fd); +} + + +#if defined(HAVE_SOCKETPAIR) && defined(HAVE_FORK) +static void +virt_viewer_app_channel_open(VirtViewerSession *session, + VirtViewerSessionChannel *channel, + VirtViewerApp *self) +{ + VirtViewerAppPrivate *priv; + int fd = -1; + + g_return_if_fail(self != NULL); + + if (!virt_viewer_app_open_connection(self, &fd)) + return; + + DEBUG_LOG("After open connection callback fd=%d", fd); + + priv = self->priv; + if (priv->transport && g_ascii_strcasecmp(priv->transport, "ssh") == 0 && + !priv->direct && fd == -1) { + if ((fd = virt_viewer_app_open_tunnel_ssh(priv->host, priv->port, priv->user, + priv->ghost, priv->gport, NULL)) < 0) + virt_viewer_app_simple_message_dialog(self, _("Connect to ssh failed.")); + } else if (fd == -1) { + virt_viewer_app_simple_message_dialog(self, _("Can't connect to channel, SSH only supported.")); + } + + if (fd >= 0) + virt_viewer_session_channel_open_fd(session, channel, fd); +} +#else +static void +virt_viewer_app_channel_open(VirtViewerSession *session G_GNUC_UNUSED, + VirtViewerSessionChannel *channel G_GNUC_UNUSED, + VirtViewerApp *self) +{ + virt_viewer_app_simple_message_dialog(self, _("Connect to channel unsupported.")); +} +#endif + +static int +virt_viewer_app_default_activate(VirtViewerApp *self) +{ + VirtViewerAppPrivate *priv = self->priv; + int fd = -1; + + if (!virt_viewer_app_open_connection(self, &fd)) + return -1; + + DEBUG_LOG("After open connection callback fd=%d", fd); + +#if defined(HAVE_SOCKETPAIR) && defined(HAVE_FORK) + if (priv->transport && + g_ascii_strcasecmp(priv->transport, "ssh") == 0 && + !priv->direct && + fd == -1) { + gchar *p = NULL; + + if (priv->gport) { + virt_viewer_app_trace(self, "Opening indirect TCP connection to display at %s:%s\n", + priv->ghost, priv->gport); + } else { + virt_viewer_app_trace(self, "Opening indirect UNIX connection to display at %s\n", + priv->unixsock); + } + if (priv->port) + p = g_strdup_printf(":%d", priv->port); + + virt_viewer_app_trace(self, "Setting up SSH tunnel via %s%s%s%s\n", + priv->user ? priv->user : "", + priv->user ? "@" : "", + priv->host, p ? p : ""); + g_free(p); + + if ((fd = virt_viewer_app_open_tunnel_ssh(priv->host, priv->port, + priv->user, priv->ghost, + priv->gport, priv->unixsock)) < 0) + return -1; + } else if (priv->unixsock && fd == -1) { + virt_viewer_app_trace(self, "Opening direct UNIX connection to display at %s", + priv->unixsock); + if ((fd = virt_viewer_app_open_unix_sock(priv->unixsock)) < 0) + return -1; + } +#endif + + if (fd >= 0) { + return virt_viewer_session_open_fd(VIRT_VIEWER_SESSION(priv->session), fd); + } else if (priv->guri) { + virt_viewer_app_trace(self, "Opening connection to display at %s\n", priv->guri); + return virt_viewer_session_open_uri(VIRT_VIEWER_SESSION(priv->session), priv->guri); + } else { + virt_viewer_app_trace(self, "Opening direct TCP connection to display at %s:%s:%s\n", + priv->ghost, priv->gport, priv->gtlsport ? priv->gtlsport : "-1"); + return virt_viewer_session_open_host(VIRT_VIEWER_SESSION(priv->session), + priv->ghost, priv->gport, priv->gtlsport); + } + + return -1; +} + +int +virt_viewer_app_activate(VirtViewerApp *self) +{ + VirtViewerAppPrivate *priv; + int ret; + + g_return_val_if_fail(VIRT_VIEWER_IS_APP(self), -1); + + priv = self->priv; + if (priv->active) + return -1; + + ret = VIRT_VIEWER_APP_GET_CLASS(self)->activate(self); + + if (ret != -1) { + virt_viewer_app_show_status(self, _("Connecting to graphic server")); + priv->connected = FALSE; + priv->cancelled = FALSE; + priv->active = TRUE; + priv->grabbed = FALSE; + virt_viewer_app_update_title(self); + } + + return ret; +} + +/* text was actually requested */ +static void +virt_viewer_app_clipboard_copy(GtkClipboard *clipboard G_GNUC_UNUSED, + GtkSelectionData *data, + guint info G_GNUC_UNUSED, + VirtViewerApp *self) +{ + VirtViewerAppPrivate *priv = self->priv; + + gtk_selection_data_set_text(data, priv->clipboard, -1); +} + +static void +virt_viewer_app_server_cut_text(VirtViewerSession *session G_GNUC_UNUSED, + const gchar *text, + VirtViewerApp *self) +{ + GtkClipboard *cb; + gsize a, b; + VirtViewerAppPrivate *priv = self->priv; + GtkTargetEntry targets[] = { + {g_strdup("UTF8_STRING"), 0, 0}, + {g_strdup("COMPOUND_TEXT"), 0, 0}, + {g_strdup("TEXT"), 0, 0}, + {g_strdup("STRING"), 0, 0}, + }; + + if (!text) + return; + + g_free (priv->clipboard); + priv->clipboard = g_convert (text, -1, "utf-8", "iso8859-1", &a, &b, NULL); + + if (priv->clipboard) { + cb = gtk_clipboard_get (GDK_SELECTION_CLIPBOARD); + + gtk_clipboard_set_with_owner (cb, + targets, + G_N_ELEMENTS(targets), + (GtkClipboardGetFunc)virt_viewer_app_clipboard_copy, + NULL, + G_OBJECT (self)); + } +} + + +static void virt_viewer_app_bell(VirtViewerSession *session G_GNUC_UNUSED, + VirtViewerApp *self) +{ + VirtViewerAppPrivate *priv = self->priv; + + gdk_window_beep(gtk_widget_get_window(GTK_WIDGET(virt_viewer_window_get_window(priv->main_window)))); +} + + +static int +virt_viewer_app_default_initial_connect(VirtViewerApp *self) +{ + return virt_viewer_app_activate(self); +} + +int +virt_viewer_app_initial_connect(VirtViewerApp *self) +{ + VirtViewerAppClass *klass; + + g_return_val_if_fail(VIRT_VIEWER_IS_APP(self), -1); + klass = VIRT_VIEWER_APP_GET_CLASS(self); + + return klass->initial_connect(self); +} + +static gboolean +virt_viewer_app_retryauth(gpointer opaque) +{ + VirtViewerApp *self = opaque; + + virt_viewer_app_initial_connect(self); + + return FALSE; +} + +static gboolean +virt_viewer_app_connect_timer(void *opaque) +{ + VirtViewerApp *self = opaque; + VirtViewerAppPrivate *priv = self->priv; + + DEBUG_LOG("Connect timer fired"); + + if (!priv->active && + virt_viewer_app_initial_connect(self) < 0) + gtk_main_quit(); + + if (priv->active) { + priv->reconnect_poll = 0; + return FALSE; + } + + return TRUE; +} + +void +virt_viewer_app_start_reconnect_poll(VirtViewerApp *self) +{ + g_return_if_fail(VIRT_VIEWER_IS_APP(self)); + VirtViewerAppPrivate *priv = self->priv; + + if (priv->reconnect_poll != 0) + return; + + priv->reconnect_poll = g_timeout_add(500, virt_viewer_app_connect_timer, self); +} + +static void +virt_viewer_app_default_deactivated(VirtViewerApp *self) +{ + VirtViewerAppPrivate *priv = self->priv; + + virt_viewer_app_show_status(self, _("Guest domain has shutdown")); + virt_viewer_app_trace(self, "Guest %s display has disconnected, shutting down", + priv->guest_name); + gtk_main_quit(); +} + +static void +virt_viewer_app_deactivated(VirtViewerApp *self) +{ + VirtViewerAppClass *klass; + klass = VIRT_VIEWER_APP_GET_CLASS(self); + + klass->deactivated(self); +} + +static void +virt_viewer_app_deactivate(VirtViewerApp *self) +{ + VirtViewerAppPrivate *priv = self->priv; + + if (!priv->active) + return; + + if (priv->session) + virt_viewer_session_close(VIRT_VIEWER_SESSION(priv->session)); + + priv->connected = FALSE; + priv->active = FALSE; +#if 0 + g_free(priv->pretty_address); + priv->pretty_address = NULL; +#endif + priv->grabbed = FALSE; + virt_viewer_app_update_title(self); + + if (priv->authretry) { + priv->authretry = FALSE; + g_idle_add(virt_viewer_app_retryauth, self); + } else + virt_viewer_app_deactivated(self); + +} + +static void +virt_viewer_app_connected(VirtViewerSession *session G_GNUC_UNUSED, + VirtViewerApp *self) +{ + VirtViewerAppPrivate *priv = self->priv; + + priv->connected = TRUE; + virt_viewer_app_show_status(self, _("Connected to graphic server")); +} + + + +static void +virt_viewer_app_initialized(VirtViewerSession *session G_GNUC_UNUSED, + VirtViewerApp *self) +{ + gboolean has_usb = virt_viewer_session_has_usb(self->priv->session); + + virt_viewer_app_update_title(self); + virt_viewer_app_set_usb_options_sensitive(self, has_usb); +} + +static void +virt_viewer_app_disconnected(VirtViewerSession *session G_GNUC_UNUSED, + VirtViewerApp *self) +{ + VirtViewerAppPrivate *priv = self->priv; + + if (priv->quiting) + gtk_main_quit(); + + if (!priv->connected && !priv->cancelled) { + virt_viewer_app_simple_message_dialog(self, + _("Unable to connect to the graphic server %s"), + priv->pretty_address); + } + virt_viewer_app_set_usb_options_sensitive(self, FALSE); + virt_viewer_app_deactivate(self); +} + +static void virt_viewer_app_cancelled(VirtViewerSession *session, + VirtViewerApp *self) +{ + VirtViewerAppPrivate *priv = self->priv; + priv->cancelled = TRUE; + virt_viewer_app_disconnected(session, self); +} + + +static void virt_viewer_app_auth_refused(VirtViewerSession *session G_GNUC_UNUSED, + const char *msg, + VirtViewerApp *self) +{ + GtkWidget *dialog; + int ret; + VirtViewerAppPrivate *priv = self->priv; + + dialog = gtk_message_dialog_new(virt_viewer_window_get_window(priv->main_window), + GTK_DIALOG_MODAL | + GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_MESSAGE_ERROR, + GTK_BUTTONS_YES_NO, + _("Unable to authenticate with remote desktop server at %s: %s\n" + "Retry connection again?"), + priv->pretty_address, msg); + + ret = gtk_dialog_run(GTK_DIALOG(dialog)); + + gtk_widget_destroy(dialog); + + if (ret == GTK_RESPONSE_YES) + priv->authretry = TRUE; + else + priv->authretry = FALSE; +} + + +static void virt_viewer_app_auth_failed(VirtViewerSession *session G_GNUC_UNUSED, + const char *msg, + VirtViewerApp *self) +{ + virt_viewer_app_simple_message_dialog(self, + _("Unable to authenticate with remote desktop server: %s"), + msg); +} + +static void virt_viewer_app_usb_failed(VirtViewerSession *session G_GNUC_UNUSED, + const gchar *msg, + VirtViewerApp *self) +{ + virt_viewer_app_simple_message_dialog(self, _("USB redirection error: %s"), msg); +} + +static void +virt_viewer_app_get_property (GObject *object, guint property_id, + GValue *value G_GNUC_UNUSED, GParamSpec *pspec) +{ + g_return_if_fail(VIRT_VIEWER_IS_APP(object)); + VirtViewerApp *self = VIRT_VIEWER_APP(object); + VirtViewerAppPrivate *priv = self->priv; + + switch (property_id) { + case PROP_VERBOSE: + g_value_set_boolean(value, priv->verbose); + break; + + case PROP_CONTAINER: + g_value_set_object(value, priv->container); + break; + + case PROP_SESSION: + g_value_set_object(value, priv->session); + break; + + case PROP_GUEST_NAME: + g_value_set_string(value, priv->guest_name); + break; + + case PROP_GURI: + g_value_set_string(value, priv->guri); + break; + + case PROP_FULLSCREEN: + g_value_set_boolean(value, priv->fullscreen); + break; + + case PROP_TITLE: + g_value_set_string(value, priv->title); + break; + + case PROP_ENABLE_ACCEL: + g_value_set_boolean(value, virt_viewer_app_get_enable_accel(self)); + break; + + case PROP_HAS_FOCUS: + g_value_set_boolean(value, priv->focused > 0); + break; + + case PROP_FULLSCREEN_AUTO_CONF: + g_value_set_boolean(value, priv->fullscreen_auto_conf); + break; + + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); + } +} + +static void +virt_viewer_app_set_property (GObject *object, guint property_id, + const GValue *value G_GNUC_UNUSED, GParamSpec *pspec) +{ + g_return_if_fail(VIRT_VIEWER_IS_APP(object)); + VirtViewerApp *self = VIRT_VIEWER_APP(object); + VirtViewerAppPrivate *priv = self->priv; + + switch (property_id) { + case PROP_VERBOSE: + priv->verbose = g_value_get_boolean(value); + break; + + case PROP_CONTAINER: + g_return_if_fail(priv->container == NULL); + priv->container = g_value_dup_object(value); + break; + + case PROP_GUEST_NAME: + g_free(priv->guest_name); + priv->guest_name = g_value_dup_string(value); + break; + + case PROP_GURI: + g_free(priv->guri); + priv->guri = g_value_dup_string(value); + virt_viewer_app_update_pretty_address(self); + break; + + case PROP_FULLSCREEN: + virt_viewer_app_set_fullscreen(self, g_value_get_boolean(value)); + break; + + case PROP_TITLE: + g_free(priv->title); + priv->title = g_value_dup_string(value); + virt_viewer_app_set_all_window_subtitles(self); + break; + + case PROP_ENABLE_ACCEL: + priv->enable_accel = g_value_get_boolean(value); + break; + + case PROP_FULLSCREEN_AUTO_CONF: + priv->fullscreen_auto_conf = g_value_get_boolean(value); + break; + + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); + } +} + +static void +virt_viewer_app_dispose (GObject *object) +{ + VirtViewerApp *self = VIRT_VIEWER_APP(object); + VirtViewerAppPrivate *priv = self->priv; + + if (priv->windows) { + GHashTable *tmp = priv->windows; + /* null-ify before unrefing, because we need + * to prevent callbacks using priv->windows + * while it is being disposed off. */ + priv->windows = NULL; + priv->main_window = NULL; + g_hash_table_unref(tmp); + } + + if (priv->container) { + g_object_unref(priv->container); + priv->container = NULL; + } + + if (priv->session) { + g_object_unref(priv->session); + priv->session = NULL; + } + g_free(priv->title); + + virt_viewer_app_free_connect_info(self); + + G_OBJECT_CLASS (virt_viewer_app_parent_class)->dispose (object); +} + +static gboolean +virt_viewer_app_default_start(VirtViewerApp *self) +{ + virt_viewer_window_show(self->priv->main_window); + return TRUE; +} + +gboolean virt_viewer_app_start(VirtViewerApp *self) +{ + VirtViewerAppClass *klass; + + g_return_val_if_fail(VIRT_VIEWER_IS_APP(self), FALSE); + klass = VIRT_VIEWER_APP_GET_CLASS(self); + + g_return_val_if_fail(!self->priv->started, TRUE); + + self->priv->started = klass->start(self); + return self->priv->started; +} + +static void +virt_viewer_app_init (VirtViewerApp *self) +{ + self->priv = GET_PRIVATE(self); + self->priv->windows = g_hash_table_new_full(g_int_hash, g_int_equal, g_free, g_object_unref); +} + +static GObject * +virt_viewer_app_constructor (GType gtype, + guint n_properties, + GObjectConstructParam *properties) +{ + GObject *obj; + VirtViewerApp *self; + VirtViewerAppPrivate *priv; + + obj = G_OBJECT_CLASS (virt_viewer_app_parent_class)->constructor (gtype, n_properties, properties); + self = VIRT_VIEWER_APP(obj); + priv = self->priv; + + priv->main_window = virt_viewer_app_window_new(self, priv->container, 0); + priv->main_notebook = GTK_WIDGET(virt_viewer_window_get_notebook(priv->main_window)); + + gtk_accel_map_add_entry("<virt-viewer>/file/smartcard-insert", GDK_F8, GDK_SHIFT_MASK); + gtk_accel_map_add_entry("<virt-viewer>/file/smartcard-remove", GDK_F9, GDK_SHIFT_MASK); + gtk_accel_map_add_entry("<virt-viewer>/view/fullscreen", GDK_F11, 0); + gtk_accel_map_add_entry("<virt-viewer>/view/release-cursor", GDK_F12, GDK_SHIFT_MASK); + + return obj; +} + +static void +virt_viewer_app_class_init (VirtViewerAppClass *klass) +{ + GObjectClass *object_class = G_OBJECT_CLASS (klass); + + g_type_class_add_private (klass, sizeof (VirtViewerAppPrivate)); + + object_class->constructor = virt_viewer_app_constructor; + object_class->get_property = virt_viewer_app_get_property; + object_class->set_property = virt_viewer_app_set_property; + object_class->dispose = virt_viewer_app_dispose; + + klass->start = virt_viewer_app_default_start; + klass->initial_connect = virt_viewer_app_default_initial_connect; + klass->activate = virt_viewer_app_default_activate; + klass->deactivated = virt_viewer_app_default_deactivated; + klass->open_connection = virt_viewer_app_default_open_connection; + + g_object_class_install_property(object_class, + PROP_VERBOSE, + g_param_spec_boolean("verbose", + "Verbose", + "Verbose trace", + FALSE, + G_PARAM_READABLE | + G_PARAM_WRITABLE | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property(object_class, + PROP_CONTAINER, + g_param_spec_object("container", + "Container", + "Widget container", + GTK_TYPE_WIDGET, + G_PARAM_READABLE | + G_PARAM_WRITABLE | + G_PARAM_CONSTRUCT_ONLY | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property(object_class, + PROP_SESSION, + g_param_spec_object("session", + "Session", + "ViewerSession", + VIRT_VIEWER_TYPE_SESSION, + G_PARAM_READABLE | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property(object_class, + PROP_GUEST_NAME, + g_param_spec_string("guest-name", + "Guest name", + "Guest name", + "", + G_PARAM_READABLE | + G_PARAM_WRITABLE | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property(object_class, + PROP_GURI, + g_param_spec_string("guri", + "guri", + "Remote graphical URI", + "", + G_PARAM_READABLE | + G_PARAM_WRITABLE | + G_PARAM_CONSTRUCT_ONLY | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property(object_class, + PROP_FULLSCREEN, + g_param_spec_boolean("fullscreen", + "Fullscreen", + "Fullscreen", + FALSE, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property(object_class, + PROP_FULLSCREEN_AUTO_CONF, + g_param_spec_boolean("fullscreen-auto-conf", + "auto conf", + "Automatic display configuration in full screen", + FALSE, + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property(object_class, + PROP_TITLE, + g_param_spec_string("title", + "Title", + "Title", + "", + G_PARAM_READABLE | + G_PARAM_WRITABLE | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property(object_class, + PROP_ENABLE_ACCEL, + g_param_spec_boolean("enable-accel", + "Enable Accel", + "Enable accelerators", + FALSE, + G_PARAM_CONSTRUCT | + G_PARAM_READWRITE | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property(object_class, + PROP_HAS_FOCUS, + g_param_spec_boolean("has-focus", + "Has Focus", + "Application has focus", + FALSE, + G_PARAM_READABLE | + G_PARAM_STATIC_STRINGS)); + + signals[SIGNAL_WINDOW_ADDED] = + g_signal_new("window-added", + G_OBJECT_CLASS_TYPE(object_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET(VirtViewerAppClass, window_added), + NULL, NULL, + g_cclosure_marshal_VOID__OBJECT, + G_TYPE_NONE, + 1, + G_TYPE_OBJECT); + + signals[SIGNAL_WINDOW_REMOVED] = + g_signal_new("window-removed", + G_OBJECT_CLASS_TYPE(object_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET(VirtViewerAppClass, window_removed), + NULL, NULL, + g_cclosure_marshal_VOID__OBJECT, + G_TYPE_NONE, + 1, + G_TYPE_OBJECT); +} + +void +virt_viewer_app_set_direct(VirtViewerApp *self, gboolean direct) +{ + g_return_if_fail(VIRT_VIEWER_IS_APP(self)); + + self->priv->direct = direct; +} + +void +virt_viewer_app_set_attach(VirtViewerApp *self, gboolean attach) +{ + g_return_if_fail(VIRT_VIEWER_IS_APP(self)); + + self->priv->attach = attach; +} + +gboolean +virt_viewer_app_get_attach(VirtViewerApp *self) +{ + g_return_val_if_fail(VIRT_VIEWER_IS_APP(self), FALSE); + + return self->priv->attach; +} + +gboolean +virt_viewer_app_is_active(VirtViewerApp *self) +{ + g_return_val_if_fail(VIRT_VIEWER_IS_APP(self), FALSE); + + return self->priv->active; +} + +gboolean +virt_viewer_app_has_session(VirtViewerApp *self) +{ + g_return_val_if_fail(VIRT_VIEWER_IS_APP(self), FALSE); + + return self->priv->session != NULL; +} + +static void +virt_viewer_app_update_pretty_address(VirtViewerApp *self) +{ + VirtViewerAppPrivate *priv; + + priv = self->priv; + g_free(priv->pretty_address); + if (priv->guri) + priv->pretty_address = g_strdup(priv->guri); + else if (priv->gport) + priv->pretty_address = g_strdup_printf("%s:%s", priv->ghost, priv->gport); + else + priv->pretty_address = g_strdup_printf("%s:%s", priv->host, priv->unixsock); +} + +typedef struct { + gboolean fullscreen; + gboolean move; +} FullscreenOptions; + +static void fullscreen_cb(gpointer key, + gpointer value, + gpointer user_data) +{ + gint nth = *(gint*)key; + FullscreenOptions *options = (FullscreenOptions *)user_data; + VirtViewerWindow *vwin = VIRT_VIEWER_WINDOW(value); + + DEBUG_LOG("fullscreen display %d: %d", nth, options->fullscreen); + if (options->fullscreen) { + GdkScreen *screen = gdk_screen_get_default(); + GdkRectangle mon; + + if (nth >= gdk_screen_get_n_monitors(screen)) { + DEBUG_LOG("skipping display %d", nth); + return; + } + gdk_screen_get_monitor_geometry(screen, nth, &mon); + virt_viewer_window_enter_fullscreen(vwin, options->move, mon.x, mon.y); + } else + virt_viewer_window_leave_fullscreen(vwin); +} + +static void +virt_viewer_app_set_fullscreen(VirtViewerApp *self, gboolean fullscreen) +{ + VirtViewerAppPrivate *priv = self->priv; + FullscreenOptions options = { + .fullscreen = fullscreen, + .move = virt_viewer_app_get_n_windows_visible(self) > 1 || self->priv->fullscreen_auto_conf, + }; + + /* we iterate unconditionnaly, even if it was set before to update new windows */ + priv->fullscreen = fullscreen; + g_hash_table_foreach(priv->windows, fullscreen_cb, &options); + + g_object_notify(G_OBJECT(self), "fullscreen"); +} + +static void +menu_display_visible_toggled_cb(GtkCheckMenuItem *checkmenuitem, + VirtViewerWindow *vwin) +{ + VirtViewerApp *self; + gboolean visible; + static gboolean reentering = FALSE; + + if (reentering) /* do not reenter if I switch you back */ + return; + + reentering = TRUE; + g_object_get(vwin, "app", &self, NULL); + visible = virt_viewer_app_window_set_visible(self, vwin, + gtk_check_menu_item_get_active(checkmenuitem)); + gtk_check_menu_item_set_active(checkmenuitem, /* will be toggled again */ !visible); + g_object_unref(self); + reentering = FALSE; +} + +static gint +update_menu_displays_sort(gconstpointer a, gconstpointer b) +{ + const int *ai = a; + const int *bi = b; + + if (*ai > *bi) + return 1; + else if (*ai < *bi) + return -1; + else + return 0; +} + +static void +window_update_menu_displays_cb(gpointer key G_GNUC_UNUSED, + gpointer value, + gpointer user_data) +{ + VirtViewerApp *self = VIRT_VIEWER_APP(user_data); + VirtViewerWindow *window = VIRT_VIEWER_WINDOW(value); + GtkMenuShell *submenu = GTK_MENU_SHELL(gtk_menu_new()); + GtkMenuItem *menu = virt_viewer_window_get_menu_displays(window); + GList *keys = g_hash_table_get_keys(self->priv->windows); + GList *tmp; + + keys = g_list_sort(keys, update_menu_displays_sort); + + tmp = keys; + while (tmp) { + int *nth = tmp->data; + VirtViewerWindow *vwin = VIRT_VIEWER_WINDOW(g_hash_table_lookup(self->priv->windows, nth)); + GtkWidget *item; + gboolean visible; + + item = gtk_check_menu_item_new_with_label(g_strdup_printf("Display %d", *nth)); + visible = gtk_widget_get_visible(GTK_WIDGET(virt_viewer_window_get_window(vwin))); + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(item), visible); + g_signal_connect(G_OBJECT(item), + "toggled", G_CALLBACK(menu_display_visible_toggled_cb), vwin); + gtk_menu_shell_append(submenu, item); + tmp = tmp->next; + } + + gtk_widget_show_all(GTK_WIDGET(submenu)); + gtk_menu_item_set_submenu(menu, GTK_WIDGET(submenu)); + g_list_free(keys); +} + +static void +virt_viewer_app_update_menu_displays(VirtViewerApp *self) +{ + if (!self->priv->windows) + return; + g_hash_table_foreach(self->priv->windows, window_update_menu_displays_cb, self); +} + +void +virt_viewer_app_set_connect_info(VirtViewerApp *self, + const gchar *host, + const gchar *ghost, + const gchar *gport, + const gchar *gtlsport, + const gchar *transport, + const gchar *unixsock, + const gchar *user, + gint port, + const gchar *guri) +{ + g_return_if_fail(VIRT_VIEWER_IS_APP(self)); + VirtViewerAppPrivate *priv = self->priv; + + DEBUG_LOG("Set connect info: %s,%s,%s,%s,%s,%s,%s,%d", + host, ghost, gport, gtlsport ? gtlsport : "-1", transport, unixsock, user, port); + + g_free(priv->host); + g_free(priv->ghost); + g_free(priv->gport); + g_free(priv->gtlsport); + g_free(priv->transport); + g_free(priv->unixsock); + g_free(priv->user); + g_free(priv->guri); + + priv->host = g_strdup(host); + priv->ghost = g_strdup(ghost); + priv->gport = g_strdup(gport); + priv->gtlsport = gtlsport ? g_strdup(gtlsport) : NULL; + priv->transport = g_strdup(transport); + priv->unixsock = g_strdup(unixsock); + priv->user = g_strdup(user); + priv->guri = g_strdup(guri); + priv->port = port; + + virt_viewer_app_update_pretty_address(self); +} + +void +virt_viewer_app_free_connect_info(VirtViewerApp *self) +{ + g_return_if_fail(VIRT_VIEWER_IS_APP(self)); + + virt_viewer_app_set_connect_info(self, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL); +} + +VirtViewerWindow* +virt_viewer_app_get_main_window(VirtViewerApp *self) +{ + g_return_val_if_fail(VIRT_VIEWER_IS_APP(self), NULL); + + return self->priv->main_window; +} + +static void +show_status_cb(gpointer key G_GNUC_UNUSED, + gpointer value, + gpointer user_data) +{ + VirtViewerNotebook *nb = virt_viewer_window_get_notebook(VIRT_VIEWER_WINDOW(value)); + gchar *text = (gchar*)user_data; + + virt_viewer_notebook_show_status(nb, text); +} + +void +virt_viewer_app_show_status(VirtViewerApp *self, const gchar *fmt, ...) +{ + va_list args; + gchar *text; + + g_return_if_fail(VIRT_VIEWER_IS_APP(self)); + g_return_if_fail(fmt != NULL); + + va_start(args, fmt); + text = g_strdup_vprintf(fmt, args); + va_end(args); + + g_hash_table_foreach(self->priv->windows, show_status_cb, text); + g_free(text); +} + +static void +show_display_cb(gpointer key G_GNUC_UNUSED, + gpointer value, + gpointer user_data G_GNUC_UNUSED) +{ + VirtViewerNotebook *nb = virt_viewer_window_get_notebook(VIRT_VIEWER_WINDOW(value)); + + virt_viewer_notebook_show_display(nb); +} + +void +virt_viewer_app_show_display(VirtViewerApp *self) +{ + g_return_if_fail(VIRT_VIEWER_IS_APP(self)); + g_hash_table_foreach(self->priv->windows, show_display_cb, self); +} + +gboolean +virt_viewer_app_get_enable_accel(VirtViewerApp *self) +{ + g_return_val_if_fail(VIRT_VIEWER_IS_APP(self), FALSE); + + return self->priv->enable_accel; +} + +VirtViewerSession* +virt_viewer_app_get_session(VirtViewerApp *self) +{ + g_return_val_if_fail(VIRT_VIEWER_IS_APP(self), FALSE); + + return self->priv->session; +} + +GHashTable* +virt_viewer_app_get_windows(VirtViewerApp *self) +{ + g_return_val_if_fail(VIRT_VIEWER_IS_APP(self), NULL); + return self->priv->windows; +} + +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-app.h b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-app.h new file mode 100644 index 0000000..5dc95dd --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-app.h @@ -0,0 +1,106 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, 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 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ + +#ifndef VIRT_VIEWER_APP_H +#define VIRT_VIEWER_APP_H + +#include <glib-object.h> +#include "virt-viewer-util.h" +#include "virt-viewer-window.h" + +G_BEGIN_DECLS + +#define VIRT_VIEWER_TYPE_APP virt_viewer_app_get_type() +#define VIRT_VIEWER_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VIRT_VIEWER_TYPE_APP, VirtViewerApp)) +#define VIRT_VIEWER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VIRT_VIEWER_TYPE_APP, VirtViewerAppClass)) +#define VIRT_VIEWER_IS_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VIRT_VIEWER_TYPE_APP)) +#define VIRT_VIEWER_IS_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VIRT_VIEWER_TYPE_APP)) +#define VIRT_VIEWER_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VIRT_VIEWER_TYPE_APP, VirtViewerAppClass)) + +typedef struct _VirtViewerAppPrivate VirtViewerAppPrivate; + +typedef struct { + GObject parent; + VirtViewerAppPrivate *priv; +} VirtViewerApp; + +typedef struct { + GObjectClass parent_class; + + /* signals */ + void (*window_added) (VirtViewerApp *self, VirtViewerWindow *window); + void (*window_removed) (VirtViewerApp *self, VirtViewerWindow *window); + + /*< private >*/ + gboolean (*start) (VirtViewerApp *self); + int (*initial_connect) (VirtViewerApp *self); + int (*activate) (VirtViewerApp *self); + void (*deactivated) (VirtViewerApp *self); + gboolean (*open_connection)(VirtViewerApp *self, int *fd); +} VirtViewerAppClass; + +GType virt_viewer_app_get_type (void); + +void virt_viewer_app_set_debug(gboolean debug); +gboolean virt_viewer_app_start(VirtViewerApp *app); +void virt_viewer_app_quit(VirtViewerApp *self); +VirtViewerWindow* virt_viewer_app_get_main_window(VirtViewerApp *self); +void virt_viewer_app_trace(VirtViewerApp *self, const char *fmt, ...); +void virt_viewer_app_simple_message_dialog(VirtViewerApp *self, const char *fmt, ...); +gboolean virt_viewer_app_is_active(VirtViewerApp *app); +void virt_viewer_app_free_connect_info(VirtViewerApp *self); +int virt_viewer_app_create_session(VirtViewerApp *self, const gchar *type); +int virt_viewer_app_activate(VirtViewerApp *self); +int virt_viewer_app_initial_connect(VirtViewerApp *self); +void virt_viewer_app_start_reconnect_poll(VirtViewerApp *self); +void virt_viewer_app_set_zoom_level(VirtViewerApp *self, gint zoom_level); +void virt_viewer_app_set_direct(VirtViewerApp *self, gboolean direct); +void virt_viewer_app_set_attach(VirtViewerApp *self, gboolean attach); +gboolean virt_viewer_app_get_attach(VirtViewerApp *self); +gboolean virt_viewer_app_has_session(VirtViewerApp *self); +void virt_viewer_app_set_connect_info(VirtViewerApp *self, + const gchar *host, + const gchar *ghost, + const gchar *gport, + const gchar *gtlsport, + const gchar *transport, + const gchar *unixsock, + const gchar *user, + gint port, + const gchar *guri); +gboolean virt_viewer_app_window_set_visible(VirtViewerApp *self, VirtViewerWindow *window, gboolean visible); +void virt_viewer_app_show_status(VirtViewerApp *self, const gchar *fmt, ...); +void virt_viewer_app_show_display(VirtViewerApp *self); +GHashTable* virt_viewer_app_get_windows(VirtViewerApp *self); +gboolean virt_viewer_app_get_enable_accel(VirtViewerApp *self); +VirtViewerSession* virt_viewer_app_get_session(VirtViewerApp *self); + +G_END_DECLS + +#endif /* VIRT_VIEWER_APP_H */ +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-auth.c b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-auth.c new file mode 100644 index 0000000..8c4041d --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-auth.c @@ -0,0 +1,186 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, 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 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ + +#include <config.h> + +#include <gtk/gtk.h> +#include <string.h> + +#ifdef HAVE_GTK_VNC +#include <vncdisplay.h> +#endif + +#include "virt-viewer-auth.h" + + +int +virt_viewer_auth_collect_credentials(GtkWindow *window, + const char *type, + const char *address, + char **username, + char **password) +{ + GtkWidget *dialog = NULL; + GtkBuilder *creds = virt_viewer_util_load_ui("virt-viewer-auth.xml"); + GtkWidget *credUsername; + GtkWidget *credPassword; + GtkWidget *promptUsername; + GtkWidget *promptPassword; + GtkWidget *labelMessage; + int response; + char *message; + + dialog = GTK_WIDGET(gtk_builder_get_object(creds, "auth")); + gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK); + gtk_window_set_transient_for(GTK_WINDOW(dialog), window); + + labelMessage = GTK_WIDGET(gtk_builder_get_object(creds, "message")); + credUsername = GTK_WIDGET(gtk_builder_get_object(creds, "cred-username")); + promptUsername = GTK_WIDGET(gtk_builder_get_object(creds, "prompt-username")); + credPassword = GTK_WIDGET(gtk_builder_get_object(creds, "cred-password")); + promptPassword = GTK_WIDGET(gtk_builder_get_object(creds, "prompt-password")); + + gtk_widget_set_sensitive(credUsername, username != NULL); + gtk_widget_set_sensitive(promptUsername, username != NULL); + gtk_widget_set_sensitive(credPassword, password != NULL); + gtk_widget_set_sensitive(promptPassword, password != NULL); + + if (address) { + message = g_strdup_printf("Authentication is required for the %s connection to:\n\n" + "<b>%s</b>\n\n", + type, + address); + } else { + message = g_strdup_printf("Authentication is required for the %s connection:\n", + type); + } + + gtk_label_set_markup(GTK_LABEL(labelMessage), message); + g_free(message); + + gtk_widget_show_all(dialog); + response = gtk_dialog_run(GTK_DIALOG(dialog)); + gtk_widget_hide(dialog); + + if (response == GTK_RESPONSE_OK) { + if (username) + *username = g_strdup(gtk_entry_get_text(GTK_ENTRY(credUsername))); + if (password) + *password = g_strdup(gtk_entry_get_text(GTK_ENTRY(credPassword))); + } + + gtk_widget_destroy(GTK_WIDGET(dialog)); + + return response == GTK_RESPONSE_OK ? 0 : -1; +} + +#ifdef HAVE_GTK_VNC +void +virt_viewer_auth_vnc_credentials(GtkWindow *window, + GtkWidget *vnc, + GValueArray *credList, + char *vncAddress) +{ + char *username = NULL, *password = NULL; + gboolean wantPassword = FALSE, wantUsername = FALSE; + int i; + + DEBUG_LOG("Got VNC credential request for %d credential(s)", credList->n_values); + + for (i = 0 ; i < credList->n_values ; i++) { + GValue *cred = g_value_array_get_nth(credList, i); + switch (g_value_get_enum(cred)) { + case VNC_DISPLAY_CREDENTIAL_USERNAME: + wantUsername = TRUE; + break; + case VNC_DISPLAY_CREDENTIAL_PASSWORD: + wantPassword = TRUE; + break; + case VNC_DISPLAY_CREDENTIAL_CLIENTNAME: + break; + default: + DEBUG_LOG("Unsupported credential type %d", g_value_get_enum(cred)); + vnc_display_close(VNC_DISPLAY(vnc)); + goto cleanup; + } + } + + if (wantUsername || wantPassword) { + int ret = virt_viewer_auth_collect_credentials(window, + "VNC", vncAddress, + wantUsername ? &username : NULL, + wantPassword ? &password : NULL); + + if (ret < 0) { + vnc_display_close(VNC_DISPLAY(vnc)); + goto cleanup; + } + } + + for (i = 0 ; i < credList->n_values ; i++) { + GValue *cred = g_value_array_get_nth(credList, i); + switch (g_value_get_enum(cred)) { + case VNC_DISPLAY_CREDENTIAL_USERNAME: + if (!username || + vnc_display_set_credential(VNC_DISPLAY(vnc), + g_value_get_enum(cred), + username)) { + DEBUG_LOG("Failed to set credential type %d", g_value_get_enum(cred)); + vnc_display_close(VNC_DISPLAY(vnc)); + } + break; + case VNC_DISPLAY_CREDENTIAL_PASSWORD: + if (!password || + vnc_display_set_credential(VNC_DISPLAY(vnc), + g_value_get_enum(cred), + password)) { + DEBUG_LOG("Failed to set credential type %d", g_value_get_enum(cred)); + vnc_display_close(VNC_DISPLAY(vnc)); + } + break; + case VNC_DISPLAY_CREDENTIAL_CLIENTNAME: + if (vnc_display_set_credential(VNC_DISPLAY(vnc), + g_value_get_enum(cred), + "libvirt")) { + DEBUG_LOG("Failed to set credential type %d", g_value_get_enum(cred)); + vnc_display_close(VNC_DISPLAY(vnc)); + } + break; + default: + DEBUG_LOG("Unsupported credential type %d", g_value_get_enum(cred)); + vnc_display_close(VNC_DISPLAY(vnc)); + } + } + + cleanup: + g_free(username); + g_free(password); +} +#endif + +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-auth.h b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-auth.h new file mode 100644 index 0000000..5b4c546 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-auth.h @@ -0,0 +1,52 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, 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 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ + +#ifndef VIRT_VIEWER_AUTH_H +#define VIRT_VIEWER_AUTH_H + +#include "config.h" + +#ifdef HAVE_LIBVIRT +#include <libvirt/libvirt.h> +#endif + +#include "virt-viewer-util.h" + +void virt_viewer_auth_vnc_credentials(GtkWindow *window, + GtkWidget *vnc, + GValueArray *credList, + char *vncAddress); + +int virt_viewer_auth_collect_credentials(GtkWindow *window, + const char *type, + const char *address, + char **username, + char **password); + +#endif +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-auth.xml b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-auth.xml new file mode 100644 index 0000000..0da1181 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-auth.xml @@ -0,0 +1,146 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 2.12 --> + <object class="GtkDialog" id="auth"> + <property name="can_focus">False</property> + <property name="border_width">5</property> + <property name="title" translatable="yes">Authentication required</property> + <property name="modal">True</property> + <property name="window_position">center-on-parent</property> + <property name="destroy_with_parent">True</property> + <property name="type_hint">dialog</property> + <property name="skip_taskbar_hint">True</property> + <property name="skip_pager_hint">True</property> + <child internal-child="vbox"> + <object class="GtkBox" id="dialog-vbox1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">2</property> + <child internal-child="action_area"> + <object class="GtkButtonBox" id="dialog-action_area1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="layout_style">end</property> + <child> + <object class="GtkButton" id="button-cancel"> + <property name="label">gtk-cancel</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_stock">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButton" id="button-ok"> + <property name="label">gtk-ok</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="can_default">True</property> + <property name="has_default">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_stock">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">3</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="pack_type">end</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="message"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="yalign">0</property> + <property name="label" translatable="yes">label</property> + <property name="use_markup">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkTable" id="table1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="n_rows">2</property> + <property name="n_columns">2</property> + <property name="column_spacing">6</property> + <property name="row_spacing">6</property> + <child> + <object class="GtkLabel" id="prompt-password"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">1</property> + <property name="label" translatable="yes">Password:</property> + </object> + <packing> + <property name="top_attach">1</property> + <property name="bottom_attach">2</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="prompt-username"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">1</property> + <property name="label" translatable="yes">Username:</property> + </object> + </child> + <child> + <object class="GtkEntry" id="cred-username"> + <property name="visible">True</property> + <property name="can_focus">True</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + </packing> + </child> + <child> + <object class="GtkEntry" id="cred-password"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="visibility">False</property> + <property name="activates_default">True</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + <property name="top_attach">1</property> + <property name="bottom_attach">2</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + </object> + </child> + <action-widgets> + <action-widget response="-6">button-cancel</action-widget> + <action-widget response="-5">button-ok</action-widget> + </action-widgets> + </object> +</interface> diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-display-spice.c b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-display-spice.c new file mode 100644 index 0000000..bc33531 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-display-spice.c @@ -0,0 +1,386 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2009 Red Hat, Inc. + * Copyright (C) 2009-2012 Daniel P. Berrange + * Copyright (C) 2010 Marc-André Lureau + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ + +#include <config.h> + +#include <spice-audio.h> + +#include <glib/gi18n.h> + +#include "virt-viewer-util.h" +#include "virt-viewer-display-spice.h" +#include "virt-viewer-auth.h" + +G_DEFINE_TYPE (VirtViewerDisplaySpice, virt_viewer_display_spice, VIRT_VIEWER_TYPE_DISPLAY) + +struct _VirtViewerDisplaySpicePrivate { + SpiceChannel *channel; + SpiceDisplay *display; +}; + +#define VIRT_VIEWER_DISPLAY_SPICE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE((o), VIRT_VIEWER_TYPE_DISPLAY_SPICE, VirtViewerDisplaySpicePrivate)) + +static void virt_viewer_display_spice_send_keys(VirtViewerDisplay *display, + const guint *keyvals, + int nkeyvals); +#ifdef CONFIG_MARU +static void virt_viewer_display_spice_send_hwkey_press(VirtViewerDisplay *display, + const guint *keyvals, + int nkeyvals); +static void virt_viewer_display_spice_send_hwkey_release(VirtViewerDisplay *display, + const guint *keyvals, + int nkeyvals); +static void virt_viewer_display_spice_send_rotation_type(VirtViewerDisplay *display, + const guint *keyvals, + int nkeyvals); +static void virt_viewer_display_spice_send_hostkbd_onoff(VirtViewerDisplay *display, + const guint *keyvals, + int nkeyvals); +static void virt_viewer_display_spice_send_close_type(VirtViewerDisplay *display, + const guint *keyvals, + int nkeyvals); +static void virt_viewer_display_spice_req_sdb_port(VirtViewerDisplay *display, + const guint *keyvals, + int nkeyvals); +#endif +static GdkPixbuf *virt_viewer_display_spice_get_pixbuf(VirtViewerDisplay *display); +static void virt_viewer_display_spice_release_cursor(VirtViewerDisplay *display); +static void virt_viewer_display_spice_close(VirtViewerDisplay *display G_GNUC_UNUSED); + +static void +virt_viewer_display_spice_finalize(GObject *obj) +{ + VirtViewerDisplaySpice *spice = VIRT_VIEWER_DISPLAY_SPICE(obj); + + g_object_unref(spice->priv->display); + g_object_unref(spice->priv->channel); + + G_OBJECT_CLASS(virt_viewer_display_spice_parent_class)->finalize(obj); +} + +static void +virt_viewer_display_spice_class_init(VirtViewerDisplaySpiceClass *klass) +{ + VirtViewerDisplayClass *dclass = VIRT_VIEWER_DISPLAY_CLASS(klass); + GObjectClass *oclass = G_OBJECT_CLASS(klass); + + oclass->finalize = virt_viewer_display_spice_finalize; + + dclass->send_keys = virt_viewer_display_spice_send_keys; +#ifdef CONFIG_MARU + dclass->send_hwkey_press = virt_viewer_display_spice_send_hwkey_press; + dclass->send_hwkey_release = virt_viewer_display_spice_send_hwkey_release; + dclass->send_rotation_type = virt_viewer_display_spice_send_rotation_type; + dclass->send_hostkbd_onoff = virt_viewer_display_spice_send_hostkbd_onoff; + dclass->send_close_type = virt_viewer_display_spice_send_close_type; + dclass->req_sdb_port = virt_viewer_display_spice_req_sdb_port; +#endif + dclass->get_pixbuf = virt_viewer_display_spice_get_pixbuf; + dclass->release_cursor = virt_viewer_display_spice_release_cursor; + dclass->close = virt_viewer_display_spice_close; + + g_type_class_add_private(klass, sizeof(VirtViewerDisplaySpicePrivate)); +} + +static void +virt_viewer_display_spice_init(VirtViewerDisplaySpice *self G_GNUC_UNUSED) +{ + self->priv = VIRT_VIEWER_DISPLAY_SPICE_GET_PRIVATE(self); +} + +static void +virt_viewer_display_spice_send_keys(VirtViewerDisplay *display, + const guint *keyvals, + int nkeyvals) +{ + VirtViewerDisplaySpice *self = VIRT_VIEWER_DISPLAY_SPICE(display); + + g_return_if_fail(self != NULL); + g_return_if_fail(self->priv->display != NULL); + + spice_display_send_keys(self->priv->display, keyvals, nkeyvals, SPICE_DISPLAY_KEY_EVENT_CLICK); +} + +#ifdef CONFIG_MARU +static void +virt_viewer_display_spice_send_hwkey_press(VirtViewerDisplay *display, + const guint *keyvals, + int nkeyvals) +{ + VirtViewerDisplaySpice *self = VIRT_VIEWER_DISPLAY_SPICE(display); + + g_return_if_fail(self != NULL); + g_return_if_fail(self->priv->display != NULL); + + spice_display_send_hwkeys(self->priv->display, keyvals, nkeyvals, SPICE_DISPLAY_KEY_EVENT_PRESS); +} + +static void +virt_viewer_display_spice_send_hwkey_release(VirtViewerDisplay *display, + const guint *keyvals, + int nkeyvals) +{ + VirtViewerDisplaySpice *self = VIRT_VIEWER_DISPLAY_SPICE(display); + + g_return_if_fail(self != NULL); + g_return_if_fail(self->priv->display != NULL); + + spice_display_send_hwkeys(self->priv->display, keyvals, nkeyvals, SPICE_DISPLAY_KEY_EVENT_RELEASE); +} + +static void +virt_viewer_display_spice_send_rotation_type(VirtViewerDisplay *display, + const guint *keyvals, + int nkeyvals) +{ + VirtViewerDisplaySpice *self = VIRT_VIEWER_DISPLAY_SPICE(display); + + g_return_if_fail(self != NULL); + g_return_if_fail(self->priv->display != NULL); + + spice_display_send_rotation(self->priv->display, keyvals, nkeyvals, SPICE_DISPLAY_KEY_EVENT_PRESS); +} + +static void +virt_viewer_display_spice_send_hostkbd_onoff(VirtViewerDisplay *display, + const guint *keyvals, + int nkeyvals) +{ + VirtViewerDisplaySpice *self = VIRT_VIEWER_DISPLAY_SPICE(display); + + g_return_if_fail(self != NULL); + g_return_if_fail(self->priv->display != NULL); + + spice_display_send_hostkbd(self->priv->display, keyvals, nkeyvals, SPICE_DISPLAY_KEY_EVENT_PRESS); +} + +static void +virt_viewer_display_spice_send_close_type(VirtViewerDisplay *display, + const guint *keyvals, + int nkeyvals) +{ + VirtViewerDisplaySpice *self = VIRT_VIEWER_DISPLAY_SPICE(display); + + g_return_if_fail(self != NULL); + g_return_if_fail(self->priv->display != NULL); + + spice_display_send_close(self->priv->display, keyvals, nkeyvals, SPICE_DISPLAY_KEY_EVENT_PRESS); +} + +static void +virt_viewer_display_spice_req_sdb_port(VirtViewerDisplay *display, + const guint *keyvals, + int nkeyvals) +{ + VirtViewerDisplaySpice *self = VIRT_VIEWER_DISPLAY_SPICE(display); + + g_return_if_fail(self != NULL); + g_return_if_fail(self->priv->display != NULL); + + spice_display_get_sdbport(self->priv->display, keyvals, nkeyvals, SPICE_DISPLAY_KEY_EVENT_PRESS); +} +#endif + +static GdkPixbuf * +virt_viewer_display_spice_get_pixbuf(VirtViewerDisplay *display) +{ + VirtViewerDisplaySpice *self = VIRT_VIEWER_DISPLAY_SPICE(display); + + g_return_val_if_fail(self != NULL, NULL); + g_return_val_if_fail(self->priv->display != NULL, NULL); + + return spice_display_get_pixbuf(self->priv->display); +} + +static void +display_mark(SpiceChannel *channel G_GNUC_UNUSED, + gint mark, + VirtViewerDisplay *display) +{ + DEBUG_LOG("Toggle monitor visibility %p %d", channel, mark); + + virt_viewer_display_set_show_hint(display, mark); +} + +static void +primary_create(SpiceChannel *channel G_GNUC_UNUSED, + gint format G_GNUC_UNUSED, + gint width, + gint height, + gint stride G_GNUC_UNUSED, + gint shmid G_GNUC_UNUSED, + gpointer imgdata G_GNUC_UNUSED, + VirtViewerDisplay *display) +{ + DEBUG_LOG("spice desktop resize %dx%d", width, height); + +#ifdef CONFIG_MARU + width = MAX(width, height)/2; + height = MAX(width, height)/2; +#endif + virt_viewer_display_set_desktop_size(display, width, height); +} + + +static void +virt_viewer_display_spice_keyboard_grab(SpiceDisplay *display G_GNUC_UNUSED, + int grabbed, + VirtViewerDisplaySpice *self) +{ + if (grabbed) + g_signal_emit_by_name(self, "display-keyboard-grab"); + else + g_signal_emit_by_name(self, "display-keyboard-ungrab"); +} + + +static void +virt_viewer_display_spice_mouse_grab(SpiceDisplay *display G_GNUC_UNUSED, + int grabbed, + VirtViewerDisplaySpice *self) +{ + if (grabbed) + g_signal_emit_by_name(self, "display-pointer-grab"); + else + g_signal_emit_by_name(self, "display-pointer-ungrab"); +} + + +static void +virt_viewer_display_spice_size_allocate(VirtViewerDisplaySpice *self, + GtkAllocation *allocation, + gpointer data G_GNUC_UNUSED) +{ + gdouble dw = allocation->width, dh = allocation->height; + guint zoom = 100; + guint channelid; + + if (virt_viewer_display_get_auto_resize(VIRT_VIEWER_DISPLAY(self)) == FALSE) + return; + + if (virt_viewer_display_get_zoom(VIRT_VIEWER_DISPLAY(self))) { + zoom = virt_viewer_display_get_zoom_level(VIRT_VIEWER_DISPLAY(self)); + + dw /= ((double)zoom / 100.0); + dh /= ((double)zoom / 100.0); + } + + g_object_get(self->priv->channel, "channel-id", &channelid, NULL); + + SpiceMainChannel *main_channel = virt_viewer_session_spice_get_main_channel( + VIRT_VIEWER_SESSION_SPICE(virt_viewer_display_get_session(VIRT_VIEWER_DISPLAY(self)))); + spice_main_set_display(main_channel, + channelid, + 0, 0, dw, dh); +} + +static void +enable_accel_changed(VirtViewerApp *app, + GParamSpec *pspec G_GNUC_UNUSED, + VirtViewerDisplaySpice *self) +{ + if (virt_viewer_app_get_enable_accel(app)) { + /* disable default grab sequence */ + spice_display_set_grab_keys(self->priv->display, + spice_grab_sequence_new(0, NULL)); + } else { + spice_display_set_grab_keys(self->priv->display, NULL); + } +} + +GtkWidget * +virt_viewer_display_spice_new(VirtViewerSessionSpice *session, + SpiceChannel *channel, + SpiceDisplay *display) +{ + VirtViewerDisplaySpice *self; + VirtViewerApp *app; + gint channelid; + + g_return_val_if_fail(SPICE_IS_DISPLAY_CHANNEL(channel), NULL); + g_return_val_if_fail(SPICE_IS_DISPLAY(display), NULL); + + g_object_get(channel, "channel-id", &channelid, NULL); + + self = g_object_new(VIRT_VIEWER_TYPE_DISPLAY_SPICE, + "session", session, + "nth-display", channelid, + NULL); + self->priv->channel = g_object_ref(channel); + self->priv->display = g_object_ref(display); + + g_signal_connect(channel, "display-primary-create", + G_CALLBACK(primary_create), self); + g_signal_connect(channel, "display-mark", + G_CALLBACK(display_mark), self); + + gtk_container_add(GTK_CONTAINER(self), GTK_WIDGET(self->priv->display)); + gtk_widget_show(GTK_WIDGET(self->priv->display)); + g_object_set(self->priv->display, + "grab-keyboard", TRUE, + "grab-mouse", TRUE, + "resize-guest", FALSE, + "scaling", TRUE, + NULL); + + g_signal_connect(self->priv->display, + "keyboard-grab", + G_CALLBACK(virt_viewer_display_spice_keyboard_grab), self); + g_signal_connect(self->priv->display, + "mouse-grab", + G_CALLBACK(virt_viewer_display_spice_mouse_grab), self); + g_signal_connect(self, + "size-allocate", + G_CALLBACK(virt_viewer_display_spice_size_allocate), self); + + + app = virt_viewer_session_get_app(VIRT_VIEWER_SESSION(session)); + g_signal_connect(app, "notify::enable-accel", G_CALLBACK(enable_accel_changed), self); + enable_accel_changed(app, NULL, self); + + return GTK_WIDGET(self); +} + +static void +virt_viewer_display_spice_release_cursor(VirtViewerDisplay *display) +{ + VirtViewerDisplaySpice *self = VIRT_VIEWER_DISPLAY_SPICE(display); + + spice_display_mouse_ungrab(self->priv->display); +} + + +static void +virt_viewer_display_spice_close(VirtViewerDisplay *display G_GNUC_UNUSED) +{ +} + + +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-display-spice.h b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-display-spice.h new file mode 100644 index 0000000..eecc03e --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-display-spice.h @@ -0,0 +1,82 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, Inc. + * Copyright (C) 2009-2012 Daniel P. Berrange + * Copyright (C) 2010 Marc-André Lureau + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ +#ifndef _VIRT_VIEWER_DISPLAY_SPICE_H +#define _VIRT_VIEWER_DISPLAY_SPICE_H + +#include <glib-object.h> +#include <spice-widget.h> +#include <spice-audio.h> + +#include "virt-viewer-display.h" +#include "virt-viewer-session-spice.h" + +G_BEGIN_DECLS + +#define VIRT_VIEWER_TYPE_DISPLAY_SPICE virt_viewer_display_spice_get_type() + +#define VIRT_VIEWER_DISPLAY_SPICE(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST ((obj), VIRT_VIEWER_TYPE_DISPLAY_SPICE, VirtViewerDisplaySpice)) + +#define VIRT_VIEWER_DISPLAY_SPICE_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST ((klass), VIRT_VIEWER_TYPE_DISPLAY_SPICE, VirtViewerDisplaySpiceClass)) + +#define VIRT_VIEWER_IS_DISPLAY_SPICE(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VIRT_VIEWER_TYPE_DISPLAY_SPICE)) + +#define VIRT_VIEWER_IS_DISPLAY_SPICE_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE ((klass), VIRT_VIEWER_TYPE_DISPLAY_SPICE)) + +#define VIRT_VIEWER_DISPLAY_SPICE_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS ((obj), VIRT_VIEWER_TYPE_DISPLAY_SPICE, VirtViewerDisplaySpiceClass)) + +typedef struct _VirtViewerDisplaySpice VirtViewerDisplaySpice; +typedef struct _VirtViewerDisplaySpiceClass VirtViewerDisplaySpiceClass; +typedef struct _VirtViewerDisplaySpicePrivate VirtViewerDisplaySpicePrivate; + +struct _VirtViewerDisplaySpice { + VirtViewerDisplay parent; + + VirtViewerDisplaySpicePrivate *priv; +}; + +struct _VirtViewerDisplaySpiceClass { + VirtViewerDisplayClass parent_class; +}; + +GType virt_viewer_display_spice_get_type(void); + +GtkWidget* virt_viewer_display_spice_new(VirtViewerSessionSpice *session, + SpiceChannel *channel, + SpiceDisplay *display); + +G_END_DECLS + +#endif /* _VIRT_VIEWER_DISPLAY_SPICE_H */ +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-display-vnc.c b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-display-vnc.c new file mode 100644 index 0000000..c0bcf13 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-display-vnc.c @@ -0,0 +1,211 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, Inc. + * Copyright (C) 2009-2012 Daniel P. Berrange + * Copyright (C) 2010 Marc-André Lureau + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ + +#include <config.h> + +#include "virt-viewer-auth.h" +#include "virt-viewer-display-vnc.h" + +#include <glib/gi18n.h> + +G_DEFINE_TYPE(VirtViewerDisplayVnc, virt_viewer_display_vnc, VIRT_VIEWER_TYPE_DISPLAY) + +struct _VirtViewerDisplayVncPrivate { + VncDisplay *vnc; +}; + +#define VIRT_VIEWER_DISPLAY_VNC_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE((o), VIRT_VIEWER_TYPE_DISPLAY_VNC, VirtViewerDisplayVncPrivate)) + +static void virt_viewer_display_vnc_send_keys(VirtViewerDisplay* display, const guint *keyvals, int nkeyvals); +static GdkPixbuf *virt_viewer_display_vnc_get_pixbuf(VirtViewerDisplay* display); +static void virt_viewer_display_vnc_close(VirtViewerDisplay *display); + +static void +virt_viewer_display_vnc_finalize(GObject *obj) +{ + VirtViewerDisplayVnc *vnc = VIRT_VIEWER_DISPLAY_VNC(obj); + + g_object_unref(vnc->priv->vnc); + + G_OBJECT_CLASS(virt_viewer_display_vnc_parent_class)->finalize(obj); +} + + +static void +virt_viewer_display_vnc_class_init(VirtViewerDisplayVncClass *klass) +{ + VirtViewerDisplayClass *dclass = VIRT_VIEWER_DISPLAY_CLASS(klass); + GObjectClass *oclass = G_OBJECT_CLASS(klass); + + oclass->finalize = virt_viewer_display_vnc_finalize; + + dclass->send_keys = virt_viewer_display_vnc_send_keys; + dclass->get_pixbuf = virt_viewer_display_vnc_get_pixbuf; + dclass->close = virt_viewer_display_vnc_close; + + g_type_class_add_private(klass, sizeof(VirtViewerDisplayVncPrivate)); +} + +static void +virt_viewer_display_vnc_init(VirtViewerDisplayVnc *self G_GNUC_UNUSED) +{ + self->priv = VIRT_VIEWER_DISPLAY_VNC_GET_PRIVATE(self); +} + + +static void +virt_viewer_display_vnc_mouse_grab(VncDisplay *vnc G_GNUC_UNUSED, + VirtViewerDisplay *display) +{ + g_signal_emit_by_name(display, "display-pointer-grab"); +} + + +static void +virt_viewer_display_vnc_mouse_ungrab(VncDisplay *vnc G_GNUC_UNUSED, + VirtViewerDisplay *display) +{ + g_signal_emit_by_name(display, "display-pointer-ungrab"); +} + +static void +virt_viewer_display_vnc_key_grab(VncDisplay *vnc G_GNUC_UNUSED, + VirtViewerDisplay *display) +{ + g_signal_emit_by_name(display, "display-keyboard-grab"); +} + +static void +virt_viewer_display_vnc_key_ungrab(VncDisplay *vnc G_GNUC_UNUSED, + VirtViewerDisplay *display) +{ + g_signal_emit_by_name(display, "display-keyboard-ungrab"); +} + +static void +virt_viewer_display_vnc_send_keys(VirtViewerDisplay* display, + const guint *keyvals, + int nkeyvals) +{ + VirtViewerDisplayVnc *self = VIRT_VIEWER_DISPLAY_VNC(display); + + g_return_if_fail(self != NULL); + g_return_if_fail(keyvals != NULL); + g_return_if_fail(self->priv->vnc != NULL); + + vnc_display_send_keys(self->priv->vnc, keyvals, nkeyvals); +} + + +static GdkPixbuf * +virt_viewer_display_vnc_get_pixbuf(VirtViewerDisplay* display) +{ + VirtViewerDisplayVnc *self = VIRT_VIEWER_DISPLAY_VNC(display); + + g_return_val_if_fail(self != NULL, NULL); + g_return_val_if_fail(self->priv->vnc != NULL, NULL); + + return vnc_display_get_pixbuf(self->priv->vnc); +} + + +/* + * Called when desktop size changes. + * + * It either tries to resize the main window, or it triggers + * recalculation of the display within existing window size + */ +static void +virt_viewer_display_vnc_resize_desktop(VncDisplay *vnc G_GNUC_UNUSED, + int width, int height, + VirtViewerDisplay *display) +{ + DEBUG_LOG("desktop resize %dx%d", width, height); + + virt_viewer_display_set_desktop_size(display, width, height); +} + + +GtkWidget * +virt_viewer_display_vnc_new(VncDisplay *vnc) +{ + VirtViewerDisplayVnc *display; + + display = g_object_new(VIRT_VIEWER_TYPE_DISPLAY_VNC, NULL); + + g_object_ref(vnc); + display->priv->vnc = vnc; + + gtk_container_add(GTK_CONTAINER(display), GTK_WIDGET(display->priv->vnc)); + vnc_display_set_keyboard_grab(display->priv->vnc, TRUE); + vnc_display_set_pointer_grab(display->priv->vnc, TRUE); + + /* + * In auto-resize mode we have things setup so that we always + * automatically resize the top level window to be exactly the + * same size as the VNC desktop, except when it won't fit on + * the local screen, at which point we let it scale down. + * The upshot is, we always want scaling enabled. + * We disable force_size because we want to allow user to + * manually size the widget smaller too + */ + vnc_display_set_force_size(display->priv->vnc, FALSE); + vnc_display_set_scaling(display->priv->vnc, TRUE); + + /* When VNC desktop resizes, we have to resize the containing widget */ + g_signal_connect(display->priv->vnc, "vnc-desktop-resize", + G_CALLBACK(virt_viewer_display_vnc_resize_desktop), display); + + g_signal_connect(display->priv->vnc, "vnc-pointer-grab", + G_CALLBACK(virt_viewer_display_vnc_mouse_grab), display); + g_signal_connect(display->priv->vnc, "vnc-pointer-ungrab", + G_CALLBACK(virt_viewer_display_vnc_mouse_ungrab), display); + g_signal_connect(display->priv->vnc, "vnc-keyboard-grab", + G_CALLBACK(virt_viewer_display_vnc_key_grab), display); + g_signal_connect(display->priv->vnc, "vnc-keyboard-ungrab", + G_CALLBACK(virt_viewer_display_vnc_key_ungrab), display); + + return GTK_WIDGET(display); +} + + +static void +virt_viewer_display_vnc_close(VirtViewerDisplay *display) +{ + VirtViewerDisplayVnc *vnc = VIRT_VIEWER_DISPLAY_VNC(display); + + /* We're not the real owner, so we shouldn't be letting the container + * destroy the widget. There are still signals that need to be + * propagated to the VirtViewerSession + */ + gtk_container_remove(GTK_CONTAINER(display), GTK_WIDGET(vnc->priv->vnc)); +} + +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-display-vnc.h b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-display-vnc.h new file mode 100644 index 0000000..7020437 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-display-vnc.h @@ -0,0 +1,78 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, Inc. + * Copyright (C) 2009-2012 Daniel P. Berrange + * Copyright (C) 2010 Marc-André Lureau + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ +#ifndef _VIRT_VIEWER_DISPLAY_VNC_H +#define _VIRT_VIEWER_DISPLAY_VNC_H + +#include <glib-object.h> +#include <vncdisplay.h> + +#include "virt-viewer-display.h" + +G_BEGIN_DECLS + +#define VIRT_VIEWER_TYPE_DISPLAY_VNC virt_viewer_display_vnc_get_type() + +#define VIRT_VIEWER_DISPLAY_VNC(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST ((obj), VIRT_VIEWER_TYPE_DISPLAY_VNC, VirtViewerDisplayVnc)) + +#define VIRT_VIEWER_DISPLAY_VNC_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST ((klass), VIRT_VIEWER_TYPE_DISPLAY_VNC, VirtViewerDisplayVncClass)) + +#define VIRT_VIEWER_IS_DISPLAY_VNC(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VIRT_VIEWER_TYPE_DISPLAY_VNC)) + +#define VIRT_VIEWER_IS_DISPLAY_VNC_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE ((klass), VIRT_VIEWER_TYPE_DISPLAY_VNC)) + +#define VIRT_VIEWER_DISPLAY_VNC_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS ((obj), VIRT_VIEWER_TYPE_DISPLAY_VNC, VirtViewerDisplayVncClass)) + +typedef struct _VirtViewerDisplayVnc VirtViewerDisplayVnc; +typedef struct _VirtViewerDisplayVncClass VirtViewerDisplayVncClass; +typedef struct _VirtViewerDisplayVncPrivate VirtViewerDisplayVncPrivate; + +struct _VirtViewerDisplayVnc { + VirtViewerDisplay parent; + + VirtViewerDisplayVncPrivate *priv; +}; + +struct _VirtViewerDisplayVncClass { + VirtViewerDisplayClass parent_class; +}; + +GType virt_viewer_display_vnc_get_type(void); + +GtkWidget* virt_viewer_display_vnc_new(VncDisplay *display); + +G_END_DECLS + +#endif /* _VIRT_VIEWER_DISPLAY_VNC_H */ +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-display.c b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-display.c new file mode 100644 index 0000000..3a8f040 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-display.c @@ -0,0 +1,661 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, Inc. + * Copyright (C) 2009-2012 Daniel P. Berrange + * Copyright (C) 2010 Marc-André Lureau + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ + +#include <config.h> + +#include <locale.h> +#include <math.h> + +#include "virt-viewer-session.h" +#include "virt-viewer-display.h" +#include "virt-viewer-util.h" + +#define VIRT_VIEWER_DISPLAY_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE((o), VIRT_VIEWER_TYPE_DISPLAY, VirtViewerDisplayPrivate)) + +struct _VirtViewerDisplayPrivate +{ + gboolean dirty; + guint desktopWidth; + guint desktopHeight; + guint zoom_level; + gboolean zoom; + gint nth_display; + gint show_hint; + VirtViewerSession *session; + gboolean auto_resize; +}; + +static void virt_viewer_display_size_request(GtkWidget *widget, + GtkRequisition *requisition); +#if GTK_CHECK_VERSION(3, 0, 0) +static void virt_viewer_display_get_preferred_width(GtkWidget *widget, + int *minwidth, + int *defwidth); +static void virt_viewer_display_get_preferred_height(GtkWidget *widget, + int *minheight, + int *defheight); +#endif +static void virt_viewer_display_size_allocate(GtkWidget *widget, + GtkAllocation *allocation); +static void virt_viewer_display_set_property(GObject *object, + guint prop_id, + const GValue *value, + GParamSpec *pspec); +static void virt_viewer_display_get_property(GObject *object, + guint prop_id, + GValue *value, + GParamSpec *pspec); +static void virt_viewer_display_grab_focus(GtkWidget *widget); + +G_DEFINE_ABSTRACT_TYPE(VirtViewerDisplay, virt_viewer_display, GTK_TYPE_BIN) + +enum { + PROP_0, + + PROP_DESKTOP_WIDTH, + PROP_DESKTOP_HEIGHT, + PROP_NTH_DISPLAY, + PROP_ZOOM, + PROP_ZOOM_LEVEL, + PROP_SHOW_HINT, + PROP_SESSION, +}; + +static void +virt_viewer_display_class_init(VirtViewerDisplayClass *class) +{ + GObjectClass *object_class = G_OBJECT_CLASS(class); + GtkWidgetClass *widget_class = GTK_WIDGET_CLASS(class); + + object_class->set_property = virt_viewer_display_set_property; + object_class->get_property = virt_viewer_display_get_property; + +#if GTK_CHECK_VERSION(3, 0, 0) + widget_class->get_preferred_width = virt_viewer_display_get_preferred_width; + widget_class->get_preferred_height = virt_viewer_display_get_preferred_height; +#else + widget_class->size_request = virt_viewer_display_size_request; +#endif + widget_class->size_allocate = virt_viewer_display_size_allocate; + widget_class->grab_focus = virt_viewer_display_grab_focus; + + g_object_class_install_property(object_class, + PROP_DESKTOP_WIDTH, + g_param_spec_int("desktop-width", + "Width", + "Desktop width", + 100, + G_MAXINT32, + 100, + G_PARAM_READWRITE)); + + g_object_class_install_property(object_class, + PROP_DESKTOP_HEIGHT, + g_param_spec_int("desktop-height", + "Height", + "Desktop height", + 100, + G_MAXINT32, + 100, + G_PARAM_READWRITE)); + + g_object_class_install_property(object_class, + PROP_ZOOM, + g_param_spec_boolean("zoom", + "Zoom", + "Zoom", + TRUE, + G_PARAM_READWRITE)); + + g_object_class_install_property(object_class, + PROP_ZOOM_LEVEL, + g_param_spec_int("zoom-level", + "Zoom", + "Zoom level", + 10, + 400, + 100, + G_PARAM_READWRITE)); + + g_object_class_install_property(object_class, + PROP_NTH_DISPLAY, + g_param_spec_int("nth-display", + "Nth display", + "Nth display", + 0, + G_MAXINT32, + 0, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT_ONLY)); + + g_object_class_install_property(object_class, + PROP_SHOW_HINT, + g_param_spec_int("show-hint", + "Show hint", + "Show state hint", + 0, + G_MAXINT32, + 0, + G_PARAM_READABLE)); + + g_object_class_install_property(object_class, + PROP_SESSION, + g_param_spec_object("session", + "Session", + "VirtSession", + VIRT_VIEWER_TYPE_SESSION, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT_ONLY)); + + + g_signal_new("display-pointer-grab", + G_OBJECT_CLASS_TYPE(object_class), + G_SIGNAL_RUN_LAST | G_SIGNAL_NO_HOOKS, + G_STRUCT_OFFSET(VirtViewerDisplayClass, display_pointer_grab), + NULL, + NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, + 0); + + g_signal_new("display-pointer-ungrab", + G_OBJECT_CLASS_TYPE(object_class), + G_SIGNAL_RUN_LAST | G_SIGNAL_NO_HOOKS, + G_STRUCT_OFFSET(VirtViewerDisplayClass, display_pointer_ungrab), + NULL, + NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, + 0); + + g_signal_new("display-keyboard-grab", + G_OBJECT_CLASS_TYPE(object_class), + G_SIGNAL_RUN_LAST | G_SIGNAL_NO_HOOKS, + G_STRUCT_OFFSET(VirtViewerDisplayClass, display_keyboard_grab), + NULL, + NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, + 0); + + g_signal_new("display-keyboard-ungrab", + G_OBJECT_CLASS_TYPE(object_class), + G_SIGNAL_RUN_LAST | G_SIGNAL_NO_HOOKS, + G_STRUCT_OFFSET(VirtViewerDisplayClass, display_keyboard_ungrab), + NULL, + NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, + 0); + + g_signal_new("display-desktop-resize", + G_OBJECT_CLASS_TYPE(object_class), + G_SIGNAL_RUN_LAST | G_SIGNAL_NO_HOOKS, + G_STRUCT_OFFSET(VirtViewerDisplayClass, display_desktop_resize), + NULL, + NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, + 0); + + g_type_class_add_private(class, sizeof(VirtViewerDisplayPrivate)); +} + +static void +virt_viewer_display_init(VirtViewerDisplay *display) +{ + gtk_widget_set_has_window(GTK_WIDGET(display), FALSE); + gtk_widget_set_redraw_on_allocate(GTK_WIDGET(display), FALSE); + + display->priv = VIRT_VIEWER_DISPLAY_GET_PRIVATE(display); + + display->priv->desktopWidth = 100; + display->priv->desktopHeight = 100; + display->priv->zoom_level = 100; + display->priv->zoom = TRUE; + display->priv->dirty = TRUE; + display->priv->auto_resize = TRUE; +} + +GtkWidget* +virt_viewer_display_new(void) +{ + return g_object_new(VIRT_VIEWER_TYPE_DISPLAY, NULL); +} + +static void +virt_viewer_display_set_property(GObject *object, + guint prop_id, + const GValue *value, + GParamSpec *pspec) +{ + VirtViewerDisplay *display = VIRT_VIEWER_DISPLAY(object); + VirtViewerDisplayPrivate *priv = display->priv; + + switch (prop_id) { + case PROP_DESKTOP_WIDTH: + virt_viewer_display_set_desktop_size(display, + g_value_get_int(value), + priv->desktopHeight); + break; + case PROP_DESKTOP_HEIGHT: + virt_viewer_display_set_desktop_size(display, + priv->desktopWidth, + g_value_get_int(value)); + break; + case PROP_NTH_DISPLAY: + priv->nth_display = g_value_get_int(value); + break; + case PROP_SESSION: + g_warn_if_fail(priv->session == NULL); + priv->session = g_value_get_object(value); + break; + + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); + break; + } +} + +static void +virt_viewer_display_get_property(GObject *object, + guint prop_id, + GValue *value, + GParamSpec *pspec) +{ + VirtViewerDisplay *display = VIRT_VIEWER_DISPLAY(object); + VirtViewerDisplayPrivate *priv = display->priv; + + switch (prop_id) { + case PROP_DESKTOP_WIDTH: + g_value_set_int(value, priv->desktopWidth); + break; + case PROP_DESKTOP_HEIGHT: + g_value_set_int(value, priv->desktopHeight); + break; + case PROP_NTH_DISPLAY: + g_value_set_int(value, priv->nth_display); + break; + case PROP_SHOW_HINT: + g_value_set_int(value, priv->show_hint); + break; + case PROP_SESSION: + g_value_set_object(value, virt_viewer_display_get_session(display)); + break; + + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); + break; + } +} + + +static void +virt_viewer_display_grab_focus(GtkWidget *widget) +{ + GtkBin *bin = GTK_BIN(widget); + + gtk_widget_grab_focus(gtk_bin_get_child(bin)); +} + + +static gboolean +virt_viewer_display_idle(gpointer opaque) +{ + VirtViewerDisplay *display = opaque; + VirtViewerDisplayPrivate *priv = display->priv; + if (!priv->dirty) + gtk_widget_queue_resize_no_redraw(GTK_WIDGET(display)); + return FALSE; +} + + +static void +virt_viewer_display_size_request(GtkWidget *widget, + GtkRequisition *requisition) +{ + VirtViewerDisplay *display = VIRT_VIEWER_DISPLAY(widget); + VirtViewerDisplayPrivate *priv = display->priv; + int border_width = gtk_container_get_border_width(GTK_CONTAINER(widget)); + + requisition->width = border_width * 2; + requisition->height = border_width * 2; + + if (priv->dirty) { + if (priv->zoom) { + requisition->width += priv->desktopWidth * priv->zoom_level / 100; + requisition->height += priv->desktopHeight * priv->zoom_level / 100; + } else { + requisition->width += priv->desktopWidth; + requisition->height += priv->desktopHeight; + } + } else { + requisition->width += 50; + requisition->height += 50; + } + + DEBUG_LOG("Display size request %dx%d (desktop %dx%d)", + requisition->width, requisition->height, + priv->desktopWidth, priv->desktopHeight); +} + + +#if GTK_CHECK_VERSION(3, 0, 0) +static void virt_viewer_display_get_preferred_width(GtkWidget *widget, + int *minwidth, + int *defwidth) +{ + GtkRequisition req; + + virt_viewer_display_size_request(widget, &req); + + *minwidth = *defwidth = req.width; +} + + +static void virt_viewer_display_get_preferred_height(GtkWidget *widget, + int *minheight, + int *defheight) +{ + GtkRequisition req; + + virt_viewer_display_size_request(widget, &req); + + *minheight = *defheight = req.height; +} +#endif + + +static void +virt_viewer_display_size_allocate(GtkWidget *widget, + GtkAllocation *allocation) +{ + GtkBin *bin = GTK_BIN(widget); + VirtViewerDisplay *display = VIRT_VIEWER_DISPLAY(widget); + VirtViewerDisplayPrivate *priv = display->priv; + GtkAllocation child_allocation; + gint width, height; + gint border_width; + double desktopAspect; + double actualAspect; + GtkWidget *child = gtk_bin_get_child(bin); + + DEBUG_LOG("Allocated %dx%d", allocation->width, allocation->height); + gtk_widget_set_allocation(widget, allocation); + + desktopAspect = (double)priv->desktopWidth / (double)priv->desktopHeight; + + if (child && gtk_widget_get_visible(child)) { + border_width = gtk_container_get_border_width(GTK_CONTAINER(display)); + + width = MAX(1, allocation->width - 2 * border_width); + height = MAX(1, allocation->height - 2 * border_width); + actualAspect = (double)width / (double)height; + + if (actualAspect > desktopAspect) { + child_allocation.width = round(height * desktopAspect); + child_allocation.height = height; + } else { + child_allocation.width = width; + child_allocation.height = round(width / desktopAspect); + } + + child_allocation.x = 0.5 * (width - child_allocation.width) + allocation->x + border_width; + child_allocation.y = 0.5 * (height - child_allocation.height) + allocation->y + border_width; + + DEBUG_LOG("Child allocate %dx%d", child_allocation.width, child_allocation.height); + gtk_widget_size_allocate(child, &child_allocation); + } + + /* This unsets the size request, so that the user can + * manually resize the window smaller again + */ + if (priv->dirty) { + g_idle_add(virt_viewer_display_idle, widget); + priv->dirty = FALSE; + } +} + + +void virt_viewer_display_set_desktop_size(VirtViewerDisplay *display, + guint width, + guint height) +{ + VirtViewerDisplayPrivate *priv = display->priv; + + if (width == priv->desktopWidth && height == priv->desktopHeight) + return; + + priv->desktopWidth = width; + priv->desktopHeight = height; + priv->dirty = TRUE; + + gtk_widget_queue_resize(GTK_WIDGET(display)); + g_signal_emit_by_name(display, "display-desktop-resize"); +} + +#ifdef CONFIG_MARU +void virt_viewer_display_set_landscape(VirtViewerDisplay *display) +{ + VirtViewerDisplayPrivate *priv = display->priv; + guint tmp = priv->desktopWidth; + + priv->desktopWidth = priv->desktopHeight; + priv->desktopHeight = tmp; + priv->dirty = TRUE; + + gtk_widget_queue_resize(GTK_WIDGET(display)); + g_signal_emit_by_name(display, "display-desktop-resize"); +} +#endif + +void virt_viewer_display_get_desktop_size(VirtViewerDisplay *display, + guint *width, + guint *height) +{ + VirtViewerDisplayPrivate *priv = display->priv; + + *width = priv->desktopWidth; + *height = priv->desktopHeight; +} + + +void virt_viewer_display_set_zoom_level(VirtViewerDisplay *display, + guint zoom) +{ + VirtViewerDisplayPrivate *priv = display->priv; + GtkWidget *child = gtk_bin_get_child(GTK_BIN(display)); + + if (zoom < 10) + zoom = 10; + if (zoom > 400) + zoom = 400; + priv->zoom_level = zoom; + + if (child && gtk_widget_get_visible(child)) { + priv->dirty = TRUE; + gtk_widget_queue_resize(GTK_WIDGET(display)); + } +} + + +guint virt_viewer_display_get_zoom_level(VirtViewerDisplay *display) +{ + VirtViewerDisplayPrivate *priv = display->priv; + return priv->zoom_level; +} + + +void virt_viewer_display_set_zoom(VirtViewerDisplay *display, + gboolean zoom) +{ + VirtViewerDisplayPrivate *priv = display->priv; + GtkWidget *child = gtk_bin_get_child(GTK_BIN(display)); + + priv->zoom = zoom; + if (child && gtk_widget_get_visible(child)) { + priv->dirty = TRUE; + gtk_widget_queue_resize(GTK_WIDGET(display)); + } +} + + +gboolean virt_viewer_display_get_zoom(VirtViewerDisplay *display) +{ + VirtViewerDisplayPrivate *priv = display->priv; + return priv->zoom; +} + + +void virt_viewer_display_send_keys(VirtViewerDisplay *display, + const guint *keyvals, int nkeyvals) +{ + g_return_if_fail(VIRT_VIEWER_IS_DISPLAY(display)); + + VIRT_VIEWER_DISPLAY_GET_CLASS(display)->send_keys(display, keyvals, nkeyvals); +} + +#ifdef CONFIG_MARU +void virt_viewer_display_send_hwkey_press(VirtViewerDisplay *display, + const guint *keyvals, int nkeyvals) +{ + g_return_if_fail(VIRT_VIEWER_IS_DISPLAY(display)); + + VIRT_VIEWER_DISPLAY_GET_CLASS(display)->send_hwkey_press(display, keyvals, nkeyvals); +} + +void virt_viewer_display_send_hwkey_release(VirtViewerDisplay *display, + const guint *keyvals, int nkeyvals) +{ + g_return_if_fail(VIRT_VIEWER_IS_DISPLAY(display)); + + VIRT_VIEWER_DISPLAY_GET_CLASS(display)->send_hwkey_release(display, keyvals, nkeyvals); +} + +void virt_viewer_display_send_rotation_type(VirtViewerDisplay *display, + const guint *keyvals, int nkeyvals) +{ + g_return_if_fail(VIRT_VIEWER_IS_DISPLAY(display)); + + VIRT_VIEWER_DISPLAY_GET_CLASS(display)->send_rotation_type(display, keyvals, nkeyvals); +} + +void virt_viewer_display_send_hostkbd_onoff(VirtViewerDisplay *display, + const guint *keyvals, int nkeyvals) +{ + g_return_if_fail(VIRT_VIEWER_IS_DISPLAY(display)); + + VIRT_VIEWER_DISPLAY_GET_CLASS(display)->send_hostkbd_onoff(display, keyvals, nkeyvals); +} + +void virt_viewer_display_send_close_type(VirtViewerDisplay *display, + const guint *keyvals, int nkeyvals) +{ + g_return_if_fail(VIRT_VIEWER_IS_DISPLAY(display)); + + VIRT_VIEWER_DISPLAY_GET_CLASS(display)->send_close_type(display, keyvals, nkeyvals); +} + +void virt_viewer_display_req_sdb_port(VirtViewerDisplay *display, + const guint *keyvals, int nkeyvals) +{ + g_return_if_fail(VIRT_VIEWER_IS_DISPLAY(display)); + + VIRT_VIEWER_DISPLAY_GET_CLASS(display)->req_sdb_port(display, keyvals, nkeyvals); +} +#endif + +GdkPixbuf* virt_viewer_display_get_pixbuf(VirtViewerDisplay *display) +{ + g_return_val_if_fail(VIRT_VIEWER_IS_DISPLAY(display), NULL); + + return VIRT_VIEWER_DISPLAY_GET_CLASS(display)->get_pixbuf(display); +} + +void virt_viewer_display_set_show_hint(VirtViewerDisplay *self, gint hint) +{ + VirtViewerDisplayPrivate *priv; + g_return_if_fail(VIRT_VIEWER_IS_DISPLAY(self)); + + priv = self->priv; + if (priv->show_hint == hint) + return; + + priv->show_hint = hint; + g_object_notify(G_OBJECT(self), "show-hint"); +} + +VirtViewerSession* virt_viewer_display_get_session(VirtViewerDisplay *self) +{ + g_return_val_if_fail(VIRT_VIEWER_IS_DISPLAY(self), NULL); + + return self->priv->session; +} + +void virt_viewer_display_set_auto_resize(VirtViewerDisplay *self, gboolean auto_resize) +{ + g_return_if_fail(VIRT_VIEWER_IS_DISPLAY(self)); + + self->priv->auto_resize = auto_resize; +} + +gboolean virt_viewer_display_get_auto_resize(VirtViewerDisplay *self) +{ + g_return_val_if_fail(VIRT_VIEWER_IS_DISPLAY(self), FALSE); + + return self->priv->auto_resize; +} + +void virt_viewer_display_release_cursor(VirtViewerDisplay *self) +{ + VirtViewerDisplayClass *klass; + + g_return_if_fail(VIRT_VIEWER_IS_DISPLAY(self)); + + klass = VIRT_VIEWER_DISPLAY_GET_CLASS(self); + g_return_if_fail(klass->release_cursor != NULL); + + klass->release_cursor(self); +} + + +void virt_viewer_display_close(VirtViewerDisplay *self) +{ + VirtViewerDisplayClass *klass; + + g_return_if_fail(VIRT_VIEWER_IS_DISPLAY(self)); + + klass = VIRT_VIEWER_DISPLAY_GET_CLASS(self); + g_return_if_fail(klass->close != NULL); + + klass->close(self); +} + +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-display.h b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-display.h new file mode 100644 index 0000000..5b02688 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-display.h @@ -0,0 +1,157 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, Inc. + * Copyright (C) 2009-2012 Daniel P. Berrange + * Copyright (C) 2010 Marc-André Lureau + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ +#ifndef _VIRT_VIEWER_DISPLAY_H +#define _VIRT_VIEWER_DISPLAY_H + +#include <gtk/gtk.h> + +G_BEGIN_DECLS + +#define VIRT_VIEWER_TYPE_DISPLAY virt_viewer_display_get_type() + +#define VIRT_VIEWER_DISPLAY(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST ((obj), VIRT_VIEWER_TYPE_DISPLAY, VirtViewerDisplay)) + +#define VIRT_VIEWER_DISPLAY_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST ((klass), VIRT_VIEWER_TYPE_DISPLAY, VirtViewerDisplayClass)) + +#define VIRT_VIEWER_IS_DISPLAY(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VIRT_VIEWER_TYPE_DISPLAY)) + +#define VIRT_VIEWER_IS_DISPLAY_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE ((klass), VIRT_VIEWER_TYPE_DISPLAY)) + +#define VIRT_VIEWER_DISPLAY_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS ((obj), VIRT_VIEWER_TYPE_DISPLAY, VirtViewerDisplayClass)) + +typedef struct _VirtViewerSession VirtViewerSession; +typedef struct _VirtViewerSessionClass VirtViewerSessionClass; + +typedef struct _VirtViewerDisplay VirtViewerDisplay; +typedef struct _VirtViewerDisplayClass VirtViewerDisplayClass; +typedef struct _VirtViewerDisplayPrivate VirtViewerDisplayPrivate; + +typedef struct _VirtViewerDisplayChannel VirtViewerDisplayChannel; + +enum { + VIRT_VIEWER_DISPLAY_SHOW_HINT_HIDE = 0, + VIRT_VIEWER_DISPLAY_SHOW_HINT_READY, +}; + +/* perhaps this become an interface, and be pushed in gtkvnc and spice? */ +struct _VirtViewerDisplay { + GtkBin parent; + + VirtViewerDisplayPrivate *priv; +}; + +struct _VirtViewerDisplayClass { + GtkBinClass parent_class; + + /* virtual methods */ + void (*send_keys)(VirtViewerDisplay *display, + const guint *keyvals, int nkeyvals); +#ifdef CONFIG_MARU + void (*send_hwkey_press)(VirtViewerDisplay *display, + const guint *keyvals, int nkeyvals); + void (*send_hwkey_release)(VirtViewerDisplay *display, + const guint *keyvals, int nkeyvals); + void (*send_rotation_type)(VirtViewerDisplay *display, + const guint *keyvals, int nkeyvals); + void (*send_hostkbd_onoff)(VirtViewerDisplay *display, + const guint *keyvals, int nkeyvals); + void (*send_close_type)(VirtViewerDisplay *display, + const guint *keyvals, int nkeyvals); + void (*req_sdb_port)(VirtViewerDisplay *display, + const guint *keyvals, int nkeyvals); +#endif + GdkPixbuf *(*get_pixbuf)(VirtViewerDisplay *display); + void (*release_cursor)(VirtViewerDisplay *display); + + void (*close)(VirtViewerDisplay *display); + + /* signals */ + void (*display_pointer_grab)(VirtViewerDisplay *display); + void (*display_pointer_ungrab)(VirtViewerDisplay *display); + void (*display_keyboard_grab)(VirtViewerDisplay *display); + void (*display_keyboard_ungrab)(VirtViewerDisplay *display); + + void (*display_desktop_resize)(VirtViewerDisplay *display); +}; + +GType virt_viewer_display_get_type(void); + +GtkWidget *virt_viewer_display_new(void); + +void virt_viewer_display_set_desktop_size(VirtViewerDisplay *display, + guint width, + guint height); + +void virt_viewer_display_get_desktop_size(VirtViewerDisplay *display, + guint *width, + guint *height); + +void virt_viewer_display_set_zoom_level(VirtViewerDisplay *display, + guint zoom); +guint virt_viewer_display_get_zoom_level(VirtViewerDisplay *display); +void virt_viewer_display_set_zoom(VirtViewerDisplay *display, + gboolean zoom); +gboolean virt_viewer_display_get_zoom(VirtViewerDisplay *display); + +void virt_viewer_display_send_keys(VirtViewerDisplay *display, + const guint *keyvals, int nkeyvals); +#ifdef CONFIG_MARU +void virt_viewer_display_set_landscape(VirtViewerDisplay *display); +void virt_viewer_display_send_hwkey_press(VirtViewerDisplay *display, + const guint *keyvals, int nkeyvals); +void virt_viewer_display_send_hwkey_release(VirtViewerDisplay *display, + const guint *keyvals, int nkeyvals); +void virt_viewer_display_send_rotation_type(VirtViewerDisplay *display, + const guint *keyvals, int nkeyvals); +void virt_viewer_display_send_hostkbd_onoff(VirtViewerDisplay *display, + const guint *keyvals, int nkeyvals); +void virt_viewer_display_send_close_type(VirtViewerDisplay *display, + const guint *keyvals, int nkeyvals); +void virt_viewer_display_req_sdb_port(VirtViewerDisplay *display, + const guint *keyvals, int nkeyvals); +#endif +GdkPixbuf* virt_viewer_display_get_pixbuf(VirtViewerDisplay *display); +void virt_viewer_display_set_show_hint(VirtViewerDisplay *display, gint hint); +VirtViewerSession* virt_viewer_display_get_session(VirtViewerDisplay *display); +void virt_viewer_display_set_auto_resize(VirtViewerDisplay *display, gboolean auto_resize); +gboolean virt_viewer_display_get_auto_resize(VirtViewerDisplay *display); +void virt_viewer_display_release_cursor(VirtViewerDisplay *display); + +void virt_viewer_display_close(VirtViewerDisplay *display); + +G_END_DECLS + +#endif /* _VIRT_VIEWER_DISPLAY_H */ +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-events.c b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-events.c new file mode 100644 index 0000000..216ed93 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-events.c @@ -0,0 +1,356 @@ +/* + * events.c: event loop integration + * + * Copyright (C) 2008-2012 Daniel P. Berrange + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ + +#include <config.h> + +#include <stdio.h> +#include <string.h> +#include <stdlib.h> +#include <glib.h> +#include <libvirt/libvirt.h> + +#include "virt-viewer-events.h" + +struct virt_viewer_events_handle +{ + int watch; + int fd; + int events; + int enabled; + GIOChannel *channel; + guint source; + virEventHandleCallback cb; + void *opaque; + virFreeCallback ff; +}; + +static int nextwatch = 1; +static unsigned int nhandles = 0; +static struct virt_viewer_events_handle **handles = NULL; + +static gboolean +virt_viewer_events_dispatch_handle(GIOChannel *source G_GNUC_UNUSED, + GIOCondition condition, + gpointer opaque) +{ + struct virt_viewer_events_handle *data = opaque; + int events = 0; + + if (condition & G_IO_IN) + events |= VIR_EVENT_HANDLE_READABLE; + if (condition & G_IO_OUT) + events |= VIR_EVENT_HANDLE_WRITABLE; + if (condition & G_IO_HUP) + events |= VIR_EVENT_HANDLE_HANGUP; + if (condition & G_IO_ERR) + events |= VIR_EVENT_HANDLE_ERROR; + + DEBUG_LOG("Dispatch handler %d %d %p", data->fd, events, data->opaque); + + (data->cb)(data->watch, data->fd, events, data->opaque); + + return TRUE; +} + + +static +int virt_viewer_events_add_handle(int fd, + int events, + virEventHandleCallback cb, + void *opaque, + virFreeCallback ff) +{ + struct virt_viewer_events_handle *data; + GIOCondition cond = 0; + + handles = g_realloc(handles, sizeof(*handles)*(nhandles+1)); + data = g_malloc(sizeof(*data)); + memset(data, 0, sizeof(*data)); + + if (events & VIR_EVENT_HANDLE_READABLE) + cond |= G_IO_IN; + if (events & VIR_EVENT_HANDLE_WRITABLE) + cond |= G_IO_OUT; + + data->watch = nextwatch++; + data->fd = fd; + data->events = events; + data->cb = cb; + data->opaque = opaque; + data->channel = g_io_channel_unix_new(fd); + data->ff = ff; + + DEBUG_LOG("Add handle %d %d %p", data->fd, events, data->opaque); + + data->source = g_io_add_watch(data->channel, + cond, + virt_viewer_events_dispatch_handle, + data); + + handles[nhandles++] = data; + + return data->watch; +} + +static struct virt_viewer_events_handle * +virt_viewer_events_find_handle(int watch) +{ + unsigned int i; + for (i = 0 ; i < nhandles ; i++) + if (handles[i]->watch == watch) + return handles[i]; + + return NULL; +} + +static void +virt_viewer_events_update_handle(int watch, + int events) +{ + struct virt_viewer_events_handle *data = virt_viewer_events_find_handle(watch); + + if (!data) { + DEBUG_LOG("Update for missing handle watch %d", watch); + return; + } + + if (events) { + GIOCondition cond = 0; + if (events == data->events) + return; + + if (data->source) + g_source_remove(data->source); + + cond |= G_IO_HUP; + if (events & VIR_EVENT_HANDLE_READABLE) + cond |= G_IO_IN; + if (events & VIR_EVENT_HANDLE_WRITABLE) + cond |= G_IO_OUT; + data->source = g_io_add_watch(data->channel, + cond, + virt_viewer_events_dispatch_handle, + data); + data->events = events; + } else { + if (!data->source) + return; + + g_source_remove(data->source); + data->source = 0; + data->events = 0; + } +} + + +static gboolean +virt_viewer_events_cleanup_handle(gpointer user_data) +{ + struct virt_viewer_events_handle *data = user_data; + + DEBUG_LOG("Cleanup of handle %p", data); + g_return_val_if_fail(data != NULL, FALSE); + + if (data->ff) + (data->ff)(data->opaque); + + free(data); + return FALSE; +} + + +static int +virt_viewer_events_remove_handle(int watch) +{ + struct virt_viewer_events_handle *data = virt_viewer_events_find_handle(watch); + + if (!data) { + DEBUG_LOG("Remove of missing watch %d", watch); + return -1; + } + + DEBUG_LOG("Remove handle %d %d", watch, data->fd); + + if (!data->source) + return -1; + + g_source_remove(data->source); + data->source = 0; + data->events = 0; + + g_idle_add(virt_viewer_events_cleanup_handle, data); + return 0; +} + +struct virt_viewer_events_timeout +{ + int timer; + int interval; + guint source; + virEventTimeoutCallback cb; + void *opaque; + virFreeCallback ff; +}; + + +static int nexttimer = 1; +static unsigned int ntimeouts = 0; +static struct virt_viewer_events_timeout **timeouts = NULL; + +static gboolean +virt_viewer_events_dispatch_timeout(void *opaque) +{ + struct virt_viewer_events_timeout *data = opaque; + DEBUG_LOG("Dispatch timeout %p %p %d %p", data, data->cb, data->timer, data->opaque); + (data->cb)(data->timer, data->opaque); + + return TRUE; +} + +static int +virt_viewer_events_add_timeout(int interval, + virEventTimeoutCallback cb, + void *opaque, + virFreeCallback ff) +{ + struct virt_viewer_events_timeout *data; + + timeouts = g_realloc(timeouts, sizeof(*timeouts)*(ntimeouts+1)); + data = g_malloc(sizeof(*data)); + memset(data, 0, sizeof(*data)); + + data->timer = nexttimer++; + data->interval = interval; + data->cb = cb; + data->opaque = opaque; + data->ff = ff; + if (interval >= 0) + data->source = g_timeout_add(interval, + virt_viewer_events_dispatch_timeout, + data); + + timeouts[ntimeouts++] = data; + + DEBUG_LOG("Add timeout %p %d %p %p %d", data, interval, cb, opaque, data->timer); + + return data->timer; +} + + +static struct virt_viewer_events_timeout * +virt_viewer_events_find_timeout(int timer) +{ + unsigned int i; + for (i = 0 ; i < ntimeouts ; i++) + if (timeouts[i]->timer == timer) + return timeouts[i]; + + return NULL; +} + + +static void +virt_viewer_events_update_timeout(int timer, + int interval) +{ + struct virt_viewer_events_timeout *data = virt_viewer_events_find_timeout(timer); + + if (!data) { + DEBUG_LOG("Update of missing timer %d", timer); + return; + } + + DEBUG_LOG("Update timeout %p %d %d", data, timer, interval); + + if (interval >= 0) { + if (data->source) + return; + + data->interval = interval; + data->source = g_timeout_add(data->interval, + virt_viewer_events_dispatch_timeout, + data); + } else { + if (!data->source) + return; + + g_source_remove(data->source); + data->source = 0; + } +} + + +static gboolean +virt_viewer_events_cleanup_timeout(gpointer user_data) +{ + struct virt_viewer_events_timeout *data = user_data; + + DEBUG_LOG("Cleanup of timeout %p", data); + g_return_val_if_fail(data != NULL, FALSE); + + if (data->ff) + (data->ff)(data->opaque); + + free(data); + return FALSE; +} + + +static int +virt_viewer_events_remove_timeout(int timer) +{ + struct virt_viewer_events_timeout *data = virt_viewer_events_find_timeout(timer); + + if (!data) { + DEBUG_LOG("Remove of missing timer %d", timer); + return -1; + } + + DEBUG_LOG("Remove timeout %p %d", data, timer); + + if (!data->source) + return -1; + + g_source_remove(data->source); + data->source = 0; + + g_idle_add(virt_viewer_events_cleanup_timeout, data); + return 0; +} + + +void virt_viewer_events_register(void) { + virEventRegisterImpl(virt_viewer_events_add_handle, + virt_viewer_events_update_handle, + virt_viewer_events_remove_handle, + virt_viewer_events_add_timeout, + virt_viewer_events_update_timeout, + virt_viewer_events_remove_timeout); +} + +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-events.h b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-events.h new file mode 100644 index 0000000..c56950f --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-events.h @@ -0,0 +1,37 @@ +/* + * events.h: event loop integration + * + * Copyright (C) 2008-2012 Daniel P. Berrange + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ + +#ifndef VIRT_VIEWER_EVENT_H +#define VIRT_VIEWER_EVENT_H + +#include "virt-viewer-util.h" + +void virt_viewer_events_register(void); + +#endif +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-main.c b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-main.c new file mode 100644 index 0000000..c80949b --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-main.c @@ -0,0 +1,160 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, 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 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ + +#include <config.h> +#include <locale.h> +#include <gtk/gtk.h> +#include <glib/gi18n.h> +#include <stdlib.h> +#ifdef HAVE_GTK_VNC +#include <vncdisplay.h> +#endif +#ifdef HAVE_SPICE_GTK +#include <spice-option.h> +#endif +#include "virt-viewer.h" + +static void virt_viewer_version(void) +{ + g_print(_("%s version %s\n"), PACKAGE, VERSION); + + exit(EXIT_SUCCESS); +} + + +int main(int argc, char **argv) +{ + GOptionContext *context; + GError *error = NULL; + int ret = 1; + char *uri = NULL; + int zoom = 100; + gchar **args = NULL; + gboolean verbose = FALSE; + gboolean debug = FALSE; + gboolean direct = FALSE; + gboolean attach = FALSE; + gboolean waitvm = FALSE; + gboolean reconnect = FALSE; + gboolean fullscreen = FALSE; + VirtViewer *viewer = NULL; + const char *help_msg = N_("Run '" PACKAGE " --help' to see a full list of available command line options"); + const GOptionEntry options [] = { + { "version", 'V', G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, + virt_viewer_version, N_("Display version information"), NULL }, + { "verbose", 'v', 0, G_OPTION_ARG_NONE, &verbose, + N_("Display verbose information"), NULL }, + { "direct", 'd', 0, G_OPTION_ARG_NONE, &direct, + N_("Direct connection with no automatic tunnels"), NULL }, + { "attach", 'a', 0, G_OPTION_ARG_NONE, &attach, + N_("Attach to the local display using libvirt"), NULL }, + { "connect", 'c', 0, G_OPTION_ARG_STRING, &uri, + N_("Connect to hypervisor"), "URI"}, + { "wait", 'w', 0, G_OPTION_ARG_NONE, &waitvm, + N_("Wait for domain to start"), NULL }, + { "reconnect", 'r', 0, G_OPTION_ARG_NONE, &reconnect, + N_("Reconnect to domain upon restart"), NULL }, + { "zoom", 'z', 0, G_OPTION_ARG_INT, &zoom, + N_("Zoom level of window, in percentage"), "ZOOM" }, + { "debug", '\0', 0, G_OPTION_ARG_NONE, &debug, + N_("Display debugging information"), NULL }, + { "full-screen", 'f', 0, G_OPTION_ARG_NONE, &fullscreen, + N_("Open in full screen mode"), NULL }, + { G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_STRING_ARRAY, &args, + NULL, "DOMAIN-NAME|ID|UUID" }, + { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL } + }; + +#if !GLIB_CHECK_VERSION(2,31,0) + g_thread_init(NULL); +#endif + + setlocale(LC_ALL, ""); + bindtextdomain(GETTEXT_PACKAGE, LOCALE_DIR); + bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); + textdomain(GETTEXT_PACKAGE); + + g_set_application_name(_("Virt Viewer")); + + /* Setup command line options */ + context = g_option_context_new (_("- Virtual machine graphical console")); + g_option_context_add_main_entries (context, options, NULL); + g_option_context_add_group (context, gtk_get_option_group (TRUE)); +#ifdef HAVE_GTK_VNC + g_option_context_add_group (context, vnc_display_get_option_group ()); +#endif +#ifdef HAVE_SPICE_GTK + g_option_context_add_group (context, spice_get_option_group ()); +#endif + g_option_context_parse (context, &argc, &argv, &error); + if (error) { + g_printerr("%s\n%s\n", + error->message, + gettext(help_msg)); + g_error_free(error); + goto cleanup; + } + + g_option_context_free(context); + + if (!args || (g_strv_length(args) != 1)) { + g_printerr(_("\nUsage: %s [OPTIONS] DOMAIN-NAME|ID|UUID\n\n%s\n\n"), argv[0], help_msg); + goto cleanup; + } + + if (zoom < 10 || zoom > 200) { + g_printerr(_("Zoom level must be within 10-200\n")); + goto cleanup; + } + + gtk_window_set_default_icon_name("virt-viewer"); + + virt_viewer_app_set_debug(debug); + + viewer = virt_viewer_new(uri, args[0], zoom, direct, attach, waitvm, reconnect, verbose, NULL); + if (viewer == NULL) + goto cleanup; + + g_object_set(viewer, "fullscreen", fullscreen, NULL); + if (!virt_viewer_app_start(VIRT_VIEWER_APP(viewer))) + goto cleanup; + + gtk_main(); + + ret = 0; + + cleanup: + if (viewer) + g_object_unref(viewer); + g_free(uri); + g_strfreev(args); + + return ret; +} + +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-notebook.c b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-notebook.c new file mode 100644 index 0000000..dacb593 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-notebook.c @@ -0,0 +1,156 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, Inc. + * Copyright (C) 2009-2012 Daniel P. Berrange + * Copyright (C) 2010 Marc-André Lureau + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ + +#include <config.h> + +#include "virt-viewer-notebook.h" +#include "virt-viewer-util.h" + +G_DEFINE_TYPE (VirtViewerNotebook, virt_viewer_notebook, GTK_TYPE_NOTEBOOK) + +#define GET_PRIVATE(o) \ + (G_TYPE_INSTANCE_GET_PRIVATE ((o), VIRT_VIEWER_TYPE_NOTEBOOK, VirtViewerNotebookPrivate)) + +struct _VirtViewerNotebookPrivate { + GtkWidget *status; +}; + +static void +virt_viewer_notebook_get_property (GObject *object, guint property_id, + GValue *value G_GNUC_UNUSED, GParamSpec *pspec) +{ + switch (property_id) { + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); + } +} + +static void +virt_viewer_notebook_set_property (GObject *object, guint property_id, + const GValue *value G_GNUC_UNUSED, GParamSpec *pspec) +{ + switch (property_id) { + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); + } +} + +static void +virt_viewer_notebook_dispose (GObject *object) +{ + G_OBJECT_CLASS (virt_viewer_notebook_parent_class)->dispose (object); +} + +static void +virt_viewer_notebook_class_init (VirtViewerNotebookClass *klass) +{ + GObjectClass *object_class = G_OBJECT_CLASS (klass); + + g_type_class_add_private (klass, sizeof (VirtViewerNotebookPrivate)); + + object_class->get_property = virt_viewer_notebook_get_property; + object_class->set_property = virt_viewer_notebook_set_property; + object_class->dispose = virt_viewer_notebook_dispose; +} + +static void +virt_viewer_notebook_init (VirtViewerNotebook *self) +{ + VirtViewerNotebookPrivate *priv; + GdkColor color; + + self->priv = GET_PRIVATE(self); + priv = self->priv; + + priv->status = gtk_label_new(""); + gtk_notebook_set_show_tabs(GTK_NOTEBOOK(self), FALSE); +// gtk_notebook_set_show_tabs(GTK_NOTEBOOK(self), TRUE); + gtk_notebook_set_show_border(GTK_NOTEBOOK(self), FALSE); + gtk_notebook_append_page(GTK_NOTEBOOK(self), priv->status, NULL); + gdk_color_parse("white", &color); +// gdk_color_parse("black", &color); // text color + gtk_widget_modify_fg(priv->status, GTK_STATE_NORMAL, &color); +} + +void +virt_viewer_notebook_show_status_va(VirtViewerNotebook *self, const gchar *fmt, va_list args) +{ + VirtViewerNotebookPrivate *priv; + gchar *text; + + DEBUG_LOG("notebook show status %p", self); + g_return_if_fail(VIRT_VIEWER_IS_NOTEBOOK(self)); + + text = g_strdup_vprintf(fmt, args); + priv = self->priv; + gtk_label_set_text(GTK_LABEL(priv->status), text); + gtk_notebook_set_current_page(GTK_NOTEBOOK(self), 0); + gtk_widget_show_all(GTK_WIDGET(self)); + g_free(text); +} + +void +virt_viewer_notebook_show_status(VirtViewerNotebook *self, const gchar *fmt, ...) +{ + va_list args; + + g_return_if_fail(VIRT_VIEWER_IS_NOTEBOOK(self)); + + va_start(args, fmt); + virt_viewer_notebook_show_status_va(self, fmt, args); + va_end(args); +} + +void +virt_viewer_notebook_show_display(VirtViewerNotebook *self) +{ + GtkWidget *display; + + DEBUG_LOG("notebook show display %p", self); + g_return_if_fail(VIRT_VIEWER_IS_NOTEBOOK(self)); + + display = gtk_notebook_get_nth_page(GTK_NOTEBOOK(self), 1); +// gtk_widget_set_size_request(display, 800, 600); + if (display == NULL) + DEBUG_LOG("FIXME: showing display although it's not ready yet"); + else + gtk_widget_grab_focus(display); + + gtk_notebook_set_current_page(GTK_NOTEBOOK(self), 1); + gtk_widget_show_all(GTK_WIDGET(self)); +} + +VirtViewerNotebook* +virt_viewer_notebook_new (void) +{ + return g_object_new (VIRT_VIEWER_TYPE_NOTEBOOK, NULL); +} + +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-notebook.h b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-notebook.h new file mode 100644 index 0000000..64c02a6 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-notebook.h @@ -0,0 +1,76 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, Inc. + * Copyright (C) 2009-2012 Daniel P. Berrange + * Copyright (C) 2010 Marc-André Lureau + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ +#ifndef _VIRT_VIEWER_NOTEBOOK +#define _VIRT_VIEWER_NOTEBOOK + +#include <glib-object.h> +#include <gtk/gtk.h> + +G_BEGIN_DECLS + +#define VIRT_VIEWER_TYPE_NOTEBOOK virt_viewer_notebook_get_type() + +#define VIRT_VIEWER_NOTEBOOK(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST ((obj), VIRT_VIEWER_TYPE_NOTEBOOK, VirtViewerNotebook)) + +#define VIRT_VIEWER_NOTEBOOK_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST ((klass), VIRT_VIEWER_TYPE_NOTEBOOK, VirtViewerNotebookClass)) + +#define VIRT_VIEWER_IS_NOTEBOOK(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VIRT_VIEWER_TYPE_NOTEBOOK)) + +#define VIRT_VIEWER_IS_NOTEBOOK_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE ((klass), VIRT_VIEWER_TYPE_NOTEBOOK)) + +#define VIRT_VIEWER_NOTEBOOK_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS ((obj), VIRT_VIEWER_TYPE_NOTEBOOK, VirtViewerNotebookClass)) + +typedef struct _VirtViewerNotebookPrivate VirtViewerNotebookPrivate; + +typedef struct { + GtkNotebook parent; + VirtViewerNotebookPrivate *priv; +} VirtViewerNotebook; + +typedef struct { + GtkNotebookClass parent_class; +} VirtViewerNotebookClass; + +GType virt_viewer_notebook_get_type (void); + +VirtViewerNotebook* virt_viewer_notebook_new (void); +void virt_viewer_notebook_show_status_va(VirtViewerNotebook *self, const gchar *fmt, va_list args); +void virt_viewer_notebook_show_status(VirtViewerNotebook *nb, const gchar *fmt, ...); +void virt_viewer_notebook_show_display(VirtViewerNotebook *nb); + +G_END_DECLS + +#endif /* _VIRT_VIEWER_NOTEBOOK */ +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-session-spice.c b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-session-spice.c new file mode 100644 index 0000000..b0bbea2 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-session-spice.c @@ -0,0 +1,598 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, Inc. + * Copyright (C) 2009-2012 Daniel P. Berrange + * Copyright (C) 2010 Marc-André Lureau + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ + +#include <config.h> + +#include <spice-audio.h> +#include <glib/gi18n.h> + +#include <spice-option.h> +#include <usb-device-widget.h> +#include "virt-viewer-util.h" +#include "virt-viewer-session-spice.h" +#include "virt-viewer-display-spice.h" +#include "virt-viewer-auth.h" + +#if !GLIB_CHECK_VERSION(2, 26, 0) +#include "gbinding.h" +#include "gbinding.c" +#endif + +G_DEFINE_TYPE (VirtViewerSessionSpice, virt_viewer_session_spice, VIRT_VIEWER_TYPE_SESSION) + + +struct _VirtViewerSessionSpicePrivate { + GtkWindow *main_window; + SpiceSession *session; + SpiceGtkSession *gtk_session; + SpiceMainChannel *main_channel; + + const SpiceAudio *audio; + int channel_count; +}; + +#define VIRT_VIEWER_SESSION_SPICE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE((o), VIRT_VIEWER_TYPE_SESSION_SPICE, VirtViewerSessionSpicePrivate)) + +enum { + PROP_0, + PROP_SPICE_SESSION, +}; + +static void virt_viewer_session_spice_close(VirtViewerSession *session); +static gboolean virt_viewer_session_spice_open_fd(VirtViewerSession *session, int fd); +static gboolean virt_viewer_session_spice_open_host(VirtViewerSession *session, const gchar *host, const gchar *port, const gchar *tlsport); +static gboolean virt_viewer_session_spice_open_uri(VirtViewerSession *session, const gchar *uri); +static gboolean virt_viewer_session_spice_channel_open_fd(VirtViewerSession *session, VirtViewerSessionChannel *channel, int fd); +static gboolean virt_viewer_session_spice_has_usb(VirtViewerSession *session); +static void virt_viewer_session_spice_usb_device_selection(VirtViewerSession *session, GtkWindow *parent); +static void virt_viewer_session_spice_channel_new(SpiceSession *s, + SpiceChannel *channel, + VirtViewerSession *session); +static void virt_viewer_session_spice_channel_destroy(SpiceSession *s, + SpiceChannel *channel, + VirtViewerSession *session); +static void virt_viewer_session_spice_smartcard_insert(VirtViewerSession *session); +static void virt_viewer_session_spice_smartcard_remove(VirtViewerSession *session); +static gboolean virt_viewer_session_spice_fullscreen_auto_conf(VirtViewerSessionSpice *self); + +static void +virt_viewer_session_spice_get_property(GObject *object, guint property_id, + GValue *value, GParamSpec *pspec) +{ + VirtViewerSessionSpice *self = VIRT_VIEWER_SESSION_SPICE(object); + VirtViewerSessionSpicePrivate *priv = self->priv; + + switch (property_id) { + case PROP_SPICE_SESSION: + g_value_set_object(value, priv->session); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); + } +} + +static void +virt_viewer_session_spice_set_property(GObject *object, guint property_id, + const GValue *value G_GNUC_UNUSED, GParamSpec *pspec) +{ + switch (property_id) { + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); + } +} + +static void +virt_viewer_session_spice_dispose(GObject *obj) +{ + VirtViewerSessionSpice *spice = VIRT_VIEWER_SESSION_SPICE(obj); + + if (spice->priv->session) { + spice_session_disconnect(spice->priv->session); + g_object_unref(spice->priv->session); + spice->priv->session = NULL; + } + + spice->priv->audio = NULL; + + if (spice->priv->main_window) + g_object_unref(spice->priv->main_window); + + G_OBJECT_CLASS(virt_viewer_session_spice_parent_class)->dispose(obj); +} + + +static void +virt_viewer_session_spice_class_init(VirtViewerSessionSpiceClass *klass) +{ + VirtViewerSessionClass *dclass = VIRT_VIEWER_SESSION_CLASS(klass); + GObjectClass *oclass = G_OBJECT_CLASS(klass); + + oclass->get_property = virt_viewer_session_spice_get_property; + oclass->set_property = virt_viewer_session_spice_set_property; + oclass->dispose = virt_viewer_session_spice_dispose; + + dclass->close = virt_viewer_session_spice_close; + dclass->open_fd = virt_viewer_session_spice_open_fd; + dclass->open_host = virt_viewer_session_spice_open_host; + dclass->open_uri = virt_viewer_session_spice_open_uri; + dclass->channel_open_fd = virt_viewer_session_spice_channel_open_fd; + dclass->has_usb = virt_viewer_session_spice_has_usb; + dclass->usb_device_selection = virt_viewer_session_spice_usb_device_selection; + dclass->smartcard_insert = virt_viewer_session_spice_smartcard_insert; + dclass->smartcard_remove = virt_viewer_session_spice_smartcard_remove; + + g_type_class_add_private(klass, sizeof(VirtViewerSessionSpicePrivate)); + + g_object_class_install_property(oclass, + PROP_SPICE_SESSION, + g_param_spec_object("spice-session", + "Spice session", + "Spice session", + SPICE_TYPE_SESSION, + G_PARAM_READABLE | + G_PARAM_STATIC_STRINGS)); +} + +static void +virt_viewer_session_spice_init(VirtViewerSessionSpice *self G_GNUC_UNUSED) +{ + self->priv = VIRT_VIEWER_SESSION_SPICE_GET_PRIVATE(self); +} + +static void +usb_connect_failed(GObject *object G_GNUC_UNUSED, + SpiceUsbDevice *device G_GNUC_UNUSED, + GError *error, VirtViewerSessionSpice *self) +{ + if (g_error_matches(error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) + return; + + g_signal_emit_by_name(self, "session-usb-failed", error->message); +} + +static void +create_spice_session(VirtViewerSessionSpice *self) +{ + SpiceUsbDeviceManager *manager; + + g_return_if_fail(self != NULL); + g_return_if_fail(self->priv->session == NULL); + + self->priv->session = spice_session_new(); + spice_set_session_option(self->priv->session); + + self->priv->gtk_session = spice_gtk_session_get(self->priv->session); + g_object_set(self->priv->gtk_session, "auto-clipboard", TRUE, NULL); + + g_signal_connect(self->priv->session, "channel-new", + G_CALLBACK(virt_viewer_session_spice_channel_new), self); + g_signal_connect(self->priv->session, "channel-destroy", + G_CALLBACK(virt_viewer_session_spice_channel_destroy), self); + + manager = spice_usb_device_manager_get(self->priv->session, NULL); + if (manager) { + g_signal_connect(manager, "auto-connect-failed", + G_CALLBACK(usb_connect_failed), self); + g_signal_connect(manager, "device-error", + G_CALLBACK(usb_connect_failed), self); + } + + g_object_bind_property(self, "auto-usbredir", + self->priv->gtk_session, "auto-usbredir", + G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE); +} + +static void +virt_viewer_session_spice_close(VirtViewerSession *session) +{ + VirtViewerSessionSpice *self = VIRT_VIEWER_SESSION_SPICE(session); + + g_return_if_fail(self != NULL); + + virt_viewer_session_clear_displays(session); + + if (self->priv->session) { + spice_session_disconnect(self->priv->session); + g_object_unref(self->priv->session); + self->priv->session = NULL; + self->priv->gtk_session = NULL; + self->priv->audio = NULL; + } + + /* FIXME: version 0.7 of spice-gtk allows reuse of session */ + create_spice_session(self); +} + +static gboolean +virt_viewer_session_spice_open_host(VirtViewerSession *session, + const gchar *host, + const gchar *port, + const gchar *tlsport) +{ + VirtViewerSessionSpice *self = VIRT_VIEWER_SESSION_SPICE(session); + + g_return_val_if_fail(self != NULL, FALSE); + g_return_val_if_fail(self->priv->session != NULL, FALSE); + + g_object_set(self->priv->session, + "host", host, + "port", port, + "tls-port", tlsport, + NULL); + + return spice_session_connect(self->priv->session); +} + +static gboolean +virt_viewer_session_spice_open_uri(VirtViewerSession *session, + const gchar *uri) +{ + VirtViewerSessionSpice *self = VIRT_VIEWER_SESSION_SPICE(session); + + g_return_val_if_fail(self != NULL, FALSE); + g_return_val_if_fail(self->priv->session != NULL, FALSE); + + g_object_set(self->priv->session, "uri", uri, NULL); + + return spice_session_connect(self->priv->session); +} + +static gboolean +virt_viewer_session_spice_open_fd(VirtViewerSession *session, + int fd) +{ + VirtViewerSessionSpice *self = VIRT_VIEWER_SESSION_SPICE(session); + + g_return_val_if_fail(self != NULL, FALSE); + + return spice_session_open_fd(self->priv->session, fd); +} + +static gboolean +virt_viewer_session_spice_channel_open_fd(VirtViewerSession *session, + VirtViewerSessionChannel *channel, + int fd) +{ + VirtViewerSessionSpice *self = VIRT_VIEWER_SESSION_SPICE(session); + + g_return_val_if_fail(self != NULL, FALSE); + + return spice_channel_open_fd(SPICE_CHANNEL(channel), fd); +} + +static void +virt_viewer_session_spice_channel_open_fd_request(SpiceChannel *channel, + gint tls G_GNUC_UNUSED, + VirtViewerSession *session) +{ + g_signal_emit_by_name(session, "session-channel-open", channel); +} + +static void +virt_viewer_session_spice_main_channel_event(SpiceChannel *channel G_GNUC_UNUSED, + SpiceChannelEvent event, + VirtViewerSession *session) +{ + VirtViewerSessionSpice *self = VIRT_VIEWER_SESSION_SPICE(session); + gchar *password = NULL; + + g_return_if_fail(self != NULL); + + switch (event) { + case SPICE_CHANNEL_OPENED: + DEBUG_LOG("main channel: opened"); + break; + case SPICE_CHANNEL_CLOSED: + DEBUG_LOG("main channel: closed"); + /* Ensure the other channels get closed too */ + virt_viewer_session_clear_displays(session); + if (self->priv->session) + spice_session_disconnect(self->priv->session); + break; + case SPICE_CHANNEL_SWITCHING: + DEBUG_LOG("main channel: switching host"); + break; + case SPICE_CHANNEL_ERROR_AUTH: + DEBUG_LOG("main channel: auth failure (wrong password?)"); + int ret = virt_viewer_auth_collect_credentials(self->priv->main_window, + "SPICE", + NULL, + NULL, &password); + if (ret < 0) { + g_signal_emit_by_name(session, "session-cancelled"); + } else { + gboolean openfd; + + g_object_set(self->priv->session, "password", password, NULL); + g_object_get(self->priv->session, "client-sockets", &openfd, NULL); + + if (openfd) + spice_session_open_fd(self->priv->session, -1); + else + spice_session_connect(self->priv->session); + } + break; + case SPICE_CHANNEL_ERROR_CONNECT: + DEBUG_LOG("main channel: failed to connect"); + g_signal_emit_by_name(session, "session-disconnected"); + break; + case SPICE_CHANNEL_ERROR_IO: + case SPICE_CHANNEL_ERROR_LINK: + case SPICE_CHANNEL_ERROR_TLS: + g_signal_emit_by_name(session, "session-disconnected"); + break; + default: + g_warning("unhandled spice main channel event: %d", event); + break; + } + + g_free(password); +} + +static gboolean +virt_viewer_session_spice_has_usb(VirtViewerSession *session) +{ + VirtViewerSessionSpice *self = VIRT_VIEWER_SESSION_SPICE(session); + VirtViewerSessionSpicePrivate *priv = self->priv; + + return spice_usb_device_manager_get(priv->session, NULL) && + spice_session_has_channel_type(priv->session, + SPICE_CHANNEL_USBREDIR); +} + +static void remove_cb(GtkContainer *container G_GNUC_UNUSED, + GtkWidget *widget G_GNUC_UNUSED, + void *user_data) +{ + gtk_window_resize(GTK_WINDOW(user_data), 1, 1); +} + +static void +virt_viewer_session_spice_usb_device_selection(VirtViewerSession *session, + GtkWindow *parent) +{ + VirtViewerSessionSpice *self = VIRT_VIEWER_SESSION_SPICE(session); + VirtViewerSessionSpicePrivate *priv = self->priv; + GtkWidget *dialog, *area, *usb_device_widget; + + /* Create the widgets */ + dialog = gtk_dialog_new_with_buttons(_("Select USB devices for redirection"), parent, + GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_STOCK_CLOSE, GTK_RESPONSE_ACCEPT, + NULL); + gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_ACCEPT); + gtk_container_set_border_width(GTK_CONTAINER(dialog), 12); + gtk_box_set_spacing(GTK_BOX(gtk_bin_get_child(GTK_BIN(dialog))), 12); + + area = gtk_dialog_get_content_area(GTK_DIALOG(dialog)); + + usb_device_widget = spice_usb_device_widget_new(priv->session, + "%s %s"); + g_signal_connect(usb_device_widget, "connect-failed", + G_CALLBACK(usb_connect_failed), self); + gtk_box_pack_start(GTK_BOX(area), usb_device_widget, TRUE, TRUE, 0); + + /* This shrinks the dialog when USB devices are unplugged */ + g_signal_connect(usb_device_widget, "remove", + G_CALLBACK(remove_cb), dialog); + + /* show and run */ + gtk_widget_show_all(dialog); + gtk_dialog_run(GTK_DIALOG(dialog)); + gtk_widget_destroy(dialog); +} + +static void +agent_connected_changed(SpiceChannel *cmain, + GParamSpec *pspec G_GNUC_UNUSED, + VirtViewerSessionSpice *self) +{ + if (virt_viewer_session_spice_fullscreen_auto_conf(self)) + g_signal_handlers_disconnect_by_func(cmain, agent_connected_changed, self); +} + +static void +virt_viewer_session_spice_channel_new(SpiceSession *s, + SpiceChannel *channel, + VirtViewerSession *session) +{ + VirtViewerSessionSpice *self = VIRT_VIEWER_SESSION_SPICE(session); + int id; + + g_return_if_fail(self != NULL); + + g_signal_connect(channel, "open-fd", + G_CALLBACK(virt_viewer_session_spice_channel_open_fd_request), self); + + g_object_get(channel, "channel-id", &id, NULL); + + DEBUG_LOG("New spice channel %p %s %d", channel, g_type_name(G_OBJECT_TYPE(channel)), id); + + if (SPICE_IS_MAIN_CHANNEL(channel)) { + if (self->priv->main_channel != NULL) + g_signal_handlers_disconnect_by_func(self->priv->main_channel, + virt_viewer_session_spice_main_channel_event, self); + + g_signal_connect(channel, "channel-event", + G_CALLBACK(virt_viewer_session_spice_main_channel_event), self); + self->priv->main_channel = SPICE_MAIN_CHANNEL(channel); + + g_signal_connect(channel, "notify::agent-connected", G_CALLBACK(agent_connected_changed), self); + agent_connected_changed(channel, NULL, self); + } + + if (SPICE_IS_DISPLAY_CHANNEL(channel)) { + GtkWidget *display; + + g_signal_emit_by_name(session, "session-connected"); + + DEBUG_LOG("new display channel (#%d)", id); + display = virt_viewer_display_spice_new(self, + channel, + spice_display_new(s, id)); + + virt_viewer_session_add_display(VIRT_VIEWER_SESSION(session), + VIRT_VIEWER_DISPLAY(display)); + + g_signal_emit_by_name(session, "session-initialized"); + } + + if (SPICE_IS_INPUTS_CHANNEL(channel)) { + DEBUG_LOG("new inputs channel"); + } + + if (SPICE_IS_PLAYBACK_CHANNEL(channel)) { + DEBUG_LOG("new audio channel"); + if (self->priv->audio == NULL) + self->priv->audio = spice_audio_get(s, NULL); + } + + self->priv->channel_count++; +} + +static gboolean +virt_viewer_session_spice_fullscreen_auto_conf(VirtViewerSessionSpice *self) +{ + GdkScreen *screen = gdk_screen_get_default(); + SpiceMainChannel* cmain = virt_viewer_session_spice_get_main_channel(self); + VirtViewerApp *app = NULL; + GdkRectangle dest; + gboolean auto_conf, agent_connected; + gint i; + + app = virt_viewer_session_get_app(VIRT_VIEWER_SESSION(self)); + g_return_val_if_fail(VIRT_VIEWER_IS_APP(app), TRUE); + + DEBUG_LOG("Checking full screen auto-conf"); + g_object_get(app, "fullscreen-auto-conf", &auto_conf, NULL); + if (!auto_conf) + return TRUE; + + if (cmain == NULL) + return FALSE; + + g_object_get(cmain, "agent-connected", &agent_connected, NULL); + if (!agent_connected) { + DEBUG_LOG("Agent not connected, skipping autoconf"); + return FALSE; + } + + DEBUG_LOG("Performing full screen auto-conf, %d host monitors", + gdk_screen_get_n_monitors(screen)); + spice_main_set_display_enabled(cmain, -1, FALSE); + for (i = 0; i < gdk_screen_get_n_monitors(screen); i++) { + gdk_screen_get_monitor_geometry(screen, i, &dest); + DEBUG_LOG("Set SPICE display %d to (%d,%d)-(%dx%d)", + i, dest.x, dest.y, dest.width, dest.height); + spice_main_set_display(cmain, i, dest.x, dest.y, dest.width, dest.height); + spice_main_set_display_enabled(cmain, i, TRUE); + } + + spice_main_send_monitor_config(cmain); + return TRUE; +} + +static void +virt_viewer_session_spice_channel_destroy(G_GNUC_UNUSED SpiceSession *s, + SpiceChannel *channel, + VirtViewerSession *session) +{ + VirtViewerSessionSpice *self = VIRT_VIEWER_SESSION_SPICE(session); + int id; + + g_return_if_fail(self != NULL); + + g_object_get(channel, "channel-id", &id, NULL); + DEBUG_LOG("Destroy SPICE channel %s %d", g_type_name(G_OBJECT_TYPE(channel)), id); + + if (SPICE_IS_MAIN_CHANNEL(channel)) { + DEBUG_LOG("zap main channel"); + if (channel == SPICE_CHANNEL(self->priv->main_channel)) + self->priv->main_channel = NULL; + } + + if (SPICE_IS_DISPLAY_CHANNEL(channel)) { + DEBUG_LOG("zap session channel (#%d)", id); + } + + if (SPICE_IS_PLAYBACK_CHANNEL(channel) && self->priv->audio) { + DEBUG_LOG("zap audio channel"); + self->priv->audio = NULL; + } + + self->priv->channel_count--; + if (self->priv->channel_count == 0) + g_signal_emit_by_name(self, "session-disconnected"); +} + +static void +fullscreen_changed(GObject *gobject G_GNUC_UNUSED, + GParamSpec *pspec G_GNUC_UNUSED, + VirtViewerSessionSpice *self) +{ + virt_viewer_session_spice_fullscreen_auto_conf(self); +} + +VirtViewerSession * +virt_viewer_session_spice_new(VirtViewerApp *app, GtkWindow *main_window) +{ + VirtViewerSessionSpice *self; + + self = g_object_new(VIRT_VIEWER_TYPE_SESSION_SPICE, "app", app, NULL); + + create_spice_session(self); + self->priv->main_window = g_object_ref(main_window); + + g_signal_connect(app, "notify::fullscreen", G_CALLBACK(fullscreen_changed), self); + + return VIRT_VIEWER_SESSION(self); +} + +SpiceMainChannel* +virt_viewer_session_spice_get_main_channel(VirtViewerSessionSpice *self) +{ + g_return_val_if_fail(VIRT_VIEWER_IS_SESSION_SPICE(self), NULL); + + return self->priv->main_channel; +} + +static void +virt_viewer_session_spice_smartcard_insert(VirtViewerSession *session G_GNUC_UNUSED) +{ + spice_smartcard_manager_insert_card(spice_smartcard_manager_get()); +} + +static void +virt_viewer_session_spice_smartcard_remove(VirtViewerSession *session G_GNUC_UNUSED) +{ + spice_smartcard_manager_remove_card(spice_smartcard_manager_get()); +} + +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-session-spice.h b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-session-spice.h new file mode 100644 index 0000000..95bdcdf --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-session-spice.h @@ -0,0 +1,80 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, Inc. + * Copyright (C) 2009-2012 Daniel P. Berrange + * Copyright (C) 2010 Marc-André Lureau + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ +#ifndef _VIRT_VIEWER_SESSION_SPICE_H +#define _VIRT_VIEWER_SESSION_SPICE_H + +#include <glib-object.h> +#include <spice-widget.h> +#include <spice-audio.h> + +#include "virt-viewer-session.h" + +G_BEGIN_DECLS + +#define VIRT_VIEWER_TYPE_SESSION_SPICE virt_viewer_session_spice_get_type() + +#define VIRT_VIEWER_SESSION_SPICE(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST ((obj), VIRT_VIEWER_TYPE_SESSION_SPICE, VirtViewerSessionSpice)) + +#define VIRT_VIEWER_SESSION_SPICE_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST ((klass), VIRT_VIEWER_TYPE_SESSION_SPICE, VirtViewerSessionSpiceClass)) + +#define VIRT_VIEWER_IS_SESSION_SPICE(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VIRT_VIEWER_TYPE_SESSION_SPICE)) + +#define VIRT_VIEWER_IS_SESSION_SPICE_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE ((klass), VIRT_VIEWER_TYPE_SESSION_SPICE)) + +#define VIRT_VIEWER_SESSION_SPICE_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS ((obj), VIRT_VIEWER_TYPE_SESSION_SPICE, VirtViewerSessionSpiceClass)) + +typedef struct _VirtViewerSessionSpice VirtViewerSessionSpice; +typedef struct _VirtViewerSessionSpiceClass VirtViewerSessionSpiceClass; +typedef struct _VirtViewerSessionSpicePrivate VirtViewerSessionSpicePrivate; + +struct _VirtViewerSessionSpice { + VirtViewerSession parent; + + VirtViewerSessionSpicePrivate *priv; +}; + +struct _VirtViewerSessionSpiceClass { + VirtViewerSessionClass parent_class; +}; + +GType virt_viewer_session_spice_get_type(void); + +VirtViewerSession* virt_viewer_session_spice_new(VirtViewerApp *app, GtkWindow *main_window); +SpiceMainChannel* virt_viewer_session_spice_get_main_channel(VirtViewerSessionSpice *self); + +G_END_DECLS + +#endif /* _VIRT_VIEWER_SESSION_SPICE_H */ +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-session-vnc.c b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-session-vnc.c new file mode 100644 index 0000000..238c865 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-session-vnc.c @@ -0,0 +1,323 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, Inc. + * Copyright (C) 2009-2012 Daniel P. Berrange + * Copyright (C) 2010 Marc-André Lureau + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ + +#include <config.h> + +#include "virt-viewer-auth.h" +#include "virt-viewer-session-vnc.h" +#include "virt-viewer-display-vnc.h" + +#include <glib/gi18n.h> +#include <libxml/uri.h> + +G_DEFINE_TYPE(VirtViewerSessionVnc, virt_viewer_session_vnc, VIRT_VIEWER_TYPE_SESSION) + +struct _VirtViewerSessionVncPrivate { + GtkWindow *main_window; + /* XXX we should really just have a VncConnection */ + VncDisplay *vnc; +}; + +#define VIRT_VIEWER_SESSION_VNC_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE((o), VIRT_VIEWER_TYPE_SESSION_VNC, VirtViewerSessionVncPrivate)) + +static void virt_viewer_session_vnc_close(VirtViewerSession* session); +static gboolean virt_viewer_session_vnc_open_fd(VirtViewerSession* session, int fd); +static gboolean virt_viewer_session_vnc_open_host(VirtViewerSession* session, const gchar *host, const gchar *port, const gchar *tlsport); +static gboolean virt_viewer_session_vnc_open_uri(VirtViewerSession* session, const gchar *uri); +static gboolean virt_viewer_session_vnc_channel_open_fd(VirtViewerSession* session, + VirtViewerSessionChannel* channel, int fd); + + +static void +virt_viewer_session_vnc_finalize(GObject *obj) +{ + VirtViewerSessionVnc *vnc = VIRT_VIEWER_SESSION_VNC(obj); + + if (vnc->priv->vnc) { + vnc_display_close(vnc->priv->vnc); + g_object_unref(vnc->priv->vnc); + } + if (vnc->priv->main_window) + g_object_unref(vnc->priv->main_window); + + G_OBJECT_CLASS(virt_viewer_session_vnc_parent_class)->finalize(obj); +} + + +static void +virt_viewer_session_vnc_class_init(VirtViewerSessionVncClass *klass) +{ + VirtViewerSessionClass *dclass = VIRT_VIEWER_SESSION_CLASS(klass); + GObjectClass *oclass = G_OBJECT_CLASS(klass); + + oclass->finalize = virt_viewer_session_vnc_finalize; + + dclass->close = virt_viewer_session_vnc_close; + dclass->open_fd = virt_viewer_session_vnc_open_fd; + dclass->open_host = virt_viewer_session_vnc_open_host; + dclass->open_uri = virt_viewer_session_vnc_open_uri; + dclass->channel_open_fd = virt_viewer_session_vnc_channel_open_fd; + + g_type_class_add_private(klass, sizeof(VirtViewerSessionVncPrivate)); +} + +static void +virt_viewer_session_vnc_init(VirtViewerSessionVnc *self G_GNUC_UNUSED) +{ + self->priv = VIRT_VIEWER_SESSION_VNC_GET_PRIVATE(self); +} + +static void +virt_viewer_session_vnc_connected(VncDisplay *vnc G_GNUC_UNUSED, + VirtViewerSessionVnc *session) +{ + GtkWidget *display = virt_viewer_display_vnc_new(session->priv->vnc); + g_signal_emit_by_name(session, "session-connected"); + virt_viewer_display_set_show_hint(VIRT_VIEWER_DISPLAY(display), + VIRT_VIEWER_DISPLAY_SHOW_HINT_READY); + virt_viewer_session_add_display(VIRT_VIEWER_SESSION(session), + VIRT_VIEWER_DISPLAY(display)); +} + +static void +virt_viewer_session_vnc_disconnected(VncDisplay *vnc G_GNUC_UNUSED, + VirtViewerSessionVnc *session) +{ + DEBUG_LOG("Disconnected"); + g_signal_emit_by_name(session, "session-disconnected"); + /* TODO perhaps? */ + /* virt_viewer_display_set_show_hint(VIRT_VIEWER_DISPLAY(session->priv->vnc), */ + /* VIRT_VIEWER_DISPLAY_SHOW_HINT_HIDE); */ +} + +static void +virt_viewer_session_vnc_initialized(VncDisplay *vnc G_GNUC_UNUSED, + VirtViewerSessionVnc *session) +{ + g_signal_emit_by_name(session, "session-initialized"); +} + +static void +virt_viewer_session_vnc_cut_text(VncDisplay *vnc G_GNUC_UNUSED, + const gchar *text, + VirtViewerSession *session) +{ + g_signal_emit_by_name(session, "session-cut-text", text); +} + +static void +virt_viewer_session_vnc_bell(VncDisplay *vnc G_GNUC_UNUSED, + VirtViewerSession *session) +{ + g_signal_emit_by_name(session, "session-bell"); +} + +static void +virt_viewer_session_vnc_auth_unsupported(VncDisplay *vnc G_GNUC_UNUSED, + unsigned int authType, + VirtViewerSession *session) +{ + gchar *msg = g_strdup_printf(_("Unsupported authentication type %d"), + authType); + g_signal_emit_by_name(session, "session-auth-failed", msg); + g_free(msg); +} + +static void +virt_viewer_session_vnc_auth_failure(VncDisplay *vnc G_GNUC_UNUSED, + const gchar *reason, + VirtViewerSession *session) +{ + + g_signal_emit_by_name(session, "session-auth-refused", reason); +} + + + +static gboolean +virt_viewer_session_vnc_open_fd(VirtViewerSession* session, + int fd) +{ + VirtViewerSessionVnc *self = VIRT_VIEWER_SESSION_VNC(session); + + g_return_val_if_fail(self != NULL, FALSE); + g_return_val_if_fail(self->priv->vnc != NULL, FALSE); + + return vnc_display_open_fd(self->priv->vnc, fd); +} + +static gboolean +virt_viewer_session_vnc_channel_open_fd(VirtViewerSession* session G_GNUC_UNUSED, + VirtViewerSessionChannel* channel G_GNUC_UNUSED, + int fd G_GNUC_UNUSED) +{ + g_warning("channel_open_fd is not supported by VNC"); + return FALSE; +} + +static gboolean +virt_viewer_session_vnc_open_host(VirtViewerSession* session, + const gchar *host, + const gchar *port, + const gchar *tlsport G_GNUC_UNUSED) +{ + VirtViewerSessionVnc *self = VIRT_VIEWER_SESSION_VNC(session); + + g_return_val_if_fail(self != NULL, FALSE); + g_return_val_if_fail(self->priv->vnc != NULL, FALSE); + + return vnc_display_open_host(self->priv->vnc, host, port); +} + +static gboolean +virt_viewer_session_vnc_open_uri(VirtViewerSession* session, + const gchar *uristr) +{ + VirtViewerSessionVnc *self = VIRT_VIEWER_SESSION_VNC(session); + xmlURIPtr uri = NULL; + gchar *portstr; + gchar *hoststr = NULL; + gboolean ret; + + g_return_val_if_fail(self != NULL, FALSE); + g_return_val_if_fail(self->priv->vnc != NULL, FALSE); + + if (!(uri = xmlParseURI(uristr))) + return FALSE; + + portstr = g_strdup_printf("%d", uri->port); + + if (uri->server) { + if (uri->server[0] == '[') { + gchar *tmp; + hoststr = g_strdup(uri->server + 1); + if ((tmp = strchr(hoststr, ']'))) + *tmp = '\0'; + } else { + hoststr = g_strdup(uri->server); + } + } + + ret = vnc_display_open_host(self->priv->vnc, + hoststr, + portstr); + g_free(portstr); + g_free(hoststr); + xmlFreeURI(uri); + return ret; +} + + +static void +virt_viewer_session_vnc_auth_credential(GtkWidget *src, + GValueArray *credList, + VirtViewerSession *session) +{ + VirtViewerSessionVnc *self = VIRT_VIEWER_SESSION_VNC(session); + + virt_viewer_auth_vnc_credentials(self->priv->main_window, + src, + credList, + NULL); +} + + +static void +virt_viewer_session_vnc_close(VirtViewerSession* session) +{ + VirtViewerSessionVnc *self = VIRT_VIEWER_SESSION_VNC(session); + + g_return_if_fail(self != NULL); + + DEBUG_LOG("close vnc=%p", self->priv->vnc); + if (self->priv->vnc != NULL) { + virt_viewer_session_clear_displays(session); + vnc_display_close(self->priv->vnc); + g_object_unref(self->priv->vnc); + } + + self->priv->vnc = VNC_DISPLAY(vnc_display_new()); + g_object_ref_sink(self->priv->vnc); + + g_signal_connect(self->priv->vnc, "vnc-connected", + G_CALLBACK(virt_viewer_session_vnc_connected), session); + g_signal_connect(self->priv->vnc, "vnc-initialized", + G_CALLBACK(virt_viewer_session_vnc_initialized), session); + g_signal_connect(self->priv->vnc, "vnc-disconnected", + G_CALLBACK(virt_viewer_session_vnc_disconnected), session); + + g_signal_connect(self->priv->vnc, "vnc-bell", + G_CALLBACK(virt_viewer_session_vnc_bell), session); + g_signal_connect(self->priv->vnc, "vnc-auth-failure", + G_CALLBACK(virt_viewer_session_vnc_auth_failure), session); + g_signal_connect(self->priv->vnc, "vnc-auth-unsupported", + G_CALLBACK(virt_viewer_session_vnc_auth_unsupported), session); + g_signal_connect(self->priv->vnc, "vnc-server-cut-text", + G_CALLBACK(virt_viewer_session_vnc_cut_text), session); + + g_signal_connect(self->priv->vnc, "vnc-auth-credential", + G_CALLBACK(virt_viewer_session_vnc_auth_credential), session); + +} + +VirtViewerSession * +virt_viewer_session_vnc_new(GtkWindow *main_window) +{ + VirtViewerSessionVnc *session; + + session = g_object_new(VIRT_VIEWER_TYPE_SESSION_VNC, NULL); + + session->priv->vnc = VNC_DISPLAY(vnc_display_new()); + g_object_ref_sink(session->priv->vnc); + session->priv->main_window = g_object_ref(main_window); + + g_signal_connect(session->priv->vnc, "vnc-connected", + G_CALLBACK(virt_viewer_session_vnc_connected), session); + g_signal_connect(session->priv->vnc, "vnc-initialized", + G_CALLBACK(virt_viewer_session_vnc_initialized), session); + g_signal_connect(session->priv->vnc, "vnc-disconnected", + G_CALLBACK(virt_viewer_session_vnc_disconnected), session); + + g_signal_connect(session->priv->vnc, "vnc-bell", + G_CALLBACK(virt_viewer_session_vnc_bell), session); + g_signal_connect(session->priv->vnc, "vnc-auth-failure", + G_CALLBACK(virt_viewer_session_vnc_auth_failure), session); + g_signal_connect(session->priv->vnc, "vnc-auth-unsupported", + G_CALLBACK(virt_viewer_session_vnc_auth_unsupported), session); + g_signal_connect(session->priv->vnc, "vnc-server-cut-text", + G_CALLBACK(virt_viewer_session_vnc_cut_text), session); + + g_signal_connect(session->priv->vnc, "vnc-auth-credential", + G_CALLBACK(virt_viewer_session_vnc_auth_credential), session); + + return VIRT_VIEWER_SESSION(session); +} + +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-session-vnc.h b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-session-vnc.h new file mode 100644 index 0000000..2b95dde --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-session-vnc.h @@ -0,0 +1,78 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, Inc. + * Copyright (C) 2009-2012 Daniel P. Berrange + * Copyright (C) 2010 Marc-André Lureau + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ +#ifndef _VIRT_VIEWER_SESSION_VNC_H +#define _VIRT_VIEWER_SESSION_VNC_H + +#include <glib-object.h> +#include <vncdisplay.h> + +#include "virt-viewer-session.h" + +G_BEGIN_DECLS + +#define VIRT_VIEWER_TYPE_SESSION_VNC virt_viewer_session_vnc_get_type() + +#define VIRT_VIEWER_SESSION_VNC(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST ((obj), VIRT_VIEWER_TYPE_SESSION_VNC, VirtViewerSessionVnc)) + +#define VIRT_VIEWER_SESSION_VNC_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST ((klass), VIRT_VIEWER_TYPE_SESSION_VNC, VirtViewerSessionVncClass)) + +#define VIRT_VIEWER_IS_SESSION_VNC(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VIRT_VIEWER_TYPE_SESSION_VNC)) + +#define VIRT_VIEWER_IS_SESSION_VNC_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE ((klass), VIRT_VIEWER_TYPE_SESSION_VNC)) + +#define VIRT_VIEWER_SESSION_VNC_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS ((obj), VIRT_VIEWER_TYPE_SESSION_VNC, VirtViewerSessionVncClass)) + +typedef struct _VirtViewerSessionVnc VirtViewerSessionVnc; +typedef struct _VirtViewerSessionVncClass VirtViewerSessionVncClass; +typedef struct _VirtViewerSessionVncPrivate VirtViewerSessionVncPrivate; + +struct _VirtViewerSessionVnc { + VirtViewerSession parent; + + VirtViewerSessionVncPrivate *priv; +}; + +struct _VirtViewerSessionVncClass { + VirtViewerSessionClass parent_class; +}; + +GType virt_viewer_session_vnc_get_type(void); + +VirtViewerSession *virt_viewer_session_vnc_new(GtkWindow *main_window); + +G_END_DECLS + +#endif /* _VIRT_VIEWER_SESSION_VNC_H */ +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-session.c b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-session.c new file mode 100644 index 0000000..18b6922 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-session.c @@ -0,0 +1,460 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, Inc. + * Copyright (C) 2009-2012 Daniel P. Berrange + * Copyright (C) 2010 Marc-André Lureau + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ + +#include <config.h> + +#include <locale.h> + +#include "virt-viewer-session.h" +#include "virt-viewer-util.h" + +#define VIRT_VIEWER_SESSION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE((o), VIRT_VIEWER_TYPE_SESSION, VirtViewerSessionPrivate)) + + +struct _VirtViewerSessionPrivate +{ + GList *displays; + VirtViewerApp *app; + gboolean auto_usbredir; + gchar *uri; +}; + +G_DEFINE_ABSTRACT_TYPE(VirtViewerSession, virt_viewer_session, G_TYPE_OBJECT) + +enum { + PROP_0, + + PROP_APP, + PROP_AUTO_USBREDIR, +}; + +static void +virt_viewer_session_finalize(GObject *obj) +{ + VirtViewerSession *session = VIRT_VIEWER_SESSION(obj); + GList *tmp = session->priv->displays; + + while (tmp) { + g_object_unref(tmp->data); + tmp = tmp->next; + } + g_list_free(session->priv->displays); + + g_free(session->priv->uri); + + G_OBJECT_CLASS(virt_viewer_session_parent_class)->finalize(obj); +} + +static void +virt_viewer_session_set_property(GObject *object, + guint prop_id, + const GValue *value, + GParamSpec *pspec) +{ + VirtViewerSession *self = VIRT_VIEWER_SESSION(object); + + switch (prop_id) { + case PROP_AUTO_USBREDIR: + virt_viewer_session_set_auto_usbredir(self, g_value_get_boolean(value)); + break; + + case PROP_APP: + self->priv->app = g_value_get_object(value); + break; + + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); + break; + } +} + +static void +virt_viewer_session_get_property(GObject *object, + guint prop_id, + GValue *value, + GParamSpec *pspec) +{ + VirtViewerSession *self = VIRT_VIEWER_SESSION(object); + + switch (prop_id) { + case PROP_AUTO_USBREDIR: + g_value_set_boolean(value, virt_viewer_session_get_auto_usbredir(self)); + break; + + case PROP_APP: + g_value_set_object(value, self->priv->app); + break; + + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); + break; + } +} + +static void +virt_viewer_session_class_init(VirtViewerSessionClass *class) +{ + GObjectClass *object_class = G_OBJECT_CLASS(class); + + object_class->set_property = virt_viewer_session_set_property; + object_class->get_property = virt_viewer_session_get_property; + object_class->finalize = virt_viewer_session_finalize; + + g_object_class_install_property(object_class, + PROP_AUTO_USBREDIR, + g_param_spec_boolean("auto-usbredir", + "USB redirection", + "USB redirection", + TRUE, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property(object_class, + PROP_APP, + g_param_spec_object("app", + "VirtViewerApp", + "VirtViewerApp", + VIRT_VIEWER_TYPE_APP, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT | + G_PARAM_STATIC_STRINGS)); + + g_signal_new("session-connected", + G_OBJECT_CLASS_TYPE(object_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(VirtViewerSessionClass, session_connected), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, + 0); + + g_signal_new("session-initialized", + G_OBJECT_CLASS_TYPE(object_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(VirtViewerSessionClass, session_initialized), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, + 0); + + g_signal_new("session-disconnected", + G_OBJECT_CLASS_TYPE(object_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(VirtViewerSessionClass, session_disconnected), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, + 0); + + g_signal_new("session-channel-open", + G_OBJECT_CLASS_TYPE(object_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(VirtViewerSessionClass, session_channel_open), + NULL, NULL, + g_cclosure_marshal_VOID__OBJECT, + G_TYPE_NONE, + 1, + G_TYPE_OBJECT); + + g_signal_new("session-auth-refused", + G_OBJECT_CLASS_TYPE(object_class), + G_SIGNAL_RUN_LAST | G_SIGNAL_NO_HOOKS, + G_STRUCT_OFFSET(VirtViewerSessionClass, session_auth_refused), + NULL, + NULL, + g_cclosure_marshal_VOID__STRING, + G_TYPE_NONE, + 1, + G_TYPE_STRING); + + g_signal_new("session-auth-failed", + G_OBJECT_CLASS_TYPE(object_class), + G_SIGNAL_RUN_LAST | G_SIGNAL_NO_HOOKS, + G_STRUCT_OFFSET(VirtViewerSessionClass, session_auth_failed), + NULL, + NULL, + g_cclosure_marshal_VOID__STRING, + G_TYPE_NONE, + 1, + G_TYPE_STRING); + + g_signal_new("session-usb-failed", + G_OBJECT_CLASS_TYPE(object_class), + G_SIGNAL_RUN_LAST | G_SIGNAL_NO_HOOKS, + G_STRUCT_OFFSET(VirtViewerSessionClass, session_usb_failed), + NULL, + NULL, + g_cclosure_marshal_VOID__STRING, + G_TYPE_NONE, + 1, + G_TYPE_STRING); + + g_signal_new("session-display-added", + G_OBJECT_CLASS_TYPE(object_class), + G_SIGNAL_RUN_LAST | G_SIGNAL_NO_HOOKS, + G_STRUCT_OFFSET(VirtViewerSessionClass, session_display_added), + NULL, + NULL, + g_cclosure_marshal_VOID__OBJECT, + G_TYPE_NONE, + 1, + VIRT_VIEWER_TYPE_DISPLAY); + + g_signal_new("session-display-removed", + G_OBJECT_CLASS_TYPE(object_class), + G_SIGNAL_RUN_LAST | G_SIGNAL_NO_HOOKS, + G_STRUCT_OFFSET(VirtViewerSessionClass, session_display_removed), + NULL, + NULL, + g_cclosure_marshal_VOID__OBJECT, + G_TYPE_NONE, + 1, + VIRT_VIEWER_TYPE_DISPLAY); + + g_signal_new("session-cut-text", + G_OBJECT_CLASS_TYPE(object_class), + G_SIGNAL_RUN_LAST | G_SIGNAL_NO_HOOKS, + G_STRUCT_OFFSET(VirtViewerSessionClass, session_cut_text), + NULL, + NULL, + g_cclosure_marshal_VOID__STRING, + G_TYPE_NONE, + 1, + G_TYPE_STRING); + + g_signal_new("session-bell", + G_OBJECT_CLASS_TYPE(object_class), + G_SIGNAL_RUN_LAST | G_SIGNAL_NO_HOOKS, + G_STRUCT_OFFSET(VirtViewerSessionClass, session_bell), + NULL, + NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, + 0); + + g_signal_new("session-cancelled", + G_OBJECT_CLASS_TYPE(object_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET(VirtViewerSessionClass, session_cancelled), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, + 0); + + g_type_class_add_private(class, sizeof(VirtViewerSessionPrivate)); +} + +static void +virt_viewer_session_init(VirtViewerSession *session) +{ + session->priv = VIRT_VIEWER_SESSION_GET_PRIVATE(session); +} + +GtkWidget* +virt_viewer_session_new(void) +{ + return g_object_new(VIRT_VIEWER_TYPE_SESSION, NULL); +} + + +void virt_viewer_session_add_display(VirtViewerSession *session, + VirtViewerDisplay *display) +{ + session->priv->displays = g_list_append(session->priv->displays, display); + g_object_ref(display); + g_signal_emit_by_name(session, "session-display-added", display); +} + + +void virt_viewer_session_remove_display(VirtViewerSession *session, + VirtViewerDisplay *display) +{ + if (!g_list_find(session->priv->displays, display)) + return; + + session->priv->displays = g_list_remove(session->priv->displays, display); + g_signal_emit_by_name(session, "session-display-removed", display); + g_object_unref(display); +} + +void virt_viewer_session_clear_displays(VirtViewerSession *session) +{ + GList *tmp = session->priv->displays; + + while (tmp) { + VirtViewerDisplay *display = VIRT_VIEWER_DISPLAY(tmp->data); + g_signal_emit_by_name(session, "session-display-removed", display); + virt_viewer_display_close(display); + g_object_unref(display); + tmp = tmp->next; + } + g_list_free(session->priv->displays); + session->priv->displays = NULL; +} + + + +void virt_viewer_session_close(VirtViewerSession *session) +{ + g_return_if_fail(VIRT_VIEWER_IS_SESSION(session)); + + VIRT_VIEWER_SESSION_GET_CLASS(session)->close(session); +} + +gboolean virt_viewer_session_open_fd(VirtViewerSession *session, int fd) +{ + g_return_val_if_fail(VIRT_VIEWER_IS_SESSION(session), FALSE); + + return VIRT_VIEWER_SESSION_GET_CLASS(session)->open_fd(session, fd); +} + +gboolean virt_viewer_session_open_host(VirtViewerSession *session, const gchar *host, const gchar *port, const gchar *tlsport) +{ + VirtViewerSessionClass *klass; + + g_return_val_if_fail(VIRT_VIEWER_IS_SESSION(session), FALSE); + + klass = VIRT_VIEWER_SESSION_GET_CLASS(session); + return klass->open_host(session, host, port, tlsport); +} + +gboolean virt_viewer_session_open_uri(VirtViewerSession *session, const gchar *uri) +{ + VirtViewerSessionClass *klass; + + g_return_val_if_fail(VIRT_VIEWER_IS_SESSION(session), FALSE); + + klass = VIRT_VIEWER_SESSION_GET_CLASS(session); + g_return_val_if_fail(klass->open_uri != NULL, FALSE); + + session->priv->uri = g_strdup(uri); + + return klass->open_uri(session, uri); +} + +gboolean virt_viewer_session_channel_open_fd(VirtViewerSession *session, + VirtViewerSessionChannel *channel, int fd) +{ + g_return_val_if_fail(VIRT_VIEWER_IS_SESSION(session), FALSE); + + return VIRT_VIEWER_SESSION_GET_CLASS(session)->channel_open_fd(session, channel, fd); +} + +void virt_viewer_session_set_auto_usbredir(VirtViewerSession *self, gboolean auto_usbredir) +{ + g_return_if_fail(VIRT_VIEWER_IS_SESSION(self)); + + if (self->priv->auto_usbredir == auto_usbredir) + return; + + self->priv->auto_usbredir = auto_usbredir; + g_object_notify(G_OBJECT(self), "auto-usbredir"); +} + +gboolean virt_viewer_session_get_auto_usbredir(VirtViewerSession *self) +{ + g_return_val_if_fail(VIRT_VIEWER_IS_SESSION(self), FALSE); + + return self->priv->auto_usbredir; +} + +gboolean virt_viewer_session_has_usb(VirtViewerSession *self) +{ + VirtViewerSessionClass *klass; + + g_return_val_if_fail(VIRT_VIEWER_IS_SESSION(self), FALSE); + + klass = VIRT_VIEWER_SESSION_GET_CLASS(self); + if (klass->has_usb == NULL) + return FALSE; + + return klass->has_usb(self); +} + +void virt_viewer_session_usb_device_selection(VirtViewerSession *self, + GtkWindow *parent) +{ + VirtViewerSessionClass *klass; + + g_return_if_fail(VIRT_VIEWER_IS_SESSION(self)); + + klass = VIRT_VIEWER_SESSION_GET_CLASS(self); + g_return_if_fail(klass->usb_device_selection != NULL); + + klass->usb_device_selection(self, parent); +} + +void virt_viewer_session_smartcard_insert(VirtViewerSession *self) +{ + VirtViewerSessionClass *klass; + + g_return_if_fail(VIRT_VIEWER_IS_SESSION(self)); + + klass = VIRT_VIEWER_SESSION_GET_CLASS(self); + if (klass->smartcard_insert == NULL) { + g_debug("No session smartcard support"); + return; + } + + klass->smartcard_insert(self); +} + +void virt_viewer_session_smartcard_remove(VirtViewerSession *self) +{ + VirtViewerSessionClass *klass; + + g_return_if_fail(VIRT_VIEWER_IS_SESSION(self)); + + klass = VIRT_VIEWER_SESSION_GET_CLASS(self); + if (klass->smartcard_remove == NULL) { + g_debug("No session smartcard support"); + return; + } + + klass->smartcard_remove(self); +} + +VirtViewerApp* virt_viewer_session_get_app(VirtViewerSession *self) +{ + g_return_val_if_fail(VIRT_VIEWER_IS_SESSION(self), NULL); + + return self->priv->app; +} + +gchar* virt_viewer_session_get_uri(VirtViewerSession *self) +{ + g_return_val_if_fail(VIRT_VIEWER_IS_SESSION(self), FALSE); + + return g_strdup(self->priv->uri); +} + + +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-session.h b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-session.h new file mode 100644 index 0000000..44e4674 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-session.h @@ -0,0 +1,135 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, Inc. + * Copyright (C) 2009-2012 Daniel P. Berrange + * Copyright (C) 2010 Marc-André Lureau + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ +#ifndef _VIRT_VIEWER_SESSION_H +#define _VIRT_VIEWER_SESSION_H + +#include <gtk/gtk.h> + +#include "virt-viewer-app.h" +#include "virt-viewer-display.h" + +G_BEGIN_DECLS + +#define VIRT_VIEWER_TYPE_SESSION virt_viewer_session_get_type() + +#define VIRT_VIEWER_SESSION(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST ((obj), VIRT_VIEWER_TYPE_SESSION, VirtViewerSession)) + +#define VIRT_VIEWER_SESSION_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST ((klass), VIRT_VIEWER_TYPE_SESSION, VirtViewerSessionClass)) + +#define VIRT_VIEWER_IS_SESSION(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VIRT_VIEWER_TYPE_SESSION)) + +#define VIRT_VIEWER_IS_SESSION_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE ((klass), VIRT_VIEWER_TYPE_SESSION)) + +#define VIRT_VIEWER_SESSION_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS ((obj), VIRT_VIEWER_TYPE_SESSION, VirtViewerSessionClass)) + +typedef struct _VirtViewerSessionPrivate VirtViewerSessionPrivate; + +typedef struct _VirtViewerSessionChannel VirtViewerSessionChannel; + + +/* perhaps this become an interface, and be pushed in gtkvnc and spice? */ +struct _VirtViewerSession { + GObject parent; + + VirtViewerSessionPrivate *priv; +}; + +struct _VirtViewerSessionClass { + GObjectClass parent_class; + + /* virtual methods */ + void (* close) (VirtViewerSession* session); + gboolean (* open_fd) (VirtViewerSession* session, int fd); + gboolean (* open_host) (VirtViewerSession* session, const gchar *host, const gchar *port, const gchar *tlsport); + gboolean (* open_uri) (VirtViewerSession* session, const gchar *uri); + gboolean (* channel_open_fd) (VirtViewerSession* session, VirtViewerSessionChannel *channel, int fd); + gboolean (* has_usb) (VirtViewerSession* session); + void (* usb_device_selection) (VirtViewerSession* session, GtkWindow *parent); + void (* smartcard_insert) (VirtViewerSession* session); + void (* smartcard_remove) (VirtViewerSession* session); + + /* signals */ + void (*session_connected)(VirtViewerSession *session); + void (*session_initialized)(VirtViewerSession *session); + void (*session_disconnected)(VirtViewerSession *session); + void (*session_auth_refused)(VirtViewerSession *session, const gchar *msg); + void (*session_auth_failed)(VirtViewerSession *session, const gchar *msg); + void (*session_usb_failed)(VirtViewerSession *session, const gchar *msg); + + void (*session_channel_open)(VirtViewerSession *session, VirtViewerSessionChannel *channel); + + void (*session_display_added)(VirtViewerSession *session, + VirtViewerDisplay *display); + void (*session_display_removed)(VirtViewerSession *session, + VirtViewerDisplay *display); + + void (*session_cut_text)(VirtViewerSession *session, const gchar *str); + void (*session_bell)(VirtViewerSession *session); + void (*session_cancelled)(VirtViewerSession *session); +}; + +GType virt_viewer_session_get_type(void); + +GtkWidget *virt_viewer_session_new(void); + +void virt_viewer_session_add_display(VirtViewerSession *session, + VirtViewerDisplay *display); +void virt_viewer_session_remove_display(VirtViewerSession *session, + VirtViewerDisplay *display); +void virt_viewer_session_clear_displays(VirtViewerSession *session); + +void virt_viewer_session_close(VirtViewerSession* session); +gboolean virt_viewer_session_open_fd(VirtViewerSession* session, int fd); +gboolean virt_viewer_session_open_host(VirtViewerSession* session, const gchar *host, const gchar *port, const gchar *tlsport); +GObject* virt_viewer_session_get(VirtViewerSession* session); +gboolean virt_viewer_session_channel_open_fd(VirtViewerSession* session, + VirtViewerSessionChannel* channel, int fd); +gboolean virt_viewer_session_open_uri(VirtViewerSession *session, const gchar *uri); + +void virt_viewer_session_set_auto_usbredir(VirtViewerSession* session, gboolean auto_usbredir); +gboolean virt_viewer_session_get_auto_usbredir(VirtViewerSession* session); + +gboolean virt_viewer_session_has_usb(VirtViewerSession *self); +void virt_viewer_session_usb_device_selection(VirtViewerSession *self, GtkWindow *parent); +void virt_viewer_session_smartcard_insert(VirtViewerSession *self); +void virt_viewer_session_smartcard_remove(VirtViewerSession *self); +VirtViewerApp* virt_viewer_session_get_app(VirtViewerSession *self); +gchar* virt_viewer_session_get_uri(VirtViewerSession *self); + +G_END_DECLS + +#endif /* _VIRT_VIEWER_SESSION_H */ + +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-util.c b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-util.c new file mode 100644 index 0000000..e3a6765 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-util.c @@ -0,0 +1,183 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, Inc. + * Copyright (C) 2009-2012 Daniel P. Berrange + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ + +#ifdef CONFIG_MARU +#ifdef WIN32 +#define off_t long +#define off64_t long long +//#undef __STRICT_ANSI__ +#endif +#endif + +#include <config.h> + +#include <sys/types.h> +#include <sys/stat.h> +#include <unistd.h> +#include <string.h> +#include <libxml/xpath.h> +#include <libxml/uri.h> + +#include "virt-viewer-util.h" + +#ifdef CONFIG_MARU +#define SHARE "/../share" +#ifdef WIN32 +#define stat _stat32 +#endif +#endif + +GtkBuilder *virt_viewer_util_load_ui(const char *name) +{ + struct stat sb; + GtkBuilder *builder; + GError *error = NULL; + +#ifdef CONFIG_MARU + gchar *ui_xml = NULL; + const gchar *pwd = g_getenv("PWD"); + size_t bufsize = strlen(pwd) + strlen(SHARE) + 1; + gchar *remote_share = malloc(bufsize); + memset(remote_share, '\0', bufsize); + + g_stpcpy(remote_share, pwd); + g_strlcat(remote_share, SHARE, bufsize); + + ui_xml = g_build_filename(remote_share, PACKAGE, "ui", name, NULL); + + if (remote_share) { + g_free(remote_share); + } +#endif + + builder = gtk_builder_new(); + if (stat(name, &sb) >= 0) { + gtk_builder_add_from_file(builder, name, &error); + } else { +#ifdef CONFIG_MARU + if (gtk_builder_add_from_file(builder, ui_xml, NULL) != 0) { + g_free(ui_xml); + return builder; + } +#endif + const gchar * const * dirs = g_get_system_data_dirs(); + g_return_val_if_fail(dirs != NULL, NULL); + + while (dirs[0] != NULL) { + gchar *path = g_build_filename(dirs[0], PACKAGE, "ui", name, NULL); + if (gtk_builder_add_from_file(builder, path, NULL) != 0) { + g_free(path); + break; + } + g_free(path); + dirs++; + } + if (dirs[0] == NULL) + goto failed; + } + + if (error) { + g_error("Cannot load UI description %s: %s", name, + error->message); + g_clear_error(&error); + goto failed; + } + + return builder; + failed: + g_error("failed to find UI description file"); + g_object_unref(builder); + return NULL; +} + +int +virt_viewer_util_extract_host(const char *uristr, + char **scheme, + char **host, + char **transport, + char **user, + int *port) +{ + xmlURIPtr uri; + char *offset = NULL; + + if (uristr == NULL || + !g_ascii_strcasecmp(uristr, "xen")) + uristr = "xen:///"; + + uri = xmlParseURI(uristr); + g_return_val_if_fail(uri != NULL, 1); + + if (host) { + if (!uri || !uri->server) { + *host = g_strdup("localhost"); + } else { + if (uri->server[0] == '[') { + gchar *tmp; + *host = g_strdup(uri->server + 1); + if ((tmp = strchr(*host, ']'))) + *tmp = '\0'; + } else { + *host = g_strdup(uri->server); + } + } + } + + if (user) { + if (uri->user) + *user = g_strdup(uri->user); + else + *user = NULL; + } + + if (port) + *port = uri->port; + + if (uri->scheme) + offset = strchr(uri->scheme, '+'); + + if (transport) { + if (offset) + *transport = g_strdup(offset + 1); + else + *transport = NULL; + } + + if (scheme && uri->scheme) { + if (offset) + *scheme = g_strndup(uri->scheme, offset - uri->scheme); + else + *scheme = g_strdup(uri->scheme); + } + + xmlFreeURI(uri); + return 0; +} + +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-util.h b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-util.h new file mode 100644 index 0000000..3a40651 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-util.h @@ -0,0 +1,51 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, Inc. + * Copyright (C) 2009-2012 Daniel P. Berrange + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ + +#ifndef VIRT_VIEWER_UTIL_H +#define VIRT_VIEWER_UTIL_H + +#include <gtk/gtk.h> + +extern gboolean doDebug; + +#define DEBUG_LOG(s, ...) do { if (doDebug) g_debug(s, ## __VA_ARGS__); } while (0) +#define ARRAY_CARDINALITY(Array) (sizeof (Array) / sizeof *(Array)) + + +GtkBuilder *virt_viewer_util_load_ui(const char *name); +int virt_viewer_util_extract_host(const char *uristr, + char **scheme, + char **host, + char **transport, + char **user, + int *port); + +#endif + +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-window.c b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-window.c new file mode 100644 index 0000000..820ba0e --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-window.c @@ -0,0 +1,1380 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, Inc. + * Copyright (C) 2009-2012 Daniel P. Berrange + * Copyright (C) 2010 Marc-André Lureau + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ + +#ifdef CONFIG_MARU +#ifdef WIN32 +#define off_t long +#define off64_t long long +#endif +#endif + +#include <config.h> + +#include <gdk/gdkkeysyms.h> +#include <gtk/gtk.h> +#include <sys/types.h> +#include <sys/stat.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> +#include <locale.h> +#include <glib/gprintf.h> +#include <glib/gi18n.h> + +#include "virt-gtk-compat.h" +#include "virt-viewer-window.h" +#include "virt-viewer-session.h" +#include "virt-viewer-app.h" +#include "virt-viewer-util.h" +#include "view/autoDrawer.h" + +/* Signal handlers for main window (move in a VirtViewerMainWindow?) */ +void virt_viewer_window_menu_view_zoom_out(GtkWidget *menu, VirtViewerWindow *self); +void virt_viewer_window_menu_view_zoom_in(GtkWidget *menu, VirtViewerWindow *self); +void virt_viewer_window_menu_view_zoom_reset(GtkWidget *menu, VirtViewerWindow *self); +gboolean virt_viewer_window_delete(GtkWidget *src, void *dummy, VirtViewerWindow *self); +void virt_viewer_window_menu_file_quit(GtkWidget *src, VirtViewerWindow *self); +#ifdef CONFIG_MARU +void virt_viewer_window_hwkey_menu_press(GtkWidget *src, VirtViewerWindow *self); +void virt_viewer_window_hwkey_menu_release(GtkWidget *src, VirtViewerWindow *self); +void virt_viewer_window_hwkey_home_press(GtkWidget *src, VirtViewerWindow *self); +void virt_viewer_window_hwkey_back_press(GtkWidget *src, VirtViewerWindow *self); +void virt_viewer_window_hwkey_back_release(GtkWidget *src, VirtViewerWindow *self); +void virt_viewer_window_hwkey_home_release(GtkWidget *src, VirtViewerWindow *self); +void virt_viewer_window_hwkey_power_press(GtkWidget *src, VirtViewerWindow *self); +void virt_viewer_window_hwkey_power_release(GtkWidget *src, VirtViewerWindow *self); +void virt_viewer_window_hwkey_vol_up_press(GtkWidget *src, VirtViewerWindow *self); +void virt_viewer_window_hwkey_vol_up_release(GtkWidget *src, VirtViewerWindow *self); +void virt_viewer_window_hwkey_vol_down_press(GtkWidget *src, VirtViewerWindow *self); +void virt_viewer_window_hwkey_vol_down_release(GtkWidget *src, VirtViewerWindow *self); +void virt_viewer_window_hwkeys_press(const char *name, VirtViewerWindow *self); +void virt_viewer_window_hwkeys_release(const char *name, VirtViewerWindow *self); +void virt_viewer_window_menu_always_on_top(GtkWidget *menu, VirtViewerWindow *self); +#endif +void virt_viewer_window_menu_help_about(GtkWidget *menu, VirtViewerWindow *self); +void virt_viewer_window_menu_view_fullscreen(GtkWidget *menu, VirtViewerWindow *self); +void virt_viewer_window_menu_view_resize(GtkWidget *menu, VirtViewerWindow *self); +void virt_viewer_window_menu_send(GtkWidget *menu, VirtViewerWindow *self); +void virt_viewer_window_menu_file_screenshot(GtkWidget *menu, VirtViewerWindow *self); +void virt_viewer_window_menu_file_usb_device_selection(GtkWidget *menu, VirtViewerWindow *self); +void virt_viewer_window_menu_file_smartcard_insert(GtkWidget *menu, VirtViewerWindow *self); +void virt_viewer_window_menu_file_smartcard_remove(GtkWidget *menu, VirtViewerWindow *self); +void virt_viewer_window_menu_view_release_cursor(GtkWidget *menu, VirtViewerWindow *self); + +/* Internal methods */ +static void virt_viewer_window_enable_modifiers(VirtViewerWindow *self); +static void virt_viewer_window_disable_modifiers(VirtViewerWindow *self); +static void virt_viewer_window_resize(VirtViewerWindow *self); +static void virt_viewer_window_toolbar_setup(VirtViewerWindow *self); +static GtkMenu* virt_viewer_window_get_keycombo_menu(VirtViewerWindow *self); + +G_DEFINE_TYPE (VirtViewerWindow, virt_viewer_window, G_TYPE_OBJECT) + +#define GET_PRIVATE(o) \ + (G_TYPE_INSTANCE_GET_PRIVATE ((o), VIRT_VIEWER_TYPE_WINDOW, VirtViewerWindowPrivate)) + +enum { + PROP_0, + PROP_WINDOW, + PROP_DISPLAY, + PROP_SUBTITLE, + PROP_CONTAINER, + PROP_APP, +}; + +struct _VirtViewerWindowPrivate { + VirtViewerApp *app; + GtkContainer *container; /* if any, then there is no window */ + + GtkBuilder *builder; + GtkWidget *window; + GtkWidget *layout; + GtkWidget *toolbar; + GtkWidget *toolbar_usb_device_selection; + GtkWidget *toolbar_send_key; + GtkAccelGroup *accel_group; + VirtViewerNotebook *notebook; + VirtViewerDisplay *display; + + gboolean accel_enabled; + GValue accel_setting; + GSList *accel_list; + gboolean enable_mnemonics_save; + gboolean grabbed; + gboolean before_saved; + GdkRectangle before_fullscreen; + gboolean desktop_resize_pending; + + gint zoomlevel; + gboolean auto_resize; + gboolean fullscreen; + gchar *subtitle; +}; + +static void +virt_viewer_window_get_property (GObject *object, guint property_id, + GValue *value, GParamSpec *pspec) +{ + VirtViewerWindowPrivate *priv = VIRT_VIEWER_WINDOW(object)->priv; + + switch (property_id) { + case PROP_SUBTITLE: + g_value_set_string(value, priv->subtitle); + break; + + case PROP_WINDOW: + g_value_set_object(value, priv->window); + break; + + case PROP_DISPLAY: + g_value_set_object(value, priv->display); + break; + + case PROP_CONTAINER: + g_value_set_object(value, priv->container); + break; + + case PROP_APP: + g_value_set_object(value, priv->app); + break; + + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); + } +} + +static void +virt_viewer_window_set_property (GObject *object, guint property_id, + const GValue *value, GParamSpec *pspec) +{ + VirtViewerWindowPrivate *priv = VIRT_VIEWER_WINDOW(object)->priv; + + switch (property_id) { + case PROP_SUBTITLE: + g_free(priv->subtitle); + priv->subtitle = g_value_dup_string(value); + virt_viewer_window_update_title(VIRT_VIEWER_WINDOW(object)); + break; + + case PROP_CONTAINER: + g_return_if_fail(priv->container == NULL); + priv->container = g_value_dup_object(value); + break; + + case PROP_APP: + g_return_if_fail(priv->app == NULL); + priv->app = g_value_get_object(value); + break; + + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); + } +} + +static void +virt_viewer_window_dispose (GObject *object) +{ + VirtViewerWindowPrivate *priv = VIRT_VIEWER_WINDOW(object)->priv; + G_OBJECT_CLASS (virt_viewer_window_parent_class)->dispose (object); + + if (priv->display) { + g_object_unref(priv->display); + priv->display = NULL; + } + + DEBUG_LOG("Disposing window %p\n", object); + + if (priv->window) { + gtk_widget_destroy(priv->window); + priv->window = NULL; + } + if (priv->builder) { + g_object_unref(priv->builder); + priv->builder = NULL; + } + + g_free(priv->subtitle); + priv->subtitle = NULL; +} + +static void +virt_viewer_window_class_init (VirtViewerWindowClass *klass) +{ + GObjectClass *object_class = G_OBJECT_CLASS (klass); + + g_type_class_add_private (klass, sizeof (VirtViewerWindowPrivate)); + + object_class->get_property = virt_viewer_window_get_property; + object_class->set_property = virt_viewer_window_set_property; + object_class->dispose = virt_viewer_window_dispose; + + g_object_class_install_property(object_class, + PROP_SUBTITLE, + g_param_spec_string("subtitle", + "Subtitle", + "Window subtitle", + "", + G_PARAM_READABLE | + G_PARAM_WRITABLE | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property(object_class, + PROP_WINDOW, + g_param_spec_object("window", + "Window", + "GtkWindow", + GTK_TYPE_WIDGET, + G_PARAM_READABLE | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property(object_class, + PROP_DISPLAY, + g_param_spec_object("display", + "Display", + "VirtDisplay", + VIRT_VIEWER_TYPE_DISPLAY, + G_PARAM_READABLE | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property(object_class, + PROP_CONTAINER, + g_param_spec_object("container", + "Container", + "Container widget", + VIRT_VIEWER_TYPE_DISPLAY, + G_PARAM_READABLE | + G_PARAM_WRITABLE | + G_PARAM_CONSTRUCT_ONLY | + G_PARAM_STATIC_STRINGS)); + + g_object_class_install_property(object_class, + PROP_APP, + g_param_spec_object("app", + "App", + "VirtViewerApp", + VIRT_VIEWER_TYPE_APP, + G_PARAM_READABLE | + G_PARAM_WRITABLE | + G_PARAM_CONSTRUCT_ONLY | + G_PARAM_STATIC_STRINGS)); +} + +static gboolean +can_activate_cb (GtkWidget *widget G_GNUC_UNUSED, + guint signal_id G_GNUC_UNUSED, + VirtViewerWindow *self G_GNUC_UNUSED) +{ + return TRUE; +} + +static void +virt_viewer_window_init (VirtViewerWindow *self) +{ + VirtViewerWindowPrivate *priv; + GtkWidget *vbox; + GtkWidget *menu; + GdkColor color; + GSList *accels; + + self->priv = GET_PRIVATE(self); + priv = self->priv; + + priv->auto_resize = TRUE; + + g_value_init(&priv->accel_setting, G_TYPE_STRING); + + priv->notebook = virt_viewer_notebook_new(); + priv->builder = virt_viewer_util_load_ui("virt-viewer.xml"); + + menu = GTK_WIDGET(gtk_builder_get_object(priv->builder, "menu-view-resize")); + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu), TRUE); + gtk_widget_set_sensitive(GTK_WIDGET(gtk_builder_get_object(self->priv->builder, "menu-send")), FALSE); + gtk_widget_set_sensitive(GTK_WIDGET(gtk_builder_get_object(self->priv->builder, "menu-file-screenshot")), FALSE); + + gtk_builder_connect_signals(priv->builder, self); + + priv->accel_group = GTK_ACCEL_GROUP(gtk_builder_get_object(priv->builder, "accelgroup")); + + /* make sure they can be activated even if the menu item is not visible */ + g_signal_connect(gtk_builder_get_object(priv->builder, "menu-view-fullscreen"), + "can-activate-accel", G_CALLBACK(can_activate_cb), self); + g_signal_connect(gtk_builder_get_object(priv->builder, "menu-file-smartcard-insert"), + "can-activate-accel", G_CALLBACK(can_activate_cb), self); + g_signal_connect(gtk_builder_get_object(priv->builder, "menu-file-smartcard-remove"), + "can-activate-accel", G_CALLBACK(can_activate_cb), self); + g_signal_connect(gtk_builder_get_object(priv->builder, "menu-view-release-cursor"), + "can-activate-accel", G_CALLBACK(can_activate_cb), self); + + vbox = GTK_WIDGET(gtk_builder_get_object(priv->builder, "viewer-box")); + virt_viewer_window_toolbar_setup(self); + + gtk_box_pack_end(GTK_BOX(vbox), priv->layout, TRUE, TRUE, 0); + gdk_color_parse("black", &color); + gtk_widget_modify_bg(priv->layout, GTK_STATE_NORMAL, &color); + + priv->window = GTK_WIDGET(gtk_builder_get_object(priv->builder, "viewer")); + gtk_window_add_accel_group(GTK_WINDOW(priv->window), priv->accel_group); + + virt_viewer_window_update_title(self); + gtk_window_set_resizable(GTK_WINDOW(priv->window), TRUE); +#if GTK_CHECK_VERSION(3, 0, 0) + gtk_window_set_has_resize_grip(GTK_WINDOW(priv->window), FALSE); +#endif + priv->accel_enabled = TRUE; + + accels = gtk_accel_groups_from_object(G_OBJECT(priv->window)); + for ( ; accels ; accels = accels->next) { + priv->accel_list = g_slist_append(priv->accel_list, accels->data); + g_object_ref(G_OBJECT(accels->data)); + } + + priv->zoomlevel = 100; +} + +static void +virt_viewer_window_desktop_resize(VirtViewerDisplay *display G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + if (!gtk_widget_get_visible(self->priv->window)) { + self->priv->desktop_resize_pending = TRUE; + return; + } + virt_viewer_window_resize(self); +} + + +G_MODULE_EXPORT void +virt_viewer_window_menu_view_zoom_out(GtkWidget *menu G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + VirtViewerWindowPrivate *priv = self->priv; + + if (priv->zoomlevel > 10) + priv->zoomlevel -= 10; + + if (!priv->display) + return; + + gtk_window_resize(GTK_WINDOW(priv->window), 1, 1); + if (priv->display) + virt_viewer_display_set_zoom_level(VIRT_VIEWER_DISPLAY(priv->display), priv->zoomlevel); +} + +G_MODULE_EXPORT void +virt_viewer_window_menu_view_zoom_in(GtkWidget *menu G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + VirtViewerWindowPrivate *priv = self->priv; + + if (priv->zoomlevel < 400) + priv->zoomlevel += 10; + + if (!priv->display) + return; + + gtk_window_resize(GTK_WINDOW(priv->window), 1, 1); + if (priv->display) + virt_viewer_display_set_zoom_level(VIRT_VIEWER_DISPLAY(priv->display), priv->zoomlevel); +} + +G_MODULE_EXPORT void +virt_viewer_window_menu_view_zoom_reset(GtkWidget *menu G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + VirtViewerWindowPrivate *priv = self->priv; + gtk_window_resize(GTK_WINDOW(priv->window), 1, 1); + priv->zoomlevel = 100; + + if (priv->display) + virt_viewer_display_set_zoom_level(VIRT_VIEWER_DISPLAY(priv->display), priv->zoomlevel); +} + +/* + * This code attempts to resize the top level window to be large enough + * to contain the entire display desktop at 1:1 ratio. If the local desktop + * isn't large enough that it goes as large as possible and lets the display + * scale down to fit, maintaining aspect ratio + */ +static void +virt_viewer_window_resize(VirtViewerWindow *self) +{ + GdkRectangle fullscreen; + GdkScreen *screen; + int width, height; + double desktopAspect; + double screenAspect; + guint desktopWidth; + guint desktopHeight; + VirtViewerWindowPrivate *priv = self->priv; + + if (!priv->auto_resize || priv->fullscreen) + return; + + DEBUG_LOG("Preparing main window resize"); + if (!priv->display) { + DEBUG_LOG("Skipping inactive resize"); + return; + } + + gtk_window_resize(GTK_WINDOW(priv->window), 1, 1); + virt_viewer_display_get_desktop_size(VIRT_VIEWER_DISPLAY(priv->display), + &desktopWidth, &desktopHeight); + + screen = gtk_widget_get_screen(priv->window); + gdk_screen_get_monitor_geometry(screen, + gdk_screen_get_monitor_at_window + (screen, gtk_widget_get_window(priv->window)), + &fullscreen); + + desktopAspect = (double)desktopWidth / (double)desktopHeight; + screenAspect = (double)(fullscreen.width - 128) / (double)(fullscreen.height - 128); + + if ((desktopWidth > (fullscreen.width - 128)) || + (desktopHeight > (fullscreen.height - 128))) { + /* Doesn't fit native res, so go as large as possible + maintaining aspect ratio */ + if (screenAspect > desktopAspect) { + width = desktopHeight * desktopAspect; + height = desktopHeight; + } else { + width = desktopWidth; + height = desktopWidth / desktopAspect; + } + } else { + width = desktopWidth; + height = desktopHeight; + } + + DEBUG_LOG("Decided todo %dx%d (desktop is %dx%d, fullscreen is %dx%d", + width, height, desktopWidth, desktopHeight, + fullscreen.width, fullscreen.height); + + virt_viewer_display_set_desktop_size(VIRT_VIEWER_DISPLAY(priv->display), + width, height); +} + +void +virt_viewer_window_leave_fullscreen(VirtViewerWindow *self) +{ + VirtViewerWindowPrivate *priv = self->priv; + GtkWidget *menu = GTK_WIDGET(gtk_builder_get_object(priv->builder, "top-menu")); + GtkCheckMenuItem *check = GTK_CHECK_MENU_ITEM(gtk_builder_get_object(priv->builder, "menu-view-fullscreen")); + + if (!priv->fullscreen) + return; + + gtk_check_menu_item_set_active(check, FALSE); + priv->fullscreen = FALSE; + ViewAutoDrawer_SetActive(VIEW_AUTODRAWER(priv->layout), FALSE); + gtk_widget_show(menu); + gtk_widget_hide(priv->toolbar); +#ifdef G_OS_WIN32 + gtk_widget_set_size_request(GTK_WIDGET(priv->window), -1, -1); +#endif + gtk_window_unfullscreen(GTK_WINDOW(priv->window)); + + if (priv->before_saved) { + gtk_window_move(GTK_WINDOW(priv->window), + priv->before_fullscreen.x, + priv->before_fullscreen.y); + gtk_window_resize(GTK_WINDOW(priv->window), + priv->before_fullscreen.width, + priv->before_fullscreen.height); + priv->before_saved = FALSE; + } +} + +void +virt_viewer_window_enter_fullscreen(VirtViewerWindow *self, gboolean move, gint x, gint y) +{ + VirtViewerWindowPrivate *priv = self->priv; + GtkWidget *menu = GTK_WIDGET(gtk_builder_get_object(priv->builder, "top-menu")); + GtkCheckMenuItem *check = GTK_CHECK_MENU_ITEM(gtk_builder_get_object(priv->builder, "menu-view-fullscreen")); + + if (!priv->before_saved) { + gtk_window_get_position(GTK_WINDOW(priv->window), + &priv->before_fullscreen.x, + &priv->before_fullscreen.y); + gtk_window_get_size(GTK_WINDOW(priv->window), + &priv->before_fullscreen.width, + &priv->before_fullscreen.height); + priv->before_saved = TRUE; + } + + if (priv->fullscreen) + return; + priv->fullscreen = TRUE; + + gtk_check_menu_item_set_active(check, TRUE); + gtk_widget_hide(menu); + gtk_widget_show(priv->toolbar); + ViewAutoDrawer_SetActive(VIEW_AUTODRAWER(priv->layout), TRUE); + ViewAutoDrawer_Close(VIEW_AUTODRAWER(priv->layout)); + + /* g_debug("enter fullscreen move:%d %d+%d", move, x, y); */ + if (move) + gtk_window_move(GTK_WINDOW(priv->window), x, y); + + gtk_window_fullscreen(GTK_WINDOW(priv->window)); +#ifdef G_OS_WIN32 + /* on windows, fullscreen doesn't always hide the taskbar + See https://bugzilla.gnome.org/show_bug.cgi?id=652049 */ + gtk_widget_set_size_request(GTK_WIDGET(priv->window), + gdk_screen_width(), + gdk_screen_height()); +#endif +} + +#define MAX_KEY_COMBO 3 +struct keyComboDef { + guint keys[MAX_KEY_COMBO]; + guint nkeys; + const char *label; +}; + +static const struct keyComboDef keyCombos[] = { +#ifdef CONFIG_MARU + { {}, 0, "" }, + { { 169 }, 1, "Menu"}, // 1 + { { 139 }, 1, "Home"}, + { { 158 }, 1, "Back"}, + { { 116 }, 1, "Power"}, + { { 115 }, 1, "Volume+"}, + { { 114 }, 1, "Volume-"}, + { { 0 }, 1, "Rotation 0"}, // 7 + { { 1 }, 1, "Rotation 90"}, + { { 2 }, 1, "Rotation 180"}, + { { 3 }, 1, "Rotation 270"}, + { { 1 }, 1, "Host keyboard on"}, // 11 + { { 0 }, 1, "Host keyboard off"}, + { { 1 }, 1, "Force close"}, // 13 + { { 0 }, 1, "Close"}, + { { 0 }, 1, "Shell"}, +#else + { { GDK_Control_L, GDK_Alt_L, GDK_Delete }, 3, "Ctrl+Alt+_Del"}, + { { GDK_Control_L, GDK_Alt_L, GDK_BackSpace }, 3, "Ctrl+Alt+_Backspace"}, + { {}, 0, "" }, + { { GDK_Control_L, GDK_Alt_L, GDK_F1 }, 3, "Ctrl+Alt+F_1"}, + { { GDK_Control_L, GDK_Alt_L, GDK_F2 }, 3, "Ctrl+Alt+F_2"}, + { { GDK_Control_L, GDK_Alt_L, GDK_F3 }, 3, "Ctrl+Alt+F_3"}, + { { GDK_Control_L, GDK_Alt_L, GDK_F4 }, 3, "Ctrl+Alt+F_4"}, + { { GDK_Control_L, GDK_Alt_L, GDK_F5 }, 3, "Ctrl+Alt+F_5"}, + { { GDK_Control_L, GDK_Alt_L, GDK_F6 }, 3, "Ctrl+Alt+F_6"}, + { { GDK_Control_L, GDK_Alt_L, GDK_F7 }, 3, "Ctrl+Alt+F_7"}, + { { GDK_Control_L, GDK_Alt_L, GDK_F8 }, 3, "Ctrl+Alt+F_8"}, + { { GDK_Control_L, GDK_Alt_L, GDK_F9 }, 3, "Ctrl+Alt+F_9"}, + { { GDK_Control_L, GDK_Alt_L, GDK_F10 }, 3, "Ctrl+Alt+F1_0"}, + { { GDK_Control_L, GDK_Alt_L, GDK_F11 }, 3, "Ctrl+Alt+F11"}, + { { GDK_Control_L, GDK_Alt_L, GDK_F12 }, 3, "Ctrl+Alt+F12"}, + { {}, 0, "" }, + { { GDK_Print }, 1, "_PrintScreen"}, +#endif +}; + +G_MODULE_EXPORT void +virt_viewer_window_menu_send(GtkWidget *menu, + VirtViewerWindow *self) +{ + int i; +#ifdef CONFIG_MARU + int width, height; +#endif + + GtkWidget *label = gtk_bin_get_child(GTK_BIN(menu)); + const char *text = gtk_label_get_label(GTK_LABEL(label)); + VirtViewerWindowPrivate *priv = self->priv; + + for (i = 0 ; i < G_N_ELEMENTS(keyCombos) ; i++) { + if (!strcmp(text, keyCombos[i].label)) { + DEBUG_LOG("Sending key combo %s", gtk_label_get_text(GTK_LABEL(label))); +#ifdef CONFIG_MARU + if (i < 1) { + virt_viewer_display_send_keys(VIRT_VIEWER_DISPLAY(priv->display), + keyCombos[i].keys, + keyCombos[i].nkeys); + } else if (i >= 7 && i < 11) { + virt_viewer_display_send_rotation_type(VIRT_VIEWER_DISPLAY(priv->display), + keyCombos[i].keys, + keyCombos[i].nkeys); + + gtk_window_get_size(GTK_WINDOW(priv->window), &width, &height); + + if ( *(keyCombos[i].keys) == 1 || *(keyCombos[i].keys) == 3) { + if (width < height) { + gtk_window_resize(GTK_WINDOW(priv->window), height, width); + } else { + gtk_window_reshow_with_initial_size(GTK_WINDOW(priv->window)); + gtk_window_resize(GTK_WINDOW(priv->window), width, height); + } + } + else { + if (width > height) { + gtk_window_resize(GTK_WINDOW(priv->window), height, width); + } else { + gtk_window_reshow_with_initial_size(GTK_WINDOW(priv->window)); + gtk_window_resize(GTK_WINDOW(priv->window), width, height); + } + } + } else if (i >= 11 && i < 13) { + virt_viewer_display_send_hostkbd_onoff(VIRT_VIEWER_DISPLAY(priv->display), + keyCombos[i].keys, + keyCombos[i].nkeys); + } else if ( i >= 13 && i < 15) { + virt_viewer_display_send_close_type(VIRT_VIEWER_DISPLAY(priv->display), + keyCombos[i].keys, + keyCombos[i].nkeys); + } else if (i == 15) { + virt_viewer_display_req_sdb_port(VIRT_VIEWER_DISPLAY(priv->display), + keyCombos[i].keys, + keyCombos[i].nkeys); + } +#else + virt_viewer_display_send_keys(VIRT_VIEWER_DISPLAY(priv->display), + keyCombos[i].keys, + keyCombos[i].nkeys); +#endif + return; + } + + } + + DEBUG_LOG("Failed to find key combo %s", gtk_label_get_text(GTK_LABEL(label))); +} + +static GtkMenu* +virt_viewer_window_get_keycombo_menu(VirtViewerWindow *self) +{ + gint i; + GtkMenu *menu = GTK_MENU(gtk_menu_new()); + + for (i = 0 ; i < G_N_ELEMENTS(keyCombos) ; i++) { + GtkWidget *item; + if (keyCombos[i].nkeys == 0) { + item = gtk_separator_menu_item_new (); + } else { + item = gtk_menu_item_new_with_mnemonic(keyCombos[i].label); + g_signal_connect(item, "activate", G_CALLBACK(virt_viewer_window_menu_send), self); + } + gtk_container_add(GTK_CONTAINER(menu), item); + } + + gtk_widget_show_all(GTK_WIDGET(menu)); + return g_object_ref_sink(menu); +} + +void +virt_viewer_window_disable_modifiers(VirtViewerWindow *self) +{ + GtkSettings *settings = gtk_settings_get_default(); + VirtViewerWindowPrivate *priv = self->priv; + GValue empty; + GSList *accels; + + if (!priv->accel_enabled) + return; + + /* This stops F10 activating menu bar */ + memset(&empty, 0, sizeof empty); + g_value_init(&empty, G_TYPE_STRING); + g_object_get_property(G_OBJECT(settings), "gtk-menu-bar-accel", &priv->accel_setting); + g_object_set_property(G_OBJECT(settings), "gtk-menu-bar-accel", &empty); + + /* This stops global accelerators like Ctrl+Q == Quit */ + for (accels = priv->accel_list ; accels ; accels = accels->next) { + if (virt_viewer_app_get_enable_accel(priv->app) && + priv->accel_group == accels->data) + continue; + gtk_window_remove_accel_group(GTK_WINDOW(priv->window), accels->data); + } + + /* This stops menu bar shortcuts like Alt+F == File */ + g_object_get(settings, + "gtk-enable-mnemonics", &priv->enable_mnemonics_save, + NULL); + g_object_set(settings, + "gtk-enable-mnemonics", FALSE, + NULL); + + priv->accel_enabled = FALSE; +} + +void +virt_viewer_window_enable_modifiers(VirtViewerWindow *self) +{ + GtkSettings *settings = gtk_settings_get_default(); + VirtViewerWindowPrivate *priv = self->priv; + GSList *accels; + + if (priv->accel_enabled) + return; + + /* This allows F10 activating menu bar */ + g_object_set_property(G_OBJECT(settings), "gtk-menu-bar-accel", &priv->accel_setting); + + /* This allows global accelerators like Ctrl+Q == Quit */ + for (accels = priv->accel_list ; accels ; accels = accels->next) { + if (virt_viewer_app_get_enable_accel(priv->app) && + priv->accel_group == accels->data) + continue; + gtk_window_add_accel_group(GTK_WINDOW(priv->window), accels->data); + } + + /* This allows menu bar shortcuts like Alt+F == File */ + g_object_set(settings, + "gtk-enable-mnemonics", priv->enable_mnemonics_save, + NULL); + + priv->accel_enabled = TRUE; +} + + +G_MODULE_EXPORT gboolean +virt_viewer_window_delete(GtkWidget *src G_GNUC_UNUSED, + void *dummy G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + DEBUG_LOG("Window closed"); + virt_viewer_app_window_set_visible(self->priv->app, self, FALSE); + return TRUE; +} + + +G_MODULE_EXPORT void +virt_viewer_window_menu_file_quit(GtkWidget *src G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + virt_viewer_app_quit(self->priv->app); +} + +#ifdef CONFIG_MARU +G_MODULE_EXPORT void +virt_viewer_window_hwkey_menu_press(GtkWidget *src G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + virt_viewer_window_hwkeys_press("Menu", self); +} + +G_MODULE_EXPORT void +virt_viewer_window_hwkey_home_press(GtkWidget *src G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + virt_viewer_window_hwkeys_press("Home", self); +} + +G_MODULE_EXPORT void +virt_viewer_window_hwkey_back_press(GtkWidget *src G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + virt_viewer_window_hwkeys_press("Back", self); +} + +G_MODULE_EXPORT void +virt_viewer_window_hwkey_power_press(GtkWidget *src G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + virt_viewer_window_hwkeys_press("Power", self); +} + +G_MODULE_EXPORT void +virt_viewer_window_hwkey_vol_up_press(GtkWidget *src G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + virt_viewer_window_hwkeys_press("Volume+", self); +} + +G_MODULE_EXPORT void +virt_viewer_window_hwkey_vol_down_press(GtkWidget *src G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + virt_viewer_window_hwkeys_press("Volume-", self); +} + +G_MODULE_EXPORT void +virt_viewer_window_hwkeys_press(const char *name, VirtViewerWindow *self) +{ + int i = 0; + VirtViewerWindowPrivate *priv = self->priv; + for (i = 0 ; i < G_N_ELEMENTS(keyCombos) ; i++) { + if (!strcmp(name, keyCombos[i].label)) { + virt_viewer_display_send_hwkey_press(VIRT_VIEWER_DISPLAY(priv->display), + keyCombos[i].keys, + keyCombos[i].nkeys); + } + } +} + +G_MODULE_EXPORT void +virt_viewer_window_hwkey_menu_release(GtkWidget *src G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + virt_viewer_window_hwkeys_release("Menu", self); +} + +G_MODULE_EXPORT void +virt_viewer_window_hwkey_home_release(GtkWidget *src G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + virt_viewer_window_hwkeys_release("Home", self); +} + +G_MODULE_EXPORT void +virt_viewer_window_hwkey_back_release(GtkWidget *src G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + virt_viewer_window_hwkeys_release("Back", self); +} + +G_MODULE_EXPORT void +virt_viewer_window_hwkey_power_release(GtkWidget *src G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + virt_viewer_window_hwkeys_release("Power", self); +} + +G_MODULE_EXPORT void +virt_viewer_window_hwkey_vol_up_release(GtkWidget *src G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + virt_viewer_window_hwkeys_release("Volume+", self); +} + +G_MODULE_EXPORT void +virt_viewer_window_hwkey_vol_down_release(GtkWidget *src G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + virt_viewer_window_hwkeys_release("Volume-", self); +} + +G_MODULE_EXPORT void +virt_viewer_window_hwkeys_release(const char *name, VirtViewerWindow *self) +{ + int i = 0; + VirtViewerWindowPrivate *priv = self->priv; + for (i = 0 ; i < G_N_ELEMENTS(keyCombos) ; i++) { + if (!strcmp(name, keyCombos[i].label)) { + virt_viewer_display_send_hwkey_release(VIRT_VIEWER_DISPLAY(priv->display), + keyCombos[i].keys, + keyCombos[i].nkeys); + } + } +} +#endif + +static void +virt_viewer_window_toolbar_leave_fullscreen(GtkWidget *button G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + g_object_set(self->priv->app, "fullscreen", FALSE, NULL); +} + +static void keycombo_menu_location(GtkMenu *menu G_GNUC_UNUSED, gint *x, gint *y, + gboolean *push_in, gpointer user_data) +{ + VirtViewerWindow *self = user_data; + GtkAllocation allocation; + + *push_in = TRUE; + gdk_window_get_origin(gtk_widget_get_window(self->priv->toolbar_send_key), x, y); + gtk_widget_translate_coordinates(self->priv->toolbar_send_key, gtk_widget_get_toplevel(self->priv->toolbar_send_key), + 0, 0, x, y); + gtk_widget_get_allocation(self->priv->toolbar_send_key, &allocation); + *y += allocation.height; +} + +static void +virt_viewer_window_toolbar_send_key(GtkWidget *button G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + GtkMenu *menu = virt_viewer_window_get_keycombo_menu(self); + gtk_menu_popup(menu, NULL, NULL, keycombo_menu_location, self, + 0, gtk_get_current_event_time()); + g_object_unref(menu); +} + + +G_MODULE_EXPORT void +virt_viewer_window_menu_view_fullscreen(GtkWidget *menu, + VirtViewerWindow *self) +{ + gboolean fullscreen = gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menu)); + + g_object_set(self->priv->app, "fullscreen", fullscreen, NULL); +} + +G_MODULE_EXPORT void +virt_viewer_window_menu_view_resize(GtkWidget *menu, + VirtViewerWindow *self) +{ + VirtViewerWindowPrivate *priv = self->priv; + + if (gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menu))) { + priv->auto_resize = TRUE; + virt_viewer_window_resize(self); + } else { + priv->auto_resize = FALSE; + } + + virt_viewer_display_set_auto_resize(priv->display, priv->auto_resize); +} + +#ifdef CONFIG_MARU +G_MODULE_EXPORT void +virt_viewer_window_menu_always_on_top(GtkWidget *menu, + VirtViewerWindow *self) +{ + VirtViewerWindowPrivate *priv = self->priv; + + if (gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menu))) { + gtk_window_set_keep_above(GTK_WINDOW(priv->window), TRUE); + } else { + gtk_window_set_keep_above(GTK_WINDOW(priv->window), FALSE); + } +} +#endif + +static void +virt_viewer_window_save_screenshot(VirtViewerWindow *self, + const char *file) +{ + VirtViewerWindowPrivate *priv = self->priv; + GdkPixbuf *pix = virt_viewer_display_get_pixbuf(VIRT_VIEWER_DISPLAY(priv->display)); + + gdk_pixbuf_save(pix, file, "png", NULL, + "tEXt::Generator App", PACKAGE, NULL); + g_object_unref(pix); +} + +G_MODULE_EXPORT void +virt_viewer_window_menu_file_screenshot(GtkWidget *menu G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + GtkWidget *dialog; + VirtViewerWindowPrivate *priv = self->priv; + + g_return_if_fail(priv->display != NULL); + + dialog = gtk_file_chooser_dialog_new("Save screenshot", + NULL, + GTK_FILE_CHOOSER_ACTION_SAVE, + GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, + GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, + NULL); + gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER (dialog), TRUE); + gtk_window_set_transient_for(GTK_WINDOW(dialog), + GTK_WINDOW(self->priv->window)); + +// gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (dialog), default_folder_for_saving); +// gtk_file_chooser_set_current_name (GTK_FILE_CHOOSER (dialog), "Screenshot"); + + if (gtk_dialog_run(GTK_DIALOG (dialog)) == GTK_RESPONSE_ACCEPT) { + char *filename; + + filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER (dialog)); + virt_viewer_window_save_screenshot(self, filename); + g_free(filename); + } + + gtk_widget_destroy(dialog); +} + +G_MODULE_EXPORT void +virt_viewer_window_menu_file_usb_device_selection(GtkWidget *menu G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + virt_viewer_session_usb_device_selection(virt_viewer_app_get_session(self->priv->app), + GTK_WINDOW(self->priv->window)); +} + +G_MODULE_EXPORT void +virt_viewer_window_menu_file_smartcard_insert(GtkWidget *menu G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + virt_viewer_session_smartcard_insert(virt_viewer_app_get_session(self->priv->app)); +} + +G_MODULE_EXPORT void +virt_viewer_window_menu_file_smartcard_remove(GtkWidget *menu G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + virt_viewer_session_smartcard_remove(virt_viewer_app_get_session(self->priv->app)); +} + +G_MODULE_EXPORT void +virt_viewer_window_menu_view_release_cursor(GtkWidget *menu G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + virt_viewer_display_release_cursor(VIRT_VIEWER_DISPLAY(self->priv->display)); +} + +G_MODULE_EXPORT void +virt_viewer_window_menu_help_about(GtkWidget *menu G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + GtkBuilder *about = virt_viewer_util_load_ui("virt-viewer-about.xml"); + + GtkWidget *dialog = GTK_WIDGET(gtk_builder_get_object(about, "about")); + gtk_about_dialog_set_version(GTK_ABOUT_DIALOG(dialog), VERSION); + + gtk_window_set_transient_for(GTK_WINDOW(dialog), + GTK_WINDOW(self->priv->window)); + + gtk_builder_connect_signals(about, self); + + gtk_widget_show_all(dialog); + + g_object_unref(G_OBJECT(about)); +} + +static void +virt_viewer_window_toolbar_setup(VirtViewerWindow *self) +{ + GtkWidget *button; + VirtViewerWindowPrivate *priv = self->priv; + + priv->toolbar = gtk_toolbar_new(); + gtk_toolbar_set_show_arrow(GTK_TOOLBAR(priv->toolbar), FALSE); +#ifdef CONFIG_MARU + gtk_widget_set_no_show_all(priv->toolbar, FALSE); +#else + gtk_widget_set_no_show_all(priv->toolbar, TRUE); +#endif + gtk_toolbar_set_style(GTK_TOOLBAR(priv->toolbar), GTK_TOOLBAR_BOTH_HORIZ); + + /* Close connection */ + button = GTK_WIDGET(gtk_tool_button_new_from_stock(GTK_STOCK_CLOSE)); + gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(button), _("Disconnect")); +#ifndef CONFIG_MARU + gtk_widget_show(GTK_WIDGET(button)); +#endif + gtk_toolbar_insert(GTK_TOOLBAR(priv->toolbar), GTK_TOOL_ITEM (button), 0); + g_signal_connect(button, "clicked", G_CALLBACK(virt_viewer_window_menu_file_quit), self); + + /* USB Device selection */ + button = GTK_WIDGET(gtk_tool_button_new_from_stock(GTK_STOCK_PREFERENCES)); + gtk_tool_button_set_label(GTK_TOOL_BUTTON(button), _("USB device selection")); + gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(button), _("USB device selection")); + gtk_toolbar_insert(GTK_TOOLBAR(priv->toolbar), GTK_TOOL_ITEM(button), 0); + g_signal_connect(button, "clicked", G_CALLBACK(virt_viewer_window_menu_file_usb_device_selection), self); + priv->toolbar_usb_device_selection = button; + + /* Send key */ + button = GTK_WIDGET(gtk_tool_button_new(NULL, NULL)); + gtk_tool_button_set_icon_name(GTK_TOOL_BUTTON(button), "preferences-desktop-keyboard-shortcuts"); + gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(button), _("Send key combination")); +#ifndef CONFIG_MARU + gtk_widget_show(GTK_WIDGET(button)); +#endif + gtk_toolbar_insert(GTK_TOOLBAR(priv->toolbar), GTK_TOOL_ITEM(button), 0); + g_signal_connect(button, "clicked", G_CALLBACK(virt_viewer_window_toolbar_send_key), self); + gtk_widget_set_sensitive(button, FALSE); + priv->toolbar_send_key = button; + + /* Leave fullscreen */ + button = GTK_WIDGET(gtk_tool_button_new_from_stock(GTK_STOCK_LEAVE_FULLSCREEN)); + gtk_tool_button_set_label(GTK_TOOL_BUTTON(button), _("Leave fullscreen")); + gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(button), _("Leave fullscreen")); + gtk_tool_item_set_is_important(GTK_TOOL_ITEM(button), TRUE); +#ifndef CONFIG_MARU + gtk_widget_show(GTK_WIDGET(button)); +#endif + gtk_toolbar_insert(GTK_TOOLBAR(priv->toolbar), GTK_TOOL_ITEM(button), 0); + g_signal_connect(button, "clicked", G_CALLBACK(virt_viewer_window_toolbar_leave_fullscreen), self); + +#ifdef CONFIG_MARU + /* HwKey Volume- */ + button = GTK_WIDGET(gtk_tool_button_new_from_stock(GTK_STOCK_GO_DOWN)); + gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(button), _("Volume-")); + gtk_toolbar_insert(GTK_TOOLBAR(priv->toolbar), GTK_TOOL_ITEM (button), 0); + g_signal_connect(button, "clicked", G_CALLBACK(virt_viewer_window_hwkey_vol_down_press), self); + g_signal_connect(button, "clicked", G_CALLBACK(virt_viewer_window_hwkey_vol_down_release), self); + gtk_widget_show(GTK_WIDGET(button)); + + /* HwKey Volume+ */ + button = GTK_WIDGET(gtk_tool_button_new_from_stock(GTK_STOCK_GO_UP)); + gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(button), _("Volume+")); + gtk_toolbar_insert(GTK_TOOLBAR(priv->toolbar), GTK_TOOL_ITEM (button), 0); + g_signal_connect(button, "clicked", G_CALLBACK(virt_viewer_window_hwkey_vol_up_press), self); + g_signal_connect(button, "clicked", G_CALLBACK(virt_viewer_window_hwkey_vol_up_release), self); + gtk_widget_show(GTK_WIDGET(button)); + + /* HwKey Power */ + button = GTK_WIDGET(gtk_tool_button_new_from_stock(GTK_STOCK_CONNECT)); + gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(button), _("Power")); + gtk_toolbar_insert(GTK_TOOLBAR(priv->toolbar), GTK_TOOL_ITEM (button), 0); + g_signal_connect(button, "clicked", G_CALLBACK(virt_viewer_window_hwkey_power_press), self); + g_signal_connect(button, "clicked", G_CALLBACK(virt_viewer_window_hwkey_power_release), self); + gtk_widget_show(GTK_WIDGET(button)); + + /* HwKey Back */ + button = GTK_WIDGET(gtk_tool_button_new_from_stock(GTK_STOCK_GO_BACK)); + gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(button), _("Back")); + gtk_toolbar_insert(GTK_TOOLBAR(priv->toolbar), GTK_TOOL_ITEM (button), 0); + gtk_widget_set_events(button, GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK); + g_signal_connect(button, "clicked", G_CALLBACK(virt_viewer_window_hwkey_back_press), self); + g_signal_connect(button, "clicked", G_CALLBACK(virt_viewer_window_hwkey_back_release), self); + gtk_widget_show(GTK_WIDGET(button)); + + /* HwKey Home */ + button = GTK_WIDGET(gtk_tool_button_new_from_stock(GTK_STOCK_HOME)); + gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(button), _("Home")); + gtk_toolbar_insert(GTK_TOOLBAR(priv->toolbar), GTK_TOOL_ITEM (button), 0); + gtk_widget_set_events(button, GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK); + g_signal_connect(button, "clicked", G_CALLBACK(virt_viewer_window_hwkey_home_press), self); + g_signal_connect(button, "clicked", G_CALLBACK(virt_viewer_window_hwkey_home_release), self); + gtk_widget_show(GTK_WIDGET(button)); + + /* HwKey Menu */ + button = GTK_WIDGET(gtk_tool_button_new_from_stock(GTK_STOCK_INDEX)); + gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(button), _("Menu")); + gtk_toolbar_insert(GTK_TOOLBAR(priv->toolbar), GTK_TOOL_ITEM (button), 0); + gtk_widget_set_events(button, GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK); + g_signal_connect(button, "clicked", G_CALLBACK(virt_viewer_window_hwkey_menu_press), self); + g_signal_connect(button, "clicked", G_CALLBACK(virt_viewer_window_hwkey_menu_release), self); + gtk_widget_show(GTK_WIDGET(button)); +#endif + priv->layout = ViewAutoDrawer_New(); + + ViewAutoDrawer_SetActive(VIEW_AUTODRAWER(priv->layout), FALSE); + ViewOvBox_SetOver(VIEW_OV_BOX(priv->layout), priv->toolbar); + ViewOvBox_SetUnder(VIEW_OV_BOX(priv->layout), GTK_WIDGET(priv->notebook)); + ViewAutoDrawer_SetOffset(VIEW_AUTODRAWER(priv->layout), -1); + ViewAutoDrawer_SetFill(VIEW_AUTODRAWER(priv->layout), FALSE); + ViewAutoDrawer_SetOverlapPixels(VIEW_AUTODRAWER(priv->layout), 1); + ViewAutoDrawer_SetNoOverlapPixels(VIEW_AUTODRAWER(priv->layout), 0); + gtk_widget_show(priv->layout); +#ifdef CONFIG_MARU + gtk_widget_show(priv->toolbar); +#endif +} + +VirtViewerNotebook* +virt_viewer_window_get_notebook (VirtViewerWindow *self) +{ + return VIRT_VIEWER_NOTEBOOK(self->priv->notebook); +} + +GtkWindow* +virt_viewer_window_get_window (VirtViewerWindow *self) +{ + return GTK_WINDOW(self->priv->window); +} + +static void +virt_viewer_window_pointer_grab(VirtViewerDisplay *display G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + VirtViewerWindowPrivate *priv = self->priv; + + priv->grabbed = TRUE; + virt_viewer_window_update_title(self); +} + +static void +virt_viewer_window_pointer_ungrab(VirtViewerDisplay *display G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + VirtViewerWindowPrivate *priv = self->priv; + + priv->grabbed = FALSE; + virt_viewer_window_update_title(self); +} + +static void +virt_viewer_window_keyboard_grab(VirtViewerDisplay *display G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + virt_viewer_window_disable_modifiers(self); +} + +static void +virt_viewer_window_keyboard_ungrab(VirtViewerDisplay *display G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + virt_viewer_window_enable_modifiers(self); +} + +void +virt_viewer_window_update_title(VirtViewerWindow *self) +{ + VirtViewerWindowPrivate *priv = self->priv; + char *title; + gchar *ungrab = NULL; + + if (priv->grabbed) { + gchar *label; + + if (virt_viewer_app_get_enable_accel(priv->app)) { + GtkAccelKey key; + gtk_accel_map_lookup_entry("<virt-viewer>/view/release-cursor", &key); + label = gtk_accelerator_get_label(key.accel_key, key.accel_mods); + } else { + label = g_strdup(_("Ctrl+Alt")); + } + + ungrab = g_strdup_printf(_("(Press %s to release pointer)"), label); + g_free(label); + } + + if (!ungrab && !priv->subtitle) + title = g_strdup(g_get_application_name()); + else + /* translators: + * This is "<ungrab (or empty)><space (or empty)><subtitle (or empty)> - <appname>" + * Such as: "(Press Ctrl+Alt to release pointer) BigCorpTycoon MOTD - Virt Viewer" + */ + title = g_strdup_printf(_("%s%s%s - %s"), + /* translators: <ungrab empty> */ + ungrab ? ungrab : "", + /* translators: <space> */ + ungrab && priv->subtitle ? _(" ") : "", + priv->subtitle, + g_get_application_name()); + + gtk_window_set_title(GTK_WINDOW(priv->window), title); + + g_free(title); + g_free(ungrab); +} + +void +virt_viewer_window_set_usb_options_sensitive(VirtViewerWindow *self, gboolean sensitive) +{ + VirtViewerWindowPrivate *priv; + GtkWidget *menu; + + g_return_if_fail(VIRT_VIEWER_IS_WINDOW(self)); + + priv = self->priv; + menu = GTK_WIDGET(gtk_builder_get_object(priv->builder, "menu-file-usb-device-selection")); + gtk_widget_set_sensitive(menu, sensitive); + gtk_widget_set_visible(priv->toolbar_usb_device_selection, sensitive); +} + +static void +display_show_hint(VirtViewerDisplay *display, + GParamSpec *pspec G_GNUC_UNUSED, + VirtViewerWindow *self) +{ + gboolean hint; + + g_object_get(display, "show-hint", &hint, NULL); + gtk_widget_set_sensitive(GTK_WIDGET(gtk_builder_get_object(self->priv->builder, "menu-send")), hint); + gtk_widget_set_sensitive(GTK_WIDGET(gtk_builder_get_object(self->priv->builder, "menu-file-screenshot")), hint); + gtk_widget_set_sensitive(self->priv->toolbar_send_key, hint); +} + +void +virt_viewer_window_set_display(VirtViewerWindow *self, VirtViewerDisplay *display) +{ + VirtViewerWindowPrivate *priv; + + g_return_if_fail(VIRT_VIEWER_IS_WINDOW(self)); + g_return_if_fail(display == NULL || VIRT_VIEWER_IS_DISPLAY(display)); + + priv = self->priv; + if (priv->display) { + gtk_notebook_remove_page(GTK_NOTEBOOK(priv->notebook), 1); + g_object_unref(priv->display); + priv->display = NULL; + } + + if (display != NULL) { + priv->display = g_object_ref(display); + + virt_viewer_display_set_zoom_level(VIRT_VIEWER_DISPLAY(priv->display), priv->zoomlevel); + virt_viewer_display_set_auto_resize(VIRT_VIEWER_DISPLAY(priv->display), priv->auto_resize); + + gtk_notebook_append_page(GTK_NOTEBOOK(priv->notebook), GTK_WIDGET(display), NULL); + gtk_widget_show_all(GTK_WIDGET(display)); + + g_signal_connect(display, "display-pointer-grab", + G_CALLBACK(virt_viewer_window_pointer_grab), self); + g_signal_connect(display, "display-pointer-ungrab", + G_CALLBACK(virt_viewer_window_pointer_ungrab), self); + g_signal_connect(display, "display-keyboard-grab", + G_CALLBACK(virt_viewer_window_keyboard_grab), self); + g_signal_connect(display, "display-keyboard-ungrab", + G_CALLBACK(virt_viewer_window_keyboard_ungrab), self); + g_signal_connect(display, "display-desktop-resize", + G_CALLBACK(virt_viewer_window_desktop_resize), self); + g_signal_connect(display, "notify::show-hint", + G_CALLBACK(display_show_hint), self); + } +} + +void +virt_viewer_window_show(VirtViewerWindow *self) +{ + gtk_widget_show(self->priv->window); + + if (self->priv->desktop_resize_pending) { + virt_viewer_window_resize(self); + self->priv->desktop_resize_pending = FALSE; + } +} + +void +virt_viewer_window_hide(VirtViewerWindow *self) +{ + gtk_widget_hide(self->priv->window); +} + +void +virt_viewer_window_set_zoom_level(VirtViewerWindow *self, gint zoom_level) +{ + g_return_if_fail(VIRT_VIEWER_IS_WINDOW(self)); + + /* FIXME: turn into a dynamic property */ + self->priv->zoomlevel = zoom_level; +} + +gint virt_viewer_window_get_zoom_level(VirtViewerWindow *self) +{ + g_return_val_if_fail(VIRT_VIEWER_IS_WINDOW(self), 100); + return self->priv->zoomlevel; +} + +GtkMenuItem* +virt_viewer_window_get_menu_displays(VirtViewerWindow *self) +{ + g_return_val_if_fail(VIRT_VIEWER_IS_WINDOW(self), NULL); + + return GTK_MENU_ITEM(gtk_builder_get_object(self->priv->builder, "menu-displays")); +} + +GtkBuilder* +virt_viewer_window_get_builder(VirtViewerWindow *self) +{ + g_return_val_if_fail(VIRT_VIEWER_IS_WINDOW(self), NULL); + + return self->priv->builder; +} + +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-window.h b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-window.h new file mode 100644 index 0000000..f80c4c7 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer-window.h @@ -0,0 +1,87 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, Inc. + * Copyright (C) 2009-2012 Daniel P. Berrange + * Copyright (C) 2010 Marc-André Lureau + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ +#ifndef _VIRT_VIEWER_WINDOW +#define _VIRT_VIEWER_WINDOW + +#include <glib-object.h> +#include "virt-viewer-notebook.h" +#include "virt-viewer-display.h" + +G_BEGIN_DECLS + +#define VIRT_VIEWER_TYPE_WINDOW virt_viewer_window_get_type() + +#define VIRT_VIEWER_WINDOW(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST ((obj), VIRT_VIEWER_TYPE_WINDOW, VirtViewerWindow)) + +#define VIRT_VIEWER_WINDOW_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST ((klass), VIRT_VIEWER_TYPE_WINDOW, VirtViewerWindowClass)) + +#define VIRT_VIEWER_IS_WINDOW(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VIRT_VIEWER_TYPE_WINDOW)) + +#define VIRT_VIEWER_IS_WINDOW_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE ((klass), VIRT_VIEWER_TYPE_WINDOW)) + +#define VIRT_VIEWER_WINDOW_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS ((obj), VIRT_VIEWER_TYPE_WINDOW, VirtViewerWindowClass)) + +typedef struct _VirtViewerWindowPrivate VirtViewerWindowPrivate; + +typedef struct { + GObject parent; + VirtViewerWindowPrivate *priv; +} VirtViewerWindow; + +typedef struct { + GObjectClass parent_class; +} VirtViewerWindowClass; + +GType virt_viewer_window_get_type (void); + +GtkWindow* virt_viewer_window_get_window (VirtViewerWindow* window); +VirtViewerNotebook* virt_viewer_window_get_notebook (VirtViewerWindow* window); +void virt_viewer_window_set_display(VirtViewerWindow *self, VirtViewerDisplay *display); +void virt_viewer_window_set_usb_options_sensitive(VirtViewerWindow *self, gboolean sensitive); +void virt_viewer_window_update_title(VirtViewerWindow *self); +void virt_viewer_window_show(VirtViewerWindow *self); +void virt_viewer_window_hide(VirtViewerWindow *self); +void virt_viewer_window_set_zoom_level(VirtViewerWindow *self, gint zoom_level); +gint virt_viewer_window_get_zoom_level(VirtViewerWindow *self); +void virt_viewer_window_leave_fullscreen(VirtViewerWindow *self); +void virt_viewer_window_enter_fullscreen(VirtViewerWindow *self, gboolean move, gint x, gint y); +GtkMenuItem *virt_viewer_window_get_menu_displays(VirtViewerWindow *self); +GtkBuilder* virt_viewer_window_get_builder(VirtViewerWindow *window); + +G_END_DECLS + +#endif /* _VIRT_VIEWER_WINDOW */ + +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer.c b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer.c new file mode 100644 index 0000000..3143104 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer.c @@ -0,0 +1,695 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, Inc. + * Copyright (C) 2009-2012 Daniel P. Berrange + * Copyright (C) 2010 Marc-André Lureau + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ + +#include <config.h> + +#include <gdk/gdkkeysyms.h> +#include <gtk/gtk.h> +#include <sys/types.h> +#include <sys/stat.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> +#include <locale.h> +#include <glib/gprintf.h> +#include <glib/gi18n.h> + +#include <libvirt/libvirt.h> +#include <libvirt/virterror.h> +#include <libxml/xpath.h> +#include <libxml/uri.h> + +#if defined(HAVE_SOCKETPAIR) +#include <sys/socket.h> +#endif + +#include "virt-viewer.h" +#include "virt-viewer-app.h" +#include "virt-viewer-events.h" +#include "virt-viewer-auth.h" + +struct _VirtViewerPrivate { + char *uri; + virConnectPtr conn; + virDomainPtr dom; + char *domkey; + gboolean withEvents; + gboolean waitvm; + gboolean reconnect; +}; + +G_DEFINE_TYPE (VirtViewer, virt_viewer, VIRT_VIEWER_TYPE_APP) +#define GET_PRIVATE(o) \ + (G_TYPE_INSTANCE_GET_PRIVATE ((o), VIRT_VIEWER_TYPE, VirtViewerPrivate)) + +static int virt_viewer_initial_connect(VirtViewerApp *self); +static gboolean virt_viewer_open_connection(VirtViewerApp *self, int *fd); +static void virt_viewer_deactivated(VirtViewerApp *self); +static gboolean virt_viewer_start(VirtViewerApp *self); + +static void +virt_viewer_get_property (GObject *object, guint property_id, + GValue *value G_GNUC_UNUSED, GParamSpec *pspec) +{ + switch (property_id) { + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); + } +} + +static void +virt_viewer_set_property (GObject *object, guint property_id, + const GValue *value G_GNUC_UNUSED, GParamSpec *pspec) +{ + switch (property_id) { + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); + } +} + +static void +virt_viewer_dispose (GObject *object) +{ + VirtViewer *self = VIRT_VIEWER(object); + VirtViewerPrivate *priv = self->priv; + if (priv->dom) + virDomainFree(priv->dom); + if (priv->conn) + virConnectClose(priv->conn); + G_OBJECT_CLASS(virt_viewer_parent_class)->dispose (object); +} + +static void +virt_viewer_class_init (VirtViewerClass *klass) +{ + GObjectClass *object_class = G_OBJECT_CLASS (klass); + VirtViewerAppClass *app_class = VIRT_VIEWER_APP_CLASS (klass); + + g_type_class_add_private (klass, sizeof (VirtViewerPrivate)); + + object_class->get_property = virt_viewer_get_property; + object_class->set_property = virt_viewer_set_property; + object_class->dispose = virt_viewer_dispose; + + app_class->initial_connect = virt_viewer_initial_connect; + app_class->deactivated = virt_viewer_deactivated; + app_class->open_connection = virt_viewer_open_connection; + app_class->start = virt_viewer_start; +} + +static void +virt_viewer_init(VirtViewer *self) +{ + self->priv = GET_PRIVATE(self); +} + +static void +virt_viewer_deactivated(VirtViewerApp *app) +{ + VirtViewer *self = VIRT_VIEWER(app); + VirtViewerPrivate *priv = self->priv; + + if (priv->dom) { + virDomainFree(priv->dom); + priv->dom = NULL; + } + + if (priv->reconnect) { + if (!priv->withEvents) { + DEBUG_LOG("No domain events, falling back to polling"); + virt_viewer_app_start_reconnect_poll(app); + } + + virt_viewer_app_show_status(app, _("Waiting for guest domain to re-start")); + virt_viewer_app_trace(app, "Guest %s display has disconnected, waiting to reconnect", priv->domkey); + } else { + VIRT_VIEWER_APP_CLASS(virt_viewer_parent_class)->deactivated(app); + } +} + +static int +virt_viewer_parse_uuid(const char *name, + unsigned char *uuid) +{ + int i; + + const char *cur = name; + for (i = 0;i < 16;) { + uuid[i] = 0; + if (*cur == 0) + return -1; + if ((*cur == '-') || (*cur == ' ')) { + cur++; + continue; + } + if ((*cur >= '0') && (*cur <= '9')) + uuid[i] = *cur - '0'; + else if ((*cur >= 'a') && (*cur <= 'f')) + uuid[i] = *cur - 'a' + 10; + else if ((*cur >= 'A') && (*cur <= 'F')) + uuid[i] = *cur - 'A' + 10; + else + return -1; + uuid[i] *= 16; + cur++; + if (*cur == 0) + return -1; + if ((*cur >= '0') && (*cur <= '9')) + uuid[i] += *cur - '0'; + else if ((*cur >= 'a') && (*cur <= 'f')) + uuid[i] += *cur - 'a' + 10; + else if ((*cur >= 'A') && (*cur <= 'F')) + uuid[i] += *cur - 'A' + 10; + else + return -1; + i++; + cur++; + } + + return 0; +} + + +static virDomainPtr +virt_viewer_lookup_domain(VirtViewer *self) +{ + char *end; + VirtViewerPrivate *priv = self->priv; + int id = strtol(priv->domkey, &end, 10); + virDomainPtr dom = NULL; + unsigned char uuid[16]; + + if (id >= 0 && end && !*end) { + dom = virDomainLookupByID(priv->conn, id); + } + if (!dom && virt_viewer_parse_uuid(priv->domkey, uuid) == 0) { + dom = virDomainLookupByUUID(priv->conn, uuid); + } + if (!dom) { + dom = virDomainLookupByName(priv->conn, priv->domkey); + } + return dom; +} + +static int +virt_viewer_matches_domain(VirtViewer *self, + virDomainPtr dom) +{ + char *end; + const char *name; + VirtViewerPrivate *priv = self->priv; + int id = strtol(priv->domkey, &end, 10); + unsigned char wantuuid[16]; + unsigned char domuuid[16]; + + if (id >= 0 && end && !*end) { + if (virDomainGetID(dom) == id) + return 1; + } + if (virt_viewer_parse_uuid(priv->domkey, wantuuid) == 0) { + virDomainGetUUID(dom, domuuid); + if (memcmp(wantuuid, domuuid, VIR_UUID_BUFLEN) == 0) + return 1; + } + + name = virDomainGetName(dom); + if (strcmp(name, priv->domkey) == 0) + return 1; + + return 0; +} + +static char * +virt_viewer_extract_xpath_string(const gchar *xmldesc, + const gchar *xpath) +{ + xmlDocPtr xml = NULL; + xmlParserCtxtPtr pctxt = NULL; + xmlXPathContextPtr ctxt = NULL; + xmlXPathObjectPtr obj = NULL; + char *port = NULL; + + pctxt = xmlNewParserCtxt(); + if (!pctxt || !pctxt->sax) + goto error; + + xml = xmlCtxtReadDoc(pctxt, (const xmlChar *)xmldesc, "domain.xml", NULL, + XML_PARSE_NOENT | XML_PARSE_NONET | + XML_PARSE_NOWARNING); + if (!xml) + goto error; + + ctxt = xmlXPathNewContext(xml); + if (!ctxt) + goto error; + + obj = xmlXPathEval((const xmlChar *)xpath, ctxt); + if (!obj || obj->type != XPATH_STRING || !obj->stringval || !obj->stringval[0]) + goto error; + if (!strcmp((const char*)obj->stringval, "-1")) + goto error; + + port = g_strdup((const char*)obj->stringval); + xmlXPathFreeObject(obj); + obj = NULL; + + error: + xmlXPathFreeObject(obj); + xmlXPathFreeContext(ctxt); + xmlFreeDoc(xml); + xmlFreeParserCtxt(pctxt); + return port; +} + +static gboolean +virt_viewer_extract_connect_info(VirtViewer *self, + virDomainPtr dom) +{ + char *type = NULL; + char *xpath = NULL; + gboolean retval = FALSE; + char *xmldesc = virDomainGetXMLDesc(dom, 0); + VirtViewerPrivate *priv = self->priv; + VirtViewerApp *app = VIRT_VIEWER_APP(self); + gchar *gport = NULL; + gchar *gtlsport = NULL; + gchar *ghost = NULL; + gchar *unixsock = NULL; + gchar *host = NULL; + gchar *transport = NULL; + gchar *user = NULL; + gint port = 0; + gchar *uri = NULL; + + virt_viewer_app_free_connect_info(app); + + if ((type = virt_viewer_extract_xpath_string(xmldesc, "string(/domain/devices/graphics/@type)")) == NULL) { + virt_viewer_app_simple_message_dialog(app, _("Cannot determine the graphic type for the guest %s"), + priv->domkey); + goto cleanup; + } + + if (virt_viewer_app_create_session(app, type) < 0) + goto cleanup; + + xpath = g_strdup_printf("string(/domain/devices/graphics[@type='%s']/@port)", type); + if ((gport = virt_viewer_extract_xpath_string(xmldesc, xpath)) == NULL) { + free(xpath); + xpath = g_strdup_printf("string(/domain/devices/graphics[@type='%s']/@socket)", type); + if ((unixsock = virt_viewer_extract_xpath_string(xmldesc, xpath)) == NULL) { + virt_viewer_app_simple_message_dialog(app, _("Cannot determine the graphic address for the guest %s"), + priv->domkey); + goto cleanup; + } + } else { + if (g_str_equal(type, "spice")) { + free(xpath); + xpath = g_strdup_printf("string(/domain/devices/graphics[@type='%s']/@tlsPort)", type); + gtlsport = virt_viewer_extract_xpath_string(xmldesc, xpath); + } + + free(xpath); + xpath = g_strdup_printf("string(/domain/devices/graphics[@type='%s']/@listen)", type); + ghost = virt_viewer_extract_xpath_string(xmldesc, xpath); + } + + if (ghost && gport) + DEBUG_LOG("Guest graphics address is %s:%s", ghost, gport); + else if (unixsock) + DEBUG_LOG("Guest graphics address is %s", unixsock); + + uri = virConnectGetURI(priv->conn); + if (virt_viewer_util_extract_host(uri, NULL, &host, &transport, &user, &port) < 0) { + virt_viewer_app_simple_message_dialog(app, _("Cannot determine the host for the guest %s"), + priv->domkey); + goto cleanup; + } + + /* If the XML listen attribute shows a wildcard address, we need to + * throw that away since you obviously can't 'connect(2)' to that + * from a remote host. Instead we fallback to the hostname used in + * the libvirt URI. This isn't perfect but it is better than nothing + */ + if (!ghost || + (strcmp(ghost, "0.0.0.0") == 0 || + strcmp(ghost, "::") == 0)) { + DEBUG_LOG("Guest graphics listen '%s' is NULL or a wildcard, replacing with '%s'", + ghost ? ghost : "", host); + g_free(ghost); + ghost = g_strdup(host); + } + + virt_viewer_app_set_connect_info(app, host, ghost, gport, gtlsport,transport, unixsock, user, port, NULL); + + retval = TRUE; + + cleanup: + g_free(gport); + g_free(gtlsport); + g_free(ghost); + g_free(unixsock); + g_free(host); + g_free(transport); + g_free(user); + g_free(type); + g_free(xpath); + g_free(xmldesc); + g_free(uri); + return retval; +} + +static int +virt_viewer_update_display(VirtViewer *self, virDomainPtr dom) +{ + VirtViewerPrivate *priv = self->priv; + VirtViewerApp *app = VIRT_VIEWER_APP(self); + + if (priv->dom) + virDomainFree(priv->dom); + priv->dom = dom; + virDomainRef(priv->dom); + + virt_viewer_app_trace(app, "Guest %s is running, determining display\n", + priv->domkey); + + g_object_set(app, "title", virDomainGetName(dom), NULL); + + if (!virt_viewer_app_has_session(app)) { + if (!virt_viewer_extract_connect_info(self, dom)) + return -1; + } + + return 0; +} + +static gboolean +virt_viewer_open_connection(VirtViewerApp *self G_GNUC_UNUSED, int *fd) +{ +#if defined(HAVE_SOCKETPAIR) + VirtViewer *viewer = VIRT_VIEWER(self); + VirtViewerPrivate *priv = viewer->priv; + int pair[2]; +#endif + *fd = -1; +#if defined(HAVE_SOCKETPAIR) + if (!priv->dom) + return TRUE; + + if (socketpair(PF_UNIX, SOCK_STREAM, 0, pair) < 0) + return FALSE; + + if (virDomainOpenGraphics(priv->dom, 0, pair[0], + VIR_DOMAIN_OPEN_GRAPHICS_SKIPAUTH) < 0) { + virErrorPtr err = virGetLastError(); + DEBUG_LOG("Error %s", err && err->message ? err->message : "Unknown"); + close(pair[0]); + close(pair[1]); + return TRUE; + } + close(pair[0]); + *fd = pair[1]; +#endif + return TRUE; +} + +static int +virt_viewer_domain_event(virConnectPtr conn G_GNUC_UNUSED, + virDomainPtr dom, + int event, + int detail G_GNUC_UNUSED, + void *opaque) +{ + VirtViewer *self = opaque; + VirtViewerApp *app = VIRT_VIEWER_APP(self); + + DEBUG_LOG("Got domain event %d %d", event, detail); + + if (!virt_viewer_matches_domain(self, dom)) + return 0; + + switch (event) { + case VIR_DOMAIN_EVENT_STOPPED: + //virt_viewer_deactivate(self); + break; + + case VIR_DOMAIN_EVENT_STARTED: + virt_viewer_update_display(self, dom); + virt_viewer_app_activate(app); + break; + } + + return 0; +} + +static int +virt_viewer_initial_connect(VirtViewerApp *app) +{ + virDomainPtr dom = NULL; + virDomainInfo info; + int ret = -1; + VirtViewer *self = VIRT_VIEWER(app); + VirtViewerPrivate *priv = self->priv; + + virt_viewer_app_show_status(app, _("Finding guest domain")); + dom = virt_viewer_lookup_domain(self); + if (!dom) { + if (priv->waitvm) { + virt_viewer_app_show_status(app, _("Waiting for guest domain to be created")); + virt_viewer_app_trace(app, "Guest %s does not yet exist, waiting for it to be created\n", + priv->domkey); + goto done; + } else { + virt_viewer_app_simple_message_dialog(app, _("Cannot find guest domain %s"), + priv->domkey); + DEBUG_LOG("Cannot find guest %s", priv->domkey); + goto cleanup; + } + } + + virt_viewer_app_show_status(app, _("Checking guest domain status")); + if (virDomainGetInfo(dom, &info) < 0) { + DEBUG_LOG("Cannot get guest state"); + goto cleanup; + } + + if (info.state == VIR_DOMAIN_SHUTOFF) { + virt_viewer_app_show_status(app, _("Waiting for guest domain to start")); + } else { + ret = virt_viewer_update_display(self, dom); + if (ret >= 0) + ret = VIRT_VIEWER_APP_CLASS(virt_viewer_parent_class)->initial_connect(app); + if (ret < 0) { + if (priv->waitvm) { + virt_viewer_app_show_status(app, _("Waiting for guest domain to start server")); + virt_viewer_app_trace(app, "Guest %s has not activated its display yet, waiting for it to start\n", + priv->domkey); + } else { + DEBUG_LOG("Failed to activate viewer"); + goto cleanup; + } + } else if (ret == 0) { + DEBUG_LOG("Failed to activate viewer"); + ret = -1; + goto cleanup; + } + } + + done: + ret = 0; + cleanup: + if (dom) + virDomainFree(dom); + return ret; +} + +static void +virt_viewer_error_func (void *data G_GNUC_UNUSED, + virErrorPtr error G_GNUC_UNUSED) +{ + /* nada */ +} + + + +static int +virt_viewer_auth_libvirt_credentials(virConnectCredentialPtr cred, + unsigned int ncred, + void *cbdata) +{ + char **username = NULL, **password = NULL; + VirtViewer *app = cbdata; + int i; + int ret = -1; + + DEBUG_LOG("Got libvirt credential request for %d credential(s)", ncred); + + for (i = 0 ; i < ncred ; i++) { + switch (cred[i].type) { + case VIR_CRED_USERNAME: + case VIR_CRED_AUTHNAME: + username = &cred[i].result; + break; + case VIR_CRED_PASSPHRASE: + password = &cred[i].result; + break; + default: + DEBUG_LOG("Unsupported libvirt credential %d", cred[i].type); + return -1; + } + } + + if (username || password) { + VirtViewerWindow *vwin = virt_viewer_app_get_main_window(VIRT_VIEWER_APP(app)); + GtkWindow *win = virt_viewer_window_get_window(vwin); + ret = virt_viewer_auth_collect_credentials(win, + "libvirt", + app->priv->uri, + username, password); + if (ret < 0) + goto cleanup; + } else { + ret = 0; + } + + for (i = 0 ; i < ncred ; i++) { + switch (cred[i].type) { + case VIR_CRED_AUTHNAME: + case VIR_CRED_USERNAME: + case VIR_CRED_PASSPHRASE: + if (cred[i].result) + cred[i].resultlen = strlen(cred[i].result); + else + cred[i].resultlen = 0; + DEBUG_LOG("Got '%s' %d %d", cred[i].result, cred[i].resultlen, cred[i].type); + break; + } + } + + cleanup: + DEBUG_LOG("Return %d", ret); + return ret; +} + + +static gboolean +virt_viewer_start(VirtViewerApp *app) +{ + VirtViewer *self = VIRT_VIEWER(app); + VirtViewerPrivate *priv = self->priv; + int cred_types[] = + { VIR_CRED_AUTHNAME, VIR_CRED_PASSPHRASE }; + virConnectAuth auth_libvirt = { + .credtype = cred_types, + .ncredtype = ARRAY_CARDINALITY(cred_types), + .cb = virt_viewer_auth_libvirt_credentials, + .cbdata = app, + }; + int oflags = 0; + + if (!virt_viewer_app_get_attach(app)) + oflags |= VIR_CONNECT_RO; + + virt_viewer_events_register(); + + virSetErrorFunc(NULL, virt_viewer_error_func); + + virt_viewer_app_trace(app, "Opening connection to libvirt with URI %s\n", + priv->uri ? priv->uri : "<null>"); + priv->conn = virConnectOpenAuth(priv->uri, + //virConnectAuthPtrDefault, + &auth_libvirt, + oflags); + if (!priv->conn) { + virt_viewer_app_simple_message_dialog(app, _("Unable to connect to libvirt with URI %s"), + priv->uri ? priv->uri : _("[none]")); + return FALSE; + } + + if (virt_viewer_app_initial_connect(app) < 0) + return FALSE; + + if (virConnectDomainEventRegister(priv->conn, + virt_viewer_domain_event, + self, + NULL) < 0) + priv->withEvents = FALSE; + else + priv->withEvents = TRUE; + + if (!priv->withEvents && + !virt_viewer_app_is_active(app)) { + DEBUG_LOG("No domain events, falling back to polling"); + virt_viewer_app_start_reconnect_poll(app); + } + + return VIRT_VIEWER_APP_CLASS(virt_viewer_parent_class)->start(app); +} + +VirtViewer * +virt_viewer_new(const char *uri, + const char *name, + gint zoom, + gboolean direct, + gboolean attach, + gboolean waitvm, + gboolean reconnect, + gboolean verbose, + GtkWidget *container) +{ + VirtViewer *self; + VirtViewerApp *app; + VirtViewerPrivate *priv; + + self = g_object_new(VIRT_VIEWER_TYPE, + "container", container, + "verbose", verbose, + "guest-name", name, + NULL); + app = VIRT_VIEWER_APP(self); + priv = self->priv; + + /* Set initial title based on guest name arg, which can be a ID, + * UUID, or NAME string. To be replaced with the real guest name later + */ + g_object_set(app, "title", name, NULL); + virt_viewer_window_set_zoom_level(virt_viewer_app_get_main_window(app), zoom); + virt_viewer_app_set_direct(app, direct); + virt_viewer_app_set_attach(app, attach); + + /* should probably be properties instead */ + priv->uri = g_strdup(uri); + priv->domkey = g_strdup(name); + priv->waitvm = waitvm; + priv->reconnect = reconnect; + + return self; +} + +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer.h b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer.h new file mode 100644 index 0000000..d136ade --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer.h @@ -0,0 +1,72 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2007-2012 Red Hat, 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 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Daniel P. Berrange <berrange@redhat.com> + */ + +#ifndef VIRT_VIEWER_H +#define VIRT_VIEWER_H + +#include <glib-object.h> +#include "virt-viewer-app.h" + +G_BEGIN_DECLS + +#define VIRT_VIEWER_TYPE virt_viewer_get_type() +#define VIRT_VIEWER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VIRT_VIEWER_TYPE, VirtViewer)) +#define VIRT_VIEWER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VIRT_VIEWER_TYPE, VirtViewerClass)) +#define VIRT_VIEWER_IS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VIRT_VIEWER_TYPE)) +#define VIRT_VIEWER_IS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VIRT_VIEWER_TYPE)) +#define VIRT_VIEWER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VIRT_VIEWER_TYPE, VirtViewerClass)) + +typedef struct _VirtViewerPrivate VirtViewerPrivate; + +typedef struct { + VirtViewerApp parent; + VirtViewerPrivate *priv; +} VirtViewer; + +typedef struct { + VirtViewerAppClass parent_class; +} VirtViewerClass; + +GType virt_viewer_get_type (void); + +VirtViewer * +virt_viewer_new(const char *uri, + const char *name, + gint zoom, + gboolean direct, + gboolean attach, + gboolean waitvm, + gboolean reconnect, + gboolean verbose, + GtkWidget *container); + +G_END_DECLS + +#endif /* VIRT_VIEWER_H */ + +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer.manifest b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer.manifest new file mode 100644 index 0000000..d921a06 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer.manifest @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> + +<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> + <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> + <security> + <requestedPrivileges> + <requestedExecutionLevel level="asInvoker" uiAccess="false"/> + </requestedPrivileges> + </security> + </trustInfo> +</assembly> diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer.rc.in b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer.rc.in new file mode 100644 index 0000000..196e631 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer.rc.in @@ -0,0 +1,27 @@ +1 VERSIONINFO +FILEVERSION 1,0,0,0 +PRODUCTVERSION 1,0,0,0 + +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904E4" + BEGIN + VALUE "CompanyName", "virt-manager.org" + VALUE "FileDescription", "A remote desktop client" + VALUE "FileVersion", "@VERSION@" + VALUE "InternalName", "@PACKAGE_STRING@" + VALUE "LegalCopyright", "Copyright (C) 2007-2012 Red Hat, Inc." + VALUE "OriginalFilename", "virt-viewer.exe" + VALUE "ProductName", "VirtViewer" + VALUE "ProductVersion", "@VERSION@" + END + END + + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1252 + END +END +2 ICON ICONDIR "/virt-viewer.ico" +3 RT_MANIFEST MANIFESTDIR "/virt-viewer.manifest" diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer.xml b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer.xml new file mode 100644 index 0000000..7441a71 --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/virt-viewer.xml @@ -0,0 +1,561 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 2.6 --> + <object class="GtkAccelGroup" id="accelgroup"/> + <object class="GtkWindow" id="viewer"> + <property name="can_focus">False</property> + <property name="default_width">400</property> + <property name="default_height">400</property> + <signal name="delete-event" handler="virt_viewer_window_delete" swapped="no"/> + <child> + <object class="GtkVBox" id="viewer-box"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkMenuBar" id="top-menu"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkMenuItem" id="menu-file"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">_File</property> + <property name="use_underline">True</property> + <child type="submenu"> + <object class="GtkMenu" id="menu1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="accel_group">accelgroup</property> + <child> + <object class="GtkMenuItem" id="menu-file-screenshot"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Screenshot</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_file_screenshot" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-file-usb-device-selection"> + <property name="visible">True</property> + <property name="sensitive">False</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">USB device selection</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_file_usb_device_selection" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-file-smartcard-insert"> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="accel_path"><virt-viewer>/file/smartcard-insert</property> + <property name="label" translatable="yes">Smartcard insertion</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_file_smartcard_insert" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-file-smartcard-remove"> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="accel_path"><virt-viewer>/file/smartcard-remove</property> + <property name="label" translatable="yes">Smartcard removal</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_file_smartcard_remove" swapped="no"/> + </object> + </child> + <child> + <object class="GtkSeparatorMenuItem" id="separatormenuitem1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + </child> + <child> + <object class="GtkImageMenuItem" id="imagemenuitem5"> + <property name="label">gtk-quit</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="use_stock">True</property> + <accelerator key="q" signal="activate" modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/> + <signal name="activate" handler="virt_viewer_window_menu_file_quit" swapped="no"/> + </object> + </child> + </object> + </child> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-view"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">_View</property> + <property name="use_underline">True</property> + <child type="submenu"> + <object class="GtkMenu" id="menu2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="accel_group">accelgroup</property> + <child> + <object class="GtkCheckMenuItem" id="menu-view-fullscreen"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="accel_path"><virt-viewer>/view/fullscreen</property> + <property name="label" translatable="yes">Full screen</property> + <property name="use_underline">True</property> + <signal name="toggled" handler="virt_viewer_window_menu_view_fullscreen" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-view-zoom"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">_Zoom</property> + <property name="use_underline">True</property> + <child type="submenu"> + <object class="GtkMenu" id="menu4"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkImageMenuItem" id="menu-view-zoom-in"> + <property name="label">gtk-zoom-in</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="use_stock">True</property> + <accelerator key="plus" signal="activate" modifiers="GDK_CONTROL_MASK"/> + <signal name="activate" handler="virt_viewer_window_menu_view_zoom_in" swapped="no"/> + </object> + </child> + <child> + <object class="GtkImageMenuItem" id="menu-view-zoom-out"> + <property name="label">gtk-zoom-out</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="use_stock">True</property> + <accelerator key="minus" signal="activate" modifiers="GDK_CONTROL_MASK"/> + <signal name="activate" handler="virt_viewer_window_menu_view_zoom_out" swapped="no"/> + </object> + </child> + <child> + <object class="GtkSeparatorMenuItem" id="separatormenuitem4"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + </child> + <child> + <object class="GtkImageMenuItem" id="menu-view-zoom-reset"> + <property name="label">gtk-zoom-100</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="use_stock">True</property> + <accelerator key="0" signal="activate" modifiers="GDK_CONTROL_MASK"/> + <signal name="activate" handler="virt_viewer_window_menu_view_zoom_reset" swapped="no"/> + </object> + </child> + </object> + </child> + </object> + </child> + <child> + <object class="GtkCheckMenuItem" id="menu-view-resize"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Automatically resize</property> + <property name="use_underline">True</property> + <signal name="toggled" handler="virt_viewer_window_menu_view_resize" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-displays"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Displays</property> + <property name="use_underline">True</property> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-view-release-cursor"> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="accel_path"><virt-viewer>/view/release-cursor</property> + <property name="label" translatable="yes">Release cursor</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_view_release_cursor" swapped="no"/> + </object> + </child> + </object> + </child> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">_Send key</property> + <property name="use_underline">True</property> + <child type="submenu"> + <object class="GtkMenu" id="menu5"> + <property name="visible">True</property> + <property name="can_focus">False</property> +<!-- <child> + <object class="GtkMenuItem" id="menu-send-cad"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Ctrl+Alt+_Del</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-cab"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Ctrl+Alt+_Backspace</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + <child> + <object class="GtkSeparatorMenuItem" id="separatormenuitem2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-caf1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Ctrl+Alt+F_1</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-caf2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Ctrl+Alt+F_2</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-caf3"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Ctrl+Alt+F_3</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-caf4"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Ctrl+Alt+F_4</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-caf5"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Ctrl+Alt+F_5</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-caf6"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Ctrl+Alt+F_6</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-caf7"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Ctrl+Alt+F_7</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-caf8"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Ctrl+Alt+F_8</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-caf9"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Ctrl+Alt+F_9</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-caf10"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Ctrl+Alt+F1_0</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-caf11"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Ctrl+Alt+F11</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-caf12"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Ctrl+Alt+F12</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + <child> + <object class="GtkSeparatorMenuItem" id="separatormenuitem3"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-print"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">_PrintScreen</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> --> +<!-- <child> + <object class="GtkMenuItem" id="menu-send-home"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Home</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_hwkey_home_press" swapped="no"/> + <signal name="activate" handler="virt_viewer_window_hwkey_home_release" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-power"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Power</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-volume+"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Volume+</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-volume-"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Volume-</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> +--> + <child> + <object class="GtkMenuItem" id="menu-send-rotation0"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Rotation 0</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-rotation90"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Rotation 90</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-rotation180"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Rotation 180</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-rotation270"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Rotation 270</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-hostkbd-on"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Host keyboard on</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-hostkbd-off"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Host keyboard off</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-force-close"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Force close</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-close"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Close</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + <child> + <object class="GtkCheckMenuItem" id="menu-send-always-on-top"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Always on top</property> + <property name="use_underline">True</property> + <signal name="toggled" handler="virt_viewer_window_menu_always_on_top" swapped="no"/> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-send-shell"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">Shell</property> + <property name="use_underline">True</property> + <signal name="activate" handler="virt_viewer_window_menu_send" swapped="no"/> + </object> + </child> + </object> + </child> + </object> + </child> + <child> + <object class="GtkMenuItem" id="menu-help"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="label" translatable="yes">_Help</property> + <property name="use_underline">True</property> + <child type="submenu"> + <object class="GtkMenu" id="menu3"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkImageMenuItem" id="imagemenuitem10"> + <property name="label">gtk-about</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="use_stock">True</property> + <signal name="activate" handler="virt_viewer_window_menu_help_about" swapped="no"/> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + </object> + </child> + </object> +</interface> diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/src/windows-cmdline-wrapper.c b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/windows-cmdline-wrapper.c new file mode 100644 index 0000000..510763b --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/src/windows-cmdline-wrapper.c @@ -0,0 +1,91 @@ +/* + * Windows cmd: a command line wrapper for GUI applications + * + * Copyright (C) 2012 Red Hat, 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 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Usage: + * If your app is a GUI app compiled with -Wl,--subsystem,windows But + * you still want to run it from the command line to support console + * interaction (input, output), you can compile and install this small + * wrapper as a .com file next to your .exe. (.com takes precedence) + * + * This wrapper will call the .exe with the same arguments, and wait + * until it finished. The child process should attach to the same + * console and redirect standard input/output, this way: + * + * if (AttachConsole(ATTACH_PARENT_PROCESS) != 0) { + * freopen("CONIN$", "r", stdin); + * freopen("CONOUT$", "w", stdout); + * freopen("CONERR$", "w", stderr); + * dup2(fileno(stdin), STDIN_FILENO); + * dup2(fileno(stdout), STDOUT_FILENO); + * dup2(fileno(stderr), STDERR_FILENO); + * } + + * Note: if you have a better solution for hybrid console/windows app, + * I would be glad to learn how! + * + * Author: Marc-André Lureau <marcandre.lureau@redhat.com> + */ + +#include <windows.h> +#include <psapi.h> +#include <stdio.h> +#include <assert.h> +#include <string.h> + +int main(int argc, char *argv[]) +{ + STARTUPINFO si = { 0, }; + PROCESS_INFORMATION pi = { 0, }; + TCHAR name[MAX_PATH]; + DWORD len = GetModuleFileName(NULL, name, MAX_PATH); + + if (len < 5) { + printf("Invalid process name\n"); + exit(1); + } else { + // We expect our helper to end with .com + assert(strncmp(name + len - 3, "com", 4) == 0); + // replace .com with .exe + strncpy(name + len - 3, "exe", 3); + } + + si.cb = sizeof(si); + if (!CreateProcess(name, + GetCommandLine(), + NULL, // Process handle not inheritable + NULL, // Thread handle not inheritable + FALSE, // Set handle inheritance to FALSE + 0, // No creation flags + NULL, // Use parent's environment block + NULL, // Use parent's starting directory + &si, + &pi)) { + printf("CreateProcess failed (%ld).\n", GetLastError()); + exit(1); + } + + // Wait until child process exits. + WaitForSingleObject(pi.hProcess, INFINITE); + + // Close process and thread handles. + CloseHandle(pi.hProcess); + CloseHandle(pi.hThread); + + return 0; +} diff --git a/tizen/distrib/remote/client/virt-viewer-0.5.3/virt-viewer.spec.in b/tizen/distrib/remote/client/virt-viewer-0.5.3/virt-viewer.spec.in new file mode 100644 index 0000000..bbdfade --- /dev/null +++ b/tizen/distrib/remote/client/virt-viewer-0.5.3/virt-viewer.spec.in @@ -0,0 +1,173 @@ +# -*- rpm-spec -*- + +# Plugin isn't ready for real world use yet - it needs +# a security audit at very least +%define _with_plugin %{?with_plugin:1}%{!?with_plugin:0} + +%define with_gtk3 0 +%if 0%{?fedora} >= 15 +%define with_gtk3 1 +%endif + +%define with_spice 0 +%if 0%{?fedora} >= 17 +%define with_spice 1 +%endif + +%if 0%{?rhel} >= 6 +%define with_spice 1 +%endif + +# spice-gtk is x86 x86_64 only currently: +%ifnarch %{ix86} x86_64 +%define with_spice 0 +%endif + +Name: @PACKAGE@ +Version: @VERSION@ +Release: 1%{?dist}%{?extra_release} +Summary: Virtual Machine Viewer +Group: Applications/System +License: GPLv2+ +URL: http://virt-manager.org/ +Source0: http://virt-manager.org/download/sources/%{name}/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: openssh-clients +Requires(post): %{_sbindir}/update-alternatives +Requires(postun): %{_sbindir}/update-alternatives +Requires(post): desktop-file-utils +Requires(postun): desktop-file-utils + +%if %{with_gtk3} +BuildRequires: gtk3-devel >= 3.0.0 +%else +BuildRequires: gtk2-devel >= 2.12.0 +%endif +BuildRequires: libvirt-devel >= 0.9.7 +BuildRequires: libxml2-devel +%if %{with_gtk3} +BuildRequires: gtk-vnc2-devel >= 0.4.0 +%else +BuildRequires: gtk-vnc-devel >= 0.3.8 +%endif +%if %{with_spice} +%if %{with_gtk3} +BuildRequires: spice-gtk3-devel >= 0.11 +%else +BuildRequires: spice-gtk-devel >= 0.11 +%endif +BuildRequires: spice-protocol >= 0.10.1 +%endif +BuildRequires: /usr/bin/pod2man +BuildRequires: intltool +%if %{_with_plugin} +%if 0%{?fedora} > 8 +BuildRequires: xulrunner-devel +%else +BuildRequires: firefox-devel +%endif +%endif + +%description +Virtual Machine Viewer provides a graphical console client for connecting +to virtual machines. It uses the GTK-VNC or SPICE-GTK widgets to provide +the display, and libvirt for looking up VNC/SPICE server details. + +%if %{_with_plugin} +%package plugin +Summary: Mozilla plugin for the gtk-vnc library +Group: Development/Libraries +Requires: %{name} = %{version} + +%description plugin +Virtual Machine Viewer provides a graphical console client for connecting +to virtual machines. It uses the GTK-VNC or SPICE-GTK widgets to provide +the display, and libvirt for looking up VNC/SPICE server details. + +This package provides a web browser plugin for Mozilla compatible +browsers. +%endif + +%prep +%setup -q + +%build + +%if %{_with_plugin} +%define plugin_arg --enable-plugin +%else +%define plugin_arg --disable-plugin +%endif + +%if %{with_spice} +%define spice_arg --with-spice-gtk +%else +%define spice_arg --without-spice-gtk +%endif + +%if %{with_gtk3} +%define gtk_arg --with-gtk=3.0 +%else +%define gtk_arg --with-gtk=2.0 +%endif + +%configure %{spice_arg} %{plugin_arg} %{gtk_arg} +%__make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT +mkdir -p %{buildroot}%{_libexecdir} +touch %{buildroot}%{_libexecdir}/spice-xpi-client +install -m 0755 data/spice-xpi-client-remote-viewer %{buildroot}%{_libexecdir}/ +%if %{_with_plugin} +rm -f %{buildroot}%{_libdir}/mozilla/plugins/%{name}-plugin.a +rm -f %{buildroot}%{_libdir}/mozilla/plugins/%{name}-plugin.la +%endif +%find_lang %{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : +%{_sbindir}/update-alternatives --install %{_libexecdir}/spice-xpi-client \ + spice-xpi-client %{_libexecdir}/spice-xpi-client-remote-viewer 25 +update-desktop-database -q %{_datadir}/applications + +%postun +if [ $1 -eq 0 ] ; then + /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null + /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : + %{_sbindir}/update-alternatives --remove spice-xpi-client %{_libexecdir}/spice-xpi-client-remote-viewer +fi +update-desktop-database -q %{_datadir}/applications + +%posttrans +/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc README COPYING AUTHORS ChangeLog NEWS +%{_bindir}/%{name} +%{_bindir}/remote-viewer +%dir %{_datadir}/%{name} +%dir %{_datadir}/%{name}/ui/ +%{_datadir}/%{name}/ui/virt-viewer.xml +%{_datadir}/%{name}/ui/virt-viewer-auth.xml +%{_datadir}/%{name}/ui/virt-viewer-about.xml +%{_datadir}/icons/hicolor/*/apps/* +%{_datadir}/applications/remote-viewer.desktop +%ghost %{_libexecdir}/spice-xpi-client +%{_libexecdir}/spice-xpi-client-remote-viewer +%{_mandir}/man1/virt-viewer.1* +%{_mandir}/man1/remote-viewer.1* + +%if %{_with_plugin} +%files plugin +%defattr(-, root, root) +%{_libdir}/mozilla/plugins/%{name}-plugin.so +%endif + +%changelog diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/AUTHORS b/tizen/distrib/remote/common/celt-0.5.1.3/AUTHORS new file mode 100644 index 0000000..e69de29 diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/COPYING b/tizen/distrib/remote/common/celt-0.5.1.3/COPYING new file mode 100644 index 0000000..e9705a5 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/COPYING @@ -0,0 +1,29 @@ +Copyright 2005-2007 Christopher Montgomery, Jean-Marc Valin, + Timothy Terriberry, CSIRO, and other contributors + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +- Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +- Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. + +- Neither the name of the Xiph.org Foundation nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/ChangeLog b/tizen/distrib/remote/common/celt-0.5.1.3/ChangeLog new file mode 100644 index 0000000..e69de29 diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/Doxyfile b/tizen/distrib/remote/common/celt-0.5.1.3/Doxyfile new file mode 100644 index 0000000..b3175bb --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/Doxyfile @@ -0,0 +1,283 @@ +# Doxyfile 1.5.3 + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- +DOXYFILE_ENCODING = UTF-8 +PROJECT_NAME = CELT +PROJECT_NUMBER = 0.5.0 +OUTPUT_DIRECTORY = doc/API +CREATE_SUBDIRS = NO +OUTPUT_LANGUAGE = English +BRIEF_MEMBER_DESC = YES +REPEAT_BRIEF = YES +ABBREVIATE_BRIEF = "The $name class " \ + "The $name widget " \ + "The $name file " \ + is \ + provides \ + specifies \ + contains \ + represents \ + a \ + an \ + the +ALWAYS_DETAILED_SEC = NO +INLINE_INHERITED_MEMB = NO +FULL_PATH_NAMES = YES +STRIP_FROM_PATH = +STRIP_FROM_INC_PATH = +SHORT_NAMES = NO +JAVADOC_AUTOBRIEF = NO +QT_AUTOBRIEF = NO +MULTILINE_CPP_IS_BRIEF = NO +DETAILS_AT_TOP = NO +INHERIT_DOCS = YES +SEPARATE_MEMBER_PAGES = NO +TAB_SIZE = 8 +ALIASES = +OPTIMIZE_OUTPUT_FOR_C = YES +OPTIMIZE_OUTPUT_JAVA = NO +BUILTIN_STL_SUPPORT = NO +CPP_CLI_SUPPORT = NO +DISTRIBUTE_GROUP_DOC = NO +SUBGROUPING = YES +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- +EXTRACT_ALL = NO +EXTRACT_PRIVATE = NO +EXTRACT_STATIC = NO +EXTRACT_LOCAL_CLASSES = YES +EXTRACT_LOCAL_METHODS = NO +EXTRACT_ANON_NSPACES = NO +HIDE_UNDOC_MEMBERS = YES +HIDE_UNDOC_CLASSES = YES +HIDE_FRIEND_COMPOUNDS = NO +HIDE_IN_BODY_DOCS = NO +INTERNAL_DOCS = NO +CASE_SENSE_NAMES = YES +HIDE_SCOPE_NAMES = NO +SHOW_INCLUDE_FILES = YES +INLINE_INFO = YES +SORT_MEMBER_DOCS = YES +SORT_BRIEF_DOCS = NO +SORT_BY_SCOPE_NAME = NO +GENERATE_TODOLIST = YES +GENERATE_TESTLIST = YES +GENERATE_BUGLIST = YES +GENERATE_DEPRECATEDLIST= YES +ENABLED_SECTIONS = +MAX_INITIALIZER_LINES = 30 +SHOW_USED_FILES = YES +SHOW_DIRECTORIES = NO +FILE_VERSION_FILTER = +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- +QUIET = NO +WARNINGS = YES +WARN_IF_UNDOCUMENTED = YES +WARN_IF_DOC_ERROR = YES +WARN_NO_PARAMDOC = NO +WARN_FORMAT = "$file:$line: $text " +WARN_LOGFILE = +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- +INPUT = libcelt/celt.h \ + libcelt/celt_types.h \ + libcelt/celt_header.h +INPUT_ENCODING = UTF-8 +FILE_PATTERNS = *.c \ + *.cc \ + *.cxx \ + *.cpp \ + *.c++ \ + *.d \ + *.java \ + *.ii \ + *.ixx \ + *.ipp \ + *.i++ \ + *.inl \ + *.h \ + *.hh \ + *.hxx \ + *.hpp \ + *.h++ \ + *.idl \ + *.odl \ + *.cs \ + *.php \ + *.php3 \ + *.inc \ + *.m \ + *.mm \ + *.dox \ + *.py \ + *.C \ + *.CC \ + *.C++ \ + *.II \ + *.I++ \ + *.H \ + *.HH \ + *.H++ \ + *.CS \ + *.PHP \ + *.PHP3 \ + *.M \ + *.MM \ + *.PY +RECURSIVE = NO +EXCLUDE = +EXCLUDE_SYMLINKS = NO +EXCLUDE_PATTERNS = *.c +EXCLUDE_SYMBOLS = +EXAMPLE_PATH = +EXAMPLE_PATTERNS = * +EXAMPLE_RECURSIVE = NO +IMAGE_PATH = +INPUT_FILTER = +FILTER_PATTERNS = +FILTER_SOURCE_FILES = NO +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- +SOURCE_BROWSER = YES +INLINE_SOURCES = NO +STRIP_CODE_COMMENTS = YES +REFERENCED_BY_RELATION = YES +REFERENCES_RELATION = YES +REFERENCES_LINK_SOURCE = YES +USE_HTAGS = NO +VERBATIM_HEADERS = YES +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- +ALPHABETICAL_INDEX = NO +COLS_IN_ALPHA_INDEX = 5 +IGNORE_PREFIX = +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- +GENERATE_HTML = YES +HTML_OUTPUT = html +HTML_FILE_EXTENSION = .html +HTML_HEADER = +HTML_FOOTER = +HTML_STYLESHEET = +HTML_ALIGN_MEMBERS = YES +GENERATE_HTMLHELP = NO +HTML_DYNAMIC_SECTIONS = NO +CHM_FILE = +HHC_LOCATION = +GENERATE_CHI = NO +BINARY_TOC = NO +TOC_EXPAND = NO +DISABLE_INDEX = NO +ENUM_VALUES_PER_LINE = 4 +GENERATE_TREEVIEW = NO +TREEVIEW_WIDTH = 250 +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- +GENERATE_LATEX = YES +LATEX_OUTPUT = latex +LATEX_CMD_NAME = latex +MAKEINDEX_CMD_NAME = makeindex +COMPACT_LATEX = NO +PAPER_TYPE = a4wide +EXTRA_PACKAGES = +LATEX_HEADER = +PDF_HYPERLINKS = YES +USE_PDFLATEX = YES +LATEX_BATCHMODE = NO +LATEX_HIDE_INDICES = NO +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- +GENERATE_RTF = NO +RTF_OUTPUT = rtf +COMPACT_RTF = NO +RTF_HYPERLINKS = NO +RTF_STYLESHEET_FILE = +RTF_EXTENSIONS_FILE = +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- +GENERATE_MAN = YES +MAN_OUTPUT = man +MAN_EXTENSION = .3 +MAN_LINKS = NO +#--------------------------------------------------------------------------- +# configuration options related to the XML output +#--------------------------------------------------------------------------- +GENERATE_XML = NO +XML_OUTPUT = xml +XML_SCHEMA = +XML_DTD = +XML_PROGRAMLISTING = YES +#--------------------------------------------------------------------------- +# configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- +GENERATE_AUTOGEN_DEF = NO +#--------------------------------------------------------------------------- +# configuration options related to the Perl module output +#--------------------------------------------------------------------------- +GENERATE_PERLMOD = NO +PERLMOD_LATEX = NO +PERLMOD_PRETTY = YES +PERLMOD_MAKEVAR_PREFIX = +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- +ENABLE_PREPROCESSING = YES +MACRO_EXPANSION = NO +EXPAND_ONLY_PREDEF = NO +SEARCH_INCLUDES = YES +INCLUDE_PATH = +INCLUDE_FILE_PATTERNS = +PREDEFINED = +EXPAND_AS_DEFINED = +SKIP_FUNCTION_MACROS = YES +#--------------------------------------------------------------------------- +# Configuration::additions related to external references +#--------------------------------------------------------------------------- +TAGFILES = +GENERATE_TAGFILE = +ALLEXTERNALS = NO +EXTERNAL_GROUPS = YES +PERL_PATH = /usr/bin/perl +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- +CLASS_DIAGRAMS = NO +MSCGEN_PATH = +HIDE_UNDOC_RELATIONS = YES +HAVE_DOT = YES +CLASS_GRAPH = YES +COLLABORATION_GRAPH = YES +GROUP_GRAPHS = YES +UML_LOOK = NO +TEMPLATE_RELATIONS = NO +INCLUDE_GRAPH = NO +INCLUDED_BY_GRAPH = NO +CALL_GRAPH = NO +CALLER_GRAPH = NO +GRAPHICAL_HIERARCHY = YES +DIRECTORY_GRAPH = YES +DOT_IMAGE_FORMAT = png +DOT_PATH = +DOTFILE_DIRS = +DOT_GRAPH_MAX_NODES = 50 +MAX_DOT_GRAPH_DEPTH = 1000 +DOT_TRANSPARENT = NO +DOT_MULTI_TARGETS = NO +GENERATE_LEGEND = YES +DOT_CLEANUP = YES +#--------------------------------------------------------------------------- +# Configuration::additions related to the search engine +#--------------------------------------------------------------------------- +SEARCHENGINE = NO diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/Doxyfile.devel b/tizen/distrib/remote/common/celt-0.5.1.3/Doxyfile.devel new file mode 100644 index 0000000..39ef513 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/Doxyfile.devel @@ -0,0 +1,281 @@ +# Doxyfile 1.5.3 + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- +DOXYFILE_ENCODING = UTF-8 +PROJECT_NAME = CELT +PROJECT_NUMBER = 0.5.0 +OUTPUT_DIRECTORY = doc/devel +CREATE_SUBDIRS = NO +OUTPUT_LANGUAGE = English +BRIEF_MEMBER_DESC = YES +REPEAT_BRIEF = YES +ABBREVIATE_BRIEF = "The $name class " \ + "The $name widget " \ + "The $name file " \ + is \ + provides \ + specifies \ + contains \ + represents \ + a \ + an \ + the +ALWAYS_DETAILED_SEC = NO +INLINE_INHERITED_MEMB = NO +FULL_PATH_NAMES = YES +STRIP_FROM_PATH = +STRIP_FROM_INC_PATH = +SHORT_NAMES = NO +JAVADOC_AUTOBRIEF = NO +QT_AUTOBRIEF = NO +MULTILINE_CPP_IS_BRIEF = NO +DETAILS_AT_TOP = NO +INHERIT_DOCS = YES +SEPARATE_MEMBER_PAGES = NO +TAB_SIZE = 8 +ALIASES = +OPTIMIZE_OUTPUT_FOR_C = YES +OPTIMIZE_OUTPUT_JAVA = NO +BUILTIN_STL_SUPPORT = NO +CPP_CLI_SUPPORT = NO +DISTRIBUTE_GROUP_DOC = NO +SUBGROUPING = YES +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- +EXTRACT_ALL = YES +EXTRACT_PRIVATE = NO +EXTRACT_STATIC = NO +EXTRACT_LOCAL_CLASSES = YES +EXTRACT_LOCAL_METHODS = NO +EXTRACT_ANON_NSPACES = NO +HIDE_UNDOC_MEMBERS = YES +HIDE_UNDOC_CLASSES = YES +HIDE_FRIEND_COMPOUNDS = NO +HIDE_IN_BODY_DOCS = NO +INTERNAL_DOCS = NO +CASE_SENSE_NAMES = YES +HIDE_SCOPE_NAMES = NO +SHOW_INCLUDE_FILES = YES +INLINE_INFO = YES +SORT_MEMBER_DOCS = YES +SORT_BRIEF_DOCS = NO +SORT_BY_SCOPE_NAME = NO +GENERATE_TODOLIST = YES +GENERATE_TESTLIST = YES +GENERATE_BUGLIST = YES +GENERATE_DEPRECATEDLIST= YES +ENABLED_SECTIONS = +MAX_INITIALIZER_LINES = 30 +SHOW_USED_FILES = YES +SHOW_DIRECTORIES = NO +FILE_VERSION_FILTER = +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- +QUIET = NO +WARNINGS = YES +WARN_IF_UNDOCUMENTED = YES +WARN_IF_DOC_ERROR = YES +WARN_NO_PARAMDOC = NO +WARN_FORMAT = "$file:$line: $text " +WARN_LOGFILE = +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- +INPUT = libcelt +INPUT_ENCODING = UTF-8 +FILE_PATTERNS = *.c \ + *.cc \ + *.cxx \ + *.cpp \ + *.c++ \ + *.d \ + *.java \ + *.ii \ + *.ixx \ + *.ipp \ + *.i++ \ + *.inl \ + *.h \ + *.hh \ + *.hxx \ + *.hpp \ + *.h++ \ + *.idl \ + *.odl \ + *.cs \ + *.php \ + *.php3 \ + *.inc \ + *.m \ + *.mm \ + *.dox \ + *.py \ + *.C \ + *.CC \ + *.C++ \ + *.II \ + *.I++ \ + *.H \ + *.HH \ + *.H++ \ + *.CS \ + *.PHP \ + *.PHP3 \ + *.M \ + *.MM \ + *.PY +RECURSIVE = NO +EXCLUDE = +EXCLUDE_SYMLINKS = NO +EXCLUDE_PATTERNS = +EXCLUDE_SYMBOLS = +EXAMPLE_PATH = +EXAMPLE_PATTERNS = * +EXAMPLE_RECURSIVE = NO +IMAGE_PATH = +INPUT_FILTER = +FILTER_PATTERNS = +FILTER_SOURCE_FILES = NO +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- +SOURCE_BROWSER = YES +INLINE_SOURCES = NO +STRIP_CODE_COMMENTS = YES +REFERENCED_BY_RELATION = YES +REFERENCES_RELATION = YES +REFERENCES_LINK_SOURCE = YES +USE_HTAGS = NO +VERBATIM_HEADERS = YES +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- +ALPHABETICAL_INDEX = NO +COLS_IN_ALPHA_INDEX = 5 +IGNORE_PREFIX = +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- +GENERATE_HTML = YES +HTML_OUTPUT = html +HTML_FILE_EXTENSION = .html +HTML_HEADER = +HTML_FOOTER = +HTML_STYLESHEET = +HTML_ALIGN_MEMBERS = YES +GENERATE_HTMLHELP = NO +HTML_DYNAMIC_SECTIONS = NO +CHM_FILE = +HHC_LOCATION = +GENERATE_CHI = NO +BINARY_TOC = NO +TOC_EXPAND = NO +DISABLE_INDEX = NO +ENUM_VALUES_PER_LINE = 4 +GENERATE_TREEVIEW = NO +TREEVIEW_WIDTH = 250 +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- +GENERATE_LATEX = YES +LATEX_OUTPUT = latex +LATEX_CMD_NAME = latex +MAKEINDEX_CMD_NAME = makeindex +COMPACT_LATEX = NO +PAPER_TYPE = a4wide +EXTRA_PACKAGES = +LATEX_HEADER = +PDF_HYPERLINKS = YES +USE_PDFLATEX = YES +LATEX_BATCHMODE = NO +LATEX_HIDE_INDICES = NO +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- +GENERATE_RTF = NO +RTF_OUTPUT = rtf +COMPACT_RTF = NO +RTF_HYPERLINKS = NO +RTF_STYLESHEET_FILE = +RTF_EXTENSIONS_FILE = +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- +GENERATE_MAN = YES +MAN_OUTPUT = man +MAN_EXTENSION = .3 +MAN_LINKS = NO +#--------------------------------------------------------------------------- +# configuration options related to the XML output +#--------------------------------------------------------------------------- +GENERATE_XML = NO +XML_OUTPUT = xml +XML_SCHEMA = +XML_DTD = +XML_PROGRAMLISTING = YES +#--------------------------------------------------------------------------- +# configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- +GENERATE_AUTOGEN_DEF = NO +#--------------------------------------------------------------------------- +# configuration options related to the Perl module output +#--------------------------------------------------------------------------- +GENERATE_PERLMOD = NO +PERLMOD_LATEX = NO +PERLMOD_PRETTY = YES +PERLMOD_MAKEVAR_PREFIX = +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- +ENABLE_PREPROCESSING = YES +MACRO_EXPANSION = NO +EXPAND_ONLY_PREDEF = NO +SEARCH_INCLUDES = YES +INCLUDE_PATH = +INCLUDE_FILE_PATTERNS = +PREDEFINED = +EXPAND_AS_DEFINED = +SKIP_FUNCTION_MACROS = YES +#--------------------------------------------------------------------------- +# Configuration::additions related to external references +#--------------------------------------------------------------------------- +TAGFILES = +GENERATE_TAGFILE = +ALLEXTERNALS = NO +EXTERNAL_GROUPS = YES +PERL_PATH = /usr/bin/perl +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- +CLASS_DIAGRAMS = NO +MSCGEN_PATH = +HIDE_UNDOC_RELATIONS = YES +HAVE_DOT = YES +CLASS_GRAPH = YES +COLLABORATION_GRAPH = YES +GROUP_GRAPHS = YES +UML_LOOK = NO +TEMPLATE_RELATIONS = NO +INCLUDE_GRAPH = NO +INCLUDED_BY_GRAPH = NO +CALL_GRAPH = NO +CALLER_GRAPH = NO +GRAPHICAL_HIERARCHY = YES +DIRECTORY_GRAPH = YES +DOT_IMAGE_FORMAT = png +DOT_PATH = +DOTFILE_DIRS = +DOT_GRAPH_MAX_NODES = 50 +MAX_DOT_GRAPH_DEPTH = 1000 +DOT_TRANSPARENT = NO +DOT_MULTI_TARGETS = NO +GENERATE_LEGEND = YES +DOT_CLEANUP = YES +#--------------------------------------------------------------------------- +# Configuration::additions related to the search engine +#--------------------------------------------------------------------------- +SEARCHENGINE = NO diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/INSTALL b/tizen/distrib/remote/common/celt-0.5.1.3/INSTALL new file mode 100644 index 0000000..4b0336c --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/INSTALL @@ -0,0 +1,5 @@ +To compile: + +./configure +make + diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/Makefile.am b/tizen/distrib/remote/common/celt-0.5.1.3/Makefile.am new file mode 100644 index 0000000..3d70b13 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/Makefile.am @@ -0,0 +1,18 @@ +## Process this file with automake to produce Makefile.in. -*-Makefile-*- + +# To disable automatic dependency tracking if using other tools than +# gcc and gmake, add the option 'no-dependencies' +AUTOMAKE_OPTIONS = 1.6 + +#Fools KDevelop into including all files +SUBDIRS = libcelt tests @tools@ + +DIST_SUBDIRS = libcelt tests tools + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = celt@PACKAGE_APPEND@.pc + +EXTRA_DIST = celt@PACKAGE_APPEND@.pc.in Doxyfile Doxyfile.devel + +rpm: dist + rpmbuild -ta ${PACKAGE}-${VERSION}.tar.gz diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/Makefile.in b/tizen/distrib/remote/common/celt-0.5.1.3/Makefile.in new file mode 100644 index 0000000..21d9092 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/Makefile.in @@ -0,0 +1,688 @@ +# Makefile.in generated by automake 1.10.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008 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@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@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 = . +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in $(srcdir)/config.h.in \ + $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ + TODO config.guess config.sub depcomp install-sh ltmain.sh \ + missing +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-dvi-recursive install-exec-recursive \ + install-html-recursive install-info-recursive \ + install-pdf-recursive install-ps-recursive install-recursive \ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive +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 = `echo $$p | sed -e 's|^.*/||'`; +am__installdirs = "$(DESTDIR)$(pkgconfigdir)" +pkgconfigDATA_INSTALL = $(INSTALL_DATA) +DATA = $(pkgconfig_DATA) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + { test ! -d $(distdir) \ + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -fr $(distdir); }; } +DIST_ARCHIVES = $(distdir).tar.gz +GZIP_ENV = --best +distuninstallcheck_listfiles = find . -type f -print +distcleancheck_listfiles = find . -type f -print +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CELT_LT_AGE = @CELT_LT_AGE@ +CELT_LT_CURRENT = @CELT_LT_CURRENT@ +CELT_LT_REVISION = @CELT_LT_REVISION@ +CELT_VERSION = @CELT_VERSION@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DSYMUTIL = @DSYMUTIL@ +ECHO = @ECHO@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +NMEDIT = @NMEDIT@ +OBJEXT = @OBJEXT@ +OGG_CFLAGS = @OGG_CFLAGS@ +OGG_LIBS = @OGG_LIBS@ +PACKAGE = @PACKAGE@ +PACKAGE_APPEND = @PACKAGE_APPEND@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SIZE16 = @SIZE16@ +SIZE32 = @SIZE32@ +STRIP = @STRIP@ +VERSION = @VERSION@ +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@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_F77 = @ac_ct_F77@ +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@ +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@ +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@ +tools = @tools@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ + +# To disable automatic dependency tracking if using other tools than +# gcc and gmake, add the option 'no-dependencies' +AUTOMAKE_OPTIONS = 1.6 + +#Fools KDevelop into including all files +SUBDIRS = libcelt tests @tools@ +DIST_SUBDIRS = libcelt tests tools +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = celt@PACKAGE_APPEND@.pc +EXTRA_DIST = celt@PACKAGE_APPEND@.pc.in Doxyfile Doxyfile.devel +all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: +am--refresh: + @: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ + cd $(srcdir) && $(AUTOMAKE) --gnu \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) + +config.h: stamp-h1 + @if test ! -f $@; then \ + rm -f stamp-h1; \ + $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ + else :; fi + +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config.h +$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_srcdir) && $(AUTOHEADER) + rm -f stamp-h1 + touch $@ + +distclean-hdr: + -rm -f config.h stamp-h1 + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + -rm -f libtool +install-pkgconfigDATA: $(pkgconfig_DATA) + @$(NORMAL_INSTALL) + test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" + @list='$(pkgconfig_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ + $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \ + done + +uninstall-pkgconfigDATA: + @$(NORMAL_UNINSTALL) + @list='$(pkgconfig_DATA)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ + rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \ + done + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +$(RECURSIVE_CLEAN_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + $(am__remove_distdir) + test -d $(distdir) || mkdir $(distdir) + @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 $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + distdir=`$(am__cd) $(distdir) && pwd`; \ + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ + (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$top_distdir" \ + distdir="$$distdir/$$subdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + distdir) \ + || exit 1; \ + fi; \ + done + -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r $(distdir) +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + +dist-lzma: distdir + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma + $(am__remove_distdir) + +dist-tarZ: distdir + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__remove_distdir) + +dist-shar: distdir + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + $(am__remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__remove_distdir) + +dist dist-all: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lzma*) \ + unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir); chmod a+w $(distdir) + mkdir $(distdir)/_build + mkdir $(distdir)/_inst + chmod a-w $(distdir) + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && cd $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck + $(am__remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' +distuninstallcheck: + @cd $(distuninstallcheck_dir) \ + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: check-recursive +all-am: Makefile $(DATA) config.h +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(pkgconfigdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-hdr \ + distclean-libtool distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +info: info-recursive + +info-am: + +install-data-am: install-pkgconfigDATA + +install-dvi: install-dvi-recursive + +install-exec-am: + +install-html: install-html-recursive + +install-info: install-info-recursive + +install-man: + +install-pdf: install-pdf-recursive + +install-ps: install-ps-recursive + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-pkgconfigDATA + +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ + install-strip + +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am am--refresh check check-am clean clean-generic \ + clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \ + dist-gzip dist-lzma dist-shar dist-tarZ dist-zip distcheck \ + distclean distclean-generic distclean-hdr distclean-libtool \ + distclean-tags distcleancheck distdir distuninstallcheck 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-pdf \ + install-pdf-am install-pkgconfigDATA install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + installdirs-am maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ + ps ps-am tags tags-recursive uninstall uninstall-am \ + uninstall-pkgconfigDATA + + +rpm: dist + rpmbuild -ta ${PACKAGE}-${VERSION}.tar.gz +# 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: diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/NEWS b/tizen/distrib/remote/common/celt-0.5.1.3/NEWS new file mode 100644 index 0000000..e69de29 diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/README b/tizen/distrib/remote/common/celt-0.5.1.3/README new file mode 100644 index 0000000..3ac039e --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/README @@ -0,0 +1,33 @@ +CELT is a very low delay audio codec designed for high-quality +communications. Its potential uses include video-conferencing and +network music performance. This is a maintained branch of the 0.5.1 +prerelease of CELT. + +THIS 0.5.1-X PRERELEASE IS NOT COMPATABLE WITH ANY PREVIOUS OR +SUBSEQUENT NUMBERED RELEASE. + +0.5.0 aand before as well as 0.5.2 and later use a different API, a +different ABI and a different bitstream format. Only other +prereleases on this 0.5.1 branch are code, binary or stream compatable +with this version. + +To compile: +% ./configure +% make + +To test the encoder: +% testcelt <rate> <channels> <frame size> <bytes per packet> input.sw output.sw + +...where input.sw is a 16-bit (machine endian) audio file sampled at +44.1 kHz or 48 kHz. The output file is already decompressed. the +<rate> parameter is the number of bytes per packet to use. + +Alternatively, there are now Ogg-based tools in tools/. Use the --help +option for details. These are quite similar to the speexenc/speexdec +tools. Note that these tools should be used for +_testing_purposes_only_; the bitstream format used by CELT-0.5.1 has +already been altered in subsequent releases. Files produced by +celtenc051 will not be supported by later releases of celt. They will +work only with releasein this 0.5.1 branch, and will not be supported +in the larger Ogg frameworks. + diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/TODO b/tizen/distrib/remote/common/celt-0.5.1.3/TODO new file mode 100644 index 0000000..4c48482 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/TODO @@ -0,0 +1,20 @@ +- Check minimum width of bands +- Revisit energy resolution based on the bit-rate +- Revisit static bit allocation (as a function of frame size and channels) +- Dynamic adjustment of energy quantisation +- Psychacoustics + * Error shaping within each band + * Decisions on the rate +- Intensity stereo decisions +- Dynamic (intra-frame) bit allocation +- Joint encoding of stereo energy + +- Encode band shape (or just tilt)? +- Make energy encoding more robust to losses? + + +Misc: +Detect uint decoding and flag them in the decoder directly +If we attempt to write too many bits on the encoder side, set a flag instead of +aborting +Save "raw bytes" at the end of the stream diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/acinclude.m4 b/tizen/distrib/remote/common/celt-0.5.1.3/acinclude.m4 new file mode 100644 index 0000000..1346177 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/acinclude.m4 @@ -0,0 +1,44 @@ +dnl @synopsis AC_C99_FUNC_LRINTF +dnl +dnl Check whether C99's lrintf function is available. +dnl @version 1.1 +dnl @author Erik de Castro Lopo <erikd AT mega-nerd DOT com> +dnl +dnl Permission to use, copy, modify, distribute, and sell this file for any +dnl purpose is hereby granted without fee, provided that the above copyright +dnl and this permission notice appear in all copies. No representations are +dnl made about the suitability of this software for any purpose. It is +dnl provided "as is" without express or implied warranty. +dnl +AC_DEFUN([AC_C99_FUNC_LRINTF], +[AC_CACHE_CHECK(for lrintf, + ac_cv_c99_lrintf, +[AC_TRY_COMPILE([ +#define _ISOC9X_SOURCE 1 +#define _ISOC99_SOURCE 1 +#define __USE_ISOC99 1 +#define __USE_ISOC9X 1 +#include <math.h>], +[ int value = lrintf (0.432) ; ], ac_cv_c99_lrintf=yes, ac_cv_c99_lrintf=no)]) +if test $ac_cv_c99_lrintf = yes; then + AC_DEFINE(HAVE_LRINTF, 1, + [Define if you have C99's lrintf function.]) +fi +])# AC_C99_LRINTF + +AC_DEFUN([AC_C99_FUNC_LRINT], +[AC_CACHE_CHECK(for lrint, + ac_cv_c99_lrint, +[AC_TRY_COMPILE([ +#define _ISOC9X_SOURCE 1 +#define _ISOC99_SOURCE 1 +#define __USE_ISOC99 1 +#define __USE_ISOC9X 1 +#include <math.h>], +[ int value = lrint (0.432) ; ], ac_cv_c99_lrint=yes, ac_cv_c99_lrint=no)]) +if test $ac_cv_c99_lrint = yes; then + AC_DEFINE(HAVE_LRINT, 1, + [Define if you have C99's lrint function.]) +fi +])# AC_C99_LRINT + diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/aclocal.m4 b/tizen/distrib/remote/common/celt-0.5.1.3/aclocal.m4 new file mode 100644 index 0000000..7f2c328 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/aclocal.m4 @@ -0,0 +1,7665 @@ +# generated automatically by aclocal 1.10.1 -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +# 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# This file 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. + +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +m4_if(AC_AUTOCONF_VERSION, [2.61],, +[m4_warning([this file was generated for autoconf 2.61. +You have another version of autoconf. It may work, but is not guaranteed to. +If you have problems, you may need to regenerate the build system entirely. +To do so, use the procedure documented by the package, typically `autoreconf'.])]) + +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- + +# serial 52 Debian 1.5.26-4 AC_PROG_LIBTOOL + + +# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) +# ----------------------------------------------------------- +# If this macro is not defined by Autoconf, define it here. +m4_ifdef([AC_PROVIDE_IFELSE], + [], + [m4_define([AC_PROVIDE_IFELSE], + [m4_ifdef([AC_PROVIDE_$1], + [$2], [$3])])]) + + +# AC_PROG_LIBTOOL +# --------------- +AC_DEFUN([AC_PROG_LIBTOOL], +[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. + AC_PROVIDE_IFELSE([AC_PROG_CXX], + [AC_LIBTOOL_CXX], + [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX + ])]) +dnl And a similar setup for Fortran 77 support + AC_PROVIDE_IFELSE([AC_PROG_F77], + [AC_LIBTOOL_F77], + [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 +])]) + +dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. +dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. + AC_PROVIDE_IFELSE([AC_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [ifdef([AC_PROG_GCJ], + [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) + ifdef([A][M_PROG_GCJ], + [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) + ifdef([LT_AC_PROG_GCJ], + [define([LT_AC_PROG_GCJ], + defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) +])])# AC_PROG_LIBTOOL + + +# _AC_PROG_LIBTOOL +# ---------------- +AC_DEFUN([_AC_PROG_LIBTOOL], +[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl +AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' +AC_SUBST(LIBTOOL)dnl + +# Prevent multiple expansion +define([AC_PROG_LIBTOOL], []) +])# _AC_PROG_LIBTOOL + + +# AC_LIBTOOL_SETUP +# ---------------- +AC_DEFUN([AC_LIBTOOL_SETUP], +[AC_PREREQ(2.50)dnl +AC_REQUIRE([AC_ENABLE_SHARED])dnl +AC_REQUIRE([AC_ENABLE_STATIC])dnl +AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_PROG_LD])dnl +AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl +AC_REQUIRE([AC_PROG_NM])dnl + +AC_REQUIRE([AC_PROG_LN_S])dnl +AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! +AC_REQUIRE([AC_OBJEXT])dnl +AC_REQUIRE([AC_EXEEXT])dnl +dnl +AC_LIBTOOL_SYS_MAX_CMD_LEN +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE +AC_LIBTOOL_OBJDIR + +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl +_LT_AC_PROG_ECHO_BACKSLASH + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='sed -e 1s/^X//' +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] + +# Same as above, but do not quote variable references. +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +# Constants: +rm="rm -f" + +# Global variables: +default_ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except MSVC, +# which needs '.lib'). +libext=a +ltmain="$ac_aux_dir/ltmain.sh" +ofile="$default_ofile" +with_gnu_ld="$lt_cv_prog_gnu_ld" + +AC_CHECK_TOOL(AR, ar, false) +AC_CHECK_TOOL(RANLIB, ranlib, :) +AC_CHECK_TOOL(STRIP, strip, :) + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +test -z "$AS" && AS=as +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS +test -z "$DLLTOOL" && DLLTOOL=dlltool +test -z "$LD" && LD=ld +test -z "$LN_S" && LN_S="ln -s" +test -z "$MAGIC_CMD" && MAGIC_CMD=file +test -z "$NM" && NM=nm +test -z "$SED" && SED=sed +test -z "$OBJDUMP" && OBJDUMP=objdump +test -z "$RANLIB" && RANLIB=: +test -z "$STRIP" && STRIP=: +test -z "$ac_objext" && ac_objext=o + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" + ;; + *) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi + +_LT_CC_BASENAME([$compiler]) + +# Only perform the check for file, if the check method requires it +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + AC_PATH_MAGIC + fi + ;; +esac + +_LT_REQUIRED_DARWIN_CHECKS + +AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], +enable_win32_dll=yes, enable_win32_dll=no) + +AC_ARG_ENABLE([libtool-lock], + [AC_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +AC_ARG_WITH([pic], + [AC_HELP_STRING([--with-pic], + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], + [pic_mode="$withval"], + [pic_mode=default]) +test -z "$pic_mode" && pic_mode=default + +# Use C for the default configuration in the libtool script +tagname= +AC_LIBTOOL_LANG_C_CONFIG +_LT_AC_TAGCONFIG +])# AC_LIBTOOL_SETUP + + +# _LT_AC_SYS_COMPILER +# ------------------- +AC_DEFUN([_LT_AC_SYS_COMPILER], +[AC_REQUIRE([AC_PROG_CC])dnl + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC +])# _LT_AC_SYS_COMPILER + + +# _LT_CC_BASENAME(CC) +# ------------------- +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. +AC_DEFUN([_LT_CC_BASENAME], +[for cc_temp in $1""; do + case $cc_temp in + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` +]) + + +# _LT_COMPILER_BOILERPLATE +# ------------------------ +# Check for compiler boilerplate output or warnings with +# the simple compiler test code. +AC_DEFUN([_LT_COMPILER_BOILERPLATE], +[AC_REQUIRE([LT_AC_PROG_SED])dnl +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$rm conftest* +])# _LT_COMPILER_BOILERPLATE + + +# _LT_LINKER_BOILERPLATE +# ---------------------- +# Check for linker boilerplate output or warnings with +# the simple link test code. +AC_DEFUN([_LT_LINKER_BOILERPLATE], +[AC_REQUIRE([LT_AC_PROG_SED])dnl +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$rm -r conftest* +])# _LT_LINKER_BOILERPLATE + +# _LT_REQUIRED_DARWIN_CHECKS +# -------------------------- +# Check for some things on darwin +AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[ + case $host_os in + rhapsody* | darwin*) + AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) + AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) + + AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], + [lt_cv_apple_cc_single_mod=no + if test -z "${LT_MULTI_MODULE}"; then + # By default we will add the -single_module flag. You can override + # by either setting the environment variable LT_MULTI_MODULE + # non-empty at configure time, or by adding -multi_module to the + # link flags. + echo "int foo(void){return 1;}" > conftest.c + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ + -dynamiclib ${wl}-single_module conftest.c + if test -f libconftest.dylib; then + lt_cv_apple_cc_single_mod=yes + rm -rf libconftest.dylib* + fi + rm conftest.c + fi]) + AC_CACHE_CHECK([for -exported_symbols_list linker flag], + [lt_cv_ld_exported_symbols_list], + [lt_cv_ld_exported_symbols_list=no + save_LDFLAGS=$LDFLAGS + echo "_main" > conftest.sym + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], + [lt_cv_ld_exported_symbols_list=yes], + [lt_cv_ld_exported_symbols_list=no]) + LDFLAGS="$save_LDFLAGS" + ]) + case $host_os in + rhapsody* | darwin1.[[0123]]) + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; + darwin1.*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + darwin*) + # if running on 10.5 or later, the deployment target defaults + # to the OS version, if on x86, and 10.4, the deployment + # target defaults to 10.4. Don't you love it? + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in + 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + 10.[[012]]*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + 10.*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + esac + ;; + esac + if test "$lt_cv_apple_cc_single_mod" = "yes"; then + _lt_dar_single_mod='$single_module' + fi + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' + else + _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}" + fi + if test "$DSYMUTIL" != ":"; then + _lt_dsymutil="~$DSYMUTIL \$lib || :" + else + _lt_dsymutil= + fi + ;; + esac +]) + +# _LT_AC_SYS_LIBPATH_AIX +# ---------------------- +# Links a minimal program and checks the executable +# for the system default hardcoded library path. In most cases, +# this is /usr/lib:/lib, but when the MPI compilers are used +# the location of the communication and MPI libs are included too. +# If we don't find anything, use the default library path according +# to the aix ld manual. +AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], +[AC_REQUIRE([LT_AC_PROG_SED])dnl +AC_LINK_IFELSE(AC_LANG_PROGRAM,[ +lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\(.*\)$/\1/ + p + } + }' +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +fi],[]) +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +])# _LT_AC_SYS_LIBPATH_AIX + + +# _LT_AC_SHELL_INIT(ARG) +# ---------------------- +AC_DEFUN([_LT_AC_SHELL_INIT], +[ifdef([AC_DIVERSION_NOTICE], + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], + [AC_DIVERT_PUSH(NOTICE)]) +$1 +AC_DIVERT_POP +])# _LT_AC_SHELL_INIT + + +# _LT_AC_PROG_ECHO_BACKSLASH +# -------------------------- +# Add some code to the start of the generated configure script which +# will find an echo command which doesn't interpret backslashes. +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], +[_LT_AC_SHELL_INIT([ +# Check that we are running under the correct shell. +SHELL=${CONFIG_SHELL-/bin/sh} + +case X$ECHO in +X*--fallback-echo) + # Remove one level of quotation (which was required for Make). + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` + ;; +esac + +echo=${ECHO-echo} +if test "X[$]1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X[$]1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then + # Yippee, $echo works! + : +else + # Restart under the correct shell. + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} +fi + +if test "X[$]1" = X--fallback-echo; then + # used as fallback echo + shift + cat <<EOF +[$]* +EOF + exit 0 +fi + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +if test -z "$ECHO"; then +if test "X${echo_test_string+set}" != Xset; then +# find a string as large as possible, as long as the shell can cope with it + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... + if (echo_test_string=`eval $cmd`) 2>/dev/null && + echo_test_string=`eval $cmd` && + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null + then + break + fi + done +fi + +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + : +else + # The Solaris, AIX, and Digital Unix default echo programs unquote + # backslashes. This makes it impossible to quote backslashes using + # echo "$something" | sed 's/\\/\\\\/g' + # + # So, first we look for a working echo in the user's PATH. + + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for dir in $PATH /usr/ucb; do + IFS="$lt_save_ifs" + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + echo="$dir/echo" + break + fi + done + IFS="$lt_save_ifs" + + if test "X$echo" = Xecho; then + # We didn't find a better echo, so look for alternatives. + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # This shell has a builtin print -r that does the trick. + echo='print -r' + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && + test "X$CONFIG_SHELL" != X/bin/ksh; then + # If we have ksh, try running configure again with it. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} + export ORIGINAL_CONFIG_SHELL + CONFIG_SHELL=/bin/ksh + export CONFIG_SHELL + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} + else + # Try using printf. + echo='printf %s\n' + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # Cool, printf works + : + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL + export CONFIG_SHELL + SHELL="$CONFIG_SHELL" + export SHELL + echo="$CONFIG_SHELL [$]0 --fallback-echo" + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + echo="$CONFIG_SHELL [$]0 --fallback-echo" + else + # maybe with a smaller string... + prev=: + + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null + then + break + fi + prev="$cmd" + done + + if test "$prev" != 'sed 50q "[$]0"'; then + echo_test_string=`eval $prev` + export echo_test_string + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} + else + # Oops. We lost completely, so just stick with echo. + echo=echo + fi + fi + fi + fi +fi +fi + +# Copy echo and quote the copy suitably for passing to libtool from +# the Makefile, instead of quoting the original, which is used later. +ECHO=$echo +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then + ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" +fi + +AC_SUBST(ECHO) +])])# _LT_AC_PROG_ECHO_BACKSLASH + + +# _LT_AC_LOCK +# ----------- +AC_DEFUN([_LT_AC_LOCK], +[AC_ARG_ENABLE([libtool-lock], + [AC_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '[#]line __oline__ "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ +s390*-*linux*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.o` in + *32-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_i386_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*|powerpc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_x86_64_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, + [AC_LANG_PUSH(C) + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) + AC_LANG_POP]) + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +sparc*-*solaris*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.o` in + *64-bit*) + case $lt_cv_prog_gnu_ld in + yes*) LD="${LD-ld} -m elf64_sparc" ;; + *) + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then + LD="${LD-ld} -64" + fi + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], +[*-*-cygwin* | *-*-mingw* | *-*-pw32*) + AC_CHECK_TOOL(DLLTOOL, dlltool, false) + AC_CHECK_TOOL(AS, as, false) + AC_CHECK_TOOL(OBJDUMP, objdump, false) + ;; + ]) +esac + +need_locks="$enable_libtool_lock" + +])# _LT_AC_LOCK + + +# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------------------- +# Check whether the given compiler option works +AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], +[AC_REQUIRE([LT_AC_PROG_SED]) +AC_CACHE_CHECK([$1], [$2], + [$2=no + ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$3" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + $2=yes + fi + fi + $rm conftest* +]) + +if test x"[$]$2" = xyes; then + ifelse([$5], , :, [$5]) +else + ifelse([$6], , :, [$6]) +fi +])# AC_LIBTOOL_COMPILER_OPTION + + +# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [ACTION-SUCCESS], [ACTION-FAILURE]) +# ------------------------------------------------------------ +# Check whether the given compiler option works +AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], +[AC_REQUIRE([LT_AC_PROG_SED])dnl +AC_CACHE_CHECK([$1], [$2], + [$2=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $3" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&AS_MESSAGE_LOG_FD + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + $2=yes + fi + else + $2=yes + fi + fi + $rm -r conftest* + LDFLAGS="$save_LDFLAGS" +]) + +if test x"[$]$2" = xyes; then + ifelse([$4], , :, [$4]) +else + ifelse([$5], , :, [$5]) +fi +])# AC_LIBTOOL_LINKER_OPTION + + +# AC_LIBTOOL_SYS_MAX_CMD_LEN +# -------------------------- +AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], +[# find the maximum length of command line arguments +AC_MSG_CHECKING([the maximum length of command line arguments]) +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl + i=0 + teststring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + amigaos*) + # On AmigaOS with pdksh, this test takes hours, literally. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; + ;; + + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + ;; + + interix*) + # We know the value 262144 and hardcode it with a safety zone (like BSD) + lt_cv_sys_max_cmd_len=196608 + ;; + + osf*) + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not + # nice to cause kernel panics so lets avoid the loop below. + # First set a reasonable default. + lt_cv_sys_max_cmd_len=16384 + # + if test -x /sbin/sysconfig; then + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in + *1*) lt_cv_sys_max_cmd_len=-1 ;; + esac + fi + ;; + sco3.2v5*) + lt_cv_sys_max_cmd_len=102400 + ;; + sysv5* | sco5v6* | sysv4.2uw2*) + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` + if test -n "$kargmax"; then + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` + else + lt_cv_sys_max_cmd_len=32768 + fi + ;; + *) + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` + if test -n "$lt_cv_sys_max_cmd_len"; then + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + else + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} + while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ + = "XX$teststring") >/dev/null 2>&1 && + new_result=`expr "X$teststring" : ".*" 2>&1` && + lt_cv_sys_max_cmd_len=$new_result && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + teststring=$teststring$teststring + done + teststring= + # Add a significant safety factor because C++ compilers can tack on massive + # amounts of additional arguments before passing them to the linker. + # It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + fi + ;; + esac +]) +if test -n $lt_cv_sys_max_cmd_len ; then + AC_MSG_RESULT($lt_cv_sys_max_cmd_len) +else + AC_MSG_RESULT(none) +fi +])# AC_LIBTOOL_SYS_MAX_CMD_LEN + + +# _LT_AC_CHECK_DLFCN +# ------------------ +AC_DEFUN([_LT_AC_CHECK_DLFCN], +[AC_CHECK_HEADERS(dlfcn.h)dnl +])# _LT_AC_CHECK_DLFCN + + +# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) +# --------------------------------------------------------------------- +AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl +if test "$cross_compiling" = yes; then : + [$4] +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<EOF +[#line __oline__ "configure" +#include "confdefs.h" + +#if HAVE_DLFCN_H +#include <dlfcn.h> +#endif + +#include <stdio.h> + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + else + puts (dlerror ()); + + exit (status); +}] +EOF + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) $1 ;; + x$lt_dlneed_uscore) $2 ;; + x$lt_dlunknown|x*) $3 ;; + esac + else : + # compilation failed + $3 + fi +fi +rm -fr conftest* +])# _LT_AC_TRY_DLOPEN_SELF + + +# AC_LIBTOOL_DLOPEN_SELF +# ---------------------- +AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ]) + ;; + + *) + AC_CHECK_FUNC([shl_load], + [lt_cv_dlopen="shl_load"], + [AC_CHECK_LIB([dld], [shl_load], + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], + [AC_CHECK_FUNC([dlopen], + [lt_cv_dlopen="dlopen"], + [AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], + [AC_CHECK_LIB([svld], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], + [AC_CHECK_LIB([dld], [dld_link], + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) + ]) + ]) + ]) + ]) + ]) + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + AC_CACHE_CHECK([whether a program can dlopen itself], + lt_cv_dlopen_self, [dnl + _LT_AC_TRY_DLOPEN_SELF( + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) + ]) + + if test "x$lt_cv_dlopen_self" = xyes; then + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" + AC_CACHE_CHECK([whether a statically linked program can dlopen itself], + lt_cv_dlopen_self_static, [dnl + _LT_AC_TRY_DLOPEN_SELF( + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) + ]) + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi +])# AC_LIBTOOL_DLOPEN_SELF + + +# AC_LIBTOOL_PROG_CC_C_O([TAGNAME]) +# --------------------------------- +# Check to see if options -c and -o are simultaneously supported by compiler +AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], +[AC_REQUIRE([LT_AC_PROG_SED])dnl +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + fi + fi + chmod u+w . 2>&AS_MESSAGE_LOG_FD + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files + $rm out/* && rmdir out + cd .. + rmdir conftest + $rm conftest* +]) +])# AC_LIBTOOL_PROG_CC_C_O + + +# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) +# ----------------------------------------- +# Check to see if we can do hard links to lock some files if needed +AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], +[AC_REQUIRE([_LT_AC_LOCK])dnl + +hard_links="nottested" +if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + AC_MSG_CHECKING([if we can lock with hard links]) + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + AC_MSG_RESULT([$hard_links]) + if test "$hard_links" = no; then + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) + need_locks=warn + fi +else + need_locks=no +fi +])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS + + +# AC_LIBTOOL_OBJDIR +# ----------------- +AC_DEFUN([AC_LIBTOOL_OBJDIR], +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], +[rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null]) +objdir=$lt_cv_objdir +])# AC_LIBTOOL_OBJDIR + + +# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) +# ---------------------------------------------- +# Check hardcoding attributes. +AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], +[AC_MSG_CHECKING([how to hardcode library paths into programs]) +_LT_AC_TAGVAR(hardcode_action, $1)= +if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ + test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \ + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then + + # We can hardcode non-existant directories. + if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && + test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then + # Linking always hardcodes the temporary library directory. + _LT_AC_TAGVAR(hardcode_action, $1)=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + _LT_AC_TAGVAR(hardcode_action, $1)=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + _LT_AC_TAGVAR(hardcode_action, $1)=unsupported +fi +AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) + +if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi +])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH + + +# AC_LIBTOOL_SYS_LIB_STRIP +# ------------------------ +AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], +[striplib= +old_striplib= +AC_MSG_CHECKING([whether stripping libraries is possible]) +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + AC_MSG_RESULT([yes]) +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + old_striplib="$STRIP -S" + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) +fi + ;; + *) + AC_MSG_RESULT([no]) + ;; + esac +fi +])# AC_LIBTOOL_SYS_LIB_STRIP + + +# AC_LIBTOOL_SYS_DYNAMIC_LINKER +# ----------------------------- +# PORTME Fill in your ld.so characteristics +AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], +[AC_REQUIRE([LT_AC_PROG_SED])dnl +AC_MSG_CHECKING([dynamic linker characteristics]) +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +m4_if($1,[],[ +if test "$GCC" = yes; then + case $host_os in + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; + *) lt_awk_arg="/^libraries:/" ;; + esac + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'` + else + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # Ok, now we have the path, separated by spaces, we can step through it + # and add multilib dir if necessary. + lt_tmp_lt_search_path_spec= + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` + for lt_sys_path in $lt_search_path_spec; do + if test -d "$lt_sys_path/$lt_multi_os_dir"; then + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" + else + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi + done + lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk ' +BEGIN {RS=" "; FS="/|\n";} { + lt_foo=""; + lt_count=0; + for (lt_i = NF; lt_i > 0; lt_i--) { + if ($lt_i != "" && $lt_i != ".") { + if ($lt_i == "..") { + lt_count++; + } else { + if (lt_count == 0) { + lt_foo="/" $lt_i lt_foo; + } else { + lt_count--; + } + } + } + } + if (lt_foo != "") { lt_freq[[lt_foo]]++; } + if (lt_freq[[lt_foo]] == 1) { print lt_foo; } +}'` + sys_lib_search_path_spec=`echo $lt_search_path_spec` +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi]) +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix[[4-9]]*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[[01]] | aix4.[[01]].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib<name>.so + # instead of lib<name>.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[[45]]*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + m4_if([$1], [],[ + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[[123]]*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[[01]]* | freebsdelf3.[[01]]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +interix[[3-9]]*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux* | k*bsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsdelf*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='NetBSD ld.elf_so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[[89]] | openbsd2.[[89]].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=freebsd-elf + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + if test "$with_gnu_ld" = yes; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + shlibpath_overrides_runpath=no + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + shlibpath_overrides_runpath=yes + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +AC_MSG_RESULT([$dynamic_linker]) +test "$dynamic_linker" = no && can_build_shared=no + +AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec], +[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"]) +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" +AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec], +[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"]) +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi +])# AC_LIBTOOL_SYS_DYNAMIC_LINKER + + +# _LT_AC_TAGCONFIG +# ---------------- +AC_DEFUN([_LT_AC_TAGCONFIG], +[AC_REQUIRE([LT_AC_PROG_SED])dnl +AC_ARG_WITH([tags], + [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], + [include additional configurations @<:@automatic@:>@])], + [tagnames="$withval"]) + +if test -f "$ltmain" && test -n "$tagnames"; then + if test ! -f "${ofile}"; then + AC_MSG_WARN([output file `$ofile' does not exist]) + fi + + if test -z "$LTCC"; then + eval "`$SHELL ${ofile} --config | grep '^LTCC='`" + if test -z "$LTCC"; then + AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) + else + AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) + fi + fi + if test -z "$LTCFLAGS"; then + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" + fi + + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` + + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for tagname in $tagnames; do + IFS="$lt_save_ifs" + # Check whether tagname contains only valid characters + case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in + "") ;; + *) AC_MSG_ERROR([invalid tag name: $tagname]) + ;; + esac + + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null + then + AC_MSG_ERROR([tag name \"$tagname\" already exists]) + fi + + # Update the list of available tags. + if test -n "$tagname"; then + echo appending configuration tag \"$tagname\" to $ofile + + case $tagname in + CXX) + if test -n "$CXX" && ( test "X$CXX" != "Xno" && + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || + (test "X$CXX" != "Xg++"))) ; then + AC_LIBTOOL_LANG_CXX_CONFIG + else + tagname="" + fi + ;; + + F77) + if test -n "$F77" && test "X$F77" != "Xno"; then + AC_LIBTOOL_LANG_F77_CONFIG + else + tagname="" + fi + ;; + + GCJ) + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then + AC_LIBTOOL_LANG_GCJ_CONFIG + else + tagname="" + fi + ;; + + RC) + AC_LIBTOOL_LANG_RC_CONFIG + ;; + + *) + AC_MSG_ERROR([Unsupported tag name: $tagname]) + ;; + esac + + # Append the new tag name to the list of available tags. + if test -n "$tagname" ; then + available_tags="$available_tags $tagname" + fi + fi + done + IFS="$lt_save_ifs" + + # Now substitute the updated list of available tags. + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then + mv "${ofile}T" "$ofile" + chmod +x "$ofile" + else + rm -f "${ofile}T" + AC_MSG_ERROR([unable to update list of available tagged configurations.]) + fi +fi +])# _LT_AC_TAGCONFIG + + +# AC_LIBTOOL_DLOPEN +# ----------------- +# enable checks for dlopen support +AC_DEFUN([AC_LIBTOOL_DLOPEN], + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) +])# AC_LIBTOOL_DLOPEN + + +# AC_LIBTOOL_WIN32_DLL +# -------------------- +# declare package support for building win32 DLLs +AC_DEFUN([AC_LIBTOOL_WIN32_DLL], +[AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) +])# AC_LIBTOOL_WIN32_DLL + + +# AC_ENABLE_SHARED([DEFAULT]) +# --------------------------- +# implement the --enable-shared flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_SHARED], +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([shared], + [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], + [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_shared=]AC_ENABLE_SHARED_DEFAULT) +])# AC_ENABLE_SHARED + + +# AC_DISABLE_SHARED +# ----------------- +# set the default shared flag to --disable-shared +AC_DEFUN([AC_DISABLE_SHARED], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_SHARED(no) +])# AC_DISABLE_SHARED + + +# AC_ENABLE_STATIC([DEFAULT]) +# --------------------------- +# implement the --enable-static flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_STATIC], +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([static], + [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], + [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_static=]AC_ENABLE_STATIC_DEFAULT) +])# AC_ENABLE_STATIC + + +# AC_DISABLE_STATIC +# ----------------- +# set the default static flag to --disable-static +AC_DEFUN([AC_DISABLE_STATIC], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_STATIC(no) +])# AC_DISABLE_STATIC + + +# AC_ENABLE_FAST_INSTALL([DEFAULT]) +# --------------------------------- +# implement the --enable-fast-install flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_FAST_INSTALL], +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([fast-install], + [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], + [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) +])# AC_ENABLE_FAST_INSTALL + + +# AC_DISABLE_FAST_INSTALL +# ----------------------- +# set the default to --disable-fast-install +AC_DEFUN([AC_DISABLE_FAST_INSTALL], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_FAST_INSTALL(no) +])# AC_DISABLE_FAST_INSTALL + + +# AC_LIBTOOL_PICMODE([MODE]) +# -------------------------- +# implement the --with-pic flag +# MODE is either `yes' or `no'. If omitted, it defaults to `both'. +AC_DEFUN([AC_LIBTOOL_PICMODE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +pic_mode=ifelse($#,1,$1,default) +])# AC_LIBTOOL_PICMODE + + +# AC_PROG_EGREP +# ------------- +# This is predefined starting with Autoconf 2.54, so this conditional +# definition can be removed once we require Autoconf 2.54 or later. +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], +[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], + [if echo a | (grep -E '(a|b)') >/dev/null 2>&1 + then ac_cv_prog_egrep='grep -E' + else ac_cv_prog_egrep='egrep' + fi]) + EGREP=$ac_cv_prog_egrep + AC_SUBST([EGREP]) +])]) + + +# AC_PATH_TOOL_PREFIX +# ------------------- +# find a file program which can recognize shared library +AC_DEFUN([AC_PATH_TOOL_PREFIX], +[AC_REQUIRE([AC_PROG_EGREP])dnl +AC_MSG_CHECKING([for $1]) +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, +[case $MAGIC_CMD in +[[\\/*] | ?:[\\/]*]) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR +dnl $ac_dummy forces splitting on constant user-supplied paths. +dnl POSIX.2 word splitting is done only on the output of word expansions, +dnl not every word. This closes a longstanding sh security hole. + ac_dummy="ifelse([$2], , $PATH, [$2])" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$1; then + lt_cv_path_MAGIC_CMD="$ac_dir/$1" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac]) +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + AC_MSG_RESULT($MAGIC_CMD) +else + AC_MSG_RESULT(no) +fi +])# AC_PATH_TOOL_PREFIX + + +# AC_PATH_MAGIC +# ------------- +# find a file program which can recognize a shared library +AC_DEFUN([AC_PATH_MAGIC], +[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) + else + MAGIC_CMD=: + fi +fi +])# AC_PATH_MAGIC + + +# AC_PROG_LD +# ---------- +# find the pathname to the GNU or non-GNU linker +AC_DEFUN([AC_PROG_LD], +[AC_ARG_WITH([gnu-ld], + [AC_HELP_STRING([--with-gnu-ld], + [assume the C compiler uses GNU ld @<:@default=no@:>@])], + [test "$withval" = no || with_gnu_ld=yes], + [with_gnu_ld=no]) +AC_REQUIRE([LT_AC_PROG_SED])dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + AC_MSG_CHECKING([for ld used by $CC]) + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [[\\/]]* | ?:[[\\/]]*) + re_direlt='/[[^/]][[^/]]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + AC_MSG_CHECKING([for GNU ld]) +else + AC_MSG_CHECKING([for non-GNU ld]) +fi +AC_CACHE_VAL(lt_cv_path_LD, +[if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in + *GNU* | *'with BFD'*) + test "$with_gnu_ld" != no && break + ;; + *) + test "$with_gnu_ld" != yes && break + ;; + esac + fi + done + IFS="$lt_save_ifs" +else + lt_cv_path_LD="$LD" # Let the user override the test with a path. +fi]) +LD="$lt_cv_path_LD" +if test -n "$LD"; then + AC_MSG_RESULT($LD) +else + AC_MSG_RESULT(no) +fi +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) +AC_PROG_LD_GNU +])# AC_PROG_LD + + +# AC_PROG_LD_GNU +# -------------- +AC_DEFUN([AC_PROG_LD_GNU], +[AC_REQUIRE([AC_PROG_EGREP])dnl +AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, +[# I'd rather use --version here, but apparently some GNU lds only accept -v. +case `$LD -v 2>&1 </dev/null` in +*GNU* | *'with BFD'*) + lt_cv_prog_gnu_ld=yes + ;; +*) + lt_cv_prog_gnu_ld=no + ;; +esac]) +with_gnu_ld=$lt_cv_prog_gnu_ld +])# AC_PROG_LD_GNU + + +# AC_PROG_LD_RELOAD_FLAG +# ---------------------- +# find reload flag for linker +# -- PORTME Some linkers may need a different reload flag. +AC_DEFUN([AC_PROG_LD_RELOAD_FLAG], +[AC_CACHE_CHECK([for $LD option to reload object files], + lt_cv_ld_reload_flag, + [lt_cv_ld_reload_flag='-r']) +reload_flag=$lt_cv_ld_reload_flag +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' +case $host_os in + darwin*) + if test "$GCC" = yes; then + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' + else + reload_cmds='$LD$reload_flag -o $output$reload_objs' + fi + ;; +esac +])# AC_PROG_LD_RELOAD_FLAG + + +# AC_DEPLIBS_CHECK_METHOD +# ----------------------- +# how to check for library dependencies +# -- PORTME fill in with the dynamic library characteristics +AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], +[AC_CACHE_CHECK([how to recognize dependent libraries], +lt_cv_deplibs_check_method, +[lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_deplibs_check_method='unknown' +# Need to set the preceding variable on all platforms that support +# interlibrary dependencies. +# 'none' -- dependencies not supported. +# `unknown' -- same as none, but documents that we really don't know. +# 'pass_all' -- all dependencies passed with no checks. +# 'test_compile' -- check by making test program. +# 'file_magic [[regex]]' -- check by looking for files in library path +# which responds to the $file_magic_cmd with a given extended regex. +# If you have `file' or equivalent on your system and you're not sure +# whether `pass_all' will *always* work, you probably want this one. + +case $host_os in +aix[[4-9]]*) + lt_cv_deplibs_check_method=pass_all + ;; + +beos*) + lt_cv_deplibs_check_method=pass_all + ;; + +bsdi[[45]]*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' + lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_test_file=/shlib/libc.so + ;; + +cygwin*) + # func_win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + ;; + +mingw* | pw32*) + # Base MSYS/MinGW do not provide the 'file' command needed by + # func_win32_libid shell function, so use a weaker test based on 'objdump', + # unless we find 'file', for example because we are cross-compiling. + if ( file / ) >/dev/null 2>&1; then + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + else + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + fi + ;; + +darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +freebsd* | dragonfly*) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case $host_cpu in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac + ;; + +interix[[3-9]]*) + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' + ;; + +irix5* | irix6* | nonstopux*) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + lt_cv_deplibs_check_method=pass_all + ;; + +# This must be Linux ELF. +linux* | k*bsd*-gnu) + lt_cv_deplibs_check_method=pass_all + ;; + +netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' + fi + ;; + +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +nto-qnx*) + lt_cv_deplibs_check_method=unknown + ;; + +openbsd*) + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + fi + ;; + +osf3* | osf4* | osf5*) + lt_cv_deplibs_check_method=pass_all + ;; + +rdos*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv4 | sysv4.3*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; + pc) + lt_cv_deplibs_check_method=pass_all + ;; + esac + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; +esac +]) +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown +])# AC_DEPLIBS_CHECK_METHOD + + +# AC_PROG_NM +# ---------- +# find the pathname to a BSD-compatible name lister +AC_DEFUN([AC_PROG_NM], +[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, +[if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_nm_to_check="${ac_tool_prefix}nm" + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then + lt_nm_to_check="$lt_nm_to_check nm" + fi + for lt_tmp_nm in $lt_nm_to_check; do + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/$lt_tmp_nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + ;; + esac + fi + done + IFS="$lt_save_ifs" + done + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm +fi]) +NM="$lt_cv_path_NM" +])# AC_PROG_NM + + +# AC_CHECK_LIBM +# ------------- +# check for math library +AC_DEFUN([AC_CHECK_LIBM], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +LIBM= +case $host in +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) + # These system don't have libm, or don't need it + ;; +*-ncr-sysv4.3*) + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") + ;; +*) + AC_CHECK_LIB(m, cos, LIBM="-lm") + ;; +esac +])# AC_CHECK_LIBM + + +# AC_LIBLTDL_CONVENIENCE([DIRECTORY]) +# ----------------------------------- +# sets LIBLTDL to the link flags for the libltdl convenience library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-convenience to the configure arguments. Note that +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, +# it is assumed to be `libltdl'. LIBLTDL will be prefixed with +# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/' +# (note the single quotes!). If your package is not flat and you're not +# using automake, define top_builddir and top_srcdir appropriately in +# the Makefiles. +AC_DEFUN([AC_LIBLTDL_CONVENIENCE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + case $enable_ltdl_convenience in + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; + "") enable_ltdl_convenience=yes + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; + esac + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" +])# AC_LIBLTDL_CONVENIENCE + + +# AC_LIBLTDL_INSTALLABLE([DIRECTORY]) +# ----------------------------------- +# sets LIBLTDL to the link flags for the libltdl installable library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-install to the configure arguments. Note that +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, +# and an installed libltdl is not found, it is assumed to be `libltdl'. +# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with +# '${top_srcdir}/' (note the single quotes!). If your package is not +# flat and you're not using automake, define top_builddir and top_srcdir +# appropriately in the Makefiles. +# In the future, this macro may have to be called after AC_PROG_LIBTOOL. +AC_DEFUN([AC_LIBLTDL_INSTALLABLE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + AC_CHECK_LIB(ltdl, lt_dlinit, + [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], + [if test x"$enable_ltdl_install" = xno; then + AC_MSG_WARN([libltdl not installed, but installation disabled]) + else + enable_ltdl_install=yes + fi + ]) + if test x"$enable_ltdl_install" = x"yes"; then + ac_configure_args="$ac_configure_args --enable-ltdl-install" + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + else + ac_configure_args="$ac_configure_args --enable-ltdl-install=no" + LIBLTDL="-lltdl" + LTDLINCL= + fi + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" +])# AC_LIBLTDL_INSTALLABLE + + +# AC_LIBTOOL_CXX +# -------------- +# enable support for C++ libraries +AC_DEFUN([AC_LIBTOOL_CXX], +[AC_REQUIRE([_LT_AC_LANG_CXX]) +])# AC_LIBTOOL_CXX + + +# _LT_AC_LANG_CXX +# --------------- +AC_DEFUN([_LT_AC_LANG_CXX], +[AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([_LT_AC_PROG_CXXCPP]) +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) +])# _LT_AC_LANG_CXX + +# _LT_AC_PROG_CXXCPP +# ------------------ +AC_DEFUN([_LT_AC_PROG_CXXCPP], +[ +AC_REQUIRE([AC_PROG_CXX]) +if test -n "$CXX" && ( test "X$CXX" != "Xno" && + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || + (test "X$CXX" != "Xg++"))) ; then + AC_PROG_CXXCPP +fi +])# _LT_AC_PROG_CXXCPP + +# AC_LIBTOOL_F77 +# -------------- +# enable support for Fortran 77 libraries +AC_DEFUN([AC_LIBTOOL_F77], +[AC_REQUIRE([_LT_AC_LANG_F77]) +])# AC_LIBTOOL_F77 + + +# _LT_AC_LANG_F77 +# --------------- +AC_DEFUN([_LT_AC_LANG_F77], +[AC_REQUIRE([AC_PROG_F77]) +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77]) +])# _LT_AC_LANG_F77 + + +# AC_LIBTOOL_GCJ +# -------------- +# enable support for GCJ libraries +AC_DEFUN([AC_LIBTOOL_GCJ], +[AC_REQUIRE([_LT_AC_LANG_GCJ]) +])# AC_LIBTOOL_GCJ + + +# _LT_AC_LANG_GCJ +# --------------- +AC_DEFUN([_LT_AC_LANG_GCJ], +[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], + [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], + [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], + [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ]) +])# _LT_AC_LANG_GCJ + + +# AC_LIBTOOL_RC +# ------------- +# enable support for Windows resource files +AC_DEFUN([AC_LIBTOOL_RC], +[AC_REQUIRE([LT_AC_PROG_RC]) +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC]) +])# AC_LIBTOOL_RC + + +# AC_LIBTOOL_LANG_C_CONFIG +# ------------------------ +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) +AC_DEFUN([_LT_AC_LANG_C_CONFIG], +[lt_save_CC="$CC" +AC_LANG_PUSH(C) + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}' + +_LT_AC_SYS_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +AC_LIBTOOL_SYS_LIB_STRIP +AC_LIBTOOL_DLOPEN_SELF + +# Report which library types will actually be built +AC_MSG_CHECKING([if libtool supports shared libraries]) +AC_MSG_RESULT([$can_build_shared]) + +AC_MSG_CHECKING([whether to build shared libraries]) +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case $host_os in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + +aix[[4-9]]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; +esac +AC_MSG_RESULT([$enable_shared]) + +AC_MSG_CHECKING([whether to build static libraries]) +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +AC_MSG_RESULT([$enable_static]) + +AC_LIBTOOL_CONFIG($1) + +AC_LANG_POP +CC="$lt_save_CC" +])# AC_LIBTOOL_LANG_C_CONFIG + + +# AC_LIBTOOL_LANG_CXX_CONFIG +# -------------------------- +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) +AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], +[AC_LANG_PUSH(C++) +AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([_LT_AC_PROG_CXXCPP]) + +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_AC_TAGVAR(allow_undefined_flag, $1)= +_LT_AC_TAGVAR(always_export_symbols, $1)=no +_LT_AC_TAGVAR(archive_expsym_cmds, $1)= +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_direct, $1)=no +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no +_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported +_LT_AC_TAGVAR(hardcode_automatic, $1)=no +_LT_AC_TAGVAR(module_cmds, $1)= +_LT_AC_TAGVAR(module_expsym_cmds, $1)= +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_AC_TAGVAR(no_undefined_flag, $1)= +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Dependencies to place before and after the object being linked: +_LT_AC_TAGVAR(predep_objects, $1)= +_LT_AC_TAGVAR(postdep_objects, $1)= +_LT_AC_TAGVAR(predeps, $1)= +_LT_AC_TAGVAR(postdeps, $1)= +_LT_AC_TAGVAR(compiler_lib_search_path, $1)= +_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)= + +# Source file extension for C++ test sources. +ac_ext=cpp + +# Object file extension for compiled C++ test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_AC_SYS_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_LD=$LD +lt_save_GCC=$GCC +GCC=$GXX +lt_save_with_gnu_ld=$with_gnu_ld +lt_save_path_LD=$lt_cv_path_LD +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx +else + $as_unset lt_cv_prog_gnu_ld +fi +if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX +else + $as_unset lt_cv_path_LD +fi +test -z "${LDCXX+set}" || LD=$LDCXX +CC=${CXX-"c++"} +compiler=$CC +_LT_AC_TAGVAR(compiler, $1)=$CC +_LT_CC_BASENAME([$compiler]) + +# We don't want -fno-exception wen compiling C++ code, so set the +# no_builtin_flag separately +if test "$GXX" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' +else + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= +fi + +if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + AC_PROG_LD + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ + grep 'no-whole-archive' > /dev/null; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + +else + GXX=no + with_gnu_ld=no + wlarc= +fi + +# PORTME: fill in a description of your system's C++ link characteristics +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +_LT_AC_TAGVAR(ld_shlibs, $1)=yes +case $host_os in + aix3*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aix[[4-9]]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_AC_TAGVAR(archive_cmds, $1)='' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + if test "$GXX" = yes; then + case $host_os in aix4.[[012]]|aix4.[[012]].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi + ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # Exported symbols can be pulled into shared objects from archives + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds its shared libraries. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + darwin* | rhapsody*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" + if test "$GXX" = yes ; then + output_verbose_link_cmd='echo' + _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" + _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" + _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + if test "$lt_cv_apple_cc_single_mod" != "yes"; then + _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" + fi + else + case $cc_basename in + xlc*) + output_verbose_link_cmd='echo' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + ;; + *) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + fi + ;; + + dgux*) + case $cc_basename in + ec++*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + ghcx*) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + freebsd[[12]]*) + # C++ shared libraries reported to be fairly broken before switch to ELF + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + freebsd-elf*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + freebsd* | dragonfly*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + ;; + gnu*) + ;; + hpux9*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aCC*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + case $host_cpu in + hppa*64*|ia64*) ;; + *) + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + esac + fi + case $host_cpu in + hppa*64*|ia64*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + *) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aCC*) + case $host_cpu in + hppa*64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case $host_cpu in + hppa*64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + interix[[3-9]]*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + irix5* | irix6*) + case $cc_basename in + CC*) + # SGI C++ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' + fi + fi + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + esac + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + linux* | k*bsd*-gnu) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc*) + # Intel C++ + with_gnu_ld=yes + # version 8.0 and above of icpc choke on multiply defined symbols + # if we add $predep_objects and $postdep_objects, however 7.1 and + # earlier do not add the objects themselves. + case `$CC -V 2>&1` in + *"Version 7."*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + *) # Version 8.0 or newer + tmp_idyn= + case $host_cpu in + ia64*) tmp_idyn=' -i_dynamic';; + esac + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + esac + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + pgCC* | pgcpp*) + # Portland Group C++ compiler + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + ;; + cxx*) + # Compaq C++ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + + # Not sure whether something based on + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 + # would be better. + output_verbose_link_cmd='echo' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + esac + ;; + esac + ;; + lynxos*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + m88k*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + mvs*) + case $cc_basename in + cxx*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + openbsd2*) + # C++ shared libraries are fairly broken + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + openbsd*) + if test -f /usr/libexec/ld.so; then + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + fi + output_verbose_link_cmd='echo' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + osf3*) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + + ;; + RCC*) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + cxx*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + osf4* | osf5*) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' + ;; + RCC*) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + cxx*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ + $rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + psos*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + lcc*) + # Lucid + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + solaris*) + case $cc_basename in + CC*) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. + # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' + ;; + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + output_verbose_link_cmd='echo' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + gcx*) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' + if $CC --version | grep -v '^2\.7' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + fi + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + fi + ;; + esac + ;; + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + + case $cc_basename in + CC*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + # For security reasons, it is highly recommended that you always + # use absolute paths for naming shared libraries, and exclude the + # DT_RUNPATH tag from executables and libraries. But doing so + # requires that you compile everything twice, which is a pain. + # So that behaviour is only enabled if SCOABSPATH is set to a + # non-empty value in the environment. Most likely only useful for + # creating official distributions of packages. + # This is a hack until libtool officially supports absolute path + # names for shared libraries. + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + case $cc_basename in + CC*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + vxworks*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; +esac +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + +_LT_AC_TAGVAR(GCC, $1)="$GXX" +_LT_AC_TAGVAR(LD, $1)="$LD" + +AC_LIBTOOL_POSTDEP_PREDEP($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) + +AC_LIBTOOL_CONFIG($1) + +AC_LANG_POP +CC=$lt_save_CC +LDCXX=$LD +LD=$lt_save_LD +GCC=$lt_save_GCC +with_gnu_ldcxx=$with_gnu_ld +with_gnu_ld=$lt_save_with_gnu_ld +lt_cv_path_LDCXX=$lt_cv_path_LD +lt_cv_path_LD=$lt_save_path_LD +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld +])# AC_LIBTOOL_LANG_CXX_CONFIG + +# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) +# ------------------------------------ +# Figure out "hidden" library dependencies from verbose +# compiler output when linking a shared library. +# Parse the compiler output and extract the necessary +# objects, libraries and library flags. +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP], +[AC_REQUIRE([LT_AC_PROG_SED])dnl +dnl we can't use the lt_simple_compile_test_code here, +dnl because it contains code intended for an executable, +dnl not a library. It's possible we should let each +dnl tag define a new lt_????_link_test_code variable, +dnl but it's only used here... +ifelse([$1],[],[cat > conftest.$ac_ext <<EOF +int a; +void foo (void) { a = 0; } +EOF +],[$1],[CXX],[cat > conftest.$ac_ext <<EOF +class Foo +{ +public: + Foo (void) { a = 0; } +private: + int a; +}; +EOF +],[$1],[F77],[cat > conftest.$ac_ext <<EOF + subroutine foo + implicit none + integer*4 a + a=0 + return + end +EOF +],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF +public class foo { + private int a; + public void bar (void) { + a = 0; + } +}; +EOF +]) +dnl Parse the compiler output and extract the necessary +dnl objects, libraries and library flags. +if AC_TRY_EVAL(ac_compile); then + # Parse the compiler output and extract the necessary + # objects, libraries and library flags. + + # Sentinel used to keep track of whether or not we are before + # the conftest object file. + pre_test_object_deps_done=no + + # The `*' in the case matches for architectures that use `case' in + # $output_verbose_cmd can trigger glob expansion during the loop + # eval without this substitution. + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"` + + for p in `eval $output_verbose_link_cmd`; do + case $p in + + -L* | -R* | -l*) + # Some compilers place space between "-{L,R}" and the path. + # Remove the space. + if test $p = "-L" \ + || test $p = "-R"; then + prev=$p + continue + else + prev= + fi + + if test "$pre_test_object_deps_done" = no; then + case $p in + -L* | -R*) + # Internal compiler library paths should come after those + # provided the user. The postdeps already come after the + # user supplied libs so there is no need to process them. + if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then + _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}" + else + _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}" + fi + ;; + # The "-l" case would never come before the object being + # linked, so don't bother handling this case. + esac + else + if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then + _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}" + else + _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}" + fi + fi + ;; + + *.$objext) + # This assumes that the test object file only shows up + # once in the compiler output. + if test "$p" = "conftest.$objext"; then + pre_test_object_deps_done=yes + continue + fi + + if test "$pre_test_object_deps_done" = no; then + if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then + _LT_AC_TAGVAR(predep_objects, $1)="$p" + else + _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p" + fi + else + if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then + _LT_AC_TAGVAR(postdep_objects, $1)="$p" + else + _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p" + fi + fi + ;; + + *) ;; # Ignore the rest. + + esac + done + + # Clean up. + rm -f a.out a.exe +else + echo "libtool.m4: error: problem compiling $1 test program" +fi + +$rm -f confest.$objext + +_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)= +if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then + _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` +fi + +# PORTME: override above test on systems where it is broken +ifelse([$1],[CXX], +[case $host_os in +interix[[3-9]]*) + # Interix 3.5 installs completely hosed .la files for C++, so rather than + # hack all around it, let's just trust "g++" to DTRT. + _LT_AC_TAGVAR(predep_objects,$1)= + _LT_AC_TAGVAR(postdep_objects,$1)= + _LT_AC_TAGVAR(postdeps,$1)= + ;; + +linux*) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + # + # The more standards-conforming stlport4 library is + # incompatible with the Cstd library. Avoid specifying + # it if it's in CXXFLAGS. Ignore libCrun as + # -library=stlport4 depends on it. + case " $CXX $CXXFLAGS " in + *" -library=stlport4 "*) + solaris_use_stlport4=yes + ;; + esac + if test "$solaris_use_stlport4" != yes; then + _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' + fi + ;; + esac + ;; + +solaris*) + case $cc_basename in + CC*) + # The more standards-conforming stlport4 library is + # incompatible with the Cstd library. Avoid specifying + # it if it's in CXXFLAGS. Ignore libCrun as + # -library=stlport4 depends on it. + case " $CXX $CXXFLAGS " in + *" -library=stlport4 "*) + solaris_use_stlport4=yes + ;; + esac + + # Adding this requires a known-good setup of shared libraries for + # Sun compiler versions before 5.6, else PIC objects from an old + # archive will be linked into the output, leading to subtle bugs. + if test "$solaris_use_stlport4" != yes; then + _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' + fi + ;; + esac + ;; +esac +]) +case " $_LT_AC_TAGVAR(postdeps, $1) " in +*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; +esac +])# AC_LIBTOOL_POSTDEP_PREDEP + +# AC_LIBTOOL_LANG_F77_CONFIG +# -------------------------- +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)]) +AC_DEFUN([_LT_AC_LANG_F77_CONFIG], +[AC_REQUIRE([AC_PROG_F77]) +AC_LANG_PUSH(Fortran 77) + +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_AC_TAGVAR(allow_undefined_flag, $1)= +_LT_AC_TAGVAR(always_export_symbols, $1)=no +_LT_AC_TAGVAR(archive_expsym_cmds, $1)= +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_direct, $1)=no +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no +_LT_AC_TAGVAR(hardcode_automatic, $1)=no +_LT_AC_TAGVAR(module_cmds, $1)= +_LT_AC_TAGVAR(module_expsym_cmds, $1)= +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_AC_TAGVAR(no_undefined_flag, $1)= +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Source file extension for f77 test sources. +ac_ext=f + +# Object file extension for compiled f77 test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="\ + subroutine t + return + end +" + +# Code to be used in simple link tests +lt_simple_link_test_code="\ + program t + end +" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_AC_SYS_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${F77-"f77"} +compiler=$CC +_LT_AC_TAGVAR(compiler, $1)=$CC +_LT_CC_BASENAME([$compiler]) + +AC_MSG_CHECKING([if libtool supports shared libraries]) +AC_MSG_RESULT([$can_build_shared]) + +AC_MSG_CHECKING([whether to build shared libraries]) +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case $host_os in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; +aix[[4-9]]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; +esac +AC_MSG_RESULT([$enable_shared]) + +AC_MSG_CHECKING([whether to build static libraries]) +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +AC_MSG_RESULT([$enable_static]) + +_LT_AC_TAGVAR(GCC, $1)="$G77" +_LT_AC_TAGVAR(LD, $1)="$LD" + +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) + +AC_LIBTOOL_CONFIG($1) + +AC_LANG_POP +CC="$lt_save_CC" +])# AC_LIBTOOL_LANG_F77_CONFIG + + +# AC_LIBTOOL_LANG_GCJ_CONFIG +# -------------------------- +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)]) +AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG], +[AC_LANG_SAVE + +# Source file extension for Java test sources. +ac_ext=java + +# Object file extension for compiled Java test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="class foo {}" + +# Code to be used in simple link tests +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_AC_SYS_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${GCJ-"gcj"} +compiler=$CC +_LT_AC_TAGVAR(compiler, $1)=$CC +_LT_CC_BASENAME([$compiler]) + +# GCJ did not exist at the time GCC didn't implicitly link libc in. +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds + +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) + +AC_LIBTOOL_CONFIG($1) + +AC_LANG_RESTORE +CC="$lt_save_CC" +])# AC_LIBTOOL_LANG_GCJ_CONFIG + + +# AC_LIBTOOL_LANG_RC_CONFIG +# ------------------------- +# Ensure that the configuration vars for the Windows resource compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)]) +AC_DEFUN([_LT_AC_LANG_RC_CONFIG], +[AC_LANG_SAVE + +# Source file extension for RC test sources. +ac_ext=rc + +# Object file extension for compiled RC test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' + +# Code to be used in simple link tests +lt_simple_link_test_code="$lt_simple_compile_test_code" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_AC_SYS_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${RC-"windres"} +compiler=$CC +_LT_AC_TAGVAR(compiler, $1)=$CC +_LT_CC_BASENAME([$compiler]) +_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + +AC_LIBTOOL_CONFIG($1) + +AC_LANG_RESTORE +CC="$lt_save_CC" +])# AC_LIBTOOL_LANG_RC_CONFIG + + +# AC_LIBTOOL_CONFIG([TAGNAME]) +# ---------------------------- +# If TAGNAME is not passed, then create an initial libtool script +# with a default configuration from the untagged config vars. Otherwise +# add code to config.status for appending the configuration named by +# TAGNAME from the matching tagged config vars. +AC_DEFUN([AC_LIBTOOL_CONFIG], +[# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + _LT_AC_TAGVAR(compiler, $1) \ + _LT_AC_TAGVAR(CC, $1) \ + _LT_AC_TAGVAR(LD, $1) \ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \ + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \ + _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \ + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \ + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \ + _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \ + _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \ + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \ + _LT_AC_TAGVAR(old_archive_cmds, $1) \ + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \ + _LT_AC_TAGVAR(predep_objects, $1) \ + _LT_AC_TAGVAR(postdep_objects, $1) \ + _LT_AC_TAGVAR(predeps, $1) \ + _LT_AC_TAGVAR(postdeps, $1) \ + _LT_AC_TAGVAR(compiler_lib_search_path, $1) \ + _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \ + _LT_AC_TAGVAR(archive_cmds, $1) \ + _LT_AC_TAGVAR(archive_expsym_cmds, $1) \ + _LT_AC_TAGVAR(postinstall_cmds, $1) \ + _LT_AC_TAGVAR(postuninstall_cmds, $1) \ + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \ + _LT_AC_TAGVAR(allow_undefined_flag, $1) \ + _LT_AC_TAGVAR(no_undefined_flag, $1) \ + _LT_AC_TAGVAR(export_symbols_cmds, $1) \ + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \ + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \ + _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \ + _LT_AC_TAGVAR(hardcode_automatic, $1) \ + _LT_AC_TAGVAR(module_cmds, $1) \ + _LT_AC_TAGVAR(module_expsym_cmds, $1) \ + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \ + _LT_AC_TAGVAR(fix_srcfile_path, $1) \ + _LT_AC_TAGVAR(exclude_expsyms, $1) \ + _LT_AC_TAGVAR(include_expsyms, $1); do + + case $var in + _LT_AC_TAGVAR(old_archive_cmds, $1) | \ + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \ + _LT_AC_TAGVAR(archive_cmds, $1) | \ + _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \ + _LT_AC_TAGVAR(module_cmds, $1) | \ + _LT_AC_TAGVAR(module_expsym_cmds, $1) | \ + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \ + _LT_AC_TAGVAR(export_symbols_cmds, $1) | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\[$]0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'` + ;; + esac + +ifelse([$1], [], + [cfgfile="${ofile}T" + trap "$rm \"$cfgfile\"; exit 1" 1 2 15 + $rm -f "$cfgfile" + AC_MSG_NOTICE([creating $ofile])], + [cfgfile="$ofile"]) + + cat <<__EOF__ >> "$cfgfile" +ifelse([$1], [], +[#! $SHELL + +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 +# +# 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. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="$SED -e 1s/^X//" + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +# The names of the tagged configurations supported by this script. +available_tags= + +# ### BEGIN LIBTOOL CONFIG], +[# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# LTCC compiler flags. +LTCFLAGS=$lt_LTCFLAGS + +# A language-specific compiler. +CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) + +# Is the compiler the GNU C compiler? +with_gcc=$_LT_AC_TAGVAR(GCC, $1) + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_[]_LT_AC_TAGVAR(LD, $1) + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$lt_STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext_cmds='$shrext_cmds' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) + +# Must we lock files when doing compilation? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) + +# Commands used to build and install a shared archive. +archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) +archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) +module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1) + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) + +# The directories searched by this compiler when creating a shared +# library +compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1) + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1) + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path=$lt_fix_srcfile_path + +# Set to yes if exported symbols are required. +always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) + +# The commands to list exported symbols. +export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) + +# Symbols that must always be exported. +include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) + +ifelse([$1],[], +[# ### END LIBTOOL CONFIG], +[# ### END LIBTOOL TAG CONFIG: $tagname]) + +__EOF__ + +ifelse([$1],[], [ + case $host_os in + aix3*) + cat <<\EOF >> "$cfgfile" + +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +EOF + ;; + esac + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || \ + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" +]) +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` + if test -f "$ltmain_in"; then + test -f Makefile && make "$ltmain" + fi +fi +])# AC_LIBTOOL_CONFIG + + +# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) +# ------------------------------------------- +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl + +_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= + +if test "$GCC" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' + + AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], + lt_cv_prog_compiler_rtti_exceptions, + [-fno-rtti -fno-exceptions], [], + [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) +fi +])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI + + +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE +# --------------------------------- +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], +[AC_REQUIRE([AC_CANONICAL_HOST]) +AC_REQUIRE([LT_AC_PROG_SED]) +AC_REQUIRE([AC_PROG_NM]) +AC_REQUIRE([AC_OBJEXT]) +# Check for command to grab the raw symbol name followed by C symbol from nm. +AC_MSG_CHECKING([command to parse $NM output from $compiler object]) +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], +[ +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[[BCDEGRST]]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' + +# Transform an extracted symbol line into a proper C declaration +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[[BCDT]]' + ;; +cygwin* | mingw* | pw32*) + symcode='[[ABCDGISTW]]' + ;; +hpux*) # Its linker distinguishes data from code symbols + if test "$host_cpu" = ia64; then + symcode='[[ABCDEGRST]]' + fi + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + ;; +linux* | k*bsd*-gnu) + if test "$host_cpu" = ia64; then + symcode='[[ABCDGIRSTW]]' + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + fi + ;; +irix* | nonstopux*) + symcode='[[BCDEGRST]]' + ;; +osf*) + symcode='[[BCDEGQRST]]' + ;; +solaris*) + symcode='[[BDRT]]' + ;; +sco3.2v5*) + symcode='[[DT]]' + ;; +sysv4.2uw2*) + symcode='[[DT]]' + ;; +sysv5* | sco5v6* | unixware* | OpenUNIX*) + symcode='[[ABDT]]' + ;; +sysv4) + symcode='[[DFNSTU]]' + ;; +esac + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[[ABCDGIRSTW]]' ;; +esac + +# Try without a prefix undercore, then with it. +for ac_symprfx in "" "_"; do + + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. + symxfrm="\\1 $ac_symprfx\\2 \\2" + + # Write the raw and C identifiers. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext <<EOF +#ifdef __cplusplus +extern "C" { +#endif +char nm_test_var; +void nm_test_func(){} +#ifdef __cplusplus +} +#endif +int main(){nm_test_var='a';nm_test_func();return(0);} +EOF + + if AC_TRY_EVAL(ac_compile); then + # Now try to grab the symbols. + nlist=conftest.nm + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if grep ' nm_test_var$' "$nlist" >/dev/null; then + if grep ' nm_test_func$' "$nlist" >/dev/null; then + cat <<EOF > conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif + +EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' + + cat <<EOF >> conftest.$ac_ext +#if defined (__STDC__) && __STDC__ +# define lt_ptr_t void * +#else +# define lt_ptr_t char * +# define const +#endif + +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr_t address; +} +lt_preloaded_symbols[[]] = +{ +EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext + cat <<\EOF >> conftest.$ac_ext + {0, (lt_ptr_t) 0} +}; + +#ifdef __cplusplus +} +#endif +EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD + fi + else + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.$ac_ext >&5 + fi + rm -rf conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done +]) +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + AC_MSG_RESULT(failed) +else + AC_MSG_RESULT(ok) +fi +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE + + +# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) +# --------------------------------------- +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], +[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= +_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= +_LT_AC_TAGVAR(lt_prog_compiler_static, $1)= + +AC_MSG_CHECKING([for $compiler option to produce PIC]) + ifelse([$1],[CXX],[ + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | cygwin* | os2* | pw32*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + m4_if([$1], [GCJ], [], + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + interix[[3-9]]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + case $host_os in + aix[[4-9]]*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68*) + # Green Hills C++ Compiler + # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + darwin*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + case $cc_basename in + xlc*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + ghcx*) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + freebsd* | dragonfly*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + fi + ;; + aCC*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + interix*) + # This is c89, which is MS Visual C++ (no shared libs) + # Anyone wants to do a port? + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux* | k*bsd*-gnu) + case $cc_basename in + KCC*) + # KAI C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + icpc* | ecpc*) + # Intel C++ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + pgCC* | pgcpp*) + # Portland Group C++ compiler. + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + cxx*) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + esac + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd* | netbsdelf*-gnu) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + ;; + RCC*) + # Rational C++ 2.4.1 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + cxx*) + # Digital/Compaq C++ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + solaris*) + case $cc_basename in + CC*) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + gcx*) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + lcc*) + # Lucid + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + *) + ;; + esac + ;; + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + case $cc_basename in + CC*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + esac + ;; + vxworks*) + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +], +[ + if test "$GCC" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | cygwin* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + m4_if([$1], [GCJ], [], + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + + interix[[3-9]]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + darwin*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + case $cc_basename in + xlc*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + ;; + esac + ;; + + mingw* | cygwin* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + m4_if([$1], [GCJ], [], + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + + hpux9* | hpux10* | hpux11*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC (with -KPIC) is the default. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + newsos6) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + linux* | k*bsd*-gnu) + case $cc_basename in + icc* | ecc*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + pgcc* | pgf77* | pgf90* | pgf95*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + ccc*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All Alpha code is PIC. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C 5.9 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + ;; + *Sun\ F*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='' + ;; + esac + ;; + esac + ;; + + osf3* | osf4* | osf5*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All OSF/1 code is PIC. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + rdos*) + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + solaris*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + case $cc_basename in + f77* | f90* | f95*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; + *) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; + esac + ;; + + sunos4*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + unicos*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + + uts4*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + *) + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +]) +AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], + _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1), + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in + "" | " "*) ;; + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; + esac], + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) +fi +case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" + ;; +esac + +# +# Check to make sure the static flag actually works. +# +wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\" +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], + _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1), + $lt_tmp_static_flag, + [], + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) +]) + + +# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) +# ------------------------------------ +# See if the linker supports building shared libraries. +AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], +[AC_REQUIRE([LT_AC_PROG_SED])dnl +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +ifelse([$1],[CXX],[ + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in + aix[[4-9]]*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + else + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" + ;; + cygwin* | mingw*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' + ;; + linux* | k*bsd*-gnu) + _LT_AC_TAGVAR(link_all_deplibs, $1)=no + ;; + *) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac + _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] +],[ + runpath_var= + _LT_AC_TAGVAR(allow_undefined_flag, $1)= + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no + _LT_AC_TAGVAR(archive_cmds, $1)= + _LT_AC_TAGVAR(archive_expsym_cmds, $1)= + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown + _LT_AC_TAGVAR(hardcode_automatic, $1)=no + _LT_AC_TAGVAR(module_cmds, $1)= + _LT_AC_TAGVAR(module_expsym_cmds, $1)= + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + _LT_AC_TAGVAR(include_expsyms, $1)= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + # Exclude shared library initialization/finalization symbols. +dnl Note also adjust exclude_expsyms for C++ above. + extract_expsyms_cmds= + # Just being paranoid about ensuring that cc_basename is set. + _LT_CC_BASENAME([$compiler]) + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + runpath_var=LD_RUN_PATH + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + supports_anon_versioning=no + case `$LD -v 2>/dev/null` in + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + + # See if GNU ld supports shared libraries. + case $host_os in + aix[[3-9]]*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <<EOF 1>&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + interix[[3-9]]*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + + gnu* | linux* | k*bsd*-gnu) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + tmp_addflag= + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + esac + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) # Sun C 5.9 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_sharedflag='-G' ;; + *Sun\ F*) # Sun Fortran 8.3 + tmp_sharedflag='-G' ;; + *) + tmp_sharedflag='-shared' ;; + esac + _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + + if test $supports_anon_versioning = yes; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + $echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + _LT_AC_TAGVAR(link_all_deplibs, $1)=no + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <<EOF 1>&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <<_LT_EOF 1>&2 + +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not +*** reliably create shared libraries on SCO systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + ;; + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + sunos4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then + runpath_var= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + fi + ;; + + aix[[4-9]]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + else + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_AC_TAGVAR(archive_cmds, $1)='' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + if test "$GCC" = yes; then + case $host_os in aix4.[[012]]|aix4.[[012]].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi + ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # Exported symbols can be pulled into shared objects from archives + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds its shared libraries. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + # see comment about different semantics on the GNU ld section + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + bsdi[[45]]*) + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' + # FIXME: Should let the user specify the lib program. + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' + _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + ;; + + darwin* | rhapsody*) + case $host_os in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + ;; + 10.*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' + ;; + esac + fi + ;; + esac + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + if test "$GCC" = yes ; then + output_verbose_link_cmd='echo' + _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" + _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" + _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + else + case $cc_basename in + xlc*) + output_verbose_link_cmd='echo' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + ;; + *) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + fi + ;; + + dgux*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + freebsd1*) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | dragonfly*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + hpux9*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + + hpux10*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + fi + if test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + fi + ;; + + hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case $host_cpu in + hppa*64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case $host_cpu in + hppa*64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + case $host_cpu in + hppa*64*|ia64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + *) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + + netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + newsos6) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + else + case $host_os in + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + ;; + esac + fi + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + os2*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + else + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + fi + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + + solaris*) + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' + if test "$GCC" = yes; then + wlarc='${wl}' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + wlarc='' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. GCC discards it without `$wl', + # but is careful enough not to reorder. + # Supported since Solaris 2.6 (maybe 2.5.1?) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' + fi + ;; + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv4) + case $host_vendor in + sni) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + ;; + motorola) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv4.3*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + fi + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + uts4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + fi +]) +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + +# +# Do we need to explicitly link libc? +# +case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in +x|xyes) + # Assume -lc should be added + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $_LT_AC_TAGVAR(archive_cmds, $1) in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + AC_MSG_CHECKING([whether -lc should be explicitly linked in]) + $rm conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) + pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) + _LT_AC_TAGVAR(allow_undefined_flag, $1)= + if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) + then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + else + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + fi + _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) + ;; + esac + fi + ;; +esac +])# AC_LIBTOOL_PROG_LD_SHLIBS + + +# _LT_AC_FILE_LTDLL_C +# ------------------- +# Be careful that the start marker always follows a newline. +AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ +# /* ltdll.c starts here */ +# #define WIN32_LEAN_AND_MEAN +# #include <windows.h> +# #undef WIN32_LEAN_AND_MEAN +# #include <stdio.h> +# +# #ifndef __CYGWIN__ +# # ifdef __CYGWIN32__ +# # define __CYGWIN__ __CYGWIN32__ +# # endif +# #endif +# +# #ifdef __cplusplus +# extern "C" { +# #endif +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); +# #ifdef __cplusplus +# } +# #endif +# +# #ifdef __CYGWIN__ +# #include <cygwin/cygwin_dll.h> +# DECLARE_CYGWIN_DLL( DllMain ); +# #endif +# HINSTANCE __hDllInstance_base; +# +# BOOL APIENTRY +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) +# { +# __hDllInstance_base = hInst; +# return TRUE; +# } +# /* ltdll.c ends here */ +])# _LT_AC_FILE_LTDLL_C + + +# _LT_AC_TAGVAR(VARNAME, [TAGNAME]) +# --------------------------------- +AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])]) + + +# old names +AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) +AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) +AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) +AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) +AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) +AC_DEFUN([AM_PROG_LD], [AC_PROG_LD]) +AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) + +# This is just to silence aclocal about the macro not being used +ifelse([AC_DISABLE_FAST_INSTALL]) + +AC_DEFUN([LT_AC_PROG_GCJ], +[AC_CHECK_TOOL(GCJ, gcj, no) + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" + AC_SUBST(GCJFLAGS) +]) + +AC_DEFUN([LT_AC_PROG_RC], +[AC_CHECK_TOOL(RC, windres, no) +]) + + +# Cheap backport of AS_EXECUTABLE_P and required macros +# from Autoconf 2.59; we should not use $as_executable_p directly. + +# _AS_TEST_PREPARE +# ---------------- +m4_ifndef([_AS_TEST_PREPARE], +[m4_defun([_AS_TEST_PREPARE], +[if test -x / >/dev/null 2>&1; then + as_executable_p='test -x' +else + as_executable_p='test -f' +fi +])])# _AS_TEST_PREPARE + +# AS_EXECUTABLE_P +# --------------- +# Check whether a file is executable. +m4_ifndef([AS_EXECUTABLE_P], +[m4_defun([AS_EXECUTABLE_P], +[AS_REQUIRE([_AS_TEST_PREPARE])dnl +$as_executable_p $1[]dnl +])])# AS_EXECUTABLE_P + +# NOTE: This macro has been submitted for inclusion into # +# GNU Autoconf as AC_PROG_SED. When it is available in # +# a released version of Autoconf we should remove this # +# macro and use it instead. # +# LT_AC_PROG_SED +# -------------- +# Check for a fully-functional sed program, that truncates +# as few characters as possible. Prefer GNU sed if found. +AC_DEFUN([LT_AC_PROG_SED], +[AC_MSG_CHECKING([for a sed that does not truncate output]) +AC_CACHE_VAL(lt_cv_path_SED, +[# Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for lt_ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" + fi + done + done +done +IFS=$as_save_IFS +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && continue + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed + fi + done +done +]) +SED=$lt_cv_path_SED +AC_SUBST([SED]) +AC_MSG_RESULT([$SED]) +]) + +# Configure paths for libogg +# Jack Moffitt <jack@icecast.org> 10-21-2000 +# Shamelessly stolen from Owen Taylor and Manish Singh + +dnl XIPH_PATH_OGG([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) +dnl Test for libogg, and define OGG_CFLAGS and OGG_LIBS +dnl +AC_DEFUN([XIPH_PATH_OGG], +[dnl +dnl Get the cflags and libraries +dnl +AC_ARG_WITH(ogg,[ --with-ogg=PFX Prefix where libogg is installed (optional)], ogg_prefix="$withval", ogg_prefix="") +AC_ARG_WITH(ogg-libraries,[ --with-ogg-libraries=DIR Directory where libogg library is installed (optional)], ogg_libraries="$withval", ogg_libraries="") +AC_ARG_WITH(ogg-includes,[ --with-ogg-includes=DIR Directory where libogg header files are installed (optional)], ogg_includes="$withval", ogg_includes="") +AC_ARG_ENABLE(oggtest, [ --disable-oggtest Do not try to compile and run a test Ogg program],, enable_oggtest=yes) + + if test "x$ogg_libraries" != "x" ; then + OGG_LIBS="-L$ogg_libraries" + elif test "x$ogg_prefix" != "x" ; then + OGG_LIBS="-L$ogg_prefix/lib" + elif test "x$prefix" != "xNONE" ; then + OGG_LIBS="-L$prefix/lib" + fi + + OGG_LIBS="$OGG_LIBS -logg" + + if test "x$ogg_includes" != "x" ; then + OGG_CFLAGS="-I$ogg_includes" + elif test "x$ogg_prefix" != "x" ; then + OGG_CFLAGS="-I$ogg_prefix/include" + elif test "x$prefix" != "xNONE"; then + OGG_CFLAGS="-I$prefix/include" + fi + + AC_MSG_CHECKING(for Ogg) + no_ogg="" + + + if test "x$enable_oggtest" = "xyes" ; then + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $OGG_CFLAGS" + LIBS="$LIBS $OGG_LIBS" +dnl +dnl Now check if the installed Ogg is sufficiently new. +dnl + rm -f conf.oggtest + AC_TRY_RUN([ +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <ogg/ogg.h> + +int main () +{ + system("touch conf.oggtest"); + return 0; +} + +],, no_ogg=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + + if test "x$no_ogg" = "x" ; then + AC_MSG_RESULT(yes) + ifelse([$1], , :, [$1]) + else + AC_MSG_RESULT(no) + if test -f conf.oggtest ; then + : + else + echo "*** Could not run Ogg test program, checking why..." + CFLAGS="$CFLAGS $OGG_CFLAGS" + LIBS="$LIBS $OGG_LIBS" + AC_TRY_LINK([ +#include <stdio.h> +#include <ogg/ogg.h> +], [ return 0; ], + [ echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding Ogg or finding the wrong" + echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], + [ echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occured. This usually means Ogg was incorrectly installed" + echo "*** or that you have moved Ogg since it was installed." ]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + OGG_CFLAGS="" + OGG_LIBS="" + ifelse([$2], , :, [$2]) + fi + AC_SUBST(OGG_CFLAGS) + AC_SUBST(OGG_LIBS) + rm -f conf.oggtest +]) + +# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. +# +# This file 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. + +# AM_AUTOMAKE_VERSION(VERSION) +# ---------------------------- +# Automake X.Y traces this macro to ensure aclocal.m4 has been +# generated from the m4 files accompanying Automake X.Y. +# (This private macro should not be called outside this file.) +AC_DEFUN([AM_AUTOMAKE_VERSION], +[am__api_version='1.10' +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to +dnl require some minimum version. Point them to the right macro. +m4_if([$1], [1.10.1], [], + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl +]) + +# _AM_AUTOCONF_VERSION(VERSION) +# ----------------------------- +# aclocal traces this macro to find the Autoconf version. +# This is a private macro too. Using m4_define simplifies +# the logic in aclocal, which can simply ignore this definition. +m4_define([_AM_AUTOCONF_VERSION], []) + +# AM_SET_CURRENT_AUTOMAKE_VERSION +# ------------------------------- +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], +[AM_AUTOMAKE_VERSION([1.10.1])dnl +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)]) + +# AM_AUX_DIR_EXPAND -*- Autoconf -*- + +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file 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. + +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to +# `$srcdir', `$srcdir/..', or `$srcdir/../..'. +# +# Of course, Automake must honor this variable whenever it calls a +# tool from the auxiliary directory. The problem is that $srcdir (and +# therefore $ac_aux_dir as well) can be either absolute or relative, +# depending on how configure is run. This is pretty annoying, since +# it makes $ac_aux_dir quite unusable in subdirectories: in the top +# source directory, any form will work fine, but in subdirectories a +# relative path needs to be adjusted first. +# +# $ac_aux_dir/missing +# fails when called from a subdirectory if $ac_aux_dir is relative +# $top_srcdir/$ac_aux_dir/missing +# fails if $ac_aux_dir is absolute, +# fails when called from a subdirectory in a VPATH build with +# a relative $ac_aux_dir +# +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir +# are both prefixed by $srcdir. In an in-source build this is usually +# harmless because $srcdir is `.', but things will broke when you +# start a VPATH build or use an absolute $srcdir. +# +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` +# and then we would define $MISSING as +# MISSING="\${SHELL} $am_aux_dir/missing" +# This will work as long as MISSING is not called from configure, because +# unfortunately $(top_srcdir) has no meaning in configure. +# However there are other variables, like CC, which are often used in +# configure, and could therefore not use this "fixed" $ac_aux_dir. +# +# Another solution, used here, is to always expand $ac_aux_dir to an +# absolute PATH. The drawback is that using absolute paths prevent a +# configured tree to be moved without reconfiguration. + +AC_DEFUN([AM_AUX_DIR_EXPAND], +[dnl Rely on autoconf to set up CDPATH properly. +AC_PREREQ([2.50])dnl +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` +]) + +# AM_CONDITIONAL -*- Autoconf -*- + +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 +# Free Software Foundation, Inc. +# +# This file 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. + +# serial 8 + +# AM_CONDITIONAL(NAME, SHELL-CONDITION) +# ------------------------------------- +# Define a conditional. +AC_DEFUN([AM_CONDITIONAL], +[AC_PREREQ(2.52)dnl + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl +AC_SUBST([$1_TRUE])dnl +AC_SUBST([$1_FALSE])dnl +_AM_SUBST_NOTMAKE([$1_TRUE])dnl +_AM_SUBST_NOTMAKE([$1_FALSE])dnl +if $2; then + $1_TRUE= + $1_FALSE='#' +else + $1_TRUE='#' + $1_FALSE= +fi +AC_CONFIG_COMMANDS_PRE( +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then + AC_MSG_ERROR([[conditional "$1" was never defined. +Usually this means the macro was only invoked conditionally.]]) +fi])]) + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 +# Free Software Foundation, Inc. +# +# This file 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. + +# serial 9 + +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be +# written in clear, in which case automake, when reading aclocal.m4, +# will think it sees a *use*, and therefore will trigger all it's +# C support machinery. Also note that it means that autoscan, seeing +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... + + +# _AM_DEPENDENCIES(NAME) +# ---------------------- +# See how the compiler implements dependency checking. +# NAME is "CC", "CXX", "GCJ", or "OBJC". +# We try a few techniques and use that to set a single cache variable. +# +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular +# dependency, and given that the user is not expected to run this macro, +# just rely on AC_PROG_CC. +AC_DEFUN([_AM_DEPENDENCIES], +[AC_REQUIRE([AM_SET_DEPDIR])dnl +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl +AC_REQUIRE([AM_MAKE_INCLUDE])dnl +AC_REQUIRE([AM_DEP_TRACK])dnl + +ifelse([$1], CC, [depcc="$CC" am_compiler_list=], + [$1], CXX, [depcc="$CXX" am_compiler_list=], + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], UPC, [depcc="$UPC" am_compiler_list=], + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], + [depcc="$$1" am_compiler_list=]) + +AC_CACHE_CHECK([dependency style of $depcc], + [am_cv_$1_dependencies_compiler_type], +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_$1_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` + fi + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_$1_dependencies_compiler_type=none +fi +]) +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) +AM_CONDITIONAL([am__fastdep$1], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) +]) + + +# AM_SET_DEPDIR +# ------------- +# Choose a directory name for dependency files. +# This macro is AC_REQUIREd in _AM_DEPENDENCIES +AC_DEFUN([AM_SET_DEPDIR], +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl +]) + + +# AM_DEP_TRACK +# ------------ +AC_DEFUN([AM_DEP_TRACK], +[AC_ARG_ENABLE(dependency-tracking, +[ --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors]) +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) +AC_SUBST([AMDEPBACKSLASH])dnl +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl +]) + +# Generate code to set up dependency tracking. -*- Autoconf -*- + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file 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. + +#serial 3 + +# _AM_OUTPUT_DEPENDENCY_COMMANDS +# ------------------------------ +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], +[for mf in $CONFIG_FILES; do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`AS_DIRNAME("$mf")` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`AS_DIRNAME(["$file"])` + AS_MKDIR_P([$dirpart/$fdir]) + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done +done +])# _AM_OUTPUT_DEPENDENCY_COMMANDS + + +# AM_OUTPUT_DEPENDENCY_COMMANDS +# ----------------------------- +# This macro should only be invoked once -- use via AC_REQUIRE. +# +# This code is only required when automatic dependency tracking +# is enabled. FIXME. This creates each `.P' file that we will +# need in order to bootstrap the dependency handling code. +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], +[AC_CONFIG_COMMANDS([depfiles], + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) +]) + +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 +# Free Software Foundation, Inc. +# +# This file 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. + +# serial 8 + +# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. +AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) + +# Do all the work for Automake. -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +# 2005, 2006, 2008 Free Software Foundation, Inc. +# +# This file 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. + +# serial 13 + +# This macro actually does too much. Some checks are only needed if +# your package does certain things. But this isn't really a big deal. + +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) +# AM_INIT_AUTOMAKE([OPTIONS]) +# ----------------------------------------------- +# The call with PACKAGE and VERSION arguments is the old style +# call (pre autoconf-2.50), which is being phased out. PACKAGE +# and VERSION should now be passed to AC_INIT and removed from +# the call to AM_INIT_AUTOMAKE. +# We support both call styles for the transition. After +# the next Automake release, Autoconf can make the AC_INIT +# arguments mandatory, and then we can depend on a new Autoconf +# release and drop the old call support. +AC_DEFUN([AM_INIT_AUTOMAKE], +[AC_PREREQ([2.60])dnl +dnl Autoconf wants to disallow AM_ names. We explicitly allow +dnl the ones we care about. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl +AC_REQUIRE([AC_PROG_INSTALL])dnl +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi +AC_SUBST([CYGPATH_W]) + +# Define the identity of the package. +dnl Distinguish between old-style and new-style calls. +m4_ifval([$2], +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl + AC_SUBST([PACKAGE], [$1])dnl + AC_SUBST([VERSION], [$2])], +[_AM_SET_OPTIONS([$1])dnl +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl + +_AM_IF_OPTION([no-define],, +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl + +# Some tools Automake needs. +AC_REQUIRE([AM_SANITY_CHECK])dnl +AC_REQUIRE([AC_ARG_PROGRAM])dnl +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) +AM_MISSING_PROG(AUTOCONF, autoconf) +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) +AM_MISSING_PROG(AUTOHEADER, autoheader) +AM_MISSING_PROG(MAKEINFO, makeinfo) +AM_PROG_INSTALL_SH +AM_PROG_INSTALL_STRIP +AC_REQUIRE([AM_PROG_MKDIR_P])dnl +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([AC_PROG_MAKE_SET])dnl +AC_REQUIRE([AM_SET_LEADING_DOT])dnl +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], + [_AM_PROG_TAR([v7])])]) +_AM_IF_OPTION([no-dependencies],, +[AC_PROVIDE_IFELSE([AC_PROG_CC], + [_AM_DEPENDENCIES(CC)], + [define([AC_PROG_CC], + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_CXX], + [_AM_DEPENDENCIES(CXX)], + [define([AC_PROG_CXX], + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJC], + [_AM_DEPENDENCIES(OBJC)], + [define([AC_PROG_OBJC], + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl +]) +]) + + +# When config.status generates a header, we must update the stamp-h file. +# This file resides in the same directory as the config header +# that is generated. The stamp files are numbered to have different names. + +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the +# loop where config.status creates the headers, so we can generate +# our stamp files there. +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], +[# Compute $1's index in $config_headers. +_am_arg=$1 +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) + +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file 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. + +# AM_PROG_INSTALL_SH +# ------------------ +# Define $install_sh. +AC_DEFUN([AM_PROG_INSTALL_SH], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} +AC_SUBST(install_sh)]) + +# Copyright (C) 2003, 2005 Free Software Foundation, Inc. +# +# This file 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. + +# serial 2 + +# Check whether the underlying file-system supports filenames +# with a leading dot. For instance MS-DOS doesn't. +AC_DEFUN([AM_SET_LEADING_DOT], +[rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null +AC_SUBST([am__leading_dot])]) + +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- +# From Jim Meyering + +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file 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. + +# serial 4 + +AC_DEFUN([AM_MAINTAINER_MODE], +[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) + dnl maintainer-mode is disabled by default + AC_ARG_ENABLE(maintainer-mode, +[ --enable-maintainer-mode enable make rules and dependencies not useful + (and sometimes confusing) to the casual installer], + USE_MAINTAINER_MODE=$enableval, + USE_MAINTAINER_MODE=no) + AC_MSG_RESULT([$USE_MAINTAINER_MODE]) + AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) + MAINT=$MAINTAINER_MODE_TRUE + AC_SUBST(MAINT)dnl +] +) + +AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) + +# Check to see how 'make' treats includes. -*- Autoconf -*- + +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. +# +# This file 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. + +# serial 3 + +# AM_MAKE_INCLUDE() +# ----------------- +# Check to see how make treats includes. +AC_DEFUN([AM_MAKE_INCLUDE], +[am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo done +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +AC_MSG_CHECKING([for style of include used by $am_make]) +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# We grep out `Entering directory' and `Leaving directory' +# messages which can occur if `w' ends up in MAKEFLAGS. +# In particular we don't look at `^make:' because GNU make might +# be invoked under some other name (usually "gmake"), in which +# case it prints its new name instead of `make'. +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then + am__include=include + am__quote= + _am_result=GNU +fi +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then + am__include=.include + am__quote="\"" + _am_result=BSD + fi +fi +AC_SUBST([am__include]) +AC_SUBST([am__quote]) +AC_MSG_RESULT([$_am_result]) +rm -f confinc confmf +]) + +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- + +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file 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. + +# serial 5 + +# AM_MISSING_PROG(NAME, PROGRAM) +# ------------------------------ +AC_DEFUN([AM_MISSING_PROG], +[AC_REQUIRE([AM_MISSING_HAS_RUN]) +$1=${$1-"${am_missing_run}$2"} +AC_SUBST($1)]) + + +# AM_MISSING_HAS_RUN +# ------------------ +# Define MISSING if not defined so far and test if it supports --run. +# If it does, set am_missing_run to use it, otherwise, to nothing. +AC_DEFUN([AM_MISSING_HAS_RUN], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([missing])dnl +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + AC_MSG_WARN([`missing' script is too old or missing]) +fi +]) + +# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# +# This file 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. + +# AM_PROG_MKDIR_P +# --------------- +# Check for `mkdir -p'. +AC_DEFUN([AM_PROG_MKDIR_P], +[AC_PREREQ([2.60])dnl +AC_REQUIRE([AC_PROG_MKDIR_P])dnl +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, +dnl while keeping a definition of mkdir_p for backward compatibility. +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of +dnl Makefile.ins that do not define MKDIR_P, so we do our own +dnl adjustment using top_builddir (which is defined more often than +dnl MKDIR_P). +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl +case $mkdir_p in + [[\\/$]]* | ?:[[\\/]]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac +]) + +# Helper functions for option handling. -*- Autoconf -*- + +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. +# +# This file 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. + +# serial 3 + +# _AM_MANGLE_OPTION(NAME) +# ----------------------- +AC_DEFUN([_AM_MANGLE_OPTION], +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) + +# _AM_SET_OPTION(NAME) +# ------------------------------ +# Set option NAME. Presently that only means defining a flag for this option. +AC_DEFUN([_AM_SET_OPTION], +[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) + +# _AM_SET_OPTIONS(OPTIONS) +# ---------------------------------- +# OPTIONS is a space-separated list of Automake options. +AC_DEFUN([_AM_SET_OPTIONS], +[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) + +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) +# ------------------------------------------- +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +AC_DEFUN([_AM_IF_OPTION], +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) + +# Check to make sure that the build environment is sane. -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 +# Free Software Foundation, Inc. +# +# This file 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. + +# serial 4 + +# AM_SANITY_CHECK +# --------------- +AC_DEFUN([AM_SANITY_CHECK], +[AC_MSG_CHECKING([whether build environment is sane]) +# Just in case +sleep 1 +echo timestamp > conftest.file +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` + if test "$[*]" = "X"; then + # -L didn't work. + set X `ls -t $srcdir/configure conftest.file` + fi + rm -f conftest.file + if test "$[*]" != "X $srcdir/configure conftest.file" \ + && test "$[*]" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken +alias in your environment]) + fi + + test "$[2]" = conftest.file + ) +then + # Ok. + : +else + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) +fi +AC_MSG_RESULT(yes)]) + +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file 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. + +# AM_PROG_INSTALL_STRIP +# --------------------- +# One issue with vendor `install' (even GNU) is that you can't +# specify the program used to strip binaries. This is especially +# annoying in cross-compiling environments, where the build's strip +# is unlikely to handle the host's binaries. +# Fortunately install-sh will honor a STRIPPROG variable, so we +# always use install-sh in `make install-strip', and initialize +# STRIPPROG with the value of the STRIP variable (set by the user). +AC_DEFUN([AM_PROG_INSTALL_STRIP], +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +dnl Don't test for $cross_compiling = yes, because it might be `maybe'. +if test "$cross_compiling" != no; then + AC_CHECK_TOOL([STRIP], [strip], :) +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" +AC_SUBST([INSTALL_STRIP_PROGRAM])]) + +# Copyright (C) 2006 Free Software Foundation, Inc. +# +# This file 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. + +# _AM_SUBST_NOTMAKE(VARIABLE) +# --------------------------- +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. +# This macro is traced by Automake. +AC_DEFUN([_AM_SUBST_NOTMAKE]) + +# Check how to create a tarball. -*- Autoconf -*- + +# Copyright (C) 2004, 2005 Free Software Foundation, Inc. +# +# This file 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. + +# serial 2 + +# _AM_PROG_TAR(FORMAT) +# -------------------- +# Check how to create a tarball in format FORMAT. +# FORMAT should be one of `v7', `ustar', or `pax'. +# +# Substitute a variable $(am__tar) that is a command +# writing to stdout a FORMAT-tarball containing the directory +# $tardir. +# tardir=directory && $(am__tar) > result.tar +# +# Substitute a variable $(am__untar) that extract such +# a tarball read from stdin. +# $(am__untar) < result.tar +AC_DEFUN([_AM_PROG_TAR], +[# Always define AMTAR for backward compatibility. +AM_MISSING_PROG([AMTAR], [tar]) +m4_if([$1], [v7], + [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], + [m4_case([$1], [ustar],, [pax],, + [m4_fatal([Unknown tar format])]) +AC_MSG_CHECKING([how to create a $1 tar archive]) +# Loop over all known methods to create a tar archive until one works. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' +_am_tools=${am_cv_prog_tar_$1-$_am_tools} +# Do not fold the above two line into one, because Tru64 sh and +# Solaris sh will not grok spaces in the rhs of `-'. +for _am_tool in $_am_tools +do + case $_am_tool in + gnutar) + for _am_tar in tar gnutar gtar; + do + AM_RUN_LOG([$_am_tar --version]) && break + done + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' + am__untar="$_am_tar -xf -" + ;; + plaintar) + # Must skip GNU tar: if it does not support --format= it doesn't create + # ustar tarball either. + (tar --version) >/dev/null 2>&1 && continue + am__tar='tar chf - "$$tardir"' + am__tar_='tar chf - "$tardir"' + am__untar='tar xf -' + ;; + pax) + am__tar='pax -L -x $1 -w "$$tardir"' + am__tar_='pax -L -x $1 -w "$tardir"' + am__untar='pax -r' + ;; + cpio) + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' + am__untar='cpio -i -H $1 -d' + ;; + none) + am__tar=false + am__tar_=false + am__untar=false + ;; + esac + + # If the value was cached, stop now. We just wanted to have am__tar + # and am__untar set. + test -n "${am_cv_prog_tar_$1}" && break + + # tar/untar a dummy directory, and stop if the command works + rm -rf conftest.dir + mkdir conftest.dir + echo GrepMe > conftest.dir/file + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) + rm -rf conftest.dir + if test -s conftest.tar; then + AM_RUN_LOG([$am__untar <conftest.tar]) + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break + fi +done +rm -rf conftest.dir + +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) +AC_MSG_RESULT([$am_cv_prog_tar_$1])]) +AC_SUBST([am__tar]) +AC_SUBST([am__untar]) +]) # _AM_PROG_TAR + +m4_include([acinclude.m4]) diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/celt051.pc.in b/tizen/distrib/remote/common/celt-0.5.1.3/celt051.pc.in new file mode 100644 index 0000000..852a899 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/celt051.pc.in @@ -0,0 +1,14 @@ +# libcelt pkg-config source file + +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: celt +Description: CELT is a low-delay audio codec +Version: @CELT_VERSION@ +Requires: +Conflicts: +Libs: -L${libdir} -lcelt051 -lm +Cflags: -I${includedir} diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/config.guess b/tizen/distrib/remote/common/celt-0.5.1.3/config.guess new file mode 100755 index 0000000..396482d --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/config.guess @@ -0,0 +1,1500 @@ +#! /bin/sh +# Attempt to guess a canonical system name. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, +# Inc. + +timestamp='2006-07-02' + +# This file 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. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + + +# Originally written by Per Bothner <per@bothner.com>. +# Please send patches to <config-patches@gnu.org>. Submit a context +# diff and a properly formatted ChangeLog entry. +# +# This script attempts to guess a canonical system name similar to +# config.sub. If it succeeds, it prints the system name on stdout, and +# exits with 0. Otherwise, it exits with 1. +# +# The plan is that this can be called by configure scripts if you +# don't specify an explicit build system type. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] + +Output the configuration name of the system \`$me' is run on. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to <config-patches@gnu.org>." + +version="\ +GNU config.guess ($timestamp) + +Originally written by Per Bothner. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 +Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" >&2 + exit 1 ;; + * ) + break ;; + esac +done + +if test $# != 0; then + echo "$me: too many arguments$help" >&2 + exit 1 +fi + +trap 'exit 1' 1 2 15 + +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a +# compiler to aid in system detection is discouraged as it requires +# temporary files to be created and, as you can see below, it is a +# headache to deal with in a portable fashion. + +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still +# use `HOST_CC' if defined, but it is deprecated. + +# Portable tmp directory creation inspired by the Autoconf team. + +set_cc_for_build=' +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; +: ${TMPDIR=/tmp} ; + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; +dummy=$tmp/dummy ; +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; +case $CC_FOR_BUILD,$HOST_CC,$CC in + ,,) echo "int x;" > $dummy.c ; + for c in cc gcc c89 c99 ; do + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then + CC_FOR_BUILD="$c"; break ; + fi ; + done ; + if test x"$CC_FOR_BUILD" = x ; then + CC_FOR_BUILD=no_compiler_found ; + fi + ;; + ,,*) CC_FOR_BUILD=$CC ;; + ,*,*) CC_FOR_BUILD=$HOST_CC ;; +esac ; set_cc_for_build= ;' + +# This is needed to find uname on a Pyramid OSx when run in the BSD universe. +# (ghazi@noc.rutgers.edu 1994-08-24) +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then + PATH=$PATH:/.attbin ; export PATH +fi + +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown + +# Note: order is significant - the case branches are not exclusive. + +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in + *:NetBSD:*:*) + # NetBSD (nbsd) targets should (where applicable) match one or + # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently + # switched to ELF, *-*-netbsd* would select the old + # object file format. This provides both forward + # compatibility and a consistent mechanism for selecting the + # object file format. + # + # Note: NetBSD doesn't particularly care about the vendor + # portion of the name. We always set it to "unknown". + sysctl="sysctl -n hw.machine_arch" + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ + /usr/sbin/$sysctl 2>/dev/null || echo unknown)` + case "${UNAME_MACHINE_ARCH}" in + armeb) machine=armeb-unknown ;; + arm*) machine=arm-unknown ;; + sh3el) machine=shl-unknown ;; + sh3eb) machine=sh-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE_ARCH}" in + arm*|i386|m68k|ns32k|sh3*|sparc|vax) + eval $set_cc_for_build + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep __ELF__ >/dev/null + then + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). + # Return netbsd for either. FIX? + os=netbsd + else + os=netbsdelf + fi + ;; + *) + os=netbsd + ;; + esac + # The OS release + # Debian GNU/NetBSD machines have a different userland, and + # thus, need a distinct triplet. However, they do not need + # kernel version information, so it can be replaced with a + # suitable tag, in the style of linux-gnu. + case "${UNAME_VERSION}" in + Debian*) + release='-gnu' + ;; + *) + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + ;; + esac + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: + # contains redundant information, the shorter form: + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. + echo "${machine}-${os}${release}" + exit ;; + *:OpenBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} + exit ;; + *:ekkoBSD:*:*) + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} + exit ;; + *:SolidBSD:*:*) + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} + exit ;; + macppc:MirBSD:*:*) + echo powerpc-unknown-mirbsd${UNAME_RELEASE} + exit ;; + *:MirBSD:*:*) + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} + exit ;; + alpha:OSF1:*:*) + case $UNAME_RELEASE in + *4.0) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` + ;; + *5.*) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + ;; + esac + # According to Compaq, /usr/sbin/psrinfo has been available on + # OSF/1 and Tru64 systems produced since 1995. I hope that + # covers most systems running today. This code pipes the CPU + # types through head -n 1, so we only detect the type of CPU 0. + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` + case "$ALPHA_CPU_TYPE" in + "EV4 (21064)") + UNAME_MACHINE="alpha" ;; + "EV4.5 (21064)") + UNAME_MACHINE="alpha" ;; + "LCA4 (21066/21068)") + UNAME_MACHINE="alpha" ;; + "EV5 (21164)") + UNAME_MACHINE="alphaev5" ;; + "EV5.6 (21164A)") + UNAME_MACHINE="alphaev56" ;; + "EV5.6 (21164PC)") + UNAME_MACHINE="alphapca56" ;; + "EV5.7 (21164PC)") + UNAME_MACHINE="alphapca57" ;; + "EV6 (21264)") + UNAME_MACHINE="alphaev6" ;; + "EV6.7 (21264A)") + UNAME_MACHINE="alphaev67" ;; + "EV6.8CB (21264C)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8AL (21264B)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8CX (21264D)") + UNAME_MACHINE="alphaev68" ;; + "EV6.9A (21264/EV69A)") + UNAME_MACHINE="alphaev69" ;; + "EV7 (21364)") + UNAME_MACHINE="alphaev7" ;; + "EV7.9 (21364A)") + UNAME_MACHINE="alphaev79" ;; + esac + # A Pn.n version is a patched version. + # A Vn.n version is a released version. + # A Tn.n version is a released field test version. + # A Xn.n version is an unreleased experimental baselevel. + # 1.2 uses "1.2" for uname -r. + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + exit ;; + Alpha\ *:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # Should we change UNAME_MACHINE based on the output of uname instead + # of the specific Alpha model? + echo alpha-pc-interix + exit ;; + 21064:Windows_NT:50:3) + echo alpha-dec-winnt3.5 + exit ;; + Amiga*:UNIX_System_V:4.0:*) + echo m68k-unknown-sysv4 + exit ;; + *:[Aa]miga[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-amigaos + exit ;; + *:[Mm]orph[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-morphos + exit ;; + *:OS/390:*:*) + echo i370-ibm-openedition + exit ;; + *:z/VM:*:*) + echo s390-ibm-zvmoe + exit ;; + *:OS400:*:*) + echo powerpc-ibm-os400 + exit ;; + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) + echo arm-acorn-riscix${UNAME_RELEASE} + exit ;; + arm:riscos:*:*|arm:RISCOS:*:*) + echo arm-unknown-riscos + exit ;; + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) + echo hppa1.1-hitachi-hiuxmpp + exit ;; + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. + if test "`(/bin/universe) 2>/dev/null`" = att ; then + echo pyramid-pyramid-sysv3 + else + echo pyramid-pyramid-bsd + fi + exit ;; + NILE*:*:*:dcosx) + echo pyramid-pyramid-svr4 + exit ;; + DRS?6000:unix:4.0:6*) + echo sparc-icl-nx6 + exit ;; + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) + case `/usr/bin/uname -p` in + sparc) echo sparc-icl-nx7; exit ;; + esac ;; + sun4H:SunOS:5.*:*) + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + i86pc:SunOS:5.*:*) + echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:6*:*) + # According to config.sub, this is the proper way to canonicalize + # SunOS6. Hard to guess exactly what SunOS6 will be like, but + # it's likely to be more like Solaris than SunOS4. + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:*:*) + case "`/usr/bin/arch -k`" in + Series*|S4*) + UNAME_RELEASE=`uname -v` + ;; + esac + # Japanese Language versions have a version number like `4.1.3-JL'. + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` + exit ;; + sun3*:SunOS:*:*) + echo m68k-sun-sunos${UNAME_RELEASE} + exit ;; + sun*:*:4.2BSD:*) + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 + case "`/bin/arch`" in + sun3) + echo m68k-sun-sunos${UNAME_RELEASE} + ;; + sun4) + echo sparc-sun-sunos${UNAME_RELEASE} + ;; + esac + exit ;; + aushp:SunOS:*:*) + echo sparc-auspex-sunos${UNAME_RELEASE} + exit ;; + # The situation for MiNT is a little confusing. The machine name + # can be virtually everything (everything which is not + # "atarist" or "atariste" at least should have a processor + # > m68000). The system name ranges from "MiNT" over "FreeMiNT" + # to the lowercase version "mint" (or "freemint"). Finally + # the system name "TOS" denotes a system which is actually not + # MiNT. But MiNT is downward compatible to TOS, so this should + # be no problem. + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) + echo m68k-milan-mint${UNAME_RELEASE} + exit ;; + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) + echo m68k-hades-mint${UNAME_RELEASE} + exit ;; + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) + echo m68k-unknown-mint${UNAME_RELEASE} + exit ;; + m68k:machten:*:*) + echo m68k-apple-machten${UNAME_RELEASE} + exit ;; + powerpc:machten:*:*) + echo powerpc-apple-machten${UNAME_RELEASE} + exit ;; + RISC*:Mach:*:*) + echo mips-dec-mach_bsd4.3 + exit ;; + RISC*:ULTRIX:*:*) + echo mips-dec-ultrix${UNAME_RELEASE} + exit ;; + VAX*:ULTRIX*:*:*) + echo vax-dec-ultrix${UNAME_RELEASE} + exit ;; + 2020:CLIX:*:* | 2430:CLIX:*:*) + echo clipper-intergraph-clix${UNAME_RELEASE} + exit ;; + mips:*:*:UMIPS | mips:*:*:RISCos) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c +#ifdef __cplusplus +#include <stdio.h> /* for printf() prototype */ + int main (int argc, char *argv[]) { +#else + int main (argc, argv) int argc; char *argv[]; { +#endif + #if defined (host_mips) && defined (MIPSEB) + #if defined (SYSTYPE_SYSV) + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_SVR4) + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); + #endif + #endif + exit (-1); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && + SYSTEM_NAME=`$dummy $dummyarg` && + { echo "$SYSTEM_NAME"; exit; } + echo mips-mips-riscos${UNAME_RELEASE} + exit ;; + Motorola:PowerMAX_OS:*:*) + echo powerpc-motorola-powermax + exit ;; + Motorola:*:4.3:PL8-*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:Power_UNIX:*:*) + echo powerpc-harris-powerunix + exit ;; + m88k:CX/UX:7*:*) + echo m88k-harris-cxux7 + exit ;; + m88k:*:4*:R4*) + echo m88k-motorola-sysv4 + exit ;; + m88k:*:3*:R3*) + echo m88k-motorola-sysv3 + exit ;; + AViiON:dgux:*:*) + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] + then + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ + [ ${TARGET_BINARY_INTERFACE}x = x ] + then + echo m88k-dg-dgux${UNAME_RELEASE} + else + echo m88k-dg-dguxbcs${UNAME_RELEASE} + fi + else + echo i586-dg-dgux${UNAME_RELEASE} + fi + exit ;; + M88*:DolphinOS:*:*) # DolphinOS (SVR3) + echo m88k-dolphin-sysv3 + exit ;; + M88*:*:R3*:*) + # Delta 88k system running SVR3 + echo m88k-motorola-sysv3 + exit ;; + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) + echo m88k-tektronix-sysv3 + exit ;; + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) + echo m68k-tektronix-bsd + exit ;; + *:IRIX*:*:*) + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` + exit ;; + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + i*86:AIX:*:*) + echo i386-ibm-aix + exit ;; + ia64:AIX:*:*) + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} + exit ;; + *:AIX:2:3) + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include <sys/systemcfg.h> + + main() + { + if (!__power_pc()) + exit(1); + puts("powerpc-ibm-aix3.2.5"); + exit(0); + } +EOF + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` + then + echo "$SYSTEM_NAME" + else + echo rs6000-ibm-aix3.2.5 + fi + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then + echo rs6000-ibm-aix3.2.4 + else + echo rs6000-ibm-aix3.2 + fi + exit ;; + *:AIX:*:[45]) + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then + IBM_ARCH=rs6000 + else + IBM_ARCH=powerpc + fi + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${IBM_ARCH}-ibm-aix${IBM_REV} + exit ;; + *:AIX:*:*) + echo rs6000-ibm-aix + exit ;; + ibmrt:4.4BSD:*|romp-ibm:BSD:*) + echo romp-ibm-bsd4.4 + exit ;; + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to + exit ;; # report: romp-ibm BSD 4.3 + *:BOSX:*:*) + echo rs6000-bull-bosx + exit ;; + DPX/2?00:B.O.S.:*:*) + echo m68k-bull-sysv3 + exit ;; + 9000/[34]??:4.3bsd:1.*:*) + echo m68k-hp-bsd + exit ;; + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) + echo m68k-hp-bsd4.4 + exit ;; + 9000/[34678]??:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + case "${UNAME_MACHINE}" in + 9000/31? ) HP_ARCH=m68000 ;; + 9000/[34]?? ) HP_ARCH=m68k ;; + 9000/[678][0-9][0-9]) + if [ -x /usr/bin/getconf ]; then + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in + 32) HP_ARCH="hppa2.0n" ;; + 64) HP_ARCH="hppa2.0w" ;; + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 + esac ;; + esac + fi + if [ "${HP_ARCH}" = "" ]; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + + #define _HPUX_SOURCE + #include <stdlib.h> + #include <unistd.h> + + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); + + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } +EOF + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` + test -z "$HP_ARCH" && HP_ARCH=hppa + fi ;; + esac + if [ ${HP_ARCH} = "hppa2.0w" ] + then + eval $set_cc_for_build + + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler + # generating 64-bit code. GNU and HP use different nomenclature: + # + # $ CC_FOR_BUILD=cc ./config.guess + # => hppa2.0w-hp-hpux11.23 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess + # => hppa64-hp-hpux11.23 + + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | + grep __LP64__ >/dev/null + then + HP_ARCH="hppa2.0w" + else + HP_ARCH="hppa64" + fi + fi + echo ${HP_ARCH}-hp-hpux${HPUX_REV} + exit ;; + ia64:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + echo ia64-hp-hpux${HPUX_REV} + exit ;; + 3050*:HI-UX:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include <unistd.h> + int + main () + { + long cpu = sysconf (_SC_CPU_VERSION); + /* The order matters, because CPU_IS_HP_MC68K erroneously returns + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct + results, however. */ + if (CPU_IS_PA_RISC (cpu)) + { + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; + default: puts ("hppa-hitachi-hiuxwe2"); break; + } + } + else if (CPU_IS_HP_MC68K (cpu)) + puts ("m68k-hitachi-hiuxwe2"); + else puts ("unknown-hitachi-hiuxwe2"); + exit (0); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } + echo unknown-hitachi-hiuxwe2 + exit ;; + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) + echo hppa1.1-hp-bsd + exit ;; + 9000/8??:4.3bsd:*:*) + echo hppa1.0-hp-bsd + exit ;; + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) + echo hppa1.0-hp-mpeix + exit ;; + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) + echo hppa1.1-hp-osf + exit ;; + hp8??:OSF1:*:*) + echo hppa1.0-hp-osf + exit ;; + i*86:OSF1:*:*) + if [ -x /usr/sbin/sysversion ] ; then + echo ${UNAME_MACHINE}-unknown-osf1mk + else + echo ${UNAME_MACHINE}-unknown-osf1 + fi + exit ;; + parisc*:Lites*:*:*) + echo hppa1.1-hp-lites + exit ;; + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) + echo c1-convex-bsd + exit ;; + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) + echo c34-convex-bsd + exit ;; + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) + echo c38-convex-bsd + exit ;; + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) + echo c4-convex-bsd + exit ;; + CRAY*Y-MP:*:*:*) + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*[A-Z]90:*:*:*) + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ + -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*TS:*:*:*) + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*T3E:*:*:*) + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*SV1:*:*:*) + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + *:UNICOS/mp:*:*) + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + 5000:UNIX_System_V:4.*:*) + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} + exit ;; + sparc*:BSD/OS:*:*) + echo sparc-unknown-bsdi${UNAME_RELEASE} + exit ;; + *:BSD/OS:*:*) + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} + exit ;; + *:FreeBSD:*:*) + case ${UNAME_MACHINE} in + pc98) + echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + amd64) + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + *) + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + esac + exit ;; + i*:CYGWIN*:*) + echo ${UNAME_MACHINE}-pc-cygwin + exit ;; + i*:MINGW*:*) + echo ${UNAME_MACHINE}-pc-mingw32 + exit ;; + i*:windows32*:*) + # uname -m includes "-pc" on this system. + echo ${UNAME_MACHINE}-mingw32 + exit ;; + i*:PW*:*) + echo ${UNAME_MACHINE}-pc-pw32 + exit ;; + x86:Interix*:[3456]*) + echo i586-pc-interix${UNAME_RELEASE} + exit ;; + EM64T:Interix*:[3456]*) + echo x86_64-unknown-interix${UNAME_RELEASE} + exit ;; + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) + echo i${UNAME_MACHINE}-pc-mks + exit ;; + i*:Windows_NT*:* | Pentium*:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we + # UNAME_MACHINE based on the output of uname instead of i386? + echo i586-pc-interix + exit ;; + i*:UWIN*:*) + echo ${UNAME_MACHINE}-pc-uwin + exit ;; + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) + echo x86_64-unknown-cygwin + exit ;; + p*:CYGWIN*:*) + echo powerpcle-unknown-cygwin + exit ;; + prep*:SunOS:5.*:*) + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + *:GNU:*:*) + # the GNU system + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + exit ;; + *:GNU/*:*:*) + # other systems with GNU libc and userland + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu + exit ;; + i*86:Minix:*:*) + echo ${UNAME_MACHINE}-pc-minix + exit ;; + arm*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + avr32*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + cris:Linux:*:*) + echo cris-axis-linux-gnu + exit ;; + crisv32:Linux:*:*) + echo crisv32-axis-linux-gnu + exit ;; + frv:Linux:*:*) + echo frv-unknown-linux-gnu + exit ;; + ia64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m32r*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m68*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + mips:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef mips + #undef mipsel + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=mipsel + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=mips + #else + CPU= + #endif + #endif +EOF + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^CPU/{ + s: ::g + p + }'`" + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } + ;; + mips64:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef mips64 + #undef mips64el + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=mips64el + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=mips64 + #else + CPU= + #endif + #endif +EOF + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^CPU/{ + s: ::g + p + }'`" + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } + ;; + or32:Linux:*:*) + echo or32-unknown-linux-gnu + exit ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-gnu + exit ;; + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-gnu + exit ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} + exit ;; + parisc:Linux:*:* | hppa:Linux:*:*) + # Look for CPU level + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in + PA7*) echo hppa1.1-unknown-linux-gnu ;; + PA8*) echo hppa2.0-unknown-linux-gnu ;; + *) echo hppa-unknown-linux-gnu ;; + esac + exit ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-gnu + exit ;; + s390:Linux:*:* | s390x:Linux:*:*) + echo ${UNAME_MACHINE}-ibm-linux + exit ;; + sh64*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + sh*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + sparc:Linux:*:* | sparc64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + vax:Linux:*:*) + echo ${UNAME_MACHINE}-dec-linux-gnu + exit ;; + x86_64:Linux:*:*) + echo x86_64-unknown-linux-gnu + exit ;; + i*86:Linux:*:*) + # The BFD linker knows what the default object file format is, so + # first see if it will tell us. cd to the root directory to prevent + # problems with other programs or directories called `ld' in the path. + # Set LC_ALL=C to ensure ld outputs messages in English. + ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ + | sed -ne '/supported targets:/!d + s/[ ][ ]*/ /g + s/.*supported targets: *// + s/ .*// + p'` + case "$ld_supported_targets" in + elf32-i386) + TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" + ;; + a.out-i386-linux) + echo "${UNAME_MACHINE}-pc-linux-gnuaout" + exit ;; + coff-i386) + echo "${UNAME_MACHINE}-pc-linux-gnucoff" + exit ;; + "") + # Either a pre-BFD a.out linker (linux-gnuoldld) or + # one that does not give us useful --help. + echo "${UNAME_MACHINE}-pc-linux-gnuoldld" + exit ;; + esac + # Determine whether the default compiler is a.out or elf + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include <features.h> + #ifdef __ELF__ + # ifdef __GLIBC__ + # if __GLIBC__ >= 2 + LIBC=gnu + # else + LIBC=gnulibc1 + # endif + # else + LIBC=gnulibc1 + # endif + #else + #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) + LIBC=gnu + #else + LIBC=gnuaout + #endif + #endif + #ifdef __dietlibc__ + LIBC=dietlibc + #endif +EOF + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^LIBC/{ + s: ::g + p + }'`" + test x"${LIBC}" != x && { + echo "${UNAME_MACHINE}-pc-linux-${LIBC}" + exit + } + test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } + ;; + i*86:DYNIX/ptx:4*:*) + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. + # earlier versions are messed up and put the nodename in both + # sysname and nodename. + echo i386-sequent-sysv4 + exit ;; + i*86:UNIX_SV:4.2MP:2.*) + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, + # I just have to hope. -- rms. + # Use sysv4.2uw... so that sysv4* matches it. + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} + exit ;; + i*86:OS/2:*:*) + # If we were able to find `uname', then EMX Unix compatibility + # is probably installed. + echo ${UNAME_MACHINE}-pc-os2-emx + exit ;; + i*86:XTS-300:*:STOP) + echo ${UNAME_MACHINE}-unknown-stop + exit ;; + i*86:atheos:*:*) + echo ${UNAME_MACHINE}-unknown-atheos + exit ;; + i*86:syllable:*:*) + echo ${UNAME_MACHINE}-pc-syllable + exit ;; + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) + echo i386-unknown-lynxos${UNAME_RELEASE} + exit ;; + i*86:*DOS:*:*) + echo ${UNAME_MACHINE}-pc-msdosdjgpp + exit ;; + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} + else + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} + fi + exit ;; + i*86:*:5:[678]*) + # UnixWare 7.x, OpenUNIX and OpenServer 6. + case `/bin/uname -X | grep "^Machine"` in + *486*) UNAME_MACHINE=i486 ;; + *Pentium) UNAME_MACHINE=i586 ;; + *Pent*|*Celeron) UNAME_MACHINE=i686 ;; + esac + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} + exit ;; + i*86:*:3.2:*) + if test -f /usr/options/cb.name; then + UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` + echo ${UNAME_MACHINE}-pc-isc$UNAME_REL + elif /bin/uname -X 2>/dev/null >/dev/null ; then + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ + && UNAME_MACHINE=i586 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ + && UNAME_MACHINE=i686 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ + && UNAME_MACHINE=i686 + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL + else + echo ${UNAME_MACHINE}-pc-sysv32 + fi + exit ;; + pc:*:*:*) + # Left here for compatibility: + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i386. + echo i386-pc-msdosdjgpp + exit ;; + Intel:Mach:3*:*) + echo i386-pc-mach3 + exit ;; + paragon:*:*:*) + echo i860-intel-osf1 + exit ;; + i860:*:4.*:*) # i860-SVR4 + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 + else # Add other i860-SVR4 vendors below as they are discovered. + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 + fi + exit ;; + mini*:CTIX:SYS*5:*) + # "miniframe" + echo m68010-convergent-sysv + exit ;; + mc68k:UNIX:SYSTEM5:3.51m) + echo m68k-convergent-sysv + exit ;; + M680?0:D-NIX:5.3:*) + echo m68k-diab-dnix + exit ;; + M68*:*:R3V[5678]*:*) + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) + OS_REL='' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4; exit; } ;; + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) + echo m68k-unknown-lynxos${UNAME_RELEASE} + exit ;; + mc68030:UNIX_System_V:4.*:*) + echo m68k-atari-sysv4 + exit ;; + TSUNAMI:LynxOS:2.*:*) + echo sparc-unknown-lynxos${UNAME_RELEASE} + exit ;; + rs6000:LynxOS:2.*:*) + echo rs6000-unknown-lynxos${UNAME_RELEASE} + exit ;; + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) + echo powerpc-unknown-lynxos${UNAME_RELEASE} + exit ;; + SM[BE]S:UNIX_SV:*:*) + echo mips-dde-sysv${UNAME_RELEASE} + exit ;; + RM*:ReliantUNIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + RM*:SINIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + *:SINIX-*:*:*) + if uname -p 2>/dev/null >/dev/null ; then + UNAME_MACHINE=`(uname -p) 2>/dev/null` + echo ${UNAME_MACHINE}-sni-sysv4 + else + echo ns32k-sni-sysv + fi + exit ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says <Richard.M.Bartel@ccMail.Census.GOV> + echo i586-unisys-sysv4 + exit ;; + *:UNIX_System_V:4*:FTX*) + # From Gerald Hewes <hewes@openmarket.com>. + # How about differentiating between stratus architectures? -djm + echo hppa1.1-stratus-sysv4 + exit ;; + *:*:*:FTX*) + # From seanf@swdc.stratus.com. + echo i860-stratus-sysv4 + exit ;; + i*86:VOS:*:*) + # From Paul.Green@stratus.com. + echo ${UNAME_MACHINE}-stratus-vos + exit ;; + *:VOS:*:*) + # From Paul.Green@stratus.com. + echo hppa1.1-stratus-vos + exit ;; + mc68*:A/UX:*:*) + echo m68k-apple-aux${UNAME_RELEASE} + exit ;; + news*:NEWS-OS:6*:*) + echo mips-sony-newsos6 + exit ;; + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) + if [ -d /usr/nec ]; then + echo mips-nec-sysv${UNAME_RELEASE} + else + echo mips-unknown-sysv${UNAME_RELEASE} + fi + exit ;; + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. + echo powerpc-be-beos + exit ;; + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. + echo powerpc-apple-beos + exit ;; + BePC:BeOS:*:*) # BeOS running on Intel PC compatible. + echo i586-pc-beos + exit ;; + SX-4:SUPER-UX:*:*) + echo sx4-nec-superux${UNAME_RELEASE} + exit ;; + SX-5:SUPER-UX:*:*) + echo sx5-nec-superux${UNAME_RELEASE} + exit ;; + SX-6:SUPER-UX:*:*) + echo sx6-nec-superux${UNAME_RELEASE} + exit ;; + Power*:Rhapsody:*:*) + echo powerpc-apple-rhapsody${UNAME_RELEASE} + exit ;; + *:Rhapsody:*:*) + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} + exit ;; + *:Darwin:*:*) + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown + case $UNAME_PROCESSOR in + unknown) UNAME_PROCESSOR=powerpc ;; + esac + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} + exit ;; + *:procnto*:*:* | *:QNX:[0123456789]*:*) + UNAME_PROCESSOR=`uname -p` + if test "$UNAME_PROCESSOR" = "x86"; then + UNAME_PROCESSOR=i386 + UNAME_MACHINE=pc + fi + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} + exit ;; + *:QNX:*:4*) + echo i386-pc-qnx + exit ;; + NSE-?:NONSTOP_KERNEL:*:*) + echo nse-tandem-nsk${UNAME_RELEASE} + exit ;; + NSR-?:NONSTOP_KERNEL:*:*) + echo nsr-tandem-nsk${UNAME_RELEASE} + exit ;; + *:NonStop-UX:*:*) + echo mips-compaq-nonstopux + exit ;; + BS2000:POSIX*:*:*) + echo bs2000-siemens-sysv + exit ;; + DS/*:UNIX_System_V:*:*) + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} + exit ;; + *:Plan9:*:*) + # "uname -m" is not consistent, so use $cputype instead. 386 + # is converted to i386 for consistency with other x86 + # operating systems. + if test "$cputype" = "386"; then + UNAME_MACHINE=i386 + else + UNAME_MACHINE="$cputype" + fi + echo ${UNAME_MACHINE}-unknown-plan9 + exit ;; + *:TOPS-10:*:*) + echo pdp10-unknown-tops10 + exit ;; + *:TENEX:*:*) + echo pdp10-unknown-tenex + exit ;; + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) + echo pdp10-dec-tops20 + exit ;; + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) + echo pdp10-xkl-tops20 + exit ;; + *:TOPS-20:*:*) + echo pdp10-unknown-tops20 + exit ;; + *:ITS:*:*) + echo pdp10-unknown-its + exit ;; + SEI:*:*:SEIUX) + echo mips-sei-seiux${UNAME_RELEASE} + exit ;; + *:DragonFly:*:*) + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit ;; + *:*VMS:*:*) + UNAME_MACHINE=`(uname -p) 2>/dev/null` + case "${UNAME_MACHINE}" in + A*) echo alpha-dec-vms ; exit ;; + I*) echo ia64-dec-vms ; exit ;; + V*) echo vax-dec-vms ; exit ;; + esac ;; + *:XENIX:*:SysV) + echo i386-pc-xenix + exit ;; + i*86:skyos:*:*) + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' + exit ;; + i*86:rdos:*:*) + echo ${UNAME_MACHINE}-pc-rdos + exit ;; +esac + +#echo '(No uname command or uname output not recognized.)' 1>&2 +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 + +eval $set_cc_for_build +cat >$dummy.c <<EOF +#ifdef _SEQUENT_ +# include <sys/types.h> +# include <sys/utsname.h> +#endif +main () +{ +#if defined (sony) +#if defined (MIPSEB) + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, + I don't know.... */ + printf ("mips-sony-bsd\n"); exit (0); +#else +#include <sys/param.h> + printf ("m68k-sony-newsos%s\n", +#ifdef NEWSOS4 + "4" +#else + "" +#endif + ); exit (0); +#endif +#endif + +#if defined (__arm) && defined (__acorn) && defined (__unix) + printf ("arm-acorn-riscix\n"); exit (0); +#endif + +#if defined (hp300) && !defined (hpux) + printf ("m68k-hp-bsd\n"); exit (0); +#endif + +#if defined (NeXT) +#if !defined (__ARCHITECTURE__) +#define __ARCHITECTURE__ "m68k" +#endif + int version; + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; + if (version < 4) + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); + else + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); + exit (0); +#endif + +#if defined (MULTIMAX) || defined (n16) +#if defined (UMAXV) + printf ("ns32k-encore-sysv\n"); exit (0); +#else +#if defined (CMU) + printf ("ns32k-encore-mach\n"); exit (0); +#else + printf ("ns32k-encore-bsd\n"); exit (0); +#endif +#endif +#endif + +#if defined (__386BSD__) + printf ("i386-pc-bsd\n"); exit (0); +#endif + +#if defined (sequent) +#if defined (i386) + printf ("i386-sequent-dynix\n"); exit (0); +#endif +#if defined (ns32000) + printf ("ns32k-sequent-dynix\n"); exit (0); +#endif +#endif + +#if defined (_SEQUENT_) + struct utsname un; + + uname(&un); + + if (strncmp(un.version, "V2", 2) == 0) { + printf ("i386-sequent-ptx2\n"); exit (0); + } + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ + printf ("i386-sequent-ptx1\n"); exit (0); + } + printf ("i386-sequent-ptx\n"); exit (0); + +#endif + +#if defined (vax) +# if !defined (ultrix) +# include <sys/param.h> +# if defined (BSD) +# if BSD == 43 + printf ("vax-dec-bsd4.3\n"); exit (0); +# else +# if BSD == 199006 + printf ("vax-dec-bsd4.3reno\n"); exit (0); +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# endif +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# else + printf ("vax-dec-ultrix\n"); exit (0); +# endif +#endif + +#if defined (alliant) && defined (i860) + printf ("i860-alliant-bsd\n"); exit (0); +#endif + + exit (1); +} +EOF + +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } + +# Apollos put the system type in the environment. + +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } + +# Convex versions that predate uname can use getsysinfo(1) + +if [ -x /usr/convex/getsysinfo ] +then + case `getsysinfo -f cpu_type` in + c1*) + echo c1-convex-bsd + exit ;; + c2*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + c34*) + echo c34-convex-bsd + exit ;; + c38*) + echo c38-convex-bsd + exit ;; + c4*) + echo c4-convex-bsd + exit ;; + esac +fi + +cat >&2 <<EOF +$0: unable to guess system type + +This script, last modified $timestamp, has failed to recognize +the operating system you are using. It is advised that you +download the most up to date version of the config scripts from + + http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess +and + http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub + +If the version you run ($0) is already up to date, please +send the following data and any information you think might be +pertinent to <config-patches@gnu.org> in order to provide the needed +information to handle your system. + +config.guess timestamp = $timestamp + +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` + +hostinfo = `(hostinfo) 2>/dev/null` +/bin/universe = `(/bin/universe) 2>/dev/null` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` +/bin/arch = `(/bin/arch) 2>/dev/null` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` + +UNAME_MACHINE = ${UNAME_MACHINE} +UNAME_RELEASE = ${UNAME_RELEASE} +UNAME_SYSTEM = ${UNAME_SYSTEM} +UNAME_VERSION = ${UNAME_VERSION} +EOF + +exit 1 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/config.h.in b/tizen/distrib/remote/common/celt-0.5.1.3/config.h.in new file mode 100644 index 0000000..730ad82 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/config.h.in @@ -0,0 +1,150 @@ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* This is a build of CELT */ +#undef CELT_BUILD + +/* Version extra */ +#undef CELT_EXTRA_VERSION + +/* Version major */ +#undef CELT_MAJOR_VERSION + +/* Version micro */ +#undef CELT_MICRO_VERSION + +/* Version minor */ +#undef CELT_MINOR_VERSION + +/* Complete version string */ +#undef CELT_VERSION + +/* Compile as fixed-point */ +#undef DOUBLE_PRECISION + +/* Assertions */ +#undef ENABLE_ASSERTIONS + +/* Debug fixed-point implementation */ +#undef FIXED_DEBUG + +/* Compile as fixed-point */ +#undef FIXED_POINT + +/* Compile as floating-point */ +#undef FLOATING_POINT + +/* Define to 1 if you have the <alloca.h> header file. */ +#undef HAVE_ALLOCA_H + +/* Define to 1 if you have the <dlfcn.h> header file. */ +#undef HAVE_DLFCN_H + +/* Define to 1 if you have the <getopt.h> header file. */ +#undef HAVE_GETOPT_H + +/* Define to 1 if you have the `getopt_long' function. */ +#undef HAVE_GETOPT_LONG + +/* Define to 1 if you have the <inttypes.h> header file. */ +#undef HAVE_INTTYPES_H + +/* Define to 1 if you have the `m' library (-lm). */ +#undef HAVE_LIBM + +/* Define to 1 if you have the `winmm' library (-lwinmm). */ +#undef HAVE_LIBWINMM + +/* Define if you have C99's lrint function. */ +#undef HAVE_LRINT + +/* Define if you have C99's lrintf function. */ +#undef HAVE_LRINTF + +/* Define to 1 if you have the <memory.h> header file. */ +#undef HAVE_MEMORY_H + +/* Define to 1 if you have the <stdint.h> header file. */ +#undef HAVE_STDINT_H + +/* Define to 1 if you have the <stdlib.h> header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the <strings.h> header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the <string.h> header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the <sys/audioio.h> header file. */ +#undef HAVE_SYS_AUDIOIO_H + +/* Define to 1 if you have the <sys/soundcard.h> header file. */ +#undef HAVE_SYS_SOUNDCARD_H + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the <sys/types.h> header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have the <unistd.h> header file. */ +#undef HAVE_UNISTD_H + +/* Compile as fixed-point */ +#undef MIXED_PRECISION + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* The size of `int', as computed by sizeof. */ +#undef SIZEOF_INT + +/* The size of `long', as computed by sizeof. */ +#undef SIZEOF_LONG + +/* The size of `long long', as computed by sizeof. */ +#undef SIZEOF_LONG_LONG + +/* The size of `short', as computed by sizeof. */ +#undef SIZEOF_SHORT + +/* Static modes */ +#undef STATIC_MODES + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Make use of alloca */ +#undef USE_ALLOCA + +/* Use C99 variable-size arrays */ +#undef VAR_ARRAYS + +/* Define to 1 if your processor stores words with the most significant byte + first (like Motorola and SPARC, unlike Intel and VAX). */ +#undef WORDS_BIGENDIAN + +/* Define to empty if `const' does not conform to ANSI C. */ +#undef const + +/* Define to `__inline__' or `__inline' if that's what the C compiler + calls it, or to nothing if 'inline' is not supported under any name. */ +#ifndef __cplusplus +#undef inline +#endif + +/* Define to equivalent of C99 restrict keyword, or to nothing if this is not + supported. Do not define if restrict is supported directly. */ +#undef restrict diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/config.sub b/tizen/distrib/remote/common/celt-0.5.1.3/config.sub new file mode 100755 index 0000000..387c18d --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/config.sub @@ -0,0 +1,1608 @@ +#! /bin/sh +# Configuration validation subroutine script. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, +# Inc. + +timestamp='2006-07-02' + +# This file is (in principle) common to ALL GNU software. +# The presence of a machine in this file suggests that SOME GNU software +# can handle that machine. It does not imply ALL GNU software can. +# +# This file 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. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + + +# Please send patches to <config-patches@gnu.org>. Submit a context +# diff and a properly formatted ChangeLog entry. +# +# Configuration subroutine to validate and canonicalize a configuration type. +# Supply the specified configuration type as an argument. +# If it is invalid, we print an error message on stderr and exit with code 1. +# Otherwise, we print the canonical config type on stdout and succeed. + +# This file is supposed to be the same for all GNU packages +# and recognize all the CPU types, system types and aliases +# that are meaningful with *any* GNU software. +# Each package is responsible for reporting which valid configurations +# it does not support. The user should be able to distinguish +# a failure to support a valid configuration from a meaningless +# configuration. + +# The goal of this file is to map all the various variations of a given +# machine specification into a single specification in the form: +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or in some cases, the newer four-part form: +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM +# It is wrong to echo any other type of specification. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] CPU-MFR-OPSYS + $0 [OPTION] ALIAS + +Canonicalize a configuration name. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to <config-patches@gnu.org>." + +version="\ +GNU config.sub ($timestamp) + +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 +Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" + exit 1 ;; + + *local*) + # First pass through any local machine types. + echo $1 + exit ;; + + * ) + break ;; + esac +done + +case $# in + 0) echo "$me: missing argument$help" >&2 + exit 1;; + 1) ;; + *) echo "$me: too many arguments$help" >&2 + exit 1;; +esac + +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). +# Here we must recognize all the valid KERNEL-OS combinations. +maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` +case $maybe_os in + nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ + storm-chaos* | os2-emx* | rtmk-nova*) + os=-$maybe_os + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` + ;; + *) + basic_machine=`echo $1 | sed 's/-[^-]*$//'` + if [ $basic_machine != $1 ] + then os=`echo $1 | sed 's/.*-/-/'` + else os=; fi + ;; +esac + +### Let's recognize common machines as not being operating systems so +### that things like config.sub decstation-3100 work. We also +### recognize some manufacturers as not being operating systems, so we +### can provide default operating systems below. +case $os in + -sun*os*) + # Prevent following clause from handling this invalid input. + ;; + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ + -apple | -axis | -knuth | -cray) + os= + basic_machine=$1 + ;; + -sim | -cisco | -oki | -wec | -winbond) + os= + basic_machine=$1 + ;; + -scout) + ;; + -wrs) + os=-vxworks + basic_machine=$1 + ;; + -chorusos*) + os=-chorusos + basic_machine=$1 + ;; + -chorusrdb) + os=-chorusrdb + basic_machine=$1 + ;; + -hiux*) + os=-hiuxwe2 + ;; + -sco6) + os=-sco5v6 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco5) + os=-sco3.2v5 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco4) + os=-sco3.2v4 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2.[4-9]*) + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2v[4-9]*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco5v6*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco*) + os=-sco3.2v2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -udk*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -isc) + os=-isc2.2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -clix*) + basic_machine=clipper-intergraph + ;; + -isc*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -lynx*) + os=-lynxos + ;; + -ptx*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` + ;; + -windowsnt*) + os=`echo $os | sed -e 's/windowsnt/winnt/'` + ;; + -psos*) + os=-psos + ;; + -mint | -mint[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; +esac + +# Decode aliases for certain CPU-COMPANY combinations. +case $basic_machine in + # Recognize the basic CPU types without company name. + # Some are omitted here because they have special meanings below. + 1750a | 580 \ + | a29k \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ + | bfin \ + | c4x | clipper \ + | d10v | d30v | dlx | dsp16xx \ + | fr30 | frv \ + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | i370 | i860 | i960 | ia64 \ + | ip2k | iq2000 \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ + | maxq | mb | microblaze | mcore \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64el \ + | mips64vr | mips64vrel \ + | mips64orion | mips64orionel \ + | mips64vr4100 | mips64vr4100el \ + | mips64vr4300 | mips64vr4300el \ + | mips64vr5000 | mips64vr5000el \ + | mips64vr5900 | mips64vr5900el \ + | mipsisa32 | mipsisa32el \ + | mipsisa32r2 | mipsisa32r2el \ + | mipsisa64 | mipsisa64el \ + | mipsisa64r2 | mipsisa64r2el \ + | mipsisa64sb1 | mipsisa64sb1el \ + | mipsisa64sr71k | mipsisa64sr71kel \ + | mipstx39 | mipstx39el \ + | mn10200 | mn10300 \ + | mt \ + | msp430 \ + | nios | nios2 \ + | ns16k | ns32k \ + | or32 \ + | pdp10 | pdp11 | pj | pjl \ + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ + | pyramid \ + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ + | sh64 | sh64le \ + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ + | spu | strongarm \ + | tahoe | thumb | tic4x | tic80 | tron \ + | v850 | v850e \ + | we32k \ + | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ + | z8k) + basic_machine=$basic_machine-unknown + ;; + m6811 | m68hc11 | m6812 | m68hc12) + # Motorola 68HC11/12. + basic_machine=$basic_machine-unknown + os=-none + ;; + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) + ;; + ms1) + basic_machine=mt-unknown + ;; + + # We use `pc' rather than `unknown' + # because (1) that's what they normally are, and + # (2) the word "unknown" tends to confuse beginning users. + i*86 | x86_64) + basic_machine=$basic_machine-pc + ;; + # Object if more than one company name word. + *-*-*) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; + # Recognize the basic CPU types with company name. + 580-* \ + | a29k-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ + | avr-* | avr32-* \ + | bfin-* | bs2000-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ + | clipper-* | craynv-* | cydra-* \ + | d10v-* | d30v-* | dlx-* \ + | elxsi-* \ + | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ + | h8300-* | h8500-* \ + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ + | i*86-* | i860-* | i960-* | ia64-* \ + | ip2k-* | iq2000-* \ + | m32c-* | m32r-* | m32rle-* \ + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ + | m88110-* | m88k-* | maxq-* | mcore-* \ + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ + | mips16-* \ + | mips64-* | mips64el-* \ + | mips64vr-* | mips64vrel-* \ + | mips64orion-* | mips64orionel-* \ + | mips64vr4100-* | mips64vr4100el-* \ + | mips64vr4300-* | mips64vr4300el-* \ + | mips64vr5000-* | mips64vr5000el-* \ + | mips64vr5900-* | mips64vr5900el-* \ + | mipsisa32-* | mipsisa32el-* \ + | mipsisa32r2-* | mipsisa32r2el-* \ + | mipsisa64-* | mipsisa64el-* \ + | mipsisa64r2-* | mipsisa64r2el-* \ + | mipsisa64sb1-* | mipsisa64sb1el-* \ + | mipsisa64sr71k-* | mipsisa64sr71kel-* \ + | mipstx39-* | mipstx39el-* \ + | mmix-* \ + | mt-* \ + | msp430-* \ + | nios-* | nios2-* \ + | none-* | np1-* | ns16k-* | ns32k-* \ + | orion-* \ + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ + | pyramid-* \ + | romp-* | rs6000-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ + | sparclite-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ + | tahoe-* | thumb-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tron-* \ + | v850-* | v850e-* | vax-* \ + | we32k-* \ + | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ + | xstormy16-* | xtensa-* \ + | ymp-* \ + | z8k-*) + ;; + # Recognize the various machine names and aliases which stand + # for a CPU type and a company and sometimes even an OS. + 386bsd) + basic_machine=i386-unknown + os=-bsd + ;; + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) + basic_machine=m68000-att + ;; + 3b*) + basic_machine=we32k-att + ;; + a29khif) + basic_machine=a29k-amd + os=-udi + ;; + abacus) + basic_machine=abacus-unknown + ;; + adobe68k) + basic_machine=m68010-adobe + os=-scout + ;; + alliant | fx80) + basic_machine=fx80-alliant + ;; + altos | altos3068) + basic_machine=m68k-altos + ;; + am29k) + basic_machine=a29k-none + os=-bsd + ;; + amd64) + basic_machine=x86_64-pc + ;; + amd64-*) + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + amdahl) + basic_machine=580-amdahl + os=-sysv + ;; + amiga | amiga-*) + basic_machine=m68k-unknown + ;; + amigaos | amigados) + basic_machine=m68k-unknown + os=-amigaos + ;; + amigaunix | amix) + basic_machine=m68k-unknown + os=-sysv4 + ;; + apollo68) + basic_machine=m68k-apollo + os=-sysv + ;; + apollo68bsd) + basic_machine=m68k-apollo + os=-bsd + ;; + aux) + basic_machine=m68k-apple + os=-aux + ;; + balance) + basic_machine=ns32k-sequent + os=-dynix + ;; + c90) + basic_machine=c90-cray + os=-unicos + ;; + convex-c1) + basic_machine=c1-convex + os=-bsd + ;; + convex-c2) + basic_machine=c2-convex + os=-bsd + ;; + convex-c32) + basic_machine=c32-convex + os=-bsd + ;; + convex-c34) + basic_machine=c34-convex + os=-bsd + ;; + convex-c38) + basic_machine=c38-convex + os=-bsd + ;; + cray | j90) + basic_machine=j90-cray + os=-unicos + ;; + craynv) + basic_machine=craynv-cray + os=-unicosmp + ;; + cr16c) + basic_machine=cr16c-unknown + os=-elf + ;; + crds | unos) + basic_machine=m68k-crds + ;; + crisv32 | crisv32-* | etraxfs*) + basic_machine=crisv32-axis + ;; + cris | cris-* | etrax*) + basic_machine=cris-axis + ;; + crx) + basic_machine=crx-unknown + os=-elf + ;; + da30 | da30-*) + basic_machine=m68k-da30 + ;; + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) + basic_machine=mips-dec + ;; + decsystem10* | dec10*) + basic_machine=pdp10-dec + os=-tops10 + ;; + decsystem20* | dec20*) + basic_machine=pdp10-dec + os=-tops20 + ;; + delta | 3300 | motorola-3300 | motorola-delta \ + | 3300-motorola | delta-motorola) + basic_machine=m68k-motorola + ;; + delta88) + basic_machine=m88k-motorola + os=-sysv3 + ;; + djgpp) + basic_machine=i586-pc + os=-msdosdjgpp + ;; + dpx20 | dpx20-*) + basic_machine=rs6000-bull + os=-bosx + ;; + dpx2* | dpx2*-bull) + basic_machine=m68k-bull + os=-sysv3 + ;; + ebmon29k) + basic_machine=a29k-amd + os=-ebmon + ;; + elxsi) + basic_machine=elxsi-elxsi + os=-bsd + ;; + encore | umax | mmax) + basic_machine=ns32k-encore + ;; + es1800 | OSE68k | ose68k | ose | OSE) + basic_machine=m68k-ericsson + os=-ose + ;; + fx2800) + basic_machine=i860-alliant + ;; + genix) + basic_machine=ns32k-ns + ;; + gmicro) + basic_machine=tron-gmicro + os=-sysv + ;; + go32) + basic_machine=i386-pc + os=-go32 + ;; + h3050r* | hiux*) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + h8300hms) + basic_machine=h8300-hitachi + os=-hms + ;; + h8300xray) + basic_machine=h8300-hitachi + os=-xray + ;; + h8500hms) + basic_machine=h8500-hitachi + os=-hms + ;; + harris) + basic_machine=m88k-harris + os=-sysv3 + ;; + hp300-*) + basic_machine=m68k-hp + ;; + hp300bsd) + basic_machine=m68k-hp + os=-bsd + ;; + hp300hpux) + basic_machine=m68k-hp + os=-hpux + ;; + hp3k9[0-9][0-9] | hp9[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k2[0-9][0-9] | hp9k31[0-9]) + basic_machine=m68000-hp + ;; + hp9k3[2-9][0-9]) + basic_machine=m68k-hp + ;; + hp9k6[0-9][0-9] | hp6[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k7[0-79][0-9] | hp7[0-79][0-9]) + basic_machine=hppa1.1-hp + ;; + hp9k78[0-9] | hp78[0-9]) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][13679] | hp8[0-9][13679]) + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][0-9] | hp8[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hppa-next) + os=-nextstep3 + ;; + hppaosf) + basic_machine=hppa1.1-hp + os=-osf + ;; + hppro) + basic_machine=hppa1.1-hp + os=-proelf + ;; + i370-ibm* | ibm*) + basic_machine=i370-ibm + ;; +# I'm not sure what "Sysv32" means. Should this be sysv3.2? + i*86v32) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv32 + ;; + i*86v4*) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv4 + ;; + i*86v) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv + ;; + i*86sol2) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-solaris2 + ;; + i386mach) + basic_machine=i386-mach + os=-mach + ;; + i386-vsta | vsta) + basic_machine=i386-unknown + os=-vsta + ;; + iris | iris4d) + basic_machine=mips-sgi + case $os in + -irix*) + ;; + *) + os=-irix4 + ;; + esac + ;; + isi68 | isi) + basic_machine=m68k-isi + os=-sysv + ;; + m88k-omron*) + basic_machine=m88k-omron + ;; + magnum | m3230) + basic_machine=mips-mips + os=-sysv + ;; + merlin) + basic_machine=ns32k-utek + os=-sysv + ;; + mingw32) + basic_machine=i386-pc + os=-mingw32 + ;; + miniframe) + basic_machine=m68000-convergent + ;; + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; + mips3*-*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` + ;; + mips3*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown + ;; + monitor) + basic_machine=m68k-rom68k + os=-coff + ;; + morphos) + basic_machine=powerpc-unknown + os=-morphos + ;; + msdos) + basic_machine=i386-pc + os=-msdos + ;; + ms1-*) + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` + ;; + mvs) + basic_machine=i370-ibm + os=-mvs + ;; + ncr3000) + basic_machine=i486-ncr + os=-sysv4 + ;; + netbsd386) + basic_machine=i386-unknown + os=-netbsd + ;; + netwinder) + basic_machine=armv4l-rebel + os=-linux + ;; + news | news700 | news800 | news900) + basic_machine=m68k-sony + os=-newsos + ;; + news1000) + basic_machine=m68030-sony + os=-newsos + ;; + news-3600 | risc-news) + basic_machine=mips-sony + os=-newsos + ;; + necv70) + basic_machine=v70-nec + os=-sysv + ;; + next | m*-next ) + basic_machine=m68k-next + case $os in + -nextstep* ) + ;; + -ns2*) + os=-nextstep2 + ;; + *) + os=-nextstep3 + ;; + esac + ;; + nh3000) + basic_machine=m68k-harris + os=-cxux + ;; + nh[45]000) + basic_machine=m88k-harris + os=-cxux + ;; + nindy960) + basic_machine=i960-intel + os=-nindy + ;; + mon960) + basic_machine=i960-intel + os=-mon960 + ;; + nonstopux) + basic_machine=mips-compaq + os=-nonstopux + ;; + np1) + basic_machine=np1-gould + ;; + nsr-tandem) + basic_machine=nsr-tandem + ;; + op50n-* | op60c-*) + basic_machine=hppa1.1-oki + os=-proelf + ;; + openrisc | openrisc-*) + basic_machine=or32-unknown + ;; + os400) + basic_machine=powerpc-ibm + os=-os400 + ;; + OSE68000 | ose68000) + basic_machine=m68000-ericsson + os=-ose + ;; + os68k) + basic_machine=m68k-none + os=-os68k + ;; + pa-hitachi) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + paragon) + basic_machine=i860-intel + os=-osf + ;; + pbd) + basic_machine=sparc-tti + ;; + pbb) + basic_machine=m68k-tti + ;; + pc532 | pc532-*) + basic_machine=ns32k-pc532 + ;; + pc98) + basic_machine=i386-pc + ;; + pc98-*) + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium | p5 | k5 | k6 | nexgen | viac3) + basic_machine=i586-pc + ;; + pentiumpro | p6 | 6x86 | athlon | athlon_*) + basic_machine=i686-pc + ;; + pentiumii | pentium2 | pentiumiii | pentium3) + basic_machine=i686-pc + ;; + pentium4) + basic_machine=i786-pc + ;; + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) + basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumpro-* | p6-* | 6x86-* | athlon-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium4-*) + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pn) + basic_machine=pn-gould + ;; + power) basic_machine=power-ibm + ;; + ppc) basic_machine=powerpc-unknown + ;; + ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppcle | powerpclittle | ppc-le | powerpc-little) + basic_machine=powerpcle-unknown + ;; + ppcle-* | powerpclittle-*) + basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64) basic_machine=powerpc64-unknown + ;; + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64le | powerpc64little | ppc64-le | powerpc64-little) + basic_machine=powerpc64le-unknown + ;; + ppc64le-* | powerpc64little-*) + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ps2) + basic_machine=i386-ibm + ;; + pw32) + basic_machine=i586-unknown + os=-pw32 + ;; + rdos) + basic_machine=i386-pc + os=-rdos + ;; + rom68k) + basic_machine=m68k-rom68k + os=-coff + ;; + rm[46]00) + basic_machine=mips-siemens + ;; + rtpc | rtpc-*) + basic_machine=romp-ibm + ;; + s390 | s390-*) + basic_machine=s390-ibm + ;; + s390x | s390x-*) + basic_machine=s390x-ibm + ;; + sa29200) + basic_machine=a29k-amd + os=-udi + ;; + sb1) + basic_machine=mipsisa64sb1-unknown + ;; + sb1el) + basic_machine=mipsisa64sb1el-unknown + ;; + sei) + basic_machine=mips-sei + os=-seiux + ;; + sequent) + basic_machine=i386-sequent + ;; + sh) + basic_machine=sh-hitachi + os=-hms + ;; + sh64) + basic_machine=sh64-unknown + ;; + sparclite-wrs | simso-wrs) + basic_machine=sparclite-wrs + os=-vxworks + ;; + sps7) + basic_machine=m68k-bull + os=-sysv2 + ;; + spur) + basic_machine=spur-unknown + ;; + st2000) + basic_machine=m68k-tandem + ;; + stratus) + basic_machine=i860-stratus + os=-sysv4 + ;; + sun2) + basic_machine=m68000-sun + ;; + sun2os3) + basic_machine=m68000-sun + os=-sunos3 + ;; + sun2os4) + basic_machine=m68000-sun + os=-sunos4 + ;; + sun3os3) + basic_machine=m68k-sun + os=-sunos3 + ;; + sun3os4) + basic_machine=m68k-sun + os=-sunos4 + ;; + sun4os3) + basic_machine=sparc-sun + os=-sunos3 + ;; + sun4os4) + basic_machine=sparc-sun + os=-sunos4 + ;; + sun4sol2) + basic_machine=sparc-sun + os=-solaris2 + ;; + sun3 | sun3-*) + basic_machine=m68k-sun + ;; + sun4) + basic_machine=sparc-sun + ;; + sun386 | sun386i | roadrunner) + basic_machine=i386-sun + ;; + sv1) + basic_machine=sv1-cray + os=-unicos + ;; + symmetry) + basic_machine=i386-sequent + os=-dynix + ;; + t3e) + basic_machine=alphaev5-cray + os=-unicos + ;; + t90) + basic_machine=t90-cray + os=-unicos + ;; + tic54x | c54x*) + basic_machine=tic54x-unknown + os=-coff + ;; + tic55x | c55x*) + basic_machine=tic55x-unknown + os=-coff + ;; + tic6x | c6x*) + basic_machine=tic6x-unknown + os=-coff + ;; + tx39) + basic_machine=mipstx39-unknown + ;; + tx39el) + basic_machine=mipstx39el-unknown + ;; + toad1) + basic_machine=pdp10-xkl + os=-tops20 + ;; + tower | tower-32) + basic_machine=m68k-ncr + ;; + tpf) + basic_machine=s390x-ibm + os=-tpf + ;; + udi29k) + basic_machine=a29k-amd + os=-udi + ;; + ultra3) + basic_machine=a29k-nyu + os=-sym1 + ;; + v810 | necv810) + basic_machine=v810-nec + os=-none + ;; + vaxv) + basic_machine=vax-dec + os=-sysv + ;; + vms) + basic_machine=vax-dec + os=-vms + ;; + vpp*|vx|vx-*) + basic_machine=f301-fujitsu + ;; + vxworks960) + basic_machine=i960-wrs + os=-vxworks + ;; + vxworks68) + basic_machine=m68k-wrs + os=-vxworks + ;; + vxworks29k) + basic_machine=a29k-wrs + os=-vxworks + ;; + w65*) + basic_machine=w65-wdc + os=-none + ;; + w89k-*) + basic_machine=hppa1.1-winbond + os=-proelf + ;; + xbox) + basic_machine=i686-pc + os=-mingw32 + ;; + xps | xps100) + basic_machine=xps100-honeywell + ;; + ymp) + basic_machine=ymp-cray + os=-unicos + ;; + z8k-*-coff) + basic_machine=z8k-unknown + os=-sim + ;; + none) + basic_machine=none-none + os=-none + ;; + +# Here we handle the default manufacturer of certain CPU types. It is in +# some cases the only manufacturer, in others, it is the most popular. + w89k) + basic_machine=hppa1.1-winbond + ;; + op50n) + basic_machine=hppa1.1-oki + ;; + op60c) + basic_machine=hppa1.1-oki + ;; + romp) + basic_machine=romp-ibm + ;; + mmix) + basic_machine=mmix-knuth + ;; + rs6000) + basic_machine=rs6000-ibm + ;; + vax) + basic_machine=vax-dec + ;; + pdp10) + # there are many clones, so DEC is not a safe bet + basic_machine=pdp10-unknown + ;; + pdp11) + basic_machine=pdp11-dec + ;; + we32k) + basic_machine=we32k-att + ;; + sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) + basic_machine=sh-unknown + ;; + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) + basic_machine=sparc-sun + ;; + cydra) + basic_machine=cydra-cydrome + ;; + orion) + basic_machine=orion-highlevel + ;; + orion105) + basic_machine=clipper-highlevel + ;; + mac | mpw | mac-mpw) + basic_machine=m68k-apple + ;; + pmac | pmac-mpw) + basic_machine=powerpc-apple + ;; + *-unknown) + # Make sure to match an already-canonicalized machine name. + ;; + *) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; +esac + +# Here we canonicalize certain aliases for manufacturers. +case $basic_machine in + *-digital*) + basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` + ;; + *-commodore*) + basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` + ;; + *) + ;; +esac + +# Decode manufacturer-specific aliases for certain operating systems. + +if [ x"$os" != x"" ] +then +case $os in + # First match some system type aliases + # that might get confused with valid system types. + # -solaris* is a basic system type, with this one exception. + -solaris1 | -solaris1.*) + os=`echo $os | sed -e 's|solaris1|sunos4|'` + ;; + -solaris) + os=-solaris2 + ;; + -svr4*) + os=-sysv4 + ;; + -unixware*) + os=-sysv4.2uw + ;; + -gnu/linux*) + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` + ;; + # First accept the basic system types. + # The portable systems comes first. + # Each alternative MUST END IN A *, to match a version number. + # -sysv* is not here because it comes later, after sysvr4. + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ + | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ + | -aos* \ + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ + | -openbsd* | -solidbsd* \ + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ + | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* \ + | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ + | -skyos* | -haiku* | -rdos* | -toppers*) + # Remember, each alternative MUST END IN *, to match a version number. + ;; + -qnx*) + case $basic_machine in + x86-* | i*86-*) + ;; + *) + os=-nto$os + ;; + esac + ;; + -nto-qnx*) + ;; + -nto*) + os=`echo $os | sed -e 's|nto|nto-qnx|'` + ;; + -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) + ;; + -mac*) + os=`echo $os | sed -e 's|mac|macos|'` + ;; + -linux-dietlibc) + os=-linux-dietlibc + ;; + -linux*) + os=`echo $os | sed -e 's|linux|linux-gnu|'` + ;; + -sunos5*) + os=`echo $os | sed -e 's|sunos5|solaris2|'` + ;; + -sunos6*) + os=`echo $os | sed -e 's|sunos6|solaris3|'` + ;; + -opened*) + os=-openedition + ;; + -os400*) + os=-os400 + ;; + -wince*) + os=-wince + ;; + -osfrose*) + os=-osfrose + ;; + -osf*) + os=-osf + ;; + -utek*) + os=-bsd + ;; + -dynix*) + os=-bsd + ;; + -acis*) + os=-aos + ;; + -atheos*) + os=-atheos + ;; + -syllable*) + os=-syllable + ;; + -386bsd) + os=-bsd + ;; + -ctix* | -uts*) + os=-sysv + ;; + -nova*) + os=-rtmk-nova + ;; + -ns2 ) + os=-nextstep2 + ;; + -nsk*) + os=-nsk + ;; + # Preserve the version number of sinix5. + -sinix5.*) + os=`echo $os | sed -e 's|sinix|sysv|'` + ;; + -sinix*) + os=-sysv4 + ;; + -tpf*) + os=-tpf + ;; + -triton*) + os=-sysv3 + ;; + -oss*) + os=-sysv3 + ;; + -svr4) + os=-sysv4 + ;; + -svr3) + os=-sysv3 + ;; + -sysvr4) + os=-sysv4 + ;; + # This must come after -sysvr4. + -sysv*) + ;; + -ose*) + os=-ose + ;; + -es1800*) + os=-ose + ;; + -xenix) + os=-xenix + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + os=-mint + ;; + -aros*) + os=-aros + ;; + -kaos*) + os=-kaos + ;; + -zvmoe) + os=-zvmoe + ;; + -none) + ;; + *) + # Get rid of the `-' at the beginning of $os. + os=`echo $os | sed 's/[^-]*-//'` + echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 + exit 1 + ;; +esac +else + +# Here we handle the default operating systems that come with various machines. +# The value should be what the vendor currently ships out the door with their +# machine or put another way, the most popular os provided with the machine. + +# Note that if you're going to try to match "-MANUFACTURER" here (say, +# "-sun"), then you have to tell the case statement up towards the top +# that MANUFACTURER isn't an operating system. Otherwise, code above +# will signal an error saying that MANUFACTURER isn't an operating +# system, and we'll never get to this point. + +case $basic_machine in + spu-*) + os=-elf + ;; + *-acorn) + os=-riscix1.2 + ;; + arm*-rebel) + os=-linux + ;; + arm*-semi) + os=-aout + ;; + c4x-* | tic4x-*) + os=-coff + ;; + # This must come before the *-dec entry. + pdp10-*) + os=-tops20 + ;; + pdp11-*) + os=-none + ;; + *-dec | vax-*) + os=-ultrix4.2 + ;; + m68*-apollo) + os=-domain + ;; + i386-sun) + os=-sunos4.0.2 + ;; + m68000-sun) + os=-sunos3 + # This also exists in the configure program, but was not the + # default. + # os=-sunos4 + ;; + m68*-cisco) + os=-aout + ;; + mips*-cisco) + os=-elf + ;; + mips*-*) + os=-elf + ;; + or32-*) + os=-coff + ;; + *-tti) # must be before sparc entry or we get the wrong os. + os=-sysv3 + ;; + sparc-* | *-sun) + os=-sunos4.1.1 + ;; + *-be) + os=-beos + ;; + *-haiku) + os=-haiku + ;; + *-ibm) + os=-aix + ;; + *-knuth) + os=-mmixware + ;; + *-wec) + os=-proelf + ;; + *-winbond) + os=-proelf + ;; + *-oki) + os=-proelf + ;; + *-hp) + os=-hpux + ;; + *-hitachi) + os=-hiux + ;; + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) + os=-sysv + ;; + *-cbm) + os=-amigaos + ;; + *-dg) + os=-dgux + ;; + *-dolphin) + os=-sysv3 + ;; + m68k-ccur) + os=-rtu + ;; + m88k-omron*) + os=-luna + ;; + *-next ) + os=-nextstep + ;; + *-sequent) + os=-ptx + ;; + *-crds) + os=-unos + ;; + *-ns) + os=-genix + ;; + i370-*) + os=-mvs + ;; + *-next) + os=-nextstep3 + ;; + *-gould) + os=-sysv + ;; + *-highlevel) + os=-bsd + ;; + *-encore) + os=-bsd + ;; + *-sgi) + os=-irix + ;; + *-siemens) + os=-sysv4 + ;; + *-masscomp) + os=-rtu + ;; + f30[01]-fujitsu | f700-fujitsu) + os=-uxpv + ;; + *-rom68k) + os=-coff + ;; + *-*bug) + os=-coff + ;; + *-apple) + os=-macos + ;; + *-atari*) + os=-mint + ;; + *) + os=-none + ;; +esac +fi + +# Here we handle the case where we know the os, and the CPU type, but not the +# manufacturer. We pick the logical manufacturer. +vendor=unknown +case $basic_machine in + *-unknown) + case $os in + -riscix*) + vendor=acorn + ;; + -sunos*) + vendor=sun + ;; + -aix*) + vendor=ibm + ;; + -beos*) + vendor=be + ;; + -hpux*) + vendor=hp + ;; + -mpeix*) + vendor=hp + ;; + -hiux*) + vendor=hitachi + ;; + -unos*) + vendor=crds + ;; + -dgux*) + vendor=dg + ;; + -luna*) + vendor=omron + ;; + -genix*) + vendor=ns + ;; + -mvs* | -opened*) + vendor=ibm + ;; + -os400*) + vendor=ibm + ;; + -ptx*) + vendor=sequent + ;; + -tpf*) + vendor=ibm + ;; + -vxsim* | -vxworks* | -windiss*) + vendor=wrs + ;; + -aux*) + vendor=apple + ;; + -hms*) + vendor=hitachi + ;; + -mpw* | -macos*) + vendor=apple + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + vendor=atari + ;; + -vos*) + vendor=stratus + ;; + esac + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` + ;; +esac + +echo $basic_machine$os +exit + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/configure b/tizen/distrib/remote/common/celt-0.5.1.3/configure new file mode 100755 index 0000000..b116ee5 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/configure @@ -0,0 +1,24517 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.61. +# +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. +## --------------------- ## +## M4sh Initialization. ## +## --------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in + *posix*) set -o posix ;; +esac + +fi + + + + +# PATH needs CR +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Support unset when possible. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +as_nl=' +' +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +case $0 in + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + { (exit 1); exit 1; } +fi + +# Work around bugs in pre-3.0 UWIN ksh. +for as_var in ENV MAIL MAILPATH +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +for as_var in \ + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ + LC_TELEPHONE LC_TIME +do + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then + eval $as_var=C; export $as_var + else + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var + fi +done + +# Required to use basename. +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + + +# Name of the executable. +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# CDPATH. +$as_unset CDPATH + + +if test "x$CONFIG_SHELL" = x; then + if (eval ":") 2>/dev/null; then + as_have_required=yes +else + as_have_required=no +fi + + if test $as_have_required = yes && (eval ": +(as_func_return () { + (exit \$1) +} +as_func_success () { + as_func_return 0 +} +as_func_failure () { + as_func_return 1 +} +as_func_ret_success () { + return 0 +} +as_func_ret_failure () { + return 1 +} + +exitcode=0 +if as_func_success; then + : +else + exitcode=1 + echo as_func_success failed. +fi + +if as_func_failure; then + exitcode=1 + echo as_func_failure succeeded. +fi + +if as_func_ret_success; then + : +else + exitcode=1 + echo as_func_ret_success failed. +fi + +if as_func_ret_failure; then + exitcode=1 + echo as_func_ret_failure succeeded. +fi + +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then + : +else + exitcode=1 + echo positional parameters were not saved. +fi + +test \$exitcode = 0) || { (exit 1); exit 1; } + +( + as_lineno_1=\$LINENO + as_lineno_2=\$LINENO + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } +") 2> /dev/null; then + : +else + as_candidate_shells= + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + case $as_dir in + /*) + for as_base in sh bash ksh sh5; do + as_candidate_shells="$as_candidate_shells $as_dir/$as_base" + done;; + esac +done +IFS=$as_save_IFS + + + for as_shell in $as_candidate_shells $SHELL; do + # Try only shells that exist, to save several forks. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { ("$as_shell") 2> /dev/null <<\_ASEOF +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in + *posix*) set -o posix ;; +esac + +fi + + +: +_ASEOF +}; then + CONFIG_SHELL=$as_shell + as_have_required=yes + if { "$as_shell" 2> /dev/null <<\_ASEOF +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in + *posix*) set -o posix ;; +esac + +fi + + +: +(as_func_return () { + (exit $1) +} +as_func_success () { + as_func_return 0 +} +as_func_failure () { + as_func_return 1 +} +as_func_ret_success () { + return 0 +} +as_func_ret_failure () { + return 1 +} + +exitcode=0 +if as_func_success; then + : +else + exitcode=1 + echo as_func_success failed. +fi + +if as_func_failure; then + exitcode=1 + echo as_func_failure succeeded. +fi + +if as_func_ret_success; then + : +else + exitcode=1 + echo as_func_ret_success failed. +fi + +if as_func_ret_failure; then + exitcode=1 + echo as_func_ret_failure succeeded. +fi + +if ( set x; as_func_ret_success y && test x = "$1" ); then + : +else + exitcode=1 + echo positional parameters were not saved. +fi + +test $exitcode = 0) || { (exit 1); exit 1; } + +( + as_lineno_1=$LINENO + as_lineno_2=$LINENO + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } + +_ASEOF +}; then + break +fi + +fi + + done + + if test "x$CONFIG_SHELL" != x; then + for as_var in BASH_ENV ENV + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var + done + export CONFIG_SHELL + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} +fi + + + if test $as_have_required = no; then + echo This script requires a shell more modern than all the + echo shells that I found on your system. Please install a + echo modern shell, or manually run the script under such a + echo shell if you do have one. + { (exit 1); exit 1; } +fi + + +fi + +fi + + + +(eval "as_func_return () { + (exit \$1) +} +as_func_success () { + as_func_return 0 +} +as_func_failure () { + as_func_return 1 +} +as_func_ret_success () { + return 0 +} +as_func_ret_failure () { + return 1 +} + +exitcode=0 +if as_func_success; then + : +else + exitcode=1 + echo as_func_success failed. +fi + +if as_func_failure; then + exitcode=1 + echo as_func_failure succeeded. +fi + +if as_func_ret_success; then + : +else + exitcode=1 + echo as_func_ret_success failed. +fi + +if as_func_ret_failure; then + exitcode=1 + echo as_func_ret_failure succeeded. +fi + +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then + : +else + exitcode=1 + echo positional parameters were not saved. +fi + +test \$exitcode = 0") || { + echo No shell found that supports shell functions. + echo Please tell autoconf@gnu.org about your system, + echo including any error possibly output before this + echo message +} + + + + as_lineno_1=$LINENO + as_lineno_2=$LINENO + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { + + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO + # uniformly replaced by the line number. The first 'sed' inserts a + # line-number line after each line using $LINENO; the second 'sed' + # does the real work. The second script uses 'N' to pair each + # line-number line with the line containing $LINENO, and appends + # trailing '-' during substitution so that $LINENO is not a special + # case at line end. + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the + # scripts with optimization help from Paolo Bonzini. Blame Lee + # E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 + { (exit 1); exit 1; }; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in +-n*) + case `echo 'x\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + *) ECHO_C='\c';; + esac;; +*) + ECHO_N='-n';; +esac + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir +fi +echo >conf$$.file +if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' +elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p=: +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + + + +# Check that we are running under the correct shell. +SHELL=${CONFIG_SHELL-/bin/sh} + +case X$ECHO in +X*--fallback-echo) + # Remove one level of quotation (which was required for Make). + ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` + ;; +esac + +echo=${ECHO-echo} +if test "X$1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X$1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then + # Yippee, $echo works! + : +else + # Restart under the correct shell. + exec $SHELL "$0" --no-reexec ${1+"$@"} +fi + +if test "X$1" = X--fallback-echo; then + # used as fallback echo + shift + cat <<EOF +$* +EOF + exit 0 +fi + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +if test -z "$ECHO"; then +if test "X${echo_test_string+set}" != Xset; then +# find a string as large as possible, as long as the shell can cope with it + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... + if (echo_test_string=`eval $cmd`) 2>/dev/null && + echo_test_string=`eval $cmd` && + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null + then + break + fi + done +fi + +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + : +else + # The Solaris, AIX, and Digital Unix default echo programs unquote + # backslashes. This makes it impossible to quote backslashes using + # echo "$something" | sed 's/\\/\\\\/g' + # + # So, first we look for a working echo in the user's PATH. + + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for dir in $PATH /usr/ucb; do + IFS="$lt_save_ifs" + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + echo="$dir/echo" + break + fi + done + IFS="$lt_save_ifs" + + if test "X$echo" = Xecho; then + # We didn't find a better echo, so look for alternatives. + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # This shell has a builtin print -r that does the trick. + echo='print -r' + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && + test "X$CONFIG_SHELL" != X/bin/ksh; then + # If we have ksh, try running configure again with it. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} + export ORIGINAL_CONFIG_SHELL + CONFIG_SHELL=/bin/ksh + export CONFIG_SHELL + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} + else + # Try using printf. + echo='printf %s\n' + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # Cool, printf works + : + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL + export CONFIG_SHELL + SHELL="$CONFIG_SHELL" + export SHELL + echo="$CONFIG_SHELL $0 --fallback-echo" + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + echo="$CONFIG_SHELL $0 --fallback-echo" + else + # maybe with a smaller string... + prev=: + + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null + then + break + fi + prev="$cmd" + done + + if test "$prev" != 'sed 50q "$0"'; then + echo_test_string=`eval $prev` + export echo_test_string + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} + else + # Oops. We lost completely, so just stick with echo. + echo=echo + fi + fi + fi + fi +fi +fi + +# Copy echo and quote the copy suitably for passing to libtool from +# the Makefile, instead of quoting the original, which is used later. +ECHO=$echo +if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then + ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" +fi + + + + +tagnames=${tagnames+${tagnames},}CXX + +tagnames=${tagnames+${tagnames},}F77 + +exec 7<&0 </dev/null 6>&1 + +# Name of the host. +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_clean_files= +ac_config_libobj_dir=. +LIBOBJS= +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= +SHELL=${CONFIG_SHELL-/bin/sh} + +# Identity of this package. +PACKAGE_NAME= +PACKAGE_TARNAME= +PACKAGE_VERSION= +PACKAGE_STRING= +PACKAGE_BUGREPORT= + +ac_unique_file="libcelt/arch.h" +# Factoring default headers for most tests. +ac_includes_default="\ +#include <stdio.h> +#ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif +#ifdef HAVE_SYS_STAT_H +# include <sys/stat.h> +#endif +#ifdef STDC_HEADERS +# include <stdlib.h> +# include <stddef.h> +#else +# ifdef HAVE_STDLIB_H +# include <stdlib.h> +# endif +#endif +#ifdef HAVE_STRING_H +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H +# include <memory.h> +# endif +# include <string.h> +#endif +#ifdef HAVE_STRINGS_H +# include <strings.h> +#endif +#ifdef HAVE_INTTYPES_H +# include <inttypes.h> +#endif +#ifdef HAVE_STDINT_H +# include <stdint.h> +#endif +#ifdef HAVE_UNISTD_H +# include <unistd.h> +#endif" + +ac_subst_vars='SHELL +PATH_SEPARATOR +PACKAGE_NAME +PACKAGE_TARNAME +PACKAGE_VERSION +PACKAGE_STRING +PACKAGE_BUGREPORT +exec_prefix +prefix +program_transform_name +bindir +sbindir +libexecdir +datarootdir +datadir +sysconfdir +sharedstatedir +localstatedir +includedir +oldincludedir +docdir +infodir +htmldir +dvidir +pdfdir +psdir +libdir +localedir +mandir +DEFS +ECHO_C +ECHO_N +ECHO_T +LIBS +build_alias +host_alias +target_alias +CELT_LT_CURRENT +CELT_LT_REVISION +CELT_LT_AGE +CELT_VERSION +PACKAGE_APPEND +INSTALL_PROGRAM +INSTALL_SCRIPT +INSTALL_DATA +am__isrc +CYGPATH_W +PACKAGE +VERSION +ACLOCAL +AUTOCONF +AUTOMAKE +AUTOHEADER +MAKEINFO +install_sh +STRIP +INSTALL_STRIP_PROGRAM +mkdir_p +AWK +SET_MAKE +am__leading_dot +AMTAR +am__tar +am__untar +MAINTAINER_MODE_TRUE +MAINTAINER_MODE_FALSE +MAINT +build +build_cpu +build_vendor +build_os +host +host_cpu +host_vendor +host_os +CC +CFLAGS +LDFLAGS +CPPFLAGS +ac_ct_CC +EXEEXT +OBJEXT +DEPDIR +am__include +am__quote +AMDEP_TRUE +AMDEP_FALSE +AMDEPBACKSLASH +CCDEPMODE +am__fastdepCC_TRUE +am__fastdepCC_FALSE +SED +GREP +EGREP +LN_S +ECHO +AR +RANLIB +DSYMUTIL +NMEDIT +CPP +CXX +CXXFLAGS +ac_ct_CXX +CXXDEPMODE +am__fastdepCXX_TRUE +am__fastdepCXX_FALSE +CXXCPP +F77 +FFLAGS +ac_ct_F77 +LIBTOOL +OGG_CFLAGS +OGG_LIBS +tools +LIBOBJS +SIZE16 +SIZE32 +LTLIBOBJS' +ac_subst_files='' + ac_precious_vars='build_alias +host_alias +target_alias +CC +CFLAGS +LDFLAGS +LIBS +CPPFLAGS +CPP +CXX +CXXFLAGS +CCC +CXXCPP +F77 +FFLAGS' + + +# Initialize some variables set by options. +ac_init_help= +ac_init_version=false +# The variables have the same names as the options, with +# dashes changed to underlines. +cache_file=/dev/null +exec_prefix=NONE +no_create= +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +verbose= +x_includes=NONE +x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. +# (The list follows the same order as the GNU Coding Standards.) +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datarootdir='${prefix}/share' +datadir='${datarootdir}' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +includedir='${prefix}/include' +oldincludedir='/usr/include' +docdir='${datarootdir}/doc/${PACKAGE}' +infodir='${datarootdir}/info' +htmldir='${docdir}' +dvidir='${docdir}' +pdfdir='${docdir}' +psdir='${docdir}' +libdir='${exec_prefix}/lib' +localedir='${datarootdir}/locale' +mandir='${datarootdir}/man' + +ac_prev= +ac_dashdash= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval $ac_prev=\$ac_option + ac_prev= + continue + fi + + case $ac_option in + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *) ac_optarg=yes ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case $ac_dashdash$ac_option in + --) + ac_dashdash=yes ;; + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir=$ac_optarg ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build_alias=$ac_optarg ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=*) + datadir=$ac_optarg ;; + + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ + | --dataroo | --dataro | --datar) + ac_prev=datarootdir ;; + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) + datarootdir=$ac_optarg ;; + + -disable-* | --disable-*) + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 + { (exit 1); exit 1; }; } + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` + eval enable_$ac_feature=no ;; + + -docdir | --docdir | --docdi | --doc | --do) + ac_prev=docdir ;; + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) + docdir=$ac_optarg ;; + + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) + ac_prev=dvidir ;; + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) + dvidir=$ac_optarg ;; + + -enable-* | --enable-*) + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 + { (exit 1); exit 1; }; } + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` + eval enable_$ac_feature=\$ac_optarg ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; + + -host | --host | --hos | --ho) + ac_prev=host_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + host_alias=$ac_optarg ;; + + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) + ac_prev=htmldir ;; + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ + | --ht=*) + htmldir=$ac_optarg ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir=$ac_optarg ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir=$ac_optarg ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir=$ac_optarg ;; + + -localedir | --localedir | --localedi | --localed | --locale) + ac_prev=localedir ;; + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) + localedir=$ac_optarg ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst | --locals) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) + localstatedir=$ac_optarg ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir=$ac_optarg ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix=$ac_optarg ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix=$ac_optarg ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name=$ac_optarg ;; + + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) + ac_prev=pdfdir ;; + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) + pdfdir=$ac_optarg ;; + + -psdir | --psdir | --psdi | --psd | --ps) + ac_prev=psdir ;; + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) + psdir=$ac_optarg ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir=$ac_optarg ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir=$ac_optarg ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid package name: $ac_package" >&2 + { (exit 1); exit 1; }; } + ac_package=`echo $ac_package | sed 's/[-.]/_/g'` + eval with_$ac_package=\$ac_optarg ;; + + -without-* | --without-*) + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid package name: $ac_package" >&2 + { (exit 1); exit 1; }; } + ac_package=`echo $ac_package | sed 's/[-.]/_/g'` + eval with_$ac_package=no ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes=$ac_optarg ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + + -*) { echo "$as_me: error: unrecognized option: $ac_option +Try \`$0 --help' for more information." >&2 + { (exit 1); exit 1; }; } + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 + { (exit 1); exit 1; }; } + eval $ac_envvar=\$ac_optarg + export $ac_envvar ;; + + *) + # FIXME: should be removed in autoconf 3.0. + echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} + ;; + + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + { echo "$as_me: error: missing argument to $ac_option" >&2 + { (exit 1); exit 1; }; } +fi + +# Be sure to have absolute directory names. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ + datadir sysconfdir sharedstatedir localstatedir includedir \ + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ + libdir localedir mandir +do + eval ac_val=\$$ac_var + case $ac_val in + [\\/$]* | ?:[\\/]* ) continue;; + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; + esac + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 + { (exit 1); exit 1; }; } +done + +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used." >&2 + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +ac_pwd=`pwd` && test -n "$ac_pwd" && +ac_ls_di=`ls -di .` && +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || + { echo "$as_me: error: Working directory cannot be determined" >&2 + { (exit 1); exit 1; }; } +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || + { echo "$as_me: error: pwd does not report name of working directory" >&2 + { (exit 1); exit 1; }; } + + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then the parent directory. + ac_confdir=`$as_dirname -- "$0" || +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$0" : 'X\(//\)[^/]' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +echo X"$0" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + srcdir=$ac_confdir + if test ! -r "$srcdir/$ac_unique_file"; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r "$srcdir/$ac_unique_file"; then + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 + { (exit 1); exit 1; }; } +fi +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_abs_confdir=`( + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 + { (exit 1); exit 1; }; } + pwd)` +# When building in place, set srcdir=. +if test "$ac_abs_confdir" = "$ac_pwd"; then + srcdir=. +fi +# Remove unnecessary trailing slashes from srcdir. +# Double slashes in file names in object file debugging info +# mess up M-x gdb in Emacs. +case $srcdir in +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; +esac +for ac_var in $ac_precious_vars; do + eval ac_env_${ac_var}_set=\${${ac_var}+set} + eval ac_env_${ac_var}_value=\$${ac_var} + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} + eval ac_cv_env_${ac_var}_value=\$${ac_var} +done + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures this package to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] +_ACEOF + + cat <<\_ACEOF + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names + +System types: + --build=BUILD configure for building on BUILD [guessed] + --host=HOST cross-compile to build programs to run on HOST [BUILD] +_ACEOF +fi + +if test -n "$ac_init_help"; then + + cat <<\_ACEOF + +Optional Features: + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-maintainer-mode enable make rules and dependencies not useful + (and sometimes confusing) to the casual installer + --enable-shared[=PKGS] build shared libraries [default=yes] + --enable-static[=PKGS] build static libraries [default=yes] + --enable-fast-install[=PKGS] + optimize for fast installation [default=yes] + --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors + --disable-libtool-lock avoid locking (might break parallel builds) + --disable-oggtest Do not try to compile and run a test Ogg program + --enable-fixed-point Compile as fixed-point + --enable-fixed-point-debug Debug fixed-point implementation + --enable-static-modes + --enable-assertions + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-gnu-ld assume the C compiler uses GNU ld [default=no] + --with-pic try to use only PIC/non-PIC objects [default=use + both] + --with-tags[=TAGS] include additional configurations [automatic] + --with-ogg=PFX Prefix where libogg is installed (optional) + --with-ogg-libraries=DIR Directory where libogg library is installed (optional) + --with-ogg-includes=DIR Directory where libogg header files are installed (optional) + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a + nonstandard directory <lib dir> + LIBS libraries to pass to the linker, e.g. -l<library> + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if + you have headers in a nonstandard directory <include dir> + CPP C preprocessor + CXX C++ compiler command + CXXFLAGS C++ compiler flags + CXXCPP C++ preprocessor + F77 Fortran 77 compiler command + FFLAGS Fortran 77 compiler flags + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +_ACEOF +ac_status=$? +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d "$ac_dir" || continue + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + cd "$ac_dir" || { ac_status=$?; continue; } + # Check for guested configure. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_srcdir/configure"; then + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done +fi + +test -n "$ac_init_help" && exit $ac_status +if $ac_init_version; then + cat <<\_ACEOF +configure +generated by GNU Autoconf 2.61 + +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit +fi +cat >config.log <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by $as_me, which was +generated by GNU Autoconf 2.61. Invocation command line was + + $ $0 $@ + +_ACEOF +exec 5>>config.log +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + echo "PATH: $as_dir" +done +IFS=$as_save_IFS + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *\'*) + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; + 2) + ac_configure_args1="$ac_configure_args1 '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + ac_configure_args="$ac_configure_args '$ac_arg'" + ;; + esac + done +done +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Use '\'' to represent an apostrophe within the trap. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + cat <<\_ASBOX +## ---------------- ## +## Cache variables. ## +## ---------------- ## +_ASBOX + echo + # The following way of writing the cache mishandles newlines in values, +( + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + *) $as_unset $ac_var ;; + esac ;; + esac + done + (set) 2>&1 | + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + sed -n \ + "s/'\''/'\''\\\\'\'''\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + ;; #( + *) + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) + echo + + cat <<\_ASBOX +## ----------------- ## +## Output variables. ## +## ----------------- ## +_ASBOX + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + echo "$ac_var='\''$ac_val'\''" + done | sort + echo + + if test -n "$ac_subst_files"; then + cat <<\_ASBOX +## ------------------- ## +## File substitutions. ## +## ------------------- ## +_ASBOX + echo + for ac_var in $ac_subst_files + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + echo "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then + cat <<\_ASBOX +## ----------- ## +## confdefs.h. ## +## ----------- ## +_ASBOX + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + echo "$as_me: caught signal $ac_signal" + echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status +' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -f -r conftest* confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer explicitly selected file to automatically selected ones. +if test -n "$CONFIG_SITE"; then + set x "$CONFIG_SITE" +elif test "x$prefix" != xNONE; then + set x "$prefix/share/config.site" "$prefix/etc/config.site" +else + set x "$ac_default_prefix/share/config.site" \ + "$ac_default_prefix/etc/config.site" +fi +shift +for ac_site_file +do + if test -r "$ac_site_file"; then + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 +echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" + fi +done + +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special + # files actually), so we avoid doing that. + if test -f "$cache_file"; then + { echo "$as_me:$LINENO: loading cache $cache_file" >&5 +echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; + *) . "./$cache_file";; + esac + fi +else + { echo "$as_me:$LINENO: creating cache $cache_file" >&5 +echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in $ac_precious_vars; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val=\$ac_cv_env_${ac_var}_value + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 +echo "$as_me: former value: $ac_old_val" >&2;} + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 +echo "$as_me: current value: $ac_new_val" >&2;} + ac_cache_corrupted=: + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 +echo "$as_me: error: changes in the environment can compromise the build" >&2;} + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} + { (exit 1); exit 1; }; } +fi + + + + + + + + + + + + + + + + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + +ac_config_headers="$ac_config_headers config.h" + + +CELT_MAJOR_VERSION=0 +CELT_MINOR_VERSION=5 +CELT_MICRO_VERSION=1 +CELT_EXTRA_VERSION=3 +CELT_VERSION=$CELT_MAJOR_VERSION.$CELT_MINOR_VERSION.$CELT_MICRO_VERSION.$CELT_EXTRA_VERSION + +CELT_LT_CURRENT=0 +CELT_LT_REVISION=0 +CELT_LT_AGE=0 + + + + + +# For automake. +VERSION=$CELT_VERSION +PACKAGE=celt +PACKAGE_APPEND=$CELT_MAJOR_VERSION$CELT_MINOR_VERSION$CELT_MICRO_VERSION + + + + +am__api_version='1.10' + +ac_aux_dir= +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do + if test -f "$ac_dir/install-sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f "$ac_dir/install.sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f "$ac_dir/shtool"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi +done +if test -z "$ac_aux_dir"; then + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} + { (exit 1); exit 1; }; } +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } +if test -z "$INSTALL"; then +if test "${ac_cv_path_install+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in + ./ | .// | /cC/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + done + done + ;; +esac +done +IFS=$as_save_IFS + + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + INSTALL=$ac_install_sh + fi +fi +{ echo "$as_me:$LINENO: result: $INSTALL" >&5 +echo "${ECHO_T}$INSTALL" >&6; } + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } +# Just in case +sleep 1 +echo timestamp > conftest.file +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t $srcdir/configure conftest.file` + fi + rm -f conftest.file + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken +alias in your environment" >&5 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken +alias in your environment" >&2;} + { (exit 1); exit 1; }; } + fi + + test "$2" = conftest.file + ) +then + # Ok. + : +else + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! +Check your system clock" >&5 +echo "$as_me: error: newly created file is older than distributed files! +Check your system clock" >&2;} + { (exit 1); exit 1; }; } +fi +{ echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } +test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s&\$&$program_suffix&;$program_transform_name" +# Double any \ or $. echo might interpret backslashes. +# By default was `s,x,x', remove it if useless. +cat <<\_ACEOF >conftest.sed +s/[\\$]/&&/g;s/;s,x,x,$// +_ACEOF +program_transform_name=`echo $program_transform_name | sed -f conftest.sed` +rm -f conftest.sed + +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` + +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} +fi + +{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 +echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } +if test -z "$MKDIR_P"; then + if test "${ac_cv_path_mkdir+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in mkdir gmkdir; do + for ac_exec_ext in '' $ac_executable_extensions; do + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( + 'mkdir (GNU coreutils) '* | \ + 'mkdir (coreutils) '* | \ + 'mkdir (fileutils) '4.1*) + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext + break 3;; + esac + done + done +done +IFS=$as_save_IFS + +fi + + if test "${ac_cv_path_mkdir+set}" = set; then + MKDIR_P="$ac_cv_path_mkdir -p" + else + # As a last resort, use the slow shell script. Don't cache a + # value for MKDIR_P within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + test -d ./--version && rmdir ./--version + MKDIR_P="$ac_install_sh -d" + fi +fi +{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5 +echo "${ECHO_T}$MKDIR_P" >&6; } + +mkdir_p="$MKDIR_P" +case $mkdir_p in + [\\/$]* | ?:[\\/]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_AWK+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AWK="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { echo "$as_me:$LINENO: result: $AWK" >&5 +echo "${ECHO_T}$AWK" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$AWK" && break +done + +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } + SET_MAKE= +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null + +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + am__isrc=' -I$(srcdir)' + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} + { (exit 1); exit 1; }; } + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi + + +# Define the identity of the package. + PACKAGE=$PACKAGE + VERSION=$VERSION + + +# Some tools Automake needs. + +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} + + +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} + + +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} + + +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} + + +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + +install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} + +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_STRIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { echo "$as_me:$LINENO: result: $STRIP" >&5 +echo "${ECHO_T}$STRIP" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 +echo "${ECHO_T}$ac_ct_STRIP" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" + +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +# Always define AMTAR for backward compatibility. + +AMTAR=${AMTAR-"${am_missing_run}tar"} + +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' + + + + + +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } + # Check whether --enable-maintainer-mode was given. +if test "${enable_maintainer_mode+set}" = set; then + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval +else + USE_MAINTAINER_MODE=no +fi + + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } + if test $USE_MAINTAINER_MODE = yes; then + MAINTAINER_MODE_TRUE= + MAINTAINER_MODE_FALSE='#' +else + MAINTAINER_MODE_TRUE='#' + MAINTAINER_MODE_FALSE= +fi + + MAINT=$MAINTAINER_MODE_TRUE + + + +# Make sure we can run config.sub. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} + { (exit 1); exit 1; }; } + +{ echo "$as_me:$LINENO: checking build system type" >&5 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; } +if test "${ac_cv_build+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_build_alias=$build_alias +test "x$ac_build_alias" = x && + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` +test "x$ac_build_alias" = x && + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;} + { (exit 1); exit 1; }; } +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} + { (exit 1); exit 1; }; } + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 +echo "${ECHO_T}$ac_cv_build" >&6; } +case $ac_cv_build in +*-*-*) ;; +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 +echo "$as_me: error: invalid value of canonical build" >&2;} + { (exit 1); exit 1; }; };; +esac +build=$ac_cv_build +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_build +shift +build_cpu=$1 +build_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +build_os=$* +IFS=$ac_save_IFS +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac + + +{ echo "$as_me:$LINENO: checking host system type" >&5 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; } +if test "${ac_cv_host+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "x$host_alias" = x; then + ac_cv_host=$ac_cv_build +else + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} + { (exit 1); exit 1; }; } +fi + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 +echo "${ECHO_T}$ac_cv_host" >&6; } +case $ac_cv_host in +*-*-*) ;; +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 +echo "$as_me: error: invalid value of canonical host" >&2;} + { (exit 1); exit 1; }; };; +esac +host=$ac_cv_host +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_host +shift +host_cpu=$1 +host_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +host_os=$* +IFS=$ac_save_IFS +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac + + +# Check whether --enable-shared was given. +if test "${enable_shared+set}" = set; then + enableval=$enable_shared; p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_shared=yes +fi + + +# Check whether --enable-static was given. +if test "${enable_static+set}" = set; then + enableval=$enable_static; p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_static=yes +fi + + +# Check whether --enable-fast-install was given. +if test "${enable_fast_install+set}" = set; then + enableval=$enable_fast_install; p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_fast_install=yes +fi + + +DEPDIR="${am__leading_dot}deps" + +ac_config_commands="$ac_config_commands depfiles" + + +am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo done +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# We grep out `Entering directory' and `Leaving directory' +# messages which can occur if `w' ends up in MAKEFLAGS. +# In particular we don't look at `^make:' because GNU make might +# be invoked under some other name (usually "gmake"), in which +# case it prints its new name instead of `make'. +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then + am__include=include + am__quote= + _am_result=GNU +fi +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then + am__include=.include + am__quote="\"" + _am_result=BSD + fi +fi + + +{ echo "$as_me:$LINENO: result: $_am_result" >&5 +echo "${ECHO_T}$_am_result" >&6; } +rm -f confinc confmf + +# Check whether --enable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then + enableval=$enable_dependency_tracking; +fi + +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi + if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="gcc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&5 +echo "$as_me: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } + +# Provide some information about the compiler. +echo "$as_me:$LINENO: checking for C compiler version" >&5 +ac_compiler=`set X $ac_compile; echo $2` +{ (ac_try="$ac_compiler --version >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compiler --version >&5") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (ac_try="$ac_compiler -v >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compiler -v >&5") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (ac_try="$ac_compiler -V >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compiler -V >&5") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` +# +# List of possible output files, starting from the most likely. +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) +# only as a last resort. b.out is created by i960 compilers. +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' +# +# The IRIX 6 linker writes into existing files which may not be +# executable, retaining their permissions. Remove them first so a +# subsequent execution test works. +ac_rmfiles= +for ac_file in $ac_files +do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; + * ) ac_rmfiles="$ac_rmfiles $ac_file";; + esac +done +rm -f $ac_rmfiles + +if { (ac_try="$ac_link_default" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' +# in a Makefile. We should not override ac_cv_exeext if it was cached, +# so that the user can short-circuit this test for compilers unknown to +# Autoconf. +for ac_file in $ac_files '' +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + fi + # We set ac_cv_exeext here because the later test for it is not + # safe: cross compilers may not add the suffix if given an `-o' + # argument, so we may need to know it at that point already. + # Even if this section looks crufty: it has the advantage of + # actually working. + break;; + * ) + break;; + esac +done +test "$ac_cv_exeext" = no && ac_cv_exeext= + +else + ac_file='' +fi + +{ echo "$as_me:$LINENO: result: $ac_file" >&5 +echo "${ECHO_T}$ac_file" >&6; } +if test -z "$ac_file"; then + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables +See \`config.log' for more details." >&5 +echo "$as_me: error: C compiler cannot create executables +See \`config.log' for more details." >&2;} + { (exit 77); exit 77; }; } +fi + +ac_exeext=$ac_cv_exeext + +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 +# If not cross compiling, check that we can run a simple program. +if test "$cross_compiling" != yes; then + if { ac_try='./$ac_file' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { echo "$as_me:$LINENO: error: cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } + fi + fi +fi +{ echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } + +rm -f a.out a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 +echo "${ECHO_T}$cross_compiling" >&6; } + +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + break;; + * ) break;; + esac +done +else + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +rm -f conftest$ac_cv_exeext +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 +echo "${ECHO_T}$ac_cv_exeext" >&6; } + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } +if test "${ac_cv_objext+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute suffix of object files: cannot compile +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 +echo "${ECHO_T}$ac_cv_objext" >&6; } +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } +if test "${ac_cv_c_compiler_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_compiler_gnu=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_compiler_gnu=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } +GCC=`test $ac_compiler_gnu = yes && echo yes` +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } +if test "${ac_cv_prog_cc_g+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_prog_cc_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + CFLAGS="" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_prog_cc_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } +if test "${ac_cv_prog_cc_c89+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <stdarg.h> +#include <stdio.h> +#include <sys/types.h> +#include <sys/stat.h> +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_prog_cc_c89=$ac_arg +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { echo "$as_me:$LINENO: result: none needed" >&5 +echo "${ECHO_T}none needed" >&6; } ;; + xno) + { echo "$as_me:$LINENO: result: unsupported" >&5 +echo "${ECHO_T}unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; +esac + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +depcc="$CC" am_compiler_list= + +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + +{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; } +if test "${lt_cv_path_SED+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for lt_ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" + fi + done + done +done +IFS=$as_save_IFS +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && continue + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed + fi + done +done + +fi + +SED=$lt_cv_path_SED + +{ echo "$as_me:$LINENO: result: $SED" >&5 +echo "${ECHO_T}$SED" >&6; } + +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } +if test "${ac_cv_path_GREP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Extract the first word of "grep ggrep" to use in msg output +if test -z "$GREP"; then +set dummy grep ggrep; ac_prog_name=$2 +if test "${ac_cv_path_GREP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_path_GREP_found=false +# Loop through the user's path and test for each of PROGNAME-LIST +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in grep ggrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue + # Check for GNU ac_path_GREP and select it if it is found. + # Check for GNU $ac_path_GREP +case `"$ac_path_GREP" --version 2>&1` in +*GNU*) + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; +*) + ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + echo 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + ac_count=`expr $ac_count + 1` + if test $ac_count -gt ${ac_path_GREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_GREP="$ac_path_GREP" + ac_path_GREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + + $ac_path_GREP_found && break 3 + done +done + +done +IFS=$as_save_IFS + + +fi + +GREP="$ac_cv_path_GREP" +if test -z "$GREP"; then + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} + { (exit 1); exit 1; }; } +fi + +else + ac_cv_path_GREP=$GREP +fi + + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +{ echo "$as_me:$LINENO: checking for egrep" >&5 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } +if test "${ac_cv_path_EGREP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 + then ac_cv_path_EGREP="$GREP -E" + else + # Extract the first word of "egrep" to use in msg output +if test -z "$EGREP"; then +set dummy egrep; ac_prog_name=$2 +if test "${ac_cv_path_EGREP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_path_EGREP_found=false +# Loop through the user's path and test for each of PROGNAME-LIST +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue + # Check for GNU ac_path_EGREP and select it if it is found. + # Check for GNU $ac_path_EGREP +case `"$ac_path_EGREP" --version 2>&1` in +*GNU*) + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; +*) + ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + echo 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + ac_count=`expr $ac_count + 1` + if test $ac_count -gt ${ac_path_EGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP="$ac_path_EGREP" + ac_path_EGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + + $ac_path_EGREP_found && break 3 + done +done + +done +IFS=$as_save_IFS + + +fi + +EGREP="$ac_cv_path_EGREP" +if test -z "$EGREP"; then + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} + { (exit 1); exit 1; }; } +fi + +else + ac_cv_path_EGREP=$EGREP +fi + + + fi +fi +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | ?:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { echo "$as_me:$LINENO: checking for GNU ld" >&5 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } +else + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } +fi +if test "${lt_cv_path_LD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in + *GNU* | *'with BFD'*) + test "$with_gnu_ld" != no && break + ;; + *) + test "$with_gnu_ld" != yes && break + ;; + esac + fi + done + IFS="$lt_save_ifs" +else + lt_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$lt_cv_path_LD" +if test -n "$LD"; then + { echo "$as_me:$LINENO: result: $LD" >&5 +echo "${ECHO_T}$LD" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} + { (exit 1); exit 1; }; } +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } +if test "${lt_cv_prog_gnu_ld+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # I'd rather use --version here, but apparently some GNU lds only accept -v. +case `$LD -v 2>&1 </dev/null` in +*GNU* | *'with BFD'*) + lt_cv_prog_gnu_ld=yes + ;; +*) + lt_cv_prog_gnu_ld=no + ;; +esac +fi +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$lt_cv_prog_gnu_ld + + +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; } +if test "${lt_cv_ld_reload_flag+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_ld_reload_flag='-r' +fi +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; } +reload_flag=$lt_cv_ld_reload_flag +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' +case $host_os in + darwin*) + if test "$GCC" = yes; then + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' + else + reload_cmds='$LD$reload_flag -o $output$reload_objs' + fi + ;; +esac + +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; } +if test "${lt_cv_path_NM+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_nm_to_check="${ac_tool_prefix}nm" + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then + lt_nm_to_check="$lt_nm_to_check nm" + fi + for lt_tmp_nm in $lt_nm_to_check; do + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/$lt_tmp_nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + ;; + esac + fi + done + IFS="$lt_save_ifs" + done + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm +fi +fi +{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 +echo "${ECHO_T}$lt_cv_path_NM" >&6; } +NM="$lt_cv_path_NM" + +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } +LN_S=$as_ln_s +if test "$LN_S" = "ln -s"; then + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } +else + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 +echo "${ECHO_T}no, using $LN_S" >&6; } +fi + +{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 +echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; } +if test "${lt_cv_deplibs_check_method+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_deplibs_check_method='unknown' +# Need to set the preceding variable on all platforms that support +# interlibrary dependencies. +# 'none' -- dependencies not supported. +# `unknown' -- same as none, but documents that we really don't know. +# 'pass_all' -- all dependencies passed with no checks. +# 'test_compile' -- check by making test program. +# 'file_magic [[regex]]' -- check by looking for files in library path +# which responds to the $file_magic_cmd with a given extended regex. +# If you have `file' or equivalent on your system and you're not sure +# whether `pass_all' will *always* work, you probably want this one. + +case $host_os in +aix[4-9]*) + lt_cv_deplibs_check_method=pass_all + ;; + +beos*) + lt_cv_deplibs_check_method=pass_all + ;; + +bsdi[45]*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' + lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_test_file=/shlib/libc.so + ;; + +cygwin*) + # func_win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + ;; + +mingw* | pw32*) + # Base MSYS/MinGW do not provide the 'file' command needed by + # func_win32_libid shell function, so use a weaker test based on 'objdump', + # unless we find 'file', for example because we are cross-compiling. + if ( file / ) >/dev/null 2>&1; then + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + else + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + fi + ;; + +darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +freebsd* | dragonfly*) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case $host_cpu in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac + ;; + +interix[3-9]*) + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' + ;; + +irix5* | irix6* | nonstopux*) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + lt_cv_deplibs_check_method=pass_all + ;; + +# This must be Linux ELF. +linux* | k*bsd*-gnu) + lt_cv_deplibs_check_method=pass_all + ;; + +netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' + fi + ;; + +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +nto-qnx*) + lt_cv_deplibs_check_method=unknown + ;; + +openbsd*) + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + fi + ;; + +osf3* | osf4* | osf5*) + lt_cv_deplibs_check_method=pass_all + ;; + +rdos*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv4 | sysv4.3*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; + pc) + lt_cv_deplibs_check_method=pass_all + ;; + esac + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; +esac + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; } +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown + + + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Check whether --enable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval=$enable_libtool_lock; +fi + +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '#line 4365 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ +s390*-*linux*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + case `/usr/bin/file conftest.o` in + *32-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_i386_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*|powerpc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_x86_64_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; } +if test "${lt_cv_cc_needs_belf+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + lt_cv_cc_needs_belf=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + lt_cv_cc_needs_belf=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; } + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +sparc*-*solaris*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + case `/usr/bin/file conftest.o` in + *64-bit*) + case $lt_cv_prog_gnu_ld in + yes*) LD="${LD-ld} -m elf64_sparc" ;; + *) + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then + LD="${LD-ld} -64" + fi + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + + +esac + +need_locks="$enable_libtool_lock" + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if test "${ac_cv_prog_CPP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + # <limits.h> exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __STDC__ +# include <limits.h> +#else +# include <assert.h> +#endif + Syntax error +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Broken: fails on valid input. +continue +fi + +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <ac_nonexistent.h> +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + # Broken: success on invalid input. +continue +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Passes both tests. +ac_preproc_ok=: +break +fi + +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +{ echo "$as_me:$LINENO: result: $CPP" >&5 +echo "${ECHO_T}$CPP" >&6; } +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + # <limits.h> exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __STDC__ +# include <limits.h> +#else +# include <assert.h> +#endif + Syntax error +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Broken: fails on valid input. +continue +fi + +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <ac_nonexistent.h> +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + # Broken: success on invalid input. +continue +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Passes both tests. +ac_preproc_ok=: +break +fi + +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then + : +else + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." >&5 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } +if test "${ac_cv_header_stdc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <stdlib.h> +#include <stdarg.h> +#include <string.h> +#include <float.h> + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_header_stdc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_header_stdc=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <string.h> + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then + : +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <stdlib.h> + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then + : +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then + : +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <ctype.h> +#include <stdlib.h> +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + + +fi +fi +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +cat >>confdefs.h <<\_ACEOF +#define STDC_HEADERS 1 +_ACEOF + +fi + +# On IRIX 5.3, sys/types and inttypes.h are conflicting. + + + + + + + + + +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +{ echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + eval "$as_ac_Header=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + eval "$as_ac_Header=no" +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +ac_res=`eval echo '${'$as_ac_Header'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + +for ac_header in dlfcn.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + { echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +ac_res=`eval echo '${'$as_ac_Header'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } +else + # Is the header compilable? +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_compiler=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6; } + +# Is the header present? +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi + +rm -f conftest.err conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + + ;; +esac +{ echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=\$ac_header_preproc" +fi +ac_res=`eval echo '${'$as_ac_Header'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +if test -z "$CXX"; then + if test -n "$CCC"; then + CXX=$CCC + else + if test -n "$ac_tool_prefix"; then + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CXX"; then + ac_cv_prog_CXX="$CXX" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +CXX=$ac_cv_prog_CXX +if test -n "$CXX"; then + { echo "$as_me:$LINENO: result: $CXX" >&5 +echo "${ECHO_T}$CXX" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$CXX" && break + done +fi +if test -z "$CXX"; then + ac_ct_CXX=$CXX + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CXX"; then + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CXX="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX +if test -n "$ac_ct_CXX"; then + { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 +echo "${ECHO_T}$ac_ct_CXX" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$ac_ct_CXX" && break +done + + if test "x$ac_ct_CXX" = x; then + CXX="g++" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + CXX=$ac_ct_CXX + fi +fi + + fi +fi +# Provide some information about the compiler. +echo "$as_me:$LINENO: checking for C++ compiler version" >&5 +ac_compiler=`set X $ac_compile; echo $2` +{ (ac_try="$ac_compiler --version >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compiler --version >&5") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (ac_try="$ac_compiler -v >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compiler -v >&5") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (ac_try="$ac_compiler -V >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compiler -V >&5") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + +{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_compiler_gnu=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_compiler_gnu=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } +GXX=`test $ac_compiler_gnu = yes && echo yes` +ac_test_CXXFLAGS=${CXXFLAGS+set} +ac_save_CXXFLAGS=$CXXFLAGS +{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } +if test "${ac_cv_prog_cxx_g+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_save_cxx_werror_flag=$ac_cxx_werror_flag + ac_cxx_werror_flag=yes + ac_cv_prog_cxx_g=no + CXXFLAGS="-g" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_prog_cxx_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + CXXFLAGS="" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cxx_werror_flag=$ac_save_cxx_werror_flag + CXXFLAGS="-g" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_prog_cxx_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cxx_werror_flag=$ac_save_cxx_werror_flag +fi +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } +if test "$ac_test_CXXFLAGS" = set; then + CXXFLAGS=$ac_save_CXXFLAGS +elif test $ac_cv_prog_cxx_g = yes; then + if test "$GXX" = yes; then + CXXFLAGS="-g -O2" + else + CXXFLAGS="-g" + fi +else + if test "$GXX" = yes; then + CXXFLAGS="-O2" + else + CXXFLAGS= + fi +fi +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + +depcc="$CXX" am_compiler_list= + +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CXX_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CXX_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CXX_dependencies_compiler_type=none +fi + +fi +{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then + am__fastdepCXX_TRUE= + am__fastdepCXX_FALSE='#' +else + am__fastdepCXX_TRUE='#' + am__fastdepCXX_FALSE= +fi + + + + +if test -n "$CXX" && ( test "X$CXX" != "Xno" && + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || + (test "X$CXX" != "Xg++"))) ; then + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } +if test -z "$CXXCPP"; then + if test "${ac_cv_prog_CXXCPP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Double quotes because CXXCPP needs to be expanded + for CXXCPP in "$CXX -E" "/lib/cpp" + do + ac_preproc_ok=false +for ac_cxx_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + # <limits.h> exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __STDC__ +# include <limits.h> +#else +# include <assert.h> +#endif + Syntax error +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || + test ! -s conftest.err + }; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Broken: fails on valid input. +continue +fi + +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <ac_nonexistent.h> +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || + test ! -s conftest.err + }; then + # Broken: success on invalid input. +continue +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Passes both tests. +ac_preproc_ok=: +break +fi + +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then + break +fi + + done + ac_cv_prog_CXXCPP=$CXXCPP + +fi + CXXCPP=$ac_cv_prog_CXXCPP +else + ac_cv_prog_CXXCPP=$CXXCPP +fi +{ echo "$as_me:$LINENO: result: $CXXCPP" >&5 +echo "${ECHO_T}$CXXCPP" >&6; } +ac_preproc_ok=false +for ac_cxx_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + # <limits.h> exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __STDC__ +# include <limits.h> +#else +# include <assert.h> +#endif + Syntax error +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || + test ! -s conftest.err + }; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Broken: fails on valid input. +continue +fi + +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <ac_nonexistent.h> +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || + test ! -s conftest.err + }; then + # Broken: success on invalid input. +continue +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Passes both tests. +ac_preproc_ok=: +break +fi + +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then + : +else + { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check +See \`config.log' for more details." >&5 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + +fi + + +ac_ext=f +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_f77_compiler_gnu +if test -n "$ac_tool_prefix"; then + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$F77"; then + ac_cv_prog_F77="$F77" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_F77="$ac_tool_prefix$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +F77=$ac_cv_prog_F77 +if test -n "$F77"; then + { echo "$as_me:$LINENO: result: $F77" >&5 +echo "${ECHO_T}$F77" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$F77" && break + done +fi +if test -z "$F77"; then + ac_ct_F77=$F77 + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_F77"; then + ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_F77="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_F77=$ac_cv_prog_ac_ct_F77 +if test -n "$ac_ct_F77"; then + { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 +echo "${ECHO_T}$ac_ct_F77" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$ac_ct_F77" && break +done + + if test "x$ac_ct_F77" = x; then + F77="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + F77=$ac_ct_F77 + fi +fi + + +# Provide some information about the compiler. +echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 +ac_compiler=`set X $ac_compile; echo $2` +{ (ac_try="$ac_compiler --version >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compiler --version >&5") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (ac_try="$ac_compiler -v >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compiler -v >&5") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (ac_try="$ac_compiler -V >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compiler -V >&5") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +rm -f a.out + +# If we don't use `.F' as extension, the preprocessor is not run on the +# input file. (Note that this only needs to work for GNU compilers.) +ac_save_ext=$ac_ext +ac_ext=F +{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; } +if test "${ac_cv_f77_compiler_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF + program main +#ifndef __GNUC__ + choke me +#endif + + end +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_f77_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_compiler_gnu=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_compiler_gnu=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_f77_compiler_gnu=$ac_compiler_gnu + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; } +ac_ext=$ac_save_ext +ac_test_FFLAGS=${FFLAGS+set} +ac_save_FFLAGS=$FFLAGS +FFLAGS= +{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; } +if test "${ac_cv_prog_f77_g+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + FFLAGS=-g +cat >conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_f77_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_prog_f77_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_prog_f77_g=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; } +if test "$ac_test_FFLAGS" = set; then + FFLAGS=$ac_save_FFLAGS +elif test $ac_cv_prog_f77_g = yes; then + if test "x$ac_cv_f77_compiler_gnu" = xyes; then + FFLAGS="-g -O2" + else + FFLAGS="-g" + fi +else + if test "x$ac_cv_f77_compiler_gnu" = xyes; then + FFLAGS="-O2" + else + FFLAGS= + fi +fi + +G77=`test $ac_compiler_gnu = yes && echo yes` +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! +# find the maximum length of command line arguments +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } +if test "${lt_cv_sys_max_cmd_len+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + i=0 + teststring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + amigaos*) + # On AmigaOS with pdksh, this test takes hours, literally. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; + ;; + + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + ;; + + interix*) + # We know the value 262144 and hardcode it with a safety zone (like BSD) + lt_cv_sys_max_cmd_len=196608 + ;; + + osf*) + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not + # nice to cause kernel panics so lets avoid the loop below. + # First set a reasonable default. + lt_cv_sys_max_cmd_len=16384 + # + if test -x /sbin/sysconfig; then + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in + *1*) lt_cv_sys_max_cmd_len=-1 ;; + esac + fi + ;; + sco3.2v5*) + lt_cv_sys_max_cmd_len=102400 + ;; + sysv5* | sco5v6* | sysv4.2uw2*) + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` + if test -n "$kargmax"; then + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` + else + lt_cv_sys_max_cmd_len=32768 + fi + ;; + *) + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` + if test -n "$lt_cv_sys_max_cmd_len"; then + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + else + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} + while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ + = "XX$teststring") >/dev/null 2>&1 && + new_result=`expr "X$teststring" : ".*" 2>&1` && + lt_cv_sys_max_cmd_len=$new_result && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + teststring=$teststring$teststring + done + teststring= + # Add a significant safety factor because C++ compilers can tack on massive + # amounts of additional arguments before passing them to the linker. + # It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + fi + ;; + esac + +fi + +if test -n $lt_cv_sys_max_cmd_len ; then + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; } +else + { echo "$as_me:$LINENO: result: none" >&5 +echo "${ECHO_T}none" >&6; } +fi + + + + + +# Check for command to grab the raw symbol name followed by C symbol from nm. +{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; } +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[BCDEGRST]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)' + +# Transform an extracted symbol line into a proper C declaration +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[BCDT]' + ;; +cygwin* | mingw* | pw32*) + symcode='[ABCDGISTW]' + ;; +hpux*) # Its linker distinguishes data from code symbols + if test "$host_cpu" = ia64; then + symcode='[ABCDEGRST]' + fi + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + ;; +linux* | k*bsd*-gnu) + if test "$host_cpu" = ia64; then + symcode='[ABCDGIRSTW]' + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + fi + ;; +irix* | nonstopux*) + symcode='[BCDEGRST]' + ;; +osf*) + symcode='[BCDEGQRST]' + ;; +solaris*) + symcode='[BDRT]' + ;; +sco3.2v5*) + symcode='[DT]' + ;; +sysv4.2uw2*) + symcode='[DT]' + ;; +sysv5* | sco5v6* | unixware* | OpenUNIX*) + symcode='[ABDT]' + ;; +sysv4) + symcode='[DFNSTU]' + ;; +esac + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[ABCDGIRSTW]' ;; +esac + +# Try without a prefix undercore, then with it. +for ac_symprfx in "" "_"; do + + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. + symxfrm="\\1 $ac_symprfx\\2 \\2" + + # Write the raw and C identifiers. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext <<EOF +#ifdef __cplusplus +extern "C" { +#endif +char nm_test_var; +void nm_test_func(){} +#ifdef __cplusplus +} +#endif +int main(){nm_test_var='a';nm_test_func();return(0);} +EOF + + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Now try to grab the symbols. + nlist=conftest.nm + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if grep ' nm_test_var$' "$nlist" >/dev/null; then + if grep ' nm_test_func$' "$nlist" >/dev/null; then + cat <<EOF > conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif + +EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' + + cat <<EOF >> conftest.$ac_ext +#if defined (__STDC__) && __STDC__ +# define lt_ptr_t void * +#else +# define lt_ptr_t char * +# define const +#endif + +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr_t address; +} +lt_preloaded_symbols[] = +{ +EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext + cat <<\EOF >> conftest.$ac_ext + {0, (lt_ptr_t) 0} +}; + +#ifdef __cplusplus +} +#endif +EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&5 + fi + else + echo "cannot find nm_test_var in $nlist" >&5 + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 + fi + else + echo "$progname: failed program was:" >&5 + cat conftest.$ac_ext >&5 + fi + rm -rf conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done + +fi + +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + { echo "$as_me:$LINENO: result: failed" >&5 +echo "${ECHO_T}failed" >&6; } +else + { echo "$as_me:$LINENO: result: ok" >&5 +echo "${ECHO_T}ok" >&6; } +fi + +{ echo "$as_me:$LINENO: checking for objdir" >&5 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6; } +if test "${lt_cv_objdir+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null +fi +{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 +echo "${ECHO_T}$lt_cv_objdir" >&6; } +objdir=$lt_cv_objdir + + + + + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='sed -e 1s/^X//' +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +# Constants: +rm="rm -f" + +# Global variables: +default_ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except MSVC, +# which needs '.lib'). +libext=a +ltmain="$ac_aux_dir/ltmain.sh" +ofile="$default_ofile" +with_gnu_ld="$lt_cv_prog_gnu_ld" + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. +set dummy ${ac_tool_prefix}ar; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_AR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AR="${ac_tool_prefix}ar" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + { echo "$as_me:$LINENO: result: $AR" >&5 +echo "${ECHO_T}$AR" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_AR"; then + ac_ct_AR=$AR + # Extract the first word of "ar", so it can be a program name with args. +set dummy ar; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_AR="ar" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 +echo "${ECHO_T}$ac_ct_AR" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + if test "x$ac_ct_AR" = x; then + AR="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + AR=$ac_ct_AR + fi +else + AR="$ac_cv_prog_AR" +fi + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + { echo "$as_me:$LINENO: result: $RANLIB" >&5 +echo "${ECHO_T}$RANLIB" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + if test "x$ac_ct_RANLIB" = x; then + RANLIB=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + RANLIB=$ac_ct_RANLIB + fi +else + RANLIB="$ac_cv_prog_RANLIB" +fi + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_STRIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { echo "$as_me:$LINENO: result: $STRIP" >&5 +echo "${ECHO_T}$STRIP" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 +echo "${ECHO_T}$ac_ct_STRIP" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +test -z "$AS" && AS=as +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS +test -z "$DLLTOOL" && DLLTOOL=dlltool +test -z "$LD" && LD=ld +test -z "$LN_S" && LN_S="ln -s" +test -z "$MAGIC_CMD" && MAGIC_CMD=file +test -z "$NM" && NM=nm +test -z "$SED" && SED=sed +test -z "$OBJDUMP" && OBJDUMP=objdump +test -z "$RANLIB" && RANLIB=: +test -z "$STRIP" && STRIP=: +test -z "$ac_objext" && ac_objext=o + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" + ;; + *) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi + +for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` + + +# Only perform the check for file, if the check method requires it +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; } +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/${ac_tool_prefix}file; then + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 +echo "${ECHO_T}$MAGIC_CMD" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + { echo "$as_me:$LINENO: checking for file" >&5 +echo $ECHO_N "checking for file... $ECHO_C" >&6; } +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/file; then + lt_cv_path_MAGIC_CMD="$ac_dir/file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 +echo "${ECHO_T}$MAGIC_CMD" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + else + MAGIC_CMD=: + fi +fi + + fi + ;; +esac + + + case $host_os in + rhapsody* | darwin*) + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_DSYMUTIL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$DSYMUTIL"; then + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +DSYMUTIL=$ac_cv_prog_DSYMUTIL +if test -n "$DSYMUTIL"; then + { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 +echo "${ECHO_T}$DSYMUTIL" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_DSYMUTIL"; then + ac_ct_DSYMUTIL=$DSYMUTIL + # Extract the first word of "dsymutil", so it can be a program name with args. +set dummy dsymutil; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_DSYMUTIL"; then + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL +if test -n "$ac_ct_DSYMUTIL"; then + { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 +echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + if test "x$ac_ct_DSYMUTIL" = x; then + DSYMUTIL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + DSYMUTIL=$ac_ct_DSYMUTIL + fi +else + DSYMUTIL="$ac_cv_prog_DSYMUTIL" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. +set dummy ${ac_tool_prefix}nmedit; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_NMEDIT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$NMEDIT"; then + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +NMEDIT=$ac_cv_prog_NMEDIT +if test -n "$NMEDIT"; then + { echo "$as_me:$LINENO: result: $NMEDIT" >&5 +echo "${ECHO_T}$NMEDIT" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_NMEDIT"; then + ac_ct_NMEDIT=$NMEDIT + # Extract the first word of "nmedit", so it can be a program name with args. +set dummy nmedit; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_NMEDIT"; then + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_NMEDIT="nmedit" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT +if test -n "$ac_ct_NMEDIT"; then + { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 +echo "${ECHO_T}$ac_ct_NMEDIT" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + if test "x$ac_ct_NMEDIT" = x; then + NMEDIT=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + NMEDIT=$ac_ct_NMEDIT + fi +else + NMEDIT="$ac_cv_prog_NMEDIT" +fi + + + { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 +echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; } +if test "${lt_cv_apple_cc_single_mod+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_apple_cc_single_mod=no + if test -z "${LT_MULTI_MODULE}"; then + # By default we will add the -single_module flag. You can override + # by either setting the environment variable LT_MULTI_MODULE + # non-empty at configure time, or by adding -multi_module to the + # link flags. + echo "int foo(void){return 1;}" > conftest.c + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ + -dynamiclib ${wl}-single_module conftest.c + if test -f libconftest.dylib; then + lt_cv_apple_cc_single_mod=yes + rm -rf libconftest.dylib* + fi + rm conftest.c + fi +fi +{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 +echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; } + { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 +echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; } +if test "${lt_cv_ld_exported_symbols_list+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_ld_exported_symbols_list=no + save_LDFLAGS=$LDFLAGS + echo "_main" > conftest.sym + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + lt_cv_ld_exported_symbols_list=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + lt_cv_ld_exported_symbols_list=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$save_LDFLAGS" + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 +echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; } + case $host_os in + rhapsody* | darwin1.[0123]) + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; + darwin1.*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + darwin*) + # if running on 10.5 or later, the deployment target defaults + # to the OS version, if on x86, and 10.4, the deployment + # target defaults to 10.4. Don't you love it? + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in + 10.0,*86*-darwin8*|10.0,*-darwin[91]*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + 10.[012]*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + 10.*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + esac + ;; + esac + if test "$lt_cv_apple_cc_single_mod" = "yes"; then + _lt_dar_single_mod='$single_module' + fi + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' + else + _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}" + fi + if test "$DSYMUTIL" != ":"; then + _lt_dsymutil="~$DSYMUTIL \$lib || :" + else + _lt_dsymutil= + fi + ;; + esac + + +enable_dlopen=no +enable_win32_dll=no + +# Check whether --enable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval=$enable_libtool_lock; +fi + +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + + +# Check whether --with-pic was given. +if test "${with_pic+set}" = set; then + withval=$with_pic; pic_mode="$withval" +else + pic_mode=default +fi + +test -z "$pic_mode" && pic_mode=default + +# Use C for the default configuration in the libtool script +tagname= +lt_save_CC="$CC" +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +objext=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}' + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# save warnings/boilerplate of simple test code +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$rm conftest* + +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$rm -r conftest* + + + +lt_prog_compiler_no_builtin_flag= + +if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag=' -fno-builtin' + + +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:7417: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:7421: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $rm conftest* + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } + +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" +else + : +fi + +fi + +lt_prog_compiler_wl= +lt_prog_compiler_pic= +lt_prog_compiler_static= + +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } + + if test "$GCC" = yes; then + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_static='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | cygwin* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic='-fno-common' + ;; + + interix[3-9]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + else + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' + fi + ;; + darwin*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + case $cc_basename in + xlc*) + lt_prog_compiler_pic='-qnocommon' + lt_prog_compiler_wl='-Wl,' + ;; + esac + ;; + + mingw* | cygwin* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + linux* | k*bsd*-gnu) + case $cc_basename in + icc* | ecc*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-static' + ;; + pgcc* | pgf77* | pgf90* | pgf95*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fpic' + lt_prog_compiler_static='-Bstatic' + ;; + ccc*) + lt_prog_compiler_wl='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C 5.9 + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='-Wl,' + ;; + *Sun\ F*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='' + ;; + esac + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + + rdos*) + lt_prog_compiler_static='-non_shared' + ;; + + solaris*) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + case $cc_basename in + f77* | f90* | f95*) + lt_prog_compiler_wl='-Qoption ld ';; + *) + lt_prog_compiler_wl='-Wl,';; + esac + ;; + + sunos4*) + lt_prog_compiler_wl='-Qoption ld ' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic='-Kconform_pic' + lt_prog_compiler_static='-Bstatic' + fi + ;; + + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + unicos*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_can_build_shared=no + ;; + + uts4*) + lt_prog_compiler_pic='-pic' + lt_prog_compiler_static='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared=no + ;; + esac + fi + +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6; } + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic"; then + +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } +if test "${lt_cv_prog_compiler_pic_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_pic_works=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:7707: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:7711: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_pic_works=yes + fi + fi + $rm conftest* + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; } + +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then + case $lt_prog_compiler_pic in + "" | " "*) ;; + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; + esac +else + lt_prog_compiler_pic= + lt_prog_compiler_can_build_shared=no +fi + +fi +case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic= + ;; + *) + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" + ;; +esac + +# +# Check to make sure the static flag actually works. +# +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } +if test "${lt_cv_prog_compiler_static_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_static_works=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_static_works=yes + fi + else + lt_cv_prog_compiler_static_works=yes + fi + fi + $rm -r conftest* + LDFLAGS="$save_LDFLAGS" + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; } + +if test x"$lt_cv_prog_compiler_static_works" = xyes; then + : +else + lt_prog_compiler_static= +fi + + +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } +if test "${lt_cv_prog_compiler_c_o+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:7811: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:7815: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . 2>&5 + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files + $rm out/* && rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6; } + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } + + runpath_var= + allow_undefined_flag= + enable_shared_with_static_runtimes=no + archive_cmds= + archive_expsym_cmds= + old_archive_From_new_cmds= + old_archive_from_expsyms_cmds= + export_dynamic_flag_spec= + whole_archive_flag_spec= + thread_safe_flag_spec= + hardcode_libdir_flag_spec= + hardcode_libdir_flag_spec_ld= + hardcode_libdir_separator= + hardcode_direct=no + hardcode_minus_L=no + hardcode_shlibpath_var=unsupported + link_all_deplibs=unknown + hardcode_automatic=no + module_cmds= + module_expsym_cmds= + always_export_symbols=no + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + # Exclude shared library initialization/finalization symbols. + extract_expsyms_cmds= + # Just being paranoid about ensuring that cc_basename is set. + for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec= + fi + supports_anon_versioning=no + case `$LD -v 2>/dev/null` in + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + + # See if GNU ld supports shared libraries. + case $host_os in + aix[3-9]*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no + cat <<EOF 1>&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag=unsupported + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec='-L$libdir' + allow_undefined_flag=unsupported + always_export_symbols=no + enable_shared_with_static_runtimes=yes + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + ld_shlibs=no + fi + ;; + + interix[3-9]*) + hardcode_direct=no + hardcode_shlibpath_var=no + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + + gnu* | linux* | k*bsd*-gnu) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + tmp_addflag= + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + esac + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) # Sun C 5.9 + whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_sharedflag='-G' ;; + *Sun\ F*) # Sun Fortran 8.3 + tmp_sharedflag='-G' ;; + *) + tmp_sharedflag='-shared' ;; + esac + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + + if test $supports_anon_versioning = yes; then + archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + $echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + link_all_deplibs=no + else + ld_shlibs=no + fi + ;; + + netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + cat <<EOF 1>&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) + ld_shlibs=no + cat <<_LT_EOF 1>&2 + +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not +*** reliably create shared libraries on SCO systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + ;; + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + ;; + + sunos4*) + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + + if test "$ld_shlibs" = no; then + runpath_var= + hardcode_libdir_flag_spec= + export_dynamic_flag_spec= + whole_archive_flag_spec= + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag=unsupported + always_export_symbols=yes + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported + fi + ;; + + aix[4-9]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds='' + hardcode_direct=yes + hardcode_libdir_separator=':' + link_all_deplibs=yes + + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + hardcode_direct=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + +lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\(.*\)$/\1/ + p + } + }' +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag="-z nodefs" + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + +lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\(.*\)$/\1/ + p + } + }' +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag=' ${wl}-bernotok' + allow_undefined_flag=' ${wl}-berok' + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec='$convenience' + archive_cmds_need_lc=yes + # This is similar to how AIX traditionally builds its shared libraries. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + # see comment about different semantics on the GNU ld section + ld_shlibs=no + ;; + + bsdi[45]*) + export_dynamic_flag_spec=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes=yes + ;; + + darwin* | rhapsody*) + case $host_os in + rhapsody* | darwin1.[012]) + allow_undefined_flag='${wl}-undefined ${wl}suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[012]) + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + ;; + 10.*) + allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup' + ;; + esac + fi + ;; + esac + archive_cmds_need_lc=no + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + whole_archive_flag_spec='' + link_all_deplibs=yes + if test "$GCC" = yes ; then + output_verbose_link_cmd='echo' + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" + archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" + module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + else + case $cc_basename in + xlc*) + output_verbose_link_cmd='echo' + archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + ;; + *) + ld_shlibs=no + ;; + esac + fi + ;; + + dgux*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + freebsd1*) + ld_shlibs=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | dragonfly*) + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + export_dynamic_flag_spec='${wl}-E' + ;; + + hpux10*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + fi + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + + hardcode_direct=yes + export_dynamic_flag_spec='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + fi + ;; + + hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case $host_cpu in + hppa*64*) + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case $host_cpu in + hppa*64*) + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + + case $host_cpu in + hppa*64*|ia64*) + hardcode_libdir_flag_spec_ld='+b $libdir' + hardcode_direct=no + hardcode_shlibpath_var=no + ;; + *) + hardcode_direct=yes + export_dynamic_flag_spec='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld='-rpath $libdir' + fi + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + link_all_deplibs=yes + ;; + + netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + newsos6) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_shlibpath_var=no + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + hardcode_direct=yes + hardcode_shlibpath_var=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac + fi + else + ld_shlibs=no + fi + ;; + + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + allow_undefined_flag=unsupported + archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec='-rpath $libdir' + fi + hardcode_libdir_separator=: + ;; + + solaris*) + no_undefined_flag=' -z text' + if test "$GCC" = yes; then + wlarc='${wl}' + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + wlarc='' + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_shlibpath_var=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. GCC discards it without `$wl', + # but is careful enough not to reorder. + # Supported since Solaris 2.6 (maybe 2.5.1?) + if test "$GCC" = yes; then + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + else + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' + fi + ;; + esac + link_all_deplibs=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds='$CC -r -o $output$reload_objs' + hardcode_direct=no + ;; + motorola) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv4.3*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs=yes + fi + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) + no_undefined_flag='${wl}-z,text' + archive_cmds_need_lc=no + hardcode_shlibpath_var=no + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + no_undefined_flag='${wl}-z,text' + allow_undefined_flag='${wl}-z,nodefs' + archive_cmds_need_lc=no + hardcode_shlibpath_var=no + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' + hardcode_libdir_separator=':' + link_all_deplibs=yes + export_dynamic_flag_spec='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + uts4*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + *) + ld_shlibs=no + ;; + esac + fi + +{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5 +echo "${ECHO_T}$ld_shlibs" >&6; } +test "$ld_shlibs" = no && can_build_shared=no + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } + $rm conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl + pic_flag=$lt_prog_compiler_pic + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag + allow_undefined_flag= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc=no + else + archive_cmds_need_lc=yes + fi + allow_undefined_flag=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 +echo "${ECHO_T}$archive_cmds_need_lc" >&6; } + ;; + esac + fi + ;; +esac + +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" + +if test "$GCC" = yes; then + case $host_os in + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; + *) lt_awk_arg="/^libraries:/" ;; + esac + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'` + else + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # Ok, now we have the path, separated by spaces, we can step through it + # and add multilib dir if necessary. + lt_tmp_lt_search_path_spec= + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` + for lt_sys_path in $lt_search_path_spec; do + if test -d "$lt_sys_path/$lt_multi_os_dir"; then + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" + else + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi + done + lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk ' +BEGIN {RS=" "; FS="/|\n";} { + lt_foo=""; + lt_count=0; + for (lt_i = NF; lt_i > 0; lt_i--) { + if ($lt_i != "" && $lt_i != ".") { + if ($lt_i == "..") { + lt_count++; + } else { + if (lt_count == 0) { + lt_foo="/" $lt_i lt_foo; + } else { + lt_count--; + } + } + } + } + if (lt_foo != "") { lt_freq[lt_foo]++; } + if (lt_freq[lt_foo] == 1) { print lt_foo; } +}'` + sys_lib_search_path_spec=`echo $lt_search_path_spec` +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix[4-9]*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib<name>.so + # instead of lib<name>.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[45]*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[123]*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +interix[3-9]*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux* | k*bsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsdelf*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='NetBSD ld.elf_so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=freebsd-elf + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + if test "$with_gnu_ld" = yes; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + shlibpath_overrides_runpath=no + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + shlibpath_overrides_runpath=yes + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6; } +test "$dynamic_linker" = no && can_build_shared=no + +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" +fi + +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" +fi + +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } +hardcode_action= +if test -n "$hardcode_libdir_flag_spec" || \ + test -n "$runpath_var" || \ + test "X$hardcode_automatic" = "Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && + test "$hardcode_minus_L" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action=unsupported +fi +{ echo "$as_me:$LINENO: result: $hardcode_action" >&5 +echo "${ECHO_T}$hardcode_action" >&6; } + +if test "$hardcode_action" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + old_striplib="$STRIP -S" + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } + else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + ;; + *) + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } + ;; + esac +fi + +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_dl_dlopen=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + { echo "$as_me:$LINENO: checking for shl_load" >&5 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } +if test "${ac_cv_func_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. + For example, HP-UX 11i <limits.h> declares gettimeofday. */ +#define shl_load innocuous_shl_load + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char shl_load (); below. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + <limits.h> exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include <limits.h> +#else +# include <assert.h> +#endif + +#undef shl_load + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char shl_load (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_shl_load || defined __stub___shl_load +choke me +#endif + +int +main () +{ +return shl_load (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_func_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_func_shl_load=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } +if test $ac_cv_func_shl_load = yes; then + lt_cv_dlopen="shl_load" +else + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } +if test "${ac_cv_lib_dld_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char shl_load (); +int +main () +{ +return shl_load (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_dld_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_dld_shl_load=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } +if test $ac_cv_lib_dld_shl_load = yes; then + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" +else + { echo "$as_me:$LINENO: checking for dlopen" >&5 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } +if test "${ac_cv_func_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. + For example, HP-UX 11i <limits.h> declares gettimeofday. */ +#define dlopen innocuous_dlopen + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char dlopen (); below. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + <limits.h> exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include <limits.h> +#else +# include <assert.h> +#endif + +#undef dlopen + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_dlopen || defined __stub___dlopen +choke me +#endif + +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_func_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_func_dlopen=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } +if test $ac_cv_func_dlopen = yes; then + lt_cv_dlopen="dlopen" +else + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_dl_dlopen=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; } +if test "${ac_cv_lib_svld_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_svld_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_svld_dlopen=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; } +if test $ac_cv_lib_svld_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; } +if test "${ac_cv_lib_dld_dld_link+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dld_link (); +int +main () +{ +return dld_link (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_dld_dld_link=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_dld_dld_link=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } +if test $ac_cv_lib_dld_dld_link = yes; then + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } +if test "${lt_cv_dlopen_self+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<EOF +#line 10188 "configure" +#include "confdefs.h" + +#if HAVE_DLFCN_H +#include <dlfcn.h> +#endif + +#include <stdio.h> + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + else + puts (dlerror ()); + + exit (status); +} +EOF + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } + + if test "x$lt_cv_dlopen_self" = xyes; then + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" + { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } +if test "${lt_cv_dlopen_self_static+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<EOF +#line 10288 "configure" +#include "confdefs.h" + +#if HAVE_DLFCN_H +#include <dlfcn.h> +#endif + +#include <stdio.h> + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + else + puts (dlerror ()); + + exit (status); +} +EOF + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; } + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# Report which library types will actually be built +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5 +echo "${ECHO_T}$can_build_shared" >&6; } + +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case $host_os in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + +aix[4-9]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; +esac +{ echo "$as_me:$LINENO: result: $enable_shared" >&5 +echo "${ECHO_T}$enable_shared" >&6; } + +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +{ echo "$as_me:$LINENO: result: $enable_static" >&5 +echo "${ECHO_T}$enable_static" >&6; } + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler \ + CC \ + LD \ + lt_prog_compiler_wl \ + lt_prog_compiler_pic \ + lt_prog_compiler_static \ + lt_prog_compiler_no_builtin_flag \ + export_dynamic_flag_spec \ + thread_safe_flag_spec \ + whole_archive_flag_spec \ + enable_shared_with_static_runtimes \ + old_archive_cmds \ + old_archive_from_new_cmds \ + predep_objects \ + postdep_objects \ + predeps \ + postdeps \ + compiler_lib_search_path \ + compiler_lib_search_dirs \ + archive_cmds \ + archive_expsym_cmds \ + postinstall_cmds \ + postuninstall_cmds \ + old_archive_from_expsyms_cmds \ + allow_undefined_flag \ + no_undefined_flag \ + export_symbols_cmds \ + hardcode_libdir_flag_spec \ + hardcode_libdir_flag_spec_ld \ + hardcode_libdir_separator \ + hardcode_automatic \ + module_cmds \ + module_expsym_cmds \ + lt_cv_prog_compiler_c_o \ + fix_srcfile_path \ + exclude_expsyms \ + include_expsyms; do + + case $var in + old_archive_cmds | \ + old_archive_from_new_cmds | \ + archive_cmds | \ + archive_expsym_cmds | \ + module_cmds | \ + module_expsym_cmds | \ + old_archive_from_expsyms_cmds | \ + export_symbols_cmds | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="${ofile}T" + trap "$rm \"$cfgfile\"; exit 1" 1 2 15 + $rm -f "$cfgfile" + { echo "$as_me:$LINENO: creating $ofile" >&5 +echo "$as_me: creating $ofile" >&6;} + + cat <<__EOF__ >> "$cfgfile" +#! $SHELL + +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 +# +# 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. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="$SED -e 1s/^X//" + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +# The names of the tagged configurations supported by this script. +available_tags= + +# ### BEGIN LIBTOOL CONFIG + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# LTCC compiler flags. +LTCFLAGS=$lt_LTCFLAGS + +# A language-specific compiler. +CC=$lt_compiler + +# Is the compiler the GNU C compiler? +with_gcc=$GCC + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$lt_STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext_cmds='$shrext_cmds' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o + +# Must we lock files when doing compilation? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds +archive_expsym_cmds=$lt_archive_expsym_cmds +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds +module_expsym_cmds=$lt_module_expsym_cmds + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps + +# The directories searched by this compiler when creating a shared +# library +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path=$lt_fix_srcfile_path + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms + +# ### END LIBTOOL CONFIG + +__EOF__ + + + case $host_os in + aix3*) + cat <<\EOF >> "$cfgfile" + +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +EOF + ;; + esac + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || \ + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` + if test -f "$ltmain_in"; then + test -f Makefile && make "$ltmain" + fi +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC="$lt_save_CC" + + +# Check whether --with-tags was given. +if test "${with_tags+set}" = set; then + withval=$with_tags; tagnames="$withval" +fi + + +if test -f "$ltmain" && test -n "$tagnames"; then + if test ! -f "${ofile}"; then + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 +echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} + fi + + if test -z "$LTCC"; then + eval "`$SHELL ${ofile} --config | grep '^LTCC='`" + if test -z "$LTCC"; then + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 +echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} + else + { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 +echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} + fi + fi + if test -z "$LTCFLAGS"; then + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" + fi + + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` + + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for tagname in $tagnames; do + IFS="$lt_save_ifs" + # Check whether tagname contains only valid characters + case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in + "") ;; + *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 +echo "$as_me: error: invalid tag name: $tagname" >&2;} + { (exit 1); exit 1; }; } + ;; + esac + + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null + then + { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 +echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} + { (exit 1); exit 1; }; } + fi + + # Update the list of available tags. + if test -n "$tagname"; then + echo appending configuration tag \"$tagname\" to $ofile + + case $tagname in + CXX) + if test -n "$CXX" && ( test "X$CXX" != "Xno" && + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || + (test "X$CXX" != "Xg++"))) ; then + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + + +archive_cmds_need_lc_CXX=no +allow_undefined_flag_CXX= +always_export_symbols_CXX=no +archive_expsym_cmds_CXX= +export_dynamic_flag_spec_CXX= +hardcode_direct_CXX=no +hardcode_libdir_flag_spec_CXX= +hardcode_libdir_flag_spec_ld_CXX= +hardcode_libdir_separator_CXX= +hardcode_minus_L_CXX=no +hardcode_shlibpath_var_CXX=unsupported +hardcode_automatic_CXX=no +module_cmds_CXX= +module_expsym_cmds_CXX= +link_all_deplibs_CXX=unknown +old_archive_cmds_CXX=$old_archive_cmds +no_undefined_flag_CXX= +whole_archive_flag_spec_CXX= +enable_shared_with_static_runtimes_CXX=no + +# Dependencies to place before and after the object being linked: +predep_objects_CXX= +postdep_objects_CXX= +predeps_CXX= +postdeps_CXX= +compiler_lib_search_path_CXX= +compiler_lib_search_dirs_CXX= + +# Source file extension for C++ test sources. +ac_ext=cpp + +# Object file extension for compiled C++ test sources. +objext=o +objext_CXX=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(int, char *[]) { return(0); }' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# save warnings/boilerplate of simple test code +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$rm conftest* + +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$rm -r conftest* + + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_LD=$LD +lt_save_GCC=$GCC +GCC=$GXX +lt_save_with_gnu_ld=$with_gnu_ld +lt_save_path_LD=$lt_cv_path_LD +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx +else + $as_unset lt_cv_prog_gnu_ld +fi +if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX +else + $as_unset lt_cv_path_LD +fi +test -z "${LDCXX+set}" || LD=$LDCXX +CC=${CXX-"c++"} +compiler=$CC +compiler_CXX=$CC +for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` + + +# We don't want -fno-exception wen compiling C++ code, so set the +# no_builtin_flag separately +if test "$GXX" = yes; then + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' +else + lt_prog_compiler_no_builtin_flag_CXX= +fi + +if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | ?:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { echo "$as_me:$LINENO: checking for GNU ld" >&5 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } +else + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } +fi +if test "${lt_cv_path_LD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in + *GNU* | *'with BFD'*) + test "$with_gnu_ld" != no && break + ;; + *) + test "$with_gnu_ld" != yes && break + ;; + esac + fi + done + IFS="$lt_save_ifs" +else + lt_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$lt_cv_path_LD" +if test -n "$LD"; then + { echo "$as_me:$LINENO: result: $LD" >&5 +echo "${ECHO_T}$LD" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} + { (exit 1); exit 1; }; } +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } +if test "${lt_cv_prog_gnu_ld+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # I'd rather use --version here, but apparently some GNU lds only accept -v. +case `$LD -v 2>&1 </dev/null` in +*GNU* | *'with BFD'*) + lt_cv_prog_gnu_ld=yes + ;; +*) + lt_cv_prog_gnu_ld=no + ;; +esac +fi +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$lt_cv_prog_gnu_ld + + + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ + grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_CXX= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + +else + GXX=no + with_gnu_ld=no + wlarc= +fi + +# PORTME: fill in a description of your system's C++ link characteristics +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } +ld_shlibs_CXX=yes +case $host_os in + aix3*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aix[4-9]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_CXX='' + hardcode_direct_CXX=yes + hardcode_libdir_separator_CXX=':' + link_all_deplibs_CXX=yes + + if test "$GXX" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + hardcode_direct_CXX=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_CXX=yes + hardcode_libdir_flag_spec_CXX='-L$libdir' + hardcode_libdir_separator_CXX= + fi + ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_CXX=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_CXX='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + +lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\(.*\)$/\1/ + p + } + }' +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + + archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_CXX="-z nodefs" + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + +lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\(.*\)$/\1/ + p + } + }' +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_CXX=' ${wl}-bernotok' + allow_undefined_flag_CXX=' ${wl}-berok' + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_CXX='$convenience' + archive_cmds_need_lc_CXX=yes + # This is similar to how AIX traditionally builds its shared libraries. + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_CXX=unsupported + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_CXX=no + fi + ;; + + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_CXX='-L$libdir' + allow_undefined_flag_CXX=unsupported + always_export_symbols_CXX=no + enable_shared_with_static_runtimes_CXX=yes + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + ld_shlibs_CXX=no + fi + ;; + darwin* | rhapsody*) + archive_cmds_need_lc_CXX=no + hardcode_direct_CXX=no + hardcode_automatic_CXX=yes + hardcode_shlibpath_var_CXX=unsupported + whole_archive_flag_spec_CXX='' + link_all_deplibs_CXX=yes + allow_undefined_flag_CXX="$_lt_dar_allow_undefined" + if test "$GXX" = yes ; then + output_verbose_link_cmd='echo' + archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" + module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" + archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" + module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + if test "$lt_cv_apple_cc_single_mod" != "yes"; then + archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" + archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" + fi + else + case $cc_basename in + xlc*) + output_verbose_link_cmd='echo' + archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + ;; + *) + ld_shlibs_CXX=no + ;; + esac + fi + ;; + + dgux*) + case $cc_basename in + ec++*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + ghcx*) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + freebsd[12]*) + # C++ shared libraries reported to be fairly broken before switch to ELF + ld_shlibs_CXX=no + ;; + freebsd-elf*) + archive_cmds_need_lc_CXX=no + ;; + freebsd* | dragonfly*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + ld_shlibs_CXX=yes + ;; + gnu*) + ;; + hpux9*) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + export_dynamic_flag_spec_CXX='${wl}-E' + hardcode_direct_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC*) + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + case $host_cpu in + hppa*64*|ia64*) ;; + *) + export_dynamic_flag_spec_CXX='${wl}-E' + ;; + esac + fi + case $host_cpu in + hppa*64*|ia64*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + ;; + *) + hardcode_direct_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC*) + case $host_cpu in + hppa*64*) + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case $host_cpu in + hppa*64*) + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + interix[3-9]*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + irix5* | irix6*) + case $cc_basename in + CC*) + # SGI C++ + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' + fi + fi + link_all_deplibs_CXX=yes + ;; + esac + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + ;; + linux* | k*bsd*-gnu) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc*) + # Intel C++ + with_gnu_ld=yes + # version 8.0 and above of icpc choke on multiply defined symbols + # if we add $predep_objects and $postdep_objects, however 7.1 and + # earlier do not add the objects themselves. + case `$CC -V 2>&1` in + *"Version 7."*) + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + *) # Version 8.0 or newer + tmp_idyn= + case $host_cpu in + ia64*) tmp_idyn=' -i_dynamic';; + esac + archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + esac + archive_cmds_need_lc_CXX=no + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + pgCC* | pgcpp*) + # Portland Group C++ compiler + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + ;; + cxx*) + # Compaq C++ + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + no_undefined_flag_CXX=' -zdefs' + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' + hardcode_libdir_flag_spec_CXX='-R$libdir' + whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + + # Not sure whether something based on + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 + # would be better. + output_verbose_link_cmd='echo' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' + ;; + esac + ;; + esac + ;; + lynxos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + m88k*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + mvs*) + case $cc_basename in + cxx*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_direct_CXX=yes + hardcode_shlibpath_var_CXX=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + openbsd2*) + # C++ shared libraries are fairly broken + ld_shlibs_CXX=no + ;; + openbsd*) + if test -f /usr/libexec/ld.so; then + hardcode_direct_CXX=yes + hardcode_shlibpath_var_CXX=no + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' + export_dynamic_flag_spec_CXX='${wl}-E' + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + fi + output_verbose_link_cmd='echo' + else + ld_shlibs_CXX=no + fi + ;; + osf3*) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + hardcode_libdir_separator_CXX=: + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' + + ;; + RCC*) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + cxx*) + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + osf4* | osf5*) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + hardcode_libdir_separator_CXX=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' + ;; + RCC*) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + cxx*) + allow_undefined_flag_CXX=' -expect_unresolved \*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ + $rm $lib.exp' + + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + psos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + lcc*) + # Lucid + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + solaris*) + case $cc_basename in + CC*) + # Sun C++ 4.2, 5.x and Centerline C++ + archive_cmds_need_lc_CXX=yes + no_undefined_flag_CXX=' -zdefs' + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_shlibpath_var_CXX=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. + # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' + ;; + esac + link_all_deplibs_CXX=yes + + output_verbose_link_cmd='echo' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' + ;; + gcx*) + # Green Hills C++ Compiler + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + no_undefined_flag_CXX=' ${wl}-z ${wl}defs' + if $CC --version | grep -v '^2\.7' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + fi + + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + fi + ;; + esac + ;; + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) + no_undefined_flag_CXX='${wl}-z,text' + archive_cmds_need_lc_CXX=no + hardcode_shlibpath_var_CXX=no + runpath_var='LD_RUN_PATH' + + case $cc_basename in + CC*) + archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + # For security reasons, it is highly recommended that you always + # use absolute paths for naming shared libraries, and exclude the + # DT_RUNPATH tag from executables and libraries. But doing so + # requires that you compile everything twice, which is a pain. + # So that behaviour is only enabled if SCOABSPATH is set to a + # non-empty value in the environment. Most likely only useful for + # creating official distributions of packages. + # This is a hack until libtool officially supports absolute path + # names for shared libraries. + no_undefined_flag_CXX='${wl}-z,text' + allow_undefined_flag_CXX='${wl}-z,nodefs' + archive_cmds_need_lc_CXX=no + hardcode_shlibpath_var_CXX=no + hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' + hardcode_libdir_separator_CXX=':' + link_all_deplibs_CXX=yes + export_dynamic_flag_spec_CXX='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + case $cc_basename in + CC*) + archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + vxworks*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; +esac +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; } +test "$ld_shlibs_CXX" = no && can_build_shared=no + +GCC_CXX="$GXX" +LD_CXX="$LD" + +cat > conftest.$ac_ext <<EOF +class Foo +{ +public: + Foo (void) { a = 0; } +private: + int a; +}; +EOF + +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Parse the compiler output and extract the necessary + # objects, libraries and library flags. + + # Sentinel used to keep track of whether or not we are before + # the conftest object file. + pre_test_object_deps_done=no + + # The `*' in the case matches for architectures that use `case' in + # $output_verbose_cmd can trigger glob expansion during the loop + # eval without this substitution. + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"` + + for p in `eval $output_verbose_link_cmd`; do + case $p in + + -L* | -R* | -l*) + # Some compilers place space between "-{L,R}" and the path. + # Remove the space. + if test $p = "-L" \ + || test $p = "-R"; then + prev=$p + continue + else + prev= + fi + + if test "$pre_test_object_deps_done" = no; then + case $p in + -L* | -R*) + # Internal compiler library paths should come after those + # provided the user. The postdeps already come after the + # user supplied libs so there is no need to process them. + if test -z "$compiler_lib_search_path_CXX"; then + compiler_lib_search_path_CXX="${prev}${p}" + else + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" + fi + ;; + # The "-l" case would never come before the object being + # linked, so don't bother handling this case. + esac + else + if test -z "$postdeps_CXX"; then + postdeps_CXX="${prev}${p}" + else + postdeps_CXX="${postdeps_CXX} ${prev}${p}" + fi + fi + ;; + + *.$objext) + # This assumes that the test object file only shows up + # once in the compiler output. + if test "$p" = "conftest.$objext"; then + pre_test_object_deps_done=yes + continue + fi + + if test "$pre_test_object_deps_done" = no; then + if test -z "$predep_objects_CXX"; then + predep_objects_CXX="$p" + else + predep_objects_CXX="$predep_objects_CXX $p" + fi + else + if test -z "$postdep_objects_CXX"; then + postdep_objects_CXX="$p" + else + postdep_objects_CXX="$postdep_objects_CXX $p" + fi + fi + ;; + + *) ;; # Ignore the rest. + + esac + done + + # Clean up. + rm -f a.out a.exe +else + echo "libtool.m4: error: problem compiling CXX test program" +fi + +$rm -f confest.$objext + +compiler_lib_search_dirs_CXX= +if test -n "$compiler_lib_search_path_CXX"; then + compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` +fi + +# PORTME: override above test on systems where it is broken +case $host_os in +interix[3-9]*) + # Interix 3.5 installs completely hosed .la files for C++, so rather than + # hack all around it, let's just trust "g++" to DTRT. + predep_objects_CXX= + postdep_objects_CXX= + postdeps_CXX= + ;; + +linux*) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + # + # The more standards-conforming stlport4 library is + # incompatible with the Cstd library. Avoid specifying + # it if it's in CXXFLAGS. Ignore libCrun as + # -library=stlport4 depends on it. + case " $CXX $CXXFLAGS " in + *" -library=stlport4 "*) + solaris_use_stlport4=yes + ;; + esac + if test "$solaris_use_stlport4" != yes; then + postdeps_CXX='-library=Cstd -library=Crun' + fi + ;; + esac + ;; + +solaris*) + case $cc_basename in + CC*) + # The more standards-conforming stlport4 library is + # incompatible with the Cstd library. Avoid specifying + # it if it's in CXXFLAGS. Ignore libCrun as + # -library=stlport4 depends on it. + case " $CXX $CXXFLAGS " in + *" -library=stlport4 "*) + solaris_use_stlport4=yes + ;; + esac + + # Adding this requires a known-good setup of shared libraries for + # Sun compiler versions before 5.6, else PIC objects from an old + # archive will be linked into the output, leading to subtle bugs. + if test "$solaris_use_stlport4" != yes; then + postdeps_CXX='-library=Cstd -library=Crun' + fi + ;; + esac + ;; +esac + +case " $postdeps_CXX " in +*" -lc "*) archive_cmds_need_lc_CXX=no ;; +esac + +lt_prog_compiler_wl_CXX= +lt_prog_compiler_pic_CXX= +lt_prog_compiler_static_CXX= + +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } + + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + fi + ;; + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' + ;; + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | cygwin* | os2* | pw32*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + lt_prog_compiler_pic_CXX='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_CXX='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + lt_prog_compiler_pic_CXX= + ;; + interix[3-9]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_CXX=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + else + case $host_os in + aix[4-9]*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + else + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68*) + # Green Hills C++ Compiler + # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + darwin*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + case $cc_basename in + xlc*) + lt_prog_compiler_pic_CXX='-qnocommon' + lt_prog_compiler_wl_CXX='-Wl,' + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++*) + lt_prog_compiler_pic_CXX='-KPIC' + ;; + ghcx*) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + freebsd* | dragonfly*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC*) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' + if test "$host_cpu" != ia64; then + lt_prog_compiler_pic_CXX='+Z' + fi + ;; + aCC*) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_CXX='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + interix*) + # This is c89, which is MS Visual C++ (no shared libs) + # Anyone wants to do a port? + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC*) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux* | k*bsd*-gnu) + case $cc_basename in + KCC*) + # KAI C++ Compiler + lt_prog_compiler_wl_CXX='--backend -Wl,' + lt_prog_compiler_pic_CXX='-fPIC' + ;; + icpc* | ecpc*) + # Intel C++ + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-static' + ;; + pgCC* | pgcpp*) + # Portland Group C++ compiler. + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-fpic' + lt_prog_compiler_static_CXX='-Bstatic' + ;; + cxx*) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-Bstatic' + lt_prog_compiler_wl_CXX='-Qoption ld ' + ;; + esac + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx*) + lt_prog_compiler_pic_CXX='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd* | netbsdelf*-gnu) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC*) + lt_prog_compiler_wl_CXX='--backend -Wl,' + ;; + RCC*) + # Rational C++ 2.4.1 + lt_prog_compiler_pic_CXX='-pic' + ;; + cxx*) + # Digital/Compaq C++ + lt_prog_compiler_wl_CXX='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + solaris*) + case $cc_basename in + CC*) + # Sun C++ 4.2, 5.x and Centerline C++ + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-Bstatic' + lt_prog_compiler_wl_CXX='-Qoption ld ' + ;; + gcx*) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + lt_prog_compiler_pic_CXX='-pic' + lt_prog_compiler_static_CXX='-Bstatic' + ;; + lcc*) + # Lucid + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + lt_prog_compiler_pic_CXX='-KPIC' + ;; + *) + ;; + esac + ;; + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + case $cc_basename in + CC*) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-Bstatic' + ;; + esac + ;; + vxworks*) + ;; + *) + lt_prog_compiler_can_build_shared_CXX=no + ;; + esac + fi + +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; } + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_CXX"; then + +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; } +if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_pic_works_CXX=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:12689: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:12693: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_pic_works_CXX=yes + fi + fi + $rm conftest* + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; } + +if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then + case $lt_prog_compiler_pic_CXX in + "" | " "*) ;; + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; + esac +else + lt_prog_compiler_pic_CXX= + lt_prog_compiler_can_build_shared_CXX=no +fi + +fi +case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_CXX= + ;; + *) + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" + ;; +esac + +# +# Check to make sure the static flag actually works. +# +wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } +if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_static_works_CXX=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_static_works_CXX=yes + fi + else + lt_cv_prog_compiler_static_works_CXX=yes + fi + fi + $rm -r conftest* + LDFLAGS="$save_LDFLAGS" + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; } + +if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then + : +else + lt_prog_compiler_static_CXX= +fi + + +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o_CXX=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:12793: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:12797: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o_CXX=yes + fi + fi + chmod u+w . 2>&5 + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files + $rm out/* && rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; } + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6; } + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } + + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in + aix[4-9]*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + export_symbols_cmds_CXX="$ltdll_cmds" + ;; + cygwin* | mingw*) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' + ;; + linux* | k*bsd*-gnu) + link_all_deplibs_CXX=no + ;; + *) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac + exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' + +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; } +test "$ld_shlibs_CXX" = no && can_build_shared=no + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_CXX" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_CXX=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_CXX in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } + $rm conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_CXX + pic_flag=$lt_prog_compiler_pic_CXX + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX + allow_undefined_flag_CXX= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_CXX=no + else + archive_cmds_need_lc_CXX=yes + fi + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; } + ;; + esac + fi + ;; +esac + +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" + +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix[4-9]*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib<name>.so + # instead of lib<name>.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[45]*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[123]*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +interix[3-9]*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux* | k*bsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsdelf*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='NetBSD ld.elf_so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=freebsd-elf + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + if test "$with_gnu_ld" = yes; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + shlibpath_overrides_runpath=no + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + shlibpath_overrides_runpath=yes + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6; } +test "$dynamic_linker" = no && can_build_shared=no + +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" +fi + +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" +fi + +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } +hardcode_action_CXX= +if test -n "$hardcode_libdir_flag_spec_CXX" || \ + test -n "$runpath_var_CXX" || \ + test "X$hardcode_automatic_CXX" = "Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_CXX" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && + test "$hardcode_minus_L_CXX" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_CXX=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_CXX=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_CXX=unsupported +fi +{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 +echo "${ECHO_T}$hardcode_action_CXX" >&6; } + +if test "$hardcode_action_CXX" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_CXX \ + CC_CXX \ + LD_CXX \ + lt_prog_compiler_wl_CXX \ + lt_prog_compiler_pic_CXX \ + lt_prog_compiler_static_CXX \ + lt_prog_compiler_no_builtin_flag_CXX \ + export_dynamic_flag_spec_CXX \ + thread_safe_flag_spec_CXX \ + whole_archive_flag_spec_CXX \ + enable_shared_with_static_runtimes_CXX \ + old_archive_cmds_CXX \ + old_archive_from_new_cmds_CXX \ + predep_objects_CXX \ + postdep_objects_CXX \ + predeps_CXX \ + postdeps_CXX \ + compiler_lib_search_path_CXX \ + compiler_lib_search_dirs_CXX \ + archive_cmds_CXX \ + archive_expsym_cmds_CXX \ + postinstall_cmds_CXX \ + postuninstall_cmds_CXX \ + old_archive_from_expsyms_cmds_CXX \ + allow_undefined_flag_CXX \ + no_undefined_flag_CXX \ + export_symbols_cmds_CXX \ + hardcode_libdir_flag_spec_CXX \ + hardcode_libdir_flag_spec_ld_CXX \ + hardcode_libdir_separator_CXX \ + hardcode_automatic_CXX \ + module_cmds_CXX \ + module_expsym_cmds_CXX \ + lt_cv_prog_compiler_c_o_CXX \ + fix_srcfile_path_CXX \ + exclude_expsyms_CXX \ + include_expsyms_CXX; do + + case $var in + old_archive_cmds_CXX | \ + old_archive_from_new_cmds_CXX | \ + archive_cmds_CXX | \ + archive_expsym_cmds_CXX | \ + module_cmds_CXX | \ + module_expsym_cmds_CXX | \ + old_archive_from_expsyms_cmds_CXX | \ + export_symbols_cmds_CXX | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_CXX + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# LTCC compiler flags. +LTCFLAGS=$lt_LTCFLAGS + +# A language-specific compiler. +CC=$lt_compiler_CXX + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_CXX + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_CXX + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$lt_STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_CXX + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext_cmds='$shrext_cmds' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_CXX +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX + +# Must we lock files when doing compilation? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_CXX + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_CXX +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_CXX +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_CXX +module_expsym_cmds=$lt_module_expsym_cmds_CXX + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_CXX + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_CXX + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_CXX + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_CXX + +# The directories searched by this compiler when creating a shared +# library +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_CXX + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_CXX + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_CXX + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_CXX + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_CXX + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_CXX + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_CXX + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path=$lt_fix_srcfile_path + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_CXX + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_CXX + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_CXX + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_CXX + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` + if test -f "$ltmain_in"; then + test -f Makefile && make "$ltmain" + fi +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC=$lt_save_CC +LDCXX=$LD +LD=$lt_save_LD +GCC=$lt_save_GCC +with_gnu_ldcxx=$with_gnu_ld +with_gnu_ld=$lt_save_with_gnu_ld +lt_cv_path_LDCXX=$lt_cv_path_LD +lt_cv_path_LD=$lt_save_path_LD +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld + + else + tagname="" + fi + ;; + + F77) + if test -n "$F77" && test "X$F77" != "Xno"; then + +ac_ext=f +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_f77_compiler_gnu + + +archive_cmds_need_lc_F77=no +allow_undefined_flag_F77= +always_export_symbols_F77=no +archive_expsym_cmds_F77= +export_dynamic_flag_spec_F77= +hardcode_direct_F77=no +hardcode_libdir_flag_spec_F77= +hardcode_libdir_flag_spec_ld_F77= +hardcode_libdir_separator_F77= +hardcode_minus_L_F77=no +hardcode_automatic_F77=no +module_cmds_F77= +module_expsym_cmds_F77= +link_all_deplibs_F77=unknown +old_archive_cmds_F77=$old_archive_cmds +no_undefined_flag_F77= +whole_archive_flag_spec_F77= +enable_shared_with_static_runtimes_F77=no + +# Source file extension for f77 test sources. +ac_ext=f + +# Object file extension for compiled f77 test sources. +objext=o +objext_F77=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="\ + subroutine t + return + end +" + +# Code to be used in simple link tests +lt_simple_link_test_code="\ + program t + end +" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# save warnings/boilerplate of simple test code +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$rm conftest* + +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$rm -r conftest* + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${F77-"f77"} +compiler=$CC +compiler_F77=$CC +for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` + + +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5 +echo "${ECHO_T}$can_build_shared" >&6; } + +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case $host_os in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; +aix[4-9]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; +esac +{ echo "$as_me:$LINENO: result: $enable_shared" >&5 +echo "${ECHO_T}$enable_shared" >&6; } + +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +{ echo "$as_me:$LINENO: result: $enable_static" >&5 +echo "${ECHO_T}$enable_static" >&6; } + +GCC_F77="$G77" +LD_F77="$LD" + +lt_prog_compiler_wl_F77= +lt_prog_compiler_pic_F77= +lt_prog_compiler_static_F77= + +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } + + if test "$GCC" = yes; then + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_static_F77='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_F77='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | cygwin* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + lt_prog_compiler_pic_F77='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_F77='-fno-common' + ;; + + interix[3-9]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared_F77=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_F77=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_F77='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic_F77='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl_F77='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_F77='-Bstatic' + else + lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' + fi + ;; + darwin*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + case $cc_basename in + xlc*) + lt_prog_compiler_pic_F77='-qnocommon' + lt_prog_compiler_wl_F77='-Wl,' + ;; + esac + ;; + + mingw* | cygwin* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_F77='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl_F77='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_F77='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static_F77='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl_F77='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static_F77='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + linux* | k*bsd*-gnu) + case $cc_basename in + icc* | ecc*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-static' + ;; + pgcc* | pgf77* | pgf90* | pgf95*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-fpic' + lt_prog_compiler_static_F77='-Bstatic' + ;; + ccc*) + lt_prog_compiler_wl_F77='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static_F77='-non_shared' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C 5.9 + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + lt_prog_compiler_wl_F77='-Wl,' + ;; + *Sun\ F*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + lt_prog_compiler_wl_F77='' + ;; + esac + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl_F77='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static_F77='-non_shared' + ;; + + rdos*) + lt_prog_compiler_static_F77='-non_shared' + ;; + + solaris*) + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + case $cc_basename in + f77* | f90* | f95*) + lt_prog_compiler_wl_F77='-Qoption ld ';; + *) + lt_prog_compiler_wl_F77='-Wl,';; + esac + ;; + + sunos4*) + lt_prog_compiler_wl_F77='-Qoption ld ' + lt_prog_compiler_pic_F77='-PIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic_F77='-Kconform_pic' + lt_prog_compiler_static_F77='-Bstatic' + fi + ;; + + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + unicos*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_can_build_shared_F77=no + ;; + + uts4*) + lt_prog_compiler_pic_F77='-pic' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared_F77=no + ;; + esac + fi + +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; } + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_F77"; then + +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; } +if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_pic_works_F77=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_F77" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:14391: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:14395: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_pic_works_F77=yes + fi + fi + $rm conftest* + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; } + +if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then + case $lt_prog_compiler_pic_F77 in + "" | " "*) ;; + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; + esac +else + lt_prog_compiler_pic_F77= + lt_prog_compiler_can_build_shared_F77=no +fi + +fi +case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_F77= + ;; + *) + lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" + ;; +esac + +# +# Check to make sure the static flag actually works. +# +wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\" +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } +if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_static_works_F77=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_static_works_F77=yes + fi + else + lt_cv_prog_compiler_static_works_F77=yes + fi + fi + $rm -r conftest* + LDFLAGS="$save_LDFLAGS" + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; } + +if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then + : +else + lt_prog_compiler_static_F77= +fi + + +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o_F77=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:14495: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:14499: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o_F77=yes + fi + fi + chmod u+w . 2>&5 + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files + $rm out/* && rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; } + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6; } + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } + + runpath_var= + allow_undefined_flag_F77= + enable_shared_with_static_runtimes_F77=no + archive_cmds_F77= + archive_expsym_cmds_F77= + old_archive_From_new_cmds_F77= + old_archive_from_expsyms_cmds_F77= + export_dynamic_flag_spec_F77= + whole_archive_flag_spec_F77= + thread_safe_flag_spec_F77= + hardcode_libdir_flag_spec_F77= + hardcode_libdir_flag_spec_ld_F77= + hardcode_libdir_separator_F77= + hardcode_direct_F77=no + hardcode_minus_L_F77=no + hardcode_shlibpath_var_F77=unsupported + link_all_deplibs_F77=unknown + hardcode_automatic_F77=no + module_cmds_F77= + module_expsym_cmds_F77= + always_export_symbols_F77=no + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms_F77= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + # Exclude shared library initialization/finalization symbols. + extract_expsyms_cmds= + # Just being paranoid about ensuring that cc_basename is set. + for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs_F77=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_F77='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_F77= + fi + supports_anon_versioning=no + case `$LD -v 2>/dev/null` in + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + + # See if GNU ld supports shared libraries. + case $host_os in + aix[3-9]*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_F77=no + cat <<EOF 1>&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs_F77=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_F77=unsupported + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_F77=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_F77='-L$libdir' + allow_undefined_flag_F77=unsupported + always_export_symbols_F77=no + enable_shared_with_static_runtimes_F77=yes + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + ld_shlibs_F77=no + fi + ;; + + interix[3-9]*) + hardcode_direct_F77=no + hardcode_shlibpath_var_F77=no + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + export_dynamic_flag_spec_F77='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + + gnu* | linux* | k*bsd*-gnu) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + tmp_addflag= + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler + whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers + whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + esac + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) # Sun C 5.9 + whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_sharedflag='-G' ;; + *Sun\ F*) # Sun Fortran 8.3 + tmp_sharedflag='-G' ;; + *) + tmp_sharedflag='-shared' ;; + esac + archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + + if test $supports_anon_versioning = yes; then + archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + $echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + link_all_deplibs_F77=no + else + ld_shlibs_F77=no + fi + ;; + + netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs_F77=no + cat <<EOF 1>&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_F77=no + fi + ;; + + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) + ld_shlibs_F77=no + cat <<_LT_EOF 1>&2 + +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not +*** reliably create shared libraries on SCO systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + ;; + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' + else + ld_shlibs_F77=no + fi + ;; + esac + ;; + + sunos4*) + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_F77=no + fi + ;; + esac + + if test "$ld_shlibs_F77" = no; then + runpath_var= + hardcode_libdir_flag_spec_F77= + export_dynamic_flag_spec_F77= + whole_archive_flag_spec_F77= + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag_F77=unsupported + always_export_symbols_F77=yes + archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L_F77=yes + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct_F77=unsupported + fi + ;; + + aix[4-9]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_F77='' + hardcode_direct_F77=yes + hardcode_libdir_separator_F77=':' + link_all_deplibs_F77=yes + + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + hardcode_direct_F77=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_F77=yes + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_libdir_separator_F77= + fi + ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_F77=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_F77='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_f77_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + +lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\(.*\)$/\1/ + p + } + }' +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_F77="-z nodefs" + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_f77_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + +lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\(.*\)$/\1/ + p + } + }' +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_F77=' ${wl}-bernotok' + allow_undefined_flag_F77=' ${wl}-berok' + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_F77='$convenience' + archive_cmds_need_lc_F77=yes + # This is similar to how AIX traditionally builds its shared libraries. + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + # see comment about different semantics on the GNU ld section + ld_shlibs_F77=no + ;; + + bsdi[45]*) + export_dynamic_flag_spec_F77=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_F77=' ' + allow_undefined_flag_F77=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds_F77='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path_F77='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes_F77=yes + ;; + + darwin* | rhapsody*) + case $host_os in + rhapsody* | darwin1.[012]) + allow_undefined_flag_F77='${wl}-undefined ${wl}suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[012]) + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + ;; + 10.*) + allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup' + ;; + esac + fi + ;; + esac + archive_cmds_need_lc_F77=no + hardcode_direct_F77=no + hardcode_automatic_F77=yes + hardcode_shlibpath_var_F77=unsupported + whole_archive_flag_spec_F77='' + link_all_deplibs_F77=yes + if test "$GCC" = yes ; then + output_verbose_link_cmd='echo' + archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" + module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" + archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" + module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + else + case $cc_basename in + xlc*) + output_verbose_link_cmd='echo' + archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + ;; + *) + ld_shlibs_F77=no + ;; + esac + fi + ;; + + dgux*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_shlibpath_var_F77=no + ;; + + freebsd1*) + ld_shlibs_F77=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_minus_L_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | dragonfly*) + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + ;; + + hpux10*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + fi + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_F77=: + + hardcode_direct_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + fi + ;; + + hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case $host_cpu in + hppa*64*) + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case $host_cpu in + hppa*64*) + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_F77=: + + case $host_cpu in + hppa*64*|ia64*) + hardcode_libdir_flag_spec_ld_F77='+b $libdir' + hardcode_direct_F77=no + hardcode_shlibpath_var_F77=no + ;; + *) + hardcode_direct_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' + fi + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + link_all_deplibs_F77=yes + ;; + + netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + newsos6) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_shlibpath_var_F77=no + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + export_dynamic_flag_spec_F77='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + ;; + *) + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + ;; + esac + fi + else + ld_shlibs_F77=no + fi + ;; + + os2*) + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + allow_undefined_flag_F77=unsupported + archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag_F77=' -expect_unresolved \*' + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag_F77=' -expect_unresolved \*' + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec_F77='-rpath $libdir' + fi + hardcode_libdir_separator_F77=: + ;; + + solaris*) + no_undefined_flag_F77=' -z text' + if test "$GCC" = yes; then + wlarc='${wl}' + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + wlarc='' + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_shlibpath_var_F77=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. GCC discards it without `$wl', + # but is careful enough not to reorder. + # Supported since Solaris 2.6 (maybe 2.5.1?) + if test "$GCC" = yes; then + whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + else + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' + fi + ;; + esac + link_all_deplibs_F77=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_direct_F77=yes + hardcode_minus_L_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds_F77='$CC -r -o $output$reload_objs' + hardcode_direct_F77=no + ;; + motorola) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_F77=no + ;; + + sysv4.3*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + export_dynamic_flag_spec_F77='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs_F77=yes + fi + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) + no_undefined_flag_F77='${wl}-z,text' + archive_cmds_need_lc_F77=no + hardcode_shlibpath_var_F77=no + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + no_undefined_flag_F77='${wl}-z,text' + allow_undefined_flag_F77='${wl}-z,nodefs' + archive_cmds_need_lc_F77=no + hardcode_shlibpath_var_F77=no + hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' + hardcode_libdir_separator_F77=':' + link_all_deplibs_F77=yes + export_dynamic_flag_spec_F77='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + uts4*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_shlibpath_var_F77=no + ;; + + *) + ld_shlibs_F77=no + ;; + esac + fi + +{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 +echo "${ECHO_T}$ld_shlibs_F77" >&6; } +test "$ld_shlibs_F77" = no && can_build_shared=no + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_F77" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_F77=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_F77 in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } + $rm conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_F77 + pic_flag=$lt_prog_compiler_pic_F77 + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_F77 + allow_undefined_flag_F77= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_F77=no + else + archive_cmds_need_lc_F77=yes + fi + allow_undefined_flag_F77=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; } + ;; + esac + fi + ;; +esac + +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" + +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix[4-9]*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib<name>.so + # instead of lib<name>.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[45]*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[123]*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +interix[3-9]*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux* | k*bsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsdelf*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='NetBSD ld.elf_so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=freebsd-elf + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + if test "$with_gnu_ld" = yes; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + shlibpath_overrides_runpath=no + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + shlibpath_overrides_runpath=yes + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6; } +test "$dynamic_linker" = no && can_build_shared=no + +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" +fi + +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" +fi + +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } +hardcode_action_F77= +if test -n "$hardcode_libdir_flag_spec_F77" || \ + test -n "$runpath_var_F77" || \ + test "X$hardcode_automatic_F77" = "Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_F77" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && + test "$hardcode_minus_L_F77" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_F77=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_F77=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_F77=unsupported +fi +{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 +echo "${ECHO_T}$hardcode_action_F77" >&6; } + +if test "$hardcode_action_F77" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_F77 \ + CC_F77 \ + LD_F77 \ + lt_prog_compiler_wl_F77 \ + lt_prog_compiler_pic_F77 \ + lt_prog_compiler_static_F77 \ + lt_prog_compiler_no_builtin_flag_F77 \ + export_dynamic_flag_spec_F77 \ + thread_safe_flag_spec_F77 \ + whole_archive_flag_spec_F77 \ + enable_shared_with_static_runtimes_F77 \ + old_archive_cmds_F77 \ + old_archive_from_new_cmds_F77 \ + predep_objects_F77 \ + postdep_objects_F77 \ + predeps_F77 \ + postdeps_F77 \ + compiler_lib_search_path_F77 \ + compiler_lib_search_dirs_F77 \ + archive_cmds_F77 \ + archive_expsym_cmds_F77 \ + postinstall_cmds_F77 \ + postuninstall_cmds_F77 \ + old_archive_from_expsyms_cmds_F77 \ + allow_undefined_flag_F77 \ + no_undefined_flag_F77 \ + export_symbols_cmds_F77 \ + hardcode_libdir_flag_spec_F77 \ + hardcode_libdir_flag_spec_ld_F77 \ + hardcode_libdir_separator_F77 \ + hardcode_automatic_F77 \ + module_cmds_F77 \ + module_expsym_cmds_F77 \ + lt_cv_prog_compiler_c_o_F77 \ + fix_srcfile_path_F77 \ + exclude_expsyms_F77 \ + include_expsyms_F77; do + + case $var in + old_archive_cmds_F77 | \ + old_archive_from_new_cmds_F77 | \ + archive_cmds_F77 | \ + archive_expsym_cmds_F77 | \ + module_cmds_F77 | \ + module_expsym_cmds_F77 | \ + old_archive_from_expsyms_cmds_F77 | \ + export_symbols_cmds_F77 | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_F77 + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# LTCC compiler flags. +LTCFLAGS=$lt_LTCFLAGS + +# A language-specific compiler. +CC=$lt_compiler_F77 + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_F77 + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_F77 + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$lt_STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_F77 + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext_cmds='$shrext_cmds' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_F77 +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 + +# Must we lock files when doing compilation? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_F77 + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_F77 +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_F77 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77 +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_F77 +module_expsym_cmds=$lt_module_expsym_cmds_F77 + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_F77 + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_F77 + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_F77 + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_F77 + +# The directories searched by this compiler when creating a shared +# library +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77 + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_F77 + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_F77 + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_F77 + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_F77 + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_F77 + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_F77 + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_F77 + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_F77 + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path=$lt_fix_srcfile_path + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_F77 + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_F77 + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_F77 + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_F77 + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` + if test -f "$ltmain_in"; then + test -f Makefile && make "$ltmain" + fi +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC="$lt_save_CC" + + else + tagname="" + fi + ;; + + GCJ) + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then + + +# Source file extension for Java test sources. +ac_ext=java + +# Object file extension for compiled Java test sources. +objext=o +objext_GCJ=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="class foo {}" + +# Code to be used in simple link tests +lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# save warnings/boilerplate of simple test code +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$rm conftest* + +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$rm -r conftest* + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${GCJ-"gcj"} +compiler=$CC +compiler_GCJ=$CC +for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` + + +# GCJ did not exist at the time GCC didn't implicitly link libc in. +archive_cmds_need_lc_GCJ=no + +old_archive_cmds_GCJ=$old_archive_cmds + + +lt_prog_compiler_no_builtin_flag_GCJ= + +if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' + + +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:16715: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:16719: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $rm conftest* + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } + +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" +else + : +fi + +fi + +lt_prog_compiler_wl_GCJ= +lt_prog_compiler_pic_GCJ= +lt_prog_compiler_static_GCJ= + +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } + + if test "$GCC" = yes; then + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_static_GCJ='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_GCJ='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | cygwin* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_GCJ='-fno-common' + ;; + + interix[3-9]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared_GCJ=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_GCJ=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_GCJ='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic_GCJ='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl_GCJ='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_GCJ='-Bstatic' + else + lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' + fi + ;; + darwin*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + case $cc_basename in + xlc*) + lt_prog_compiler_pic_GCJ='-qnocommon' + lt_prog_compiler_wl_GCJ='-Wl,' + ;; + esac + ;; + + mingw* | cygwin* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl_GCJ='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_GCJ='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl_GCJ='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static_GCJ='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + linux* | k*bsd*-gnu) + case $cc_basename in + icc* | ecc*) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-static' + ;; + pgcc* | pgf77* | pgf90* | pgf95*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-fpic' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + ccc*) + lt_prog_compiler_wl_GCJ='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static_GCJ='-non_shared' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C 5.9 + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' + lt_prog_compiler_wl_GCJ='-Wl,' + ;; + *Sun\ F*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' + lt_prog_compiler_wl_GCJ='' + ;; + esac + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl_GCJ='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static_GCJ='-non_shared' + ;; + + rdos*) + lt_prog_compiler_static_GCJ='-non_shared' + ;; + + solaris*) + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' + case $cc_basename in + f77* | f90* | f95*) + lt_prog_compiler_wl_GCJ='-Qoption ld ';; + *) + lt_prog_compiler_wl_GCJ='-Wl,';; + esac + ;; + + sunos4*) + lt_prog_compiler_wl_GCJ='-Qoption ld ' + lt_prog_compiler_pic_GCJ='-PIC' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3*) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic_GCJ='-Kconform_pic' + lt_prog_compiler_static_GCJ='-Bstatic' + fi + ;; + + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + unicos*) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_can_build_shared_GCJ=no + ;; + + uts4*) + lt_prog_compiler_pic_GCJ='-pic' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared_GCJ=no + ;; + esac + fi + +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; } + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_GCJ"; then + +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; } +if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_pic_works_GCJ=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_GCJ" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:17005: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:17009: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_pic_works_GCJ=yes + fi + fi + $rm conftest* + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; } + +if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then + case $lt_prog_compiler_pic_GCJ in + "" | " "*) ;; + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; + esac +else + lt_prog_compiler_pic_GCJ= + lt_prog_compiler_can_build_shared_GCJ=no +fi + +fi +case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_GCJ= + ;; + *) + lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" + ;; +esac + +# +# Check to make sure the static flag actually works. +# +wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\" +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } +if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_static_works_GCJ=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_static_works_GCJ=yes + fi + else + lt_cv_prog_compiler_static_works_GCJ=yes + fi + fi + $rm -r conftest* + LDFLAGS="$save_LDFLAGS" + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; } + +if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then + : +else + lt_prog_compiler_static_GCJ= +fi + + +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o_GCJ=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:17109: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:17113: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o_GCJ=yes + fi + fi + chmod u+w . 2>&5 + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files + $rm out/* && rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; } + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6; } + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } + + runpath_var= + allow_undefined_flag_GCJ= + enable_shared_with_static_runtimes_GCJ=no + archive_cmds_GCJ= + archive_expsym_cmds_GCJ= + old_archive_From_new_cmds_GCJ= + old_archive_from_expsyms_cmds_GCJ= + export_dynamic_flag_spec_GCJ= + whole_archive_flag_spec_GCJ= + thread_safe_flag_spec_GCJ= + hardcode_libdir_flag_spec_GCJ= + hardcode_libdir_flag_spec_ld_GCJ= + hardcode_libdir_separator_GCJ= + hardcode_direct_GCJ=no + hardcode_minus_L_GCJ=no + hardcode_shlibpath_var_GCJ=unsupported + link_all_deplibs_GCJ=unknown + hardcode_automatic_GCJ=no + module_cmds_GCJ= + module_expsym_cmds_GCJ= + always_export_symbols_GCJ=no + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms_GCJ= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + # Exclude shared library initialization/finalization symbols. + extract_expsyms_cmds= + # Just being paranoid about ensuring that cc_basename is set. + for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs_GCJ=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_GCJ= + fi + supports_anon_versioning=no + case `$LD -v 2>/dev/null` in + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + + # See if GNU ld supports shared libraries. + case $host_os in + aix[3-9]*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_GCJ=no + cat <<EOF 1>&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs_GCJ=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_GCJ=unsupported + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_GCJ='-L$libdir' + allow_undefined_flag_GCJ=unsupported + always_export_symbols_GCJ=no + enable_shared_with_static_runtimes_GCJ=yes + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + ld_shlibs_GCJ=no + fi + ;; + + interix[3-9]*) + hardcode_direct_GCJ=no + hardcode_shlibpath_var_GCJ=no + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' + export_dynamic_flag_spec_GCJ='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + + gnu* | linux* | k*bsd*-gnu) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + tmp_addflag= + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler + whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers + whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + esac + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) # Sun C 5.9 + whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_sharedflag='-G' ;; + *Sun\ F*) # Sun Fortran 8.3 + tmp_sharedflag='-G' ;; + *) + tmp_sharedflag='-shared' ;; + esac + archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + + if test $supports_anon_versioning = yes; then + archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + $echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + link_all_deplibs_GCJ=no + else + ld_shlibs_GCJ=no + fi + ;; + + netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs_GCJ=no + cat <<EOF 1>&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; + + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) + ld_shlibs_GCJ=no + cat <<_LT_EOF 1>&2 + +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not +*** reliably create shared libraries on SCO systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + ;; + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; + esac + ;; + + sunos4*) + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; + esac + + if test "$ld_shlibs_GCJ" = no; then + runpath_var= + hardcode_libdir_flag_spec_GCJ= + export_dynamic_flag_spec_GCJ= + whole_archive_flag_spec_GCJ= + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag_GCJ=unsupported + always_export_symbols_GCJ=yes + archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L_GCJ=yes + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct_GCJ=unsupported + fi + ;; + + aix[4-9]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_GCJ='' + hardcode_direct_GCJ=yes + hardcode_libdir_separator_GCJ=':' + link_all_deplibs_GCJ=yes + + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + hardcode_direct_GCJ=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_GCJ=yes + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_libdir_separator_GCJ= + fi + ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_GCJ=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_GCJ='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + +lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\(.*\)$/\1/ + p + } + }' +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_GCJ="-z nodefs" + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + +lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\(.*\)$/\1/ + p + } + }' +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_GCJ=' ${wl}-bernotok' + allow_undefined_flag_GCJ=' ${wl}-berok' + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_GCJ='$convenience' + archive_cmds_need_lc_GCJ=yes + # This is similar to how AIX traditionally builds its shared libraries. + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + # see comment about different semantics on the GNU ld section + ld_shlibs_GCJ=no + ;; + + bsdi[45]*) + export_dynamic_flag_spec_GCJ=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_GCJ=' ' + allow_undefined_flag_GCJ=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds_GCJ='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes_GCJ=yes + ;; + + darwin* | rhapsody*) + case $host_os in + rhapsody* | darwin1.[012]) + allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[012]) + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + ;; + 10.*) + allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup' + ;; + esac + fi + ;; + esac + archive_cmds_need_lc_GCJ=no + hardcode_direct_GCJ=no + hardcode_automatic_GCJ=yes + hardcode_shlibpath_var_GCJ=unsupported + whole_archive_flag_spec_GCJ='' + link_all_deplibs_GCJ=yes + if test "$GCC" = yes ; then + output_verbose_link_cmd='echo' + archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" + module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" + archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" + module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + else + case $cc_basename in + xlc*) + output_verbose_link_cmd='echo' + archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + ;; + *) + ld_shlibs_GCJ=no + ;; + esac + fi + ;; + + dgux*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_shlibpath_var_GCJ=no + ;; + + freebsd1*) + ld_shlibs_GCJ=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | dragonfly*) + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + ;; + + hpux10*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + fi + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + + hardcode_direct_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + fi + ;; + + hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case $host_cpu in + hppa*64*) + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case $host_cpu in + hppa*64*) + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + + case $host_cpu in + hppa*64*|ia64*) + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' + hardcode_direct_GCJ=no + hardcode_shlibpath_var_GCJ=no + ;; + *) + hardcode_direct_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' + fi + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + link_all_deplibs_GCJ=yes + ;; + + netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + newsos6) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_shlibpath_var_GCJ=no + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' + export_dynamic_flag_spec_GCJ='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + ;; + *) + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' + ;; + esac + fi + else + ld_shlibs_GCJ=no + fi + ;; + + os2*) + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + allow_undefined_flag_GCJ=unsupported + archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag_GCJ=' -expect_unresolved \*' + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag_GCJ=' -expect_unresolved \*' + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec_GCJ='-rpath $libdir' + fi + hardcode_libdir_separator_GCJ=: + ;; + + solaris*) + no_undefined_flag_GCJ=' -z text' + if test "$GCC" = yes; then + wlarc='${wl}' + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + wlarc='' + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_shlibpath_var_GCJ=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. GCC discards it without `$wl', + # but is careful enough not to reorder. + # Supported since Solaris 2.6 (maybe 2.5.1?) + if test "$GCC" = yes; then + whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + else + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' + fi + ;; + esac + link_all_deplibs_GCJ=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds_GCJ='$CC -r -o $output$reload_objs' + hardcode_direct_GCJ=no + ;; + motorola) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_GCJ=no + ;; + + sysv4.3*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + export_dynamic_flag_spec_GCJ='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs_GCJ=yes + fi + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) + no_undefined_flag_GCJ='${wl}-z,text' + archive_cmds_need_lc_GCJ=no + hardcode_shlibpath_var_GCJ=no + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + no_undefined_flag_GCJ='${wl}-z,text' + allow_undefined_flag_GCJ='${wl}-z,nodefs' + archive_cmds_need_lc_GCJ=no + hardcode_shlibpath_var_GCJ=no + hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' + hardcode_libdir_separator_GCJ=':' + link_all_deplibs_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + uts4*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_shlibpath_var_GCJ=no + ;; + + *) + ld_shlibs_GCJ=no + ;; + esac + fi + +{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6; } +test "$ld_shlibs_GCJ" = no && can_build_shared=no + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_GCJ" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_GCJ=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_GCJ in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } + $rm conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_GCJ + pic_flag=$lt_prog_compiler_pic_GCJ + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ + allow_undefined_flag_GCJ= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_GCJ=no + else + archive_cmds_need_lc_GCJ=yes + fi + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; } + ;; + esac + fi + ;; +esac + +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" + +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix[4-9]*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib<name>.so + # instead of lib<name>.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[45]*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[123]*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +interix[3-9]*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux* | k*bsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsdelf*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='NetBSD ld.elf_so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=freebsd-elf + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + if test "$with_gnu_ld" = yes; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + shlibpath_overrides_runpath=no + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + shlibpath_overrides_runpath=yes + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6; } +test "$dynamic_linker" = no && can_build_shared=no + +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" +fi + +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" +fi + +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } +hardcode_action_GCJ= +if test -n "$hardcode_libdir_flag_spec_GCJ" || \ + test -n "$runpath_var_GCJ" || \ + test "X$hardcode_automatic_GCJ" = "Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_GCJ" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && + test "$hardcode_minus_L_GCJ" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_GCJ=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_GCJ=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_GCJ=unsupported +fi +{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 +echo "${ECHO_T}$hardcode_action_GCJ" >&6; } + +if test "$hardcode_action_GCJ" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_GCJ \ + CC_GCJ \ + LD_GCJ \ + lt_prog_compiler_wl_GCJ \ + lt_prog_compiler_pic_GCJ \ + lt_prog_compiler_static_GCJ \ + lt_prog_compiler_no_builtin_flag_GCJ \ + export_dynamic_flag_spec_GCJ \ + thread_safe_flag_spec_GCJ \ + whole_archive_flag_spec_GCJ \ + enable_shared_with_static_runtimes_GCJ \ + old_archive_cmds_GCJ \ + old_archive_from_new_cmds_GCJ \ + predep_objects_GCJ \ + postdep_objects_GCJ \ + predeps_GCJ \ + postdeps_GCJ \ + compiler_lib_search_path_GCJ \ + compiler_lib_search_dirs_GCJ \ + archive_cmds_GCJ \ + archive_expsym_cmds_GCJ \ + postinstall_cmds_GCJ \ + postuninstall_cmds_GCJ \ + old_archive_from_expsyms_cmds_GCJ \ + allow_undefined_flag_GCJ \ + no_undefined_flag_GCJ \ + export_symbols_cmds_GCJ \ + hardcode_libdir_flag_spec_GCJ \ + hardcode_libdir_flag_spec_ld_GCJ \ + hardcode_libdir_separator_GCJ \ + hardcode_automatic_GCJ \ + module_cmds_GCJ \ + module_expsym_cmds_GCJ \ + lt_cv_prog_compiler_c_o_GCJ \ + fix_srcfile_path_GCJ \ + exclude_expsyms_GCJ \ + include_expsyms_GCJ; do + + case $var in + old_archive_cmds_GCJ | \ + old_archive_from_new_cmds_GCJ | \ + archive_cmds_GCJ | \ + archive_expsym_cmds_GCJ | \ + module_cmds_GCJ | \ + module_expsym_cmds_GCJ | \ + old_archive_from_expsyms_cmds_GCJ | \ + export_symbols_cmds_GCJ | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_GCJ + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# LTCC compiler flags. +LTCFLAGS=$lt_LTCFLAGS + +# A language-specific compiler. +CC=$lt_compiler_GCJ + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_GCJ + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_GCJ + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$lt_STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_GCJ + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext_cmds='$shrext_cmds' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_GCJ +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ + +# Must we lock files when doing compilation? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_GCJ + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_GCJ +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_GCJ +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_GCJ +module_expsym_cmds=$lt_module_expsym_cmds_GCJ + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_GCJ + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_GCJ + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_GCJ + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_GCJ + +# The directories searched by this compiler when creating a shared +# library +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_GCJ + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_GCJ + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_GCJ + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_GCJ + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_GCJ + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_GCJ + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_GCJ + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path=$lt_fix_srcfile_path + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_GCJ + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_GCJ + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_GCJ + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_GCJ + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` + if test -f "$ltmain_in"; then + test -f Makefile && make "$ltmain" + fi +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC="$lt_save_CC" + + else + tagname="" + fi + ;; + + RC) + + +# Source file extension for RC test sources. +ac_ext=rc + +# Object file extension for compiled RC test sources. +objext=o +objext_RC=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' + +# Code to be used in simple link tests +lt_simple_link_test_code="$lt_simple_compile_test_code" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# save warnings/boilerplate of simple test code +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$rm conftest* + +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$rm -r conftest* + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${RC-"windres"} +compiler=$CC +compiler_RC=$CC +for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` + +lt_cv_prog_compiler_c_o_RC=yes + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_RC \ + CC_RC \ + LD_RC \ + lt_prog_compiler_wl_RC \ + lt_prog_compiler_pic_RC \ + lt_prog_compiler_static_RC \ + lt_prog_compiler_no_builtin_flag_RC \ + export_dynamic_flag_spec_RC \ + thread_safe_flag_spec_RC \ + whole_archive_flag_spec_RC \ + enable_shared_with_static_runtimes_RC \ + old_archive_cmds_RC \ + old_archive_from_new_cmds_RC \ + predep_objects_RC \ + postdep_objects_RC \ + predeps_RC \ + postdeps_RC \ + compiler_lib_search_path_RC \ + compiler_lib_search_dirs_RC \ + archive_cmds_RC \ + archive_expsym_cmds_RC \ + postinstall_cmds_RC \ + postuninstall_cmds_RC \ + old_archive_from_expsyms_cmds_RC \ + allow_undefined_flag_RC \ + no_undefined_flag_RC \ + export_symbols_cmds_RC \ + hardcode_libdir_flag_spec_RC \ + hardcode_libdir_flag_spec_ld_RC \ + hardcode_libdir_separator_RC \ + hardcode_automatic_RC \ + module_cmds_RC \ + module_expsym_cmds_RC \ + lt_cv_prog_compiler_c_o_RC \ + fix_srcfile_path_RC \ + exclude_expsyms_RC \ + include_expsyms_RC; do + + case $var in + old_archive_cmds_RC | \ + old_archive_from_new_cmds_RC | \ + archive_cmds_RC | \ + archive_expsym_cmds_RC | \ + module_cmds_RC | \ + module_expsym_cmds_RC | \ + old_archive_from_expsyms_cmds_RC | \ + export_symbols_cmds_RC | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_RC + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# LTCC compiler flags. +LTCFLAGS=$lt_LTCFLAGS + +# A language-specific compiler. +CC=$lt_compiler_RC + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_RC + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_RC + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$lt_STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_RC + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext_cmds='$shrext_cmds' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_RC +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC + +# Must we lock files when doing compilation? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_RC + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_RC +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_RC +archive_expsym_cmds=$lt_archive_expsym_cmds_RC +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_RC +module_expsym_cmds=$lt_module_expsym_cmds_RC + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_RC + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_RC + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_RC + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_RC + +# The directories searched by this compiler when creating a shared +# library +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_RC + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_RC + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_RC + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_RC + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_RC + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_RC + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_RC + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_RC + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path=$lt_fix_srcfile_path + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_RC + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_RC + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_RC + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_RC + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` + if test -f "$ltmain_in"; then + test -f Makefile && make "$ltmain" + fi +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC="$lt_save_CC" + + ;; + + *) + { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 +echo "$as_me: error: Unsupported tag name: $tagname" >&2;} + { (exit 1); exit 1; }; } + ;; + esac + + # Append the new tag name to the list of available tags. + if test -n "$tagname" ; then + available_tags="$available_tags $tagname" + fi + fi + done + IFS="$lt_save_ifs" + + # Now substitute the updated list of available tags. + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then + mv "${ofile}T" "$ofile" + chmod +x "$ofile" + else + rm -f "${ofile}T" + { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 +echo "$as_me: error: unable to update list of available tagged configurations." >&2;} + { (exit 1); exit 1; }; } + fi +fi + + + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' + +# Prevent multiple expansion + + + + + + + + + + + + + + + + + + + + + +{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 +echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } +if test "${ac_cv_c_bigendian+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # See if sys/param.h defines the BYTE_ORDER macro. +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <sys/types.h> +#include <sys/param.h> + +int +main () +{ +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ + && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) + bogus endian macros +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + # It does; now see whether it defined to BIG_ENDIAN or not. +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <sys/types.h> +#include <sys/param.h> + +int +main () +{ +#if BYTE_ORDER != BIG_ENDIAN + not big endian +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_c_bigendian=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_c_bigendian=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # It does not; compile a test program. +if test "$cross_compiling" = yes; then + # try to guess the endianness by grepping values into an object file + ac_cv_c_bigendian=unknown + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; +short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; +void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } +short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; +short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; +void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } +int +main () +{ + _ascii (); _ebcdic (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then + ac_cv_c_bigendian=yes +fi +if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then + if test "$ac_cv_c_bigendian" = unknown; then + ac_cv_c_bigendian=no + else + # finding both strings is unlikely to happen, but who knows? + ac_cv_c_bigendian=unknown + fi +fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ + + /* Are we little or big endian? From Harbison&Steele. */ + union + { + long int l; + char c[sizeof (long int)]; + } u; + u.l = 1; + return u.c[sizeof (long int) - 1] == 1; + + ; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_c_bigendian=no +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_c_bigendian=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 +echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } +case $ac_cv_c_bigendian in + yes) + +cat >>confdefs.h <<\_ACEOF +#define WORDS_BIGENDIAN 1 +_ACEOF + ;; + no) + ;; + *) + { { echo "$as_me:$LINENO: error: unknown endianness +presetting ac_cv_c_bigendian=no (or yes) will help" >&5 +echo "$as_me: error: unknown endianness +presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} + { (exit 1); exit 1; }; } ;; +esac + +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } +if test "${ac_cv_c_const+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ +/* FIXME: Include the comments suggested by Paul. */ +#ifndef __cplusplus + /* Ultrix mips cc rejects this. */ + typedef int charset[2]; + const charset cs; + /* SunOS 4.1.1 cc rejects this. */ + char const *const *pcpcc; + char **ppc; + /* NEC SVR4.0.2 mips cc rejects this. */ + struct point {int x, y;}; + static struct point const zero = {0,0}; + /* AIX XL C 1.02.0.0 rejects this. + It does not let you subtract one const X* pointer from another in + an arm of an if-expression whose if-part is not a constant + expression */ + const char *g = "string"; + pcpcc = &g + (g ? g-g : 0); + /* HPUX 7.0 cc rejects these. */ + ++pcpcc; + ppc = (char**) pcpcc; + pcpcc = (char const *const *) ppc; + { /* SCO 3.2v4 cc rejects this. */ + char *t; + char const *s = 0 ? (char *) 0 : (char const *) 0; + + *t++ = 0; + if (s) return 0; + } + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ + int x[] = {25, 17}; + const int *foo = &x[0]; + ++foo; + } + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ + typedef const int *iptr; + iptr p = 0; + ++p; + } + { /* AIX XL C 1.02.0.0 rejects this saying + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ + struct s { int j; const int *ap[3]; }; + struct s *b; b->j = 5; + } + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ + const int foo = 10; + if (!foo) return 0; + } + return !cs[0] && !zero.x; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_c_const=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_c_const=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 +echo "${ECHO_T}$ac_cv_c_const" >&6; } +if test $ac_cv_c_const = no; then + +cat >>confdefs.h <<\_ACEOF +#define const +_ACEOF + +fi + +{ echo "$as_me:$LINENO: checking for inline" >&5 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; } +if test "${ac_cv_c_inline+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_c_inline=no +for ac_kw in inline __inline__ __inline; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifndef __cplusplus +typedef int foo_t; +static $ac_kw foo_t static_foo () {return 0; } +$ac_kw foo_t foo () {return 0; } +#endif + +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_c_inline=$ac_kw +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + test "$ac_cv_c_inline" != no && break +done + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 +echo "${ECHO_T}$ac_cv_c_inline" >&6; } + + +case $ac_cv_c_inline in + inline | yes) ;; + *) + case $ac_cv_c_inline in + no) ac_val=;; + *) ac_val=$ac_cv_c_inline;; + esac + cat >>confdefs.h <<_ACEOF +#ifndef __cplusplus +#define inline $ac_val +#endif +_ACEOF + ;; +esac + +{ echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5 +echo $ECHO_N "checking for C/C++ restrict keyword... $ECHO_C" >&6; } +if test "${ac_cv_c_restrict+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_c_restrict=no + # Try the official restrict keyword, then gcc's __restrict, and + # the less common variants. + for ac_kw in restrict __restrict __restrict__ _Restrict; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +typedef int * int_ptr; + int foo (int_ptr $ac_kw ip) { + return ip[0]; + } +int +main () +{ +int s[1]; + int * $ac_kw t = s; + t[0] = 0; + return foo(t) + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_c_restrict=$ac_kw +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + test "$ac_cv_c_restrict" != no && break + done + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_c_restrict" >&5 +echo "${ECHO_T}$ac_cv_c_restrict" >&6; } + case $ac_cv_c_restrict in + restrict) ;; + no) +cat >>confdefs.h <<\_ACEOF +#define restrict +_ACEOF + ;; + *) cat >>confdefs.h <<_ACEOF +#define restrict $ac_cv_c_restrict +_ACEOF + ;; + esac + + + +cat >>confdefs.h <<\_ACEOF +#define CELT_BUILD +_ACEOF + + +{ echo "$as_me:$LINENO: checking for C99 variable-size arrays" >&5 +echo $ECHO_N "checking for C99 variable-size arrays... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + +int foo=10; +int array[foo]; + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + has_var_arrays=yes; +cat >>confdefs.h <<\_ACEOF +#define VAR_ARRAYS +_ACEOF + + +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + has_var_arrays=no + +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $has_var_arrays" >&5 +echo "${ECHO_T}$has_var_arrays" >&6; } + + + +for ac_header in alloca.h getopt.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + { echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +ac_res=`eval echo '${'$as_ac_Header'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } +else + # Is the header compilable? +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_compiler=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6; } + +# Is the header present? +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi + +rm -f conftest.err conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + + ;; +esac +{ echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=\$ac_header_preproc" +fi +ac_res=`eval echo '${'$as_ac_Header'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + +{ echo "$as_me:$LINENO: checking for alloca" >&5 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <alloca.h> +int +main () +{ + +int foo=10; +int *array = alloca(foo); + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + +has_alloca=yes; +if test x$has_var_arrays = "xno" ; then + +cat >>confdefs.h <<\_ACEOF +#define USE_ALLOCA +_ACEOF + +fi + +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + has_alloca=no + +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $has_alloca" >&5 +echo "${ECHO_T}$has_alloca" >&6; } + + + +for ac_header in sys/soundcard.h sys/audioio.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + { echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +ac_res=`eval echo '${'$as_ac_Header'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } +else + # Is the header compilable? +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_compiler=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6; } + +# Is the header present? +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi + +rm -f conftest.err conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + + ;; +esac +{ echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=\$ac_header_preproc" +fi +ac_res=`eval echo '${'$as_ac_Header'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + +# Check whether --with-ogg was given. +if test "${with_ogg+set}" = set; then + withval=$with_ogg; ogg_prefix="$withval" +else + ogg_prefix="" +fi + + +# Check whether --with-ogg-libraries was given. +if test "${with_ogg_libraries+set}" = set; then + withval=$with_ogg_libraries; ogg_libraries="$withval" +else + ogg_libraries="" +fi + + +# Check whether --with-ogg-includes was given. +if test "${with_ogg_includes+set}" = set; then + withval=$with_ogg_includes; ogg_includes="$withval" +else + ogg_includes="" +fi + +# Check whether --enable-oggtest was given. +if test "${enable_oggtest+set}" = set; then + enableval=$enable_oggtest; +else + enable_oggtest=yes +fi + + + if test "x$ogg_libraries" != "x" ; then + OGG_LIBS="-L$ogg_libraries" + elif test "x$ogg_prefix" != "x" ; then + OGG_LIBS="-L$ogg_prefix/lib" + elif test "x$prefix" != "xNONE" ; then + OGG_LIBS="-L$prefix/lib" + fi + + OGG_LIBS="$OGG_LIBS -logg" + + if test "x$ogg_includes" != "x" ; then + OGG_CFLAGS="-I$ogg_includes" + elif test "x$ogg_prefix" != "x" ; then + OGG_CFLAGS="-I$ogg_prefix/include" + elif test "x$prefix" != "xNONE"; then + OGG_CFLAGS="-I$prefix/include" + fi + + { echo "$as_me:$LINENO: checking for Ogg" >&5 +echo $ECHO_N "checking for Ogg... $ECHO_C" >&6; } + no_ogg="" + + + if test "x$enable_oggtest" = "xyes" ; then + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $OGG_CFLAGS" + LIBS="$LIBS $OGG_LIBS" + rm -f conf.oggtest + if test "$cross_compiling" = yes; then + echo $ac_n "cross compiling; assumed OK... $ac_c" +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <ogg/ogg.h> + +int main () +{ + system("touch conf.oggtest"); + return 0; +} + + +_ACEOF +rm -f conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +no_ogg=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + + + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + + if test "x$no_ogg" = "x" ; then + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } + tools="tools" + else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } + if test -f conf.oggtest ; then + : + else + echo "*** Could not run Ogg test program, checking why..." + CFLAGS="$CFLAGS $OGG_CFLAGS" + LIBS="$LIBS $OGG_LIBS" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include <stdio.h> +#include <ogg/ogg.h> + +int +main () +{ + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding Ogg or finding the wrong" + echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occured. This usually means Ogg was incorrectly installed" + echo "*** or that you have moved Ogg since it was installed." +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + OGG_CFLAGS="" + OGG_LIBS="" + tools="" + fi + + + rm -f conf.oggtest + + + + +{ echo "$as_me:$LINENO: checking for sin in -lm" >&5 +echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; } +if test "${ac_cv_lib_m_sin+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char sin (); +int +main () +{ +return sin (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_m_sin=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_m_sin=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5 +echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; } +if test $ac_cv_lib_m_sin = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBM 1 +_ACEOF + + LIBS="-lm $LIBS" + +fi + + +# Check for getopt_long; if not found, use included source. + +for ac_func in getopt_long +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +{ echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. + For example, HP-UX 11i <limits.h> declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + <limits.h> exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include <limits.h> +#else +# include <assert.h> +#endif + +#undef $ac_func + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$ac_func || defined __stub___$ac_func +choke me +#endif + +int +main () +{ +return $ac_func (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + eval "$as_ac_var=no" +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +fi +ac_res=`eval echo '${'$as_ac_var'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +else + # FreeBSD has a gnugetopt library. + { echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5 +echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6; } +if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lgnugetopt $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char getopt_long (); +int +main () +{ +return getopt_long (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_gnugetopt_getopt_long=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_gnugetopt_getopt_long=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 +echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6; } +if test $ac_cv_lib_gnugetopt_getopt_long = yes; then + cat >>confdefs.h <<\_ACEOF +#define HAVE_GETOPT_LONG 1 +_ACEOF + +else + # Use the GNU replacement. +case " $LIBOBJS " in + *" getopt.$ac_objext "* ) ;; + *) LIBOBJS="$LIBOBJS getopt.$ac_objext" + ;; +esac + +case " $LIBOBJS " in + *" getopt1.$ac_objext "* ) ;; + *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" + ;; +esac + +fi + +fi +done + + + +{ echo "$as_me:$LINENO: checking for main in -lwinmm" >&5 +echo $ECHO_N "checking for main in -lwinmm... $ECHO_C" >&6; } +if test "${ac_cv_lib_winmm_main+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lwinmm $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + + +int +main () +{ +return main (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_winmm_main=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_winmm_main=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_main" >&5 +echo "${ECHO_T}$ac_cv_lib_winmm_main" >&6; } +if test $ac_cv_lib_winmm_main = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBWINMM 1 +_ACEOF + + LIBS="-lwinmm $LIBS" + +fi + + + +cat >>confdefs.h <<_ACEOF +#define CELT_VERSION "${CELT_VERSION}" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define CELT_MAJOR_VERSION ${CELT_MAJOR_VERSION} +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define CELT_MINOR_VERSION ${CELT_MINOR_VERSION} +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define CELT_MICRO_VERSION ${CELT_MICRO_VERSION} +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define CELT_EXTRA_VERSION "${CELT_EXTRA_VERSION}" +_ACEOF + + +# Check whether --enable-fixed-point was given. +if test "${enable_fixed_point+set}" = set; then + enableval=$enable_fixed_point; if test "$enableval" = yes; then + +cat >>confdefs.h <<\_ACEOF +#define FIXED_POINT +_ACEOF + + +cat >>confdefs.h <<\_ACEOF +#define DOUBLE_PRECISION +_ACEOF + + +cat >>confdefs.h <<\_ACEOF +#define MIXED_PRECISION +_ACEOF + +else + +cat >>confdefs.h <<\_ACEOF +#define FLOATING_POINT +_ACEOF + +fi +else + +cat >>confdefs.h <<\_ACEOF +#define FLOATING_POINT +_ACEOF + +fi + + +# Check whether --enable-fixed-point-debug was given. +if test "${enable_fixed_point_debug+set}" = set; then + enableval=$enable_fixed_point_debug; if test "$enableval" = yes; then + +cat >>confdefs.h <<\_ACEOF +#define FIXED_DEBUG +_ACEOF + +fi +fi + + +# Check whether --enable-static-modes was given. +if test "${enable_static_modes+set}" = set; then + enableval=$enable_static_modes; if test "$enableval" = yes; then + +cat >>confdefs.h <<\_ACEOF +#define STATIC_MODES +_ACEOF + +fi +fi + + +# Check whether --enable-assertions was given. +if test "${enable_assertions+set}" = set; then + enableval=$enable_assertions; if test "$enableval" = yes; then + +cat >>confdefs.h <<\_ACEOF +#define ENABLE_ASSERTIONS +_ACEOF + +fi +fi + + +if test $ac_cv_c_compiler_gnu = yes ; then + CFLAGS="$CFLAGS -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare" + #CFLAGS="$CFLAGS -fvisibility=hidden -W -Wstrict-prototypes -Wmissing-prototypes -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wno-parentheses" +fi + +{ echo "$as_me:$LINENO: checking for lrintf" >&5 +echo $ECHO_N "checking for lrintf... $ECHO_C" >&6; } +if test "${ac_cv_c99_lrintf+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#define _ISOC9X_SOURCE 1 +#define _ISOC99_SOURCE 1 +#define __USE_ISOC99 1 +#define __USE_ISOC9X 1 +#include <math.h> +int +main () +{ + int value = lrintf (0.432) ; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_c99_lrintf=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_c99_lrintf=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_c99_lrintf" >&5 +echo "${ECHO_T}$ac_cv_c99_lrintf" >&6; } +if test $ac_cv_c99_lrintf = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_LRINTF 1 +_ACEOF + +fi + +{ echo "$as_me:$LINENO: checking for lrint" >&5 +echo $ECHO_N "checking for lrint... $ECHO_C" >&6; } +if test "${ac_cv_c99_lrint+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#define _ISOC9X_SOURCE 1 +#define _ISOC99_SOURCE 1 +#define __USE_ISOC99 1 +#define __USE_ISOC9X 1 +#include <math.h> +int +main () +{ + int value = lrint (0.432) ; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_c99_lrint=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_c99_lrint=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_c99_lrint" >&5 +echo "${ECHO_T}$ac_cv_c99_lrint" >&6; } +if test $ac_cv_c99_lrint = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_LRINT 1 +_ACEOF + +fi + + +{ echo "$as_me:$LINENO: checking for short" >&5 +echo $ECHO_N "checking for short... $ECHO_C" >&6; } +if test "${ac_cv_type_short+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +typedef short ac__type_new_; +int +main () +{ +if ((ac__type_new_ *) 0) + return 0; +if (sizeof (ac__type_new_)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_type_short=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_type_short=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5 +echo "${ECHO_T}$ac_cv_type_short" >&6; } + +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ echo "$as_me:$LINENO: checking size of short" >&5 +echo $ECHO_N "checking size of short... $ECHO_C" >&6; } +if test "${ac_cv_sizeof_short+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + typedef short ac__type_sizeof_; +int +main () +{ +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_lo=0 ac_mid=0 + while :; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + typedef short ac__type_sizeof_; +int +main () +{ +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_hi=$ac_mid; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_lo=`expr $ac_mid + 1` + if test $ac_lo -le $ac_mid; then + ac_lo= ac_hi= + break + fi + ac_mid=`expr 2 '*' $ac_mid + 1` +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + typedef short ac__type_sizeof_; +int +main () +{ +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_hi=-1 ac_mid=-1 + while :; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + typedef short ac__type_sizeof_; +int +main () +{ +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_lo=$ac_mid; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_hi=`expr '(' $ac_mid ')' - 1` + if test $ac_mid -le $ac_hi; then + ac_lo= ac_hi= + break + fi + ac_mid=`expr 2 '*' $ac_mid` +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_lo= ac_hi= +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +# Binary search between lo and hi bounds. +while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + typedef short ac__type_sizeof_; +int +main () +{ +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_hi=$ac_mid +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_lo=`expr '(' $ac_mid ')' + 1` +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +done +case $ac_lo in +?*) ac_cv_sizeof_short=$ac_lo;; +'') if test "$ac_cv_type_short" = yes; then + { { echo "$as_me:$LINENO: error: cannot compute sizeof (short) +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute sizeof (short) +See \`config.log' for more details." >&2;} + { (exit 77); exit 77; }; } + else + ac_cv_sizeof_short=0 + fi ;; +esac +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + typedef short ac__type_sizeof_; +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } +#include <stdio.h> +#include <stdlib.h> +int +main () +{ + + FILE *f = fopen ("conftest.val", "w"); + if (! f) + return 1; + if (((long int) (sizeof (ac__type_sizeof_))) < 0) + { + long int i = longval (); + if (i != ((long int) (sizeof (ac__type_sizeof_)))) + return 1; + fprintf (f, "%ld\n", i); + } + else + { + unsigned long int i = ulongval (); + if (i != ((long int) (sizeof (ac__type_sizeof_)))) + return 1; + fprintf (f, "%lu\n", i); + } + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_sizeof_short=`cat conftest.val` +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +if test "$ac_cv_type_short" = yes; then + { { echo "$as_me:$LINENO: error: cannot compute sizeof (short) +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute sizeof (short) +See \`config.log' for more details." >&2;} + { (exit 77); exit 77; }; } + else + ac_cv_sizeof_short=0 + fi +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.val +fi +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 +echo "${ECHO_T}$ac_cv_sizeof_short" >&6; } + + + +cat >>confdefs.h <<_ACEOF +#define SIZEOF_SHORT $ac_cv_sizeof_short +_ACEOF + + +{ echo "$as_me:$LINENO: checking for int" >&5 +echo $ECHO_N "checking for int... $ECHO_C" >&6; } +if test "${ac_cv_type_int+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +typedef int ac__type_new_; +int +main () +{ +if ((ac__type_new_ *) 0) + return 0; +if (sizeof (ac__type_new_)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_type_int=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_type_int=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 +echo "${ECHO_T}$ac_cv_type_int" >&6; } + +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ echo "$as_me:$LINENO: checking size of int" >&5 +echo $ECHO_N "checking size of int... $ECHO_C" >&6; } +if test "${ac_cv_sizeof_int+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + typedef int ac__type_sizeof_; +int +main () +{ +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_lo=0 ac_mid=0 + while :; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + typedef int ac__type_sizeof_; +int +main () +{ +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_hi=$ac_mid; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_lo=`expr $ac_mid + 1` + if test $ac_lo -le $ac_mid; then + ac_lo= ac_hi= + break + fi + ac_mid=`expr 2 '*' $ac_mid + 1` +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + typedef int ac__type_sizeof_; +int +main () +{ +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_hi=-1 ac_mid=-1 + while :; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + typedef int ac__type_sizeof_; +int +main () +{ +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_lo=$ac_mid; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_hi=`expr '(' $ac_mid ')' - 1` + if test $ac_mid -le $ac_hi; then + ac_lo= ac_hi= + break + fi + ac_mid=`expr 2 '*' $ac_mid` +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_lo= ac_hi= +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +# Binary search between lo and hi bounds. +while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + typedef int ac__type_sizeof_; +int +main () +{ +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_hi=$ac_mid +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_lo=`expr '(' $ac_mid ')' + 1` +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +done +case $ac_lo in +?*) ac_cv_sizeof_int=$ac_lo;; +'') if test "$ac_cv_type_int" = yes; then + { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute sizeof (int) +See \`config.log' for more details." >&2;} + { (exit 77); exit 77; }; } + else + ac_cv_sizeof_int=0 + fi ;; +esac +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + typedef int ac__type_sizeof_; +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } +#include <stdio.h> +#include <stdlib.h> +int +main () +{ + + FILE *f = fopen ("conftest.val", "w"); + if (! f) + return 1; + if (((long int) (sizeof (ac__type_sizeof_))) < 0) + { + long int i = longval (); + if (i != ((long int) (sizeof (ac__type_sizeof_)))) + return 1; + fprintf (f, "%ld\n", i); + } + else + { + unsigned long int i = ulongval (); + if (i != ((long int) (sizeof (ac__type_sizeof_)))) + return 1; + fprintf (f, "%lu\n", i); + } + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_sizeof_int=`cat conftest.val` +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +if test "$ac_cv_type_int" = yes; then + { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute sizeof (int) +See \`config.log' for more details." >&2;} + { (exit 77); exit 77; }; } + else + ac_cv_sizeof_int=0 + fi +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.val +fi +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 +echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } + + + +cat >>confdefs.h <<_ACEOF +#define SIZEOF_INT $ac_cv_sizeof_int +_ACEOF + + +{ echo "$as_me:$LINENO: checking for long" >&5 +echo $ECHO_N "checking for long... $ECHO_C" >&6; } +if test "${ac_cv_type_long+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +typedef long ac__type_new_; +int +main () +{ +if ((ac__type_new_ *) 0) + return 0; +if (sizeof (ac__type_new_)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_type_long=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_type_long=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 +echo "${ECHO_T}$ac_cv_type_long" >&6; } + +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ echo "$as_me:$LINENO: checking size of long" >&5 +echo $ECHO_N "checking size of long... $ECHO_C" >&6; } +if test "${ac_cv_sizeof_long+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + typedef long ac__type_sizeof_; +int +main () +{ +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_lo=0 ac_mid=0 + while :; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + typedef long ac__type_sizeof_; +int +main () +{ +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_hi=$ac_mid; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_lo=`expr $ac_mid + 1` + if test $ac_lo -le $ac_mid; then + ac_lo= ac_hi= + break + fi + ac_mid=`expr 2 '*' $ac_mid + 1` +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + typedef long ac__type_sizeof_; +int +main () +{ +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_hi=-1 ac_mid=-1 + while :; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + typedef long ac__type_sizeof_; +int +main () +{ +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_lo=$ac_mid; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_hi=`expr '(' $ac_mid ')' - 1` + if test $ac_mid -le $ac_hi; then + ac_lo= ac_hi= + break + fi + ac_mid=`expr 2 '*' $ac_mid` +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_lo= ac_hi= +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +# Binary search between lo and hi bounds. +while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + typedef long ac__type_sizeof_; +int +main () +{ +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_hi=$ac_mid +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_lo=`expr '(' $ac_mid ')' + 1` +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +done +case $ac_lo in +?*) ac_cv_sizeof_long=$ac_lo;; +'') if test "$ac_cv_type_long" = yes; then + { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute sizeof (long) +See \`config.log' for more details." >&2;} + { (exit 77); exit 77; }; } + else + ac_cv_sizeof_long=0 + fi ;; +esac +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + typedef long ac__type_sizeof_; +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } +#include <stdio.h> +#include <stdlib.h> +int +main () +{ + + FILE *f = fopen ("conftest.val", "w"); + if (! f) + return 1; + if (((long int) (sizeof (ac__type_sizeof_))) < 0) + { + long int i = longval (); + if (i != ((long int) (sizeof (ac__type_sizeof_)))) + return 1; + fprintf (f, "%ld\n", i); + } + else + { + unsigned long int i = ulongval (); + if (i != ((long int) (sizeof (ac__type_sizeof_)))) + return 1; + fprintf (f, "%lu\n", i); + } + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_sizeof_long=`cat conftest.val` +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +if test "$ac_cv_type_long" = yes; then + { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute sizeof (long) +See \`config.log' for more details." >&2;} + { (exit 77); exit 77; }; } + else + ac_cv_sizeof_long=0 + fi +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.val +fi +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 +echo "${ECHO_T}$ac_cv_sizeof_long" >&6; } + + + +cat >>confdefs.h <<_ACEOF +#define SIZEOF_LONG $ac_cv_sizeof_long +_ACEOF + + +{ echo "$as_me:$LINENO: checking for long long" >&5 +echo $ECHO_N "checking for long long... $ECHO_C" >&6; } +if test "${ac_cv_type_long_long+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +typedef long long ac__type_new_; +int +main () +{ +if ((ac__type_new_ *) 0) + return 0; +if (sizeof (ac__type_new_)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_type_long_long=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_type_long_long=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 +echo "${ECHO_T}$ac_cv_type_long_long" >&6; } + +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ echo "$as_me:$LINENO: checking size of long long" >&5 +echo $ECHO_N "checking size of long long... $ECHO_C" >&6; } +if test "${ac_cv_sizeof_long_long+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + typedef long long ac__type_sizeof_; +int +main () +{ +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_lo=0 ac_mid=0 + while :; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + typedef long long ac__type_sizeof_; +int +main () +{ +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_hi=$ac_mid; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_lo=`expr $ac_mid + 1` + if test $ac_lo -le $ac_mid; then + ac_lo= ac_hi= + break + fi + ac_mid=`expr 2 '*' $ac_mid + 1` +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + typedef long long ac__type_sizeof_; +int +main () +{ +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_hi=-1 ac_mid=-1 + while :; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + typedef long long ac__type_sizeof_; +int +main () +{ +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_lo=$ac_mid; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_hi=`expr '(' $ac_mid ')' - 1` + if test $ac_mid -le $ac_hi; then + ac_lo= ac_hi= + break + fi + ac_mid=`expr 2 '*' $ac_mid` +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_lo= ac_hi= +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +# Binary search between lo and hi bounds. +while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + typedef long long ac__type_sizeof_; +int +main () +{ +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_hi=$ac_mid +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_lo=`expr '(' $ac_mid ')' + 1` +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +done +case $ac_lo in +?*) ac_cv_sizeof_long_long=$ac_lo;; +'') if test "$ac_cv_type_long_long" = yes; then + { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute sizeof (long long) +See \`config.log' for more details." >&2;} + { (exit 77); exit 77; }; } + else + ac_cv_sizeof_long_long=0 + fi ;; +esac +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + typedef long long ac__type_sizeof_; +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } +#include <stdio.h> +#include <stdlib.h> +int +main () +{ + + FILE *f = fopen ("conftest.val", "w"); + if (! f) + return 1; + if (((long int) (sizeof (ac__type_sizeof_))) < 0) + { + long int i = longval (); + if (i != ((long int) (sizeof (ac__type_sizeof_)))) + return 1; + fprintf (f, "%ld\n", i); + } + else + { + unsigned long int i = ulongval (); + if (i != ((long int) (sizeof (ac__type_sizeof_)))) + return 1; + fprintf (f, "%lu\n", i); + } + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_sizeof_long_long=`cat conftest.val` +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +if test "$ac_cv_type_long_long" = yes; then + { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute sizeof (long long) +See \`config.log' for more details." >&2;} + { (exit 77); exit 77; }; } + else + ac_cv_sizeof_long_long=0 + fi +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.val +fi +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 +echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; } + + + +cat >>confdefs.h <<_ACEOF +#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long +_ACEOF + + + +if test x$has_char16 = "xyes" ; then + case 1 in + $ac_cv_sizeof_short) SIZE16="short";; + $ac_cv_sizeof_int) SIZE16="int";; + esac +else + case 2 in + $ac_cv_sizeof_short) SIZE16="short";; + $ac_cv_sizeof_int) SIZE16="int";; + esac +fi + +if test x$has_char16 = "xyes" ; then + case 2 in + $ac_cv_sizeof_int) SIZE32="int";; + $ac_cv_sizeof_long) SIZE32="long";; + $ac_cv_sizeof_short) SIZE32="short";; + esac +else + case 4 in + $ac_cv_sizeof_int) SIZE32="int";; + $ac_cv_sizeof_long) SIZE32="long";; + $ac_cv_sizeof_short) SIZE32="short";; + esac +fi + + + + +ac_config_files="$ac_config_files Makefile libcelt/Makefile tests/Makefile celt$PACKAGE_APPEND.pc tools/Makefile" + +cat >confcache <<\_ACEOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +( + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + *) $as_unset $ac_var ;; + esac ;; + esac + done + + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + # `set' does not quote correctly, so add quotes (double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \). + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; #( + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) | + sed ' + /^ac_cv_env_/b end + t clear + :clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + test "x$cache_file" != "x/dev/null" && + { echo "$as_me:$LINENO: updating cache $cache_file" >&5 +echo "$as_me: updating cache $cache_file" >&6;} + cat confcache >$cache_file + else + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 +echo "$as_me: not updating unwritable cache $cache_file" >&6;} + fi +fi +rm -f confcache + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +DEFS=-DHAVE_CONFIG_H + +ac_libobjs= +ac_ltlibobjs= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' + ac_i=`echo "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi + +: ${CONFIG_STATUS=./config.status} +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 +echo "$as_me: creating $CONFIG_STATUS" >&6;} +cat >$CONFIG_STATUS <<_ACEOF +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false +SHELL=\${CONFIG_SHELL-$SHELL} +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF +## --------------------- ## +## M4sh Initialization. ## +## --------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in + *posix*) set -o posix ;; +esac + +fi + + + + +# PATH needs CR +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Support unset when possible. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +as_nl=' +' +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +case $0 in + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + { (exit 1); exit 1; } +fi + +# Work around bugs in pre-3.0 UWIN ksh. +for as_var in ENV MAIL MAILPATH +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +for as_var in \ + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ + LC_TELEPHONE LC_TIME +do + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then + eval $as_var=C; export $as_var + else + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var + fi +done + +# Required to use basename. +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + + +# Name of the executable. +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# CDPATH. +$as_unset CDPATH + + + + as_lineno_1=$LINENO + as_lineno_2=$LINENO + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { + + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO + # uniformly replaced by the line number. The first 'sed' inserts a + # line-number line after each line using $LINENO; the second 'sed' + # does the real work. The second script uses 'N' to pair each + # line-number line with the line containing $LINENO, and appends + # trailing '-' during substitution so that $LINENO is not a special + # case at line end. + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the + # scripts with optimization help from Paolo Bonzini. Blame Lee + # E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 + { (exit 1); exit 1; }; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in +-n*) + case `echo 'x\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + *) ECHO_C='\c';; + esac;; +*) + ECHO_N='-n';; +esac + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir +fi +echo >conf$$.file +if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' +elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p=: +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 + +# Save the log message, to keep $[0] and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by $as_me, which was +generated by GNU Autoconf 2.61. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +_ACEOF + +cat >>$CONFIG_STATUS <<_ACEOF +# Files that config.status was made for. +config_files="$ac_config_files" +config_headers="$ac_config_headers" +config_commands="$ac_config_commands" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF +ac_cs_usage="\ +\`$as_me' instantiates files from templates according to the +current configuration. + +Usage: $0 [OPTIONS] [FILE]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + -q, --quiet do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration commands: +$config_commands + +Report bugs to <bug-autoconf@gnu.org>." + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF +ac_cs_version="\\ +config.status +configured by $0, generated by GNU Autoconf 2.61, + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" + +Copyright (C) 2006 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='$ac_pwd' +srcdir='$srcdir' +INSTALL='$INSTALL' +MKDIR_P='$MKDIR_P' +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF +# If no file are specified by the user, then we need to provide default +# value. By we need to know if files were specified by the user. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + echo "$ac_cs_version"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + CONFIG_FILES="$CONFIG_FILES $ac_optarg" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + { echo "$as_me: error: ambiguous option: $1 +Try \`$0 --help' for more information." >&2 + { (exit 1); exit 1; }; };; + --help | --hel | -h ) + echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) { echo "$as_me: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&2 + { (exit 1); exit 1; }; } ;; + + *) ac_config_targets="$ac_config_targets $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF +if \$ac_cs_recheck; then + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 + CONFIG_SHELL=$SHELL + export CONFIG_SHELL + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion +fi + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + echo "$ac_log" +} >&5 + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF +# +# INIT-COMMANDS +# +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "libcelt/Makefile") CONFIG_FILES="$CONFIG_FILES libcelt/Makefile" ;; + "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; + "celt$PACKAGE_APPEND.pc") CONFIG_FILES="$CONFIG_FILES celt$PACKAGE_APPEND.pc" ;; + "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; + + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;} + { (exit 1); exit 1; }; };; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= + trap 'exit_status=$? + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status +' 0 + trap '{ (exit 1); exit 1; }' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -n "$tmp" && test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || +{ + echo "$me: cannot create a temporary directory in ." >&2 + { (exit 1); exit 1; } +} + +# +# Set up the sed scripts for CONFIG_FILES section. +# + +# No need to generate the scripts if there are no CONFIG_FILES. +# This happens for instance when ./config.status config.h +if test -n "$CONFIG_FILES"; then + +_ACEOF + + + +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + cat >conf$$subs.sed <<_ACEOF +SHELL!$SHELL$ac_delim +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim +PACKAGE_NAME!$PACKAGE_NAME$ac_delim +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim +PACKAGE_STRING!$PACKAGE_STRING$ac_delim +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim +exec_prefix!$exec_prefix$ac_delim +prefix!$prefix$ac_delim +program_transform_name!$program_transform_name$ac_delim +bindir!$bindir$ac_delim +sbindir!$sbindir$ac_delim +libexecdir!$libexecdir$ac_delim +datarootdir!$datarootdir$ac_delim +datadir!$datadir$ac_delim +sysconfdir!$sysconfdir$ac_delim +sharedstatedir!$sharedstatedir$ac_delim +localstatedir!$localstatedir$ac_delim +includedir!$includedir$ac_delim +oldincludedir!$oldincludedir$ac_delim +docdir!$docdir$ac_delim +infodir!$infodir$ac_delim +htmldir!$htmldir$ac_delim +dvidir!$dvidir$ac_delim +pdfdir!$pdfdir$ac_delim +psdir!$psdir$ac_delim +libdir!$libdir$ac_delim +localedir!$localedir$ac_delim +mandir!$mandir$ac_delim +DEFS!$DEFS$ac_delim +ECHO_C!$ECHO_C$ac_delim +ECHO_N!$ECHO_N$ac_delim +ECHO_T!$ECHO_T$ac_delim +LIBS!$LIBS$ac_delim +build_alias!$build_alias$ac_delim +host_alias!$host_alias$ac_delim +target_alias!$target_alias$ac_delim +CELT_LT_CURRENT!$CELT_LT_CURRENT$ac_delim +CELT_LT_REVISION!$CELT_LT_REVISION$ac_delim +CELT_LT_AGE!$CELT_LT_AGE$ac_delim +CELT_VERSION!$CELT_VERSION$ac_delim +PACKAGE_APPEND!$PACKAGE_APPEND$ac_delim +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim +INSTALL_DATA!$INSTALL_DATA$ac_delim +am__isrc!$am__isrc$ac_delim +CYGPATH_W!$CYGPATH_W$ac_delim +PACKAGE!$PACKAGE$ac_delim +VERSION!$VERSION$ac_delim +ACLOCAL!$ACLOCAL$ac_delim +AUTOCONF!$AUTOCONF$ac_delim +AUTOMAKE!$AUTOMAKE$ac_delim +AUTOHEADER!$AUTOHEADER$ac_delim +MAKEINFO!$MAKEINFO$ac_delim +install_sh!$install_sh$ac_delim +STRIP!$STRIP$ac_delim +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim +mkdir_p!$mkdir_p$ac_delim +AWK!$AWK$ac_delim +SET_MAKE!$SET_MAKE$ac_delim +am__leading_dot!$am__leading_dot$ac_delim +AMTAR!$AMTAR$ac_delim +am__tar!$am__tar$ac_delim +am__untar!$am__untar$ac_delim +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim +MAINT!$MAINT$ac_delim +build!$build$ac_delim +build_cpu!$build_cpu$ac_delim +build_vendor!$build_vendor$ac_delim +build_os!$build_os$ac_delim +host!$host$ac_delim +host_cpu!$host_cpu$ac_delim +host_vendor!$host_vendor$ac_delim +host_os!$host_os$ac_delim +CC!$CC$ac_delim +CFLAGS!$CFLAGS$ac_delim +LDFLAGS!$LDFLAGS$ac_delim +CPPFLAGS!$CPPFLAGS$ac_delim +ac_ct_CC!$ac_ct_CC$ac_delim +EXEEXT!$EXEEXT$ac_delim +OBJEXT!$OBJEXT$ac_delim +DEPDIR!$DEPDIR$ac_delim +am__include!$am__include$ac_delim +am__quote!$am__quote$ac_delim +AMDEP_TRUE!$AMDEP_TRUE$ac_delim +AMDEP_FALSE!$AMDEP_FALSE$ac_delim +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim +CCDEPMODE!$CCDEPMODE$ac_delim +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim +SED!$SED$ac_delim +GREP!$GREP$ac_delim +EGREP!$EGREP$ac_delim +LN_S!$LN_S$ac_delim +ECHO!$ECHO$ac_delim +AR!$AR$ac_delim +_ACEOF + + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then + break + elif $ac_last_try; then + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} + { (exit 1); exit 1; }; } + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` +if test -n "$ac_eof"; then + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` + ac_eof=`expr $ac_eof + 1` +fi + +cat >>$CONFIG_STATUS <<_ACEOF +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +_ACEOF +sed ' +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g +s/^/s,@/; s/!/@,|#_!!_#|/ +:n +t n +s/'"$ac_delim"'$/,g/; t +s/$/\\/; p +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n +' >>$CONFIG_STATUS <conf$$subs.sed +rm -f conf$$subs.sed +cat >>$CONFIG_STATUS <<_ACEOF +CEOF$ac_eof +_ACEOF + + +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + cat >conf$$subs.sed <<_ACEOF +RANLIB!$RANLIB$ac_delim +DSYMUTIL!$DSYMUTIL$ac_delim +NMEDIT!$NMEDIT$ac_delim +CPP!$CPP$ac_delim +CXX!$CXX$ac_delim +CXXFLAGS!$CXXFLAGS$ac_delim +ac_ct_CXX!$ac_ct_CXX$ac_delim +CXXDEPMODE!$CXXDEPMODE$ac_delim +am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim +am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim +CXXCPP!$CXXCPP$ac_delim +F77!$F77$ac_delim +FFLAGS!$FFLAGS$ac_delim +ac_ct_F77!$ac_ct_F77$ac_delim +LIBTOOL!$LIBTOOL$ac_delim +OGG_CFLAGS!$OGG_CFLAGS$ac_delim +OGG_LIBS!$OGG_LIBS$ac_delim +tools!$tools$ac_delim +LIBOBJS!$LIBOBJS$ac_delim +SIZE16!$SIZE16$ac_delim +SIZE32!$SIZE32$ac_delim +LTLIBOBJS!$LTLIBOBJS$ac_delim +_ACEOF + + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 22; then + break + elif $ac_last_try; then + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} + { (exit 1); exit 1; }; } + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` +if test -n "$ac_eof"; then + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` + ac_eof=`expr $ac_eof + 1` +fi + +cat >>$CONFIG_STATUS <<_ACEOF +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end +_ACEOF +sed ' +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g +s/^/s,@/; s/!/@,|#_!!_#|/ +:n +t n +s/'"$ac_delim"'$/,g/; t +s/$/\\/; p +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n +' >>$CONFIG_STATUS <conf$$subs.sed +rm -f conf$$subs.sed +cat >>$CONFIG_STATUS <<_ACEOF +:end +s/|#_!!_#|//g +CEOF$ac_eof +_ACEOF + + +# VPATH may cause trouble with some makes, so we remove $(srcdir), +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=/{ +s/:*\$(srcdir):*/:/ +s/:*\${srcdir}:*/:/ +s/:*@srcdir@:*/:/ +s/^\([^=]*=[ ]*\):*/\1/ +s/:*$// +s/^[^=]*=[ ]*$// +}' +fi + +cat >>$CONFIG_STATUS <<\_ACEOF +fi # test -n "$CONFIG_FILES" + + +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 +echo "$as_me: error: Invalid tag $ac_tag." >&2;} + { (exit 1); exit 1; }; };; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 +echo "$as_me: error: cannot find input file: $ac_f" >&2;} + { (exit 1); exit 1; }; };; + esac + ac_file_inputs="$ac_file_inputs $ac_f" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input="Generated from "`IFS=: + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { echo "$as_me:$LINENO: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} + fi + + case $ac_tag in + *:-:* | *:-) cat >"$tmp/stdin";; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + { as_dir="$ac_dir" + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 +echo "$as_me: error: cannot create directory $as_dir" >&2;} + { (exit 1); exit 1; }; }; } + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac + ac_MKDIR_P=$MKDIR_P + case $MKDIR_P in + [\\/$]* | ?:[\\/]* ) ;; + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; + esac +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= + +case `sed -n '/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p +' $ac_file_inputs` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF + ac_datarootdir_hack=' + s&@datadir@&$datadir&g + s&@docdir@&$docdir&g + s&@infodir@&$infodir&g + s&@localedir@&$localedir&g + s&@mandir@&$mandir&g + s&\\\${datarootdir}&$datarootdir&g' ;; +esac +_ACEOF + +# Neutralize VPATH when `$srcdir' = `.'. +# Shell code in configure.ac might set extrasub. +# FIXME: do we really want to maintain this feature? +cat >>$CONFIG_STATUS <<_ACEOF + sed "$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s&@configure_input@&$configure_input&;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +s&@MKDIR_P@&$ac_MKDIR_P&;t t +$ac_datarootdir_hack +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined." >&5 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined." >&2;} + + rm -f "$tmp/stdin" + case $ac_file in + -) cat "$tmp/out"; rm -f "$tmp/out";; + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; + esac + ;; + :H) + # + # CONFIG_HEADER + # +_ACEOF + +# Transform confdefs.h into a sed script `conftest.defines', that +# substitutes the proper values into config.h.in to produce config.h. +rm -f conftest.defines conftest.tail +# First, append a space to every undef/define line, to ease matching. +echo 's/$/ /' >conftest.defines +# Then, protect against being on the right side of a sed subst, or in +# an unquoted here document, in config.status. If some macros were +# called several times there might be several #defines for the same +# symbol, which is useless. But do not sort them, since the last +# AC_DEFINE must be honored. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where +# NAME is the cpp macro being defined, VALUE is the value it is being given. +# PARAMS is the parameter list in the macro definition--in most cases, it's +# just an empty string. +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' +ac_dB='\\)[ (].*,\\1define\\2' +ac_dC=' ' +ac_dD=' ,' + +uniq confdefs.h | + sed -n ' + t rset + :rset + s/^[ ]*#[ ]*define[ ][ ]*// + t ok + d + :ok + s/[\\&,]/\\&/g + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p + ' >>conftest.defines + +# Remove the space that was appended to ease matching. +# Then replace #undef with comments. This is necessary, for +# example, in the case of _POSIX_SOURCE, which is predefined and required +# on some systems where configure will not decide to define it. +# (The regexp can be short, since the line contains either #define or #undef.) +echo 's/ $// +s,^[ #]*u.*,/* & */,' >>conftest.defines + +# Break up conftest.defines: +ac_max_sed_lines=50 + +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" +# et cetera. +ac_in='$ac_file_inputs' +ac_out='"$tmp/out1"' +ac_nxt='"$tmp/out2"' + +while : +do + # Write a here document: + cat >>$CONFIG_STATUS <<_ACEOF + # First, check the format of the line: + cat >"\$tmp/defines.sed" <<\\CEOF +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def +b +:def +_ACEOF + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS + echo 'CEOF + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail + grep . conftest.tail >/dev/null || break + rm -f conftest.defines + mv conftest.tail conftest.defines +done +rm -f conftest.defines conftest.tail + +echo "ac_result=$ac_in" >>$CONFIG_STATUS +cat >>$CONFIG_STATUS <<\_ACEOF + if test x"$ac_file" != x-; then + echo "/* $configure_input */" >"$tmp/config.h" + cat "$ac_result" >>"$tmp/config.h" + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 +echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f $ac_file + mv "$tmp/config.h" $ac_file + fi + else + echo "/* $configure_input */" + cat "$ac_result" + fi + rm -f "$tmp/out12" +# Compute $ac_file's index in $config_headers. +_am_arg=$ac_file +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$_am_arg" : 'X\(//\)[^/]' \| \ + X"$_am_arg" : 'X\(//\)$' \| \ + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || +echo X"$_am_arg" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'`/stamp-h$_am_stamp_count + ;; + + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 +echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| . 2>/dev/null || +echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| . 2>/dev/null || +echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + { as_dir=$dirpart/$fdir + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 +echo "$as_me: error: cannot create directory $as_dir" >&2;} + { (exit 1); exit 1; }; }; } + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done +done + ;; + + esac +done # for ac_tag + + +{ (exit 0); exit 0; } +_ACEOF +chmod +x $CONFIG_STATUS +ac_clean_files=$ac_clean_files_save + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || { (exit 1); exit 1; } +fi + + +if test "x$tools" = "x"; then +echo "**IMPORTANT**" +echo "You don't seem to have the development package for libogg (libogg-devel) installed. Only the library will be built (no encoder/decoder executable)" +echo "You can download libogg from http://www.vorbis.com/download.psp" +fi + +echo "Type \"make; make install\" to compile and install"; diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/configure.ac b/tizen/distrib/remote/common/celt-0.5.1.3/configure.ac new file mode 100644 index 0000000..d4b1a3f --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/configure.ac @@ -0,0 +1,168 @@ +dnl Process this file with autoconf to produce a configure script. -*-m4-*- + +AC_INIT(libcelt/arch.h) + +AM_CONFIG_HEADER([config.h]) + +CELT_MAJOR_VERSION=0 +CELT_MINOR_VERSION=5 +CELT_MICRO_VERSION=1 +CELT_EXTRA_VERSION=3 +CELT_VERSION=$CELT_MAJOR_VERSION.$CELT_MINOR_VERSION.$CELT_MICRO_VERSION.$CELT_EXTRA_VERSION + +CELT_LT_CURRENT=0 +CELT_LT_REVISION=0 +CELT_LT_AGE=0 + +AC_SUBST(CELT_LT_CURRENT) +AC_SUBST(CELT_LT_REVISION) +AC_SUBST(CELT_LT_AGE) + +# For automake. +VERSION=$CELT_VERSION +PACKAGE=celt +PACKAGE_APPEND=$CELT_MAJOR_VERSION$CELT_MINOR_VERSION$CELT_MICRO_VERSION + +AC_SUBST(CELT_VERSION) +AC_SUBST(PACKAGE_APPEND) + +AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define) +AM_MAINTAINER_MODE + +AC_CANONICAL_HOST +AM_PROG_LIBTOOL + +AC_C_BIGENDIAN +AC_C_CONST +AC_C_INLINE +AC_C_RESTRICT + +AC_DEFINE([CELT_BUILD], [], [This is a build of CELT]) + +AC_MSG_CHECKING(for C99 variable-size arrays) +AC_TRY_COMPILE( , [ +int foo=10; +int array[foo]; +], +[has_var_arrays=yes;AC_DEFINE([VAR_ARRAYS], [], [Use C99 variable-size arrays]) +], +has_var_arrays=no +) +AC_MSG_RESULT($has_var_arrays) + +AC_CHECK_HEADERS([alloca.h getopt.h]) +AC_MSG_CHECKING(for alloca) +AC_TRY_COMPILE( [#include <alloca.h>], [ +int foo=10; +int *array = alloca(foo); +], +[ +has_alloca=yes; +if test x$has_var_arrays = "xno" ; then +AC_DEFINE([USE_ALLOCA], [], [Make use of alloca]) +fi +], +has_alloca=no +) +AC_MSG_RESULT($has_alloca) + +AC_CHECK_HEADERS(sys/soundcard.h sys/audioio.h) + +XIPH_PATH_OGG([tools="tools"], [tools=""]) +AC_SUBST(tools) + +AC_CHECK_LIB(m, sin) + +# Check for getopt_long; if not found, use included source. +AC_CHECK_FUNCS([getopt_long],, +[# FreeBSD has a gnugetopt library. + AC_CHECK_LIB([gnugetopt],[getopt_long], +[AC_DEFINE([HAVE_GETOPT_LONG])], +[# Use the GNU replacement. +AC_LIBOBJ(getopt) +AC_LIBOBJ(getopt1)])]) + +AC_CHECK_LIB(winmm, main) + +AC_DEFINE_UNQUOTED(CELT_VERSION, "${CELT_VERSION}", [Complete version string]) +AC_DEFINE_UNQUOTED(CELT_MAJOR_VERSION, ${CELT_MAJOR_VERSION}, [Version major]) +AC_DEFINE_UNQUOTED(CELT_MINOR_VERSION, ${CELT_MINOR_VERSION}, [Version minor]) +AC_DEFINE_UNQUOTED(CELT_MICRO_VERSION, ${CELT_MICRO_VERSION}, [Version micro]) +AC_DEFINE_UNQUOTED(CELT_EXTRA_VERSION, "${CELT_EXTRA_VERSION}", [Version extra]) + +AC_ARG_ENABLE(fixed-point, [ --enable-fixed-point Compile as fixed-point], +[if test "$enableval" = yes; then + AC_DEFINE([FIXED_POINT], , [Compile as fixed-point]) + AC_DEFINE([DOUBLE_PRECISION], , [Compile as fixed-point]) + AC_DEFINE([MIXED_PRECISION], , [Compile as fixed-point]) +else + AC_DEFINE([FLOATING_POINT], , [Compile as floating-point]) +fi], +AC_DEFINE([FLOATING_POINT], , [Compile as floating-point])) + +AC_ARG_ENABLE(fixed-point-debug, [ --enable-fixed-point-debug Debug fixed-point implementation], +[if test "$enableval" = yes; then + AC_DEFINE([FIXED_DEBUG], , [Debug fixed-point implementation]) +fi]) + +AC_ARG_ENABLE(static-modes, [ --enable-static-modes], +[if test "$enableval" = yes; then + AC_DEFINE([STATIC_MODES], , [Static modes]) +fi]) + +AC_ARG_ENABLE(assertions, [ --enable-assertions], +[if test "$enableval" = yes; then + AC_DEFINE([ENABLE_ASSERTIONS], , [Assertions]) +fi]) + +if test $ac_cv_c_compiler_gnu = yes ; then + CFLAGS="$CFLAGS -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare" + #CFLAGS="$CFLAGS -fvisibility=hidden -W -Wstrict-prototypes -Wmissing-prototypes -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wno-parentheses" +fi + +AC_C99_FUNC_LRINTF +AC_C99_FUNC_LRINT + +AC_CHECK_SIZEOF(short) +AC_CHECK_SIZEOF(int) +AC_CHECK_SIZEOF(long) +AC_CHECK_SIZEOF(long long) + +if test x$has_char16 = "xyes" ; then + case 1 in + $ac_cv_sizeof_short) SIZE16="short";; + $ac_cv_sizeof_int) SIZE16="int";; + esac +else + case 2 in + $ac_cv_sizeof_short) SIZE16="short";; + $ac_cv_sizeof_int) SIZE16="int";; + esac +fi + +if test x$has_char16 = "xyes" ; then + case 2 in + $ac_cv_sizeof_int) SIZE32="int";; + $ac_cv_sizeof_long) SIZE32="long";; + $ac_cv_sizeof_short) SIZE32="short";; + esac +else + case 4 in + $ac_cv_sizeof_int) SIZE32="int";; + $ac_cv_sizeof_long) SIZE32="long";; + $ac_cv_sizeof_short) SIZE32="short";; + esac +fi + +AC_SUBST(SIZE16) +AC_SUBST(SIZE32) + +AC_OUTPUT([Makefile libcelt/Makefile tests/Makefile celt$PACKAGE_APPEND.pc tools/Makefile]) + +if test "x$tools" = "x"; then +echo "**IMPORTANT**" +echo "You don't seem to have the development package for libogg (libogg-devel) installed. Only the library will be built (no encoder/decoder executable)" +echo "You can download libogg from http://www.vorbis.com/download.psp" +fi + +echo "Type \"make; make install\" to compile and install"; diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/depcomp b/tizen/distrib/remote/common/celt-0.5.1.3/depcomp new file mode 100755 index 0000000..e5f9736 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/depcomp @@ -0,0 +1,589 @@ +#! /bin/sh +# depcomp - compile a program generating dependencies as side-effects + +scriptversion=2007-03-29.01 + +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 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 2, 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. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>. + +case $1 in + '') + echo "$0: No command. Try \`$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: depcomp [--help] [--version] PROGRAM [ARGS] + +Run PROGRAMS ARGS to compile a file, generating dependencies +as side-effects. + +Environment variables: + depmode Dependency tracking mode. + source Source file read by `PROGRAMS ARGS'. + object Object file output by `PROGRAMS ARGS'. + DEPDIR directory where to store dependencies. + depfile Dependency file to output. + tmpdepfile Temporary file to use when outputing dependencies. + libtool Whether libtool is used (yes/no). + +Report bugs to <bug-automake@gnu.org>. +EOF + exit $? + ;; + -v | --v*) + echo "depcomp $scriptversion" + exit $? + ;; +esac + +if test -z "$depmode" || test -z "$source" || test -z "$object"; then + echo "depcomp: Variables source, object and depmode must be set" 1>&2 + exit 1 +fi + +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. +depfile=${depfile-`echo "$object" | + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} + +rm -f "$tmpdepfile" + +# Some modes work just like other modes, but use different flags. We +# parameterize here, but still list the modes in the big case below, +# to make depend.m4 easier to write. Note that we *cannot* use a case +# here, because this file can only contain one case statement. +if test "$depmode" = hp; then + # HP compiler uses -M and no extra arg. + gccflag=-M + depmode=gcc +fi + +if test "$depmode" = dashXmstdout; then + # This is just like dashmstdout with a different argument. + dashmflag=-xM + depmode=dashmstdout +fi + +case "$depmode" in +gcc3) +## gcc 3 implements dependency tracking that does exactly what +## we want. Yay! Note: for some reason libtool 1.4 doesn't like +## it if -MD -MP comes after the -MF stuff. Hmm. +## Unfortunately, FreeBSD c89 acceptance of flags depends upon +## the command line argument order; so add the flags where they +## appear in depend2.am. Note that the slowdown incurred here +## affects only configure: in makefiles, %FASTDEP% shortcuts this. + for arg + do + case $arg in + -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; + *) set fnord "$@" "$arg" ;; + esac + shift # fnord + shift # $arg + done + "$@" + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + mv "$tmpdepfile" "$depfile" + ;; + +gcc) +## There are various ways to get dependency output from gcc. Here's +## why we pick this rather obscure method: +## - Don't want to use -MD because we'd like the dependencies to end +## up in a subdir. Having to rename by hand is ugly. +## (We might end up doing this anyway to support other compilers.) +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like +## -MM, not -M (despite what the docs say). +## - Using -M directly means running the compiler twice (even worse +## than renaming). + if test -z "$gccflag"; then + gccflag=-MD, + fi + "$@" -Wp,"$gccflag$tmpdepfile" + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz +## The second -e expression handles DOS-style file names with drive letters. + sed -e 's/^[^:]*: / /' \ + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" +## This next piece of magic avoids the `deleted header file' problem. +## The problem is that when a header file which appears in a .P file +## is deleted, the dependency causes make to die (because there is +## typically no way to rebuild the header). We avoid this by adding +## dummy dependencies for each header file. Too bad gcc doesn't do +## this for us directly. + tr ' ' ' +' < "$tmpdepfile" | +## Some versions of gcc put a space before the `:'. On the theory +## that the space means something, we add a space to the output as +## well. +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +sgi) + if test "$libtool" = yes; then + "$@" "-Wp,-MDupdate,$tmpdepfile" + else + "$@" -MDupdate "$tmpdepfile" + fi + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files + echo "$object : \\" > "$depfile" + + # Clip off the initial element (the dependent). Don't try to be + # clever and replace this with sed code, as IRIX sed won't handle + # lines with more than a fixed number of characters (4096 in + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; + # the IRIX cc adds comments like `#:fec' to the end of the + # dependency line. + tr ' ' ' +' < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ + tr ' +' ' ' >> $depfile + echo >> $depfile + + # The second pass generates a dummy entry for each header file. + tr ' ' ' +' < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ + >> $depfile + else + # The sourcefile does not contain any dependencies, so just + # store a dummy comment line, to avoid errors with the Makefile + # "include basename.Plo" scheme. + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +aix) + # The C for AIX Compiler uses -M and outputs the dependencies + # in a .u file. In older versions, this file always lives in the + # current directory. Also, the AIX compiler puts `$object:' at the + # start of each line; $object doesn't have directory information. + # Version 6 uses the directory in both cases. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.u + tmpdepfile2=$base.u + tmpdepfile3=$dir.libs/$base.u + "$@" -Wc,-M + else + tmpdepfile1=$dir$base.u + tmpdepfile2=$dir$base.u + tmpdepfile3=$dir$base.u + "$@" -M + fi + stat=$? + + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + # Each line is of the form `foo.o: dependent.h'. + # Do two passes, one to just change these to + # `$object: dependent.h' and one to simply `dependent.h:'. + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" + # That's a tab and a space in the []. + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" + else + # The sourcefile does not contain any dependencies, so just + # store a dummy comment line, to avoid errors with the Makefile + # "include basename.Plo" scheme. + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +icc) + # Intel's C compiler understands `-MD -MF file'. However on + # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c + # ICC 7.0 will fill foo.d with something like + # foo.o: sub/foo.c + # foo.o: sub/foo.h + # which is wrong. We want: + # sub/foo.o: sub/foo.c + # sub/foo.o: sub/foo.h + # sub/foo.c: + # sub/foo.h: + # ICC 7.1 will output + # foo.o: sub/foo.c sub/foo.h + # and will wrap long lines using \ : + # foo.o: sub/foo.c ... \ + # sub/foo.h ... \ + # ... + + "$@" -MD -MF "$tmpdepfile" + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + # Each line is of the form `foo.o: dependent.h', + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. + # Do two passes, one to just change these to + # `$object: dependent.h' and one to simply `dependent.h:'. + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process this invocation + # correctly. Breaking it into two sed invocations is a workaround. + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | + sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp2) + # The "hp" stanza above does not work with aCC (C++) and HP's ia64 + # compilers, which have integrated preprocessors. The correct option + # to use with these is +Maked; it writes dependencies to a file named + # 'foo.d', which lands next to the object file, wherever that + # happens to be. + # Much of this is similar to the tru64 case; see comments there. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir.libs/$base.d + "$@" -Wc,+Maked + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + "$@" +Maked + fi + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile1" "$tmpdepfile2" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" + # Add `dependent.h:' lines. + sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile" + else + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" "$tmpdepfile2" + ;; + +tru64) + # The Tru64 compiler uses -MD to generate dependencies as a side + # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put + # dependencies in `foo.d' instead, so we check for that too. + # Subdirectories are respected. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + + if test "$libtool" = yes; then + # With Tru64 cc, shared objects can also be used to make a + # static library. This mechanism is used in libtool 1.4 series to + # handle both shared and static libraries in a single compilation. + # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. + # + # With libtool 1.5 this exception was removed, and libtool now + # generates 2 separate objects for the 2 libraries. These two + # compilations output dependencies in $dir.libs/$base.o.d and + # in $dir$base.o.d. We have to check for both files, because + # one of the two compilations can be disabled. We should prefer + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is + # automatically cleaned when .libs/ is deleted, while ignoring + # the former would cause a distcleancheck panic. + tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 + tmpdepfile2=$dir$base.o.d # libtool 1.5 + tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 + tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 + "$@" -Wc,-MD + else + tmpdepfile1=$dir$base.o.d + tmpdepfile2=$dir$base.d + tmpdepfile3=$dir$base.d + tmpdepfile4=$dir$base.d + "$@" -MD + fi + + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" + # That's a tab and a space in the []. + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" + else + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +#nosideeffect) + # This comment above is used by automake to tell side-effect + # dependency tracking mechanisms from slower ones. + +dashmstdout) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout, regardless of -o. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test $1 != '--mode=compile'; do + shift + done + shift + fi + + # Remove `-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + test -z "$dashmflag" && dashmflag=-M + # Require at least two characters before searching for `:' + # in the target name. This is to cope with DOS-style filenames: + # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. + "$@" $dashmflag | + sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" + rm -f "$depfile" + cat < "$tmpdepfile" > "$depfile" + tr ' ' ' +' < "$tmpdepfile" | \ +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +dashXmstdout) + # This case only exists to satisfy depend.m4. It is never actually + # run, as this mode is specially recognized in the preamble. + exit 1 + ;; + +makedepend) + "$@" || exit $? + # Remove any Libtool call + if test "$libtool" = yes; then + while test $1 != '--mode=compile'; do + shift + done + shift + fi + # X makedepend + shift + cleared=no + for arg in "$@"; do + case $cleared in + no) + set ""; shift + cleared=yes ;; + esac + case "$arg" in + -D*|-I*) + set fnord "$@" "$arg"; shift ;; + # Strip any option that makedepend may not understand. Remove + # the object too, otherwise makedepend will parse it as a source file. + -*|$object) + ;; + *) + set fnord "$@" "$arg"; shift ;; + esac + done + obj_suffix="`echo $object | sed 's/^.*\././'`" + touch "$tmpdepfile" + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" + rm -f "$depfile" + cat < "$tmpdepfile" > "$depfile" + sed '1,2d' "$tmpdepfile" | tr ' ' ' +' | \ +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" "$tmpdepfile".bak + ;; + +cpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test $1 != '--mode=compile'; do + shift + done + shift + fi + + # Remove `-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + "$@" -E | + sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ + -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | + sed '$ s: \\$::' > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + cat < "$tmpdepfile" >> "$depfile" + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvisualcpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout, regardless of -o, + # because we must use -o when running libtool. + "$@" || exit $? + IFS=" " + for arg + do + case "$arg" in + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") + set fnord "$@" + shift + shift + ;; + *) + set fnord "$@" "$arg" + shift + shift + ;; + esac + done + "$@" -E | + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" + echo " " >> "$depfile" + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +none) + exec "$@" + ;; + +*) + echo "Unknown depmode $depmode" 1>&2 + exit 1 + ;; +esac + +exit 0 + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/install-sh b/tizen/distrib/remote/common/celt-0.5.1.3/install-sh new file mode 100755 index 0000000..a5897de --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/install-sh @@ -0,0 +1,519 @@ +#!/bin/sh +# install - install a program, script, or datafile + +scriptversion=2006-12-25.00 + +# This originates from X11R5 (mit/util/scripts/install.sh), which was +# later released in X11R6 (xc/config/util/install.sh) with the +# following copyright and license. +# +# Copyright (C) 1994 X Consortium +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# +# Except as contained in this notice, the name of the X Consortium shall not +# be used in advertising or otherwise to promote the sale, use or other deal- +# ings in this Software without prior written authorization from the X Consor- +# tium. +# +# +# FSF changes to this file are in the public domain. +# +# Calling this script install-sh is preferred over install.sh, to prevent +# `make' implicit rules from creating a file called install from it +# when there is no Makefile. +# +# This script is compatible with the BSD install script, but was written +# from scratch. + +nl=' +' +IFS=" "" $nl" + +# set DOITPROG to echo to test this script + +# Don't use :- since 4.3BSD and earlier shells don't like it. +doit=${DOITPROG-} +if test -z "$doit"; then + doit_exec=exec +else + doit_exec=$doit +fi + +# Put in absolute file names if you don't have them in your path; +# or use environment vars. + +chgrpprog=${CHGRPPROG-chgrp} +chmodprog=${CHMODPROG-chmod} +chownprog=${CHOWNPROG-chown} +cmpprog=${CMPPROG-cmp} +cpprog=${CPPROG-cp} +mkdirprog=${MKDIRPROG-mkdir} +mvprog=${MVPROG-mv} +rmprog=${RMPROG-rm} +stripprog=${STRIPPROG-strip} + +posix_glob='?' +initialize_posix_glob=' + test "$posix_glob" != "?" || { + if (set -f) 2>/dev/null; then + posix_glob= + else + posix_glob=: + fi + } +' + +posix_mkdir= + +# Desired mode of installed file. +mode=0755 + +chgrpcmd= +chmodcmd=$chmodprog +chowncmd= +mvcmd=$mvprog +rmcmd="$rmprog -f" +stripcmd= + +src= +dst= +dir_arg= +dst_arg= + +copy_on_change=false +no_target_directory= + +usage="\ +Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE + or: $0 [OPTION]... SRCFILES... DIRECTORY + or: $0 [OPTION]... -t DIRECTORY SRCFILES... + or: $0 [OPTION]... -d DIRECTORIES... + +In the 1st form, copy SRCFILE to DSTFILE. +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. +In the 4th, create DIRECTORIES. + +Options: + --help display this help and exit. + --version display version info and exit. + + -c (ignored) + -C install only if different (preserve the last data modification time) + -d create directories instead of installing files. + -g GROUP $chgrpprog installed files to GROUP. + -m MODE $chmodprog installed files to MODE. + -o USER $chownprog installed files to USER. + -s $stripprog installed files. + -t DIRECTORY install into DIRECTORY. + -T report an error if DSTFILE is a directory. + +Environment variables override the default commands: + CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG + RMPROG STRIPPROG +" + +while test $# -ne 0; do + case $1 in + -c) ;; + + -C) copy_on_change=true;; + + -d) dir_arg=true;; + + -g) chgrpcmd="$chgrpprog $2" + shift;; + + --help) echo "$usage"; exit $?;; + + -m) mode=$2 + case $mode in + *' '* | *' '* | *' +'* | *'*'* | *'?'* | *'['*) + echo "$0: invalid mode: $mode" >&2 + exit 1;; + esac + shift;; + + -o) chowncmd="$chownprog $2" + shift;; + + -s) stripcmd=$stripprog;; + + -t) dst_arg=$2 + shift;; + + -T) no_target_directory=true;; + + --version) echo "$0 $scriptversion"; exit $?;; + + --) shift + break;; + + -*) echo "$0: invalid option: $1" >&2 + exit 1;; + + *) break;; + esac + shift +done + +if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then + # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dst_arg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dst_arg" + shift # fnord + fi + shift # arg + dst_arg=$arg + done +fi + +if test $# -eq 0; then + if test -z "$dir_arg"; then + echo "$0: no input file specified." >&2 + exit 1 + fi + # It's OK to call `install-sh -d' without argument. + # This can happen when creating conditional directories. + exit 0 +fi + +if test -z "$dir_arg"; then + trap '(exit $?); exit' 1 2 13 15 + + # Set umask so as not to create temps with too-generous modes. + # However, 'strip' requires both read and write access to temps. + case $mode in + # Optimize common cases. + *644) cp_umask=133;; + *755) cp_umask=22;; + + *[0-7]) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw='% 200' + fi + cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; + *) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw=,u+rw + fi + cp_umask=$mode$u_plus_rw;; + esac +fi + +for src +do + # Protect names starting with `-'. + case $src in + -*) src=./$src;; + esac + + if test -n "$dir_arg"; then + dst=$src + dstdir=$dst + test -d "$dstdir" + dstdir_status=$? + else + + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command + # might cause directories to be created, which would be especially bad + # if $src (and thus $dsttmp) contains '*'. + if test ! -f "$src" && test ! -d "$src"; then + echo "$0: $src does not exist." >&2 + exit 1 + fi + + if test -z "$dst_arg"; then + echo "$0: no destination specified." >&2 + exit 1 + fi + + dst=$dst_arg + # Protect names starting with `-'. + case $dst in + -*) dst=./$dst;; + esac + + # If destination is a directory, append the input filename; won't work + # if double slashes aren't ignored. + if test -d "$dst"; then + if test -n "$no_target_directory"; then + echo "$0: $dst_arg: Is a directory" >&2 + exit 1 + fi + dstdir=$dst + dst=$dstdir/`basename "$src"` + dstdir_status=0 + else + # Prefer dirname, but fall back on a substitute if dirname fails. + dstdir=` + (dirname "$dst") 2>/dev/null || + expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$dst" : 'X\(//\)[^/]' \| \ + X"$dst" : 'X\(//\)$' \| \ + X"$dst" : 'X\(/\)' \| . 2>/dev/null || + echo X"$dst" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q' + ` + + test -d "$dstdir" + dstdir_status=$? + fi + fi + + obsolete_mkdir_used=false + + if test $dstdir_status != 0; then + case $posix_mkdir in + '') + # Create intermediate dirs using mode 755 as modified by the umask. + # This is like FreeBSD 'install' as of 1997-10-28. + umask=`umask` + case $stripcmd.$umask in + # Optimize common cases. + *[2367][2367]) mkdir_umask=$umask;; + .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; + + *[0-7]) + mkdir_umask=`expr $umask + 22 \ + - $umask % 100 % 40 + $umask % 20 \ + - $umask % 10 % 4 + $umask % 2 + `;; + *) mkdir_umask=$umask,go-w;; + esac + + # With -d, create the new directory with the user-specified mode. + # Otherwise, rely on $mkdir_umask. + if test -n "$dir_arg"; then + mkdir_mode=-m$mode + else + mkdir_mode= + fi + + posix_mkdir=false + case $umask in + *[123567][0-7][0-7]) + # POSIX mkdir -p sets u+wx bits regardless of umask, which + # is incompatible with FreeBSD 'install' when (umask & 300) != 0. + ;; + *) + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 + + if (umask $mkdir_umask && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 + then + if test -z "$dir_arg" || { + # Check for POSIX incompatibilities with -m. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or + # other-writeable bit of parent directory when it shouldn't. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. + ls_ld_tmpdir=`ls -ld "$tmpdir"` + case $ls_ld_tmpdir in + d????-?r-*) different_mode=700;; + d????-?--*) different_mode=755;; + *) false;; + esac && + $mkdirprog -m$different_mode -p -- "$tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$tmpdir"` + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" + } + } + then posix_mkdir=: + fi + rmdir "$tmpdir/d" "$tmpdir" + else + # Remove any dirs left behind by ancient mkdir implementations. + rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null + fi + trap '' 0;; + esac;; + esac + + if + $posix_mkdir && ( + umask $mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" + ) + then : + else + + # The umask is ridiculous, or mkdir does not conform to POSIX, + # or it failed possibly due to a race condition. Create the + # directory the slow way, step by step, checking for races as we go. + + case $dstdir in + /*) prefix='/';; + -*) prefix='./';; + *) prefix='';; + esac + + eval "$initialize_posix_glob" + + oIFS=$IFS + IFS=/ + $posix_glob set -f + set fnord $dstdir + shift + $posix_glob set +f + IFS=$oIFS + + prefixes= + + for d + do + test -z "$d" && continue + + prefix=$prefix$d + if test -d "$prefix"; then + prefixes= + else + if $posix_mkdir; then + (umask=$mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break + # Don't fail if two instances are running concurrently. + test -d "$prefix" || exit 1 + else + case $prefix in + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; + *) qprefix=$prefix;; + esac + prefixes="$prefixes '$qprefix'" + fi + fi + prefix=$prefix/ + done + + if test -n "$prefixes"; then + # Don't fail if two instances are running concurrently. + (umask $mkdir_umask && + eval "\$doit_exec \$mkdirprog $prefixes") || + test -d "$dstdir" || exit 1 + obsolete_mkdir_used=true + fi + fi + fi + + if test -n "$dir_arg"; then + { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && + { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || + test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 + else + + # Make a couple of temp file names in the proper directory. + dsttmp=$dstdir/_inst.$$_ + rmtmp=$dstdir/_rm.$$_ + + # Trap to clean up those temp files at exit. + trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 + + # Copy the file name to the temp name. + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && + + # and set any options; do chmod last to preserve setuid bits. + # + # If any of these fail, we abort the whole thing. If we want to + # ignore errors from any of these, just make sure not to ignore + # errors from the above "$doit $cpprog $src $dsttmp" command. + # + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && + { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && + { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && + + # If -C, don't bother to copy if it wouldn't change the file. + if $copy_on_change && + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && + + eval "$initialize_posix_glob" && + $posix_glob set -f && + set X $old && old=:$2:$4:$5:$6 && + set X $new && new=:$2:$4:$5:$6 && + $posix_glob set +f && + + test "$old" = "$new" && + $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 + then + rm -f "$dsttmp" + else + # Rename the file to the real destination. + $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || + + # The rename failed, perhaps because mv can't rename something else + # to itself, or perhaps because mv is so ancient that it does not + # support -f. + { + # Now remove or move aside any old file at destination location. + # We try this two ways since rm can't unlink itself on some + # systems and the destination file might be busy for other + # reasons. In this case, the final cleanup might fail but the new + # file should still install successfully. + { + test ! -f "$dst" || + $doit $rmcmd -f "$dst" 2>/dev/null || + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && + { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } + } || + { echo "$0: cannot unlink or rename $dst" >&2 + (exit 1); exit 1 + } + } && + + # Now rename the file to the real destination. + $doit $mvcmd "$dsttmp" "$dst" + } + fi || exit 1 + + trap '' 0 + fi +done + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/Makefile.am b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/Makefile.am new file mode 100644 index 0000000..a7fe4fd --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/Makefile.am @@ -0,0 +1,40 @@ +# Disable automatic dependency tracking if using other tools than gcc and gmake +#AUTOMAKE_OPTIONS = no-dependencies + + +pkgappincludedir = $(includedir)/celt@PACKAGE_APPEND@ +pkgappinclude_HEADERS = celt.h celt_types.h celt_header.h +EXTRA_DIST= match-test.sh + +#INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir) @OGG_CFLAGS@ + +TESTS = match-test.sh + +noinst_SCRIPTS = match-test.sh + +lib_LTLIBRARIES = libcelt@PACKAGE_APPEND@.la + +# Sources for compilation in the library +libcelt@PACKAGE_APPEND@_la_SOURCES = bands.c celt.c cwrs.c ecintrin.h entcode.c \ + entdec.c entenc.c header.c kfft_single.c kiss_fft.c kiss_fftr.c laplace.c mdct.c \ + modes.c pitch.c psy.c quant_bands.c quant_pitch.c rangedec.c rangeenc.c rate.c \ + vq.c + +#noinst_HEADERS = + +libcelt@PACKAGE_APPEND@_la_LDFLAGS = -version-info @CELT_LT_CURRENT@:@CELT_LT_REVISION@:@CELT_LT_AGE@ + +noinst_HEADERS = _kiss_fft_guts.h arch.h bands.h fixed_c5x.h fixed_c6x.h \ + cwrs.h ecintrin.h entcode.h entdec.h entenc.h fixed_generic.h float_cast.h \ + kfft_double.h kfft_single.h kiss_fft.h kiss_fftr.h laplace.h mdct.h mfrngcod.h \ + mathops.h modes.h os_support.h pgain_table.h pitch.h psy.h \ + quant_bands.h quant_pitch.h rate.h stack_alloc.h vq.h + +noinst_PROGRAMS = testcelt dump_modes +testcelt_SOURCES = testcelt.c +testcelt_LDADD = libcelt@PACKAGE_APPEND@.la +INCLUDES = +#libcelt_la_LIBADD = + +dump_modes_SOURCES = dump_modes.c +dump_modes_LDADD = libcelt@PACKAGE_APPEND@.la diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/Makefile.in b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/Makefile.in new file mode 100644 index 0000000..7aa48ce --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/Makefile.in @@ -0,0 +1,660 @@ +# Makefile.in generated by automake 1.10.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008 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@ + +# Disable automatic dependency tracking if using other tools than gcc and gmake +#AUTOMAKE_OPTIONS = no-dependencies + + + + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@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@ +noinst_PROGRAMS = testcelt$(EXEEXT) dump_modes$(EXEEXT) +subdir = libcelt +DIST_COMMON = $(noinst_HEADERS) $(pkgappinclude_HEADERS) \ + $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.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 = +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 = `echo $$p | sed -e 's|^.*/||'`; +am__installdirs = "$(DESTDIR)$(libdir)" \ + "$(DESTDIR)$(pkgappincludedir)" +libLTLIBRARIES_INSTALL = $(INSTALL) +LTLIBRARIES = $(lib_LTLIBRARIES) +libcelt@PACKAGE_APPEND@_la_LIBADD = +am_libcelt@PACKAGE_APPEND@_la_OBJECTS = bands.lo celt.lo cwrs.lo \ + entcode.lo entdec.lo entenc.lo header.lo kfft_single.lo \ + kiss_fft.lo kiss_fftr.lo laplace.lo mdct.lo modes.lo pitch.lo \ + psy.lo quant_bands.lo quant_pitch.lo rangedec.lo rangeenc.lo \ + rate.lo vq.lo +libcelt@PACKAGE_APPEND@_la_OBJECTS = \ + $(am_libcelt@PACKAGE_APPEND@_la_OBJECTS) +libcelt@PACKAGE_APPEND@_la_LINK = $(LIBTOOL) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(AM_CFLAGS) $(CFLAGS) $(libcelt@PACKAGE_APPEND@_la_LDFLAGS) \ + $(LDFLAGS) -o $@ +PROGRAMS = $(noinst_PROGRAMS) +am_dump_modes_OBJECTS = dump_modes.$(OBJEXT) +dump_modes_OBJECTS = $(am_dump_modes_OBJECTS) +dump_modes_DEPENDENCIES = libcelt@PACKAGE_APPEND@.la +am_testcelt_OBJECTS = testcelt.$(OBJEXT) +testcelt_OBJECTS = $(am_testcelt_OBJECTS) +testcelt_DEPENDENCIES = libcelt@PACKAGE_APPEND@.la +SCRIPTS = $(noinst_SCRIPTS) +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ +SOURCES = $(libcelt@PACKAGE_APPEND@_la_SOURCES) $(dump_modes_SOURCES) \ + $(testcelt_SOURCES) +DIST_SOURCES = $(libcelt@PACKAGE_APPEND@_la_SOURCES) \ + $(dump_modes_SOURCES) $(testcelt_SOURCES) +pkgappincludeHEADERS_INSTALL = $(INSTALL_HEADER) +HEADERS = $(noinst_HEADERS) $(pkgappinclude_HEADERS) +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CELT_LT_AGE = @CELT_LT_AGE@ +CELT_LT_CURRENT = @CELT_LT_CURRENT@ +CELT_LT_REVISION = @CELT_LT_REVISION@ +CELT_VERSION = @CELT_VERSION@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DSYMUTIL = @DSYMUTIL@ +ECHO = @ECHO@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +NMEDIT = @NMEDIT@ +OBJEXT = @OBJEXT@ +OGG_CFLAGS = @OGG_CFLAGS@ +OGG_LIBS = @OGG_LIBS@ +PACKAGE = @PACKAGE@ +PACKAGE_APPEND = @PACKAGE_APPEND@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SIZE16 = @SIZE16@ +SIZE32 = @SIZE32@ +STRIP = @STRIP@ +VERSION = @VERSION@ +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@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_F77 = @ac_ct_F77@ +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@ +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@ +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@ +tools = @tools@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +pkgappincludedir = $(includedir)/celt@PACKAGE_APPEND@ +pkgappinclude_HEADERS = celt.h celt_types.h celt_header.h +EXTRA_DIST = match-test.sh + +#INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir) @OGG_CFLAGS@ +TESTS = match-test.sh +noinst_SCRIPTS = match-test.sh +lib_LTLIBRARIES = libcelt@PACKAGE_APPEND@.la + +# Sources for compilation in the library +libcelt@PACKAGE_APPEND@_la_SOURCES = bands.c celt.c cwrs.c ecintrin.h entcode.c \ + entdec.c entenc.c header.c kfft_single.c kiss_fft.c kiss_fftr.c laplace.c mdct.c \ + modes.c pitch.c psy.c quant_bands.c quant_pitch.c rangedec.c rangeenc.c rate.c \ + vq.c + + +#noinst_HEADERS = +libcelt@PACKAGE_APPEND@_la_LDFLAGS = -version-info @CELT_LT_CURRENT@:@CELT_LT_REVISION@:@CELT_LT_AGE@ +noinst_HEADERS = _kiss_fft_guts.h arch.h bands.h fixed_c5x.h fixed_c6x.h \ + cwrs.h ecintrin.h entcode.h entdec.h entenc.h fixed_generic.h float_cast.h \ + kfft_double.h kfft_single.h kiss_fft.h kiss_fftr.h laplace.h mdct.h mfrngcod.h \ + mathops.h modes.h os_support.h pgain_table.h pitch.h psy.h \ + quant_bands.h quant_pitch.h rate.h stack_alloc.h vq.h + +testcelt_SOURCES = testcelt.c +testcelt_LDADD = libcelt@PACKAGE_APPEND@.la +INCLUDES = +#libcelt_la_LIBADD = +dump_modes_SOURCES = dump_modes.c +dump_modes_LDADD = libcelt@PACKAGE_APPEND@.la +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libcelt/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu libcelt/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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +install-libLTLIBRARIES: $(lib_LTLIBRARIES) + @$(NORMAL_INSTALL) + test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ + f=$(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ + else :; fi; \ + done + +uninstall-libLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + p=$(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ + done + +clean-libLTLIBRARIES: + -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +libcelt@PACKAGE_APPEND@.la: $(libcelt@PACKAGE_APPEND@_la_OBJECTS) $(libcelt@PACKAGE_APPEND@_la_DEPENDENCIES) + $(libcelt@PACKAGE_APPEND@_la_LINK) -rpath $(libdir) $(libcelt@PACKAGE_APPEND@_la_OBJECTS) $(libcelt@PACKAGE_APPEND@_la_LIBADD) $(LIBS) + +clean-noinstPROGRAMS: + @list='$(noinst_PROGRAMS)'; for p in $$list; do \ + f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f $$p $$f"; \ + rm -f $$p $$f ; \ + done +dump_modes$(EXEEXT): $(dump_modes_OBJECTS) $(dump_modes_DEPENDENCIES) + @rm -f dump_modes$(EXEEXT) + $(LINK) $(dump_modes_OBJECTS) $(dump_modes_LDADD) $(LIBS) +testcelt$(EXEEXT): $(testcelt_OBJECTS) $(testcelt_DEPENDENCIES) + @rm -f testcelt$(EXEEXT) + $(LINK) $(testcelt_OBJECTS) $(testcelt_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bands.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/celt.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cwrs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dump_modes.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/entcode.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/entdec.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/entenc.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/header.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kfft_single.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kiss_fft.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kiss_fftr.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/laplace.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mdct.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/modes.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pitch.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/psy.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/quant_bands.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/quant_pitch.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rangedec.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rangeenc.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rate.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testcelt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vq.Plo@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c $< + +.c.obj: +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-pkgappincludeHEADERS: $(pkgappinclude_HEADERS) + @$(NORMAL_INSTALL) + test -z "$(pkgappincludedir)" || $(MKDIR_P) "$(DESTDIR)$(pkgappincludedir)" + @list='$(pkgappinclude_HEADERS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(pkgappincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgappincludedir)/$$f'"; \ + $(pkgappincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgappincludedir)/$$f"; \ + done + +uninstall-pkgappincludeHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(pkgappinclude_HEADERS)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(pkgappincludedir)/$$f'"; \ + rm -f "$(DESTDIR)$(pkgappincludedir)/$$f"; \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +check-TESTS: $(TESTS) + @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \ + srcdir=$(srcdir); export srcdir; \ + list=' $(TESTS) '; \ + if test -n "$$list"; then \ + for tst in $$list; do \ + if test -f ./$$tst; then dir=./; \ + elif test -f $$tst; then dir=; \ + else dir="$(srcdir)/"; fi; \ + if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *$$ws$$tst$$ws*) \ + xpass=`expr $$xpass + 1`; \ + failed=`expr $$failed + 1`; \ + echo "XPASS: $$tst"; \ + ;; \ + *) \ + echo "PASS: $$tst"; \ + ;; \ + esac; \ + elif test $$? -ne 77; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *$$ws$$tst$$ws*) \ + xfail=`expr $$xfail + 1`; \ + echo "XFAIL: $$tst"; \ + ;; \ + *) \ + failed=`expr $$failed + 1`; \ + echo "FAIL: $$tst"; \ + ;; \ + esac; \ + else \ + skip=`expr $$skip + 1`; \ + echo "SKIP: $$tst"; \ + fi; \ + done; \ + if test "$$failed" -eq 0; then \ + if test "$$xfail" -eq 0; then \ + banner="All $$all tests passed"; \ + else \ + banner="All $$all tests behaved as expected ($$xfail expected failures)"; \ + fi; \ + else \ + if test "$$xpass" -eq 0; then \ + banner="$$failed of $$all tests failed"; \ + else \ + banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \ + fi; \ + fi; \ + dashes="$$banner"; \ + skipped=""; \ + if test "$$skip" -ne 0; then \ + skipped="($$skip tests were not run)"; \ + test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ + dashes="$$skipped"; \ + fi; \ + report=""; \ + if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ + report="Please report to $(PACKAGE_BUGREPORT)"; \ + test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ + dashes="$$report"; \ + fi; \ + dashes=`echo "$$dashes" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + test -z "$$skipped" || echo "$$skipped"; \ + test -z "$$report" || echo "$$report"; \ + echo "$$dashes"; \ + test "$$failed" -eq 0; \ + else :; fi + +distdir: $(DISTFILES) + @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 $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$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 + $(MAKE) $(AM_MAKEFLAGS) check-TESTS +check: check-am +all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(HEADERS) +installdirs: + for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgappincludedir)"; 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: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ + clean-noinstPROGRAMS mostlyclean-am + +distclean: distclean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: install-pkgappincludeHEADERS + +install-dvi: install-dvi-am + +install-exec-am: install-libLTLIBRARIES + +install-html: install-html-am + +install-info: install-info-am + +install-man: + +install-pdf: install-pdf-am + +install-ps: install-ps-am + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-libLTLIBRARIES uninstall-pkgappincludeHEADERS + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \ + clean-generic clean-libLTLIBRARIES clean-libtool \ + clean-noinstPROGRAMS ctags distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags 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-libLTLIBRARIES \ + install-man install-pdf install-pdf-am \ + install-pkgappincludeHEADERS install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ + pdf pdf-am ps ps-am tags uninstall uninstall-am \ + uninstall-libLTLIBRARIES uninstall-pkgappincludeHEADERS + +# 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: diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/_kiss_fft_guts.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/_kiss_fft_guts.h new file mode 100644 index 0000000..a497683 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/_kiss_fft_guts.h @@ -0,0 +1,245 @@ +/* +Copyright (c) 2003-2004, Mark Borgerding + +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + * Neither the author nor the names of any contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef KISS_FFT_GUTS_H +#define KISS_FFT_GUTS_H + +#define MIN(a,b) ((a)<(b) ? (a):(b)) +#define MAX(a,b) ((a)>(b) ? (a):(b)) + +/* kiss_fft.h + defines kiss_fft_scalar as either short or a float type + and defines + typedef struct { kiss_fft_scalar r; kiss_fft_scalar i; }kiss_fft_cpx; */ +#include "kiss_fft.h" + +#define MAXFACTORS 32 +/* e.g. an fft of length 128 has 4 factors + as far as kissfft is concerned + 4*4*4*2 + */ + +struct kiss_fft_state{ + int nfft; +#ifndef FIXED_POINT + kiss_fft_scalar scale; +#endif + int factors[2*MAXFACTORS]; + int *bitrev; + kiss_twiddle_cpx twiddles[1]; +}; + +/* + Explanation of macros dealing with complex math: + + C_MUL(m,a,b) : m = a*b + C_FIXDIV( c , div ) : if a fixed point impl., c /= div. noop otherwise + C_SUB( res, a,b) : res = a - b + C_SUBFROM( res , a) : res -= a + C_ADDTO( res , a) : res += a + * */ +#ifdef FIXED_POINT +#include "arch.h" + +#ifdef DOUBLE_PRECISION + +# define FRACBITS 31 +# define SAMPPROD celt_int64_t +#define SAMP_MAX 2147483647 +#ifdef MIXED_PRECISION +#define TWID_MAX 32767 +#define TRIG_UPSCALE 1 +#else +#define TRIG_UPSCALE 65536 +#define TWID_MAX 2147483647 +#endif +#define EXT32(a) (a) + +#else /* DOUBLE_PRECISION */ + +# define FRACBITS 15 +# define SAMPPROD celt_int32_t +#define SAMP_MAX 32767 +#define TRIG_UPSCALE 1 +#define EXT32(a) EXTEND32(a) + +#endif /* !DOUBLE_PRECISION */ + +#define SAMP_MIN -SAMP_MAX + +#if defined(CHECK_OVERFLOW) +# define CHECK_OVERFLOW_OP(a,op,b) \ + if ( (SAMPPROD)(a) op (SAMPPROD)(b) > SAMP_MAX || (SAMPPROD)(a) op (SAMPPROD)(b) < SAMP_MIN ) { \ + fprintf(stderr,"WARNING:overflow @ " __FILE__ "(%d): (%d " #op" %d) = %ld\n",__LINE__,(a),(b),(SAMPPROD)(a) op (SAMPPROD)(b) ); } +#endif + +# define smul(a,b) ( (SAMPPROD)(a)*(b) ) +# define sround( x ) (kiss_fft_scalar)( ( (x) + ((SAMPPROD)1<<(FRACBITS-1)) ) >> FRACBITS ) + +#ifdef MIXED_PRECISION + +# define S_MUL(a,b) MULT16_32_Q15(b, a) + +# define C_MUL(m,a,b) \ + do{ (m).r = SUB32(S_MUL((a).r,(b).r) , S_MUL((a).i,(b).i)); \ + (m).i = ADD32(S_MUL((a).r,(b).i) , S_MUL((a).i,(b).r)); }while(0) + +# define C_MULC(m,a,b) \ + do{ (m).r = ADD32(S_MUL((a).r,(b).r) , S_MUL((a).i,(b).i)); \ + (m).i = SUB32(S_MUL((a).i,(b).r) , S_MUL((a).r,(b).i)); }while(0) + +# define C_MUL4(m,a,b) \ + do{ (m).r = SHR(SUB32(S_MUL((a).r,(b).r) , S_MUL((a).i,(b).i)),2); \ + (m).i = SHR(ADD32(S_MUL((a).r,(b).i) , S_MUL((a).i,(b).r)),2); }while(0) + +# define C_MULBYSCALAR( c, s ) \ + do{ (c).r = S_MUL( (c).r , s ) ;\ + (c).i = S_MUL( (c).i , s ) ; }while(0) + +# define DIVSCALAR(x,k) \ + (x) = S_MUL( x, (TWID_MAX-((k)>>1))/(k)+1 ) + +# define C_FIXDIV(c,div) \ + do { DIVSCALAR( (c).r , div); \ + DIVSCALAR( (c).i , div); }while (0) + +#define C_ADD( res, a,b)\ + do {(res).r=ADD32((a).r,(b).r); (res).i=ADD32((a).i,(b).i); \ + }while(0) +#define C_SUB( res, a,b)\ + do {(res).r=SUB32((a).r,(b).r); (res).i=SUB32((a).i,(b).i); \ + }while(0) +#define C_ADDTO( res , a)\ + do {(res).r = ADD32((res).r, (a).r); (res).i = ADD32((res).i,(a).i);\ + }while(0) + +#define C_SUBFROM( res , a)\ + do {(res).r = ADD32((res).r,(a).r); (res).i = SUB32((res).i,(a).i); \ + }while(0) + +#else /* MIXED_PRECISION */ +# define sround4( x ) (kiss_fft_scalar)( ( (x) + ((SAMPPROD)1<<(FRACBITS-1)) ) >> (FRACBITS+2) ) + +# define S_MUL(a,b) sround( smul(a,b) ) + +# define C_MUL(m,a,b) \ + do{ (m).r = sround( smul((a).r,(b).r) - smul((a).i,(b).i) ); \ + (m).i = sround( smul((a).r,(b).i) + smul((a).i,(b).r) ); }while(0) +# define C_MULC(m,a,b) \ + do{ (m).r = sround( smul((a).r,(b).r) + smul((a).i,(b).i) ); \ + (m).i = sround( smul((a).i,(b).r) - smul((a).r,(b).i) ); }while(0) + +# define C_MUL4(m,a,b) \ + do{ (m).r = sround4( smul((a).r,(b).r) - smul((a).i,(b).i) ); \ + (m).i = sround4( smul((a).r,(b).i) + smul((a).i,(b).r) ); }while(0) + +# define C_MULBYSCALAR( c, s ) \ + do{ (c).r = sround( smul( (c).r , s ) ) ;\ + (c).i = sround( smul( (c).i , s ) ) ; }while(0) + +# define DIVSCALAR(x,k) \ + (x) = sround( smul( x, SAMP_MAX/k ) ) + +# define C_FIXDIV(c,div) \ + do { DIVSCALAR( (c).r , div); \ + DIVSCALAR( (c).i , div); }while (0) + +#endif /* !MIXED_PRECISION */ + + + +#else /* not FIXED_POINT*/ + +#define EXT32(a) (a) + +# define S_MUL(a,b) ( (a)*(b) ) +#define C_MUL(m,a,b) \ + do{ (m).r = (a).r*(b).r - (a).i*(b).i;\ + (m).i = (a).r*(b).i + (a).i*(b).r; }while(0) +#define C_MULC(m,a,b) \ + do{ (m).r = (a).r*(b).r + (a).i*(b).i;\ + (m).i = (a).i*(b).r - (a).r*(b).i; }while(0) + +#define C_MUL4(m,a,b) C_MUL(m,a,b) + +# define C_FIXDIV(c,div) /* NOOP */ +# define C_MULBYSCALAR( c, s ) \ + do{ (c).r *= (s);\ + (c).i *= (s); }while(0) +#endif + + + +#ifndef CHECK_OVERFLOW_OP +# define CHECK_OVERFLOW_OP(a,op,b) /* noop */ +#endif + +#ifndef C_ADD +#define C_ADD( res, a,b)\ + do { \ + CHECK_OVERFLOW_OP((a).r,+,(b).r)\ + CHECK_OVERFLOW_OP((a).i,+,(b).i)\ + (res).r=(a).r+(b).r; (res).i=(a).i+(b).i; \ + }while(0) +#define C_SUB( res, a,b)\ + do { \ + CHECK_OVERFLOW_OP((a).r,-,(b).r)\ + CHECK_OVERFLOW_OP((a).i,-,(b).i)\ + (res).r=(a).r-(b).r; (res).i=(a).i-(b).i; \ + }while(0) +#define C_ADDTO( res , a)\ + do { \ + CHECK_OVERFLOW_OP((res).r,+,(a).r)\ + CHECK_OVERFLOW_OP((res).i,+,(a).i)\ + (res).r += (a).r; (res).i += (a).i;\ + }while(0) + +#define C_SUBFROM( res , a)\ + do {\ + CHECK_OVERFLOW_OP((res).r,-,(a).r)\ + CHECK_OVERFLOW_OP((res).i,-,(a).i)\ + (res).r -= (a).r; (res).i -= (a).i; \ + }while(0) +#endif /* C_ADD defined */ + +#ifdef FIXED_POINT +/*# define KISS_FFT_COS(phase) TRIG_UPSCALE*floor(MIN(32767,MAX(-32767,.5+32768 * cos (phase)))) +# define KISS_FFT_SIN(phase) TRIG_UPSCALE*floor(MIN(32767,MAX(-32767,.5+32768 * sin (phase))))*/ +# define KISS_FFT_COS(phase) floor(.5+TWID_MAX*cos (phase)) +# define KISS_FFT_SIN(phase) floor(.5+TWID_MAX*sin (phase)) +# define HALF_OF(x) ((x)>>1) +#elif defined(USE_SIMD) +# define KISS_FFT_COS(phase) _mm_set1_ps( cos(phase) ) +# define KISS_FFT_SIN(phase) _mm_set1_ps( sin(phase) ) +# define HALF_OF(x) ((x)*_mm_set1_ps(.5)) +#else +# define KISS_FFT_COS(phase) (kiss_fft_scalar) cos(phase) +# define KISS_FFT_SIN(phase) (kiss_fft_scalar) sin(phase) +# define HALF_OF(x) ((x)*.5) +#endif + +#define kf_cexp(x,phase) \ + do{ \ + (x)->r = KISS_FFT_COS(phase);\ + (x)->i = KISS_FFT_SIN(phase);\ + }while(0) + +#define kf_cexp2(x,phase) \ + do{ \ + (x)->r = TRIG_UPSCALE*celt_cos_norm((phase));\ + (x)->i = TRIG_UPSCALE*celt_cos_norm((phase)-32768);\ +}while(0) + + +#endif /* KISS_FFT_GUTS_H */ diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/arch.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/arch.h new file mode 100644 index 0000000..f5a253a --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/arch.h @@ -0,0 +1,248 @@ +/* Copyright (C) 2003-2008 Jean-Marc Valin */ +/** + @file arch.h + @brief Various architecture definitions for CELT +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef ARCH_H +#define ARCH_H + +#include "celt_types.h" + + +#define celt_fatal(str) _celt_fatal(str, __FILE__, __LINE__); +#ifdef ENABLE_ASSERTIONS +#define celt_assert(cond) {if (!(cond)) {celt_fatal("assertion failed: " #cond);}} +#define celt_assert2(cond, message) {if (!(cond)) {celt_fatal("assertion failed: " #cond "\n" message);}} +#else +#define celt_assert(cond) +#define celt_assert2(cond, message) +#endif + +#define IMUL32(a,b) ((a)*(b)) + +#define ABS(x) ((x) < 0 ? (-(x)) : (x)) /**< Absolute integer value. */ +#define ABS16(x) ((x) < 0 ? (-(x)) : (x)) /**< Absolute 16-bit value. */ +#define MIN16(a,b) ((a) < (b) ? (a) : (b)) /**< Maximum 16-bit value. */ +#define MAX16(a,b) ((a) > (b) ? (a) : (b)) /**< Maximum 16-bit value. */ +#define ABS32(x) ((x) < 0 ? (-(x)) : (x)) /**< Absolute 32-bit value. */ +#define MIN32(a,b) ((a) < (b) ? (a) : (b)) /**< Maximum 32-bit value. */ +#define MAX32(a,b) ((a) > (b) ? (a) : (b)) /**< Maximum 32-bit value. */ +#define IMAX(a,b) ((a) > (b) ? (a) : (b)) /**< Maximum int value. */ +#define UADD32(a,b) ((a)+(b)) +#define USUB32(a,b) ((a)-(b)) + +#define PRINT_MIPS(file) + +#ifdef FIXED_POINT + +typedef celt_int16_t celt_word16_t; +typedef celt_int32_t celt_word32_t; + +typedef celt_word32_t celt_sig_t; +typedef celt_word16_t celt_norm_t; +typedef celt_word32_t celt_ener_t; +typedef celt_word16_t celt_pgain_t; +typedef celt_word32_t celt_mask_t; + +#define Q15ONE 32767 +#define Q30ONE 1073741823 + +#define SIG_SHIFT 12 + +#define NORM_SCALING 16384 +#define NORM_SCALING_1 (1.f/16384.f) +#define NORM_SHIFT 14 + +#define ENER_SCALING 16384.f +#define ENER_SCALING_1 (1.f/16384.f) +#define ENER_SHIFT 14 + +#define PGAIN_SCALING 32768.f +#define PGAIN_SCALING_1 (1.f/32768.f) +#define PGAIN_SHIFT 15 + +#define DB_SCALING 256.f +#define DB_SCALING_1 (1.f/256.f) + +#define EPSILON 1 +#define VERY_SMALL 0 +#define VERY_LARGE32 ((celt_word32_t)2147483647) +#define VERY_LARGE16 ((celt_word16_t)32767) +#define Q15_ONE ((celt_word16_t)32767) +#define Q15_ONE_1 (1.f/32768.f) + +#define SCALEIN(a) (a) +#define SCALEOUT(a) (a) + +#ifdef FIXED_DEBUG +#include "fixed_debug.h" +#else + +#include "fixed_generic.h" + +#ifdef ARM5E_ASM +#include "fixed_arm5e.h" +#elif defined (ARM4_ASM) +#include "fixed_arm4.h" +#elif defined (BFIN_ASM) +#include "fixed_bfin.h" +#elif defined (TI_C5X_ASM) +#include "fixed_c5x.h" +#elif defined (TI_C6X_ASM) +#include "fixed_c6x.h" +#endif + +#endif + + +#else /* FIXED_POINT */ + +typedef float celt_word16_t; +typedef float celt_word32_t; + +typedef float celt_sig_t; +typedef float celt_norm_t; +typedef float celt_ener_t; +typedef float celt_pgain_t; +typedef float celt_mask_t; + +#define Q15ONE 1.0f +#define Q30ONE 1.0f + +#define NORM_SCALING 1.f +#define NORM_SCALING_1 1.f +#define ENER_SCALING 1.f +#define ENER_SCALING_1 1.f +#define PGAIN_SCALING 1.f +#define PGAIN_SCALING_1 1.f + +#define DB_SCALING 1.f +#define DB_SCALING_1 1.f + +#define EPSILON 1e-15f +#define VERY_SMALL 1e-15f +#define VERY_LARGE32 1e15f +#define VERY_LARGE16 1e15f +#define Q15_ONE ((celt_word16_t)1.f) +#define Q15_ONE_1 ((celt_word16_t)1.f) + +#define QCONST16(x,bits) (x) +#define QCONST32(x,bits) (x) + +#define NEG16(x) (-(x)) +#define NEG32(x) (-(x)) +#define EXTRACT16(x) (x) +#define EXTEND32(x) (x) +#define SHR16(a,shift) (a) +#define SHL16(a,shift) (a) +#define SHR32(a,shift) (a) +#define SHL32(a,shift) (a) +#define PSHR16(a,shift) (a) +#define PSHR32(a,shift) (a) +#define VSHR32(a,shift) (a) +#define SATURATE16(x,a) (x) +#define SATURATE32(x,a) (x) + +#define PSHR(a,shift) (a) +#define SHR(a,shift) (a) +#define SHL(a,shift) (a) +#define SATURATE(x,a) (x) + +#define ROUND16(a,shift) (a) +#define HALF32(x) (.5f*(x)) + +#define ADD16(a,b) ((a)+(b)) +#define SUB16(a,b) ((a)-(b)) +#define ADD32(a,b) ((a)+(b)) +#define SUB32(a,b) ((a)-(b)) +#define MULT16_16_16(a,b) ((a)*(b)) +#define MULT16_16(a,b) ((celt_word32_t)(a)*(celt_word32_t)(b)) +#define MAC16_16(c,a,b) ((c)+(celt_word32_t)(a)*(celt_word32_t)(b)) + +#define MULT16_32_Q11(a,b) ((a)*(b)) +#define MULT16_32_Q13(a,b) ((a)*(b)) +#define MULT16_32_Q14(a,b) ((a)*(b)) +#define MULT16_32_Q15(a,b) ((a)*(b)) +#define MULT16_32_Q16(a,b) ((a)*(b)) +#define MULT16_32_P15(a,b) ((a)*(b)) + +#define MULT32_32_Q31(a,b) ((a)*(b)) + +#define MAC16_32_Q11(c,a,b) ((c)+(a)*(b)) +#define MAC16_32_Q15(c,a,b) ((c)+(a)*(b)) + +#define MAC16_16_Q11(c,a,b) ((c)+(a)*(b)) +#define MAC16_16_Q13(c,a,b) ((c)+(a)*(b)) +#define MAC16_16_P13(c,a,b) ((c)+(a)*(b)) +#define MULT16_16_Q11_32(a,b) ((a)*(b)) +#define MULT16_16_Q13(a,b) ((a)*(b)) +#define MULT16_16_Q14(a,b) ((a)*(b)) +#define MULT16_16_Q15(a,b) ((a)*(b)) +#define MULT16_16_P15(a,b) ((a)*(b)) +#define MULT16_16_P13(a,b) ((a)*(b)) +#define MULT16_16_P14(a,b) ((a)*(b)) + +#define DIV32_16(a,b) (((celt_word32_t)(a))/(celt_word16_t)(b)) +#define PDIV32_16(a,b) (((celt_word32_t)(a))/(celt_word16_t)(b)) +#define DIV32(a,b) (((celt_word32_t)(a))/(celt_word32_t)(b)) +#define PDIV32(a,b) (((celt_word32_t)(a))/(celt_word32_t)(b)) + +#define SCALEIN(a) ((a)*32768.) +#define SCALEOUT(a) ((a)*(1/32768.)) + +#endif /* !FIXED_POINT */ + + +#if defined (CONFIG_TI_C54X) || defined (CONFIG_TI_C55X) + +/* 2 on TI C5x DSP */ +#define BYTES_PER_CHAR 2 +#define BITS_PER_CHAR 16 +#define LOG2_BITS_PER_CHAR 4 + +#else /* CONFIG_TI_C54X */ + +#define BYTES_PER_CHAR 1 +#define BITS_PER_CHAR 8 +#define LOG2_BITS_PER_CHAR 3 + +#endif /* !CONFIG_TI_C54X */ + +#ifndef GLOBAL_STACK_SIZE +#ifdef FIXED_POINT +#define GLOBAL_STACK_SIZE 25000 +#else +#define GLOBAL_STACK_SIZE 40000 +#endif +#endif + +#endif /* ARCH_H */ diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/bands.c b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/bands.c new file mode 100644 index 0000000..14dae41 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/bands.c @@ -0,0 +1,517 @@ +/* (C) 2007-2008 Jean-Marc Valin, CSIRO +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <math.h> +#include "bands.h" +#include "modes.h" +#include "vq.h" +#include "cwrs.h" +#include "stack_alloc.h" +#include "os_support.h" +#include "mathops.h" +#include "rate.h" + +const celt_word16_t sqrtC_1[2] = {QCONST16(1.f, 14), QCONST16(1.414214f, 14)}; + +#ifdef FIXED_POINT +/* Compute the amplitude (sqrt energy) in each of the bands */ +void compute_band_energies(const CELTMode *m, const celt_sig_t *X, celt_ener_t *bank) +{ + int i, c; + const celt_int16_t *eBands = m->eBands; + const int C = CHANNELS(m); + for (c=0;c<C;c++) + { + for (i=0;i<m->nbEBands;i++) + { + int j; + celt_word32_t maxval=0; + celt_word32_t sum = 0; + + j=eBands[i]; do { + maxval = MAX32(maxval, X[j*C+c]); + maxval = MAX32(maxval, -X[j*C+c]); + } while (++j<eBands[i+1]); + + if (maxval > 0) + { + int shift = celt_ilog2(maxval)-10; + j=eBands[i]; do { + sum = MAC16_16(sum, EXTRACT16(VSHR32(X[j*C+c],shift)), + EXTRACT16(VSHR32(X[j*C+c],shift))); + } while (++j<eBands[i+1]); + /* We're adding one here to make damn sure we never end up with a pitch vector that's + larger than unity norm */ + bank[i*C+c] = EPSILON+VSHR32(EXTEND32(celt_sqrt(sum)),-shift); + } else { + bank[i*C+c] = EPSILON; + } + /*printf ("%f ", bank[i*C+c]);*/ + } + } + /*printf ("\n");*/ +} + +/* Normalise each band such that the energy is one. */ +void normalise_bands(const CELTMode *m, const celt_sig_t * restrict freq, celt_norm_t * restrict X, const celt_ener_t *bank) +{ + int i, c; + const celt_int16_t *eBands = m->eBands; + const int C = CHANNELS(m); + for (c=0;c<C;c++) + { + i=0; do { + celt_word16_t g; + int j,shift; + celt_word16_t E; + shift = celt_zlog2(bank[i*C+c])-13; + E = VSHR32(bank[i*C+c], shift); + g = EXTRACT16(celt_rcp(SHR32(MULT16_16(E,sqrtC_1[C-1]),11))); + j=eBands[i]; do { + X[j*C+c] = MULT16_16_Q15(VSHR32(freq[j*C+c],shift-1),g); + } while (++j<eBands[i+1]); + } while (++i<m->nbEBands); + } +} + +#else /* FIXED_POINT */ +/* Compute the amplitude (sqrt energy) in each of the bands */ +void compute_band_energies(const CELTMode *m, const celt_sig_t *X, celt_ener_t *bank) +{ + int i, c; + const celt_int16_t *eBands = m->eBands; + const int C = CHANNELS(m); + for (c=0;c<C;c++) + { + for (i=0;i<m->nbEBands;i++) + { + int j; + celt_word32_t sum = 1e-10; + for (j=eBands[i];j<eBands[i+1];j++) + sum += X[j*C+c]*X[j*C+c]; + bank[i*C+c] = sqrt(sum); + /*printf ("%f ", bank[i*C+c]);*/ + } + } + /*printf ("\n");*/ +} + +#ifdef EXP_PSY +void compute_noise_energies(const CELTMode *m, const celt_sig_t *X, const celt_word16_t *tonality, celt_ener_t *bank) +{ + int i, c; + const celt_int16_t *eBands = m->eBands; + const int C = CHANNELS(m); + for (c=0;c<C;c++) + { + for (i=0;i<m->nbEBands;i++) + { + int j; + celt_word32_t sum = 1e-10; + for (j=eBands[i];j<eBands[i+1];j++) + sum += X[j*C+c]*X[j*C+c]*tonality[j]; + bank[i*C+c] = sqrt(sum); + /*printf ("%f ", bank[i*C+c]);*/ + } + } + /*printf ("\n");*/ +} +#endif + +/* Normalise each band such that the energy is one. */ +void normalise_bands(const CELTMode *m, const celt_sig_t * restrict freq, celt_norm_t * restrict X, const celt_ener_t *bank) +{ + int i, c; + const celt_int16_t *eBands = m->eBands; + const int C = CHANNELS(m); + for (c=0;c<C;c++) + { + for (i=0;i<m->nbEBands;i++) + { + int j; + celt_word16_t g = 1.f/(1e-10+bank[i*C+c]*sqrt(C)); + for (j=eBands[i];j<eBands[i+1];j++) + X[j*C+c] = freq[j*C+c]*g; + } + } +} + +#endif /* FIXED_POINT */ + +#ifndef DISABLE_STEREO +void renormalise_bands(const CELTMode *m, celt_norm_t * restrict X) +{ + int i, c; + const celt_int16_t *eBands = m->eBands; + const int C = CHANNELS(m); + for (c=0;c<C;c++) + { + i=0; do { + renormalise_vector(X+C*eBands[i]+c, QCONST16(0.70711f, 15), eBands[i+1]-eBands[i], C); + } while (++i<m->nbEBands); + } +} +#endif /* DISABLE_STEREO */ + +/* De-normalise the energy to produce the synthesis from the unit-energy bands */ +void denormalise_bands(const CELTMode *m, const celt_norm_t * restrict X, celt_sig_t * restrict freq, const celt_ener_t *bank) +{ + int i, c; + const celt_int16_t *eBands = m->eBands; + const int C = CHANNELS(m); + if (C>2) + celt_fatal("denormalise_bands() not implemented for >2 channels"); + for (c=0;c<C;c++) + { + for (i=0;i<m->nbEBands;i++) + { + int j; + celt_word32_t g = MULT16_32_Q15(sqrtC_1[C-1],bank[i*C+c]); + j=eBands[i]; do { + freq[j*C+c] = SHL32(MULT16_32_Q15(X[j*C+c], g),2); + } while (++j<eBands[i+1]); + } + } + for (i=C*eBands[m->nbEBands];i<C*eBands[m->nbEBands+1];i++) + freq[i] = 0; +} + + +/* Compute the best gain for each "pitch band" */ +void compute_pitch_gain(const CELTMode *m, const celt_norm_t *X, const celt_norm_t *P, celt_pgain_t *gains) +{ + int i; + const celt_int16_t *pBands = m->pBands; + const int C = CHANNELS(m); + + for (i=0;i<m->nbPBands;i++) + { + celt_word32_t Sxy=0, Sxx=0; + int j; + /* We know we're not going to overflow because Sxx can't be more than 1 (Q28) */ + for (j=C*pBands[i];j<C*pBands[i+1];j++) + { + Sxy = MAC16_16(Sxy, X[j], P[j]); + Sxx = MAC16_16(Sxx, X[j], X[j]); + } + /* No negative gain allowed */ + if (Sxy < 0) + Sxy = 0; + /* Not sure how that would happen, just making sure */ + if (Sxy > Sxx) + Sxy = Sxx; + /* We need to be a bit conservative (multiply gain by 0.9), otherwise the + residual doesn't quantise well */ + Sxy = MULT16_32_Q15(QCONST16(.9f, 15), Sxy); + /* gain = Sxy/Sxx */ + gains[i] = EXTRACT16(celt_div(Sxy,ADD32(SHR32(Sxx, PGAIN_SHIFT),EPSILON))); + /*printf ("%f ", 1-sqrt(1-gain*gain));*/ + } + /*if(rand()%10==0) + { + for (i=0;i<m->nbPBands;i++) + printf ("%f ", 1-sqrt(1-gains[i]*gains[i])); + printf ("\n"); + }*/ +} + +/* Apply the (quantised) gain to each "pitch band" */ +void pitch_quant_bands(const CELTMode *m, celt_norm_t * restrict P, const celt_pgain_t * restrict gains) +{ + int i; + const celt_int16_t *pBands = m->pBands; + const int C = CHANNELS(m); + for (i=0;i<m->nbPBands;i++) + { + int j; + for (j=C*pBands[i];j<C*pBands[i+1];j++) + P[j] = MULT16_16_Q15(gains[i], P[j]); + /*printf ("%f ", gain);*/ + } + for (i=C*pBands[m->nbPBands];i<C*pBands[m->nbPBands+1];i++) + P[i] = 0; +} + +static void intensity_band(celt_norm_t * restrict X, int len) +{ + int j; + celt_word32_t E = 1e-15; + celt_word32_t E2 = 1e-15; + for (j=0;j<len;j++) + { + X[j] = X[2*j]; + E = MAC16_16(E, X[j],X[j]); + E2 = MAC16_16(E2, X[2*j+1],X[2*j+1]); + } +#ifndef FIXED_POINT + E = celt_sqrt(E+E2)/celt_sqrt(E); + for (j=0;j<len;j++) + X[j] *= E; +#endif + for (j=0;j<len;j++) + X[len+j] = 0; + +} + +static void dup_band(celt_norm_t * restrict X, int len) +{ + int j; + for (j=len-1;j>=0;j--) + { + X[2*j] = MULT16_16_Q15(QCONST16(.70711f,15),X[j]); + X[2*j+1] = MULT16_16_Q15(QCONST16(.70711f,15),X[j]); + } +} + +static void stereo_band_mix(const CELTMode *m, celt_norm_t *X, const celt_ener_t *bank, const int *stereo_mode, int bandID, int dir) +{ + int i = bandID; + const celt_int16_t *eBands = m->eBands; + const int C = CHANNELS(m); + { + int j; + if (stereo_mode[i] && dir <0) + { + dup_band(X+C*eBands[i], eBands[i+1]-eBands[i]); + } else { + celt_word16_t a1, a2; + if (stereo_mode[i]==0) + { + /* Do mid-side when not doing intensity stereo */ + a1 = QCONST16(.70711f,14); + a2 = dir*QCONST16(.70711f,14); + } else { + celt_word16_t left, right; + celt_word16_t norm; +#ifdef FIXED_POINT + int shift = celt_zlog2(MAX32(bank[i*C], bank[i*C+1]))-13; +#endif + left = VSHR32(bank[i*C],shift); + right = VSHR32(bank[i*C+1],shift); + norm = EPSILON + celt_sqrt(EPSILON+MULT16_16(left,left)+MULT16_16(right,right)); + a1 = DIV32_16(SHL32(EXTEND32(left),14),norm); + a2 = dir*DIV32_16(SHL32(EXTEND32(right),14),norm); + } + for (j=eBands[i];j<eBands[i+1];j++) + { + celt_norm_t r, l; + l = X[j*C]; + r = X[j*C+1]; + X[j*C] = MULT16_16_Q14(a1,l) + MULT16_16_Q14(a2,r); + X[j*C+1] = MULT16_16_Q14(a1,r) - MULT16_16_Q14(a2,l); + } + } + if (stereo_mode[i] && dir>0) + { + intensity_band(X+C*eBands[i], eBands[i+1]-eBands[i]); + } + } +} + +void stereo_decision(const CELTMode *m, celt_norm_t * restrict X, int *stereo_mode, int len) +{ + int i; + for (i=0;i<len-5;i++) + stereo_mode[i] = 0; + for (;i<len;i++) + stereo_mode[i] = 0; +} + + + +/* Quantisation of the residual */ +void quant_bands(const CELTMode *m, celt_norm_t * restrict X, celt_norm_t *P, celt_mask_t *W, const celt_ener_t *bandE, const int *stereo_mode, int *pulses, int shortBlocks, int fold, int total_bits, ec_enc *enc) +{ + int i, j, remaining_bits, balance; + const celt_int16_t * restrict eBands = m->eBands; + celt_norm_t * restrict norm; + VARDECL(celt_norm_t, _norm); + const int C = CHANNELS(m); + int B; + SAVE_STACK; + + B = shortBlocks ? m->nbShortMdcts : 1; + ALLOC(_norm, C*eBands[m->nbEBands+1], celt_norm_t); + norm = _norm; + + balance = 0; + /*printf("bits left: %d\n", bits); + for (i=0;i<m->nbEBands;i++) + printf ("(%d %d) ", pulses[i], ebits[i]); + printf ("\n");*/ + /*printf ("%d %d\n", ec_enc_tell(enc, 0), compute_allocation(m, m->nbPulses));*/ + for (i=0;i<m->nbEBands;i++) + { + int tell; + int q; + celt_word16_t n; + const celt_int16_t * const *BPbits; + + int curr_balance, curr_bits; + + if (C>1 && stereo_mode[i]==0) + BPbits = m->bits_stereo; + else + BPbits = m->bits; + + tell = ec_enc_tell(enc, 4); + if (i != 0) + balance -= tell; + remaining_bits = (total_bits<<BITRES)-tell-1; + curr_balance = (m->nbEBands-i); + if (curr_balance > 3) + curr_balance = 3; + curr_balance = balance / curr_balance; + q = bits2pulses(m, BPbits[i], pulses[i]+curr_balance); + curr_bits = BPbits[i][q]; + remaining_bits -= curr_bits; + while (remaining_bits < 0 && q > 0) + { + remaining_bits += curr_bits; + q--; + curr_bits = BPbits[i][q]; + remaining_bits -= curr_bits; + } + balance += pulses[i] + tell; + + n = SHL16(celt_sqrt(C*(eBands[i+1]-eBands[i])),11); + + /* If pitch isn't available, use intra-frame prediction */ + if ((eBands[i] >= m->pitchEnd && fold) || q<=0) + { + intra_fold(m, X+C*eBands[i], eBands[i+1]-eBands[i], q, norm, P+C*eBands[i], eBands[i], B); + } + + if (q > 0) + { + int ch=C; + if (C==2 && stereo_mode[i]==1) + ch = 1; + if (C==2) + { + stereo_band_mix(m, X, bandE, stereo_mode, i, 1); + stereo_band_mix(m, P, bandE, stereo_mode, i, 1); + } + alg_quant(X+C*eBands[i], W+C*eBands[i], ch*(eBands[i+1]-eBands[i]), q, P+C*eBands[i], enc); + if (C==2) + stereo_band_mix(m, X, bandE, stereo_mode, i, -1); + } else { + for (j=C*eBands[i];j<C*eBands[i+1];j++) + X[j] = P[j]; + } + for (j=C*eBands[i];j<C*eBands[i+1];j++) + norm[j] = MULT16_16_Q15(n,X[j]); + } + RESTORE_STACK; +} + +/* Decoding of the residual */ +void unquant_bands(const CELTMode *m, celt_norm_t * restrict X, celt_norm_t *P, const celt_ener_t *bandE, const int *stereo_mode, int *pulses, int shortBlocks, int fold, int total_bits, ec_dec *dec) +{ + int i, j, remaining_bits, balance; + const celt_int16_t * restrict eBands = m->eBands; + celt_norm_t * restrict norm; + VARDECL(celt_norm_t, _norm); + const int C = CHANNELS(m); + int B; + SAVE_STACK; + + B = shortBlocks ? m->nbShortMdcts : 1; + ALLOC(_norm, C*eBands[m->nbEBands+1], celt_norm_t); + norm = _norm; + + balance = 0; + for (i=0;i<m->nbEBands;i++) + { + int tell; + int q; + celt_word16_t n; + const celt_int16_t * const *BPbits; + + int curr_balance, curr_bits; + + if (C>1 && stereo_mode[i]==0) + BPbits = m->bits_stereo; + else + BPbits = m->bits; + + tell = ec_dec_tell(dec, 4); + if (i != 0) + balance -= tell; + remaining_bits = (total_bits<<BITRES)-tell-1; + curr_balance = (m->nbEBands-i); + if (curr_balance > 3) + curr_balance = 3; + curr_balance = balance / curr_balance; + q = bits2pulses(m, BPbits[i], pulses[i]+curr_balance); + curr_bits = BPbits[i][q]; + remaining_bits -= curr_bits; + while (remaining_bits < 0 && q > 0) + { + remaining_bits += curr_bits; + q--; + curr_bits = BPbits[i][q]; + remaining_bits -= curr_bits; + } + balance += pulses[i] + tell; + + n = SHL16(celt_sqrt(C*(eBands[i+1]-eBands[i])),11); + + /* If pitch isn't available, use intra-frame prediction */ + if ((eBands[i] >= m->pitchEnd && fold) || q<=0) + { + intra_fold(m, X+C*eBands[i], eBands[i+1]-eBands[i], q, norm, P+C*eBands[i], eBands[i], B); + } + + if (q > 0) + { + int ch=C; + if (C==2 && stereo_mode[i]==1) + ch = 1; + if (C==2) + stereo_band_mix(m, P, bandE, stereo_mode, i, 1); + alg_unquant(X+C*eBands[i], ch*(eBands[i+1]-eBands[i]), q, P+C*eBands[i], dec); + if (C==2) + stereo_band_mix(m, X, bandE, stereo_mode, i, -1); + } else { + for (j=C*eBands[i];j<C*eBands[i+1];j++) + X[j] = P[j]; + } + for (j=C*eBands[i];j<C*eBands[i+1];j++) + norm[j] = MULT16_16_Q15(n,X[j]); + } + RESTORE_STACK; +} + diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/bands.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/bands.h new file mode 100644 index 0000000..dc9b471 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/bands.h @@ -0,0 +1,104 @@ +/* (C) 2007 Jean-Marc Valin, CSIRO +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef BANDS_H +#define BANDS_H + +#include "arch.h" +#include "modes.h" +#include "entenc.h" +#include "entdec.h" +#include "rate.h" + +/** Applies a series of rotations so that pulses are spread like a two-sided +exponential. The effect of this is to reduce the tonal noise created by the +sparse spectrum resulting from the pulse codebook */ +void exp_rotation(celt_norm_t *X, int len, int dir, int stride, int iter); + +/** Compute the amplitude (sqrt energy) in each of the bands + * @param m Mode data + * @param X Spectrum + * @param bands Square root of the energy for each band (returned) + */ +void compute_band_energies(const CELTMode *m, const celt_sig_t *X, celt_ener_t *bands); + +void compute_noise_energies(const CELTMode *m, const celt_sig_t *X, const celt_word16_t *tonality, celt_ener_t *bank); + +/** Normalise each band of X such that the energy in each band is + equal to 1 + * @param m Mode data + * @param X Spectrum (returned normalised) + * @param bands Square root of the energy for each band + */ +void normalise_bands(const CELTMode *m, const celt_sig_t * restrict freq, celt_norm_t * restrict X, const celt_ener_t *bands); + +void renormalise_bands(const CELTMode *m, celt_norm_t * restrict X); + +/** Denormalise each band of X to restore full amplitude + * @param m Mode data + * @param X Spectrum (returned de-normalised) + * @param bands Square root of the energy for each band + */ +void denormalise_bands(const CELTMode *m, const celt_norm_t * restrict X, celt_sig_t * restrict freq, const celt_ener_t *bands); + +/** Compute the pitch predictor gain for each pitch band + * @param m Mode data + * @param X Spectrum to predict + * @param P Pitch vector (normalised) + * @param gains Gain computed for each pitch band (returned) + * @param bank Square root of the energy for each band + */ +void compute_pitch_gain(const CELTMode *m, const celt_norm_t *X, const celt_norm_t *P, celt_pgain_t *gains); + +void pitch_quant_bands(const CELTMode *m, celt_norm_t * restrict P, const celt_pgain_t * restrict gains); + +/** Quantisation/encoding of the residual spectrum + * @param m Mode data + * @param X Residual (normalised) + * @param P Pitch vector (normalised) + * @param W Perceptual weighting + * @param total_bits Total number of bits that can be used for the frame (including the ones already spent) + * @param enc Entropy encoder + */ +void quant_bands(const CELTMode *m, celt_norm_t * restrict X, celt_norm_t *P, celt_mask_t *W, const celt_ener_t *bandE, const int *stereo_mode, int *pulses, int time_domain, int fold, int total_bits, ec_enc *enc); + +/** Decoding of the residual spectrum + * @param m Mode data + * @param X Residual (normalised) + * @param P Pitch vector (normalised) + * @param total_bits Total number of bits that can be used for the frame (including the ones already spent) + * @param dec Entropy decoder +*/ +void unquant_bands(const CELTMode *m, celt_norm_t * restrict X, celt_norm_t *P, const celt_ener_t *bandE, const int *stereo_mode, int *pulses, int time_domain, int fold, int total_bits, ec_dec *dec); + +void stereo_decision(const CELTMode *m, celt_norm_t * restrict X, int *stereo_mode, int len); + +#endif /* BANDS_H */ diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/celt.c b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/celt.c new file mode 100644 index 0000000..0fcc901 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/celt.c @@ -0,0 +1,1126 @@ +/* (C) 2007-2008 Jean-Marc Valin, CSIRO +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#define CELT_C + +#include "os_support.h" +#include "float_cast.h" +#include "mdct.h" +#include <math.h> +#include "celt.h" +#include "pitch.h" +#include "kiss_fftr.h" +#include "bands.h" +#include "modes.h" +#include "entcode.h" +#include "quant_pitch.h" +#include "quant_bands.h" +#include "psy.h" +#include "rate.h" +#include "stack_alloc.h" +#include "mathops.h" +#include <stdarg.h> + +static const celt_word16_t preemph = QCONST16(0.8f,15); + +#ifdef FIXED_POINT +static const celt_word16_t transientWindow[16] = { + 279, 1106, 2454, 4276, 6510, 9081, 11900, 14872, + 17896, 20868, 23687, 26258, 28492, 30314, 31662, 32489}; +#else +static const float transientWindow[16] = { + 0.0085135, 0.0337639, 0.0748914, 0.1304955, 0.1986827, 0.2771308, 0.3631685, 0.4538658, + 0.5461342, 0.6368315, 0.7228692, 0.8013173, 0.8695045, 0.9251086, 0.9662361, 0.9914865}; +#endif + + +/** Encoder state + @brief Encoder state + */ +struct CELTEncoder { + const CELTMode *mode; /**< Mode used by the encoder */ + int frame_size; + int block_size; + int overlap; + int channels; + + int pitch_enabled; + int pitch_available; + + celt_word16_t * restrict preemph_memE; /* Input is 16-bit, so why bother with 32 */ + celt_sig_t * restrict preemph_memD; + + celt_sig_t *in_mem; + celt_sig_t *out_mem; + + celt_word16_t *oldBandE; +#ifdef EXP_PSY + celt_word16_t *psy_mem; + struct PsyDecay psy; +#endif +}; + +CELTEncoder *celt051_encoder_create(const CELTMode *mode) +{ + int N, C; + CELTEncoder *st; + + if (check_mode(mode) != CELT_OK) + return NULL; + + N = mode->mdctSize; + C = mode->nbChannels; + st = celt_alloc(sizeof(CELTEncoder)); + + st->mode = mode; + st->frame_size = N; + st->block_size = N; + st->overlap = mode->overlap; + + st->pitch_enabled = 1; + st->pitch_available = 1; + + st->in_mem = celt_alloc(st->overlap*C*sizeof(celt_sig_t)); + st->out_mem = celt_alloc((MAX_PERIOD+st->overlap)*C*sizeof(celt_sig_t)); + + st->oldBandE = (celt_word16_t*)celt_alloc(C*mode->nbEBands*sizeof(celt_word16_t)); + + st->preemph_memE = (celt_word16_t*)celt_alloc(C*sizeof(celt_word16_t)); + st->preemph_memD = (celt_sig_t*)celt_alloc(C*sizeof(celt_sig_t)); + +#ifdef EXP_PSY + st->psy_mem = celt_alloc(MAX_PERIOD*sizeof(celt_word16_t)); + psydecay_init(&st->psy, MAX_PERIOD/2, st->mode->Fs); +#endif + + return st; +} + +void celt051_encoder_destroy(CELTEncoder *st) +{ + if (st == NULL) + { + celt_warning("NULL passed to celt051_encoder_destroy"); + return; + } + if (check_mode(st->mode) != CELT_OK) + return; + + celt_free(st->in_mem); + celt_free(st->out_mem); + + celt_free(st->oldBandE); + + celt_free(st->preemph_memE); + celt_free(st->preemph_memD); + +#ifdef EXP_PSY + celt_free (st->psy_mem); + psydecay_clear(&st->psy); +#endif + + celt_free(st); +} + +static inline celt_int16_t FLOAT2INT16(float x) +{ + x = x*32768.; + x = MAX32(x, -32768); + x = MIN32(x, 32767); + return (celt_int16_t)float2int(x); +} + +static inline celt_word16_t SIG2WORD16(celt_sig_t x) +{ +#ifdef FIXED_POINT + x = PSHR32(x, SIG_SHIFT); + x = MAX32(x, -32768); + x = MIN32(x, 32767); + return EXTRACT16(x); +#else + return (celt_word16_t)x; +#endif +} + +static int transient_analysis(celt_word32_t *in, int len, int C, int *transient_time, int *transient_shift) +{ + int c, i, n; + celt_word32_t ratio; + /* FIXME: Remove the floats here */ + VARDECL(celt_word32_t, begin); + SAVE_STACK; + ALLOC(begin, len, celt_word32_t); + for (i=0;i<len;i++) + begin[i] = ABS32(SHR32(in[C*i],SIG_SHIFT)); + for (c=1;c<C;c++) + { + for (i=0;i<len;i++) + begin[i] = MAX32(begin[i], ABS32(SHR32(in[C*i+c],SIG_SHIFT))); + } + for (i=1;i<len;i++) + begin[i] = MAX32(begin[i-1],begin[i]); + n = -1; + for (i=8;i<len-8;i++) + { + if (begin[i] < MULT16_32_Q15(QCONST16(.2f,15),begin[len-1])) + n=i; + } + if (n<32) + { + n = -1; + ratio = 0; + } else { + ratio = DIV32(begin[len-1],1+begin[n-16]); + } + /*printf ("%d %f\n", n, ratio*ratio);*/ + if (ratio < 0) + ratio = 0; + if (ratio > 1000) + ratio = 1000; + ratio *= ratio; + if (ratio < 50) + *transient_shift = 0; + else if (ratio < 256) + *transient_shift = 1; + else if (ratio < 4096) + *transient_shift = 2; + else + *transient_shift = 3; + *transient_time = n; + + RESTORE_STACK; + return ratio > 20; +} + +/** Apply window and compute the MDCT for all sub-frames and all channels in a frame */ +static void compute_mdcts(const CELTMode *mode, int shortBlocks, celt_sig_t * restrict in, celt_sig_t * restrict out) +{ + const int C = CHANNELS(mode); + if (C==1 && !shortBlocks) + { + const mdct_lookup *lookup = MDCT(mode); + const int overlap = OVERLAP(mode); + mdct_forward(lookup, in, out, mode->window, overlap); + } else if (!shortBlocks) { + const mdct_lookup *lookup = MDCT(mode); + const int overlap = OVERLAP(mode); + const int N = FRAMESIZE(mode); + int c; + VARDECL(celt_word32_t, x); + VARDECL(celt_word32_t, tmp); + SAVE_STACK; + ALLOC(x, N+overlap, celt_word32_t); + ALLOC(tmp, N, celt_word32_t); + for (c=0;c<C;c++) + { + int j; + for (j=0;j<N+overlap;j++) + x[j] = in[C*j+c]; + mdct_forward(lookup, x, tmp, mode->window, overlap); + /* Interleaving the sub-frames */ + for (j=0;j<N;j++) + out[C*j+c] = tmp[j]; + } + RESTORE_STACK; + } else { + const mdct_lookup *lookup = &mode->shortMdct; + const int overlap = mode->overlap; + const int N = mode->shortMdctSize; + int b, c; + VARDECL(celt_word32_t, x); + VARDECL(celt_word32_t, tmp); + SAVE_STACK; + ALLOC(x, N+overlap, celt_word32_t); + ALLOC(tmp, N, celt_word32_t); + for (c=0;c<C;c++) + { + int B = mode->nbShortMdcts; + for (b=0;b<B;b++) + { + int j; + for (j=0;j<N+overlap;j++) + x[j] = in[C*(b*N+j)+c]; + mdct_forward(lookup, x, tmp, mode->window, overlap); + /* Interleaving the sub-frames */ + for (j=0;j<N;j++) + out[C*(j*B+b)+c] = tmp[j]; + } + } + RESTORE_STACK; + } +} + +/** Compute the IMDCT and apply window for all sub-frames and all channels in a frame */ +static void compute_inv_mdcts(const CELTMode *mode, int shortBlocks, celt_sig_t *X, int transient_time, int transient_shift, celt_sig_t * restrict out_mem) +{ + int c, N4; + const int C = CHANNELS(mode); + const int N = FRAMESIZE(mode); + const int overlap = OVERLAP(mode); + N4 = (N-overlap)>>1; + for (c=0;c<C;c++) + { + int j; + if (transient_shift==0 && C==1 && !shortBlocks) { + const mdct_lookup *lookup = MDCT(mode); + mdct_backward(lookup, X, out_mem+C*(MAX_PERIOD-N-N4), mode->window, overlap); + } else if (!shortBlocks) { + const mdct_lookup *lookup = MDCT(mode); + VARDECL(celt_word32_t, x); + VARDECL(celt_word32_t, tmp); + SAVE_STACK; + ALLOC(x, 2*N, celt_word32_t); + ALLOC(tmp, N, celt_word32_t); + /* De-interleaving the sub-frames */ + for (j=0;j<N;j++) + tmp[j] = X[C*j+c]; + /* Prevents problems from the imdct doing the overlap-add */ + CELT_MEMSET(x+N4, 0, N); + mdct_backward(lookup, tmp, x, mode->window, overlap); + celt_assert(transient_shift == 0); + /* The first and last part would need to be set to zero if we actually + wanted to use them. */ + for (j=0;j<overlap;j++) + out_mem[C*(MAX_PERIOD-N)+C*j+c] += x[j+N4]; + for (j=0;j<overlap;j++) + out_mem[C*(MAX_PERIOD)+C*(overlap-j-1)+c] = x[2*N-j-N4-1]; + for (j=0;j<2*N4;j++) + out_mem[C*(MAX_PERIOD-N)+C*(j+overlap)+c] = x[j+N4+overlap]; + RESTORE_STACK; + } else { + int b; + const int N2 = mode->shortMdctSize; + const int B = mode->nbShortMdcts; + const mdct_lookup *lookup = &mode->shortMdct; + VARDECL(celt_word32_t, x); + VARDECL(celt_word32_t, tmp); + SAVE_STACK; + ALLOC(x, 2*N, celt_word32_t); + ALLOC(tmp, N, celt_word32_t); + /* Prevents problems from the imdct doing the overlap-add */ + CELT_MEMSET(x+N4, 0, N2); + for (b=0;b<B;b++) + { + /* De-interleaving the sub-frames */ + for (j=0;j<N2;j++) + tmp[j] = X[C*(j*B+b)+c]; + mdct_backward(lookup, tmp, x+N4+N2*b, mode->window, overlap); + } + if (transient_shift > 0) + { +#ifdef FIXED_POINT + for (j=0;j<16;j++) + x[N4+transient_time+j-16] = MULT16_32_Q15(SHR16(Q15_ONE-transientWindow[j],transient_shift)+transientWindow[j], SHL32(x[N4+transient_time+j-16],transient_shift)); + for (j=transient_time;j<N+overlap;j++) + x[N4+j] = SHL32(x[N4+j], transient_shift); +#else + for (j=0;j<16;j++) + x[N4+transient_time+j-16] *= 1+transientWindow[j]*((1<<transient_shift)-1); + for (j=transient_time;j<N+overlap;j++) + x[N4+j] *= 1<<transient_shift; +#endif + } + /* The first and last part would need to be set to zero if we actually + wanted to use them. */ + for (j=0;j<overlap;j++) + out_mem[C*(MAX_PERIOD-N)+C*j+c] += x[j+N4]; + for (j=0;j<overlap;j++) + out_mem[C*(MAX_PERIOD)+C*(overlap-j-1)+c] = x[2*N-j-N4-1]; + for (j=0;j<2*N4;j++) + out_mem[C*(MAX_PERIOD-N)+C*(j+overlap)+c] = x[j+N4+overlap]; + RESTORE_STACK; + } + } +} + +#ifdef FIXED_POINT +int celt051_encode(CELTEncoder * restrict st, const celt_int16_t * pcm, celt_int16_t * optional_synthesis, unsigned char *compressed, int nbCompressedBytes) +{ +#else +int celt051_encode_float(CELTEncoder * restrict st, const celt_sig_t * pcm, celt_sig_t * optional_synthesis, unsigned char *compressed, int nbCompressedBytes) +{ +#endif + int i, c, N, N4; + int has_pitch; + int id; + int pitch_index; + int bits; + int has_fold=1; + ec_byte_buffer buf; + ec_enc enc; + VARDECL(celt_sig_t, in); + VARDECL(celt_sig_t, freq); + VARDECL(celt_norm_t, X); + VARDECL(celt_norm_t, P); + VARDECL(celt_ener_t, bandE); + VARDECL(celt_pgain_t, gains); + VARDECL(int, stereo_mode); + VARDECL(int, fine_quant); + VARDECL(celt_word16_t, error); + VARDECL(int, pulses); + VARDECL(int, offsets); +#ifdef EXP_PSY + VARDECL(celt_word32_t, mask); + VARDECL(celt_word32_t, tonality); + VARDECL(celt_word32_t, bandM); + VARDECL(celt_ener_t, bandN); +#endif + int shortBlocks=0; + int transient_time; + int transient_shift; + const int C = CHANNELS(st->mode); + SAVE_STACK; + + if (check_mode(st->mode) != CELT_OK) + return CELT_INVALID_MODE; + + /* The memset is important for now in case the encoder doesn't fill up all the bytes */ + CELT_MEMSET(compressed, 0, nbCompressedBytes); + ec_byte_writeinit_buffer(&buf, compressed, nbCompressedBytes); + ec_enc_init(&enc,&buf); + + N = st->block_size; + N4 = (N-st->overlap)>>1; + ALLOC(in, 2*C*N-2*C*N4, celt_sig_t); + + CELT_COPY(in, st->in_mem, C*st->overlap); + for (c=0;c<C;c++) + { + const celt_word16_t * restrict pcmp = pcm+c; + celt_sig_t * restrict inp = in+C*st->overlap+c; + for (i=0;i<N;i++) + { + /* Apply pre-emphasis */ + celt_sig_t tmp = SCALEIN(SHL32(EXTEND32(*pcmp), SIG_SHIFT)); + *inp = SUB32(tmp, SHR32(MULT16_16(preemph,st->preemph_memE[c]),3)); + st->preemph_memE[c] = SCALEIN(*pcmp); + inp += C; + pcmp += C; + } + } + CELT_COPY(st->in_mem, in+C*(2*N-2*N4-st->overlap), C*st->overlap); + + /* Transient handling */ + if (st->mode->nbShortMdcts > 1) + { + if (transient_analysis(in, N+st->overlap, C, &transient_time, &transient_shift)) + { +#ifndef FIXED_POINT + float gain_1; +#endif + ec_enc_bits(&enc, 0, 1); //Pitch off + ec_enc_bits(&enc, 1, 1); //Transient on + ec_enc_bits(&enc, transient_shift, 2); + if (transient_shift) + ec_enc_uint(&enc, transient_time, N+st->overlap); + /* Apply the inverse shaping window */ + if (transient_shift) + { +#ifdef FIXED_POINT + for (c=0;c<C;c++) + for (i=0;i<16;i++) + in[C*(transient_time+i-16)+c] = MULT16_32_Q15(EXTRACT16(SHR32(celt_rcp(Q15ONE+MULT16_16(transientWindow[i],((1<<transient_shift)-1))),1)), in[C*(transient_time+i-16)+c]); + for (c=0;c<C;c++) + for (i=transient_time;i<N+st->overlap;i++) + in[C*i+c] = SHR32(in[C*i+c], transient_shift); +#else + for (c=0;c<C;c++) + for (i=0;i<16;i++) + in[C*(transient_time+i-16)+c] /= 1+transientWindow[i]*((1<<transient_shift)-1); + gain_1 = 1./(1<<transient_shift); + for (c=0;c<C;c++) + for (i=transient_time;i<N+st->overlap;i++) + in[C*i+c] *= gain_1; +#endif + } + shortBlocks = 1; + } else { + transient_time = -1; + transient_shift = 0; + shortBlocks = 0; + } + } else { + transient_time = -1; + transient_shift = 0; + shortBlocks = 0; + } + + /* Pitch analysis: we do it early to save on the peak stack space */ + /* Don't use pitch if there isn't enough data available yet, or if we're using shortBlocks */ + has_pitch = st->pitch_enabled && (st->pitch_available >= MAX_PERIOD) && (!shortBlocks); +#ifdef EXP_PSY + ALLOC(tonality, MAX_PERIOD/4, celt_word16_t); + { + VARDECL(celt_word16_t, X); + ALLOC(X, MAX_PERIOD/2, celt_word16_t); + find_spectral_pitch(st->mode, st->mode->fft, &st->mode->psy, in, st->out_mem, st->mode->window, X, 2*N-2*N4, MAX_PERIOD-(2*N-2*N4), &pitch_index); + compute_tonality(st->mode, X, st->psy_mem, MAX_PERIOD, tonality, MAX_PERIOD/4); + } +#else + if (has_pitch) + { + find_spectral_pitch(st->mode, st->mode->fft, &st->mode->psy, in, st->out_mem, st->mode->window, NULL, 2*N-2*N4, MAX_PERIOD-(2*N-2*N4), &pitch_index); + } +#endif + ALLOC(freq, C*N, celt_sig_t); /**< Interleaved signal MDCTs */ + + /* Compute MDCTs */ + compute_mdcts(st->mode, shortBlocks, in, freq); + +#ifdef EXP_PSY + ALLOC(mask, N, celt_sig_t); + compute_mdct_masking(&st->psy, freq, tonality, st->psy_mem, mask, C*N); + /*for (i=0;i<256;i++) + printf ("%f %f %f ", freq[i], tonality[i], mask[i]); + printf ("\n");*/ +#endif + + /* Deferred allocation after find_spectral_pitch() to reduce the peak memory usage */ + ALLOC(X, C*N, celt_norm_t); /**< Interleaved normalised MDCTs */ + ALLOC(P, C*N, celt_norm_t); /**< Interleaved normalised pitch MDCTs*/ + ALLOC(bandE,st->mode->nbEBands*C, celt_ener_t); + ALLOC(gains,st->mode->nbPBands, celt_pgain_t); + + + /* Band normalisation */ + compute_band_energies(st->mode, freq, bandE); + normalise_bands(st->mode, freq, X, bandE); + +#ifdef EXP_PSY + ALLOC(bandN,C*st->mode->nbEBands, celt_ener_t); + ALLOC(bandM,st->mode->nbEBands, celt_ener_t); + compute_noise_energies(st->mode, freq, tonality, bandN); + + /*for (i=0;i<st->mode->nbEBands;i++) + printf ("%f ", (.1+bandN[i])/(.1+bandE[i])); + printf ("\n");*/ + has_fold = 0; + for (i=st->mode->nbPBands;i<st->mode->nbEBands;i++) + if (bandN[i] < .4*bandE[i]) + has_fold++; + /*printf ("%d\n", has_fold);*/ + if (has_fold>=2) + has_fold = 0; + else + has_fold = 1; + for (i=0;i<N;i++) + mask[i] = sqrt(mask[i]); + compute_band_energies(st->mode, mask, bandM); + /*for (i=0;i<st->mode->nbEBands;i++) + printf ("%f %f ", bandE[i], bandM[i]); + printf ("\n");*/ +#endif + + /* Compute MDCTs of the pitch part */ + if (has_pitch) + { + celt_word32_t curr_power, pitch_power=0; + /* Normalise the pitch vector as well (discard the energies) */ + VARDECL(celt_ener_t, bandEp); + + compute_mdcts(st->mode, 0, st->out_mem+pitch_index*C, freq); + ALLOC(bandEp, st->mode->nbEBands*st->mode->nbChannels, celt_ener_t); + compute_band_energies(st->mode, freq, bandEp); + normalise_bands(st->mode, freq, P, bandEp); + pitch_power = bandEp[0]+bandEp[1]+bandEp[2]; + /* Check if we can safely use the pitch (i.e. effective gain isn't too high) */ + curr_power = bandE[0]+bandE[1]+bandE[2]; + id=-1; + if ((MULT16_32_Q15(QCONST16(.1f, 15),curr_power) + QCONST32(10.f,ENER_SHIFT) < pitch_power)) + { + /* Pitch prediction */ + compute_pitch_gain(st->mode, X, P, gains); + id = quant_pitch(gains, st->mode->nbPBands); + } + if (id == -1) + has_pitch = 0; + } + + if (has_pitch) + { + unquant_pitch(id, gains, st->mode->nbPBands); + ec_enc_bits(&enc, has_pitch, 1); /* Pitch flag */ + ec_enc_bits(&enc, has_fold, 1); /* Folding flag */ + ec_enc_bits(&enc, id, 7); + ec_enc_uint(&enc, pitch_index, MAX_PERIOD-(2*N-2*N4)); + pitch_quant_bands(st->mode, P, gains); + } else { + if (!shortBlocks) + { + ec_enc_bits(&enc, 0, 1); /* Pitch off */ + if (st->mode->nbShortMdcts > 1) + ec_enc_bits(&enc, 0, 1); /* Transient off */ + } + has_fold = 1; + /* No pitch, so we just pretend we found a gain of zero */ + for (i=0;i<st->mode->nbPBands;i++) + gains[i] = 0; + for (i=0;i<C*N;i++) + P[i] = 0; + } + +#ifdef STDIN_TUNING2 + static int fine_quant[30]; + static int pulses[30]; + static int init=0; + if (!init) + { + for (i=0;i<st->mode->nbEBands;i++) + scanf("%d ", &fine_quant[i]); + for (i=0;i<st->mode->nbEBands;i++) + scanf("%d ", &pulses[i]); + init = 1; + } +#else + ALLOC(fine_quant, st->mode->nbEBands, int); + ALLOC(pulses, st->mode->nbEBands, int); +#endif + + /* Bit allocation */ + ALLOC(error, C*st->mode->nbEBands, celt_word16_t); + quant_coarse_energy(st->mode, bandE, st->oldBandE, nbCompressedBytes*8/3, st->mode->prob, error, &enc); + + ALLOC(offsets, st->mode->nbEBands, int); + ALLOC(stereo_mode, st->mode->nbEBands, int); + stereo_decision(st->mode, X, stereo_mode, st->mode->nbEBands); + + for (i=0;i<st->mode->nbEBands;i++) + offsets[i] = 0; + bits = nbCompressedBytes*8 - ec_enc_tell(&enc, 0) - 1; +#ifndef STDIN_TUNING + compute_allocation(st->mode, offsets, stereo_mode, bits, pulses, fine_quant); +#endif + + quant_fine_energy(st->mode, bandE, st->oldBandE, error, fine_quant, &enc); + + /* Residual quantisation */ + quant_bands(st->mode, X, P, NULL, bandE, stereo_mode, pulses, shortBlocks, has_fold, nbCompressedBytes*8, &enc); + + /* Re-synthesis of the coded audio if required */ + if (st->pitch_available>0 || optional_synthesis!=NULL) + { + if (st->pitch_available>0 && st->pitch_available<MAX_PERIOD) + st->pitch_available+=st->frame_size; + + if (C==2) + renormalise_bands(st->mode, X); + /* Synthesis */ + denormalise_bands(st->mode, X, freq, bandE); + + + CELT_MOVE(st->out_mem, st->out_mem+C*N, C*(MAX_PERIOD+st->overlap-N)); + + compute_inv_mdcts(st->mode, shortBlocks, freq, transient_time, transient_shift, st->out_mem); + /* De-emphasis and put everything back at the right place in the synthesis history */ + if (optional_synthesis != NULL) { + for (c=0;c<C;c++) + { + int j; + for (j=0;j<N;j++) + { + celt_sig_t tmp = MAC16_32_Q15(st->out_mem[C*(MAX_PERIOD-N)+C*j+c], + preemph,st->preemph_memD[c]); + st->preemph_memD[c] = tmp; + optional_synthesis[C*j+c] = SCALEOUT(SIG2WORD16(tmp)); + } + } + } + } + /*fprintf (stderr, "remaining bits after encode = %d\n", nbCompressedBytes*8-ec_enc_tell(&st->enc, 0));*/ + /*if (ec_enc_tell(&st->enc, 0) < nbCompressedBytes*8 - 7) + celt_warning_int ("many unused bits: ", nbCompressedBytes*8-ec_enc_tell(&st->enc, 0));*/ + /*printf ("%d\n", ec_enc_tell(&st->enc, 0)-8*nbCompressedBytes);*/ + /* Finishing the stream with a 0101... pattern so that the decoder can check is everything's right */ + { + int val = 0; + while (ec_enc_tell(&enc, 0) < nbCompressedBytes*8) + { + ec_enc_uint(&enc, val, 2); + val = 1-val; + } + } + ec_enc_done(&enc); + { + /*unsigned char *data;*/ + int nbBytes = ec_byte_bytes(&buf); + if (nbBytes > nbCompressedBytes) + { + celt_warning_int ("got too many bytes:", nbBytes); + RESTORE_STACK; + return CELT_INTERNAL_ERROR; + } + } + + RESTORE_STACK; + return nbCompressedBytes; +} + +#ifdef FIXED_POINT +#ifndef DISABLE_FLOAT_API +int celt051_encode_float(CELTEncoder * restrict st, const float * pcm, float * optional_synthesis, unsigned char *compressed, int nbCompressedBytes) +{ + int j, ret; + const int C = CHANNELS(st->mode); + const int N = st->block_size; + VARDECL(celt_int16_t, in); + SAVE_STACK; + ALLOC(in, C*N, celt_int16_t); + + for (j=0;j<C*N;j++) + in[j] = FLOAT2INT16(pcm[j]); + + if (optional_synthesis != NULL) { + ret=celt051_encode(st,in,in,compressed,nbCompressedBytes); + for (j=0;j<C*N;j++) + optional_synthesis[j]=in[j]*(1/32768.); + } else { + ret=celt051_encode(st,in,NULL,compressed,nbCompressedBytes); + } + RESTORE_STACK; + return ret; + +} +#endif /*DISABLE_FLOAT_API*/ +#else +int celt051_encode(CELTEncoder * restrict st, const celt_int16_t * pcm, celt_int16_t * optional_synthesis, unsigned char *compressed, int nbCompressedBytes) +{ + int j, ret; + VARDECL(celt_sig_t, in); + const int C = CHANNELS(st->mode); + const int N = st->block_size; + SAVE_STACK; + ALLOC(in, C*N, celt_sig_t); + for (j=0;j<C*N;j++) { + in[j] = SCALEOUT(pcm[j]); + } + + if (optional_synthesis != NULL) { + ret = celt051_encode_float(st,in,in,compressed,nbCompressedBytes); + for (j=0;j<C*N;j++) + optional_synthesis[j] = FLOAT2INT16(in[j]); + } else { + ret = celt051_encode_float(st,in,NULL,compressed,nbCompressedBytes); + } + RESTORE_STACK; + return ret; +} +#endif + +int celt051_encoder_ctl(CELTEncoder * restrict st, int request, ...) +{ + va_list ap; + va_start(ap, request); + switch (request) + { + case CELT_SET_COMPLEXITY_REQUEST: + { + int value = va_arg(ap, int); + if (value<0 || value>10) + goto bad_arg; + if (value<=2) { + st->pitch_enabled = 0; + st->pitch_available = 0; + } else { + st->pitch_enabled = 1; + if (st->pitch_available<1) + st->pitch_available = 1; + } + } + break; + case CELT_SET_LTP_REQUEST: + { + int value = va_arg(ap, int); + if (value<0 || value>1 || (value==1 && st->pitch_available==0)) + goto bad_arg; + if (value==0) + st->pitch_enabled = 0; + else + st->pitch_enabled = 1; + } + break; + default: + goto bad_request; + } + va_end(ap); + return CELT_OK; +bad_arg: + va_end(ap); + return CELT_BAD_ARG; +bad_request: + va_end(ap); + return CELT_UNIMPLEMENTED; +} + +/****************************************************************************/ +/* */ +/* DECODER */ +/* */ +/****************************************************************************/ + + +/** Decoder state + @brief Decoder state + */ +struct CELTDecoder { + const CELTMode *mode; + int frame_size; + int block_size; + int overlap; + + ec_byte_buffer buf; + ec_enc enc; + + celt_sig_t * restrict preemph_memD; + + celt_sig_t *out_mem; + + celt_word16_t *oldBandE; + + int last_pitch_index; +}; + +CELTDecoder *celt051_decoder_create(const CELTMode *mode) +{ + int N, C; + CELTDecoder *st; + + if (check_mode(mode) != CELT_OK) + return NULL; + + N = mode->mdctSize; + C = CHANNELS(mode); + st = celt_alloc(sizeof(CELTDecoder)); + + st->mode = mode; + st->frame_size = N; + st->block_size = N; + st->overlap = mode->overlap; + + st->out_mem = celt_alloc((MAX_PERIOD+st->overlap)*C*sizeof(celt_sig_t)); + + st->oldBandE = (celt_word16_t*)celt_alloc(C*mode->nbEBands*sizeof(celt_word16_t)); + + st->preemph_memD = (celt_sig_t*)celt_alloc(C*sizeof(celt_sig_t)); + + st->last_pitch_index = 0; + return st; +} + +void celt051_decoder_destroy(CELTDecoder *st) +{ + if (st == NULL) + { + celt_warning("NULL passed to celt051_encoder_destroy"); + return; + } + if (check_mode(st->mode) != CELT_OK) + return; + + + celt_free(st->out_mem); + + celt_free(st->oldBandE); + + celt_free(st->preemph_memD); + + celt_free(st); +} + +/** Handles lost packets by just copying past data with the same offset as the last + pitch period */ +static void celt_decode_lost(CELTDecoder * restrict st, celt_word16_t * restrict pcm) +{ + int c, N; + int pitch_index; + int i, len; + VARDECL(celt_sig_t, freq); + const int C = CHANNELS(st->mode); + int offset; + SAVE_STACK; + N = st->block_size; + ALLOC(freq,C*N, celt_sig_t); /**< Interleaved signal MDCTs */ + + len = N+st->mode->overlap; +#if 0 + pitch_index = st->last_pitch_index; + + /* Use the pitch MDCT as the "guessed" signal */ + compute_mdcts(st->mode, st->mode->window, st->out_mem+pitch_index*C, freq); + +#else + find_spectral_pitch(st->mode, st->mode->fft, &st->mode->psy, st->out_mem+MAX_PERIOD-len, st->out_mem, st->mode->window, NULL, len, MAX_PERIOD-len-100, &pitch_index); + pitch_index = MAX_PERIOD-len-pitch_index; + offset = MAX_PERIOD-pitch_index; + while (offset+len >= MAX_PERIOD) + offset -= pitch_index; + compute_mdcts(st->mode, 0, st->out_mem+offset*C, freq); + for (i=0;i<N;i++) + freq[i] = ADD32(EPSILON, MULT16_32_Q15(QCONST16(.9f,15),freq[i])); +#endif + + + + CELT_MOVE(st->out_mem, st->out_mem+C*N, C*(MAX_PERIOD+st->mode->overlap-N)); + /* Compute inverse MDCTs */ + compute_inv_mdcts(st->mode, 0, freq, -1, 1, st->out_mem); + + for (c=0;c<C;c++) + { + int j; + for (j=0;j<N;j++) + { + celt_sig_t tmp = MAC16_32_Q15(st->out_mem[C*(MAX_PERIOD-N)+C*j+c], + preemph,st->preemph_memD[c]); + st->preemph_memD[c] = tmp; + pcm[C*j+c] = SCALEOUT(SIG2WORD16(tmp)); + } + } + RESTORE_STACK; +} + +#ifdef FIXED_POINT +int celt051_decode(CELTDecoder * restrict st, unsigned char *data, int len, celt_int16_t * restrict pcm) +{ +#else +int celt051_decode_float(CELTDecoder * restrict st, unsigned char *data, int len, celt_sig_t * restrict pcm) +{ +#endif + int i, c, N, N4; + int has_pitch, has_fold; + int pitch_index; + int bits; + ec_dec dec; + ec_byte_buffer buf; + VARDECL(celt_sig_t, freq); + VARDECL(celt_norm_t, X); + VARDECL(celt_norm_t, P); + VARDECL(celt_ener_t, bandE); + VARDECL(celt_pgain_t, gains); + VARDECL(int, stereo_mode); + VARDECL(int, fine_quant); + VARDECL(int, pulses); + VARDECL(int, offsets); + + int shortBlocks; + int transient_time; + int transient_shift; + const int C = CHANNELS(st->mode); + SAVE_STACK; + + if (check_mode(st->mode) != CELT_OK) + return CELT_INVALID_MODE; + + N = st->block_size; + N4 = (N-st->overlap)>>1; + + ALLOC(freq, C*N, celt_sig_t); /**< Interleaved signal MDCTs */ + ALLOC(X, C*N, celt_norm_t); /**< Interleaved normalised MDCTs */ + ALLOC(P, C*N, celt_norm_t); /**< Interleaved normalised pitch MDCTs*/ + ALLOC(bandE, st->mode->nbEBands*C, celt_ener_t); + ALLOC(gains, st->mode->nbPBands, celt_pgain_t); + + if (check_mode(st->mode) != CELT_OK) + { + RESTORE_STACK; + return CELT_INVALID_MODE; + } + if (data == NULL) + { + celt_decode_lost(st, pcm); + RESTORE_STACK; + return 0; + } + + ec_byte_readinit(&buf,data,len); + ec_dec_init(&dec,&buf); + + has_pitch = ec_dec_bits(&dec, 1); + if (has_pitch) + { + has_fold = ec_dec_bits(&dec, 1); + shortBlocks = 0; + } else if (st->mode->nbShortMdcts > 1){ + shortBlocks = ec_dec_bits(&dec, 1); + has_fold = 1; + } else { + shortBlocks = 0; + has_fold = 1; + } + if (shortBlocks) + { + transient_shift = ec_dec_bits(&dec, 2); + if (transient_shift) + transient_time = ec_dec_uint(&dec, N+st->mode->overlap); + else + transient_time = 0; + } else { + transient_time = -1; + transient_shift = 0; + } + + if (has_pitch) + { + int id; + /* Get the pitch gains and index */ + id = ec_dec_bits(&dec, 7); + unquant_pitch(id, gains, st->mode->nbPBands); + pitch_index = ec_dec_uint(&dec, MAX_PERIOD-(2*N-2*N4)); + st->last_pitch_index = pitch_index; + } else { + pitch_index = 0; + for (i=0;i<st->mode->nbPBands;i++) + gains[i] = 0; + } + + ALLOC(fine_quant, st->mode->nbEBands, int); + /* Get band energies */ + unquant_coarse_energy(st->mode, bandE, st->oldBandE, len*8/3, st->mode->prob, &dec); + + ALLOC(pulses, st->mode->nbEBands, int); + ALLOC(offsets, st->mode->nbEBands, int); + ALLOC(stereo_mode, st->mode->nbEBands, int); + stereo_decision(st->mode, X, stereo_mode, st->mode->nbEBands); + + for (i=0;i<st->mode->nbEBands;i++) + offsets[i] = 0; + + bits = len*8 - ec_dec_tell(&dec, 0) - 1; + compute_allocation(st->mode, offsets, stereo_mode, bits, pulses, fine_quant); + /*bits = ec_dec_tell(&dec, 0); + compute_fine_allocation(st->mode, fine_quant, (20*C+len*8/5-(ec_dec_tell(&dec, 0)-bits))/C);*/ + + unquant_fine_energy(st->mode, bandE, st->oldBandE, fine_quant, &dec); + + + if (has_pitch) + { + VARDECL(celt_ener_t, bandEp); + + /* Pitch MDCT */ + compute_mdcts(st->mode, 0, st->out_mem+pitch_index*C, freq); + ALLOC(bandEp, st->mode->nbEBands*C, celt_ener_t); + compute_band_energies(st->mode, freq, bandEp); + normalise_bands(st->mode, freq, P, bandEp); + /* Apply pitch gains */ + pitch_quant_bands(st->mode, P, gains); + } else { + for (i=0;i<C*N;i++) + P[i] = 0; + } + + /* Decode fixed codebook and merge with pitch */ + unquant_bands(st->mode, X, P, bandE, stereo_mode, pulses, shortBlocks, has_fold, len*8, &dec); + + if (C==2) + { + renormalise_bands(st->mode, X); + } + /* Synthesis */ + denormalise_bands(st->mode, X, freq, bandE); + + + CELT_MOVE(st->out_mem, st->out_mem+C*N, C*(MAX_PERIOD+st->overlap-N)); + /* Compute inverse MDCTs */ + compute_inv_mdcts(st->mode, shortBlocks, freq, transient_time, transient_shift, st->out_mem); + + for (c=0;c<C;c++) + { + int j; + for (j=0;j<N;j++) + { + celt_sig_t tmp = MAC16_32_Q15(st->out_mem[C*(MAX_PERIOD-N)+C*j+c], + preemph,st->preemph_memD[c]); + st->preemph_memD[c] = tmp; + pcm[C*j+c] = SCALEOUT(SIG2WORD16(tmp)); + } + } + + { + unsigned int val = 0; + while (ec_dec_tell(&dec, 0) < len*8) + { + if (ec_dec_uint(&dec, 2) != val) + { + celt_warning("decode error"); + RESTORE_STACK; + return CELT_CORRUPTED_DATA; + } + val = 1-val; + } + } + + RESTORE_STACK; + return 0; + /*printf ("\n");*/ +} + +#ifdef FIXED_POINT +#ifndef DISABLE_FLOAT_API +int celt051_decode_float(CELTDecoder * restrict st, unsigned char *data, int len, float * restrict pcm) +{ + int j, ret; + const int C = CHANNELS(st->mode); + const int N = st->block_size; + VARDECL(celt_int16_t, out); + SAVE_STACK; + ALLOC(out, C*N, celt_int16_t); + + ret=celt051_decode(st, data, len, out); + + for (j=0;j<C*N;j++) + pcm[j]=out[j]*(1/32768.); + RESTORE_STACK; + return ret; +} +#endif /*DISABLE_FLOAT_API*/ +#else +int celt051_decode(CELTDecoder * restrict st, unsigned char *data, int len, celt_int16_t * restrict pcm) +{ + int j, ret; + VARDECL(celt_sig_t, out); + const int C = CHANNELS(st->mode); + const int N = st->block_size; + SAVE_STACK; + ALLOC(out, C*N, celt_sig_t); + + ret=celt051_decode_float(st, data, len, out); + + for (j=0;j<C*N;j++) + pcm[j] = FLOAT2INT16 (out[j]); + + RESTORE_STACK; + return ret; +} +#endif diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/celt.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/celt.h new file mode 100644 index 0000000..127b16f --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/celt.h @@ -0,0 +1,240 @@ +/* (C) 2007-2008 Jean-Marc Valin, CSIRO +*/ +/** + @file celt.h + @brief Contains all the functions for encoding and decoding audio streams + */ + +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef CELT051_H +#define CELT051_H + +#include "celt_types.h" + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef CELT_H +#define CELT_H + +#if defined(__GNUC__) && defined(CELT_BUILD) +#define EXPORT __attribute__ ((visibility ("default"))) +#elif defined(WIN32) +#define EXPORT __declspec(dllexport) +#else +#define EXPORT +#endif + +#define _celt_check_int(x) (((void)((x) == (int)0)), (int)(x)) + +/* Error codes */ +/** No error */ +#define CELT_OK 0 +/** An (or more) invalid argument (e.g. out of range) */ +#define CELT_BAD_ARG -1 +/** The mode struct passed is invalid */ +#define CELT_INVALID_MODE -2 +/** An internal error was detected */ +#define CELT_INTERNAL_ERROR -3 +/** The data passed (e.g. compressed data to decoder) is corrupted */ +#define CELT_CORRUPTED_DATA -4 +/** Invalid/unsupported request number */ +#define CELT_UNIMPLEMENTED -5 + +/* Requests */ +#define CELT_SET_COMPLEXITY_REQUEST 2 +/** Controls the complexity from 0-10 (int) */ +#define CELT_SET_COMPLEXITY(x) CELT_SET_COMPLEXITY_REQUEST, _celt_check_int(x) +#define CELT_SET_LTP_REQUEST 3 +/** Activate or deactivate the use of the long term predictor (PITCH) from 0 or 1 (int) */ +#define CELT_SET_LTP(x) CELT_SET_LTP_REQUEST, _celt_check_int(x) + +/** GET the frame size used in the current mode */ +#define CELT_GET_FRAME_SIZE 1000 +/** GET the lookahead used in the current mode */ +#define CELT_GET_LOOKAHEAD 1001 +/** GET the number of channels used in the current mode */ +#define CELT_GET_NB_CHANNELS 1002 + +/** GET the bit-stream version for compatibility check */ +#define CELT_GET_BITSTREAM_VERSION 2000 + + +/** Contains the state of an encoder. One encoder state is needed for each + stream. It is initialised once at the beginning of the stream. Do *not* + re-initialise the state for every frame. + @brief Encoder state + */ +typedef struct CELTEncoder CELTEncoder; + +/** State of the decoder. One decoder state is needed for each stream. It is + initialised once at the beginning of the stream. Do *not* re-initialise + the state for every frame */ +typedef struct CELTDecoder CELTDecoder; + +/** The mode contains all the information necessary to create an encoder. Both + the encoder and decoder need to be initialised with exactly the same mode, + otherwise the quality will be very bad */ +typedef struct CELTMode CELTMode; + +#endif + +/** \defgroup codec Encoding and decoding */ +/* @{ */ + +/* Mode calls */ + +/** Creates a new mode struct. This will be passed to an encoder or decoder. + The mode MUST NOT BE DESTROYED until the encoders and decoders that use it + are destroyed as well. + @param Fs Sampling rate (32000 to 96000 Hz) + @param channels Number of channels + @param frame_size Number of samples (per channel) to encode in each packet (64 - 256) + @param lookahead Extra latency (in samples per channel) in addition to the frame size (between 32 and frame_size). The larger that value, the better the quality (at the expense of latency) + @param error Returned error code (if NULL, no error will be returned) + @return A newly created mode +*/ +EXPORT CELTMode *celt051_mode_create(celt_int32_t Fs, int channels, int frame_size, int *error); + +/** Destroys a mode struct. Only call this after all encoders and decoders + using this mode are destroyed as well. + @param mode Mode to be destroyed +*/ +EXPORT void celt051_mode_destroy(CELTMode *mode); + +/** Query information from a mode */ +EXPORT int celt051_mode_info(const CELTMode *mode, int request, celt_int32_t *value); + +/* Encoder stuff */ + + +/** Creates a new encoder state. Each stream needs its own encoder state (can't + be shared across simultaneous streams). + @param mode Contains all the information about the characteristics of the stream + (must be the same characteristics as used for the decoder) + @return Newly created encoder state. +*/ +EXPORT CELTEncoder *celt051_encoder_create(const CELTMode *mode); + +/** Destroys a an encoder state. + @param st Encoder state to be destroyed + */ +EXPORT void celt051_encoder_destroy(CELTEncoder *st); + +/** Encodes a frame of audio. + @param st Encoder state + @param pcm PCM audio in signed float format. There must be + * exactly frame_size samples per channel. The input data is + * overwritten by a copy of what the remote decoder would decode. + @param optional_synthesis If not NULL, the encoder copies the audio signal that + * the decoder would decode. It is the same as calling the + * decoder on the compressed data, just faster. + @param compressed The compressed data is written here + @param nbCompressedBytes Number of bytes to use for compressing the frame + * (can change from one frame to another) + @return Number of bytes written to "compressed". Should be the same as + * "nbCompressedBytes" unless the stream is VBR. If negative, an error + * has occured (see error codes). It is IMPORTANT that the length returned + * be somehow transmitted to the decoder. Otherwise, no decoding is possible. +*/ +EXPORT int celt051_encode_float(CELTEncoder *st, const float *pcm, float *optional_synthesis, unsigned char *compressed, int nbCompressedBytes); +/** Encodes a frame of audio. + @param st Encoder state + @param pcm PCM audio in signed 16-bit format (native endian). There must be + * exactly frame_size samples per channel. The input data is + * overwritten by a copy of what the remote decoder would decode. + @param optional_synthesis If not NULL, the encoder copies the audio signal that + * the decoder would decode. It is the same as calling the + * decoder on the compressed data, just faster. + @param compressed The compressed data is written here + @param nbCompressedBytes Number of bytes to use for compressing the frame + * (can change from one frame to another) + @return Number of bytes written to "compressed". Should be the same as + * "nbCompressedBytes" unless the stream is VBR. If negative, an error + * has occured (see error codes). It is IMPORTANT that the length returned + * be somehow transmitted to the decoder. Otherwise, no decoding is possible. + */ +EXPORT int celt051_encode(CELTEncoder *st, const celt_int16_t *pcm, celt_int16_t *optional_synthesis, unsigned char *compressed, int nbCompressedBytes); + +/** Query and set encoder parameters + @param st Encoder state + @param request Parameter to change or query + @param value Pointer to a 32-bit int value + @return Error code +*/ +EXPORT int celt051_encoder_ctl(CELTEncoder * st, int request, ...); + +/* Decoder stuff */ + + +/** Creates a new decoder state. Each stream needs its own decoder state (can't + be shared across simultaneous streams). + @param mode Contains all the information about the characteristics of the + stream (must be the same characteristics as used for the encoder) + @return Newly created decoder state. + */ +EXPORT CELTDecoder *celt051_decoder_create(const CELTMode *mode); + +/** Destroys a a decoder state. + @param st Decoder state to be destroyed + */ +EXPORT void celt051_decoder_destroy(CELTDecoder *st); + +/** Decodes a frame of audio. + @param st Decoder state + @param data Compressed data produced by an encoder + @param len Number of bytes to read from "data". This MUST be exactly the number + of bytes returned by the encoder. Using a larger value WILL NOT WORK. + @param pcm One frame (frame_size samples per channel) of decoded PCM will be + returned here in float format. + @return Error code. + */ +EXPORT int celt051_decode_float(CELTDecoder *st, unsigned char *data, int len, float *pcm); +/** Decodes a frame of audio. + @param st Decoder state + @param data Compressed data produced by an encoder + @param len Number of bytes to read from "data". This MUST be exactly the number + of bytes returned by the encoder. Using a larger value WILL NOT WORK. + @param pcm One frame (frame_size samples per channel) of decoded PCM will be + returned here in 16-bit PCM format (native endian). + @return Error code. + */ +EXPORT int celt051_decode(CELTDecoder *st, unsigned char *data, int len, celt_int16_t *pcm); + +/* @} */ + + +#ifdef __cplusplus +} +#endif + +#endif /*CELT051_H */ diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/celt_header.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/celt_header.h new file mode 100644 index 0000000..fe61276 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/celt_header.h @@ -0,0 +1,69 @@ +/* (C) 2008 Jean-Marc Valin, CSIRO +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef CELT051_HEADER_H +#define CELT051_HEADER_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include "celt.h" +#include "celt_types.h" + +/** Header data to be used for Ogg files (or possibly other encapsulation) + @brief Header data + */ +typedef struct { + char codec_id[8]; /**< MUST be "CELT " (four spaces) */ + char codec_version[20]; /**< Version used (as string) */ + celt_int32_t version_id; /**< Version id (negative for until stream is frozen) */ + celt_int32_t header_size; /**< Size of this header */ + celt_int32_t sample_rate; /**< Sampling rate of the original audio */ + celt_int32_t nb_channels; /**< Number of channels */ + celt_int32_t frame_size; /**< Samples per frame (per channel) */ + celt_int32_t overlap; /**< Overlapping samples (per channel) */ + celt_int32_t bytes_per_packet; /**< Number of bytes per compressed packet (0 if unknown) */ + celt_int32_t extra_headers; /**< Number of additional headers that follow this header */ +} CELT051Header; + +/** Creates a basic header struct */ +EXPORT void celt051_header_init(CELT051Header *header, const CELTMode *m); + +EXPORT int celt051_header_to_packet(const CELT051Header *header, unsigned char *packet, celt_uint32_t size); + +EXPORT int celt051_header_from_packet(const unsigned char *packet, celt_uint32_t size, CELT051Header *header); + +#ifdef __cplusplus +} +#endif + +#endif /* CELT_HEADER_H */ diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/celt_types.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/celt_types.h new file mode 100644 index 0000000..b6a4fd7 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/celt_types.h @@ -0,0 +1,168 @@ +/* celt_types.h taken from libogg */ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 * + * by the Xiph.Org Foundation http://www.xiph.org/ * + * * + ******************************************************************** + + function: #ifdef jail to whip a few platforms into the UNIX ideal. + last mod: $Id: os_types.h 7524 2004-08-11 04:20:36Z conrad $ + + ********************************************************************/ +/** + @file celt_types.h + @brief CELT types +*/ +#ifndef _CELT_TYPES_H +#define _CELT_TYPES_H + +/* Use the real stdint.h if it's there (taken from Paul Hsieh's pstdint.h) */ +#if (defined(__STDC__) && __STDC__ && __STDC_VERSION__ >= 199901L) || (defined(__GNUC__) && (defined(_STDINT_H) || defined(_STDINT_H_)) || defined (HAVE_STDINT_H)) +#include <stdint.h> + + typedef int16_t celt_int16_t; + typedef uint16_t celt_uint16_t; + typedef int32_t celt_int32_t; + typedef uint32_t celt_uint32_t; + typedef int64_t celt_int64_t; + typedef uint64_t celt_uint64_t; +#elif defined(_WIN32) + +# if defined(__CYGWIN__) +# include <_G_config.h> + typedef _G_int32_t celt_int32_t; + typedef _G_uint32_t celt_uint32_t; + typedef _G_int16_t celt_int16_t; + typedef _G_uint16_t celt_uint16_t; + typedef _G_int64_t celt_int64_t; + typedef _G_uint64_t celt_uint64_t; +# elif defined(__MINGW32__) + typedef short celt_int16_t; + typedef unsigned short celt_uint16_t; + typedef int celt_int32_t; + typedef unsigned int celt_uint32_t; + typedef long long celt_int64_t; + typedef unsigned long long celt_uint64_t; +# elif defined(__MWERKS__) + typedef int celt_int32_t; + typedef unsigned int celt_uint32_t; + typedef short celt_int16_t; + typedef unsigned short celt_uint16_t; + typedef long long celt_int64_t; + typedef unsigned long long celt_uint64_t; +# else + /* MSVC/Borland */ + typedef __int32 celt_int32_t; + typedef unsigned __int32 celt_uint32_t; + typedef __int16 celt_int16_t; + typedef unsigned __int16 celt_uint16_t; + typedef __int64 celt_int64_t; + typedef unsigned __int64 celt_uint64_t; +# endif + +#elif defined(__MACOS__) + +# include <sys/types.h> + typedef SInt16 celt_int16_t; + typedef UInt16 celt_uint16_t; + typedef SInt32 celt_int32_t; + typedef UInt32 celt_uint32_t; + typedef SInt64 celt_int64_t; + typedef UInt64 celt_uint64_t; + +#elif (defined(__APPLE__) && defined(__MACH__)) /* MacOS X Framework build */ + +# include <sys/types.h> + typedef int16_t celt_int16_t; + typedef u_int16_t celt_uint16_t; + typedef int32_t celt_int32_t; + typedef u_int32_t celt_uint32_t; + typedef int64_t celt_int64_t; + typedef u_int64_t celt_uint64_t; + +#elif defined(__BEOS__) + + /* Be */ +# include <inttypes.h> + typedef int16_t celt_int16_t; + typedef u_int16_t celt_uint16_t; + typedef int32_t celt_int32_t; + typedef u_int32_t celt_uint32_t; + typedef int64_t celt_int64_t; + typedef u_int64_t celt_uint64_t; + +#elif defined (__EMX__) + + /* OS/2 GCC */ + typedef short celt_int16_t; + typedef unsigned short celt_uint16_t; + typedef int celt_int32_t; + typedef unsigned int celt_uint32_t; + typedef long long celt_int64_t; + typedef unsigned long long celt_uint64_t; + +#elif defined (DJGPP) + + /* DJGPP */ + typedef short celt_int16_t; + typedef int celt_int32_t; + typedef unsigned int celt_uint32_t; + typedef long long celt_int64_t; + typedef unsigned long long celt_uint64_t; + +#elif defined(R5900) + + /* PS2 EE */ + typedef int celt_int32_t; + typedef unsigned celt_uint32_t; + typedef short celt_int16_t; + typedef long celt_int64_t; + typedef unsigned long celt_uint64_t; + +#elif defined(__SYMBIAN32__) + + /* Symbian GCC */ + typedef signed short celt_int16_t; + typedef unsigned short celt_uint16_t; + typedef signed int celt_int32_t; + typedef unsigned int celt_uint32_t; + typedef long long int celt_int64_t; + typedef unsigned long long int celt_uint64_t; + +#elif defined(CONFIG_TI_C54X) || defined (CONFIG_TI_C55X) + + typedef short celt_int16_t; + typedef unsigned short celt_uint16_t; + typedef long celt_int32_t; + typedef unsigned long celt_uint32_t; + typedef long long celt_int64_t; + typedef unsigned long long celt_uint64_t; + +#elif defined(CONFIG_TI_C6X) + + typedef short celt_int16_t; + typedef unsigned short celt_uint16_t; + typedef int celt_int32_t; + typedef unsigned int celt_uint32_t; + typedef long long int celt_int64_t; + typedef unsigned long long int celt_uint64_t; + +#else + + /* Give up, take a reasonable guess */ + typedef short celt_int16_t; + typedef unsigned short celt_uint16_t; + typedef int celt_int32_t; + typedef unsigned int celt_uint32_t; + typedef long long celt_int64_t; + typedef unsigned long long celt_uint64_t; + +#endif + +#endif /* _CELT_TYPES_H */ diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/cwrs.c b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/cwrs.c new file mode 100644 index 0000000..f04f223 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/cwrs.c @@ -0,0 +1,418 @@ +/* (C) 2007-2008 Timothy B. Terriberry + (C) 2008 Jean-Marc Valin */ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +/* Functions for encoding and decoding pulse vectors. + These are based on the function + U(n,m) = U(n-1,m) + U(n,m-1) + U(n-1,m-1), + U(n,1) = U(1,m) = 2, + which counts the number of ways of placing m pulses in n dimensions, where + at least one pulse lies in dimension 0. + For more details, see: http://people.xiph.org/~tterribe/notes/cwrs.html +*/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "os_support.h" +#include <stdlib.h> +#include <string.h> +#include "cwrs.h" +#include "mathops.h" +#include "arch.h" + +/*Guaranteed to return a conservatively large estimate of the binary logarithm + with frac bits of fractional precision. + Tested for all possible 32-bit inputs with frac=4, where the maximum + overestimation is 0.06254243 bits.*/ +int log2_frac(ec_uint32 val, int frac) +{ + int l; + l=EC_ILOG(val); + if(val&val-1){ + /*This is (val>>l-16), but guaranteed to round up, even if adding a bias + before the shift would cause overflow (e.g., for 0xFFFFxxxx).*/ + if(l>16)val=(val>>l-16)+((val&(1<<l-16)-1)+(1<<l-16)-1>>l-16); + else val<<=16-l; + l=l-1<<frac; + /*Note that we always need one iteration, since the rounding up above means + that we might need to adjust the integer part of the logarithm.*/ + do{ + int b; + b=(int)(val>>16); + l+=b<<frac; + val=val+b>>b; + val=val*val+0x7FFF>>15; + } + while(frac-->0); + /*If val is not exactly 0x8000, then we have to round up the remainder.*/ + return l+(val>0x8000); + } + /*Exact powers of two require no rounding.*/ + else return l-1<<frac; +} + +int fits_in32(int _n, int _m) +{ + static const celt_int16_t maxN[15] = { + 255, 255, 255, 255, 255, 109, 60, 40, + 29, 24, 20, 18, 16, 14, 13}; + static const celt_int16_t maxM[15] = { + 255, 255, 255, 255, 255, 238, 95, 53, + 36, 27, 22, 18, 16, 15, 13}; + if (_n>=14) + { + if (_m>=14) + return 0; + else + return _n <= maxN[_m]; + } else { + return _m <= maxM[_n]; + } +} + +#define MASK32 (0xFFFFFFFF) + +/*INV_TABLE[i] holds the multiplicative inverse of (2*i-1) mod 2**32.*/ +static const celt_uint32_t INV_TABLE[128]={ + 0x00000001,0xAAAAAAAB,0xCCCCCCCD,0xB6DB6DB7, + 0x38E38E39,0xBA2E8BA3,0xC4EC4EC5,0xEEEEEEEF, + 0xF0F0F0F1,0x286BCA1B,0x3CF3CF3D,0xE9BD37A7, + 0xC28F5C29,0x684BDA13,0x4F72C235,0xBDEF7BDF, + 0x3E0F83E1,0x8AF8AF8B,0x914C1BAD,0x96F96F97, + 0xC18F9C19,0x2FA0BE83,0xA4FA4FA5,0x677D46CF, + 0x1A1F58D1,0xFAFAFAFB,0x8C13521D,0x586FB587, + 0xB823EE09,0xA08AD8F3,0xC10C9715,0xBEFBEFBF, + 0xC0FC0FC1,0x07A44C6B,0xA33F128D,0xE327A977, + 0xC7E3F1F9,0x962FC963,0x3F2B3885,0x613716AF, + 0x781948B1,0x2B2E43DB,0xFCFCFCFD,0x6FD0EB67, + 0xFA3F47E9,0xD2FD2FD3,0x3F4FD3F5,0xD4E25B9F, + 0x5F02A3A1,0xBF5A814B,0x7C32B16D,0xD3431B57, + 0xD8FD8FD9,0x8D28AC43,0xDA6C0965,0xDB195E8F, + 0x0FDBC091,0x61F2A4BB,0xDCFDCFDD,0x46FDD947, + 0x56BE69C9,0xEB2FDEB3,0x26E978D5,0xEFDFBF7F, + 0x0FE03F81,0xC9484E2B,0xE133F84D,0xE1A8C537, + 0x077975B9,0x70586723,0xCD29C245,0xFAA11E6F, + 0x0FE3C071,0x08B51D9B,0x8CE2CABD,0xBF937F27, + 0xA8FE53A9,0x592FE593,0x2C0685B5,0x2EB11B5F, + 0xFCD1E361,0x451AB30B,0x72CFE72D,0xDB35A717, + 0xFB74A399,0xE80BFA03,0x0D516325,0x1BCB564F, + 0xE02E4851,0xD962AE7B,0x10F8ED9D,0x95AEDD07, + 0xE9DC0589,0xA18A4473,0xEA53FA95,0xEE936F3F, + 0x90948F41,0xEAFEAFEB,0x3D137E0D,0xEF46C0F7, + 0x028C1979,0x791064E3,0xC04FEC05,0xE115062F, + 0x32385831,0x6E68575B,0xA10D387D,0x6FECF2E7, + 0x3FB47F69,0xED4BFB53,0x74FED775,0xDB43BB1F, + 0x87654321,0x9BA144CB,0x478BBCED,0xBFB912D7, + 0x1FDCD759,0x14B2A7C3,0xCB125CE5,0x437B2E0F, + 0x10FEF011,0xD2B3183B,0x386CAB5D,0xEF6AC0C7, + 0x0E64C149,0x9A020A33,0xE6B41C55,0xFEFEFEFF +}; + +/*Computes (_a*_b-_c)/(2*_d-1) when the quotient is known to be exact. + _a, _b, _c, and _d may be arbitrary so long as the arbitrary precision result + fits in 32 bits, but currently the table for multiplicative inverses is only + valid for _d<128.*/ +static inline celt_uint32_t imusdiv32odd(celt_uint32_t _a,celt_uint32_t _b, + celt_uint32_t _c,celt_uint32_t _d){ + return (_a*_b-_c)*INV_TABLE[_d]&MASK32; +} + +/*Computes (_a*_b-_c)/_d when the quotient is known to be exact. + _d does not actually have to be even, but imusdiv32odd will be faster when + it's odd, so you should use that instead. + _a and _d are assumed to be small (e.g., _a*_d fits in 32 bits; currently the + table for multiplicative inverses is only valid for _d<256). + _b and _c may be arbitrary so long as the arbitrary precision reuslt fits in + 32 bits.*/ +static inline celt_uint32_t imusdiv32even(celt_uint32_t _a,celt_uint32_t _b, + celt_uint32_t _c,celt_uint32_t _d){ + celt_uint32_t inv; + int mask; + int shift; + int one; + shift=EC_ILOG(_d^_d-1); + inv=INV_TABLE[_d-1>>shift]; + shift--; + one=1<<shift; + mask=one-1; + return (_a*(_b>>shift)-(_c>>shift)+ + (_a*(_b&mask)+one-(_c&mask)>>shift)-1)*inv&MASK32; +} + +/*Computes the next row/column of any recurrence that obeys the relation + u[i][j]=u[i-1][j]+u[i][j-1]+u[i-1][j-1]. + _ui0 is the base case for the new row/column.*/ +static inline void unext32(celt_uint32_t *_ui,int _len,celt_uint32_t _ui0){ + celt_uint32_t ui1; + int j; + /* doing a do-while would overrun the array if we had less than 2 samples */ + j=1; do { + ui1=UADD32(UADD32(_ui[j],_ui[j-1]),_ui0); + _ui[j-1]=_ui0; + _ui0=ui1; + } while (++j<_len); + _ui[j-1]=_ui0; +} + +/*Computes the previous row/column of any recurrence that obeys the relation + u[i-1][j]=u[i][j]-u[i][j-1]-u[i-1][j-1]. + _ui0 is the base case for the new row/column.*/ +static inline void uprev32(celt_uint32_t *_ui,int _n,celt_uint32_t _ui0){ + celt_uint32_t ui1; + int j; + /* doing a do-while would overrun the array if we had less than 2 samples */ + j=1; do { + ui1=USUB32(USUB32(_ui[j],_ui[j-1]),_ui0); + _ui[j-1]=_ui0; + _ui0=ui1; + } while (++j<_n); + _ui[j-1]=_ui0; +} + +/*Returns the number of ways of choosing _m elements from a set of size _n with + replacement when a sign bit is needed for each unique element. + _u: On exit, _u[i] contains U(_n,i) for i in [0..._m+1].*/ +celt_uint32_t ncwrs_u32(int _n,int _m,celt_uint32_t *_u){ + celt_uint32_t um2; + int k; + int len; + len=_m+2; + _u[0]=0; + _u[1]=um2=1; + if(_n<=6){ + /*If _n==0, _u[0] should be 1 and the rest should be 0.*/ + /*If _n==1, _u[i] should be 1 for i>1.*/ + celt_assert(_n>=2); + /*If _m==0, the following do-while loop will overflow the buffer.*/ + celt_assert(_m>0); + k=2; + do _u[k]=(k<<1)-1; + while(++k<len); + for(k=2;k<_n;k++) + unext32(_u+1,_m+1,1); + } + else{ + celt_uint32_t um1; + celt_uint32_t n2m1; + _u[2]=n2m1=um1=(_n<<1)-1; + for(k=3;k<len;k++){ + /*U(n,m) = ((2*n-1)*U(n,m-1)-U(n,m-2))/(m-1) + U(n,m-2)*/ + _u[k]=um2=imusdiv32even(n2m1,um1,um2,k-1)+um2; + if(++k>=len)break; + _u[k]=um1=imusdiv32odd(n2m1,um2,um1,k-1>>1)+um1; + } + } + return _u[_m]+_u[_m+1]; +} + + + +/*Returns the _i'th combination of _m elements chosen from a set of size _n + with associated sign bits. + _y: Returns the vector of pulses. + _u: Must contain entries [0..._m+1] of row _n of U() on input. + Its contents will be destructively modified.*/ +void cwrsi32(int _n,int _m,celt_uint32_t _i,int *_y,celt_uint32_t *_u){ + int j; + int k; + celt_assert(_n>0); + j=0; + k=_m; + do{ + celt_uint32_t p; + int s; + int yj; + p=_u[k+1]; + s=_i>=p; + if(s)_i-=p; + yj=k; + p=_u[k]; + while(p>_i)p=_u[--k]; + _i-=p; + yj-=k; + _y[j]=yj-(yj<<1&-s); + uprev32(_u,k+2,0); + } + while(++j<_n); +} + + +/*Returns the index of the given combination of _m elements chosen from a set + of size _n with associated sign bits. + _y: The vector of pulses, whose sum of absolute values must be _m. + _nc: Returns V(_n,_m).*/ +celt_uint32_t icwrs32(int _n,int _m,celt_uint32_t *_nc,const int *_y, + celt_uint32_t *_u){ + celt_uint32_t i; + int j; + int k; + /*We can't unroll the first two iterations of the loop unless _n>=2.*/ + celt_assert(_n>=2); + i=_y[_n-1]<0; + _u[0]=0; + for(k=1;k<=_m+1;k++)_u[k]=(k<<1)-1; + k=abs(_y[_n-1]); + j=_n-2; + i+=_u[k]; + k+=abs(_y[j]); + if(_y[j]<0)i+=_u[k+1]; + while(j-->0){ + unext32(_u,_m+2,0); + i+=_u[k]; + k+=abs(_y[j]); + if(_y[j]<0)i+=_u[k+1]; + } + *_nc=_u[_m]+_u[_m+1]; + return i; +} + +static inline void encode_pulse32(int _n,int _m,const int *_y,ec_enc *_enc){ + VARDECL(celt_uint32_t,u); + celt_uint32_t nc; + celt_uint32_t i; + SAVE_STACK; + ALLOC(u,_m+2,celt_uint32_t); + i=icwrs32(_n,_m,&nc,_y,u); + ec_enc_uint(_enc,i,nc); + RESTORE_STACK; +} + +int get_required_bits32(int N, int K, int frac) +{ + int nbits; + VARDECL(celt_uint32_t,u); + SAVE_STACK; + ALLOC(u,K+2,celt_uint32_t); + nbits = log2_frac(ncwrs_u32(N,K,u), frac); + RESTORE_STACK; + return nbits; +} + +void get_required_bits(celt_int16_t *bits,int N, int MAXK, int frac) +{ + int k; + /*We special case k==0 below, since fits_in32 could reject it for large N.*/ + celt_assert(MAXK>0); + if(fits_in32(N,MAXK-1)){ + bits[0]=0; + /*This could be sped up one heck of a lot if we didn't recompute u in + ncwrs_u32 every time.*/ + for(k=1;k<MAXK;k++)bits[k]=get_required_bits32(N,k,frac); + } + else{ + VARDECL(celt_int16_t,n1bits); + VARDECL(celt_int16_t,_n2bits); + celt_int16_t *n2bits; + SAVE_STACK; + ALLOC(n1bits,MAXK,celt_int16_t); + ALLOC(_n2bits,MAXK,celt_int16_t); + get_required_bits(n1bits,(N+1)/2,MAXK,frac); + if(N&1){ + n2bits=_n2bits; + get_required_bits(n2bits,N/2,MAXK,frac); + }else{ + n2bits=n1bits; + } + bits[0]=0; + for(k=1;k<MAXK;k++){ + if(fits_in32(N,k))bits[k]=get_required_bits32(N,k,frac); + else{ + int worst_bits; + int i; + worst_bits=0; + for(i=0;i<=k;i++){ + int split_bits; + split_bits=n1bits[i]+n2bits[k-i]; + if(split_bits>worst_bits)worst_bits=split_bits; + } + bits[k]=log2_frac(k+1,frac)+worst_bits; + } + } + RESTORE_STACK; + } +} + + +void encode_pulses(int *_y, int N, int K, ec_enc *enc) +{ + if (K==0) { + } else if (N==1) + { + ec_enc_bits(enc, _y[0]<0, 1); + } else if(fits_in32(N,K)) + { + encode_pulse32(N, K, _y, enc); + } else { + int i; + int count=0; + int split; + split = (N+1)/2; + for (i=0;i<split;i++) + count += abs(_y[i]); + ec_enc_uint(enc,count,K+1); + encode_pulses(_y, split, count, enc); + encode_pulses(_y+split, N-split, K-count, enc); + } +} + +static inline void decode_pulse32(int _n,int _m,int *_y,ec_dec *_dec){ + VARDECL(celt_uint32_t,u); + SAVE_STACK; + ALLOC(u,_m+2,celt_uint32_t); + cwrsi32(_n,_m,ec_dec_uint(_dec,ncwrs_u32(_n,_m,u)),_y,u); + RESTORE_STACK; +} + +void decode_pulses(int *_y, int N, int K, ec_dec *dec) +{ + if (K==0) { + int i; + for (i=0;i<N;i++) + _y[i] = 0; + } else if (N==1) + { + int s = ec_dec_bits(dec, 1); + if (s==0) + _y[0] = K; + else + _y[0] = -K; + } else if(fits_in32(N,K)) + { + decode_pulse32(N, K, _y, dec); + } else { + int split; + int count = ec_dec_uint(dec,K+1); + split = (N+1)/2; + decode_pulses(_y, split, count, dec); + decode_pulses(_y+split, N-split, K-count, dec); + } +} diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/cwrs.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/cwrs.h new file mode 100644 index 0000000..9f7418e --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/cwrs.h @@ -0,0 +1,69 @@ +/* (C) 2007-2008 Timothy Terriberry */ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef CWRS_H +#define CWRS_H + +#include "arch.h" +#include "stack_alloc.h" +#include "entenc.h" +#include "entdec.h" + +/* Returns log of an integer with fractional accuracy */ +int log2_frac64(ec_uint64 val, int frac); +/* Whether the CWRS codebook will fit into 32 bits */ +int fits_in32(int _n, int _m); +/* Whether the CWRS codebook will fit into 64 bits */ +int fits_in64(int _n, int _m); + +/* 32-bit versions */ +celt_uint32_t ncwrs_u32(int _n,int _m,celt_uint32_t *_u); + +void cwrsi32(int _n,int _m,celt_uint32_t _i,int *_y,celt_uint32_t *_u); + +celt_uint32_t icwrs32(int _n,int _m,celt_uint32_t *_nc,const int *_y, + celt_uint32_t *_u); + +/* 64-bit versions */ +celt_uint64_t ncwrs_u64(int _n,int _m,celt_uint64_t *_u); + +void cwrsi64(int _n,int _m,celt_uint64_t _i,int *_y,celt_uint64_t *_u); + +celt_uint64_t icwrs64(int _n,int _m,celt_uint64_t *_nc,const int *_y, + celt_uint64_t *_u); + + +void get_required_bits(celt_int16_t *bits, int N, int K, int frac); + +void encode_pulses(int *_y, int N, int K, ec_enc *enc); + +void decode_pulses(int *_y, int N, int K, ec_dec *dec); + +#endif /* CWRS_H */ diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/dump_modes.c b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/dump_modes.c new file mode 100644 index 0000000..b6f52e2 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/dump_modes.c @@ -0,0 +1,299 @@ +/* (C) 2008 Jean-Marc Valin, CSIRO +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <stdio.h> +#include "modes.h" +#include "celt.h" +#include "rate.h" + +#define INT16 "%d" +#define INT32 "%d" +#define FLOAT "%f" + +#ifdef FIXED_POINT +#define WORD16 INT16 +#define WORD32 INT32 +#else +#define WORD16 FLOAT +#define WORD32 FLOAT +#endif + + +void dump_modes(FILE *file, CELTMode **modes, int nb_modes) +{ + int i, j; + fprintf(file, "/* The contents of this file is automatically generated and contains static\n"); + fprintf(file, " definitions for some pre-defined modes */\n"); + fprintf(file, "#include \"modes.h\"\n"); + fprintf(file, "#include \"rate.h\"\n"); + + fprintf(file, "\n"); + for (i=0;i<nb_modes;i++) + { + CELTMode *mode = modes[i]; + fprintf(file, "#ifndef DEF_EBANDS%d_%d\n", mode->Fs, mode->mdctSize); + fprintf(file, "#define DEF_EBANDS%d_%d\n", mode->Fs, mode->mdctSize); + fprintf (file, "static const celt_int16_t eBands%d_%d[%d] = {\n", mode->Fs, mode->mdctSize, mode->nbEBands+2); + for (j=0;j<mode->nbEBands+2;j++) + fprintf (file, "%d, ", mode->eBands[j]); + fprintf (file, "};\n"); + fprintf(file, "#endif\n"); + fprintf(file, "\n"); + + + fprintf(file, "#ifndef DEF_PBANDS%d_%d\n", mode->Fs, mode->mdctSize); + fprintf(file, "#define DEF_PBANDS%d_%d\n", mode->Fs, mode->mdctSize); + fprintf (file, "static const celt_int16_t pBands%d_%d[%d] = {\n", mode->Fs, mode->mdctSize, mode->nbPBands+2); + for (j=0;j<mode->nbPBands+2;j++) + fprintf (file, "%d, ", mode->pBands[j]); + fprintf (file, "};\n"); + fprintf(file, "#endif\n"); + fprintf(file, "\n"); + + + fprintf(file, "#ifndef DEF_WINDOW%d\n", mode->overlap); + fprintf(file, "#define DEF_WINDOW%d\n", mode->overlap); + fprintf (file, "static const celt_word16_t window%d[%d] = {\n", mode->overlap, mode->overlap); + for (j=0;j<mode->overlap;j++) + fprintf (file, WORD16 ", ", mode->window[j]); + fprintf (file, "};\n"); + fprintf(file, "#endif\n"); + fprintf(file, "\n"); + + fprintf(file, "#ifndef DEF_PSY%d\n", mode->Fs); + fprintf(file, "#define DEF_PSY%d\n", mode->Fs); + fprintf (file, "static const celt_word16_t psy_decayR_%d[%d] = {\n", mode->Fs, MAX_PERIOD/2); + for (j=0;j<MAX_PERIOD/2;j++) + fprintf (file, WORD16 ", ", mode->psy.decayR[j]); + fprintf (file, "};\n"); + fprintf(file, "#endif\n"); + fprintf(file, "\n"); + + + fprintf(file, "#ifndef DEF_ALLOC_VECTORS%d_%d_%d\n", mode->Fs, mode->mdctSize, mode->nbChannels); + fprintf(file, "#define DEF_ALLOC_VECTORS%d_%d_%d\n", mode->Fs, mode->mdctSize, mode->nbChannels); + fprintf (file, "static const celt_int16_t allocVectors%d_%d_%d[%d] = {\n", mode->Fs, mode->mdctSize, mode->nbChannels, mode->nbEBands*mode->nbAllocVectors); + for (j=0;j<mode->nbAllocVectors;j++) + { + int k; + for (k=0;k<mode->nbEBands;k++) + fprintf (file, "%2d, ", mode->allocVectors[j*mode->nbEBands+k]); + fprintf (file, "\n"); + } + fprintf (file, "};\n"); + fprintf(file, "#endif\n"); + fprintf(file, "\n"); + + fprintf(file, "#ifndef DEF_ALLOC_ENERGY%d_%d_%d\n", mode->Fs, mode->mdctSize, mode->nbChannels); + fprintf(file, "#define DEF_ALLOC_ENERGY%d_%d_%d\n", mode->Fs, mode->mdctSize, mode->nbChannels); + fprintf (file, "static const celt_int16_t allocEnergy%d_%d_%d[%d] = {\n", mode->Fs, mode->mdctSize, mode->nbChannels, mode->nbEBands*mode->nbAllocVectors); + for (j=0;j<mode->nbAllocVectors;j++) + { + int k; + for (k=0;k<mode->nbEBands;k++) + fprintf (file, "%2d, ", mode->energy_alloc[j*mode->nbEBands+k]); + fprintf (file, "\n"); + } + fprintf (file, "};\n"); + fprintf(file, "#endif\n"); + fprintf(file, "\n"); + + fprintf(file, "#ifndef DEF_ALLOC_CACHE%d_%d_%d\n", mode->Fs, mode->mdctSize, mode->nbChannels); + fprintf(file, "#define DEF_ALLOC_CACHE%d_%d_%d\n", mode->Fs, mode->mdctSize, mode->nbChannels); + for (j=0;j<mode->nbEBands;j++) + { + int k; + if (j==0 || (mode->bits[j] != mode->bits[j-1])) + { + fprintf (file, "static const celt_int16_t allocCache_band%d_%d_%d_%d[MAX_PULSES] = {\n", j, mode->Fs, mode->mdctSize, mode->nbChannels); + for (k=0;k<MAX_PULSES;k++) + fprintf (file, "%2d, ", mode->bits[j][k]); + fprintf (file, "};\n"); + } else { + fprintf (file, "#define allocCache_band%d_%d_%d_%d allocCache_band%d_%d_%d_%d\n", j, mode->Fs, mode->mdctSize, mode->nbChannels, j-1, mode->Fs, mode->mdctSize, mode->nbChannels); + } + } + fprintf (file, "static const celt_int16_t *allocCache%d_%d_%d[%d] = {\n", mode->Fs, mode->mdctSize, mode->nbChannels, mode->nbEBands); + for (j=0;j<mode->nbEBands;j++) + { + fprintf (file, "allocCache_band%d_%d_%d_%d, ", j, mode->Fs, mode->mdctSize, mode->nbChannels); + } + fprintf (file, "};\n"); + fprintf(file, "#endif\n"); + fprintf(file, "\n"); + + + if (mode->bits_stereo) + { + fprintf(file, "#ifndef DEF_ALLOC_STEREO_CACHE%d_%d_%d\n", mode->Fs, mode->mdctSize, mode->nbChannels); + fprintf(file, "#define DEF_ALLOC_STEREO_CACHE%d_%d_%d\n", mode->Fs, mode->mdctSize, mode->nbChannels); + for (j=0;j<mode->nbEBands;j++) + { + int k; + if (j==0 || (mode->bits[j] != mode->bits_stereo[j-1])) + { + fprintf (file, "static const celt_int16_t allocStereoCache_band%d_%d_%d_%d[MAX_PULSES] = {\n", j, mode->Fs, mode->mdctSize, mode->nbChannels); + for (k=0;k<MAX_PULSES;k++) + fprintf (file, "%2d, ", mode->bits_stereo[j][k]); + fprintf (file, "};\n"); + } else { + fprintf (file, "#define allocStereoCache_band%d_%d_%d_%d allocStereoCache_band%d_%d_%d_%d\n", j, mode->Fs, mode->mdctSize, mode->nbChannels, j-1, mode->Fs, mode->mdctSize, mode->nbChannels); + } + } + fprintf (file, "static const celt_int16_t *allocStereoCache%d_%d_%d[%d] = {\n", mode->Fs, mode->mdctSize, mode->nbChannels, mode->nbEBands); + for (j=0;j<mode->nbEBands;j++) + { + fprintf (file, "allocStereoCache_band%d_%d_%d_%d, ", j, mode->Fs, mode->mdctSize, mode->nbChannels); + } + fprintf (file, "};\n"); + fprintf(file, "#endif\n"); + fprintf(file, "\n"); + } + + + fprintf(file, "static const CELTMode mode%d_%d_%d_%d = {\n", mode->Fs, mode->nbChannels, mode->mdctSize, mode->overlap); + fprintf(file, "0x%x,\t/* marker */\n", 0xa110ca7e); + fprintf(file, INT32 ",\t/* Fs */\n", mode->Fs); + fprintf(file, "%d,\t/* overlap */\n", mode->overlap); + fprintf(file, "%d,\t/* mdctSize */\n", mode->mdctSize); + fprintf(file, "%d,\t/* nbChannels */\n", mode->nbChannels); + fprintf(file, "%d,\t/* nbEBands */\n", mode->nbEBands); + fprintf(file, "%d,\t/* nbPBands */\n", mode->nbPBands); + fprintf(file, "%d,\t/* pitchEnd */\n", mode->pitchEnd); + fprintf(file, "eBands%d_%d,\t/* eBands */\n", mode->Fs, mode->mdctSize); + fprintf(file, "pBands%d_%d,\t/* pBands */\n", mode->Fs, mode->mdctSize); + fprintf(file, WORD16 ",\t/* ePredCoef */\n", mode->ePredCoef); + fprintf(file, "%d,\t/* nbAllocVectors */\n", mode->nbAllocVectors); + fprintf(file, "allocVectors%d_%d_%d,\t/* allocVectors */\n", mode->Fs, mode->mdctSize, mode->nbChannels); + fprintf(file, "allocCache%d_%d_%d,\t/* bits */\n", mode->Fs, mode->mdctSize, mode->nbChannels); + if (mode->bits_stereo) + fprintf(file, "allocStereoCache%d_%d_%d,\t/* bits_stereo */\n", mode->Fs, mode->mdctSize, mode->nbChannels); + else + fprintf(file, "0,\t/* bits_stereo */\n"); + fprintf(file, "{%d, 0, 0},\t/* mdct */\n", 2*mode->mdctSize); + fprintf(file, "0,\t/* fft */\n"); + fprintf(file, "window%d,\t/* window */\n", mode->overlap); + fprintf(file, "%d,\t/* nbShortMdcts */\n", mode->nbShortMdcts); + fprintf(file, "%d,\t/* shortMdctSize */\n", mode->shortMdctSize); + fprintf(file, "{%d, 0, 0},\t/* shortMdct */\n", 2*mode->mdctSize); + fprintf(file, "window%d,\t/* shortWindow */\n", mode->overlap); + fprintf(file, "{psy_decayR_%d},\t/* psy */\n", mode->Fs); + fprintf(file, "0,\t/* prob */\n"); + fprintf(file, "allocEnergy%d_%d_%d,\t/* energy_alloc */\n", mode->Fs, mode->mdctSize, mode->nbChannels); + fprintf(file, "0x%x,\t/* marker */\n", 0xa110ca7e); + fprintf(file, "};\n"); + } + fprintf(file, "\n"); + fprintf(file, "/* List of all the available modes */\n"); + fprintf(file, "#define TOTAL_MODES %d\n", nb_modes); + fprintf(file, "static const CELTMode * const static_mode_list[TOTAL_MODES] = {\n"); + for (i=0;i<nb_modes;i++) + { + CELTMode *mode = modes[i]; + fprintf(file, "&mode%d_%d_%d_%d,\n", mode->Fs, mode->nbChannels, mode->mdctSize, mode->overlap); + } + fprintf(file, "};\n"); +} + +void dump_header(FILE *file, CELTMode **modes, int nb_modes) +{ + int i; + int channels = 0; + int frame_size = 0; + int overlap = 0; + fprintf (file, "/* This header file is generated automatically*/\n"); + for (i=0;i<nb_modes;i++) + { + CELTMode *mode = modes[i]; + if (channels==0) + channels = mode->nbChannels; + else if (channels != mode->nbChannels) + channels = -1; + if (frame_size==0) + frame_size = mode->mdctSize; + else if (frame_size != mode->mdctSize) + frame_size = -1; + if (overlap==0) + overlap = mode->overlap; + else if (overlap != mode->overlap) + overlap = -1; + } + if (channels>0) + { + fprintf (file, "#define CHANNELS(mode) %d\n", channels); + if (channels==1) + fprintf (file, "#define DISABLE_STEREO\n"); + } + if (frame_size>0) + { + fprintf (file, "#define FRAMESIZE(mode) %d\n", frame_size); + } + if (overlap>0) + { + fprintf (file, "#define OVERLAP(mode) %d\n", overlap); + } +} + +int main(int argc, char **argv) +{ + int i, nb; + FILE *file; + CELTMode **m; + if (argc%3 != 1) + { + fprintf (stderr, "must have a multiple of 4 arguments\n"); + return 1; + } + nb = (argc-1)/3; + m = malloc(nb*sizeof(CELTMode*)); + for (i=0;i<nb;i++) + { + int Fs, ch, frame; + Fs = atoi(argv[3*i+1]); + ch = atoi(argv[3*i+2]); + frame = atoi(argv[3*i+3]); + m[i] = celt051_mode_create(Fs, ch, frame, NULL); + } + file = fopen("static_modes.c", "w"); + dump_modes(file, m, nb); + fclose(file); + file = fopen("static_modes.h", "w"); + dump_header(file, m, nb); + fclose(file); + for (i=0;i<nb;i++) + celt051_mode_destroy(m[i]); + free(m); + return 0; +} diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/ecintrin.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/ecintrin.h new file mode 100644 index 0000000..d2d229a --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/ecintrin.h @@ -0,0 +1,105 @@ +/*Some common macros for potential platform-specific optimization.*/ +#include <math.h> +#include <limits.h> +#if !defined(_ecintrin_H) +# define _ecintrin_H (1) + +/*Some specific platforms may have optimized intrinsic or inline assembly + versions of these functions which can substantially improve performance. + We define macros for them to allow easy incorporation of these non-ANSI + features.*/ + +/*Note that we do not provide a macro for abs(), because it is provided as a + library function, which we assume is translated into an intrinsic to avoid + the function call overhead and then implemented in the smartest way for the + target platform. + With modern gcc (4.x), this is true: it uses cmov instructions if the + architecture supports it and branchless bit-twiddling if it does not (the + speed difference between the two approaches is not measurable). + Interestingly, the bit-twiddling method was patented in 2000 (US 6,073,150) + by Sun Microsystems, despite prior art dating back to at least 1996: + http://web.archive.org/web/19961201174141/www.x86.org/ftp/articles/pentopt/PENTOPT.TXT + On gcc 3.x, however, our assumption is not true, as abs() is translated to a + conditional jump, which is horrible on deeply piplined architectures (e.g., + all consumer architectures for the past decade or more) when the sign cannot + be reliably predicted.*/ + +/*Modern gcc (4.x) can compile the naive versions of min and max with cmov if + given an appropriate architecture, but the branchless bit-twiddling versions + are just as fast, and do not require any special target architecture. + Earlier gcc versions (3.x) compiled both code to the same assembly + instructions, because of the way they represented ((_b)>(_a)) internally.*/ +#define EC_MAXI(_a,_b) ((_a)-((_a)-(_b)&-((_b)>(_a)))) +#define EC_MINI(_a,_b) ((_a)+((_b)-(_a)&-((_b)<(_a)))) +/*This has a chance of compiling branchless, and is just as fast as the + bit-twiddling method, which is slightly less portable, since it relies on a + sign-extended rightshift, which is not guaranteed by ANSI (but present on + every relevant platform).*/ +#define EC_SIGNI(_a) (((_a)>0)-((_a)<0)) +/*Slightly more portable than relying on a sign-extended right-shift (which is + not guaranteed by ANSI), and just as fast, since gcc (3.x and 4.x both) + compile it into the right-shift anyway.*/ +#define EC_SIGNMASK(_a) (-((_a)<0)) +/*Clamps an integer into the given range. + If _a>_c, then the lower bound _a is respected over the upper bound _c (this + behavior is required to meet our documented API behavior). + _a: The lower bound. + _b: The value to clamp. + _c: The upper boud.*/ +#define EC_CLAMPI(_a,_b,_c) (EC_MAXI(_a,EC_MINI(_b,_c))) + + +/*Count leading zeros. + This macro should only be used for implementing ec_ilog(), if it is defined. + All other code should use EC_ILOG() instead.*/ +#ifdef __GNUC_PREREQ +#if __GNUC_PREREQ(3,4) +# if INT_MAX>=2147483647 +# define EC_CLZ0 sizeof(unsigned)*CHAR_BIT +# define EC_CLZ(_x) (__builtin_clz(_x)) +# elif LONG_MAX>=2147483647L +# define EC_CLZ0 sizeof(unsigned long)*CHAR_BIT +# define EC_CLZ(_x) (__builtin_clzl(_x)) +# endif +#endif +#endif + +#if defined(EC_CLZ) +/*Note that __builtin_clz is not defined when _x==0, according to the gcc + documentation (and that of the BSR instruction that implements it on x86). + The majority of the time we can never pass it zero. + When we need to, it can be special cased.*/ +# define EC_ILOG(_x) (EC_CLZ0-EC_CLZ(_x)) +#elif defined(ENABLE_TI_DSPLIB) +#include "dsplib.h" +#define EC_ILOG(x) (31 - _lnorm(x)) +#else +# define EC_ILOG(_x) (ec_ilog(_x)) +#endif + +#ifdef __GNUC_PREREQ +#if __GNUC_PREREQ(3,4) +# if INT_MAX>=9223372036854775807 +# define EC_CLZ64_0 sizeof(unsigned)*CHAR_BIT +# define EC_CLZ64(_x) (__builtin_clz(_x)) +# elif LONG_MAX>=9223372036854775807L +# define EC_CLZ64_0 sizeof(unsigned long)*CHAR_BIT +# define EC_CLZ64(_x) (__builtin_clzl(_x)) +# elif LLONG_MAX>=9223372036854775807LL +# define EC_CLZ64_0 sizeof(unsigned long long)*CHAR_BIT +# define EC_CLZ64(_x) (__builtin_clzll(_x)) +# endif +#endif +#endif + +#if defined(EC_CLZ64) +/*Note that __builtin_clz is not defined when _x==0, according to the gcc + documentation (and that of the BSR instruction that implements it on x86). + The majority of the time we can never pass it zero. + When we need to, it can be special cased.*/ +# define EC_ILOG64(_x) (EC_CLZ64_0-EC_CLZ64(_x)) +#else +# define EC_ILOG64(_x) (ec_ilog64(_x)) +#endif + +#endif diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/entcode.c b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/entcode.c new file mode 100644 index 0000000..0f08d57 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/entcode.c @@ -0,0 +1,39 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "entcode.h" + + + + + + + +int ec_ilog(ec_uint32 _v){ +#if defined(EC_CLZ) + return EC_CLZ0-EC_CLZ(_v); +#else + /*On a Pentium M, this branchless version tested as the fastest on + 1,000,000,000 random 32-bit integers, edging out a similar version with + branches, and a 256-entry LUT version.*/ + int ret; + int m; + ret=!!_v; + m=!!(_v&0xFFFF0000)<<4; + _v>>=m; + ret|=m; + m=!!(_v&0xFF00)<<3; + _v>>=m; + ret|=m; + m=!!(_v&0xF0)<<2; + _v>>=m; + ret|=m; + m=!!(_v&0xC)<<1; + _v>>=m; + ret|=m; + ret+=!!(_v&0x2); + return ret; +#endif +} + diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/entcode.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/entcode.h new file mode 100644 index 0000000..298d19b --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/entcode.h @@ -0,0 +1,64 @@ +#include "celt_types.h" + +#if !defined(_entcode_H) +# define _entcode_H (1) +# include <limits.h> +# include "ecintrin.h" + + + +typedef celt_int32_t ec_int32; +typedef celt_uint32_t ec_uint32; +typedef celt_uint64_t ec_uint64; +typedef struct ec_byte_buffer ec_byte_buffer; + + + +/*The number of bits to code at a time when coding bits directly.*/ +# define EC_UNIT_BITS (8) +/*The mask for the given bits.*/ +# define EC_UNIT_MASK ((1U<<EC_UNIT_BITS)-1) + + + +/*Simple libogg1-style buffer.*/ +struct ec_byte_buffer{ + unsigned char *buf; + unsigned char *ptr; + long storage; + int resizable; +}; + +/*Encoding functions.*/ +void ec_byte_writeinit_buffer(ec_byte_buffer *_b, unsigned char *_buf, long _size); +void ec_byte_writeinit(ec_byte_buffer *_b); +void ec_byte_writetrunc(ec_byte_buffer *_b,long _bytes); +void ec_byte_write1(ec_byte_buffer *_b,unsigned _value); +void ec_byte_write4(ec_byte_buffer *_b,ec_uint32 _value); +void ec_byte_writecopy(ec_byte_buffer *_b,void *_source,long _bytes); +void ec_byte_writeclear(ec_byte_buffer *_b); +/*Decoding functions.*/ +void ec_byte_readinit(ec_byte_buffer *_b,unsigned char *_buf,long _bytes); +int ec_byte_look1(ec_byte_buffer *_b); +int ec_byte_look4(ec_byte_buffer *_b,ec_uint32 *_val); +void ec_byte_adv1(ec_byte_buffer *_b); +void ec_byte_adv4(ec_byte_buffer *_b); +int ec_byte_read1(ec_byte_buffer *_b); +int ec_byte_read4(ec_byte_buffer *_b,ec_uint32 *_val); +/*Shared functions.*/ +static inline void ec_byte_reset(ec_byte_buffer *_b){ + _b->ptr=_b->buf; +} + +static inline long ec_byte_bytes(ec_byte_buffer *_b){ + return _b->ptr-_b->buf; +} + +static inline unsigned char *ec_byte_get_buffer(ec_byte_buffer *_b){ + return _b->buf; +} + +int ec_ilog(ec_uint32 _v); +int ec_ilog64(ec_uint64 _v); + +#endif diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/entdec.c b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/entdec.c new file mode 100644 index 0000000..555543f --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/entdec.c @@ -0,0 +1,131 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <stddef.h> +#include "entdec.h" +#include "os_support.h" + + +void ec_byte_readinit(ec_byte_buffer *_b,unsigned char *_buf,long _bytes){ + _b->buf=_b->ptr=_buf; + _b->storage=_bytes; +} + +int ec_byte_look1(ec_byte_buffer *_b){ + ptrdiff_t endbyte; + endbyte=_b->ptr-_b->buf; + if(endbyte>=_b->storage)return -1; + else return _b->ptr[0]; +} + +int ec_byte_look4(ec_byte_buffer *_b,ec_uint32 *_val){ + ptrdiff_t endbyte; + endbyte=_b->ptr-_b->buf; + if(endbyte+4>_b->storage){ + if(endbyte<_b->storage){ + *_val=_b->ptr[0]; + endbyte++; + if(endbyte<_b->storage){ + *_val|=(ec_uint32)_b->ptr[1]<<8; + endbyte++; + if(endbyte<_b->storage)*_val|=(ec_uint32)_b->ptr[2]<<16; + } + } + return -1; + } + else{ + *_val=_b->ptr[0]; + *_val|=(ec_uint32)_b->ptr[1]<<8; + *_val|=(ec_uint32)_b->ptr[2]<<16; + *_val|=(ec_uint32)_b->ptr[3]<<24; + } + return 0; +} + +void ec_byte_adv1(ec_byte_buffer *_b){ + _b->ptr++; +} + +void ec_byte_adv4(ec_byte_buffer *_b){ + _b->ptr+=4; +} + +int ec_byte_read1(ec_byte_buffer *_b){ + ptrdiff_t endbyte; + endbyte=_b->ptr-_b->buf; + if(endbyte>=_b->storage)return -1; + else return *(_b->ptr++); +} + +int ec_byte_read4(ec_byte_buffer *_b,ec_uint32 *_val){ + unsigned char *end; + end=_b->buf+_b->storage; + if(_b->ptr+4>end){ + if(_b->ptr<end){ + *_val=*(_b->ptr++); + if(_b->ptr<end){ + *_val|=(ec_uint32)*(_b->ptr++)<<8; + if(_b->ptr<end)*_val|=(ec_uint32)*(_b->ptr++)<<16; + } + } + return -1; + } + else{ + *_val=(*_b->ptr++); + *_val|=(ec_uint32)*(_b->ptr++)<<8; + *_val|=(ec_uint32)*(_b->ptr++)<<16; + *_val|=(ec_uint32)*(_b->ptr++)<<24; + } + return 0; +} + + + +ec_uint32 ec_dec_bits(ec_dec *_this,int _ftb){ + ec_uint32 t; + unsigned s; + unsigned ft; + t=0; + while(_ftb>EC_UNIT_BITS){ + s=ec_decode_bin(_this,EC_UNIT_BITS); + ec_dec_update(_this,s,s+1,EC_UNIT_MASK+1); + t=t<<EC_UNIT_BITS|s; + _ftb-=EC_UNIT_BITS; + } + ft=1U<<_ftb; + s=ec_decode_bin(_this,_ftb); + ec_dec_update(_this,s,s+1,ft); + t=t<<_ftb|s; + return t; +} + +ec_uint32 ec_dec_uint(ec_dec *_this,ec_uint32 _ft){ + ec_uint32 t; + unsigned ft; + unsigned s; + int ftb; + t=0; + _ft--; + ftb=EC_ILOG(_ft); + if(ftb>EC_UNIT_BITS){ + ftb-=EC_UNIT_BITS; + ft=(unsigned)(_ft>>ftb)+1; + s=ec_decode(_this,ft); + ec_dec_update(_this,s,s+1,ft); + t=t<<EC_UNIT_BITS|s; + t = t<<ftb|ec_dec_bits(_this,ftb); + if (t>_ft) + { + celt_notify("uint decode error"); + t = _ft; + } + return t; + } else { + _ft++; + s=ec_decode(_this,(unsigned)_ft); + ec_dec_update(_this,s,s+1,(unsigned)_ft); + t=t<<ftb|s; + return t; + } +} diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/entdec.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/entdec.h new file mode 100644 index 0000000..f5feb1a --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/entdec.h @@ -0,0 +1,103 @@ +#if !defined(_entdec_H) +# define _entdec_H (1) +# include "entcode.h" + + + +typedef struct ec_dec ec_dec; + + + +/*The entropy decoder.*/ +struct ec_dec{ + /*The buffer to decode.*/ + ec_byte_buffer *buf; + /*The remainder of a buffered input symbol.*/ + int rem; + /*The number of values in the current range.*/ + ec_uint32 rng; + /*The difference between the input value and the lowest value in the current + range.*/ + ec_uint32 dif; + /*Normalization factor.*/ + ec_uint32 nrm; +}; + + +/*Initializes the decoder. + _buf: The input buffer to use. + Return: 0 on success, or a negative value on error.*/ +void ec_dec_init(ec_dec *_this,ec_byte_buffer *_buf); +/*Calculates the cumulative frequency for the next symbol. + This can then be fed into the probability model to determine what that + symbol is, and the additional frequency information required to advance to + the next symbol. + This function cannot be called more than once without a corresponding call to + ec_dec_update(), or decoding will not proceed correctly. + _ft: The total frequency of the symbols in the alphabet the next symbol was + encoded with. + Return: A cumulative frequency representing the encoded symbol. + If the cumulative frequency of all the symbols before the one that + was encoded was fl, and the cumulative frequency of all the symbols + up to and including the one encoded is fh, then the returned value + will fall in the range [fl,fh).*/ +unsigned ec_decode(ec_dec *_this,unsigned _ft); +unsigned ec_decode_bin(ec_dec *_this,unsigned bits); +/*Advance the decoder past the next symbol using the frequency information the + symbol was encoded with. + Exactly one call to ec_decode() must have been made so that all necessary + intermediate calculations are performed. + _fl: The cumulative frequency of all symbols that come before the symbol + decoded. + _fh: The cumulative frequency of all symbols up to and including the symbol + decoded. + Together with _fl, this defines the range [_fl,_fh) in which the value + returned above must fall. + _ft: The total frequency of the symbols in the alphabet the symbol decoded + was encoded in. + This must be the same as passed to the preceding call to ec_decode().*/ +void ec_dec_update(ec_dec *_this,unsigned _fl,unsigned _fh, + unsigned _ft); +/*Extracts a sequence of raw bits from the stream. + The bits must have been encoded with ec_enc_bits(). + No call to ec_dec_update() is necessary after this call. + _ftb: The number of bits to extract. + This must be at least one, and no more than 32. + Return: The decoded bits.*/ +ec_uint32 ec_dec_bits(ec_dec *_this,int _ftb); +/*Extracts a sequence of raw bits from the stream. + The bits must have been encoded with ec_enc_bits64(). + No call to ec_dec_update() is necessary after this call. + _ftb: The number of bits to extract. + This must be at least one, and no more than 64. + Return: The decoded bits.*/ +ec_uint64 ec_dec_bits64(ec_dec *_this,int _ftb); +/*Extracts a raw unsigned integer with a non-power-of-2 range from the stream. + The bits must have been encoded with ec_enc_uint(). + No call to ec_dec_update() is necessary after this call. + _ft: The number of integers that can be decoded (one more than the max). + This must be at least one, and no more than 2**32-1. + Return: The decoded bits.*/ +ec_uint32 ec_dec_uint(ec_dec *_this,ec_uint32 _ft); +/*Extracts a raw unsigned integer with a non-power-of-2 range from the stream. + The bits must have been encoded with ec_enc_uint64(). + No call to ec_dec_update() is necessary after this call. + _ft: The number of integers that can be decoded (one more than the max). + This must be at least one, and no more than 2**64-1. + Return: The decoded bits.*/ +ec_uint64 ec_dec_uint64(ec_dec *_this,ec_uint64 _ft); + +/*Returns the number of bits "used" by the decoded symbols so far. + The actual number of bits may be larger, due to rounding to whole bytes, or + smaller, due to trailing zeros that were be stripped, so this is not an + estimate of the true packet size. + This same number can be computed by the encoder, and is suitable for making + coding decisions. + _b: The number of extra bits of precision to include. + At most 16 will be accurate. + Return: The number of bits scaled by 2**_b. + This will always be slightly larger than the exact value (e.g., all + rounding error is in the positive direction).*/ +long ec_dec_tell(ec_dec *_this,int _b); + +#endif diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/entenc.c b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/entenc.c new file mode 100644 index 0000000..3da351e --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/entenc.c @@ -0,0 +1,115 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "os_support.h" +#include "entenc.h" +#include "arch.h" + + +#define EC_BUFFER_INCREMENT (256) + +void ec_byte_writeinit_buffer(ec_byte_buffer *_b, unsigned char *_buf, long _size){ + _b->ptr=_b->buf=_buf; + _b->storage=_size; + _b->resizable = 0; +} + +void ec_byte_writeinit(ec_byte_buffer *_b){ + _b->ptr=_b->buf=celt_alloc(EC_BUFFER_INCREMENT*sizeof(char)); + _b->storage=EC_BUFFER_INCREMENT; + _b->resizable = 1; +} + +void ec_byte_writetrunc(ec_byte_buffer *_b,long _bytes){ + _b->ptr=_b->buf+_bytes; +} + +void ec_byte_write1(ec_byte_buffer *_b,unsigned _value){ + ptrdiff_t endbyte; + endbyte=_b->ptr-_b->buf; + if(endbyte>=_b->storage){ + if (_b->resizable){ + _b->buf=celt_realloc(_b->buf,(_b->storage+EC_BUFFER_INCREMENT)*sizeof(char)); + _b->storage+=EC_BUFFER_INCREMENT; + _b->ptr=_b->buf+endbyte; + } else { + celt_fatal("range encoder overflow\n"); + } + } + *(_b->ptr++)=(unsigned char)_value; +} + +void ec_byte_write4(ec_byte_buffer *_b,ec_uint32 _value){ + ptrdiff_t endbyte; + endbyte=_b->ptr-_b->buf; + if(endbyte+4>_b->storage){ + if (_b->resizable){ + _b->buf=celt_realloc(_b->buf,(_b->storage+EC_BUFFER_INCREMENT)*sizeof(char)); + _b->storage+=EC_BUFFER_INCREMENT; + _b->ptr=_b->buf+endbyte; + } else { + celt_fatal("range encoder overflow\n"); + } + } + *(_b->ptr++)=(unsigned char)_value; + _value>>=8; + *(_b->ptr++)=(unsigned char)_value; + _value>>=8; + *(_b->ptr++)=(unsigned char)_value; + _value>>=8; + *(_b->ptr++)=(unsigned char)_value; +} + +void ec_byte_writecopy(ec_byte_buffer *_b,void *_source,long _bytes){ + ptrdiff_t endbyte; + endbyte=_b->ptr-_b->buf; + if(endbyte+_bytes>_b->storage){ + if (_b->resizable){ + _b->storage=endbyte+_bytes+EC_BUFFER_INCREMENT; + _b->buf=celt_realloc(_b->buf,_b->storage*sizeof(char)); + _b->ptr=_b->buf+endbyte; + } else { + celt_fatal("range encoder overflow\n"); + } + } + memmove(_b->ptr,_source,_bytes); + _b->ptr+=_bytes; +} + +void ec_byte_writeclear(ec_byte_buffer *_b){ + celt_free(_b->buf); +} + + + +void ec_enc_bits(ec_enc *_this,ec_uint32 _fl,int _ftb){ + unsigned fl; + unsigned ft; + while(_ftb>EC_UNIT_BITS){ + _ftb-=EC_UNIT_BITS; + fl=(unsigned)(_fl>>_ftb)&EC_UNIT_MASK; + ec_encode_bin(_this,fl,fl+1,EC_UNIT_BITS); + } + ft=1<<_ftb; + fl=(unsigned)_fl&ft-1; + ec_encode_bin(_this,fl,fl+1,_ftb); +} + +void ec_enc_uint(ec_enc *_this,ec_uint32 _fl,ec_uint32 _ft){ + unsigned ft; + unsigned fl; + int ftb; + _ft--; + ftb=EC_ILOG(_ft)&-!!_ft; + if(ftb>EC_UNIT_BITS){ + ftb-=EC_UNIT_BITS; + ft=(_ft>>ftb)+1; + fl=(unsigned)(_fl>>ftb); + ec_encode(_this,fl,fl+1,ft); + ec_enc_bits(_this,_fl,ftb); + } else { + ec_encode(_this,_fl,_fl+1,_ft+1); + } +} + diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/entenc.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/entenc.h new file mode 100644 index 0000000..9b3ab6d --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/entenc.h @@ -0,0 +1,85 @@ +#if !defined(_entenc_H) +# define _entenc_H (1) +# include <stddef.h> +# include "entcode.h" + + + +typedef struct ec_enc ec_enc; + + + +/*The entropy encoder.*/ +struct ec_enc{ + /*Buffered output.*/ + ec_byte_buffer *buf; + /*A buffered output symbol, awaiting carry propagation.*/ + int rem; + /*Number of extra carry propagating symbols.*/ + size_t ext; + /*The number of values in the current range.*/ + ec_uint32 rng; + /*The low end of the current range (inclusive).*/ + ec_uint32 low; +}; + + +/*Initializes the encoder. + _buf: The buffer to store output bytes in. + This must have already been initialized for writing and reset.*/ +void ec_enc_init(ec_enc *_this,ec_byte_buffer *_buf); +/*Encodes a symbol given its frequency information. + The frequency information must be discernable by the decoder, assuming it + has read only the previous symbols from the stream. + It is allowable to change the frequency information, or even the entire + source alphabet, so long as the decoder can tell from the context of the + previously encoded information that it is supposed to do so as well. + _fl: The cumulative frequency of all symbols that come before the one to be + encoded. + _fh: The cumulative frequency of all symbols up to and including the one to + be encoded. + Together with _fl, this defines the range [_fl,_fh) in which the + decoded value will fall. + _ft: The sum of the frequencies of all the symbols*/ +void ec_encode(ec_enc *_this,unsigned _fl,unsigned _fh,unsigned _ft); +void ec_encode_bin(ec_enc *_this,unsigned _fl,unsigned _fh,unsigned bits); +/*Encodes a sequence of raw bits in the stream. + _fl: The bits to encode. + _ftb: The number of bits to encode. + This must be at least one, and no more than 32.*/ +void ec_enc_bits(ec_enc *_this,ec_uint32 _fl,int _ftb); +/*Encodes a sequence of raw bits in the stream. + _fl: The bits to encode. + _ftb: The number of bits to encode. + This must be at least one, and no more than 64.*/ +void ec_enc_bits64(ec_enc *_this,ec_uint64 _fl,int _ftb); +/*Encodes a raw unsigned integer in the stream. + _fl: The integer to encode. + _ft: The number of integers that can be encoded (one more than the max). + This must be at least one, and no more than 2**32-1.*/ +void ec_enc_uint(ec_enc *_this,ec_uint32 _fl,ec_uint32 _ft); +/*Encodes a raw unsigned integer in the stream. + _fl: The integer to encode. + _ft: The number of integers that can be encoded (one more than the max). + This must be at least one, and no more than 2**64-1.*/ +void ec_enc_uint64(ec_enc *_this,ec_uint64 _fl,ec_uint64 _ft); + +/*Returns the number of bits "used" by the encoded symbols so far. + The actual number of bits may be larger, due to rounding to whole bytes, or + smaller, due to trailing zeros that can be stripped, so this is not an + estimate of the true packet size. + This same number can be computed by the decoder, and is suitable for making + coding decisions. + _b: The number of extra bits of precision to include. + At most 16 will be accurate. + Return: The number of bits scaled by 2**_b. + This will always be slightly larger than the exact value (e.g., all + rounding error is in the positive direction).*/ +long ec_enc_tell(ec_enc *_this,int _b); + +/*Indicates that there are no more symbols to encode. + All reamining output bytes are flushed to the output buffer. + ec_enc_init() must be called before the encoder can be used again.*/ +void ec_enc_done(ec_enc *_this); + +#endif diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/fixed_c5x.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/fixed_c5x.h new file mode 100644 index 0000000..de7a217 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/fixed_c5x.h @@ -0,0 +1,93 @@ +/* Copyright (C) 2003 Jean-Marc Valin */ +/** + @file fixed_c5x.h + @brief Fixed-point operations for the TI C5x DSP family +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef FIXED_C5X_H +#define FIXED_C5X_H + +#include "dsplib.h" + +#undef IMUL32 +static inline long IMUL32(long i, long j) +{ + long ac0, ac1; + ac0 = _lmpy(i>>16,j); + ac1 = ac0 + _lmpy(i,j>>16); + return _lmpyu(i,j) + (ac1<<16); +} + +#undef MAX16 +#define MAX16(a,b) _max(a,b) + +#undef MIN16 +#define MIN16(a,b) _min(a,b) + +#undef MAX32 +#define MAX32(a,b) _lmax(a,b) + +#undef MIN32 +#define MIN32(a,b) _lmin(a,b) + +#undef VSHR32 +#define VSHR32(a, shift) _lshl(a,-(shift)) + +#undef MULT16_16_Q15 +#define MULT16_16_Q15(a,b) (_smpy(a,b)) + +#undef MULT16_16SU +#define MULT16_16SU(a,b) _lmpysu(a,b) + +#undef MULT_16_16 +#define MULT_16_16(a,b) _lmpy(a,b) + +/* FIXME: This is technically incorrect and is bound to cause problems. Is there any cleaner solution? */ +#undef MULT16_32_Q15 +#define MULT16_32_Q15(a,b) ADD32(SHL(MULT16_16((a),SHR((b),16)),1), SHR(MULT16_16SU((a),(b)),15)) + + +#define celt_ilog2(x) (30 - _lnorm(x)) +#define OVERRIDE_CELT_ILOG2 + +#define celt_maxabs16(x, len) MAX16(maxval((DATA *)x, len),-minval((DATA *)x, len)) +#define OVERRIDE_CELT_MAXABS16 + +#define OVERRIDE_FIND_MAX16 +static inline int find_max16(celt_word16_t *x, int len) +{ + DATA max_corr16 = -VERY_LARGE16; + DATA pitch16 = 0; + maxvec((DATA *)x, len, &max_corr16, &pitch16); + return pitch16; +} + +#endif /* FIXED_C5X_H */ diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/fixed_c6x.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/fixed_c6x.h new file mode 100644 index 0000000..a2bcdbd --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/fixed_c6x.h @@ -0,0 +1,84 @@ +/* Copyright (C) 2008 CSIRO */ +/** + @file fixed_c6x.h + @brief Fixed-point operations for the TI C6x DSP family +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef FIXED_C6X_H +#define FIXED_C6X_H + +#undef MULT16_16SU +#define MULT16_16SU(a,b) _mpysu(a,b) + +#undef MULT_16_16 +#define MULT_16_16(a,b) _mpy(a,b) + +#define celt_ilog2(x) (30 - _norm(x)) +#define OVERRIDE_CELT_ILOG2 + +#undef MULT16_32_Q15 +#define MULT16_32_Q15(a,b) ADD32(SHL(_mpylh(a,b),1), SHR(_mpsu(a,b),15) + +#if 0 +#include "dsplib.h" + +#undef MAX16 +#define MAX16(a,b) _max(a,b) + +#undef MIN16 +#define MIN16(a,b) _min(a,b) + +#undef MAX32 +#define MAX32(a,b) _lmax(a,b) + +#undef MIN32 +#define MIN32(a,b) _lmin(a,b) + +#undef VSHR32 +#define VSHR32(a, shift) _lshl(a,-(shift)) + +#undef MULT16_16_Q15 +#define MULT16_16_Q15(a,b) (_smpy(a,b)) + +#define celt_maxabs16(x, len) MAX16(maxval((DATA *)x, len),-minval((DATA *)x, len)) +#define OVERRIDE_CELT_MAXABS16 + +#define OVERRIDE_FIND_MAX16 +static inline int find_max16(celt_word16_t *x, int len) +{ + DATA max_corr16 = -VERY_LARGE16; + DATA pitch16 = 0; + maxvec((DATA *)x, len, &max_corr16, &pitch16); + return pitch16; +} +#endif + +#endif /* FIXED_C6X_H */ diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/fixed_generic.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/fixed_generic.h new file mode 100644 index 0000000..a273c62 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/fixed_generic.h @@ -0,0 +1,159 @@ +/* Copyright (C) 2003-2008 Jean-Marc Valin, CSIRO */ +/** + @file fixed_generic.h + @brief Generic fixed-point operations +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef FIXED_GENERIC_H +#define FIXED_GENERIC_H + +/** Multiply a 16-bit signed value by a 16-bit unsigned value. The result is a 32-bit signed value */ +#define MULT16_16SU(a,b) ((celt_word32_t)(celt_word16_t)(a)*(celt_word32_t)(celt_uint16_t)(b)) + +/** 16x32 multiplication, followed by a 16-bit shift right. Results fits in 32 bits */ +#define MULT16_32_Q16(a,b) ADD32(MULT16_16((a),SHR((b),16)), SHR(MULT16_16SU((a),((b)&0x0000ffff)),16)) + +/** 16x32 multiplication, followed by a 15-bit shift right. Results fits in 32 bits */ +#define MULT16_32_Q15(a,b) ADD32(SHL(MULT16_16((a),SHR((b),16)),1), SHR(MULT16_16SU((a),((b)&0x0000ffff)),15)) + +/** 32x32 multiplication, followed by a 31-bit shift right. Results fits in 32 bits */ +#define MULT32_32_Q31(a,b) ADD32(ADD32(SHL(MULT16_16(SHR((a),16),SHR((b),16)),1), SHR(MULT16_16SU(SHR((a),16),((b)&0x0000ffff)),15)), SHR(MULT16_16SU(SHR((b),16),((a)&0x0000ffff)),15)) + +/** 32x32 multiplication, followed by a 32-bit shift right. Results fits in 32 bits */ +#define MULT32_32_Q32(a,b) ADD32(ADD32(MULT16_16(SHR((a),16),SHR((b),16)), SHR(MULT16_16SU(SHR((a),16),((b)&0x0000ffff)),16)), SHR(MULT16_16SU(SHR((b),16),((a)&0x0000ffff)),16)) + +/** Compile-time conversion of float constant to 16-bit value */ +#define QCONST16(x,bits) ((celt_word16_t)(.5+(x)*(((celt_word32_t)1)<<(bits)))) +/** Compile-time conversion of float constant to 32-bit value */ +#define QCONST32(x,bits) ((celt_word32_t)(.5+(x)*(((celt_word32_t)1)<<(bits)))) + +/** Negate a 16-bit value */ +#define NEG16(x) (-(x)) +/** Negate a 32-bit value */ +#define NEG32(x) (-(x)) + +/** Change a 32-bit value into a 16-bit value. The value is assumed to fit in 16-bit, otherwise the result is undefined */ +#define EXTRACT16(x) ((celt_word16_t)(x)) +/** Change a 16-bit value into a 32-bit value */ +#define EXTEND32(x) ((celt_word32_t)(x)) + +/** Arithmetic shift-right of a 16-bit value */ +#define SHR16(a,shift) ((a) >> (shift)) +/** Arithmetic shift-left of a 16-bit value */ +#define SHL16(a,shift) ((a) << (shift)) +/** Arithmetic shift-right of a 32-bit value */ +#define SHR32(a,shift) ((a) >> (shift)) +/** Arithmetic shift-left of a 32-bit value */ +#define SHL32(a,shift) ((celt_word32_t)(a) << (shift)) + +/** 16-bit arithmetic shift right with rounding-to-nearest instead of rounding down */ +#define PSHR16(a,shift) (SHR16((a)+((1<<((shift))>>1)),shift)) +/** 32-bit arithmetic shift right with rounding-to-nearest instead of rounding down */ +#define PSHR32(a,shift) (SHR32((a)+((EXTEND32(1)<<((shift))>>1)),shift)) +/** 32-bit arithmetic shift right where the argument can be negative */ +#define VSHR32(a, shift) (((shift)>0) ? SHR32(a, shift) : SHL32(a, -(shift))) + +/** Saturates 16-bit value to +/- a */ +#define SATURATE16(x,a) (((x)>(a) ? (a) : (x)<-(a) ? -(a) : (x))) +/** Saturates 32-bit value to +/- a */ +#define SATURATE32(x,a) (((x)>(a) ? (a) : (x)<-(a) ? -(a) : (x))) + +/** "RAW" macros, should not be used outside of this header file */ +#define SHR(a,shift) ((a) >> (shift)) +#define SHL(a,shift) ((celt_word32_t)(a) << (shift)) +#define PSHR(a,shift) (SHR((a)+((EXTEND32(1)<<((shift))>>1)),shift)) +#define SATURATE(x,a) (((x)>(a) ? (a) : (x)<-(a) ? -(a) : (x))) + +/** Shift by a and round-to-neareast 32-bit value. Result is a 16-bit value */ +#define ROUND16(x,a) (EXTRACT16(PSHR32((x),(a)))) +/** Divide by two */ +#define HALF32(x) (SHR32(x,1)) + +/** Add two 16-bit values */ +#define ADD16(a,b) ((celt_word16_t)((celt_word16_t)(a)+(celt_word16_t)(b))) +/** Subtract two 16-bit values */ +#define SUB16(a,b) ((celt_word16_t)(a)-(celt_word16_t)(b)) +/** Add two 32-bit values */ +#define ADD32(a,b) ((celt_word32_t)(a)+(celt_word32_t)(b)) +/** Subtract two 32-bit values */ +#define SUB32(a,b) ((celt_word32_t)(a)-(celt_word32_t)(b)) + + +/** 16x16 multiplication where the result fits in 16 bits */ +#define MULT16_16_16(a,b) ((((celt_word16_t)(a))*((celt_word16_t)(b)))) + +/* (celt_word32_t)(celt_word16_t) gives TI compiler a hint that it's 16x16->32 multiply */ +/** 16x16 multiplication where the result fits in 32 bits */ +#define MULT16_16(a,b) (((celt_word32_t)(celt_word16_t)(a))*((celt_word32_t)(celt_word16_t)(b))) + +/** 16x16 multiply-add where the result fits in 32 bits */ +#define MAC16_16(c,a,b) (ADD32((c),MULT16_16((a),(b)))) +/** 16x32 multiplication, followed by a 12-bit shift right. Results fits in 32 bits */ +#define MULT16_32_Q12(a,b) ADD32(MULT16_16((a),SHR((b),12)), SHR(MULT16_16((a),((b)&0x00000fff)),12)) +/** 16x32 multiplication, followed by a 13-bit shift right. Results fits in 32 bits */ +#define MULT16_32_Q13(a,b) ADD32(MULT16_16((a),SHR((b),13)), SHR(MULT16_16((a),((b)&0x00001fff)),13)) +/** 16x32 multiplication, followed by a 14-bit shift right. Results fits in 32 bits */ +#define MULT16_32_Q14(a,b) ADD32(MULT16_16((a),SHR((b),14)), SHR(MULT16_16((a),((b)&0x00003fff)),14)) + +/** 16x32 multiplication, followed by an 11-bit shift right. Results fits in 32 bits */ +#define MULT16_32_Q11(a,b) ADD32(MULT16_16((a),SHR((b),11)), SHR(MULT16_16((a),((b)&0x000007ff)),11)) +/** 16x32 multiply-add, followed by an 11-bit shift right. Results fits in 32 bits */ +#define MAC16_32_Q11(c,a,b) ADD32(c,ADD32(MULT16_16((a),SHR((b),11)), SHR(MULT16_16((a),((b)&0x000007ff)),11))) + +/** 16x32 multiplication, followed by a 15-bit shift right (round-to-nearest). Results fits in 32 bits */ +#define MULT16_32_P15(a,b) ADD32(MULT16_16((a),SHR((b),15)), PSHR(MULT16_16((a),((b)&0x00007fff)),15)) +/** 16x32 multiply-add, followed by a 15-bit shift right. Results fits in 32 bits */ +#define MAC16_32_Q15(c,a,b) ADD32(c,ADD32(MULT16_16((a),SHR((b),15)), SHR(MULT16_16((a),((b)&0x00007fff)),15))) + + +#define MAC16_16_Q11(c,a,b) (ADD32((c),SHR(MULT16_16((a),(b)),11))) +#define MAC16_16_Q13(c,a,b) (ADD32((c),SHR(MULT16_16((a),(b)),13))) +#define MAC16_16_P13(c,a,b) (ADD32((c),SHR(ADD32(4096,MULT16_16((a),(b))),13))) + +#define MULT16_16_Q11_32(a,b) (SHR(MULT16_16((a),(b)),11)) +#define MULT16_16_Q13(a,b) (SHR(MULT16_16((a),(b)),13)) +#define MULT16_16_Q14(a,b) (SHR(MULT16_16((a),(b)),14)) +#define MULT16_16_Q15(a,b) (SHR(MULT16_16((a),(b)),15)) + +#define MULT16_16_P13(a,b) (SHR(ADD32(4096,MULT16_16((a),(b))),13)) +#define MULT16_16_P14(a,b) (SHR(ADD32(8192,MULT16_16((a),(b))),14)) +#define MULT16_16_P15(a,b) (SHR(ADD32(16384,MULT16_16((a),(b))),15)) + +/** Divide a 32-bit value by a 16-bit value. Result fits in 16 bits */ +#define DIV32_16(a,b) ((celt_word16_t)(((celt_word32_t)(a))/((celt_word16_t)(b)))) +/** Divide a 32-bit value by a 16-bit value and round to nearest. Result fits in 16 bits */ +#define PDIV32_16(a,b) ((celt_word16_t)(((celt_word32_t)(a)+((celt_word16_t)(b)>>1))/((celt_word16_t)(b)))) +/** Divide a 32-bit value by a 32-bit value. Result fits in 32 bits */ +#define DIV32(a,b) (((celt_word32_t)(a))/((celt_word32_t)(b))) +/** Divide a 32-bit value by a 32-bit value and round to nearest. Result fits in 32 bits */ +#define PDIV32(a,b) (((celt_word32_t)(a)+((celt_word16_t)(b)>>1))/((celt_word32_t)(b))) + +#endif diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/float_cast.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/float_cast.h new file mode 100644 index 0000000..280b491 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/float_cast.h @@ -0,0 +1,109 @@ +/* +** Copyright (C) 2001 Erik de Castro Lopo <erikd AT mega-nerd DOT com> +** +** Permission to use, copy, modify, distribute, and sell this file for any +** purpose is hereby granted without fee, provided that the above copyright +** and this permission notice appear in all copies. No representations are +** made about the suitability of this software for any purpose. It is +** provided "as is" without express or implied warranty. +*/ + +/* Version 1.1 */ + +#ifndef FLOAT_CAST_H +#define FLOAT_CAST_H + +/*============================================================================ +** On Intel Pentium processors (especially PIII and probably P4), converting +** from float to int is very slow. To meet the C specs, the code produced by +** most C compilers targeting Pentium needs to change the FPU rounding mode +** before the float to int conversion is performed. +** +** Changing the FPU rounding mode causes the FPU pipeline to be flushed. It +** is this flushing of the pipeline which is so slow. +** +** Fortunately the ISO C99 specifications define the functions lrint, lrintf, +** llrint and llrintf which fix this problem as a side effect. +** +** On Unix-like systems, the configure process should have detected the +** presence of these functions. If they weren't found we have to replace them +** here with a standard C cast. +*/ + +/* +** The C99 prototypes for lrint and lrintf are as follows: +** +** long int lrintf (float x) ; +** long int lrint (double x) ; +*/ + +/* The presence of the required functions are detected during the configure +** process and the values HAVE_LRINT and HAVE_LRINTF are set accordingly in +** the config.h file. +*/ + +#if (HAVE_LRINTF) +/*#if 0*/ + + /* These defines enable functionality introduced with the 1999 ISO C + ** standard. They must be defined before the inclusion of math.h to + ** engage them. If optimisation is enabled, these functions will be + ** inlined. With optimisation switched off, you have to link in the + ** maths library using -lm. + */ + + #define _ISOC9X_SOURCE 1 + #define _ISOC99_SOURCE 1 + + #define __USE_ISOC9X 1 + #define __USE_ISOC99 1 + + #include <math.h> + #define float2int(x) lrintf(x) + +#elif (defined(HAVE_LRINT)) + +#define _ISOC9X_SOURCE 1 +#define _ISOC99_SOURCE 1 + +#define __USE_ISOC9X 1 +#define __USE_ISOC99 1 + +#include <math.h> +#define float2int(x) lrint(x) + +#elif (defined (WIN32) || defined (_WIN32)) + + #include <math.h> + + /* Win32 doesn't seem to have these functions. + ** Therefore implement inline versions of these functions here. + */ + + __inline long int + float2int (float flt) + { int intgr; + + _asm + { fld flt + fistp intgr + } ; + + return intgr ; + } + +#else + +#ifdef __GNUC__ /* supported by gcc, but not by all other compilers*/ + #warning "Don't have the functions lrint() and lrintf ()." + #warning "Replacing these functions with a standard C cast." +#endif /* __GNUC__ */ + + #include <math.h> + + #define float2int(flt) ((int)(floor(.5+flt))) + +#endif + + +#endif /* FLOAT_CAST_H */ diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/header.c b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/header.c new file mode 100644 index 0000000..f872747 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/header.c @@ -0,0 +1,111 @@ +/* (C) 2008 Jean-Marc Valin, CSIRO +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "celt_header.h" +#include "os_support.h" +#include "modes.h" + +/*typedef struct { + char codec_id[8]; + char codec_version[20]; + celt_int32_t version_id; + celt_int32_t header_size; + celt_int32_t mode; + celt_int32_t sample_rate; + celt_int32_t nb_channels; + celt_int32_t bytes_per_packet; + celt_int32_t extra_headers; +} CELT051Header;*/ + +static celt_uint32_t +_le_32 (celt_uint32_t i) +{ + celt_uint32_t ret=i; +#ifdef WORDS_BIGENDIAN + ret = (i>>24); + ret += (i>>8) & 0x0000ff00; + ret += (i<<8) & 0x00ff0000; + ret += (i<<24); +#endif + return ret; +} + +void celt051_header_init(CELT051Header *header, const CELTMode *m) +{ + CELT_COPY(header->codec_id, "CELT ", 8); + CELT_COPY(header->codec_version, "experimental ", 20); + + celt051_mode_info(m, CELT_GET_BITSTREAM_VERSION, &header->version_id); + header->header_size = 56; + header->sample_rate = m->Fs; + header->nb_channels = m->nbChannels; + header->frame_size = m->mdctSize; + header->overlap = m->overlap; + header->bytes_per_packet = -1; + header->extra_headers = 0; +} + +int celt051_header_to_packet(const CELT051Header *header, unsigned char *packet, celt_uint32_t size) +{ + celt_int32_t * h; + + if (size < 56) return CELT_BAD_ARG; /* FAIL */ + + CELT_MEMSET(packet, 0, sizeof(*header)); + /* FIXME: Do it in an alignment-safe manner */ + + /* Copy ident and version */ + CELT_COPY(packet, (unsigned char*)header, 28); + + /* Copy the int32 fields */ + h = (celt_int32_t*)(packet+28); + *h++ = _le_32 (header->version_id); + *h++ = _le_32 (header->header_size); + *h++ = _le_32 (header->sample_rate); + *h++ = _le_32 (header->nb_channels); + *h++ = _le_32 (header->frame_size); + *h++ = _le_32 (header->overlap); + *h++ = _le_32 (header->bytes_per_packet); + *h++ = _le_32 (header->extra_headers); + + return sizeof(*header); +} + +int celt051_header_from_packet(const unsigned char *packet, celt_uint32_t size, CELT051Header *header) +{ + CELT_COPY((unsigned char*)header, packet, sizeof(*header)); + return sizeof(*header); +} + diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/kfft_double.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/kfft_double.h new file mode 100644 index 0000000..8826c6f --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/kfft_double.h @@ -0,0 +1,68 @@ +/* (C) 2008 Jean-Marc Valin, CSIRO +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef KFFT_DOUBLE_H +#define KFFT_DOUBLE_H + +#ifdef ENABLE_TI_DSPLIB + +#include "dsplib.h" +#include "_kiss_fft_guts.h" + +#define cpx32_fft_alloc(length) NULL +#define cpx32_fft_free(state) + +#define cpx32_fft(state, X, Y, nx)\ + (\ + cfft32_SCALE(X,nx),\ + cbrev32(X,Y,nx)\ + ) + +#define cpx32_ifft(state, X, Y, nx) \ + (\ + cifft32_NOSCALE(X,nx),\ + cbrev32(X,Y,nx)\ + ) + + +#else /* ENABLE_TI_DSPLIB */ + +#include "kiss_fft.h" +#include "_kiss_fft_guts.h" + +#define cpx32_fft_alloc(length) kiss_fft_alloc(length, 0, 0); +#define cpx32_fft_free(state) kiss_fft_free(state) +#define cpx32_fft(state, X, Y, nx) kiss_fft(state,(const kiss_fft_cpx *)(X), (kiss_fft_cpx *)(Y)) +#define cpx32_ifft(state, X, Y, nx) kiss_ifft(state,(const kiss_fft_cpx *)(X), (kiss_fft_cpx *)(Y)) + +#endif /* !ENABLE_TI_DSPLIB */ + +#endif /* KFFT_DOUBLE_H */ diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/kfft_single.c b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/kfft_single.c new file mode 100644 index 0000000..9416d45 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/kfft_single.c @@ -0,0 +1,13 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#ifdef FIXED_POINT + +#include "kfft_single.h" + +#define SKIP_CONFIG_H +#include "kiss_fft.c" +#include "kiss_fftr.c" + +#endif diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/kfft_single.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/kfft_single.h new file mode 100644 index 0000000..e97e446 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/kfft_single.h @@ -0,0 +1,84 @@ +/* (C) 2008 Jean-Marc Valin, CSIRO +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef KFFT_SINGLE_H +#define KFFT_SINGLE_H + +#ifdef ENABLE_TI_DSPLIB + +#include "dsplib.h" + +#define real16_fft_alloc(length) NULL +#define real16_fft_free(state) +#define BITREV(state, i) (i) + +#define real16_fft_inplace(state, X, nx)\ + (\ + cfft_SCALE(X,nx/2),\ + cbrev(X,X,nx/2),\ + unpack(X,nx)\ + ) + +#define real16_ifft(state, X, Y, nx) \ + (\ + unpacki(X, nx),\ + cifft_NOSCALE(X,nx/2),\ + cbrev(X,Y,nx/2)\ + ) + + +#else /* ENABLE_TI_DSPLIB */ + +#ifdef FIXED_POINT + +#ifdef DOUBLE_PRECISION +#undef DOUBLE_PRECISION +#endif + +#ifdef MIXED_PRECISION +#undef MIXED_PRECISION +#endif + +#endif /* FIXED_POINT */ + +#include "kiss_fft.h" +#include "kiss_fftr.h" +#include "_kiss_fft_guts.h" + +#define real16_fft_alloc(length) kiss_fftr_alloc_celt_single(length, 0, 0); +#define real16_fft_free(state) kiss_fft_free(state) +#define real16_fft_inplace(state, X, nx) kiss_fftr_inplace(state,X) +#define BITREV(state, i) ((state)->substate->bitrev[i]) +#define real16_ifft(state, X, Y, nx) kiss_fftri(state,X, Y) + +#endif /* !ENABLE_TI_DSPLIB */ + +#endif /* KFFT_SINGLE_H */ diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/kiss_fft.c b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/kiss_fft.c new file mode 100644 index 0000000..2d5e9a6 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/kiss_fft.c @@ -0,0 +1,701 @@ +/* +Copyright (c) 2003-2004, Mark Borgerding +Lots of modifications by JMV +Copyright (c) 2005-2007, Jean-Marc Valin +Copyright (c) 2008, Jean-Marc Valin, CSIRO + +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + * Neither the author nor the names of any contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef SKIP_CONFIG_H +# ifdef HAVE_CONFIG_H +# include "config.h" +# endif +#endif + +#include "_kiss_fft_guts.h" +#include "arch.h" +#include "os_support.h" +#include "mathops.h" +#include "stack_alloc.h" + +/* The guts header contains all the multiplication and addition macros that are defined for + complex numbers. It also delares the kf_ internal functions. +*/ + +static void kf_bfly2( + kiss_fft_cpx * Fout, + const size_t fstride, + const kiss_fft_cfg st, + int m, + int N, + int mm + ) +{ + kiss_fft_cpx * Fout2; + kiss_twiddle_cpx * tw1; + int i,j; + kiss_fft_cpx * Fout_beg = Fout; + for (i=0;i<N;i++) + { + Fout = Fout_beg + i*mm; + Fout2 = Fout + m; + tw1 = st->twiddles; + for(j=0;j<m;j++) + { + kiss_fft_cpx t; + Fout->r = SHR(Fout->r, 1);Fout->i = SHR(Fout->i, 1); + Fout2->r = SHR(Fout2->r, 1);Fout2->i = SHR(Fout2->i, 1); + C_MUL (t, *Fout2 , *tw1); + tw1 += fstride; + C_SUB( *Fout2 , *Fout , t ); + C_ADDTO( *Fout , t ); + ++Fout2; + ++Fout; + } + } +} + +static void ki_bfly2( + kiss_fft_cpx * Fout, + const size_t fstride, + const kiss_fft_cfg st, + int m, + int N, + int mm + ) +{ + kiss_fft_cpx * Fout2; + kiss_twiddle_cpx * tw1; + kiss_fft_cpx t; + int i,j; + kiss_fft_cpx * Fout_beg = Fout; + for (i=0;i<N;i++) + { + Fout = Fout_beg + i*mm; + Fout2 = Fout + m; + tw1 = st->twiddles; + for(j=0;j<m;j++) + { + C_MULC (t, *Fout2 , *tw1); + tw1 += fstride; + C_SUB( *Fout2 , *Fout , t ); + C_ADDTO( *Fout , t ); + ++Fout2; + ++Fout; + } + } +} + +static void kf_bfly4( + kiss_fft_cpx * Fout, + const size_t fstride, + const kiss_fft_cfg st, + int m, + int N, + int mm + ) +{ + kiss_twiddle_cpx *tw1,*tw2,*tw3; + kiss_fft_cpx scratch[6]; + const size_t m2=2*m; + const size_t m3=3*m; + int i, j; + + kiss_fft_cpx * Fout_beg = Fout; + for (i=0;i<N;i++) + { + Fout = Fout_beg + i*mm; + tw3 = tw2 = tw1 = st->twiddles; + for (j=0;j<m;j++) + { + C_MUL4(scratch[0],Fout[m] , *tw1 ); + C_MUL4(scratch[1],Fout[m2] , *tw2 ); + C_MUL4(scratch[2],Fout[m3] , *tw3 ); + + Fout->r = PSHR(Fout->r, 2); + Fout->i = PSHR(Fout->i, 2); + C_SUB( scratch[5] , *Fout, scratch[1] ); + C_ADDTO(*Fout, scratch[1]); + C_ADD( scratch[3] , scratch[0] , scratch[2] ); + C_SUB( scratch[4] , scratch[0] , scratch[2] ); + Fout[m2].r = PSHR(Fout[m2].r, 2); + Fout[m2].i = PSHR(Fout[m2].i, 2); + C_SUB( Fout[m2], *Fout, scratch[3] ); + tw1 += fstride; + tw2 += fstride*2; + tw3 += fstride*3; + C_ADDTO( *Fout , scratch[3] ); + + Fout[m].r = scratch[5].r + scratch[4].i; + Fout[m].i = scratch[5].i - scratch[4].r; + Fout[m3].r = scratch[5].r - scratch[4].i; + Fout[m3].i = scratch[5].i + scratch[4].r; + ++Fout; + } + } +} + +static void ki_bfly4( + kiss_fft_cpx * Fout, + const size_t fstride, + const kiss_fft_cfg st, + int m, + int N, + int mm + ) +{ + kiss_twiddle_cpx *tw1,*tw2,*tw3; + kiss_fft_cpx scratch[6]; + const size_t m2=2*m; + const size_t m3=3*m; + int i, j; + + kiss_fft_cpx * Fout_beg = Fout; + for (i=0;i<N;i++) + { + Fout = Fout_beg + i*mm; + tw3 = tw2 = tw1 = st->twiddles; + for (j=0;j<m;j++) + { + C_MULC(scratch[0],Fout[m] , *tw1 ); + C_MULC(scratch[1],Fout[m2] , *tw2 ); + C_MULC(scratch[2],Fout[m3] , *tw3 ); + + C_SUB( scratch[5] , *Fout, scratch[1] ); + C_ADDTO(*Fout, scratch[1]); + C_ADD( scratch[3] , scratch[0] , scratch[2] ); + C_SUB( scratch[4] , scratch[0] , scratch[2] ); + C_SUB( Fout[m2], *Fout, scratch[3] ); + tw1 += fstride; + tw2 += fstride*2; + tw3 += fstride*3; + C_ADDTO( *Fout , scratch[3] ); + + Fout[m].r = scratch[5].r - scratch[4].i; + Fout[m].i = scratch[5].i + scratch[4].r; + Fout[m3].r = scratch[5].r + scratch[4].i; + Fout[m3].i = scratch[5].i - scratch[4].r; + ++Fout; + } + } +} + +#ifndef RADIX_TWO_ONLY + +static void kf_bfly3( + kiss_fft_cpx * Fout, + const size_t fstride, + const kiss_fft_cfg st, + size_t m + ) +{ + size_t k=m; + const size_t m2 = 2*m; + kiss_twiddle_cpx *tw1,*tw2; + kiss_fft_cpx scratch[5]; + kiss_twiddle_cpx epi3; + epi3 = st->twiddles[fstride*m]; + + tw1=tw2=st->twiddles; + do{ + C_FIXDIV(*Fout,3); C_FIXDIV(Fout[m],3); C_FIXDIV(Fout[m2],3); + + C_MUL(scratch[1],Fout[m] , *tw1); + C_MUL(scratch[2],Fout[m2] , *tw2); + + C_ADD(scratch[3],scratch[1],scratch[2]); + C_SUB(scratch[0],scratch[1],scratch[2]); + tw1 += fstride; + tw2 += fstride*2; + + Fout[m].r = Fout->r - HALF_OF(scratch[3].r); + Fout[m].i = Fout->i - HALF_OF(scratch[3].i); + + C_MULBYSCALAR( scratch[0] , epi3.i ); + + C_ADDTO(*Fout,scratch[3]); + + Fout[m2].r = Fout[m].r + scratch[0].i; + Fout[m2].i = Fout[m].i - scratch[0].r; + + Fout[m].r -= scratch[0].i; + Fout[m].i += scratch[0].r; + + ++Fout; + }while(--k); +} + +static void ki_bfly3( + kiss_fft_cpx * Fout, + const size_t fstride, + const kiss_fft_cfg st, + size_t m + ) +{ + size_t k=m; + const size_t m2 = 2*m; + kiss_twiddle_cpx *tw1,*tw2; + kiss_fft_cpx scratch[5]; + kiss_twiddle_cpx epi3; + epi3 = st->twiddles[fstride*m]; + + tw1=tw2=st->twiddles; + do{ + + C_MULC(scratch[1],Fout[m] , *tw1); + C_MULC(scratch[2],Fout[m2] , *tw2); + + C_ADD(scratch[3],scratch[1],scratch[2]); + C_SUB(scratch[0],scratch[1],scratch[2]); + tw1 += fstride; + tw2 += fstride*2; + + Fout[m].r = Fout->r - HALF_OF(scratch[3].r); + Fout[m].i = Fout->i - HALF_OF(scratch[3].i); + + C_MULBYSCALAR( scratch[0] , -epi3.i ); + + C_ADDTO(*Fout,scratch[3]); + + Fout[m2].r = Fout[m].r + scratch[0].i; + Fout[m2].i = Fout[m].i - scratch[0].r; + + Fout[m].r -= scratch[0].i; + Fout[m].i += scratch[0].r; + + ++Fout; + }while(--k); +} + + +static void kf_bfly5( + kiss_fft_cpx * Fout, + const size_t fstride, + const kiss_fft_cfg st, + int m + ) +{ + kiss_fft_cpx *Fout0,*Fout1,*Fout2,*Fout3,*Fout4; + int u; + kiss_fft_cpx scratch[13]; + kiss_twiddle_cpx * twiddles = st->twiddles; + kiss_twiddle_cpx *tw; + kiss_twiddle_cpx ya,yb; + ya = twiddles[fstride*m]; + yb = twiddles[fstride*2*m]; + + Fout0=Fout; + Fout1=Fout0+m; + Fout2=Fout0+2*m; + Fout3=Fout0+3*m; + Fout4=Fout0+4*m; + + tw=st->twiddles; + for ( u=0; u<m; ++u ) { + C_FIXDIV( *Fout0,5); C_FIXDIV( *Fout1,5); C_FIXDIV( *Fout2,5); C_FIXDIV( *Fout3,5); C_FIXDIV( *Fout4,5); + scratch[0] = *Fout0; + + C_MUL(scratch[1] ,*Fout1, tw[u*fstride]); + C_MUL(scratch[2] ,*Fout2, tw[2*u*fstride]); + C_MUL(scratch[3] ,*Fout3, tw[3*u*fstride]); + C_MUL(scratch[4] ,*Fout4, tw[4*u*fstride]); + + C_ADD( scratch[7],scratch[1],scratch[4]); + C_SUB( scratch[10],scratch[1],scratch[4]); + C_ADD( scratch[8],scratch[2],scratch[3]); + C_SUB( scratch[9],scratch[2],scratch[3]); + + Fout0->r += scratch[7].r + scratch[8].r; + Fout0->i += scratch[7].i + scratch[8].i; + + scratch[5].r = scratch[0].r + S_MUL(scratch[7].r,ya.r) + S_MUL(scratch[8].r,yb.r); + scratch[5].i = scratch[0].i + S_MUL(scratch[7].i,ya.r) + S_MUL(scratch[8].i,yb.r); + + scratch[6].r = S_MUL(scratch[10].i,ya.i) + S_MUL(scratch[9].i,yb.i); + scratch[6].i = -S_MUL(scratch[10].r,ya.i) - S_MUL(scratch[9].r,yb.i); + + C_SUB(*Fout1,scratch[5],scratch[6]); + C_ADD(*Fout4,scratch[5],scratch[6]); + + scratch[11].r = scratch[0].r + S_MUL(scratch[7].r,yb.r) + S_MUL(scratch[8].r,ya.r); + scratch[11].i = scratch[0].i + S_MUL(scratch[7].i,yb.r) + S_MUL(scratch[8].i,ya.r); + scratch[12].r = - S_MUL(scratch[10].i,yb.i) + S_MUL(scratch[9].i,ya.i); + scratch[12].i = S_MUL(scratch[10].r,yb.i) - S_MUL(scratch[9].r,ya.i); + + C_ADD(*Fout2,scratch[11],scratch[12]); + C_SUB(*Fout3,scratch[11],scratch[12]); + + ++Fout0;++Fout1;++Fout2;++Fout3;++Fout4; + } +} + +static void ki_bfly5( + kiss_fft_cpx * Fout, + const size_t fstride, + const kiss_fft_cfg st, + int m + ) +{ + kiss_fft_cpx *Fout0,*Fout1,*Fout2,*Fout3,*Fout4; + int u; + kiss_fft_cpx scratch[13]; + kiss_twiddle_cpx * twiddles = st->twiddles; + kiss_twiddle_cpx *tw; + kiss_twiddle_cpx ya,yb; + ya = twiddles[fstride*m]; + yb = twiddles[fstride*2*m]; + + Fout0=Fout; + Fout1=Fout0+m; + Fout2=Fout0+2*m; + Fout3=Fout0+3*m; + Fout4=Fout0+4*m; + + tw=st->twiddles; + for ( u=0; u<m; ++u ) { + scratch[0] = *Fout0; + + C_MULC(scratch[1] ,*Fout1, tw[u*fstride]); + C_MULC(scratch[2] ,*Fout2, tw[2*u*fstride]); + C_MULC(scratch[3] ,*Fout3, tw[3*u*fstride]); + C_MULC(scratch[4] ,*Fout4, tw[4*u*fstride]); + + C_ADD( scratch[7],scratch[1],scratch[4]); + C_SUB( scratch[10],scratch[1],scratch[4]); + C_ADD( scratch[8],scratch[2],scratch[3]); + C_SUB( scratch[9],scratch[2],scratch[3]); + + Fout0->r += scratch[7].r + scratch[8].r; + Fout0->i += scratch[7].i + scratch[8].i; + + scratch[5].r = scratch[0].r + S_MUL(scratch[7].r,ya.r) + S_MUL(scratch[8].r,yb.r); + scratch[5].i = scratch[0].i + S_MUL(scratch[7].i,ya.r) + S_MUL(scratch[8].i,yb.r); + + scratch[6].r = -S_MUL(scratch[10].i,ya.i) - S_MUL(scratch[9].i,yb.i); + scratch[6].i = S_MUL(scratch[10].r,ya.i) + S_MUL(scratch[9].r,yb.i); + + C_SUB(*Fout1,scratch[5],scratch[6]); + C_ADD(*Fout4,scratch[5],scratch[6]); + + scratch[11].r = scratch[0].r + S_MUL(scratch[7].r,yb.r) + S_MUL(scratch[8].r,ya.r); + scratch[11].i = scratch[0].i + S_MUL(scratch[7].i,yb.r) + S_MUL(scratch[8].i,ya.r); + scratch[12].r = S_MUL(scratch[10].i,yb.i) - S_MUL(scratch[9].i,ya.i); + scratch[12].i = -S_MUL(scratch[10].r,yb.i) + S_MUL(scratch[9].r,ya.i); + + C_ADD(*Fout2,scratch[11],scratch[12]); + C_SUB(*Fout3,scratch[11],scratch[12]); + + ++Fout0;++Fout1;++Fout2;++Fout3;++Fout4; + } +} + +/* perform the butterfly for one stage of a mixed radix FFT */ +static void kf_bfly_generic( + kiss_fft_cpx * Fout, + const size_t fstride, + const kiss_fft_cfg st, + int m, + int p + ) +{ + int u,k,q1,q; + kiss_twiddle_cpx * twiddles = st->twiddles; + kiss_fft_cpx t; + VARDECL(kiss_fft_cpx, scratchbuf); + int Norig = st->nfft; + ALLOC(scratchbuf, p, kiss_fft_cpx); + + for ( u=0; u<m; ++u ) { + k=u; + for ( q1=0 ; q1<p ; ++q1 ) { + scratchbuf[q1] = Fout[ k ]; + C_FIXDIV(scratchbuf[q1],p); + k += m; + } + + k=u; + for ( q1=0 ; q1<p ; ++q1 ) { + int twidx=0; + Fout[ k ] = scratchbuf[0]; + for (q=1;q<p;++q ) { + twidx += fstride * k; + if (twidx>=Norig) twidx-=Norig; + C_MUL(t,scratchbuf[q] , twiddles[twidx] ); + C_ADDTO( Fout[ k ] ,t); + } + k += m; + } + } +} + +static void ki_bfly_generic( + kiss_fft_cpx * Fout, + const size_t fstride, + const kiss_fft_cfg st, + int m, + int p + ) +{ + int u,k,q1,q; + kiss_twiddle_cpx * twiddles = st->twiddles; + kiss_fft_cpx t; + VARDECL(kiss_fft_cpx, scratchbuf); + int Norig = st->nfft; + ALLOC(scratchbuf, p, kiss_fft_cpx); + + for ( u=0; u<m; ++u ) { + k=u; + for ( q1=0 ; q1<p ; ++q1 ) { + scratchbuf[q1] = Fout[ k ]; + k += m; + } + + k=u; + for ( q1=0 ; q1<p ; ++q1 ) { + int twidx=0; + Fout[ k ] = scratchbuf[0]; + for (q=1;q<p;++q ) { + twidx += fstride * k; + if (twidx>=Norig) twidx-=Norig; + C_MULC(t,scratchbuf[q] , twiddles[twidx] ); + C_ADDTO( Fout[ k ] ,t); + } + k += m; + } + } +} +#endif + +static +void compute_bitrev_table( + int Fout, + int *f, + const size_t fstride, + int in_stride, + int * factors, + const kiss_fft_cfg st + ) +{ + const int p=*factors++; /* the radix */ + const int m=*factors++; /* stage's fft length/p */ + + /*printf ("fft %d %d %d %d %d %d\n", p*m, m, p, s2, fstride*in_stride, N);*/ + if (m==1) + { + int j; + for (j=0;j<p;j++) + { + *f = Fout+j; + f += fstride*in_stride; + } + } else { + int j; + for (j=0;j<p;j++) + { + compute_bitrev_table( Fout , f, fstride*p, in_stride, factors,st); + f += fstride*in_stride; + Fout += m; + } + } +} + + +void kf_work( + kiss_fft_cpx * Fout, + const kiss_fft_cpx * f, + const size_t fstride, + int in_stride, + int * factors, + const kiss_fft_cfg st, + int N, + int s2, + int m2 + ) +{ +#ifndef RADIX_TWO_ONLY + int i; + kiss_fft_cpx * Fout_beg=Fout; +#endif + const int p=*factors++; /* the radix */ + const int m=*factors++; /* stage's fft length/p */ + /*printf ("fft %d %d %d %d %d %d %d\n", p*m, m, p, s2, fstride*in_stride, N, m2);*/ + if (m!=1) + kf_work( Fout , f, fstride*p, in_stride, factors,st, N*p, fstride*in_stride, m); + + switch (p) { + case 2: kf_bfly2(Fout,fstride,st,m, N, m2); break; + case 4: kf_bfly4(Fout,fstride,st,m, N, m2); break; +#ifndef RADIX_TWO_ONLY + case 3: for (i=0;i<N;i++){Fout=Fout_beg+i*m2; kf_bfly3(Fout,fstride,st,m);} break; + case 5: for (i=0;i<N;i++){Fout=Fout_beg+i*m2; kf_bfly5(Fout,fstride,st,m);} break; + default: for (i=0;i<N;i++){Fout=Fout_beg+i*m2; kf_bfly_generic(Fout,fstride,st,m,p);} break; +#else + default: celt_fatal("kiss_fft: only powers of two enabled"); +#endif + } +} + + +void ki_work( + kiss_fft_cpx * Fout, + const kiss_fft_cpx * f, + const size_t fstride, + int in_stride, + int * factors, + const kiss_fft_cfg st, + int N, + int s2, + int m2 + ) +{ +#ifndef RADIX_TWO_ONLY + int i; + kiss_fft_cpx * Fout_beg=Fout; +#endif + const int p=*factors++; /* the radix */ + const int m=*factors++; /* stage's fft length/p */ + /*printf ("fft %d %d %d %d %d %d %d\n", p*m, m, p, s2, fstride*in_stride, N, m2);*/ + if (m!=1) + ki_work( Fout , f, fstride*p, in_stride, factors,st, N*p, fstride*in_stride, m); + + switch (p) { + case 2: ki_bfly2(Fout,fstride,st,m, N, m2); break; + case 4: ki_bfly4(Fout,fstride,st,m, N, m2); break; +#ifndef RADIX_TWO_ONLY + case 3: for (i=0;i<N;i++){Fout=Fout_beg+i*m2; ki_bfly3(Fout,fstride,st,m);} break; + case 5: for (i=0;i<N;i++){Fout=Fout_beg+i*m2; ki_bfly5(Fout,fstride,st,m);} break; + default: for (i=0;i<N;i++){Fout=Fout_beg+i*m2; ki_bfly_generic(Fout,fstride,st,m,p);} break; +#else + default: celt_fatal("kiss_fft: only powers of two enabled"); +#endif + } +} + +/* facbuf is populated by p1,m1,p2,m2, ... + where + p[i] * m[i] = m[i-1] + m0 = n */ +static +void kf_factor(int n,int * facbuf) +{ + int p=4; + + /*factor out powers of 4, powers of 2, then any remaining primes */ + do { + while (n % p) { + switch (p) { + case 4: p = 2; break; + case 2: p = 3; break; + default: p += 2; break; + } + if (p>32000 || (celt_int32_t)p*(celt_int32_t)p > n) + p = n; /* no more factors, skip to end */ + } + n /= p; + *facbuf++ = p; + *facbuf++ = n; + } while (n > 1); +} +/* + * + * User-callable function to allocate all necessary storage space for the fft. + * + * The return value is a contiguous block of memory, allocated with malloc. As such, + * It can be freed with free(), rather than a kiss_fft-specific function. + * */ +kiss_fft_cfg kiss_fft_alloc(int nfft,void * mem,size_t * lenmem ) +{ + kiss_fft_cfg st=NULL; + size_t memneeded = sizeof(struct kiss_fft_state) + + sizeof(kiss_twiddle_cpx)*(nfft-1) + sizeof(int)*nfft; /* twiddle factors*/ + + if ( lenmem==NULL ) { + st = ( kiss_fft_cfg)KISS_FFT_MALLOC( memneeded ); + }else{ + if (mem != NULL && *lenmem >= memneeded) + st = (kiss_fft_cfg)mem; + *lenmem = memneeded; + } + if (st) { + int i; + st->nfft=nfft; +#ifndef FIXED_POINT + st->scale = 1./nfft; +#endif +#if defined(FIXED_POINT) && (!defined(DOUBLE_PRECISION) || defined(MIXED_PRECISION)) + for (i=0;i<nfft;++i) { + celt_word32_t phase = -i; + kf_cexp2(st->twiddles+i, DIV32(SHL32(phase,17),nfft)); + } +#else + for (i=0;i<nfft;++i) { + const double pi=3.14159265358979323846264338327; + double phase = ( -2*pi /nfft ) * i; + kf_cexp(st->twiddles+i, phase ); + } +#endif + kf_factor(nfft,st->factors); + + /* bitrev */ + st->bitrev = (int*)((char*)st + memneeded - sizeof(int)*nfft); + compute_bitrev_table(0, st->bitrev, 1,1, st->factors,st); + } + return st; +} + + + + +void kiss_fft_stride(kiss_fft_cfg st,const kiss_fft_cpx *fin,kiss_fft_cpx *fout,int in_stride) +{ + if (fin == fout) + { + celt_fatal("In-place FFT not supported"); + } else { + /* Bit-reverse the input */ + int i; + for (i=0;i<st->nfft;i++) + { + fout[st->bitrev[i]] = fin[i]; +#ifndef FIXED_POINT + fout[st->bitrev[i]].r *= st->scale; + fout[st->bitrev[i]].i *= st->scale; +#endif + } + kf_work( fout, fin, 1,in_stride, st->factors,st, 1, in_stride, 1); + } +} + +void kiss_fft(kiss_fft_cfg cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout) +{ + kiss_fft_stride(cfg,fin,fout,1); +} + +void kiss_ifft_stride(kiss_fft_cfg st,const kiss_fft_cpx *fin,kiss_fft_cpx *fout,int in_stride) +{ + if (fin == fout) + { + celt_fatal("In-place FFT not supported"); + } else { + /* Bit-reverse the input */ + int i; + for (i=0;i<st->nfft;i++) + fout[st->bitrev[i]] = fin[i]; + ki_work( fout, fin, 1,in_stride, st->factors,st, 1, in_stride, 1); + } +} + +void kiss_ifft(kiss_fft_cfg cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout) +{ + kiss_ifft_stride(cfg,fin,fout,1); +} + diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/kiss_fft.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/kiss_fft.h new file mode 100644 index 0000000..f71a839 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/kiss_fft.h @@ -0,0 +1,141 @@ +#ifndef KISS_FFT_H +#define KISS_FFT_H + +#include <stdlib.h> +#include <math.h> +#include "arch.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* + ATTENTION! + If you would like a : + -- a utility that will handle the caching of fft objects + -- real-only (no imaginary time component ) FFT + -- a multi-dimensional FFT + -- a command-line utility to perform ffts + -- a command-line utility to perform fast-convolution filtering + + Then see kfc.h kiss_fftr.h kiss_fftnd.h fftutil.c kiss_fastfir.c + in the tools/ directory. +*/ + +#ifdef USE_SIMD +# include <xmmintrin.h> +# define kiss_fft_scalar __m128 +#define KISS_FFT_MALLOC(nbytes) memalign(16,nbytes) +#else +#define KISS_FFT_MALLOC celt_alloc +#endif + + +#ifdef FIXED_POINT +#include "arch.h" +#ifdef DOUBLE_PRECISION +# define kiss_fft_scalar celt_int32_t +# define kiss_twiddle_scalar celt_int32_t +# define KF_SUFFIX _celt_double +#else +# define kiss_fft_scalar celt_int16_t +# define kiss_twiddle_scalar celt_int16_t +# define KF_SUFFIX _celt_single +#endif +#else +# ifndef kiss_fft_scalar +/* default is float */ +# define kiss_fft_scalar float +# define kiss_twiddle_scalar float +# define KF_SUFFIX _celt_single +# endif +#endif + + +/* This adds a suffix to all the kiss_fft functions so we + can easily link with more than one copy of the fft */ +#define CAT_SUFFIX(a,b) a ## b +#define SUF(a,b) CAT_SUFFIX(a, b) + +#define kiss_fft_alloc SUF(kiss_fft_alloc,KF_SUFFIX) +#define kf_work SUF(kf_work,KF_SUFFIX) +#define ki_work SUF(ki_work,KF_SUFFIX) +#define kiss_fft SUF(kiss_fft,KF_SUFFIX) +#define kiss_ifft SUF(kiss_ifft,KF_SUFFIX) +#define kiss_fft_stride SUF(kiss_fft_stride,KF_SUFFIX) +#define kiss_ifft_stride SUF(kiss_ifft_stride,KF_SUFFIX) + + +typedef struct { + kiss_fft_scalar r; + kiss_fft_scalar i; +}kiss_fft_cpx; + +typedef struct { + kiss_twiddle_scalar r; + kiss_twiddle_scalar i; +}kiss_twiddle_cpx; + +typedef struct kiss_fft_state* kiss_fft_cfg; + +/** + * kiss_fft_alloc + * + * Initialize a FFT (or IFFT) algorithm's cfg/state buffer. + * + * typical usage: kiss_fft_cfg mycfg=kiss_fft_alloc(1024,0,NULL,NULL); + * + * The return value from fft_alloc is a cfg buffer used internally + * by the fft routine or NULL. + * + * If lenmem is NULL, then kiss_fft_alloc will allocate a cfg buffer using malloc. + * The returned value should be free()d when done to avoid memory leaks. + * + * The state can be placed in a user supplied buffer 'mem': + * If lenmem is not NULL and mem is not NULL and *lenmem is large enough, + * then the function places the cfg in mem and the size used in *lenmem + * and returns mem. + * + * If lenmem is not NULL and ( mem is NULL or *lenmem is not large enough), + * then the function returns NULL and places the minimum cfg + * buffer size in *lenmem. + * */ + +kiss_fft_cfg kiss_fft_alloc(int nfft,void * mem,size_t * lenmem); + +void kf_work(kiss_fft_cpx * Fout,const kiss_fft_cpx * f,const size_t fstride, + int in_stride,int * factors,const kiss_fft_cfg st,int N,int s2,int m2); + +/** Internal function. Can be useful when you want to do the bit-reversing yourself */ +void ki_work(kiss_fft_cpx * Fout, const kiss_fft_cpx * f, const size_t fstride, + int in_stride,int * factors,const kiss_fft_cfg st,int N,int s2,int m2); + +/** + * kiss_fft(cfg,in_out_buf) + * + * Perform an FFT on a complex input buffer. + * for a forward FFT, + * fin should be f[0] , f[1] , ... ,f[nfft-1] + * fout will be F[0] , F[1] , ... ,F[nfft-1] + * Note that each element is complex and can be accessed like + f[k].r and f[k].i + * */ +void kiss_fft(kiss_fft_cfg cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout); +void kiss_ifft(kiss_fft_cfg cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout); + +/** + A more generic version of the above function. It reads its input from every Nth sample. + * */ +void kiss_fft_stride(kiss_fft_cfg cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout,int fin_stride); +void kiss_ifft_stride(kiss_fft_cfg cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout,int fin_stride); + +/** If kiss_fft_alloc allocated a buffer, it is one contiguous + buffer and can be simply free()d when no longer needed*/ +#define kiss_fft_free celt_free + + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/kiss_fftr.c b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/kiss_fftr.c new file mode 100644 index 0000000..ee8d7bb --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/kiss_fftr.c @@ -0,0 +1,165 @@ +/* +Original version: +Copyright (c) 2003-2004, Mark Borgerding +Followed by heavy modifications: +Copyright (c) 2007-2008, Jean-Marc Valin + + +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + * Neither the author nor the names of any contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef SKIP_CONFIG_H +# ifdef HAVE_CONFIG_H +# include "config.h" +# endif +#endif + +#include "os_support.h" +#include "mathops.h" +#include "kiss_fftr.h" +#include "_kiss_fft_guts.h" + + +kiss_fftr_cfg kiss_fftr_alloc(int nfft,void * mem,size_t * lenmem) +{ + int i; + int twiddle_size; + kiss_fftr_cfg st = NULL; + size_t subsize, memneeded; + + if (nfft & 1) { + celt_warning("Real FFT optimization must be even.\n"); + return NULL; + } + nfft >>= 1; + twiddle_size = nfft/2+1; + kiss_fft_alloc (nfft, NULL, &subsize); + memneeded = sizeof(struct kiss_fftr_state) + subsize + sizeof(kiss_twiddle_cpx)*twiddle_size; + + if (lenmem == NULL) { + st = (kiss_fftr_cfg) KISS_FFT_MALLOC (memneeded); + } else { + if (*lenmem >= memneeded) + st = (kiss_fftr_cfg) mem; + *lenmem = memneeded; + } + if (!st) + return NULL; + + st->substate = (kiss_fft_cfg) (st + 1); /*just beyond kiss_fftr_state struct */ + st->super_twiddles = (kiss_twiddle_cpx*) (((char *) st->substate) + subsize); + kiss_fft_alloc(nfft, st->substate, &subsize); +#ifndef FIXED_POINT + st->substate->scale *= .5; +#endif + +#if defined (FIXED_POINT) && (!defined(DOUBLE_PRECISION) || defined(MIXED_PRECISION)) + for (i=0;i<twiddle_size;++i) { + celt_word32_t phase = i+(nfft>>1); + kf_cexp2(st->super_twiddles+i, DIV32(SHL32(phase,16),nfft)); + } +#else + for (i=0;i<twiddle_size;++i) { + const double pi=3.14159265358979323846264338327; + double phase = pi*(((double)i) /nfft + .5); + kf_cexp(st->super_twiddles+i, phase ); + } +#endif + return st; +} + +void kiss_fftr_twiddles(kiss_fftr_cfg st,kiss_fft_scalar *freqdata) +{ + /* input buffer timedata is stored row-wise */ + int k,ncfft; + kiss_fft_cpx f2k,f1k,tdc,tw; + + ncfft = st->substate->nfft; + + /* The real part of the DC element of the frequency spectrum in st->tmpbuf + * contains the sum of the even-numbered elements of the input time sequence + * The imag part is the sum of the odd-numbered elements + * + * The sum of tdc.r and tdc.i is the sum of the input time sequence. + * yielding DC of input time sequence + * The difference of tdc.r - tdc.i is the sum of the input (dot product) [1,-1,1,-1... + * yielding Nyquist bin of input time sequence + */ + + tdc.r = freqdata[0]; + tdc.i = freqdata[1]; + C_FIXDIV(tdc,2); + CHECK_OVERFLOW_OP(tdc.r ,+, tdc.i); + CHECK_OVERFLOW_OP(tdc.r ,-, tdc.i); + freqdata[0] = tdc.r + tdc.i; + freqdata[1] = tdc.r - tdc.i; + + for ( k=1;k <= ncfft/2 ; ++k ) + { + f2k.r = SHR32(SUB32(EXT32(freqdata[2*k]), EXT32(freqdata[2*(ncfft-k)])),1); + f2k.i = PSHR32(ADD32(EXT32(freqdata[2*k+1]), EXT32(freqdata[2*(ncfft-k)+1])),1); + + f1k.r = SHR32(ADD32(EXT32(freqdata[2*k]), EXT32(freqdata[2*(ncfft-k)])),1); + f1k.i = SHR32(SUB32(EXT32(freqdata[2*k+1]), EXT32(freqdata[2*(ncfft-k)+1])),1); + + C_MULC( tw , f2k , st->super_twiddles[k]); + + freqdata[2*k] = HALF_OF(f1k.r + tw.r); + freqdata[2*k+1] = HALF_OF(f1k.i + tw.i); + freqdata[2*(ncfft-k)] = HALF_OF(f1k.r - tw.r); + freqdata[2*(ncfft-k)+1] = HALF_OF(tw.i - f1k.i); + + } +} + +void kiss_fftr(kiss_fftr_cfg st,const kiss_fft_scalar *timedata,kiss_fft_scalar *freqdata) +{ + /*perform the parallel fft of two real signals packed in real,imag*/ + kiss_fft( st->substate , (const kiss_fft_cpx*)timedata, (kiss_fft_cpx *)freqdata ); + + kiss_fftr_twiddles(st,freqdata); +} + +void kiss_fftr_inplace(kiss_fftr_cfg st, kiss_fft_scalar *X) +{ + kf_work((kiss_fft_cpx*)X, NULL, 1,1, st->substate->factors,st->substate, 1, 1, 1); + kiss_fftr_twiddles(st,X); +} + +void kiss_fftri(kiss_fftr_cfg st,const kiss_fft_scalar *freqdata,kiss_fft_scalar *timedata) +{ + /* input buffer timedata is stored row-wise */ + int k, ncfft; + + ncfft = st->substate->nfft; + + timedata[2*st->substate->bitrev[0]] = freqdata[0] + freqdata[1]; + timedata[2*st->substate->bitrev[0]+1] = freqdata[0] - freqdata[1]; + for (k = 1; k <= ncfft / 2; ++k) { + kiss_fft_cpx fk, fnkc, fek, fok, tmp; + int k1, k2; + k1 = st->substate->bitrev[k]; + k2 = st->substate->bitrev[ncfft-k]; + fk.r = freqdata[2*k]; + fk.i = freqdata[2*k+1]; + fnkc.r = freqdata[2*(ncfft-k)]; + fnkc.i = -freqdata[2*(ncfft-k)+1]; + + C_ADD (fek, fk, fnkc); + C_SUB (tmp, fk, fnkc); + C_MUL (fok, tmp, st->super_twiddles[k]); + timedata[2*k1] = fek.r + fok.r; + timedata[2*k1+1] = fek.i + fok.i; + timedata[2*k2] = fek.r - fok.r; + timedata[2*k2+1] = fok.i - fek.i; + } + ki_work((kiss_fft_cpx*)timedata, NULL, 1,1, st->substate->factors,st->substate, 1, 1, 1); +} diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/kiss_fftr.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/kiss_fftr.h new file mode 100644 index 0000000..b4a730c --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/kiss_fftr.h @@ -0,0 +1,64 @@ +#ifndef KISS_FTR_H +#define KISS_FTR_H + +#include "kiss_fft.h" +#ifdef __cplusplus +extern "C" { +#endif + +#define kiss_fftr_alloc SUF(kiss_fftr_alloc,KF_SUFFIX) +#define kiss_fftr_inplace SUF(kiss_fftr_inplace,KF_SUFFIX) +#define kiss_fftr_alloc SUF(kiss_fftr_alloc,KF_SUFFIX) +#define kiss_fftr_twiddles SUF(kiss_fftr_twiddles,KF_SUFFIX) +#define kiss_fftr SUF(kiss_fftr,KF_SUFFIX) +#define kiss_fftri SUF(kiss_fftri,KF_SUFFIX) + +/* + + Real optimized version can save about 45% cpu time vs. complex fft of a real seq. + + + + */ + +struct kiss_fftr_state{ + kiss_fft_cfg substate; + kiss_twiddle_cpx * super_twiddles; +#ifdef USE_SIMD + long pad; +#endif + }; + +typedef struct kiss_fftr_state *kiss_fftr_cfg; + + +kiss_fftr_cfg kiss_fftr_alloc(int nfft,void * mem, size_t * lenmem); +/* + nfft must be even + + If you don't care to allocate space, use mem = lenmem = NULL +*/ + + +/* + input timedata has nfft scalar points + output freqdata has nfft/2+1 complex points, packed into nfft scalar points +*/ +void kiss_fftr_twiddles(kiss_fftr_cfg st,kiss_fft_scalar *freqdata); + +void kiss_fftr(kiss_fftr_cfg st,const kiss_fft_scalar *timedata,kiss_fft_scalar *freqdata); +void kiss_fftr_inplace(kiss_fftr_cfg st, kiss_fft_scalar *X); + +void kiss_fftri(kiss_fftr_cfg st,const kiss_fft_scalar *freqdata, kiss_fft_scalar *timedata); + +/* + input freqdata has nfft/2+1 complex points, packed into nfft scalar points + output timedata has nfft scalar points +*/ + +#define kiss_fftr_free speex_free + +#ifdef __cplusplus +} +#endif +#endif diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/laplace.c b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/laplace.c new file mode 100644 index 0000000..abfe576 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/laplace.c @@ -0,0 +1,130 @@ +/* (C) 2007 Jean-Marc Valin, CSIRO +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "laplace.h" + +int ec_laplace_get_start_freq(int decay) +{ + return (((ec_uint32)32767)*(16384-decay))/(16384+decay); +} + +void ec_laplace_encode_start(ec_enc *enc, int *value, int decay, int fs) +{ + int i; + int fl, ft; + int s = 0; + int val = *value; + if (val < 0) + { + s = 1; + val = -val; + } + ft = 32767; + fl = -fs; + for (i=0;i<val;i++) + { + int tmp_l, tmp_s; + tmp_l = fl; + tmp_s = fs; + fl += fs*2; + fs = (fs*(ec_int32)decay)>>14; + if (fs == 0) + { + fs = tmp_s; + fl = tmp_l; + if (s) + *value = -i; + else + *value = i; + break; + } + } + if (fl < 0) + fl = 0; + if (s) + fl += fs; + /*DEBUG*/ + /*printf ("enc: %d %d %d\n", fl, fs, ft);*/ + ec_encode(enc, fl, fl+fs, ft); +} + +void ec_laplace_encode(ec_enc *enc, int *value, int decay) +{ + int fs = ec_laplace_get_start_freq(decay); + ec_laplace_encode_start(enc, value, decay, fs); +} + + +int ec_laplace_decode_start(ec_dec *dec, int decay, int fs) +{ + int val=0; + int fl, fh, ft, fm; + fl = 0; + ft = 32767; + fh = fs; + fm = ec_decode(dec, ft); + /*DEBUG*/ + /*printf ("fm: %d/%d\n", fm, ft);*/ + while (fm >= fh && fs != 0) + { + fl = fh; + fs = (fs*(ec_int32)decay)>>14; + fh += fs*2; + val++; + } + if (fl>0) + { + if (fm >= fl+fs) + { + val = -val; + fl += fs; + } else { + fh -= fs; + } + } + /* Preventing an infinite loop in case something screws up in the decoding */ + if (fl==fh) + fl--; + /*DEBUG*/ + /*printf ("update: %d %d %d\n", fl, fh, ft);*/ + ec_dec_update(dec, fl, fh, ft); + return val; +} + +int ec_laplace_decode(ec_dec *dec, int decay) +{ + int fs = ec_laplace_get_start_freq(decay); + return ec_laplace_decode_start(dec, decay, fs); +} diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/laplace.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/laplace.h new file mode 100644 index 0000000..34ae905 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/laplace.h @@ -0,0 +1,55 @@ +/* (C) 2007 Jean-Marc Valin, CSIRO +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include "entenc.h" +#include "entdec.h" + +int ec_laplace_get_start_freq(int decay); + +/** Encode a value that is assumed to be the realisation of a + Laplace-distributed random process + @param enc Entropy encoder state + @param value Value to encode + @param decay Probability of the value +/- 1, multiplied by 16384 +*/ +void ec_laplace_encode(ec_enc *enc, int *value, int decay); + +void ec_laplace_encode_start(ec_enc *enc, int *value, int decay, int fs); + +/** Decode a value that is assumed to be the realisation of a + Laplace-distributed random process + @param dec Entropy decoder state + @param decay Probability of the value +/- 1, multiplied by 16384 + @return Value decoded + */ +int ec_laplace_decode(ec_dec *dec, int decay); + +int ec_laplace_decode_start(ec_dec *dec, int decay, int fs); diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/match-test.sh b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/match-test.sh new file mode 100755 index 0000000..f1714b2 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/match-test.sh @@ -0,0 +1,30 @@ +#!/bin/sh + +#outfile=`mktemp` +#if [ $? != 0 ]; then +# echo "count not create temp output file" +# exit 0 +#fi +outfile=/dev/null + +if [ -f mono_test_file.sw ]; then + echo -n "mono test... " + ./testcelt 44100 1 256 32 mono_test_file.sw $outfile + if [ $? != 0 ]; then + exit 1 + fi +else + echo "no mono test file" +fi + +if [ -f stereo_test_file.sw ]; then + echo -n "stereo test... " + ./testcelt 44100 2 256 92 stereo_test_file.sw $outfile + if [ $? != 0 ]; then + exit 1 + fi +else + echo "no stereo test file" +fi + +exit 0 diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/mathops.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/mathops.h new file mode 100644 index 0000000..8e1a132 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/mathops.h @@ -0,0 +1,276 @@ +/* Copyright (C) 2002-2008 Jean-Marc Valin */ +/** + @file mathops.h + @brief Various math functions +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef MATHOPS_H +#define MATHOPS_H + +#include "arch.h" +#include "entcode.h" +#include "os_support.h" + +#ifndef OVERRIDE_CELT_ILOG2 +/** Integer log in base2. Undefined for zero and negative numbers */ +static inline celt_int16_t celt_ilog2(celt_word32_t x) +{ + celt_assert2(x>0, "celt_ilog2() only defined for strictly positive numbers"); + return EC_ILOG(x)-1; +} +#endif + +#ifndef OVERRIDE_FIND_MAX16 +static inline int find_max16(celt_word16_t *x, int len) +{ + celt_word16_t max_corr=-VERY_LARGE16; + int i, id = 0; + for (i=0;i<len;i++) + { + if (x[i] > max_corr) + { + id = i; + max_corr = x[i]; + } + } + return id; +} +#endif + +#ifndef OVERRIDE_FIND_MAX32 +static inline int find_max32(celt_word32_t *x, int len) +{ + celt_word32_t max_corr=-VERY_LARGE32; + int i, id = 0; + for (i=0;i<len;i++) + { + if (x[i] > max_corr) + { + id = i; + max_corr = x[i]; + } + } + return id; +} +#endif + + +#ifndef FIXED_POINT + +#define celt_sqrt(x) ((float)sqrt(x)) +#define celt_psqrt(x) ((float)sqrt(x)) +#define celt_rsqrt(x) (1.f/celt_sqrt(x)) +#define celt_acos acos +#define celt_exp exp +#define celt_cos_norm(x) (cos((.5f*M_PI)*(x))) +#define celt_atan atan +#define celt_rcp(x) (1.f/(x)) +#define celt_div(a,b) ((a)/(b)) + +#endif + + + +#ifdef FIXED_POINT + +#include "os_support.h" + +#ifndef OVERRIDE_CELT_MAXABS16 +static inline celt_word16_t celt_maxabs16(celt_word16_t *x, int len) +{ + int i; + celt_word16_t maxval = 0; + for (i=0;i<len;i++) + maxval = MAX16(maxval, ABS16(x[i])); + return maxval; +} +#endif + +/** Integer log in base2. Defined for zero, but not for negative numbers */ +static inline celt_int16_t celt_zlog2(celt_word32_t x) +{ + return x <= 0 ? 0 : celt_ilog2(x); +} + +/** Reciprocal sqrt approximation (Q30 input, Q0 output or equivalent) */ +static inline celt_word32_t celt_rsqrt(celt_word32_t x) +{ + int k; + celt_word16_t n; + celt_word32_t rt; + const celt_word16_t C[5] = {23126, -11496, 9812, -9097, 4100}; + k = celt_ilog2(x)>>1; + x = VSHR32(x, (k-7)<<1); + /* Range of n is [-16384,32767] */ + n = x-32768; + rt = ADD16(C[0], MULT16_16_Q15(n, ADD16(C[1], MULT16_16_Q15(n, ADD16(C[2], + MULT16_16_Q15(n, ADD16(C[3], MULT16_16_Q15(n, (C[4]))))))))); + rt = VSHR32(rt,k); + return rt; +} + +/** Sqrt approximation (QX input, QX/2 output) */ +static inline celt_word32_t celt_sqrt(celt_word32_t x) +{ + int k; + celt_word16_t n; + celt_word32_t rt; + const celt_word16_t C[5] = {23174, 11584, -3011, 1570, -557}; + if (x==0) + return 0; + k = (celt_ilog2(x)>>1)-7; + x = VSHR32(x, (k<<1)); + n = x-32768; + rt = ADD16(C[0], MULT16_16_Q15(n, ADD16(C[1], MULT16_16_Q15(n, ADD16(C[2], + MULT16_16_Q15(n, ADD16(C[3], MULT16_16_Q15(n, (C[4]))))))))); + rt = VSHR32(rt,7-k); + return rt; +} + +/** Sqrt approximation (QX input, QX/2 output) that assumes that the input is + strictly positive */ +static inline celt_word32_t celt_psqrt(celt_word32_t x) +{ + int k; + celt_word16_t n; + celt_word32_t rt; + const celt_word16_t C[5] = {23174, 11584, -3011, 1570, -557}; + k = (celt_ilog2(x)>>1)-7; + x = VSHR32(x, (k<<1)); + n = x-32768; + rt = ADD16(C[0], MULT16_16_Q15(n, ADD16(C[1], MULT16_16_Q15(n, ADD16(C[2], + MULT16_16_Q15(n, ADD16(C[3], MULT16_16_Q15(n, (C[4]))))))))); + rt = VSHR32(rt,7-k); + return rt; +} + +#define L1 32767 +#define L2 -7651 +#define L3 8277 +#define L4 -626 + +static inline celt_word16_t _celt_cos_pi_2(celt_word16_t x) +{ + celt_word16_t x2; + + x2 = MULT16_16_P15(x,x); + return ADD16(1,MIN16(32766,ADD32(SUB16(L1,x2), MULT16_16_P15(x2, ADD32(L2, MULT16_16_P15(x2, ADD32(L3, MULT16_16_P15(L4, x2 + )))))))); +} + +#undef L1 +#undef L2 +#undef L3 +#undef L4 + +static inline celt_word16_t celt_cos_norm(celt_word32_t x) +{ + x = x&0x0001ffff; + if (x>SHL32(EXTEND32(1), 16)) + x = SUB32(SHL32(EXTEND32(1), 17),x); + if (x&0x00007fff) + { + if (x<SHL32(EXTEND32(1), 15)) + { + return _celt_cos_pi_2(EXTRACT16(x)); + } else { + return NEG32(_celt_cos_pi_2(EXTRACT16(65536-x))); + } + } else { + if (x&0x0000ffff) + return 0; + else if (x&0x0001ffff) + return -32767; + else + return 32767; + } +} + +static inline celt_word16_t celt_log2(celt_word32_t x) +{ + int i; + celt_word16_t n, frac; + /*-0.41446 0.96093 -0.33981 0.15600 */ + const celt_word16_t C[4] = {-6791, 7872, -1392, 319}; + if (x==0) + return -32767; + i = celt_ilog2(x); + n = VSHR32(x,i-15)-32768-16384; + frac = ADD16(C[0], MULT16_16_Q14(n, ADD16(C[1], MULT16_16_Q14(n, ADD16(C[2], MULT16_16_Q14(n, (C[3]))))))); + /*printf ("%d %d %d %d\n", x, n, ret, SHL16(i-13,8)+SHR16(ret,14-8));*/ + return SHL16(i-13,8)+SHR16(frac,14-8); +} + +/* + K0 = 1 + K1 = log(2) + K2 = 3-4*log(2) + K3 = 3*log(2) - 2 +*/ +#define D0 16384 +#define D1 11356 +#define D2 3726 +#define D3 1301 +/** Base-2 exponential approximation (2^x). (Q11 input, Q16 output) */ +static inline celt_word32_t celt_exp2(celt_word16_t x) +{ + int integer; + celt_word16_t frac; + integer = SHR16(x,11); + if (integer>14) + return 0x7f000000; + else if (integer < -15) + return 0; + frac = SHL16(x-SHL16(integer,11),3); + frac = ADD16(D0, MULT16_16_Q14(frac, ADD16(D1, MULT16_16_Q14(frac, ADD16(D2 , MULT16_16_Q14(D3,frac)))))); + return VSHR32(EXTEND32(frac), -integer-2); +} + +/** Reciprocal approximation (Q15 input, Q16 output) */ +static inline celt_word32_t celt_rcp(celt_word32_t x) +{ + int i; + celt_word16_t n, frac; + const celt_word16_t C[5] = {21848, -7251, 2403, -934, 327}; + celt_assert2(x>0, "celt_rcp() only defined for positive values"); + i = celt_ilog2(x); + n = VSHR32(x,i-16)-SHL32(EXTEND32(3),15); + frac = ADD16(C[0], MULT16_16_Q15(n, ADD16(C[1], MULT16_16_Q15(n, ADD16(C[2], + MULT16_16_Q15(n, ADD16(C[3], MULT16_16_Q15(n, (C[4]))))))))); + return VSHR32(EXTEND32(frac),i-16); +} + +#define celt_div(a,b) MULT32_32_Q31((celt_word32_t)(a),celt_rcp(b)) + +#endif /* FIXED_POINT */ + + +#endif /* MATHOPS_H */ diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/mdct.c b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/mdct.c new file mode 100644 index 0000000..8b3a1fd --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/mdct.c @@ -0,0 +1,291 @@ +/* (C) 2008 Jean-Marc Valin, CSIRO +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +/* This is a simple MDCT implementation that uses a N/4 complex FFT + to do most of the work. It should be relatively straightforward to + plug in pretty much and FFT here. + + This replaces the Vorbis FFT (and uses the exact same API), which + was a bit too messy and that was ending up duplicating code + (might as well use the same FFT everywhere). + + The algorithm is similar to (and inspired from) Fabrice Bellard's + MDCT implementation in FFMPEG, but has differences in signs, ordering + and scaling in many places. +*/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "mdct.h" +#include "kfft_double.h" +#include <math.h> +#include "os_support.h" +#include "mathops.h" +#include "stack_alloc.h" + +#ifndef M_PI +#define M_PI 3.141592653 +#endif + +void mdct_init(mdct_lookup *l,int N) +{ + int i; + int N2; + l->n = N; + N2 = N>>1; + l->kfft = cpx32_fft_alloc(N>>2); + l->trig = (kiss_twiddle_scalar*)celt_alloc(N2*sizeof(kiss_twiddle_scalar)); + /* We have enough points that sine isn't necessary */ +#if defined(FIXED_POINT) +#if defined(DOUBLE_PRECISION) & !defined(MIXED_PRECISION) + for (i=0;i<N2;i++) + l->trig[i] = SAMP_MAX*cos(2*M_PI*(i+1./8.)/N); +#else + for (i=0;i<N2;i++) + l->trig[i] = TRIG_UPSCALE*celt_cos_norm(DIV32(ADD32(SHL32(EXTEND32(i),17),16386),N)); +#endif +#else + for (i=0;i<N2;i++) + l->trig[i] = cos(2*M_PI*(i+1./8.)/N); +#endif +} + +void mdct_clear(mdct_lookup *l) +{ + cpx32_fft_free(l->kfft); + celt_free(l->trig); +} + +void mdct_forward(const mdct_lookup *l, kiss_fft_scalar *in, kiss_fft_scalar * restrict out, const celt_word16_t *window, int overlap) +{ + int i; + int N, N2, N4; + VARDECL(kiss_fft_scalar, f); + SAVE_STACK; + N = l->n; + N2 = N>>1; + N4 = N>>2; + ALLOC(f, N2, kiss_fft_scalar); + + /* Consider the input to be compused of four blocks: [a, b, c, d] */ + /* Window, shuffle, fold */ + { + /* Temp pointers to make it really clear to the compiler what we're doing */ + const kiss_fft_scalar * restrict xp1 = in+(overlap>>1); + const kiss_fft_scalar * restrict xp2 = in+N2-1+(overlap>>1); + kiss_fft_scalar * restrict yp = out; + const celt_word16_t * restrict wp1 = window+(overlap>>1); + const celt_word16_t * restrict wp2 = window+(overlap>>1)-1; + for(i=0;i<(overlap>>2);i++) + { + /* Real part arranged as -d-cR, Imag part arranged as -b+aR*/ + *yp++ = MULT16_32_Q15(*wp2, xp1[N2]) + MULT16_32_Q15(*wp1,*xp2); + *yp++ = MULT16_32_Q15(*wp1, *xp1) - MULT16_32_Q15(*wp2, xp2[-N2]); + xp1+=2; + xp2-=2; + wp1+=2; + wp2-=2; + } + wp1 = window; + wp2 = window+overlap-1; + for(;i<N4-(overlap>>2);i++) + { + /* Real part arranged as a-bR, Imag part arranged as -c-dR */ + *yp++ = *xp2; + *yp++ = *xp1; + xp1+=2; + xp2-=2; + } + for(;i<N4;i++) + { + /* Real part arranged as a-bR, Imag part arranged as -c-dR */ + *yp++ = -MULT16_32_Q15(*wp1, xp1[-N2]) + MULT16_32_Q15(*wp2, *xp2); + *yp++ = MULT16_32_Q15(*wp2, *xp1) + MULT16_32_Q15(*wp1, xp2[N2]); + xp1+=2; + xp2-=2; + wp1+=2; + wp2-=2; + } + } + /* Pre-rotation */ + { + kiss_fft_scalar * restrict yp = out; + kiss_fft_scalar *t = &l->trig[0]; + for(i=0;i<N4;i++) + { + kiss_fft_scalar re, im; + re = yp[0]; + im = yp[1]; + *yp++ = -S_MUL(re,t[0]) + S_MUL(im,t[N4]); + *yp++ = -S_MUL(im,t[0]) - S_MUL(re,t[N4]); + t++; + } + } + + /* N/4 complex FFT, down-scales by 4/N */ + cpx32_fft(l->kfft, out, f, N4); + + /* Post-rotate */ + { + /* Temp pointers to make it really clear to the compiler what we're doing */ + const kiss_fft_scalar * restrict fp = f; + kiss_fft_scalar * restrict yp1 = out; + kiss_fft_scalar * restrict yp2 = out+N2-1; + kiss_fft_scalar *t = &l->trig[0]; + /* Temp pointers to make it really clear to the compiler what we're doing */ + for(i=0;i<N4;i++) + { + *yp1 = -S_MUL(fp[1],t[N4]) + S_MUL(fp[0],t[0]); + *yp2 = -S_MUL(fp[0],t[N4]) - S_MUL(fp[1],t[0]); + fp += 2; + yp1 += 2; + yp2 -= 2; + t++; + } + } + RESTORE_STACK; +} + + +void mdct_backward(const mdct_lookup *l, kiss_fft_scalar *in, kiss_fft_scalar * restrict out, const celt_word16_t * restrict window, int overlap) +{ + int i; + int N, N2, N4; + VARDECL(kiss_fft_scalar, f); + VARDECL(kiss_fft_scalar, f2); + SAVE_STACK; + N = l->n; + N2 = N>>1; + N4 = N>>2; + ALLOC(f, N2, kiss_fft_scalar); + ALLOC(f2, N2, kiss_fft_scalar); + + /* Pre-rotate */ + { + /* Temp pointers to make it really clear to the compiler what we're doing */ + const kiss_fft_scalar * restrict xp1 = in; + const kiss_fft_scalar * restrict xp2 = in+N2-1; + kiss_fft_scalar * restrict yp = f2; + kiss_fft_scalar *t = &l->trig[0]; + for(i=0;i<N4;i++) + { + *yp++ = -S_MUL(*xp2, t[0]) - S_MUL(*xp1,t[N4]); + *yp++ = S_MUL(*xp2, t[N4]) - S_MUL(*xp1,t[0]); + xp1+=2; + xp2-=2; + t++; + } + } + + /* Inverse N/4 complex FFT. This one should *not* downscale even in fixed-point */ + cpx32_ifft(l->kfft, f2, f, N4); + + /* Post-rotate */ + { + kiss_fft_scalar * restrict fp = f; + kiss_fft_scalar *t = &l->trig[0]; + + for(i=0;i<N4;i++) + { + kiss_fft_scalar re, im; + re = fp[0]; + im = fp[1]; + /* We'd scale up by 2 here, but instead it's done when mixing the windows */ + *fp++ = S_MUL(re,*t) + S_MUL(im,t[N4]); + *fp++ = S_MUL(im,*t) - S_MUL(re,t[N4]); + t++; + } + } + /* De-shuffle the components for the middle of the window only */ + { + const kiss_fft_scalar * restrict fp1 = f; + const kiss_fft_scalar * restrict fp2 = f+N2-1; + kiss_fft_scalar * restrict yp = f2; + for(i = 0; i < N4; i++) + { + *yp++ =-*fp1; + *yp++ = *fp2; + fp1 += 2; + fp2 -= 2; + } + } + + /* Mirror on both sides for TDAC */ + { + kiss_fft_scalar * restrict fp1 = f2+N4-1; + kiss_fft_scalar * restrict xp1 = out+N2-1; + kiss_fft_scalar * restrict yp1 = out+N4-overlap/2; + const celt_word16_t * restrict wp1 = window; + const celt_word16_t * restrict wp2 = window+overlap-1; + for(i = 0; i< N4-overlap/2; i++) + { + *xp1 = *fp1; + xp1--; + fp1--; + } + for(; i < N4; i++) + { + kiss_fft_scalar x1; + x1 = *fp1--; + *yp1++ +=-MULT16_32_Q15(*wp1, x1); + *xp1-- += MULT16_32_Q15(*wp2, x1); + wp1++; + wp2--; + } + } + { + kiss_fft_scalar * restrict fp2 = f2+N4; + kiss_fft_scalar * restrict xp2 = out+N2; + kiss_fft_scalar * restrict yp2 = out+N-1-(N4-overlap/2); + const celt_word16_t * restrict wp1 = window; + const celt_word16_t * restrict wp2 = window+overlap-1; + for(i = 0; i< N4-overlap/2; i++) + { + *xp2 = *fp2; + xp2++; + fp2++; + } + for(; i < N4; i++) + { + kiss_fft_scalar x2; + x2 = *fp2++; + *yp2-- = MULT16_32_Q15(*wp1, x2); + *xp2++ = MULT16_32_Q15(*wp2, x2); + wp1++; + wp2--; + } + } + RESTORE_STACK; +} + + diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/mdct.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/mdct.h new file mode 100644 index 0000000..b3d51ed --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/mdct.h @@ -0,0 +1,67 @@ +/* (C) 2008 Jean-Marc Valin, CSIRO +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +/* This is a simple MDCT implementation that uses a N/4 complex FFT + to do most of the work. It should be relatively straightforward to + plug in pretty much and FFT here. + + This replaces the Vorbis FFT (and uses the exact same API), which + was a bit too messy and that was ending up duplicating code + (might as well use the same FFT everywhere). + + The algorithm is similar to (and inspired from) Fabrice Bellard's + MDCT implementation in FFMPEG, but has differences in signs, ordering + and scaling in many places. +*/ + +#ifndef MDCT_H +#define MDCT_H + +#include "kiss_fft.h" +#include "arch.h" + +typedef struct { + int n; + kiss_fft_cfg kfft; + kiss_twiddle_scalar * restrict trig; +} mdct_lookup; + +void mdct_init(mdct_lookup *l,int N); +void mdct_clear(mdct_lookup *l); + +/** Compute a forward MDCT and scale by 4/N */ +void mdct_forward(const mdct_lookup *l, kiss_fft_scalar *in, kiss_fft_scalar *out, const celt_word16_t *window, int overlap); + +/** Compute a backward MDCT (no scaling) and performs weighted overlap-add + (scales implicitly by 1/2) */ +void mdct_backward(const mdct_lookup *l, kiss_fft_scalar *in, kiss_fft_scalar *out, const celt_word16_t * restrict window, int overlap); + +#endif diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/mfrngcod.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/mfrngcod.h new file mode 100644 index 0000000..17c5151 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/mfrngcod.h @@ -0,0 +1,36 @@ +#if !defined(_mfrngcode_H) +# define _mfrngcode_H (1) +# include "entcode.h" + +/*Constants used by the entropy encoder/decoder.*/ + +/*The number of bits to output at a time.*/ +# define EC_SYM_BITS (8) +/*The total number of bits in each of the state registers.*/ +# define EC_CODE_BITS (32) +/*The maximum symbol value.*/ +# define EC_SYM_MAX ((1U<<EC_SYM_BITS)-1) +/*Bits to shift by to move a symbol into the high-order position.*/ +# define EC_CODE_SHIFT (EC_CODE_BITS-EC_SYM_BITS-1) +/*Carry bit of the high-order range symbol.*/ +# define EC_CODE_TOP (((ec_uint32)1U)<<EC_CODE_BITS-1) +/*Low-order bit of the high-order range symbol.*/ +# define EC_CODE_BOT (EC_CODE_TOP>>EC_SYM_BITS) +/*Code for which propagating carries are possible.*/ +# define EC_CODE_CARRY (((ec_uint32)EC_SYM_MAX)<<EC_CODE_SHIFT) +/*The number of bits available for the last, partial symbol in the code field.*/ +# define EC_CODE_EXTRA ((EC_CODE_BITS-2)%EC_SYM_BITS+1) +/*A mask for the bits available in the coding buffer. + This allows different platforms to use a variable with more bits, if it is + convenient. + We will only use EC_CODE_BITS of it.*/ +# define EC_CODE_MASK ((((ec_uint32)1U)<<EC_CODE_BITS-1)-1<<1|1) + + +/*The non-zero symbol of the second possible reserved ending. + This must be the high-bit.*/ +# define EC_FOF_RSV1 (1<<EC_SYM_BITS-1) +/*A mask for all the other bits.*/ +# define EC_FOF_RSV1_MASK (EC_FOF_RSV1-1) + +#endif diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/modes.c b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/modes.c new file mode 100644 index 0000000..b5f5597 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/modes.c @@ -0,0 +1,480 @@ +/* (C) 2007-2008 Jean-Marc Valin, CSIRO +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "celt.h" +#include "modes.h" +#include "rate.h" +#include "os_support.h" +#include "stack_alloc.h" +#include "quant_bands.h" + +#ifdef STATIC_MODES +#include "static_modes.c" +#endif + +#define MODEVALID 0xa110ca7e +#define MODEFREED 0xb10cf8ee + +#ifndef M_PI +#define M_PI 3.141592653 +#endif + + +int celt051_mode_info(const CELTMode *mode, int request, celt_int32_t *value) +{ + switch (request) + { + case CELT_GET_FRAME_SIZE: + *value = mode->mdctSize; + break; + case CELT_GET_LOOKAHEAD: + *value = mode->overlap; + break; + case CELT_GET_NB_CHANNELS: + *value = mode->nbChannels; + break; + case CELT_GET_BITSTREAM_VERSION: + *value = CELT_BITSTREAM_VERSION; + break; + default: + return CELT_UNIMPLEMENTED; + } + return CELT_OK; +} + +#ifndef STATIC_MODES + +#define PBANDS 8 + +#ifdef STDIN_TUNING +int MIN_BINS; +#else +#define MIN_BINS 3 +#endif + +/* Defining 25 critical bands for the full 0-20 kHz audio bandwidth + Taken from http://ccrma.stanford.edu/~jos/bbt/Bark_Frequency_Scale.html */ +#define BARK_BANDS 25 +static const celt_int16_t bark_freq[BARK_BANDS+1] = { + 0, 100, 200, 300, 400, + 510, 630, 770, 920, 1080, + 1270, 1480, 1720, 2000, 2320, + 2700, 3150, 3700, 4400, 5300, + 6400, 7700, 9500, 12000, 15500, + 20000}; + +static const celt_int16_t pitch_freq[PBANDS+1] ={0, 345, 689, 1034, 1378, 2067, 3273, 5340, 6374}; + +/* This allocation table is per critical band. When creating a mode, the bits get added together + into the codec bands, which are sometimes larger than one critical band at low frequency */ + +#ifdef STDIN_TUNING +int BITALLOC_SIZE; +int *band_allocation; +#else +#define BITALLOC_SIZE 12 +static const int band_allocation[BARK_BANDS*BITALLOC_SIZE] = + { 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 2, 2, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 2, 2, 2, 1, 2, 2, 2, 2, 2, 1, 2, 2, 4, 5, 7, 7, 7, 5, 4, 0, 0, 0, 0, 0, 0, + 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 3, 3, 5, 6, 8, 8, 8, 6, 5, 4, 0, 0, 0, 0, 0, + 3, 2, 2, 2, 3, 3, 2, 3, 2, 3, 4, 4, 6, 7, 9, 9, 9, 7, 6, 5, 5, 5, 0, 0, 0, + 3, 3, 2, 2, 3, 3, 3, 3, 3, 4, 4, 5, 7, 9, 10, 10, 10, 9, 6, 5, 5, 5, 5, 1, 0, + 4, 3, 3, 3, 3, 3, 3, 3, 4, 4, 6, 7, 7, 9, 11, 10, 10, 9, 9, 8, 11, 10, 10, 1, 1, + 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 8, 8, 10, 12, 12, 11, 11, 17, 12, 15, 15, 20, 18, 10, 1, + 8, 7, 7, 7, 7, 7, 8, 8, 9, 10, 11, 12, 14, 17, 18, 21, 22, 27, 29, 39, 37, 38, 40, 35, 1, + 7, 7, 7, 7, 7, 7, 10, 10, 10, 13, 14, 18, 20, 24, 28, 32, 32, 35, 38, 38, 42, 50, 59, 54, 31, + 8, 8, 8, 8, 8, 9, 10, 12, 14, 20, 22, 25, 28, 30, 35, 42, 46, 50, 55, 60, 62, 62, 62, 62, 62, + 12, 12, 12, 12, 12, 13, 15, 18, 22, 30, 32, 35, 40, 45, 55, 62, 66, 70, 85, 90, 92, 92, 92, 92, 92, + }; +#endif + +static celt_int16_t *compute_ebands(celt_int32_t Fs, int frame_size, int *nbEBands) +{ + celt_int16_t *eBands; + int i, res, min_width, lin, low, high, nBark; + res = (Fs+frame_size)/(2*frame_size); + min_width = MIN_BINS*res; + /*printf ("min_width = %d\n", min_width);*/ + + /* Find the number of critical bands supported by our sampling rate */ + for (nBark=1;nBark<BARK_BANDS;nBark++) + if (bark_freq[nBark+1]*2 >= Fs) + break; + + /* Find where the linear part ends (i.e. where the spacing is more than min_width */ + for (lin=0;lin<nBark;lin++) + if (bark_freq[lin+1]-bark_freq[lin] >= min_width) + break; + + /*printf ("lin = %d (%d Hz)\n", lin, bark_freq[lin]);*/ + low = ((bark_freq[lin]/res)+(MIN_BINS-1))/MIN_BINS; + high = nBark-lin; + *nbEBands = low+high; + eBands = celt_alloc(sizeof(celt_int16_t)*(*nbEBands+2)); + + /* Linear spacing (min_width) */ + for (i=0;i<low;i++) + eBands[i] = MIN_BINS*i; + /* Spacing follows critical bands */ + for (i=0;i<high;i++) + eBands[i+low] = (bark_freq[lin+i]+res/2)/res; + /* Enforce the minimum spacing at the boundary */ + for (i=0;i<*nbEBands;i++) + if (eBands[i] < MIN_BINS*i) + eBands[i] = MIN_BINS*i; + eBands[*nbEBands] = (bark_freq[nBark]+res/2)/res; + eBands[*nbEBands+1] = frame_size; + if (eBands[*nbEBands] > eBands[*nbEBands+1]) + eBands[*nbEBands] = eBands[*nbEBands+1]; + + /* FIXME: Remove last band if too small */ + /*for (i=0;i<*nbEBands+2;i++) + printf("%d ", eBands[i]); + printf ("\n"); + exit(1);*/ + return eBands; +} + +static void compute_pbands(CELTMode *mode, int res) +{ + int i; + celt_int16_t *pBands; + pBands=celt_alloc(sizeof(celt_int16_t)*(PBANDS+2)); + mode->nbPBands = PBANDS; + for (i=0;i<PBANDS+1;i++) + { + pBands[i] = (pitch_freq[i]+res/2)/res; + if (pBands[i] < mode->eBands[i]) + pBands[i] = mode->eBands[i]; + } + pBands[PBANDS+1] = mode->eBands[mode->nbEBands+1]; + for (i=1;i<mode->nbPBands+1;i++) + { + int j; + for (j=0;j<mode->nbEBands;j++) + if (mode->eBands[j] <= pBands[i] && mode->eBands[j+1] > pBands[i]) + break; + /*printf ("%d %d\n", i, j);*/ + if (mode->eBands[j] != pBands[i]) + { + if (pBands[i]-mode->eBands[j] < mode->eBands[j+1]-pBands[i] && + mode->eBands[j] != pBands[i-1]) + pBands[i] = mode->eBands[j]; + else + pBands[i] = mode->eBands[j+1]; + } + } + /*for (i=0;i<mode->nbPBands+2;i++) + printf("%d ", pBands[i]); + printf ("\n");*/ + mode->pBands = pBands; + mode->pitchEnd = pBands[PBANDS]; +} + +static void compute_allocation_table(CELTMode *mode, int res) +{ + int i, j, eband, nBark; + celt_int32_t *allocVectors; + celt_int16_t *allocVectorsS; + celt_int16_t *allocEnergy; + const int C = CHANNELS(mode); + + /* Find the number of critical bands supported by our sampling rate */ + for (nBark=1;nBark<BARK_BANDS;nBark++) + if (bark_freq[nBark+1]*2 >= mode->Fs) + break; + + mode->nbAllocVectors = BITALLOC_SIZE; + allocVectors = celt_alloc(sizeof(celt_int32_t)*(BITALLOC_SIZE*mode->nbEBands)); + allocEnergy = celt_alloc(sizeof(celt_int16_t)*(mode->nbAllocVectors*(mode->nbEBands+1))); + /* Compute per-codec-band allocation from per-critical-band matrix */ + for (i=0;i<BITALLOC_SIZE;i++) + { + eband = 0; + for (j=0;j<nBark;j++) + { + int edge, low; + celt_int32_t alloc; + edge = mode->eBands[eband+1]*res; + alloc = band_allocation[i*BARK_BANDS+j]; + alloc = alloc*C*mode->mdctSize/256; + if (edge < bark_freq[j+1]) + { + int num, den; + num = alloc * (edge-bark_freq[j]); + den = bark_freq[j+1]-bark_freq[j]; + low = (num+den/2)/den; + allocVectors[i*mode->nbEBands+eband] += low; + eband++; + allocVectors[i*mode->nbEBands+eband] += alloc-low; + } else { + allocVectors[i*mode->nbEBands+eband] += alloc; + } + } + } + /* Compute fine energy resolution and update the pulse allocation table to subtract that */ + for (i=0;i<mode->nbAllocVectors;i++) + { + int sum = 0; + for (j=0;j<mode->nbEBands;j++) + { + int ebits; + int min_bits=0; + if (allocVectors[i*mode->nbEBands+j] > 0) + min_bits = 1; + ebits = IMAX(min_bits , allocVectors[i*mode->nbEBands+j] / (C*(mode->eBands[j+1]-mode->eBands[j]))); + if (ebits>7) + ebits=7; + /* The bits used for fine allocation can't be used for pulses */ + /* However, we give two "free" bits to all modes to compensate for the fact that some energy + resolution is needed regardless of the frame size. */ + if (ebits>1) + allocVectors[i*mode->nbEBands+j] -= C*(ebits-2); + if (allocVectors[i*mode->nbEBands+j] < 0) + allocVectors[i*mode->nbEBands+j] = 0; + sum += ebits; + allocEnergy[i*(mode->nbEBands+1)+j] = ebits; + } + allocEnergy[i*(mode->nbEBands+1)+mode->nbEBands] = sum; + } + mode->energy_alloc = allocEnergy; + allocVectorsS = celt_alloc(sizeof(celt_int16_t)*(BITALLOC_SIZE*mode->nbEBands)); + for(i=0;i<(BITALLOC_SIZE*mode->nbEBands);i++) + allocVectorsS[i] = (celt_int16_t)allocVectors[i]; + mode->allocVectors = allocVectorsS; +} + +#endif /* STATIC_MODES */ + +CELTMode *celt051_mode_create(celt_int32_t Fs, int channels, int frame_size, int *error) +{ + int i; +#ifdef STDIN_TUNING + scanf("%d ", &MIN_BINS); + scanf("%d ", &BITALLOC_SIZE); + band_allocation = celt_alloc(sizeof(int)*BARK_BANDS*BITALLOC_SIZE); + for (i=0;i<BARK_BANDS*BITALLOC_SIZE;i++) + { + scanf("%d ", band_allocation+i); + } +#endif +#ifdef STATIC_MODES + const CELTMode *m = NULL; + CELTMode *mode=NULL; + ALLOC_STACK; + for (i=0;i<TOTAL_MODES;i++) + { + if (Fs == static_mode_list[i]->Fs && + channels == static_mode_list[i]->nbChannels && + frame_size == static_mode_list[i]->mdctSize) + { + m = static_mode_list[i]; + break; + } + } + if (m == NULL) + { + celt_warning("Mode not included as part of the static modes"); + if (error) + *error = CELT_BAD_ARG; + return NULL; + } + mode = (CELTMode*)celt_alloc(sizeof(CELTMode)); + CELT_COPY(mode, m, 1); +#else + int res; + CELTMode *mode; + celt_word16_t *window; + ALLOC_STACK; + + /* The good thing here is that permutation of the arguments will automatically be invalid */ + + if (Fs < 32000 || Fs > 96000) + { + celt_warning("Sampling rate must be between 32 kHz and 96 kHz"); + if (error) + *error = CELT_BAD_ARG; + return NULL; + } + if (channels < 0 || channels > 2) + { + celt_warning("Only mono and stereo supported"); + if (error) + *error = CELT_BAD_ARG; + return NULL; + } + if (frame_size < 64 || frame_size > 512 || frame_size%2!=0) + { + celt_warning("Only even frame sizes from 64 to 512 are supported"); + if (error) + *error = CELT_BAD_ARG; + return NULL; + } + res = (Fs+frame_size)/(2*frame_size); + + mode = celt_alloc(sizeof(CELTMode)); + mode->Fs = Fs; + mode->mdctSize = frame_size; + mode->nbChannels = channels; + mode->eBands = compute_ebands(Fs, frame_size, &mode->nbEBands); + compute_pbands(mode, res); + mode->ePredCoef = QCONST16(.8f,15); + + if (frame_size > 384 && (frame_size%8)==0) + { + mode->nbShortMdcts = 4; + } else if (frame_size > 384 && (frame_size%10)==0) + { + mode->nbShortMdcts = 5; + } else if (frame_size > 256 && (frame_size%6)==0) + { + mode->nbShortMdcts = 3; + } else if (frame_size > 256 && (frame_size%8)==0) + { + mode->nbShortMdcts = 4; + } else if (frame_size > 64 && (frame_size%4)==0) + { + mode->nbShortMdcts = 2; + } else if (frame_size > 128 && (frame_size%6)==0) + { + mode->nbShortMdcts = 3; + } else + { + mode->nbShortMdcts = 1; + } + + if (mode->nbShortMdcts > 1) + mode->overlap = ((frame_size/mode->nbShortMdcts)>>2)<<2; /* Overlap must be divisible by 4 */ + else + mode->overlap = (frame_size>>3)<<2; + + compute_allocation_table(mode, res); + /*printf ("%d bands\n", mode->nbEBands);*/ + + window = (celt_word16_t*)celt_alloc(mode->overlap*sizeof(celt_word16_t)); + +#ifndef FIXED_POINT + for (i=0;i<mode->overlap;i++) + window[i] = Q15ONE*sin(.5*M_PI* sin(.5*M_PI*(i+.5)/mode->overlap) * sin(.5*M_PI*(i+.5)/mode->overlap)); +#else + for (i=0;i<mode->overlap;i++) + window[i] = MIN32(32767,32768.*sin(.5*M_PI* sin(.5*M_PI*(i+.5)/mode->overlap) * sin(.5*M_PI*(i+.5)/mode->overlap))); +#endif + mode->window = window; + + mode->bits = (const celt_int16_t **)compute_alloc_cache(mode, 1); + if (mode->nbChannels>=2) + mode->bits_stereo = (const celt_int16_t **)compute_alloc_cache(mode, mode->nbChannels); + +#ifndef SHORTCUTS + psydecay_init(&mode->psy, MAX_PERIOD/2, mode->Fs); +#endif + + mode->marker_start = MODEVALID; + mode->marker_end = MODEVALID; +#endif /* !STATIC_MODES */ + mdct_init(&mode->mdct, 2*mode->mdctSize); + mode->fft = pitch_state_alloc(MAX_PERIOD); + + mode->shortMdctSize = mode->mdctSize/mode->nbShortMdcts; + mdct_init(&mode->shortMdct, 2*mode->shortMdctSize); + mode->shortWindow = mode->window; + + mode->prob = quant_prob_alloc(mode); + + if (error) + *error = CELT_OK; + return mode; +} + +void celt051_mode_destroy(CELTMode *mode) +{ +#ifndef STATIC_MODES + int i; + const celt_int16_t *prevPtr = NULL; + for (i=0;i<mode->nbEBands;i++) + { + if (mode->bits[i] != prevPtr) + { + prevPtr = mode->bits[i]; + celt_free((int*)mode->bits[i]); + } + } + celt_free((int**)mode->bits); + if (mode->bits_stereo != NULL) + { + for (i=0;i<mode->nbEBands;i++) + { + if (mode->bits_stereo[i] != prevPtr) + { + prevPtr = mode->bits_stereo[i]; + celt_free((int*)mode->bits_stereo[i]); + } + } + celt_free((int**)mode->bits_stereo); + } + if (check_mode(mode) != CELT_OK) + return; + celt_free((int*)mode->eBands); + celt_free((int*)mode->pBands); + celt_free((int*)mode->allocVectors); + celt_free((celt_int16_t *)mode->energy_alloc); + + celt_free((celt_word16_t*)mode->window); + + mode->marker_start = MODEFREED; + mode->marker_end = MODEFREED; +#ifndef SHORTCUTS + psydecay_clear(&mode->psy); +#endif +#endif + mdct_clear(&mode->mdct); + mdct_clear(&mode->shortMdct); + pitch_state_free(mode->fft); + quant_prob_free(mode->prob); + celt_free((CELTMode *)mode); +} + +int check_mode(const CELTMode *mode) +{ + if (mode->marker_start == MODEVALID && mode->marker_end == MODEVALID) + return CELT_OK; + if (mode->marker_start == MODEFREED || mode->marker_end == MODEFREED) + celt_warning("Using a mode that has already been freed"); + else + celt_warning("This is not a valid CELT mode"); + return CELT_INVALID_MODE; +} diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/modes.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/modes.h new file mode 100644 index 0000000..8aba7c1 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/modes.h @@ -0,0 +1,115 @@ +/* (C) 2007-2008 Jean-Marc Valin, CSIRO +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef MODES_H +#define MODES_H + +#include "celt_types.h" +#include "celt.h" +#include "arch.h" +#include "mdct.h" +#include "psy.h" +#include "pitch.h" + +#define CELT_BITSTREAM_VERSION 0x80000006 + +#ifdef STATIC_MODES +#include "static_modes.h" +#endif + +#define MAX_PERIOD 1024 + +#ifndef CHANNELS +# ifdef DISABLE_STEREO +# define CHANNELS(mode) (1) +# else +# define CHANNELS(mode) ((mode)->nbChannels) +# endif +#endif + +#define MDCT(mode) (&(mode)->mdct) + +#ifndef OVERLAP +#define OVERLAP(mode) ((mode)->overlap) +#endif + +#ifndef FRAMESIZE +#define FRAMESIZE(mode) ((mode)->mdctSize) +#endif + +/** Mode definition (opaque) + @brief Mode definition + */ +struct CELTMode { + celt_uint32_t marker_start; + celt_int32_t Fs; + int overlap; + int mdctSize; + int nbChannels; + + int nbEBands; + int nbPBands; + int pitchEnd; + + const celt_int16_t *eBands; /**< Definition for each "pseudo-critical band" */ + const celt_int16_t *pBands; /**< Definition of the bands used for the pitch */ + + celt_word16_t ePredCoef;/**< Prediction coefficient for the energy encoding */ + + int nbAllocVectors; /**< Number of lines in the matrix below */ + const celt_int16_t *allocVectors; /**< Number of bits in each band for several rates */ + + const celt_int16_t * const *bits; /**< Cache for pulses->bits mapping in each band */ + + const celt_int16_t * const *bits_stereo; /**< Cache for pulses->bits mapping in each band */ + + /* Stuff that could go in the {en,de}coder, but we save space this way */ + mdct_lookup mdct; + kiss_fftr_cfg fft; + + const celt_word16_t *window; + + int nbShortMdcts; + int shortMdctSize; + mdct_lookup shortMdct; + const celt_word16_t *shortWindow; + + struct PsyDecay psy; + + int *prob; + const celt_int16_t *energy_alloc; + + celt_uint32_t marker_end; +}; + +int check_mode(const CELTMode *mode); + +#endif diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/os_support.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/os_support.h new file mode 100644 index 0000000..f72c2ec --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/os_support.h @@ -0,0 +1,150 @@ +/* Copyright (C) 2007 Jean-Marc Valin + + File: os_support.h + This is the (tiny) OS abstraction layer. Aside from math.h, this is the + only place where system headers are allowed. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef OS_SUPPORT_H +#define OS_SUPPORT_H + +#ifdef CUSTOM_SUPPORT +# include "custom_support.h" +#endif + +#include <string.h> +#include <stdio.h> +#include <stdlib.h> + +/** Speex wrapper for calloc. To do your own dynamic allocation, all you need to do is replace this function, celt_realloc and celt_free + NOTE: celt_alloc needs to CLEAR THE MEMORY */ +#ifndef OVERRIDE_CELT_ALLOC +static inline void *celt_alloc (int size) +{ + /* WARNING: this is not equivalent to malloc(). If you want to use malloc() + or your own allocator, YOU NEED TO CLEAR THE MEMORY ALLOCATED. Otherwise + you will experience strange bugs */ + return calloc(size,1); +} +#endif + +/** Same as celt_alloc, except that the area is only needed inside a Speex call (might cause problem with wideband though) */ +#ifndef OVERRIDE_CELT_ALLOC_SCRATCH +static inline void *celt_alloc_scratch (int size) +{ + /* Scratch space doesn't need to be cleared */ + return calloc(size,1); +} +#endif + +/** Speex wrapper for realloc. To do your own dynamic allocation, all you need to do is replace this function, celt_alloc and celt_free */ +#ifndef OVERRIDE_CELT_REALLOC +static inline void *celt_realloc (void *ptr, int size) +{ + return realloc(ptr, size); +} +#endif + +/** Speex wrapper for calloc. To do your own dynamic allocation, all you need to do is replace this function, celt_realloc and celt_alloc */ +#ifndef OVERRIDE_CELT_FREE +static inline void celt_free (void *ptr) +{ + free(ptr); +} +#endif + +/** Same as celt_free, except that the area is only needed inside a Speex call (might cause problem with wideband though) */ +#ifndef OVERRIDE_CELT_FREE_SCRATCH +static inline void celt_free_scratch (void *ptr) +{ + free(ptr); +} +#endif + +/** Copy n bytes of memory from src to dst. The 0* term provides compile-time type checking */ +#ifndef OVERRIDE_CELT_COPY +#define CELT_COPY(dst, src, n) (memcpy((dst), (src), (n)*sizeof(*(dst)) + 0*((dst)-(src)) )) +#endif + +/** Copy n bytes of memory from src to dst, allowing overlapping regions. The 0* term + provides compile-time type checking */ +#ifndef OVERRIDE_CELT_MOVE +#define CELT_MOVE(dst, src, n) (memmove((dst), (src), (n)*sizeof(*(dst)) + 0*((dst)-(src)) )) +#endif + +/** Set n bytes of memory to value of c, starting at address s */ +#ifndef OVERRIDE_CELT_MEMSET +#define CELT_MEMSET(dst, c, n) (memset((dst), (c), (n)*sizeof(*(dst)))) +#endif + + +#ifndef OVERRIDE_CELT_FATAL +static inline void _celt_fatal(const char *str, const char *file, int line) +{ + fprintf (stderr, "Fatal (internal) error in %s, line %d: %s\n", file, line, str); + abort(); +} +#endif + +#ifndef OVERRIDE_CELT_WARNING +static inline void celt_warning(const char *str) +{ +#ifndef DISABLE_WARNINGS + fprintf (stderr, "warning: %s\n", str); +#endif +} +#endif + +#ifndef OVERRIDE_CELT_WARNING_INT +static inline void celt_warning_int(const char *str, int val) +{ +#ifndef DISABLE_WARNINGS + fprintf (stderr, "warning: %s %d\n", str, val); +#endif +} +#endif + +#ifndef OVERRIDE_CELT_NOTIFY +static inline void celt_notify(const char *str) +{ +#ifndef DISABLE_NOTIFICATIONS + fprintf (stderr, "notification: %s\n", str); +#endif +} +#endif + + + +/*#ifdef __GNUC__ +#pragma GCC poison printf sprintf +#pragma GCC poison malloc free realloc calloc +#endif*/ + +#endif /* OS_SUPPORT_H */ + diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/pgain_table.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/pgain_table.h new file mode 100644 index 0000000..19ed306 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/pgain_table.h @@ -0,0 +1,133 @@ +/* Each row contains 8 values for the pitch table. The lowest index value is + stored in the MSB (i.e. big endian ordering) */ +celt_uint16_t pgain_table[512] = { +0x0000, 0x0000, 0x0000, 0x0000, +0x140d, 0x0908, 0x5b11, 0x0f07, +0x8380, 0x7608, 0x0807, 0x0705, +0x6078, 0x0605, 0x0706, 0x0504, +0x8378, 0x4118, 0x520f, 0x0d06, +0x4c06, 0x3105, 0x0706, 0x0704, +0x0f4c, 0x0606, 0x0b0b, 0x0b06, +0x837d, 0x4538, 0x0c09, 0x0906, +0x7c05, 0x0425, 0x0605, 0x0604, +0x8c87, 0x837f, 0x7064, 0x293a, +0x8c87, 0x827a, 0x715f, 0x1008, +0x4a05, 0x0404, 0x0504, 0x0704, +0x8322, 0x0403, 0x0504, 0x0504, +0x1968, 0x0b68, 0x130e, 0x0b05, +0x710d, 0x3d08, 0x3508, 0x0804, +0x7c46, 0x4446, 0x0d0a, 0x0705, +0x8a81, 0x7647, 0x203f, 0x0f09, +0x8155, 0x0637, 0x0706, 0x0504, +0x8b84, 0x7e7a, 0x460d, 0x0b07, +0x0a27, 0x0705, 0x0607, 0x0809, +0x7d06, 0x2504, 0x0505, 0x0604, +0x8980, 0x3c74, 0x684f, 0x170c, +0x7c32, 0x3406, 0x0606, 0x0604, +0x2905, 0x0504, 0x0505, 0x0606, +0x151e, 0x1a6e, 0x5713, 0x0e07, +0x6128, 0x0505, 0x0605, 0x0604, +0x8c88, 0x8685, 0x7a6f, 0x6715, +0x7b08, 0x4b05, 0x0507, 0x0504, +0x8277, 0x6612, 0x0e13, 0x470b, +0x6804, 0x0403, 0x0405, 0x0604, +0x8241, 0x0404, 0x0405, 0x0504, +0x7908, 0x064a, 0x0608, 0x0604, +0x4c72, 0x450a, 0x0a08, 0x0804, +0x4909, 0x0807, 0x3507, 0x0704, +0x857c, 0x4871, 0x0f0c, 0x0906, +0x7e6e, 0x0f60, 0x510f, 0x0a06, +0x8278, 0x231a, 0x4250, 0x5514, +0x7e28, 0x2370, 0x5944, 0x150a, +0x7a2f, 0x0631, 0x0806, 0x0704, +0x8981, 0x7b77, 0x1460, 0x5b14, +0x8680, 0x0504, 0x0505, 0x0604, +0x206d, 0x645b, 0x5c1a, 0x0e07, +0x877d, 0x7614, 0x6763, 0x6226, +0x8d88, 0x8482, 0x795d, 0x3b0c, +0x4c0a, 0x0631, 0x0707, 0x0704, +0x8481, 0x3c05, 0x0808, 0x0705, +0x0a0b, 0x0908, 0x0b37, 0x0f08, +0x8c86, 0x817c, 0x483f, 0x110a, +0x494e, 0x090a, 0x4109, 0x0803, +0x730e, 0x0909, 0x590b, 0x0a04, +0x7f30, 0x6b73, 0x1e46, 0x4518, +0x8a81, 0x7b4b, 0x6215, 0x0a07, +0x7f77, 0x0a6a, 0x0908, 0x0805, +0x7a60, 0x0d0a, 0x0a0d, 0x4107, +0x8377, 0x3166, 0x191f, 0x4e0e, +0x0f09, 0x3607, 0x0809, 0x0a08, +0x8983, 0x7b23, 0x6452, 0x150d, +0x4639, 0x3e07, 0x0909, 0x0704, +0x0e06, 0x0731, 0x0608, 0x0908, +0x480a, 0x6508, 0x0908, 0x0704, +0x1c13, 0x7165, 0x190f, 0x0906, +0x8170, 0x1c6a, 0x1c4d, 0x190d, +0x7a0f, 0x0708, 0x0932, 0x0a04, +0x7c40, 0x0806, 0x3107, 0x0604, +0x7809, 0x3636, 0x0807, 0x0804, +0x8c85, 0x817f, 0x7423, 0x0e0a, +0x440f, 0x0967, 0x0a09, 0x0805, +0x8442, 0x7574, 0x664f, 0x190d, +0x1716, 0x5511, 0x4c0e, 0x0b05, +0x4b5c, 0x0a41, 0x0908, 0x0704, +0x7c6d, 0x0c08, 0x0a3a, 0x0905, +0x773f, 0x0a6a, 0x0908, 0x0704, +0x897f, 0x7753, 0x4836, 0x3b0e, +0x720f, 0x4e70, 0x0c0c, 0x0705, +0x8430, 0x7276, 0x6b5c, 0x5c1c, +0x7740, 0x700a, 0x0808, 0x0704, +0x8c86, 0x8280, 0x495d, 0x4b0d, +0x8361, 0x0304, 0x0505, 0x0404, +0x0c08, 0x0708, 0x090b, 0x350b, +0x867d, 0x751d, 0x6623, 0x480e, +0x3a33, 0x0606, 0x0707, 0x0704, +0x8877, 0x4879, 0x6f64, 0x5e22, +0x2467, 0x625e, 0x0c0c, 0x0a06, +0x8b84, 0x807d, 0x6d3c, 0x5638, +0x8303, 0x0303, 0x0405, 0x0604, +0x887d, 0x4973, 0x5613, 0x0c08, +0x847c, 0x6b0c, 0x1143, 0x0f08, +0x7c08, 0x0506, 0x2b06, 0x0604, +0x7b09, 0x0872, 0x0908, 0x0704, +0x6f11, 0x0a50, 0x4409, 0x0904, +0x7f5c, 0x2805, 0x0606, 0x0504, +0x0e53, 0x3f0a, 0x0b0b, 0x0a05, +0x0d77, 0x0a0a, 0x0a0d, 0x0a05, +0x7e1d, 0x636b, 0x5915, 0x1208, +0x0c0b, 0x0806, 0x2d09, 0x0a08, +0x8a86, 0x7e79, 0x0f11, 0x0906, +0x7f76, 0x0809, 0x3f08, 0x0704, +0x0b0c, 0x0769, 0x0a0c, 0x0f08, +0x8676, 0x1475, 0x6050, 0x521b, +0x400f, 0x423c, 0x0b07, 0x0804, +0x7423, 0x6712, 0x5611, 0x0b05, +0x1062, 0x0f11, 0x4d0c, 0x0b05, +0x8983, 0x7e75, 0x1a1e, 0x4510, +0x815a, 0x5206, 0x0b08, 0x0705, +0x8880, 0x7925, 0x1958, 0x541a, +0x1340, 0x0b3d, 0x0b0b, 0x0a05, +0x0e0e, 0x6a0b, 0x090b, 0x0b07, +0x824e, 0x716c, 0x1811, 0x0a06, +0x867e, 0x7911, 0x490e, 0x0907, +0x8a84, 0x7f4e, 0x6f66, 0x5718, +0x2966, 0x696b, 0x565c, 0x4c14, +0x5e4e, 0x0505, 0x0507, 0x0504, +0x8b84, 0x7f7b, 0x6b22, 0x490b, +0x7719, 0x1663, 0x5856, 0x591a, +0x3869, 0x0706, 0x0808, 0x0704, +0x7b09, 0x7206, 0x0808, 0x0704, +0x8981, 0x7b79, 0x1753, 0x160d, +0x771b, 0x541c, 0x2d4c, 0x4215, +0x8d87, 0x8583, 0x7b75, 0x6d49, +0x1b67, 0x6f0a, 0x120c, 0x0b04, +0x8a82, 0x7e7a, 0x3667, 0x6044, +0x8882, 0x7a42, 0x120a, 0x0907, +0x460c, 0x0807, 0x0a2f, 0x0905, +0x8071, 0x1c1b, 0x5f4a, 0x130b, +0x160d, 0x0a3f, 0x3e0c, 0x0905, +0x750f, 0x6f44, 0x0c0b, 0x0805, +0x827c, 0x0733, 0x0806, 0x0704, +0x0e0f, 0x4259, 0x0c0b, 0x0b05, +}; + diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/pitch.c b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/pitch.c new file mode 100644 index 0000000..dd74077 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/pitch.c @@ -0,0 +1,237 @@ +/* (C) 2007-2008 Jean-Marc Valin, CSIRO +*/ +/** + @file pitch.c + @brief Pitch analysis + */ + +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +/*#include "_kiss_fft_guts.h" +#include "kiss_fftr.h"*/ +#include "kfft_single.h" + +#include "pitch.h" +#include "psy.h" +#include "os_support.h" +#include "mathops.h" +#include "modes.h" +#include "stack_alloc.h" + +kiss_fftr_cfg pitch_state_alloc(int max_lag) +{ + return real16_fft_alloc(max_lag); +} + +void pitch_state_free(kiss_fftr_cfg st) +{ + real16_fft_free(st); +} + +#ifdef FIXED_POINT +static void normalise16(celt_word16_t *x, int len, celt_word16_t val) +{ + int i; + celt_word16_t maxabs; + maxabs = celt_maxabs16(x,len); + if (maxabs > val) + { + int shift = 0; + while (maxabs > val) + { + maxabs >>= 1; + shift++; + } + if (shift==0) + return; + i=0; + do{ + x[i] = SHR16(x[i], shift); + } while (++i<len); + } else { + int shift=0; + if (maxabs == 0) + return; + val >>= 1; + while (maxabs < val) + { + val >>= 1; + shift++; + } + if (shift==0) + return; + i=0; + do{ + x[i] = SHL16(x[i], shift); + } while (++i<len); + } +} +#else +#define normalise16(x,len,val) +#endif + +#define INPUT_SHIFT 15 + +void find_spectral_pitch(const CELTMode *m, kiss_fftr_cfg fft, const struct PsyDecay *decay, const celt_sig_t * restrict x, const celt_sig_t * restrict y, const celt_word16_t * restrict window, celt_word16_t * restrict spectrum, int len, int max_pitch, int *pitch) +{ + int c, i; + VARDECL(celt_word16_t, _X); + VARDECL(celt_word16_t, _Y); + const celt_word16_t * restrict wptr; +#ifndef SHORTCUTS + VARDECL(celt_mask_t, curve); +#endif + celt_word16_t * restrict X, * restrict Y; + celt_word16_t * restrict Xptr, * restrict Yptr; + const celt_sig_t * restrict yptr; + int n2; + int L2; + const int C = CHANNELS(m); + const int overlap = OVERLAP(m); + const int lag = MAX_PERIOD; + SAVE_STACK; + n2 = lag>>1; + L2 = len>>1; + ALLOC(_X, lag, celt_word16_t); + X = _X; +#ifndef SHORTCUTS + ALLOC(curve, n2, celt_mask_t); +#endif + CELT_MEMSET(X,0,lag); + /* Sum all channels of the current frame and copy into X in bit-reverse order */ + for (c=0;c<C;c++) + { + const celt_sig_t * restrict xptr = &x[c]; + for (i=0;i<L2;i++) + { + X[2*BITREV(fft,i)] += SHR32(*xptr,INPUT_SHIFT); + xptr += C; + X[2*BITREV(fft,i)+1] += SHR32(*xptr,INPUT_SHIFT); + xptr += C; + } + } + /* Applying the window in the bit-reverse domain. It's a bit weird, but it + can help save memory */ + wptr = window; + for (i=0;i<overlap>>1;i++) + { + X[2*BITREV(fft,i)] = MULT16_16_Q15(wptr[0], X[2*BITREV(fft,i)]); + X[2*BITREV(fft,i)+1] = MULT16_16_Q15(wptr[1], X[2*BITREV(fft,i)+1]); + X[2*BITREV(fft,L2-i-1)] = MULT16_16_Q15(wptr[1], X[2*BITREV(fft,L2-i-1)]); + X[2*BITREV(fft,L2-i-1)+1] = MULT16_16_Q15(wptr[0], X[2*BITREV(fft,L2-i-1)+1]); + wptr += 2; + } + normalise16(X, lag, 8192); + /*for (i=0;i<lag;i++) printf ("%d ", X[i]);printf ("\n");*/ + /* Forward real FFT (in-place) */ + real16_fft_inplace(fft, X, lag); + + if (spectrum) + { + for (i=0;i<lag/4;i++) + { + spectrum[2*i] = X[4*i]; + spectrum[2*i+1] = X[4*i+1]; + } + } +#ifndef SHORTCUTS + compute_masking(decay, X, curve, lag); +#endif + + /* Deferred allocation to reduce peak stack usage */ + ALLOC(_Y, lag, celt_word16_t); + Y = _Y; + yptr = &y[0]; + /* Copy first channel of the past audio into Y in bit-reverse order */ + for (i=0;i<n2;i++) + { + Y[2*BITREV(fft,i)] = SHR32(*yptr,INPUT_SHIFT); + yptr += C; + Y[2*BITREV(fft,i)+1] = SHR32(*yptr,INPUT_SHIFT); + yptr += C; + } + /* Add remaining channels into Y in bit-reverse order */ + for (c=1;c<C;c++) + { + yptr = &y[c]; + for (i=0;i<n2;i++) + { + Y[2*BITREV(fft,i)] += SHR32(*yptr,INPUT_SHIFT); + yptr += C; + Y[2*BITREV(fft,i)+1] += SHR32(*yptr,INPUT_SHIFT); + yptr += C; + } + } + normalise16(Y, lag, 8192); + /* Forward real FFT (in-place) */ + real16_fft_inplace(fft, Y, lag); + + /* Compute cross-spectrum using the inverse masking curve as weighting */ + Xptr = &X[2]; + Yptr = &Y[2]; + for (i=1;i<n2;i++) + { + celt_word16_t Xr, Xi, n; + /* weight = 1/sqrt(curve) */ + Xr = Xptr[0]; + Xi = Xptr[1]; +#ifdef SHORTCUTS + /*n = SHR32(32767,(celt_ilog2(EPSILON+curve[i])>>1));*/ + n = 1+(8192>>(celt_ilog2(1+MULT16_16(Xr,Xr)+MULT16_16(Xi,Xi))>>1)); + /* Pre-multiply X by n, so we can keep everything in 16 bits */ + Xr = MULT16_16_16(n, Xr); + Xi = MULT16_16_16(n, Xi); +#else + n = celt_rsqrt(EPSILON+curve[i]); + /* Pre-multiply X by n, so we can keep everything in 16 bits */ + Xr = EXTRACT16(SHR32(MULT16_16(n, Xr),3)); + Xi = EXTRACT16(SHR32(MULT16_16(n, Xi),3)); +#endif + /* Cross-spectrum between X and conj(Y) */ + *Xptr++ = ADD16(MULT16_16_Q15(Xr, Yptr[0]), MULT16_16_Q15(Xi,Yptr[1])); + *Xptr++ = SUB16(MULT16_16_Q15(Xr, Yptr[1]), MULT16_16_Q15(Xi,Yptr[0])); + Yptr += 2; + } + /*printf ("\n");*/ + X[0] = X[1] = 0; + /*for (i=0;i<lag;i++) printf ("%d ", X[i]);printf ("\n");*/ + normalise16(X, lag, 50); + /* Inverse half-complex to real FFT gives us the correlation */ + real16_ifft(fft, X, Y, lag); + + /* The peak in the correlation gives us the pitch */ + *pitch = find_max16(Y, max_pitch); + RESTORE_STACK; +} diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/pitch.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/pitch.h new file mode 100644 index 0000000..5b03722 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/pitch.h @@ -0,0 +1,53 @@ +/* (C) 2007-2008 Jean-Marc Valin, CSIRO +*/ +/** + @file pitch.h + @brief Pitch analysis + */ + +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#ifndef _PITCH_H +#define _PITCH_H + +#include "kiss_fftr.h" +#include "psy.h" +#include "modes.h" + +kiss_fftr_cfg pitch_state_alloc(int max_lag); +void pitch_state_free(kiss_fftr_cfg st); + +/** Find the optimal delay for the pitch prediction. Computation is + done in the frequency domain, both to save time and to make it + easier to apply psychoacoustic weighting */ +void find_spectral_pitch(const CELTMode *m, kiss_fftr_cfg fft, const struct PsyDecay *decay, const celt_sig_t *x, const celt_sig_t *y, const celt_word16_t *window, celt_word16_t * restrict X, int len, int max_pitch, int *pitch); + +#endif diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/psy.c b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/psy.c new file mode 100644 index 0000000..e2c8f44 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/psy.c @@ -0,0 +1,211 @@ +/* (C) 2007 Jean-Marc Valin, CSIRO +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "psy.h" +#include <math.h> +#include "os_support.h" +#include "arch.h" +#include "stack_alloc.h" +#include "mathops.h" + +/* The Vorbis freq<->Bark mapping */ +#define toBARK(n) (13.1f*atan(.00074f*(n))+2.24f*atan((n)*(n)*1.85e-8f)+1e-4f*(n)) +#define fromBARK(z) (102.f*(z)-2.f*pow(z,2.f)+.4f*pow(z,3.f)+pow(1.46f,z)-1.f) + +#ifndef STATIC_MODES +/* Psychoacoustic spreading function. The idea here is compute a first order + recursive filter. The filter coefficient is frequency dependent and + chosen such that we have a -10dB/Bark slope on the right side and a -25dB/Bark + slope on the left side. */ +void psydecay_init(struct PsyDecay *decay, int len, celt_int32_t Fs) +{ + int i; + celt_word16_t *decayR = (celt_word16_t*)celt_alloc(sizeof(celt_word16_t)*len); + /*decay->decayL = celt_alloc(sizeof(celt_word16_t)*len);*/ + for (i=0;i<len;i++) + { + float f; + float deriv; + /* Real frequency (in Hz) */ + f = Fs*i*(1/(2.f*len)); + /* This is the derivative of the Vorbis freq->Bark function (see above) */ + deriv = (8.288e-8 * f)/(3.4225e-16 *f*f*f*f + 1) + .009694/(5.476e-7 *f*f + 1) + 1e-4; + /* Back to FFT bin units */ + deriv *= Fs*(1/(2.f*len)); + /* decay corresponding to -10dB/Bark */ + decayR[i] = Q15ONE*pow(.1f, deriv); + /* decay corresponding to -25dB/Bark */ + /*decay->decayL[i] = Q15ONE*pow(0.0031623f, deriv);*/ + /*printf ("%f %f\n", decayL[i], decayR[i]);*/ + } + decay->decayR = decayR; +} + +void psydecay_clear(struct PsyDecay *decay) +{ + celt_free((celt_word16_t *)decay->decayR); + /*celt_free(decay->decayL);*/ +} +#endif + +static void spreading_func(const struct PsyDecay *d, celt_word32_t * restrict psd, int len) +{ + int i; + celt_word32_t mem; + /*for (i=0;i<len;i++) printf ("%f ", psd[i]);*/ + /* Compute right slope (-10 dB/Bark) */ + mem=psd[0]; + for (i=0;i<len;i++) + { + /* psd = (1-decay)*psd + decay*mem */ + psd[i] = EPSILON + psd[i] + MULT16_32_Q15(d->decayR[i],mem-psd[i]); + mem = psd[i]; + } + /* Compute left slope (-25 dB/Bark) */ + mem=psd[len-1]; + for (i=len-1;i>=0;i--) + { + /* Left side has around twice the slope as the right side, so we just + square the coef instead of storing two sets of decay coefs */ + celt_word16_t decayL = MULT16_16_Q15(d->decayR[i], d->decayR[i]); + /* psd = (1-decay)*psd + decay*mem */ + psd[i] = EPSILON + psd[i] + MULT16_32_Q15(decayL,mem-psd[i]); + mem = psd[i]; + } + /*for (i=0;i<len;i++) printf ("%f ", mask[i]); printf ("\n");*/ +#if 0 /* Prints signal and mask energy per critical band */ + for (i=0;i<25;i++) + { + int start,end; + int j; + celt_word32_t Esig=0, Emask=0; + start = (int)floor(fromBARK((float)i)*(2*len)/Fs); + if (start<0) + start = 0; + end = (int)ceil(fromBARK((float)(i+1))*(2*len)/Fs); + if (end<=start) + end = start+1; + if (end>len-1) + end = len-1; + for (j=start;j<end;j++) + { + Esig += psd[j]; + Emask += mask[j]; + } + printf ("%f %f ", Esig, Emask); + } + printf ("\n"); +#endif +} + +/* Compute a marking threshold from the spectrum X. */ +void compute_masking(const struct PsyDecay *decay, celt_word16_t *X, celt_mask_t * restrict mask, int len) +{ + int i; + int N; + N=len>>1; + mask[0] = MULT16_16(X[0], X[0]); + for (i=1;i<N;i++) + mask[i] = ADD32(MULT16_16(X[i*2], X[i*2]), MULT16_16(X[i*2+1], X[i*2+1])); + /* TODO: Do tone masking */ + /* Noise masking */ + spreading_func(decay, mask, N); +} + +#ifdef EXP_PSY /* Not needed for now, but will be useful in the future */ +void compute_mdct_masking(const struct PsyDecay *decay, celt_word32_t *X, celt_word16_t *tonality, celt_word16_t *long_window, celt_mask_t *mask, int len) +{ + int i; + VARDECL(float, psd); + SAVE_STACK; + ALLOC(psd, len, float); + for (i=0;i<len;i++) + psd[i] = X[i]*X[i]*tonality[i]; + for (i=1;i<len-1;i++) + mask[i] = .5*psd[i] + .25*(psd[i-1]+psd[i+1]); + /*psd[0] = .5*mask[0]+.25*(mask[1]+mask[2]);*/ + mask[0] = .5*psd[0]+.5*psd[1]; + mask[len-1] = .5*(psd[len-1]+psd[len-2]); + /* TODO: Do tone masking */ + /* Noise masking */ + spreading_func(decay, mask, len); + RESTORE_STACK; +} + +void compute_tonality(const CELTMode *m, celt_word16_t * restrict X, celt_word16_t * mem, int len, celt_word16_t *tonality, int mdct_size) +{ + int i; + celt_word16_t norm_1; + celt_word16_t *mem2; + int N = len>>2; + + mem2 = mem+2*N; + X[0] = 0; + X[1] = 0; + tonality[0] = 1; + for (i=1;i<N;i++) + { + celt_word16_t re, im, re2, im2; + re = X[2*i]; + im = X[2*i+1]; + /* Normalise spectrum */ + norm_1 = celt_rsqrt(.01+MAC16_16(MULT16_16(re,re), im,im)); + re = MULT16_16(re, norm_1); + im = MULT16_16(im, norm_1); + /* Phase derivative */ + re2 = re*mem[2*i] + im*mem[2*i+1]; + im2 = im*mem[2*i] - re*mem[2*i+1]; + mem[2*i] = re; + mem[2*i+1] = im; + /* Phase second derivative */ + re = re2*mem2[2*i] + im2*mem2[2*i+1]; + im = im2*mem2[2*i] - re2*mem2[2*i+1]; + mem2[2*i] = re2; + mem2[2*i+1] = im2; + /*printf ("%f ", re);*/ + X[2*i] = re; + X[2*i+1] = im; + } + /*printf ("\n");*/ + for (i=0;i<mdct_size;i++) + { + tonality[i] = 1.0-X[2*i]*X[2*i]*X[2*i]; + if (tonality[i]>1) + tonality[i] = 1; + if (tonality[i]<.02) + tonality[i]=.02; + } +} +#endif diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/psy.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/psy.h new file mode 100644 index 0000000..3b26bce --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/psy.h @@ -0,0 +1,56 @@ +/* (C) 2007 Jean-Marc Valin, CSIRO +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ +#ifndef PSY_H +#define PSY_H + +#include "arch.h" +#include "celt.h" + +struct PsyDecay { + /*celt_word16_t *decayL;*/ + const celt_word16_t * restrict decayR; +}; + +/** Pre-compute the decay of the psycho-acoustic spreading function */ +void psydecay_init(struct PsyDecay *decay, int len, celt_int32_t Fs); + +/** Free the memory allocated for the spreading function */ +void psydecay_clear(struct PsyDecay *decay); + +/** Compute the masking curve for an input (DFT) spectrum X */ +void compute_masking(const struct PsyDecay *decay, celt_word16_t *X, celt_mask_t *mask, int len); + +/** Compute the masking curve for an input (MDCT) spectrum X */ +void compute_mdct_masking(const struct PsyDecay *decay, celt_word32_t *X, celt_word16_t *tonality, celt_word16_t *long_window, celt_mask_t *mask, int len); + +void compute_tonality(const CELTMode *m, celt_word16_t * restrict X, celt_word16_t * mem, int len, celt_word16_t *tonality, int mdct_size); + +#endif /* PSY_H */ diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/quant_bands.c b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/quant_bands.c new file mode 100644 index 0000000..3ad16eb --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/quant_bands.c @@ -0,0 +1,349 @@ +/* (C) 2007-2008 Jean-Marc Valin, CSIRO +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "quant_bands.h" +#include "laplace.h" +#include <math.h> +#include "os_support.h" +#include "arch.h" +#include "mathops.h" +#include "stack_alloc.h" + +#ifdef FIXED_POINT +const celt_word16_t eMeans[24] = {11520, -2048, -3072, -640, 256, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; +#else +const celt_word16_t eMeans[24] = {45.f, -8.f, -12.f, -2.5f, 1.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f}; +#endif + + +#ifdef FIXED_POINT +static inline celt_ener_t dB2Amp(celt_ener_t dB) +{ + celt_ener_t amp; + if (dB>24659) + dB=24659; + amp = PSHR32(celt_exp2(MULT16_16_Q14(21771,dB)),2)-QCONST16(.3f, 14); + if (amp < 0) + amp = 0; + return PSHR32(amp,2); +} + +#define DBofTWO 24661 +static inline celt_word16_t amp2dB(celt_ener_t amp) +{ + /* equivalent to return 6.0207*log2(.3+amp) */ + return ROUND16(MULT16_16(24661,celt_log2(ADD32(QCONST32(.3f,14),SHL32(amp,2)))),12); + /* return DB_SCALING*20*log10(.3+ENER_SCALING_1*amp); */ +} +#else +static inline celt_ener_t dB2Amp(celt_ener_t dB) +{ + celt_ener_t amp; + /*amp = pow(10, .05*dB)-.3;*/ + amp = exp(0.115129f*dB)-.3f; + if (amp < 0) + amp = 0; + return amp; +} +static inline celt_word16_t amp2dB(celt_ener_t amp) +{ + /*return 20*log10(.3+amp);*/ + return 8.68589f*log(.3f+amp); +} +#endif + +static const celt_word16_t base_resolution = QCONST16(6.f,8); +static const celt_word16_t base_resolution_1 = QCONST16(0.1666667f,15); + +int *quant_prob_alloc(const CELTMode *m) +{ + int i; + int *prob; + prob = celt_alloc(2*m->nbEBands*sizeof(int)); + for (i=0;i<m->nbEBands;i++) + { + prob[2*i] = 6000-i*200; + prob[2*i+1] = ec_laplace_get_start_freq(prob[2*i]); + } + return prob; +} + +void quant_prob_free(int *freq) +{ + celt_free(freq); +} + +static void quant_coarse_energy_mono(const CELTMode *m, celt_ener_t *eBands, celt_word16_t *oldEBands, unsigned budget, int *prob, celt_word16_t *error, ec_enc *enc) +{ + int i; + unsigned bits; + celt_word16_t prev = 0; + celt_word16_t coef = m->ePredCoef; + celt_word16_t beta; + /* The .7 is a heuristic */ + beta = MULT16_16_Q15(QCONST16(.8f,15),coef); + + bits = ec_enc_tell(enc, 0); + /* Encode at a fixed coarse resolution */ + for (i=0;i<m->nbEBands;i++) + { + int qi; + celt_word16_t q; /* dB */ + celt_word16_t x; /* dB */ + celt_word16_t f; /* Q8 */ + celt_word16_t mean = MULT16_16_Q15(Q15ONE-coef,eMeans[i]); + x = amp2dB(eBands[i]); +#ifdef FIXED_POINT + f = MULT16_16_Q15(x-mean-MULT16_16_Q15(coef,oldEBands[i])-prev,base_resolution_1); + /* Rounding to nearest integer here is really important! */ + qi = (f+128)>>8; +#else + f = (x-mean-coef*oldEBands[i]-prev)*base_resolution_1; + /* Rounding to nearest integer here is really important! */ + qi = (int)floor(.5+f); +#endif + /* If we don't have enough bits to encode all the energy, just assume something safe. + We allow slightly busting the budget here */ + if (ec_enc_tell(enc, 0) - bits > budget) + { + qi = -1; + error[i] = 128; + } else { + ec_laplace_encode_start(enc, &qi, prob[2*i], prob[2*i+1]); + error[i] = f - SHL16(qi,8); + } + q = qi*base_resolution; + + oldEBands[i] = mean+MULT16_16_Q15(coef,oldEBands[i])+prev+q; + if (oldEBands[i] < -QCONST16(12.f,8)) + oldEBands[i] = -QCONST16(12.f,8); + prev = mean+prev+MULT16_16_Q15(Q15ONE-beta,q); + } +} + +static void quant_fine_energy_mono(const CELTMode *m, celt_ener_t *eBands, celt_word16_t *oldEBands, celt_word16_t *error, int *fine_quant, ec_enc *enc) +{ + int i; + /* Encode finer resolution */ + for (i=0;i<m->nbEBands;i++) + { + int q2; + celt_int16_t frac = 1<<fine_quant[i]; + celt_word16_t offset = (error[i]+QCONST16(.5f,8))*frac; + if (fine_quant[i] <= 0) + continue; +#ifdef FIXED_POINT + /* Has to be without rounding */ + q2 = offset>>8; +#else + q2 = (int)floor(offset); +#endif + if (q2 > frac-1) + q2 = frac-1; + ec_enc_bits(enc, q2, fine_quant[i]); +#ifdef FIXED_POINT + offset = SUB16(SHR16(SHL16(q2,8)+QCONST16(.5,8),fine_quant[i]),QCONST16(.5f,8)); +#else + offset = (q2+.5f)*(1<<(14-fine_quant[i]))*(1.f/16384) - .5f; +#endif + oldEBands[i] += PSHR32(MULT16_16(DB_SCALING*6,offset),8); + /*printf ("%f ", error[i] - offset);*/ + } + for (i=0;i<m->nbEBands;i++) + { + eBands[i] = dB2Amp(oldEBands[i]); + } + /*printf ("%d\n", ec_enc_tell(enc, 0)-9);*/ + + /*printf ("\n");*/ +} + +static void unquant_coarse_energy_mono(const CELTMode *m, celt_ener_t *eBands, celt_word16_t *oldEBands, unsigned budget, int *prob, ec_dec *dec) +{ + int i; + unsigned bits; + celt_word16_t prev = 0; + celt_word16_t coef = m->ePredCoef; + /* The .7 is a heuristic */ + celt_word16_t beta = MULT16_16_Q15(QCONST16(.8f,15),coef); + + bits = ec_dec_tell(dec, 0); + /* Decode at a fixed coarse resolution */ + for (i=0;i<m->nbEBands;i++) + { + int qi; + celt_word16_t q; + celt_word16_t mean = MULT16_16_Q15(Q15ONE-coef,eMeans[i]); + /* If we didn't have enough bits to encode all the energy, just assume something safe. + We allow slightly busting the budget here */ + if (ec_dec_tell(dec, 0) - bits > budget) + qi = -1; + else + qi = ec_laplace_decode_start(dec, prob[2*i], prob[2*i+1]); + q = qi*base_resolution; + + oldEBands[i] = mean+MULT16_16_Q15(coef,oldEBands[i])+prev+q; + if (oldEBands[i] < -QCONST16(12.f,8)) + oldEBands[i] = -QCONST16(12.f,8); + + prev = mean+prev+MULT16_16_Q15(Q15ONE-beta,q); + } +} + +static void unquant_fine_energy_mono(const CELTMode *m, celt_ener_t *eBands, celt_word16_t *oldEBands, int *fine_quant, ec_dec *dec) +{ + int i; + /* Decode finer resolution */ + for (i=0;i<m->nbEBands;i++) + { + int q2; + celt_word16_t offset; + if (fine_quant[i] <= 0) + continue; + q2 = ec_dec_bits(dec, fine_quant[i]); +#ifdef FIXED_POINT + offset = SUB16(SHR16(SHL16(q2,8)+QCONST16(.5,8),fine_quant[i]),QCONST16(.5f,8)); +#else + offset = (q2+.5f)*(1<<(14-fine_quant[i]))*(1.f/16384) - .5f; +#endif + oldEBands[i] += PSHR32(MULT16_16(DB_SCALING*6,offset),8); + } + for (i=0;i<m->nbEBands;i++) + { + eBands[i] = dB2Amp(oldEBands[i]); + } + /*printf ("\n");*/ +} + + + +void quant_coarse_energy(const CELTMode *m, celt_ener_t *eBands, celt_word16_t *oldEBands, int budget, int *prob, celt_word16_t *error, ec_enc *enc) +{ + int C; + C = m->nbChannels; + + if (C==1) + { + quant_coarse_energy_mono(m, eBands, oldEBands, budget, prob, error, enc); + + } else { + int c; + for (c=0;c<C;c++) + { + int i; + VARDECL(celt_ener_t, E); + SAVE_STACK; + ALLOC(E, m->nbEBands, celt_ener_t); + for (i=0;i<m->nbEBands;i++) + E[i] = eBands[C*i+c]; + quant_coarse_energy_mono(m, E, oldEBands+c*m->nbEBands, budget/C, prob, error+c*m->nbEBands, enc); + RESTORE_STACK; + } + } +} + +void quant_fine_energy(const CELTMode *m, celt_ener_t *eBands, celt_word16_t *oldEBands, celt_word16_t *error, int *fine_quant, ec_enc *enc) +{ + int C; + C = m->nbChannels; + + if (C==1) + { + quant_fine_energy_mono(m, eBands, oldEBands, error, fine_quant, enc); + + } else { + int c; + VARDECL(celt_ener_t, E); + ALLOC(E, m->nbEBands, celt_ener_t); + for (c=0;c<C;c++) + { + int i; + SAVE_STACK; + quant_fine_energy_mono(m, E, oldEBands+c*m->nbEBands, error+c*m->nbEBands, fine_quant, enc); + for (i=0;i<m->nbEBands;i++) + eBands[C*i+c] = E[i]; + RESTORE_STACK; + } + } +} + + +void unquant_coarse_energy(const CELTMode *m, celt_ener_t *eBands, celt_word16_t *oldEBands, int budget, int *prob, ec_dec *dec) +{ + int C; + + C = m->nbChannels; + if (C==1) + { + unquant_coarse_energy_mono(m, eBands, oldEBands, budget, prob, dec); + } + else { + int c; + VARDECL(celt_ener_t, E); + SAVE_STACK; + ALLOC(E, m->nbEBands, celt_ener_t); + for (c=0;c<C;c++) + { + unquant_coarse_energy_mono(m, E, oldEBands+c*m->nbEBands, budget/C, prob, dec); + } + RESTORE_STACK; + } +} + +void unquant_fine_energy(const CELTMode *m, celt_ener_t *eBands, celt_word16_t *oldEBands, int *fine_quant, ec_dec *dec) +{ + int C; + + C = m->nbChannels; + + if (C==1) + { + unquant_fine_energy_mono(m, eBands, oldEBands, fine_quant, dec); + } + else { + int c; + VARDECL(celt_ener_t, E); + SAVE_STACK; + ALLOC(E, m->nbEBands, celt_ener_t); + for (c=0;c<C;c++) + { + int i; + unquant_fine_energy_mono(m, E, oldEBands+c*m->nbEBands, fine_quant, dec); + for (i=0;i<m->nbEBands;i++) + eBands[C*i+c] = E[i]; + } + RESTORE_STACK; + } +} diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/quant_bands.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/quant_bands.h new file mode 100644 index 0000000..c1a2442 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/quant_bands.h @@ -0,0 +1,53 @@ +/* (C) 2007 Jean-Marc Valin, CSIRO + */ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef QUANT_BANDS +#define QUANT_BANDS + +#include "arch.h" +#include "modes.h" +#include "entenc.h" +#include "entdec.h" + +int *quant_prob_alloc(const CELTMode *m); +void quant_prob_free(int *freq); + +void compute_fine_allocation(const CELTMode *m, int *bits, int budget); + +void quant_coarse_energy(const CELTMode *m, celt_ener_t *eBands, celt_word16_t *oldEBands, int budget, int *prob, celt_word16_t *error, ec_enc *enc); + +void quant_fine_energy(const CELTMode *m, celt_ener_t *eBands, celt_word16_t *oldEBands, celt_word16_t *error, int *fine_quant, ec_enc *enc); + +void unquant_coarse_energy(const CELTMode *m, celt_ener_t *eBands, celt_word16_t *oldEBands, int budget, int *prob, ec_dec *dec); + +void unquant_fine_energy(const CELTMode *m, celt_ener_t *eBands, celt_word16_t *oldEBands, int *fine_quant, ec_dec *dec); + +#endif /* QUANT_BANDS */ diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/quant_pitch.c b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/quant_pitch.c new file mode 100644 index 0000000..82c7d3b --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/quant_pitch.c @@ -0,0 +1,117 @@ +/* (C) 2007-2008 Jean-Marc Valin, CSIRO +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "quant_pitch.h" +#include <math.h> +#include "pgain_table.h" +#include "arch.h" +#include "mathops.h" + +#ifdef FIXED_POINT +#define PGAIN_ODD(codebook, i) ((celt_word16_t)(((codebook)[(i)]&0x00ffU)<<7)) +#define PGAIN_EVEN(codebook, i) ((celt_word16_t)(((codebook)[(i)]&0xff00U)>>1)) +#define PGAIN_ODD14(codebook, i) ((celt_word16_t)(((codebook)[(i)]&0x00ffU)<<6)) +#define PGAIN_EVEN14(codebook, i) ((celt_word16_t)(((codebook)[(i)]&0xff00U)>>2)) + +#else +#define PGAIN_ODD(codebook, i) ((1.f/32768.f)*(celt_word16_t)(((codebook)[(i)]&0x00ffU)<<7)) +#define PGAIN_EVEN(codebook, i) ((1.f/32768.f)*(celt_word16_t)(((codebook)[(i)]&0xff00U)>>1) ) +#define PGAIN_ODD14(codebook, i) PGAIN_ODD(codebook, i) +#define PGAIN_EVEN14(codebook, i) PGAIN_EVEN(codebook, i) +#endif + +#define PGAIN(codebook, i) ((i)&1 ? PGAIN_ODD(codebook, (i)>>1) : PGAIN_EVEN(codebook, (i)>>1)) + + +#define Q1515ONE MULT16_16(Q15ONE,Q15ONE) + +/** Taken from Speex.Finds the index of the entry in a codebook that best matches the input*/ +int vq_index(const celt_pgain_t *in, const celt_uint16_t *codebook, int len, int entries) +{ + int i,j; + int ind = 0; + celt_word32_t min_dist=VERY_LARGE32; + int best_index=0; + for (i=0;i<entries;i++) + { + celt_word32_t dist=0; + const celt_pgain_t *inp = in; + j=0; do { + celt_pgain_t tmp1 = SUB16(*inp++,PGAIN_EVEN14(codebook, ind)); + celt_pgain_t tmp2 = SUB16(*inp++,PGAIN_ODD14(codebook, ind)); + ind++; + dist = MAC16_16(dist, tmp1, tmp1); + dist = MAC16_16(dist, tmp2, tmp2); + } while (++j<len>>1); + if (dist<min_dist) + { + min_dist=dist; + best_index=i; + } + } + return best_index; +} + +int quant_pitch(celt_pgain_t *gains, int len) +{ + int i, id; + celt_word32_t gain_sum = 0; + /*for (i=0;i<len;i++) printf ("%f ", gains[i]);printf ("\n");*/ + /* Convert to a representation where the MSE criterion should be near-optimal */ + for (i=0;i<len;i++) + { + gains[i] = SHR16(Q15ONE-celt_sqrt(Q1515ONE-MULT16_16(gains[i],gains[i])),1); + gain_sum = ADD32(gain_sum, EXTEND32(gains[i])); + } + /* Is it worth encoding the pitch? */ + if (gain_sum > QCONST32(.3f,15)) + { + id = vq_index(gains, pgain_table, len, 128); + /* FIXME: Remove when we're not waisting a transmitted index on 0 gains */ + if (id==0) + id = -1; + } else { + id = -1; + } + return id; +} + +/** Returns the pitch gain vector corresponding to a certain id */ +void unquant_pitch(int id, celt_pgain_t *gains, int len) +{ + int i; + for (i=0;i<len;i++) + gains[i] = celt_sqrt(Q1515ONE-MULT16_16(Q15ONE-PGAIN(pgain_table,id*len+i),Q15ONE-PGAIN(pgain_table,id*len+i))); +} diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/quant_pitch.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/quant_pitch.h new file mode 100644 index 0000000..194f769 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/quant_pitch.h @@ -0,0 +1,44 @@ +/* (C) 2007 Jean-Marc Valin, CSIRO +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef QUANT_PITCH_H +#define QUANT_PITCH_H + +#include "arch.h" +#include "entenc.h" +#include "entdec.h" + +/** If this returns -1, the gain is zero (don't encode the pitch index) */ +int quant_pitch(celt_pgain_t *gains, int len); + +void unquant_pitch(int id, celt_pgain_t *gains, int len); + +#endif /* QUANT_PITCH_H */ diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/rangedec.c b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/rangedec.c new file mode 100644 index 0000000..ca3b7b5 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/rangedec.c @@ -0,0 +1,249 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "arch.h" +#include "entdec.h" +#include "mfrngcod.h" + + + +/*A range decoder. + This is an entropy decoder based upon \cite{Mar79}, which is itself a + rediscovery of the FIFO arithmetic code introduced by \cite{Pas76}. + It is very similar to arithmetic encoding, except that encoding is done with + digits in any base, instead of with bits, and so it is faster when using + larger bases (i.e.: a byte). + The author claims an average waste of $\frac{1}{2}\log_b(2b)$ bits, where $b$ + is the base, longer than the theoretical optimum, but to my knowledge there + is no published justification for this claim. + This only seems true when using near-infinite precision arithmetic so that + the process is carried out with no rounding errors. + + IBM (the author's employer) never sought to patent the idea, and to my + knowledge the algorithm is unencumbered by any patents, though its + performance is very competitive with proprietary arithmetic coding. + The two are based on very similar ideas, however. + An excellent description of implementation details is available at + http://www.arturocampos.com/ac_range.html + A recent work \cite{MNW98} which proposes several changes to arithmetic + encoding for efficiency actually re-discovers many of the principles + behind range encoding, and presents a good theoretical analysis of them. + + This coder handles the end of the stream in a slightly more graceful fashion + than most arithmetic or range coders. + Once the final symbol has been encoded, the coder selects the code word with + the shortest number of bits that still falls within the final interval. + This method is not novel. + Here, by the length of the code word, we refer to the number of bits until + its final 1. + Any trailing zeros may be discarded, since the encoder, once it runs out of + input, will pad its buffer with zeros. + + But this means that no encoded stream would ever have any zero bytes at the + end. + Since there are some coded representations we cannot produce, it implies that + there is still some redundancy in the stream. + In this case, we can pick a special byte value, RSV1, and should the stream + end in a sequence of zeros, followed by the RSV1 byte, we can code the + zeros, and discard the RSV1 byte. + The decoder, knowing that the encoder would never produce a sequence of zeros + at the end, would then know to add in the RSV1 byte if it observed it. + + Now, the encoder would never produce a stream that ended in a sequence of + zeros followed by a RSV1 byte. + So, if the stream ends in a non-empty sequence of zeros, followed by any + positive number of RSV1 bytes, the last RSV1 byte is discarded. + The decoder, if it encounters a stream that ends in non-empty sequence of + zeros followed by any non-negative number of RSV1 bytes, adds an additional + RSV1 byte to the stream. + With this strategy, every possible sequence of input bytes is transformed to + one that could actually be produced by the encoder. + + The only question is what non-zero value to use for RSV1. + We select 0x80, since it has the nice property of producing the shortest + possible byte streams when using our strategy for selecting a number within + the final interval to encode. + Clearly if the shortest possible code word that falls within the interval has + its last one bit as the most significant bit of the final byte, and the + previous bytes were a non-empty sequence of zeros followed by a non-negative + number of 0x80 bytes, then the last byte would be discarded. + If the shortest code word is not so formed, then no other code word in the + interval would result in any more bytes being discarded. + Any longer code word would have an additional one bit somewhere, and so would + require at a minimum that that byte would be coded. + If the shortest code word has a 1 before the final one that is preventing the + stream from ending in a non-empty sequence of zeros followed by a + non-negative number of 0x80's, then there is no code word of the same length + which contains that bit as a zero. + If there were, then we could simply leave that bit a 1, and drop all the bits + after it without leaving the interval, thus producing a shorter code word. + + In this case, RSV1 can only drop 1 bit off the final stream. + Other choices could lead to savings of up to 8 bits for particular streams, + but this would produce the odd situation that a stream with more non-zero + bits is actually encoded in fewer bytes. + + @PHDTHESIS{Pas76, + author="Richard Clark Pasco", + title="Source coding algorithms for fast data compression", + school="Dept. of Electrical Engineering, Stanford University", + address="Stanford, CA", + month=May, + year=1976 + } + @INPROCEEDINGS{Mar79, + author="Martin, G.N.N.", + title="Range encoding: an algorithm for removing redundancy from a digitised + message", + booktitle="Video & Data Recording Conference", + year=1979, + address="Southampton", + month=Jul + } + @ARTICLE{MNW98, + author="Alistair Moffat and Radford Neal and Ian H. Witten", + title="Arithmetic Coding Revisited", + journal="{ACM} Transactions on Information Systems", + year=1998, + volume=16, + number=3, + pages="256--294", + month=Jul, + URL="http://www.stanford.edu/class/ee398/handouts/papers/Moffat98ArithmCoding.pdf" + }*/ + + +/*Gets the next byte of input. + After all the bytes in the current packet have been consumed, and the extra + end code returned if needed, this function will continue to return zero each + time it is called. + Return: The next byte of input.*/ +static int ec_dec_in(ec_dec *_this){ + int ret; + ret=ec_byte_read1(_this->buf); + if(ret<0){ + ret=0; + /*Needed to keep oc_dec_tell() operating correctly.*/ + ec_byte_adv1(_this->buf); + } + return ret; +} + +/*Normalizes the contents of dif and rng so that rng lies entirely in the + high-order symbol.*/ +static inline void ec_dec_normalize(ec_dec *_this){ + /*If the range is too small, rescale it and input some bits.*/ + while(_this->rng<=EC_CODE_BOT){ + int sym; + _this->rng<<=EC_SYM_BITS; + /*Use up the remaining bits from our last symbol.*/ + sym=_this->rem<<EC_CODE_EXTRA&EC_SYM_MAX; + /*Read the next value from the input.*/ + _this->rem=ec_dec_in(_this); + /*Take the rest of the bits we need from this new symbol.*/ + sym|=_this->rem>>EC_SYM_BITS-EC_CODE_EXTRA; + _this->dif=(_this->dif<<EC_SYM_BITS)-sym&EC_CODE_MASK; + /*dif can never be larger than EC_CODE_TOP. + This is equivalent to the slightly more readable: + if(_this->dif>EC_CODE_TOP)_this->dif-=EC_CODE_TOP;*/ + _this->dif^=_this->dif&_this->dif-1&EC_CODE_TOP; + } +} + +void ec_dec_init(ec_dec *_this,ec_byte_buffer *_buf){ + _this->buf=_buf; + _this->rem=ec_dec_in(_this); + _this->rng=1U<<EC_CODE_EXTRA; + _this->dif=_this->rng-(_this->rem>>EC_SYM_BITS-EC_CODE_EXTRA); + /*Normalize the interval.*/ + ec_dec_normalize(_this); +} + + +unsigned ec_decode(ec_dec *_this,unsigned _ft){ + unsigned s; + _this->nrm=_this->rng/_ft; + s=(unsigned)((_this->dif-1)/_this->nrm); + return _ft-EC_MINI(s+1,_ft); +} + +unsigned ec_decode_bin(ec_dec *_this,unsigned bits){ + unsigned s; + ec_uint32 ft; + ft = (ec_uint32)1<<bits; + _this->nrm=_this->rng>>bits; + s=(unsigned)((_this->dif-1)/_this->nrm); + return ft-EC_MINI(s+1,ft); +} + +void ec_dec_update(ec_dec *_this,unsigned _fl,unsigned _fh,unsigned _ft){ + ec_uint32 s; + s=IMUL32(_this->nrm,(_ft-_fh)); + _this->dif-=s; + _this->rng=_fl>0?IMUL32(_this->nrm,(_fh-_fl)):_this->rng-s; + ec_dec_normalize(_this); +} + +long ec_dec_tell(ec_dec *_this,int _b){ + ec_uint32 r; + int l; + long nbits; + nbits=(ec_byte_bytes(_this->buf)-(EC_CODE_BITS+EC_SYM_BITS-1)/EC_SYM_BITS)* + EC_SYM_BITS; + /*To handle the non-integral number of bits still left in the encoder state, + we compute the number of bits of low that must be encoded to ensure that + the value is inside the range for any possible subsequent bits. + Note that this is subtly different than the actual value we would end the + stream with, which tries to make as many of the trailing bits zeros as + possible.*/ + nbits+=EC_CODE_BITS; + nbits<<=_b; + l=EC_ILOG(_this->rng); + r=_this->rng>>l-16; + while(_b-->0){ + int b; + r=r*r>>15; + b=(int)(r>>16); + l=l<<1|b; + r>>=b; + } + return nbits-l; +} + +#if 0 +int ec_dec_done(ec_dec *_this){ + unsigned low; + int ret; + /*Check to make sure we've used all the input bytes. + This ensures that no more ones would ever be inserted into the decoder.*/ + if(_this->buf->ptr-ec_byte_get_buffer(_this->buf)<= + ec_byte_bytes(_this->buf)){ + return 0; + } + /*We compute the smallest finitely odd fraction that fits inside the current + range, and write that to the stream. + This is guaranteed to yield the smallest possible encoding.*/ + /*TODO: Fix this line, as it is wrong. + It doesn't seem worth being able to make this check to do an extra + subtraction for every symbol decoded.*/ + low=/*What we want: _this->top-_this->rng; What we have:*/_this->dif + if(low){ + unsigned end; + end=EC_CODE_TOP; + /*Ensure that the next free end is in the range.*/ + if(end-low>=_this->rng){ + unsigned msk; + msk=EC_CODE_TOP-1; + do{ + msk>>=1; + end=(low+msk)&~msk|msk+1; + } + while(end-low>=_this->rng); + } + /*The remaining input should have been the next free end.*/ + return end-low!=_this->dif; + } + return 1; +} +#endif diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/rangeenc.c b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/rangeenc.c new file mode 100644 index 0000000..ff5d71d --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/rangeenc.c @@ -0,0 +1,161 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "arch.h" +#include "entenc.h" +#include "mfrngcod.h" + + + +/*A range encoder. + See rangedec.c and the references for implementation details + \cite{Mar79,MNW98}. + + @INPROCEEDINGS{Mar79, + author="Martin, G.N.N.", + title="Range encoding: an algorithm for removing redundancy from a digitised + message", + booktitle="Video \& Data Recording Conference", + year=1979, + address="Southampton", + month=Jul + } + @ARTICLE{MNW98, + author="Alistair Moffat and Radford Neal and Ian H. Witten", + title="Arithmetic Coding Revisited", + journal="{ACM} Transactions on Information Systems", + year=1998, + volume=16, + number=3, + pages="256--294", + month=Jul, + URL="http://www.stanford.edu/class/ee398/handouts/papers/Moffat98ArithmCoding.pdf" + }*/ + + + +/*Outputs a symbol, with a carry bit. + If there is a potential to propagate a carry over several symbols, they are + buffered until it can be determined whether or not an actual carry will + occur. + If the counter for the buffered symbols overflows, then the stream becomes + undecodable. + This gives a theoretical limit of a few billion symbols in a single packet on + 32-bit systems. + The alternative is to truncate the range in order to force a carry, but + requires similar carry tracking in the decoder, needlessly slowing it down.*/ +static void ec_enc_carry_out(ec_enc *_this,int _c){ + if(_c!=EC_SYM_MAX){ + /*No further carry propagation possible, flush buffer.*/ + int carry; + carry=_c>>EC_SYM_BITS; + /*Don't output a byte on the first write. + This compare should be taken care of by branch-prediction thereafter.*/ + if(_this->rem>=0)ec_byte_write1(_this->buf,_this->rem+carry); + if(_this->ext>0){ + unsigned sym; + sym=EC_SYM_MAX+carry&EC_SYM_MAX; + do ec_byte_write1(_this->buf,sym); + while(--(_this->ext)>0); + } + _this->rem=_c&EC_SYM_MAX; + } + else _this->ext++; +} + +static inline void ec_enc_normalize(ec_enc *_this){ + /*If the range is too small, output some bits and rescale it.*/ + while(_this->rng<=EC_CODE_BOT){ + ec_enc_carry_out(_this,(int)(_this->low>>EC_CODE_SHIFT)); + /*Move the next-to-high-order symbol into the high-order position.*/ + _this->low=_this->low<<EC_SYM_BITS&EC_CODE_TOP-1; + _this->rng<<=EC_SYM_BITS; + } +} + +void ec_enc_init(ec_enc *_this,ec_byte_buffer *_buf){ + _this->buf=_buf; + _this->rem=-1; + _this->ext=0; + _this->low=0; + _this->rng=EC_CODE_TOP; +} + +void ec_encode(ec_enc *_this,unsigned _fl,unsigned _fh,unsigned _ft){ + ec_uint32 r; + r=_this->rng/_ft; + if(_fl>0){ + _this->low+=_this->rng-IMUL32(r,(_ft-_fl)); + _this->rng=IMUL32(r,(_fh-_fl)); + } + else _this->rng-=IMUL32(r,(_ft-_fh)); + ec_enc_normalize(_this); +} + +void ec_encode_bin(ec_enc *_this,unsigned _fl,unsigned _fh,unsigned bits){ + ec_uint32 r, ft; + r=_this->rng>>bits; + ft = (ec_uint32)1<<bits; + if(_fl>0){ + _this->low+=_this->rng-IMUL32(r,(ft-_fl)); + _this->rng=IMUL32(r,(_fh-_fl)); + } + else _this->rng-=IMUL32(r,(ft-_fh)); + ec_enc_normalize(_this); +} + +long ec_enc_tell(ec_enc *_this,int _b){ + ec_uint32 r; + int l; + long nbits; + nbits=(ec_byte_bytes(_this->buf)+(_this->rem>=0)+_this->ext)*EC_SYM_BITS; + /*To handle the non-integral number of bits still left in the encoder state, + we compute the number of bits of low that must be encoded to ensure that + the value is inside the range for any possible subsequent bits. + Note that this is subtly different than the actual value we would end the + stream with, which tries to make as many of the trailing bits zeros as + possible.*/ + nbits+=EC_CODE_BITS; + nbits<<=_b; + l=EC_ILOG(_this->rng); + r=_this->rng>>l-16; + while(_b-->0){ + int b; + r=r*r>>15; + b=(int)(r>>16); + l=l<<1|b; + r>>=b; + } + return nbits-l; +} + +void ec_enc_done(ec_enc *_this){ + /*We compute the integer in the current interval that has the largest number + of trailing zeros, and write that to the stream. + This is guaranteed to yield the smallest possible encoding.*/ + if(_this->low){ + ec_uint32 end; + end=EC_CODE_TOP; + /*Ensure that the end value is in the range.*/ + if(end-_this->low>=_this->rng){ + ec_uint32 msk; + msk=EC_CODE_TOP-1; + do{ + msk>>=1; + end=_this->low+msk&~msk|msk+1; + } + while(end-_this->low>=_this->rng); + } + /*The remaining output is the next free end.*/ + while(end){ + ec_enc_carry_out(_this,end>>EC_CODE_SHIFT); + end=end<<EC_SYM_BITS&EC_CODE_TOP-1; + } + } + /*If we have a buffered byte flush it into the output buffer.*/ + if(_this->rem>0||_this->ext>0){ + ec_enc_carry_out(_this,0); + _this->rem=-1; + } +} diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/rate.c b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/rate.c new file mode 100644 index 0000000..7d3100c --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/rate.c @@ -0,0 +1,181 @@ +/* (C) 2007-2008 Jean-Marc Valin, CSIRO +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <math.h> +#include "modes.h" +#include "cwrs.h" +#include "arch.h" +#include "os_support.h" + +#include "entcode.h" +#include "rate.h" + + +#ifndef STATIC_MODES + +celt_int16_t **compute_alloc_cache(CELTMode *m, int C) +{ + int i, prevN; + celt_int16_t **bits; + const celt_int16_t *eBands = m->eBands; + + bits = celt_alloc(m->nbEBands*sizeof(celt_int16_t*)); + + prevN = -1; + for (i=0;i<m->nbEBands;i++) + { + int N = C*(eBands[i+1]-eBands[i]); + if (N == prevN && eBands[i] < m->pitchEnd) + { + bits[i] = bits[i-1]; + } else { + bits[i] = celt_alloc(MAX_PULSES*sizeof(celt_int16_t)); + get_required_bits(bits[i], N, MAX_PULSES, BITRES); + prevN = N; + } + } + return bits; +} + +#endif /* !STATIC_MODES */ + + + +static int interp_bits2pulses(const CELTMode *m, int *bits1, int *bits2, int *ebits1, int *ebits2, int total, int *bits, int *ebits, int len) +{ + int esum, psum; + int lo, hi; + int j; + const int C = CHANNELS(m); + SAVE_STACK; + lo = 0; + hi = 1<<BITRES; + while (hi-lo != 1) + { + int mid = (lo+hi)>>1; + psum = 0; + esum = 0; + for (j=0;j<len;j++) + { + esum += (((1<<BITRES)-mid)*ebits1[j] + mid*ebits2[j] + (1<<(BITRES-1)))>>BITRES; + psum += ((1<<BITRES)-mid)*bits1[j] + mid*bits2[j]; + } + if (psum > (total-C*esum)<<BITRES) + hi = mid; + else + lo = mid; + } + esum = 0; + psum = 0; + /*printf ("interp bisection gave %d\n", lo);*/ + for (j=0;j<len;j++) + { + ebits[j] = (((1<<BITRES)-lo)*ebits1[j] + lo*ebits2[j] + (1<<(BITRES-1)))>>BITRES; + esum += ebits[j]; + } + for (j=0;j<len;j++) + { + bits[j] = ((1<<BITRES)-lo)*bits1[j] + lo*bits2[j]; + psum += bits[j]; + } + /* Allocate the remaining bits */ + { + int left, perband; + left = ((total-C*esum)<<BITRES)-psum; + perband = left/len; + for (j=0;j<len;j++) + bits[j] += perband; + left = left-len*perband; + for (j=0;j<left;j++) + bits[j]++; + } + RESTORE_STACK; + return (total-C*esum)<<BITRES; +} + +void compute_allocation(const CELTMode *m, int *offsets, const int *stereo_mode, int total, int *pulses, int *ebits) +{ + int lo, hi, len, j; + int remaining_bits; + VARDECL(int, bits1); + VARDECL(int, bits2); + VARDECL(int, ebits1); + VARDECL(int, ebits2); + const int C = CHANNELS(m); + SAVE_STACK; + + len = m->nbEBands; + ALLOC(bits1, len, int); + ALLOC(bits2, len, int); + ALLOC(ebits1, len, int); + ALLOC(ebits2, len, int); + + lo = 0; + hi = m->nbAllocVectors - 1; + while (hi-lo != 1) + { + int psum = 0; + int mid = (lo+hi) >> 1; + for (j=0;j<len;j++) + { + bits1[j] = (m->allocVectors[mid*len+j] + offsets[j])<<BITRES; + if (bits1[j] < 0) + bits1[j] = 0; + psum += bits1[j]; + /*printf ("%d ", bits[j]);*/ + } + /*printf ("\n");*/ + if (psum > (total-C*m->energy_alloc[mid*(len+1)+len])<<BITRES) + hi = mid; + else + lo = mid; + /*printf ("lo = %d, hi = %d\n", lo, hi);*/ + } + /*printf ("interp between %d and %d\n", lo, hi);*/ + for (j=0;j<len;j++) + { + ebits1[j] = m->energy_alloc[lo*(len+1)+j]; + ebits2[j] = m->energy_alloc[hi*(len+1)+j]; + bits1[j] = m->allocVectors[lo*len+j] + offsets[j]; + bits2[j] = m->allocVectors[hi*len+j] + offsets[j]; + if (bits1[j] < 0) + bits1[j] = 0; + if (bits2[j] < 0) + bits2[j] = 0; + } + remaining_bits = interp_bits2pulses(m, bits1, bits2, ebits1, ebits2, total, pulses, ebits, len); + RESTORE_STACK; +} + diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/rate.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/rate.h new file mode 100644 index 0000000..8f931ff --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/rate.h @@ -0,0 +1,82 @@ +/* (C) 2007-2008 Jean-Marc Valin, CSIRO +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef RATE_H +#define RATE_H + +#define MAX_PULSES 128 +#define LOG_MAX_PULSES 7 + +#define BITRES 4 +#define BITROUND 8 +#define BITOVERFLOW 30000 + +static inline int bits2pulses(const CELTMode *m, const celt_int16_t *cache, int bits) +{ + int i; + int lo, hi; + lo = 0; + hi = MAX_PULSES-1; + + /* Instead of using the "bisection condition" we use a fixed number of + iterations because it should be faster */ + /*while (hi-lo != 1)*/ + for (i=0;i<LOG_MAX_PULSES;i++) + { + int mid = (lo+hi)>>1; + /* OPT: Make sure this is implemented with a conditional move */ + if (cache[mid] >= bits) + hi = mid; + else + lo = mid; + } + if (bits-cache[lo] <= cache[hi]-bits) + return lo; + else + return hi; +} + +/** Computes a cache of the pulses->bits mapping in each band */ +celt_int16_t **compute_alloc_cache(CELTMode *m, int C); + +/** Compute the pulse allocation, i.e. how many pulses will go in each + * band. + @param m mode + @param offsets Requested increase or decrease in the number of bits for + each band + @param total Number of bands + @param pulses Number of pulses per band (returned) + @return Total number of bits allocated +*/ +void compute_allocation(const CELTMode *m, int *offsets, const int *stereo_mode, int total, int *pulses, int *ebits); + + +#endif diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/stack_alloc.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/stack_alloc.h new file mode 100644 index 0000000..9fae6f5 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/stack_alloc.h @@ -0,0 +1,139 @@ +/* Copyright (C) 2002 Jean-Marc Valin */ +/** + @file stack_alloc.h + @brief Temporary memory allocation on stack +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef STACK_ALLOC_H +#define STACK_ALLOC_H + +#ifdef USE_ALLOCA +# ifdef WIN32 +# include <malloc.h> +# else +# ifdef HAVE_ALLOCA_H +# include <alloca.h> +# else +# include <stdlib.h> +# endif +# endif +#endif + +/** + * @def ALIGN(stack, size) + * + * Aligns the stack to a 'size' boundary + * + * @param stack Stack + * @param size New size boundary + */ + +/** + * @def PUSH(stack, size, type) + * + * Allocates 'size' elements of type 'type' on the stack + * + * @param stack Stack + * @param size Number of elements + * @param type Type of element + */ + +/** + * @def VARDECL(var) + * + * Declare variable on stack + * + * @param var Variable to declare + */ + +/** + * @def ALLOC(var, size, type) + * + * Allocate 'size' elements of 'type' on stack + * + * @param var Name of variable to allocate + * @param size Number of elements + * @param type Type of element + */ + + +#if defined(VAR_ARRAYS) + +#define VARDECL(type, var) +#define ALLOC(var, size, type) type var[size] +#define SAVE_STACK +#define RESTORE_STACK +#define ALLOC_STACK + +#elif defined(USE_ALLOCA) + +#define VARDECL(type, var) type *var +#define ALLOC(var, size, type) var = ((type*)alloca(sizeof(type)*(size))) +#define SAVE_STACK +#define RESTORE_STACK +#define ALLOC_STACK + +#else + +#ifdef ENABLE_VALGRIND + +#include <valgrind/memcheck.h> + +#define ALIGN(stack, size) ((stack) += ((size) - (long)(stack)) & ((size) - 1)) + +#define PUSH(stack, size, type) (VALGRIND_MAKE_NOACCESS(stack, 1000),ALIGN((stack),sizeof(type)/sizeof(char)),VALGRIND_MAKE_WRITABLE(stack, ((size)*sizeof(type)/sizeof(char))),(stack)+=((size)*sizeof(type)/sizeof(char)),(type*)((stack)-((size)*sizeof(type)/sizeof(char)))) +#define RESTORE_STACK ((global_stack = _saved_stack),VALGRIND_MAKE_NOACCESS(global_stack, 1000)) + +#else + +/* FIXME: Only align up to a certain size (not for structs) */ +#define ALIGN(stack, size) ((stack) += ((size) - (long)(stack)) & ((size) - 1)) +#define PUSH(stack, size, type) (ALIGN((stack),sizeof(type)/sizeof(char)),(stack)+=(size)*(sizeof(type)/sizeof(char)),(type*)((stack)-(size)*(sizeof(type)/sizeof(char)))) +#define RESTORE_STACK (global_stack = _saved_stack) + +#endif + +#ifdef CELT_C +char *global_stack=0; +#else +extern char *global_stack; +#endif + +#include "os_support.h" +#define VARDECL(type, var) type *var +#define ALLOC(var, size, type) var = PUSH(global_stack, size, type) +#define SAVE_STACK char *_saved_stack = global_stack; +#define ALLOC_STACK (global_stack = (global_stack==0) ? celt_alloc_scratch(GLOBAL_STACK_SIZE) : global_stack) + +#endif + + +#endif diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/testcelt.c b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/testcelt.c new file mode 100644 index 0000000..a27e304 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/testcelt.c @@ -0,0 +1,194 @@ +/* (C) 2007 Jean-Marc Valin, CSIRO +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "celt.h" +#include "arch.h" +#include <stdio.h> +#include <stdlib.h> +#include <math.h> +#include <string.h> + +int main(int argc, char *argv[]) +{ + char *inFile, *outFile; + FILE *fin, *fout; + CELTMode *mode=NULL; + CELTEncoder *enc; + CELTDecoder *dec; + int len; + celt_int32_t frame_size, channels; + int bytes_per_packet; + unsigned char data[1024]; + int rate; + int complexity; +#if !(defined (FIXED_POINT) && defined(STATIC_MODES)) + int i; + double rmsd = 0; +#endif + int count = 0; + celt_int32_t skip; + celt_int16_t *in, *out; + if (argc != 9 && argc != 8 && argc != 7) + { + fprintf (stderr, "Usage: testcelt <rate> <channels> <frame size> <bytes per packet> [<complexity> [packet loss rate]] <input> <output>\n"); + return 1; + } + + rate = atoi(argv[1]); + channels = atoi(argv[2]); + frame_size = atoi(argv[3]); + mode = celt051_mode_create(rate, channels, frame_size, NULL); + celt051_mode_info(mode, CELT_GET_LOOKAHEAD, &skip); + + if (mode == NULL) + { + fprintf(stderr, "failed to create a mode\n"); + return 1; + } + + bytes_per_packet = atoi(argv[4]); + if (bytes_per_packet < 0 || bytes_per_packet > 200) + { + fprintf (stderr, "bytes per packet must be between 10 and 200\n"); + return 1; + } + + inFile = argv[argc-2]; + fin = fopen(inFile, "rb"); + if (!fin) + { + fprintf (stderr, "Could not open input file %s\n", argv[argc-2]); + return 1; + } + outFile = argv[argc-1]; + fout = fopen(outFile, "wb+"); + if (!fout) + { + fprintf (stderr, "Could not open output file %s\n", argv[argc-1]); + return 1; + } + + /* Use mode4 for stereo and don't forget to change the value of CHANNEL above */ + enc = celt051_encoder_create(mode); + dec = celt051_decoder_create(mode); + + if (argc>7) + { + complexity=atoi(argv[5]); + celt051_encoder_ctl(enc,CELT_SET_COMPLEXITY(complexity)); + } + + celt051_mode_info(mode, CELT_GET_FRAME_SIZE, &frame_size); + celt051_mode_info(mode, CELT_GET_NB_CHANNELS, &channels); + in = (celt_int16_t*)malloc(frame_size*channels*sizeof(celt_int16_t)); + out = (celt_int16_t*)malloc(frame_size*channels*sizeof(celt_int16_t)); + while (!feof(fin)) + { + fread(in, sizeof(short), frame_size*channels, fin); + if (feof(fin)) + break; + len = celt051_encode(enc, in, in, data, bytes_per_packet); + if (len <= 0) + { + fprintf (stderr, "celt051_encode() returned %d\n", len); + return 1; + } + /* This is for simulating bit errors */ +#if 0 + int errors = 0; + int eid = 0; + /* This simulates random bit error */ + for (i=0;i<len*8;i++) + { + if (rand()%atoi(argv[8])==0) + { + if (i<64) + { + errors++; + eid = i; + } + data[i/8] ^= 1<<(7-(i%8)); + } + } + if (errors == 1) + data[eid/8] ^= 1<<(7-(eid%8)); + else if (errors%2 == 1) + data[rand()%8] ^= 1<<rand()%8; +#endif +#if 1 /* Set to zero to use the encoder's output instead */ + /* This is to simulate packet loss */ + if (argc==10 && rand()%1000<atoi(argv[argc-3])) + /*if (errors && (errors%2==0))*/ + celt051_decode(dec, NULL, len, out); + else + celt051_decode(dec, data, len, out); +#else + for (i=0;i<frame_size*channels;i++) + out[i] = in[i]; +#endif +#if !(defined (FIXED_POINT) && defined(STATIC_MODES)) + for (i=0;i<frame_size*channels;i++) + { + rmsd += (in[i]-out[i])*1.0*(in[i]-out[i]); + /*out[i] -= in[i];*/ + } +#endif + count++; + fwrite(out+skip, sizeof(short), (frame_size-skip)*channels, fout); + skip = 0; + } + PRINT_MIPS(stderr); + + celt051_encoder_destroy(enc); + celt051_decoder_destroy(dec); + fclose(fin); + fclose(fout); +#if !(defined (FIXED_POINT) && defined(STATIC_MODES)) + if (rmsd > 0) + { + rmsd = sqrt(rmsd/(1.0*frame_size*channels*count)); + fprintf (stderr, "Error: encoder doesn't match decoder\n"); + fprintf (stderr, "RMS mismatch is %f\n", rmsd); + return 1; + } else { + fprintf (stderr, "Encoder matches decoder!!\n"); + } +#endif + celt051_mode_destroy(mode); + free(in); + free(out); + return 0; +} + diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/vq.c b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/vq.c new file mode 100644 index 0000000..ff749e4 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/vq.c @@ -0,0 +1,369 @@ +/* (C) 2007-2008 Jean-Marc Valin, CSIRO +*/ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "mathops.h" +#include "cwrs.h" +#include "vq.h" +#include "arch.h" +#include "os_support.h" + +/** Takes the pitch vector and the decoded residual vector, computes the gain + that will give ||p+g*y||=1 and mixes the residual with the pitch. */ +static void mix_pitch_and_residual(int * restrict iy, celt_norm_t * restrict X, int N, int K, const celt_norm_t * restrict P) +{ + int i; + celt_word32_t Ryp, Ryy, Rpp; + celt_word16_t ryp, ryy, rpp; + celt_word32_t g; + VARDECL(celt_norm_t, y); +#ifdef FIXED_POINT + int yshift; +#endif + SAVE_STACK; +#ifdef FIXED_POINT + yshift = 13-celt_ilog2(K); +#endif + ALLOC(y, N, celt_norm_t); + + /*for (i=0;i<N;i++) + printf ("%d ", iy[i]);*/ + Rpp = 0; + i=0; + do { + Rpp = MAC16_16(Rpp,P[i],P[i]); + y[i] = SHL16(iy[i],yshift); + } while (++i < N); + + Ryp = 0; + Ryy = 0; + /* If this doesn't generate a dual MAC (on supported archs), fire the compiler guy */ + i=0; + do { + Ryp = MAC16_16(Ryp, y[i], P[i]); + Ryy = MAC16_16(Ryy, y[i], y[i]); + } while (++i < N); + + ryp = ROUND16(Ryp,14); + ryy = ROUND16(Ryy,14); + rpp = ROUND16(Rpp,14); + /* g = (sqrt(Ryp^2 + Ryy - Rpp*Ryy)-Ryp)/Ryy */ + g = MULT16_32_Q15(celt_sqrt(MAC16_16(Ryy, ryp,ryp) - MULT16_16(ryy,rpp)) - ryp, + celt_rcp(SHR32(Ryy,9))); + + i=0; + do + X[i] = ADD16(P[i], ROUND16(MULT16_16(y[i], g),11)); + while (++i < N); + + RESTORE_STACK; +} + + +void alg_quant(celt_norm_t *X, celt_mask_t *W, int N, int K, celt_norm_t *P, ec_enc *enc) +{ + VARDECL(celt_norm_t, y); + VARDECL(int, iy); + VARDECL(celt_word16_t, signx); + int j, is; + celt_word16_t s; + int pulsesLeft; + celt_word32_t sum; + celt_word32_t xy, yy, yp; + celt_word16_t Rpp; + int N_1; /* Inverse of N, in Q14 format (even for float) */ +#ifdef FIXED_POINT + int yshift; +#endif + SAVE_STACK; + +#ifdef FIXED_POINT + yshift = 13-celt_ilog2(K); +#endif + + ALLOC(y, N, celt_norm_t); + ALLOC(iy, N, int); + ALLOC(signx, N, celt_word16_t); + N_1 = 512/N; + + sum = 0; + j=0; do { + X[j] -= P[j]; + if (X[j]>0) + signx[j]=1; + else { + signx[j]=-1; + X[j]=-X[j]; + P[j]=-P[j]; + } + iy[j] = 0; + y[j] = 0; + sum = MAC16_16(sum, P[j],P[j]); + } while (++j<N); + Rpp = ROUND16(sum, NORM_SHIFT); + + celt_assert2(Rpp<=NORM_SCALING, "Rpp should never have a norm greater than unity"); + + xy = yy = yp = 0; + + pulsesLeft = K; + + /* Do a pre-search by projecting on the pyramid */ + if (K > (N>>1)) + { + celt_word16_t rcp; + sum=0; + j=0; do { + sum += X[j]; + } while (++j<N); + if (sum == 0) + { + X[0] = 16384; + sum = 16384; + } + /* Do we have sufficient accuracy here? */ + rcp = EXTRACT16(MULT16_32_Q16(K-1, celt_rcp(sum))); + /*rcp = DIV32(SHL32(EXTEND32(K-1),15),EPSILON+sum);*/ + /*printf ("%d (%d %d)\n", rcp, N, K);*/ + j=0; do { +#ifdef FIXED_POINT + /* It's really important to round *towards zero* here */ + iy[j] = MULT16_16_Q15(X[j],rcp); +#else + iy[j] = floor(rcp*X[j]); +#endif + y[j] = SHL16(iy[j],yshift); + yy = MAC16_16(yy, y[j],y[j]); + xy = MAC16_16(xy, X[j],y[j]); + yp += P[j]*y[j]; + y[j] *= 2; + pulsesLeft -= iy[j]; + } while (++j<N); + } + /*if (pulsesLeft > N+2) + printf ("%d / %d (%d)\n", pulsesLeft, K, N);*/ + celt_assert2(pulsesLeft>=1, "Allocated too many pulses in the quick pass"); + + while (pulsesLeft > 1) + { + int pulsesAtOnce=1; + int best_id; + celt_word16_t magnitude; + celt_word32_t best_num = -VERY_LARGE16; + celt_word16_t best_den = 0; +#ifdef FIXED_POINT + int rshift; +#endif + /* Decide on how many pulses to find at once */ + pulsesAtOnce = (pulsesLeft*N_1)>>9; /* pulsesLeft/N */ + if (pulsesAtOnce<1) + pulsesAtOnce = 1; +#ifdef FIXED_POINT + rshift = yshift+1+celt_ilog2(K-pulsesLeft+pulsesAtOnce); +#endif + magnitude = SHL16(pulsesAtOnce, yshift); + + best_id = 0; + /* The squared magnitude term gets added anyway, so we might as well + add it outside the loop */ + yy = MAC16_16(yy, magnitude,magnitude); + /* Choose between fast and accurate strategy depending on where we are in the search */ + /* This should ensure that anything we can process will have a better score */ + j=0; + do { + celt_word16_t Rxy, Ryy; + /* Select sign based on X[j] alone */ + s = magnitude; + /* Temporary sums of the new pulse(s) */ + Rxy = EXTRACT16(SHR32(MAC16_16(xy, s,X[j]),rshift)); + /* We're multiplying y[j] by two so we don't have to do it here */ + Ryy = EXTRACT16(SHR32(MAC16_16(yy, s,y[j]),rshift)); + + /* Approximate score: we maximise Rxy/sqrt(Ryy) (we're guaranteed that + Rxy is positive because the sign is pre-computed) */ + Rxy = MULT16_16_Q15(Rxy,Rxy); + /* The idea is to check for num/den >= best_num/best_den, but that way + we can do it without any division */ + /* OPT: Make sure to use conditional moves here */ + if (MULT16_16(best_den, Rxy) > MULT16_16(Ryy, best_num)) + { + best_den = Ryy; + best_num = Rxy; + best_id = j; + } + } while (++j<N); + + j = best_id; + is = pulsesAtOnce; + s = SHL16(is, yshift); + + /* Updating the sums of the new pulse(s) */ + xy = xy + MULT16_16(s,X[j]); + /* We're multiplying y[j] by two so we don't have to do it here */ + yy = yy + MULT16_16(s,y[j]); + yp = yp + MULT16_16(s, P[j]); + + /* Only now that we've made the final choice, update y/iy */ + /* Multiplying y[j] by 2 so we don't have to do it everywhere else */ + y[j] += 2*s; + iy[j] += is; + pulsesLeft -= pulsesAtOnce; + } + + if (pulsesLeft > 0) + { + celt_word16_t g; + celt_word16_t best_num = -VERY_LARGE16; + celt_word16_t best_den = 0; + int best_id = 0; + celt_word16_t magnitude = SHL16(1, yshift); + + /* The squared magnitude term gets added anyway, so we might as well + add it outside the loop */ + yy = MAC16_16(yy, magnitude,magnitude); + j=0; + do { + celt_word16_t Rxy, Ryy, Ryp; + celt_word16_t num; + /* Select sign based on X[j] alone */ + s = magnitude; + /* Temporary sums of the new pulse(s) */ + Rxy = ROUND16(MAC16_16(xy, s,X[j]), 14); + /* We're multiplying y[j] by two so we don't have to do it here */ + Ryy = ROUND16(MAC16_16(yy, s,y[j]), 14); + Ryp = ROUND16(MAC16_16(yp, s,P[j]), 14); + + /* Compute the gain such that ||p + g*y|| = 1 + ...but instead, we compute g*Ryy to avoid dividing */ + g = celt_psqrt(MULT16_16(Ryp,Ryp) + MULT16_16(Ryy,QCONST16(1.f,14)-Rpp)) - Ryp; + /* Knowing that gain, what's the error: (x-g*y)^2 + (result is negated and we discard x^2 because it's constant) */ + /* score = 2*g*Rxy - g*g*Ryy;*/ +#ifdef FIXED_POINT + /* No need to multiply Rxy by 2 because we did it earlier */ + num = MULT16_16_Q15(ADD16(SUB16(Rxy,g),Rxy),g); +#else + num = g*(2*Rxy-g); +#endif + if (MULT16_16(best_den, num) > MULT16_16(Ryy, best_num)) + { + best_den = Ryy; + best_num = num; + best_id = j; + } + } while (++j<N); + iy[best_id] += 1; + } + j=0; + do { + P[j] = MULT16_16(signx[j],P[j]); + X[j] = MULT16_16(signx[j],X[j]); + if (signx[j] < 0) + iy[j] = -iy[j]; + } while (++j<N); + encode_pulses(iy, N, K, enc); + + /* Recompute the gain in one pass to reduce the encoder-decoder mismatch + due to the recursive computation used in quantisation. */ + mix_pitch_and_residual(iy, X, N, K, P); + RESTORE_STACK; +} + + +/** Decode pulse vector and combine the result with the pitch vector to produce + the final normalised signal in the current band. */ +void alg_unquant(celt_norm_t *X, int N, int K, celt_norm_t *P, ec_dec *dec) +{ + VARDECL(int, iy); + SAVE_STACK; + ALLOC(iy, N, int); + decode_pulses(iy, N, K, dec); + mix_pitch_and_residual(iy, X, N, K, P); + RESTORE_STACK; +} + +void renormalise_vector(celt_norm_t *X, celt_word16_t value, int N, int stride) +{ + int i; + celt_word32_t E = EPSILON; + celt_word16_t g; + celt_norm_t *xptr = X; + for (i=0;i<N;i++) + { + E = MAC16_16(E, *xptr, *xptr); + xptr += stride; + } + + g = MULT16_16_Q15(value,celt_rcp(SHL32(celt_sqrt(E),9))); + xptr = X; + for (i=0;i<N;i++) + { + *xptr = PSHR32(MULT16_16(g, *xptr),8); + xptr += stride; + } +} + +static void fold(const CELTMode *m, int N, celt_norm_t *Y, celt_norm_t * restrict P, int N0, int B) +{ + int j; + const int C = CHANNELS(m); + int id = N0 % (C*B); + /* Here, we assume that id will never be greater than N0, i.e. that + no band is wider than N0. In the unlikely case it happens, we set + everything to zero */ + if (id+C*N>N0) + for (j=0;j<C*N;j++) + P[j] = 0; + else + for (j=0;j<C*N;j++) + P[j] = Y[id++]; +} + +#define KGAIN 6 + +void intra_fold(const CELTMode *m, celt_norm_t * restrict x, int N, int K, celt_norm_t *Y, celt_norm_t * restrict P, int N0, int B) +{ + celt_word16_t pred_gain; + const int C = CHANNELS(m); + + if (K==0) + pred_gain = Q15ONE; + else + pred_gain = celt_div((celt_word32_t)MULT16_16(Q15_ONE,N),(celt_word32_t)(N+KGAIN*K)); + + fold(m, N, Y, P, N0, B); + + renormalise_vector(P, pred_gain, C*N, 1); +} + diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/vq.h b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/vq.h new file mode 100644 index 0000000..1202cb0 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/libcelt/vq.h @@ -0,0 +1,79 @@ +/* (C) 2007-2008 Jean-Marc Valin, CSIRO +*/ +/** + @file vq.h + @brief Vector quantisation of the residual + */ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef VQ_H +#define VQ_H + +#include "entenc.h" +#include "entdec.h" +#include "modes.h" + +/** Algebraic pulse-vector quantiser. The signal x is replaced by the sum of + * the pitch and a combination of pulses such that its norm is still equal + * to 1. This is the function that will typically require the most CPU. + * @param x Residual signal to quantise/encode (returns quantised version) + * @param W Perceptual weight to use when optimising (currently unused) + * @param N Number of samples to encode + * @param K Number of pulses to use + * @param p Pitch vector (it is assumed that p+x is a unit vector) + * @param enc Entropy encoder state +*/ +void alg_quant(celt_norm_t *X, celt_mask_t *W, int N, int K, celt_norm_t *P, ec_enc *enc); + +/** Algebraic pulse decoder + * @param x Decoded normalised spectrum (returned) + * @param N Number of samples to decode + * @param K Number of pulses to use + * @param p Pitch vector (automatically added to x) + * @param dec Entropy decoder state + */ +void alg_unquant(celt_norm_t *X, int N, int K, celt_norm_t *P, ec_dec *dec); + +void renormalise_vector(celt_norm_t *X, celt_word16_t value, int N, int stride); + +/** Intra-frame predictor that matches a section of the current frame (at lower + * frequencies) to encode the current band. + * @param x Residual signal to quantise/encode (returns quantised version) + * @param W Perceptual weight + * @param N Number of samples to encode + * @param K Number of pulses to use + * @param Y Lower frequency spectrum to use, normalised to the same standard deviation + * @param P Pitch vector (it is assumed that p+x is a unit vector) + * @param B Stride (number of channels multiplied by the number of MDCTs per frame) + * @param N0 Number of valid offsets + */ +void intra_fold(const CELTMode *m, celt_norm_t * restrict x, int N, int K, celt_norm_t *Y, celt_norm_t * restrict P, int N0, int B); + +#endif /* VQ_H */ diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/ltmain.sh b/tizen/distrib/remote/common/celt-0.5.1.3/ltmain.sh new file mode 100644 index 0000000..0bf3848 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/ltmain.sh @@ -0,0 +1,6964 @@ +# ltmain.sh - Provide generalized library-building support services. +# NOTE: Changing this file will not affect anything until you rerun configure. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, +# 2007, 2008 Free Software Foundation, Inc. +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 +# +# 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. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +basename="s,^.*/,,g" + +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh +# is ksh but when the shell is invoked as "sh" and the current value of +# the _XPG environment variable is not equal to 1 (one), the special +# positional parameter $0, within a function call, is the name of the +# function. +progpath="$0" + +# The name of this program: +progname=`echo "$progpath" | $SED $basename` +modename="$progname" + +# Global variables: +EXIT_SUCCESS=0 +EXIT_FAILURE=1 + +PROGRAM=ltmain.sh +PACKAGE=libtool +VERSION="1.5.26 Debian 1.5.26-4" +TIMESTAMP=" (1.1220.2.493 2008/02/01 16:58:18)" + +# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac +fi +BIN_SH=xpg4; export BIN_SH # for Tru64 +DUALCASE=1; export DUALCASE # for MKS sh + +# Check that we have a working $echo. +if test "X$1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X$1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then + # Yippee, $echo works! + : +else + # Restart under the correct shell, and then maybe $echo will work. + exec $SHELL "$progpath" --no-reexec ${1+"$@"} +fi + +if test "X$1" = X--fallback-echo; then + # used as fallback echo + shift + cat <<EOF +$* +EOF + exit $EXIT_SUCCESS +fi + +default_mode= +help="Try \`$progname --help' for more information." +magic="%%%MAGIC variable%%%" +mkdir="mkdir" +mv="mv -f" +rm="rm -f" + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed="${SED}"' -e 1s/^X//' +sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g' +# test EBCDIC or ASCII +case `echo X|tr X '\101'` in + A) # ASCII based system + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr + SP2NL='tr \040 \012' + NL2SP='tr \015\012 \040\040' + ;; + *) # EBCDIC based system + SP2NL='tr \100 \n' + NL2SP='tr \r\n \100\100' + ;; +esac + +# NLS nuisances. +# Only set LANG and LC_ALL to C if already set. +# These must not be set unconditionally because not all systems understand +# e.g. LANG=C (notably SCO). +# We save the old values to restore during execute mode. +lt_env= +for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES +do + eval "if test \"\${$lt_var+set}\" = set; then + save_$lt_var=\$$lt_var + lt_env=\"$lt_var=\$$lt_var \$lt_env\" + $lt_var=C + export $lt_var + fi" +done + +if test -n "$lt_env"; then + lt_env="env $lt_env" +fi + +# Make sure IFS has a sensible default +lt_nl=' +' +IFS=" $lt_nl" + +if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then + $echo "$modename: not configured to build any kind of library" 1>&2 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 + exit $EXIT_FAILURE +fi + +# Global variables. +mode=$default_mode +nonopt= +prev= +prevopt= +run= +show="$echo" +show_help= +execute_dlfiles= +duplicate_deps=no +preserve_args= +lo2o="s/\\.lo\$/.${objext}/" +o2lo="s/\\.${objext}\$/.lo/" +extracted_archives= +extracted_serial=0 + +##################################### +# Shell function definitions: +# This seems to be the best place for them + +# func_mktempdir [string] +# Make a temporary directory that won't clash with other running +# libtool processes, and avoids race conditions if possible. If +# given, STRING is the basename for that directory. +func_mktempdir () +{ + my_template="${TMPDIR-/tmp}/${1-$progname}" + + if test "$run" = ":"; then + # Return a directory name, but don't create it in dry-run mode + my_tmpdir="${my_template}-$$" + else + + # If mktemp works, use that first and foremost + my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` + + if test ! -d "$my_tmpdir"; then + # Failing that, at least try and use $RANDOM to avoid a race + my_tmpdir="${my_template}-${RANDOM-0}$$" + + save_mktempdir_umask=`umask` + umask 0077 + $mkdir "$my_tmpdir" + umask $save_mktempdir_umask + fi + + # If we're not in dry-run mode, bomb out on failure + test -d "$my_tmpdir" || { + $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2 + exit $EXIT_FAILURE + } + fi + + $echo "X$my_tmpdir" | $Xsed +} + + +# func_win32_libid arg +# return the library type of file 'arg' +# +# Need a lot of goo to handle *both* DLLs and import libs +# Has to be a shell function in order to 'eat' the argument +# that is supplied when $file_magic_command is called. +func_win32_libid () +{ + win32_libid_type="unknown" + win32_fileres=`file -L $1 2>/dev/null` + case $win32_fileres in + *ar\ archive\ import\ library*) # definitely import + win32_libid_type="x86 archive import" + ;; + *ar\ archive*) # could be an import, or static + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \ + $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then + win32_nmres=`eval $NM -f posix -A $1 | \ + $SED -n -e '1,100{ + / I /{ + s,.*,import, + p + q + } + }'` + case $win32_nmres in + import*) win32_libid_type="x86 archive import";; + *) win32_libid_type="x86 archive static";; + esac + fi + ;; + *DLL*) + win32_libid_type="x86 DLL" + ;; + *executable*) # but shell scripts are "executable" too... + case $win32_fileres in + *MS\ Windows\ PE\ Intel*) + win32_libid_type="x86 DLL" + ;; + esac + ;; + esac + $echo $win32_libid_type +} + + +# func_infer_tag arg +# Infer tagged configuration to use if any are available and +# if one wasn't chosen via the "--tag" command line option. +# Only attempt this if the compiler in the base compile +# command doesn't match the default compiler. +# arg is usually of the form 'gcc ...' +func_infer_tag () +{ + if test -n "$available_tags" && test -z "$tagname"; then + CC_quoted= + for arg in $CC; do + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + CC_quoted="$CC_quoted $arg" + done + case $@ in + # Blanks in the command may have been stripped by the calling shell, + # but not from the CC environment variable when configure was run. + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;; + # Blanks at the start of $base_compile will cause this to fail + # if we don't check for them as well. + *) + for z in $available_tags; do + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then + # Evaluate the configuration. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" + CC_quoted= + for arg in $CC; do + # Double-quote args containing other shell metacharacters. + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + CC_quoted="$CC_quoted $arg" + done + case "$@ " in + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) + # The compiler in the base compile command matches + # the one in the tagged configuration. + # Assume this is the tagged configuration we want. + tagname=$z + break + ;; + esac + fi + done + # If $tagname still isn't set, then no tagged configuration + # was found and let the user know that the "--tag" command + # line option must be used. + if test -z "$tagname"; then + $echo "$modename: unable to infer tagged configuration" + $echo "$modename: specify a tag with \`--tag'" 1>&2 + exit $EXIT_FAILURE +# else +# $echo "$modename: using $tagname tagged configuration" + fi + ;; + esac + fi +} + + +# func_extract_an_archive dir oldlib +func_extract_an_archive () +{ + f_ex_an_ar_dir="$1"; shift + f_ex_an_ar_oldlib="$1" + + $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)" + $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $? + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then + : + else + $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2 + exit $EXIT_FAILURE + fi +} + +# func_extract_archives gentop oldlib ... +func_extract_archives () +{ + my_gentop="$1"; shift + my_oldlibs=${1+"$@"} + my_oldobjs="" + my_xlib="" + my_xabs="" + my_xdir="" + my_status="" + + $show "${rm}r $my_gentop" + $run ${rm}r "$my_gentop" + $show "$mkdir $my_gentop" + $run $mkdir "$my_gentop" + my_status=$? + if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then + exit $my_status + fi + + for my_xlib in $my_oldlibs; do + # Extract the objects. + case $my_xlib in + [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; + *) my_xabs=`pwd`"/$my_xlib" ;; + esac + my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'` + my_xlib_u=$my_xlib + while :; do + case " $extracted_archives " in + *" $my_xlib_u "*) + extracted_serial=`expr $extracted_serial + 1` + my_xlib_u=lt$extracted_serial-$my_xlib ;; + *) break ;; + esac + done + extracted_archives="$extracted_archives $my_xlib_u" + my_xdir="$my_gentop/$my_xlib_u" + + $show "${rm}r $my_xdir" + $run ${rm}r "$my_xdir" + $show "$mkdir $my_xdir" + $run $mkdir "$my_xdir" + exit_status=$? + if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then + exit $exit_status + fi + case $host in + *-darwin*) + $show "Extracting $my_xabs" + # Do not bother doing anything if just a dry run + if test -z "$run"; then + darwin_orig_dir=`pwd` + cd $my_xdir || exit $? + darwin_archive=$my_xabs + darwin_curdir=`pwd` + darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'` + darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null` + if test -n "$darwin_arches"; then + darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'` + darwin_arch= + $show "$darwin_base_archive has multiple architectures $darwin_arches" + for darwin_arch in $darwin_arches ; do + mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}" + lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" + cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" + func_extract_an_archive "`pwd`" "${darwin_base_archive}" + cd "$darwin_curdir" + $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" + done # $darwin_arches + ## Okay now we have a bunch of thin objects, gotta fatten them up :) + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP` + darwin_file= + darwin_files= + for darwin_file in $darwin_filelist; do + darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP` + lipo -create -output "$darwin_file" $darwin_files + done # $darwin_filelist + ${rm}r unfat-$$ + cd "$darwin_orig_dir" + else + cd "$darwin_orig_dir" + func_extract_an_archive "$my_xdir" "$my_xabs" + fi # $darwin_arches + fi # $run + ;; + *) + func_extract_an_archive "$my_xdir" "$my_xabs" + ;; + esac + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` + done + func_extract_archives_result="$my_oldobjs" +} +# End of Shell function definitions +##################################### + +# Darwin sucks +eval std_shrext=\"$shrext_cmds\" + +disable_libs=no + +# Parse our command line options once, thoroughly. +while test "$#" -gt 0 +do + arg="$1" + shift + + case $arg in + -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;; + *) optarg= ;; + esac + + # If the previous option needs an argument, assign it. + if test -n "$prev"; then + case $prev in + execute_dlfiles) + execute_dlfiles="$execute_dlfiles $arg" + ;; + tag) + tagname="$arg" + preserve_args="${preserve_args}=$arg" + + # Check whether tagname contains only valid characters + case $tagname in + *[!-_A-Za-z0-9,/]*) + $echo "$progname: invalid tag name: $tagname" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + case $tagname in + CC) + # Don't test for the "default" C tag, as we know, it's there, but + # not specially marked. + ;; + *) + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then + taglist="$taglist $tagname" + # Evaluate the configuration. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`" + else + $echo "$progname: ignoring unknown tag $tagname" 1>&2 + fi + ;; + esac + ;; + *) + eval "$prev=\$arg" + ;; + esac + + prev= + prevopt= + continue + fi + + # Have we seen a non-optional argument yet? + case $arg in + --help) + show_help=yes + ;; + + --version) + echo "\ +$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP + +Copyright (C) 2008 Free Software Foundation, Inc. +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + exit $? + ;; + + --config) + ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath + # Now print the configurations for the tags. + for tagname in $taglist; do + ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath" + done + exit $? + ;; + + --debug) + $echo "$progname: enabling shell trace mode" + set -x + preserve_args="$preserve_args $arg" + ;; + + --dry-run | -n) + run=: + ;; + + --features) + $echo "host: $host" + if test "$build_libtool_libs" = yes; then + $echo "enable shared libraries" + else + $echo "disable shared libraries" + fi + if test "$build_old_libs" = yes; then + $echo "enable static libraries" + else + $echo "disable static libraries" + fi + exit $? + ;; + + --finish) mode="finish" ;; + + --mode) prevopt="--mode" prev=mode ;; + --mode=*) mode="$optarg" ;; + + --preserve-dup-deps) duplicate_deps="yes" ;; + + --quiet | --silent) + show=: + preserve_args="$preserve_args $arg" + ;; + + --tag) + prevopt="--tag" + prev=tag + preserve_args="$preserve_args --tag" + ;; + --tag=*) + set tag "$optarg" ${1+"$@"} + shift + prev=tag + preserve_args="$preserve_args --tag" + ;; + + -dlopen) + prevopt="-dlopen" + prev=execute_dlfiles + ;; + + -*) + $echo "$modename: unrecognized option \`$arg'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; + + *) + nonopt="$arg" + break + ;; + esac +done + +if test -n "$prevopt"; then + $echo "$modename: option \`$prevopt' requires an argument" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE +fi + +case $disable_libs in +no) + ;; +shared) + build_libtool_libs=no + build_old_libs=yes + ;; +static) + build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` + ;; +esac + +# If this variable is set in any of the actions, the command in it +# will be execed at the end. This prevents here-documents from being +# left over by shells. +exec_cmd= + +if test -z "$show_help"; then + + # Infer the operation mode. + if test -z "$mode"; then + $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2 + $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2 + case $nonopt in + *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*) + mode=link + for arg + do + case $arg in + -c) + mode=compile + break + ;; + esac + done + ;; + *db | *dbx | *strace | *truss) + mode=execute + ;; + *install*|cp|mv) + mode=install + ;; + *rm) + mode=uninstall + ;; + *) + # If we have no mode, but dlfiles were specified, then do execute mode. + test -n "$execute_dlfiles" && mode=execute + + # Just use the default operation mode. + if test -z "$mode"; then + if test -n "$nonopt"; then + $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2 + else + $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2 + fi + fi + ;; + esac + fi + + # Only execute mode is allowed to have -dlopen flags. + if test -n "$execute_dlfiles" && test "$mode" != execute; then + $echo "$modename: unrecognized option \`-dlopen'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Change the help message to a mode-specific one. + generic_help="$help" + help="Try \`$modename --help --mode=$mode' for more information." + + # These modes are in order of execution frequency so that they run quickly. + case $mode in + # libtool compile mode + compile) + modename="$modename: compile" + # Get the compilation command and the source file. + base_compile= + srcfile="$nonopt" # always keep a non-empty value in "srcfile" + suppress_opt=yes + suppress_output= + arg_mode=normal + libobj= + later= + + for arg + do + case $arg_mode in + arg ) + # do not "continue". Instead, add this to base_compile + lastarg="$arg" + arg_mode=normal + ;; + + target ) + libobj="$arg" + arg_mode=normal + continue + ;; + + normal ) + # Accept any command-line options. + case $arg in + -o) + if test -n "$libobj" ; then + $echo "$modename: you cannot specify \`-o' more than once" 1>&2 + exit $EXIT_FAILURE + fi + arg_mode=target + continue + ;; + + -static | -prefer-pic | -prefer-non-pic) + later="$later $arg" + continue + ;; + + -no-suppress) + suppress_opt=no + continue + ;; + + -Xcompiler) + arg_mode=arg # the next one goes into the "base_compile" arg list + continue # The current "srcfile" will either be retained or + ;; # replaced later. I would guess that would be a bug. + + -Wc,*) + args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"` + lastarg= + save_ifs="$IFS"; IFS=',' + for arg in $args; do + IFS="$save_ifs" + + # Double-quote args containing other shell metacharacters. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + lastarg="$lastarg $arg" + done + IFS="$save_ifs" + lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"` + + # Add the arguments to base_compile. + base_compile="$base_compile $lastarg" + continue + ;; + + * ) + # Accept the current argument as the source file. + # The previous "srcfile" becomes the current argument. + # + lastarg="$srcfile" + srcfile="$arg" + ;; + esac # case $arg + ;; + esac # case $arg_mode + + # Aesthetically quote the previous argument. + lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"` + + case $lastarg in + # Double-quote args containing other shell metacharacters. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, and some SunOS ksh mistreat backslash-escaping + # in scan sets (worked around with variable expansion), + # and furthermore cannot handle '|' '&' '(' ')' in scan sets + # at all, so we specify them separately. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + lastarg="\"$lastarg\"" + ;; + esac + + base_compile="$base_compile $lastarg" + done # for arg + + case $arg_mode in + arg) + $echo "$modename: you must specify an argument for -Xcompile" + exit $EXIT_FAILURE + ;; + target) + $echo "$modename: you must specify a target with \`-o'" 1>&2 + exit $EXIT_FAILURE + ;; + *) + # Get the name of the library object. + [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'` + ;; + esac + + # Recognize several different file suffixes. + # If the user specifies -o file.o, it is replaced with file.lo + xform='[cCFSifmso]' + case $libobj in + *.ada) xform=ada ;; + *.adb) xform=adb ;; + *.ads) xform=ads ;; + *.asm) xform=asm ;; + *.c++) xform=c++ ;; + *.cc) xform=cc ;; + *.ii) xform=ii ;; + *.class) xform=class ;; + *.cpp) xform=cpp ;; + *.cxx) xform=cxx ;; + *.[fF][09]?) xform=[fF][09]. ;; + *.for) xform=for ;; + *.java) xform=java ;; + *.obj) xform=obj ;; + *.sx) xform=sx ;; + esac + + libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` + + case $libobj in + *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;; + *) + $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + func_infer_tag $base_compile + + for arg in $later; do + case $arg in + -static) + build_old_libs=yes + continue + ;; + + -prefer-pic) + pic_mode=yes + continue + ;; + + -prefer-non-pic) + pic_mode=no + continue + ;; + esac + done + + qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"` + case $qlibobj in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + qlibobj="\"$qlibobj\"" ;; + esac + test "X$libobj" != "X$qlibobj" \ + && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \ + && $echo "$modename: libobj name \`$libobj' may not contain shell special characters." + objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` + xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$obj"; then + xdir= + else + xdir=$xdir/ + fi + lobj=${xdir}$objdir/$objname + + if test -z "$base_compile"; then + $echo "$modename: you must specify a compilation command" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Delete any leftover library objects. + if test "$build_old_libs" = yes; then + removelist="$obj $lobj $libobj ${libobj}T" + else + removelist="$lobj $libobj ${libobj}T" + fi + + $run $rm $removelist + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 + + # On Cygwin there's no "real" PIC flag so we must build both object types + case $host_os in + cygwin* | mingw* | pw32* | os2*) + pic_mode=default + ;; + esac + if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then + # non-PIC code in shared libraries is not supported + pic_mode=default + fi + + # Calculate the filename of the output object if compiler does + # not support -o with -c + if test "$compiler_c_o" = no; then + output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} + lockfile="$output_obj.lock" + removelist="$removelist $output_obj $lockfile" + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 + else + output_obj= + need_locks=no + lockfile= + fi + + # Lock this critical section if it is needed + # We use this script file to make the link, it avoids creating a new file + if test "$need_locks" = yes; then + until $run ln "$progpath" "$lockfile" 2>/dev/null; do + $show "Waiting for $lockfile to be removed" + sleep 2 + done + elif test "$need_locks" = warn; then + if test -f "$lockfile"; then + $echo "\ +*** ERROR, $lockfile exists and contains: +`cat $lockfile 2>/dev/null` + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $run $rm $removelist + exit $EXIT_FAILURE + fi + $echo "$srcfile" > "$lockfile" + fi + + if test -n "$fix_srcfile_path"; then + eval srcfile=\"$fix_srcfile_path\" + fi + qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"` + case $qsrcfile in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + qsrcfile="\"$qsrcfile\"" ;; + esac + + $run $rm "$libobj" "${libobj}T" + + # Create a libtool object file (analogous to a ".la" file), + # but don't create it if we're doing a dry run. + test -z "$run" && cat > ${libobj}T <<EOF +# $libobj - a libtool object file +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +EOF + + # Only build a PIC object if we are building libtool libraries. + if test "$build_libtool_libs" = yes; then + # Without this assignment, base_compile gets emptied. + fbsd_hideous_sh_bug=$base_compile + + if test "$pic_mode" != no; then + command="$base_compile $qsrcfile $pic_flag" + else + # Don't build PIC code + command="$base_compile $qsrcfile" + fi + + if test ! -d "${xdir}$objdir"; then + $show "$mkdir ${xdir}$objdir" + $run $mkdir ${xdir}$objdir + exit_status=$? + if test "$exit_status" -ne 0 && test ! -d "${xdir}$objdir"; then + exit $exit_status + fi + fi + + if test -z "$output_obj"; then + # Place PIC objects in $objdir + command="$command -o $lobj" + fi + + $run $rm "$lobj" "$output_obj" + + $show "$command" + if $run eval $lt_env "$command"; then : + else + test -n "$output_obj" && $run $rm $removelist + exit $EXIT_FAILURE + fi + + if test "$need_locks" = warn && + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then + $echo "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $run $rm $removelist + exit $EXIT_FAILURE + fi + + # Just move the object if needed, then go on to compile the next one + if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then + $show "$mv $output_obj $lobj" + if $run $mv $output_obj $lobj; then : + else + error=$? + $run $rm $removelist + exit $error + fi + fi + + # Append the name of the PIC object to the libtool object file. + test -z "$run" && cat >> ${libobj}T <<EOF +pic_object='$objdir/$objname' + +EOF + + # Allow error messages only from the first compilation. + if test "$suppress_opt" = yes; then + suppress_output=' >/dev/null 2>&1' + fi + else + # No PIC object so indicate it doesn't exist in the libtool + # object file. + test -z "$run" && cat >> ${libobj}T <<EOF +pic_object=none + +EOF + fi + + # Only build a position-dependent object if we build old libraries. + if test "$build_old_libs" = yes; then + if test "$pic_mode" != yes; then + # Don't build PIC code + command="$base_compile $qsrcfile" + else + command="$base_compile $qsrcfile $pic_flag" + fi + if test "$compiler_c_o" = yes; then + command="$command -o $obj" + fi + + # Suppress compiler output if we already did a PIC compilation. + command="$command$suppress_output" + $run $rm "$obj" "$output_obj" + $show "$command" + if $run eval $lt_env "$command"; then : + else + $run $rm $removelist + exit $EXIT_FAILURE + fi + + if test "$need_locks" = warn && + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then + $echo "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $run $rm $removelist + exit $EXIT_FAILURE + fi + + # Just move the object if needed + if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then + $show "$mv $output_obj $obj" + if $run $mv $output_obj $obj; then : + else + error=$? + $run $rm $removelist + exit $error + fi + fi + + # Append the name of the non-PIC object the libtool object file. + # Only append if the libtool object file exists. + test -z "$run" && cat >> ${libobj}T <<EOF +# Name of the non-PIC object. +non_pic_object='$objname' + +EOF + else + # Append the name of the non-PIC object the libtool object file. + # Only append if the libtool object file exists. + test -z "$run" && cat >> ${libobj}T <<EOF +# Name of the non-PIC object. +non_pic_object=none + +EOF + fi + + $run $mv "${libobj}T" "${libobj}" + + # Unlock the critical section if it was locked + if test "$need_locks" != no; then + $run $rm "$lockfile" + fi + + exit $EXIT_SUCCESS + ;; + + # libtool link mode + link | relink) + modename="$modename: link" + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) + # It is impossible to link a dll without this setting, and + # we shouldn't force the makefile maintainer to figure out + # which system we are compiling for in order to pass an extra + # flag for every libtool invocation. + # allow_undefined=no + + # FIXME: Unfortunately, there are problems with the above when trying + # to make a dll which has undefined symbols, in which case not + # even a static library is built. For now, we need to specify + # -no-undefined on the libtool link line when we can be certain + # that all symbols are satisfied, otherwise we get a static library. + allow_undefined=yes + ;; + *) + allow_undefined=yes + ;; + esac + libtool_args="$nonopt" + base_compile="$nonopt $@" + compile_command="$nonopt" + finalize_command="$nonopt" + + compile_rpath= + finalize_rpath= + compile_shlibpath= + finalize_shlibpath= + convenience= + old_convenience= + deplibs= + old_deplibs= + compiler_flags= + linker_flags= + dllsearchpath= + lib_search_path=`pwd` + inst_prefix_dir= + + avoid_version=no + dlfiles= + dlprefiles= + dlself=no + export_dynamic=no + export_symbols= + export_symbols_regex= + generated= + libobjs= + ltlibs= + module=no + no_install=no + objs= + non_pic_objects= + notinst_path= # paths that contain not-installed libtool libraries + precious_files_regex= + prefer_static_libs=no + preload=no + prev= + prevarg= + release= + rpath= + xrpath= + perm_rpath= + temp_rpath= + thread_safe=no + vinfo= + vinfo_number=no + single_module="${wl}-single_module" + + func_infer_tag $base_compile + + # We need to know -static, to get the right output filenames. + for arg + do + case $arg in + -all-static | -static | -static-libtool-libs) + case $arg in + -all-static) + if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then + $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2 + fi + if test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=yes + ;; + -static) + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=built + ;; + -static-libtool-libs) + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=yes + ;; + esac + build_libtool_libs=no + build_old_libs=yes + break + ;; + esac + done + + # See if our shared archives depend on static archives. + test -n "$old_archive_from_new_cmds" && build_old_libs=yes + + # Go through the arguments, transforming them on the way. + while test "$#" -gt 0; do + arg="$1" + shift + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test + ;; + *) qarg=$arg ;; + esac + libtool_args="$libtool_args $qarg" + + # If the previous option needs an argument, assign it. + if test -n "$prev"; then + case $prev in + output) + compile_command="$compile_command @OUTPUT@" + finalize_command="$finalize_command @OUTPUT@" + ;; + esac + + case $prev in + dlfiles|dlprefiles) + if test "$preload" = no; then + # Add the symbol object into the linking commands. + compile_command="$compile_command @SYMFILE@" + finalize_command="$finalize_command @SYMFILE@" + preload=yes + fi + case $arg in + *.la | *.lo) ;; # We handle these cases below. + force) + if test "$dlself" = no; then + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + self) + if test "$prev" = dlprefiles; then + dlself=yes + elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then + dlself=yes + else + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + *) + if test "$prev" = dlfiles; then + dlfiles="$dlfiles $arg" + else + dlprefiles="$dlprefiles $arg" + fi + prev= + continue + ;; + esac + ;; + expsyms) + export_symbols="$arg" + if test ! -f "$arg"; then + $echo "$modename: symbol file \`$arg' does not exist" + exit $EXIT_FAILURE + fi + prev= + continue + ;; + expsyms_regex) + export_symbols_regex="$arg" + prev= + continue + ;; + inst_prefix) + inst_prefix_dir="$arg" + prev= + continue + ;; + precious_regex) + precious_files_regex="$arg" + prev= + continue + ;; + release) + release="-$arg" + prev= + continue + ;; + objectlist) + if test -f "$arg"; then + save_arg=$arg + moreargs= + for fil in `cat $save_arg` + do +# moreargs="$moreargs $fil" + arg=$fil + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + pic_object= + non_pic_object= + + # Read the .lo file + # If there is no directory component, then add one. + case $arg in + */* | *\\*) . $arg ;; + *) . ./$arg ;; + esac + + if test -z "$pic_object" || \ + test -z "$non_pic_object" || + test "$pic_object" = none && \ + test "$non_pic_object" = none; then + $echo "$modename: cannot find name of object for \`$arg'" 1>&2 + exit $EXIT_FAILURE + fi + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + if test "$pic_object" != none; then + # Prepend the subdirectory the object is found in. + pic_object="$xdir$pic_object" + + if test "$prev" = dlfiles; then + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then + dlfiles="$dlfiles $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test "$prev" = dlprefiles; then + # Preload the old-style object. + dlprefiles="$dlprefiles $pic_object" + prev= + fi + + # A PIC object. + libobjs="$libobjs $pic_object" + arg="$pic_object" + fi + + # Non-PIC object. + if test "$non_pic_object" != none; then + # Prepend the subdirectory the object is found in. + non_pic_object="$xdir$non_pic_object" + + # A standard non-PIC object + non_pic_objects="$non_pic_objects $non_pic_object" + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi + else + # If the PIC object exists, use it instead. + # $xdir was prepended to $pic_object above. + non_pic_object="$pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" + fi + else + # Only an error if not doing a dry-run. + if test -z "$run"; then + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 + exit $EXIT_FAILURE + else + # Dry-run case. + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` + libobjs="$libobjs $pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" + fi + fi + done + else + $echo "$modename: link input file \`$save_arg' does not exist" + exit $EXIT_FAILURE + fi + arg=$save_arg + prev= + continue + ;; + rpath | xrpath) + # We need an absolute path. + case $arg in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + $echo "$modename: only absolute run-paths are allowed" 1>&2 + exit $EXIT_FAILURE + ;; + esac + if test "$prev" = rpath; then + case "$rpath " in + *" $arg "*) ;; + *) rpath="$rpath $arg" ;; + esac + else + case "$xrpath " in + *" $arg "*) ;; + *) xrpath="$xrpath $arg" ;; + esac + fi + prev= + continue + ;; + xcompiler) + compiler_flags="$compiler_flags $qarg" + prev= + compile_command="$compile_command $qarg" + finalize_command="$finalize_command $qarg" + continue + ;; + xlinker) + linker_flags="$linker_flags $qarg" + compiler_flags="$compiler_flags $wl$qarg" + prev= + compile_command="$compile_command $wl$qarg" + finalize_command="$finalize_command $wl$qarg" + continue + ;; + xcclinker) + linker_flags="$linker_flags $qarg" + compiler_flags="$compiler_flags $qarg" + prev= + compile_command="$compile_command $qarg" + finalize_command="$finalize_command $qarg" + continue + ;; + shrext) + shrext_cmds="$arg" + prev= + continue + ;; + darwin_framework|darwin_framework_skip) + test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg" + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + prev= + continue + ;; + *) + eval "$prev=\"\$arg\"" + prev= + continue + ;; + esac + fi # test -n "$prev" + + prevarg="$arg" + + case $arg in + -all-static) + if test -n "$link_static_flag"; then + compile_command="$compile_command $link_static_flag" + finalize_command="$finalize_command $link_static_flag" + fi + continue + ;; + + -allow-undefined) + # FIXME: remove this flag sometime in the future. + $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2 + continue + ;; + + -avoid-version) + avoid_version=yes + continue + ;; + + -dlopen) + prev=dlfiles + continue + ;; + + -dlpreopen) + prev=dlprefiles + continue + ;; + + -export-dynamic) + export_dynamic=yes + continue + ;; + + -export-symbols | -export-symbols-regex) + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then + $echo "$modename: more than one -exported-symbols argument is not allowed" + exit $EXIT_FAILURE + fi + if test "X$arg" = "X-export-symbols"; then + prev=expsyms + else + prev=expsyms_regex + fi + continue + ;; + + -framework|-arch|-isysroot) + case " $CC " in + *" ${arg} ${1} "* | *" ${arg} ${1} "*) + prev=darwin_framework_skip ;; + *) compiler_flags="$compiler_flags $arg" + prev=darwin_framework ;; + esac + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + continue + ;; + + -inst-prefix-dir) + prev=inst_prefix + continue + ;; + + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* + # so, if we see these flags be careful not to treat them like -L + -L[A-Z][A-Z]*:*) + case $with_gcc/$host in + no/*-*-irix* | /*-*-irix*) + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + ;; + esac + continue + ;; + + -L*) + dir=`$echo "X$arg" | $Xsed -e 's/^-L//'` + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + absdir=`cd "$dir" && pwd` + if test -z "$absdir"; then + $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2 + absdir="$dir" + notinst_path="$notinst_path $dir" + fi + dir="$absdir" + ;; + esac + case "$deplibs " in + *" -L$dir "*) ;; + *) + deplibs="$deplibs -L$dir" + lib_search_path="$lib_search_path $dir" + ;; + esac + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) + testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'` + case :$dllsearchpath: in + *":$dir:"*) ;; + *) dllsearchpath="$dllsearchpath:$dir";; + esac + case :$dllsearchpath: in + *":$testbindir:"*) ;; + *) dllsearchpath="$dllsearchpath:$testbindir";; + esac + ;; + esac + continue + ;; + + -l*) + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*) + # These systems don't actually have a C or math library (as such) + continue + ;; + *-*-os2*) + # These systems don't actually have a C library (as such) + test "X$arg" = "X-lc" && continue + ;; + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc due to us having libc/libc_r. + test "X$arg" = "X-lc" && continue + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C and math libraries are in the System framework + deplibs="$deplibs -framework System" + continue + ;; + *-*-sco3.2v5* | *-*-sco5v6*) + # Causes problems with __ctype + test "X$arg" = "X-lc" && continue + ;; + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) + # Compiler inserts libc in the correct place for threads to work + test "X$arg" = "X-lc" && continue + ;; + esac + elif test "X$arg" = "X-lc_r"; then + case $host in + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; + esac + fi + deplibs="$deplibs $arg" + continue + ;; + + # Tru64 UNIX uses -model [arg] to determine the layout of C++ + # classes, name mangling, and exception handling. + -model) + compile_command="$compile_command $arg" + compiler_flags="$compiler_flags $arg" + finalize_command="$finalize_command $arg" + prev=xcompiler + continue + ;; + + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) + compiler_flags="$compiler_flags $arg" + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + continue + ;; + + -multi_module) + single_module="${wl}-multi_module" + continue + ;; + + -module) + module=yes + continue + ;; + + # -64, -mips[0-9] enable 64-bit mode on the SGI compiler + # -r[0-9][0-9]* specifies the processor on the SGI compiler + # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler + # +DA*, +DD* enable 64-bit mode on the HP compiler + # -q* pass through compiler args for the IBM compiler + # -m* pass through architecture-specific compiler args for GCC + # -m*, -t[45]*, -txscale* pass through architecture-specific + # compiler args for GCC + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC + # -F/path gives path to uninstalled frameworks, gcc on darwin + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) + + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + compiler_flags="$compiler_flags $arg" + continue + ;; + + -shrext) + prev=shrext + continue + ;; + + -no-fast-install) + fast_install=no + continue + ;; + + -no-install) + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin*) + # The PATH hackery in wrapper scripts is required on Windows + # and Darwin in order for the loader to find any dlls it needs. + $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2 + $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2 + fast_install=no + ;; + *) no_install=yes ;; + esac + continue + ;; + + -no-undefined) + allow_undefined=no + continue + ;; + + -objectlist) + prev=objectlist + continue + ;; + + -o) prev=output ;; + + -precious-files-regex) + prev=precious_regex + continue + ;; + + -release) + prev=release + continue + ;; + + -rpath) + prev=rpath + continue + ;; + + -R) + prev=xrpath + continue + ;; + + -R*) + dir=`$echo "X$arg" | $Xsed -e 's/^-R//'` + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + $echo "$modename: only absolute run-paths are allowed" 1>&2 + exit $EXIT_FAILURE + ;; + esac + case "$xrpath " in + *" $dir "*) ;; + *) xrpath="$xrpath $dir" ;; + esac + continue + ;; + + -static | -static-libtool-libs) + # The effects of -static are defined in a previous loop. + # We used to do the same as -all-static on platforms that + # didn't have a PIC flag, but the assumption that the effects + # would be equivalent was wrong. It would break on at least + # Digital Unix and AIX. + continue + ;; + + -thread-safe) + thread_safe=yes + continue + ;; + + -version-info) + prev=vinfo + continue + ;; + -version-number) + prev=vinfo + vinfo_number=yes + continue + ;; + + -Wc,*) + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'` + arg= + save_ifs="$IFS"; IFS=',' + for flag in $args; do + IFS="$save_ifs" + case $flag in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + flag="\"$flag\"" + ;; + esac + arg="$arg $wl$flag" + compiler_flags="$compiler_flags $flag" + done + IFS="$save_ifs" + arg=`$echo "X$arg" | $Xsed -e "s/^ //"` + ;; + + -Wl,*) + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` + arg= + save_ifs="$IFS"; IFS=',' + for flag in $args; do + IFS="$save_ifs" + case $flag in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + flag="\"$flag\"" + ;; + esac + arg="$arg $wl$flag" + compiler_flags="$compiler_flags $wl$flag" + linker_flags="$linker_flags $flag" + done + IFS="$save_ifs" + arg=`$echo "X$arg" | $Xsed -e "s/^ //"` + ;; + + -Xcompiler) + prev=xcompiler + continue + ;; + + -Xlinker) + prev=xlinker + continue + ;; + + -XCClinker) + prev=xcclinker + continue + ;; + + # Some other compiler flag. + -* | +*) + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + ;; + + *.$objext) + # A standard object. + objs="$objs $arg" + ;; + + *.lo) + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + pic_object= + non_pic_object= + + # Read the .lo file + # If there is no directory component, then add one. + case $arg in + */* | *\\*) . $arg ;; + *) . ./$arg ;; + esac + + if test -z "$pic_object" || \ + test -z "$non_pic_object" || + test "$pic_object" = none && \ + test "$non_pic_object" = none; then + $echo "$modename: cannot find name of object for \`$arg'" 1>&2 + exit $EXIT_FAILURE + fi + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + if test "$pic_object" != none; then + # Prepend the subdirectory the object is found in. + pic_object="$xdir$pic_object" + + if test "$prev" = dlfiles; then + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then + dlfiles="$dlfiles $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test "$prev" = dlprefiles; then + # Preload the old-style object. + dlprefiles="$dlprefiles $pic_object" + prev= + fi + + # A PIC object. + libobjs="$libobjs $pic_object" + arg="$pic_object" + fi + + # Non-PIC object. + if test "$non_pic_object" != none; then + # Prepend the subdirectory the object is found in. + non_pic_object="$xdir$non_pic_object" + + # A standard non-PIC object + non_pic_objects="$non_pic_objects $non_pic_object" + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi + else + # If the PIC object exists, use it instead. + # $xdir was prepended to $pic_object above. + non_pic_object="$pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" + fi + else + # Only an error if not doing a dry-run. + if test -z "$run"; then + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 + exit $EXIT_FAILURE + else + # Dry-run case. + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` + libobjs="$libobjs $pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" + fi + fi + ;; + + *.$libext) + # An archive. + deplibs="$deplibs $arg" + old_deplibs="$old_deplibs $arg" + continue + ;; + + *.la) + # A libtool-controlled library. + + if test "$prev" = dlfiles; then + # This library was specified with -dlopen. + dlfiles="$dlfiles $arg" + prev= + elif test "$prev" = dlprefiles; then + # The library was specified with -dlpreopen. + dlprefiles="$dlprefiles $arg" + prev= + else + deplibs="$deplibs $arg" + fi + continue + ;; + + # Some other compiler argument. + *) + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + ;; + esac # arg + + # Now actually substitute the argument into the commands. + if test -n "$arg"; then + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + fi + done # argument parsing loop + + if test -n "$prev"; then + $echo "$modename: the \`$prevarg' option requires an argument" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then + eval arg=\"$export_dynamic_flag_spec\" + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + fi + + oldlibs= + # calculate the name of the file, without its directory + outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'` + libobjs_save="$libobjs" + + if test -n "$shlibpath_var"; then + # get the directories listed in $shlibpath_var + eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` + else + shlib_search_path= + fi + eval sys_lib_search_path=\"$sys_lib_search_path_spec\" + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" + + output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'` + if test "X$output_objdir" = "X$output"; then + output_objdir="$objdir" + else + output_objdir="$output_objdir/$objdir" + fi + # Create the object directory. + if test ! -d "$output_objdir"; then + $show "$mkdir $output_objdir" + $run $mkdir $output_objdir + exit_status=$? + if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then + exit $exit_status + fi + fi + + # Determine the type of output + case $output in + "") + $echo "$modename: you must specify an output file" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; + *.$libext) linkmode=oldlib ;; + *.lo | *.$objext) linkmode=obj ;; + *.la) linkmode=lib ;; + *) linkmode=prog ;; # Anything else should be a program. + esac + + case $host in + *cygwin* | *mingw* | *pw32*) + # don't eliminate duplications in $postdeps and $predeps + duplicate_compiler_generated_deps=yes + ;; + *) + duplicate_compiler_generated_deps=$duplicate_deps + ;; + esac + specialdeplibs= + + libs= + # Find all interdependent deplibs by searching for libraries + # that are linked more than once (e.g. -la -lb -la) + for deplib in $deplibs; do + if test "X$duplicate_deps" = "Xyes" ; then + case "$libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + libs="$libs $deplib" + done + + if test "$linkmode" = lib; then + libs="$predeps $libs $compiler_lib_search_path $postdeps" + + # Compute libraries that are listed more than once in $predeps + # $postdeps and mark them as special (i.e., whose duplicates are + # not to be eliminated). + pre_post_deps= + if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then + for pre_post_dep in $predeps $postdeps; do + case "$pre_post_deps " in + *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; + esac + pre_post_deps="$pre_post_deps $pre_post_dep" + done + fi + pre_post_deps= + fi + + deplibs= + newdependency_libs= + newlib_search_path= + need_relink=no # whether we're linking any uninstalled libtool libraries + notinst_deplibs= # not-installed libtool libraries + case $linkmode in + lib) + passes="conv link" + for file in $dlfiles $dlprefiles; do + case $file in + *.la) ;; + *) + $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2 + exit $EXIT_FAILURE + ;; + esac + done + ;; + prog) + compile_deplibs= + finalize_deplibs= + alldeplibs=no + newdlfiles= + newdlprefiles= + passes="conv scan dlopen dlpreopen link" + ;; + *) passes="conv" + ;; + esac + for pass in $passes; do + if test "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan"; then + libs="$deplibs" + deplibs= + fi + if test "$linkmode" = prog; then + case $pass in + dlopen) libs="$dlfiles" ;; + dlpreopen) libs="$dlprefiles" ;; + link) + libs="$deplibs %DEPLIBS%" + test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" + ;; + esac + fi + if test "$pass" = dlopen; then + # Collect dlpreopened libraries + save_deplibs="$deplibs" + deplibs= + fi + for deplib in $libs; do + lib= + found=no + case $deplib in + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + compiler_flags="$compiler_flags $deplib" + fi + continue + ;; + -l*) + if test "$linkmode" != lib && test "$linkmode" != prog; then + $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2 + continue + fi + name=`$echo "X$deplib" | $Xsed -e 's/^-l//'` + if test "$linkmode" = lib; then + searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" + else + searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" + fi + for searchdir in $searchdirs; do + for search_ext in .la $std_shrext .so .a; do + # Search the libtool library + lib="$searchdir/lib${name}${search_ext}" + if test -f "$lib"; then + if test "$search_ext" = ".la"; then + found=yes + else + found=no + fi + break 2 + fi + done + done + if test "$found" != yes; then + # deplib doesn't seem to be a libtool library + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" + fi + continue + else # deplib is a libtool library + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, + # We need to do some special things here, and not later. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $deplib "*) + if (${SED} -e '2q' $lib | + grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + library_names= + old_library= + case $lib in + */* | *\\*) . $lib ;; + *) . ./$lib ;; + esac + for l in $old_library $library_names; do + ll="$l" + done + if test "X$ll" = "X$old_library" ; then # only static version available + found=no + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` + test "X$ladir" = "X$lib" && ladir="." + lib=$ladir/$old_library + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" + fi + continue + fi + fi + ;; + *) ;; + esac + fi + fi + ;; # -l + -L*) + case $linkmode in + lib) + deplibs="$deplib $deplibs" + test "$pass" = conv && continue + newdependency_libs="$deplib $newdependency_libs" + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` + ;; + prog) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + if test "$pass" = scan; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` + ;; + *) + $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2 + ;; + esac # linkmode + continue + ;; # -L + -R*) + if test "$pass" = link; then + dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'` + # Make sure the xrpath contains only unique directories. + case "$xrpath " in + *" $dir "*) ;; + *) xrpath="$xrpath $dir" ;; + esac + fi + deplibs="$deplib $deplibs" + continue + ;; + *.la) lib="$deplib" ;; + *.$libext) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + case $linkmode in + lib) + valid_a_lib=no + case $deplibs_check_method in + match_pattern*) + set dummy $deplibs_check_method + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` + if eval $echo \"$deplib\" 2>/dev/null \ + | $SED 10q \ + | $EGREP "$match_pattern_regex" > /dev/null; then + valid_a_lib=yes + fi + ;; + pass_all) + valid_a_lib=yes + ;; + esac + if test "$valid_a_lib" != yes; then + $echo + $echo "*** Warning: Trying to link with static lib archive $deplib." + $echo "*** I have the capability to make that library automatically link in when" + $echo "*** you link to this library. But I can only do this if you have a" + $echo "*** shared version of the library, which you do not appear to have" + $echo "*** because the file extensions .$libext of this argument makes me believe" + $echo "*** that it is just a static archive that I should not used here." + else + $echo + $echo "*** Warning: Linking the shared library $output against the" + $echo "*** static library $deplib is not portable!" + deplibs="$deplib $deplibs" + fi + continue + ;; + prog) + if test "$pass" != link; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + continue + ;; + esac # linkmode + ;; # *.$libext + *.lo | *.$objext) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + elif test "$linkmode" = prog; then + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then + # If there is no dlopen support or we're linking statically, + # we need to preload. + newdlprefiles="$newdlprefiles $deplib" + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + newdlfiles="$newdlfiles $deplib" + fi + fi + continue + ;; + %DEPLIBS%) + alldeplibs=yes + continue + ;; + esac # case $deplib + if test "$found" = yes || test -f "$lib"; then : + else + $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2 + exit $EXIT_FAILURE + fi + + # Check to see that this really is a libtool archive. + if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : + else + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` + test "X$ladir" = "X$lib" && ladir="." + + dlname= + dlopen= + dlpreopen= + libdir= + library_names= + old_library= + # If the library was installed with an old release of libtool, + # it will not redefine variables installed, or shouldnotlink + installed=yes + shouldnotlink=no + avoidtemprpath= + + + # Read the .la file + case $lib in + */* | *\\*) . $lib ;; + *) . ./$lib ;; + esac + + if test "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan" || + { test "$linkmode" != prog && test "$linkmode" != lib; }; then + test -n "$dlopen" && dlfiles="$dlfiles $dlopen" + test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" + fi + + if test "$pass" = conv; then + # Only check for convenience libraries + deplibs="$lib $deplibs" + if test -z "$libdir"; then + if test -z "$old_library"; then + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + # It is a libtool convenience library, so add in its objects. + convenience="$convenience $ladir/$objdir/$old_library" + old_convenience="$old_convenience $ladir/$objdir/$old_library" + tmp_libs= + for deplib in $dependency_libs; do + deplibs="$deplib $deplibs" + if test "X$duplicate_deps" = "Xyes" ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$tmp_libs $deplib" + done + elif test "$linkmode" != prog && test "$linkmode" != lib; then + $echo "$modename: \`$lib' is not a convenience library" 1>&2 + exit $EXIT_FAILURE + fi + continue + fi # $pass = conv + + + # Get the name of the library we link against. + linklib= + for l in $old_library $library_names; do + linklib="$l" + done + if test -z "$linklib"; then + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + + # This library was specified with -dlopen. + if test "$pass" = dlopen; then + if test -z "$libdir"; then + $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + if test -z "$dlname" || + test "$dlopen_support" != yes || + test "$build_libtool_libs" = no; then + # If there is no dlname, no dlopen support or we're linking + # statically, we need to preload. We also need to preload any + # dependent libraries so libltdl's deplib preloader doesn't + # bomb out in the load deplibs phase. + dlprefiles="$dlprefiles $lib $dependency_libs" + else + newdlfiles="$newdlfiles $lib" + fi + continue + fi # $pass = dlopen + + # We need an absolute path. + case $ladir in + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; + *) + abs_ladir=`cd "$ladir" && pwd` + if test -z "$abs_ladir"; then + $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2 + $echo "$modename: passing it literally to the linker, although it might fail" 1>&2 + abs_ladir="$ladir" + fi + ;; + esac + laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` + + # Find the relevant object directory and library name. + if test "X$installed" = Xyes; then + if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then + $echo "$modename: warning: library \`$lib' was moved." 1>&2 + dir="$ladir" + absdir="$abs_ladir" + libdir="$abs_ladir" + else + dir="$libdir" + absdir="$libdir" + fi + test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes + else + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then + dir="$ladir" + absdir="$abs_ladir" + # Remove this search path later + notinst_path="$notinst_path $abs_ladir" + else + dir="$ladir/$objdir" + absdir="$abs_ladir/$objdir" + # Remove this search path later + notinst_path="$notinst_path $abs_ladir" + fi + fi # $installed = yes + name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` + + # This library was specified with -dlpreopen. + if test "$pass" = dlpreopen; then + if test -z "$libdir"; then + $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + # Prefer using a static library (so that no silly _DYNAMIC symbols + # are required to link). + if test -n "$old_library"; then + newdlprefiles="$newdlprefiles $dir/$old_library" + # Otherwise, use the dlname, so that lt_dlopen finds it. + elif test -n "$dlname"; then + newdlprefiles="$newdlprefiles $dir/$dlname" + else + newdlprefiles="$newdlprefiles $dir/$linklib" + fi + fi # $pass = dlpreopen + + if test -z "$libdir"; then + # Link the convenience library + if test "$linkmode" = lib; then + deplibs="$dir/$old_library $deplibs" + elif test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$dir/$old_library $compile_deplibs" + finalize_deplibs="$dir/$old_library $finalize_deplibs" + else + deplibs="$lib $deplibs" # used for prog,scan pass + fi + continue + fi + + + if test "$linkmode" = prog && test "$pass" != link; then + newlib_search_path="$newlib_search_path $ladir" + deplibs="$lib $deplibs" + + linkalldeplibs=no + if test "$link_all_deplibs" != no || test -z "$library_names" || + test "$build_libtool_libs" = no; then + linkalldeplibs=yes + fi + + tmp_libs= + for deplib in $dependency_libs; do + case $deplib in + -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test + esac + # Need to link against all dependency_libs? + if test "$linkalldeplibs" = yes; then + deplibs="$deplib $deplibs" + else + # Need to hardcode shared library paths + # or/and link against static libraries + newdependency_libs="$deplib $newdependency_libs" + fi + if test "X$duplicate_deps" = "Xyes" ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$tmp_libs $deplib" + done # for deplib + continue + fi # $linkmode = prog... + + if test "$linkmode,$pass" = "prog,link"; then + if test -n "$library_names" && + { { test "$prefer_static_libs" = no || + test "$prefer_static_libs,$installed" = "built,yes"; } || + test -z "$old_library"; }; then + # We need to hardcode the library path + if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then + # Make sure the rpath contains only unique directories. + case "$temp_rpath " in + *" $dir "*) ;; + *" $absdir "*) ;; + *) temp_rpath="$temp_rpath $absdir" ;; + esac + fi + + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) compile_rpath="$compile_rpath $absdir" + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" + esac + ;; + esac + fi # $linkmode,$pass = prog,link... + + if test "$alldeplibs" = yes && + { test "$deplibs_check_method" = pass_all || + { test "$build_libtool_libs" = yes && + test -n "$library_names"; }; }; then + # We only need to search for static libraries + continue + fi + fi + + link_static=no # Whether the deplib will be linked statically + use_static_libs=$prefer_static_libs + if test "$use_static_libs" = built && test "$installed" = yes ; then + use_static_libs=no + fi + if test -n "$library_names" && + { test "$use_static_libs" = no || test -z "$old_library"; }; then + if test "$installed" = no; then + notinst_deplibs="$notinst_deplibs $lib" + need_relink=yes + fi + # This is a shared library + + # Warn about portability, can't link against -module's on + # some systems (darwin) + if test "$shouldnotlink" = yes && test "$pass" = link ; then + $echo + if test "$linkmode" = prog; then + $echo "*** Warning: Linking the executable $output against the loadable module" + else + $echo "*** Warning: Linking the shared library $output against the loadable module" + fi + $echo "*** $linklib is not portable!" + fi + if test "$linkmode" = lib && + test "$hardcode_into_libs" = yes; then + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) compile_rpath="$compile_rpath $absdir" + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" + esac + ;; + esac + fi + + if test -n "$old_archive_from_expsyms_cmds"; then + # figure out the soname + set dummy $library_names + realname="$2" + shift; shift + libname=`eval \\$echo \"$libname_spec\"` + # use dlname if we got it. it's perfectly good, no? + if test -n "$dlname"; then + soname="$dlname" + elif test -n "$soname_spec"; then + # bleh windows + case $host in + *cygwin* | mingw*) + major=`expr $current - $age` + versuffix="-$major" + ;; + esac + eval soname=\"$soname_spec\" + else + soname="$realname" + fi + + # Make a new name for the extract_expsyms_cmds to use + soroot="$soname" + soname=`$echo $soroot | ${SED} -e 's/^.*\///'` + newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a" + + # If the library has no export list, then create one now + if test -f "$output_objdir/$soname-def"; then : + else + $show "extracting exported symbol list from \`$soname'" + save_ifs="$IFS"; IFS='~' + cmds=$extract_expsyms_cmds + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + fi + + # Create $newlib + if test -f "$output_objdir/$newlib"; then :; else + $show "generating import library for \`$soname'" + save_ifs="$IFS"; IFS='~' + cmds=$old_archive_from_expsyms_cmds + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + fi + # make sure the library variables are pointing to the new library + dir=$output_objdir + linklib=$newlib + fi # test -n "$old_archive_from_expsyms_cmds" + + if test "$linkmode" = prog || test "$mode" != relink; then + add_shlibpath= + add_dir= + add= + lib_linked=yes + case $hardcode_action in + immediate | unsupported) + if test "$hardcode_direct" = no; then + add="$dir/$linklib" + case $host in + *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; + *-*-sysv4*uw2*) add_dir="-L$dir" ;; + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ + *-*-unixware7*) add_dir="-L$dir" ;; + *-*-darwin* ) + # if the lib is a module then we can not link against + # it, someone is ignoring the new warnings I added + if /usr/bin/file -L $add 2> /dev/null | + $EGREP ": [^:]* bundle" >/dev/null ; then + $echo "** Warning, lib $linklib is a module, not a shared library" + if test -z "$old_library" ; then + $echo + $echo "** And there doesn't seem to be a static archive available" + $echo "** The link will probably fail, sorry" + else + add="$dir/$old_library" + fi + fi + esac + elif test "$hardcode_minus_L" = no; then + case $host in + *-*-sunos*) add_shlibpath="$dir" ;; + esac + add_dir="-L$dir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = no; then + add_shlibpath="$dir" + add="-l$name" + else + lib_linked=no + fi + ;; + relink) + if test "$hardcode_direct" = yes; then + add="$dir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$dir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in + [\\/]*) + add_dir="$add_dir -L$inst_prefix_dir$libdir" + ;; + esac + fi + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + add_shlibpath="$dir" + add="-l$name" + else + lib_linked=no + fi + ;; + *) lib_linked=no ;; + esac + + if test "$lib_linked" != yes; then + $echo "$modename: configuration error: unsupported hardcode properties" + exit $EXIT_FAILURE + fi + + if test -n "$add_shlibpath"; then + case :$compile_shlibpath: in + *":$add_shlibpath:"*) ;; + *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; + esac + fi + if test "$linkmode" = prog; then + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" + test -n "$add" && compile_deplibs="$add $compile_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + if test "$hardcode_direct" != yes && \ + test "$hardcode_minus_L" != yes && \ + test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; + esac + fi + fi + fi + + if test "$linkmode" = prog || test "$mode" = relink; then + add_shlibpath= + add_dir= + add= + # Finalize command for both is simple: just hardcode it. + if test "$hardcode_direct" = yes; then + add="$libdir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$libdir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; + esac + add="-l$name" + elif test "$hardcode_automatic" = yes; then + if test -n "$inst_prefix_dir" && + test -f "$inst_prefix_dir$libdir/$linklib" ; then + add="$inst_prefix_dir$libdir/$linklib" + else + add="$libdir/$linklib" + fi + else + # We cannot seem to hardcode it, guess we'll fake it. + add_dir="-L$libdir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in + [\\/]*) + add_dir="$add_dir -L$inst_prefix_dir$libdir" + ;; + esac + fi + add="-l$name" + fi + + if test "$linkmode" = prog; then + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" + test -n "$add" && finalize_deplibs="$add $finalize_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + fi + fi + elif test "$linkmode" = prog; then + # Here we assume that one of hardcode_direct or hardcode_minus_L + # is not unsupported. This is valid on all known static and + # shared platforms. + if test "$hardcode_direct" != unsupported; then + test -n "$old_library" && linklib="$old_library" + compile_deplibs="$dir/$linklib $compile_deplibs" + finalize_deplibs="$dir/$linklib $finalize_deplibs" + else + compile_deplibs="-l$name -L$dir $compile_deplibs" + finalize_deplibs="-l$name -L$dir $finalize_deplibs" + fi + elif test "$build_libtool_libs" = yes; then + # Not a shared library + if test "$deplibs_check_method" != pass_all; then + # We're trying link a shared library against a static one + # but the system doesn't support it. + + # Just print a warning and add the library to dependency_libs so + # that the program can be linked against the static library. + $echo + $echo "*** Warning: This system can not link to static lib archive $lib." + $echo "*** I have the capability to make that library automatically link in when" + $echo "*** you link to this library. But I can only do this if you have a" + $echo "*** shared version of the library, which you do not appear to have." + if test "$module" = yes; then + $echo "*** But as you try to build a module library, libtool will still create " + $echo "*** a static module, that should work as long as the dlopening application" + $echo "*** is linked with the -dlopen flag to resolve symbols at runtime." + if test -z "$global_symbol_pipe"; then + $echo + $echo "*** However, this would only work if libtool was able to extract symbol" + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" + $echo "*** not find such a program. So, this module is probably useless." + $echo "*** \`nm' from GNU binutils and a full rebuild may help." + fi + if test "$build_old_libs" = no; then + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + fi + else + deplibs="$dir/$old_library $deplibs" + link_static=yes + fi + fi # link shared/static library? + + if test "$linkmode" = lib; then + if test -n "$dependency_libs" && + { test "$hardcode_into_libs" != yes || + test "$build_old_libs" = yes || + test "$link_static" = yes; }; then + # Extract -R from dependency_libs + temp_deplibs= + for libdir in $dependency_libs; do + case $libdir in + -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'` + case " $xrpath " in + *" $temp_xrpath "*) ;; + *) xrpath="$xrpath $temp_xrpath";; + esac;; + *) temp_deplibs="$temp_deplibs $libdir";; + esac + done + dependency_libs="$temp_deplibs" + fi + + newlib_search_path="$newlib_search_path $absdir" + # Link against this library + test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" + # ... and its dependency_libs + tmp_libs= + for deplib in $dependency_libs; do + newdependency_libs="$deplib $newdependency_libs" + if test "X$duplicate_deps" = "Xyes" ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$tmp_libs $deplib" + done + + if test "$link_all_deplibs" != no; then + # Add the search paths of all dependency libraries + for deplib in $dependency_libs; do + case $deplib in + -L*) path="$deplib" ;; + *.la) + dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'` + test "X$dir" = "X$deplib" && dir="." + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; + *) + absdir=`cd "$dir" && pwd` + if test -z "$absdir"; then + $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2 + absdir="$dir" + fi + ;; + esac + if grep "^installed=no" $deplib > /dev/null; then + path="$absdir/$objdir" + else + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + if test -z "$libdir"; then + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + if test "$absdir" != "$libdir"; then + $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2 + fi + path="$absdir" + fi + depdepl= + case $host in + *-*-darwin*) + # we do not want to link against static libs, + # but need to link against shared + eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` + eval deplibdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + if test -n "$deplibrary_names" ; then + for tmp in $deplibrary_names ; do + depdepl=$tmp + done + if test -f "$deplibdir/$depdepl" ; then + depdepl="$deplibdir/$depdepl" + elif test -f "$path/$depdepl" ; then + depdepl="$path/$depdepl" + else + # Can't find it, oh well... + depdepl= + fi + # do not add paths which are already there + case " $newlib_search_path " in + *" $path "*) ;; + *) newlib_search_path="$newlib_search_path $path";; + esac + fi + path="" + ;; + *) + path="-L$path" + ;; + esac + ;; + -l*) + case $host in + *-*-darwin*) + # Again, we only want to link against shared libraries + eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"` + for tmp in $newlib_search_path ; do + if test -f "$tmp/lib$tmp_libs.dylib" ; then + eval depdepl="$tmp/lib$tmp_libs.dylib" + break + fi + done + path="" + ;; + *) continue ;; + esac + ;; + *) continue ;; + esac + case " $deplibs " in + *" $path "*) ;; + *) deplibs="$path $deplibs" ;; + esac + case " $deplibs " in + *" $depdepl "*) ;; + *) deplibs="$depdepl $deplibs" ;; + esac + done + fi # link_all_deplibs != no + fi # linkmode = lib + done # for deplib in $libs + dependency_libs="$newdependency_libs" + if test "$pass" = dlpreopen; then + # Link the dlpreopened libraries before other libraries + for deplib in $save_deplibs; do + deplibs="$deplib $deplibs" + done + fi + if test "$pass" != dlopen; then + if test "$pass" != conv; then + # Make sure lib_search_path contains only unique directories. + lib_search_path= + for dir in $newlib_search_path; do + case "$lib_search_path " in + *" $dir "*) ;; + *) lib_search_path="$lib_search_path $dir" ;; + esac + done + newlib_search_path= + fi + + if test "$linkmode,$pass" != "prog,link"; then + vars="deplibs" + else + vars="compile_deplibs finalize_deplibs" + fi + for var in $vars dependency_libs; do + # Add libraries to $var in reverse order + eval tmp_libs=\"\$$var\" + new_libs= + for deplib in $tmp_libs; do + # FIXME: Pedantically, this is the right thing to do, so + # that some nasty dependency loop isn't accidentally + # broken: + #new_libs="$deplib $new_libs" + # Pragmatically, this seems to cause very few problems in + # practice: + case $deplib in + -L*) new_libs="$deplib $new_libs" ;; + -R*) ;; + *) + # And here is the reason: when a library appears more + # than once as an explicit dependence of a library, or + # is implicitly linked in more than once by the + # compiler, it is considered special, and multiple + # occurrences thereof are not removed. Compare this + # with having the same library being listed as a + # dependency of multiple other libraries: in this case, + # we know (pedantically, we assume) the library does not + # need to be listed more than once, so we keep only the + # last copy. This is not always right, but it is rare + # enough that we require users that really mean to play + # such unportable linking tricks to link the library + # using -Wl,-lname, so that libtool does not consider it + # for duplicate removal. + case " $specialdeplibs " in + *" $deplib "*) new_libs="$deplib $new_libs" ;; + *) + case " $new_libs " in + *" $deplib "*) ;; + *) new_libs="$deplib $new_libs" ;; + esac + ;; + esac + ;; + esac + done + tmp_libs= + for deplib in $new_libs; do + case $deplib in + -L*) + case " $tmp_libs " in + *" $deplib "*) ;; + *) tmp_libs="$tmp_libs $deplib" ;; + esac + ;; + *) tmp_libs="$tmp_libs $deplib" ;; + esac + done + eval $var=\"$tmp_libs\" + done # for var + fi + # Last step: remove runtime libs from dependency_libs + # (they stay in deplibs) + tmp_libs= + for i in $dependency_libs ; do + case " $predeps $postdeps $compiler_lib_search_path " in + *" $i "*) + i="" + ;; + esac + if test -n "$i" ; then + tmp_libs="$tmp_libs $i" + fi + done + dependency_libs=$tmp_libs + done # for pass + if test "$linkmode" = prog; then + dlfiles="$newdlfiles" + dlprefiles="$newdlprefiles" + fi + + case $linkmode in + oldlib) + case " $deplibs" in + *\ -l* | *\ -L*) + $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 ;; + esac + + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2 + fi + + if test -n "$rpath"; then + $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2 + fi + + if test -n "$xrpath"; then + $echo "$modename: warning: \`-R' is ignored for archives" 1>&2 + fi + + if test -n "$vinfo"; then + $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2 + fi + + if test -n "$release"; then + $echo "$modename: warning: \`-release' is ignored for archives" 1>&2 + fi + + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then + $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2 + fi + + # Now set the variables for building old libraries. + build_libtool_libs=no + oldlibs="$output" + objs="$objs$old_deplibs" + ;; + + lib) + # Make sure we only generate libraries of the form `libNAME.la'. + case $outputname in + lib*) + name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` + eval shared_ext=\"$shrext_cmds\" + eval libname=\"$libname_spec\" + ;; + *) + if test "$module" = no; then + $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + if test "$need_lib_prefix" != no; then + # Add the "lib" prefix for modules if required + name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` + eval shared_ext=\"$shrext_cmds\" + eval libname=\"$libname_spec\" + else + libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` + fi + ;; + esac + + if test -n "$objs"; then + if test "$deplibs_check_method" != pass_all; then + $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1 + exit $EXIT_FAILURE + else + $echo + $echo "*** Warning: Linking the shared library $output against the non-libtool" + $echo "*** objects $objs is not portable!" + libobjs="$libobjs $objs" + fi + fi + + if test "$dlself" != no; then + $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2 + fi + + set dummy $rpath + if test "$#" -gt 2; then + $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2 + fi + install_libdir="$2" + + oldlibs= + if test -z "$rpath"; then + if test "$build_libtool_libs" = yes; then + # Building a libtool convenience library. + # Some compilers have problems with a `.al' extension so + # convenience libraries should have the same extension an + # archive normally would. + oldlibs="$output_objdir/$libname.$libext $oldlibs" + build_libtool_libs=convenience + build_old_libs=yes + fi + + if test -n "$vinfo"; then + $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2 + fi + + if test -n "$release"; then + $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2 + fi + else + + # Parse the version information argument. + save_ifs="$IFS"; IFS=':' + set dummy $vinfo 0 0 0 + IFS="$save_ifs" + + if test -n "$8"; then + $echo "$modename: too many parameters to \`-version-info'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # convert absolute version numbers to libtool ages + # this retains compatibility with .la files and attempts + # to make the code below a bit more comprehensible + + case $vinfo_number in + yes) + number_major="$2" + number_minor="$3" + number_revision="$4" + # + # There are really only two kinds -- those that + # use the current revision as the major version + # and those that subtract age and use age as + # a minor version. But, then there is irix + # which has an extra 1 added just for fun + # + case $version_type in + darwin|linux|osf|windows|none) + current=`expr $number_major + $number_minor` + age="$number_minor" + revision="$number_revision" + ;; + freebsd-aout|freebsd-elf|sunos) + current="$number_major" + revision="$number_minor" + age="0" + ;; + irix|nonstopux) + current=`expr $number_major + $number_minor` + age="$number_minor" + revision="$number_minor" + lt_irix_increment=no + ;; + *) + $echo "$modename: unknown library version type \`$version_type'" 1>&2 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 + exit $EXIT_FAILURE + ;; + esac + ;; + no) + current="$2" + revision="$3" + age="$4" + ;; + esac + + # Check that each of the things are valid numbers. + case $current in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + case $revision in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + case $age in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + if test "$age" -gt "$current"; then + $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 + exit $EXIT_FAILURE + fi + + # Calculate the version variables. + major= + versuffix= + verstring= + case $version_type in + none) ;; + + darwin) + # Like Linux, but with the current version available in + # verstring for coding it into the library header + major=.`expr $current - $age` + versuffix="$major.$age.$revision" + # Darwin ld doesn't like 0 for these options... + minor_current=`expr $current + 1` + xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" + ;; + + freebsd-aout) + major=".$current" + versuffix=".$current.$revision"; + ;; + + freebsd-elf) + major=".$current" + versuffix=".$current"; + ;; + + irix | nonstopux) + if test "X$lt_irix_increment" = "Xno"; then + major=`expr $current - $age` + else + major=`expr $current - $age + 1` + fi + case $version_type in + nonstopux) verstring_prefix=nonstopux ;; + *) verstring_prefix=sgi ;; + esac + verstring="$verstring_prefix$major.$revision" + + # Add in all the interfaces that we are compatible with. + loop=$revision + while test "$loop" -ne 0; do + iface=`expr $revision - $loop` + loop=`expr $loop - 1` + verstring="$verstring_prefix$major.$iface:$verstring" + done + + # Before this point, $major must not contain `.'. + major=.$major + versuffix="$major.$revision" + ;; + + linux) + major=.`expr $current - $age` + versuffix="$major.$age.$revision" + ;; + + osf) + major=.`expr $current - $age` + versuffix=".$current.$age.$revision" + verstring="$current.$age.$revision" + + # Add in all the interfaces that we are compatible with. + loop=$age + while test "$loop" -ne 0; do + iface=`expr $current - $loop` + loop=`expr $loop - 1` + verstring="$verstring:${iface}.0" + done + + # Make executables depend on our current version. + verstring="$verstring:${current}.0" + ;; + + sunos) + major=".$current" + versuffix=".$current.$revision" + ;; + + windows) + # Use '-' rather than '.', since we only want one + # extension on DOS 8.3 filesystems. + major=`expr $current - $age` + versuffix="-$major" + ;; + + *) + $echo "$modename: unknown library version type \`$version_type'" 1>&2 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 + exit $EXIT_FAILURE + ;; + esac + + # Clear the version info if we defaulted, and they specified a release. + if test -z "$vinfo" && test -n "$release"; then + major= + case $version_type in + darwin) + # we can't check for "0.0" in archive_cmds due to quoting + # problems, so we reset it completely + verstring= + ;; + *) + verstring="0.0" + ;; + esac + if test "$need_version" = no; then + versuffix= + else + versuffix=".0.0" + fi + fi + + # Remove version info from name if versioning should be avoided + if test "$avoid_version" = yes && test "$need_version" = no; then + major= + versuffix= + verstring="" + fi + + # Check to see if the archive will have undefined symbols. + if test "$allow_undefined" = yes; then + if test "$allow_undefined_flag" = unsupported; then + $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2 + build_libtool_libs=no + build_old_libs=yes + fi + else + # Don't allow undefined symbols. + allow_undefined_flag="$no_undefined_flag" + fi + fi + + if test "$mode" != relink; then + # Remove our outputs, but don't remove object files since they + # may have been created when compiling PIC objects. + removelist= + tempremovelist=`$echo "$output_objdir/*"` + for p in $tempremovelist; do + case $p in + *.$objext) + ;; + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) + if test "X$precious_files_regex" != "X"; then + if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 + then + continue + fi + fi + removelist="$removelist $p" + ;; + *) ;; + esac + done + if test -n "$removelist"; then + $show "${rm}r $removelist" + $run ${rm}r $removelist + fi + fi + + # Now set the variables for building old libraries. + if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then + oldlibs="$oldlibs $output_objdir/$libname.$libext" + + # Transform .lo files to .o files. + oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` + fi + + # Eliminate all temporary directories. + #for path in $notinst_path; do + # lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"` + # deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"` + # dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"` + #done + + if test -n "$xrpath"; then + # If the user specified any rpath flags, then add them. + temp_xrpath= + for libdir in $xrpath; do + temp_xrpath="$temp_xrpath -R$libdir" + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" ;; + esac + done + if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then + dependency_libs="$temp_xrpath $dependency_libs" + fi + fi + + # Make sure dlfiles contains only unique files that won't be dlpreopened + old_dlfiles="$dlfiles" + dlfiles= + for lib in $old_dlfiles; do + case " $dlprefiles $dlfiles " in + *" $lib "*) ;; + *) dlfiles="$dlfiles $lib" ;; + esac + done + + # Make sure dlprefiles contains only unique files + old_dlprefiles="$dlprefiles" + dlprefiles= + for lib in $old_dlprefiles; do + case "$dlprefiles " in + *" $lib "*) ;; + *) dlprefiles="$dlprefiles $lib" ;; + esac + done + + if test "$build_libtool_libs" = yes; then + if test -n "$rpath"; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*) + # these systems don't actually have a c library (as such)! + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C library is in the System framework + deplibs="$deplibs -framework System" + ;; + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc due to us having libc/libc_r. + ;; + *-*-sco3.2v5* | *-*-sco5v6*) + # Causes problems with __ctype + ;; + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) + # Compiler inserts libc in the correct place for threads to work + ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test "$build_libtool_need_lc" = "yes"; then + deplibs="$deplibs -lc" + fi + ;; + esac + fi + + # Transform deplibs into only deplibs that can be linked in shared. + name_save=$name + libname_save=$libname + release_save=$release + versuffix_save=$versuffix + major_save=$major + # I'm not sure if I'm treating the release correctly. I think + # release should show up in the -l (ie -lgmp5) so we don't want to + # add it in twice. Is that correct? + release="" + versuffix="" + major="" + newdeplibs= + droppeddeps=no + case $deplibs_check_method in + pass_all) + # Don't check for shared/static. Everything works. + # This might be a little naive. We might want to check + # whether the library exists or not. But this is on + # osf3 & osf4 and I'm not really sure... Just + # implementing what was already the behavior. + newdeplibs=$deplibs + ;; + test_compile) + # This code stresses the "libraries are programs" paradigm to its + # limits. Maybe even breaks it. We compile a program, linking it + # against the deplibs as a proxy for the library. Then we can check + # whether they linked in statically or dynamically with ldd. + $rm conftest.c + cat > conftest.c <<EOF + int main() { return 0; } +EOF + $rm conftest + if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then + ldd_output=`ldd conftest` + for i in $deplibs; do + name=`expr $i : '-l\(.*\)'` + # If $name is empty we are operating on a -L argument. + if test "$name" != "" && test "$name" != "0"; then + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $i "*) + newdeplibs="$newdeplibs $i" + i="" + ;; + esac + fi + if test -n "$i" ; then + libname=`eval \\$echo \"$libname_spec\"` + deplib_matches=`eval \\$echo \"$library_names_spec\"` + set dummy $deplib_matches + deplib_match=$2 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then + newdeplibs="$newdeplibs $i" + else + droppeddeps=yes + $echo + $echo "*** Warning: dynamic linker does not accept needed library $i." + $echo "*** I have the capability to make that library automatically link in when" + $echo "*** you link to this library. But I can only do this if you have a" + $echo "*** shared version of the library, which I believe you do not have" + $echo "*** because a test_compile did reveal that the linker did not use it for" + $echo "*** its dynamic dependency list that programs get resolved with at runtime." + fi + fi + else + newdeplibs="$newdeplibs $i" + fi + done + else + # Error occurred in the first compile. Let's try to salvage + # the situation: Compile a separate program for each library. + for i in $deplibs; do + name=`expr $i : '-l\(.*\)'` + # If $name is empty we are operating on a -L argument. + if test "$name" != "" && test "$name" != "0"; then + $rm conftest + if $LTCC $LTCFLAGS -o conftest conftest.c $i; then + ldd_output=`ldd conftest` + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $i "*) + newdeplibs="$newdeplibs $i" + i="" + ;; + esac + fi + if test -n "$i" ; then + libname=`eval \\$echo \"$libname_spec\"` + deplib_matches=`eval \\$echo \"$library_names_spec\"` + set dummy $deplib_matches + deplib_match=$2 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then + newdeplibs="$newdeplibs $i" + else + droppeddeps=yes + $echo + $echo "*** Warning: dynamic linker does not accept needed library $i." + $echo "*** I have the capability to make that library automatically link in when" + $echo "*** you link to this library. But I can only do this if you have a" + $echo "*** shared version of the library, which you do not appear to have" + $echo "*** because a test_compile did reveal that the linker did not use this one" + $echo "*** as a dynamic dependency that programs can get resolved with at runtime." + fi + fi + else + droppeddeps=yes + $echo + $echo "*** Warning! Library $i is needed by this library but I was not able to" + $echo "*** make it link in! You will probably need to install it or some" + $echo "*** library that it depends on before this library will be fully" + $echo "*** functional. Installing it before continuing would be even better." + fi + else + newdeplibs="$newdeplibs $i" + fi + done + fi + ;; + file_magic*) + set dummy $deplibs_check_method + file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` + for a_deplib in $deplibs; do + name=`expr $a_deplib : '-l\(.*\)'` + # If $name is empty we are operating on a -L argument. + if test "$name" != "" && test "$name" != "0"; then + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $a_deplib "*) + newdeplibs="$newdeplibs $a_deplib" + a_deplib="" + ;; + esac + fi + if test -n "$a_deplib" ; then + libname=`eval \\$echo \"$libname_spec\"` + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do + potential_libs=`ls $i/$libname[.-]* 2>/dev/null` + for potent_lib in $potential_libs; do + # Follow soft links. + if ls -lLd "$potent_lib" 2>/dev/null \ + | grep " -> " >/dev/null; then + continue + fi + # The statement above tries to avoid entering an + # endless loop below, in case of cyclic links. + # We might still enter an endless loop, since a link + # loop can be closed while we follow links, + # but so what? + potlib="$potent_lib" + while test -h "$potlib" 2>/dev/null; do + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` + case $potliblink in + [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; + *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; + esac + done + if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \ + | ${SED} 10q \ + | $EGREP "$file_magic_regex" > /dev/null; then + newdeplibs="$newdeplibs $a_deplib" + a_deplib="" + break 2 + fi + done + done + fi + if test -n "$a_deplib" ; then + droppeddeps=yes + $echo + $echo "*** Warning: linker path does not have real file for library $a_deplib." + $echo "*** I have the capability to make that library automatically link in when" + $echo "*** you link to this library. But I can only do this if you have a" + $echo "*** shared version of the library, which you do not appear to have" + $echo "*** because I did check the linker path looking for a file starting" + if test -z "$potlib" ; then + $echo "*** with $libname but no candidates were found. (...for file magic test)" + else + $echo "*** with $libname and none of the candidates passed a file format test" + $echo "*** using a file magic. Last file checked: $potlib" + fi + fi + else + # Add a -L argument. + newdeplibs="$newdeplibs $a_deplib" + fi + done # Gone through all deplibs. + ;; + match_pattern*) + set dummy $deplibs_check_method + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` + for a_deplib in $deplibs; do + name=`expr $a_deplib : '-l\(.*\)'` + # If $name is empty we are operating on a -L argument. + if test -n "$name" && test "$name" != "0"; then + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $a_deplib "*) + newdeplibs="$newdeplibs $a_deplib" + a_deplib="" + ;; + esac + fi + if test -n "$a_deplib" ; then + libname=`eval \\$echo \"$libname_spec\"` + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do + potential_libs=`ls $i/$libname[.-]* 2>/dev/null` + for potent_lib in $potential_libs; do + potlib="$potent_lib" # see symlink-check above in file_magic test + if eval $echo \"$potent_lib\" 2>/dev/null \ + | ${SED} 10q \ + | $EGREP "$match_pattern_regex" > /dev/null; then + newdeplibs="$newdeplibs $a_deplib" + a_deplib="" + break 2 + fi + done + done + fi + if test -n "$a_deplib" ; then + droppeddeps=yes + $echo + $echo "*** Warning: linker path does not have real file for library $a_deplib." + $echo "*** I have the capability to make that library automatically link in when" + $echo "*** you link to this library. But I can only do this if you have a" + $echo "*** shared version of the library, which you do not appear to have" + $echo "*** because I did check the linker path looking for a file starting" + if test -z "$potlib" ; then + $echo "*** with $libname but no candidates were found. (...for regex pattern test)" + else + $echo "*** with $libname and none of the candidates passed a file format test" + $echo "*** using a regex pattern. Last file checked: $potlib" + fi + fi + else + # Add a -L argument. + newdeplibs="$newdeplibs $a_deplib" + fi + done # Gone through all deplibs. + ;; + none | unknown | *) + newdeplibs="" + tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \ + -e 's/ -[LR][^ ]*//g'` + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + for i in $predeps $postdeps ; do + # can't use Xsed below, because $i might contain '/' + tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"` + done + fi + if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \ + | grep . >/dev/null; then + $echo + if test "X$deplibs_check_method" = "Xnone"; then + $echo "*** Warning: inter-library dependencies are not supported in this platform." + else + $echo "*** Warning: inter-library dependencies are not known to be supported." + fi + $echo "*** All declared inter-library dependencies are being dropped." + droppeddeps=yes + fi + ;; + esac + versuffix=$versuffix_save + major=$major_save + release=$release_save + libname=$libname_save + name=$name_save + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library is the System framework + newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'` + ;; + esac + + if test "$droppeddeps" = yes; then + if test "$module" = yes; then + $echo + $echo "*** Warning: libtool could not satisfy all declared inter-library" + $echo "*** dependencies of module $libname. Therefore, libtool will create" + $echo "*** a static module, that should work as long as the dlopening" + $echo "*** application is linked with the -dlopen flag." + if test -z "$global_symbol_pipe"; then + $echo + $echo "*** However, this would only work if libtool was able to extract symbol" + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" + $echo "*** not find such a program. So, this module is probably useless." + $echo "*** \`nm' from GNU binutils and a full rebuild may help." + fi + if test "$build_old_libs" = no; then + oldlibs="$output_objdir/$libname.$libext" + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + else + $echo "*** The inter-library dependencies that have been dropped here will be" + $echo "*** automatically added whenever a program is linked with this library" + $echo "*** or is declared to -dlopen it." + + if test "$allow_undefined" = no; then + $echo + $echo "*** Since this library must not contain undefined symbols," + $echo "*** because either the platform does not support them or" + $echo "*** it was explicitly requested with -no-undefined," + $echo "*** libtool will only create a static version of it." + if test "$build_old_libs" = no; then + oldlibs="$output_objdir/$libname.$libext" + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + fi + fi + fi + # Done checking deplibs! + deplibs=$newdeplibs + fi + + + # move library search paths that coincide with paths to not yet + # installed libraries to the beginning of the library search list + new_libs= + for path in $notinst_path; do + case " $new_libs " in + *" -L$path/$objdir "*) ;; + *) + case " $deplibs " in + *" -L$path/$objdir "*) + new_libs="$new_libs -L$path/$objdir" ;; + esac + ;; + esac + done + for deplib in $deplibs; do + case $deplib in + -L*) + case " $new_libs " in + *" $deplib "*) ;; + *) new_libs="$new_libs $deplib" ;; + esac + ;; + *) new_libs="$new_libs $deplib" ;; + esac + done + deplibs="$new_libs" + + + # All the library-specific variables (install_libdir is set above). + library_names= + old_library= + dlname= + + # Test again, we may have decided not to build it any more + if test "$build_libtool_libs" = yes; then + if test "$hardcode_into_libs" = yes; then + # Hardcode the library paths + hardcode_libdirs= + dep_rpath= + rpath="$finalize_rpath" + test "$mode" != relink && rpath="$compile_rpath$rpath" + for libdir in $rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + dep_rpath="$dep_rpath $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) perm_rpath="$perm_rpath $libdir" ;; + esac + fi + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + if test -n "$hardcode_libdir_flag_spec_ld"; then + case $archive_cmds in + *\$LD*) eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" ;; + *) eval dep_rpath=\"$hardcode_libdir_flag_spec\" ;; + esac + else + eval dep_rpath=\"$hardcode_libdir_flag_spec\" + fi + fi + if test -n "$runpath_var" && test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + rpath="$rpath$dir:" + done + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" + fi + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" + fi + + shlibpath="$finalize_shlibpath" + test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" + if test -n "$shlibpath"; then + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" + fi + + # Get the real and link names of the library. + eval shared_ext=\"$shrext_cmds\" + eval library_names=\"$library_names_spec\" + set dummy $library_names + realname="$2" + shift; shift + + if test -n "$soname_spec"; then + eval soname=\"$soname_spec\" + else + soname="$realname" + fi + if test -z "$dlname"; then + dlname=$soname + fi + + lib="$output_objdir/$realname" + linknames= + for link + do + linknames="$linknames $link" + done + + # Use standard objects if they are pic + test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then + $show "generating symbol list for \`$libname.la'" + export_symbols="$output_objdir/$libname.exp" + $run $rm $export_symbols + cmds=$export_symbols_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + if len=`expr "X$cmd" : ".*"` && + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then + $show "$cmd" + $run eval "$cmd" || exit $? + skipped_export=false + else + # The command line is too long to execute in one step. + $show "using reloadable object file for export list..." + skipped_export=: + # Break out early, otherwise skipped_export may be + # set to false by a later but shorter cmd. + break + fi + done + IFS="$save_ifs" + if test -n "$export_symbols_regex"; then + $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\"" + $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' + $show "$mv \"${export_symbols}T\" \"$export_symbols\"" + $run eval '$mv "${export_symbols}T" "$export_symbols"' + fi + fi + fi + + if test -n "$export_symbols" && test -n "$include_expsyms"; then + $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"' + fi + + tmp_deplibs= + for test_deplib in $deplibs; do + case " $convenience " in + *" $test_deplib "*) ;; + *) + tmp_deplibs="$tmp_deplibs $test_deplib" + ;; + esac + done + deplibs="$tmp_deplibs" + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + else + gentop="$output_objdir/${outputname}x" + generated="$generated $gentop" + + func_extract_archives $gentop $convenience + libobjs="$libobjs $func_extract_archives_result" + fi + fi + + if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then + eval flag=\"$thread_safe_flag_spec\" + linker_flags="$linker_flags $flag" + fi + + # Make a backup of the uninstalled library when relinking + if test "$mode" = relink; then + $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $? + fi + + # Do each of the archive commands. + if test "$module" = yes && test -n "$module_cmds" ; then + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then + eval test_cmds=\"$module_expsym_cmds\" + cmds=$module_expsym_cmds + else + eval test_cmds=\"$module_cmds\" + cmds=$module_cmds + fi + else + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then + eval test_cmds=\"$archive_expsym_cmds\" + cmds=$archive_expsym_cmds + else + eval test_cmds=\"$archive_cmds\" + cmds=$archive_cmds + fi + fi + + if test "X$skipped_export" != "X:" && + len=`expr "X$test_cmds" : ".*" 2>/dev/null` && + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then + : + else + # The command line is too long to link in one step, link piecewise. + $echo "creating reloadable object files..." + + # Save the value of $output and $libobjs because we want to + # use them later. If we have whole_archive_flag_spec, we + # want to use save_libobjs as it was before + # whole_archive_flag_spec was expanded, because we can't + # assume the linker understands whole_archive_flag_spec. + # This may have to be revisited, in case too many + # convenience libraries get linked in and end up exceeding + # the spec. + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + fi + save_output=$output + output_la=`$echo "X$output" | $Xsed -e "$basename"` + + # Clear the reloadable object creation command queue and + # initialize k to one. + test_cmds= + concat_cmds= + objlist= + delfiles= + last_robj= + k=1 + output=$output_objdir/$output_la-${k}.$objext + # Loop over the list of objects to be linked. + for obj in $save_libobjs + do + eval test_cmds=\"$reload_cmds $objlist $last_robj\" + if test "X$objlist" = X || + { len=`expr "X$test_cmds" : ".*" 2>/dev/null` && + test "$len" -le "$max_cmd_len"; }; then + objlist="$objlist $obj" + else + # The command $test_cmds is almost too long, add a + # command to the queue. + if test "$k" -eq 1 ; then + # The first file doesn't have a previous command to add. + eval concat_cmds=\"$reload_cmds $objlist $last_robj\" + else + # All subsequent reloadable object files will link in + # the last one created. + eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\" + fi + last_robj=$output_objdir/$output_la-${k}.$objext + k=`expr $k + 1` + output=$output_objdir/$output_la-${k}.$objext + objlist=$obj + len=1 + fi + done + # Handle the remaining objects by creating one last + # reloadable object file. All subsequent reloadable object + # files will link in the last one created. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" + + if ${skipped_export-false}; then + $show "generating symbol list for \`$libname.la'" + export_symbols="$output_objdir/$libname.exp" + $run $rm $export_symbols + libobjs=$output + # Append the command to create the export file. + eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\" + fi + + # Set up a command to remove the reloadable object files + # after they are used. + i=0 + while test "$i" -lt "$k" + do + i=`expr $i + 1` + delfiles="$delfiles $output_objdir/$output_la-${i}.$objext" + done + + $echo "creating a temporary reloadable object file: $output" + + # Loop through the commands generated above and execute them. + save_ifs="$IFS"; IFS='~' + for cmd in $concat_cmds; do + IFS="$save_ifs" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + + libobjs=$output + # Restore the value of output. + output=$save_output + + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + fi + # Expand the library linking commands again to reset the + # value of $libobjs for piecewise linking. + + # Do each of the archive commands. + if test "$module" = yes && test -n "$module_cmds" ; then + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then + cmds=$module_expsym_cmds + else + cmds=$module_cmds + fi + else + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then + cmds=$archive_expsym_cmds + else + cmds=$archive_cmds + fi + fi + + # Append the command to remove the reloadable object files + # to the just-reset $cmds. + eval cmds=\"\$cmds~\$rm $delfiles\" + fi + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || { + lt_exit=$? + + # Restore the uninstalled library and exit + if test "$mode" = relink; then + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)' + fi + + exit $lt_exit + } + done + IFS="$save_ifs" + + # Restore the uninstalled library and exit + if test "$mode" = relink; then + $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $? + + if test -n "$convenience"; then + if test -z "$whole_archive_flag_spec"; then + $show "${rm}r $gentop" + $run ${rm}r "$gentop" + fi + fi + + exit $EXIT_SUCCESS + fi + + # Create links to the real library. + for linkname in $linknames; do + if test "$realname" != "$linkname"; then + $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)" + $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $? + fi + done + + # If -module or -export-dynamic was specified, set the dlname. + if test "$module" = yes || test "$export_dynamic" = yes; then + # On all known operating systems, these are identical. + dlname="$soname" + fi + fi + ;; + + obj) + case " $deplibs" in + *\ -l* | *\ -L*) + $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 ;; + esac + + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2 + fi + + if test -n "$rpath"; then + $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2 + fi + + if test -n "$xrpath"; then + $echo "$modename: warning: \`-R' is ignored for objects" 1>&2 + fi + + if test -n "$vinfo"; then + $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2 + fi + + if test -n "$release"; then + $echo "$modename: warning: \`-release' is ignored for objects" 1>&2 + fi + + case $output in + *.lo) + if test -n "$objs$old_deplibs"; then + $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2 + exit $EXIT_FAILURE + fi + libobj="$output" + obj=`$echo "X$output" | $Xsed -e "$lo2o"` + ;; + *) + libobj= + obj="$output" + ;; + esac + + # Delete the old objects. + $run $rm $obj $libobj + + # Objects from convenience libraries. This assumes + # single-version convenience libraries. Whenever we create + # different ones for PIC/non-PIC, this we'll have to duplicate + # the extraction. + reload_conv_objs= + gentop= + # reload_cmds runs $LD directly, so let us get rid of + # -Wl from whole_archive_flag_spec and hope we can get by with + # turning comma into space.. + wl= + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec"; then + eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" + reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'` + else + gentop="$output_objdir/${obj}x" + generated="$generated $gentop" + + func_extract_archives $gentop $convenience + reload_conv_objs="$reload_objs $func_extract_archives_result" + fi + fi + + # Create the old-style object. + reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test + + output="$obj" + cmds=$reload_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + + # Exit if we aren't doing a library object file. + if test -z "$libobj"; then + if test -n "$gentop"; then + $show "${rm}r $gentop" + $run ${rm}r $gentop + fi + + exit $EXIT_SUCCESS + fi + + if test "$build_libtool_libs" != yes; then + if test -n "$gentop"; then + $show "${rm}r $gentop" + $run ${rm}r $gentop + fi + + # Create an invalid libtool object if no PIC, so that we don't + # accidentally link it into a program. + # $show "echo timestamp > $libobj" + # $run eval "echo timestamp > $libobj" || exit $? + exit $EXIT_SUCCESS + fi + + if test -n "$pic_flag" || test "$pic_mode" != default; then + # Only do commands if we really have different PIC objects. + reload_objs="$libobjs $reload_conv_objs" + output="$libobj" + cmds=$reload_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + fi + + if test -n "$gentop"; then + $show "${rm}r $gentop" + $run ${rm}r $gentop + fi + + exit $EXIT_SUCCESS + ;; + + prog) + case $host in + *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;; + esac + if test -n "$vinfo"; then + $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2 + fi + + if test -n "$release"; then + $echo "$modename: warning: \`-release' is ignored for programs" 1>&2 + fi + + if test "$preload" = yes; then + if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown && + test "$dlopen_self_static" = unknown; then + $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support." + fi + fi + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library is the System framework + compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'` + finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'` + ;; + esac + + case $host in + *darwin*) + # Don't allow lazy linking, it breaks C++ global constructors + if test "$tagname" = CXX ; then + compile_command="$compile_command ${wl}-bind_at_load" + finalize_command="$finalize_command ${wl}-bind_at_load" + fi + ;; + esac + + + # move library search paths that coincide with paths to not yet + # installed libraries to the beginning of the library search list + new_libs= + for path in $notinst_path; do + case " $new_libs " in + *" -L$path/$objdir "*) ;; + *) + case " $compile_deplibs " in + *" -L$path/$objdir "*) + new_libs="$new_libs -L$path/$objdir" ;; + esac + ;; + esac + done + for deplib in $compile_deplibs; do + case $deplib in + -L*) + case " $new_libs " in + *" $deplib "*) ;; + *) new_libs="$new_libs $deplib" ;; + esac + ;; + *) new_libs="$new_libs $deplib" ;; + esac + done + compile_deplibs="$new_libs" + + + compile_command="$compile_command $compile_deplibs" + finalize_command="$finalize_command $finalize_deplibs" + + if test -n "$rpath$xrpath"; then + # If the user specified any rpath flags, then add them. + for libdir in $rpath $xrpath; do + # This is the magic to use -rpath. + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" ;; + esac + done + fi + + # Now hardcode the library paths + rpath= + hardcode_libdirs= + for libdir in $compile_rpath $finalize_rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + rpath="$rpath $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) perm_rpath="$perm_rpath $libdir" ;; + esac + fi + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) + testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'` + case :$dllsearchpath: in + *":$libdir:"*) ;; + *) dllsearchpath="$dllsearchpath:$libdir";; + esac + case :$dllsearchpath: in + *":$testbindir:"*) ;; + *) dllsearchpath="$dllsearchpath:$testbindir";; + esac + ;; + esac + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval rpath=\" $hardcode_libdir_flag_spec\" + fi + compile_rpath="$rpath" + + rpath= + hardcode_libdirs= + for libdir in $finalize_rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + rpath="$rpath $flag" + fi + elif test -n "$runpath_var"; then + case "$finalize_perm_rpath " in + *" $libdir "*) ;; + *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; + esac + fi + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval rpath=\" $hardcode_libdir_flag_spec\" + fi + finalize_rpath="$rpath" + + if test -n "$libobjs" && test "$build_old_libs" = yes; then + # Transform all the library objects into standard objects. + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + fi + + dlsyms= + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + if test -n "$NM" && test -n "$global_symbol_pipe"; then + dlsyms="${outputname}S.c" + else + $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2 + fi + fi + + if test -n "$dlsyms"; then + case $dlsyms in + "") ;; + *.c) + # Discover the nlist of each of the dlfiles. + nlist="$output_objdir/${outputname}.nm" + + $show "$rm $nlist ${nlist}S ${nlist}T" + $run $rm "$nlist" "${nlist}S" "${nlist}T" + + # Parse the name list into a source file. + $show "creating $output_objdir/$dlsyms" + + test -z "$run" && $echo > "$output_objdir/$dlsyms" "\ +/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */ +/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */ + +#ifdef __cplusplus +extern \"C\" { +#endif + +/* Prevent the only kind of declaration conflicts we can make. */ +#define lt_preloaded_symbols some_other_symbol + +/* External symbol declarations for the compiler. */\ +" + + if test "$dlself" = yes; then + $show "generating symbol list for \`$output'" + + test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist" + + # Add our own program objects to the symbol list. + progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + for arg in $progfiles; do + $show "extracting global C symbols from \`$arg'" + $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" + done + + if test -n "$exclude_expsyms"; then + $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' + $run eval '$mv "$nlist"T "$nlist"' + fi + + if test -n "$export_symbols_regex"; then + $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' + $run eval '$mv "$nlist"T "$nlist"' + fi + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + export_symbols="$output_objdir/$outputname.exp" + $run $rm $export_symbols + $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' + case $host in + *cygwin* | *mingw* ) + $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' + $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' + ;; + esac + else + $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' + $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' + $run eval 'mv "$nlist"T "$nlist"' + case $host in + *cygwin* | *mingw* ) + $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' + $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' + ;; + esac + fi + fi + + for arg in $dlprefiles; do + $show "extracting global C symbols from \`$arg'" + name=`$echo "$arg" | ${SED} -e 's%^.*/%%'` + $run eval '$echo ": $name " >> "$nlist"' + $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" + done + + if test -z "$run"; then + # Make sure we have at least an empty file. + test -f "$nlist" || : > "$nlist" + + if test -n "$exclude_expsyms"; then + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T + $mv "$nlist"T "$nlist" + fi + + # Try sorting and uniquifying the output. + if grep -v "^: " < "$nlist" | + if sort -k 3 </dev/null >/dev/null 2>&1; then + sort -k 3 + else + sort +2 + fi | + uniq > "$nlist"S; then + : + else + grep -v "^: " < "$nlist" > "$nlist"S + fi + + if test -f "$nlist"S; then + eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"' + else + $echo '/* NONE */' >> "$output_objdir/$dlsyms" + fi + + $echo >> "$output_objdir/$dlsyms" "\ + +#undef lt_preloaded_symbols + +#if defined (__STDC__) && __STDC__ +# define lt_ptr void * +#else +# define lt_ptr char * +# define const +#endif + +/* The mapping between symbol names and symbols. */ +" + + case $host in + *cygwin* | *mingw* ) + $echo >> "$output_objdir/$dlsyms" "\ +/* DATA imports from DLLs on WIN32 can't be const, because + runtime relocations are performed -- see ld's documentation + on pseudo-relocs */ +struct { +" + ;; + * ) + $echo >> "$output_objdir/$dlsyms" "\ +const struct { +" + ;; + esac + + + $echo >> "$output_objdir/$dlsyms" "\ + const char *name; + lt_ptr address; +} +lt_preloaded_symbols[] = +{\ +" + + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms" + + $echo >> "$output_objdir/$dlsyms" "\ + {0, (lt_ptr) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif\ +" + fi + + pic_flag_for_symtable= + case $host in + # compiling the symbol table file with pic_flag works around + # a FreeBSD bug that causes programs to crash when -lm is + # linked before any other PIC object. But we must not use + # pic_flag when linking with -static. The problem exists in + # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. + *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) + case "$compile_command " in + *" -static "*) ;; + *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";; + esac;; + *-*-hpux*) + case "$compile_command " in + *" -static "*) ;; + *) pic_flag_for_symtable=" $pic_flag";; + esac + esac + + # Now compile the dynamic symbol file. + $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")" + $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $? + + # Clean up the generated files. + $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T" + $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T" + + # Transform the symbol file into the correct name. + case $host in + *cygwin* | *mingw* ) + if test -f "$output_objdir/${outputname}.def" ; then + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP` + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP` + else + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` + fi + ;; + * ) + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` + ;; + esac + ;; + *) + $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2 + exit $EXIT_FAILURE + ;; + esac + else + # We keep going just in case the user didn't refer to + # lt_preloaded_symbols. The linker will fail if global_symbol_pipe + # really was required. + + # Nullify the symbol file. + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP` + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP` + fi + + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then + # Replace the output file specification. + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP` + link_command="$compile_command$compile_rpath" + + # We have no uninstalled library dependencies, so finalize right now. + $show "$link_command" + $run eval "$link_command" + exit_status=$? + + # Delete the generated files. + if test -n "$dlsyms"; then + $show "$rm $output_objdir/${outputname}S.${objext}" + $run $rm "$output_objdir/${outputname}S.${objext}" + fi + + exit $exit_status + fi + + if test -n "$shlibpath_var"; then + # We should set the shlibpath_var + rpath= + for dir in $temp_rpath; do + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) + # Absolute path. + rpath="$rpath$dir:" + ;; + *) + # Relative path: add a thisdir entry. + rpath="$rpath\$thisdir/$dir:" + ;; + esac + done + temp_rpath="$rpath" + fi + + if test -n "$compile_shlibpath$finalize_shlibpath"; then + compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" + fi + if test -n "$finalize_shlibpath"; then + finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" + fi + + compile_var= + finalize_var= + if test -n "$runpath_var"; then + if test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + rpath="$rpath$dir:" + done + compile_var="$runpath_var=\"$rpath\$$runpath_var\" " + fi + if test -n "$finalize_perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $finalize_perm_rpath; do + rpath="$rpath$dir:" + done + finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " + fi + fi + + if test "$no_install" = yes; then + # We don't need to create a wrapper script. + link_command="$compile_var$compile_command$compile_rpath" + # Replace the output file specification. + link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` + # Delete the old output file. + $run $rm $output + # Link the executable and exit + $show "$link_command" + $run eval "$link_command" || exit $? + exit $EXIT_SUCCESS + fi + + if test "$hardcode_action" = relink; then + # Fast installation is not supported + link_command="$compile_var$compile_command$compile_rpath" + relink_command="$finalize_var$finalize_command$finalize_rpath" + + $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2 + $echo "$modename: \`$output' will be relinked during installation" 1>&2 + else + if test "$fast_install" != no; then + link_command="$finalize_var$compile_command$finalize_rpath" + if test "$fast_install" = yes; then + relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP` + else + # fast_install is set to needless + relink_command= + fi + else + link_command="$compile_var$compile_command$compile_rpath" + relink_command="$finalize_var$finalize_command$finalize_rpath" + fi + fi + + # Replace the output file specification. + link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` + + # Delete the old output files. + $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname + + $show "$link_command" + $run eval "$link_command" || exit $? + + # Now create the wrapper script. + $show "creating $output" + + # Quote the relink command for shipping. + if test -n "$relink_command"; then + # Preserve any variables that may affect compiler behavior + for var in $variables_saved_for_relink; do + if eval test -z \"\${$var+set}\"; then + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" + elif eval var_value=\$$var; test -z "$var_value"; then + relink_command="$var=; export $var; $relink_command" + else + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` + relink_command="$var=\"$var_value\"; export $var; $relink_command" + fi + done + relink_command="(cd `pwd`; $relink_command)" + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP` + fi + + # Quote $echo for shipping. + if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then + case $progpath in + [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";; + *) qecho="$SHELL `pwd`/$progpath --fallback-echo";; + esac + qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"` + else + qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"` + fi + + # Only actually do things if our run command is non-null. + if test -z "$run"; then + # win32 will think the script is a binary if it has + # a .exe suffix, so we strip it off here. + case $output in + *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;; + esac + # test for cygwin because mv fails w/o .exe extensions + case $host in + *cygwin*) + exeext=.exe + outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;; + *) exeext= ;; + esac + case $host in + *cygwin* | *mingw* ) + output_name=`basename $output` + output_path=`dirname $output` + cwrappersource="$output_path/$objdir/lt-$output_name.c" + cwrapper="$output_path/$output_name.exe" + $rm $cwrappersource $cwrapper + trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 + + cat > $cwrappersource <<EOF + +/* $cwrappersource - temporary wrapper executable for $objdir/$outputname + Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP + + The $output program cannot be directly executed until all the libtool + libraries that it depends on are installed. + + This wrapper executable should never be moved out of the build directory. + If it is, it will not operate correctly. + + Currently, it simply execs the wrapper *script* "/bin/sh $output", + but could eventually absorb all of the scripts functionality and + exec $objdir/$outputname directly. +*/ +EOF + cat >> $cwrappersource<<"EOF" +#include <stdio.h> +#include <stdlib.h> +#include <unistd.h> +#include <malloc.h> +#include <stdarg.h> +#include <assert.h> +#include <string.h> +#include <ctype.h> +#include <sys/stat.h> + +#if defined(PATH_MAX) +# define LT_PATHMAX PATH_MAX +#elif defined(MAXPATHLEN) +# define LT_PATHMAX MAXPATHLEN +#else +# define LT_PATHMAX 1024 +#endif + +#ifndef DIR_SEPARATOR +# define DIR_SEPARATOR '/' +# define PATH_SEPARATOR ':' +#endif + +#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ + defined (__OS2__) +# define HAVE_DOS_BASED_FILE_SYSTEM +# ifndef DIR_SEPARATOR_2 +# define DIR_SEPARATOR_2 '\\' +# endif +# ifndef PATH_SEPARATOR_2 +# define PATH_SEPARATOR_2 ';' +# endif +#endif + +#ifndef DIR_SEPARATOR_2 +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) +#else /* DIR_SEPARATOR_2 */ +# define IS_DIR_SEPARATOR(ch) \ + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) +#endif /* DIR_SEPARATOR_2 */ + +#ifndef PATH_SEPARATOR_2 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) +#else /* PATH_SEPARATOR_2 */ +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) +#endif /* PATH_SEPARATOR_2 */ + +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) +#define XFREE(stale) do { \ + if (stale) { free ((void *) stale); stale = 0; } \ +} while (0) + +/* -DDEBUG is fairly common in CFLAGS. */ +#undef DEBUG +#if defined DEBUGWRAPPER +# define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__) +#else +# define DEBUG(format, ...) +#endif + +const char *program_name = NULL; + +void * xmalloc (size_t num); +char * xstrdup (const char *string); +const char * base_name (const char *name); +char * find_executable(const char *wrapper); +int check_executable(const char *path); +char * strendzap(char *str, const char *pat); +void lt_fatal (const char *message, ...); + +int +main (int argc, char *argv[]) +{ + char **newargz; + int i; + + program_name = (char *) xstrdup (base_name (argv[0])); + DEBUG("(main) argv[0] : %s\n",argv[0]); + DEBUG("(main) program_name : %s\n",program_name); + newargz = XMALLOC(char *, argc+2); +EOF + + cat >> $cwrappersource <<EOF + newargz[0] = (char *) xstrdup("$SHELL"); +EOF + + cat >> $cwrappersource <<"EOF" + newargz[1] = find_executable(argv[0]); + if (newargz[1] == NULL) + lt_fatal("Couldn't find %s", argv[0]); + DEBUG("(main) found exe at : %s\n",newargz[1]); + /* we know the script has the same name, without the .exe */ + /* so make sure newargz[1] doesn't end in .exe */ + strendzap(newargz[1],".exe"); + for (i = 1; i < argc; i++) + newargz[i+1] = xstrdup(argv[i]); + newargz[argc+1] = NULL; + + for (i=0; i<argc+1; i++) + { + DEBUG("(main) newargz[%d] : %s\n",i,newargz[i]); + ; + } + +EOF + + case $host_os in + mingw*) + cat >> $cwrappersource <<EOF + execv("$SHELL",(char const **)newargz); +EOF + ;; + *) + cat >> $cwrappersource <<EOF + execv("$SHELL",newargz); +EOF + ;; + esac + + cat >> $cwrappersource <<"EOF" + return 127; +} + +void * +xmalloc (size_t num) +{ + void * p = (void *) malloc (num); + if (!p) + lt_fatal ("Memory exhausted"); + + return p; +} + +char * +xstrdup (const char *string) +{ + return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL +; +} + +const char * +base_name (const char *name) +{ + const char *base; + +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + /* Skip over the disk name in MSDOS pathnames. */ + if (isalpha ((unsigned char)name[0]) && name[1] == ':') + name += 2; +#endif + + for (base = name; *name; name++) + if (IS_DIR_SEPARATOR (*name)) + base = name + 1; + return base; +} + +int +check_executable(const char * path) +{ + struct stat st; + + DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!"); + if ((!path) || (!*path)) + return 0; + + if ((stat (path, &st) >= 0) && + ( + /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */ +#if defined (S_IXOTH) + ((st.st_mode & S_IXOTH) == S_IXOTH) || +#endif +#if defined (S_IXGRP) + ((st.st_mode & S_IXGRP) == S_IXGRP) || +#endif + ((st.st_mode & S_IXUSR) == S_IXUSR)) + ) + return 1; + else + return 0; +} + +/* Searches for the full path of the wrapper. Returns + newly allocated full path name if found, NULL otherwise */ +char * +find_executable (const char* wrapper) +{ + int has_slash = 0; + const char* p; + const char* p_next; + /* static buffer for getcwd */ + char tmp[LT_PATHMAX + 1]; + int tmp_len; + char* concat_name; + + DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"); + + if ((wrapper == NULL) || (*wrapper == '\0')) + return NULL; + + /* Absolute path? */ +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':') + { + concat_name = xstrdup (wrapper); + if (check_executable(concat_name)) + return concat_name; + XFREE(concat_name); + } + else + { +#endif + if (IS_DIR_SEPARATOR (wrapper[0])) + { + concat_name = xstrdup (wrapper); + if (check_executable(concat_name)) + return concat_name; + XFREE(concat_name); + } +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + } +#endif + + for (p = wrapper; *p; p++) + if (*p == '/') + { + has_slash = 1; + break; + } + if (!has_slash) + { + /* no slashes; search PATH */ + const char* path = getenv ("PATH"); + if (path != NULL) + { + for (p = path; *p; p = p_next) + { + const char* q; + size_t p_len; + for (q = p; *q; q++) + if (IS_PATH_SEPARATOR(*q)) + break; + p_len = q - p; + p_next = (*q == '\0' ? q : q + 1); + if (p_len == 0) + { + /* empty path: current directory */ + if (getcwd (tmp, LT_PATHMAX) == NULL) + lt_fatal ("getcwd failed"); + tmp_len = strlen(tmp); + concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1); + memcpy (concat_name, tmp, tmp_len); + concat_name[tmp_len] = '/'; + strcpy (concat_name + tmp_len + 1, wrapper); + } + else + { + concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1); + memcpy (concat_name, p, p_len); + concat_name[p_len] = '/'; + strcpy (concat_name + p_len + 1, wrapper); + } + if (check_executable(concat_name)) + return concat_name; + XFREE(concat_name); + } + } + /* not found in PATH; assume curdir */ + } + /* Relative path | not found in path: prepend cwd */ + if (getcwd (tmp, LT_PATHMAX) == NULL) + lt_fatal ("getcwd failed"); + tmp_len = strlen(tmp); + concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1); + memcpy (concat_name, tmp, tmp_len); + concat_name[tmp_len] = '/'; + strcpy (concat_name + tmp_len + 1, wrapper); + + if (check_executable(concat_name)) + return concat_name; + XFREE(concat_name); + return NULL; +} + +char * +strendzap(char *str, const char *pat) +{ + size_t len, patlen; + + assert(str != NULL); + assert(pat != NULL); + + len = strlen(str); + patlen = strlen(pat); + + if (patlen <= len) + { + str += len - patlen; + if (strcmp(str, pat) == 0) + *str = '\0'; + } + return str; +} + +static void +lt_error_core (int exit_status, const char * mode, + const char * message, va_list ap) +{ + fprintf (stderr, "%s: %s: ", program_name, mode); + vfprintf (stderr, message, ap); + fprintf (stderr, ".\n"); + + if (exit_status >= 0) + exit (exit_status); +} + +void +lt_fatal (const char *message, ...) +{ + va_list ap; + va_start (ap, message); + lt_error_core (EXIT_FAILURE, "FATAL", message, ap); + va_end (ap); +} +EOF + # we should really use a build-platform specific compiler + # here, but OTOH, the wrappers (shell script and this C one) + # are only useful if you want to execute the "real" binary. + # Since the "real" binary is built for $host, then this + # wrapper might as well be built for $host, too. + $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource + ;; + esac + $rm $output + trap "$rm $output; exit $EXIT_FAILURE" 1 2 15 + + $echo > $output "\ +#! $SHELL + +# $output - temporary wrapper script for $objdir/$outputname +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP +# +# The $output program cannot be directly executed until all the libtool +# libraries that it depends on are installed. +# +# This wrapper script should never be moved out of the build directory. +# If it is, it will not operate correctly. + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='${SED} -e 1s/^X//' +sed_quote_subst='$sed_quote_subst' + +# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). +if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac +fi +BIN_SH=xpg4; export BIN_SH # for Tru64 +DUALCASE=1; export DUALCASE # for MKS sh + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +relink_command=\"$relink_command\" + +# This environment variable determines our operation mode. +if test \"\$libtool_install_magic\" = \"$magic\"; then + # install mode needs the following variable: + notinst_deplibs='$notinst_deplibs' +else + # When we are sourced in execute mode, \$file and \$echo are already set. + if test \"\$libtool_execute_magic\" != \"$magic\"; then + echo=\"$qecho\" + file=\"\$0\" + # Make sure echo works. + if test \"X\$1\" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift + elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then + # Yippee, \$echo works! + : + else + # Restart under the correct shell, and then maybe \$echo will work. + exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} + fi + fi\ +" + $echo >> $output "\ + + # Find the directory that this script lives in. + thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` + test \"x\$thisdir\" = \"x\$file\" && thisdir=. + + # Follow symbolic links until we get to the real thisdir. + file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` + while test -n \"\$file\"; do + destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` + + # If there was a directory component, then change thisdir. + if test \"x\$destdir\" != \"x\$file\"; then + case \"\$destdir\" in + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; + *) thisdir=\"\$thisdir/\$destdir\" ;; + esac + fi + + file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\` + file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` + done + + # Try to get the absolute directory name. + absdir=\`cd \"\$thisdir\" && pwd\` + test -n \"\$absdir\" && thisdir=\"\$absdir\" +" + + if test "$fast_install" = yes; then + $echo >> $output "\ + program=lt-'$outputname'$exeext + progdir=\"\$thisdir/$objdir\" + + if test ! -f \"\$progdir/\$program\" || \\ + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ + test \"X\$file\" != \"X\$progdir/\$program\"; }; then + + file=\"\$\$-\$program\" + + if test ! -d \"\$progdir\"; then + $mkdir \"\$progdir\" + else + $rm \"\$progdir/\$file\" + fi" + + $echo >> $output "\ + + # relink executable if necessary + if test -n \"\$relink_command\"; then + if relink_command_output=\`eval \$relink_command 2>&1\`; then : + else + $echo \"\$relink_command_output\" >&2 + $rm \"\$progdir/\$file\" + exit $EXIT_FAILURE + fi + fi + + $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || + { $rm \"\$progdir/\$program\"; + $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; } + $rm \"\$progdir/\$file\" + fi" + else + $echo >> $output "\ + program='$outputname' + progdir=\"\$thisdir/$objdir\" +" + fi + + $echo >> $output "\ + + if test -f \"\$progdir/\$program\"; then" + + # Export our shlibpath_var if we have one. + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then + $echo >> $output "\ + # Add our own library path to $shlibpath_var + $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" + + # Some systems cannot cope with colon-terminated $shlibpath_var + # The second colon is a workaround for a bug in BeOS R4 sed + $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` + + export $shlibpath_var +" + fi + + # fixup the dll searchpath if we need to. + if test -n "$dllsearchpath"; then + $echo >> $output "\ + # Add the dll search path components to the executable PATH + PATH=$dllsearchpath:\$PATH +" + fi + + $echo >> $output "\ + if test \"\$libtool_execute_magic\" != \"$magic\"; then + # Run the actual program with our arguments. +" + case $host in + # Backslashes separate directories on plain windows + *-*-mingw | *-*-os2*) + $echo >> $output "\ + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} +" + ;; + + *) + $echo >> $output "\ + exec \"\$progdir/\$program\" \${1+\"\$@\"} +" + ;; + esac + $echo >> $output "\ + \$echo \"\$0: cannot exec \$program \$*\" + exit $EXIT_FAILURE + fi + else + # The program doesn't exist. + \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 + \$echo \"This script is just a wrapper for \$program.\" 1>&2 + $echo \"See the $PACKAGE documentation for more information.\" 1>&2 + exit $EXIT_FAILURE + fi +fi\ +" + chmod +x $output + fi + exit $EXIT_SUCCESS + ;; + esac + + # See if we need to build an old-fashioned archive. + for oldlib in $oldlibs; do + + if test "$build_libtool_libs" = convenience; then + oldobjs="$libobjs_save" + addlibs="$convenience" + build_libtool_libs=no + else + if test "$build_libtool_libs" = module; then + oldobjs="$libobjs_save" + build_libtool_libs=no + else + oldobjs="$old_deplibs $non_pic_objects" + fi + addlibs="$old_convenience" + fi + + if test -n "$addlibs"; then + gentop="$output_objdir/${outputname}x" + generated="$generated $gentop" + + func_extract_archives $gentop $addlibs + oldobjs="$oldobjs $func_extract_archives_result" + fi + + # Do each command in the archive commands. + if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then + cmds=$old_archive_from_new_cmds + else + # POSIX demands no paths to be encoded in archives. We have + # to avoid creating archives with duplicate basenames if we + # might have to extract them afterwards, e.g., when creating a + # static archive out of a convenience library, or when linking + # the entirety of a libtool archive into another (currently + # not supported by libtool). + if (for obj in $oldobjs + do + $echo "X$obj" | $Xsed -e 's%^.*/%%' + done | sort | sort -uc >/dev/null 2>&1); then + : + else + $echo "copying selected object files to avoid basename conflicts..." + + if test -z "$gentop"; then + gentop="$output_objdir/${outputname}x" + generated="$generated $gentop" + + $show "${rm}r $gentop" + $run ${rm}r "$gentop" + $show "$mkdir $gentop" + $run $mkdir "$gentop" + exit_status=$? + if test "$exit_status" -ne 0 && test ! -d "$gentop"; then + exit $exit_status + fi + fi + + save_oldobjs=$oldobjs + oldobjs= + counter=1 + for obj in $save_oldobjs + do + objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` + case " $oldobjs " in + " ") oldobjs=$obj ;; + *[\ /]"$objbase "*) + while :; do + # Make sure we don't pick an alternate name that also + # overlaps. + newobj=lt$counter-$objbase + counter=`expr $counter + 1` + case " $oldobjs " in + *[\ /]"$newobj "*) ;; + *) if test ! -f "$gentop/$newobj"; then break; fi ;; + esac + done + $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" + $run ln "$obj" "$gentop/$newobj" || + $run cp "$obj" "$gentop/$newobj" + oldobjs="$oldobjs $gentop/$newobj" + ;; + *) oldobjs="$oldobjs $obj" ;; + esac + done + fi + + eval cmds=\"$old_archive_cmds\" + + if len=`expr "X$cmds" : ".*"` && + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then + cmds=$old_archive_cmds + else + # the command line is too long to link in one step, link in parts + $echo "using piecewise archive linking..." + save_RANLIB=$RANLIB + RANLIB=: + objlist= + concat_cmds= + save_oldobjs=$oldobjs + + # Is there a better way of finding the last object in the list? + for obj in $save_oldobjs + do + last_oldobj=$obj + done + for obj in $save_oldobjs + do + oldobjs="$objlist $obj" + objlist="$objlist $obj" + eval test_cmds=\"$old_archive_cmds\" + if len=`expr "X$test_cmds" : ".*" 2>/dev/null` && + test "$len" -le "$max_cmd_len"; then + : + else + # the above command should be used before it gets too long + oldobjs=$objlist + if test "$obj" = "$last_oldobj" ; then + RANLIB=$save_RANLIB + fi + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" + objlist= + fi + done + RANLIB=$save_RANLIB + oldobjs=$objlist + if test "X$oldobjs" = "X" ; then + eval cmds=\"\$concat_cmds\" + else + eval cmds=\"\$concat_cmds~\$old_archive_cmds\" + fi + fi + fi + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + eval cmd=\"$cmd\" + IFS="$save_ifs" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + done + + if test -n "$generated"; then + $show "${rm}r$generated" + $run ${rm}r$generated + fi + + # Now create the libtool archive. + case $output in + *.la) + old_library= + test "$build_old_libs" = yes && old_library="$libname.$libext" + $show "creating $output" + + # Preserve any variables that may affect compiler behavior + for var in $variables_saved_for_relink; do + if eval test -z \"\${$var+set}\"; then + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" + elif eval var_value=\$$var; test -z "$var_value"; then + relink_command="$var=; export $var; $relink_command" + else + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` + relink_command="$var=\"$var_value\"; export $var; $relink_command" + fi + done + # Quote the link command for shipping. + relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP` + if test "$hardcode_automatic" = yes ; then + relink_command= + fi + + + # Only create the output if not a dry run. + if test -z "$run"; then + for installed in no yes; do + if test "$installed" = yes; then + if test -z "$install_libdir"; then + break + fi + output="$output_objdir/$outputname"i + # Replace all uninstalled libtool libraries with the installed ones + newdependency_libs= + for deplib in $dependency_libs; do + case $deplib in + *.la) + name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'` + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + if test -z "$libdir"; then + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + newdependency_libs="$newdependency_libs $libdir/$name" + ;; + *) newdependency_libs="$newdependency_libs $deplib" ;; + esac + done + dependency_libs="$newdependency_libs" + newdlfiles= + for lib in $dlfiles; do + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + if test -z "$libdir"; then + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + newdlfiles="$newdlfiles $libdir/$name" + done + dlfiles="$newdlfiles" + newdlprefiles= + for lib in $dlprefiles; do + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + if test -z "$libdir"; then + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + newdlprefiles="$newdlprefiles $libdir/$name" + done + dlprefiles="$newdlprefiles" + else + newdlfiles= + for lib in $dlfiles; do + case $lib in + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; + *) abs=`pwd`"/$lib" ;; + esac + newdlfiles="$newdlfiles $abs" + done + dlfiles="$newdlfiles" + newdlprefiles= + for lib in $dlprefiles; do + case $lib in + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; + *) abs=`pwd`"/$lib" ;; + esac + newdlprefiles="$newdlprefiles $abs" + done + dlprefiles="$newdlprefiles" + fi + $rm $output + # place dlname in correct position for cygwin + tdlname=$dlname + case $host,$output,$installed,$module,$dlname in + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; + esac + $echo > $output "\ +# $outputname - a libtool library file +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='$tdlname' + +# Names of this library. +library_names='$library_names' + +# The name of the static archive. +old_library='$old_library' + +# Libraries that this one depends upon. +dependency_libs='$dependency_libs' + +# Version information for $libname. +current=$current +age=$age +revision=$revision + +# Is this an already installed library? +installed=$installed + +# Should we warn about portability when linking against -modules? +shouldnotlink=$module + +# Files to dlopen/dlpreopen +dlopen='$dlfiles' +dlpreopen='$dlprefiles' + +# Directory that this library needs to be installed in: +libdir='$install_libdir'" + if test "$installed" = no && test "$need_relink" = yes; then + $echo >> $output "\ +relink_command=\"$relink_command\"" + fi + done + fi + + # Do a symbolic link so that the libtool archive can be found in + # LD_LIBRARY_PATH before the program is installed. + $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)" + $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $? + ;; + esac + exit $EXIT_SUCCESS + ;; + + # libtool install mode + install) + modename="$modename: install" + + # There may be an optional sh(1) argument at the beginning of + # install_prog (especially on Windows NT). + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || + # Allow the use of GNU shtool's install command. + $echo "X$nonopt" | grep shtool > /dev/null; then + # Aesthetically quote it. + arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + install_prog="$arg " + arg="$1" + shift + else + install_prog= + arg=$nonopt + fi + + # The real first argument should be the name of the installation program. + # Aesthetically quote it. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + install_prog="$install_prog$arg" + + # We need to accept at least all the BSD install flags. + dest= + files= + opts= + prev= + install_type= + isdir=no + stripme= + for arg + do + if test -n "$dest"; then + files="$files $dest" + dest=$arg + continue + fi + + case $arg in + -d) isdir=yes ;; + -f) + case " $install_prog " in + *[\\\ /]cp\ *) ;; + *) prev=$arg ;; + esac + ;; + -g | -m | -o) prev=$arg ;; + -s) + stripme=" -s" + continue + ;; + -*) + ;; + *) + # If the previous option needed an argument, then skip it. + if test -n "$prev"; then + prev= + else + dest=$arg + continue + fi + ;; + esac + + # Aesthetically quote the argument. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + install_prog="$install_prog $arg" + done + + if test -z "$install_prog"; then + $echo "$modename: you must specify an install program" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + if test -n "$prev"; then + $echo "$modename: the \`$prev' option requires an argument" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + if test -z "$files"; then + if test -z "$dest"; then + $echo "$modename: no file or destination specified" 1>&2 + else + $echo "$modename: you must specify a destination" 1>&2 + fi + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Strip any trailing slash from the destination. + dest=`$echo "X$dest" | $Xsed -e 's%/$%%'` + + # Check to see that the destination is a directory. + test -d "$dest" && isdir=yes + if test "$isdir" = yes; then + destdir="$dest" + destname= + else + destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'` + test "X$destdir" = "X$dest" && destdir=. + destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'` + + # Not a directory, so check to see that there is only one file specified. + set dummy $files + if test "$#" -gt 2; then + $echo "$modename: \`$dest' is not a directory" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + fi + case $destdir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + for file in $files; do + case $file in + *.lo) ;; + *) + $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; + esac + done + ;; + esac + + # This variable tells wrapper scripts just to set variables rather + # than running their programs. + libtool_install_magic="$magic" + + staticlibs= + future_libdirs= + current_libdirs= + for file in $files; do + + # Do each installation. + case $file in + *.$libext) + # Do the static libraries later. + staticlibs="$staticlibs $file" + ;; + + *.la) + # Check to see that this really is a libtool archive. + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : + else + $echo "$modename: \`$file' is not a valid libtool archive" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + library_names= + old_library= + relink_command= + # If there is no directory component, then add one. + case $file in + */* | *\\*) . $file ;; + *) . ./$file ;; + esac + + # Add the libdir to current_libdirs if it is the destination. + if test "X$destdir" = "X$libdir"; then + case "$current_libdirs " in + *" $libdir "*) ;; + *) current_libdirs="$current_libdirs $libdir" ;; + esac + else + # Note the libdir as a future libdir. + case "$future_libdirs " in + *" $libdir "*) ;; + *) future_libdirs="$future_libdirs $libdir" ;; + esac + fi + + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/ + test "X$dir" = "X$file/" && dir= + dir="$dir$objdir" + + if test -n "$relink_command"; then + # Determine the prefix the user has applied to our future dir. + inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"` + + # Don't allow the user to place us outside of our expected + # location b/c this prevents finding dependent libraries that + # are installed to the same prefix. + # At present, this check doesn't affect windows .dll's that + # are installed into $libdir/../bin (currently, that works fine) + # but it's something to keep an eye on. + if test "$inst_prefix_dir" = "$destdir"; then + $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2 + exit $EXIT_FAILURE + fi + + if test -n "$inst_prefix_dir"; then + # Stick the inst_prefix_dir data into the link command. + relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP` + else + relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP` + fi + + $echo "$modename: warning: relinking \`$file'" 1>&2 + $show "$relink_command" + if $run eval "$relink_command"; then : + else + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 + exit $EXIT_FAILURE + fi + fi + + # See the names of the shared library. + set dummy $library_names + if test -n "$2"; then + realname="$2" + shift + shift + + srcname="$realname" + test -n "$relink_command" && srcname="$realname"T + + # Install the shared library and build the symlinks. + $show "$install_prog $dir/$srcname $destdir/$realname" + $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $? + if test -n "$stripme" && test -n "$striplib"; then + $show "$striplib $destdir/$realname" + $run eval "$striplib $destdir/$realname" || exit $? + fi + + if test "$#" -gt 0; then + # Delete the old symlinks, and create new ones. + # Try `ln -sf' first, because the `ln' binary might depend on + # the symlink we replace! Solaris /bin/ln does not understand -f, + # so we also need to try rm && ln -s. + for linkname + do + if test "$linkname" != "$realname"; then + $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })" + $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })" + fi + done + fi + + # Do each command in the postinstall commands. + lib="$destdir/$realname" + cmds=$postinstall_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || { + lt_exit=$? + + # Restore the uninstalled library and exit + if test "$mode" = relink; then + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)' + fi + + exit $lt_exit + } + done + IFS="$save_ifs" + fi + + # Install the pseudo-library for information purposes. + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" + ;; + + *.lo) + # Install (i.e. copy) a libtool object. + + # Figure out destination file name, if it wasn't already specified. + if test -n "$destname"; then + destfile="$destdir/$destname" + else + destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + destfile="$destdir/$destfile" + fi + + # Deduce the name of the destination old-style object file. + case $destfile in + *.lo) + staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"` + ;; + *.$objext) + staticdest="$destfile" + destfile= + ;; + *) + $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + # Install the libtool object if requested. + if test -n "$destfile"; then + $show "$install_prog $file $destfile" + $run eval "$install_prog $file $destfile" || exit $? + fi + + # Install the old object if enabled. + if test "$build_old_libs" = yes; then + # Deduce the name of the old-style object file. + staticobj=`$echo "X$file" | $Xsed -e "$lo2o"` + + $show "$install_prog $staticobj $staticdest" + $run eval "$install_prog \$staticobj \$staticdest" || exit $? + fi + exit $EXIT_SUCCESS + ;; + + *) + # Figure out destination file name, if it wasn't already specified. + if test -n "$destname"; then + destfile="$destdir/$destname" + else + destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + destfile="$destdir/$destfile" + fi + + # If the file is missing, and there is a .exe on the end, strip it + # because it is most likely a libtool script we actually want to + # install + stripped_ext="" + case $file in + *.exe) + if test ! -f "$file"; then + file=`$echo $file|${SED} 's,.exe$,,'` + stripped_ext=".exe" + fi + ;; + esac + + # Do a test to see if this is really a libtool program. + case $host in + *cygwin*|*mingw*) + wrapper=`$echo $file | ${SED} -e 's,.exe$,,'` + ;; + *) + wrapper=$file + ;; + esac + if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then + notinst_deplibs= + relink_command= + + # Note that it is not necessary on cygwin/mingw to append a dot to + # foo even if both foo and FILE.exe exist: automatic-append-.exe + # behavior happens only for exec(3), not for open(2)! Also, sourcing + # `FILE.' does not work on cygwin managed mounts. + # + # If there is no directory component, then add one. + case $wrapper in + */* | *\\*) . ${wrapper} ;; + *) . ./${wrapper} ;; + esac + + # Check the variables that should have been set. + if test -z "$notinst_deplibs"; then + $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2 + exit $EXIT_FAILURE + fi + + finalize=yes + for lib in $notinst_deplibs; do + # Check to see that each library is installed. + libdir= + if test -f "$lib"; then + # If there is no directory component, then add one. + case $lib in + */* | *\\*) . $lib ;; + *) . ./$lib ;; + esac + fi + libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test + if test -n "$libdir" && test ! -f "$libfile"; then + $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2 + finalize=no + fi + done + + relink_command= + # Note that it is not necessary on cygwin/mingw to append a dot to + # foo even if both foo and FILE.exe exist: automatic-append-.exe + # behavior happens only for exec(3), not for open(2)! Also, sourcing + # `FILE.' does not work on cygwin managed mounts. + # + # If there is no directory component, then add one. + case $wrapper in + */* | *\\*) . ${wrapper} ;; + *) . ./${wrapper} ;; + esac + + outputname= + if test "$fast_install" = no && test -n "$relink_command"; then + if test "$finalize" = yes && test -z "$run"; then + tmpdir=`func_mktempdir` + file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'` + outputname="$tmpdir/$file" + # Replace the output file specification. + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP` + + $show "$relink_command" + if $run eval "$relink_command"; then : + else + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 + ${rm}r "$tmpdir" + continue + fi + file="$outputname" + else + $echo "$modename: warning: cannot relink \`$file'" 1>&2 + fi + else + # Install the binary that we compiled earlier. + file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` + fi + fi + + # remove .exe since cygwin /usr/bin/install will append another + # one anyway + case $install_prog,$host in + */usr/bin/install*,*cygwin*) + case $file:$destfile in + *.exe:*.exe) + # this is ok + ;; + *.exe:*) + destfile=$destfile.exe + ;; + *:*.exe) + destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'` + ;; + esac + ;; + esac + $show "$install_prog$stripme $file $destfile" + $run eval "$install_prog\$stripme \$file \$destfile" || exit $? + test -n "$outputname" && ${rm}r "$tmpdir" + ;; + esac + done + + for file in $staticlibs; do + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + + # Set up the ranlib parameters. + oldlib="$destdir/$name" + + $show "$install_prog $file $oldlib" + $run eval "$install_prog \$file \$oldlib" || exit $? + + if test -n "$stripme" && test -n "$old_striplib"; then + $show "$old_striplib $oldlib" + $run eval "$old_striplib $oldlib" || exit $? + fi + + # Do each command in the postinstall commands. + cmds=$old_postinstall_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + done + + if test -n "$future_libdirs"; then + $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2 + fi + + if test -n "$current_libdirs"; then + # Maybe just do a dry run. + test -n "$run" && current_libdirs=" -n$current_libdirs" + exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' + else + exit $EXIT_SUCCESS + fi + ;; + + # libtool finish mode + finish) + modename="$modename: finish" + libdirs="$nonopt" + admincmds= + + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then + for dir + do + libdirs="$libdirs $dir" + done + + for libdir in $libdirs; do + if test -n "$finish_cmds"; then + # Do each command in the finish commands. + cmds=$finish_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || admincmds="$admincmds + $cmd" + done + IFS="$save_ifs" + fi + if test -n "$finish_eval"; then + # Do the single finish_eval. + eval cmds=\"$finish_eval\" + $run eval "$cmds" || admincmds="$admincmds + $cmds" + fi + done + fi + + # Exit here if they wanted silent mode. + test "$show" = : && exit $EXIT_SUCCESS + + $echo "X----------------------------------------------------------------------" | $Xsed + $echo "Libraries have been installed in:" + for libdir in $libdirs; do + $echo " $libdir" + done + $echo + $echo "If you ever happen to want to link against installed libraries" + $echo "in a given directory, LIBDIR, you must either use libtool, and" + $echo "specify the full pathname of the library, or use the \`-LLIBDIR'" + $echo "flag during linking and do at least one of the following:" + if test -n "$shlibpath_var"; then + $echo " - add LIBDIR to the \`$shlibpath_var' environment variable" + $echo " during execution" + fi + if test -n "$runpath_var"; then + $echo " - add LIBDIR to the \`$runpath_var' environment variable" + $echo " during linking" + fi + if test -n "$hardcode_libdir_flag_spec"; then + libdir=LIBDIR + eval flag=\"$hardcode_libdir_flag_spec\" + + $echo " - use the \`$flag' linker flag" + fi + if test -n "$admincmds"; then + $echo " - have your system administrator run these commands:$admincmds" + fi + if test -f /etc/ld.so.conf; then + $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" + fi + $echo + $echo "See any operating system documentation about shared libraries for" + $echo "more information, such as the ld(1) and ld.so(8) manual pages." + $echo "X----------------------------------------------------------------------" | $Xsed + exit $EXIT_SUCCESS + ;; + + # libtool execute mode + execute) + modename="$modename: execute" + + # The first argument is the command name. + cmd="$nonopt" + if test -z "$cmd"; then + $echo "$modename: you must specify a COMMAND" 1>&2 + $echo "$help" + exit $EXIT_FAILURE + fi + + # Handle -dlopen flags immediately. + for file in $execute_dlfiles; do + if test ! -f "$file"; then + $echo "$modename: \`$file' is not a file" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + dir= + case $file in + *.la) + # Check to see that this really is a libtool archive. + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : + else + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Read the libtool library. + dlname= + library_names= + + # If there is no directory component, then add one. + case $file in + */* | *\\*) . $file ;; + *) . ./$file ;; + esac + + # Skip this library if it cannot be dlopened. + if test -z "$dlname"; then + # Warn if it was a shared library. + test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'" + continue + fi + + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` + test "X$dir" = "X$file" && dir=. + + if test -f "$dir/$objdir/$dlname"; then + dir="$dir/$objdir" + else + if test ! -f "$dir/$dlname"; then + $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2 + exit $EXIT_FAILURE + fi + fi + ;; + + *.lo) + # Just add the directory containing the .lo file. + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` + test "X$dir" = "X$file" && dir=. + ;; + + *) + $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2 + continue + ;; + esac + + # Get the absolute pathname. + absdir=`cd "$dir" && pwd` + test -n "$absdir" && dir="$absdir" + + # Now add the directory to shlibpath_var. + if eval "test -z \"\$$shlibpath_var\""; then + eval "$shlibpath_var=\"\$dir\"" + else + eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" + fi + done + + # This variable tells wrapper scripts just to set shlibpath_var + # rather than running their programs. + libtool_execute_magic="$magic" + + # Check if any of the arguments is a wrapper script. + args= + for file + do + case $file in + -*) ;; + *) + # Do a test to see if this is really a libtool program. + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + # If there is no directory component, then add one. + case $file in + */* | *\\*) . $file ;; + *) . ./$file ;; + esac + + # Transform arg to wrapped name. + file="$progdir/$program" + fi + ;; + esac + # Quote arguments (to preserve shell metacharacters). + file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"` + args="$args \"$file\"" + done + + if test -z "$run"; then + if test -n "$shlibpath_var"; then + # Export the shlibpath_var. + eval "export $shlibpath_var" + fi + + # Restore saved environment variables + for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES + do + eval "if test \"\${save_$lt_var+set}\" = set; then + $lt_var=\$save_$lt_var; export $lt_var + fi" + done + + # Now prepare to actually exec the command. + exec_cmd="\$cmd$args" + else + # Display what would be done. + if test -n "$shlibpath_var"; then + eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\"" + $echo "export $shlibpath_var" + fi + $echo "$cmd$args" + exit $EXIT_SUCCESS + fi + ;; + + # libtool clean and uninstall mode + clean | uninstall) + modename="$modename: $mode" + rm="$nonopt" + files= + rmforce= + exit_status=0 + + # This variable tells wrapper scripts just to set variables rather + # than running their programs. + libtool_install_magic="$magic" + + for arg + do + case $arg in + -f) rm="$rm $arg"; rmforce=yes ;; + -*) rm="$rm $arg" ;; + *) files="$files $arg" ;; + esac + done + + if test -z "$rm"; then + $echo "$modename: you must specify an RM program" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + rmdirs= + + origobjdir="$objdir" + for file in $files; do + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` + if test "X$dir" = "X$file"; then + dir=. + objdir="$origobjdir" + else + objdir="$dir/$origobjdir" + fi + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + test "$mode" = uninstall && objdir="$dir" + + # Remember objdir for removal later, being careful to avoid duplicates + if test "$mode" = clean; then + case " $rmdirs " in + *" $objdir "*) ;; + *) rmdirs="$rmdirs $objdir" ;; + esac + fi + + # Don't error if the file doesn't exist and rm -f was used. + if (test -L "$file") >/dev/null 2>&1 \ + || (test -h "$file") >/dev/null 2>&1 \ + || test -f "$file"; then + : + elif test -d "$file"; then + exit_status=1 + continue + elif test "$rmforce" = yes; then + continue + fi + + rmfiles="$file" + + case $name in + *.la) + # Possibly a libtool archive, so verify it. + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + . $dir/$name + + # Delete the libtool libraries and symlinks. + for n in $library_names; do + rmfiles="$rmfiles $objdir/$n" + done + test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" + + case "$mode" in + clean) + case " $library_names " in + # " " in the beginning catches empty $dlname + *" $dlname "*) ;; + *) rmfiles="$rmfiles $objdir/$dlname" ;; + esac + test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" + ;; + uninstall) + if test -n "$library_names"; then + # Do each command in the postuninstall commands. + cmds=$postuninstall_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" + if test "$?" -ne 0 && test "$rmforce" != yes; then + exit_status=1 + fi + done + IFS="$save_ifs" + fi + + if test -n "$old_library"; then + # Do each command in the old_postuninstall commands. + cmds=$old_postuninstall_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" + if test "$?" -ne 0 && test "$rmforce" != yes; then + exit_status=1 + fi + done + IFS="$save_ifs" + fi + # FIXME: should reinstall the best remaining shared library. + ;; + esac + fi + ;; + + *.lo) + # Possibly a libtool object, so verify it. + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + + # Read the .lo file + . $dir/$name + + # Add PIC object to the list of files to remove. + if test -n "$pic_object" \ + && test "$pic_object" != none; then + rmfiles="$rmfiles $dir/$pic_object" + fi + + # Add non-PIC object to the list of files to remove. + if test -n "$non_pic_object" \ + && test "$non_pic_object" != none; then + rmfiles="$rmfiles $dir/$non_pic_object" + fi + fi + ;; + + *) + if test "$mode" = clean ; then + noexename=$name + case $file in + *.exe) + file=`$echo $file|${SED} 's,.exe$,,'` + noexename=`$echo $name|${SED} 's,.exe$,,'` + # $file with .exe has already been added to rmfiles, + # add $file without .exe + rmfiles="$rmfiles $file" + ;; + esac + # Do a test to see if this is a libtool program. + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + relink_command= + . $dir/$noexename + + # note $name still contains .exe if it was in $file originally + # as does the version of $file that was added into $rmfiles + rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" + if test "$fast_install" = yes && test -n "$relink_command"; then + rmfiles="$rmfiles $objdir/lt-$name" + fi + if test "X$noexename" != "X$name" ; then + rmfiles="$rmfiles $objdir/lt-${noexename}.c" + fi + fi + fi + ;; + esac + $show "$rm $rmfiles" + $run $rm $rmfiles || exit_status=1 + done + objdir="$origobjdir" + + # Try to remove the ${objdir}s in the directories where we deleted files + for dir in $rmdirs; do + if test -d "$dir"; then + $show "rmdir $dir" + $run rmdir $dir >/dev/null 2>&1 + fi + done + + exit $exit_status + ;; + + "") + $echo "$modename: you must specify a MODE" 1>&2 + $echo "$generic_help" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + if test -z "$exec_cmd"; then + $echo "$modename: invalid operation mode \`$mode'" 1>&2 + $echo "$generic_help" 1>&2 + exit $EXIT_FAILURE + fi +fi # test -z "$show_help" + +if test -n "$exec_cmd"; then + eval exec $exec_cmd + exit $EXIT_FAILURE +fi + +# We need to display help for each of the modes. +case $mode in +"") $echo \ +"Usage: $modename [OPTION]... [MODE-ARG]... + +Provide generalized library-building support services. + + --config show all configuration variables + --debug enable verbose shell tracing +-n, --dry-run display commands without modifying any files + --features display basic configuration information and exit + --finish same as \`--mode=finish' + --help display this help message and exit + --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS] + --quiet same as \`--silent' + --silent don't print informational messages + --tag=TAG use configuration variables from tag TAG + --version print version information + +MODE must be one of the following: + + clean remove files from the build directory + compile compile a source file into a libtool object + execute automatically set library path, then run a program + finish complete the installation of libtool libraries + install install libraries or executables + link create a library or an executable + uninstall remove libraries from an installed directory + +MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for +a more detailed description of MODE. + +Report bugs to <bug-libtool@gnu.org>." + exit $EXIT_SUCCESS + ;; + +clean) + $echo \ +"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE... + +Remove files from the build directory. + +RM is the name of the program to use to delete files associated with each FILE +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed +to RM. + +If FILE is a libtool library, object or program, all the files associated +with it are deleted. Otherwise, only FILE itself is deleted using RM." + ;; + +compile) + $echo \ +"Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE + +Compile a source file into a libtool library object. + +This mode accepts the following additional options: + + -o OUTPUT-FILE set the output file name to OUTPUT-FILE + -prefer-pic try to building PIC objects only + -prefer-non-pic try to building non-PIC objects only + -static always build a \`.o' file suitable for static linking + +COMPILE-COMMAND is a command to be used in creating a \`standard' object file +from the given SOURCEFILE. + +The output file name is determined by removing the directory component from +SOURCEFILE, then substituting the C source code suffix \`.c' with the +library object suffix, \`.lo'." + ;; + +execute) + $echo \ +"Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]... + +Automatically set library path, then run a program. + +This mode accepts the following additional options: + + -dlopen FILE add the directory containing FILE to the library path + +This mode sets the library path environment variable according to \`-dlopen' +flags. + +If any of the ARGS are libtool executable wrappers, then they are translated +into their corresponding uninstalled binary, and any of their required library +directories are added to the library path. + +Then, COMMAND is executed, with ARGS as arguments." + ;; + +finish) + $echo \ +"Usage: $modename [OPTION]... --mode=finish [LIBDIR]... + +Complete the installation of libtool libraries. + +Each LIBDIR is a directory that contains libtool libraries. + +The commands that this mode executes may require superuser privileges. Use +the \`--dry-run' option if you just want to see what would be executed." + ;; + +install) + $echo \ +"Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND... + +Install executables or libraries. + +INSTALL-COMMAND is the installation command. The first component should be +either the \`install' or \`cp' program. + +The rest of the components are interpreted as arguments to that command (only +BSD-compatible install options are recognized)." + ;; + +link) + $echo \ +"Usage: $modename [OPTION]... --mode=link LINK-COMMAND... + +Link object files or libraries together to form another library, or to +create an executable program. + +LINK-COMMAND is a command using the C compiler that you would use to create +a program from several object files. + +The following components of LINK-COMMAND are treated specially: + + -all-static do not do any dynamic linking at all + -avoid-version do not add a version suffix if possible + -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime + -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols + -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) + -export-symbols SYMFILE + try to export only the symbols listed in SYMFILE + -export-symbols-regex REGEX + try to export only the symbols matching REGEX + -LLIBDIR search LIBDIR for required installed libraries + -lNAME OUTPUT-FILE requires the installed library libNAME + -module build a library that can dlopened + -no-fast-install disable the fast-install mode + -no-install link a not-installable executable + -no-undefined declare that a library does not refer to external symbols + -o OUTPUT-FILE create OUTPUT-FILE from the specified objects + -objectlist FILE Use a list of object files found in FILE to specify objects + -precious-files-regex REGEX + don't remove output files matching REGEX + -release RELEASE specify package release information + -rpath LIBDIR the created library will eventually be installed in LIBDIR + -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries + -static do not do any dynamic linking of uninstalled libtool libraries + -static-libtool-libs + do not do any dynamic linking of libtool libraries + -version-info CURRENT[:REVISION[:AGE]] + specify library version info [each variable defaults to 0] + +All other options (arguments beginning with \`-') are ignored. + +Every other argument is treated as a filename. Files ending in \`.la' are +treated as uninstalled libtool libraries, other files are standard or library +object files. + +If the OUTPUT-FILE ends in \`.la', then a libtool library is created, +only library objects (\`.lo' files) may be specified, and \`-rpath' is +required, except when creating a convenience library. + +If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created +using \`ar' and \`ranlib', or on Windows using \`lib'. + +If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file +is created, otherwise an executable program is created." + ;; + +uninstall) + $echo \ +"Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... + +Remove libraries from an installation directory. + +RM is the name of the program to use to delete files associated with each FILE +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed +to RM. + +If FILE is a libtool library, all the files associated with it are deleted. +Otherwise, only FILE itself is deleted using RM." + ;; + +*) + $echo "$modename: invalid operation mode \`$mode'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; +esac + +$echo +$echo "Try \`$modename --help' for more information about other modes." + +exit $? + +# The TAGs below are defined such that we never get into a situation +# in which we disable both kinds of libraries. Given conflicting +# choices, we go for a static library, that is the most portable, +# since we can't tell whether shared libraries were disabled because +# the user asked for that or because the platform doesn't support +# them. This is particularly important on AIX, because we don't +# support having both static and shared libraries enabled at the same +# time on that platform, so we default to a shared-only configuration. +# If a disable-shared tag is given, we'll fallback to a static-only +# configuration. But we'll never go from static-only to shared-only. + +# ### BEGIN LIBTOOL TAG CONFIG: disable-shared +disable_libs=shared +# ### END LIBTOOL TAG CONFIG: disable-shared + +# ### BEGIN LIBTOOL TAG CONFIG: disable-static +disable_libs=static +# ### END LIBTOOL TAG CONFIG: disable-static + +# Local Variables: +# mode:shell-script +# sh-indentation:2 +# End: diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/missing b/tizen/distrib/remote/common/celt-0.5.1.3/missing new file mode 100755 index 0000000..1c8ff70 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/missing @@ -0,0 +1,367 @@ +#! /bin/sh +# Common stub for a few missing GNU programs while installing. + +scriptversion=2006-05-10.23 + +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 +# Free Software Foundation, Inc. +# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. + +# 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, 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. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +if test $# -eq 0; then + echo 1>&2 "Try \`$0 --help' for more information" + exit 1 +fi + +run=: +sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' +sed_minuso='s/.* -o \([^ ]*\).*/\1/p' + +# In the cases where this matters, `missing' is being run in the +# srcdir already. +if test -f configure.ac; then + configure_ac=configure.ac +else + configure_ac=configure.in +fi + +msg="missing on your system" + +case $1 in +--run) + # Try to run requested program, and just exit if it succeeds. + run= + shift + "$@" && exit 0 + # Exit code 63 means version mismatch. This often happens + # when the user try to use an ancient version of a tool on + # a file that requires a minimum version. In this case we + # we should proceed has if the program had been absent, or + # if --run hadn't been passed. + if test $? = 63; then + run=: + msg="probably too old" + fi + ;; + + -h|--h|--he|--hel|--help) + echo "\ +$0 [OPTION]... PROGRAM [ARGUMENT]... + +Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an +error status if there is no known handling for PROGRAM. + +Options: + -h, --help display this help and exit + -v, --version output version information and exit + --run try to run the given command, and emulate it if it fails + +Supported PROGRAM values: + aclocal touch file \`aclocal.m4' + autoconf touch file \`configure' + autoheader touch file \`config.h.in' + autom4te touch the output file, or create a stub one + automake touch all \`Makefile.in' files + bison create \`y.tab.[ch]', if possible, from existing .[ch] + flex create \`lex.yy.c', if possible, from existing .c + help2man touch the output file + lex create \`lex.yy.c', if possible, from existing .c + makeinfo touch the output file + tar try tar, gnutar, gtar, then tar without non-portable flags + yacc create \`y.tab.[ch]', if possible, from existing .[ch] + +Send bug reports to <bug-automake@gnu.org>." + exit $? + ;; + + -v|--v|--ve|--ver|--vers|--versi|--versio|--version) + echo "missing $scriptversion (GNU Automake)" + exit $? + ;; + + -*) + echo 1>&2 "$0: Unknown \`$1' option" + echo 1>&2 "Try \`$0 --help' for more information" + exit 1 + ;; + +esac + +# Now exit if we have it, but it failed. Also exit now if we +# don't have it and --version was passed (most likely to detect +# the program). +case $1 in + lex|yacc) + # Not GNU programs, they don't have --version. + ;; + + tar) + if test -n "$run"; then + echo 1>&2 "ERROR: \`tar' requires --run" + exit 1 + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then + exit 1 + fi + ;; + + *) + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then + # Could not run --version or --help. This is probably someone + # running `$TOOL --version' or `$TOOL --help' to check whether + # $TOOL exists and not knowing $TOOL uses missing. + exit 1 + fi + ;; +esac + +# If it does not exist, or fails to run (possibly an outdated version), +# try to emulate it. +case $1 in + aclocal*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`acinclude.m4' or \`${configure_ac}'. You might want + to install the \`Automake' and \`Perl' packages. Grab them from + any GNU archive site." + touch aclocal.m4 + ;; + + autoconf) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`${configure_ac}'. You might want to install the + \`Autoconf' and \`GNU m4' packages. Grab them from any GNU + archive site." + touch configure + ;; + + autoheader) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`acconfig.h' or \`${configure_ac}'. You might want + to install the \`Autoconf' and \`GNU m4' packages. Grab them + from any GNU archive site." + files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` + test -z "$files" && files="config.h" + touch_files= + for f in $files; do + case $f in + *:*) touch_files="$touch_files "`echo "$f" | + sed -e 's/^[^:]*://' -e 's/:.*//'`;; + *) touch_files="$touch_files $f.in";; + esac + done + touch $touch_files + ;; + + automake*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. + You might want to install the \`Automake' and \`Perl' packages. + Grab them from any GNU archive site." + find . -type f -name Makefile.am -print | + sed 's/\.am$/.in/' | + while read f; do touch "$f"; done + ;; + + autom4te) + echo 1>&2 "\ +WARNING: \`$1' is needed, but is $msg. + You might have modified some files without having the + proper tools for further handling them. + You can get \`$1' as part of \`Autoconf' from any GNU + archive site." + + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -f "$file"; then + touch $file + else + test -z "$file" || exec >$file + echo "#! /bin/sh" + echo "# Created by GNU Automake missing as a replacement of" + echo "# $ $@" + echo "exit 0" + chmod +x $file + exit 1 + fi + ;; + + bison|yacc) + echo 1>&2 "\ +WARNING: \`$1' $msg. You should only need it if + you modified a \`.y' file. You may need the \`Bison' package + in order for those modifications to take effect. You can get + \`Bison' from any GNU archive site." + rm -f y.tab.c y.tab.h + if test $# -ne 1; then + eval LASTARG="\${$#}" + case $LASTARG in + *.y) + SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` + if test -f "$SRCFILE"; then + cp "$SRCFILE" y.tab.c + fi + SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` + if test -f "$SRCFILE"; then + cp "$SRCFILE" y.tab.h + fi + ;; + esac + fi + if test ! -f y.tab.h; then + echo >y.tab.h + fi + if test ! -f y.tab.c; then + echo 'main() { return 0; }' >y.tab.c + fi + ;; + + lex|flex) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a \`.l' file. You may need the \`Flex' package + in order for those modifications to take effect. You can get + \`Flex' from any GNU archive site." + rm -f lex.yy.c + if test $# -ne 1; then + eval LASTARG="\${$#}" + case $LASTARG in + *.l) + SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` + if test -f "$SRCFILE"; then + cp "$SRCFILE" lex.yy.c + fi + ;; + esac + fi + if test ! -f lex.yy.c; then + echo 'main() { return 0; }' >lex.yy.c + fi + ;; + + help2man) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a dependency of a manual page. You may need the + \`Help2man' package in order for those modifications to take + effect. You can get \`Help2man' from any GNU archive site." + + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -f "$file"; then + touch $file + else + test -z "$file" || exec >$file + echo ".ab help2man is required to generate this page" + exit 1 + fi + ;; + + makeinfo) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a \`.texi' or \`.texinfo' file, or any other file + indirectly affecting the aspect of the manual. The spurious + call might also be the consequence of using a buggy \`make' (AIX, + DU, IRIX). You might want to install the \`Texinfo' package or + the \`GNU make' package. Grab either from any GNU archive site." + # The file to touch is that specified with -o ... + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -z "$file"; then + # ... or it is the one specified with @setfilename ... + infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` + file=`sed -n ' + /^@setfilename/{ + s/.* \([^ ]*\) *$/\1/ + p + q + }' $infile` + # ... or it is derived from the source name (dir/f.texi becomes f.info) + test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info + fi + # If the file does not exist, the user really needs makeinfo; + # let's fail without touching anything. + test -f $file || exit 1 + touch $file + ;; + + tar) + shift + + # We have already tried tar in the generic part. + # Look for gnutar/gtar before invocation to avoid ugly error + # messages. + if (gnutar --version > /dev/null 2>&1); then + gnutar "$@" && exit 0 + fi + if (gtar --version > /dev/null 2>&1); then + gtar "$@" && exit 0 + fi + firstarg="$1" + if shift; then + case $firstarg in + *o*) + firstarg=`echo "$firstarg" | sed s/o//` + tar "$firstarg" "$@" && exit 0 + ;; + esac + case $firstarg in + *h*) + firstarg=`echo "$firstarg" | sed s/h//` + tar "$firstarg" "$@" && exit 0 + ;; + esac + fi + + echo 1>&2 "\ +WARNING: I can't seem to be able to run \`tar' with the given arguments. + You may want to install GNU tar or Free paxutils, or check the + command line arguments." + exit 1 + ;; + + *) + echo 1>&2 "\ +WARNING: \`$1' is needed, and is $msg. + You might have modified some files without having the + proper tools for further handling them. Check the \`README' file, + it often tells you about the needed prerequisites for installing + this package. You may also peek at any GNU archive site, in case + some other package would contain this missing \`$1' program." + exit 1 + ;; +esac + +exit 0 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/tests/Makefile.am b/tizen/distrib/remote/common/celt-0.5.1.3/tests/Makefile.am new file mode 100644 index 0000000..cdae47b --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/tests/Makefile.am @@ -0,0 +1,17 @@ +INCLUDES = -I$(top_srcdir)/libcelt +METASOURCES = AUTO + +TESTS = type-test ectest cwrs32-test real-fft-test dft-test laplace-test mdct-test mathops-test + +noinst_PROGRAMS = type-test ectest cwrs32-test real-fft-test dft-test laplace-test mdct-test mathops-test + +type_test_SOURCES = type-test.c +ectest_SOURCES = ectest.c +cwrs32_test_SOURCES = cwrs32-test.c +real_fft_test_SOURCES = real-fft-test.c +dft_test_SOURCES = dft-test.c +laplace_test_SOURCES = laplace-test.c +mdct_test_SOURCES = mdct-test.c +#rotation_test_SOURCES = rotation-test.c +mathops_test_SOURCES = mathops-test.c + diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/tests/Makefile.in b/tizen/distrib/remote/common/celt-0.5.1.3/tests/Makefile.in new file mode 100644 index 0000000..cfdd25f --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/tests/Makefile.in @@ -0,0 +1,588 @@ +# Makefile.in generated by automake 1.10.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008 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@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@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@ +TESTS = type-test$(EXEEXT) ectest$(EXEEXT) cwrs32-test$(EXEEXT) \ + real-fft-test$(EXEEXT) dft-test$(EXEEXT) laplace-test$(EXEEXT) \ + mdct-test$(EXEEXT) mathops-test$(EXEEXT) +noinst_PROGRAMS = type-test$(EXEEXT) ectest$(EXEEXT) \ + cwrs32-test$(EXEEXT) real-fft-test$(EXEEXT) dft-test$(EXEEXT) \ + laplace-test$(EXEEXT) mdct-test$(EXEEXT) mathops-test$(EXEEXT) +subdir = tests +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.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 = +PROGRAMS = $(noinst_PROGRAMS) +am_cwrs32_test_OBJECTS = cwrs32-test.$(OBJEXT) +cwrs32_test_OBJECTS = $(am_cwrs32_test_OBJECTS) +cwrs32_test_LDADD = $(LDADD) +am_dft_test_OBJECTS = dft-test.$(OBJEXT) +dft_test_OBJECTS = $(am_dft_test_OBJECTS) +dft_test_LDADD = $(LDADD) +am_ectest_OBJECTS = ectest.$(OBJEXT) +ectest_OBJECTS = $(am_ectest_OBJECTS) +ectest_LDADD = $(LDADD) +am_laplace_test_OBJECTS = laplace-test.$(OBJEXT) +laplace_test_OBJECTS = $(am_laplace_test_OBJECTS) +laplace_test_LDADD = $(LDADD) +am_mathops_test_OBJECTS = mathops-test.$(OBJEXT) +mathops_test_OBJECTS = $(am_mathops_test_OBJECTS) +mathops_test_LDADD = $(LDADD) +am_mdct_test_OBJECTS = mdct-test.$(OBJEXT) +mdct_test_OBJECTS = $(am_mdct_test_OBJECTS) +mdct_test_LDADD = $(LDADD) +am_real_fft_test_OBJECTS = real-fft-test.$(OBJEXT) +real_fft_test_OBJECTS = $(am_real_fft_test_OBJECTS) +real_fft_test_LDADD = $(LDADD) +am_type_test_OBJECTS = type-test.$(OBJEXT) +type_test_OBJECTS = $(am_type_test_OBJECTS) +type_test_LDADD = $(LDADD) +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ +SOURCES = $(cwrs32_test_SOURCES) $(dft_test_SOURCES) $(ectest_SOURCES) \ + $(laplace_test_SOURCES) $(mathops_test_SOURCES) \ + $(mdct_test_SOURCES) $(real_fft_test_SOURCES) \ + $(type_test_SOURCES) +DIST_SOURCES = $(cwrs32_test_SOURCES) $(dft_test_SOURCES) \ + $(ectest_SOURCES) $(laplace_test_SOURCES) \ + $(mathops_test_SOURCES) $(mdct_test_SOURCES) \ + $(real_fft_test_SOURCES) $(type_test_SOURCES) +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CELT_LT_AGE = @CELT_LT_AGE@ +CELT_LT_CURRENT = @CELT_LT_CURRENT@ +CELT_LT_REVISION = @CELT_LT_REVISION@ +CELT_VERSION = @CELT_VERSION@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DSYMUTIL = @DSYMUTIL@ +ECHO = @ECHO@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +NMEDIT = @NMEDIT@ +OBJEXT = @OBJEXT@ +OGG_CFLAGS = @OGG_CFLAGS@ +OGG_LIBS = @OGG_LIBS@ +PACKAGE = @PACKAGE@ +PACKAGE_APPEND = @PACKAGE_APPEND@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SIZE16 = @SIZE16@ +SIZE32 = @SIZE32@ +STRIP = @STRIP@ +VERSION = @VERSION@ +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@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_F77 = @ac_ct_F77@ +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@ +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@ +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@ +tools = @tools@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +INCLUDES = -I$(top_srcdir)/libcelt +METASOURCES = AUTO +type_test_SOURCES = type-test.c +ectest_SOURCES = ectest.c +cwrs32_test_SOURCES = cwrs32-test.c +real_fft_test_SOURCES = real-fft-test.c +dft_test_SOURCES = dft-test.c +laplace_test_SOURCES = laplace-test.c +mdct_test_SOURCES = mdct-test.c +#rotation_test_SOURCES = rotation-test.c +mathops_test_SOURCES = mathops-test.c +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu tests/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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +clean-noinstPROGRAMS: + @list='$(noinst_PROGRAMS)'; for p in $$list; do \ + f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f $$p $$f"; \ + rm -f $$p $$f ; \ + done +cwrs32-test$(EXEEXT): $(cwrs32_test_OBJECTS) $(cwrs32_test_DEPENDENCIES) + @rm -f cwrs32-test$(EXEEXT) + $(LINK) $(cwrs32_test_OBJECTS) $(cwrs32_test_LDADD) $(LIBS) +dft-test$(EXEEXT): $(dft_test_OBJECTS) $(dft_test_DEPENDENCIES) + @rm -f dft-test$(EXEEXT) + $(LINK) $(dft_test_OBJECTS) $(dft_test_LDADD) $(LIBS) +ectest$(EXEEXT): $(ectest_OBJECTS) $(ectest_DEPENDENCIES) + @rm -f ectest$(EXEEXT) + $(LINK) $(ectest_OBJECTS) $(ectest_LDADD) $(LIBS) +laplace-test$(EXEEXT): $(laplace_test_OBJECTS) $(laplace_test_DEPENDENCIES) + @rm -f laplace-test$(EXEEXT) + $(LINK) $(laplace_test_OBJECTS) $(laplace_test_LDADD) $(LIBS) +mathops-test$(EXEEXT): $(mathops_test_OBJECTS) $(mathops_test_DEPENDENCIES) + @rm -f mathops-test$(EXEEXT) + $(LINK) $(mathops_test_OBJECTS) $(mathops_test_LDADD) $(LIBS) +mdct-test$(EXEEXT): $(mdct_test_OBJECTS) $(mdct_test_DEPENDENCIES) + @rm -f mdct-test$(EXEEXT) + $(LINK) $(mdct_test_OBJECTS) $(mdct_test_LDADD) $(LIBS) +real-fft-test$(EXEEXT): $(real_fft_test_OBJECTS) $(real_fft_test_DEPENDENCIES) + @rm -f real-fft-test$(EXEEXT) + $(LINK) $(real_fft_test_OBJECTS) $(real_fft_test_LDADD) $(LIBS) +type-test$(EXEEXT): $(type_test_OBJECTS) $(type_test_DEPENDENCIES) + @rm -f type-test$(EXEEXT) + $(LINK) $(type_test_OBJECTS) $(type_test_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cwrs32-test.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dft-test.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ectest.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/laplace-test.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mathops-test.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mdct-test.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/real-fft-test.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/type-test.Po@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c $< + +.c.obj: +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +check-TESTS: $(TESTS) + @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \ + srcdir=$(srcdir); export srcdir; \ + list=' $(TESTS) '; \ + if test -n "$$list"; then \ + for tst in $$list; do \ + if test -f ./$$tst; then dir=./; \ + elif test -f $$tst; then dir=; \ + else dir="$(srcdir)/"; fi; \ + if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *$$ws$$tst$$ws*) \ + xpass=`expr $$xpass + 1`; \ + failed=`expr $$failed + 1`; \ + echo "XPASS: $$tst"; \ + ;; \ + *) \ + echo "PASS: $$tst"; \ + ;; \ + esac; \ + elif test $$? -ne 77; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *$$ws$$tst$$ws*) \ + xfail=`expr $$xfail + 1`; \ + echo "XFAIL: $$tst"; \ + ;; \ + *) \ + failed=`expr $$failed + 1`; \ + echo "FAIL: $$tst"; \ + ;; \ + esac; \ + else \ + skip=`expr $$skip + 1`; \ + echo "SKIP: $$tst"; \ + fi; \ + done; \ + if test "$$failed" -eq 0; then \ + if test "$$xfail" -eq 0; then \ + banner="All $$all tests passed"; \ + else \ + banner="All $$all tests behaved as expected ($$xfail expected failures)"; \ + fi; \ + else \ + if test "$$xpass" -eq 0; then \ + banner="$$failed of $$all tests failed"; \ + else \ + banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \ + fi; \ + fi; \ + dashes="$$banner"; \ + skipped=""; \ + if test "$$skip" -ne 0; then \ + skipped="($$skip tests were not run)"; \ + test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ + dashes="$$skipped"; \ + fi; \ + report=""; \ + if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ + report="Please report to $(PACKAGE_BUGREPORT)"; \ + test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ + dashes="$$report"; \ + fi; \ + dashes=`echo "$$dashes" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + test -z "$$skipped" || echo "$$skipped"; \ + test -z "$$report" || echo "$$report"; \ + echo "$$dashes"; \ + test "$$failed" -eq 0; \ + else :; fi + +distdir: $(DISTFILES) + @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 $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$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 + $(MAKE) $(AM_MAKEFLAGS) check-TESTS +check: check-am +all-am: Makefile $(PROGRAMS) +installdirs: +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: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \ + mostlyclean-am + +distclean: distclean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-exec-am: + +install-html: install-html-am + +install-info: install-info-am + +install-man: + +install-pdf: install-pdf-am + +install-ps: install-ps-am + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \ + clean-generic clean-libtool clean-noinstPROGRAMS ctags \ + distclean distclean-compile distclean-generic \ + distclean-libtool distclean-tags 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-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags uninstall uninstall-am + +# 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: diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/tests/cwrs32-test.c b/tizen/distrib/remote/common/celt-0.5.1.3/tests/cwrs32-test.c new file mode 100644 index 0000000..3a95df2 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/tests/cwrs32-test.c @@ -0,0 +1,50 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <stdio.h> +#include "entdec.c" +#include "entenc.c" +#include "rangeenc.c" +#include "rangedec.c" +#include "cwrs.c" +#include <string.h> +#define NMAX (10) +#define MMAX (9) + +int main(int _argc,char **_argv){ + int n; + for(n=2;n<=NMAX;n++){ + int m; + for(m=1;m<=MMAX;m++){ + celt_uint32_t uu[MMAX+2]; + celt_uint32_t inc; + celt_uint32_t nc; + celt_uint32_t i; + nc=ncwrs_u32(n,m,uu); + inc=nc/10000; + if(inc<1)inc=1; + for(i=0;i<nc;i+=inc){ + celt_uint32_t u[MMAX+2]; + int y[NMAX]; + celt_uint32_t v; + memcpy(u,uu,(m+2)*sizeof(*u)); + cwrsi32(n,m,i,y,u); + /*printf("%6u of %u:",i,nc); + for(k=0;k<n;k++)printf(" %+3i",y[k]); + printf(" ->");*/ + if(icwrs32(n,m,&v,y,u)!=i){ + fprintf(stderr,"Combination-index mismatch.\n"); + return 1; + } + if(v!=nc){ + fprintf(stderr,"Combination count mismatch.\n"); + return 2; + } + /*printf(" %6u\n",i);*/ + } + /*printf("\n");*/ + } + } + return 0; +} diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/tests/dft-test.c b/tizen/distrib/remote/common/celt-0.5.1.3/tests/dft-test.c new file mode 100644 index 0000000..2100ec4 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/tests/dft-test.c @@ -0,0 +1,127 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <stdio.h> +#include "kiss_fft.c" + +#ifndef M_PI +#define M_PI 3.141592653 +#endif + +int ret = 0; + +void check(kiss_fft_cpx * in,kiss_fft_cpx * out,int nfft,int isinverse) +{ + int bin,k; + double errpow=0,sigpow=0, snr; + + for (bin=0;bin<nfft;++bin) { + double ansr = 0; + double ansi = 0; + double difr; + double difi; + + for (k=0;k<nfft;++k) { + double phase = -2*M_PI*bin*k/nfft; + double re = cos(phase); + double im = sin(phase); + if (isinverse) + im = -im; + + if (!isinverse) + { + re /= nfft; + im /= nfft; + } + + ansr += in[k].r * re - in[k].i * im; + ansi += in[k].r * im + in[k].i * re; + } + /*printf ("%d %d ", (int)ansr, (int)ansi);*/ + difr = ansr - out[bin].r; + difi = ansi - out[bin].i; + errpow += difr*difr + difi*difi; + sigpow += ansr*ansr+ansi*ansi; + } + snr = 10*log10(sigpow/errpow); + printf("nfft=%d inverse=%d,snr = %f\n",nfft,isinverse,snr ); + if (snr<60) { + printf( "** poor snr: %f ** \n", snr); + ret = 1; + } +} + +void test1d(int nfft,int isinverse) +{ + size_t buflen = sizeof(kiss_fft_cpx)*nfft; + + kiss_fft_cpx * in = (kiss_fft_cpx*)malloc(buflen); + kiss_fft_cpx * out= (kiss_fft_cpx*)malloc(buflen); + kiss_fft_cfg cfg = kiss_fft_alloc(nfft,0,0); + int k; + + for (k=0;k<nfft;++k) { + in[k].r = (rand() % 32767) - 16384; + in[k].i = (rand() % 32767) - 16384; + } + +#ifdef DOUBLE_PRECISION + for (k=0;k<nfft;++k) { + in[k].r *= 32768; + in[k].i *= 32768; + } +#endif + + if (isinverse) + { + for (k=0;k<nfft;++k) { + in[k].r /= nfft; + in[k].i /= nfft; + } + } + + /*for (k=0;k<nfft;++k) printf("%d %d ", in[k].r, in[k].i);printf("\n");*/ + + if (isinverse) + kiss_ifft(cfg,in,out); + else + kiss_fft(cfg,in,out); + + /*for (k=0;k<nfft;++k) printf("%d %d ", out[k].r, out[k].i);printf("\n");*/ + + check(in,out,nfft,isinverse); + + free(in); + free(out); + free(cfg); +} + +int main(int argc,char ** argv) +{ + if (argc>1) { + int k; + for (k=1;k<argc;++k) { + test1d(atoi(argv[k]),0); + test1d(atoi(argv[k]),1); + } + }else{ + test1d(32,0); + test1d(32,1); + test1d(128,0); + test1d(128,1); + test1d(256,0); + test1d(256,1); +#ifndef RADIX_TWO_ONLY + test1d(36,0); + test1d(36,1); + test1d(50,0); + test1d(50,1); + test1d(120,0); + test1d(120,1); + test1d(105,0); + test1d(105,1); +#endif + } + return ret; +} diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/tests/ectest.c b/tizen/distrib/remote/common/celt-0.5.1.3/tests/ectest.c new file mode 100644 index 0000000..aa35453 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/tests/ectest.c @@ -0,0 +1,138 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <stdlib.h> +#include <stdio.h> +#include <math.h> +#include "entcode.h" +#include "entenc.c" +#include "entdec.c" +#include "rangeenc.c" +#include "rangedec.c" +#include "cwrs.c" + +#ifndef M_LOG2E +# define M_LOG2E 1.4426950408889634074 +#endif + +int main(int _argc,char **_argv){ + ec_byte_buffer buf; + ec_enc enc; + ec_dec dec; + long nbits; + long nbits2; + double entropy; + int ft; + int ftb; + int sym; + int sz; + int i; + int ret; + ret=0; + entropy=0; + /*Testing encoding of raw bit values.*/ + ec_byte_writeinit(&buf); + ec_enc_init(&enc,&buf); + for(ft=0;ft<1024;ft++){ + for(i=0;i<ft;i++){ + entropy+=log(ft)*M_LOG2E; + ec_enc_uint(&enc,i,ft); + } + } + /*Testing encoding of raw bit values.*/ + for(ftb=0;ftb<16;ftb++){ + for(i=0;i<(1<<ftb);i++){ + entropy+=ftb; + nbits=ec_enc_tell(&enc,0); + ec_enc_bits(&enc,i,ftb); + nbits2=ec_enc_tell(&enc,0); + if(nbits2-nbits!=ftb){ + fprintf(stderr,"Used %li bits to encode %i bits directly.\n", + nbits2-nbits,ftb); + ret=-1; + } + } + } + nbits=ec_enc_tell(&enc,4); + ec_enc_done(&enc); + fprintf(stderr, + "Encoded %0.2lf bits of entropy to %0.2lf bits (%0.3lf%% wasted).\n", + entropy,ldexp(nbits,-4),100*(nbits-ldexp(entropy,4))/nbits); + fprintf(stderr,"Packed to %li bytes.\n",(long)(buf.ptr-buf.buf)); + ec_byte_readinit(&buf,ec_byte_get_buffer(&buf),ec_byte_bytes(&buf)); + ec_dec_init(&dec,&buf); + for(ft=0;ft<1024;ft++){ + for(i=0;i<ft;i++){ + sym=ec_dec_uint(&dec,ft); + if(sym!=i){ + fprintf(stderr,"Decoded %i instead of %i with ft of %i.\n",sym,i,ft); + ret=-1; + } + } + } + for(ftb=0;ftb<16;ftb++){ + for(i=0;i<(1<<ftb);i++){ + sym=ec_dec_bits(&dec,ftb); + if(sym!=i){ + fprintf(stderr,"Decoded %i instead of %i with ftb of %i.\n",sym,i,ftb); + ret=-1; + } + } + } + nbits2=ec_dec_tell(&dec,4); + if(nbits!=nbits2){ + fprintf(stderr, + "Reported number of bits used was %0.2lf, should be %0.2lf.\n", + ldexp(nbits2,-4),ldexp(nbits,-4)); + ret=-1; + } + ec_byte_writeclear(&buf); + fprintf(stderr,"Testing random streams...\n"); + srand(0); + for(i=0;i<409600;i++){ + unsigned *data; + int j; + int tell_bits; + int zeros; + ft=rand()/((RAND_MAX>>(rand()%11))+1)+10; + sz=rand()/((RAND_MAX>>(rand()%9))+1); + data=(unsigned *)malloc(sz*sizeof(*data)); + ec_byte_writeinit(&buf); + ec_enc_init(&enc,&buf); + zeros = rand()%13==0; + for(j=0;j<sz;j++){ + if (zeros) + data[j]=0; + else + data[j]=rand()%ft; + ec_enc_uint(&enc,data[j],ft); + } + if (rand()%2==0) + while(ec_enc_tell(&enc, 0)%8 != 0) + ec_enc_uint(&enc, rand()%2, 2); + tell_bits = ec_enc_tell(&enc, 0); + ec_enc_done(&enc); + if ((tell_bits+7)/8 < ec_byte_bytes(&buf)) + { + fprintf (stderr, "tell() lied, there's %li bytes instead of %d\n", + ec_byte_bytes(&buf), (tell_bits+7)/8); + ret=-1; + } + tell_bits -= 8*ec_byte_bytes(&buf); + ec_byte_readinit(&buf,ec_byte_get_buffer(&buf),ec_byte_bytes(&buf)); + ec_dec_init(&dec,&buf); + for(j=0;j<sz;j++){ + sym=ec_dec_uint(&dec,ft); + if(sym!=data[j]){ + fprintf(stderr, + "Decoded %i instead of %i with ft of %i at position %i of %i.\n", + sym,data[j],ft,j,sz); + ret=-1; + } + } + ec_byte_writeclear(&buf); + free(data); + } + return ret; +} diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/tests/laplace-test.c b/tizen/distrib/remote/common/celt-0.5.1.3/tests/laplace-test.c new file mode 100644 index 0000000..3f98ab3 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/tests/laplace-test.c @@ -0,0 +1,54 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <stdio.h> +#include <stdlib.h> +#include "laplace.c" +#include "stack_alloc.h" +#include "entenc.c" +#include "entdec.c" +#include "rangeenc.c" +#include "rangedec.c" + +int main(void) +{ + int i; + int ret = 0; + ec_enc enc; + ec_dec dec; + ec_byte_buffer buf; + int val[10000], decay[10000]; + ALLOC_STACK; + ec_byte_writeinit(&buf); + ec_enc_init(&enc,&buf); + + val[0] = 3; decay[0] = 6000; + val[1] = 0; decay[1] = 5800; + val[2] = -1; decay[2] = 5600; + for (i=3;i<10000;i++) + { + val[i] = rand()%15-7; + decay[i] = rand()%11000+5000; + } + for (i=0;i<10000;i++) + ec_laplace_encode(&enc, &val[i], decay[i]); + + ec_enc_done(&enc); + + ec_byte_readinit(&buf,ec_byte_get_buffer(&buf),ec_byte_bytes(&buf)); + ec_dec_init(&dec,&buf); + + for (i=0;i<10000;i++) + { + int d = ec_laplace_decode(&dec, decay[i]); + if (d != val[i]) + { + fprintf (stderr, "Got %d instead of %d\n", d, val[i]); + ret = 1; + } + } + + ec_byte_writeclear(&buf); + return ret; +} diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/tests/mathops-test.c b/tizen/distrib/remote/common/celt-0.5.1.3/tests/mathops-test.c new file mode 100644 index 0000000..214e2c2 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/tests/mathops-test.c @@ -0,0 +1,80 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "mathops.h" +#include <stdio.h> +#include <math.h> + +#ifdef FIXED_POINT +#define WORD "%d" +#else +#define WORD "%f" +#endif + +int ret = 0; + +void testdiv(void) +{ + celt_int32_t i; + for (i=1;i<=327670;i++) + { + double prod; + celt_word32_t val; + val = celt_rcp(i); +#ifdef FIXED_POINT + prod = (1./32768./65526.)*val*i; +#else + prod = val*i; +#endif + if (fabs(prod-1) > .001) + { + fprintf (stderr, "div failed: 1/%d="WORD" (product = %f)\n", i, val, prod); + ret = 1; + } + } +} + +void testsqrt(void) +{ + celt_int32_t i; + for (i=1;i<=1000000000;i++) + { + double ratio; + celt_word16_t val; + val = celt_sqrt(i); + ratio = val/sqrt(i); + if (fabs(ratio - 1) > .001 && fabs(val-sqrt(i)) > 2) + { + fprintf (stderr, "sqrt failed: sqrt(%d)="WORD" (ratio = %f)\n", i, val, ratio); + ret = 1; + } + i+= i>>10; + } +} + +void testrsqrt(void) +{ + celt_int32_t i; + for (i=1;i<=2000000;i++) + { + double ratio; + celt_word16_t val; + val = celt_rsqrt(i); + ratio = val*sqrt(i)/Q15ONE; + if (fabs(ratio - 1) > .05) + { + fprintf (stderr, "rsqrt failed: rsqrt(%d)="WORD" (ratio = %f)\n", i, val, ratio); + ret = 1; + } + i+= i>>10; + } +} + +int main(void) +{ + testdiv(); + testsqrt(); + testrsqrt(); + return ret; +} diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/tests/mdct-test.c b/tizen/distrib/remote/common/celt-0.5.1.3/tests/mdct-test.c new file mode 100644 index 0000000..6a83775 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/tests/mdct-test.c @@ -0,0 +1,157 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <stdio.h> +#include "mdct.c" +#include "stack_alloc.h" +#include "kiss_fft.c" + +#ifndef M_PI +#define M_PI 3.141592653 +#endif + +int ret = 0; +void check(kiss_fft_scalar * in,kiss_fft_scalar * out,int nfft,int isinverse) +{ + int bin,k; + double errpow=0,sigpow=0; + double snr; + for (bin=0;bin<nfft/2;++bin) { + double ansr = 0; + double difr; + + for (k=0;k<nfft;++k) { + double phase = 2*M_PI*(k+.5+.25*nfft)*(bin+.5)/nfft; + double re = cos(phase); + + re /= nfft/4; + + ansr += in[k] * re; + } + /*printf ("%f %f\n", ansr, out[bin]);*/ + difr = ansr - out[bin]; + errpow += difr*difr; + sigpow += ansr*ansr; + } + snr = 10*log10(sigpow/errpow); + printf("nfft=%d inverse=%d,snr = %f\n",nfft,isinverse,snr ); + if (snr<60) { + printf( "** poor snr: %f **\n", snr); + ret = 1; + } +} + +void check_inv(kiss_fft_scalar * in,kiss_fft_scalar * out,int nfft,int isinverse) +{ + int bin,k; + double errpow=0,sigpow=0; + double snr; + for (bin=0;bin<nfft;++bin) { + double ansr = 0; + double difr; + + for (k=0;k<nfft/2;++k) { + double phase = 2*M_PI*(bin+.5+.25*nfft)*(k+.5)/nfft; + double re = cos(phase); + + //re *= 2; + + ansr += in[k] * re; + } + /*printf ("%f %f\n", ansr, out[bin]);*/ + difr = ansr - out[bin]; + errpow += difr*difr; + sigpow += ansr*ansr; + } + snr = 10*log10(sigpow/errpow); + printf("nfft=%d inverse=%d,snr = %f\n",nfft,isinverse,snr ); + if (snr<60) { + printf( "** poor snr: %f **\n", snr); + ret = 1; + } +} + + +void test1d(int nfft,int isinverse) +{ + mdct_lookup cfg; + size_t buflen = sizeof(kiss_fft_scalar)*nfft; + + kiss_fft_scalar * in = (kiss_fft_scalar*)malloc(buflen); + kiss_fft_scalar * out= (kiss_fft_scalar*)malloc(buflen); + celt_word16_t * window= (celt_word16_t*)malloc(sizeof(celt_word16_t)*nfft/2); + int k; + + mdct_init(&cfg, nfft); + for (k=0;k<nfft;++k) { + in[k] = (rand() % 32768) - 16384; + } + + for (k=0;k<nfft/2;++k) { + window[k] = Q15ONE; + } +#ifdef DOUBLE_PRECISION + for (k=0;k<nfft;++k) { + in[k] *= 32768; + } +#endif + + if (isinverse) + { + for (k=0;k<nfft;++k) { + in[k] /= nfft; + } + } + + /*for (k=0;k<nfft;++k) printf("%d %d ", in[k].r, in[k].i);printf("\n");*/ + + if (isinverse) + { + for (k=0;k<nfft;++k) + out[k] = 0; + mdct_backward(&cfg,in,out, window, nfft/2); + check_inv(in,out,nfft,isinverse); + } else { + mdct_forward(&cfg,in,out,window, nfft/2); + check(in,out,nfft,isinverse); + } + /*for (k=0;k<nfft;++k) printf("%d %d ", out[k].r, out[k].i);printf("\n");*/ + + + free(in); + free(out); + mdct_clear(&cfg); +} + +int main(int argc,char ** argv) +{ + ALLOC_STACK; + if (argc>1) { + int k; + for (k=1;k<argc;++k) { + test1d(atoi(argv[k]),0); + test1d(atoi(argv[k]),1); + } + }else{ + test1d(32,0); + test1d(32,1); + test1d(256,0); + test1d(256,1); + test1d(512,0); + test1d(512,1); +#ifndef RADIX_TWO_ONLY + test1d(40,0); + test1d(40,1); + test1d(56,0); + test1d(56,1); + test1d(120,0); + test1d(120,1); + test1d(240,0); + test1d(240,1); + test1d(480,0); + test1d(480,1); +#endif + } + return ret; +} diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/tests/real-fft-test.c b/tizen/distrib/remote/common/celt-0.5.1.3/tests/real-fft-test.c new file mode 100644 index 0000000..f682217 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/tests/real-fft-test.c @@ -0,0 +1,163 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "kiss_fftr.c" +#include "kiss_fft.c" +#include "_kiss_fft_guts.h" +#include <stdio.h> +#include <string.h> + +int ret=0; + +static +kiss_fft_scalar rand_scalar(void) +{ + return (rand()%32767)-16384; +} + +static +double snr_compare( kiss_fft_cpx * vec1,kiss_fft_scalar * vec2, int n) +{ + int k; + double sigpow=1e-10, noisepow=1e-10, err,snr; + + vec1[0].i = vec1[n].r; + for (k=0;k<n;++k) { + sigpow += (double)vec1[k].r * (double)vec1[k].r + + (double)vec1[k].i * (double)vec1[k].i; + err = (double)vec1[k].r - (double)vec2[2*k]; + /*printf ("%f %f\n", (double)vec1[k].r, (double)vec2[2*k]);*/ + noisepow += err * err; + err = (double)vec1[k].i - (double)vec2[2*k+1]; + /*printf ("%f %f\n", (double)vec1[k].i, (double)vec2[2*k+1]);*/ + noisepow += err * err; + + } + snr = 10*log10( sigpow / noisepow ); + if (snr<60) { + printf( "** poor snr: %f **\n", snr); + ret = 1; + } + return snr; +} + +static +double snr_compare_scal( kiss_fft_scalar * vec1,kiss_fft_scalar * vec2, int n) +{ + int k; + double sigpow=1e-10, noisepow=1e-10, err,snr; + + for (k=0;k<n;++k) { + sigpow += (double)vec1[k] * (double)vec1[k]; + err = (double)vec1[k] - (double)vec2[k]; + noisepow += err * err; + } + snr = 10*log10( sigpow / noisepow ); + if (snr<60) { + printf( "\npoor snr: %f\n", snr); + ret = 1; + } + return snr; +} +#ifdef RADIX_TWO_ONLY +#define NFFT 1024 +#else +#define NFFT 8*3*5 +#endif + +#ifndef NUMFFTS +#define NUMFFTS 10000 +#endif + + +int main(void) +{ + int i; + kiss_fft_cpx cin[NFFT]; + kiss_fft_cpx cout[NFFT]; + kiss_fft_scalar fin[NFFT]; + kiss_fft_scalar sout[NFFT]; + kiss_fft_cfg kiss_fft_state; + kiss_fftr_cfg kiss_fftr_state; + + kiss_fft_scalar rin[NFFT+2]; + kiss_fft_scalar rout[NFFT+2]; + kiss_fft_scalar zero; + memset(&zero,0,sizeof(zero) ); // ugly way of setting short,int,float,double, or __m128 to zero + + for (i=0;i<NFFT;++i) { + rin[i] = rand_scalar(); +#if defined(FIXED_POINT) && defined(DOUBLE_PRECISION) + rin[i] *= 32768; +#endif + cin[i].r = rin[i]; + cin[i].i = zero; + } + + kiss_fft_state = kiss_fft_alloc(NFFT,0,0); + kiss_fftr_state = kiss_fftr_alloc(NFFT,0,0); + kiss_fft(kiss_fft_state,cin,cout); + kiss_fftr(kiss_fftr_state,rin,sout); + + printf( "nfft=%d, inverse=%d, snr=%g\n", + NFFT,0, snr_compare(cout,sout,(NFFT/2)) ); + + memset(cin,0,sizeof(cin)); + cin[0].r = rand_scalar(); + cin[NFFT/2].r = rand_scalar(); + for (i=1;i< NFFT/2;++i) { + //cin[i].r = (kiss_fft_scalar)(rand()-RAND_MAX/2); + cin[i].r = rand_scalar(); + cin[i].i = rand_scalar(); + } + + // conjugate symmetry of real signal + for (i=1;i< NFFT/2;++i) { + cin[NFFT-i].r = cin[i].r; + cin[NFFT-i].i = - cin[i].i; + } + + +#ifdef FIXED_POINT +#ifdef DOUBLE_PRECISION + for (i=0;i< NFFT;++i) { + cin[i].r *= 32768; + cin[i].i *= 32768; + } +#endif + for (i=0;i< NFFT;++i) { + cin[i].r /= NFFT; + cin[i].i /= NFFT; + } +#endif + + fin[0] = cin[0].r; + fin[1] = cin[NFFT/2].r; + for (i=1;i< NFFT/2;++i) + { + fin[2*i] = cin[i].r; + fin[2*i+1] = cin[i].i; + } + + kiss_ifft(kiss_fft_state,cin,cout); + kiss_fftri(kiss_fftr_state,fin,rout); + /* + printf(" results from inverse kiss_fft : (%f,%f), (%f,%f), (%f,%f), (%f,%f), (%f,%f) ...\n " + , (float)cout[0].r , (float)cout[0].i , (float)cout[1].r , (float)cout[1].i , (float)cout[2].r , (float)cout[2].i , (float)cout[3].r , (float)cout[3].i , (float)cout[4].r , (float)cout[4].i + ); + + printf(" results from inverse kiss_fftr: %f,%f,%f,%f,%f ... \n" + ,(float)rout[0] ,(float)rout[1] ,(float)rout[2] ,(float)rout[3] ,(float)rout[4]); +*/ + for (i=0;i<NFFT;++i) { + sout[i] = cout[i].r; + } + + printf( "nfft=%d, inverse=%d, snr=%g\n", + NFFT,1, snr_compare_scal(rout,sout,NFFT) ); + free(kiss_fft_state); + free(kiss_fftr_state); + + return ret; +} diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/tests/type-test.c b/tizen/distrib/remote/common/celt-0.5.1.3/tests/type-test.c new file mode 100644 index 0000000..47a676e --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/tests/type-test.c @@ -0,0 +1,28 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "celt_types.h" +#include <stdio.h> + +int main(void) +{ + celt_int16_t i = 1; + i <<= 14; + if (i>>14 != 1) + { + fprintf(stderr, "celt_int16_t isn't 16 bits\n"); + return 1; + } + if (sizeof(celt_int16_t)*2 != sizeof(celt_int32_t)) + { + fprintf(stderr, "16*2 != 32\n"); + return 1; + } + if (sizeof(celt_int32_t)*2 != sizeof(celt_int64_t)) + { + fprintf(stderr, "32*2 != 64\n"); + return 1; + } + return 0; +} diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/tools/Makefile.am b/tizen/distrib/remote/common/celt-0.5.1.3/tools/Makefile.am new file mode 100644 index 0000000..6855477 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/tools/Makefile.am @@ -0,0 +1,21 @@ +## Process this file with automake to produce Makefile.in. -*-Makefile-*- + +# $Id: Makefile.am,v 1.11 2004/02/18 06:59:40 jm Exp $ + +# Disable automatic dependency tracking if using other tools than gcc and gmake +#AUTOMAKE_OPTIONS = no-dependencies + +INCLUDES = -I$(top_srcdir)/libcelt -I$(top_builddir)/ @OGG_CFLAGS@ + +EXTRA_DIST = getopt_win.h getopt.c getopt1.c wave_out.c wave_out.h skeleton.h + +include_HEADERS = +noinst_HEADERS = wav_io.h + +bin_PROGRAMS = celtenc@PACKAGE_APPEND@ celtdec@PACKAGE_APPEND@ + +celtenc@PACKAGE_APPEND@_SOURCES = celtenc.c wav_io.c skeleton.c +celtenc@PACKAGE_APPEND@_LDADD = $(top_builddir)/libcelt/libcelt@PACKAGE_APPEND@.la $(OGG_LIBS) + +celtdec@PACKAGE_APPEND@_SOURCES = celtdec.c wav_io.c +celtdec@PACKAGE_APPEND@_LDADD = $(top_builddir)/libcelt/libcelt@PACKAGE_APPEND@.la $(OGG_LIBS) diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/tools/Makefile.in b/tizen/distrib/remote/common/celt-0.5.1.3/tools/Makefile.in new file mode 100644 index 0000000..a22fbc1 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/tools/Makefile.in @@ -0,0 +1,530 @@ +# Makefile.in generated by automake 1.10.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008 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@ + +# $Id: Makefile.am,v 1.11 2004/02/18 06:59:40 jm Exp $ + +# Disable automatic dependency tracking if using other tools than gcc and gmake +#AUTOMAKE_OPTIONS = no-dependencies + + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@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@ +bin_PROGRAMS = celtenc@PACKAGE_APPEND@$(EXEEXT) \ + celtdec@PACKAGE_APPEND@$(EXEEXT) +subdir = tools +DIST_COMMON = $(include_HEADERS) $(noinst_HEADERS) \ + $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.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 = +am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(includedir)" +binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) +PROGRAMS = $(bin_PROGRAMS) +am_celtdec@PACKAGE_APPEND@_OBJECTS = celtdec.$(OBJEXT) \ + wav_io.$(OBJEXT) +celtdec@PACKAGE_APPEND@_OBJECTS = \ + $(am_celtdec@PACKAGE_APPEND@_OBJECTS) +am__DEPENDENCIES_1 = +celtdec@PACKAGE_APPEND@_DEPENDENCIES = \ + $(top_builddir)/libcelt/libcelt@PACKAGE_APPEND@.la \ + $(am__DEPENDENCIES_1) +am_celtenc@PACKAGE_APPEND@_OBJECTS = celtenc.$(OBJEXT) \ + wav_io.$(OBJEXT) skeleton.$(OBJEXT) +celtenc@PACKAGE_APPEND@_OBJECTS = \ + $(am_celtenc@PACKAGE_APPEND@_OBJECTS) +celtenc@PACKAGE_APPEND@_DEPENDENCIES = \ + $(top_builddir)/libcelt/libcelt@PACKAGE_APPEND@.la \ + $(am__DEPENDENCIES_1) +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ +SOURCES = $(celtdec@PACKAGE_APPEND@_SOURCES) \ + $(celtenc@PACKAGE_APPEND@_SOURCES) +DIST_SOURCES = $(celtdec@PACKAGE_APPEND@_SOURCES) \ + $(celtenc@PACKAGE_APPEND@_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 = `echo $$p | sed -e 's|^.*/||'`; +includeHEADERS_INSTALL = $(INSTALL_HEADER) +HEADERS = $(include_HEADERS) $(noinst_HEADERS) +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CELT_LT_AGE = @CELT_LT_AGE@ +CELT_LT_CURRENT = @CELT_LT_CURRENT@ +CELT_LT_REVISION = @CELT_LT_REVISION@ +CELT_VERSION = @CELT_VERSION@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DSYMUTIL = @DSYMUTIL@ +ECHO = @ECHO@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +NMEDIT = @NMEDIT@ +OBJEXT = @OBJEXT@ +OGG_CFLAGS = @OGG_CFLAGS@ +OGG_LIBS = @OGG_LIBS@ +PACKAGE = @PACKAGE@ +PACKAGE_APPEND = @PACKAGE_APPEND@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SIZE16 = @SIZE16@ +SIZE32 = @SIZE32@ +STRIP = @STRIP@ +VERSION = @VERSION@ +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@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_F77 = @ac_ct_F77@ +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@ +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@ +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@ +tools = @tools@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +INCLUDES = -I$(top_srcdir)/libcelt -I$(top_builddir)/ @OGG_CFLAGS@ +EXTRA_DIST = getopt_win.h getopt.c getopt1.c wave_out.c wave_out.h skeleton.h +include_HEADERS = +noinst_HEADERS = wav_io.h +celtenc@PACKAGE_APPEND@_SOURCES = celtenc.c wav_io.c skeleton.c +celtenc@PACKAGE_APPEND@_LDADD = $(top_builddir)/libcelt/libcelt@PACKAGE_APPEND@.la $(OGG_LIBS) +celtdec@PACKAGE_APPEND@_SOURCES = celtdec.c wav_io.c +celtdec@PACKAGE_APPEND@_LDADD = $(top_builddir)/libcelt/libcelt@PACKAGE_APPEND@.la $(OGG_LIBS) +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tools/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu tools/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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + if test -f $$p \ + || test -f $$p1 \ + ; then \ + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ + else :; fi; \ + done + +uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ + echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ + rm -f "$(DESTDIR)$(bindir)/$$f"; \ + done + +clean-binPROGRAMS: + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f $$p $$f"; \ + rm -f $$p $$f ; \ + done +celtdec@PACKAGE_APPEND@$(EXEEXT): $(celtdec@PACKAGE_APPEND@_OBJECTS) $(celtdec@PACKAGE_APPEND@_DEPENDENCIES) + @rm -f celtdec@PACKAGE_APPEND@$(EXEEXT) + $(LINK) $(celtdec@PACKAGE_APPEND@_OBJECTS) $(celtdec@PACKAGE_APPEND@_LDADD) $(LIBS) +celtenc@PACKAGE_APPEND@$(EXEEXT): $(celtenc@PACKAGE_APPEND@_OBJECTS) $(celtenc@PACKAGE_APPEND@_DEPENDENCIES) + @rm -f celtenc@PACKAGE_APPEND@$(EXEEXT) + $(LINK) $(celtenc@PACKAGE_APPEND@_OBJECTS) $(celtenc@PACKAGE_APPEND@_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/celtdec.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/celtenc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/skeleton.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wav_io.Po@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c $< + +.c.obj: +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-includeHEADERS: $(include_HEADERS) + @$(NORMAL_INSTALL) + test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)" + @list='$(include_HEADERS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \ + $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \ + done + +uninstall-includeHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(include_HEADERS)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \ + rm -f "$(DESTDIR)$(includedir)/$$f"; \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @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 $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$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 $(PROGRAMS) $(HEADERS) +installdirs: + for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(includedir)"; 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: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: install-includeHEADERS + +install-dvi: install-dvi-am + +install-exec-am: install-binPROGRAMS + +install-html: install-html-am + +install-info: install-info-am + +install-man: + +install-pdf: install-pdf-am + +install-ps: install-ps-am + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ + clean-generic clean-libtool ctags distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-binPROGRAMS install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-includeHEADERS install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags uninstall uninstall-am uninstall-binPROGRAMS \ + uninstall-includeHEADERS + +# 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: diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/tools/celtdec.c b/tizen/distrib/remote/common/celt-0.5.1.3/tools/celtdec.c new file mode 100644 index 0000000..02ea39d --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/tools/celtdec.c @@ -0,0 +1,667 @@ +/* Copyright (C) 2008 Jean-Marc Valin, CSIRO + File: celtdec.c + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include <stdio.h> +#if !defined WIN32 && !defined _WIN32 +#include <unistd.h> +#endif +#ifdef HAVE_GETOPT_H +#include <getopt.h> +#endif +#ifndef HAVE_GETOPT_LONG +#include "getopt_win.h" +#endif +#include <stdlib.h> +#include <string.h> + +#include "celt.h" +#include <ogg/ogg.h> + +#if defined WIN32 || defined _WIN32 +#include "wave_out.h" +/* We need the following two to set stdout to binary */ +#include <io.h> +#include <fcntl.h> +#endif +#include <math.h> + +#ifdef __MINGW32__ +#include "wave_out.c" +#endif + +#ifdef HAVE_SYS_SOUNDCARD_H +#include <sys/soundcard.h> +#include <sys/types.h> +#include <sys/stat.h> +#include <fcntl.h> +#include <sys/ioctl.h> + +#elif defined HAVE_SYS_AUDIOIO_H +#include <sys/types.h> +#include <fcntl.h> +#include <sys/ioctl.h> +#include <sys/audioio.h> +#ifndef AUDIO_ENCODING_SLINEAR +#define AUDIO_ENCODING_SLINEAR AUDIO_ENCODING_LINEAR /* Solaris */ +#endif + +#endif + +#include <string.h> +#include "wav_io.h" +#include "celt_header.h" + +#define MAX_FRAME_SIZE 2000 + +#define readint(buf, base) (((buf[base+3]<<24)&0xff000000)| \ + ((buf[base+2]<<16)&0xff0000)| \ + ((buf[base+1]<<8)&0xff00)| \ + (buf[base]&0xff)) + +static void print_comments(char *comments, int length) +{ + char *c=comments; + int len, i, nb_fields; + char *end; + + if (length<8) + { + fprintf (stderr, "Invalid/corrupted comments\n"); + return; + } + end = c+length; + len=readint(c, 0); + c+=4; + if (len < 0 || c+len>end) + { + fprintf (stderr, "Invalid/corrupted comments\n"); + return; + } + fwrite(c, 1, len, stderr); + c+=len; + fprintf (stderr, "\n"); + if (c+4>end) + { + fprintf (stderr, "Invalid/corrupted comments\n"); + return; + } + nb_fields=readint(c, 0); + c+=4; + for (i=0;i<nb_fields;i++) + { + if (c+4>end) + { + fprintf (stderr, "Invalid/corrupted comments\n"); + return; + } + len=readint(c, 0); + c+=4; + if (len < 0 || c+len>end) + { + fprintf (stderr, "Invalid/corrupted comments\n"); + return; + } + fwrite(c, 1, len, stderr); + c+=len; + fprintf (stderr, "\n"); + } +} + +FILE *out_file_open(char *outFile, int rate, int *channels) +{ + FILE *fout=NULL; + /*Open output file*/ + if (strlen(outFile)==0) + { +#if defined HAVE_SYS_SOUNDCARD_H + int audio_fd, format, stereo; + audio_fd=open("/dev/dsp", O_WRONLY); + if (audio_fd<0) + { + perror("Cannot open /dev/dsp"); + exit(1); + } + + format=AFMT_S16_NE; + if (ioctl(audio_fd, SNDCTL_DSP_SETFMT, &format)==-1) + { + perror("SNDCTL_DSP_SETFMT"); + close(audio_fd); + exit(1); + } + + stereo=0; + if (*channels==2) + stereo=1; + if (ioctl(audio_fd, SNDCTL_DSP_STEREO, &stereo)==-1) + { + perror("SNDCTL_DSP_STEREO"); + close(audio_fd); + exit(1); + } + if (stereo!=0) + { + if (*channels==1) + fprintf (stderr, "Cannot set mono mode, will decode in stereo\n"); + *channels=2; + } + + if (ioctl(audio_fd, SNDCTL_DSP_SPEED, &rate)==-1) + { + perror("SNDCTL_DSP_SPEED"); + close(audio_fd); + exit(1); + } + fout = fdopen(audio_fd, "w"); +#elif defined HAVE_SYS_AUDIOIO_H + audio_info_t info; + int audio_fd; + + audio_fd = open("/dev/audio", O_WRONLY); + if (audio_fd<0) + { + perror("Cannot open /dev/audio"); + exit(1); + } + + AUDIO_INITINFO(&info); +#ifdef AUMODE_PLAY /* NetBSD/OpenBSD */ + info.mode = AUMODE_PLAY; +#endif + info.play.encoding = AUDIO_ENCODING_SLINEAR; + info.play.precision = 16; + info.play.sample_rate = rate; + info.play.channels = *channels; + + if (ioctl(audio_fd, AUDIO_SETINFO, &info) < 0) + { + perror ("AUDIO_SETINFO"); + exit(1); + } + fout = fdopen(audio_fd, "w"); +#elif defined WIN32 || defined _WIN32 + { + unsigned int celt_channels = *channels; + if (Set_WIN_Params (INVALID_FILEDESC, rate, SAMPLE_SIZE, celt_channels)) + { + fprintf (stderr, "Can't access %s\n", "WAVE OUT"); + exit(1); + } + } +#else + fprintf (stderr, "No soundcard support\n"); + exit(1); +#endif + } else { + if (strcmp(outFile,"-")==0) + { +#if defined WIN32 || defined _WIN32 + _setmode(_fileno(stdout), _O_BINARY); +#endif + fout=stdout; + } + else + { + fout = fopen(outFile, "wb"); + if (!fout) + { + perror(outFile); + exit(1); + } + if (strcmp(outFile+strlen(outFile)-4,".wav")==0 || strcmp(outFile+strlen(outFile)-4,".WAV")==0) + write_wav_header(fout, rate, *channels, 0, 0); + } + } + return fout; +} + +void usage(void) +{ + printf ("Usage: celtdec [options] input_file.oga [output_file]\n"); + printf ("\n"); + printf ("Decodes a CELT file and produce a WAV file or raw file\n"); + printf ("\n"); + printf ("input_file can be:\n"); + printf (" filename.oga regular CELT file\n"); + printf (" - stdin\n"); + printf ("\n"); + printf ("output_file can be:\n"); + printf (" filename.wav Wav file\n"); + printf (" filename.* Raw PCM file (any extension other that .wav)\n"); + printf (" - stdout\n"); + printf (" (nothing) Will be played to soundcard\n"); + printf ("\n"); + printf ("Options:\n"); + printf (" --mono Force decoding in mono\n"); + printf (" --stereo Force decoding in stereo\n"); + printf (" --rate n Force decoding at sampling rate n Hz\n"); + printf (" --packet-loss n Simulate n %% random packet loss\n"); + printf (" -V Verbose mode (show bit-rate)\n"); + printf (" -h, --help This help\n"); + printf (" -v, --version Version information\n"); + printf ("\n"); +} + +void version(void) +{ + printf ("celtenc (CELT encoder)\n"); + printf ("Copyright (C) 2008 Jean-Marc Valin\n"); +} + +void version_short(void) +{ + printf ("celtenc (CELT encoder)\n"); + printf ("Copyright (C) 2008 Jean-Marc Valin\n"); +} + +static CELTDecoder *process_header(ogg_packet *op, celt_int32_t enh_enabled, celt_int32_t *frame_size, int *granule_frame_size, celt_int32_t *rate, int *nframes, int forceMode, int *channels, int *overlap, int *extra_headers, int quiet, CELTMode **mode) +{ + CELTDecoder *st; + CELT051Header header; + + celt051_header_from_packet(op->packet, op->bytes, &header); + + if (header.nb_channels>2 || header.nb_channels<1) + { + fprintf (stderr, "Unsupported number of channels: %d\n", header.nb_channels); + return NULL; + } + *mode = celt051_mode_create(header.sample_rate, header.nb_channels, header.frame_size, NULL); + if (*mode == NULL) + { + fprintf (stderr, "Mode initialization failed.\n"); + return NULL; + } + *channels = header.nb_channels; + *overlap=header.overlap; + st = celt051_decoder_create(*mode); + if (!st) + { + fprintf (stderr, "Decoder initialization failed.\n"); + return NULL; + } + + celt051_mode_info(*mode, CELT_GET_FRAME_SIZE, frame_size); + *granule_frame_size = *frame_size; + + if (!*rate) + *rate = header.sample_rate; + + *nframes = 1; + + if (!quiet) + { + fprintf (stderr, "Decoding %d Hz audio in", *rate); + + if (*channels==1) + fprintf (stderr, " (mono"); + else + fprintf (stderr, " (stereo"); + fprintf(stderr, ")\n"); + } + + *extra_headers = header.extra_headers; + + return st; +} + +int main(int argc, char **argv) +{ + int c; + int option_index = 0; + char *inFile, *outFile; + FILE *fin, *fout=NULL; + short out[MAX_FRAME_SIZE]; + short output[MAX_FRAME_SIZE]; + int frame_size=0, granule_frame_size=0; + void *st=NULL; + CELTMode *mode=NULL; + int packet_count=0; + int stream_init = 0; + int quiet = 0; + ogg_int64_t page_granule=0, last_granule=0; + int skip_samples=0, page_nb_packets; + struct option long_options[] = + { + {"help", no_argument, NULL, 0}, + {"quiet", no_argument, NULL, 0}, + {"version", no_argument, NULL, 0}, + {"version-short", no_argument, NULL, 0}, + {"rate", required_argument, NULL, 0}, + {"mono", no_argument, NULL, 0}, + {"stereo", no_argument, NULL, 0}, + {"packet-loss", required_argument, NULL, 0}, + {0, 0, 0, 0} + }; + ogg_sync_state oy; + ogg_page og; + ogg_packet op; + ogg_stream_state os; + int enh_enabled; + int nframes=2; + int print_bitrate=0; + int close_in=0; + int eos=0; + int forceMode=-1; + int audio_size=0; + float loss_percent=-1; + int channels=-1; + int rate=0; + int extra_headers=0; + int wav_format=0; + int lookahead=0; + int celt_serialno = -1; + int firstpacket = 1; + + enh_enabled = 1; + + /*Process options*/ + while(1) + { + c = getopt_long (argc, argv, "hvV", + long_options, &option_index); + if (c==-1) + break; + + switch(c) + { + case 0: + if (strcmp(long_options[option_index].name,"help")==0) + { + usage(); + exit(0); + } else if (strcmp(long_options[option_index].name,"quiet")==0) + { + quiet = 1; + } else if (strcmp(long_options[option_index].name,"version")==0) + { + version(); + exit(0); + } else if (strcmp(long_options[option_index].name,"version-short")==0) + { + version_short(); + exit(0); + } else if (strcmp(long_options[option_index].name,"mono")==0) + { + channels=1; + } else if (strcmp(long_options[option_index].name,"stereo")==0) + { + channels=2; + } else if (strcmp(long_options[option_index].name,"rate")==0) + { + rate=atoi (optarg); + } else if (strcmp(long_options[option_index].name,"packet-loss")==0) + { + loss_percent = atof(optarg); + } + break; + case 'h': + usage(); + exit(0); + break; + case 'v': + version(); + exit(0); + break; + case 'V': + print_bitrate=1; + break; + case '?': + usage(); + exit(1); + break; + } + } + if (argc-optind!=2 && argc-optind!=1) + { + usage(); + exit(1); + } + inFile=argv[optind]; + + if (argc-optind==2) + outFile=argv[optind+1]; + else + outFile = ""; + wav_format = strlen(outFile)>=4 && ( + strcmp(outFile+strlen(outFile)-4,".wav")==0 + || strcmp(outFile+strlen(outFile)-4,".WAV")==0); + /*Open input file*/ + if (strcmp(inFile, "-")==0) + { +#if defined WIN32 || defined _WIN32 + _setmode(_fileno(stdin), _O_BINARY); +#endif + fin=stdin; + } + else + { + fin = fopen(inFile, "rb"); + if (!fin) + { + perror(inFile); + exit(1); + } + close_in=1; + } + + + /*Init Ogg data struct*/ + ogg_sync_init(&oy); + + /*Main decoding loop*/ + + while (1) + { + char *data; + int i, nb_read; + /*Get the ogg buffer for writing*/ + data = ogg_sync_buffer(&oy, 200); + /*Read bitstream from input file*/ + nb_read = fread(data, sizeof(char), 200, fin); + ogg_sync_wrote(&oy, nb_read); + + /*Loop for all complete pages we got (most likely only one)*/ + while (ogg_sync_pageout(&oy, &og)==1) + { + if (stream_init == 0) { + ogg_stream_init(&os, ogg_page_serialno(&og)); + stream_init = 1; + } + if (ogg_page_serialno(&og) != os.serialno) { + /* so all streams are read. */ + ogg_stream_reset_serialno(&os, ogg_page_serialno(&og)); + } + /*Add page to the bitstream*/ + ogg_stream_pagein(&os, &og); + page_granule = ogg_page_granulepos(&og); + page_nb_packets = ogg_page_packets(&og); + if (page_granule>0 && frame_size) + { + /* FIXME: shift the granule values if --force-* is specified */ + skip_samples = frame_size*(page_nb_packets*granule_frame_size*nframes - (page_granule-last_granule))/granule_frame_size; + if (ogg_page_eos(&og)) + skip_samples = -skip_samples; + /*else if (!ogg_page_bos(&og)) + skip_samples = 0;*/ + } else + { + skip_samples = 0; + } + /*printf ("page granulepos: %d %d %d\n", skip_samples, page_nb_packets, (int)page_granule);*/ + last_granule = page_granule; + /*Extract all available packets*/ + while (!eos && ogg_stream_packetout(&os, &op) == 1 && op.bytes>=8) + { + if (!memcmp(op.packet, "CELT ", 8)) { + celt_serialno = os.serialno; + } + if (celt_serialno == -1 || os.serialno != celt_serialno) + break; + /*If first packet, process as CELT header*/ + if (packet_count==0) + { + st = process_header(&op, enh_enabled, &frame_size, &granule_frame_size, &rate, &nframes, forceMode, &channels, &lookahead, &extra_headers, quiet, &mode); + if (!st) + exit(1); + if (!nframes) + nframes=1; + fout = out_file_open(outFile, rate, &channels); + + } else if (packet_count==1) + { + if (!quiet) + print_comments((char*)op.packet, op.bytes); + } else if (packet_count<=1+extra_headers) + { + /* Ignore extra headers */ + } else { + int lost=0; + if (loss_percent>0 && 100*((float)rand())/RAND_MAX<loss_percent) + lost=1; + + /*End of stream condition*/ + if (op.e_o_s && os.serialno == celt_serialno) /* don't care for anything except celt eos */ + eos=1; + + { + int ret; + /*Decode frame*/ + if (!lost) + ret = celt051_decode(st, (unsigned char*)op.packet, op.bytes, output); + else + ret = celt051_decode(st, NULL, 0, output); + + /*for (i=0;i<frame_size*channels;i++) + printf ("%d\n", (int)output[i]);*/ + + if (ret!=0) + { + fprintf (stderr, "Decoding error: corrupted stream?\n"); + break; + } + + if (print_bitrate) { + celt_int32_t tmp=op.bytes; + char ch=13; + fputc (ch, stderr); + fprintf (stderr, "Bitrate in use: %d bytes/packet ", tmp); + } + /*Convert to short and save to output file*/ + if (strlen(outFile)!=0) + { + for (i=0;i<frame_size*channels;i++) + out[i]=le_short(output[i]); + } else { + for (i=0;i<frame_size*channels;i++) + out[i]=output[i]; + } + { + int frame_offset = 0; + int new_frame_size = frame_size; + /*printf ("packet %d %d\n", packet_no, skip_samples);*/ + /*fprintf (stderr, "packet %d %d %d\n", packet_no, skip_samples, lookahead);*/ + if (firstpacket == 1) + { + /*printf ("chopping first packet\n");*/ + new_frame_size -= lookahead; + frame_offset = lookahead; + firstpacket = 0; + } + if (new_frame_size>0) + { +#if defined WIN32 || defined _WIN32 + if (strlen(outFile)==0) + WIN_Play_Samples (out+frame_offset*channels, sizeof(short) * new_frame_size*channels); + else +#endif + fwrite(out+frame_offset*channels, sizeof(short), new_frame_size*channels, fout); + + audio_size+=sizeof(short)*new_frame_size*channels; + } + } + } + } + packet_count++; + } + } + if (feof(fin)) + break; + + } + + if (fout && wav_format) + { + if (fseek(fout,4,SEEK_SET)==0) + { + int tmp; + tmp = le_int(audio_size+36); + fwrite(&tmp,4,1,fout); + if (fseek(fout,32,SEEK_CUR)==0) + { + tmp = le_int(audio_size); + fwrite(&tmp,4,1,fout); + } else + { + fprintf (stderr, "First seek worked, second didn't\n"); + } + } else { + fprintf (stderr, "Cannot seek on wave file, size will be incorrect\n"); + } + } + + if (st) + { + celt051_decoder_destroy(st); + celt051_mode_destroy(mode); + } else { + fprintf (stderr, "This doesn't look like a CELT file\n"); + } + if (stream_init) + ogg_stream_clear(&os); + ogg_sync_clear(&oy); + +#if defined WIN32 || defined _WIN32 + if (strlen(outFile)==0) + WIN_Audio_close (); +#endif + + if (close_in) + fclose(fin); + if (fout != NULL) + fclose(fout); + + return 0; +} diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/tools/celtenc.c b/tizen/distrib/remote/common/celt-0.5.1.3/tools/celtenc.c new file mode 100644 index 0000000..c621782 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/tools/celtenc.c @@ -0,0 +1,768 @@ +/* Copyright (C) 2002-2008 Jean-Marc Valin + File: celtenc.c + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include <stdio.h> +#if !defined WIN32 && !defined _WIN32 +#include <unistd.h> +#endif + +#ifdef HAVE_GETOPT_H +#include <getopt.h> +#endif + +#ifndef HAVE_GETOPT_LONG +#include "getopt_win.h" +#endif + +#include <stdlib.h> +#include <string.h> +#include <time.h> + +#include "celt.h" +#include "celt_header.h" +#include <ogg/ogg.h> +#include "wav_io.h" + +#if defined WIN32 || defined _WIN32 +/* We need the following two to set stdout to binary */ +#include <io.h> +#include <fcntl.h> +#endif + +#include "skeleton.h" + + +void comment_init(char **comments, int* length, char *vendor_string); +void comment_add(char **comments, int* length, char *tag, char *val); + + +/*Write an Ogg page to a file pointer*/ +int oe_write_page(ogg_page *page, FILE *fp) +{ + int written; + written = fwrite(page->header,1,page->header_len, fp); + written += fwrite(page->body,1,page->body_len, fp); + + return written; +} + +#define MAX_FRAME_SIZE 2000 +#define MAX_FRAME_BYTES 2000 + +/* Convert input audio bits, endians and channels */ +static int read_samples(FILE *fin,int frame_size, int bits, int channels, int lsb, short * input, char *buff, celt_int32_t *size) +{ + unsigned char in[MAX_FRAME_BYTES*2]; + int i; + short *s; + int nb_read; + + if (size && *size<=0) + { + return 0; + } + /*Read input audio*/ + if (size) + *size -= bits/8*channels*frame_size; + if (buff) + { + for (i=0;i<12;i++) + in[i]=buff[i]; + nb_read = fread(in+12,1,bits/8*channels*frame_size-12, fin) + 12; + if (size) + *size += 12; + } else { + nb_read = fread(in,1,bits/8*channels* frame_size, fin); + } + nb_read /= bits/8*channels; + + /*fprintf (stderr, "%d\n", nb_read);*/ + if (nb_read==0) + return 0; + + s=(short*)in; + if(bits==8) + { + /* Convert 8->16 bits */ + for(i=frame_size*channels-1;i>=0;i--) + { + s[i]=(in[i]<<8)^0x8000; + } + } else + { + /* convert to our endian format */ + for(i=0;i<frame_size*channels;i++) + { + if(lsb) + s[i]=le_short(s[i]); + else + s[i]=be_short(s[i]); + } + } + + /* FIXME: This is probably redundent now */ + /* copy to float input buffer */ + for (i=0;i<frame_size*channels;i++) + { + input[i]=(short)s[i]; + } + + for (i=nb_read*channels;i<frame_size*channels;i++) + { + input[i]=0; + } + + + return nb_read; +} + +void add_fishead_packet (ogg_stream_state *os) { + + fishead_packet fp; + + memset(&fp, 0, sizeof(fp)); + fp.ptime_n = 0; + fp.ptime_d = 1000; + fp.btime_n = 0; + fp.btime_d = 1000; + + add_fishead_to_stream(os, &fp); +} + +/* + * Adds the fishead packets in the skeleton output stream along with the e_o_s packet + */ +void add_fisbone_packet (ogg_stream_state *os, celt_int32_t serialno, CELT051Header *header) { + + fisbone_packet fp; + + memset(&fp, 0, sizeof(fp)); + fp.serial_no = serialno; + fp.nr_header_packet = 2 + header->extra_headers; + fp.granule_rate_n = header->sample_rate; + fp.granule_rate_d = 1; + fp.start_granule = 0; + fp.preroll = 3; + fp.granule_shift = 0; + + add_message_header_field(&fp, "Content-Type", "audio/x-celt"); + + add_fisbone_to_stream(os, &fp); +} + +void version(void) +{ + printf ("celtenc (CELT encoder)\n"); + printf ("Copyright (C) 2008 Jean-Marc Valin\n"); +} + +void version_short(void) +{ + printf ("celtenc (CELT encoder)\n"); + printf ("Copyright (C) 2008 Jean-Marc Valin\n"); +} + +void usage(void) +{ + printf ("Usage: celtenc [options] input_file output_file.oga\n"); + printf ("\n"); + printf ("Encodes input_file using CELT. It can read the WAV or raw files.\n"); + printf ("\n"); + printf ("input_file can be:\n"); + printf (" filename.wav wav file\n"); + printf (" filename.* Raw PCM file (any extension other than .wav)\n"); + printf (" - stdin\n"); + printf ("\n"); + printf ("output_file can be:\n"); + printf (" filename.oga compressed file\n"); + printf (" - stdout\n"); + printf ("\n"); + printf ("Options:\n"); + printf (" --bitrate n Encoding bit-rate\n"); + printf (" --comp n Encoding complexity (0-10)\n"); + printf (" --skeleton Outputs ogg skeleton metadata (may cause incompatibilities)\n"); + printf (" --comment Add the given string as an extra comment. This may be\n"); + printf (" used multiple times\n"); + printf (" --author Author of this track\n"); + printf (" --title Title for this track\n"); + printf (" -h, --help This help\n"); + printf (" -v, --version Version information\n"); + printf (" -V Verbose mode (show bit-rate)\n"); + printf ("Raw input options:\n"); + printf (" --rate n Sampling rate for raw input\n"); + printf (" --mono Consider raw input as mono\n"); + printf (" --stereo Consider raw input as stereo\n"); + printf (" --le Raw input is little-endian\n"); + printf (" --be Raw input is big-endian\n"); + printf (" --8bit Raw input is 8-bit unsigned\n"); + printf (" --16bit Raw input is 16-bit signed\n"); + printf ("Default raw PCM input is 16-bit, little-endian, mono\n"); +} + + +int main(int argc, char **argv) +{ + int nb_samples, total_samples=0, nb_encoded; + int c; + int option_index = 0; + char *inFile, *outFile; + FILE *fin, *fout; + short input[MAX_FRAME_SIZE]; + celt_int32_t frame_size; + int quiet=0; + int nbBytes; + CELTMode *mode; + void *st; + unsigned char bits[MAX_FRAME_BYTES]; + int with_skeleton = 0; + struct option long_options[] = + { + {"bitrate", required_argument, NULL, 0}, + {"comp", required_argument, NULL, 0}, + {"skeleton",no_argument,NULL, 0}, + {"help", no_argument, NULL, 0}, + {"quiet", no_argument, NULL, 0}, + {"le", no_argument, NULL, 0}, + {"be", no_argument, NULL, 0}, + {"8bit", no_argument, NULL, 0}, + {"16bit", no_argument, NULL, 0}, + {"mono", no_argument, NULL, 0}, + {"stereo", no_argument, NULL, 0}, + {"rate", required_argument, NULL, 0}, + {"version", no_argument, NULL, 0}, + {"version-short", no_argument, NULL, 0}, + {"comment", required_argument, NULL, 0}, + {"author", required_argument, NULL, 0}, + {"title", required_argument, NULL, 0}, + {0, 0, 0, 0} + }; + + int print_bitrate=0; + celt_int32_t rate=44100; + celt_int32_t size; + int chan=1; + int fmt=16; + int lsb=1; + ogg_stream_state os; + ogg_stream_state so; /* ogg stream for skeleton bitstream */ + ogg_page og; + ogg_packet op; + int bytes_written=0, ret, result; + int id=-1; + CELT051Header header; + char vendor_string[64]; + char *comments; + int comments_length; + int close_in=0, close_out=0; + int eos=0; + celt_int32_t bitrate=-1; + char first_bytes[12]; + int wave_input=0; + celt_int32_t lookahead = 0; + int bytes_per_packet=48; + int complexity=-127; + + snprintf(vendor_string, sizeof(vendor_string), "Encoded with CELT\n"); + + comment_init(&comments, &comments_length, vendor_string); + + /*Process command-line options*/ + while(1) + { + c = getopt_long (argc, argv, "hvV", + long_options, &option_index); + if (c==-1) + break; + + switch(c) + { + case 0: + if (strcmp(long_options[option_index].name,"bitrate")==0) + { + bitrate = atoi (optarg); + } else if (strcmp(long_options[option_index].name,"skeleton")==0) + { + with_skeleton=1; + } else if (strcmp(long_options[option_index].name,"help")==0) + { + usage(); + exit(0); + } else if (strcmp(long_options[option_index].name,"quiet")==0) + { + quiet = 1; + } else if (strcmp(long_options[option_index].name,"version")==0) + { + version(); + exit(0); + } else if (strcmp(long_options[option_index].name,"version-short")==0) + { + version_short(); + exit(0); + } else if (strcmp(long_options[option_index].name,"le")==0) + { + lsb=1; + } else if (strcmp(long_options[option_index].name,"be")==0) + { + lsb=0; + } else if (strcmp(long_options[option_index].name,"8bit")==0) + { + fmt=8; + } else if (strcmp(long_options[option_index].name,"16bit")==0) + { + fmt=16; + } else if (strcmp(long_options[option_index].name,"stereo")==0) + { + chan=2; + } else if (strcmp(long_options[option_index].name,"mono")==0) + { + chan=1; + } else if (strcmp(long_options[option_index].name,"rate")==0) + { + rate=atoi (optarg); + } else if (strcmp(long_options[option_index].name,"comp")==0) + { + complexity=atoi (optarg); + } else if (strcmp(long_options[option_index].name,"comment")==0) + { + if (!strchr(optarg, '=')) + { + fprintf (stderr, "Invalid comment: %s\n", optarg); + fprintf (stderr, "Comments must be of the form name=value\n"); + exit(1); + } + comment_add(&comments, &comments_length, NULL, optarg); + } else if (strcmp(long_options[option_index].name,"author")==0) + { + comment_add(&comments, &comments_length, "author=", optarg); + } else if (strcmp(long_options[option_index].name,"title")==0) + { + comment_add(&comments, &comments_length, "title=", optarg); + } + + break; + case 'h': + usage(); + exit(0); + break; + case 'v': + version(); + exit(0); + break; + case 'V': + print_bitrate=1; + break; + case '?': + usage(); + exit(1); + break; + } + } + + fprintf(stderr,"\nWARNING: This encoder is a CELT *PRERELEASE*. It produces streams that are\n" + " not decodable by ANY OTHER VERSION. These streams will NOT be\n" + " supported or decodable by any future CELT release.\n\n"); + + if (argc-optind!=2) + { + usage(); + exit(1); + } + inFile=argv[optind]; + outFile=argv[optind+1]; + + /*Initialize Ogg stream struct*/ + srand(time(NULL)); + if (ogg_stream_init(&os, rand())==-1) + { + fprintf(stderr,"Error: stream init failed\n"); + exit(1); + } + if (with_skeleton && ogg_stream_init(&so, rand())==-1) + { + fprintf(stderr,"Error: stream init failed\n"); + exit(1); + } + + if (strcmp(inFile, "-")==0) + { +#if defined WIN32 || defined _WIN32 + _setmode(_fileno(stdin), _O_BINARY); +#elif defined OS2 + _fsetmode(stdin,"b"); +#endif + fin=stdin; + } + else + { + fin = fopen(inFile, "rb"); + if (!fin) + { + perror(inFile); + exit(1); + } + close_in=1; + } + + { + fread(first_bytes, 1, 12, fin); + if (strncmp(first_bytes,"RIFF",4)==0 && strncmp(first_bytes,"RIFF",4)==0) + { + if (read_wav_header(fin, &rate, &chan, &fmt, &size)==-1) + exit(1); + wave_input=1; + lsb=1; /* CHECK: exists big-endian .wav ?? */ + } + } + + if (chan == 1) + { + if (bitrate < 0) + bitrate = 64; + if (bitrate < 32) + bitrate = 32; + if (bitrate > 110) + bitrate = 110; + } + else if (chan == 2) + { + if (bitrate < 0) + bitrate = 128; + if (bitrate < 64) + bitrate = 64; + if (bitrate > 150) + bitrate = 150; + } else { + fprintf (stderr, "Only mono and stereo are supported\n"); + return 1; + } + + mode = celt051_mode_create(rate, chan, 256, NULL); + if (!mode) + return 1; + celt051_mode_info(mode, CELT_GET_FRAME_SIZE, &frame_size); + + bytes_per_packet = (bitrate*1000*frame_size/rate+4)/8; + + celt051_header_init(&header, mode); + header.nb_channels = chan; + + { + char *st_string="mono"; + if (chan==2) + st_string="stereo"; + if (!quiet) + fprintf (stderr, "Encoding %d Hz audio using %s (%d bytes per packet)\n", + header.sample_rate, st_string, bytes_per_packet); + } + /*fprintf (stderr, "Encoding %d Hz audio at %d bps using %s mode\n", + header.rate, mode->bitrate, mode->modeName);*/ + + /*Initialize CELT encoder*/ + st = celt051_encoder_create(mode); + + if (complexity!=-127) { + if (celt051_encoder_ctl(st, CELT_SET_COMPLEXITY(complexity)) != CELT_OK) + { + fprintf (stderr, "Only complexity 0 through 10 is supported\n"); + return 1; + } + } + + if (strcmp(outFile,"-")==0) + { +#if defined WIN32 || defined _WIN32 + _setmode(_fileno(stdout), _O_BINARY); +#endif + fout=stdout; + } + else + { + fout = fopen(outFile, "wb"); + if (!fout) + { + perror(outFile); + exit(1); + } + close_out=1; + } + + if (with_skeleton) { + fprintf (stderr, "Warning: Enabling skeleton output may cause some decoders to fail.\n"); + } + + /* first packet should be the skeleton header. */ + if (with_skeleton) { + add_fishead_packet(&so); + if ((ret = flush_ogg_stream_to_file(&so, fout))) { + fprintf (stderr,"Error: failed skeleton (fishead) header to output stream\n"); + exit(1); + } else + bytes_written += ret; + } + + /*Write header*/ + { + unsigned char header_data[100]; + int packet_size = celt051_header_to_packet(&header, header_data, 100); + op.packet = header_data; + op.bytes = packet_size; + op.b_o_s = 1; + op.e_o_s = 0; + op.granulepos = 0; + op.packetno = 0; + ogg_stream_packetin(&os, &op); + + while((result = ogg_stream_flush(&os, &og))) + { + if(!result) break; + ret = oe_write_page(&og, fout); + if(ret != og.header_len + og.body_len) + { + fprintf (stderr,"Error: failed writing header to output stream\n"); + exit(1); + } + else + bytes_written += ret; + } + + op.packet = (unsigned char *)comments; + op.bytes = comments_length; + op.b_o_s = 0; + op.e_o_s = 0; + op.granulepos = 0; + op.packetno = 1; + ogg_stream_packetin(&os, &op); + } + + /* fisbone packet should be write after all bos pages */ + if (with_skeleton) { + add_fisbone_packet(&so, os.serialno, &header); + if ((ret = flush_ogg_stream_to_file(&so, fout))) { + fprintf (stderr,"Error: failed writing skeleton (fisbone )header to output stream\n"); + exit(1); + } else + bytes_written += ret; + } + + /* writing the rest of the celt header packets */ + while((result = ogg_stream_flush(&os, &og))) + { + if(!result) break; + ret = oe_write_page(&og, fout); + if(ret != og.header_len + og.body_len) + { + fprintf (stderr,"Error: failed writing header to output stream\n"); + exit(1); + } + else + bytes_written += ret; + } + + free(comments); + + /* write the skeleton eos packet */ + if (with_skeleton) { + add_eos_packet_to_stream(&so); + if ((ret = flush_ogg_stream_to_file(&so, fout))) { + fprintf (stderr,"Error: failed writing skeleton header to output stream\n"); + exit(1); + } else + bytes_written += ret; + } + + + if (!wave_input) + { + nb_samples = read_samples(fin,frame_size,fmt,chan,lsb,input, first_bytes, NULL); + } else { + nb_samples = read_samples(fin,frame_size,fmt,chan,lsb,input, NULL, &size); + } + if (nb_samples==0) + eos=1; + total_samples += nb_samples; + nb_encoded = -lookahead; + /*Main encoding loop (one frame per iteration)*/ + while (!eos || total_samples>nb_encoded) + { + id++; + /*Encode current frame*/ + + nbBytes = celt051_encode(st, input, NULL, bits, bytes_per_packet); + if (nbBytes<0) + { + fprintf(stderr, "Got error %d while encoding. Aborting.\n", nbBytes); + break; + } + nb_encoded += frame_size; + + if (wave_input) + { + nb_samples = read_samples(fin,frame_size,fmt,chan,lsb,input, NULL, &size); + } else { + nb_samples = read_samples(fin,frame_size,fmt,chan,lsb,input, NULL, NULL); + } + if (nb_samples==0) + { + eos=1; + } + if (eos && total_samples<=nb_encoded) + op.e_o_s = 1; + else + op.e_o_s = 0; + total_samples += nb_samples; + + op.packet = (unsigned char *)bits; + op.bytes = nbBytes; + op.b_o_s = 0; + /*Is this redundent?*/ + if (eos && total_samples<=nb_encoded) + op.e_o_s = 1; + else + op.e_o_s = 0; + op.granulepos = (id+1)*frame_size-lookahead; + if (op.granulepos>total_samples) + op.granulepos = total_samples; + /*printf ("granulepos: %d %d %d %d %d %d\n", (int)op.granulepos, id, nframes, lookahead, 5, 6);*/ + op.packetno = 2+id; + ogg_stream_packetin(&os, &op); + + /*Write all new pages (most likely 0 or 1)*/ + while (ogg_stream_pageout(&os,&og)) + { + ret = oe_write_page(&og, fout); + if(ret != og.header_len + og.body_len) + { + fprintf (stderr,"Error: failed writing header to output stream\n"); + exit(1); + } + else + bytes_written += ret; + } + } + /*Flush all pages left to be written*/ + while (ogg_stream_flush(&os, &og)) + { + ret = oe_write_page(&og, fout); + if(ret != og.header_len + og.body_len) + { + fprintf (stderr,"Error: failed writing header to output stream\n"); + exit(1); + } + else + bytes_written += ret; + } + + celt051_encoder_destroy(st); + celt051_mode_destroy(mode); + ogg_stream_clear(&os); + + if (close_in) + fclose(fin); + if (close_out) + fclose(fout); + return 0; +} + +/* + Comments will be stored in the Vorbis style. + It is describled in the "Structure" section of + http://www.xiph.org/ogg/vorbis/doc/v-comment.html + +The comment header is decoded as follows: + 1) [vendor_length] = read an unsigned integer of 32 bits + 2) [vendor_string] = read a UTF-8 vector as [vendor_length] octets + 3) [user_comment_list_length] = read an unsigned integer of 32 bits + 4) iterate [user_comment_list_length] times { + 5) [length] = read an unsigned integer of 32 bits + 6) this iteration's user comment = read a UTF-8 vector as [length] octets + } + 7) [framing_bit] = read a single bit as boolean + 8) if ( [framing_bit] unset or end of packet ) then ERROR + 9) done. + + If you have troubles, please write to ymnk@jcraft.com. + */ + +#define readint(buf, base) (((buf[base+3]<<24)&0xff000000)| \ + ((buf[base+2]<<16)&0xff0000)| \ + ((buf[base+1]<<8)&0xff00)| \ + (buf[base]&0xff)) +#define writeint(buf, base, val) do{ buf[base+3]=((val)>>24)&0xff; \ + buf[base+2]=((val)>>16)&0xff; \ + buf[base+1]=((val)>>8)&0xff; \ + buf[base]=(val)&0xff; \ + }while(0) + +void comment_init(char **comments, int* length, char *vendor_string) +{ + int vendor_length=strlen(vendor_string); + int user_comment_list_length=0; + int len=4+vendor_length+4; + char *p=(char*)malloc(len); + if(p==NULL){ + fprintf (stderr, "malloc failed in comment_init()\n"); + exit(1); + } + writeint(p, 0, vendor_length); + memcpy(p+4, vendor_string, vendor_length); + writeint(p, 4+vendor_length, user_comment_list_length); + *length=len; + *comments=p; +} +void comment_add(char **comments, int* length, char *tag, char *val) +{ + char* p=*comments; + int vendor_length=readint(p, 0); + int user_comment_list_length=readint(p, 4+vendor_length); + int tag_len=(tag?strlen(tag):0); + int val_len=strlen(val); + int len=(*length)+4+tag_len+val_len; + + p=(char*)realloc(p, len); + if(p==NULL){ + fprintf (stderr, "realloc failed in comment_add()\n"); + exit(1); + } + + writeint(p, *length, tag_len+val_len); /* length of comment */ + if(tag) memcpy(p+*length+4, tag, tag_len); /* comment */ + memcpy(p+*length+4+tag_len, val, val_len); /* comment */ + writeint(p, 4+vendor_length, user_comment_list_length+1); + + *comments=p; + *length=len; +} +#undef readint +#undef writeint diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/tools/getopt.c b/tizen/distrib/remote/common/celt-0.5.1.3/tools/getopt.c new file mode 100644 index 0000000..33d299b --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/tools/getopt.c @@ -0,0 +1,1047 @@ +/* Getopt for GNU. + NOTE: getopt is now part of the C library, so if you don't know what + "Keep this file name-space clean" means, talk to drepper@gnu.org + before changing it! + + Copyright (C) 1987, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99 + Free Software Foundation, Inc. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +/* This tells Alpha OSF/1 not to define a getopt prototype in <stdio.h>. + Ditto for AIX 3.2 and <stdlib.h>. */ +#ifndef _NO_PROTO +# define _NO_PROTO +#endif + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#if !defined __STDC__ || !__STDC__ +/* This is a separate conditional since some stdc systems + reject `defined (const)'. */ +# ifndef const +# define const +# endif +#endif + +#include <stdio.h> + +/* Comment out all this code if we are using the GNU C Library, and are not + actually compiling the library itself. This code is part of the GNU C + Library, but also included in many other GNU distributions. Compiling + and linking in this code is a waste when using the GNU C library + (especially if it is a shared library). Rather than having every GNU + program understand `configure --with-gnu-libc' and omit the object files, + it is simpler to just do this in the source for each such file. */ + +#define GETOPT_INTERFACE_VERSION 2 +#if !defined _LIBC && defined __GLIBC__ && __GLIBC__ >= 2 +# include <gnu-versions.h> +# if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION +# define ELIDE_CODE +# endif +#endif + +#ifndef ELIDE_CODE + + +/* This needs to come after some library #include + to get __GNU_LIBRARY__ defined. */ +#ifdef __GNU_LIBRARY__ +/* Don't include stdlib.h for non-GNU C libraries because some of them + contain conflicting prototypes for getopt. */ +# include <stdlib.h> +# include <unistd.h> +#endif /* GNU C library. */ + +#ifdef VMS +# include <unixlib.h> +# if HAVE_STRING_H - 0 +# include <string.h> +# endif +#endif + +#ifndef _ +/* This is for other GNU distributions with internationalized messages. + When compiling libc, the _ macro is predefined. */ +# ifdef HAVE_LIBINTL_H +# include <libintl.h> +# define _(msgid) gettext (msgid) +# else +# define _(msgid) (msgid) +# endif +#endif + +/* This version of `getopt' appears to the caller like standard Unix `getopt' + but it behaves differently for the user, since it allows the user + to intersperse the options with the other arguments. + + As `getopt' works, it permutes the elements of ARGV so that, + when it is done, all the options precede everything else. Thus + all application programs are extended to handle flexible argument order. + + Setting the environment variable POSIXLY_CORRECT disables permutation. + Then the behavior is completely standard. + + GNU application programs can use a third alternative mode in which + they can distinguish the relative order of options and other arguments. */ + +#include "getopt_win.h" + +/* For communication from `getopt' to the caller. + When `getopt' finds an option that takes an argument, + the argument value is returned here. + Also, when `ordering' is RETURN_IN_ORDER, + each non-option ARGV-element is returned here. */ + +char *optarg; + +/* Index in ARGV of the next element to be scanned. + This is used for communication to and from the caller + and for communication between successive calls to `getopt'. + + On entry to `getopt', zero means this is the first call; initialize. + + When `getopt' returns -1, this is the index of the first of the + non-option elements that the caller should itself scan. + + Otherwise, `optind' communicates from one call to the next + how much of ARGV has been scanned so far. */ + +/* 1003.2 says this must be 1 before any call. */ +int optind = 1; + +/* Formerly, initialization of getopt depended on optind==0, which + causes problems with re-calling getopt as programs generally don't + know that. */ + +int __getopt_initialized; + +/* The next char to be scanned in the option-element + in which the last option character we returned was found. + This allows us to pick up the scan where we left off. + + If this is zero, or a null string, it means resume the scan + by advancing to the next ARGV-element. */ + +static char *nextchar; + +/* Callers store zero here to inhibit the error message + for unrecognized options. */ + +int opterr = 1; + +/* Set to an option character which was unrecognized. + This must be initialized on some systems to avoid linking in the + system's own getopt implementation. */ + +int optopt = '?'; + +/* Describe how to deal with options that follow non-option ARGV-elements. + + If the caller did not specify anything, + the default is REQUIRE_ORDER if the environment variable + POSIXLY_CORRECT is defined, PERMUTE otherwise. + + REQUIRE_ORDER means don't recognize them as options; + stop option processing when the first non-option is seen. + This is what Unix does. + This mode of operation is selected by either setting the environment + variable POSIXLY_CORRECT, or using `+' as the first character + of the list of option characters. + + PERMUTE is the default. We permute the contents of ARGV as we scan, + so that eventually all the non-options are at the end. This allows options + to be given in any order, even with programs that were not written to + expect this. + + RETURN_IN_ORDER is an option available to programs that were written + to expect options and other ARGV-elements in any order and that care about + the ordering of the two. We describe each non-option ARGV-element + as if it were the argument of an option with character code 1. + Using `-' as the first character of the list of option characters + selects this mode of operation. + + The special argument `--' forces an end of option-scanning regardless + of the value of `ordering'. In the case of RETURN_IN_ORDER, only + `--' can cause `getopt' to return -1 with `optind' != ARGC. */ + +static enum +{ + REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER +} ordering; + +/* Value of POSIXLY_CORRECT environment variable. */ +static char *posixly_correct; + +#ifdef __GNU_LIBRARY__ +/* We want to avoid inclusion of string.h with non-GNU libraries + because there are many ways it can cause trouble. + On some systems, it contains special magic macros that don't work + in GCC. */ +# include <string.h> +# define my_index strchr +#else + +#include <string.h> + +/* Avoid depending on library functions or files + whose names are inconsistent. */ + +#ifndef getenv +extern char *getenv (); +#endif + +static char * +my_index (str, chr) + const char *str; + int chr; +{ + while (*str) + { + if (*str == chr) + return (char *) str; + str++; + } + return 0; +} + +/* If using GCC, we can safely declare strlen this way. + If not using GCC, it is ok not to declare it. */ +#ifdef __GNUC__ +/* Note that Motorola Delta 68k R3V7 comes with GCC but not stddef.h. + That was relevant to code that was here before. */ +# if (!defined __STDC__ || !__STDC__) && !defined strlen +/* gcc with -traditional declares the built-in strlen to return int, + and has done so at least since version 2.4.5. -- rms. */ +extern int strlen (const char *); +# endif /* not __STDC__ */ +#endif /* __GNUC__ */ + +#endif /* not __GNU_LIBRARY__ */ + +/* Handle permutation of arguments. */ + +/* Describe the part of ARGV that contains non-options that have + been skipped. `first_nonopt' is the index in ARGV of the first of them; + `last_nonopt' is the index after the last of them. */ + +static int first_nonopt; +static int last_nonopt; + +#ifdef _LIBC +/* Bash 2.0 gives us an environment variable containing flags + indicating ARGV elements that should not be considered arguments. */ + +/* Defined in getopt_init.c */ +extern char *__getopt_nonoption_flags; + +static int nonoption_flags_max_len; +static int nonoption_flags_len; + +static int original_argc; +static char *const *original_argv; + +/* Make sure the environment variable bash 2.0 puts in the environment + is valid for the getopt call we must make sure that the ARGV passed + to getopt is that one passed to the process. */ +static void +__attribute__ ((unused)) +store_args_and_env (int argc, char *const *argv) +{ + /* XXX This is no good solution. We should rather copy the args so + that we can compare them later. But we must not use malloc(3). */ + original_argc = argc; + original_argv = argv; +} +# ifdef text_set_element +text_set_element (__libc_subinit, store_args_and_env); +# endif /* text_set_element */ + +# define SWAP_FLAGS(ch1, ch2) \ + if (nonoption_flags_len > 0) \ + { \ + char __tmp = __getopt_nonoption_flags[ch1]; \ + __getopt_nonoption_flags[ch1] = __getopt_nonoption_flags[ch2]; \ + __getopt_nonoption_flags[ch2] = __tmp; \ + } +#else /* !_LIBC */ +# define SWAP_FLAGS(ch1, ch2) +#endif /* _LIBC */ + +/* Exchange two adjacent subsequences of ARGV. + One subsequence is elements [first_nonopt,last_nonopt) + which contains all the non-options that have been skipped so far. + The other is elements [last_nonopt,optind), which contains all + the options processed since those non-options were skipped. + + `first_nonopt' and `last_nonopt' are relocated so that they describe + the new indices of the non-options in ARGV after they are moved. */ + +#if defined __STDC__ && __STDC__ +static void exchange (char **); +#endif + +static void +exchange (argv) + char **argv; +{ + int bottom = first_nonopt; + int middle = last_nonopt; + int top = optind; + char *tem; + + /* Exchange the shorter segment with the far end of the longer segment. + That puts the shorter segment into the right place. + It leaves the longer segment in the right place overall, + but it consists of two parts that need to be swapped next. */ + +#ifdef _LIBC + /* First make sure the handling of the `__getopt_nonoption_flags' + string can work normally. Our top argument must be in the range + of the string. */ + if (nonoption_flags_len > 0 && top >= nonoption_flags_max_len) + { + /* We must extend the array. The user plays games with us and + presents new arguments. */ + char *new_str = malloc (top + 1); + if (new_str == NULL) + nonoption_flags_len = nonoption_flags_max_len = 0; + else + { + memset (__mempcpy (new_str, __getopt_nonoption_flags, + nonoption_flags_max_len), + '\0', top + 1 - nonoption_flags_max_len); + nonoption_flags_max_len = top + 1; + __getopt_nonoption_flags = new_str; + } + } +#endif + + while (top > middle && middle > bottom) + { + if (top - middle > middle - bottom) + { + /* Bottom segment is the short one. */ + int len = middle - bottom; + register int i; + + /* Swap it with the top part of the top segment. */ + for (i = 0; i < len; i++) + { + tem = argv[bottom + i]; + argv[bottom + i] = argv[top - (middle - bottom) + i]; + argv[top - (middle - bottom) + i] = tem; + SWAP_FLAGS (bottom + i, top - (middle - bottom) + i); + } + /* Exclude the moved bottom segment from further swapping. */ + top -= len; + } + else + { + /* Top segment is the short one. */ + int len = top - middle; + register int i; + + /* Swap it with the bottom part of the bottom segment. */ + for (i = 0; i < len; i++) + { + tem = argv[bottom + i]; + argv[bottom + i] = argv[middle + i]; + argv[middle + i] = tem; + SWAP_FLAGS (bottom + i, middle + i); + } + /* Exclude the moved top segment from further swapping. */ + bottom += len; + } + } + + /* Update records for the slots the non-options now occupy. */ + + first_nonopt += (optind - last_nonopt); + last_nonopt = optind; +} + +/* Initialize the internal data when the first call is made. */ + +#if defined __STDC__ && __STDC__ +static const char *_getopt_initialize (int, char *const *, const char *); +#endif +static const char * +_getopt_initialize (argc, argv, optstring) + int argc; + char *const *argv; + const char *optstring; +{ + /* Start processing options with ARGV-element 1 (since ARGV-element 0 + is the program name); the sequence of previously skipped + non-option ARGV-elements is empty. */ + + first_nonopt = last_nonopt = optind; + + nextchar = NULL; + + posixly_correct = getenv ("POSIXLY_CORRECT"); + + /* Determine how to handle the ordering of options and nonoptions. */ + + if (optstring[0] == '-') + { + ordering = RETURN_IN_ORDER; + ++optstring; + } + else if (optstring[0] == '+') + { + ordering = REQUIRE_ORDER; + ++optstring; + } + else if (posixly_correct != NULL) + ordering = REQUIRE_ORDER; + else + ordering = PERMUTE; + +#ifdef _LIBC + if (posixly_correct == NULL + && argc == original_argc && argv == original_argv) + { + if (nonoption_flags_max_len == 0) + { + if (__getopt_nonoption_flags == NULL + || __getopt_nonoption_flags[0] == '\0') + nonoption_flags_max_len = -1; + else + { + const char *orig_str = __getopt_nonoption_flags; + int len = nonoption_flags_max_len = strlen (orig_str); + if (nonoption_flags_max_len < argc) + nonoption_flags_max_len = argc; + __getopt_nonoption_flags = + (char *) malloc (nonoption_flags_max_len); + if (__getopt_nonoption_flags == NULL) + nonoption_flags_max_len = -1; + else + memset (__mempcpy (__getopt_nonoption_flags, orig_str, len), + '\0', nonoption_flags_max_len - len); + } + } + nonoption_flags_len = nonoption_flags_max_len; + } + else + nonoption_flags_len = 0; +#endif + + return optstring; +} + +/* Scan elements of ARGV (whose length is ARGC) for option characters + given in OPTSTRING. + + If an element of ARGV starts with '-', and is not exactly "-" or "--", + then it is an option element. The characters of this element + (aside from the initial '-') are option characters. If `getopt' + is called repeatedly, it returns successively each of the option characters + from each of the option elements. + + If `getopt' finds another option character, it returns that character, + updating `optind' and `nextchar' so that the next call to `getopt' can + resume the scan with the following option character or ARGV-element. + + If there are no more option characters, `getopt' returns -1. + Then `optind' is the index in ARGV of the first ARGV-element + that is not an option. (The ARGV-elements have been permuted + so that those that are not options now come last.) + + OPTSTRING is a string containing the legitimate option characters. + If an option character is seen that is not listed in OPTSTRING, + return '?' after printing an error message. If you set `opterr' to + zero, the error message is suppressed but we still return '?'. + + If a char in OPTSTRING is followed by a colon, that means it wants an arg, + so the following text in the same ARGV-element, or the text of the following + ARGV-element, is returned in `optarg'. Two colons mean an option that + wants an optional arg; if there is text in the current ARGV-element, + it is returned in `optarg', otherwise `optarg' is set to zero. + + If OPTSTRING starts with `-' or `+', it requests different methods of + handling the non-option ARGV-elements. + See the comments about RETURN_IN_ORDER and REQUIRE_ORDER, above. + + Long-named options begin with `--' instead of `-'. + Their names may be abbreviated as long as the abbreviation is unique + or is an exact match for some defined option. If they have an + argument, it follows the option name in the same ARGV-element, separated + from the option name by a `=', or else the in next ARGV-element. + When `getopt' finds a long-named option, it returns 0 if that option's + `flag' field is nonzero, the value of the option's `val' field + if the `flag' field is zero. + + The elements of ARGV aren't really const, because we permute them. + But we pretend they're const in the prototype to be compatible + with other systems. + + LONGOPTS is a vector of `struct option' terminated by an + element containing a name which is zero. + + LONGIND returns the index in LONGOPT of the long-named option found. + It is only valid when a long-named option has been found by the most + recent call. + + If LONG_ONLY is nonzero, '-' as well as '--' can introduce + long-named options. */ + +int +_getopt_internal (argc, argv, optstring, longopts, longind, long_only) + int argc; + char *const *argv; + const char *optstring; + const struct option *longopts; + int *longind; + int long_only; +{ + optarg = NULL; + + if (optind == 0 || !__getopt_initialized) + { + if (optind == 0) + optind = 1; /* Don't scan ARGV[0], the program name. */ + optstring = _getopt_initialize (argc, argv, optstring); + __getopt_initialized = 1; + } + + /* Test whether ARGV[optind] points to a non-option argument. + Either it does not have option syntax, or there is an environment flag + from the shell indicating it is not an option. The later information + is only used when the used in the GNU libc. */ +#ifdef _LIBC +# define NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0' \ + || (optind < nonoption_flags_len \ + && __getopt_nonoption_flags[optind] == '1')) +#else +# define NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0') +#endif + + if (nextchar == NULL || *nextchar == '\0') + { + /* Advance to the next ARGV-element. */ + + /* Give FIRST_NONOPT & LAST_NONOPT rational values if OPTIND has been + moved back by the user (who may also have changed the arguments). */ + if (last_nonopt > optind) + last_nonopt = optind; + if (first_nonopt > optind) + first_nonopt = optind; + + if (ordering == PERMUTE) + { + /* If we have just processed some options following some non-options, + exchange them so that the options come first. */ + + if (first_nonopt != last_nonopt && last_nonopt != optind) + exchange ((char **) argv); + else if (last_nonopt != optind) + first_nonopt = optind; + + /* Skip any additional non-options + and extend the range of non-options previously skipped. */ + + while (optind < argc && NONOPTION_P) + optind++; + last_nonopt = optind; + } + + /* The special ARGV-element `--' means premature end of options. + Skip it like a null option, + then exchange with previous non-options as if it were an option, + then skip everything else like a non-option. */ + + if (optind != argc && !strcmp (argv[optind], "--")) + { + optind++; + + if (first_nonopt != last_nonopt && last_nonopt != optind) + exchange ((char **) argv); + else if (first_nonopt == last_nonopt) + first_nonopt = optind; + last_nonopt = argc; + + optind = argc; + } + + /* If we have done all the ARGV-elements, stop the scan + and back over any non-options that we skipped and permuted. */ + + if (optind == argc) + { + /* Set the next-arg-index to point at the non-options + that we previously skipped, so the caller will digest them. */ + if (first_nonopt != last_nonopt) + optind = first_nonopt; + return -1; + } + + /* If we have come to a non-option and did not permute it, + either stop the scan or describe it to the caller and pass it by. */ + + if (NONOPTION_P) + { + if (ordering == REQUIRE_ORDER) + return -1; + optarg = argv[optind++]; + return 1; + } + + /* We have found another option-ARGV-element. + Skip the initial punctuation. */ + + nextchar = (argv[optind] + 1 + + (longopts != NULL && argv[optind][1] == '-')); + } + + /* Decode the current option-ARGV-element. */ + + /* Check whether the ARGV-element is a long option. + + If long_only and the ARGV-element has the form "-f", where f is + a valid short option, don't consider it an abbreviated form of + a long option that starts with f. Otherwise there would be no + way to give the -f short option. + + On the other hand, if there's a long option "fubar" and + the ARGV-element is "-fu", do consider that an abbreviation of + the long option, just like "--fu", and not "-f" with arg "u". + + This distinction seems to be the most useful approach. */ + + if (longopts != NULL + && (argv[optind][1] == '-' + || (long_only && (argv[optind][2] || !my_index (optstring, argv[optind][1]))))) + { + char *nameend; + const struct option *p; + const struct option *pfound = NULL; + int exact = 0; + int ambig = 0; + int indfound = -1; + int option_index; + + for (nameend = nextchar; *nameend && *nameend != '='; nameend++) + /* Do nothing. */ ; + + /* Test all long options for either exact match + or abbreviated matches. */ + for (p = longopts, option_index = 0; p->name; p++, option_index++) + if (!strncmp (p->name, nextchar, nameend - nextchar)) + { + if ((unsigned int) (nameend - nextchar) + == (unsigned int) strlen (p->name)) + { + /* Exact match found. */ + pfound = p; + indfound = option_index; + exact = 1; + break; + } + else if (pfound == NULL) + { + /* First nonexact match found. */ + pfound = p; + indfound = option_index; + } + else + /* Second or later nonexact match found. */ + ambig = 1; + } + + if (ambig && !exact) + { + if (opterr) + fprintf (stderr, _("%s: option `%s' is ambiguous\n"), + argv[0], argv[optind]); + nextchar += strlen (nextchar); + optind++; + optopt = 0; + return '?'; + } + + if (pfound != NULL) + { + option_index = indfound; + optind++; + if (*nameend) + { + /* Don't test has_arg with >, because some C compilers don't + allow it to be used on enums. */ + if (pfound->has_arg) + optarg = nameend + 1; + else + { + if (opterr) + { + if (argv[optind - 1][1] == '-') + /* --option */ + fprintf (stderr, + _("%s: option `--%s' doesn't allow an argument\n"), + argv[0], pfound->name); + else + /* +option or -option */ + fprintf (stderr, + _("%s: option `%c%s' doesn't allow an argument\n"), + argv[0], argv[optind - 1][0], pfound->name); + } + + nextchar += strlen (nextchar); + + optopt = pfound->val; + return '?'; + } + } + else if (pfound->has_arg == 1) + { + if (optind < argc) + optarg = argv[optind++]; + else + { + if (opterr) + fprintf (stderr, + _("%s: option `%s' requires an argument\n"), + argv[0], argv[optind - 1]); + nextchar += strlen (nextchar); + optopt = pfound->val; + return optstring[0] == ':' ? ':' : '?'; + } + } + nextchar += strlen (nextchar); + if (longind != NULL) + *longind = option_index; + if (pfound->flag) + { + *(pfound->flag) = pfound->val; + return 0; + } + return pfound->val; + } + + /* Can't find it as a long option. If this is not getopt_long_only, + or the option starts with '--' or is not a valid short + option, then it's an error. + Otherwise interpret it as a short option. */ + if (!long_only || argv[optind][1] == '-' + || my_index (optstring, *nextchar) == NULL) + { + if (opterr) + { + if (argv[optind][1] == '-') + /* --option */ + fprintf (stderr, _("%s: unrecognized option `--%s'\n"), + argv[0], nextchar); + else + /* +option or -option */ + fprintf (stderr, _("%s: unrecognized option `%c%s'\n"), + argv[0], argv[optind][0], nextchar); + } + nextchar = (char *) ""; + optind++; + optopt = 0; + return '?'; + } + } + + /* Look at and handle the next short option-character. */ + + { + char c = *nextchar++; + char *temp = my_index (optstring, c); + + /* Increment `optind' when we start to process its last character. */ + if (*nextchar == '\0') + ++optind; + + if (temp == NULL || c == ':') + { + if (opterr) + { + if (posixly_correct) + /* 1003.2 specifies the format of this message. */ + fprintf (stderr, _("%s: illegal option -- %c\n"), + argv[0], c); + else + fprintf (stderr, _("%s: invalid option -- %c\n"), + argv[0], c); + } + optopt = c; + return '?'; + } + /* Convenience. Treat POSIX -W foo same as long option --foo */ + if (temp[0] == 'W' && temp[1] == ';') + { + char *nameend; + const struct option *p; + const struct option *pfound = NULL; + int exact = 0; + int ambig = 0; + int indfound = 0; + int option_index; + + /* This is an option that requires an argument. */ + if (*nextchar != '\0') + { + optarg = nextchar; + /* If we end this ARGV-element by taking the rest as an arg, + we must advance to the next element now. */ + optind++; + } + else if (optind == argc) + { + if (opterr) + { + /* 1003.2 specifies the format of this message. */ + fprintf (stderr, _("%s: option requires an argument -- %c\n"), + argv[0], c); + } + optopt = c; + if (optstring[0] == ':') + c = ':'; + else + c = '?'; + return c; + } + else + /* We already incremented `optind' once; + increment it again when taking next ARGV-elt as argument. */ + optarg = argv[optind++]; + + /* optarg is now the argument, see if it's in the + table of longopts. */ + + for (nextchar = nameend = optarg; *nameend && *nameend != '='; nameend++) + /* Do nothing. */ ; + + /* Test all long options for either exact match + or abbreviated matches. */ + for (p = longopts, option_index = 0; p->name; p++, option_index++) + if (!strncmp (p->name, nextchar, nameend - nextchar)) + { + if ((unsigned int) (nameend - nextchar) == strlen (p->name)) + { + /* Exact match found. */ + pfound = p; + indfound = option_index; + exact = 1; + break; + } + else if (pfound == NULL) + { + /* First nonexact match found. */ + pfound = p; + indfound = option_index; + } + else + /* Second or later nonexact match found. */ + ambig = 1; + } + if (ambig && !exact) + { + if (opterr) + fprintf (stderr, _("%s: option `-W %s' is ambiguous\n"), + argv[0], argv[optind]); + nextchar += strlen (nextchar); + optind++; + return '?'; + } + if (pfound != NULL) + { + option_index = indfound; + if (*nameend) + { + /* Don't test has_arg with >, because some C compilers don't + allow it to be used on enums. */ + if (pfound->has_arg) + optarg = nameend + 1; + else + { + if (opterr) + fprintf (stderr, _("\ +%s: option `-W %s' doesn't allow an argument\n"), + argv[0], pfound->name); + + nextchar += strlen (nextchar); + return '?'; + } + } + else if (pfound->has_arg == 1) + { + if (optind < argc) + optarg = argv[optind++]; + else + { + if (opterr) + fprintf (stderr, + _("%s: option `%s' requires an argument\n"), + argv[0], argv[optind - 1]); + nextchar += strlen (nextchar); + return optstring[0] == ':' ? ':' : '?'; + } + } + nextchar += strlen (nextchar); + if (longind != NULL) + *longind = option_index; + if (pfound->flag) + { + *(pfound->flag) = pfound->val; + return 0; + } + return pfound->val; + } + nextchar = NULL; + return 'W'; /* Let the application handle it. */ + } + if (temp[1] == ':') + { + if (temp[2] == ':') + { + /* This is an option that accepts an argument optionally. */ + if (*nextchar != '\0') + { + optarg = nextchar; + optind++; + } + else + optarg = NULL; + nextchar = NULL; + } + else + { + /* This is an option that requires an argument. */ + if (*nextchar != '\0') + { + optarg = nextchar; + /* If we end this ARGV-element by taking the rest as an arg, + we must advance to the next element now. */ + optind++; + } + else if (optind == argc) + { + if (opterr) + { + /* 1003.2 specifies the format of this message. */ + fprintf (stderr, + _("%s: option requires an argument -- %c\n"), + argv[0], c); + } + optopt = c; + if (optstring[0] == ':') + c = ':'; + else + c = '?'; + } + else + /* We already incremented `optind' once; + increment it again when taking next ARGV-elt as argument. */ + optarg = argv[optind++]; + nextchar = NULL; + } + } + return c; + } +} + +int +getopt (argc, argv, optstring) + int argc; + char *const *argv; + const char *optstring; +{ + return _getopt_internal (argc, argv, optstring, + (const struct option *) 0, + (int *) 0, + 0); +} + +#endif /* Not ELIDE_CODE. */ + +#ifdef TEST + +/* Compile with -DTEST to make an executable for use in testing + the above definition of `getopt'. */ + +int +main (argc, argv) + int argc; + char **argv; +{ + int c; + int digit_optind = 0; + + while (1) + { + int this_option_optind = optind ? optind : 1; + + c = getopt (argc, argv, "abc:d:0123456789"); + if (c == -1) + break; + + switch (c) + { + case '0': + case '1': + case '2': + case '3': + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': + if (digit_optind != 0 && digit_optind != this_option_optind) + printf ("digits occur in two different argv-elements.\n"); + digit_optind = this_option_optind; + printf ("option %c\n", c); + break; + + case 'a': + printf ("option a\n"); + break; + + case 'b': + printf ("option b\n"); + break; + + case 'c': + printf ("option c with value `%s'\n", optarg); + break; + + case '?': + break; + + default: + printf ("?? getopt returned character code 0%o ??\n", c); + } + } + + if (optind < argc) + { + printf ("non-option ARGV-elements: "); + while (optind < argc) + printf ("%s ", argv[optind++]); + printf ("\n"); + } + + exit (0); +} + +#endif /* TEST */ diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/tools/getopt1.c b/tizen/distrib/remote/common/celt-0.5.1.3/tools/getopt1.c new file mode 100644 index 0000000..39f8383 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/tools/getopt1.c @@ -0,0 +1,188 @@ +/* getopt_long and getopt_long_only entry points for GNU getopt. + Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98 + Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "getopt_win.h" + +#if !defined __STDC__ || !__STDC__ +/* This is a separate conditional since some stdc systems + reject `defined (const)'. */ +#ifndef const +#define const +#endif +#endif + +#include <stdio.h> + +/* Comment out all this code if we are using the GNU C Library, and are not + actually compiling the library itself. This code is part of the GNU C + Library, but also included in many other GNU distributions. Compiling + and linking in this code is a waste when using the GNU C library + (especially if it is a shared library). Rather than having every GNU + program understand `configure --with-gnu-libc' and omit the object files, + it is simpler to just do this in the source for each such file. */ + +#define GETOPT_INTERFACE_VERSION 2 +#if !defined _LIBC && defined __GLIBC__ && __GLIBC__ >= 2 +#include <gnu-versions.h> +#if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION +#define ELIDE_CODE +#endif +#endif + +#ifndef ELIDE_CODE + + +/* This needs to come after some library #include + to get __GNU_LIBRARY__ defined. */ +#ifdef __GNU_LIBRARY__ +#include <stdlib.h> +#endif + +#ifndef NULL +#define NULL 0 +#endif + +int +getopt_long (argc, argv, options, long_options, opt_index) + int argc; + char *const *argv; + const char *options; + const struct option *long_options; + int *opt_index; +{ + return _getopt_internal (argc, argv, options, long_options, opt_index, 0); +} + +/* Like getopt_long, but '-' as well as '--' can indicate a long option. + If an option that starts with '-' (not '--') doesn't match a long option, + but does match a short option, it is parsed as a short option + instead. */ + +int +getopt_long_only (argc, argv, options, long_options, opt_index) + int argc; + char *const *argv; + const char *options; + const struct option *long_options; + int *opt_index; +{ + return _getopt_internal (argc, argv, options, long_options, opt_index, 1); +} + + +#endif /* Not ELIDE_CODE. */ + +#ifdef TEST + +#include <stdio.h> + +int +main (argc, argv) + int argc; + char **argv; +{ + int c; + int digit_optind = 0; + + while (1) + { + int this_option_optind = optind ? optind : 1; + int option_index = 0; + static struct option long_options[] = + { + {"add", 1, 0, 0}, + {"append", 0, 0, 0}, + {"delete", 1, 0, 0}, + {"verbose", 0, 0, 0}, + {"create", 0, 0, 0}, + {"file", 1, 0, 0}, + {0, 0, 0, 0} + }; + + c = getopt_long (argc, argv, "abc:d:0123456789", + long_options, &option_index); + if (c == -1) + break; + + switch (c) + { + case 0: + printf ("option %s", long_options[option_index].name); + if (optarg) + printf (" with arg %s", optarg); + printf ("\n"); + break; + + case '0': + case '1': + case '2': + case '3': + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': + if (digit_optind != 0 && digit_optind != this_option_optind) + printf ("digits occur in two different argv-elements.\n"); + digit_optind = this_option_optind; + printf ("option %c\n", c); + break; + + case 'a': + printf ("option a\n"); + break; + + case 'b': + printf ("option b\n"); + break; + + case 'c': + printf ("option c with value `%s'\n", optarg); + break; + + case 'd': + printf ("option d with value `%s'\n", optarg); + break; + + case '?': + break; + + default: + printf ("?? getopt returned character code 0%o ??\n", c); + } + } + + if (optind < argc) + { + printf ("non-option ARGV-elements: "); + while (optind < argc) + printf ("%s ", argv[optind++]); + printf ("\n"); + } + + exit (0); +} + +#endif /* TEST */ diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/tools/getopt_win.h b/tizen/distrib/remote/common/celt-0.5.1.3/tools/getopt_win.h new file mode 100644 index 0000000..91eb54e --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/tools/getopt_win.h @@ -0,0 +1,169 @@ +/* Declarations for getopt. + Copyright (C) 1989,90,91,92,93,94,96,97,98 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#ifndef _GETOPT_H + +#ifndef __need_getopt +# define _GETOPT_H 1 +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* For communication from `getopt' to the caller. + When `getopt' finds an option that takes an argument, + the argument value is returned here. + Also, when `ordering' is RETURN_IN_ORDER, + each non-option ARGV-element is returned here. */ + +extern char *optarg; + +/* Index in ARGV of the next element to be scanned. + This is used for communication to and from the caller + and for communication between successive calls to `getopt'. + + On entry to `getopt', zero means this is the first call; initialize. + + When `getopt' returns -1, this is the index of the first of the + non-option elements that the caller should itself scan. + + Otherwise, `optind' communicates from one call to the next + how much of ARGV has been scanned so far. */ + +extern int optind; + +/* Callers store zero here to inhibit the error message `getopt' prints + for unrecognized options. */ + +extern int opterr; + +/* Set to an option character which was unrecognized. */ + +extern int optopt; + +#ifndef __need_getopt +/* Describe the long-named options requested by the application. + The LONG_OPTIONS argument to getopt_long or getopt_long_only is a vector + of `struct option' terminated by an element containing a name which is + zero. + + The field `has_arg' is: + no_argument (or 0) if the option does not take an argument, + required_argument (or 1) if the option requires an argument, + optional_argument (or 2) if the option takes an optional argument. + + If the field `flag' is not NULL, it points to a variable that is set + to the value given in the field `val' when the option is found, but + left unchanged if the option is not found. + + To have a long-named option do something other than set an `int' to + a compiled-in constant, such as set a value from `optarg', set the + option's `flag' field to zero and its `val' field to a nonzero + value (the equivalent single-letter option character, if there is + one). For long options that have a zero `flag' field, `getopt' + returns the contents of the `val' field. */ + +struct option +{ +# if defined __STDC__ && __STDC__ + const char *name; +# else + char *name; +# endif + /* has_arg can't be an enum because some compilers complain about + type mismatches in all the code that assumes it is an int. */ + int has_arg; + int *flag; + int val; +}; + +/* Names for the values of the `has_arg' field of `struct option'. */ + +# define no_argument 0 +# define required_argument 1 +# define optional_argument 2 +#endif /* need getopt */ + + +/* Get definitions and prototypes for functions to process the + arguments in ARGV (ARGC of them, minus the program name) for + options given in OPTS. + + Return the option character from OPTS just read. Return -1 when + there are no more options. For unrecognized options, or options + missing arguments, `optopt' is set to the option letter, and '?' is + returned. + + The OPTS string is a list of characters which are recognized option + letters, optionally followed by colons, specifying that that letter + takes an argument, to be placed in `optarg'. + + If a letter in OPTS is followed by two colons, its argument is + optional. This behavior is specific to the GNU `getopt'. + + The argument `--' causes premature termination of argument + scanning, explicitly telling `getopt' that there are no more + options. + + If OPTS begins with `--', then non-option arguments are treated as + arguments to the option '\0'. This behavior is specific to the GNU + `getopt'. */ + +#if defined __STDC__ && __STDC__ +# ifdef __GNU_LIBRARY__ +/* Many other libraries have conflicting prototypes for getopt, with + differences in the consts, in stdlib.h. To avoid compilation + errors, only prototype getopt for the GNU C library. */ +extern int getopt (int __argc, char *const *__argv, const char *__shortopts); +# else /* not __GNU_LIBRARY__ */ +extern int getopt (); +# endif /* __GNU_LIBRARY__ */ + +# ifndef __need_getopt +extern int getopt_long (int __argc, char *const *__argv, const char *__shortopts, + const struct option *__longopts, int *__longind); +extern int getopt_long_only (int __argc, char *const *__argv, + const char *__shortopts, + const struct option *__longopts, int *__longind); + +/* Internal only. Users should not call this directly. */ +extern int _getopt_internal (int __argc, char *const *__argv, + const char *__shortopts, + const struct option *__longopts, int *__longind, + int __long_only); +# endif +#else /* not __STDC__ */ +extern int getopt (); +# ifndef __need_getopt +extern int getopt_long (); +extern int getopt_long_only (); + +extern int _getopt_internal (); +# endif +#endif /* __STDC__ */ + +#ifdef __cplusplus +} +#endif + +/* Make sure we later can get all the definitions and declarations. */ +#undef __need_getopt + +#endif /* getopt.h */ diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/tools/skeleton.c b/tizen/distrib/remote/common/celt-0.5.1.3/tools/skeleton.c new file mode 100644 index 0000000..c5e6b5b --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/tools/skeleton.c @@ -0,0 +1,218 @@ +/* + * skeleton.c + * author: Tahseen Mohammad + */ + +/* This file depends on WORDS_BIGENDIAN being defined to 1 if the host + * processor stores words with the most significant byte first (like Motorola + * and SPARC, unlike Intel and VAX). + * On little endian systems, WORDS_BIGENDIAN should be undefined. + * + * When using GNU Autotools, the correct value will be written into config.h + * if the autoconf macro AC_C_BIGENDIAN is called in configure.ac. + */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <stdlib.h> +#include <string.h> +#include <stdio.h> + +#include <ogg/ogg.h> + +#include "skeleton.h" + +#ifdef WIN32 +#define snprintf _snprintf +#endif + +static unsigned short +_le_16 (unsigned short s) +{ + unsigned short ret=s; +#ifdef WORDS_BIGENDIAN + ret = (s>>8) & 0x00ffU; + ret += (s<<8) & 0xff00U; +#endif + return ret; +} + +static ogg_uint32_t +_le_32 (ogg_uint32_t i) +{ + ogg_uint32_t ret=i; +#ifdef WORDS_BIGENDIAN + ret = (i>>24); + ret += (i>>8) & 0x0000ff00; + ret += (i<<8) & 0x00ff0000; + ret += (i<<24); +#endif + return ret; +} + +static ogg_int64_t +_le_64 (ogg_int64_t l) +{ + ogg_int64_t ret=l; + unsigned char *ucptr = (unsigned char *)&ret; +#ifdef WORDS_BIGENDIAN + unsigned char temp; + + temp = ucptr [0] ; + ucptr [0] = ucptr [7] ; + ucptr [7] = temp ; + + temp = ucptr [1] ; + ucptr [1] = ucptr [6] ; + ucptr [6] = temp ; + + temp = ucptr [2] ; + ucptr [2] = ucptr [5] ; + ucptr [5] = temp ; + + temp = ucptr [3] ; + ucptr [3] = ucptr [4] ; + ucptr [4] = temp ; + +#endif + return (*(ogg_int64_t *)ucptr); +} + +/* write an ogg_page to a file pointer */ +int write_ogg_page_to_file(ogg_page *og, FILE *out) { + int written; + + written = fwrite(og->header,1, og->header_len, out); + written += fwrite(og->body,1, og->body_len, out); + + return written; +} + +int add_message_header_field(fisbone_packet *fp, + char *header_key, + char *header_value) { + + /* size of both key and value + ': ' + CRLF */ + int this_message_size = strlen(header_key) + strlen(header_value) + 4; + if (fp->message_header_fields == NULL) { + fp->message_header_fields = _ogg_calloc(this_message_size+1, sizeof(char)); + } else { + int new_size = (fp->current_header_size + this_message_size+1) * sizeof(char); + fp->message_header_fields = _ogg_realloc(fp->message_header_fields, new_size); + } + snprintf(fp->message_header_fields + fp->current_header_size, + this_message_size+1, + "%s: %s\r\n", + header_key, + header_value); + fp->current_header_size += this_message_size; + + return 0; +} + +/* create a ogg_packet from a fishead_packet structure */ +ogg_packet ogg_from_fishead(fishead_packet *fp) { + + ogg_packet op; + + memset(&op, 0, sizeof(op)); + op.packet = _ogg_calloc(FISHEAD_SIZE, sizeof(unsigned char)); + memset(op.packet, 0, FISHEAD_SIZE); + + memcpy (op.packet, FISHEAD_IDENTIFIER, 8); /* identifier */ + *((ogg_uint16_t*)(op.packet+8)) = _le_16 (SKELETON_VERSION_MAJOR); /* version major */ + *((ogg_uint16_t*)(op.packet+10)) = _le_16 (SKELETON_VERSION_MINOR); /* version minor */ + *((ogg_int64_t*)(op.packet+12)) = _le_64 (fp->ptime_n); /* presentationtime numerator */ + *((ogg_int64_t*)(op.packet+20)) = _le_64 (fp->ptime_d); /* presentationtime denominator */ + *((ogg_int64_t*)(op.packet+28)) = _le_64 (fp->btime_n); /* basetime numerator */ + *((ogg_int64_t*)(op.packet+36)) = _le_64 (fp->btime_d); /* basetime denominator */ + /* TODO: UTC time, set to zero for now */ + + op.b_o_s = 1; /* its the first packet of the stream */ + op.e_o_s = 0; /* its not the last packet of the stream */ + op.bytes = FISHEAD_SIZE; /* length of the packet in bytes */ + + return op; +} + +/* create a ogg_packet from a fisbone_packet structure. + * call this method after the fisbone_packet is filled and all message header fields are added + * by calling add_message_header_field method. + */ +ogg_packet ogg_from_fisbone(fisbone_packet *fp) { + + ogg_packet op; + int packet_size = FISBONE_SIZE + fp->current_header_size; + + memset (&op, 0, sizeof (op)); + op.packet = _ogg_calloc (packet_size, sizeof(unsigned char)); + memset (op.packet, 0, packet_size); + memcpy (op.packet, FISBONE_IDENTIFIER, 8); /* identifier */ + *((ogg_uint32_t*)(op.packet+8)) = _le_32 (FISBONE_MESSAGE_HEADER_OFFSET); /* offset of the message header fields */ + *((ogg_uint32_t*)(op.packet+12)) = _le_32 (fp->serial_no); /* serialno of the respective stream */ + *((ogg_uint32_t*)(op.packet+16)) = _le_32 (fp->nr_header_packet); /* number of header packets */ + *((ogg_int64_t*)(op.packet+20)) = _le_64 (fp->granule_rate_n); /* granulrate numerator */ + *((ogg_int64_t*)(op.packet+28)) = _le_64 (fp->granule_rate_d); /* granulrate denominator */ + *((ogg_int64_t*)(op.packet+36)) = _le_64 (fp->start_granule); /* start granule */ + *((ogg_uint32_t*)(op.packet+44)) = _le_32 (fp->preroll); /* preroll, for theora its 0 */ + *(op.packet+48) = fp->granule_shift; /* granule shift */ + memcpy((op.packet+FISBONE_SIZE), fp->message_header_fields, fp->current_header_size); + + op.b_o_s = 0; + op.e_o_s = 0; + op.bytes = packet_size; /* size of the packet in bytes */ + + return op; +} + + + +int add_fishead_to_stream(ogg_stream_state *os, fishead_packet *fp) { + + ogg_packet op; + + op = ogg_from_fishead(fp); + ogg_stream_packetin(os, &op); + _ogg_free(op.packet); + + return 0; +} + +int add_fisbone_to_stream(ogg_stream_state *os, fisbone_packet *fp) { + + ogg_packet op; + + op = ogg_from_fisbone(fp); + ogg_stream_packetin(os, &op); + _ogg_free(op.packet); + + return 0; +} + +int add_eos_packet_to_stream(ogg_stream_state *os) { + + ogg_packet op; + + memset (&op, 0, sizeof(op)); + op.e_o_s = 1; + ogg_stream_packetin(os, &op); + + return 0; +} + +int flush_ogg_stream_to_file(ogg_stream_state *os, FILE *out) { + + ogg_page og; + int result; + + while((result = ogg_stream_flush(os, &og))) + { + if(!result) break; + result = write_ogg_page_to_file(&og, out); + if(result != og.header_len + og.body_len) + return 1; + } + + return 0; +} diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/tools/skeleton.h b/tizen/distrib/remote/common/celt-0.5.1.3/tools/skeleton.h new file mode 100644 index 0000000..f07d7a3 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/tools/skeleton.h @@ -0,0 +1,78 @@ +/* + * skeleton.h + * author: Tahseen Mohammad + */ + +#ifndef _SKELETON_H +#define _SKELETON_H + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef WIN32 +#define snprintf _snprintf +#endif + +#include <ogg/ogg.h> + +#define SKELETON_VERSION_MAJOR 3 +#define SKELETON_VERSION_MINOR 0 +#define FISHEAD_IDENTIFIER "fishead\0" +#define FISBONE_IDENTIFIER "fisbone\0" +#define FISHEAD_SIZE 64 +#define FISBONE_SIZE 52 +#define FISBONE_MESSAGE_HEADER_OFFSET 44 + +/* fishead_packet holds a fishead header packet. */ +typedef struct { + ogg_uint16_t version_major; /* skeleton version major */ + ogg_uint16_t version_minor; /* skeleton version minor */ + /* Start time of the presentation + * For a new stream presentationtime & basetime is same. */ + ogg_int64_t ptime_n; /* presentation time numerator */ + ogg_int64_t ptime_d; /* presentation time denominator */ + ogg_int64_t btime_n; /* basetime numerator */ + ogg_int64_t btime_d; /* basetime denominator */ + /* will holds the time of origin of the stream, a 20 bit field. */ + unsigned char UTC[20]; +} fishead_packet; + +/* fisbone_packet holds a fisbone header packet. */ +typedef struct { + ogg_uint32_t serial_no; /* serial no of the corresponding stream */ + ogg_uint32_t nr_header_packet; /* number of header packets */ + /* granule rate is the temporal resolution of the logical bitstream */ + ogg_int64_t granule_rate_n; /* granule rate numerator */ + ogg_int64_t granule_rate_d; /* granule rate denominator */ + ogg_int64_t start_granule; /* start granule value */ + ogg_uint32_t preroll; /* preroll */ + unsigned char granule_shift; /* 1 byte value holding the granule shift */ + char *message_header_fields; /* holds all the message header fields */ + /* current total size of the message header fields, for realloc purpose, initially zero */ + ogg_uint32_t current_header_size; +} fisbone_packet; + +extern int write_ogg_page_to_file(ogg_page *og, FILE *out); +extern int add_message_header_field(fisbone_packet *fp, char *header_key, char *header_value); +/* remember to deallocate the returned ogg_packet properly */ +extern ogg_packet ogg_from_fishead(fishead_packet *fp); +extern ogg_packet ogg_from_fisbone(fisbone_packet *fp); +extern fishead_packet fishead_from_ogg(ogg_packet *op); +extern fisbone_packet fisbone_from_ogg(ogg_packet *op); +extern int add_fishead_to_stream(ogg_stream_state *os, fishead_packet *fp); +extern int add_fisbone_to_stream(ogg_stream_state *os, fisbone_packet *fp); +extern int add_eos_packet_to_stream(ogg_stream_state *os); +extern int flush_ogg_stream_to_file(ogg_stream_state *os, FILE *out); + +#ifdef __cplusplus +} +#endif + +#endif /* _SKELETON_H */ + + + + + + diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/tools/wav_io.c b/tizen/distrib/remote/common/celt-0.5.1.3/tools/wav_io.c new file mode 100644 index 0000000..aea7201 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/tools/wav_io.c @@ -0,0 +1,227 @@ +/* Copyright (C) 2002 Jean-Marc Valin + File: wav_io.c + Routines to handle wav (RIFF) headers + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include <stdio.h> +#include <string.h> +#include "celt_types.h" +#include "wav_io.h" + + +int read_wav_header(FILE *file, int *rate, int *channels, int *format, celt_int32_t *size) +{ + char ch[5]; + celt_int32_t itmp; + celt_int16_t stmp; + celt_int32_t bpersec; + celt_int16_t balign; + int skip_bytes; + int i; + + ch[4]=0; +#if 0 + fread(ch, 1, 4, file); + if (strcmp(ch, "RIFF")!=0) + { + fseek(file, 0, SEEK_SET); + return 0; + } + + fread(&itmp, 4, 1, file); + *size = le_int(itmp-36); + + fread(ch, 1, 4, file); + if (strcmp(ch, "WAVE")!=0) + { + fprintf (stderr, "RIFF file is not a WAVE file\n"); + return -1; + } +#endif + fread(ch, 1, 4, file); + while (strcmp(ch, "fmt ")!=0) + { + fread(&itmp, 4, 1, file); + itmp = le_int(itmp); + /*fprintf (stderr, "skip=%d\n", itmp);*/ + /*strange way of seeking, but it works even for pipes*/ + for (i=0;i<itmp;i++) + fgetc(file); + /*fseek(file, itmp, SEEK_CUR);*/ + fread(ch, 1, 4, file); + if (feof(file)) + { + fprintf (stderr, "Corrupted WAVE file: no \"fmt \"\n"); + return -1; + } + } + /*if (strcmp(ch, "fmt ")!=0) + { + fprintf (stderr, "Corrupted WAVE file: no \"fmt \"\n"); + return -1; + }*/ + + fread(&itmp, 4, 1, file); + itmp = le_int(itmp); + skip_bytes=itmp-16; + /*fprintf (stderr, "skip=%d\n", skip_bytes);*/ + + fread(&stmp, 2, 1, file); + stmp = le_short(stmp); + if (stmp!=1) + { + fprintf (stderr, "Only PCM encoding is supported\n"); + return -1; + } + + fread(&stmp, 2, 1, file); + stmp = le_short(stmp); + *channels = stmp; + + if (stmp>2) + { + fprintf (stderr, "Only mono and (intensity) stereo supported\n"); + return -1; + } + + fread(&itmp, 4, 1, file); + itmp = le_int(itmp); + *rate = itmp; + + fread(&itmp, 4, 1, file); + bpersec = le_int(itmp); + + fread(&stmp, 2, 1, file); + balign = le_short(stmp); + + fread(&stmp, 2, 1, file); + stmp = le_short(stmp); + if (stmp!=16 && stmp!=8) + { + fprintf (stderr, "Only 8/16-bit linear supported\n"); + return -1; + } + *format=stmp; + + if (bpersec!=*rate**channels*stmp/8) + { + fprintf (stderr, "Corrupted header: ByteRate mismatch\n"); + return -1; + } + + if (balign!=*channels*stmp/8) + { + fprintf (stderr, "Corrupted header: BlockAlign mismatch\n"); + return -1; + } + + + /*strange way of seeking, but it works even for pipes*/ + if (skip_bytes>0) + for (i=0;i<skip_bytes;i++) + fgetc(file); + + /*fseek(file, skip_bytes, SEEK_CUR);*/ + + fread(ch, 1, 4, file); + while (strcmp(ch, "data")!=0) + { + fread(&itmp, 4, 1, file); + itmp = le_int(itmp); + /*strange way of seeking, but it works even for pipes*/ + for (i=0;i<itmp;i++) + fgetc(file); + /*fseek(file, itmp, SEEK_CUR);*/ + fread(ch, 1, 4, file); + if (feof(file)) + { + fprintf (stderr, "Corrupted WAVE file: no \"data\"\n"); + return -1; + } + } + + /*Ignore this for now*/ + fread(&itmp, 4, 1, file); + itmp = le_int(itmp); + + *size=itmp; + + return 1; +} + + + +void write_wav_header(FILE *file, int rate, int channels, int format, int size) +{ + char ch[5]; + celt_int32_t itmp; + celt_int16_t stmp; + + ch[4]=0; + + fprintf (file, "RIFF"); + + itmp = 0x7fffffff; + fwrite(&itmp, 4, 1, file); + + fprintf (file, "WAVEfmt "); + + itmp = le_int(16); + fwrite(&itmp, 4, 1, file); + + stmp = le_short(1); + fwrite(&stmp, 2, 1, file); + + stmp = le_short(channels); + fwrite(&stmp, 2, 1, file); + + itmp = le_int(rate); + fwrite(&itmp, 4, 1, file); + + itmp = le_int(rate*channels*2); + fwrite(&itmp, 4, 1, file); + + stmp = le_short(2*channels); + fwrite(&stmp, 2, 1, file); + + stmp = le_short(16); + fwrite(&stmp, 2, 1, file); + + fprintf (file, "data"); + + itmp = le_int(0x7fffffff); + fwrite(&itmp, 4, 1, file); + + +} diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/tools/wav_io.h b/tizen/distrib/remote/common/celt-0.5.1.3/tools/wav_io.h new file mode 100644 index 0000000..cbcf47a --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/tools/wav_io.h @@ -0,0 +1,66 @@ +/* Copyright (C) 2002 Jean-Marc Valin + File: wav_io.h + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef WAV_IO_H +#define WAV_IO_H + +#include <stdio.h> +#include "celt_types.h" + +#if !defined(__LITTLE_ENDIAN__) && ( defined(WORDS_BIGENDIAN) || defined(__BIG_ENDIAN__) ) +#define le_short(s) ((short) ((unsigned short) (s) << 8) | ((unsigned short) (s) >> 8)) +#define be_short(s) ((short) (s)) +#else +#define le_short(s) ((short) (s)) +#define be_short(s) ((short) ((unsigned short) (s) << 8) | ((unsigned short) (s) >> 8)) +#endif + +/** Convert little endian */ +static inline celt_int32_t le_int(celt_int32_t i) +{ +#if !defined(__LITTLE_ENDIAN__) && ( defined(WORDS_BIGENDIAN) || defined(__BIG_ENDIAN__) ) + celt_uint32_t ui, ret; + ui = i; + ret = ui>>24; + ret |= (ui>>8)&0x0000ff00; + ret |= (ui<<8)&0x00ff0000; + ret |= (ui<<24); + return ret; +#else + return i; +#endif +} + +int read_wav_header(FILE *file, int *rate, int *channels, int *format, celt_int32_t *size); + +void write_wav_header(FILE *file, int rate, int channels, int format, int size); + +#endif diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/tools/wave_out.c b/tizen/distrib/remote/common/celt-0.5.1.3/tools/wave_out.c new file mode 100644 index 0000000..64eeb6e --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/tools/wave_out.c @@ -0,0 +1,220 @@ +/* Copyright (c) 2002, John Edwards + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +/* Set TABS = 4 */ +/******************************************************************** + + function: To provide playback of 16 bit PCM wave data in Win32 + environments from decoded compressed files. + + ********************************************************************/ + +#if defined WIN32 || defined _WIN32 + +#include <string.h> +#include <errno.h> +#include "wave_out.h" + +#define MAXWAVESIZE 4294967040LU +#define MAX_WAVEBLOCKS 32 + +// This is modified for USE_WIN_AUDIO - ONLY 2002-02-27 + + +static CRITICAL_SECTION cs; +static HWAVEOUT dev = NULL; +static int ScheduledBlocks = 0; +static int PlayedWaveHeadersCount = 0; // free index +static WAVEHDR* PlayedWaveHeaders [MAX_WAVEBLOCKS]; + +static int +Box ( const char* msg ) +{ + MessageBox ( NULL, msg, " "VERSION_STRING": Error Message . . .", MB_OK | MB_ICONEXCLAMATION ); + return -1; +} + + +/* + * This function registers already played WAVE chunks. Freeing is done by free_memory(), + */ + +static void CALLBACK +wave_callback ( HWAVE hWave, UINT uMsg, DWORD dwInstance, DWORD dwParam1, DWORD dwParam2 ) +{ + if ( uMsg == WOM_DONE ) { + EnterCriticalSection ( &cs ); + PlayedWaveHeaders [PlayedWaveHeadersCount++] = (WAVEHDR*) dwParam1; + LeaveCriticalSection ( &cs ); + } +} + + +static void +free_memory ( void ) +{ + WAVEHDR* wh; + HGLOBAL hg; + + EnterCriticalSection ( &cs ); + wh = PlayedWaveHeaders [--PlayedWaveHeadersCount]; + ScheduledBlocks--; // decrease the number of USED blocks + LeaveCriticalSection ( &cs ); + + waveOutUnprepareHeader ( dev, wh, sizeof (WAVEHDR) ); + + hg = GlobalHandle ( wh -> lpData ); // Deallocate the buffer memory + GlobalUnlock (hg); + GlobalFree (hg); + + hg = GlobalHandle ( wh ); // Deallocate the header memory + GlobalUnlock (hg); + GlobalFree (hg); +} + + +Int +Set_WIN_Params ( FILE_T dummyFile , + Ldouble SampleFreq, + Uint BitsPerSample, + Uint Channels ) +{ + WAVEFORMATEX outFormat; + UINT deviceID = WAVE_MAPPER; + + (void) dummyFile; + + if ( waveOutGetNumDevs () == 0 ) + return Box ( "No audio device present." ); + + outFormat.wFormatTag = WAVE_FORMAT_PCM; + outFormat.wBitsPerSample = BitsPerSample; + outFormat.nChannels = Channels; + outFormat.nSamplesPerSec = (unsigned long)(SampleFreq + 0.5); + outFormat.nBlockAlign = (outFormat.wBitsPerSample + 7) / 8 * outFormat.nChannels; + outFormat.nAvgBytesPerSec = outFormat.nSamplesPerSec * outFormat.nBlockAlign; + + switch ( waveOutOpen ( &dev, deviceID, &outFormat, (DWORD)wave_callback, 0, CALLBACK_FUNCTION ) ) + { + case MMSYSERR_ALLOCATED: return Box ( "Device is already open." ); + case MMSYSERR_BADDEVICEID: return Box ( "The specified device is out of range." ); + case MMSYSERR_NODRIVER: return Box ( "There is no audio driver in this system." ); + case MMSYSERR_NOMEM: return Box ( "Unable to allocate sound memory." ); + case WAVERR_BADFORMAT: return Box ( "This audio format is not supported." ); + case WAVERR_SYNC: return Box ( "The device is synchronous." ); + default: return Box ( "Unknown media error." ); + case MMSYSERR_NOERROR: break; + } + + waveOutReset ( dev ); + InitializeCriticalSection ( &cs ); + SetPriorityClass ( GetCurrentProcess (), HIGH_PRIORITY_CLASS ); + return 0; +} + + +int +WIN_Play_Samples ( const void* data, size_t len ) +{ + HGLOBAL hg; + HGLOBAL hg2; + LPWAVEHDR wh; + void* allocptr; + + do { + while ( PlayedWaveHeadersCount > 0 ) // free used blocks ... + free_memory (); + + if ( ScheduledBlocks < sizeof(PlayedWaveHeaders)/sizeof(*PlayedWaveHeaders) ) // wait for a free block ... + break; + Sleep (26); + } while (1); + + if ( (hg2 = GlobalAlloc ( GMEM_MOVEABLE, len )) == NULL ) // allocate some memory for a copy of the buffer + return Box ( "GlobalAlloc failed." ); + + allocptr = GlobalLock (hg2); + CopyMemory ( allocptr, data, len ); // Here we can call any modification output functions we want.... + + if ( (hg = GlobalAlloc (GMEM_MOVEABLE | GMEM_ZEROINIT, sizeof (WAVEHDR))) == NULL ) // now make a header and WRITE IT! + return -1; + + wh = GlobalLock (hg); + wh -> dwBufferLength = len; + wh -> lpData = allocptr; + + if ( waveOutPrepareHeader ( dev, wh, sizeof (WAVEHDR)) != MMSYSERR_NOERROR ) { + GlobalUnlock (hg); + GlobalFree (hg); + return -1; + } + + if ( waveOutWrite ( dev, wh, sizeof (WAVEHDR)) != MMSYSERR_NOERROR ) { + GlobalUnlock (hg); + GlobalFree (hg); + return -1; + } + + EnterCriticalSection ( &cs ); + ScheduledBlocks++; + LeaveCriticalSection ( &cs ); + + return len; +} + + +int +WIN_Audio_close ( void ) +{ + if ( dev != NULL ) { + + while ( ScheduledBlocks > 0 ) { + Sleep (ScheduledBlocks); + while ( PlayedWaveHeadersCount > 0 ) // free used blocks ... + free_memory (); + } + + waveOutReset (dev); // reset the device + waveOutClose (dev); // close the device + dev = NULL; + } + + DeleteCriticalSection ( &cs ); + ScheduledBlocks = 0; + return 0; +} + +#endif + +/* end of wave_out.c */ diff --git a/tizen/distrib/remote/common/celt-0.5.1.3/tools/wave_out.h b/tizen/distrib/remote/common/celt-0.5.1.3/tools/wave_out.h new file mode 100644 index 0000000..0c467b1 --- /dev/null +++ b/tizen/distrib/remote/common/celt-0.5.1.3/tools/wave_out.h @@ -0,0 +1,71 @@ +/* Copyright (c) 2002, John Edwards + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +// WAVE_OUT.H - Necessary stuff for WIN_AUDIO + +#ifndef WAVE_OUT_H +#define WAVE_OUT_H + +#include <stdio.h> +#include <windows.h> +#ifdef __MINGW32__ +#include <mmsystem.h> +#endif + +#define VERSION_STRING "\n 0.7.0\n" + +#define Cdecl __cdecl +#define __attribute__(x) +#define sleep(__sec) Sleep ((__sec) * 1000) +#define inline __inline +#define restrict + +//// constants ///////////////////////////////////////////////////// + +#define CD_SAMPLE_FREQ 44.1e3 +#define SAMPLE_SIZE 16 +#define SAMPLE_SIZE_STRING "" +#define WINAUDIO_FD ((FILE_T)-128) +#define FILE_T FILE* +#define INVALID_FILEDESC NULL + +//// Simple types ////////////////////////////////////////////////// + +typedef signed int Int; // at least -32767...+32767, fast type +typedef unsigned int Uint; // at least 0...65535, fast type +typedef long double Ldouble; // most exact floating point format + +//// procedures/functions ////////////////////////////////////////// +// wave_out.c +Int Set_WIN_Params ( FILE_T dummyFile , Ldouble SampleFreq, Uint BitsPerSample, Uint Channels); +int WIN_Play_Samples ( const void* buff, size_t len ); +int WIN_Audio_close ( void ); + +#endif /* WAVE_OUT_H */ diff --git a/tizen/distrib/remote/common/spice-common/Makefile.am b/tizen/distrib/remote/common/spice-common/Makefile.am new file mode 100644 index 0000000..380bf24 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/Makefile.am @@ -0,0 +1,29 @@ +NULL = +ACLOCAL_AMFLAGS = -I m4 + +SUBDIRS = python_modules common +DIST_SUBDIRS = spice-protocol $(SUBDIRS) + +EXTRA_DIST = \ + spice_codegen.py \ + spice.proto \ + spice1.proto \ + $(NULL) + +DISTCLEANFILES = *.pyc + +MAINTAINERCLEANFILES = \ + $(srcdir)/INSTALL \ + $(srcdir)/aclocal.m4 \ + $(srcdir)/autoscan.log \ + $(srcdir)/build-aux \ + $(srcdir)/config.h.in \ + $(srcdir)/m4/libtool.m4 \ + $(srcdir)/m4/ltoptions.m4 \ + $(srcdir)/m4/ltsugar.m4 \ + $(srcdir)/m4/ltversion.m4 \ + $(srcdir)/m4/lt~obsolete.m4 \ + `find "$(srcdir)" -type f -name Makefile.in -print` \ + $(NULL) + +-include $(top_srcdir)/git.mk diff --git a/tizen/distrib/remote/common/spice-common/Makefile.in b/tizen/distrib/remote/common/spice-common/Makefile.in new file mode 100644 index 0000000..bfd8849 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/Makefile.in @@ -0,0 +1,809 @@ +# Makefile.in generated by automake 1.13.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2012 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@ +VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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 = . +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ + $(top_srcdir)/configure $(am__configure_deps) \ + $(srcdir)/config.h.in build-aux/ar-lib build-aux/compile \ + build-aux/config.guess build-aux/config.sub build-aux/depcomp \ + build-aux/install-sh build-aux/missing build-aux/ltmain.sh \ + $(top_srcdir)/build-aux/ar-lib $(top_srcdir)/build-aux/compile \ + $(top_srcdir)/build-aux/config.guess \ + $(top_srcdir)/build-aux/config.sub \ + $(top_srcdir)/build-aux/install-sh \ + $(top_srcdir)/build-aux/ltmain.sh \ + $(top_srcdir)/build-aux/missing +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ + cscope distdir dist dist-all distcheck +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ + $(LISP)config.h.in +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +CSCOPE = cscope +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + if test -d "$(distdir)"; then \ + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -rf "$(distdir)" \ + || { sleep 5 && rm -rf "$(distdir)"; }; \ + else :; fi +am__post_remove_distdir = $(am__remove_distdir) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +GZIP_ENV = --best +DIST_ARCHIVES = $(distdir).tar.xz +DIST_TARGETS = dist-xz +distuninstallcheck_listfiles = find . -type f -print +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' +distcleancheck_listfiles = find . -type f -print +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GL_CFLAGS = @GL_CFLAGS@ +GL_LIBS = @GL_LIBS@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ +PIXMAN_LIBS = @PIXMAN_LIBS@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PROTOCOL_CFLAGS = @PROTOCOL_CFLAGS@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SMARTCARD_CFLAGS = @SMARTCARD_CFLAGS@ +SMARTCARD_LIBS = @SMARTCARD_LIBS@ +STRIP = @STRIP@ +VERSION = @VERSION@ +XMKMF = @XMKMF@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +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@ +subdirs = @subdirs@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +NULL = +ACLOCAL_AMFLAGS = -I m4 +SUBDIRS = python_modules common +DIST_SUBDIRS = spice-protocol $(SUBDIRS) +EXTRA_DIST = \ + spice_codegen.py \ + spice.proto \ + spice1.proto \ + $(NULL) + +DISTCLEANFILES = *.pyc +MAINTAINERCLEANFILES = \ + $(srcdir)/INSTALL \ + $(srcdir)/aclocal.m4 \ + $(srcdir)/autoscan.log \ + $(srcdir)/build-aux \ + $(srcdir)/config.h.in \ + $(srcdir)/m4/libtool.m4 \ + $(srcdir)/m4/ltoptions.m4 \ + $(srcdir)/m4/ltsugar.m4 \ + $(srcdir)/m4/ltversion.m4 \ + $(srcdir)/m4/lt~obsolete.m4 \ + `find "$(srcdir)" -type f -name Makefile.in -print` \ + $(NULL) + +all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: +am--refresh: Makefile + @: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ + $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + $(am__cd) $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +$(am__aclocal_m4_deps): + +config.h: stamp-h1 + @if test ! -f $@; then rm -f stamp-h1; else :; fi + @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi + +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config.h +$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) + rm -f stamp-h1 + touch $@ + +distclean-hdr: + -rm -f config.h stamp-h1 + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + -rm -f libtool config.lt + +# This directory's subdirectories are mostly independent; you can cd +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscope: cscope.files + test ! -s cscope.files \ + || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) +clean-cscope: + -rm -f cscope.files +cscope.files: clean-cscope cscopelist +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + -rm -f cscope.out cscope.in.out cscope.po.out cscope.files + +distdir: $(DISTFILES) + $(am__remove_distdir) + test -d "$(distdir)" || mkdir "$(distdir)" + @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 + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done + -test -n "$(am__skip_mode_fix)" \ + || find "$(distdir)" -type d ! -perm -755 \ + -exec chmod u+rwx,go+rx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r "$(distdir)" +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__post_remove_distdir) + +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 + $(am__post_remove_distdir) + +dist-lzip: distdir + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz + $(am__post_remove_distdir) +dist-xz: distdir + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz + $(am__post_remove_distdir) + +dist-tarZ: distdir + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__post_remove_distdir) + +dist-shar: distdir + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + $(am__post_remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__post_remove_distdir) + +dist dist-all: + $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' + $(am__post_remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lz*) \ + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ + *.tar.xz*) \ + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir) + chmod u+w $(distdir) + mkdir $(distdir)/_build $(distdir)/_inst + chmod a-w $(distdir) + test -d $(distdir)/_build || exit 0; \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && am__cwd=`pwd` \ + && $(am__cd) $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(AM_DISTCHECK_CONFIGURE_FLAGS) \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ + && cd "$$am__cwd" \ + || exit 1 + $(am__post_remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' +distuninstallcheck: + @test -n '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: trying to run $@ with an empty' \ + '$$(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + $(am__cd) '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: check-recursive +all-am: Makefile config.h +installdirs: installdirs-recursive +installdirs-am: +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +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) + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) + +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-recursive + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-hdr \ + distclean-libtool distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: + +.MAKE: $(am__recursive_targets) all install-am install-strip + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ + am--refresh check check-am clean clean-cscope clean-generic \ + clean-libtool cscope cscopelist-am ctags ctags-am dist \ + dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \ + dist-xz dist-zip distcheck distclean distclean-generic \ + distclean-hdr distclean-libtool distclean-tags distcleancheck \ + distdir distuninstallcheck 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-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ + uninstall-am + + +-include $(top_srcdir)/git.mk + +# 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: diff --git a/tizen/distrib/remote/common/spice-common/build-aux/ar-lib b/tizen/distrib/remote/common/spice-common/build-aux/ar-lib new file mode 100644 index 0000000..fe2301e --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/build-aux/ar-lib @@ -0,0 +1,270 @@ +#! /bin/sh +# Wrapper for Microsoft lib.exe + +me=ar-lib +scriptversion=2012-03-01.08; # UTC + +# Copyright (C) 2010-2013 Free Software Foundation, Inc. +# Written by Peter Rosin <peda@lysator.liu.se>. +# +# 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, 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/>. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to <bug-automake@gnu.org> or send patches to +# <automake-patches@gnu.org>. + + +# func_error message +func_error () +{ + echo "$me: $1" 1>&2 + exit 1 +} + +file_conv= + +# func_file_conv build_file +# Convert a $build file to $host form and store it in $file +# Currently only supports Windows hosts. +func_file_conv () +{ + file=$1 + case $file in + / | /[!/]*) # absolute file, and not a UNC file + if test -z "$file_conv"; then + # lazily determine how to convert abs files + case `uname -s` in + MINGW*) + file_conv=mingw + ;; + CYGWIN*) + file_conv=cygwin + ;; + *) + file_conv=wine + ;; + esac + fi + case $file_conv in + mingw) + file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` + ;; + cygwin) + file=`cygpath -m "$file" || echo "$file"` + ;; + wine) + file=`winepath -w "$file" || echo "$file"` + ;; + esac + ;; + esac +} + +# func_at_file at_file operation archive +# Iterate over all members in AT_FILE performing OPERATION on ARCHIVE +# for each of them. +# When interpreting the content of the @FILE, do NOT use func_file_conv, +# since the user would need to supply preconverted file names to +# binutils ar, at least for MinGW. +func_at_file () +{ + operation=$2 + archive=$3 + at_file_contents=`cat "$1"` + eval set x "$at_file_contents" + shift + + for member + do + $AR -NOLOGO $operation:"$member" "$archive" || exit $? + done +} + +case $1 in + '') + func_error "no command. Try '$0 --help' for more information." + ;; + -h | --h*) + cat <<EOF +Usage: $me [--help] [--version] PROGRAM ACTION ARCHIVE [MEMBER...] + +Members may be specified in a file named with @FILE. +EOF + exit $? + ;; + -v | --v*) + echo "$me, version $scriptversion" + exit $? + ;; +esac + +if test $# -lt 3; then + func_error "you must specify a program, an action and an archive" +fi + +AR=$1 +shift +while : +do + if test $# -lt 2; then + func_error "you must specify a program, an action and an archive" + fi + case $1 in + -lib | -LIB \ + | -ltcg | -LTCG \ + | -machine* | -MACHINE* \ + | -subsystem* | -SUBSYSTEM* \ + | -verbose | -VERBOSE \ + | -wx* | -WX* ) + AR="$AR $1" + shift + ;; + *) + action=$1 + shift + break + ;; + esac +done +orig_archive=$1 +shift +func_file_conv "$orig_archive" +archive=$file + +# strip leading dash in $action +action=${action#-} + +delete= +extract= +list= +quick= +replace= +index= +create= + +while test -n "$action" +do + case $action in + d*) delete=yes ;; + x*) extract=yes ;; + t*) list=yes ;; + q*) quick=yes ;; + r*) replace=yes ;; + s*) index=yes ;; + S*) ;; # the index is always updated implicitly + c*) create=yes ;; + u*) ;; # TODO: don't ignore the update modifier + v*) ;; # TODO: don't ignore the verbose modifier + *) + func_error "unknown action specified" + ;; + esac + action=${action#?} +done + +case $delete$extract$list$quick$replace,$index in + yes,* | ,yes) + ;; + yesyes*) + func_error "more than one action specified" + ;; + *) + func_error "no action specified" + ;; +esac + +if test -n "$delete"; then + if test ! -f "$orig_archive"; then + func_error "archive not found" + fi + for member + do + case $1 in + @*) + func_at_file "${1#@}" -REMOVE "$archive" + ;; + *) + func_file_conv "$1" + $AR -NOLOGO -REMOVE:"$file" "$archive" || exit $? + ;; + esac + done + +elif test -n "$extract"; then + if test ! -f "$orig_archive"; then + func_error "archive not found" + fi + if test $# -gt 0; then + for member + do + case $1 in + @*) + func_at_file "${1#@}" -EXTRACT "$archive" + ;; + *) + func_file_conv "$1" + $AR -NOLOGO -EXTRACT:"$file" "$archive" || exit $? + ;; + esac + done + else + $AR -NOLOGO -LIST "$archive" | sed -e 's/\\/\\\\/g' | while read member + do + $AR -NOLOGO -EXTRACT:"$member" "$archive" || exit $? + done + fi + +elif test -n "$quick$replace"; then + if test ! -f "$orig_archive"; then + if test -z "$create"; then + echo "$me: creating $orig_archive" + fi + orig_archive= + else + orig_archive=$archive + fi + + for member + do + case $1 in + @*) + func_file_conv "${1#@}" + set x "$@" "@$file" + ;; + *) + func_file_conv "$1" + set x "$@" "$file" + ;; + esac + shift + shift + done + + if test -n "$orig_archive"; then + $AR -NOLOGO -OUT:"$archive" "$orig_archive" "$@" || exit $? + else + $AR -NOLOGO -OUT:"$archive" "$@" || exit $? + fi + +elif test -n "$list"; then + if test ! -f "$orig_archive"; then + func_error "archive not found" + fi + $AR -NOLOGO -LIST "$archive" || exit $? +fi diff --git a/tizen/distrib/remote/common/spice-common/build-aux/compile b/tizen/distrib/remote/common/spice-common/build-aux/compile new file mode 100644 index 0000000..531136b --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/build-aux/compile @@ -0,0 +1,347 @@ +#! /bin/sh +# Wrapper for compilers which do not understand '-c -o'. + +scriptversion=2012-10-14.11; # UTC + +# Copyright (C) 1999-2013 Free Software Foundation, Inc. +# Written by Tom Tromey <tromey@cygnus.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, 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/>. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to <bug-automake@gnu.org> or send patches to +# <automake-patches@gnu.org>. + +nl=' +' + +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent tools from complaining about whitespace usage. +IFS=" "" $nl" + +file_conv= + +# func_file_conv build_file lazy +# Convert a $build file to $host form and store it in $file +# Currently only supports Windows hosts. If the determined conversion +# type is listed in (the comma separated) LAZY, no conversion will +# take place. +func_file_conv () +{ + file=$1 + case $file in + / | /[!/]*) # absolute file, and not a UNC file + if test -z "$file_conv"; then + # lazily determine how to convert abs files + case `uname -s` in + MINGW*) + file_conv=mingw + ;; + CYGWIN*) + file_conv=cygwin + ;; + *) + file_conv=wine + ;; + esac + fi + case $file_conv/,$2, in + *,$file_conv,*) + ;; + mingw/*) + file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` + ;; + cygwin/*) + file=`cygpath -m "$file" || echo "$file"` + ;; + wine/*) + file=`winepath -w "$file" || echo "$file"` + ;; + esac + ;; + esac +} + +# func_cl_dashL linkdir +# Make cl look for libraries in LINKDIR +func_cl_dashL () +{ + func_file_conv "$1" + if test -z "$lib_path"; then + lib_path=$file + else + lib_path="$lib_path;$file" + fi + linker_opts="$linker_opts -LIBPATH:$file" +} + +# func_cl_dashl library +# Do a library search-path lookup for cl +func_cl_dashl () +{ + lib=$1 + found=no + save_IFS=$IFS + IFS=';' + for dir in $lib_path $LIB + do + IFS=$save_IFS + if $shared && test -f "$dir/$lib.dll.lib"; then + found=yes + lib=$dir/$lib.dll.lib + break + fi + if test -f "$dir/$lib.lib"; then + found=yes + lib=$dir/$lib.lib + break + fi + if test -f "$dir/lib$lib.a"; then + found=yes + lib=$dir/lib$lib.a + break + fi + done + IFS=$save_IFS + + if test "$found" != yes; then + lib=$lib.lib + fi +} + +# func_cl_wrapper cl arg... +# Adjust compile command to suit cl +func_cl_wrapper () +{ + # Assume a capable shell + lib_path= + shared=: + linker_opts= + for arg + do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as 'compile cc -o foo foo.c'. + eat=1 + case $2 in + *.o | *.[oO][bB][jJ]) + func_file_conv "$2" + set x "$@" -Fo"$file" + shift + ;; + *) + func_file_conv "$2" + set x "$@" -Fe"$file" + shift + ;; + esac + ;; + -I) + eat=1 + func_file_conv "$2" mingw + set x "$@" -I"$file" + shift + ;; + -I*) + func_file_conv "${1#-I}" mingw + set x "$@" -I"$file" + shift + ;; + -l) + eat=1 + func_cl_dashl "$2" + set x "$@" "$lib" + shift + ;; + -l*) + func_cl_dashl "${1#-l}" + set x "$@" "$lib" + shift + ;; + -L) + eat=1 + func_cl_dashL "$2" + ;; + -L*) + func_cl_dashL "${1#-L}" + ;; + -static) + shared=false + ;; + -Wl,*) + arg=${1#-Wl,} + save_ifs="$IFS"; IFS=',' + for flag in $arg; do + IFS="$save_ifs" + linker_opts="$linker_opts $flag" + done + IFS="$save_ifs" + ;; + -Xlinker) + eat=1 + linker_opts="$linker_opts $2" + ;; + -*) + set x "$@" "$1" + shift + ;; + *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) + func_file_conv "$1" + set x "$@" -Tp"$file" + shift + ;; + *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) + func_file_conv "$1" mingw + set x "$@" "$file" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift + done + if test -n "$linker_opts"; then + linker_opts="-link$linker_opts" + fi + exec "$@" $linker_opts + exit 1 +} + +eat= + +case $1 in + '') + echo "$0: No command. Try '$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: compile [--help] [--version] PROGRAM [ARGS] + +Wrapper for compilers which do not understand '-c -o'. +Remove '-o dest.o' from ARGS, run PROGRAM with the remaining +arguments, and rename the output as expected. + +If you are trying to build a whole package this is not the +right script to run: please start by reading the file 'INSTALL'. + +Report bugs to <bug-automake@gnu.org>. +EOF + exit $? + ;; + -v | --v*) + echo "compile $scriptversion" + exit $? + ;; + cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) + func_cl_wrapper "$@" # Doesn't return... + ;; +esac + +ofile= +cfile= + +for arg +do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as 'compile cc -o foo foo.c'. + # So we strip '-o arg' only if arg is an object. + eat=1 + case $2 in + *.o | *.obj) + ofile=$2 + ;; + *) + set x "$@" -o "$2" + shift + ;; + esac + ;; + *.c) + cfile=$1 + set x "$@" "$1" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift +done + +if test -z "$ofile" || test -z "$cfile"; then + # If no '-o' option was seen then we might have been invoked from a + # pattern rule where we don't need one. That is ok -- this is a + # normal compilation that the losing compiler can handle. If no + # '.c' file was seen then we are probably linking. That is also + # ok. + exec "$@" +fi + +# Name of file we expect compiler to create. +cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` + +# Create the lock directory. +# Note: use '[/\\:.-]' here to ensure that we don't use the same name +# that we are using for the .o file. Also, base the name on the expected +# object file name, since that is what matters with a parallel build. +lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d +while true; do + if mkdir "$lockdir" >/dev/null 2>&1; then + break + fi + sleep 1 +done +# FIXME: race condition here if user kills between mkdir and trap. +trap "rmdir '$lockdir'; exit 1" 1 2 15 + +# Run the compile. +"$@" +ret=$? + +if test -f "$cofile"; then + test "$cofile" = "$ofile" || mv "$cofile" "$ofile" +elif test -f "${cofile}bj"; then + test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" +fi + +rmdir "$lockdir" +exit $ret + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/tizen/distrib/remote/common/spice-common/build-aux/config.guess b/tizen/distrib/remote/common/spice-common/build-aux/config.guess new file mode 100644 index 0000000..1804e9f --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/build-aux/config.guess @@ -0,0 +1,1535 @@ +#! /bin/sh +# Attempt to guess a canonical system name. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, +# 2011, 2012, 2013 Free Software Foundation, Inc. + +timestamp='2012-12-29' + +# This file 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/>. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that +# program. This Exception is an additional permission under section 7 +# of the GNU General Public License, version 3 ("GPLv3"). +# +# Originally written by Per Bothner. +# +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD +# +# Please send patches with a ChangeLog entry to config-patches@gnu.org. + + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] + +Output the configuration name of the system \`$me' is run on. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to <config-patches@gnu.org>." + +version="\ +GNU config.guess ($timestamp) + +Originally written by Per Bothner. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, +2012, 2013 Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" >&2 + exit 1 ;; + * ) + break ;; + esac +done + +if test $# != 0; then + echo "$me: too many arguments$help" >&2 + exit 1 +fi + +trap 'exit 1' 1 2 15 + +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a +# compiler to aid in system detection is discouraged as it requires +# temporary files to be created and, as you can see below, it is a +# headache to deal with in a portable fashion. + +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still +# use `HOST_CC' if defined, but it is deprecated. + +# Portable tmp directory creation inspired by the Autoconf team. + +set_cc_for_build=' +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; +: ${TMPDIR=/tmp} ; + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; +dummy=$tmp/dummy ; +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; +case $CC_FOR_BUILD,$HOST_CC,$CC in + ,,) echo "int x;" > $dummy.c ; + for c in cc gcc c89 c99 ; do + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then + CC_FOR_BUILD="$c"; break ; + fi ; + done ; + if test x"$CC_FOR_BUILD" = x ; then + CC_FOR_BUILD=no_compiler_found ; + fi + ;; + ,,*) CC_FOR_BUILD=$CC ;; + ,*,*) CC_FOR_BUILD=$HOST_CC ;; +esac ; set_cc_for_build= ;' + +# This is needed to find uname on a Pyramid OSx when run in the BSD universe. +# (ghazi@noc.rutgers.edu 1994-08-24) +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then + PATH=$PATH:/.attbin ; export PATH +fi + +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown + +# Note: order is significant - the case branches are not exclusive. + +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in + *:NetBSD:*:*) + # NetBSD (nbsd) targets should (where applicable) match one or + # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently + # switched to ELF, *-*-netbsd* would select the old + # object file format. This provides both forward + # compatibility and a consistent mechanism for selecting the + # object file format. + # + # Note: NetBSD doesn't particularly care about the vendor + # portion of the name. We always set it to "unknown". + sysctl="sysctl -n hw.machine_arch" + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ + /usr/sbin/$sysctl 2>/dev/null || echo unknown)` + case "${UNAME_MACHINE_ARCH}" in + armeb) machine=armeb-unknown ;; + arm*) machine=arm-unknown ;; + sh3el) machine=shl-unknown ;; + sh3eb) machine=sh-unknown ;; + sh5el) machine=sh5le-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE_ARCH}" in + arm*|i386|m68k|ns32k|sh3*|sparc|vax) + eval $set_cc_for_build + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ELF__ + then + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). + # Return netbsd for either. FIX? + os=netbsd + else + os=netbsdelf + fi + ;; + *) + os=netbsd + ;; + esac + # The OS release + # Debian GNU/NetBSD machines have a different userland, and + # thus, need a distinct triplet. However, they do not need + # kernel version information, so it can be replaced with a + # suitable tag, in the style of linux-gnu. + case "${UNAME_VERSION}" in + Debian*) + release='-gnu' + ;; + *) + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + ;; + esac + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: + # contains redundant information, the shorter form: + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. + echo "${machine}-${os}${release}" + exit ;; + *:Bitrig:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} + exit ;; + *:OpenBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} + exit ;; + *:ekkoBSD:*:*) + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} + exit ;; + *:SolidBSD:*:*) + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} + exit ;; + macppc:MirBSD:*:*) + echo powerpc-unknown-mirbsd${UNAME_RELEASE} + exit ;; + *:MirBSD:*:*) + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} + exit ;; + alpha:OSF1:*:*) + case $UNAME_RELEASE in + *4.0) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` + ;; + *5.*) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + ;; + esac + # According to Compaq, /usr/sbin/psrinfo has been available on + # OSF/1 and Tru64 systems produced since 1995. I hope that + # covers most systems running today. This code pipes the CPU + # types through head -n 1, so we only detect the type of CPU 0. + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` + case "$ALPHA_CPU_TYPE" in + "EV4 (21064)") + UNAME_MACHINE="alpha" ;; + "EV4.5 (21064)") + UNAME_MACHINE="alpha" ;; + "LCA4 (21066/21068)") + UNAME_MACHINE="alpha" ;; + "EV5 (21164)") + UNAME_MACHINE="alphaev5" ;; + "EV5.6 (21164A)") + UNAME_MACHINE="alphaev56" ;; + "EV5.6 (21164PC)") + UNAME_MACHINE="alphapca56" ;; + "EV5.7 (21164PC)") + UNAME_MACHINE="alphapca57" ;; + "EV6 (21264)") + UNAME_MACHINE="alphaev6" ;; + "EV6.7 (21264A)") + UNAME_MACHINE="alphaev67" ;; + "EV6.8CB (21264C)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8AL (21264B)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8CX (21264D)") + UNAME_MACHINE="alphaev68" ;; + "EV6.9A (21264/EV69A)") + UNAME_MACHINE="alphaev69" ;; + "EV7 (21364)") + UNAME_MACHINE="alphaev7" ;; + "EV7.9 (21364A)") + UNAME_MACHINE="alphaev79" ;; + esac + # A Pn.n version is a patched version. + # A Vn.n version is a released version. + # A Tn.n version is a released field test version. + # A Xn.n version is an unreleased experimental baselevel. + # 1.2 uses "1.2" for uname -r. + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + # Reset EXIT trap before exiting to avoid spurious non-zero exit code. + exitcode=$? + trap '' 0 + exit $exitcode ;; + Alpha\ *:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # Should we change UNAME_MACHINE based on the output of uname instead + # of the specific Alpha model? + echo alpha-pc-interix + exit ;; + 21064:Windows_NT:50:3) + echo alpha-dec-winnt3.5 + exit ;; + Amiga*:UNIX_System_V:4.0:*) + echo m68k-unknown-sysv4 + exit ;; + *:[Aa]miga[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-amigaos + exit ;; + *:[Mm]orph[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-morphos + exit ;; + *:OS/390:*:*) + echo i370-ibm-openedition + exit ;; + *:z/VM:*:*) + echo s390-ibm-zvmoe + exit ;; + *:OS400:*:*) + echo powerpc-ibm-os400 + exit ;; + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) + echo arm-acorn-riscix${UNAME_RELEASE} + exit ;; + arm*:riscos:*:*|arm*:RISCOS:*:*) + echo arm-unknown-riscos + exit ;; + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) + echo hppa1.1-hitachi-hiuxmpp + exit ;; + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. + if test "`(/bin/universe) 2>/dev/null`" = att ; then + echo pyramid-pyramid-sysv3 + else + echo pyramid-pyramid-bsd + fi + exit ;; + NILE*:*:*:dcosx) + echo pyramid-pyramid-svr4 + exit ;; + DRS?6000:unix:4.0:6*) + echo sparc-icl-nx6 + exit ;; + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) + case `/usr/bin/uname -p` in + sparc) echo sparc-icl-nx7; exit ;; + esac ;; + s390x:SunOS:*:*) + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4H:SunOS:5.*:*) + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) + echo i386-pc-auroraux${UNAME_RELEASE} + exit ;; + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) + eval $set_cc_for_build + SUN_ARCH="i386" + # If there is a compiler, see if it is configured for 64-bit objects. + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. + # This test works for both compilers. + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + SUN_ARCH="x86_64" + fi + fi + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:6*:*) + # According to config.sub, this is the proper way to canonicalize + # SunOS6. Hard to guess exactly what SunOS6 will be like, but + # it's likely to be more like Solaris than SunOS4. + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:*:*) + case "`/usr/bin/arch -k`" in + Series*|S4*) + UNAME_RELEASE=`uname -v` + ;; + esac + # Japanese Language versions have a version number like `4.1.3-JL'. + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` + exit ;; + sun3*:SunOS:*:*) + echo m68k-sun-sunos${UNAME_RELEASE} + exit ;; + sun*:*:4.2BSD:*) + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 + case "`/bin/arch`" in + sun3) + echo m68k-sun-sunos${UNAME_RELEASE} + ;; + sun4) + echo sparc-sun-sunos${UNAME_RELEASE} + ;; + esac + exit ;; + aushp:SunOS:*:*) + echo sparc-auspex-sunos${UNAME_RELEASE} + exit ;; + # The situation for MiNT is a little confusing. The machine name + # can be virtually everything (everything which is not + # "atarist" or "atariste" at least should have a processor + # > m68000). The system name ranges from "MiNT" over "FreeMiNT" + # to the lowercase version "mint" (or "freemint"). Finally + # the system name "TOS" denotes a system which is actually not + # MiNT. But MiNT is downward compatible to TOS, so this should + # be no problem. + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) + echo m68k-milan-mint${UNAME_RELEASE} + exit ;; + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) + echo m68k-hades-mint${UNAME_RELEASE} + exit ;; + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) + echo m68k-unknown-mint${UNAME_RELEASE} + exit ;; + m68k:machten:*:*) + echo m68k-apple-machten${UNAME_RELEASE} + exit ;; + powerpc:machten:*:*) + echo powerpc-apple-machten${UNAME_RELEASE} + exit ;; + RISC*:Mach:*:*) + echo mips-dec-mach_bsd4.3 + exit ;; + RISC*:ULTRIX:*:*) + echo mips-dec-ultrix${UNAME_RELEASE} + exit ;; + VAX*:ULTRIX*:*:*) + echo vax-dec-ultrix${UNAME_RELEASE} + exit ;; + 2020:CLIX:*:* | 2430:CLIX:*:*) + echo clipper-intergraph-clix${UNAME_RELEASE} + exit ;; + mips:*:*:UMIPS | mips:*:*:RISCos) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c +#ifdef __cplusplus +#include <stdio.h> /* for printf() prototype */ + int main (int argc, char *argv[]) { +#else + int main (argc, argv) int argc; char *argv[]; { +#endif + #if defined (host_mips) && defined (MIPSEB) + #if defined (SYSTYPE_SYSV) + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_SVR4) + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); + #endif + #endif + exit (-1); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && + SYSTEM_NAME=`$dummy $dummyarg` && + { echo "$SYSTEM_NAME"; exit; } + echo mips-mips-riscos${UNAME_RELEASE} + exit ;; + Motorola:PowerMAX_OS:*:*) + echo powerpc-motorola-powermax + exit ;; + Motorola:*:4.3:PL8-*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:Power_UNIX:*:*) + echo powerpc-harris-powerunix + exit ;; + m88k:CX/UX:7*:*) + echo m88k-harris-cxux7 + exit ;; + m88k:*:4*:R4*) + echo m88k-motorola-sysv4 + exit ;; + m88k:*:3*:R3*) + echo m88k-motorola-sysv3 + exit ;; + AViiON:dgux:*:*) + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] + then + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ + [ ${TARGET_BINARY_INTERFACE}x = x ] + then + echo m88k-dg-dgux${UNAME_RELEASE} + else + echo m88k-dg-dguxbcs${UNAME_RELEASE} + fi + else + echo i586-dg-dgux${UNAME_RELEASE} + fi + exit ;; + M88*:DolphinOS:*:*) # DolphinOS (SVR3) + echo m88k-dolphin-sysv3 + exit ;; + M88*:*:R3*:*) + # Delta 88k system running SVR3 + echo m88k-motorola-sysv3 + exit ;; + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) + echo m88k-tektronix-sysv3 + exit ;; + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) + echo m68k-tektronix-bsd + exit ;; + *:IRIX*:*:*) + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` + exit ;; + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + i*86:AIX:*:*) + echo i386-ibm-aix + exit ;; + ia64:AIX:*:*) + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} + exit ;; + *:AIX:2:3) + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include <sys/systemcfg.h> + + main() + { + if (!__power_pc()) + exit(1); + puts("powerpc-ibm-aix3.2.5"); + exit(0); + } +EOF + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` + then + echo "$SYSTEM_NAME" + else + echo rs6000-ibm-aix3.2.5 + fi + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then + echo rs6000-ibm-aix3.2.4 + else + echo rs6000-ibm-aix3.2 + fi + exit ;; + *:AIX:*:[4567]) + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then + IBM_ARCH=rs6000 + else + IBM_ARCH=powerpc + fi + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${IBM_ARCH}-ibm-aix${IBM_REV} + exit ;; + *:AIX:*:*) + echo rs6000-ibm-aix + exit ;; + ibmrt:4.4BSD:*|romp-ibm:BSD:*) + echo romp-ibm-bsd4.4 + exit ;; + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to + exit ;; # report: romp-ibm BSD 4.3 + *:BOSX:*:*) + echo rs6000-bull-bosx + exit ;; + DPX/2?00:B.O.S.:*:*) + echo m68k-bull-sysv3 + exit ;; + 9000/[34]??:4.3bsd:1.*:*) + echo m68k-hp-bsd + exit ;; + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) + echo m68k-hp-bsd4.4 + exit ;; + 9000/[34678]??:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + case "${UNAME_MACHINE}" in + 9000/31? ) HP_ARCH=m68000 ;; + 9000/[34]?? ) HP_ARCH=m68k ;; + 9000/[678][0-9][0-9]) + if [ -x /usr/bin/getconf ]; then + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in + 32) HP_ARCH="hppa2.0n" ;; + 64) HP_ARCH="hppa2.0w" ;; + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 + esac ;; + esac + fi + if [ "${HP_ARCH}" = "" ]; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + + #define _HPUX_SOURCE + #include <stdlib.h> + #include <unistd.h> + + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); + + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } +EOF + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` + test -z "$HP_ARCH" && HP_ARCH=hppa + fi ;; + esac + if [ ${HP_ARCH} = "hppa2.0w" ] + then + eval $set_cc_for_build + + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler + # generating 64-bit code. GNU and HP use different nomenclature: + # + # $ CC_FOR_BUILD=cc ./config.guess + # => hppa2.0w-hp-hpux11.23 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess + # => hppa64-hp-hpux11.23 + + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | + grep -q __LP64__ + then + HP_ARCH="hppa2.0w" + else + HP_ARCH="hppa64" + fi + fi + echo ${HP_ARCH}-hp-hpux${HPUX_REV} + exit ;; + ia64:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + echo ia64-hp-hpux${HPUX_REV} + exit ;; + 3050*:HI-UX:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include <unistd.h> + int + main () + { + long cpu = sysconf (_SC_CPU_VERSION); + /* The order matters, because CPU_IS_HP_MC68K erroneously returns + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct + results, however. */ + if (CPU_IS_PA_RISC (cpu)) + { + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; + default: puts ("hppa-hitachi-hiuxwe2"); break; + } + } + else if (CPU_IS_HP_MC68K (cpu)) + puts ("m68k-hitachi-hiuxwe2"); + else puts ("unknown-hitachi-hiuxwe2"); + exit (0); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } + echo unknown-hitachi-hiuxwe2 + exit ;; + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) + echo hppa1.1-hp-bsd + exit ;; + 9000/8??:4.3bsd:*:*) + echo hppa1.0-hp-bsd + exit ;; + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) + echo hppa1.0-hp-mpeix + exit ;; + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) + echo hppa1.1-hp-osf + exit ;; + hp8??:OSF1:*:*) + echo hppa1.0-hp-osf + exit ;; + i*86:OSF1:*:*) + if [ -x /usr/sbin/sysversion ] ; then + echo ${UNAME_MACHINE}-unknown-osf1mk + else + echo ${UNAME_MACHINE}-unknown-osf1 + fi + exit ;; + parisc*:Lites*:*:*) + echo hppa1.1-hp-lites + exit ;; + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) + echo c1-convex-bsd + exit ;; + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) + echo c34-convex-bsd + exit ;; + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) + echo c38-convex-bsd + exit ;; + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) + echo c4-convex-bsd + exit ;; + CRAY*Y-MP:*:*:*) + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*[A-Z]90:*:*:*) + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ + -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*TS:*:*:*) + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*T3E:*:*:*) + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*SV1:*:*:*) + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + *:UNICOS/mp:*:*) + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + 5000:UNIX_System_V:4.*:*) + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} + exit ;; + sparc*:BSD/OS:*:*) + echo sparc-unknown-bsdi${UNAME_RELEASE} + exit ;; + *:BSD/OS:*:*) + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} + exit ;; + *:FreeBSD:*:*) + UNAME_PROCESSOR=`/usr/bin/uname -p` + case ${UNAME_PROCESSOR} in + amd64) + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + *) + echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + esac + exit ;; + i*:CYGWIN*:*) + echo ${UNAME_MACHINE}-pc-cygwin + exit ;; + *:MINGW64*:*) + echo ${UNAME_MACHINE}-pc-mingw64 + exit ;; + *:MINGW*:*) + echo ${UNAME_MACHINE}-pc-mingw32 + exit ;; + i*:MSYS*:*) + echo ${UNAME_MACHINE}-pc-msys + exit ;; + i*:windows32*:*) + # uname -m includes "-pc" on this system. + echo ${UNAME_MACHINE}-mingw32 + exit ;; + i*:PW*:*) + echo ${UNAME_MACHINE}-pc-pw32 + exit ;; + *:Interix*:*) + case ${UNAME_MACHINE} in + x86) + echo i586-pc-interix${UNAME_RELEASE} + exit ;; + authenticamd | genuineintel | EM64T) + echo x86_64-unknown-interix${UNAME_RELEASE} + exit ;; + IA64) + echo ia64-unknown-interix${UNAME_RELEASE} + exit ;; + esac ;; + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) + echo i${UNAME_MACHINE}-pc-mks + exit ;; + 8664:Windows_NT:*) + echo x86_64-pc-mks + exit ;; + i*:Windows_NT*:* | Pentium*:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we + # UNAME_MACHINE based on the output of uname instead of i386? + echo i586-pc-interix + exit ;; + i*:UWIN*:*) + echo ${UNAME_MACHINE}-pc-uwin + exit ;; + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) + echo x86_64-unknown-cygwin + exit ;; + p*:CYGWIN*:*) + echo powerpcle-unknown-cygwin + exit ;; + prep*:SunOS:5.*:*) + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + *:GNU:*:*) + # the GNU system + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + exit ;; + *:GNU/*:*:*) + # other systems with GNU libc and userland + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu + exit ;; + i*86:Minix:*:*) + echo ${UNAME_MACHINE}-pc-minix + exit ;; + aarch64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + aarch64_be:Linux:*:*) + UNAME_MACHINE=aarch64_be + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + objdump --private-headers /bin/sh | grep -q ld.so.1 + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} + exit ;; + arm*:Linux:*:*) + eval $set_cc_for_build + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_EABI__ + then + echo ${UNAME_MACHINE}-unknown-linux-gnu + else + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_PCS_VFP + then + echo ${UNAME_MACHINE}-unknown-linux-gnueabi + else + echo ${UNAME_MACHINE}-unknown-linux-gnueabihf + fi + fi + exit ;; + avr32*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + cris:Linux:*:*) + echo ${UNAME_MACHINE}-axis-linux-gnu + exit ;; + crisv32:Linux:*:*) + echo ${UNAME_MACHINE}-axis-linux-gnu + exit ;; + frv:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + hexagon:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + i*86:Linux:*:*) + LIBC=gnu + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #ifdef __dietlibc__ + LIBC=dietlibc + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` + echo "${UNAME_MACHINE}-pc-linux-${LIBC}" + exit ;; + ia64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m32r*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m68*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + mips:Linux:*:* | mips64:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef ${UNAME_MACHINE} + #undef ${UNAME_MACHINE}el + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=${UNAME_MACHINE}el + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=${UNAME_MACHINE} + #else + CPU= + #endif + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } + ;; + or32:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + padre:Linux:*:*) + echo sparc-unknown-linux-gnu + exit ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-gnu + exit ;; + parisc:Linux:*:* | hppa:Linux:*:*) + # Look for CPU level + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in + PA7*) echo hppa1.1-unknown-linux-gnu ;; + PA8*) echo hppa2.0-unknown-linux-gnu ;; + *) echo hppa-unknown-linux-gnu ;; + esac + exit ;; + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-gnu + exit ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-gnu + exit ;; + s390:Linux:*:* | s390x:Linux:*:*) + echo ${UNAME_MACHINE}-ibm-linux + exit ;; + sh64*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + sh*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + sparc:Linux:*:* | sparc64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + tile*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + vax:Linux:*:*) + echo ${UNAME_MACHINE}-dec-linux-gnu + exit ;; + x86_64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + xtensa*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + i*86:DYNIX/ptx:4*:*) + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. + # earlier versions are messed up and put the nodename in both + # sysname and nodename. + echo i386-sequent-sysv4 + exit ;; + i*86:UNIX_SV:4.2MP:2.*) + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, + # I just have to hope. -- rms. + # Use sysv4.2uw... so that sysv4* matches it. + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} + exit ;; + i*86:OS/2:*:*) + # If we were able to find `uname', then EMX Unix compatibility + # is probably installed. + echo ${UNAME_MACHINE}-pc-os2-emx + exit ;; + i*86:XTS-300:*:STOP) + echo ${UNAME_MACHINE}-unknown-stop + exit ;; + i*86:atheos:*:*) + echo ${UNAME_MACHINE}-unknown-atheos + exit ;; + i*86:syllable:*:*) + echo ${UNAME_MACHINE}-pc-syllable + exit ;; + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) + echo i386-unknown-lynxos${UNAME_RELEASE} + exit ;; + i*86:*DOS:*:*) + echo ${UNAME_MACHINE}-pc-msdosdjgpp + exit ;; + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} + else + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} + fi + exit ;; + i*86:*:5:[678]*) + # UnixWare 7.x, OpenUNIX and OpenServer 6. + case `/bin/uname -X | grep "^Machine"` in + *486*) UNAME_MACHINE=i486 ;; + *Pentium) UNAME_MACHINE=i586 ;; + *Pent*|*Celeron) UNAME_MACHINE=i686 ;; + esac + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} + exit ;; + i*86:*:3.2:*) + if test -f /usr/options/cb.name; then + UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` + echo ${UNAME_MACHINE}-pc-isc$UNAME_REL + elif /bin/uname -X 2>/dev/null >/dev/null ; then + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ + && UNAME_MACHINE=i586 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ + && UNAME_MACHINE=i686 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ + && UNAME_MACHINE=i686 + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL + else + echo ${UNAME_MACHINE}-pc-sysv32 + fi + exit ;; + pc:*:*:*) + # Left here for compatibility: + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i586. + # Note: whatever this is, it MUST be the same as what config.sub + # prints for the "djgpp" host, or else GDB configury will decide that + # this is a cross-build. + echo i586-pc-msdosdjgpp + exit ;; + Intel:Mach:3*:*) + echo i386-pc-mach3 + exit ;; + paragon:*:*:*) + echo i860-intel-osf1 + exit ;; + i860:*:4.*:*) # i860-SVR4 + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 + else # Add other i860-SVR4 vendors below as they are discovered. + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 + fi + exit ;; + mini*:CTIX:SYS*5:*) + # "miniframe" + echo m68010-convergent-sysv + exit ;; + mc68k:UNIX:SYSTEM5:3.51m) + echo m68k-convergent-sysv + exit ;; + M680?0:D-NIX:5.3:*) + echo m68k-diab-dnix + exit ;; + M68*:*:R3V[5678]*:*) + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) + OS_REL='' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4; exit; } ;; + NCR*:*:4.2:* | MPRAS*:*:4.2:*) + OS_REL='.3' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) + echo m68k-unknown-lynxos${UNAME_RELEASE} + exit ;; + mc68030:UNIX_System_V:4.*:*) + echo m68k-atari-sysv4 + exit ;; + TSUNAMI:LynxOS:2.*:*) + echo sparc-unknown-lynxos${UNAME_RELEASE} + exit ;; + rs6000:LynxOS:2.*:*) + echo rs6000-unknown-lynxos${UNAME_RELEASE} + exit ;; + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) + echo powerpc-unknown-lynxos${UNAME_RELEASE} + exit ;; + SM[BE]S:UNIX_SV:*:*) + echo mips-dde-sysv${UNAME_RELEASE} + exit ;; + RM*:ReliantUNIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + RM*:SINIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + *:SINIX-*:*:*) + if uname -p 2>/dev/null >/dev/null ; then + UNAME_MACHINE=`(uname -p) 2>/dev/null` + echo ${UNAME_MACHINE}-sni-sysv4 + else + echo ns32k-sni-sysv + fi + exit ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says <Richard.M.Bartel@ccMail.Census.GOV> + echo i586-unisys-sysv4 + exit ;; + *:UNIX_System_V:4*:FTX*) + # From Gerald Hewes <hewes@openmarket.com>. + # How about differentiating between stratus architectures? -djm + echo hppa1.1-stratus-sysv4 + exit ;; + *:*:*:FTX*) + # From seanf@swdc.stratus.com. + echo i860-stratus-sysv4 + exit ;; + i*86:VOS:*:*) + # From Paul.Green@stratus.com. + echo ${UNAME_MACHINE}-stratus-vos + exit ;; + *:VOS:*:*) + # From Paul.Green@stratus.com. + echo hppa1.1-stratus-vos + exit ;; + mc68*:A/UX:*:*) + echo m68k-apple-aux${UNAME_RELEASE} + exit ;; + news*:NEWS-OS:6*:*) + echo mips-sony-newsos6 + exit ;; + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) + if [ -d /usr/nec ]; then + echo mips-nec-sysv${UNAME_RELEASE} + else + echo mips-unknown-sysv${UNAME_RELEASE} + fi + exit ;; + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. + echo powerpc-be-beos + exit ;; + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. + echo powerpc-apple-beos + exit ;; + BePC:BeOS:*:*) # BeOS running on Intel PC compatible. + echo i586-pc-beos + exit ;; + BePC:Haiku:*:*) # Haiku running on Intel PC compatible. + echo i586-pc-haiku + exit ;; + x86_64:Haiku:*:*) + echo x86_64-unknown-haiku + exit ;; + SX-4:SUPER-UX:*:*) + echo sx4-nec-superux${UNAME_RELEASE} + exit ;; + SX-5:SUPER-UX:*:*) + echo sx5-nec-superux${UNAME_RELEASE} + exit ;; + SX-6:SUPER-UX:*:*) + echo sx6-nec-superux${UNAME_RELEASE} + exit ;; + SX-7:SUPER-UX:*:*) + echo sx7-nec-superux${UNAME_RELEASE} + exit ;; + SX-8:SUPER-UX:*:*) + echo sx8-nec-superux${UNAME_RELEASE} + exit ;; + SX-8R:SUPER-UX:*:*) + echo sx8r-nec-superux${UNAME_RELEASE} + exit ;; + Power*:Rhapsody:*:*) + echo powerpc-apple-rhapsody${UNAME_RELEASE} + exit ;; + *:Rhapsody:*:*) + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} + exit ;; + *:Darwin:*:*) + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown + case $UNAME_PROCESSOR in + i386) + eval $set_cc_for_build + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + UNAME_PROCESSOR="x86_64" + fi + fi ;; + unknown) UNAME_PROCESSOR=powerpc ;; + esac + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} + exit ;; + *:procnto*:*:* | *:QNX:[0123456789]*:*) + UNAME_PROCESSOR=`uname -p` + if test "$UNAME_PROCESSOR" = "x86"; then + UNAME_PROCESSOR=i386 + UNAME_MACHINE=pc + fi + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} + exit ;; + *:QNX:*:4*) + echo i386-pc-qnx + exit ;; + NEO-?:NONSTOP_KERNEL:*:*) + echo neo-tandem-nsk${UNAME_RELEASE} + exit ;; + NSE-*:NONSTOP_KERNEL:*:*) + echo nse-tandem-nsk${UNAME_RELEASE} + exit ;; + NSR-?:NONSTOP_KERNEL:*:*) + echo nsr-tandem-nsk${UNAME_RELEASE} + exit ;; + *:NonStop-UX:*:*) + echo mips-compaq-nonstopux + exit ;; + BS2000:POSIX*:*:*) + echo bs2000-siemens-sysv + exit ;; + DS/*:UNIX_System_V:*:*) + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} + exit ;; + *:Plan9:*:*) + # "uname -m" is not consistent, so use $cputype instead. 386 + # is converted to i386 for consistency with other x86 + # operating systems. + if test "$cputype" = "386"; then + UNAME_MACHINE=i386 + else + UNAME_MACHINE="$cputype" + fi + echo ${UNAME_MACHINE}-unknown-plan9 + exit ;; + *:TOPS-10:*:*) + echo pdp10-unknown-tops10 + exit ;; + *:TENEX:*:*) + echo pdp10-unknown-tenex + exit ;; + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) + echo pdp10-dec-tops20 + exit ;; + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) + echo pdp10-xkl-tops20 + exit ;; + *:TOPS-20:*:*) + echo pdp10-unknown-tops20 + exit ;; + *:ITS:*:*) + echo pdp10-unknown-its + exit ;; + SEI:*:*:SEIUX) + echo mips-sei-seiux${UNAME_RELEASE} + exit ;; + *:DragonFly:*:*) + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit ;; + *:*VMS:*:*) + UNAME_MACHINE=`(uname -p) 2>/dev/null` + case "${UNAME_MACHINE}" in + A*) echo alpha-dec-vms ; exit ;; + I*) echo ia64-dec-vms ; exit ;; + V*) echo vax-dec-vms ; exit ;; + esac ;; + *:XENIX:*:SysV) + echo i386-pc-xenix + exit ;; + i*86:skyos:*:*) + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' + exit ;; + i*86:rdos:*:*) + echo ${UNAME_MACHINE}-pc-rdos + exit ;; + i*86:AROS:*:*) + echo ${UNAME_MACHINE}-pc-aros + exit ;; + x86_64:VMkernel:*:*) + echo ${UNAME_MACHINE}-unknown-esx + exit ;; +esac + +eval $set_cc_for_build +cat >$dummy.c <<EOF +#ifdef _SEQUENT_ +# include <sys/types.h> +# include <sys/utsname.h> +#endif +main () +{ +#if defined (sony) +#if defined (MIPSEB) + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, + I don't know.... */ + printf ("mips-sony-bsd\n"); exit (0); +#else +#include <sys/param.h> + printf ("m68k-sony-newsos%s\n", +#ifdef NEWSOS4 + "4" +#else + "" +#endif + ); exit (0); +#endif +#endif + +#if defined (__arm) && defined (__acorn) && defined (__unix) + printf ("arm-acorn-riscix\n"); exit (0); +#endif + +#if defined (hp300) && !defined (hpux) + printf ("m68k-hp-bsd\n"); exit (0); +#endif + +#if defined (NeXT) +#if !defined (__ARCHITECTURE__) +#define __ARCHITECTURE__ "m68k" +#endif + int version; + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; + if (version < 4) + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); + else + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); + exit (0); +#endif + +#if defined (MULTIMAX) || defined (n16) +#if defined (UMAXV) + printf ("ns32k-encore-sysv\n"); exit (0); +#else +#if defined (CMU) + printf ("ns32k-encore-mach\n"); exit (0); +#else + printf ("ns32k-encore-bsd\n"); exit (0); +#endif +#endif +#endif + +#if defined (__386BSD__) + printf ("i386-pc-bsd\n"); exit (0); +#endif + +#if defined (sequent) +#if defined (i386) + printf ("i386-sequent-dynix\n"); exit (0); +#endif +#if defined (ns32000) + printf ("ns32k-sequent-dynix\n"); exit (0); +#endif +#endif + +#if defined (_SEQUENT_) + struct utsname un; + + uname(&un); + + if (strncmp(un.version, "V2", 2) == 0) { + printf ("i386-sequent-ptx2\n"); exit (0); + } + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ + printf ("i386-sequent-ptx1\n"); exit (0); + } + printf ("i386-sequent-ptx\n"); exit (0); + +#endif + +#if defined (vax) +# if !defined (ultrix) +# include <sys/param.h> +# if defined (BSD) +# if BSD == 43 + printf ("vax-dec-bsd4.3\n"); exit (0); +# else +# if BSD == 199006 + printf ("vax-dec-bsd4.3reno\n"); exit (0); +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# endif +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# else + printf ("vax-dec-ultrix\n"); exit (0); +# endif +#endif + +#if defined (alliant) && defined (i860) + printf ("i860-alliant-bsd\n"); exit (0); +#endif + + exit (1); +} +EOF + +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } + +# Apollos put the system type in the environment. + +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } + +# Convex versions that predate uname can use getsysinfo(1) + +if [ -x /usr/convex/getsysinfo ] +then + case `getsysinfo -f cpu_type` in + c1*) + echo c1-convex-bsd + exit ;; + c2*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + c34*) + echo c34-convex-bsd + exit ;; + c38*) + echo c38-convex-bsd + exit ;; + c4*) + echo c4-convex-bsd + exit ;; + esac +fi + +cat >&2 <<EOF +$0: unable to guess system type + +This script, last modified $timestamp, has failed to recognize +the operating system you are using. It is advised that you +download the most up to date version of the config scripts from + + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD +and + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD + +If the version you run ($0) is already up to date, please +send the following data and any information you think might be +pertinent to <config-patches@gnu.org> in order to provide the needed +information to handle your system. + +config.guess timestamp = $timestamp + +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` + +hostinfo = `(hostinfo) 2>/dev/null` +/bin/universe = `(/bin/universe) 2>/dev/null` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` +/bin/arch = `(/bin/arch) 2>/dev/null` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` + +UNAME_MACHINE = ${UNAME_MACHINE} +UNAME_RELEASE = ${UNAME_RELEASE} +UNAME_SYSTEM = ${UNAME_SYSTEM} +UNAME_VERSION = ${UNAME_VERSION} +EOF + +exit 1 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/tizen/distrib/remote/common/spice-common/build-aux/config.sub b/tizen/distrib/remote/common/spice-common/build-aux/config.sub new file mode 100644 index 0000000..52f04bc --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/build-aux/config.sub @@ -0,0 +1,1790 @@ +#! /bin/sh +# Configuration validation subroutine script. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, +# 2011, 2012, 2013 Free Software Foundation, Inc. + +timestamp='2012-12-29' + +# This file 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/>. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that +# program. This Exception is an additional permission under section 7 +# of the GNU General Public License, version 3 ("GPLv3"). + + +# Please send patches with a ChangeLog entry to config-patches@gnu.org. +# +# Configuration subroutine to validate and canonicalize a configuration type. +# Supply the specified configuration type as an argument. +# If it is invalid, we print an error message on stderr and exit with code 1. +# Otherwise, we print the canonical config type on stdout and succeed. + +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD + +# This file is supposed to be the same for all GNU packages +# and recognize all the CPU types, system types and aliases +# that are meaningful with *any* GNU software. +# Each package is responsible for reporting which valid configurations +# it does not support. The user should be able to distinguish +# a failure to support a valid configuration from a meaningless +# configuration. + +# The goal of this file is to map all the various variations of a given +# machine specification into a single specification in the form: +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or in some cases, the newer four-part form: +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM +# It is wrong to echo any other type of specification. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] CPU-MFR-OPSYS + $0 [OPTION] ALIAS + +Canonicalize a configuration name. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to <config-patches@gnu.org>." + +version="\ +GNU config.sub ($timestamp) + +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, +2012, 2013 Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" + exit 1 ;; + + *local*) + # First pass through any local machine types. + echo $1 + exit ;; + + * ) + break ;; + esac +done + +case $# in + 0) echo "$me: missing argument$help" >&2 + exit 1;; + 1) ;; + *) echo "$me: too many arguments$help" >&2 + exit 1;; +esac + +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). +# Here we must recognize all the valid KERNEL-OS combinations. +maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` +case $maybe_os in + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ + linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ + knetbsd*-gnu* | netbsd*-gnu* | \ + kopensolaris*-gnu* | \ + storm-chaos* | os2-emx* | rtmk-nova*) + os=-$maybe_os + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` + ;; + android-linux) + os=-linux-android + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown + ;; + *) + basic_machine=`echo $1 | sed 's/-[^-]*$//'` + if [ $basic_machine != $1 ] + then os=`echo $1 | sed 's/.*-/-/'` + else os=; fi + ;; +esac + +### Let's recognize common machines as not being operating systems so +### that things like config.sub decstation-3100 work. We also +### recognize some manufacturers as not being operating systems, so we +### can provide default operating systems below. +case $os in + -sun*os*) + # Prevent following clause from handling this invalid input. + ;; + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ + -apple | -axis | -knuth | -cray | -microblaze*) + os= + basic_machine=$1 + ;; + -bluegene*) + os=-cnk + ;; + -sim | -cisco | -oki | -wec | -winbond) + os= + basic_machine=$1 + ;; + -scout) + ;; + -wrs) + os=-vxworks + basic_machine=$1 + ;; + -chorusos*) + os=-chorusos + basic_machine=$1 + ;; + -chorusrdb) + os=-chorusrdb + basic_machine=$1 + ;; + -hiux*) + os=-hiuxwe2 + ;; + -sco6) + os=-sco5v6 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco5) + os=-sco3.2v5 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco4) + os=-sco3.2v4 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2.[4-9]*) + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2v[4-9]*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco5v6*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco*) + os=-sco3.2v2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -udk*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -isc) + os=-isc2.2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -clix*) + basic_machine=clipper-intergraph + ;; + -isc*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -lynx*178) + os=-lynxos178 + ;; + -lynx*5) + os=-lynxos5 + ;; + -lynx*) + os=-lynxos + ;; + -ptx*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` + ;; + -windowsnt*) + os=`echo $os | sed -e 's/windowsnt/winnt/'` + ;; + -psos*) + os=-psos + ;; + -mint | -mint[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; +esac + +# Decode aliases for certain CPU-COMPANY combinations. +case $basic_machine in + # Recognize the basic CPU types without company name. + # Some are omitted here because they have special meanings below. + 1750a | 580 \ + | a29k \ + | aarch64 | aarch64_be \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ + | arc \ + | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ + | avr | avr32 \ + | be32 | be64 \ + | bfin \ + | c4x | clipper \ + | d10v | d30v | dlx | dsp16xx \ + | epiphany \ + | fido | fr30 | frv \ + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | hexagon \ + | i370 | i860 | i960 | ia64 \ + | ip2k | iq2000 \ + | le32 | le64 \ + | lm32 \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ + | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64el \ + | mips64octeon | mips64octeonel \ + | mips64orion | mips64orionel \ + | mips64r5900 | mips64r5900el \ + | mips64vr | mips64vrel \ + | mips64vr4100 | mips64vr4100el \ + | mips64vr4300 | mips64vr4300el \ + | mips64vr5000 | mips64vr5000el \ + | mips64vr5900 | mips64vr5900el \ + | mipsisa32 | mipsisa32el \ + | mipsisa32r2 | mipsisa32r2el \ + | mipsisa64 | mipsisa64el \ + | mipsisa64r2 | mipsisa64r2el \ + | mipsisa64sb1 | mipsisa64sb1el \ + | mipsisa64sr71k | mipsisa64sr71kel \ + | mipstx39 | mipstx39el \ + | mn10200 | mn10300 \ + | moxie \ + | mt \ + | msp430 \ + | nds32 | nds32le | nds32be \ + | nios | nios2 \ + | ns16k | ns32k \ + | open8 \ + | or32 \ + | pdp10 | pdp11 | pj | pjl \ + | powerpc | powerpc64 | powerpc64le | powerpcle \ + | pyramid \ + | rl78 | rx \ + | score \ + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ + | sh64 | sh64le \ + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ + | spu \ + | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ + | ubicom32 \ + | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ + | we32k \ + | x86 | xc16x | xstormy16 | xtensa \ + | z8k | z80) + basic_machine=$basic_machine-unknown + ;; + c54x) + basic_machine=tic54x-unknown + ;; + c55x) + basic_machine=tic55x-unknown + ;; + c6x) + basic_machine=tic6x-unknown + ;; + m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) + basic_machine=$basic_machine-unknown + os=-none + ;; + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) + ;; + ms1) + basic_machine=mt-unknown + ;; + + strongarm | thumb | xscale) + basic_machine=arm-unknown + ;; + xgate) + basic_machine=$basic_machine-unknown + os=-none + ;; + xscaleeb) + basic_machine=armeb-unknown + ;; + + xscaleel) + basic_machine=armel-unknown + ;; + + # We use `pc' rather than `unknown' + # because (1) that's what they normally are, and + # (2) the word "unknown" tends to confuse beginning users. + i*86 | x86_64) + basic_machine=$basic_machine-pc + ;; + # Object if more than one company name word. + *-*-*) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; + # Recognize the basic CPU types with company name. + 580-* \ + | a29k-* \ + | aarch64-* | aarch64_be-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ + | avr-* | avr32-* \ + | be32-* | be64-* \ + | bfin-* | bs2000-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* \ + | clipper-* | craynv-* | cydra-* \ + | d10v-* | d30v-* | dlx-* \ + | elxsi-* \ + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ + | h8300-* | h8500-* \ + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ + | hexagon-* \ + | i*86-* | i860-* | i960-* | ia64-* \ + | ip2k-* | iq2000-* \ + | le32-* | le64-* \ + | lm32-* \ + | m32c-* | m32r-* | m32rle-* \ + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ + | microblaze-* | microblazeel-* \ + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ + | mips16-* \ + | mips64-* | mips64el-* \ + | mips64octeon-* | mips64octeonel-* \ + | mips64orion-* | mips64orionel-* \ + | mips64r5900-* | mips64r5900el-* \ + | mips64vr-* | mips64vrel-* \ + | mips64vr4100-* | mips64vr4100el-* \ + | mips64vr4300-* | mips64vr4300el-* \ + | mips64vr5000-* | mips64vr5000el-* \ + | mips64vr5900-* | mips64vr5900el-* \ + | mipsisa32-* | mipsisa32el-* \ + | mipsisa32r2-* | mipsisa32r2el-* \ + | mipsisa64-* | mipsisa64el-* \ + | mipsisa64r2-* | mipsisa64r2el-* \ + | mipsisa64sb1-* | mipsisa64sb1el-* \ + | mipsisa64sr71k-* | mipsisa64sr71kel-* \ + | mipstx39-* | mipstx39el-* \ + | mmix-* \ + | mt-* \ + | msp430-* \ + | nds32-* | nds32le-* | nds32be-* \ + | nios-* | nios2-* \ + | none-* | np1-* | ns16k-* | ns32k-* \ + | open8-* \ + | orion-* \ + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ + | pyramid-* \ + | rl78-* | romp-* | rs6000-* | rx-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ + | sparclite-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ + | tahoe-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tile*-* \ + | tron-* \ + | ubicom32-* \ + | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ + | vax-* \ + | we32k-* \ + | x86-* | x86_64-* | xc16x-* | xps100-* \ + | xstormy16-* | xtensa*-* \ + | ymp-* \ + | z8k-* | z80-*) + ;; + # Recognize the basic CPU types without company name, with glob match. + xtensa*) + basic_machine=$basic_machine-unknown + ;; + # Recognize the various machine names and aliases which stand + # for a CPU type and a company and sometimes even an OS. + 386bsd) + basic_machine=i386-unknown + os=-bsd + ;; + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) + basic_machine=m68000-att + ;; + 3b*) + basic_machine=we32k-att + ;; + a29khif) + basic_machine=a29k-amd + os=-udi + ;; + abacus) + basic_machine=abacus-unknown + ;; + adobe68k) + basic_machine=m68010-adobe + os=-scout + ;; + alliant | fx80) + basic_machine=fx80-alliant + ;; + altos | altos3068) + basic_machine=m68k-altos + ;; + am29k) + basic_machine=a29k-none + os=-bsd + ;; + amd64) + basic_machine=x86_64-pc + ;; + amd64-*) + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + amdahl) + basic_machine=580-amdahl + os=-sysv + ;; + amiga | amiga-*) + basic_machine=m68k-unknown + ;; + amigaos | amigados) + basic_machine=m68k-unknown + os=-amigaos + ;; + amigaunix | amix) + basic_machine=m68k-unknown + os=-sysv4 + ;; + apollo68) + basic_machine=m68k-apollo + os=-sysv + ;; + apollo68bsd) + basic_machine=m68k-apollo + os=-bsd + ;; + aros) + basic_machine=i386-pc + os=-aros + ;; + aux) + basic_machine=m68k-apple + os=-aux + ;; + balance) + basic_machine=ns32k-sequent + os=-dynix + ;; + blackfin) + basic_machine=bfin-unknown + os=-linux + ;; + blackfin-*) + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + bluegene*) + basic_machine=powerpc-ibm + os=-cnk + ;; + c54x-*) + basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c55x-*) + basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c6x-*) + basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c90) + basic_machine=c90-cray + os=-unicos + ;; + cegcc) + basic_machine=arm-unknown + os=-cegcc + ;; + convex-c1) + basic_machine=c1-convex + os=-bsd + ;; + convex-c2) + basic_machine=c2-convex + os=-bsd + ;; + convex-c32) + basic_machine=c32-convex + os=-bsd + ;; + convex-c34) + basic_machine=c34-convex + os=-bsd + ;; + convex-c38) + basic_machine=c38-convex + os=-bsd + ;; + cray | j90) + basic_machine=j90-cray + os=-unicos + ;; + craynv) + basic_machine=craynv-cray + os=-unicosmp + ;; + cr16 | cr16-*) + basic_machine=cr16-unknown + os=-elf + ;; + crds | unos) + basic_machine=m68k-crds + ;; + crisv32 | crisv32-* | etraxfs*) + basic_machine=crisv32-axis + ;; + cris | cris-* | etrax*) + basic_machine=cris-axis + ;; + crx) + basic_machine=crx-unknown + os=-elf + ;; + da30 | da30-*) + basic_machine=m68k-da30 + ;; + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) + basic_machine=mips-dec + ;; + decsystem10* | dec10*) + basic_machine=pdp10-dec + os=-tops10 + ;; + decsystem20* | dec20*) + basic_machine=pdp10-dec + os=-tops20 + ;; + delta | 3300 | motorola-3300 | motorola-delta \ + | 3300-motorola | delta-motorola) + basic_machine=m68k-motorola + ;; + delta88) + basic_machine=m88k-motorola + os=-sysv3 + ;; + dicos) + basic_machine=i686-pc + os=-dicos + ;; + djgpp) + basic_machine=i586-pc + os=-msdosdjgpp + ;; + dpx20 | dpx20-*) + basic_machine=rs6000-bull + os=-bosx + ;; + dpx2* | dpx2*-bull) + basic_machine=m68k-bull + os=-sysv3 + ;; + ebmon29k) + basic_machine=a29k-amd + os=-ebmon + ;; + elxsi) + basic_machine=elxsi-elxsi + os=-bsd + ;; + encore | umax | mmax) + basic_machine=ns32k-encore + ;; + es1800 | OSE68k | ose68k | ose | OSE) + basic_machine=m68k-ericsson + os=-ose + ;; + fx2800) + basic_machine=i860-alliant + ;; + genix) + basic_machine=ns32k-ns + ;; + gmicro) + basic_machine=tron-gmicro + os=-sysv + ;; + go32) + basic_machine=i386-pc + os=-go32 + ;; + h3050r* | hiux*) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + h8300hms) + basic_machine=h8300-hitachi + os=-hms + ;; + h8300xray) + basic_machine=h8300-hitachi + os=-xray + ;; + h8500hms) + basic_machine=h8500-hitachi + os=-hms + ;; + harris) + basic_machine=m88k-harris + os=-sysv3 + ;; + hp300-*) + basic_machine=m68k-hp + ;; + hp300bsd) + basic_machine=m68k-hp + os=-bsd + ;; + hp300hpux) + basic_machine=m68k-hp + os=-hpux + ;; + hp3k9[0-9][0-9] | hp9[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k2[0-9][0-9] | hp9k31[0-9]) + basic_machine=m68000-hp + ;; + hp9k3[2-9][0-9]) + basic_machine=m68k-hp + ;; + hp9k6[0-9][0-9] | hp6[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k7[0-79][0-9] | hp7[0-79][0-9]) + basic_machine=hppa1.1-hp + ;; + hp9k78[0-9] | hp78[0-9]) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][13679] | hp8[0-9][13679]) + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][0-9] | hp8[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hppa-next) + os=-nextstep3 + ;; + hppaosf) + basic_machine=hppa1.1-hp + os=-osf + ;; + hppro) + basic_machine=hppa1.1-hp + os=-proelf + ;; + i370-ibm* | ibm*) + basic_machine=i370-ibm + ;; + i*86v32) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv32 + ;; + i*86v4*) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv4 + ;; + i*86v) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv + ;; + i*86sol2) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-solaris2 + ;; + i386mach) + basic_machine=i386-mach + os=-mach + ;; + i386-vsta | vsta) + basic_machine=i386-unknown + os=-vsta + ;; + iris | iris4d) + basic_machine=mips-sgi + case $os in + -irix*) + ;; + *) + os=-irix4 + ;; + esac + ;; + isi68 | isi) + basic_machine=m68k-isi + os=-sysv + ;; + m68knommu) + basic_machine=m68k-unknown + os=-linux + ;; + m68knommu-*) + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + m88k-omron*) + basic_machine=m88k-omron + ;; + magnum | m3230) + basic_machine=mips-mips + os=-sysv + ;; + merlin) + basic_machine=ns32k-utek + os=-sysv + ;; + microblaze*) + basic_machine=microblaze-xilinx + ;; + mingw64) + basic_machine=x86_64-pc + os=-mingw64 + ;; + mingw32) + basic_machine=i386-pc + os=-mingw32 + ;; + mingw32ce) + basic_machine=arm-unknown + os=-mingw32ce + ;; + miniframe) + basic_machine=m68000-convergent + ;; + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; + mips3*-*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` + ;; + mips3*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown + ;; + monitor) + basic_machine=m68k-rom68k + os=-coff + ;; + morphos) + basic_machine=powerpc-unknown + os=-morphos + ;; + msdos) + basic_machine=i386-pc + os=-msdos + ;; + ms1-*) + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` + ;; + msys) + basic_machine=i386-pc + os=-msys + ;; + mvs) + basic_machine=i370-ibm + os=-mvs + ;; + nacl) + basic_machine=le32-unknown + os=-nacl + ;; + ncr3000) + basic_machine=i486-ncr + os=-sysv4 + ;; + netbsd386) + basic_machine=i386-unknown + os=-netbsd + ;; + netwinder) + basic_machine=armv4l-rebel + os=-linux + ;; + news | news700 | news800 | news900) + basic_machine=m68k-sony + os=-newsos + ;; + news1000) + basic_machine=m68030-sony + os=-newsos + ;; + news-3600 | risc-news) + basic_machine=mips-sony + os=-newsos + ;; + necv70) + basic_machine=v70-nec + os=-sysv + ;; + next | m*-next ) + basic_machine=m68k-next + case $os in + -nextstep* ) + ;; + -ns2*) + os=-nextstep2 + ;; + *) + os=-nextstep3 + ;; + esac + ;; + nh3000) + basic_machine=m68k-harris + os=-cxux + ;; + nh[45]000) + basic_machine=m88k-harris + os=-cxux + ;; + nindy960) + basic_machine=i960-intel + os=-nindy + ;; + mon960) + basic_machine=i960-intel + os=-mon960 + ;; + nonstopux) + basic_machine=mips-compaq + os=-nonstopux + ;; + np1) + basic_machine=np1-gould + ;; + neo-tandem) + basic_machine=neo-tandem + ;; + nse-tandem) + basic_machine=nse-tandem + ;; + nsr-tandem) + basic_machine=nsr-tandem + ;; + op50n-* | op60c-*) + basic_machine=hppa1.1-oki + os=-proelf + ;; + openrisc | openrisc-*) + basic_machine=or32-unknown + ;; + os400) + basic_machine=powerpc-ibm + os=-os400 + ;; + OSE68000 | ose68000) + basic_machine=m68000-ericsson + os=-ose + ;; + os68k) + basic_machine=m68k-none + os=-os68k + ;; + pa-hitachi) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + paragon) + basic_machine=i860-intel + os=-osf + ;; + parisc) + basic_machine=hppa-unknown + os=-linux + ;; + parisc-*) + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + pbd) + basic_machine=sparc-tti + ;; + pbb) + basic_machine=m68k-tti + ;; + pc532 | pc532-*) + basic_machine=ns32k-pc532 + ;; + pc98) + basic_machine=i386-pc + ;; + pc98-*) + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium | p5 | k5 | k6 | nexgen | viac3) + basic_machine=i586-pc + ;; + pentiumpro | p6 | 6x86 | athlon | athlon_*) + basic_machine=i686-pc + ;; + pentiumii | pentium2 | pentiumiii | pentium3) + basic_machine=i686-pc + ;; + pentium4) + basic_machine=i786-pc + ;; + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) + basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumpro-* | p6-* | 6x86-* | athlon-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium4-*) + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pn) + basic_machine=pn-gould + ;; + power) basic_machine=power-ibm + ;; + ppc | ppcbe) basic_machine=powerpc-unknown + ;; + ppc-* | ppcbe-*) + basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppcle | powerpclittle | ppc-le | powerpc-little) + basic_machine=powerpcle-unknown + ;; + ppcle-* | powerpclittle-*) + basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64) basic_machine=powerpc64-unknown + ;; + ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64le | powerpc64little | ppc64-le | powerpc64-little) + basic_machine=powerpc64le-unknown + ;; + ppc64le-* | powerpc64little-*) + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ps2) + basic_machine=i386-ibm + ;; + pw32) + basic_machine=i586-unknown + os=-pw32 + ;; + rdos | rdos64) + basic_machine=x86_64-pc + os=-rdos + ;; + rdos32) + basic_machine=i386-pc + os=-rdos + ;; + rom68k) + basic_machine=m68k-rom68k + os=-coff + ;; + rm[46]00) + basic_machine=mips-siemens + ;; + rtpc | rtpc-*) + basic_machine=romp-ibm + ;; + s390 | s390-*) + basic_machine=s390-ibm + ;; + s390x | s390x-*) + basic_machine=s390x-ibm + ;; + sa29200) + basic_machine=a29k-amd + os=-udi + ;; + sb1) + basic_machine=mipsisa64sb1-unknown + ;; + sb1el) + basic_machine=mipsisa64sb1el-unknown + ;; + sde) + basic_machine=mipsisa32-sde + os=-elf + ;; + sei) + basic_machine=mips-sei + os=-seiux + ;; + sequent) + basic_machine=i386-sequent + ;; + sh) + basic_machine=sh-hitachi + os=-hms + ;; + sh5el) + basic_machine=sh5le-unknown + ;; + sh64) + basic_machine=sh64-unknown + ;; + sparclite-wrs | simso-wrs) + basic_machine=sparclite-wrs + os=-vxworks + ;; + sps7) + basic_machine=m68k-bull + os=-sysv2 + ;; + spur) + basic_machine=spur-unknown + ;; + st2000) + basic_machine=m68k-tandem + ;; + stratus) + basic_machine=i860-stratus + os=-sysv4 + ;; + strongarm-* | thumb-*) + basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + sun2) + basic_machine=m68000-sun + ;; + sun2os3) + basic_machine=m68000-sun + os=-sunos3 + ;; + sun2os4) + basic_machine=m68000-sun + os=-sunos4 + ;; + sun3os3) + basic_machine=m68k-sun + os=-sunos3 + ;; + sun3os4) + basic_machine=m68k-sun + os=-sunos4 + ;; + sun4os3) + basic_machine=sparc-sun + os=-sunos3 + ;; + sun4os4) + basic_machine=sparc-sun + os=-sunos4 + ;; + sun4sol2) + basic_machine=sparc-sun + os=-solaris2 + ;; + sun3 | sun3-*) + basic_machine=m68k-sun + ;; + sun4) + basic_machine=sparc-sun + ;; + sun386 | sun386i | roadrunner) + basic_machine=i386-sun + ;; + sv1) + basic_machine=sv1-cray + os=-unicos + ;; + symmetry) + basic_machine=i386-sequent + os=-dynix + ;; + t3e) + basic_machine=alphaev5-cray + os=-unicos + ;; + t90) + basic_machine=t90-cray + os=-unicos + ;; + tile*) + basic_machine=$basic_machine-unknown + os=-linux-gnu + ;; + tx39) + basic_machine=mipstx39-unknown + ;; + tx39el) + basic_machine=mipstx39el-unknown + ;; + toad1) + basic_machine=pdp10-xkl + os=-tops20 + ;; + tower | tower-32) + basic_machine=m68k-ncr + ;; + tpf) + basic_machine=s390x-ibm + os=-tpf + ;; + udi29k) + basic_machine=a29k-amd + os=-udi + ;; + ultra3) + basic_machine=a29k-nyu + os=-sym1 + ;; + v810 | necv810) + basic_machine=v810-nec + os=-none + ;; + vaxv) + basic_machine=vax-dec + os=-sysv + ;; + vms) + basic_machine=vax-dec + os=-vms + ;; + vpp*|vx|vx-*) + basic_machine=f301-fujitsu + ;; + vxworks960) + basic_machine=i960-wrs + os=-vxworks + ;; + vxworks68) + basic_machine=m68k-wrs + os=-vxworks + ;; + vxworks29k) + basic_machine=a29k-wrs + os=-vxworks + ;; + w65*) + basic_machine=w65-wdc + os=-none + ;; + w89k-*) + basic_machine=hppa1.1-winbond + os=-proelf + ;; + xbox) + basic_machine=i686-pc + os=-mingw32 + ;; + xps | xps100) + basic_machine=xps100-honeywell + ;; + xscale-* | xscalee[bl]-*) + basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` + ;; + ymp) + basic_machine=ymp-cray + os=-unicos + ;; + z8k-*-coff) + basic_machine=z8k-unknown + os=-sim + ;; + z80-*-coff) + basic_machine=z80-unknown + os=-sim + ;; + none) + basic_machine=none-none + os=-none + ;; + +# Here we handle the default manufacturer of certain CPU types. It is in +# some cases the only manufacturer, in others, it is the most popular. + w89k) + basic_machine=hppa1.1-winbond + ;; + op50n) + basic_machine=hppa1.1-oki + ;; + op60c) + basic_machine=hppa1.1-oki + ;; + romp) + basic_machine=romp-ibm + ;; + mmix) + basic_machine=mmix-knuth + ;; + rs6000) + basic_machine=rs6000-ibm + ;; + vax) + basic_machine=vax-dec + ;; + pdp10) + # there are many clones, so DEC is not a safe bet + basic_machine=pdp10-unknown + ;; + pdp11) + basic_machine=pdp11-dec + ;; + we32k) + basic_machine=we32k-att + ;; + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) + basic_machine=sh-unknown + ;; + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) + basic_machine=sparc-sun + ;; + cydra) + basic_machine=cydra-cydrome + ;; + orion) + basic_machine=orion-highlevel + ;; + orion105) + basic_machine=clipper-highlevel + ;; + mac | mpw | mac-mpw) + basic_machine=m68k-apple + ;; + pmac | pmac-mpw) + basic_machine=powerpc-apple + ;; + *-unknown) + # Make sure to match an already-canonicalized machine name. + ;; + *) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; +esac + +# Here we canonicalize certain aliases for manufacturers. +case $basic_machine in + *-digital*) + basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` + ;; + *-commodore*) + basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` + ;; + *) + ;; +esac + +# Decode manufacturer-specific aliases for certain operating systems. + +if [ x"$os" != x"" ] +then +case $os in + # First match some system type aliases + # that might get confused with valid system types. + # -solaris* is a basic system type, with this one exception. + -auroraux) + os=-auroraux + ;; + -solaris1 | -solaris1.*) + os=`echo $os | sed -e 's|solaris1|sunos4|'` + ;; + -solaris) + os=-solaris2 + ;; + -svr4*) + os=-sysv4 + ;; + -unixware*) + os=-sysv4.2uw + ;; + -gnu/linux*) + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` + ;; + # First accept the basic system types. + # The portable systems comes first. + # Each alternative MUST END IN A *, to match a version number. + # -sysv* is not here because it comes later, after sysvr4. + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ + | -sym* | -kopensolaris* \ + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ + | -aos* | -aros* \ + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ + | -bitrig* | -openbsd* | -solidbsd* \ + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ + | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* | -cegcc* \ + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ + | -linux-newlib* | -linux-musl* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) + # Remember, each alternative MUST END IN *, to match a version number. + ;; + -qnx*) + case $basic_machine in + x86-* | i*86-*) + ;; + *) + os=-nto$os + ;; + esac + ;; + -nto-qnx*) + ;; + -nto*) + os=`echo $os | sed -e 's|nto|nto-qnx|'` + ;; + -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) + ;; + -mac*) + os=`echo $os | sed -e 's|mac|macos|'` + ;; + -linux-dietlibc) + os=-linux-dietlibc + ;; + -linux*) + os=`echo $os | sed -e 's|linux|linux-gnu|'` + ;; + -sunos5*) + os=`echo $os | sed -e 's|sunos5|solaris2|'` + ;; + -sunos6*) + os=`echo $os | sed -e 's|sunos6|solaris3|'` + ;; + -opened*) + os=-openedition + ;; + -os400*) + os=-os400 + ;; + -wince*) + os=-wince + ;; + -osfrose*) + os=-osfrose + ;; + -osf*) + os=-osf + ;; + -utek*) + os=-bsd + ;; + -dynix*) + os=-bsd + ;; + -acis*) + os=-aos + ;; + -atheos*) + os=-atheos + ;; + -syllable*) + os=-syllable + ;; + -386bsd) + os=-bsd + ;; + -ctix* | -uts*) + os=-sysv + ;; + -nova*) + os=-rtmk-nova + ;; + -ns2 ) + os=-nextstep2 + ;; + -nsk*) + os=-nsk + ;; + # Preserve the version number of sinix5. + -sinix5.*) + os=`echo $os | sed -e 's|sinix|sysv|'` + ;; + -sinix*) + os=-sysv4 + ;; + -tpf*) + os=-tpf + ;; + -triton*) + os=-sysv3 + ;; + -oss*) + os=-sysv3 + ;; + -svr4) + os=-sysv4 + ;; + -svr3) + os=-sysv3 + ;; + -sysvr4) + os=-sysv4 + ;; + # This must come after -sysvr4. + -sysv*) + ;; + -ose*) + os=-ose + ;; + -es1800*) + os=-ose + ;; + -xenix) + os=-xenix + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + os=-mint + ;; + -aros*) + os=-aros + ;; + -kaos*) + os=-kaos + ;; + -zvmoe) + os=-zvmoe + ;; + -dicos*) + os=-dicos + ;; + -nacl*) + ;; + -none) + ;; + *) + # Get rid of the `-' at the beginning of $os. + os=`echo $os | sed 's/[^-]*-//'` + echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 + exit 1 + ;; +esac +else + +# Here we handle the default operating systems that come with various machines. +# The value should be what the vendor currently ships out the door with their +# machine or put another way, the most popular os provided with the machine. + +# Note that if you're going to try to match "-MANUFACTURER" here (say, +# "-sun"), then you have to tell the case statement up towards the top +# that MANUFACTURER isn't an operating system. Otherwise, code above +# will signal an error saying that MANUFACTURER isn't an operating +# system, and we'll never get to this point. + +case $basic_machine in + score-*) + os=-elf + ;; + spu-*) + os=-elf + ;; + *-acorn) + os=-riscix1.2 + ;; + arm*-rebel) + os=-linux + ;; + arm*-semi) + os=-aout + ;; + c4x-* | tic4x-*) + os=-coff + ;; + hexagon-*) + os=-elf + ;; + tic54x-*) + os=-coff + ;; + tic55x-*) + os=-coff + ;; + tic6x-*) + os=-coff + ;; + # This must come before the *-dec entry. + pdp10-*) + os=-tops20 + ;; + pdp11-*) + os=-none + ;; + *-dec | vax-*) + os=-ultrix4.2 + ;; + m68*-apollo) + os=-domain + ;; + i386-sun) + os=-sunos4.0.2 + ;; + m68000-sun) + os=-sunos3 + ;; + m68*-cisco) + os=-aout + ;; + mep-*) + os=-elf + ;; + mips*-cisco) + os=-elf + ;; + mips*-*) + os=-elf + ;; + or32-*) + os=-coff + ;; + *-tti) # must be before sparc entry or we get the wrong os. + os=-sysv3 + ;; + sparc-* | *-sun) + os=-sunos4.1.1 + ;; + *-be) + os=-beos + ;; + *-haiku) + os=-haiku + ;; + *-ibm) + os=-aix + ;; + *-knuth) + os=-mmixware + ;; + *-wec) + os=-proelf + ;; + *-winbond) + os=-proelf + ;; + *-oki) + os=-proelf + ;; + *-hp) + os=-hpux + ;; + *-hitachi) + os=-hiux + ;; + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) + os=-sysv + ;; + *-cbm) + os=-amigaos + ;; + *-dg) + os=-dgux + ;; + *-dolphin) + os=-sysv3 + ;; + m68k-ccur) + os=-rtu + ;; + m88k-omron*) + os=-luna + ;; + *-next ) + os=-nextstep + ;; + *-sequent) + os=-ptx + ;; + *-crds) + os=-unos + ;; + *-ns) + os=-genix + ;; + i370-*) + os=-mvs + ;; + *-next) + os=-nextstep3 + ;; + *-gould) + os=-sysv + ;; + *-highlevel) + os=-bsd + ;; + *-encore) + os=-bsd + ;; + *-sgi) + os=-irix + ;; + *-siemens) + os=-sysv4 + ;; + *-masscomp) + os=-rtu + ;; + f30[01]-fujitsu | f700-fujitsu) + os=-uxpv + ;; + *-rom68k) + os=-coff + ;; + *-*bug) + os=-coff + ;; + *-apple) + os=-macos + ;; + *-atari*) + os=-mint + ;; + *) + os=-none + ;; +esac +fi + +# Here we handle the case where we know the os, and the CPU type, but not the +# manufacturer. We pick the logical manufacturer. +vendor=unknown +case $basic_machine in + *-unknown) + case $os in + -riscix*) + vendor=acorn + ;; + -sunos*) + vendor=sun + ;; + -cnk*|-aix*) + vendor=ibm + ;; + -beos*) + vendor=be + ;; + -hpux*) + vendor=hp + ;; + -mpeix*) + vendor=hp + ;; + -hiux*) + vendor=hitachi + ;; + -unos*) + vendor=crds + ;; + -dgux*) + vendor=dg + ;; + -luna*) + vendor=omron + ;; + -genix*) + vendor=ns + ;; + -mvs* | -opened*) + vendor=ibm + ;; + -os400*) + vendor=ibm + ;; + -ptx*) + vendor=sequent + ;; + -tpf*) + vendor=ibm + ;; + -vxsim* | -vxworks* | -windiss*) + vendor=wrs + ;; + -aux*) + vendor=apple + ;; + -hms*) + vendor=hitachi + ;; + -mpw* | -macos*) + vendor=apple + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + vendor=atari + ;; + -vos*) + vendor=stratus + ;; + esac + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` + ;; +esac + +echo $basic_machine$os +exit + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/tizen/distrib/remote/common/spice-common/build-aux/depcomp b/tizen/distrib/remote/common/spice-common/build-aux/depcomp new file mode 100644 index 0000000..06b0882 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/build-aux/depcomp @@ -0,0 +1,790 @@ +#! /bin/sh +# depcomp - compile a program generating dependencies as side-effects + +scriptversion=2012-10-18.11; # UTC + +# Copyright (C) 1999-2013 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 2, 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/>. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>. + +case $1 in + '') + echo "$0: No command. Try '$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: depcomp [--help] [--version] PROGRAM [ARGS] + +Run PROGRAMS ARGS to compile a file, generating dependencies +as side-effects. + +Environment variables: + depmode Dependency tracking mode. + source Source file read by 'PROGRAMS ARGS'. + object Object file output by 'PROGRAMS ARGS'. + DEPDIR directory where to store dependencies. + depfile Dependency file to output. + tmpdepfile Temporary file to use when outputting dependencies. + libtool Whether libtool is used (yes/no). + +Report bugs to <bug-automake@gnu.org>. +EOF + exit $? + ;; + -v | --v*) + echo "depcomp $scriptversion" + exit $? + ;; +esac + +# Get the directory component of the given path, and save it in the +# global variables '$dir'. Note that this directory component will +# be either empty or ending with a '/' character. This is deliberate. +set_dir_from () +{ + case $1 in + */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; + *) dir=;; + esac +} + +# Get the suffix-stripped basename of the given path, and save it the +# global variable '$base'. +set_base_from () +{ + base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` +} + +# If no dependency file was actually created by the compiler invocation, +# we still have to create a dummy depfile, to avoid errors with the +# Makefile "include basename.Plo" scheme. +make_dummy_depfile () +{ + echo "#dummy" > "$depfile" +} + +# Factor out some common post-processing of the generated depfile. +# Requires the auxiliary global variable '$tmpdepfile' to be set. +aix_post_process_depfile () +{ + # If the compiler actually managed to produce a dependency file, + # post-process it. + if test -f "$tmpdepfile"; then + # Each line is of the form 'foo.o: dependency.h'. + # Do two passes, one to just change these to + # $object: dependency.h + # and one to simply output + # dependency.h: + # which is needed to avoid the deleted-header problem. + { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" + sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" + } > "$depfile" + rm -f "$tmpdepfile" + else + make_dummy_depfile + fi +} + +# A tabulation character. +tab=' ' +# A newline character. +nl=' +' +# Character ranges might be problematic outside the C locale. +# These definitions help. +upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ +lower=abcdefghijklmnopqrstuvwxyz +digits=0123456789 +alpha=${upper}${lower} + +if test -z "$depmode" || test -z "$source" || test -z "$object"; then + echo "depcomp: Variables source, object and depmode must be set" 1>&2 + exit 1 +fi + +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. +depfile=${depfile-`echo "$object" | + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} + +rm -f "$tmpdepfile" + +# Avoid interferences from the environment. +gccflag= dashmflag= + +# Some modes work just like other modes, but use different flags. We +# parameterize here, but still list the modes in the big case below, +# to make depend.m4 easier to write. Note that we *cannot* use a case +# here, because this file can only contain one case statement. +if test "$depmode" = hp; then + # HP compiler uses -M and no extra arg. + gccflag=-M + depmode=gcc +fi + +if test "$depmode" = dashXmstdout; then + # This is just like dashmstdout with a different argument. + dashmflag=-xM + depmode=dashmstdout +fi + +cygpath_u="cygpath -u -f -" +if test "$depmode" = msvcmsys; then + # This is just like msvisualcpp but w/o cygpath translation. + # Just convert the backslash-escaped backslashes to single forward + # slashes to satisfy depend.m4 + cygpath_u='sed s,\\\\,/,g' + depmode=msvisualcpp +fi + +if test "$depmode" = msvc7msys; then + # This is just like msvc7 but w/o cygpath translation. + # Just convert the backslash-escaped backslashes to single forward + # slashes to satisfy depend.m4 + cygpath_u='sed s,\\\\,/,g' + depmode=msvc7 +fi + +if test "$depmode" = xlc; then + # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. + gccflag=-qmakedep=gcc,-MF + depmode=gcc +fi + +case "$depmode" in +gcc3) +## gcc 3 implements dependency tracking that does exactly what +## we want. Yay! Note: for some reason libtool 1.4 doesn't like +## it if -MD -MP comes after the -MF stuff. Hmm. +## Unfortunately, FreeBSD c89 acceptance of flags depends upon +## the command line argument order; so add the flags where they +## appear in depend2.am. Note that the slowdown incurred here +## affects only configure: in makefiles, %FASTDEP% shortcuts this. + for arg + do + case $arg in + -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; + *) set fnord "$@" "$arg" ;; + esac + shift # fnord + shift # $arg + done + "$@" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + mv "$tmpdepfile" "$depfile" + ;; + +gcc) +## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. +## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. +## (see the conditional assignment to $gccflag above). +## There are various ways to get dependency output from gcc. Here's +## why we pick this rather obscure method: +## - Don't want to use -MD because we'd like the dependencies to end +## up in a subdir. Having to rename by hand is ugly. +## (We might end up doing this anyway to support other compilers.) +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like +## -MM, not -M (despite what the docs say). Also, it might not be +## supported by the other compilers which use the 'gcc' depmode. +## - Using -M directly means running the compiler twice (even worse +## than renaming). + if test -z "$gccflag"; then + gccflag=-MD, + fi + "$@" -Wp,"$gccflag$tmpdepfile" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + # The second -e expression handles DOS-style file names with drive + # letters. + sed -e 's/^[^:]*: / /' \ + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" +## This next piece of magic avoids the "deleted header file" problem. +## The problem is that when a header file which appears in a .P file +## is deleted, the dependency causes make to die (because there is +## typically no way to rebuild the header). We avoid this by adding +## dummy dependencies for each header file. Too bad gcc doesn't do +## this for us directly. +## Some versions of gcc put a space before the ':'. On the theory +## that the space means something, we add a space to the output as +## well. hp depmode also adds that space, but also prefixes the VPATH +## to the object. Take care to not repeat it in the output. +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +sgi) + if test "$libtool" = yes; then + "$@" "-Wp,-MDupdate,$tmpdepfile" + else + "$@" -MDupdate "$tmpdepfile" + fi + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files + echo "$object : \\" > "$depfile" + # Clip off the initial element (the dependent). Don't try to be + # clever and replace this with sed code, as IRIX sed won't handle + # lines with more than a fixed number of characters (4096 in + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; + # the IRIX cc adds comments like '#:fec' to the end of the + # dependency line. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ + | tr "$nl" ' ' >> "$depfile" + echo >> "$depfile" + # The second pass generates a dummy entry for each header file. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ + >> "$depfile" + else + make_dummy_depfile + fi + rm -f "$tmpdepfile" + ;; + +xlc) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +aix) + # The C for AIX Compiler uses -M and outputs the dependencies + # in a .u file. In older versions, this file always lives in the + # current directory. Also, the AIX compiler puts '$object:' at the + # start of each line; $object doesn't have directory information. + # Version 6 uses the directory in both cases. + set_dir_from "$object" + set_base_from "$object" + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.u + tmpdepfile2=$base.u + tmpdepfile3=$dir.libs/$base.u + "$@" -Wc,-M + else + tmpdepfile1=$dir$base.u + tmpdepfile2=$dir$base.u + tmpdepfile3=$dir$base.u + "$@" -M + fi + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + do + test -f "$tmpdepfile" && break + done + aix_post_process_depfile + ;; + +tcc) + # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 + # FIXME: That version still under development at the moment of writing. + # Make that this statement remains true also for stable, released + # versions. + # It will wrap lines (doesn't matter whether long or short) with a + # trailing '\', as in: + # + # foo.o : \ + # foo.c \ + # foo.h \ + # + # It will put a trailing '\' even on the last line, and will use leading + # spaces rather than leading tabs (at least since its commit 0394caf7 + # "Emit spaces for -MD"). + "$@" -MD -MF "$tmpdepfile" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. + # We have to change lines of the first kind to '$object: \'. + sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" + # And for each line of the second kind, we have to emit a 'dep.h:' + # dummy dependency, to avoid the deleted-header problem. + sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" + rm -f "$tmpdepfile" + ;; + +## The order of this option in the case statement is important, since the +## shell code in configure will try each of these formats in the order +## listed in this file. A plain '-MD' option would be understood by many +## compilers, so we must ensure this comes after the gcc and icc options. +pgcc) + # Portland's C compiler understands '-MD'. + # Will always output deps to 'file.d' where file is the root name of the + # source file under compilation, even if file resides in a subdirectory. + # The object file name does not affect the name of the '.d' file. + # pgcc 10.2 will output + # foo.o: sub/foo.c sub/foo.h + # and will wrap long lines using '\' : + # foo.o: sub/foo.c ... \ + # sub/foo.h ... \ + # ... + set_dir_from "$object" + # Use the source, not the object, to determine the base name, since + # that's sadly what pgcc will do too. + set_base_from "$source" + tmpdepfile=$base.d + + # For projects that build the same source file twice into different object + # files, the pgcc approach of using the *source* file root name can cause + # problems in parallel builds. Use a locking strategy to avoid stomping on + # the same $tmpdepfile. + lockdir=$base.d-lock + trap " + echo '$0: caught signal, cleaning up...' >&2 + rmdir '$lockdir' + exit 1 + " 1 2 13 15 + numtries=100 + i=$numtries + while test $i -gt 0; do + # mkdir is a portable test-and-set. + if mkdir "$lockdir" 2>/dev/null; then + # This process acquired the lock. + "$@" -MD + stat=$? + # Release the lock. + rmdir "$lockdir" + break + else + # If the lock is being held by a different process, wait + # until the winning process is done or we timeout. + while test -d "$lockdir" && test $i -gt 0; do + sleep 1 + i=`expr $i - 1` + done + fi + i=`expr $i - 1` + done + trap - 1 2 13 15 + if test $i -le 0; then + echo "$0: failed to acquire lock after $numtries attempts" >&2 + echo "$0: check lockdir '$lockdir'" >&2 + exit 1 + fi + + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + # Each line is of the form `foo.o: dependent.h', + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. + # Do two passes, one to just change these to + # `$object: dependent.h' and one to simply `dependent.h:'. + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process this invocation + # correctly. Breaking it into two sed invocations is a workaround. + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp2) + # The "hp" stanza above does not work with aCC (C++) and HP's ia64 + # compilers, which have integrated preprocessors. The correct option + # to use with these is +Maked; it writes dependencies to a file named + # 'foo.d', which lands next to the object file, wherever that + # happens to be. + # Much of this is similar to the tru64 case; see comments there. + set_dir_from "$object" + set_base_from "$object" + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir.libs/$base.d + "$@" -Wc,+Maked + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + "$@" +Maked + fi + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" + # Add 'dependent.h:' lines. + sed -ne '2,${ + s/^ *// + s/ \\*$// + s/$/:/ + p + }' "$tmpdepfile" >> "$depfile" + else + make_dummy_depfile + fi + rm -f "$tmpdepfile" "$tmpdepfile2" + ;; + +tru64) + # The Tru64 compiler uses -MD to generate dependencies as a side + # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put + # dependencies in 'foo.d' instead, so we check for that too. + # Subdirectories are respected. + set_dir_from "$object" + set_base_from "$object" + + if test "$libtool" = yes; then + # Libtool generates 2 separate objects for the 2 libraries. These + # two compilations output dependencies in $dir.libs/$base.o.d and + # in $dir$base.o.d. We have to check for both files, because + # one of the two compilations can be disabled. We should prefer + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is + # automatically cleaned when .libs/ is deleted, while ignoring + # the former would cause a distcleancheck panic. + tmpdepfile1=$dir$base.o.d # libtool 1.5 + tmpdepfile2=$dir.libs/$base.o.d # Likewise. + tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 + "$@" -Wc,-MD + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + tmpdepfile3=$dir$base.d + "$@" -MD + fi + + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + do + test -f "$tmpdepfile" && break + done + # Same post-processing that is required for AIX mode. + aix_post_process_depfile + ;; + +msvc7) + if test "$libtool" = yes; then + showIncludes=-Wc,-showIncludes + else + showIncludes=-showIncludes + fi + "$@" $showIncludes > "$tmpdepfile" + stat=$? + grep -v '^Note: including file: ' "$tmpdepfile" + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + # The first sed program below extracts the file names and escapes + # backslashes for cygpath. The second sed program outputs the file + # name when reading, but also accumulates all include files in the + # hold buffer in order to output them again at the end. This only + # works with sed implementations that can handle large buffers. + sed < "$tmpdepfile" -n ' +/^Note: including file: *\(.*\)/ { + s//\1/ + s/\\/\\\\/g + p +}' | $cygpath_u | sort -u | sed -n ' +s/ /\\ /g +s/\(.*\)/'"$tab"'\1 \\/p +s/.\(.*\) \\/\1:/ +H +$ { + s/.*/'"$tab"'/ + G + p +}' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvc7msys) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +#nosideeffect) + # This comment above is used by automake to tell side-effect + # dependency tracking mechanisms from slower ones. + +dashmstdout) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout, regardless of -o. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + # Remove '-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + test -z "$dashmflag" && dashmflag=-M + # Require at least two characters before searching for ':' + # in the target name. This is to cope with DOS-style filenames: + # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. + "$@" $dashmflag | + sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" + rm -f "$depfile" + cat < "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process this sed invocation + # correctly. Breaking it into two sed invocations is a workaround. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +dashXmstdout) + # This case only exists to satisfy depend.m4. It is never actually + # run, as this mode is specially recognized in the preamble. + exit 1 + ;; + +makedepend) + "$@" || exit $? + # Remove any Libtool call + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + # X makedepend + shift + cleared=no eat=no + for arg + do + case $cleared in + no) + set ""; shift + cleared=yes ;; + esac + if test $eat = yes; then + eat=no + continue + fi + case "$arg" in + -D*|-I*) + set fnord "$@" "$arg"; shift ;; + # Strip any option that makedepend may not understand. Remove + # the object too, otherwise makedepend will parse it as a source file. + -arch) + eat=yes ;; + -*|$object) + ;; + *) + set fnord "$@" "$arg"; shift ;; + esac + done + obj_suffix=`echo "$object" | sed 's/^.*\././'` + touch "$tmpdepfile" + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" + rm -f "$depfile" + # makedepend may prepend the VPATH from the source file name to the object. + # No need to regex-escape $object, excess matching of '.' is harmless. + sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process the last invocation + # correctly. Breaking it into two sed invocations is a workaround. + sed '1,2d' "$tmpdepfile" \ + | tr ' ' "$nl" \ + | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" "$tmpdepfile".bak + ;; + +cpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + # Remove '-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + "$@" -E \ + | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ + -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ + | sed '$ s: \\$::' > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + cat < "$tmpdepfile" >> "$depfile" + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvisualcpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + IFS=" " + for arg + do + case "$arg" in + -o) + shift + ;; + $object) + shift + ;; + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") + set fnord "$@" + shift + shift + ;; + *) + set fnord "$@" "$arg" + shift + shift + ;; + esac + done + "$@" -E 2>/dev/null | + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" + echo "$tab" >> "$depfile" + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvcmsys) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +none) + exec "$@" + ;; + +*) + echo "Unknown depmode $depmode" 1>&2 + exit 1 + ;; +esac + +exit 0 + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/tizen/distrib/remote/common/spice-common/build-aux/install-sh b/tizen/distrib/remote/common/spice-common/build-aux/install-sh new file mode 100644 index 0000000..377bb86 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/build-aux/install-sh @@ -0,0 +1,527 @@ +#!/bin/sh +# install - install a program, script, or datafile + +scriptversion=2011-11-20.07; # UTC + +# This originates from X11R5 (mit/util/scripts/install.sh), which was +# later released in X11R6 (xc/config/util/install.sh) with the +# following copyright and license. +# +# Copyright (C) 1994 X Consortium +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# +# Except as contained in this notice, the name of the X Consortium shall not +# be used in advertising or otherwise to promote the sale, use or other deal- +# ings in this Software without prior written authorization from the X Consor- +# tium. +# +# +# FSF changes to this file are in the public domain. +# +# Calling this script install-sh is preferred over install.sh, to prevent +# 'make' implicit rules from creating a file called install from it +# when there is no Makefile. +# +# This script is compatible with the BSD install script, but was written +# from scratch. + +nl=' +' +IFS=" "" $nl" + +# set DOITPROG to echo to test this script + +# Don't use :- since 4.3BSD and earlier shells don't like it. +doit=${DOITPROG-} +if test -z "$doit"; then + doit_exec=exec +else + doit_exec=$doit +fi + +# Put in absolute file names if you don't have them in your path; +# or use environment vars. + +chgrpprog=${CHGRPPROG-chgrp} +chmodprog=${CHMODPROG-chmod} +chownprog=${CHOWNPROG-chown} +cmpprog=${CMPPROG-cmp} +cpprog=${CPPROG-cp} +mkdirprog=${MKDIRPROG-mkdir} +mvprog=${MVPROG-mv} +rmprog=${RMPROG-rm} +stripprog=${STRIPPROG-strip} + +posix_glob='?' +initialize_posix_glob=' + test "$posix_glob" != "?" || { + if (set -f) 2>/dev/null; then + posix_glob= + else + posix_glob=: + fi + } +' + +posix_mkdir= + +# Desired mode of installed file. +mode=0755 + +chgrpcmd= +chmodcmd=$chmodprog +chowncmd= +mvcmd=$mvprog +rmcmd="$rmprog -f" +stripcmd= + +src= +dst= +dir_arg= +dst_arg= + +copy_on_change=false +no_target_directory= + +usage="\ +Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE + or: $0 [OPTION]... SRCFILES... DIRECTORY + or: $0 [OPTION]... -t DIRECTORY SRCFILES... + or: $0 [OPTION]... -d DIRECTORIES... + +In the 1st form, copy SRCFILE to DSTFILE. +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. +In the 4th, create DIRECTORIES. + +Options: + --help display this help and exit. + --version display version info and exit. + + -c (ignored) + -C install only if different (preserve the last data modification time) + -d create directories instead of installing files. + -g GROUP $chgrpprog installed files to GROUP. + -m MODE $chmodprog installed files to MODE. + -o USER $chownprog installed files to USER. + -s $stripprog installed files. + -t DIRECTORY install into DIRECTORY. + -T report an error if DSTFILE is a directory. + +Environment variables override the default commands: + CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG + RMPROG STRIPPROG +" + +while test $# -ne 0; do + case $1 in + -c) ;; + + -C) copy_on_change=true;; + + -d) dir_arg=true;; + + -g) chgrpcmd="$chgrpprog $2" + shift;; + + --help) echo "$usage"; exit $?;; + + -m) mode=$2 + case $mode in + *' '* | *' '* | *' +'* | *'*'* | *'?'* | *'['*) + echo "$0: invalid mode: $mode" >&2 + exit 1;; + esac + shift;; + + -o) chowncmd="$chownprog $2" + shift;; + + -s) stripcmd=$stripprog;; + + -t) dst_arg=$2 + # Protect names problematic for 'test' and other utilities. + case $dst_arg in + -* | [=\(\)!]) dst_arg=./$dst_arg;; + esac + shift;; + + -T) no_target_directory=true;; + + --version) echo "$0 $scriptversion"; exit $?;; + + --) shift + break;; + + -*) echo "$0: invalid option: $1" >&2 + exit 1;; + + *) break;; + esac + shift +done + +if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then + # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dst_arg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dst_arg" + shift # fnord + fi + shift # arg + dst_arg=$arg + # Protect names problematic for 'test' and other utilities. + case $dst_arg in + -* | [=\(\)!]) dst_arg=./$dst_arg;; + esac + done +fi + +if test $# -eq 0; then + if test -z "$dir_arg"; then + echo "$0: no input file specified." >&2 + exit 1 + fi + # It's OK to call 'install-sh -d' without argument. + # This can happen when creating conditional directories. + exit 0 +fi + +if test -z "$dir_arg"; then + do_exit='(exit $ret); exit $ret' + trap "ret=129; $do_exit" 1 + trap "ret=130; $do_exit" 2 + trap "ret=141; $do_exit" 13 + trap "ret=143; $do_exit" 15 + + # Set umask so as not to create temps with too-generous modes. + # However, 'strip' requires both read and write access to temps. + case $mode in + # Optimize common cases. + *644) cp_umask=133;; + *755) cp_umask=22;; + + *[0-7]) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw='% 200' + fi + cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; + *) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw=,u+rw + fi + cp_umask=$mode$u_plus_rw;; + esac +fi + +for src +do + # Protect names problematic for 'test' and other utilities. + case $src in + -* | [=\(\)!]) src=./$src;; + esac + + if test -n "$dir_arg"; then + dst=$src + dstdir=$dst + test -d "$dstdir" + dstdir_status=$? + else + + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command + # might cause directories to be created, which would be especially bad + # if $src (and thus $dsttmp) contains '*'. + if test ! -f "$src" && test ! -d "$src"; then + echo "$0: $src does not exist." >&2 + exit 1 + fi + + if test -z "$dst_arg"; then + echo "$0: no destination specified." >&2 + exit 1 + fi + dst=$dst_arg + + # If destination is a directory, append the input filename; won't work + # if double slashes aren't ignored. + if test -d "$dst"; then + if test -n "$no_target_directory"; then + echo "$0: $dst_arg: Is a directory" >&2 + exit 1 + fi + dstdir=$dst + dst=$dstdir/`basename "$src"` + dstdir_status=0 + else + # Prefer dirname, but fall back on a substitute if dirname fails. + dstdir=` + (dirname "$dst") 2>/dev/null || + expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$dst" : 'X\(//\)[^/]' \| \ + X"$dst" : 'X\(//\)$' \| \ + X"$dst" : 'X\(/\)' \| . 2>/dev/null || + echo X"$dst" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q' + ` + + test -d "$dstdir" + dstdir_status=$? + fi + fi + + obsolete_mkdir_used=false + + if test $dstdir_status != 0; then + case $posix_mkdir in + '') + # Create intermediate dirs using mode 755 as modified by the umask. + # This is like FreeBSD 'install' as of 1997-10-28. + umask=`umask` + case $stripcmd.$umask in + # Optimize common cases. + *[2367][2367]) mkdir_umask=$umask;; + .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; + + *[0-7]) + mkdir_umask=`expr $umask + 22 \ + - $umask % 100 % 40 + $umask % 20 \ + - $umask % 10 % 4 + $umask % 2 + `;; + *) mkdir_umask=$umask,go-w;; + esac + + # With -d, create the new directory with the user-specified mode. + # Otherwise, rely on $mkdir_umask. + if test -n "$dir_arg"; then + mkdir_mode=-m$mode + else + mkdir_mode= + fi + + posix_mkdir=false + case $umask in + *[123567][0-7][0-7]) + # POSIX mkdir -p sets u+wx bits regardless of umask, which + # is incompatible with FreeBSD 'install' when (umask & 300) != 0. + ;; + *) + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 + + if (umask $mkdir_umask && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 + then + if test -z "$dir_arg" || { + # Check for POSIX incompatibilities with -m. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or + # other-writable bit of parent directory when it shouldn't. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. + ls_ld_tmpdir=`ls -ld "$tmpdir"` + case $ls_ld_tmpdir in + d????-?r-*) different_mode=700;; + d????-?--*) different_mode=755;; + *) false;; + esac && + $mkdirprog -m$different_mode -p -- "$tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$tmpdir"` + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" + } + } + then posix_mkdir=: + fi + rmdir "$tmpdir/d" "$tmpdir" + else + # Remove any dirs left behind by ancient mkdir implementations. + rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null + fi + trap '' 0;; + esac;; + esac + + if + $posix_mkdir && ( + umask $mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" + ) + then : + else + + # The umask is ridiculous, or mkdir does not conform to POSIX, + # or it failed possibly due to a race condition. Create the + # directory the slow way, step by step, checking for races as we go. + + case $dstdir in + /*) prefix='/';; + [-=\(\)!]*) prefix='./';; + *) prefix='';; + esac + + eval "$initialize_posix_glob" + + oIFS=$IFS + IFS=/ + $posix_glob set -f + set fnord $dstdir + shift + $posix_glob set +f + IFS=$oIFS + + prefixes= + + for d + do + test X"$d" = X && continue + + prefix=$prefix$d + if test -d "$prefix"; then + prefixes= + else + if $posix_mkdir; then + (umask=$mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break + # Don't fail if two instances are running concurrently. + test -d "$prefix" || exit 1 + else + case $prefix in + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; + *) qprefix=$prefix;; + esac + prefixes="$prefixes '$qprefix'" + fi + fi + prefix=$prefix/ + done + + if test -n "$prefixes"; then + # Don't fail if two instances are running concurrently. + (umask $mkdir_umask && + eval "\$doit_exec \$mkdirprog $prefixes") || + test -d "$dstdir" || exit 1 + obsolete_mkdir_used=true + fi + fi + fi + + if test -n "$dir_arg"; then + { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && + { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || + test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 + else + + # Make a couple of temp file names in the proper directory. + dsttmp=$dstdir/_inst.$$_ + rmtmp=$dstdir/_rm.$$_ + + # Trap to clean up those temp files at exit. + trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 + + # Copy the file name to the temp name. + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && + + # and set any options; do chmod last to preserve setuid bits. + # + # If any of these fail, we abort the whole thing. If we want to + # ignore errors from any of these, just make sure not to ignore + # errors from the above "$doit $cpprog $src $dsttmp" command. + # + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && + { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && + { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && + + # If -C, don't bother to copy if it wouldn't change the file. + if $copy_on_change && + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && + + eval "$initialize_posix_glob" && + $posix_glob set -f && + set X $old && old=:$2:$4:$5:$6 && + set X $new && new=:$2:$4:$5:$6 && + $posix_glob set +f && + + test "$old" = "$new" && + $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 + then + rm -f "$dsttmp" + else + # Rename the file to the real destination. + $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || + + # The rename failed, perhaps because mv can't rename something else + # to itself, or perhaps because mv is so ancient that it does not + # support -f. + { + # Now remove or move aside any old file at destination location. + # We try this two ways since rm can't unlink itself on some + # systems and the destination file might be busy for other + # reasons. In this case, the final cleanup might fail but the new + # file should still install successfully. + { + test ! -f "$dst" || + $doit $rmcmd -f "$dst" 2>/dev/null || + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && + { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } + } || + { echo "$0: cannot unlink or rename $dst" >&2 + (exit 1); exit 1 + } + } && + + # Now rename the file to the real destination. + $doit $mvcmd "$dsttmp" "$dst" + } + fi || exit 1 + + trap '' 0 + fi +done + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/tizen/distrib/remote/common/spice-common/build-aux/ltmain.sh b/tizen/distrib/remote/common/spice-common/build-aux/ltmain.sh new file mode 100644 index 0000000..63ae69d --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/build-aux/ltmain.sh @@ -0,0 +1,9655 @@ + +# libtool (GNU libtool) 2.4.2 +# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, +# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. +# This is free software; see the source for copying conditions. There is NO +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +# GNU Libtool 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. +# +# As a special exception to the GNU General Public License, +# if you distribute this file as part of a program or library that +# is built using GNU Libtool, you may include this file under the +# same distribution terms that you use for the rest of that program. +# +# GNU Libtool 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 GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, +# or obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +# Usage: $progname [OPTION]... [MODE-ARG]... +# +# Provide generalized library-building support services. +# +# --config show all configuration variables +# --debug enable verbose shell tracing +# -n, --dry-run display commands without modifying any files +# --features display basic configuration information and exit +# --mode=MODE use operation mode MODE +# --preserve-dup-deps don't remove duplicate dependency libraries +# --quiet, --silent don't print informational messages +# --no-quiet, --no-silent +# print informational messages (default) +# --no-warn don't display warning messages +# --tag=TAG use configuration variables from tag TAG +# -v, --verbose print more informational messages than default +# --no-verbose don't print the extra informational messages +# --version print version information +# -h, --help, --help-all print short, long, or detailed help message +# +# MODE must be one of the following: +# +# clean remove files from the build directory +# compile compile a source file into a libtool object +# execute automatically set library path, then run a program +# finish complete the installation of libtool libraries +# install install libraries or executables +# link create a library or an executable +# uninstall remove libraries from an installed directory +# +# MODE-ARGS vary depending on the MODE. When passed as first option, +# `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that. +# Try `$progname --help --mode=MODE' for a more detailed description of MODE. +# +# When reporting a bug, please describe a test case to reproduce it and +# include the following information: +# +# host-triplet: $host +# shell: $SHELL +# compiler: $LTCC +# compiler flags: $LTCFLAGS +# linker: $LD (gnu? $with_gnu_ld) +# $progname: (GNU libtool) 2.4.2 +# automake: $automake_version +# autoconf: $autoconf_version +# +# Report bugs to <bug-libtool@gnu.org>. +# GNU libtool home page: <http://www.gnu.org/software/libtool/>. +# General help using GNU software: <http://www.gnu.org/gethelp/>. + +PROGRAM=libtool +PACKAGE=libtool +VERSION=2.4.2 +TIMESTAMP="" +package_revision=1.3337 + +# Be Bourne compatible +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac +fi +BIN_SH=xpg4; export BIN_SH # for Tru64 +DUALCASE=1; export DUALCASE # for MKS sh + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +$1 +_LTECHO_EOF' +} + +# NLS nuisances: We save the old values to restore during execute mode. +lt_user_locale= +lt_safe_locale= +for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES +do + eval "if test \"\${$lt_var+set}\" = set; then + save_$lt_var=\$$lt_var + $lt_var=C + export $lt_var + lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\" + lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" + fi" +done +LC_ALL=C +LANGUAGE=C +export LANGUAGE LC_ALL + +$lt_unset CDPATH + + +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh +# is ksh but when the shell is invoked as "sh" and the current value of +# the _XPG environment variable is not equal to 1 (one), the special +# positional parameter $0, within a function call, is the name of the +# function. +progpath="$0" + + + +: ${CP="cp -f"} +test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'} +: ${MAKE="make"} +: ${MKDIR="mkdir"} +: ${MV="mv -f"} +: ${RM="rm -f"} +: ${SHELL="${CONFIG_SHELL-/bin/sh}"} +: ${Xsed="$SED -e 1s/^X//"} + +# Global variables: +EXIT_SUCCESS=0 +EXIT_FAILURE=1 +EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. +EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. + +exit_status=$EXIT_SUCCESS + +# Make sure IFS has a sensible default +lt_nl=' +' +IFS=" $lt_nl" + +dirname="s,/[^/]*$,," +basename="s,^.*/,," + +# func_dirname file append nondir_replacement +# Compute the dirname of FILE. If nonempty, add APPEND to the result, +# otherwise set result to NONDIR_REPLACEMENT. +func_dirname () +{ + func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` + if test "X$func_dirname_result" = "X${1}"; then + func_dirname_result="${3}" + else + func_dirname_result="$func_dirname_result${2}" + fi +} # func_dirname may be replaced by extended shell implementation + + +# func_basename file +func_basename () +{ + func_basename_result=`$ECHO "${1}" | $SED "$basename"` +} # func_basename may be replaced by extended shell implementation + + +# func_dirname_and_basename file append nondir_replacement +# perform func_basename and func_dirname in a single function +# call: +# dirname: Compute the dirname of FILE. If nonempty, +# add APPEND to the result, otherwise set result +# to NONDIR_REPLACEMENT. +# value returned in "$func_dirname_result" +# basename: Compute filename of FILE. +# value retuned in "$func_basename_result" +# Implementation must be kept synchronized with func_dirname +# and func_basename. For efficiency, we do not delegate to +# those functions but instead duplicate the functionality here. +func_dirname_and_basename () +{ + # Extract subdirectory from the argument. + func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"` + if test "X$func_dirname_result" = "X${1}"; then + func_dirname_result="${3}" + else + func_dirname_result="$func_dirname_result${2}" + fi + func_basename_result=`$ECHO "${1}" | $SED -e "$basename"` +} # func_dirname_and_basename may be replaced by extended shell implementation + + +# func_stripname prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +# func_strip_suffix prefix name +func_stripname () +{ + case ${2} in + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; + esac +} # func_stripname may be replaced by extended shell implementation + + +# These SED scripts presuppose an absolute path with a trailing slash. +pathcar='s,^/\([^/]*\).*$,\1,' +pathcdr='s,^/[^/]*,,' +removedotparts=':dotsl + s@/\./@/@g + t dotsl + s,/\.$,/,' +collapseslashes='s@/\{1,\}@/@g' +finalslash='s,/*$,/,' + +# func_normal_abspath PATH +# Remove doubled-up and trailing slashes, "." path components, +# and cancel out any ".." path components in PATH after making +# it an absolute path. +# value returned in "$func_normal_abspath_result" +func_normal_abspath () +{ + # Start from root dir and reassemble the path. + func_normal_abspath_result= + func_normal_abspath_tpath=$1 + func_normal_abspath_altnamespace= + case $func_normal_abspath_tpath in + "") + # Empty path, that just means $cwd. + func_stripname '' '/' "`pwd`" + func_normal_abspath_result=$func_stripname_result + return + ;; + # The next three entries are used to spot a run of precisely + # two leading slashes without using negated character classes; + # we take advantage of case's first-match behaviour. + ///*) + # Unusual form of absolute path, do nothing. + ;; + //*) + # Not necessarily an ordinary path; POSIX reserves leading '//' + # and for example Cygwin uses it to access remote file shares + # over CIFS/SMB, so we conserve a leading double slash if found. + func_normal_abspath_altnamespace=/ + ;; + /*) + # Absolute path, do nothing. + ;; + *) + # Relative path, prepend $cwd. + func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath + ;; + esac + # Cancel out all the simple stuff to save iterations. We also want + # the path to end with a slash for ease of parsing, so make sure + # there is one (and only one) here. + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"` + while :; do + # Processed it all yet? + if test "$func_normal_abspath_tpath" = / ; then + # If we ascended to the root using ".." the result may be empty now. + if test -z "$func_normal_abspath_result" ; then + func_normal_abspath_result=/ + fi + break + fi + func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$pathcar"` + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$pathcdr"` + # Figure out what to do with it + case $func_normal_abspath_tcomponent in + "") + # Trailing empty path component, ignore it. + ;; + ..) + # Parent dir; strip last assembled component from result. + func_dirname "$func_normal_abspath_result" + func_normal_abspath_result=$func_dirname_result + ;; + *) + # Actual path component, append it. + func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent + ;; + esac + done + # Restore leading double-slash if one was found on entry. + func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result +} + +# func_relative_path SRCDIR DSTDIR +# generates a relative path from SRCDIR to DSTDIR, with a trailing +# slash if non-empty, suitable for immediately appending a filename +# without needing to append a separator. +# value returned in "$func_relative_path_result" +func_relative_path () +{ + func_relative_path_result= + func_normal_abspath "$1" + func_relative_path_tlibdir=$func_normal_abspath_result + func_normal_abspath "$2" + func_relative_path_tbindir=$func_normal_abspath_result + + # Ascend the tree starting from libdir + while :; do + # check if we have found a prefix of bindir + case $func_relative_path_tbindir in + $func_relative_path_tlibdir) + # found an exact match + func_relative_path_tcancelled= + break + ;; + $func_relative_path_tlibdir*) + # found a matching prefix + func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir" + func_relative_path_tcancelled=$func_stripname_result + if test -z "$func_relative_path_result"; then + func_relative_path_result=. + fi + break + ;; + *) + func_dirname $func_relative_path_tlibdir + func_relative_path_tlibdir=${func_dirname_result} + if test "x$func_relative_path_tlibdir" = x ; then + # Have to descend all the way to the root! + func_relative_path_result=../$func_relative_path_result + func_relative_path_tcancelled=$func_relative_path_tbindir + break + fi + func_relative_path_result=../$func_relative_path_result + ;; + esac + done + + # Now calculate path; take care to avoid doubling-up slashes. + func_stripname '' '/' "$func_relative_path_result" + func_relative_path_result=$func_stripname_result + func_stripname '/' '/' "$func_relative_path_tcancelled" + if test "x$func_stripname_result" != x ; then + func_relative_path_result=${func_relative_path_result}/${func_stripname_result} + fi + + # Normalisation. If bindir is libdir, return empty string, + # else relative path ending with a slash; either way, target + # file name can be directly appended. + if test ! -z "$func_relative_path_result"; then + func_stripname './' '' "$func_relative_path_result/" + func_relative_path_result=$func_stripname_result + fi +} + +# The name of this program: +func_dirname_and_basename "$progpath" +progname=$func_basename_result + +# Make sure we have an absolute path for reexecution: +case $progpath in + [\\/]*|[A-Za-z]:\\*) ;; + *[\\/]*) + progdir=$func_dirname_result + progdir=`cd "$progdir" && pwd` + progpath="$progdir/$progname" + ;; + *) + save_IFS="$IFS" + IFS=${PATH_SEPARATOR-:} + for progdir in $PATH; do + IFS="$save_IFS" + test -x "$progdir/$progname" && break + done + IFS="$save_IFS" + test -n "$progdir" || progdir=`pwd` + progpath="$progdir/$progname" + ;; +esac + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed="${SED}"' -e 1s/^X//' +sed_quote_subst='s/\([`"$\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\(["`\\]\)/\\\1/g' + +# Sed substitution that turns a string into a regex matching for the +# string literally. +sed_make_literal_regex='s,[].[^$\\*\/],\\&,g' + +# Sed substitution that converts a w32 file name or path +# which contains forward slashes, into one that contains +# (escaped) backslashes. A very naive implementation. +lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' + +# Re-`\' parameter expansions in output of double_quote_subst that were +# `\'-ed in input to the same. If an odd number of `\' preceded a '$' +# in input to double_quote_subst, that '$' was protected from expansion. +# Since each input `\' is now two `\'s, look for any number of runs of +# four `\'s followed by two `\'s and then a '$'. `\' that '$'. +bs='\\' +bs2='\\\\' +bs4='\\\\\\\\' +dollar='\$' +sed_double_backslash="\ + s/$bs4/&\\ +/g + s/^$bs2$dollar/$bs&/ + s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g + s/\n//g" + +# Standard options: +opt_dry_run=false +opt_help=false +opt_quiet=false +opt_verbose=false +opt_warning=: + +# func_echo arg... +# Echo program name prefixed message, along with the current mode +# name if it has been set yet. +func_echo () +{ + $ECHO "$progname: ${opt_mode+$opt_mode: }$*" +} + +# func_verbose arg... +# Echo program name prefixed message in verbose mode only. +func_verbose () +{ + $opt_verbose && func_echo ${1+"$@"} + + # A bug in bash halts the script if the last line of a function + # fails when set -e is in force, so we need another command to + # work around that: + : +} + +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "$*" +} + +# func_error arg... +# Echo program name prefixed message to standard error. +func_error () +{ + $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2 +} + +# func_warning arg... +# Echo program name prefixed warning message to standard error. +func_warning () +{ + $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2 + + # bash bug again: + : +} + +# func_fatal_error arg... +# Echo program name prefixed message to standard error, and exit. +func_fatal_error () +{ + func_error ${1+"$@"} + exit $EXIT_FAILURE +} + +# func_fatal_help arg... +# Echo program name prefixed message to standard error, followed by +# a help hint, and exit. +func_fatal_help () +{ + func_error ${1+"$@"} + func_fatal_error "$help" +} +help="Try \`$progname --help' for more information." ## default + + +# func_grep expression filename +# Check whether EXPRESSION matches any line of FILENAME, without output. +func_grep () +{ + $GREP "$1" "$2" >/dev/null 2>&1 +} + + +# func_mkdir_p directory-path +# Make sure the entire path to DIRECTORY-PATH is available. +func_mkdir_p () +{ + my_directory_path="$1" + my_dir_list= + + if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then + + # Protect directory names starting with `-' + case $my_directory_path in + -*) my_directory_path="./$my_directory_path" ;; + esac + + # While some portion of DIR does not yet exist... + while test ! -d "$my_directory_path"; do + # ...make a list in topmost first order. Use a colon delimited + # list incase some portion of path contains whitespace. + my_dir_list="$my_directory_path:$my_dir_list" + + # If the last portion added has no slash in it, the list is done + case $my_directory_path in */*) ;; *) break ;; esac + + # ...otherwise throw away the child directory and loop + my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"` + done + my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'` + + save_mkdir_p_IFS="$IFS"; IFS=':' + for my_dir in $my_dir_list; do + IFS="$save_mkdir_p_IFS" + # mkdir can fail with a `File exist' error if two processes + # try to create one of the directories concurrently. Don't + # stop in that case! + $MKDIR "$my_dir" 2>/dev/null || : + done + IFS="$save_mkdir_p_IFS" + + # Bail out if we (or some other process) failed to create a directory. + test -d "$my_directory_path" || \ + func_fatal_error "Failed to create \`$1'" + fi +} + + +# func_mktempdir [string] +# Make a temporary directory that won't clash with other running +# libtool processes, and avoids race conditions if possible. If +# given, STRING is the basename for that directory. +func_mktempdir () +{ + my_template="${TMPDIR-/tmp}/${1-$progname}" + + if test "$opt_dry_run" = ":"; then + # Return a directory name, but don't create it in dry-run mode + my_tmpdir="${my_template}-$$" + else + + # If mktemp works, use that first and foremost + my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` + + if test ! -d "$my_tmpdir"; then + # Failing that, at least try and use $RANDOM to avoid a race + my_tmpdir="${my_template}-${RANDOM-0}$$" + + save_mktempdir_umask=`umask` + umask 0077 + $MKDIR "$my_tmpdir" + umask $save_mktempdir_umask + fi + + # If we're not in dry-run mode, bomb out on failure + test -d "$my_tmpdir" || \ + func_fatal_error "cannot create temporary directory \`$my_tmpdir'" + fi + + $ECHO "$my_tmpdir" +} + + +# func_quote_for_eval arg +# Aesthetically quote ARG to be evaled later. +# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT +# is double-quoted, suitable for a subsequent eval, whereas +# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters +# which are still active within double quotes backslashified. +func_quote_for_eval () +{ + case $1 in + *[\\\`\"\$]*) + func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;; + *) + func_quote_for_eval_unquoted_result="$1" ;; + esac + + case $func_quote_for_eval_unquoted_result in + # Double-quote args containing shell metacharacters to delay + # word splitting, command substitution and and variable + # expansion for a subsequent eval. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\"" + ;; + *) + func_quote_for_eval_result="$func_quote_for_eval_unquoted_result" + esac +} + + +# func_quote_for_expand arg +# Aesthetically quote ARG to be evaled later; same as above, +# but do not quote variable references. +func_quote_for_expand () +{ + case $1 in + *[\\\`\"]*) + my_arg=`$ECHO "$1" | $SED \ + -e "$double_quote_subst" -e "$sed_double_backslash"` ;; + *) + my_arg="$1" ;; + esac + + case $my_arg in + # Double-quote args containing shell metacharacters to delay + # word splitting and command substitution for a subsequent eval. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + my_arg="\"$my_arg\"" + ;; + esac + + func_quote_for_expand_result="$my_arg" +} + + +# func_show_eval cmd [fail_exp] +# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is +# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP +# is given, then evaluate it. +func_show_eval () +{ + my_cmd="$1" + my_fail_exp="${2-:}" + + ${opt_silent-false} || { + func_quote_for_expand "$my_cmd" + eval "func_echo $func_quote_for_expand_result" + } + + if ${opt_dry_run-false}; then :; else + eval "$my_cmd" + my_status=$? + if test "$my_status" -eq 0; then :; else + eval "(exit $my_status); $my_fail_exp" + fi + fi +} + + +# func_show_eval_locale cmd [fail_exp] +# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is +# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP +# is given, then evaluate it. Use the saved locale for evaluation. +func_show_eval_locale () +{ + my_cmd="$1" + my_fail_exp="${2-:}" + + ${opt_silent-false} || { + func_quote_for_expand "$my_cmd" + eval "func_echo $func_quote_for_expand_result" + } + + if ${opt_dry_run-false}; then :; else + eval "$lt_user_locale + $my_cmd" + my_status=$? + eval "$lt_safe_locale" + if test "$my_status" -eq 0; then :; else + eval "(exit $my_status); $my_fail_exp" + fi + fi +} + +# func_tr_sh +# Turn $1 into a string suitable for a shell variable name. +# Result is stored in $func_tr_sh_result. All characters +# not in the set a-zA-Z0-9_ are replaced with '_'. Further, +# if $1 begins with a digit, a '_' is prepended as well. +func_tr_sh () +{ + case $1 in + [0-9]* | *[!a-zA-Z0-9_]*) + func_tr_sh_result=`$ECHO "$1" | $SED 's/^\([0-9]\)/_\1/; s/[^a-zA-Z0-9_]/_/g'` + ;; + * ) + func_tr_sh_result=$1 + ;; + esac +} + + +# func_version +# Echo version message to standard output and exit. +func_version () +{ + $opt_debug + + $SED -n '/(C)/!b go + :more + /\./!{ + N + s/\n# / / + b more + } + :go + /^# '$PROGRAM' (GNU /,/# warranty; / { + s/^# // + s/^# *$// + s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/ + p + }' < "$progpath" + exit $? +} + +# func_usage +# Echo short help message to standard output and exit. +func_usage () +{ + $opt_debug + + $SED -n '/^# Usage:/,/^# *.*--help/ { + s/^# // + s/^# *$// + s/\$progname/'$progname'/ + p + }' < "$progpath" + echo + $ECHO "run \`$progname --help | more' for full usage" + exit $? +} + +# func_help [NOEXIT] +# Echo long help message to standard output and exit, +# unless 'noexit' is passed as argument. +func_help () +{ + $opt_debug + + $SED -n '/^# Usage:/,/# Report bugs to/ { + :print + s/^# // + s/^# *$// + s*\$progname*'$progname'* + s*\$host*'"$host"'* + s*\$SHELL*'"$SHELL"'* + s*\$LTCC*'"$LTCC"'* + s*\$LTCFLAGS*'"$LTCFLAGS"'* + s*\$LD*'"$LD"'* + s/\$with_gnu_ld/'"$with_gnu_ld"'/ + s/\$automake_version/'"`(${AUTOMAKE-automake} --version) 2>/dev/null |$SED 1q`"'/ + s/\$autoconf_version/'"`(${AUTOCONF-autoconf} --version) 2>/dev/null |$SED 1q`"'/ + p + d + } + /^# .* home page:/b print + /^# General help using/b print + ' < "$progpath" + ret=$? + if test -z "$1"; then + exit $ret + fi +} + +# func_missing_arg argname +# Echo program name prefixed message to standard error and set global +# exit_cmd. +func_missing_arg () +{ + $opt_debug + + func_error "missing argument for $1." + exit_cmd=exit +} + + +# func_split_short_opt shortopt +# Set func_split_short_opt_name and func_split_short_opt_arg shell +# variables after splitting SHORTOPT after the 2nd character. +func_split_short_opt () +{ + my_sed_short_opt='1s/^\(..\).*$/\1/;q' + my_sed_short_rest='1s/^..\(.*\)$/\1/;q' + + func_split_short_opt_name=`$ECHO "$1" | $SED "$my_sed_short_opt"` + func_split_short_opt_arg=`$ECHO "$1" | $SED "$my_sed_short_rest"` +} # func_split_short_opt may be replaced by extended shell implementation + + +# func_split_long_opt longopt +# Set func_split_long_opt_name and func_split_long_opt_arg shell +# variables after splitting LONGOPT at the `=' sign. +func_split_long_opt () +{ + my_sed_long_opt='1s/^\(--[^=]*\)=.*/\1/;q' + my_sed_long_arg='1s/^--[^=]*=//' + + func_split_long_opt_name=`$ECHO "$1" | $SED "$my_sed_long_opt"` + func_split_long_opt_arg=`$ECHO "$1" | $SED "$my_sed_long_arg"` +} # func_split_long_opt may be replaced by extended shell implementation + +exit_cmd=: + + + + + +magic="%%%MAGIC variable%%%" +magic_exe="%%%MAGIC EXE variable%%%" + +# Global variables. +nonopt= +preserve_args= +lo2o="s/\\.lo\$/.${objext}/" +o2lo="s/\\.${objext}\$/.lo/" +extracted_archives= +extracted_serial=0 + +# If this variable is set in any of the actions, the command in it +# will be execed at the end. This prevents here-documents from being +# left over by shells. +exec_cmd= + +# func_append var value +# Append VALUE to the end of shell variable VAR. +func_append () +{ + eval "${1}=\$${1}\${2}" +} # func_append may be replaced by extended shell implementation + +# func_append_quoted var value +# Quote VALUE and append to the end of shell variable VAR, separated +# by a space. +func_append_quoted () +{ + func_quote_for_eval "${2}" + eval "${1}=\$${1}\\ \$func_quote_for_eval_result" +} # func_append_quoted may be replaced by extended shell implementation + + +# func_arith arithmetic-term... +func_arith () +{ + func_arith_result=`expr "${@}"` +} # func_arith may be replaced by extended shell implementation + + +# func_len string +# STRING may not start with a hyphen. +func_len () +{ + func_len_result=`expr "${1}" : ".*" 2>/dev/null || echo $max_cmd_len` +} # func_len may be replaced by extended shell implementation + + +# func_lo2o object +func_lo2o () +{ + func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` +} # func_lo2o may be replaced by extended shell implementation + + +# func_xform libobj-or-source +func_xform () +{ + func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` +} # func_xform may be replaced by extended shell implementation + + +# func_fatal_configuration arg... +# Echo program name prefixed message to standard error, followed by +# a configuration failure hint, and exit. +func_fatal_configuration () +{ + func_error ${1+"$@"} + func_error "See the $PACKAGE documentation for more information." + func_fatal_error "Fatal configuration error." +} + + +# func_config +# Display the configuration for all the tags in this script. +func_config () +{ + re_begincf='^# ### BEGIN LIBTOOL' + re_endcf='^# ### END LIBTOOL' + + # Default configuration. + $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath" + + # Now print the configurations for the tags. + for tagname in $taglist; do + $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath" + done + + exit $? +} + +# func_features +# Display the features supported by this script. +func_features () +{ + echo "host: $host" + if test "$build_libtool_libs" = yes; then + echo "enable shared libraries" + else + echo "disable shared libraries" + fi + if test "$build_old_libs" = yes; then + echo "enable static libraries" + else + echo "disable static libraries" + fi + + exit $? +} + +# func_enable_tag tagname +# Verify that TAGNAME is valid, and either flag an error and exit, or +# enable the TAGNAME tag. We also add TAGNAME to the global $taglist +# variable here. +func_enable_tag () +{ + # Global variable: + tagname="$1" + + re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$" + re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$" + sed_extractcf="/$re_begincf/,/$re_endcf/p" + + # Validate tagname. + case $tagname in + *[!-_A-Za-z0-9,/]*) + func_fatal_error "invalid tag name: $tagname" + ;; + esac + + # Don't test for the "default" C tag, as we know it's + # there but not specially marked. + case $tagname in + CC) ;; + *) + if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then + taglist="$taglist $tagname" + + # Evaluate the configuration. Be careful to quote the path + # and the sed script, to avoid splitting on whitespace, but + # also don't use non-portable quotes within backquotes within + # quotes we have to do it in 2 steps: + extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"` + eval "$extractedcf" + else + func_error "ignoring unknown tag $tagname" + fi + ;; + esac +} + +# func_check_version_match +# Ensure that we are using m4 macros, and libtool script from the same +# release of libtool. +func_check_version_match () +{ + if test "$package_revision" != "$macro_revision"; then + if test "$VERSION" != "$macro_version"; then + if test -z "$macro_version"; then + cat >&2 <<_LT_EOF +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the +$progname: definition of this LT_INIT comes from an older release. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION +$progname: and run autoconf again. +_LT_EOF + else + cat >&2 <<_LT_EOF +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the +$progname: definition of this LT_INIT comes from $PACKAGE $macro_version. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION +$progname: and run autoconf again. +_LT_EOF + fi + else + cat >&2 <<_LT_EOF +$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, +$progname: but the definition of this LT_INIT comes from revision $macro_revision. +$progname: You should recreate aclocal.m4 with macros from revision $package_revision +$progname: of $PACKAGE $VERSION and run autoconf again. +_LT_EOF + fi + + exit $EXIT_MISMATCH + fi +} + + +# Shorthand for --mode=foo, only valid as the first argument +case $1 in +clean|clea|cle|cl) + shift; set dummy --mode clean ${1+"$@"}; shift + ;; +compile|compil|compi|comp|com|co|c) + shift; set dummy --mode compile ${1+"$@"}; shift + ;; +execute|execut|execu|exec|exe|ex|e) + shift; set dummy --mode execute ${1+"$@"}; shift + ;; +finish|finis|fini|fin|fi|f) + shift; set dummy --mode finish ${1+"$@"}; shift + ;; +install|instal|insta|inst|ins|in|i) + shift; set dummy --mode install ${1+"$@"}; shift + ;; +link|lin|li|l) + shift; set dummy --mode link ${1+"$@"}; shift + ;; +uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) + shift; set dummy --mode uninstall ${1+"$@"}; shift + ;; +esac + + + +# Option defaults: +opt_debug=: +opt_dry_run=false +opt_config=false +opt_preserve_dup_deps=false +opt_features=false +opt_finish=false +opt_help=false +opt_help_all=false +opt_silent=: +opt_warning=: +opt_verbose=: +opt_silent=false +opt_verbose=false + + +# Parse options once, thoroughly. This comes as soon as possible in the +# script to make things like `--version' happen as quickly as we can. +{ + # this just eases exit handling + while test $# -gt 0; do + opt="$1" + shift + case $opt in + --debug|-x) opt_debug='set -x' + func_echo "enabling shell trace mode" + $opt_debug + ;; + --dry-run|--dryrun|-n) + opt_dry_run=: + ;; + --config) + opt_config=: +func_config + ;; + --dlopen|-dlopen) + optarg="$1" + opt_dlopen="${opt_dlopen+$opt_dlopen +}$optarg" + shift + ;; + --preserve-dup-deps) + opt_preserve_dup_deps=: + ;; + --features) + opt_features=: +func_features + ;; + --finish) + opt_finish=: +set dummy --mode finish ${1+"$@"}; shift + ;; + --help) + opt_help=: + ;; + --help-all) + opt_help_all=: +opt_help=': help-all' + ;; + --mode) + test $# = 0 && func_missing_arg $opt && break + optarg="$1" + opt_mode="$optarg" +case $optarg in + # Valid mode arguments: + clean|compile|execute|finish|install|link|relink|uninstall) ;; + + # Catch anything else as an error + *) func_error "invalid argument for $opt" + exit_cmd=exit + break + ;; +esac + shift + ;; + --no-silent|--no-quiet) + opt_silent=false +func_append preserve_args " $opt" + ;; + --no-warning|--no-warn) + opt_warning=false +func_append preserve_args " $opt" + ;; + --no-verbose) + opt_verbose=false +func_append preserve_args " $opt" + ;; + --silent|--quiet) + opt_silent=: +func_append preserve_args " $opt" + opt_verbose=false + ;; + --verbose|-v) + opt_verbose=: +func_append preserve_args " $opt" +opt_silent=false + ;; + --tag) + test $# = 0 && func_missing_arg $opt && break + optarg="$1" + opt_tag="$optarg" +func_append preserve_args " $opt $optarg" +func_enable_tag "$optarg" + shift + ;; + + -\?|-h) func_usage ;; + --help) func_help ;; + --version) func_version ;; + + # Separate optargs to long options: + --*=*) + func_split_long_opt "$opt" + set dummy "$func_split_long_opt_name" "$func_split_long_opt_arg" ${1+"$@"} + shift + ;; + + # Separate non-argument short options: + -\?*|-h*|-n*|-v*) + func_split_short_opt "$opt" + set dummy "$func_split_short_opt_name" "-$func_split_short_opt_arg" ${1+"$@"} + shift + ;; + + --) break ;; + -*) func_fatal_help "unrecognized option \`$opt'" ;; + *) set dummy "$opt" ${1+"$@"}; shift; break ;; + esac + done + + # Validate options: + + # save first non-option argument + if test "$#" -gt 0; then + nonopt="$opt" + shift + fi + + # preserve --debug + test "$opt_debug" = : || func_append preserve_args " --debug" + + case $host in + *cygwin* | *mingw* | *pw32* | *cegcc*) + # don't eliminate duplications in $postdeps and $predeps + opt_duplicate_compiler_generated_deps=: + ;; + *) + opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps + ;; + esac + + $opt_help || { + # Sanity checks first: + func_check_version_match + + if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then + func_fatal_configuration "not configured to build any kind of library" + fi + + # Darwin sucks + eval std_shrext=\"$shrext_cmds\" + + # Only execute mode is allowed to have -dlopen flags. + if test -n "$opt_dlopen" && test "$opt_mode" != execute; then + func_error "unrecognized option \`-dlopen'" + $ECHO "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Change the help message to a mode-specific one. + generic_help="$help" + help="Try \`$progname --help --mode=$opt_mode' for more information." + } + + + # Bail if the options were screwed + $exit_cmd $EXIT_FAILURE +} + + + + +## ----------- ## +## Main. ## +## ----------- ## + +# func_lalib_p file +# True iff FILE is a libtool `.la' library or `.lo' object file. +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_lalib_p () +{ + test -f "$1" && + $SED -e 4q "$1" 2>/dev/null \ + | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 +} + +# func_lalib_unsafe_p file +# True iff FILE is a libtool `.la' library or `.lo' object file. +# This function implements the same check as func_lalib_p without +# resorting to external programs. To this end, it redirects stdin and +# closes it afterwards, without saving the original file descriptor. +# As a safety measure, use it only where a negative result would be +# fatal anyway. Works if `file' does not exist. +func_lalib_unsafe_p () +{ + lalib_p=no + if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then + for lalib_p_l in 1 2 3 4 + do + read lalib_p_line + case "$lalib_p_line" in + \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; + esac + done + exec 0<&5 5<&- + fi + test "$lalib_p" = yes +} + +# func_ltwrapper_script_p file +# True iff FILE is a libtool wrapper script +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_ltwrapper_script_p () +{ + func_lalib_p "$1" +} + +# func_ltwrapper_executable_p file +# True iff FILE is a libtool wrapper executable +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_ltwrapper_executable_p () +{ + func_ltwrapper_exec_suffix= + case $1 in + *.exe) ;; + *) func_ltwrapper_exec_suffix=.exe ;; + esac + $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 +} + +# func_ltwrapper_scriptname file +# Assumes file is an ltwrapper_executable +# uses $file to determine the appropriate filename for a +# temporary ltwrapper_script. +func_ltwrapper_scriptname () +{ + func_dirname_and_basename "$1" "" "." + func_stripname '' '.exe' "$func_basename_result" + func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper" +} + +# func_ltwrapper_p file +# True iff FILE is a libtool wrapper script or wrapper executable +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_ltwrapper_p () +{ + func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1" +} + + +# func_execute_cmds commands fail_cmd +# Execute tilde-delimited COMMANDS. +# If FAIL_CMD is given, eval that upon failure. +# FAIL_CMD may read-access the current command in variable CMD! +func_execute_cmds () +{ + $opt_debug + save_ifs=$IFS; IFS='~' + for cmd in $1; do + IFS=$save_ifs + eval cmd=\"$cmd\" + func_show_eval "$cmd" "${2-:}" + done + IFS=$save_ifs +} + + +# func_source file +# Source FILE, adding directory component if necessary. +# Note that it is not necessary on cygwin/mingw to append a dot to +# FILE even if both FILE and FILE.exe exist: automatic-append-.exe +# behavior happens only for exec(3), not for open(2)! Also, sourcing +# `FILE.' does not work on cygwin managed mounts. +func_source () +{ + $opt_debug + case $1 in + */* | *\\*) . "$1" ;; + *) . "./$1" ;; + esac +} + + +# func_resolve_sysroot PATH +# Replace a leading = in PATH with a sysroot. Store the result into +# func_resolve_sysroot_result +func_resolve_sysroot () +{ + func_resolve_sysroot_result=$1 + case $func_resolve_sysroot_result in + =*) + func_stripname '=' '' "$func_resolve_sysroot_result" + func_resolve_sysroot_result=$lt_sysroot$func_stripname_result + ;; + esac +} + +# func_replace_sysroot PATH +# If PATH begins with the sysroot, replace it with = and +# store the result into func_replace_sysroot_result. +func_replace_sysroot () +{ + case "$lt_sysroot:$1" in + ?*:"$lt_sysroot"*) + func_stripname "$lt_sysroot" '' "$1" + func_replace_sysroot_result="=$func_stripname_result" + ;; + *) + # Including no sysroot. + func_replace_sysroot_result=$1 + ;; + esac +} + +# func_infer_tag arg +# Infer tagged configuration to use if any are available and +# if one wasn't chosen via the "--tag" command line option. +# Only attempt this if the compiler in the base compile +# command doesn't match the default compiler. +# arg is usually of the form 'gcc ...' +func_infer_tag () +{ + $opt_debug + if test -n "$available_tags" && test -z "$tagname"; then + CC_quoted= + for arg in $CC; do + func_append_quoted CC_quoted "$arg" + done + CC_expanded=`func_echo_all $CC` + CC_quoted_expanded=`func_echo_all $CC_quoted` + case $@ in + # Blanks in the command may have been stripped by the calling shell, + # but not from the CC environment variable when configure was run. + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;; + # Blanks at the start of $base_compile will cause this to fail + # if we don't check for them as well. + *) + for z in $available_tags; do + if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then + # Evaluate the configuration. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" + CC_quoted= + for arg in $CC; do + # Double-quote args containing other shell metacharacters. + func_append_quoted CC_quoted "$arg" + done + CC_expanded=`func_echo_all $CC` + CC_quoted_expanded=`func_echo_all $CC_quoted` + case "$@ " in + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) + # The compiler in the base compile command matches + # the one in the tagged configuration. + # Assume this is the tagged configuration we want. + tagname=$z + break + ;; + esac + fi + done + # If $tagname still isn't set, then no tagged configuration + # was found and let the user know that the "--tag" command + # line option must be used. + if test -z "$tagname"; then + func_echo "unable to infer tagged configuration" + func_fatal_error "specify a tag with \`--tag'" +# else +# func_verbose "using $tagname tagged configuration" + fi + ;; + esac + fi +} + + + +# func_write_libtool_object output_name pic_name nonpic_name +# Create a libtool object file (analogous to a ".la" file), +# but don't create it if we're doing a dry run. +func_write_libtool_object () +{ + write_libobj=${1} + if test "$build_libtool_libs" = yes; then + write_lobj=\'${2}\' + else + write_lobj=none + fi + + if test "$build_old_libs" = yes; then + write_oldobj=\'${3}\' + else + write_oldobj=none + fi + + $opt_dry_run || { + cat >${write_libobj}T <<EOF +# $write_libobj - a libtool object file +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object=$write_lobj + +# Name of the non-PIC object +non_pic_object=$write_oldobj + +EOF + $MV "${write_libobj}T" "${write_libobj}" + } +} + + +################################################## +# FILE NAME AND PATH CONVERSION HELPER FUNCTIONS # +################################################## + +# func_convert_core_file_wine_to_w32 ARG +# Helper function used by file name conversion functions when $build is *nix, +# and $host is mingw, cygwin, or some other w32 environment. Relies on a +# correctly configured wine environment available, with the winepath program +# in $build's $PATH. +# +# ARG is the $build file name to be converted to w32 format. +# Result is available in $func_convert_core_file_wine_to_w32_result, and will +# be empty on error (or when ARG is empty) +func_convert_core_file_wine_to_w32 () +{ + $opt_debug + func_convert_core_file_wine_to_w32_result="$1" + if test -n "$1"; then + # Unfortunately, winepath does not exit with a non-zero error code, so we + # are forced to check the contents of stdout. On the other hand, if the + # command is not found, the shell will set an exit code of 127 and print + # *an error message* to stdout. So we must check for both error code of + # zero AND non-empty stdout, which explains the odd construction: + func_convert_core_file_wine_to_w32_tmp=`winepath -w "$1" 2>/dev/null` + if test "$?" -eq 0 && test -n "${func_convert_core_file_wine_to_w32_tmp}"; then + func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" | + $SED -e "$lt_sed_naive_backslashify"` + else + func_convert_core_file_wine_to_w32_result= + fi + fi +} +# end: func_convert_core_file_wine_to_w32 + + +# func_convert_core_path_wine_to_w32 ARG +# Helper function used by path conversion functions when $build is *nix, and +# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly +# configured wine environment available, with the winepath program in $build's +# $PATH. Assumes ARG has no leading or trailing path separator characters. +# +# ARG is path to be converted from $build format to win32. +# Result is available in $func_convert_core_path_wine_to_w32_result. +# Unconvertible file (directory) names in ARG are skipped; if no directory names +# are convertible, then the result may be empty. +func_convert_core_path_wine_to_w32 () +{ + $opt_debug + # unfortunately, winepath doesn't convert paths, only file names + func_convert_core_path_wine_to_w32_result="" + if test -n "$1"; then + oldIFS=$IFS + IFS=: + for func_convert_core_path_wine_to_w32_f in $1; do + IFS=$oldIFS + func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f" + if test -n "$func_convert_core_file_wine_to_w32_result" ; then + if test -z "$func_convert_core_path_wine_to_w32_result"; then + func_convert_core_path_wine_to_w32_result="$func_convert_core_file_wine_to_w32_result" + else + func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result" + fi + fi + done + IFS=$oldIFS + fi +} +# end: func_convert_core_path_wine_to_w32 + + +# func_cygpath ARGS... +# Wrapper around calling the cygpath program via LT_CYGPATH. This is used when +# when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2) +# $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or +# (2), returns the Cygwin file name or path in func_cygpath_result (input +# file name or path is assumed to be in w32 format, as previously converted +# from $build's *nix or MSYS format). In case (3), returns the w32 file name +# or path in func_cygpath_result (input file name or path is assumed to be in +# Cygwin format). Returns an empty string on error. +# +# ARGS are passed to cygpath, with the last one being the file name or path to +# be converted. +# +# Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH +# environment variable; do not put it in $PATH. +func_cygpath () +{ + $opt_debug + if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then + func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null` + if test "$?" -ne 0; then + # on failure, ensure result is empty + func_cygpath_result= + fi + else + func_cygpath_result= + func_error "LT_CYGPATH is empty or specifies non-existent file: \`$LT_CYGPATH'" + fi +} +#end: func_cygpath + + +# func_convert_core_msys_to_w32 ARG +# Convert file name or path ARG from MSYS format to w32 format. Return +# result in func_convert_core_msys_to_w32_result. +func_convert_core_msys_to_w32 () +{ + $opt_debug + # awkward: cmd appends spaces to result + func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null | + $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"` +} +#end: func_convert_core_msys_to_w32 + + +# func_convert_file_check ARG1 ARG2 +# Verify that ARG1 (a file name in $build format) was converted to $host +# format in ARG2. Otherwise, emit an error message, but continue (resetting +# func_to_host_file_result to ARG1). +func_convert_file_check () +{ + $opt_debug + if test -z "$2" && test -n "$1" ; then + func_error "Could not determine host file name corresponding to" + func_error " \`$1'" + func_error "Continuing, but uninstalled executables may not work." + # Fallback: + func_to_host_file_result="$1" + fi +} +# end func_convert_file_check + + +# func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH +# Verify that FROM_PATH (a path in $build format) was converted to $host +# format in TO_PATH. Otherwise, emit an error message, but continue, resetting +# func_to_host_file_result to a simplistic fallback value (see below). +func_convert_path_check () +{ + $opt_debug + if test -z "$4" && test -n "$3"; then + func_error "Could not determine the host path corresponding to" + func_error " \`$3'" + func_error "Continuing, but uninstalled executables may not work." + # Fallback. This is a deliberately simplistic "conversion" and + # should not be "improved". See libtool.info. + if test "x$1" != "x$2"; then + lt_replace_pathsep_chars="s|$1|$2|g" + func_to_host_path_result=`echo "$3" | + $SED -e "$lt_replace_pathsep_chars"` + else + func_to_host_path_result="$3" + fi + fi +} +# end func_convert_path_check + + +# func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG +# Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT +# and appending REPL if ORIG matches BACKPAT. +func_convert_path_front_back_pathsep () +{ + $opt_debug + case $4 in + $1 ) func_to_host_path_result="$3$func_to_host_path_result" + ;; + esac + case $4 in + $2 ) func_append func_to_host_path_result "$3" + ;; + esac +} +# end func_convert_path_front_back_pathsep + + +################################################## +# $build to $host FILE NAME CONVERSION FUNCTIONS # +################################################## +# invoked via `$to_host_file_cmd ARG' +# +# In each case, ARG is the path to be converted from $build to $host format. +# Result will be available in $func_to_host_file_result. + + +# func_to_host_file ARG +# Converts the file name ARG from $build format to $host format. Return result +# in func_to_host_file_result. +func_to_host_file () +{ + $opt_debug + $to_host_file_cmd "$1" +} +# end func_to_host_file + + +# func_to_tool_file ARG LAZY +# converts the file name ARG from $build format to toolchain format. Return +# result in func_to_tool_file_result. If the conversion in use is listed +# in (the comma separated) LAZY, no conversion takes place. +func_to_tool_file () +{ + $opt_debug + case ,$2, in + *,"$to_tool_file_cmd",*) + func_to_tool_file_result=$1 + ;; + *) + $to_tool_file_cmd "$1" + func_to_tool_file_result=$func_to_host_file_result + ;; + esac +} +# end func_to_tool_file + + +# func_convert_file_noop ARG +# Copy ARG to func_to_host_file_result. +func_convert_file_noop () +{ + func_to_host_file_result="$1" +} +# end func_convert_file_noop + + +# func_convert_file_msys_to_w32 ARG +# Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic +# conversion to w32 is not available inside the cwrapper. Returns result in +# func_to_host_file_result. +func_convert_file_msys_to_w32 () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + func_convert_core_msys_to_w32 "$1" + func_to_host_file_result="$func_convert_core_msys_to_w32_result" + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_msys_to_w32 + + +# func_convert_file_cygwin_to_w32 ARG +# Convert file name ARG from Cygwin to w32 format. Returns result in +# func_to_host_file_result. +func_convert_file_cygwin_to_w32 () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + # because $build is cygwin, we call "the" cygpath in $PATH; no need to use + # LT_CYGPATH in this case. + func_to_host_file_result=`cygpath -m "$1"` + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_cygwin_to_w32 + + +# func_convert_file_nix_to_w32 ARG +# Convert file name ARG from *nix to w32 format. Requires a wine environment +# and a working winepath. Returns result in func_to_host_file_result. +func_convert_file_nix_to_w32 () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + func_convert_core_file_wine_to_w32 "$1" + func_to_host_file_result="$func_convert_core_file_wine_to_w32_result" + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_nix_to_w32 + + +# func_convert_file_msys_to_cygwin ARG +# Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. +# Returns result in func_to_host_file_result. +func_convert_file_msys_to_cygwin () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + func_convert_core_msys_to_w32 "$1" + func_cygpath -u "$func_convert_core_msys_to_w32_result" + func_to_host_file_result="$func_cygpath_result" + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_msys_to_cygwin + + +# func_convert_file_nix_to_cygwin ARG +# Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed +# in a wine environment, working winepath, and LT_CYGPATH set. Returns result +# in func_to_host_file_result. +func_convert_file_nix_to_cygwin () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + # convert from *nix to w32, then use cygpath to convert from w32 to cygwin. + func_convert_core_file_wine_to_w32 "$1" + func_cygpath -u "$func_convert_core_file_wine_to_w32_result" + func_to_host_file_result="$func_cygpath_result" + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_nix_to_cygwin + + +############################################# +# $build to $host PATH CONVERSION FUNCTIONS # +############################################# +# invoked via `$to_host_path_cmd ARG' +# +# In each case, ARG is the path to be converted from $build to $host format. +# The result will be available in $func_to_host_path_result. +# +# Path separators are also converted from $build format to $host format. If +# ARG begins or ends with a path separator character, it is preserved (but +# converted to $host format) on output. +# +# All path conversion functions are named using the following convention: +# file name conversion function : func_convert_file_X_to_Y () +# path conversion function : func_convert_path_X_to_Y () +# where, for any given $build/$host combination the 'X_to_Y' value is the +# same. If conversion functions are added for new $build/$host combinations, +# the two new functions must follow this pattern, or func_init_to_host_path_cmd +# will break. + + +# func_init_to_host_path_cmd +# Ensures that function "pointer" variable $to_host_path_cmd is set to the +# appropriate value, based on the value of $to_host_file_cmd. +to_host_path_cmd= +func_init_to_host_path_cmd () +{ + $opt_debug + if test -z "$to_host_path_cmd"; then + func_stripname 'func_convert_file_' '' "$to_host_file_cmd" + to_host_path_cmd="func_convert_path_${func_stripname_result}" + fi +} + + +# func_to_host_path ARG +# Converts the path ARG from $build format to $host format. Return result +# in func_to_host_path_result. +func_to_host_path () +{ + $opt_debug + func_init_to_host_path_cmd + $to_host_path_cmd "$1" +} +# end func_to_host_path + + +# func_convert_path_noop ARG +# Copy ARG to func_to_host_path_result. +func_convert_path_noop () +{ + func_to_host_path_result="$1" +} +# end func_convert_path_noop + + +# func_convert_path_msys_to_w32 ARG +# Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic +# conversion to w32 is not available inside the cwrapper. Returns result in +# func_to_host_path_result. +func_convert_path_msys_to_w32 () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # Remove leading and trailing path separator characters from ARG. MSYS + # behavior is inconsistent here; cygpath turns them into '.;' and ';.'; + # and winepath ignores them completely. + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" + func_to_host_path_result="$func_convert_core_msys_to_w32_result" + func_convert_path_check : ";" \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" + fi +} +# end func_convert_path_msys_to_w32 + + +# func_convert_path_cygwin_to_w32 ARG +# Convert path ARG from Cygwin to w32 format. Returns result in +# func_to_host_file_result. +func_convert_path_cygwin_to_w32 () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # See func_convert_path_msys_to_w32: + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"` + func_convert_path_check : ";" \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" + fi +} +# end func_convert_path_cygwin_to_w32 + + +# func_convert_path_nix_to_w32 ARG +# Convert path ARG from *nix to w32 format. Requires a wine environment and +# a working winepath. Returns result in func_to_host_file_result. +func_convert_path_nix_to_w32 () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # See func_convert_path_msys_to_w32: + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" + func_to_host_path_result="$func_convert_core_path_wine_to_w32_result" + func_convert_path_check : ";" \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" + fi +} +# end func_convert_path_nix_to_w32 + + +# func_convert_path_msys_to_cygwin ARG +# Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. +# Returns result in func_to_host_file_result. +func_convert_path_msys_to_cygwin () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # See func_convert_path_msys_to_w32: + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" + func_cygpath -u -p "$func_convert_core_msys_to_w32_result" + func_to_host_path_result="$func_cygpath_result" + func_convert_path_check : : \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" : "$1" + fi +} +# end func_convert_path_msys_to_cygwin + + +# func_convert_path_nix_to_cygwin ARG +# Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a +# a wine environment, working winepath, and LT_CYGPATH set. Returns result in +# func_to_host_file_result. +func_convert_path_nix_to_cygwin () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # Remove leading and trailing path separator characters from + # ARG. msys behavior is inconsistent here, cygpath turns them + # into '.;' and ';.', and winepath ignores them completely. + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" + func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result" + func_to_host_path_result="$func_cygpath_result" + func_convert_path_check : : \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" : "$1" + fi +} +# end func_convert_path_nix_to_cygwin + + +# func_mode_compile arg... +func_mode_compile () +{ + $opt_debug + # Get the compilation command and the source file. + base_compile= + srcfile="$nonopt" # always keep a non-empty value in "srcfile" + suppress_opt=yes + suppress_output= + arg_mode=normal + libobj= + later= + pie_flag= + + for arg + do + case $arg_mode in + arg ) + # do not "continue". Instead, add this to base_compile + lastarg="$arg" + arg_mode=normal + ;; + + target ) + libobj="$arg" + arg_mode=normal + continue + ;; + + normal ) + # Accept any command-line options. + case $arg in + -o) + test -n "$libobj" && \ + func_fatal_error "you cannot specify \`-o' more than once" + arg_mode=target + continue + ;; + + -pie | -fpie | -fPIE) + func_append pie_flag " $arg" + continue + ;; + + -shared | -static | -prefer-pic | -prefer-non-pic) + func_append later " $arg" + continue + ;; + + -no-suppress) + suppress_opt=no + continue + ;; + + -Xcompiler) + arg_mode=arg # the next one goes into the "base_compile" arg list + continue # The current "srcfile" will either be retained or + ;; # replaced later. I would guess that would be a bug. + + -Wc,*) + func_stripname '-Wc,' '' "$arg" + args=$func_stripname_result + lastarg= + save_ifs="$IFS"; IFS=',' + for arg in $args; do + IFS="$save_ifs" + func_append_quoted lastarg "$arg" + done + IFS="$save_ifs" + func_stripname ' ' '' "$lastarg" + lastarg=$func_stripname_result + + # Add the arguments to base_compile. + func_append base_compile " $lastarg" + continue + ;; + + *) + # Accept the current argument as the source file. + # The previous "srcfile" becomes the current argument. + # + lastarg="$srcfile" + srcfile="$arg" + ;; + esac # case $arg + ;; + esac # case $arg_mode + + # Aesthetically quote the previous argument. + func_append_quoted base_compile "$lastarg" + done # for arg + + case $arg_mode in + arg) + func_fatal_error "you must specify an argument for -Xcompile" + ;; + target) + func_fatal_error "you must specify a target with \`-o'" + ;; + *) + # Get the name of the library object. + test -z "$libobj" && { + func_basename "$srcfile" + libobj="$func_basename_result" + } + ;; + esac + + # Recognize several different file suffixes. + # If the user specifies -o file.o, it is replaced with file.lo + case $libobj in + *.[cCFSifmso] | \ + *.ada | *.adb | *.ads | *.asm | \ + *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \ + *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup) + func_xform "$libobj" + libobj=$func_xform_result + ;; + esac + + case $libobj in + *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;; + *) + func_fatal_error "cannot determine name of library object from \`$libobj'" + ;; + esac + + func_infer_tag $base_compile + + for arg in $later; do + case $arg in + -shared) + test "$build_libtool_libs" != yes && \ + func_fatal_configuration "can not build a shared library" + build_old_libs=no + continue + ;; + + -static) + build_libtool_libs=no + build_old_libs=yes + continue + ;; + + -prefer-pic) + pic_mode=yes + continue + ;; + + -prefer-non-pic) + pic_mode=no + continue + ;; + esac + done + + func_quote_for_eval "$libobj" + test "X$libobj" != "X$func_quote_for_eval_result" \ + && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \ + && func_warning "libobj name \`$libobj' may not contain shell special characters." + func_dirname_and_basename "$obj" "/" "" + objname="$func_basename_result" + xdir="$func_dirname_result" + lobj=${xdir}$objdir/$objname + + test -z "$base_compile" && \ + func_fatal_help "you must specify a compilation command" + + # Delete any leftover library objects. + if test "$build_old_libs" = yes; then + removelist="$obj $lobj $libobj ${libobj}T" + else + removelist="$lobj $libobj ${libobj}T" + fi + + # On Cygwin there's no "real" PIC flag so we must build both object types + case $host_os in + cygwin* | mingw* | pw32* | os2* | cegcc*) + pic_mode=default + ;; + esac + if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then + # non-PIC code in shared libraries is not supported + pic_mode=default + fi + + # Calculate the filename of the output object if compiler does + # not support -o with -c + if test "$compiler_c_o" = no; then + output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext} + lockfile="$output_obj.lock" + else + output_obj= + need_locks=no + lockfile= + fi + + # Lock this critical section if it is needed + # We use this script file to make the link, it avoids creating a new file + if test "$need_locks" = yes; then + until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do + func_echo "Waiting for $lockfile to be removed" + sleep 2 + done + elif test "$need_locks" = warn; then + if test -f "$lockfile"; then + $ECHO "\ +*** ERROR, $lockfile exists and contains: +`cat $lockfile 2>/dev/null` + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $opt_dry_run || $RM $removelist + exit $EXIT_FAILURE + fi + func_append removelist " $output_obj" + $ECHO "$srcfile" > "$lockfile" + fi + + $opt_dry_run || $RM $removelist + func_append removelist " $lockfile" + trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 + + func_to_tool_file "$srcfile" func_convert_file_msys_to_w32 + srcfile=$func_to_tool_file_result + func_quote_for_eval "$srcfile" + qsrcfile=$func_quote_for_eval_result + + # Only build a PIC object if we are building libtool libraries. + if test "$build_libtool_libs" = yes; then + # Without this assignment, base_compile gets emptied. + fbsd_hideous_sh_bug=$base_compile + + if test "$pic_mode" != no; then + command="$base_compile $qsrcfile $pic_flag" + else + # Don't build PIC code + command="$base_compile $qsrcfile" + fi + + func_mkdir_p "$xdir$objdir" + + if test -z "$output_obj"; then + # Place PIC objects in $objdir + func_append command " -o $lobj" + fi + + func_show_eval_locale "$command" \ + 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' + + if test "$need_locks" = warn && + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then + $ECHO "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $opt_dry_run || $RM $removelist + exit $EXIT_FAILURE + fi + + # Just move the object if needed, then go on to compile the next one + if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then + func_show_eval '$MV "$output_obj" "$lobj"' \ + 'error=$?; $opt_dry_run || $RM $removelist; exit $error' + fi + + # Allow error messages only from the first compilation. + if test "$suppress_opt" = yes; then + suppress_output=' >/dev/null 2>&1' + fi + fi + + # Only build a position-dependent object if we build old libraries. + if test "$build_old_libs" = yes; then + if test "$pic_mode" != yes; then + # Don't build PIC code + command="$base_compile $qsrcfile$pie_flag" + else + command="$base_compile $qsrcfile $pic_flag" + fi + if test "$compiler_c_o" = yes; then + func_append command " -o $obj" + fi + + # Suppress compiler output if we already did a PIC compilation. + func_append command "$suppress_output" + func_show_eval_locale "$command" \ + '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' + + if test "$need_locks" = warn && + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then + $ECHO "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $opt_dry_run || $RM $removelist + exit $EXIT_FAILURE + fi + + # Just move the object if needed + if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then + func_show_eval '$MV "$output_obj" "$obj"' \ + 'error=$?; $opt_dry_run || $RM $removelist; exit $error' + fi + fi + + $opt_dry_run || { + func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" + + # Unlock the critical section if it was locked + if test "$need_locks" != no; then + removelist=$lockfile + $RM "$lockfile" + fi + } + + exit $EXIT_SUCCESS +} + +$opt_help || { + test "$opt_mode" = compile && func_mode_compile ${1+"$@"} +} + +func_mode_help () +{ + # We need to display help for each of the modes. + case $opt_mode in + "") + # Generic help is extracted from the usage comments + # at the start of this file. + func_help + ;; + + clean) + $ECHO \ +"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE... + +Remove files from the build directory. + +RM is the name of the program to use to delete files associated with each FILE +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed +to RM. + +If FILE is a libtool library, object or program, all the files associated +with it are deleted. Otherwise, only FILE itself is deleted using RM." + ;; + + compile) + $ECHO \ +"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE + +Compile a source file into a libtool library object. + +This mode accepts the following additional options: + + -o OUTPUT-FILE set the output file name to OUTPUT-FILE + -no-suppress do not suppress compiler output for multiple passes + -prefer-pic try to build PIC objects only + -prefer-non-pic try to build non-PIC objects only + -shared do not build a \`.o' file suitable for static linking + -static only build a \`.o' file suitable for static linking + -Wc,FLAG pass FLAG directly to the compiler + +COMPILE-COMMAND is a command to be used in creating a \`standard' object file +from the given SOURCEFILE. + +The output file name is determined by removing the directory component from +SOURCEFILE, then substituting the C source code suffix \`.c' with the +library object suffix, \`.lo'." + ;; + + execute) + $ECHO \ +"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]... + +Automatically set library path, then run a program. + +This mode accepts the following additional options: + + -dlopen FILE add the directory containing FILE to the library path + +This mode sets the library path environment variable according to \`-dlopen' +flags. + +If any of the ARGS are libtool executable wrappers, then they are translated +into their corresponding uninstalled binary, and any of their required library +directories are added to the library path. + +Then, COMMAND is executed, with ARGS as arguments." + ;; + + finish) + $ECHO \ +"Usage: $progname [OPTION]... --mode=finish [LIBDIR]... + +Complete the installation of libtool libraries. + +Each LIBDIR is a directory that contains libtool libraries. + +The commands that this mode executes may require superuser privileges. Use +the \`--dry-run' option if you just want to see what would be executed." + ;; + + install) + $ECHO \ +"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND... + +Install executables or libraries. + +INSTALL-COMMAND is the installation command. The first component should be +either the \`install' or \`cp' program. + +The following components of INSTALL-COMMAND are treated specially: + + -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation + +The rest of the components are interpreted as arguments to that command (only +BSD-compatible install options are recognized)." + ;; + + link) + $ECHO \ +"Usage: $progname [OPTION]... --mode=link LINK-COMMAND... + +Link object files or libraries together to form another library, or to +create an executable program. + +LINK-COMMAND is a command using the C compiler that you would use to create +a program from several object files. + +The following components of LINK-COMMAND are treated specially: + + -all-static do not do any dynamic linking at all + -avoid-version do not add a version suffix if possible + -bindir BINDIR specify path to binaries directory (for systems where + libraries must be found in the PATH setting at runtime) + -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime + -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols + -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) + -export-symbols SYMFILE + try to export only the symbols listed in SYMFILE + -export-symbols-regex REGEX + try to export only the symbols matching REGEX + -LLIBDIR search LIBDIR for required installed libraries + -lNAME OUTPUT-FILE requires the installed library libNAME + -module build a library that can dlopened + -no-fast-install disable the fast-install mode + -no-install link a not-installable executable + -no-undefined declare that a library does not refer to external symbols + -o OUTPUT-FILE create OUTPUT-FILE from the specified objects + -objectlist FILE Use a list of object files found in FILE to specify objects + -precious-files-regex REGEX + don't remove output files matching REGEX + -release RELEASE specify package release information + -rpath LIBDIR the created library will eventually be installed in LIBDIR + -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries + -shared only do dynamic linking of libtool libraries + -shrext SUFFIX override the standard shared library file extension + -static do not do any dynamic linking of uninstalled libtool libraries + -static-libtool-libs + do not do any dynamic linking of libtool libraries + -version-info CURRENT[:REVISION[:AGE]] + specify library version info [each variable defaults to 0] + -weak LIBNAME declare that the target provides the LIBNAME interface + -Wc,FLAG + -Xcompiler FLAG pass linker-specific FLAG directly to the compiler + -Wl,FLAG + -Xlinker FLAG pass linker-specific FLAG directly to the linker + -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC) + +All other options (arguments beginning with \`-') are ignored. + +Every other argument is treated as a filename. Files ending in \`.la' are +treated as uninstalled libtool libraries, other files are standard or library +object files. + +If the OUTPUT-FILE ends in \`.la', then a libtool library is created, +only library objects (\`.lo' files) may be specified, and \`-rpath' is +required, except when creating a convenience library. + +If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created +using \`ar' and \`ranlib', or on Windows using \`lib'. + +If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file +is created, otherwise an executable program is created." + ;; + + uninstall) + $ECHO \ +"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... + +Remove libraries from an installation directory. + +RM is the name of the program to use to delete files associated with each FILE +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed +to RM. + +If FILE is a libtool library, all the files associated with it are deleted. +Otherwise, only FILE itself is deleted using RM." + ;; + + *) + func_fatal_help "invalid operation mode \`$opt_mode'" + ;; + esac + + echo + $ECHO "Try \`$progname --help' for more information about other modes." +} + +# Now that we've collected a possible --mode arg, show help if necessary +if $opt_help; then + if test "$opt_help" = :; then + func_mode_help + else + { + func_help noexit + for opt_mode in compile link execute install finish uninstall clean; do + func_mode_help + done + } | sed -n '1p; 2,$s/^Usage:/ or: /p' + { + func_help noexit + for opt_mode in compile link execute install finish uninstall clean; do + echo + func_mode_help + done + } | + sed '1d + /^When reporting/,/^Report/{ + H + d + } + $x + /information about other modes/d + /more detailed .*MODE/d + s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/' + fi + exit $? +fi + + +# func_mode_execute arg... +func_mode_execute () +{ + $opt_debug + # The first argument is the command name. + cmd="$nonopt" + test -z "$cmd" && \ + func_fatal_help "you must specify a COMMAND" + + # Handle -dlopen flags immediately. + for file in $opt_dlopen; do + test -f "$file" \ + || func_fatal_help "\`$file' is not a file" + + dir= + case $file in + *.la) + func_resolve_sysroot "$file" + file=$func_resolve_sysroot_result + + # Check to see that this really is a libtool archive. + func_lalib_unsafe_p "$file" \ + || func_fatal_help "\`$lib' is not a valid libtool archive" + + # Read the libtool library. + dlname= + library_names= + func_source "$file" + + # Skip this library if it cannot be dlopened. + if test -z "$dlname"; then + # Warn if it was a shared library. + test -n "$library_names" && \ + func_warning "\`$file' was not linked with \`-export-dynamic'" + continue + fi + + func_dirname "$file" "" "." + dir="$func_dirname_result" + + if test -f "$dir/$objdir/$dlname"; then + func_append dir "/$objdir" + else + if test ! -f "$dir/$dlname"; then + func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" + fi + fi + ;; + + *.lo) + # Just add the directory containing the .lo file. + func_dirname "$file" "" "." + dir="$func_dirname_result" + ;; + + *) + func_warning "\`-dlopen' is ignored for non-libtool libraries and objects" + continue + ;; + esac + + # Get the absolute pathname. + absdir=`cd "$dir" && pwd` + test -n "$absdir" && dir="$absdir" + + # Now add the directory to shlibpath_var. + if eval "test -z \"\$$shlibpath_var\""; then + eval "$shlibpath_var=\"\$dir\"" + else + eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" + fi + done + + # This variable tells wrapper scripts just to set shlibpath_var + # rather than running their programs. + libtool_execute_magic="$magic" + + # Check if any of the arguments is a wrapper script. + args= + for file + do + case $file in + -* | *.la | *.lo ) ;; + *) + # Do a test to see if this is really a libtool program. + if func_ltwrapper_script_p "$file"; then + func_source "$file" + # Transform arg to wrapped name. + file="$progdir/$program" + elif func_ltwrapper_executable_p "$file"; then + func_ltwrapper_scriptname "$file" + func_source "$func_ltwrapper_scriptname_result" + # Transform arg to wrapped name. + file="$progdir/$program" + fi + ;; + esac + # Quote arguments (to preserve shell metacharacters). + func_append_quoted args "$file" + done + + if test "X$opt_dry_run" = Xfalse; then + if test -n "$shlibpath_var"; then + # Export the shlibpath_var. + eval "export $shlibpath_var" + fi + + # Restore saved environment variables + for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES + do + eval "if test \"\${save_$lt_var+set}\" = set; then + $lt_var=\$save_$lt_var; export $lt_var + else + $lt_unset $lt_var + fi" + done + + # Now prepare to actually exec the command. + exec_cmd="\$cmd$args" + else + # Display what would be done. + if test -n "$shlibpath_var"; then + eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" + echo "export $shlibpath_var" + fi + $ECHO "$cmd$args" + exit $EXIT_SUCCESS + fi +} + +test "$opt_mode" = execute && func_mode_execute ${1+"$@"} + + +# func_mode_finish arg... +func_mode_finish () +{ + $opt_debug + libs= + libdirs= + admincmds= + + for opt in "$nonopt" ${1+"$@"} + do + if test -d "$opt"; then + func_append libdirs " $opt" + + elif test -f "$opt"; then + if func_lalib_unsafe_p "$opt"; then + func_append libs " $opt" + else + func_warning "\`$opt' is not a valid libtool archive" + fi + + else + func_fatal_error "invalid argument \`$opt'" + fi + done + + if test -n "$libs"; then + if test -n "$lt_sysroot"; then + sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"` + sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;" + else + sysroot_cmd= + fi + + # Remove sysroot references + if $opt_dry_run; then + for lib in $libs; do + echo "removing references to $lt_sysroot and \`=' prefixes from $lib" + done + else + tmpdir=`func_mktempdir` + for lib in $libs; do + sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \ + > $tmpdir/tmp-la + mv -f $tmpdir/tmp-la $lib + done + ${RM}r "$tmpdir" + fi + fi + + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then + for libdir in $libdirs; do + if test -n "$finish_cmds"; then + # Do each command in the finish commands. + func_execute_cmds "$finish_cmds" 'admincmds="$admincmds +'"$cmd"'"' + fi + if test -n "$finish_eval"; then + # Do the single finish_eval. + eval cmds=\"$finish_eval\" + $opt_dry_run || eval "$cmds" || func_append admincmds " + $cmds" + fi + done + fi + + # Exit here if they wanted silent mode. + $opt_silent && exit $EXIT_SUCCESS + + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then + echo "----------------------------------------------------------------------" + echo "Libraries have been installed in:" + for libdir in $libdirs; do + $ECHO " $libdir" + done + echo + echo "If you ever happen to want to link against installed libraries" + echo "in a given directory, LIBDIR, you must either use libtool, and" + echo "specify the full pathname of the library, or use the \`-LLIBDIR'" + echo "flag during linking and do at least one of the following:" + if test -n "$shlibpath_var"; then + echo " - add LIBDIR to the \`$shlibpath_var' environment variable" + echo " during execution" + fi + if test -n "$runpath_var"; then + echo " - add LIBDIR to the \`$runpath_var' environment variable" + echo " during linking" + fi + if test -n "$hardcode_libdir_flag_spec"; then + libdir=LIBDIR + eval flag=\"$hardcode_libdir_flag_spec\" + + $ECHO " - use the \`$flag' linker flag" + fi + if test -n "$admincmds"; then + $ECHO " - have your system administrator run these commands:$admincmds" + fi + if test -f /etc/ld.so.conf; then + echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" + fi + echo + + echo "See any operating system documentation about shared libraries for" + case $host in + solaris2.[6789]|solaris2.1[0-9]) + echo "more information, such as the ld(1), crle(1) and ld.so(8) manual" + echo "pages." + ;; + *) + echo "more information, such as the ld(1) and ld.so(8) manual pages." + ;; + esac + echo "----------------------------------------------------------------------" + fi + exit $EXIT_SUCCESS +} + +test "$opt_mode" = finish && func_mode_finish ${1+"$@"} + + +# func_mode_install arg... +func_mode_install () +{ + $opt_debug + # There may be an optional sh(1) argument at the beginning of + # install_prog (especially on Windows NT). + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || + # Allow the use of GNU shtool's install command. + case $nonopt in *shtool*) :;; *) false;; esac; then + # Aesthetically quote it. + func_quote_for_eval "$nonopt" + install_prog="$func_quote_for_eval_result " + arg=$1 + shift + else + install_prog= + arg=$nonopt + fi + + # The real first argument should be the name of the installation program. + # Aesthetically quote it. + func_quote_for_eval "$arg" + func_append install_prog "$func_quote_for_eval_result" + install_shared_prog=$install_prog + case " $install_prog " in + *[\\\ /]cp\ *) install_cp=: ;; + *) install_cp=false ;; + esac + + # We need to accept at least all the BSD install flags. + dest= + files= + opts= + prev= + install_type= + isdir=no + stripme= + no_mode=: + for arg + do + arg2= + if test -n "$dest"; then + func_append files " $dest" + dest=$arg + continue + fi + + case $arg in + -d) isdir=yes ;; + -f) + if $install_cp; then :; else + prev=$arg + fi + ;; + -g | -m | -o) + prev=$arg + ;; + -s) + stripme=" -s" + continue + ;; + -*) + ;; + *) + # If the previous option needed an argument, then skip it. + if test -n "$prev"; then + if test "x$prev" = x-m && test -n "$install_override_mode"; then + arg2=$install_override_mode + no_mode=false + fi + prev= + else + dest=$arg + continue + fi + ;; + esac + + # Aesthetically quote the argument. + func_quote_for_eval "$arg" + func_append install_prog " $func_quote_for_eval_result" + if test -n "$arg2"; then + func_quote_for_eval "$arg2" + fi + func_append install_shared_prog " $func_quote_for_eval_result" + done + + test -z "$install_prog" && \ + func_fatal_help "you must specify an install program" + + test -n "$prev" && \ + func_fatal_help "the \`$prev' option requires an argument" + + if test -n "$install_override_mode" && $no_mode; then + if $install_cp; then :; else + func_quote_for_eval "$install_override_mode" + func_append install_shared_prog " -m $func_quote_for_eval_result" + fi + fi + + if test -z "$files"; then + if test -z "$dest"; then + func_fatal_help "no file or destination specified" + else + func_fatal_help "you must specify a destination" + fi + fi + + # Strip any trailing slash from the destination. + func_stripname '' '/' "$dest" + dest=$func_stripname_result + + # Check to see that the destination is a directory. + test -d "$dest" && isdir=yes + if test "$isdir" = yes; then + destdir="$dest" + destname= + else + func_dirname_and_basename "$dest" "" "." + destdir="$func_dirname_result" + destname="$func_basename_result" + + # Not a directory, so check to see that there is only one file specified. + set dummy $files; shift + test "$#" -gt 1 && \ + func_fatal_help "\`$dest' is not a directory" + fi + case $destdir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + for file in $files; do + case $file in + *.lo) ;; + *) + func_fatal_help "\`$destdir' must be an absolute directory name" + ;; + esac + done + ;; + esac + + # This variable tells wrapper scripts just to set variables rather + # than running their programs. + libtool_install_magic="$magic" + + staticlibs= + future_libdirs= + current_libdirs= + for file in $files; do + + # Do each installation. + case $file in + *.$libext) + # Do the static libraries later. + func_append staticlibs " $file" + ;; + + *.la) + func_resolve_sysroot "$file" + file=$func_resolve_sysroot_result + + # Check to see that this really is a libtool archive. + func_lalib_unsafe_p "$file" \ + || func_fatal_help "\`$file' is not a valid libtool archive" + + library_names= + old_library= + relink_command= + func_source "$file" + + # Add the libdir to current_libdirs if it is the destination. + if test "X$destdir" = "X$libdir"; then + case "$current_libdirs " in + *" $libdir "*) ;; + *) func_append current_libdirs " $libdir" ;; + esac + else + # Note the libdir as a future libdir. + case "$future_libdirs " in + *" $libdir "*) ;; + *) func_append future_libdirs " $libdir" ;; + esac + fi + + func_dirname "$file" "/" "" + dir="$func_dirname_result" + func_append dir "$objdir" + + if test -n "$relink_command"; then + # Determine the prefix the user has applied to our future dir. + inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"` + + # Don't allow the user to place us outside of our expected + # location b/c this prevents finding dependent libraries that + # are installed to the same prefix. + # At present, this check doesn't affect windows .dll's that + # are installed into $libdir/../bin (currently, that works fine) + # but it's something to keep an eye on. + test "$inst_prefix_dir" = "$destdir" && \ + func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir" + + if test -n "$inst_prefix_dir"; then + # Stick the inst_prefix_dir data into the link command. + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` + else + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"` + fi + + func_warning "relinking \`$file'" + func_show_eval "$relink_command" \ + 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"' + fi + + # See the names of the shared library. + set dummy $library_names; shift + if test -n "$1"; then + realname="$1" + shift + + srcname="$realname" + test -n "$relink_command" && srcname="$realname"T + + # Install the shared library and build the symlinks. + func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \ + 'exit $?' + tstripme="$stripme" + case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + case $realname in + *.dll.a) + tstripme="" + ;; + esac + ;; + esac + if test -n "$tstripme" && test -n "$striplib"; then + func_show_eval "$striplib $destdir/$realname" 'exit $?' + fi + + if test "$#" -gt 0; then + # Delete the old symlinks, and create new ones. + # Try `ln -sf' first, because the `ln' binary might depend on + # the symlink we replace! Solaris /bin/ln does not understand -f, + # so we also need to try rm && ln -s. + for linkname + do + test "$linkname" != "$realname" \ + && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })" + done + fi + + # Do each command in the postinstall commands. + lib="$destdir/$realname" + func_execute_cmds "$postinstall_cmds" 'exit $?' + fi + + # Install the pseudo-library for information purposes. + func_basename "$file" + name="$func_basename_result" + instname="$dir/$name"i + func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' + + # Maybe install the static library, too. + test -n "$old_library" && func_append staticlibs " $dir/$old_library" + ;; + + *.lo) + # Install (i.e. copy) a libtool object. + + # Figure out destination file name, if it wasn't already specified. + if test -n "$destname"; then + destfile="$destdir/$destname" + else + func_basename "$file" + destfile="$func_basename_result" + destfile="$destdir/$destfile" + fi + + # Deduce the name of the destination old-style object file. + case $destfile in + *.lo) + func_lo2o "$destfile" + staticdest=$func_lo2o_result + ;; + *.$objext) + staticdest="$destfile" + destfile= + ;; + *) + func_fatal_help "cannot copy a libtool object to \`$destfile'" + ;; + esac + + # Install the libtool object if requested. + test -n "$destfile" && \ + func_show_eval "$install_prog $file $destfile" 'exit $?' + + # Install the old object if enabled. + if test "$build_old_libs" = yes; then + # Deduce the name of the old-style object file. + func_lo2o "$file" + staticobj=$func_lo2o_result + func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' + fi + exit $EXIT_SUCCESS + ;; + + *) + # Figure out destination file name, if it wasn't already specified. + if test -n "$destname"; then + destfile="$destdir/$destname" + else + func_basename "$file" + destfile="$func_basename_result" + destfile="$destdir/$destfile" + fi + + # If the file is missing, and there is a .exe on the end, strip it + # because it is most likely a libtool script we actually want to + # install + stripped_ext="" + case $file in + *.exe) + if test ! -f "$file"; then + func_stripname '' '.exe' "$file" + file=$func_stripname_result + stripped_ext=".exe" + fi + ;; + esac + + # Do a test to see if this is really a libtool program. + case $host in + *cygwin* | *mingw*) + if func_ltwrapper_executable_p "$file"; then + func_ltwrapper_scriptname "$file" + wrapper=$func_ltwrapper_scriptname_result + else + func_stripname '' '.exe' "$file" + wrapper=$func_stripname_result + fi + ;; + *) + wrapper=$file + ;; + esac + if func_ltwrapper_script_p "$wrapper"; then + notinst_deplibs= + relink_command= + + func_source "$wrapper" + + # Check the variables that should have been set. + test -z "$generated_by_libtool_version" && \ + func_fatal_error "invalid libtool wrapper script \`$wrapper'" + + finalize=yes + for lib in $notinst_deplibs; do + # Check to see that each library is installed. + libdir= + if test -f "$lib"; then + func_source "$lib" + fi + libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test + if test -n "$libdir" && test ! -f "$libfile"; then + func_warning "\`$lib' has not been installed in \`$libdir'" + finalize=no + fi + done + + relink_command= + func_source "$wrapper" + + outputname= + if test "$fast_install" = no && test -n "$relink_command"; then + $opt_dry_run || { + if test "$finalize" = yes; then + tmpdir=`func_mktempdir` + func_basename "$file$stripped_ext" + file="$func_basename_result" + outputname="$tmpdir/$file" + # Replace the output file specification. + relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` + + $opt_silent || { + func_quote_for_expand "$relink_command" + eval "func_echo $func_quote_for_expand_result" + } + if eval "$relink_command"; then : + else + func_error "error: relink \`$file' with the above command before installing it" + $opt_dry_run || ${RM}r "$tmpdir" + continue + fi + file="$outputname" + else + func_warning "cannot relink \`$file'" + fi + } + else + # Install the binary that we compiled earlier. + file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"` + fi + fi + + # remove .exe since cygwin /usr/bin/install will append another + # one anyway + case $install_prog,$host in + */usr/bin/install*,*cygwin*) + case $file:$destfile in + *.exe:*.exe) + # this is ok + ;; + *.exe:*) + destfile=$destfile.exe + ;; + *:*.exe) + func_stripname '' '.exe' "$destfile" + destfile=$func_stripname_result + ;; + esac + ;; + esac + func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?' + $opt_dry_run || if test -n "$outputname"; then + ${RM}r "$tmpdir" + fi + ;; + esac + done + + for file in $staticlibs; do + func_basename "$file" + name="$func_basename_result" + + # Set up the ranlib parameters. + oldlib="$destdir/$name" + func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 + tool_oldlib=$func_to_tool_file_result + + func_show_eval "$install_prog \$file \$oldlib" 'exit $?' + + if test -n "$stripme" && test -n "$old_striplib"; then + func_show_eval "$old_striplib $tool_oldlib" 'exit $?' + fi + + # Do each command in the postinstall commands. + func_execute_cmds "$old_postinstall_cmds" 'exit $?' + done + + test -n "$future_libdirs" && \ + func_warning "remember to run \`$progname --finish$future_libdirs'" + + if test -n "$current_libdirs"; then + # Maybe just do a dry run. + $opt_dry_run && current_libdirs=" -n$current_libdirs" + exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' + else + exit $EXIT_SUCCESS + fi +} + +test "$opt_mode" = install && func_mode_install ${1+"$@"} + + +# func_generate_dlsyms outputname originator pic_p +# Extract symbols from dlprefiles and create ${outputname}S.o with +# a dlpreopen symbol table. +func_generate_dlsyms () +{ + $opt_debug + my_outputname="$1" + my_originator="$2" + my_pic_p="${3-no}" + my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'` + my_dlsyms= + + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + if test -n "$NM" && test -n "$global_symbol_pipe"; then + my_dlsyms="${my_outputname}S.c" + else + func_error "not configured to extract global symbols from dlpreopened files" + fi + fi + + if test -n "$my_dlsyms"; then + case $my_dlsyms in + "") ;; + *.c) + # Discover the nlist of each of the dlfiles. + nlist="$output_objdir/${my_outputname}.nm" + + func_show_eval "$RM $nlist ${nlist}S ${nlist}T" + + # Parse the name list into a source file. + func_verbose "creating $output_objdir/$my_dlsyms" + + $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ +/* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */ +/* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */ + +#ifdef __cplusplus +extern \"C\" { +#endif + +#if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)) +#pragma GCC diagnostic ignored \"-Wstrict-prototypes\" +#endif + +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) +/* DATA imports from DLLs on WIN32 con't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT_DLSYM_CONST +#elif defined(__osf__) +/* This system does not cope well with relocations in const data. */ +# define LT_DLSYM_CONST +#else +# define LT_DLSYM_CONST const +#endif + +/* External symbol declarations for the compiler. */\ +" + + if test "$dlself" = yes; then + func_verbose "generating symbol list for \`$output'" + + $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" + + # Add our own program objects to the symbol list. + progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP` + for progfile in $progfiles; do + func_to_tool_file "$progfile" func_convert_file_msys_to_w32 + func_verbose "extracting global C symbols from \`$func_to_tool_file_result'" + $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'" + done + + if test -n "$exclude_expsyms"; then + $opt_dry_run || { + eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' + eval '$MV "$nlist"T "$nlist"' + } + fi + + if test -n "$export_symbols_regex"; then + $opt_dry_run || { + eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' + eval '$MV "$nlist"T "$nlist"' + } + fi + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + export_symbols="$output_objdir/$outputname.exp" + $opt_dry_run || { + $RM $export_symbols + eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' + case $host in + *cygwin* | *mingw* | *cegcc* ) + eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' + eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' + ;; + esac + } + else + $opt_dry_run || { + eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' + eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' + eval '$MV "$nlist"T "$nlist"' + case $host in + *cygwin* | *mingw* | *cegcc* ) + eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' + eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' + ;; + esac + } + fi + fi + + for dlprefile in $dlprefiles; do + func_verbose "extracting global C symbols from \`$dlprefile'" + func_basename "$dlprefile" + name="$func_basename_result" + case $host in + *cygwin* | *mingw* | *cegcc* ) + # if an import library, we need to obtain dlname + if func_win32_import_lib_p "$dlprefile"; then + func_tr_sh "$dlprefile" + eval "curr_lafile=\$libfile_$func_tr_sh_result" + dlprefile_dlbasename="" + if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then + # Use subshell, to avoid clobbering current variable values + dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"` + if test -n "$dlprefile_dlname" ; then + func_basename "$dlprefile_dlname" + dlprefile_dlbasename="$func_basename_result" + else + # no lafile. user explicitly requested -dlpreopen <import library>. + $sharedlib_from_linklib_cmd "$dlprefile" + dlprefile_dlbasename=$sharedlib_from_linklib_result + fi + fi + $opt_dry_run || { + if test -n "$dlprefile_dlbasename" ; then + eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"' + else + func_warning "Could not compute DLL name from $name" + eval '$ECHO ": $name " >> "$nlist"' + fi + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | + $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'" + } + else # not an import lib + $opt_dry_run || { + eval '$ECHO ": $name " >> "$nlist"' + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" + } + fi + ;; + *) + $opt_dry_run || { + eval '$ECHO ": $name " >> "$nlist"' + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" + } + ;; + esac + done + + $opt_dry_run || { + # Make sure we have at least an empty file. + test -f "$nlist" || : > "$nlist" + + if test -n "$exclude_expsyms"; then + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T + $MV "$nlist"T "$nlist" + fi + + # Try sorting and uniquifying the output. + if $GREP -v "^: " < "$nlist" | + if sort -k 3 </dev/null >/dev/null 2>&1; then + sort -k 3 + else + sort +2 + fi | + uniq > "$nlist"S; then + : + else + $GREP -v "^: " < "$nlist" > "$nlist"S + fi + + if test -f "$nlist"S; then + eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' + else + echo '/* NONE */' >> "$output_objdir/$my_dlsyms" + fi + + echo >> "$output_objdir/$my_dlsyms" "\ + +/* The mapping between symbol names and symbols. */ +typedef struct { + const char *name; + void *address; +} lt_dlsymlist; +extern LT_DLSYM_CONST lt_dlsymlist +lt_${my_prefix}_LTX_preloaded_symbols[]; +LT_DLSYM_CONST lt_dlsymlist +lt_${my_prefix}_LTX_preloaded_symbols[] = +{\ + { \"$my_originator\", (void *) 0 }," + + case $need_lib_prefix in + no) + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" + ;; + *) + eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" + ;; + esac + echo >> "$output_objdir/$my_dlsyms" "\ + {0, (void *) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt_${my_prefix}_LTX_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif\ +" + } # !$opt_dry_run + + pic_flag_for_symtable= + case "$compile_command " in + *" -static "*) ;; + *) + case $host in + # compiling the symbol table file with pic_flag works around + # a FreeBSD bug that causes programs to crash when -lm is + # linked before any other PIC object. But we must not use + # pic_flag when linking with -static. The problem exists in + # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. + *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) + pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; + *-*-hpux*) + pic_flag_for_symtable=" $pic_flag" ;; + *) + if test "X$my_pic_p" != Xno; then + pic_flag_for_symtable=" $pic_flag" + fi + ;; + esac + ;; + esac + symtab_cflags= + for arg in $LTCFLAGS; do + case $arg in + -pie | -fpie | -fPIE) ;; + *) func_append symtab_cflags " $arg" ;; + esac + done + + # Now compile the dynamic symbol file. + func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?' + + # Clean up the generated files. + func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"' + + # Transform the symbol file into the correct name. + symfileobj="$output_objdir/${my_outputname}S.$objext" + case $host in + *cygwin* | *mingw* | *cegcc* ) + if test -f "$output_objdir/$my_outputname.def"; then + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` + else + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` + fi + ;; + *) + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` + ;; + esac + ;; + *) + func_fatal_error "unknown suffix for \`$my_dlsyms'" + ;; + esac + else + # We keep going just in case the user didn't refer to + # lt_preloaded_symbols. The linker will fail if global_symbol_pipe + # really was required. + + # Nullify the symbol file. + compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"` + fi +} + +# func_win32_libid arg +# return the library type of file 'arg' +# +# Need a lot of goo to handle *both* DLLs and import libs +# Has to be a shell function in order to 'eat' the argument +# that is supplied when $file_magic_command is called. +# Despite the name, also deal with 64 bit binaries. +func_win32_libid () +{ + $opt_debug + win32_libid_type="unknown" + win32_fileres=`file -L $1 2>/dev/null` + case $win32_fileres in + *ar\ archive\ import\ library*) # definitely import + win32_libid_type="x86 archive import" + ;; + *ar\ archive*) # could be an import, or static + # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD. + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | + $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then + func_to_tool_file "$1" func_convert_file_msys_to_w32 + win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" | + $SED -n -e ' + 1,100{ + / I /{ + s,.*,import, + p + q + } + }'` + case $win32_nmres in + import*) win32_libid_type="x86 archive import";; + *) win32_libid_type="x86 archive static";; + esac + fi + ;; + *DLL*) + win32_libid_type="x86 DLL" + ;; + *executable*) # but shell scripts are "executable" too... + case $win32_fileres in + *MS\ Windows\ PE\ Intel*) + win32_libid_type="x86 DLL" + ;; + esac + ;; + esac + $ECHO "$win32_libid_type" +} + +# func_cygming_dll_for_implib ARG +# +# Platform-specific function to extract the +# name of the DLL associated with the specified +# import library ARG. +# Invoked by eval'ing the libtool variable +# $sharedlib_from_linklib_cmd +# Result is available in the variable +# $sharedlib_from_linklib_result +func_cygming_dll_for_implib () +{ + $opt_debug + sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"` +} + +# func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs +# +# The is the core of a fallback implementation of a +# platform-specific function to extract the name of the +# DLL associated with the specified import library LIBNAME. +# +# SECTION_NAME is either .idata$6 or .idata$7, depending +# on the platform and compiler that created the implib. +# +# Echos the name of the DLL associated with the +# specified import library. +func_cygming_dll_for_implib_fallback_core () +{ + $opt_debug + match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"` + $OBJDUMP -s --section "$1" "$2" 2>/dev/null | + $SED '/^Contents of section '"$match_literal"':/{ + # Place marker at beginning of archive member dllname section + s/.*/====MARK====/ + p + d + } + # These lines can sometimes be longer than 43 characters, but + # are always uninteresting + /:[ ]*file format pe[i]\{,1\}-/d + /^In archive [^:]*:/d + # Ensure marker is printed + /^====MARK====/p + # Remove all lines with less than 43 characters + /^.\{43\}/!d + # From remaining lines, remove first 43 characters + s/^.\{43\}//' | + $SED -n ' + # Join marker and all lines until next marker into a single line + /^====MARK====/ b para + H + $ b para + b + :para + x + s/\n//g + # Remove the marker + s/^====MARK====// + # Remove trailing dots and whitespace + s/[\. \t]*$// + # Print + /./p' | + # we now have a list, one entry per line, of the stringified + # contents of the appropriate section of all members of the + # archive which possess that section. Heuristic: eliminate + # all those which have a first or second character that is + # a '.' (that is, objdump's representation of an unprintable + # character.) This should work for all archives with less than + # 0x302f exports -- but will fail for DLLs whose name actually + # begins with a literal '.' or a single character followed by + # a '.'. + # + # Of those that remain, print the first one. + $SED -e '/^\./d;/^.\./d;q' +} + +# func_cygming_gnu_implib_p ARG +# This predicate returns with zero status (TRUE) if +# ARG is a GNU/binutils-style import library. Returns +# with nonzero status (FALSE) otherwise. +func_cygming_gnu_implib_p () +{ + $opt_debug + func_to_tool_file "$1" func_convert_file_msys_to_w32 + func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'` + test -n "$func_cygming_gnu_implib_tmp" +} + +# func_cygming_ms_implib_p ARG +# This predicate returns with zero status (TRUE) if +# ARG is an MS-style import library. Returns +# with nonzero status (FALSE) otherwise. +func_cygming_ms_implib_p () +{ + $opt_debug + func_to_tool_file "$1" func_convert_file_msys_to_w32 + func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'` + test -n "$func_cygming_ms_implib_tmp" +} + +# func_cygming_dll_for_implib_fallback ARG +# Platform-specific function to extract the +# name of the DLL associated with the specified +# import library ARG. +# +# This fallback implementation is for use when $DLLTOOL +# does not support the --identify-strict option. +# Invoked by eval'ing the libtool variable +# $sharedlib_from_linklib_cmd +# Result is available in the variable +# $sharedlib_from_linklib_result +func_cygming_dll_for_implib_fallback () +{ + $opt_debug + if func_cygming_gnu_implib_p "$1" ; then + # binutils import library + sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"` + elif func_cygming_ms_implib_p "$1" ; then + # ms-generated import library + sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"` + else + # unknown + sharedlib_from_linklib_result="" + fi +} + + +# func_extract_an_archive dir oldlib +func_extract_an_archive () +{ + $opt_debug + f_ex_an_ar_dir="$1"; shift + f_ex_an_ar_oldlib="$1" + if test "$lock_old_archive_extraction" = yes; then + lockfile=$f_ex_an_ar_oldlib.lock + until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do + func_echo "Waiting for $lockfile to be removed" + sleep 2 + done + fi + func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \ + 'stat=$?; rm -f "$lockfile"; exit $stat' + if test "$lock_old_archive_extraction" = yes; then + $opt_dry_run || rm -f "$lockfile" + fi + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then + : + else + func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" + fi +} + + +# func_extract_archives gentop oldlib ... +func_extract_archives () +{ + $opt_debug + my_gentop="$1"; shift + my_oldlibs=${1+"$@"} + my_oldobjs="" + my_xlib="" + my_xabs="" + my_xdir="" + + for my_xlib in $my_oldlibs; do + # Extract the objects. + case $my_xlib in + [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; + *) my_xabs=`pwd`"/$my_xlib" ;; + esac + func_basename "$my_xlib" + my_xlib="$func_basename_result" + my_xlib_u=$my_xlib + while :; do + case " $extracted_archives " in + *" $my_xlib_u "*) + func_arith $extracted_serial + 1 + extracted_serial=$func_arith_result + my_xlib_u=lt$extracted_serial-$my_xlib ;; + *) break ;; + esac + done + extracted_archives="$extracted_archives $my_xlib_u" + my_xdir="$my_gentop/$my_xlib_u" + + func_mkdir_p "$my_xdir" + + case $host in + *-darwin*) + func_verbose "Extracting $my_xabs" + # Do not bother doing anything if just a dry run + $opt_dry_run || { + darwin_orig_dir=`pwd` + cd $my_xdir || exit $? + darwin_archive=$my_xabs + darwin_curdir=`pwd` + darwin_base_archive=`basename "$darwin_archive"` + darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` + if test -n "$darwin_arches"; then + darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` + darwin_arch= + func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" + for darwin_arch in $darwin_arches ; do + func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}" + $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" + cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" + func_extract_an_archive "`pwd`" "${darwin_base_archive}" + cd "$darwin_curdir" + $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" + done # $darwin_arches + ## Okay now we've a bunch of thin objects, gotta fatten them up :) + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u` + darwin_file= + darwin_files= + for darwin_file in $darwin_filelist; do + darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP` + $LIPO -create -output "$darwin_file" $darwin_files + done # $darwin_filelist + $RM -rf unfat-$$ + cd "$darwin_orig_dir" + else + cd $darwin_orig_dir + func_extract_an_archive "$my_xdir" "$my_xabs" + fi # $darwin_arches + } # !$opt_dry_run + ;; + *) + func_extract_an_archive "$my_xdir" "$my_xabs" + ;; + esac + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP` + done + + func_extract_archives_result="$my_oldobjs" +} + + +# func_emit_wrapper [arg=no] +# +# Emit a libtool wrapper script on stdout. +# Don't directly open a file because we may want to +# incorporate the script contents within a cygwin/mingw +# wrapper executable. Must ONLY be called from within +# func_mode_link because it depends on a number of variables +# set therein. +# +# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR +# variable will take. If 'yes', then the emitted script +# will assume that the directory in which it is stored is +# the $objdir directory. This is a cygwin/mingw-specific +# behavior. +func_emit_wrapper () +{ + func_emit_wrapper_arg1=${1-no} + + $ECHO "\ +#! $SHELL + +# $output - temporary wrapper script for $objdir/$outputname +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION +# +# The $output program cannot be directly executed until all the libtool +# libraries that it depends on are installed. +# +# This wrapper script should never be moved out of the build directory. +# If it is, it will not operate correctly. + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +sed_quote_subst='$sed_quote_subst' + +# Be Bourne compatible +if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac +fi +BIN_SH=xpg4; export BIN_SH # for Tru64 +DUALCASE=1; export DUALCASE # for MKS sh + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +relink_command=\"$relink_command\" + +# This environment variable determines our operation mode. +if test \"\$libtool_install_magic\" = \"$magic\"; then + # install mode needs the following variables: + generated_by_libtool_version='$macro_version' + notinst_deplibs='$notinst_deplibs' +else + # When we are sourced in execute mode, \$file and \$ECHO are already set. + if test \"\$libtool_execute_magic\" != \"$magic\"; then + file=\"\$0\"" + + qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"` + $ECHO "\ + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$1 +_LTECHO_EOF' +} + ECHO=\"$qECHO\" + fi + +# Very basic option parsing. These options are (a) specific to +# the libtool wrapper, (b) are identical between the wrapper +# /script/ and the wrapper /executable/ which is used only on +# windows platforms, and (c) all begin with the string "--lt-" +# (application programs are unlikely to have options which match +# this pattern). +# +# There are only two supported options: --lt-debug and +# --lt-dump-script. There is, deliberately, no --lt-help. +# +# The first argument to this parsing function should be the +# script's $0 value, followed by "$@". +lt_option_debug= +func_parse_lt_options () +{ + lt_script_arg0=\$0 + shift + for lt_opt + do + case \"\$lt_opt\" in + --lt-debug) lt_option_debug=1 ;; + --lt-dump-script) + lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\` + test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=. + lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\` + cat \"\$lt_dump_D/\$lt_dump_F\" + exit 0 + ;; + --lt-*) + \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2 + exit 1 + ;; + esac + done + + # Print the debug banner immediately: + if test -n \"\$lt_option_debug\"; then + echo \"${outputname}:${output}:\${LINENO}: libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\" 1>&2 + fi +} + +# Used when --lt-debug. Prints its arguments to stdout +# (redirection is the responsibility of the caller) +func_lt_dump_args () +{ + lt_dump_args_N=1; + for lt_arg + do + \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[\$lt_dump_args_N]: \$lt_arg\" + lt_dump_args_N=\`expr \$lt_dump_args_N + 1\` + done +} + +# Core function for launching the target application +func_exec_program_core () +{ +" + case $host in + # Backslashes separate directories on plain windows + *-*-mingw | *-*-os2* | *-cegcc*) + $ECHO "\ + if test -n \"\$lt_option_debug\"; then + \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2 + func_lt_dump_args \${1+\"\$@\"} 1>&2 + fi + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} +" + ;; + + *) + $ECHO "\ + if test -n \"\$lt_option_debug\"; then + \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2 + func_lt_dump_args \${1+\"\$@\"} 1>&2 + fi + exec \"\$progdir/\$program\" \${1+\"\$@\"} +" + ;; + esac + $ECHO "\ + \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 + exit 1 +} + +# A function to encapsulate launching the target application +# Strips options in the --lt-* namespace from \$@ and +# launches target application with the remaining arguments. +func_exec_program () +{ + case \" \$* \" in + *\\ --lt-*) + for lt_wr_arg + do + case \$lt_wr_arg in + --lt-*) ;; + *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; + esac + shift + done ;; + esac + func_exec_program_core \${1+\"\$@\"} +} + + # Parse options + func_parse_lt_options \"\$0\" \${1+\"\$@\"} + + # Find the directory that this script lives in. + thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\` + test \"x\$thisdir\" = \"x\$file\" && thisdir=. + + # Follow symbolic links until we get to the real thisdir. + file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\` + while test -n \"\$file\"; do + destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\` + + # If there was a directory component, then change thisdir. + if test \"x\$destdir\" != \"x\$file\"; then + case \"\$destdir\" in + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; + *) thisdir=\"\$thisdir/\$destdir\" ;; + esac + fi + + file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\` + file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\` + done + + # Usually 'no', except on cygwin/mingw when embedded into + # the cwrapper. + WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1 + if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then + # special case for '.' + if test \"\$thisdir\" = \".\"; then + thisdir=\`pwd\` + fi + # remove .libs from thisdir + case \"\$thisdir\" in + *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;; + $objdir ) thisdir=. ;; + esac + fi + + # Try to get the absolute directory name. + absdir=\`cd \"\$thisdir\" && pwd\` + test -n \"\$absdir\" && thisdir=\"\$absdir\" +" + + if test "$fast_install" = yes; then + $ECHO "\ + program=lt-'$outputname'$exeext + progdir=\"\$thisdir/$objdir\" + + if test ! -f \"\$progdir/\$program\" || + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ + test \"X\$file\" != \"X\$progdir/\$program\"; }; then + + file=\"\$\$-\$program\" + + if test ! -d \"\$progdir\"; then + $MKDIR \"\$progdir\" + else + $RM \"\$progdir/\$file\" + fi" + + $ECHO "\ + + # relink executable if necessary + if test -n \"\$relink_command\"; then + if relink_command_output=\`eval \$relink_command 2>&1\`; then : + else + $ECHO \"\$relink_command_output\" >&2 + $RM \"\$progdir/\$file\" + exit 1 + fi + fi + + $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || + { $RM \"\$progdir/\$program\"; + $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } + $RM \"\$progdir/\$file\" + fi" + else + $ECHO "\ + program='$outputname' + progdir=\"\$thisdir/$objdir\" +" + fi + + $ECHO "\ + + if test -f \"\$progdir/\$program\"; then" + + # fixup the dll searchpath if we need to. + # + # Fix the DLL searchpath if we need to. Do this before prepending + # to shlibpath, because on Windows, both are PATH and uninstalled + # libraries must come first. + if test -n "$dllsearchpath"; then + $ECHO "\ + # Add the dll search path components to the executable PATH + PATH=$dllsearchpath:\$PATH +" + fi + + # Export our shlibpath_var if we have one. + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then + $ECHO "\ + # Add our own library path to $shlibpath_var + $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" + + # Some systems cannot cope with colon-terminated $shlibpath_var + # The second colon is a workaround for a bug in BeOS R4 sed + $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\` + + export $shlibpath_var +" + fi + + $ECHO "\ + if test \"\$libtool_execute_magic\" != \"$magic\"; then + # Run the actual program with our arguments. + func_exec_program \${1+\"\$@\"} + fi + else + # The program doesn't exist. + \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 + \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 + \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 + exit 1 + fi +fi\ +" +} + + +# func_emit_cwrapperexe_src +# emit the source code for a wrapper executable on stdout +# Must ONLY be called from within func_mode_link because +# it depends on a number of variable set therein. +func_emit_cwrapperexe_src () +{ + cat <<EOF + +/* $cwrappersource - temporary wrapper executable for $objdir/$outputname + Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION + + The $output program cannot be directly executed until all the libtool + libraries that it depends on are installed. + + This wrapper executable should never be moved out of the build directory. + If it is, it will not operate correctly. +*/ +EOF + cat <<"EOF" +#ifdef _MSC_VER +# define _CRT_SECURE_NO_DEPRECATE 1 +#endif +#include <stdio.h> +#include <stdlib.h> +#ifdef _MSC_VER +# include <direct.h> +# include <process.h> +# include <io.h> +#else +# include <unistd.h> +# include <stdint.h> +# ifdef __CYGWIN__ +# include <io.h> +# endif +#endif +#include <malloc.h> +#include <stdarg.h> +#include <assert.h> +#include <string.h> +#include <ctype.h> +#include <errno.h> +#include <fcntl.h> +#include <sys/stat.h> + +/* declarations of non-ANSI functions */ +#if defined(__MINGW32__) +# ifdef __STRICT_ANSI__ +int _putenv (const char *); +# endif +#elif defined(__CYGWIN__) +# ifdef __STRICT_ANSI__ +char *realpath (const char *, char *); +int putenv (char *); +int setenv (const char *, const char *, int); +# endif +/* #elif defined (other platforms) ... */ +#endif + +/* portability defines, excluding path handling macros */ +#if defined(_MSC_VER) +# define setmode _setmode +# define stat _stat +# define chmod _chmod +# define getcwd _getcwd +# define putenv _putenv +# define S_IXUSR _S_IEXEC +# ifndef _INTPTR_T_DEFINED +# define _INTPTR_T_DEFINED +# define intptr_t int +# endif +#elif defined(__MINGW32__) +# define setmode _setmode +# define stat _stat +# define chmod _chmod +# define getcwd _getcwd +# define putenv _putenv +#elif defined(__CYGWIN__) +# define HAVE_SETENV +# define FOPEN_WB "wb" +/* #elif defined (other platforms) ... */ +#endif + +#if defined(PATH_MAX) +# define LT_PATHMAX PATH_MAX +#elif defined(MAXPATHLEN) +# define LT_PATHMAX MAXPATHLEN +#else +# define LT_PATHMAX 1024 +#endif + +#ifndef S_IXOTH +# define S_IXOTH 0 +#endif +#ifndef S_IXGRP +# define S_IXGRP 0 +#endif + +/* path handling portability macros */ +#ifndef DIR_SEPARATOR +# define DIR_SEPARATOR '/' +# define PATH_SEPARATOR ':' +#endif + +#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ + defined (__OS2__) +# define HAVE_DOS_BASED_FILE_SYSTEM +# define FOPEN_WB "wb" +# ifndef DIR_SEPARATOR_2 +# define DIR_SEPARATOR_2 '\\' +# endif +# ifndef PATH_SEPARATOR_2 +# define PATH_SEPARATOR_2 ';' +# endif +#endif + +#ifndef DIR_SEPARATOR_2 +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) +#else /* DIR_SEPARATOR_2 */ +# define IS_DIR_SEPARATOR(ch) \ + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) +#endif /* DIR_SEPARATOR_2 */ + +#ifndef PATH_SEPARATOR_2 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) +#else /* PATH_SEPARATOR_2 */ +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) +#endif /* PATH_SEPARATOR_2 */ + +#ifndef FOPEN_WB +# define FOPEN_WB "w" +#endif +#ifndef _O_BINARY +# define _O_BINARY 0 +#endif + +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) +#define XFREE(stale) do { \ + if (stale) { free ((void *) stale); stale = 0; } \ +} while (0) + +#if defined(LT_DEBUGWRAPPER) +static int lt_debug = 1; +#else +static int lt_debug = 0; +#endif + +const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */ + +void *xmalloc (size_t num); +char *xstrdup (const char *string); +const char *base_name (const char *name); +char *find_executable (const char *wrapper); +char *chase_symlinks (const char *pathspec); +int make_executable (const char *path); +int check_executable (const char *path); +char *strendzap (char *str, const char *pat); +void lt_debugprintf (const char *file, int line, const char *fmt, ...); +void lt_fatal (const char *file, int line, const char *message, ...); +static const char *nonnull (const char *s); +static const char *nonempty (const char *s); +void lt_setenv (const char *name, const char *value); +char *lt_extend_str (const char *orig_value, const char *add, int to_end); +void lt_update_exe_path (const char *name, const char *value); +void lt_update_lib_path (const char *name, const char *value); +char **prepare_spawn (char **argv); +void lt_dump_script (FILE *f); +EOF + + cat <<EOF +volatile const char * MAGIC_EXE = "$magic_exe"; +const char * LIB_PATH_VARNAME = "$shlibpath_var"; +EOF + + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then + func_to_host_path "$temp_rpath" + cat <<EOF +const char * LIB_PATH_VALUE = "$func_to_host_path_result"; +EOF + else + cat <<"EOF" +const char * LIB_PATH_VALUE = ""; +EOF + fi + + if test -n "$dllsearchpath"; then + func_to_host_path "$dllsearchpath:" + cat <<EOF +const char * EXE_PATH_VARNAME = "PATH"; +const char * EXE_PATH_VALUE = "$func_to_host_path_result"; +EOF + else + cat <<"EOF" +const char * EXE_PATH_VARNAME = ""; +const char * EXE_PATH_VALUE = ""; +EOF + fi + + if test "$fast_install" = yes; then + cat <<EOF +const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */ +EOF + else + cat <<EOF +const char * TARGET_PROGRAM_NAME = "$outputname"; /* hopefully, no .exe */ +EOF + fi + + + cat <<"EOF" + +#define LTWRAPPER_OPTION_PREFIX "--lt-" + +static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX; +static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script"; +static const char *debug_opt = LTWRAPPER_OPTION_PREFIX "debug"; + +int +main (int argc, char *argv[]) +{ + char **newargz; + int newargc; + char *tmp_pathspec; + char *actual_cwrapper_path; + char *actual_cwrapper_name; + char *target_name; + char *lt_argv_zero; + intptr_t rval = 127; + + int i; + + program_name = (char *) xstrdup (base_name (argv[0])); + newargz = XMALLOC (char *, argc + 1); + + /* very simple arg parsing; don't want to rely on getopt + * also, copy all non cwrapper options to newargz, except + * argz[0], which is handled differently + */ + newargc=0; + for (i = 1; i < argc; i++) + { + if (strcmp (argv[i], dumpscript_opt) == 0) + { +EOF + case "$host" in + *mingw* | *cygwin* ) + # make stdout use "unix" line endings + echo " setmode(1,_O_BINARY);" + ;; + esac + + cat <<"EOF" + lt_dump_script (stdout); + return 0; + } + if (strcmp (argv[i], debug_opt) == 0) + { + lt_debug = 1; + continue; + } + if (strcmp (argv[i], ltwrapper_option_prefix) == 0) + { + /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX + namespace, but it is not one of the ones we know about and + have already dealt with, above (inluding dump-script), then + report an error. Otherwise, targets might begin to believe + they are allowed to use options in the LTWRAPPER_OPTION_PREFIX + namespace. The first time any user complains about this, we'll + need to make LTWRAPPER_OPTION_PREFIX a configure-time option + or a configure.ac-settable value. + */ + lt_fatal (__FILE__, __LINE__, + "unrecognized %s option: '%s'", + ltwrapper_option_prefix, argv[i]); + } + /* otherwise ... */ + newargz[++newargc] = xstrdup (argv[i]); + } + newargz[++newargc] = NULL; + +EOF + cat <<EOF + /* The GNU banner must be the first non-error debug message */ + lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\n"); +EOF + cat <<"EOF" + lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\n", argv[0]); + lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name); + + tmp_pathspec = find_executable (argv[0]); + if (tmp_pathspec == NULL) + lt_fatal (__FILE__, __LINE__, "couldn't find %s", argv[0]); + lt_debugprintf (__FILE__, __LINE__, + "(main) found exe (before symlink chase) at: %s\n", + tmp_pathspec); + + actual_cwrapper_path = chase_symlinks (tmp_pathspec); + lt_debugprintf (__FILE__, __LINE__, + "(main) found exe (after symlink chase) at: %s\n", + actual_cwrapper_path); + XFREE (tmp_pathspec); + + actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path)); + strendzap (actual_cwrapper_path, actual_cwrapper_name); + + /* wrapper name transforms */ + strendzap (actual_cwrapper_name, ".exe"); + tmp_pathspec = lt_extend_str (actual_cwrapper_name, ".exe", 1); + XFREE (actual_cwrapper_name); + actual_cwrapper_name = tmp_pathspec; + tmp_pathspec = 0; + + /* target_name transforms -- use actual target program name; might have lt- prefix */ + target_name = xstrdup (base_name (TARGET_PROGRAM_NAME)); + strendzap (target_name, ".exe"); + tmp_pathspec = lt_extend_str (target_name, ".exe", 1); + XFREE (target_name); + target_name = tmp_pathspec; + tmp_pathspec = 0; + + lt_debugprintf (__FILE__, __LINE__, + "(main) libtool target name: %s\n", + target_name); +EOF + + cat <<EOF + newargz[0] = + XMALLOC (char, (strlen (actual_cwrapper_path) + + strlen ("$objdir") + 1 + strlen (actual_cwrapper_name) + 1)); + strcpy (newargz[0], actual_cwrapper_path); + strcat (newargz[0], "$objdir"); + strcat (newargz[0], "/"); +EOF + + cat <<"EOF" + /* stop here, and copy so we don't have to do this twice */ + tmp_pathspec = xstrdup (newargz[0]); + + /* do NOT want the lt- prefix here, so use actual_cwrapper_name */ + strcat (newargz[0], actual_cwrapper_name); + + /* DO want the lt- prefix here if it exists, so use target_name */ + lt_argv_zero = lt_extend_str (tmp_pathspec, target_name, 1); + XFREE (tmp_pathspec); + tmp_pathspec = NULL; +EOF + + case $host_os in + mingw*) + cat <<"EOF" + { + char* p; + while ((p = strchr (newargz[0], '\\')) != NULL) + { + *p = '/'; + } + while ((p = strchr (lt_argv_zero, '\\')) != NULL) + { + *p = '/'; + } + } +EOF + ;; + esac + + cat <<"EOF" + XFREE (target_name); + XFREE (actual_cwrapper_path); + XFREE (actual_cwrapper_name); + + lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */ + lt_setenv ("DUALCASE", "1"); /* for MSK sh */ + /* Update the DLL searchpath. EXE_PATH_VALUE ($dllsearchpath) must + be prepended before (that is, appear after) LIB_PATH_VALUE ($temp_rpath) + because on Windows, both *_VARNAMEs are PATH but uninstalled + libraries must come first. */ + lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE); + lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE); + + lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n", + nonnull (lt_argv_zero)); + for (i = 0; i < newargc; i++) + { + lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n", + i, nonnull (newargz[i])); + } + +EOF + + case $host_os in + mingw*) + cat <<"EOF" + /* execv doesn't actually work on mingw as expected on unix */ + newargz = prepare_spawn (newargz); + rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz); + if (rval == -1) + { + /* failed to start process */ + lt_debugprintf (__FILE__, __LINE__, + "(main) failed to launch target \"%s\": %s\n", + lt_argv_zero, nonnull (strerror (errno))); + return 127; + } + return rval; +EOF + ;; + *) + cat <<"EOF" + execv (lt_argv_zero, newargz); + return rval; /* =127, but avoids unused variable warning */ +EOF + ;; + esac + + cat <<"EOF" +} + +void * +xmalloc (size_t num) +{ + void *p = (void *) malloc (num); + if (!p) + lt_fatal (__FILE__, __LINE__, "memory exhausted"); + + return p; +} + +char * +xstrdup (const char *string) +{ + return string ? strcpy ((char *) xmalloc (strlen (string) + 1), + string) : NULL; +} + +const char * +base_name (const char *name) +{ + const char *base; + +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + /* Skip over the disk name in MSDOS pathnames. */ + if (isalpha ((unsigned char) name[0]) && name[1] == ':') + name += 2; +#endif + + for (base = name; *name; name++) + if (IS_DIR_SEPARATOR (*name)) + base = name + 1; + return base; +} + +int +check_executable (const char *path) +{ + struct stat st; + + lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n", + nonempty (path)); + if ((!path) || (!*path)) + return 0; + + if ((stat (path, &st) >= 0) + && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) + return 1; + else + return 0; +} + +int +make_executable (const char *path) +{ + int rval = 0; + struct stat st; + + lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n", + nonempty (path)); + if ((!path) || (!*path)) + return 0; + + if (stat (path, &st) >= 0) + { + rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); + } + return rval; +} + +/* Searches for the full path of the wrapper. Returns + newly allocated full path name if found, NULL otherwise + Does not chase symlinks, even on platforms that support them. +*/ +char * +find_executable (const char *wrapper) +{ + int has_slash = 0; + const char *p; + const char *p_next; + /* static buffer for getcwd */ + char tmp[LT_PATHMAX + 1]; + int tmp_len; + char *concat_name; + + lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n", + nonempty (wrapper)); + + if ((wrapper == NULL) || (*wrapper == '\0')) + return NULL; + + /* Absolute path? */ +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':') + { + concat_name = xstrdup (wrapper); + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + } + else + { +#endif + if (IS_DIR_SEPARATOR (wrapper[0])) + { + concat_name = xstrdup (wrapper); + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + } +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + } +#endif + + for (p = wrapper; *p; p++) + if (*p == '/') + { + has_slash = 1; + break; + } + if (!has_slash) + { + /* no slashes; search PATH */ + const char *path = getenv ("PATH"); + if (path != NULL) + { + for (p = path; *p; p = p_next) + { + const char *q; + size_t p_len; + for (q = p; *q; q++) + if (IS_PATH_SEPARATOR (*q)) + break; + p_len = q - p; + p_next = (*q == '\0' ? q : q + 1); + if (p_len == 0) + { + /* empty path: current directory */ + if (getcwd (tmp, LT_PATHMAX) == NULL) + lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", + nonnull (strerror (errno))); + tmp_len = strlen (tmp); + concat_name = + XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); + memcpy (concat_name, tmp, tmp_len); + concat_name[tmp_len] = '/'; + strcpy (concat_name + tmp_len + 1, wrapper); + } + else + { + concat_name = + XMALLOC (char, p_len + 1 + strlen (wrapper) + 1); + memcpy (concat_name, p, p_len); + concat_name[p_len] = '/'; + strcpy (concat_name + p_len + 1, wrapper); + } + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + } + } + /* not found in PATH; assume curdir */ + } + /* Relative path | not found in path: prepend cwd */ + if (getcwd (tmp, LT_PATHMAX) == NULL) + lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", + nonnull (strerror (errno))); + tmp_len = strlen (tmp); + concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); + memcpy (concat_name, tmp, tmp_len); + concat_name[tmp_len] = '/'; + strcpy (concat_name + tmp_len + 1, wrapper); + + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + return NULL; +} + +char * +chase_symlinks (const char *pathspec) +{ +#ifndef S_ISLNK + return xstrdup (pathspec); +#else + char buf[LT_PATHMAX]; + struct stat s; + char *tmp_pathspec = xstrdup (pathspec); + char *p; + int has_symlinks = 0; + while (strlen (tmp_pathspec) && !has_symlinks) + { + lt_debugprintf (__FILE__, __LINE__, + "checking path component for symlinks: %s\n", + tmp_pathspec); + if (lstat (tmp_pathspec, &s) == 0) + { + if (S_ISLNK (s.st_mode) != 0) + { + has_symlinks = 1; + break; + } + + /* search backwards for last DIR_SEPARATOR */ + p = tmp_pathspec + strlen (tmp_pathspec) - 1; + while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) + p--; + if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) + { + /* no more DIR_SEPARATORS left */ + break; + } + *p = '\0'; + } + else + { + lt_fatal (__FILE__, __LINE__, + "error accessing file \"%s\": %s", + tmp_pathspec, nonnull (strerror (errno))); + } + } + XFREE (tmp_pathspec); + + if (!has_symlinks) + { + return xstrdup (pathspec); + } + + tmp_pathspec = realpath (pathspec, buf); + if (tmp_pathspec == 0) + { + lt_fatal (__FILE__, __LINE__, + "could not follow symlinks for %s", pathspec); + } + return xstrdup (tmp_pathspec); +#endif +} + +char * +strendzap (char *str, const char *pat) +{ + size_t len, patlen; + + assert (str != NULL); + assert (pat != NULL); + + len = strlen (str); + patlen = strlen (pat); + + if (patlen <= len) + { + str += len - patlen; + if (strcmp (str, pat) == 0) + *str = '\0'; + } + return str; +} + +void +lt_debugprintf (const char *file, int line, const char *fmt, ...) +{ + va_list args; + if (lt_debug) + { + (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line); + va_start (args, fmt); + (void) vfprintf (stderr, fmt, args); + va_end (args); + } +} + +static void +lt_error_core (int exit_status, const char *file, + int line, const char *mode, + const char *message, va_list ap) +{ + fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode); + vfprintf (stderr, message, ap); + fprintf (stderr, ".\n"); + + if (exit_status >= 0) + exit (exit_status); +} + +void +lt_fatal (const char *file, int line, const char *message, ...) +{ + va_list ap; + va_start (ap, message); + lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap); + va_end (ap); +} + +static const char * +nonnull (const char *s) +{ + return s ? s : "(null)"; +} + +static const char * +nonempty (const char *s) +{ + return (s && !*s) ? "(empty)" : nonnull (s); +} + +void +lt_setenv (const char *name, const char *value) +{ + lt_debugprintf (__FILE__, __LINE__, + "(lt_setenv) setting '%s' to '%s'\n", + nonnull (name), nonnull (value)); + { +#ifdef HAVE_SETENV + /* always make a copy, for consistency with !HAVE_SETENV */ + char *str = xstrdup (value); + setenv (name, str, 1); +#else + int len = strlen (name) + 1 + strlen (value) + 1; + char *str = XMALLOC (char, len); + sprintf (str, "%s=%s", name, value); + if (putenv (str) != EXIT_SUCCESS) + { + XFREE (str); + } +#endif + } +} + +char * +lt_extend_str (const char *orig_value, const char *add, int to_end) +{ + char *new_value; + if (orig_value && *orig_value) + { + int orig_value_len = strlen (orig_value); + int add_len = strlen (add); + new_value = XMALLOC (char, add_len + orig_value_len + 1); + if (to_end) + { + strcpy (new_value, orig_value); + strcpy (new_value + orig_value_len, add); + } + else + { + strcpy (new_value, add); + strcpy (new_value + add_len, orig_value); + } + } + else + { + new_value = xstrdup (add); + } + return new_value; +} + +void +lt_update_exe_path (const char *name, const char *value) +{ + lt_debugprintf (__FILE__, __LINE__, + "(lt_update_exe_path) modifying '%s' by prepending '%s'\n", + nonnull (name), nonnull (value)); + + if (name && *name && value && *value) + { + char *new_value = lt_extend_str (getenv (name), value, 0); + /* some systems can't cope with a ':'-terminated path #' */ + int len = strlen (new_value); + while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1])) + { + new_value[len-1] = '\0'; + } + lt_setenv (name, new_value); + XFREE (new_value); + } +} + +void +lt_update_lib_path (const char *name, const char *value) +{ + lt_debugprintf (__FILE__, __LINE__, + "(lt_update_lib_path) modifying '%s' by prepending '%s'\n", + nonnull (name), nonnull (value)); + + if (name && *name && value && *value) + { + char *new_value = lt_extend_str (getenv (name), value, 0); + lt_setenv (name, new_value); + XFREE (new_value); + } +} + +EOF + case $host_os in + mingw*) + cat <<"EOF" + +/* Prepares an argument vector before calling spawn(). + Note that spawn() does not by itself call the command interpreter + (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") : + ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); + GetVersionEx(&v); + v.dwPlatformId == VER_PLATFORM_WIN32_NT; + }) ? "cmd.exe" : "command.com"). + Instead it simply concatenates the arguments, separated by ' ', and calls + CreateProcess(). We must quote the arguments since Win32 CreateProcess() + interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a + special way: + - Space and tab are interpreted as delimiters. They are not treated as + delimiters if they are surrounded by double quotes: "...". + - Unescaped double quotes are removed from the input. Their only effect is + that within double quotes, space and tab are treated like normal + characters. + - Backslashes not followed by double quotes are not special. + - But 2*n+1 backslashes followed by a double quote become + n backslashes followed by a double quote (n >= 0): + \" -> " + \\\" -> \" + \\\\\" -> \\" + */ +#define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" +#define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" +char ** +prepare_spawn (char **argv) +{ + size_t argc; + char **new_argv; + size_t i; + + /* Count number of arguments. */ + for (argc = 0; argv[argc] != NULL; argc++) + ; + + /* Allocate new argument vector. */ + new_argv = XMALLOC (char *, argc + 1); + + /* Put quoted arguments into the new argument vector. */ + for (i = 0; i < argc; i++) + { + const char *string = argv[i]; + + if (string[0] == '\0') + new_argv[i] = xstrdup ("\"\""); + else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL) + { + int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL); + size_t length; + unsigned int backslashes; + const char *s; + char *quoted_string; + char *p; + + length = 0; + backslashes = 0; + if (quote_around) + length++; + for (s = string; *s != '\0'; s++) + { + char c = *s; + if (c == '"') + length += backslashes + 1; + length++; + if (c == '\\') + backslashes++; + else + backslashes = 0; + } + if (quote_around) + length += backslashes + 1; + + quoted_string = XMALLOC (char, length + 1); + + p = quoted_string; + backslashes = 0; + if (quote_around) + *p++ = '"'; + for (s = string; *s != '\0'; s++) + { + char c = *s; + if (c == '"') + { + unsigned int j; + for (j = backslashes + 1; j > 0; j--) + *p++ = '\\'; + } + *p++ = c; + if (c == '\\') + backslashes++; + else + backslashes = 0; + } + if (quote_around) + { + unsigned int j; + for (j = backslashes; j > 0; j--) + *p++ = '\\'; + *p++ = '"'; + } + *p = '\0'; + + new_argv[i] = quoted_string; + } + else + new_argv[i] = (char *) string; + } + new_argv[argc] = NULL; + + return new_argv; +} +EOF + ;; + esac + + cat <<"EOF" +void lt_dump_script (FILE* f) +{ +EOF + func_emit_wrapper yes | + $SED -n -e ' +s/^\(.\{79\}\)\(..*\)/\1\ +\2/ +h +s/\([\\"]\)/\\\1/g +s/$/\\n/ +s/\([^\n]*\).*/ fputs ("\1", f);/p +g +D' + cat <<"EOF" +} +EOF +} +# end: func_emit_cwrapperexe_src + +# func_win32_import_lib_p ARG +# True if ARG is an import lib, as indicated by $file_magic_cmd +func_win32_import_lib_p () +{ + $opt_debug + case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in + *import*) : ;; + *) false ;; + esac +} + +# func_mode_link arg... +func_mode_link () +{ + $opt_debug + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + # It is impossible to link a dll without this setting, and + # we shouldn't force the makefile maintainer to figure out + # which system we are compiling for in order to pass an extra + # flag for every libtool invocation. + # allow_undefined=no + + # FIXME: Unfortunately, there are problems with the above when trying + # to make a dll which has undefined symbols, in which case not + # even a static library is built. For now, we need to specify + # -no-undefined on the libtool link line when we can be certain + # that all symbols are satisfied, otherwise we get a static library. + allow_undefined=yes + ;; + *) + allow_undefined=yes + ;; + esac + libtool_args=$nonopt + base_compile="$nonopt $@" + compile_command=$nonopt + finalize_command=$nonopt + + compile_rpath= + finalize_rpath= + compile_shlibpath= + finalize_shlibpath= + convenience= + old_convenience= + deplibs= + old_deplibs= + compiler_flags= + linker_flags= + dllsearchpath= + lib_search_path=`pwd` + inst_prefix_dir= + new_inherited_linker_flags= + + avoid_version=no + bindir= + dlfiles= + dlprefiles= + dlself=no + export_dynamic=no + export_symbols= + export_symbols_regex= + generated= + libobjs= + ltlibs= + module=no + no_install=no + objs= + non_pic_objects= + precious_files_regex= + prefer_static_libs=no + preload=no + prev= + prevarg= + release= + rpath= + xrpath= + perm_rpath= + temp_rpath= + thread_safe=no + vinfo= + vinfo_number=no + weak_libs= + single_module="${wl}-single_module" + func_infer_tag $base_compile + + # We need to know -static, to get the right output filenames. + for arg + do + case $arg in + -shared) + test "$build_libtool_libs" != yes && \ + func_fatal_configuration "can not build a shared library" + build_old_libs=no + break + ;; + -all-static | -static | -static-libtool-libs) + case $arg in + -all-static) + if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then + func_warning "complete static linking is impossible in this configuration" + fi + if test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=yes + ;; + -static) + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=built + ;; + -static-libtool-libs) + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=yes + ;; + esac + build_libtool_libs=no + build_old_libs=yes + break + ;; + esac + done + + # See if our shared archives depend on static archives. + test -n "$old_archive_from_new_cmds" && build_old_libs=yes + + # Go through the arguments, transforming them on the way. + while test "$#" -gt 0; do + arg="$1" + shift + func_quote_for_eval "$arg" + qarg=$func_quote_for_eval_unquoted_result + func_append libtool_args " $func_quote_for_eval_result" + + # If the previous option needs an argument, assign it. + if test -n "$prev"; then + case $prev in + output) + func_append compile_command " @OUTPUT@" + func_append finalize_command " @OUTPUT@" + ;; + esac + + case $prev in + bindir) + bindir="$arg" + prev= + continue + ;; + dlfiles|dlprefiles) + if test "$preload" = no; then + # Add the symbol object into the linking commands. + func_append compile_command " @SYMFILE@" + func_append finalize_command " @SYMFILE@" + preload=yes + fi + case $arg in + *.la | *.lo) ;; # We handle these cases below. + force) + if test "$dlself" = no; then + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + self) + if test "$prev" = dlprefiles; then + dlself=yes + elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then + dlself=yes + else + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + *) + if test "$prev" = dlfiles; then + func_append dlfiles " $arg" + else + func_append dlprefiles " $arg" + fi + prev= + continue + ;; + esac + ;; + expsyms) + export_symbols="$arg" + test -f "$arg" \ + || func_fatal_error "symbol file \`$arg' does not exist" + prev= + continue + ;; + expsyms_regex) + export_symbols_regex="$arg" + prev= + continue + ;; + framework) + case $host in + *-*-darwin*) + case "$deplibs " in + *" $qarg.ltframework "*) ;; + *) func_append deplibs " $qarg.ltframework" # this is fixed later + ;; + esac + ;; + esac + prev= + continue + ;; + inst_prefix) + inst_prefix_dir="$arg" + prev= + continue + ;; + objectlist) + if test -f "$arg"; then + save_arg=$arg + moreargs= + for fil in `cat "$save_arg"` + do +# func_append moreargs " $fil" + arg=$fil + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if func_lalib_unsafe_p "$arg"; then + pic_object= + non_pic_object= + + # Read the .lo file + func_source "$arg" + + if test -z "$pic_object" || + test -z "$non_pic_object" || + test "$pic_object" = none && + test "$non_pic_object" = none; then + func_fatal_error "cannot find name of object for \`$arg'" + fi + + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir="$func_dirname_result" + + if test "$pic_object" != none; then + # Prepend the subdirectory the object is found in. + pic_object="$xdir$pic_object" + + if test "$prev" = dlfiles; then + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then + func_append dlfiles " $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test "$prev" = dlprefiles; then + # Preload the old-style object. + func_append dlprefiles " $pic_object" + prev= + fi + + # A PIC object. + func_append libobjs " $pic_object" + arg="$pic_object" + fi + + # Non-PIC object. + if test "$non_pic_object" != none; then + # Prepend the subdirectory the object is found in. + non_pic_object="$xdir$non_pic_object" + + # A standard non-PIC object + func_append non_pic_objects " $non_pic_object" + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi + else + # If the PIC object exists, use it instead. + # $xdir was prepended to $pic_object above. + non_pic_object="$pic_object" + func_append non_pic_objects " $non_pic_object" + fi + else + # Only an error if not doing a dry-run. + if $opt_dry_run; then + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir="$func_dirname_result" + + func_lo2o "$arg" + pic_object=$xdir$objdir/$func_lo2o_result + non_pic_object=$xdir$func_lo2o_result + func_append libobjs " $pic_object" + func_append non_pic_objects " $non_pic_object" + else + func_fatal_error "\`$arg' is not a valid libtool object" + fi + fi + done + else + func_fatal_error "link input file \`$arg' does not exist" + fi + arg=$save_arg + prev= + continue + ;; + precious_regex) + precious_files_regex="$arg" + prev= + continue + ;; + release) + release="-$arg" + prev= + continue + ;; + rpath | xrpath) + # We need an absolute path. + case $arg in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + func_fatal_error "only absolute run-paths are allowed" + ;; + esac + if test "$prev" = rpath; then + case "$rpath " in + *" $arg "*) ;; + *) func_append rpath " $arg" ;; + esac + else + case "$xrpath " in + *" $arg "*) ;; + *) func_append xrpath " $arg" ;; + esac + fi + prev= + continue + ;; + shrext) + shrext_cmds="$arg" + prev= + continue + ;; + weak) + func_append weak_libs " $arg" + prev= + continue + ;; + xcclinker) + func_append linker_flags " $qarg" + func_append compiler_flags " $qarg" + prev= + func_append compile_command " $qarg" + func_append finalize_command " $qarg" + continue + ;; + xcompiler) + func_append compiler_flags " $qarg" + prev= + func_append compile_command " $qarg" + func_append finalize_command " $qarg" + continue + ;; + xlinker) + func_append linker_flags " $qarg" + func_append compiler_flags " $wl$qarg" + prev= + func_append compile_command " $wl$qarg" + func_append finalize_command " $wl$qarg" + continue + ;; + *) + eval "$prev=\"\$arg\"" + prev= + continue + ;; + esac + fi # test -n "$prev" + + prevarg="$arg" + + case $arg in + -all-static) + if test -n "$link_static_flag"; then + # See comment for -static flag below, for more details. + func_append compile_command " $link_static_flag" + func_append finalize_command " $link_static_flag" + fi + continue + ;; + + -allow-undefined) + # FIXME: remove this flag sometime in the future. + func_fatal_error "\`-allow-undefined' must not be used because it is the default" + ;; + + -avoid-version) + avoid_version=yes + continue + ;; + + -bindir) + prev=bindir + continue + ;; + + -dlopen) + prev=dlfiles + continue + ;; + + -dlpreopen) + prev=dlprefiles + continue + ;; + + -export-dynamic) + export_dynamic=yes + continue + ;; + + -export-symbols | -export-symbols-regex) + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then + func_fatal_error "more than one -exported-symbols argument is not allowed" + fi + if test "X$arg" = "X-export-symbols"; then + prev=expsyms + else + prev=expsyms_regex + fi + continue + ;; + + -framework) + prev=framework + continue + ;; + + -inst-prefix-dir) + prev=inst_prefix + continue + ;; + + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* + # so, if we see these flags be careful not to treat them like -L + -L[A-Z][A-Z]*:*) + case $with_gcc/$host in + no/*-*-irix* | /*-*-irix*) + func_append compile_command " $arg" + func_append finalize_command " $arg" + ;; + esac + continue + ;; + + -L*) + func_stripname "-L" '' "$arg" + if test -z "$func_stripname_result"; then + if test "$#" -gt 0; then + func_fatal_error "require no space between \`-L' and \`$1'" + else + func_fatal_error "need path for \`-L' option" + fi + fi + func_resolve_sysroot "$func_stripname_result" + dir=$func_resolve_sysroot_result + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + absdir=`cd "$dir" && pwd` + test -z "$absdir" && \ + func_fatal_error "cannot determine absolute directory name of \`$dir'" + dir="$absdir" + ;; + esac + case "$deplibs " in + *" -L$dir "* | *" $arg "*) + # Will only happen for absolute or sysroot arguments + ;; + *) + # Preserve sysroot, but never include relative directories + case $dir in + [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;; + *) func_append deplibs " -L$dir" ;; + esac + func_append lib_search_path " $dir" + ;; + esac + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` + case :$dllsearchpath: in + *":$dir:"*) ;; + ::) dllsearchpath=$dir;; + *) func_append dllsearchpath ":$dir";; + esac + case :$dllsearchpath: in + *":$testbindir:"*) ;; + ::) dllsearchpath=$testbindir;; + *) func_append dllsearchpath ":$testbindir";; + esac + ;; + esac + continue + ;; + + -l*) + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) + # These systems don't actually have a C or math library (as such) + continue + ;; + *-*-os2*) + # These systems don't actually have a C library (as such) + test "X$arg" = "X-lc" && continue + ;; + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc due to us having libc/libc_r. + test "X$arg" = "X-lc" && continue + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C and math libraries are in the System framework + func_append deplibs " System.ltframework" + continue + ;; + *-*-sco3.2v5* | *-*-sco5v6*) + # Causes problems with __ctype + test "X$arg" = "X-lc" && continue + ;; + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) + # Compiler inserts libc in the correct place for threads to work + test "X$arg" = "X-lc" && continue + ;; + esac + elif test "X$arg" = "X-lc_r"; then + case $host in + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; + esac + fi + func_append deplibs " $arg" + continue + ;; + + -module) + module=yes + continue + ;; + + # Tru64 UNIX uses -model [arg] to determine the layout of C++ + # classes, name mangling, and exception handling. + # Darwin uses the -arch flag to determine output architecture. + -model|-arch|-isysroot|--sysroot) + func_append compiler_flags " $arg" + func_append compile_command " $arg" + func_append finalize_command " $arg" + prev=xcompiler + continue + ;; + + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ + |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) + func_append compiler_flags " $arg" + func_append compile_command " $arg" + func_append finalize_command " $arg" + case "$new_inherited_linker_flags " in + *" $arg "*) ;; + * ) func_append new_inherited_linker_flags " $arg" ;; + esac + continue + ;; + + -multi_module) + single_module="${wl}-multi_module" + continue + ;; + + -no-fast-install) + fast_install=no + continue + ;; + + -no-install) + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) + # The PATH hackery in wrapper scripts is required on Windows + # and Darwin in order for the loader to find any dlls it needs. + func_warning "\`-no-install' is ignored for $host" + func_warning "assuming \`-no-fast-install' instead" + fast_install=no + ;; + *) no_install=yes ;; + esac + continue + ;; + + -no-undefined) + allow_undefined=no + continue + ;; + + -objectlist) + prev=objectlist + continue + ;; + + -o) prev=output ;; + + -precious-files-regex) + prev=precious_regex + continue + ;; + + -release) + prev=release + continue + ;; + + -rpath) + prev=rpath + continue + ;; + + -R) + prev=xrpath + continue + ;; + + -R*) + func_stripname '-R' '' "$arg" + dir=$func_stripname_result + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + =*) + func_stripname '=' '' "$dir" + dir=$lt_sysroot$func_stripname_result + ;; + *) + func_fatal_error "only absolute run-paths are allowed" + ;; + esac + case "$xrpath " in + *" $dir "*) ;; + *) func_append xrpath " $dir" ;; + esac + continue + ;; + + -shared) + # The effects of -shared are defined in a previous loop. + continue + ;; + + -shrext) + prev=shrext + continue + ;; + + -static | -static-libtool-libs) + # The effects of -static are defined in a previous loop. + # We used to do the same as -all-static on platforms that + # didn't have a PIC flag, but the assumption that the effects + # would be equivalent was wrong. It would break on at least + # Digital Unix and AIX. + continue + ;; + + -thread-safe) + thread_safe=yes + continue + ;; + + -version-info) + prev=vinfo + continue + ;; + + -version-number) + prev=vinfo + vinfo_number=yes + continue + ;; + + -weak) + prev=weak + continue + ;; + + -Wc,*) + func_stripname '-Wc,' '' "$arg" + args=$func_stripname_result + arg= + save_ifs="$IFS"; IFS=',' + for flag in $args; do + IFS="$save_ifs" + func_quote_for_eval "$flag" + func_append arg " $func_quote_for_eval_result" + func_append compiler_flags " $func_quote_for_eval_result" + done + IFS="$save_ifs" + func_stripname ' ' '' "$arg" + arg=$func_stripname_result + ;; + + -Wl,*) + func_stripname '-Wl,' '' "$arg" + args=$func_stripname_result + arg= + save_ifs="$IFS"; IFS=',' + for flag in $args; do + IFS="$save_ifs" + func_quote_for_eval "$flag" + func_append arg " $wl$func_quote_for_eval_result" + func_append compiler_flags " $wl$func_quote_for_eval_result" + func_append linker_flags " $func_quote_for_eval_result" + done + IFS="$save_ifs" + func_stripname ' ' '' "$arg" + arg=$func_stripname_result + ;; + + -Xcompiler) + prev=xcompiler + continue + ;; + + -Xlinker) + prev=xlinker + continue + ;; + + -XCClinker) + prev=xcclinker + continue + ;; + + # -msg_* for osf cc + -msg_*) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + ;; + + # Flags to be passed through unchanged, with rationale: + # -64, -mips[0-9] enable 64-bit mode for the SGI compiler + # -r[0-9][0-9]* specify processor for the SGI compiler + # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler + # +DA*, +DD* enable 64-bit mode for the HP compiler + # -q* compiler args for the IBM compiler + # -m*, -t[45]*, -txscale* architecture-specific flags for GCC + # -F/path path to uninstalled frameworks, gcc on darwin + # -p, -pg, --coverage, -fprofile-* profiling flags for GCC + # @file GCC response files + # -tp=* Portland pgcc target processor selection + # --sysroot=* for sysroot support + # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ + -O*|-flto*|-fwhopr*|-fuse-linker-plugin) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + func_append compile_command " $arg" + func_append finalize_command " $arg" + func_append compiler_flags " $arg" + continue + ;; + + # Some other compiler flag. + -* | +*) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + ;; + + *.$objext) + # A standard object. + func_append objs " $arg" + ;; + + *.lo) + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if func_lalib_unsafe_p "$arg"; then + pic_object= + non_pic_object= + + # Read the .lo file + func_source "$arg" + + if test -z "$pic_object" || + test -z "$non_pic_object" || + test "$pic_object" = none && + test "$non_pic_object" = none; then + func_fatal_error "cannot find name of object for \`$arg'" + fi + + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir="$func_dirname_result" + + if test "$pic_object" != none; then + # Prepend the subdirectory the object is found in. + pic_object="$xdir$pic_object" + + if test "$prev" = dlfiles; then + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then + func_append dlfiles " $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test "$prev" = dlprefiles; then + # Preload the old-style object. + func_append dlprefiles " $pic_object" + prev= + fi + + # A PIC object. + func_append libobjs " $pic_object" + arg="$pic_object" + fi + + # Non-PIC object. + if test "$non_pic_object" != none; then + # Prepend the subdirectory the object is found in. + non_pic_object="$xdir$non_pic_object" + + # A standard non-PIC object + func_append non_pic_objects " $non_pic_object" + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi + else + # If the PIC object exists, use it instead. + # $xdir was prepended to $pic_object above. + non_pic_object="$pic_object" + func_append non_pic_objects " $non_pic_object" + fi + else + # Only an error if not doing a dry-run. + if $opt_dry_run; then + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir="$func_dirname_result" + + func_lo2o "$arg" + pic_object=$xdir$objdir/$func_lo2o_result + non_pic_object=$xdir$func_lo2o_result + func_append libobjs " $pic_object" + func_append non_pic_objects " $non_pic_object" + else + func_fatal_error "\`$arg' is not a valid libtool object" + fi + fi + ;; + + *.$libext) + # An archive. + func_append deplibs " $arg" + func_append old_deplibs " $arg" + continue + ;; + + *.la) + # A libtool-controlled library. + + func_resolve_sysroot "$arg" + if test "$prev" = dlfiles; then + # This library was specified with -dlopen. + func_append dlfiles " $func_resolve_sysroot_result" + prev= + elif test "$prev" = dlprefiles; then + # The library was specified with -dlpreopen. + func_append dlprefiles " $func_resolve_sysroot_result" + prev= + else + func_append deplibs " $func_resolve_sysroot_result" + fi + continue + ;; + + # Some other compiler argument. + *) + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + ;; + esac # arg + + # Now actually substitute the argument into the commands. + if test -n "$arg"; then + func_append compile_command " $arg" + func_append finalize_command " $arg" + fi + done # argument parsing loop + + test -n "$prev" && \ + func_fatal_help "the \`$prevarg' option requires an argument" + + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then + eval arg=\"$export_dynamic_flag_spec\" + func_append compile_command " $arg" + func_append finalize_command " $arg" + fi + + oldlibs= + # calculate the name of the file, without its directory + func_basename "$output" + outputname="$func_basename_result" + libobjs_save="$libobjs" + + if test -n "$shlibpath_var"; then + # get the directories listed in $shlibpath_var + eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\` + else + shlib_search_path= + fi + eval sys_lib_search_path=\"$sys_lib_search_path_spec\" + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" + + func_dirname "$output" "/" "" + output_objdir="$func_dirname_result$objdir" + func_to_tool_file "$output_objdir/" + tool_output_objdir=$func_to_tool_file_result + # Create the object directory. + func_mkdir_p "$output_objdir" + + # Determine the type of output + case $output in + "") + func_fatal_help "you must specify an output file" + ;; + *.$libext) linkmode=oldlib ;; + *.lo | *.$objext) linkmode=obj ;; + *.la) linkmode=lib ;; + *) linkmode=prog ;; # Anything else should be a program. + esac + + specialdeplibs= + + libs= + # Find all interdependent deplibs by searching for libraries + # that are linked more than once (e.g. -la -lb -la) + for deplib in $deplibs; do + if $opt_preserve_dup_deps ; then + case "$libs " in + *" $deplib "*) func_append specialdeplibs " $deplib" ;; + esac + fi + func_append libs " $deplib" + done + + if test "$linkmode" = lib; then + libs="$predeps $libs $compiler_lib_search_path $postdeps" + + # Compute libraries that are listed more than once in $predeps + # $postdeps and mark them as special (i.e., whose duplicates are + # not to be eliminated). + pre_post_deps= + if $opt_duplicate_compiler_generated_deps; then + for pre_post_dep in $predeps $postdeps; do + case "$pre_post_deps " in + *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;; + esac + func_append pre_post_deps " $pre_post_dep" + done + fi + pre_post_deps= + fi + + deplibs= + newdependency_libs= + newlib_search_path= + need_relink=no # whether we're linking any uninstalled libtool libraries + notinst_deplibs= # not-installed libtool libraries + notinst_path= # paths that contain not-installed libtool libraries + + case $linkmode in + lib) + passes="conv dlpreopen link" + for file in $dlfiles $dlprefiles; do + case $file in + *.la) ;; + *) + func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file" + ;; + esac + done + ;; + prog) + compile_deplibs= + finalize_deplibs= + alldeplibs=no + newdlfiles= + newdlprefiles= + passes="conv scan dlopen dlpreopen link" + ;; + *) passes="conv" + ;; + esac + + for pass in $passes; do + # The preopen pass in lib mode reverses $deplibs; put it back here + # so that -L comes before libs that need it for instance... + if test "$linkmode,$pass" = "lib,link"; then + ## FIXME: Find the place where the list is rebuilt in the wrong + ## order, and fix it there properly + tmp_deplibs= + for deplib in $deplibs; do + tmp_deplibs="$deplib $tmp_deplibs" + done + deplibs="$tmp_deplibs" + fi + + if test "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan"; then + libs="$deplibs" + deplibs= + fi + if test "$linkmode" = prog; then + case $pass in + dlopen) libs="$dlfiles" ;; + dlpreopen) libs="$dlprefiles" ;; + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; + esac + fi + if test "$linkmode,$pass" = "lib,dlpreopen"; then + # Collect and forward deplibs of preopened libtool libs + for lib in $dlprefiles; do + # Ignore non-libtool-libs + dependency_libs= + func_resolve_sysroot "$lib" + case $lib in + *.la) func_source "$func_resolve_sysroot_result" ;; + esac + + # Collect preopened libtool deplibs, except any this library + # has declared as weak libs + for deplib in $dependency_libs; do + func_basename "$deplib" + deplib_base=$func_basename_result + case " $weak_libs " in + *" $deplib_base "*) ;; + *) func_append deplibs " $deplib" ;; + esac + done + done + libs="$dlprefiles" + fi + if test "$pass" = dlopen; then + # Collect dlpreopened libraries + save_deplibs="$deplibs" + deplibs= + fi + + for deplib in $libs; do + lib= + found=no + case $deplib in + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ + |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + func_append compiler_flags " $deplib" + if test "$linkmode" = lib ; then + case "$new_inherited_linker_flags " in + *" $deplib "*) ;; + * ) func_append new_inherited_linker_flags " $deplib" ;; + esac + fi + fi + continue + ;; + -l*) + if test "$linkmode" != lib && test "$linkmode" != prog; then + func_warning "\`-l' is ignored for archives/objects" + continue + fi + func_stripname '-l' '' "$deplib" + name=$func_stripname_result + if test "$linkmode" = lib; then + searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" + else + searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" + fi + for searchdir in $searchdirs; do + for search_ext in .la $std_shrext .so .a; do + # Search the libtool library + lib="$searchdir/lib${name}${search_ext}" + if test -f "$lib"; then + if test "$search_ext" = ".la"; then + found=yes + else + found=no + fi + break 2 + fi + done + done + if test "$found" != yes; then + # deplib doesn't seem to be a libtool library + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" + fi + continue + else # deplib is a libtool library + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, + # We need to do some special things here, and not later. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $deplib "*) + if func_lalib_p "$lib"; then + library_names= + old_library= + func_source "$lib" + for l in $old_library $library_names; do + ll="$l" + done + if test "X$ll" = "X$old_library" ; then # only static version available + found=no + func_dirname "$lib" "" "." + ladir="$func_dirname_result" + lib=$ladir/$old_library + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" + fi + continue + fi + fi + ;; + *) ;; + esac + fi + fi + ;; # -l + *.ltframework) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + if test "$linkmode" = lib ; then + case "$new_inherited_linker_flags " in + *" $deplib "*) ;; + * ) func_append new_inherited_linker_flags " $deplib" ;; + esac + fi + fi + continue + ;; + -L*) + case $linkmode in + lib) + deplibs="$deplib $deplibs" + test "$pass" = conv && continue + newdependency_libs="$deplib $newdependency_libs" + func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result" + func_append newlib_search_path " $func_resolve_sysroot_result" + ;; + prog) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + if test "$pass" = scan; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result" + func_append newlib_search_path " $func_resolve_sysroot_result" + ;; + *) + func_warning "\`-L' is ignored for archives/objects" + ;; + esac # linkmode + continue + ;; # -L + -R*) + if test "$pass" = link; then + func_stripname '-R' '' "$deplib" + func_resolve_sysroot "$func_stripname_result" + dir=$func_resolve_sysroot_result + # Make sure the xrpath contains only unique directories. + case "$xrpath " in + *" $dir "*) ;; + *) func_append xrpath " $dir" ;; + esac + fi + deplibs="$deplib $deplibs" + continue + ;; + *.la) + func_resolve_sysroot "$deplib" + lib=$func_resolve_sysroot_result + ;; + *.$libext) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + case $linkmode in + lib) + # Linking convenience modules into shared libraries is allowed, + # but linking other static libraries is non-portable. + case " $dlpreconveniencelibs " in + *" $deplib "*) ;; + *) + valid_a_lib=no + case $deplibs_check_method in + match_pattern*) + set dummy $deplibs_check_method; shift + match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` + if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \ + | $EGREP "$match_pattern_regex" > /dev/null; then + valid_a_lib=yes + fi + ;; + pass_all) + valid_a_lib=yes + ;; + esac + if test "$valid_a_lib" != yes; then + echo + $ECHO "*** Warning: Trying to link with static lib archive $deplib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because the file extensions .$libext of this argument makes me believe" + echo "*** that it is just a static archive that I should not use here." + else + echo + $ECHO "*** Warning: Linking the shared library $output against the" + $ECHO "*** static library $deplib is not portable!" + deplibs="$deplib $deplibs" + fi + ;; + esac + continue + ;; + prog) + if test "$pass" != link; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + continue + ;; + esac # linkmode + ;; # *.$libext + *.lo | *.$objext) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + elif test "$linkmode" = prog; then + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then + # If there is no dlopen support or we're linking statically, + # we need to preload. + func_append newdlprefiles " $deplib" + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + func_append newdlfiles " $deplib" + fi + fi + continue + ;; + %DEPLIBS%) + alldeplibs=yes + continue + ;; + esac # case $deplib + + if test "$found" = yes || test -f "$lib"; then : + else + func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'" + fi + + # Check to see that this really is a libtool archive. + func_lalib_unsafe_p "$lib" \ + || func_fatal_error "\`$lib' is not a valid libtool archive" + + func_dirname "$lib" "" "." + ladir="$func_dirname_result" + + dlname= + dlopen= + dlpreopen= + libdir= + library_names= + old_library= + inherited_linker_flags= + # If the library was installed with an old release of libtool, + # it will not redefine variables installed, or shouldnotlink + installed=yes + shouldnotlink=no + avoidtemprpath= + + + # Read the .la file + func_source "$lib" + + # Convert "-framework foo" to "foo.ltframework" + if test -n "$inherited_linker_flags"; then + tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'` + for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do + case " $new_inherited_linker_flags " in + *" $tmp_inherited_linker_flag "*) ;; + *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";; + esac + done + fi + dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + if test "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan" || + { test "$linkmode" != prog && test "$linkmode" != lib; }; then + test -n "$dlopen" && func_append dlfiles " $dlopen" + test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen" + fi + + if test "$pass" = conv; then + # Only check for convenience libraries + deplibs="$lib $deplibs" + if test -z "$libdir"; then + if test -z "$old_library"; then + func_fatal_error "cannot find name of link library for \`$lib'" + fi + # It is a libtool convenience library, so add in its objects. + func_append convenience " $ladir/$objdir/$old_library" + func_append old_convenience " $ladir/$objdir/$old_library" + elif test "$linkmode" != prog && test "$linkmode" != lib; then + func_fatal_error "\`$lib' is not a convenience library" + fi + tmp_libs= + for deplib in $dependency_libs; do + deplibs="$deplib $deplibs" + if $opt_preserve_dup_deps ; then + case "$tmp_libs " in + *" $deplib "*) func_append specialdeplibs " $deplib" ;; + esac + fi + func_append tmp_libs " $deplib" + done + continue + fi # $pass = conv + + + # Get the name of the library we link against. + linklib= + if test -n "$old_library" && + { test "$prefer_static_libs" = yes || + test "$prefer_static_libs,$installed" = "built,no"; }; then + linklib=$old_library + else + for l in $old_library $library_names; do + linklib="$l" + done + fi + if test -z "$linklib"; then + func_fatal_error "cannot find name of link library for \`$lib'" + fi + + # This library was specified with -dlopen. + if test "$pass" = dlopen; then + if test -z "$libdir"; then + func_fatal_error "cannot -dlopen a convenience library: \`$lib'" + fi + if test -z "$dlname" || + test "$dlopen_support" != yes || + test "$build_libtool_libs" = no; then + # If there is no dlname, no dlopen support or we're linking + # statically, we need to preload. We also need to preload any + # dependent libraries so libltdl's deplib preloader doesn't + # bomb out in the load deplibs phase. + func_append dlprefiles " $lib $dependency_libs" + else + func_append newdlfiles " $lib" + fi + continue + fi # $pass = dlopen + + # We need an absolute path. + case $ladir in + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; + *) + abs_ladir=`cd "$ladir" && pwd` + if test -z "$abs_ladir"; then + func_warning "cannot determine absolute directory name of \`$ladir'" + func_warning "passing it literally to the linker, although it might fail" + abs_ladir="$ladir" + fi + ;; + esac + func_basename "$lib" + laname="$func_basename_result" + + # Find the relevant object directory and library name. + if test "X$installed" = Xyes; then + if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then + func_warning "library \`$lib' was moved." + dir="$ladir" + absdir="$abs_ladir" + libdir="$abs_ladir" + else + dir="$lt_sysroot$libdir" + absdir="$lt_sysroot$libdir" + fi + test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes + else + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then + dir="$ladir" + absdir="$abs_ladir" + # Remove this search path later + func_append notinst_path " $abs_ladir" + else + dir="$ladir/$objdir" + absdir="$abs_ladir/$objdir" + # Remove this search path later + func_append notinst_path " $abs_ladir" + fi + fi # $installed = yes + func_stripname 'lib' '.la' "$laname" + name=$func_stripname_result + + # This library was specified with -dlpreopen. + if test "$pass" = dlpreopen; then + if test -z "$libdir" && test "$linkmode" = prog; then + func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'" + fi + case "$host" in + # special handling for platforms with PE-DLLs. + *cygwin* | *mingw* | *cegcc* ) + # Linker will automatically link against shared library if both + # static and shared are present. Therefore, ensure we extract + # symbols from the import library if a shared library is present + # (otherwise, the dlopen module name will be incorrect). We do + # this by putting the import library name into $newdlprefiles. + # We recover the dlopen module name by 'saving' the la file + # name in a special purpose variable, and (later) extracting the + # dlname from the la file. + if test -n "$dlname"; then + func_tr_sh "$dir/$linklib" + eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname" + func_append newdlprefiles " $dir/$linklib" + else + func_append newdlprefiles " $dir/$old_library" + # Keep a list of preopened convenience libraries to check + # that they are being used correctly in the link pass. + test -z "$libdir" && \ + func_append dlpreconveniencelibs " $dir/$old_library" + fi + ;; + * ) + # Prefer using a static library (so that no silly _DYNAMIC symbols + # are required to link). + if test -n "$old_library"; then + func_append newdlprefiles " $dir/$old_library" + # Keep a list of preopened convenience libraries to check + # that they are being used correctly in the link pass. + test -z "$libdir" && \ + func_append dlpreconveniencelibs " $dir/$old_library" + # Otherwise, use the dlname, so that lt_dlopen finds it. + elif test -n "$dlname"; then + func_append newdlprefiles " $dir/$dlname" + else + func_append newdlprefiles " $dir/$linklib" + fi + ;; + esac + fi # $pass = dlpreopen + + if test -z "$libdir"; then + # Link the convenience library + if test "$linkmode" = lib; then + deplibs="$dir/$old_library $deplibs" + elif test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$dir/$old_library $compile_deplibs" + finalize_deplibs="$dir/$old_library $finalize_deplibs" + else + deplibs="$lib $deplibs" # used for prog,scan pass + fi + continue + fi + + + if test "$linkmode" = prog && test "$pass" != link; then + func_append newlib_search_path " $ladir" + deplibs="$lib $deplibs" + + linkalldeplibs=no + if test "$link_all_deplibs" != no || test -z "$library_names" || + test "$build_libtool_libs" = no; then + linkalldeplibs=yes + fi + + tmp_libs= + for deplib in $dependency_libs; do + case $deplib in + -L*) func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result" + func_append newlib_search_path " $func_resolve_sysroot_result" + ;; + esac + # Need to link against all dependency_libs? + if test "$linkalldeplibs" = yes; then + deplibs="$deplib $deplibs" + else + # Need to hardcode shared library paths + # or/and link against static libraries + newdependency_libs="$deplib $newdependency_libs" + fi + if $opt_preserve_dup_deps ; then + case "$tmp_libs " in + *" $deplib "*) func_append specialdeplibs " $deplib" ;; + esac + fi + func_append tmp_libs " $deplib" + done # for deplib + continue + fi # $linkmode = prog... + + if test "$linkmode,$pass" = "prog,link"; then + if test -n "$library_names" && + { { test "$prefer_static_libs" = no || + test "$prefer_static_libs,$installed" = "built,yes"; } || + test -z "$old_library"; }; then + # We need to hardcode the library path + if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then + # Make sure the rpath contains only unique directories. + case "$temp_rpath:" in + *"$absdir:"*) ;; + *) func_append temp_rpath "$absdir:" ;; + esac + fi + + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) func_append compile_rpath " $absdir" ;; + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) func_append finalize_rpath " $libdir" ;; + esac + ;; + esac + fi # $linkmode,$pass = prog,link... + + if test "$alldeplibs" = yes && + { test "$deplibs_check_method" = pass_all || + { test "$build_libtool_libs" = yes && + test -n "$library_names"; }; }; then + # We only need to search for static libraries + continue + fi + fi + + link_static=no # Whether the deplib will be linked statically + use_static_libs=$prefer_static_libs + if test "$use_static_libs" = built && test "$installed" = yes; then + use_static_libs=no + fi + if test -n "$library_names" && + { test "$use_static_libs" = no || test -z "$old_library"; }; then + case $host in + *cygwin* | *mingw* | *cegcc*) + # No point in relinking DLLs because paths are not encoded + func_append notinst_deplibs " $lib" + need_relink=no + ;; + *) + if test "$installed" = no; then + func_append notinst_deplibs " $lib" + need_relink=yes + fi + ;; + esac + # This is a shared library + + # Warn about portability, can't link against -module's on some + # systems (darwin). Don't bleat about dlopened modules though! + dlopenmodule="" + for dlpremoduletest in $dlprefiles; do + if test "X$dlpremoduletest" = "X$lib"; then + dlopenmodule="$dlpremoduletest" + break + fi + done + if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then + echo + if test "$linkmode" = prog; then + $ECHO "*** Warning: Linking the executable $output against the loadable module" + else + $ECHO "*** Warning: Linking the shared library $output against the loadable module" + fi + $ECHO "*** $linklib is not portable!" + fi + if test "$linkmode" = lib && + test "$hardcode_into_libs" = yes; then + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) func_append compile_rpath " $absdir" ;; + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) func_append finalize_rpath " $libdir" ;; + esac + ;; + esac + fi + + if test -n "$old_archive_from_expsyms_cmds"; then + # figure out the soname + set dummy $library_names + shift + realname="$1" + shift + libname=`eval "\\$ECHO \"$libname_spec\""` + # use dlname if we got it. it's perfectly good, no? + if test -n "$dlname"; then + soname="$dlname" + elif test -n "$soname_spec"; then + # bleh windows + case $host in + *cygwin* | mingw* | *cegcc*) + func_arith $current - $age + major=$func_arith_result + versuffix="-$major" + ;; + esac + eval soname=\"$soname_spec\" + else + soname="$realname" + fi + + # Make a new name for the extract_expsyms_cmds to use + soroot="$soname" + func_basename "$soroot" + soname="$func_basename_result" + func_stripname 'lib' '.dll' "$soname" + newlib=libimp-$func_stripname_result.a + + # If the library has no export list, then create one now + if test -f "$output_objdir/$soname-def"; then : + else + func_verbose "extracting exported symbol list from \`$soname'" + func_execute_cmds "$extract_expsyms_cmds" 'exit $?' + fi + + # Create $newlib + if test -f "$output_objdir/$newlib"; then :; else + func_verbose "generating import library for \`$soname'" + func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' + fi + # make sure the library variables are pointing to the new library + dir=$output_objdir + linklib=$newlib + fi # test -n "$old_archive_from_expsyms_cmds" + + if test "$linkmode" = prog || test "$opt_mode" != relink; then + add_shlibpath= + add_dir= + add= + lib_linked=yes + case $hardcode_action in + immediate | unsupported) + if test "$hardcode_direct" = no; then + add="$dir/$linklib" + case $host in + *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; + *-*-sysv4*uw2*) add_dir="-L$dir" ;; + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ + *-*-unixware7*) add_dir="-L$dir" ;; + *-*-darwin* ) + # if the lib is a (non-dlopened) module then we can not + # link against it, someone is ignoring the earlier warnings + if /usr/bin/file -L $add 2> /dev/null | + $GREP ": [^:]* bundle" >/dev/null ; then + if test "X$dlopenmodule" != "X$lib"; then + $ECHO "*** Warning: lib $linklib is a module, not a shared library" + if test -z "$old_library" ; then + echo + echo "*** And there doesn't seem to be a static archive available" + echo "*** The link will probably fail, sorry" + else + add="$dir/$old_library" + fi + elif test -n "$old_library"; then + add="$dir/$old_library" + fi + fi + esac + elif test "$hardcode_minus_L" = no; then + case $host in + *-*-sunos*) add_shlibpath="$dir" ;; + esac + add_dir="-L$dir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = no; then + add_shlibpath="$dir" + add="-l$name" + else + lib_linked=no + fi + ;; + relink) + if test "$hardcode_direct" = yes && + test "$hardcode_direct_absolute" = no; then + add="$dir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$absdir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in + [\\/]*) + func_append add_dir " -L$inst_prefix_dir$libdir" + ;; + esac + fi + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + add_shlibpath="$dir" + add="-l$name" + else + lib_linked=no + fi + ;; + *) lib_linked=no ;; + esac + + if test "$lib_linked" != yes; then + func_fatal_configuration "unsupported hardcode properties" + fi + + if test -n "$add_shlibpath"; then + case :$compile_shlibpath: in + *":$add_shlibpath:"*) ;; + *) func_append compile_shlibpath "$add_shlibpath:" ;; + esac + fi + if test "$linkmode" = prog; then + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" + test -n "$add" && compile_deplibs="$add $compile_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + if test "$hardcode_direct" != yes && + test "$hardcode_minus_L" != yes && + test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) func_append finalize_shlibpath "$libdir:" ;; + esac + fi + fi + fi + + if test "$linkmode" = prog || test "$opt_mode" = relink; then + add_shlibpath= + add_dir= + add= + # Finalize command for both is simple: just hardcode it. + if test "$hardcode_direct" = yes && + test "$hardcode_direct_absolute" = no; then + add="$libdir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$libdir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) func_append finalize_shlibpath "$libdir:" ;; + esac + add="-l$name" + elif test "$hardcode_automatic" = yes; then + if test -n "$inst_prefix_dir" && + test -f "$inst_prefix_dir$libdir/$linklib" ; then + add="$inst_prefix_dir$libdir/$linklib" + else + add="$libdir/$linklib" + fi + else + # We cannot seem to hardcode it, guess we'll fake it. + add_dir="-L$libdir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in + [\\/]*) + func_append add_dir " -L$inst_prefix_dir$libdir" + ;; + esac + fi + add="-l$name" + fi + + if test "$linkmode" = prog; then + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" + test -n "$add" && finalize_deplibs="$add $finalize_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + fi + fi + elif test "$linkmode" = prog; then + # Here we assume that one of hardcode_direct or hardcode_minus_L + # is not unsupported. This is valid on all known static and + # shared platforms. + if test "$hardcode_direct" != unsupported; then + test -n "$old_library" && linklib="$old_library" + compile_deplibs="$dir/$linklib $compile_deplibs" + finalize_deplibs="$dir/$linklib $finalize_deplibs" + else + compile_deplibs="-l$name -L$dir $compile_deplibs" + finalize_deplibs="-l$name -L$dir $finalize_deplibs" + fi + elif test "$build_libtool_libs" = yes; then + # Not a shared library + if test "$deplibs_check_method" != pass_all; then + # We're trying link a shared library against a static one + # but the system doesn't support it. + + # Just print a warning and add the library to dependency_libs so + # that the program can be linked against the static library. + echo + $ECHO "*** Warning: This system can not link to static lib archive $lib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have." + if test "$module" = yes; then + echo "*** But as you try to build a module library, libtool will still create " + echo "*** a static module, that should work as long as the dlopening application" + echo "*** is linked with the -dlopen flag to resolve symbols at runtime." + if test -z "$global_symbol_pipe"; then + echo + echo "*** However, this would only work if libtool was able to extract symbol" + echo "*** lists from a program, using \`nm' or equivalent, but libtool could" + echo "*** not find such a program. So, this module is probably useless." + echo "*** \`nm' from GNU binutils and a full rebuild may help." + fi + if test "$build_old_libs" = no; then + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + fi + else + deplibs="$dir/$old_library $deplibs" + link_static=yes + fi + fi # link shared/static library? + + if test "$linkmode" = lib; then + if test -n "$dependency_libs" && + { test "$hardcode_into_libs" != yes || + test "$build_old_libs" = yes || + test "$link_static" = yes; }; then + # Extract -R from dependency_libs + temp_deplibs= + for libdir in $dependency_libs; do + case $libdir in + -R*) func_stripname '-R' '' "$libdir" + temp_xrpath=$func_stripname_result + case " $xrpath " in + *" $temp_xrpath "*) ;; + *) func_append xrpath " $temp_xrpath";; + esac;; + *) func_append temp_deplibs " $libdir";; + esac + done + dependency_libs="$temp_deplibs" + fi + + func_append newlib_search_path " $absdir" + # Link against this library + test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" + # ... and its dependency_libs + tmp_libs= + for deplib in $dependency_libs; do + newdependency_libs="$deplib $newdependency_libs" + case $deplib in + -L*) func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result";; + *) func_resolve_sysroot "$deplib" ;; + esac + if $opt_preserve_dup_deps ; then + case "$tmp_libs " in + *" $func_resolve_sysroot_result "*) + func_append specialdeplibs " $func_resolve_sysroot_result" ;; + esac + fi + func_append tmp_libs " $func_resolve_sysroot_result" + done + + if test "$link_all_deplibs" != no; then + # Add the search paths of all dependency libraries + for deplib in $dependency_libs; do + path= + case $deplib in + -L*) path="$deplib" ;; + *.la) + func_resolve_sysroot "$deplib" + deplib=$func_resolve_sysroot_result + func_dirname "$deplib" "" "." + dir=$func_dirname_result + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; + *) + absdir=`cd "$dir" && pwd` + if test -z "$absdir"; then + func_warning "cannot determine absolute directory name of \`$dir'" + absdir="$dir" + fi + ;; + esac + if $GREP "^installed=no" $deplib > /dev/null; then + case $host in + *-*-darwin*) + depdepl= + eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` + if test -n "$deplibrary_names" ; then + for tmp in $deplibrary_names ; do + depdepl=$tmp + done + if test -f "$absdir/$objdir/$depdepl" ; then + depdepl="$absdir/$objdir/$depdepl" + darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` + if test -z "$darwin_install_name"; then + darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` + fi + func_append compiler_flags " ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}" + func_append linker_flags " -dylib_file ${darwin_install_name}:${depdepl}" + path= + fi + fi + ;; + *) + path="-L$absdir/$objdir" + ;; + esac + else + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + test -z "$libdir" && \ + func_fatal_error "\`$deplib' is not a valid libtool archive" + test "$absdir" != "$libdir" && \ + func_warning "\`$deplib' seems to be moved" + + path="-L$absdir" + fi + ;; + esac + case " $deplibs " in + *" $path "*) ;; + *) deplibs="$path $deplibs" ;; + esac + done + fi # link_all_deplibs != no + fi # linkmode = lib + done # for deplib in $libs + if test "$pass" = link; then + if test "$linkmode" = "prog"; then + compile_deplibs="$new_inherited_linker_flags $compile_deplibs" + finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" + else + compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + fi + fi + dependency_libs="$newdependency_libs" + if test "$pass" = dlpreopen; then + # Link the dlpreopened libraries before other libraries + for deplib in $save_deplibs; do + deplibs="$deplib $deplibs" + done + fi + if test "$pass" != dlopen; then + if test "$pass" != conv; then + # Make sure lib_search_path contains only unique directories. + lib_search_path= + for dir in $newlib_search_path; do + case "$lib_search_path " in + *" $dir "*) ;; + *) func_append lib_search_path " $dir" ;; + esac + done + newlib_search_path= + fi + + if test "$linkmode,$pass" != "prog,link"; then + vars="deplibs" + else + vars="compile_deplibs finalize_deplibs" + fi + for var in $vars dependency_libs; do + # Add libraries to $var in reverse order + eval tmp_libs=\"\$$var\" + new_libs= + for deplib in $tmp_libs; do + # FIXME: Pedantically, this is the right thing to do, so + # that some nasty dependency loop isn't accidentally + # broken: + #new_libs="$deplib $new_libs" + # Pragmatically, this seems to cause very few problems in + # practice: + case $deplib in + -L*) new_libs="$deplib $new_libs" ;; + -R*) ;; + *) + # And here is the reason: when a library appears more + # than once as an explicit dependence of a library, or + # is implicitly linked in more than once by the + # compiler, it is considered special, and multiple + # occurrences thereof are not removed. Compare this + # with having the same library being listed as a + # dependency of multiple other libraries: in this case, + # we know (pedantically, we assume) the library does not + # need to be listed more than once, so we keep only the + # last copy. This is not always right, but it is rare + # enough that we require users that really mean to play + # such unportable linking tricks to link the library + # using -Wl,-lname, so that libtool does not consider it + # for duplicate removal. + case " $specialdeplibs " in + *" $deplib "*) new_libs="$deplib $new_libs" ;; + *) + case " $new_libs " in + *" $deplib "*) ;; + *) new_libs="$deplib $new_libs" ;; + esac + ;; + esac + ;; + esac + done + tmp_libs= + for deplib in $new_libs; do + case $deplib in + -L*) + case " $tmp_libs " in + *" $deplib "*) ;; + *) func_append tmp_libs " $deplib" ;; + esac + ;; + *) func_append tmp_libs " $deplib" ;; + esac + done + eval $var=\"$tmp_libs\" + done # for var + fi + # Last step: remove runtime libs from dependency_libs + # (they stay in deplibs) + tmp_libs= + for i in $dependency_libs ; do + case " $predeps $postdeps $compiler_lib_search_path " in + *" $i "*) + i="" + ;; + esac + if test -n "$i" ; then + func_append tmp_libs " $i" + fi + done + dependency_libs=$tmp_libs + done # for pass + if test "$linkmode" = prog; then + dlfiles="$newdlfiles" + fi + if test "$linkmode" = prog || test "$linkmode" = lib; then + dlprefiles="$newdlprefiles" + fi + + case $linkmode in + oldlib) + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + func_warning "\`-dlopen' is ignored for archives" + fi + + case " $deplibs" in + *\ -l* | *\ -L*) + func_warning "\`-l' and \`-L' are ignored for archives" ;; + esac + + test -n "$rpath" && \ + func_warning "\`-rpath' is ignored for archives" + + test -n "$xrpath" && \ + func_warning "\`-R' is ignored for archives" + + test -n "$vinfo" && \ + func_warning "\`-version-info/-version-number' is ignored for archives" + + test -n "$release" && \ + func_warning "\`-release' is ignored for archives" + + test -n "$export_symbols$export_symbols_regex" && \ + func_warning "\`-export-symbols' is ignored for archives" + + # Now set the variables for building old libraries. + build_libtool_libs=no + oldlibs="$output" + func_append objs "$old_deplibs" + ;; + + lib) + # Make sure we only generate libraries of the form `libNAME.la'. + case $outputname in + lib*) + func_stripname 'lib' '.la' "$outputname" + name=$func_stripname_result + eval shared_ext=\"$shrext_cmds\" + eval libname=\"$libname_spec\" + ;; + *) + test "$module" = no && \ + func_fatal_help "libtool library \`$output' must begin with \`lib'" + + if test "$need_lib_prefix" != no; then + # Add the "lib" prefix for modules if required + func_stripname '' '.la' "$outputname" + name=$func_stripname_result + eval shared_ext=\"$shrext_cmds\" + eval libname=\"$libname_spec\" + else + func_stripname '' '.la' "$outputname" + libname=$func_stripname_result + fi + ;; + esac + + if test -n "$objs"; then + if test "$deplibs_check_method" != pass_all; then + func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs" + else + echo + $ECHO "*** Warning: Linking the shared library $output against the non-libtool" + $ECHO "*** objects $objs is not portable!" + func_append libobjs " $objs" + fi + fi + + test "$dlself" != no && \ + func_warning "\`-dlopen self' is ignored for libtool libraries" + + set dummy $rpath + shift + test "$#" -gt 1 && \ + func_warning "ignoring multiple \`-rpath's for a libtool library" + + install_libdir="$1" + + oldlibs= + if test -z "$rpath"; then + if test "$build_libtool_libs" = yes; then + # Building a libtool convenience library. + # Some compilers have problems with a `.al' extension so + # convenience libraries should have the same extension an + # archive normally would. + oldlibs="$output_objdir/$libname.$libext $oldlibs" + build_libtool_libs=convenience + build_old_libs=yes + fi + + test -n "$vinfo" && \ + func_warning "\`-version-info/-version-number' is ignored for convenience libraries" + + test -n "$release" && \ + func_warning "\`-release' is ignored for convenience libraries" + else + + # Parse the version information argument. + save_ifs="$IFS"; IFS=':' + set dummy $vinfo 0 0 0 + shift + IFS="$save_ifs" + + test -n "$7" && \ + func_fatal_help "too many parameters to \`-version-info'" + + # convert absolute version numbers to libtool ages + # this retains compatibility with .la files and attempts + # to make the code below a bit more comprehensible + + case $vinfo_number in + yes) + number_major="$1" + number_minor="$2" + number_revision="$3" + # + # There are really only two kinds -- those that + # use the current revision as the major version + # and those that subtract age and use age as + # a minor version. But, then there is irix + # which has an extra 1 added just for fun + # + case $version_type in + # correct linux to gnu/linux during the next big refactor + darwin|linux|osf|windows|none) + func_arith $number_major + $number_minor + current=$func_arith_result + age="$number_minor" + revision="$number_revision" + ;; + freebsd-aout|freebsd-elf|qnx|sunos) + current="$number_major" + revision="$number_minor" + age="0" + ;; + irix|nonstopux) + func_arith $number_major + $number_minor + current=$func_arith_result + age="$number_minor" + revision="$number_minor" + lt_irix_increment=no + ;; + esac + ;; + no) + current="$1" + revision="$2" + age="$3" + ;; + esac + + # Check that each of the things are valid numbers. + case $current in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + func_error "CURRENT \`$current' must be a nonnegative integer" + func_fatal_error "\`$vinfo' is not valid version information" + ;; + esac + + case $revision in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + func_error "REVISION \`$revision' must be a nonnegative integer" + func_fatal_error "\`$vinfo' is not valid version information" + ;; + esac + + case $age in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + func_error "AGE \`$age' must be a nonnegative integer" + func_fatal_error "\`$vinfo' is not valid version information" + ;; + esac + + if test "$age" -gt "$current"; then + func_error "AGE \`$age' is greater than the current interface number \`$current'" + func_fatal_error "\`$vinfo' is not valid version information" + fi + + # Calculate the version variables. + major= + versuffix= + verstring= + case $version_type in + none) ;; + + darwin) + # Like Linux, but with the current version available in + # verstring for coding it into the library header + func_arith $current - $age + major=.$func_arith_result + versuffix="$major.$age.$revision" + # Darwin ld doesn't like 0 for these options... + func_arith $current + 1 + minor_current=$func_arith_result + xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" + ;; + + freebsd-aout) + major=".$current" + versuffix=".$current.$revision"; + ;; + + freebsd-elf) + major=".$current" + versuffix=".$current" + ;; + + irix | nonstopux) + if test "X$lt_irix_increment" = "Xno"; then + func_arith $current - $age + else + func_arith $current - $age + 1 + fi + major=$func_arith_result + + case $version_type in + nonstopux) verstring_prefix=nonstopux ;; + *) verstring_prefix=sgi ;; + esac + verstring="$verstring_prefix$major.$revision" + + # Add in all the interfaces that we are compatible with. + loop=$revision + while test "$loop" -ne 0; do + func_arith $revision - $loop + iface=$func_arith_result + func_arith $loop - 1 + loop=$func_arith_result + verstring="$verstring_prefix$major.$iface:$verstring" + done + + # Before this point, $major must not contain `.'. + major=.$major + versuffix="$major.$revision" + ;; + + linux) # correct to gnu/linux during the next big refactor + func_arith $current - $age + major=.$func_arith_result + versuffix="$major.$age.$revision" + ;; + + osf) + func_arith $current - $age + major=.$func_arith_result + versuffix=".$current.$age.$revision" + verstring="$current.$age.$revision" + + # Add in all the interfaces that we are compatible with. + loop=$age + while test "$loop" -ne 0; do + func_arith $current - $loop + iface=$func_arith_result + func_arith $loop - 1 + loop=$func_arith_result + verstring="$verstring:${iface}.0" + done + + # Make executables depend on our current version. + func_append verstring ":${current}.0" + ;; + + qnx) + major=".$current" + versuffix=".$current" + ;; + + sunos) + major=".$current" + versuffix=".$current.$revision" + ;; + + windows) + # Use '-' rather than '.', since we only want one + # extension on DOS 8.3 filesystems. + func_arith $current - $age + major=$func_arith_result + versuffix="-$major" + ;; + + *) + func_fatal_configuration "unknown library version type \`$version_type'" + ;; + esac + + # Clear the version info if we defaulted, and they specified a release. + if test -z "$vinfo" && test -n "$release"; then + major= + case $version_type in + darwin) + # we can't check for "0.0" in archive_cmds due to quoting + # problems, so we reset it completely + verstring= + ;; + *) + verstring="0.0" + ;; + esac + if test "$need_version" = no; then + versuffix= + else + versuffix=".0.0" + fi + fi + + # Remove version info from name if versioning should be avoided + if test "$avoid_version" = yes && test "$need_version" = no; then + major= + versuffix= + verstring="" + fi + + # Check to see if the archive will have undefined symbols. + if test "$allow_undefined" = yes; then + if test "$allow_undefined_flag" = unsupported; then + func_warning "undefined symbols not allowed in $host shared libraries" + build_libtool_libs=no + build_old_libs=yes + fi + else + # Don't allow undefined symbols. + allow_undefined_flag="$no_undefined_flag" + fi + + fi + + func_generate_dlsyms "$libname" "$libname" "yes" + func_append libobjs " $symfileobj" + test "X$libobjs" = "X " && libobjs= + + if test "$opt_mode" != relink; then + # Remove our outputs, but don't remove object files since they + # may have been created when compiling PIC objects. + removelist= + tempremovelist=`$ECHO "$output_objdir/*"` + for p in $tempremovelist; do + case $p in + *.$objext | *.gcno) + ;; + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) + if test "X$precious_files_regex" != "X"; then + if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 + then + continue + fi + fi + func_append removelist " $p" + ;; + *) ;; + esac + done + test -n "$removelist" && \ + func_show_eval "${RM}r \$removelist" + fi + + # Now set the variables for building old libraries. + if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then + func_append oldlibs " $output_objdir/$libname.$libext" + + # Transform .lo files to .o files. + oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP` + fi + + # Eliminate all temporary directories. + #for path in $notinst_path; do + # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"` + # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"` + # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"` + #done + + if test -n "$xrpath"; then + # If the user specified any rpath flags, then add them. + temp_xrpath= + for libdir in $xrpath; do + func_replace_sysroot "$libdir" + func_append temp_xrpath " -R$func_replace_sysroot_result" + case "$finalize_rpath " in + *" $libdir "*) ;; + *) func_append finalize_rpath " $libdir" ;; + esac + done + if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then + dependency_libs="$temp_xrpath $dependency_libs" + fi + fi + + # Make sure dlfiles contains only unique files that won't be dlpreopened + old_dlfiles="$dlfiles" + dlfiles= + for lib in $old_dlfiles; do + case " $dlprefiles $dlfiles " in + *" $lib "*) ;; + *) func_append dlfiles " $lib" ;; + esac + done + + # Make sure dlprefiles contains only unique files + old_dlprefiles="$dlprefiles" + dlprefiles= + for lib in $old_dlprefiles; do + case "$dlprefiles " in + *" $lib "*) ;; + *) func_append dlprefiles " $lib" ;; + esac + done + + if test "$build_libtool_libs" = yes; then + if test -n "$rpath"; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) + # these systems don't actually have a c library (as such)! + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C library is in the System framework + func_append deplibs " System.ltframework" + ;; + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc due to us having libc/libc_r. + ;; + *-*-sco3.2v5* | *-*-sco5v6*) + # Causes problems with __ctype + ;; + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) + # Compiler inserts libc in the correct place for threads to work + ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test "$build_libtool_need_lc" = "yes"; then + func_append deplibs " -lc" + fi + ;; + esac + fi + + # Transform deplibs into only deplibs that can be linked in shared. + name_save=$name + libname_save=$libname + release_save=$release + versuffix_save=$versuffix + major_save=$major + # I'm not sure if I'm treating the release correctly. I think + # release should show up in the -l (ie -lgmp5) so we don't want to + # add it in twice. Is that correct? + release="" + versuffix="" + major="" + newdeplibs= + droppeddeps=no + case $deplibs_check_method in + pass_all) + # Don't check for shared/static. Everything works. + # This might be a little naive. We might want to check + # whether the library exists or not. But this is on + # osf3 & osf4 and I'm not really sure... Just + # implementing what was already the behavior. + newdeplibs=$deplibs + ;; + test_compile) + # This code stresses the "libraries are programs" paradigm to its + # limits. Maybe even breaks it. We compile a program, linking it + # against the deplibs as a proxy for the library. Then we can check + # whether they linked in statically or dynamically with ldd. + $opt_dry_run || $RM conftest.c + cat > conftest.c <<EOF + int main() { return 0; } +EOF + $opt_dry_run || $RM conftest + if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then + ldd_output=`ldd conftest` + for i in $deplibs; do + case $i in + -l*) + func_stripname -l '' "$i" + name=$func_stripname_result + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $i "*) + func_append newdeplibs " $i" + i="" + ;; + esac + fi + if test -n "$i" ; then + libname=`eval "\\$ECHO \"$libname_spec\""` + deplib_matches=`eval "\\$ECHO \"$library_names_spec\""` + set dummy $deplib_matches; shift + deplib_match=$1 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then + func_append newdeplibs " $i" + else + droppeddeps=yes + echo + $ECHO "*** Warning: dynamic linker does not accept needed library $i." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which I believe you do not have" + echo "*** because a test_compile did reveal that the linker did not use it for" + echo "*** its dynamic dependency list that programs get resolved with at runtime." + fi + fi + ;; + *) + func_append newdeplibs " $i" + ;; + esac + done + else + # Error occurred in the first compile. Let's try to salvage + # the situation: Compile a separate program for each library. + for i in $deplibs; do + case $i in + -l*) + func_stripname -l '' "$i" + name=$func_stripname_result + $opt_dry_run || $RM conftest + if $LTCC $LTCFLAGS -o conftest conftest.c $i; then + ldd_output=`ldd conftest` + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $i "*) + func_append newdeplibs " $i" + i="" + ;; + esac + fi + if test -n "$i" ; then + libname=`eval "\\$ECHO \"$libname_spec\""` + deplib_matches=`eval "\\$ECHO \"$library_names_spec\""` + set dummy $deplib_matches; shift + deplib_match=$1 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then + func_append newdeplibs " $i" + else + droppeddeps=yes + echo + $ECHO "*** Warning: dynamic linker does not accept needed library $i." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because a test_compile did reveal that the linker did not use this one" + echo "*** as a dynamic dependency that programs can get resolved with at runtime." + fi + fi + else + droppeddeps=yes + echo + $ECHO "*** Warning! Library $i is needed by this library but I was not able to" + echo "*** make it link in! You will probably need to install it or some" + echo "*** library that it depends on before this library will be fully" + echo "*** functional. Installing it before continuing would be even better." + fi + ;; + *) + func_append newdeplibs " $i" + ;; + esac + done + fi + ;; + file_magic*) + set dummy $deplibs_check_method; shift + file_magic_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` + for a_deplib in $deplibs; do + case $a_deplib in + -l*) + func_stripname -l '' "$a_deplib" + name=$func_stripname_result + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $a_deplib "*) + func_append newdeplibs " $a_deplib" + a_deplib="" + ;; + esac + fi + if test -n "$a_deplib" ; then + libname=`eval "\\$ECHO \"$libname_spec\""` + if test -n "$file_magic_glob"; then + libnameglob=`func_echo_all "$libname" | $SED -e $file_magic_glob` + else + libnameglob=$libname + fi + test "$want_nocaseglob" = yes && nocaseglob=`shopt -p nocaseglob` + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do + if test "$want_nocaseglob" = yes; then + shopt -s nocaseglob + potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` + $nocaseglob + else + potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` + fi + for potent_lib in $potential_libs; do + # Follow soft links. + if ls -lLd "$potent_lib" 2>/dev/null | + $GREP " -> " >/dev/null; then + continue + fi + # The statement above tries to avoid entering an + # endless loop below, in case of cyclic links. + # We might still enter an endless loop, since a link + # loop can be closed while we follow links, + # but so what? + potlib="$potent_lib" + while test -h "$potlib" 2>/dev/null; do + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` + case $potliblink in + [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; + *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";; + esac + done + if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | + $SED -e 10q | + $EGREP "$file_magic_regex" > /dev/null; then + func_append newdeplibs " $a_deplib" + a_deplib="" + break 2 + fi + done + done + fi + if test -n "$a_deplib" ; then + droppeddeps=yes + echo + $ECHO "*** Warning: linker path does not have real file for library $a_deplib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because I did check the linker path looking for a file starting" + if test -z "$potlib" ; then + $ECHO "*** with $libname but no candidates were found. (...for file magic test)" + else + $ECHO "*** with $libname and none of the candidates passed a file format test" + $ECHO "*** using a file magic. Last file checked: $potlib" + fi + fi + ;; + *) + # Add a -L argument. + func_append newdeplibs " $a_deplib" + ;; + esac + done # Gone through all deplibs. + ;; + match_pattern*) + set dummy $deplibs_check_method; shift + match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` + for a_deplib in $deplibs; do + case $a_deplib in + -l*) + func_stripname -l '' "$a_deplib" + name=$func_stripname_result + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $a_deplib "*) + func_append newdeplibs " $a_deplib" + a_deplib="" + ;; + esac + fi + if test -n "$a_deplib" ; then + libname=`eval "\\$ECHO \"$libname_spec\""` + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do + potential_libs=`ls $i/$libname[.-]* 2>/dev/null` + for potent_lib in $potential_libs; do + potlib="$potent_lib" # see symlink-check above in file_magic test + if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \ + $EGREP "$match_pattern_regex" > /dev/null; then + func_append newdeplibs " $a_deplib" + a_deplib="" + break 2 + fi + done + done + fi + if test -n "$a_deplib" ; then + droppeddeps=yes + echo + $ECHO "*** Warning: linker path does not have real file for library $a_deplib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because I did check the linker path looking for a file starting" + if test -z "$potlib" ; then + $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" + else + $ECHO "*** with $libname and none of the candidates passed a file format test" + $ECHO "*** using a regex pattern. Last file checked: $potlib" + fi + fi + ;; + *) + # Add a -L argument. + func_append newdeplibs " $a_deplib" + ;; + esac + done # Gone through all deplibs. + ;; + none | unknown | *) + newdeplibs="" + tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'` + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + for i in $predeps $postdeps ; do + # can't use Xsed below, because $i might contain '/' + tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"` + done + fi + case $tmp_deplibs in + *[!\ \ ]*) + echo + if test "X$deplibs_check_method" = "Xnone"; then + echo "*** Warning: inter-library dependencies are not supported in this platform." + else + echo "*** Warning: inter-library dependencies are not known to be supported." + fi + echo "*** All declared inter-library dependencies are being dropped." + droppeddeps=yes + ;; + esac + ;; + esac + versuffix=$versuffix_save + major=$major_save + release=$release_save + libname=$libname_save + name=$name_save + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library with the System framework + newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'` + ;; + esac + + if test "$droppeddeps" = yes; then + if test "$module" = yes; then + echo + echo "*** Warning: libtool could not satisfy all declared inter-library" + $ECHO "*** dependencies of module $libname. Therefore, libtool will create" + echo "*** a static module, that should work as long as the dlopening" + echo "*** application is linked with the -dlopen flag." + if test -z "$global_symbol_pipe"; then + echo + echo "*** However, this would only work if libtool was able to extract symbol" + echo "*** lists from a program, using \`nm' or equivalent, but libtool could" + echo "*** not find such a program. So, this module is probably useless." + echo "*** \`nm' from GNU binutils and a full rebuild may help." + fi + if test "$build_old_libs" = no; then + oldlibs="$output_objdir/$libname.$libext" + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + else + echo "*** The inter-library dependencies that have been dropped here will be" + echo "*** automatically added whenever a program is linked with this library" + echo "*** or is declared to -dlopen it." + + if test "$allow_undefined" = no; then + echo + echo "*** Since this library must not contain undefined symbols," + echo "*** because either the platform does not support them or" + echo "*** it was explicitly requested with -no-undefined," + echo "*** libtool will only create a static version of it." + if test "$build_old_libs" = no; then + oldlibs="$output_objdir/$libname.$libext" + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + fi + fi + fi + # Done checking deplibs! + deplibs=$newdeplibs + fi + # Time to change all our "foo.ltframework" stuff back to "-framework foo" + case $host in + *-*-darwin*) + newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + ;; + esac + + # move library search paths that coincide with paths to not yet + # installed libraries to the beginning of the library search list + new_libs= + for path in $notinst_path; do + case " $new_libs " in + *" -L$path/$objdir "*) ;; + *) + case " $deplibs " in + *" -L$path/$objdir "*) + func_append new_libs " -L$path/$objdir" ;; + esac + ;; + esac + done + for deplib in $deplibs; do + case $deplib in + -L*) + case " $new_libs " in + *" $deplib "*) ;; + *) func_append new_libs " $deplib" ;; + esac + ;; + *) func_append new_libs " $deplib" ;; + esac + done + deplibs="$new_libs" + + # All the library-specific variables (install_libdir is set above). + library_names= + old_library= + dlname= + + # Test again, we may have decided not to build it any more + if test "$build_libtool_libs" = yes; then + # Remove ${wl} instances when linking with ld. + # FIXME: should test the right _cmds variable. + case $archive_cmds in + *\$LD\ *) wl= ;; + esac + if test "$hardcode_into_libs" = yes; then + # Hardcode the library paths + hardcode_libdirs= + dep_rpath= + rpath="$finalize_rpath" + test "$opt_mode" != relink && rpath="$compile_rpath$rpath" + for libdir in $rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + func_replace_sysroot "$libdir" + libdir=$func_replace_sysroot_result + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + func_append dep_rpath " $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) func_append perm_rpath " $libdir" ;; + esac + fi + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval "dep_rpath=\"$hardcode_libdir_flag_spec\"" + fi + if test -n "$runpath_var" && test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + func_append rpath "$dir:" + done + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" + fi + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" + fi + + shlibpath="$finalize_shlibpath" + test "$opt_mode" != relink && shlibpath="$compile_shlibpath$shlibpath" + if test -n "$shlibpath"; then + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" + fi + + # Get the real and link names of the library. + eval shared_ext=\"$shrext_cmds\" + eval library_names=\"$library_names_spec\" + set dummy $library_names + shift + realname="$1" + shift + + if test -n "$soname_spec"; then + eval soname=\"$soname_spec\" + else + soname="$realname" + fi + if test -z "$dlname"; then + dlname=$soname + fi + + lib="$output_objdir/$realname" + linknames= + for link + do + func_append linknames " $link" + done + + # Use standard objects if they are pic + test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP` + test "X$libobjs" = "X " && libobjs= + + delfiles= + if test -n "$export_symbols" && test -n "$include_expsyms"; then + $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" + export_symbols="$output_objdir/$libname.uexp" + func_append delfiles " $export_symbols" + fi + + orig_export_symbols= + case $host_os in + cygwin* | mingw* | cegcc*) + if test -n "$export_symbols" && test -z "$export_symbols_regex"; then + # exporting using user supplied symfile + if test "x`$SED 1q $export_symbols`" != xEXPORTS; then + # and it's NOT already a .def file. Must figure out + # which of the given symbols are data symbols and tag + # them as such. So, trigger use of export_symbols_cmds. + # export_symbols gets reassigned inside the "prepare + # the list of exported symbols" if statement, so the + # include_expsyms logic still works. + orig_export_symbols="$export_symbols" + export_symbols= + always_export_symbols=yes + fi + fi + ;; + esac + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then + func_verbose "generating symbol list for \`$libname.la'" + export_symbols="$output_objdir/$libname.exp" + $opt_dry_run || $RM $export_symbols + cmds=$export_symbols_cmds + save_ifs="$IFS"; IFS='~' + for cmd1 in $cmds; do + IFS="$save_ifs" + # Take the normal branch if the nm_file_list_spec branch + # doesn't work or if tool conversion is not needed. + case $nm_file_list_spec~$to_tool_file_cmd in + *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*) + try_normal_branch=yes + eval cmd=\"$cmd1\" + func_len " $cmd" + len=$func_len_result + ;; + *) + try_normal_branch=no + ;; + esac + if test "$try_normal_branch" = yes \ + && { test "$len" -lt "$max_cmd_len" \ + || test "$max_cmd_len" -le -1; } + then + func_show_eval "$cmd" 'exit $?' + skipped_export=false + elif test -n "$nm_file_list_spec"; then + func_basename "$output" + output_la=$func_basename_result + save_libobjs=$libobjs + save_output=$output + output=${output_objdir}/${output_la}.nm + func_to_tool_file "$output" + libobjs=$nm_file_list_spec$func_to_tool_file_result + func_append delfiles " $output" + func_verbose "creating $NM input file list: $output" + for obj in $save_libobjs; do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" + done > "$output" + eval cmd=\"$cmd1\" + func_show_eval "$cmd" 'exit $?' + output=$save_output + libobjs=$save_libobjs + skipped_export=false + else + # The command line is too long to execute in one step. + func_verbose "using reloadable object file for export list..." + skipped_export=: + # Break out early, otherwise skipped_export may be + # set to false by a later but shorter cmd. + break + fi + done + IFS="$save_ifs" + if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then + func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' + func_show_eval '$MV "${export_symbols}T" "$export_symbols"' + fi + fi + fi + + if test -n "$export_symbols" && test -n "$include_expsyms"; then + tmp_export_symbols="$export_symbols" + test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' + fi + + if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then + # The given exports_symbols file has to be filtered, so filter it. + func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" + # FIXME: $output_objdir/$libname.filter potentially contains lots of + # 's' commands which not all seds can handle. GNU sed should be fine + # though. Also, the filter scales superlinearly with the number of + # global variables. join(1) would be nice here, but unfortunately + # isn't a blessed tool. + $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter + func_append delfiles " $export_symbols $output_objdir/$libname.filter" + export_symbols=$output_objdir/$libname.def + $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols + fi + + tmp_deplibs= + for test_deplib in $deplibs; do + case " $convenience " in + *" $test_deplib "*) ;; + *) + func_append tmp_deplibs " $test_deplib" + ;; + esac + done + deplibs="$tmp_deplibs" + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec" && + test "$compiler_needs_object" = yes && + test -z "$libobjs"; then + # extract the archives, so we have objects to list. + # TODO: could optimize this to just extract one archive. + whole_archive_flag_spec= + fi + if test -n "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + test "X$libobjs" = "X " && libobjs= + else + gentop="$output_objdir/${outputname}x" + func_append generated " $gentop" + + func_extract_archives $gentop $convenience + func_append libobjs " $func_extract_archives_result" + test "X$libobjs" = "X " && libobjs= + fi + fi + + if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then + eval flag=\"$thread_safe_flag_spec\" + func_append linker_flags " $flag" + fi + + # Make a backup of the uninstalled library when relinking + if test "$opt_mode" = relink; then + $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? + fi + + # Do each of the archive commands. + if test "$module" = yes && test -n "$module_cmds" ; then + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then + eval test_cmds=\"$module_expsym_cmds\" + cmds=$module_expsym_cmds + else + eval test_cmds=\"$module_cmds\" + cmds=$module_cmds + fi + else + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then + eval test_cmds=\"$archive_expsym_cmds\" + cmds=$archive_expsym_cmds + else + eval test_cmds=\"$archive_cmds\" + cmds=$archive_cmds + fi + fi + + if test "X$skipped_export" != "X:" && + func_len " $test_cmds" && + len=$func_len_result && + test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then + : + else + # The command line is too long to link in one step, link piecewise + # or, if using GNU ld and skipped_export is not :, use a linker + # script. + + # Save the value of $output and $libobjs because we want to + # use them later. If we have whole_archive_flag_spec, we + # want to use save_libobjs as it was before + # whole_archive_flag_spec was expanded, because we can't + # assume the linker understands whole_archive_flag_spec. + # This may have to be revisited, in case too many + # convenience libraries get linked in and end up exceeding + # the spec. + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + fi + save_output=$output + func_basename "$output" + output_la=$func_basename_result + + # Clear the reloadable object creation command queue and + # initialize k to one. + test_cmds= + concat_cmds= + objlist= + last_robj= + k=1 + + if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then + output=${output_objdir}/${output_la}.lnkscript + func_verbose "creating GNU ld script: $output" + echo 'INPUT (' > $output + for obj in $save_libobjs + do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" >> $output + done + echo ')' >> $output + func_append delfiles " $output" + func_to_tool_file "$output" + output=$func_to_tool_file_result + elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then + output=${output_objdir}/${output_la}.lnk + func_verbose "creating linker input file list: $output" + : > $output + set x $save_libobjs + shift + firstobj= + if test "$compiler_needs_object" = yes; then + firstobj="$1 " + shift + fi + for obj + do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" >> $output + done + func_append delfiles " $output" + func_to_tool_file "$output" + output=$firstobj\"$file_list_spec$func_to_tool_file_result\" + else + if test -n "$save_libobjs"; then + func_verbose "creating reloadable object files..." + output=$output_objdir/$output_la-${k}.$objext + eval test_cmds=\"$reload_cmds\" + func_len " $test_cmds" + len0=$func_len_result + len=$len0 + + # Loop over the list of objects to be linked. + for obj in $save_libobjs + do + func_len " $obj" + func_arith $len + $func_len_result + len=$func_arith_result + if test "X$objlist" = X || + test "$len" -lt "$max_cmd_len"; then + func_append objlist " $obj" + else + # The command $test_cmds is almost too long, add a + # command to the queue. + if test "$k" -eq 1 ; then + # The first file doesn't have a previous command to add. + reload_objs=$objlist + eval concat_cmds=\"$reload_cmds\" + else + # All subsequent reloadable object files will link in + # the last one created. + reload_objs="$objlist $last_robj" + eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\" + fi + last_robj=$output_objdir/$output_la-${k}.$objext + func_arith $k + 1 + k=$func_arith_result + output=$output_objdir/$output_la-${k}.$objext + objlist=" $obj" + func_len " $last_robj" + func_arith $len0 + $func_len_result + len=$func_arith_result + fi + done + # Handle the remaining objects by creating one last + # reloadable object file. All subsequent reloadable object + # files will link in the last one created. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + reload_objs="$objlist $last_robj" + eval concat_cmds=\"\${concat_cmds}$reload_cmds\" + if test -n "$last_robj"; then + eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\" + fi + func_append delfiles " $output" + + else + output= + fi + + if ${skipped_export-false}; then + func_verbose "generating symbol list for \`$libname.la'" + export_symbols="$output_objdir/$libname.exp" + $opt_dry_run || $RM $export_symbols + libobjs=$output + # Append the command to create the export file. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" + if test -n "$last_robj"; then + eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" + fi + fi + + test -n "$save_libobjs" && + func_verbose "creating a temporary reloadable object file: $output" + + # Loop through the commands generated above and execute them. + save_ifs="$IFS"; IFS='~' + for cmd in $concat_cmds; do + IFS="$save_ifs" + $opt_silent || { + func_quote_for_expand "$cmd" + eval "func_echo $func_quote_for_expand_result" + } + $opt_dry_run || eval "$cmd" || { + lt_exit=$? + + # Restore the uninstalled library and exit + if test "$opt_mode" = relink; then + ( cd "$output_objdir" && \ + $RM "${realname}T" && \ + $MV "${realname}U" "$realname" ) + fi + + exit $lt_exit + } + done + IFS="$save_ifs" + + if test -n "$export_symbols_regex" && ${skipped_export-false}; then + func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' + func_show_eval '$MV "${export_symbols}T" "$export_symbols"' + fi + fi + + if ${skipped_export-false}; then + if test -n "$export_symbols" && test -n "$include_expsyms"; then + tmp_export_symbols="$export_symbols" + test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' + fi + + if test -n "$orig_export_symbols"; then + # The given exports_symbols file has to be filtered, so filter it. + func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" + # FIXME: $output_objdir/$libname.filter potentially contains lots of + # 's' commands which not all seds can handle. GNU sed should be fine + # though. Also, the filter scales superlinearly with the number of + # global variables. join(1) would be nice here, but unfortunately + # isn't a blessed tool. + $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter + func_append delfiles " $export_symbols $output_objdir/$libname.filter" + export_symbols=$output_objdir/$libname.def + $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols + fi + fi + + libobjs=$output + # Restore the value of output. + output=$save_output + + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + test "X$libobjs" = "X " && libobjs= + fi + # Expand the library linking commands again to reset the + # value of $libobjs for piecewise linking. + + # Do each of the archive commands. + if test "$module" = yes && test -n "$module_cmds" ; then + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then + cmds=$module_expsym_cmds + else + cmds=$module_cmds + fi + else + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then + cmds=$archive_expsym_cmds + else + cmds=$archive_cmds + fi + fi + fi + + if test -n "$delfiles"; then + # Append the command to remove temporary files to $cmds. + eval cmds=\"\$cmds~\$RM $delfiles\" + fi + + # Add any objects from preloaded convenience libraries + if test -n "$dlprefiles"; then + gentop="$output_objdir/${outputname}x" + func_append generated " $gentop" + + func_extract_archives $gentop $dlprefiles + func_append libobjs " $func_extract_archives_result" + test "X$libobjs" = "X " && libobjs= + fi + + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $opt_silent || { + func_quote_for_expand "$cmd" + eval "func_echo $func_quote_for_expand_result" + } + $opt_dry_run || eval "$cmd" || { + lt_exit=$? + + # Restore the uninstalled library and exit + if test "$opt_mode" = relink; then + ( cd "$output_objdir" && \ + $RM "${realname}T" && \ + $MV "${realname}U" "$realname" ) + fi + + exit $lt_exit + } + done + IFS="$save_ifs" + + # Restore the uninstalled library and exit + if test "$opt_mode" = relink; then + $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? + + if test -n "$convenience"; then + if test -z "$whole_archive_flag_spec"; then + func_show_eval '${RM}r "$gentop"' + fi + fi + + exit $EXIT_SUCCESS + fi + + # Create links to the real library. + for linkname in $linknames; do + if test "$realname" != "$linkname"; then + func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' + fi + done + + # If -module or -export-dynamic was specified, set the dlname. + if test "$module" = yes || test "$export_dynamic" = yes; then + # On all known operating systems, these are identical. + dlname="$soname" + fi + fi + ;; + + obj) + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + func_warning "\`-dlopen' is ignored for objects" + fi + + case " $deplibs" in + *\ -l* | *\ -L*) + func_warning "\`-l' and \`-L' are ignored for objects" ;; + esac + + test -n "$rpath" && \ + func_warning "\`-rpath' is ignored for objects" + + test -n "$xrpath" && \ + func_warning "\`-R' is ignored for objects" + + test -n "$vinfo" && \ + func_warning "\`-version-info' is ignored for objects" + + test -n "$release" && \ + func_warning "\`-release' is ignored for objects" + + case $output in + *.lo) + test -n "$objs$old_deplibs" && \ + func_fatal_error "cannot build library object \`$output' from non-libtool objects" + + libobj=$output + func_lo2o "$libobj" + obj=$func_lo2o_result + ;; + *) + libobj= + obj="$output" + ;; + esac + + # Delete the old objects. + $opt_dry_run || $RM $obj $libobj + + # Objects from convenience libraries. This assumes + # single-version convenience libraries. Whenever we create + # different ones for PIC/non-PIC, this we'll have to duplicate + # the extraction. + reload_conv_objs= + gentop= + # reload_cmds runs $LD directly, so let us get rid of + # -Wl from whole_archive_flag_spec and hope we can get by with + # turning comma into space.. + wl= + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec"; then + eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" + reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'` + else + gentop="$output_objdir/${obj}x" + func_append generated " $gentop" + + func_extract_archives $gentop $convenience + reload_conv_objs="$reload_objs $func_extract_archives_result" + fi + fi + + # If we're not building shared, we need to use non_pic_objs + test "$build_libtool_libs" != yes && libobjs="$non_pic_objects" + + # Create the old-style object. + reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test + + output="$obj" + func_execute_cmds "$reload_cmds" 'exit $?' + + # Exit if we aren't doing a library object file. + if test -z "$libobj"; then + if test -n "$gentop"; then + func_show_eval '${RM}r "$gentop"' + fi + + exit $EXIT_SUCCESS + fi + + if test "$build_libtool_libs" != yes; then + if test -n "$gentop"; then + func_show_eval '${RM}r "$gentop"' + fi + + # Create an invalid libtool object if no PIC, so that we don't + # accidentally link it into a program. + # $show "echo timestamp > $libobj" + # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? + exit $EXIT_SUCCESS + fi + + if test -n "$pic_flag" || test "$pic_mode" != default; then + # Only do commands if we really have different PIC objects. + reload_objs="$libobjs $reload_conv_objs" + output="$libobj" + func_execute_cmds "$reload_cmds" 'exit $?' + fi + + if test -n "$gentop"; then + func_show_eval '${RM}r "$gentop"' + fi + + exit $EXIT_SUCCESS + ;; + + prog) + case $host in + *cygwin*) func_stripname '' '.exe' "$output" + output=$func_stripname_result.exe;; + esac + test -n "$vinfo" && \ + func_warning "\`-version-info' is ignored for programs" + + test -n "$release" && \ + func_warning "\`-release' is ignored for programs" + + test "$preload" = yes \ + && test "$dlopen_support" = unknown \ + && test "$dlopen_self" = unknown \ + && test "$dlopen_self_static" = unknown && \ + func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support." + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library is the System framework + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'` + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'` + ;; + esac + + case $host in + *-*-darwin*) + # Don't allow lazy linking, it breaks C++ global constructors + # But is supposedly fixed on 10.4 or later (yay!). + if test "$tagname" = CXX ; then + case ${MACOSX_DEPLOYMENT_TARGET-10.0} in + 10.[0123]) + func_append compile_command " ${wl}-bind_at_load" + func_append finalize_command " ${wl}-bind_at_load" + ;; + esac + fi + # Time to change all our "foo.ltframework" stuff back to "-framework foo" + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + ;; + esac + + + # move library search paths that coincide with paths to not yet + # installed libraries to the beginning of the library search list + new_libs= + for path in $notinst_path; do + case " $new_libs " in + *" -L$path/$objdir "*) ;; + *) + case " $compile_deplibs " in + *" -L$path/$objdir "*) + func_append new_libs " -L$path/$objdir" ;; + esac + ;; + esac + done + for deplib in $compile_deplibs; do + case $deplib in + -L*) + case " $new_libs " in + *" $deplib "*) ;; + *) func_append new_libs " $deplib" ;; + esac + ;; + *) func_append new_libs " $deplib" ;; + esac + done + compile_deplibs="$new_libs" + + + func_append compile_command " $compile_deplibs" + func_append finalize_command " $finalize_deplibs" + + if test -n "$rpath$xrpath"; then + # If the user specified any rpath flags, then add them. + for libdir in $rpath $xrpath; do + # This is the magic to use -rpath. + case "$finalize_rpath " in + *" $libdir "*) ;; + *) func_append finalize_rpath " $libdir" ;; + esac + done + fi + + # Now hardcode the library paths + rpath= + hardcode_libdirs= + for libdir in $compile_rpath $finalize_rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + func_append rpath " $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) func_append perm_rpath " $libdir" ;; + esac + fi + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'` + case :$dllsearchpath: in + *":$libdir:"*) ;; + ::) dllsearchpath=$libdir;; + *) func_append dllsearchpath ":$libdir";; + esac + case :$dllsearchpath: in + *":$testbindir:"*) ;; + ::) dllsearchpath=$testbindir;; + *) func_append dllsearchpath ":$testbindir";; + esac + ;; + esac + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval rpath=\" $hardcode_libdir_flag_spec\" + fi + compile_rpath="$rpath" + + rpath= + hardcode_libdirs= + for libdir in $finalize_rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + func_append rpath " $flag" + fi + elif test -n "$runpath_var"; then + case "$finalize_perm_rpath " in + *" $libdir "*) ;; + *) func_append finalize_perm_rpath " $libdir" ;; + esac + fi + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval rpath=\" $hardcode_libdir_flag_spec\" + fi + finalize_rpath="$rpath" + + if test -n "$libobjs" && test "$build_old_libs" = yes; then + # Transform all the library objects into standard objects. + compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP` + finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP` + fi + + func_generate_dlsyms "$outputname" "@PROGRAM@" "no" + + # template prelinking step + if test -n "$prelink_cmds"; then + func_execute_cmds "$prelink_cmds" 'exit $?' + fi + + wrappers_required=yes + case $host in + *cegcc* | *mingw32ce*) + # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. + wrappers_required=no + ;; + *cygwin* | *mingw* ) + if test "$build_libtool_libs" != yes; then + wrappers_required=no + fi + ;; + *) + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then + wrappers_required=no + fi + ;; + esac + if test "$wrappers_required" = no; then + # Replace the output file specification. + compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'` + link_command="$compile_command$compile_rpath" + + # We have no uninstalled library dependencies, so finalize right now. + exit_status=0 + func_show_eval "$link_command" 'exit_status=$?' + + if test -n "$postlink_cmds"; then + func_to_tool_file "$output" + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` + func_execute_cmds "$postlink_cmds" 'exit $?' + fi + + # Delete the generated files. + if test -f "$output_objdir/${outputname}S.${objext}"; then + func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"' + fi + + exit $exit_status + fi + + if test -n "$compile_shlibpath$finalize_shlibpath"; then + compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" + fi + if test -n "$finalize_shlibpath"; then + finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" + fi + + compile_var= + finalize_var= + if test -n "$runpath_var"; then + if test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + func_append rpath "$dir:" + done + compile_var="$runpath_var=\"$rpath\$$runpath_var\" " + fi + if test -n "$finalize_perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $finalize_perm_rpath; do + func_append rpath "$dir:" + done + finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " + fi + fi + + if test "$no_install" = yes; then + # We don't need to create a wrapper script. + link_command="$compile_var$compile_command$compile_rpath" + # Replace the output file specification. + link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'` + # Delete the old output file. + $opt_dry_run || $RM $output + # Link the executable and exit + func_show_eval "$link_command" 'exit $?' + + if test -n "$postlink_cmds"; then + func_to_tool_file "$output" + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` + func_execute_cmds "$postlink_cmds" 'exit $?' + fi + + exit $EXIT_SUCCESS + fi + + if test "$hardcode_action" = relink; then + # Fast installation is not supported + link_command="$compile_var$compile_command$compile_rpath" + relink_command="$finalize_var$finalize_command$finalize_rpath" + + func_warning "this platform does not like uninstalled shared libraries" + func_warning "\`$output' will be relinked during installation" + else + if test "$fast_install" != no; then + link_command="$finalize_var$compile_command$finalize_rpath" + if test "$fast_install" = yes; then + relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'` + else + # fast_install is set to needless + relink_command= + fi + else + link_command="$compile_var$compile_command$compile_rpath" + relink_command="$finalize_var$finalize_command$finalize_rpath" + fi + fi + + # Replace the output file specification. + link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` + + # Delete the old output files. + $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname + + func_show_eval "$link_command" 'exit $?' + + if test -n "$postlink_cmds"; then + func_to_tool_file "$output_objdir/$outputname" + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` + func_execute_cmds "$postlink_cmds" 'exit $?' + fi + + # Now create the wrapper script. + func_verbose "creating $output" + + # Quote the relink command for shipping. + if test -n "$relink_command"; then + # Preserve any variables that may affect compiler behavior + for var in $variables_saved_for_relink; do + if eval test -z \"\${$var+set}\"; then + relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" + elif eval var_value=\$$var; test -z "$var_value"; then + relink_command="$var=; export $var; $relink_command" + else + func_quote_for_eval "$var_value" + relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" + fi + done + relink_command="(cd `pwd`; $relink_command)" + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` + fi + + # Only actually do things if not in dry run mode. + $opt_dry_run || { + # win32 will think the script is a binary if it has + # a .exe suffix, so we strip it off here. + case $output in + *.exe) func_stripname '' '.exe' "$output" + output=$func_stripname_result ;; + esac + # test for cygwin because mv fails w/o .exe extensions + case $host in + *cygwin*) + exeext=.exe + func_stripname '' '.exe' "$outputname" + outputname=$func_stripname_result ;; + *) exeext= ;; + esac + case $host in + *cygwin* | *mingw* ) + func_dirname_and_basename "$output" "" "." + output_name=$func_basename_result + output_path=$func_dirname_result + cwrappersource="$output_path/$objdir/lt-$output_name.c" + cwrapper="$output_path/$output_name.exe" + $RM $cwrappersource $cwrapper + trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 + + func_emit_cwrapperexe_src > $cwrappersource + + # The wrapper executable is built using the $host compiler, + # because it contains $host paths and files. If cross- + # compiling, it, like the target executable, must be + # executed on the $host or under an emulation environment. + $opt_dry_run || { + $LTCC $LTCFLAGS -o $cwrapper $cwrappersource + $STRIP $cwrapper + } + + # Now, create the wrapper script for func_source use: + func_ltwrapper_scriptname $cwrapper + $RM $func_ltwrapper_scriptname_result + trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15 + $opt_dry_run || { + # note: this script will not be executed, so do not chmod. + if test "x$build" = "x$host" ; then + $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result + else + func_emit_wrapper no > $func_ltwrapper_scriptname_result + fi + } + ;; + * ) + $RM $output + trap "$RM $output; exit $EXIT_FAILURE" 1 2 15 + + func_emit_wrapper no > $output + chmod +x $output + ;; + esac + } + exit $EXIT_SUCCESS + ;; + esac + + # See if we need to build an old-fashioned archive. + for oldlib in $oldlibs; do + + if test "$build_libtool_libs" = convenience; then + oldobjs="$libobjs_save $symfileobj" + addlibs="$convenience" + build_libtool_libs=no + else + if test "$build_libtool_libs" = module; then + oldobjs="$libobjs_save" + build_libtool_libs=no + else + oldobjs="$old_deplibs $non_pic_objects" + if test "$preload" = yes && test -f "$symfileobj"; then + func_append oldobjs " $symfileobj" + fi + fi + addlibs="$old_convenience" + fi + + if test -n "$addlibs"; then + gentop="$output_objdir/${outputname}x" + func_append generated " $gentop" + + func_extract_archives $gentop $addlibs + func_append oldobjs " $func_extract_archives_result" + fi + + # Do each command in the archive commands. + if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then + cmds=$old_archive_from_new_cmds + else + + # Add any objects from preloaded convenience libraries + if test -n "$dlprefiles"; then + gentop="$output_objdir/${outputname}x" + func_append generated " $gentop" + + func_extract_archives $gentop $dlprefiles + func_append oldobjs " $func_extract_archives_result" + fi + + # POSIX demands no paths to be encoded in archives. We have + # to avoid creating archives with duplicate basenames if we + # might have to extract them afterwards, e.g., when creating a + # static archive out of a convenience library, or when linking + # the entirety of a libtool archive into another (currently + # not supported by libtool). + if (for obj in $oldobjs + do + func_basename "$obj" + $ECHO "$func_basename_result" + done | sort | sort -uc >/dev/null 2>&1); then + : + else + echo "copying selected object files to avoid basename conflicts..." + gentop="$output_objdir/${outputname}x" + func_append generated " $gentop" + func_mkdir_p "$gentop" + save_oldobjs=$oldobjs + oldobjs= + counter=1 + for obj in $save_oldobjs + do + func_basename "$obj" + objbase="$func_basename_result" + case " $oldobjs " in + " ") oldobjs=$obj ;; + *[\ /]"$objbase "*) + while :; do + # Make sure we don't pick an alternate name that also + # overlaps. + newobj=lt$counter-$objbase + func_arith $counter + 1 + counter=$func_arith_result + case " $oldobjs " in + *[\ /]"$newobj "*) ;; + *) if test ! -f "$gentop/$newobj"; then break; fi ;; + esac + done + func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" + func_append oldobjs " $gentop/$newobj" + ;; + *) func_append oldobjs " $obj" ;; + esac + done + fi + func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 + tool_oldlib=$func_to_tool_file_result + eval cmds=\"$old_archive_cmds\" + + func_len " $cmds" + len=$func_len_result + if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then + cmds=$old_archive_cmds + elif test -n "$archiver_list_spec"; then + func_verbose "using command file archive linking..." + for obj in $oldobjs + do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" + done > $output_objdir/$libname.libcmd + func_to_tool_file "$output_objdir/$libname.libcmd" + oldobjs=" $archiver_list_spec$func_to_tool_file_result" + cmds=$old_archive_cmds + else + # the command line is too long to link in one step, link in parts + func_verbose "using piecewise archive linking..." + save_RANLIB=$RANLIB + RANLIB=: + objlist= + concat_cmds= + save_oldobjs=$oldobjs + oldobjs= + # Is there a better way of finding the last object in the list? + for obj in $save_oldobjs + do + last_oldobj=$obj + done + eval test_cmds=\"$old_archive_cmds\" + func_len " $test_cmds" + len0=$func_len_result + len=$len0 + for obj in $save_oldobjs + do + func_len " $obj" + func_arith $len + $func_len_result + len=$func_arith_result + func_append objlist " $obj" + if test "$len" -lt "$max_cmd_len"; then + : + else + # the above command should be used before it gets too long + oldobjs=$objlist + if test "$obj" = "$last_oldobj" ; then + RANLIB=$save_RANLIB + fi + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" + objlist= + len=$len0 + fi + done + RANLIB=$save_RANLIB + oldobjs=$objlist + if test "X$oldobjs" = "X" ; then + eval cmds=\"\$concat_cmds\" + else + eval cmds=\"\$concat_cmds~\$old_archive_cmds\" + fi + fi + fi + func_execute_cmds "$cmds" 'exit $?' + done + + test -n "$generated" && \ + func_show_eval "${RM}r$generated" + + # Now create the libtool archive. + case $output in + *.la) + old_library= + test "$build_old_libs" = yes && old_library="$libname.$libext" + func_verbose "creating $output" + + # Preserve any variables that may affect compiler behavior + for var in $variables_saved_for_relink; do + if eval test -z \"\${$var+set}\"; then + relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" + elif eval var_value=\$$var; test -z "$var_value"; then + relink_command="$var=; export $var; $relink_command" + else + func_quote_for_eval "$var_value" + relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" + fi + done + # Quote the link command for shipping. + relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` + if test "$hardcode_automatic" = yes ; then + relink_command= + fi + + # Only create the output if not a dry run. + $opt_dry_run || { + for installed in no yes; do + if test "$installed" = yes; then + if test -z "$install_libdir"; then + break + fi + output="$output_objdir/$outputname"i + # Replace all uninstalled libtool libraries with the installed ones + newdependency_libs= + for deplib in $dependency_libs; do + case $deplib in + *.la) + func_basename "$deplib" + name="$func_basename_result" + func_resolve_sysroot "$deplib" + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result` + test -z "$libdir" && \ + func_fatal_error "\`$deplib' is not a valid libtool archive" + func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name" + ;; + -L*) + func_stripname -L '' "$deplib" + func_replace_sysroot "$func_stripname_result" + func_append newdependency_libs " -L$func_replace_sysroot_result" + ;; + -R*) + func_stripname -R '' "$deplib" + func_replace_sysroot "$func_stripname_result" + func_append newdependency_libs " -R$func_replace_sysroot_result" + ;; + *) func_append newdependency_libs " $deplib" ;; + esac + done + dependency_libs="$newdependency_libs" + newdlfiles= + + for lib in $dlfiles; do + case $lib in + *.la) + func_basename "$lib" + name="$func_basename_result" + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + test -z "$libdir" && \ + func_fatal_error "\`$lib' is not a valid libtool archive" + func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name" + ;; + *) func_append newdlfiles " $lib" ;; + esac + done + dlfiles="$newdlfiles" + newdlprefiles= + for lib in $dlprefiles; do + case $lib in + *.la) + # Only pass preopened files to the pseudo-archive (for + # eventual linking with the app. that links it) if we + # didn't already link the preopened objects directly into + # the library: + func_basename "$lib" + name="$func_basename_result" + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + test -z "$libdir" && \ + func_fatal_error "\`$lib' is not a valid libtool archive" + func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name" + ;; + esac + done + dlprefiles="$newdlprefiles" + else + newdlfiles= + for lib in $dlfiles; do + case $lib in + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; + *) abs=`pwd`"/$lib" ;; + esac + func_append newdlfiles " $abs" + done + dlfiles="$newdlfiles" + newdlprefiles= + for lib in $dlprefiles; do + case $lib in + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; + *) abs=`pwd`"/$lib" ;; + esac + func_append newdlprefiles " $abs" + done + dlprefiles="$newdlprefiles" + fi + $RM $output + # place dlname in correct position for cygwin + # In fact, it would be nice if we could use this code for all target + # systems that can't hard-code library paths into their executables + # and that have no shared library path variable independent of PATH, + # but it turns out we can't easily determine that from inspecting + # libtool variables, so we have to hard-code the OSs to which it + # applies here; at the moment, that means platforms that use the PE + # object format with DLL files. See the long comment at the top of + # tests/bindir.at for full details. + tdlname=$dlname + case $host,$output,$installed,$module,$dlname in + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) + # If a -bindir argument was supplied, place the dll there. + if test "x$bindir" != x ; + then + func_relative_path "$install_libdir" "$bindir" + tdlname=$func_relative_path_result$dlname + else + # Otherwise fall back on heuristic. + tdlname=../bin/$dlname + fi + ;; + esac + $ECHO > $output "\ +# $outputname - a libtool library file +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='$tdlname' + +# Names of this library. +library_names='$library_names' + +# The name of the static archive. +old_library='$old_library' + +# Linker flags that can not go in dependency_libs. +inherited_linker_flags='$new_inherited_linker_flags' + +# Libraries that this one depends upon. +dependency_libs='$dependency_libs' + +# Names of additional weak libraries provided by this library +weak_library_names='$weak_libs' + +# Version information for $libname. +current=$current +age=$age +revision=$revision + +# Is this an already installed library? +installed=$installed + +# Should we warn about portability when linking against -modules? +shouldnotlink=$module + +# Files to dlopen/dlpreopen +dlopen='$dlfiles' +dlpreopen='$dlprefiles' + +# Directory that this library needs to be installed in: +libdir='$install_libdir'" + if test "$installed" = no && test "$need_relink" = yes; then + $ECHO >> $output "\ +relink_command=\"$relink_command\"" + fi + done + } + + # Do a symbolic link so that the libtool archive can be found in + # LD_LIBRARY_PATH before the program is installed. + func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' + ;; + esac + exit $EXIT_SUCCESS +} + +{ test "$opt_mode" = link || test "$opt_mode" = relink; } && + func_mode_link ${1+"$@"} + + +# func_mode_uninstall arg... +func_mode_uninstall () +{ + $opt_debug + RM="$nonopt" + files= + rmforce= + exit_status=0 + + # This variable tells wrapper scripts just to set variables rather + # than running their programs. + libtool_install_magic="$magic" + + for arg + do + case $arg in + -f) func_append RM " $arg"; rmforce=yes ;; + -*) func_append RM " $arg" ;; + *) func_append files " $arg" ;; + esac + done + + test -z "$RM" && \ + func_fatal_help "you must specify an RM program" + + rmdirs= + + for file in $files; do + func_dirname "$file" "" "." + dir="$func_dirname_result" + if test "X$dir" = X.; then + odir="$objdir" + else + odir="$dir/$objdir" + fi + func_basename "$file" + name="$func_basename_result" + test "$opt_mode" = uninstall && odir="$dir" + + # Remember odir for removal later, being careful to avoid duplicates + if test "$opt_mode" = clean; then + case " $rmdirs " in + *" $odir "*) ;; + *) func_append rmdirs " $odir" ;; + esac + fi + + # Don't error if the file doesn't exist and rm -f was used. + if { test -L "$file"; } >/dev/null 2>&1 || + { test -h "$file"; } >/dev/null 2>&1 || + test -f "$file"; then + : + elif test -d "$file"; then + exit_status=1 + continue + elif test "$rmforce" = yes; then + continue + fi + + rmfiles="$file" + + case $name in + *.la) + # Possibly a libtool archive, so verify it. + if func_lalib_p "$file"; then + func_source $dir/$name + + # Delete the libtool libraries and symlinks. + for n in $library_names; do + func_append rmfiles " $odir/$n" + done + test -n "$old_library" && func_append rmfiles " $odir/$old_library" + + case "$opt_mode" in + clean) + case " $library_names " in + *" $dlname "*) ;; + *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;; + esac + test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i" + ;; + uninstall) + if test -n "$library_names"; then + # Do each command in the postuninstall commands. + func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' + fi + + if test -n "$old_library"; then + # Do each command in the old_postuninstall commands. + func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' + fi + # FIXME: should reinstall the best remaining shared library. + ;; + esac + fi + ;; + + *.lo) + # Possibly a libtool object, so verify it. + if func_lalib_p "$file"; then + + # Read the .lo file + func_source $dir/$name + + # Add PIC object to the list of files to remove. + if test -n "$pic_object" && + test "$pic_object" != none; then + func_append rmfiles " $dir/$pic_object" + fi + + # Add non-PIC object to the list of files to remove. + if test -n "$non_pic_object" && + test "$non_pic_object" != none; then + func_append rmfiles " $dir/$non_pic_object" + fi + fi + ;; + + *) + if test "$opt_mode" = clean ; then + noexename=$name + case $file in + *.exe) + func_stripname '' '.exe' "$file" + file=$func_stripname_result + func_stripname '' '.exe' "$name" + noexename=$func_stripname_result + # $file with .exe has already been added to rmfiles, + # add $file without .exe + func_append rmfiles " $file" + ;; + esac + # Do a test to see if this is a libtool program. + if func_ltwrapper_p "$file"; then + if func_ltwrapper_executable_p "$file"; then + func_ltwrapper_scriptname "$file" + relink_command= + func_source $func_ltwrapper_scriptname_result + func_append rmfiles " $func_ltwrapper_scriptname_result" + else + relink_command= + func_source $dir/$noexename + fi + + # note $name still contains .exe if it was in $file originally + # as does the version of $file that was added into $rmfiles + func_append rmfiles " $odir/$name $odir/${name}S.${objext}" + if test "$fast_install" = yes && test -n "$relink_command"; then + func_append rmfiles " $odir/lt-$name" + fi + if test "X$noexename" != "X$name" ; then + func_append rmfiles " $odir/lt-${noexename}.c" + fi + fi + fi + ;; + esac + func_show_eval "$RM $rmfiles" 'exit_status=1' + done + + # Try to remove the ${objdir}s in the directories where we deleted files + for dir in $rmdirs; do + if test -d "$dir"; then + func_show_eval "rmdir $dir >/dev/null 2>&1" + fi + done + + exit $exit_status +} + +{ test "$opt_mode" = uninstall || test "$opt_mode" = clean; } && + func_mode_uninstall ${1+"$@"} + +test -z "$opt_mode" && { + help="$generic_help" + func_fatal_help "you must specify a MODE" +} + +test -z "$exec_cmd" && \ + func_fatal_help "invalid operation mode \`$opt_mode'" + +if test -n "$exec_cmd"; then + eval exec "$exec_cmd" + exit $EXIT_FAILURE +fi + +exit $exit_status + + +# The TAGs below are defined such that we never get into a situation +# in which we disable both kinds of libraries. Given conflicting +# choices, we go for a static library, that is the most portable, +# since we can't tell whether shared libraries were disabled because +# the user asked for that or because the platform doesn't support +# them. This is particularly important on AIX, because we don't +# support having both static and shared libraries enabled at the same +# time on that platform, so we default to a shared-only configuration. +# If a disable-shared tag is given, we'll fallback to a static-only +# configuration. But we'll never go from static-only to shared-only. + +# ### BEGIN LIBTOOL TAG CONFIG: disable-shared +build_libtool_libs=no +build_old_libs=yes +# ### END LIBTOOL TAG CONFIG: disable-shared + +# ### BEGIN LIBTOOL TAG CONFIG: disable-static +build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` +# ### END LIBTOOL TAG CONFIG: disable-static + +# Local Variables: +# mode:shell-script +# sh-indentation:2 +# End: +# vi:sw=2 + diff --git a/tizen/distrib/remote/common/spice-common/build-aux/missing b/tizen/distrib/remote/common/spice-common/build-aux/missing new file mode 100644 index 0000000..cdea514 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/build-aux/missing @@ -0,0 +1,215 @@ +#! /bin/sh +# Common wrapper for a few potentially missing GNU programs. + +scriptversion=2012-06-26.16; # UTC + +# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. + +# 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, 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/>. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +if test $# -eq 0; then + echo 1>&2 "Try '$0 --help' for more information" + exit 1 +fi + +case $1 in + + --is-lightweight) + # Used by our autoconf macros to check whether the available missing + # script is modern enough. + exit 0 + ;; + + --run) + # Back-compat with the calling convention used by older automake. + shift + ;; + + -h|--h|--he|--hel|--help) + echo "\ +$0 [OPTION]... PROGRAM [ARGUMENT]... + +Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due +to PROGRAM being missing or too old. + +Options: + -h, --help display this help and exit + -v, --version output version information and exit + +Supported PROGRAM values: + aclocal autoconf autoheader autom4te automake makeinfo + bison yacc flex lex help2man + +Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and +'g' are ignored when checking the name. + +Send bug reports to <bug-automake@gnu.org>." + exit $? + ;; + + -v|--v|--ve|--ver|--vers|--versi|--versio|--version) + echo "missing $scriptversion (GNU Automake)" + exit $? + ;; + + -*) + echo 1>&2 "$0: unknown '$1' option" + echo 1>&2 "Try '$0 --help' for more information" + exit 1 + ;; + +esac + +# Run the given program, remember its exit status. +"$@"; st=$? + +# If it succeeded, we are done. +test $st -eq 0 && exit 0 + +# Also exit now if we it failed (or wasn't found), and '--version' was +# passed; such an option is passed most likely to detect whether the +# program is present and works. +case $2 in --version|--help) exit $st;; esac + +# Exit code 63 means version mismatch. This often happens when the user +# tries to use an ancient version of a tool on a file that requires a +# minimum version. +if test $st -eq 63; then + msg="probably too old" +elif test $st -eq 127; then + # Program was missing. + msg="missing on your system" +else + # Program was found and executed, but failed. Give up. + exit $st +fi + +perl_URL=http://www.perl.org/ +flex_URL=http://flex.sourceforge.net/ +gnu_software_URL=http://www.gnu.org/software + +program_details () +{ + case $1 in + aclocal|automake) + echo "The '$1' program is part of the GNU Automake package:" + echo "<$gnu_software_URL/automake>" + echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" + echo "<$gnu_software_URL/autoconf>" + echo "<$gnu_software_URL/m4/>" + echo "<$perl_URL>" + ;; + autoconf|autom4te|autoheader) + echo "The '$1' program is part of the GNU Autoconf package:" + echo "<$gnu_software_URL/autoconf/>" + echo "It also requires GNU m4 and Perl in order to run:" + echo "<$gnu_software_URL/m4/>" + echo "<$perl_URL>" + ;; + esac +} + +give_advice () +{ + # Normalize program name to check for. + normalized_program=`echo "$1" | sed ' + s/^gnu-//; t + s/^gnu//; t + s/^g//; t'` + + printf '%s\n' "'$1' is $msg." + + configure_deps="'configure.ac' or m4 files included by 'configure.ac'" + case $normalized_program in + autoconf*) + echo "You should only need it if you modified 'configure.ac'," + echo "or m4 files included by it." + program_details 'autoconf' + ;; + autoheader*) + echo "You should only need it if you modified 'acconfig.h' or" + echo "$configure_deps." + program_details 'autoheader' + ;; + automake*) + echo "You should only need it if you modified 'Makefile.am' or" + echo "$configure_deps." + program_details 'automake' + ;; + aclocal*) + echo "You should only need it if you modified 'acinclude.m4' or" + echo "$configure_deps." + program_details 'aclocal' + ;; + autom4te*) + echo "You might have modified some maintainer files that require" + echo "the 'automa4te' program to be rebuilt." + program_details 'autom4te' + ;; + bison*|yacc*) + echo "You should only need it if you modified a '.y' file." + echo "You may want to install the GNU Bison package:" + echo "<$gnu_software_URL/bison/>" + ;; + lex*|flex*) + echo "You should only need it if you modified a '.l' file." + echo "You may want to install the Fast Lexical Analyzer package:" + echo "<$flex_URL>" + ;; + help2man*) + echo "You should only need it if you modified a dependency" \ + "of a man page." + echo "You may want to install the GNU Help2man package:" + echo "<$gnu_software_URL/help2man/>" + ;; + makeinfo*) + echo "You should only need it if you modified a '.texi' file, or" + echo "any other file indirectly affecting the aspect of the manual." + echo "You might want to install the Texinfo package:" + echo "<$gnu_software_URL/texinfo/>" + echo "The spurious makeinfo call might also be the consequence of" + echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" + echo "want to install GNU make:" + echo "<$gnu_software_URL/make/>" + ;; + *) + echo "You might have modified some files without having the proper" + echo "tools for further handling them. Check the 'README' file, it" + echo "often tells you about the needed prerequisites for installing" + echo "this package. You may also peek at any GNU archive site, in" + echo "case some other package contains this missing '$1' program." + ;; + esac +} + +give_advice "$1" | sed -e '1s/^/WARNING: /' \ + -e '2,$s/^/ /' >&2 + +# Propagate the correct exit status (expected to be 127 for a program +# not found, 63 for a program that failed due to version mismatch). +exit $st + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/tizen/distrib/remote/common/spice-common/common/Makefile.am b/tizen/distrib/remote/common/spice-common/common/Makefile.am new file mode 100644 index 0000000..45568c6 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/Makefile.am @@ -0,0 +1,149 @@ +NULL = + +# Avoid need for python(pyparsing) by end users +CLIENT_MARSHALLERS = \ + $(srcdir)/generated_client_demarshallers.c \ + $(srcdir)/generated_client_demarshallers1.c \ + $(srcdir)/generated_client_marshallers.c \ + $(srcdir)/generated_client_marshallers1.c \ + $(NULL) + +SERVER_MARSHALLERS = \ + $(srcdir)/generated_server_demarshallers.c \ + $(srcdir)/generated_server_marshallers.c \ + $(srcdir)/generated_server_marshallers.h \ + $(NULL) + +BUILT_SOURCES = $(CLIENT_MARSHALLERS) $(SERVER_MARSHALLERS) $(top_srcdir)/spice-protocol/spice/enums.h + +noinst_LTLIBRARIES = libspice-common.la libspice-common-server.la libspice-common-client.la +libspice_common_la_SOURCES = \ + backtrace.c \ + backtrace.h \ + bitops.h \ + canvas_utils.c \ + canvas_utils.h \ + client_demarshallers.h \ + client_marshallers.h \ + draw.h \ + lines.c \ + lines.h \ + log.c \ + log.h \ + lz.c \ + lz.h \ + lz_common.h \ + lz_config.h \ + macros.h \ + marshaller.c \ + marshaller.h \ + mem.c \ + mem.h \ + messages.h \ + mutex.h \ + pixman_utils.c \ + pixman_utils.h \ + quic.c \ + quic.h \ + quic_config.h \ + rect.h \ + region.c \ + region.h \ + ring.h \ + rop3.c \ + rop3.h \ + spice_common.h \ + ssl_verify.c \ + ssl_verify.h \ + verify.h \ + $(NULL) + +libspice_common_client_la_SOURCES = \ + $(CLIENT_MARSHALLERS) \ + $(NULL) + +libspice_common_server_la_SOURCES = \ + $(SERVER_MARSHALLERS) \ + $(NULL) + +libspice_common_server_la_CFLAGS = -DFIXME_SERVER_SMARTCARD + +if SUPPORT_GL +libspice_common_la_SOURCES += \ + gl_utils.h \ + glc.c \ + glc.h \ + ogl_ctx.c \ + ogl_ctx.h \ + $(NULL) +endif + +AM_CPPFLAGS = \ + $(GL_CFLAGS) \ + $(PIXMAN_CFLAGS) \ + $(PROTOCOL_CFLAGS) \ + $(SMARTCARD_CFLAGS) \ + $(VISIBILITY_HIDDEN_CFLAGS) \ + $(WARN_CFLAGS) \ + -std=gnu99 \ + $(NULL) + +MARSHALLERS_DEPS = \ + $(top_srcdir)/python_modules/__init__.py \ + $(top_srcdir)/python_modules/codegen.py \ + $(top_srcdir)/python_modules/demarshal.py \ + $(top_srcdir)/python_modules/marshal.py \ + $(top_srcdir)/python_modules/ptypes.py \ + $(top_srcdir)/python_modules/spice_parser.py \ + $(top_srcdir)/spice_codegen.py \ + $(NULL) + +# Note despite being autogenerated these are not part of CLEANFILES, they are +# actually a part of EXTRA_DIST, to avoid the need for pyparser by end users +generated_client_demarshallers.c: $(top_srcdir)/spice.proto $(MARSHALLERS_DEPS) + $(AM_V_GEN)$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-demarshallers --client --include messages.h $< $@ >/dev/null + +generated_client_demarshallers1.c: $(top_srcdir)/spice1.proto $(MARSHALLERS_DEPS) + $(AM_V_GEN)$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-demarshallers --client --include messages.h --prefix 1 --ptrsize 8 $< $@ >/dev/null + +generated_client_marshallers.c: $(top_srcdir)/spice.proto $(MARSHALLERS_DEPS) + $(AM_V_GEN)$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-marshallers -P --include messages.h --include client_marshallers.h --client $< $@ >/dev/null + +generated_client_marshallers1.c: $(top_srcdir)/spice1.proto $(MARSHALLERS_DEPS) + $(AM_V_GEN)$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-marshallers -P --include messages.h --include client_marshallers.h --client --prefix 1 --ptrsize 8 $< $@ >/dev/null + +generated_server_demarshallers.c: $(top_srcdir)/spice.proto $(MARSHALLERS_DEPS) + $(AM_V_GEN)$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-demarshallers --server --include messages.h $< $@ >/dev/null + +STRUCTS = -M String -M Rect -M Point -M DisplayBase -M Fill -M Opaque -M Copy -M Blend -M Blackness -M Whiteness -M Invers -M Rop3 -M Stroke -M Text -M Transparent -M AlphaBlend -M Composite +generated_server_marshallers.c: $(top_srcdir)/spice.proto $(MARSHALLERS_DEPS) + $(AM_V_GEN)$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-marshallers $(STRUCTS) --server --include messages.h $< $@ >/dev/null + +generated_server_marshallers.h: $(top_srcdir)/spice.proto $(MARSHALLERS_DEPS) + $(AM_V_GEN)$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-marshallers $(STRUCTS) --server --include messages.h -H $< $@ >/dev/null + +# this is going to upset automake distcheck, since we try to write to +# readonly srcdir. To limit the fail chances, rebuild automatically +# enums.h only if the spice.proto has changed. +$(top_srcdir)/spice-protocol/spice/enums.h: $(top_srcdir)/spice.proto # $(MARSHALLERS_DEPS) + $(AM_V_GEN)$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-enums $< $@ >/dev/null + +EXTRA_DIST = \ + $(CLIENT_MARSHALLERS) \ + $(SERVER_MARSHALLERS) \ + canvas_base.c \ + canvas_base.h \ + gdi_canvas.c \ + gdi_canvas.h \ + gl_canvas.c \ + gl_canvas.h \ + lz_compress_tmpl.c \ + lz_decompress_tmpl.c \ + quic_family_tmpl.c \ + quic_rgb_tmpl.c \ + quic_tmpl.c \ + sw_canvas.c \ + sw_canvas.h \ + $(NULL) + +-include $(top_srcdir)/git.mk diff --git a/tizen/distrib/remote/common/spice-common/common/Makefile.in b/tizen/distrib/remote/common/spice-common/common/Makefile.in new file mode 100644 index 0000000..a4d80ca --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/Makefile.in @@ -0,0 +1,774 @@ +# Makefile.in generated by automake 1.13.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2012 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@ + +VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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@ +@SUPPORT_GL_TRUE@am__append_1 = \ +@SUPPORT_GL_TRUE@ gl_utils.h \ +@SUPPORT_GL_TRUE@ glc.c \ +@SUPPORT_GL_TRUE@ glc.h \ +@SUPPORT_GL_TRUE@ ogl_ctx.c \ +@SUPPORT_GL_TRUE@ ogl_ctx.h \ +@SUPPORT_GL_TRUE@ $(NULL) + +subdir = common +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ + $(top_srcdir)/build-aux/depcomp +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.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 = +LTLIBRARIES = $(noinst_LTLIBRARIES) +libspice_common_client_la_LIBADD = +am__objects_1 = +am__objects_2 = generated_client_demarshallers.lo \ + generated_client_demarshallers1.lo \ + generated_client_marshallers.lo \ + generated_client_marshallers1.lo $(am__objects_1) +am_libspice_common_client_la_OBJECTS = $(am__objects_2) \ + $(am__objects_1) +libspice_common_client_la_OBJECTS = \ + $(am_libspice_common_client_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +libspice_common_server_la_LIBADD = +am__objects_3 = \ + libspice_common_server_la-generated_server_demarshallers.lo \ + libspice_common_server_la-generated_server_marshallers.lo \ + $(am__objects_1) +am_libspice_common_server_la_OBJECTS = $(am__objects_3) \ + $(am__objects_1) +libspice_common_server_la_OBJECTS = \ + $(am_libspice_common_server_la_OBJECTS) +libspice_common_server_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(libspice_common_server_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ +libspice_common_la_LIBADD = +am__libspice_common_la_SOURCES_DIST = backtrace.c backtrace.h bitops.h \ + canvas_utils.c canvas_utils.h client_demarshallers.h \ + client_marshallers.h draw.h lines.c lines.h log.c log.h lz.c \ + lz.h lz_common.h lz_config.h macros.h marshaller.c \ + marshaller.h mem.c mem.h messages.h mutex.h pixman_utils.c \ + pixman_utils.h quic.c quic.h quic_config.h rect.h region.c \ + region.h ring.h rop3.c rop3.h spice_common.h ssl_verify.c \ + ssl_verify.h verify.h gl_utils.h glc.c glc.h ogl_ctx.c \ + ogl_ctx.h +@SUPPORT_GL_TRUE@am__objects_4 = glc.lo ogl_ctx.lo $(am__objects_1) +am_libspice_common_la_OBJECTS = backtrace.lo canvas_utils.lo lines.lo \ + log.lo lz.lo marshaller.lo mem.lo pixman_utils.lo quic.lo \ + region.lo rop3.lo ssl_verify.lo $(am__objects_1) \ + $(am__objects_4) +libspice_common_la_OBJECTS = $(am_libspice_common_la_OBJECTS) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libspice_common_client_la_SOURCES) \ + $(libspice_common_server_la_SOURCES) \ + $(libspice_common_la_SOURCES) +DIST_SOURCES = $(libspice_common_client_la_SOURCES) \ + $(libspice_common_server_la_SOURCES) \ + $(am__libspice_common_la_SOURCES_DIST) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GL_CFLAGS = @GL_CFLAGS@ +GL_LIBS = @GL_LIBS@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ +PIXMAN_LIBS = @PIXMAN_LIBS@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PROTOCOL_CFLAGS = @PROTOCOL_CFLAGS@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SMARTCARD_CFLAGS = @SMARTCARD_CFLAGS@ +SMARTCARD_LIBS = @SMARTCARD_LIBS@ +STRIP = @STRIP@ +VERSION = @VERSION@ +XMKMF = @XMKMF@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +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@ +subdirs = @subdirs@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +NULL = + +# Avoid need for python(pyparsing) by end users +CLIENT_MARSHALLERS = \ + $(srcdir)/generated_client_demarshallers.c \ + $(srcdir)/generated_client_demarshallers1.c \ + $(srcdir)/generated_client_marshallers.c \ + $(srcdir)/generated_client_marshallers1.c \ + $(NULL) + +SERVER_MARSHALLERS = \ + $(srcdir)/generated_server_demarshallers.c \ + $(srcdir)/generated_server_marshallers.c \ + $(srcdir)/generated_server_marshallers.h \ + $(NULL) + +BUILT_SOURCES = $(CLIENT_MARSHALLERS) $(SERVER_MARSHALLERS) $(top_srcdir)/spice-protocol/spice/enums.h +noinst_LTLIBRARIES = libspice-common.la libspice-common-server.la libspice-common-client.la +libspice_common_la_SOURCES = backtrace.c backtrace.h bitops.h \ + canvas_utils.c canvas_utils.h client_demarshallers.h \ + client_marshallers.h draw.h lines.c lines.h log.c log.h lz.c \ + lz.h lz_common.h lz_config.h macros.h marshaller.c \ + marshaller.h mem.c mem.h messages.h mutex.h pixman_utils.c \ + pixman_utils.h quic.c quic.h quic_config.h rect.h region.c \ + region.h ring.h rop3.c rop3.h spice_common.h ssl_verify.c \ + ssl_verify.h verify.h $(NULL) $(am__append_1) +libspice_common_client_la_SOURCES = \ + $(CLIENT_MARSHALLERS) \ + $(NULL) + +libspice_common_server_la_SOURCES = \ + $(SERVER_MARSHALLERS) \ + $(NULL) + +libspice_common_server_la_CFLAGS = -DFIXME_SERVER_SMARTCARD +AM_CPPFLAGS = \ + $(GL_CFLAGS) \ + $(PIXMAN_CFLAGS) \ + $(PROTOCOL_CFLAGS) \ + $(SMARTCARD_CFLAGS) \ + $(VISIBILITY_HIDDEN_CFLAGS) \ + $(WARN_CFLAGS) \ + -std=gnu99 \ + $(NULL) + +MARSHALLERS_DEPS = \ + $(top_srcdir)/python_modules/__init__.py \ + $(top_srcdir)/python_modules/codegen.py \ + $(top_srcdir)/python_modules/demarshal.py \ + $(top_srcdir)/python_modules/marshal.py \ + $(top_srcdir)/python_modules/ptypes.py \ + $(top_srcdir)/python_modules/spice_parser.py \ + $(top_srcdir)/spice_codegen.py \ + $(NULL) + +STRUCTS = -M String -M Rect -M Point -M DisplayBase -M Fill -M Opaque -M Copy -M Blend -M Blackness -M Whiteness -M Invers -M Rop3 -M Stroke -M Text -M Transparent -M AlphaBlend -M Composite +EXTRA_DIST = \ + $(CLIENT_MARSHALLERS) \ + $(SERVER_MARSHALLERS) \ + canvas_base.c \ + canvas_base.h \ + gdi_canvas.c \ + gdi_canvas.h \ + gl_canvas.c \ + gl_canvas.h \ + lz_compress_tmpl.c \ + lz_decompress_tmpl.c \ + quic_family_tmpl.c \ + quic_rgb_tmpl.c \ + quic_tmpl.c \ + sw_canvas.c \ + sw_canvas.h \ + $(NULL) + +all: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(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) --foreign common/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign common/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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +clean-noinstLTLIBRARIES: + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) + @list='$(noinst_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } +libspice-common-client.la: $(libspice_common_client_la_OBJECTS) $(libspice_common_client_la_DEPENDENCIES) $(EXTRA_libspice_common_client_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) $(libspice_common_client_la_OBJECTS) $(libspice_common_client_la_LIBADD) $(LIBS) +libspice-common-server.la: $(libspice_common_server_la_OBJECTS) $(libspice_common_server_la_DEPENDENCIES) $(EXTRA_libspice_common_server_la_DEPENDENCIES) + $(AM_V_CCLD)$(libspice_common_server_la_LINK) $(libspice_common_server_la_OBJECTS) $(libspice_common_server_la_LIBADD) $(LIBS) +libspice-common.la: $(libspice_common_la_OBJECTS) $(libspice_common_la_DEPENDENCIES) $(EXTRA_libspice_common_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) $(libspice_common_la_OBJECTS) $(libspice_common_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/backtrace.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/canvas_utils.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/generated_client_demarshallers.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/generated_client_demarshallers1.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/generated_client_marshallers.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/generated_client_marshallers1.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glc.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libspice_common_server_la-generated_server_demarshallers.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libspice_common_server_la-generated_server_marshallers.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lines.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/log.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lz.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/marshaller.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mem.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ogl_ctx.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pixman_utils.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/quic.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/region.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rop3.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ssl_verify.Plo@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +generated_client_demarshallers.lo: $(srcdir)/generated_client_demarshallers.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT generated_client_demarshallers.lo -MD -MP -MF $(DEPDIR)/generated_client_demarshallers.Tpo -c -o generated_client_demarshallers.lo `test -f '$(srcdir)/generated_client_demarshallers.c' || echo '$(srcdir)/'`$(srcdir)/generated_client_demarshallers.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/generated_client_demarshallers.Tpo $(DEPDIR)/generated_client_demarshallers.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/generated_client_demarshallers.c' object='generated_client_demarshallers.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o generated_client_demarshallers.lo `test -f '$(srcdir)/generated_client_demarshallers.c' || echo '$(srcdir)/'`$(srcdir)/generated_client_demarshallers.c + +generated_client_demarshallers1.lo: $(srcdir)/generated_client_demarshallers1.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT generated_client_demarshallers1.lo -MD -MP -MF $(DEPDIR)/generated_client_demarshallers1.Tpo -c -o generated_client_demarshallers1.lo `test -f '$(srcdir)/generated_client_demarshallers1.c' || echo '$(srcdir)/'`$(srcdir)/generated_client_demarshallers1.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/generated_client_demarshallers1.Tpo $(DEPDIR)/generated_client_demarshallers1.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/generated_client_demarshallers1.c' object='generated_client_demarshallers1.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o generated_client_demarshallers1.lo `test -f '$(srcdir)/generated_client_demarshallers1.c' || echo '$(srcdir)/'`$(srcdir)/generated_client_demarshallers1.c + +generated_client_marshallers.lo: $(srcdir)/generated_client_marshallers.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT generated_client_marshallers.lo -MD -MP -MF $(DEPDIR)/generated_client_marshallers.Tpo -c -o generated_client_marshallers.lo `test -f '$(srcdir)/generated_client_marshallers.c' || echo '$(srcdir)/'`$(srcdir)/generated_client_marshallers.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/generated_client_marshallers.Tpo $(DEPDIR)/generated_client_marshallers.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/generated_client_marshallers.c' object='generated_client_marshallers.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o generated_client_marshallers.lo `test -f '$(srcdir)/generated_client_marshallers.c' || echo '$(srcdir)/'`$(srcdir)/generated_client_marshallers.c + +generated_client_marshallers1.lo: $(srcdir)/generated_client_marshallers1.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT generated_client_marshallers1.lo -MD -MP -MF $(DEPDIR)/generated_client_marshallers1.Tpo -c -o generated_client_marshallers1.lo `test -f '$(srcdir)/generated_client_marshallers1.c' || echo '$(srcdir)/'`$(srcdir)/generated_client_marshallers1.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/generated_client_marshallers1.Tpo $(DEPDIR)/generated_client_marshallers1.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/generated_client_marshallers1.c' object='generated_client_marshallers1.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o generated_client_marshallers1.lo `test -f '$(srcdir)/generated_client_marshallers1.c' || echo '$(srcdir)/'`$(srcdir)/generated_client_marshallers1.c + +libspice_common_server_la-generated_server_demarshallers.lo: $(srcdir)/generated_server_demarshallers.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libspice_common_server_la_CFLAGS) $(CFLAGS) -MT libspice_common_server_la-generated_server_demarshallers.lo -MD -MP -MF $(DEPDIR)/libspice_common_server_la-generated_server_demarshallers.Tpo -c -o libspice_common_server_la-generated_server_demarshallers.lo `test -f '$(srcdir)/generated_server_demarshallers.c' || echo '$(srcdir)/'`$(srcdir)/generated_server_demarshallers.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libspice_common_server_la-generated_server_demarshallers.Tpo $(DEPDIR)/libspice_common_server_la-generated_server_demarshallers.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/generated_server_demarshallers.c' object='libspice_common_server_la-generated_server_demarshallers.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libspice_common_server_la_CFLAGS) $(CFLAGS) -c -o libspice_common_server_la-generated_server_demarshallers.lo `test -f '$(srcdir)/generated_server_demarshallers.c' || echo '$(srcdir)/'`$(srcdir)/generated_server_demarshallers.c + +libspice_common_server_la-generated_server_marshallers.lo: $(srcdir)/generated_server_marshallers.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libspice_common_server_la_CFLAGS) $(CFLAGS) -MT libspice_common_server_la-generated_server_marshallers.lo -MD -MP -MF $(DEPDIR)/libspice_common_server_la-generated_server_marshallers.Tpo -c -o libspice_common_server_la-generated_server_marshallers.lo `test -f '$(srcdir)/generated_server_marshallers.c' || echo '$(srcdir)/'`$(srcdir)/generated_server_marshallers.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libspice_common_server_la-generated_server_marshallers.Tpo $(DEPDIR)/libspice_common_server_la-generated_server_marshallers.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/generated_server_marshallers.c' object='libspice_common_server_la-generated_server_marshallers.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libspice_common_server_la_CFLAGS) $(CFLAGS) -c -o libspice_common_server_la-generated_server_marshallers.lo `test -f '$(srcdir)/generated_server_marshallers.c' || echo '$(srcdir)/'`$(srcdir)/generated_server_marshallers.c + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @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: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-am +all-am: Makefile $(LTLIBRARIES) +installdirs: +install: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) 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 "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) +clean: clean-am + +clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: + +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-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.MAKE: all check install install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ + clean-libtool clean-noinstLTLIBRARIES cscopelist-am ctags \ + ctags-am distclean distclean-compile distclean-generic \ + distclean-libtool distclean-tags 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-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am + + +# Note despite being autogenerated these are not part of CLEANFILES, they are +# actually a part of EXTRA_DIST, to avoid the need for pyparser by end users +generated_client_demarshallers.c: $(top_srcdir)/spice.proto $(MARSHALLERS_DEPS) + $(AM_V_GEN)$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-demarshallers --client --include messages.h $< $@ >/dev/null + +generated_client_demarshallers1.c: $(top_srcdir)/spice1.proto $(MARSHALLERS_DEPS) + $(AM_V_GEN)$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-demarshallers --client --include messages.h --prefix 1 --ptrsize 8 $< $@ >/dev/null + +generated_client_marshallers.c: $(top_srcdir)/spice.proto $(MARSHALLERS_DEPS) + $(AM_V_GEN)$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-marshallers -P --include messages.h --include client_marshallers.h --client $< $@ >/dev/null + +generated_client_marshallers1.c: $(top_srcdir)/spice1.proto $(MARSHALLERS_DEPS) + $(AM_V_GEN)$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-marshallers -P --include messages.h --include client_marshallers.h --client --prefix 1 --ptrsize 8 $< $@ >/dev/null + +generated_server_demarshallers.c: $(top_srcdir)/spice.proto $(MARSHALLERS_DEPS) + $(AM_V_GEN)$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-demarshallers --server --include messages.h $< $@ >/dev/null +generated_server_marshallers.c: $(top_srcdir)/spice.proto $(MARSHALLERS_DEPS) + $(AM_V_GEN)$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-marshallers $(STRUCTS) --server --include messages.h $< $@ >/dev/null + +generated_server_marshallers.h: $(top_srcdir)/spice.proto $(MARSHALLERS_DEPS) + $(AM_V_GEN)$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-marshallers $(STRUCTS) --server --include messages.h -H $< $@ >/dev/null + +# this is going to upset automake distcheck, since we try to write to +# readonly srcdir. To limit the fail chances, rebuild automatically +# enums.h only if the spice.proto has changed. +$(top_srcdir)/spice-protocol/spice/enums.h: $(top_srcdir)/spice.proto # $(MARSHALLERS_DEPS) + $(AM_V_GEN)$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-enums $< $@ >/dev/null + +-include $(top_srcdir)/git.mk + +# 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: diff --git a/tizen/distrib/remote/common/spice-common/common/backtrace.c b/tizen/distrib/remote/common/spice-common/common/backtrace.c new file mode 100644 index 0000000..305bbad --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/backtrace.c @@ -0,0 +1,136 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +/* + * Taken from xserver os/backtrace.c: + * Copyright (C) 2008 Red Hat, Inc. + */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <unistd.h> +#include <stdlib.h> +#include <stdio.h> +#include <errno.h> +#include <unistd.h> +#include <sys/types.h> +#ifndef __MINGW32__ +#include <sys/wait.h> +#endif + +#include "spice_common.h" + +#define GSTACK_PATH "/usr/bin/gstack" + +#if HAVE_EXECINFO_H +#include <execinfo.h> + +static void spice_backtrace_backtrace(void) +{ + void *array[100]; + int size; + + size = backtrace(array, sizeof(array)/sizeof(array[0])); + backtrace_symbols_fd(array, size, STDERR_FILENO); +} +#else +static void spice_backtrace_backtrace(void) +{ +} +#endif + +/* XXX perhaps gstack can be available in windows but pipe/waitpid isn't, + * so until it is ported properly just compile it out, we lose the + * backtrace only. */ +#ifndef __MINGW32__ +static int spice_backtrace_gstack(void) +{ + pid_t kidpid; + int pipefd[2]; + + if (pipe(pipefd) != 0) { + return -1; + } + + kidpid = fork(); + + if (kidpid == -1) { + /* ERROR */ + return -1; + } else if (kidpid == 0) { + /* CHILD */ + char parent[16]; + + seteuid(0); + close(STDIN_FILENO); + close(STDOUT_FILENO); + dup2(pipefd[1],STDOUT_FILENO); + close(STDERR_FILENO); + + snprintf(parent, sizeof(parent), "%d", getppid()); + execle(GSTACK_PATH, "gstack", parent, NULL, NULL); + exit(1); + } else { + /* PARENT */ + char btline[256]; + int kidstat; + int bytesread; + int done = 0; + + close(pipefd[1]); + + while (!done) { + bytesread = read(pipefd[0], btline, sizeof(btline) - 1); + + if (bytesread > 0) { + btline[bytesread] = 0; + fprintf(stderr, "%s", btline); + } + else if ((bytesread == 0) || + ((errno != EINTR) && (errno != EAGAIN))) { + done = 1; + } + } + close(pipefd[0]); + waitpid(kidpid, &kidstat, 0); + if (kidstat != 0) + return -1; + } + return 0; +} +#else +static int spice_backtrace_gstack(void) +{ + /* empty failing implementation */ + return -1; +} +#endif + +void spice_backtrace(void) +{ + int ret = -1; + + if (!access(GSTACK_PATH, X_OK)) { + ret = spice_backtrace_gstack(); + } + if (ret != 0) { + spice_backtrace_backtrace(); + } +} diff --git a/tizen/distrib/remote/common/spice-common/common/backtrace.h b/tizen/distrib/remote/common/spice-common/common/backtrace.h new file mode 100644 index 0000000..894c027 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/backtrace.h @@ -0,0 +1,34 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef BACKTRACE_H +#define BACKTRACE_H + +#include <spice/macros.h> + +SPICE_BEGIN_DECLS + +#if defined(WIN32) && !defined(__MINGW32__) +#define spice_backtrace() +#else +void spice_backtrace(void); +#endif + +SPICE_END_DECLS + +#endif // BACKTRACE_H diff --git a/tizen/distrib/remote/common/spice-common/common/bitops.h b/tizen/distrib/remote/common/spice-common/common/bitops.h new file mode 100644 index 0000000..d1cae0c --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/bitops.h @@ -0,0 +1,87 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#ifndef BITOPS_H +#define BITOPS_H + +#include <spice/macros.h> + +SPICE_BEGIN_DECLS + +#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) +static inline int spice_bit_find_msb(unsigned int val) +{ + int ret; + + asm ("bsrl %1,%0\n\t" + "jnz 1f\n\t" + "movl $-1,%0\n" + "1:" + : "=r"(ret) : "r"(val)); + return ret + 1; +} + +#elif defined(WIN32) && !defined(_WIN64) +static INLINE int spice_bit_find_msb(uint32_t val) +{ + uint32_t r; + __asm { + bsr eax, val + jnz found + mov eax, -1 + +found: + mov r, eax + } + return r + 1; +} + +#else +static INLINE int spice_bit_find_msb(unsigned int val) +{ + signed char index = 31; + + if(val == 0) { + return 0; + } + + do { + if(val & 0x80000000) { + break; + } + val <<= 1; + } while(--index >= 0); + + return index+1; +} + +#endif + +static INLINE int spice_bit_next_pow2(unsigned int val) +{ + if ((val & (val - 1)) == 0) { + return val; + } + return 1 << spice_bit_find_msb(val); +} + +SPICE_END_DECLS + +#endif diff --git a/tizen/distrib/remote/common/spice-common/common/canvas_base.c b/tizen/distrib/remote/common/spice-common/common/canvas_base.c new file mode 100644 index 0000000..38a8497 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/canvas_base.c @@ -0,0 +1,3546 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <stdarg.h> +#include <stdlib.h> +#include <setjmp.h> +#include <stdio.h> +#include <math.h> + +#include <spice/macros.h> +#include "log.h" +#include "quic.h" +#include "lz.h" +#include "canvas_base.h" +#include "pixman_utils.h" +#include "canvas_utils.h" +#include "rect.h" +#include "lines.h" +#include "rop3.h" +#include "mem.h" +#include "macros.h" +#include "mutex.h" + +#define ROUND(_x) ((int)floor((_x) + 0.5)) + +#define IS_IMAGE_LOSSY(descriptor) \ + (((descriptor)->type == SPICE_IMAGE_TYPE_JPEG) || \ + ((descriptor)->type == SPICE_IMAGE_TYPE_JPEG_ALPHA)) + + static inline int fix_to_int(SPICE_FIXED28_4 fixed) +{ + int val, rem; + + rem = fixed & 0x0f; + val = fixed >> 4; + if (rem > 8) { + val++; + } + return val; +} + + static inline SPICE_FIXED28_4 int_to_fix(int v) +{ + return v << 4; +} + +static inline double fix_to_double(SPICE_FIXED28_4 fixed) +{ + return (double)(fixed & 0x0f) / 0x0f + (fixed >> 4); +} + +static inline uint16_t rgb_32_to_16_555(uint32_t color) +{ + return + (((color) >> 3) & 0x001f) | + (((color) >> 6) & 0x03e0) | + (((color) >> 9) & 0x7c00); +} +static inline uint16_t rgb_32_to_16_565(uint32_t color) +{ + return + (((color) >> 3) & 0x001f) | + (((color) >> 5) & 0x07e0) | + (((color) >> 8) & 0xf800); +} + +static inline uint32_t canvas_16bpp_to_32bpp(uint32_t color) +{ + uint32_t ret; + + ret = ((color & 0x001f) << 3) | ((color & 0x001c) >> 2); + ret |= ((color & 0x03e0) << 6) | ((color & 0x0380) << 1); + ret |= ((color & 0x7c00) << 9) | ((color & 0x7000) << 4); + + return ret; +} +#if defined(WIN32) && defined(GDI_CANVAS) +static HDC create_compatible_dc() +{ + HDC dc = CreateCompatibleDC(NULL); + + spice_return_val_if_fail(dc != NULL, NULL); + + return dc; +} + +#endif + +typedef struct LzData { + LzUsrContext usr; + LzContext *lz; + LzDecodeUsrData decode_data; + jmp_buf jmp_env; + char message_buf[512]; +} LzData; + +typedef struct GlzData { + SpiceGlzDecoder *decoder; + LzDecodeUsrData decode_data; +} GlzData; + +typedef struct QuicData { + QuicUsrContext usr; + QuicContext *quic; + jmp_buf jmp_env; + char message_buf[512]; + SpiceChunks *chunks; + uint32_t current_chunk; +} QuicData; + +typedef struct CanvasBase { + SpiceCanvas parent; + uint32_t color_shift; + uint32_t color_mask; + QuicData quic_data; + + uint32_t format; + int width; + int height; + pixman_region32_t canvas_region; + +#if defined(SW_CANVAS_CACHE) || defined(SW_CANVAS_IMAGE_CACHE) + SpiceImageCache *bits_cache; +#endif +#ifdef SW_CANVAS_CACHE + SpicePaletteCache *palette_cache; +#endif +#ifdef WIN32 + HDC dc; +#endif + + SpiceImageSurfaces *surfaces; + + LzData lz_data; + GlzData glz_data; + SpiceJpegDecoder* jpeg; + SpiceZlibDecoder* zlib; + + void *usr_data; + spice_destroy_fn_t usr_data_destroy; +} CanvasBase; + +typedef enum { + ROP_INPUT_SRC, + ROP_INPUT_BRUSH, + ROP_INPUT_DEST +} ROPInput; + +static SpiceROP ropd_descriptor_to_rop(int desc, + ROPInput src_input, + ROPInput dest_input) +{ + int old; + int invert_masks[] = { + SPICE_ROPD_INVERS_SRC, + SPICE_ROPD_INVERS_BRUSH, + SPICE_ROPD_INVERS_DEST + }; + + old = desc; + + desc &= ~(SPICE_ROPD_INVERS_SRC | SPICE_ROPD_INVERS_DEST); + if (old & invert_masks[src_input]) { + desc |= SPICE_ROPD_INVERS_SRC; + } + + if (old & invert_masks[dest_input]) { + desc |= SPICE_ROPD_INVERS_DEST; + } + + if (desc & SPICE_ROPD_OP_PUT) { + if (desc & SPICE_ROPD_INVERS_SRC) { + if (desc & SPICE_ROPD_INVERS_RES) { + return SPICE_ROP_COPY; + } + return SPICE_ROP_COPY_INVERTED; + } else { + if (desc & SPICE_ROPD_INVERS_RES) { + return SPICE_ROP_COPY_INVERTED; + } + return SPICE_ROP_COPY; + } + } else if (desc & SPICE_ROPD_OP_OR) { + + if (desc & SPICE_ROPD_INVERS_RES) { + if (desc & SPICE_ROPD_INVERS_SRC) { + if (desc & SPICE_ROPD_INVERS_DEST) { + /* !(!src or !dest) == src and dest*/ + return SPICE_ROP_AND; + } else { + /* ! (!src or dest) = src and !dest*/ + return SPICE_ROP_AND_REVERSE; + } + } else { + if (desc & SPICE_ROPD_INVERS_DEST) { + /* !(src or !dest) == !src and dest */ + return SPICE_ROP_AND_INVERTED; + } else { + /* !(src or dest) */ + return SPICE_ROP_NOR; + } + } + } else { + if (desc & SPICE_ROPD_INVERS_SRC) { + if (desc & SPICE_ROPD_INVERS_DEST) { + /* !src or !dest == !(src and dest)*/ + return SPICE_ROP_NAND; + } else { + /* !src or dest */ + return SPICE_ROP_OR_INVERTED; + } + } else { + if (desc & SPICE_ROPD_INVERS_DEST) { + /* src or !dest */ + return SPICE_ROP_OR_REVERSE; + } else { + /* src or dest */ + return SPICE_ROP_OR; + } + } + } + + } else if (desc & SPICE_ROPD_OP_AND) { + + if (desc & SPICE_ROPD_INVERS_RES) { + if (desc & SPICE_ROPD_INVERS_SRC) { + if (desc & SPICE_ROPD_INVERS_DEST) { + /* !(!src and !dest) == src or dest*/ + return SPICE_ROP_OR; + } else { + /* ! (!src and dest) = src or !dest*/ + return SPICE_ROP_OR_REVERSE; + } + } else { + if (desc & SPICE_ROPD_INVERS_DEST) { + /* !(src and !dest) == !src or dest */ + return SPICE_ROP_OR_INVERTED; + } else { + /* !(src and dest) */ + return SPICE_ROP_NAND; + } + } + } else { + if (desc & SPICE_ROPD_INVERS_SRC) { + if (desc & SPICE_ROPD_INVERS_DEST) { + /* !src and !dest == !(src or dest)*/ + return SPICE_ROP_NOR; + } else { + /* !src and dest */ + return SPICE_ROP_AND_INVERTED; + } + } else { + if (desc & SPICE_ROPD_INVERS_DEST) { + /* src and !dest */ + return SPICE_ROP_AND_REVERSE; + } else { + /* src and dest */ + return SPICE_ROP_AND; + } + } + } + + } else if (desc & SPICE_ROPD_OP_XOR) { + + if (desc & SPICE_ROPD_INVERS_RES) { + if (desc & SPICE_ROPD_INVERS_SRC) { + if (desc & SPICE_ROPD_INVERS_DEST) { + /* !(!src xor !dest) == !src xor dest */ + return SPICE_ROP_EQUIV; + } else { + /* ! (!src xor dest) = src xor dest*/ + return SPICE_ROP_XOR; + } + } else { + if (desc & SPICE_ROPD_INVERS_DEST) { + /* !(src xor !dest) == src xor dest */ + return SPICE_ROP_XOR; + } else { + /* !(src xor dest) */ + return SPICE_ROP_EQUIV; + } + } + } else { + if (desc & SPICE_ROPD_INVERS_SRC) { + if (desc & SPICE_ROPD_INVERS_DEST) { + /* !src xor !dest == src xor dest */ + return SPICE_ROP_XOR; + } else { + /* !src xor dest */ + return SPICE_ROP_EQUIV; + } + } else { + if (desc & SPICE_ROPD_INVERS_DEST) { + /* src xor !dest */ + return SPICE_ROP_EQUIV; + } else { + /* src xor dest */ + return SPICE_ROP_XOR; + } + } + } + + } else if (desc & SPICE_ROPD_OP_BLACKNESS) { + return SPICE_ROP_CLEAR; + } else if (desc & SPICE_ROPD_OP_WHITENESS) { + return SPICE_ROP_SET; + } else if (desc & SPICE_ROPD_OP_INVERS) { + return SPICE_ROP_INVERT; + } + return SPICE_ROP_COPY; +} + +//#define DEBUG_DUMP_COMPRESS +#ifdef DEBUG_DUMP_COMPRESS +static void dump_surface(pixman_image_t *surface, int cache); +#endif + + +static pixman_format_code_t canvas_get_target_format(CanvasBase *canvas, + int source_has_alpha) +{ + pixman_format_code_t format; + + /* Convert to target surface format */ + format = spice_surface_format_to_pixman (canvas->format); + + if (source_has_alpha) { + /* Even though the destination has no alpha, we make the source + * remember there are alpha bits instead of throwing away this + * information. The results are the same if alpha is not + * interpreted, and if need to interpret alpha, don't use + * conversion to target format. + * This is needed for instance when doing the final + * canvas_get_target_format() in canvas_get_image_internal + * as otherwise we wouldn't know if the bitmap source + * really had alpha. + */ + if (format == PIXMAN_x8r8g8b8) { + format = PIXMAN_a8r8g8b8; + } + } else { /* !source_has_alpha */ + /* If the source doesn't have alpha, but the destination has, + don't convert to alpha, since that would just do an unnecessary + copy to fill the alpha bytes with 0xff which is not expected if + we just use the raw bits, (and handled implicitly by pixman if + we're interpreting data) */ + if (format == PIXMAN_a8r8g8b8) { + format = PIXMAN_x8r8g8b8; + } + } + + return format; +} + +static pixman_image_t *canvas_get_quic(CanvasBase *canvas, SpiceImage *image, + int invers, int want_original) +{ + pixman_image_t *surface = NULL; + QuicData *quic_data = &canvas->quic_data; + QuicImageType type, as_type; + pixman_format_code_t pixman_format; + uint8_t *dest; + int stride; + int width; + int height; + + if (setjmp(quic_data->jmp_env)) { + pixman_image_unref(surface); + spice_warning("%s", quic_data->message_buf); + return NULL; + } + + quic_data->chunks = image->u.quic.data; + quic_data->current_chunk = 0; + + if (quic_decode_begin(quic_data->quic, + (uint32_t *)image->u.quic.data->chunk[0].data, + image->u.quic.data->chunk[0].len >> 2, + &type, &width, &height) == QUIC_ERROR) { + spice_warning("quic decode begin failed"); + return NULL; + } + + switch (type) { + case QUIC_IMAGE_TYPE_RGBA: + as_type = QUIC_IMAGE_TYPE_RGBA; + pixman_format = PIXMAN_a8r8g8b8; + break; + case QUIC_IMAGE_TYPE_RGB32: + case QUIC_IMAGE_TYPE_RGB24: + as_type = QUIC_IMAGE_TYPE_RGB32; + pixman_format = PIXMAN_x8r8g8b8; + break; + case QUIC_IMAGE_TYPE_RGB16: + if (!want_original && + (canvas->format == SPICE_SURFACE_FMT_32_xRGB || + canvas->format == SPICE_SURFACE_FMT_32_ARGB)) { + as_type = QUIC_IMAGE_TYPE_RGB32; + pixman_format = PIXMAN_x8r8g8b8; + } else { + as_type = QUIC_IMAGE_TYPE_RGB16; + pixman_format = PIXMAN_x1r5g5b5; + } + break; + case QUIC_IMAGE_TYPE_INVALID: + case QUIC_IMAGE_TYPE_GRAY: + default: + spice_warn_if_reached(); + return NULL; + } + + spice_return_val_if_fail((uint32_t)width == image->descriptor.width, NULL); + spice_return_val_if_fail((uint32_t)height == image->descriptor.height, NULL); + + surface = surface_create( +#ifdef WIN32 + canvas->dc, +#endif + pixman_format, + width, height, FALSE); + + spice_return_val_if_fail(surface != NULL, NULL); + + dest = (uint8_t *)pixman_image_get_data(surface); + stride = pixman_image_get_stride(surface); + if (quic_decode(quic_data->quic, as_type, + dest, stride) == QUIC_ERROR) { + pixman_image_unref(surface); + spice_warning("quic decode failed"); + return NULL; + } + + if (invers) { + uint8_t *end = dest + height * stride; + for (; dest != end; dest += stride) { + uint32_t *pix; + uint32_t *end_pix; + + pix = (uint32_t *)dest; + end_pix = pix + width; + for (; pix < end_pix; pix++) { + *pix ^= 0xffffffff; + } + } + } + +#ifdef DEBUG_DUMP_COMPRESS + dump_surface(surface, 0); +#endif + return surface; +} + + +//#define DUMP_JPEG +#ifdef DUMP_JPEG +static int jpeg_id = 0; +static void dump_jpeg(uint8_t* data, int data_size) +{ + char file_str[200]; + uint32_t id = ++jpeg_id; + +#ifdef WIN32 + sprintf(file_str, "c:\\tmp\\spice_dump\\%u.jpg", id); +#else + sprintf(file_str, "/tmp/spice_dump/%u.jpg", id); +#endif + + FILE *f = fopen(file_str, "wb"); + if (!f) { + return; + } + + fwrite(data, 1, data_size, f); + fclose(f); +} +#endif + +static pixman_image_t *canvas_get_jpeg(CanvasBase *canvas, SpiceImage *image, int invers) +{ + pixman_image_t *surface = NULL; + int stride; + int width; + int height; + uint8_t *dest; + + spice_return_val_if_fail(image->u.jpeg.data->num_chunks == 1, NULL); + canvas->jpeg->ops->begin_decode(canvas->jpeg, image->u.jpeg.data->chunk[0].data, image->u.jpeg.data->chunk[0].len, + &width, &height); + spice_return_val_if_fail((uint32_t)width == image->descriptor.width, NULL); + spice_return_val_if_fail((uint32_t)height == image->descriptor.height, NULL); + + surface = surface_create( +#ifdef WIN32 + canvas->dc, +#endif + PIXMAN_x8r8g8b8, + width, height, FALSE); + if (surface == NULL) { + spice_warning("create surface failed"); + return NULL; + } + + dest = (uint8_t *)pixman_image_get_data(surface); + stride = pixman_image_get_stride(surface); + + canvas->jpeg->ops->decode(canvas->jpeg, dest, stride, SPICE_BITMAP_FMT_32BIT); + + if (invers) { + uint8_t *end = dest + height * stride; + for (; dest != end; dest += stride) { + uint32_t *pix; + uint32_t *end_pix; + + pix = (uint32_t *)dest; + end_pix = pix + width; + for (; pix < end_pix; pix++) { + *pix ^= 0x00ffffff; + } + } + } +#ifdef DUMP_JPEG + dump_jpeg(image->u.jpeg.data, image->u.jpeg.data_size); +#endif + return surface; +} + +static pixman_image_t *canvas_get_jpeg_alpha(CanvasBase *canvas, + SpiceImage *image, int invers) +{ + pixman_image_t *surface = NULL; + int stride; + int width; + int height; + uint8_t *dest; + int alpha_top_down = FALSE; + LzData *lz_data = &canvas->lz_data; + LzImageType lz_alpha_type; + uint8_t *comp_alpha_buf = NULL; + uint8_t *decomp_alpha_buf = NULL; + int alpha_size; + int lz_alpha_width, lz_alpha_height, n_comp_pixels, lz_alpha_top_down; + + spice_return_val_if_fail(image->u.jpeg_alpha.data->num_chunks == 1, NULL); + canvas->jpeg->ops->begin_decode(canvas->jpeg, + image->u.jpeg_alpha.data->chunk[0].data, + image->u.jpeg_alpha.jpeg_size, + &width, &height); + spice_return_val_if_fail((uint32_t)width == image->descriptor.width, NULL); + spice_return_val_if_fail((uint32_t)height == image->descriptor.height, NULL); + + if (image->u.jpeg_alpha.flags & SPICE_JPEG_ALPHA_FLAGS_TOP_DOWN) { + alpha_top_down = TRUE; + } + +#ifdef WIN32 + lz_data->decode_data.dc = canvas->dc; +#endif + surface = alloc_lz_image_surface(&lz_data->decode_data, PIXMAN_a8r8g8b8, + width, height, width*height, alpha_top_down); + + if (surface == NULL) { + spice_warning("create surface failed"); + return NULL; + } + + dest = (uint8_t *)pixman_image_get_data(surface); + stride = pixman_image_get_stride(surface); + + canvas->jpeg->ops->decode(canvas->jpeg, dest, stride, SPICE_BITMAP_FMT_32BIT); + + comp_alpha_buf = image->u.jpeg_alpha.data->chunk[0].data + image->u.jpeg_alpha.jpeg_size; + alpha_size = image->u.jpeg_alpha.data_size - image->u.jpeg_alpha.jpeg_size; + + lz_decode_begin(lz_data->lz, comp_alpha_buf, alpha_size, &lz_alpha_type, + &lz_alpha_width, &lz_alpha_height, &n_comp_pixels, + &lz_alpha_top_down, NULL); + spice_return_val_if_fail(lz_alpha_type == LZ_IMAGE_TYPE_XXXA, NULL); + spice_return_val_if_fail(!!lz_alpha_top_down == !!alpha_top_down, NULL); + spice_return_val_if_fail(lz_alpha_width == width, NULL); + spice_return_val_if_fail(lz_alpha_height == height, NULL); + spice_return_val_if_fail(n_comp_pixels == width * height, NULL); + + if (!alpha_top_down) { + decomp_alpha_buf = dest + stride * (height - 1); + } else { + decomp_alpha_buf = dest; + } + lz_decode(lz_data->lz, LZ_IMAGE_TYPE_XXXA, decomp_alpha_buf); + + if (invers) { + uint8_t *end = dest + height * stride; + for (; dest != end; dest += stride) { + uint32_t *pix; + uint32_t *end_pix; + + pix = (uint32_t *)dest; + end_pix = pix + width; + for (; pix < end_pix; pix++) { + *pix ^= 0x00ffffff; + } + } + } +#ifdef DUMP_JPEG + dump_jpeg(image->u.jpeg_alpha.data, image->u.jpeg_alpha.jpeg_size); +#endif + return surface; +} + +static pixman_image_t *canvas_bitmap_to_surface(CanvasBase *canvas, SpiceBitmap* bitmap, + SpicePalette *palette, int want_original) +{ + uint8_t* src; + pixman_image_t *image; + pixman_format_code_t format; + + spice_chunks_linearize(bitmap->data); + + src = bitmap->data->chunk[0].data; + + if (want_original) { + format = spice_bitmap_format_to_pixman(bitmap->format, canvas->format); + } else { + format = canvas_get_target_format(canvas, + bitmap->format == SPICE_BITMAP_FMT_RGBA); + } + + image = surface_create( +#ifdef WIN32 + canvas->dc, +#endif + format, + bitmap->x, bitmap->y, FALSE); + if (image == NULL) { + spice_warning("create surface failed"); + return NULL; + } + + spice_bitmap_convert_to_pixman(format, image, + bitmap->format, + bitmap->flags, + bitmap->x, bitmap->y, + src, bitmap->stride, + canvas->format, palette); + return image; +} + + +#ifdef SW_CANVAS_CACHE + +static inline SpicePalette *canvas_get_palette(CanvasBase *canvas, SpicePalette *base_palette, uint64_t palette_id, uint8_t flags) +{ + SpicePalette *palette; + + if (flags & SPICE_BITMAP_FLAGS_PAL_FROM_CACHE) { + palette = canvas->palette_cache->ops->get(canvas->palette_cache, palette_id); + } else { + palette = base_palette; + if (palette != NULL && flags & SPICE_BITMAP_FLAGS_PAL_CACHE_ME) { + canvas->palette_cache->ops->put(canvas->palette_cache, palette); + } + } + return palette; +} + +static inline SpicePalette *canvas_get_localized_palette(CanvasBase *canvas, SpicePalette *base_palette, uint64_t palette_id, uint8_t flags, int *free_palette) +{ + SpicePalette *palette = canvas_get_palette(canvas, base_palette, palette_id, flags); + SpicePalette *copy; + uint32_t *now, *end; + size_t size; + + if (canvas->format == SPICE_SURFACE_FMT_32_xRGB || + canvas->format == SPICE_SURFACE_FMT_32_ARGB) { + return palette; + } + + size = sizeof(SpicePalette) + palette->num_ents * 4; + copy = (SpicePalette *)spice_malloc(size); + memcpy(copy, palette, size); + + switch (canvas->format) { + case SPICE_SURFACE_FMT_32_xRGB: + case SPICE_SURFACE_FMT_32_ARGB: + /* Won't happen */ + break; + case SPICE_SURFACE_FMT_16_555: + now = copy->ents; + end = now + copy->num_ents; + for (; now < end; now++) { + *now = canvas_16bpp_to_32bpp(*now); + } + break; + case SPICE_SURFACE_FMT_16_565: + default: + spice_warn_if_reached(); + return NULL; + } + *free_palette = TRUE; + return copy; +} + +static pixman_image_t *canvas_get_lz(CanvasBase *canvas, SpiceImage *image, int invers, + int want_original) +{ + LzData *lz_data = &canvas->lz_data; + uint8_t *comp_buf = NULL; + int comp_size; + uint8_t *decomp_buf = NULL; + uint8_t *src; + pixman_format_code_t pixman_format; + LzImageType type, as_type; + SpicePalette *palette; + int n_comp_pixels; + int width; + int height; + int top_down; + int stride; + int free_palette; + + if (setjmp(lz_data->jmp_env)) { + free(decomp_buf); + spice_warning("%s", lz_data->message_buf); + return NULL; + } + + free_palette = FALSE; + if (image->descriptor.type == SPICE_IMAGE_TYPE_LZ_RGB) { + spice_return_val_if_fail(image->u.lz_rgb.data->num_chunks == 1, NULL); /* TODO: Handle chunks */ + comp_buf = image->u.lz_rgb.data->chunk[0].data; + comp_size = image->u.lz_rgb.data->chunk[0].len; + palette = NULL; + } else if (image->descriptor.type == SPICE_IMAGE_TYPE_LZ_PLT) { + spice_return_val_if_fail(image->u.lz_plt.data->num_chunks == 1, NULL); /* TODO: Handle chunks */ + comp_buf = image->u.lz_plt.data->chunk[0].data; + comp_size = image->u.lz_plt.data->chunk[0].len; + palette = canvas_get_localized_palette(canvas, image->u.lz_plt.palette, image->u.lz_plt.palette_id, image->u.lz_plt.flags, &free_palette); + } else { + spice_warn_if_reached(); + return NULL; + } + + lz_decode_begin(lz_data->lz, comp_buf, comp_size, &type, + &width, &height, &n_comp_pixels, &top_down, palette); + + switch (type) { + case LZ_IMAGE_TYPE_RGBA: + as_type = LZ_IMAGE_TYPE_RGBA; + pixman_format = PIXMAN_a8r8g8b8; + break; + case LZ_IMAGE_TYPE_RGB32: + case LZ_IMAGE_TYPE_RGB24: + case LZ_IMAGE_TYPE_PLT1_LE: + case LZ_IMAGE_TYPE_PLT1_BE: + case LZ_IMAGE_TYPE_PLT4_LE: + case LZ_IMAGE_TYPE_PLT4_BE: + case LZ_IMAGE_TYPE_PLT8: + as_type = LZ_IMAGE_TYPE_RGB32; + pixman_format = PIXMAN_x8r8g8b8; + break; + case LZ_IMAGE_TYPE_A8: + as_type = LZ_IMAGE_TYPE_A8; + pixman_format = PIXMAN_a8; + break; + case LZ_IMAGE_TYPE_RGB16: + if (!want_original && + (canvas->format == SPICE_SURFACE_FMT_32_xRGB || + canvas->format == SPICE_SURFACE_FMT_32_ARGB)) { + as_type = LZ_IMAGE_TYPE_RGB32; + pixman_format = PIXMAN_x8r8g8b8; + } else { + as_type = LZ_IMAGE_TYPE_RGB16; + pixman_format = PIXMAN_x1r5g5b5; + } + break; + default: + spice_warn_if_reached(); + return NULL; + } + + spice_return_val_if_fail((unsigned)width == image->descriptor.width, NULL); + spice_return_val_if_fail((unsigned)height == image->descriptor.height, NULL); + + spice_return_val_if_fail((image->descriptor.type == SPICE_IMAGE_TYPE_LZ_PLT) || (n_comp_pixels == width * height), NULL); +#ifdef WIN32 + lz_data->decode_data.dc = canvas->dc; +#endif + + + alloc_lz_image_surface(&lz_data->decode_data, pixman_format, + width, height, n_comp_pixels, top_down); + + src = (uint8_t *)pixman_image_get_data(lz_data->decode_data.out_surface); + + stride = (n_comp_pixels / height) * 4; + if (!top_down) { + stride = -stride; + decomp_buf = src + stride * (height - 1); + } else { + decomp_buf = src; + } + + lz_decode(lz_data->lz, as_type, decomp_buf); + + if (invers) { + uint8_t *line = src; + uint8_t *end = src + height * stride; + for (; line != end; line += stride) { + uint32_t *pix; + uint32_t *end_pix; + + pix = (uint32_t *)line; + end_pix = pix + width; + for (; pix < end_pix; pix++) { + *pix ^= 0xffffffff; + } + } + } + + if (free_palette) { + free(palette); + } + + return lz_data->decode_data.out_surface; +} + +static pixman_image_t *canvas_get_glz_rgb_common(CanvasBase *canvas, uint8_t *data, + int want_original) +{ + spice_return_val_if_fail(canvas->glz_data.decoder != NULL, NULL); + + canvas->glz_data.decoder->ops->decode(canvas->glz_data.decoder, + data, NULL, + &canvas->glz_data.decode_data); + + /* global_decode calls alloc_lz_image, which sets canvas->glz_data.surface */ + return (canvas->glz_data.decode_data.out_surface); +} + +// don't handle plts since bitmaps with plt can be decoded globally to RGB32 (because +// same byte sequence can be transformed to different RGB pixels by different plts) +static pixman_image_t *canvas_get_glz(CanvasBase *canvas, SpiceImage *image, + int want_original) +{ + spice_return_val_if_fail(image->descriptor.type == SPICE_IMAGE_TYPE_GLZ_RGB, NULL); +#ifdef WIN32 + canvas->glz_data.decode_data.dc = canvas->dc; +#endif + + spice_return_val_if_fail(image->u.lz_rgb.data->num_chunks == 1, NULL); /* TODO: Handle chunks */ + return canvas_get_glz_rgb_common(canvas, image->u.lz_rgb.data->chunk[0].data, want_original); +} + +static pixman_image_t *canvas_get_zlib_glz_rgb(CanvasBase *canvas, SpiceImage *image, + int want_original) +{ + uint8_t *glz_data; + pixman_image_t *surface; + + spice_return_val_if_fail(canvas->zlib != NULL, NULL); + + spice_return_val_if_fail(image->u.zlib_glz.data->num_chunks == 1, NULL); /* TODO: Handle chunks */ + glz_data = (uint8_t*)spice_malloc(image->u.zlib_glz.glz_data_size); + canvas->zlib->ops->decode(canvas->zlib, image->u.zlib_glz.data->chunk[0].data, + image->u.zlib_glz.data->chunk[0].len, + glz_data, image->u.zlib_glz.glz_data_size); + surface = canvas_get_glz_rgb_common(canvas, glz_data, want_original); + free(glz_data); + return surface; +} + +//#define DEBUG_DUMP_BITMAP + +#ifdef DEBUG_DUMP_BITMAP +static void dump_bitmap(SpiceBitmap *bitmap, SpicePalette *palette) +{ + uint8_t* data = (uint8_t *)SPICE_GET_ADDRESS(bitmap->data); + static uint32_t file_id = 0; + uint32_t i, j; + char file_str[200]; + uint32_t id = ++file_id; + +#ifdef WIN32 + sprintf(file_str, "c:\\tmp\\spice_dump\\%u.%ubpp", id, bitmap->format); +#else + sprintf(file_str, "/tmp/spice_dump/%u.%ubpp", id, bitmap->format); +#endif + FILE *f = fopen(file_str, "wb"); + if (!f) { + return; + } + + fprintf(f, "%d\n", bitmap->format); // 1_LE,1_BE,.... + fprintf(f, "%d %d\n", bitmap->x, bitmap->y); // width and height + fprintf(f, "%d\n", palette->num_ents); // #plt entries + for (i = 0; i < palette->num_ents; i++) { + fwrite(&(palette->ents[i]), 4, 1, f); + } + fprintf(f, "\n"); + + for (i = 0; i < bitmap->y; i++, data += bitmap->stride) { + uint8_t *now = data; + for (j = 0; j < bitmap->x; j++) { + fwrite(now, 1, 1, f); + now++; + } + } +} + +#endif + +static pixman_image_t *canvas_get_bits(CanvasBase *canvas, SpiceBitmap *bitmap, + int want_original) +{ + pixman_image_t* surface; + SpicePalette *palette; + + palette = canvas_get_palette(canvas, bitmap->palette, bitmap->palette_id, bitmap->flags); +#ifdef DEBUG_DUMP_BITMAP + if (palette) { + dump_bitmap(bitmap, palette); + } +#endif + + surface = canvas_bitmap_to_surface(canvas, bitmap, palette, want_original); + + if (palette && (bitmap->flags & SPICE_BITMAP_FLAGS_PAL_FROM_CACHE)) { + canvas->palette_cache->ops->release(canvas->palette_cache, palette); + } + + return surface; +} + +#else + + +static pixman_image_t *canvas_get_bits(CanvasBase *canvas, SpiceBitmap *bitmap, + int want_original) +{ + SpicePalette *palette; + + if (!bitmap->palette) { + return canvas_bitmap_to_surface(canvas, bitmap, NULL, want_original); + } + palette = (SpicePalette *)SPICE_GET_ADDRESS(bitmap->palette); + return canvas_bitmap_to_surface(canvas, bitmap, palette, want_original); +} + +#endif + + + +// caution: defining DEBUG_DUMP_SURFACE will dump both cached & non-cached +// images to disk. it will reduce performance dramatically & eat +// disk space rapidly. use it only for debugging. +//#define DEBUG_DUMP_SURFACE + +#if defined(DEBUG_DUMP_SURFACE) || defined(DEBUG_DUMP_COMPRESS) + +static void dump_surface(pixman_image_t *surface, int cache) +{ + static uint32_t file_id = 0; + int i, j; + char file_str[200]; + int depth = pixman_image_get_depth(surface); + + if (depth != 24 && depth != 32) { + return; + } + + uint8_t *data = (uint8_t *)pixman_image_get_data(surface); + int width = pixman_image_get_width(surface); + int height = pixman_image_get_height(surface); + int stride = pixman_image_surface_get_stride(surface); + + uint32_t id = ++file_id; +#ifdef WIN32 + sprintf(file_str, "c:\\tmp\\spice_dump\\%d\\%u.ppm", cache, id); +#else + sprintf(file_str, "/tmp/spice_dump/%u.ppm", id); +#endif + FILE *f = fopen(file_str, "wb"); + if (!f) { + return; + } + fprintf(f, "P6\n"); + fprintf(f, "%d %d\n", width, height); + fprintf(f, "#spicec dump\n"); + fprintf(f, "255\n"); + for (i = 0; i < height; i++, data += stride) { + uint8_t *now = data; + for (j = 0; j < width; j++) { + fwrite(&now[2], 1, 1, f); + fwrite(&now[1], 1, 1, f); + fwrite(&now[0], 1, 1, f); + now += 4; + } + } + fclose(f); +} + +#endif + +static SpiceCanvas *canvas_get_surface_internal(CanvasBase *canvas, SpiceImage *image) +{ + if (image->descriptor.type == SPICE_IMAGE_TYPE_SURFACE) { + SpiceSurface *surface = &image->u.surface; + return canvas->surfaces->ops->get(canvas->surfaces, surface->surface_id); + } + return NULL; +} + +static SpiceCanvas *canvas_get_surface_mask_internal(CanvasBase *canvas, SpiceImage *image) +{ + if (image->descriptor.type == SPICE_IMAGE_TYPE_SURFACE) { + SpiceSurface *surface = &image->u.surface; + return canvas->surfaces->ops->get(canvas->surfaces, surface->surface_id); + } + return NULL; +} + + +#if defined(SW_CANVAS_CACHE) +static int image_has_palette_to_cache(SpiceImage *image) +{ + SpiceImageDescriptor *descriptor = &image->descriptor; + + if (descriptor->type == SPICE_IMAGE_TYPE_BITMAP) { + return image->u.bitmap.palette && + (image->u.bitmap.flags & SPICE_BITMAP_FLAGS_PAL_CACHE_ME); + } else if (descriptor->type == SPICE_IMAGE_TYPE_LZ_PLT) { + return image->u.lz_plt.palette && + (image->u.lz_plt.flags & SPICE_BITMAP_FLAGS_PAL_CACHE_ME); + } + return FALSE; +} +#endif + +#if defined(SW_CANVAS_CACHE) || defined(SW_CANVAS_IMAGE_CACHE) +//#define DEBUG_LZ + +/* If real get is FALSE, then only do whatever is needed but don't return an image. For instance, + * if we need to read it to cache it we do. + * + * This generally converts the image to the right type for the canvas. + * However, if want_original is set the real source format is returned, and + * you have to be able to handle any image format. This is useful to avoid + * e.g. losing alpha when blending a argb32 image on a rgb16 surface. + */ +static pixman_image_t *canvas_get_image_internal(CanvasBase *canvas, SpiceImage *image, + int want_original, int real_get) +{ + SpiceImageDescriptor *descriptor = &image->descriptor; + pixman_image_t *surface, *converted; + pixman_format_code_t wanted_format, surface_format; + int saved_want_original; + + /* When touching, only really allocate if we need to cache, or + * if we're loading a GLZ stream (since those need inter-thread communication + * to happen which breaks if we don't. */ + if (!real_get && + !(descriptor->flags & SPICE_IMAGE_FLAGS_CACHE_ME) && +#ifdef SW_CANVAS_CACHE + !(descriptor->flags & SPICE_IMAGE_FLAGS_CACHE_REPLACE_ME) && + !image_has_palette_to_cache(image) && +#endif + (descriptor->type != SPICE_IMAGE_TYPE_GLZ_RGB) && + (descriptor->type != SPICE_IMAGE_TYPE_ZLIB_GLZ_RGB)) { + return NULL; + } + + saved_want_original = want_original; + if (descriptor->flags & SPICE_IMAGE_FLAGS_CACHE_ME +#ifdef SW_CANVAS_CACHE + || descriptor->flags & SPICE_IMAGE_FLAGS_CACHE_REPLACE_ME +#endif + ) { + want_original = TRUE; + } + + switch (descriptor->type) { + case SPICE_IMAGE_TYPE_QUIC: { + surface = canvas_get_quic(canvas, image, 0, want_original); + break; + } +#if defined(SW_CANVAS_CACHE) + case SPICE_IMAGE_TYPE_LZ_PLT: { + surface = canvas_get_lz(canvas, image, 0, want_original); + break; + } + case SPICE_IMAGE_TYPE_LZ_RGB: { + surface = canvas_get_lz(canvas, image, 0, want_original); + break; + } +#endif + case SPICE_IMAGE_TYPE_JPEG: { + surface = canvas_get_jpeg(canvas, image, 0); + break; + } + case SPICE_IMAGE_TYPE_JPEG_ALPHA: { + surface = canvas_get_jpeg_alpha(canvas, image, 0); + break; + } +#if defined(SW_CANVAS_CACHE) + case SPICE_IMAGE_TYPE_GLZ_RGB: { + surface = canvas_get_glz(canvas, image, want_original); + break; + } + case SPICE_IMAGE_TYPE_ZLIB_GLZ_RGB: { + surface = canvas_get_zlib_glz_rgb(canvas, image, want_original); + break; + } +#endif + case SPICE_IMAGE_TYPE_FROM_CACHE: + surface = canvas->bits_cache->ops->get(canvas->bits_cache, descriptor->id); + break; +#ifdef SW_CANVAS_CACHE + case SPICE_IMAGE_TYPE_FROM_CACHE_LOSSLESS: + surface = canvas->bits_cache->ops->get_lossless(canvas->bits_cache, descriptor->id); + break; +#endif + case SPICE_IMAGE_TYPE_BITMAP: { + surface = canvas_get_bits(canvas, &image->u.bitmap, want_original); + break; + } + default: + spice_warn_if_reached(); + return NULL; + } + + spice_return_val_if_fail(surface != NULL, NULL); + spice_return_val_if_fail(spice_pixman_image_get_format(surface, &surface_format), NULL); + + if (descriptor->flags & SPICE_IMAGE_FLAGS_HIGH_BITS_SET && + descriptor->type != SPICE_IMAGE_TYPE_FROM_CACHE && +#ifdef SW_CANVAS_CACHE + descriptor->type != SPICE_IMAGE_TYPE_FROM_CACHE_LOSSLESS && +#endif + surface_format == PIXMAN_x8r8g8b8) { + spice_pixman_fill_rect_rop(surface, + 0, 0, + pixman_image_get_width(surface), + pixman_image_get_height(surface), + 0xff000000U, SPICE_ROP_OR); + } + + if (descriptor->flags & SPICE_IMAGE_FLAGS_CACHE_ME && +#ifdef SW_CANVAS_CACHE + descriptor->type != SPICE_IMAGE_TYPE_FROM_CACHE_LOSSLESS && +#endif + descriptor->type != SPICE_IMAGE_TYPE_FROM_CACHE ) { +#ifdef SW_CANVAS_CACHE + if (!IS_IMAGE_LOSSY(descriptor)) { + canvas->bits_cache->ops->put(canvas->bits_cache, descriptor->id, surface); + } else { + canvas->bits_cache->ops->put_lossy(canvas->bits_cache, descriptor->id, surface); + } +#else + canvas->bits_cache->ops->put(canvas->bits_cache, descriptor->id, surface); +#endif +#ifdef DEBUG_DUMP_SURFACE + dump_surface(surface, 1); +#endif +#ifdef SW_CANVAS_CACHE + } else if (descriptor->flags & SPICE_IMAGE_FLAGS_CACHE_REPLACE_ME) { + if (IS_IMAGE_LOSSY(descriptor)) { + spice_warning("invalid cache replace request: the image is lossy"); + return NULL; + } + canvas->bits_cache->ops->replace_lossy(canvas->bits_cache, descriptor->id, surface); +#ifdef DEBUG_DUMP_SURFACE + dump_surface(surface, 1); +#endif +#endif +#ifdef DEBUG_DUMP_SURFACE + } else if (descriptor->type != SPICE_IMAGE_TYPE_FROM_CACHE +#ifdef SW_CANVAS_CACHE + && descriptor->type != SPICE_IMAGE_TYPE_FROM_CACHE_LOSSLESS +#endif + ) { + + dump_surface(surface, 0); +#endif + } + + if (!real_get) { + pixman_image_unref(surface); + return NULL; + } + + if (!saved_want_original) { + /* Conversion to canvas format was requested, but maybe it didn't + happen above (due to save/load to cache for instance, or + maybe the reader didn't support conversion). + If so we convert here. */ + + wanted_format = canvas_get_target_format(canvas, + surface_format == PIXMAN_a8r8g8b8); + + if (surface_format != wanted_format) { + converted = surface_create( +#ifdef WIN32 + canvas->dc, +#endif + wanted_format, + pixman_image_get_width(surface), + pixman_image_get_height(surface), + TRUE); + pixman_image_composite32 (PIXMAN_OP_SRC, + surface, NULL, converted, + 0, 0, + 0, 0, + 0, 0, + pixman_image_get_width(surface), + pixman_image_get_height(surface)); + pixman_image_unref (surface); + surface = converted; + } + } + + return surface; +} + +#else + +static pixman_image_t *canvas_get_image_internal(CanvasBase *canvas, SpiceImage *image, + int want_original, int real_get) +{ + SpiceImageDescriptor *descriptor = &image->descriptor; + pixman_format_code_t format; + + /* When touching, never load image. */ + if (!real_get) { + return NULL; + } + + switch (descriptor->type) { + case SPICE_IMAGE_TYPE_QUIC: { + return canvas_get_quic(canvas, image, 0); + } + case SPICE_IMAGE_TYPE_BITMAP: { + return canvas_get_bits(canvas, &image->u.bitmap, want_original, &format); + } + default: + spice_warn_if_reached(); + return NULL; + } + + return NULL; +} + +#endif + +static SpiceCanvas *canvas_get_surface_mask(CanvasBase *canvas, SpiceImage *image) +{ + return canvas_get_surface_mask_internal(canvas, image); +} + +static SpiceCanvas *canvas_get_surface(CanvasBase *canvas, SpiceImage *image) +{ + return canvas_get_surface_internal(canvas, image); +} + +static pixman_image_t *canvas_get_image(CanvasBase *canvas, SpiceImage *image, + int want_original) +{ + return canvas_get_image_internal(canvas, image, want_original, TRUE); +} + +static void canvas_touch_image(CanvasBase *canvas, SpiceImage *image) +{ + canvas_get_image_internal(canvas, image, TRUE, FALSE); +} + +static pixman_image_t* canvas_get_image_from_self(SpiceCanvas *canvas, + int x, int y, + int32_t width, int32_t height, + int force_opaque) +{ + CanvasBase *canvas_base = (CanvasBase *)canvas; + pixman_image_t *surface; + uint8_t *dest; + int dest_stride; + SpiceRect area; + pixman_format_code_t format; + + format = spice_surface_format_to_pixman (canvas_base->format); + if (force_opaque) + { + /* Set alpha bits of the format to 0 */ + format = (pixman_format_code_t)(((uint32_t)format) & ~(0xf << 12)); + + spice_return_val_if_fail ( + pixman_format_supported_destination (format), NULL); + } + + surface = pixman_image_create_bits(spice_surface_format_to_pixman (canvas_base->format), + width, height, NULL, 0); + spice_return_val_if_fail(surface != NULL, NULL); + + dest = (uint8_t *)pixman_image_get_data(surface); + dest_stride = pixman_image_get_stride(surface); + + area.left = x; + area.top = y; + area.right = x + width; + area.bottom = y + height; + + canvas->ops->read_bits(canvas, dest, dest_stride, &area); + + return surface; +} + +static inline uint8_t revers_bits(uint8_t byte) +{ + uint8_t ret = 0; + int i; + + for (i = 0; i < 4; i++) { + int shift = 7 - i * 2; + ret |= (byte & (1 << i)) << shift; + ret |= (byte & (0x80 >> i)) >> shift; + } + return ret; +} + +static pixman_image_t *canvas_get_bitmap_mask(CanvasBase *canvas, SpiceBitmap* bitmap, int invers) +{ + pixman_image_t *surface; + uint8_t *src_line; + uint8_t *end_line; + uint8_t *dest_line; + int src_stride; + int line_size; + int dest_stride; + + surface = surface_create( +#ifdef WIN32 + canvas->dc, +#endif + PIXMAN_a1, bitmap->x, bitmap->y, TRUE); + spice_return_val_if_fail(surface != NULL, NULL); + + spice_chunks_linearize(bitmap->data); + src_line = bitmap->data->chunk[0].data; + src_stride = bitmap->stride; + end_line = src_line + (bitmap->y * src_stride); + line_size = SPICE_ALIGN(bitmap->x, 8) >> 3; + + dest_stride = pixman_image_get_stride(surface); + dest_line = (uint8_t *)pixman_image_get_data(surface); +#if defined(GL_CANVAS) + if ((bitmap->flags & SPICE_BITMAP_FLAGS_TOP_DOWN)) { +#else + if (!(bitmap->flags & SPICE_BITMAP_FLAGS_TOP_DOWN)) { +#endif + spice_return_val_if_fail(bitmap->y > 0, NULL); + dest_line += dest_stride * ((int)bitmap->y - 1); + dest_stride = -dest_stride; + } + + if (invers) { + switch (bitmap->format) { +#if defined(GL_CANVAS) || defined(GDI_CANVAS) + case SPICE_BITMAP_FMT_1BIT_BE: +#else + case SPICE_BITMAP_FMT_1BIT_LE: +#endif + for (; src_line != end_line; src_line += src_stride, dest_line += dest_stride) { + uint8_t *dest = dest_line; + uint8_t *now = src_line; + uint8_t *end = now + line_size; + while (now < end) { + *(dest++) = ~*(now++); + } + } + break; +#if defined(GL_CANVAS) || defined(GDI_CANVAS) + case SPICE_BITMAP_FMT_1BIT_LE: +#else + case SPICE_BITMAP_FMT_1BIT_BE: +#endif + for (; src_line != end_line; src_line += src_stride, dest_line += dest_stride) { + uint8_t *dest = dest_line; + uint8_t *now = src_line; + uint8_t *end = now + line_size; + + while (now < end) { + *(dest++) = ~revers_bits(*(now++)); + } + } + break; + default: + pixman_image_unref(surface); + surface = NULL; + spice_warn_if_reached(); + return NULL; + } + } else { + switch (bitmap->format) { +#if defined(GL_CANVAS) || defined(GDI_CANVAS) + case SPICE_BITMAP_FMT_1BIT_BE: +#else + case SPICE_BITMAP_FMT_1BIT_LE: +#endif + for (; src_line != end_line; src_line += src_stride, dest_line += dest_stride) { + memcpy(dest_line, src_line, line_size); + } + break; +#if defined(GL_CANVAS) || defined(GDI_CANVAS) + case SPICE_BITMAP_FMT_1BIT_LE: +#else + case SPICE_BITMAP_FMT_1BIT_BE: +#endif + for (; src_line != end_line; src_line += src_stride, dest_line += dest_stride) { + uint8_t *dest = dest_line; + uint8_t *now = src_line; + uint8_t *end = now + line_size; + + while (now < end) { + *(dest++) = revers_bits(*(now++)); + } + } + break; + default: + pixman_image_unref(surface); + surface = NULL; + spice_warn_if_reached(); + return NULL; + } + } + return surface; +} + +static inline pixman_image_t *canvas_A1_invers(pixman_image_t *src_surf) +{ + int width = pixman_image_get_width(src_surf); + int height = pixman_image_get_height(src_surf); + pixman_image_t * invers; + uint8_t *src_line, *end_line, *dest_line; + int src_stride, line_size, dest_stride; + + spice_return_val_if_fail(pixman_image_get_depth(src_surf) == 1, NULL); + + invers = pixman_image_create_bits(PIXMAN_a1, width, height, NULL, 0); + spice_return_val_if_fail(invers != NULL, NULL); + + src_line = (uint8_t *)pixman_image_get_data(src_surf); + src_stride = pixman_image_get_stride(src_surf); + end_line = src_line + (height * src_stride); + line_size = SPICE_ALIGN(width, 8) >> 3; + dest_line = (uint8_t *)pixman_image_get_data(invers); + dest_stride = pixman_image_get_stride(invers); + + for (; src_line != end_line; src_line += src_stride, dest_line += dest_stride) { + uint8_t *dest = dest_line; + uint8_t *now = src_line; + uint8_t *end = now + line_size; + while (now < end) { + *(dest++) = ~*(now++); + } + } + return invers; +} + +static pixman_image_t *canvas_get_mask(CanvasBase *canvas, SpiceQMask *mask, int *needs_invert_out) +{ + SpiceImage *image; + pixman_image_t *surface; + int need_invers; + int is_invers; + int cache_me; + + if (needs_invert_out) { + *needs_invert_out = 0; + } + + image = mask->bitmap; + need_invers = mask->flags & SPICE_MASK_FLAGS_INVERS; + +#ifdef SW_CANVAS_CACHE + cache_me = image->descriptor.flags & SPICE_IMAGE_FLAGS_CACHE_ME; +#else + cache_me = 0; +#endif + + switch (image->descriptor.type) { + case SPICE_IMAGE_TYPE_BITMAP: { + is_invers = need_invers && !cache_me; + surface = canvas_get_bitmap_mask(canvas, &image->u.bitmap, is_invers); + break; + } +#if defined(SW_CANVAS_CACHE) || defined(SW_CANVAS_IMAGE_CACHE) + case SPICE_IMAGE_TYPE_FROM_CACHE: + surface = canvas->bits_cache->ops->get(canvas->bits_cache, image->descriptor.id); + is_invers = 0; + break; +#endif +#ifdef SW_CANVAS_CACHE + case SPICE_IMAGE_TYPE_FROM_CACHE_LOSSLESS: + surface = canvas->bits_cache->ops->get_lossless(canvas->bits_cache, image->descriptor.id); + is_invers = 0; + break; +#endif + default: + spice_warn_if_reached(); + return NULL; + } + +#if defined(SW_CANVAS_CACHE) || defined(SW_CANVAS_IMAGE_CACHE) + if (cache_me) { + canvas->bits_cache->ops->put(canvas->bits_cache, image->descriptor.id, surface); + } + + if (need_invers && !is_invers) { // surface is in cache + if (needs_invert_out != NULL) { + *needs_invert_out = TRUE; + } else { + pixman_image_t *inv_surf; + inv_surf = canvas_A1_invers(surface); + pixman_image_unref(surface); + surface = inv_surf; + } + } +#endif + return surface; +} + +static inline void canvas_raster_glyph_box(const SpiceRasterGlyph *glyph, SpiceRect *r) +{ + spice_return_if_fail(r != NULL); + + r->top = glyph->render_pos.y + glyph->glyph_origin.y; + r->bottom = r->top + glyph->height; + r->left = glyph->render_pos.x + glyph->glyph_origin.x; + r->right = r->left + glyph->width; +} + +#ifdef GL_CANVAS +static inline void __canvas_put_bits(uint8_t *dest, int offset, uint8_t val, int n) +{ + uint8_t mask; + int now; + + dest = dest + (offset >> 3); + offset &= 0x07; + now = MIN(8 - offset, n); + + mask = ~((1 << (8 - now)) - 1); + mask >>= offset; + *dest = ((val >> offset) & mask) | *dest; + + if ((n = n - now)) { + mask = ~((1 << (8 - n)) - 1); + dest++; + *dest = ((val << now) & mask) | *dest; + } +} + +#else +static inline void __canvas_put_bits(uint8_t *dest, int offset, uint8_t val, int n) +{ + uint8_t mask; + int now; + + dest = dest + (offset >> 3); + offset &= 0x07; + + now = MIN(8 - offset, n); + + mask = (1 << now) - 1; + mask <<= offset; + val = revers_bits(val); + *dest = ((val << offset) & mask) | *dest; + + if ((n = n - now)) { + mask = (1 << n) - 1; + dest++; + *dest = ((val >> now) & mask) | *dest; + } +} + +#endif + +static inline void canvas_put_bits(uint8_t *dest, int dest_offset, uint8_t *src, int n) +{ + while (n) { + int now = MIN(n, 8); + + n -= now; + __canvas_put_bits(dest, dest_offset, *src, now); + dest_offset += now; + src++; + } +} + +static void canvas_put_glyph_bits(SpiceRasterGlyph *glyph, int bpp, uint8_t *dest, int dest_stride, + SpiceRect *bounds) +{ + SpiceRect glyph_box; + uint8_t *src; + int lines; + int width; + + //todo: support SPICE_STRING_FLAGS_RASTER_TOP_DOWN + canvas_raster_glyph_box(glyph, &glyph_box); + spice_return_if_fail(glyph_box.top >= bounds->top && glyph_box.bottom <= bounds->bottom); + spice_return_if_fail(glyph_box.left >= bounds->left && glyph_box.right <= bounds->right); + rect_offset(&glyph_box, -bounds->left, -bounds->top); + + dest += glyph_box.top * dest_stride; + src = glyph->data; + lines = glyph_box.bottom - glyph_box.top; + width = glyph_box.right - glyph_box.left; + switch (bpp) { + case 1: { + int src_stride = SPICE_ALIGN(width, 8) >> 3; + int i; + + src += src_stride * (lines); + for (i = 0; i < lines; i++) { + src -= src_stride; + canvas_put_bits(dest, glyph_box.left, src, width); + dest += dest_stride; + } + break; + } + case 4: { + uint8_t *end; + int src_stride = SPICE_ALIGN(width * 4, 8) >> 3; + + src += src_stride * lines; + dest += glyph_box.left; + end = dest + dest_stride * lines; + for (; dest != end; dest += dest_stride) { + int i = 0; + uint8_t *now; + + src -= src_stride; + now = src; + while (i < (width & ~1)) { + dest[i] = MAX(dest[i], *now & 0xf0); + dest[i + 1] = MAX(dest[i + 1], *now << 4); + i += 2; + now++; + } + if (i < width) { + dest[i] = MAX(dest[i], *now & 0xf0); + now++; + } + } + break; + } + case 8: { + uint8_t *end; + src += width * lines; + dest += glyph_box.left; + end = dest + dest_stride * lines; + for (; dest != end; dest += dest_stride, src -= width) { + int i; + + for (i = 0; i < width; i++) { + dest[i] = MAX(dest[i], src[i]); + } + } + break; + } + default: + spice_warn_if_reached(); + return; + } +} + +static pixman_image_t *canvas_get_str_mask(CanvasBase *canvas, SpiceString *str, int bpp, SpicePoint *pos) +{ + SpiceRasterGlyph *glyph; + SpiceRect bounds; + pixman_image_t *str_mask; + uint8_t *dest; + int dest_stride; + int i; + + spice_return_val_if_fail(str->length > 0, NULL); + + glyph = str->glyphs[0]; + canvas_raster_glyph_box(glyph, &bounds); + + for (i = 1; i < str->length; i++) { + SpiceRect glyph_box; + + canvas_raster_glyph_box(str->glyphs[i], &glyph_box); + rect_union(&bounds, &glyph_box); + } + + str_mask = pixman_image_create_bits((bpp == 1) ? PIXMAN_a1 : PIXMAN_a8, + bounds.right - bounds.left, + bounds.bottom - bounds.top, NULL, 0); + spice_return_val_if_fail(str_mask != NULL, NULL); + + dest = (uint8_t *)pixman_image_get_data(str_mask); + dest_stride = pixman_image_get_stride(str_mask); + for (i = 0; i < str->length; i++) { + glyph = str->glyphs[i]; +#if defined(GL_CANVAS) + canvas_put_glyph_bits(glyph, bpp, dest + (bounds.bottom - bounds.top - 1) * dest_stride, + -dest_stride, &bounds); +#else + canvas_put_glyph_bits(glyph, bpp, dest, dest_stride, &bounds); +#endif + } + + pos->x = bounds.left; + pos->y = bounds.top; + return str_mask; +} + +static pixman_image_t *canvas_scale_surface(pixman_image_t *src, const SpiceRect *src_area, int width, + int height, int scale_mode) +{ + pixman_image_t *surface; + pixman_transform_t transform; + pixman_format_code_t format; + double sx, sy; + + spice_return_val_if_fail(spice_pixman_image_get_format (src, &format), NULL); + + surface = pixman_image_create_bits(format, width, height, NULL, 0); + spice_return_val_if_fail(surface != NULL, NULL); + + sx = (double)(src_area->right - src_area->left) / width; + sy = (double)(src_area->bottom - src_area->top) / height; + + pixman_transform_init_scale(&transform, pixman_double_to_fixed(sx), pixman_double_to_fixed(sy)); + + pixman_image_set_transform (src, &transform); + pixman_image_set_repeat(src, PIXMAN_REPEAT_NONE); + spice_return_val_if_fail(scale_mode == SPICE_IMAGE_SCALE_MODE_INTERPOLATE || scale_mode == SPICE_IMAGE_SCALE_MODE_NEAREST, NULL); + pixman_image_set_filter(src, + (scale_mode == SPICE_IMAGE_SCALE_MODE_NEAREST) ?PIXMAN_FILTER_NEAREST : PIXMAN_FILTER_GOOD, + NULL, 0); + + pixman_image_composite32(PIXMAN_OP_SRC, + src, NULL, surface, + ROUND(src_area->left / sx), ROUND (src_area->top / sy), + 0, 0, /* mask */ + 0, 0, /* dst */ + width, height); + + pixman_transform_init_identity(&transform); + pixman_image_set_transform(src, &transform); + + return surface; +} + +SPICE_ATTR_NORETURN +SPICE_ATTR_PRINTF(2, 3) static void quic_usr_error(QuicUsrContext *usr, const char *fmt, ...) +{ + QuicData *usr_data = (QuicData *)usr; + va_list ap; + + va_start(ap, fmt); + vsnprintf(usr_data->message_buf, sizeof(usr_data->message_buf), fmt, ap); + va_end(ap); + + longjmp(usr_data->jmp_env, 1); +} + +SPICE_ATTR_PRINTF(2, 3) static void quic_usr_warn(QuicUsrContext *usr, const char *fmt, ...) +{ + QuicData *usr_data = (QuicData *)usr; + va_list ap; + + va_start(ap, fmt); + vsnprintf(usr_data->message_buf, sizeof(usr_data->message_buf), fmt, ap); + va_end(ap); +} + +static void *quic_usr_malloc(QuicUsrContext *usr, int size) +{ + return spice_malloc(size); +} + +static void quic_usr_free(QuicUsrContext *usr, void *ptr) +{ + free(ptr); +} + +SPICE_ATTR_PRINTF(2, 3) static void lz_usr_warn(LzUsrContext *usr, const char *fmt, ...) +{ + LzData *usr_data = (LzData *)usr; + va_list ap; + + va_start(ap, fmt); + vsnprintf(usr_data->message_buf, sizeof(usr_data->message_buf), fmt, ap); + va_end(ap); +} + +SPICE_ATTR_NORETURN +SPICE_ATTR_PRINTF(2, 3) static void lz_usr_error(LzUsrContext *usr, const char *fmt, ...) +{ + LzData *usr_data = (LzData *)usr; + va_list ap; + + va_start(ap, fmt); + vsnprintf(usr_data->message_buf, sizeof(usr_data->message_buf), fmt, ap); + va_end(ap); + + longjmp(usr_data->jmp_env, 1); +} + +static void *lz_usr_malloc(LzUsrContext *usr, int size) +{ + return spice_malloc(size); +} + +static void lz_usr_free(LzUsrContext *usr, void *ptr) +{ + free(ptr); +} + +static int lz_usr_more_space(LzUsrContext *usr, uint8_t **io_ptr) +{ + return 0; +} + +static int lz_usr_more_lines(LzUsrContext *usr, uint8_t **lines) +{ + return 0; +} + +static int quic_usr_more_space(QuicUsrContext *usr, uint32_t **io_ptr, int rows_completed) +{ + QuicData *quic_data = (QuicData *)usr; + + if (quic_data->current_chunk == quic_data->chunks->num_chunks -1) { + return 0; + } + quic_data->current_chunk++; + + *io_ptr = (uint32_t *)quic_data->chunks->chunk[quic_data->current_chunk].data; + return quic_data->chunks->chunk[quic_data->current_chunk].len >> 2; +} + + +static int quic_usr_more_lines(QuicUsrContext *usr, uint8_t **lines) +{ + return 0; +} + +static void canvas_base_destroy(CanvasBase *canvas) +{ + quic_destroy(canvas->quic_data.quic); + lz_destroy(canvas->lz_data.lz); +#ifdef GDI_CANVAS + DeleteDC(canvas->dc); +#endif + + if (canvas->usr_data && canvas->usr_data_destroy) { + canvas->usr_data_destroy (canvas->usr_data); + canvas->usr_data = NULL; + } +} + +/* This is kind of lame, but it protects against multiple + instances of these functions. We really should stop including + canvas_base.c and build it separately instead */ +#ifdef CANVAS_SINGLE_INSTANCE + +void spice_canvas_set_usr_data(SpiceCanvas *spice_canvas, + void *data, + spice_destroy_fn_t destroy_fn) +{ + CanvasBase *canvas = (CanvasBase *)spice_canvas; + if (canvas->usr_data && canvas->usr_data_destroy) { + canvas->usr_data_destroy (canvas->usr_data); + } + canvas->usr_data = data; + canvas->usr_data_destroy = destroy_fn; +} + +void *spice_canvas_get_usr_data(SpiceCanvas *spice_canvas) +{ + CanvasBase *canvas = (CanvasBase *)spice_canvas; + return canvas->usr_data; +} +#endif + + +static void canvas_clip_pixman(CanvasBase *canvas, + pixman_region32_t *dest_region, + SpiceClip *clip) +{ + pixman_region32_intersect(dest_region, dest_region, &canvas->canvas_region); + + switch (clip->type) { + case SPICE_CLIP_TYPE_NONE: + break; + case SPICE_CLIP_TYPE_RECTS: { + uint32_t n = clip->rects->num_rects; + SpiceRect *now = clip->rects->rects; + + pixman_region32_t clip; + + if (spice_pixman_region32_init_rects(&clip, now, n)) { + pixman_region32_intersect(dest_region, dest_region, &clip); + pixman_region32_fini(&clip); + } + + break; + } + default: + spice_warn_if_reached(); + return; + } +} + +static void canvas_mask_pixman(CanvasBase *canvas, + pixman_region32_t *dest_region, + SpiceQMask *mask, int x, int y) +{ + SpiceCanvas *surface_canvas; + pixman_image_t *image, *subimage; + int needs_invert; + pixman_region32_t mask_region; + uint32_t *mask_data; + int mask_x, mask_y; + int mask_width, mask_height, mask_stride; + pixman_box32_t extents; + + if (!mask->bitmap) { + return; + } + + surface_canvas = canvas_get_surface_mask(canvas, mask->bitmap); + if (surface_canvas) { + needs_invert = mask->flags & SPICE_MASK_FLAGS_INVERS; + image = surface_canvas->ops->get_image(surface_canvas, FALSE); + } else { + needs_invert = FALSE; + image = canvas_get_mask(canvas, + mask, + &needs_invert); + } + + mask_data = pixman_image_get_data(image); + mask_width = pixman_image_get_width(image); + mask_height = pixman_image_get_height(image); + mask_stride = pixman_image_get_stride(image); + + mask_x = mask->pos.x; + mask_y = mask->pos.y; + + /* We need to subset the area of the mask that we turn into a region, + because a cached mask may be much larger than what is used for + the clip operation. */ + extents = *pixman_region32_extents(dest_region); + + /* convert from destination pixels to mask pixels */ + extents.x1 -= x - mask_x; + extents.y1 -= y - mask_y; + extents.x2 -= x - mask_x; + extents.y2 -= y - mask_y; + + /* clip to mask size */ + if (extents.x1 < 0) { + extents.x1 = 0; + } + if (extents.x2 >= mask_width) { + extents.x2 = mask_width; + } + if (extents.x2 < extents.x1) { + extents.x2 = extents.x1; + } + if (extents.y1 < 0) { + extents.y1 = 0; + } + if (extents.y2 >= mask_height) { + extents.y2 = mask_height; + } + if (extents.y2 < extents.y1) { + extents.y2 = extents.y1; + } + + /* round down X to even 32 pixels (i.e. uint32_t) */ + extents.x1 = extents.x1 & ~(0x1f); + + mask_data = (uint32_t *)((uint8_t *)mask_data + mask_stride * extents.y1 + extents.x1 / 32); + mask_x -= extents.x1; + mask_y -= extents.y1; + mask_width = extents.x2 - extents.x1; + mask_height = extents.y2 - extents.y1; + + subimage = pixman_image_create_bits(PIXMAN_a1, mask_width, mask_height, + mask_data, mask_stride); + pixman_region32_init_from_image(&mask_region, + subimage); + pixman_image_unref(subimage); + + if (needs_invert) { + pixman_box32_t rect; + + rect.x1 = rect.y1 = 0; + rect.x2 = mask_width; + rect.y2 = mask_height; + + pixman_region32_inverse(&mask_region, &mask_region, &rect); + } + + pixman_region32_translate(&mask_region, + -mask_x + x, -mask_y + y); + + pixman_region32_intersect(dest_region, dest_region, &mask_region); + pixman_region32_fini(&mask_region); + + pixman_image_unref(image); +} + +static void draw_brush(SpiceCanvas *canvas, + pixman_region32_t *region, + SpiceBrush *brush, + SpiceROP rop) +{ + CanvasBase *canvas_base = (CanvasBase *)canvas; + uint32_t color; + SpicePattern *pattern; + pixman_image_t *tile; + int offset_x, offset_y; + pixman_box32_t *rects; + int n_rects; + + rects = pixman_region32_rectangles(region, &n_rects); + + switch (brush->type) { + case SPICE_BRUSH_TYPE_SOLID: + color = brush->u.color; + if (rop == SPICE_ROP_COPY) { + canvas->ops->fill_solid_rects(canvas, rects, n_rects, color); + } else { + canvas->ops->fill_solid_rects_rop(canvas, rects, n_rects, color, rop); + } + break; + case SPICE_BRUSH_TYPE_PATTERN: { + SpiceCanvas *surface_canvas; + + pattern = &brush->u.pattern; + offset_x = pattern->pos.x; + offset_y = pattern->pos.y; + + surface_canvas = canvas_get_surface(canvas_base, pattern->pat); + if (surface_canvas) { + if (rop == SPICE_ROP_COPY) { + canvas->ops->fill_tiled_rects_from_surface(canvas, rects, n_rects, surface_canvas, + offset_x, offset_y); + } else { + canvas->ops->fill_tiled_rects_rop_from_surface(canvas, rects, n_rects, + surface_canvas, offset_x, offset_y, + rop); + } + } else { + tile = canvas_get_image(canvas_base, pattern->pat, FALSE); + spice_return_if_fail(tile != NULL); + + if (rop == SPICE_ROP_COPY) { + canvas->ops->fill_tiled_rects(canvas, rects, n_rects, tile, offset_x, offset_y); + } else { + canvas->ops->fill_tiled_rects_rop(canvas, rects, n_rects, + tile, offset_x, offset_y, rop); + } + pixman_image_unref(tile); + } + break; + } + case SPICE_BRUSH_TYPE_NONE: + /* Still need to do *something* here, because rop could be e.g invert dest */ + canvas->ops->fill_solid_rects_rop(canvas, rects, n_rects, 0, rop); + break; + default: + spice_warn_if_reached(); + return; + } +} + +/* If we're exiting early we may still have to load an image in case + it has to be cached or something */ +static void touch_brush(CanvasBase *canvas, SpiceBrush *brush) +{ + SpicePattern *pattern; + + if (brush->type == SPICE_BRUSH_TYPE_PATTERN) { + pattern = &brush->u.pattern; + canvas_touch_image(canvas, pattern->pat); + } +} + +static void canvas_draw_fill(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceFill *fill) +{ + CanvasBase *canvas = (CanvasBase *)spice_canvas; + pixman_region32_t dest_region; + SpiceROP rop; + + pixman_region32_init_rect(&dest_region, + bbox->left, bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top); + + + canvas_clip_pixman(canvas, &dest_region, clip); + canvas_mask_pixman(canvas, &dest_region, &fill->mask, + bbox->left, bbox->top); + + rop = ropd_descriptor_to_rop(fill->rop_descriptor, + ROP_INPUT_BRUSH, + ROP_INPUT_DEST); + + if (rop == SPICE_ROP_NOOP || !pixman_region32_not_empty(&dest_region)) { + touch_brush(canvas, &fill->brush); + pixman_region32_fini(&dest_region); + return; + } + + draw_brush(spice_canvas, &dest_region, &fill->brush, rop); + + pixman_region32_fini(&dest_region); +} + +static void canvas_draw_copy(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceCopy *copy) +{ + CanvasBase *canvas = (CanvasBase *)spice_canvas; + pixman_region32_t dest_region; + SpiceCanvas *surface_canvas; + pixman_image_t *src_image; + SpiceROP rop; + + pixman_region32_init_rect(&dest_region, + bbox->left, bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top); + + canvas_clip_pixman(canvas, &dest_region, clip); + canvas_mask_pixman(canvas, &dest_region, ©->mask, + bbox->left, bbox->top); + + rop = ropd_descriptor_to_rop(copy->rop_descriptor, + ROP_INPUT_SRC, + ROP_INPUT_DEST); + + if (rop == SPICE_ROP_NOOP || !pixman_region32_not_empty(&dest_region)) { + canvas_touch_image(canvas, copy->src_bitmap); + pixman_region32_fini(&dest_region); + return; + } + + surface_canvas = canvas_get_surface(canvas, copy->src_bitmap); + if (surface_canvas) { + if (rect_is_same_size(bbox, ©->src_area)) { + if (rop == SPICE_ROP_COPY) { + spice_canvas->ops->blit_image_from_surface(spice_canvas, &dest_region, + surface_canvas, + bbox->left - copy->src_area.left, + bbox->top - copy->src_area.top); + } else { + spice_canvas->ops->blit_image_rop_from_surface(spice_canvas, &dest_region, + surface_canvas, + bbox->left - copy->src_area.left, + bbox->top - copy->src_area.top, + rop); + } + } else { + if (rop == SPICE_ROP_COPY) { + spice_canvas->ops->scale_image_from_surface(spice_canvas, &dest_region, + surface_canvas, + copy->src_area.left, + copy->src_area.top, + copy->src_area.right - copy->src_area.left, + copy->src_area.bottom - copy->src_area.top, + bbox->left, + bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top, + copy->scale_mode); + } else { + spice_canvas->ops->scale_image_rop_from_surface(spice_canvas, &dest_region, + surface_canvas, + copy->src_area.left, + copy->src_area.top, + copy->src_area.right - copy->src_area.left, + copy->src_area.bottom - copy->src_area.top, + bbox->left, + bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top, + copy->scale_mode, + rop); + } + } + } else { + src_image = canvas_get_image(canvas, copy->src_bitmap, FALSE); + spice_return_if_fail(src_image != NULL); + + if (rect_is_same_size(bbox, ©->src_area)) { + if (rop == SPICE_ROP_COPY) { + spice_canvas->ops->blit_image(spice_canvas, &dest_region, + src_image, + bbox->left - copy->src_area.left, + bbox->top - copy->src_area.top); + } else { + spice_canvas->ops->blit_image_rop(spice_canvas, &dest_region, + src_image, + bbox->left - copy->src_area.left, + bbox->top - copy->src_area.top, + rop); + } + } else { + if (rop == SPICE_ROP_COPY) { + spice_canvas->ops->scale_image(spice_canvas, &dest_region, + src_image, + copy->src_area.left, + copy->src_area.top, + copy->src_area.right - copy->src_area.left, + copy->src_area.bottom - copy->src_area.top, + bbox->left, + bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top, + copy->scale_mode); + } else { + spice_canvas->ops->scale_image_rop(spice_canvas, &dest_region, + src_image, + copy->src_area.left, + copy->src_area.top, + copy->src_area.right - copy->src_area.left, + copy->src_area.bottom - copy->src_area.top, + bbox->left, + bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top, + copy->scale_mode, + rop); + } + } + pixman_image_unref(src_image); + } + pixman_region32_fini(&dest_region); +} + +static void canvas_draw_transparent(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceTransparent* transparent) +{ + CanvasBase *canvas = (CanvasBase *)spice_canvas; + SpiceCanvas *surface_canvas; + pixman_image_t *src_image; + pixman_region32_t dest_region; + uint32_t transparent_color; + + pixman_region32_init_rect(&dest_region, + bbox->left, bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top); + + canvas_clip_pixman(canvas, &dest_region, clip); + + if (pixman_region32_n_rects (&dest_region) == 0) { + canvas_touch_image(canvas, transparent->src_bitmap); + pixman_region32_fini(&dest_region); + return; + } + + switch (canvas->format) { + case SPICE_SURFACE_FMT_32_xRGB: + case SPICE_SURFACE_FMT_32_ARGB: + transparent_color = transparent->true_color; + break; + case SPICE_SURFACE_FMT_16_555: + transparent_color = rgb_32_to_16_555(transparent->true_color); + break; + case SPICE_SURFACE_FMT_16_565: + transparent_color = rgb_32_to_16_565(transparent->true_color); + break; + default: + transparent_color = 0; + } + + surface_canvas = canvas_get_surface(canvas, transparent->src_bitmap); + if (surface_canvas) { + if (rect_is_same_size(bbox, &transparent->src_area)) { + spice_canvas->ops->colorkey_image_from_surface(spice_canvas, &dest_region, + surface_canvas, + bbox->left - transparent->src_area.left, + bbox->top - transparent->src_area.top, + transparent_color); + } else { + spice_canvas->ops->colorkey_scale_image_from_surface(spice_canvas, &dest_region, + surface_canvas, + transparent->src_area.left, + transparent->src_area.top, + transparent->src_area.right - transparent->src_area.left, + transparent->src_area.bottom - transparent->src_area.top, + bbox->left, + bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top, + transparent_color); + } + } else { + src_image = canvas_get_image(canvas, transparent->src_bitmap, FALSE); + spice_return_if_fail(src_image != NULL); + + if (rect_is_same_size(bbox, &transparent->src_area)) { + spice_canvas->ops->colorkey_image(spice_canvas, &dest_region, + src_image, + bbox->left - transparent->src_area.left, + bbox->top - transparent->src_area.top, + transparent_color); + } else { + spice_canvas->ops->colorkey_scale_image(spice_canvas, &dest_region, + src_image, + transparent->src_area.left, + transparent->src_area.top, + transparent->src_area.right - transparent->src_area.left, + transparent->src_area.bottom - transparent->src_area.top, + bbox->left, + bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top, + transparent_color); + } + pixman_image_unref(src_image); + } + pixman_region32_fini(&dest_region); +} + +static void canvas_draw_alpha_blend(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceAlphaBlend* alpha_blend) +{ + CanvasBase *canvas = (CanvasBase *)spice_canvas; + pixman_region32_t dest_region; + SpiceCanvas *surface_canvas; + pixman_image_t *src_image; + + pixman_region32_init_rect(&dest_region, + bbox->left, bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top); + + canvas_clip_pixman(canvas, &dest_region, clip); + + if (alpha_blend->alpha == 0 || + !pixman_region32_not_empty(&dest_region)) { + canvas_touch_image(canvas, alpha_blend->src_bitmap); + pixman_region32_fini(&dest_region); + return; + } + + surface_canvas = canvas_get_surface(canvas, alpha_blend->src_bitmap); + if (surface_canvas) { + if (rect_is_same_size(bbox, &alpha_blend->src_area)) { + spice_canvas->ops->blend_image_from_surface(spice_canvas, &dest_region, + alpha_blend->alpha_flags & SPICE_ALPHA_FLAGS_DEST_HAS_ALPHA, + surface_canvas, + alpha_blend->alpha_flags & SPICE_ALPHA_FLAGS_SRC_SURFACE_HAS_ALPHA, + alpha_blend->src_area.left, + alpha_blend->src_area.top, + bbox->left, + bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top, + alpha_blend->alpha); + } else { + spice_canvas->ops->blend_scale_image_from_surface(spice_canvas, &dest_region, + alpha_blend->alpha_flags & SPICE_ALPHA_FLAGS_DEST_HAS_ALPHA, + surface_canvas, + alpha_blend->alpha_flags & SPICE_ALPHA_FLAGS_SRC_SURFACE_HAS_ALPHA, + alpha_blend->src_area.left, + alpha_blend->src_area.top, + alpha_blend->src_area.right - alpha_blend->src_area.left, + alpha_blend->src_area.bottom - alpha_blend->src_area.top, + bbox->left, + bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top, + SPICE_IMAGE_SCALE_MODE_NEAREST, + alpha_blend->alpha); + } + } else { + src_image = canvas_get_image(canvas, alpha_blend->src_bitmap, TRUE); + spice_return_if_fail(src_image != NULL); + + if (rect_is_same_size(bbox, &alpha_blend->src_area)) { + spice_canvas->ops->blend_image(spice_canvas, &dest_region, + alpha_blend->alpha_flags & SPICE_ALPHA_FLAGS_DEST_HAS_ALPHA, + src_image, + alpha_blend->src_area.left, + alpha_blend->src_area.top, + bbox->left, + bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top, + alpha_blend->alpha); + } else { + spice_canvas->ops->blend_scale_image(spice_canvas, &dest_region, + alpha_blend->alpha_flags & SPICE_ALPHA_FLAGS_DEST_HAS_ALPHA, + src_image, + alpha_blend->src_area.left, + alpha_blend->src_area.top, + alpha_blend->src_area.right - alpha_blend->src_area.left, + alpha_blend->src_area.bottom - alpha_blend->src_area.top, + bbox->left, + bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top, + SPICE_IMAGE_SCALE_MODE_NEAREST, + alpha_blend->alpha); + } + + pixman_image_unref(src_image); + } + + pixman_region32_fini(&dest_region); +} + +static void canvas_draw_opaque(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceOpaque *opaque) +{ + CanvasBase *canvas = (CanvasBase *)spice_canvas; + pixman_image_t *src_image; + pixman_region32_t dest_region; + SpiceCanvas *surface_canvas; + SpiceROP rop; + + pixman_region32_init_rect(&dest_region, + bbox->left, bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top); + + canvas_clip_pixman(canvas, &dest_region, clip); + canvas_mask_pixman(canvas, &dest_region, &opaque->mask, + bbox->left, bbox->top); + + rop = ropd_descriptor_to_rop(opaque->rop_descriptor, + ROP_INPUT_BRUSH, + ROP_INPUT_SRC); + + if (rop == SPICE_ROP_NOOP || !pixman_region32_not_empty(&dest_region)) { + canvas_touch_image(canvas, opaque->src_bitmap); + touch_brush(canvas, &opaque->brush); + pixman_region32_fini(&dest_region); + return; + } + + surface_canvas = canvas_get_surface(canvas, opaque->src_bitmap); + if (surface_canvas) { + if (rect_is_same_size(bbox, &opaque->src_area)) { + spice_canvas->ops->blit_image_from_surface(spice_canvas, &dest_region, + surface_canvas, + bbox->left - opaque->src_area.left, + bbox->top - opaque->src_area.top); + } else { + spice_canvas->ops->scale_image_from_surface(spice_canvas, &dest_region, + surface_canvas, + opaque->src_area.left, + opaque->src_area.top, + opaque->src_area.right - opaque->src_area.left, + opaque->src_area.bottom - opaque->src_area.top, + bbox->left, + bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top, + opaque->scale_mode); + } + } else { + src_image = canvas_get_image(canvas, opaque->src_bitmap, FALSE); + spice_return_if_fail(src_image != NULL); + + if (rect_is_same_size(bbox, &opaque->src_area)) { + spice_canvas->ops->blit_image(spice_canvas, &dest_region, + src_image, + bbox->left - opaque->src_area.left, + bbox->top - opaque->src_area.top); + } else { + spice_canvas->ops->scale_image(spice_canvas, &dest_region, + src_image, + opaque->src_area.left, + opaque->src_area.top, + opaque->src_area.right - opaque->src_area.left, + opaque->src_area.bottom - opaque->src_area.top, + bbox->left, + bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top, + opaque->scale_mode); + } + pixman_image_unref(src_image); + } + + draw_brush(spice_canvas, &dest_region, &opaque->brush, rop); + + pixman_region32_fini(&dest_region); +} + +static void canvas_draw_blend(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceBlend *blend) +{ + CanvasBase *canvas = (CanvasBase *)spice_canvas; + SpiceCanvas *surface_canvas; + pixman_image_t *src_image; + pixman_region32_t dest_region; + SpiceROP rop; + + pixman_region32_init_rect(&dest_region, + bbox->left, bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top); + + canvas_clip_pixman(canvas, &dest_region, clip); + canvas_mask_pixman(canvas, &dest_region, &blend->mask, + bbox->left, bbox->top); + + rop = ropd_descriptor_to_rop(blend->rop_descriptor, + ROP_INPUT_SRC, + ROP_INPUT_DEST); + + if (rop == SPICE_ROP_NOOP || !pixman_region32_not_empty(&dest_region)) { + canvas_touch_image(canvas, blend->src_bitmap); + pixman_region32_fini(&dest_region); + return; + } + + surface_canvas = canvas_get_surface(canvas, blend->src_bitmap); + if (surface_canvas) { + if (rect_is_same_size(bbox, &blend->src_area)) { + if (rop == SPICE_ROP_COPY) + spice_canvas->ops->blit_image_from_surface(spice_canvas, &dest_region, + surface_canvas, + bbox->left - blend->src_area.left, + bbox->top - blend->src_area.top); + else + spice_canvas->ops->blit_image_rop_from_surface(spice_canvas, &dest_region, + surface_canvas, + bbox->left - blend->src_area.left, + bbox->top - blend->src_area.top, + rop); + } else { + if (rop == SPICE_ROP_COPY) { + spice_canvas->ops->scale_image_from_surface(spice_canvas, &dest_region, + surface_canvas, + blend->src_area.left, + blend->src_area.top, + blend->src_area.right - blend->src_area.left, + blend->src_area.bottom - blend->src_area.top, + bbox->left, + bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top, + blend->scale_mode); + } else { + spice_canvas->ops->scale_image_rop_from_surface(spice_canvas, &dest_region, + surface_canvas, + blend->src_area.left, + blend->src_area.top, + blend->src_area.right - blend->src_area.left, + blend->src_area.bottom - blend->src_area.top, + bbox->left, + bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top, + blend->scale_mode, rop); + } + } + } else { + src_image = canvas_get_image(canvas, blend->src_bitmap, FALSE); + spice_return_if_fail(src_image != NULL); + + if (rect_is_same_size(bbox, &blend->src_area)) { + if (rop == SPICE_ROP_COPY) + spice_canvas->ops->blit_image(spice_canvas, &dest_region, + src_image, + bbox->left - blend->src_area.left, + bbox->top - blend->src_area.top); + else + spice_canvas->ops->blit_image_rop(spice_canvas, &dest_region, + src_image, + bbox->left - blend->src_area.left, + bbox->top - blend->src_area.top, + rop); + } else { + if (rop == SPICE_ROP_COPY) { + spice_canvas->ops->scale_image(spice_canvas, &dest_region, + src_image, + blend->src_area.left, + blend->src_area.top, + blend->src_area.right - blend->src_area.left, + blend->src_area.bottom - blend->src_area.top, + bbox->left, + bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top, + blend->scale_mode); + } else { + spice_canvas->ops->scale_image_rop(spice_canvas, &dest_region, + src_image, + blend->src_area.left, + blend->src_area.top, + blend->src_area.right - blend->src_area.left, + blend->src_area.bottom - blend->src_area.top, + bbox->left, + bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top, + blend->scale_mode, rop); + } + } + pixman_image_unref(src_image); + } + pixman_region32_fini(&dest_region); +} + +static void canvas_draw_blackness(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceBlackness *blackness) +{ + CanvasBase *canvas = (CanvasBase *)spice_canvas; + pixman_region32_t dest_region; + pixman_box32_t *rects; + int n_rects; + + pixman_region32_init_rect(&dest_region, + bbox->left, bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top); + + + canvas_clip_pixman(canvas, &dest_region, clip); + canvas_mask_pixman(canvas, &dest_region, &blackness->mask, + bbox->left, bbox->top); + + if (!pixman_region32_not_empty(&dest_region)) { + pixman_region32_fini (&dest_region); + return; + } + + rects = pixman_region32_rectangles(&dest_region, &n_rects); + + spice_canvas->ops->fill_solid_rects(spice_canvas, rects, n_rects, 0x000000); + + pixman_region32_fini(&dest_region); +} + +static void canvas_draw_whiteness(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceWhiteness *whiteness) +{ + CanvasBase *canvas = (CanvasBase *)spice_canvas; + pixman_region32_t dest_region; + pixman_box32_t *rects; + int n_rects; + + pixman_region32_init_rect(&dest_region, + bbox->left, bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top); + + + canvas_clip_pixman(canvas, &dest_region, clip); + canvas_mask_pixman(canvas, &dest_region, &whiteness->mask, + bbox->left, bbox->top); + + if (!pixman_region32_not_empty(&dest_region)) { + pixman_region32_fini(&dest_region); + return; + } + + rects = pixman_region32_rectangles(&dest_region, &n_rects); + spice_canvas->ops->fill_solid_rects(spice_canvas, rects, n_rects, 0xffffffff); + + pixman_region32_fini(&dest_region); +} + +static void canvas_draw_invers(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceInvers *invers) +{ + CanvasBase *canvas = (CanvasBase *)spice_canvas; + pixman_region32_t dest_region; + pixman_box32_t *rects; + int n_rects; + + pixman_region32_init_rect(&dest_region, + bbox->left, bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top); + + + canvas_clip_pixman(canvas, &dest_region, clip); + canvas_mask_pixman(canvas, &dest_region, &invers->mask, + bbox->left, bbox->top); + + if (!pixman_region32_not_empty(&dest_region)) { + pixman_region32_fini(&dest_region); + return; + } + + rects = pixman_region32_rectangles(&dest_region, &n_rects); + spice_canvas->ops->fill_solid_rects_rop(spice_canvas, rects, n_rects, 0x00000000, + SPICE_ROP_INVERT); + + pixman_region32_fini(&dest_region); +} + +typedef struct { + lineGC base; + SpiceCanvas *canvas; + pixman_region32_t dest_region; + SpiceROP fore_rop; + SpiceROP back_rop; + int solid; + uint32_t color; + int use_surface_canvas; + union { + SpiceCanvas *surface_canvas; + pixman_image_t *tile; + }; + int tile_offset_x; + int tile_offset_y; +} StrokeGC; + +static void stroke_fill_spans(lineGC * pGC, + int num_spans, + SpicePoint *points, + int *widths, + int sorted, + int foreground) +{ + SpiceCanvas *canvas; + StrokeGC *strokeGC; + int i; + SpiceROP rop; + + strokeGC = (StrokeGC *)pGC; + canvas = strokeGC->canvas; + + num_spans = spice_canvas_clip_spans(&strokeGC->dest_region, + points, widths, num_spans, + points, widths, sorted); + + if (foreground) { + rop = strokeGC->fore_rop; + } else { + rop = strokeGC->back_rop; + } + + if (strokeGC->solid) { + if (rop == SPICE_ROP_COPY) { + canvas->ops->fill_solid_spans(canvas, points, widths, num_spans, + strokeGC->color); + } else { + for (i = 0; i < num_spans; i++) { + pixman_box32_t r; + r.x1 = points[i].x; + r.y1 = points[i].y; + r.x2 = points[i].x + widths[i]; + r.y2 = r.y1 + 1; + canvas->ops->fill_solid_rects_rop(canvas, &r, 1, + strokeGC->color, rop); + } + } + } else { + if (rop == SPICE_ROP_COPY) { + for (i = 0; i < num_spans; i++) { + pixman_box32_t r; + r.x1 = points[i].x; + r.y1 = points[i].y; + r.x2 = points[i].x + widths[i]; + r.y2 = r.y1 + 1; + canvas->ops->fill_tiled_rects(canvas, &r, 1, + strokeGC->tile, + strokeGC->tile_offset_x, + strokeGC->tile_offset_y); + } + } else { + for (i = 0; i < num_spans; i++) { + pixman_box32_t r; + r.x1 = points[i].x; + r.y1 = points[i].y; + r.x2 = points[i].x + widths[i]; + r.y2 = r.y1 + 1; + canvas->ops->fill_tiled_rects_rop(canvas, &r, 1, + strokeGC->tile, + strokeGC->tile_offset_x, + strokeGC->tile_offset_y, rop); + } + } + } +} + +static void stroke_fill_rects(lineGC * pGC, + int num_rects, + pixman_rectangle32_t *rects, + int foreground) +{ + SpiceCanvas *canvas; + pixman_region32_t area; + pixman_box32_t *boxes; + StrokeGC *strokeGC; + SpiceROP rop; + int i; + pixman_box32_t *area_rects; + int n_area_rects; + + strokeGC = (StrokeGC *)pGC; + canvas = strokeGC->canvas; + + if (foreground) { + rop = strokeGC->fore_rop; + } else { + rop = strokeGC->back_rop; + } + + /* TODO: We can optimize this for more common cases where + dest is one rect */ + + boxes = spice_new(pixman_box32_t, num_rects); + for (i = 0; i < num_rects; i++) { + boxes[i].x1 = rects[i].x; + boxes[i].y1 = rects[i].y; + boxes[i].x2 = rects[i].x + rects[i].width; + boxes[i].y2 = rects[i].y + rects[i].height; + } + pixman_region32_init_rects(&area, boxes, num_rects); + pixman_region32_intersect(&area, &area, &strokeGC->dest_region); + free(boxes); + + area_rects = pixman_region32_rectangles(&area, &n_area_rects); + + if (strokeGC->solid) { + if (rop == SPICE_ROP_COPY) { + canvas->ops->fill_solid_rects(canvas, area_rects, n_area_rects, + strokeGC->color); + } else { + canvas->ops->fill_solid_rects_rop(canvas, area_rects, n_area_rects, + strokeGC->color, rop); + } + } else { + if (rop == SPICE_ROP_COPY) { + if (strokeGC->use_surface_canvas) { + canvas->ops->fill_tiled_rects_from_surface(canvas, area_rects, n_area_rects, + strokeGC->surface_canvas, + strokeGC->tile_offset_x, + strokeGC->tile_offset_y); + } else { + canvas->ops->fill_tiled_rects(canvas, area_rects, n_area_rects, + strokeGC->tile, + strokeGC->tile_offset_x, + strokeGC->tile_offset_y); + } + } else { + if (strokeGC->use_surface_canvas) { + canvas->ops->fill_tiled_rects_rop_from_surface(canvas, area_rects, n_area_rects, + strokeGC->surface_canvas, + strokeGC->tile_offset_x, + strokeGC->tile_offset_y, + rop); + } else { + canvas->ops->fill_tiled_rects_rop(canvas, area_rects, n_area_rects, + strokeGC->tile, + strokeGC->tile_offset_x, + strokeGC->tile_offset_y, + rop); + } + } + } + + pixman_region32_fini(&area); +} + +typedef struct { + SpicePoint *points; + int num_points; + int size; +} StrokeLines; + +static void stroke_lines_init(StrokeLines *lines) +{ + lines->points = spice_new(SpicePoint, 10); + lines->size = 10; + lines->num_points = 0; +} + +static void stroke_lines_free(StrokeLines *lines) +{ + free(lines->points); +} + +static void stroke_lines_append(StrokeLines *lines, + int x, int y) +{ + if (lines->num_points == lines->size) { + lines->size *= 2; + lines->points = spice_renew(SpicePoint, lines->points, lines->size); + } + lines->points[lines->num_points].x = x; + lines->points[lines->num_points].y = y; + lines->num_points++; +} + +static void stroke_lines_append_fix(StrokeLines *lines, + SpicePointFix *point) +{ + stroke_lines_append(lines, + fix_to_int(point->x), + fix_to_int(point->y)); +} + +static inline int64_t dot(SPICE_FIXED28_4 x1, + SPICE_FIXED28_4 y1, + SPICE_FIXED28_4 x2, + SPICE_FIXED28_4 y2) +{ + return (((int64_t)x1) *((int64_t)x2) + + ((int64_t)y1) *((int64_t)y2)) >> 4; +} + +static inline int64_t dot2(SPICE_FIXED28_4 x, + SPICE_FIXED28_4 y) +{ + return (((int64_t)x) *((int64_t)x) + + ((int64_t)y) *((int64_t)y)) >> 4; +} + +static void subdivide_bezier(StrokeLines *lines, + SpicePointFix point0, + SpicePointFix point1, + SpicePointFix point2, + SpicePointFix point3) +{ + int64_t A2, B2, C2, AB, CB, h1, h2; + + A2 = dot2(point1.x - point0.x, + point1.y - point0.y); + B2 = dot2(point3.x - point0.x, + point3.y - point0.y); + C2 = dot2(point2.x - point3.x, + point2.y - point3.y); + + AB = dot(point1.x - point0.x, + point1.y - point0.y, + point3.x - point0.x, + point3.y - point0.y); + + CB = dot(point2.x - point3.x, + point2.y - point3.y, + point0.x - point3.x, + point0.y - point3.y); + + h1 = (A2*B2 - AB*AB) >> 3; + h2 = (C2*B2 - CB*CB) >> 3; + + if (h1 < B2 && h2 < B2) { + /* deviation squared less than half a pixel, use straight line */ + stroke_lines_append_fix(lines, &point3); + } else { + SpicePointFix point01, point23, point12, point012, point123, point0123; + + point01.x = (point0.x + point1.x) / 2; + point01.y = (point0.y + point1.y) / 2; + point12.x = (point1.x + point2.x) / 2; + point12.y = (point1.y + point2.y) / 2; + point23.x = (point2.x + point3.x) / 2; + point23.y = (point2.y + point3.y) / 2; + point012.x = (point01.x + point12.x) / 2; + point012.y = (point01.y + point12.y) / 2; + point123.x = (point12.x + point23.x) / 2; + point123.y = (point12.y + point23.y) / 2; + point0123.x = (point012.x + point123.x) / 2; + point0123.y = (point012.y + point123.y) / 2; + + subdivide_bezier(lines, point0, point01, point012, point0123); + subdivide_bezier(lines, point0123, point123, point23, point3); + } +} + +static void stroke_lines_append_bezier(StrokeLines *lines, + SpicePointFix *point1, + SpicePointFix *point2, + SpicePointFix *point3) +{ + SpicePointFix point0; + + point0.x = int_to_fix(lines->points[lines->num_points-1].x); + point0.y = int_to_fix(lines->points[lines->num_points-1].y); + + subdivide_bezier(lines, point0, *point1, *point2, *point3); +} + +static void stroke_lines_draw(StrokeLines *lines, + lineGC *gc, + int dashed) +{ + if (lines->num_points != 0) { + if (dashed) { + spice_canvas_zero_dash_line(gc, CoordModeOrigin, + lines->num_points, lines->points); + } else { + spice_canvas_zero_line(gc, CoordModeOrigin, + lines->num_points, lines->points); + } + lines->num_points = 0; + } +} + + +static void canvas_draw_stroke(SpiceCanvas *spice_canvas, SpiceRect *bbox, + SpiceClip *clip, SpiceStroke *stroke) +{ + CanvasBase *canvas = (CanvasBase *)spice_canvas; + SpiceCanvas *surface_canvas = NULL; + StrokeGC gc; + lineGCOps ops = { + stroke_fill_spans, + stroke_fill_rects + }; + StrokeLines lines; + unsigned int i; + int dashed; + + memset(&gc, 0, sizeof(gc)); + + pixman_region32_init_rect(&gc.dest_region, + bbox->left, bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top); + + canvas_clip_pixman(canvas, &gc.dest_region, clip); + + if (!pixman_region32_not_empty(&gc.dest_region)) { + touch_brush(canvas, &stroke->brush); + pixman_region32_fini(&gc.dest_region); + return; + } + + gc.canvas = spice_canvas; + gc.fore_rop = ropd_descriptor_to_rop(stroke->fore_mode, + ROP_INPUT_BRUSH, + ROP_INPUT_DEST); + gc.back_rop = ropd_descriptor_to_rop(stroke->back_mode, + ROP_INPUT_BRUSH, + ROP_INPUT_DEST); + + gc.base.width = canvas->width; + gc.base.height = canvas->height; + gc.base.alu = gc.fore_rop; + gc.base.lineWidth = 0; + + /* dash */ + gc.base.dashOffset = 0; + gc.base.dash = NULL; + gc.base.numInDashList = 0; + gc.base.lineStyle = LineSolid; + /* win32 cosmetic lines are endpoint-exclusive, so use CapNotLast */ + gc.base.capStyle = CapNotLast; + gc.base.joinStyle = JoinMiter; + gc.base.ops = &ops; + + dashed = 0; + if (stroke->attr.flags & SPICE_LINE_FLAGS_STYLED) { + SPICE_FIXED28_4 *style = stroke->attr.style; + int nseg; + + dashed = 1; + + nseg = stroke->attr.style_nseg; + + /* To truly handle back_mode we should use LineDoubleDash here + and treat !foreground as back_rop using the same brush. + However, using the same brush for that seems wrong. + The old cairo backend was stroking the non-dashed line with + rop_mode before enabling dashes for the foreground which is + not right either. The gl an gdi backend don't use back_mode + at all */ + gc.base.lineStyle = LineOnOffDash; + gc.base.dash = (unsigned char *)spice_malloc(nseg); + gc.base.numInDashList = nseg; + + if (stroke->attr.flags & SPICE_LINE_FLAGS_START_WITH_GAP) { + gc.base.dash[stroke->attr.style_nseg - 1] = fix_to_int(style[0]); + for (i = 0; i < (unsigned int)(stroke->attr.style_nseg - 1); i++) { + gc.base.dash[i] = fix_to_int(style[i+1]); + } + gc.base.dashOffset = gc.base.dash[0]; + } else { + for (i = 0; i < stroke->attr.style_nseg; i++) { + gc.base.dash[i] = fix_to_int(style[i]); + } + } + } + + switch (stroke->brush.type) { + case SPICE_BRUSH_TYPE_NONE: + gc.solid = TRUE; + gc.color = 0; + break; + case SPICE_BRUSH_TYPE_SOLID: + gc.solid = TRUE; + gc.color = stroke->brush.u.color; + break; + case SPICE_BRUSH_TYPE_PATTERN: + gc.solid = FALSE; + surface_canvas = canvas_get_surface(canvas, + stroke->brush.u.pattern.pat); + if (surface_canvas) { + gc.use_surface_canvas = TRUE; + gc.surface_canvas = surface_canvas; + } else { + gc.use_surface_canvas = FALSE; + gc.tile = canvas_get_image(canvas, + stroke->brush.u.pattern.pat, + FALSE); + } + gc.tile_offset_x = stroke->brush.u.pattern.pos.x; + gc.tile_offset_y = stroke->brush.u.pattern.pos.y; + break; + default: + spice_warn_if_reached(); + return; + } + + stroke_lines_init(&lines); + + for (i = 0; i < stroke->path->num_segments; i++) { + SpicePathSeg *seg = stroke->path->segments[i]; + SpicePointFix* point, *end_point; + + point = seg->points; + end_point = point + seg->count; + + if (seg->flags & SPICE_PATH_BEGIN) { + stroke_lines_draw(&lines, (lineGC *)&gc, dashed); + stroke_lines_append_fix(&lines, point); + point++; + } + + if (seg->flags & SPICE_PATH_BEZIER) { + spice_return_if_fail((point - end_point) % 3 == 0); + for (; point + 2 < end_point; point += 3) { + stroke_lines_append_bezier(&lines, + &point[0], + &point[1], + &point[2]); + } + } else + { + for (; point < end_point; point++) { + stroke_lines_append_fix(&lines, point); + } + } + if (seg->flags & SPICE_PATH_END) { + if (seg->flags & SPICE_PATH_CLOSE) { + stroke_lines_append(&lines, + lines.points[0].x, lines.points[0].y); + } + stroke_lines_draw(&lines, (lineGC *)&gc, dashed); + } + } + + stroke_lines_draw(&lines, (lineGC *)&gc, dashed); + + free(gc.base.dash); + stroke_lines_free(&lines); + + if (!gc.solid && gc.tile && !surface_canvas) { + pixman_image_unref(gc.tile); + } + + pixman_region32_fini(&gc.dest_region); +} + + +//need surfaces handling here !!! +static void canvas_draw_rop3(SpiceCanvas *spice_canvas, SpiceRect *bbox, + SpiceClip *clip, SpiceRop3 *rop3) +{ + CanvasBase *canvas = (CanvasBase *)spice_canvas; + SpiceCanvas *surface_canvas; + pixman_region32_t dest_region; + pixman_image_t *d; + pixman_image_t *s; + SpicePoint src_pos; + int width; + int heigth; + + pixman_region32_init_rect(&dest_region, + bbox->left, bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top); + + canvas_clip_pixman(canvas, &dest_region, clip); + canvas_mask_pixman(canvas, &dest_region, &rop3->mask, + bbox->left, bbox->top); + + width = bbox->right - bbox->left; + heigth = bbox->bottom - bbox->top; + + d = canvas_get_image_from_self(spice_canvas, bbox->left, bbox->top, width, heigth, FALSE); + surface_canvas = canvas_get_surface(canvas, rop3->src_bitmap); + if (surface_canvas) { + s = surface_canvas->ops->get_image(surface_canvas, FALSE); + } else { + s = canvas_get_image(canvas, rop3->src_bitmap, FALSE); + } + + if (!rect_is_same_size(bbox, &rop3->src_area)) { + pixman_image_t *scaled_s = canvas_scale_surface(s, &rop3->src_area, width, heigth, + rop3->scale_mode); + pixman_image_unref(s); + s = scaled_s; + src_pos.x = 0; + src_pos.y = 0; + } else { + src_pos.x = rop3->src_area.left; + src_pos.y = rop3->src_area.top; + } + if (pixman_image_get_width(s) - src_pos.x < width || + pixman_image_get_height(s) - src_pos.y < heigth) { + spice_critical("bad src bitmap size"); + return; + } + if (rop3->brush.type == SPICE_BRUSH_TYPE_PATTERN) { + SpiceCanvas *_surface_canvas; + pixman_image_t *p; + + _surface_canvas = canvas_get_surface(canvas, rop3->brush.u.pattern.pat); + if (_surface_canvas) { + p = _surface_canvas->ops->get_image(_surface_canvas, FALSE); + } else { + p = canvas_get_image(canvas, rop3->brush.u.pattern.pat, FALSE); + } + SpicePoint pat_pos; + + pat_pos.x = (bbox->left - rop3->brush.u.pattern.pos.x) % pixman_image_get_width(p); + pat_pos.y = (bbox->top - rop3->brush.u.pattern.pos.y) % pixman_image_get_height(p); + do_rop3_with_pattern(rop3->rop3, d, s, &src_pos, p, &pat_pos); + pixman_image_unref(p); + } else { + do_rop3_with_color(rop3->rop3, d, s, &src_pos, rop3->brush.u.color); + } + pixman_image_unref(s); + + spice_canvas->ops->blit_image(spice_canvas, &dest_region, d, + bbox->left, + bbox->top); + + pixman_image_unref(d); + + pixman_region32_fini(&dest_region); +} + +static void transform_to_pixman_transform(SpiceTransform *transform, + pixman_transform_t *p) +{ + p->matrix[0][0] = transform->t00; + p->matrix[0][1] = transform->t01; + p->matrix[0][2] = transform->t02; + p->matrix[1][0] = transform->t10; + p->matrix[1][1] = transform->t11; + p->matrix[1][2] = transform->t12; + p->matrix[2][0] = 0; + p->matrix[2][1] = 0; + p->matrix[2][2] = pixman_fixed_1; +} + +#define MASK(lo, hi) \ + (((1U << (hi)) - 1) - (((1U << (lo))) - 1)) + +#define EXTRACT(v, lo, hi) \ + ((v & MASK(lo, hi)) >> lo) + +static void canvas_draw_composite(SpiceCanvas *spice_canvas, SpiceRect *bbox, + SpiceClip *clip, SpiceComposite *composite) +{ + CanvasBase *canvas = (CanvasBase *)spice_canvas; + SpiceCanvas *surface_canvas; + pixman_region32_t dest_region; + pixman_image_t *d; + pixman_image_t *s; + pixman_image_t *m; + pixman_repeat_t src_repeat; + pixman_filter_t src_filter; + pixman_op_t op; + pixman_transform_t transform; + int width, height; + + pixman_region32_init_rect(&dest_region, + bbox->left, bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top); + + canvas_clip_pixman(canvas, &dest_region, clip); + + width = bbox->right - bbox->left; + height = bbox->bottom - bbox->top; + + /* Dest */ + d = canvas_get_image_from_self(spice_canvas, bbox->left, bbox->top, width, height, + (composite->flags & SPICE_COMPOSITE_DEST_OPAQUE)); + + /* Src */ + surface_canvas = canvas_get_surface(canvas, composite->src_bitmap); + if (surface_canvas) { + s = surface_canvas->ops->get_image(surface_canvas, + (composite->flags & SPICE_COMPOSITE_SOURCE_OPAQUE)); + } else { + s = canvas_get_image(canvas, composite->src_bitmap, FALSE); + } + if (composite->flags & SPICE_COMPOSITE_HAS_SRC_TRANSFORM) + { + transform_to_pixman_transform (&composite->src_transform, &transform); + pixman_image_set_transform (s, &transform); + } + src_filter = (pixman_filter_t) EXTRACT (composite->flags, 8, 11); + src_repeat = (pixman_repeat_t) EXTRACT (composite->flags, 14, 16); + pixman_image_set_filter (s, src_filter, NULL, 0); + pixman_image_set_repeat (s, src_repeat); + + /* Mask */ + m = NULL; + if (composite->flags & SPICE_COMPOSITE_HAS_MASK) { + pixman_filter_t mask_filter = (pixman_filter_t) EXTRACT (composite->flags, 11, 14); + pixman_repeat_t mask_repeat = (pixman_repeat_t) EXTRACT (composite->flags, 16, 18); + pixman_bool_t component_alpha = EXTRACT (composite->flags, 18, 19); + + surface_canvas = canvas_get_surface(canvas, composite->mask_bitmap); + if (surface_canvas) { + m = surface_canvas->ops->get_image(surface_canvas, FALSE); + } else { + m = canvas_get_image(canvas, composite->mask_bitmap, FALSE); + } + + if (composite->flags & SPICE_COMPOSITE_HAS_MASK_TRANSFORM) { + transform_to_pixman_transform (&composite->mask_transform, &transform); + pixman_image_set_transform (m, &transform); + } + + pixman_image_set_repeat (m, mask_repeat); + pixman_image_set_filter (m, mask_filter, NULL, 0); + pixman_image_set_component_alpha (m, component_alpha); + } + + op = (pixman_op_t) EXTRACT (composite->flags, 0, 8); + + pixman_image_composite32 (op, s, m, d, + composite->src_origin.x, composite->src_origin.y, + composite->mask_origin.x, composite->mask_origin.y, + 0, 0, width, height); + + pixman_image_unref(s); + if (m) + pixman_image_unref(m); + + spice_canvas->ops->blit_image(spice_canvas, &dest_region, d, + bbox->left, + bbox->top); + + pixman_image_unref(d); + + pixman_region32_fini(&dest_region); +} + +static void canvas_copy_bits(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpicePoint *src_pos) +{ + CanvasBase *canvas = (CanvasBase *)spice_canvas; + pixman_region32_t dest_region; + int dx, dy; + + pixman_region32_init_rect(&dest_region, + bbox->left, bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top); + + canvas_clip_pixman(canvas, &dest_region, clip); + + dx = bbox->left - src_pos->x; + dy = bbox->top - src_pos->y; + + if (dx != 0 || dy != 0) { + pixman_region32_t src_region; + + /* Clip so we don't read outside canvas */ + pixman_region32_init_rect(&src_region, + dx, dy, + canvas->width, + canvas->height); + pixman_region32_intersect(&dest_region, &dest_region, &src_region); + pixman_region32_fini(&src_region); + + spice_canvas->ops->copy_region(spice_canvas, &dest_region, dx, dy); + } + + pixman_region32_fini(&dest_region); +} + + + +static void canvas_base_group_start(SpiceCanvas *spice_canvas, QRegion *region) +{ + CanvasBase *canvas = (CanvasBase *)spice_canvas; + pixman_region32_fini(&canvas->canvas_region); + + /* Make sure we always clip to canvas size */ + pixman_region32_init_rect(&canvas->canvas_region, + 0, 0, + canvas->width, + canvas->height); + + pixman_region32_intersect(&canvas->canvas_region, &canvas->canvas_region, region); +} + +static void canvas_base_group_end(SpiceCanvas *spice_canvas) +{ + CanvasBase *canvas = (CanvasBase *)spice_canvas; + pixman_region32_fini(&canvas->canvas_region); + pixman_region32_init_rect(&canvas->canvas_region, + 0, 0, + canvas->width, + canvas->height); +} + + +static void unimplemented_op(SpiceCanvas *canvas) +{ + spice_critical("unimplemented canvas operation"); +} + +inline static void canvas_base_init_ops(SpiceCanvasOps *ops) +{ + void **ops_cast; + unsigned i; + + ops_cast = (void **)ops; + for (i = 0; i < sizeof(SpiceCanvasOps) / sizeof(void *); i++) { + ops_cast[i] = (void *) unimplemented_op; + } + + ops->draw_fill = canvas_draw_fill; + ops->draw_copy = canvas_draw_copy; + ops->draw_opaque = canvas_draw_opaque; + ops->copy_bits = canvas_copy_bits; + ops->draw_blend = canvas_draw_blend; + ops->draw_blackness = canvas_draw_blackness; + ops->draw_whiteness = canvas_draw_whiteness; + ops->draw_invers = canvas_draw_invers; + ops->draw_transparent = canvas_draw_transparent; + ops->draw_alpha_blend = canvas_draw_alpha_blend; + ops->draw_stroke = canvas_draw_stroke; + ops->draw_rop3 = canvas_draw_rop3; + ops->draw_composite = canvas_draw_composite; + ops->group_start = canvas_base_group_start; + ops->group_end = canvas_base_group_end; +} + +static int canvas_base_init(CanvasBase *canvas, SpiceCanvasOps *ops, + int width, int height, uint32_t format +#ifdef SW_CANVAS_CACHE + , SpiceImageCache *bits_cache + , SpicePaletteCache *palette_cache +#elif defined(SW_CANVAS_IMAGE_CACHE) + , SpiceImageCache *bits_cache +#endif + , SpiceImageSurfaces *surfaces + , SpiceGlzDecoder *glz_decoder + , SpiceJpegDecoder *jpeg_decoder + , SpiceZlibDecoder *zlib_decoder + ) +{ + canvas->parent.ops = ops; + canvas->quic_data.usr.error = quic_usr_error; + canvas->quic_data.usr.warn = quic_usr_warn; + canvas->quic_data.usr.info = quic_usr_warn; + canvas->quic_data.usr.malloc = quic_usr_malloc; + canvas->quic_data.usr.free = quic_usr_free; + canvas->quic_data.usr.more_space = quic_usr_more_space; + canvas->quic_data.usr.more_lines = quic_usr_more_lines; + if (!(canvas->quic_data.quic = quic_create(&canvas->quic_data.usr))) { + return 0; + } + + canvas->lz_data.usr.error = lz_usr_error; + canvas->lz_data.usr.warn = lz_usr_warn; + canvas->lz_data.usr.info = lz_usr_warn; + canvas->lz_data.usr.malloc = lz_usr_malloc; + canvas->lz_data.usr.free = lz_usr_free; + canvas->lz_data.usr.more_space = lz_usr_more_space; + canvas->lz_data.usr.more_lines = lz_usr_more_lines; + if (!(canvas->lz_data.lz = lz_create(&canvas->lz_data.usr))) { + return 0; + } + + canvas->surfaces = surfaces; + canvas->glz_data.decoder = glz_decoder; + canvas->jpeg = jpeg_decoder; + canvas->zlib = zlib_decoder; + + canvas->format = format; + + /* TODO: This is all wrong now */ + if (SPICE_SURFACE_FMT_DEPTH(format) == 16) { + canvas->color_shift = 5; + canvas->color_mask = 0x1f; + } else { + canvas->color_shift = 8; + canvas->color_mask = 0xff; + } + + canvas->width = width; + canvas->height = height; + pixman_region32_init_rect(&canvas->canvas_region, + 0, 0, + canvas->width, + canvas->height); + +#if defined(SW_CANVAS_CACHE) || defined(SW_CANVAS_IMAGE_CACHE) + canvas->bits_cache = bits_cache; +#endif +#ifdef SW_CANVAS_CACHE + canvas->palette_cache = palette_cache; +#endif + +#ifdef WIN32 + canvas->dc = NULL; +#endif + +#ifdef GDI_CANVAS + canvas->dc = create_compatible_dc(); + if (!canvas->dc) { + lz_destroy(canvas->lz_data.lz); + return 0; + } +#endif + return 1; +} diff --git a/tizen/distrib/remote/common/spice-common/common/canvas_base.h b/tizen/distrib/remote/common/spice-common/common/canvas_base.h new file mode 100644 index 0000000..637cdc1 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/canvas_base.h @@ -0,0 +1,322 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_CANVAS_BASE +#define _H_CANVAS_BASE + +#include <spice/macros.h> + +#include "pixman_utils.h" +#include "lz.h" +#include "region.h" +#include "draw.h" +#ifdef WIN32 +#include <windows.h> +#endif + +SPICE_BEGIN_DECLS + +typedef void (*spice_destroy_fn_t)(void *data); + +typedef struct _SpiceImageCache SpiceImageCache; +typedef struct _SpiceImageSurfaces SpiceImageSurfaces; +typedef struct _SpicePaletteCache SpicePaletteCache; +typedef struct _SpiceGlzDecoder SpiceGlzDecoder; +typedef struct _SpiceJpegDecoder SpiceJpegDecoder; +typedef struct _SpiceZlibDecoder SpiceZlibDecoder; +typedef struct _SpiceCanvas SpiceCanvas; + +typedef struct { + void (*put)(SpiceImageCache *cache, + uint64_t id, + pixman_image_t *surface); + pixman_image_t *(*get)(SpiceImageCache *cache, + uint64_t id); +#ifdef SW_CANVAS_CACHE + void (*put_lossy)(SpiceImageCache *cache, + uint64_t id, + pixman_image_t *surface); + void (*replace_lossy)(SpiceImageCache *cache, + uint64_t id, + pixman_image_t *surface); + pixman_image_t *(*get_lossless)(SpiceImageCache *cache, + uint64_t id); +#endif +} SpiceImageCacheOps; + +struct _SpiceImageCache { + SpiceImageCacheOps *ops; +}; + +typedef struct { + SpiceCanvas *(*get)(SpiceImageSurfaces *surfaces, + uint32_t surface_id); +} SpiceImageSurfacesOps; + +struct _SpiceImageSurfaces { + SpiceImageSurfacesOps *ops; +}; + +typedef struct { + void (*put)(SpicePaletteCache *cache, + SpicePalette *palette); + SpicePalette *(*get)(SpicePaletteCache *cache, + uint64_t id); + void (*release)(SpicePaletteCache *cache, + SpicePalette *palette); +} SpicePaletteCacheOps; + +struct _SpicePaletteCache { + SpicePaletteCacheOps *ops; +}; + +typedef struct { + void (*decode)(SpiceGlzDecoder *decoder, + uint8_t *data, + SpicePalette *plt, + void *usr_data); +} SpiceGlzDecoderOps; + +struct _SpiceGlzDecoder { + SpiceGlzDecoderOps *ops; +}; + + +typedef struct SpiceJpegDecoderOps { + void (*begin_decode)(SpiceJpegDecoder *decoder, + uint8_t* data, + int data_size, + int* out_width, + int* out_height); + void (*decode)(SpiceJpegDecoder *decoder, + uint8_t* dest, + int stride, + int format); +} SpiceJpegDecoderOps; + +struct _SpiceJpegDecoder { + SpiceJpegDecoderOps *ops; +}; + +typedef struct { + void (*decode)(SpiceZlibDecoder *decoder, + uint8_t *data, + int data_size, + uint8_t *dest, + int dest_size); +} SpiceZlibDecoderOps; + +struct _SpiceZlibDecoder { + SpiceZlibDecoderOps *ops; +}; + +typedef struct { + void (*draw_fill)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceFill *fill); + void (*draw_copy)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceCopy *copy); + void (*draw_opaque)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceOpaque *opaque); + void (*copy_bits)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpicePoint *src_pos); + void (*draw_text)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceText *text); + void (*draw_stroke)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceStroke *stroke); + void (*draw_rop3)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceRop3 *rop3); + void (*draw_composite)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceComposite *composite); + void (*draw_blend)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceBlend *blend); + void (*draw_blackness)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceBlackness *blackness); + void (*draw_whiteness)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceWhiteness *whiteness); + void (*draw_invers)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceInvers *invers); + void (*draw_transparent)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceTransparent* transparent); + void (*draw_alpha_blend)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceAlphaBlend* alpha_blend); + void (*put_image)(SpiceCanvas *canvas, +#ifdef WIN32 + HDC dc, +#endif + const SpiceRect *dest, const uint8_t *src_data, + uint32_t src_width, uint32_t src_height, int src_stride, + const QRegion *clip); + void (*clear)(SpiceCanvas *canvas); + void (*read_bits)(SpiceCanvas *canvas, uint8_t *dest, int dest_stride, const SpiceRect *area); + void (*group_start)(SpiceCanvas *canvas, QRegion *region); + void (*group_end)(SpiceCanvas *canvas); + void (*destroy)(SpiceCanvas *canvas); + + /* Implementation vfuncs */ + void (*fill_solid_spans)(SpiceCanvas *canvas, + SpicePoint *points, + int *widths, + int n_spans, + uint32_t color); + void (*fill_solid_rects)(SpiceCanvas *canvas, + pixman_box32_t *rects, + int n_rects, + uint32_t color); + void (*fill_solid_rects_rop)(SpiceCanvas *canvas, + pixman_box32_t *rects, + int n_rects, + uint32_t color, + SpiceROP rop); + void (*fill_tiled_rects)(SpiceCanvas *canvas, + pixman_box32_t *rects, + int n_rects, + pixman_image_t *tile, + int offset_x, int offset_y); + void (*fill_tiled_rects_from_surface)(SpiceCanvas *canvas, + pixman_box32_t *rects, + int n_rects, + SpiceCanvas *tile, + int offset_x, int offset_y); + void (*fill_tiled_rects_rop)(SpiceCanvas *canvas, + pixman_box32_t *rects, + int n_rects, + pixman_image_t *tile, + int offset_x, int offset_y, + SpiceROP rop); + void (*fill_tiled_rects_rop_from_surface)(SpiceCanvas *canvas, + pixman_box32_t *rects, + int n_rects, + SpiceCanvas *tile, + int offset_x, int offset_y, + SpiceROP rop); + void (*blit_image)(SpiceCanvas *canvas, + pixman_region32_t *region, + pixman_image_t *src_image, + int offset_x, int offset_y); + void (*blit_image_from_surface)(SpiceCanvas *canvas, + pixman_region32_t *region, + SpiceCanvas *src_image, + int offset_x, int offset_y); + void (*blit_image_rop)(SpiceCanvas *canvas, + pixman_region32_t *region, + pixman_image_t *src_image, + int offset_x, int offset_y, + SpiceROP rop); + void (*blit_image_rop_from_surface)(SpiceCanvas *canvas, + pixman_region32_t *region, + SpiceCanvas *src_image, + int offset_x, int offset_y, + SpiceROP rop); + void (*scale_image)(SpiceCanvas *canvas, + pixman_region32_t *region, + pixman_image_t *src_image, + int src_x, int src_y, + int src_width, int src_height, + int dest_x, int dest_y, + int dest_width, int dest_height, + int scale_mode); + void (*scale_image_from_surface)(SpiceCanvas *canvas, + pixman_region32_t *region, + SpiceCanvas *src_image, + int src_x, int src_y, + int src_width, int src_height, + int dest_x, int dest_y, + int dest_width, int dest_height, + int scale_mode); + void (*scale_image_rop)(SpiceCanvas *canvas, + pixman_region32_t *region, + pixman_image_t *src_image, + int src_x, int src_y, + int src_width, int src_height, + int dest_x, int dest_y, + int dest_width, int dest_height, + int scale_mode, SpiceROP rop); + void (*scale_image_rop_from_surface)(SpiceCanvas *canvas, + pixman_region32_t *region, + SpiceCanvas *src_image, + int src_x, int src_y, + int src_width, int src_height, + int dest_x, int dest_y, + int dest_width, int dest_height, + int scale_mode, SpiceROP rop); + void (*blend_image)(SpiceCanvas *canvas, + pixman_region32_t *region, + int dest_has_alpha, + pixman_image_t *src_image, + int src_x, int src_y, + int dest_x, int dest_y, + int width, int height, + int overall_alpha); + void (*blend_image_from_surface)(SpiceCanvas *canvas, + pixman_region32_t *region, + int dest_has_alpha, + SpiceCanvas *src_image, + int src_has_alpha, + int src_x, int src_y, + int dest_x, int dest_y, + int width, int height, + int overall_alpha); + void (*blend_scale_image)(SpiceCanvas *canvas, + pixman_region32_t *region, + int dest_has_alpha, + pixman_image_t *src_image, + int src_x, int src_y, + int src_width, int src_height, + int dest_x, int dest_y, + int dest_width, int dest_height, + int scale_mode, + int overall_alpha); + void (*blend_scale_image_from_surface)(SpiceCanvas *canvas, + pixman_region32_t *region, + int dest_has_alpha, + SpiceCanvas *src_image, + int src_has_alpha, + int src_x, int src_y, + int src_width, int src_height, + int dest_x, int dest_y, + int dest_width, int dest_height, + int scale_mode, + int overall_alpha); + void (*colorkey_image)(SpiceCanvas *canvas, + pixman_region32_t *region, + pixman_image_t *src_image, + int offset_x, int offset_y, + uint32_t transparent_color); + void (*colorkey_image_from_surface)(SpiceCanvas *canvas, + pixman_region32_t *region, + SpiceCanvas *src_image, + int offset_x, int offset_y, + uint32_t transparent_color); + void (*colorkey_scale_image)(SpiceCanvas *canvas, + pixman_region32_t *region, + pixman_image_t *src_image, + int src_x, int src_y, + int src_width, int src_height, + int dest_x, int dest_y, + int dest_width, int dest_height, + uint32_t transparent_color); + void (*colorkey_scale_image_from_surface)(SpiceCanvas *canvas, + pixman_region32_t *region, + SpiceCanvas *src_image, + int src_x, int src_y, + int src_width, int src_height, + int dest_x, int dest_y, + int dest_width, int dest_height, + uint32_t transparent_color); + void (*copy_region)(SpiceCanvas *canvas, + pixman_region32_t *dest_region, + int dx, int dy); + pixman_image_t *(*get_image)(SpiceCanvas *canvas, int force_opaque); +} SpiceCanvasOps; + +void spice_canvas_set_usr_data(SpiceCanvas *canvas, void *data, spice_destroy_fn_t destroy_fn); +void *spice_canvas_get_usr_data(SpiceCanvas *canvas); + +struct _SpiceCanvas { + SpiceCanvasOps *ops; +}; + +SPICE_END_DECLS + +#endif diff --git a/tizen/distrib/remote/common/spice-common/common/canvas_utils.c b/tizen/distrib/remote/common/spice-common/common/canvas_utils.c new file mode 100644 index 0000000..feb89cb --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/canvas_utils.c @@ -0,0 +1,299 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "spice_common.h" +#include "canvas_utils.h" + +#ifdef __GNUC__ +#include <stdlib.h> +#include <stdio.h> +#endif +#include "mem.h" + +#ifdef WIN32 +static int gdi_handlers = 0; +#endif + +static void release_data(pixman_image_t *image, void *release_data) +{ + PixmanData *data = (PixmanData *)release_data; + +#ifdef WIN32 + if (data->bitmap) { + DeleteObject((HBITMAP)data->bitmap); + CloseHandle(data->mutex); + gdi_handlers--; + } +#endif + free(data->data); + + free(data); +} + +static PixmanData * +pixman_image_add_data(pixman_image_t *image) +{ + PixmanData *data; + + data = (PixmanData *)pixman_image_get_destroy_data(image); + if (data == NULL) { + data = (PixmanData *)calloc(1, sizeof(PixmanData)); + if (data == NULL) { + spice_error("out of memory"); + } + pixman_image_set_destroy_function(image, + release_data, + data); + } + + return data; +} + +void +spice_pixman_image_set_format(pixman_image_t *image, + pixman_format_code_t format) +{ + PixmanData *data; + + data = pixman_image_add_data(image); + data->format = format; +} + + +int spice_pixman_image_get_format(pixman_image_t *image, pixman_format_code_t *format) +{ + PixmanData *data; + + spice_return_val_if_fail(format != NULL, 0); + + data = (PixmanData *)pixman_image_get_destroy_data(image); + if (data != NULL && data->format != 0) { + *format = data->format; + return 1; + } + + spice_warn_if_reached(); + return 0; +} + +static INLINE pixman_image_t *__surface_create_stride(pixman_format_code_t format, int width, int height, + int stride) +{ + uint8_t *data; + uint8_t *stride_data; + pixman_image_t *surface; + PixmanData *pixman_data; + + data = (uint8_t *)spice_malloc_n(abs(stride), height); + if (stride < 0) { + stride_data = data + (-stride) * (height - 1); + } else { + stride_data = data; + } + + surface = pixman_image_create_bits(format, width, height, (uint32_t *)stride_data, stride); + + if (surface == NULL) { + free(data); + spice_error("create surface failed, out of memory"); + } + + pixman_data = pixman_image_add_data(surface); + pixman_data->data = data; + pixman_data->format = format; + + return surface; +} + +#ifdef WIN32 +pixman_image_t *surface_create(HDC dc, pixman_format_code_t format, + int width, int height, int top_down) +#else +pixman_image_t * surface_create(pixman_format_code_t format, int width, int height, int top_down) +#endif +{ +#ifdef WIN32 + /* + * Windows xp allow only 10,000 of gdi handlers, considering the fact that + * we limit here the number to 5000, we dont use atomic operations to sync + * this calculation against the other canvases (in case of multiple + * monitors), in worst case there will be little more than 5000 gdi + * handlers. + */ + if (dc && gdi_handlers < 5000) { + uint8_t *data; + uint8_t *src; + struct { + BITMAPINFO inf; + RGBQUAD palette[255]; + } bitmap_info; + int nstride; + pixman_image_t *surface; + PixmanData *pixman_data; + HBITMAP bitmap; + HANDLE mutex; + + memset(&bitmap_info, 0, sizeof(bitmap_info)); + bitmap_info.inf.bmiHeader.biSize = sizeof(bitmap_info.inf.bmiHeader); + bitmap_info.inf.bmiHeader.biWidth = width; + + bitmap_info.inf.bmiHeader.biHeight = (!top_down) ? height : -height; + + bitmap_info.inf.bmiHeader.biPlanes = 1; + switch (format) { + case PIXMAN_a8r8g8b8: + case PIXMAN_x8r8g8b8: + bitmap_info.inf.bmiHeader.biBitCount = 32; + nstride = width * 4; + break; + case PIXMAN_x1r5g5b5: + case PIXMAN_r5g6b5: + bitmap_info.inf.bmiHeader.biBitCount = 16; + nstride = SPICE_ALIGN(width * 2, 4); + break; + case PIXMAN_a8: + bitmap_info.inf.bmiHeader.biBitCount = 8; + nstride = SPICE_ALIGN(width, 4); + break; + case PIXMAN_a1: + bitmap_info.inf.bmiHeader.biBitCount = 1; + nstride = SPICE_ALIGN(width, 32) / 8; + break; + default: + spice_error("invalid format"); + return NULL; + } + + bitmap_info.inf.bmiHeader.biCompression = BI_RGB; + + mutex = CreateMutex(NULL, 0, NULL); + if (!mutex) { + spice_error("Unable to CreateMutex"); + } + + bitmap = CreateDIBSection(dc, &bitmap_info.inf, 0, (VOID **)&data, NULL, 0); + if (!bitmap) { + CloseHandle(mutex); + spice_error("Unable to CreateDIBSection"); + } + + if (top_down) { + src = data; + } else { + src = data + nstride * (height - 1); + nstride = -nstride; + } + + surface = pixman_image_create_bits(format, width, height, (uint32_t *)src, nstride); + if (surface == NULL) { + CloseHandle(mutex); + DeleteObject(bitmap); + spice_error("create surface failed, out of memory"); + } + pixman_data = pixman_image_add_data(surface); + pixman_data->format = format; + pixman_data->bitmap = bitmap; + pixman_data->mutex = mutex; + gdi_handlers++; + return surface; + } else { +#endif + if (top_down) { + pixman_image_t *surface; + PixmanData *data; + + surface = pixman_image_create_bits(format, width, height, NULL, 0); + data = pixman_image_add_data(surface); + data->format = format; + return surface; + } else { + // NOTE: we assume here that the lz decoders always decode to RGB32. + int stride = 0; + switch (format) { + case PIXMAN_a8r8g8b8: + case PIXMAN_x8r8g8b8: + stride = width * 4; + break; + case PIXMAN_x1r5g5b5: + case PIXMAN_r5g6b5: + stride = SPICE_ALIGN(width * 2, 4); + break; + case PIXMAN_a8: + stride = SPICE_ALIGN(width, 4); + break; + case PIXMAN_a1: + stride = SPICE_ALIGN(width, 32) / 8; + break; + default: + spice_error("invalid format"); + } + stride = -stride; + return __surface_create_stride(format, width, height, stride); + } +#ifdef WIN32 +} + +#endif +} + +#ifdef WIN32 +pixman_image_t *surface_create_stride(HDC dc, pixman_format_code_t format, int width, int height, + int stride) +#else +pixman_image_t *surface_create_stride(pixman_format_code_t format, int width, int height, + int stride) +#endif +{ +#ifdef WIN32 + if (dc) { + if (abs(stride) == (width * 4)) { + return surface_create(dc, format, width, height, (stride > 0)); + } + } +#endif + + return __surface_create_stride(format, width, height, stride); +} + +pixman_image_t *alloc_lz_image_surface(LzDecodeUsrData *canvas_data, + pixman_format_code_t pixman_format, int width, + int height, int gross_pixels, int top_down) +{ + int stride; + pixman_image_t *surface = NULL; + + stride = (gross_pixels / height) * (PIXMAN_FORMAT_BPP (pixman_format) / 8); + + /* pixman requires strides to be 4-byte aligned */ + stride = SPICE_ALIGN(stride, 4); + + if (!top_down) { + stride = -stride; + } + + surface = surface_create_stride( +#ifdef WIN32 + canvas_data->dc, +#endif + pixman_format, width, height, stride); + canvas_data->out_surface = surface; + return surface; +} diff --git a/tizen/distrib/remote/common/spice-common/common/canvas_utils.h b/tizen/distrib/remote/common/spice-common/common/canvas_utils.h new file mode 100644 index 0000000..ef3f9c5 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/canvas_utils.h @@ -0,0 +1,78 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_CANVAS_UTILS +#define _H_CANVAS_UTILS + +#ifdef WIN32 +#include <windows.h> +#endif + +#include <spice/types.h> +#include <spice/macros.h> + +#include "pixman_utils.h" +#include "lz.h" + +SPICE_BEGIN_DECLS + +typedef struct PixmanData { +#ifdef WIN32 + HBITMAP bitmap; + HANDLE mutex; +#endif + uint8_t *data; + pixman_format_code_t format; +} PixmanData; + +void spice_pixman_image_set_format(pixman_image_t *image, + pixman_format_code_t format); +int spice_pixman_image_get_format(pixman_image_t *image, pixman_format_code_t *format); + + +#ifdef WIN32 +pixman_image_t *surface_create(HDC dc, pixman_format_code_t format, + int width, int height, int top_down); +#else +pixman_image_t *surface_create(pixman_format_code_t format, int width, int height, int top_down); +#endif + +#ifdef WIN32 +pixman_image_t *surface_create_stride(HDC dc, pixman_format_code_t format, int width, int height, + int stride); +#else +pixman_image_t *surface_create_stride(pixman_format_code_t format, int width, int height, + int stride); +#endif + + +typedef struct LzDecodeUsrData { +#ifdef WIN32 + HDC dc; +#endif + pixman_image_t *out_surface; +} LzDecodeUsrData; + + +pixman_image_t *alloc_lz_image_surface(LzDecodeUsrData *canvas_data, + pixman_format_code_t pixman_format, int width, + int height, int gross_pixels, int top_down); + +SPICE_END_DECLS + +#endif diff --git a/tizen/distrib/remote/common/spice-common/common/client_demarshallers.h b/tizen/distrib/remote/common/spice-common/common/client_demarshallers.h new file mode 100644 index 0000000..af095a0 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/client_demarshallers.h @@ -0,0 +1,35 @@ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifndef _H_DEMARSHAL +#define _H_DEMARSHAL + +#include <stddef.h> +#include <spice/macros.h> + +SPICE_BEGIN_DECLS + +typedef void (*message_destructor_t)(uint8_t *message); +typedef uint8_t * (*spice_parse_channel_func_t)(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, + size_t *size_out, message_destructor_t *free_message); + +spice_parse_channel_func_t spice_get_server_channel_parser(uint32_t channel, unsigned int *max_message_type); +spice_parse_channel_func_t spice_get_server_channel_parser1(uint32_t channel, unsigned int *max_message_type); + +SPICE_END_DECLS + +#endif + diff --git a/tizen/distrib/remote/common/spice-common/common/client_marshallers.h b/tizen/distrib/remote/common/spice-common/common/client_marshallers.h new file mode 100644 index 0000000..e93b5cf --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/client_marshallers.h @@ -0,0 +1,85 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_MARSHALLERS +#define _H_MARSHALLERS + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include <spice/protocol.h> + +#include "marshaller.h" +#include "messages.h" + +SPICE_BEGIN_DECLS + +typedef struct { + void (*msg_SpiceMsgEmpty)(SpiceMarshaller *m, SpiceMsgEmpty *msg); + void (*msg_SpiceMsgData)(SpiceMarshaller *m, SpiceMsgData *msg); + void (*msg_SpiceMsgAudioVolume)(SpiceMarshaller *m, SpiceMsgAudioVolume *msg); + void (*msg_SpiceMsgAudioMute)(SpiceMarshaller *m, SpiceMsgAudioMute *msg); + void (*msgc_ack_sync)(SpiceMarshaller *m, SpiceMsgcAckSync *msg); + void (*msgc_pong)(SpiceMarshaller *m, SpiceMsgPing *msg); + void (*msgc_disconnecting)(SpiceMarshaller *m, SpiceMsgDisconnect *msg); + void (*msgc_main_client_info)(SpiceMarshaller *m, SpiceMsgcClientInfo *msg); + void (*msgc_main_mouse_mode_request)(SpiceMarshaller *m, SpiceMsgcMainMouseModeRequest *msg); + void (*msgc_main_agent_start)(SpiceMarshaller *m, SpiceMsgcMainAgentStart *msg); + void (*msgc_main_agent_token)(SpiceMarshaller *m, SpiceMsgcMainAgentTokens *msg); + void (*msgc_main_migrate_dst_do_seamless)(SpiceMarshaller *m, SpiceMsgcMainMigrateDstDoSeamless *msg); + void (*msgc_display_init)(SpiceMarshaller *m, SpiceMsgcDisplayInit *msg); + void (*msgc_inputs_key_down)(SpiceMarshaller *m, SpiceMsgcKeyDown *msg); + void (*msgc_inputs_key_up)(SpiceMarshaller *m, SpiceMsgcKeyUp *msg); +#ifdef CONFIG_MARU + void (*msgc_inputs_tizen_keydown)(SpiceMarshaller *m, SpiceMsgcKeyDown *msg); + void (*msgc_inputs_tizen_keyup)(SpiceMarshaller *m, SpiceMsgcKeyUp *msg); +#endif + void (*msgc_inputs_key_modifiers)(SpiceMarshaller *m, SpiceMsgcKeyModifiers *msg); + void (*msgc_inputs_mouse_motion)(SpiceMarshaller *m, SpiceMsgcMouseMotion *msg); + void (*msgc_inputs_mouse_position)(SpiceMarshaller *m, SpiceMsgcMousePosition *msg); + void (*msgc_inputs_mouse_press)(SpiceMarshaller *m, SpiceMsgcMousePress *msg); + void (*msgc_inputs_mouse_release)(SpiceMarshaller *m, SpiceMsgcMouseRelease *msg); + void (*msgc_record_data)(SpiceMarshaller *m, SpiceMsgcRecordPacket *msg); + void (*msgc_record_mode)(SpiceMarshaller *m, SpiceMsgcRecordMode *msg); + void (*msgc_record_start_mark)(SpiceMarshaller *m, SpiceMsgcRecordStartMark *msg); + void (*msgc_tunnel_service_add)(SpiceMarshaller *m, SpiceMsgcTunnelAddGenericService *msg, SpiceMarshaller **name_out, SpiceMarshaller **description_out); + void (*msgc_tunnel_service_remove)(SpiceMarshaller *m, SpiceMsgcTunnelRemoveService *msg); + void (*msgc_tunnel_socket_open_ack)(SpiceMarshaller *m, SpiceMsgcTunnelSocketOpenAck *msg); + void (*msgc_tunnel_socket_open_nack)(SpiceMarshaller *m, SpiceMsgcTunnelSocketOpenNack *msg); + void (*msgc_tunnel_socket_fin)(SpiceMarshaller *m, SpiceMsgcTunnelSocketFin *msg); + void (*msgc_tunnel_socket_closed)(SpiceMarshaller *m, SpiceMsgcTunnelSocketClosed *msg); + void (*msgc_tunnel_socket_closed_ack)(SpiceMarshaller *m, SpiceMsgcTunnelSocketClosedAck *msg); + void (*msgc_tunnel_socket_data)(SpiceMarshaller *m, SpiceMsgcTunnelSocketData *msg); + void (*msgc_tunnel_socket_token)(SpiceMarshaller *m, SpiceMsgcTunnelSocketTokens *msg); +#ifdef USE_SMARTCARD + void (*msgc_smartcard_atr)(SpiceMarshaller *m, VSCMsgATR *msg); + void (*msgc_smartcard_error)(SpiceMarshaller *m, VSCMsgError *msg); + void (*msgc_smartcard_header)(SpiceMarshaller *m, VSCMsgHeader *msg); + void (*msgc_smartcard_data)(SpiceMarshaller *m, SpiceMsgcSmartcard *msg, SpiceMarshaller **reader_name_out); + void (*msgc_smartcard_reader_add)(SpiceMarshaller *m, VSCMsgReaderAdd *msg); +#endif + void (*msgc_port_event)(SpiceMarshaller *m, SpiceMsgcPortEvent *msg); +} SpiceMessageMarshallers; + +SpiceMessageMarshallers *spice_message_marshallers_get(void); +SpiceMessageMarshallers *spice_message_marshallers_get1(void); + +SPICE_END_DECLS + +#endif diff --git a/tizen/distrib/remote/common/spice-common/common/draw.h b/tizen/distrib/remote/common/spice-common/common/draw.h new file mode 100644 index 0000000..3704358 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/draw.h @@ -0,0 +1,298 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef _H_SPICE_DRAW +#define _H_SPICE_DRAW + +#include <spice/macros.h> +#include <spice/types.h> +#include <spice/enums.h> +#include "mem.h" + +SPICE_BEGIN_DECLS + +#define SPICE_GET_ADDRESS(addr) ((void *)(uintptr_t)(addr)) +#define SPICE_SET_ADDRESS(addr, val) ((addr) = (uintptr_t)(val)) + +typedef int32_t SPICE_FIXED28_4; + +typedef struct SpicePointFix { + SPICE_FIXED28_4 x; + SPICE_FIXED28_4 y; +} SpicePointFix; + +typedef struct SpicePoint { + int32_t x; + int32_t y; +} SpicePoint; + +typedef struct SpicePoint16 { + int16_t x; + int16_t y; +} SpicePoint16; + +typedef struct SpiceRect { + int32_t left; + int32_t top; + int32_t right; + int32_t bottom; +} SpiceRect; + +typedef struct SpicePathSeg { + uint32_t flags; + uint32_t count; + SpicePointFix points[0]; +} SpicePathSeg; + +typedef struct SpicePath { + uint32_t num_segments; + SpicePathSeg *segments[0]; +} SpicePath; + +typedef struct SpiceClipRects { + uint32_t num_rects; + SpiceRect rects[0]; +} SpiceClipRects; + +typedef struct SpiceClip { + uint8_t type; + SpiceClipRects *rects; +} SpiceClip; + +typedef struct SpicePalette { + uint64_t unique; + uint16_t num_ents; + uint32_t ents[0]; +} SpicePalette; + +#define SPICE_SURFACE_FMT_DEPTH(_d) ((_d) & 0x3f) + +typedef struct SpiceImageDescriptor { + uint64_t id; + uint8_t type; + uint8_t flags; + uint32_t width; + uint32_t height; +} SpiceImageDescriptor; + +typedef struct SpiceBitmap { + uint8_t format; + uint8_t flags; + uint32_t x; + uint32_t y; + uint32_t stride; + SpicePalette *palette; + uint64_t palette_id; + SpiceChunks *data; +} SpiceBitmap; + +typedef struct SpiceSurface { + uint32_t surface_id; +} SpiceSurface; + +typedef struct SpiceQUICData { + uint32_t data_size; + SpiceChunks *data; +} SpiceQUICData, SpiceLZRGBData, SpiceJPEGData; + +typedef struct SpiceLZPLTData { + uint8_t flags; + uint32_t data_size; + SpicePalette *palette; + uint64_t palette_id; + SpiceChunks *data; +} SpiceLZPLTData; + +typedef struct SpiceZlibGlzRGBData { + uint32_t glz_data_size; + uint32_t data_size; + SpiceChunks *data; +} SpiceZlibGlzRGBData; + +typedef struct SpiceJPEGAlphaData { + uint8_t flags; + uint32_t jpeg_size; + uint32_t data_size; + SpiceChunks *data; +} SpiceJPEGAlphaData; + + +typedef struct SpiceImage { + SpiceImageDescriptor descriptor; + union { + SpiceBitmap bitmap; + SpiceQUICData quic; + SpiceSurface surface; + SpiceLZRGBData lz_rgb; + SpiceLZPLTData lz_plt; + SpiceJPEGData jpeg; + SpiceZlibGlzRGBData zlib_glz; + SpiceJPEGAlphaData jpeg_alpha; + } u; +} SpiceImage; + +typedef struct SpicePattern { + SpiceImage *pat; + SpicePoint pos; +} SpicePattern; + +typedef struct SpiceBrush { + uint32_t type; + union { + uint32_t color; + SpicePattern pattern; + } u; +} SpiceBrush; + +typedef struct SpiceQMask { + uint8_t flags; + SpicePoint pos; + SpiceImage *bitmap; +} SpiceQMask; + +typedef struct SpiceFill { + SpiceBrush brush; + uint16_t rop_descriptor; + SpiceQMask mask; +} SpiceFill; + +typedef struct SpiceOpaque { + SpiceImage *src_bitmap; + SpiceRect src_area; + SpiceBrush brush; + uint16_t rop_descriptor; + uint8_t scale_mode; + SpiceQMask mask; +} SpiceOpaque; + +typedef struct SpiceCopy { + SpiceImage *src_bitmap; + SpiceRect src_area; + uint16_t rop_descriptor; + uint8_t scale_mode; + SpiceQMask mask; +} SpiceCopy, SpiceBlend; + +typedef struct SpiceTransparent { + SpiceImage *src_bitmap; + SpiceRect src_area; + uint32_t src_color; + uint32_t true_color; +} SpiceTransparent; + +typedef struct SpiceAlphaBlend { + uint16_t alpha_flags; + uint8_t alpha; + SpiceImage *src_bitmap; + SpiceRect src_area; +} SpiceAlphaBlend; + +typedef struct SpiceRop3 { + SpiceImage *src_bitmap; + SpiceRect src_area; + SpiceBrush brush; + uint8_t rop3; + uint8_t scale_mode; + SpiceQMask mask; +} SpiceRop3; + +/* Given in 16.16 fixed point */ +typedef struct SpiceTransform { + uint32_t t00; + uint32_t t01; + uint32_t t02; + uint32_t t10; + uint32_t t11; + uint32_t t12; +} SpiceTransform; + +typedef struct SpiceComposite { + uint32_t flags; + SpiceImage *src_bitmap; + SpiceImage *mask_bitmap; + SpiceTransform src_transform; + SpiceTransform mask_transform; + SpicePoint16 src_origin; + SpicePoint16 mask_origin; +} SpiceComposite; + +typedef struct SpiceBlackness { + SpiceQMask mask; +} SpiceBlackness, SpiceInvers, SpiceWhiteness; + +typedef struct SpiceLineAttr { + uint8_t flags; + uint8_t style_nseg; + SPICE_FIXED28_4 *style; +} SpiceLineAttr; + +typedef struct SpiceStroke { + SpicePath *path; + SpiceLineAttr attr; + SpiceBrush brush; + uint16_t fore_mode; + uint16_t back_mode; +} SpiceStroke; + +typedef struct SpiceRasterGlyph { + SpicePoint render_pos; + SpicePoint glyph_origin; + uint16_t width; + uint16_t height; + uint8_t data[0]; +} SpiceRasterGlyph; + +typedef struct SpiceString { + uint16_t length; + uint16_t flags; + SpiceRasterGlyph *glyphs[0]; +} SpiceString; + +typedef struct SpiceText { + SpiceString *str; + SpiceRect back_area; + SpiceBrush fore_brush; + SpiceBrush back_brush; + uint16_t fore_mode; + uint16_t back_mode; +} SpiceText; + +typedef struct SpiceCursorHeader { + uint64_t unique; + uint16_t type; + uint16_t width; + uint16_t height; + uint16_t hot_spot_x; + uint16_t hot_spot_y; +} SpiceCursorHeader; + +SPICE_END_DECLS + +#endif /* _H_SPICE_DRAW */ diff --git a/tizen/distrib/remote/common/spice-common/common/gdi_canvas.c b/tizen/distrib/remote/common/spice-common/common/gdi_canvas.c new file mode 100644 index 0000000..deb7649 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/gdi_canvas.c @@ -0,0 +1,1866 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#ifdef __MINGW32__ +#undef HAVE_STDLIB_H +#endif +#include <config.h> +#endif + +#include <windows.h> +#include <wingdi.h> +#include "gdi_canvas.h" +#define GDI_CANVAS +#include "canvas_base.c" +#include "rop3.h" +#include "rect.h" +#include "region.h" +#include "threads.h" + +typedef struct GdiCanvas GdiCanvas; + +struct GdiCanvas { + CanvasBase base; + HDC dc; + RecurciveMutex* lock; +}; + + +struct BitmapData { + HBITMAP hbitmap; + HBITMAP prev_hbitmap; + SpicePoint pos; + uint8_t flags; + HDC dc; + int cache; + int from_surface; +}; + +#define _rop3_brush 0xf0 +#define _rop3_src 0xcc +#define _rop3_dest 0xaa + +uint32_t raster_ops[] = { + 0x00000042, + 0x00010289, + 0x00020C89, + 0x000300AA, + 0x00040C88, + 0x000500A9, + 0x00060865, + 0x000702C5, + 0x00080F08, + 0x00090245, + 0x000A0329, + 0x000B0B2A, + 0x000C0324, + 0x000D0B25, + 0x000E08A5, + 0x000F0001, + 0x00100C85, + 0x001100A6, + 0x00120868, + 0x001302C8, + 0x00140869, + 0x001502C9, + 0x00165CCA, + 0x00171D54, + 0x00180D59, + 0x00191CC8, + 0x001A06C5, + 0x001B0768, + 0x001C06CA, + 0x001D0766, + 0x001E01A5, + 0x001F0385, + 0x00200F09, + 0x00210248, + 0x00220326, + 0x00230B24, + 0x00240D55, + 0x00251CC5, + 0x002606C8, + 0x00271868, + 0x00280369, + 0x002916CA, + 0x002A0CC9, + 0x002B1D58, + 0x002C0784, + 0x002D060A, + 0x002E064A, + 0x002F0E2A, + 0x0030032A, + 0x00310B28, + 0x00320688, + 0x00330008, + 0x003406C4, + 0x00351864, + 0x003601A8, + 0x00370388, + 0x0038078A, // PSDPoax + 0x00390604, // SPDnox + 0x003A0644, // SPDSxox + 0x003B0E24, // SPDnoan + 0x003C004A, // PSx + 0x003D18A4, // SPDSonox + 0x003E1B24, // SPDSnaox + 0x003F00EA, // PSan + 0x00400F0A, // PSDnaa + 0x00410249, // DPSxon + 0x00420D5D, // SDxPDxa + 0x00431CC4, // SPDSanaxn + 0x00440328, // SDna SRCERASE + 0x00450B29, // DPSnaon + 0x004606C6, // DSPDaox + 0x0047076A, // PSDPxaxn + 0x00480368, // SDPxa + 0x004916C5, // PDSPDaoxxn + 0x004A0789, // DPSDoax + 0x004B0605, // PDSnox + 0x004C0CC8, // SDPana + 0x004D1954, // SSPxDSxoxn + 0x004E0645, // PDSPxox + 0x004F0E25, // PDSnoan + 0x00500325, // PDna + 0x00510B26, // DSPnaon + 0x005206C9, // DPSDaox + 0x00530764, // SPDSxaxn + 0x005408A9, // DPSonon + 0x00550009, // Dn DSTINVERT + 0x005601A9, // DPSox + 0x00570389, // DPSoan + 0x00580785, // PDSPoax + 0x00590609, // DPSnox + 0x005A0049, // DPx PATINVERT + 0x005B18A9, // DPSDonox + 0x005C0649, // DPSDxox + 0x005D0E29, // DPSnoan + 0x005E1B29, // DPSDnaox + 0x005F00E9, // DPan + 0x00600365, // PDSxa + 0x006116C6, // DSPDSaoxxn + 0x00620786, // DSPDoax + 0x00630608, // SDPnox + 0x00640788, // SDPSoax + 0x00650606, // DSPnox + 0x00660046, // DSx SRCINVERT + 0x006718A8, // SDPSonox + 0x006858A6, // DSPDSonoxxn + 0x00690145, // PDSxxn + 0x006A01E9, // DPSax + 0x006B178A, // PSDPSoaxxn + 0x006C01E8, // SDPax + 0x006D1785, // PDSPDoaxxn + 0x006E1E28, // SDPSnoax + 0x006F0C65, // PDSxnan + 0x00700CC5, // PDSana + 0x00711D5C, // SSDxPDxaxn + 0x00720648, // SDPSxox + 0x00730E28, // SDPnoan + 0x00740646, // DSPDxox + 0x00750E26, // DSPnoan + 0x00761B28, // SDPSnaox + 0x007700E6, // DSan + 0x007801E5, // PDSax + 0x00791786, // DSPDSoaxxn + 0x007A1E29, // DPSDnoax + 0x007B0C68, // SDPxnan + 0x007C1E24, // SPDSnoax + 0x007D0C69, // DPSxnan + 0x007E0955, // SPxDSxo + 0x007F03C9, // DPSaan + 0x008003E9, // DPSaa + 0x00810975, // SPxDSxon + 0x00820C49, // DPSxna + 0x00831E04, // SPDSnoaxn + 0x00840C48, // SDPxna + 0x00851E05, // PDSPnoaxn + 0x008617A6, // DSPDSoaxx + 0x008701C5, // PDSaxn + 0x008800C6, // DSa SRCAND + 0x00891B08, // SDPSnaoxn + 0x008A0E06, // DSPnoa + 0x008B0666, // DSPDxoxn + 0x008C0E08, // SDPnoa + 0x008D0668, // SDPSxoxn + 0x008E1D7C, // SSDxPDxax + 0x008F0CE5, // PDSanan + 0x00900C45, // PDSxna + 0x00911E08, // SDPSnoaxn + 0x009217A9, // DPSDPoaxx + 0x009301C4, // SPDaxn + 0x009417AA, // PSDPSoaxx + 0x009501C9, // DPSaxn + 0x00960169, // DPSxx + 0x0097588A, // PSDPSonoxx + 0x00981888, // SDPSonoxn + 0x00990066, // DSxn + 0x009A0709, // DPSnax + 0x009B07A8, // SDPSoaxn + 0x009C0704, // SPDnax + 0x009D07A6, // DSPDoaxn + 0x009E16E6, // DSPDSaoxx + 0x009F0345, // PDSxan + 0x00A000C9, // DPa + 0x00A11B05, // PDSPnaoxn + 0x00A20E09, // DPSnoa + 0x00A30669, // DPSDxoxn + 0x00A41885, // PDSPonoxn + 0x00A50065, // PDxn + 0x00A60706, // DSPnax + 0x00A707A5, // PDSPoaxn + 0x00A803A9, // DPSoa + 0x00A90189, // DPSoxn + 0x00AA0029, // D + 0x00AB0889, // DPSono + 0x00AC0744, // SPDSxax + 0x00AD06E9, // DPSDaoxn + 0x00AE0B06, // DSPnao + 0x00AF0229, // DPno + 0x00B00E05, // PDSnoa + 0x00B10665, // PDSPxoxn + 0x00B21974, // SSPxDSxox + 0x00B30CE8, // SDPanan + 0x00B4070A, // PSDnax + 0x00B507A9, // DPSDoaxn + 0x00B616E9, // DPSDPaoxx + 0x00B70348, // SDPxan + 0x00B8074A, // PSDPxax + 0x00B906E6, // DSPDaoxn + 0x00BA0B09, // DPSnao + 0x00BB0226, // DSno MERGEPAINT + 0x00BC1CE4, // SPDSanax + 0x00BD0D7D, // SDxPDxan + 0x00BE0269, // DPSxo + 0x00BF08C9, // DPSano + 0x00C000CA, // PSa MERGECOPY + 0x00C11B04, // SPDSnaoxn + 0x00C21884, // SPDSonoxn + 0x00C3006A, // PSxn + 0x00C40E04, // SPDnoa + 0x00C50664, // SPDSxoxn + 0x00C60708, // SDPnax + 0x00C707AA, // PSDPoaxn + 0x00C803A8, // SDPoa + 0x00C90184, // SPDoxn + 0x00CA0749, // DPSDxax + 0x00CB06E4, // SPDSaoxn + 0x00CC0020, // S SRCCOPY + 0x00CD0888, // SDPono + 0x00CE0B08, // SDPnao + 0x00CF0224, // SPno + 0x00D00E0A, // PSDnoa + 0x00D1066A, // PSDPxoxn + 0x00D20705, // PDSnax + 0x00D307A4, // SPDSoaxn + 0x00D41D78, // SSPxPDxax + 0x00D50CE9, // DPSanan + 0x00D616EA, // PSDPSaoxx + 0x00D70349, // DPSxan + 0x00D80745, // PDSPxax + 0x00D906E8, // SDPSaoxn + 0x00DA1CE9, // DPSDanax + 0x00DB0D75, // SPxDSxan + 0x00DC0B04, // SPDnao + 0x00DD0228, // SDno + 0x00DE0268, // SDPxo + 0x00DF08C8, // SDPano + 0x00E003A5, // PDSoa + 0x00E10185, // PDSoxn + 0x00E20746, // DSPDxax + 0x00E306EA, // PSDPaoxn + 0x00E40748, // SDPSxax + 0x00E506E5, // PDSPaoxn + 0x00E61CE8, // SDPSanax + 0x00E70D79, // SPxPDxan + 0x00E81D74, // SSPxDSxax + 0x00E95CE6, // DSPDSanaxxn + 0x00EA02E9, // DPSao + 0x00EB0849, // DPSxno + 0x00EC02E8, // SDPao + 0x00ED0848, // SDPxno + 0x00EE0086, // DSo SRCPAINT + 0x00EF0A08, // SDPnoo + 0x00F00021, // P PATCOPY + 0x00F10885, // PDSono + 0x00F20B05, // PDSnao + 0x00F3022A, // PSno + 0x00F40B0A, // PSDnao + 0x00F50225, // PDno + 0x00F60265, // PDSxo + 0x00F708C5, // PDSano + 0x00F802E5, // PDSao + 0x00F90845, // PDSxno + 0x00FA0089, // DPo + 0x00FB0A09, // DPSnoo PATPAINT + 0x00FC008A, // PSo + 0x00FD0A0A, // PSDnoo + 0x00FE02A9, // DPSoo + 0x00FF0062 // 1 WHITENESS +}; + +static void set_path(GdiCanvas *canvas, SpicePath *s) +{ + unsigned int i; + + for (i = 0; i < s->num_segments; i++) { + SpicePathSeg* seg = s->segments[0]; + SpicePointFix* point = seg->points; + SpicePointFix* end_point = point + seg->count; + + if (seg->flags & SPICE_PATH_BEGIN) { + BeginPath(canvas->dc); + if (!MoveToEx(canvas->dc, (int)fix_to_double(point->x), (int)fix_to_double(point->y), + NULL)) { + spice_critical("MoveToEx failed"); + return; + } + point++; + } + + if (seg->flags & SPICE_PATH_BEZIER) { + spice_return_if_fail((point - end_point) % 3 == 0); + for (; point + 2 < end_point; point += 3) { + POINT points[3]; + + points[0].x = (int)fix_to_double(point[0].x); + points[0].y = (int)fix_to_double(point[0].y); + points[1].x = (int)fix_to_double(point[1].x); + points[1].y = (int)fix_to_double(point[1].y); + points[2].x = (int)fix_to_double(point[2].x); + points[2].y = (int)fix_to_double(point[2].y); + if (!PolyBezierTo(canvas->dc, points, 3)) { + spice_critical("PolyBezierTo failed"); + return; + } + } + } else { + for (; point < end_point; point++) { + if (!LineTo(canvas->dc, (int)fix_to_double(point->x), + (int)fix_to_double(point->y))) { + spice_critical("LineTo failed"); + } + } + } + + if (seg->flags & SPICE_PATH_END) { + + if (seg->flags & SPICE_PATH_CLOSE) { + if (!CloseFigure(canvas->dc)) { + spice_critical("CloseFigure failed"); + } + } + + if (!EndPath(canvas->dc)) { + spice_critical("EndPath failed"); + } + } + + } +} + +static void set_scale_mode(GdiCanvas *canvas, uint8_t scale_mode) +{ + if (scale_mode == SPICE_IMAGE_SCALE_MODE_INTERPOLATE) { + SetStretchBltMode(canvas->dc, HALFTONE); + } else if (scale_mode == SPICE_IMAGE_SCALE_MODE_NEAREST) { + SetStretchBltMode(canvas->dc, COLORONCOLOR); + } else { + spice_critical("Unknown ScaleMode"); + } +} + +static void set_clip(GdiCanvas *canvas, SpiceClip *clip) +{ + switch (clip->type) { + case SPICE_CLIP_TYPE_NONE: + if (SelectClipRgn(canvas->dc, NULL) == ERROR) { + spice_critical("SelectClipRgn failed"); + } + break; + case SPICE_CLIP_TYPE_RECTS: { + uint32_t n = clip->rects->num_rects; + + SpiceRect *now = clip->rects->rects; + SpiceRect *end = now + n; + + if (now < end) { + HRGN main_hrgn; + + main_hrgn = CreateRectRgn(now->left, now->top, now->right, now->bottom); + if (!main_hrgn) { + return; + } + now++; + for (; now < end; now++) { + HRGN combaine_hrgn; + combaine_hrgn = CreateRectRgn(now->left, now->top, now->right, + now->bottom); + if (!combaine_hrgn) { + spice_critical("Unable to CreateRectRgn"); + DeleteObject(main_hrgn); + return; + } + if (CombineRgn(main_hrgn, main_hrgn, combaine_hrgn, RGN_OR) == ERROR) { + spice_critical("Unable to CombineRgn"); + DeleteObject(combaine_hrgn); + return; + } + DeleteObject(combaine_hrgn); + } + if (SelectClipRgn(canvas->dc, main_hrgn) == ERROR) { + spice_critical("Unable to SelectClipRgn"); + } + DeleteObject(main_hrgn); + } + break; + } + default: + spice_warn_if_reached(); + return; + } +} + +static void copy_bitmap(const uint8_t *src_image, int height, int src_stride, + uint8_t *dest_bitmap, int dest_stride) +{ + int copy_width = MIN(dest_stride, src_stride); + int y = 0; + + spice_return_if_fail(dest_stride >= 0 && src_stride >= 0); + + while (y < height) { + memcpy(dest_bitmap, src_image, copy_width); + src_image += src_stride; + dest_bitmap += dest_stride; + y++; + } +} + +static void copy_bitmap_alpha(const uint8_t *src_alpha, int height, int width, int src_stride, + uint8_t *dest_bitmap, int dest_stride, int alpha_bits_size) +{ + int y = 0; + uint8_t i_offset; + int i_count = 0; + int i = 0; + + if (alpha_bits_size == 1) { + i_offset = 1; + } else { + i_offset = 8; + } + + + while (y < height) { + int x; + + for (x = 0; x < width; ++x) { + uint8_t alphaval; + double alpha; + + alphaval = src_alpha[i]; + alphaval = alphaval >> (i_count * i_offset); + alphaval &= ((uint8_t)0xff >> (8 - i_offset)); + alphaval = ((255 * alphaval) / ((uint8_t)0xff >> (8 - i_offset))); + + dest_bitmap[x * 4 + 3] = alphaval; + alpha = (double)alphaval / 0xff; + dest_bitmap[x * 4 + 2] = (uint8_t)(alpha * dest_bitmap[x * 4 + 2]); + dest_bitmap[x * 4 + 1] = (uint8_t)(alpha * dest_bitmap[x * 4 + 1]); + dest_bitmap[x * 4] = (uint8_t)(alpha * dest_bitmap[x * 4]); + + i_count++; + if (i_count == (8 / i_offset)) { + i++; + i_count = 0; + } + } + + dest_bitmap += width * 4; + i = 0; + src_alpha += src_stride; + i_count = 0; + y++; + } +} + +static uint8_t *create_bitmap(HBITMAP *bitmap, HBITMAP *prev_bitmap, HDC *dc, + const uint8_t *bitmap_data, int width, int height, + int stride, int bits, int rotate) +{ + uint8_t *data; + const uint8_t *src_data; + uint32_t nstride; + struct { + BITMAPINFO inf; + RGBQUAD palette[255]; + } bitmap_info; + + memset(&bitmap_info, 0, sizeof(bitmap_info)); + bitmap_info.inf.bmiHeader.biSize = sizeof(bitmap_info.inf.bmiHeader); + bitmap_info.inf.bmiHeader.biWidth = width; + if (stride < 0) { + bitmap_info.inf.bmiHeader.biHeight = height; + } else { + bitmap_info.inf.bmiHeader.biHeight = -height; + } + + if (rotate) { + bitmap_info.inf.bmiHeader.biHeight = -bitmap_info.inf.bmiHeader.biHeight; + } + + bitmap_info.inf.bmiHeader.biPlanes = 1; + bitmap_info.inf.bmiHeader.biBitCount = bits; + bitmap_info.inf.bmiHeader.biCompression = BI_RGB; + + *dc = create_compatible_dc(); + if (!*dc) { + spice_critical("create_compatible_dc() failed"); + return NULL; + } + + *bitmap = CreateDIBSection(*dc, &bitmap_info.inf, 0, (VOID **)&data, NULL, 0); + if (!*bitmap) { + spice_critical("Unable to CreateDIBSection"); + DeleteDC(*dc); + return NULL; + } + *prev_bitmap = (HBITMAP)SelectObject(*dc, *bitmap); + + if (stride < 0) { + src_data = bitmap_data - (height - 1) * -stride; + } else { + src_data = bitmap_data; + } + + switch (bits) { + case 1: + nstride = SPICE_ALIGN(width, 32) / 8; + break; + case 8: + nstride = SPICE_ALIGN(width, 4); + break; + case 16: + nstride = SPICE_ALIGN(width * 2, 4); + break; + case 32: + nstride = width * 4; + break; + default: + spice_warn_if_reached(); + return NULL; + } + + if (bitmap_data) { + if (stride < 0) { + copy_bitmap(src_data, height, -stride, data, nstride); + } else { + copy_bitmap(src_data, height, stride, data, nstride); + } + } + + return data; +} + +static uint8_t *create_bitmap_from_pixman(HBITMAP *bitmap, HBITMAP *prev_bitmap, HDC *dc, + pixman_image_t *surface, int rotate) +{ + return create_bitmap(bitmap, prev_bitmap, dc, + (uint8_t*)pixman_image_get_data(surface), + pixman_image_get_width(surface), + pixman_image_get_height(surface), + pixman_image_get_stride(surface), + spice_pixman_image_get_bpp(surface), + rotate); +} + + +static void release_bitmap(HDC dc, HBITMAP bitmap, HBITMAP prev_bitmap, int cache) +{ + bitmap = (HBITMAP)SelectObject(dc, prev_bitmap); + if (!cache) { + DeleteObject(bitmap); + } + DeleteDC(dc); +} + +static inline uint8_t get_converted_color(uint8_t color) +{ + uint8_t msb; + + msb = color & 0xE0; + msb = msb >> 5; + color |= msb; + return color; +} + +static inline COLORREF get_color_ref(GdiCanvas *canvas, uint32_t color) +{ + int shift = canvas->base.color_shift == 8 ? 0 : 3; + uint8_t r, g, b; + + b = (color & canvas->base.color_mask); + color >>= canvas->base.color_shift; + g = (color & canvas->base.color_mask); + color >>= canvas->base.color_shift; + r = (color & canvas->base.color_mask); + if (shift) { + r = get_converted_color(r << shift); + g = get_converted_color(g << shift); + b = get_converted_color(b << shift); + } + return RGB(r, g, b); +} + +static HBRUSH get_brush(GdiCanvas *canvas, SpiceBrush *brush, RecurciveMutex **brush_lock) +{ + HBRUSH hbrush; + + *brush_lock = NULL; + + switch (brush->type) { + case SPICE_BRUSH_TYPE_SOLID: + if (!(hbrush = CreateSolidBrush(get_color_ref(canvas, brush->u.color)))) { + spice_critical("CreateSolidBrush failed"); + return NULL; + } + return hbrush; + case SPICE_BRUSH_TYPE_PATTERN: { + GdiCanvas *gdi_surface = NULL; + HBRUSH hbrush; + pixman_image_t *surface = NULL; + HDC dc; + HBITMAP bitmap; + HBITMAP prev_bitmap; + + gdi_surface = (GdiCanvas *)canvas_get_surface(&canvas->base, brush->u.pattern.pat); + if (gdi_surface) { + bitmap = (HBITMAP)GetCurrentObject(gdi_surface->dc, OBJ_BITMAP); + if (!bitmap) { + spice_critical("GetCurrentObject failed"); + return NULL; + } + *brush_lock = gdi_surface->lock; + } else { + surface = canvas_get_image(&canvas->base, brush->u.pattern.pat, FALSE); + if (!create_bitmap_from_pixman(&bitmap, &prev_bitmap, &dc, surface, 0)) { + spice_critical("create_bitmap failed"); + return NULL; + } + } + + if (!(hbrush = CreatePatternBrush(bitmap))) { + spice_critical("CreatePatternBrush failed"); + return NULL; + } + + if (!gdi_surface) { + release_bitmap(dc, bitmap, prev_bitmap, 0); + pixman_image_unref(surface); + } + return hbrush; + } + case SPICE_BRUSH_TYPE_NONE: + return NULL; + default: + spice_warn_if_reached(); + return NULL; + } +} + +static HBRUSH set_brush(HDC dc, HBRUSH hbrush, SpiceBrush *brush) +{ + switch (brush->type) { + case SPICE_BRUSH_TYPE_SOLID: { + return (HBRUSH)SelectObject(dc, hbrush); + } + case SPICE_BRUSH_TYPE_PATTERN: { + HBRUSH prev_hbrush; + prev_hbrush = (HBRUSH)SelectObject(dc, hbrush); + if (!SetBrushOrgEx(dc, brush->u.pattern.pos.x, brush->u.pattern.pos.y, NULL)) { + spice_critical("SetBrushOrgEx failed"); + return NULL; + } + return prev_hbrush; + } + default: + spice_warn_if_reached(); + return NULL; + } +} + +static void unset_brush(HDC dc, HBRUSH prev_hbrush) +{ + if (!prev_hbrush) { + return; + } + prev_hbrush = (HBRUSH)SelectObject(dc, prev_hbrush); + DeleteObject(prev_hbrush); +} + +uint8_t calc_rop3(uint16_t rop3_bits, int brush) +{ + uint8_t rop3 = 0; + uint8_t rop3_src = _rop3_src; + uint8_t rop3_dest = _rop3_dest; + uint8_t rop3_brush = _rop3_brush; + uint8_t rop3_src_brush; + + if (rop3_bits & SPICE_ROPD_INVERS_SRC) { + rop3_src = ~rop3_src; + } + if (rop3_bits & SPICE_ROPD_INVERS_BRUSH) { + rop3_brush = ~rop3_brush; + } + if (rop3_bits & SPICE_ROPD_INVERS_DEST) { + rop3_dest = ~rop3_dest; + } + + if (brush) { + rop3_src_brush = rop3_brush; + } else { + rop3_src_brush = rop3_src; + } + + if (rop3_bits & SPICE_ROPD_OP_PUT) { + rop3 = rop3_src_brush; + } + if (rop3_bits & SPICE_ROPD_OP_OR) { + rop3 = rop3_src_brush | rop3_dest; + } + if (rop3_bits & SPICE_ROPD_OP_AND) { + rop3 = rop3_src_brush & rop3_dest; + } + if (rop3_bits & SPICE_ROPD_OP_XOR) { + rop3 = rop3_src_brush ^ rop3_dest; + } + if (rop3_bits & SPICE_ROPD_INVERS_RES) { + rop3 = ~rop3_dest; + } + + if (rop3_bits & SPICE_ROPD_OP_BLACKNESS || rop3_bits & SPICE_ROPD_OP_WHITENESS || + rop3_bits & SPICE_ROPD_OP_INVERS) { + spice_warning("invalid rop3 type"); + return 0; + } + return rop3; +} + +uint8_t calc_rop3_src_brush(uint16_t rop3_bits) +{ + uint8_t rop3 = 0; + uint8_t rop3_src = _rop3_src; + uint8_t rop3_brush = _rop3_brush; + + if (rop3_bits & SPICE_ROPD_INVERS_SRC) { + rop3_src = ~rop3_src; + } + if (rop3_bits & SPICE_ROPD_INVERS_BRUSH) { + rop3_brush = ~rop3_brush; + } + + if (rop3_bits & SPICE_ROPD_OP_OR) { + rop3 = rop3_src | rop3_brush; + } + if (rop3_bits & SPICE_ROPD_OP_AND) { + rop3 = rop3_src & rop3_brush; + } + if (rop3_bits & SPICE_ROPD_OP_XOR) { + rop3 = rop3_src ^ rop3_brush; + } + + return rop3; +} + +static struct BitmapData get_mask_bitmap(struct GdiCanvas *canvas, struct SpiceQMask *mask) +{ + GdiCanvas *gdi_surface; + pixman_image_t *surface; + struct BitmapData bitmap; + PixmanData *pixman_data; + + bitmap.hbitmap = NULL; + if (!mask->bitmap) { + return bitmap; + } + + gdi_surface = (GdiCanvas *)canvas_get_surface_mask(&canvas->base, mask->bitmap); + if (gdi_surface) { + HBITMAP _bitmap; + + _bitmap = (HBITMAP)GetCurrentObject(gdi_surface->dc, OBJ_BITMAP); + if (!_bitmap) { + spice_critical("GetCurrentObject failed"); + return bitmap; + } + bitmap.dc = gdi_surface->dc; + bitmap.hbitmap = _bitmap; + bitmap.prev_hbitmap = (HBITMAP)0; + bitmap.cache = 0; + bitmap.from_surface = 1; + } else { + + if (!(surface = canvas_get_mask(&canvas->base, mask, NULL))) { + return bitmap; + } + + pixman_data = (PixmanData *)pixman_image_get_destroy_data (surface); + if (pixman_data && (WaitForSingleObject(pixman_data->mutex, INFINITE) != WAIT_FAILED)) { + bitmap.dc = create_compatible_dc(); + bitmap.prev_hbitmap = (HBITMAP)SelectObject(bitmap.dc, pixman_data->bitmap); + bitmap.hbitmap = pixman_data->bitmap; + ReleaseMutex(pixman_data->mutex); + bitmap.cache = 1; + } else if (!create_bitmap_from_pixman(&bitmap.hbitmap, &bitmap.prev_hbitmap, &bitmap.dc, + surface, 0)) { + bitmap.hbitmap = NULL; + } else { + bitmap.cache = 0; + } + + bitmap.from_surface = 0; + } + + bitmap.flags = mask->flags; + bitmap.pos = mask->pos; + + return bitmap; +} + +static void gdi_draw_bitmap(HDC dest_dc, const SpiceRect *src, const SpiceRect *dest, + HDC src_dc, struct BitmapData *bitmapmask, uint32_t rop3_val) +{ + uint32_t rast_oper; + + rast_oper = raster_ops[rop3_val]; + + if (!bitmapmask || !bitmapmask->hbitmap) { + if ((dest->right - dest->left) == (src->right - src->left) && + (dest->bottom - dest->top) == (src->bottom - src->top)) { + if (!BitBlt(dest_dc, dest->left, dest->top, dest->right - dest->left, + dest->bottom - dest->top, src_dc, src->left, src->top, rast_oper)) { + spice_critical("BitBlt failed"); + return; + } + } else { + if (!StretchBlt(dest_dc, dest->left, dest->top, dest->right - dest->left, + dest->bottom - dest->top, src_dc, src->left, src->top, + src->right - src->left, src->bottom - src->top, rast_oper)) { + spice_critical("StretchBlt failed"); + return; + } + } + } else { + rast_oper = MAKEROP4(rast_oper, raster_ops[_rop3_dest]); + + if (!MaskBlt(dest_dc, dest->left, dest->top, dest->right - dest->left, + dest->bottom - dest->top, src_dc, src->left, src->top, + bitmapmask->hbitmap, bitmapmask->pos.x, bitmapmask->pos.y, + rast_oper)) { + spice_critical("MaskBlt failed"); + return; + } + } +} + +static void gdi_draw_bitmap_redrop(HDC dest_dc, const SpiceRect *src, const SpiceRect *dest, + HDC src_dc, struct BitmapData *bitmapmask, + uint16_t rop, int brush) +{ + uint32_t rop3_val; + + rop3_val = calc_rop3(rop, brush); + gdi_draw_bitmap(dest_dc, src, dest, src_dc, bitmapmask, rop3_val); +} + +static void free_mask(struct BitmapData *bitmap) +{ + if (bitmap->hbitmap) { + if (!bitmap->from_surface) { + release_bitmap(bitmap->dc, bitmap->hbitmap, bitmap->prev_hbitmap, bitmap->cache); + } + } +} + +static void draw_str_mask_bitmap(struct GdiCanvas *canvas, + SpiceString *str, int n, SpiceRect *dest, + SpiceRect *src, SpiceBrush *brush) +{ + pixman_image_t *surface; + struct BitmapData bitmap; + SpicePoint pos; + int dest_stride; + uint8_t *bitmap_data; + HBRUSH prev_hbrush; + HBRUSH hbrush; + RecurciveMutex *brush_lock; + + bitmap.hbitmap = (HBITMAP)1; + if (!(surface = canvas_get_str_mask(&canvas->base, str, n, &pos))) { + spice_critical("unable to canvas_get_str_mask"); + return; + } + + bitmap.from_surface = 0; + bitmap.cache = 0; + bitmap_data = create_bitmap(&bitmap.hbitmap, &bitmap.prev_hbitmap, + &bitmap.dc, NULL, + pixman_image_get_width(surface), + pixman_image_get_height(surface), + pixman_image_get_stride(surface), 32, 0); + + if (!bitmap_data) { + return; + } + + bitmap.flags = 0; + bitmap.pos.x = 0; + bitmap.pos.y = 0; + + dest->left = pos.x; + dest->top = pos.y; + dest->right = pos.x + pixman_image_get_width(surface); + dest->bottom = pos.y + pixman_image_get_height(surface); + src->left = 0; + src->top = 0; + src->right = pixman_image_get_width(surface); + src->bottom = pixman_image_get_height(surface); + + dest_stride = pixman_image_get_width(surface); + switch (n) { + case 1: + dest_stride = dest_stride / 8; + break; + case 4: + dest_stride = dest_stride / 2; + break; + case 32: + dest_stride = dest_stride * 4; + break; + default: + spice_warn_if_reached(); + return; + } + dest_stride = dest_stride + 3; + dest_stride = dest_stride & ~3; + + hbrush = get_brush(canvas, brush, &brush_lock); + prev_hbrush = set_brush(bitmap.dc, hbrush, brush); + if (brush_lock) { + RecurciveLock b_lock(*brush_lock); + gdi_draw_bitmap(bitmap.dc, src, src, bitmap.dc, NULL, _rop3_brush); + } else { + gdi_draw_bitmap(bitmap.dc, src, src, bitmap.dc, NULL, _rop3_brush); + } + + unset_brush(bitmap.dc, prev_hbrush); + + copy_bitmap_alpha((uint8_t *)pixman_image_get_data(surface), + pixman_image_get_height(surface), + pixman_image_get_width(surface), + pixman_image_get_stride(surface), + bitmap_data, dest_stride, n); + + BLENDFUNCTION bf = {AC_SRC_OVER, 0, 255, AC_SRC_ALPHA}; + + RecurciveLock lock(*canvas->lock); + AlphaBlend(canvas->dc, dest->left, dest->top, dest->right - dest->left, + dest->bottom - dest->top, bitmap.dc, src->left, src->top, + src->right - src->left, src->bottom - src->top, bf); + + free_mask(&bitmap); +} + +static void gdi_draw_image(HDC dest_dc, const SpiceRect *src, const SpiceRect *dest, + pixman_image_t *image, struct BitmapData *bitmapmask, uint16_t rop, + int rotate) +{ + HDC dc; + HBITMAP bitmap; + HBITMAP prev_bitmap; + + create_bitmap_from_pixman(&bitmap, &prev_bitmap, &dc, image, rotate); + + gdi_draw_bitmap_redrop(dest_dc, src, dest, dc, bitmapmask, rop, 0); + + release_bitmap(dc, bitmap, prev_bitmap, 0); +} + +static void gdi_draw_image_rop3(HDC dest_dc, const SpiceRect *src, const SpiceRect *dest, + pixman_image_t *image, struct BitmapData *bitmapmask, uint8_t rop3, + int rotate) +{ + HDC dc; + HBITMAP bitmap; + HBITMAP prev_bitmap; + + create_bitmap_from_pixman(&bitmap, &prev_bitmap, &dc, image, rotate); + + gdi_draw_bitmap(dest_dc, src, dest, dc, bitmapmask, rop3); + + release_bitmap(dc, bitmap, prev_bitmap, 0); +} + +static void gdi_canvas_draw_fill(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceFill *fill) +{ + GdiCanvas *canvas = (GdiCanvas *)spice_canvas; + HBRUSH prev_hbrush; + HBRUSH brush; + struct BitmapData bitmapmask; + RecurciveMutex *brush_lock; + + RecurciveLock lock(*canvas->lock); + + brush = get_brush(canvas, &fill->brush, &brush_lock); + spice_return_if_fail(brush != NULL); + + bitmapmask = get_mask_bitmap(canvas, &fill->mask); + + set_clip(canvas, clip); + prev_hbrush = set_brush(canvas->dc, brush, &fill->brush); + if (brush_lock) { + RecurciveLock b_lock(*brush_lock); + gdi_draw_bitmap_redrop(canvas->dc, bbox, bbox, canvas->dc, &bitmapmask, + fill->rop_descriptor, fill->brush.type != SPICE_BRUSH_TYPE_NONE); + } else { + gdi_draw_bitmap_redrop(canvas->dc, bbox, bbox, canvas->dc, &bitmapmask, + fill->rop_descriptor, fill->brush.type != SPICE_BRUSH_TYPE_NONE); + } + + free_mask(&bitmapmask); + unset_brush(canvas->dc, prev_hbrush); +} + +static void gdi_canvas_draw_copy(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceCopy *copy) +{ + GdiCanvas *canvas = (GdiCanvas *)spice_canvas; + GdiCanvas *gdi_surface; + pixman_image_t *surface; + struct BitmapData bitmapmask; + PixmanData *pixman_data; + + gdi_surface = (GdiCanvas *)canvas_get_surface(&canvas->base, copy->src_bitmap); + if (gdi_surface) { + RecurciveLock lock(*canvas->lock); + RecurciveLock s_lock(*gdi_surface->lock); + bitmapmask = get_mask_bitmap(canvas, ©->mask); + set_scale_mode(canvas, copy->scale_mode); + set_clip(canvas, clip); + gdi_draw_bitmap_redrop(canvas->dc, ©->src_area, bbox, gdi_surface->dc, + &bitmapmask, copy->rop_descriptor, 0); + } else { + surface = canvas_get_image(&canvas->base, copy->src_bitmap, FALSE); + pixman_data = (PixmanData *)pixman_image_get_destroy_data(surface); + + RecurciveLock lock(*canvas->lock); + bitmapmask = get_mask_bitmap(canvas, ©->mask); + set_scale_mode(canvas, copy->scale_mode); + set_clip(canvas, clip); + + if (pixman_data && (WaitForSingleObject(pixman_data->mutex, INFINITE) != WAIT_FAILED)) { + HDC dc; + HBITMAP prev_bitmap; + + dc = create_compatible_dc(); + prev_bitmap = (HBITMAP)SelectObject(dc, pixman_data->bitmap); + gdi_draw_bitmap_redrop(canvas->dc, ©->src_area, bbox, dc, + &bitmapmask, copy->rop_descriptor, 0); + SelectObject(dc, prev_bitmap); + DeleteObject(dc); + ReleaseMutex(pixman_data->mutex); + } else { + gdi_draw_image(canvas->dc, ©->src_area, bbox, surface, &bitmapmask, + copy->rop_descriptor, 0); + } + + pixman_image_unref(surface); + } + free_mask(&bitmapmask); +} + +static void gdi_canvas_put_image(SpiceCanvas *spice_canvas, HDC dc, const SpiceRect *dest, const uint8_t *src_data, + uint32_t src_width, uint32_t src_height, int src_stride, + const QRegion *clip) +{ + GdiCanvas *canvas = (GdiCanvas *)spice_canvas; + SpiceRect src; + src.top = 0; + src.bottom = src_height; + src.left = 0; + src.right = src_width; + int num_rects; + pixman_box32_t *rects; + + RecurciveLock lock(*canvas->lock); + set_scale_mode(canvas, SPICE_IMAGE_SCALE_MODE_NEAREST); + if (clip) { + rects = pixman_region32_rectangles((pixman_region32_t*)clip, &num_rects); + if (num_rects == 0) { + return; + } else { + HRGN main_hrgn; + int i; + + main_hrgn = CreateRectRgn(rects[0].x1, rects[0].y1, rects[0].x2, + rects[0].y2); + if (!main_hrgn) { + return; + } + + for (i = 1; i < num_rects; i++) { + HRGN combaine_hrgn; + + combaine_hrgn = CreateRectRgn(rects[i].x1, rects[i].y1, + rects[i].x2, + rects[i].y2); + if (!combaine_hrgn) { + spice_critical("CreateRectRgn failed"); + DeleteObject(main_hrgn); + return; + } + if (!CombineRgn(main_hrgn, main_hrgn, combaine_hrgn, RGN_OR)) { + spice_critical("CombineRgn failed in put_image"); + return; + } + DeleteObject(combaine_hrgn); + } + if (SelectClipRgn(canvas->dc, main_hrgn) == ERROR) { + spice_critical("SelectClipRgn failed in put_image"); + DeleteObject(main_hrgn); + return; + } + DeleteObject(main_hrgn); + } + } else { + SelectClipRgn(canvas->dc, NULL); + } + + if (dc) { + gdi_draw_bitmap_redrop(canvas->dc, &src, dest, dc, + NULL, SPICE_ROPD_OP_PUT, 0); + } else { + pixman_image_t *image = pixman_image_create_bits(PIXMAN_a8r8g8b8, src_width, src_height, + (uint32_t *)src_data, src_stride); + gdi_draw_image(canvas->dc, &src, dest, image, NULL, SPICE_ROPD_OP_PUT, 0); + pixman_image_unref(image); + } +} + +static void gdi_draw_bitmap_transparent(GdiCanvas *canvas, HDC dest_dc, const SpiceRect *src, + const SpiceRect *dest, HDC src_dc, uint32_t color) +{ + TransparentBlt(dest_dc, dest->left, dest->top, dest->right - dest->left, + dest->bottom - dest->top, src_dc, src->left, src->top, + src->right - src->left, src->bottom - src->top, + RGB(((uint8_t*)&color)[2], ((uint8_t*)&color)[1], ((uint8_t*)&color)[0])); +} + +static void gdi_draw_image_transparent(GdiCanvas *canvas, HDC dest_dc, const SpiceRect *src, + const SpiceRect *dest, pixman_image_t *image, + uint32_t color, int rotate) +{ + HDC dc; + HBITMAP bitmap; + HBITMAP prev_bitmap; + + create_bitmap_from_pixman(&bitmap, &prev_bitmap, &dc, image, rotate); + + gdi_draw_bitmap_transparent(canvas, dest_dc, src, dest, dc, color); + + release_bitmap(dc, bitmap, prev_bitmap, 0); +} + +static void gdi_canvas_draw_transparent(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, + SpiceTransparent* transparent) +{ + GdiCanvas *canvas = (GdiCanvas *)spice_canvas; + GdiCanvas *gdi_surface; + pixman_image_t *surface; + PixmanData *pixman_data; + + gdi_surface = (GdiCanvas *)canvas_get_surface(&canvas->base, transparent->src_bitmap); + if (gdi_surface) { + RecurciveLock lock(*canvas->lock); + RecurciveLock s_lock(*gdi_surface->lock); + set_clip(canvas, clip); + gdi_draw_bitmap_transparent(canvas, canvas->dc, &transparent->src_area, bbox, + gdi_surface->dc, transparent->true_color); + } else { + surface = canvas_get_image(&canvas->base, transparent->src_bitmap, FALSE); + pixman_data = (PixmanData *)pixman_image_get_destroy_data(surface); + RecurciveLock lock(*canvas->lock); + set_clip(canvas, clip); + if (pixman_data && (WaitForSingleObject(pixman_data->mutex, INFINITE) != WAIT_FAILED)) { + HDC dc; + HBITMAP prev_bitmap; + + dc = create_compatible_dc(); + prev_bitmap = (HBITMAP)SelectObject(dc, pixman_data->bitmap); + gdi_draw_bitmap_transparent(canvas, canvas->dc, &transparent->src_area, bbox, dc, + transparent->true_color); + + SelectObject(dc, prev_bitmap); + DeleteObject(dc); + ReleaseMutex(pixman_data->mutex); + } else { + gdi_draw_image_transparent(canvas, canvas->dc, &transparent->src_area, bbox, surface, + transparent->true_color, 0); + } + + pixman_image_unref(surface); + } +} + +static void gdi_draw_bitmap_alpha(HDC dest_dc, const SpiceRect *src, const SpiceRect *dest, + HDC src_dc, uint8_t alpha, int use_bitmap_alpha) +{ + BLENDFUNCTION bf; + + bf.BlendOp = AC_SRC_OVER; + bf.BlendFlags = 0; + bf.SourceConstantAlpha = alpha; + + if (use_bitmap_alpha) { + bf.AlphaFormat = AC_SRC_ALPHA; + } else { + bf.AlphaFormat = 0; + } + + if (!AlphaBlend(dest_dc, dest->left, dest->top, dest->right - dest->left, + dest->bottom - dest->top, src_dc, src->left, src->top, + src->right - src->left, src->bottom - src->top, bf)) { + spice_critical("AlphaBlend failed"); + return; + } +} + +static void gdi_draw_image_alpha(HDC dest_dc, const SpiceRect *src, const SpiceRect *dest, + pixman_image_t *image, uint8_t alpha, + int rotate, int use_bitmap_alpha) +{ + HDC dc; + HBITMAP bitmap; + HBITMAP prev_bitmap; + + create_bitmap_from_pixman(&bitmap, &prev_bitmap, &dc, image, rotate); + + gdi_draw_bitmap_alpha(dest_dc, src, dest, dc, alpha, use_bitmap_alpha); + + release_bitmap(dc, bitmap, prev_bitmap, 0); +} + +static void gdi_canvas_draw_alpha_blend(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceAlphaBlend* alpha_blend) +{ + GdiCanvas *canvas = (GdiCanvas *)spice_canvas; + GdiCanvas *gdi_surface; + pixman_image_t *surface; + PixmanData *pixman_data; + int use_bitmap_alpha; + + gdi_surface = (GdiCanvas *)canvas_get_surface(&canvas->base, alpha_blend->src_bitmap); + if (gdi_surface) { + RecurciveLock lock(*canvas->lock); + RecurciveLock s_lock(*gdi_surface->lock); + set_clip(canvas, clip); + use_bitmap_alpha = alpha_blend->alpha_flags & SPICE_ALPHA_FLAGS_SRC_SURFACE_HAS_ALPHA; + gdi_draw_bitmap_alpha(canvas->dc, &alpha_blend->src_area, bbox, gdi_surface->dc, + alpha_blend->alpha, use_bitmap_alpha); + } else { + surface = canvas_get_image(&canvas->base, alpha_blend->src_bitmap, TRUE); + use_bitmap_alpha = pixman_image_get_depth(surface) == 32; + pixman_data = (PixmanData *)pixman_image_get_destroy_data(surface); + + RecurciveLock lock(*canvas->lock); + set_clip(canvas, clip); + if (pixman_data && (WaitForSingleObject(pixman_data->mutex, INFINITE) != WAIT_FAILED)) { + HDC dc; + HBITMAP prev_bitmap; + + dc = create_compatible_dc(); + prev_bitmap = (HBITMAP)SelectObject(dc, pixman_data->bitmap); + gdi_draw_bitmap_alpha(canvas->dc, &alpha_blend->src_area, bbox, dc, alpha_blend->alpha, + use_bitmap_alpha); + SelectObject(dc, prev_bitmap); + DeleteObject(dc); + ReleaseMutex(pixman_data->mutex); + } else { + gdi_draw_image_alpha(canvas->dc, &alpha_blend->src_area, bbox, surface, + alpha_blend->alpha, 0, use_bitmap_alpha); + } + + pixman_image_unref(surface); + } +} + +static void gdi_canvas_draw_opaque(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceOpaque *opaque) +{ + GdiCanvas *gdi_surface; + GdiCanvas *canvas = (GdiCanvas *)spice_canvas; + pixman_image_t *surface; + struct BitmapData bitmapmask; + PixmanData *pixman_data; + HBRUSH prev_hbrush; + HBRUSH hbrush; + uint8_t rop3; + RecurciveMutex *brush_lock; + + rop3 = calc_rop3_src_brush(opaque->rop_descriptor); + + gdi_surface = (GdiCanvas *)canvas_get_surface(&canvas->base, opaque->src_bitmap); + if (gdi_surface) { + RecurciveLock lock(*canvas->lock); + RecurciveLock s_lock(*gdi_surface->lock); + bitmapmask = get_mask_bitmap(canvas, &opaque->mask); + hbrush = get_brush(canvas, &opaque->brush, &brush_lock); + set_scale_mode(canvas, opaque->scale_mode); + set_clip(canvas, clip); + prev_hbrush = set_brush(canvas->dc, hbrush, &opaque->brush); + if (brush_lock) { + RecurciveLock b_lock(*brush_lock); + gdi_draw_bitmap(canvas->dc, &opaque->src_area, bbox, gdi_surface->dc, &bitmapmask, rop3); + } else { + gdi_draw_bitmap(canvas->dc, &opaque->src_area, bbox, gdi_surface->dc, &bitmapmask, rop3); + } + unset_brush(canvas->dc, prev_hbrush); + } else { + surface = canvas_get_image(&canvas->base, opaque->src_bitmap, FALSE); + pixman_data = (PixmanData *)pixman_image_get_destroy_data(surface); + + RecurciveLock lock(*canvas->lock); + bitmapmask = get_mask_bitmap(canvas, &opaque->mask); + hbrush = get_brush(canvas, &opaque->brush, &brush_lock); + set_scale_mode(canvas, opaque->scale_mode); + set_clip(canvas, clip); + prev_hbrush = set_brush(canvas->dc, hbrush, &opaque->brush); + + if (pixman_data && (WaitForSingleObject(pixman_data->mutex, INFINITE) != WAIT_FAILED)) { + HDC dc; + HBITMAP prev_bitmap; + + dc = create_compatible_dc(); + prev_bitmap = (HBITMAP)SelectObject(dc, pixman_data->bitmap); + if (brush_lock) { + RecurciveLock b_lock(*brush_lock); + gdi_draw_bitmap(canvas->dc, &opaque->src_area, bbox, dc, &bitmapmask, rop3); + } else { + gdi_draw_bitmap(canvas->dc, &opaque->src_area, bbox, dc, &bitmapmask, rop3); + } + SelectObject(dc, prev_bitmap); + DeleteObject(dc); + ReleaseMutex(pixman_data->mutex); + } else { + if (brush_lock) { + RecurciveLock b_lock(*brush_lock); + gdi_draw_image_rop3(canvas->dc, &opaque->src_area, bbox, surface, &bitmapmask, rop3, 0); + } else { + gdi_draw_image_rop3(canvas->dc, &opaque->src_area, bbox, surface, &bitmapmask, rop3, 0); + } + } + unset_brush(canvas->dc, prev_hbrush); + pixman_image_unref(surface); + } + + free_mask(&bitmapmask); +} + +static void gdi_canvas_draw_blend(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceBlend *blend) +{ + GdiCanvas *gdi_surface; + GdiCanvas *canvas = (GdiCanvas *)spice_canvas; + pixman_image_t *surface; + struct BitmapData bitmapmask; + PixmanData *pixman_data; + + gdi_surface = (GdiCanvas *)canvas_get_surface(&canvas->base, blend->src_bitmap); + if (gdi_surface) { + RecurciveLock lock(*canvas->lock); + RecurciveLock s_lock(*gdi_surface->lock); + bitmapmask = get_mask_bitmap(canvas, &blend->mask); + set_scale_mode(canvas, blend->scale_mode); + set_clip(canvas, clip); + gdi_draw_bitmap_redrop(canvas->dc, &blend->src_area, bbox, gdi_surface->dc, + &bitmapmask, blend->rop_descriptor, 0); + } else { + surface = canvas_get_image(&canvas->base, blend->src_bitmap, FALSE); + pixman_data = (PixmanData *)pixman_image_get_destroy_data(surface); + + RecurciveLock lock(*canvas->lock); + bitmapmask = get_mask_bitmap(canvas, &blend->mask); + set_scale_mode(canvas, blend->scale_mode); + set_clip(canvas, clip); + + if (pixman_data && (WaitForSingleObject(pixman_data->mutex, INFINITE) != WAIT_FAILED)) { + HDC dc; + HBITMAP prev_bitmap; + + dc = create_compatible_dc(); + prev_bitmap = (HBITMAP)SelectObject(dc, pixman_data->bitmap); + gdi_draw_bitmap_redrop(canvas->dc, &blend->src_area, bbox, dc, + &bitmapmask, blend->rop_descriptor, 0); + SelectObject(dc, prev_bitmap); + DeleteObject(dc); + ReleaseMutex(pixman_data->mutex); + } else { + gdi_draw_image(canvas->dc, &blend->src_area, bbox, surface, + &bitmapmask, blend->rop_descriptor, 0); + } + + pixman_image_unref(surface); + } + + free_mask(&bitmapmask); +} + +static void gdi_canvas_draw_blackness(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceBlackness *blackness) +{ + GdiCanvas *canvas = (GdiCanvas *)spice_canvas; + struct BitmapData bitmapmask; + + RecurciveLock lock(*canvas->lock); + bitmapmask = get_mask_bitmap(canvas, &blackness->mask); + set_clip(canvas, clip); + gdi_draw_bitmap(canvas->dc, bbox, bbox, canvas->dc, &bitmapmask, 0x0); + + free_mask(&bitmapmask); +} + +static void gdi_canvas_draw_invers(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceInvers *invers) +{ + GdiCanvas *canvas = (GdiCanvas *)spice_canvas; + struct BitmapData bitmapmask; + + RecurciveLock lock(*canvas->lock); + bitmapmask = get_mask_bitmap(canvas, &invers->mask); + set_clip(canvas, clip); + gdi_draw_bitmap(canvas->dc, bbox, bbox, canvas->dc, &bitmapmask, 0x55); + + free_mask(&bitmapmask); +} + +static void gdi_canvas_draw_whiteness(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceWhiteness *whiteness) +{ + GdiCanvas *canvas = (GdiCanvas *)spice_canvas; + struct BitmapData bitmapmask; + + RecurciveLock lock(*canvas->lock); + bitmapmask = get_mask_bitmap(canvas, &whiteness->mask); + set_clip(canvas, clip); + gdi_draw_bitmap(canvas->dc, bbox, bbox, canvas->dc, &bitmapmask, 0xff); + + free_mask(&bitmapmask); +} + +static void gdi_canvas_draw_rop3(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceRop3 *rop3) +{ + GdiCanvas *gdi_surface; + GdiCanvas *canvas = (GdiCanvas *)spice_canvas; + pixman_image_t *surface; + struct BitmapData bitmapmask; + HBRUSH prev_hbrush; + HBRUSH hbrush; + PixmanData *pixman_data; + RecurciveMutex *brush_lock; + + gdi_surface = (GdiCanvas *)canvas_get_surface(&canvas->base, rop3->src_bitmap); + if (gdi_surface) { + RecurciveLock lock(*canvas->lock); + RecurciveLock s_lock(*gdi_surface->lock); + hbrush = get_brush(canvas, &rop3->brush, &brush_lock); + bitmapmask = get_mask_bitmap(canvas, &rop3->mask); + set_scale_mode(canvas, rop3->scale_mode); + set_clip(canvas, clip); + prev_hbrush = set_brush(canvas->dc, hbrush, &rop3->brush); + if (brush_lock) { + RecurciveLock b_lock(*brush_lock); + gdi_draw_bitmap(canvas->dc, &rop3->src_area, bbox, gdi_surface->dc, + &bitmapmask, rop3->rop3); + } else { + gdi_draw_bitmap(canvas->dc, &rop3->src_area, bbox, gdi_surface->dc, + &bitmapmask, rop3->rop3); + } + unset_brush(canvas->dc, prev_hbrush); + } else { + surface = canvas_get_image(&canvas->base, rop3->src_bitmap, FALSE); + pixman_data = (PixmanData *)pixman_image_get_destroy_data(surface); + RecurciveLock lock(*canvas->lock); + hbrush = get_brush(canvas, &rop3->brush, &brush_lock); + bitmapmask = get_mask_bitmap(canvas, &rop3->mask); + set_scale_mode(canvas, rop3->scale_mode); + set_clip(canvas, clip); + prev_hbrush = set_brush(canvas->dc, hbrush, &rop3->brush); + + if (pixman_data && (WaitForSingleObject(pixman_data->mutex, INFINITE) != WAIT_FAILED)) { + HDC dc; + HBITMAP prev_bitmap; + + dc = create_compatible_dc(); + prev_bitmap = (HBITMAP)SelectObject(dc, pixman_data->bitmap); + if (brush_lock) { + RecurciveLock b_lock(*brush_lock); + gdi_draw_bitmap(canvas->dc, &rop3->src_area, bbox, dc, + &bitmapmask, rop3->rop3); + } else { + gdi_draw_bitmap(canvas->dc, &rop3->src_area, bbox, dc, + &bitmapmask, rop3->rop3); + } + SelectObject(dc, prev_bitmap); + DeleteObject(dc); + ReleaseMutex(pixman_data->mutex); + } else { + if (brush_lock) { + RecurciveLock b_lock(*brush_lock); + gdi_draw_image_rop3(canvas->dc, &rop3->src_area, bbox, surface, &bitmapmask, rop3->rop3, 0); + } else { + gdi_draw_image_rop3(canvas->dc, &rop3->src_area, bbox, surface, &bitmapmask, rop3->rop3, 0); + } + } + + unset_brush(canvas->dc, prev_hbrush); + pixman_image_unref(surface); + } + + free_mask(&bitmapmask); +} + +static void gdi_canvas_copy_bits(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpicePoint *src_pos) +{ + GdiCanvas *canvas = (GdiCanvas *)spice_canvas; + RecurciveLock lock(*canvas->lock); + + set_clip(canvas, clip); + + BitBlt(canvas->dc, bbox->left, bbox->top, bbox->right - bbox->left, + bbox->bottom - bbox->top, canvas->dc, src_pos->x, src_pos->y, SRCCOPY); +} + +static void gdi_canvas_draw_text(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceText *text) +{ + GdiCanvas *canvas = (GdiCanvas *)spice_canvas; + SpiceString *str; + RecurciveMutex *brush_lock; + + RecurciveLock lock(*canvas->lock); + set_clip(canvas, clip); + lock.unlock(); + + if (!rect_is_empty(&text->back_area)) { + HBRUSH prev_hbrush; + HBRUSH hbrush; + + RecurciveLock lock(*canvas->lock); + hbrush = get_brush(canvas, &text->back_brush, &brush_lock); + prev_hbrush = set_brush(canvas->dc, hbrush, &text->back_brush); + if (brush_lock) { + RecurciveLock b_lock(*brush_lock); + gdi_draw_bitmap_redrop(canvas->dc, bbox, bbox, canvas->dc, NULL, + text->back_mode, 1); + } else { + gdi_draw_bitmap_redrop(canvas->dc, bbox, bbox, canvas->dc, NULL, + text->back_mode, 1); + } + unset_brush(canvas->dc, prev_hbrush); + } + + str = (SpiceString *)SPICE_GET_ADDRESS(text->str); + + if (str->flags & SPICE_STRING_FLAGS_RASTER_A1) { + SpiceRect dest; + SpiceRect src; + + draw_str_mask_bitmap(canvas, str, 1, &dest, &src, &text->fore_brush); + } else if (str->flags & SPICE_STRING_FLAGS_RASTER_A4) { + SpiceRect dest; + SpiceRect src; + + draw_str_mask_bitmap(canvas, str, 4, &dest, &src, &text->fore_brush); + } else if (str->flags & SPICE_STRING_FLAGS_RASTER_A8) { + spice_warning("untested path A8 glyphs, doing nothing"); + if (0) { + SpiceRect dest; + SpiceRect src; + + draw_str_mask_bitmap(canvas, str, 8, &dest, &src, &text->fore_brush); + } + } else { + spice_warning("untested path vector glyphs, doing nothing"); + if (0) { + } + } +} + +static uint32_t *gdi_get_userstyle(GdiCanvas *canvas, uint8_t nseg, SPICE_FIXED28_4* style, int start_is_gap) +{ + uint32_t *local_style; + int i; + + spice_return_val_if_fail(nseg != 0, NULL); + + local_style = spice_new(uint32_t , nseg); + + if (start_is_gap) { + local_style[nseg - 1] = (uint32_t)fix_to_double(*style); + style++; + + for (i = 0; i < nseg - 1; i++, style++) { + local_style[i] = (uint32_t)fix_to_double(*style); + } + } else { + for (i = 0; i < nseg; i++, style++) { + local_style[i] = (uint32_t)fix_to_double(*style); + } + } + + return local_style; +} + +static void gdi_canvas_draw_stroke(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceStroke *stroke) +{ + GdiCanvas *canvas = (GdiCanvas *)spice_canvas; + HPEN hpen; + HPEN prev_hpen; + LOGBRUSH logbrush; + uint32_t *user_style = NULL; + pixman_image_t *surface = NULL; + + if (stroke->brush.type == SPICE_BRUSH_TYPE_PATTERN) { + surface = canvas_get_image(&canvas->base, stroke->brush.u.pattern.pat, FALSE); + } + + RecurciveLock lock(*canvas->lock); + set_clip(canvas, clip); + + switch (stroke->fore_mode) { + case SPICE_ROPD_OP_WHITENESS: + SetROP2(canvas->dc, R2_WHITE); //0 + break; + case SPICE_ROPD_OP_BLACKNESS: + SetROP2(canvas->dc, R2_BLACK); //1 + break; + case SPICE_ROPD_OP_INVERS: + SetROP2(canvas->dc, R2_NOT); //Dn + break; + case SPICE_ROPD_OP_PUT: + SetROP2(canvas->dc, R2_COPYPEN); //P + break; + case SPICE_ROPD_OP_OR: + SetROP2(canvas->dc, R2_MERGEPEN); //DPo + break; + case SPICE_ROPD_OP_XOR: + SetROP2(canvas->dc, R2_XORPEN); //DPx + break; + case SPICE_ROPD_OP_AND: + SetROP2(canvas->dc, R2_MASKPEN); //DPa + break; + case SPICE_ROPD_INVERS_BRUSH | SPICE_ROPD_OP_PUT: //Pn + SetROP2(canvas->dc, R2_NOTCOPYPEN); + break; + case SPICE_ROPD_OP_XOR | SPICE_ROPD_INVERS_RES: + SetROP2(canvas->dc, R2_NOTXORPEN); //DPxn + break; + case SPICE_ROPD_OP_OR | SPICE_ROPD_INVERS_RES: + SetROP2(canvas->dc, R2_NOTMERGEPEN); //DPon + break; + case SPICE_ROPD_OP_AND | SPICE_ROPD_INVERS_RES: + SetROP2(canvas->dc, R2_NOTMASKPEN); //DPan + break; + case SPICE_ROPD_INVERS_DEST | SPICE_ROPD_OP_AND: + SetROP2(canvas->dc, R2_MASKPENNOT); //PDna + break; + case SPICE_ROPD_INVERS_BRUSH | SPICE_ROPD_OP_AND: + SetROP2(canvas->dc, R2_MASKNOTPEN); //DPna + break; + case SPICE_ROPD_OP_OR | SPICE_ROPD_INVERS_BRUSH: + SetROP2(canvas->dc, R2_MERGENOTPEN); //DPno + break; + case SPICE_ROPD_OP_OR | SPICE_ROPD_INVERS_DEST: + SetROP2(canvas->dc, R2_MERGEPENNOT); //PDno + break; + default: + SetROP2(canvas->dc, R2_NOP); //D + } + + + if (stroke->brush.type == SPICE_BRUSH_TYPE_SOLID) { + logbrush.lbStyle = BS_SOLID | DIB_RGB_COLORS; + logbrush.lbHatch = 0; + logbrush.lbColor = get_color_ref(canvas, stroke->brush.u.color); + } else if (stroke->brush.type == SPICE_BRUSH_TYPE_PATTERN) { +#if 0 + struct { + BITMAPINFO inf; + RGBQUAD palette[255]; + } bitmap_info; + GdiImage image; +#endif +#if 0 + spice_return_if_fail(surface != NULL) + surface_to_image(surface, &image); + + memset(&bitmap_info, 0, sizeof(bitmap_info)); + bitmap_info.inf.bmiHeader.biSize = sizeof(bitmap_info.inf.bmiHeader); + bitmap_info.inf.bmiHeader.biWidth = image.width; + if (image.stride < 0) { + bitmap_info.inf.bmiHeader.biHeight = image.height; + } else { + bitmap_info.inf.bmiHeader.biHeight = -image.height; + } + bitmap_info.inf.bmiHeader.biPlanes = 1; + bitmap_info.inf.bmiHeader.biBitCount = 32; + bitmap_info.inf.bmiHeader.biCompression = BI_RGB; + + if (image.stride < 0) { + logbrush.lbHatch = (LONG)GlobalAlloc(GMEM_MOVEABLE, + image.height * -image.stride + sizeof(BITMAPINFO)); + if (!logbrush.lbHatch) { + spice_critical("GlobalAlloc failed"); + return; + } + copy_bitmap(image.pixels - (image.height - 1) * -image.stride, + image.height, -image.stride, + (uint8_t *)logbrush.lbHatch, image.width); + } else { + logbrush.lbHatch = (LONG)GlobalAlloc(GMEM_MOVEABLE, + image.height * image.stride + sizeof(BITMAPINFO)); + if (!logbrush.lbHatch) { + spice_critical("GlobalAlloc failed"); + return; + } + copy_bitmap(image.pixels, image.height, image.stride, + (uint8_t *)logbrush.lbHatch, image.width); + } + + memcpy((void *)logbrush.lbHatch, &bitmap_info.inf, sizeof(BITMAPINFO)); + + logbrush.lbStyle = BS_DIBPATTERN | DIB_RGB_COLORS; + logbrush.lbColor = 0; +#endif + pixman_image_unref(surface); + } + + if (stroke->attr.flags & SPICE_LINE_FLAGS_STYLED) { + user_style = gdi_get_userstyle(canvas, stroke->attr.style_nseg, + stroke->attr.style, + !!(stroke->attr.flags & SPICE_LINE_FLAGS_START_WITH_GAP)); + hpen = ExtCreatePen(PS_COSMETIC | PS_USERSTYLE, + 1, + &logbrush, stroke->attr.style_nseg, (DWORD *)user_style); + } else { + hpen = ExtCreatePen(PS_COSMETIC, + 1, + &logbrush, 0, NULL); + } + prev_hpen = (HPEN)SelectObject(canvas->dc, hpen); + + set_path(canvas, stroke->path); + + StrokePath(canvas->dc); + + SelectObject(canvas->dc, prev_hpen); + DeleteObject(hpen); + +#if 0 + if (stroke->brush.type == SPICE_BRUSH_TYPE_PATTERN) { + GlobalFree((HGLOBAL)logbrush.lbHatch); + } +#endif + + free(user_style); +} + +static void gdi_canvas_clear(SpiceCanvas *spice_canvas) +{ +} + +static void gdi_canvas_destroy(SpiceCanvas *spice_canvas) +{ + GdiCanvas *canvas = (GdiCanvas *)spice_canvas; + if (!canvas) { + return; + } + canvas_base_destroy(&canvas->base); + free(canvas); +} + +static int need_init = 1; +static SpiceCanvasOps gdi_canvas_ops; + +SpiceCanvas *gdi_canvas_create(int width, int height, + HDC dc, RecurciveMutex* lock, uint32_t format +#ifdef SW_CANVAS_CACHE + , SpiceImageCache *bits_cache + , SpicePaletteCache *palette_cache +#elif defined(SW_CANVAS_IMAGE_CACHE) + , SpiceImageCache *bits_cache +#endif + , SpiceImageSurfaces *surfaces + , SpiceGlzDecoder *glz_decoder + , SpiceJpegDecoder *jpeg_decoder + , SpiceZlibDecoder *zlib_decoder + ) +{ + GdiCanvas *canvas; + + if (need_init) { + return NULL; + } + canvas = spice_new0(GdiCanvas, 1); + canvas_base_init(&canvas->base, &gdi_canvas_ops, + width, height, format, +#ifdef SW_CANVAS_CACHE + bits_cache, + palette_cache, +#elif defined(SW_CANVAS_IMAGE_CACHE) + bits_cache, +#endif + surfaces, + glz_decoder, + jpeg_decoder, + zlib_decoder); + canvas->dc = dc; + canvas->lock = lock; + return (SpiceCanvas *)canvas; +} + +void gdi_canvas_init(void) //unsafe global function +{ + if (!need_init) { + return; + } + need_init = 0; + + canvas_base_init_ops(&gdi_canvas_ops); + gdi_canvas_ops.draw_fill = gdi_canvas_draw_fill; + gdi_canvas_ops.draw_copy = gdi_canvas_draw_copy; + gdi_canvas_ops.draw_opaque = gdi_canvas_draw_opaque; + gdi_canvas_ops.copy_bits = gdi_canvas_copy_bits; + gdi_canvas_ops.draw_text = gdi_canvas_draw_text; + gdi_canvas_ops.draw_stroke = gdi_canvas_draw_stroke; + gdi_canvas_ops.draw_rop3 = gdi_canvas_draw_rop3; + gdi_canvas_ops.draw_blend = gdi_canvas_draw_blend; + gdi_canvas_ops.draw_blackness = gdi_canvas_draw_blackness; + gdi_canvas_ops.draw_whiteness = gdi_canvas_draw_whiteness; + gdi_canvas_ops.draw_invers = gdi_canvas_draw_invers; + gdi_canvas_ops.draw_transparent = gdi_canvas_draw_transparent; + gdi_canvas_ops.draw_alpha_blend = gdi_canvas_draw_alpha_blend; + gdi_canvas_ops.put_image = gdi_canvas_put_image; + gdi_canvas_ops.clear = gdi_canvas_clear; + gdi_canvas_ops.destroy = gdi_canvas_destroy; + + rop3_init(); +} diff --git a/tizen/distrib/remote/common/spice-common/common/gdi_canvas.h b/tizen/distrib/remote/common/spice-common/common/gdi_canvas.h new file mode 100644 index 0000000..dc302dc --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/gdi_canvas.h @@ -0,0 +1,44 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H__GDI_CANVAS +#define _H__GDI_CANVAS + +#include <stdint.h> +#include <spice/macros.h> + +#include "pixman_utils.h" +#include "canvas_base.h" +#include "region.h" + +SPICE_BEGIN_DECLS + +SpiceCanvas *gdi_canvas_create(int width, int height, + HDC dc, class RecurciveMutex *lock, uint32_t format, + SpiceImageCache *bits_cache, + SpicePaletteCache *palette_cache, + SpiceImageSurfaces *surfaces, + SpiceGlzDecoder *glz_decoder, + SpiceJpegDecoder *jpeg_decoder, + SpiceZlibDecoder *zlib_decoder); + +void gdi_canvas_init(void); + +SPICE_END_DECLS + +#endif diff --git a/tizen/distrib/remote/common/spice-common/common/generated_client_demarshallers.c b/tizen/distrib/remote/common/spice-common/common/generated_client_demarshallers.c new file mode 100644 index 0000000..c89e8a8 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/generated_client_demarshallers.c @@ -0,0 +1,7977 @@ +/* this is a file autogenerated by spice_codegen.py */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include "messages.h" +#include <string.h> +#include <assert.h> +#include <stdlib.h> +#include <stdio.h> +#include <spice/protocol.h> +#include <spice/macros.h> +#include "mem.h" + +#ifdef _MSC_VER +#pragma warning(disable:4101) +#endif + +#ifdef CONFIG_MARU +extern char HOST_IP[32]; +#endif + +#ifdef WORDS_BIGENDIAN +#define read_int8(ptr) (*((int8_t *)(ptr))) +#define write_int8(ptr, val) *(int8_t *)(ptr) = val +#define read_uint8(ptr) (*((uint8_t *)(ptr))) +#define write_uint8(ptr, val) *(uint8_t *)(ptr) = val +#define read_int16(ptr) ((int16_t)SPICE_BYTESWAP16(*((uint16_t *)(ptr)))) +#define write_int16(ptr, val) *(uint16_t *)(ptr) = SPICE_BYTESWAP16((uint16_t)val) +#define read_uint16(ptr) ((uint16_t)SPICE_BYTESWAP16(*((uint16_t *)(ptr)))) +#define write_uint16(ptr, val) *(uint16_t *)(ptr) = SPICE_BYTESWAP16((uint16_t)val) +#define read_int32(ptr) ((int32_t)SPICE_BYTESWAP32(*((uint32_t *)(ptr)))) +#define write_int32(ptr, val) *(uint32_t *)(ptr) = SPICE_BYTESWAP32((uint32_t)val) +#define read_uint32(ptr) ((uint32_t)SPICE_BYTESWAP32(*((uint32_t *)(ptr)))) +#define write_uint32(ptr, val) *(uint32_t *)(ptr) = SPICE_BYTESWAP32((uint32_t)val) +#define read_int64(ptr) ((int64_t)SPICE_BYTESWAP64(*((uint64_t *)(ptr)))) +#define write_int64(ptr, val) *(uint64_t *)(ptr) = SPICE_BYTESWAP64((uint64_t)val) +#define read_uint64(ptr) ((uint64_t)SPICE_BYTESWAP64(*((uint64_t *)(ptr)))) +#define write_uint64(ptr, val) *(uint64_t *)(ptr) = SPICE_BYTESWAP64((uint64_t)val) +#else +#define read_int8(ptr) (*((int8_t *)(ptr))) +#define write_int8(ptr, val) (*((int8_t *)(ptr))) = val +#define read_uint8(ptr) (*((uint8_t *)(ptr))) +#define write_uint8(ptr, val) (*((uint8_t *)(ptr))) = val +#define read_int16(ptr) (*((int16_t *)(ptr))) +#define write_int16(ptr, val) (*((int16_t *)(ptr))) = val +#define read_uint16(ptr) (*((uint16_t *)(ptr))) +#define write_uint16(ptr, val) (*((uint16_t *)(ptr))) = val +#define read_int32(ptr) (*((int32_t *)(ptr))) +#define write_int32(ptr, val) (*((int32_t *)(ptr))) = val +#define read_uint32(ptr) (*((uint32_t *)(ptr))) +#define write_uint32(ptr, val) (*((uint32_t *)(ptr))) = val +#define read_int64(ptr) (*((int64_t *)(ptr))) +#define write_int64(ptr, val) (*((int64_t *)(ptr))) = val +#define read_uint64(ptr) (*((uint64_t *)(ptr))) +#define write_uint64(ptr, val) (*((uint64_t *)(ptr))) = val +#endif + +static int8_t SPICE_GNUC_UNUSED consume_int8(uint8_t **ptr) +{ + int8_t val; + val = read_int8(*ptr); + *ptr += 1; + return val; +} + +static uint8_t SPICE_GNUC_UNUSED consume_uint8(uint8_t **ptr) +{ + uint8_t val; + val = read_uint8(*ptr); + *ptr += 1; + return val; +} + +static int16_t SPICE_GNUC_UNUSED consume_int16(uint8_t **ptr) +{ + int16_t val; + val = read_int16(*ptr); + *ptr += 2; + return val; +} + +static uint16_t SPICE_GNUC_UNUSED consume_uint16(uint8_t **ptr) +{ + uint16_t val; + val = read_uint16(*ptr); + *ptr += 2; + return val; +} + +static int32_t SPICE_GNUC_UNUSED consume_int32(uint8_t **ptr) +{ + int32_t val; + val = read_int32(*ptr); + *ptr += 4; + return val; +} + +static uint32_t SPICE_GNUC_UNUSED consume_uint32(uint8_t **ptr) +{ + uint32_t val; + val = read_uint32(*ptr); + *ptr += 4; + return val; +} + +static int64_t SPICE_GNUC_UNUSED consume_int64(uint8_t **ptr) +{ + int64_t val; + val = read_int64(*ptr); + *ptr += 8; + return val; +} + +static uint64_t SPICE_GNUC_UNUSED consume_uint64(uint8_t **ptr) +{ + uint64_t val; + val = read_uint64(*ptr); + *ptr += 8; + return val; +} + +typedef struct PointerInfo PointerInfo; +typedef void (*message_destructor_t)(uint8_t *message); +typedef uint8_t * (*parse_func_t)(uint8_t *message_start, uint8_t *message_end, uint8_t *struct_data, PointerInfo *ptr_info, int minor); +typedef uint8_t * (*parse_msg_func_t)(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size_out, message_destructor_t *free_message); +typedef uint8_t * (*spice_parse_channel_func_t)(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message); + +struct PointerInfo { + uint64_t offset; + parse_func_t parse; + void * *dest; + uint32_t nelements; +}; + +static uint8_t * parse_msg_migrate(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgMigrate *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgMigrate); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgMigrate); + in = start; + + out = (SpiceMsgMigrate *)data; + + out->flags = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static void nofree(uint8_t *data) +{ +} + +static uint8_t * parse_SpiceMsgData(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t data__nw_size; + uint32_t data__nelements; + + { /* data */ + data__nelements = message_end - (start + 0); + + data__nw_size = data__nelements; + } + + nw_size = 0 + data__nw_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = message_start; + *size = message_end - message_start; + *free_message = nofree; + return data; + +} + +static uint8_t * parse_msg_set_ack(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgSetAck *out; + + nw_size = 8; + mem_size = sizeof(SpiceMsgSetAck); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgSetAck); + in = start; + + out = (SpiceMsgSetAck *)data; + + out->generation = consume_uint32(&in); + out->window = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_ping(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t data__nw_size; + uint32_t data__nelements; + SpiceMsgPing *out; + + { /* data */ + data__nelements = message_end - (start + 12); + + data__nw_size = data__nelements; + } + + nw_size = 12 + data__nw_size; + mem_size = sizeof(SpiceMsgPing); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgPing); + in = start; + + out = (SpiceMsgPing *)data; + + out->id = consume_uint32(&in); + out->timestamp = consume_uint64(&in); + /* use array as pointer */ + out->data = (uint8_t *)in; + out->data_len = data__nelements; + in += data__nelements; + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_wait_for_channels(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t wait_list__nw_size, wait_list__mem_size; + uint32_t wait_list__nelements; + SpiceMsgWaitForChannels *out; + uint32_t i; + + { /* wait_list */ + uint8_t wait_count__value; + pos = start + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + wait_count__value = read_uint8(pos); + wait_list__nelements = wait_count__value; + + wait_list__nw_size = (10) * wait_list__nelements; + wait_list__mem_size = sizeof(SpiceWaitForChannel) * wait_list__nelements; + } + + nw_size = 1 + wait_list__nw_size; + mem_size = sizeof(SpiceMsgWaitForChannels) + wait_list__mem_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgWaitForChannels); + in = start; + + out = (SpiceMsgWaitForChannels *)data; + + out->wait_count = consume_uint8(&in); + for (i = 0; i < wait_list__nelements; i++) { + SpiceWaitForChannel *out2; + out2 = (SpiceWaitForChannel *)end; + end += sizeof(SpiceWaitForChannel); + + out2->channel_type = consume_uint8(&in); + out2->channel_id = consume_uint8(&in); + out2->message_serial = consume_uint64(&in); + } + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_disconnecting(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgDisconnect *out; + + nw_size = 12; + mem_size = sizeof(SpiceMsgDisconnect); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisconnect); + in = start; + + out = (SpiceMsgDisconnect *)data; + + out->time_stamp = consume_uint64(&in); + out->reason = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_notify(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t message__nw_size, message__mem_size; + uint32_t message__nelements; + SpiceMsgNotify *out; + + { /* message */ + uint32_t message_len__value; + pos = start + 20; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + message_len__value = read_uint32(pos); + message__nelements = message_len__value; + + message__nw_size = message__nelements; + message__mem_size = sizeof(uint8_t) * message__nelements; + } + + nw_size = 24 + message__nw_size; + mem_size = sizeof(SpiceMsgNotify) + message__mem_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgNotify); + in = start; + + out = (SpiceMsgNotify *)data; + + out->time_stamp = consume_uint64(&in); + out->severity = consume_uint32(&in); + out->visibilty = consume_uint32(&in); + out->what = consume_uint32(&in); + out->message_len = consume_uint32(&in); + memcpy(out->message, in, message__nelements); + in += message__nelements; + end += message__nelements; + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_array_uint8(uint8_t *message_start, uint8_t *message_end, uint8_t *struct_data, PointerInfo *this_ptr_info, int minor) +{ + uint8_t *in = message_start + this_ptr_info->offset; + uint8_t *end; + + end = struct_data; + memcpy(end, in, this_ptr_info->nelements); + in += this_ptr_info->nelements; + end += this_ptr_info->nelements; + return end; +} + +static uint8_t * parse_msg_main_migrate_begin(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[2]; + size_t dst_info__extra_size; + SpiceMsgMainMigrationBegin *out; + uint32_t i; + + { /* dst_info */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t host_data__extra_size; + uint32_t host_data__array__nelements; + size_t cert_subject_data__extra_size; + uint32_t cert_subject_data__array__nelements; + { /* host_data */ + uint32_t host_data__value; + uint32_t host_data__array__nw_size; + uint32_t host_data__array__mem_size; + uint32_t host_size__value; + pos = (start2 + 8); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + host_data__value = read_uint32(pos); + if (SPICE_UNLIKELY(host_data__value == 0)) { + goto error; + } + if (SPICE_UNLIKELY(message_start + host_data__value >= message_end)) { + goto error; + } + pos = start2 + 4; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + host_size__value = read_uint32(pos); + host_data__array__nelements = host_size__value; + + host_data__array__nw_size = host_data__array__nelements; + host_data__array__mem_size = sizeof(uint8_t) * host_data__array__nelements; + if (SPICE_UNLIKELY(message_start + host_data__value + host_data__array__nw_size > message_end)) { + goto error; + } + host_data__extra_size = host_data__array__mem_size + /* for alignment */ 3; + } + + { /* cert_subject_data */ + uint32_t cert_subject_data__value; + uint32_t cert_subject_data__array__nw_size; + uint32_t cert_subject_data__array__mem_size; + uint32_t cert_subject_size__value; + pos = (start2 + 16); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + cert_subject_data__value = read_uint32(pos); + if (SPICE_UNLIKELY(message_start + cert_subject_data__value >= message_end)) { + goto error; + } + pos = start2 + 12; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + cert_subject_size__value = read_uint32(pos); + cert_subject_data__array__nelements = cert_subject_size__value; + + cert_subject_data__array__nw_size = cert_subject_data__array__nelements; + cert_subject_data__array__mem_size = sizeof(uint8_t) * cert_subject_data__array__nelements; + if (SPICE_UNLIKELY(message_start + cert_subject_data__value + cert_subject_data__array__nw_size > message_end)) { + goto error; + } + cert_subject_data__extra_size = cert_subject_data__array__mem_size + /* for alignment */ 3; + } + + dst_info__extra_size = host_data__extra_size + cert_subject_data__extra_size; + } + + nw_size = 20; + mem_size = sizeof(SpiceMsgMainMigrationBegin) + dst_info__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgMainMigrationBegin); + in = start; + + out = (SpiceMsgMainMigrationBegin *)data; + + /* dst_info */ { + uint32_t host_data__array__nelements; + uint32_t cert_subject_data__array__nelements; + out->dst_info.port = consume_uint16(&in); + out->dst_info.sport = consume_uint16(&in); + out->dst_info.host_size = consume_uint32(&in); + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_array_uint8; + ptr_info[n_ptr].dest = (void **)&out->dst_info.host_data; + host_data__array__nelements = out->dst_info.host_size; + ptr_info[n_ptr].nelements = host_data__array__nelements; + n_ptr++; + out->dst_info.cert_subject_size = consume_uint32(&in); + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_array_uint8; + ptr_info[n_ptr].dest = (void **)&out->dst_info.cert_subject_data; + cert_subject_data__array__nelements = out->dst_info.cert_subject_size; + ptr_info[n_ptr].nelements = cert_subject_data__array__nelements; + n_ptr++; + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_SpiceMsgEmpty(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + + nw_size = 0; + mem_size = sizeof(SpiceMsgEmpty); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgEmpty); + in = start; + + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_main_init(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgMainInit *out; + + nw_size = 32; + mem_size = sizeof(SpiceMsgMainInit); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgMainInit); + in = start; + + out = (SpiceMsgMainInit *)data; + + out->session_id = consume_uint32(&in); + out->display_channels_hint = consume_uint32(&in); + out->supported_mouse_modes = consume_uint32(&in); + out->current_mouse_mode = consume_uint32(&in); + out->agent_connected = consume_uint32(&in); + out->agent_tokens = consume_uint32(&in); + out->multi_media_time = consume_uint32(&in); + out->ram_hint = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_main_channels_list(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t channels__nw_size, channels__mem_size; + uint32_t channels__nelements; + SpiceMsgChannels *out; + uint32_t i; + + { /* channels */ + uint32_t num_of_channels__value; + pos = start + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + num_of_channels__value = read_uint32(pos); + channels__nelements = num_of_channels__value; + + channels__nw_size = (2) * channels__nelements; + channels__mem_size = sizeof(SpiceChannelId) * channels__nelements; + } + + nw_size = 4 + channels__nw_size; + mem_size = sizeof(SpiceMsgChannels) + channels__mem_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgChannels); + in = start; + + out = (SpiceMsgChannels *)data; + + out->num_of_channels = consume_uint32(&in); + for (i = 0; i < channels__nelements; i++) { + SpiceChannelId *out2; + out2 = (SpiceChannelId *)end; + end += sizeof(SpiceChannelId); + + out2->type = consume_uint8(&in); + out2->id = consume_uint8(&in); + } + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_main_mouse_mode(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgMainMouseMode *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgMainMouseMode); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgMainMouseMode); + in = start; + + out = (SpiceMsgMainMouseMode *)data; + + out->supported_modes = consume_uint16(&in); + out->current_mode = consume_uint16(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_main_multi_media_time(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgMainMultiMediaTime *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgMainMultiMediaTime); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgMainMultiMediaTime); + in = start; + + out = (SpiceMsgMainMultiMediaTime *)data; + + out->time = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_main_agent_disconnected(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgMainAgentDisconnect *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgMainAgentDisconnect); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgMainAgentDisconnect); + in = start; + + out = (SpiceMsgMainAgentDisconnect *)data; + + out->error_code = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_main_agent_token(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgMainAgentTokens *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgMainAgentTokens); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgMainAgentTokens); + in = start; + + out = (SpiceMsgMainAgentTokens *)data; + + out->num_tokens = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_main_migrate_switch_host(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[2]; + size_t host_data__extra_size; + uint32_t host_data__array__nelements; + size_t cert_subject_data__extra_size; + uint32_t cert_subject_data__array__nelements; + SpiceMsgMainMigrationSwitchHost *out; + uint32_t i; + + { /* host_data */ + uint32_t host_data__value; + uint32_t host_data__array__nw_size; + uint32_t host_data__array__mem_size; + uint32_t host_size__value; + pos = (start + 8); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + host_data__value = read_uint32(pos); + if (SPICE_UNLIKELY(message_start + host_data__value >= message_end)) { + goto error; + } + pos = start + 4; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + host_size__value = read_uint32(pos); + host_data__array__nelements = host_size__value; + + host_data__array__nw_size = host_data__array__nelements; + host_data__array__mem_size = sizeof(uint8_t) * host_data__array__nelements; + if (SPICE_UNLIKELY(message_start + host_data__value + host_data__array__nw_size > message_end)) { + goto error; + } + host_data__extra_size = host_data__array__mem_size + /* for alignment */ 3; + } + + { /* cert_subject_data */ + uint32_t cert_subject_data__value; + uint32_t cert_subject_data__array__nw_size; + uint32_t cert_subject_data__array__mem_size; + uint32_t cert_subject_size__value; + pos = (start + 16); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + cert_subject_data__value = read_uint32(pos); + if (SPICE_UNLIKELY(message_start + cert_subject_data__value >= message_end)) { + goto error; + } + pos = start + 12; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + cert_subject_size__value = read_uint32(pos); + cert_subject_data__array__nelements = cert_subject_size__value; + + cert_subject_data__array__nw_size = cert_subject_data__array__nelements; + cert_subject_data__array__mem_size = sizeof(uint8_t) * cert_subject_data__array__nelements; + if (SPICE_UNLIKELY(message_start + cert_subject_data__value + cert_subject_data__array__nw_size > message_end)) { + goto error; + } + cert_subject_data__extra_size = cert_subject_data__array__mem_size + /* for alignment */ 3; + } + + nw_size = 20; + mem_size = sizeof(SpiceMsgMainMigrationSwitchHost) + host_data__extra_size + cert_subject_data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgMainMigrationSwitchHost); + in = start; + + out = (SpiceMsgMainMigrationSwitchHost *)data; + + out->port = consume_uint16(&in); + out->sport = consume_uint16(&in); + out->host_size = consume_uint32(&in); + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_array_uint8; + ptr_info[n_ptr].dest = (void **)&out->host_data; + ptr_info[n_ptr].nelements = host_data__array__nelements; + n_ptr++; + out->cert_subject_size = consume_uint32(&in); + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_array_uint8; + ptr_info[n_ptr].dest = (void **)&out->cert_subject_data; + ptr_info[n_ptr].nelements = cert_subject_data__array__nelements; + n_ptr++; + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_main_name(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t name__nw_size, name__mem_size; + uint32_t name__nelements; + SpiceMsgMainName *out; + + { /* name */ + uint32_t name_len__value; + pos = start + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + name_len__value = read_uint32(pos); + name__nelements = name_len__value; + + name__nw_size = name__nelements; + name__mem_size = sizeof(uint8_t) * name__nelements; + } + + nw_size = 4 + name__nw_size; + mem_size = sizeof(SpiceMsgMainName) + name__mem_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgMainName); + in = start; + + out = (SpiceMsgMainName *)data; + + out->name_len = consume_uint32(&in); + memcpy(out->name, in, name__nelements); + in += name__nelements; + end += name__nelements; + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_main_uuid(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgMainUuid *out; + uint32_t uuid__nelements; + + nw_size = 16; + mem_size = sizeof(SpiceMsgMainUuid); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgMainUuid); + in = start; + + out = (SpiceMsgMainUuid *)data; + + uuid__nelements = 16; + memcpy(out->uuid, in, uuid__nelements); + in += uuid__nelements; + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_main_agent_connected_tokens(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgMainAgentConnectedTokens *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgMainAgentConnectedTokens); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgMainAgentConnectedTokens); + in = start; + + out = (SpiceMsgMainAgentConnectedTokens *)data; + + out->num_tokens = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_main_migrate_begin_seamless(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[2]; + size_t dst_info__extra_size; + SpiceMsgMainMigrateBeginSeamless *out; + uint32_t i; + + { /* dst_info */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t host_data__extra_size; + uint32_t host_data__array__nelements; + size_t cert_subject_data__extra_size; + uint32_t cert_subject_data__array__nelements; + { /* host_data */ + uint32_t host_data__value; + uint32_t host_data__array__nw_size; + uint32_t host_data__array__mem_size; + uint32_t host_size__value; + pos = (start2 + 8); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + host_data__value = read_uint32(pos); + if (SPICE_UNLIKELY(host_data__value == 0)) { + goto error; + } + if (SPICE_UNLIKELY(message_start + host_data__value >= message_end)) { + goto error; + } + pos = start2 + 4; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + host_size__value = read_uint32(pos); + host_data__array__nelements = host_size__value; + + host_data__array__nw_size = host_data__array__nelements; + host_data__array__mem_size = sizeof(uint8_t) * host_data__array__nelements; + if (SPICE_UNLIKELY(message_start + host_data__value + host_data__array__nw_size > message_end)) { + goto error; + } + host_data__extra_size = host_data__array__mem_size + /* for alignment */ 3; + } + + { /* cert_subject_data */ + uint32_t cert_subject_data__value; + uint32_t cert_subject_data__array__nw_size; + uint32_t cert_subject_data__array__mem_size; + uint32_t cert_subject_size__value; + pos = (start2 + 16); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + cert_subject_data__value = read_uint32(pos); + if (SPICE_UNLIKELY(message_start + cert_subject_data__value >= message_end)) { + goto error; + } + pos = start2 + 12; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + cert_subject_size__value = read_uint32(pos); + cert_subject_data__array__nelements = cert_subject_size__value; + + cert_subject_data__array__nw_size = cert_subject_data__array__nelements; + cert_subject_data__array__mem_size = sizeof(uint8_t) * cert_subject_data__array__nelements; + if (SPICE_UNLIKELY(message_start + cert_subject_data__value + cert_subject_data__array__nw_size > message_end)) { + goto error; + } + cert_subject_data__extra_size = cert_subject_data__array__mem_size + /* for alignment */ 3; + } + + dst_info__extra_size = host_data__extra_size + cert_subject_data__extra_size; + } + + nw_size = 24; + mem_size = sizeof(SpiceMsgMainMigrateBeginSeamless) + dst_info__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgMainMigrateBeginSeamless); + in = start; + + out = (SpiceMsgMainMigrateBeginSeamless *)data; + + /* dst_info */ { + uint32_t host_data__array__nelements; + uint32_t cert_subject_data__array__nelements; + out->dst_info.port = consume_uint16(&in); + out->dst_info.sport = consume_uint16(&in); + out->dst_info.host_size = consume_uint32(&in); + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_array_uint8; + ptr_info[n_ptr].dest = (void **)&out->dst_info.host_data; + host_data__array__nelements = out->dst_info.host_size; + ptr_info[n_ptr].nelements = host_data__array__nelements; + n_ptr++; + out->dst_info.cert_subject_size = consume_uint32(&in); + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_array_uint8; + ptr_info[n_ptr].dest = (void **)&out->dst_info.cert_subject_data; + cert_subject_data__array__nelements = out->dst_info.cert_subject_size; + ptr_info[n_ptr].nelements = cert_subject_data__array__nelements; + n_ptr++; + } + out->src_mig_version = consume_uint32(&in); + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_MainChannel_msg(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[8] = { + parse_msg_migrate, + parse_SpiceMsgData, + parse_msg_set_ack, + parse_msg_ping, + parse_msg_wait_for_channels, + parse_msg_disconnecting, + parse_msg_notify, + parse_SpiceMsgData + }; + static parse_msg_func_t funcs2[18] = { + parse_msg_main_migrate_begin, + parse_SpiceMsgEmpty, + parse_msg_main_init, + parse_msg_main_channels_list, + parse_msg_main_mouse_mode, + parse_msg_main_multi_media_time, + parse_SpiceMsgEmpty, + parse_msg_main_agent_disconnected, + parse_SpiceMsgData, + parse_msg_main_agent_token, + parse_msg_main_migrate_switch_host, + parse_SpiceMsgEmpty, + parse_msg_main_name, + parse_msg_main_uuid, + parse_msg_main_agent_connected_tokens, + parse_msg_main_migrate_begin_seamless, + parse_SpiceMsgEmpty, + parse_SpiceMsgEmpty + }; + if (message_type >= 1 && message_type < 9) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 101 && message_type < 119) { + return funcs2[message_type-101](message_start, message_end, minor, size_out, free_message); + } + return NULL; +} + + + +static uint8_t * parse_msg_display_mode(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgDisplayMode *out; + + nw_size = 12; + mem_size = sizeof(SpiceMsgDisplayMode); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayMode); + in = start; + + out = (SpiceMsgDisplayMode *)data; + + out->x_res = consume_uint32(&in); + out->y_res = consume_uint32(&in); + out->bits = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_struct_SpiceClipRects(uint8_t *message_start, uint8_t *message_end, uint8_t *struct_data, PointerInfo *this_ptr_info, int minor) +{ + uint8_t *in = message_start + this_ptr_info->offset; + uint8_t *end; + SpiceClipRects *out; + uint32_t rects__nelements; + uint32_t i; + + end = struct_data + sizeof(SpiceClipRects); + out = (SpiceClipRects *)struct_data; + + out->num_rects = consume_uint32(&in); + rects__nelements = out->num_rects; + for (i = 0; i < rects__nelements; i++) { + SpiceRect *out2; + out2 = (SpiceRect *)end; + end += sizeof(SpiceRect); + + out2->top = consume_int32(&in); + out2->left = consume_int32(&in); + out2->bottom = consume_int32(&in); + out2->right = consume_int32(&in); + } + return end; +} + +static uint8_t * parse_msg_display_copy_bits(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[1]; + size_t base__nw_size, base__extra_size; + uint32_t rects__saved_size = 0; + SpiceMsgDisplayCopyBits *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__nw_size, clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 20); + size_t u__nw_size, u__extra_size; + uint8_t type__value; + { /* u */ + uint32_t u__mem_size; + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + type__value = read_uint8(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 1); + size_t rects__nw_size, rects__mem_size; + uint32_t rects__nelements; + { /* rects */ + uint32_t num_rects__value; + pos = start4 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + num_rects__value = read_uint32(pos); + rects__nelements = num_rects__value; + + rects__nw_size = (16) * rects__nelements; + rects__mem_size = sizeof(SpiceRect) * rects__nelements; + } + + u__nw_size = 4 + rects__nw_size; + u__mem_size = sizeof(SpiceClipRects) + rects__mem_size; + rects__saved_size = u__nw_size; + u__extra_size = u__mem_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + clip__nw_size = 1 + u__nw_size; + clip__extra_size = u__extra_size; + } + + base__nw_size = 20 + clip__nw_size; + base__extra_size = clip__extra_size; + } + + nw_size = 8 + base__nw_size; + mem_size = sizeof(SpiceMsgDisplayCopyBits) + base__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayCopyBits); + in = start; + + out = (SpiceMsgDisplayCopyBits *)data; + + /* base */ { + out->base.surface_id = consume_uint32(&in); + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint8(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = in - start; + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + in += rects__saved_size; + } + } + } + /* src_pos */ { + out->src_pos.x = consume_int32(&in); + out->src_pos.y = consume_int32(&in); + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_inval_list(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t resources__nw_size, resources__mem_size; + uint32_t resources__nelements; + SpiceResourceList *out; + uint32_t i; + + { /* resources */ + uint16_t count__value; + pos = start + 0; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + count__value = read_uint16(pos); + resources__nelements = count__value; + + resources__nw_size = (9) * resources__nelements; + resources__mem_size = sizeof(SpiceResourceID) * resources__nelements; + } + + nw_size = 2 + resources__nw_size; + mem_size = sizeof(SpiceResourceList) + resources__mem_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceResourceList); + in = start; + + out = (SpiceResourceList *)data; + + out->count = consume_uint16(&in); + for (i = 0; i < resources__nelements; i++) { + SpiceResourceID *out2; + out2 = (SpiceResourceID *)end; + end += sizeof(SpiceResourceID); + + out2->type = consume_uint8(&in); + out2->id = consume_uint64(&in); + } + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_inval_all_pixmaps(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t wait_list__nw_size, wait_list__mem_size; + uint32_t wait_list__nelements; + SpiceMsgWaitForChannels *out; + uint32_t i; + + { /* wait_list */ + uint8_t wait_count__value; + pos = start + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + wait_count__value = read_uint8(pos); + wait_list__nelements = wait_count__value; + + wait_list__nw_size = (10) * wait_list__nelements; + wait_list__mem_size = sizeof(SpiceWaitForChannel) * wait_list__nelements; + } + + nw_size = 1 + wait_list__nw_size; + mem_size = sizeof(SpiceMsgWaitForChannels) + wait_list__mem_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgWaitForChannels); + in = start; + + out = (SpiceMsgWaitForChannels *)data; + + out->wait_count = consume_uint8(&in); + for (i = 0; i < wait_list__nelements; i++) { + SpiceWaitForChannel *out2; + out2 = (SpiceWaitForChannel *)end; + end += sizeof(SpiceWaitForChannel); + + out2->channel_type = consume_uint8(&in); + out2->channel_id = consume_uint8(&in); + out2->message_serial = consume_uint64(&in); + } + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_inval_palette(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgDisplayInvalOne *out; + + nw_size = 8; + mem_size = sizeof(SpiceMsgDisplayInvalOne); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayInvalOne); + in = start; + + out = (SpiceMsgDisplayInvalOne *)data; + + out->id = consume_uint64(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_stream_create(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[1]; + size_t clip__nw_size, clip__extra_size; + uint32_t rects__saved_size = 0; + SpiceMsgDisplayStreamCreate *out; + uint32_t i; + + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 50); + size_t u__nw_size, u__extra_size; + uint8_t type__value; + { /* u */ + uint32_t u__mem_size; + pos = start2 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + type__value = read_uint8(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 1); + size_t rects__nw_size, rects__mem_size; + uint32_t rects__nelements; + { /* rects */ + uint32_t num_rects__value; + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + num_rects__value = read_uint32(pos); + rects__nelements = num_rects__value; + + rects__nw_size = (16) * rects__nelements; + rects__mem_size = sizeof(SpiceRect) * rects__nelements; + } + + u__nw_size = 4 + rects__nw_size; + u__mem_size = sizeof(SpiceClipRects) + rects__mem_size; + rects__saved_size = u__nw_size; + u__extra_size = u__mem_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + clip__nw_size = 1 + u__nw_size; + clip__extra_size = u__extra_size; + } + + nw_size = 50 + clip__nw_size; + mem_size = sizeof(SpiceMsgDisplayStreamCreate) + clip__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayStreamCreate); + in = start; + + out = (SpiceMsgDisplayStreamCreate *)data; + + out->surface_id = consume_uint32(&in); + out->id = consume_uint32(&in); + out->flags = consume_uint8(&in); + out->codec_type = consume_uint8(&in); + out->stamp = consume_uint64(&in); + out->stream_width = consume_uint32(&in); + out->stream_height = consume_uint32(&in); + out->src_width = consume_uint32(&in); + out->src_height = consume_uint32(&in); + /* dest */ { + out->dest.top = consume_int32(&in); + out->dest.left = consume_int32(&in); + out->dest.bottom = consume_int32(&in); + out->dest.right = consume_int32(&in); + } + /* clip */ { + out->clip.type = consume_uint8(&in); + if (out->clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = in - start; + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->clip.rects; + n_ptr++; + in += rects__saved_size; + } + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_stream_data(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t data__nw_size, data__mem_size; + uint32_t data__nelements; + SpiceMsgDisplayStreamData *out; + + { /* data */ + uint32_t data_size__value; + pos = start + 8; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + data_size__value = read_uint32(pos); + data__nelements = data_size__value; + + data__nw_size = data__nelements; + data__mem_size = sizeof(uint8_t) * data__nelements; + } + + nw_size = 12 + data__nw_size; + mem_size = sizeof(SpiceMsgDisplayStreamData) + data__mem_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayStreamData); + in = start; + + out = (SpiceMsgDisplayStreamData *)data; + + /* base */ { + out->base.id = consume_uint32(&in); + out->base.multi_media_time = consume_uint32(&in); + } + out->data_size = consume_uint32(&in); + memcpy(out->data, in, data__nelements); + in += data__nelements; + end += data__nelements; + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_stream_clip(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[1]; + size_t clip__nw_size, clip__extra_size; + uint32_t rects__saved_size = 0; + SpiceMsgDisplayStreamClip *out; + uint32_t i; + + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 4); + size_t u__nw_size, u__extra_size; + uint8_t type__value; + { /* u */ + uint32_t u__mem_size; + pos = start2 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + type__value = read_uint8(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 1); + size_t rects__nw_size, rects__mem_size; + uint32_t rects__nelements; + { /* rects */ + uint32_t num_rects__value; + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + num_rects__value = read_uint32(pos); + rects__nelements = num_rects__value; + + rects__nw_size = (16) * rects__nelements; + rects__mem_size = sizeof(SpiceRect) * rects__nelements; + } + + u__nw_size = 4 + rects__nw_size; + u__mem_size = sizeof(SpiceClipRects) + rects__mem_size; + rects__saved_size = u__nw_size; + u__extra_size = u__mem_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + clip__nw_size = 1 + u__nw_size; + clip__extra_size = u__extra_size; + } + + nw_size = 4 + clip__nw_size; + mem_size = sizeof(SpiceMsgDisplayStreamClip) + clip__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayStreamClip); + in = start; + + out = (SpiceMsgDisplayStreamClip *)data; + + out->id = consume_uint32(&in); + /* clip */ { + out->clip.type = consume_uint8(&in); + if (out->clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = in - start; + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->clip.rects; + n_ptr++; + in += rects__saved_size; + } + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_stream_destroy(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgDisplayStreamDestroy *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgDisplayStreamDestroy); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayStreamDestroy); + in = start; + + out = (SpiceMsgDisplayStreamDestroy *)data; + + out->id = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static intptr_t validate_SpicePalette(uint8_t *message_start, uint8_t *message_end, uint64_t offset, int minor) +{ + uint8_t *start = message_start + offset; + SPICE_GNUC_UNUSED uint8_t *pos; + size_t mem_size, nw_size; + size_t ents__nw_size, ents__mem_size; + uint32_t ents__nelements; + + if (offset == 0) { + return 0; + } + + if (SPICE_UNLIKELY(start >= message_end)) { + goto error; + } + + { /* ents */ + uint16_t num_ents__value; + pos = start + 8; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + num_ents__value = read_uint16(pos); + ents__nelements = num_ents__value; + + ents__nw_size = (4) * ents__nelements; + ents__mem_size = sizeof(uint32_t) * ents__nelements; + } + + nw_size = 10 + ents__nw_size; + mem_size = sizeof(SpicePalette) + ents__mem_size; + + /* Check if struct fits in reported side */ + if (SPICE_UNLIKELY(start + nw_size > message_end)) { + goto error; + } + return mem_size; + + error: + return -1; +} + +static intptr_t validate_SpiceImage(uint8_t *message_start, uint8_t *message_end, uint64_t offset, int minor) +{ + uint8_t *start = message_start + offset; + SPICE_GNUC_UNUSED uint8_t *pos; + size_t mem_size, nw_size; + SPICE_GNUC_UNUSED intptr_t ptr_size; + size_t u__nw_size, u__extra_size; + uint8_t descriptor_type__value; + + if (offset == 0) { + return 0; + } + + if (SPICE_UNLIKELY(start >= message_end)) { + goto error; + } + + { /* u */ + pos = start + 8; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + descriptor_type__value = read_uint8(pos); + if (descriptor_type__value == SPICE_IMAGE_TYPE_BITMAP) { + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 18); + size_t pal__nw_size, pal__extra_size; + uint8_t flags__value; + size_t data__nw_size, data__extra_size; + uint32_t data__nelements; + { /* pal */ + pos = start2 + 1; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + flags__value = read_uint8(pos); + if ((flags__value & SPICE_BITMAP_FLAGS_PAL_FROM_CACHE)) { + pal__nw_size = 8; + pal__extra_size = 0; + } else if (1) { + uint32_t pal_palette__value; + pal__nw_size = 4; + pos = (start2 + 14); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + pal_palette__value = read_uint32(pos); + ptr_size = validate_SpicePalette(message_start, message_end, pal_palette__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + pal__extra_size = ptr_size + /* for alignment */ 3; + } else { + pal__nw_size = 0; + pal__extra_size = 0; + } + + } + + { /* data */ + uint32_t stride__value; + uint32_t y__value; + pos = start2 + 10; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + stride__value = read_uint32(pos); + pos = start2 + 6; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + y__value = read_uint32(pos); + data__nelements = stride__value * y__value; + + data__nw_size = data__nelements; + data__extra_size = sizeof(SpiceChunks) + sizeof(SpiceChunk); + } + + u__nw_size = 14 + pal__nw_size + data__nw_size; + u__extra_size = pal__extra_size + data__extra_size; + } else if (descriptor_type__value == SPICE_IMAGE_TYPE_QUIC) { + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 18); + size_t data__nw_size, data__extra_size; + uint32_t data__nelements; + { /* data */ + uint32_t data_size__value; + pos = start2 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + data_size__value = read_uint32(pos); + data__nelements = data_size__value; + + data__nw_size = data__nelements; + data__extra_size = sizeof(SpiceChunks) + sizeof(SpiceChunk); + } + + u__nw_size = 4 + data__nw_size; + u__extra_size = data__extra_size; + } else if (descriptor_type__value == SPICE_IMAGE_TYPE_LZ_RGB || descriptor_type__value == SPICE_IMAGE_TYPE_GLZ_RGB) { + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 18); + size_t data__nw_size, data__extra_size; + uint32_t data__nelements; + { /* data */ + uint32_t data_size__value; + pos = start2 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + data_size__value = read_uint32(pos); + data__nelements = data_size__value; + + data__nw_size = data__nelements; + data__extra_size = sizeof(SpiceChunks) + sizeof(SpiceChunk); + } + + u__nw_size = 4 + data__nw_size; + u__extra_size = data__extra_size; + } else if (descriptor_type__value == SPICE_IMAGE_TYPE_JPEG) { + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 18); + size_t data__nw_size, data__extra_size; + uint32_t data__nelements; + { /* data */ + uint32_t data_size__value; + pos = start2 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + data_size__value = read_uint32(pos); + data__nelements = data_size__value; + + data__nw_size = data__nelements; + data__extra_size = sizeof(SpiceChunks) + sizeof(SpiceChunk); + } + + u__nw_size = 4 + data__nw_size; + u__extra_size = data__extra_size; + } else if (descriptor_type__value == SPICE_IMAGE_TYPE_LZ_PLT) { + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 18); + size_t pal__nw_size, pal__extra_size; + uint8_t flags__value; + size_t data__nw_size, data__extra_size; + uint32_t data__nelements; + { /* pal */ + pos = start2 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + flags__value = read_uint8(pos); + if ((flags__value & SPICE_BITMAP_FLAGS_PAL_FROM_CACHE)) { + pal__nw_size = 8; + pal__extra_size = 0; + } else if (1) { + uint32_t pal_palette__value; + pal__nw_size = 4; + pos = (start2 + 5); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + pal_palette__value = read_uint32(pos); + if (SPICE_UNLIKELY(pal_palette__value == 0)) { + goto error; + } + ptr_size = validate_SpicePalette(message_start, message_end, pal_palette__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + pal__extra_size = ptr_size + /* for alignment */ 3; + } else { + pal__nw_size = 0; + pal__extra_size = 0; + } + + } + + { /* data */ + uint32_t data_size__value; + pos = start2 + 1; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + data_size__value = read_uint32(pos); + data__nelements = data_size__value; + + data__nw_size = data__nelements; + data__extra_size = sizeof(SpiceChunks) + sizeof(SpiceChunk); + } + + u__nw_size = 5 + pal__nw_size + data__nw_size; + u__extra_size = pal__extra_size + data__extra_size; + } else if (descriptor_type__value == SPICE_IMAGE_TYPE_ZLIB_GLZ_RGB) { + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 18); + size_t data__nw_size, data__extra_size; + uint32_t data__nelements; + { /* data */ + uint32_t data_size__value; + pos = start2 + 4; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + data_size__value = read_uint32(pos); + data__nelements = data_size__value; + + data__nw_size = data__nelements; + data__extra_size = sizeof(SpiceChunks) + sizeof(SpiceChunk); + } + + u__nw_size = 8 + data__nw_size; + u__extra_size = data__extra_size; + } else if (descriptor_type__value == SPICE_IMAGE_TYPE_JPEG_ALPHA) { + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 18); + size_t data__nw_size, data__extra_size; + uint32_t data__nelements; + { /* data */ + uint32_t data_size__value; + pos = start2 + 5; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + data_size__value = read_uint32(pos); + data__nelements = data_size__value; + + data__nw_size = data__nelements; + data__extra_size = sizeof(SpiceChunks) + sizeof(SpiceChunk); + } + + u__nw_size = 9 + data__nw_size; + u__extra_size = data__extra_size; + } else if (descriptor_type__value == SPICE_IMAGE_TYPE_SURFACE) { + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 18); + u__nw_size = 4; + u__extra_size = 0; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + nw_size = 18 + u__nw_size; + mem_size = sizeof(SpiceImage) + u__extra_size; + + /* Check if struct fits in reported side */ + if (SPICE_UNLIKELY(start + nw_size > message_end)) { + goto error; + } + return mem_size; + + error: + return -1; +} + +static uint8_t * parse_struct_SpicePalette(uint8_t *message_start, uint8_t *message_end, uint8_t *struct_data, PointerInfo *this_ptr_info, int minor) +{ + uint8_t *in = message_start + this_ptr_info->offset; + uint8_t *end; + SpicePalette *out; + uint32_t ents__nelements; + uint32_t i; + + end = struct_data + sizeof(SpicePalette); + out = (SpicePalette *)struct_data; + + out->unique = consume_uint64(&in); + out->num_ents = consume_uint16(&in); + ents__nelements = out->num_ents; + for (i = 0; i < ents__nelements; i++) { + out->ents[i] = consume_uint32(&in); + end += sizeof(uint32_t); + } + return end; +} + +static uint8_t * parse_struct_SpiceImage(uint8_t *message_start, uint8_t *message_end, uint8_t *struct_data, PointerInfo *this_ptr_info, int minor) +{ + uint8_t *in = message_start + this_ptr_info->offset; + uint8_t *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[1]; + SpiceImage *out; + uint32_t i; + + end = struct_data + sizeof(SpiceImage); + out = (SpiceImage *)struct_data; + + /* descriptor */ { + out->descriptor.id = consume_uint64(&in); + out->descriptor.type = consume_uint8(&in); + out->descriptor.flags = consume_uint8(&in); + out->descriptor.width = consume_uint32(&in); + out->descriptor.height = consume_uint32(&in); + } + if (out->descriptor.type == SPICE_IMAGE_TYPE_BITMAP) { + uint32_t data__nelements; + SpiceChunks *chunks; + out->u.bitmap.format = consume_uint8(&in); + out->u.bitmap.flags = consume_uint8(&in); + out->u.bitmap.x = consume_uint32(&in); + out->u.bitmap.y = consume_uint32(&in); + out->u.bitmap.stride = consume_uint32(&in); + if ((out->u.bitmap.flags & SPICE_BITMAP_FLAGS_PAL_FROM_CACHE)) { + out->u.bitmap.palette_id = consume_uint64(&in); + } else if (1) { + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpicePalette; + ptr_info[n_ptr].dest = (void **)&out->u.bitmap.palette; + n_ptr++; + } + data__nelements = out->u.bitmap.stride * out->u.bitmap.y; + /* use array as chunk */ + chunks = (SpiceChunks *)end; + end += sizeof(SpiceChunks) + sizeof(SpiceChunk); + out->u.bitmap.data = chunks; + chunks->data_size = data__nelements; + chunks->flags = 0; + chunks->num_chunks = 1; + chunks->chunk[0].len = data__nelements; + chunks->chunk[0].data = in; + in += data__nelements; + } else if (out->descriptor.type == SPICE_IMAGE_TYPE_QUIC) { + uint32_t data__nelements; + SpiceChunks *chunks; + out->u.quic.data_size = consume_uint32(&in); + data__nelements = out->u.quic.data_size; + /* use array as chunk */ + chunks = (SpiceChunks *)end; + end += sizeof(SpiceChunks) + sizeof(SpiceChunk); + out->u.quic.data = chunks; + chunks->data_size = data__nelements; + chunks->flags = 0; + chunks->num_chunks = 1; + chunks->chunk[0].len = data__nelements; + chunks->chunk[0].data = in; + in += data__nelements; + } else if (out->descriptor.type == SPICE_IMAGE_TYPE_LZ_RGB || out->descriptor.type == SPICE_IMAGE_TYPE_GLZ_RGB) { + uint32_t data__nelements; + SpiceChunks *chunks; + out->u.lz_rgb.data_size = consume_uint32(&in); + data__nelements = out->u.lz_rgb.data_size; + /* use array as chunk */ + chunks = (SpiceChunks *)end; + end += sizeof(SpiceChunks) + sizeof(SpiceChunk); + out->u.lz_rgb.data = chunks; + chunks->data_size = data__nelements; + chunks->flags = 0; + chunks->num_chunks = 1; + chunks->chunk[0].len = data__nelements; + chunks->chunk[0].data = in; + in += data__nelements; + } else if (out->descriptor.type == SPICE_IMAGE_TYPE_JPEG) { + uint32_t data__nelements; + SpiceChunks *chunks; + out->u.jpeg.data_size = consume_uint32(&in); + data__nelements = out->u.jpeg.data_size; + /* use array as chunk */ + chunks = (SpiceChunks *)end; + end += sizeof(SpiceChunks) + sizeof(SpiceChunk); + out->u.jpeg.data = chunks; + chunks->data_size = data__nelements; + chunks->flags = 0; + chunks->num_chunks = 1; + chunks->chunk[0].len = data__nelements; + chunks->chunk[0].data = in; + in += data__nelements; + } else if (out->descriptor.type == SPICE_IMAGE_TYPE_LZ_PLT) { + uint32_t data__nelements; + SpiceChunks *chunks; + out->u.lz_plt.flags = consume_uint8(&in); + out->u.lz_plt.data_size = consume_uint32(&in); + if ((out->u.lz_plt.flags & SPICE_BITMAP_FLAGS_PAL_FROM_CACHE)) { + out->u.lz_plt.palette_id = consume_uint64(&in); + } else if (1) { + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpicePalette; + ptr_info[n_ptr].dest = (void **)&out->u.lz_plt.palette; + n_ptr++; + } + data__nelements = out->u.lz_plt.data_size; + /* use array as chunk */ + chunks = (SpiceChunks *)end; + end += sizeof(SpiceChunks) + sizeof(SpiceChunk); + out->u.lz_plt.data = chunks; + chunks->data_size = data__nelements; + chunks->flags = 0; + chunks->num_chunks = 1; + chunks->chunk[0].len = data__nelements; + chunks->chunk[0].data = in; + in += data__nelements; + } else if (out->descriptor.type == SPICE_IMAGE_TYPE_ZLIB_GLZ_RGB) { + uint32_t data__nelements; + SpiceChunks *chunks; + out->u.zlib_glz.glz_data_size = consume_uint32(&in); + out->u.zlib_glz.data_size = consume_uint32(&in); + data__nelements = out->u.zlib_glz.data_size; + /* use array as chunk */ + chunks = (SpiceChunks *)end; + end += sizeof(SpiceChunks) + sizeof(SpiceChunk); + out->u.zlib_glz.data = chunks; + chunks->data_size = data__nelements; + chunks->flags = 0; + chunks->num_chunks = 1; + chunks->chunk[0].len = data__nelements; + chunks->chunk[0].data = in; + in += data__nelements; + } else if (out->descriptor.type == SPICE_IMAGE_TYPE_JPEG_ALPHA) { + uint32_t data__nelements; + SpiceChunks *chunks; + out->u.jpeg_alpha.flags = consume_uint8(&in); + out->u.jpeg_alpha.jpeg_size = consume_uint32(&in); + out->u.jpeg_alpha.data_size = consume_uint32(&in); + data__nelements = out->u.jpeg_alpha.data_size; + /* use array as chunk */ + chunks = (SpiceChunks *)end; + end += sizeof(SpiceChunks) + sizeof(SpiceChunk); + out->u.jpeg_alpha.data = chunks; + chunks->data_size = data__nelements; + chunks->flags = 0; + chunks->num_chunks = 1; + chunks->chunk[0].len = data__nelements; + chunks->chunk[0].data = in; + in += data__nelements; + } else if (out->descriptor.type == SPICE_IMAGE_TYPE_SURFACE) { + out->u.surface.surface_id = consume_uint32(&in); + } + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + return end; + + error: + return NULL; +} + +static uint8_t * parse_msg_display_draw_fill(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[3]; + size_t base__nw_size, base__extra_size; + uint32_t rects__saved_size = 0; + size_t data__nw_size, data__extra_size; + SpiceMsgDisplayDrawFill *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__nw_size, clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 20); + size_t u__nw_size, u__extra_size; + uint8_t type__value; + { /* u */ + uint32_t u__mem_size; + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + type__value = read_uint8(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 1); + size_t rects__nw_size, rects__mem_size; + uint32_t rects__nelements; + { /* rects */ + uint32_t num_rects__value; + pos = start4 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + num_rects__value = read_uint32(pos); + rects__nelements = num_rects__value; + + rects__nw_size = (16) * rects__nelements; + rects__mem_size = sizeof(SpiceRect) * rects__nelements; + } + + u__nw_size = 4 + rects__nw_size; + u__mem_size = sizeof(SpiceClipRects) + rects__mem_size; + rects__saved_size = u__nw_size; + u__extra_size = u__mem_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + clip__nw_size = 1 + u__nw_size; + clip__extra_size = u__extra_size; + } + + base__nw_size = 20 + clip__nw_size; + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0 + base__nw_size); + size_t brush__nw_size, brush__extra_size; + size_t mask__extra_size; + { /* brush */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 0); + size_t u__nw_size, u__extra_size; + uint8_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + type__value = read_uint8(pos); + if (type__value == SPICE_BRUSH_TYPE_SOLID) { + u__nw_size = 4; + u__extra_size = 0; + } else if (type__value == SPICE_BRUSH_TYPE_PATTERN) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 1); + size_t pat__extra_size; + { /* pat */ + uint32_t pat__value; + pos = (start4 + 0); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + pat__value = read_uint32(pos); + if (SPICE_UNLIKELY(pat__value == 0)) { + goto error; + } + ptr_size = validate_SpiceImage(message_start, message_end, pat__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + pat__extra_size = ptr_size + /* for alignment */ 3; + } + + u__nw_size = 12; + u__extra_size = pat__extra_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + brush__nw_size = 1 + u__nw_size; + brush__extra_size = u__extra_size; + } + + { /* mask */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 2 + brush__nw_size); + size_t bitmap__extra_size; + { /* bitmap */ + uint32_t bitmap__value; + pos = (start3 + 9); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + bitmap__value = read_uint32(pos); + ptr_size = validate_SpiceImage(message_start, message_end, bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + mask__extra_size = bitmap__extra_size; + } + + data__nw_size = 15 + brush__nw_size; + data__extra_size = brush__extra_size + mask__extra_size; + } + + nw_size = 0 + base__nw_size + data__nw_size; + mem_size = sizeof(SpiceMsgDisplayDrawFill) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawFill); + in = start; + + out = (SpiceMsgDisplayDrawFill *)data; + + /* base */ { + out->base.surface_id = consume_uint32(&in); + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint8(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = in - start; + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + in += rects__saved_size; + } + } + } + /* data */ { + /* brush */ { + out->data.brush.type = consume_uint8(&in); + if (out->data.brush.type == SPICE_BRUSH_TYPE_SOLID) { + out->data.brush.u.color = consume_uint32(&in); + } else if (out->data.brush.type == SPICE_BRUSH_TYPE_PATTERN) { + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.brush.u.pattern.pat; + n_ptr++; + /* pos */ { + out->data.brush.u.pattern.pos.x = consume_int32(&in); + out->data.brush.u.pattern.pos.y = consume_int32(&in); + } + } + } + out->data.rop_descriptor = consume_uint16(&in); + /* mask */ { + out->data.mask.flags = consume_uint8(&in); + /* pos */ { + out->data.mask.pos.x = consume_int32(&in); + out->data.mask.pos.y = consume_int32(&in); + } + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.mask.bitmap; + n_ptr++; + } + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_draw_opaque(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[4]; + size_t base__nw_size, base__extra_size; + uint32_t rects__saved_size = 0; + size_t data__nw_size, data__extra_size; + SpiceMsgDisplayDrawOpaque *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__nw_size, clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 20); + size_t u__nw_size, u__extra_size; + uint8_t type__value; + { /* u */ + uint32_t u__mem_size; + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + type__value = read_uint8(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 1); + size_t rects__nw_size, rects__mem_size; + uint32_t rects__nelements; + { /* rects */ + uint32_t num_rects__value; + pos = start4 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + num_rects__value = read_uint32(pos); + rects__nelements = num_rects__value; + + rects__nw_size = (16) * rects__nelements; + rects__mem_size = sizeof(SpiceRect) * rects__nelements; + } + + u__nw_size = 4 + rects__nw_size; + u__mem_size = sizeof(SpiceClipRects) + rects__mem_size; + rects__saved_size = u__nw_size; + u__extra_size = u__mem_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + clip__nw_size = 1 + u__nw_size; + clip__extra_size = u__extra_size; + } + + base__nw_size = 20 + clip__nw_size; + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0 + base__nw_size); + size_t src_bitmap__extra_size; + size_t brush__nw_size, brush__extra_size; + size_t mask__extra_size; + { /* src_bitmap */ + uint32_t src_bitmap__value; + pos = (start2 + 0); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + src_bitmap__value = read_uint32(pos); + ptr_size = validate_SpiceImage(message_start, message_end, src_bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + src_bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + { /* brush */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 20); + size_t u__nw_size, u__extra_size; + uint8_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + type__value = read_uint8(pos); + if (type__value == SPICE_BRUSH_TYPE_SOLID) { + u__nw_size = 4; + u__extra_size = 0; + } else if (type__value == SPICE_BRUSH_TYPE_PATTERN) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 1); + size_t pat__extra_size; + { /* pat */ + uint32_t pat__value; + pos = (start4 + 0); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + pat__value = read_uint32(pos); + if (SPICE_UNLIKELY(pat__value == 0)) { + goto error; + } + ptr_size = validate_SpiceImage(message_start, message_end, pat__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + pat__extra_size = ptr_size + /* for alignment */ 3; + } + + u__nw_size = 12; + u__extra_size = pat__extra_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + brush__nw_size = 1 + u__nw_size; + brush__extra_size = u__extra_size; + } + + { /* mask */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 23 + brush__nw_size); + size_t bitmap__extra_size; + { /* bitmap */ + uint32_t bitmap__value; + pos = (start3 + 9); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + bitmap__value = read_uint32(pos); + ptr_size = validate_SpiceImage(message_start, message_end, bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + mask__extra_size = bitmap__extra_size; + } + + data__nw_size = 36 + brush__nw_size; + data__extra_size = src_bitmap__extra_size + brush__extra_size + mask__extra_size; + } + + nw_size = 0 + base__nw_size + data__nw_size; + mem_size = sizeof(SpiceMsgDisplayDrawOpaque) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawOpaque); + in = start; + + out = (SpiceMsgDisplayDrawOpaque *)data; + + /* base */ { + out->base.surface_id = consume_uint32(&in); + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint8(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = in - start; + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + in += rects__saved_size; + } + } + } + /* data */ { + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.src_bitmap; + n_ptr++; + /* src_area */ { + out->data.src_area.top = consume_int32(&in); + out->data.src_area.left = consume_int32(&in); + out->data.src_area.bottom = consume_int32(&in); + out->data.src_area.right = consume_int32(&in); + } + /* brush */ { + out->data.brush.type = consume_uint8(&in); + if (out->data.brush.type == SPICE_BRUSH_TYPE_SOLID) { + out->data.brush.u.color = consume_uint32(&in); + } else if (out->data.brush.type == SPICE_BRUSH_TYPE_PATTERN) { + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.brush.u.pattern.pat; + n_ptr++; + /* pos */ { + out->data.brush.u.pattern.pos.x = consume_int32(&in); + out->data.brush.u.pattern.pos.y = consume_int32(&in); + } + } + } + out->data.rop_descriptor = consume_uint16(&in); + out->data.scale_mode = consume_uint8(&in); + /* mask */ { + out->data.mask.flags = consume_uint8(&in); + /* pos */ { + out->data.mask.pos.x = consume_int32(&in); + out->data.mask.pos.y = consume_int32(&in); + } + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.mask.bitmap; + n_ptr++; + } + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_draw_copy(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[3]; + size_t base__nw_size, base__extra_size; + uint32_t rects__saved_size = 0; + size_t data__extra_size; + SpiceMsgDisplayDrawCopy *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__nw_size, clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 20); + size_t u__nw_size, u__extra_size; + uint8_t type__value; + { /* u */ + uint32_t u__mem_size; + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + type__value = read_uint8(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 1); + size_t rects__nw_size, rects__mem_size; + uint32_t rects__nelements; + { /* rects */ + uint32_t num_rects__value; + pos = start4 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + num_rects__value = read_uint32(pos); + rects__nelements = num_rects__value; + + rects__nw_size = (16) * rects__nelements; + rects__mem_size = sizeof(SpiceRect) * rects__nelements; + } + + u__nw_size = 4 + rects__nw_size; + u__mem_size = sizeof(SpiceClipRects) + rects__mem_size; + rects__saved_size = u__nw_size; + u__extra_size = u__mem_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + clip__nw_size = 1 + u__nw_size; + clip__extra_size = u__extra_size; + } + + base__nw_size = 20 + clip__nw_size; + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0 + base__nw_size); + size_t src_bitmap__extra_size; + size_t mask__extra_size; + { /* src_bitmap */ + uint32_t src_bitmap__value; + pos = (start2 + 0); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + src_bitmap__value = read_uint32(pos); + ptr_size = validate_SpiceImage(message_start, message_end, src_bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + src_bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + { /* mask */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 23); + size_t bitmap__extra_size; + { /* bitmap */ + uint32_t bitmap__value; + pos = (start3 + 9); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + bitmap__value = read_uint32(pos); + ptr_size = validate_SpiceImage(message_start, message_end, bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + mask__extra_size = bitmap__extra_size; + } + + data__extra_size = src_bitmap__extra_size + mask__extra_size; + } + + nw_size = 36 + base__nw_size; + mem_size = sizeof(SpiceMsgDisplayDrawCopy) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawCopy); + in = start; + + out = (SpiceMsgDisplayDrawCopy *)data; + + /* base */ { + out->base.surface_id = consume_uint32(&in); + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint8(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = in - start; + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + in += rects__saved_size; + } + } + } + /* data */ { + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.src_bitmap; + n_ptr++; + /* src_area */ { + out->data.src_area.top = consume_int32(&in); + out->data.src_area.left = consume_int32(&in); + out->data.src_area.bottom = consume_int32(&in); + out->data.src_area.right = consume_int32(&in); + } + out->data.rop_descriptor = consume_uint16(&in); + out->data.scale_mode = consume_uint8(&in); + /* mask */ { + out->data.mask.flags = consume_uint8(&in); + /* pos */ { + out->data.mask.pos.x = consume_int32(&in); + out->data.mask.pos.y = consume_int32(&in); + } + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.mask.bitmap; + n_ptr++; + } + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_draw_blend(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[3]; + size_t base__nw_size, base__extra_size; + uint32_t rects__saved_size = 0; + size_t data__extra_size; + SpiceMsgDisplayDrawBlend *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__nw_size, clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 20); + size_t u__nw_size, u__extra_size; + uint8_t type__value; + { /* u */ + uint32_t u__mem_size; + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + type__value = read_uint8(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 1); + size_t rects__nw_size, rects__mem_size; + uint32_t rects__nelements; + { /* rects */ + uint32_t num_rects__value; + pos = start4 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + num_rects__value = read_uint32(pos); + rects__nelements = num_rects__value; + + rects__nw_size = (16) * rects__nelements; + rects__mem_size = sizeof(SpiceRect) * rects__nelements; + } + + u__nw_size = 4 + rects__nw_size; + u__mem_size = sizeof(SpiceClipRects) + rects__mem_size; + rects__saved_size = u__nw_size; + u__extra_size = u__mem_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + clip__nw_size = 1 + u__nw_size; + clip__extra_size = u__extra_size; + } + + base__nw_size = 20 + clip__nw_size; + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0 + base__nw_size); + size_t src_bitmap__extra_size; + size_t mask__extra_size; + { /* src_bitmap */ + uint32_t src_bitmap__value; + pos = (start2 + 0); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + src_bitmap__value = read_uint32(pos); + ptr_size = validate_SpiceImage(message_start, message_end, src_bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + src_bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + { /* mask */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 23); + size_t bitmap__extra_size; + { /* bitmap */ + uint32_t bitmap__value; + pos = (start3 + 9); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + bitmap__value = read_uint32(pos); + ptr_size = validate_SpiceImage(message_start, message_end, bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + mask__extra_size = bitmap__extra_size; + } + + data__extra_size = src_bitmap__extra_size + mask__extra_size; + } + + nw_size = 36 + base__nw_size; + mem_size = sizeof(SpiceMsgDisplayDrawBlend) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawBlend); + in = start; + + out = (SpiceMsgDisplayDrawBlend *)data; + + /* base */ { + out->base.surface_id = consume_uint32(&in); + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint8(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = in - start; + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + in += rects__saved_size; + } + } + } + /* data */ { + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.src_bitmap; + n_ptr++; + /* src_area */ { + out->data.src_area.top = consume_int32(&in); + out->data.src_area.left = consume_int32(&in); + out->data.src_area.bottom = consume_int32(&in); + out->data.src_area.right = consume_int32(&in); + } + out->data.rop_descriptor = consume_uint16(&in); + out->data.scale_mode = consume_uint8(&in); + /* mask */ { + out->data.mask.flags = consume_uint8(&in); + /* pos */ { + out->data.mask.pos.x = consume_int32(&in); + out->data.mask.pos.y = consume_int32(&in); + } + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.mask.bitmap; + n_ptr++; + } + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_draw_blackness(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[2]; + size_t base__nw_size, base__extra_size; + uint32_t rects__saved_size = 0; + size_t data__extra_size; + SpiceMsgDisplayDrawBlackness *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__nw_size, clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 20); + size_t u__nw_size, u__extra_size; + uint8_t type__value; + { /* u */ + uint32_t u__mem_size; + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + type__value = read_uint8(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 1); + size_t rects__nw_size, rects__mem_size; + uint32_t rects__nelements; + { /* rects */ + uint32_t num_rects__value; + pos = start4 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + num_rects__value = read_uint32(pos); + rects__nelements = num_rects__value; + + rects__nw_size = (16) * rects__nelements; + rects__mem_size = sizeof(SpiceRect) * rects__nelements; + } + + u__nw_size = 4 + rects__nw_size; + u__mem_size = sizeof(SpiceClipRects) + rects__mem_size; + rects__saved_size = u__nw_size; + u__extra_size = u__mem_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + clip__nw_size = 1 + u__nw_size; + clip__extra_size = u__extra_size; + } + + base__nw_size = 20 + clip__nw_size; + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0 + base__nw_size); + size_t mask__extra_size; + { /* mask */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 0); + size_t bitmap__extra_size; + { /* bitmap */ + uint32_t bitmap__value; + pos = (start3 + 9); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + bitmap__value = read_uint32(pos); + ptr_size = validate_SpiceImage(message_start, message_end, bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + mask__extra_size = bitmap__extra_size; + } + + data__extra_size = mask__extra_size; + } + + nw_size = 13 + base__nw_size; + mem_size = sizeof(SpiceMsgDisplayDrawBlackness) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawBlackness); + in = start; + + out = (SpiceMsgDisplayDrawBlackness *)data; + + /* base */ { + out->base.surface_id = consume_uint32(&in); + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint8(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = in - start; + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + in += rects__saved_size; + } + } + } + /* data */ { + /* mask */ { + out->data.mask.flags = consume_uint8(&in); + /* pos */ { + out->data.mask.pos.x = consume_int32(&in); + out->data.mask.pos.y = consume_int32(&in); + } + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.mask.bitmap; + n_ptr++; + } + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_draw_whiteness(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[2]; + size_t base__nw_size, base__extra_size; + uint32_t rects__saved_size = 0; + size_t data__extra_size; + SpiceMsgDisplayDrawWhiteness *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__nw_size, clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 20); + size_t u__nw_size, u__extra_size; + uint8_t type__value; + { /* u */ + uint32_t u__mem_size; + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + type__value = read_uint8(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 1); + size_t rects__nw_size, rects__mem_size; + uint32_t rects__nelements; + { /* rects */ + uint32_t num_rects__value; + pos = start4 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + num_rects__value = read_uint32(pos); + rects__nelements = num_rects__value; + + rects__nw_size = (16) * rects__nelements; + rects__mem_size = sizeof(SpiceRect) * rects__nelements; + } + + u__nw_size = 4 + rects__nw_size; + u__mem_size = sizeof(SpiceClipRects) + rects__mem_size; + rects__saved_size = u__nw_size; + u__extra_size = u__mem_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + clip__nw_size = 1 + u__nw_size; + clip__extra_size = u__extra_size; + } + + base__nw_size = 20 + clip__nw_size; + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0 + base__nw_size); + size_t mask__extra_size; + { /* mask */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 0); + size_t bitmap__extra_size; + { /* bitmap */ + uint32_t bitmap__value; + pos = (start3 + 9); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + bitmap__value = read_uint32(pos); + ptr_size = validate_SpiceImage(message_start, message_end, bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + mask__extra_size = bitmap__extra_size; + } + + data__extra_size = mask__extra_size; + } + + nw_size = 13 + base__nw_size; + mem_size = sizeof(SpiceMsgDisplayDrawWhiteness) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawWhiteness); + in = start; + + out = (SpiceMsgDisplayDrawWhiteness *)data; + + /* base */ { + out->base.surface_id = consume_uint32(&in); + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint8(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = in - start; + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + in += rects__saved_size; + } + } + } + /* data */ { + /* mask */ { + out->data.mask.flags = consume_uint8(&in); + /* pos */ { + out->data.mask.pos.x = consume_int32(&in); + out->data.mask.pos.y = consume_int32(&in); + } + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.mask.bitmap; + n_ptr++; + } + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_draw_invers(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[2]; + size_t base__nw_size, base__extra_size; + uint32_t rects__saved_size = 0; + size_t data__extra_size; + SpiceMsgDisplayDrawInvers *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__nw_size, clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 20); + size_t u__nw_size, u__extra_size; + uint8_t type__value; + { /* u */ + uint32_t u__mem_size; + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + type__value = read_uint8(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 1); + size_t rects__nw_size, rects__mem_size; + uint32_t rects__nelements; + { /* rects */ + uint32_t num_rects__value; + pos = start4 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + num_rects__value = read_uint32(pos); + rects__nelements = num_rects__value; + + rects__nw_size = (16) * rects__nelements; + rects__mem_size = sizeof(SpiceRect) * rects__nelements; + } + + u__nw_size = 4 + rects__nw_size; + u__mem_size = sizeof(SpiceClipRects) + rects__mem_size; + rects__saved_size = u__nw_size; + u__extra_size = u__mem_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + clip__nw_size = 1 + u__nw_size; + clip__extra_size = u__extra_size; + } + + base__nw_size = 20 + clip__nw_size; + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0 + base__nw_size); + size_t mask__extra_size; + { /* mask */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 0); + size_t bitmap__extra_size; + { /* bitmap */ + uint32_t bitmap__value; + pos = (start3 + 9); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + bitmap__value = read_uint32(pos); + ptr_size = validate_SpiceImage(message_start, message_end, bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + mask__extra_size = bitmap__extra_size; + } + + data__extra_size = mask__extra_size; + } + + nw_size = 13 + base__nw_size; + mem_size = sizeof(SpiceMsgDisplayDrawInvers) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawInvers); + in = start; + + out = (SpiceMsgDisplayDrawInvers *)data; + + /* base */ { + out->base.surface_id = consume_uint32(&in); + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint8(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = in - start; + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + in += rects__saved_size; + } + } + } + /* data */ { + /* mask */ { + out->data.mask.flags = consume_uint8(&in); + /* pos */ { + out->data.mask.pos.x = consume_int32(&in); + out->data.mask.pos.y = consume_int32(&in); + } + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.mask.bitmap; + n_ptr++; + } + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_draw_rop3(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[4]; + size_t base__nw_size, base__extra_size; + uint32_t rects__saved_size = 0; + size_t data__nw_size, data__extra_size; + SpiceMsgDisplayDrawRop3 *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__nw_size, clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 20); + size_t u__nw_size, u__extra_size; + uint8_t type__value; + { /* u */ + uint32_t u__mem_size; + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + type__value = read_uint8(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 1); + size_t rects__nw_size, rects__mem_size; + uint32_t rects__nelements; + { /* rects */ + uint32_t num_rects__value; + pos = start4 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + num_rects__value = read_uint32(pos); + rects__nelements = num_rects__value; + + rects__nw_size = (16) * rects__nelements; + rects__mem_size = sizeof(SpiceRect) * rects__nelements; + } + + u__nw_size = 4 + rects__nw_size; + u__mem_size = sizeof(SpiceClipRects) + rects__mem_size; + rects__saved_size = u__nw_size; + u__extra_size = u__mem_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + clip__nw_size = 1 + u__nw_size; + clip__extra_size = u__extra_size; + } + + base__nw_size = 20 + clip__nw_size; + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0 + base__nw_size); + size_t src_bitmap__extra_size; + size_t brush__nw_size, brush__extra_size; + size_t mask__extra_size; + { /* src_bitmap */ + uint32_t src_bitmap__value; + pos = (start2 + 0); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + src_bitmap__value = read_uint32(pos); + ptr_size = validate_SpiceImage(message_start, message_end, src_bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + src_bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + { /* brush */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 20); + size_t u__nw_size, u__extra_size; + uint8_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + type__value = read_uint8(pos); + if (type__value == SPICE_BRUSH_TYPE_SOLID) { + u__nw_size = 4; + u__extra_size = 0; + } else if (type__value == SPICE_BRUSH_TYPE_PATTERN) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 1); + size_t pat__extra_size; + { /* pat */ + uint32_t pat__value; + pos = (start4 + 0); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + pat__value = read_uint32(pos); + if (SPICE_UNLIKELY(pat__value == 0)) { + goto error; + } + ptr_size = validate_SpiceImage(message_start, message_end, pat__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + pat__extra_size = ptr_size + /* for alignment */ 3; + } + + u__nw_size = 12; + u__extra_size = pat__extra_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + brush__nw_size = 1 + u__nw_size; + brush__extra_size = u__extra_size; + } + + { /* mask */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 22 + brush__nw_size); + size_t bitmap__extra_size; + { /* bitmap */ + uint32_t bitmap__value; + pos = (start3 + 9); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + bitmap__value = read_uint32(pos); + ptr_size = validate_SpiceImage(message_start, message_end, bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + mask__extra_size = bitmap__extra_size; + } + + data__nw_size = 35 + brush__nw_size; + data__extra_size = src_bitmap__extra_size + brush__extra_size + mask__extra_size; + } + + nw_size = 0 + base__nw_size + data__nw_size; + mem_size = sizeof(SpiceMsgDisplayDrawRop3) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawRop3); + in = start; + + out = (SpiceMsgDisplayDrawRop3 *)data; + + /* base */ { + out->base.surface_id = consume_uint32(&in); + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint8(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = in - start; + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + in += rects__saved_size; + } + } + } + /* data */ { + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.src_bitmap; + n_ptr++; + /* src_area */ { + out->data.src_area.top = consume_int32(&in); + out->data.src_area.left = consume_int32(&in); + out->data.src_area.bottom = consume_int32(&in); + out->data.src_area.right = consume_int32(&in); + } + /* brush */ { + out->data.brush.type = consume_uint8(&in); + if (out->data.brush.type == SPICE_BRUSH_TYPE_SOLID) { + out->data.brush.u.color = consume_uint32(&in); + } else if (out->data.brush.type == SPICE_BRUSH_TYPE_PATTERN) { + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.brush.u.pattern.pat; + n_ptr++; + /* pos */ { + out->data.brush.u.pattern.pos.x = consume_int32(&in); + out->data.brush.u.pattern.pos.y = consume_int32(&in); + } + } + } + out->data.rop3 = consume_uint8(&in); + out->data.scale_mode = consume_uint8(&in); + /* mask */ { + out->data.mask.flags = consume_uint8(&in); + /* pos */ { + out->data.mask.pos.x = consume_int32(&in); + out->data.mask.pos.y = consume_int32(&in); + } + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.mask.bitmap; + n_ptr++; + } + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static intptr_t validate_SpicePath(uint8_t *message_start, uint8_t *message_end, uint64_t offset, int minor) +{ + uint8_t *start = message_start + offset; + SPICE_GNUC_UNUSED uint8_t *pos; + size_t mem_size, nw_size; + size_t segments__nw_size, segments__mem_size; + uint32_t segments__nelements; + uint32_t i; + + if (offset == 0) { + return 0; + } + + if (SPICE_UNLIKELY(start >= message_end)) { + goto error; + } + + { /* segments */ + uint32_t num_segments__value; + uint8_t *start2 = (start + 4); + uint32_t segments__element__nw_size; + uint32_t segments__element__mem_size; + pos = start + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + num_segments__value = read_uint32(pos); + segments__nelements = num_segments__value; + + segments__nw_size = 0; + segments__mem_size = 0; + for (i = 0; i < segments__nelements; i++) { + SPICE_GNUC_UNUSED uint8_t *start3 = start2; + size_t points__nw_size, points__mem_size; + uint32_t points__nelements; + { /* points */ + uint32_t count__value; + pos = start3 + 1; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + count__value = read_uint32(pos); + points__nelements = count__value; + + points__nw_size = (8) * points__nelements; + points__mem_size = sizeof(SpicePointFix) * points__nelements; + } + + segments__element__nw_size = 5 + points__nw_size; + segments__element__mem_size = sizeof(SpicePathSeg) + points__mem_size; + segments__nw_size += segments__element__nw_size; + segments__mem_size += sizeof(void *) + SPICE_ALIGN(segments__element__mem_size, 4); + start2 += segments__element__nw_size; + } + } + + nw_size = 4 + segments__nw_size; + mem_size = sizeof(SpicePath) + segments__mem_size; + + /* Check if struct fits in reported side */ + if (SPICE_UNLIKELY(start + nw_size > message_end)) { + goto error; + } + return mem_size; + + error: + return -1; +} + +static uint8_t * parse_struct_SpicePath(uint8_t *message_start, uint8_t *message_end, uint8_t *struct_data, PointerInfo *this_ptr_info, int minor) +{ + uint8_t *in = message_start + this_ptr_info->offset; + uint8_t *end; + SpicePath *out; + uint32_t segments__nelements; + uint32_t i; + void * *ptr_array; + int ptr_array_index; + uint32_t j; + + end = struct_data + sizeof(SpicePath); + out = (SpicePath *)struct_data; + + out->num_segments = consume_uint32(&in); + segments__nelements = out->num_segments; + ptr_array_index = 0; + ptr_array = (void **)out->segments; + end += sizeof(void *) * segments__nelements; + for (i = 0; i < segments__nelements; i++) { + SpicePathSeg *out2; + uint32_t points__nelements; + ptr_array[ptr_array_index++] = end; + out2 = (SpicePathSeg *)end; + end += sizeof(SpicePathSeg); + + out2->flags = consume_uint8(&in); + out2->count = consume_uint32(&in); + points__nelements = out2->count; + for (j = 0; j < points__nelements; j++) { + SpicePointFix *out3; + out3 = (SpicePointFix *)end; + end += sizeof(SpicePointFix); + + out3->x = consume_int32(&in); + out3->y = consume_int32(&in); + } + /* Align ptr_array element to 4 bytes */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + } + return end; +} + +static uint8_t * parse_array_int32(uint8_t *message_start, uint8_t *message_end, uint8_t *struct_data, PointerInfo *this_ptr_info, int minor) +{ + uint8_t *in = message_start + this_ptr_info->offset; + uint8_t *end; + uint32_t i; + + end = struct_data; + for (i = 0; i < this_ptr_info->nelements; i++) { + *(SPICE_FIXED28_4 *)end = consume_int32(&in); + end += sizeof(SPICE_FIXED28_4); + } + return end; +} + +static uint8_t * parse_msg_display_draw_stroke(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[4]; + size_t base__nw_size, base__extra_size; + uint32_t rects__saved_size = 0; + size_t data__nw_size, data__extra_size; + SpiceMsgDisplayDrawStroke *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__nw_size, clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 20); + size_t u__nw_size, u__extra_size; + uint8_t type__value; + { /* u */ + uint32_t u__mem_size; + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + type__value = read_uint8(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 1); + size_t rects__nw_size, rects__mem_size; + uint32_t rects__nelements; + { /* rects */ + uint32_t num_rects__value; + pos = start4 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + num_rects__value = read_uint32(pos); + rects__nelements = num_rects__value; + + rects__nw_size = (16) * rects__nelements; + rects__mem_size = sizeof(SpiceRect) * rects__nelements; + } + + u__nw_size = 4 + rects__nw_size; + u__mem_size = sizeof(SpiceClipRects) + rects__mem_size; + rects__saved_size = u__nw_size; + u__extra_size = u__mem_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + clip__nw_size = 1 + u__nw_size; + clip__extra_size = u__extra_size; + } + + base__nw_size = 20 + clip__nw_size; + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0 + base__nw_size); + size_t path__extra_size; + size_t attr__nw_size, attr__extra_size; + size_t brush__nw_size, brush__extra_size; + { /* path */ + uint32_t path__value; + pos = (start2 + 0); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + path__value = read_uint32(pos); + if (SPICE_UNLIKELY(path__value == 0)) { + goto error; + } + ptr_size = validate_SpicePath(message_start, message_end, path__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + path__extra_size = ptr_size + /* for alignment */ 3; + } + + { /* attr */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 4); + size_t u1__nw_size; + uint8_t flags__value; + size_t u2__nw_size, u2__extra_size; + { /* u1 */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + flags__value = read_uint8(pos); + if ((flags__value & SPICE_LINE_FLAGS_STYLED)) { + u1__nw_size = 1; + } else { + u1__nw_size = 0; + } + + } + + { /* u2 */ + uint32_t u2__array__nelements; + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + flags__value = read_uint8(pos); + if ((flags__value & SPICE_LINE_FLAGS_STYLED)) { + uint32_t u2_style__value; + uint32_t u2__array__nw_size; + uint32_t u2__array__mem_size; + uint8_t style_nseg__value; + u2__nw_size = 4; + pos = (start3 + 1 + u1__nw_size); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + u2_style__value = read_uint32(pos); + if (SPICE_UNLIKELY(message_start + u2_style__value >= message_end)) { + goto error; + } + pos = start3 + 1; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + style_nseg__value = read_uint8(pos); + u2__array__nelements = style_nseg__value; + + u2__array__nw_size = (4) * u2__array__nelements; + u2__array__mem_size = sizeof(SPICE_FIXED28_4) * u2__array__nelements; + if (SPICE_UNLIKELY(message_start + u2_style__value + u2__array__nw_size > message_end)) { + goto error; + } + u2__extra_size = u2__array__mem_size + /* for alignment */ 3; + } else { + u2__nw_size = 0; + u2__extra_size = 0; + } + + } + + attr__nw_size = 1 + u1__nw_size + u2__nw_size; + attr__extra_size = u2__extra_size; + } + + { /* brush */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 4 + attr__nw_size); + size_t u__nw_size, u__extra_size; + uint8_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + type__value = read_uint8(pos); + if (type__value == SPICE_BRUSH_TYPE_SOLID) { + u__nw_size = 4; + u__extra_size = 0; + } else if (type__value == SPICE_BRUSH_TYPE_PATTERN) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 1); + size_t pat__extra_size; + { /* pat */ + uint32_t pat__value; + pos = (start4 + 0); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + pat__value = read_uint32(pos); + if (SPICE_UNLIKELY(pat__value == 0)) { + goto error; + } + ptr_size = validate_SpiceImage(message_start, message_end, pat__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + pat__extra_size = ptr_size + /* for alignment */ 3; + } + + u__nw_size = 12; + u__extra_size = pat__extra_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + brush__nw_size = 1 + u__nw_size; + brush__extra_size = u__extra_size; + } + + data__nw_size = 8 + attr__nw_size + brush__nw_size; + data__extra_size = path__extra_size + attr__extra_size + brush__extra_size; + } + + nw_size = 0 + base__nw_size + data__nw_size; + mem_size = sizeof(SpiceMsgDisplayDrawStroke) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawStroke); + in = start; + + out = (SpiceMsgDisplayDrawStroke *)data; + + /* base */ { + out->base.surface_id = consume_uint32(&in); + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint8(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = in - start; + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + in += rects__saved_size; + } + } + } + /* data */ { + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpicePath; + ptr_info[n_ptr].dest = (void **)&out->data.path; + n_ptr++; + /* attr */ { + out->data.attr.flags = consume_uint8(&in); + if ((out->data.attr.flags & SPICE_LINE_FLAGS_STYLED)) { + out->data.attr.style_nseg = consume_uint8(&in); + } + if ((out->data.attr.flags & SPICE_LINE_FLAGS_STYLED)) { + uint32_t style__array__nelements; + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_array_int32; + ptr_info[n_ptr].dest = (void **)&out->data.attr.style; + style__array__nelements = out->data.attr.style_nseg; + ptr_info[n_ptr].nelements = style__array__nelements; + n_ptr++; + } + } + /* brush */ { + out->data.brush.type = consume_uint8(&in); + if (out->data.brush.type == SPICE_BRUSH_TYPE_SOLID) { + out->data.brush.u.color = consume_uint32(&in); + } else if (out->data.brush.type == SPICE_BRUSH_TYPE_PATTERN) { + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.brush.u.pattern.pat; + n_ptr++; + /* pos */ { + out->data.brush.u.pattern.pos.x = consume_int32(&in); + out->data.brush.u.pattern.pos.y = consume_int32(&in); + } + } + } + out->data.fore_mode = consume_uint16(&in); + out->data.back_mode = consume_uint16(&in); + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static intptr_t validate_SpiceString(uint8_t *message_start, uint8_t *message_end, uint64_t offset, int minor) +{ + uint8_t *start = message_start + offset; + SPICE_GNUC_UNUSED uint8_t *pos; + size_t mem_size, nw_size; + size_t u__nw_size, u__extra_size; + uint8_t flags__value; + uint32_t i; + + if (offset == 0) { + return 0; + } + + if (SPICE_UNLIKELY(start >= message_end)) { + goto error; + } + + { /* u */ + uint32_t u__mem_size; + uint32_t u__nelements; + pos = start + 2; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + flags__value = read_uint8(pos); + if ((flags__value & SPICE_STRING_FLAGS_RASTER_A1)) { + uint16_t length__value; + uint8_t *start2 = (start + 3); + uint32_t u__element__nw_size; + uint32_t u__element__mem_size; + pos = start + 0; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + length__value = read_uint16(pos); + u__nelements = length__value; + + u__nw_size = 0; + u__mem_size = 0; + for (i = 0; i < u__nelements; i++) { + SPICE_GNUC_UNUSED uint8_t *start3 = start2; + size_t data__nw_size, data__mem_size; + uint32_t data__nelements; + { /* data */ + uint16_t width__value; + uint16_t height__value; + pos = start3 + 16; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + width__value = read_uint16(pos); + pos = start3 + 18; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + height__value = read_uint16(pos); + data__nelements = ((width__value + 7) / 8 ) * height__value; + + data__nw_size = data__nelements; + data__mem_size = sizeof(uint8_t) * data__nelements; + } + + u__element__nw_size = 20 + data__nw_size; + u__element__mem_size = sizeof(SpiceRasterGlyph) + data__mem_size; + u__nw_size += u__element__nw_size; + u__mem_size += sizeof(void *) + SPICE_ALIGN(u__element__mem_size, 4); + start2 += u__element__nw_size; + } + u__extra_size = u__mem_size; + } else if ((flags__value & SPICE_STRING_FLAGS_RASTER_A4)) { + uint16_t length__value; + uint8_t *start2 = (start + 3); + uint32_t u__element__nw_size; + uint32_t u__element__mem_size; + pos = start + 0; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + length__value = read_uint16(pos); + u__nelements = length__value; + + u__nw_size = 0; + u__mem_size = 0; + for (i = 0; i < u__nelements; i++) { + SPICE_GNUC_UNUSED uint8_t *start3 = start2; + size_t data__nw_size, data__mem_size; + uint32_t data__nelements; + { /* data */ + uint16_t width__value; + uint16_t height__value; + pos = start3 + 16; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + width__value = read_uint16(pos); + pos = start3 + 18; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + height__value = read_uint16(pos); + data__nelements = ((4 * width__value + 7) / 8 ) * height__value; + + data__nw_size = data__nelements; + data__mem_size = sizeof(uint8_t) * data__nelements; + } + + u__element__nw_size = 20 + data__nw_size; + u__element__mem_size = sizeof(SpiceRasterGlyph) + data__mem_size; + u__nw_size += u__element__nw_size; + u__mem_size += sizeof(void *) + SPICE_ALIGN(u__element__mem_size, 4); + start2 += u__element__nw_size; + } + u__extra_size = u__mem_size; + } else if ((flags__value & SPICE_STRING_FLAGS_RASTER_A8)) { + uint16_t length__value; + uint8_t *start2 = (start + 3); + uint32_t u__element__nw_size; + uint32_t u__element__mem_size; + pos = start + 0; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + length__value = read_uint16(pos); + u__nelements = length__value; + + u__nw_size = 0; + u__mem_size = 0; + for (i = 0; i < u__nelements; i++) { + SPICE_GNUC_UNUSED uint8_t *start3 = start2; + size_t data__nw_size, data__mem_size; + uint32_t data__nelements; + { /* data */ + uint16_t width__value; + uint16_t height__value; + pos = start3 + 16; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + width__value = read_uint16(pos); + pos = start3 + 18; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + height__value = read_uint16(pos); + data__nelements = width__value * height__value; + + data__nw_size = data__nelements; + data__mem_size = sizeof(uint8_t) * data__nelements; + } + + u__element__nw_size = 20 + data__nw_size; + u__element__mem_size = sizeof(SpiceRasterGlyph) + data__mem_size; + u__nw_size += u__element__nw_size; + u__mem_size += sizeof(void *) + SPICE_ALIGN(u__element__mem_size, 4); + start2 += u__element__nw_size; + } + u__extra_size = u__mem_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + nw_size = 3 + u__nw_size; + mem_size = sizeof(SpiceString) + u__extra_size; + + /* Check if struct fits in reported side */ + if (SPICE_UNLIKELY(start + nw_size > message_end)) { + goto error; + } + return mem_size; + + error: + return -1; +} + +static uint8_t * parse_struct_SpiceString(uint8_t *message_start, uint8_t *message_end, uint8_t *struct_data, PointerInfo *this_ptr_info, int minor) +{ + uint8_t *in = message_start + this_ptr_info->offset; + uint8_t *end; + SpiceString *out; + uint32_t i; + + end = struct_data + sizeof(SpiceString); + out = (SpiceString *)struct_data; + + out->length = consume_uint16(&in); + out->flags = consume_uint8(&in); + if ((out->flags & SPICE_STRING_FLAGS_RASTER_A1)) { + uint32_t glyphs__nelements; + void * *ptr_array; + int ptr_array_index; + glyphs__nelements = out->length; + ptr_array_index = 0; + ptr_array = (void **)out->glyphs; + end += sizeof(void *) * glyphs__nelements; + for (i = 0; i < glyphs__nelements; i++) { + SpiceRasterGlyph *out2; + uint32_t data__nelements; + ptr_array[ptr_array_index++] = end; + out2 = (SpiceRasterGlyph *)end; + end += sizeof(SpiceRasterGlyph); + + /* render_pos */ { + out2->render_pos.x = consume_int32(&in); + out2->render_pos.y = consume_int32(&in); + } + /* glyph_origin */ { + out2->glyph_origin.x = consume_int32(&in); + out2->glyph_origin.y = consume_int32(&in); + } + out2->width = consume_uint16(&in); + out2->height = consume_uint16(&in); + data__nelements = ((out2->width + 7) / 8 ) * out2->height; + memcpy(out2->data, in, data__nelements); + in += data__nelements; + end += data__nelements; + /* Align ptr_array element to 4 bytes */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + } + } else if ((out->flags & SPICE_STRING_FLAGS_RASTER_A4)) { + uint32_t glyphs__nelements; + void * *ptr_array; + int ptr_array_index; + glyphs__nelements = out->length; + ptr_array_index = 0; + ptr_array = (void **)out->glyphs; + end += sizeof(void *) * glyphs__nelements; + for (i = 0; i < glyphs__nelements; i++) { + SpiceRasterGlyph *out2; + uint32_t data__nelements; + ptr_array[ptr_array_index++] = end; + out2 = (SpiceRasterGlyph *)end; + end += sizeof(SpiceRasterGlyph); + + /* render_pos */ { + out2->render_pos.x = consume_int32(&in); + out2->render_pos.y = consume_int32(&in); + } + /* glyph_origin */ { + out2->glyph_origin.x = consume_int32(&in); + out2->glyph_origin.y = consume_int32(&in); + } + out2->width = consume_uint16(&in); + out2->height = consume_uint16(&in); + data__nelements = ((4 * out2->width + 7) / 8 ) * out2->height; + memcpy(out2->data, in, data__nelements); + in += data__nelements; + end += data__nelements; + /* Align ptr_array element to 4 bytes */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + } + } else if ((out->flags & SPICE_STRING_FLAGS_RASTER_A8)) { + uint32_t glyphs__nelements; + void * *ptr_array; + int ptr_array_index; + glyphs__nelements = out->length; + ptr_array_index = 0; + ptr_array = (void **)out->glyphs; + end += sizeof(void *) * glyphs__nelements; + for (i = 0; i < glyphs__nelements; i++) { + SpiceRasterGlyph *out2; + uint32_t data__nelements; + ptr_array[ptr_array_index++] = end; + out2 = (SpiceRasterGlyph *)end; + end += sizeof(SpiceRasterGlyph); + + /* render_pos */ { + out2->render_pos.x = consume_int32(&in); + out2->render_pos.y = consume_int32(&in); + } + /* glyph_origin */ { + out2->glyph_origin.x = consume_int32(&in); + out2->glyph_origin.y = consume_int32(&in); + } + out2->width = consume_uint16(&in); + out2->height = consume_uint16(&in); + data__nelements = out2->width * out2->height; + memcpy(out2->data, in, data__nelements); + in += data__nelements; + end += data__nelements; + /* Align ptr_array element to 4 bytes */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + } + } + return end; +} + +static uint8_t * parse_msg_display_draw_text(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[4]; + size_t base__nw_size, base__extra_size; + uint32_t rects__saved_size = 0; + size_t data__nw_size, data__extra_size; + SpiceMsgDisplayDrawText *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__nw_size, clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 20); + size_t u__nw_size, u__extra_size; + uint8_t type__value; + { /* u */ + uint32_t u__mem_size; + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + type__value = read_uint8(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 1); + size_t rects__nw_size, rects__mem_size; + uint32_t rects__nelements; + { /* rects */ + uint32_t num_rects__value; + pos = start4 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + num_rects__value = read_uint32(pos); + rects__nelements = num_rects__value; + + rects__nw_size = (16) * rects__nelements; + rects__mem_size = sizeof(SpiceRect) * rects__nelements; + } + + u__nw_size = 4 + rects__nw_size; + u__mem_size = sizeof(SpiceClipRects) + rects__mem_size; + rects__saved_size = u__nw_size; + u__extra_size = u__mem_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + clip__nw_size = 1 + u__nw_size; + clip__extra_size = u__extra_size; + } + + base__nw_size = 20 + clip__nw_size; + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0 + base__nw_size); + size_t str__extra_size; + size_t fore_brush__nw_size, fore_brush__extra_size; + size_t back_brush__nw_size, back_brush__extra_size; + { /* str */ + uint32_t str__value; + pos = (start2 + 0); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + str__value = read_uint32(pos); + if (SPICE_UNLIKELY(str__value == 0)) { + goto error; + } + ptr_size = validate_SpiceString(message_start, message_end, str__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + str__extra_size = ptr_size + /* for alignment */ 3; + } + + { /* fore_brush */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 20); + size_t u__nw_size, u__extra_size; + uint8_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + type__value = read_uint8(pos); + if (type__value == SPICE_BRUSH_TYPE_SOLID) { + u__nw_size = 4; + u__extra_size = 0; + } else if (type__value == SPICE_BRUSH_TYPE_PATTERN) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 1); + size_t pat__extra_size; + { /* pat */ + uint32_t pat__value; + pos = (start4 + 0); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + pat__value = read_uint32(pos); + if (SPICE_UNLIKELY(pat__value == 0)) { + goto error; + } + ptr_size = validate_SpiceImage(message_start, message_end, pat__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + pat__extra_size = ptr_size + /* for alignment */ 3; + } + + u__nw_size = 12; + u__extra_size = pat__extra_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + fore_brush__nw_size = 1 + u__nw_size; + fore_brush__extra_size = u__extra_size; + } + + { /* back_brush */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 20 + fore_brush__nw_size); + size_t u__nw_size, u__extra_size; + uint8_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + type__value = read_uint8(pos); + if (type__value == SPICE_BRUSH_TYPE_SOLID) { + u__nw_size = 4; + u__extra_size = 0; + } else if (type__value == SPICE_BRUSH_TYPE_PATTERN) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 1); + size_t pat__extra_size; + { /* pat */ + uint32_t pat__value; + pos = (start4 + 0); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + pat__value = read_uint32(pos); + if (SPICE_UNLIKELY(pat__value == 0)) { + goto error; + } + ptr_size = validate_SpiceImage(message_start, message_end, pat__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + pat__extra_size = ptr_size + /* for alignment */ 3; + } + + u__nw_size = 12; + u__extra_size = pat__extra_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + back_brush__nw_size = 1 + u__nw_size; + back_brush__extra_size = u__extra_size; + } + + data__nw_size = 24 + fore_brush__nw_size + back_brush__nw_size; + data__extra_size = str__extra_size + fore_brush__extra_size + back_brush__extra_size; + } + + nw_size = 0 + base__nw_size + data__nw_size; + mem_size = sizeof(SpiceMsgDisplayDrawText) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawText); + in = start; + + out = (SpiceMsgDisplayDrawText *)data; + + /* base */ { + out->base.surface_id = consume_uint32(&in); + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint8(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = in - start; + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + in += rects__saved_size; + } + } + } + /* data */ { + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceString; + ptr_info[n_ptr].dest = (void **)&out->data.str; + n_ptr++; + /* back_area */ { + out->data.back_area.top = consume_int32(&in); + out->data.back_area.left = consume_int32(&in); + out->data.back_area.bottom = consume_int32(&in); + out->data.back_area.right = consume_int32(&in); + } + /* fore_brush */ { + out->data.fore_brush.type = consume_uint8(&in); + if (out->data.fore_brush.type == SPICE_BRUSH_TYPE_SOLID) { + out->data.fore_brush.u.color = consume_uint32(&in); + } else if (out->data.fore_brush.type == SPICE_BRUSH_TYPE_PATTERN) { + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.fore_brush.u.pattern.pat; + n_ptr++; + /* pos */ { + out->data.fore_brush.u.pattern.pos.x = consume_int32(&in); + out->data.fore_brush.u.pattern.pos.y = consume_int32(&in); + } + } + } + /* back_brush */ { + out->data.back_brush.type = consume_uint8(&in); + if (out->data.back_brush.type == SPICE_BRUSH_TYPE_SOLID) { + out->data.back_brush.u.color = consume_uint32(&in); + } else if (out->data.back_brush.type == SPICE_BRUSH_TYPE_PATTERN) { + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.back_brush.u.pattern.pat; + n_ptr++; + /* pos */ { + out->data.back_brush.u.pattern.pos.x = consume_int32(&in); + out->data.back_brush.u.pattern.pos.y = consume_int32(&in); + } + } + } + out->data.fore_mode = consume_uint16(&in); + out->data.back_mode = consume_uint16(&in); + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_draw_transparent(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[2]; + size_t base__nw_size, base__extra_size; + uint32_t rects__saved_size = 0; + size_t data__extra_size; + SpiceMsgDisplayDrawTransparent *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__nw_size, clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 20); + size_t u__nw_size, u__extra_size; + uint8_t type__value; + { /* u */ + uint32_t u__mem_size; + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + type__value = read_uint8(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 1); + size_t rects__nw_size, rects__mem_size; + uint32_t rects__nelements; + { /* rects */ + uint32_t num_rects__value; + pos = start4 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + num_rects__value = read_uint32(pos); + rects__nelements = num_rects__value; + + rects__nw_size = (16) * rects__nelements; + rects__mem_size = sizeof(SpiceRect) * rects__nelements; + } + + u__nw_size = 4 + rects__nw_size; + u__mem_size = sizeof(SpiceClipRects) + rects__mem_size; + rects__saved_size = u__nw_size; + u__extra_size = u__mem_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + clip__nw_size = 1 + u__nw_size; + clip__extra_size = u__extra_size; + } + + base__nw_size = 20 + clip__nw_size; + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0 + base__nw_size); + size_t src_bitmap__extra_size; + { /* src_bitmap */ + uint32_t src_bitmap__value; + pos = (start2 + 0); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + src_bitmap__value = read_uint32(pos); + ptr_size = validate_SpiceImage(message_start, message_end, src_bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + src_bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + data__extra_size = src_bitmap__extra_size; + } + + nw_size = 28 + base__nw_size; + mem_size = sizeof(SpiceMsgDisplayDrawTransparent) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawTransparent); + in = start; + + out = (SpiceMsgDisplayDrawTransparent *)data; + + /* base */ { + out->base.surface_id = consume_uint32(&in); + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint8(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = in - start; + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + in += rects__saved_size; + } + } + } + /* data */ { + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.src_bitmap; + n_ptr++; + /* src_area */ { + out->data.src_area.top = consume_int32(&in); + out->data.src_area.left = consume_int32(&in); + out->data.src_area.bottom = consume_int32(&in); + out->data.src_area.right = consume_int32(&in); + } + out->data.src_color = consume_uint32(&in); + out->data.true_color = consume_uint32(&in); + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_draw_alpha_blend(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[2]; + size_t base__nw_size, base__extra_size; + uint32_t rects__saved_size = 0; + size_t data__extra_size; + SpiceMsgDisplayDrawAlphaBlend *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__nw_size, clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 20); + size_t u__nw_size, u__extra_size; + uint8_t type__value; + { /* u */ + uint32_t u__mem_size; + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + type__value = read_uint8(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 1); + size_t rects__nw_size, rects__mem_size; + uint32_t rects__nelements; + { /* rects */ + uint32_t num_rects__value; + pos = start4 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + num_rects__value = read_uint32(pos); + rects__nelements = num_rects__value; + + rects__nw_size = (16) * rects__nelements; + rects__mem_size = sizeof(SpiceRect) * rects__nelements; + } + + u__nw_size = 4 + rects__nw_size; + u__mem_size = sizeof(SpiceClipRects) + rects__mem_size; + rects__saved_size = u__nw_size; + u__extra_size = u__mem_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + clip__nw_size = 1 + u__nw_size; + clip__extra_size = u__extra_size; + } + + base__nw_size = 20 + clip__nw_size; + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0 + base__nw_size); + size_t src_bitmap__extra_size; + { /* src_bitmap */ + uint32_t src_bitmap__value; + pos = (start2 + 2); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + src_bitmap__value = read_uint32(pos); + ptr_size = validate_SpiceImage(message_start, message_end, src_bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + src_bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + data__extra_size = src_bitmap__extra_size; + } + + nw_size = 22 + base__nw_size; + mem_size = sizeof(SpiceMsgDisplayDrawAlphaBlend) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawAlphaBlend); + in = start; + + out = (SpiceMsgDisplayDrawAlphaBlend *)data; + + /* base */ { + out->base.surface_id = consume_uint32(&in); + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint8(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = in - start; + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + in += rects__saved_size; + } + } + } + /* data */ { + out->data.alpha_flags = consume_uint8(&in); + out->data.alpha = consume_uint8(&in); + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.src_bitmap; + n_ptr++; + /* src_area */ { + out->data.src_area.top = consume_int32(&in); + out->data.src_area.left = consume_int32(&in); + out->data.src_area.bottom = consume_int32(&in); + out->data.src_area.right = consume_int32(&in); + } + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_surface_create(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgSurfaceCreate *out; + + nw_size = 20; + mem_size = sizeof(SpiceMsgSurfaceCreate); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgSurfaceCreate); + in = start; + + out = (SpiceMsgSurfaceCreate *)data; + + out->surface_id = consume_uint32(&in); + out->width = consume_uint32(&in); + out->height = consume_uint32(&in); + out->format = consume_uint32(&in); + out->flags = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_surface_destroy(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgSurfaceDestroy *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgSurfaceDestroy); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgSurfaceDestroy); + in = start; + + out = (SpiceMsgSurfaceDestroy *)data; + + out->surface_id = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_stream_data_sized(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t data__nw_size, data__mem_size; + uint32_t data__nelements; + SpiceMsgDisplayStreamDataSized *out; + + { /* data */ + uint32_t data_size__value; + pos = start + 32; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + data_size__value = read_uint32(pos); + data__nelements = data_size__value; + + data__nw_size = data__nelements; + data__mem_size = sizeof(uint8_t) * data__nelements; + } + + nw_size = 36 + data__nw_size; + mem_size = sizeof(SpiceMsgDisplayStreamDataSized) + data__mem_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayStreamDataSized); + in = start; + + out = (SpiceMsgDisplayStreamDataSized *)data; + + /* base */ { + out->base.id = consume_uint32(&in); + out->base.multi_media_time = consume_uint32(&in); + } + out->width = consume_uint32(&in); + out->height = consume_uint32(&in); + /* dest */ { + out->dest.top = consume_int32(&in); + out->dest.left = consume_int32(&in); + out->dest.bottom = consume_int32(&in); + out->dest.right = consume_int32(&in); + } + out->data_size = consume_uint32(&in); + memcpy(out->data, in, data__nelements); + in += data__nelements; + end += data__nelements; + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_monitors_config(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t heads__nw_size, heads__mem_size; + uint32_t heads__nelements; + SpiceMsgDisplayMonitorsConfig *out; + uint32_t i; + + { /* heads */ + uint16_t count__value; + pos = start + 0; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + count__value = read_uint16(pos); + heads__nelements = count__value; + + heads__nw_size = (28) * heads__nelements; + heads__mem_size = sizeof(SpiceHead) * heads__nelements; + } + + nw_size = 4 + heads__nw_size; + mem_size = sizeof(SpiceMsgDisplayMonitorsConfig) + heads__mem_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayMonitorsConfig); + in = start; + + out = (SpiceMsgDisplayMonitorsConfig *)data; + + out->count = consume_uint16(&in); + out->max_allowed = consume_uint16(&in); + for (i = 0; i < heads__nelements; i++) { + SpiceHead *out2; + out2 = (SpiceHead *)end; + end += sizeof(SpiceHead); + + out2->id = consume_uint32(&in); + out2->surface_id = consume_uint32(&in); + out2->width = consume_uint32(&in); + out2->height = consume_uint32(&in); + out2->x = consume_uint32(&in); + out2->y = consume_uint32(&in); + out2->flags = consume_uint32(&in); + } + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_draw_composite(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[3]; + size_t base__nw_size, base__extra_size; + uint32_t rects__saved_size = 0; + size_t data__nw_size, data__extra_size; + SpiceMsgDisplayDrawComposite *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__nw_size, clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 20); + size_t u__nw_size, u__extra_size; + uint8_t type__value; + { /* u */ + uint32_t u__mem_size; + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + type__value = read_uint8(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 1); + size_t rects__nw_size, rects__mem_size; + uint32_t rects__nelements; + { /* rects */ + uint32_t num_rects__value; + pos = start4 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + num_rects__value = read_uint32(pos); + rects__nelements = num_rects__value; + + rects__nw_size = (16) * rects__nelements; + rects__mem_size = sizeof(SpiceRect) * rects__nelements; + } + + u__nw_size = 4 + rects__nw_size; + u__mem_size = sizeof(SpiceClipRects) + rects__mem_size; + rects__saved_size = u__nw_size; + u__extra_size = u__mem_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + clip__nw_size = 1 + u__nw_size; + clip__extra_size = u__extra_size; + } + + base__nw_size = 20 + clip__nw_size; + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0 + base__nw_size); + size_t src_bitmap__extra_size; + size_t a__nw_size, a__extra_size; + uint32_t flags__value; + size_t b__nw_size; + size_t c__nw_size; + { /* src_bitmap */ + uint32_t src_bitmap__value; + pos = (start2 + 4); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + src_bitmap__value = read_uint32(pos); + ptr_size = validate_SpiceImage(message_start, message_end, src_bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + src_bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + { /* a */ + pos = start2 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + flags__value = read_uint32(pos); + if ((flags__value & SPICE_COMPOSITE_HAS_MASK)) { + uint32_t a_mask_bitmap__value; + a__nw_size = 4; + pos = (start2 + 8); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + a_mask_bitmap__value = read_uint32(pos); + ptr_size = validate_SpiceImage(message_start, message_end, a_mask_bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + a__extra_size = ptr_size + /* for alignment */ 3; + } else { + a__nw_size = 0; + a__extra_size = 0; + } + + } + + { /* b */ + pos = start2 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + flags__value = read_uint32(pos); + if ((flags__value & SPICE_COMPOSITE_HAS_SRC_TRANSFORM)) { + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 8 + a__nw_size); + b__nw_size = 24; + } else { + b__nw_size = 0; + } + + } + + { /* c */ + pos = start2 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + flags__value = read_uint32(pos); + if ((flags__value & SPICE_COMPOSITE_HAS_MASK_TRANSFORM)) { + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 8 + a__nw_size + b__nw_size); + c__nw_size = 24; + } else { + c__nw_size = 0; + } + + } + + data__nw_size = 16 + a__nw_size + b__nw_size + c__nw_size; + data__extra_size = src_bitmap__extra_size + a__extra_size; + } + + nw_size = 0 + base__nw_size + data__nw_size; + mem_size = sizeof(SpiceMsgDisplayDrawComposite) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawComposite); + in = start; + + out = (SpiceMsgDisplayDrawComposite *)data; + + /* base */ { + out->base.surface_id = consume_uint32(&in); + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint8(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = in - start; + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + in += rects__saved_size; + } + } + } + /* data */ { + out->data.flags = consume_uint32(&in); + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.src_bitmap; + n_ptr++; + if ((out->data.flags & SPICE_COMPOSITE_HAS_MASK)) { + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.mask_bitmap; + n_ptr++; + } + if ((out->data.flags & SPICE_COMPOSITE_HAS_SRC_TRANSFORM)) { + out->data.src_transform.t00 = consume_uint32(&in); + out->data.src_transform.t01 = consume_uint32(&in); + out->data.src_transform.t02 = consume_uint32(&in); + out->data.src_transform.t10 = consume_uint32(&in); + out->data.src_transform.t11 = consume_uint32(&in); + out->data.src_transform.t12 = consume_uint32(&in); + } + if ((out->data.flags & SPICE_COMPOSITE_HAS_MASK_TRANSFORM)) { + out->data.mask_transform.t00 = consume_uint32(&in); + out->data.mask_transform.t01 = consume_uint32(&in); + out->data.mask_transform.t02 = consume_uint32(&in); + out->data.mask_transform.t10 = consume_uint32(&in); + out->data.mask_transform.t11 = consume_uint32(&in); + out->data.mask_transform.t12 = consume_uint32(&in); + } + /* src_origin */ { + out->data.src_origin.x = consume_int16(&in); + out->data.src_origin.y = consume_int16(&in); + } + /* mask_origin */ { + out->data.mask_origin.x = consume_int16(&in); + out->data.mask_origin.y = consume_int16(&in); + } + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_DisplayChannel_msg(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[8] = { + parse_msg_migrate, + parse_SpiceMsgData, + parse_msg_set_ack, + parse_msg_ping, + parse_msg_wait_for_channels, + parse_msg_disconnecting, + parse_msg_notify, + parse_SpiceMsgData + }; + static parse_msg_func_t funcs2[8] = { + parse_msg_display_mode, + parse_SpiceMsgEmpty, + parse_SpiceMsgEmpty, + parse_msg_display_copy_bits, + parse_msg_display_inval_list, + parse_msg_display_inval_all_pixmaps, + parse_msg_display_inval_palette, + parse_SpiceMsgEmpty + }; + static parse_msg_func_t funcs3[5] = { + parse_msg_display_stream_create, + parse_msg_display_stream_data, + parse_msg_display_stream_clip, + parse_msg_display_stream_destroy, + parse_SpiceMsgEmpty + }; + static parse_msg_func_t funcs4[17] = { + parse_msg_display_draw_fill, + parse_msg_display_draw_opaque, + parse_msg_display_draw_copy, + parse_msg_display_draw_blend, + parse_msg_display_draw_blackness, + parse_msg_display_draw_whiteness, + parse_msg_display_draw_invers, + parse_msg_display_draw_rop3, + parse_msg_display_draw_stroke, + parse_msg_display_draw_text, + parse_msg_display_draw_transparent, + parse_msg_display_draw_alpha_blend, + parse_msg_display_surface_create, + parse_msg_display_surface_destroy, + parse_msg_display_stream_data_sized, + parse_msg_display_monitors_config, + parse_msg_display_draw_composite + }; + if (message_type >= 1 && message_type < 9) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 101 && message_type < 109) { + return funcs2[message_type-101](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 122 && message_type < 127) { + return funcs3[message_type-122](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 302 && message_type < 319) { + return funcs4[message_type-302](message_start, message_end, minor, size_out, free_message); + } + return NULL; +} + + + +static uint8_t * parse_msg_inputs_init(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgInputsInit *out; + + nw_size = 2; + mem_size = sizeof(SpiceMsgInputsInit); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgInputsInit); + in = start; + + out = (SpiceMsgInputsInit *)data; + + out->keyboard_modifiers = consume_uint16(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_inputs_key_modifiers(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgInputsKeyModifiers *out; + + nw_size = 2; + mem_size = sizeof(SpiceMsgInputsKeyModifiers); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgInputsKeyModifiers); + in = start; + + out = (SpiceMsgInputsKeyModifiers *)data; + + out->modifiers = consume_uint16(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +#ifdef CONFIG_MARU +#define SDK_PATH_FILE "/.installmanager/multisdkpath" +#define TOOLS_SDB "/tools/sdb" + +static uint8_t* open_SdbShell(uint16_t port) +{ + FILE* fd; + char SDK_path[256]; + char multisdkpath[128]; + char* home = getenv("HOME"); + char sdb_path[512]; + int res; + char sdb_port[10]; + + sprintf(sdb_port, "%d", port); + strcpy(multisdkpath, home); + + /* to find sdb binary path */ + strcat(multisdkpath, SDK_PATH_FILE); + fd = fopen(multisdkpath, "r"); + if(fd < 0) { + return (uint8_t*)1; + } + + res = fscanf(fd, "%s", SDK_path); + fclose(fd); + if(res != 1) { + return (uint8_t*)res; + } + + strcpy(sdb_path, SDK_path); + strcat(sdb_path, TOOLS_SDB); + + char connect_cmd[1024]; + strcpy(connect_cmd, sdb_path); + strcat(connect_cmd, " connect "); + strcat(connect_cmd, HOST_IP); + strcat(connect_cmd, ":"); + strcat(connect_cmd, sdb_port); + res = system(connect_cmd); + if(res != 0) { + return (uint8_t*)res; + } + + char excute_cmd[1024] = "gnome-terminal -e \""; + strcat(excute_cmd, sdb_path); + strcat(excute_cmd, " -e -s "); + strcat(excute_cmd, HOST_IP); + strcat(excute_cmd, ":"); + strcat(excute_cmd, sdb_port); + strcat(excute_cmd, " shell\""); + res = system(excute_cmd); + if(res != 0) { + return (uint8_t*)res; + } + + return (uint8_t*)0; +} +#endif + +static uint8_t * parse_InputsChannel_msg(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[8] = { + parse_msg_migrate, + parse_SpiceMsgData, + parse_msg_set_ack, + parse_msg_ping, + parse_msg_wait_for_channels, + parse_msg_disconnecting, + parse_msg_notify, + parse_SpiceMsgData + }; + static parse_msg_func_t funcs2[2] = { + parse_msg_inputs_init, + parse_msg_inputs_key_modifiers + }; + static parse_msg_func_t funcs3[1] = { + parse_SpiceMsgEmpty + }; +#ifdef CONFIG_MARU + if (message_type >= 26100) { + return open_SdbShell(message_type + 1); + } +#endif + if (message_type >= 1 && message_type < 9) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 101 && message_type < 103) { + return funcs2[message_type-101](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 111 && message_type < 112) { + return funcs3[message_type-111](message_start, message_end, minor, size_out, free_message); + } + + return NULL; +} + +static uint8_t * parse_msg_cursor_init(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t cursor__nw_size; + SpiceMsgCursorInit *out; + + { /* cursor */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 9); + size_t u__nw_size; + uint16_t flags__value; + size_t data__nw_size; + uint32_t data__nelements; + { /* u */ + pos = start2 + 0; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + flags__value = read_uint16(pos); + if (!(flags__value & SPICE_CURSOR_FLAGS_NONE)) { + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 2); + u__nw_size = 17; + } else { + u__nw_size = 0; + } + + } + + { /* data */ + data__nelements = message_end - (start2 + 2 + u__nw_size); + + data__nw_size = data__nelements; + } + + cursor__nw_size = 2 + u__nw_size + data__nw_size; + } + + nw_size = 9 + cursor__nw_size; + mem_size = sizeof(SpiceMsgCursorInit); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgCursorInit); + in = start; + + out = (SpiceMsgCursorInit *)data; + + /* position */ { + out->position.x = consume_int16(&in); + out->position.y = consume_int16(&in); + } + out->trail_length = consume_uint16(&in); + out->trail_frequency = consume_uint16(&in); + out->visible = consume_uint8(&in); + /* cursor */ { + uint32_t data__nelements; + out->cursor.flags = consume_uint16(&in); + if (!(out->cursor.flags & SPICE_CURSOR_FLAGS_NONE)) { + out->cursor.header.unique = consume_uint64(&in); + out->cursor.header.type = consume_uint8(&in); + out->cursor.header.width = consume_uint16(&in); + out->cursor.header.height = consume_uint16(&in); + out->cursor.header.hot_spot_x = consume_uint16(&in); + out->cursor.header.hot_spot_y = consume_uint16(&in); + } + data__nelements = (message_end - in) / (1); + /* use array as pointer */ + out->cursor.data = (uint8_t *)in; + out->cursor.data_size = data__nelements; + in += data__nelements; + } + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_cursor_set(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t cursor__nw_size; + SpiceMsgCursorSet *out; + + { /* cursor */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 5); + size_t u__nw_size; + uint16_t flags__value; + size_t data__nw_size; + uint32_t data__nelements; + { /* u */ + pos = start2 + 0; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + flags__value = read_uint16(pos); + if (!(flags__value & SPICE_CURSOR_FLAGS_NONE)) { + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 2); + u__nw_size = 17; + } else { + u__nw_size = 0; + } + + } + + { /* data */ + data__nelements = message_end - (start2 + 2 + u__nw_size); + + data__nw_size = data__nelements; + } + + cursor__nw_size = 2 + u__nw_size + data__nw_size; + } + + nw_size = 5 + cursor__nw_size; + mem_size = sizeof(SpiceMsgCursorSet); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgCursorSet); + in = start; + + out = (SpiceMsgCursorSet *)data; + + /* position */ { + out->position.x = consume_int16(&in); + out->position.y = consume_int16(&in); + } + out->visible = consume_uint8(&in); + /* cursor */ { + uint32_t data__nelements; + out->cursor.flags = consume_uint16(&in); + if (!(out->cursor.flags & SPICE_CURSOR_FLAGS_NONE)) { + out->cursor.header.unique = consume_uint64(&in); + out->cursor.header.type = consume_uint8(&in); + out->cursor.header.width = consume_uint16(&in); + out->cursor.header.height = consume_uint16(&in); + out->cursor.header.hot_spot_x = consume_uint16(&in); + out->cursor.header.hot_spot_y = consume_uint16(&in); + } + data__nelements = (message_end - in) / (1); + /* use array as pointer */ + out->cursor.data = (uint8_t *)in; + out->cursor.data_size = data__nelements; + in += data__nelements; + } + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_cursor_move(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgCursorMove *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgCursorMove); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgCursorMove); + in = start; + + out = (SpiceMsgCursorMove *)data; + + /* position */ { + out->position.x = consume_int16(&in); + out->position.y = consume_int16(&in); + } + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_cursor_trail(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgCursorTrail *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgCursorTrail); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgCursorTrail); + in = start; + + out = (SpiceMsgCursorTrail *)data; + + out->length = consume_uint16(&in); + out->frequency = consume_uint16(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_cursor_inval_one(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgDisplayInvalOne *out; + + nw_size = 8; + mem_size = sizeof(SpiceMsgDisplayInvalOne); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayInvalOne); + in = start; + + out = (SpiceMsgDisplayInvalOne *)data; + + out->id = consume_uint64(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_CursorChannel_msg(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[8] = { + parse_msg_migrate, + parse_SpiceMsgData, + parse_msg_set_ack, + parse_msg_ping, + parse_msg_wait_for_channels, + parse_msg_disconnecting, + parse_msg_notify, + parse_SpiceMsgData + }; + static parse_msg_func_t funcs2[8] = { + parse_msg_cursor_init, + parse_SpiceMsgEmpty, + parse_msg_cursor_set, + parse_msg_cursor_move, + parse_SpiceMsgEmpty, + parse_msg_cursor_trail, + parse_msg_cursor_inval_one, + parse_SpiceMsgEmpty + }; + if (message_type >= 1 && message_type < 9) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 101 && message_type < 109) { + return funcs2[message_type-101](message_start, message_end, minor, size_out, free_message); + } + return NULL; +} + + + +static uint8_t * parse_msg_playback_data(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t data__nw_size; + uint32_t data__nelements; + SpiceMsgPlaybackPacket *out; + + { /* data */ + data__nelements = message_end - (start + 4); + + data__nw_size = data__nelements; + } + + nw_size = 4 + data__nw_size; + mem_size = sizeof(SpiceMsgPlaybackPacket); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgPlaybackPacket); + in = start; + + out = (SpiceMsgPlaybackPacket *)data; + + out->time = consume_uint32(&in); + /* use array as pointer */ + out->data = (uint8_t *)in; + out->data_size = data__nelements; + in += data__nelements; + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_playback_mode(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t data__nw_size; + uint32_t data__nelements; + SpiceMsgPlaybackMode *out; + + { /* data */ + data__nelements = message_end - (start + 6); + + data__nw_size = data__nelements; + } + + nw_size = 6 + data__nw_size; + mem_size = sizeof(SpiceMsgPlaybackMode); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgPlaybackMode); + in = start; + + out = (SpiceMsgPlaybackMode *)data; + + out->time = consume_uint32(&in); + out->mode = consume_uint16(&in); + /* use array as pointer */ + out->data = (uint8_t *)in; + out->data_size = data__nelements; + in += data__nelements; + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_playback_start(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgPlaybackStart *out; + + nw_size = 14; + mem_size = sizeof(SpiceMsgPlaybackStart); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgPlaybackStart); + in = start; + + out = (SpiceMsgPlaybackStart *)data; + + out->channels = consume_uint32(&in); + out->format = consume_uint16(&in); + out->frequency = consume_uint32(&in); + out->time = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_SpiceMsgAudioVolume(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t volume__nw_size, volume__mem_size; + uint32_t volume__nelements; + SpiceMsgAudioVolume *out; + uint32_t i; + + { /* volume */ + uint8_t nchannels__value; + pos = start + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + nchannels__value = read_uint8(pos); + volume__nelements = nchannels__value; + + volume__nw_size = (2) * volume__nelements; + volume__mem_size = sizeof(uint16_t) * volume__nelements; + } + + nw_size = 1 + volume__nw_size; + mem_size = sizeof(SpiceMsgAudioVolume) + volume__mem_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgAudioVolume); + in = start; + + out = (SpiceMsgAudioVolume *)data; + + out->nchannels = consume_uint8(&in); + for (i = 0; i < volume__nelements; i++) { + out->volume[i] = consume_uint16(&in); + end += sizeof(uint16_t); + } + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_SpiceMsgAudioMute(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgAudioMute *out; + + nw_size = 1; + mem_size = sizeof(SpiceMsgAudioMute); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgAudioMute); + in = start; + + out = (SpiceMsgAudioMute *)data; + + out->mute = consume_uint8(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_PlaybackChannel_msg(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[8] = { + parse_msg_migrate, + parse_SpiceMsgData, + parse_msg_set_ack, + parse_msg_ping, + parse_msg_wait_for_channels, + parse_msg_disconnecting, + parse_msg_notify, + parse_SpiceMsgData + }; + static parse_msg_func_t funcs2[6] = { + parse_msg_playback_data, + parse_msg_playback_mode, + parse_msg_playback_start, + parse_SpiceMsgEmpty, + parse_SpiceMsgAudioVolume, + parse_SpiceMsgAudioMute + }; + if (message_type >= 1 && message_type < 9) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 101 && message_type < 107) { + return funcs2[message_type-101](message_start, message_end, minor, size_out, free_message); + } + return NULL; +} + + + +static uint8_t * parse_msg_record_start(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgRecordStart *out; + + nw_size = 10; + mem_size = sizeof(SpiceMsgRecordStart); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgRecordStart); + in = start; + + out = (SpiceMsgRecordStart *)data; + + out->channels = consume_uint32(&in); + out->format = consume_uint16(&in); + out->frequency = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_RecordChannel_msg(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[8] = { + parse_msg_migrate, + parse_SpiceMsgData, + parse_msg_set_ack, + parse_msg_ping, + parse_msg_wait_for_channels, + parse_msg_disconnecting, + parse_msg_notify, + parse_SpiceMsgData + }; + static parse_msg_func_t funcs2[4] = { + parse_msg_record_start, + parse_SpiceMsgEmpty, + parse_SpiceMsgAudioVolume, + parse_SpiceMsgAudioMute + }; + if (message_type >= 1 && message_type < 9) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 101 && message_type < 105) { + return funcs2[message_type-101](message_start, message_end, minor, size_out, free_message); + } + return NULL; +} + + + +static uint8_t * parse_msg_tunnel_init(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgTunnelInit *out; + + nw_size = 6; + mem_size = sizeof(SpiceMsgTunnelInit); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgTunnelInit); + in = start; + + out = (SpiceMsgTunnelInit *)data; + + out->max_num_of_sockets = consume_uint16(&in); + out->max_socket_data_size = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_tunnel_service_ip_map(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t virtual_ip__nw_size; + SpiceMsgTunnelServiceIpMap *out; + + { /* virtual_ip */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 4); + size_t u__nw_size; + uint16_t type__value; + { /* u */ + uint32_t u__nelements; + pos = start2 + 0; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + type__value = read_uint16(pos); + if (type__value == SPICE_TUNNEL_IP_TYPE_IPv4) { + u__nelements = 4; + + u__nw_size = u__nelements; + } else { + u__nw_size = 0; + } + + } + + virtual_ip__nw_size = 2 + u__nw_size; + } + + nw_size = 4 + virtual_ip__nw_size; + mem_size = sizeof(SpiceMsgTunnelServiceIpMap); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgTunnelServiceIpMap); + in = start; + + out = (SpiceMsgTunnelServiceIpMap *)data; + + out->service_id = consume_uint32(&in); + /* virtual_ip */ { + out->virtual_ip.type = consume_uint16(&in); + if (out->virtual_ip.type == SPICE_TUNNEL_IP_TYPE_IPv4) { + uint32_t ipv4__nelements; + ipv4__nelements = 4; + memcpy(out->virtual_ip.u.ipv4, in, ipv4__nelements); + in += ipv4__nelements; + } + } + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_tunnel_socket_open(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgTunnelSocketOpen *out; + + nw_size = 10; + mem_size = sizeof(SpiceMsgTunnelSocketOpen); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgTunnelSocketOpen); + in = start; + + out = (SpiceMsgTunnelSocketOpen *)data; + + out->connection_id = consume_uint16(&in); + out->service_id = consume_uint32(&in); + out->tokens = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_tunnel_socket_fin(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgTunnelSocketFin *out; + + nw_size = 2; + mem_size = sizeof(SpiceMsgTunnelSocketFin); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgTunnelSocketFin); + in = start; + + out = (SpiceMsgTunnelSocketFin *)data; + + out->connection_id = consume_uint16(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_tunnel_socket_close(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgTunnelSocketClose *out; + + nw_size = 2; + mem_size = sizeof(SpiceMsgTunnelSocketClose); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgTunnelSocketClose); + in = start; + + out = (SpiceMsgTunnelSocketClose *)data; + + out->connection_id = consume_uint16(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_tunnel_socket_data(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t data__nw_size, data__mem_size; + uint32_t data__nelements; + SpiceMsgTunnelSocketData *out; + + { /* data */ + data__nelements = message_end - (start + 2); + + data__nw_size = data__nelements; + data__mem_size = sizeof(uint8_t) * data__nelements; + } + + nw_size = 2 + data__nw_size; + mem_size = sizeof(SpiceMsgTunnelSocketData) + data__mem_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgTunnelSocketData); + in = start; + + out = (SpiceMsgTunnelSocketData *)data; + + out->connection_id = consume_uint16(&in); + memcpy(out->data, in, data__nelements); + in += data__nelements; + end += data__nelements; + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_tunnel_socket_closed_ack(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgTunnelSocketClosedAck *out; + + nw_size = 2; + mem_size = sizeof(SpiceMsgTunnelSocketClosedAck); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgTunnelSocketClosedAck); + in = start; + + out = (SpiceMsgTunnelSocketClosedAck *)data; + + out->connection_id = consume_uint16(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_tunnel_socket_token(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgTunnelSocketTokens *out; + + nw_size = 6; + mem_size = sizeof(SpiceMsgTunnelSocketTokens); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgTunnelSocketTokens); + in = start; + + out = (SpiceMsgTunnelSocketTokens *)data; + + out->connection_id = consume_uint16(&in); + out->num_tokens = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_TunnelChannel_msg(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[8] = { + parse_msg_migrate, + parse_SpiceMsgData, + parse_msg_set_ack, + parse_msg_ping, + parse_msg_wait_for_channels, + parse_msg_disconnecting, + parse_msg_notify, + parse_SpiceMsgData + }; + static parse_msg_func_t funcs2[8] = { + parse_msg_tunnel_init, + parse_msg_tunnel_service_ip_map, + parse_msg_tunnel_socket_open, + parse_msg_tunnel_socket_fin, + parse_msg_tunnel_socket_close, + parse_msg_tunnel_socket_data, + parse_msg_tunnel_socket_closed_ack, + parse_msg_tunnel_socket_token + }; + if (message_type >= 1 && message_type < 9) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 101 && message_type < 109) { + return funcs2[message_type-101](message_start, message_end, minor, size_out, free_message); + } + return NULL; +} + + +#ifdef USE_SMARTCARD + +static uint8_t * parse_msg_smartcard_data(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t data__nw_size, data__mem_size; + uint32_t data__nelements; + SpiceMsgSmartcard *out; + + { /* data */ + data__nelements = message_end - (start + 12); + + data__nw_size = data__nelements; + data__mem_size = sizeof(uint8_t) * data__nelements; + } + + nw_size = 12 + data__nw_size; + mem_size = sizeof(SpiceMsgSmartcard) + data__mem_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgSmartcard); + in = start; + + out = (SpiceMsgSmartcard *)data; + + out->type = consume_uint32(&in); + out->reader_id = consume_uint32(&in); + out->length = consume_uint32(&in); + memcpy(out->data, in, data__nelements); + in += data__nelements; + end += data__nelements; + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_SmartcardChannel_msg(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[8] = { + parse_msg_migrate, + parse_SpiceMsgData, + parse_msg_set_ack, + parse_msg_ping, + parse_msg_wait_for_channels, + parse_msg_disconnecting, + parse_msg_notify, + parse_SpiceMsgData + }; + static parse_msg_func_t funcs2[1] = { + parse_msg_smartcard_data + }; + if (message_type >= 1 && message_type < 9) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 101 && message_type < 102) { + return funcs2[message_type-101](message_start, message_end, minor, size_out, free_message); + } + return NULL; +} +#endif /* USE_SMARTCARD */ + + + +static uint8_t * parse_UsbredirChannel_msg(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[8] = { + parse_msg_migrate, + parse_SpiceMsgData, + parse_msg_set_ack, + parse_msg_ping, + parse_msg_wait_for_channels, + parse_msg_disconnecting, + parse_msg_notify, + parse_SpiceMsgData + }; + static parse_msg_func_t funcs2[1] = { + parse_SpiceMsgData + }; + if (message_type >= 1 && message_type < 9) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 101 && message_type < 102) { + return funcs2[message_type-101](message_start, message_end, minor, size_out, free_message); + } + return NULL; +} + + + +static uint8_t * parse_msg_port_init(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[1]; + size_t name__extra_size; + uint32_t name__array__nelements; + SpiceMsgPortInit *out; + uint32_t i; + + { /* name */ + uint32_t name__value; + uint32_t name__array__nw_size; + uint32_t name__array__mem_size; + uint32_t name_size__value; + pos = (start + 4); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + name__value = read_uint32(pos); + if (SPICE_UNLIKELY(name__value == 0)) { + goto error; + } + if (SPICE_UNLIKELY(message_start + name__value >= message_end)) { + goto error; + } + pos = start + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + name_size__value = read_uint32(pos); + name__array__nelements = name_size__value; + + name__array__nw_size = name__array__nelements; + name__array__mem_size = sizeof(uint8_t) * name__array__nelements; + if (SPICE_UNLIKELY(message_start + name__value + name__array__nw_size > message_end)) { + goto error; + } + name__extra_size = name__array__mem_size + /* for alignment */ 3; + } + + nw_size = 9; + mem_size = sizeof(SpiceMsgPortInit) + name__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgPortInit); + in = start; + + out = (SpiceMsgPortInit *)data; + + out->name_size = consume_uint32(&in); + ptr_info[n_ptr].offset = consume_uint32(&in); + ptr_info[n_ptr].parse = parse_array_uint8; + ptr_info[n_ptr].dest = (void **)&out->name; + ptr_info[n_ptr].nelements = name__array__nelements; + n_ptr++; + out->opened = consume_uint8(&in); + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_port_event(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgPortEvent *out; + + nw_size = 1; + mem_size = sizeof(SpiceMsgPortEvent); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgPortEvent); + in = start; + + out = (SpiceMsgPortEvent *)data; + + out->event = consume_uint8(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_PortChannel_msg(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[8] = { + parse_msg_migrate, + parse_SpiceMsgData, + parse_msg_set_ack, + parse_msg_ping, + parse_msg_wait_for_channels, + parse_msg_disconnecting, + parse_msg_notify, + parse_SpiceMsgData + }; + static parse_msg_func_t funcs2[1] = { + parse_SpiceMsgData + }; + static parse_msg_func_t funcs3[2] = { + parse_msg_port_init, + parse_msg_port_event + }; + if (message_type >= 1 && message_type < 9) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 101 && message_type < 102) { + return funcs2[message_type-101](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 201 && message_type < 203) { + return funcs3[message_type-201](message_start, message_end, minor, size_out, free_message); + } + return NULL; +} + +spice_parse_channel_func_t spice_get_server_channel_parser(uint32_t channel, unsigned int *max_message_type) +{ + static struct {spice_parse_channel_func_t func; unsigned int max_messages; } channels[11] = { + { NULL, 0 }, + { parse_MainChannel_msg, 118}, + { parse_DisplayChannel_msg, 318}, + { parse_InputsChannel_msg, 111}, + { parse_CursorChannel_msg, 108}, + { parse_PlaybackChannel_msg, 106}, + { parse_RecordChannel_msg, 104}, + { parse_TunnelChannel_msg, 108}, +#ifdef USE_SMARTCARD + { parse_SmartcardChannel_msg, 101}, +#else /* USE_SMARTCARD */ + { NULL, 0 }, +#endif /* USE_SMARTCARD */ + { parse_UsbredirChannel_msg, 101}, + { parse_PortChannel_msg, 202} + }; + if (channel < 11) { + if (max_message_type != NULL) { + *max_message_type = channels[channel].max_messages; + } + return channels[channel].func; + } + return NULL; +} + +uint8_t * spice_parse_msg(uint8_t *message_start, uint8_t *message_end, uint32_t channel, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + spice_parse_channel_func_t func; + func = spice_get_server_channel_parser(channel, NULL); + if (func != NULL) { + return func(message_start, message_end, message_type, minor, size_out, free_message); + } + return NULL; +} diff --git a/tizen/distrib/remote/common/spice-common/common/generated_client_demarshallers1.c b/tizen/distrib/remote/common/spice-common/common/generated_client_demarshallers1.c new file mode 100644 index 0000000..004d55b --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/generated_client_demarshallers1.c @@ -0,0 +1,5872 @@ +/* this is a file autogenerated by spice_codegen.py */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include "messages.h" +#include <string.h> +#include <assert.h> +#include <stdlib.h> +#include <stdio.h> +#include <spice/protocol.h> +#include <spice/macros.h> +#include "mem.h" + +#ifdef _MSC_VER +#pragma warning(disable:4101) +#endif + + + +#ifdef WORDS_BIGENDIAN +#define read_int8(ptr) (*((int8_t *)(ptr))) +#define write_int8(ptr, val) *(int8_t *)(ptr) = val +#define read_uint8(ptr) (*((uint8_t *)(ptr))) +#define write_uint8(ptr, val) *(uint8_t *)(ptr) = val +#define read_int16(ptr) ((int16_t)SPICE_BYTESWAP16(*((uint16_t *)(ptr)))) +#define write_int16(ptr, val) *(uint16_t *)(ptr) = SPICE_BYTESWAP16((uint16_t)val) +#define read_uint16(ptr) ((uint16_t)SPICE_BYTESWAP16(*((uint16_t *)(ptr)))) +#define write_uint16(ptr, val) *(uint16_t *)(ptr) = SPICE_BYTESWAP16((uint16_t)val) +#define read_int32(ptr) ((int32_t)SPICE_BYTESWAP32(*((uint32_t *)(ptr)))) +#define write_int32(ptr, val) *(uint32_t *)(ptr) = SPICE_BYTESWAP32((uint32_t)val) +#define read_uint32(ptr) ((uint32_t)SPICE_BYTESWAP32(*((uint32_t *)(ptr)))) +#define write_uint32(ptr, val) *(uint32_t *)(ptr) = SPICE_BYTESWAP32((uint32_t)val) +#define read_int64(ptr) ((int64_t)SPICE_BYTESWAP64(*((uint64_t *)(ptr)))) +#define write_int64(ptr, val) *(uint64_t *)(ptr) = SPICE_BYTESWAP64((uint64_t)val) +#define read_uint64(ptr) ((uint64_t)SPICE_BYTESWAP64(*((uint64_t *)(ptr)))) +#define write_uint64(ptr, val) *(uint64_t *)(ptr) = SPICE_BYTESWAP64((uint64_t)val) +#else +#define read_int8(ptr) (*((int8_t *)(ptr))) +#define write_int8(ptr, val) (*((int8_t *)(ptr))) = val +#define read_uint8(ptr) (*((uint8_t *)(ptr))) +#define write_uint8(ptr, val) (*((uint8_t *)(ptr))) = val +#define read_int16(ptr) (*((int16_t *)(ptr))) +#define write_int16(ptr, val) (*((int16_t *)(ptr))) = val +#define read_uint16(ptr) (*((uint16_t *)(ptr))) +#define write_uint16(ptr, val) (*((uint16_t *)(ptr))) = val +#define read_int32(ptr) (*((int32_t *)(ptr))) +#define write_int32(ptr, val) (*((int32_t *)(ptr))) = val +#define read_uint32(ptr) (*((uint32_t *)(ptr))) +#define write_uint32(ptr, val) (*((uint32_t *)(ptr))) = val +#define read_int64(ptr) (*((int64_t *)(ptr))) +#define write_int64(ptr, val) (*((int64_t *)(ptr))) = val +#define read_uint64(ptr) (*((uint64_t *)(ptr))) +#define write_uint64(ptr, val) (*((uint64_t *)(ptr))) = val +#endif + +static int8_t SPICE_GNUC_UNUSED consume_int8(uint8_t **ptr) +{ + int8_t val; + val = read_int8(*ptr); + *ptr += 1; + return val; +} + +static uint8_t SPICE_GNUC_UNUSED consume_uint8(uint8_t **ptr) +{ + uint8_t val; + val = read_uint8(*ptr); + *ptr += 1; + return val; +} + +static int16_t SPICE_GNUC_UNUSED consume_int16(uint8_t **ptr) +{ + int16_t val; + val = read_int16(*ptr); + *ptr += 2; + return val; +} + +static uint16_t SPICE_GNUC_UNUSED consume_uint16(uint8_t **ptr) +{ + uint16_t val; + val = read_uint16(*ptr); + *ptr += 2; + return val; +} + +static int32_t SPICE_GNUC_UNUSED consume_int32(uint8_t **ptr) +{ + int32_t val; + val = read_int32(*ptr); + *ptr += 4; + return val; +} + +static uint32_t SPICE_GNUC_UNUSED consume_uint32(uint8_t **ptr) +{ + uint32_t val; + val = read_uint32(*ptr); + *ptr += 4; + return val; +} + +static int64_t SPICE_GNUC_UNUSED consume_int64(uint8_t **ptr) +{ + int64_t val; + val = read_int64(*ptr); + *ptr += 8; + return val; +} + +static uint64_t SPICE_GNUC_UNUSED consume_uint64(uint8_t **ptr) +{ + uint64_t val; + val = read_uint64(*ptr); + *ptr += 8; + return val; +} + +typedef struct PointerInfo PointerInfo; +typedef void (*message_destructor_t)(uint8_t *message); +typedef uint8_t * (*parse_func_t)(uint8_t *message_start, uint8_t *message_end, uint8_t *struct_data, PointerInfo *ptr_info, int minor); +typedef uint8_t * (*parse_msg_func_t)(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size_out, message_destructor_t *free_message); +typedef uint8_t * (*spice_parse_channel_func_t)(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message); + +struct PointerInfo { + uint64_t offset; + parse_func_t parse; + void * *dest; + uint32_t nelements; +}; + +static uint8_t * parse_msg_migrate(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgMigrate *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgMigrate); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgMigrate); + in = start; + + out = (SpiceMsgMigrate *)data; + + out->flags = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static void nofree(uint8_t *data) +{ +} + +static uint8_t * parse_SpiceMsgData(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t data__nw_size; + uint32_t data__nelements; + + { /* data */ + data__nelements = message_end - (start + 0); + + data__nw_size = data__nelements; + } + + nw_size = 0 + data__nw_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = message_start; + *size = message_end - message_start; + *free_message = nofree; + return data; + +} + +static uint8_t * parse_msg_set_ack(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgSetAck *out; + + nw_size = 8; + mem_size = sizeof(SpiceMsgSetAck); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgSetAck); + in = start; + + out = (SpiceMsgSetAck *)data; + + out->generation = consume_uint32(&in); + out->window = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_ping(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t data__nw_size; + uint32_t data__nelements; + SpiceMsgPing *out; + + { /* data */ + data__nelements = message_end - (start + 12); + + data__nw_size = data__nelements; + } + + nw_size = 12 + data__nw_size; + mem_size = sizeof(SpiceMsgPing); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgPing); + in = start; + + out = (SpiceMsgPing *)data; + + out->id = consume_uint32(&in); + out->timestamp = consume_uint64(&in); + /* use array as pointer */ + out->data = (uint8_t *)in; + out->data_len = data__nelements; + in += data__nelements; + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_wait_for_channels(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t wait_list__nw_size, wait_list__mem_size; + uint32_t wait_list__nelements; + SpiceMsgWaitForChannels *out; + uint32_t i; + + { /* wait_list */ + uint8_t wait_count__value; + pos = start + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + wait_count__value = read_uint8(pos); + wait_list__nelements = wait_count__value; + + wait_list__nw_size = (10) * wait_list__nelements; + wait_list__mem_size = sizeof(SpiceWaitForChannel) * wait_list__nelements; + } + + nw_size = 1 + wait_list__nw_size; + mem_size = sizeof(SpiceMsgWaitForChannels) + wait_list__mem_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgWaitForChannels); + in = start; + + out = (SpiceMsgWaitForChannels *)data; + + out->wait_count = consume_uint8(&in); + for (i = 0; i < wait_list__nelements; i++) { + SpiceWaitForChannel *out2; + out2 = (SpiceWaitForChannel *)end; + end += sizeof(SpiceWaitForChannel); + + out2->channel_type = consume_uint8(&in); + out2->channel_id = consume_uint8(&in); + out2->message_serial = consume_uint64(&in); + } + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_disconnecting(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgDisconnect *out; + + nw_size = 12; + mem_size = sizeof(SpiceMsgDisconnect); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisconnect); + in = start; + + out = (SpiceMsgDisconnect *)data; + + out->time_stamp = consume_uint64(&in); + out->reason = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_notify(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t message__nw_size, message__mem_size; + uint32_t message__nelements; + size_t zero__mem_size; + SpiceMsgNotify *out; + + { /* message */ + uint32_t message_len__value; + pos = start + 20; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + message_len__value = read_uint32(pos); + message__nelements = message_len__value; + + message__nw_size = message__nelements; + message__mem_size = sizeof(uint8_t) * message__nelements; + } + + { /* zero */ + zero__mem_size = sizeof(uint8_t); + } + + nw_size = 25 + message__nw_size; + mem_size = sizeof(SpiceMsgNotify) + message__mem_size + zero__mem_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgNotify); + in = start; + + out = (SpiceMsgNotify *)data; + + out->time_stamp = consume_uint64(&in); + out->severity = consume_uint32(&in); + out->visibilty = consume_uint32(&in); + out->what = consume_uint32(&in); + out->message_len = consume_uint32(&in); + memcpy(out->message, in, message__nelements); + in += message__nelements; + end += message__nelements; + *(uint8_t *)end = consume_uint8(&in); + end += sizeof(uint8_t); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_main_migrate_begin(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t dst_info__nw_size; + SpiceMsgMainMigrationBegin *out; + + { /* dst_info */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t host_data__nw_size; + uint32_t host_data__nelements; + size_t pub_key_data__nw_size; + uint32_t pub_key_data__nelements; + { /* host_data */ + uint32_t host_size__value; + pos = start2 + 8; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + host_size__value = read_uint32(pos); + host_data__nelements = host_size__value; + + host_data__nw_size = host_data__nelements; + } + + if (minor >= 1) { /* pub_key_data */ + uint32_t pub_key_size__value; + pos = start2 + 12 + ((minor >= 1)?6:0); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + pub_key_size__value = read_uint32(pos); + pub_key_data__nelements = pub_key_size__value; + + pub_key_data__nw_size = pub_key_data__nelements; + } else { /* minor < 1 */ + pub_key_data__nelements = 0; + pub_key_data__nw_size = 0; + } + + dst_info__nw_size = 12 + ((minor >= 1)?10:0) + host_data__nw_size + pub_key_data__nw_size; + } + + nw_size = 0 + dst_info__nw_size; + mem_size = sizeof(SpiceMsgMainMigrationBegin); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgMainMigrationBegin); + in = start; + + out = (SpiceMsgMainMigrationBegin *)data; + + /* dst_info */ { + uint32_t host_data__nelements; + uint32_t pub_key_data__nelements; + out->dst_info.port = consume_uint16(&in); + out->dst_info.sport = consume_uint16(&in); + consume_uint32(&in); + out->dst_info.host_size = consume_uint32(&in); + if (minor >= 1) { + out->dst_info.pub_key_type = consume_uint16(&in); + } else { + out->dst_info.pub_key_type = 0; + } + if (minor >= 1) { + consume_uint32(&in); + } else { + } + if (minor >= 1) { + out->dst_info.pub_key_size = consume_uint32(&in); + } else { + out->dst_info.pub_key_size = 0; + } + host_data__nelements = out->dst_info.host_size; + /* use array as pointer */ + out->dst_info.host_data = (uint8_t *)in; + in += host_data__nelements; + if (minor >= 1) { + pub_key_data__nelements = out->dst_info.pub_key_size; + /* use array as pointer */ + out->dst_info.pub_key_data = (uint8_t *)in; + in += pub_key_data__nelements; + } + } + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_SpiceMsgEmpty(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + + nw_size = 0; + mem_size = sizeof(SpiceMsgEmpty); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgEmpty); + in = start; + + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_main_init(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgMainInit *out; + + nw_size = 32; + mem_size = sizeof(SpiceMsgMainInit); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgMainInit); + in = start; + + out = (SpiceMsgMainInit *)data; + + out->session_id = consume_uint32(&in); + out->display_channels_hint = consume_uint32(&in); + out->supported_mouse_modes = consume_uint32(&in); + out->current_mouse_mode = consume_uint32(&in); + out->agent_connected = consume_uint32(&in); + out->agent_tokens = consume_uint32(&in); + out->multi_media_time = consume_uint32(&in); + out->ram_hint = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_main_channels_list(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t channels__nw_size, channels__mem_size; + uint32_t channels__nelements; + SpiceMsgChannels *out; + uint32_t i; + + { /* channels */ + uint32_t num_of_channels__value; + pos = start + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + num_of_channels__value = read_uint32(pos); + channels__nelements = num_of_channels__value; + + channels__nw_size = (2) * channels__nelements; + channels__mem_size = sizeof(SpiceChannelId) * channels__nelements; + } + + nw_size = 4 + channels__nw_size; + mem_size = sizeof(SpiceMsgChannels) + channels__mem_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgChannels); + in = start; + + out = (SpiceMsgChannels *)data; + + out->num_of_channels = consume_uint32(&in); + for (i = 0; i < channels__nelements; i++) { + SpiceChannelId *out2; + out2 = (SpiceChannelId *)end; + end += sizeof(SpiceChannelId); + + out2->type = consume_uint8(&in); + out2->id = consume_uint8(&in); + } + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_main_mouse_mode(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgMainMouseMode *out; + + nw_size = 8; + mem_size = sizeof(SpiceMsgMainMouseMode); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgMainMouseMode); + in = start; + + out = (SpiceMsgMainMouseMode *)data; + + out->supported_modes = consume_uint32(&in); + out->current_mode = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_main_multi_media_time(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgMainMultiMediaTime *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgMainMultiMediaTime); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgMainMultiMediaTime); + in = start; + + out = (SpiceMsgMainMultiMediaTime *)data; + + out->time = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_main_agent_disconnected(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgMainAgentDisconnect *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgMainAgentDisconnect); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgMainAgentDisconnect); + in = start; + + out = (SpiceMsgMainAgentDisconnect *)data; + + out->error_code = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_main_agent_token(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgMainAgentTokens *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgMainAgentTokens); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgMainAgentTokens); + in = start; + + out = (SpiceMsgMainAgentTokens *)data; + + out->num_tokens = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_main_migrate_switch_host(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t host_data__nw_size; + uint32_t host_data__nelements; + size_t cert_subject_data__nw_size; + uint32_t cert_subject_data__nelements; + SpiceMsgMainMigrationSwitchHost *out; + + { /* host_data */ + uint32_t host_size__value; + pos = start + 8; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + host_size__value = read_uint32(pos); + host_data__nelements = host_size__value; + + host_data__nw_size = host_data__nelements; + } + + { /* cert_subject_data */ + uint32_t cert_subject_size__value; + pos = start + 16; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + cert_subject_size__value = read_uint32(pos); + cert_subject_data__nelements = cert_subject_size__value; + + cert_subject_data__nw_size = cert_subject_data__nelements; + } + + nw_size = 20 + host_data__nw_size + cert_subject_data__nw_size; + mem_size = sizeof(SpiceMsgMainMigrationSwitchHost); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgMainMigrationSwitchHost); + in = start; + + out = (SpiceMsgMainMigrationSwitchHost *)data; + + out->port = consume_uint16(&in); + out->sport = consume_uint16(&in); + consume_uint32(&in); + out->host_size = consume_uint32(&in); + consume_uint32(&in); + out->cert_subject_size = consume_uint32(&in); + /* use array as pointer */ + out->host_data = (uint8_t *)in; + in += host_data__nelements; + /* use array as pointer */ + out->cert_subject_data = (uint8_t *)in; + in += cert_subject_data__nelements; + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_MainChannel_msg(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[7] = { + parse_msg_migrate, + parse_SpiceMsgData, + parse_msg_set_ack, + parse_msg_ping, + parse_msg_wait_for_channels, + parse_msg_disconnecting, + parse_msg_notify + }; + static parse_msg_func_t funcs2[11] = { + parse_msg_main_migrate_begin, + parse_SpiceMsgEmpty, + parse_msg_main_init, + parse_msg_main_channels_list, + parse_msg_main_mouse_mode, + parse_msg_main_multi_media_time, + parse_SpiceMsgEmpty, + parse_msg_main_agent_disconnected, + parse_SpiceMsgData, + parse_msg_main_agent_token, + parse_msg_main_migrate_switch_host + }; + if (message_type >= 1 && message_type < 8) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 101 && message_type < 112) { + return funcs2[message_type-101](message_start, message_end, minor, size_out, free_message); + } + return NULL; +} + + + +static uint8_t * parse_msg_display_mode(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgDisplayMode *out; + + nw_size = 12; + mem_size = sizeof(SpiceMsgDisplayMode); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayMode); + in = start; + + out = (SpiceMsgDisplayMode *)data; + + out->x_res = consume_uint32(&in); + out->y_res = consume_uint32(&in); + out->bits = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static intptr_t validate_SpiceClipRects(uint8_t *message_start, uint8_t *message_end, uint64_t offset, int minor) +{ + uint8_t *start = message_start + offset; + SPICE_GNUC_UNUSED uint8_t *pos; + size_t mem_size, nw_size; + size_t rects__nw_size, rects__mem_size; + uint32_t rects__nelements; + + if (offset == 0) { + return 0; + } + + if (SPICE_UNLIKELY(start >= message_end)) { + goto error; + } + + { /* rects */ + uint32_t num_rects__value; + pos = start + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + num_rects__value = read_uint32(pos); + rects__nelements = num_rects__value; + + rects__nw_size = (16) * rects__nelements; + rects__mem_size = sizeof(SpiceRect) * rects__nelements; + } + + nw_size = 4 + rects__nw_size; + mem_size = sizeof(SpiceClipRects) + rects__mem_size; + + /* Check if struct fits in reported side */ + if (SPICE_UNLIKELY(start + nw_size > message_end)) { + goto error; + } + return mem_size; + + error: + return -1; +} + +static uint8_t * parse_struct_SpiceClipRects(uint8_t *message_start, uint8_t *message_end, uint8_t *struct_data, PointerInfo *this_ptr_info, int minor) +{ + uint8_t *in = message_start + this_ptr_info->offset; + uint8_t *end; + SpiceClipRects *out; + uint32_t rects__nelements; + uint32_t i; + + end = struct_data + sizeof(SpiceClipRects); + out = (SpiceClipRects *)struct_data; + + out->num_rects = consume_uint32(&in); + rects__nelements = out->num_rects; + for (i = 0; i < rects__nelements; i++) { + SpiceRect *out2; + out2 = (SpiceRect *)end; + end += sizeof(SpiceRect); + + out2->top = consume_int32(&in); + out2->left = consume_int32(&in); + out2->bottom = consume_int32(&in); + out2->right = consume_int32(&in); + } + return end; +} + +static uint8_t * parse_msg_display_copy_bits(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[1]; + size_t base__extra_size; + SpiceMsgDisplayCopyBits *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 16); + size_t u__extra_size; + uint32_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + type__value = read_uint32(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + uint64_t u_rects__value; + pos = (start3 + 4); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + u_rects__value = read_uint64(pos); + ptr_size = validate_SpiceClipRects(message_start, message_end, u_rects__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + u__extra_size = ptr_size + /* for alignment */ 3; + } else if (1) { + u__extra_size = 0; + } else { + u__extra_size = 0; + } + + } + + clip__extra_size = u__extra_size; + } + + base__extra_size = clip__extra_size; + } + + nw_size = 36; + mem_size = sizeof(SpiceMsgDisplayCopyBits) + base__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayCopyBits); + in = start; + + out = (SpiceMsgDisplayCopyBits *)data; + + /* base */ { + out->base.surface_id = 0; + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint32(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + } else if (1) { + consume_uint64(&in); + } + } + } + /* src_pos */ { + out->src_pos.x = consume_int32(&in); + out->src_pos.y = consume_int32(&in); + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_inval_list(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t resources__nw_size, resources__mem_size; + uint32_t resources__nelements; + SpiceResourceList *out; + uint32_t i; + + { /* resources */ + uint16_t count__value; + pos = start + 0; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + count__value = read_uint16(pos); + resources__nelements = count__value; + + resources__nw_size = (9) * resources__nelements; + resources__mem_size = sizeof(SpiceResourceID) * resources__nelements; + } + + nw_size = 2 + resources__nw_size; + mem_size = sizeof(SpiceResourceList) + resources__mem_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceResourceList); + in = start; + + out = (SpiceResourceList *)data; + + out->count = consume_uint16(&in); + for (i = 0; i < resources__nelements; i++) { + SpiceResourceID *out2; + out2 = (SpiceResourceID *)end; + end += sizeof(SpiceResourceID); + + out2->type = consume_uint8(&in); + out2->id = consume_uint64(&in); + } + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_inval_all_pixmaps(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t wait_list__nw_size, wait_list__mem_size; + uint32_t wait_list__nelements; + SpiceMsgWaitForChannels *out; + uint32_t i; + + { /* wait_list */ + uint8_t wait_count__value; + pos = start + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + wait_count__value = read_uint8(pos); + wait_list__nelements = wait_count__value; + + wait_list__nw_size = (10) * wait_list__nelements; + wait_list__mem_size = sizeof(SpiceWaitForChannel) * wait_list__nelements; + } + + nw_size = 1 + wait_list__nw_size; + mem_size = sizeof(SpiceMsgWaitForChannels) + wait_list__mem_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgWaitForChannels); + in = start; + + out = (SpiceMsgWaitForChannels *)data; + + out->wait_count = consume_uint8(&in); + for (i = 0; i < wait_list__nelements; i++) { + SpiceWaitForChannel *out2; + out2 = (SpiceWaitForChannel *)end; + end += sizeof(SpiceWaitForChannel); + + out2->channel_type = consume_uint8(&in); + out2->channel_id = consume_uint8(&in); + out2->message_serial = consume_uint64(&in); + } + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_inval_palette(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgDisplayInvalOne *out; + + nw_size = 8; + mem_size = sizeof(SpiceMsgDisplayInvalOne); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayInvalOne); + in = start; + + out = (SpiceMsgDisplayInvalOne *)data; + + out->id = consume_uint64(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_stream_create(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[1]; + size_t clip__extra_size; + SpiceMsgDisplayStreamCreate *out; + uint32_t i; + + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 52); + size_t u__extra_size; + uint32_t type__value; + { /* u */ + pos = start2 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + type__value = read_uint32(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + uint64_t u_rects__value; + pos = (start2 + 4); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + u_rects__value = read_uint64(pos); + ptr_size = validate_SpiceClipRects(message_start, message_end, u_rects__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + u__extra_size = ptr_size + /* for alignment */ 3; + } else if (1) { + u__extra_size = 0; + } else { + u__extra_size = 0; + } + + } + + clip__extra_size = u__extra_size; + } + + nw_size = 64; + mem_size = sizeof(SpiceMsgDisplayStreamCreate) + clip__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayStreamCreate); + in = start; + + out = (SpiceMsgDisplayStreamCreate *)data; + + out->surface_id = 0; + out->id = consume_uint32(&in); + out->flags = consume_uint32(&in); + out->codec_type = consume_uint32(&in); + out->stamp = consume_uint64(&in); + out->stream_width = consume_uint32(&in); + out->stream_height = consume_uint32(&in); + out->src_width = consume_uint32(&in); + out->src_height = consume_uint32(&in); + /* dest */ { + out->dest.top = consume_int32(&in); + out->dest.left = consume_int32(&in); + out->dest.bottom = consume_int32(&in); + out->dest.right = consume_int32(&in); + } + /* clip */ { + out->clip.type = consume_uint32(&in); + if (out->clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->clip.rects; + n_ptr++; + } else if (1) { + consume_uint64(&in); + } + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_stream_data(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t data__nw_size, data__mem_size; + uint32_t data__nelements; + SpiceMsgDisplayStreamData *out; + + { /* data */ + uint32_t data_size__value; + pos = start + 8; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + data_size__value = read_uint32(pos); + data__nelements = data_size__value; + + data__nw_size = data__nelements; + data__mem_size = sizeof(uint8_t) * data__nelements; + } + + nw_size = 16 + data__nw_size; + mem_size = sizeof(SpiceMsgDisplayStreamData) + data__mem_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayStreamData); + in = start; + + out = (SpiceMsgDisplayStreamData *)data; + + /* base */ { + out->base.id = consume_uint32(&in); + out->base.multi_media_time = consume_uint32(&in); + } + out->data_size = consume_uint32(&in); + consume_uint32(&in); + memcpy(out->data, in, data__nelements); + in += data__nelements; + end += data__nelements; + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_stream_clip(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[1]; + size_t clip__extra_size; + SpiceMsgDisplayStreamClip *out; + uint32_t i; + + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 4); + size_t u__extra_size; + uint32_t type__value; + { /* u */ + pos = start2 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + type__value = read_uint32(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + uint64_t u_rects__value; + pos = (start2 + 4); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + u_rects__value = read_uint64(pos); + ptr_size = validate_SpiceClipRects(message_start, message_end, u_rects__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + u__extra_size = ptr_size + /* for alignment */ 3; + } else if (1) { + u__extra_size = 0; + } else { + u__extra_size = 0; + } + + } + + clip__extra_size = u__extra_size; + } + + nw_size = 16; + mem_size = sizeof(SpiceMsgDisplayStreamClip) + clip__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayStreamClip); + in = start; + + out = (SpiceMsgDisplayStreamClip *)data; + + out->id = consume_uint32(&in); + /* clip */ { + out->clip.type = consume_uint32(&in); + if (out->clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->clip.rects; + n_ptr++; + } else if (1) { + consume_uint64(&in); + } + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_stream_destroy(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgDisplayStreamDestroy *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgDisplayStreamDestroy); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayStreamDestroy); + in = start; + + out = (SpiceMsgDisplayStreamDestroy *)data; + + out->id = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static intptr_t validate_SpicePalette(uint8_t *message_start, uint8_t *message_end, uint64_t offset, int minor) +{ + uint8_t *start = message_start + offset; + SPICE_GNUC_UNUSED uint8_t *pos; + size_t mem_size, nw_size; + size_t ents__nw_size, ents__mem_size; + uint32_t ents__nelements; + + if (offset == 0) { + return 0; + } + + if (SPICE_UNLIKELY(start >= message_end)) { + goto error; + } + + { /* ents */ + uint16_t num_ents__value; + pos = start + 8; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + num_ents__value = read_uint16(pos); + ents__nelements = num_ents__value; + + ents__nw_size = (4) * ents__nelements; + ents__mem_size = sizeof(uint32_t) * ents__nelements; + } + + nw_size = 10 + ents__nw_size; + mem_size = sizeof(SpicePalette) + ents__mem_size; + + /* Check if struct fits in reported side */ + if (SPICE_UNLIKELY(start + nw_size > message_end)) { + goto error; + } + return mem_size; + + error: + return -1; +} + +static intptr_t validate_SpiceImage(uint8_t *message_start, uint8_t *message_end, uint64_t offset, int minor) +{ + uint8_t *start = message_start + offset; + SPICE_GNUC_UNUSED uint8_t *pos; + size_t mem_size, nw_size; + SPICE_GNUC_UNUSED intptr_t ptr_size; + size_t u__nw_size, u__extra_size; + uint8_t descriptor_type__value; + + if (offset == 0) { + return 0; + } + + if (SPICE_UNLIKELY(start >= message_end)) { + goto error; + } + + { /* u */ + pos = start + 8; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + descriptor_type__value = read_uint8(pos); + if (descriptor_type__value == SPICE_IMAGE_TYPE_BITMAP) { + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 18); + size_t pal__extra_size; + uint8_t flags__value; + size_t data__extra_size; + uint32_t data__array__nelements; + { /* pal */ + pos = start2 + 1; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + flags__value = read_uint8(pos); + if ((flags__value & SPICE_BITMAP_FLAGS_PAL_FROM_CACHE)) { + pal__extra_size = 0; + } else if (1) { + uint64_t pal_palette__value; + pos = (start2 + 14); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + pal_palette__value = read_uint64(pos); + ptr_size = validate_SpicePalette(message_start, message_end, pal_palette__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + pal__extra_size = ptr_size + /* for alignment */ 3; + } else { + pal__extra_size = 0; + } + + } + + { /* data */ + uint64_t data__value; + uint32_t data__array__nw_size; + uint32_t stride__value; + uint32_t y__value; + pos = (start2 + 22); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + data__value = read_uint64(pos); + if (SPICE_UNLIKELY(message_start + data__value >= message_end)) { + goto error; + } + pos = start2 + 10; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + stride__value = read_uint32(pos); + pos = start2 + 6; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + y__value = read_uint32(pos); + data__array__nelements = stride__value * y__value; + + data__array__nw_size = data__array__nelements; + if (SPICE_UNLIKELY(message_start + data__value + data__array__nw_size > message_end)) { + goto error; + } + data__extra_size = sizeof(SpiceChunks) + sizeof(SpiceChunk); + } + + u__nw_size = 30; + u__extra_size = pal__extra_size + data__extra_size; + } else if (descriptor_type__value == SPICE_IMAGE_TYPE_QUIC) { + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 18); + size_t data__nw_size, data__extra_size; + uint32_t data__nelements; + { /* data */ + uint32_t data_size__value; + pos = start2 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + data_size__value = read_uint32(pos); + data__nelements = data_size__value; + + data__nw_size = data__nelements; + data__extra_size = sizeof(SpiceChunks) + sizeof(SpiceChunk); + } + + u__nw_size = 4 + data__nw_size; + u__extra_size = data__extra_size; + } else if (descriptor_type__value == SPICE_IMAGE_TYPE_LZ_RGB || descriptor_type__value == SPICE_IMAGE_TYPE_GLZ_RGB) { + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 18); + size_t data__nw_size, data__extra_size; + uint32_t data__nelements; + { /* data */ + uint32_t data_size__value; + pos = start2 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + data_size__value = read_uint32(pos); + data__nelements = data_size__value; + + data__nw_size = data__nelements; + data__extra_size = sizeof(SpiceChunks) + sizeof(SpiceChunk); + } + + u__nw_size = 4 + data__nw_size; + u__extra_size = data__extra_size; + } else if (descriptor_type__value == SPICE_IMAGE_TYPE_LZ_PLT) { + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 18); + size_t pal__extra_size; + uint8_t flags__value; + size_t data__nw_size, data__extra_size; + uint32_t data__nelements; + { /* pal */ + pos = start2 + 0; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + flags__value = read_uint8(pos); + if ((flags__value & SPICE_BITMAP_FLAGS_PAL_FROM_CACHE)) { + pal__extra_size = 0; + } else if (1) { + uint64_t pal_palette__value; + pos = (start2 + 5); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + pal_palette__value = read_uint64(pos); + if (SPICE_UNLIKELY(pal_palette__value == 0)) { + goto error; + } + ptr_size = validate_SpicePalette(message_start, message_end, pal_palette__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + pal__extra_size = ptr_size + /* for alignment */ 3; + } else { + pal__extra_size = 0; + } + + } + + { /* data */ + uint32_t data_size__value; + pos = start2 + 1; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + data_size__value = read_uint32(pos); + data__nelements = data_size__value; + + data__nw_size = data__nelements; + data__extra_size = sizeof(SpiceChunks) + sizeof(SpiceChunk); + } + + u__nw_size = 13 + data__nw_size; + u__extra_size = pal__extra_size + data__extra_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + nw_size = 18 + u__nw_size; + mem_size = sizeof(SpiceImage) + u__extra_size; + + /* Check if struct fits in reported side */ + if (SPICE_UNLIKELY(start + nw_size > message_end)) { + goto error; + } + return mem_size; + + error: + return -1; +} + +static uint8_t * parse_struct_SpicePalette(uint8_t *message_start, uint8_t *message_end, uint8_t *struct_data, PointerInfo *this_ptr_info, int minor) +{ + uint8_t *in = message_start + this_ptr_info->offset; + uint8_t *end; + SpicePalette *out; + uint32_t ents__nelements; + uint32_t i; + + end = struct_data + sizeof(SpicePalette); + out = (SpicePalette *)struct_data; + + out->unique = consume_uint64(&in); + out->num_ents = consume_uint16(&in); + ents__nelements = out->num_ents; + for (i = 0; i < ents__nelements; i++) { + out->ents[i] = consume_uint32(&in); + end += sizeof(uint32_t); + } + return end; +} + +static uint8_t * parse_struct_SpiceImage(uint8_t *message_start, uint8_t *message_end, uint8_t *struct_data, PointerInfo *this_ptr_info, int minor) +{ + uint8_t *in = message_start + this_ptr_info->offset; + uint8_t *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[2]; + SpiceImage *out; + uint32_t i; + + end = struct_data + sizeof(SpiceImage); + out = (SpiceImage *)struct_data; + + /* descriptor */ { + out->descriptor.id = consume_uint64(&in); + out->descriptor.type = consume_uint8(&in); + out->descriptor.flags = consume_uint8(&in); + out->descriptor.width = consume_uint32(&in); + out->descriptor.height = consume_uint32(&in); + } + if (out->descriptor.type == SPICE_IMAGE_TYPE_BITMAP) { + uint32_t data__array__nelements; + SpiceChunks *chunks; + out->u.bitmap.format = consume_uint8(&in); + out->u.bitmap.flags = consume_uint8(&in); + out->u.bitmap.x = consume_uint32(&in); + out->u.bitmap.y = consume_uint32(&in); + out->u.bitmap.stride = consume_uint32(&in); + if ((out->u.bitmap.flags & SPICE_BITMAP_FLAGS_PAL_FROM_CACHE)) { + out->u.bitmap.palette_id = consume_uint64(&in); + } else if (1) { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpicePalette; + ptr_info[n_ptr].dest = (void **)&out->u.bitmap.palette; + n_ptr++; + } + data__array__nelements = out->u.bitmap.stride * out->u.bitmap.y; + /* Reuse data from network message as chunk */ + chunks = (SpiceChunks *)end; + end += sizeof(SpiceChunks) + sizeof(SpiceChunk); + out->u.bitmap.data = chunks; + chunks->data_size = data__array__nelements; + chunks->flags = 0; + chunks->num_chunks = 1; + chunks->chunk[0].len = data__array__nelements; + chunks->chunk[0].data = message_start + consume_uint64(&in); + } else if (out->descriptor.type == SPICE_IMAGE_TYPE_QUIC) { + uint32_t data__nelements; + SpiceChunks *chunks; + out->u.quic.data_size = consume_uint32(&in); + data__nelements = out->u.quic.data_size; + /* use array as chunk */ + chunks = (SpiceChunks *)end; + end += sizeof(SpiceChunks) + sizeof(SpiceChunk); + out->u.quic.data = chunks; + chunks->data_size = data__nelements; + chunks->flags = 0; + chunks->num_chunks = 1; + chunks->chunk[0].len = data__nelements; + chunks->chunk[0].data = in; + in += data__nelements; + } else if (out->descriptor.type == SPICE_IMAGE_TYPE_LZ_RGB || out->descriptor.type == SPICE_IMAGE_TYPE_GLZ_RGB) { + uint32_t data__nelements; + SpiceChunks *chunks; + out->u.lz_rgb.data_size = consume_uint32(&in); + data__nelements = out->u.lz_rgb.data_size; + /* use array as chunk */ + chunks = (SpiceChunks *)end; + end += sizeof(SpiceChunks) + sizeof(SpiceChunk); + out->u.lz_rgb.data = chunks; + chunks->data_size = data__nelements; + chunks->flags = 0; + chunks->num_chunks = 1; + chunks->chunk[0].len = data__nelements; + chunks->chunk[0].data = in; + in += data__nelements; + } else if (out->descriptor.type == SPICE_IMAGE_TYPE_LZ_PLT) { + uint32_t data__nelements; + SpiceChunks *chunks; + out->u.lz_plt.flags = consume_uint8(&in); + out->u.lz_plt.data_size = consume_uint32(&in); + if ((out->u.lz_plt.flags & SPICE_BITMAP_FLAGS_PAL_FROM_CACHE)) { + out->u.lz_plt.palette_id = consume_uint64(&in); + } else if (1) { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpicePalette; + ptr_info[n_ptr].dest = (void **)&out->u.lz_plt.palette; + n_ptr++; + } + data__nelements = out->u.lz_plt.data_size; + /* use array as chunk */ + chunks = (SpiceChunks *)end; + end += sizeof(SpiceChunks) + sizeof(SpiceChunk); + out->u.lz_plt.data = chunks; + chunks->data_size = data__nelements; + chunks->flags = 0; + chunks->num_chunks = 1; + chunks->chunk[0].len = data__nelements; + chunks->chunk[0].data = in; + in += data__nelements; + } + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + return end; + + error: + return NULL; +} + +static uint8_t * parse_msg_display_draw_fill(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[3]; + size_t base__extra_size; + size_t data__extra_size; + SpiceMsgDisplayDrawFill *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 16); + size_t u__extra_size; + uint32_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + type__value = read_uint32(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + uint64_t u_rects__value; + pos = (start3 + 4); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + u_rects__value = read_uint64(pos); + ptr_size = validate_SpiceClipRects(message_start, message_end, u_rects__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + u__extra_size = ptr_size + /* for alignment */ 3; + } else if (1) { + u__extra_size = 0; + } else { + u__extra_size = 0; + } + + } + + clip__extra_size = u__extra_size; + } + + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 28); + size_t brush__extra_size; + size_t mask__extra_size; + { /* brush */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 0); + size_t u__extra_size; + uint32_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + type__value = read_uint32(pos); + if (type__value == SPICE_BRUSH_TYPE_SOLID) { + u__extra_size = 0; + } else if (type__value == SPICE_BRUSH_TYPE_PATTERN) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 4); + size_t pat__extra_size; + { /* pat */ + uint64_t pat__value; + pos = (start4 + 0); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + pat__value = read_uint64(pos); + if (SPICE_UNLIKELY(pat__value == 0)) { + goto error; + } + ptr_size = validate_SpiceImage(message_start, message_end, pat__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + pat__extra_size = ptr_size + /* for alignment */ 3; + } + + u__extra_size = pat__extra_size; + } else { + u__extra_size = 0; + } + + } + + brush__extra_size = u__extra_size; + } + + { /* mask */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 22); + size_t bitmap__extra_size; + { /* bitmap */ + uint64_t bitmap__value; + pos = (start3 + 9); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + bitmap__value = read_uint64(pos); + ptr_size = validate_SpiceImage(message_start, message_end, bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + mask__extra_size = bitmap__extra_size; + } + + data__extra_size = brush__extra_size + mask__extra_size; + } + + nw_size = 67; + mem_size = sizeof(SpiceMsgDisplayDrawFill) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawFill); + in = start; + + out = (SpiceMsgDisplayDrawFill *)data; + + /* base */ { + out->base.surface_id = 0; + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint32(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + } else if (1) { + consume_uint64(&in); + } + } + } + /* data */ { + /* brush */ { + uint8_t *in_save; + out->data.brush.type = consume_uint32(&in); + in_save = in; + if (out->data.brush.type == SPICE_BRUSH_TYPE_SOLID) { + out->data.brush.u.color = consume_uint32(&in); + } else if (out->data.brush.type == SPICE_BRUSH_TYPE_PATTERN) { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.brush.u.pattern.pat; + n_ptr++; + /* pos */ { + out->data.brush.u.pattern.pos.x = consume_int32(&in); + out->data.brush.u.pattern.pos.y = consume_int32(&in); + } + } + in = in_save + 16; + } + out->data.rop_descriptor = consume_uint16(&in); + /* mask */ { + out->data.mask.flags = consume_uint8(&in); + /* pos */ { + out->data.mask.pos.x = consume_int32(&in); + out->data.mask.pos.y = consume_int32(&in); + } + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.mask.bitmap; + n_ptr++; + } + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_draw_opaque(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[4]; + size_t base__extra_size; + size_t data__extra_size; + SpiceMsgDisplayDrawOpaque *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 16); + size_t u__extra_size; + uint32_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + type__value = read_uint32(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + uint64_t u_rects__value; + pos = (start3 + 4); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + u_rects__value = read_uint64(pos); + ptr_size = validate_SpiceClipRects(message_start, message_end, u_rects__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + u__extra_size = ptr_size + /* for alignment */ 3; + } else if (1) { + u__extra_size = 0; + } else { + u__extra_size = 0; + } + + } + + clip__extra_size = u__extra_size; + } + + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 28); + size_t src_bitmap__extra_size; + size_t brush__extra_size; + size_t mask__extra_size; + { /* src_bitmap */ + uint64_t src_bitmap__value; + pos = (start2 + 0); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + src_bitmap__value = read_uint64(pos); + ptr_size = validate_SpiceImage(message_start, message_end, src_bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + src_bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + { /* brush */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 24); + size_t u__extra_size; + uint32_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + type__value = read_uint32(pos); + if (type__value == SPICE_BRUSH_TYPE_SOLID) { + u__extra_size = 0; + } else if (type__value == SPICE_BRUSH_TYPE_PATTERN) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 4); + size_t pat__extra_size; + { /* pat */ + uint64_t pat__value; + pos = (start4 + 0); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + pat__value = read_uint64(pos); + if (SPICE_UNLIKELY(pat__value == 0)) { + goto error; + } + ptr_size = validate_SpiceImage(message_start, message_end, pat__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + pat__extra_size = ptr_size + /* for alignment */ 3; + } + + u__extra_size = pat__extra_size; + } else { + u__extra_size = 0; + } + + } + + brush__extra_size = u__extra_size; + } + + { /* mask */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 47); + size_t bitmap__extra_size; + { /* bitmap */ + uint64_t bitmap__value; + pos = (start3 + 9); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + bitmap__value = read_uint64(pos); + ptr_size = validate_SpiceImage(message_start, message_end, bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + mask__extra_size = bitmap__extra_size; + } + + data__extra_size = src_bitmap__extra_size + brush__extra_size + mask__extra_size; + } + + nw_size = 92; + mem_size = sizeof(SpiceMsgDisplayDrawOpaque) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawOpaque); + in = start; + + out = (SpiceMsgDisplayDrawOpaque *)data; + + /* base */ { + out->base.surface_id = 0; + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint32(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + } else if (1) { + consume_uint64(&in); + } + } + } + /* data */ { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.src_bitmap; + n_ptr++; + /* src_area */ { + out->data.src_area.top = consume_int32(&in); + out->data.src_area.left = consume_int32(&in); + out->data.src_area.bottom = consume_int32(&in); + out->data.src_area.right = consume_int32(&in); + } + /* brush */ { + uint8_t *in_save; + out->data.brush.type = consume_uint32(&in); + in_save = in; + if (out->data.brush.type == SPICE_BRUSH_TYPE_SOLID) { + out->data.brush.u.color = consume_uint32(&in); + } else if (out->data.brush.type == SPICE_BRUSH_TYPE_PATTERN) { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.brush.u.pattern.pat; + n_ptr++; + /* pos */ { + out->data.brush.u.pattern.pos.x = consume_int32(&in); + out->data.brush.u.pattern.pos.y = consume_int32(&in); + } + } + in = in_save + 16; + } + out->data.rop_descriptor = consume_uint16(&in); + out->data.scale_mode = consume_uint8(&in); + /* mask */ { + out->data.mask.flags = consume_uint8(&in); + /* pos */ { + out->data.mask.pos.x = consume_int32(&in); + out->data.mask.pos.y = consume_int32(&in); + } + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.mask.bitmap; + n_ptr++; + } + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_draw_copy(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[3]; + size_t base__extra_size; + size_t data__extra_size; + SpiceMsgDisplayDrawCopy *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 16); + size_t u__extra_size; + uint32_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + type__value = read_uint32(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + uint64_t u_rects__value; + pos = (start3 + 4); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + u_rects__value = read_uint64(pos); + ptr_size = validate_SpiceClipRects(message_start, message_end, u_rects__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + u__extra_size = ptr_size + /* for alignment */ 3; + } else if (1) { + u__extra_size = 0; + } else { + u__extra_size = 0; + } + + } + + clip__extra_size = u__extra_size; + } + + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 28); + size_t src_bitmap__extra_size; + size_t mask__extra_size; + { /* src_bitmap */ + uint64_t src_bitmap__value; + pos = (start2 + 0); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + src_bitmap__value = read_uint64(pos); + ptr_size = validate_SpiceImage(message_start, message_end, src_bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + src_bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + { /* mask */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 27); + size_t bitmap__extra_size; + { /* bitmap */ + uint64_t bitmap__value; + pos = (start3 + 9); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + bitmap__value = read_uint64(pos); + ptr_size = validate_SpiceImage(message_start, message_end, bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + mask__extra_size = bitmap__extra_size; + } + + data__extra_size = src_bitmap__extra_size + mask__extra_size; + } + + nw_size = 72; + mem_size = sizeof(SpiceMsgDisplayDrawCopy) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawCopy); + in = start; + + out = (SpiceMsgDisplayDrawCopy *)data; + + /* base */ { + out->base.surface_id = 0; + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint32(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + } else if (1) { + consume_uint64(&in); + } + } + } + /* data */ { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.src_bitmap; + n_ptr++; + /* src_area */ { + out->data.src_area.top = consume_int32(&in); + out->data.src_area.left = consume_int32(&in); + out->data.src_area.bottom = consume_int32(&in); + out->data.src_area.right = consume_int32(&in); + } + out->data.rop_descriptor = consume_uint16(&in); + out->data.scale_mode = consume_uint8(&in); + /* mask */ { + out->data.mask.flags = consume_uint8(&in); + /* pos */ { + out->data.mask.pos.x = consume_int32(&in); + out->data.mask.pos.y = consume_int32(&in); + } + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.mask.bitmap; + n_ptr++; + } + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_draw_blend(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[3]; + size_t base__extra_size; + size_t data__extra_size; + SpiceMsgDisplayDrawBlend *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 16); + size_t u__extra_size; + uint32_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + type__value = read_uint32(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + uint64_t u_rects__value; + pos = (start3 + 4); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + u_rects__value = read_uint64(pos); + ptr_size = validate_SpiceClipRects(message_start, message_end, u_rects__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + u__extra_size = ptr_size + /* for alignment */ 3; + } else if (1) { + u__extra_size = 0; + } else { + u__extra_size = 0; + } + + } + + clip__extra_size = u__extra_size; + } + + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 28); + size_t src_bitmap__extra_size; + size_t mask__extra_size; + { /* src_bitmap */ + uint64_t src_bitmap__value; + pos = (start2 + 0); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + src_bitmap__value = read_uint64(pos); + ptr_size = validate_SpiceImage(message_start, message_end, src_bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + src_bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + { /* mask */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 27); + size_t bitmap__extra_size; + { /* bitmap */ + uint64_t bitmap__value; + pos = (start3 + 9); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + bitmap__value = read_uint64(pos); + ptr_size = validate_SpiceImage(message_start, message_end, bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + mask__extra_size = bitmap__extra_size; + } + + data__extra_size = src_bitmap__extra_size + mask__extra_size; + } + + nw_size = 72; + mem_size = sizeof(SpiceMsgDisplayDrawBlend) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawBlend); + in = start; + + out = (SpiceMsgDisplayDrawBlend *)data; + + /* base */ { + out->base.surface_id = 0; + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint32(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + } else if (1) { + consume_uint64(&in); + } + } + } + /* data */ { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.src_bitmap; + n_ptr++; + /* src_area */ { + out->data.src_area.top = consume_int32(&in); + out->data.src_area.left = consume_int32(&in); + out->data.src_area.bottom = consume_int32(&in); + out->data.src_area.right = consume_int32(&in); + } + out->data.rop_descriptor = consume_uint16(&in); + out->data.scale_mode = consume_uint8(&in); + /* mask */ { + out->data.mask.flags = consume_uint8(&in); + /* pos */ { + out->data.mask.pos.x = consume_int32(&in); + out->data.mask.pos.y = consume_int32(&in); + } + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.mask.bitmap; + n_ptr++; + } + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_draw_blackness(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[2]; + size_t base__extra_size; + size_t data__extra_size; + SpiceMsgDisplayDrawBlackness *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 16); + size_t u__extra_size; + uint32_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + type__value = read_uint32(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + uint64_t u_rects__value; + pos = (start3 + 4); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + u_rects__value = read_uint64(pos); + ptr_size = validate_SpiceClipRects(message_start, message_end, u_rects__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + u__extra_size = ptr_size + /* for alignment */ 3; + } else if (1) { + u__extra_size = 0; + } else { + u__extra_size = 0; + } + + } + + clip__extra_size = u__extra_size; + } + + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 28); + size_t mask__extra_size; + { /* mask */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 0); + size_t bitmap__extra_size; + { /* bitmap */ + uint64_t bitmap__value; + pos = (start3 + 9); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + bitmap__value = read_uint64(pos); + ptr_size = validate_SpiceImage(message_start, message_end, bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + mask__extra_size = bitmap__extra_size; + } + + data__extra_size = mask__extra_size; + } + + nw_size = 45; + mem_size = sizeof(SpiceMsgDisplayDrawBlackness) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawBlackness); + in = start; + + out = (SpiceMsgDisplayDrawBlackness *)data; + + /* base */ { + out->base.surface_id = 0; + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint32(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + } else if (1) { + consume_uint64(&in); + } + } + } + /* data */ { + /* mask */ { + out->data.mask.flags = consume_uint8(&in); + /* pos */ { + out->data.mask.pos.x = consume_int32(&in); + out->data.mask.pos.y = consume_int32(&in); + } + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.mask.bitmap; + n_ptr++; + } + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_draw_whiteness(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[2]; + size_t base__extra_size; + size_t data__extra_size; + SpiceMsgDisplayDrawWhiteness *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 16); + size_t u__extra_size; + uint32_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + type__value = read_uint32(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + uint64_t u_rects__value; + pos = (start3 + 4); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + u_rects__value = read_uint64(pos); + ptr_size = validate_SpiceClipRects(message_start, message_end, u_rects__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + u__extra_size = ptr_size + /* for alignment */ 3; + } else if (1) { + u__extra_size = 0; + } else { + u__extra_size = 0; + } + + } + + clip__extra_size = u__extra_size; + } + + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 28); + size_t mask__extra_size; + { /* mask */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 0); + size_t bitmap__extra_size; + { /* bitmap */ + uint64_t bitmap__value; + pos = (start3 + 9); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + bitmap__value = read_uint64(pos); + ptr_size = validate_SpiceImage(message_start, message_end, bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + mask__extra_size = bitmap__extra_size; + } + + data__extra_size = mask__extra_size; + } + + nw_size = 45; + mem_size = sizeof(SpiceMsgDisplayDrawWhiteness) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawWhiteness); + in = start; + + out = (SpiceMsgDisplayDrawWhiteness *)data; + + /* base */ { + out->base.surface_id = 0; + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint32(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + } else if (1) { + consume_uint64(&in); + } + } + } + /* data */ { + /* mask */ { + out->data.mask.flags = consume_uint8(&in); + /* pos */ { + out->data.mask.pos.x = consume_int32(&in); + out->data.mask.pos.y = consume_int32(&in); + } + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.mask.bitmap; + n_ptr++; + } + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_draw_invers(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[2]; + size_t base__extra_size; + size_t data__extra_size; + SpiceMsgDisplayDrawInvers *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 16); + size_t u__extra_size; + uint32_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + type__value = read_uint32(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + uint64_t u_rects__value; + pos = (start3 + 4); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + u_rects__value = read_uint64(pos); + ptr_size = validate_SpiceClipRects(message_start, message_end, u_rects__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + u__extra_size = ptr_size + /* for alignment */ 3; + } else if (1) { + u__extra_size = 0; + } else { + u__extra_size = 0; + } + + } + + clip__extra_size = u__extra_size; + } + + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 28); + size_t mask__extra_size; + { /* mask */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 0); + size_t bitmap__extra_size; + { /* bitmap */ + uint64_t bitmap__value; + pos = (start3 + 9); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + bitmap__value = read_uint64(pos); + ptr_size = validate_SpiceImage(message_start, message_end, bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + mask__extra_size = bitmap__extra_size; + } + + data__extra_size = mask__extra_size; + } + + nw_size = 45; + mem_size = sizeof(SpiceMsgDisplayDrawInvers) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawInvers); + in = start; + + out = (SpiceMsgDisplayDrawInvers *)data; + + /* base */ { + out->base.surface_id = 0; + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint32(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + } else if (1) { + consume_uint64(&in); + } + } + } + /* data */ { + /* mask */ { + out->data.mask.flags = consume_uint8(&in); + /* pos */ { + out->data.mask.pos.x = consume_int32(&in); + out->data.mask.pos.y = consume_int32(&in); + } + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.mask.bitmap; + n_ptr++; + } + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_draw_rop3(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[4]; + size_t base__extra_size; + size_t data__extra_size; + SpiceMsgDisplayDrawRop3 *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 16); + size_t u__extra_size; + uint32_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + type__value = read_uint32(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + uint64_t u_rects__value; + pos = (start3 + 4); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + u_rects__value = read_uint64(pos); + ptr_size = validate_SpiceClipRects(message_start, message_end, u_rects__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + u__extra_size = ptr_size + /* for alignment */ 3; + } else if (1) { + u__extra_size = 0; + } else { + u__extra_size = 0; + } + + } + + clip__extra_size = u__extra_size; + } + + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 28); + size_t src_bitmap__extra_size; + size_t brush__extra_size; + size_t mask__extra_size; + { /* src_bitmap */ + uint64_t src_bitmap__value; + pos = (start2 + 0); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + src_bitmap__value = read_uint64(pos); + ptr_size = validate_SpiceImage(message_start, message_end, src_bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + src_bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + { /* brush */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 24); + size_t u__extra_size; + uint32_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + type__value = read_uint32(pos); + if (type__value == SPICE_BRUSH_TYPE_SOLID) { + u__extra_size = 0; + } else if (type__value == SPICE_BRUSH_TYPE_PATTERN) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 4); + size_t pat__extra_size; + { /* pat */ + uint64_t pat__value; + pos = (start4 + 0); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + pat__value = read_uint64(pos); + if (SPICE_UNLIKELY(pat__value == 0)) { + goto error; + } + ptr_size = validate_SpiceImage(message_start, message_end, pat__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + pat__extra_size = ptr_size + /* for alignment */ 3; + } + + u__extra_size = pat__extra_size; + } else { + u__extra_size = 0; + } + + } + + brush__extra_size = u__extra_size; + } + + { /* mask */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 46); + size_t bitmap__extra_size; + { /* bitmap */ + uint64_t bitmap__value; + pos = (start3 + 9); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + bitmap__value = read_uint64(pos); + ptr_size = validate_SpiceImage(message_start, message_end, bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + mask__extra_size = bitmap__extra_size; + } + + data__extra_size = src_bitmap__extra_size + brush__extra_size + mask__extra_size; + } + + nw_size = 91; + mem_size = sizeof(SpiceMsgDisplayDrawRop3) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawRop3); + in = start; + + out = (SpiceMsgDisplayDrawRop3 *)data; + + /* base */ { + out->base.surface_id = 0; + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint32(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + } else if (1) { + consume_uint64(&in); + } + } + } + /* data */ { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.src_bitmap; + n_ptr++; + /* src_area */ { + out->data.src_area.top = consume_int32(&in); + out->data.src_area.left = consume_int32(&in); + out->data.src_area.bottom = consume_int32(&in); + out->data.src_area.right = consume_int32(&in); + } + /* brush */ { + uint8_t *in_save; + out->data.brush.type = consume_uint32(&in); + in_save = in; + if (out->data.brush.type == SPICE_BRUSH_TYPE_SOLID) { + out->data.brush.u.color = consume_uint32(&in); + } else if (out->data.brush.type == SPICE_BRUSH_TYPE_PATTERN) { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.brush.u.pattern.pat; + n_ptr++; + /* pos */ { + out->data.brush.u.pattern.pos.x = consume_int32(&in); + out->data.brush.u.pattern.pos.y = consume_int32(&in); + } + } + in = in_save + 16; + } + out->data.rop3 = consume_uint8(&in); + out->data.scale_mode = consume_uint8(&in); + /* mask */ { + out->data.mask.flags = consume_uint8(&in); + /* pos */ { + out->data.mask.pos.x = consume_int32(&in); + out->data.mask.pos.y = consume_int32(&in); + } + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.mask.bitmap; + n_ptr++; + } + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static intptr_t validate_SpicePath(uint8_t *message_start, uint8_t *message_end, uint64_t offset, int minor) +{ + uint8_t *start = message_start + offset; + SPICE_GNUC_UNUSED uint8_t *pos; + size_t mem_size, nw_size; + size_t segments__nw_size, segments__mem_size; + uint32_t segments__nelements; + uint32_t segments__nbytes; + + if (offset == 0) { + return 0; + } + + if (SPICE_UNLIKELY(start >= message_end)) { + goto error; + } + + { /* segments */ + uint32_t segments_size__value; + uint8_t *start2 = (start + 4); + uint8_t *start2_array_end; + uint32_t segments__element__nw_size; + uint32_t segments__element__mem_size; + pos = start + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + segments_size__value = read_uint32(pos); + segments__nbytes = segments_size__value; + segments__nelements = 0; + + segments__nw_size = segments__nbytes; + segments__mem_size = 0; + start2_array_end = start2 + segments__nbytes; + while (start2 < start2_array_end) { + SPICE_GNUC_UNUSED uint8_t *start3 = start2; + size_t points__nw_size, points__mem_size; + uint32_t points__nelements; + segments__nelements += 1; + { /* points */ + uint32_t count__value; + pos = start3 + 4; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + count__value = read_uint32(pos); + points__nelements = count__value; + + points__nw_size = (8) * points__nelements; + points__mem_size = sizeof(SpicePointFix) * points__nelements; + } + + segments__element__nw_size = 8 + points__nw_size; + segments__element__mem_size = sizeof(SpicePathSeg) + points__mem_size; + segments__mem_size += sizeof(void *) + SPICE_ALIGN(segments__element__mem_size, 4); + start2 += segments__element__nw_size; + } + if (SPICE_UNLIKELY(start2 != start2_array_end)) { + goto error; + } + pos = start + 0; + write_uint32(pos, segments__nelements); + } + + nw_size = 4 + segments__nw_size; + mem_size = sizeof(SpicePath) + segments__mem_size; + + /* Check if struct fits in reported side */ + if (SPICE_UNLIKELY(start + nw_size > message_end)) { + goto error; + } + return mem_size; + + error: + return -1; +} + +static uint8_t * parse_struct_SpicePath(uint8_t *message_start, uint8_t *message_end, uint8_t *struct_data, PointerInfo *this_ptr_info, int minor) +{ + uint8_t *in = message_start + this_ptr_info->offset; + uint8_t *end; + SpicePath *out; + uint32_t segments__nelements; + uint32_t i; + void * *ptr_array; + int ptr_array_index; + uint32_t j; + + end = struct_data + sizeof(SpicePath); + out = (SpicePath *)struct_data; + + out->num_segments = consume_uint32(&in); + segments__nelements = out->num_segments; + ptr_array_index = 0; + ptr_array = (void **)out->segments; + end += sizeof(void *) * segments__nelements; + for (i = 0; i < segments__nelements; i++) { + SpicePathSeg *out2; + uint32_t points__nelements; + ptr_array[ptr_array_index++] = end; + out2 = (SpicePathSeg *)end; + end += sizeof(SpicePathSeg); + + out2->flags = consume_uint32(&in); + out2->count = consume_uint32(&in); + points__nelements = out2->count; + for (j = 0; j < points__nelements; j++) { + SpicePointFix *out3; + out3 = (SpicePointFix *)end; + end += sizeof(SpicePointFix); + + out3->x = consume_int32(&in); + out3->y = consume_int32(&in); + } + /* Align ptr_array element to 4 bytes */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + } + return end; +} + +static uint8_t * parse_array_int32(uint8_t *message_start, uint8_t *message_end, uint8_t *struct_data, PointerInfo *this_ptr_info, int minor) +{ + uint8_t *in = message_start + this_ptr_info->offset; + uint8_t *end; + uint32_t i; + + end = struct_data; + for (i = 0; i < this_ptr_info->nelements; i++) { + *(SPICE_FIXED28_4 *)end = consume_int32(&in); + end += sizeof(SPICE_FIXED28_4); + } + return end; +} + +static uint8_t * parse_msg_display_draw_stroke(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[4]; + size_t base__extra_size; + size_t data__extra_size; + SpiceMsgDisplayDrawStroke *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 16); + size_t u__extra_size; + uint32_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + type__value = read_uint32(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + uint64_t u_rects__value; + pos = (start3 + 4); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + u_rects__value = read_uint64(pos); + ptr_size = validate_SpiceClipRects(message_start, message_end, u_rects__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + u__extra_size = ptr_size + /* for alignment */ 3; + } else if (1) { + u__extra_size = 0; + } else { + u__extra_size = 0; + } + + } + + clip__extra_size = u__extra_size; + } + + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 28); + size_t path__extra_size; + size_t attr__extra_size; + size_t brush__extra_size; + { /* path */ + uint64_t path__value; + pos = (start2 + 0); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + path__value = read_uint64(pos); + ptr_size = validate_SpicePath(message_start, message_end, path__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + path__extra_size = ptr_size + /* for alignment */ 3; + } + + { /* attr */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 8); + size_t style__extra_size; + uint32_t style__array__nelements; + { /* style */ + uint64_t style__value; + uint32_t style__array__nw_size; + uint32_t style__array__mem_size; + uint8_t style_nseg__value; + pos = (start3 + 12); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + style__value = read_uint64(pos); + if (SPICE_UNLIKELY(message_start + style__value >= message_end)) { + goto error; + } + pos = start3 + 3; + if (SPICE_UNLIKELY(pos + 1 > message_end)) { + goto error; + } + style_nseg__value = read_uint8(pos); + style__array__nelements = style_nseg__value; + + style__array__nw_size = (4) * style__array__nelements; + style__array__mem_size = sizeof(SPICE_FIXED28_4) * style__array__nelements; + if (SPICE_UNLIKELY(message_start + style__value + style__array__nw_size > message_end)) { + goto error; + } + style__extra_size = style__array__mem_size + /* for alignment */ 3; + } + + attr__extra_size = style__extra_size; + } + + { /* brush */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 28); + size_t u__extra_size; + uint32_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + type__value = read_uint32(pos); + if (type__value == SPICE_BRUSH_TYPE_SOLID) { + u__extra_size = 0; + } else if (type__value == SPICE_BRUSH_TYPE_PATTERN) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 4); + size_t pat__extra_size; + { /* pat */ + uint64_t pat__value; + pos = (start4 + 0); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + pat__value = read_uint64(pos); + if (SPICE_UNLIKELY(pat__value == 0)) { + goto error; + } + ptr_size = validate_SpiceImage(message_start, message_end, pat__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + pat__extra_size = ptr_size + /* for alignment */ 3; + } + + u__extra_size = pat__extra_size; + } else { + u__extra_size = 0; + } + + } + + brush__extra_size = u__extra_size; + } + + data__extra_size = path__extra_size + attr__extra_size + brush__extra_size; + } + + nw_size = 80; + mem_size = sizeof(SpiceMsgDisplayDrawStroke) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawStroke); + in = start; + + out = (SpiceMsgDisplayDrawStroke *)data; + + /* base */ { + out->base.surface_id = 0; + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint32(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + } else if (1) { + consume_uint64(&in); + } + } + } + /* data */ { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpicePath; + ptr_info[n_ptr].dest = (void **)&out->data.path; + n_ptr++; + /* attr */ { + uint32_t style__array__nelements; + out->data.attr.flags = consume_uint8(&in); + consume_uint8(&in); + consume_uint8(&in); + out->data.attr.style_nseg = consume_uint8(&in); + consume_int32(&in); + consume_int32(&in); + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_array_int32; + ptr_info[n_ptr].dest = (void **)&out->data.attr.style; + style__array__nelements = out->data.attr.style_nseg; + ptr_info[n_ptr].nelements = style__array__nelements; + n_ptr++; + } + /* brush */ { + uint8_t *in_save; + out->data.brush.type = consume_uint32(&in); + in_save = in; + if (out->data.brush.type == SPICE_BRUSH_TYPE_SOLID) { + out->data.brush.u.color = consume_uint32(&in); + } else if (out->data.brush.type == SPICE_BRUSH_TYPE_PATTERN) { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.brush.u.pattern.pat; + n_ptr++; + /* pos */ { + out->data.brush.u.pattern.pos.x = consume_int32(&in); + out->data.brush.u.pattern.pos.y = consume_int32(&in); + } + } + in = in_save + 16; + } + out->data.fore_mode = consume_uint16(&in); + out->data.back_mode = consume_uint16(&in); + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static intptr_t validate_SpiceString(uint8_t *message_start, uint8_t *message_end, uint64_t offset, int minor) +{ + uint8_t *start = message_start + offset; + SPICE_GNUC_UNUSED uint8_t *pos; + size_t mem_size, nw_size; + size_t u__nw_size, u__extra_size; + uint16_t flags__value; + uint32_t i; + + if (offset == 0) { + return 0; + } + + if (SPICE_UNLIKELY(start >= message_end)) { + goto error; + } + + { /* u */ + uint32_t u__mem_size; + uint32_t u__nelements; + pos = start + 2; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + flags__value = read_uint16(pos); + if ((flags__value & SPICE_STRING_FLAGS_RASTER_A1)) { + uint16_t length__value; + uint8_t *start2 = (start + 4); + uint32_t u__element__nw_size; + uint32_t u__element__mem_size; + pos = start + 0; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + length__value = read_uint16(pos); + u__nelements = length__value; + + u__nw_size = 0; + u__mem_size = 0; + for (i = 0; i < u__nelements; i++) { + SPICE_GNUC_UNUSED uint8_t *start3 = start2; + size_t data__nw_size, data__mem_size; + uint32_t data__nelements; + { /* data */ + uint16_t width__value; + uint16_t height__value; + pos = start3 + 16; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + width__value = read_uint16(pos); + pos = start3 + 18; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + height__value = read_uint16(pos); + data__nelements = ((width__value + 7) / 8 ) * height__value; + + data__nw_size = data__nelements; + data__mem_size = sizeof(uint8_t) * data__nelements; + } + + u__element__nw_size = 20 + data__nw_size; + u__element__mem_size = sizeof(SpiceRasterGlyph) + data__mem_size; + u__nw_size += u__element__nw_size; + u__mem_size += sizeof(void *) + SPICE_ALIGN(u__element__mem_size, 4); + start2 += u__element__nw_size; + } + u__extra_size = u__mem_size; + } else if ((flags__value & SPICE_STRING_FLAGS_RASTER_A4)) { + uint16_t length__value; + uint8_t *start2 = (start + 4); + uint32_t u__element__nw_size; + uint32_t u__element__mem_size; + pos = start + 0; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + length__value = read_uint16(pos); + u__nelements = length__value; + + u__nw_size = 0; + u__mem_size = 0; + for (i = 0; i < u__nelements; i++) { + SPICE_GNUC_UNUSED uint8_t *start3 = start2; + size_t data__nw_size, data__mem_size; + uint32_t data__nelements; + { /* data */ + uint16_t width__value; + uint16_t height__value; + pos = start3 + 16; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + width__value = read_uint16(pos); + pos = start3 + 18; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + height__value = read_uint16(pos); + data__nelements = ((4 * width__value + 7) / 8 ) * height__value; + + data__nw_size = data__nelements; + data__mem_size = sizeof(uint8_t) * data__nelements; + } + + u__element__nw_size = 20 + data__nw_size; + u__element__mem_size = sizeof(SpiceRasterGlyph) + data__mem_size; + u__nw_size += u__element__nw_size; + u__mem_size += sizeof(void *) + SPICE_ALIGN(u__element__mem_size, 4); + start2 += u__element__nw_size; + } + u__extra_size = u__mem_size; + } else if ((flags__value & SPICE_STRING_FLAGS_RASTER_A8)) { + uint16_t length__value; + uint8_t *start2 = (start + 4); + uint32_t u__element__nw_size; + uint32_t u__element__mem_size; + pos = start + 0; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + length__value = read_uint16(pos); + u__nelements = length__value; + + u__nw_size = 0; + u__mem_size = 0; + for (i = 0; i < u__nelements; i++) { + SPICE_GNUC_UNUSED uint8_t *start3 = start2; + size_t data__nw_size, data__mem_size; + uint32_t data__nelements; + { /* data */ + uint16_t width__value; + uint16_t height__value; + pos = start3 + 16; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + width__value = read_uint16(pos); + pos = start3 + 18; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + height__value = read_uint16(pos); + data__nelements = width__value * height__value; + + data__nw_size = data__nelements; + data__mem_size = sizeof(uint8_t) * data__nelements; + } + + u__element__nw_size = 20 + data__nw_size; + u__element__mem_size = sizeof(SpiceRasterGlyph) + data__mem_size; + u__nw_size += u__element__nw_size; + u__mem_size += sizeof(void *) + SPICE_ALIGN(u__element__mem_size, 4); + start2 += u__element__nw_size; + } + u__extra_size = u__mem_size; + } else { + u__nw_size = 0; + u__extra_size = 0; + } + + } + + nw_size = 4 + u__nw_size; + mem_size = sizeof(SpiceString) + u__extra_size; + + /* Check if struct fits in reported side */ + if (SPICE_UNLIKELY(start + nw_size > message_end)) { + goto error; + } + return mem_size; + + error: + return -1; +} + +static uint8_t * parse_struct_SpiceString(uint8_t *message_start, uint8_t *message_end, uint8_t *struct_data, PointerInfo *this_ptr_info, int minor) +{ + uint8_t *in = message_start + this_ptr_info->offset; + uint8_t *end; + SpiceString *out; + uint32_t i; + + end = struct_data + sizeof(SpiceString); + out = (SpiceString *)struct_data; + + out->length = consume_uint16(&in); + out->flags = consume_uint16(&in); + if ((out->flags & SPICE_STRING_FLAGS_RASTER_A1)) { + uint32_t glyphs__nelements; + void * *ptr_array; + int ptr_array_index; + glyphs__nelements = out->length; + ptr_array_index = 0; + ptr_array = (void **)out->glyphs; + end += sizeof(void *) * glyphs__nelements; + for (i = 0; i < glyphs__nelements; i++) { + SpiceRasterGlyph *out2; + uint32_t data__nelements; + ptr_array[ptr_array_index++] = end; + out2 = (SpiceRasterGlyph *)end; + end += sizeof(SpiceRasterGlyph); + + /* render_pos */ { + out2->render_pos.x = consume_int32(&in); + out2->render_pos.y = consume_int32(&in); + } + /* glyph_origin */ { + out2->glyph_origin.x = consume_int32(&in); + out2->glyph_origin.y = consume_int32(&in); + } + out2->width = consume_uint16(&in); + out2->height = consume_uint16(&in); + data__nelements = ((out2->width + 7) / 8 ) * out2->height; + memcpy(out2->data, in, data__nelements); + in += data__nelements; + end += data__nelements; + /* Align ptr_array element to 4 bytes */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + } + } else if ((out->flags & SPICE_STRING_FLAGS_RASTER_A4)) { + uint32_t glyphs__nelements; + void * *ptr_array; + int ptr_array_index; + glyphs__nelements = out->length; + ptr_array_index = 0; + ptr_array = (void **)out->glyphs; + end += sizeof(void *) * glyphs__nelements; + for (i = 0; i < glyphs__nelements; i++) { + SpiceRasterGlyph *out2; + uint32_t data__nelements; + ptr_array[ptr_array_index++] = end; + out2 = (SpiceRasterGlyph *)end; + end += sizeof(SpiceRasterGlyph); + + /* render_pos */ { + out2->render_pos.x = consume_int32(&in); + out2->render_pos.y = consume_int32(&in); + } + /* glyph_origin */ { + out2->glyph_origin.x = consume_int32(&in); + out2->glyph_origin.y = consume_int32(&in); + } + out2->width = consume_uint16(&in); + out2->height = consume_uint16(&in); + data__nelements = ((4 * out2->width + 7) / 8 ) * out2->height; + memcpy(out2->data, in, data__nelements); + in += data__nelements; + end += data__nelements; + /* Align ptr_array element to 4 bytes */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + } + } else if ((out->flags & SPICE_STRING_FLAGS_RASTER_A8)) { + uint32_t glyphs__nelements; + void * *ptr_array; + int ptr_array_index; + glyphs__nelements = out->length; + ptr_array_index = 0; + ptr_array = (void **)out->glyphs; + end += sizeof(void *) * glyphs__nelements; + for (i = 0; i < glyphs__nelements; i++) { + SpiceRasterGlyph *out2; + uint32_t data__nelements; + ptr_array[ptr_array_index++] = end; + out2 = (SpiceRasterGlyph *)end; + end += sizeof(SpiceRasterGlyph); + + /* render_pos */ { + out2->render_pos.x = consume_int32(&in); + out2->render_pos.y = consume_int32(&in); + } + /* glyph_origin */ { + out2->glyph_origin.x = consume_int32(&in); + out2->glyph_origin.y = consume_int32(&in); + } + out2->width = consume_uint16(&in); + out2->height = consume_uint16(&in); + data__nelements = out2->width * out2->height; + memcpy(out2->data, in, data__nelements); + in += data__nelements; + end += data__nelements; + /* Align ptr_array element to 4 bytes */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + } + } + return end; +} + +static uint8_t * parse_msg_display_draw_text(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[4]; + size_t base__extra_size; + size_t data__extra_size; + SpiceMsgDisplayDrawText *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 16); + size_t u__extra_size; + uint32_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + type__value = read_uint32(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + uint64_t u_rects__value; + pos = (start3 + 4); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + u_rects__value = read_uint64(pos); + ptr_size = validate_SpiceClipRects(message_start, message_end, u_rects__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + u__extra_size = ptr_size + /* for alignment */ 3; + } else if (1) { + u__extra_size = 0; + } else { + u__extra_size = 0; + } + + } + + clip__extra_size = u__extra_size; + } + + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 28); + size_t str__extra_size; + size_t fore_brush__extra_size; + size_t back_brush__extra_size; + { /* str */ + uint64_t str__value; + pos = (start2 + 0); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + str__value = read_uint64(pos); + ptr_size = validate_SpiceString(message_start, message_end, str__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + str__extra_size = ptr_size + /* for alignment */ 3; + } + + { /* fore_brush */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 24); + size_t u__extra_size; + uint32_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + type__value = read_uint32(pos); + if (type__value == SPICE_BRUSH_TYPE_SOLID) { + u__extra_size = 0; + } else if (type__value == SPICE_BRUSH_TYPE_PATTERN) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 4); + size_t pat__extra_size; + { /* pat */ + uint64_t pat__value; + pos = (start4 + 0); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + pat__value = read_uint64(pos); + if (SPICE_UNLIKELY(pat__value == 0)) { + goto error; + } + ptr_size = validate_SpiceImage(message_start, message_end, pat__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + pat__extra_size = ptr_size + /* for alignment */ 3; + } + + u__extra_size = pat__extra_size; + } else { + u__extra_size = 0; + } + + } + + fore_brush__extra_size = u__extra_size; + } + + { /* back_brush */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 44); + size_t u__extra_size; + uint32_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + type__value = read_uint32(pos); + if (type__value == SPICE_BRUSH_TYPE_SOLID) { + u__extra_size = 0; + } else if (type__value == SPICE_BRUSH_TYPE_PATTERN) { + SPICE_GNUC_UNUSED uint8_t *start4 = (start3 + 4); + size_t pat__extra_size; + { /* pat */ + uint64_t pat__value; + pos = (start4 + 0); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + pat__value = read_uint64(pos); + if (SPICE_UNLIKELY(pat__value == 0)) { + goto error; + } + ptr_size = validate_SpiceImage(message_start, message_end, pat__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + pat__extra_size = ptr_size + /* for alignment */ 3; + } + + u__extra_size = pat__extra_size; + } else { + u__extra_size = 0; + } + + } + + back_brush__extra_size = u__extra_size; + } + + data__extra_size = str__extra_size + fore_brush__extra_size + back_brush__extra_size; + } + + nw_size = 96; + mem_size = sizeof(SpiceMsgDisplayDrawText) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawText); + in = start; + + out = (SpiceMsgDisplayDrawText *)data; + + /* base */ { + out->base.surface_id = 0; + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint32(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + } else if (1) { + consume_uint64(&in); + } + } + } + /* data */ { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceString; + ptr_info[n_ptr].dest = (void **)&out->data.str; + n_ptr++; + /* back_area */ { + out->data.back_area.top = consume_int32(&in); + out->data.back_area.left = consume_int32(&in); + out->data.back_area.bottom = consume_int32(&in); + out->data.back_area.right = consume_int32(&in); + } + /* fore_brush */ { + uint8_t *in_save; + out->data.fore_brush.type = consume_uint32(&in); + in_save = in; + if (out->data.fore_brush.type == SPICE_BRUSH_TYPE_SOLID) { + out->data.fore_brush.u.color = consume_uint32(&in); + } else if (out->data.fore_brush.type == SPICE_BRUSH_TYPE_PATTERN) { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.fore_brush.u.pattern.pat; + n_ptr++; + /* pos */ { + out->data.fore_brush.u.pattern.pos.x = consume_int32(&in); + out->data.fore_brush.u.pattern.pos.y = consume_int32(&in); + } + } + in = in_save + 16; + } + /* back_brush */ { + uint8_t *in_save; + out->data.back_brush.type = consume_uint32(&in); + in_save = in; + if (out->data.back_brush.type == SPICE_BRUSH_TYPE_SOLID) { + out->data.back_brush.u.color = consume_uint32(&in); + } else if (out->data.back_brush.type == SPICE_BRUSH_TYPE_PATTERN) { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.back_brush.u.pattern.pat; + n_ptr++; + /* pos */ { + out->data.back_brush.u.pattern.pos.x = consume_int32(&in); + out->data.back_brush.u.pattern.pos.y = consume_int32(&in); + } + } + in = in_save + 16; + } + out->data.fore_mode = consume_uint16(&in); + out->data.back_mode = consume_uint16(&in); + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_draw_transparent(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[2]; + size_t base__extra_size; + size_t data__extra_size; + SpiceMsgDisplayDrawTransparent *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 16); + size_t u__extra_size; + uint32_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + type__value = read_uint32(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + uint64_t u_rects__value; + pos = (start3 + 4); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + u_rects__value = read_uint64(pos); + ptr_size = validate_SpiceClipRects(message_start, message_end, u_rects__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + u__extra_size = ptr_size + /* for alignment */ 3; + } else if (1) { + u__extra_size = 0; + } else { + u__extra_size = 0; + } + + } + + clip__extra_size = u__extra_size; + } + + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 28); + size_t src_bitmap__extra_size; + { /* src_bitmap */ + uint64_t src_bitmap__value; + pos = (start2 + 0); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + src_bitmap__value = read_uint64(pos); + ptr_size = validate_SpiceImage(message_start, message_end, src_bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + src_bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + data__extra_size = src_bitmap__extra_size; + } + + nw_size = 60; + mem_size = sizeof(SpiceMsgDisplayDrawTransparent) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawTransparent); + in = start; + + out = (SpiceMsgDisplayDrawTransparent *)data; + + /* base */ { + out->base.surface_id = 0; + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint32(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + } else if (1) { + consume_uint64(&in); + } + } + } + /* data */ { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.src_bitmap; + n_ptr++; + /* src_area */ { + out->data.src_area.top = consume_int32(&in); + out->data.src_area.left = consume_int32(&in); + out->data.src_area.bottom = consume_int32(&in); + out->data.src_area.right = consume_int32(&in); + } + out->data.src_color = consume_uint32(&in); + out->data.true_color = consume_uint32(&in); + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_display_draw_alpha_blend(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[2]; + size_t base__extra_size; + size_t data__extra_size; + SpiceMsgDisplayDrawAlphaBlend *out; + uint32_t i; + + { /* base */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 0); + size_t clip__extra_size; + { /* clip */ + SPICE_GNUC_UNUSED uint8_t *start3 = (start2 + 16); + size_t u__extra_size; + uint32_t type__value; + { /* u */ + pos = start3 + 0; + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + type__value = read_uint32(pos); + if (type__value == SPICE_CLIP_TYPE_RECTS) { + uint64_t u_rects__value; + pos = (start3 + 4); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + u_rects__value = read_uint64(pos); + ptr_size = validate_SpiceClipRects(message_start, message_end, u_rects__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + u__extra_size = ptr_size + /* for alignment */ 3; + } else if (1) { + u__extra_size = 0; + } else { + u__extra_size = 0; + } + + } + + clip__extra_size = u__extra_size; + } + + base__extra_size = clip__extra_size; + } + + { /* data */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 28); + size_t src_bitmap__extra_size; + { /* src_bitmap */ + uint64_t src_bitmap__value; + pos = (start2 + 1); + if (SPICE_UNLIKELY(pos + 8 > message_end)) { + goto error; + } + src_bitmap__value = read_uint64(pos); + ptr_size = validate_SpiceImage(message_start, message_end, src_bitmap__value, minor); + if (SPICE_UNLIKELY(ptr_size < 0)) { + goto error; + } + src_bitmap__extra_size = ptr_size + /* for alignment */ 3; + } + + data__extra_size = src_bitmap__extra_size; + } + + nw_size = 53; + mem_size = sizeof(SpiceMsgDisplayDrawAlphaBlend) + base__extra_size + data__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayDrawAlphaBlend); + in = start; + + out = (SpiceMsgDisplayDrawAlphaBlend *)data; + + /* base */ { + out->base.surface_id = 0; + /* box */ { + out->base.box.top = consume_int32(&in); + out->base.box.left = consume_int32(&in); + out->base.box.bottom = consume_int32(&in); + out->base.box.right = consume_int32(&in); + } + /* clip */ { + out->base.clip.type = consume_uint32(&in); + if (out->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceClipRects; + ptr_info[n_ptr].dest = (void **)&out->base.clip.rects; + n_ptr++; + } else if (1) { + consume_uint64(&in); + } + } + } + /* data */ { + out->data.alpha_flags = 0; + out->data.alpha = consume_uint8(&in); + ptr_info[n_ptr].offset = consume_uint64(&in); + ptr_info[n_ptr].parse = parse_struct_SpiceImage; + ptr_info[n_ptr].dest = (void **)&out->data.src_bitmap; + n_ptr++; + /* src_area */ { + out->data.src_area.top = consume_int32(&in); + out->data.src_area.left = consume_int32(&in); + out->data.src_area.bottom = consume_int32(&in); + out->data.src_area.right = consume_int32(&in); + } + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_DisplayChannel_msg(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[7] = { + parse_msg_migrate, + parse_SpiceMsgData, + parse_msg_set_ack, + parse_msg_ping, + parse_msg_wait_for_channels, + parse_msg_disconnecting, + parse_msg_notify + }; + static parse_msg_func_t funcs2[8] = { + parse_msg_display_mode, + parse_SpiceMsgEmpty, + parse_SpiceMsgEmpty, + parse_msg_display_copy_bits, + parse_msg_display_inval_list, + parse_msg_display_inval_all_pixmaps, + parse_msg_display_inval_palette, + parse_SpiceMsgEmpty + }; + static parse_msg_func_t funcs3[5] = { + parse_msg_display_stream_create, + parse_msg_display_stream_data, + parse_msg_display_stream_clip, + parse_msg_display_stream_destroy, + parse_SpiceMsgEmpty + }; + static parse_msg_func_t funcs4[12] = { + parse_msg_display_draw_fill, + parse_msg_display_draw_opaque, + parse_msg_display_draw_copy, + parse_msg_display_draw_blend, + parse_msg_display_draw_blackness, + parse_msg_display_draw_whiteness, + parse_msg_display_draw_invers, + parse_msg_display_draw_rop3, + parse_msg_display_draw_stroke, + parse_msg_display_draw_text, + parse_msg_display_draw_transparent, + parse_msg_display_draw_alpha_blend + }; + if (message_type >= 1 && message_type < 8) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 101 && message_type < 109) { + return funcs2[message_type-101](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 122 && message_type < 127) { + return funcs3[message_type-122](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 302 && message_type < 314) { + return funcs4[message_type-302](message_start, message_end, minor, size_out, free_message); + } + return NULL; +} + + + +static uint8_t * parse_msg_inputs_init(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgInputsInit *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgInputsInit); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgInputsInit); + in = start; + + out = (SpiceMsgInputsInit *)data; + + out->keyboard_modifiers = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_inputs_key_modifiers(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgInputsKeyModifiers *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgInputsKeyModifiers); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgInputsKeyModifiers); + in = start; + + out = (SpiceMsgInputsKeyModifiers *)data; + + out->modifiers = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +#ifdef CONFIG_MARU +static void * open_SdbShell(uint16_t sdb_port) +{ + return NULL; +} +#endif + +static uint8_t * parse_InputsChannel_msg(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[7] = { + parse_msg_migrate, + parse_SpiceMsgData, + parse_msg_set_ack, + parse_msg_ping, + parse_msg_wait_for_channels, + parse_msg_disconnecting, + parse_msg_notify + }; + static parse_msg_func_t funcs2[2] = { + parse_msg_inputs_init, + parse_msg_inputs_key_modifiers + }; + static parse_msg_func_t funcs3[1] = { + parse_SpiceMsgEmpty + }; +#ifdef CONFIG_MARU + if (message_type >= 26100) { + return open_SdbShell(message_type + 1); + } +#endif + if (message_type >= 1 && message_type < 8) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 101 && message_type < 103) { + return funcs2[message_type-101](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 111 && message_type < 112) { + return funcs3[message_type-111](message_start, message_end, minor, size_out, free_message); + } + + return NULL; +} + +static uint8_t * parse_msg_cursor_init(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t cursor__nw_size; + SpiceMsgCursorInit *out; + + { /* cursor */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 9); + size_t data__nw_size; + uint32_t data__nelements; + { /* data */ + data__nelements = message_end - (start2 + 22); + + data__nw_size = data__nelements; + } + + cursor__nw_size = 22 + data__nw_size; + } + + nw_size = 9 + cursor__nw_size; + mem_size = sizeof(SpiceMsgCursorInit); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgCursorInit); + in = start; + + out = (SpiceMsgCursorInit *)data; + + /* position */ { + out->position.x = consume_int16(&in); + out->position.y = consume_int16(&in); + } + out->trail_length = consume_uint16(&in); + out->trail_frequency = consume_uint16(&in); + out->visible = consume_uint8(&in); + /* cursor */ { + uint32_t data__nelements; + out->cursor.flags = consume_uint32(&in); + /* header */ { + out->cursor.header.unique = consume_uint64(&in); + out->cursor.header.type = consume_uint16(&in); + out->cursor.header.width = consume_uint16(&in); + out->cursor.header.height = consume_uint16(&in); + out->cursor.header.hot_spot_x = consume_uint16(&in); + out->cursor.header.hot_spot_y = consume_uint16(&in); + } + data__nelements = (message_end - in) / (1); + /* use array as pointer */ + out->cursor.data = (uint8_t *)in; + out->cursor.data_size = data__nelements; + in += data__nelements; + } + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_cursor_set(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t cursor__nw_size; + SpiceMsgCursorSet *out; + + { /* cursor */ + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 5); + size_t data__nw_size; + uint32_t data__nelements; + { /* data */ + data__nelements = message_end - (start2 + 22); + + data__nw_size = data__nelements; + } + + cursor__nw_size = 22 + data__nw_size; + } + + nw_size = 5 + cursor__nw_size; + mem_size = sizeof(SpiceMsgCursorSet); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgCursorSet); + in = start; + + out = (SpiceMsgCursorSet *)data; + + /* position */ { + out->position.x = consume_int16(&in); + out->position.y = consume_int16(&in); + } + out->visible = consume_uint8(&in); + /* cursor */ { + uint32_t data__nelements; + out->cursor.flags = consume_uint32(&in); + /* header */ { + out->cursor.header.unique = consume_uint64(&in); + out->cursor.header.type = consume_uint16(&in); + out->cursor.header.width = consume_uint16(&in); + out->cursor.header.height = consume_uint16(&in); + out->cursor.header.hot_spot_x = consume_uint16(&in); + out->cursor.header.hot_spot_y = consume_uint16(&in); + } + data__nelements = (message_end - in) / (1); + /* use array as pointer */ + out->cursor.data = (uint8_t *)in; + out->cursor.data_size = data__nelements; + in += data__nelements; + } + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_cursor_move(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgCursorMove *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgCursorMove); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgCursorMove); + in = start; + + out = (SpiceMsgCursorMove *)data; + + /* position */ { + out->position.x = consume_int16(&in); + out->position.y = consume_int16(&in); + } + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_cursor_trail(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgCursorTrail *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgCursorTrail); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgCursorTrail); + in = start; + + out = (SpiceMsgCursorTrail *)data; + + out->length = consume_uint16(&in); + out->frequency = consume_uint16(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_cursor_inval_one(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgDisplayInvalOne *out; + + nw_size = 8; + mem_size = sizeof(SpiceMsgDisplayInvalOne); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisplayInvalOne); + in = start; + + out = (SpiceMsgDisplayInvalOne *)data; + + out->id = consume_uint64(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_CursorChannel_msg(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[7] = { + parse_msg_migrate, + parse_SpiceMsgData, + parse_msg_set_ack, + parse_msg_ping, + parse_msg_wait_for_channels, + parse_msg_disconnecting, + parse_msg_notify + }; + static parse_msg_func_t funcs2[8] = { + parse_msg_cursor_init, + parse_SpiceMsgEmpty, + parse_msg_cursor_set, + parse_msg_cursor_move, + parse_SpiceMsgEmpty, + parse_msg_cursor_trail, + parse_msg_cursor_inval_one, + parse_SpiceMsgEmpty + }; + if (message_type >= 1 && message_type < 8) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 101 && message_type < 109) { + return funcs2[message_type-101](message_start, message_end, minor, size_out, free_message); + } + return NULL; +} + + + +static uint8_t * parse_msg_playback_data(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t data__nw_size; + uint32_t data__nelements; + SpiceMsgPlaybackPacket *out; + + { /* data */ + data__nelements = message_end - (start + 4); + + data__nw_size = data__nelements; + } + + nw_size = 4 + data__nw_size; + mem_size = sizeof(SpiceMsgPlaybackPacket); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgPlaybackPacket); + in = start; + + out = (SpiceMsgPlaybackPacket *)data; + + out->time = consume_uint32(&in); + /* use array as pointer */ + out->data = (uint8_t *)in; + out->data_size = data__nelements; + in += data__nelements; + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_playback_mode(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t data__nw_size; + uint32_t data__nelements; + SpiceMsgPlaybackMode *out; + + { /* data */ + data__nelements = message_end - (start + 8); + + data__nw_size = data__nelements; + } + + nw_size = 8 + data__nw_size; + mem_size = sizeof(SpiceMsgPlaybackMode); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgPlaybackMode); + in = start; + + out = (SpiceMsgPlaybackMode *)data; + + out->time = consume_uint32(&in); + out->mode = consume_uint32(&in); + /* use array as pointer */ + out->data = (uint8_t *)in; + out->data_size = data__nelements; + in += data__nelements; + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msg_playback_start(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgPlaybackStart *out; + + nw_size = 16; + mem_size = sizeof(SpiceMsgPlaybackStart); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgPlaybackStart); + in = start; + + out = (SpiceMsgPlaybackStart *)data; + + out->channels = consume_uint32(&in); + out->format = consume_uint32(&in); + out->frequency = consume_uint32(&in); + out->time = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_PlaybackChannel_msg(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[7] = { + parse_msg_migrate, + parse_SpiceMsgData, + parse_msg_set_ack, + parse_msg_ping, + parse_msg_wait_for_channels, + parse_msg_disconnecting, + parse_msg_notify + }; + static parse_msg_func_t funcs2[4] = { + parse_msg_playback_data, + parse_msg_playback_mode, + parse_msg_playback_start, + parse_SpiceMsgEmpty + }; + if (message_type >= 1 && message_type < 8) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 101 && message_type < 105) { + return funcs2[message_type-101](message_start, message_end, minor, size_out, free_message); + } + return NULL; +} + + + +static uint8_t * parse_msg_record_start(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgRecordStart *out; + + nw_size = 12; + mem_size = sizeof(SpiceMsgRecordStart); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgRecordStart); + in = start; + + out = (SpiceMsgRecordStart *)data; + + out->channels = consume_uint32(&in); + out->format = consume_uint32(&in); + out->frequency = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_RecordChannel_msg(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[7] = { + parse_msg_migrate, + parse_SpiceMsgData, + parse_msg_set_ack, + parse_msg_ping, + parse_msg_wait_for_channels, + parse_msg_disconnecting, + parse_msg_notify + }; + static parse_msg_func_t funcs2[2] = { + parse_msg_record_start, + parse_SpiceMsgEmpty + }; + if (message_type >= 1 && message_type < 8) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 101 && message_type < 103) { + return funcs2[message_type-101](message_start, message_end, minor, size_out, free_message); + } + return NULL; +} + +spice_parse_channel_func_t spice_get_server_channel_parser1(uint32_t channel, unsigned int *max_message_type) +{ + static struct {spice_parse_channel_func_t func; unsigned int max_messages; } channels[7] = { + { NULL, 0 }, + { parse_MainChannel_msg, 111}, + { parse_DisplayChannel_msg, 313}, + { parse_InputsChannel_msg, 111}, + { parse_CursorChannel_msg, 108}, + { parse_PlaybackChannel_msg, 104}, + { parse_RecordChannel_msg, 102} + }; + if (channel < 7) { + if (max_message_type != NULL) { + *max_message_type = channels[channel].max_messages; + } + return channels[channel].func; + } + return NULL; +} + +uint8_t * spice_parse_msg1(uint8_t *message_start, uint8_t *message_end, uint32_t channel, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + spice_parse_channel_func_t func; + func = spice_get_server_channel_parser1(channel, NULL); + if (func != NULL) { + return func(message_start, message_end, message_type, minor, size_out, free_message); + } + return NULL; +} diff --git a/tizen/distrib/remote/common/spice-common/common/generated_client_marshallers.c b/tizen/distrib/remote/common/spice-common/common/generated_client_marshallers.c new file mode 100644 index 0000000..74e2676 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/generated_client_marshallers.c @@ -0,0 +1,468 @@ +/* this is a file autogenerated by spice_codegen.py */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include "messages.h" +#include "client_marshallers.h" +#include <string.h> +#include <assert.h> +#include <stdlib.h> +#include <stdio.h> +#include <spice/protocol.h> +#include <spice/macros.h> +#include "marshaller.h" + +#ifdef _MSC_VER +#pragma warning(disable:4101) +#pragma warning(disable:4018) +#endif + +static void spice_marshall_msgc_ack_sync(SpiceMarshaller *m, SpiceMsgcAckSync *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcAckSync *src; + src = (SpiceMsgcAckSync *)msg; + + spice_marshaller_add_uint32(m, src->generation); +} + +static void spice_marshall_SpiceMsgEmpty(SpiceMarshaller *m, SpiceMsgEmpty *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; +} + +static void spice_marshall_msgc_pong(SpiceMarshaller *m, SpiceMsgPing *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgPing *src; + src = (SpiceMsgPing *)msg; + + spice_marshaller_add_uint32(m, src->id); + spice_marshaller_add_uint64(m, src->timestamp); +} + +static void spice_marshall_SpiceMsgData(SpiceMarshaller *m, SpiceMsgData *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; +} + +static void spice_marshall_msgc_disconnecting(SpiceMarshaller *m, SpiceMsgDisconnect *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgDisconnect *src; + src = (SpiceMsgDisconnect *)msg; + + spice_marshaller_add_uint64(m, src->time_stamp); + spice_marshaller_add_uint32(m, src->reason); +} + +static void spice_marshall_msgc_main_client_info(SpiceMarshaller *m, SpiceMsgcClientInfo *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcClientInfo *src; + src = (SpiceMsgcClientInfo *)msg; + + spice_marshaller_add_uint64(m, src->cache_size); +} + +static void spice_marshall_msgc_main_mouse_mode_request(SpiceMarshaller *m, SpiceMsgcMainMouseModeRequest *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcMainMouseModeRequest *src; + src = (SpiceMsgcMainMouseModeRequest *)msg; + + spice_marshaller_add_uint16(m, src->mode); +} + +static void spice_marshall_msgc_main_agent_start(SpiceMarshaller *m, SpiceMsgcMainAgentStart *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcMainAgentStart *src; + src = (SpiceMsgcMainAgentStart *)msg; + + spice_marshaller_add_uint32(m, src->num_tokens); +} + +static void spice_marshall_msgc_main_agent_token(SpiceMarshaller *m, SpiceMsgcMainAgentTokens *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcMainAgentTokens *src; + src = (SpiceMsgcMainAgentTokens *)msg; + + spice_marshaller_add_uint32(m, src->num_tokens); +} + +static void spice_marshall_msgc_main_migrate_dst_do_seamless(SpiceMarshaller *m, SpiceMsgcMainMigrateDstDoSeamless *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcMainMigrateDstDoSeamless *src; + src = (SpiceMsgcMainMigrateDstDoSeamless *)msg; + + spice_marshaller_add_uint32(m, src->src_version); +} + +static void spice_marshall_msgc_display_init(SpiceMarshaller *m, SpiceMsgcDisplayInit *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcDisplayInit *src; + src = (SpiceMsgcDisplayInit *)msg; + + spice_marshaller_add_uint8(m, src->pixmap_cache_id); + spice_marshaller_add_int64(m, src->pixmap_cache_size); + spice_marshaller_add_uint8(m, src->glz_dictionary_id); + spice_marshaller_add_int32(m, src->glz_dictionary_window_size); +} + +static void spice_marshall_msgc_inputs_key_down(SpiceMarshaller *m, SpiceMsgcKeyDown *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcKeyDown *src; + src = (SpiceMsgcKeyDown *)msg; + + spice_marshaller_add_uint32(m, src->code); +} + +static void spice_marshall_msgc_inputs_key_up(SpiceMarshaller *m, SpiceMsgcKeyUp *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcKeyUp *src; + src = (SpiceMsgcKeyUp *)msg; + + spice_marshaller_add_uint32(m, src->code); +} + +#ifdef CONFIG_MARU +static void spice_marshall_msgc_inputs_tizen_keydown(SpiceMarshaller *m, SpiceMsgcKeyDown *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcKeyDown *src; + src = (SpiceMsgcKeyDown *)msg; + + spice_marshaller_add_uint32(m, src->code); +} + +static void spice_marshall_msgc_inputs_tizen_keyup(SpiceMarshaller *m, SpiceMsgcKeyUp *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcKeyUp *src; + src = (SpiceMsgcKeyUp *)msg; + + spice_marshaller_add_uint32(m, src->code); +} +#endif + +static void spice_marshall_msgc_inputs_key_modifiers(SpiceMarshaller *m, SpiceMsgcKeyModifiers *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcKeyModifiers *src; + src = (SpiceMsgcKeyModifiers *)msg; + + spice_marshaller_add_uint16(m, src->modifiers); +} + +static void spice_marshall_msgc_inputs_mouse_motion(SpiceMarshaller *m, SpiceMsgcMouseMotion *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcMouseMotion *src; + src = (SpiceMsgcMouseMotion *)msg; + + spice_marshaller_add_int32(m, src->dx); + spice_marshaller_add_int32(m, src->dy); + spice_marshaller_add_uint16(m, src->buttons_state); +} + +static void spice_marshall_msgc_inputs_mouse_position(SpiceMarshaller *m, SpiceMsgcMousePosition *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcMousePosition *src; + src = (SpiceMsgcMousePosition *)msg; + + spice_marshaller_add_uint32(m, src->x); + spice_marshaller_add_uint32(m, src->y); + spice_marshaller_add_uint16(m, src->buttons_state); + spice_marshaller_add_uint8(m, src->display_id); +} + +static void spice_marshall_msgc_inputs_mouse_press(SpiceMarshaller *m, SpiceMsgcMousePress *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcMousePress *src; + src = (SpiceMsgcMousePress *)msg; + + spice_marshaller_add_uint8(m, src->button); + spice_marshaller_add_uint16(m, src->buttons_state); +} + +static void spice_marshall_msgc_inputs_mouse_release(SpiceMarshaller *m, SpiceMsgcMouseRelease *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcMouseRelease *src; + src = (SpiceMsgcMouseRelease *)msg; + + spice_marshaller_add_uint8(m, src->button); + spice_marshaller_add_uint16(m, src->buttons_state); +} + +static void spice_marshall_msgc_record_data(SpiceMarshaller *m, SpiceMsgcRecordPacket *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcRecordPacket *src; + src = (SpiceMsgcRecordPacket *)msg; + + spice_marshaller_add_uint32(m, src->time); + /* Don't marshall @nomarshal data */ +} + +static void spice_marshall_msgc_record_mode(SpiceMarshaller *m, SpiceMsgcRecordMode *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcRecordMode *src; + src = (SpiceMsgcRecordMode *)msg; + + spice_marshaller_add_uint32(m, src->time); + spice_marshaller_add_uint16(m, src->mode); + /* Remaining data must be appended manually */ +} + +static void spice_marshall_msgc_record_start_mark(SpiceMarshaller *m, SpiceMsgcRecordStartMark *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcRecordStartMark *src; + src = (SpiceMsgcRecordStartMark *)msg; + + spice_marshaller_add_uint32(m, src->time); +} + +SPICE_GNUC_UNUSED static void spice_marshall_array_uint8(SpiceMarshaller *m, uint8_t *ptr, unsigned count) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + uint32_t i; + + for (i = 0; i < count; i++) { + spice_marshaller_add_uint8(m, *ptr++); + } +} + +static void spice_marshall_msgc_tunnel_service_add(SpiceMarshaller *m, SpiceMsgcTunnelAddGenericService *msg, SpiceMarshaller **name_out, SpiceMarshaller **description_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcTunnelAddGenericService *src; + uint32_t i; + *name_out = NULL; + *description_out = NULL; + src = (SpiceMsgcTunnelAddGenericService *)msg; + + spice_marshaller_add_uint16(m, src->type); + spice_marshaller_add_uint32(m, src->id); + spice_marshaller_add_uint32(m, src->group); + spice_marshaller_add_uint32(m, src->port); + *name_out = spice_marshaller_get_ptr_submarshaller(m, 0); + *description_out = spice_marshaller_get_ptr_submarshaller(m, 0); + if (src->type == SPICE_TUNNEL_SERVICE_TYPE_IPP) { + uint8_t *ipv4__element; + spice_marshaller_add_uint16(m, src->u.ip.type); + if (src->u.ip.type == SPICE_TUNNEL_IP_TYPE_IPv4) { + ipv4__element = src->u.ip.u.ipv4; + for (i = 0; i < 4; i++) { + spice_marshaller_add_uint8(m, *ipv4__element); + ipv4__element++; + } + } + } +} + +static void spice_marshall_msgc_tunnel_service_remove(SpiceMarshaller *m, SpiceMsgcTunnelRemoveService *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcTunnelRemoveService *src; + src = (SpiceMsgcTunnelRemoveService *)msg; + + spice_marshaller_add_uint32(m, src->id); +} + +static void spice_marshall_msgc_tunnel_socket_open_ack(SpiceMarshaller *m, SpiceMsgcTunnelSocketOpenAck *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcTunnelSocketOpenAck *src; + src = (SpiceMsgcTunnelSocketOpenAck *)msg; + + spice_marshaller_add_uint16(m, src->connection_id); + spice_marshaller_add_uint32(m, src->tokens); +} + +static void spice_marshall_msgc_tunnel_socket_open_nack(SpiceMarshaller *m, SpiceMsgcTunnelSocketOpenNack *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcTunnelSocketOpenNack *src; + src = (SpiceMsgcTunnelSocketOpenNack *)msg; + + spice_marshaller_add_uint16(m, src->connection_id); +} + +static void spice_marshall_msgc_tunnel_socket_fin(SpiceMarshaller *m, SpiceMsgcTunnelSocketFin *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcTunnelSocketFin *src; + src = (SpiceMsgcTunnelSocketFin *)msg; + + spice_marshaller_add_uint16(m, src->connection_id); +} + +static void spice_marshall_msgc_tunnel_socket_closed(SpiceMarshaller *m, SpiceMsgcTunnelSocketClosed *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcTunnelSocketClosed *src; + src = (SpiceMsgcTunnelSocketClosed *)msg; + + spice_marshaller_add_uint16(m, src->connection_id); +} + +static void spice_marshall_msgc_tunnel_socket_closed_ack(SpiceMarshaller *m, SpiceMsgcTunnelSocketClosedAck *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcTunnelSocketClosedAck *src; + src = (SpiceMsgcTunnelSocketClosedAck *)msg; + + spice_marshaller_add_uint16(m, src->connection_id); +} + +static void spice_marshall_msgc_tunnel_socket_data(SpiceMarshaller *m, SpiceMsgcTunnelSocketData *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcTunnelSocketData *src; + src = (SpiceMsgcTunnelSocketData *)msg; + + spice_marshaller_add_uint16(m, src->connection_id); + /* Remaining data must be appended manually */ +} + +static void spice_marshall_msgc_tunnel_socket_token(SpiceMarshaller *m, SpiceMsgcTunnelSocketTokens *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcTunnelSocketTokens *src; + src = (SpiceMsgcTunnelSocketTokens *)msg; + + spice_marshaller_add_uint16(m, src->connection_id); + spice_marshaller_add_uint32(m, src->num_tokens); +} + +#ifdef USE_SMARTCARD +static void spice_marshall_msgc_smartcard_data(SpiceMarshaller *m, SpiceMsgcSmartcard *msg, SpiceMarshaller **reader_name_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcSmartcard *src; + *reader_name_out = NULL; + src = (SpiceMsgcSmartcard *)msg; + + /* header */ { + spice_marshaller_add_uint32(m, src->header.type); + spice_marshaller_add_uint32(m, src->header.reader_id); + spice_marshaller_add_uint32(m, src->header.length); + } + if (src->header.type == SPICE_VSC_MESSAGE_TYPE_ReaderAdd) { + /* Don't marshall @nomarshal reader_name */ + } else if (src->header.type == SPICE_VSC_MESSAGE_TYPE_ATR || src->header.type == SPICE_VSC_MESSAGE_TYPE_APDU) { + /* Remaining data must be appended manually */ + } else if (src->header.type == SPICE_VSC_MESSAGE_TYPE_Error) { + spice_marshaller_add_uint32(m, src->error.code); + } +} + +static void spice_marshall_msgc_smartcard_header(SpiceMarshaller *m, VSCMsgHeader *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + VSCMsgHeader *src; + src = (VSCMsgHeader *)msg; + + spice_marshaller_add_uint32(m, src->type); + spice_marshaller_add_uint32(m, src->reader_id); + spice_marshaller_add_uint32(m, src->length); +} + +static void spice_marshall_msgc_smartcard_error(SpiceMarshaller *m, VSCMsgError *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + VSCMsgError *src; + src = (VSCMsgError *)msg; + + spice_marshaller_add_uint32(m, src->code); +} + +static void spice_marshall_msgc_smartcard_atr(SpiceMarshaller *m, VSCMsgATR *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; +} + +static void spice_marshall_msgc_smartcard_reader_add(SpiceMarshaller *m, VSCMsgReaderAdd *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; +} + +#endif /* USE_SMARTCARD */ +static void spice_marshall_msgc_port_event(SpiceMarshaller *m, SpiceMsgcPortEvent *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcPortEvent *src; + src = (SpiceMsgcPortEvent *)msg; + + spice_marshaller_add_uint8(m, src->event); +} + +SpiceMessageMarshallers * spice_message_marshallers_get(void) +{ + static SpiceMessageMarshallers marshallers = {NULL}; + + marshallers.msg_SpiceMsgData = spice_marshall_SpiceMsgData; + marshallers.msg_SpiceMsgEmpty = spice_marshall_SpiceMsgEmpty; + marshallers.msgc_ack_sync = spice_marshall_msgc_ack_sync; + marshallers.msgc_disconnecting = spice_marshall_msgc_disconnecting; + marshallers.msgc_display_init = spice_marshall_msgc_display_init; + marshallers.msgc_inputs_key_down = spice_marshall_msgc_inputs_key_down; +#ifdef CONFIG_MARU + marshallers.msgc_inputs_tizen_keydown = spice_marshall_msgc_inputs_tizen_keydown; + marshallers.msgc_inputs_tizen_keyup = spice_marshall_msgc_inputs_tizen_keyup; +#endif + marshallers.msgc_inputs_key_modifiers = spice_marshall_msgc_inputs_key_modifiers; + marshallers.msgc_inputs_key_up = spice_marshall_msgc_inputs_key_up; + marshallers.msgc_inputs_mouse_motion = spice_marshall_msgc_inputs_mouse_motion; + marshallers.msgc_inputs_mouse_position = spice_marshall_msgc_inputs_mouse_position; + marshallers.msgc_inputs_mouse_press = spice_marshall_msgc_inputs_mouse_press; + marshallers.msgc_inputs_mouse_release = spice_marshall_msgc_inputs_mouse_release; + marshallers.msgc_main_agent_start = spice_marshall_msgc_main_agent_start; + marshallers.msgc_main_agent_token = spice_marshall_msgc_main_agent_token; + marshallers.msgc_main_client_info = spice_marshall_msgc_main_client_info; + marshallers.msgc_main_migrate_dst_do_seamless = spice_marshall_msgc_main_migrate_dst_do_seamless; + marshallers.msgc_main_mouse_mode_request = spice_marshall_msgc_main_mouse_mode_request; + marshallers.msgc_pong = spice_marshall_msgc_pong; + marshallers.msgc_port_event = spice_marshall_msgc_port_event; + marshallers.msgc_record_data = spice_marshall_msgc_record_data; + marshallers.msgc_record_mode = spice_marshall_msgc_record_mode; + marshallers.msgc_record_start_mark = spice_marshall_msgc_record_start_mark; +#ifdef USE_SMARTCARD + marshallers.msgc_smartcard_atr = spice_marshall_msgc_smartcard_atr; +#endif /* USE_SMARTCARD */ +#ifdef USE_SMARTCARD + marshallers.msgc_smartcard_data = spice_marshall_msgc_smartcard_data; +#endif /* USE_SMARTCARD */ +#ifdef USE_SMARTCARD + marshallers.msgc_smartcard_error = spice_marshall_msgc_smartcard_error; +#endif /* USE_SMARTCARD */ +#ifdef USE_SMARTCARD + marshallers.msgc_smartcard_header = spice_marshall_msgc_smartcard_header; +#endif /* USE_SMARTCARD */ +#ifdef USE_SMARTCARD + marshallers.msgc_smartcard_reader_add = spice_marshall_msgc_smartcard_reader_add; +#endif /* USE_SMARTCARD */ + marshallers.msgc_tunnel_service_add = spice_marshall_msgc_tunnel_service_add; + marshallers.msgc_tunnel_service_remove = spice_marshall_msgc_tunnel_service_remove; + marshallers.msgc_tunnel_socket_closed = spice_marshall_msgc_tunnel_socket_closed; + marshallers.msgc_tunnel_socket_closed_ack = spice_marshall_msgc_tunnel_socket_closed_ack; + marshallers.msgc_tunnel_socket_data = spice_marshall_msgc_tunnel_socket_data; + marshallers.msgc_tunnel_socket_fin = spice_marshall_msgc_tunnel_socket_fin; + marshallers.msgc_tunnel_socket_open_ack = spice_marshall_msgc_tunnel_socket_open_ack; + marshallers.msgc_tunnel_socket_open_nack = spice_marshall_msgc_tunnel_socket_open_nack; + marshallers.msgc_tunnel_socket_token = spice_marshall_msgc_tunnel_socket_token; + + return &marshallers; +} + diff --git a/tizen/distrib/remote/common/spice-common/common/generated_client_marshallers1.c b/tizen/distrib/remote/common/spice-common/common/generated_client_marshallers1.c new file mode 100644 index 0000000..15641af --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/generated_client_marshallers1.c @@ -0,0 +1,234 @@ +/* this is a file autogenerated by spice_codegen.py */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include "messages.h" +#include "client_marshallers.h" +#include <string.h> +#include <assert.h> +#include <stdlib.h> +#include <stdio.h> +#include <spice/protocol.h> +#include <spice/macros.h> +#include "marshaller.h" + +#ifdef _MSC_VER +#pragma warning(disable:4101) +#pragma warning(disable:4018) +#endif + +static void spice_marshall_msgc_ack_sync(SpiceMarshaller *m, SpiceMsgcAckSync *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcAckSync *src; + src = (SpiceMsgcAckSync *)msg; + + spice_marshaller_add_uint32(m, src->generation); +} + +static void spice_marshall_SpiceMsgEmpty(SpiceMarshaller *m, SpiceMsgEmpty *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; +} + +static void spice_marshall_msgc_pong(SpiceMarshaller *m, SpiceMsgPing *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgPing *src; + src = (SpiceMsgPing *)msg; + + spice_marshaller_add_uint32(m, src->id); + spice_marshaller_add_uint64(m, src->timestamp); +} + +static void spice_marshall_SpiceMsgData(SpiceMarshaller *m, SpiceMsgData *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; +} + +static void spice_marshall_msgc_disconnecting(SpiceMarshaller *m, SpiceMsgDisconnect *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgDisconnect *src; + src = (SpiceMsgDisconnect *)msg; + + spice_marshaller_add_uint64(m, src->time_stamp); + spice_marshaller_add_uint32(m, src->reason); +} + +static void spice_marshall_msgc_main_client_info(SpiceMarshaller *m, SpiceMsgcClientInfo *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcClientInfo *src; + src = (SpiceMsgcClientInfo *)msg; + + spice_marshaller_add_uint64(m, src->cache_size); +} + +static void spice_marshall_msgc_main_mouse_mode_request(SpiceMarshaller *m, SpiceMsgcMainMouseModeRequest *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcMainMouseModeRequest *src; + src = (SpiceMsgcMainMouseModeRequest *)msg; + + spice_marshaller_add_uint32(m, src->mode); +} + +static void spice_marshall_msgc_main_agent_start(SpiceMarshaller *m, SpiceMsgcMainAgentStart *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcMainAgentStart *src; + src = (SpiceMsgcMainAgentStart *)msg; + + spice_marshaller_add_uint32(m, src->num_tokens); +} + +static void spice_marshall_msgc_main_agent_token(SpiceMarshaller *m, SpiceMsgcMainAgentTokens *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcMainAgentTokens *src; + src = (SpiceMsgcMainAgentTokens *)msg; + + spice_marshaller_add_uint32(m, src->num_tokens); +} + +static void spice_marshall_msgc_display_init(SpiceMarshaller *m, SpiceMsgcDisplayInit *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcDisplayInit *src; + src = (SpiceMsgcDisplayInit *)msg; + + spice_marshaller_add_uint8(m, src->pixmap_cache_id); + spice_marshaller_add_int64(m, src->pixmap_cache_size); + spice_marshaller_add_uint8(m, src->glz_dictionary_id); + spice_marshaller_add_int32(m, src->glz_dictionary_window_size); +} + +static void spice_marshall_msgc_inputs_key_down(SpiceMarshaller *m, SpiceMsgcKeyDown *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcKeyDown *src; + src = (SpiceMsgcKeyDown *)msg; + + spice_marshaller_add_uint32(m, src->code); +} + +static void spice_marshall_msgc_inputs_key_up(SpiceMarshaller *m, SpiceMsgcKeyUp *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcKeyUp *src; + src = (SpiceMsgcKeyUp *)msg; + + spice_marshaller_add_uint32(m, src->code); +} + +static void spice_marshall_msgc_inputs_key_modifiers(SpiceMarshaller *m, SpiceMsgcKeyModifiers *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcKeyModifiers *src; + src = (SpiceMsgcKeyModifiers *)msg; + + spice_marshaller_add_uint32(m, src->modifiers); +} + +static void spice_marshall_msgc_inputs_mouse_motion(SpiceMarshaller *m, SpiceMsgcMouseMotion *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcMouseMotion *src; + src = (SpiceMsgcMouseMotion *)msg; + + spice_marshaller_add_int32(m, src->dx); + spice_marshaller_add_int32(m, src->dy); + spice_marshaller_add_uint32(m, src->buttons_state); +} + +static void spice_marshall_msgc_inputs_mouse_position(SpiceMarshaller *m, SpiceMsgcMousePosition *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcMousePosition *src; + src = (SpiceMsgcMousePosition *)msg; + + spice_marshaller_add_uint32(m, src->x); + spice_marshaller_add_uint32(m, src->y); + spice_marshaller_add_uint32(m, src->buttons_state); + spice_marshaller_add_uint8(m, src->display_id); +} + +static void spice_marshall_msgc_inputs_mouse_press(SpiceMarshaller *m, SpiceMsgcMousePress *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcMousePress *src; + src = (SpiceMsgcMousePress *)msg; + + spice_marshaller_add_uint32(m, src->button); + spice_marshaller_add_uint32(m, src->buttons_state); +} + +static void spice_marshall_msgc_inputs_mouse_release(SpiceMarshaller *m, SpiceMsgcMouseRelease *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcMouseRelease *src; + src = (SpiceMsgcMouseRelease *)msg; + + spice_marshaller_add_uint32(m, src->button); + spice_marshaller_add_uint32(m, src->buttons_state); +} + +static void spice_marshall_msgc_record_data(SpiceMarshaller *m, SpiceMsgcRecordPacket *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcRecordPacket *src; + src = (SpiceMsgcRecordPacket *)msg; + + spice_marshaller_add_uint32(m, src->time); + /* Don't marshall @nomarshal data */ +} + +static void spice_marshall_msgc_record_mode(SpiceMarshaller *m, SpiceMsgcRecordMode *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcRecordMode *src; + src = (SpiceMsgcRecordMode *)msg; + + spice_marshaller_add_uint32(m, src->time); + spice_marshaller_add_uint32(m, src->mode); + /* Remaining data must be appended manually */ +} + +static void spice_marshall_msgc_record_start_mark(SpiceMarshaller *m, SpiceMsgcRecordStartMark *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgcRecordStartMark *src; + src = (SpiceMsgcRecordStartMark *)msg; + + spice_marshaller_add_uint32(m, src->time); +} + +SpiceMessageMarshallers * spice_message_marshallers_get1(void) +{ + static SpiceMessageMarshallers marshallers = {NULL}; + + marshallers.msg_SpiceMsgData = spice_marshall_SpiceMsgData; + marshallers.msg_SpiceMsgEmpty = spice_marshall_SpiceMsgEmpty; + marshallers.msgc_ack_sync = spice_marshall_msgc_ack_sync; + marshallers.msgc_disconnecting = spice_marshall_msgc_disconnecting; + marshallers.msgc_display_init = spice_marshall_msgc_display_init; + marshallers.msgc_inputs_key_down = spice_marshall_msgc_inputs_key_down; + marshallers.msgc_inputs_key_modifiers = spice_marshall_msgc_inputs_key_modifiers; + marshallers.msgc_inputs_key_up = spice_marshall_msgc_inputs_key_up; + marshallers.msgc_inputs_mouse_motion = spice_marshall_msgc_inputs_mouse_motion; + marshallers.msgc_inputs_mouse_position = spice_marshall_msgc_inputs_mouse_position; + marshallers.msgc_inputs_mouse_press = spice_marshall_msgc_inputs_mouse_press; + marshallers.msgc_inputs_mouse_release = spice_marshall_msgc_inputs_mouse_release; + marshallers.msgc_main_agent_start = spice_marshall_msgc_main_agent_start; + marshallers.msgc_main_agent_token = spice_marshall_msgc_main_agent_token; + marshallers.msgc_main_client_info = spice_marshall_msgc_main_client_info; + marshallers.msgc_main_mouse_mode_request = spice_marshall_msgc_main_mouse_mode_request; + marshallers.msgc_pong = spice_marshall_msgc_pong; + marshallers.msgc_record_data = spice_marshall_msgc_record_data; + marshallers.msgc_record_mode = spice_marshall_msgc_record_mode; + marshallers.msgc_record_start_mark = spice_marshall_msgc_record_start_mark; + + return &marshallers; +} + diff --git a/tizen/distrib/remote/common/spice-common/common/generated_server_demarshallers.c b/tizen/distrib/remote/common/spice-common/common/generated_server_demarshallers.c new file mode 100644 index 0000000..c5b4b6c --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/generated_server_demarshallers.c @@ -0,0 +1,1996 @@ +/* this is a file autogenerated by spice_codegen.py */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include "messages.h" +#include <string.h> +#include <assert.h> +#include <stdlib.h> +#include <stdio.h> +#include <spice/protocol.h> +#include <spice/macros.h> +#include "mem.h" + +#ifdef _MSC_VER +#pragma warning(disable:4101) +#endif + + + +#ifdef WORDS_BIGENDIAN +#define read_int8(ptr) (*((int8_t *)(ptr))) +#define write_int8(ptr, val) *(int8_t *)(ptr) = val +#define read_uint8(ptr) (*((uint8_t *)(ptr))) +#define write_uint8(ptr, val) *(uint8_t *)(ptr) = val +#define read_int16(ptr) ((int16_t)SPICE_BYTESWAP16(*((uint16_t *)(ptr)))) +#define write_int16(ptr, val) *(uint16_t *)(ptr) = SPICE_BYTESWAP16((uint16_t)val) +#define read_uint16(ptr) ((uint16_t)SPICE_BYTESWAP16(*((uint16_t *)(ptr)))) +#define write_uint16(ptr, val) *(uint16_t *)(ptr) = SPICE_BYTESWAP16((uint16_t)val) +#define read_int32(ptr) ((int32_t)SPICE_BYTESWAP32(*((uint32_t *)(ptr)))) +#define write_int32(ptr, val) *(uint32_t *)(ptr) = SPICE_BYTESWAP32((uint32_t)val) +#define read_uint32(ptr) ((uint32_t)SPICE_BYTESWAP32(*((uint32_t *)(ptr)))) +#define write_uint32(ptr, val) *(uint32_t *)(ptr) = SPICE_BYTESWAP32((uint32_t)val) +#define read_int64(ptr) ((int64_t)SPICE_BYTESWAP64(*((uint64_t *)(ptr)))) +#define write_int64(ptr, val) *(uint64_t *)(ptr) = SPICE_BYTESWAP64((uint64_t)val) +#define read_uint64(ptr) ((uint64_t)SPICE_BYTESWAP64(*((uint64_t *)(ptr)))) +#define write_uint64(ptr, val) *(uint64_t *)(ptr) = SPICE_BYTESWAP64((uint64_t)val) +#else +#define read_int8(ptr) (*((int8_t *)(ptr))) +#define write_int8(ptr, val) (*((int8_t *)(ptr))) = val +#define read_uint8(ptr) (*((uint8_t *)(ptr))) +#define write_uint8(ptr, val) (*((uint8_t *)(ptr))) = val +#define read_int16(ptr) (*((int16_t *)(ptr))) +#define write_int16(ptr, val) (*((int16_t *)(ptr))) = val +#define read_uint16(ptr) (*((uint16_t *)(ptr))) +#define write_uint16(ptr, val) (*((uint16_t *)(ptr))) = val +#define read_int32(ptr) (*((int32_t *)(ptr))) +#define write_int32(ptr, val) (*((int32_t *)(ptr))) = val +#define read_uint32(ptr) (*((uint32_t *)(ptr))) +#define write_uint32(ptr, val) (*((uint32_t *)(ptr))) = val +#define read_int64(ptr) (*((int64_t *)(ptr))) +#define write_int64(ptr, val) (*((int64_t *)(ptr))) = val +#define read_uint64(ptr) (*((uint64_t *)(ptr))) +#define write_uint64(ptr, val) (*((uint64_t *)(ptr))) = val +#endif + +static int8_t SPICE_GNUC_UNUSED consume_int8(uint8_t **ptr) +{ + int8_t val; + val = read_int8(*ptr); + *ptr += 1; + return val; +} + +static uint8_t SPICE_GNUC_UNUSED consume_uint8(uint8_t **ptr) +{ + uint8_t val; + val = read_uint8(*ptr); + *ptr += 1; + return val; +} + +static int16_t SPICE_GNUC_UNUSED consume_int16(uint8_t **ptr) +{ + int16_t val; + val = read_int16(*ptr); + *ptr += 2; + return val; +} + +static uint16_t SPICE_GNUC_UNUSED consume_uint16(uint8_t **ptr) +{ + uint16_t val; + val = read_uint16(*ptr); + *ptr += 2; + return val; +} + +static int32_t SPICE_GNUC_UNUSED consume_int32(uint8_t **ptr) +{ + int32_t val; + val = read_int32(*ptr); + *ptr += 4; + return val; +} + +static uint32_t SPICE_GNUC_UNUSED consume_uint32(uint8_t **ptr) +{ + uint32_t val; + val = read_uint32(*ptr); + *ptr += 4; + return val; +} + +static int64_t SPICE_GNUC_UNUSED consume_int64(uint8_t **ptr) +{ + int64_t val; + val = read_int64(*ptr); + *ptr += 8; + return val; +} + +static uint64_t SPICE_GNUC_UNUSED consume_uint64(uint8_t **ptr) +{ + uint64_t val; + val = read_uint64(*ptr); + *ptr += 8; + return val; +} + +typedef struct PointerInfo PointerInfo; +typedef void (*message_destructor_t)(uint8_t *message); +typedef uint8_t * (*parse_func_t)(uint8_t *message_start, uint8_t *message_end, uint8_t *struct_data, PointerInfo *ptr_info, int minor); +typedef uint8_t * (*parse_msg_func_t)(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size_out, message_destructor_t *free_message); +typedef uint8_t * (*spice_parse_channel_func_t)(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message); + +struct PointerInfo { + uint64_t offset; + parse_func_t parse; + void * *dest; + uint32_t nelements; +}; + +static uint8_t * parse_msgc_ack_sync(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgcAckSync *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgcAckSync); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcAckSync); + in = start; + + out = (SpiceMsgcAckSync *)data; + + out->generation = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_SpiceMsgEmpty(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + + nw_size = 0; + mem_size = sizeof(SpiceMsgEmpty); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgEmpty); + in = start; + + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msgc_pong(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgPing *out; + + nw_size = 12; + mem_size = sizeof(SpiceMsgPing); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgPing); + in = start; + + out = (SpiceMsgPing *)data; + + out->id = consume_uint32(&in); + out->timestamp = consume_uint64(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static void nofree(uint8_t *data) +{ +} + +static uint8_t * parse_SpiceMsgData(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t data__nw_size; + uint32_t data__nelements; + + { /* data */ + data__nelements = message_end - (start + 0); + + data__nw_size = data__nelements; + } + + nw_size = 0 + data__nw_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = message_start; + *size = message_end - message_start; + *free_message = nofree; + return data; + +} + +static uint8_t * parse_msgc_disconnecting(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgDisconnect *out; + + nw_size = 12; + mem_size = sizeof(SpiceMsgDisconnect); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgDisconnect); + in = start; + + out = (SpiceMsgDisconnect *)data; + + out->time_stamp = consume_uint64(&in); + out->reason = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msgc_main_client_info(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgcClientInfo *out; + + nw_size = 8; + mem_size = sizeof(SpiceMsgcClientInfo); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcClientInfo); + in = start; + + out = (SpiceMsgcClientInfo *)data; + + out->cache_size = consume_uint64(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msgc_main_mouse_mode_request(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgcMainMouseModeRequest *out; + + nw_size = 2; + mem_size = sizeof(SpiceMsgcMainMouseModeRequest); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcMainMouseModeRequest); + in = start; + + out = (SpiceMsgcMainMouseModeRequest *)data; + + out->mode = consume_uint16(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msgc_main_agent_start(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgcMainAgentStart *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgcMainAgentStart); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcMainAgentStart); + in = start; + + out = (SpiceMsgcMainAgentStart *)data; + + out->num_tokens = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msgc_main_agent_token(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgcMainAgentTokens *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgcMainAgentTokens); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcMainAgentTokens); + in = start; + + out = (SpiceMsgcMainAgentTokens *)data; + + out->num_tokens = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msgc_main_migrate_dst_do_seamless(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgcMainMigrateDstDoSeamless *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgcMainMigrateDstDoSeamless); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcMainMigrateDstDoSeamless); + in = start; + + out = (SpiceMsgcMainMigrateDstDoSeamless *)data; + + out->src_version = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_MainChannel_msgc(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[6] = { + parse_msgc_ack_sync, + parse_SpiceMsgEmpty, + parse_msgc_pong, + parse_SpiceMsgEmpty, + parse_SpiceMsgData, + parse_msgc_disconnecting + }; + static parse_msg_func_t funcs2[11] = { + parse_msgc_main_client_info, + parse_SpiceMsgEmpty, + parse_SpiceMsgEmpty, + parse_SpiceMsgEmpty, + parse_msgc_main_mouse_mode_request, + parse_msgc_main_agent_start, + parse_SpiceMsgData, + parse_msgc_main_agent_token, + parse_SpiceMsgEmpty, + parse_msgc_main_migrate_dst_do_seamless, + parse_SpiceMsgEmpty + }; + if (message_type >= 1 && message_type < 7) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 101 && message_type < 112) { + return funcs2[message_type-101](message_start, message_end, minor, size_out, free_message); + } + return NULL; +} + + + +static uint8_t * parse_msgc_display_init(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgcDisplayInit *out; + + nw_size = 14; + mem_size = sizeof(SpiceMsgcDisplayInit); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcDisplayInit); + in = start; + + out = (SpiceMsgcDisplayInit *)data; + + out->pixmap_cache_id = consume_uint8(&in); + out->pixmap_cache_size = consume_int64(&in); + out->glz_dictionary_id = consume_uint8(&in); + out->glz_dictionary_window_size = consume_int32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_DisplayChannel_msgc(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[6] = { + parse_msgc_ack_sync, + parse_SpiceMsgEmpty, + parse_msgc_pong, + parse_SpiceMsgEmpty, + parse_SpiceMsgData, + parse_msgc_disconnecting + }; + static parse_msg_func_t funcs2[1] = { + parse_msgc_display_init + }; + if (message_type >= 1 && message_type < 7) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 101 && message_type < 102) { + return funcs2[message_type-101](message_start, message_end, minor, size_out, free_message); + } + return NULL; +} + + + +static uint8_t * parse_msgc_inputs_key_down(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgcKeyDown *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgcKeyDown); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcKeyDown); + in = start; + + out = (SpiceMsgcKeyDown *)data; + + out->code = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msgc_inputs_key_up(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgcKeyUp *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgcKeyUp); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcKeyUp); + in = start; + + out = (SpiceMsgcKeyUp *)data; + + out->code = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msgc_inputs_key_modifiers(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgcKeyModifiers *out; + + nw_size = 2; + mem_size = sizeof(SpiceMsgcKeyModifiers); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcKeyModifiers); + in = start; + + out = (SpiceMsgcKeyModifiers *)data; + + out->modifiers = consume_uint16(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msgc_inputs_mouse_motion(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgcMouseMotion *out; + + nw_size = 10; + mem_size = sizeof(SpiceMsgcMouseMotion); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcMouseMotion); + in = start; + + out = (SpiceMsgcMouseMotion *)data; + + out->dx = consume_int32(&in); + out->dy = consume_int32(&in); + out->buttons_state = consume_uint16(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msgc_inputs_mouse_position(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgcMousePosition *out; + + nw_size = 11; + mem_size = sizeof(SpiceMsgcMousePosition); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcMousePosition); + in = start; + + out = (SpiceMsgcMousePosition *)data; + + out->x = consume_uint32(&in); + out->y = consume_uint32(&in); + out->buttons_state = consume_uint16(&in); + out->display_id = consume_uint8(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msgc_inputs_mouse_press(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgcMousePress *out; + + nw_size = 3; + mem_size = sizeof(SpiceMsgcMousePress); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcMousePress); + in = start; + + out = (SpiceMsgcMousePress *)data; + + out->button = consume_uint8(&in); + out->buttons_state = consume_uint16(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msgc_inputs_mouse_release(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgcMouseRelease *out; + + nw_size = 3; + mem_size = sizeof(SpiceMsgcMouseRelease); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcMouseRelease); + in = start; + + out = (SpiceMsgcMouseRelease *)data; + + out->button = consume_uint8(&in); + out->buttons_state = consume_uint16(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_InputsChannel_msgc(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[6] = { + parse_msgc_ack_sync, + parse_SpiceMsgEmpty, + parse_msgc_pong, + parse_SpiceMsgEmpty, + parse_SpiceMsgData, + parse_msgc_disconnecting + }; + static parse_msg_func_t funcs2[4] = { + parse_msgc_inputs_key_down, + parse_msgc_inputs_key_up, + parse_msgc_inputs_key_modifiers, + parse_SpiceMsgData + }; + static parse_msg_func_t funcs3[4] = { + parse_msgc_inputs_mouse_motion, + parse_msgc_inputs_mouse_position, + parse_msgc_inputs_mouse_press, + parse_msgc_inputs_mouse_release + }; + +#ifdef CONFIG_MARU + if (message_type >= 121 && message_type < 123) { + return funcs2[message_type - 121](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 123) { + return funcs2[0](message_start, message_end, minor, size_out, free_message); + } +#endif + + if (message_type >= 1 && message_type < 7) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 101 && message_type < 105) { + return funcs2[message_type-101](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 111 && message_type < 115) { + return funcs3[message_type-111](message_start, message_end, minor, size_out, free_message); + } + + return NULL; +} + +static uint8_t * parse_CursorChannel_msgc(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[6] = { + parse_msgc_ack_sync, + parse_SpiceMsgEmpty, + parse_msgc_pong, + parse_SpiceMsgEmpty, + parse_SpiceMsgData, + parse_msgc_disconnecting + }; + if (message_type >= 1 && message_type < 7) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } + return NULL; +} + + + +static uint8_t * parse_PlaybackChannel_msgc(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[6] = { + parse_msgc_ack_sync, + parse_SpiceMsgEmpty, + parse_msgc_pong, + parse_SpiceMsgEmpty, + parse_SpiceMsgData, + parse_msgc_disconnecting + }; + if (message_type >= 1 && message_type < 7) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } + return NULL; +} + + + +static uint8_t * parse_msgc_record_data(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t data__nw_size; + uint32_t data__nelements; + SpiceMsgcRecordPacket *out; + + { /* data */ + data__nelements = message_end - (start + 4); + + data__nw_size = data__nelements; + } + + nw_size = 4 + data__nw_size; + mem_size = sizeof(SpiceMsgcRecordPacket); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcRecordPacket); + in = start; + + out = (SpiceMsgcRecordPacket *)data; + + out->time = consume_uint32(&in); + /* use array as pointer */ + out->data = (uint8_t *)in; + out->data_size = data__nelements; + in += data__nelements; + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msgc_record_mode(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t data__nw_size; + uint32_t data__nelements; + SpiceMsgcRecordMode *out; + + { /* data */ + data__nelements = message_end - (start + 6); + + data__nw_size = data__nelements; + } + + nw_size = 6 + data__nw_size; + mem_size = sizeof(SpiceMsgcRecordMode); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcRecordMode); + in = start; + + out = (SpiceMsgcRecordMode *)data; + + out->time = consume_uint32(&in); + out->mode = consume_uint16(&in); + /* use array as pointer */ + out->data = (uint8_t *)in; + out->data_size = data__nelements; + in += data__nelements; + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msgc_record_start_mark(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgcRecordStartMark *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgcRecordStartMark); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcRecordStartMark); + in = start; + + out = (SpiceMsgcRecordStartMark *)data; + + out->time = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_RecordChannel_msgc(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[6] = { + parse_msgc_ack_sync, + parse_SpiceMsgEmpty, + parse_msgc_pong, + parse_SpiceMsgEmpty, + parse_SpiceMsgData, + parse_msgc_disconnecting + }; + static parse_msg_func_t funcs2[3] = { + parse_msgc_record_data, + parse_msgc_record_mode, + parse_msgc_record_start_mark + }; + if (message_type >= 1 && message_type < 7) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 101 && message_type < 104) { + return funcs2[message_type-101](message_start, message_end, minor, size_out, free_message); + } + return NULL; +} + + + +static uint8_t * parse_msgc_tunnel_service_add(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SPICE_GNUC_UNUSED intptr_t ptr_size; + uint32_t n_ptr=0; + PointerInfo ptr_info[2]; + size_t name__extra_size; + size_t description__extra_size; + size_t u__nw_size; + uint16_t type__value; + SpiceMsgcTunnelAddGenericService *out; + uint32_t i; + + { /* name */ + uint32_t name__value; + uint32_t name__array__nw_size; + pos = (start + 14); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + name__value = read_uint32(pos); + if (SPICE_UNLIKELY(message_start + name__value >= message_end)) { + goto error; + } + name__array__nw_size = spice_strnlen((char *)message_start + name__value, message_end - (message_start + name__value)); + if (SPICE_UNLIKELY(*(message_start + name__value + name__array__nw_size) != 0)) { + goto error; + } + /* @nocopy, so no extra size */ + name__extra_size = 0; + } + + { /* description */ + uint32_t description__value; + uint32_t description__array__nw_size; + pos = (start + 18); + if (SPICE_UNLIKELY(pos + 4 > message_end)) { + goto error; + } + description__value = read_uint32(pos); + if (SPICE_UNLIKELY(message_start + description__value >= message_end)) { + goto error; + } + description__array__nw_size = spice_strnlen((char *)message_start + description__value, message_end - (message_start + description__value)); + if (SPICE_UNLIKELY(*(message_start + description__value + description__array__nw_size) != 0)) { + goto error; + } + /* @nocopy, so no extra size */ + description__extra_size = 0; + } + + { /* u */ + pos = start + 0; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + type__value = read_uint16(pos); + if (type__value == SPICE_TUNNEL_SERVICE_TYPE_IPP) { + SPICE_GNUC_UNUSED uint8_t *start2 = (start + 22); + size_t u__nw_size; + uint16_t type__value; + { /* u */ + uint32_t u__nelements; + pos = start2 + 0; + if (SPICE_UNLIKELY(pos + 2 > message_end)) { + goto error; + } + type__value = read_uint16(pos); + if (type__value == SPICE_TUNNEL_IP_TYPE_IPv4) { + u__nelements = 4; + + u__nw_size = u__nelements; + } else { + u__nw_size = 0; + } + + } + + u__nw_size = 2 + u__nw_size; + } else { + u__nw_size = 0; + } + + } + + nw_size = 22 + u__nw_size; + mem_size = sizeof(SpiceMsgcTunnelAddGenericService) + name__extra_size + description__extra_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcTunnelAddGenericService); + in = start; + + out = (SpiceMsgcTunnelAddGenericService *)data; + + out->type = consume_uint16(&in); + out->id = consume_uint32(&in); + out->group = consume_uint32(&in); + out->port = consume_uint32(&in); + /* Reuse data from network message */ + out->name = (size_t)(message_start + consume_uint32(&in)); + /* Reuse data from network message */ + out->description = (size_t)(message_start + consume_uint32(&in)); + if (out->type == SPICE_TUNNEL_SERVICE_TYPE_IPP) { + out->u.ip.type = consume_uint16(&in); + if (out->u.ip.type == SPICE_TUNNEL_IP_TYPE_IPv4) { + uint32_t ipv4__nelements; + ipv4__nelements = 4; + memcpy(out->u.ip.u.ipv4, in, ipv4__nelements); + in += ipv4__nelements; + } + } + + assert(in <= message_end); + + for (i = 0; i < n_ptr; i++) { + if (ptr_info[i].offset == 0) { + *ptr_info[i].dest = NULL; + } else { + /* Align to 32 bit */ + end = (uint8_t *)SPICE_ALIGN((size_t)end, 4); + *ptr_info[i].dest = (void *)end; + end = ptr_info[i].parse(message_start, message_end, end, &ptr_info[i], minor); + if (SPICE_UNLIKELY(end == NULL)) { + goto error; + } + } + } + + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msgc_tunnel_service_remove(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgcTunnelRemoveService *out; + + nw_size = 4; + mem_size = sizeof(SpiceMsgcTunnelRemoveService); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcTunnelRemoveService); + in = start; + + out = (SpiceMsgcTunnelRemoveService *)data; + + out->id = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msgc_tunnel_socket_open_ack(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgcTunnelSocketOpenAck *out; + + nw_size = 6; + mem_size = sizeof(SpiceMsgcTunnelSocketOpenAck); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcTunnelSocketOpenAck); + in = start; + + out = (SpiceMsgcTunnelSocketOpenAck *)data; + + out->connection_id = consume_uint16(&in); + out->tokens = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msgc_tunnel_socket_open_nack(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgcTunnelSocketOpenNack *out; + + nw_size = 2; + mem_size = sizeof(SpiceMsgcTunnelSocketOpenNack); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcTunnelSocketOpenNack); + in = start; + + out = (SpiceMsgcTunnelSocketOpenNack *)data; + + out->connection_id = consume_uint16(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msgc_tunnel_socket_fin(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgcTunnelSocketFin *out; + + nw_size = 2; + mem_size = sizeof(SpiceMsgcTunnelSocketFin); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcTunnelSocketFin); + in = start; + + out = (SpiceMsgcTunnelSocketFin *)data; + + out->connection_id = consume_uint16(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msgc_tunnel_socket_closed(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgcTunnelSocketClosed *out; + + nw_size = 2; + mem_size = sizeof(SpiceMsgcTunnelSocketClosed); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcTunnelSocketClosed); + in = start; + + out = (SpiceMsgcTunnelSocketClosed *)data; + + out->connection_id = consume_uint16(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msgc_tunnel_socket_closed_ack(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgcTunnelSocketClosedAck *out; + + nw_size = 2; + mem_size = sizeof(SpiceMsgcTunnelSocketClosedAck); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcTunnelSocketClosedAck); + in = start; + + out = (SpiceMsgcTunnelSocketClosedAck *)data; + + out->connection_id = consume_uint16(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msgc_tunnel_socket_data(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + size_t data__nw_size, data__mem_size; + uint32_t data__nelements; + SpiceMsgcTunnelSocketData *out; + + { /* data */ + data__nelements = message_end - (start + 2); + + data__nw_size = data__nelements; + data__mem_size = sizeof(uint8_t) * data__nelements; + } + + nw_size = 2 + data__nw_size; + mem_size = sizeof(SpiceMsgcTunnelSocketData) + data__mem_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcTunnelSocketData); + in = start; + + out = (SpiceMsgcTunnelSocketData *)data; + + out->connection_id = consume_uint16(&in); + memcpy(out->data, in, data__nelements); + in += data__nelements; + end += data__nelements; + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_msgc_tunnel_socket_token(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgcTunnelSocketTokens *out; + + nw_size = 6; + mem_size = sizeof(SpiceMsgcTunnelSocketTokens); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcTunnelSocketTokens); + in = start; + + out = (SpiceMsgcTunnelSocketTokens *)data; + + out->connection_id = consume_uint16(&in); + out->num_tokens = consume_uint32(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_TunnelChannel_msgc(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[6] = { + parse_msgc_ack_sync, + parse_SpiceMsgEmpty, + parse_msgc_pong, + parse_SpiceMsgEmpty, + parse_SpiceMsgData, + parse_msgc_disconnecting + }; + static parse_msg_func_t funcs2[9] = { + parse_msgc_tunnel_service_add, + parse_msgc_tunnel_service_remove, + parse_msgc_tunnel_socket_open_ack, + parse_msgc_tunnel_socket_open_nack, + parse_msgc_tunnel_socket_fin, + parse_msgc_tunnel_socket_closed, + parse_msgc_tunnel_socket_closed_ack, + parse_msgc_tunnel_socket_data, + parse_msgc_tunnel_socket_token + }; + if (message_type >= 1 && message_type < 7) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 101 && message_type < 110) { + return funcs2[message_type-101](message_start, message_end, minor, size_out, free_message); + } + return NULL; +} + + +#ifdef USE_SMARTCARD + +static uint8_t * parse_msgc_smartcard_reader_add(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + uint8_t *in, *end; + size_t reader_name__nw_size; + uint32_t reader_name__nelements; + VSCMsgReaderAdd *out; + + { /* reader_name */ + reader_name__nelements = message_end - (start + 0); + + reader_name__nw_size = reader_name__nelements; + } + + nw_size = 0 + reader_name__nw_size; + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(VSCMsgReaderAdd); + in = start; + + out = (VSCMsgReaderAdd *)data; + + memcpy(out->reader_name, in, reader_name__nelements); + in += reader_name__nelements; + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_SmartcardChannel_msgc(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[6] = { + parse_msgc_ack_sync, + parse_SpiceMsgEmpty, + parse_msgc_pong, + parse_SpiceMsgEmpty, + parse_SpiceMsgData, + parse_msgc_disconnecting + }; + static parse_msg_func_t funcs2[1] = { + parse_msgc_smartcard_reader_add + }; + if (message_type >= 1 && message_type < 7) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 101 && message_type < 102) { + return funcs2[message_type-101](message_start, message_end, minor, size_out, free_message); + } + return NULL; +} +#endif /* USE_SMARTCARD */ + + + +static uint8_t * parse_UsbredirChannel_msgc(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[6] = { + parse_msgc_ack_sync, + parse_SpiceMsgEmpty, + parse_msgc_pong, + parse_SpiceMsgEmpty, + parse_SpiceMsgData, + parse_msgc_disconnecting + }; + static parse_msg_func_t funcs2[1] = { + parse_SpiceMsgData + }; + if (message_type >= 1 && message_type < 7) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 101 && message_type < 102) { + return funcs2[message_type-101](message_start, message_end, minor, size_out, free_message); + } + return NULL; +} + + + +static uint8_t * parse_msgc_port_event(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message) +{ + SPICE_GNUC_UNUSED uint8_t *pos; + uint8_t *start = message_start; + uint8_t *data = NULL; + size_t nw_size; + size_t mem_size; + uint8_t *in, *end; + SpiceMsgcPortEvent *out; + + nw_size = 1; + mem_size = sizeof(SpiceMsgcPortEvent); + + /* Check if message fits in reported side */ + if (start + nw_size > message_end) { + return NULL; + } + + /* Validated extents and calculated size */ + data = (uint8_t *)malloc(mem_size); + if (SPICE_UNLIKELY(data == NULL)) { + goto error; + } + end = data + sizeof(SpiceMsgcPortEvent); + in = start; + + out = (SpiceMsgcPortEvent *)data; + + out->event = consume_uint8(&in); + + assert(in <= message_end); + assert(end <= data + mem_size); + + *size = end - data; + *free_message = (message_destructor_t) free; + return data; + + error: + if (data != NULL) { + free(data); + } + return NULL; +} + +static uint8_t * parse_PortChannel_msgc(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + static parse_msg_func_t funcs1[6] = { + parse_msgc_ack_sync, + parse_SpiceMsgEmpty, + parse_msgc_pong, + parse_SpiceMsgEmpty, + parse_SpiceMsgData, + parse_msgc_disconnecting + }; + static parse_msg_func_t funcs2[1] = { + parse_SpiceMsgData + }; + static parse_msg_func_t funcs3[1] = { + parse_msgc_port_event + }; + if (message_type >= 1 && message_type < 7) { + return funcs1[message_type-1](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 101 && message_type < 102) { + return funcs2[message_type-101](message_start, message_end, minor, size_out, free_message); + } else if (message_type >= 201 && message_type < 202) { + return funcs3[message_type-201](message_start, message_end, minor, size_out, free_message); + } + return NULL; +} + +spice_parse_channel_func_t spice_get_client_channel_parser(uint32_t channel, unsigned int *max_message_type) +{ + static struct {spice_parse_channel_func_t func; unsigned int max_messages; } channels[11] = { + { NULL, 0 }, + { parse_MainChannel_msgc, 111}, + { parse_DisplayChannel_msgc, 101}, + { parse_InputsChannel_msgc, 114}, + { parse_CursorChannel_msgc, 6}, + { parse_PlaybackChannel_msgc, 6}, + { parse_RecordChannel_msgc, 103}, + { parse_TunnelChannel_msgc, 109}, +#ifdef USE_SMARTCARD + { parse_SmartcardChannel_msgc, 101}, +#else /* USE_SMARTCARD */ + { NULL, 0 }, +#endif /* USE_SMARTCARD */ + { parse_UsbredirChannel_msgc, 101}, + { parse_PortChannel_msgc, 201} + }; + if (channel < 11) { + if (max_message_type != NULL) { + *max_message_type = channels[channel].max_messages; + } + return channels[channel].func; + } + return NULL; +} + +uint8_t * spice_parse_reply(uint8_t *message_start, uint8_t *message_end, uint32_t channel, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message) +{ + spice_parse_channel_func_t func; + func = spice_get_client_channel_parser(channel, NULL); + if (func != NULL) { + return func(message_start, message_end, message_type, minor, size_out, free_message); + } + return NULL; +} diff --git a/tizen/distrib/remote/common/spice-common/common/generated_server_marshallers.c b/tizen/distrib/remote/common/spice-common/common/generated_server_marshallers.c new file mode 100644 index 0000000..22e397f --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/generated_server_marshallers.c @@ -0,0 +1,1872 @@ +/* this is a file autogenerated by spice_codegen.py */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include "messages.h" +#include <string.h> +#include <assert.h> +#include <stdlib.h> +#include <stdio.h> +#include <spice/protocol.h> +#include <spice/macros.h> +#include "marshaller.h" + +#ifdef _MSC_VER +#pragma warning(disable:4101) +#pragma warning(disable:4018) +#endif + +void spice_marshall_msg_migrate(SpiceMarshaller *m, SpiceMsgMigrate *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgMigrate *src; + src = (SpiceMsgMigrate *)msg; + + spice_marshaller_add_uint32(m, src->flags); +} + +void spice_marshall_SpiceMsgData(SpiceMarshaller *m, SpiceMsgData *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; +} + +void spice_marshall_msg_set_ack(SpiceMarshaller *m, SpiceMsgSetAck *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgSetAck *src; + src = (SpiceMsgSetAck *)msg; + + spice_marshaller_add_uint32(m, src->generation); + spice_marshaller_add_uint32(m, src->window); +} + +void spice_marshall_msg_ping(SpiceMarshaller *m, SpiceMsgPing *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgPing *src; + src = (SpiceMsgPing *)msg; + + spice_marshaller_add_uint32(m, src->id); + spice_marshaller_add_uint64(m, src->timestamp); + /* Remaining data must be appended manually */ +} + +void spice_marshall_msg_wait_for_channels(SpiceMarshaller *m, SpiceMsgWaitForChannels *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgWaitForChannels *src; + SpiceWaitForChannel *wait_list__element; + uint32_t i; + src = (SpiceMsgWaitForChannels *)msg; + + spice_marshaller_add_uint8(m, src->wait_count); + wait_list__element = src->wait_list; + for (i = 0; i < src->wait_count; i++) { + SpiceWaitForChannel *src2; + src2 = (SpiceWaitForChannel *)wait_list__element; + + spice_marshaller_add_uint8(m, src2->channel_type); + spice_marshaller_add_uint8(m, src2->channel_id); + spice_marshaller_add_uint64(m, src2->message_serial); + wait_list__element++; + } +} + +void spice_marshall_msg_disconnecting(SpiceMarshaller *m, SpiceMsgDisconnect *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgDisconnect *src; + src = (SpiceMsgDisconnect *)msg; + + spice_marshaller_add_uint64(m, src->time_stamp); + spice_marshaller_add_uint32(m, src->reason); +} + +void spice_marshall_msg_notify(SpiceMarshaller *m, SpiceMsgNotify *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgNotify *src; + src = (SpiceMsgNotify *)msg; + + spice_marshaller_add_uint64(m, src->time_stamp); + spice_marshaller_add_uint32(m, src->severity); + spice_marshaller_add_uint32(m, src->visibilty); + spice_marshaller_add_uint32(m, src->what); + spice_marshaller_add_uint32(m, src->message_len); + /* Don't marshall @nomarshal message */ +} + +SPICE_GNUC_UNUSED static void spice_marshall_array_uint8(SpiceMarshaller *m, uint8_t *ptr, unsigned count) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + uint32_t i; + + for (i = 0; i < count; i++) { + spice_marshaller_add_uint8(m, *ptr++); + } +} + +void spice_marshall_msg_main_migrate_begin(SpiceMarshaller *m, SpiceMsgMainMigrationBegin *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgMainMigrationBegin *src; + src = (SpiceMsgMainMigrationBegin *)msg; + + /* dst_info */ { + spice_marshaller_add_uint16(m, src->dst_info.port); + spice_marshaller_add_uint16(m, src->dst_info.sport); + spice_marshaller_add_uint32(m, src->dst_info.host_size); + m2 = spice_marshaller_get_ptr_submarshaller(m, 0); + spice_marshall_array_uint8(m2, src->dst_info.host_data, src->dst_info.host_size); + spice_marshaller_add_uint32(m, src->dst_info.cert_subject_size); + m2 = spice_marshaller_get_ptr_submarshaller(m, 0); + if (src->dst_info.cert_subject_data != NULL) { + spice_marshall_array_uint8(m2, src->dst_info.cert_subject_data, src->dst_info.cert_subject_size); + } + } +} + +void spice_marshall_SpiceMsgEmpty(SpiceMarshaller *m, SpiceMsgEmpty *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; +} + +void spice_marshall_msg_main_init(SpiceMarshaller *m, SpiceMsgMainInit *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgMainInit *src; + src = (SpiceMsgMainInit *)msg; + + spice_marshaller_add_uint32(m, src->session_id); + spice_marshaller_add_uint32(m, src->display_channels_hint); + spice_marshaller_add_uint32(m, src->supported_mouse_modes); + spice_marshaller_add_uint32(m, src->current_mouse_mode); + spice_marshaller_add_uint32(m, src->agent_connected); + spice_marshaller_add_uint32(m, src->agent_tokens); + spice_marshaller_add_uint32(m, src->multi_media_time); + spice_marshaller_add_uint32(m, src->ram_hint); +} + +void spice_marshall_msg_main_channels_list(SpiceMarshaller *m, SpiceMsgChannels *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgChannels *src; + SpiceChannelId *channels__element; + uint32_t i; + src = (SpiceMsgChannels *)msg; + + spice_marshaller_add_uint32(m, src->num_of_channels); + channels__element = src->channels; + for (i = 0; i < src->num_of_channels; i++) { + SpiceChannelId *src2; + src2 = (SpiceChannelId *)channels__element; + + spice_marshaller_add_uint8(m, src2->type); + spice_marshaller_add_uint8(m, src2->id); + channels__element++; + } +} + +void spice_marshall_msg_main_mouse_mode(SpiceMarshaller *m, SpiceMsgMainMouseMode *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgMainMouseMode *src; + src = (SpiceMsgMainMouseMode *)msg; + + spice_marshaller_add_uint16(m, src->supported_modes); + spice_marshaller_add_uint16(m, src->current_mode); +} + +void spice_marshall_msg_main_multi_media_time(SpiceMarshaller *m, SpiceMsgMainMultiMediaTime *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgMainMultiMediaTime *src; + src = (SpiceMsgMainMultiMediaTime *)msg; + + spice_marshaller_add_uint32(m, src->time); +} + +void spice_marshall_msg_main_agent_disconnected(SpiceMarshaller *m, SpiceMsgMainAgentDisconnect *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgMainAgentDisconnect *src; + src = (SpiceMsgMainAgentDisconnect *)msg; + + spice_marshaller_add_uint32(m, src->error_code); +} + +void spice_marshall_msg_main_agent_token(SpiceMarshaller *m, SpiceMsgMainAgentTokens *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgMainAgentTokens *src; + src = (SpiceMsgMainAgentTokens *)msg; + + spice_marshaller_add_uint32(m, src->num_tokens); +} + +void spice_marshall_msg_main_migrate_switch_host(SpiceMarshaller *m, SpiceMsgMainMigrationSwitchHost *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgMainMigrationSwitchHost *src; + src = (SpiceMsgMainMigrationSwitchHost *)msg; + + spice_marshaller_add_uint16(m, src->port); + spice_marshaller_add_uint16(m, src->sport); + spice_marshaller_add_uint32(m, src->host_size); + m2 = spice_marshaller_get_ptr_submarshaller(m, 0); + if (src->host_data != NULL) { + spice_marshall_array_uint8(m2, src->host_data, src->host_size); + } + spice_marshaller_add_uint32(m, src->cert_subject_size); + m2 = spice_marshaller_get_ptr_submarshaller(m, 0); + if (src->cert_subject_data != NULL) { + spice_marshall_array_uint8(m2, src->cert_subject_data, src->cert_subject_size); + } +} + +void spice_marshall_msg_main_name(SpiceMarshaller *m, SpiceMsgMainName *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgMainName *src; + uint8_t *name__element; + uint32_t i; + src = (SpiceMsgMainName *)msg; + + spice_marshaller_add_uint32(m, src->name_len); + name__element = src->name; + for (i = 0; i < src->name_len; i++) { + spice_marshaller_add_uint8(m, *name__element); + name__element++; + } +} + +void spice_marshall_msg_main_uuid(SpiceMarshaller *m, SpiceMsgMainUuid *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgMainUuid *src; + uint8_t *uuid__element; + uint32_t i; + src = (SpiceMsgMainUuid *)msg; + + uuid__element = src->uuid; + for (i = 0; i < 16; i++) { + spice_marshaller_add_uint8(m, *uuid__element); + uuid__element++; + } +} + +void spice_marshall_msg_main_agent_connected_tokens(SpiceMarshaller *m, SpiceMsgMainAgentConnectedTokens *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgMainAgentConnectedTokens *src; + src = (SpiceMsgMainAgentConnectedTokens *)msg; + + spice_marshaller_add_uint32(m, src->num_tokens); +} + +void spice_marshall_msg_main_migrate_begin_seamless(SpiceMarshaller *m, SpiceMsgMainMigrateBeginSeamless *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgMainMigrateBeginSeamless *src; + src = (SpiceMsgMainMigrateBeginSeamless *)msg; + + /* dst_info */ { + spice_marshaller_add_uint16(m, src->dst_info.port); + spice_marshaller_add_uint16(m, src->dst_info.sport); + spice_marshaller_add_uint32(m, src->dst_info.host_size); + m2 = spice_marshaller_get_ptr_submarshaller(m, 0); + spice_marshall_array_uint8(m2, src->dst_info.host_data, src->dst_info.host_size); + spice_marshaller_add_uint32(m, src->dst_info.cert_subject_size); + m2 = spice_marshaller_get_ptr_submarshaller(m, 0); + if (src->dst_info.cert_subject_data != NULL) { + spice_marshall_array_uint8(m2, src->dst_info.cert_subject_data, src->dst_info.cert_subject_size); + } + } + spice_marshaller_add_uint32(m, src->src_mig_version); +} + +void spice_marshall_msg_display_mode(SpiceMarshaller *m, SpiceMsgDisplayMode *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgDisplayMode *src; + src = (SpiceMsgDisplayMode *)msg; + + spice_marshaller_add_uint32(m, src->x_res); + spice_marshaller_add_uint32(m, src->y_res); + spice_marshaller_add_uint32(m, src->bits); +} + +void spice_marshall_msg_display_copy_bits(SpiceMarshaller *m, SpiceMsgDisplayCopyBits *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgDisplayCopyBits *src; + uint32_t i; + src = (SpiceMsgDisplayCopyBits *)msg; + + /* base */ { + spice_marshaller_add_uint32(m, src->base.surface_id); + /* box */ { + spice_marshaller_add_int32(m, src->base.box.top); + spice_marshaller_add_int32(m, src->base.box.left); + spice_marshaller_add_int32(m, src->base.box.bottom); + spice_marshaller_add_int32(m, src->base.box.right); + } + /* clip */ { + spice_marshaller_add_uint8(m, src->base.clip.type); + if (src->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + SpiceRect *rects__element; + spice_marshaller_add_uint32(m, src->base.clip.rects->num_rects); + rects__element = src->base.clip.rects->rects; + for (i = 0; i < src->base.clip.rects->num_rects; i++) { + SpiceRect *src2; + src2 = (SpiceRect *)rects__element; + + spice_marshaller_add_int32(m, src2->top); + spice_marshaller_add_int32(m, src2->left); + spice_marshaller_add_int32(m, src2->bottom); + spice_marshaller_add_int32(m, src2->right); + rects__element++; + } + } + } + } + /* src_pos */ { + spice_marshaller_add_int32(m, src->src_pos.x); + spice_marshaller_add_int32(m, src->src_pos.y); + } +} + +void spice_marshall_msg_display_inval_list(SpiceMarshaller *m, SpiceResourceList *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceResourceList *src; + SpiceResourceID *resources__element; + uint32_t i; + src = (SpiceResourceList *)msg; + + spice_marshaller_add_uint16(m, src->count); + resources__element = src->resources; + for (i = 0; i < src->count; i++) { + SpiceResourceID *src2; + src2 = (SpiceResourceID *)resources__element; + + spice_marshaller_add_uint8(m, src2->type); + spice_marshaller_add_uint64(m, src2->id); + resources__element++; + } +} + +void spice_marshall_msg_display_inval_all_pixmaps(SpiceMarshaller *m, SpiceMsgWaitForChannels *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgWaitForChannels *src; + SpiceWaitForChannel *wait_list__element; + uint32_t i; + src = (SpiceMsgWaitForChannels *)msg; + + spice_marshaller_add_uint8(m, src->wait_count); + wait_list__element = src->wait_list; + for (i = 0; i < src->wait_count; i++) { + SpiceWaitForChannel *src2; + src2 = (SpiceWaitForChannel *)wait_list__element; + + spice_marshaller_add_uint8(m, src2->channel_type); + spice_marshaller_add_uint8(m, src2->channel_id); + spice_marshaller_add_uint64(m, src2->message_serial); + wait_list__element++; + } +} + +void spice_marshall_msg_display_inval_palette(SpiceMarshaller *m, SpiceMsgDisplayInvalOne *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgDisplayInvalOne *src; + src = (SpiceMsgDisplayInvalOne *)msg; + + spice_marshaller_add_uint64(m, src->id); +} + +void spice_marshall_msg_display_stream_create(SpiceMarshaller *m, SpiceMsgDisplayStreamCreate *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgDisplayStreamCreate *src; + uint32_t i; + src = (SpiceMsgDisplayStreamCreate *)msg; + + spice_marshaller_add_uint32(m, src->surface_id); + spice_marshaller_add_uint32(m, src->id); + spice_marshaller_add_uint8(m, src->flags); + spice_marshaller_add_uint8(m, src->codec_type); + spice_marshaller_add_uint64(m, src->stamp); + spice_marshaller_add_uint32(m, src->stream_width); + spice_marshaller_add_uint32(m, src->stream_height); + spice_marshaller_add_uint32(m, src->src_width); + spice_marshaller_add_uint32(m, src->src_height); + /* dest */ { + spice_marshaller_add_int32(m, src->dest.top); + spice_marshaller_add_int32(m, src->dest.left); + spice_marshaller_add_int32(m, src->dest.bottom); + spice_marshaller_add_int32(m, src->dest.right); + } + /* clip */ { + spice_marshaller_add_uint8(m, src->clip.type); + if (src->clip.type == SPICE_CLIP_TYPE_RECTS) { + SpiceRect *rects__element; + spice_marshaller_add_uint32(m, src->clip.rects->num_rects); + rects__element = src->clip.rects->rects; + for (i = 0; i < src->clip.rects->num_rects; i++) { + SpiceRect *src2; + src2 = (SpiceRect *)rects__element; + + spice_marshaller_add_int32(m, src2->top); + spice_marshaller_add_int32(m, src2->left); + spice_marshaller_add_int32(m, src2->bottom); + spice_marshaller_add_int32(m, src2->right); + rects__element++; + } + } + } +} + +void spice_marshall_msg_display_stream_data(SpiceMarshaller *m, SpiceMsgDisplayStreamData *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgDisplayStreamData *src; + src = (SpiceMsgDisplayStreamData *)msg; + + /* base */ { + spice_marshaller_add_uint32(m, src->base.id); + spice_marshaller_add_uint32(m, src->base.multi_media_time); + } + spice_marshaller_add_uint32(m, src->data_size); + /* Don't marshall @nomarshal data */ +} + +void spice_marshall_msg_display_stream_clip(SpiceMarshaller *m, SpiceMsgDisplayStreamClip *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgDisplayStreamClip *src; + uint32_t i; + src = (SpiceMsgDisplayStreamClip *)msg; + + spice_marshaller_add_uint32(m, src->id); + /* clip */ { + spice_marshaller_add_uint8(m, src->clip.type); + if (src->clip.type == SPICE_CLIP_TYPE_RECTS) { + SpiceRect *rects__element; + spice_marshaller_add_uint32(m, src->clip.rects->num_rects); + rects__element = src->clip.rects->rects; + for (i = 0; i < src->clip.rects->num_rects; i++) { + SpiceRect *src2; + src2 = (SpiceRect *)rects__element; + + spice_marshaller_add_int32(m, src2->top); + spice_marshaller_add_int32(m, src2->left); + spice_marshaller_add_int32(m, src2->bottom); + spice_marshaller_add_int32(m, src2->right); + rects__element++; + } + } + } +} + +void spice_marshall_msg_display_stream_destroy(SpiceMarshaller *m, SpiceMsgDisplayStreamDestroy *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgDisplayStreamDestroy *src; + src = (SpiceMsgDisplayStreamDestroy *)msg; + + spice_marshaller_add_uint32(m, src->id); +} + +void spice_marshall_msg_display_draw_fill(SpiceMarshaller *m, SpiceMsgDisplayDrawFill *msg, SpiceMarshaller **brush_pat_out, SpiceMarshaller **mask_bitmap_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + *brush_pat_out = NULL; + *mask_bitmap_out = NULL; +} + +void spice_marshall_msg_display_draw_opaque(SpiceMarshaller *m, SpiceMsgDisplayDrawOpaque *msg, SpiceMarshaller **src_bitmap_out, SpiceMarshaller **pat_out, SpiceMarshaller **mask_bitmap_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + *src_bitmap_out = NULL; + *pat_out = NULL; + *mask_bitmap_out = NULL; +} + +void spice_marshall_Palette(SpiceMarshaller *m, SpicePalette *ptr) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpicePalette *src; + uint32_t *ents__element; + uint32_t i; + + src = (SpicePalette *)ptr; + + spice_marshaller_add_uint64(m, src->unique); + spice_marshaller_add_uint16(m, src->num_ents); + ents__element = src->ents; + for (i = 0; i < src->num_ents; i++) { + spice_marshaller_add_uint32(m, *ents__element); + ents__element++; + } +} + +void spice_marshall_Image(SpiceMarshaller *m, SpiceImage *ptr, SpiceMarshaller **bitmap_palette_out, SpiceMarshaller **lzplt_palette_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceImage *src; + *bitmap_palette_out = NULL; + *lzplt_palette_out = NULL; + + src = (SpiceImage *)ptr; + + /* descriptor */ { + spice_marshaller_add_uint64(m, src->descriptor.id); + spice_marshaller_add_uint8(m, src->descriptor.type); + spice_marshaller_add_uint8(m, src->descriptor.flags); + spice_marshaller_add_uint32(m, src->descriptor.width); + spice_marshaller_add_uint32(m, src->descriptor.height); + } + if (src->descriptor.type == SPICE_IMAGE_TYPE_BITMAP) { + spice_marshaller_add_uint8(m, src->u.bitmap.format); + spice_marshaller_add_uint8(m, src->u.bitmap.flags); + spice_marshaller_add_uint32(m, src->u.bitmap.x); + spice_marshaller_add_uint32(m, src->u.bitmap.y); + spice_marshaller_add_uint32(m, src->u.bitmap.stride); + if ((src->u.bitmap.flags & SPICE_BITMAP_FLAGS_PAL_FROM_CACHE)) { + spice_marshaller_add_uint64(m, src->u.bitmap.palette_id); + } else if (1) { + *bitmap_palette_out = spice_marshaller_get_ptr_submarshaller(m, 0); + } + /* Don't marshall @nomarshal data */ + } else if (src->descriptor.type == SPICE_IMAGE_TYPE_QUIC) { + spice_marshaller_add_uint32(m, src->u.quic.data_size); + /* Don't marshall @nomarshal data */ + } else if (src->descriptor.type == SPICE_IMAGE_TYPE_LZ_RGB || src->descriptor.type == SPICE_IMAGE_TYPE_GLZ_RGB) { + spice_marshaller_add_uint32(m, src->u.lz_rgb.data_size); + /* Don't marshall @nomarshal data */ + } else if (src->descriptor.type == SPICE_IMAGE_TYPE_JPEG) { + spice_marshaller_add_uint32(m, src->u.jpeg.data_size); + /* Don't marshall @nomarshal data */ + } else if (src->descriptor.type == SPICE_IMAGE_TYPE_LZ_PLT) { + spice_marshaller_add_uint8(m, src->u.lz_plt.flags); + spice_marshaller_add_uint32(m, src->u.lz_plt.data_size); + if ((src->u.lz_plt.flags & SPICE_BITMAP_FLAGS_PAL_FROM_CACHE)) { + spice_marshaller_add_uint64(m, src->u.lz_plt.palette_id); + } else if (1) { + *lzplt_palette_out = spice_marshaller_get_ptr_submarshaller(m, 0); + } + /* Don't marshall @nomarshal data */ + } else if (src->descriptor.type == SPICE_IMAGE_TYPE_ZLIB_GLZ_RGB) { + spice_marshaller_add_uint32(m, src->u.zlib_glz.glz_data_size); + spice_marshaller_add_uint32(m, src->u.zlib_glz.data_size); + /* Don't marshall @nomarshal data */ + } else if (src->descriptor.type == SPICE_IMAGE_TYPE_JPEG_ALPHA) { + spice_marshaller_add_uint8(m, src->u.jpeg_alpha.flags); + spice_marshaller_add_uint32(m, src->u.jpeg_alpha.jpeg_size); + spice_marshaller_add_uint32(m, src->u.jpeg_alpha.data_size); + /* Don't marshall @nomarshal data */ + } else if (src->descriptor.type == SPICE_IMAGE_TYPE_SURFACE) { + spice_marshaller_add_uint32(m, src->u.surface.surface_id); + } +} + +void spice_marshall_msg_display_draw_copy(SpiceMarshaller *m, SpiceMsgDisplayDrawCopy *msg, SpiceMarshaller **src_bitmap_out, SpiceMarshaller **mask_bitmap_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgDisplayDrawCopy *src; + uint32_t i; + *src_bitmap_out = NULL; + *mask_bitmap_out = NULL; + src = (SpiceMsgDisplayDrawCopy *)msg; + + /* base */ { + spice_marshaller_add_uint32(m, src->base.surface_id); + /* box */ { + spice_marshaller_add_int32(m, src->base.box.top); + spice_marshaller_add_int32(m, src->base.box.left); + spice_marshaller_add_int32(m, src->base.box.bottom); + spice_marshaller_add_int32(m, src->base.box.right); + } + /* clip */ { + spice_marshaller_add_uint8(m, src->base.clip.type); + if (src->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + SpiceRect *rects__element; + spice_marshaller_add_uint32(m, src->base.clip.rects->num_rects); + rects__element = src->base.clip.rects->rects; + for (i = 0; i < src->base.clip.rects->num_rects; i++) { + SpiceRect *src2; + src2 = (SpiceRect *)rects__element; + + spice_marshaller_add_int32(m, src2->top); + spice_marshaller_add_int32(m, src2->left); + spice_marshaller_add_int32(m, src2->bottom); + spice_marshaller_add_int32(m, src2->right); + rects__element++; + } + } + } + } + /* data */ { + *src_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + /* src_area */ { + spice_marshaller_add_int32(m, src->data.src_area.top); + spice_marshaller_add_int32(m, src->data.src_area.left); + spice_marshaller_add_int32(m, src->data.src_area.bottom); + spice_marshaller_add_int32(m, src->data.src_area.right); + } + spice_marshaller_add_uint16(m, src->data.rop_descriptor); + spice_marshaller_add_uint8(m, src->data.scale_mode); + /* mask */ { + spice_marshaller_add_uint8(m, src->data.mask.flags); + /* pos */ { + spice_marshaller_add_int32(m, src->data.mask.pos.x); + spice_marshaller_add_int32(m, src->data.mask.pos.y); + } + *mask_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + } + } +} + +void spice_marshall_msg_display_draw_blend(SpiceMarshaller *m, SpiceMsgDisplayDrawBlend *msg, SpiceMarshaller **src_bitmap_out, SpiceMarshaller **mask_bitmap_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgDisplayDrawBlend *src; + uint32_t i; + *src_bitmap_out = NULL; + *mask_bitmap_out = NULL; + src = (SpiceMsgDisplayDrawBlend *)msg; + + /* base */ { + spice_marshaller_add_uint32(m, src->base.surface_id); + /* box */ { + spice_marshaller_add_int32(m, src->base.box.top); + spice_marshaller_add_int32(m, src->base.box.left); + spice_marshaller_add_int32(m, src->base.box.bottom); + spice_marshaller_add_int32(m, src->base.box.right); + } + /* clip */ { + spice_marshaller_add_uint8(m, src->base.clip.type); + if (src->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + SpiceRect *rects__element; + spice_marshaller_add_uint32(m, src->base.clip.rects->num_rects); + rects__element = src->base.clip.rects->rects; + for (i = 0; i < src->base.clip.rects->num_rects; i++) { + SpiceRect *src2; + src2 = (SpiceRect *)rects__element; + + spice_marshaller_add_int32(m, src2->top); + spice_marshaller_add_int32(m, src2->left); + spice_marshaller_add_int32(m, src2->bottom); + spice_marshaller_add_int32(m, src2->right); + rects__element++; + } + } + } + } + /* data */ { + *src_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + /* src_area */ { + spice_marshaller_add_int32(m, src->data.src_area.top); + spice_marshaller_add_int32(m, src->data.src_area.left); + spice_marshaller_add_int32(m, src->data.src_area.bottom); + spice_marshaller_add_int32(m, src->data.src_area.right); + } + spice_marshaller_add_uint16(m, src->data.rop_descriptor); + spice_marshaller_add_uint8(m, src->data.scale_mode); + /* mask */ { + spice_marshaller_add_uint8(m, src->data.mask.flags); + /* pos */ { + spice_marshaller_add_int32(m, src->data.mask.pos.x); + spice_marshaller_add_int32(m, src->data.mask.pos.y); + } + *mask_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + } + } +} + +void spice_marshall_msg_display_draw_blackness(SpiceMarshaller *m, SpiceMsgDisplayDrawBlackness *msg, SpiceMarshaller **mask_bitmap_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgDisplayDrawBlackness *src; + uint32_t i; + *mask_bitmap_out = NULL; + src = (SpiceMsgDisplayDrawBlackness *)msg; + + /* base */ { + spice_marshaller_add_uint32(m, src->base.surface_id); + /* box */ { + spice_marshaller_add_int32(m, src->base.box.top); + spice_marshaller_add_int32(m, src->base.box.left); + spice_marshaller_add_int32(m, src->base.box.bottom); + spice_marshaller_add_int32(m, src->base.box.right); + } + /* clip */ { + spice_marshaller_add_uint8(m, src->base.clip.type); + if (src->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + SpiceRect *rects__element; + spice_marshaller_add_uint32(m, src->base.clip.rects->num_rects); + rects__element = src->base.clip.rects->rects; + for (i = 0; i < src->base.clip.rects->num_rects; i++) { + SpiceRect *src2; + src2 = (SpiceRect *)rects__element; + + spice_marshaller_add_int32(m, src2->top); + spice_marshaller_add_int32(m, src2->left); + spice_marshaller_add_int32(m, src2->bottom); + spice_marshaller_add_int32(m, src2->right); + rects__element++; + } + } + } + } + /* data */ { + /* mask */ { + spice_marshaller_add_uint8(m, src->data.mask.flags); + /* pos */ { + spice_marshaller_add_int32(m, src->data.mask.pos.x); + spice_marshaller_add_int32(m, src->data.mask.pos.y); + } + *mask_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + } + } +} + +void spice_marshall_msg_display_draw_whiteness(SpiceMarshaller *m, SpiceMsgDisplayDrawWhiteness *msg, SpiceMarshaller **mask_bitmap_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgDisplayDrawWhiteness *src; + uint32_t i; + *mask_bitmap_out = NULL; + src = (SpiceMsgDisplayDrawWhiteness *)msg; + + /* base */ { + spice_marshaller_add_uint32(m, src->base.surface_id); + /* box */ { + spice_marshaller_add_int32(m, src->base.box.top); + spice_marshaller_add_int32(m, src->base.box.left); + spice_marshaller_add_int32(m, src->base.box.bottom); + spice_marshaller_add_int32(m, src->base.box.right); + } + /* clip */ { + spice_marshaller_add_uint8(m, src->base.clip.type); + if (src->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + SpiceRect *rects__element; + spice_marshaller_add_uint32(m, src->base.clip.rects->num_rects); + rects__element = src->base.clip.rects->rects; + for (i = 0; i < src->base.clip.rects->num_rects; i++) { + SpiceRect *src2; + src2 = (SpiceRect *)rects__element; + + spice_marshaller_add_int32(m, src2->top); + spice_marshaller_add_int32(m, src2->left); + spice_marshaller_add_int32(m, src2->bottom); + spice_marshaller_add_int32(m, src2->right); + rects__element++; + } + } + } + } + /* data */ { + /* mask */ { + spice_marshaller_add_uint8(m, src->data.mask.flags); + /* pos */ { + spice_marshaller_add_int32(m, src->data.mask.pos.x); + spice_marshaller_add_int32(m, src->data.mask.pos.y); + } + *mask_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + } + } +} + +void spice_marshall_msg_display_draw_invers(SpiceMarshaller *m, SpiceMsgDisplayDrawInvers *msg, SpiceMarshaller **mask_bitmap_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgDisplayDrawInvers *src; + uint32_t i; + *mask_bitmap_out = NULL; + src = (SpiceMsgDisplayDrawInvers *)msg; + + /* base */ { + spice_marshaller_add_uint32(m, src->base.surface_id); + /* box */ { + spice_marshaller_add_int32(m, src->base.box.top); + spice_marshaller_add_int32(m, src->base.box.left); + spice_marshaller_add_int32(m, src->base.box.bottom); + spice_marshaller_add_int32(m, src->base.box.right); + } + /* clip */ { + spice_marshaller_add_uint8(m, src->base.clip.type); + if (src->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + SpiceRect *rects__element; + spice_marshaller_add_uint32(m, src->base.clip.rects->num_rects); + rects__element = src->base.clip.rects->rects; + for (i = 0; i < src->base.clip.rects->num_rects; i++) { + SpiceRect *src2; + src2 = (SpiceRect *)rects__element; + + spice_marshaller_add_int32(m, src2->top); + spice_marshaller_add_int32(m, src2->left); + spice_marshaller_add_int32(m, src2->bottom); + spice_marshaller_add_int32(m, src2->right); + rects__element++; + } + } + } + } + /* data */ { + /* mask */ { + spice_marshaller_add_uint8(m, src->data.mask.flags); + /* pos */ { + spice_marshaller_add_int32(m, src->data.mask.pos.x); + spice_marshaller_add_int32(m, src->data.mask.pos.y); + } + *mask_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + } + } +} + +void spice_marshall_msg_display_draw_rop3(SpiceMarshaller *m, SpiceMsgDisplayDrawRop3 *msg, SpiceMarshaller **src_bitmap_out, SpiceMarshaller **pat_out, SpiceMarshaller **mask_bitmap_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + *src_bitmap_out = NULL; + *pat_out = NULL; + *mask_bitmap_out = NULL; +} + +void spice_marshall_msg_display_draw_stroke(SpiceMarshaller *m, SpiceMsgDisplayDrawStroke *msg, SpiceMarshaller **style_out, SpiceMarshaller **pat_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + *style_out = NULL; + *pat_out = NULL; +} + +void spice_marshall_msg_display_draw_text(SpiceMarshaller *m, SpiceMsgDisplayDrawText *msg, SpiceMarshaller **fore_brush_pat_out, SpiceMarshaller **back_brush_pat_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + *fore_brush_pat_out = NULL; + *back_brush_pat_out = NULL; +} + +void spice_marshall_msg_display_draw_transparent(SpiceMarshaller *m, SpiceMsgDisplayDrawTransparent *msg, SpiceMarshaller **src_bitmap_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgDisplayDrawTransparent *src; + uint32_t i; + *src_bitmap_out = NULL; + src = (SpiceMsgDisplayDrawTransparent *)msg; + + /* base */ { + spice_marshaller_add_uint32(m, src->base.surface_id); + /* box */ { + spice_marshaller_add_int32(m, src->base.box.top); + spice_marshaller_add_int32(m, src->base.box.left); + spice_marshaller_add_int32(m, src->base.box.bottom); + spice_marshaller_add_int32(m, src->base.box.right); + } + /* clip */ { + spice_marshaller_add_uint8(m, src->base.clip.type); + if (src->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + SpiceRect *rects__element; + spice_marshaller_add_uint32(m, src->base.clip.rects->num_rects); + rects__element = src->base.clip.rects->rects; + for (i = 0; i < src->base.clip.rects->num_rects; i++) { + SpiceRect *src2; + src2 = (SpiceRect *)rects__element; + + spice_marshaller_add_int32(m, src2->top); + spice_marshaller_add_int32(m, src2->left); + spice_marshaller_add_int32(m, src2->bottom); + spice_marshaller_add_int32(m, src2->right); + rects__element++; + } + } + } + } + /* data */ { + *src_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + /* src_area */ { + spice_marshaller_add_int32(m, src->data.src_area.top); + spice_marshaller_add_int32(m, src->data.src_area.left); + spice_marshaller_add_int32(m, src->data.src_area.bottom); + spice_marshaller_add_int32(m, src->data.src_area.right); + } + spice_marshaller_add_uint32(m, src->data.src_color); + spice_marshaller_add_uint32(m, src->data.true_color); + } +} + +void spice_marshall_msg_display_draw_alpha_blend(SpiceMarshaller *m, SpiceMsgDisplayDrawAlphaBlend *msg, SpiceMarshaller **src_bitmap_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgDisplayDrawAlphaBlend *src; + uint32_t i; + *src_bitmap_out = NULL; + src = (SpiceMsgDisplayDrawAlphaBlend *)msg; + + /* base */ { + spice_marshaller_add_uint32(m, src->base.surface_id); + /* box */ { + spice_marshaller_add_int32(m, src->base.box.top); + spice_marshaller_add_int32(m, src->base.box.left); + spice_marshaller_add_int32(m, src->base.box.bottom); + spice_marshaller_add_int32(m, src->base.box.right); + } + /* clip */ { + spice_marshaller_add_uint8(m, src->base.clip.type); + if (src->base.clip.type == SPICE_CLIP_TYPE_RECTS) { + SpiceRect *rects__element; + spice_marshaller_add_uint32(m, src->base.clip.rects->num_rects); + rects__element = src->base.clip.rects->rects; + for (i = 0; i < src->base.clip.rects->num_rects; i++) { + SpiceRect *src2; + src2 = (SpiceRect *)rects__element; + + spice_marshaller_add_int32(m, src2->top); + spice_marshaller_add_int32(m, src2->left); + spice_marshaller_add_int32(m, src2->bottom); + spice_marshaller_add_int32(m, src2->right); + rects__element++; + } + } + } + } + /* data */ { + spice_marshaller_add_uint8(m, src->data.alpha_flags); + spice_marshaller_add_uint8(m, src->data.alpha); + *src_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + /* src_area */ { + spice_marshaller_add_int32(m, src->data.src_area.top); + spice_marshaller_add_int32(m, src->data.src_area.left); + spice_marshaller_add_int32(m, src->data.src_area.bottom); + spice_marshaller_add_int32(m, src->data.src_area.right); + } + } +} + +void spice_marshall_msg_display_surface_create(SpiceMarshaller *m, SpiceMsgSurfaceCreate *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgSurfaceCreate *src; + src = (SpiceMsgSurfaceCreate *)msg; + + spice_marshaller_add_uint32(m, src->surface_id); + spice_marshaller_add_uint32(m, src->width); + spice_marshaller_add_uint32(m, src->height); + spice_marshaller_add_uint32(m, src->format); + spice_marshaller_add_uint32(m, src->flags); +} + +void spice_marshall_msg_display_surface_destroy(SpiceMarshaller *m, SpiceMsgSurfaceDestroy *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgSurfaceDestroy *src; + src = (SpiceMsgSurfaceDestroy *)msg; + + spice_marshaller_add_uint32(m, src->surface_id); +} + +void spice_marshall_msg_display_stream_data_sized(SpiceMarshaller *m, SpiceMsgDisplayStreamDataSized *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgDisplayStreamDataSized *src; + src = (SpiceMsgDisplayStreamDataSized *)msg; + + /* base */ { + spice_marshaller_add_uint32(m, src->base.id); + spice_marshaller_add_uint32(m, src->base.multi_media_time); + } + spice_marshaller_add_uint32(m, src->width); + spice_marshaller_add_uint32(m, src->height); + /* dest */ { + spice_marshaller_add_int32(m, src->dest.top); + spice_marshaller_add_int32(m, src->dest.left); + spice_marshaller_add_int32(m, src->dest.bottom); + spice_marshaller_add_int32(m, src->dest.right); + } + spice_marshaller_add_uint32(m, src->data_size); + /* Don't marshall @nomarshal data */ +} + +void spice_marshall_msg_display_monitors_config(SpiceMarshaller *m, SpiceMsgDisplayMonitorsConfig *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgDisplayMonitorsConfig *src; + SpiceHead *heads__element; + uint32_t i; + src = (SpiceMsgDisplayMonitorsConfig *)msg; + + spice_marshaller_add_uint16(m, src->count); + spice_marshaller_add_uint16(m, src->max_allowed); + heads__element = src->heads; + for (i = 0; i < src->count; i++) { + SpiceHead *src2; + src2 = (SpiceHead *)heads__element; + + spice_marshaller_add_uint32(m, src2->id); + spice_marshaller_add_uint32(m, src2->surface_id); + spice_marshaller_add_uint32(m, src2->width); + spice_marshaller_add_uint32(m, src2->height); + spice_marshaller_add_uint32(m, src2->x); + spice_marshaller_add_uint32(m, src2->y); + spice_marshaller_add_uint32(m, src2->flags); + heads__element++; + } +} + +void spice_marshall_msg_display_draw_composite(SpiceMarshaller *m, SpiceMsgDisplayDrawComposite *msg, SpiceMarshaller **src_bitmap_out, SpiceMarshaller **mask_bitmap_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + *src_bitmap_out = NULL; + *mask_bitmap_out = NULL; +} + +void spice_marshall_msg_inputs_init(SpiceMarshaller *m, SpiceMsgInputsInit *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgInputsInit *src; + src = (SpiceMsgInputsInit *)msg; + + spice_marshaller_add_uint16(m, src->keyboard_modifiers); +} + +void spice_marshall_msg_inputs_key_modifiers(SpiceMarshaller *m, SpiceMsgInputsKeyModifiers *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgInputsKeyModifiers *src; + src = (SpiceMsgInputsKeyModifiers *)msg; + + spice_marshaller_add_uint16(m, src->modifiers); +} + +void spice_marshall_msg_cursor_init(SpiceMarshaller *m, SpiceMsgCursorInit *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgCursorInit *src; + src = (SpiceMsgCursorInit *)msg; + + /* position */ { + spice_marshaller_add_int16(m, src->position.x); + spice_marshaller_add_int16(m, src->position.y); + } + spice_marshaller_add_uint16(m, src->trail_length); + spice_marshaller_add_uint16(m, src->trail_frequency); + spice_marshaller_add_uint8(m, src->visible); + /* cursor */ { + spice_marshaller_add_uint16(m, src->cursor.flags); + if (!(src->cursor.flags & SPICE_CURSOR_FLAGS_NONE)) { + spice_marshaller_add_uint64(m, src->cursor.header.unique); + spice_marshaller_add_uint8(m, src->cursor.header.type); + spice_marshaller_add_uint16(m, src->cursor.header.width); + spice_marshaller_add_uint16(m, src->cursor.header.height); + spice_marshaller_add_uint16(m, src->cursor.header.hot_spot_x); + spice_marshaller_add_uint16(m, src->cursor.header.hot_spot_y); + } + /* Remaining data must be appended manually */ + } +} + +void spice_marshall_msg_cursor_set(SpiceMarshaller *m, SpiceMsgCursorSet *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgCursorSet *src; + src = (SpiceMsgCursorSet *)msg; + + /* position */ { + spice_marshaller_add_int16(m, src->position.x); + spice_marshaller_add_int16(m, src->position.y); + } + spice_marshaller_add_uint8(m, src->visible); + /* cursor */ { + spice_marshaller_add_uint16(m, src->cursor.flags); + if (!(src->cursor.flags & SPICE_CURSOR_FLAGS_NONE)) { + spice_marshaller_add_uint64(m, src->cursor.header.unique); + spice_marshaller_add_uint8(m, src->cursor.header.type); + spice_marshaller_add_uint16(m, src->cursor.header.width); + spice_marshaller_add_uint16(m, src->cursor.header.height); + spice_marshaller_add_uint16(m, src->cursor.header.hot_spot_x); + spice_marshaller_add_uint16(m, src->cursor.header.hot_spot_y); + } + /* Remaining data must be appended manually */ + } +} + +void spice_marshall_msg_cursor_move(SpiceMarshaller *m, SpiceMsgCursorMove *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgCursorMove *src; + src = (SpiceMsgCursorMove *)msg; + + /* position */ { + spice_marshaller_add_int16(m, src->position.x); + spice_marshaller_add_int16(m, src->position.y); + } +} + +void spice_marshall_msg_cursor_trail(SpiceMarshaller *m, SpiceMsgCursorTrail *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgCursorTrail *src; + src = (SpiceMsgCursorTrail *)msg; + + spice_marshaller_add_uint16(m, src->length); + spice_marshaller_add_uint16(m, src->frequency); +} + +void spice_marshall_msg_cursor_inval_one(SpiceMarshaller *m, SpiceMsgDisplayInvalOne *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgDisplayInvalOne *src; + src = (SpiceMsgDisplayInvalOne *)msg; + + spice_marshaller_add_uint64(m, src->id); +} + +void spice_marshall_msg_playback_data(SpiceMarshaller *m, SpiceMsgPlaybackPacket *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgPlaybackPacket *src; + src = (SpiceMsgPlaybackPacket *)msg; + + spice_marshaller_add_uint32(m, src->time); + /* Remaining data must be appended manually */ +} + +void spice_marshall_msg_playback_mode(SpiceMarshaller *m, SpiceMsgPlaybackMode *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgPlaybackMode *src; + src = (SpiceMsgPlaybackMode *)msg; + + spice_marshaller_add_uint32(m, src->time); + spice_marshaller_add_uint16(m, src->mode); + /* Remaining data must be appended manually */ +} + +void spice_marshall_msg_playback_start(SpiceMarshaller *m, SpiceMsgPlaybackStart *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgPlaybackStart *src; + src = (SpiceMsgPlaybackStart *)msg; + + spice_marshaller_add_uint32(m, src->channels); + spice_marshaller_add_uint16(m, src->format); + spice_marshaller_add_uint32(m, src->frequency); + spice_marshaller_add_uint32(m, src->time); +} + +void spice_marshall_SpiceMsgAudioVolume(SpiceMarshaller *m, SpiceMsgAudioVolume *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgAudioVolume *src; + uint16_t *volume__element; + uint32_t i; + src = (SpiceMsgAudioVolume *)msg; + + spice_marshaller_add_uint8(m, src->nchannels); + volume__element = src->volume; + for (i = 0; i < src->nchannels; i++) { + spice_marshaller_add_uint16(m, *volume__element); + volume__element++; + } +} + +void spice_marshall_SpiceMsgAudioMute(SpiceMarshaller *m, SpiceMsgAudioMute *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgAudioMute *src; + src = (SpiceMsgAudioMute *)msg; + + spice_marshaller_add_uint8(m, src->mute); +} + +void spice_marshall_msg_record_start(SpiceMarshaller *m, SpiceMsgRecordStart *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgRecordStart *src; + src = (SpiceMsgRecordStart *)msg; + + spice_marshaller_add_uint32(m, src->channels); + spice_marshaller_add_uint16(m, src->format); + spice_marshaller_add_uint32(m, src->frequency); +} + +void spice_marshall_msg_tunnel_init(SpiceMarshaller *m, SpiceMsgTunnelInit *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgTunnelInit *src; + src = (SpiceMsgTunnelInit *)msg; + + spice_marshaller_add_uint16(m, src->max_num_of_sockets); + spice_marshaller_add_uint32(m, src->max_socket_data_size); +} + +void spice_marshall_msg_tunnel_service_ip_map(SpiceMarshaller *m, SpiceMsgTunnelServiceIpMap *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgTunnelServiceIpMap *src; + uint32_t i; + src = (SpiceMsgTunnelServiceIpMap *)msg; + + spice_marshaller_add_uint32(m, src->service_id); + /* virtual_ip */ { + uint8_t *ipv4__element; + spice_marshaller_add_uint16(m, src->virtual_ip.type); + if (src->virtual_ip.type == SPICE_TUNNEL_IP_TYPE_IPv4) { + ipv4__element = src->virtual_ip.u.ipv4; + for (i = 0; i < 4; i++) { + spice_marshaller_add_uint8(m, *ipv4__element); + ipv4__element++; + } + } + } +} + +void spice_marshall_msg_tunnel_socket_open(SpiceMarshaller *m, SpiceMsgTunnelSocketOpen *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgTunnelSocketOpen *src; + src = (SpiceMsgTunnelSocketOpen *)msg; + + spice_marshaller_add_uint16(m, src->connection_id); + spice_marshaller_add_uint32(m, src->service_id); + spice_marshaller_add_uint32(m, src->tokens); +} + +void spice_marshall_msg_tunnel_socket_fin(SpiceMarshaller *m, SpiceMsgTunnelSocketFin *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgTunnelSocketFin *src; + src = (SpiceMsgTunnelSocketFin *)msg; + + spice_marshaller_add_uint16(m, src->connection_id); +} + +void spice_marshall_msg_tunnel_socket_close(SpiceMarshaller *m, SpiceMsgTunnelSocketClose *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgTunnelSocketClose *src; + src = (SpiceMsgTunnelSocketClose *)msg; + + spice_marshaller_add_uint16(m, src->connection_id); +} + +void spice_marshall_msg_tunnel_socket_data(SpiceMarshaller *m, SpiceMsgTunnelSocketData *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgTunnelSocketData *src; + src = (SpiceMsgTunnelSocketData *)msg; + + spice_marshaller_add_uint16(m, src->connection_id); + /* Remaining data must be appended manually */ +} + +void spice_marshall_msg_tunnel_socket_closed_ack(SpiceMarshaller *m, SpiceMsgTunnelSocketClosedAck *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgTunnelSocketClosedAck *src; + src = (SpiceMsgTunnelSocketClosedAck *)msg; + + spice_marshaller_add_uint16(m, src->connection_id); +} + +void spice_marshall_msg_tunnel_socket_token(SpiceMarshaller *m, SpiceMsgTunnelSocketTokens *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgTunnelSocketTokens *src; + src = (SpiceMsgTunnelSocketTokens *)msg; + + spice_marshaller_add_uint16(m, src->connection_id); + spice_marshaller_add_uint32(m, src->num_tokens); +} + +#ifdef USE_SMARTCARD +void spice_marshall_msg_smartcard_data(SpiceMarshaller *m, SpiceMsgSmartcard *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgSmartcard *src; + src = (SpiceMsgSmartcard *)msg; + + spice_marshaller_add_uint32(m, src->type); + spice_marshaller_add_uint32(m, src->reader_id); + spice_marshaller_add_uint32(m, src->length); + /* Remaining data must be appended manually */ +} + +#endif /* USE_SMARTCARD */ +void spice_marshall_msg_port_init(SpiceMarshaller *m, SpiceMsgPortInit *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgPortInit *src; + src = (SpiceMsgPortInit *)msg; + + spice_marshaller_add_uint32(m, src->name_size); + m2 = spice_marshaller_get_ptr_submarshaller(m, 0); + spice_marshall_array_uint8(m2, src->name, src->name_size); + spice_marshaller_add_uint8(m, src->opened); +} + +void spice_marshall_msg_port_event(SpiceMarshaller *m, SpiceMsgPortEvent *msg) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgPortEvent *src; + src = (SpiceMsgPortEvent *)msg; + + spice_marshaller_add_uint8(m, src->event); +} + +void spice_marshall_String(SpiceMarshaller *m, SpiceString *ptr) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceString *src; + SpiceRasterGlyph * *glyphs__element; + uint32_t i; + uint32_t j; + + src = (SpiceString *)ptr; + + spice_marshaller_add_uint16(m, src->length); + spice_marshaller_add_uint8(m, src->flags); + if ((src->flags & SPICE_STRING_FLAGS_RASTER_A1)) { + glyphs__element = src->glyphs; + for (i = 0; i < src->length; i++) { + SpiceRasterGlyph *src2; + uint8_t *data__element; + src2 = (SpiceRasterGlyph *)*glyphs__element; + + /* render_pos */ { + spice_marshaller_add_int32(m, src2->render_pos.x); + spice_marshaller_add_int32(m, src2->render_pos.y); + } + /* glyph_origin */ { + spice_marshaller_add_int32(m, src2->glyph_origin.x); + spice_marshaller_add_int32(m, src2->glyph_origin.y); + } + spice_marshaller_add_uint16(m, src2->width); + spice_marshaller_add_uint16(m, src2->height); + data__element = src2->data; + for (j = 0; j < (((src2->width + 7) / 8 ) * src2->height); j++) { + spice_marshaller_add_uint8(m, *data__element); + data__element++; + } + glyphs__element++; + } + } else if ((src->flags & SPICE_STRING_FLAGS_RASTER_A4)) { + glyphs__element = src->glyphs; + for (i = 0; i < src->length; i++) { + SpiceRasterGlyph *src2; + uint8_t *data__element; + src2 = (SpiceRasterGlyph *)*glyphs__element; + + /* render_pos */ { + spice_marshaller_add_int32(m, src2->render_pos.x); + spice_marshaller_add_int32(m, src2->render_pos.y); + } + /* glyph_origin */ { + spice_marshaller_add_int32(m, src2->glyph_origin.x); + spice_marshaller_add_int32(m, src2->glyph_origin.y); + } + spice_marshaller_add_uint16(m, src2->width); + spice_marshaller_add_uint16(m, src2->height); + data__element = src2->data; + for (j = 0; j < (((4 * src2->width + 7) / 8 ) * src2->height); j++) { + spice_marshaller_add_uint8(m, *data__element); + data__element++; + } + glyphs__element++; + } + } else if ((src->flags & SPICE_STRING_FLAGS_RASTER_A8)) { + glyphs__element = src->glyphs; + for (i = 0; i < src->length; i++) { + SpiceRasterGlyph *src2; + uint8_t *data__element; + src2 = (SpiceRasterGlyph *)*glyphs__element; + + /* render_pos */ { + spice_marshaller_add_int32(m, src2->render_pos.x); + spice_marshaller_add_int32(m, src2->render_pos.y); + } + /* glyph_origin */ { + spice_marshaller_add_int32(m, src2->glyph_origin.x); + spice_marshaller_add_int32(m, src2->glyph_origin.y); + } + spice_marshaller_add_uint16(m, src2->width); + spice_marshaller_add_uint16(m, src2->height); + data__element = src2->data; + for (j = 0; j < (src2->width * src2->height); j++) { + spice_marshaller_add_uint8(m, *data__element); + data__element++; + } + glyphs__element++; + } + } +} +void spice_marshall_Rect(SpiceMarshaller *m, SpiceRect *ptr) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceRect *src; + + src = (SpiceRect *)ptr; + + spice_marshaller_add_int32(m, src->top); + spice_marshaller_add_int32(m, src->left); + spice_marshaller_add_int32(m, src->bottom); + spice_marshaller_add_int32(m, src->right); +} +void spice_marshall_Point(SpiceMarshaller *m, SpicePoint *ptr) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpicePoint *src; + + src = (SpicePoint *)ptr; + + spice_marshaller_add_int32(m, src->x); + spice_marshaller_add_int32(m, src->y); +} +void spice_marshall_DisplayBase(SpiceMarshaller *m, SpiceMsgDisplayBase *ptr) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceMsgDisplayBase *src; + uint32_t i; + + src = (SpiceMsgDisplayBase *)ptr; + + spice_marshaller_add_uint32(m, src->surface_id); + /* box */ { + spice_marshaller_add_int32(m, src->box.top); + spice_marshaller_add_int32(m, src->box.left); + spice_marshaller_add_int32(m, src->box.bottom); + spice_marshaller_add_int32(m, src->box.right); + } + /* clip */ { + spice_marshaller_add_uint8(m, src->clip.type); + if (src->clip.type == SPICE_CLIP_TYPE_RECTS) { + SpiceRect *rects__element; + spice_marshaller_add_uint32(m, src->clip.rects->num_rects); + rects__element = src->clip.rects->rects; + for (i = 0; i < src->clip.rects->num_rects; i++) { + SpiceRect *src2; + src2 = (SpiceRect *)rects__element; + + spice_marshaller_add_int32(m, src2->top); + spice_marshaller_add_int32(m, src2->left); + spice_marshaller_add_int32(m, src2->bottom); + spice_marshaller_add_int32(m, src2->right); + rects__element++; + } + } + } +} +void spice_marshall_Fill(SpiceMarshaller *m, SpiceFill *ptr, SpiceMarshaller **brush_pat_out, SpiceMarshaller **mask_bitmap_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceFill *src; + *brush_pat_out = NULL; + *mask_bitmap_out = NULL; + + src = (SpiceFill *)ptr; + + /* brush */ { + spice_marshaller_add_uint8(m, src->brush.type); + if (src->brush.type == SPICE_BRUSH_TYPE_SOLID) { + spice_marshaller_add_uint32(m, src->brush.u.color); + } else if (src->brush.type == SPICE_BRUSH_TYPE_PATTERN) { + *brush_pat_out = spice_marshaller_get_ptr_submarshaller(m, 0); + /* pos */ { + spice_marshaller_add_int32(m, src->brush.u.pattern.pos.x); + spice_marshaller_add_int32(m, src->brush.u.pattern.pos.y); + } + } + } + spice_marshaller_add_uint16(m, src->rop_descriptor); + /* mask */ { + spice_marshaller_add_uint8(m, src->mask.flags); + /* pos */ { + spice_marshaller_add_int32(m, src->mask.pos.x); + spice_marshaller_add_int32(m, src->mask.pos.y); + } + *mask_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + } +} +void spice_marshall_Opaque(SpiceMarshaller *m, SpiceOpaque *ptr, SpiceMarshaller **src_bitmap_out, SpiceMarshaller **pat_out, SpiceMarshaller **mask_bitmap_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceOpaque *src; + *src_bitmap_out = NULL; + *pat_out = NULL; + *mask_bitmap_out = NULL; + + src = (SpiceOpaque *)ptr; + + *src_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + /* src_area */ { + spice_marshaller_add_int32(m, src->src_area.top); + spice_marshaller_add_int32(m, src->src_area.left); + spice_marshaller_add_int32(m, src->src_area.bottom); + spice_marshaller_add_int32(m, src->src_area.right); + } + /* brush */ { + spice_marshaller_add_uint8(m, src->brush.type); + if (src->brush.type == SPICE_BRUSH_TYPE_SOLID) { + spice_marshaller_add_uint32(m, src->brush.u.color); + } else if (src->brush.type == SPICE_BRUSH_TYPE_PATTERN) { + *pat_out = spice_marshaller_get_ptr_submarshaller(m, 0); + /* pos */ { + spice_marshaller_add_int32(m, src->brush.u.pattern.pos.x); + spice_marshaller_add_int32(m, src->brush.u.pattern.pos.y); + } + } + } + spice_marshaller_add_uint16(m, src->rop_descriptor); + spice_marshaller_add_uint8(m, src->scale_mode); + /* mask */ { + spice_marshaller_add_uint8(m, src->mask.flags); + /* pos */ { + spice_marshaller_add_int32(m, src->mask.pos.x); + spice_marshaller_add_int32(m, src->mask.pos.y); + } + *mask_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + } +} +void spice_marshall_Copy(SpiceMarshaller *m, SpiceCopy *ptr, SpiceMarshaller **src_bitmap_out, SpiceMarshaller **mask_bitmap_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceCopy *src; + *src_bitmap_out = NULL; + *mask_bitmap_out = NULL; + + src = (SpiceCopy *)ptr; + + *src_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + /* src_area */ { + spice_marshaller_add_int32(m, src->src_area.top); + spice_marshaller_add_int32(m, src->src_area.left); + spice_marshaller_add_int32(m, src->src_area.bottom); + spice_marshaller_add_int32(m, src->src_area.right); + } + spice_marshaller_add_uint16(m, src->rop_descriptor); + spice_marshaller_add_uint8(m, src->scale_mode); + /* mask */ { + spice_marshaller_add_uint8(m, src->mask.flags); + /* pos */ { + spice_marshaller_add_int32(m, src->mask.pos.x); + spice_marshaller_add_int32(m, src->mask.pos.y); + } + *mask_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + } +} +void spice_marshall_Blend(SpiceMarshaller *m, SpiceCopy *ptr, SpiceMarshaller **src_bitmap_out, SpiceMarshaller **mask_bitmap_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceCopy *src; + *src_bitmap_out = NULL; + *mask_bitmap_out = NULL; + + src = (SpiceCopy *)ptr; + + *src_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + /* src_area */ { + spice_marshaller_add_int32(m, src->src_area.top); + spice_marshaller_add_int32(m, src->src_area.left); + spice_marshaller_add_int32(m, src->src_area.bottom); + spice_marshaller_add_int32(m, src->src_area.right); + } + spice_marshaller_add_uint16(m, src->rop_descriptor); + spice_marshaller_add_uint8(m, src->scale_mode); + /* mask */ { + spice_marshaller_add_uint8(m, src->mask.flags); + /* pos */ { + spice_marshaller_add_int32(m, src->mask.pos.x); + spice_marshaller_add_int32(m, src->mask.pos.y); + } + *mask_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + } +} +void spice_marshall_Blackness(SpiceMarshaller *m, SpiceBlackness *ptr, SpiceMarshaller **mask_bitmap_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceBlackness *src; + *mask_bitmap_out = NULL; + + src = (SpiceBlackness *)ptr; + + /* mask */ { + spice_marshaller_add_uint8(m, src->mask.flags); + /* pos */ { + spice_marshaller_add_int32(m, src->mask.pos.x); + spice_marshaller_add_int32(m, src->mask.pos.y); + } + *mask_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + } +} +void spice_marshall_Whiteness(SpiceMarshaller *m, SpiceWhiteness *ptr, SpiceMarshaller **mask_bitmap_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceWhiteness *src; + *mask_bitmap_out = NULL; + + src = (SpiceWhiteness *)ptr; + + /* mask */ { + spice_marshaller_add_uint8(m, src->mask.flags); + /* pos */ { + spice_marshaller_add_int32(m, src->mask.pos.x); + spice_marshaller_add_int32(m, src->mask.pos.y); + } + *mask_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + } +} +void spice_marshall_Invers(SpiceMarshaller *m, SpiceInvers *ptr, SpiceMarshaller **mask_bitmap_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceInvers *src; + *mask_bitmap_out = NULL; + + src = (SpiceInvers *)ptr; + + /* mask */ { + spice_marshaller_add_uint8(m, src->mask.flags); + /* pos */ { + spice_marshaller_add_int32(m, src->mask.pos.x); + spice_marshaller_add_int32(m, src->mask.pos.y); + } + *mask_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + } +} +void spice_marshall_Rop3(SpiceMarshaller *m, SpiceRop3 *ptr, SpiceMarshaller **src_bitmap_out, SpiceMarshaller **pat_out, SpiceMarshaller **mask_bitmap_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceRop3 *src; + *src_bitmap_out = NULL; + *pat_out = NULL; + *mask_bitmap_out = NULL; + + src = (SpiceRop3 *)ptr; + + *src_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + /* src_area */ { + spice_marshaller_add_int32(m, src->src_area.top); + spice_marshaller_add_int32(m, src->src_area.left); + spice_marshaller_add_int32(m, src->src_area.bottom); + spice_marshaller_add_int32(m, src->src_area.right); + } + /* brush */ { + spice_marshaller_add_uint8(m, src->brush.type); + if (src->brush.type == SPICE_BRUSH_TYPE_SOLID) { + spice_marshaller_add_uint32(m, src->brush.u.color); + } else if (src->brush.type == SPICE_BRUSH_TYPE_PATTERN) { + *pat_out = spice_marshaller_get_ptr_submarshaller(m, 0); + /* pos */ { + spice_marshaller_add_int32(m, src->brush.u.pattern.pos.x); + spice_marshaller_add_int32(m, src->brush.u.pattern.pos.y); + } + } + } + spice_marshaller_add_uint8(m, src->rop3); + spice_marshaller_add_uint8(m, src->scale_mode); + /* mask */ { + spice_marshaller_add_uint8(m, src->mask.flags); + /* pos */ { + spice_marshaller_add_int32(m, src->mask.pos.x); + spice_marshaller_add_int32(m, src->mask.pos.y); + } + *mask_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + } +} +void spice_marshall_Path(SpiceMarshaller *m, SpicePath *ptr) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpicePath *src; + SpicePathSeg * *segments__element; + uint32_t i; + uint32_t j; + + src = (SpicePath *)ptr; + + spice_marshaller_add_uint32(m, src->num_segments); + segments__element = src->segments; + for (i = 0; i < src->num_segments; i++) { + SpicePathSeg *src2; + SpicePointFix *points__element; + src2 = (SpicePathSeg *)*segments__element; + + spice_marshaller_add_uint8(m, src2->flags); + spice_marshaller_add_uint32(m, src2->count); + points__element = src2->points; + for (j = 0; j < src2->count; j++) { + SpicePointFix *src3; + src3 = (SpicePointFix *)points__element; + + spice_marshaller_add_int32(m, src3->x); + spice_marshaller_add_int32(m, src3->y); + points__element++; + } + segments__element++; + } +} + +SPICE_GNUC_UNUSED static void spice_marshall_array_int32(SpiceMarshaller *m, int32_t *ptr, unsigned count) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + uint32_t i; + + for (i = 0; i < count; i++) { + spice_marshaller_add_int32(m, *ptr++); + } +} + +void spice_marshall_Stroke(SpiceMarshaller *m, SpiceStroke *ptr, SpiceMarshaller **style_out, SpiceMarshaller **pat_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceStroke *src; + *style_out = NULL; + *pat_out = NULL; + + src = (SpiceStroke *)ptr; + + m2 = spice_marshaller_get_ptr_submarshaller(m, 0); + spice_marshall_Path(m2, src->path); + /* attr */ { + spice_marshaller_add_uint8(m, src->attr.flags); + if ((src->attr.flags & SPICE_LINE_FLAGS_STYLED)) { + spice_marshaller_add_uint8(m, src->attr.style_nseg); + } + if ((src->attr.flags & SPICE_LINE_FLAGS_STYLED)) { + *style_out = spice_marshaller_get_ptr_submarshaller(m, 0); + } + } + /* brush */ { + spice_marshaller_add_uint8(m, src->brush.type); + if (src->brush.type == SPICE_BRUSH_TYPE_SOLID) { + spice_marshaller_add_uint32(m, src->brush.u.color); + } else if (src->brush.type == SPICE_BRUSH_TYPE_PATTERN) { + *pat_out = spice_marshaller_get_ptr_submarshaller(m, 0); + /* pos */ { + spice_marshaller_add_int32(m, src->brush.u.pattern.pos.x); + spice_marshaller_add_int32(m, src->brush.u.pattern.pos.y); + } + } + } + spice_marshaller_add_uint16(m, src->fore_mode); + spice_marshaller_add_uint16(m, src->back_mode); +} +void spice_marshall_Text(SpiceMarshaller *m, SpiceText *ptr, SpiceMarshaller **fore_brush_pat_out, SpiceMarshaller **back_brush_pat_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceText *src; + *fore_brush_pat_out = NULL; + *back_brush_pat_out = NULL; + + src = (SpiceText *)ptr; + + m2 = spice_marshaller_get_ptr_submarshaller(m, 0); + spice_marshall_String(m2, src->str); + /* back_area */ { + spice_marshaller_add_int32(m, src->back_area.top); + spice_marshaller_add_int32(m, src->back_area.left); + spice_marshaller_add_int32(m, src->back_area.bottom); + spice_marshaller_add_int32(m, src->back_area.right); + } + /* fore_brush */ { + spice_marshaller_add_uint8(m, src->fore_brush.type); + if (src->fore_brush.type == SPICE_BRUSH_TYPE_SOLID) { + spice_marshaller_add_uint32(m, src->fore_brush.u.color); + } else if (src->fore_brush.type == SPICE_BRUSH_TYPE_PATTERN) { + *fore_brush_pat_out = spice_marshaller_get_ptr_submarshaller(m, 0); + /* pos */ { + spice_marshaller_add_int32(m, src->fore_brush.u.pattern.pos.x); + spice_marshaller_add_int32(m, src->fore_brush.u.pattern.pos.y); + } + } + } + /* back_brush */ { + spice_marshaller_add_uint8(m, src->back_brush.type); + if (src->back_brush.type == SPICE_BRUSH_TYPE_SOLID) { + spice_marshaller_add_uint32(m, src->back_brush.u.color); + } else if (src->back_brush.type == SPICE_BRUSH_TYPE_PATTERN) { + *back_brush_pat_out = spice_marshaller_get_ptr_submarshaller(m, 0); + /* pos */ { + spice_marshaller_add_int32(m, src->back_brush.u.pattern.pos.x); + spice_marshaller_add_int32(m, src->back_brush.u.pattern.pos.y); + } + } + } + spice_marshaller_add_uint16(m, src->fore_mode); + spice_marshaller_add_uint16(m, src->back_mode); +} +void spice_marshall_Transparent(SpiceMarshaller *m, SpiceTransparent *ptr, SpiceMarshaller **src_bitmap_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceTransparent *src; + *src_bitmap_out = NULL; + + src = (SpiceTransparent *)ptr; + + *src_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + /* src_area */ { + spice_marshaller_add_int32(m, src->src_area.top); + spice_marshaller_add_int32(m, src->src_area.left); + spice_marshaller_add_int32(m, src->src_area.bottom); + spice_marshaller_add_int32(m, src->src_area.right); + } + spice_marshaller_add_uint32(m, src->src_color); + spice_marshaller_add_uint32(m, src->true_color); +} +void spice_marshall_AlphaBlend(SpiceMarshaller *m, SpiceAlphaBlend *ptr, SpiceMarshaller **src_bitmap_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceAlphaBlend *src; + *src_bitmap_out = NULL; + + src = (SpiceAlphaBlend *)ptr; + + spice_marshaller_add_uint8(m, src->alpha_flags); + spice_marshaller_add_uint8(m, src->alpha); + *src_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + /* src_area */ { + spice_marshaller_add_int32(m, src->src_area.top); + spice_marshaller_add_int32(m, src->src_area.left); + spice_marshaller_add_int32(m, src->src_area.bottom); + spice_marshaller_add_int32(m, src->src_area.right); + } +} +void spice_marshall_Composite(SpiceMarshaller *m, SpiceComposite *ptr, SpiceMarshaller **src_bitmap_out, SpiceMarshaller **mask_bitmap_out) +{ + SPICE_GNUC_UNUSED SpiceMarshaller *m2; + SpiceComposite *src; + *src_bitmap_out = NULL; + *mask_bitmap_out = NULL; + + src = (SpiceComposite *)ptr; + + spice_marshaller_add_uint32(m, src->flags); + *src_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + if ((src->flags & SPICE_COMPOSITE_HAS_MASK)) { + *mask_bitmap_out = spice_marshaller_get_ptr_submarshaller(m, 0); + } + if ((src->flags & SPICE_COMPOSITE_HAS_SRC_TRANSFORM)) { + spice_marshaller_add_uint32(m, src->src_transform.t00); + spice_marshaller_add_uint32(m, src->src_transform.t01); + spice_marshaller_add_uint32(m, src->src_transform.t02); + spice_marshaller_add_uint32(m, src->src_transform.t10); + spice_marshaller_add_uint32(m, src->src_transform.t11); + spice_marshaller_add_uint32(m, src->src_transform.t12); + } + if ((src->flags & SPICE_COMPOSITE_HAS_MASK_TRANSFORM)) { + spice_marshaller_add_uint32(m, src->mask_transform.t00); + spice_marshaller_add_uint32(m, src->mask_transform.t01); + spice_marshaller_add_uint32(m, src->mask_transform.t02); + spice_marshaller_add_uint32(m, src->mask_transform.t10); + spice_marshaller_add_uint32(m, src->mask_transform.t11); + spice_marshaller_add_uint32(m, src->mask_transform.t12); + } + /* src_origin */ { + spice_marshaller_add_int16(m, src->src_origin.x); + spice_marshaller_add_int16(m, src->src_origin.y); + } + /* mask_origin */ { + spice_marshaller_add_int16(m, src->mask_origin.x); + spice_marshaller_add_int16(m, src->mask_origin.y); + } +} diff --git a/tizen/distrib/remote/common/spice-common/common/generated_server_marshallers.h b/tizen/distrib/remote/common/spice-common/common/generated_server_marshallers.h new file mode 100644 index 0000000..1e11047 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/generated_server_marshallers.h @@ -0,0 +1,100 @@ +/* this is a file autogenerated by spice_codegen.py */ +#include "messages.h" +#include <spice/protocol.h> +#include "marshaller.h" + +#ifndef _GENERATED_HEADERS_H +#define _GENERATED_HEADERS_H +void spice_marshall_msg_migrate(SpiceMarshaller *m, SpiceMsgMigrate *msg); +void spice_marshall_SpiceMsgData(SpiceMarshaller *m, SpiceMsgData *msg); +void spice_marshall_msg_set_ack(SpiceMarshaller *m, SpiceMsgSetAck *msg); +void spice_marshall_msg_ping(SpiceMarshaller *m, SpiceMsgPing *msg); +void spice_marshall_msg_wait_for_channels(SpiceMarshaller *m, SpiceMsgWaitForChannels *msg); +void spice_marshall_msg_disconnecting(SpiceMarshaller *m, SpiceMsgDisconnect *msg); +void spice_marshall_msg_notify(SpiceMarshaller *m, SpiceMsgNotify *msg); +void spice_marshall_msg_main_migrate_begin(SpiceMarshaller *m, SpiceMsgMainMigrationBegin *msg); +void spice_marshall_SpiceMsgEmpty(SpiceMarshaller *m, SpiceMsgEmpty *msg); +void spice_marshall_msg_main_init(SpiceMarshaller *m, SpiceMsgMainInit *msg); +void spice_marshall_msg_main_channels_list(SpiceMarshaller *m, SpiceMsgChannels *msg); +void spice_marshall_msg_main_mouse_mode(SpiceMarshaller *m, SpiceMsgMainMouseMode *msg); +void spice_marshall_msg_main_multi_media_time(SpiceMarshaller *m, SpiceMsgMainMultiMediaTime *msg); +void spice_marshall_msg_main_agent_disconnected(SpiceMarshaller *m, SpiceMsgMainAgentDisconnect *msg); +void spice_marshall_msg_main_agent_token(SpiceMarshaller *m, SpiceMsgMainAgentTokens *msg); +void spice_marshall_msg_main_migrate_switch_host(SpiceMarshaller *m, SpiceMsgMainMigrationSwitchHost *msg); +void spice_marshall_msg_main_name(SpiceMarshaller *m, SpiceMsgMainName *msg); +void spice_marshall_msg_main_uuid(SpiceMarshaller *m, SpiceMsgMainUuid *msg); +void spice_marshall_msg_main_agent_connected_tokens(SpiceMarshaller *m, SpiceMsgMainAgentConnectedTokens *msg); +void spice_marshall_msg_main_migrate_begin_seamless(SpiceMarshaller *m, SpiceMsgMainMigrateBeginSeamless *msg); +void spice_marshall_msg_display_mode(SpiceMarshaller *m, SpiceMsgDisplayMode *msg); +void spice_marshall_msg_display_copy_bits(SpiceMarshaller *m, SpiceMsgDisplayCopyBits *msg); +void spice_marshall_msg_display_inval_list(SpiceMarshaller *m, SpiceResourceList *msg); +void spice_marshall_msg_display_inval_all_pixmaps(SpiceMarshaller *m, SpiceMsgWaitForChannels *msg); +void spice_marshall_msg_display_inval_palette(SpiceMarshaller *m, SpiceMsgDisplayInvalOne *msg); +void spice_marshall_msg_display_stream_create(SpiceMarshaller *m, SpiceMsgDisplayStreamCreate *msg); +void spice_marshall_msg_display_stream_data(SpiceMarshaller *m, SpiceMsgDisplayStreamData *msg); +void spice_marshall_msg_display_stream_clip(SpiceMarshaller *m, SpiceMsgDisplayStreamClip *msg); +void spice_marshall_msg_display_stream_destroy(SpiceMarshaller *m, SpiceMsgDisplayStreamDestroy *msg); +void spice_marshall_msg_display_draw_fill(SpiceMarshaller *m, SpiceMsgDisplayDrawFill *msg, SpiceMarshaller **brush_pat_out, SpiceMarshaller **mask_bitmap_out); +void spice_marshall_msg_display_draw_opaque(SpiceMarshaller *m, SpiceMsgDisplayDrawOpaque *msg, SpiceMarshaller **src_bitmap_out, SpiceMarshaller **pat_out, SpiceMarshaller **mask_bitmap_out); +void spice_marshall_msg_display_draw_copy(SpiceMarshaller *m, SpiceMsgDisplayDrawCopy *msg, SpiceMarshaller **src_bitmap_out, SpiceMarshaller **mask_bitmap_out); +void spice_marshall_Image(SpiceMarshaller *m, SpiceImage *msg, SpiceMarshaller **bitmap_palette_out, SpiceMarshaller **lzplt_palette_out); +void spice_marshall_Palette(SpiceMarshaller *m, SpicePalette *msg); +void spice_marshall_msg_display_draw_blend(SpiceMarshaller *m, SpiceMsgDisplayDrawBlend *msg, SpiceMarshaller **src_bitmap_out, SpiceMarshaller **mask_bitmap_out); +void spice_marshall_msg_display_draw_blackness(SpiceMarshaller *m, SpiceMsgDisplayDrawBlackness *msg, SpiceMarshaller **mask_bitmap_out); +void spice_marshall_msg_display_draw_whiteness(SpiceMarshaller *m, SpiceMsgDisplayDrawWhiteness *msg, SpiceMarshaller **mask_bitmap_out); +void spice_marshall_msg_display_draw_invers(SpiceMarshaller *m, SpiceMsgDisplayDrawInvers *msg, SpiceMarshaller **mask_bitmap_out); +void spice_marshall_msg_display_draw_rop3(SpiceMarshaller *m, SpiceMsgDisplayDrawRop3 *msg, SpiceMarshaller **src_bitmap_out, SpiceMarshaller **pat_out, SpiceMarshaller **mask_bitmap_out); +void spice_marshall_msg_display_draw_stroke(SpiceMarshaller *m, SpiceMsgDisplayDrawStroke *msg, SpiceMarshaller **style_out, SpiceMarshaller **pat_out); +void spice_marshall_msg_display_draw_text(SpiceMarshaller *m, SpiceMsgDisplayDrawText *msg, SpiceMarshaller **fore_brush_pat_out, SpiceMarshaller **back_brush_pat_out); +void spice_marshall_msg_display_draw_transparent(SpiceMarshaller *m, SpiceMsgDisplayDrawTransparent *msg, SpiceMarshaller **src_bitmap_out); +void spice_marshall_msg_display_draw_alpha_blend(SpiceMarshaller *m, SpiceMsgDisplayDrawAlphaBlend *msg, SpiceMarshaller **src_bitmap_out); +void spice_marshall_msg_display_surface_create(SpiceMarshaller *m, SpiceMsgSurfaceCreate *msg); +void spice_marshall_msg_display_surface_destroy(SpiceMarshaller *m, SpiceMsgSurfaceDestroy *msg); +void spice_marshall_msg_display_stream_data_sized(SpiceMarshaller *m, SpiceMsgDisplayStreamDataSized *msg); +void spice_marshall_msg_display_monitors_config(SpiceMarshaller *m, SpiceMsgDisplayMonitorsConfig *msg); +void spice_marshall_msg_display_draw_composite(SpiceMarshaller *m, SpiceMsgDisplayDrawComposite *msg, SpiceMarshaller **src_bitmap_out, SpiceMarshaller **mask_bitmap_out); +void spice_marshall_msg_inputs_init(SpiceMarshaller *m, SpiceMsgInputsInit *msg); +void spice_marshall_msg_inputs_key_modifiers(SpiceMarshaller *m, SpiceMsgInputsKeyModifiers *msg); +void spice_marshall_msg_cursor_init(SpiceMarshaller *m, SpiceMsgCursorInit *msg); +void spice_marshall_msg_cursor_set(SpiceMarshaller *m, SpiceMsgCursorSet *msg); +void spice_marshall_msg_cursor_move(SpiceMarshaller *m, SpiceMsgCursorMove *msg); +void spice_marshall_msg_cursor_trail(SpiceMarshaller *m, SpiceMsgCursorTrail *msg); +void spice_marshall_msg_cursor_inval_one(SpiceMarshaller *m, SpiceMsgDisplayInvalOne *msg); +void spice_marshall_msg_playback_data(SpiceMarshaller *m, SpiceMsgPlaybackPacket *msg); +void spice_marshall_msg_playback_mode(SpiceMarshaller *m, SpiceMsgPlaybackMode *msg); +void spice_marshall_msg_playback_start(SpiceMarshaller *m, SpiceMsgPlaybackStart *msg); +void spice_marshall_SpiceMsgAudioVolume(SpiceMarshaller *m, SpiceMsgAudioVolume *msg); +void spice_marshall_SpiceMsgAudioMute(SpiceMarshaller *m, SpiceMsgAudioMute *msg); +void spice_marshall_msg_record_start(SpiceMarshaller *m, SpiceMsgRecordStart *msg); +void spice_marshall_msg_tunnel_init(SpiceMarshaller *m, SpiceMsgTunnelInit *msg); +void spice_marshall_msg_tunnel_service_ip_map(SpiceMarshaller *m, SpiceMsgTunnelServiceIpMap *msg); +void spice_marshall_msg_tunnel_socket_open(SpiceMarshaller *m, SpiceMsgTunnelSocketOpen *msg); +void spice_marshall_msg_tunnel_socket_fin(SpiceMarshaller *m, SpiceMsgTunnelSocketFin *msg); +void spice_marshall_msg_tunnel_socket_close(SpiceMarshaller *m, SpiceMsgTunnelSocketClose *msg); +void spice_marshall_msg_tunnel_socket_data(SpiceMarshaller *m, SpiceMsgTunnelSocketData *msg); +void spice_marshall_msg_tunnel_socket_closed_ack(SpiceMarshaller *m, SpiceMsgTunnelSocketClosedAck *msg); +void spice_marshall_msg_tunnel_socket_token(SpiceMarshaller *m, SpiceMsgTunnelSocketTokens *msg); +#ifdef USE_SMARTCARD +void spice_marshall_msg_smartcard_data(SpiceMarshaller *m, SpiceMsgSmartcard *msg); +#endif /* USE_SMARTCARD */ +void spice_marshall_msg_port_init(SpiceMarshaller *m, SpiceMsgPortInit *msg); +void spice_marshall_msg_port_event(SpiceMarshaller *m, SpiceMsgPortEvent *msg); +void spice_marshall_String(SpiceMarshaller *m, SpiceString *msg); +void spice_marshall_Rect(SpiceMarshaller *m, SpiceRect *msg); +void spice_marshall_Point(SpiceMarshaller *m, SpicePoint *msg); +void spice_marshall_DisplayBase(SpiceMarshaller *m, SpiceMsgDisplayBase *msg); +void spice_marshall_Fill(SpiceMarshaller *m, SpiceFill *msg, SpiceMarshaller **brush_pat_out, SpiceMarshaller **mask_bitmap_out); +void spice_marshall_Opaque(SpiceMarshaller *m, SpiceOpaque *msg, SpiceMarshaller **src_bitmap_out, SpiceMarshaller **pat_out, SpiceMarshaller **mask_bitmap_out); +void spice_marshall_Copy(SpiceMarshaller *m, SpiceCopy *msg, SpiceMarshaller **src_bitmap_out, SpiceMarshaller **mask_bitmap_out); +void spice_marshall_Blend(SpiceMarshaller *m, SpiceCopy *msg, SpiceMarshaller **src_bitmap_out, SpiceMarshaller **mask_bitmap_out); +void spice_marshall_Blackness(SpiceMarshaller *m, SpiceBlackness *msg, SpiceMarshaller **mask_bitmap_out); +void spice_marshall_Whiteness(SpiceMarshaller *m, SpiceWhiteness *msg, SpiceMarshaller **mask_bitmap_out); +void spice_marshall_Invers(SpiceMarshaller *m, SpiceInvers *msg, SpiceMarshaller **mask_bitmap_out); +void spice_marshall_Rop3(SpiceMarshaller *m, SpiceRop3 *msg, SpiceMarshaller **src_bitmap_out, SpiceMarshaller **pat_out, SpiceMarshaller **mask_bitmap_out); +void spice_marshall_Stroke(SpiceMarshaller *m, SpiceStroke *msg, SpiceMarshaller **style_out, SpiceMarshaller **pat_out); +void spice_marshall_Path(SpiceMarshaller *m, SpicePath *msg); +void spice_marshall_Text(SpiceMarshaller *m, SpiceText *msg, SpiceMarshaller **fore_brush_pat_out, SpiceMarshaller **back_brush_pat_out); +void spice_marshall_Transparent(SpiceMarshaller *m, SpiceTransparent *msg, SpiceMarshaller **src_bitmap_out); +void spice_marshall_AlphaBlend(SpiceMarshaller *m, SpiceAlphaBlend *msg, SpiceMarshaller **src_bitmap_out); +void spice_marshall_Composite(SpiceMarshaller *m, SpiceComposite *msg, SpiceMarshaller **src_bitmap_out, SpiceMarshaller **mask_bitmap_out); +#endif diff --git a/tizen/distrib/remote/common/spice-common/common/gl_canvas.c b/tizen/distrib/remote/common/spice-common/common/gl_canvas.c new file mode 100644 index 0000000..2adc986 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/gl_canvas.c @@ -0,0 +1,911 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <stdio.h> +#include <stdlib.h> +#include <string.h> + +#include "gl_canvas.h" +#include "quic.h" +#include "rop3.h" +#include "region.h" +#include "glc.h" + +#define GL_CANVAS +#include "canvas_base.c" + +typedef struct GLCanvas GLCanvas; + +struct GLCanvas { + CanvasBase base; + GLCCtx glc; + void *private_data; + int private_data_size; + int textures_lost; +}; + +static inline uint8_t *copy_opposite_image(GLCanvas *canvas, void *data, int stride, int height) +{ + uint8_t *ret_data = (uint8_t *)data; + uint8_t *dest; + uint8_t *src; + int i; + + if (!canvas->private_data) { + canvas->private_data = spice_malloc_n(height, stride); + if (!canvas->private_data) { + return ret_data; + } + canvas->private_data_size = stride * height; + } + + if (canvas->private_data_size < (stride * height)) { + free(canvas->private_data); + canvas->private_data = spice_malloc_n(height, stride); + if (!canvas->private_data) { + return ret_data; + } + canvas->private_data_size = stride * height; + } + + dest = (uint8_t *)canvas->private_data; + src = (uint8_t *)data + (height - 1) * stride; + + for (i = 0; i < height; ++i) { + memcpy(dest, src, stride); + dest += stride; + src -= stride; + } + return (uint8_t *)canvas->private_data; +} + +static pixman_image_t *canvas_surf_to_trans_surf(GLCImage *image, + uint32_t trans_color) +{ + int width = image->width; + int height = image->height; + uint8_t *src_line; + uint8_t *end_src_line; + int src_stride; + uint8_t *dest_line; + int dest_stride; + pixman_image_t *ret; + int i; + + ret = pixman_image_create_bits(PIXMAN_a8r8g8b8, width, height, NULL, 0); + if (ret == NULL) { + spice_critical("create surface failed"); + return NULL; + } + + src_line = image->pixels; + src_stride = image->stride; + end_src_line = src_line + src_stride * height; + + dest_line = (uint8_t *)pixman_image_get_data(ret); + dest_stride = pixman_image_get_stride(ret); + + for (; src_line < end_src_line; src_line += src_stride, dest_line += dest_stride) { + for (i = 0; i < width; i++) { + if ((((uint32_t*)src_line)[i] & 0x00ffffff) == trans_color) { + ((uint32_t*)dest_line)[i] = 0; + } else { + ((uint32_t*)dest_line)[i] = (((uint32_t*)src_line)[i]) | 0xff000000; + } + } + } + + return ret; +} + +static GLCPath get_path(GLCanvas *canvas, SpicePath *s) +{ + GLCPath path = glc_path_create(canvas->glc); + int i; + + for (i = 0; i < s->num_segments; i++) { + SpicePathSeg* seg = s->segments[i]; + SpicePointFix* point = seg->points; + SpicePointFix* end_point = point + seg->count; + + if (seg->flags & SPICE_PATH_BEGIN) { + glc_path_move_to(path, fix_to_double(point->x), fix_to_double(point->y)); + point++; + } + + if (seg->flags & SPICE_PATH_BEZIER) { + spice_return_val_if_fail((point - end_point) % 3 == 0, path); + for (; point + 2 < end_point; point += 3) { + glc_path_curve_to(path, + fix_to_double(point[0].x), fix_to_double(point[0].y), + fix_to_double(point[1].x), fix_to_double(point[1].y), + fix_to_double(point[2].x), fix_to_double(point[2].y)); + } + } else { + for (; point < end_point; point++) { + glc_path_line_to(path, fix_to_double(point->x), fix_to_double(point->y)); + } + } + if (seg->flags & SPICE_PATH_END) { + if (seg->flags & SPICE_PATH_CLOSE) { + glc_path_close(path); + } + } + } + + return path; +} + +#define SET_GLC_RECT(dest, src) { \ + (dest)->x = (src)->left; \ + (dest)->y = (src)->top; \ + (dest)->width = (src)->right - (src)->left; \ + (dest)->height = (src)->bottom - (src)->top; \ +} + +#define SET_GLC_BOX(dest, src) { \ + (dest)->x = (src)->x1; \ + (dest)->y = (src)->y1; \ + (dest)->width = (src)->x2 - (src)->x1; \ + (dest)->height = (src)->y2 - (src)->y1; \ +} + +static void set_clip(GLCanvas *canvas, SpiceRect *bbox, SpiceClip *clip) +{ + GLCRect rect; + glc_clip_reset(canvas->glc); + + switch (clip->type) { + case SPICE_CLIP_TYPE_NONE: + break; + case SPICE_CLIP_TYPE_RECTS: { + uint32_t n = clip->rects->num_rects; + SpiceRect *now = clip->rects->rects; + SpiceRect *end = now + n; + + if (n == 0) { + rect.x = rect.y = 0; + rect.width = rect.height = 0; + glc_clip_rect(canvas->glc, &rect, GLC_CLIP_OP_SET); + break; + } else { + SET_GLC_RECT(&rect, now); + glc_clip_rect(canvas->glc, &rect, GLC_CLIP_OP_SET); + } + + for (now++; now < end; now++) { + SET_GLC_RECT(&rect, now); + glc_clip_rect(canvas->glc, &rect, GLC_CLIP_OP_OR); + } + break; + } + default: + spice_warn_if_reached(); + return; + } +} + +static void set_mask(GLCanvas *canvas, SpiceQMask *mask, int x, int y) +{ + pixman_image_t *image; + + if (!(image = canvas_get_mask(&canvas->base, mask, NULL))) { + glc_clear_mask(canvas->glc, GLC_MASK_A); + return; + } + + + glc_set_mask(canvas->glc, x - mask->pos.x, y - mask->pos.y, + pixman_image_get_width(image), + pixman_image_get_height(image), + pixman_image_get_stride(image), + (uint8_t *)pixman_image_get_data(image), GLC_MASK_A); +} + +static inline void surface_to_image(GLCanvas *canvas, pixman_image_t *surface, GLCImage *image, + int ignore_stride) +{ + int depth = pixman_image_get_depth(surface); + + spice_return_if_fail(depth == 32 || depth == 24); + image->format = (depth == 24) ? GLC_IMAGE_RGB32 : GLC_IMAGE_ARGB32; + image->width = pixman_image_get_width(surface); + image->height = pixman_image_get_height(surface); + image->stride = pixman_image_get_stride(surface); + image->pixels = (uint8_t *)pixman_image_get_data(surface); + image->pallet = NULL; + if (ignore_stride) { + return; + } + if (image->stride < 0) { + image->stride = -image->stride; + image->pixels = image->pixels - (image->height - 1) * image->stride; + } else { + image->pixels = copy_opposite_image(canvas, image->pixels, image->stride, image->height); + } +} + +static void set_brush(GLCanvas *canvas, SpiceBrush *brush) +{ + switch (brush->type) { + case SPICE_BRUSH_TYPE_SOLID: { + uint32_t color = brush->u.color; + double r, g, b; + + b = (double)(color & canvas->base.color_mask) / canvas->base.color_mask; + color >>= canvas->base.color_shift; + g = (double)(color & canvas->base.color_mask) / canvas->base.color_mask; + color >>= canvas->base.color_shift; + r = (double)(color & canvas->base.color_mask) / canvas->base.color_mask; + glc_set_rgb(canvas->glc, r, g, b); + break; + } + case SPICE_BRUSH_TYPE_PATTERN: { + GLCImage image; + GLCPattern pattern; + pixman_image_t *surface; + + surface = canvas_get_image(&canvas->base, brush->u.pattern.pat, FALSE); + surface_to_image(canvas, surface, &image, 0); + + pattern = glc_pattern_create(canvas->glc, -brush->u.pattern.pos.x, + -brush->u.pattern.pos.y, &image); + + glc_set_pattern(canvas->glc, pattern); + glc_pattern_destroy(pattern); + pixman_image_unref (surface); + } + case SPICE_BRUSH_TYPE_NONE: + return; + default: + spice_warn_if_reached(); + return; + } +} + +static void set_op(GLCanvas *canvas, uint16_t rop_decriptor) +{ + GLCOp op; + + switch (rop_decriptor) { + case SPICE_ROPD_OP_PUT: + op = GLC_OP_COPY; + break; + case SPICE_ROPD_OP_XOR: + op = GLC_OP_XOR; + break; + case SPICE_ROPD_OP_BLACKNESS: + op = GLC_OP_CLEAR; + break; + case SPICE_ROPD_OP_WHITENESS: + op = GLC_OP_SET; + break; + case SPICE_ROPD_OP_PUT | SPICE_ROPD_INVERS_BRUSH: + case SPICE_ROPD_OP_PUT | SPICE_ROPD_INVERS_SRC: + op = GLC_OP_COPY_INVERTED; + break; + case SPICE_ROPD_OP_INVERS: + op = GLC_OP_INVERT; + break; + case SPICE_ROPD_OP_AND: + op = GLC_OP_AND; + break; + case SPICE_ROPD_OP_AND | SPICE_ROPD_INVERS_RES: + op = GLC_OP_NAND; + break; + case SPICE_ROPD_OP_OR: + op = GLC_OP_OR; + break; + case SPICE_ROPD_OP_OR | SPICE_ROPD_INVERS_RES: + op = GLC_OP_NOR; + break; + case SPICE_ROPD_OP_XOR | SPICE_ROPD_INVERS_RES: + op = GLC_OP_EQUIV; + break; + case SPICE_ROPD_OP_AND | SPICE_ROPD_INVERS_DEST: + op = GLC_OP_AND_REVERSE; + break; + case SPICE_ROPD_OP_AND | SPICE_ROPD_INVERS_BRUSH: + case SPICE_ROPD_OP_AND | SPICE_ROPD_INVERS_SRC: + op = GLC_OP_AND_INVERTED; + break; + case SPICE_ROPD_OP_OR | SPICE_ROPD_INVERS_DEST: + op = GLC_OP_OR_REVERSE; + break; + case SPICE_ROPD_OP_OR | SPICE_ROPD_INVERS_BRUSH: + case SPICE_ROPD_OP_OR | SPICE_ROPD_INVERS_SRC: + op = GLC_OP_OR_INVERTED; + break; + default: + spice_warning("GLC_OP_NOOP"); + op = GLC_OP_NOOP; + } + glc_set_op(canvas->glc, op); +} + +static void gl_canvas_draw_fill(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceFill *fill) +{ + GLCanvas *canvas = (GLCanvas *)spice_canvas; + GLCRect rect; + set_clip(canvas, bbox, clip); + set_mask(canvas, &fill->mask, bbox->left, bbox->top); + set_brush(canvas, &fill->brush); + set_op(canvas, fill->rop_descriptor); + SET_GLC_RECT(&rect, bbox); + + glc_fill_rect(canvas->glc, &rect); + glc_flush(canvas->glc); +} + +static void gl_canvas_draw_copy(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceCopy *copy) +{ + GLCanvas *canvas = (GLCanvas *)spice_canvas; + pixman_image_t *surface; + GLCRecti src; + GLCRecti dest; + GLCImage image; + + set_clip(canvas, bbox, clip); + set_mask(canvas, ©->mask, bbox->left, bbox->top); + set_op(canvas, copy->rop_descriptor); + + //todo: optimize get_image (use ogl conversion + remove unnecessary copy of 32bpp) + surface = canvas_get_image(&canvas->base, copy->src_bitmap, FALSE); + surface_to_image(canvas, surface, &image, 0); + SET_GLC_RECT(&dest, bbox); + SET_GLC_RECT(&src, ©->src_area); + glc_draw_image(canvas->glc, &dest, &src, &image, 0, 1); + + pixman_image_unref(surface); + glc_flush(canvas->glc); +} + +static void gl_canvas_draw_opaque(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceOpaque *opaque) +{ + GLCanvas *canvas = (GLCanvas *)spice_canvas; + pixman_image_t *surface; + GLCRecti src; + GLCRecti dest; + GLCRect fill_rect; + GLCImage image; + + set_clip(canvas, bbox, clip); + set_mask(canvas, &opaque->mask, bbox->left, bbox->top); + + glc_set_op(canvas->glc, (opaque->rop_descriptor & SPICE_ROPD_INVERS_SRC) ? GLC_OP_COPY_INVERTED : + GLC_OP_COPY); + surface = canvas_get_image(&canvas->base, opaque->src_bitmap, FALSE); + surface_to_image(canvas, surface, &image, 0); + SET_GLC_RECT(&dest, bbox); + SET_GLC_RECT(&src, &opaque->src_area); + glc_draw_image(canvas->glc, &dest, &src, &image, 0, 1); + pixman_image_unref(surface); + + set_brush(canvas, &opaque->brush); + set_op(canvas, opaque->rop_descriptor & ~SPICE_ROPD_INVERS_SRC); + SET_GLC_RECT(&fill_rect, bbox); + glc_fill_rect(canvas->glc, &fill_rect); + + glc_flush(canvas->glc); +} + +static void gl_canvas_draw_alpha_blend(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceAlphaBlend *alpha_blend) +{ + GLCanvas *canvas = (GLCanvas *)spice_canvas; + pixman_image_t *surface; + GLCRecti src; + GLCRecti dest; + GLCImage image; + + set_clip(canvas, bbox, clip); + glc_clear_mask(canvas->glc, GLC_MASK_A); + glc_set_op(canvas->glc, GLC_OP_COPY); + + surface = canvas_get_image(&canvas->base, alpha_blend->src_bitmap, FALSE); + surface_to_image(canvas, surface, &image, 0); + SET_GLC_RECT(&dest, bbox); + SET_GLC_RECT(&src, &alpha_blend->src_area); + glc_draw_image(canvas->glc, &dest, &src, &image, 0, (double)alpha_blend->alpha / 0xff); + + pixman_image_unref(surface); + glc_flush(canvas->glc); +} + +static void gl_canvas_draw_blend(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceBlend *blend) +{ + GLCanvas *canvas = (GLCanvas *)spice_canvas; + pixman_image_t *surface; + GLCRecti src; + GLCRecti dest; + GLCImage image; + + set_clip(canvas, bbox, clip); + set_mask(canvas, &blend->mask, bbox->left, bbox->top); + set_op(canvas, blend->rop_descriptor); + + surface = canvas_get_image(&canvas->base, blend->src_bitmap, FALSE); + SET_GLC_RECT(&dest, bbox); + SET_GLC_RECT(&src, &blend->src_area); + surface_to_image(canvas, surface, &image, 0); + glc_draw_image(canvas->glc, &dest, &src, &image, 0, 1); + + pixman_image_unref(surface); + glc_flush(canvas->glc); +} + +static void gl_canvas_draw_transparent(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceTransparent *transparent) +{ + GLCanvas *canvas = (GLCanvas *)spice_canvas; + pixman_image_t *surface; + pixman_image_t *trans_surf; + GLCImage image; + GLCRecti src; + GLCRecti dest; + + set_clip(canvas, bbox, clip); + glc_clear_mask(canvas->glc, GLC_MASK_A); + glc_set_op(canvas->glc, GLC_OP_COPY); + + surface = canvas_get_image(&canvas->base, transparent->src_bitmap, FALSE); + surface_to_image(canvas, surface, &image, 0); + + trans_surf = canvas_surf_to_trans_surf(&image, transparent->true_color); + pixman_image_unref(surface); + + surface_to_image(canvas, trans_surf, &image, 1); + SET_GLC_RECT(&dest, bbox); + SET_GLC_RECT(&src, &transparent->src_area); + glc_draw_image(canvas->glc, &dest, &src, &image, 0, 1); + + pixman_image_unref(trans_surf); + glc_flush(canvas->glc); +} + +static inline void fill_common(GLCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceQMask * mask, GLCOp op) +{ + GLCRect rect; + + set_clip(canvas, bbox, clip); + set_mask(canvas, mask, bbox->left, bbox->top); + glc_set_op(canvas->glc, op); + SET_GLC_RECT(&rect, bbox); + glc_fill_rect(canvas->glc, &rect); +} + +static void gl_canvas_draw_whiteness(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceWhiteness *whiteness) +{ + GLCanvas *canvas = (GLCanvas *)spice_canvas; + fill_common(canvas, bbox, clip, &whiteness->mask, GLC_OP_SET); +} + +static void gl_canvas_draw_blackness(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceBlackness *blackness) +{ + GLCanvas *canvas = (GLCanvas *)spice_canvas; + fill_common(canvas, bbox, clip, &blackness->mask, GLC_OP_CLEAR); +} + +static void gl_canvas_draw_invers(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceInvers *invers) +{ + GLCanvas *canvas = (GLCanvas *)spice_canvas; + fill_common(canvas, bbox, clip, &invers->mask, GLC_OP_INVERT); +} + +static void gl_canvas_draw_rop3(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceRop3 *rop3) +{ + GLCanvas *canvas = (GLCanvas *)spice_canvas; + pixman_image_t *d; + pixman_image_t *s; + GLCImage image; + SpicePoint src_pos; + uint8_t *data_opp; + int src_stride; + + set_clip(canvas, bbox, clip); + set_mask(canvas, &rop3->mask, bbox->left, bbox->top); + + glc_set_op(canvas->glc, GLC_OP_COPY); + + image.format = GLC_IMAGE_RGB32; + image.width = bbox->right - bbox->left; + image.height = bbox->bottom - bbox->top; + + image.pallet = NULL; + + d = pixman_image_create_bits(PIXMAN_x8r8g8b8, image.width, image.height, NULL, 0); + if (d == NULL) { + spice_critical("create surface failed"); + return; + } + image.pixels = (uint8_t *)pixman_image_get_data(d); + image.stride = pixman_image_get_stride(d); + + glc_read_pixels(canvas->glc, bbox->left, bbox->top, &image); + data_opp = copy_opposite_image(canvas, image.pixels, + image.stride, + pixman_image_get_height(d)); + memcpy(image.pixels, data_opp, + image.stride * pixman_image_get_height(d)); + + s = canvas_get_image(&canvas->base, rop3->src_bitmap, FALSE); + src_stride = pixman_image_get_stride(s); + if (src_stride > 0) { + data_opp = copy_opposite_image(canvas, (uint8_t *)pixman_image_get_data(s), + src_stride, pixman_image_get_height(s)); + memcpy((uint8_t *)pixman_image_get_data(s), data_opp, + src_stride * pixman_image_get_height(s)); + } + + if (!rect_is_same_size(bbox, &rop3->src_area)) { + pixman_image_t *scaled_s = canvas_scale_surface(s, &rop3->src_area, image.width, + image.height, rop3->scale_mode); + pixman_image_unref(s); + s = scaled_s; + src_pos.x = 0; + src_pos.y = 0; + } else { + src_pos.x = rop3->src_area.left; + src_pos.y = rop3->src_area.top; + } + + if (pixman_image_get_width(s) - src_pos.x < image.width || + pixman_image_get_height(s) - src_pos.y < image.height) { + spice_critical("bad src bitmap size"); + return; + } + + if (rop3->brush.type == SPICE_BRUSH_TYPE_PATTERN) { + pixman_image_t *p = canvas_get_image(&canvas->base, rop3->brush.u.pattern.pat, FALSE); + SpicePoint pat_pos; + + pat_pos.x = (bbox->left - rop3->brush.u.pattern.pos.x) % pixman_image_get_width(p); + + pat_pos.y = (bbox->top - rop3->brush.u.pattern.pos.y) % pixman_image_get_height(p); + + //for now (bottom-top) + if (pat_pos.y < 0) { + pat_pos.y = pixman_image_get_height(p) + pat_pos.y; + } + pat_pos.y = (image.height + pat_pos.y) % pixman_image_get_height(p); + pat_pos.y = pixman_image_get_height(p) - pat_pos.y; + + do_rop3_with_pattern(rop3->rop3, d, s, &src_pos, p, &pat_pos); + pixman_image_unref(p); + } else { + uint32_t color = (canvas->base.color_shift) == 8 ? rop3->brush.u.color : + canvas_16bpp_to_32bpp(rop3->brush.u.color); + do_rop3_with_color(rop3->rop3, d, s, &src_pos, color); + } + + pixman_image_unref(s); + + GLCRecti dest; + GLCRecti src; + dest.x = bbox->left; + dest.y = bbox->top; + + image.pixels = copy_opposite_image(canvas, image.pixels, pixman_image_get_stride(d), + pixman_image_get_height(d)); + + src.x = src.y = 0; + dest.width = src.width = image.width; + dest.height = src.height = image.height; + glc_draw_image(canvas->glc, &dest, &src, &image, 0, 1); + pixman_image_unref(d); +} + +static void gl_canvas_draw_stroke(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceStroke *stroke) +{ + GLCanvas *canvas = (GLCanvas *)spice_canvas; + GLCPath path; + + set_clip(canvas, bbox, clip); + glc_clear_mask(canvas->glc, GLC_MASK_A); + set_op(canvas, stroke->fore_mode); + set_brush(canvas, &stroke->brush); + + if (stroke->attr.flags & SPICE_LINE_FLAGS_STYLED) { + spice_warning("SPICE_LINE_FLAGS_STYLED"); + } + glc_set_line_width(canvas->glc, 1.0); + + path = get_path(canvas, stroke->path); + glc_stroke_path(canvas->glc, path); + glc_path_destroy(path); +} + +static void gl_canvas_draw_text(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpiceText *text) +{ + GLCanvas *canvas = (GLCanvas *)spice_canvas; + GLCRect rect; + SpiceString *str; + + set_clip(canvas, bbox, clip); + glc_clear_mask(canvas->glc, GLC_MASK_A); + + if (!rect_is_empty(&text->back_area)) { + set_brush(canvas, &text->back_brush); + set_op(canvas, text->back_mode); + SET_GLC_RECT(&rect, bbox); + glc_fill_rect(canvas->glc, &rect); + } + + str = (SpiceString *)SPICE_GET_ADDRESS(text->str); + set_brush(canvas, &text->fore_brush); + set_op(canvas, text->fore_mode); + if (str->flags & SPICE_STRING_FLAGS_RASTER_A1) { + SpicePoint pos; + pixman_image_t *mask = canvas_get_str_mask(&canvas->base, str, 1, &pos); + _glc_fill_mask(canvas->glc, pos.x, pos.y, + pixman_image_get_width(mask), + pixman_image_get_height(mask), + pixman_image_get_stride(mask), + (uint8_t *)pixman_image_get_data(mask)); + pixman_image_unref(mask); + } else if (str->flags & SPICE_STRING_FLAGS_RASTER_A4) { + SpicePoint pos; + pixman_image_t *mask = canvas_get_str_mask(&canvas->base, str, 4, &pos); + glc_fill_alpha(canvas->glc, pos.x, pos.y, + pixman_image_get_width(mask), + pixman_image_get_height(mask), + pixman_image_get_stride(mask), + (uint8_t *)pixman_image_get_data(mask)); + + pixman_image_unref(mask); + } else if (str->flags & SPICE_STRING_FLAGS_RASTER_A8) { + spice_warning("untested path A8 glyphs, doing nothing"); + if (0) { + SpicePoint pos; + pixman_image_t *mask = canvas_get_str_mask(&canvas->base, str, 8, &pos); + glc_fill_alpha(canvas->glc, pos.x, pos.y, + pixman_image_get_width(mask), + pixman_image_get_height(mask), + pixman_image_get_stride(mask), + (uint8_t *)pixman_image_get_data(mask)); + pixman_image_unref(mask); + } + } else { + spice_warning("untested path vector glyphs, doing nothing"); + if (0) { + //draw_vector_str(canvas, str, &text->fore_brush, text->fore_mode); + } + } + glc_flush(canvas->glc); +} + +static void gl_canvas_clear(SpiceCanvas *spice_canvas) +{ + GLCanvas *canvas = (GLCanvas *)spice_canvas; + glc_clear(canvas->glc); + glc_flush(canvas->glc); +} + +static void gl_canvas_copy_bits(SpiceCanvas *spice_canvas, SpiceRect *bbox, SpiceClip *clip, SpicePoint *src_pos) +{ + GLCanvas *canvas = (GLCanvas *)spice_canvas; + set_clip(canvas, bbox, clip); + glc_clear_mask(canvas->glc, GLC_MASK_A); + glc_set_op(canvas->glc, GLC_OP_COPY); + glc_copy_pixels(canvas->glc, bbox->left, bbox->top, src_pos->x, src_pos->y, + bbox->right - bbox->left, bbox->bottom - bbox->top); +} + +static void gl_canvas_read_bits(SpiceCanvas *spice_canvas, uint8_t *dest, int dest_stride, const SpiceRect *area) +{ + GLCanvas *canvas = (GLCanvas *)spice_canvas; + GLCImage image; + + spice_return_if_fail(dest_stride > 0); + + image.format = GLC_IMAGE_RGB32; + image.height = area->bottom - area->top; + image.width = area->right - area->left; + image.pixels = dest; + image.stride = dest_stride; + glc_read_pixels(canvas->glc, area->left, area->top, &image); +} + +static void gl_canvas_group_start(SpiceCanvas *spice_canvas, QRegion *region) +{ + GLCanvas *canvas = (GLCanvas *)spice_canvas; + GLCRect *glc_rects; + GLCRect *now, *end; + int num_rect; + pixman_box32_t *rects; + + canvas_base_group_start(spice_canvas, region); + + rects = pixman_region32_rectangles(region, &num_rect); + + glc_rects = spice_new(GLCRect, num_rect); + now = glc_rects; + end = glc_rects + num_rect; + + for (; now < end; now++, rects++) { + SET_GLC_BOX(now, rects); + } + glc_mask_rects(canvas->glc, num_rect, glc_rects, GLC_MASK_B); + + free(glc_rects); +} + +static void gl_canvas_put_image(SpiceCanvas *spice_canvas, const SpiceRect *dest, const uint8_t *src_data, + uint32_t src_width, uint32_t src_height, int src_stride, + const QRegion *clip) +{ + GLCanvas *canvas = (GLCanvas *)spice_canvas; + GLCRecti src; + GLCRecti gldest; + GLCImage image; + uint32_t i; + + spice_return_if_fail(src_stride <= 0); + + glc_clip_reset(canvas->glc); + + if (clip) { + int num_rects; + pixman_box32_t *rects = pixman_region32_rectangles((pixman_region32_t *)clip, + &num_rects); + GLCRect rect; + if (num_rects == 0) { + rect.x = rect.y = rect.width = rect.height = 0; + glc_clip_rect(canvas->glc, &rect, GLC_CLIP_OP_SET); + } else { + SET_GLC_BOX(&rect, rects); + glc_clip_rect(canvas->glc, &rect, GLC_CLIP_OP_SET); + for (i = 1; i < num_rects; i++) { + SET_GLC_BOX(&rect, rects + i); + glc_clip_rect(canvas->glc, &rect, GLC_CLIP_OP_OR); + } + } + } + + SET_GLC_RECT(&gldest, dest); + src.x = src.y = 0; + src.width = src_width; + src.height = src_height; + + image.format = GLC_IMAGE_RGB32; + image.width = src_width; + image.height = src_height; + src_stride = -src_stride; + image.stride = src_stride; + image.pixels = (uint8_t *)src_data - (src_height - 1) * src_stride; + image.pallet = NULL; + glc_draw_image(canvas->glc, &gldest, &src, &image, 0, 1); + + glc_flush(canvas->glc); +} + +static void gl_canvas_group_end(SpiceCanvas *spice_canvas) +{ + GLCanvas *canvas = (GLCanvas *)spice_canvas; + + canvas_base_group_end(spice_canvas); + glc_clear_mask(canvas->glc, GLC_MASK_B); +} + +static int need_init = 1; +static SpiceCanvasOps gl_canvas_ops; + +SpiceCanvas *gl_canvas_create(int width, int height, uint32_t format +#ifdef SW_CANVAS_CACHE + , SpiceImageCache *bits_cache + , SpicePaletteCache *palette_cache +#elif defined(SW_CANVAS_IMAGE_CACHE) + , SpiceImageCache *bits_cache +#endif + , SpiceImageSurfaces *surfaces + , SpiceGlzDecoder *glz_decoder + , SpiceJpegDecoder *jpeg_decoder + , SpiceZlibDecoder *zlib_decoder + ) +{ + GLCanvas *canvas; + int init_ok; + + if (need_init) { + return NULL; + } + canvas = spice_new0(GLCanvas, 1); + + if (!(canvas->glc = glc_create(width, height))) { + goto error_1; + } + canvas->private_data = NULL; + init_ok = canvas_base_init(&canvas->base, &gl_canvas_ops, + width, height, format +#ifdef SW_CANVAS_CACHE + , bits_cache + , palette_cache +#elif defined(SW_CANVAS_IMAGE_CACHE) + , bits_cache +#endif + , surfaces + , glz_decoder + , jpeg_decoder + , zlib_decoder + ); + if (!init_ok) { + goto error_2; + } + + return (SpiceCanvas *)canvas; + +error_2: + glc_destroy(canvas->glc, 0); +error_1: + free(canvas); + + return NULL; +} + +void gl_canvas_set_textures_lost(SpiceCanvas *spice_canvas, + int textures_lost) +{ + GLCanvas *canvas = (GLCanvas *)spice_canvas; + + canvas->textures_lost = textures_lost; +} + +static void gl_canvas_destroy(SpiceCanvas *spice_canvas) +{ + GLCanvas *canvas = (GLCanvas *)spice_canvas; + + if (!canvas) { + return; + } + canvas_base_destroy(&canvas->base); + glc_destroy(canvas->glc, canvas->textures_lost); + free(canvas->private_data); + free(canvas); +} + +void gl_canvas_init(void) //unsafe global function +{ + if (!need_init) { + return; + } + need_init = 0; + + canvas_base_init_ops(&gl_canvas_ops); + gl_canvas_ops.draw_fill = gl_canvas_draw_fill; + gl_canvas_ops.draw_copy = gl_canvas_draw_copy; + gl_canvas_ops.draw_opaque = gl_canvas_draw_opaque; + gl_canvas_ops.copy_bits = gl_canvas_copy_bits; + gl_canvas_ops.draw_text = gl_canvas_draw_text; + gl_canvas_ops.draw_stroke = gl_canvas_draw_stroke; + gl_canvas_ops.draw_rop3 = gl_canvas_draw_rop3; + gl_canvas_ops.draw_blend = gl_canvas_draw_blend; + gl_canvas_ops.draw_blackness = gl_canvas_draw_blackness; + gl_canvas_ops.draw_whiteness = gl_canvas_draw_whiteness; + gl_canvas_ops.draw_invers = gl_canvas_draw_invers; + gl_canvas_ops.draw_transparent = gl_canvas_draw_transparent; + gl_canvas_ops.draw_alpha_blend = gl_canvas_draw_alpha_blend; + gl_canvas_ops.put_image = gl_canvas_put_image; + gl_canvas_ops.clear = gl_canvas_clear; + gl_canvas_ops.read_bits = gl_canvas_read_bits; + gl_canvas_ops.group_start = gl_canvas_group_start; + gl_canvas_ops.group_end = gl_canvas_group_end; + gl_canvas_ops.destroy = gl_canvas_destroy; + + rop3_init(); +} diff --git a/tizen/distrib/remote/common/spice-common/common/gl_canvas.h b/tizen/distrib/remote/common/spice-common/common/gl_canvas.h new file mode 100644 index 0000000..33b9fad --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/gl_canvas.h @@ -0,0 +1,47 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H__GL_CANVAS +#define _H__GL_CANVAS + +#include <spice/macros.h> + +#include "glc.h" +#include "canvas_base.h" +#include "region.h" + +SPICE_BEGIN_DECLS + +SpiceCanvas *gl_canvas_create(int width, int height, uint32_t format +#ifdef SW_CANVAS_CACHE + , SpiceImageCache *bits_cache + , SpicePaletteCache *palette_cache +#elif defined(SW_CANVAS_IMAGE_CACHE) + , SpiceImageCache *bits_cache +#endif + , SpiceImageSurfaces *surfaces + , SpiceGlzDecoder *glz_decoder + , SpiceJpegDecoder *jpeg_decoder + , SpiceZlibDecoder *zlib_decoder + ); +void gl_canvas_set_textures_lost(SpiceCanvas *canvas, int textures_lost); +void gl_canvas_init(void); + +SPICE_END_DECLS + +#endif diff --git a/tizen/distrib/remote/common/spice-common/common/gl_utils.h b/tizen/distrib/remote/common/spice-common/common/gl_utils.h new file mode 100644 index 0000000..5e50400 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/gl_utils.h @@ -0,0 +1,60 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#ifndef GL_UTILS_H +#define GL_UTILS_H + +#include <spice/macros.h> +#include "spice_common.h" + +SPICE_BEGIN_DECLS + +#ifdef RED_DEBUG +#define GLC_ERROR_TEST_FLUSH { \ + GLenum gl_err; glFlush(); \ + if ((gl_err = glGetError()) != GL_NO_ERROR) { \ + printf("%s[%d]: opengl error: %s\n", __FUNCTION__, __LINE__, \ + gluErrorString(gl_err)); \ + spice_abort(); \ + } \ +} + +#define GLC_ERROR_TEST_FINISH { \ + GLenum gl_err; glFinish(); \ + if ((gl_err = glGetError()) != GL_NO_ERROR) { \ + printf("%s[%d]: opengl error: %s\n", __FUNCTION__, __LINE__, \ + gluErrorString(gl_err)); \ + spice_abort(); \ + } \ +} +#else +#define GLC_ERROR_TEST_FLUSH ; + +#define GLC_ERROR_TEST_FINISH ; +#endif + +#include "bitops.h" + +#define find_msb spice_bit_find_msb +#define gl_get_to_power_two spice_bit_next_pow2 + +SPICE_END_DECLS + +#endif diff --git a/tizen/distrib/remote/common/spice-common/common/glc.c b/tizen/distrib/remote/common/spice-common/common/glc.c new file mode 100644 index 0000000..91b295c --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/glc.c @@ -0,0 +1,1513 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <stdlib.h> +#include <string.h> +#include <stdio.h> +#include <math.h> +#include <spice/macros.h> + +#include <GL/gl.h> +#include <GL/glu.h> +#include <GL/glext.h> + +#ifdef WIN32 +#include "glext.h" +#include "wglext.h" +#endif + +#include "mem.h" +#include "glc.h" +#include "gl_utils.h" +#include "spice_common.h" + +#define TESS_VERTEX_ALLOC_BUNCH 20 + +typedef struct InternaCtx InternaCtx; +typedef struct InternalPat { + InternaCtx *owner; + int refs; + GLuint texture; + int x_orign; + int y_orign; + int width; + int height; +} InternalPat; + +typedef struct Pathpath { + int start_point; + int num_segments; +} Path; + +enum { + GLC_PATH_SEG_LINES, + GLC_PATH_SEG_BEIZER, +}; + +//todo: flatten cache +typedef struct PathSegment { + int type; + int count; +} PathSegment; + +typedef struct PathPoint { + double x; + double y; + double z; +} PathPoint; + +typedef GLdouble Vertex[3]; + +typedef struct InternalPath { + InternaCtx *owner; + + Path *paths; + int paths_size; + int paths_pos; + + PathSegment *segments; + int segments_size; + int segments_pos; + + PathPoint *points; + int points_size; + int points_pos; + + Path *current_path; + PathSegment *current_segment; +} InternalPath; + +typedef struct TassVertex TassVertex; +struct TassVertex { + PathPoint point; + TassVertex *list_link; + TassVertex *next; +}; + +typedef struct TassVertexBuf TassVertexBuf; +struct TassVertexBuf { + TassVertexBuf *next; + TassVertex vertexs[0]; +}; + +#define USE_LINE_ANTIALIAS 0 + +typedef struct LineDash { + double *dashes; + int num_dashes; + double offset; + int cur_dash; + double dash_pos; +} LineDash; + +enum { + GLC_STROKE_NONACTIVE, + GLC_STROKE_FIRST, + GLC_STROKE_ACTIVE, +}; + +typedef struct PathStroke { + double x; + double y; + int state; +} PathStroke; + +struct InternaCtx { + int draw_mode; + int stencil_refs; + int stencil_mask; + int width; + int height; + GLfloat line_width; + LineDash line_dash; + PathStroke path_stroke; + InternalPat *pat; + int max_texture_size; + GLUtesselator* tesselator; + TassVertex *free_tess_vertex; + TassVertex *used_tess_vertex; + TassVertexBuf *vertex_bufs; + int private_tex_width; + int private_tex_height; + GLuint private_tex; +#ifdef WIN32 + PFNGLBLENDEQUATIONPROC glBlendEquation; +#endif +}; + +#define Y(y) -(y) +#define VERTEX2(x, y) glVertex2d(x, Y(y)) + +static void fill_rect(InternaCtx *ctx, void *rect); +static void fill_path(InternaCtx *ctx, void *path); +static void fill_mask(InternaCtx *ctx, int x_dest, int y_dest, int width, int height, int stride, + const uint8_t *bitmap); +static void set_pat(InternaCtx *ctx, InternalPat *pat); + +static inline void set_raster_pos(InternaCtx *ctx, int x, int y) +{ + if (x >= 0 && y >= 0 && x < ctx->width && y < ctx->height) { + glRasterPos2i(x, Y(y)); + return; + } + glRasterPos2i(0, 0); + glBitmap(0, 0, 0, 0, (GLfloat)x, (GLfloat)Y(y), NULL); +} + +static TassVertex *alloc_tess_vertex(InternaCtx *ctx) +{ + TassVertex *vertex; + + if (!ctx->free_tess_vertex) { + TassVertexBuf *buf; + int i; + + buf = (TassVertexBuf *)spice_malloc(sizeof(TassVertexBuf) + + sizeof(TassVertex) * TESS_VERTEX_ALLOC_BUNCH); + buf->next = ctx->vertex_bufs; + ctx->vertex_bufs = buf; + for (i = 0; i < TESS_VERTEX_ALLOC_BUNCH; i++) { + buf->vertexs[i].point.z = 0; + buf->vertexs[i].next = ctx->free_tess_vertex; + ctx->free_tess_vertex = &buf->vertexs[i]; + } + } + + vertex = ctx->free_tess_vertex; + ctx->free_tess_vertex = vertex->next; + vertex->next = ctx->used_tess_vertex; + ctx->used_tess_vertex = vertex; + return vertex; +} + +static void reset_tass_vertex(InternaCtx *ctx) +{ + TassVertex *vertex; + while ((vertex = ctx->used_tess_vertex)) { + ctx->used_tess_vertex = vertex->next; + vertex->next = ctx->free_tess_vertex; + ctx->free_tess_vertex = vertex; + } +} + +static void free_tass_vertex_bufs(InternaCtx *ctx) +{ + TassVertexBuf *buf; + + ctx->used_tess_vertex = NULL; + ctx->free_tess_vertex = NULL; + while ((buf = ctx->vertex_bufs)) { + ctx->vertex_bufs = buf->next; + free(buf); + } +} + +//naive bezier flattener +static TassVertex *bezier_flattener(InternaCtx *ctx, PathPoint *points) +{ + double ax, bx, cx; + double ay, by, cy; + const int num_points = 30; + double dt; + int i; + + TassVertex *vertex_list = NULL; + TassVertex *curr_vertex; + + for (i = 0; i < num_points - 2; i++) { + TassVertex *vertex; + + vertex = alloc_tess_vertex(ctx); + vertex->list_link = vertex_list; + vertex_list = vertex; + } + + curr_vertex = vertex_list; + + cx = 3.0 * (points[1].x - points[0].x); + bx = 3.0 * (points[2].x - points[1].x) - cx; + ax = points[3].x - points[0].x - cx - bx; + + cy = 3.0 * (points[1].y - points[0].y); + by = 3.0 * (points[2].y - points[1].y) - cy; + ay = points[3].y - points[0].y - cy - by; + + dt = 1.0 / (num_points - 1); + + for (i = 1; i < num_points - 1; i++, curr_vertex = curr_vertex->list_link) { + double tSquared, tCubed; + double t; + t = i * dt; + + tSquared = t * t; + tCubed = tSquared * t; + + curr_vertex->point.x = (ax * tCubed) + (bx * tSquared) + (cx * t) + points[0].x; + curr_vertex->point.y = (ay * tCubed) + (by * tSquared) + (cy * t) + points[0].y; + } + + return vertex_list; +} + +#define MORE_X(path, Type, name) { \ + Type *name; \ + \ + name = spice_new0(Type, path->name##_size * 2); \ + memcpy(name, path->name, sizeof(*name) * path->name##_size); \ + free(path->name); \ + path->name = name; \ + path->name##_size *= 2; \ +} + +static void more_points(InternalPath *path) +{ + MORE_X(path, PathPoint, points); +} + +static void more_segments(InternalPath *path) +{ + MORE_X(path, PathSegment, segments); +} + +static void more_paths(InternalPath *path) +{ + MORE_X(path, Path, paths); +} + +static inline void put_point(InternalPath *path, double x, double y) +{ + path->points[path->points_pos].x = x; + path->points[path->points_pos].y = Y(y + 0.5); + path->points[path->points_pos++].z = 0; +} + +void glc_path_move_to(GLCPath path, double x, double y) +{ + InternalPath *internal = (InternalPath *)path; + + spice_assert(internal); + + if (internal->current_segment) { + internal->current_segment = NULL; + internal->current_path = NULL; + if (internal->points_pos == internal->points_size) { + more_points(internal); + } + internal->points_pos++; + } + internal->points[internal->points_pos - 1].x = x; + internal->points[internal->points_pos - 1].y = Y(y + 0.5); + internal->points[internal->points_pos - 1].z = 0; +} + +static void add_segment_common(InternalPath *internal, int type, int num_points) +{ + if (internal->points_size - internal->points_pos < num_points) { + more_points(internal); + } + + if (internal->current_segment) { + if (internal->current_segment->type == type) { + internal->current_segment->count++; + return; + } + if (internal->segments_pos == internal->segments_size) { + more_segments(internal); + } + internal->current_segment = &internal->segments[internal->segments_pos++]; + internal->current_segment->type = type; + internal->current_segment->count = 1; + internal->current_path->num_segments++; + return; + } + + if (internal->paths_pos == internal->paths_size) { + more_paths(internal); + } + + if (internal->segments_pos == internal->segments_size) { + more_segments(internal); + } + + internal->current_path = &internal->paths[internal->paths_pos++]; + internal->current_path->start_point = internal->points_pos - 1; + internal->current_path->num_segments = 1; + internal->current_segment = &internal->segments[internal->segments_pos++]; + internal->current_segment->type = type; + internal->current_segment->count = 1; +} + +void glc_path_line_to(GLCPath path, double x, double y) +{ + InternalPath *internal = (InternalPath *)path; + + spice_assert(internal); + + add_segment_common(internal, GLC_PATH_SEG_LINES, 1); + put_point(internal, x, y); +} + +void glc_path_curve_to(GLCPath path, double p1_x, double p1_y, double p2_x, double p2_y, + double p3_x, double p3_y) +{ + InternalPath *internal = (InternalPath *)path; + + spice_assert(internal); + + add_segment_common(internal, GLC_PATH_SEG_BEIZER, 3); + put_point(internal, p1_x, p1_y); + put_point(internal, p2_x, p2_y); + put_point(internal, p3_x, p3_y); +} + +void glc_path_close(GLCPath path) +{ + InternalPath *internal = (InternalPath *)path; + + spice_assert(internal); + if (!internal->current_path) { + return; + } + PathPoint *end_point = &internal->points[internal->current_path->start_point]; + glc_path_line_to(path, end_point->x, Y(end_point->y)); + glc_path_move_to(path, end_point->x, Y(end_point->y)); +} + +void glc_path_cleare(GLCPath path) +{ + InternalPath *internal = (InternalPath *)path; + + spice_assert(internal); + internal->paths_pos = internal->segments_pos = 0; + internal->current_segment = NULL; + internal->current_path = NULL; + + internal->points[0].x = 0; + internal->points[0].y = 0; + internal->points_pos = 1; +} + +GLCPath glc_path_create(GLCCtx glc) +{ + InternaCtx *ctx = (InternaCtx *)glc; + InternalPath *path; + + spice_assert(ctx); + path = spice_new0(InternalPath, 1); + path->paths_size = 2; + path->paths = spice_new(Path, path->paths_size); + + path->segments_size = 4; + path->segments = spice_new(PathSegment, path->segments_size); + + path->points_size = 20; + path->points = spice_new(PathPoint, path->points_size); + + path->owner = ctx; + path->points_pos = 1; + return path; +} + +void glc_path_destroy(GLCPath path) +{ + InternalPath *internal = (InternalPath *)path; + + if (!path) { + return; + } + + free(internal->points); + free(internal->segments); + free(internal->paths); + free(internal); +} + +static inline void unref_pat(InternalPat *pat) +{ + if (!pat) { + return; + } + spice_assert(pat->refs > 0); + if (--pat->refs == 0) { + glFinish(); + glDeleteTextures(1, &pat->texture); + free(pat); + } + GLC_ERROR_TEST_FLUSH; +} + +static inline InternalPat *ref_pat(InternalPat *pat) +{ + pat->refs++; + return pat; +} + +static void scale(uint32_t *dest, uint32_t dest_width, uint32_t dest_height, + uint32_t *src, uint32_t src_width, uint32_t src_height, int src_stride) +{ + double x_scale = (double)src_width / dest_width; + double y_scale = (double)src_height / dest_height; + uint32_t i; + uint32_t j; + int prev_row = -1; + + for (i = 0; i < dest_height; i++) { + int row = (int)(y_scale * i); + if (row == prev_row) { + memcpy(dest, dest - dest_width, dest_width * sizeof(uint32_t)); + dest += dest_width; + continue; + } + for (j = 0; j < dest_width; j++) { + int col = (int)(x_scale * j); + *(dest++) = *(src + col); + } + prev_row = row; + src = (uint32_t *)((uint8_t *)src + src_stride); + } +} + +static inline void init_pattern(InternalPat *pat, int x_orign, int y_orign, const GLCImage *image) +{ + InternaCtx *ctx = pat->owner; + uint32_t *tmp_pixmap = NULL; + int width; + int height; + int width2; + int height2; + + const int pix_bytes = 4; + + spice_assert(image->format == GLC_IMAGE_RGB32); //for now + + width = image->width; + height = image->height; + width2 = gl_get_to_power_two(width); + height2 = gl_get_to_power_two(height); + + spice_assert(width > 0 && height > 0); + spice_assert(width > 0 && width <= pat->owner->max_texture_size); + spice_assert(height > 0 && height <= pat->owner->max_texture_size); + + if (width2 != width || height2 != height) { + tmp_pixmap = (uint32_t *)spice_malloc(width2 * height2 * sizeof(uint32_t)); + scale(tmp_pixmap, width2, height2, (uint32_t *)image->pixels, width, height, image->stride); + } + + glBindTexture(GL_TEXTURE_2D, pat->texture); + + //glTexEnvf( GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE); + + glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); + glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); + glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT); + glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT); + + if (tmp_pixmap) { + glPixelStorei(GL_UNPACK_ROW_LENGTH, width2); + glTexImage2D(GL_TEXTURE_2D, 0, 4, width2, height2, 0, GL_BGRA, GL_UNSIGNED_BYTE, + tmp_pixmap); + free(tmp_pixmap); + } else { + spice_assert(image->stride % pix_bytes == 0); + glPixelStorei(GL_UNPACK_ROW_LENGTH, image->stride / pix_bytes); + glTexImage2D(GL_TEXTURE_2D, 0, 4, width, height, 0, GL_BGRA, GL_UNSIGNED_BYTE, + image->pixels); + } + + GLC_ERROR_TEST_FLUSH; + pat->x_orign = x_orign % width; + pat->y_orign = y_orign % height; + pat->width = width; + pat->height = height; + + if (ctx->pat == pat) { + set_pat(pat->owner, pat); + } else if (ctx->pat) { + glBindTexture(GL_TEXTURE_2D, ctx->pat->texture); + } +} + +GLCPattern glc_pattern_create(GLCCtx glc, int x_orign, int y_orign, const GLCImage *image) +{ + InternaCtx *ctx = (InternaCtx *)glc; + InternalPat *pat; + + spice_assert(ctx && image); + + pat = spice_new0(InternalPat, 1); + pat->refs = 1; + pat->owner = ctx; + glGenTextures(1, &pat->texture); + init_pattern(pat, x_orign, y_orign, image); + return pat; +} + +void glc_pattern_set(GLCPattern pattern, int x_orign, int y_orign, const GLCImage *image) +{ + InternalPat *pat = (InternalPat *)pattern; + spice_assert(pat && pat->owner); + + glFinish(); + init_pattern(pat, x_orign, y_orign, image); +} + +void glc_pattern_destroy(GLCPattern pat) +{ + unref_pat((InternalPat *)pat); + GLC_ERROR_TEST_FLUSH; +} + +static void set_pat(InternaCtx *ctx, InternalPat *pat) +{ + pat = ref_pat(pat); + unref_pat(ctx->pat); + ctx->pat = pat; + + glEnable(GL_TEXTURE_2D); + glBindTexture(GL_TEXTURE_2D, pat->texture); + + GLfloat s_gen_params[] = { (GLfloat)1.0 / pat->width, 0, 0, 0 }; + GLfloat t_gen_params[] = { 0, (GLfloat)1.0 / (GLfloat)pat->height, 0, 0 }; + glTexGenfv(GL_S, GL_OBJECT_PLANE, s_gen_params); + glTexGenfv(GL_T, GL_OBJECT_PLANE, t_gen_params); + + glMatrixMode(GL_TEXTURE); + glLoadIdentity(); + glTranslatef((float)pat->x_orign / pat->width, (float)Y(pat->y_orign) / pat->height, 0); + GLC_ERROR_TEST_FLUSH; +} + +void glc_set_pattern(GLCCtx glc, GLCPattern pattern) +{ + InternaCtx *ctx = (InternaCtx *)glc; + InternalPat *pat = (InternalPat *)pattern; + + spice_assert(ctx && pat && pat->owner == ctx); + set_pat(ctx, pat); +} + +void glc_set_rgb(GLCCtx glc, double red, double green, double blue) +{ + InternaCtx *ctx = (InternaCtx *)glc; + + spice_assert(ctx); + + glDisable(GL_TEXTURE_2D); + unref_pat(ctx->pat); + ctx->pat = NULL; + glColor4d(red, green, blue, 1); + GLC_ERROR_TEST_FLUSH; +} + +void glc_set_op(GLCCtx glc, GLCOp op) +{ + if (op == GL_COPY) { + glDisable(GL_COLOR_LOGIC_OP); + return; + } + glLogicOp(op); + glEnable(GL_COLOR_LOGIC_OP); +} + +void glc_set_line_width(GLCCtx glc, double width) +{ + InternaCtx *ctx = (InternaCtx *)glc; + + spice_assert(ctx); + ctx->line_width = (GLfloat)width; + if (ctx->line_width > 0) { + glLineWidth(ctx->line_width); + } else { + ctx->line_width = 0; + } + GLC_ERROR_TEST_FLUSH; +} + +void glc_set_line_dash(GLCCtx glc, const double *dashes, int num_dashes, double offset) +{ + InternaCtx *ctx = (InternaCtx *)glc; + + spice_assert(ctx); + if (dashes && num_dashes >= 0 && offset >= 0) { + ctx->line_dash.dashes = spice_new(double, num_dashes); + memcpy(ctx->line_dash.dashes, dashes, sizeof(double) * num_dashes); + ctx->line_dash.num_dashes = num_dashes; + ctx->line_dash.offset = offset; + ctx->line_dash.cur_dash = offset ? -1 : 0; + ctx->line_dash.dash_pos = 0; + } else { + free(ctx->line_dash.dashes); + memset(&ctx->line_dash, 0, sizeof(ctx->line_dash)); + } +} + +void glc_set_fill_mode(GLCCtx glc, GLCFillMode fill_mode) +{ + InternaCtx *ctx = (InternaCtx *)glc; + + spice_assert(ctx); + int mode; + switch (fill_mode) { + case GLC_FILL_MODE_WINDING_ODD: + mode = GLU_TESS_WINDING_ODD; + break; + case GLC_FILL_MODE_WINDING_NONZERO: + mode = GLU_TESS_WINDING_NONZERO; + break; + default: + //warn + return; + } + gluTessProperty(ctx->tesselator, GLU_TESS_WINDING_RULE, mode); +} + +static inline void add_stencil_client(InternaCtx *ctx) +{ + if (!ctx->stencil_refs) { + glEnable(GL_STENCIL_TEST); + } + ctx->stencil_refs++; +} + +static inline void remove_stencil_client(InternaCtx *ctx) +{ + ctx->stencil_refs--; + if (!ctx->stencil_refs) { + glDisable(GL_STENCIL_TEST); + } +} + +void glc_set_mask(GLCCtx glc, int x_dest, int y_dest, int width, int height, + int stride, const uint8_t *bitmap, GLCMaskID id) +{ + InternaCtx *ctx = (InternaCtx *)glc; + uint32_t mask = (id == GLC_MASK_A) ? 0x04 : 0x08; + spice_assert(ctx && bitmap); + spice_assert(id == GLC_MASK_A || id == GLC_MASK_B); + + if (ctx->pat) { + glDisable(GL_TEXTURE_2D); + } + + glDisable(GL_BLEND); + + if (!(ctx->stencil_mask & mask)) { + add_stencil_client(ctx); + ctx->stencil_mask |= mask; + } + + glColorMask(GL_FALSE, GL_FALSE, GL_FALSE, GL_FALSE); + ctx->draw_mode = FALSE; + glStencilMask(mask); + glClear(GL_STENCIL_BUFFER_BIT); + + glStencilFunc(GL_ALWAYS, mask, mask); + glStencilOp(GL_REPLACE, GL_REPLACE, GL_REPLACE); + fill_mask(ctx, x_dest, y_dest, width, height, stride, bitmap); +} + +void glc_mask_rects(GLCCtx glc, int num_rect, GLCRect *rects, GLCMaskID id) +{ + InternaCtx *ctx = (InternaCtx *)glc; + uint32_t mask = (id == GLC_MASK_A) ? 0x04 : 0x08; + GLCRect *end; + spice_assert(ctx && rects); + spice_assert(id == GLC_MASK_A || id == GLC_MASK_B); + + if (ctx->pat) { + glDisable(GL_TEXTURE_2D); + } + + glDisable(GL_BLEND); + + if (!(ctx->stencil_mask & mask)) { + add_stencil_client(ctx); + ctx->stencil_mask |= mask; + } + + glColorMask(GL_FALSE, GL_FALSE, GL_FALSE, GL_FALSE); + ctx->draw_mode = FALSE; + glStencilMask(mask); + glClear(GL_STENCIL_BUFFER_BIT); + + glStencilFunc(GL_ALWAYS, mask, mask); + glStencilOp(GL_REPLACE, GL_REPLACE, GL_REPLACE); + end = rects + num_rect; + for (; rects < end; rects++) { + fill_rect(ctx, rects); + } +} + +void glc_clear_mask(GLCCtx glc, GLCMaskID id) +{ + InternaCtx *ctx = (InternaCtx *)glc; + uint32_t mask = (id == GLC_MASK_A) ? 0x04 : 0x08; + spice_assert(ctx); + spice_assert(id == GLC_MASK_A || id == GLC_MASK_B); + + if ((ctx->stencil_mask & mask)) { + ctx->stencil_mask &= ~mask; + remove_stencil_client(ctx); + } +} + +void glc_clip_reset(GLCCtx glc) +{ + InternaCtx *ctx = (InternaCtx *)glc; + + if (!(ctx->stencil_mask & 0x03)) { + return; + } + remove_stencil_client(ctx); + ctx->stencil_mask &= ~0x03; + glStencilMask(0x03); + glClear(GL_STENCIL_BUFFER_BIT); + GLC_ERROR_TEST_FLUSH; +} + +static void clip_common(InternaCtx *ctx, GLCClipOp op, void (*fill_func)(InternaCtx *, void *), + void *data) +{ + int stencil_val; + + if (ctx->pat) { + glDisable(GL_TEXTURE_2D); + } + glDisable(GL_BLEND); + glColorMask(GL_FALSE, GL_FALSE, GL_FALSE, GL_FALSE); + ctx->draw_mode = FALSE; + + if (op == GLC_CLIP_OP_SET) { + glc_clip_reset(ctx); + add_stencil_client(ctx); + ctx->stencil_mask |= 0x01; + } else if (!(ctx->stencil_mask & 0x03)) { + GLCRect area; + if (op == GLC_CLIP_OP_OR) { + return; + } + area.x = area.y = 0; + area.width = ctx->width; + area.height = ctx->height; + clip_common(ctx, GLC_CLIP_OP_SET, fill_rect, &area); + } + glStencilMask(0x03); + switch (op) { + case GLC_CLIP_OP_SET: + case GLC_CLIP_OP_OR: + stencil_val = ctx->stencil_mask & 0x03; + glStencilFunc(GL_ALWAYS, stencil_val, stencil_val); + glStencilOp(GL_REPLACE, GL_REPLACE, GL_REPLACE); + fill_func(ctx, data); + break; + case GLC_CLIP_OP_AND: { + int clear_mask; + stencil_val = ctx->stencil_mask & 0x03; + glStencilFunc(GL_EQUAL, stencil_val, stencil_val); + if (stencil_val == 0x01) { + glStencilOp(GL_ZERO, GL_INCR, GL_INCR); + stencil_val = 0x02; + clear_mask = 0x01; + } else { + glStencilOp(GL_ZERO, GL_DECR, GL_DECR); + stencil_val = 0x01; + clear_mask = 0x02; + } + fill_func(ctx, data); + + glStencilMask(clear_mask); + glClear(GL_STENCIL_BUFFER_BIT); + ctx->stencil_mask = (ctx->stencil_mask & ~clear_mask) | stencil_val; + break; + } + case GLC_CLIP_OP_EXCLUDE: + stencil_val = ctx->stencil_mask & 0x03; + glStencilFunc(GL_EQUAL, stencil_val, stencil_val); + glStencilOp(GL_KEEP, GL_ZERO, GL_ZERO); + fill_func(ctx, data); + break; + } + GLC_ERROR_TEST_FLUSH; +} + +void glc_clip_rect(GLCCtx glc, const GLCRect *rect, GLCClipOp op) +{ + InternaCtx *ctx = (InternaCtx *)glc; + + spice_assert(ctx && rect); + clip_common(ctx, op, fill_rect, (void *)rect); +} + +void glc_clip_path(GLCCtx glc, GLCPath path, GLCClipOp op) +{ + InternaCtx *ctx = (InternaCtx *)glc; + + spice_assert(ctx && path); + clip_common(ctx, op, fill_path, path); +} + +typedef struct FillMaskInfo { + int x_dest; + int y_dest; + int width; + int height; + int stride; + const uint8_t *bitmap; +} FillMaskInfo; + +static void __fill_mask(InternaCtx *ctx, void *data) +{ + FillMaskInfo *info = (FillMaskInfo *)data; + fill_mask(ctx, info->x_dest, info->y_dest, info->width, info->height, info->stride, + info->bitmap); +} + +void glc_clip_mask(GLCCtx glc, int x_dest, int y_dest, int width, int height, + int stride, const uint8_t *bitmap, GLCClipOp op) +{ + InternaCtx *ctx = (InternaCtx *)glc; + FillMaskInfo mask_info; + + spice_assert(ctx && bitmap); + mask_info.x_dest = x_dest; + mask_info.y_dest = y_dest; + mask_info.width = width; + mask_info.height = height; + mask_info.stride = stride; + mask_info.bitmap = bitmap; + clip_common(ctx, op, __fill_mask, &mask_info); +} + +static inline void start_draw(InternaCtx *ctx) +{ + if (ctx->draw_mode) { + return; + } + ctx->draw_mode = TRUE; + glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); + glStencilFunc(GL_EQUAL, ctx->stencil_mask, ctx->stencil_mask); + glStencilOp(GL_KEEP, GL_KEEP, GL_KEEP); + if (ctx->pat) { + glEnable(GL_TEXTURE_2D); + } else { + glDisable(GL_TEXTURE_2D); + } + GLC_ERROR_TEST_FLUSH; +} + +static void fill_rect(InternaCtx *ctx, void *r) +{ + GLCRect *rect = (GLCRect *)r; + glRectd(rect->x, Y(rect->y), rect->x + rect->width, Y(rect->y + rect->height)); + /*glBegin(GL_POLYGON); + VERTEX2(rect->x, rect->y); + VERTEX2 (rect->x + rect->width, rect->y); + VERTEX2 (rect->x + rect->width, rect->y + rect->height); + VERTEX2 (rect->x , rect->y + rect->height); + glEnd();*/ + GLC_ERROR_TEST_FLUSH; +} + +void glc_fill_rect(GLCCtx glc, const GLCRect *rect) +{ + InternaCtx *ctx = (InternaCtx *)glc; + GLCRect *r = (GLCRect *)rect; // to avoid bugs in gcc older than 4.3 + + spice_assert(ctx); + start_draw(ctx); + fill_rect(ctx, (void *)r); + GLC_ERROR_TEST_FLUSH; +} + +static void fill_path(InternaCtx *ctx, void *p) +{ + InternalPath *path = (InternalPath *)p; + + PathPoint *current_point = path->points; + PathSegment *current_segment = path->segments; + Path *current_path = path->paths; + Path *end_path = current_path + path->paths_pos; + reset_tass_vertex(ctx); + gluTessBeginPolygon(ctx->tesselator, ctx); + for (; current_path < end_path; current_path++) { + gluTessBeginContour(ctx->tesselator); + PathSegment *end_segment = current_segment + current_path->num_segments; + gluTessVertex(ctx->tesselator, (GLdouble *)current_point, current_point); + current_point++; + for (; current_segment < end_segment; current_segment++) { + PathPoint *end_point; + if (current_segment->type == GLC_PATH_SEG_BEIZER) { + end_point = current_point + current_segment->count * 3; + for (; current_point < end_point; current_point += 3) { + TassVertex *vertex = bezier_flattener(ctx, current_point - 1); + while (vertex) { + gluTessVertex(ctx->tesselator, (GLdouble *)&vertex->point, + (GLdouble *)&vertex->point); + vertex = vertex->list_link; + } + gluTessVertex(ctx->tesselator, (GLdouble *)¤t_point[2], + (GLdouble *)¤t_point[2]); + } + } else { + spice_assert(current_segment->type == GLC_PATH_SEG_LINES); + end_point = current_point + current_segment->count; + for (; current_point < end_point; current_point++) { + gluTessVertex(ctx->tesselator, (GLdouble *)current_point, + (GLdouble *)current_point); + } + } + } + gluTessEndContour(ctx->tesselator); + } + gluTessEndPolygon(ctx->tesselator); +} + +void glc_fill_path(GLCCtx glc, GLCPath path_ref) +{ + InternaCtx *ctx = (InternaCtx *)glc; + + spice_assert(ctx && path_ref); + start_draw(ctx); + fill_path(ctx, path_ref); +} + +static void fill_mask(InternaCtx *ctx, int x_dest, int y_dest, int width, int height, + int stride, const uint8_t *bitmap) +{ + set_raster_pos(ctx, x_dest, y_dest + height); + glPixelStorei(GL_UNPACK_ROW_LENGTH, stride * 8); + glBitmap(width, height, 0, 0, 0, 0, bitmap); +} + +void _glc_fill_mask(GLCCtx glc, int x_dest, int y_dest, int width, int height, int stride, + const uint8_t *bitmap) +{ + InternaCtx *ctx = (InternaCtx *)glc; + + spice_assert(ctx && bitmap); + start_draw(ctx); + if (ctx->pat) { + spice_critical("unimplemented fill mask with pattern"); + } + fill_mask(ctx, x_dest, y_dest, width, height, stride, bitmap); +} + +void glc_fill_alpha(GLCCtx glc, int x_dest, int y_dest, int width, int height, int stride, + const uint8_t *alpha_mask) +{ + InternaCtx *ctx = (InternaCtx *)glc; + GLCRect r; + + spice_assert(ctx); + start_draw(ctx); + + glColorMask(GL_FALSE, GL_FALSE, GL_FALSE, GL_TRUE); + set_raster_pos(ctx, x_dest, y_dest + height); + glPixelStorei(GL_UNPACK_ROW_LENGTH, stride); + glPixelZoom(1, 1); + glDrawPixels(width, height, GL_ALPHA, GL_UNSIGNED_BYTE, alpha_mask); + + r.x = x_dest; + r.y = y_dest; + r.width = width; + r.height = height; + + //todo: support color/texture alpah vals (GL_MODULATE) + glEnable(GL_BLEND); + glBlendFunc(GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA); + glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); + fill_rect(ctx, &r); + glDisable(GL_BLEND); +} + +void glc_stroke_rect(GLCCtx glc, const GLCRect *rect) +{ + InternaCtx *ctx = (InternaCtx *)glc; + + spice_assert(ctx); + if (ctx->line_width == 0) { + return; + } + + start_draw(ctx); + + glBegin(GL_LINES); + VERTEX2(rect->x, rect->y + 0.5); + VERTEX2(rect->x + rect->width, rect->y + 0.5); + VERTEX2(rect->x + rect->width - 0.5, rect->y); + VERTEX2(rect->x + rect->width - 0.5, rect->y + rect->height); + VERTEX2(rect->x + rect->width, rect->y + rect->height - 0.5); + VERTEX2(rect->x, rect->y + rect->height - 0.5); + VERTEX2(rect->x + 0.5, rect->y + rect->height); + VERTEX2(rect->x + 0.5, rect->y); + glEnd(); + GLC_ERROR_TEST_FLUSH; +} + +static void glc_stroke_line(double x1, double y1, double x2, double y2, double width) +{ + double ax, ay, bx, by, cx, cy, dx, dy; + double norm, tx; + + if (width == 1 || y1 == y2 || x1 == x2) { + glBegin(GL_LINES); + glVertex2d(x1, y1); + glVertex2d(x2, y2); + glEnd(); + return; + } + norm = (x1 - x2) / (y2 - y1); + tx = width / (2 * sqrt(1 + norm * norm)); + ax = x1 + tx; + ay = y1 + norm * (ax - x1); + bx = x2 + tx; + by = y2 + norm * (bx - x2); + cx = x2 - tx; + cy = y2 + norm * (cx - x2); + dx = x1 - tx; + dy = y1 + norm * (dx - x1); + glBegin(GL_POLYGON); + glVertex2d(ax, ay); + glVertex2d(bx, by); + glVertex2d(cx, cy); + glVertex2d(dx, dy); + glEnd(); +} + +static double glc_stroke_line_dash(double x1, double y1, double x2, double y2, + double width, LineDash *dash) +{ + double ax, ay, bx, by; + double mx, my, len; + double dash_len, total = 0; + + len = sqrt(pow(x2 - x1, 2) + pow(y2 - y1, 2)); + if (!dash->dashes || !dash->num_dashes) { + glc_stroke_line(x1, y1, x2, y2, width); + return len; + } + mx = (x2 - x1) / len; + my = (y2 - y1) / len; + ax = x1; + ay = y1; + while (total < len) { + if (dash->cur_dash >= 0) { + dash_len = dash->dashes[dash->cur_dash % dash->num_dashes] - dash->dash_pos; + } else { + dash_len = dash->offset - dash->dash_pos; + } + total += dash_len; + if (total < len) { + bx = x1 + mx * total; + by = y1 + my * total; + dash->dash_pos = 0; + } else { + bx = x2; + by = y2; + dash->dash_pos = dash->dashes[dash->cur_dash % dash->num_dashes] - (total - len); + } + if (dash->cur_dash % 2 == 0) { + glc_stroke_line(ax, ay, bx, by, width); + } + if (dash->dash_pos == 0) { + dash->cur_dash = (dash->cur_dash + 1) % (2 * dash->num_dashes); + } + ax = bx; + ay = by; + } + return len; +} + +static void glc_vertex2d(InternaCtx *ctx, double x, double y) +{ + if (ctx->path_stroke.state == GLC_STROKE_ACTIVE) { + glc_stroke_line_dash(ctx->path_stroke.x, ctx->path_stroke.y, x, y, + ctx->line_width, &ctx->line_dash); + ctx->path_stroke.x = x; + ctx->path_stroke.y = y; + } else if (ctx->path_stroke.state == GLC_STROKE_FIRST) { + ctx->path_stroke.x = x; + ctx->path_stroke.y = y; + ctx->path_stroke.state = GLC_STROKE_ACTIVE; + } else { + spice_assert(ctx->path_stroke.state == GLC_STROKE_NONACTIVE); + //error + } +} + +static void glc_begin_path(InternaCtx *ctx) +{ + ctx->path_stroke.state = GLC_STROKE_FIRST; + ctx->line_dash.cur_dash = ctx->line_dash.offset ? -1 : 0; + ctx->line_dash.dash_pos = 0; +} + +static void glc_end_path(InternaCtx *ctx) +{ + ctx->path_stroke.state = GLC_STROKE_NONACTIVE; +} + +void glc_stroke_path(GLCCtx glc, GLCPath path_ref) +{ + InternaCtx *ctx = (InternaCtx *)glc; + InternalPath *path = (InternalPath *)path_ref; + + spice_assert(ctx && path); + if (ctx->line_width == 0) { + return; + } + start_draw(ctx); + + reset_tass_vertex(ctx); + PathPoint *current_point = path->points; + PathSegment *current_segment = path->segments; + Path *current_path = path->paths; + Path *end_path = current_path + path->paths_pos; + for (; current_path < end_path; current_path++) { + glc_begin_path(ctx); + PathSegment *end_segment = current_segment + current_path->num_segments; + glc_vertex2d(ctx, current_point->x, current_point->y); + current_point++; + for (; current_segment < end_segment; current_segment++) { + PathPoint *end_point; + if (current_segment->type == GLC_PATH_SEG_BEIZER) { + end_point = current_point + current_segment->count * 3; + for (; current_point < end_point; current_point += 3) { + TassVertex *vertex = bezier_flattener(ctx, current_point - 1); + while (vertex) { + glc_vertex2d(ctx, vertex->point.x, vertex->point.y); + vertex = vertex->list_link; + } + glc_vertex2d(ctx, current_point[2].x, current_point[2].y); + } + } else { + spice_assert(current_segment->type == GLC_PATH_SEG_LINES); + end_point = current_point + current_segment->count; + for (; current_point < end_point; current_point++) { + glc_vertex2d(ctx, current_point->x, current_point->y); + } + } + } + glc_end_path(ctx); + } +} + +void glc_draw_image(GLCCtx glc, const GLCRecti *dest, const GLCRecti *src, const GLCImage *image, + int scale_mode, double alpha) +{ + InternaCtx *ctx = (InternaCtx *)glc; + uint8_t *pixels; + const int pix_bytes = 4; + + spice_assert(ctx && image); + spice_assert(src->width > 0 && src->height > 0); + + spice_assert(image->format == GLC_IMAGE_RGB32 || image->format == GLC_IMAGE_ARGB32); //for now + start_draw(ctx); + if (ctx->pat) { + glDisable(GL_TEXTURE_2D); + } + set_raster_pos(ctx, dest->x, dest->y + dest->height); + + if (dest->width == src->width && src->height == dest->height) { + glPixelZoom(1, 1); + } else { + glPixelZoom((float)dest->width / src->width, (float)dest->height / src->height); + } + + pixels = image->pixels + src->x * 4 + (image->height - (src->y + src->height)) * image->stride; + if (image->format == GLC_IMAGE_ARGB32 || alpha != 1) { + glPixelTransferf(GL_ALPHA_SCALE, (GLfloat)alpha); + glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); + glEnable(GL_BLEND); + } + spice_assert(image->stride % pix_bytes == 0); + glPixelStorei(GL_UNPACK_ROW_LENGTH, image->stride / pix_bytes); + glDrawPixels(src->width, src->height, GL_BGRA, GL_UNSIGNED_BYTE, pixels); + + if (image->format == GLC_IMAGE_ARGB32 || alpha != 1) { + glDisable(GL_BLEND); + } + + if (ctx->pat) { + glEnable(GL_TEXTURE_2D); + } + GLC_ERROR_TEST_FLUSH; +} + +void glc_copy_pixels(GLCCtx glc, int x_dest, int y_dest, int x_src, int y_src, int width, + int height) +{ + InternaCtx *ctx = (InternaCtx *)glc; + int recreate = 0; + + spice_assert(ctx); +#ifdef USE_COPY_PIXELS + start_draw(ctx); + if (ctx->pat) { + glDisable(GL_TEXTURE_2D); + } + set_raster_pos(ctx, x_dest, y_dest + height); + glPixelZoom(1, 1); + glCopyPixels(x_src, ctx->height - (y_src + height), width, height, GL_COLOR); + if (ctx->pat) { + glEnable(GL_TEXTURE_2D); + } +#else + int width2 = gl_get_to_power_two(width); + int height2 = gl_get_to_power_two(height); + + start_draw(ctx); + glEnable(GL_TEXTURE_2D); + glBindTexture(GL_TEXTURE_2D, 0); + + if (width2 > ctx->private_tex_width) { + ctx->private_tex_width = width2; + recreate = 1; + } + if (height2 > ctx->private_tex_height) { + ctx->private_tex_height = height2; + recreate = 1; + } + if (recreate) { + glDeleteTextures(1, &ctx->private_tex); + glGenTextures(1, &ctx->private_tex); + glBindTexture(GL_TEXTURE_2D, ctx->private_tex); + glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); + glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); + glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP); + glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP); + ctx->private_tex_width = gl_get_to_power_two(width); + ctx->private_tex_height = gl_get_to_power_two(height); + glTexImage2D(GL_TEXTURE_2D, 0, 4, ctx->private_tex_width, + ctx->private_tex_height, 0, GL_BGRA, GL_UNSIGNED_BYTE, NULL); + } + spice_assert(ctx->private_tex); + glBindTexture(GL_TEXTURE_2D, ctx->private_tex); + glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, x_src, ctx->height - (y_src + height), + width2, height2, 0); + + GLfloat s_gen_params[] = { (GLfloat)1.0 / width2, 0, 0, 0 }; + GLfloat t_gen_params[] = { 0, (GLfloat)1.0 / height2, 0, 0 }; + glTexGenfv(GL_S, GL_OBJECT_PLANE, s_gen_params); + glTexGenfv(GL_T, GL_OBJECT_PLANE, t_gen_params); + + glMatrixMode(GL_TEXTURE); + glLoadIdentity(); + glTranslatef((float)-x_dest / width2, (float)-Y(y_dest + height) / height2, 0); + + glRecti(x_dest, Y(y_dest), x_dest + width, Y(y_dest + height)); + glFlush(); + if (!ctx->pat) { + glDisable(GL_TEXTURE_2D); + } else { + set_pat(ctx, ctx->pat); + } +#endif + GLC_ERROR_TEST_FLUSH; +} + +void glc_read_pixels(GLCCtx glc, int x, int y, GLCImage *image) +{ + InternaCtx *ctx = (InternaCtx *)glc; + + spice_assert(ctx && image); + spice_assert(image->format == GLC_IMAGE_RGB32); //for now + spice_assert((image->stride % 4) == 0); //for now + glPixelStorei(GL_PACK_ROW_LENGTH, image->stride / 4); + glReadPixels(x, ctx->height - (y + image->height), image->width, image->height, + GL_BGRA, GL_UNSIGNED_BYTE, image->pixels); +} + +void glc_clear(GLCCtx glc) +{ + InternaCtx *ctx = (InternaCtx *)glc; + + spice_assert(ctx); + glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); + glClear(GL_COLOR_BUFFER_BIT); +} + +void glc_flush(GLCCtx glc) +{ + glFlush(); + + GLC_ERROR_TEST_FLUSH; +} + +static void tessellation_combine(GLdouble coords[3], GLdouble *vertex_data[4], GLfloat weight[4], + GLdouble **data_out, void *usr_data) +{ + TassVertex *vertex; + + vertex = alloc_tess_vertex((InternaCtx *)usr_data); + vertex->point.x = coords[0]; + vertex->point.y = coords[1]; + //vertex->point.z = coords[2]; + *data_out = (GLdouble *)&vertex->point; +} + +static void tessellation_error(GLenum errorCode) +{ + printf("%s: %s\n", __FUNCTION__, gluErrorString(errorCode)); +} + +#ifdef WIN32 +#define TESS_CALL_BACK_TYPE void(CALLBACK *)() +#else +#define TESS_CALL_BACK_TYPE void(*)() +#endif + +static int init(InternaCtx *ctx, int width, int height) +{ +#ifdef WIN32 + if (!(ctx->glBlendEquation = (PFNGLBLENDEQUATIONPROC)wglGetProcAddress("glBlendEquation"))) { + return FALSE; + } +#endif + ctx->width = width; + ctx->height = height; + ctx->line_width = 1; + + glClearColor(0, 0, 0, 0); + glClearStencil(0); + + if (!(ctx->tesselator = gluNewTess())) { + return FALSE; + } + + glGenTextures(1, &ctx->private_tex); + glBindTexture(GL_TEXTURE_2D, ctx->private_tex); + glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); + glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); + glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP); + glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP); + glTexImage2D(GL_TEXTURE_2D, 0, 4, gl_get_to_power_two(width), + gl_get_to_power_two(height), 0, + GL_BGRA, GL_UNSIGNED_BYTE, NULL); + ctx->private_tex_width = gl_get_to_power_two(width); + ctx->private_tex_height = gl_get_to_power_two(height); + glBindTexture(GL_TEXTURE_2D, 0); + + glViewport(0, 0, width, height); + glMatrixMode(GL_PROJECTION); + glLoadIdentity(); + glOrtho(0, width, 0, height, -1, 1); + + gluTessProperty(ctx->tesselator, GLU_TESS_WINDING_RULE, GLU_TESS_WINDING_ODD); + gluTessCallback(ctx->tesselator, GLU_BEGIN, (TESS_CALL_BACK_TYPE)glBegin); + gluTessCallback(ctx->tesselator, GLU_VERTEX, (TESS_CALL_BACK_TYPE)glVertex3dv); + gluTessCallback(ctx->tesselator, GLU_END, (TESS_CALL_BACK_TYPE)glEnd); + gluTessCallback(ctx->tesselator, GLU_TESS_COMBINE_DATA, + (TESS_CALL_BACK_TYPE)tessellation_combine); + gluTessCallback(ctx->tesselator, GLU_TESS_ERROR, (TESS_CALL_BACK_TYPE)tessellation_error); + + glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE); + glTexGeni(GL_S, GL_TEXTURE_GEN_MODE, GL_OBJECT_LINEAR); + glTexGeni(GL_T, GL_TEXTURE_GEN_MODE, GL_OBJECT_LINEAR); + glEnable(GL_TEXTURE_GEN_S); + glEnable(GL_TEXTURE_GEN_T); + + glMatrixMode(GL_MODELVIEW); + glLoadIdentity(); + glTranslatef(0, (GLfloat)height, 0); + + glGetIntegerv(GL_MAX_TEXTURE_SIZE, &ctx->max_texture_size); + + glPixelStorei(GL_PACK_ALIGNMENT, 1); + + glPixelStorei(GL_UNPACK_ALIGNMENT, 1); + glPixelStorei(GL_UNPACK_LSB_FIRST, GL_FALSE); + glPixelTransferf(GL_ALPHA_BIAS, 0); +#ifdef WIN32 + ctx->glBlendEquation(GL_FUNC_ADD); +#else + glBlendEquation(GL_FUNC_ADD); +#endif + + glStencilMask(0xff); + glClear(GL_STENCIL_BUFFER_BIT); + + glClear(GL_COLOR_BUFFER_BIT); + + return TRUE; +} + +GLCCtx glc_create(int width, int height) +{ + InternaCtx *ctx; + + spice_static_assert(sizeof(PathPoint) == sizeof(Vertex)); + + ctx = spice_new0(InternaCtx, 1); + if (!init(ctx, width, height)) { + free(ctx); + return NULL; + } + return ctx; +} + +/* + * In glx video mode change the textures will be destroyed, therefore + * if we will try to glDeleteTextures() them we might get seagfault. + * (this why we use the textures_lost parameter) + */ +void glc_destroy(GLCCtx glc, int textures_lost) +{ + InternaCtx *ctx; + + if (!(ctx = (InternaCtx *)glc)) { + return; + } + + if (!textures_lost) { + unref_pat(ctx->pat); + ctx->pat = NULL; + if (ctx->private_tex) { + glDeleteTextures(1, &ctx->private_tex); + } + } + + free_tass_vertex_bufs(ctx); + free(ctx->line_dash.dashes); + free(ctx); + GLC_ERROR_TEST_FINISH; +} + +/* + todo: + 1. test double vs float in gl calls + 2. int vs flat raster position + 3. pixels stride vs bytes stride + 4. improve non power of two. + glGetString(GL_EXTENSIONS); + ARB_texture_non_power_of_two + ARB_texture_rectangle + GL_TEXTURE_RECTANGLE_ARB + 5. scale + 6. origin + 7. fonts + 8. support more image formats + 9. use GLCImage in mask ops? +*/ diff --git a/tizen/distrib/remote/common/spice-common/common/glc.h b/tizen/distrib/remote/common/spice-common/common/glc.h new file mode 100644 index 0000000..34b9420 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/glc.h @@ -0,0 +1,164 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#ifndef _H_GL_CANVASE +#define _H_GL_CANVASE + +#include <stdint.h> +#include <spice/macros.h> + +SPICE_BEGIN_DECLS + +typedef void * GLCCtx; +typedef void * GLCPattern; +typedef void * GLCPath; + +typedef struct GLCRect { + double x; + double y; + double width; + double height; +} GLCRect; + +typedef struct GLCRecti { + int x; + int y; + int width; + int height; +} GLCRecti; + +typedef enum { + GLC_IMAGE_RGB32, + GLC_IMAGE_ARGB32, +} GLCImageFormat; + +typedef struct GLCPImage { + GLCImageFormat format; + int width; + int height; + int stride; + uint8_t *pixels; + uint32_t *pallet; +} GLCImage; + +GLCPattern glc_pattern_create(GLCCtx glc, int x_orign, int y_orign, const GLCImage *image); +void glc_pattern_set(GLCPattern pattern, int x_orign, int y_orign, const GLCImage *image); +void glc_pattern_destroy(GLCPattern pattern); + +void glc_path_move_to(GLCPath path, double x, double y); +void glc_path_line_to(GLCPath path, double x, double y); +void glc_path_curve_to(GLCPath path, double p1_x, double p1_y, double p2_x, double p2_y, + double p3_x, double p3_y); +void glc_path_rel_move_to(GLCPath path, double x, double y); +void glc_path_rel_line_to(GLCPath path, double x, double y); +void glc_path_rel_curve_to(GLCPath path, double p1_x, double p1_y, double p2_x, double p2_y, + double p3_x, double p3_y); +void glc_path_close(GLCPath path); + +void glc_path_cleare(GLCPath); +GLCPath glc_path_create(GLCCtx glc); +void glc_path_destroy(GLCPath path); + +void glc_set_rgb(GLCCtx glc, double red, double green, double blue); +void glc_set_rgba(GLCCtx glc, double red, double green, double blue, double alpha); +void glc_set_pattern(GLCCtx glc, GLCPattern pattern); + +typedef enum { + GLC_OP_CLEAR = 0x1500, + GLC_OP_SET = 0x150F, + GLC_OP_COPY = 0x1503, + GLC_OP_COPY_INVERTED = 0x150C, + GLC_OP_NOOP = 0x1505, + GLC_OP_INVERT = 0x150A, + GLC_OP_AND = 0x1501, + GLC_OP_NAND = 0x150E, + GLC_OP_OR = 0x1507, + GLC_OP_NOR = 0x1508, + GLC_OP_XOR = 0x1506, + GLC_OP_EQUIV = 0x1509, + GLC_OP_AND_REVERSE = 0x1502, + GLC_OP_AND_INVERTED = 0x1504, + GLC_OP_OR_REVERSE = 0x150B, + GLC_OP_OR_INVERTED = 0x150D, +} GLCOp; + +void glc_set_op(GLCCtx glc, GLCOp op); +void glc_set_alpha_factor(GLCCtx glc, double alpah); + +typedef enum { + GLC_FILL_MODE_WINDING_ODD, + GLC_FILL_MODE_WINDING_NONZERO, +} GLCFillMode; + +void glc_set_fill_mode(GLCCtx glc, GLCFillMode mode); +void glc_set_line_width(GLCCtx glc, double width); +void glc_set_line_end_cap(GLCCtx glc, int style); +void glc_set_line_join(GLCCtx glc, int style); +void glc_set_miter_limit(GLCCtx glc, int limit); +void glc_set_line_dash(GLCCtx glc, const double *dashes, int num_dashes, double offset); + +typedef enum { + GLC_MASK_A, + GLC_MASK_B, +} GLCMaskID; + +void glc_set_mask(GLCCtx glc, int x_dest, int y_dest, int width, int height, + int stride, const uint8_t *bitmap, GLCMaskID id); +void glc_mask_rects(GLCCtx glc, int num_rect, GLCRect *rects, GLCMaskID id); +void glc_clear_mask(GLCCtx glc, GLCMaskID id); + +typedef enum { + GLC_CLIP_OP_SET, + GLC_CLIP_OP_OR, + GLC_CLIP_OP_AND, + GLC_CLIP_OP_EXCLUDE, +} GLCClipOp; + +void glc_clip_rect(GLCCtx glc, const GLCRect *rect, GLCClipOp op); +void glc_clip_path(GLCCtx glc, GLCPath path, GLCClipOp op); +void glc_clip_mask(GLCCtx glc, int x_dest, int y_dest, int width, int height, int stride, + const uint8_t *bitmap, GLCClipOp op); +void glc_clip_reset(GLCCtx glc); + +void glc_fill_rect(GLCCtx glc, const GLCRect *rect); +void glc_fill_path(GLCCtx glc, GLCPath path); +void _glc_fill_mask(GLCCtx glc, int x_dest, int y_dest, int width, int height, int stride, + const uint8_t *bitmap); +void glc_fill_alpha(GLCCtx glc, int x_dest, int y_dest, int width, int height, int stride, + const uint8_t *alpha_mask); + +void glc_stroke_rect(GLCCtx glc, const GLCRect *rect); +void glc_stroke_path(GLCCtx glc, GLCPath path); + +void glc_draw_image(GLCCtx glc, const GLCRecti *dest, const GLCRecti *src, const GLCImage *image, + int scale_mode, double alpha); + +void glc_copy_pixels(GLCCtx glc, int x_dest, int y_dest, int x_src, int y_src, int width, + int height); +void glc_read_pixels(GLCCtx glc, int x, int y, GLCImage *image); + +void glc_flush(GLCCtx glc); +void glc_clear(GLCCtx glc); +GLCCtx glc_create(int width, int height); +void glc_destroy(GLCCtx glc, int textures_lost); + +SPICE_END_DECLS + +#endif diff --git a/tizen/distrib/remote/common/spice-common/common/lines.c b/tizen/distrib/remote/common/spice-common/common/lines.c new file mode 100644 index 0000000..797d5d6 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/lines.c @@ -0,0 +1,3613 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/*********************************************************** + +Copyright 1989, 1998 The Open Group + +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation. + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of The Open Group shall not be +used in advertising or otherwise to promote the sale, use or other dealings +in this Software without prior written authorization from The Open Group. + + +Copyright 1989 by Digital Equipment Corporation, Maynard, Massachusetts. + + All Rights Reserved + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name of Digital not be +used in advertising or publicity pertaining to distribution of the +software without specific, written prior permission. + +DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING +ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL +DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR +ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, +WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, +ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS +SOFTWARE. + +******************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <stdio.h> +#include <spice/macros.h> +#ifdef _XOPEN_SOURCE +#include <math.h> +#else +#define _XOPEN_SOURCE /* to get prototype for hypot on some systems */ +#include <math.h> +#undef _XOPEN_SOURCE +#endif +#include "lines.h" +#include "mem.h" + +#define xalloc(i) spice_malloc(i) +#define xrealloc(a,b) spice_realloc(a,b) +#define xfree(i) free(i) + +typedef unsigned int CARD32; +typedef int Boolean; +typedef pixman_rectangle32_t xRectangle; +typedef SpicePoint DDXPointRec; +typedef DDXPointRec *DDXPointPtr; +typedef struct lineGC *GCPtr; + +/* largest positive value that can fit into a component of a point. + * Assumes that the point structure is {type x, y;} where type is + * a signed type. + */ +#define MAX_COORDINATE 2147483647 +#define MIN_COORDINATE -2147483647 + +#define miZeroLine spice_canvas_zero_line +#define miZeroDashLine spice_canvas_zero_dash_line +#define miWideDash spice_canvas_wide_dash_line +#define miWideLine spice_canvas_wide_line + +static INLINE int ICEIL (double x) +{ + int _cTmp = (int)x; + return ((x == _cTmp) || (x < 0.0)) ? _cTmp : _cTmp + 1; +} + +typedef struct { + int count; /* number of spans */ + DDXPointPtr points; /* pointer to list of start points */ + int *widths; /* pointer to list of widths */ +} Spans; + +typedef struct { + int size; /* Total number of *Spans allocated */ + int count; /* Number of *Spans actually in group */ + Spans *group; /* List of Spans */ + int ymin, ymax; /* Min, max y values encountered */ +} SpanGroup; + +/* Initialize SpanGroup. MUST BE DONE before use. */ +static void miInitSpanGroup (SpanGroup * /*spanGroup */ + ); + +/* Add a Spans to a SpanGroup. The spans MUST BE in y-sorted order */ +static void miAppendSpans (SpanGroup * /*spanGroup */ , + SpanGroup * /*otherGroup */ , + Spans * /*spans */ + ); + +/* Paint a span group, insuring that each pixel is painted at most once */ +static void miFillUniqueSpanGroup (GCPtr /*pGC */ , + SpanGroup * /*spanGroup */ , + Boolean /* foreground */ + ); + +/* Free up data in a span group. MUST BE DONE or you'll suffer memory leaks */ +static void miFreeSpanGroup (SpanGroup * /*spanGroup */ + ); + +/* Rops which must use span groups */ +#define miSpansCarefulRop(rop) (((rop) & 0xc) == 0x8 || ((rop) & 0x3) == 0x2) +#define miSpansEasyRop(rop) (!miSpansCarefulRop(rop)) + +/* + * Public definitions used for configuring basic pixelization aspects + * of the sample implementation line-drawing routines provided in + * {mfb,mi,cfb*} at run-time. + */ + +#define XDECREASING 4 +#define YDECREASING 2 +#define YMAJOR 1 + +#define OCTANT1 (1 << (YDECREASING)) +#define OCTANT2 (1 << (YDECREASING|YMAJOR)) +#define OCTANT3 (1 << (XDECREASING|YDECREASING|YMAJOR)) +#define OCTANT4 (1 << (XDECREASING|YDECREASING)) +#define OCTANT5 (1 << (XDECREASING)) +#define OCTANT6 (1 << (XDECREASING|YMAJOR)) +#define OCTANT7 (1 << (YMAJOR)) +#define OCTANT8 (1 << (0)) + +#define XMAJOROCTANTS (OCTANT1 | OCTANT4 | OCTANT5 | OCTANT8) + +#define DEFAULTZEROLINEBIAS (OCTANT2 | OCTANT3 | OCTANT4 | OCTANT5) + +/* + * Devices can configure the rendering of routines in mi, mfb, and cfb* + * by specifying a thin line bias to be applied to a particular screen + * using the following function. The bias parameter is an OR'ing of + * the appropriate OCTANT constants defined above to indicate which + * octants to bias a line to prefer an axial step when the Bresenham + * error term is exactly zero. The octants are mapped as follows: + * + * \ | / + * \ 3 | 2 / + * \ | / + * 4 \ | / 1 + * \|/ + * ----------- + * /|\ + * 5 / | \ 8 + * / | \ + * / 6 | 7 \ + * / | \ + * + * For more information, see "Ambiguities in Incremental Line Rastering," + * Jack E. Bresenham, IEEE CG&A, May 1987. + */ + +/* + * Private definitions needed for drawing thin (zero width) lines + * Used by the mi, mfb, and all cfb* components. + */ + +#define X_AXIS 0 +#define Y_AXIS 1 + +#define OUT_LEFT 0x08 +#define OUT_RIGHT 0x04 +#define OUT_ABOVE 0x02 +#define OUT_BELOW 0x01 + +#define OUTCODES(_result, _x, _y, _pbox) \ + if ( (_x) < (_pbox)->x1) (_result) |= OUT_LEFT; \ + else if ( (_x) >= (_pbox)->x2) (_result) |= OUT_RIGHT; \ + if ( (_y) < (_pbox)->y1) (_result) |= OUT_ABOVE; \ + else if ( (_y) >= (_pbox)->y2) (_result) |= OUT_BELOW; + +#define MIOUTCODES(outcode, x, y, xmin, ymin, xmax, ymax) \ +{\ + if (x < xmin) outcode |= OUT_LEFT;\ + if (x > xmax) outcode |= OUT_RIGHT;\ + if (y < ymin) outcode |= OUT_ABOVE;\ + if (y > ymax) outcode |= OUT_BELOW;\ +} + +#define SWAPINT(i, j) \ +{ int _t = i; i = j; j = _t; } + +#define SWAPPT(i, j) \ +{ DDXPointRec _t; _t = i; i = j; j = _t; } + +#define SWAPINT_PAIR(x1, y1, x2, y2)\ +{ int t = x1; x1 = x2; x2 = t;\ + t = y1; y1 = y2; y2 = t;\ +} + +#define miGetZeroLineBias(_pScreen) (DEFAULTZEROLINEBIAS) + +#define CalcLineDeltas(_x1,_y1,_x2,_y2,_adx,_ady,_sx,_sy,_SX,_SY,_octant) \ + (_octant) = 0; \ + (_sx) = (_SX); \ + if (((_adx) = (_x2) - (_x1)) < 0) { \ + (_adx) = -(_adx); \ + (_sx = -(_sx)); \ + (_octant) |= XDECREASING; \ + } \ + (_sy) = (_SY); \ + if (((_ady) = (_y2) - (_y1)) < 0) { \ + (_ady) = -(_ady); \ + (_sy = -(_sy)); \ + (_octant) |= YDECREASING; \ + } + +#define SetYMajorOctant(_octant) ((_octant) |= YMAJOR) + +#define FIXUP_ERROR(_e, _octant, _bias) \ + (_e) -= (((_bias) >> (_octant)) & 1) + +#define IsXMajorOctant(_octant) (!((_octant) & YMAJOR)) +#define IsYMajorOctant(_octant) ((_octant) & YMAJOR) +#define IsXDecreasingOctant(_octant) ((_octant) & XDECREASING) +#define IsYDecreasingOctant(_octant) ((_octant) & YDECREASING) + +static int miZeroClipLine (int /*xmin */ , + int /*ymin */ , + int /*xmax */ , + int /*ymax */ , + int * /*new_x1 */ , + int * /*new_y1 */ , + int * /*new_x2 */ , + int * /*new_y2 */ , + unsigned int /*adx */ , + unsigned int /*ady */ , + int * /*pt1_clipped */ , + int * /*pt2_clipped */ , + int /*octant */ , + unsigned int /*bias */ , + int /*oc1 */ , + int /*oc2 */ + ); + +/* + * interface data to span-merging polygon filler + */ + +typedef struct _SpanData { + SpanGroup fgGroup, bgGroup; +} SpanDataRec, *SpanDataPtr; + +#define AppendSpanGroup(pGC, foreground, spanPtr, spanData) { \ + SpanGroup *group, *othergroup = NULL; \ + if (foreground) \ + { \ + group = &spanData->fgGroup; \ + if (pGC->lineStyle == LineDoubleDash) \ + othergroup = &spanData->bgGroup; \ + } \ + else \ + { \ + group = &spanData->bgGroup; \ + othergroup = &spanData->fgGroup; \ + } \ + miAppendSpans (group, othergroup, spanPtr); \ +} + +/* + * Polygon edge description for integer wide-line routines + */ + +typedef struct _PolyEdge { + int height; /* number of scanlines to process */ + int x; /* starting x coordinate */ + int stepx; /* fixed integral dx */ + int signdx; /* variable dx sign */ + int e; /* initial error term */ + int dy; + int dx; +} PolyEdgeRec, *PolyEdgePtr; + +#define SQSECANT 108.856472512142 /* 1/sin^2(11/2) - miter limit constant */ + +/* + * types for general polygon routines + */ + +typedef struct _PolyVertex { + double x, y; +} PolyVertexRec, *PolyVertexPtr; + +typedef struct _PolySlope { + int dx, dy; + double k; /* x0 * dy - y0 * dx */ +} PolySlopeRec, *PolySlopePtr; + +/* + * Line face description for caps/joins + */ + +typedef struct _LineFace { + double xa, ya; + int dx, dy; + int x, y; + double k; +} LineFaceRec, *LineFacePtr; + +/* + * macros for polygon fillers + */ + +#define MIPOLYRELOADLEFT if (!left_height && left_count) { \ + left_height = left->height; \ + left_x = left->x; \ + left_stepx = left->stepx; \ + left_signdx = left->signdx; \ + left_e = left->e; \ + left_dy = left->dy; \ + left_dx = left->dx; \ + --left_count; \ + ++left; \ + } + +#define MIPOLYRELOADRIGHT if (!right_height && right_count) { \ + right_height = right->height; \ + right_x = right->x; \ + right_stepx = right->stepx; \ + right_signdx = right->signdx; \ + right_e = right->e; \ + right_dy = right->dy; \ + right_dx = right->dx; \ + --right_count; \ + ++right; \ + } + +#define MIPOLYSTEPLEFT left_x += left_stepx; \ + left_e += left_dx; \ + if (left_e > 0) \ + { \ + left_x += left_signdx; \ + left_e -= left_dy; \ + } + +#define MIPOLYSTEPRIGHT right_x += right_stepx; \ + right_e += right_dx; \ + if (right_e > 0) \ + { \ + right_x += right_signdx; \ + right_e -= right_dy; \ + } + +static void miRoundJoinClip (LineFacePtr /*pLeft */ , + LineFacePtr /*pRight */ , + PolyEdgePtr /*edge1 */ , + PolyEdgePtr /*edge2 */ , + int * /*y1 */ , + int * /*y2 */ , + Boolean * /*left1 */ , + Boolean * /*left2 */ + ); + +static int miRoundCapClip (LineFacePtr /*face */ , + Boolean /*isInt */ , + PolyEdgePtr /*edge */ , + Boolean * /*leftEdge */ + ); + +static int miPolyBuildEdge (double x0, double y0, double k, int dx, int dy, + int xi, int yi, int left, PolyEdgePtr edge); +static int miPolyBuildPoly (PolyVertexPtr vertices, PolySlopePtr slopes, + int count, int xi, int yi, PolyEdgePtr left, + PolyEdgePtr right, int *pnleft, int *pnright, int *h); + + +static void +miStepDash (int dist, /* distance to step */ + int *pDashIndex, /* current dash */ + unsigned char *pDash, /* dash list */ + int numInDashList, /* total length of dash list */ + int *pDashOffset /* offset into current dash */ + ) +{ + int dashIndex, dashOffset; + int totallen; + int i; + + dashIndex = *pDashIndex; + dashOffset = *pDashOffset; + if (dist < pDash[dashIndex] - dashOffset) { + *pDashOffset = dashOffset + dist; + return; + } + dist -= pDash[dashIndex] - dashOffset; + if (++dashIndex == numInDashList) + dashIndex = 0; + totallen = 0; + for (i = 0; i < numInDashList; i++) + totallen += pDash[i]; + if (totallen <= dist) + dist = dist % totallen; + while (dist >= pDash[dashIndex]) { + dist -= pDash[dashIndex]; + if (++dashIndex == numInDashList) + dashIndex = 0; + } + *pDashIndex = dashIndex; + *pDashOffset = dist; +} + +/* + +These routines maintain lists of Spans, in order to implement the +``touch-each-pixel-once'' rules of wide lines and arcs. + +Written by Joel McCormack, Summer 1989. + +*/ + + +static void +miInitSpanGroup (SpanGroup * spanGroup) +{ + spanGroup->size = 0; + spanGroup->count = 0; + spanGroup->group = NULL; + spanGroup->ymin = MAX_COORDINATE; + spanGroup->ymax = MIN_COORDINATE; +} /* InitSpanGroup */ + +#define YMIN(spans) (spans->points[0].y) +#define YMAX(spans) (spans->points[spans->count-1].y) + +static void +miSubtractSpans (SpanGroup * spanGroup, Spans * sub) +{ + int i, subCount, spansCount; + int ymin, ymax, xmin, xmax; + Spans *spans; + DDXPointPtr subPt, spansPt; + int *subWid, *spansWid; + int extra; + + ymin = YMIN (sub); + ymax = YMAX (sub); + spans = spanGroup->group; + for (i = spanGroup->count; i; i--, spans++) { + if (YMIN (spans) <= ymax && ymin <= YMAX (spans)) { + subCount = sub->count; + subPt = sub->points; + subWid = sub->widths; + spansCount = spans->count; + spansPt = spans->points; + spansWid = spans->widths; + extra = 0; + for (;;) { + while (spansCount && spansPt->y < subPt->y) { + spansPt++; + spansWid++; + spansCount--; + } + if (!spansCount) + break; + while (subCount && subPt->y < spansPt->y) { + subPt++; + subWid++; + subCount--; + } + if (!subCount) + break; + if (subPt->y == spansPt->y) { + xmin = subPt->x; + xmax = xmin + *subWid; + if (xmin >= spansPt->x + *spansWid || spansPt->x >= xmax) { + ; + } else if (xmin <= spansPt->x) { + if (xmax >= spansPt->x + *spansWid) { + memmove (spansPt, spansPt + 1, sizeof *spansPt * (spansCount - 1)); + memmove (spansWid, spansWid + 1, sizeof *spansWid * (spansCount - 1)); + spansPt--; + spansWid--; + spans->count--; + extra++; + } else { + *spansWid = *spansWid - (xmax - spansPt->x); + spansPt->x = xmax; + } + } else { + if (xmax >= spansPt->x + *spansWid) { + *spansWid = xmin - spansPt->x; + } else { + if (!extra) { + DDXPointPtr newPt; + int *newwid; + +#define EXTRA 8 + newPt = xrealloc (spans->points, + (spans->count + + EXTRA) * sizeof (DDXPointRec)); + if (!newPt) + break; + spansPt = newPt + (spansPt - spans->points); + spans->points = newPt; + newwid = xrealloc (spans->widths, + (spans->count + EXTRA) * sizeof (int)); + if (!newwid) + break; + spansWid = newwid + (spansWid - spans->widths); + spans->widths = newwid; + extra = EXTRA; + } + memmove (spansPt + 1, spansPt, sizeof *spansPt * (spansCount)); + memmove (spansWid + 1, spansWid, sizeof *spansWid * (spansCount)); + spans->count++; + extra--; + *spansWid = xmin - spansPt->x; + spansWid++; + spansPt++; + *spansWid = *spansWid - (xmax - spansPt->x); + spansPt->x = xmax; + } + } + } + spansPt++; + spansWid++; + spansCount--; + } + } + } +} + +static void +miAppendSpans (SpanGroup * spanGroup, SpanGroup * otherGroup, Spans * spans) +{ + int ymin, ymax; + int spansCount; + + spansCount = spans->count; + if (spansCount > 0) { + if (spanGroup->size == spanGroup->count) { + spanGroup->size = (spanGroup->size + 8) * 2; + spanGroup->group = + xrealloc (spanGroup->group, sizeof (Spans) * spanGroup->size); + } + + spanGroup->group[spanGroup->count] = *spans; + (spanGroup->count)++; + ymin = spans->points[0].y; + if (ymin < spanGroup->ymin) + spanGroup->ymin = ymin; + ymax = spans->points[spansCount - 1].y; + if (ymax > spanGroup->ymax) + spanGroup->ymax = ymax; + if (otherGroup && otherGroup->ymin < ymax && ymin < otherGroup->ymax) { + miSubtractSpans (otherGroup, spans); + } + } else { + xfree (spans->points); + xfree (spans->widths); + } +} /* AppendSpans */ + +static void +miFreeSpanGroup (SpanGroup * spanGroup) +{ + xfree (spanGroup->group); +} + +static void +QuickSortSpansX (DDXPointRec points[], int widths[], int numSpans) +{ + int x; + int i, j, m; + DDXPointPtr r; + +/* Always called with numSpans > 1 */ +/* Sorts only by x, as all y should be the same */ + +#define ExchangeSpans(a, b) \ +{ \ + DDXPointRec tpt; \ + int tw; \ + \ + tpt = points[a]; points[a] = points[b]; points[b] = tpt; \ + tw = widths[a]; widths[a] = widths[b]; widths[b] = tw; \ +} + + do { + if (numSpans < 9) { + /* Do insertion sort */ + int xprev; + + xprev = points[0].x; + i = 1; + do { /* while i != numSpans */ + x = points[i].x; + if (xprev > x) { + /* points[i] is out of order. Move into proper location. */ + DDXPointRec tpt; + int tw, k; + + for (j = 0; x >= points[j].x; j++) { + } + tpt = points[i]; + tw = widths[i]; + for (k = i; k != j; k--) { + points[k] = points[k - 1]; + widths[k] = widths[k - 1]; + } + points[j] = tpt; + widths[j] = tw; + x = points[i].x; + } /* if out of order */ + xprev = x; + i++; + } while (i != numSpans); + return; + } + + /* Choose partition element, stick in location 0 */ + m = numSpans / 2; + if (points[m].x > points[0].x) + ExchangeSpans (m, 0); + if (points[m].x > points[numSpans - 1].x) + ExchangeSpans (m, numSpans - 1); + if (points[m].x > points[0].x) + ExchangeSpans (m, 0); + x = points[0].x; + + /* Partition array */ + i = 0; + j = numSpans; + do { + r = &(points[i]); + do { + r++; + i++; + } while (i != numSpans && r->x < x); + r = &(points[j]); + do { + r--; + j--; + } while (x < r->x); + if (i < j) + ExchangeSpans (i, j); + } while (i < j); + + /* Move partition element back to middle */ + ExchangeSpans (0, j); + + /* Recurse */ + if (numSpans - j - 1 > 1) + QuickSortSpansX (&points[j + 1], &widths[j + 1], numSpans - j - 1); + numSpans = j; + } while (numSpans > 1); +} /* QuickSortSpans */ + + +static int +UniquifySpansX (Spans * spans, DDXPointRec * newPoints, int *newWidths) +{ + int newx1, newx2, oldpt, i, y; + DDXPointRec *oldPoints; + int *oldWidths; + int *startNewWidths; + +/* Always called with numSpans > 1 */ +/* Uniquify the spans, and stash them into newPoints and newWidths. Return the + number of unique spans. */ + + + startNewWidths = newWidths; + + oldPoints = spans->points; + oldWidths = spans->widths; + + y = oldPoints->y; + newx1 = oldPoints->x; + newx2 = newx1 + *oldWidths; + + for (i = spans->count - 1; i != 0; i--) { + oldPoints++; + oldWidths++; + oldpt = oldPoints->x; + if (oldpt > newx2) { + /* Write current span, start a new one */ + newPoints->x = newx1; + newPoints->y = y; + *newWidths = newx2 - newx1; + newPoints++; + newWidths++; + newx1 = oldpt; + newx2 = oldpt + *oldWidths; + } else { + /* extend current span, if old extends beyond new */ + oldpt = oldpt + *oldWidths; + if (oldpt > newx2) + newx2 = oldpt; + } + } /* for */ + + /* Write final span */ + newPoints->x = newx1; + *newWidths = newx2 - newx1; + newPoints->y = y; + + return (newWidths - startNewWidths) + 1; +} /* UniquifySpansX */ + +static void +miDisposeSpanGroup (SpanGroup * spanGroup) +{ + int i; + Spans *spans; + + for (i = 0; i < spanGroup->count; i++) { + spans = spanGroup->group + i; + xfree (spans->points); + xfree (spans->widths); + } +} + +static void +miFillUniqueSpanGroup (GCPtr pGC, SpanGroup * spanGroup, Boolean foreground) +{ + int i; + Spans *spans; + Spans *yspans; + int *ysizes; + int ymin, ylength; + + /* Outgoing spans for one big call to FillSpans */ + DDXPointPtr points; + int *widths; + int count; + + if (spanGroup->count == 0) + return; + + if (spanGroup->count == 1) { + /* Already should be sorted, unique */ + spans = spanGroup->group; + (*pGC->ops->FillSpans) + (pGC, spans->count, spans->points, spans->widths, TRUE, foreground); + xfree (spans->points); + xfree (spans->widths); + } else { + /* Yuck. Gross. Radix sort into y buckets, then sort x and uniquify */ + /* This seems to be the fastest thing to do. I've tried sorting on + both x and y at the same time rather than creating into all those + y buckets, but it was somewhat slower. */ + + ymin = spanGroup->ymin; + ylength = spanGroup->ymax - ymin + 1; + + /* Allocate Spans for y buckets */ + yspans = (Spans*)xalloc (ylength * sizeof (Spans)); + ysizes = (int *)xalloc (ylength * sizeof (int)); + + if (!yspans || !ysizes) { + xfree (yspans); + xfree (ysizes); + miDisposeSpanGroup (spanGroup); + return; + } + + for (i = 0; i != ylength; i++) { + ysizes[i] = 0; + yspans[i].count = 0; + yspans[i].points = NULL; + yspans[i].widths = NULL; + } + + /* Go through every single span and put it into the correct bucket */ + count = 0; + for (i = 0, spans = spanGroup->group; i != spanGroup->count; i++, spans++) { + int index; + int j; + + for (j = 0, points = spans->points, widths = spans->widths; + j != spans->count; j++, points++, widths++) { + index = points->y - ymin; + if (index >= 0 && index < ylength) { + Spans *newspans = &(yspans[index]); + if (newspans->count == ysizes[index]) { + DDXPointPtr newpoints; + int *newwidths; + ysizes[index] = (ysizes[index] + 8) * 2; + newpoints = xrealloc (newspans->points, + ysizes[index] * sizeof (DDXPointRec)); + newwidths = xrealloc (newspans->widths, + ysizes[index] * sizeof (int)); + if (!newpoints || !newwidths) { + int i; + + for (i = 0; i < ylength; i++) { + xfree (yspans[i].points); + xfree (yspans[i].widths); + } + xfree (yspans); + xfree (ysizes); + miDisposeSpanGroup (spanGroup); + return; + } + newspans->points = newpoints; + newspans->widths = newwidths; + } + newspans->points[newspans->count] = *points; + newspans->widths[newspans->count] = *widths; + (newspans->count)++; + } /* if y value of span in range */ + } /* for j through spans */ + count += spans->count; + xfree (spans->points); + spans->points = NULL; + xfree (spans->widths); + spans->widths = NULL; + } /* for i thorough Spans */ + + /* Now sort by x and uniquify each bucket into the final array */ + points = (DDXPointRec*)xalloc (count * sizeof (DDXPointRec)); + widths = (int *)xalloc (count * sizeof (int)); + if (!points || !widths) { + int i; + + for (i = 0; i < ylength; i++) { + xfree (yspans[i].points); + xfree (yspans[i].widths); + } + xfree (yspans); + xfree (ysizes); + xfree (points); + xfree (widths); + return; + } + count = 0; + for (i = 0; i != ylength; i++) { + int ycount = yspans[i].count; + if (ycount > 0) { + if (ycount > 1) { + QuickSortSpansX (yspans[i].points, yspans[i].widths, ycount); + count += UniquifySpansX (&(yspans[i]), &(points[count]), &(widths[count])); + } else { + points[count] = yspans[i].points[0]; + widths[count] = yspans[i].widths[0]; + count++; + } + xfree (yspans[i].points); + xfree (yspans[i].widths); + } + } + + (*pGC->ops->FillSpans) (pGC, count, points, widths, TRUE, foreground); + xfree (points); + xfree (widths); + xfree (yspans); + xfree (ysizes); /* use (DE)xalloc for these? */ + } + + spanGroup->count = 0; + spanGroup->ymin = MAX_COORDINATE; + spanGroup->ymax = MIN_COORDINATE; +} + +/* + +The bresenham error equation used in the mi/mfb/cfb line routines is: + + e = error + dx = difference in raw X coordinates + dy = difference in raw Y coordinates + M = # of steps in X direction + N = # of steps in Y direction + B = 0 to prefer diagonal steps in a given octant, + 1 to prefer axial steps in a given octant + + For X major lines: + e = 2Mdy - 2Ndx - dx - B + -2dx <= e < 0 + + For Y major lines: + e = 2Ndx - 2Mdy - dy - B + -2dy <= e < 0 + +At the start of the line, we have taken 0 X steps and 0 Y steps, +so M = 0 and N = 0: + + X major e = 2Mdy - 2Ndx - dx - B + = -dx - B + + Y major e = 2Ndx - 2Mdy - dy - B + = -dy - B + +At the end of the line, we have taken dx X steps and dy Y steps, +so M = dx and N = dy: + + X major e = 2Mdy - 2Ndx - dx - B + = 2dxdy - 2dydx - dx - B + = -dx - B + Y major e = 2Ndx - 2Mdy - dy - B + = 2dydx - 2dxdy - dy - B + = -dy - B + +Thus, the error term is the same at the start and end of the line. + +Let us consider clipping an X coordinate. There are 4 cases which +represent the two independent cases of clipping the start vs. the +end of the line and an X major vs. a Y major line. In any of these +cases, we know the number of X steps (M) and we wish to find the +number of Y steps (N). Thus, we will solve our error term equation. +If we are clipping the start of the line, we will find the smallest +N that satisfies our error term inequality. If we are clipping the +end of the line, we will find the largest number of Y steps that +satisfies the inequality. In that case, since we are representing +the Y steps as (dy - N), we will actually want to solve for the +smallest N in that equation. + +Case 1: X major, starting X coordinate moved by M steps + + -2dx <= 2Mdy - 2Ndx - dx - B < 0 + 2Ndx <= 2Mdy - dx - B + 2dx 2Ndx > 2Mdy - dx - B + 2Ndx <= 2Mdy + dx - B N > (2Mdy - dx - B) / 2dx + N <= (2Mdy + dx - B) / 2dx + +Since we are trying to find the smallest N that satisfies these +equations, we should use the > inequality to find the smallest: + + N = floor((2Mdy - dx - B) / 2dx) + 1 + = floor((2Mdy - dx - B + 2dx) / 2dx) + = floor((2Mdy + dx - B) / 2dx) + +Case 1b: X major, ending X coordinate moved to M steps + +Same derivations as Case 1, but we want the largest N that satisfies +the equations, so we use the <= inequality: + + N = floor((2Mdy + dx - B) / 2dx) + +Case 2: X major, ending X coordinate moved by M steps + + -2dx <= 2(dx - M)dy - 2(dy - N)dx - dx - B < 0 + -2dx <= 2dxdy - 2Mdy - 2dxdy + 2Ndx - dx - B < 0 + -2dx <= 2Ndx - 2Mdy - dx - B < 0 + 2Ndx >= 2Mdy + dx + B - 2dx 2Ndx < 2Mdy + dx + B + 2Ndx >= 2Mdy - dx + B N < (2Mdy + dx + B) / 2dx + N >= (2Mdy - dx + B) / 2dx + +Since we are trying to find the highest number of Y steps that +satisfies these equations, we need to find the smallest N, so +we should use the >= inequality to find the smallest: + + N = ceiling((2Mdy - dx + B) / 2dx) + = floor((2Mdy - dx + B + 2dx - 1) / 2dx) + = floor((2Mdy + dx + B - 1) / 2dx) + +Case 2b: X major, starting X coordinate moved to M steps from end + +Same derivations as Case 2, but we want the smallest number of Y +steps, so we want the highest N, so we use the < inequality: + + N = ceiling((2Mdy + dx + B) / 2dx) - 1 + = floor((2Mdy + dx + B + 2dx - 1) / 2dx) - 1 + = floor((2Mdy + dx + B + 2dx - 1 - 2dx) / 2dx) + = floor((2Mdy + dx + B - 1) / 2dx) + +Case 3: Y major, starting X coordinate moved by M steps + + -2dy <= 2Ndx - 2Mdy - dy - B < 0 + 2Ndx >= 2Mdy + dy + B - 2dy 2Ndx < 2Mdy + dy + B + 2Ndx >= 2Mdy - dy + B N < (2Mdy + dy + B) / 2dx + N >= (2Mdy - dy + B) / 2dx + +Since we are trying to find the smallest N that satisfies these +equations, we should use the >= inequality to find the smallest: + + N = ceiling((2Mdy - dy + B) / 2dx) + = floor((2Mdy - dy + B + 2dx - 1) / 2dx) + = floor((2Mdy - dy + B - 1) / 2dx) + 1 + +Case 3b: Y major, ending X coordinate moved to M steps + +Same derivations as Case 3, but we want the largest N that satisfies +the equations, so we use the < inequality: + + N = ceiling((2Mdy + dy + B) / 2dx) - 1 + = floor((2Mdy + dy + B + 2dx - 1) / 2dx) - 1 + = floor((2Mdy + dy + B + 2dx - 1 - 2dx) / 2dx) + = floor((2Mdy + dy + B - 1) / 2dx) + +Case 4: Y major, ending X coordinate moved by M steps + + -2dy <= 2(dy - N)dx - 2(dx - M)dy - dy - B < 0 + -2dy <= 2dxdy - 2Ndx - 2dxdy + 2Mdy - dy - B < 0 + -2dy <= 2Mdy - 2Ndx - dy - B < 0 + 2Ndx <= 2Mdy - dy - B + 2dy 2Ndx > 2Mdy - dy - B + 2Ndx <= 2Mdy + dy - B N > (2Mdy - dy - B) / 2dx + N <= (2Mdy + dy - B) / 2dx + +Since we are trying to find the highest number of Y steps that +satisfies these equations, we need to find the smallest N, so +we should use the > inequality to find the smallest: + + N = floor((2Mdy - dy - B) / 2dx) + 1 + +Case 4b: Y major, starting X coordinate moved to M steps from end + +Same analysis as Case 4, but we want the smallest number of Y steps +which means the largest N, so we use the <= inequality: + + N = floor((2Mdy + dy - B) / 2dx) + +Now let's try the Y coordinates, we have the same 4 cases. + +Case 5: X major, starting Y coordinate moved by N steps + + -2dx <= 2Mdy - 2Ndx - dx - B < 0 + 2Mdy >= 2Ndx + dx + B - 2dx 2Mdy < 2Ndx + dx + B + 2Mdy >= 2Ndx - dx + B M < (2Ndx + dx + B) / 2dy + M >= (2Ndx - dx + B) / 2dy + +Since we are trying to find the smallest M, we use the >= inequality: + + M = ceiling((2Ndx - dx + B) / 2dy) + = floor((2Ndx - dx + B + 2dy - 1) / 2dy) + = floor((2Ndx - dx + B - 1) / 2dy) + 1 + +Case 5b: X major, ending Y coordinate moved to N steps + +Same derivations as Case 5, but we want the largest M that satisfies +the equations, so we use the < inequality: + + M = ceiling((2Ndx + dx + B) / 2dy) - 1 + = floor((2Ndx + dx + B + 2dy - 1) / 2dy) - 1 + = floor((2Ndx + dx + B + 2dy - 1 - 2dy) / 2dy) + = floor((2Ndx + dx + B - 1) / 2dy) + +Case 6: X major, ending Y coordinate moved by N steps + + -2dx <= 2(dx - M)dy - 2(dy - N)dx - dx - B < 0 + -2dx <= 2dxdy - 2Mdy - 2dxdy + 2Ndx - dx - B < 0 + -2dx <= 2Ndx - 2Mdy - dx - B < 0 + 2Mdy <= 2Ndx - dx - B + 2dx 2Mdy > 2Ndx - dx - B + 2Mdy <= 2Ndx + dx - B M > (2Ndx - dx - B) / 2dy + M <= (2Ndx + dx - B) / 2dy + +Largest # of X steps means smallest M, so use the > inequality: + + M = floor((2Ndx - dx - B) / 2dy) + 1 + +Case 6b: X major, starting Y coordinate moved to N steps from end + +Same derivations as Case 6, but we want the smallest # of X steps +which means the largest M, so use the <= inequality: + + M = floor((2Ndx + dx - B) / 2dy) + +Case 7: Y major, starting Y coordinate moved by N steps + + -2dy <= 2Ndx - 2Mdy - dy - B < 0 + 2Mdy <= 2Ndx - dy - B + 2dy 2Mdy > 2Ndx - dy - B + 2Mdy <= 2Ndx + dy - B M > (2Ndx - dy - B) / 2dy + M <= (2Ndx + dy - B) / 2dy + +To find the smallest M, use the > inequality: + + M = floor((2Ndx - dy - B) / 2dy) + 1 + = floor((2Ndx - dy - B + 2dy) / 2dy) + = floor((2Ndx + dy - B) / 2dy) + +Case 7b: Y major, ending Y coordinate moved to N steps + +Same derivations as Case 7, but we want the largest M that satisfies +the equations, so use the <= inequality: + + M = floor((2Ndx + dy - B) / 2dy) + +Case 8: Y major, ending Y coordinate moved by N steps + + -2dy <= 2(dy - N)dx - 2(dx - M)dy - dy - B < 0 + -2dy <= 2dxdy - 2Ndx - 2dxdy + 2Mdy - dy - B < 0 + -2dy <= 2Mdy - 2Ndx - dy - B < 0 + 2Mdy >= 2Ndx + dy + B - 2dy 2Mdy < 2Ndx + dy + B + 2Mdy >= 2Ndx - dy + B M < (2Ndx + dy + B) / 2dy + M >= (2Ndx - dy + B) / 2dy + +To find the highest X steps, find the smallest M, use the >= inequality: + + M = ceiling((2Ndx - dy + B) / 2dy) + = floor((2Ndx - dy + B + 2dy - 1) / 2dy) + = floor((2Ndx + dy + B - 1) / 2dy) + +Case 8b: Y major, starting Y coordinate moved to N steps from the end + +Same derivations as Case 8, but we want to find the smallest # of X +steps which means the largest M, so we use the < inequality: + + M = ceiling((2Ndx + dy + B) / 2dy) - 1 + = floor((2Ndx + dy + B + 2dy - 1) / 2dy) - 1 + = floor((2Ndx + dy + B + 2dy - 1 - 2dy) / 2dy) + = floor((2Ndx + dy + B - 1) / 2dy) + +So, our equations are: + + 1: X major move x1 to x1+M floor((2Mdy + dx - B) / 2dx) + 1b: X major move x2 to x1+M floor((2Mdy + dx - B) / 2dx) + 2: X major move x2 to x2-M floor((2Mdy + dx + B - 1) / 2dx) + 2b: X major move x1 to x2-M floor((2Mdy + dx + B - 1) / 2dx) + + 3: Y major move x1 to x1+M floor((2Mdy - dy + B - 1) / 2dx) + 1 + 3b: Y major move x2 to x1+M floor((2Mdy + dy + B - 1) / 2dx) + 4: Y major move x2 to x2-M floor((2Mdy - dy - B) / 2dx) + 1 + 4b: Y major move x1 to x2-M floor((2Mdy + dy - B) / 2dx) + + 5: X major move y1 to y1+N floor((2Ndx - dx + B - 1) / 2dy) + 1 + 5b: X major move y2 to y1+N floor((2Ndx + dx + B - 1) / 2dy) + 6: X major move y2 to y2-N floor((2Ndx - dx - B) / 2dy) + 1 + 6b: X major move y1 to y2-N floor((2Ndx + dx - B) / 2dy) + + 7: Y major move y1 to y1+N floor((2Ndx + dy - B) / 2dy) + 7b: Y major move y2 to y1+N floor((2Ndx + dy - B) / 2dy) + 8: Y major move y2 to y2-N floor((2Ndx + dy + B - 1) / 2dy) + 8b: Y major move y1 to y2-N floor((2Ndx + dy + B - 1) / 2dy) + +We have the following constraints on all of the above terms: + + 0 < M,N <= 2^15 2^15 can be imposed by miZeroClipLine + 0 <= dx/dy <= 2^16 - 1 + 0 <= B <= 1 + +The floor in all of the above equations can be accomplished with a +simple C divide operation provided that both numerator and denominator +are positive. + +Since dx,dy >= 0 and since moving an X coordinate implies that dx != 0 +and moving a Y coordinate implies dy != 0, we know that the denominators +are all > 0. + +For all lines, (-B) and (B-1) are both either 0 or -1, depending on the +bias. Thus, we have to show that the 2MNdxy +/- dxy terms are all >= 1 +or > 0 to prove that the numerators are positive (or zero). + +For X Major lines we know that dx > 0 and since 2Mdy is >= 0 due to the +constraints, the first four equations all have numerators >= 0. + +For the second four equations, M > 0, so 2Mdy >= 2dy so (2Mdy - dy) >= dy +So (2Mdy - dy) > 0, since they are Y major lines. Also, (2Mdy + dy) >= 3dy +or (2Mdy + dy) > 0. So all of their numerators are >= 0. + +For the third set of four equations, N > 0, so 2Ndx >= 2dx so (2Ndx - dx) +>= dx > 0. Similarly (2Ndx + dx) >= 3dx > 0. So all numerators >= 0. + +For the fourth set of equations, dy > 0 and 2Ndx >= 0, so all numerators +are > 0. + +To consider overflow, consider the case of 2 * M,N * dx,dy + dx,dy. This +is bounded <= 2 * 2^15 * (2^16 - 1) + (2^16 - 1) + <= 2^16 * (2^16 - 1) + (2^16 - 1) + <= 2^32 - 2^16 + 2^16 - 1 + <= 2^32 - 1 +Since the (-B) and (B-1) terms are all 0 or -1, the maximum value of +the numerator is therefore (2^32 - 1), which does not overflow an unsigned +32 bit variable. + +*/ + +/* Bit codes for the terms of the 16 clipping equations defined below. */ + +#define T_2NDX (1 << 0) +#define T_2MDY (0) /* implicit term */ +#define T_DXNOTY (1 << 1) +#define T_DYNOTX (0) /* implicit term */ +#define T_SUBDXORY (1 << 2) +#define T_ADDDX (T_DXNOTY) /* composite term */ +#define T_SUBDX (T_DXNOTY | T_SUBDXORY) /* composite term */ +#define T_ADDDY (T_DYNOTX) /* composite term */ +#define T_SUBDY (T_DYNOTX | T_SUBDXORY) /* composite term */ +#define T_BIASSUBONE (1 << 3) +#define T_SUBBIAS (0) /* implicit term */ +#define T_DIV2DX (1 << 4) +#define T_DIV2DY (0) /* implicit term */ +#define T_ADDONE (1 << 5) + +/* Bit masks defining the 16 equations used in miZeroClipLine. */ + +#define EQN1 (T_2MDY | T_ADDDX | T_SUBBIAS | T_DIV2DX) +#define EQN1B (T_2MDY | T_ADDDX | T_SUBBIAS | T_DIV2DX) +#define EQN2 (T_2MDY | T_ADDDX | T_BIASSUBONE | T_DIV2DX) +#define EQN2B (T_2MDY | T_ADDDX | T_BIASSUBONE | T_DIV2DX) + +#define EQN3 (T_2MDY | T_SUBDY | T_BIASSUBONE | T_DIV2DX | T_ADDONE) +#define EQN3B (T_2MDY | T_ADDDY | T_BIASSUBONE | T_DIV2DX) +#define EQN4 (T_2MDY | T_SUBDY | T_SUBBIAS | T_DIV2DX | T_ADDONE) +#define EQN4B (T_2MDY | T_ADDDY | T_SUBBIAS | T_DIV2DX) + +#define EQN5 (T_2NDX | T_SUBDX | T_BIASSUBONE | T_DIV2DY | T_ADDONE) +#define EQN5B (T_2NDX | T_ADDDX | T_BIASSUBONE | T_DIV2DY) +#define EQN6 (T_2NDX | T_SUBDX | T_SUBBIAS | T_DIV2DY | T_ADDONE) +#define EQN6B (T_2NDX | T_ADDDX | T_SUBBIAS | T_DIV2DY) + +#define EQN7 (T_2NDX | T_ADDDY | T_SUBBIAS | T_DIV2DY) +#define EQN7B (T_2NDX | T_ADDDY | T_SUBBIAS | T_DIV2DY) +#define EQN8 (T_2NDX | T_ADDDY | T_BIASSUBONE | T_DIV2DY) +#define EQN8B (T_2NDX | T_ADDDY | T_BIASSUBONE | T_DIV2DY) + +/* miZeroClipLine + * + * returns: 1 for partially clipped line + * -1 for completely clipped line + * + */ +static int +miZeroClipLine (int xmin, int ymin, int xmax, int ymax, + int *new_x1, int *new_y1, int *new_x2, int *new_y2, + unsigned int adx, unsigned int ady, + int *pt1_clipped, int *pt2_clipped, int octant, unsigned int bias, int oc1, int oc2) +{ + int swapped = 0; + int clipDone = 0; + CARD32 utmp = 0; + int clip1, clip2; + int x1, y1, x2, y2; + int x1_orig, y1_orig, x2_orig, y2_orig; + int xmajor; + int negslope = 0, anchorval = 0; + unsigned int eqn = 0; + + x1 = x1_orig = *new_x1; + y1 = y1_orig = *new_y1; + x2 = x2_orig = *new_x2; + y2 = y2_orig = *new_y2; + + clip1 = 0; + clip2 = 0; + + xmajor = IsXMajorOctant (octant); + bias = ((bias >> octant) & 1); + + while (1) { + if ((oc1 & oc2) != 0) { /* trivial reject */ + clipDone = -1; + clip1 = oc1; + clip2 = oc2; + break; + } else if ((oc1 | oc2) == 0) { /* trivial accept */ + clipDone = 1; + if (swapped) { + SWAPINT_PAIR (x1, y1, x2, y2); + SWAPINT (clip1, clip2); + } + break; + } else { /* have to clip */ + + /* only clip one point at a time */ + if (oc1 == 0) { + SWAPINT_PAIR (x1, y1, x2, y2); + SWAPINT_PAIR (x1_orig, y1_orig, x2_orig, y2_orig); + SWAPINT (oc1, oc2); + SWAPINT (clip1, clip2); + swapped = !swapped; + } + + clip1 |= oc1; + if (oc1 & OUT_LEFT) { + negslope = IsYDecreasingOctant (octant); + utmp = xmin - x1_orig; + if (utmp <= 32767) { /* clip based on near endpt */ + if (xmajor) + eqn = (swapped) ? EQN2 : EQN1; + else + eqn = (swapped) ? EQN4 : EQN3; + anchorval = y1_orig; + } else { /* clip based on far endpt */ + + utmp = x2_orig - xmin; + if (xmajor) + eqn = (swapped) ? EQN1B : EQN2B; + else + eqn = (swapped) ? EQN3B : EQN4B; + anchorval = y2_orig; + negslope = !negslope; + } + x1 = xmin; + } else if (oc1 & OUT_ABOVE) { + negslope = IsXDecreasingOctant (octant); + utmp = ymin - y1_orig; + if (utmp <= 32767) { /* clip based on near endpt */ + if (xmajor) + eqn = (swapped) ? EQN6 : EQN5; + else + eqn = (swapped) ? EQN8 : EQN7; + anchorval = x1_orig; + } else { /* clip based on far endpt */ + + utmp = y2_orig - ymin; + if (xmajor) + eqn = (swapped) ? EQN5B : EQN6B; + else + eqn = (swapped) ? EQN7B : EQN8B; + anchorval = x2_orig; + negslope = !negslope; + } + y1 = ymin; + } else if (oc1 & OUT_RIGHT) { + negslope = IsYDecreasingOctant (octant); + utmp = x1_orig - xmax; + if (utmp <= 32767) { /* clip based on near endpt */ + if (xmajor) + eqn = (swapped) ? EQN2 : EQN1; + else + eqn = (swapped) ? EQN4 : EQN3; + anchorval = y1_orig; + } else { /* clip based on far endpt */ + + /* + * Technically since the equations can handle + * utmp == 32768, this overflow code isn't + * needed since X11 protocol can't generate + * a line which goes more than 32768 pixels + * to the right of a clip rectangle. + */ + utmp = xmax - x2_orig; + if (xmajor) + eqn = (swapped) ? EQN1B : EQN2B; + else + eqn = (swapped) ? EQN3B : EQN4B; + anchorval = y2_orig; + negslope = !negslope; + } + x1 = xmax; + } else if (oc1 & OUT_BELOW) { + negslope = IsXDecreasingOctant (octant); + utmp = y1_orig - ymax; + if (utmp <= 32767) { /* clip based on near endpt */ + if (xmajor) + eqn = (swapped) ? EQN6 : EQN5; + else + eqn = (swapped) ? EQN8 : EQN7; + anchorval = x1_orig; + } else { /* clip based on far endpt */ + + /* + * Technically since the equations can handle + * utmp == 32768, this overflow code isn't + * needed since X11 protocol can't generate + * a line which goes more than 32768 pixels + * below the bottom of a clip rectangle. + */ + utmp = ymax - y2_orig; + if (xmajor) + eqn = (swapped) ? EQN5B : EQN6B; + else + eqn = (swapped) ? EQN7B : EQN8B; + anchorval = x2_orig; + negslope = !negslope; + } + y1 = ymax; + } + + if (swapped) + negslope = !negslope; + + utmp <<= 1; /* utmp = 2N or 2M */ + if (eqn & T_2NDX) + utmp = (utmp * adx); + else /* (eqn & T_2MDY) */ + utmp = (utmp * ady); + if (eqn & T_DXNOTY) + if (eqn & T_SUBDXORY) + utmp -= adx; + else + utmp += adx; + else /* (eqn & T_DYNOTX) */ if (eqn & T_SUBDXORY) + utmp -= ady; + else + utmp += ady; + if (eqn & T_BIASSUBONE) + utmp += bias - 1; + else /* (eqn & T_SUBBIAS) */ + utmp -= bias; + if (eqn & T_DIV2DX) + utmp /= (adx << 1); + else /* (eqn & T_DIV2DY) */ + utmp /= (ady << 1); + if (eqn & T_ADDONE) + utmp++; + + if (negslope) + utmp = (uint32_t)(-(int32_t)utmp); + + if (eqn & T_2NDX) /* We are calculating X steps */ + x1 = anchorval + utmp; + else /* else, Y steps */ + y1 = anchorval + utmp; + + oc1 = 0; + MIOUTCODES (oc1, x1, y1, xmin, ymin, xmax, ymax); + } + } + + *new_x1 = x1; + *new_y1 = y1; + *new_x2 = x2; + *new_y2 = y2; + + *pt1_clipped = clip1; + *pt2_clipped = clip2; + + return clipDone; +} + +/* Draw lineSolid, fillStyle-independent zero width lines. + * + * Must keep X and Y coordinates in "ints" at least until after they're + * translated and clipped to accomodate CoordModePrevious lines with very + * large coordinates. + * + * Draws the same pixels regardless of sign(dx) or sign(dy). + * + * Ken Whaley + * + */ + +#define MI_OUTPUT_POINT(xx, yy)\ +{\ + if ( !new_span && yy == current_y)\ + {\ + if (xx < spans->x)\ + spans->x = xx;\ + ++*widths;\ + }\ + else\ + {\ + ++Nspans;\ + ++spans;\ + ++widths;\ + spans->x = xx;\ + spans->y = yy;\ + *widths = 1;\ + current_y = yy;\ + new_span = FALSE;\ + }\ +} + +void +miZeroLine (GCPtr pGC, int mode, /* Origin or Previous */ + int npt, /* number of points */ + DDXPointPtr pptInit) +{ + int Nspans, current_y = 0; + DDXPointPtr ppt; + DDXPointPtr pspanInit, spans; + int *pwidthInit, *widths, list_len; + int xleft, ytop, xright, ybottom; + int new_x1, new_y1, new_x2, new_y2; + int x = 0, y = 0, x1, y1, x2, y2, xstart, ystart; + int oc1, oc2; + int result; + int pt1_clipped, pt2_clipped = 0; + Boolean new_span; + int signdx, signdy; + int clipdx, clipdy; + int width, height; + int adx, ady; + int octant; + unsigned int bias = miGetZeroLineBias (screen); + int e, e1, e2, e3; /* Bresenham error terms */ + int length; /* length of lines == # of pixels on major axis */ + + xleft = 0; + ytop = 0; + xright = pGC->width - 1; + ybottom = pGC->height - 1; + + /* it doesn't matter whether we're in drawable or screen coordinates, + * FillSpans simply cannot take starting coordinates outside of the + * range of a DDXPointRec component. + */ + if (xright > MAX_COORDINATE) + xright = MAX_COORDINATE; + if (ybottom > MAX_COORDINATE) + ybottom = MAX_COORDINATE; + + /* since we're clipping to the drawable's boundaries & coordinate + * space boundaries, we're guaranteed that the larger of width/height + * is the longest span we'll need to output + */ + width = xright - xleft + 1; + height = ybottom - ytop + 1; + list_len = (height >= width) ? height : width; + pspanInit = (DDXPointRec *)xalloc (list_len * sizeof (DDXPointRec)); + pwidthInit = (int *)xalloc (list_len * sizeof (int)); + if (!pspanInit || !pwidthInit) + goto out; + + Nspans = 0; + new_span = TRUE; + spans = pspanInit - 1; + widths = pwidthInit - 1; + ppt = pptInit; + + xstart = ppt->x; + ystart = ppt->y; + + /* x2, y2, oc2 copied to x1, y1, oc1 at top of loop to simplify + * iteration logic + */ + x2 = xstart; + y2 = ystart; + oc2 = 0; + MIOUTCODES (oc2, x2, y2, xleft, ytop, xright, ybottom); + + while (--npt > 0) { + if (Nspans > 0) + (*pGC->ops->FillSpans) (pGC, Nspans, pspanInit, pwidthInit, FALSE, TRUE); + Nspans = 0; + new_span = TRUE; + spans = pspanInit - 1; + widths = pwidthInit - 1; + + x1 = x2; + y1 = y2; + oc1 = oc2; + ++ppt; + + x2 = ppt->x; + y2 = ppt->y; + if (mode == CoordModePrevious) { + x2 += x1; + y2 += y1; + } + + oc2 = 0; + MIOUTCODES (oc2, x2, y2, xleft, ytop, xright, ybottom); + + CalcLineDeltas (x1, y1, x2, y2, adx, ady, signdx, signdy, 1, 1, octant); + + if (adx > ady) { + e1 = ady << 1; + e2 = e1 - (adx << 1); + e = e1 - adx; + length = adx; /* don't draw endpoint in main loop */ + + FIXUP_ERROR (e, octant, bias); + + new_x1 = x1; + new_y1 = y1; + new_x2 = x2; + new_y2 = y2; + pt1_clipped = 0; + pt2_clipped = 0; + + if ((oc1 | oc2) != 0) { + result = miZeroClipLine (xleft, ytop, xright, ybottom, + &new_x1, &new_y1, &new_x2, &new_y2, + adx, ady, + &pt1_clipped, &pt2_clipped, octant, bias, oc1, oc2); + if (result == -1) + continue; + + length = abs (new_x2 - new_x1); + + /* if we've clipped the endpoint, always draw the full length + * of the segment, because then the capstyle doesn't matter + */ + if (pt2_clipped) + length++; + + if (pt1_clipped) { + /* must calculate new error terms */ + clipdx = abs (new_x1 - x1); + clipdy = abs (new_y1 - y1); + e += (clipdy * e2) + ((clipdx - clipdy) * e1); + } + } + + /* draw the segment */ + + x = new_x1; + y = new_y1; + + e3 = e2 - e1; + e = e - e1; + + while (length--) { + MI_OUTPUT_POINT (x, y); + e += e1; + if (e >= 0) { + y += signdy; + e += e3; + } + x += signdx; + } + } else { /* Y major line */ + + e1 = adx << 1; + e2 = e1 - (ady << 1); + e = e1 - ady; + length = ady; /* don't draw endpoint in main loop */ + + SetYMajorOctant (octant); + FIXUP_ERROR (e, octant, bias); + + new_x1 = x1; + new_y1 = y1; + new_x2 = x2; + new_y2 = y2; + pt1_clipped = 0; + pt2_clipped = 0; + + if ((oc1 | oc2) != 0) { + result = miZeroClipLine (xleft, ytop, xright, ybottom, + &new_x1, &new_y1, &new_x2, &new_y2, + adx, ady, + &pt1_clipped, &pt2_clipped, octant, bias, oc1, oc2); + if (result == -1) + continue; + + length = abs (new_y2 - new_y1); + + /* if we've clipped the endpoint, always draw the full length + * of the segment, because then the capstyle doesn't matter + */ + if (pt2_clipped) + length++; + + if (pt1_clipped) { + /* must calculate new error terms */ + clipdx = abs (new_x1 - x1); + clipdy = abs (new_y1 - y1); + e += (clipdx * e2) + ((clipdy - clipdx) * e1); + } + } + + /* draw the segment */ + + x = new_x1; + y = new_y1; + + e3 = e2 - e1; + e = e - e1; + + while (length--) { + MI_OUTPUT_POINT (x, y); + e += e1; + if (e >= 0) { + x += signdx; + e += e3; + } + y += signdy; + } + } + } + + /* only do the capnotlast check on the last segment + * and only if the endpoint wasn't clipped. And then, if the last + * point is the same as the first point, do not draw it, unless the + * line is degenerate + */ + if ((!pt2_clipped) && (pGC->capStyle != CapNotLast) && + (((xstart != x2) || (ystart != y2)) || (ppt == pptInit + 1))) { + MI_OUTPUT_POINT (x, y); + } + + if (Nspans > 0) + (*pGC->ops->FillSpans) (pGC, Nspans, pspanInit, pwidthInit, FALSE, TRUE); + +out: + xfree (pwidthInit); + xfree (pspanInit); +} + +void +miZeroDashLine (GCPtr pgc, int mode, int nptInit, /* number of points in polyline */ + DDXPointRec * pptInit /* points in the polyline */ + ) +{ + /* XXX kludge until real zero-width dash code is written */ + pgc->lineWidth = 1; + miWideDash (pgc, mode, nptInit, pptInit); + pgc->lineWidth = 0; +} + +static void miLineArc (GCPtr pGC, + Boolean foreground, SpanDataPtr spanData, + LineFacePtr leftFace, + LineFacePtr rightFace, double xorg, double yorg, Boolean isInt); + + +/* + * spans-based polygon filler + */ + +static void +miFillPolyHelper (GCPtr pGC, Boolean foreground, + SpanDataPtr spanData, int y, int overall_height, + PolyEdgePtr left, PolyEdgePtr right, int left_count, int right_count) +{ + int left_x = 0, left_e = 0; + int left_stepx = 0; + int left_signdx = 0; + int left_dy = 0, left_dx = 0; + + int right_x = 0, right_e = 0; + int right_stepx = 0; + int right_signdx = 0; + int right_dy = 0, right_dx = 0; + + int height = 0; + int left_height = 0, right_height = 0; + + DDXPointPtr ppt; + DDXPointPtr pptInit = NULL; + int *pwidth; + int *pwidthInit = NULL; + int xorg; + Spans spanRec; + + left_height = 0; + right_height = 0; + + if (!spanData) { + pptInit = (DDXPointRec *)xalloc (overall_height * sizeof (*ppt)); + if (!pptInit) + return; + pwidthInit = (int *)xalloc (overall_height * sizeof (*pwidth)); + if (!pwidthInit) { + xfree (pptInit); + return; + } + ppt = pptInit; + pwidth = pwidthInit; + } else { + spanRec.points = (DDXPointRec *)xalloc (overall_height * sizeof (*ppt)); + if (!spanRec.points) + return; + spanRec.widths = (int *)xalloc (overall_height * sizeof (int)); + if (!spanRec.widths) { + xfree (spanRec.points); + return; + } + ppt = spanRec.points; + pwidth = spanRec.widths; + } + + xorg = 0; + while ((left_count || left_height) && (right_count || right_height)) { + MIPOLYRELOADLEFT MIPOLYRELOADRIGHT height = left_height; + if (height > right_height) + height = right_height; + + left_height -= height; + right_height -= height; + + while (--height >= 0) { + if (right_x >= left_x) { + ppt->y = y; + ppt->x = left_x + xorg; + ppt++; + *pwidth++ = right_x - left_x + 1; + } + y++; + + MIPOLYSTEPLEFT MIPOLYSTEPRIGHT} + } + if (!spanData) { + (*pGC->ops->FillSpans) (pGC, ppt - pptInit, pptInit, pwidthInit, TRUE, foreground); + xfree (pwidthInit); + xfree (pptInit); + } else { + spanRec.count = ppt - spanRec.points; + AppendSpanGroup (pGC, foreground, &spanRec, spanData) + } +} + +static void +miFillRectPolyHelper (GCPtr pGC, Boolean foreground, SpanDataPtr spanData, int x, int y, int w, int h) +{ + DDXPointPtr ppt; + int *pwidth; + Spans spanRec; + xRectangle rect; + + if (!spanData) { + rect.x = x; + rect.y = y; + rect.width = w; + rect.height = h; + (*pGC->ops->FillRects) (pGC, 1, &rect, foreground); + } else { + spanRec.points = (DDXPointRec *)xalloc (h * sizeof (*ppt)); + if (!spanRec.points) + return; + spanRec.widths = (int *)xalloc (h * sizeof (int)); + if (!spanRec.widths) { + xfree (spanRec.points); + return; + } + ppt = spanRec.points; + pwidth = spanRec.widths; + + while (h--) { + ppt->x = x; + ppt->y = y; + ppt++; + *pwidth++ = w; + y++; + } + spanRec.count = ppt - spanRec.points; + AppendSpanGroup (pGC, foreground, &spanRec, spanData) + } +} + +static int +miPolyBuildEdge (double x0, double y0, double k, /* x0 * dy - y0 * dx */ + int dx, int dy, int xi, int yi, int left, PolyEdgePtr edge) +{ + int x, y, e; + int xady; + + if (dy < 0) { + dy = -dy; + dx = -dx; + k = -k; + } +#ifdef NOTDEF + { + double realk, kerror; + realk = x0 * dy - y0 * dx; + kerror = Fabs (realk - k); + if (kerror > .1) + printf ("realk: %g k: %g\n", realk, k); + } +#endif + y = ICEIL (y0); + xady = ICEIL (k) + y * dx; + + if (xady <= 0) + x = -(-xady / dy) - 1; + else + x = (xady - 1) / dy; + + e = xady - x * dy; + + if (dx >= 0) { + edge->signdx = 1; + edge->stepx = dx / dy; + edge->dx = dx % dy; + } else { + edge->signdx = -1; + edge->stepx = -(-dx / dy); + edge->dx = -dx % dy; + e = dy - e + 1; + } + edge->dy = dy; + edge->x = x + left + xi; + edge->e = e - dy; /* bias to compare against 0 instead of dy */ + return y + yi; +} + +#define StepAround(v, incr, max) (((v) + (incr) < 0) ? (max - 1) : ((v) + (incr) == max) ? 0 : ((v) + (incr))) + +static int +miPolyBuildPoly (PolyVertexPtr vertices, + PolySlopePtr slopes, + int count, + int xi, + int yi, PolyEdgePtr left, PolyEdgePtr right, int *pnleft, int *pnright, int *h) +{ + int top, bottom; + double miny, maxy; + int i; + int j; + int clockwise; + int slopeoff; + int s; + int nright, nleft; + int y, lasty = 0, bottomy, topy = 0; + + /* find the top of the polygon */ + maxy = miny = vertices[0].y; + bottom = top = 0; + for (i = 1; i < count; i++) { + if (vertices[i].y < miny) { + top = i; + miny = vertices[i].y; + } + if (vertices[i].y >= maxy) { + bottom = i; + maxy = vertices[i].y; + } + } + clockwise = 1; + slopeoff = 0; + + i = top; + j = StepAround (top, -1, count); + + if (slopes[j].dy * slopes[i].dx > slopes[i].dy * slopes[j].dx) { + clockwise = -1; + slopeoff = -1; + } + + bottomy = ICEIL (maxy) + yi; + + nright = 0; + + s = StepAround (top, slopeoff, count); + i = top; + while (i != bottom) { + if (slopes[s].dy != 0) { + y = miPolyBuildEdge (vertices[i].x, vertices[i].y, + slopes[s].k, + slopes[s].dx, slopes[s].dy, xi, yi, 0, &right[nright]); + if (nright != 0) + right[nright - 1].height = y - lasty; + else + topy = y; + nright++; + lasty = y; + } + + i = StepAround (i, clockwise, count); + s = StepAround (s, clockwise, count); + } + if (nright != 0) + right[nright - 1].height = bottomy - lasty; + + if (slopeoff == 0) + slopeoff = -1; + else + slopeoff = 0; + + nleft = 0; + s = StepAround (top, slopeoff, count); + i = top; + while (i != bottom) { + if (slopes[s].dy != 0) { + y = miPolyBuildEdge (vertices[i].x, vertices[i].y, + slopes[s].k, slopes[s].dx, slopes[s].dy, xi, yi, 1, &left[nleft]); + + if (nleft != 0) + left[nleft - 1].height = y - lasty; + nleft++; + lasty = y; + } + i = StepAround (i, -clockwise, count); + s = StepAround (s, -clockwise, count); + } + if (nleft != 0) + left[nleft - 1].height = bottomy - lasty; + *pnleft = nleft; + *pnright = nright; + *h = bottomy - topy; + return topy; +} + +static void +miLineOnePoint (GCPtr pGC, Boolean foreground, SpanDataPtr spanData, int x, int y) +{ + DDXPointRec pt; + int wid; + + wid = 1; + pt.x = x; + pt.y = y; + (*pGC->ops->FillSpans) (pGC, 1, &pt, &wid, TRUE, foreground); +} + +static void +miLineJoin (GCPtr pGC, Boolean foreground, SpanDataPtr spanData, LineFacePtr pLeft, LineFacePtr pRight) +{ + double mx = 0, my = 0; + double denom = 0.0; + PolyVertexRec vertices[4]; + PolySlopeRec slopes[4]; + int edgecount; + PolyEdgeRec left[4], right[4]; + int nleft, nright; + int y, height; + int swapslopes; + int joinStyle = pGC->joinStyle; + int lw = pGC->lineWidth; + + if (lw == 1 && !spanData) { + /* See if one of the lines will draw the joining pixel */ + if (pLeft->dx > 0 || (pLeft->dx == 0 && pLeft->dy > 0)) + return; + if (pRight->dx > 0 || (pRight->dx == 0 && pRight->dy > 0)) + return; + if (joinStyle != JoinRound) { + denom = -pLeft->dx * (double) pRight->dy + pRight->dx * (double) pLeft->dy; + if (denom == 0) + return; /* no join to draw */ + } + if (joinStyle != JoinMiter) { + miLineOnePoint (pGC, foreground, spanData, pLeft->x, pLeft->y); + return; + } + } else { + if (joinStyle == JoinRound) { + miLineArc (pGC, foreground, spanData, pLeft, pRight, (double) 0.0, (double) 0.0, TRUE); + return; + } + denom = -pLeft->dx * (double) pRight->dy + pRight->dx * (double) pLeft->dy; + if (denom == 0.0) + return; /* no join to draw */ + } + + swapslopes = 0; + if (denom > 0) { + pLeft->xa = -pLeft->xa; + pLeft->ya = -pLeft->ya; + pLeft->dx = -pLeft->dx; + pLeft->dy = -pLeft->dy; + } else { + swapslopes = 1; + pRight->xa = -pRight->xa; + pRight->ya = -pRight->ya; + pRight->dx = -pRight->dx; + pRight->dy = -pRight->dy; + } + + vertices[0].x = pRight->xa; + vertices[0].y = pRight->ya; + slopes[0].dx = -pRight->dy; + slopes[0].dy = pRight->dx; + slopes[0].k = 0; + + vertices[1].x = 0; + vertices[1].y = 0; + slopes[1].dx = pLeft->dy; + slopes[1].dy = -pLeft->dx; + slopes[1].k = 0; + + vertices[2].x = pLeft->xa; + vertices[2].y = pLeft->ya; + + if (joinStyle == JoinMiter) { + my = (pLeft->dy * (pRight->xa * pRight->dy - pRight->ya * pRight->dx) - + pRight->dy * (pLeft->xa * pLeft->dy - pLeft->ya * pLeft->dx)) / denom; + if (pLeft->dy != 0) { + mx = pLeft->xa + (my - pLeft->ya) * (double) pLeft->dx / (double) pLeft->dy; + } else { + mx = pRight->xa + (my - pRight->ya) * (double) pRight->dx / (double) pRight->dy; + } + /* check miter limit */ + if ((mx * mx + my * my) * 4 > SQSECANT * lw * lw) + joinStyle = JoinBevel; + } + + if (joinStyle == JoinMiter) { + slopes[2].dx = pLeft->dx; + slopes[2].dy = pLeft->dy; + slopes[2].k = pLeft->k; + if (swapslopes) { + slopes[2].dx = -slopes[2].dx; + slopes[2].dy = -slopes[2].dy; + slopes[2].k = -slopes[2].k; + } + vertices[3].x = mx; + vertices[3].y = my; + slopes[3].dx = pRight->dx; + slopes[3].dy = pRight->dy; + slopes[3].k = pRight->k; + if (swapslopes) { + slopes[3].dx = -slopes[3].dx; + slopes[3].dy = -slopes[3].dy; + slopes[3].k = -slopes[3].k; + } + edgecount = 4; + } else { + double scale, dx, dy, adx, ady; + + adx = dx = pRight->xa - pLeft->xa; + ady = dy = pRight->ya - pLeft->ya; + if (adx < 0) + adx = -adx; + if (ady < 0) + ady = -ady; + scale = ady; + if (adx > ady) + scale = adx; + slopes[2].dx = (int) ((dx * 65536) / scale); + slopes[2].dy = (int) ((dy * 65536) / scale); + slopes[2].k = ((pLeft->xa + pRight->xa) * slopes[2].dy - + (pLeft->ya + pRight->ya) * slopes[2].dx) / 2.0; + edgecount = 3; + } + + y = miPolyBuildPoly (vertices, slopes, edgecount, pLeft->x, pLeft->y, + left, right, &nleft, &nright, &height); + miFillPolyHelper (pGC, foreground, spanData, y, height, left, right, nleft, nright); +} + +static int +miLineArcI (GCPtr pGC, int xorg, int yorg, DDXPointPtr points, int *widths) +{ + DDXPointPtr tpts, bpts; + int *twids, *bwids; + int x, y, e, ex, slw; + + tpts = points; + twids = widths; + slw = pGC->lineWidth; + if (slw == 1) { + tpts->x = xorg; + tpts->y = yorg; + *twids = 1; + return 1; + } + bpts = tpts + slw; + bwids = twids + slw; + y = (slw >> 1) + 1; + if (slw & 1) + e = -((y << 2) + 3); + else + e = -(y << 3); + ex = -4; + x = 0; + while (y) { + e += (y << 3) - 4; + while (e >= 0) { + x++; + e += (ex = -((x << 3) + 4)); + } + y--; + slw = (x << 1) + 1; + if ((e == ex) && (slw > 1)) + slw--; + tpts->x = xorg - x; + tpts->y = yorg - y; + tpts++; + *twids++ = slw; + if ((y != 0) && ((slw > 1) || (e != ex))) { + bpts--; + bpts->x = xorg - x; + bpts->y = yorg + y; + *--bwids = slw; + } + } + return (pGC->lineWidth); +} + +#define CLIPSTEPEDGE(edgey,edge,edgeleft) \ + if (ybase == edgey) \ + { \ + if (edgeleft) \ + { \ + if (edge->x > xcl) \ + xcl = edge->x; \ + } \ + else \ + { \ + if (edge->x < xcr) \ + xcr = edge->x; \ + } \ + edgey++; \ + edge->x += edge->stepx; \ + edge->e += edge->dx; \ + if (edge->e > 0) \ + { \ + edge->x += edge->signdx; \ + edge->e -= edge->dy; \ + } \ + } + +static int +miLineArcD (GCPtr pGC, + double xorg, + double yorg, + DDXPointPtr points, + int *widths, + PolyEdgePtr edge1, + int edgey1, Boolean edgeleft1, PolyEdgePtr edge2, int edgey2, Boolean edgeleft2) +{ + DDXPointPtr pts; + int *wids; + double radius, x0, y0, el, er, yk, xlk, xrk, k; + int xbase, ybase, y, boty, xl, xr, xcl, xcr; + int ymin, ymax; + Boolean edge1IsMin, edge2IsMin; + int ymin1, ymin2; + + pts = points; + wids = widths; + xbase = (int)floor (xorg); + x0 = xorg - xbase; + ybase = ICEIL (yorg); + y0 = yorg - ybase; + xlk = x0 + x0 + 1.0; + xrk = x0 + x0 - 1.0; + yk = y0 + y0 - 1.0; + radius = ((double) pGC->lineWidth) / 2.0; + y = (int)floor (radius - y0 + 1.0); + ybase -= y; + ymin = ybase; + ymax = 65536; + edge1IsMin = FALSE; + ymin1 = edgey1; + if (edge1->dy >= 0) { + if (!edge1->dy) { + if (edgeleft1) + edge1IsMin = TRUE; + else + ymax = edgey1; + edgey1 = 65536; + } else { + if ((edge1->signdx < 0) == edgeleft1) + edge1IsMin = TRUE; + } + } + edge2IsMin = FALSE; + ymin2 = edgey2; + if (edge2->dy >= 0) { + if (!edge2->dy) { + if (edgeleft2) + edge2IsMin = TRUE; + else + ymax = edgey2; + edgey2 = 65536; + } else { + if ((edge2->signdx < 0) == edgeleft2) + edge2IsMin = TRUE; + } + } + if (edge1IsMin) { + ymin = ymin1; + if (edge2IsMin && ymin1 > ymin2) + ymin = ymin2; + } else if (edge2IsMin) + ymin = ymin2; + el = radius * radius - ((y + y0) * (y + y0)) - (x0 * x0); + er = el + xrk; + xl = 1; + xr = 0; + if (x0 < 0.5) { + xl = 0; + el -= xlk; + } + boty = (y0 < -0.5) ? 1 : 0; + if (ybase + y - boty > ymax) + boty = ymax - ybase - y; + while (y > boty) { + k = (y << 1) + yk; + er += k; + while (er > 0.0) { + xr++; + er += xrk - (xr << 1); + } + el += k; + while (el >= 0.0) { + xl--; + el += (xl << 1) - xlk; + } + y--; + ybase++; + if (ybase < ymin) + continue; + xcl = xl + xbase; + xcr = xr + xbase; + CLIPSTEPEDGE (edgey1, edge1, edgeleft1); + CLIPSTEPEDGE (edgey2, edge2, edgeleft2); + if (xcr >= xcl) { + pts->x = xcl; + pts->y = ybase; + pts++; + *wids++ = xcr - xcl + 1; + } + } + er = xrk - (xr << 1) - er; + el = (xl << 1) - xlk - el; + boty = (int)floor (-y0 - radius + 1.0); + if (ybase + y - boty > ymax) + boty = ymax - ybase - y; + while (y > boty) { + k = (y << 1) + yk; + er -= k; + while ((er >= 0.0) && (xr >= 0)) { + xr--; + er += xrk - (xr << 1); + } + el -= k; + while ((el > 0.0) && (xl <= 0)) { + xl++; + el += (xl << 1) - xlk; + } + y--; + ybase++; + if (ybase < ymin) + continue; + xcl = xl + xbase; + xcr = xr + xbase; + CLIPSTEPEDGE (edgey1, edge1, edgeleft1); + CLIPSTEPEDGE (edgey2, edge2, edgeleft2); + if (xcr >= xcl) { + pts->x = xcl; + pts->y = ybase; + pts++; + *wids++ = xcr - xcl + 1; + } + } + return (pts - points); +} + +static int +miRoundJoinFace (LineFacePtr face, PolyEdgePtr edge, Boolean * leftEdge) +{ + int y; + int dx, dy; + double xa, ya; + Boolean left; + + dx = -face->dy; + dy = face->dx; + xa = face->xa; + ya = face->ya; + left = 1; + if (ya > 0) { + ya = 0.0; + xa = 0.0; + } + if (dy < 0 || (dy == 0 && dx > 0)) { + dx = -dx; + dy = -dy; + left = !left; + } + if (dx == 0 && dy == 0) + dy = 1; + if (dy == 0) { + y = ICEIL (face->ya) + face->y; + edge->x = -32767; + edge->stepx = 0; + edge->signdx = 0; + edge->e = -1; + edge->dy = 0; + edge->dx = 0; + edge->height = 0; + } else { + y = miPolyBuildEdge (xa, ya, 0.0, dx, dy, face->x, face->y, !left, edge); + edge->height = 32767; + } + *leftEdge = !left; + return y; +} + +static void +miRoundJoinClip (LineFacePtr pLeft, LineFacePtr pRight, + PolyEdgePtr edge1, PolyEdgePtr edge2, int *y1, int *y2, Boolean * left1, Boolean * left2) +{ + double denom; + + denom = -pLeft->dx * (double) pRight->dy + pRight->dx * (double) pLeft->dy; + + if (denom >= 0) { + pLeft->xa = -pLeft->xa; + pLeft->ya = -pLeft->ya; + } else { + pRight->xa = -pRight->xa; + pRight->ya = -pRight->ya; + } + *y1 = miRoundJoinFace (pLeft, edge1, left1); + *y2 = miRoundJoinFace (pRight, edge2, left2); +} + +static int +miRoundCapClip (LineFacePtr face, Boolean isInt, PolyEdgePtr edge, Boolean * leftEdge) +{ + int y; + int dx, dy; + double xa, ya, k; + Boolean left; + + dx = -face->dy; + dy = face->dx; + xa = face->xa; + ya = face->ya; + k = 0.0; + if (!isInt) + k = face->k; + left = 1; + if (dy < 0 || (dy == 0 && dx > 0)) { + dx = -dx; + dy = -dy; + xa = -xa; + ya = -ya; + left = !left; + } + if (dx == 0 && dy == 0) + dy = 1; + if (dy == 0) { + y = ICEIL (face->ya) + face->y; + edge->x = -32767; + edge->stepx = 0; + edge->signdx = 0; + edge->e = -1; + edge->dy = 0; + edge->dx = 0; + edge->height = 0; + } else { + y = miPolyBuildEdge (xa, ya, k, dx, dy, face->x, face->y, !left, edge); + edge->height = 32767; + } + *leftEdge = !left; + return y; +} + +static void +miLineArc (GCPtr pGC, + Boolean foreground, + SpanDataPtr spanData, + LineFacePtr leftFace, LineFacePtr rightFace, double xorg, double yorg, Boolean isInt) +{ + DDXPointPtr points; + int *widths; + int xorgi = 0, yorgi = 0; + Spans spanRec; + int n; + PolyEdgeRec edge1, edge2; + int edgey1, edgey2; + Boolean edgeleft1, edgeleft2; + + if (isInt) { + xorgi = leftFace ? leftFace->x : rightFace->x; + yorgi = leftFace ? leftFace->y : rightFace->y; + } + edgey1 = 65536; + edgey2 = 65536; + edge1.x = 0; /* not used, keep memory checkers happy */ + edge1.dy = -1; + edge2.x = 0; /* not used, keep memory checkers happy */ + edge2.dy = -1; + edgeleft1 = FALSE; + edgeleft2 = FALSE; + if ((pGC->lineStyle != LineSolid || pGC->lineWidth > 2) && + ((pGC->capStyle == CapRound && pGC->joinStyle != JoinRound) || + (pGC->joinStyle == JoinRound && pGC->capStyle == CapButt))) { + if (isInt) { + xorg = (double) xorgi; + yorg = (double) yorgi; + } + if (leftFace && rightFace) { + miRoundJoinClip (leftFace, rightFace, &edge1, &edge2, + &edgey1, &edgey2, &edgeleft1, &edgeleft2); + } else if (leftFace) { + edgey1 = miRoundCapClip (leftFace, isInt, &edge1, &edgeleft1); + } else if (rightFace) { + edgey2 = miRoundCapClip (rightFace, isInt, &edge2, &edgeleft2); + } + isInt = FALSE; + } + if (!spanData) { + points = (DDXPointRec *)xalloc (sizeof (DDXPointRec) * pGC->lineWidth); + if (!points) + return; + widths = (int *)xalloc (sizeof (int) * pGC->lineWidth); + if (!widths) { + xfree (points); + return; + } + } else { + points = (DDXPointRec *)xalloc (pGC->lineWidth * sizeof (DDXPointRec)); + if (!points) + return; + widths = (int *)xalloc (pGC->lineWidth * sizeof (int)); + if (!widths) { + xfree (points); + return; + } + spanRec.points = points; + spanRec.widths = widths; + } + if (isInt) + n = miLineArcI (pGC, xorgi, yorgi, points, widths); + else + n = miLineArcD (pGC, xorg, yorg, points, widths, + &edge1, edgey1, edgeleft1, &edge2, edgey2, edgeleft2); + + if (!spanData) { + (*pGC->ops->FillSpans) (pGC, n, points, widths, TRUE, foreground); + xfree (widths); + xfree (points); + } else { + spanRec.count = n; + AppendSpanGroup (pGC, foreground, &spanRec, spanData) + } +} + +static void +miLineProjectingCap (GCPtr pGC, Boolean foreground, + SpanDataPtr spanData, LineFacePtr face, Boolean isLeft, + double xorg, double yorg, Boolean isInt) +{ + int xorgi = 0, yorgi = 0; + int lw; + PolyEdgeRec lefts[2], rights[2]; + int lefty, righty, topy, bottomy; + PolyEdgePtr left, right; + PolyEdgePtr top, bottom; + double xa, ya; + double k; + double xap, yap; + int dx, dy; + double projectXoff, projectYoff; + double maxy; + int finaly; + + if (isInt) { + xorgi = face->x; + yorgi = face->y; + } + lw = pGC->lineWidth; + dx = face->dx; + dy = face->dy; + k = face->k; + if (dy == 0) { + lefts[0].height = lw; + lefts[0].x = xorgi; + if (isLeft) + lefts[0].x -= (lw >> 1); + lefts[0].stepx = 0; + lefts[0].signdx = 1; + lefts[0].e = -lw; + lefts[0].dx = 0; + lefts[0].dy = lw; + rights[0].height = lw; + rights[0].x = xorgi; + if (!isLeft) + rights[0].x += ((lw + 1) >> 1); + rights[0].stepx = 0; + rights[0].signdx = 1; + rights[0].e = -lw; + rights[0].dx = 0; + rights[0].dy = lw; + miFillPolyHelper (pGC, foreground, spanData, yorgi - (lw >> 1), lw, lefts, rights, 1, 1); + } else if (dx == 0) { + if (dy < 0) { + dy = -dy; + isLeft = !isLeft; + } + topy = yorgi; + bottomy = yorgi + dy; + if (isLeft) + topy -= (lw >> 1); + else + bottomy += (lw >> 1); + lefts[0].height = bottomy - topy; + lefts[0].x = xorgi - (lw >> 1); + lefts[0].stepx = 0; + lefts[0].signdx = 1; + lefts[0].e = -dy; + lefts[0].dx = dx; + lefts[0].dy = dy; + + rights[0].height = bottomy - topy; + rights[0].x = lefts[0].x + (lw - 1); + rights[0].stepx = 0; + rights[0].signdx = 1; + rights[0].e = -dy; + rights[0].dx = dx; + rights[0].dy = dy; + miFillPolyHelper (pGC, foreground, spanData, topy, bottomy - topy, lefts, rights, 1, 1); + } else { + xa = face->xa; + ya = face->ya; + projectXoff = -ya; + projectYoff = xa; + if (dx < 0) { + right = &rights[1]; + left = &lefts[0]; + top = &rights[0]; + bottom = &lefts[1]; + } else { + right = &rights[0]; + left = &lefts[1]; + top = &lefts[0]; + bottom = &rights[1]; + } + if (isLeft) { + righty = miPolyBuildEdge (xa, ya, k, dx, dy, xorgi, yorgi, 0, right); + + xa = -xa; + ya = -ya; + k = -k; + lefty = miPolyBuildEdge (xa - projectXoff, ya - projectYoff, + k, dx, dy, xorgi, yorgi, 1, left); + if (dx > 0) { + ya = -ya; + xa = -xa; + } + xap = xa - projectXoff; + yap = ya - projectYoff; + topy = miPolyBuildEdge (xap, yap, xap * dx + yap * dy, + -dy, dx, xorgi, yorgi, dx > 0, top); + bottomy = miPolyBuildEdge (xa, ya, 0.0, -dy, dx, xorgi, yorgi, dx < 0, bottom); + maxy = -ya; + } else { + righty = miPolyBuildEdge (xa - projectXoff, ya - projectYoff, + k, dx, dy, xorgi, yorgi, 0, right); + + xa = -xa; + ya = -ya; + k = -k; + lefty = miPolyBuildEdge (xa, ya, k, dx, dy, xorgi, yorgi, 1, left); + if (dx > 0) { + ya = -ya; + xa = -xa; + } + xap = xa - projectXoff; + yap = ya - projectYoff; + topy = miPolyBuildEdge (xa, ya, 0.0, -dy, dx, xorgi, xorgi, dx > 0, top); + bottomy = miPolyBuildEdge (xap, yap, xap * dx + yap * dy, + -dy, dx, xorgi, xorgi, dx < 0, bottom); + maxy = -ya + projectYoff; + } + finaly = ICEIL (maxy) + yorgi; + if (dx < 0) { + left->height = bottomy - lefty; + right->height = finaly - righty; + top->height = righty - topy; + } else { + right->height = bottomy - righty; + left->height = finaly - lefty; + top->height = lefty - topy; + } + bottom->height = finaly - bottomy; + miFillPolyHelper (pGC, foreground, spanData, topy, + bottom->height + bottomy - topy, lefts, rights, 2, 2); + } +} + +static void +miWideSegment (GCPtr pGC, + Boolean foreground, + SpanDataPtr spanData, + int x1, + int y1, + int x2, + int y2, + Boolean projectLeft, Boolean projectRight, LineFacePtr leftFace, LineFacePtr rightFace) +{ + double l, L, r; + double xa, ya; + double projectXoff = 0.0, projectYoff = 0.0; + double k; + double maxy; + int x, y; + int dx, dy; + int finaly; + PolyEdgePtr left, right; + PolyEdgePtr top, bottom; + int lefty, righty, topy, bottomy; + int signdx; + PolyEdgeRec lefts[2], rights[2]; + LineFacePtr tface; + int lw = pGC->lineWidth; + + /* draw top-to-bottom always */ + if (y2 < y1 || (y2 == y1 && x2 < x1)) { + x = x1; + x1 = x2; + x2 = x; + + y = y1; + y1 = y2; + y2 = y; + + x = projectLeft; + projectLeft = projectRight; + projectRight = x; + + tface = leftFace; + leftFace = rightFace; + rightFace = tface; + } + + dy = y2 - y1; + signdx = 1; + dx = x2 - x1; + if (dx < 0) + signdx = -1; + + leftFace->x = x1; + leftFace->y = y1; + leftFace->dx = dx; + leftFace->dy = dy; + + rightFace->x = x2; + rightFace->y = y2; + rightFace->dx = -dx; + rightFace->dy = -dy; + + if (dy == 0) { + rightFace->xa = 0; + rightFace->ya = (double) lw / 2.0; + rightFace->k = -(double) (lw * dx) / 2.0; + leftFace->xa = 0; + leftFace->ya = -rightFace->ya; + leftFace->k = rightFace->k; + x = x1; + if (projectLeft) + x -= (lw >> 1); + y = y1 - (lw >> 1); + dx = x2 - x; + if (projectRight) + dx += ((lw + 1) >> 1); + dy = lw; + miFillRectPolyHelper (pGC, foreground, spanData, x, y, dx, dy); + } else if (dx == 0) { + leftFace->xa = (double) lw / 2.0; + leftFace->ya = 0; + leftFace->k = (double) (lw * dy) / 2.0; + rightFace->xa = -leftFace->xa; + rightFace->ya = 0; + rightFace->k = leftFace->k; + y = y1; + if (projectLeft) + y -= lw >> 1; + x = x1 - (lw >> 1); + dy = y2 - y; + if (projectRight) + dy += ((lw + 1) >> 1); + dx = lw; + miFillRectPolyHelper (pGC, foreground, spanData, x, y, dx, dy); + } else { + l = ((double) lw) / 2.0; + L = hypot ((double) dx, (double) dy); + + if (dx < 0) { + right = &rights[1]; + left = &lefts[0]; + top = &rights[0]; + bottom = &lefts[1]; + } else { + right = &rights[0]; + left = &lefts[1]; + top = &lefts[0]; + bottom = &rights[1]; + } + r = l / L; + + /* coord of upper bound at integral y */ + ya = -r * dx; + xa = r * dy; + + if (projectLeft | projectRight) { + projectXoff = -ya; + projectYoff = xa; + } + + /* xa * dy - ya * dx */ + k = l * L; + + leftFace->xa = xa; + leftFace->ya = ya; + leftFace->k = k; + rightFace->xa = -xa; + rightFace->ya = -ya; + rightFace->k = k; + + if (projectLeft) + righty = miPolyBuildEdge (xa - projectXoff, ya - projectYoff, + k, dx, dy, x1, y1, 0, right); + else + righty = miPolyBuildEdge (xa, ya, k, dx, dy, x1, y1, 0, right); + + /* coord of lower bound at integral y */ + ya = -ya; + xa = -xa; + + /* xa * dy - ya * dx */ + k = -k; + + if (projectLeft) + lefty = miPolyBuildEdge (xa - projectXoff, ya - projectYoff, + k, dx, dy, x1, y1, 1, left); + else + lefty = miPolyBuildEdge (xa, ya, k, dx, dy, x1, y1, 1, left); + + /* coord of top face at integral y */ + + if (signdx > 0) { + ya = -ya; + xa = -xa; + } + + if (projectLeft) { + double xap = xa - projectXoff; + double yap = ya - projectYoff; + topy = miPolyBuildEdge (xap, yap, xap * dx + yap * dy, -dy, dx, x1, y1, dx > 0, top); + } else + topy = miPolyBuildEdge (xa, ya, 0.0, -dy, dx, x1, y1, dx > 0, top); + + /* coord of bottom face at integral y */ + + if (projectRight) { + double xap = xa + projectXoff; + double yap = ya + projectYoff; + bottomy = miPolyBuildEdge (xap, yap, xap * dx + yap * dy, + -dy, dx, x2, y2, dx < 0, bottom); + maxy = -ya + projectYoff; + } else { + bottomy = miPolyBuildEdge (xa, ya, 0.0, -dy, dx, x2, y2, dx < 0, bottom); + maxy = -ya; + } + + finaly = ICEIL (maxy) + y2; + + if (dx < 0) { + left->height = bottomy - lefty; + right->height = finaly - righty; + top->height = righty - topy; + } else { + right->height = bottomy - righty; + left->height = finaly - lefty; + top->height = lefty - topy; + } + bottom->height = finaly - bottomy; + miFillPolyHelper (pGC, foreground, spanData, topy, + bottom->height + bottomy - topy, lefts, rights, 2, 2); + } +} + +static SpanDataPtr +miSetupSpanData (GCPtr pGC, SpanDataPtr spanData, int npt) +{ + if ((npt < 3 && pGC->capStyle != CapRound) || miSpansEasyRop (pGC->alu)) + return (SpanDataPtr) NULL; + if (pGC->lineStyle == LineDoubleDash) + miInitSpanGroup (&spanData->bgGroup); + miInitSpanGroup (&spanData->fgGroup); + return spanData; +} + +static void +miCleanupSpanData (GCPtr pGC, SpanDataPtr spanData) +{ + if (pGC->lineStyle == LineDoubleDash) { + miFillUniqueSpanGroup (pGC, &spanData->bgGroup, FALSE); + miFreeSpanGroup (&spanData->bgGroup); + } + miFillUniqueSpanGroup (pGC, &spanData->fgGroup, TRUE); + miFreeSpanGroup (&spanData->fgGroup); +} + +void +miWideLine (GCPtr pGC, int mode, int npt, DDXPointPtr pPts) +{ + int x1, y1, x2, y2; + SpanDataRec spanDataRec; + SpanDataPtr spanData; + Boolean projectLeft, projectRight; + LineFaceRec leftFace, rightFace, prevRightFace; + LineFaceRec firstFace; + int first; + Boolean somethingDrawn = FALSE; + Boolean selfJoin; + + spanData = miSetupSpanData (pGC, &spanDataRec, npt); + x2 = pPts->x; + y2 = pPts->y; + first = TRUE; + selfJoin = FALSE; + if (npt > 1) { + if (mode == CoordModePrevious) { + int nptTmp; + DDXPointPtr pPtsTmp; + + x1 = x2; + y1 = y2; + nptTmp = npt; + pPtsTmp = pPts + 1; + while (--nptTmp) { + x1 += pPtsTmp->x; + y1 += pPtsTmp->y; + ++pPtsTmp; + } + if (x2 == x1 && y2 == y1) + selfJoin = TRUE; + } else if (x2 == pPts[npt - 1].x && y2 == pPts[npt - 1].y) { + selfJoin = TRUE; + } + } + projectLeft = pGC->capStyle == CapProjecting && !selfJoin; + projectRight = FALSE; + while (--npt) { + x1 = x2; + y1 = y2; + ++pPts; + x2 = pPts->x; + y2 = pPts->y; + if (mode == CoordModePrevious) { + x2 += x1; + y2 += y1; + } + if (x1 != x2 || y1 != y2) { + somethingDrawn = TRUE; + if (npt == 1 && pGC->capStyle == CapProjecting && !selfJoin) + projectRight = TRUE; + miWideSegment (pGC, TRUE, spanData, x1, y1, x2, y2, + projectLeft, projectRight, &leftFace, &rightFace); + if (first) { + if (selfJoin) + firstFace = leftFace; + else if (pGC->capStyle == CapRound) { + if (pGC->lineWidth == 1 && !spanData) + miLineOnePoint (pGC, TRUE, spanData, x1, y1); + else + miLineArc (pGC, TRUE, spanData, + &leftFace, (LineFacePtr) NULL, (double) 0.0, (double) 0.0, TRUE); + } + } else { + miLineJoin (pGC, TRUE, spanData, &leftFace, &prevRightFace); + } + prevRightFace = rightFace; + first = FALSE; + projectLeft = FALSE; + } + if (npt == 1 && somethingDrawn) { + if (selfJoin) + miLineJoin (pGC, TRUE, spanData, &firstFace, &rightFace); + else if (pGC->capStyle == CapRound) { + if (pGC->lineWidth == 1 && !spanData) + miLineOnePoint (pGC, TRUE, spanData, x2, y2); + else + miLineArc (pGC, TRUE, spanData, + (LineFacePtr) NULL, &rightFace, (double) 0.0, (double) 0.0, TRUE); + } + } + } + /* handle crock where all points are coincedent */ + if (!somethingDrawn) { + projectLeft = pGC->capStyle == CapProjecting; + miWideSegment (pGC, TRUE, spanData, + x2, y2, x2, y2, projectLeft, projectLeft, &leftFace, &rightFace); + if (pGC->capStyle == CapRound) { + miLineArc (pGC, TRUE, spanData, + &leftFace, (LineFacePtr) NULL, (double) 0.0, (double) 0.0, TRUE); + rightFace.dx = -1; /* sleezy hack to make it work */ + miLineArc (pGC, TRUE, spanData, + (LineFacePtr) NULL, &rightFace, (double) 0.0, (double) 0.0, TRUE); + } + } + if (spanData) + miCleanupSpanData (pGC, spanData); +} + +#define V_TOP 0 +#define V_RIGHT 1 +#define V_BOTTOM 2 +#define V_LEFT 3 + +static void +miWideDashSegment (GCPtr pGC, + SpanDataPtr spanData, + int *pDashOffset, + int *pDashIndex, + int x1, + int y1, + int x2, + int y2, + Boolean projectLeft, Boolean projectRight, LineFacePtr leftFace, LineFacePtr rightFace) +{ + int dashIndex, dashRemain; + unsigned char *pDash; + double L, l; + double k; + PolyVertexRec vertices[4]; + PolyVertexRec saveRight = { 0 }, saveBottom; + PolySlopeRec slopes[4]; + PolyEdgeRec left[2], right[2]; + LineFaceRec lcapFace, rcapFace; + int nleft, nright; + int h; + int y; + int dy, dx; + Boolean foreground; + double LRemain; + double r; + double rdx, rdy; + double dashDx, dashDy; + double saveK = 0.0; + Boolean first = TRUE; + double lcenterx, lcentery, rcenterx = 0.0, rcentery = 0.0; + + dx = x2 - x1; + dy = y2 - y1; + dashIndex = *pDashIndex; + pDash = pGC->dash; + dashRemain = pDash[dashIndex] - *pDashOffset; + + l = ((double) pGC->lineWidth) / 2.0; + if (dx == 0) { + L = dy; + rdx = 0; + rdy = l; + if (dy < 0) { + L = -dy; + rdy = -l; + } + } else if (dy == 0) { + L = dx; + rdx = l; + rdy = 0; + if (dx < 0) { + L = -dx; + rdx = -l; + } + } else { + L = hypot ((double) dx, (double) dy); + r = l / L; + + rdx = r * dx; + rdy = r * dy; + } + k = l * L; + LRemain = L; + /* All position comments are relative to a line with dx and dy > 0, + * but the code does not depend on this */ + /* top */ + slopes[V_TOP].dx = dx; + slopes[V_TOP].dy = dy; + slopes[V_TOP].k = k; + /* right */ + slopes[V_RIGHT].dx = -dy; + slopes[V_RIGHT].dy = dx; + slopes[V_RIGHT].k = 0; + /* bottom */ + slopes[V_BOTTOM].dx = -dx; + slopes[V_BOTTOM].dy = -dy; + slopes[V_BOTTOM].k = k; + /* left */ + slopes[V_LEFT].dx = dy; + slopes[V_LEFT].dy = -dx; + slopes[V_LEFT].k = 0; + + /* preload the start coordinates */ + vertices[V_RIGHT].x = vertices[V_TOP].x = rdy; + vertices[V_RIGHT].y = vertices[V_TOP].y = -rdx; + + vertices[V_BOTTOM].x = vertices[V_LEFT].x = -rdy; + vertices[V_BOTTOM].y = vertices[V_LEFT].y = rdx; + + if (projectLeft) { + vertices[V_TOP].x -= rdx; + vertices[V_TOP].y -= rdy; + + vertices[V_LEFT].x -= rdx; + vertices[V_LEFT].y -= rdy; + + slopes[V_LEFT].k = rdx * dx + rdy * dy; + } + + lcenterx = x1; + lcentery = y1; + + if (pGC->capStyle == CapRound) { + lcapFace.dx = dx; + lcapFace.dy = dy; + lcapFace.x = x1; + lcapFace.y = y1; + + rcapFace.dx = -dx; + rcapFace.dy = -dy; + rcapFace.x = x1; + rcapFace.y = y1; + } + while (LRemain > dashRemain) { + dashDx = (dashRemain * dx) / L; + dashDy = (dashRemain * dy) / L; + + rcenterx = lcenterx + dashDx; + rcentery = lcentery + dashDy; + + vertices[V_RIGHT].x += dashDx; + vertices[V_RIGHT].y += dashDy; + + vertices[V_BOTTOM].x += dashDx; + vertices[V_BOTTOM].y += dashDy; + + slopes[V_RIGHT].k = vertices[V_RIGHT].x * dx + vertices[V_RIGHT].y * dy; + + if (pGC->lineStyle == LineDoubleDash || !(dashIndex & 1)) { + if (pGC->lineStyle == LineOnOffDash && pGC->capStyle == CapProjecting) { + saveRight = vertices[V_RIGHT]; + saveBottom = vertices[V_BOTTOM]; + saveK = slopes[V_RIGHT].k; + + if (!first) { + vertices[V_TOP].x -= rdx; + vertices[V_TOP].y -= rdy; + + vertices[V_LEFT].x -= rdx; + vertices[V_LEFT].y -= rdy; + + slopes[V_LEFT].k = vertices[V_LEFT].x * + slopes[V_LEFT].dy - vertices[V_LEFT].y * slopes[V_LEFT].dx; + } + + vertices[V_RIGHT].x += rdx; + vertices[V_RIGHT].y += rdy; + + vertices[V_BOTTOM].x += rdx; + vertices[V_BOTTOM].y += rdy; + + slopes[V_RIGHT].k = vertices[V_RIGHT].x * + slopes[V_RIGHT].dy - vertices[V_RIGHT].y * slopes[V_RIGHT].dx; + } + y = miPolyBuildPoly (vertices, slopes, 4, x1, y1, left, right, &nleft, &nright, &h); + foreground = (dashIndex & 1) == 0; + miFillPolyHelper (pGC, foreground, spanData, y, h, left, right, nleft, nright); + + if (pGC->lineStyle == LineOnOffDash) { + switch (pGC->capStyle) { + case CapProjecting: + vertices[V_BOTTOM] = saveBottom; + vertices[V_RIGHT] = saveRight; + slopes[V_RIGHT].k = saveK; + break; + case CapRound: + if (!first) { + if (dx < 0) { + lcapFace.xa = -vertices[V_LEFT].x; + lcapFace.ya = -vertices[V_LEFT].y; + lcapFace.k = slopes[V_LEFT].k; + } else { + lcapFace.xa = vertices[V_TOP].x; + lcapFace.ya = vertices[V_TOP].y; + lcapFace.k = -slopes[V_LEFT].k; + } + miLineArc (pGC, foreground, spanData, + &lcapFace, (LineFacePtr) NULL, lcenterx, lcentery, FALSE); + } + if (dx < 0) { + rcapFace.xa = vertices[V_BOTTOM].x; + rcapFace.ya = vertices[V_BOTTOM].y; + rcapFace.k = slopes[V_RIGHT].k; + } else { + rcapFace.xa = -vertices[V_RIGHT].x; + rcapFace.ya = -vertices[V_RIGHT].y; + rcapFace.k = -slopes[V_RIGHT].k; + } + miLineArc (pGC, foreground, spanData, + (LineFacePtr) NULL, &rcapFace, rcenterx, rcentery, FALSE); + break; + } + } + } + LRemain -= dashRemain; + ++dashIndex; + if (dashIndex == pGC->numInDashList) + dashIndex = 0; + dashRemain = pDash[dashIndex]; + + lcenterx = rcenterx; + lcentery = rcentery; + + vertices[V_TOP] = vertices[V_RIGHT]; + vertices[V_LEFT] = vertices[V_BOTTOM]; + slopes[V_LEFT].k = -slopes[V_RIGHT].k; + first = FALSE; + } + + if (pGC->lineStyle == LineDoubleDash || !(dashIndex & 1)) { + vertices[V_TOP].x -= dx; + vertices[V_TOP].y -= dy; + + vertices[V_LEFT].x -= dx; + vertices[V_LEFT].y -= dy; + + vertices[V_RIGHT].x = rdy; + vertices[V_RIGHT].y = -rdx; + + vertices[V_BOTTOM].x = -rdy; + vertices[V_BOTTOM].y = rdx; + + + if (projectRight) { + vertices[V_RIGHT].x += rdx; + vertices[V_RIGHT].y += rdy; + + vertices[V_BOTTOM].x += rdx; + vertices[V_BOTTOM].y += rdy; + slopes[V_RIGHT].k = vertices[V_RIGHT].x * + slopes[V_RIGHT].dy - vertices[V_RIGHT].y * slopes[V_RIGHT].dx; + } else + slopes[V_RIGHT].k = 0; + + if (!first && pGC->lineStyle == LineOnOffDash && pGC->capStyle == CapProjecting) { + vertices[V_TOP].x -= rdx; + vertices[V_TOP].y -= rdy; + + vertices[V_LEFT].x -= rdx; + vertices[V_LEFT].y -= rdy; + slopes[V_LEFT].k = vertices[V_LEFT].x * + slopes[V_LEFT].dy - vertices[V_LEFT].y * slopes[V_LEFT].dx; + } else + slopes[V_LEFT].k += dx * dx + dy * dy; + + + y = miPolyBuildPoly (vertices, slopes, 4, x2, y2, left, right, &nleft, &nright, &h); + + foreground = (dashIndex & 1) == 0; + miFillPolyHelper (pGC, foreground, spanData, y, h, left, right, nleft, nright); + if (!first && pGC->lineStyle == LineOnOffDash && pGC->capStyle == CapRound) { + lcapFace.x = x2; + lcapFace.y = y2; + if (dx < 0) { + lcapFace.xa = -vertices[V_LEFT].x; + lcapFace.ya = -vertices[V_LEFT].y; + lcapFace.k = slopes[V_LEFT].k; + } else { + lcapFace.xa = vertices[V_TOP].x; + lcapFace.ya = vertices[V_TOP].y; + lcapFace.k = -slopes[V_LEFT].k; + } + miLineArc (pGC, foreground, spanData, + &lcapFace, (LineFacePtr) NULL, rcenterx, rcentery, FALSE); + } + } + dashRemain = (int)(((double) dashRemain) - LRemain); + if (dashRemain == 0) { + dashIndex++; + if (dashIndex == pGC->numInDashList) + dashIndex = 0; + dashRemain = pDash[dashIndex]; + } + + leftFace->x = x1; + leftFace->y = y1; + leftFace->dx = dx; + leftFace->dy = dy; + leftFace->xa = rdy; + leftFace->ya = -rdx; + leftFace->k = k; + + rightFace->x = x2; + rightFace->y = y2; + rightFace->dx = -dx; + rightFace->dy = -dy; + rightFace->xa = -rdy; + rightFace->ya = rdx; + rightFace->k = k; + + *pDashIndex = dashIndex; + *pDashOffset = pDash[dashIndex] - dashRemain; +} + +void +miWideDash (GCPtr pGC, int mode, int npt, DDXPointPtr pPts) +{ + int x1, y1, x2, y2; + Boolean foreground; + Boolean projectLeft, projectRight; + LineFaceRec leftFace, rightFace, prevRightFace; + LineFaceRec firstFace; + int first; + int dashIndex, dashOffset; + int prevDashIndex; + SpanDataRec spanDataRec; + SpanDataPtr spanData; + Boolean somethingDrawn = FALSE; + Boolean selfJoin; + Boolean endIsFg = FALSE, startIsFg = FALSE; + Boolean firstIsFg = FALSE, prevIsFg = FALSE; + + if (npt == 0) + return; + spanData = miSetupSpanData (pGC, &spanDataRec, npt); + x2 = pPts->x; + y2 = pPts->y; + first = TRUE; + selfJoin = FALSE; + if (mode == CoordModePrevious) { + int nptTmp; + DDXPointPtr pPtsTmp; + + x1 = x2; + y1 = y2; + nptTmp = npt; + pPtsTmp = pPts + 1; + while (--nptTmp) { + x1 += pPtsTmp->x; + y1 += pPtsTmp->y; + ++pPtsTmp; + } + if (x2 == x1 && y2 == y1) + selfJoin = TRUE; + } else if (x2 == pPts[npt - 1].x && y2 == pPts[npt - 1].y) { + selfJoin = TRUE; + } + projectLeft = pGC->capStyle == CapProjecting && !selfJoin; + projectRight = FALSE; + dashIndex = 0; + dashOffset = 0; + miStepDash ((int) pGC->dashOffset, &dashIndex, + pGC->dash, (int) pGC->numInDashList, &dashOffset); + while (--npt) { + x1 = x2; + y1 = y2; + ++pPts; + x2 = pPts->x; + y2 = pPts->y; + if (mode == CoordModePrevious) { + x2 += x1; + y2 += y1; + } + if (x1 != x2 || y1 != y2) { + somethingDrawn = TRUE; + if (npt == 1 && pGC->capStyle == CapProjecting && (!selfJoin || !firstIsFg)) + projectRight = TRUE; + prevDashIndex = dashIndex; + miWideDashSegment (pGC, spanData, &dashOffset, &dashIndex, + x1, y1, x2, y2, projectLeft, projectRight, &leftFace, &rightFace); + startIsFg = !(prevDashIndex & 1); + endIsFg = (dashIndex & 1) ^ (dashOffset != 0); + if (pGC->lineStyle == LineDoubleDash || startIsFg) { + foreground = startIsFg; + if (first || (pGC->lineStyle == LineOnOffDash && !prevIsFg)) { + if (first && selfJoin) { + firstFace = leftFace; + firstIsFg = startIsFg; + } else if (pGC->capStyle == CapRound) + miLineArc (pGC, foreground, spanData, + &leftFace, (LineFacePtr) NULL, (double) 0.0, (double) 0.0, TRUE); + } else { + miLineJoin (pGC, foreground, spanData, &leftFace, &prevRightFace); + } + } + prevRightFace = rightFace; + prevIsFg = endIsFg; + first = FALSE; + projectLeft = FALSE; + } + if (npt == 1 && somethingDrawn) { + if (pGC->lineStyle == LineDoubleDash || endIsFg) { + foreground = endIsFg; + if (selfJoin && (pGC->lineStyle == LineDoubleDash || firstIsFg)) { + miLineJoin (pGC, foreground, spanData, &firstFace, &rightFace); + } else { + if (pGC->capStyle == CapRound) + miLineArc (pGC, foreground, spanData, + (LineFacePtr) NULL, &rightFace, + (double) 0.0, (double) 0.0, TRUE); + } + } else { + /* glue a cap to the start of the line if + * we're OnOffDash and ended on odd dash + */ + if (selfJoin && firstIsFg) { + foreground = TRUE; + if (pGC->capStyle == CapProjecting) + miLineProjectingCap (pGC, foreground, spanData, + &firstFace, TRUE, (double) 0.0, (double) 0.0, TRUE); + else if (pGC->capStyle == CapRound) + miLineArc (pGC, foreground, spanData, + &firstFace, (LineFacePtr) NULL, + (double) 0.0, (double) 0.0, TRUE); + } + } + } + } + /* handle crock where all points are coincident */ + if (!somethingDrawn && (pGC->lineStyle == LineDoubleDash || !(dashIndex & 1))) { + /* not the same as endIsFg computation above */ + foreground = (dashIndex & 1) == 0; + switch (pGC->capStyle) { + case CapRound: + miLineArc (pGC, foreground, spanData, + (LineFacePtr) NULL, (LineFacePtr) NULL, (double) x2, (double) y2, FALSE); + break; + case CapProjecting: + x1 = pGC->lineWidth; + miFillRectPolyHelper (pGC, foreground, spanData, + x2 - (x1 >> 1), y2 - (x1 >> 1), x1, x1); + break; + } + } + if (spanData) + miCleanupSpanData (pGC, spanData); +} + +#undef ExchangeSpans +#define ExchangeSpans(a, b) \ +{ \ + DDXPointRec tpt; \ + int tw; \ + \ + tpt = spans[a]; spans[a] = spans[b]; spans[b] = tpt; \ + tw = widths[a]; widths[a] = widths[b]; widths[b] = tw; \ +} + +static void QuickSortSpans( + DDXPointRec spans[], + int widths[], + int numSpans) +{ + int y; + int i, j, m; + DDXPointPtr r; + + /* Always called with numSpans > 1 */ + /* Sorts only by y, doesn't bother to sort by x */ + + do + { + if (numSpans < 9) + { + /* Do insertion sort */ + int yprev; + + yprev = spans[0].y; + i = 1; + do + { /* while i != numSpans */ + y = spans[i].y; + if (yprev > y) + { + /* spans[i] is out of order. Move into proper location. */ + DDXPointRec tpt; + int tw, k; + + for (j = 0; y >= spans[j].y; j++) {} + tpt = spans[i]; + tw = widths[i]; + for (k = i; k != j; k--) + { + spans[k] = spans[k-1]; + widths[k] = widths[k-1]; + } + spans[j] = tpt; + widths[j] = tw; + y = spans[i].y; + } /* if out of order */ + yprev = y; + i++; + } while (i != numSpans); + return; + } + + /* Choose partition element, stick in location 0 */ + m = numSpans / 2; + if (spans[m].y > spans[0].y) ExchangeSpans(m, 0); + if (spans[m].y > spans[numSpans-1].y) ExchangeSpans(m, numSpans-1); + if (spans[m].y > spans[0].y) ExchangeSpans(m, 0); + y = spans[0].y; + + /* Partition array */ + i = 0; + j = numSpans; + do + { + r = &(spans[i]); + do + { + r++; + i++; + } while (i != numSpans && r->y < y); + r = &(spans[j]); + do + { + r--; + j--; + } while (y < r->y); + if (i < j) + ExchangeSpans(i, j); + } while (i < j); + + /* Move partition element back to middle */ + ExchangeSpans(0, j); + + /* Recurse */ + if (numSpans-j-1 > 1) + QuickSortSpans(&spans[j+1], &widths[j+1], numSpans-j-1); + numSpans = j; + } while (numSpans > 1); +} + +#define NextBand() \ +{ \ + clipy1 = pboxBandStart->y1; \ + clipy2 = pboxBandStart->y2; \ + pboxBandEnd = pboxBandStart + 1; \ + while (pboxBandEnd != pboxLast && pboxBandEnd->y1 == clipy1) { \ + pboxBandEnd++; \ + } \ + for (; ppt != pptLast && ppt->y < clipy1; ppt++, pwidth++) {} \ +} + +/* + Clip a list of scanlines to a region. The caller has allocated the + space. FSorted is non-zero if the scanline origins are in ascending + order. + returns the number of new, clipped scanlines. +*/ + +int spice_canvas_clip_spans(pixman_region32_t *prgnDst, + DDXPointPtr ppt, + int *pwidth, + int nspans, + DDXPointPtr pptNew, + int *pwidthNew, + int fSorted) +{ + DDXPointPtr pptLast; + int *pwidthNewStart; /* the vengeance of Xerox! */ + int y, x1, x2; + int numRects; + pixman_box32_t *pboxBandStart; + + pptLast = ppt + nspans; + pwidthNewStart = pwidthNew; + + pboxBandStart = pixman_region32_rectangles (prgnDst, &numRects); + + if (numRects == 1) { + /* Do special fast code with clip boundaries in registers(?) */ + /* It doesn't pay much to make use of fSorted in this case, + so we lump everything together. */ + + int clipx1, clipx2, clipy1, clipy2; + + clipx1 = pboxBandStart->x1; + clipy1 = pboxBandStart->y1; + clipx2 = pboxBandStart->x2; + clipy2 = pboxBandStart->y2; + + for (; ppt != pptLast; ppt++, pwidth++) { + y = ppt->y; + x1 = ppt->x; + if (clipy1 <= y && y < clipy2) { + x2 = x1 + *pwidth; + if (x1 < clipx1) + x1 = clipx1; + if (x2 > clipx2) + x2 = clipx2; + if (x1 < x2) { + /* part of span in clip rectangle */ + pptNew->x = x1; + pptNew->y = y; + *pwidthNew = x2 - x1; + pptNew++; + pwidthNew++; + } + } + } /* end for */ + } else if (numRects != 0) { + /* Have to clip against many boxes */ + pixman_box32_t *pboxBandEnd, *pbox, *pboxLast; + int clipy1, clipy2; + + /* In this case, taking advantage of sorted spans gains more than + the sorting costs. */ + if ((! fSorted) && (nspans > 1)) + QuickSortSpans(ppt, pwidth, nspans); + + pboxLast = pboxBandStart + numRects; + + NextBand(); + + for (; ppt != pptLast; ) { + y = ppt->y; + if (y < clipy2) { + /* span is in the current band */ + pbox = pboxBandStart; + x1 = ppt->x; + x2 = x1 + *pwidth; + do { /* For each box in band */ + int newx1, newx2; + + newx1 = x1; + newx2 = x2; + if (newx1 < pbox->x1) + newx1 = pbox->x1; + if (newx2 > pbox->x2) + newx2 = pbox->x2; + if (newx1 < newx2) { + /* Part of span in clip rectangle */ + pptNew->x = newx1; + pptNew->y = y; + *pwidthNew = newx2 - newx1; + pptNew++; + pwidthNew++; + } + pbox++; + } while (pbox != pboxBandEnd); + ppt++; + pwidth++; + } else { + /* Move to next band, adjust ppt as needed */ + pboxBandStart = pboxBandEnd; + if (pboxBandStart == pboxLast) + break; /* We're completely done */ + NextBand(); + } + } + } + return (pwidthNew - pwidthNewStart); +} diff --git a/tizen/distrib/remote/common/spice-common/common/lines.h b/tizen/distrib/remote/common/spice-common/common/lines.h new file mode 100644 index 0000000..d98686f --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/lines.h @@ -0,0 +1,136 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/*********************************************************** + +Copyright 1987, 1998 The Open Group + +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation. + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of The Open Group shall not be +used in advertising or otherwise to promote the sale, use or other dealings +in this Software without prior written authorization from The Open Group. + + +Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts. + + All Rights Reserved + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name of Digital not be +used in advertising or publicity pertaining to distribution of the +software without specific, written prior permission. + +DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING +ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL +DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR +ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, +WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, +ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS +SOFTWARE. + +******************************************************************/ + +#ifndef LINES_H +#define LINES_H + +#include <stdlib.h> +#include <string.h> +#include <spice/macros.h> + +#include "pixman_utils.h" +#include "draw.h" + +SPICE_BEGIN_DECLS + +typedef struct lineGC lineGC; + +typedef struct { + void (*FillSpans)(lineGC * pGC, + int num_spans, SpicePoint * points, int *widths, + int sorted, int foreground); + void (*FillRects)(lineGC * pGC, + int nun_rects, pixman_rectangle32_t * rects, + int foreground); +} lineGCOps; + +struct lineGC { + int width; + int height; + unsigned char alu; + unsigned short lineWidth; + unsigned short dashOffset; + unsigned short numInDashList; + unsigned char *dash; + unsigned int lineStyle:2; + unsigned int capStyle:2; + unsigned int joinStyle:2; + lineGCOps *ops; +}; + +/* CoordinateMode for drawing routines */ + +#define CoordModeOrigin 0 /* relative to the origin */ +#define CoordModePrevious 1 /* relative to previous point */ + +/* LineStyle */ + +#define LineSolid 0 +#define LineOnOffDash 1 +#define LineDoubleDash 2 + +/* capStyle */ + +#define CapNotLast 0 +#define CapButt 1 +#define CapRound 2 +#define CapProjecting 3 + +/* joinStyle */ + +#define JoinMiter 0 +#define JoinRound 1 +#define JoinBevel 2 + +extern void spice_canvas_zero_line(lineGC *pgc, + int mode, + int num_points, + SpicePoint * points); +extern void spice_canvas_zero_dash_line(lineGC * pgc, + int mode, + int n_points, + SpicePoint * points); +extern void spice_canvas_wide_dash_line(lineGC * pGC, + int mode, + int num_points, + SpicePoint * points); +extern void spice_canvas_wide_line(lineGC *pGC, + int mode, + int num_points, + SpicePoint * points); +extern int spice_canvas_clip_spans(pixman_region32_t *clip_region, + SpicePoint *points, + int *widths, + int num_spans, + SpicePoint *new_points, + int *new_widths, + int sorted); + +SPICE_END_DECLS + +#endif /* LINES_H */ diff --git a/tizen/distrib/remote/common/spice-common/common/log.c b/tizen/distrib/remote/common/spice-common/common/log.c new file mode 100644 index 0000000..5e2db4c --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/log.c @@ -0,0 +1,125 @@ +/* + Copyright (C) 2012 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <stdlib.h> +#include <stdio.h> +#include <sys/types.h> +#ifndef _MSC_VER +#include <unistd.h> +#endif + +#include "log.h" +#include "backtrace.h" + +static int debug_level = -1; +static int abort_level = -1; + +static const char * spice_log_level_to_string(SpiceLogLevel level) +{ +#ifdef _MSC_VER + /* MSVC++ does not implement C99 */ + static const char *to_string[] = { + "ERROR", + "CRITICAL", + "Warning", + "Info", + "Debug"}; +#else + static const char *to_string[] = { + [ SPICE_LOG_LEVEL_ERROR ] = "ERROR", + [ SPICE_LOG_LEVEL_CRITICAL ] = "CRITICAL", + [ SPICE_LOG_LEVEL_WARNING ] = "Warning", + [ SPICE_LOG_LEVEL_INFO ] = "Info", + [ SPICE_LOG_LEVEL_DEBUG ] = "Debug", + }; +#endif + const char *str = NULL; + + if (level < SPICE_N_ELEMENTS(to_string)) { + str = to_string[level]; + } + + return str; +} + +#ifndef SPICE_ABORT_LEVEL_DEFAULT +#ifdef SPICE_DISABLE_ABORT +#define SPICE_ABORT_LEVEL_DEFAULT -1 +#else +#define SPICE_ABORT_LEVEL_DEFAULT SPICE_LOG_LEVEL_CRITICAL +#endif +#endif + +void spice_logv(const char *log_domain, + SpiceLogLevel log_level, + const char *strloc, + const char *function, + const char *format, + va_list args) +{ + const char *level = spice_log_level_to_string(log_level); + + if (debug_level == -1) { + debug_level = getenv("SPICE_DEBUG_LEVEL") ? atoi(getenv("SPICE_DEBUG_LEVEL")) : SPICE_LOG_LEVEL_WARNING; + } + if (abort_level == -1) { + abort_level = getenv("SPICE_ABORT_LEVEL") ? atoi(getenv("SPICE_ABORT_LEVEL")) : SPICE_ABORT_LEVEL_DEFAULT; + } + + if (debug_level < log_level) + return; + + fprintf(stderr, "(%s:%d): ", getenv("_"), getpid()); + + if (log_domain) { + fprintf(stderr, "%s-", log_domain); + } + if (level) { + fprintf(stderr, "%s **: ", level); + } + if (strloc && function) { + fprintf(stderr, "%s:%s: ", strloc, function); + } + if (format) { + vfprintf(stderr, format, args); + } + + fprintf(stderr, "\n"); + + if (abort_level != -1 && abort_level >= log_level) { + spice_backtrace(); + abort(); + } +} + +void spice_log(const char *log_domain, + SpiceLogLevel log_level, + const char *strloc, + const char *function, + const char *format, + ...) +{ + va_list args; + + va_start (args, format); + spice_logv (log_domain, log_level, strloc, function, format, args); + va_end (args); +} diff --git a/tizen/distrib/remote/common/spice-common/common/log.h b/tizen/distrib/remote/common/spice-common/common/log.h new file mode 100644 index 0000000..d9e6023 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/log.h @@ -0,0 +1,151 @@ +/* + Copyright (C) 2012 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef H_SPICE_LOG +#define H_SPICE_LOG + +#include <spice/macros.h> +#include <stdarg.h> +#include "macros.h" + +SPICE_BEGIN_DECLS + +#ifndef SPICE_LOG_DOMAIN +#define SPICE_LOG_DOMAIN "Spice" +#endif + +#define SPICE_STRINGIFY(x) SPICE_STRINGIFY_ARG (x) +#define SPICE_STRINGIFY_ARG(x) #x + +#define SPICE_STRLOC __FILE__ ":" SPICE_STRINGIFY (__LINE__) + +typedef enum { + SPICE_LOG_LEVEL_ERROR, + SPICE_LOG_LEVEL_CRITICAL, + SPICE_LOG_LEVEL_WARNING, + SPICE_LOG_LEVEL_INFO, + SPICE_LOG_LEVEL_DEBUG, +} SpiceLogLevel; + +void spice_logv(const char *log_domain, + SpiceLogLevel log_level, + const char *strloc, + const char *function, + const char *format, + va_list args) SPICE_ATTR_PRINTF(5, 0); + +void spice_log(const char *log_domain, + SpiceLogLevel log_level, + const char *strloc, + const char *function, + const char *format, + ...) SPICE_ATTR_PRINTF(5, 6); + +#ifndef spice_return_if_fail +#define spice_return_if_fail(x) SPICE_STMT_START { \ + if SPICE_LIKELY(x) { } else { \ + spice_log(SPICE_LOG_DOMAIN, SPICE_LOG_LEVEL_CRITICAL, SPICE_STRLOC, __FUNCTION__, "condition `%s' failed", #x); \ + return; \ + } \ +} SPICE_STMT_END +#endif + +#ifndef spice_return_val_if_fail +#define spice_return_val_if_fail(x, val) SPICE_STMT_START { \ + if SPICE_LIKELY(x) { } else { \ + spice_log(SPICE_LOG_DOMAIN, SPICE_LOG_LEVEL_CRITICAL, SPICE_STRLOC, __FUNCTION__, "condition `%s' failed", #x); \ + return (val); \ + } \ +} SPICE_STMT_END +#endif + +#ifndef spice_warn_if_reached +#define spice_warn_if_reached() SPICE_STMT_START { \ + spice_log(SPICE_LOG_DOMAIN, SPICE_LOG_LEVEL_WARNING, SPICE_STRLOC, __FUNCTION__, "should not be reached"); \ +} SPICE_STMT_END +#endif + +#ifndef spice_printerr +#define spice_printerr(format, ...) SPICE_STMT_START { \ + fprintf(stderr, "%s: " format "\n", __FUNCTION__, ## __VA_ARGS__); \ +} SPICE_STMT_END +#endif + +#ifndef spice_info +#define spice_info(format, ...) SPICE_STMT_START { \ + spice_log(SPICE_LOG_DOMAIN, SPICE_LOG_LEVEL_INFO, SPICE_STRLOC, __FUNCTION__, format, ## __VA_ARGS__); \ +} SPICE_STMT_END +#endif + +#ifndef spice_debug +#define spice_debug(format, ...) SPICE_STMT_START { \ + spice_log(SPICE_LOG_DOMAIN, SPICE_LOG_LEVEL_DEBUG, SPICE_STRLOC, __FUNCTION__, format, ## __VA_ARGS__); \ +} SPICE_STMT_END +#endif + +#ifndef spice_warning +#define spice_warning(format, ...) SPICE_STMT_START { \ + spice_log(SPICE_LOG_DOMAIN, SPICE_LOG_LEVEL_WARNING, SPICE_STRLOC, __FUNCTION__, format, ## __VA_ARGS__); \ +} SPICE_STMT_END +#endif + +#ifndef spice_critical +#define spice_critical(format, ...) SPICE_STMT_START { \ + spice_log(SPICE_LOG_DOMAIN, SPICE_LOG_LEVEL_CRITICAL, SPICE_STRLOC, __FUNCTION__, format, ## __VA_ARGS__); \ +} SPICE_STMT_END +#endif + +#ifndef spice_error +#define spice_error(format, ...) SPICE_STMT_START { \ + spice_log(SPICE_LOG_DOMAIN, SPICE_LOG_LEVEL_ERROR, SPICE_STRLOC, __FUNCTION__, format, ## __VA_ARGS__); \ +} SPICE_STMT_END +#endif + +#ifndef spice_warn_if_fail +#define spice_warn_if_fail(x) SPICE_STMT_START { \ + if SPICE_LIKELY(x) { } else { \ + spice_warning("condition `%s' failed", #x); \ + } \ +} SPICE_STMT_END +#endif + +#ifndef spice_warn_if +#define spice_warn_if(x) SPICE_STMT_START { \ + if SPICE_UNLIKELY(x) { \ + spice_warning("condition `%s' reached", #x); \ + } \ +} SPICE_STMT_END +#endif + +#ifndef spice_assert +#define spice_assert(x) SPICE_STMT_START { \ + if SPICE_LIKELY(x) { } else { \ + spice_error("assertion `%s' failed", #x); \ + } \ +} SPICE_STMT_END +#endif + +/* FIXME: improve that some day.. */ +#ifndef spice_static_assert +#define spice_static_assert(x) SPICE_STMT_START { \ + spice_assert(x); \ +} SPICE_STMT_END +#endif + +SPICE_END_DECLS + +#endif /* H_SPICE_LOG */ diff --git a/tizen/distrib/remote/common/spice-common/common/lz.c b/tizen/distrib/remote/common/spice-common/common/lz.c new file mode 100644 index 0000000..aca3a16 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/lz.c @@ -0,0 +1,752 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + + Copyright (C) 2009 Red Hat, Inc. and/or its affiliates. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. + + This file incorporates work covered by the following copyright and + permission notice: + Copyright (C) 2007 Ariya Hidayat (ariya@kde.org) + Copyright (C) 2006 Ariya Hidayat (ariya@kde.org) + Copyright (C) 2005 Ariya Hidayat (ariya@kde.org) + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, copy, + modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "spice_common.h" +#include "lz.h" + +#define HASH_LOG 13 +#define HASH_SIZE (1 << HASH_LOG) +#define HASH_MASK (HASH_SIZE - 1) + + +typedef struct LzImageSegment LzImageSegment; +struct LzImageSegment { + uint8_t *lines; + uint8_t *lines_end; + unsigned int size_delta; // total size of the previous segments in units of + // pixels for rgb and bytes for plt. + LzImageSegment *next; +}; + +// TODO: pack? +typedef struct HashEntry { + LzImageSegment *image_seg; + uint8_t *ref; +} HashEntry; + +typedef struct Encoder { + LzUsrContext *usr; + + LzImageType type; + const SpicePalette *palette; // for decoding images with palettes to rgb + int stride; // stride is in bytes. For rgb must be equal to + // width*bytes_per_pix. + // For palettes stride can be bigger than width/pixels_per_byte by 1 only if + // width%pixels_per_byte != 0. + int height; + int width; // the original width (in pixels) + + LzImageSegment *head_image_segs; + LzImageSegment *tail_image_segs; + LzImageSegment *free_image_segs; + + // the dictionary hash table is composed (1) a pointer to the segment the word was found in + // (2) a pointer to the first byte in the segment that matches the word + HashEntry htab[HASH_SIZE]; + + uint8_t *io_start; + uint8_t *io_now; + uint8_t *io_end; + size_t io_bytes_count; + + uint8_t *io_last_copy; // pointer to the last byte in which copy count was written +} Encoder; + +/****************************************************/ +/* functions for managing the pool of image segments*/ +/****************************************************/ +static INLINE LzImageSegment *lz_alloc_image_seg(Encoder *encoder); +static void lz_reset_image_seg(Encoder *encoder); +static int lz_read_image_segments(Encoder *encoder, uint8_t *first_lines, + unsigned int num_first_lines); + + +// return a free image segment if one exists. Make allocation if needed. adds it to the +// tail of the image segments lists +static INLINE LzImageSegment *lz_alloc_image_seg(Encoder *encoder) +{ + LzImageSegment *ret; + + if (encoder->free_image_segs) { + ret = encoder->free_image_segs; + encoder->free_image_segs = ret->next; + } else { + if (!(ret = (LzImageSegment *)encoder->usr->malloc(encoder->usr, sizeof(*ret)))) { + return NULL; + } + } + + ret->next = NULL; + if (encoder->tail_image_segs) { + encoder->tail_image_segs->next = ret; + } + encoder->tail_image_segs = ret; + + if (!encoder->head_image_segs) { + encoder->head_image_segs = ret; + } + + return ret; +} + +// adding seg to the head of free segments (lz_reset_image_seg removes it from used ones) +static INLINE void __lz_free_image_seg(Encoder *encoder, LzImageSegment *seg) +{ + seg->next = encoder->free_image_segs; + encoder->free_image_segs = seg; +} + +// moves all the used image segments to the free pool +static void lz_reset_image_seg(Encoder *encoder) +{ + while (encoder->head_image_segs) { + LzImageSegment *seg = encoder->head_image_segs; + encoder->head_image_segs = seg->next; + __lz_free_image_seg(encoder, seg); + } + encoder->tail_image_segs = NULL; +} + +static void lz_dealloc_free_segments(Encoder *encoder) +{ + while (encoder->free_image_segs) { + LzImageSegment *seg = encoder->free_image_segs; + encoder->free_image_segs = seg->next; + encoder->usr->free(encoder->usr, seg); + } +} + +// return FALSE when operation fails (due to failure in allocation) +static int lz_read_image_segments(Encoder *encoder, uint8_t *first_lines, + unsigned int num_first_lines) +{ + LzImageSegment *image_seg; + uint32_t size_delta = 0; + unsigned int num_lines = num_first_lines; + uint8_t* lines = first_lines; + int row; + + spice_return_val_if_fail(!encoder->head_image_segs, FALSE); + + image_seg = lz_alloc_image_seg(encoder); + if (!image_seg) { + goto error_1; + } + + image_seg->lines = lines; + image_seg->lines_end = lines + num_lines * encoder->stride; + image_seg->size_delta = size_delta; + + size_delta += num_lines * encoder->stride / RGB_BYTES_PER_PIXEL[encoder->type]; + + for (row = num_first_lines; row < encoder->height; row += num_lines) { + num_lines = encoder->usr->more_lines(encoder->usr, &lines); + if (num_lines <= 0) { + encoder->usr->error(encoder->usr, "more lines failed\n"); + } + image_seg = lz_alloc_image_seg(encoder); + + if (!image_seg) { + goto error_1; + } + + image_seg->lines = lines; + image_seg->lines_end = lines + num_lines * encoder->stride; + image_seg->size_delta = size_delta; + + size_delta += num_lines * encoder->stride / RGB_BYTES_PER_PIXEL[encoder->type]; + } + + return TRUE; +error_1: + lz_reset_image_seg(encoder); + return FALSE; +} + +/************************************************************************** +* Handling encoding and decoding of a byte +***************************************************************************/ +static INLINE int more_io_bytes(Encoder *encoder) +{ + uint8_t *io_ptr; + int num_io_bytes = encoder->usr->more_space(encoder->usr, &io_ptr); + encoder->io_bytes_count += num_io_bytes; + encoder->io_now = io_ptr; + encoder->io_end = encoder->io_now + num_io_bytes; + return num_io_bytes; +} + +static INLINE void encode(Encoder *encoder, uint8_t byte) +{ + if (encoder->io_now == encoder->io_end) { + if (more_io_bytes(encoder) <= 0) { + encoder->usr->error(encoder->usr, "%s: no more bytes\n", __FUNCTION__); + } + spice_return_if_fail(encoder->io_now); + } + + spice_return_if_fail(encoder->io_now < encoder->io_end); + *(encoder->io_now++) = byte; +} + +static INLINE void encode_32(Encoder *encoder, unsigned int word) +{ + encode(encoder, (uint8_t)(word >> 24)); + encode(encoder, (uint8_t)(word >> 16) & 0x0000ff); + encode(encoder, (uint8_t)(word >> 8) & 0x0000ff); + encode(encoder, (uint8_t)(word & 0x0000ff)); +} + +static INLINE void encode_copy_count(Encoder *encoder, uint8_t copy_count) +{ + encode(encoder, copy_count); + encoder->io_last_copy = encoder->io_now - 1; // io_now cannot be the first byte of the buffer +} + +static INLINE void update_copy_count(Encoder *encoder, uint8_t copy_count) +{ + spice_return_if_fail(encoder->io_last_copy); + *(encoder->io_last_copy) = copy_count; +} + +static INLINE void encode_level(Encoder *encoder, uint8_t level_code) +{ + *(encoder->io_start) |= level_code; +} + +// decrease the io ptr by 1 +static INLINE void compress_output_prev(Encoder *encoder) +{ + // io_now cannot be the first byte of the buffer + encoder->io_now--; + // the function should be called only when copy count is written unnecessarily by lz_compress + spice_return_if_fail(encoder->io_now == encoder->io_last_copy); +} + +static int encoder_reset(Encoder *encoder, uint8_t *io_ptr, uint8_t *io_ptr_end) +{ + spice_return_val_if_fail(io_ptr <= io_ptr_end, FALSE); + + encoder->io_bytes_count = io_ptr_end - io_ptr; + encoder->io_start = io_ptr; + encoder->io_now = io_ptr; + encoder->io_end = io_ptr_end; + encoder->io_last_copy = NULL; + + return TRUE; +} + +static INLINE uint8_t decode(Encoder *encoder) +{ + if (encoder->io_now == encoder->io_end) { + int num_io_bytes = more_io_bytes(encoder); + if (num_io_bytes <= 0) { + encoder->usr->error(encoder->usr, "%s: no more bytes\n", __FUNCTION__); + } + spice_assert(encoder->io_now); + } + spice_assert(encoder->io_now < encoder->io_end); + return *(encoder->io_now++); +} + +static INLINE uint32_t decode_32(Encoder *encoder) +{ + uint32_t word = 0; + word |= decode(encoder); + word <<= 8; + word |= decode(encoder); + word <<= 8; + word |= decode(encoder); + word <<= 8; + word |= decode(encoder); + return word; +} + +static INLINE int is_io_to_decode_end(Encoder *encoder) +{ + if (encoder->io_now != encoder->io_end) { + return FALSE; + } else { + int num_io_bytes = more_io_bytes(encoder); //disable inline optimizations + return (num_io_bytes <= 0); + } +} + +/******************************************************************* +* intialization and finalization of lz +********************************************************************/ +static int init_encoder(Encoder *encoder, LzUsrContext *usr) +{ + encoder->usr = usr; + encoder->free_image_segs = NULL; + encoder->head_image_segs = NULL; + encoder->tail_image_segs = NULL; + return TRUE; +} + +LzContext *lz_create(LzUsrContext *usr) +{ + Encoder *encoder; + + if (!usr || !usr->error || !usr->warn || !usr->info || !usr->malloc || + !usr->free || !usr->more_space || !usr->more_lines) { + return NULL; + } + + if (!(encoder = (Encoder *)usr->malloc(usr, sizeof(Encoder)))) { + return NULL; + } + + if (!init_encoder(encoder, usr)) { + usr->free(usr, encoder); + return NULL; + } + return (LzContext *)encoder; +} + +void lz_destroy(LzContext *lz) +{ + Encoder *encoder = (Encoder *)lz; + + if (!lz) { + return; + } + + if (encoder->head_image_segs) { + encoder->usr->error(encoder->usr, "%s: used_image_segments not empty\n", __FUNCTION__); + lz_reset_image_seg(encoder); + } + lz_dealloc_free_segments(encoder); + + encoder->usr->free(encoder->usr, encoder); +} + +/******************************************************************* +* encoding and decoding the image +********************************************************************/ +/* + * Give hints to the compiler for branch prediction optimization. + */ +#if defined(__GNUC__) && (__GNUC__ > 2) +#define LZ_EXPECT_CONDITIONAL(c) (__builtin_expect((c), 1)) +#define LZ_UNEXPECT_CONDITIONAL(c) (__builtin_expect((c), 0)) +#else +#define LZ_EXPECT_CONDITIONAL(c) (c) +#define LZ_UNEXPECT_CONDITIONAL(c) (c) +#endif + + +#ifdef __GNUC__ +#define ATTR_PACKED __attribute__ ((__packed__)) +#else +#define ATTR_PACKED +#pragma pack(push) +#pragma pack(1) +#endif + + +/* the palette images will be treated as one byte pixels. Their width should be transformed + accordingly. +*/ +typedef struct ATTR_PACKED one_byte_pixel_t { + uint8_t a; +} one_byte_pixel_t; + +typedef struct ATTR_PACKED rgb32_pixel_t { + uint8_t b; + uint8_t g; + uint8_t r; + uint8_t pad; +} rgb32_pixel_t; + +typedef struct ATTR_PACKED rgb24_pixel_t { + uint8_t b; + uint8_t g; + uint8_t r; +} rgb24_pixel_t; + +typedef uint16_t rgb16_pixel_t; + +#ifndef __GNUC__ +#pragma pack(pop) +#endif + +#undef ATTR_PACKED + + +#define MAX_COPY 32 +#define MAX_LEN 264 /* 256 + 8 */ +#define BOUND_OFFSET 2 +#define LIMIT_OFFSET 6 +#define MIN_FILE_SIZE 4 +#define COMP_LEVEL_SIZE_LIMIT 65536 + +// TODO: implemented lz2. should lz1 be an option (no RLE + distance limitation of MAX_DISTANCE) +// TODO: I think MAX_FARDISTANCE can be changed easily to 2^29 +// (and maybe even more when pixel > byte). +// i.e. we can support 512M Bytes/Pixels distance instead of only ~68K. +#define MAX_DISTANCE 8191 // 2^13 +#define MAX_FARDISTANCE (65535 + MAX_DISTANCE - 1) // ~2^16+2^13 + + +#define LZ_PLT +#include "lz_compress_tmpl.c" +#define LZ_PLT +#include "lz_decompress_tmpl.c" + +#define LZ_PLT +#define PLT8 +#define TO_RGB32 +#include "lz_decompress_tmpl.c" + +#define LZ_PLT +#define PLT4_BE +#define TO_RGB32 +#include "lz_decompress_tmpl.c" + +#define LZ_PLT +#define PLT4_LE +#define TO_RGB32 +#include "lz_decompress_tmpl.c" + +#define LZ_PLT +#define PLT1_BE +#define TO_RGB32 +#include "lz_decompress_tmpl.c" + +#define LZ_PLT +#define PLT1_LE +#define TO_RGB32 +#include "lz_decompress_tmpl.c" + +#define LZ_A8 +#include "lz_compress_tmpl.c" +#define LZ_A8 +#include "lz_decompress_tmpl.c" +#define LZ_A8 +#define TO_RGB32 +#include "lz_decompress_tmpl.c" + +#define LZ_RGB16 +#include "lz_compress_tmpl.c" +#define LZ_RGB16 +#include "lz_decompress_tmpl.c" +#define LZ_RGB16 +#define TO_RGB32 +#include "lz_decompress_tmpl.c" + +#define LZ_RGB24 +#include "lz_compress_tmpl.c" +#define LZ_RGB24 +#include "lz_decompress_tmpl.c" + + +#define LZ_RGB32 +#include "lz_compress_tmpl.c" +#define LZ_RGB32 +#include "lz_decompress_tmpl.c" + +#define LZ_RGB_ALPHA +#include "lz_compress_tmpl.c" +#define LZ_RGB_ALPHA +#include "lz_decompress_tmpl.c" + +#undef LZ_UNEXPECT_CONDITIONAL +#undef LZ_EXPECT_CONDITIONAL + +int lz_encode(LzContext *lz, LzImageType type, int width, int height, int top_down, + uint8_t *lines, unsigned int num_lines, int stride, + uint8_t *io_ptr, unsigned int num_io_bytes) +{ + Encoder *encoder = (Encoder *)lz; + uint8_t *io_ptr_end = io_ptr + num_io_bytes; + + encoder->type = type; + encoder->width = width; + encoder->height = height; + encoder->stride = stride; + + if (IS_IMAGE_TYPE_PLT[encoder->type]) { + if (encoder->stride > (width / PLT_PIXELS_PER_BYTE[encoder->type])) { + if (((width % PLT_PIXELS_PER_BYTE[encoder->type]) == 0) || ( + (encoder->stride - (width / PLT_PIXELS_PER_BYTE[encoder->type])) > 1)) { + encoder->usr->error(encoder->usr, "stride overflows (plt)\n"); + } + } + } else { + if (encoder->stride != width * RGB_BYTES_PER_PIXEL[encoder->type]) { + encoder->usr->error(encoder->usr, "stride != width*bytes_per_pixel (rgb) %d != %d * %d (%d)\n", + encoder->stride, width, RGB_BYTES_PER_PIXEL[encoder->type], + encoder->type); + } + } + + // assign the output buffer + if (!encoder_reset(encoder, io_ptr, io_ptr_end)) { + encoder->usr->error(encoder->usr, "lz encoder io reset failed\n"); + } + + // first read the list of the image segments + if (!lz_read_image_segments(encoder, lines, num_lines)) { + encoder->usr->error(encoder->usr, "lz encoder reading image segments failed\n"); + } + + encode_32(encoder, LZ_MAGIC); + encode_32(encoder, LZ_VERSION); + encode_32(encoder, type); + encode_32(encoder, width); + encode_32(encoder, height); + encode_32(encoder, stride); + encode_32(encoder, top_down); // TODO: maybe compress type and top_down to one byte + + switch (encoder->type) { + case LZ_IMAGE_TYPE_PLT1_BE: + case LZ_IMAGE_TYPE_PLT1_LE: + case LZ_IMAGE_TYPE_PLT4_BE: + case LZ_IMAGE_TYPE_PLT4_LE: + case LZ_IMAGE_TYPE_PLT8: + lz_plt_compress(encoder); + break; + case LZ_IMAGE_TYPE_RGB16: + lz_rgb16_compress(encoder); + break; + case LZ_IMAGE_TYPE_RGB24: + lz_rgb24_compress(encoder); + break; + case LZ_IMAGE_TYPE_RGB32: + lz_rgb32_compress(encoder); + break; + case LZ_IMAGE_TYPE_RGBA: + lz_rgb32_compress(encoder); + lz_rgb_alpha_compress(encoder); + break; + case LZ_IMAGE_TYPE_XXXA: + lz_rgb_alpha_compress(encoder); + break; + case LZ_IMAGE_TYPE_A8: + lz_a8_compress(encoder); + break; + case LZ_IMAGE_TYPE_INVALID: + default: + encoder->usr->error(encoder->usr, "bad image type\n"); + } + + // move all the used segments to the free ones + lz_reset_image_seg(encoder); + + encoder->io_bytes_count -= (encoder->io_end - encoder->io_now); + + return encoder->io_bytes_count; +} + +/* + initialize and read lz magic +*/ +void lz_decode_begin(LzContext *lz, uint8_t *io_ptr, unsigned int num_io_bytes, + LzImageType *out_type, int *out_width, int *out_height, + int *out_n_pixels, int *out_top_down, const SpicePalette *palette) +{ + Encoder *encoder = (Encoder *)lz; + uint8_t *io_ptr_end = io_ptr + num_io_bytes; + uint32_t magic; + uint32_t version; + + if (!encoder_reset(encoder, io_ptr, io_ptr_end)) { + encoder->usr->error(encoder->usr, "io reset failed"); + } + + magic = decode_32(encoder); + if (magic != LZ_MAGIC) { + encoder->usr->error(encoder->usr, "bad magic\n"); + } + + version = decode_32(encoder); + if (version != LZ_VERSION) { + encoder->usr->error(encoder->usr, "bad version\n"); + } + + encoder->type = (LzImageType)decode_32(encoder); + encoder->width = decode_32(encoder); + encoder->height = decode_32(encoder); + encoder->stride = decode_32(encoder); + *out_top_down = decode_32(encoder); + + *out_width = encoder->width; + *out_height = encoder->height; +// *out_stride = encoder->stride; + *out_type = encoder->type; + + // TODO: maybe instead of stride we can encode out_n_pixels + // (if stride is not necessary in decoding). + if (IS_IMAGE_TYPE_PLT[encoder->type]) { + encoder->palette = palette; + *out_n_pixels = encoder->stride * PLT_PIXELS_PER_BYTE[encoder->type] * encoder->height; + } else { + *out_n_pixels = encoder->width * encoder->height; + } +} + +void lz_decode(LzContext *lz, LzImageType to_type, uint8_t *buf) +{ + Encoder *encoder = (Encoder *)lz; + size_t out_size = 0; + size_t alpha_size = 0; + size_t size = 0; + if (IS_IMAGE_TYPE_PLT[encoder->type]) { + if (to_type == encoder->type) { + size = encoder->height * encoder->stride; + out_size = lz_plt_decompress(encoder, (one_byte_pixel_t *)buf, size); + } else if (to_type == LZ_IMAGE_TYPE_RGB32) { + size = encoder->height * encoder->stride * PLT_PIXELS_PER_BYTE[encoder->type]; + if (!encoder->palette) { + encoder->usr->error(encoder->usr, + "a palette is missing (for bpp to rgb decoding)\n"); + } + switch (encoder->type) { + case LZ_IMAGE_TYPE_PLT1_BE: + out_size = lz_plt1_be_to_rgb32_decompress(encoder, (rgb32_pixel_t *)buf, size); + break; + case LZ_IMAGE_TYPE_PLT1_LE: + out_size = lz_plt1_le_to_rgb32_decompress(encoder, (rgb32_pixel_t *)buf, size); + break; + case LZ_IMAGE_TYPE_PLT4_BE: + out_size = lz_plt4_be_to_rgb32_decompress(encoder, (rgb32_pixel_t *)buf, size); + break; + case LZ_IMAGE_TYPE_PLT4_LE: + out_size = lz_plt4_le_to_rgb32_decompress(encoder, (rgb32_pixel_t *)buf, size); + break; + case LZ_IMAGE_TYPE_PLT8: + out_size = lz_plt8_to_rgb32_decompress(encoder, (rgb32_pixel_t *)buf, size); + break; + case LZ_IMAGE_TYPE_RGB16: + case LZ_IMAGE_TYPE_RGB24: + case LZ_IMAGE_TYPE_RGB32: + case LZ_IMAGE_TYPE_RGBA: + case LZ_IMAGE_TYPE_XXXA: + case LZ_IMAGE_TYPE_INVALID: + default: + encoder->usr->error(encoder->usr, "bad image type\n"); + } + } else { + encoder->usr->error(encoder->usr, "unsupported output format\n"); + } + } else { + size = encoder->height * encoder->width; + switch (encoder->type) { + case LZ_IMAGE_TYPE_RGB16: + if (encoder->type == to_type) { + out_size = lz_rgb16_decompress(encoder, (rgb16_pixel_t *)buf, size); + } else if (to_type == LZ_IMAGE_TYPE_RGB32) { + out_size = lz_rgb16_to_rgb32_decompress(encoder, (rgb32_pixel_t *)buf, size); + } else { + encoder->usr->error(encoder->usr, "unsupported output format\n"); + } + break; + case LZ_IMAGE_TYPE_RGB24: + if (encoder->type == to_type) { + out_size = lz_rgb24_decompress(encoder, (rgb24_pixel_t *)buf, size); + } else if (to_type == LZ_IMAGE_TYPE_RGB32) { + out_size = lz_rgb32_decompress(encoder, (rgb32_pixel_t *)buf, size); + } else { + encoder->usr->error(encoder->usr, "unsupported output format\n"); + } + break; + case LZ_IMAGE_TYPE_RGB32: + if (encoder->type == to_type) { + out_size = lz_rgb32_decompress(encoder, (rgb32_pixel_t *)buf, size); + } else { + encoder->usr->error(encoder->usr, "unsupported output format\n"); + } + break; + case LZ_IMAGE_TYPE_RGBA: + if (encoder->type == to_type) { + out_size = lz_rgb32_decompress(encoder, (rgb32_pixel_t *)buf, size); + alpha_size = lz_rgb_alpha_decompress(encoder, (rgb32_pixel_t *)buf, size); + spice_assert(alpha_size == size); + } else { + encoder->usr->error(encoder->usr, "unsupported output format\n"); + } + break; + case LZ_IMAGE_TYPE_XXXA: + if (encoder->type == to_type) { + alpha_size = lz_rgb_alpha_decompress(encoder, (rgb32_pixel_t *)buf, size); + out_size = alpha_size; + } else { + encoder->usr->error(encoder->usr, "unsupported output format\n"); + } + break; + case LZ_IMAGE_TYPE_A8: + if (encoder->type == to_type) { + alpha_size = lz_a8_decompress(encoder, (one_byte_pixel_t *)buf, size); + out_size = alpha_size; + } else if (to_type == LZ_IMAGE_TYPE_RGB32) { + alpha_size = lz_a8_to_rgb32_decompress(encoder, (rgb32_pixel_t *)buf, size); + out_size = alpha_size; + } else { + encoder->usr->error(encoder->usr, "unsupported output format\n"); + } + break; + case LZ_IMAGE_TYPE_PLT1_LE: + case LZ_IMAGE_TYPE_PLT1_BE: + case LZ_IMAGE_TYPE_PLT4_LE: + case LZ_IMAGE_TYPE_PLT4_BE: + case LZ_IMAGE_TYPE_PLT8: + case LZ_IMAGE_TYPE_INVALID: + default: + encoder->usr->error(encoder->usr, "bad image type\n"); + } + } + + spice_assert(is_io_to_decode_end(encoder)); + spice_assert(out_size == size); + + if (out_size != size) { + encoder->usr->error(encoder->usr, "bad decode size\n"); + } +} diff --git a/tizen/distrib/remote/common/spice-common/common/lz.h b/tizen/distrib/remote/common/spice-common/common/lz.h new file mode 100644 index 0000000..21ba1fa --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/lz.h @@ -0,0 +1,81 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + dictionary compression for images based on fastlz (http://www.fastlz.org/) + (Distributed under MIT license). +*/ +#ifndef __LZ_H +#define __LZ_H + +#include <spice/macros.h> + +#include "lz_common.h" +#include "lz_config.h" +#include "draw.h" +#include "macros.h" + +SPICE_BEGIN_DECLS + +typedef void *LzContext; + +typedef struct LzUsrContext LzUsrContext; +struct LzUsrContext { + SPICE_ATTR_PRINTF(2, 3) void (*error)(LzUsrContext *usr, const char *fmt, ...); + SPICE_ATTR_PRINTF(2, 3) void (*warn)(LzUsrContext *usr, const char *fmt, ...); + SPICE_ATTR_PRINTF(2, 3) void (*info)(LzUsrContext *usr, const char *fmt, ...); + void *(*malloc)(LzUsrContext *usr, int size); + void (*free)(LzUsrContext *usr, void *ptr); + int (*more_space)(LzUsrContext *usr, uint8_t **io_ptr); // get the next chunk of the + // compressed buffer. return + // number of bytes in the chunk. + int (*more_lines)(LzUsrContext *usr, uint8_t **lines); // get the next chunk of the + // original image. If the image + // is down to top, return it from + // the last line to the first one + // (stride should always be + // positive) +}; + +/* + assumes width is in pixels and stride is in bytes + return: the number of bytes in the compressed data + + TODO : determine size limit for the first segment and each chunk. check validity + of the segment or go to literal copy. + TODO : currently support only rgb images in which width*bytes_per_pixel = stride OR + palette images in which stride equals the min number of bytes to + hold a line. stride is not necessary for now. just for sanity check. + stride should be > 0 +*/ +int lz_encode(LzContext *lz, LzImageType type, int width, int height, int top_down, + uint8_t *lines, unsigned int num_lines, int stride, + uint8_t *io_ptr, unsigned int num_io_bytes); + +/* + prepare encoder and read lz magic. + out_n_pixels number of compressed pixels. May differ from Width*height in plt1/4. + Use it for allocation the decompressed buffer. + +*/ +void lz_decode_begin(LzContext *lz, uint8_t *io_ptr, unsigned int num_io_bytes, + LzImageType *out_type, int *out_width, int *out_height, + int *out_n_pixels, int *out_top_down, const SpicePalette *palette); + +/* + to_type = the image output type. + We assume the buffer is consecutive. i.e. width = stride + + Important: if the image is plt1/4 and to_type is rgb32, the image + will decompressed including the last bits in each line. This means buffer should be + larger than width*height if needed and you should use stride to fix it. + Note: If the image is down to top, set the stride in the sw surface to negative. + use alloc_lz_image_surface create the surface. +*/ +void lz_decode(LzContext *lz, LzImageType to_type, uint8_t *buf); + +LzContext *lz_create(LzUsrContext *usr); + +void lz_destroy(LzContext *lz); + +SPICE_END_DECLS + +#endif // __LZ_H diff --git a/tizen/distrib/remote/common/spice-common/common/lz_common.h b/tizen/distrib/remote/common/spice-common/common/lz_common.h new file mode 100644 index 0000000..8d4861b --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/lz_common.h @@ -0,0 +1,73 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +/*common header for encoder and decoder*/ + +#ifndef _LZ_COMMON_H +#define _LZ_COMMON_H + +#include <spice/macros.h> +#include "verify.h" + +SPICE_BEGIN_DECLS + +//#define DEBUG + +/* change the max window size will require change in the encoding format*/ +#define LZ_MAX_WINDOW_SIZE (1 << 25) +#define MAX_COPY 32 + +typedef enum { + LZ_IMAGE_TYPE_INVALID, + LZ_IMAGE_TYPE_PLT1_LE, + LZ_IMAGE_TYPE_PLT1_BE, // PLT stands for palette + LZ_IMAGE_TYPE_PLT4_LE, + LZ_IMAGE_TYPE_PLT4_BE, + LZ_IMAGE_TYPE_PLT8, + LZ_IMAGE_TYPE_RGB16, + LZ_IMAGE_TYPE_RGB24, + LZ_IMAGE_TYPE_RGB32, + LZ_IMAGE_TYPE_RGBA, + LZ_IMAGE_TYPE_XXXA, + LZ_IMAGE_TYPE_A8 +} LzImageType; + +#define LZ_IMAGE_TYPE_MASK 0x0f +#define LZ_IMAGE_TYPE_LOG 4 // number of bits required for coding the image type + +/* access to the arrays is based on the image types */ +static const int IS_IMAGE_TYPE_PLT[] = {0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0}; +static const int IS_IMAGE_TYPE_RGB[] = {0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1}; +static const int PLT_PIXELS_PER_BYTE[] = {0, 8, 8, 2, 2, 1}; +static const int RGB_BYTES_PER_PIXEL[] = {0, 1, 1, 1, 1, 1, 2, 3, 4, 4, 4, 1}; + +verify(SPICE_N_ELEMENTS(IS_IMAGE_TYPE_PLT) == (LZ_IMAGE_TYPE_A8 + 1)); +verify(SPICE_N_ELEMENTS(IS_IMAGE_TYPE_RGB) == (LZ_IMAGE_TYPE_A8 + 1)); +verify(SPICE_N_ELEMENTS(PLT_PIXELS_PER_BYTE) == (LZ_IMAGE_TYPE_PLT8 + 1)); +verify(SPICE_N_ELEMENTS(RGB_BYTES_PER_PIXEL) == (LZ_IMAGE_TYPE_A8 + 1)); + +#define LZ_MAGIC (*(uint32_t *)"LZ ") +#define LZ_VERSION_MAJOR 1U +#define LZ_VERSION_MINOR 1U +#define LZ_VERSION ((LZ_VERSION_MAJOR << 16) | (LZ_VERSION_MINOR & 0xffff)) + +SPICE_END_DECLS + +#endif // _LZ_COMMON_H diff --git a/tizen/distrib/remote/common/spice-common/common/lz_compress_tmpl.c b/tizen/distrib/remote/common/spice-common/common/lz_compress_tmpl.c new file mode 100644 index 0000000..2b66833 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/lz_compress_tmpl.c @@ -0,0 +1,547 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + + Copyright (C) 2009 Red Hat, Inc. and/or its affiliates. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + This file incorporates work covered by the following copyright and + permission notice: + Copyright (C) 2007 Ariya Hidayat (ariya@kde.org) + Copyright (C) 2006 Ariya Hidayat (ariya@kde.org) + Copyright (C) 2005 Ariya Hidayat (ariya@kde.org) + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, copy, + modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#define DJB2_START 5381; +#define DJB2_HASH(hash, c) (hash = ((hash << 5) + hash) ^ (c)) //|{hash = ((hash << 5) + hash) + c;} + +/* + For each pixel type the following macros are defined: + PIXEL : input type + FNAME(name) + ENCODE_PIXEL(encoder, pixel) : writing a pixel to the compressed buffer (byte by byte) + SAME_PIXEL(pix1, pix2) : comparing two pixels + HASH_FUNC(value, pix_ptr) : hash func of 3 consecutive pixels +*/ + +#ifdef LZ_PLT +#define PIXEL one_byte_pixel_t +#define FNAME(name) lz_plt_##name +#define ENCODE_PIXEL(e, pix) encode(e, (pix).a) // gets the pixel and write only the needed bytes + // from the pixel +#define SAME_PIXEL(pix1, pix2) ((pix1).a == (pix2).a) +#define HASH_FUNC(v, p) { \ + v = DJB2_START; \ + DJB2_HASH(v, p[0].a); \ + DJB2_HASH(v, p[1].a); \ + DJB2_HASH(v, p[2].a); \ + v &= HASH_MASK; \ + } +#endif + +#ifdef LZ_A8 +#define PIXEL one_byte_pixel_t +#define FNAME(name) lz_a8_##name +#define ENCODE_PIXEL(e, pix) encode(e, (pix).a) // gets the pixel and write only the needed bytes + // from the pixel +#define SAME_PIXEL(pix1, pix2) ((pix1).a == (pix2).a) +#define HASH_FUNC(v, p) { \ + v = DJB2_START; \ + DJB2_HASH(v, p[0].a); \ + DJB2_HASH(v, p[1].a); \ + DJB2_HASH(v, p[2].a); \ + v &= HASH_MASK; \ + } +#endif + +#ifdef LZ_RGB_ALPHA +//#undef LZ_RGB_ALPHA +#define PIXEL rgb32_pixel_t +#define FNAME(name) lz_rgb_alpha_##name +#define ENCODE_PIXEL(e, pix) {encode(e, (pix).pad);} +#define SAME_PIXEL(pix1, pix2) ((pix1).pad == (pix2).pad) +#define HASH_FUNC(v, p) { \ + v = DJB2_START; \ + DJB2_HASH(v, p[0].pad); \ + DJB2_HASH(v, p[1].pad); \ + DJB2_HASH(v, p[2].pad); \ + v &= HASH_MASK; \ + } +#endif + + +#ifdef LZ_RGB16 +#define PIXEL rgb16_pixel_t +#define FNAME(name) lz_rgb16_##name +#define GET_r(pix) (((pix) >> 10) & 0x1f) +#define GET_g(pix) (((pix) >> 5) & 0x1f) +#define GET_b(pix) ((pix) & 0x1f) +#define ENCODE_PIXEL(e, pix) {encode(e, (pix) >> 8); encode(e, (pix) & 0xff);} + +#define HASH_FUNC(v, p) { \ + v = DJB2_START; \ + DJB2_HASH(v, p[0] & (0x00ff)); \ + DJB2_HASH(v, (p[0] >> 8) & (0x007f)); \ + DJB2_HASH(v, p[1]&(0x00ff)); \ + DJB2_HASH(v, (p[1] >> 8) & (0x007f)); \ + DJB2_HASH(v, p[2] & (0x00ff)); \ + DJB2_HASH(v, (p[2] >> 8) & (0x007f)); \ + v &= HASH_MASK; \ +} +#endif + +#ifdef LZ_RGB24 +#define PIXEL rgb24_pixel_t +#define FNAME(name) lz_rgb24_##name +#define ENCODE_PIXEL(e, pix) {encode(e, (pix).b); encode(e, (pix).g); encode(e, (pix).r);} +#endif + +#ifdef LZ_RGB32 +#define PIXEL rgb32_pixel_t +#define FNAME(name) lz_rgb32_##name +#define ENCODE_PIXEL(e, pix) {encode(e, (pix).b); encode(e, (pix).g); encode(e, (pix).r);} +#endif + + +#if defined(LZ_RGB24) || defined(LZ_RGB32) +#define GET_r(pix) ((pix).r) +#define GET_g(pix) ((pix).g) +#define GET_b(pix) ((pix).b) +#define HASH_FUNC(v, p) { \ + v = DJB2_START; \ + DJB2_HASH(v, p[0].r); \ + DJB2_HASH(v, p[0].g); \ + DJB2_HASH(v, p[0].b); \ + DJB2_HASH(v, p[1].r); \ + DJB2_HASH(v, p[1].g); \ + DJB2_HASH(v, p[1].b); \ + DJB2_HASH(v, p[2].r); \ + DJB2_HASH(v, p[2].g); \ + DJB2_HASH(v, p[2].b); \ + v &= HASH_MASK; \ + } +#endif + +#if defined(LZ_RGB16) || defined(LZ_RGB24) || defined(LZ_RGB32) +#define SAME_PIXEL(p1, p2) (GET_r(p1) == GET_r(p2) && GET_g(p1) == GET_g(p2) && \ + GET_b(p1) == GET_b(p2)) + +#endif + +#define PIXEL_ID(pix_ptr, seg_ptr) (pix_ptr - ((PIXEL *)seg_ptr->lines) + seg_ptr->size_delta) + +// when encoding, the ref can be in previous segment, and we should check that it doesn't +// exceeds its bounds. +// TODO: optimization: when only one chunk exists or when the reference is in the same segment, +// don't make checks if we reach end of segments +// TODO: optimize to continue match between segments? +// TODO: check hash function +// TODO: check times + +/* compresses one segment starting from 'from'.*/ +static void FNAME(compress_seg)(Encoder *encoder, LzImageSegment *seg, PIXEL *from, int copied) +{ + const PIXEL *ip = from; + const PIXEL *ip_bound = (PIXEL *)(seg->lines_end) - BOUND_OFFSET; + const PIXEL *ip_limit = (PIXEL *)(seg->lines_end) - LIMIT_OFFSET; + HashEntry *hslot; + int hval; + int copy = copied; + + if (copy == 0) { + encode_copy_count(encoder, MAX_COPY - 1); + } + + + while (LZ_EXPECT_CONDITIONAL(ip < ip_limit)) { // TODO: maybe change ip_limit and enabling + // moving to the next seg + const PIXEL *ref; + const PIXEL *ref_limit; + size_t distance; + + /* minimum match length */ +#if defined(LZ_PLT) || defined(LZ_RGB_ALPHA) || defined(LZ_A8) + size_t len = 3; +#elif defined(LZ_RGB16) + size_t len = 2; +#else + size_t len = 1; +#endif + /* comparison starting-point */ + const PIXEL *anchor = ip; + + + + // TODO: RLE without checking if not first byte. + // TODO: optimize comparisons + + /* check for a run */ // TODO for RGB we can use less pixels + if (LZ_EXPECT_CONDITIONAL(ip > (PIXEL *)(seg->lines))) { + if (SAME_PIXEL(ip[-1], ip[0]) && SAME_PIXEL(ip[0], ip[1]) && SAME_PIXEL(ip[1], ip[2])) { + distance = 1; + ip += 3; + ref = anchor + 2; + ref_limit = (PIXEL *)(seg->lines_end); +#if defined(LZ_RGB16) || defined(LZ_RGB24) || defined(LZ_RGB32) + len = 3; +#endif + goto match; + } + } + + /* find potential match */ + HASH_FUNC(hval, ip); + hslot = encoder->htab + hval; + ref = (PIXEL *)(hslot->ref); + ref_limit = (PIXEL *)(hslot->image_seg->lines_end); + + /* calculate distance to the match */ + distance = PIXEL_ID(anchor, seg) - PIXEL_ID(ref, hslot->image_seg); + + /* update hash table */ + hslot->image_seg = seg; + hslot->ref = (uint8_t *)anchor; + + /* is this a match? check the first 3 pixels */ + if (distance == 0 || (distance >= MAX_FARDISTANCE)) { + goto literal; + } + /* check if the hval key identical*/ + // no need to check ref limit here because the word size in the htab is 3 pixels + if (!SAME_PIXEL(*ref, *ip)) { + ref++; + ip++; + goto literal; + } + ref++; + ip++; + + /* minimum match length for rgb16 is 2 and for plt and alpha is 3 */ +#if defined(LZ_PLT) || defined(LZ_RGB_ALPHA) || defined(LZ_RGB16) || defined(LZ_A8) + if (!SAME_PIXEL(*ref, *ip)) { + ref++; + ip++; + goto literal; + } + ref++; + ip++; +#endif + +#if defined(LZ_PLT) || defined(LZ_RGB_ALPHA) || defined(LZ_A8) + if (!SAME_PIXEL(*ref, *ip)) { + ref++; + ip++; + goto literal; + } + ref++; + ip++; +#endif + /* far, needs at least 5-byte match */ + if (distance >= MAX_DISTANCE) { +#if defined(LZ_PLT) || defined(LZ_RGB_ALPHA) || defined(LZ_A8) + if (ref >= (ref_limit - 1)) { + goto literal; + } +#else + if (ref > (ref_limit - 1)) { + goto literal; + } +#endif + if (!SAME_PIXEL(*ref, *ip)) { + ref++; + ip++; + goto literal; + } + ref++; + ip++; + len++; +#if defined(LZ_PLT) || defined(LZ_RGB_ALPHA) || defined(LZ_A8) + if (!SAME_PIXEL(*ref, *ip)) { + ref++; + ip++; + goto literal; + } + ref++; + ip++; + len++; +#endif + } +match: // RLE or dictionary (both are encoded by distance from ref (-1) and length) + + /* distance is biased */ + distance--; + + // ip is located now at the position of the second mismatch. + // later it will be subtracted by 3 + + if (!distance) { + /* zero distance means a run */ + PIXEL x = *ref; + while ((ip < ip_bound) && (ref < ref_limit)) { // TODO: maybe separate a run from + // the same seg or from different + // ones in order to spare + // ref < ref_limit + if (!SAME_PIXEL(*ref, x)) { + ref++; + break; + } else { + ref++; + ip++; + } + } + } else { + // TODO: maybe separate a run from the same seg or from different ones in order + // to spare ref < ref_limit and that way we can also perform 8 calls of + // (ref++ != ip++) outside a loop + for (;;) { + while ((ip < ip_bound) && (ref < ref_limit)) { + if (!SAME_PIXEL(*ref, *ip)) { + ref++; + ip++; + break; + } else { + ref++; + ip++; + } + } + break; + } + } + + /* if we have copied something, adjust the copy count */ + if (copy) { + /* copy is biased, '0' means 1 byte copy */ + update_copy_count(encoder, copy - 1); + } else { + /* back, to overwrite the copy count */ + compress_output_prev(encoder); + } + + /* reset literal counter */ + copy = 0; + + /* length is biased, '1' means a match of 3 pixels for PLT and alpha*/ + /* for RGB 16 1 means 2 */ + /* for RGB24/32 1 means 1...*/ + ip -= 3; + len = ip - anchor; +#if defined(LZ_RGB16) + len++; +#elif defined(LZ_RGB24) || defined(LZ_RGB32) + len += 2; +#endif + /* encode the match (like fastlz level 2)*/ + if (distance < MAX_DISTANCE) { // MAX_DISTANCE is 2^13 - 1 + // when copy is performed, the byte that holds the copy count is smaller than 32. + // When there is a reference, the first byte is always larger then 32 + + // 3 bits = length, 5 bits = 5 MSB of distance, 8 bits = 8 LSB of distance + if (len < 7) { + encode(encoder, (uint8_t)((len << 5) + (distance >> 8))); + encode(encoder, (uint8_t)(distance & 255)); + } else { // more than 3 bits are needed for length + // 3 bits 7, 5 bits = 5 MSB of distance, next bytes are 255 till we + // receive a smaller number, last byte = 8 LSB of distance + encode(encoder, (uint8_t)((7 << 5) + (distance >> 8))); + for (len -= 7; len >= 255; len -= 255) { + encode(encoder, 255); + } + encode(encoder, (uint8_t)len); + encode(encoder, (uint8_t)(distance & 255)); + } + } else { + /* far away */ + if (len < 7) { // the max_far_distance is ~2^16+2^13 so two more bytes are needed + // 3 bits = length, 5 bits = 5 MSB of MAX_DISTANCE, 8 bits = 8 LSB of MAX_DISTANCE, + // 8 bits = 8 MSB distance-MAX_distance (smaller than 2^16),8 bits=8 LSB of + // distance-MAX_distance + distance -= MAX_DISTANCE; + encode(encoder, (uint8_t)((len << 5) + 31)); + encode(encoder, (uint8_t)255); + encode(encoder, (uint8_t)(distance >> 8)); + encode(encoder, (uint8_t)(distance & 255)); + } else { + // same as before, but the first byte is followed by the left overs of len + distance -= MAX_DISTANCE; + encode(encoder, (uint8_t)((7 << 5) + 31)); + for (len -= 7; len >= 255; len -= 255) { + encode(encoder, 255); + } + encode(encoder, (uint8_t)len); + encode(encoder, 255); + encode(encoder, (uint8_t)(distance >> 8)); + encode(encoder, (uint8_t)(distance & 255)); + } + } + + /* update the hash at match boundary */ +#if defined(LZ_RGB16) || defined(LZ_RGB24) || defined(LZ_RGB32) + if (ip > anchor) { +#endif + HASH_FUNC(hval, ip); + encoder->htab[hval].ref = (uint8_t *)ip; + ip++; + encoder->htab[hval].image_seg = seg; +#if defined(LZ_RGB16) || defined(LZ_RGB24) || defined(LZ_RGB32) + } else {ip++; + } +#endif +#if defined(LZ_RGB24) || defined(LZ_RGB32) + if (ip > anchor) { +#endif + HASH_FUNC(hval, ip); + encoder->htab[hval].ref = (uint8_t *)ip; + ip++; + encoder->htab[hval].image_seg = seg; +#if defined(LZ_RGB24) || defined(LZ_RGB32) + } else {ip++; + } +#endif + /* assuming literal copy */ + encode_copy_count(encoder, MAX_COPY - 1); + continue; + +literal: + ENCODE_PIXEL(encoder, *anchor); + anchor++; + ip = anchor; + copy++; + + if (LZ_UNEXPECT_CONDITIONAL(copy == MAX_COPY)) { + copy = 0; + encode_copy_count(encoder, MAX_COPY - 1); + } + } // END LOOP (ip < ip_limit) + + + /* left-over as literal copy */ + ip_bound++; + while (ip <= ip_bound) { + ENCODE_PIXEL(encoder, *ip); + ip++; + copy++; + if (copy == MAX_COPY) { + copy = 0; + encode_copy_count(encoder, MAX_COPY - 1); + } + } + + /* if we have copied something, adjust the copy length */ + if (copy) { + update_copy_count(encoder, copy - 1); + } else { + compress_output_prev(encoder); // in case we created a new buffer for copy, check that + // red_worker could handle size that do not contain the + // ne buffer + } +} + + +/* initializes the hash table. if the file is very small, copies it. + copies the first two pixels of the first segment, and sends the segments + one by one to compress_seg. + the number of bytes compressed are stored inside encoder. + */ +static void FNAME(compress)(Encoder *encoder) +{ + LzImageSegment *cur_seg = encoder->head_image_segs; + HashEntry *hslot; + PIXEL *ip; + PIXEL *ip_start; + + // fetch the first image segment that is not too small + while (cur_seg && ((((PIXEL *)cur_seg->lines_end) - ((PIXEL *)cur_seg->lines)) < 4)) { + ip_start = (PIXEL *)cur_seg->lines; + // coping the segment + if (cur_seg->lines != cur_seg->lines_end) { + ip = (PIXEL *)cur_seg->lines; + // Note: we assume MAX_COPY > 3 + encode_copy_count(encoder, (uint8_t)( + (((PIXEL *)cur_seg->lines_end) - ((PIXEL *)cur_seg->lines)) - 1)); + while (ip < (PIXEL *)cur_seg->lines_end) { + ENCODE_PIXEL(encoder, *ip); + ip++; + } + } + cur_seg = cur_seg->next; + } + + if (!cur_seg) { + return; + } + + ip = (PIXEL *)cur_seg->lines; + + /* initialize hash table */ + for (hslot = encoder->htab; hslot < encoder->htab + HASH_SIZE; hslot++) { + hslot->ref = (uint8_t*)ip; + hslot->image_seg = cur_seg; + } + + encode_copy_count(encoder, MAX_COPY - 1); + ENCODE_PIXEL(encoder, *ip); + ip++; + ENCODE_PIXEL(encoder, *ip); + ip++; + + // compressing the first segment + FNAME(compress_seg)(encoder, cur_seg, ip, 2); + + // compressing the next segments + for (cur_seg = cur_seg->next; cur_seg; cur_seg = cur_seg->next) { + FNAME(compress_seg)(encoder, cur_seg, (PIXEL *)cur_seg->lines, 0); + } +} + +#undef FNAME +#undef PIXEL_ID +#undef PIXEL +#undef ENCODE_PIXEL +#undef SAME_PIXEL +#undef LZ_READU16 +#undef HASH_FUNC +#undef BYTES_TO_16 +#undef HASH_FUNC_16 +#undef GET_r +#undef GET_g +#undef GET_b +#undef GET_CODE +#undef LZ_PLT +#undef LZ_RGB_ALPHA +#undef LZ_RGB16 +#undef LZ_RGB24 +#undef LZ_RGB32 +#undef LZ_A8 +#undef HASH_FUNC2 diff --git a/tizen/distrib/remote/common/spice-common/common/lz_config.h b/tizen/distrib/remote/common/spice-common/common/lz_config.h new file mode 100644 index 0000000..d8675a8 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/lz_config.h @@ -0,0 +1,39 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#ifndef __LZ_CONFIG_H +#define __LZ_CONFIG_H + +#include <spice/types.h> +#include <spice/macros.h> + +#ifdef __GNUC__ +#include <string.h> +#else +#ifdef QXLDD +#include <windef.h> +#include "os_dep.h" +#else +#include <stddef.h> +#include <string.h> +#endif // QXLDD +#endif //__GNUC__ + +#endif //__LZ_CONFIG_H diff --git a/tizen/distrib/remote/common/spice-common/common/lz_decompress_tmpl.c b/tizen/distrib/remote/common/spice-common/common/lz_decompress_tmpl.c new file mode 100644 index 0000000..04a5121 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/lz_decompress_tmpl.c @@ -0,0 +1,343 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + + Copyright (C) 2009 Red Hat, Inc. and/or its affiliates. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. + + This file incorporates work covered by the following copyright and + permission notice: + Copyright (C) 2007 Ariya Hidayat (ariya@kde.org) + Copyright (C) 2006 Ariya Hidayat (ariya@kde.org) + Copyright (C) 2005 Ariya Hidayat (ariya@kde.org) + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, copy, + modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + +*/ + +// External defines: PLT, RGBX/PLTXX/ALPHA, TO_RGB32. +// If PLT4/1 and TO_RGB32 are defined, we need CAST_PLT_DISTANCE (because then the number of +// pixels differ from the units used in the compression) + +/* + For each output pixel type the following macros are defined: + OUT_PIXEL - the output pixel type + COPY_PIXEL(p, out) - assigns the pixel to the place pointed by out and increases + out. Used in RLE. Need special handling because in alpha we + copy only the pad byte. + COPY_REF_PIXEL(ref, out) - copies the pixel pointed by ref to the pixel pointed by out. + Increases ref and out. + COPY_COMP_PIXEL(encoder, out) - copies pixel from the compressed buffer to the decompressed + buffer. Increases out. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#if !defined(LZ_RGB_ALPHA) +#define COPY_PIXEL(p, out) (*out++ = p) +#define COPY_REF_PIXEL(ref, out) (*out++ = *ref++) +#endif + + +// decompressing plt to plt +#ifdef LZ_PLT +#ifndef TO_RGB32 +#define OUT_PIXEL one_byte_pixel_t +#define FNAME(name) lz_plt_##name +#define COPY_COMP_PIXEL(encoder, out) {out->a = decode(encoder); out++;} +#else // TO_RGB32 +#define OUT_PIXEL rgb32_pixel_t +#define COPY_PLT_ENTRY(ent, out) { \ + (out)->b = ent; \ + (out)->g = (ent >> 8); \ + (out)->r = (ent >> 16); \ + (out)->pad = 0; \ +} +#ifdef PLT8 +#define FNAME(name) lz_plt8_to_rgb32_##name +#define COPY_COMP_PIXEL(encoder, out) { \ + uint32_t rgb = encoder->palette->ents[decode(encoder)]; \ + COPY_PLT_ENTRY(rgb, out); \ + out++;} +#elif defined(PLT4_BE) +#define FNAME(name) lz_plt4_be_to_rgb32_##name +#define COPY_COMP_PIXEL(encoder, out){ \ + uint8_t byte = decode(encoder); \ + uint32_t rgb = encoder->palette->ents[((byte >> 4) & 0x0f) % (encoder->palette->num_ents)]; \ + COPY_PLT_ENTRY(rgb, out); \ + out++; \ + rgb = encoder->palette->ents[(byte & 0x0f) % (encoder->palette->num_ents)]; \ + COPY_PLT_ENTRY(rgb, out); \ + out++; \ +} +#define CAST_PLT_DISTANCE(dist) (dist*2) +#elif defined(PLT4_LE) +#define FNAME(name) lz_plt4_le_to_rgb32_##name +#define COPY_COMP_PIXEL(encoder, out){ \ + uint8_t byte = decode(encoder); \ + uint32_t rgb = encoder->palette->ents[(byte & 0x0f) % (encoder->palette->num_ents)]; \ + COPY_PLT_ENTRY(rgb, out); \ + out++; \ + rgb = encoder->palette->ents[((byte >> 4) & 0x0f) % (encoder->palette->num_ents)]; \ + COPY_PLT_ENTRY(rgb, out); \ + out++; \ +} +#define CAST_PLT_DISTANCE(dist) (dist*2) +#elif defined(PLT1_BE) // TODO store palette entries for direct access +#define FNAME(name) lz_plt1_be_to_rgb32_##name +#define COPY_COMP_PIXEL(encoder, out){ \ + uint8_t byte = decode(encoder); \ + int i; \ + uint32_t fore = encoder->palette->ents[1]; \ + uint32_t back = encoder->palette->ents[0]; \ + for (i = 7; i >= 0; i--) \ + { \ + if ((byte >> i) & 1) { \ + COPY_PLT_ENTRY(fore, out); \ + } else { \ + COPY_PLT_ENTRY(back, out); \ + } \ + out++; \ + } \ +} +#define CAST_PLT_DISTANCE(dist) (dist*8) +#elif defined(PLT1_LE) +#define FNAME(name) lz_plt1_le_to_rgb32_##name +#define COPY_COMP_PIXEL(encoder, out){ \ + uint8_t byte = decode(encoder); \ + int i; \ + uint32_t fore = encoder->palette->ents[1]; \ + uint32_t back = encoder->palette->ents[0]; \ + for (i = 0; i < 8; i++) \ + { \ + if ((byte >> i) & 1) { \ + COPY_PLT_ENTRY(fore, out); \ + } else { \ + COPY_PLT_ENTRY(back, out); \ + } \ + out++; \ + } \ +} +#define CAST_PLT_DISTANCE(dist) (dist*8) +#endif // PLT Type +#endif // TO_RGB32 +#endif + +#ifdef LZ_A8 +#ifndef TO_RGB32 +#define OUT_PIXEL one_byte_pixel_t +#define FNAME(name) lz_a8_##name +#define COPY_COMP_PIXEL(encoder, out) {out->a = decode(encoder); out++;} +#else // TO_RGB32 +#define OUT_PIXEL rgb32_pixel_t +#define FNAME(name) lz_a8_to_rgb32_##name +#define COPY_COMP_PIXEL(encoder, out) { \ + (out)->b = (out)->g = (out)->r = 0; \ + (out)->pad = decode(encoder); \ + (out)++; \ + } +#endif +#endif + +#ifdef LZ_RGB16 +#ifndef TO_RGB32 +#define OUT_PIXEL rgb16_pixel_t +#define FNAME(name) lz_rgb16_##name +#define COPY_COMP_PIXEL(e, out) {*out = ((decode(e) << 8) | decode(e)); out++;} +#else +#define OUT_PIXEL rgb32_pixel_t +#define FNAME(name) lz_rgb16_to_rgb32_##name +#define COPY_COMP_PIXEL(e, out) { \ + out->r = decode(e); \ + out->b = decode(e); \ + out->g = (((out->r) << 6) | ((out->b) >> 2)) & ~0x07; \ + out->g |= (out->g >> 5); \ + out->r = ((out->r << 1) & ~0x07)| ((out->r >> 4) & 0x07); \ + out->b = (out->b << 3) | ((out->b >> 2) & 0x07); \ + out->pad = 0; \ + out++; \ +} +#endif +#endif + +#ifdef LZ_RGB24 +#define OUT_PIXEL rgb24_pixel_t +#define FNAME(name) lz_rgb24_##name +#define COPY_COMP_PIXEL(e, out) {out->b = decode(e); out->g = decode(e); out->r = decode(e); out++;} +#endif + +#ifdef LZ_RGB32 +#define OUT_PIXEL rgb32_pixel_t +#define FNAME(name) lz_rgb32_##name +#define COPY_COMP_PIXEL(e, out) { \ + out->b = decode(e); \ + out->g = decode(e); \ + out->r = decode(e); \ + out->pad = 0; \ + out++; \ +} +#endif + +#ifdef LZ_RGB_ALPHA +#define OUT_PIXEL rgb32_pixel_t +#define FNAME(name) lz_rgb_alpha_##name +#define COPY_PIXEL(p, out) {out->pad = p.pad; out++;} +#define COPY_REF_PIXEL(ref, out) {out->pad = ref->pad; out++; ref++;} +#define COPY_COMP_PIXEL(e, out) {out->pad = decode(e); out++;} +#endif + +// return num of bytes in out_buf +static size_t FNAME(decompress)(Encoder *encoder, OUT_PIXEL *out_buf, int size) +{ + OUT_PIXEL *op = out_buf; + OUT_PIXEL *op_limit = out_buf + size; + uint32_t ctrl = decode(encoder); + int loop = TRUE; + + do { + const OUT_PIXEL *ref = op; + uint32_t len = ctrl >> 5; + uint32_t ofs = (ctrl & 31) << 8; // 5 MSb of distance + + if (ctrl >= MAX_COPY) { // reference (dictionary/RLE) + /* retrieving the reference and the match length */ + + uint8_t code; + len--; + //ref -= ofs; + if (len == 7 - 1) { // match length is bigger than 7 + do { + code = decode(encoder); + len += code; + } while (code == 255); // remaining of len + } + code = decode(encoder); + ofs += code; + + /* match from 16-bit distance */ + if (LZ_UNEXPECT_CONDITIONAL(code == 255)) { + if (LZ_EXPECT_CONDITIONAL((ofs - code) == (31 << 8))) { + ofs = decode(encoder) << 8; + ofs += decode(encoder); + ofs += MAX_DISTANCE; + } + } + +#if defined(LZ_PLT) || defined(LZ_RGB_ALPHA) || defined(LZ_A8) + len += 3; // length is biased by 2 + 1 (fixing bias) +#elif defined(LZ_RGB16) + len += 2; // length is biased by 1 + 1 (fixing bias) +#else + len += 1; +#endif + ofs += 1; // offset is biased by 1 (fixing bias) + +#if defined(TO_RGB32) +#if defined(PLT4_BE) || defined(PLT4_LE) || defined(PLT1_BE) || defined(PLT1_LE) + ofs = CAST_PLT_DISTANCE(ofs); + len = CAST_PLT_DISTANCE(len); +#endif +#endif + ref -= ofs; + + spice_assert(op + len <= op_limit); + spice_assert(ref + len <= op_limit); + spice_assert(ref >= out_buf); + + // TODO: optimize by not calling loop at least 3 times when not PLT_TO_RGB32 (len is + // always >=3). in PLT_TO_RGB32 len >= 3*number_of_pixels_per_byte + + /* copying the match*/ + + if (ref == (op - 1)) { // run // TODO: this will never be called in PLT4/1_TO_RGB + // because the number of pixel copied is larger + // then one... + /* optimize copy for a run */ + OUT_PIXEL b = *ref; + for (; len; --len) { + COPY_PIXEL(b, op); + spice_assert(op <= op_limit); + } + } else { + for (; len; --len) { + COPY_REF_PIXEL(ref, op); + spice_assert(op <= op_limit); + } + } + } else { // copy + ctrl++; // copy count is biased by 1 +#if defined(TO_RGB32) && (defined(PLT4_BE) || defined(PLT4_LE) || defined(PLT1_BE) || \ + defined(PLT1_LE)) + spice_assert(op + CAST_PLT_DISTANCE(ctrl) <= op_limit); +#else + spice_assert(op + ctrl <= op_limit); +#endif + COPY_COMP_PIXEL(encoder, op); + + spice_assert(op <= op_limit); + + for (--ctrl; ctrl; ctrl--) { + COPY_COMP_PIXEL(encoder, op); + spice_assert(op <= op_limit); + } + } + + if (LZ_EXPECT_CONDITIONAL(op < op_limit)) { + ctrl = decode(encoder); + } else { + loop = FALSE; + } + } while (LZ_EXPECT_CONDITIONAL(loop)); + + return (op - out_buf); +} + +#undef LZ_PLT +#undef PLT8 +#undef PLT4_BE +#undef PLT4_LE +#undef PLT1_BE +#undef PLT1_LE +#undef LZ_RGB16 +#undef LZ_RGB24 +#undef LZ_RGB32 +#undef LZ_A8 +#undef LZ_RGB_ALPHA +#undef TO_RGB32 +#undef OUT_PIXEL +#undef FNAME +#undef COPY_PIXEL +#undef COPY_REF_PIXEL +#undef COPY_COMP_PIXEL +#undef COPY_PLT_ENTRY +#undef CAST_PLT_DISTANCE diff --git a/tizen/distrib/remote/common/spice-common/common/macros.h b/tizen/distrib/remote/common/spice-common/common/macros.h new file mode 100644 index 0000000..cf7aaad --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/macros.h @@ -0,0 +1,37 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef __MACROS_H +#define __MACROS_H + +#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5) +#define SPICE_ATTR_PRINTF(a,b) \ + __attribute__((format(printf,a,b))) +#else +#define SPICE_ATTR_PRINTF(a,b) +#endif /* __GNUC__ */ + +#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5) +#define SPICE_ATTR_NORETURN \ + __attribute__((noreturn)) +#else +#define SPICE_ATTR_NORETURN +#endif /* __GNUC__ */ + + +#endif /* __MACROS_H */ diff --git a/tizen/distrib/remote/common/spice-common/common/marshaller.c b/tizen/distrib/remote/common/spice-common/common/marshaller.c new file mode 100644 index 0000000..3d889a4 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/marshaller.c @@ -0,0 +1,615 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "marshaller.h" +#include "mem.h" +#include <string.h> +#include <stdlib.h> +#include <assert.h> + +#ifdef WORDS_BIGENDIAN +#define write_int8(ptr,v) (*((int8_t *)(ptr)) = v) +#define write_uint8(ptr,v) (*((uint8_t *)(ptr)) = v) +#define write_int16(ptr,v) (*((int16_t *)(ptr)) = SPICE_BYTESWAP16((uint16_t)(v))) +#define write_uint16(ptr,v) (*((uint16_t *)(ptr)) = SPICE_BYTESWAP16((uint16_t)(v))) +#define write_int32(ptr,v) (*((int32_t *)(ptr)) = SPICE_BYTESWAP32((uint32_t)(v))) +#define write_uint32(ptr,v) (*((uint32_t *)(ptr)) = SPICE_BYTESWAP32((uint32_t)(v))) +#define write_int64(ptr,v) (*((int64_t *)(ptr)) = SPICE_BYTESWAP64((uint64_t)(v))) +#define write_uint64(ptr,v) (*((uint64_t *)(ptr)) = SPICE_BYTESWAP64((uint64_t)(v))) +#else +#define write_int8(ptr,v) (*((int8_t *)(ptr)) = v) +#define write_uint8(ptr,v) (*((uint8_t *)(ptr)) = v) +#define write_int16(ptr,v) (*((int16_t *)(ptr)) = v) +#define write_uint16(ptr,v) (*((uint16_t *)(ptr)) = v) +#define write_int32(ptr,v) (*((int32_t *)(ptr)) = v) +#define write_uint32(ptr,v) (*((uint32_t *)(ptr)) = v) +#define write_int64(ptr,v) (*((int64_t *)(ptr)) = v) +#define write_uint64(ptr,v) (*((uint64_t *)(ptr)) = v) +#endif + +typedef struct { + uint8_t *data; + size_t len; + spice_marshaller_item_free_func free_data; + void *opaque; +} MarshallerItem; + +/* Try to fit in 4k page with 2*pointer-size overhead (next ptr and malloc size) */ +#define MARSHALLER_BUFFER_SIZE (4096 - sizeof(void *) * 2) + +typedef struct MarshallerBuffer MarshallerBuffer; +struct MarshallerBuffer { + MarshallerBuffer *next; + uint8_t data[MARSHALLER_BUFFER_SIZE]; +}; + +#define N_STATIC_ITEMS 4 + +typedef struct SpiceMarshallerData SpiceMarshallerData; + +typedef struct { + SpiceMarshaller *marshaller; + int item_nr; + int is_64bit; + size_t offset; +} MarshallerRef; + +struct SpiceMarshaller { + size_t total_size; + SpiceMarshallerData *data; + SpiceMarshaller *next; + + MarshallerRef pointer_ref; + + int n_items; + int items_size; /* number of items availible in items */ + MarshallerItem *items; + + MarshallerItem static_items[N_STATIC_ITEMS]; +}; + +struct SpiceMarshallerData { + size_t total_size; + size_t base; + SpiceMarshaller *marshallers; + SpiceMarshaller *last_marshaller; + + size_t current_buffer_position; + MarshallerBuffer *current_buffer; + MarshallerItem *current_buffer_item; + MarshallerBuffer *buffers; + + SpiceMarshaller static_marshaller; + MarshallerBuffer static_buffer; +}; + +static void spice_marshaller_init(SpiceMarshaller *m, + SpiceMarshallerData *data) +{ + m->data = data; + m->next = NULL; + m->total_size = 0; + m->pointer_ref.marshaller = NULL; + m->n_items = 0; + m->items_size = N_STATIC_ITEMS; + m->items = m->static_items; +} + +SpiceMarshaller *spice_marshaller_new(void) +{ + SpiceMarshallerData *d; + SpiceMarshaller *m; + + d = spice_new(SpiceMarshallerData, 1); + + d->last_marshaller = d->marshallers = &d->static_marshaller; + d->total_size = 0; + d->base = 0; + d->buffers = &d->static_buffer; + d->buffers->next = NULL; + d->current_buffer = d->buffers; + d->current_buffer_position = 0; + d->current_buffer_item = NULL; + + m = &d->static_marshaller; + spice_marshaller_init(m, d); + + return m; +} + +static void free_item_data(SpiceMarshaller *m) +{ + MarshallerItem *item; + int i; + + /* Free all user data */ + for (i = 0; i < m->n_items; i++) { + item = &m->items[i]; + if (item->free_data != NULL) { + item->free_data(item->data, item->opaque); + } + } +} + +static void free_items(SpiceMarshaller *m) +{ + if (m->items != m->static_items) { + free(m->items); + } +} + +void spice_marshaller_reset(SpiceMarshaller *m) +{ + SpiceMarshaller *m2, *next; + SpiceMarshallerData *d; + + /* Only supported for root marshaller */ + assert(m->data->marshallers == m); + + for (m2 = m; m2 != NULL; m2 = next) { + next = m2->next; + free_item_data(m2); + + /* Free non-root marshallers */ + if (m2 != m) { + free_items(m2); + free(m2); + } + } + + m->next = NULL; + m->n_items = 0; + m->total_size = 0; + + d = m->data; + d->last_marshaller = d->marshallers; + d->total_size = 0; + d->base = 0; + d->current_buffer_item = NULL; + d->current_buffer = d->buffers; + d->current_buffer_position = 0; +} + +void spice_marshaller_destroy(SpiceMarshaller *m) +{ + MarshallerBuffer *buf, *next; + SpiceMarshallerData *d; + + /* Only supported for root marshaller */ + assert(m->data->marshallers == m); + + spice_marshaller_reset(m); + + free_items(m); + + d = m->data; + + buf = d->buffers->next; + while (buf != NULL) { + next = buf->next; + free(buf); + buf = next; + } + + free(d); +} + +static MarshallerItem *spice_marshaller_add_item(SpiceMarshaller *m) +{ + MarshallerItem *item; + + if (m->n_items == m->items_size) { + int items_size = m->items_size * 2; + + if (m->items == m->static_items) { + m->items = spice_new(MarshallerItem, items_size); + memcpy(m->items, m->static_items, sizeof(MarshallerItem) * m->n_items); + } else { + m->items = spice_renew(MarshallerItem, m->items, items_size); + } + m->items_size = items_size; + } + item = &m->items[m->n_items++]; + item->free_data = NULL; + + return item; +} + +static size_t remaining_buffer_size(SpiceMarshallerData *d) +{ + return MARSHALLER_BUFFER_SIZE - d->current_buffer_position; +} + +uint8_t *spice_marshaller_reserve_space(SpiceMarshaller *m, size_t size) +{ + MarshallerItem *item; + SpiceMarshallerData *d; + uint8_t *res; + + if (size == 0) { + return NULL; + } + + d = m->data; + + /* Check current item */ + item = &m->items[m->n_items - 1]; + if (item == d->current_buffer_item && + remaining_buffer_size(d) >= size) { + assert(m->n_items >= 1); + /* We can piggy back on existing item+buffer */ + res = item->data + item->len; + item->len += size; + d->current_buffer_position += size; + d->total_size += size; + m->total_size += size; + return res; + } + + item = spice_marshaller_add_item(m); + + if (remaining_buffer_size(d) >= size) { + /* Fits in current buffer */ + item->data = d->current_buffer->data + d->current_buffer_position; + item->len = size; + d->current_buffer_position += size; + d->current_buffer_item = item; + } else if (size > MARSHALLER_BUFFER_SIZE / 2) { + /* Large item, allocate by itself */ + item->data = (uint8_t *)spice_malloc(size); + item->len = size; + item->free_data = (spice_marshaller_item_free_func)free; + item->opaque = NULL; + } else { + /* Use next buffer */ + if (d->current_buffer->next == NULL) { + d->current_buffer->next = spice_new(MarshallerBuffer, 1); + d->current_buffer->next->next = NULL; + } + d->current_buffer = d->current_buffer->next; + d->current_buffer_position = size; + d->current_buffer_item = item; + item->data = d->current_buffer->data; + item->len = size; + } + + d->total_size += size; + m->total_size += size; + return item->data; +} + +void spice_marshaller_unreserve_space(SpiceMarshaller *m, size_t size) +{ + MarshallerItem *item; + + if (size == 0) { + return; + } + + item = &m->items[m->n_items - 1]; + + assert(item->len >= size); + item->len -= size; +} + +uint8_t *spice_marshaller_add_ref_full(SpiceMarshaller *m, uint8_t *data, size_t size, + spice_marshaller_item_free_func free_data, void *opaque) +{ + MarshallerItem *item; + SpiceMarshallerData *d; + + if (data == NULL || size == 0) { + return NULL; + } + + item = spice_marshaller_add_item(m); + item->data = data; + item->len = size; + item->free_data = free_data; + item->opaque = opaque; + + d = m->data; + m->total_size += size; + d->total_size += size; + + return data; +} + +uint8_t *spice_marshaller_add(SpiceMarshaller *m, const uint8_t *data, size_t size) +{ + uint8_t *ptr; + + ptr = spice_marshaller_reserve_space(m, size); + memcpy(ptr, data, size); + return ptr; +} + +uint8_t *spice_marshaller_add_ref(SpiceMarshaller *m, uint8_t *data, size_t size) +{ + return spice_marshaller_add_ref_full(m, data, size, NULL, NULL); +} + +void spice_marshaller_add_ref_chunks(SpiceMarshaller *m, SpiceChunks *chunks) +{ + unsigned int i; + + for (i = 0; i < chunks->num_chunks; i++) { + spice_marshaller_add_ref(m, chunks->chunk[i].data, + chunks->chunk[i].len); + } +} + +SpiceMarshaller *spice_marshaller_get_submarshaller(SpiceMarshaller *m) +{ + SpiceMarshallerData *d; + SpiceMarshaller *m2; + + d = m->data; + + m2 = spice_new(SpiceMarshaller, 1); + spice_marshaller_init(m2, d); + + d->last_marshaller->next = m2; + d->last_marshaller = m2; + + return m2; +} + +SpiceMarshaller *spice_marshaller_get_ptr_submarshaller(SpiceMarshaller *m, int is_64bit) +{ + SpiceMarshaller *m2; + uint8_t *p; + int size; + + size = is_64bit ? 8 : 4; + + p = spice_marshaller_reserve_space(m, size); + memset(p, 0, size); + m2 = spice_marshaller_get_submarshaller(m); + m2->pointer_ref.marshaller = m; + m2->pointer_ref.item_nr = m->n_items - 1; + m2->pointer_ref.offset = m->items[m->n_items - 1].len - size; + m2->pointer_ref.is_64bit = is_64bit; + + return m2; +} + +static uint8_t *lookup_ref(MarshallerRef *ref) +{ + MarshallerItem *item; + + item = &ref->marshaller->items[ref->item_nr]; + return item->data + ref->offset; +} + + +void spice_marshaller_set_base(SpiceMarshaller *m, size_t base) +{ + /* Only supported for root marshaller */ + assert(m->data->marshallers == m); + + m->data->base = base; +} + +uint8_t *spice_marshaller_linearize(SpiceMarshaller *m, size_t skip_bytes, + size_t *len, int *free_res) +{ + MarshallerItem *item; + uint8_t *res, *p; + int i; + + /* Only supported for root marshaller */ + assert(m->data->marshallers == m); + + if (m->n_items == 1) { + *free_res = FALSE; + if (m->items[0].len <= skip_bytes) { + *len = 0; + return NULL; + } + *len = m->items[0].len - skip_bytes; + return m->items[0].data + skip_bytes; + } + + *free_res = TRUE; + res = (uint8_t *)spice_malloc(m->data->total_size - skip_bytes); + *len = m->data->total_size - skip_bytes; + p = res; + + do { + for (i = 0; i < m->n_items; i++) { + item = &m->items[i]; + + if (item->len <= skip_bytes) { + skip_bytes -= item->len; + continue; + } + memcpy(p, item->data + skip_bytes, item->len - skip_bytes); + p += item->len - skip_bytes; + skip_bytes = 0; + } + m = m->next; + } while (m != NULL); + + return res; +} + +uint8_t *spice_marshaller_get_ptr(SpiceMarshaller *m) +{ + return m->items[0].data; +} + +size_t spice_marshaller_get_offset(SpiceMarshaller *m) +{ + SpiceMarshaller *m2; + size_t offset; + + offset = 0; + m2 = m->data->marshallers; + while (m2 != m) { + offset += m2->total_size; + m2 = m2->next; + } + return offset - m->data->base; +} + +size_t spice_marshaller_get_size(SpiceMarshaller *m) +{ + return m->total_size; +} + +size_t spice_marshaller_get_total_size(SpiceMarshaller *m) +{ + return m->data->total_size; +} + +void spice_marshaller_flush(SpiceMarshaller *m) +{ + SpiceMarshaller *m2; + uint8_t *ptr_pos; + + /* Only supported for root marshaller */ + assert(m->data->marshallers == m); + + for (m2 = m; m2 != NULL; m2 = m2->next) { + if (m2->pointer_ref.marshaller != NULL && m2->total_size > 0) { + ptr_pos = lookup_ref(&m2->pointer_ref); + if (m2->pointer_ref.is_64bit) { + write_uint64(ptr_pos, + spice_marshaller_get_offset(m2)); + } else { + write_uint32(ptr_pos, + spice_marshaller_get_offset(m2)); + } + } + } +} + +#ifndef WIN32 +int spice_marshaller_fill_iovec(SpiceMarshaller *m, struct iovec *vec, + int n_vec, size_t skip_bytes) +{ + MarshallerItem *item; + int v, i; + + /* Only supported for root marshaller */ + assert(m->data->marshallers == m); + + v = 0; + do { + for (i = 0; i < m->n_items; i++) { + item = &m->items[i]; + + if (item->len <= skip_bytes) { + skip_bytes -= item->len; + continue; + } + if (v == n_vec) { + return v; /* Not enough space in vec */ + } + vec[v].iov_base = (uint8_t *)item->data + skip_bytes; + vec[v].iov_len = item->len - skip_bytes; + skip_bytes = 0; + v++; + } + m = m->next; + } while (m != NULL); + + return v; +} +#endif + +void *spice_marshaller_add_uint64(SpiceMarshaller *m, uint64_t v) +{ + uint8_t *ptr; + + ptr = spice_marshaller_reserve_space(m, sizeof(uint64_t)); + write_uint64(ptr, v); + return (void *)ptr; +} + +void *spice_marshaller_add_int64(SpiceMarshaller *m, int64_t v) +{ + uint8_t *ptr; + + ptr = spice_marshaller_reserve_space(m, sizeof(int64_t)); + write_int64(ptr, v); + return (void *)ptr; +} + +void *spice_marshaller_add_uint32(SpiceMarshaller *m, uint32_t v) +{ + uint8_t *ptr; + + ptr = spice_marshaller_reserve_space(m, sizeof(uint32_t)); + write_uint32(ptr, v); + return (void *)ptr; +} + +void spice_marshaller_set_uint32(SpiceMarshaller *m, void *ref, uint32_t v) +{ + write_uint32((uint8_t *)ref, v); +} + +void *spice_marshaller_add_int32(SpiceMarshaller *m, int32_t v) +{ + uint8_t *ptr; + + ptr = spice_marshaller_reserve_space(m, sizeof(int32_t)); + write_int32(ptr, v); + return (void *)ptr; +} + +void *spice_marshaller_add_uint16(SpiceMarshaller *m, uint16_t v) +{ + uint8_t *ptr; + + ptr = spice_marshaller_reserve_space(m, sizeof(uint16_t)); + write_uint16(ptr, v); + return (void *)ptr; +} + +void *spice_marshaller_add_int16(SpiceMarshaller *m, int16_t v) +{ + uint8_t *ptr; + + ptr = spice_marshaller_reserve_space(m, sizeof(int16_t)); + write_int16(ptr, v); + return (void *)ptr; +} + +void *spice_marshaller_add_uint8(SpiceMarshaller *m, uint8_t v) +{ + uint8_t *ptr; + + ptr = spice_marshaller_reserve_space(m, sizeof(uint8_t)); + write_uint8(ptr, v); + return (void *)ptr; +} + +void *spice_marshaller_add_int8(SpiceMarshaller *m, int8_t v) +{ + uint8_t *ptr; + + ptr = spice_marshaller_reserve_space(m, sizeof(int8_t)); + write_int8(ptr, v); + return (void *)ptr; +} diff --git a/tizen/distrib/remote/common/spice-common/common/marshaller.h b/tizen/distrib/remote/common/spice-common/common/marshaller.h new file mode 100644 index 0000000..e19c0f6 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/marshaller.h @@ -0,0 +1,71 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_MARSHALLER +#define _H_MARSHALLER + +#include <spice/macros.h> +#include <spice/types.h> +#include "mem.h" +#ifndef WIN32 +#include <sys/uio.h> +#endif + +SPICE_BEGIN_DECLS + +typedef struct SpiceMarshaller SpiceMarshaller; +typedef void (*spice_marshaller_item_free_func)(uint8_t *data, void *opaque); + +SpiceMarshaller *spice_marshaller_new(void); +void spice_marshaller_reset(SpiceMarshaller *m); +void spice_marshaller_destroy(SpiceMarshaller *m); +uint8_t *spice_marshaller_reserve_space(SpiceMarshaller *m, size_t size); +void spice_marshaller_unreserve_space(SpiceMarshaller *m, size_t size); +uint8_t *spice_marshaller_add(SpiceMarshaller *m, const uint8_t *data, size_t size); +uint8_t *spice_marshaller_add_ref(SpiceMarshaller *m, uint8_t *data, size_t size); +uint8_t *spice_marshaller_add_ref_full(SpiceMarshaller *m, uint8_t *data, size_t size, + spice_marshaller_item_free_func free_data, void *opaque); +void spice_marshaller_add_ref_chunks(SpiceMarshaller *m, SpiceChunks *chunks); +void spice_marshaller_flush(SpiceMarshaller *m); +void spice_marshaller_set_base(SpiceMarshaller *m, size_t base); +uint8_t *spice_marshaller_linearize(SpiceMarshaller *m, size_t skip, + size_t *len, int *free_res); +uint8_t *spice_marshaller_get_ptr(SpiceMarshaller *m); +size_t spice_marshaller_get_offset(SpiceMarshaller *m); +size_t spice_marshaller_get_size(SpiceMarshaller *m); +size_t spice_marshaller_get_total_size(SpiceMarshaller *m); +SpiceMarshaller *spice_marshaller_get_submarshaller(SpiceMarshaller *m); +SpiceMarshaller *spice_marshaller_get_ptr_submarshaller(SpiceMarshaller *m, int is_64bit); +#ifndef WIN32 +int spice_marshaller_fill_iovec(SpiceMarshaller *m, struct iovec *vec, + int n_vec, size_t skip_bytes); +#endif +void *spice_marshaller_add_uint64(SpiceMarshaller *m, uint64_t v); +void *spice_marshaller_add_int64(SpiceMarshaller *m, int64_t v); +void *spice_marshaller_add_uint32(SpiceMarshaller *m, uint32_t v); +void *spice_marshaller_add_int32(SpiceMarshaller *m, int32_t v); +void *spice_marshaller_add_uint16(SpiceMarshaller *m, uint16_t v); +void *spice_marshaller_add_int16(SpiceMarshaller *m, int16_t v); +void *spice_marshaller_add_uint8(SpiceMarshaller *m, uint8_t v); +void *spice_marshaller_add_int8(SpiceMarshaller *m, int8_t v); + +void spice_marshaller_set_uint32(SpiceMarshaller *m, void *ref, uint32_t v); + +SPICE_END_DECLS + +#endif diff --git a/tizen/distrib/remote/common/spice-common/common/mem.c b/tizen/distrib/remote/common/spice-common/common/mem.c new file mode 100644 index 0000000..5f1dbe4 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/mem.c @@ -0,0 +1,296 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "spice_common.h" +#include "mem.h" + +#include <stdlib.h> +#include <stdio.h> +#include <string.h> + +#ifndef MALLOC_ERROR +#define MALLOC_ERROR(format, ...) SPICE_STMT_START { \ + spice_error(format, ## __VA_ARGS__); \ + abort(); \ +} SPICE_STMT_END +#endif + +size_t spice_strnlen(const char *str, size_t max_len) +{ + size_t len = 0; + + while (len < max_len && *str != 0) { + len++; + str++; + } + + return len; +} + +char *spice_strdup(const char *str) +{ + char *copy; + + if (str == NULL) { + return NULL; + } + + copy = (char *)spice_malloc(strlen(str) + 1); + strcpy(copy, str); + return copy; +} + +char *spice_strndup(const char *str, size_t n_bytes) +{ + char *copy; + + if (str == NULL) { + return NULL; + } + + copy = (char *)spice_malloc(n_bytes + 1); + strncpy(copy, str, n_bytes); + copy[n_bytes] = 0; + return copy; +} + +void *spice_memdup(const void *mem, size_t n_bytes) +{ + void *copy; + + if (mem == NULL) { + return NULL; + } + + copy = spice_malloc(n_bytes); + memcpy(copy, mem, n_bytes); + return copy; +} + +void *spice_malloc(size_t n_bytes) +{ + void *mem; + + if (SPICE_LIKELY(n_bytes)) { + mem = malloc(n_bytes); + + if (SPICE_LIKELY(mem != NULL)) { + return mem; + } + + MALLOC_ERROR("unable to allocate %lu bytes", (unsigned long)n_bytes); + } + return NULL; +} + +void *spice_malloc0(size_t n_bytes) +{ + void *mem; + + if (SPICE_LIKELY(n_bytes)) { + mem = calloc(1, n_bytes); + + if (SPICE_LIKELY(mem != NULL)) { + return mem; + } + + MALLOC_ERROR("unable to allocate %lu bytes", (unsigned long)n_bytes); + } + return NULL; +} + +void *spice_realloc(void *mem, size_t n_bytes) +{ + if (SPICE_LIKELY(n_bytes)) { + mem = realloc(mem, n_bytes); + + if (SPICE_LIKELY(mem != NULL)) { + return mem; + } + + MALLOC_ERROR("unable to allocate %lu bytes", (unsigned long)n_bytes); + } + + free(mem); + + return NULL; +} + +#define SIZE_OVERFLOWS(a,b) (SPICE_UNLIKELY ((a) > SIZE_MAX / (b))) + +void *spice_malloc_n(size_t n_blocks, size_t n_block_bytes) +{ + if (SIZE_OVERFLOWS (n_blocks, n_block_bytes)) { + MALLOC_ERROR("overflow allocating %lu*%lu bytes", + (unsigned long)n_blocks, (unsigned long)n_block_bytes); + } + + return spice_malloc(n_blocks * n_block_bytes); +} + +void *spice_malloc_n_m(size_t n_blocks, size_t n_block_bytes, size_t extra_size) +{ + size_t size1, size2; + if (SIZE_OVERFLOWS (n_blocks, n_block_bytes)) { + MALLOC_ERROR("spice_malloc_n: overflow allocating %lu*%lu + %lubytes", + (unsigned long)n_blocks, (unsigned long)n_block_bytes, (unsigned long)extra_size); + } + size1 = n_blocks * n_block_bytes; + size2 = size1 + extra_size; + if (size2 < size1) { + MALLOC_ERROR("spice_malloc_n: overflow allocating %lu*%lu + %lubytes", + (unsigned long)n_blocks, (unsigned long)n_block_bytes, (unsigned long)extra_size); + } + return spice_malloc(size2); +} + + +void *spice_malloc0_n(size_t n_blocks, size_t n_block_bytes) +{ + if (SIZE_OVERFLOWS (n_blocks, n_block_bytes)) { + MALLOC_ERROR("spice_malloc0_n: overflow allocating %lu*%lu bytes", + (unsigned long)n_blocks, (unsigned long)n_block_bytes); + } + + return spice_malloc0 (n_blocks * n_block_bytes); +} + +void *spice_realloc_n(void *mem, size_t n_blocks, size_t n_block_bytes) +{ + if (SIZE_OVERFLOWS (n_blocks, n_block_bytes)) { + MALLOC_ERROR("spice_realloc_n: overflow allocating %lu*%lu bytes", + (unsigned long)n_blocks, (unsigned long)n_block_bytes); + } + + return spice_realloc(mem, n_blocks * n_block_bytes); +} + +SpiceChunks *spice_chunks_new(uint32_t count) +{ + SpiceChunks *chunks; + + chunks = (SpiceChunks *)spice_malloc_n_m(count, sizeof(SpiceChunk), sizeof(SpiceChunks)); + chunks->flags = 0; + chunks->num_chunks = count; + + return chunks; +} + +SpiceChunks *spice_chunks_new_linear(uint8_t *data, uint32_t len) +{ + SpiceChunks *chunks; + + chunks = spice_chunks_new(1); + chunks->data_size = chunks->chunk[0].len = len; + chunks->chunk[0].data = data; + return chunks; +} + +void spice_chunks_destroy(SpiceChunks *chunks) +{ + unsigned int i; + + if (chunks->flags & SPICE_CHUNKS_FLAGS_FREE) { + for (i = 0; i < chunks->num_chunks; i++) { + free(chunks->chunk[i].data); + } + } + + free(chunks); +} + +void spice_chunks_linearize(SpiceChunks *chunks) +{ + uint8_t *data, *p; + unsigned int i; + + if (chunks->num_chunks > 1) { + data = (uint8_t*)spice_malloc(chunks->data_size); + for (p = data, i = 0; i < chunks->num_chunks; i++) { + memcpy(p, chunks->chunk[i].data, + chunks->chunk[i].len); + p += chunks->chunk[i].len; + } + if (chunks->flags & SPICE_CHUNKS_FLAGS_FREE) { + for (i = 0; i < chunks->num_chunks; i++) { + free(chunks->chunk[i].data); + } + } + chunks->num_chunks = 1; + chunks->flags |= SPICE_CHUNKS_FLAGS_FREE; + chunks->flags &= ~SPICE_CHUNKS_FLAGS_UNSTABLE; + chunks->chunk[0].data = data; + chunks->chunk[0].len = chunks->data_size; + } +} + +void spice_buffer_reserve(SpiceBuffer *buffer, size_t len) +{ + if ((buffer->capacity - buffer->offset) < len) { + buffer->capacity += (len + 1024); + buffer->buffer = (uint8_t*)spice_realloc(buffer->buffer, buffer->capacity); + } +} + +int spice_buffer_empty(SpiceBuffer *buffer) +{ + return buffer->offset == 0; +} + +uint8_t *spice_buffer_end(SpiceBuffer *buffer) +{ + return buffer->buffer + buffer->offset; +} + +void spice_buffer_reset(SpiceBuffer *buffer) +{ + buffer->offset = 0; +} + +void spice_buffer_free(SpiceBuffer *buffer) +{ + free(buffer->buffer); + buffer->offset = 0; + buffer->capacity = 0; + buffer->buffer = NULL; +} + +void spice_buffer_append(SpiceBuffer *buffer, const void *data, size_t len) +{ + spice_buffer_reserve(buffer, len); + memcpy(buffer->buffer + buffer->offset, data, len); + buffer->offset += len; +} + +size_t spice_buffer_copy(SpiceBuffer *buffer, void *dest, size_t len) +{ + len = MIN(buffer->offset, len); + memcpy(dest, buffer->buffer, len); + return len; +} + +size_t spice_buffer_remove(SpiceBuffer *buffer, size_t len) +{ + len = MIN(buffer->offset, len); + memmove(buffer->buffer, buffer->buffer + len, buffer->offset - len); + buffer->offset -= len; + return len; +} diff --git a/tizen/distrib/remote/common/spice-common/common/mem.h b/tizen/distrib/remote/common/spice-common/common/mem.h new file mode 100644 index 0000000..857e8b0 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/mem.h @@ -0,0 +1,159 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_MEM +#define _H_MEM + +#include <stdlib.h> +#include <spice/macros.h> + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + +SPICE_BEGIN_DECLS + +#ifdef STDC_HEADERS +# include <stdlib.h> +# include <stddef.h> +#else +# ifdef HAVE_STDLIB_H +# include <stdlib.h> +# endif +#endif +#ifdef HAVE_ALLOCA_H +# include <alloca.h> +#elif defined __GNUC__ +#if !defined alloca +# define alloca __builtin_alloca +#endif +#elif defined _AIX +# define alloca __alloca +#elif defined _MSC_VER +# include <malloc.h> +# define alloca _alloca +#else +# ifndef HAVE_ALLOCA +# ifdef __cplusplus +extern "C" +# endif +void *alloca (size_t); +# endif +#endif + +typedef struct SpiceChunk { + uint8_t *data; + uint32_t len; +} SpiceChunk; + +enum { + SPICE_CHUNKS_FLAGS_UNSTABLE = (1<<0), + SPICE_CHUNKS_FLAGS_FREE = (1<<1) +}; + +typedef struct SpiceChunks { + uint32_t data_size; + uint32_t num_chunks; + uint32_t flags; + SpiceChunk chunk[0]; +} SpiceChunks; + +typedef struct SpiceBuffer +{ + size_t capacity; + size_t offset; + uint8_t *buffer; +} SpiceBuffer; + +char *spice_strdup(const char *str) SPICE_GNUC_MALLOC; +char *spice_strndup(const char *str, size_t n_bytes) SPICE_GNUC_MALLOC; +void *spice_memdup(const void *mem, size_t n_bytes) SPICE_GNUC_MALLOC; +void *spice_malloc(size_t n_bytes) SPICE_GNUC_MALLOC SPICE_GNUC_ALLOC_SIZE(1); +void *spice_malloc0(size_t n_bytes) SPICE_GNUC_MALLOC SPICE_GNUC_ALLOC_SIZE(1); +void *spice_realloc(void *mem, size_t n_bytes) SPICE_GNUC_WARN_UNUSED_RESULT; +void *spice_malloc_n(size_t n_blocks, size_t n_block_bytes) SPICE_GNUC_MALLOC SPICE_GNUC_ALLOC_SIZE2(1,2); +void *spice_malloc_n_m(size_t n_blocks, size_t n_block_bytes, size_t extra_size) SPICE_GNUC_MALLOC; +void *spice_malloc0_n(size_t n_blocks, size_t n_block_bytes) SPICE_GNUC_MALLOC SPICE_GNUC_ALLOC_SIZE2(1,2); +void *spice_realloc_n(void *mem, size_t n_blocks, size_t n_block_bytes) SPICE_GNUC_WARN_UNUSED_RESULT; +SpiceChunks *spice_chunks_new(uint32_t count) SPICE_GNUC_MALLOC; +SpiceChunks *spice_chunks_new_linear(uint8_t *data, uint32_t len) SPICE_GNUC_MALLOC; +void spice_chunks_destroy(SpiceChunks *chunks); +void spice_chunks_linearize(SpiceChunks *chunks); + +size_t spice_strnlen(const char *str, size_t max_len); + +/* Optimize: avoid the call to the (slower) _n function if we can + * determine at compile-time that no overflow happens. + */ +#if defined (__GNUC__) && (__GNUC__ >= 2) && defined (__OPTIMIZE__) +# define _SPICE_NEW(struct_type, n_structs, func) \ + (struct_type *) (__extension__ ({ \ + size_t __n = (size_t) (n_structs); \ + size_t __s = sizeof (struct_type); \ + void *__p; \ + if (__s == 1) \ + __p = spice_##func (__n); \ + else if (__builtin_constant_p (__n) && \ + __n <= SIZE_MAX / __s) \ + __p = spice_##func (__n * __s); \ + else \ + __p = spice_##func##_n (__n, __s); \ + __p; \ + })) +# define _SPICE_RENEW(struct_type, mem, n_structs, func) \ + (struct_type *) (__extension__ ({ \ + size_t __n = (size_t) (n_structs); \ + size_t __s = sizeof (struct_type); \ + void *__p = (void *) (mem); \ + if (__s == 1) \ + __p = spice_##func (__p, __n); \ + else if (__builtin_constant_p (__n) && \ + __n <= SIZE_MAX / __s) \ + __p = spice_##func (__p, __n * __s); \ + else \ + __p = spice_##func##_n (__p, __n, __s); \ + __p; \ + })) +#else + +/* Unoptimized version: always call the _n() function. */ + +#define _SPICE_NEW(struct_type, n_structs, func) \ + ((struct_type *) spice_##func##_n ((n_structs), sizeof (struct_type))) +#define _SPICE_RENEW(struct_type, mem, n_structs, func) \ + ((struct_type *) spice_##func##_n (mem, (n_structs), sizeof (struct_type))) + +#endif + +#define spice_new(struct_type, n_structs) _SPICE_NEW(struct_type, n_structs, malloc) +#define spice_new0(struct_type, n_structs) _SPICE_NEW(struct_type, n_structs, malloc0) +#define spice_renew(struct_type, mem, n_structs) _SPICE_RENEW(struct_type, mem, n_structs, realloc) + +/* Buffer management */ +void spice_buffer_reserve(SpiceBuffer *buffer, size_t len); +int spice_buffer_empty(SpiceBuffer *buffer); +uint8_t *spice_buffer_end(SpiceBuffer *buffer); +void spice_buffer_reset(SpiceBuffer *buffer); +void spice_buffer_free(SpiceBuffer *buffer); +void spice_buffer_append(SpiceBuffer *buffer, const void *data, size_t len); +size_t spice_buffer_copy(SpiceBuffer *buffer, void *dest, size_t len); +size_t spice_buffer_remove(SpiceBuffer *buffer, size_t len); + +SPICE_END_DECLS + +#endif diff --git a/tizen/distrib/remote/common/spice-common/common/messages.h b/tizen/distrib/remote/common/spice-common/common/messages.h new file mode 100644 index 0000000..b145cfc --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/messages.h @@ -0,0 +1,613 @@ +/* + Copyright (C) 2009-2010 Red Hat, Inc. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef _H_MESSAGES +#define _H_MESSAGES + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <spice/protocol.h> +#include <spice/macros.h> + +#ifdef USE_SMARTCARD +#include <vscard_common.h> +#endif + +#include "draw.h" + +SPICE_BEGIN_DECLS + +typedef struct SpiceMsgData { + uint32_t data_size; + uint8_t data[0]; +} SpiceMsgData; + +typedef struct SpiceMsgEmpty { + uint8_t padding; +} SpiceMsgEmpty; + +typedef struct SpiceMsgInputsInit { + uint32_t keyboard_modifiers; +} SpiceMsgInputsInit; + +typedef struct SpiceMsgInputsKeyModifiers { + uint32_t modifiers; +} SpiceMsgInputsKeyModifiers; + +typedef struct SpiceMsgMainMultiMediaTime { + uint32_t time; +} SpiceMsgMainMultiMediaTime; + +typedef struct SpiceMigrationDstInfo { + uint16_t port; + uint16_t sport; + uint32_t host_size; + uint8_t *host_data; + uint16_t pub_key_type; + uint32_t pub_key_size; + uint8_t *pub_key_data; + uint32_t cert_subject_size; + uint8_t *cert_subject_data; +} SpiceMigrationDstInfo; + +typedef struct SpiceMsgMainMigrationBegin { + SpiceMigrationDstInfo dst_info; +} SpiceMsgMainMigrationBegin; + +typedef struct SpiceMsgMainMigrateBeginSeamless { + SpiceMigrationDstInfo dst_info; + uint32_t src_mig_version; +} SpiceMsgMainMigrateBeginSeamless; + +typedef struct SpiceMsgcMainMigrateDstDoSeamless { + uint32_t src_version; +} SpiceMsgcMainMigrateDstDoSeamless; + +typedef struct SpiceMsgMainMigrationSwitchHost { + uint16_t port; + uint16_t sport; + uint32_t host_size; + uint8_t *host_data; + uint32_t cert_subject_size; + uint8_t *cert_subject_data; +} SpiceMsgMainMigrationSwitchHost; + + +typedef struct SpiceMsgMigrate { + uint32_t flags; +} SpiceMsgMigrate; + +typedef struct SpiceResourceID { + uint8_t type; + uint64_t id; +} SpiceResourceID; + +typedef struct SpiceResourceList { + uint16_t count; + SpiceResourceID resources[0]; +} SpiceResourceList; + +typedef struct SpiceMsgSetAck { + uint32_t generation; + uint32_t window; +} SpiceMsgSetAck; + +typedef struct SpiceMsgcAckSync { + uint32_t generation; +} SpiceMsgcAckSync; + +typedef struct SpiceWaitForChannel { + uint8_t channel_type; + uint8_t channel_id; + uint64_t message_serial; +} SpiceWaitForChannel; + +typedef struct SpiceMsgWaitForChannels { + uint8_t wait_count; + SpiceWaitForChannel wait_list[0]; +} SpiceMsgWaitForChannels; + +typedef struct SpiceChannelId { + uint8_t type; + uint8_t id; +} SpiceChannelId; + +typedef struct SpiceMsgMainInit { + uint32_t session_id; + uint32_t display_channels_hint; + uint32_t supported_mouse_modes; + uint32_t current_mouse_mode; + uint32_t agent_connected; + uint32_t agent_tokens; + uint32_t multi_media_time; + uint32_t ram_hint; +} SpiceMsgMainInit; + +typedef struct SpiceMsgDisconnect { + uint64_t time_stamp; + uint32_t reason; // SPICE_ERR_? +} SpiceMsgDisconnect; + +typedef struct SpiceMsgNotify { + uint64_t time_stamp; + uint32_t severity; + uint32_t visibilty; + uint32_t what; + uint32_t message_len; + uint8_t message[0]; +} SpiceMsgNotify; + +typedef struct SpiceMsgChannels { + uint32_t num_of_channels; + SpiceChannelId channels[0]; +} SpiceMsgChannels; + +typedef struct SpiceMsgMainName { + uint32_t name_len; + uint8_t name[0]; +} SpiceMsgMainName; + +typedef struct SpiceMsgMainUuid { + uint8_t uuid[16]; +} SpiceMsgMainUuid; + +typedef struct SpiceMsgMainMouseMode { + uint32_t supported_modes; + uint32_t current_mode; +} SpiceMsgMainMouseMode; + +typedef struct SpiceMsgPing { + uint32_t id; + uint64_t timestamp; + void *data; + uint32_t data_len; +} SpiceMsgPing; + +typedef struct SpiceMsgMainAgentDisconnect { + uint32_t error_code; // SPICE_ERR_? +} SpiceMsgMainAgentDisconnect; + +#define SPICE_AGENT_MAX_DATA_SIZE 2048 + +typedef struct SpiceMsgMainAgentTokens { + uint32_t num_tokens; +} SpiceMsgMainAgentTokens, SpiceMsgcMainAgentTokens, SpiceMsgcMainAgentStart; + +typedef struct SpiceMsgMainAgentTokens SpiceMsgMainAgentConnectedTokens; + +typedef struct SpiceMsgcClientInfo { + uint64_t cache_size; +} SpiceMsgcClientInfo; + +typedef struct SpiceMsgcMainMouseModeRequest { + uint32_t mode; +} SpiceMsgcMainMouseModeRequest; + +typedef struct SpiceCursor { + uint32_t flags; + SpiceCursorHeader header; + uint32_t data_size; + uint8_t *data; +} SpiceCursor; + +typedef struct SpiceMsgDisplayMode { + uint32_t x_res; + uint32_t y_res; + uint32_t bits; +} SpiceMsgDisplayMode; + +typedef struct SpiceMsgSurfaceCreate { + uint32_t surface_id; + uint32_t width; + uint32_t height; + uint32_t format; + uint32_t flags; +} SpiceMsgSurfaceCreate; + +typedef struct SpiceMsgSurfaceDestroy { + uint32_t surface_id; +} SpiceMsgSurfaceDestroy; + +typedef struct SpiceMsgDisplayBase { + uint32_t surface_id; + SpiceRect box; + SpiceClip clip; +} SpiceMsgDisplayBase; + +typedef struct SpiceMsgDisplayDrawFill { + SpiceMsgDisplayBase base; + SpiceFill data; +} SpiceMsgDisplayDrawFill; + +typedef struct SpiceMsgDisplayDrawOpaque { + SpiceMsgDisplayBase base; + SpiceOpaque data; +} SpiceMsgDisplayDrawOpaque; + +typedef struct SpiceMsgDisplayDrawCopy { + SpiceMsgDisplayBase base; + SpiceCopy data; +} SpiceMsgDisplayDrawCopy; + +typedef struct SpiceMsgDisplayDrawTransparent { + SpiceMsgDisplayBase base; + SpiceTransparent data; +} SpiceMsgDisplayDrawTransparent; + +typedef struct SpiceMsgDisplayDrawAlphaBlend { + SpiceMsgDisplayBase base; + SpiceAlphaBlend data; +} SpiceMsgDisplayDrawAlphaBlend; + +typedef struct SpiceMsgDisplayDrawComposite { + SpiceMsgDisplayBase base; + SpiceComposite data; +} SpiceMsgDisplayDrawComposite; + +typedef struct SpiceMsgDisplayCopyBits { + SpiceMsgDisplayBase base; + SpicePoint src_pos; +} SpiceMsgDisplayCopyBits; + +typedef SpiceMsgDisplayDrawCopy SpiceMsgDisplayDrawBlend; + +typedef struct SpiceMsgDisplayDrawRop3 { + SpiceMsgDisplayBase base; + SpiceRop3 data; +} SpiceMsgDisplayDrawRop3; + +typedef struct SpiceMsgDisplayDrawBlackness { + SpiceMsgDisplayBase base; + SpiceBlackness data; +} SpiceMsgDisplayDrawBlackness; + +typedef struct SpiceMsgDisplayDrawWhiteness { + SpiceMsgDisplayBase base; + SpiceWhiteness data; +} SpiceMsgDisplayDrawWhiteness; + +typedef struct SpiceMsgDisplayDrawInvers { + SpiceMsgDisplayBase base; + SpiceInvers data; +} SpiceMsgDisplayDrawInvers; + +typedef struct SpiceMsgDisplayDrawStroke { + SpiceMsgDisplayBase base; + SpiceStroke data; +} SpiceMsgDisplayDrawStroke; + +typedef struct SpiceMsgDisplayDrawText { + SpiceMsgDisplayBase base; + SpiceText data; +} SpiceMsgDisplayDrawText; + +typedef struct SpiceMsgDisplayInvalOne { + uint64_t id; +} SpiceMsgDisplayInvalOne; + +typedef struct SpiceMsgDisplayStreamCreate { + uint32_t surface_id; + uint32_t id; + uint32_t flags; + uint32_t codec_type; + uint64_t stamp; + uint32_t stream_width; + uint32_t stream_height; + uint32_t src_width; + uint32_t src_height; + SpiceRect dest; + SpiceClip clip; +} SpiceMsgDisplayStreamCreate; + +typedef struct SpiceStreamDataHeader { + uint32_t id; + uint32_t multi_media_time; +} SpiceStreamDataHeader; + +typedef struct SpiceMsgDisplayStreamData { + SpiceStreamDataHeader base; + uint32_t data_size; + uint8_t data[0]; +} SpiceMsgDisplayStreamData; + +typedef struct SpiceMsgDisplayStreamDataSized { + SpiceStreamDataHeader base; + uint32_t width; + uint32_t height; + SpiceRect dest; + uint32_t data_size; + uint8_t data[0]; +} SpiceMsgDisplayStreamDataSized; + +typedef struct SpiceMsgDisplayStreamClip { + uint32_t id; + SpiceClip clip; +} SpiceMsgDisplayStreamClip; + +typedef struct SpiceMsgDisplayStreamDestroy { + uint32_t id; +} SpiceMsgDisplayStreamDestroy; + +typedef struct SpiceMsgCursorInit { + SpicePoint16 position; + uint16_t trail_length; + uint16_t trail_frequency; + uint8_t visible; + SpiceCursor cursor; +} SpiceMsgCursorInit; + +typedef struct SpiceMsgCursorSet { + SpicePoint16 position; + uint8_t visible; + SpiceCursor cursor; +} SpiceMsgCursorSet; + +typedef struct SpiceMsgCursorMove { + SpicePoint16 position; +} SpiceMsgCursorMove; + +typedef struct SpiceMsgCursorTrail { + uint16_t length; + uint16_t frequency; +} SpiceMsgCursorTrail; + +typedef struct SpiceMsgcDisplayInit { + uint8_t pixmap_cache_id; + int64_t pixmap_cache_size; //in pixels + uint8_t glz_dictionary_id; + int32_t glz_dictionary_window_size; // in pixels +} SpiceMsgcDisplayInit; + +typedef struct SpiceMsgcKeyDown { + uint32_t code; +} SpiceMsgcKeyDown; + +typedef struct SpiceMsgcKeyUp { + uint32_t code; +} SpiceMsgcKeyUp; + +typedef struct SpiceMsgcKeyModifiers { + uint32_t modifiers; +} SpiceMsgcKeyModifiers; + +typedef struct SpiceMsgcMouseMotion { + int32_t dx; + int32_t dy; + uint32_t buttons_state; +} SpiceMsgcMouseMotion; + +typedef struct SpiceMsgcMousePosition { + uint32_t x; + uint32_t y; + uint32_t buttons_state; + uint8_t display_id; +} SpiceMsgcMousePosition; + +typedef struct SpiceMsgcMousePress { + int32_t button; + int32_t buttons_state; +} SpiceMsgcMousePress; + +typedef struct SpiceMsgcMouseRelease { + int32_t button; + int32_t buttons_state; +} SpiceMsgcMouseRelease; + +typedef struct SpiceMsgAudioVolume { + uint8_t nchannels; + uint16_t volume[0]; +} SpiceMsgAudioVolume; + +typedef struct SpiceMsgAudioMute { + uint8_t mute; +} SpiceMsgAudioMute; + +typedef struct SpiceMsgPlaybackMode { + uint32_t time; + uint32_t mode; //SPICE_AUDIO_DATA_MODE_? + uint8_t *data; + uint32_t data_size; +} SpiceMsgPlaybackMode, SpiceMsgcRecordMode; + +typedef struct SpiceMsgPlaybackStart { + uint32_t channels; + uint32_t format; //SPICE_AUDIO_FMT_? + uint32_t frequency; + uint32_t time; +} SpiceMsgPlaybackStart; + +typedef struct SpiceMsgPlaybackPacket { + uint32_t time; + uint8_t *data; + uint32_t data_size; +} SpiceMsgPlaybackPacket, SpiceMsgcRecordPacket; + +typedef struct SpiceMsgRecordStart { + uint32_t channels; + uint32_t format; //SPICE_AUDIO_FMT_? + uint32_t frequency; +} SpiceMsgRecordStart; + +typedef struct SpiceMsgcRecordStartMark { + uint32_t time; +} SpiceMsgcRecordStartMark; + +typedef struct SpiceMsgTunnelInit { + uint16_t max_num_of_sockets; + uint32_t max_socket_data_size; +} SpiceMsgTunnelInit; + +typedef uint8_t SpiceTunnelIPv4[4]; + +typedef struct SpiceMsgTunnelIpInfo { + uint16_t type; + union { + SpiceTunnelIPv4 ipv4; + } u; + uint8_t data[0]; +} SpiceMsgTunnelIpInfo; + +typedef struct SpiceMsgTunnelServiceIpMap { + uint32_t service_id; + SpiceMsgTunnelIpInfo virtual_ip; +} SpiceMsgTunnelServiceIpMap; + +typedef struct SpiceMsgTunnelSocketOpen { + uint16_t connection_id; + uint32_t service_id; + uint32_t tokens; +} SpiceMsgTunnelSocketOpen; + +/* connection id must be the first field in msgs directed to a specific connection */ + +typedef struct SpiceMsgTunnelSocketFin { + uint16_t connection_id; +} SpiceMsgTunnelSocketFin; + +typedef struct SpiceMsgTunnelSocketClose { + uint16_t connection_id; +} SpiceMsgTunnelSocketClose; + +typedef struct SpiceMsgTunnelSocketData { + uint16_t connection_id; + uint8_t data[0]; +} SpiceMsgTunnelSocketData; + +typedef struct SpiceMsgTunnelSocketTokens { + uint16_t connection_id; + uint32_t num_tokens; +} SpiceMsgTunnelSocketTokens; + +typedef struct SpiceMsgTunnelSocketClosedAck { + uint16_t connection_id; +} SpiceMsgTunnelSocketClosedAck; + +typedef struct SpiceMsgcTunnelAddGenericService { + uint32_t type; + uint32_t id; + uint32_t group; + uint32_t port; + uint64_t name; + uint64_t description; + union { + SpiceMsgTunnelIpInfo ip; + } u; +} SpiceMsgcTunnelAddGenericService; + +typedef struct SpiceMsgcTunnelRemoveService { + uint32_t id; +} SpiceMsgcTunnelRemoveService; + +/* connection id must be the first field in msgs directed to a specific connection */ + +typedef struct SpiceMsgcTunnelSocketOpenAck { + uint16_t connection_id; + uint32_t tokens; +} SpiceMsgcTunnelSocketOpenAck; + +typedef struct SpiceMsgcTunnelSocketOpenNack { + uint16_t connection_id; +} SpiceMsgcTunnelSocketOpenNack; + +typedef struct SpiceMsgcTunnelSocketData { + uint16_t connection_id; + uint8_t data[0]; +} SpiceMsgcTunnelSocketData; + +typedef struct SpiceMsgcTunnelSocketFin { + uint16_t connection_id; +} SpiceMsgcTunnelSocketFin; + +typedef struct SpiceMsgcTunnelSocketClosed { + uint16_t connection_id; +} SpiceMsgcTunnelSocketClosed; + +typedef struct SpiceMsgcTunnelSocketClosedAck { + uint16_t connection_id; +} SpiceMsgcTunnelSocketClosedAck; + +typedef struct SpiceMsgcTunnelSocketTokens { + uint16_t connection_id; + uint32_t num_tokens; +} SpiceMsgcTunnelSocketTokens; + +#ifdef USE_SMARTCARD +typedef struct SpiceMsgSmartcard { + VSCMsgType type; + uint32_t length; + uint32_t reader_id; + uint8_t data[0]; +} SpiceMsgSmartcard; + +typedef struct SpiceMsgcSmartcard { + VSCMsgHeader header; + union { + VSCMsgError error; + VSCMsgATR atr_data; + VSCMsgReaderAdd add; + }; +} SpiceMsgcSmartcard; +#endif + +typedef struct SpiceMsgDisplayHead { + uint32_t id; + uint32_t surface_id; + uint32_t width; + uint32_t height; + uint32_t x; + uint32_t y; + uint32_t flags; +} SpiceHead; + +typedef struct SpiceMsgDisplayMonitorsConfig { + uint16_t count; + uint16_t max_allowed; + SpiceHead heads[0]; +} SpiceMsgDisplayMonitorsConfig; + +typedef struct SpiceMsgPortInit { + uint32_t name_size; + uint8_t *name; + uint8_t opened; +} SpiceMsgPortInit; + +typedef struct SpiceMsgPortEvent { + uint8_t event; +} SpiceMsgPortEvent; + +typedef struct SpiceMsgcPortEvent { + uint8_t event; +} SpiceMsgcPortEvent; + +SPICE_END_DECLS + +#endif /* _H_SPICE_PROTOCOL */ diff --git a/tizen/distrib/remote/common/spice-common/common/mutex.h b/tizen/distrib/remote/common/spice-common/common/mutex.h new file mode 100644 index 0000000..3e2e0de --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/mutex.h @@ -0,0 +1,42 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_MUTEX +#define _H_MUTEX + +#include <spice/macros.h> + +SPICE_BEGIN_DECLS + +#ifdef _WIN32 +#include <windows.h> +typedef CRITICAL_SECTION mutex_t; +#define MUTEX_INIT(mutex) InitializeCriticalSection(&mutex) +#define MUTEX_LOCK(mutex) EnterCriticalSection(&mutex) +#define MUTEX_UNLOCK(mutex) LeaveCriticalSection(&mutex) +#else +#include <pthread.h> +typedef pthread_mutex_t mutex_t; +#define MUTEX_INIT(mutex) pthread_mutex_init(&mutex, NULL); +#define MUTEX_LOCK(mutex) pthread_mutex_lock(&mutex) +#define MUTEX_UNLOCK(mutex) pthread_mutex_unlock(&mutex) +#endif + +SPICE_END_DECLS + +#endif // _H_MUTEX diff --git a/tizen/distrib/remote/common/spice-common/common/ogl_ctx.c b/tizen/distrib/remote/common/spice-common/common/ogl_ctx.c new file mode 100644 index 0000000..b4e60fb --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/ogl_ctx.c @@ -0,0 +1,251 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <stdlib.h> +#include <stdio.h> +#include <X11/Xlib.h> +#include <GL/glx.h> + +#include "ogl_ctx.h" +#include "spice_common.h" + +enum { + OGLCTX_TYPE_PBUF, + OGLCTX_TYPE_PIXMAP, +}; + +struct OGLCtx { + int type; + Display *x_display; + GLXContext glx_context; + GLXDrawable drawable; +}; + +typedef struct OGLPixmapCtx { + OGLCtx base; + Pixmap pixmap; +} OGLPixmapCtx; + + + +const char *oglctx_type_str(OGLCtx *ctx) +{ + static const char *pbuf_str = "pbuf"; + static const char *pixmap_str = "pixmap"; + static const char *invalid_str = "invalid"; + + switch (ctx->type) { + case OGLCTX_TYPE_PBUF: + return pbuf_str; + case OGLCTX_TYPE_PIXMAP: + return pixmap_str; + default: + return invalid_str; + } +} + +void oglctx_make_current(OGLCtx *ctx) +{ + if (!glXMakeCurrent(ctx->x_display, ctx->drawable, ctx->glx_context)) { + printf("%s: failed\n", __FUNCTION__); + } +} + +OGLCtx *pbuf_create(int width, int heigth) +{ + OGLCtx *ctx; + Display *x_display; + int num_configs; + GLXFBConfig *fb_config; + GLXPbuffer glx_pbuf; + GLXContext glx_context; + + const int glx_attributes[] = { GLX_RENDER_TYPE, GLX_RGBA_BIT, + GLX_DRAWABLE_TYPE, GLX_PBUFFER_BIT, + GLX_RED_SIZE, 8, + GLX_GREEN_SIZE, 8, + GLX_BLUE_SIZE, 8, + GLX_ALPHA_SIZE, 8, + GLX_STENCIL_SIZE, 4, + 0 }; + + int pbuf_attrib[] = { GLX_PRESERVED_CONTENTS, True, + GLX_PBUFFER_WIDTH, width, + GLX_PBUFFER_HEIGHT, heigth, + GLX_LARGEST_PBUFFER, False, + 0, 0 }; + + if (!(ctx = calloc(1, sizeof(*ctx)))) { + printf("%s: alloc pbuf failed\n", __FUNCTION__); + return NULL; + } + + if (!(x_display = XOpenDisplay(NULL))) { + printf("%s: open display failed\n", __FUNCTION__); + goto error_1; + } + + if (!(fb_config = glXChooseFBConfig(x_display, 0, glx_attributes, &num_configs)) || + !num_configs) { + printf("%s: choose fb config failed\n", __FUNCTION__); + goto error_2; + } + + if (!(glx_pbuf = glXCreatePbuffer(x_display, fb_config[0], pbuf_attrib))) { + goto error_3; + } + + if (!(glx_context = glXCreateNewContext(x_display, fb_config[0], GLX_RGBA_TYPE, NULL, True))) { + printf("%s: create context failed\n", __FUNCTION__); + goto error_4; + } + + XFree(fb_config); + + ctx->type = OGLCTX_TYPE_PBUF; + ctx->drawable = glx_pbuf; + ctx->glx_context = glx_context; + ctx->x_display = x_display; + + return ctx; + +error_4: + glXDestroyPbuffer(x_display, glx_pbuf); + +error_3: + XFree(fb_config); + +error_2: + XCloseDisplay(x_display); + +error_1: + free(ctx); + + return NULL; +} + +OGLCtx *pixmap_create(int width, int heigth) +{ + Display *x_display; + int num_configs; + GLXFBConfig *fb_config; + GLXPixmap glx_pixmap; + GLXContext glx_context; + Pixmap pixmap; + int screen; + Window root_window; + OGLPixmapCtx *pix; + + const int glx_attributes[] = { GLX_RENDER_TYPE, GLX_RGBA_BIT, + GLX_DRAWABLE_TYPE, GLX_PIXMAP_BIT, + GLX_RED_SIZE, 8, + GLX_GREEN_SIZE, 8, + GLX_BLUE_SIZE, 8, + GLX_ALPHA_SIZE, 8, + GLX_STENCIL_SIZE, 4, + 0 }; + + if (!(pix = calloc(1, sizeof(*pix)))) { + printf("%s: alloc pix failed\n", __FUNCTION__); + return NULL; + } + + if (!(x_display = XOpenDisplay(NULL))) { + printf("%s: open display failed\n", __FUNCTION__); + goto error_1; + } + + screen = DefaultScreen(x_display); + root_window = RootWindow(x_display, screen); + + if (!(fb_config = glXChooseFBConfig(x_display, 0, glx_attributes, &num_configs)) || + !num_configs) { + printf("%s: choose fb config failed\n", __FUNCTION__); + goto error_2; + } + + if (!(pixmap = XCreatePixmap(x_display, root_window, width, heigth, 32 /*use fb config*/))) { + printf("%s: create x pixmap failed\n", __FUNCTION__); + goto error_3; + } + + if (!(glx_pixmap = glXCreatePixmap(x_display, fb_config[0], pixmap, NULL))) { + printf("%s: create glx pixmap failed\n", __FUNCTION__); + goto error_4; + } + + + if (!(glx_context = glXCreateNewContext(x_display, fb_config[0], GLX_RGBA_TYPE, NULL, True))) { + printf("%s: create context failed\n", __FUNCTION__); + goto error_5; + } + + XFree(fb_config); + + pix->base.type = OGLCTX_TYPE_PIXMAP; + pix->base.x_display = x_display; + pix->base.drawable = glx_pixmap; + pix->base.glx_context = glx_context; + pix->pixmap = pixmap; + + return &pix->base; + +error_5: + glXDestroyPixmap(x_display, glx_pixmap); + +error_4: + XFreePixmap(x_display, pixmap); + +error_3: + XFree(fb_config); + +error_2: + XCloseDisplay(x_display); + +error_1: + free(pix); + + return NULL; +} + +void oglctx_destroy(OGLCtx *ctx) +{ + if (!ctx) { + return; + } + // test is current ? + + glXDestroyContext(ctx->x_display, ctx->glx_context); + switch (ctx->type) { + case OGLCTX_TYPE_PBUF: + glXDestroyPbuffer(ctx->x_display, ctx->drawable); + break; + case OGLCTX_TYPE_PIXMAP: + glXDestroyPixmap(ctx->x_display, ctx->drawable); + XFreePixmap(ctx->x_display, ((OGLPixmapCtx *)ctx)->pixmap); + break; + default: + spice_error("invalid ogl ctx type"); + } + + XCloseDisplay(ctx->x_display); + free(ctx); +} diff --git a/tizen/distrib/remote/common/spice-common/common/ogl_ctx.h b/tizen/distrib/remote/common/spice-common/common/ogl_ctx.h new file mode 100644 index 0000000..5a5935e --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/ogl_ctx.h @@ -0,0 +1,36 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_GLCTX +#define _H_GLCTX + +#include <spice/macros.h> + +SPICE_BEGIN_DECLS + +typedef struct OGLCtx OGLCtx; + +const char *oglctx_type_str(OGLCtx *ctx); +void oglctx_make_current(OGLCtx *ctx); +OGLCtx *pbuf_create(int width, int heigth); +OGLCtx *pixmap_create(int width, int heigth); +void oglctx_destroy(OGLCtx *ctx); + +SPICE_END_DECLS + +#endif diff --git a/tizen/distrib/remote/common/spice-common/common/pixman_utils.c b/tizen/distrib/remote/common/spice-common/common/pixman_utils.c new file mode 100644 index 0000000..311c22e --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/pixman_utils.c @@ -0,0 +1,1614 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "pixman_utils.h" +#include "spice_common.h" +#include <spice/macros.h> + +#include <stdlib.h> +#include <string.h> +#include <stdio.h> +#include "mem.h" + +#define SOLID_RASTER_OP(_name, _size, _type, _equation) \ +static void \ +solid_rop_ ## _name ## _ ## _size (_type *ptr, int len, _type src) \ +{ \ + while (len--) { \ + _type dst = *ptr; \ + if (dst) /* avoid unused warning */{}; \ + *ptr = (_type)(_equation); \ + ptr++; \ + } \ +} \ + +#define TILED_RASTER_OP(_name, _size, _type, _equation) \ +static void \ +tiled_rop_ ## _name ## _ ## _size (_type *ptr, int len, _type *tile, _type *tile_end, int tile_width) \ +{ \ + while (len--) { \ + _type src = *tile; \ + _type dst = *ptr; \ + if (src) /* avoid unused warning */{}; \ + if (dst) /* avoid unused warning */{}; \ + *ptr = (_type)(_equation); \ + ptr++; \ + tile++; \ + if (tile == tile_end) \ + tile -= tile_width; \ + } \ +} \ + +#define COPY_RASTER_OP(_name, _size, _type, _equation) \ +static void \ + copy_rop_ ## _name ## _ ## _size (_type *ptr, _type *src_line, int len) \ +{ \ + while (len--) { \ + _type src = *src_line; \ + _type dst = *ptr; \ + if (src) /* avoid unused warning */ {}; \ + if (dst) /* avoid unused warning */{}; \ + *ptr = (_type)(_equation); \ + ptr++; \ + src_line++; \ + } \ +} \ + +#define RASTER_OP(name, equation) \ + SOLID_RASTER_OP(name, 8, uint8_t, equation) \ + SOLID_RASTER_OP(name, 16, uint16_t, equation) \ + SOLID_RASTER_OP(name, 32, uint32_t, equation) \ + TILED_RASTER_OP(name, 8, uint8_t, equation) \ + TILED_RASTER_OP(name, 16, uint16_t, equation) \ + TILED_RASTER_OP(name, 32, uint32_t, equation) \ + COPY_RASTER_OP(name, 8, uint8_t, equation) \ + COPY_RASTER_OP(name, 16, uint16_t, equation) \ + COPY_RASTER_OP(name, 32, uint32_t, equation) + +RASTER_OP(clear, 0x0) +RASTER_OP(and, src & dst) +RASTER_OP(and_reverse, src & ~dst) +RASTER_OP(copy, src) +RASTER_OP(and_inverted, ~src & dst) +RASTER_OP(noop, dst) +RASTER_OP(xor, src ^ dst) +RASTER_OP(or, src | dst) +RASTER_OP(nor, ~src & ~dst) +RASTER_OP(equiv, ~src ^ dst) +RASTER_OP(invert, ~dst) +RASTER_OP(or_reverse, src | ~dst) +RASTER_OP(copy_inverted, ~src) +RASTER_OP(or_inverted, ~src | dst) +RASTER_OP(nand, ~src | ~dst) +RASTER_OP(set, 0xffffffff) + +typedef void (*solid_rop_8_func_t)(uint8_t *ptr, int len, uint8_t src); +typedef void (*solid_rop_16_func_t)(uint16_t *ptr, int len, uint16_t src); +typedef void (*solid_rop_32_func_t)(uint32_t *ptr, int len, uint32_t src); +typedef void (*tiled_rop_8_func_t)(uint8_t *ptr, int len, + uint8_t *tile, uint8_t *tile_end, int tile_width); +typedef void (*tiled_rop_16_func_t)(uint16_t *ptr, int len, + uint16_t *tile, uint16_t *tile_end, int tile_width); +typedef void (*tiled_rop_32_func_t)(uint32_t *ptr, int len, + uint32_t *tile, uint32_t *tile_end, int tile_width); +typedef void (*copy_rop_8_func_t)(uint8_t *ptr, uint8_t *src, int len); +typedef void (*copy_rop_16_func_t)(uint16_t *ptr, uint16_t *src, int len); +typedef void (*copy_rop_32_func_t)(uint32_t *ptr, uint32_t *src, int len); + +#define ROP_TABLE(_type, _size) \ +static void (*solid_rops_ ## _size[16]) (_type *ptr, int len, _type src) = { \ + solid_rop_clear_ ## _size, \ + solid_rop_and_ ## _size, \ + solid_rop_and_reverse_ ## _size, \ + solid_rop_copy_ ## _size, \ + solid_rop_and_inverted_ ## _size, \ + solid_rop_noop_ ## _size, \ + solid_rop_xor_ ## _size, \ + solid_rop_or_ ## _size, \ + solid_rop_nor_ ## _size, \ + solid_rop_equiv_ ## _size, \ + solid_rop_invert_ ## _size, \ + solid_rop_or_reverse_ ## _size, \ + solid_rop_copy_inverted_ ## _size, \ + solid_rop_or_inverted_ ## _size, \ + solid_rop_nand_ ## _size, \ + solid_rop_set_ ## _size \ +}; \ +static void (*tiled_rops_ ## _size[16]) (_type *ptr, int len, _type *tile, _type *tile_end, int tile_width) = { \ + tiled_rop_clear_ ## _size, \ + tiled_rop_and_ ## _size, \ + tiled_rop_and_reverse_ ## _size, \ + tiled_rop_copy_ ## _size, \ + tiled_rop_and_inverted_ ## _size, \ + tiled_rop_noop_ ## _size, \ + tiled_rop_xor_ ## _size, \ + tiled_rop_or_ ## _size, \ + tiled_rop_nor_ ## _size, \ + tiled_rop_equiv_ ## _size, \ + tiled_rop_invert_ ## _size, \ + tiled_rop_or_reverse_ ## _size, \ + tiled_rop_copy_inverted_ ## _size, \ + tiled_rop_or_inverted_ ## _size, \ + tiled_rop_nand_ ## _size, \ + tiled_rop_set_ ## _size \ +}; \ +static void (*copy_rops_ ## _size[16]) (_type *ptr, _type *tile, int len) = { \ + copy_rop_clear_ ## _size, \ + copy_rop_and_ ## _size, \ + copy_rop_and_reverse_ ## _size, \ + copy_rop_copy_ ## _size, \ + copy_rop_and_inverted_ ## _size, \ + copy_rop_noop_ ## _size, \ + copy_rop_xor_ ## _size, \ + copy_rop_or_ ## _size, \ + copy_rop_nor_ ## _size, \ + copy_rop_equiv_ ## _size, \ + copy_rop_invert_ ## _size, \ + copy_rop_or_reverse_ ## _size, \ + copy_rop_copy_inverted_ ## _size, \ + copy_rop_or_inverted_ ## _size, \ + copy_rop_nand_ ## _size, \ + copy_rop_set_ ## _size \ +}; + +ROP_TABLE(uint8_t, 8) +ROP_TABLE(uint16_t, 16) +ROP_TABLE(uint32_t, 32) + +/* We can't get the real bits per pixel info from pixman_image_t, + only the DEPTH which is the sum of all a+r+g+b bits, which + is e.g. 24 for 32bit xRGB. We really want the bpp, so + we have this ugly conversion thing */ +int spice_pixman_image_get_bpp(pixman_image_t *image) +{ + int depth; + + depth = pixman_image_get_depth(image); + if (depth == 24) { + return 32; + } + if (depth == 15) { + return 16; + } + return depth; +} + +void spice_pixman_fill_rect(pixman_image_t *dest, + int x, int y, + int width, int height, + uint32_t value) +{ + uint32_t *bits; + int stride, depth; + uint32_t byte_width; + uint8_t *byte_line; + + bits = pixman_image_get_data(dest); + stride = pixman_image_get_stride(dest); + depth = spice_pixman_image_get_bpp(dest); + /* stride is in bytes, depth in bits */ + + spice_assert(x >= 0); + spice_assert(y >= 0); + spice_assert(width > 0); + spice_assert(height > 0); + spice_assert(x + width <= pixman_image_get_width(dest)); + spice_assert(y + height <= pixman_image_get_height(dest)); + + if (pixman_fill(bits, + stride / 4, + depth, + x, y, + width, height, + value)) { + return; + } + + if (depth == 8) { + byte_line = ((uint8_t *)bits) + stride * y + x; + byte_width = width; + value = (value & 0xff) * 0x01010101; + } else if (depth == 16) { + byte_line = ((uint8_t *)bits) + stride * y + x * 2; + byte_width = 2 * width; + value = (value & 0xffff) * 0x00010001; + } else { + spice_assert (depth == 32); + byte_line = ((uint8_t *)bits) + stride * y + x * 4; + byte_width = 4 * width; + } + + while (height--) { + int w; + uint8_t *d = byte_line; + + byte_line += stride; + w = byte_width; + + while (w >= 1 && ((uintptr_t)d & 1)) { + *(uint8_t *)d = (value & 0xff); + w--; + d++; + } + + while (w >= 2 && ((uintptr_t)d & 3)) { + *(uint16_t *)d = value; + w -= 2; + d += 2; + } + + while (w >= 4 && ((uintptr_t)d & 7)) { + *(uint32_t *)d = value; + + w -= 4; + d += 4; + } + + while (w >= 4) { + *(uint32_t *)d = value; + + w -= 4; + d += 4; + } + + while (w >= 2) { + *(uint16_t *)d = value; + w -= 2; + d += 2; + } + + while (w >= 1) { + *(uint8_t *)d = (value & 0xff); + w--; + d++; + } + } +} + +void spice_pixman_fill_rect_rop(pixman_image_t *dest, + int x, int y, + int width, int height, + uint32_t value, + SpiceROP rop) +{ + uint32_t *bits; + int stride, depth; + uint8_t *byte_line; + + bits = pixman_image_get_data(dest); + stride = pixman_image_get_stride(dest); + depth = spice_pixman_image_get_bpp(dest); + /* stride is in bytes, depth in bits */ + + spice_assert(x >= 0); + spice_assert(y >= 0); + spice_assert(width > 0); + spice_assert(height > 0); + spice_assert(x + width <= pixman_image_get_width(dest)); + spice_assert(y + height <= pixman_image_get_height(dest)); + spice_assert(rop < 16); + + if (depth == 8) { + solid_rop_8_func_t rop_func = solid_rops_8[rop]; + + byte_line = ((uint8_t *)bits) + stride * y + x; + while (height--) { + rop_func((uint8_t *)byte_line, width, (uint8_t)value); + byte_line += stride; + } + + } else if (depth == 16) { + solid_rop_16_func_t rop_func = solid_rops_16[rop]; + + byte_line = ((uint8_t *)bits) + stride * y + x * 2; + while (height--) { + rop_func((uint16_t *)byte_line, width, (uint16_t)value); + byte_line += stride; + } + } else { + solid_rop_32_func_t rop_func = solid_rops_32[rop]; + + byte_line = ((uint8_t *)bits) + stride * y + x * 4; + while (height--) { + rop_func((uint32_t *)byte_line, width, (uint32_t)value); + byte_line += stride; + } + } +} + +void spice_pixman_tile_rect(pixman_image_t *dest, + int x, int y, + int width, int height, + pixman_image_t *tile, + int offset_x, + int offset_y) +{ + uint32_t *bits, *tile_bits; + int stride, depth; + int tile_width, tile_height, tile_stride; + uint8_t *byte_line; + uint8_t *tile_line; + int tile_start_x, tile_start_y, tile_end_dx; + + bits = pixman_image_get_data(dest); + stride = pixman_image_get_stride(dest); + depth = spice_pixman_image_get_bpp(dest); + /* stride is in bytes, depth in bits */ + + tile_bits = pixman_image_get_data(tile); + tile_stride = pixman_image_get_stride(tile); + tile_width = pixman_image_get_width(tile); + tile_height = pixman_image_get_height(tile); + + spice_assert(x >= 0); + spice_assert(y >= 0); + spice_assert(width > 0); + spice_assert(height > 0); + spice_assert(x + width <= pixman_image_get_width(dest)); + spice_assert(y + height <= pixman_image_get_height(dest)); + spice_assert(depth == spice_pixman_image_get_bpp(tile)); + + tile_start_x = (x - offset_x) % tile_width; + if (tile_start_x < 0) { + tile_start_x += tile_width; + } + tile_start_y = (y - offset_y) % tile_height; + if (tile_start_y < 0) { + tile_start_y += tile_height; + } + tile_end_dx = tile_width - tile_start_x; + + if (depth == 8) { + byte_line = ((uint8_t *)bits) + stride * y + x; + tile_line = ((uint8_t *)tile_bits) + tile_stride * tile_start_y + tile_start_x; + while (height--) { + tiled_rop_copy_8((uint8_t *)byte_line, width, + (uint8_t *)tile_line, (uint8_t *)tile_line + tile_end_dx, + tile_width); + byte_line += stride; + tile_line += tile_stride; + if (++tile_start_y == tile_height) { + tile_line -= tile_height * tile_stride; + tile_start_y = 0; + } + } + + } else if (depth == 16) { + byte_line = ((uint8_t *)bits) + stride * y + x * 2; + tile_line = ((uint8_t *)tile_bits) + tile_stride * tile_start_y + tile_start_x * 2; + while (height--) { + tiled_rop_copy_16((uint16_t *)byte_line, width, + (uint16_t *)tile_line, (uint16_t *)tile_line + tile_end_dx, + tile_width); + byte_line += stride; + tile_line += tile_stride; + if (++tile_start_y == tile_height) { + tile_line -= tile_height * tile_stride; + tile_start_y = 0; + } + } + } else { + spice_assert (depth == 32); + + byte_line = ((uint8_t *)bits) + stride * y + x * 4; + tile_line = ((uint8_t *)tile_bits) + tile_stride * tile_start_y + tile_start_x * 4; + while (height--) { + tiled_rop_copy_32((uint32_t *)byte_line, width, + (uint32_t *)tile_line, (uint32_t *)tile_line + tile_end_dx, + tile_width); + byte_line += stride; + tile_line += tile_stride; + if (++tile_start_y == tile_height) { + tile_line -= tile_height * tile_stride; + tile_start_y = 0; + } + } + } +} + +void spice_pixman_tile_rect_rop(pixman_image_t *dest, + int x, int y, + int width, int height, + pixman_image_t *tile, + int offset_x, + int offset_y, + SpiceROP rop) +{ + uint32_t *bits, *tile_bits; + int stride, depth; + int tile_width, tile_height, tile_stride; + uint8_t *byte_line; + uint8_t *tile_line; + int tile_start_x, tile_start_y, tile_end_dx; + + bits = pixman_image_get_data(dest); + stride = pixman_image_get_stride(dest); + depth = spice_pixman_image_get_bpp(dest); + /* stride is in bytes, depth in bits */ + + tile_bits = pixman_image_get_data(tile); + tile_stride = pixman_image_get_stride(tile); + tile_width = pixman_image_get_width(tile); + tile_height = pixman_image_get_height(tile); + + spice_assert(x >= 0); + spice_assert(y >= 0); + spice_assert(width > 0); + spice_assert(height > 0); + spice_assert(x + width <= pixman_image_get_width(dest)); + spice_assert(y + height <= pixman_image_get_height(dest)); + spice_assert(rop < 16); + spice_assert(depth == spice_pixman_image_get_bpp(tile)); + + tile_start_x = (x - offset_x) % tile_width; + if (tile_start_x < 0) { + tile_start_x += tile_width; + } + tile_start_y = (y - offset_y) % tile_height; + if (tile_start_y < 0) { + tile_start_y += tile_height; + } + tile_end_dx = tile_width - tile_start_x; + + if (depth == 8) { + tiled_rop_8_func_t rop_func = tiled_rops_8[rop]; + + byte_line = ((uint8_t *)bits) + stride * y + x; + tile_line = ((uint8_t *)tile_bits) + tile_stride * tile_start_y + tile_start_x; + while (height--) { + rop_func((uint8_t *)byte_line, width, + (uint8_t *)tile_line, (uint8_t *)tile_line + tile_end_dx, + tile_width); + byte_line += stride; + tile_line += tile_stride; + if (++tile_start_y == tile_height) { + tile_line -= tile_height * tile_stride; + tile_start_y = 0; + } + } + + } else if (depth == 16) { + tiled_rop_16_func_t rop_func = tiled_rops_16[rop]; + + byte_line = ((uint8_t *)bits) + stride * y + x * 2; + tile_line = ((uint8_t *)tile_bits) + tile_stride * tile_start_y + tile_start_x * 2; + while (height--) { + rop_func((uint16_t *)byte_line, width, + (uint16_t *)tile_line, (uint16_t *)tile_line + tile_end_dx, + tile_width); + byte_line += stride; + tile_line += tile_stride; + if (++tile_start_y == tile_height) { + tile_line -= tile_height * tile_stride; + tile_start_y = 0; + } + } + } else { + tiled_rop_32_func_t rop_func = tiled_rops_32[rop]; + + spice_assert (depth == 32); + + byte_line = ((uint8_t *)bits) + stride * y + x * 4; + tile_line = ((uint8_t *)tile_bits) + tile_stride * tile_start_y + tile_start_x * 4; + while (height--) { + rop_func((uint32_t *)byte_line, width, + (uint32_t *)tile_line, (uint32_t *)tile_line + tile_end_dx, + tile_width); + byte_line += stride; + tile_line += tile_stride; + if (++tile_start_y == tile_height) { + tile_line -= tile_height * tile_stride; + tile_start_y = 0; + } + } + } +} + + +void spice_pixman_blit(pixman_image_t *dest, + pixman_image_t *src, + int src_x, int src_y, + int dest_x, int dest_y, + int width, int height) +{ + uint32_t *bits, *src_bits; + int stride, depth, src_depth; + int src_width, src_height, src_stride; + uint8_t *byte_line; + uint8_t *src_line; + int byte_width; + + if (!src) { + fprintf(stderr, "missing src!"); + return; + } + + bits = pixman_image_get_data(dest); + stride = pixman_image_get_stride(dest); + depth = spice_pixman_image_get_bpp(dest); + /* stride is in bytes, depth in bits */ + + src_bits = pixman_image_get_data(src); + src_stride = pixman_image_get_stride(src); + src_width = pixman_image_get_width(src); + src_height = pixman_image_get_height(src); + src_depth = spice_pixman_image_get_bpp(src); + + /* Clip source */ + if (src_x < 0) { + width += src_x; + dest_x -= src_x; + src_x = 0; + } + if (src_y < 0) { + height += src_y; + dest_y -= src_y; + src_y = 0; + } + if (src_x + width > src_width) { + width = src_width - src_x; + } + if (src_y + height > src_height) { + height = src_height - src_y; + } + + if (width <= 0 || height <= 0) { + return; + } + + spice_assert(src_x >= 0); + spice_assert(src_y >= 0); + spice_assert(dest_x >= 0); + spice_assert(dest_y >= 0); + spice_assert(width > 0); + spice_assert(height > 0); + spice_assert(dest_x + width <= pixman_image_get_width(dest)); + spice_assert(dest_y + height <= pixman_image_get_height(dest)); + spice_assert(src_x + width <= pixman_image_get_width(src)); + spice_assert(src_y + height <= pixman_image_get_height(src)); + spice_assert(depth == src_depth); + + if (pixman_blt(src_bits, + bits, + src_stride / 4, + stride / 4, + depth, depth, + src_x, src_y, + dest_x, dest_y, + width, height)) { + return; + } + + if (depth == 8) { + byte_line = ((uint8_t *)bits) + stride * dest_y + dest_x; + byte_width = width; + src_line = ((uint8_t *)src_bits) + src_stride * src_y + src_x; + } else if (depth == 16) { + byte_line = ((uint8_t *)bits) + stride * dest_y + dest_x * 2; + byte_width = width * 2; + src_line = ((uint8_t *)src_bits) + src_stride * src_y + src_x * 2; + } else { + spice_assert (depth == 32); + byte_line = ((uint8_t *)bits) + stride * dest_y + dest_x * 4; + byte_width = width * 4; + src_line = ((uint8_t *)src_bits) + src_stride * src_y + src_x * 4; + } + + while (height--) { + memcpy(byte_line, src_line, byte_width); + byte_line += stride; + src_line += src_stride; + } +} + +void spice_pixman_blit_rop (pixman_image_t *dest, + pixman_image_t *src, + int src_x, int src_y, + int dest_x, int dest_y, + int width, int height, + SpiceROP rop) +{ + uint32_t *bits, *src_bits; + int stride, depth, src_depth; + int src_width, src_height, src_stride; + uint8_t *byte_line; + uint8_t *src_line; + + bits = pixman_image_get_data(dest); + stride = pixman_image_get_stride(dest); + depth = spice_pixman_image_get_bpp(dest); + /* stride is in bytes, depth in bits */ + + src_bits = pixman_image_get_data(src); + src_stride = pixman_image_get_stride(src); + src_width = pixman_image_get_width(src); + src_height = pixman_image_get_height(src); + src_depth = spice_pixman_image_get_bpp(src); + + /* Clip source */ + if (src_x < 0) { + width += src_x; + dest_x -= src_x; + src_x = 0; + } + if (src_y < 0) { + height += src_y; + dest_y -= src_y; + src_y = 0; + } + if (src_x + width > src_width) { + width = src_width - src_x; + } + if (src_y + height > src_height) { + height = src_height - src_y; + } + + if (width <= 0 || height <= 0) { + return; + } + + spice_assert(src_x >= 0); + spice_assert(src_y >= 0); + spice_assert(dest_x >= 0); + spice_assert(dest_y >= 0); + spice_assert(width > 0); + spice_assert(height > 0); + spice_assert(dest_x + width <= pixman_image_get_width(dest)); + spice_assert(dest_y + height <= pixman_image_get_height(dest)); + spice_assert(src_x + width <= pixman_image_get_width(src)); + spice_assert(src_y + height <= pixman_image_get_height(src)); + spice_assert(depth == src_depth); + + if (depth == 8) { + copy_rop_8_func_t rop_func = copy_rops_8[rop]; + + byte_line = ((uint8_t *)bits) + stride * dest_y + dest_x; + src_line = ((uint8_t *)src_bits) + src_stride * src_y + src_x; + + while (height--) { + rop_func((uint8_t *)byte_line, (uint8_t *)src_line, width); + byte_line += stride; + src_line += src_stride; + } + } else if (depth == 16) { + copy_rop_16_func_t rop_func = copy_rops_16[rop]; + + byte_line = ((uint8_t *)bits) + stride * dest_y + dest_x * 2; + src_line = ((uint8_t *)src_bits) + src_stride * src_y + src_x * 2; + + while (height--) { + rop_func((uint16_t *)byte_line, (uint16_t *)src_line, width); + byte_line += stride; + src_line += src_stride; + } + } else { + copy_rop_32_func_t rop_func = copy_rops_32[rop]; + + spice_assert (depth == 32); + byte_line = ((uint8_t *)bits) + stride * dest_y + dest_x * 4; + src_line = ((uint8_t *)src_bits) + src_stride * src_y + src_x * 4; + + while (height--) { + rop_func((uint32_t *)byte_line, (uint32_t *)src_line, width); + byte_line += stride; + src_line += src_stride; + } + } + +} + +void spice_pixman_blit_colorkey (pixman_image_t *dest, + pixman_image_t *src, + int src_x, int src_y, + int dest_x, int dest_y, + int width, int height, + uint32_t transparent_color) +{ + uint32_t *bits, *src_bits; + int stride, depth; + int src_width, src_height, src_stride; + uint8_t *byte_line; + uint8_t *src_line; + int x; + + bits = pixman_image_get_data(dest); + stride = pixman_image_get_stride(dest); + depth = spice_pixman_image_get_bpp(dest); + /* stride is in bytes, depth in bits */ + + src_bits = pixman_image_get_data(src); + src_stride = pixman_image_get_stride(src); + src_width = pixman_image_get_width(src); + src_height = pixman_image_get_height(src); + + /* Clip source */ + if (src_x < 0) { + width += src_x; + dest_x -= src_x; + src_x = 0; + } + if (src_y < 0) { + height += src_y; + dest_y -= src_y; + src_y = 0; + } + if (src_x + width > src_width) { + width = src_width - src_x; + } + if (src_y + height > src_height) { + height = src_height - src_y; + } + + if (width <= 0 || height <= 0) { + return; + } + + spice_assert(src_x >= 0); + spice_assert(src_y >= 0); + spice_assert(dest_x >= 0); + spice_assert(dest_y >= 0); + spice_assert(width > 0); + spice_assert(height > 0); + spice_assert(dest_x + width <= pixman_image_get_width(dest)); + spice_assert(dest_y + height <= pixman_image_get_height(dest)); + spice_assert(src_x + width <= pixman_image_get_width(src)); + spice_assert(src_y + height <= pixman_image_get_height(src)); + spice_assert(depth == spice_pixman_image_get_bpp(src)); + + if (depth == 8) { + byte_line = ((uint8_t *)bits) + stride * dest_y + dest_x; + src_line = ((uint8_t *)src_bits) + src_stride * src_y + src_x; + + while (height--) { + uint8_t *d = (uint8_t *)byte_line; + uint8_t *s = (uint8_t *)src_line; + for (x = 0; x < width; x++) { + uint8_t val = *s; + if (val != (uint8_t)transparent_color) { + *d = val; + } + s++; d++; + } + + byte_line += stride; + src_line += src_stride; + } + } else if (depth == 16) { + byte_line = ((uint8_t *)bits) + stride * dest_y + dest_x * 2; + src_line = ((uint8_t *)src_bits) + src_stride * src_y + src_x * 2; + + while (height--) { + uint16_t *d = (uint16_t *)byte_line; + uint16_t *s = (uint16_t *)src_line; + + for (x = 0; x < width; x++) { + uint16_t val = *s; + if (val != (uint16_t)transparent_color) { + *d = val; + } + s++; d++; + } + + byte_line += stride; + src_line += src_stride; + } + } else { + spice_assert (depth == 32); + byte_line = ((uint8_t *)bits) + stride * dest_y + dest_x * 4; + src_line = ((uint8_t *)src_bits) + src_stride * src_y + src_x * 4; + + while (height--) { + uint32_t *d = (uint32_t *)byte_line; + uint32_t *s = (uint32_t *)src_line; + + transparent_color &= 0xffffff; + for (x = 0; x < width; x++) { + uint32_t val = *s; + if ((0xffffff & val) != transparent_color) { + *d = val; + } + s++; d++; + } + + byte_line += stride; + src_line += src_stride; + } + } +} + +static void copy_bits_up(uint8_t *data, const int stride, int bpp, + const int src_x, const int src_y, + const int width, const int height, + const int dest_x, const int dest_y) +{ + uint8_t *src = data + src_y * stride + src_x * bpp; + uint8_t *dest = data + dest_y * stride + dest_x * bpp; + uint8_t *end = dest + height * stride; + for (; dest != end; dest += stride, src += stride) { + memcpy(dest, src, width * bpp); + } +} + +static void copy_bits_down(uint8_t *data, const int stride, int bpp, + const int src_x, const int src_y, + const int width, const int height, + const int dest_x, const int dest_y) +{ + uint8_t *src = data + (src_y + height - 1) * stride + src_x * bpp; + uint8_t *end = data + (dest_y - 1) * stride + dest_x * bpp; + uint8_t *dest = end + height * stride; + + for (; dest != end; dest -= stride, src -= stride) { + memcpy(dest, src, width * bpp); + } +} + +static void copy_bits_same_line(uint8_t *data, const int stride, int bpp, + const int src_x, const int src_y, + const int width, const int height, + const int dest_x, const int dest_y) +{ + uint8_t *src = data + src_y * stride + src_x * bpp; + uint8_t *dest = data + dest_y * stride + dest_x * bpp; + uint8_t *end = dest + height * stride; + for (; dest != end; dest += stride, src += stride) { + memmove(dest, src, width * bpp); + } +} + +void spice_pixman_copy_rect (pixman_image_t *image, + int src_x, int src_y, + int width, int height, + int dest_x, int dest_y) +{ + uint8_t *data; + int stride; + int bpp; + + data = (uint8_t *)pixman_image_get_data(image); + stride = pixman_image_get_stride(image); + bpp = spice_pixman_image_get_bpp(image) / 8; + + if (dest_y > src_y) { + copy_bits_down(data, stride, bpp, + src_x, src_y, + width, height, + dest_x, dest_y); + } else if (dest_y < src_y) { + copy_bits_up(data, stride, bpp, + src_x, src_y, + width, height, + dest_x, dest_y); + } else { + copy_bits_same_line(data, stride, bpp, + src_x, src_y, + width, height, + dest_x, dest_y); + } +} + +pixman_bool_t spice_pixman_region32_init_rects (pixman_region32_t *region, + const SpiceRect *rects, + int count) +{ + /* These types are compatible, so just cast */ + return pixman_region32_init_rects(region, (pixman_box32_t *)rects, count); +} + +pixman_format_code_t spice_surface_format_to_pixman(uint32_t surface_format) +{ + switch (surface_format) { + case SPICE_SURFACE_FMT_1_A: + return PIXMAN_a1; + case SPICE_SURFACE_FMT_8_A: + return PIXMAN_a8; + case SPICE_SURFACE_FMT_16_555: + return PIXMAN_x1r5g5b5; + case SPICE_SURFACE_FMT_16_565: + return PIXMAN_r5g6b5; + case SPICE_SURFACE_FMT_32_xRGB: + return PIXMAN_x8r8g8b8; + case SPICE_SURFACE_FMT_32_ARGB: + return PIXMAN_a8r8g8b8; + default: + printf("Unknown surface format %d\n", surface_format); + spice_abort(); + break; + } + return (pixman_format_code_t)0; /* Not reached */ +} + +/* Returns the "spice native" pixman version of a specific bitmap format. + * This isn't bitwise the same as the bitmap format, for instance we + * typically convert indexed to real color modes and use the standard + * surface modes rather than weird things like 24bit + */ +pixman_format_code_t spice_bitmap_format_to_pixman(int bitmap_format, + uint32_t palette_surface_format) +{ + switch (bitmap_format) { + case SPICE_BITMAP_FMT_1BIT_LE: + case SPICE_BITMAP_FMT_1BIT_BE: + case SPICE_BITMAP_FMT_4BIT_LE: + case SPICE_BITMAP_FMT_4BIT_BE: + case SPICE_BITMAP_FMT_8BIT: + /* Indexed mode palettes are the same as their destination canvas format */ + return spice_surface_format_to_pixman(palette_surface_format); + + case SPICE_BITMAP_FMT_16BIT: + return PIXMAN_x1r5g5b5; + + case SPICE_BITMAP_FMT_24BIT: + case SPICE_BITMAP_FMT_32BIT: + return PIXMAN_x8r8g8b8; + + case SPICE_BITMAP_FMT_RGBA: + return PIXMAN_a8r8g8b8; + + case SPICE_BITMAP_FMT_8BIT_A: + return PIXMAN_a8; + + case SPICE_BITMAP_FMT_INVALID: + default: + printf("Unknown bitmap format %d\n", bitmap_format); + spice_abort(); + return PIXMAN_a8r8g8b8; + } +} + +/* Tries to view a spice bitmap as a pixman_image_t without copying, + * will often fail due to unhandled formats or strides. + */ +pixman_image_t *spice_bitmap_try_as_pixman(int src_format, + int flags, + int width, + int height, + uint8_t *data, + int stride) +{ + pixman_format_code_t pixman_format; + + /* Pixman stride must be multiple of 4 */ + if (stride % 4 != 0) { + return NULL; + } + + switch (src_format) { + case SPICE_BITMAP_FMT_32BIT: +#ifdef WORDS_BIGENDIAN + pixman_format = PIXMAN_b8g8r8x8; +#else + pixman_format = PIXMAN_x8r8g8b8; +#endif + break; + case SPICE_BITMAP_FMT_RGBA: +#ifdef WORDS_BIGENDIAN + pixman_format = PIXMAN_b8g8r8a8; +#else + pixman_format = PIXMAN_a8r8g8b8; +#endif + break; + case SPICE_BITMAP_FMT_24BIT: +#ifdef WORDS_BIGENDIAN + pixman_format = PIXMAN_b8g8r8; +#else + pixman_format = PIXMAN_r8g8b8; +#endif + break; + case SPICE_BITMAP_FMT_16BIT: +#ifdef WORDS_BIGENDIAN + return NULL; +#else + pixman_format = PIXMAN_x1r5g5b5; +#endif + break; + + default: + return NULL; + } + + if (!(flags & SPICE_BITMAP_FLAGS_TOP_DOWN)) { + data += stride * (height - 1); + stride = -stride; + } + + return pixman_image_create_bits (pixman_format, + width, + height, + (uint32_t *)data, + stride); +} + +#ifdef WORDS_BIGENDIAN +#define UINT16_FROM_LE(x) SPICE_BYTESWAP16(x) +#define UINT32_FROM_LE(x) SPICE_BYTESWAP32(x) +#else +#define UINT16_FROM_LE(x) (x) +#define UINT32_FROM_LE(x) (x) +#endif + +static INLINE uint32_t rgb_16_555_to_32(uint16_t color) +{ + uint32_t ret; + + ret = ((color & 0x001f) << 3) | ((color & 0x001c) >> 2); + ret |= ((color & 0x03e0) << 6) | ((color & 0x0380) << 1); + ret |= ((color & 0x7c00) << 9) | ((color & 0x7000) << 4); + + return ret; +} + +static INLINE uint16_t rgb_32_to_16_555(uint32_t color) +{ + return + (((color) >> 3) & 0x001f) | + (((color) >> 6) & 0x03e0) | + (((color) >> 9) & 0x7c00); +} + + +static void bitmap_32_to_32(uint8_t* dest, int dest_stride, + uint8_t* src, int src_stride, + int width, uint8_t* end) +{ +#ifdef WORDS_BIGENDIAN + for (; src != end; src += src_stride, dest += dest_stride) { + uint32_t* src_line = (uint32_t *)src; + uint32_t* src_line_end = src_line + width; + uint32_t* dest_line = (uint32_t *)dest; + + for (; src_line < src_line_end; ++dest_line, ++src_line) { + *dest_line = UINT32_FROM_LE(*src_line); + } + } +#else + for (; src != end; src += src_stride, dest += dest_stride) { + memcpy(dest, src, width * 4); + } +#endif +} + +static void bitmap_8_to_8(uint8_t* dest, int dest_stride, + uint8_t* src, int src_stride, + int width, uint8_t* end) +{ + for (; src != end; src += src_stride, dest += dest_stride) { + memcpy(dest, src, width); + } +} + +static void bitmap_24_to_32(uint8_t* dest, int dest_stride, + uint8_t* src, int src_stride, + int width, uint8_t* end) +{ + for (; src != end; src += src_stride, dest += dest_stride) { + uint8_t* src_line = src; + uint8_t* src_line_end = src_line + width * 3; + uint32_t* dest_line = (uint32_t *)dest; + + for (; src_line < src_line_end; ++dest_line) { + uint32_t r, g, b; + b = *(src_line++); + g = *(src_line++); + r = *(src_line++); + *dest_line = (r << 16) | (g << 8) | (b); + } + } +} + +static void bitmap_16_to_16_555(uint8_t* dest, int dest_stride, + uint8_t* src, int src_stride, + int width, uint8_t* end) +{ +#ifdef WORDS_BIGENDIAN + for (; src != end; src += src_stride, dest += dest_stride) { + uint16_t* src_line = (uint16_t *)src; + uint16_t* src_line_end = src_line + width; + uint16_t* dest_line = (uint16_t *)dest; + + for (; src_line < src_line_end; ++dest_line, ++src_line) { + *dest_line = UINT16_FROM_LE(*src_line); + } + } +#else + for (; src != end; src += src_stride, dest += dest_stride) { + memcpy(dest, src, width * 2); + } +#endif +} + +static void bitmap_8_32_to_32(uint8_t *dest, int dest_stride, + uint8_t *src, int src_stride, + int width, uint8_t *end, + SpicePalette *palette) +{ + uint32_t local_ents[256]; + uint32_t *ents; + int n_ents; +#ifdef WORDS_BIGENDIAN + int i; +#endif + + if (!palette) { + spice_error("No palette"); + return; + } + + n_ents = MIN(palette->num_ents, 256); + ents = palette->ents; + + if (n_ents < 255 +#ifdef WORDS_BIGENDIAN + || TRUE +#endif + ) { + memcpy(local_ents, ents, n_ents*4); + ents = local_ents; + +#ifdef WORDS_BIGENDIAN + for (i = 0; i < n_ents; i++) { + ents[i] = UINT32_FROM_LE(ents[i]); + } +#endif + } + + for (; src != end; src += src_stride, dest += dest_stride) { + uint32_t *dest_line = (uint32_t*)dest; + uint8_t *src_line = src; + uint8_t *src_line_end = src_line + width; + + while (src_line < src_line_end) { + *(dest_line++) = ents[*(src_line++)]; + } + } +} + +static void bitmap_8_16_to_16_555(uint8_t *dest, int dest_stride, + uint8_t *src, int src_stride, + int width, uint8_t *end, + SpicePalette *palette) +{ + uint32_t local_ents[256]; + uint32_t *ents; + int n_ents; +#ifdef WORDS_BIGENDIAN + int i; +#endif + + if (!palette) { + spice_error("No palette"); + return; + } + + n_ents = MIN(palette->num_ents, 256); + ents = palette->ents; + + if (n_ents < 255 +#ifdef WORDS_BIGENDIAN + || TRUE +#endif + ) { + memcpy(local_ents, ents, n_ents*4); + ents = local_ents; + +#ifdef WORDS_BIGENDIAN + for (i = 0; i < n_ents; i++) { + ents[i] = UINT32_FROM_LE(ents[i]); + } +#endif + } + + for (; src != end; src += src_stride, dest += dest_stride) { + uint16_t *dest_line = (uint16_t*)dest; + uint8_t *src_line = src; + uint8_t *src_line_end = src_line + width; + + while (src_line < src_line_end) { + *(dest_line++) = ents[*(src_line++)]; + } + } +} + +static void bitmap_4be_32_to_32(uint8_t* dest, int dest_stride, + uint8_t* src, int src_stride, + int width, uint8_t* end, + SpicePalette *palette) +{ + uint32_t local_ents[16]; + uint32_t *ents; + int n_ents; +#ifdef WORDS_BIGENDIAN + int i; +#endif + + if (!palette) { + spice_error("No palette"); + return; + } + + n_ents = MIN(palette->num_ents, 16); + ents = palette->ents; + + if (n_ents < 16 +#ifdef WORDS_BIGENDIAN + || TRUE +#endif + ) { + memcpy(local_ents, ents, n_ents*4); + ents = local_ents; + +#ifdef WORDS_BIGENDIAN + for (i = 0; i < n_ents; i++) { + ents[i] = UINT32_FROM_LE(ents[i]); + } +#endif + } + + for (; src != end; src += src_stride, dest += dest_stride) { + uint32_t *dest_line = (uint32_t *)dest; + uint8_t *row = src; + int i; + + for (i = 0; i < (width >> 1); i++) { + *(dest_line++) = ents[(*row >> 4) & 0x0f]; + *(dest_line++) = ents[*(row++) & 0x0f]; + } + if (width & 1) { + *(dest_line) = ents[(*row >> 4) & 0x0f]; + } + } +} + +static void bitmap_4be_16_to_16_555(uint8_t* dest, int dest_stride, + uint8_t* src, int src_stride, + int width, uint8_t* end, + SpicePalette *palette) +{ + uint32_t local_ents[16]; + uint32_t *ents; + int n_ents; +#ifdef WORDS_BIGENDIAN + int i; +#endif + + if (!palette) { + spice_error("No palette"); + return; + } + + n_ents = MIN(palette->num_ents, 16); + ents = palette->ents; + + if (n_ents < 16 +#ifdef WORDS_BIGENDIAN + || TRUE +#endif + ) { + memcpy(local_ents, ents, n_ents*4); + ents = local_ents; + +#ifdef WORDS_BIGENDIAN + for (i = 0; i < n_ents; i++) { + ents[i] = UINT32_FROM_LE(ents[i]); + } +#endif + } + + for (; src != end; src += src_stride, dest += dest_stride) { + uint16_t *dest_line = (uint16_t *)dest; + uint8_t *row = src; + int i; + + for (i = 0; i < (width >> 1); i++) { + *(dest_line++) = ents[(*row >> 4) & 0x0f]; + *(dest_line++) = ents[*(row++) & 0x0f]; + } + if (width & 1) { + *(dest_line) = ents[(*row >> 4) & 0x0f]; + } + } +} + +static INLINE int test_bit_be(void* addr, int bit) +{ + return !!(((uint8_t*)addr)[bit >> 3] & (0x80 >> (bit & 0x07))); +} + +static void bitmap_1be_32_to_32(uint8_t* dest, int dest_stride, + uint8_t* src, int src_stride, + int width, uint8_t* end, + SpicePalette *palette) +{ + uint32_t fore_color; + uint32_t back_color; + + spice_assert(palette != NULL); + + if (!palette) { + return; + } + + fore_color = UINT32_FROM_LE(palette->ents[1]); + back_color = UINT32_FROM_LE(palette->ents[0]); + + for (; src != end; src += src_stride, dest += dest_stride) { + uint32_t* dest_line = (uint32_t*)dest; + int i; + + for (i = 0; i < width; i++) { + if (test_bit_be(src, i)) { + *(dest_line++) = fore_color; + } else { + *(dest_line++) = back_color; + } + } + } +} + + +static void bitmap_1be_16_to_16_555(uint8_t* dest, int dest_stride, + uint8_t* src, int src_stride, + int width, uint8_t* end, + SpicePalette *palette) +{ + uint16_t fore_color; + uint16_t back_color; + + spice_assert(palette != NULL); + + if (!palette) { + return; + } + + fore_color = (uint16_t) UINT32_FROM_LE(palette->ents[1]); + back_color = (uint16_t) UINT32_FROM_LE(palette->ents[0]); + + for (; src != end; src += src_stride, dest += dest_stride) { + uint16_t* dest_line = (uint16_t*)dest; + int i; + + for (i = 0; i < width; i++) { + if (test_bit_be(src, i)) { + *(dest_line++) = fore_color; + } else { + *(dest_line++) = back_color; + } + } + } +} + +#ifdef NOT_USED_ATM + +static void bitmap_16_to_32(uint8_t* dest, int dest_stride, + uint8_t* src, int src_stride, + int width, uint8_t* end) +{ + for (; src != end; src += src_stride, dest += dest_stride) { + uint16_t* src_line = (uint16_t*)src; + uint16_t* src_line_end = src_line + width; + uint32_t* dest_line = (uint32_t*)dest; + + for (; src_line < src_line_end; ++dest_line, src_line++) { + *dest_line = rgb_16_555_to_32(UINT16_FROM_LE(*src_line)); + } + } +} + +static void bitmap_32_to_16_555(uint8_t* dest, int dest_stride, + uint8_t* src, int src_stride, + int width, uint8_t* end) +{ + for (; src != end; src += src_stride, dest += dest_stride) { + uint32_t* src_line = (uint32_t *)src; + uint32_t* src_line_end = src_line + width; + uint16_t* dest_line = (uint16_t *)dest; + + for (; src_line < src_line_end; ++dest_line, ++src_line) { + *dest_line = rgb_32_to_16_555(UINT16_FROM_LE(*src_line)); + } + } +} + + +static void bitmap_24_to_16_555(uint8_t* dest, int dest_stride, + uint8_t* src, int src_stride, + int width, uint8_t* end) +{ + for (; src != end; src += src_stride, dest += dest_stride) { + uint8_t* src_line = src; + uint8_t* src_line_end = src_line + width * 3; + uint16_t* dest_line = (uint16_t *)dest; + + for (; src_line < src_line_end; ++dest_line) { + uint8_t r, g, b; + b = *(src_line++); + g = *(src_line++); + r = *(src_line++); + *dest_line = rgb_32_to_16_555(r << 24 | g << 16 | b); + } + } +} + +#endif + +/* This assumes that the dest, if set is the same format as + spice_bitmap_format_to_pixman would have picked */ +pixman_image_t *spice_bitmap_to_pixman(pixman_image_t *dest_image, + int src_format, + int flags, + int width, + int height, + uint8_t *src, + int src_stride, + uint32_t palette_surface_format, + SpicePalette *palette) +{ + uint8_t* dest; + int dest_stride; + uint8_t* end; + + if (dest_image == NULL) { + pixman_format_code_t dest_format; + + dest_format = spice_bitmap_format_to_pixman(src_format, + palette_surface_format); + dest_image = pixman_image_create_bits (dest_format, + width, height, + NULL, 0); + } + + dest = (uint8_t *)pixman_image_get_data(dest_image); + dest_stride = pixman_image_get_stride(dest_image); + if (!(flags & SPICE_BITMAP_FLAGS_TOP_DOWN)) { + spice_assert(height > 0); + dest += dest_stride * (height - 1); + dest_stride = -dest_stride; + } + end = src + (height * src_stride); + + switch (src_format) { + case SPICE_BITMAP_FMT_32BIT: + case SPICE_BITMAP_FMT_RGBA: + bitmap_32_to_32(dest, dest_stride, src, src_stride, width, end); + break; + case SPICE_BITMAP_FMT_8BIT_A: + bitmap_8_to_8(dest, dest_stride, src, src_stride, width, end); + break; + case SPICE_BITMAP_FMT_24BIT: + bitmap_24_to_32(dest, dest_stride, src, src_stride, width, end); + break; + case SPICE_BITMAP_FMT_16BIT: + bitmap_16_to_16_555(dest, dest_stride, src, src_stride, width, end); + break; + case SPICE_BITMAP_FMT_8BIT: + if (palette_surface_format == SPICE_SURFACE_FMT_32_ARGB || + palette_surface_format == SPICE_SURFACE_FMT_32_xRGB) { + bitmap_8_32_to_32(dest, dest_stride, src, src_stride, width, end, palette); + } else if (palette_surface_format == SPICE_SURFACE_FMT_16_555) { + bitmap_8_16_to_16_555(dest, dest_stride, src, src_stride, width, end, palette); + } else { + spice_error("Unsupported palette format"); + } + break; + case SPICE_BITMAP_FMT_4BIT_BE: + if (palette_surface_format == SPICE_SURFACE_FMT_32_ARGB || + palette_surface_format == SPICE_SURFACE_FMT_32_xRGB) { + bitmap_4be_32_to_32(dest, dest_stride, src, src_stride, width, end, palette); + } else if (palette_surface_format == SPICE_SURFACE_FMT_16_555) { + bitmap_4be_16_to_16_555(dest, dest_stride, src, src_stride, width, end, palette); + } else { + spice_error("Unsupported palette format"); + } + break; + case SPICE_BITMAP_FMT_1BIT_BE: + if (palette_surface_format == SPICE_SURFACE_FMT_32_ARGB || + palette_surface_format == SPICE_SURFACE_FMT_32_xRGB) { + bitmap_1be_32_to_32(dest, dest_stride, src, src_stride, width, end, palette); + } else if (palette_surface_format == SPICE_SURFACE_FMT_16_555) { + bitmap_1be_16_to_16_555(dest, dest_stride, src, src_stride, width, end, palette); + } else { + spice_error("Unsupported palette format"); + } + break; + default: + spice_error("Unsupported bitmap format"); + break; + } + + return dest_image; +} + +static int pixman_format_compatible (pixman_format_code_t dest_format, + pixman_format_code_t src_format) +{ + if (dest_format == src_format) { + return TRUE; + } + + if (src_format == PIXMAN_a8r8g8b8 && + dest_format == PIXMAN_x8r8g8b8) { + /* This is the same, we just ignore the alphas */ + return TRUE; + } + + return FALSE; +} + +pixman_image_t *spice_bitmap_convert_to_pixman(pixman_format_code_t dest_format, + pixman_image_t *dest_image, + int src_format, + int flags, + int width, + int height, + uint8_t *src, + int src_stride, + uint32_t palette_surface_format, + SpicePalette *palette) +{ + pixman_image_t *src_image; + pixman_format_code_t native_format; + + if (dest_image == NULL) { + dest_image = pixman_image_create_bits (dest_format, + width, height, + NULL, 0); + } + + native_format = + spice_bitmap_format_to_pixman(src_format, palette_surface_format); + + if (pixman_format_compatible (dest_format, native_format)) { + return spice_bitmap_to_pixman(dest_image, + src_format, + flags, width,height, + src, src_stride, + palette_surface_format, palette); + } + + src_image = spice_bitmap_try_as_pixman(src_format, + flags, width,height, + src, src_stride); + + /* Can't convert directly, need a temporary copy + * Hopefully most bitmap reads should not need conversion (i.e. + * hit the spice_bitmap_to_pixmap case above) or work with the + * try_as_pixmap case, but in case some specific combination + * shows up here commonly we might want to add non-temporary + * conversion special casing here */ + if (src_image == NULL) { + src_image = spice_bitmap_to_pixman(NULL, + src_format, + flags, width,height, + src, src_stride, + palette_surface_format, palette); + } + + pixman_image_composite32 (PIXMAN_OP_SRC, + src_image, NULL, dest_image, + 0, 0, + 0, 0, + 0, 0, + width, height); + + pixman_image_unref (src_image); + + return dest_image; +} diff --git a/tizen/distrib/remote/common/spice-common/common/pixman_utils.h b/tizen/distrib/remote/common/spice-common/common/pixman_utils.h new file mode 100644 index 0000000..dd565ef --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/pixman_utils.h @@ -0,0 +1,133 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H__PIXMAN_UTILS +#define _H__PIXMAN_UTILS + +#include <spice/types.h> +#include <spice/macros.h> +#include <stdlib.h> +#define PIXMAN_DONT_DEFINE_STDINT +#include <pixman.h> + +#include "draw.h" + +SPICE_BEGIN_DECLS + +/* This lists all possible 2 argument binary raster ops. + * This enum has the same values as the X11 GXcopy type + * and same as the GL constants (GL_AND etc) if you + * or it with 0x1500. However it is not exactly the + * same as the win32 ROP2 type (they use another order). + */ +typedef enum { + SPICE_ROP_CLEAR, /* 0x0 0 */ + SPICE_ROP_AND, /* 0x1 src AND dst */ + SPICE_ROP_AND_REVERSE, /* 0x2 src AND NOT dst */ + SPICE_ROP_COPY, /* 0x3 src */ + SPICE_ROP_AND_INVERTED, /* 0x4 (NOT src) AND dst */ + SPICE_ROP_NOOP, /* 0x5 dst */ + SPICE_ROP_XOR, /* 0x6 src XOR dst */ + SPICE_ROP_OR, /* 0x7 src OR dst */ + SPICE_ROP_NOR, /* 0x8 (NOT src) AND (NOT dst) */ + SPICE_ROP_EQUIV, /* 0x9 (NOT src) XOR dst */ + SPICE_ROP_INVERT, /* 0xa NOT dst */ + SPICE_ROP_OR_REVERSE, /* 0xb src OR (NOT dst) */ + SPICE_ROP_COPY_INVERTED, /* 0xc NOT src */ + SPICE_ROP_OR_INVERTED, /* 0xd (NOT src) OR dst */ + SPICE_ROP_NAND, /* 0xe (NOT src) OR (NOT dst) */ + SPICE_ROP_SET /* 0xf 1 */ +} SpiceROP; + + +int spice_pixman_image_get_bpp(pixman_image_t *image); + +pixman_format_code_t spice_surface_format_to_pixman(uint32_t surface_format); +pixman_format_code_t spice_bitmap_format_to_pixman(int bitmap_format, + uint32_t palette_surface_format); +pixman_image_t *spice_bitmap_try_as_pixman(int src_format, int flags, + int width, int height, + uint8_t *data, int stride); +pixman_image_t *spice_bitmap_to_pixman(pixman_image_t *dest_image, + int src_format, int flags, + int width, int height, + uint8_t *src, int src_stride, + uint32_t palette_surface_format, + SpicePalette *palette); +pixman_image_t *spice_bitmap_convert_to_pixman(pixman_format_code_t dest_format, + pixman_image_t *dest_image, + int src_format, int flags, + int width, int height, + uint8_t *src, int src_stride, + uint32_t palette_surface_format, + SpicePalette *palette); + +void spice_pixman_region32_init_from_bitmap(pixman_region32_t *region, + uint32_t *data, + int width, int height, + int stride); +pixman_bool_t spice_pixman_region32_init_rects(pixman_region32_t *region, + const SpiceRect *rects, + int count); +void spice_pixman_fill_rect(pixman_image_t *dest, + int x, int y, + int w, int h, + uint32_t value); +void spice_pixman_fill_rect_rop(pixman_image_t *dest, + int x, int y, + int w, int h, + uint32_t value, + SpiceROP rop); +void spice_pixman_tile_rect(pixman_image_t *dest, + int x, int y, + int w, int h, + pixman_image_t *tile, + int offset_x, + int offset_y); +void spice_pixman_tile_rect_rop(pixman_image_t *dest, + int x, int y, + int w, int h, + pixman_image_t *tile, + int offset_x, + int offset_y, + SpiceROP rop); +void spice_pixman_blit(pixman_image_t *dest, + pixman_image_t *src, + int src_x, int src_y, + int dest_x, int dest_y, + int w, int h); +void spice_pixman_blit_rop(pixman_image_t *dest, + pixman_image_t *src, + int src_x, int src_y, + int dest_x, int dest_y, + int w, int h, + SpiceROP rop); +void spice_pixman_blit_colorkey(pixman_image_t *dest, + pixman_image_t *src, + int src_x, int src_y, + int dest_x, int dest_y, + int width, int height, + uint32_t transparent_color); +void spice_pixman_copy_rect(pixman_image_t *image, + int src_x, int src_y, + int w, int h, + int dest_x, int dest_y); + +SPICE_END_DECLS + +#endif /* _H__PIXMAN_UTILS */ diff --git a/tizen/distrib/remote/common/spice-common/common/quic.c b/tizen/distrib/remote/common/spice-common/common/quic.c new file mode 100644 index 0000000..3e7c802 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/quic.c @@ -0,0 +1,1689 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +// Red Hat image compression based on SFALIC by Roman Starosolski +// http://sun.iinf.polsl.gliwice.pl/~rstaros/sfalic/index.html + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "quic.h" +#include "spice_common.h" +#include "bitops.h" + +#define RLE +#define RLE_STAT +#define PRED_1 +//#define RLE_PRED_1 +#define RLE_PRED_2 +//#define RLE_PRED_3 +#define QUIC_RGB + +#define QUIC_MAGIC (*(uint32_t *)"QUIC") +#define QUIC_VERSION_MAJOR 0U +#define QUIC_VERSION_MINOR 1U +#define QUIC_VERSION ((QUIC_VERSION_MAJOR << 16) | (QUIC_VERSION_MAJOR & 0xffff)) + +typedef uint8_t BYTE; + +/* maximum number of codes in family */ +#define MAXNUMCODES 8 + +/* model evolution, warning: only 1,3 and 5 allowed */ +#define DEFevol 3 +#define MINevol 0 +#define MAXevol 5 + +/* starting wait mask index */ +#define DEFwmistart 0 +#define MINwmistart 0 + +/* codeword length limit */ +#define DEFmaxclen 26 + +/* target wait mask index */ +#define DEFwmimax 6 + +/* number of symbols to encode before increasing wait mask index */ +#define DEFwminext 2048 +#define MINwminext 1 +#define MAXwminext 100000000 + +typedef struct QuicFamily { + unsigned int nGRcodewords[MAXNUMCODES]; /* indexed by code number, contains number of + unmodified GR codewords in the code */ + unsigned int notGRcwlen[MAXNUMCODES]; /* indexed by code number, contains codeword + length of the not-GR codeword */ + unsigned int notGRprefixmask[MAXNUMCODES]; /* indexed by code number, contains mask to + determine if the codeword is GR or not-GR */ + unsigned int notGRsuffixlen[MAXNUMCODES]; /* indexed by code number, contains suffix + length of the not-GR codeword */ + + /* array for translating distribution U to L for depths up to 8 bpp, + initialized by decorelateinit() */ + BYTE xlatU2L[256]; + + /* array for translating distribution L to U for depths up to 8 bpp, + initialized by corelateinit() */ + unsigned int xlatL2U[256]; +} QuicFamily; + +static QuicFamily family_8bpc; +static QuicFamily family_5bpc; + +typedef unsigned COUNTER; /* counter in the array of counters in bucket of the data model */ + +typedef struct s_bucket { + COUNTER *pcounters; /* pointer to array of counters */ + unsigned int bestcode; /* best code so far */ +} s_bucket; + +typedef struct Encoder Encoder; + +typedef struct CommonState { + Encoder *encoder; + + unsigned int waitcnt; + unsigned int tabrand_seed; + unsigned int wm_trigger; + unsigned int wmidx; + unsigned int wmileft; + +#ifdef RLE_STAT + int melcstate; /* index to the state array */ + + int melclen; /* contents of the state array location + indexed by melcstate: the "expected" + run length is 2^melclen, shorter runs are + encoded by a 1 followed by the run length + in binary representation, wit a fixed length + of melclen bits */ + + unsigned long melcorder; /* 2^ melclen */ +#endif +} CommonState; + + +#define MAX_CHANNELS 4 + +typedef struct FamilyStat { + s_bucket **buckets_ptrs; + s_bucket *buckets_buf; + COUNTER *counters; +} FamilyStat; + +typedef struct Channel { + Encoder *encoder; + + int correlate_row_width; + BYTE *correlate_row; + + s_bucket **_buckets_ptrs; + + FamilyStat family_stat_8bpc; + FamilyStat family_stat_5bpc; + + CommonState state; +} Channel; + +struct Encoder { + QuicUsrContext *usr; + QuicImageType type; + unsigned int width; + unsigned int height; + unsigned int num_channels; + + unsigned int n_buckets_8bpc; + unsigned int n_buckets_5bpc; + + unsigned int io_available_bits; + uint32_t io_word; + uint32_t io_next_word; + uint32_t *io_now; + uint32_t *io_end; + uint32_t io_words_count; + + int rows_completed; + + Channel channels[MAX_CHANNELS]; + + CommonState rgb_state; +}; + +/* target wait mask index */ +static int wmimax = DEFwmimax; + +/* number of symbols to encode before increasing wait mask index */ +static int wminext = DEFwminext; + +/* model evolution mode */ +static int evol = DEFevol; + +/* bppmask[i] contains i ones as lsb-s */ +static const unsigned long int bppmask[33] = { + 0x00000000, /* [0] */ + 0x00000001, 0x00000003, 0x00000007, 0x0000000f, + 0x0000001f, 0x0000003f, 0x0000007f, 0x000000ff, + 0x000001ff, 0x000003ff, 0x000007ff, 0x00000fff, + 0x00001fff, 0x00003fff, 0x00007fff, 0x0000ffff, + 0x0001ffff, 0x0003ffff, 0x0007ffff, 0x000fffff, + 0x001fffff, 0x003fffff, 0x007fffff, 0x00ffffff, + 0x01ffffff, 0x03ffffff, 0x07ffffff, 0x0fffffff, + 0x1fffffff, 0x3fffffff, 0x7fffffff, 0xffffffff /* [32] */ +}; + +static const unsigned int bitat[32] = { + 0x00000001, 0x00000002, 0x00000004, 0x00000008, + 0x00000010, 0x00000020, 0x00000040, 0x00000080, + 0x00000100, 0x00000200, 0x00000400, 0x00000800, + 0x00001000, 0x00002000, 0x00004000, 0x00008000, + 0x00010000, 0x00020000, 0x00040000, 0x00080000, + 0x00100000, 0x00200000, 0x00400000, 0x00800000, + 0x01000000, 0x02000000, 0x04000000, 0x08000000, + 0x10000000, 0x20000000, 0x40000000, 0x80000000 /* [31]*/ +}; + + +#define TABRAND_TABSIZE 256 +#define TABRAND_SEEDMASK 0x0ff + +static const unsigned int tabrand_chaos[TABRAND_TABSIZE] = { + 0x02c57542, 0x35427717, 0x2f5a2153, 0x9244f155, 0x7bd26d07, 0x354c6052, 0x57329b28, 0x2993868e, + 0x6cd8808c, 0x147b46e0, 0x99db66af, 0xe32b4cac, 0x1b671264, 0x9d433486, 0x62a4c192, 0x06089a4b, + 0x9e3dce44, 0xdaabee13, 0x222425ea, 0xa46f331d, 0xcd589250, 0x8bb81d7f, 0xc8b736b9, 0x35948d33, + 0xd7ac7fd0, 0x5fbe2803, 0x2cfbc105, 0x013dbc4e, 0x7a37820f, 0x39f88e9e, 0xedd58794, 0xc5076689, + 0xfcada5a4, 0x64c2f46d, 0xb3ba3243, 0x8974b4f9, 0x5a05aebd, 0x20afcd00, 0x39e2b008, 0x88a18a45, + 0x600bde29, 0xf3971ace, 0xf37b0a6b, 0x7041495b, 0x70b707ab, 0x06beffbb, 0x4206051f, 0xe13c4ee3, + 0xc1a78327, 0x91aa067c, 0x8295f72a, 0x732917a6, 0x1d871b4d, 0x4048f136, 0xf1840e7e, 0x6a6048c1, + 0x696cb71a, 0x7ff501c3, 0x0fc6310b, 0x57e0f83d, 0x8cc26e74, 0x11a525a2, 0x946934c7, 0x7cd888f0, + 0x8f9d8604, 0x4f86e73b, 0x04520316, 0xdeeea20c, 0xf1def496, 0x67687288, 0xf540c5b2, 0x22401484, + 0x3478658a, 0xc2385746, 0x01979c2c, 0x5dad73c8, 0x0321f58b, 0xf0fedbee, 0x92826ddf, 0x284bec73, + 0x5b1a1975, 0x03df1e11, 0x20963e01, 0xa17cf12b, 0x740d776e, 0xa7a6bf3c, 0x01b5cce4, 0x1118aa76, + 0xfc6fac0a, 0xce927e9b, 0x00bf2567, 0x806f216c, 0xbca69056, 0x795bd3e9, 0xc9dc4557, 0x8929b6c2, + 0x789d52ec, 0x3f3fbf40, 0xb9197368, 0xa38c15b5, 0xc3b44fa8, 0xca8333b0, 0xb7e8d590, 0xbe807feb, + 0xbf5f8360, 0xd99e2f5c, 0x372928e1, 0x7c757c4c, 0x0db5b154, 0xc01ede02, 0x1fc86e78, 0x1f3985be, + 0xb4805c77, 0x00c880fa, 0x974c1b12, 0x35ab0214, 0xb2dc840d, 0x5b00ae37, 0xd313b026, 0xb260969d, + 0x7f4c8879, 0x1734c4d3, 0x49068631, 0xb9f6a021, 0x6b863e6f, 0xcee5debf, 0x29f8c9fb, 0x53dd6880, + 0x72b61223, 0x1f67a9fd, 0x0a0f6993, 0x13e59119, 0x11cca12e, 0xfe6b6766, 0x16b6effc, 0x97918fc4, + 0xc2b8a563, 0x94f2f741, 0x0bfa8c9a, 0xd1537ae8, 0xc1da349c, 0x873c60ca, 0x95005b85, 0x9b5c080e, + 0xbc8abbd9, 0xe1eab1d2, 0x6dac9070, 0x4ea9ebf1, 0xe0cf30d4, 0x1ef5bd7b, 0xd161043e, 0x5d2fa2e2, + 0xff5d3cae, 0x86ed9f87, 0x2aa1daa1, 0xbd731a34, 0x9e8f4b22, 0xb1c2c67a, 0xc21758c9, 0xa182215d, + 0xccb01948, 0x8d168df7, 0x04238cfe, 0x368c3dbc, 0x0aeadca5, 0xbad21c24, 0x0a71fee5, 0x9fc5d872, + 0x54c152c6, 0xfc329483, 0x6783384a, 0xeddb3e1c, 0x65f90e30, 0x884ad098, 0xce81675a, 0x4b372f7d, + 0x68bf9a39, 0x43445f1e, 0x40f8d8cb, 0x90d5acb6, 0x4cd07282, 0x349eeb06, 0x0c9d5332, 0x520b24ef, + 0x80020447, 0x67976491, 0x2f931ca3, 0xfe9b0535, 0xfcd30220, 0x61a9e6cc, 0xa487d8d7, 0x3f7c5dd1, + 0x7d0127c5, 0x48f51d15, 0x60dea871, 0xc9a91cb7, 0x58b53bb3, 0x9d5e0b2d, 0x624a78b4, 0x30dbee1b, + 0x9bdf22e7, 0x1df5c299, 0x2d5643a7, 0xf4dd35ff, 0x03ca8fd6, 0x53b47ed8, 0x6f2c19aa, 0xfeb0c1f4, + 0x49e54438, 0x2f2577e6, 0xbf876969, 0x72440ea9, 0xfa0bafb8, 0x74f5b3a0, 0x7dd357cd, 0x89ce1358, + 0x6ef2cdda, 0x1e7767f3, 0xa6be9fdb, 0x4f5f88f8, 0xba994a3a, 0x08ca6b65, 0xe0893818, 0x9e00a16a, + 0xf42bfc8f, 0x9972eedc, 0x749c8b51, 0x32c05f5e, 0xd706805f, 0x6bfbb7cf, 0xd9210a10, 0x31a1db97, + 0x923a9559, 0x37a7a1f6, 0x059f8861, 0xca493e62, 0x65157e81, 0x8f6467dd, 0xab85ff9f, 0x9331aff2, + 0x8616b9f5, 0xedbd5695, 0xee7e29b1, 0x313ac44f, 0xb903112f, 0x432ef649, 0xdc0a36c0, 0x61cf2bba, + 0x81474925, 0xa8b6c7ad, 0xee5931de, 0xb2f8158d, 0x59fb7409, 0x2e3dfaed, 0x9af25a3f, 0xe1fed4d5, +}; + +static unsigned int stabrand(void) +{ + //spice_assert( !(TABRAND_SEEDMASK & TABRAND_TABSIZE)); + //spice_assert( TABRAND_SEEDMASK + 1 == TABRAND_TABSIZE ); + + return TABRAND_SEEDMASK; +} + +static unsigned int tabrand(unsigned int *tabrand_seed) +{ + return tabrand_chaos[++*tabrand_seed & TABRAND_SEEDMASK]; +} + +static const unsigned short besttrigtab[3][11] = { /* array of wm_trigger for waitmask and evol, + used by set_wm_trigger() */ + /* 1 */ { 550, 900, 800, 700, 500, 350, 300, 200, 180, 180, 160}, + /* 3 */ { 110, 550, 900, 800, 550, 400, 350, 250, 140, 160, 140}, + /* 5 */ { 100, 120, 550, 900, 700, 500, 400, 300, 220, 250, 160} +}; + +/* set wm_trigger knowing waitmask (param) and evol (glob)*/ +static void set_wm_trigger(CommonState *state) +{ + unsigned int wm = state->wmidx; + if (wm > 10) { + wm = 10; + } + + spice_assert(evol < 6); + + state->wm_trigger = besttrigtab[evol / 2][wm]; + + spice_assert(state->wm_trigger <= 2000); + spice_assert(state->wm_trigger >= 1); +} + +static int ceil_log_2(int val) /* ceil(log_2(val)) */ +{ + int result; + + //spice_assert(val>0); + + if (val == 1) { + return 0; + } + + result = 1; + val -= 1; + while (val >>= 1) { + result++; + } + + return result; +} + +/* number of leading zeroes in the byte, used by cntlzeroes(uint)*/ +static const BYTE lzeroes[256] = { + 8, 7, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +}; + +/* count leading zeroes */ +static unsigned int cnt_l_zeroes(const unsigned int bits) +{ + if (bits & 0xff800000) { + return lzeroes[bits >> 24]; + } else if (bits & 0xffff8000) { + return 8 + lzeroes[(bits >> 16) & 0x000000ff]; + } else if (bits & 0xffffff80) { + return 16 + lzeroes[(bits >> 8) & 0x000000ff]; + } else { + return 24 + lzeroes[bits & 0x000000ff]; + } +} + +#define QUIC_FAMILY_8BPC +#include "quic_family_tmpl.c" + +#ifdef QUIC_RGB +#define QUIC_FAMILY_5BPC +#include "quic_family_tmpl.c" +#endif + +static void decorelate_init(QuicFamily *family, int bpc) +{ + const unsigned int pixelbitmask = bppmask[bpc]; + const unsigned int pixelbitmaskshr = pixelbitmask >> 1; + unsigned int s; + + //spice_assert(bpc <= 8); + + for (s = 0; s <= pixelbitmask; s++) { + if (s <= pixelbitmaskshr) { + family->xlatU2L[s] = s << 1; + } else { + family->xlatU2L[s] = ((pixelbitmask - s) << 1) + 1; + } + } +} + +static void corelate_init(QuicFamily *family, int bpc) +{ + const unsigned long int pixelbitmask = bppmask[bpc]; + unsigned long int s; + + //spice_assert(bpc <= 8); + + for (s = 0; s <= pixelbitmask; s++) { + if (s & 0x01) { + family->xlatL2U[s] = pixelbitmask - (s >> 1); + } else { + family->xlatL2U[s] = (s >> 1); + } + } +} + +static void family_init(QuicFamily *family, int bpc, int limit) +{ + int l; + + for (l = 0; l < bpc; l++) { /* fill arrays indexed by code number */ + int altprefixlen, altcodewords; + + altprefixlen = limit - bpc; + if (altprefixlen > (int)(bppmask[bpc - l])) { + altprefixlen = bppmask[bpc - l]; + } + + altcodewords = bppmask[bpc] + 1 - (altprefixlen << l); + + family->nGRcodewords[l] = (altprefixlen << l); + family->notGRcwlen[l] = altprefixlen + ceil_log_2(altcodewords); + family->notGRprefixmask[l] = bppmask[32 - altprefixlen]; /* needed for decoding only */ + family->notGRsuffixlen[l] = ceil_log_2(altcodewords); /* needed for decoding only */ + } + + decorelate_init(family, bpc); + corelate_init(family, bpc); +} + +static void more_io_words(Encoder *encoder) +{ + uint32_t *io_ptr; + int num_io_words = encoder->usr->more_space(encoder->usr, &io_ptr, encoder->rows_completed); + if (num_io_words <= 0) { + encoder->usr->error(encoder->usr, "%s: no more words\n", __FUNCTION__); + } + spice_assert(io_ptr); + encoder->io_words_count += num_io_words; + encoder->io_now = io_ptr; + encoder->io_end = encoder->io_now + num_io_words; +} + +static void __write_io_word(Encoder *encoder) +{ + more_io_words(encoder); + *(encoder->io_now++) = encoder->io_word; +} + +static void (*__write_io_word_ptr)(Encoder *encoder) = __write_io_word; + +static INLINE void write_io_word(Encoder *encoder) +{ + if (encoder->io_now == encoder->io_end) { + __write_io_word_ptr(encoder); //disable inline optimizations + return; + } + *(encoder->io_now++) = encoder->io_word; +} + +static INLINE void encode(Encoder *encoder, unsigned int word, unsigned int len) +{ + int delta; + + spice_assert(len > 0 && len < 32); + spice_assert(!(word & ~bppmask[len])); + if ((delta = ((int)encoder->io_available_bits - len)) >= 0) { + encoder->io_available_bits = delta; + encoder->io_word |= word << encoder->io_available_bits; + return; + } + delta = -delta; + encoder->io_word |= word >> delta; + write_io_word(encoder); + encoder->io_available_bits = 32 - delta; + encoder->io_word = word << encoder->io_available_bits; + + spice_assert(encoder->io_available_bits < 32); + spice_assert((encoder->io_word & bppmask[encoder->io_available_bits]) == 0); +} + +static INLINE void encode_32(Encoder *encoder, unsigned int word) +{ + encode(encoder, word >> 16, 16); + encode(encoder, word & 0x0000ffff, 16); +} + +static INLINE void flush(Encoder *encoder) +{ + if (encoder->io_available_bits > 0 && encoder->io_available_bits != 32) { + encode(encoder, 0, encoder->io_available_bits); + } + encode_32(encoder, 0); + encode(encoder, 0, 1); +} + +static void __read_io_word(Encoder *encoder) +{ + more_io_words(encoder); + encoder->io_next_word = *(encoder->io_now++); +} + +static void (*__read_io_word_ptr)(Encoder *encoder) = __read_io_word; + + +static INLINE void read_io_word(Encoder *encoder) +{ + if (encoder->io_now == encoder->io_end) { + __read_io_word_ptr(encoder); //disable inline optimizations + return; + } + spice_assert(encoder->io_now < encoder->io_end); + encoder->io_next_word = *(encoder->io_now++); +} + +static INLINE void decode_eatbits(Encoder *encoder, int len) +{ + int delta; + + spice_assert(len > 0 && len < 32); + encoder->io_word <<= len; + + if ((delta = ((int)encoder->io_available_bits - len)) >= 0) { + encoder->io_available_bits = delta; + encoder->io_word |= encoder->io_next_word >> encoder->io_available_bits; + return; + } + + delta = -delta; + encoder->io_word |= encoder->io_next_word << delta; + read_io_word(encoder); + encoder->io_available_bits = 32 - delta; + encoder->io_word |= (encoder->io_next_word >> encoder->io_available_bits); +} + +static INLINE void decode_eat32bits(Encoder *encoder) +{ + decode_eatbits(encoder, 16); + decode_eatbits(encoder, 16); +} + +#ifdef RLE + +#ifdef RLE_STAT + +static INLINE void encode_ones(Encoder *encoder, unsigned int n) +{ + unsigned int count; + + for (count = n >> 5; count; count--) { + encode(encoder, ~0U, 32); + } + + if ((n &= 0x1f)) { + encode(encoder, (1U << n) - 1, n); + } +} + +#define MELCSTATES 32 /* number of melcode states */ + +static int zeroLUT[256]; /* table to find out number of leading zeros */ + +static int J[MELCSTATES] = { + 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 5, 5, 6, 6, 7, + 7, 8, 9, 10, 11, 12, 13, 14, 15 +}; + +/* creates the bit counting look-up table. */ +static void init_zeroLUT(void) +{ + int i, j, k, l; + + j = k = 1; + l = 8; + for (i = 0; i < 256; ++i) { + zeroLUT[i] = l; + --k; + if (k == 0) { + k = j; + --l; + j *= 2; + } + } +} + +static void encoder_init_rle(CommonState *state) +{ + state->melcstate = 0; + state->melclen = J[0]; + state->melcorder = 1 << state->melclen; +} + +#ifdef QUIC_RGB + +static void encode_run(Encoder *encoder, unsigned int runlen) //todo: try use end of line +{ + int hits = 0; + + while (runlen >= encoder->rgb_state.melcorder) { + hits++; + runlen -= encoder->rgb_state.melcorder; + if (encoder->rgb_state.melcstate < MELCSTATES) { + encoder->rgb_state.melclen = J[++encoder->rgb_state.melcstate]; + encoder->rgb_state.melcorder = (1L << encoder->rgb_state.melclen); + } + } + + /* send the required number of "hit" bits (one per occurrence + of a run of length melcorder). This number is never too big: + after 31 such "hit" bits, each "hit" would represent a run of 32K + pixels. + */ + encode_ones(encoder, hits); + + encode(encoder, runlen, encoder->rgb_state.melclen + 1); + + /* adjust melcoder parameters */ + if (encoder->rgb_state.melcstate) { + encoder->rgb_state.melclen = J[--encoder->rgb_state.melcstate]; + encoder->rgb_state.melcorder = (1L << encoder->rgb_state.melclen); + } +} + +#endif + +static void encode_channel_run(Encoder *encoder, Channel *channel, unsigned int runlen) +{ + //todo: try use end of line + int hits = 0; + + while (runlen >= channel->state.melcorder) { + hits++; + runlen -= channel->state.melcorder; + if (channel->state.melcstate < MELCSTATES) { + channel->state.melclen = J[++channel->state.melcstate]; + channel->state.melcorder = (1L << channel->state.melclen); + } + } + + /* send the required number of "hit" bits (one per occurrence + of a run of length melcorder). This number is never too big: + after 31 such "hit" bits, each "hit" would represent a run of 32K + pixels. + */ + encode_ones(encoder, hits); + + encode(encoder, runlen, channel->state.melclen + 1); + + /* adjust melcoder parameters */ + if (channel->state.melcstate) { + channel->state.melclen = J[--channel->state.melcstate]; + channel->state.melcorder = (1L << channel->state.melclen); + } +} + +/* decoding routine: reads bits from the input and returns a run length. */ +/* argument is the number of pixels left to end-of-line (bound on run length) */ + +#ifdef QUIC_RGB +static int decode_run(Encoder *encoder) +{ + int runlen = 0; + + do { + register int temp, hits; + temp = zeroLUT[(BYTE)(~(encoder->io_word >> 24))];/* number of leading ones in the + input stream, up to 8 */ + for (hits = 1; hits <= temp; hits++) { + runlen += encoder->rgb_state.melcorder; + + if (encoder->rgb_state.melcstate < MELCSTATES) { + encoder->rgb_state.melclen = J[++encoder->rgb_state.melcstate]; + encoder->rgb_state.melcorder = (1U << encoder->rgb_state.melclen); + } + } + if (temp != 8) { + decode_eatbits(encoder, temp + 1); /* consume the leading + 0 of the remainder encoding */ + break; + } + decode_eatbits(encoder, 8); + } while (1); + + /* read the length of the remainder */ + if (encoder->rgb_state.melclen) { + runlen += encoder->io_word >> (32 - encoder->rgb_state.melclen); + decode_eatbits(encoder, encoder->rgb_state.melclen); + } + + /* adjust melcoder parameters */ + if (encoder->rgb_state.melcstate) { + encoder->rgb_state.melclen = J[--encoder->rgb_state.melcstate]; + encoder->rgb_state.melcorder = (1U << encoder->rgb_state.melclen); + } + + return runlen; +} + +#endif + +static int decode_channel_run(Encoder *encoder, Channel *channel) +{ + int runlen = 0; + + do { + register int temp, hits; + temp = zeroLUT[(BYTE)(~(encoder->io_word >> 24))];/* number of leading ones in the + input stream, up to 8 */ + for (hits = 1; hits <= temp; hits++) { + runlen += channel->state.melcorder; + + if (channel->state.melcstate < MELCSTATES) { + channel->state.melclen = J[++channel->state.melcstate]; + channel->state.melcorder = (1U << channel->state.melclen); + } + } + if (temp != 8) { + decode_eatbits(encoder, temp + 1); /* consume the leading + 0 of the remainder encoding */ + break; + } + decode_eatbits(encoder, 8); + } while (1); + + /* read the length of the remainder */ + if (channel->state.melclen) { + runlen += encoder->io_word >> (32 - channel->state.melclen); + decode_eatbits(encoder, channel->state.melclen); + } + + /* adjust melcoder parameters */ + if (channel->state.melcstate) { + channel->state.melclen = J[--channel->state.melcstate]; + channel->state.melcorder = (1U << channel->state.melclen); + } + + return runlen; +} + +#else + +static INLINE void encode_run(Encoder *encoder, unsigned int len) +{ + int odd = len & 1U; + int msb; + + len &= ~1U; + + while ((msb = spice_bit_find_msb(len))) { + len &= ~(1 << (msb - 1)); + spice_assert(msb < 32); + encode(encoder, (1 << (msb)) - 1, msb); + encode(encoder, 0, 1); + } + + if (odd) { + encode(encoder, 2, 2); + } else { + encode(encoder, 0, 1); + } +} + +static INLINE unsigned int decode_run(Encoder *encoder) +{ + unsigned int len = 0; + int count; + + do { + count = 0; + while (encoder->io_word & (1U << 31)) { + decode_eatbits(encoder, 1); + count++; + spice_assert(count < 32); + } + decode_eatbits(encoder, 1); + len += (1U << count) >> 1; + } while (count > 1); + + return len; +} + +#endif +#endif + +static INLINE void init_decode_io(Encoder *encoder) +{ + encoder->io_next_word = encoder->io_word = *(encoder->io_now++); + encoder->io_available_bits = 0; +} + +#ifdef __GNUC__ +#define ATTR_PACKED __attribute__ ((__packed__)) +#else +#define ATTR_PACKED +#pragma pack(push) +#pragma pack(1) +#endif + +typedef struct ATTR_PACKED one_byte_pixel_t { + BYTE a; +} one_byte_t; + +typedef struct ATTR_PACKED three_bytes_pixel_t { + BYTE a; + BYTE b; + BYTE c; +} three_bytes_t; + +typedef struct ATTR_PACKED four_bytes_pixel_t { + BYTE a; + BYTE b; + BYTE c; + BYTE d; +} four_bytes_t; + +typedef struct ATTR_PACKED rgb32_pixel_t { + BYTE b; + BYTE g; + BYTE r; + BYTE pad; +} rgb32_pixel_t; + +typedef struct ATTR_PACKED rgb24_pixel_t { + BYTE b; + BYTE g; + BYTE r; +} rgb24_pixel_t; + +typedef uint16_t rgb16_pixel_t; + +#ifndef __GNUC__ +#pragma pack(pop) +#endif + +#undef ATTR_PACKED + +#define ONE_BYTE +#include "quic_tmpl.c" + +#define FOUR_BYTE +#include "quic_tmpl.c" + +#ifdef QUIC_RGB + +#define QUIC_RGB32 +#include "quic_rgb_tmpl.c" + +#define QUIC_RGB24 +#include "quic_rgb_tmpl.c" + +#define QUIC_RGB16 +#include "quic_rgb_tmpl.c" + +#define QUIC_RGB16_TO_32 +#include "quic_rgb_tmpl.c" + +#else + +#define THREE_BYTE +#include "quic_tmpl.c" + +#endif + +static void fill_model_structures(Encoder *encoder, FamilyStat *family_stat, + unsigned int rep_first, unsigned int first_size, + unsigned int rep_next, unsigned int mul_size, + unsigned int levels, unsigned int ncounters, + unsigned int nbuckets, unsigned int n_buckets_ptrs) +{ + unsigned int + bsize, + bstart, + bend = 0, + repcntr, + bnumber; + + COUNTER * free_counter = family_stat->counters;/* first free location in the array of + counters */ + + bnumber = 0; + + repcntr = rep_first + 1; /* first bucket */ + bsize = first_size; + + do { /* others */ + if (bnumber) { + bstart = bend + 1; + } else { + bstart = 0; + } + + if (!--repcntr) { + repcntr = rep_next; + bsize *= mul_size; + } + + bend = bstart + bsize - 1; + if (bend + bsize >= levels) { + bend = levels - 1; + } + + family_stat->buckets_buf[bnumber].pcounters = free_counter; + free_counter += ncounters; + + spice_assert(bstart < n_buckets_ptrs); + { + unsigned int i; + spice_assert(bend < n_buckets_ptrs); + for (i = bstart; i <= bend; i++) { + family_stat->buckets_ptrs[i] = family_stat->buckets_buf + bnumber; + } + } + + bnumber++; + } while (bend < levels - 1); + + spice_assert(free_counter - family_stat->counters == nbuckets * ncounters); +} + +static void find_model_params(Encoder *encoder, + const int bpc, + unsigned int *ncounters, + unsigned int *levels, + unsigned int *n_buckets_ptrs, + unsigned int *repfirst, + unsigned int *firstsize, + unsigned int *repnext, + unsigned int *mulsize, + unsigned int *nbuckets) +{ + unsigned int bsize; /* bucket size */ + unsigned int bstart, bend = 0; /* bucket start and end, range : 0 to levels-1*/ + unsigned int repcntr; /* helper */ + + spice_assert(bpc <= 8 && bpc > 0); + + + *ncounters = 8; + + *levels = 0x1 << bpc; + + *n_buckets_ptrs = 0; /* ==0 means: not set yet */ + + switch (evol) { /* set repfirst firstsize repnext mulsize */ + case 1: /* buckets contain following numbers of contexts: 1 1 1 2 2 4 4 8 8 ... */ + *repfirst = 3; + *firstsize = 1; + *repnext = 2; + *mulsize = 2; + break; + case 3: /* 1 2 4 8 16 32 64 ... */ + *repfirst = 1; + *firstsize = 1; + *repnext = 1; + *mulsize = 2; + break; + case 5: /* 1 4 16 64 256 1024 4096 16384 65536 */ + *repfirst = 1; + *firstsize = 1; + *repnext = 1; + *mulsize = 4; + break; + case 0: /* obsolete */ + case 2: /* obsolete */ + case 4: /* obsolete */ + encoder->usr->error(encoder->usr, "findmodelparams(): evol value obsolete!!!\n"); + default: + encoder->usr->error(encoder->usr, "findmodelparams(): evol out of range!!!\n"); + } + + *nbuckets = 0; + repcntr = *repfirst + 1; /* first bucket */ + bsize = *firstsize; + + do { /* other buckets */ + if (nbuckets) { /* bucket start */ + bstart = bend + 1; + } else { + bstart = 0; + } + + if (!--repcntr) { /* bucket size */ + repcntr = *repnext; + bsize *= *mulsize; + } + + bend = bstart + bsize - 1; /* bucket end */ + if (bend + bsize >= *levels) { /* if following bucked was bigger than current one */ + bend = *levels - 1; /* concatenate them */ + } + + if (!*n_buckets_ptrs) { /* array size not set yet? */ + *n_buckets_ptrs = *levels; + #if 0 + if (bend == *levels - 1) { /* this bucket is last - all in the first array */ + *n_buckets_ptrs = *levels; + } else if (bsize >= 256) { /* this bucket is allowed to reside in the 2nd table */ + b_lo_ptrs = bstart; + spice_assert(bstart); /* previous bucket exists */ + } + #endif + } + + (*nbuckets)++; + } while (bend < *levels - 1); +} + +static int init_model_structures(Encoder *encoder, FamilyStat *family_stat, + unsigned int rep_first, unsigned int first_size, + unsigned int rep_next, unsigned int mul_size, + unsigned int levels, unsigned int ncounters, + unsigned int n_buckets_ptrs, unsigned int n_buckets) +{ + family_stat->buckets_ptrs = (s_bucket **)encoder->usr->malloc(encoder->usr, + n_buckets_ptrs * + sizeof(s_bucket *)); + if (!family_stat->buckets_ptrs) { + return FALSE; + } + + family_stat->counters = (COUNTER *)encoder->usr->malloc(encoder->usr, + n_buckets * sizeof(COUNTER) * + MAXNUMCODES); + if (!family_stat->counters) { + goto error_1; + } + + family_stat->buckets_buf = (s_bucket *)encoder->usr->malloc(encoder->usr, + n_buckets * sizeof(s_bucket)); + if (!family_stat->buckets_buf) { + goto error_2; + } + + fill_model_structures(encoder, family_stat, rep_first, first_size, rep_next, mul_size, levels, + ncounters, n_buckets, n_buckets_ptrs); + + return TRUE; + +error_2: + encoder->usr->free(encoder->usr, family_stat->counters); + +error_1: + encoder->usr->free(encoder->usr, family_stat->buckets_ptrs); + + return FALSE; +} + +static void free_family_stat(QuicUsrContext *usr, FamilyStat *family_stat) +{ + usr->free(usr, family_stat->buckets_ptrs); + usr->free(usr, family_stat->counters); + usr->free(usr, family_stat->buckets_buf); +} + +static int init_channel(Encoder *encoder, Channel *channel) +{ + unsigned int ncounters; + unsigned int levels; + unsigned int rep_first; + unsigned int first_size; + unsigned int rep_next; + unsigned int mul_size; + unsigned int n_buckets; + unsigned int n_buckets_ptrs; + + channel->encoder = encoder; + channel->state.encoder = encoder; + channel->correlate_row_width = 0; + channel->correlate_row = NULL; + + find_model_params(encoder, 8, &ncounters, &levels, &n_buckets_ptrs, &rep_first, + &first_size, &rep_next, &mul_size, &n_buckets); + encoder->n_buckets_8bpc = n_buckets; + if (!init_model_structures(encoder, &channel->family_stat_8bpc, rep_first, first_size, + rep_next, mul_size, levels, ncounters, n_buckets_ptrs, + n_buckets)) { + return FALSE; + } + + find_model_params(encoder, 5, &ncounters, &levels, &n_buckets_ptrs, &rep_first, + &first_size, &rep_next, &mul_size, &n_buckets); + encoder->n_buckets_5bpc = n_buckets; + if (!init_model_structures(encoder, &channel->family_stat_5bpc, rep_first, first_size, + rep_next, mul_size, levels, ncounters, n_buckets_ptrs, + n_buckets)) { + free_family_stat(encoder->usr, &channel->family_stat_8bpc); + return FALSE; + } + + return TRUE; +} + +static void destroy_channel(Channel *channel) +{ + QuicUsrContext *usr = channel->encoder->usr; + if (channel->correlate_row) { + usr->free(usr, channel->correlate_row - 1); + } + free_family_stat(usr, &channel->family_stat_8bpc); + free_family_stat(usr, &channel->family_stat_5bpc); +} + +static int init_encoder(Encoder *encoder, QuicUsrContext *usr) +{ + int i; + + encoder->usr = usr; + encoder->rgb_state.encoder = encoder; + + for (i = 0; i < MAX_CHANNELS; i++) { + if (!init_channel(encoder, &encoder->channels[i])) { + for (--i; i >= 0; i--) { + destroy_channel(&encoder->channels[i]); + } + return FALSE; + } + } + return TRUE; +} + +static int encoder_reste(Encoder *encoder, uint32_t *io_ptr, uint32_t *io_ptr_end) +{ + spice_assert(((unsigned long)io_ptr % 4) == ((unsigned long)io_ptr_end % 4)); + spice_assert(io_ptr <= io_ptr_end); + + encoder->rgb_state.waitcnt = 0; + encoder->rgb_state.tabrand_seed = stabrand(); + encoder->rgb_state.wmidx = DEFwmistart; + encoder->rgb_state.wmileft = wminext; + set_wm_trigger(&encoder->rgb_state); + +#if defined(RLE) && defined(RLE_STAT) + encoder_init_rle(&encoder->rgb_state); +#endif + + encoder->io_words_count = io_ptr_end - io_ptr; + encoder->io_now = io_ptr; + encoder->io_end = io_ptr_end; + encoder->rows_completed = 0; + + return TRUE; +} + +static int encoder_reste_channels(Encoder *encoder, int channels, int width, int bpc) +{ + int i; + + encoder->num_channels = channels; + + for (i = 0; i < channels; i++) { + s_bucket *bucket; + s_bucket *end_bucket; + + if (encoder->channels[i].correlate_row_width < width) { + encoder->channels[i].correlate_row_width = 0; + if (encoder->channels[i].correlate_row) { + encoder->usr->free(encoder->usr, encoder->channels[i].correlate_row - 1); + } + if (!(encoder->channels[i].correlate_row = (BYTE *)encoder->usr->malloc(encoder->usr, + width + 1))) { + return FALSE; + } + encoder->channels[i].correlate_row++; + encoder->channels[i].correlate_row_width = width; + } + + if (bpc == 8) { + MEMCLEAR(encoder->channels[i].family_stat_8bpc.counters, + encoder->n_buckets_8bpc * sizeof(COUNTER) * MAXNUMCODES); + bucket = encoder->channels[i].family_stat_8bpc.buckets_buf; + end_bucket = bucket + encoder->n_buckets_8bpc; + for (; bucket < end_bucket; bucket++) { + bucket->bestcode = /*BPC*/ 8 - 1; + } + encoder->channels[i]._buckets_ptrs = encoder->channels[i].family_stat_8bpc.buckets_ptrs; + } else if (bpc == 5) { + MEMCLEAR(encoder->channels[i].family_stat_5bpc.counters, + encoder->n_buckets_5bpc * sizeof(COUNTER) * MAXNUMCODES); + bucket = encoder->channels[i].family_stat_5bpc.buckets_buf; + end_bucket = bucket + encoder->n_buckets_5bpc; + for (; bucket < end_bucket; bucket++) { + bucket->bestcode = /*BPC*/ 5 - 1; + } + encoder->channels[i]._buckets_ptrs = encoder->channels[i].family_stat_5bpc.buckets_ptrs; + } else { + encoder->usr->warn(encoder->usr, "%s: bad bpc %d\n", __FUNCTION__, bpc); + return FALSE; + } + + encoder->channels[i].state.waitcnt = 0; + encoder->channels[i].state.tabrand_seed = stabrand(); + encoder->channels[i].state.wmidx = DEFwmistart; + encoder->channels[i].state.wmileft = wminext; + set_wm_trigger(&encoder->channels[i].state); + +#if defined(RLE) && defined(RLE_STAT) + encoder_init_rle(&encoder->channels[i].state); +#endif + } + return TRUE; +} + +static void quic_image_params(Encoder *encoder, QuicImageType type, int *channels, int *bpc) +{ + spice_assert(channels && bpc); + switch (type) { + case QUIC_IMAGE_TYPE_GRAY: + *channels = 1; + *bpc = 8; + break; + case QUIC_IMAGE_TYPE_RGB16: + *channels = 3; + *bpc = 5; +#ifndef QUIC_RGB + encoder->usr->error(encoder->usr, "not implemented\n"); +#endif + break; + case QUIC_IMAGE_TYPE_RGB24: + *channels = 3; + *bpc = 8; + break; + case QUIC_IMAGE_TYPE_RGB32: + *channels = 3; + *bpc = 8; + break; + case QUIC_IMAGE_TYPE_RGBA: + *channels = 4; + *bpc = 8; + break; + case QUIC_IMAGE_TYPE_INVALID: + default: + *channels = 0; + *bpc = 0; + encoder->usr->error(encoder->usr, "bad image type\n"); + } +} + +#define FILL_LINES() { \ + if (line == lines_end) { \ + int n = encoder->usr->more_lines(encoder->usr, &line); \ + if (n <= 0 || line == NULL) { \ + encoder->usr->error(encoder->usr, "more lines failed\n"); \ + } \ + lines_end = line + n * stride; \ + } \ +} + +#define NEXT_LINE() { \ + line += stride; \ + FILL_LINES(); \ +} + +#define QUIC_COMPRESS_RGB(bits) \ + encoder->channels[0].correlate_row[-1] = 0; \ + encoder->channels[1].correlate_row[-1] = 0; \ + encoder->channels[2].correlate_row[-1] = 0; \ + quic_rgb##bits##_compress_row0(encoder, (rgb##bits##_pixel_t *)(line), width); \ + encoder->rows_completed++; \ + for (row = 1; row < height; row++) { \ + prev = line; \ + NEXT_LINE(); \ + encoder->channels[0].correlate_row[-1] = encoder->channels[0].correlate_row[0]; \ + encoder->channels[1].correlate_row[-1] = encoder->channels[1].correlate_row[0]; \ + encoder->channels[2].correlate_row[-1] = encoder->channels[2].correlate_row[0]; \ + quic_rgb##bits##_compress_row(encoder, (rgb##bits##_pixel_t *)prev, \ + (rgb##bits##_pixel_t *)line, width); \ + encoder->rows_completed++; \ + } + +int quic_encode(QuicContext *quic, QuicImageType type, int width, int height, + uint8_t *line, unsigned int num_lines, int stride, + uint32_t *io_ptr, unsigned int num_io_words) +{ + Encoder *encoder = (Encoder *)quic; + uint32_t *io_ptr_end = io_ptr + num_io_words; + uint8_t *lines_end; + int row; + uint8_t *prev; + int channels; + int bpc; +#ifndef QUIC_RGB + int i; +#endif + + lines_end = line + num_lines * stride; + if (line == NULL && lines_end != line) { + spice_warn_if_reached(); + return QUIC_ERROR; + } + + quic_image_params(encoder, type, &channels, &bpc); + + if (!encoder_reste(encoder, io_ptr, io_ptr_end) || + !encoder_reste_channels(encoder, channels, width, bpc)) { + return QUIC_ERROR; + } + + encoder->io_word = 0; + encoder->io_available_bits = 32; + + encode_32(encoder, QUIC_MAGIC); + encode_32(encoder, QUIC_VERSION); + encode_32(encoder, type); + encode_32(encoder, width); + encode_32(encoder, height); + + FILL_LINES(); + + switch (type) { +#ifdef QUIC_RGB + case QUIC_IMAGE_TYPE_RGB32: + spice_assert(ABS(stride) >= width * 4); + QUIC_COMPRESS_RGB(32); + break; + case QUIC_IMAGE_TYPE_RGB24: + spice_assert(ABS(stride) >= width * 3); + QUIC_COMPRESS_RGB(24); + break; + case QUIC_IMAGE_TYPE_RGB16: + spice_assert(ABS(stride) >= width * 2); + QUIC_COMPRESS_RGB(16); + break; + case QUIC_IMAGE_TYPE_RGBA: + spice_assert(ABS(stride) >= width * 4); + + encoder->channels[0].correlate_row[-1] = 0; + encoder->channels[1].correlate_row[-1] = 0; + encoder->channels[2].correlate_row[-1] = 0; + quic_rgb32_compress_row0(encoder, (rgb32_pixel_t *)(line), width); + + encoder->channels[3].correlate_row[-1] = 0; + quic_four_compress_row0(encoder, &encoder->channels[3], (four_bytes_t *)(line + 3), width); + + encoder->rows_completed++; + + for (row = 1; row < height; row++) { + prev = line; + NEXT_LINE(); + encoder->channels[0].correlate_row[-1] = encoder->channels[0].correlate_row[0]; + encoder->channels[1].correlate_row[-1] = encoder->channels[1].correlate_row[0]; + encoder->channels[2].correlate_row[-1] = encoder->channels[2].correlate_row[0]; + quic_rgb32_compress_row(encoder, (rgb32_pixel_t *)prev, (rgb32_pixel_t *)line, width); + + encoder->channels[3].correlate_row[-1] = encoder->channels[3].correlate_row[0]; + quic_four_compress_row(encoder, &encoder->channels[3], (four_bytes_t *)(prev + 3), + (four_bytes_t *)(line + 3), width); + encoder->rows_completed++; + } + break; +#else + case QUIC_IMAGE_TYPE_RGB24: + spice_assert(ABS(stride) >= width * 3); + for (i = 0; i < 3; i++) { + encoder->channels[i].correlate_row[-1] = 0; + quic_three_compress_row0(encoder, &encoder->channels[i], (three_bytes_t *)(line + i), + width); + } + encoder->rows_completed++; + for (row = 1; row < height; row++) { + prev = line; + NEXT_LINE(); + for (i = 0; i < 3; i++) { + encoder->channels[i].correlate_row[-1] = encoder->channels[i].correlate_row[0]; + quic_three_compress_row(encoder, &encoder->channels[i], (three_bytes_t *)(prev + i), + (three_bytes_t *)(line + i), width); + } + encoder->rows_completed++; + } + break; + case QUIC_IMAGE_TYPE_RGB32: + case QUIC_IMAGE_TYPE_RGBA: + spice_assert(ABS(stride) >= width * 4); + for (i = 0; i < channels; i++) { + encoder->channels[i].correlate_row[-1] = 0; + quic_four_compress_row0(encoder, &encoder->channels[i], (four_bytes_t *)(line + i), + width); + } + encoder->rows_completed++; + for (row = 1; row < height; row++) { + prev = line; + NEXT_LINE(); + for (i = 0; i < channels; i++) { + encoder->channels[i].correlate_row[-1] = encoder->channels[i].correlate_row[0]; + quic_four_compress_row(encoder, &encoder->channels[i], (four_bytes_t *)(prev + i), + (four_bytes_t *)(line + i), width); + } + encoder->rows_completed++; + } + break; +#endif + case QUIC_IMAGE_TYPE_GRAY: + spice_assert(ABS(stride) >= width); + encoder->channels[0].correlate_row[-1] = 0; + quic_one_compress_row0(encoder, &encoder->channels[0], (one_byte_t *)line, width); + encoder->rows_completed++; + for (row = 1; row < height; row++) { + prev = line; + NEXT_LINE(); + encoder->channels[0].correlate_row[-1] = encoder->channels[0].correlate_row[0]; + quic_one_compress_row(encoder, &encoder->channels[0], (one_byte_t *)prev, + (one_byte_t *)line, width); + encoder->rows_completed++; + } + break; + case QUIC_IMAGE_TYPE_INVALID: + default: + encoder->usr->error(encoder->usr, "bad image type\n"); + } + + flush(encoder); + encoder->io_words_count -= (encoder->io_end - encoder->io_now); + + return encoder->io_words_count; +} + +int quic_decode_begin(QuicContext *quic, uint32_t *io_ptr, unsigned int num_io_words, + QuicImageType *out_type, int *out_width, int *out_height) +{ + Encoder *encoder = (Encoder *)quic; + uint32_t *io_ptr_end = io_ptr + num_io_words; + QuicImageType type; + int width; + int height; + uint32_t magic; + uint32_t version; + int channels; + int bpc; + + if (!encoder_reste(encoder, io_ptr, io_ptr_end)) { + return QUIC_ERROR; + } + + init_decode_io(encoder); + + magic = encoder->io_word; + decode_eat32bits(encoder); + if (magic != QUIC_MAGIC) { + encoder->usr->warn(encoder->usr, "bad magic\n"); + return QUIC_ERROR; + } + + version = encoder->io_word; + decode_eat32bits(encoder); + if (version != QUIC_VERSION) { + encoder->usr->warn(encoder->usr, "bad version\n"); + return QUIC_ERROR; + } + + type = (QuicImageType)encoder->io_word; + decode_eat32bits(encoder); + + width = encoder->io_word; + decode_eat32bits(encoder); + + height = encoder->io_word; + decode_eat32bits(encoder); + + quic_image_params(encoder, type, &channels, &bpc); + + if (!encoder_reste_channels(encoder, channels, width, bpc)) { + return QUIC_ERROR; + } + + *out_width = encoder->width = width; + *out_height = encoder->height = height; + *out_type = encoder->type = type; + return QUIC_OK; +} + +#ifndef QUIC_RGB +static void clear_row(four_bytes_t *row, int width) +{ + four_bytes_t *end; + for (end = row + width; row < end; row++) { + row->a = 0; + } +} + +#endif + +#ifdef QUIC_RGB + +static void uncompress_rgba(Encoder *encoder, uint8_t *buf, int stride) +{ + unsigned int row; + uint8_t *prev; + + encoder->channels[0].correlate_row[-1] = 0; + encoder->channels[1].correlate_row[-1] = 0; + encoder->channels[2].correlate_row[-1] = 0; + quic_rgb32_uncompress_row0(encoder, (rgb32_pixel_t *)buf, encoder->width); + + encoder->channels[3].correlate_row[-1] = 0; + quic_four_uncompress_row0(encoder, &encoder->channels[3], (four_bytes_t *)(buf + 3), + encoder->width); + + encoder->rows_completed++; + for (row = 1; row < encoder->height; row++) { + prev = buf; + buf += stride; + + encoder->channels[0].correlate_row[-1] = encoder->channels[0].correlate_row[0]; + encoder->channels[1].correlate_row[-1] = encoder->channels[1].correlate_row[0]; + encoder->channels[2].correlate_row[-1] = encoder->channels[2].correlate_row[0]; + quic_rgb32_uncompress_row(encoder, (rgb32_pixel_t *)prev, (rgb32_pixel_t *)buf, + encoder->width); + + encoder->channels[3].correlate_row[-1] = encoder->channels[3].correlate_row[0]; + quic_four_uncompress_row(encoder, &encoder->channels[3], (four_bytes_t *)(prev + 3), + (four_bytes_t *)(buf + 3), encoder->width); + + encoder->rows_completed++; + } +} + +#endif + +static void uncompress_gray(Encoder *encoder, uint8_t *buf, int stride) +{ + unsigned int row; + uint8_t *prev; + + encoder->channels[0].correlate_row[-1] = 0; + quic_one_uncompress_row0(encoder, &encoder->channels[0], (one_byte_t *)buf, encoder->width); + encoder->rows_completed++; + for (row = 1; row < encoder->height; row++) { + prev = buf; + buf += stride; + encoder->channels[0].correlate_row[-1] = encoder->channels[0].correlate_row[0]; + quic_one_uncompress_row(encoder, &encoder->channels[0], (one_byte_t *)prev, + (one_byte_t *)buf, encoder->width); + encoder->rows_completed++; + } +} + +#define QUIC_UNCOMPRESS_RGB(prefix, type) \ + encoder->channels[0].correlate_row[-1] = 0; \ + encoder->channels[1].correlate_row[-1] = 0; \ + encoder->channels[2].correlate_row[-1] = 0; \ + quic_rgb##prefix##_uncompress_row0(encoder, (type *)buf, encoder->width); \ + encoder->rows_completed++; \ + for (row = 1; row < encoder->height; row++) { \ + prev = buf; \ + buf += stride; \ + encoder->channels[0].correlate_row[-1] = encoder->channels[0].correlate_row[0]; \ + encoder->channels[1].correlate_row[-1] = encoder->channels[1].correlate_row[0]; \ + encoder->channels[2].correlate_row[-1] = encoder->channels[2].correlate_row[0]; \ + quic_rgb##prefix##_uncompress_row(encoder, (type *)prev, (type *)buf, \ + encoder->width); \ + encoder->rows_completed++; \ + } + +int quic_decode(QuicContext *quic, QuicImageType type, uint8_t *buf, int stride) +{ + Encoder *encoder = (Encoder *)quic; + unsigned int row; + uint8_t *prev; +#ifndef QUIC_RGB + int i; +#endif + + spice_assert(buf); + + switch (encoder->type) { +#ifdef QUIC_RGB + case QUIC_IMAGE_TYPE_RGB32: + case QUIC_IMAGE_TYPE_RGB24: + if (type == QUIC_IMAGE_TYPE_RGB32) { + spice_assert(ABS(stride) >= (int)encoder->width * 4); + QUIC_UNCOMPRESS_RGB(32, rgb32_pixel_t); + break; + } else if (type == QUIC_IMAGE_TYPE_RGB24) { + spice_assert(ABS(stride) >= (int)encoder->width * 3); + QUIC_UNCOMPRESS_RGB(24, rgb24_pixel_t); + break; + } + encoder->usr->warn(encoder->usr, "unsupported output format\n"); + return QUIC_ERROR; + case QUIC_IMAGE_TYPE_RGB16: + if (type == QUIC_IMAGE_TYPE_RGB16) { + spice_assert(ABS(stride) >= (int)encoder->width * 2); + QUIC_UNCOMPRESS_RGB(16, rgb16_pixel_t); + } else if (type == QUIC_IMAGE_TYPE_RGB32) { + spice_assert(ABS(stride) >= (int)encoder->width * 4); + QUIC_UNCOMPRESS_RGB(16_to_32, rgb32_pixel_t); + } else { + encoder->usr->warn(encoder->usr, "unsupported output format\n"); + return QUIC_ERROR; + } + + break; + case QUIC_IMAGE_TYPE_RGBA: + + if (type != QUIC_IMAGE_TYPE_RGBA) { + encoder->usr->warn(encoder->usr, "unsupported output format\n"); + return QUIC_ERROR; + } + spice_assert(ABS(stride) >= (int)encoder->width * 4); + uncompress_rgba(encoder, buf, stride); + break; +#else + case QUIC_IMAGE_TYPE_RGB24: + spice_assert(ABS(stride) >= (int)encoder->width * 3); + for (i = 0; i < 3; i++) { + encoder->channels[i].correlate_row[-1] = 0; + quic_three_uncompress_row0(encoder, &encoder->channels[i], (three_bytes_t *)(buf + i), + encoder->width); + } + encoder->rows_completed++; + for (row = 1; row < encoder->height; row++) { + prev = buf; + buf += stride; + for (i = 0; i < 3; i++) { + encoder->channels[i].correlate_row[-1] = encoder->channels[i].correlate_row[0]; + quic_three_uncompress_row(encoder, &encoder->channels[i], + (three_bytes_t *)(prev + i), + (three_bytes_t *)(buf + i), + encoder->width); + } + encoder->rows_completed++; + } + break; + case QUIC_IMAGE_TYPE_RGB32: + spice_assert(ABS(stride) >= encoder->width * 4); + for (i = 0; i < 3; i++) { + encoder->channels[i].correlate_row[-1] = 0; + quic_four_uncompress_row0(encoder, &encoder->channels[i], (four_bytes_t *)(buf + i), + encoder->width); + } + clear_row((four_bytes_t *)(buf + 3), encoder->width); + encoder->rows_completed++; + for (row = 1; row < encoder->height; row++) { + prev = buf; + buf += stride; + for (i = 0; i < 3; i++) { + encoder->channels[i].correlate_row[-1] = encoder->channels[i].correlate_row[0]; + quic_four_uncompress_row(encoder, &encoder->channels[i], + (four_bytes_t *)(prev + i), + (four_bytes_t *)(buf + i), + encoder->width); + } + clear_row((four_bytes_t *)(buf + 3), encoder->width); + encoder->rows_completed++; + } + break; + case QUIC_IMAGE_TYPE_RGBA: + spice_assert(ABS(stride) >= encoder->width * 4); + for (i = 0; i < 4; i++) { + encoder->channels[i].correlate_row[-1] = 0; + quic_four_uncompress_row0(encoder, &encoder->channels[i], (four_bytes_t *)(buf + i), + encoder->width); + } + encoder->rows_completed++; + for (row = 1; row < encoder->height; row++) { + prev = buf; + buf += stride; + for (i = 0; i < 4; i++) { + encoder->channels[i].correlate_row[-1] = encoder->channels[i].correlate_row[0]; + quic_four_uncompress_row(encoder, &encoder->channels[i], + (four_bytes_t *)(prev + i), + (four_bytes_t *)(buf + i), + encoder->width); + } + encoder->rows_completed++; + } + break; +#endif + case QUIC_IMAGE_TYPE_GRAY: + + if (type != QUIC_IMAGE_TYPE_GRAY) { + encoder->usr->warn(encoder->usr, "unsupported output format\n"); + return QUIC_ERROR; + } + spice_assert(ABS(stride) >= (int)encoder->width); + uncompress_gray(encoder, buf, stride); + break; + case QUIC_IMAGE_TYPE_INVALID: + default: + encoder->usr->error(encoder->usr, "bad image type\n"); + } + return QUIC_OK; +} + +static int need_init = TRUE; + +QuicContext *quic_create(QuicUsrContext *usr) +{ + Encoder *encoder; + + if (!usr || need_init || !usr->error || !usr->warn || !usr->info || !usr->malloc || + !usr->free || !usr->more_space || !usr->more_lines) { + return NULL; + } + + if (!(encoder = (Encoder *)usr->malloc(usr, sizeof(Encoder)))) { + return NULL; + } + + if (!init_encoder(encoder, usr)) { + usr->free(usr, encoder); + return NULL; + } + return (QuicContext *)encoder; +} + +void quic_destroy(QuicContext *quic) +{ + Encoder *encoder = (Encoder *)quic; + int i; + + if (!quic) { + return; + } + + for (i = 0; i < MAX_CHANNELS; i++) { + destroy_channel(&encoder->channels[i]); + } + encoder->usr->free(encoder->usr, encoder); +} + +void quic_init(void) +{ + if (!need_init) { + return; + } + need_init = FALSE; + + family_init(&family_8bpc, 8, DEFmaxclen); + family_init(&family_5bpc, 5, DEFmaxclen); +#if defined(RLE) && defined(RLE_STAT) + init_zeroLUT(); +#endif +} diff --git a/tizen/distrib/remote/common/spice-common/common/quic.h b/tizen/distrib/remote/common/spice-common/common/quic.h new file mode 100644 index 0000000..ee5fb17 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/quic.h @@ -0,0 +1,70 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef __QUIC_H +#define __QUIC_H + +#include <spice/macros.h> +#include "quic_config.h" +#include "macros.h" + +SPICE_BEGIN_DECLS + +typedef enum { + QUIC_IMAGE_TYPE_INVALID, + QUIC_IMAGE_TYPE_GRAY, + QUIC_IMAGE_TYPE_RGB16, + QUIC_IMAGE_TYPE_RGB24, + QUIC_IMAGE_TYPE_RGB32, + QUIC_IMAGE_TYPE_RGBA +} QuicImageType; + +#define QUIC_ERROR -1 +#define QUIC_OK 0 + +typedef void *QuicContext; + +typedef struct QuicUsrContext QuicUsrContext; +struct QuicUsrContext { + SPICE_ATTR_PRINTF(2, 3) void (*error)(QuicUsrContext *usr, const char *fmt, ...); + SPICE_ATTR_PRINTF(2, 3) void (*warn)(QuicUsrContext *usr, const char *fmt, ...); + SPICE_ATTR_PRINTF(2, 3) void (*info)(QuicUsrContext *usr, const char *fmt, ...); + void *(*malloc)(QuicUsrContext *usr, int size); + void (*free)(QuicUsrContext *usr, void *ptr); + int (*more_space)(QuicUsrContext *usr, uint32_t **io_ptr, int rows_completed); + int (*more_lines)(QuicUsrContext *usr, uint8_t **lines); // on return the last line of previous + // lines bunch must still be valid +}; + +int quic_encode(QuicContext *quic, QuicImageType type, int width, int height, + uint8_t *lines, unsigned int num_lines, int stride, + uint32_t *io_ptr, unsigned int num_io_words); + +int quic_decode_begin(QuicContext *quic, uint32_t *io_ptr, unsigned int num_io_words, + QuicImageType *type, int *width, int *height); +int quic_decode(QuicContext *quic, QuicImageType type, uint8_t *buf, int stride); + + +QuicContext *quic_create(QuicUsrContext *usr); +void quic_destroy(QuicContext *quic); + +void quic_init(void); + +SPICE_END_DECLS + +#endif diff --git a/tizen/distrib/remote/common/spice-common/common/quic_config.h b/tizen/distrib/remote/common/spice-common/common/quic_config.h new file mode 100644 index 0000000..fe89014 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/quic_config.h @@ -0,0 +1,44 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef __QUIC_CONFIG_H +#define __QUIC_CONFIG_H + +#include <spice/types.h> +#include <spice/macros.h> + +SPICE_BEGIN_DECLS + +#ifdef __GNUC__ +#include <string.h> +#define MEMCLEAR(ptr, size) memset(ptr, 0, size) +#else +#ifdef QXLDD +#include <windef.h> +#include "os_dep.h" +#define MEMCLEAR(ptr, size) RtlZeroMemory(ptr, size) +#else +#include <stddef.h> +#include <string.h> +#define MEMCLEAR(ptr, size) memset(ptr, 0, size) +#endif // QXLDD +#endif //__GNUC__ + +SPICE_END_DECLS + +#endif diff --git a/tizen/distrib/remote/common/spice-common/common/quic_family_tmpl.c b/tizen/distrib/remote/common/spice-common/common/quic_family_tmpl.c new file mode 100644 index 0000000..cca2c05 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/quic_family_tmpl.c @@ -0,0 +1,117 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#ifdef QUIC_FAMILY_8BPC +#undef QUIC_FAMILY_8BPC +#define FNAME(name) name##_8bpc +#define VNAME(name) name##_8bpc +#define BPC 8 +#endif + + +#ifdef QUIC_FAMILY_5BPC +#undef QUIC_FAMILY_5BPC +#define FNAME(name) name##_5bpc +#define VNAME(name) name##_5bpc +#define BPC 5 +#endif + + +static unsigned int FNAME(golomb_code_len)(const BYTE n, const unsigned int l) +{ + if (n < VNAME(family).nGRcodewords[l]) { + return (n >> l) + 1 + l; + } else { + return VNAME(family).notGRcwlen[l]; + } +} + +static void FNAME(golomb_coding)(const BYTE n, const unsigned int l, unsigned int * const codeword, + unsigned int * const codewordlen) +{ + if (n < VNAME(family).nGRcodewords[l]) { + (*codeword) = bitat[l] | (n & bppmask[l]); + (*codewordlen) = (n >> l) + l + 1; + } else { + (*codeword) = n - VNAME(family).nGRcodewords[l]; + (*codewordlen) = VNAME(family).notGRcwlen[l]; + } +} + +static unsigned int FNAME(golomb_decoding)(const unsigned int l, const unsigned int bits, + unsigned int * const codewordlen) +{ + if (bits > VNAME(family).notGRprefixmask[l]) { /*GR*/ + const unsigned int zeroprefix = cnt_l_zeroes(bits); /* leading zeroes in codeword */ + const unsigned int cwlen = zeroprefix + 1 + l; /* codeword length */ + (*codewordlen) = cwlen; + return (zeroprefix << l) | ((bits >> (32 - cwlen)) & bppmask[l]); + } else { /* not-GR */ + const unsigned int cwlen = VNAME(family).notGRcwlen[l]; + (*codewordlen) = cwlen; + return VNAME(family).nGRcodewords[l] + ((bits) >> (32 - cwlen) & + bppmask[VNAME(family).notGRsuffixlen[l]]); + } +} + +/* update the bucket using just encoded curval */ +static void FNAME(update_model)(CommonState *state, s_bucket * const bucket, + const BYTE curval, unsigned int bpp) +{ + COUNTER * const pcounters = bucket->pcounters; + unsigned int i; + unsigned int bestcode; + unsigned int bestcodelen; + //unsigned int bpp = encoder->bpp; + + /* update counters, find minimum */ + + bestcode = bpp - 1; + bestcodelen = (pcounters[bestcode] += FNAME(golomb_code_len)(curval, bestcode)); + + for (i = bpp - 2; i < bpp; i--) { /* NOTE: expression i<bpp for signed int i would be: i>=0 */ + const unsigned int ithcodelen = (pcounters[i] += FNAME(golomb_code_len)(curval, i)); + + if (ithcodelen < bestcodelen) { + bestcode = i; + bestcodelen = ithcodelen; + } + } + + bucket->bestcode = bestcode; /* store the found minimum */ + + if (bestcodelen > state->wm_trigger) { /* halving counters? */ + for (i = 0; i < bpp; i++) { + pcounters[i] >>= 1; + } + } +} + +static s_bucket *FNAME(find_bucket)(Channel *channel, const unsigned int val) +{ + spice_assert(val < (0x1U << BPC)); + + return channel->_buckets_ptrs[val]; +} + +#undef FNAME +#undef VNAME +#undef BPC diff --git a/tizen/distrib/remote/common/spice-common/common/quic_rgb_tmpl.c b/tizen/distrib/remote/common/spice-common/common/quic_rgb_tmpl.c new file mode 100644 index 0000000..37c908c --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/quic_rgb_tmpl.c @@ -0,0 +1,765 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#ifdef QUIC_RGB32 +#undef QUIC_RGB32 +#define PIXEL rgb32_pixel_t +#define FNAME(name) quic_rgb32_##name +#define golomb_coding golomb_coding_8bpc +#define golomb_decoding golomb_decoding_8bpc +#define update_model update_model_8bpc +#define find_bucket find_bucket_8bpc +#define family family_8bpc +#define BPC 8 +#define BPC_MASK 0xffU +#define COMPRESS_IMP +#define SET_r(pix, val) ((pix)->r = val) +#define GET_r(pix) ((pix)->r) +#define SET_g(pix, val) ((pix)->g = val) +#define GET_g(pix) ((pix)->g) +#define SET_b(pix, val) ((pix)->b = val) +#define GET_b(pix) ((pix)->b) +#define UNCOMPRESS_PIX_START(pix) ((pix)->pad = 0) +#endif + +#ifdef QUIC_RGB24 +#undef QUIC_RGB24 +#define PIXEL rgb24_pixel_t +#define FNAME(name) quic_rgb24_##name +#define golomb_coding golomb_coding_8bpc +#define golomb_decoding golomb_decoding_8bpc +#define update_model update_model_8bpc +#define find_bucket find_bucket_8bpc +#define family family_8bpc +#define BPC 8 +#define BPC_MASK 0xffU +#define COMPRESS_IMP +#define SET_r(pix, val) ((pix)->r = val) +#define GET_r(pix) ((pix)->r) +#define SET_g(pix, val) ((pix)->g = val) +#define GET_g(pix) ((pix)->g) +#define SET_b(pix, val) ((pix)->b = val) +#define GET_b(pix) ((pix)->b) +#define UNCOMPRESS_PIX_START(pix) +#endif + +#ifdef QUIC_RGB16 +#undef QUIC_RGB16 +#define PIXEL rgb16_pixel_t +#define FNAME(name) quic_rgb16_##name +#define golomb_coding golomb_coding_5bpc +#define golomb_decoding golomb_decoding_5bpc +#define update_model update_model_5bpc +#define find_bucket find_bucket_5bpc +#define family family_5bpc +#define BPC 5 +#define BPC_MASK 0x1fU +#define COMPRESS_IMP +#define SET_r(pix, val) (*(pix) = (*(pix) & ~(0x1f << 10)) | ((val) << 10)) +#define GET_r(pix) ((*(pix) >> 10) & 0x1f) +#define SET_g(pix, val) (*(pix) = (*(pix) & ~(0x1f << 5)) | ((val) << 5)) +#define GET_g(pix) ((*(pix) >> 5) & 0x1f) +#define SET_b(pix, val) (*(pix) = (*(pix) & ~0x1f) | (val)) +#define GET_b(pix) (*(pix) & 0x1f) +#define UNCOMPRESS_PIX_START(pix) (*(pix) = 0) +#endif + +#ifdef QUIC_RGB16_TO_32 +#undef QUIC_RGB16_TO_32 +#define PIXEL rgb32_pixel_t +#define FNAME(name) quic_rgb16_to_32_##name +#define golomb_coding golomb_coding_5bpc +#define golomb_decoding golomb_decoding_5bpc +#define update_model update_model_5bpc +#define find_bucket find_bucket_5bpc +#define family family_5bpc +#define BPC 5 +#define BPC_MASK 0x1fU + +#define SET_r(pix, val) ((pix)->r = ((val) << 3) | (((val) & 0x1f) >> 2)) +#define GET_r(pix) ((pix)->r >> 3) +#define SET_g(pix, val) ((pix)->g = ((val) << 3) | (((val) & 0x1f) >> 2)) +#define GET_g(pix) ((pix)->g >> 3) +#define SET_b(pix, val) ((pix)->b = ((val) << 3) | (((val) & 0x1f) >> 2)) +#define GET_b(pix) ((pix)->b >> 3) +#define UNCOMPRESS_PIX_START(pix) ((pix)->pad = 0) +#endif + +#define SAME_PIXEL(p1, p2) \ + (GET_r(p1) == GET_r(p2) && GET_g(p1) == GET_g(p2) && \ + GET_b(p1) == GET_b(p2)) + + +#define _PIXEL_A(channel, curr) ((unsigned int)GET_##channel((curr) - 1)) +#define _PIXEL_B(channel, prev) ((unsigned int)GET_##channel(prev)) +#define _PIXEL_C(channel, prev) ((unsigned int)GET_##channel((prev) - 1)) + +/* a */ + +#define DECORELATE_0(channel, curr, bpc_mask)\ + family.xlatU2L[(unsigned)((int)GET_##channel(curr) - (int)_PIXEL_A(channel, curr)) & bpc_mask] + +#define CORELATE_0(channel, curr, correlate, bpc_mask)\ + ((family.xlatL2U[correlate] + _PIXEL_A(channel, curr)) & bpc_mask) + +#ifdef PRED_1 + +/* (a+b)/2 */ +#define DECORELATE(channel, prev, curr, bpc_mask, r) \ + r = family.xlatU2L[(unsigned)((int)GET_##channel(curr) - (int)((_PIXEL_A(channel, curr) + \ + _PIXEL_B(channel, prev)) >> 1)) & bpc_mask] + +#define CORELATE(channel, prev, curr, correlate, bpc_mask, r) \ + SET_##channel(r, ((family.xlatL2U[correlate] + \ + (int)((_PIXEL_A(channel, curr) + _PIXEL_B(channel, prev)) >> 1)) & bpc_mask)) +#endif + +#ifdef PRED_2 + +/* .75a+.75b-.5c */ +#define DECORELATE(channel, prev, curr, bpc_mask, r) { \ + int p = ((int)(3 * (_PIXEL_A(channel, curr) + _PIXEL_B(channel, prev))) - \ + (int)(_PIXEL_C(channel, prev) << 1)) >> 2; \ + if (p < 0) { \ + p = 0; \ + } else if ((unsigned)p > bpc_mask) { \ + p = bpc_mask; \ + } \ + r = family.xlatU2L[(unsigned)((int)GET_##channel(curr) - p) & bpc_mask]; \ +} + +#define CORELATE(channel, prev, curr, correlate, bpc_mask, r) { \ + const int p = ((int)(3 * (_PIXEL_A(channel, curr) + _PIXEL_B(channel, prev))) - \ + (int)(_PIXEL_C(channel, prev) << 1) ) >> 2; \ + const unsigned int s = family.xlatL2U[correlate]; \ + if (!(p & ~bpc_mask)) { \ + SET_##channel(r, (s + (unsigned)p) & bpc_mask); \ + } else if (p < 0) { \ + SET_##channel(r, s); \ + } else { \ + SET_##channel(r, (s + bpc_mask) & bpc_mask); \ + } \ +} + +#endif + + +#define COMPRESS_ONE_ROW0_0(channel) \ + correlate_row_##channel[0] = family.xlatU2L[GET_##channel(cur_row)]; \ + golomb_coding(correlate_row_##channel[0], find_bucket(channel_##channel, \ + correlate_row_##channel[-1])->bestcode, \ + &codeword, &codewordlen); \ + encode(encoder, codeword, codewordlen); + +#define COMPRESS_ONE_ROW0(channel, index) \ + correlate_row_##channel[index] = DECORELATE_0(channel, &cur_row[index], bpc_mask); \ + golomb_coding(correlate_row_##channel[index], find_bucket(channel_##channel, \ + correlate_row_##channel[index -1])->bestcode, \ + &codeword, &codewordlen); \ + encode(encoder, codeword, codewordlen); + +#define UPDATE_MODEL(index) \ + update_model(&encoder->rgb_state, find_bucket(channel_r, correlate_row_r[index - 1]), \ + correlate_row_r[index], bpc); \ + update_model(&encoder->rgb_state, find_bucket(channel_g, correlate_row_g[index - 1]), \ + correlate_row_g[index], bpc); \ + update_model(&encoder->rgb_state, find_bucket(channel_b, correlate_row_b[index - 1]), \ + correlate_row_b[index], bpc); + + +#ifdef RLE_PRED_1 +#define RLE_PRED_1_IMP \ +if (SAME_PIXEL(&cur_row[i - 1], &prev_row[i])) { \ + if (run_index != i && SAME_PIXEL(&prev_row[i - 1], &prev_row[i]) && \ + i + 1 < end && SAME_PIXEL(&prev_row[i], &prev_row[i + 1])) { \ + goto do_run; \ + } \ +} +#else +#define RLE_PRED_1_IMP +#endif + +#ifdef RLE_PRED_2 +#define RLE_PRED_2_IMP \ +if (SAME_PIXEL(&prev_row[i - 1], &prev_row[i])) { \ + if (run_index != i && i > 2 && SAME_PIXEL(&cur_row[i - 1], &cur_row[i - 2])) { \ + goto do_run; \ + } \ +} +#else +#define RLE_PRED_2_IMP +#endif + +#ifdef RLE_PRED_3 +#define RLE_PRED_3_IMP \ +if (i > 1 && SAME_PIXEL(&cur_row[i - 1], &cur_row[i - 2]) && i != run_index) { \ + goto do_run; \ +} +#else +#define RLE_PRED_3_IMP +#endif + +#ifdef COMPRESS_IMP + +static void FNAME(compress_row0_seg)(Encoder *encoder, int i, + const PIXEL * const cur_row, + const int end, + const unsigned int waitmask, + const unsigned int bpc, + const unsigned int bpc_mask) +{ + Channel * const channel_r = encoder->channels; + Channel * const channel_g = channel_r + 1; + Channel * const channel_b = channel_g + 1; + + BYTE * const correlate_row_r = channel_r->correlate_row; + BYTE * const correlate_row_g = channel_g->correlate_row; + BYTE * const correlate_row_b = channel_b->correlate_row; + int stopidx; + + spice_assert(end - i > 0); + + if (!i) { + unsigned int codeword, codewordlen; + + COMPRESS_ONE_ROW0_0(r); + COMPRESS_ONE_ROW0_0(g); + COMPRESS_ONE_ROW0_0(b); + + if (encoder->rgb_state.waitcnt) { + encoder->rgb_state.waitcnt--; + } else { + encoder->rgb_state.waitcnt = (tabrand(&encoder->rgb_state.tabrand_seed) & waitmask); + UPDATE_MODEL(0); + } + stopidx = ++i + encoder->rgb_state.waitcnt; + } else { + stopidx = i + encoder->rgb_state.waitcnt; + } + + while (stopidx < end) { + for (; i <= stopidx; i++) { + unsigned int codeword, codewordlen; + COMPRESS_ONE_ROW0(r, i); + COMPRESS_ONE_ROW0(g, i); + COMPRESS_ONE_ROW0(b, i); + } + + UPDATE_MODEL(stopidx); + stopidx = i + (tabrand(&encoder->rgb_state.tabrand_seed) & waitmask); + } + + for (; i < end; i++) { + unsigned int codeword, codewordlen; + + COMPRESS_ONE_ROW0(r, i); + COMPRESS_ONE_ROW0(g, i); + COMPRESS_ONE_ROW0(b, i); + } + encoder->rgb_state.waitcnt = stopidx - end; +} + +static void FNAME(compress_row0)(Encoder *encoder, const PIXEL *cur_row, + unsigned int width) +{ + const unsigned int bpc = BPC; + const unsigned int bpc_mask = BPC_MASK; + int pos = 0; + + while ((wmimax > (int)encoder->rgb_state.wmidx) && (encoder->rgb_state.wmileft <= width)) { + if (encoder->rgb_state.wmileft) { + FNAME(compress_row0_seg)(encoder, pos, cur_row, pos + encoder->rgb_state.wmileft, + bppmask[encoder->rgb_state.wmidx], bpc, bpc_mask); + width -= encoder->rgb_state.wmileft; + pos += encoder->rgb_state.wmileft; + } + + encoder->rgb_state.wmidx++; + set_wm_trigger(&encoder->rgb_state); + encoder->rgb_state.wmileft = wminext; + } + + if (width) { + FNAME(compress_row0_seg)(encoder, pos, cur_row, pos + width, + bppmask[encoder->rgb_state.wmidx], bpc, bpc_mask); + if (wmimax > (int)encoder->rgb_state.wmidx) { + encoder->rgb_state.wmileft -= width; + } + } + + spice_assert((int)encoder->rgb_state.wmidx <= wmimax); + spice_assert(encoder->rgb_state.wmidx <= 32); + spice_assert(wminext > 0); +} + +#define COMPRESS_ONE_0(channel) \ + correlate_row_##channel[0] = family.xlatU2L[(unsigned)((int)GET_##channel(cur_row) - \ + (int)GET_##channel(prev_row) ) & bpc_mask]; \ + golomb_coding(correlate_row_##channel[0], \ + find_bucket(channel_##channel, correlate_row_##channel[-1])->bestcode, \ + &codeword, &codewordlen); \ + encode(encoder, codeword, codewordlen); + +#define COMPRESS_ONE(channel, index) \ + DECORELATE(channel, &prev_row[index], &cur_row[index],bpc_mask, \ + correlate_row_##channel[index]); \ + golomb_coding(correlate_row_##channel[index], \ + find_bucket(channel_##channel, correlate_row_##channel[index - 1])->bestcode, \ + &codeword, &codewordlen); \ + encode(encoder, codeword, codewordlen); + +static void FNAME(compress_row_seg)(Encoder *encoder, int i, + const PIXEL * const prev_row, + const PIXEL * const cur_row, + const int end, + const unsigned int waitmask, + const unsigned int bpc, + const unsigned int bpc_mask) +{ + Channel * const channel_r = encoder->channels; + Channel * const channel_g = channel_r + 1; + Channel * const channel_b = channel_g + 1; + + BYTE * const correlate_row_r = channel_r->correlate_row; + BYTE * const correlate_row_g = channel_g->correlate_row; + BYTE * const correlate_row_b = channel_b->correlate_row; + int stopidx; +#ifdef RLE + int run_index = 0; + int run_size; +#endif + + spice_assert(end - i > 0); + + if (!i) { + unsigned int codeword, codewordlen; + + COMPRESS_ONE_0(r); + COMPRESS_ONE_0(g); + COMPRESS_ONE_0(b); + + if (encoder->rgb_state.waitcnt) { + encoder->rgb_state.waitcnt--; + } else { + encoder->rgb_state.waitcnt = (tabrand(&encoder->rgb_state.tabrand_seed) & waitmask); + UPDATE_MODEL(0); + } + stopidx = ++i + encoder->rgb_state.waitcnt; + } else { + stopidx = i + encoder->rgb_state.waitcnt; + } + for (;;) { + while (stopidx < end) { + for (; i <= stopidx; i++) { + unsigned int codeword, codewordlen; +#ifdef RLE + RLE_PRED_1_IMP; + RLE_PRED_2_IMP; + RLE_PRED_3_IMP; +#endif + COMPRESS_ONE(r, i); + COMPRESS_ONE(g, i); + COMPRESS_ONE(b, i); + } + + UPDATE_MODEL(stopidx); + stopidx = i + (tabrand(&encoder->rgb_state.tabrand_seed) & waitmask); + } + + for (; i < end; i++) { + unsigned int codeword, codewordlen; +#ifdef RLE + RLE_PRED_1_IMP; + RLE_PRED_2_IMP; + RLE_PRED_3_IMP; +#endif + COMPRESS_ONE(r, i); + COMPRESS_ONE(g, i); + COMPRESS_ONE(b, i); + } + encoder->rgb_state.waitcnt = stopidx - end; + + return; + +#ifdef RLE +do_run: + run_index = i; + encoder->rgb_state.waitcnt = stopidx - i; + run_size = 0; + + while (SAME_PIXEL(&cur_row[i], &cur_row[i - 1])) { + run_size++; + if (++i == end) { + encode_run(encoder, run_size); + return; + } + } + encode_run(encoder, run_size); + stopidx = i + encoder->rgb_state.waitcnt; +#endif + } +} + +static void FNAME(compress_row)(Encoder *encoder, + const PIXEL * const prev_row, + const PIXEL * const cur_row, + unsigned int width) + +{ + const unsigned int bpc = BPC; + const unsigned int bpc_mask = BPC_MASK; + unsigned int pos = 0; + + while ((wmimax > (int)encoder->rgb_state.wmidx) && (encoder->rgb_state.wmileft <= width)) { + if (encoder->rgb_state.wmileft) { + FNAME(compress_row_seg)(encoder, pos, prev_row, cur_row, + pos + encoder->rgb_state.wmileft, + bppmask[encoder->rgb_state.wmidx], + bpc, bpc_mask); + width -= encoder->rgb_state.wmileft; + pos += encoder->rgb_state.wmileft; + } + + encoder->rgb_state.wmidx++; + set_wm_trigger(&encoder->rgb_state); + encoder->rgb_state.wmileft = wminext; + } + + if (width) { + FNAME(compress_row_seg)(encoder, pos, prev_row, cur_row, pos + width, + bppmask[encoder->rgb_state.wmidx], bpc, bpc_mask); + if (wmimax > (int)encoder->rgb_state.wmidx) { + encoder->rgb_state.wmileft -= width; + } + } + + spice_assert((int)encoder->rgb_state.wmidx <= wmimax); + spice_assert(encoder->rgb_state.wmidx <= 32); + spice_assert(wminext > 0); +} + +#endif + +#define UNCOMPRESS_ONE_ROW0_0(channel) \ + correlate_row_##channel[0] = (BYTE)golomb_decoding(find_bucket(channel_##channel, \ + correlate_row_##channel[-1])->bestcode, \ + encoder->io_word, &codewordlen); \ + SET_##channel(&cur_row[0], (BYTE)family.xlatL2U[correlate_row_##channel[0]]); \ + decode_eatbits(encoder, codewordlen); + +#define UNCOMPRESS_ONE_ROW0(channel) \ + correlate_row_##channel[i] = (BYTE)golomb_decoding(find_bucket(channel_##channel, \ + correlate_row_##channel[i - 1])->bestcode, \ + encoder->io_word, \ + &codewordlen); \ + SET_##channel(&cur_row[i], CORELATE_0(channel, &cur_row[i], correlate_row_##channel[i], \ + bpc_mask)); \ + decode_eatbits(encoder, codewordlen); + +static void FNAME(uncompress_row0_seg)(Encoder *encoder, int i, + PIXEL * const cur_row, + const int end, + const unsigned int waitmask, + const unsigned int bpc, + const unsigned int bpc_mask) +{ + Channel * const channel_r = encoder->channels; + Channel * const channel_g = channel_r + 1; + Channel * const channel_b = channel_g + 1; + + BYTE * const correlate_row_r = channel_r->correlate_row; + BYTE * const correlate_row_g = channel_g->correlate_row; + BYTE * const correlate_row_b = channel_b->correlate_row; + int stopidx; + + spice_assert(end - i > 0); + + if (!i) { + unsigned int codewordlen; + + UNCOMPRESS_PIX_START(&cur_row[i]); + UNCOMPRESS_ONE_ROW0_0(r); + UNCOMPRESS_ONE_ROW0_0(g); + UNCOMPRESS_ONE_ROW0_0(b); + + if (encoder->rgb_state.waitcnt) { + --encoder->rgb_state.waitcnt; + } else { + encoder->rgb_state.waitcnt = (tabrand(&encoder->rgb_state.tabrand_seed) & waitmask); + UPDATE_MODEL(0); + } + stopidx = ++i + encoder->rgb_state.waitcnt; + } else { + stopidx = i + encoder->rgb_state.waitcnt; + } + + while (stopidx < end) { + for (; i <= stopidx; i++) { + unsigned int codewordlen; + + UNCOMPRESS_PIX_START(&cur_row[i]); + UNCOMPRESS_ONE_ROW0(r); + UNCOMPRESS_ONE_ROW0(g); + UNCOMPRESS_ONE_ROW0(b); + } + UPDATE_MODEL(stopidx); + stopidx = i + (tabrand(&encoder->rgb_state.tabrand_seed) & waitmask); + } + + for (; i < end; i++) { + unsigned int codewordlen; + + UNCOMPRESS_PIX_START(&cur_row[i]); + UNCOMPRESS_ONE_ROW0(r); + UNCOMPRESS_ONE_ROW0(g); + UNCOMPRESS_ONE_ROW0(b); + } + encoder->rgb_state.waitcnt = stopidx - end; +} + +static void FNAME(uncompress_row0)(Encoder *encoder, + PIXEL * const cur_row, + unsigned int width) + +{ + const unsigned int bpc = BPC; + const unsigned int bpc_mask = BPC_MASK; + unsigned int pos = 0; + + while ((wmimax > (int)encoder->rgb_state.wmidx) && (encoder->rgb_state.wmileft <= width)) { + if (encoder->rgb_state.wmileft) { + FNAME(uncompress_row0_seg)(encoder, pos, cur_row, + pos + encoder->rgb_state.wmileft, + bppmask[encoder->rgb_state.wmidx], + bpc, bpc_mask); + pos += encoder->rgb_state.wmileft; + width -= encoder->rgb_state.wmileft; + } + + encoder->rgb_state.wmidx++; + set_wm_trigger(&encoder->rgb_state); + encoder->rgb_state.wmileft = wminext; + } + + if (width) { + FNAME(uncompress_row0_seg)(encoder, pos, cur_row, pos + width, + bppmask[encoder->rgb_state.wmidx], bpc, bpc_mask); + if (wmimax > (int)encoder->rgb_state.wmidx) { + encoder->rgb_state.wmileft -= width; + } + } + + spice_assert((int)encoder->rgb_state.wmidx <= wmimax); + spice_assert(encoder->rgb_state.wmidx <= 32); + spice_assert(wminext > 0); +} + +#define UNCOMPRESS_ONE_0(channel) \ + correlate_row_##channel[0] = (BYTE)golomb_decoding(find_bucket(channel_##channel, \ + correlate_row_##channel[-1])->bestcode, \ + encoder->io_word, &codewordlen); \ + SET_##channel(&cur_row[0], (family.xlatL2U[correlate_row_##channel[0]] + \ + GET_##channel(prev_row)) & bpc_mask); \ + decode_eatbits(encoder, codewordlen); + +#define UNCOMPRESS_ONE(channel) \ + correlate_row_##channel[i] = (BYTE)golomb_decoding(find_bucket(channel_##channel, \ + correlate_row_##channel[i - 1])->bestcode, \ + encoder->io_word, \ + &codewordlen); \ + CORELATE(channel, &prev_row[i], &cur_row[i], correlate_row_##channel[i], bpc_mask, \ + &cur_row[i]); \ + decode_eatbits(encoder, codewordlen); + +static void FNAME(uncompress_row_seg)(Encoder *encoder, + const PIXEL * const prev_row, + PIXEL * const cur_row, + int i, + const int end, + const unsigned int bpc, + const unsigned int bpc_mask) +{ + Channel * const channel_r = encoder->channels; + Channel * const channel_g = channel_r + 1; + Channel * const channel_b = channel_g + 1; + + BYTE * const correlate_row_r = channel_r->correlate_row; + BYTE * const correlate_row_g = channel_g->correlate_row; + BYTE * const correlate_row_b = channel_b->correlate_row; + const unsigned int waitmask = bppmask[encoder->rgb_state.wmidx]; + int stopidx; +#ifdef RLE + int run_index = 0; + int run_end; +#endif + + spice_assert(end - i > 0); + + if (!i) { + unsigned int codewordlen; + + UNCOMPRESS_PIX_START(&cur_row[i]); + UNCOMPRESS_ONE_0(r); + UNCOMPRESS_ONE_0(g); + UNCOMPRESS_ONE_0(b); + + if (encoder->rgb_state.waitcnt) { + --encoder->rgb_state.waitcnt; + } else { + encoder->rgb_state.waitcnt = (tabrand(&encoder->rgb_state.tabrand_seed) & waitmask); + UPDATE_MODEL(0); + } + stopidx = ++i + encoder->rgb_state.waitcnt; + } else { + stopidx = i + encoder->rgb_state.waitcnt; + } + for (;;) { + while (stopidx < end) { + for (; i <= stopidx; i++) { + unsigned int codewordlen; +#ifdef RLE + RLE_PRED_1_IMP; + RLE_PRED_2_IMP; + RLE_PRED_3_IMP; +#endif + UNCOMPRESS_PIX_START(&cur_row[i]); + UNCOMPRESS_ONE(r); + UNCOMPRESS_ONE(g); + UNCOMPRESS_ONE(b); + } + + UPDATE_MODEL(stopidx); + + stopidx = i + (tabrand(&encoder->rgb_state.tabrand_seed) & waitmask); + } + + for (; i < end; i++) { + unsigned int codewordlen; +#ifdef RLE + RLE_PRED_1_IMP; + RLE_PRED_2_IMP; + RLE_PRED_3_IMP; +#endif + UNCOMPRESS_PIX_START(&cur_row[i]); + UNCOMPRESS_ONE(r); + UNCOMPRESS_ONE(g); + UNCOMPRESS_ONE(b); + } + + encoder->rgb_state.waitcnt = stopidx - end; + + return; + +#ifdef RLE +do_run: + encoder->rgb_state.waitcnt = stopidx - i; + run_index = i; + run_end = i + decode_run(encoder); + + for (; i < run_end; i++) { + UNCOMPRESS_PIX_START(&cur_row[i]); + SET_r(&cur_row[i], GET_r(&cur_row[i - 1])); + SET_g(&cur_row[i], GET_g(&cur_row[i - 1])); + SET_b(&cur_row[i], GET_b(&cur_row[i - 1])); + } + + if (i == end) { + return; + } + + stopidx = i + encoder->rgb_state.waitcnt; +#endif + } +} + +static void FNAME(uncompress_row)(Encoder *encoder, + const PIXEL * const prev_row, + PIXEL * const cur_row, + unsigned int width) + +{ + const unsigned int bpc = BPC; + const unsigned int bpc_mask = BPC_MASK; + unsigned int pos = 0; + + while ((wmimax > (int)encoder->rgb_state.wmidx) && (encoder->rgb_state.wmileft <= width)) { + if (encoder->rgb_state.wmileft) { + FNAME(uncompress_row_seg)(encoder, prev_row, cur_row, pos, + pos + encoder->rgb_state.wmileft, bpc, bpc_mask); + pos += encoder->rgb_state.wmileft; + width -= encoder->rgb_state.wmileft; + } + + encoder->rgb_state.wmidx++; + set_wm_trigger(&encoder->rgb_state); + encoder->rgb_state.wmileft = wminext; + } + + if (width) { + FNAME(uncompress_row_seg)(encoder, prev_row, cur_row, pos, + pos + width, bpc, bpc_mask); + if (wmimax > (int)encoder->rgb_state.wmidx) { + encoder->rgb_state.wmileft -= width; + } + } + + spice_assert((int)encoder->rgb_state.wmidx <= wmimax); + spice_assert(encoder->rgb_state.wmidx <= 32); + spice_assert(wminext > 0); +} + +#undef PIXEL +#undef FNAME +#undef _PIXEL_A +#undef _PIXEL_B +#undef _PIXEL_C +#undef SAME_PIXEL +#undef RLE_PRED_1_IMP +#undef RLE_PRED_2_IMP +#undef RLE_PRED_3_IMP +#undef UPDATE_MODEL +#undef DECORELATE_0 +#undef DECORELATE +#undef COMPRESS_ONE_ROW0_0 +#undef COMPRESS_ONE_ROW0 +#undef COMPRESS_ONE_0 +#undef COMPRESS_ONE +#undef CORELATE_0 +#undef CORELATE +#undef UNCOMPRESS_ONE_ROW0_0 +#undef UNCOMPRESS_ONE_ROW0 +#undef UNCOMPRESS_ONE_0 +#undef UNCOMPRESS_ONE +#undef golomb_coding +#undef golomb_decoding +#undef update_model +#undef find_bucket +#undef family +#undef BPC +#undef BPC_MASK +#undef COMPRESS_IMP +#undef SET_r +#undef GET_r +#undef SET_g +#undef GET_g +#undef SET_b +#undef GET_b +#undef UNCOMPRESS_PIX_START diff --git a/tizen/distrib/remote/common/spice-common/common/quic_tmpl.c b/tizen/distrib/remote/common/spice-common/common/quic_tmpl.c new file mode 100644 index 0000000..b625daf --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/quic_tmpl.c @@ -0,0 +1,635 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#ifdef ONE_BYTE +#undef ONE_BYTE +#define FNAME(name) quic_one_##name +#define PIXEL one_byte_t +#endif + +#ifdef THREE_BYTE +#undef THREE_BYTE +#define FNAME(name) quic_three_##name +#define PIXEL three_bytes_t +#endif + +#ifdef FOUR_BYTE +#undef FOUR_BYTE +#define FNAME(name) quic_four_##name +#define PIXEL four_bytes_t +#endif + +#define golomb_coding golomb_coding_8bpc +#define golomb_decoding golomb_decoding_8bpc +#define update_model update_model_8bpc +#define find_bucket find_bucket_8bpc +#define family family_8bpc + +#define BPC 8 +#define BPC_MASK 0xffU + +#define _PIXEL_A ((unsigned int)curr[-1].a) +#define _PIXEL_B ((unsigned int)prev[0].a) +#define _PIXEL_C ((unsigned int)prev[-1].a) + +#ifdef RLE_PRED_1 +#define RLE_PRED_1_IMP \ +if (cur_row[i - 1].a == prev_row[i].a) { \ + if (run_index != i && prev_row[i - 1].a == prev_row[i].a && \ + i + 1 < end && prev_row[i].a == prev_row[i + 1].a) { \ + goto do_run; \ + } \ +} +#else +#define RLE_PRED_1_IMP +#endif + +#ifdef RLE_PRED_2 +#define RLE_PRED_2_IMP \ +if (prev_row[i - 1].a == prev_row[i].a) { \ + if (run_index != i && i > 2 && cur_row[i - 1].a == cur_row[i - 2].a) { \ + goto do_run; \ + } \ +} +#else +#define RLE_PRED_2_IMP +#endif + +#ifdef RLE_PRED_3 +#define RLE_PRED_3_IMP \ +if (i > 1 && cur_row[i - 1].a == cur_row[i - 2].a && i != run_index) { \ + goto do_run; \ +} +#else +#define RLE_PRED_3_IMP +#endif + +/* a */ +static INLINE BYTE FNAME(decorelate_0)(const PIXEL * const curr, const unsigned int bpc_mask) +{ + return family.xlatU2L[(unsigned)((int)curr[0].a - (int)_PIXEL_A) & bpc_mask]; +} + +static INLINE void FNAME(corelate_0)(PIXEL *curr, const BYTE corelate, + const unsigned int bpc_mask) +{ + curr->a = (family.xlatL2U[corelate] + _PIXEL_A) & bpc_mask; +} + +#ifdef PRED_1 + +/* (a+b)/2 */ +static INLINE BYTE FNAME(decorelate)(const PIXEL *const prev, const PIXEL * const curr, + const unsigned int bpc_mask) +{ + return family.xlatU2L[(unsigned)((int)curr->a - (int)((_PIXEL_A + _PIXEL_B) >> 1)) & bpc_mask]; +} + + +static INLINE void FNAME(corelate)(const PIXEL *prev, PIXEL *curr, const BYTE corelate, + const unsigned int bpc_mask) +{ + curr->a = (family.xlatL2U[corelate] + (int)((_PIXEL_A + _PIXEL_B) >> 1)) & bpc_mask; +} + +#endif + +#ifdef PRED_2 + +/* .75a+.75b-.5c */ +static INLINE BYTE FNAME(decorelate)(const PIXEL *const prev, const PIXEL * const curr, + const unsigned int bpc_mask) +{ + int p = ((int)(3 * (_PIXEL_A + _PIXEL_B)) - (int)(_PIXEL_C << 1)) >> 2; + + if (p < 0) { + p = 0; + } else if ((unsigned)p > bpc_mask) { + p = bpc_mask; + } + + { + return family.xlatU2L[(unsigned)((int)curr->a - p) & bpc_mask]; + } +} + +static INLINE void FNAME(corelate)(const PIXEL *prev, PIXEL *curr, const BYTE corelate, + const unsigned int bpc_mask) +{ + const int p = ((int)(3 * (_PIXEL_A + _PIXEL_B)) - (int)(_PIXEL_C << 1)) >> 2; + const unsigned int s = family.xlatL2U[corelate]; + + if (!(p & ~bpc_mask)) { + curr->a = (s + (unsigned)p) & bpc_mask; + } else if (p < 0) { + curr->a = s; + } else { + curr->a = (s + bpc_mask) & bpc_mask; + } +} + +#endif + +static void FNAME(compress_row0_seg)(Encoder *encoder, Channel *channel, int i, + const PIXEL * const cur_row, + const int end, + const unsigned int waitmask, + const unsigned int bpc, + const unsigned int bpc_mask) +{ + BYTE * const decorelate_drow = channel->correlate_row; + int stopidx; + + spice_assert(end - i > 0); + + if (i == 0) { + unsigned int codeword, codewordlen; + + decorelate_drow[0] = family.xlatU2L[cur_row->a]; + golomb_coding(decorelate_drow[0], find_bucket(channel, decorelate_drow[-1])->bestcode, + &codeword, &codewordlen); + encode(encoder, codeword, codewordlen); + + if (channel->state.waitcnt) { + channel->state.waitcnt--; + } else { + channel->state.waitcnt = (tabrand(&channel->state.tabrand_seed) & waitmask); + update_model(&channel->state, find_bucket(channel, decorelate_drow[-1]), + decorelate_drow[i], bpc); + } + stopidx = ++i + channel->state.waitcnt; + } else { + stopidx = i + channel->state.waitcnt; + } + + while (stopidx < end) { + for (; i <= stopidx; i++) { + unsigned int codeword, codewordlen; + decorelate_drow[i] = FNAME(decorelate_0)(&cur_row[i], bpc_mask); + golomb_coding(decorelate_drow[i], + find_bucket(channel, decorelate_drow[i - 1])->bestcode, &codeword, + &codewordlen); + encode(encoder, codeword, codewordlen); + } + + update_model(&channel->state, find_bucket(channel, decorelate_drow[stopidx - 1]), + decorelate_drow[stopidx], bpc); + stopidx = i + (tabrand(&channel->state.tabrand_seed) & waitmask); + } + + for (; i < end; i++) { + unsigned int codeword, codewordlen; + decorelate_drow[i] = FNAME(decorelate_0)(&cur_row[i], bpc_mask); + golomb_coding(decorelate_drow[i], find_bucket(channel, decorelate_drow[i - 1])->bestcode, + &codeword, &codewordlen); + encode(encoder, codeword, codewordlen); + } + channel->state.waitcnt = stopidx - end; +} + +static void FNAME(compress_row0)(Encoder *encoder, Channel *channel, const PIXEL *cur_row, + unsigned int width) +{ + const unsigned int bpc = BPC; + const unsigned int bpc_mask = BPC_MASK; + int pos = 0; + + while ((wmimax > (int)channel->state.wmidx) && (channel->state.wmileft <= width)) { + if (channel->state.wmileft) { + FNAME(compress_row0_seg)(encoder, channel, pos, cur_row, pos + channel->state.wmileft, + bppmask[channel->state.wmidx], bpc, bpc_mask); + width -= channel->state.wmileft; + pos += channel->state.wmileft; + } + + channel->state.wmidx++; + set_wm_trigger(&channel->state); + channel->state.wmileft = wminext; + } + + if (width) { + FNAME(compress_row0_seg)(encoder, channel, pos, cur_row, pos + width, + bppmask[channel->state.wmidx], bpc, bpc_mask); + if (wmimax > (int)channel->state.wmidx) { + channel->state.wmileft -= width; + } + } + + spice_assert((int)channel->state.wmidx <= wmimax); + spice_assert(channel->state.wmidx <= 32); + spice_assert(wminext > 0); +} + +static void FNAME(compress_row_seg)(Encoder *encoder, Channel *channel, int i, + const PIXEL * const prev_row, + const PIXEL * const cur_row, + const int end, + const unsigned int waitmask, + const unsigned int bpc, + const unsigned int bpc_mask) +{ + BYTE * const decorelate_drow = channel->correlate_row; + int stopidx; +#ifdef RLE + int run_index = 0; + int run_size; +#endif + + spice_assert(end - i > 0); + + if (!i) { + unsigned int codeword, codewordlen; + + decorelate_drow[0] = family.xlatU2L[(unsigned)((int)cur_row->a - + (int)prev_row->a) & bpc_mask]; + + golomb_coding(decorelate_drow[0], + find_bucket(channel, decorelate_drow[-1])->bestcode, + &codeword, + &codewordlen); + encode(encoder, codeword, codewordlen); + + if (channel->state.waitcnt) { + channel->state.waitcnt--; + } else { + channel->state.waitcnt = (tabrand(&channel->state.tabrand_seed) & waitmask); + update_model(&channel->state, find_bucket(channel, decorelate_drow[-1]), + decorelate_drow[0], bpc); + } + stopidx = ++i + channel->state.waitcnt; + } else { + stopidx = i + channel->state.waitcnt; + } + for (;;) { + while (stopidx < end) { + for (; i <= stopidx; i++) { + unsigned int codeword, codewordlen; +#ifdef RLE + RLE_PRED_1_IMP; + RLE_PRED_2_IMP; + RLE_PRED_3_IMP; +#endif + decorelate_drow[i] = FNAME(decorelate)(&prev_row[i], &cur_row[i], bpc_mask); + golomb_coding(decorelate_drow[i], + find_bucket(channel, decorelate_drow[i - 1])->bestcode, &codeword, + &codewordlen); + encode(encoder, codeword, codewordlen); + } + + update_model(&channel->state, find_bucket(channel, decorelate_drow[stopidx - 1]), + decorelate_drow[stopidx], bpc); + stopidx = i + (tabrand(&channel->state.tabrand_seed) & waitmask); + } + + for (; i < end; i++) { + unsigned int codeword, codewordlen; +#ifdef RLE + RLE_PRED_1_IMP; + RLE_PRED_2_IMP; + RLE_PRED_3_IMP; +#endif + decorelate_drow[i] = FNAME(decorelate)(&prev_row[i], &cur_row[i], bpc_mask); + golomb_coding(decorelate_drow[i], find_bucket(channel, + decorelate_drow[i - 1])->bestcode, + &codeword, &codewordlen); + encode(encoder, codeword, codewordlen); + } + channel->state.waitcnt = stopidx - end; + + return; + +#ifdef RLE +do_run: + run_index = i; + channel->state.waitcnt = stopidx - i; + run_size = 0; + + while (cur_row[i].a == cur_row[i - 1].a) { + run_size++; + if (++i == end) { +#ifdef RLE_STAT + encode_channel_run(encoder, channel, run_size); +#else + encode_run(encoder, run_size); +#endif + return; + } + } +#ifdef RLE_STAT + encode_channel_run(encoder, channel, run_size); +#else + encode_run(encoder, run_size); +#endif + stopidx = i + channel->state.waitcnt; +#endif + } +} + +static void FNAME(compress_row)(Encoder *encoder, Channel *channel, + const PIXEL * const prev_row, + const PIXEL * const cur_row, + unsigned int width) + +{ + const unsigned int bpc = BPC; + const unsigned int bpc_mask = BPC_MASK; + unsigned int pos = 0; + + while ((wmimax > (int)channel->state.wmidx) && (channel->state.wmileft <= width)) { + if (channel->state.wmileft) { + FNAME(compress_row_seg)(encoder, channel, pos, prev_row, cur_row, + pos + channel->state.wmileft, bppmask[channel->state.wmidx], + bpc, bpc_mask); + width -= channel->state.wmileft; + pos += channel->state.wmileft; + } + + channel->state.wmidx++; + set_wm_trigger(&channel->state); + channel->state.wmileft = wminext; + } + + if (width) { + FNAME(compress_row_seg)(encoder, channel, pos, prev_row, cur_row, pos + width, + bppmask[channel->state.wmidx], bpc, bpc_mask); + if (wmimax > (int)channel->state.wmidx) { + channel->state.wmileft -= width; + } + } + + spice_assert((int)channel->state.wmidx <= wmimax); + spice_assert(channel->state.wmidx <= 32); + spice_assert(wminext > 0); +} + +static void FNAME(uncompress_row0_seg)(Encoder *encoder, Channel *channel, int i, + BYTE * const correlate_row, + PIXEL * const cur_row, + const int end, + const unsigned int waitmask, + const unsigned int bpc, + const unsigned int bpc_mask) +{ + int stopidx; + + spice_assert(end - i > 0); + + if (i == 0) { + unsigned int codewordlen; + + correlate_row[0] = (BYTE)golomb_decoding(find_bucket(channel, + correlate_row[-1])->bestcode, + encoder->io_word, &codewordlen); + cur_row[0].a = (BYTE)family.xlatL2U[correlate_row[0]]; + decode_eatbits(encoder, codewordlen); + + if (channel->state.waitcnt) { + --channel->state.waitcnt; + } else { + channel->state.waitcnt = (tabrand(&channel->state.tabrand_seed) & waitmask); + update_model(&channel->state, find_bucket(channel, correlate_row[-1]), + correlate_row[0], bpc); + } + stopidx = ++i + channel->state.waitcnt; + } else { + stopidx = i + channel->state.waitcnt; + } + + while (stopidx < end) { + struct s_bucket * pbucket = NULL; + + for (; i <= stopidx; i++) { + unsigned int codewordlen; + + pbucket = find_bucket(channel, correlate_row[i - 1]); + correlate_row[i] = (BYTE)golomb_decoding(pbucket->bestcode, encoder->io_word, + &codewordlen); + FNAME(corelate_0)(&cur_row[i], correlate_row[i], bpc_mask); + decode_eatbits(encoder, codewordlen); + } + + update_model(&channel->state, pbucket, correlate_row[stopidx], bpc); + + stopidx = i + (tabrand(&channel->state.tabrand_seed) & waitmask); + } + + for (; i < end; i++) { + unsigned int codewordlen; + + correlate_row[i] = (BYTE)golomb_decoding(find_bucket(channel, + correlate_row[i - 1])->bestcode, + encoder->io_word, &codewordlen); + FNAME(corelate_0)(&cur_row[i], correlate_row[i], bpc_mask); + decode_eatbits(encoder, codewordlen); + } + channel->state.waitcnt = stopidx - end; +} + +static void FNAME(uncompress_row0)(Encoder *encoder, Channel *channel, + PIXEL * const cur_row, + unsigned int width) + +{ + const unsigned int bpc = BPC; + const unsigned int bpc_mask = BPC_MASK; + BYTE * const correlate_row = channel->correlate_row; + unsigned int pos = 0; + + while ((wmimax > (int)channel->state.wmidx) && (channel->state.wmileft <= width)) { + if (channel->state.wmileft) { + FNAME(uncompress_row0_seg)(encoder, channel, pos, correlate_row, cur_row, + pos + channel->state.wmileft, bppmask[channel->state.wmidx], + bpc, bpc_mask); + pos += channel->state.wmileft; + width -= channel->state.wmileft; + } + + channel->state.wmidx++; + set_wm_trigger(&channel->state); + channel->state.wmileft = wminext; + } + + if (width) { + FNAME(uncompress_row0_seg)(encoder, channel, pos, correlate_row, cur_row, pos + width, + bppmask[channel->state.wmidx], bpc, bpc_mask); + if (wmimax > (int)channel->state.wmidx) { + channel->state.wmileft -= width; + } + } + + spice_assert((int)channel->state.wmidx <= wmimax); + spice_assert(channel->state.wmidx <= 32); + spice_assert(wminext > 0); +} + +static void FNAME(uncompress_row_seg)(Encoder *encoder, Channel *channel, + BYTE *correlate_row, + const PIXEL * const prev_row, + PIXEL * const cur_row, + int i, + const int end, + const unsigned int bpc, + const unsigned int bpc_mask) +{ + const unsigned int waitmask = bppmask[channel->state.wmidx]; + int stopidx; +#ifdef RLE + int run_index = 0; + int run_end; +#endif + + spice_assert(end - i > 0); + + if (i == 0) { + unsigned int codewordlen; + + correlate_row[0] = (BYTE)golomb_decoding(find_bucket(channel, correlate_row[-1])->bestcode, + encoder->io_word, &codewordlen); + cur_row[0].a = (family.xlatL2U[correlate_row[0]] + prev_row[0].a) & bpc_mask; + decode_eatbits(encoder, codewordlen); + + if (channel->state.waitcnt) { + --channel->state.waitcnt; + } else { + channel->state.waitcnt = (tabrand(&channel->state.tabrand_seed) & waitmask); + update_model(&channel->state, find_bucket(channel, correlate_row[-1]), + correlate_row[0], bpc); + } + stopidx = ++i + channel->state.waitcnt; + } else { + stopidx = i + channel->state.waitcnt; + } + for (;;) { + while (stopidx < end) { + struct s_bucket * pbucket = NULL; + + for (; i <= stopidx; i++) { + unsigned int codewordlen; +#ifdef RLE + RLE_PRED_1_IMP; + RLE_PRED_2_IMP; + RLE_PRED_3_IMP; +#endif + pbucket = find_bucket(channel, correlate_row[i - 1]); + correlate_row[i] = (BYTE)golomb_decoding(pbucket->bestcode, encoder->io_word, + &codewordlen); + FNAME(corelate)(&prev_row[i], &cur_row[i], correlate_row[i], bpc_mask); + decode_eatbits(encoder, codewordlen); + } + + update_model(&channel->state, pbucket, correlate_row[stopidx], bpc); + + stopidx = i + (tabrand(&channel->state.tabrand_seed) & waitmask); + } + + for (; i < end; i++) { + unsigned int codewordlen; +#ifdef RLE + RLE_PRED_1_IMP; + RLE_PRED_2_IMP; + RLE_PRED_3_IMP; +#endif + correlate_row[i] = (BYTE)golomb_decoding(find_bucket(channel, + correlate_row[i - 1])->bestcode, + encoder->io_word, &codewordlen); + FNAME(corelate)(&prev_row[i], &cur_row[i], correlate_row[i], bpc_mask); + decode_eatbits(encoder, codewordlen); + } + + channel->state.waitcnt = stopidx - end; + + return; + +#ifdef RLE +do_run: + channel->state.waitcnt = stopidx - i; + run_index = i; +#ifdef RLE_STAT + run_end = i + decode_channel_run(encoder, channel); +#else + run_end = i + decode_run(encoder); +#endif + + for (; i < run_end; i++) { + cur_row[i].a = cur_row[i - 1].a; + } + + if (i == end) { + return; + } + + stopidx = i + channel->state.waitcnt; +#endif + } +} + +static void FNAME(uncompress_row)(Encoder *encoder, Channel *channel, + const PIXEL * const prev_row, + PIXEL * const cur_row, + unsigned int width) + +{ + const unsigned int bpc = BPC; + const unsigned int bpc_mask = BPC_MASK; + BYTE * const correlate_row = channel->correlate_row; + unsigned int pos = 0; + + while ((wmimax > (int)channel->state.wmidx) && (channel->state.wmileft <= width)) { + if (channel->state.wmileft) { + FNAME(uncompress_row_seg)(encoder, channel, correlate_row, prev_row, cur_row, pos, + pos + channel->state.wmileft, bpc, bpc_mask); + pos += channel->state.wmileft; + width -= channel->state.wmileft; + } + + channel->state.wmidx++; + set_wm_trigger(&channel->state); + channel->state.wmileft = wminext; + } + + if (width) { + FNAME(uncompress_row_seg)(encoder, channel, correlate_row, prev_row, cur_row, pos, + pos + width, bpc, bpc_mask); + if (wmimax > (int)channel->state.wmidx) { + channel->state.wmileft -= width; + } + } + + spice_assert((int)channel->state.wmidx <= wmimax); + spice_assert(channel->state.wmidx <= 32); + spice_assert(wminext > 0); +} + +#undef PIXEL +#undef FNAME +#undef _PIXEL_A +#undef _PIXEL_B +#undef _PIXEL_C +#undef RLE_PRED_1_IMP +#undef RLE_PRED_2_IMP +#undef RLE_PRED_3_IMP +#undef golomb_coding +#undef golomb_deoding +#undef update_model +#undef find_bucket +#undef family +#undef BPC +#undef BPC_MASK diff --git a/tizen/distrib/remote/common/spice-common/common/rect.h b/tizen/distrib/remote/common/spice-common/common/rect.h new file mode 100644 index 0000000..c73bfbd --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/rect.h @@ -0,0 +1,150 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_RECT +#define _H_RECT + +#include <spice/macros.h> +#include "draw.h" +#include "log.h" + +SPICE_BEGIN_DECLS + +static INLINE void rect_sect(SpiceRect* r, const SpiceRect* bounds) +{ + r->left = MAX(r->left, bounds->left); + r->right = MIN(r->right, bounds->right); + r->right = MAX(r->left, r->right); + + r->top = MAX(r->top, bounds->top); + r->bottom = MIN(r->bottom, bounds->bottom); + r->bottom = MAX(r->top, r->bottom); +} + +static INLINE void rect_offset(SpiceRect* r, int dx, int dy) +{ + r->left += dx; + r->right += dx; + r->top += dy; + r->bottom += dy; +} + +static INLINE int rect_is_empty(const SpiceRect* r) +{ + return r->top == r->bottom || r->left == r->right; +} + +static INLINE int rect_intersects(const SpiceRect* r1, const SpiceRect* r2) +{ + return r1->left < r2->right && r1->right > r2->left && + r1->top < r2->bottom && r1->bottom > r2->top; +} + +static INLINE int rect_is_equal(const SpiceRect *r1, const SpiceRect *r2) +{ + return r1->top == r2->top && r1->left == r2->left && + r1->bottom == r2->bottom && r1->right == r2->right; +} + +static INLINE void rect_union(SpiceRect *dest, const SpiceRect *r) +{ + dest->top = MIN(dest->top, r->top); + dest->left = MIN(dest->left, r->left); + dest->bottom = MAX(dest->bottom, r->bottom); + dest->right = MAX(dest->right, r->right); +} + +static INLINE int rect_is_same_size(const SpiceRect *r1, const SpiceRect *r2) +{ + return r1->right - r1->left == r2->right - r2->left && + r1->bottom - r1->top == r2->bottom - r2->top; +} + +static INLINE int rect_contains(const SpiceRect* big, const SpiceRect* sml) +{ + return big->left <= sml->left && big->right >= sml->right && + big->top <= sml->top && big->bottom >= sml->bottom; +} + +static INLINE int rect_get_area(const SpiceRect *r) +{ + return (r->right - r->left) * (r->bottom - r->top); +} + +static INLINE void rect_debug(const SpiceRect *r) +{ + spice_debug("(%d, %d) (%d, %d)", r->left, r->top, r->right, r->bottom); +} + +SPICE_END_DECLS + +#ifdef __cplusplus + +static inline void rect_sect(SpiceRect& r, const SpiceRect& bounds) +{ + rect_sect(&r, &bounds); +} + +static inline void rect_offset(SpiceRect& r, int dx, int dy) +{ + rect_offset(&r, dx, dy); +} + +static inline int rect_is_empty(const SpiceRect& r) +{ + return rect_is_empty(&r); +} + +static inline int rect_intersects(const SpiceRect& r1, const SpiceRect& r2) +{ + return rect_intersects(&r1, &r2); +} + +static inline int rect_is_equal(const SpiceRect& r1, const SpiceRect& r2) +{ + return rect_is_equal(&r1, &r2); +} + +static inline void rect_union(SpiceRect& dest, const SpiceRect& r) +{ + rect_union(&dest, &r); +} + +static inline int rect_is_same_size(const SpiceRect& r1, const SpiceRect& r2) +{ + return rect_is_same_size(&r1, &r2); +} + +static inline int rect_contains(const SpiceRect& big, const SpiceRect& small) +{ + return rect_contains(&big, &small); +} + +static inline int rect_get_area(const SpiceRect& r) +{ + return rect_get_area(&r); +} + +static inline void rect_debug(const SpiceRect &r) +{ + rect_debug(&r); +} + +#endif /* __cplusplus */ + +#endif diff --git a/tizen/distrib/remote/common/spice-common/common/region.c b/tizen/distrib/remote/common/spice-common/common/region.c new file mode 100644 index 0000000..14a27ed --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/region.c @@ -0,0 +1,901 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <stdio.h> +#include <string.h> +#include <stdlib.h> +#include <spice/macros.h> + +#include "region.h" +#include "rect.h" +#include "mem.h" + +/* true iff two Boxes overlap */ +#define EXTENTCHECK(r1, r2) \ + (!( ((r1)->x2 <= (r2)->x1) || \ + ((r1)->x1 >= (r2)->x2) || \ + ((r1)->y2 <= (r2)->y1) || \ + ((r1)->y1 >= (r2)->y2) ) ) + +/* true iff Box r1 contains Box r2 */ +#define SUBSUMES(r1, r2) \ + ( ((r1)->x1 <= (r2)->x1) && \ + ((r1)->x2 >= (r2)->x2) && \ + ((r1)->y1 <= (r2)->y1) && \ + ((r1)->y2 >= (r2)->y2) ) + + +void region_init(QRegion *rgn) +{ + pixman_region32_init(rgn); +} + +void region_clear(QRegion *rgn) +{ + pixman_region32_fini(rgn); + pixman_region32_init(rgn); +} + +void region_destroy(QRegion *rgn) +{ + pixman_region32_fini(rgn); +} + +void region_clone(QRegion *dest, const QRegion *src) +{ + pixman_region32_init(dest); + pixman_region32_copy(dest, (pixman_region32_t *)src); +} + +#define FIND_BAND(r, r_band_end, r_end, ry1) \ + do { \ + ry1 = r->y1; \ + r_band_end = r + 1; \ + while ((r_band_end != r_end) && (r_band_end->y1 == ry1)) { \ + r_band_end++; \ + } \ + } while (0) + +static int test_band(int query, + int res, + pixman_box32_t *r1, + pixman_box32_t *r1_end, + pixman_box32_t *r2, + pixman_box32_t *r2_end) +{ + int x1; + int x2; + + do { + x1 = MAX(r1->x1, r2->x1); + x2 = MIN(r1->x2, r2->x2); + + /* + * Is there any overlap between the two rectangles? + */ + if (x1 < x2) { + res |= REGION_TEST_SHARED; + + if (r1->x1 < r2->x1 || r1->x2 > r2->x2) { + res |= REGION_TEST_LEFT_EXCLUSIVE; + } + + if (r2->x1 < r1->x1 || r2->x2 > r1->x2) { + res |= REGION_TEST_RIGHT_EXCLUSIVE; + } + } else { + /* No overlap at all, the leftmost is exclusive */ + if (r1->x1 < r2->x1) { + res |= REGION_TEST_LEFT_EXCLUSIVE; + } else { + res |= REGION_TEST_RIGHT_EXCLUSIVE; + } + } + + if ((res & query) == query) { + return res; + } + + /* + * Advance the pointer(s) with the leftmost right side, since the next + * rectangle on that list may still overlap the other region's + * current rectangle. + */ + if (r1->x2 == x2) { + r1++; + } + if (r2->x2 == x2) { + r2++; + } + } while ((r1 != r1_end) && (r2 != r2_end)); + + /* + * Deal with whichever band (if any) still has rectangles left. + */ + if (r1 != r1_end) { + res |= REGION_TEST_LEFT_EXCLUSIVE; + } else if (r2 != r2_end) { + res |= REGION_TEST_RIGHT_EXCLUSIVE; + } + + return res; +} + +static int test_generic (pixman_region32_t *reg1, + pixman_region32_t *reg2, + int query) +{ + pixman_box32_t *r1; /* Pointer into first region */ + pixman_box32_t *r2; /* Pointer into 2d region */ + pixman_box32_t *r1_end; /* End of 1st region */ + pixman_box32_t *r2_end; /* End of 2d region */ + int ybot; /* Bottom of intersection */ + int ytop; /* Top of intersection */ + pixman_box32_t * r1_band_end; /* End of current band in r1 */ + pixman_box32_t * r2_band_end; /* End of current band in r2 */ + int top; /* Top of non-overlapping band */ + int bot; /* Bottom of non-overlapping band*/ + int r1y1; /* Temps for r1->y1 and r2->y1 */ + int r2y1; + int r1_num_rects; + int r2_num_rects; + int res; + + r1 = pixman_region32_rectangles(reg1, &r1_num_rects); + r1_end = r1 + r1_num_rects; + + r2 = pixman_region32_rectangles(reg2, &r2_num_rects); + r2_end = r2 + r2_num_rects; + + res = 0; + + /* + * Initialize ybot. + * In the upcoming loop, ybot and ytop serve different functions depending + * on whether the band being handled is an overlapping or non-overlapping + * band. + * In the case of a non-overlapping band (only one of the regions + * has points in the band), ybot is the bottom of the most recent + * intersection and thus clips the top of the rectangles in that band. + * ytop is the top of the next intersection between the two regions and + * serves to clip the bottom of the rectangles in the current band. + * For an overlapping band (where the two regions intersect), ytop clips + * the top of the rectangles of both regions and ybot clips the bottoms. + */ + + ybot = MIN(r1->y1, r2->y1); + + do { + /* + * This algorithm proceeds one source-band (as opposed to a + * destination band, which is determined by where the two regions + * intersect) at a time. r1_band_end and r2_band_end serve to mark the + * rectangle after the last one in the current band for their + * respective regions. + */ + FIND_BAND(r1, r1_band_end, r1_end, r1y1); + FIND_BAND(r2, r2_band_end, r2_end, r2y1); + + /* + * First handle the band that doesn't intersect, if any. + * + * Note that attention is restricted to one band in the + * non-intersecting region at once, so if a region has n + * bands between the current position and the next place it overlaps + * the other, this entire loop will be passed through n times. + */ + if (r1y1 < r2y1) { + top = MAX (r1y1, ybot); + bot = MIN (r1->y2, r2y1); + if (top != bot) { + res |= REGION_TEST_LEFT_EXCLUSIVE; + + if ((res & query) == query) { + return res & query; + } + } + + ytop = r2y1; + } else if (r2y1 < r1y1) { + top = MAX (r2y1, ybot); + bot = MIN (r2->y2, r1y1); + + if (top != bot) { + res |= REGION_TEST_RIGHT_EXCLUSIVE; + + if ((res & query) == query) { + return res & query; + } + } + ytop = r1y1; + } else { + ytop = r1y1; + } + + /* + * Now see if we've hit an intersecting band. The two bands only + * intersect if ybot > ytop + */ + ybot = MIN (r1->y2, r2->y2); + if (ybot > ytop) { + res = test_band(query, res, + r1, r1_band_end, + r2, r2_band_end); + if ((res & query) == query) { + return res & query; + } + } + + /* + * If we've finished with a band (y2 == ybot) we skip forward + * in the region to the next band. + */ + if (r1->y2 == ybot) { + r1 = r1_band_end; + } + + if (r2->y2 == ybot) { + r2 = r2_band_end; + } + + } + while (r1 != r1_end && r2 != r2_end); + + /* + * Deal with whichever region (if any) still has rectangles left. + */ + + if (r1 != r1_end) { + res |= REGION_TEST_LEFT_EXCLUSIVE; + } else if (r2 != r2_end) { + res |= REGION_TEST_RIGHT_EXCLUSIVE; + } + + return res & query; +} + +int region_test(const QRegion *_reg1, const QRegion *_reg2, int query) +{ + int res; + pixman_region32_t *reg1 = (pixman_region32_t *)_reg1; + pixman_region32_t *reg2 = (pixman_region32_t *)_reg2; + + query = (query) ? query & REGION_TEST_ALL : REGION_TEST_ALL; + + res = 0; + + if (!pixman_region32_not_empty(reg1) || !pixman_region32_not_empty(reg2) || + !EXTENTCHECK (®1->extents, ®2->extents)) { + /* One or more regions are empty or they are disjoint */ + + if (pixman_region32_not_empty(reg1)) { + res |= REGION_TEST_LEFT_EXCLUSIVE; + } + + if (pixman_region32_not_empty(reg2)) { + res |= REGION_TEST_RIGHT_EXCLUSIVE; + } + + return res & query; + } else if (!reg1->data && !reg2->data) { + /* Just two rectangles that intersect */ + res |= REGION_TEST_SHARED; + + if (!SUBSUMES(®1->extents, ®2->extents)) { + res |= REGION_TEST_RIGHT_EXCLUSIVE; + } + + if (!SUBSUMES(®2->extents, ®1->extents)) { + res |= REGION_TEST_LEFT_EXCLUSIVE; + } + + return res & query; + } else if (!reg2->data && SUBSUMES (®2->extents, ®1->extents)) { + /* reg2 is just a rect that contains all of reg1 */ + + res |= REGION_TEST_SHARED; /* some piece must be shared, because reg is not empty */ + res |= REGION_TEST_RIGHT_EXCLUSIVE; /* reg2 contains all of reg1 and then some */ + + return res & query; + } else if (!reg1->data && SUBSUMES (®1->extents, ®2->extents)) { + /* reg1 is just a rect that contains all of reg2 */ + + res |= REGION_TEST_SHARED; /* some piece must be shared, because reg is not empty */ + res |= REGION_TEST_LEFT_EXCLUSIVE; /* reg1 contains all of reg2 and then some */ + + return res & query; + } else if (reg1 == reg2) { + res |= REGION_TEST_SHARED; + return res & query; + } else { + /* General purpose intersection */ + return test_generic (reg1, reg2, query); + } +} + +int region_is_valid(const QRegion *rgn) +{ + return pixman_region32_selfcheck((pixman_region32_t *)rgn); +} + +int region_is_empty(const QRegion *rgn) +{ + return !pixman_region32_not_empty((pixman_region32_t *)rgn); +} + +SpiceRect *region_dup_rects(const QRegion *rgn, uint32_t *num_rects) +{ + pixman_box32_t *boxes; + SpiceRect *rects; + int n, i; + + boxes = pixman_region32_rectangles((pixman_region32_t *)rgn, &n); + if (num_rects) { + *num_rects = n; + } + rects = spice_new(SpiceRect, n); + for (i = 0; i < n; i++) { + rects[i].left = boxes[i].x1; + rects[i].top = boxes[i].y1; + rects[i].right = boxes[i].x2; + rects[i].bottom = boxes[i].y2; + } + return rects; +} + +void region_ret_rects(const QRegion *rgn, SpiceRect *rects, uint32_t num_rects) +{ + pixman_box32_t *boxes; + unsigned int n, i; + + boxes = pixman_region32_rectangles((pixman_region32_t *)rgn, (int *)&n); + for (i = 0; i < n && i < num_rects; i++) { + rects[i].left = boxes[i].x1; + rects[i].top = boxes[i].y1; + rects[i].right = boxes[i].x2; + rects[i].bottom = boxes[i].y2; + } + + if (i && i != n) { + unsigned int x; + + for (x = 0; x < (n - num_rects); ++x) { + rects[i - 1].left = MIN(rects[i - 1].left, boxes[i + x].x1); + rects[i - 1].top = MIN(rects[i - 1].top, boxes[i + x].y1); + rects[i - 1].right = MAX(rects[i - 1].right, boxes[i + x].x2); + rects[i - 1].bottom = MAX(rects[i - 1].bottom, boxes[i + x].y2); + } + } +} + +void region_extents(const QRegion *rgn, SpiceRect *r) +{ + pixman_box32_t *extents; + + extents = pixman_region32_extents((pixman_region32_t *)rgn); + + r->left = extents->x1; + r->top = extents->y1; + r->right = extents->x2; + r->bottom = extents->y2; +} + +int region_is_equal(const QRegion *rgn1, const QRegion *rgn2) +{ + return pixman_region32_equal((pixman_region32_t *)rgn1, (pixman_region32_t *)rgn2); +} + +int region_intersects(const QRegion *rgn1, const QRegion *rgn2) +{ + int test_res; + + if (!region_bounds_intersects(rgn1, rgn2)) { + return FALSE; + } + + test_res = region_test(rgn1, rgn2, REGION_TEST_SHARED); + return !!test_res; +} + +int region_bounds_intersects(const QRegion *rgn1, const QRegion *rgn2) +{ + pixman_box32_t *extents1, *extents2; + + extents1 = pixman_region32_extents((pixman_region32_t *)rgn1); + extents2 = pixman_region32_extents((pixman_region32_t *)rgn2); + + return EXTENTCHECK(extents1, extents2); +} + +int region_contains(const QRegion *rgn, const QRegion *other) +{ + int test_res; + + test_res = region_test(rgn, other, REGION_TEST_RIGHT_EXCLUSIVE); + return !test_res; +} + +int region_contains_point(const QRegion *rgn, int32_t x, int32_t y) +{ + return pixman_region32_contains_point((pixman_region32_t *)rgn, x, y, NULL); +} + +void region_or(QRegion *rgn, const QRegion *other_rgn) +{ + pixman_region32_union(rgn, rgn, (pixman_region32_t *)other_rgn); +} + +void region_and(QRegion *rgn, const QRegion *other_rgn) +{ + pixman_region32_intersect(rgn, rgn, (pixman_region32_t *)other_rgn); +} + +void region_xor(QRegion *rgn, const QRegion *other_rgn) +{ + pixman_region32_t intersection; + + pixman_region32_copy(&intersection, rgn); + pixman_region32_intersect(&intersection, + &intersection, + (pixman_region32_t *)other_rgn); + pixman_region32_union(rgn, rgn, (pixman_region32_t *)other_rgn); + pixman_region32_subtract(rgn, rgn, &intersection); + pixman_region32_fini(&intersection); +} + +void region_exclude(QRegion *rgn, const QRegion *other_rgn) +{ + pixman_region32_subtract(rgn, rgn, (pixman_region32_t *)other_rgn); +} + +void region_add(QRegion *rgn, const SpiceRect *r) +{ + pixman_region32_union_rect(rgn, rgn, r->left, r->top, + r->right - r->left, + r->bottom - r->top); +} + +void region_remove(QRegion *rgn, const SpiceRect *r) +{ + pixman_region32_t rg; + + pixman_region32_init_rect(&rg, r->left, r->top, + r->right - r->left, + r->bottom - r->top); + pixman_region32_subtract(rgn, rgn, &rg); + pixman_region32_fini(&rg); +} + + +void region_offset(QRegion *rgn, int32_t dx, int32_t dy) +{ + pixman_region32_translate(rgn, dx, dy); +} + +void region_dump(const QRegion *rgn, const char *prefix) +{ + pixman_box32_t *rects, *extents; + int n_rects, i; + + printf("%sREGION: %p, ", prefix, rgn); + + if (!pixman_region32_not_empty((pixman_region32_t *)rgn)) { + printf("EMPTY\n"); + return; + } + + extents = pixman_region32_extents((pixman_region32_t *)rgn); + rects = pixman_region32_rectangles((pixman_region32_t *)rgn, &n_rects); + printf("num %u bounds (%d, %d, %d, %d)\n", + n_rects, + extents->x1, + extents->y1, + extents->x2, + extents->y2); + + + for (i = 0; i < n_rects; i++) { + printf("%*s %12d %12d %12d %12d\n", + (int)strlen(prefix), "", + rects[i].x1, + rects[i].y1, + rects[i].x2, + rects[i].y2); + } +} + +#ifdef REGION_TEST + +static int slow_region_test(const QRegion *rgn, const QRegion *other_rgn, int query) +{ + pixman_region32_t intersection; + int res; + + pixman_region32_init(&intersection); + pixman_region32_intersect(&intersection, + (pixman_region32_t *)rgn, + (pixman_region32_t *)other_rgn); + + res = 0; + + if (query & REGION_TEST_SHARED && + pixman_region32_not_empty(&intersection)) { + res |= REGION_TEST_SHARED; + } + + if (query & REGION_TEST_LEFT_EXCLUSIVE && + !pixman_region32_equal(&intersection, (pixman_region32_t *)rgn)) { + res |= REGION_TEST_LEFT_EXCLUSIVE; + } + + if (query & REGION_TEST_RIGHT_EXCLUSIVE && + !pixman_region32_equal(&intersection, (pixman_region32_t *)other_rgn)) { + res |= REGION_TEST_RIGHT_EXCLUSIVE; + } + + pixman_region32_fini(&intersection); + + return res; +} + + +static int rect_is_valid(const SpiceRect *r) +{ + if (r->top > r->bottom || r->left > r->right) { + printf("%s: invalid rect\n", __FUNCTION__); + return FALSE; + } + return TRUE; +} + +static void rect_set(SpiceRect *r, int32_t top, int32_t left, int32_t bottom, int32_t right) +{ + r->top = top; + r->left = left; + r->bottom = bottom; + r->right = right; + spice_assert(rect_is_valid(r)); +} + +static void random_region(QRegion *reg) +{ + int i; + int num_rects; + int x, y, w, h; + SpiceRect _r; + SpiceRect *r = &_r; + + region_clear(reg); + + num_rects = rand() % 20; + for (i = 0; i < num_rects; i++) { + x = rand()%100; + y = rand()%100; + w = rand()%100; + h = rand()%100; + rect_set(r, + x, y, + x+w, y+h); + region_add(reg, r); + } +} + +static void test(const QRegion *r1, const QRegion *r2, int *expected) +{ + printf("r1 is_empty %s [%s]\n", + region_is_empty(r1) ? "TRUE" : "FALSE", + (region_is_empty(r1) == *(expected++)) ? "OK" : "ERR"); + printf("r2 is_empty %s [%s]\n", + region_is_empty(r2) ? "TRUE" : "FALSE", + (region_is_empty(r2) == *(expected++)) ? "OK" : "ERR"); + printf("is_equal %s [%s]\n", + region_is_equal(r1, r2) ? "TRUE" : "FALSE", + (region_is_equal(r1, r2) == *(expected++)) ? "OK" : "ERR"); + printf("intersects %s [%s]\n", + region_intersects(r1, r2) ? "TRUE" : "FALSE", + (region_intersects(r1, r2) == *(expected++)) ? "OK" : "ERR"); + printf("contains %s [%s]\n", + region_contains(r1, r2) ? "TRUE" : "FALSE", + (region_contains(r1, r2) == *(expected++)) ? "OK" : "ERR"); +} + +enum { + EXPECT_R1_EMPTY, + EXPECT_R2_EMPTY, + EXPECT_EQUAL, + EXPECT_SECT, + EXPECT_CONT, +}; + +int main(void) +{ + QRegion _r1, _r2, _r3; + QRegion *r1 = &_r1; + QRegion *r2 = &_r2; + QRegion *r3 = &_r3; + SpiceRect _r; + SpiceRect *r = &_r; + int expected[5]; + int i, j; + + region_init(r1); + region_init(r2); + + printf("dump r1 empty rgn [%s]\n", region_is_valid(r1) ? "VALID" : "INVALID"); + region_dump(r1, ""); + expected[EXPECT_R1_EMPTY] = TRUE; + expected[EXPECT_R2_EMPTY] = TRUE; + expected[EXPECT_EQUAL] = TRUE; + expected[EXPECT_SECT] = FALSE; + expected[EXPECT_CONT] = TRUE; + test(r1, r2, expected); + printf("\n"); + + region_clone(r3, r1); + printf("dump r3 clone rgn [%s]\n", region_is_valid(r3) ? "VALID" : "INVALID"); + region_dump(r3, ""); + expected[EXPECT_R1_EMPTY] = TRUE; + expected[EXPECT_R2_EMPTY] = TRUE; + expected[EXPECT_EQUAL] = TRUE; + expected[EXPECT_SECT] = FALSE; + expected[EXPECT_CONT] = TRUE; + test(r1, r3, expected); + region_destroy(r3); + printf("\n"); + + rect_set(r, 0, 0, 100, 100); + region_add(r1, r); + printf("dump r1 [%s]\n", region_is_valid(r1) ? "VALID" : "INVALID"); + region_dump(r1, ""); + expected[EXPECT_R1_EMPTY] = FALSE; + expected[EXPECT_R2_EMPTY] = TRUE; + expected[EXPECT_EQUAL] = FALSE; + expected[EXPECT_SECT] = FALSE; + expected[EXPECT_CONT] = TRUE; + test(r1, r2, expected); + printf("\n"); + + region_clear(r1); + rect_set(r, 0, 0, 0, 0); + region_add(r1, r); + printf("dump r1 [%s]\n", region_is_valid(r1) ? "VALID" : "INVALID"); + region_dump(r1, ""); + expected[EXPECT_R1_EMPTY] = TRUE; + expected[EXPECT_R2_EMPTY] = TRUE; + expected[EXPECT_EQUAL] = TRUE; + expected[EXPECT_SECT] = FALSE; + expected[EXPECT_CONT] = TRUE; + test(r1, r2, expected); + printf("\n"); + + rect_set(r, -100, -100, 0, 0); + region_add(r1, r); + printf("dump r1 [%s]\n", region_is_valid(r1) ? "VALID" : "INVALID"); + region_dump(r1, ""); + expected[EXPECT_R1_EMPTY] = FALSE; + expected[EXPECT_R2_EMPTY] = TRUE; + expected[EXPECT_EQUAL] = FALSE; + expected[EXPECT_SECT] = FALSE; + expected[EXPECT_CONT] = TRUE; + test(r1, r2, expected); + printf("\n"); + + region_clear(r1); + rect_set(r, -100, -100, 100, 100); + region_add(r1, r); + printf("dump r1 [%s]\n", region_is_valid(r1) ? "VALID" : "INVALID"); + region_dump(r1, ""); + expected[EXPECT_R1_EMPTY] = FALSE; + expected[EXPECT_R2_EMPTY] = TRUE; + expected[EXPECT_EQUAL] = FALSE; + expected[EXPECT_SECT] = FALSE; + expected[EXPECT_CONT] = TRUE; + test(r1, r2, expected); + printf("\n"); + + + region_clear(r1); + region_clear(r2); + + rect_set(r, 100, 100, 200, 200); + region_add(r1, r); + printf("dump r1 [%s]\n", region_is_valid(r1) ? "VALID" : "INVALID"); + region_dump(r1, ""); + expected[EXPECT_R1_EMPTY] = FALSE; + expected[EXPECT_R2_EMPTY] = TRUE; + expected[EXPECT_EQUAL] = FALSE; + expected[EXPECT_SECT] = FALSE; + expected[EXPECT_CONT] = TRUE; + test(r1, r2, expected); + printf("\n"); + + rect_set(r, 300, 300, 400, 400); + region_add(r1, r); + printf("dump r1 [%s]\n", region_is_valid(r1) ? "VALID" : "INVALID"); + region_dump(r1, ""); + expected[EXPECT_R1_EMPTY] = FALSE; + expected[EXPECT_R2_EMPTY] = TRUE; + expected[EXPECT_EQUAL] = FALSE; + expected[EXPECT_SECT] = FALSE; + expected[EXPECT_CONT] = TRUE; + test(r1, r2, expected); + printf("\n"); + + rect_set(r, 500, 500, 600, 600); + region_add(r2, r); + printf("dump r2 [%s]\n", region_is_valid(r2) ? "VALID" : "INVALID"); + region_dump(r2, ""); + expected[EXPECT_R1_EMPTY] = FALSE; + expected[EXPECT_R2_EMPTY] = FALSE; + expected[EXPECT_EQUAL] = FALSE; + expected[EXPECT_SECT] = FALSE; + expected[EXPECT_CONT] = FALSE; + test(r1, r2, expected); + printf("\n"); + + region_clear(r2); + + rect_set(r, 100, 100, 200, 200); + region_add(r2, r); + rect_set(r, 300, 300, 400, 400); + region_add(r2, r); + printf("dump r2 [%s]\n", region_is_valid(r2) ? "VALID" : "INVALID"); + region_dump(r2, ""); + expected[EXPECT_R1_EMPTY] = FALSE; + expected[EXPECT_R2_EMPTY] = FALSE; + expected[EXPECT_EQUAL] = TRUE; + expected[EXPECT_SECT] = TRUE; + expected[EXPECT_CONT] = TRUE; + test(r1, r2, expected); + printf("\n"); + + region_clear(r2); + + rect_set(r, 100, 100, 200, 200); + region_add(r2, r); + printf("dump r2 [%s]\n", region_is_valid(r2) ? "VALID" : "INVALID"); + region_dump(r2, ""); + expected[EXPECT_R1_EMPTY] = FALSE; + expected[EXPECT_R2_EMPTY] = FALSE; + expected[EXPECT_EQUAL] = FALSE; + expected[EXPECT_SECT] = TRUE; + expected[EXPECT_CONT] = TRUE; + test(r1, r2, expected); + printf("\n"); + + region_clear(r2); + + rect_set(r, -2000, -2000, -1000, -1000); + region_add(r2, r); + printf("dump r2 [%s]\n", region_is_valid(r2) ? "VALID" : "INVALID"); + region_dump(r2, ""); + expected[EXPECT_R1_EMPTY] = FALSE; + expected[EXPECT_R2_EMPTY] = FALSE; + expected[EXPECT_EQUAL] = FALSE; + expected[EXPECT_SECT] = FALSE; + expected[EXPECT_CONT] = FALSE; + test(r1, r2, expected); + printf("\n"); + + region_clear(r2); + + rect_set(r, -2000, -2000, 1000, 1000); + region_add(r2, r); + printf("dump r2 [%s]\n", region_is_valid(r2) ? "VALID" : "INVALID"); + region_dump(r2, ""); + expected[EXPECT_R1_EMPTY] = FALSE; + expected[EXPECT_R2_EMPTY] = FALSE; + expected[EXPECT_EQUAL] = FALSE; + expected[EXPECT_SECT] = TRUE; + expected[EXPECT_CONT] = FALSE; + test(r1, r2, expected); + printf("\n"); + + region_clear(r2); + + rect_set(r, 150, 150, 175, 175); + region_add(r2, r); + printf("dump r2 [%s]\n", region_is_valid(r2) ? "VALID" : "INVALID"); + region_dump(r2, ""); + expected[EXPECT_R1_EMPTY] = FALSE; + expected[EXPECT_R2_EMPTY] = FALSE; + expected[EXPECT_EQUAL] = FALSE; + expected[EXPECT_SECT] = TRUE; + expected[EXPECT_CONT] = TRUE; + test(r1, r2, expected); + printf("\n"); + + region_clear(r2); + + rect_set(r, 150, 150, 350, 350); + region_add(r2, r); + printf("dump r2 [%s]\n", region_is_valid(r2) ? "VALID" : "INVALID"); + region_dump(r2, ""); + expected[EXPECT_R1_EMPTY] = FALSE; + expected[EXPECT_R2_EMPTY] = FALSE; + expected[EXPECT_EQUAL] = FALSE; + expected[EXPECT_SECT] = TRUE; + expected[EXPECT_CONT] = FALSE; + test(r1, r2, expected); + printf("\n"); + + region_and(r2, r1); + printf("dump r2 and r1 [%s]\n", region_is_valid(r2) ? "VALID" : "INVALID"); + region_dump(r2, ""); + expected[EXPECT_R1_EMPTY] = FALSE; + expected[EXPECT_R2_EMPTY] = FALSE; + expected[EXPECT_EQUAL] = FALSE; + expected[EXPECT_SECT] = TRUE; + expected[EXPECT_CONT] = FALSE; + test(r2, r1, expected); + printf("\n"); + + + region_clone(r3, r1); + printf("dump r3 clone rgn [%s]\n", region_is_valid(r3) ? "VALID" : "INVALID"); + region_dump(r3, ""); + expected[EXPECT_R1_EMPTY] = FALSE; + expected[EXPECT_R2_EMPTY] = FALSE; + expected[EXPECT_EQUAL] = TRUE; + expected[EXPECT_SECT] = TRUE; + expected[EXPECT_CONT] = TRUE; + test(r1, r3, expected); + printf("\n"); + + j = 0; + for (i = 0; i < 1000000; i++) { + int res1, res2, test; + int tests[] = { + REGION_TEST_LEFT_EXCLUSIVE, + REGION_TEST_RIGHT_EXCLUSIVE, + REGION_TEST_SHARED, + REGION_TEST_LEFT_EXCLUSIVE | REGION_TEST_RIGHT_EXCLUSIVE, + REGION_TEST_LEFT_EXCLUSIVE | REGION_TEST_SHARED, + REGION_TEST_RIGHT_EXCLUSIVE | REGION_TEST_SHARED, + REGION_TEST_LEFT_EXCLUSIVE | REGION_TEST_RIGHT_EXCLUSIVE | REGION_TEST_SHARED + }; + + random_region(r1); + random_region(r2); + + for (test = 0; test < 7; test++) { + res1 = region_test(r1, r2, tests[test]); + res2 = slow_region_test(r1, r2, tests[test]); + if (res1 != res2) { + printf ("Error in region_test %d, got %d, expected %d, query=%d\n", + j, res1, res2, tests[test]); + printf ("r1:\n"); + region_dump(r1, ""); + printf ("r2:\n"); + region_dump(r2, ""); + } + j++; + } + } + + region_destroy(r3); + region_destroy(r1); + region_destroy(r2); + + return 0; +} + +#endif diff --git a/tizen/distrib/remote/common/spice-common/common/region.h b/tizen/distrib/remote/common/spice-common/common/region.h new file mode 100644 index 0000000..4619406 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/region.h @@ -0,0 +1,70 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_REGION +#define _H_REGION + +#include <stdint.h> +#include <spice/macros.h> + +#include "draw.h" +#include "pixman_utils.h" + +SPICE_BEGIN_DECLS + +typedef pixman_region32_t QRegion; + +#define REGION_TEST_LEFT_EXCLUSIVE (1 << 0) +#define REGION_TEST_RIGHT_EXCLUSIVE (1 << 1) +#define REGION_TEST_SHARED (1 << 2) +#define REGION_TEST_ALL \ + (REGION_TEST_LEFT_EXCLUSIVE | REGION_TEST_RIGHT_EXCLUSIVE | REGION_TEST_SHARED) + +void region_init(QRegion *rgn); +void region_clear(QRegion *rgn); +void region_destroy(QRegion *rgn); +void region_clone(QRegion *dest, const QRegion *src); +SpiceRect *region_dup_rects(const QRegion *rgn, uint32_t *num_rects); +void region_ret_rects(const QRegion *rgn, SpiceRect *rects, uint32_t num_rects); +void region_extents(const QRegion *rgn, SpiceRect *r); + +int region_test(const QRegion *rgn, const QRegion *other_rgn, int query); +int region_is_valid(const QRegion *rgn); +int region_is_empty(const QRegion *rgn); +int region_is_equal(const QRegion *rgn1, const QRegion *rgn2); +int region_intersects(const QRegion *rgn1, const QRegion *rgn2); +int region_bounds_intersects(const QRegion *rgn1, const QRegion *rgn2); +int region_contains(const QRegion *rgn, const QRegion *other); +int region_contains_point(const QRegion *rgn, int32_t x, int32_t y); + +void region_or(QRegion *rgn, const QRegion *other_rgn); +void region_and(QRegion *rgn, const QRegion *other_rgn); +void region_xor(QRegion *rgn, const QRegion *other_rgn); +void region_exclude(QRegion *rgn, const QRegion *other_rgn); + +void region_add(QRegion *rgn, const SpiceRect *r); +void region_remove(QRegion *rgn, const SpiceRect *r); + +void region_offset(QRegion *rgn, int32_t dx, int32_t dy); + + +void region_dump(const QRegion *rgn, const char *prefix); + +SPICE_END_DECLS + +#endif diff --git a/tizen/distrib/remote/common/spice-common/common/ring.h b/tizen/distrib/remote/common/spice-common/common/ring.h new file mode 100644 index 0000000..7fba50e --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/ring.h @@ -0,0 +1,169 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_RING2 +#define _H_RING2 + +#include <spice/macros.h> +#include "spice_common.h" + +SPICE_BEGIN_DECLS + +typedef struct Ring RingItem; +typedef struct Ring { + RingItem *prev; + RingItem *next; +} Ring; + +static inline void ring_init(Ring *ring) +{ + ring->next = ring->prev = ring; +} + +static inline void ring_item_init(RingItem *item) +{ + item->next = item->prev = NULL; +} + +static inline int ring_item_is_linked(RingItem *item) +{ + return !!item->next; +} + +static inline int ring_is_empty(Ring *ring) +{ + spice_assert(ring->next != NULL && ring->prev != NULL); + return ring == ring->next; +} + +static inline void ring_add(Ring *ring, RingItem *item) +{ + spice_assert(ring->next != NULL && ring->prev != NULL); + spice_assert(item->next == NULL && item->prev == NULL); + + item->next = ring->next; + item->prev = ring; + ring->next = item->next->prev = item; +} + +static inline void ring_add_after(RingItem *item, RingItem *pos) +{ + ring_add(pos, item); +} + +static inline void ring_add_before(RingItem *item, RingItem *pos) +{ + ring_add(pos->prev, item); +} + +static inline void __ring_remove(RingItem *item) +{ + item->next->prev = item->prev; + item->prev->next = item->next; + item->prev = item->next = 0; +} + +static inline void ring_remove(RingItem *item) +{ + spice_assert(item->next != NULL && item->prev != NULL); + spice_assert(item->next != item); + + __ring_remove(item); +} + +static inline RingItem *ring_get_head(Ring *ring) +{ + RingItem *ret; + + spice_assert(ring->next != NULL && ring->prev != NULL); + + if (ring_is_empty(ring)) { + return NULL; + } + ret = ring->next; + return ret; +} + +static inline RingItem *ring_get_tail(Ring *ring) +{ + RingItem *ret; + + spice_assert(ring->next != NULL && ring->prev != NULL); + + if (ring_is_empty(ring)) { + return NULL; + } + ret = ring->prev; + return ret; +} + +static inline RingItem *ring_next(Ring *ring, RingItem *pos) +{ + RingItem *ret; + + spice_assert(ring->next != NULL && ring->prev != NULL); + spice_assert(pos); + spice_assert(pos->next != NULL && pos->prev != NULL); + ret = pos->next; + return (ret == ring) ? NULL : ret; +} + +static inline RingItem *ring_prev(Ring *ring, RingItem *pos) +{ + RingItem *ret; + + spice_assert(ring->next != NULL && ring->prev != NULL); + spice_assert(pos); + spice_assert(pos->next != NULL && pos->prev != NULL); + ret = pos->prev; + return (ret == ring) ? NULL : ret; +} + +#define RING_FOREACH_SAFE(var, next, ring) \ + for ((var) = ring_get_head(ring); \ + (var) && ((next) = ring_next(ring, (var)), 1); \ + (var) = (next)) + + +#define RING_FOREACH(var, ring) \ + for ((var) = ring_get_head(ring); \ + (var); \ + (var) = ring_next(ring, var)) + +#define RING_FOREACH_REVERSED(var, ring) \ + for ((var) = ring_get_tail(ring); \ + (var); \ + (var) = ring_prev(ring, var)) + + +static inline unsigned int ring_get_length(Ring *ring) +{ + RingItem *i; + unsigned int ret = 0; + + for (i = ring_get_head(ring); + i != NULL; + i = ring_next(ring, i)) + ret++; + + return ret; +} + +SPICE_END_DECLS + +#endif diff --git a/tizen/distrib/remote/common/spice-common/common/rop3.c b/tizen/distrib/remote/common/spice-common/common/rop3.c new file mode 100644 index 0000000..d5b46db --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/rop3.c @@ -0,0 +1,650 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <stdio.h> + +#include "rop3.h" +#include "spice_common.h" + +typedef void (*rop3_with_pattern_handler_t)(pixman_image_t *d, pixman_image_t *s, + SpicePoint *src_pos, pixman_image_t *p, + SpicePoint *pat_pos); + +typedef void (*rop3_with_color_handler_t)(pixman_image_t *d, pixman_image_t *s, + SpicePoint *src_pos, uint32_t rgb); + +typedef void (*rop3_test_handler_t)(void); + +#define ROP3_NUM_OPS 256 + +static rop3_with_pattern_handler_t rop3_with_pattern_handlers_32[ROP3_NUM_OPS]; +static rop3_with_pattern_handler_t rop3_with_pattern_handlers_16[ROP3_NUM_OPS]; +static rop3_with_color_handler_t rop3_with_color_handlers_32[ROP3_NUM_OPS]; +static rop3_with_color_handler_t rop3_with_color_handlers_16[ROP3_NUM_OPS]; +static rop3_test_handler_t rop3_test_handlers_32[ROP3_NUM_OPS]; +static rop3_test_handler_t rop3_test_handlers_16[ROP3_NUM_OPS]; + + +static void default_rop3_with_pattern_handler(pixman_image_t *d, pixman_image_t *s, + SpicePoint *src_pos, pixman_image_t *p, + SpicePoint *pat_pos) +{ + spice_critical("not implemented"); +} + +static void default_rop3_withe_color_handler(pixman_image_t *d, pixman_image_t *s, SpicePoint *src_pos, + uint32_t rgb) +{ + spice_critical("not implemented"); +} + +static void default_rop3_test_handler(void) +{ +} + +#define ROP3_HANDLERS_DEPTH(name, formula, index, depth) \ +static void rop3_handle_p##depth##_##name(pixman_image_t *d, pixman_image_t *s, \ + SpicePoint *src_pos, \ + pixman_image_t *p, SpicePoint *pat_pos) \ +{ \ + int width = pixman_image_get_width(d); \ + int height = pixman_image_get_height(d); \ + uint8_t *dest_line = (uint8_t *)pixman_image_get_data(d); \ + int dest_stride = pixman_image_get_stride(d); \ + uint8_t *end_line = dest_line + height * dest_stride; \ + \ + int pat_width = pixman_image_get_width(p); \ + int pat_height = pixman_image_get_height(p); \ + uint8_t *pat_base = (uint8_t *)pixman_image_get_data(p); \ + int pat_stride = pixman_image_get_stride(p); \ + int pat_v_offset = pat_pos->y; \ + \ + int src_stride = pixman_image_get_stride(s); \ + uint8_t *src_line; \ + src_line = (uint8_t *)pixman_image_get_data(s) + src_pos->y * src_stride + (src_pos->x * depth / 8); \ + \ + for (; dest_line < end_line; dest_line += dest_stride, src_line += src_stride) { \ + uint##depth##_t *dest = (uint##depth##_t *)dest_line; \ + uint##depth##_t *end = dest + width; \ + uint##depth##_t *src = (uint##depth##_t *)src_line; \ + \ + int pat_h_offset = pat_pos->x; \ + \ + for (; dest < end; dest++, src++) { \ + uint##depth##_t *pat; \ + pat = (uint##depth##_t *) \ + (pat_base + pat_v_offset * pat_stride + (pat_h_offset * depth / 8)); \ + *dest = formula; \ + pat_h_offset = (pat_h_offset + 1) % pat_width; \ + } \ + \ + pat_v_offset = (pat_v_offset + 1) % pat_height; \ + } \ +} \ + \ +static void rop3_handle_c##depth##_##name(pixman_image_t *d, pixman_image_t *s, \ + SpicePoint *src_pos, \ + uint32_t rgb) \ +{ \ + int width = pixman_image_get_width(d); \ + int height = pixman_image_get_height(d); \ + uint8_t *dest_line = (uint8_t *)pixman_image_get_data(d); \ + int dest_stride = pixman_image_get_stride(d); \ + uint8_t *end_line = dest_line + height * dest_stride; \ + uint##depth##_t _pat = rgb; \ + uint##depth##_t *pat = &_pat; \ + \ + int src_stride = pixman_image_get_stride(s); \ + uint8_t *src_line; \ + src_line = (uint8_t *) \ + pixman_image_get_data(s) + src_pos->y * src_stride + (src_pos->x * depth / 8); \ + \ + for (; dest_line < end_line; dest_line += dest_stride, src_line += src_stride) { \ + uint##depth##_t *dest = (uint##depth##_t *)dest_line; \ + uint##depth##_t *end = dest + width; \ + uint##depth##_t *src = (uint##depth##_t *)src_line; \ + for (; dest < end; dest++, src++) { \ + *dest = formula; \ + } \ + } \ +} \ + \ +static void rop3_test##depth##_##name(void) \ +{ \ + uint8_t d = 0xaa; \ + uint8_t s = 0xcc; \ + uint8_t p = 0xf0; \ + uint8_t *pat = &p; \ + uint8_t *src = &s; \ + uint8_t *dest = &d; \ + \ + d = formula; \ + if (d != index) { \ + printf("%s: failed, result is 0x%x expect 0x%x\n", __FUNCTION__, d, index); \ + } \ +} + +#define ROP3_HANDLERS(name, formula, index) \ + ROP3_HANDLERS_DEPTH(name, formula, index, 32) \ + ROP3_HANDLERS_DEPTH(name, formula, index, 16) + +ROP3_HANDLERS(DPSoon, ~(*pat | *src | *dest), 0x01); +ROP3_HANDLERS(DPSona, ~(*pat | *src) & *dest, 0x02); +ROP3_HANDLERS(SDPona, ~(*pat | *dest) & *src, 0x04); +ROP3_HANDLERS(PDSxnon, ~(~(*src ^ *dest) | *pat), 0x06); +ROP3_HANDLERS(PDSaon, ~((*src & *dest) | *pat), 0x07); +ROP3_HANDLERS(SDPnaa, ~*pat & *dest & *src, 0x08); +ROP3_HANDLERS(PDSxon, ~((*src ^ *dest) | *pat), 0x09); +ROP3_HANDLERS(PSDnaon, ~((~*dest & *src) | *pat), 0x0b); +ROP3_HANDLERS(PDSnaon, ~((~*src & *dest) | *pat), 0x0d); +ROP3_HANDLERS(PDSonon, ~(~(*src | *dest) | *pat), 0x0e); +ROP3_HANDLERS(PDSona, ~(*src | *dest) & *pat, 0x10); +ROP3_HANDLERS(SDPxnon, ~(~(*pat ^ *dest) | *src), 0x12); +ROP3_HANDLERS(SDPaon, ~((*pat & *dest) | *src), 0x13); +ROP3_HANDLERS(DPSxnon, ~(~(*pat ^ *src) | *dest), 0x14); +ROP3_HANDLERS(DPSaon, ~((*pat & *src) | *dest), 0x15); +ROP3_HANDLERS(PSDPSanaxx, (~(*pat & *src) & *dest) ^ *src ^ *pat, 0x16); +ROP3_HANDLERS(SSPxDSxaxn, ~(((*src ^ *dest) & (*src ^ *pat)) ^ *src), 0x17); +ROP3_HANDLERS(SPxPDxa, (*src ^ *pat) & (*pat ^ *dest), 0x18); +ROP3_HANDLERS(SDPSanaxn, ~((~(*pat & *src) & *dest) ^ *src), 0x19); +ROP3_HANDLERS(PDSPaox, ((*pat & *src) | *dest) ^ *pat, 0x1a); +ROP3_HANDLERS(SDPSxaxn, ~(((*pat ^ *src) & *dest) ^ *src), 0x1b); +ROP3_HANDLERS(PSDPaox, ((*pat & *dest) | *src) ^ *pat, 0x1c); +ROP3_HANDLERS(DSPDxaxn, ~(((*pat ^ *dest) & *src) ^ *dest), 0x1d); +ROP3_HANDLERS(PDSox, (*dest | *src) ^ *pat, 0x1e); +ROP3_HANDLERS(PDSoan, ~((*src | *dest) & *pat), 0x1f); +ROP3_HANDLERS(DPSnaa, ~*src & *pat & *dest, 0x20); +ROP3_HANDLERS(SDPxon, ~((*pat ^ *dest) | *src), 0x21); +ROP3_HANDLERS(SPDnaon, ~((~*dest & *pat) | *src), 0x23); +ROP3_HANDLERS(SPxDSxa, (*src ^ *pat) & (*dest ^ *src), 0x24); +ROP3_HANDLERS(PDSPanaxn, ~((~(*src & *pat) & *dest) ^ *pat), 0x25); +ROP3_HANDLERS(SDPSaox, ((*src & *pat) | *dest) ^ *src, 0x26); +ROP3_HANDLERS(SDPSxnox, (~(*src ^ *pat) | *dest) ^ *src, 0x27); +ROP3_HANDLERS(DPSxa, (*pat ^ *src) & *dest, 0x28); +ROP3_HANDLERS(PSDPSaoxxn, ~(((*src & *pat) | *dest) ^ *src ^ *pat), 0x29); +ROP3_HANDLERS(DPSana, ~(*src & *pat) & *dest, 0x2a); +ROP3_HANDLERS(SSPxPDxaxn, ~(((*pat ^ *dest) & (*src ^ *pat)) ^ *src), 0x2b); +ROP3_HANDLERS(SPDSoax, ((*src | *dest) & *pat) ^ *src, 0x2c); +ROP3_HANDLERS(PSDnox, (~*dest | *src) ^ *pat, 0x2d); +ROP3_HANDLERS(PSDPxox, ((*pat ^ *dest) | *src) ^ *pat, 0x2e); +ROP3_HANDLERS(PSDnoan, ~((~*dest | *src) & *pat), 0x2f); +ROP3_HANDLERS(SDPnaon, ~((~*pat & *dest) | *src), 0x31); +ROP3_HANDLERS(SDPSoox, (*src | *pat | *dest) ^ *src, 0x32); +ROP3_HANDLERS(SPDSaox, ((*src & *dest) | *pat) ^ *src, 0x34); +ROP3_HANDLERS(SPDSxnox, (~(*src ^ *dest) | *pat) ^ *src, 0x35); +ROP3_HANDLERS(SDPox, (*pat | *dest) ^ *src, 0x36); +ROP3_HANDLERS(SDPoan, ~((*pat | *dest) & *src), 0x37); +ROP3_HANDLERS(PSDPoax, ((*pat | *dest) & *src) ^ *pat, 0x38); +ROP3_HANDLERS(SPDnox, (~*dest | *pat) ^ *src, 0x39); +ROP3_HANDLERS(SPDSxox, ((*src ^ *dest) | *pat) ^ *src, 0x3a); +ROP3_HANDLERS(SPDnoan, ~((~*dest | *pat) & *src), 0x3b); +ROP3_HANDLERS(SPDSonox, (~(*src | *dest) | *pat) ^ *src, 0x3d); +ROP3_HANDLERS(SPDSnaox, ((~*src & *dest) | *pat) ^ *src, 0x3e); +ROP3_HANDLERS(PSDnaa, ~*dest & *src & *pat, 0x40); +ROP3_HANDLERS(DPSxon, ~((*src ^ *pat) | *dest), 0x41); +ROP3_HANDLERS(SDxPDxa, (*src ^ *dest) & (*pat ^ *dest), 0x42); +ROP3_HANDLERS(SPDSanaxn, ~((~(*src & *dest) & *pat) ^ *src), 0x43); +ROP3_HANDLERS(DPSnaon, ~((~*src & *pat) | *dest), 0x45); +ROP3_HANDLERS(DSPDaox, ((*dest & *pat) | *src) ^ *dest, 0x46); +ROP3_HANDLERS(PSDPxaxn, ~(((*pat ^ *dest) & *src) ^ *pat), 0x47); +ROP3_HANDLERS(SDPxa, (*pat ^ *dest) & *src, 0x48); +ROP3_HANDLERS(PDSPDaoxxn, ~(((*dest & *pat) | *src) ^ *dest ^ *pat), 0x49); +ROP3_HANDLERS(DPSDoax, ((*dest | *src) & *pat) ^ *dest, 0x4a); +ROP3_HANDLERS(PDSnox, (~*src | *dest) ^ *pat, 0x4b); +ROP3_HANDLERS(SDPana, ~(*pat & *dest) & *src, 0x4c); +ROP3_HANDLERS(SSPxDSxoxn, ~(((*src ^ *dest) | (*src ^ *pat)) ^ *src), 0x4d); +ROP3_HANDLERS(PDSPxox, ((*pat ^ *src) | *dest) ^ *pat, 0x4e); +ROP3_HANDLERS(PDSnoan, ~((~*src | *dest) & *pat), 0x4f); +ROP3_HANDLERS(DSPnaon, ~((~*pat & *src) | *dest), 0x51); +ROP3_HANDLERS(DPSDaox, ((*dest & *src) | *pat) ^ *dest, 0x52); +ROP3_HANDLERS(SPDSxaxn, ~(((*src ^ *dest) & *pat) ^ *src), 0x53); +ROP3_HANDLERS(DPSonon, ~(~(*src | *pat) | *dest), 0x54); +ROP3_HANDLERS(DPSox, (*src | *pat) ^ *dest, 0x56); +ROP3_HANDLERS(DPSoan, ~((*src | *pat) & *dest), 0x57); +ROP3_HANDLERS(PDSPoax, ((*pat | *src) & *dest) ^ *pat, 0x58); +ROP3_HANDLERS(DPSnox, (~*src | *pat) ^ *dest, 0x59); +ROP3_HANDLERS(DPSDonox, (~(*dest | *src) | *pat) ^ *dest, 0x5b); +ROP3_HANDLERS(DPSDxox, ((*dest ^ *src) | *pat) ^ *dest, 0x5c); +ROP3_HANDLERS(DPSnoan, ~((~*src | *pat) & *dest), 0x5d); +ROP3_HANDLERS(DPSDnaox, ((~*dest & *src) | *pat) ^ *dest, 0x5e); +ROP3_HANDLERS(PDSxa, (*src ^ *dest) & *pat, 0x60); +ROP3_HANDLERS(DSPDSaoxxn, ~(((*src & *dest) | *pat) ^ *src ^ *dest), 0x61); +ROP3_HANDLERS(DSPDoax, ((*dest | *pat) & *src) ^ *dest, 0x62); +ROP3_HANDLERS(SDPnox, (~*pat | *dest) ^ *src, 0x63); +ROP3_HANDLERS(SDPSoax, ((*src | *pat) & *dest) ^ *src, 0x64); +ROP3_HANDLERS(DSPnox, (~*pat | *src) ^ *dest, 0x65); +ROP3_HANDLERS(SDPSonox, (~(*src | *pat) | *dest) ^ *src, 0x67); +ROP3_HANDLERS(DSPDSonoxxn, ~((~(*src | *dest) | *pat) ^ *src ^ *dest), 0x68); +ROP3_HANDLERS(PDSxxn, ~(*src ^ *dest ^ *pat), 0x69); +ROP3_HANDLERS(DPSax, (*src & *pat) ^ *dest, 0x6a); +ROP3_HANDLERS(PSDPSoaxxn, ~(((*src | *pat) & *dest) ^ *src ^ *pat), 0x6b); +ROP3_HANDLERS(SDPax, (*pat & *dest) ^ *src, 0x6c); +ROP3_HANDLERS(PDSPDoaxxn, ~(((*dest | *pat) & *src) ^ *dest ^ *pat), 0x6d); +ROP3_HANDLERS(SDPSnoax, ((~*src | *pat) & *dest) ^ *src, 0x6e); +ROP3_HANDLERS(PDSxnan, ~(~(*src ^ *dest) & *pat), 0x6f); +ROP3_HANDLERS(PDSana, ~(*src & *dest) & *pat, 0x70); +ROP3_HANDLERS(SSDxPDxaxn, ~(((*dest ^ *pat) & (*src ^ *dest)) ^ *src), 0x71); +ROP3_HANDLERS(SDPSxox, ((*src ^ *pat) | *dest) ^ *src, 0x72); +ROP3_HANDLERS(SDPnoan, ~((~*pat | *dest) & *src), 0x73); +ROP3_HANDLERS(DSPDxox, ((*dest ^ *pat) | *src) ^ *dest, 0x74); +ROP3_HANDLERS(DSPnoan, ~((~*pat | *src) & *dest), 0x75); +ROP3_HANDLERS(SDPSnaox, ((~*src & *pat) | *dest) ^ *src, 0x76); +ROP3_HANDLERS(PDSax, (*src & *dest) ^ *pat, 0x78); +ROP3_HANDLERS(DSPDSoaxxn, ~(((*src | *dest) & *pat) ^ *src ^ *dest), 0x79); +ROP3_HANDLERS(DPSDnoax, ((~*dest | *src) & *pat) ^ *dest, 0x7a); +ROP3_HANDLERS(SDPxnan, ~(~(*pat ^ *dest) & *src), 0x7b); +ROP3_HANDLERS(SPDSnoax, ((~*src | *dest) & *pat) ^ *src, 0x7c); +ROP3_HANDLERS(DPSxnan, ~(~(*src ^ *pat) & *dest), 0x7d); +ROP3_HANDLERS(SPxDSxo, (*src ^ *dest) | (*pat ^ *src), 0x7e); +ROP3_HANDLERS(DPSaan, ~(*src & *pat & *dest), 0x7f); +ROP3_HANDLERS(DPSaa, *src & *pat & *dest, 0x80); +ROP3_HANDLERS(SPxDSxon, ~((*src ^ *dest) | (*pat ^ *src)), 0x81); +ROP3_HANDLERS(DPSxna, ~(*src ^ *pat) & *dest, 0x82); +ROP3_HANDLERS(SPDSnoaxn, ~(((~*src | *dest) & *pat) ^ *src), 0x83); +ROP3_HANDLERS(SDPxna, ~(*pat ^ *dest) & *src, 0x84); +ROP3_HANDLERS(PDSPnoaxn, ~(((~*pat | *src) & *dest) ^ *pat), 0x85); +ROP3_HANDLERS(DSPDSoaxx, ((*src | *dest) & *pat) ^ *src ^ *dest, 0x86); +ROP3_HANDLERS(PDSaxn, ~((*src & *dest) ^ *pat), 0x87); +ROP3_HANDLERS(SDPSnaoxn, ~(((~*src & *pat) | *dest) ^ *src), 0x89); +ROP3_HANDLERS(DSPnoa, (~*pat | *src) & *dest, 0x8a); +ROP3_HANDLERS(DSPDxoxn, ~(((*dest ^ *pat) | *src) ^ *dest), 0x8b); +ROP3_HANDLERS(SDPnoa, (~*pat | *dest) & *src, 0x8c); +ROP3_HANDLERS(SDPSxoxn, ~(((*src ^ *pat) | *dest) ^ *src), 0x8d); +ROP3_HANDLERS(SSDxPDxax, ((*dest ^ *pat) & (*dest ^ *src)) ^ *src, 0x8e); +ROP3_HANDLERS(PDSanan, ~(~(*src & *dest) & *pat), 0x8f); +ROP3_HANDLERS(PDSxna, ~(*src ^ *dest) & *pat, 0x90); +ROP3_HANDLERS(SDPSnoaxn, ~(((~*src | *pat) & *dest) ^ *src), 0x91); +ROP3_HANDLERS(DPSDPoaxx, ((*pat | *dest) & *src) ^ *pat ^ *dest, 0x92); +ROP3_HANDLERS(SPDaxn, ~((*dest & *pat) ^ *src), 0x93); +ROP3_HANDLERS(PSDPSoaxx, ((*src | *pat) & *dest) ^ *src ^ *pat, 0x94); +ROP3_HANDLERS(DPSaxn, ~((*src & *pat) ^ *dest), 0x95); +ROP3_HANDLERS(DPSxx, *src ^ *pat ^ *dest, 0x96); +ROP3_HANDLERS(PSDPSonoxx, (~(*src | *pat) | *dest) ^ *src ^ *pat, 0x97); +ROP3_HANDLERS(SDPSonoxn, ~((~(*src | *pat) | *dest) ^ *src), 0x98); +ROP3_HANDLERS(DPSnax, (~*src & *pat) ^ *dest, 0x9a); +ROP3_HANDLERS(SDPSoaxn, ~(((*src | *pat) & *dest) ^ *src), 0x9b); +ROP3_HANDLERS(SPDnax, (~*dest & *pat) ^ *src, 0x9c); +ROP3_HANDLERS(DSPDoaxn, ~(((*dest | *pat) & *src) ^ *dest), 0x9d); +ROP3_HANDLERS(DSPDSaoxx, ((*src & *dest) | *pat) ^ *src ^ *dest, 0x9e); +ROP3_HANDLERS(PDSxan, ~((*src ^ *dest) & *pat), 0x9f); +ROP3_HANDLERS(PDSPnaoxn, ~(((~*pat & *src) | *dest) ^ *pat), 0xa1); +ROP3_HANDLERS(DPSnoa, (~*src | *pat) & *dest, 0xa2); +ROP3_HANDLERS(DPSDxoxn, ~(((*dest ^ *src) | *pat) ^ *dest), 0xa3); +ROP3_HANDLERS(PDSPonoxn, ~((~(*pat | *src) | *dest) ^ *pat), 0xa4); +ROP3_HANDLERS(DSPnax, (~*pat & *src) ^ *dest, 0xa6); +ROP3_HANDLERS(PDSPoaxn, ~(((*pat | *src) & *dest) ^ *pat), 0xa7); +ROP3_HANDLERS(DPSoa, (*src | *pat) & *dest, 0xa8); +ROP3_HANDLERS(DPSoxn, ~((*src | *pat) ^ *dest), 0xa9); +ROP3_HANDLERS(DPSono, ~(*src | *pat) | *dest, 0xab); +ROP3_HANDLERS(SPDSxax, ((*src ^ *dest) & *pat) ^ *src, 0xac); +ROP3_HANDLERS(DPSDaoxn, ~(((*dest & *src) | *pat) ^ *dest), 0xad); +ROP3_HANDLERS(DSPnao, (~*pat & *src) | *dest, 0xae); +ROP3_HANDLERS(PDSnoa, (~*src | *dest) & *pat, 0xb0); +ROP3_HANDLERS(PDSPxoxn, ~(((*pat ^ *src) | *dest) ^ *pat), 0xb1); +ROP3_HANDLERS(SSPxDSxox, ((*src ^ *dest) | (*pat ^ *src)) ^ *src, 0xb2); +ROP3_HANDLERS(SDPanan, ~(~(*pat & *dest) & *src), 0xb3); +ROP3_HANDLERS(PSDnax, (~*dest & *src) ^ *pat, 0xb4); +ROP3_HANDLERS(DPSDoaxn, ~(((*dest | *src) & *pat) ^ *dest), 0xb5); +ROP3_HANDLERS(DPSDPaoxx, ((*pat & *dest) | *src) ^ *pat ^ *dest, 0xb6); +ROP3_HANDLERS(SDPxan, ~((*pat ^ *dest) & *src), 0xb7); +ROP3_HANDLERS(PSDPxax, ((*dest ^ *pat) & *src) ^ *pat, 0xb8); +ROP3_HANDLERS(DSPDaoxn, ~(((*dest & *pat) | *src) ^ *dest), 0xb9); +ROP3_HANDLERS(DPSnao, (~*src & *pat) | *dest, 0xba); +ROP3_HANDLERS(SPDSanax, (~(*src & *dest) & *pat) ^ *src, 0xbc); +ROP3_HANDLERS(SDxPDxan, ~((*dest ^ *pat) & (*dest ^ *src)), 0xbd); +ROP3_HANDLERS(DPSxo, (*src ^ *pat) | *dest, 0xbe); +ROP3_HANDLERS(DPSano, ~(*src & *pat) | *dest, 0xbf); +ROP3_HANDLERS(SPDSnaoxn, ~(((~*src & *dest) | *pat) ^ *src), 0xc1); +ROP3_HANDLERS(SPDSonoxn, ~((~(*src | *dest) | *pat) ^ *src), 0xc2); +ROP3_HANDLERS(SPDnoa, (~*dest | *pat) & *src, 0xc4); +ROP3_HANDLERS(SPDSxoxn, ~(((*src ^ *dest) | *pat) ^ *src), 0xc5); +ROP3_HANDLERS(SDPnax, (~*pat & *dest) ^ *src, 0xc6); +ROP3_HANDLERS(PSDPoaxn, ~(((*pat | *dest) & *src) ^ *pat), 0xc7); +ROP3_HANDLERS(SDPoa, (*pat | *dest) & *src, 0xc8); +ROP3_HANDLERS(SPDoxn, ~((*dest | *pat) ^ *src), 0xc9); +ROP3_HANDLERS(DPSDxax, ((*dest ^ *src) & *pat) ^ *dest, 0xca); +ROP3_HANDLERS(SPDSaoxn, ~(((*src & *dest) | *pat) ^ *src), 0xcb); +ROP3_HANDLERS(SDPono, ~(*pat | *dest) | *src, 0xcd); +ROP3_HANDLERS(SDPnao, (~*pat & *dest) | *src, 0xce); +ROP3_HANDLERS(PSDnoa, (~*dest | *src) & *pat, 0xd0); +ROP3_HANDLERS(PSDPxoxn, ~(((*pat ^ *dest) | *src) ^ *pat), 0xd1); +ROP3_HANDLERS(PDSnax, (~*src & *dest) ^ *pat, 0xd2); +ROP3_HANDLERS(SPDSoaxn, ~(((*src | *dest) & *pat) ^ *src), 0xd3); +ROP3_HANDLERS(SSPxPDxax, ((*dest ^ *pat) & (*pat ^ *src)) ^ *src, 0xd4); +ROP3_HANDLERS(DPSanan, ~(~(*src & *pat) & *dest), 0xd5); +ROP3_HANDLERS(PSDPSaoxx, ((*src & *pat) | *dest) ^ *src ^ *pat, 0xd6); +ROP3_HANDLERS(DPSxan, ~((*src ^ *pat) & *dest), 0xd7); +ROP3_HANDLERS(PDSPxax, ((*pat ^ *src) & *dest) ^ *pat, 0xd8); +ROP3_HANDLERS(SDPSaoxn, ~(((*src & *pat) | *dest) ^ *src), 0xd9); +ROP3_HANDLERS(DPSDanax, (~(*dest & *src) & *pat) ^ *dest, 0xda); +ROP3_HANDLERS(SPxDSxan, ~((*src ^ *dest) & (*pat ^ *src)), 0xdb); +ROP3_HANDLERS(SPDnao, (~*dest & *pat) | *src, 0xdc); +ROP3_HANDLERS(SDPxo, (*pat ^ *dest) | *src, 0xde); +ROP3_HANDLERS(SDPano, ~(*pat & *dest) | *src, 0xdf); +ROP3_HANDLERS(PDSoa, (*src | *dest) & *pat, 0xe0); +ROP3_HANDLERS(PDSoxn, ~((*src | *dest) ^ *pat), 0xe1); +ROP3_HANDLERS(DSPDxax, ((*dest ^ *pat) & *src) ^ *dest, 0xe2); +ROP3_HANDLERS(PSDPaoxn, ~(((*pat & *dest) | *src) ^ *pat), 0xe3); +ROP3_HANDLERS(SDPSxax, ((*src ^ *pat) & *dest) ^ *src, 0xe4); +ROP3_HANDLERS(PDSPaoxn, ~(((*pat & *src) | *dest) ^ *pat), 0xe5); +ROP3_HANDLERS(SDPSanax, (~(*src & *pat) & *dest) ^ *src, 0xe6); +ROP3_HANDLERS(SPxPDxan, ~((*dest ^ *pat) & (*pat ^ *src)), 0xe7); +ROP3_HANDLERS(SSPxDSxax, ((*src ^ *dest) & (*pat ^ *src)) ^ *src, 0xe8); +ROP3_HANDLERS(DSPDSanaxxn, ~((~(*src & *dest) & *pat) ^ *src ^ *dest), 0xe9); +ROP3_HANDLERS(DPSao, (*src & *pat) | *dest, 0xea); +ROP3_HANDLERS(DPSxno, ~(*src ^ *pat) | *dest, 0xeb); +ROP3_HANDLERS(SDPao, (*pat & *dest) | *src, 0xec); +ROP3_HANDLERS(SDPxno, ~(*pat ^ *dest) | *src, 0xed); +ROP3_HANDLERS(SDPnoo, ~*pat | *dest | *src, 0xef); +ROP3_HANDLERS(PDSono, ~(*src | *dest) | *pat, 0xf1); +ROP3_HANDLERS(PDSnao, (~*src & *dest) | *pat, 0xf2); +ROP3_HANDLERS(PSDnao, (~*dest & *src) | *pat, 0xf4); +ROP3_HANDLERS(PDSxo, (*src ^ *dest) | *pat, 0xf6); +ROP3_HANDLERS(PDSano, ~(*src & *dest) | *pat, 0xf7); +ROP3_HANDLERS(PDSao, (*src & *dest) | *pat, 0xf8); +ROP3_HANDLERS(PDSxno, ~(*src ^ *dest) | *pat, 0xf9); +ROP3_HANDLERS(DPSnoo, ~*src | *pat | *dest, 0xfb); +ROP3_HANDLERS(PSDnoo, ~*dest | *src | *pat, 0xfd); +ROP3_HANDLERS(DPSoo, *src | *pat | *dest, 0xfe); + + +#define ROP3_FILL_HANDLERS(op, index) \ + rop3_with_pattern_handlers_32[index] = rop3_handle_p32_##op; \ + rop3_with_pattern_handlers_16[index] = rop3_handle_p16_##op; \ + rop3_with_color_handlers_32[index] = rop3_handle_c32_##op; \ + rop3_with_color_handlers_16[index] = rop3_handle_c16_##op; \ + rop3_test_handlers_32[index] = rop3_test32_##op; \ + rop3_test_handlers_16[index] = rop3_test16_##op; + +void rop3_init(void) +{ + static int need_init = 1; + int i; + + if (!need_init) { + return; + } + need_init = 0; + + for (i = 0; i < ROP3_NUM_OPS; i++) { + rop3_with_pattern_handlers_32[i] = default_rop3_with_pattern_handler; + rop3_with_pattern_handlers_16[i] = default_rop3_with_pattern_handler; + rop3_with_color_handlers_32[i] = default_rop3_withe_color_handler; + rop3_with_color_handlers_16[i] = default_rop3_withe_color_handler; + rop3_test_handlers_32[i] = default_rop3_test_handler; + rop3_test_handlers_16[i] = default_rop3_test_handler; + } + + ROP3_FILL_HANDLERS(DPSoon, 0x01); + ROP3_FILL_HANDLERS(DPSona, 0x02); + ROP3_FILL_HANDLERS(SDPona, 0x04); + ROP3_FILL_HANDLERS(PDSxnon, 0x06); + ROP3_FILL_HANDLERS(PDSaon, 0x07); + ROP3_FILL_HANDLERS(SDPnaa, 0x08); + ROP3_FILL_HANDLERS(PDSxon, 0x09); + ROP3_FILL_HANDLERS(PSDnaon, 0x0b); + ROP3_FILL_HANDLERS(PDSnaon, 0x0d); + ROP3_FILL_HANDLERS(PDSonon, 0x0e); + ROP3_FILL_HANDLERS(PDSona, 0x10); + ROP3_FILL_HANDLERS(SDPxnon, 0x12); + ROP3_FILL_HANDLERS(SDPaon, 0x13); + ROP3_FILL_HANDLERS(DPSxnon, 0x14); + ROP3_FILL_HANDLERS(DPSaon, 0x15); + ROP3_FILL_HANDLERS(PSDPSanaxx, 0x16); + ROP3_FILL_HANDLERS(SSPxDSxaxn, 0x17); + ROP3_FILL_HANDLERS(SPxPDxa, 0x18); + ROP3_FILL_HANDLERS(SDPSanaxn, 0x19); + ROP3_FILL_HANDLERS(PDSPaox, 0x1a); + ROP3_FILL_HANDLERS(SDPSxaxn, 0x1b); + ROP3_FILL_HANDLERS(PSDPaox, 0x1c); + ROP3_FILL_HANDLERS(DSPDxaxn, 0x1d); + ROP3_FILL_HANDLERS(PDSox, 0x1e); + ROP3_FILL_HANDLERS(PDSoan, 0x1f); + ROP3_FILL_HANDLERS(DPSnaa, 0x20); + ROP3_FILL_HANDLERS(SDPxon, 0x21); + ROP3_FILL_HANDLERS(SPDnaon, 0x23); + ROP3_FILL_HANDLERS(SPxDSxa, 0x24); + ROP3_FILL_HANDLERS(PDSPanaxn, 0x25); + ROP3_FILL_HANDLERS(SDPSaox, 0x26); + ROP3_FILL_HANDLERS(SDPSxnox, 0x27); + ROP3_FILL_HANDLERS(DPSxa, 0x28); + ROP3_FILL_HANDLERS(PSDPSaoxxn, 0x29); + ROP3_FILL_HANDLERS(DPSana, 0x2a); + ROP3_FILL_HANDLERS(SSPxPDxaxn, 0x2b); + ROP3_FILL_HANDLERS(SPDSoax, 0x2c); + ROP3_FILL_HANDLERS(PSDnox, 0x2d); + ROP3_FILL_HANDLERS(PSDPxox, 0x2e); + ROP3_FILL_HANDLERS(PSDnoan, 0x2f); + ROP3_FILL_HANDLERS(SDPnaon, 0x31); + ROP3_FILL_HANDLERS(SDPSoox, 0x32); + ROP3_FILL_HANDLERS(SPDSaox, 0x34); + ROP3_FILL_HANDLERS(SPDSxnox, 0x35); + ROP3_FILL_HANDLERS(SDPox, 0x36); + ROP3_FILL_HANDLERS(SDPoan, 0x37); + ROP3_FILL_HANDLERS(PSDPoax, 0x38); + ROP3_FILL_HANDLERS(SPDnox, 0x39); + ROP3_FILL_HANDLERS(SPDSxox, 0x3a); + ROP3_FILL_HANDLERS(SPDnoan, 0x3b); + ROP3_FILL_HANDLERS(SPDSonox, 0x3d); + ROP3_FILL_HANDLERS(SPDSnaox, 0x3e); + ROP3_FILL_HANDLERS(PSDnaa, 0x40); + ROP3_FILL_HANDLERS(DPSxon, 0x41); + ROP3_FILL_HANDLERS(SDxPDxa, 0x42); + ROP3_FILL_HANDLERS(SPDSanaxn, 0x43); + ROP3_FILL_HANDLERS(DPSnaon, 0x45); + ROP3_FILL_HANDLERS(DSPDaox, 0x46); + ROP3_FILL_HANDLERS(PSDPxaxn, 0x47); + ROP3_FILL_HANDLERS(SDPxa, 0x48); + ROP3_FILL_HANDLERS(PDSPDaoxxn, 0x49); + ROP3_FILL_HANDLERS(DPSDoax, 0x4a); + ROP3_FILL_HANDLERS(PDSnox, 0x4b); + ROP3_FILL_HANDLERS(SDPana, 0x4c); + ROP3_FILL_HANDLERS(SSPxDSxoxn, 0x4d); + ROP3_FILL_HANDLERS(PDSPxox, 0x4e); + ROP3_FILL_HANDLERS(PDSnoan, 0x4f); + ROP3_FILL_HANDLERS(DSPnaon, 0x51); + ROP3_FILL_HANDLERS(DPSDaox, 0x52); + ROP3_FILL_HANDLERS(SPDSxaxn, 0x53); + ROP3_FILL_HANDLERS(DPSonon, 0x54); + ROP3_FILL_HANDLERS(DPSox, 0x56); + ROP3_FILL_HANDLERS(DPSoan, 0x57); + ROP3_FILL_HANDLERS(PDSPoax, 0x58); + ROP3_FILL_HANDLERS(DPSnox, 0x59); + ROP3_FILL_HANDLERS(DPSDonox, 0x5b); + ROP3_FILL_HANDLERS(DPSDxox, 0x5c); + ROP3_FILL_HANDLERS(DPSnoan, 0x5d); + ROP3_FILL_HANDLERS(DPSDnaox, 0x5e); + ROP3_FILL_HANDLERS(PDSxa, 0x60); + ROP3_FILL_HANDLERS(DSPDSaoxxn, 0x61); + ROP3_FILL_HANDLERS(DSPDoax, 0x62); + ROP3_FILL_HANDLERS(SDPnox, 0x63); + ROP3_FILL_HANDLERS(SDPSoax, 0x64); + ROP3_FILL_HANDLERS(DSPnox, 0x65); + ROP3_FILL_HANDLERS(SDPSonox, 0x67); + ROP3_FILL_HANDLERS(DSPDSonoxxn, 0x68); + ROP3_FILL_HANDLERS(PDSxxn, 0x69); + ROP3_FILL_HANDLERS(DPSax, 0x6a); + ROP3_FILL_HANDLERS(PSDPSoaxxn, 0x6b); + ROP3_FILL_HANDLERS(SDPax, 0x6c); + ROP3_FILL_HANDLERS(PDSPDoaxxn, 0x6d); + ROP3_FILL_HANDLERS(SDPSnoax, 0x6e); + ROP3_FILL_HANDLERS(PDSxnan, 0x6f); + ROP3_FILL_HANDLERS(PDSana, 0x70); + ROP3_FILL_HANDLERS(SSDxPDxaxn, 0x71); + ROP3_FILL_HANDLERS(SDPSxox, 0x72); + ROP3_FILL_HANDLERS(SDPnoan, 0x73); + ROP3_FILL_HANDLERS(DSPDxox, 0x74); + ROP3_FILL_HANDLERS(DSPnoan, 0x75); + ROP3_FILL_HANDLERS(SDPSnaox, 0x76); + ROP3_FILL_HANDLERS(PDSax, 0x78); + ROP3_FILL_HANDLERS(DSPDSoaxxn, 0x79); + ROP3_FILL_HANDLERS(DPSDnoax, 0x7a); + ROP3_FILL_HANDLERS(SDPxnan, 0x7b); + ROP3_FILL_HANDLERS(SPDSnoax, 0x7c); + ROP3_FILL_HANDLERS(DPSxnan, 0x7d); + ROP3_FILL_HANDLERS(SPxDSxo, 0x7e); + ROP3_FILL_HANDLERS(DPSaan, 0x7f); + ROP3_FILL_HANDLERS(DPSaa, 0x80); + ROP3_FILL_HANDLERS(SPxDSxon, 0x81); + ROP3_FILL_HANDLERS(DPSxna, 0x82); + ROP3_FILL_HANDLERS(SPDSnoaxn, 0x83); + ROP3_FILL_HANDLERS(SDPxna, 0x84); + ROP3_FILL_HANDLERS(PDSPnoaxn, 0x85); + ROP3_FILL_HANDLERS(DSPDSoaxx, 0x86); + ROP3_FILL_HANDLERS(PDSaxn, 0x87); + ROP3_FILL_HANDLERS(SDPSnaoxn, 0x89); + ROP3_FILL_HANDLERS(DSPnoa, 0x8a); + ROP3_FILL_HANDLERS(DSPDxoxn, 0x8b); + ROP3_FILL_HANDLERS(SDPnoa, 0x8c); + ROP3_FILL_HANDLERS(SDPSxoxn, 0x8d); + ROP3_FILL_HANDLERS(SSDxPDxax, 0x8e); + ROP3_FILL_HANDLERS(PDSanan, 0x8f); + ROP3_FILL_HANDLERS(PDSxna, 0x90); + ROP3_FILL_HANDLERS(SDPSnoaxn, 0x91); + ROP3_FILL_HANDLERS(DPSDPoaxx, 0x92); + ROP3_FILL_HANDLERS(SPDaxn, 0x93); + ROP3_FILL_HANDLERS(PSDPSoaxx, 0x94); + ROP3_FILL_HANDLERS(DPSaxn, 0x95); + ROP3_FILL_HANDLERS(DPSxx, 0x96); + ROP3_FILL_HANDLERS(PSDPSonoxx, 0x97); + ROP3_FILL_HANDLERS(SDPSonoxn, 0x98); + ROP3_FILL_HANDLERS(DPSnax, 0x9a); + ROP3_FILL_HANDLERS(SDPSoaxn, 0x9b); + ROP3_FILL_HANDLERS(SPDnax, 0x9c); + ROP3_FILL_HANDLERS(DSPDoaxn, 0x9d); + ROP3_FILL_HANDLERS(DSPDSaoxx, 0x9e); + ROP3_FILL_HANDLERS(PDSxan, 0x9f); + ROP3_FILL_HANDLERS(PDSPnaoxn, 0xa1); + ROP3_FILL_HANDLERS(DPSnoa, 0xa2); + ROP3_FILL_HANDLERS(DPSDxoxn, 0xa3); + ROP3_FILL_HANDLERS(PDSPonoxn, 0xa4); + ROP3_FILL_HANDLERS(DSPnax, 0xa6); + ROP3_FILL_HANDLERS(PDSPoaxn, 0xa7); + ROP3_FILL_HANDLERS(DPSoa, 0xa8); + ROP3_FILL_HANDLERS(DPSoxn, 0xa9); + ROP3_FILL_HANDLERS(DPSono, 0xab); + ROP3_FILL_HANDLERS(SPDSxax, 0xac); + ROP3_FILL_HANDLERS(DPSDaoxn, 0xad); + ROP3_FILL_HANDLERS(DSPnao, 0xae); + ROP3_FILL_HANDLERS(PDSnoa, 0xb0); + ROP3_FILL_HANDLERS(PDSPxoxn, 0xb1); + ROP3_FILL_HANDLERS(SSPxDSxox, 0xb2); + ROP3_FILL_HANDLERS(SDPanan, 0xb3); + ROP3_FILL_HANDLERS(PSDnax, 0xb4); + ROP3_FILL_HANDLERS(DPSDoaxn, 0xb5); + ROP3_FILL_HANDLERS(DPSDPaoxx, 0xb6); + ROP3_FILL_HANDLERS(SDPxan, 0xb7); + ROP3_FILL_HANDLERS(PSDPxax, 0xb8); + ROP3_FILL_HANDLERS(DSPDaoxn, 0xb9); + ROP3_FILL_HANDLERS(DPSnao, 0xba); + ROP3_FILL_HANDLERS(SPDSanax, 0xbc); + ROP3_FILL_HANDLERS(SDxPDxan, 0xbd); + ROP3_FILL_HANDLERS(DPSxo, 0xbe); + ROP3_FILL_HANDLERS(DPSano, 0xbf); + ROP3_FILL_HANDLERS(SPDSnaoxn, 0xc1); + ROP3_FILL_HANDLERS(SPDSonoxn, 0xc2); + ROP3_FILL_HANDLERS(SPDnoa, 0xc4); + ROP3_FILL_HANDLERS(SPDSxoxn, 0xc5); + ROP3_FILL_HANDLERS(SDPnax, 0xc6); + ROP3_FILL_HANDLERS(PSDPoaxn, 0xc7); + ROP3_FILL_HANDLERS(SDPoa, 0xc8); + ROP3_FILL_HANDLERS(SPDoxn, 0xc9); + ROP3_FILL_HANDLERS(DPSDxax, 0xca); + ROP3_FILL_HANDLERS(SPDSaoxn, 0xcb); + ROP3_FILL_HANDLERS(SDPono, 0xcd); + ROP3_FILL_HANDLERS(SDPnao, 0xce); + ROP3_FILL_HANDLERS(PSDnoa, 0xd0); + ROP3_FILL_HANDLERS(PSDPxoxn, 0xd1); + ROP3_FILL_HANDLERS(PDSnax, 0xd2); + ROP3_FILL_HANDLERS(SPDSoaxn, 0xd3); + ROP3_FILL_HANDLERS(SSPxPDxax, 0xd4); + ROP3_FILL_HANDLERS(DPSanan, 0xd5); + ROP3_FILL_HANDLERS(PSDPSaoxx, 0xd6); + ROP3_FILL_HANDLERS(DPSxan, 0xd7); + ROP3_FILL_HANDLERS(PDSPxax, 0xd8); + ROP3_FILL_HANDLERS(SDPSaoxn, 0xd9); + ROP3_FILL_HANDLERS(DPSDanax, 0xda); + ROP3_FILL_HANDLERS(SPxDSxan, 0xdb); + ROP3_FILL_HANDLERS(SPDnao, 0xdc); + ROP3_FILL_HANDLERS(SDPxo, 0xde); + ROP3_FILL_HANDLERS(SDPano, 0xdf); + ROP3_FILL_HANDLERS(PDSoa, 0xe0); + ROP3_FILL_HANDLERS(PDSoxn, 0xe1); + ROP3_FILL_HANDLERS(DSPDxax, 0xe2); + ROP3_FILL_HANDLERS(PSDPaoxn, 0xe3); + ROP3_FILL_HANDLERS(SDPSxax, 0xe4); + ROP3_FILL_HANDLERS(PDSPaoxn, 0xe5); + ROP3_FILL_HANDLERS(SDPSanax, 0xe6); + ROP3_FILL_HANDLERS(SPxPDxan, 0xe7); + ROP3_FILL_HANDLERS(SSPxDSxax, 0xe8); + ROP3_FILL_HANDLERS(DSPDSanaxxn, 0xe9); + ROP3_FILL_HANDLERS(DPSao, 0xea); + ROP3_FILL_HANDLERS(DPSxno, 0xeb); + ROP3_FILL_HANDLERS(SDPao, 0xec); + ROP3_FILL_HANDLERS(SDPxno, 0xed); + ROP3_FILL_HANDLERS(SDPnoo, 0xef); + ROP3_FILL_HANDLERS(PDSono, 0xf1); + ROP3_FILL_HANDLERS(PDSnao, 0xf2); + ROP3_FILL_HANDLERS(PSDnao, 0xf4); + ROP3_FILL_HANDLERS(PDSxo, 0xf6); + ROP3_FILL_HANDLERS(PDSano, 0xf7); + ROP3_FILL_HANDLERS(PDSao, 0xf8); + ROP3_FILL_HANDLERS(PDSxno, 0xf9); + ROP3_FILL_HANDLERS(DPSnoo, 0xfb); + ROP3_FILL_HANDLERS(PSDnoo, 0xfd); + ROP3_FILL_HANDLERS(DPSoo, 0xfe); + + for (i = 0; i < ROP3_NUM_OPS; i++) { + rop3_test_handlers_32[i](); + rop3_test_handlers_16[i](); + } +} + +void do_rop3_with_pattern(uint8_t rop3, pixman_image_t *d, pixman_image_t *s, SpicePoint *src_pos, + pixman_image_t *p, SpicePoint *pat_pos) +{ + int bpp; + + bpp = spice_pixman_image_get_bpp(d); + spice_assert(bpp == spice_pixman_image_get_bpp(s)); + spice_assert(bpp == spice_pixman_image_get_bpp(p)); + + if (bpp == 32) { + rop3_with_pattern_handlers_32[rop3](d, s, src_pos, p, pat_pos); + } else { + rop3_with_pattern_handlers_16[rop3](d, s, src_pos, p, pat_pos); + } +} + +void do_rop3_with_color(uint8_t rop3, pixman_image_t *d, pixman_image_t *s, SpicePoint *src_pos, + uint32_t rgb) +{ + int bpp; + + bpp = spice_pixman_image_get_bpp(d); + spice_assert(bpp == spice_pixman_image_get_bpp(s)); + + if (bpp == 32) { + rop3_with_color_handlers_32[rop3](d, s, src_pos, rgb); + } else { + rop3_with_color_handlers_16[rop3](d, s, src_pos, rgb); + } +} diff --git a/tizen/distrib/remote/common/spice-common/common/rop3.h b/tizen/distrib/remote/common/spice-common/common/rop3.h new file mode 100644 index 0000000..7e00499 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/rop3.h @@ -0,0 +1,39 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_ROP3 +#define _H_ROP3 + +#include <stdint.h> +#include <spice/macros.h> + +#include "draw.h" +#include "pixman_utils.h" + +SPICE_BEGIN_DECLS + +void do_rop3_with_pattern(uint8_t rop3, pixman_image_t *d, pixman_image_t *s, SpicePoint *src_pos, + pixman_image_t *p, SpicePoint *pat_pos); +void do_rop3_with_color(uint8_t rop3, pixman_image_t *d, pixman_image_t *s, SpicePoint *src_pos, + uint32_t rgb); + +void rop3_init(void); + +SPICE_END_DECLS + +#endif diff --git a/tizen/distrib/remote/common/spice-common/common/spice_common.h b/tizen/distrib/remote/common/spice-common/common/spice_common.h new file mode 100644 index 0000000..5572326 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/spice_common.h @@ -0,0 +1,37 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef H_SPICE_COMMON +#define H_SPICE_COMMON + +#include <stdio.h> +#include <stdint.h> +#include <time.h> +#include <stdlib.h> +#include <stddef.h> + +#include <spice/macros.h> +#include "backtrace.h" +#include "log.h" + +#ifdef SPICE_DISABLE_ABORT +#define spice_abort() do { } while(0) +#else +#define spice_abort() abort() +#endif + +#endif diff --git a/tizen/distrib/remote/common/spice-common/common/ssl_verify.c b/tizen/distrib/remote/common/spice-common/common/ssl_verify.c new file mode 100644 index 0000000..e10ed52 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/ssl_verify.c @@ -0,0 +1,537 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "mem.h" +#include "ssl_verify.h" +#include "log.h" + +#ifndef WIN32 +#include <sys/socket.h> +#include <netinet/in.h> +#include <arpa/inet.h> +#endif +#include <ctype.h> +#include <string.h> + +#ifdef WIN32 +static int inet_aton(const char* ip, struct in_addr* in_addr) +{ + unsigned long addr = inet_addr(ip); + + if (addr == INADDR_NONE) { + return 0; + } + in_addr->S_un.S_addr = addr; + return 1; +} +#endif + +static int verify_pubkey(X509* cert, const char *key, size_t key_size) +{ + EVP_PKEY* cert_pubkey = NULL; + EVP_PKEY* orig_pubkey = NULL; + BIO* bio = NULL; + int ret = 0; + + if (!key || key_size == 0) + return 0; + + if (!cert) { + spice_debug("warning: no cert!"); + return 0; + } + + cert_pubkey = X509_get_pubkey(cert); + if (!cert_pubkey) { + spice_debug("warning: reading public key from certificate failed"); + goto finish; + } + + bio = BIO_new_mem_buf((void*)key, key_size); + if (!bio) { + spice_debug("creating BIO failed"); + goto finish; + } + + orig_pubkey = d2i_PUBKEY_bio(bio, NULL); + if (!orig_pubkey) { + spice_debug("reading pubkey from bio failed"); + goto finish; + } + + ret = EVP_PKEY_cmp(orig_pubkey, cert_pubkey); + + if (ret == 1) { + spice_debug("public keys match"); + } else if (ret == 0) { + spice_debug("public keys mismatch"); + } else { + spice_debug("public keys types mismatch"); + } + +finish: + if (bio) + BIO_free(bio); + + if (orig_pubkey) + EVP_PKEY_free(orig_pubkey); + + if (cert_pubkey) + EVP_PKEY_free(cert_pubkey); + + return ret; +} + +/* from gnutls + * compare hostname against certificate, taking account of wildcards + * return 1 on success or 0 on error + * + * note: certnamesize is required as X509 certs can contain embedded NULs in + * the strings such as CN or subjectAltName + */ +static int _gnutls_hostname_compare(const char *certname, + size_t certnamesize, const char *hostname) +{ + /* find the first different character */ + for (; *certname && *hostname && toupper (*certname) == toupper (*hostname); + certname++, hostname++, certnamesize--) + ; + + /* the strings are the same */ + if (certnamesize == 0 && *hostname == '\0') + return 1; + + if (*certname == '*') + { + /* a wildcard certificate */ + + certname++; + certnamesize--; + + while (1) + { + /* Use a recursive call to allow multiple wildcards */ + if (_gnutls_hostname_compare (certname, certnamesize, hostname)) + return 1; + + /* wildcards are only allowed to match a single domain + component or component fragment */ + if (*hostname == '\0' || *hostname == '.') + break; + hostname++; + } + + return 0; + } + + return 0; +} + +/** + * From gnutls and spice red_peer.c + * TODO: switch to gnutls and get rid of this + * + * This function will check if the given certificate's subject matches + * the given hostname. This is a basic implementation of the matching + * described in RFC2818 (HTTPS), which takes into account wildcards, + * and the DNSName/IPAddress subject alternative name PKIX extension. + * + * Returns: 1 for a successful match, and 0 on failure. + **/ +static int verify_hostname(X509* cert, const char *hostname) +{ + GENERAL_NAMES* subject_alt_names; + int found_dns_name = 0; + struct in_addr addr; + int addr_len = 0; + int cn_match = 0; + X509_NAME* subject; + + spice_return_val_if_fail(hostname != NULL, 0); + + if (!cert) { + spice_debug("warning: no cert!"); + return 0; + } + + // only IpV4 supported + if (inet_aton(hostname, &addr)) { + addr_len = sizeof(struct in_addr); + } + + /* try matching against: + * 1) a DNS name as an alternative name (subjectAltName) extension + * in the certificate + * 2) the common name (CN) in the certificate + * + * either of these may be of the form: *.domain.tld + * + * only try (2) if there is no subjectAltName extension of + * type dNSName + */ + + /* Check through all included subjectAltName extensions, comparing + * against all those of type dNSName. + */ + subject_alt_names = (GENERAL_NAMES*)X509_get_ext_d2i(cert, NID_subject_alt_name, NULL, NULL); + + if (subject_alt_names) { + int num_alts = sk_GENERAL_NAME_num(subject_alt_names); + int i; + for (i = 0; i < num_alts; i++) { + const GENERAL_NAME* name = sk_GENERAL_NAME_value(subject_alt_names, i); + if (name->type == GEN_DNS) { + found_dns_name = 1; + if (_gnutls_hostname_compare((char *)ASN1_STRING_data(name->d.dNSName), + ASN1_STRING_length(name->d.dNSName), + hostname)) { + spice_debug("alt name match=%s", ASN1_STRING_data(name->d.dNSName)); + GENERAL_NAMES_free(subject_alt_names); + return 1; + } + } else if (name->type == GEN_IPADD) { + int alt_ip_len = ASN1_STRING_length(name->d.iPAddress); + found_dns_name = 1; + if ((addr_len == alt_ip_len)&& + !memcmp(ASN1_STRING_data(name->d.iPAddress), &addr, addr_len)) { + spice_debug("alt name IP match=%s", + inet_ntoa(*((struct in_addr*)ASN1_STRING_data(name->d.dNSName)))); + GENERAL_NAMES_free(subject_alt_names); + return 1; + } + } + } + GENERAL_NAMES_free(subject_alt_names); + } + + if (found_dns_name) { + spice_debug("warning: SubjectAltName mismatch"); + return 0; + } + + /* extracting commonNames */ + subject = X509_get_subject_name(cert); + if (subject) { + int pos = -1; + X509_NAME_ENTRY* cn_entry; + ASN1_STRING* cn_asn1; + + while ((pos = X509_NAME_get_index_by_NID(subject, NID_commonName, pos)) != -1) { + cn_entry = X509_NAME_get_entry(subject, pos); + if (!cn_entry) { + continue; + } + cn_asn1 = X509_NAME_ENTRY_get_data(cn_entry); + if (!cn_asn1) { + continue; + } + + if (_gnutls_hostname_compare((char*)ASN1_STRING_data(cn_asn1), + ASN1_STRING_length(cn_asn1), + hostname)) { + spice_debug("common name match=%s", (char*)ASN1_STRING_data(cn_asn1)); + cn_match = 1; + break; + } + } + } + + if (!cn_match) { + spice_debug("warning: common name mismatch"); + } + + return cn_match; +} + +static X509_NAME* subject_to_x509_name(const char *subject, int *nentries) +{ + X509_NAME* in_subject; + const char *p; + char *key, *val, *k, *v = NULL; + enum { + KEY, + VALUE + } state; + + spice_return_val_if_fail(subject != NULL, NULL); + spice_return_val_if_fail(nentries != NULL, NULL); + + key = (char*)alloca(strlen(subject)); + val = (char*)alloca(strlen(subject)); + in_subject = X509_NAME_new(); + + if (!in_subject || !key || !val) { + spice_debug("failed to allocate"); + return NULL; + } + + *nentries = 0; + + k = key; + state = KEY; + for (p = subject;; ++p) { + int escape = 0; + if (*p == '\\') { + ++p; + if (*p != '\\' && *p != ',') { + spice_debug("Invalid character after \\"); + goto fail; + } + escape = 1; + } + + switch (state) { + case KEY: + if (*p == ' ' && k == key) { + continue; /* skip spaces before key */ + } if (*p == 0) { + if (k == key) /* empty key, ending */ + goto success; + goto fail; + } else if (*p == ',' && !escape) { + goto fail; /* assignment is missing */ + } else if (*p == '=' && !escape) { + state = VALUE; + *k = 0; + v = val; + } else + *k++ = *p; + break; + case VALUE: + if (*p == 0 || (*p == ',' && !escape)) { + if (v == val) /* empty value */ + goto fail; + + *v = 0; + + if (!X509_NAME_add_entry_by_txt(in_subject, key, + MBSTRING_UTF8, + (const unsigned char*)val, + -1, -1, 0)) { + spice_debug("warning: failed to add entry %s=%s to X509_NAME", + key, val); + goto fail; + } + *nentries += 1; + + if (*p == 0) + goto success; + + state = KEY; + k = key; + } else + *v++ = *p; + break; + } + } + +success: + return in_subject; + +fail: + if (in_subject) + X509_NAME_free(in_subject); + + return NULL; +} + +static int verify_subject(X509* cert, SpiceOpenSSLVerify* verify) +{ + X509_NAME *cert_subject = NULL; + int ret; + int in_entries; + + if (!cert) { + spice_debug("warning: no cert!"); + return 0; + } + + cert_subject = X509_get_subject_name(cert); + if (!cert_subject) { + spice_debug("warning: reading certificate subject failed"); + return 0; + } + + if (!verify->in_subject) { + verify->in_subject = subject_to_x509_name(verify->subject, &in_entries); + if (!verify->in_subject) { + spice_debug("warning: no in_subject!"); + return 0; + } + } + + /* Note: this check is redundant with the pre-condition in X509_NAME_cmp */ + if (X509_NAME_entry_count(cert_subject) != in_entries) { + spice_debug("subject mismatch: #entries cert=%d, input=%d", + X509_NAME_entry_count(cert_subject), in_entries); + return 0; + } + + ret = X509_NAME_cmp(cert_subject, verify->in_subject); + + if (ret == 0) { + spice_debug("subjects match"); + } else { + char *p; + spice_debug("subjects mismatch"); + + p = X509_NAME_oneline(cert_subject, NULL, 0); + spice_debug("cert_subject: %s", p); + free(p); + + p = X509_NAME_oneline(verify->in_subject, NULL, 0); + spice_debug("in_subject: %s", p); + free(p); + } + + return !ret; +} + +static int openssl_verify(int preverify_ok, X509_STORE_CTX *ctx) +{ + int depth, err; + SpiceOpenSSLVerify *v; + SSL *ssl; + X509* cert; + char buf[256]; + unsigned int failed_verifications; + + ssl = (SSL*)X509_STORE_CTX_get_ex_data(ctx, SSL_get_ex_data_X509_STORE_CTX_idx()); + v = (SpiceOpenSSLVerify*)SSL_get_app_data(ssl); + + cert = X509_STORE_CTX_get_current_cert(ctx); + X509_NAME_oneline(X509_get_subject_name(cert), buf, 256); + depth = X509_STORE_CTX_get_error_depth(ctx); + err = X509_STORE_CTX_get_error(ctx); + if (depth > 0) { + if (!preverify_ok) { + spice_warning("openssl verify:num=%d:%s:depth=%d:%s", err, + X509_verify_cert_error_string(err), depth, buf); + v->all_preverify_ok = 0; + + /* if certificate verification failed, we can still authorize the server */ + /* if its public key matches the one we hold in the peer_connect_options. */ + if (err == X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN && + v->verifyop & SPICE_SSL_VERIFY_OP_PUBKEY) + return 1; + + if (err == X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN) + spice_debug("server certificate not being signed by the provided CA"); + + return 0; + } else + return 1; + } + + /* depth == 0 */ + if (!cert) { + spice_debug("failed to get server certificate"); + return 0; + } + + failed_verifications = 0; + if (v->verifyop & SPICE_SSL_VERIFY_OP_PUBKEY) { + if (verify_pubkey(cert, v->pubkey, v->pubkey_size)) + return 1; + else + failed_verifications |= SPICE_SSL_VERIFY_OP_PUBKEY; + } + + if (!v->all_preverify_ok || !preverify_ok) + return 0; + + if (v->verifyop & SPICE_SSL_VERIFY_OP_HOSTNAME) { + if (verify_hostname(cert, v->hostname)) + return 1; + else + failed_verifications |= SPICE_SSL_VERIFY_OP_HOSTNAME; + } + + + if (v->verifyop & SPICE_SSL_VERIFY_OP_SUBJECT) { + if (verify_subject(cert, v)) + return 1; + else + failed_verifications |= SPICE_SSL_VERIFY_OP_SUBJECT; + } + + /* If we reach this code, this means all the tests failed, thus + * verification failed + */ + if (failed_verifications & SPICE_SSL_VERIFY_OP_PUBKEY) + spice_warning("ssl: pubkey verification failed"); + + if (failed_verifications & SPICE_SSL_VERIFY_OP_HOSTNAME) + spice_warning("ssl: hostname '%s' verification failed", v->hostname); + + if (failed_verifications & SPICE_SSL_VERIFY_OP_SUBJECT) + spice_warning("ssl: subject '%s' verification failed", v->subject); + + spice_warning("ssl: verification failed"); + + return 0; +} + +SpiceOpenSSLVerify* spice_openssl_verify_new(SSL *ssl, SPICE_SSL_VERIFY_OP verifyop, + const char *hostname, + const char *pubkey, size_t pubkey_size, + const char *subject) +{ + SpiceOpenSSLVerify *v; + + if (!verifyop) + return NULL; + + v = spice_new0(SpiceOpenSSLVerify, 1); + + v->ssl = ssl; + v->verifyop = verifyop; + v->hostname = spice_strdup(hostname); + v->pubkey = (char*)spice_memdup(pubkey, pubkey_size); + v->pubkey_size = pubkey_size; + v->subject = spice_strdup(subject); + + v->all_preverify_ok = 1; + + SSL_set_app_data(ssl, v); + SSL_set_verify(ssl, + SSL_VERIFY_PEER, openssl_verify); + + return v; +} + +void spice_openssl_verify_free(SpiceOpenSSLVerify* verify) +{ + if (!verify) + return; + + free(verify->pubkey); + free(verify->subject); + free(verify->hostname); + + if (verify->in_subject) + X509_NAME_free(verify->in_subject); + + if (verify->ssl) + SSL_set_app_data(verify->ssl, NULL); + free(verify); +} diff --git a/tizen/distrib/remote/common/spice-common/common/ssl_verify.h b/tizen/distrib/remote/common/spice-common/common/ssl_verify.h new file mode 100644 index 0000000..37c123e --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/ssl_verify.h @@ -0,0 +1,68 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef SSL_VERIFY_H +#define SSL_VERIFY_H + +#if defined(WIN32) && !defined(__MINGW32__) +#include <windows.h> +#include <wincrypt.h> +#endif + +#include <openssl/rsa.h> +#include <openssl/evp.h> +#include <openssl/x509.h> +#include <openssl/ssl.h> +#include <openssl/err.h> +#ifdef X509_NAME +/* wincrypt.h has already a different define... */ +#undef X509_NAME +#endif +#include <openssl/x509v3.h> + +#include <spice/macros.h> + +SPICE_BEGIN_DECLS + +typedef enum { + SPICE_SSL_VERIFY_OP_NONE = 0, + SPICE_SSL_VERIFY_OP_PUBKEY = (1 << 0), + SPICE_SSL_VERIFY_OP_HOSTNAME = (1 << 1), + SPICE_SSL_VERIFY_OP_SUBJECT = (1 << 2), +} SPICE_SSL_VERIFY_OP; + +typedef struct { + SSL *ssl; + SPICE_SSL_VERIFY_OP verifyop; + int all_preverify_ok; + char *hostname; + char *pubkey; + size_t pubkey_size; + char *subject; + X509_NAME *in_subject; +} SpiceOpenSSLVerify; + +SpiceOpenSSLVerify* spice_openssl_verify_new(SSL *ssl, SPICE_SSL_VERIFY_OP verifyop, + const char *hostname, + const char *pubkey, size_t pubkey_size, + const char *subject); +void spice_openssl_verify_free(SpiceOpenSSLVerify* verify); + +SPICE_END_DECLS + +#endif // SSL_VERIFY_H diff --git a/tizen/distrib/remote/common/spice-common/common/sw_canvas.c b/tizen/distrib/remote/common/spice-common/common/sw_canvas.c new file mode 100644 index 0000000..f947dde --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/sw_canvas.c @@ -0,0 +1,1345 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#ifdef __MINGW32__ +#undef HAVE_STDLIB_H +#endif +#include <config.h> +#endif + +#include <math.h> +#include "sw_canvas.h" +#define CANVAS_USE_PIXMAN +#define CANVAS_SINGLE_INSTANCE +#include "canvas_base.c" +#include "rect.h" +#include "region.h" +#include "pixman_utils.h" + +typedef struct SwCanvas SwCanvas; + +struct SwCanvas { + CanvasBase base; + uint32_t *private_data; + int private_data_size; + pixman_image_t *image; +}; + +static pixman_image_t *canvas_get_pixman_brush(SwCanvas *canvas, + SpiceBrush *brush) +{ + switch (brush->type) { + case SPICE_BRUSH_TYPE_SOLID: { + uint32_t color = brush->u.color; + pixman_color_t c; + + c.blue = ((color & canvas->base.color_mask) * 0xffff) / canvas->base.color_mask; + color >>= canvas->base.color_shift; + c.green = ((color & canvas->base.color_mask) * 0xffff) / canvas->base.color_mask; + color >>= canvas->base.color_shift; + c.red = ((color & canvas->base.color_mask) * 0xffff) / canvas->base.color_mask; + c.alpha = 0xffff; + + return pixman_image_create_solid_fill(&c); + } + case SPICE_BRUSH_TYPE_PATTERN: { + SwCanvas *surface_canvas; + pixman_image_t* surface; + pixman_transform_t t; + + surface_canvas = (SwCanvas *)canvas_get_surface(&canvas->base, brush->u.pattern.pat); + if (surface_canvas) { + surface = surface_canvas->image; + surface = pixman_image_ref(surface); + } else { + surface = canvas_get_image(&canvas->base, brush->u.pattern.pat, FALSE); + } + pixman_transform_init_translate(&t, + pixman_int_to_fixed(-brush->u.pattern.pos.x), + pixman_int_to_fixed(-brush->u.pattern.pos.y)); + pixman_image_set_transform(surface, &t); + pixman_image_set_repeat(surface, PIXMAN_REPEAT_NORMAL); + return surface; + } + case SPICE_BRUSH_TYPE_NONE: + return NULL; + default: + spice_warn_if_reached(); + return NULL; + } + return NULL; +} + +static pixman_image_t *get_image(SpiceCanvas *canvas, int force_opaque) +{ + SwCanvas *sw_canvas = (SwCanvas *)canvas; + pixman_format_code_t format; + + spice_pixman_image_get_format (sw_canvas->image, &format); + if (force_opaque && PIXMAN_FORMAT_A (format) != 0) { + uint32_t *data; + int stride; + int width, height; + + /* Remove alpha bits from format */ + format = (pixman_format_code_t)(((uint32_t)format) & ~(0xf << 12)); + data = pixman_image_get_data (sw_canvas->image); + stride = pixman_image_get_stride (sw_canvas->image); + width = pixman_image_get_width (sw_canvas->image); + height = pixman_image_get_height (sw_canvas->image); + return pixman_image_create_bits (format, width, height, data, stride); + } else { + pixman_image_ref(sw_canvas->image); + } + + return sw_canvas->image; +} + +static void copy_region(SpiceCanvas *spice_canvas, + pixman_region32_t *dest_region, + int dx, int dy) +{ + SwCanvas *canvas = (SwCanvas *)spice_canvas; + pixman_box32_t *dest_rects; + int n_rects; + int i, j, end_line; + + dest_rects = pixman_region32_rectangles(dest_region, &n_rects); + + if (dy > 0) { + if (dx >= 0) { + /* south-east: copy x and y in reverse order */ + for (i = n_rects - 1; i >= 0; i--) { + spice_pixman_copy_rect(canvas->image, + dest_rects[i].x1 - dx, dest_rects[i].y1 - dy, + dest_rects[i].x2 - dest_rects[i].x1, + dest_rects[i].y2 - dest_rects[i].y1, + dest_rects[i].x1, dest_rects[i].y1); + } + } else { + /* south-west: Copy y in reverse order, but x in forward order */ + i = n_rects - 1; + + while (i >= 0) { + /* Copy all rects with same y in forward order */ + for (end_line = i - 1; + end_line >= 0 && dest_rects[end_line].y1 == dest_rects[i].y1; + end_line--) { + } + for (j = end_line + 1; j <= i; j++) { + spice_pixman_copy_rect(canvas->image, + dest_rects[j].x1 - dx, dest_rects[j].y1 - dy, + dest_rects[j].x2 - dest_rects[j].x1, + dest_rects[j].y2 - dest_rects[j].y1, + dest_rects[j].x1, dest_rects[j].y1); + } + i = end_line; + } + } + } else { + if (dx > 0) { + /* north-east: copy y in forward order, but x in reverse order */ + i = 0; + + while (i < n_rects) { + /* Copy all rects with same y in reverse order */ + for (end_line = i; + end_line < n_rects && dest_rects[end_line].y1 == dest_rects[i].y1; + end_line++) { + } + for (j = end_line - 1; j >= i; j--) { + spice_pixman_copy_rect(canvas->image, + dest_rects[j].x1 - dx, dest_rects[j].y1 - dy, + dest_rects[j].x2 - dest_rects[j].x1, + dest_rects[j].y2 - dest_rects[j].y1, + dest_rects[j].x1, dest_rects[j].y1); + } + i = end_line; + } + } else { + /* north-west: Copy x and y in forward order */ + for (i = 0; i < n_rects; i++) { + spice_pixman_copy_rect(canvas->image, + dest_rects[i].x1 - dx, dest_rects[i].y1 - dy, + dest_rects[i].x2 - dest_rects[i].x1, + dest_rects[i].y2 - dest_rects[i].y1, + dest_rects[i].x1, dest_rects[i].y1); + } + } + } +} + +static void fill_solid_spans(SpiceCanvas *spice_canvas, + SpicePoint *points, + int *widths, + int n_spans, + uint32_t color) +{ + SwCanvas *canvas = (SwCanvas *)spice_canvas; + int i; + + for (i = 0; i < n_spans; i++) { + spice_pixman_fill_rect(canvas->image, + points[i].x, points[i].y, + widths[i], + 1, + color); + } +} + +static void fill_solid_rects(SpiceCanvas *spice_canvas, + pixman_box32_t *rects, + int n_rects, + uint32_t color) +{ + SwCanvas *canvas = (SwCanvas *)spice_canvas; + int i; + + for (i = 0; i < n_rects; i++) { + spice_pixman_fill_rect(canvas->image, + rects[i].x1, rects[i].y1, + rects[i].x2 - rects[i].x1, + rects[i].y2 - rects[i].y1, + color); + } +} + +static void fill_solid_rects_rop(SpiceCanvas *spice_canvas, + pixman_box32_t *rects, + int n_rects, + uint32_t color, + SpiceROP rop) +{ + SwCanvas *canvas = (SwCanvas *)spice_canvas; + int i; + + for (i = 0; i < n_rects; i++) { + spice_pixman_fill_rect_rop(canvas->image, + rects[i].x1, rects[i].y1, + rects[i].x2 - rects[i].x1, + rects[i].y2 - rects[i].y1, + color, rop); + } +} + +static void __fill_tiled_rects(SpiceCanvas *spice_canvas, + pixman_box32_t *rects, + int n_rects, + pixman_image_t *tile, + int offset_x, int offset_y) +{ + SwCanvas *canvas = (SwCanvas *)spice_canvas; + int i; + + for (i = 0; i < n_rects; i++) { + spice_pixman_tile_rect(canvas->image, + rects[i].x1, rects[i].y1, + rects[i].x2 - rects[i].x1, + rects[i].y2 - rects[i].y1, + tile, offset_x, offset_y); + } +} + +static void fill_tiled_rects(SpiceCanvas *spice_canvas, + pixman_box32_t *rects, + int n_rects, + pixman_image_t *tile, + int offset_x, int offset_y) +{ + __fill_tiled_rects(spice_canvas, rects, n_rects, tile, offset_x, offset_y); +} + +static void fill_tiled_rects_from_surface(SpiceCanvas *spice_canvas, + pixman_box32_t *rects, + int n_rects, + SpiceCanvas *surface_canvas, + int offset_x, int offset_y) +{ + SwCanvas *sw_surface_canvas = (SwCanvas *)surface_canvas; + __fill_tiled_rects(spice_canvas, rects, n_rects, sw_surface_canvas->image, offset_x, + offset_y); +} + +static void __fill_tiled_rects_rop(SpiceCanvas *spice_canvas, + pixman_box32_t *rects, + int n_rects, + pixman_image_t *tile, + int offset_x, int offset_y, + SpiceROP rop) +{ + SwCanvas *canvas = (SwCanvas *)spice_canvas; + int i; + + for (i = 0; i < n_rects; i++) { + spice_pixman_tile_rect_rop(canvas->image, + rects[i].x1, rects[i].y1, + rects[i].x2 - rects[i].x1, + rects[i].y2 - rects[i].y1, + tile, offset_x, offset_y, + rop); + } +} +static void fill_tiled_rects_rop(SpiceCanvas *spice_canvas, + pixman_box32_t *rects, + int n_rects, + pixman_image_t *tile, + int offset_x, int offset_y, + SpiceROP rop) +{ + __fill_tiled_rects_rop(spice_canvas, rects, n_rects, tile, offset_x, offset_y, rop); +} + +static void fill_tiled_rects_rop_from_surface(SpiceCanvas *spice_canvas, + pixman_box32_t *rects, + int n_rects, + SpiceCanvas *surface_canvas, + int offset_x, int offset_y, + SpiceROP rop) +{ + SwCanvas *sw_surface_canvas = (SwCanvas *)surface_canvas; + __fill_tiled_rects_rop(spice_canvas, rects, n_rects, sw_surface_canvas->image, offset_x, + offset_y, rop); +} + +/* Some pixman implementations of OP_OVER on xRGB32 sets + the high bit to 0xff (which is the right value if the + destination was ARGB32, and it should be ignored for + xRGB32. However, this fills our alpha bits with + data that is not wanted or expected by windows, and its + causing us to send rgba images rather than rgb images to + the client. So, we manually clear these bytes. */ +static void clear_dest_alpha(pixman_image_t *dest, + int x, int y, + int width, int height) +{ + uint32_t *data; + int stride; + int w, h; + + w = pixman_image_get_width(dest); + h = pixman_image_get_height(dest); + + if (x + width <= 0 || x >= w || + y + height <= 0 || y >= h || + width == 0 || height == 0) { + return; + } + + if (x < 0) { + width += x; + x = 0; + } + if (x + width > w) { + width = w - x; + } + + if (y < 0) { + height += y; + y = 0; + } + if (y + height > h) { + height = h - y; + } + + stride = pixman_image_get_stride(dest); + data = (uint32_t *) ( + (uint8_t *)pixman_image_get_data(dest) + y * stride + 4 * x); + + if ((*data & 0xff000000U) == 0xff000000U) { + spice_pixman_fill_rect_rop(dest, + x, y, width, height, + 0x00ffffff, SPICE_ROP_AND); + } +} + +static void __blit_image(SpiceCanvas *spice_canvas, + pixman_region32_t *region, + pixman_image_t *src_image, + int offset_x, int offset_y) +{ + SwCanvas *canvas = (SwCanvas *)spice_canvas; + pixman_box32_t *rects; + int n_rects, i; + + rects = pixman_region32_rectangles(region, &n_rects); + + for (i = 0; i < n_rects; i++) { + int src_x, src_y, dest_x, dest_y, width, height; + + dest_x = rects[i].x1; + dest_y = rects[i].y1; + width = rects[i].x2 - rects[i].x1; + height = rects[i].y2 - rects[i].y1; + + src_x = rects[i].x1 - offset_x; + src_y = rects[i].y1 - offset_y; + + spice_pixman_blit(canvas->image, + src_image, + src_x, src_y, + dest_x, dest_y, + width, height); + } +} + +static void blit_image(SpiceCanvas *spice_canvas, + pixman_region32_t *region, + pixman_image_t *src_image, + int offset_x, int offset_y) +{ + __blit_image(spice_canvas, region, src_image, offset_x, offset_y); +} + +static void blit_image_from_surface(SpiceCanvas *spice_canvas, + pixman_region32_t *region, + SpiceCanvas *surface_canvas, + int offset_x, int offset_y) +{ + SwCanvas *sw_surface_canvas = (SwCanvas *)surface_canvas; + __blit_image(spice_canvas, region, sw_surface_canvas->image, offset_x, offset_y); +} + +static void __blit_image_rop(SpiceCanvas *spice_canvas, + pixman_region32_t *region, + pixman_image_t *src_image, + int offset_x, int offset_y, + SpiceROP rop) +{ + SwCanvas *canvas = (SwCanvas *)spice_canvas; + pixman_box32_t *rects; + int n_rects, i; + + rects = pixman_region32_rectangles(region, &n_rects); + + for (i = 0; i < n_rects; i++) { + int src_x, src_y, dest_x, dest_y, width, height; + + dest_x = rects[i].x1; + dest_y = rects[i].y1; + width = rects[i].x2 - rects[i].x1; + height = rects[i].y2 - rects[i].y1; + + src_x = rects[i].x1 - offset_x; + src_y = rects[i].y1 - offset_y; + + spice_pixman_blit_rop(canvas->image, + src_image, + src_x, src_y, + dest_x, dest_y, + width, height, rop); + } +} + +static void blit_image_rop(SpiceCanvas *spice_canvas, + pixman_region32_t *region, + pixman_image_t *src_image, + int offset_x, int offset_y, + SpiceROP rop) +{ + __blit_image_rop(spice_canvas, region, src_image, offset_x, offset_y, rop); +} + +static void blit_image_rop_from_surface(SpiceCanvas *spice_canvas, + pixman_region32_t *region, + SpiceCanvas *surface_canvas, + int offset_x, int offset_y, + SpiceROP rop) +{ + SwCanvas *sw_surface_canvas = (SwCanvas *)surface_canvas; + __blit_image_rop(spice_canvas, region, sw_surface_canvas->image, offset_x, offset_y, rop); +} + + + +static void __scale_image(SpiceCanvas *spice_canvas, + pixman_region32_t *region, + pixman_image_t *src, + int src_x, int src_y, + int src_width, int src_height, + int dest_x, int dest_y, + int dest_width, int dest_height, + int scale_mode) +{ + SwCanvas *canvas = (SwCanvas *)spice_canvas; + pixman_transform_t transform; + pixman_fixed_t fsx, fsy; + + fsx = ((pixman_fixed_48_16_t) src_width * 65536) / dest_width; + fsy = ((pixman_fixed_48_16_t) src_height * 65536) / dest_height; + + pixman_image_set_clip_region32(canvas->image, region); + + pixman_transform_init_scale(&transform, fsx, fsy); + pixman_transform_translate(&transform, NULL, + pixman_int_to_fixed (src_x), + pixman_int_to_fixed (src_y)); + + pixman_image_set_transform(src, &transform); + pixman_image_set_repeat(src, PIXMAN_REPEAT_NONE); + spice_return_if_fail(scale_mode == SPICE_IMAGE_SCALE_MODE_INTERPOLATE || + scale_mode == SPICE_IMAGE_SCALE_MODE_NEAREST); + pixman_image_set_filter(src, + (scale_mode == SPICE_IMAGE_SCALE_MODE_NEAREST) ? + PIXMAN_FILTER_NEAREST : PIXMAN_FILTER_GOOD, + NULL, 0); + + pixman_image_composite32(PIXMAN_OP_SRC, + src, NULL, canvas->image, + 0, 0, /* src */ + 0, 0, /* mask */ + dest_x, dest_y, /* dst */ + dest_width, dest_height); + + pixman_transform_init_identity(&transform); + pixman_image_set_transform(src, &transform); + + pixman_image_set_clip_region32(canvas->image, NULL); +} + +static void scale_image(SpiceCanvas *spice_canvas, + pixman_region32_t *region, + pixman_image_t *src, + int src_x, int src_y, + int src_width, int src_height, + int dest_x, int dest_y, + int dest_width, int dest_height, + int scale_mode) +{ + __scale_image(spice_canvas, region, src, src_x, src_y, src_width, src_height, dest_x, dest_y, + dest_width,dest_height,scale_mode); +} + +static void scale_image_from_surface(SpiceCanvas *spice_canvas, + pixman_region32_t *region, + SpiceCanvas *surface_canvas, + int src_x, int src_y, + int src_width, int src_height, + int dest_x, int dest_y, + int dest_width, int dest_height, + int scale_mode) +{ + SwCanvas *sw_surface_canvas = (SwCanvas *)surface_canvas; + __scale_image(spice_canvas, region, sw_surface_canvas->image, src_x, src_y, src_width, + src_height, dest_x, dest_y, dest_width,dest_height,scale_mode); +} + +static void __scale_image_rop(SpiceCanvas *spice_canvas, + pixman_region32_t *region, + pixman_image_t *src, + int src_x, int src_y, + int src_width, int src_height, + int dest_x, int dest_y, + int dest_width, int dest_height, + int scale_mode, SpiceROP rop) +{ + SwCanvas *canvas = (SwCanvas *)spice_canvas; + pixman_transform_t transform; + pixman_image_t *scaled; + pixman_box32_t *rects; + int n_rects, i; + pixman_fixed_t fsx, fsy; + pixman_format_code_t format; + + fsx = ((pixman_fixed_48_16_t) src_width * 65536) / dest_width; + fsy = ((pixman_fixed_48_16_t) src_height * 65536) / dest_height; + + spice_return_if_fail(spice_pixman_image_get_format(src, &format)); + scaled = pixman_image_create_bits(format, + dest_width, + dest_height, + NULL, 0); + + pixman_region32_translate(region, -dest_x, -dest_y); + pixman_image_set_clip_region32(scaled, region); + + pixman_transform_init_scale(&transform, fsx, fsy); + pixman_transform_translate(&transform, NULL, + pixman_int_to_fixed (src_x), + pixman_int_to_fixed (src_y)); + + pixman_image_set_transform(src, &transform); + pixman_image_set_repeat(src, PIXMAN_REPEAT_NONE); + spice_return_if_fail(scale_mode == SPICE_IMAGE_SCALE_MODE_INTERPOLATE || + scale_mode == SPICE_IMAGE_SCALE_MODE_NEAREST); + pixman_image_set_filter(src, + (scale_mode == SPICE_IMAGE_SCALE_MODE_NEAREST) ? + PIXMAN_FILTER_NEAREST : PIXMAN_FILTER_GOOD, + NULL, 0); + + pixman_image_composite32(PIXMAN_OP_SRC, + src, NULL, scaled, + 0, 0, /* src */ + 0, 0, /* mask */ + 0, 0, /* dst */ + dest_width, + dest_height); + + pixman_transform_init_identity(&transform); + pixman_image_set_transform(src, &transform); + + /* Translate back */ + pixman_region32_translate(region, dest_x, dest_y); + + rects = pixman_region32_rectangles(region, &n_rects); + + for (i = 0; i < n_rects; i++) { + spice_pixman_blit_rop(canvas->image, + scaled, + rects[i].x1 - dest_x, + rects[i].y1 - dest_y, + rects[i].x1, rects[i].y1, + rects[i].x2 - rects[i].x1, + rects[i].y2 - rects[i].y1, + rop); + } + + pixman_image_unref(scaled); +} + +static void scale_image_rop(SpiceCanvas *spice_canvas, + pixman_region32_t *region, + pixman_image_t *src, + int src_x, int src_y, + int src_width, int src_height, + int dest_x, int dest_y, + int dest_width, int dest_height, + int scale_mode, SpiceROP rop) +{ + __scale_image_rop(spice_canvas, region, src, src_x, src_y, src_width, src_height, dest_x, + dest_y, dest_width, dest_height, scale_mode, rop); +} + +static void scale_image_rop_from_surface(SpiceCanvas *spice_canvas, + pixman_region32_t *region, + SpiceCanvas *surface_canvas, + int src_x, int src_y, + int src_width, int src_height, + int dest_x, int dest_y, + int dest_width, int dest_height, + int scale_mode, SpiceROP rop) +{ + SwCanvas *sw_surface_canvas = (SwCanvas *)surface_canvas; + __scale_image_rop(spice_canvas, region, sw_surface_canvas->image, src_x, src_y, src_width, + src_height, dest_x, dest_y, dest_width, dest_height, scale_mode, rop); +} + +static pixman_image_t *canvas_get_as_surface(SwCanvas *canvas, + int with_alpha) +{ + pixman_image_t *target; + + if (with_alpha && + canvas->base.format == SPICE_SURFACE_FMT_32_xRGB) { + target = pixman_image_create_bits(PIXMAN_a8r8g8b8, + pixman_image_get_width(canvas->image), + pixman_image_get_height(canvas->image), + pixman_image_get_data(canvas->image), + pixman_image_get_stride(canvas->image)); + } else { + target = pixman_image_ref(canvas->image); + } + + return target; +} + +static void __blend_image(SpiceCanvas *spice_canvas, + pixman_region32_t *region, + int dest_has_alpha, + pixman_image_t *src, + int src_x, int src_y, + int dest_x, int dest_y, + int width, int height, + int overall_alpha) +{ + SwCanvas *canvas = (SwCanvas *)spice_canvas; + pixman_image_t *mask, *dest; + + dest = canvas_get_as_surface(canvas, dest_has_alpha); + + pixman_image_set_clip_region32(dest, region); + + mask = NULL; + if (overall_alpha != 0xff) { + pixman_color_t color = { 0, 0, 0, 0 }; + color.alpha = overall_alpha * 0x101; + mask = pixman_image_create_solid_fill(&color); + } + + pixman_image_set_repeat(src, PIXMAN_REPEAT_NONE); + + pixman_image_composite32(PIXMAN_OP_OVER, + src, mask, dest, + src_x, src_y, /* src */ + 0, 0, /* mask */ + dest_x, dest_y, /* dst */ + width, + height); + + if (canvas->base.format == SPICE_SURFACE_FMT_32_xRGB && + !dest_has_alpha) { + clear_dest_alpha(dest, dest_x, dest_y, width, height); + } + + if (mask) { + pixman_image_unref(mask); + } + + pixman_image_set_clip_region32(dest, NULL); + pixman_image_unref(dest); +} + +static void blend_image(SpiceCanvas *spice_canvas, + pixman_region32_t *region, + int dest_has_alpha, + pixman_image_t *src, + int src_x, int src_y, + int dest_x, int dest_y, + int width, int height, + int overall_alpha) +{ + __blend_image(spice_canvas, region, dest_has_alpha, src, src_x, src_y, + dest_x, dest_y, width, height, + overall_alpha); +} + +static void blend_image_from_surface(SpiceCanvas *spice_canvas, + pixman_region32_t *region, + int dest_has_alpha, + SpiceCanvas *surface_canvas, + int src_has_alpha, + int src_x, int src_y, + int dest_x, int dest_y, + int width, int height, + int overall_alpha) +{ + SwCanvas *sw_surface_canvas = (SwCanvas *)surface_canvas; + pixman_image_t *src; + + src = canvas_get_as_surface(sw_surface_canvas, src_has_alpha); + __blend_image(spice_canvas, region, dest_has_alpha, + src, src_x, src_y, + dest_x, dest_y, + width, height, overall_alpha); + pixman_image_unref(src); +} + +static void __blend_scale_image(SpiceCanvas *spice_canvas, + pixman_region32_t *region, + int dest_has_alpha, + pixman_image_t *src, + int src_x, int src_y, + int src_width, int src_height, + int dest_x, int dest_y, + int dest_width, int dest_height, + int scale_mode, + int overall_alpha) +{ + SwCanvas *canvas = (SwCanvas *)spice_canvas; + pixman_transform_t transform; + pixman_image_t *mask, *dest; + pixman_fixed_t fsx, fsy; + + fsx = ((pixman_fixed_48_16_t) src_width * 65536) / dest_width; + fsy = ((pixman_fixed_48_16_t) src_height * 65536) / dest_height; + + dest = canvas_get_as_surface(canvas, dest_has_alpha); + + pixman_image_set_clip_region32(dest, region); + + pixman_transform_init_scale(&transform, fsx, fsy); + pixman_transform_translate(&transform, NULL, + pixman_int_to_fixed (src_x), + pixman_int_to_fixed (src_y)); + + mask = NULL; + if (overall_alpha != 0xff) { + pixman_color_t color = { 0, 0, 0, 0 }; + color.alpha = overall_alpha * 0x101; + mask = pixman_image_create_solid_fill(&color); + } + + pixman_image_set_transform(src, &transform); + pixman_image_set_repeat(src, PIXMAN_REPEAT_NONE); + spice_return_if_fail(scale_mode == SPICE_IMAGE_SCALE_MODE_INTERPOLATE || + scale_mode == SPICE_IMAGE_SCALE_MODE_NEAREST); + pixman_image_set_filter(src, + (scale_mode == SPICE_IMAGE_SCALE_MODE_NEAREST) ? + PIXMAN_FILTER_NEAREST : PIXMAN_FILTER_GOOD, + NULL, 0); + + pixman_image_composite32(PIXMAN_OP_OVER, + src, mask, dest, + 0, 0, /* src */ + 0, 0, /* mask */ + dest_x, dest_y, /* dst */ + dest_width, dest_height); + + if (canvas->base.format == SPICE_SURFACE_FMT_32_xRGB && + !dest_has_alpha) { + clear_dest_alpha(dest, dest_x, dest_y, dest_width, dest_height); + } + + pixman_transform_init_identity(&transform); + pixman_image_set_transform(src, &transform); + + if (mask) { + pixman_image_unref(mask); + } + + pixman_image_set_clip_region32(dest, NULL); + pixman_image_unref(dest); +} + +static void blend_scale_image(SpiceCanvas *spice_canvas, + pixman_region32_t *region, + int dest_has_alpha, + pixman_image_t *src, + int src_x, int src_y, + int src_width, int src_height, + int dest_x, int dest_y, + int dest_width, int dest_height, + int scale_mode, + int overall_alpha) +{ + __blend_scale_image(spice_canvas, region, dest_has_alpha, + src, src_x, src_y, src_width, src_height, + dest_x, dest_y, dest_width, dest_height, + scale_mode, overall_alpha); +} + +static void blend_scale_image_from_surface(SpiceCanvas *spice_canvas, + pixman_region32_t *region, + int dest_has_alpha, + SpiceCanvas *surface_canvas, + int src_has_alpha, + int src_x, int src_y, + int src_width, int src_height, + int dest_x, int dest_y, + int dest_width, int dest_height, + int scale_mode, + int overall_alpha) +{ + SwCanvas *sw_surface_canvas = (SwCanvas *)surface_canvas; + pixman_image_t *src; + + src = canvas_get_as_surface(sw_surface_canvas, src_has_alpha); + __blend_scale_image(spice_canvas, region, dest_has_alpha, src, src_x, src_y, src_width, + src_height, dest_x, dest_y, dest_width, dest_height, scale_mode, + overall_alpha); + pixman_image_unref(src); +} + +static void __colorkey_image(SpiceCanvas *spice_canvas, + pixman_region32_t *region, + pixman_image_t *src_image, + int offset_x, int offset_y, + uint32_t transparent_color) +{ + SwCanvas *canvas = (SwCanvas *)spice_canvas; + pixman_box32_t *rects; + int n_rects, i; + + rects = pixman_region32_rectangles(region, &n_rects); + + for (i = 0; i < n_rects; i++) { + int src_x, src_y, dest_x, dest_y, width, height; + + dest_x = rects[i].x1; + dest_y = rects[i].y1; + width = rects[i].x2 - rects[i].x1; + height = rects[i].y2 - rects[i].y1; + + src_x = rects[i].x1 - offset_x; + src_y = rects[i].y1 - offset_y; + + spice_pixman_blit_colorkey(canvas->image, + src_image, + src_x, src_y, + dest_x, dest_y, + width, height, + transparent_color); + } +} + +static void colorkey_image(SpiceCanvas *spice_canvas, + pixman_region32_t *region, + pixman_image_t *src_image, + int offset_x, int offset_y, + uint32_t transparent_color) +{ + __colorkey_image(spice_canvas, region, src_image, offset_x, offset_y, transparent_color); +} + +static void colorkey_image_from_surface(SpiceCanvas *spice_canvas, + pixman_region32_t *region, + SpiceCanvas *surface_canvas, + int offset_x, int offset_y, + uint32_t transparent_color) +{ + SwCanvas *sw_surface_canvas = (SwCanvas *)surface_canvas; + __colorkey_image(spice_canvas, region, sw_surface_canvas->image, offset_x, offset_y, + transparent_color); +} + +static void __colorkey_scale_image(SpiceCanvas *spice_canvas, + pixman_region32_t *region, + pixman_image_t *src, + int src_x, int src_y, + int src_width, int src_height, + int dest_x, int dest_y, + int dest_width, int dest_height, + uint32_t transparent_color) +{ + SwCanvas *canvas = (SwCanvas *)spice_canvas; + pixman_transform_t transform; + pixman_image_t *scaled; + pixman_box32_t *rects; + int n_rects, i; + pixman_fixed_t fsx, fsy; + pixman_format_code_t format; + + fsx = ((pixman_fixed_48_16_t) src_width * 65536) / dest_width; + fsy = ((pixman_fixed_48_16_t) src_height * 65536) / dest_height; + + spice_return_if_fail(spice_pixman_image_get_format(src, &format)); + scaled = pixman_image_create_bits(format, + dest_width, + dest_height, + NULL, 0); + + pixman_region32_translate(region, -dest_x, -dest_y); + pixman_image_set_clip_region32(scaled, region); + + pixman_transform_init_scale(&transform, fsx, fsy); + pixman_transform_translate(&transform, NULL, + pixman_int_to_fixed (src_x), + pixman_int_to_fixed (src_y)); + + pixman_image_set_transform(src, &transform); + pixman_image_set_repeat(src, PIXMAN_REPEAT_NONE); + pixman_image_set_filter(src, + PIXMAN_FILTER_NEAREST, + NULL, 0); + + pixman_image_composite32(PIXMAN_OP_SRC, + src, NULL, scaled, + 0, 0, /* src */ + 0, 0, /* mask */ + 0, 0, /* dst */ + dest_width, + dest_height); + + pixman_transform_init_identity(&transform); + pixman_image_set_transform(src, &transform); + + /* Translate back */ + pixman_region32_translate(region, dest_x, dest_y); + + rects = pixman_region32_rectangles(region, &n_rects); + + for (i = 0; i < n_rects; i++) { + spice_pixman_blit_colorkey(canvas->image, + scaled, + rects[i].x1 - dest_x, + rects[i].y1 - dest_y, + rects[i].x1, rects[i].y1, + rects[i].x2 - rects[i].x1, + rects[i].y2 - rects[i].y1, + transparent_color); + } + + pixman_image_unref(scaled); +} + +static void colorkey_scale_image(SpiceCanvas *spice_canvas, + pixman_region32_t *region, + pixman_image_t *src, + int src_x, int src_y, + int src_width, int src_height, + int dest_x, int dest_y, + int dest_width, int dest_height, + uint32_t transparent_color) +{ + __colorkey_scale_image(spice_canvas, region, src, src_x, src_y, src_width, src_height, dest_x, + dest_y, dest_width, dest_height, transparent_color); +} + +static void colorkey_scale_image_from_surface(SpiceCanvas *spice_canvas, + pixman_region32_t *region, + SpiceCanvas *surface_canvas, + int src_x, int src_y, + int src_width, int src_height, + int dest_x, int dest_y, + int dest_width, int dest_height, + uint32_t transparent_color) +{ + SwCanvas *sw_surface_canvas = (SwCanvas *)surface_canvas; + __colorkey_scale_image(spice_canvas, region, sw_surface_canvas->image, src_x, src_y, + src_width, src_height, dest_x, dest_y, dest_width, dest_height, + transparent_color); +} + +static void canvas_put_image(SpiceCanvas *spice_canvas, +#ifdef WIN32 + HDC dc, +#endif + const SpiceRect *dest, const uint8_t *src_data, + uint32_t src_width, uint32_t src_height, int src_stride, + const QRegion *clip) +{ + SwCanvas *canvas = (SwCanvas *)spice_canvas; + pixman_image_t *src; + uint32_t dest_width; + uint32_t dest_height; + double sx, sy; + pixman_transform_t transform; + + src = pixman_image_create_bits(PIXMAN_x8r8g8b8, + src_width, + src_height, + (uint32_t*)src_data, + src_stride); + + + if (clip) { + pixman_image_set_clip_region32 (canvas->image, (pixman_region32_t *)clip); + } + + dest_width = dest->right - dest->left; + dest_height = dest->bottom - dest->top; + + if (dest_width != src_width || dest_height != src_height) { + sx = (double)(src_width) / (dest_width); + sy = (double)(src_height) / (dest_height); + + pixman_transform_init_scale(&transform, + pixman_double_to_fixed(sx), + pixman_double_to_fixed(sy)); + pixman_image_set_transform(src, &transform); + pixman_image_set_filter(src, + PIXMAN_FILTER_NEAREST, + NULL, 0); + } + + pixman_image_set_repeat(src, PIXMAN_REPEAT_NONE); + + pixman_image_composite32(PIXMAN_OP_SRC, + src, NULL, canvas->image, + 0, 0, /* src */ + 0, 0, /* mask */ + dest->left, dest->top, /* dst */ + dest_width, dest_height); + + + if (clip) { + pixman_image_set_clip_region32(canvas->image, NULL); + } + pixman_image_unref(src); +} + + +static void canvas_draw_text(SpiceCanvas *spice_canvas, SpiceRect *bbox, + SpiceClip *clip, SpiceText *text) +{ + SwCanvas *canvas = (SwCanvas *)spice_canvas; + pixman_region32_t dest_region; + pixman_image_t *str_mask, *brush; + SpiceString *str; + SpicePoint pos = { 0, 0 }; + int depth; + + pixman_region32_init_rect(&dest_region, + bbox->left, bbox->top, + bbox->right - bbox->left, + bbox->bottom - bbox->top); + + canvas_clip_pixman(&canvas->base, &dest_region, clip); + + if (!pixman_region32_not_empty(&dest_region)) { + touch_brush(&canvas->base, &text->fore_brush); + touch_brush(&canvas->base, &text->back_brush); + pixman_region32_fini(&dest_region); + return; + } + + if (!rect_is_empty(&text->back_area)) { + pixman_region32_t back_region; + + /* Nothing else makes sense for text and we should deprecate it + * and actually it means OVER really */ + spice_return_if_fail(text->fore_mode == SPICE_ROPD_OP_PUT); + + pixman_region32_init_rect(&back_region, + text->back_area.left, + text->back_area.top, + text->back_area.right - text->back_area.left, + text->back_area.bottom - text->back_area.top); + + pixman_region32_intersect(&back_region, &back_region, &dest_region); + + if (pixman_region32_not_empty(&back_region)) { + draw_brush(spice_canvas, &back_region, &text->back_brush, SPICE_ROP_COPY); + } + + pixman_region32_fini(&back_region); + } + str = (SpiceString *)SPICE_GET_ADDRESS(text->str); + + if (str->flags & SPICE_STRING_FLAGS_RASTER_A1) { + depth = 1; + } else if (str->flags & SPICE_STRING_FLAGS_RASTER_A4) { + depth = 4; + } else if (str->flags & SPICE_STRING_FLAGS_RASTER_A8) { + spice_warning("untested path A8 glyphs"); + depth = 8; + } else { + spice_warning("unsupported path vector glyphs"); + pixman_region32_fini (&dest_region); + return; + } + + brush = canvas_get_pixman_brush(canvas, &text->fore_brush); + + str_mask = canvas_get_str_mask(&canvas->base, str, depth, &pos); + if (brush) { + pixman_image_set_clip_region32(canvas->image, &dest_region); + + pixman_image_composite32(PIXMAN_OP_OVER, + brush, + str_mask, + canvas->image, + 0, 0, + 0, 0, + pos.x, pos.y, + pixman_image_get_width(str_mask), + pixman_image_get_height(str_mask)); + if (canvas->base.format == SPICE_SURFACE_FMT_32_xRGB) { + clear_dest_alpha(canvas->image, pos.x, pos.y, + pixman_image_get_width(str_mask), + pixman_image_get_height(str_mask)); + } + pixman_image_unref(brush); + + pixman_image_set_clip_region32(canvas->image, NULL); + } + pixman_image_unref(str_mask); + pixman_region32_fini(&dest_region); +} + +static void canvas_read_bits(SpiceCanvas *spice_canvas, uint8_t *dest, + int dest_stride, const SpiceRect *area) +{ + SwCanvas *canvas = (SwCanvas *)spice_canvas; + pixman_image_t* surface; + uint8_t *src; + int src_stride; + uint8_t *dest_end; + int bpp; + + spice_return_if_fail(canvas && area); + + surface = canvas->image; + + bpp = spice_pixman_image_get_bpp(surface) / 8; + + src_stride = pixman_image_get_stride(surface); + src = (uint8_t *)pixman_image_get_data(surface) + + area->top * src_stride + area->left * bpp; + dest_end = dest + (area->bottom - area->top) * dest_stride; + for (; dest != dest_end; dest += dest_stride, src += src_stride) { + memcpy(dest, src, (area->right - area->left) * bpp); + } +} + +static void canvas_clear(SpiceCanvas *spice_canvas) +{ + SwCanvas *canvas = (SwCanvas *)spice_canvas; + spice_pixman_fill_rect(canvas->image, + 0, 0, + pixman_image_get_width(canvas->image), + pixman_image_get_height(canvas->image), + 0); +} + +static void canvas_destroy(SpiceCanvas *spice_canvas) +{ + SwCanvas *canvas = (SwCanvas *)spice_canvas; + if (!canvas) { + return; + } + pixman_image_unref(canvas->image); + canvas_base_destroy(&canvas->base); + free(canvas->private_data); + free(canvas); +} + +static int need_init = 1; +static SpiceCanvasOps sw_canvas_ops; + +static SpiceCanvas *canvas_create_common(pixman_image_t *image, + uint32_t format +#ifdef SW_CANVAS_CACHE + , SpiceImageCache *bits_cache + , SpicePaletteCache *palette_cache +#elif defined(SW_CANVAS_IMAGE_CACHE) + , SpiceImageCache *bits_cache +#endif + , SpiceImageSurfaces *surfaces + , SpiceGlzDecoder *glz_decoder + , SpiceJpegDecoder *jpeg_decoder + , SpiceZlibDecoder *zlib_decoder + ) +{ + SwCanvas *canvas; + + if (need_init) { + return NULL; + } + spice_pixman_image_set_format(image, + spice_surface_format_to_pixman (format)); + + canvas = spice_new0(SwCanvas, 1); + canvas_base_init(&canvas->base, &sw_canvas_ops, + pixman_image_get_width (image), + pixman_image_get_height (image), + format +#ifdef SW_CANVAS_CACHE + , bits_cache + , palette_cache +#elif defined(SW_CANVAS_IMAGE_CACHE) + , bits_cache +#endif + , surfaces + , glz_decoder + , jpeg_decoder + , zlib_decoder + ); + canvas->private_data = NULL; + canvas->private_data_size = 0; + + canvas->image = image; + + return (SpiceCanvas *)canvas; +} + +SpiceCanvas *canvas_create(int width, int height, uint32_t format +#ifdef SW_CANVAS_CACHE + , SpiceImageCache *bits_cache + , SpicePaletteCache *palette_cache +#elif defined(SW_CANVAS_IMAGE_CACHE) + , SpiceImageCache *bits_cache +#endif + , SpiceImageSurfaces *surfaces + , SpiceGlzDecoder *glz_decoder + , SpiceJpegDecoder *jpeg_decoder + , SpiceZlibDecoder *zlib_decoder + ) +{ + pixman_image_t *image; + + image = pixman_image_create_bits(spice_surface_format_to_pixman (format), + width, height, NULL, 0); + + return canvas_create_common(image, format +#ifdef SW_CANVAS_CACHE + , bits_cache + , palette_cache +#elif defined(SW_CANVAS_IMAGE_CACHE) + , bits_cache +#endif + , surfaces + , glz_decoder + , jpeg_decoder + , zlib_decoder + ); +} + +SpiceCanvas *canvas_create_for_data(int width, int height, uint32_t format, + uint8_t *data, int stride +#ifdef SW_CANVAS_CACHE + , SpiceImageCache *bits_cache + , SpicePaletteCache *palette_cache +#elif defined(SW_CANVAS_IMAGE_CACHE) + , SpiceImageCache *bits_cache +#endif + , SpiceImageSurfaces *surfaces + , SpiceGlzDecoder *glz_decoder + , SpiceJpegDecoder *jpeg_decoder + , SpiceZlibDecoder *zlib_decoder + ) +{ + pixman_image_t *image; + + image = pixman_image_create_bits(spice_surface_format_to_pixman (format), + width, height, (uint32_t *)data, stride); + + return canvas_create_common(image, format +#ifdef SW_CANVAS_CACHE + , bits_cache + , palette_cache +#elif defined(SW_CANVAS_IMAGE_CACHE) + , bits_cache +#endif + , surfaces + , glz_decoder + , jpeg_decoder + , zlib_decoder + ); +} + +void sw_canvas_init(void) //unsafe global function +{ + if (!need_init) { + return; + } + need_init = 0; + + canvas_base_init_ops(&sw_canvas_ops); + sw_canvas_ops.draw_text = canvas_draw_text; + sw_canvas_ops.put_image = canvas_put_image; + sw_canvas_ops.clear = canvas_clear; + sw_canvas_ops.read_bits = canvas_read_bits; + sw_canvas_ops.destroy = canvas_destroy; + + sw_canvas_ops.fill_solid_spans = fill_solid_spans; + sw_canvas_ops.fill_solid_rects = fill_solid_rects; + sw_canvas_ops.fill_solid_rects_rop = fill_solid_rects_rop; + sw_canvas_ops.fill_tiled_rects = fill_tiled_rects; + sw_canvas_ops.fill_tiled_rects_from_surface = fill_tiled_rects_from_surface; + sw_canvas_ops.fill_tiled_rects_rop = fill_tiled_rects_rop; + sw_canvas_ops.fill_tiled_rects_rop_from_surface = fill_tiled_rects_rop_from_surface; + sw_canvas_ops.blit_image = blit_image; + sw_canvas_ops.blit_image_from_surface = blit_image_from_surface; + sw_canvas_ops.blit_image_rop = blit_image_rop; + sw_canvas_ops.blit_image_rop_from_surface = blit_image_rop_from_surface; + sw_canvas_ops.scale_image = scale_image; + sw_canvas_ops.scale_image_from_surface = scale_image_from_surface; + sw_canvas_ops.scale_image_rop = scale_image_rop; + sw_canvas_ops.scale_image_rop_from_surface = scale_image_rop_from_surface; + sw_canvas_ops.blend_image = blend_image; + sw_canvas_ops.blend_image_from_surface = blend_image_from_surface; + sw_canvas_ops.blend_scale_image = blend_scale_image; + sw_canvas_ops.blend_scale_image_from_surface = blend_scale_image_from_surface; + sw_canvas_ops.colorkey_image = colorkey_image; + sw_canvas_ops.colorkey_image_from_surface = colorkey_image_from_surface; + sw_canvas_ops.colorkey_scale_image = colorkey_scale_image; + sw_canvas_ops.colorkey_scale_image_from_surface = colorkey_scale_image_from_surface; + sw_canvas_ops.copy_region = copy_region; + sw_canvas_ops.get_image = get_image; + rop3_init(); +} diff --git a/tizen/distrib/remote/common/spice-common/common/sw_canvas.h b/tizen/distrib/remote/common/spice-common/common/sw_canvas.h new file mode 100644 index 0000000..eb6c1f8 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/sw_canvas.h @@ -0,0 +1,63 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H__CANVAS +#define _H__CANVAS + +#include <stdint.h> +#include <spice/macros.h> + +#include "draw.h" +#include "pixman_utils.h" +#include "canvas_base.h" +#include "region.h" + +SPICE_BEGIN_DECLS + +SpiceCanvas *canvas_create(int width, int height, uint32_t format +#ifdef SW_CANVAS_CACHE + , SpiceImageCache *bits_cache + , SpicePaletteCache *palette_cache +#elif defined(SW_CANVAS_IMAGE_CACHE) + , SpiceImageCache *bits_cache +#endif + , SpiceImageSurfaces *surfaces + , SpiceGlzDecoder *glz_decoder + , SpiceJpegDecoder *jpeg_decoder + , SpiceZlibDecoder *zlib_decoder + ); + +SpiceCanvas *canvas_create_for_data(int width, int height, uint32_t format, uint8_t *data, int stride +#ifdef SW_CANVAS_CACHE + , SpiceImageCache *bits_cache + , SpicePaletteCache *palette_cache +#elif defined(SW_CANVAS_IMAGE_CACHE) + , SpiceImageCache *bits_cache +#endif + , SpiceImageSurfaces *surfaces + , SpiceGlzDecoder *glz_decoder + , SpiceJpegDecoder *jpeg_decoder + , SpiceZlibDecoder *zlib_decoder + ); + + +void sw_canvas_init(void); + +SPICE_END_DECLS + +#endif diff --git a/tizen/distrib/remote/common/spice-common/common/verify.h b/tizen/distrib/remote/common/spice-common/common/verify.h new file mode 100644 index 0000000..8445e3d --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/common/verify.h @@ -0,0 +1,245 @@ +/* Compile-time assert-like macros. + + Copyright (C) 2005-2006, 2009-2013 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +/* Written by Paul Eggert, Bruno Haible, and Jim Meyering. */ + +#ifndef _GL_VERIFY_H +# define _GL_VERIFY_H + + +/* Define _GL_HAVE__STATIC_ASSERT to 1 if _Static_assert works as per C11. + This is supported by GCC 4.6.0 and later, in C mode, and its use + here generates easier-to-read diagnostics when verify (R) fails. + + Define _GL_HAVE_STATIC_ASSERT to 1 if static_assert works as per C++11. + This will likely be supported by future GCC versions, in C++ mode. + + Use this only with GCC. If we were willing to slow 'configure' + down we could also use it with other compilers, but since this + affects only the quality of diagnostics, why bother? */ +# if (4 < __GNUC__ || (__GNUC__ == 4 && 6 <= __GNUC_MINOR__)) && !defined __cplusplus +# define _GL_HAVE__STATIC_ASSERT 1 +# endif +/* The condition (99 < __GNUC__) is temporary, until we know about the + first G++ release that supports static_assert. */ +# if (99 < __GNUC__) && defined __cplusplus +# define _GL_HAVE_STATIC_ASSERT 1 +# endif + +/* Each of these macros verifies that its argument R is nonzero. To + be portable, R should be an integer constant expression. Unlike + assert (R), there is no run-time overhead. + + If _Static_assert works, verify (R) uses it directly. Similarly, + _GL_VERIFY_TRUE works by packaging a _Static_assert inside a struct + that is an operand of sizeof. + + The code below uses several ideas for C++ compilers, and for C + compilers that do not support _Static_assert: + + * The first step is ((R) ? 1 : -1). Given an expression R, of + integral or boolean or floating-point type, this yields an + expression of integral type, whose value is later verified to be + constant and nonnegative. + + * Next this expression W is wrapped in a type + struct _gl_verify_type { + unsigned int _gl_verify_error_if_negative: W; + }. + If W is negative, this yields a compile-time error. No compiler can + deal with a bit-field of negative size. + + One might think that an array size check would have the same + effect, that is, that the type struct { unsigned int dummy[W]; } + would work as well. However, inside a function, some compilers + (such as C++ compilers and GNU C) allow local parameters and + variables inside array size expressions. With these compilers, + an array size check would not properly diagnose this misuse of + the verify macro: + + void function (int n) { verify (n < 0); } + + * For the verify macro, the struct _gl_verify_type will need to + somehow be embedded into a declaration. To be portable, this + declaration must declare an object, a constant, a function, or a + typedef name. If the declared entity uses the type directly, + such as in + + struct dummy {...}; + typedef struct {...} dummy; + extern struct {...} *dummy; + extern void dummy (struct {...} *); + extern struct {...} *dummy (void); + + two uses of the verify macro would yield colliding declarations + if the entity names are not disambiguated. A workaround is to + attach the current line number to the entity name: + + #define _GL_CONCAT0(x, y) x##y + #define _GL_CONCAT(x, y) _GL_CONCAT0 (x, y) + extern struct {...} * _GL_CONCAT (dummy, __LINE__); + + But this has the problem that two invocations of verify from + within the same macro would collide, since the __LINE__ value + would be the same for both invocations. (The GCC __COUNTER__ + macro solves this problem, but is not portable.) + + A solution is to use the sizeof operator. It yields a number, + getting rid of the identity of the type. Declarations like + + extern int dummy [sizeof (struct {...})]; + extern void dummy (int [sizeof (struct {...})]); + extern int (*dummy (void)) [sizeof (struct {...})]; + + can be repeated. + + * Should the implementation use a named struct or an unnamed struct? + Which of the following alternatives can be used? + + extern int dummy [sizeof (struct {...})]; + extern int dummy [sizeof (struct _gl_verify_type {...})]; + extern void dummy (int [sizeof (struct {...})]); + extern void dummy (int [sizeof (struct _gl_verify_type {...})]); + extern int (*dummy (void)) [sizeof (struct {...})]; + extern int (*dummy (void)) [sizeof (struct _gl_verify_type {...})]; + + In the second and sixth case, the struct type is exported to the + outer scope; two such declarations therefore collide. GCC warns + about the first, third, and fourth cases. So the only remaining + possibility is the fifth case: + + extern int (*dummy (void)) [sizeof (struct {...})]; + + * GCC warns about duplicate declarations of the dummy function if + -Wredundant-decls is used. GCC 4.3 and later have a builtin + __COUNTER__ macro that can let us generate unique identifiers for + each dummy function, to suppress this warning. + + * This implementation exploits the fact that older versions of GCC, + which do not support _Static_assert, also do not warn about the + last declaration mentioned above. + + * GCC warns if -Wnested-externs is enabled and verify() is used + within a function body; but inside a function, you can always + arrange to use verify_expr() instead. + + * In C++, any struct definition inside sizeof is invalid. + Use a template type to work around the problem. */ + +/* Concatenate two preprocessor tokens. */ +# define _GL_CONCAT(x, y) _GL_CONCAT0 (x, y) +# define _GL_CONCAT0(x, y) x##y + +/* _GL_COUNTER is an integer, preferably one that changes each time we + use it. Use __COUNTER__ if it works, falling back on __LINE__ + otherwise. __LINE__ isn't perfect, but it's better than a + constant. */ +# if defined __COUNTER__ && __COUNTER__ != __COUNTER__ +# define _GL_COUNTER __COUNTER__ +# else +# define _GL_COUNTER __LINE__ +# endif + +/* Generate a symbol with the given prefix, making it unique if + possible. */ +# define _GL_GENSYM(prefix) _GL_CONCAT (prefix, _GL_COUNTER) + +/* Verify requirement R at compile-time, as an integer constant expression + that returns 1. If R is false, fail at compile-time, preferably + with a diagnostic that includes the string-literal DIAGNOSTIC. */ + +# define _GL_VERIFY_TRUE(R, DIAGNOSTIC) \ + (!!sizeof (_GL_VERIFY_TYPE (R, DIAGNOSTIC))) + +# ifdef __cplusplus +# if !GNULIB_defined_struct__gl_verify_type +template <int w> + struct _gl_verify_type { + unsigned int _gl_verify_error_if_negative: w; + }; +# define GNULIB_defined_struct__gl_verify_type 1 +# endif +# define _GL_VERIFY_TYPE(R, DIAGNOSTIC) \ + _gl_verify_type<(R) ? 1 : -1> +# elif defined _GL_HAVE__STATIC_ASSERT +# define _GL_VERIFY_TYPE(R, DIAGNOSTIC) \ + struct { \ + _Static_assert (R, DIAGNOSTIC); \ + int _gl_dummy; \ + } +# else +# define _GL_VERIFY_TYPE(R, DIAGNOSTIC) \ + struct { unsigned int _gl_verify_error_if_negative: (R) ? 1 : -1; } +# endif + +/* Verify requirement R at compile-time, as a declaration without a + trailing ';'. If R is false, fail at compile-time, preferably + with a diagnostic that includes the string-literal DIAGNOSTIC. + + Unfortunately, unlike C11, this implementation must appear as an + ordinary declaration, and cannot appear inside struct { ... }. */ + +# ifdef _GL_HAVE__STATIC_ASSERT +# define _GL_VERIFY _Static_assert +# else +# define _GL_VERIFY(R, DIAGNOSTIC) \ + extern int (*_GL_GENSYM (_gl_verify_function) (void)) \ + [_GL_VERIFY_TRUE (R, DIAGNOSTIC)] +# endif + +/* _GL_STATIC_ASSERT_H is defined if this code is copied into assert.h. */ +# ifdef _GL_STATIC_ASSERT_H +# if !defined _GL_HAVE__STATIC_ASSERT && !defined _Static_assert +# define _Static_assert(R, DIAGNOSTIC) _GL_VERIFY (R, DIAGNOSTIC) +# endif +# if !defined _GL_HAVE_STATIC_ASSERT && !defined static_assert +# define static_assert _Static_assert /* C11 requires this #define. */ +# endif +# endif + +/* @assert.h omit start@ */ + +/* Each of these macros verifies that its argument R is nonzero. To + be portable, R should be an integer constant expression. Unlike + assert (R), there is no run-time overhead. + + There are two macros, since no single macro can be used in all + contexts in C. verify_true (R) is for scalar contexts, including + integer constant expression contexts. verify (R) is for declaration + contexts, e.g., the top level. */ + +/* Verify requirement R at compile-time, as an integer constant expression. + Return 1. This is equivalent to verify_expr (R, 1). + + verify_true is obsolescent; please use verify_expr instead. */ + +# define verify_true(R) _GL_VERIFY_TRUE (R, "verify_true (" #R ")") + +/* Verify requirement R at compile-time. Return the value of the + expression E. */ + +# define verify_expr(R, E) \ + (_GL_VERIFY_TRUE (R, "verify_expr (" #R ", " #E ")") ? (E) : (E)) + +/* Verify requirement R at compile-time, as a declaration without a + trailing ';'. */ + +# define verify(R) _GL_VERIFY (R, "verify (" #R ")") + +/* @assert.h omit end@ */ + +#endif diff --git a/tizen/distrib/remote/common/spice-common/config.h.in b/tizen/distrib/remote/common/spice-common/config.h.in new file mode 100644 index 0000000..190fe5d --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/config.h.in @@ -0,0 +1,217 @@ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP + systems. This function is required for `alloca.c' support on those systems. + */ +#undef CRAY_STACKSEG_END + +/* Define to 1 if using `alloca.c'. */ +#undef C_ALLOCA + +/* Enable GLExt prototypes */ +#undef GL_GLEXT_PROTOTYPES + +/* Define to 1 if you have `alloca', as a function or macro. */ +#undef HAVE_ALLOCA + +/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). + */ +#undef HAVE_ALLOCA_H + +/* Define to 1 if you have the <arpa/inet.h> header file. */ +#undef HAVE_ARPA_INET_H + +/* Define to 1 if you have the <dlfcn.h> header file. */ +#undef HAVE_DLFCN_H + +/* Define to 1 if you have the `dup2' function. */ +#undef HAVE_DUP2 + +/* Define to 1 if you have the `floor' function. */ +#undef HAVE_FLOOR + +/* Define to 1 if you have the `fork' function. */ +#undef HAVE_FORK + +/* Define to 1 if you have the `inet_ntoa' function. */ +#undef HAVE_INET_NTOA + +/* Define to 1 if you have the <inttypes.h> header file. */ +#undef HAVE_INTTYPES_H + +/* Define to 1 if you have the <malloc.h> header file. */ +#undef HAVE_MALLOC_H + +/* Define to 1 if you have the `memmove' function. */ +#undef HAVE_MEMMOVE + +/* Define to 1 if you have the <memory.h> header file. */ +#undef HAVE_MEMORY_H + +/* Define to 1 if you have the `memset' function. */ +#undef HAVE_MEMSET + +/* Define to 1 if you have the <netinet/in.h> header file. */ +#undef HAVE_NETINET_IN_H + +/* Define to 1 if you have the `pow' function. */ +#undef HAVE_POW + +/* Define to 1 if you have the `sqrt' function. */ +#undef HAVE_SQRT + +/* Define to 1 if you have the <stddef.h> header file. */ +#undef HAVE_STDDEF_H + +/* Define to 1 if you have the <stdint.h> header file. */ +#undef HAVE_STDINT_H + +/* Define to 1 if you have the <stdlib.h> header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the <strings.h> header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the <string.h> header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the <sys/socket.h> header file. */ +#undef HAVE_SYS_SOCKET_H + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the <sys/types.h> header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have the <unistd.h> header file. */ +#undef HAVE_UNISTD_H + +/* Define to 1 if you have the `vfork' function. */ +#undef HAVE_VFORK + +/* Define to 1 if you have the <vfork.h> header file. */ +#undef HAVE_VFORK_H + +/* Define to 1 if `fork' works. */ +#undef HAVE_WORKING_FORK + +/* Define to 1 if `vfork' works. */ +#undef HAVE_WORKING_VFORK + +/* Define to the sub-directory in which libtool stores uninstalled libraries. + */ +#undef LT_OBJDIR + +/* Define to 1 if your C compiler doesn't accept -c and -o together. */ +#undef NO_MINUS_C_MINUS_O + +/* Name of package */ +#undef PACKAGE + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the home page for this package. */ +#undef PACKAGE_URL + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* If using the C implementation of alloca, define if you know the + direction of stack growth for your system; otherwise it will be + automatically deduced at runtime. + STACK_DIRECTION > 0 => grows toward higher addresses + STACK_DIRECTION < 0 => grows toward lower addresses + STACK_DIRECTION = 0 => direction of growth unknown */ +#undef STACK_DIRECTION + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Define to build with OpenGL support */ +#undef USE_OPENGL + +/* Define if supporting smartcard proxying */ +#undef USE_SMARTCARD + +/* Version number of package */ +#undef VERSION + +/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>, + <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the + #define below would cause a syntax error. */ +#undef _UINT32_T + +/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>, + <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the + #define below would cause a syntax error. */ +#undef _UINT64_T + +/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>, + <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the + #define below would cause a syntax error. */ +#undef _UINT8_T + +/* Define to `__inline__' or `__inline' if that's what the C compiler + calls it, or to nothing if 'inline' is not supported under any name. */ +#ifndef __cplusplus +#undef inline +#endif + +/* Define to the type of a signed integer type of width exactly 16 bits if + such a type exists and the standard includes do not define it. */ +#undef int16_t + +/* Define to the type of a signed integer type of width exactly 32 bits if + such a type exists and the standard includes do not define it. */ +#undef int32_t + +/* Define to the type of a signed integer type of width exactly 64 bits if + such a type exists and the standard includes do not define it. */ +#undef int64_t + +/* Define to the type of a signed integer type of width exactly 8 bits if such + a type exists and the standard includes do not define it. */ +#undef int8_t + +/* Define to `int' if <sys/types.h> does not define. */ +#undef pid_t + +/* Define to `unsigned int' if <sys/types.h> does not define. */ +#undef size_t + +/* Define to the type of an unsigned integer type of width exactly 16 bits if + such a type exists and the standard includes do not define it. */ +#undef uint16_t + +/* Define to the type of an unsigned integer type of width exactly 32 bits if + such a type exists and the standard includes do not define it. */ +#undef uint32_t + +/* Define to the type of an unsigned integer type of width exactly 64 bits if + such a type exists and the standard includes do not define it. */ +#undef uint64_t + +/* Define to the type of an unsigned integer type of width exactly 8 bits if + such a type exists and the standard includes do not define it. */ +#undef uint8_t + +/* Define as `fork' if `vfork' does not work. */ +#undef vfork + + +/* argh.. this is evil */ +#if defined(FIXME_SERVER_SMARTCARD) && defined(USE_SMARTCARD) +%:undef USE_SMARTCARD +#endif + diff --git a/tizen/distrib/remote/common/spice-common/configure b/tizen/distrib/remote/common/spice-common/configure new file mode 100755 index 0000000..1251c66 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/configure @@ -0,0 +1,16583 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.69 for spice-common noversion. +# +# Report bugs to <spice-devel@lists.freedesktop.org>. +# +# +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. +# +# +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +# Use a proper internal environment variable to ensure we don't fall + # into an infinite loop, continuously re-executing ourselves. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then + _as_can_reexec=no; export _as_can_reexec; + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +as_fn_exit 255 + fi + # We don't want this to propagate to other subprocesses. + { _as_can_reexec=; unset _as_can_reexec;} +if test "x$CONFIG_SHELL" = x; then + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi +" + as_required="as_fn_return () { (exit \$1); } +as_fn_success () { as_fn_return 0; } +as_fn_failure () { as_fn_return 1; } +as_fn_ret_success () { return 0; } +as_fn_ret_failure () { return 1; } + +exitcode=0 +as_fn_success || { exitcode=1; echo as_fn_success failed.; } +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : + +else + exitcode=1; echo positional parameters were not saved. +fi +test x\$exitcode = x0 || exit 1 +test -x / || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 + + test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO + PATH=/empty FPATH=/empty; export PATH FPATH + test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ + || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 +test \$(( 1 + 1 )) = 2 || exit 1" + if (eval "$as_required") 2>/dev/null; then : + as_have_required=yes +else + as_have_required=no +fi + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + as_found=: + case $as_dir in #( + /*) + for as_base in sh bash ksh sh5; do + # Try only shells that exist, to save several forks. + as_shell=$as_dir/$as_base + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + CONFIG_SHELL=$as_shell as_have_required=yes + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + break 2 +fi +fi + done;; + esac + as_found=false +done +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi; } +IFS=$as_save_IFS + + + if test "x$CONFIG_SHELL" != x; then : + export CONFIG_SHELL + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 +fi + + if test x$as_have_required = xno; then : + $as_echo "$0: This script requires a shell more modern than all" + $as_echo "$0: the shells that I found on your system." + if test x${ZSH_VERSION+set} = xset ; then + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" + $as_echo "$0: be upgraded to zsh 4.3.4 or later." + else + $as_echo "$0: Please tell bug-autoconf@gnu.org and +$0: spice-devel@lists.freedesktop.org about your system, +$0: including any error possibly output before this +$0: message. Then install a modern shell, or manually run +$0: the script under such a shell if you do have one." + fi + exit 1 +fi +fi +fi +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +# Unset more variables known to interfere with behavior of common tools. +CLICOLOR_FORCE= GREP_OPTIONS= +unset CLICOLOR_FORCE GREP_OPTIONS + +## --------------------- ## +## M4sh Shell Functions. ## +## --------------------- ## +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + + + as_lineno_1=$LINENO as_lineno_1a=$LINENO + as_lineno_2=$LINENO as_lineno_2a=$LINENO + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have + # already done that, so ensure we don't try to do so again and fall + # in an infinite loop. This has already happened in practice. + _as_can_reexec=no; export _as_can_reexec + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi +else + as_ln_s='cp -pR' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +as_test_x='test -x' +as_executable_p=as_fn_executable_p + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + +SHELL=${CONFIG_SHELL-/bin/sh} + + +test -n "$DJDIR" || exec 7<&0 </dev/null +exec 6>&1 + +# Name of the host. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_clean_files= +ac_config_libobj_dir=. +LIBOBJS= +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= + +# Identity of this package. +PACKAGE_NAME='spice-common' +PACKAGE_TARNAME='spice-common' +PACKAGE_VERSION='noversion' +PACKAGE_STRING='spice-common noversion' +PACKAGE_BUGREPORT='spice-devel@lists.freedesktop.org' +PACKAGE_URL='' + +ac_unique_file="common/bitops.h" +# Factoring default headers for most tests. +ac_includes_default="\ +#include <stdio.h> +#ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif +#ifdef HAVE_SYS_STAT_H +# include <sys/stat.h> +#endif +#ifdef STDC_HEADERS +# include <stdlib.h> +# include <stddef.h> +#else +# ifdef HAVE_STDLIB_H +# include <stdlib.h> +# endif +#endif +#ifdef HAVE_STRING_H +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H +# include <memory.h> +# endif +# include <string.h> +#endif +#ifdef HAVE_STRINGS_H +# include <strings.h> +#endif +#ifdef HAVE_INTTYPES_H +# include <inttypes.h> +#endif +#ifdef HAVE_STDINT_H +# include <stdint.h> +#endif +#ifdef HAVE_UNISTD_H +# include <unistd.h> +#endif" + +enable_option_checking=no +ac_subst_vars='am__EXEEXT_FALSE +am__EXEEXT_TRUE +LTLIBOBJS +OS_WIN32_FALSE +OS_WIN32_TRUE +LIBOBJS +ALLOCA +XMKMF +GL_LIBS +GL_CFLAGS +SUPPORT_GL_FALSE +SUPPORT_GL_TRUE +SMARTCARD_LIBS +SMARTCARD_CFLAGS +WITH_SMARTCARD_FALSE +WITH_SMARTCARD_TRUE +PIXMAN_LIBS +PIXMAN_CFLAGS +PKG_CONFIG_LIBDIR +PKG_CONFIG_PATH +PKG_CONFIG +PROTOCOL_CFLAGS +subdirs +CPP +OTOOL64 +OTOOL +LIPO +NMEDIT +DSYMUTIL +MANIFEST_TOOL +RANLIB +DLLTOOL +OBJDUMP +LN_S +NM +ac_ct_DUMPBIN +DUMPBIN +LD +FGREP +EGREP +GREP +SED +host_os +host_vendor +host_cpu +host +build_os +build_vendor +build_cpu +build +LIBTOOL +MAINT +MAINTAINER_MODE_FALSE +MAINTAINER_MODE_TRUE +AM_BACKSLASH +AM_DEFAULT_VERBOSITY +AM_DEFAULT_V +AM_V +am__fastdepCC_FALSE +am__fastdepCC_TRUE +CCDEPMODE +am__nodep +AMDEPBACKSLASH +AMDEP_FALSE +AMDEP_TRUE +am__quote +am__include +DEPDIR +am__untar +am__tar +AMTAR +am__leading_dot +SET_MAKE +AWK +mkdir_p +MKDIR_P +INSTALL_STRIP_PROGRAM +STRIP +install_sh +MAKEINFO +AUTOHEADER +AUTOMAKE +AUTOCONF +ACLOCAL +VERSION +PACKAGE +CYGPATH_W +am__isrc +INSTALL_DATA +INSTALL_SCRIPT +INSTALL_PROGRAM +OBJEXT +EXEEXT +ac_ct_CC +CPPFLAGS +LDFLAGS +CFLAGS +CC +ac_ct_AR +AR +target_alias +host_alias +build_alias +LIBS +ECHO_T +ECHO_N +ECHO_C +DEFS +mandir +localedir +libdir +psdir +pdfdir +dvidir +htmldir +infodir +docdir +oldincludedir +includedir +localstatedir +sharedstatedir +sysconfdir +datadir +datarootdir +libexecdir +sbindir +bindir +program_transform_name +prefix +exec_prefix +PACKAGE_URL +PACKAGE_BUGREPORT +PACKAGE_STRING +PACKAGE_VERSION +PACKAGE_TARNAME +PACKAGE_NAME +PATH_SEPARATOR +SHELL' +ac_subst_files='' +ac_user_opts=' +enable_option_checking +enable_dependency_tracking +enable_silent_rules +enable_maintainer_mode +enable_shared +enable_static +with_pic +enable_fast_install +with_gnu_ld +with_sysroot +enable_libtool_lock +enable_smartcard +enable_opengl +with_x +' + ac_precious_vars='build_alias +host_alias +target_alias +CC +CFLAGS +LDFLAGS +LIBS +CPPFLAGS +CPP +PKG_CONFIG +PKG_CONFIG_PATH +PKG_CONFIG_LIBDIR +PIXMAN_CFLAGS +PIXMAN_LIBS +SMARTCARD_CFLAGS +SMARTCARD_LIBS +XMKMF' +ac_subdirs_all='spice-protocol' + +# Initialize some variables set by options. +ac_init_help= +ac_init_version=false +ac_unrecognized_opts= +ac_unrecognized_sep= +# The variables have the same names as the options, with +# dashes changed to underlines. +cache_file=/dev/null +exec_prefix=NONE +no_create= +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +verbose= +x_includes=NONE +x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. +# (The list follows the same order as the GNU Coding Standards.) +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datarootdir='${prefix}/share' +datadir='${datarootdir}' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +includedir='${prefix}/include' +oldincludedir='/usr/include' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +infodir='${datarootdir}/info' +htmldir='${docdir}' +dvidir='${docdir}' +pdfdir='${docdir}' +psdir='${docdir}' +libdir='${exec_prefix}/lib' +localedir='${datarootdir}/locale' +mandir='${datarootdir}/man' + +ac_prev= +ac_dashdash= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval $ac_prev=\$ac_option + ac_prev= + continue + fi + + case $ac_option in + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *=) ac_optarg= ;; + *) ac_optarg=yes ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case $ac_dashdash$ac_option in + --) + ac_dashdash=yes ;; + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir=$ac_optarg ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build_alias=$ac_optarg ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=*) + datadir=$ac_optarg ;; + + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ + | --dataroo | --dataro | --datar) + ac_prev=datarootdir ;; + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) + datarootdir=$ac_optarg ;; + + -disable-* | --disable-*) + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=no ;; + + -docdir | --docdir | --docdi | --doc | --do) + ac_prev=docdir ;; + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) + docdir=$ac_optarg ;; + + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) + ac_prev=dvidir ;; + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) + dvidir=$ac_optarg ;; + + -enable-* | --enable-*) + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=\$ac_optarg ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; + + -host | --host | --hos | --ho) + ac_prev=host_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + host_alias=$ac_optarg ;; + + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) + ac_prev=htmldir ;; + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ + | --ht=*) + htmldir=$ac_optarg ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir=$ac_optarg ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir=$ac_optarg ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir=$ac_optarg ;; + + -localedir | --localedir | --localedi | --localed | --locale) + ac_prev=localedir ;; + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) + localedir=$ac_optarg ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst | --locals) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) + localstatedir=$ac_optarg ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir=$ac_optarg ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix=$ac_optarg ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix=$ac_optarg ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name=$ac_optarg ;; + + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) + ac_prev=pdfdir ;; + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) + pdfdir=$ac_optarg ;; + + -psdir | --psdir | --psdi | --psd | --ps) + ac_prev=psdir ;; + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) + psdir=$ac_optarg ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir=$ac_optarg ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir=$ac_optarg ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=\$ac_optarg ;; + + -without-* | --without-*) + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=no ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes=$ac_optarg ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + + -*) as_fn_error $? "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information" + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + case $ac_envvar in #( + '' | [0-9]* | *[!_$as_cr_alnum]* ) + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; + esac + eval $ac_envvar=\$ac_optarg + export $ac_envvar ;; + + *) + # FIXME: should be removed in autoconf 3.0. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" + ;; + + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + as_fn_error $? "missing argument to $ac_option" +fi + +if test -n "$ac_unrecognized_opts"; then + case $enable_option_checking in + no) ;; + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + esac +fi + +# Check all directory arguments for consistency. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ + datadir sysconfdir sharedstatedir localstatedir includedir \ + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ + libdir localedir mandir +do + eval ac_val=\$$ac_var + # Remove trailing slashes. + case $ac_val in + */ ) + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` + eval $ac_var=\$ac_val;; + esac + # Be sure to have absolute directory names. + case $ac_val in + [\\/$]* | ?:[\\/]* ) continue;; + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; + esac + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" +done + +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +ac_pwd=`pwd` && test -n "$ac_pwd" && +ac_ls_di=`ls -di .` && +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || + as_fn_error $? "working directory cannot be determined" +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || + as_fn_error $? "pwd does not report name of working directory" + + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then the parent directory. + ac_confdir=`$as_dirname -- "$as_myself" || +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_myself" : 'X\(//\)[^/]' \| \ + X"$as_myself" : 'X\(//\)$' \| \ + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_myself" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + srcdir=$ac_confdir + if test ! -r "$srcdir/$ac_unique_file"; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r "$srcdir/$ac_unique_file"; then + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" +fi +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_abs_confdir=`( + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" + pwd)` +# When building in place, set srcdir=. +if test "$ac_abs_confdir" = "$ac_pwd"; then + srcdir=. +fi +# Remove unnecessary trailing slashes from srcdir. +# Double slashes in file names in object file debugging info +# mess up M-x gdb in Emacs. +case $srcdir in +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; +esac +for ac_var in $ac_precious_vars; do + eval ac_env_${ac_var}_set=\${${ac_var}+set} + eval ac_env_${ac_var}_value=\$${ac_var} + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} + eval ac_cv_env_${ac_var}_value=\$${ac_var} +done + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures spice-common noversion to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking ...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root [DATAROOTDIR/doc/spice-common] + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] +_ACEOF + + cat <<\_ACEOF + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names + +X features: + --x-includes=DIR X include files are in DIR + --x-libraries=DIR X library files are in DIR + +System types: + --build=BUILD configure for building on BUILD [guessed] + --host=HOST cross-compile to build programs to run on HOST [BUILD] +_ACEOF +fi + +if test -n "$ac_init_help"; then + case $ac_init_help in + short | recursive ) echo "Configuration of spice-common noversion:";; + esac + cat <<\_ACEOF + +Optional Features: + --disable-option-checking ignore unrecognized --enable/--with options + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-dependency-tracking + do not reject slow dependency extractors + --disable-dependency-tracking + speeds up one-time build + --enable-silent-rules less verbose build output (undo: "make V=1") + --disable-silent-rules verbose build output (undo: "make V=0") + --enable-maintainer-mode + enable make rules and dependencies not useful (and + sometimes confusing) to the casual installer + --enable-shared[=PKGS] build shared libraries [default=yes] + --enable-static[=PKGS] build static libraries [default=yes] + --enable-fast-install[=PKGS] + optimize for fast installation [default=yes] + --disable-libtool-lock avoid locking (might break parallel builds) + --enable-smartcard=[yes/no] + Enable smartcard support [default=yes] + --enable-opengl=[yes/no] + Enable opengl support (not recommended) [default=no] + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use + both] + --with-gnu-ld assume the C compiler uses GNU ld [default=no] + --with-sysroot=DIR Search for dependent libraries within DIR + (or the compiler's sysroot if not specified). + --with-x use the X Window System + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a + nonstandard directory <lib dir> + LIBS libraries to pass to the linker, e.g. -l<library> + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if + you have headers in a nonstandard directory <include dir> + CPP C preprocessor + PKG_CONFIG path to pkg-config utility + PKG_CONFIG_PATH + directories to add to pkg-config's search path + PKG_CONFIG_LIBDIR + path overriding pkg-config's built-in search path + PIXMAN_CFLAGS + C compiler flags for PIXMAN, overriding pkg-config + PIXMAN_LIBS linker flags for PIXMAN, overriding pkg-config + SMARTCARD_CFLAGS + C compiler flags for SMARTCARD, overriding pkg-config + SMARTCARD_LIBS + linker flags for SMARTCARD, overriding pkg-config + XMKMF Path to xmkmf, Makefile generator for X Window System + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +Report bugs to <spice-devel@lists.freedesktop.org>. +_ACEOF +ac_status=$? +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d "$ac_dir" || + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || + continue + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + cd "$ac_dir" || { ac_status=$?; continue; } + # Check for guested configure. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_srcdir/configure"; then + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done +fi + +test -n "$ac_init_help" && exit $ac_status +if $ac_init_version; then + cat <<\_ACEOF +spice-common configure noversion +generated by GNU Autoconf 2.69 + +Copyright (C) 2012 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit +fi + +## ------------------------ ## +## Autoconf initialization. ## +## ------------------------ ## + +# ac_fn_c_try_compile LINENO +# -------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_compile + +# ac_fn_c_try_link LINENO +# ----------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + test -x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_link + +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + +# ac_fn_c_try_cpp LINENO +# ---------------------- +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_cpp () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } > conftest.i && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_cpp + +# ac_fn_c_try_run LINENO +# ---------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +# that executables *can* be run. +ac_fn_c_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + ac_retval=0 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_run + +# ac_fn_c_check_func LINENO FUNC VAR +# ---------------------------------- +# Tests whether FUNC exists, setting the cache variable VAR accordingly +ac_fn_c_check_func () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Define $2 to an innocuous variant, in case <limits.h> declares $2. + For example, HP-UX 11i <limits.h> declares gettimeofday. */ +#define $2 innocuous_$2 + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $2 (); below. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + <limits.h> exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include <limits.h> +#else +# include <assert.h> +#endif + +#undef $2 + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $2 (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$2 || defined __stub___$2 +choke me +#endif + +int +main () +{ +return $2 (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_func + +# ac_fn_c_check_type LINENO TYPE VAR INCLUDES +# ------------------------------------------- +# Tests whether TYPE exists after having included INCLUDES, setting cache +# variable VAR accordingly. +ac_fn_c_check_type () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=no" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +if (sizeof ($2)) + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +if (sizeof (($2))) + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + eval "$3=yes" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_type + +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists, giving a warning if it cannot be compiled using +# the include files in INCLUDES and setting the cache variable VAR +# accordingly. +ac_fn_c_check_header_mongrel () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if eval \${$3+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 +$as_echo_n "checking $2 usability... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_header_compiler=yes +else + ac_header_compiler=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 +$as_echo_n "checking $2 presence... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <$2> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ac_header_preproc=yes +else + ac_header_preproc=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( + yes:no: ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; + no:yes:* ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} +( $as_echo "## ------------------------------------------------ ## +## Report this to spice-devel@lists.freedesktop.org ## +## ------------------------------------------------ ##" + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=\$ac_header_compiler" +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_mongrel + +# ac_fn_c_find_intX_t LINENO BITS VAR +# ----------------------------------- +# Finds a signed integer type with width BITS, setting cache variable VAR +# accordingly. +ac_fn_c_find_intX_t () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 +$as_echo_n "checking for int$2_t... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=no" + # Order is important - never check a type that is potentially smaller + # than half of the expected target width. + for ac_type in int$2_t 'int' 'long int' \ + 'long long int' 'short int' 'signed char'; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default + enum { N = $2 / 2 - 1 }; +int +main () +{ +static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; +test_array [0] = 0; +return test_array [0]; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default + enum { N = $2 / 2 - 1 }; +int +main () +{ +static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) + < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; +test_array [0] = 0; +return test_array [0]; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + case $ac_type in #( + int$2_t) : + eval "$3=yes" ;; #( + *) : + eval "$3=\$ac_type" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if eval test \"x\$"$3"\" = x"no"; then : + +else + break +fi + done +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_find_intX_t + +# ac_fn_c_find_uintX_t LINENO BITS VAR +# ------------------------------------ +# Finds an unsigned integer type with width BITS, setting cache variable VAR +# accordingly. +ac_fn_c_find_uintX_t () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 +$as_echo_n "checking for uint$2_t... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=no" + # Order is important - never check a type that is potentially smaller + # than half of the expected target width. + for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ + 'unsigned long long int' 'unsigned short int' 'unsigned char'; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; +test_array [0] = 0; +return test_array [0]; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + case $ac_type in #( + uint$2_t) : + eval "$3=yes" ;; #( + *) : + eval "$3=\$ac_type" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if eval test \"x\$"$3"\" = x"no"; then : + +else + break +fi + done +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_find_uintX_t +cat >config.log <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by spice-common $as_me noversion, which was +generated by GNU Autoconf 2.69. Invocation command line was + + $ $0 $@ + +_ACEOF +exec 5>>config.log +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + $as_echo "PATH: $as_dir" + done +IFS=$as_save_IFS + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *\'*) + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; + 2) + as_fn_append ac_configure_args1 " '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + as_fn_append ac_configure_args " '$ac_arg'" + ;; + esac + done +done +{ ac_configure_args0=; unset ac_configure_args0;} +{ ac_configure_args1=; unset ac_configure_args1;} + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Use '\'' to represent an apostrophe within the trap. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + $as_echo "## ---------------- ## +## Cache variables. ## +## ---------------- ##" + echo + # The following way of writing the cache mishandles newlines in values, +( + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + (set) 2>&1 | + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + sed -n \ + "s/'\''/'\''\\\\'\'''\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + ;; #( + *) + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) + echo + + $as_echo "## ----------------- ## +## Output variables. ## +## ----------------- ##" + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + + if test -n "$ac_subst_files"; then + $as_echo "## ------------------- ## +## File substitutions. ## +## ------------------- ##" + echo + for ac_var in $ac_subst_files + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then + $as_echo "## ----------- ## +## confdefs.h. ## +## ----------- ##" + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + $as_echo "$as_me: caught signal $ac_signal" + $as_echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status +' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -f -r conftest* confdefs.h + +$as_echo "/* confdefs.h */" > confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_URL "$PACKAGE_URL" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer an explicitly selected file to automatically selected ones. +ac_site_file1=NONE +ac_site_file2=NONE +if test -n "$CONFIG_SITE"; then + # We do not want a PATH search for config.site. + case $CONFIG_SITE in #(( + -*) ac_site_file1=./$CONFIG_SITE;; + */*) ac_site_file1=$CONFIG_SITE;; + *) ac_site_file1=./$CONFIG_SITE;; + esac +elif test "x$prefix" != xNONE; then + ac_site_file1=$prefix/share/config.site + ac_site_file2=$prefix/etc/config.site +else + ac_site_file1=$ac_default_prefix/share/config.site + ac_site_file2=$ac_default_prefix/etc/config.site +fi +for ac_site_file in "$ac_site_file1" "$ac_site_file2" +do + test "x$ac_site_file" = xNONE && continue + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +$as_echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" \ + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "failed to load site script $ac_site_file +See \`config.log' for more details" "$LINENO" 5; } + fi +done + +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special files + # actually), so we avoid doing that. DJGPP emulates it as a regular file. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +$as_echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; + *) . "./$cache_file";; + esac + fi +else + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +$as_echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in $ac_precious_vars; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val=\$ac_cv_env_${ac_var}_value + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + # differences in whitespace do not lead to failure. + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + ac_cache_corrupted=: + else + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) as_fn_append ac_configure_args " '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 +fi +## -------------------- ## +## Main body of script. ## +## -------------------- ## + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + + + +ac_config_headers="$ac_config_headers config.h" + +ac_aux_dir= +for ac_dir in build-aux "$srcdir"/build-aux; do + if test -f "$ac_dir/install-sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f "$ac_dir/install.sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f "$ac_dir/shtool"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi +done +if test -z "$ac_aux_dir"; then + as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + + +# For automake >= 1.12 +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +$as_echo_n "checking whether the C compiler works... " >&6; } +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` + +# The possible output files: +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" + +ac_rmfiles= +for ac_file in $ac_files +do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + * ) ac_rmfiles="$ac_rmfiles $ac_file";; + esac +done +rm -f $ac_rmfiles + +if { { ac_try="$ac_link_default" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' +# in a Makefile. We should not override ac_cv_exeext if it was cached, +# so that the user can short-circuit this test for compilers unknown to +# Autoconf. +for ac_file in $ac_files '' +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + fi + # We set ac_cv_exeext here because the later test for it is not + # safe: cross compilers may not add the suffix if given an `-o' + # argument, so we may need to know it at that point already. + # Even if this section looks crufty: it has the advantage of + # actually working. + break;; + * ) + break;; + esac +done +test "$ac_cv_exeext" = no && ac_cv_exeext= + +else + ac_file='' +fi +if test -z "$ac_file"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +$as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "C compiler cannot create executables +See \`config.log' for more details" "$LINENO" 5; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +$as_echo_n "checking for C compiler default output file name... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +$as_echo "$ac_file" >&6; } +ac_exeext=$ac_cv_exeext + +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +$as_echo_n "checking for suffix of executables... " >&6; } +if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + break;; + * ) break;; + esac +done +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest conftest$ac_cv_exeext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +$as_echo "$ac_cv_exeext" >&6; } + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdio.h> +int +main () +{ +FILE *f = fopen ("conftest.out", "w"); + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +ac_clean_files="$ac_clean_files conftest.out" +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } +if test "$cross_compiling" != yes; then + { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if { ac_try='./conftest$ac_cv_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details" "$LINENO" 5; } + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } + +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +$as_echo_n "checking for suffix of object files... " >&6; } +if ${ac_cv_objext+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of object files: cannot compile +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +$as_echo "$ac_cv_objext" >&6; } +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if ${ac_cv_c_compiler_gnu+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if ${ac_cv_prog_cc_g+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdarg.h> +#include <stdio.h> +struct stat; +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +if test -n "$ac_tool_prefix"; then + for ac_prog in ar lib "link -lib" + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AR="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +$as_echo "$AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AR" && break + done +fi +if test -z "$AR"; then + ac_ct_AR=$AR + for ac_prog in ar lib "link -lib" +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_AR="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 +$as_echo "$ac_ct_AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_AR" && break +done + + if test "x$ac_ct_AR" = x; then + AR="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + AR=$ac_ct_AR + fi +fi + +: ${AR=ar} + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 +$as_echo_n "checking the archiver ($AR) interface... " >&6; } +if ${am_cv_ar_interface+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_ar_interface=ar + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int some_variable = 0; +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 + (eval $am_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test "$ac_status" -eq 0; then + am_cv_ar_interface=ar + else + am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 + (eval $am_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test "$ac_status" -eq 0; then + am_cv_ar_interface=lib + else + am_cv_ar_interface=unknown + fi + fi + rm -f conftest.lib libconftest.a + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 +$as_echo "$am_cv_ar_interface" >&6; } + +case $am_cv_ar_interface in +ar) + ;; +lib) + # Microsoft lib, so override with the ar-lib wrapper script. + # FIXME: It is wrong to rewrite AR. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__AR in this case, + # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something + # similar. + AR="$am_aux_dir/ar-lib $AR" + ;; +unknown) + as_fn_error $? "could not determine $AR interface" "$LINENO" 5 + ;; +esac + + +# Checks for programs +am__api_version='1.13' + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +# Reject install programs that cannot install multiple files. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +$as_echo_n "checking for a BSD-compatible install... " >&6; } +if test -z "$INSTALL"; then +if ${ac_cv_path_install+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in #(( + ./ | .// | /[cC]/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + rm -rf conftest.one conftest.two conftest.dir + echo one > conftest.one + echo two > conftest.two + mkdir conftest.dir + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + test -s conftest.one && test -s conftest.two && + test -s conftest.dir/conftest.one && + test -s conftest.dir/conftest.two + then + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + fi + done + done + ;; +esac + + done +IFS=$as_save_IFS + +rm -rf conftest.one conftest.two conftest.dir + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + INSTALL=$ac_install_sh + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +$as_echo "$INSTALL" >&6; } + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 +$as_echo_n "checking whether build environment is sane... " >&6; } +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[\\\"\#\$\&\'\`$am_lf]*) + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; +esac +case $srcdir in + *[\\\"\#\$\&\'\`$am_lf\ \ ]*) + as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; +esac + +# Do 'set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + am_has_slept=no + for am_try in 1 2; do + echo "timestamp, slept: $am_has_slept" > conftest.file + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken + alias in your environment" "$LINENO" 5 + fi + if test "$2" = conftest.file || test $am_try -eq 2; then + break + fi + # Just in case. + sleep 1 + am_has_slept=yes + done + test "$2" = conftest.file + ) +then + # Ok. + : +else + as_fn_error $? "newly created file is older than distributed files! +Check your system clock" "$LINENO" 5 +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +# If we didn't sleep, we still need to ensure time stamps of config.status and +# generated files are strictly newer. +am_sleep_pid= +if grep 'slept: no' conftest.file >/dev/null 2>&1; then + ( sleep 1 ) & + am_sleep_pid=$! +fi + +rm -f conftest.file + +test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s&\$&$program_suffix&;$program_transform_name" +# Double any \ or $. +# By default was `s,x,x', remove it if useless. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` + +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --is-lightweight"; then + am_missing_run="$MISSING " +else + am_missing_run= + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 +$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} +fi + +if test x"${install_sh}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi + +# Installed binaries are usually stripped using 'strip' when the user +# run "make install-strip". However 'strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the 'STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } +if test -z "$MKDIR_P"; then + if ${ac_cv_path_mkdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in mkdir gmkdir; do + for ac_exec_ext in '' $ac_executable_extensions; do + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( + 'mkdir (GNU coreutils) '* | \ + 'mkdir (coreutils) '* | \ + 'mkdir (fileutils) '4.1*) + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext + break 3;; + esac + done + done + done +IFS=$as_save_IFS + +fi + + test -d ./--version && rmdir ./--version + if test "${ac_cv_path_mkdir+set}" = set; then + MKDIR_P="$ac_cv_path_mkdir -p" + else + # As a last resort, use the slow shell script. Don't cache a + # value for MKDIR_P within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + MKDIR_P="$ac_install_sh -d" + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 +$as_echo "$MKDIR_P" >&6; } + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AWK+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AWK" && break +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null + +DEPDIR="${am__leading_dot}deps" + +ac_config_commands="$ac_config_commands depfiles" + + +am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo this is the am__doit target +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 +$as_echo_n "checking for style of include used by $am_make... " >&6; } +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# Ignore all kinds of additional output from 'make'. +case `$am_make -s -f confmf 2> /dev/null` in #( +*the\ am__doit\ target*) + am__include=include + am__quote= + _am_result=GNU + ;; +esac +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + case `$am_make -s -f confmf 2> /dev/null` in #( + *the\ am__doit\ target*) + am__include=.include + am__quote="\"" + _am_result=BSD + ;; + esac +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 +$as_echo "$_am_result" >&6; } +rm -f confinc confmf + +# Check whether --enable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then : + enableval=$enable_dependency_tracking; +fi + +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' + am__nodep='_no' +fi + if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +fi + + +# Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" = set; then : + enableval=$enable_silent_rules; +fi + +case $enable_silent_rules in # ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=1;; +esac +am_make=${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AM_BACKSLASH='\' + +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + am__isrc=' -I$(srcdir)' + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi + + +# Define the identity of the package. + PACKAGE='spice-common' + VERSION='noversion' + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE "$PACKAGE" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define VERSION "$VERSION" +_ACEOF + +# Some tools Automake needs. + +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} + + +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} + + +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} + + +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} + + +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + +# For better backward compatibility. To be removed once Automake 1.9.x +# dies out for good. For more background, see: +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> +mkdir_p='$(MKDIR_P)' + +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AMTAR='$${TAR-tar}' + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 +$as_echo_n "checking how to create a ustar tar archive... " >&6; } +# Loop over all known methods to create a tar archive until one works. +_am_tools='gnutar plaintar pax cpio none' +_am_tools=${am_cv_prog_tar_ustar-$_am_tools} +# Do not fold the above two line into one, because Tru64 sh and +# Solaris sh will not grok spaces in the rhs of '-'. +for _am_tool in $_am_tools +do + case $_am_tool in + gnutar) + for _am_tar in tar gnutar gtar; + do + { echo "$as_me:$LINENO: $_am_tar --version" >&5 + ($_am_tar --version) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && break + done + am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' + am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' + am__untar="$_am_tar -xf -" + ;; + plaintar) + # Must skip GNU tar: if it does not support --format= it doesn't create + # ustar tarball either. + (tar --version) >/dev/null 2>&1 && continue + am__tar='tar chf - "$$tardir"' + am__tar_='tar chf - "$tardir"' + am__untar='tar xf -' + ;; + pax) + am__tar='pax -L -x ustar -w "$$tardir"' + am__tar_='pax -L -x ustar -w "$tardir"' + am__untar='pax -r' + ;; + cpio) + am__tar='find "$$tardir" -print | cpio -o -H ustar -L' + am__tar_='find "$tardir" -print | cpio -o -H ustar -L' + am__untar='cpio -i -H ustar -d' + ;; + none) + am__tar=false + am__tar_=false + am__untar=false + ;; + esac + + # If the value was cached, stop now. We just wanted to have am__tar + # and am__untar set. + test -n "${am_cv_prog_tar_ustar}" && break + + # tar/untar a dummy directory, and stop if the command works + rm -rf conftest.dir + mkdir conftest.dir + echo GrepMe > conftest.dir/file + { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 + (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + rm -rf conftest.dir + if test -s conftest.tar; then + { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 + ($am__untar <conftest.tar) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break + fi +done +rm -rf conftest.dir + +if ${am_cv_prog_tar_ustar+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_prog_tar_ustar=$_am_tool +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 +$as_echo "$am_cv_prog_tar_ustar" >&6; } + + + + +depcc="$CC" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if ${am_cv_CC_dependencies_compiler_type+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + am__universal=false + case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with '-c' and '-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 +$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } + # Check whether --enable-maintainer-mode was given. +if test "${enable_maintainer_mode+set}" = set; then : + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval +else + USE_MAINTAINER_MODE=no +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 +$as_echo "$USE_MAINTAINER_MODE" >&6; } + if test $USE_MAINTAINER_MODE = yes; then + MAINTAINER_MODE_TRUE= + MAINTAINER_MODE_FALSE='#' +else + MAINTAINER_MODE_TRUE='#' + MAINTAINER_MODE_FALSE= +fi + + MAINT=$MAINTAINER_MODE_TRUE + + +# Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" = set; then : + enableval=$enable_silent_rules; +fi + +case $enable_silent_rules in # ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=0;; +esac +am_make=${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AM_BACKSLASH='\' + +case `pwd` in + *\ * | *\ *) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; +esac + + + +macro_version='2.4.2' +macro_revision='1.3337' + + + + + + + + + + + + + +ltmain="$ac_aux_dir/ltmain.sh" + +# Make sure we can run config.sub. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 +$as_echo_n "checking build system type... " >&6; } +if ${ac_cv_build+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_build_alias=$build_alias +test "x$ac_build_alias" = x && + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` +test "x$ac_build_alias" = x && + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +$as_echo "$ac_cv_build" >&6; } +case $ac_cv_build in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; +esac +build=$ac_cv_build +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_build +shift +build_cpu=$1 +build_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +build_os=$* +IFS=$ac_save_IFS +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 +$as_echo_n "checking host system type... " >&6; } +if ${ac_cv_host+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "x$host_alias" = x; then + ac_cv_host=$ac_cv_build +else + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +$as_echo "$ac_cv_host" >&6; } +case $ac_cv_host in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; +esac +host=$ac_cv_host +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_host +shift +host_cpu=$1 +host_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +host_os=$* +IFS=$ac_save_IFS +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac + + +# Backslashify metacharacters that are still active within +# double-quoted strings. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\(["`\\]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to delay expansion of an escaped single quote. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 +$as_echo_n "checking how to print strings... " >&6; } +# Test print first, because it will be a builtin if present. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='print -r --' +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='printf %s\n' +else + # Use this function as a fallback that always works. + func_fallback_echo () + { + eval 'cat <<_LTECHO_EOF +$1 +_LTECHO_EOF' + } + ECHO='func_fallback_echo' +fi + +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "" +} + +case "$ECHO" in + printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 +$as_echo "printf" >&6; } ;; + print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 +$as_echo "print -r" >&6; } ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 +$as_echo "cat" >&6; } ;; +esac + + + + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 +$as_echo_n "checking for a sed that does not truncate output... " >&6; } +if ${ac_cv_path_SED+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ + for ac_i in 1 2 3 4 5 6 7; do + ac_script="$ac_script$as_nl$ac_script" + done + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed + { ac_script=; unset ac_script;} + if test -z "$SED"; then + ac_path_SED_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_SED" || continue +# Check for GNU ac_path_SED and select it if it is found. + # Check for GNU $ac_path_SED +case `"$ac_path_SED" --version 2>&1` in +*GNU*) + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo '' >> "conftest.nl" + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_SED_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_SED="$ac_path_SED" + ac_path_SED_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_SED_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_SED"; then + as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 + fi +else + ac_cv_path_SED=$SED +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 +$as_echo "$ac_cv_path_SED" >&6; } + SED="$ac_cv_path_SED" + rm -f conftest.sed + +test -z "$SED" && SED=sed +Xsed="$SED -e 1s/^X//" + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; } +if ${ac_cv_path_GREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$GREP"; then + ac_path_GREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in grep ggrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_GREP" || continue +# Check for GNU ac_path_GREP and select it if it is found. + # Check for GNU $ac_path_GREP +case `"$ac_path_GREP" --version 2>&1` in +*GNU*) + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_GREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_GREP="$ac_path_GREP" + ac_path_GREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_GREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_GREP"; then + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_GREP=$GREP +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 +$as_echo "$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +$as_echo_n "checking for egrep... " >&6; } +if ${ac_cv_path_EGREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 + then ac_cv_path_EGREP="$GREP -E" + else + if test -z "$EGREP"; then + ac_path_EGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_EGREP" || continue +# Check for GNU ac_path_EGREP and select it if it is found. + # Check for GNU $ac_path_EGREP +case `"$ac_path_EGREP" --version 2>&1` in +*GNU*) + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_EGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP="$ac_path_EGREP" + ac_path_EGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_EGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_EGREP"; then + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_EGREP=$EGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 +$as_echo "$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 +$as_echo_n "checking for fgrep... " >&6; } +if ${ac_cv_path_FGREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 + then ac_cv_path_FGREP="$GREP -F" + else + if test -z "$FGREP"; then + ac_path_FGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in fgrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_FGREP" || continue +# Check for GNU ac_path_FGREP and select it if it is found. + # Check for GNU $ac_path_FGREP +case `"$ac_path_FGREP" --version 2>&1` in +*GNU*) + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'FGREP' >> "conftest.nl" + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_FGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_FGREP="$ac_path_FGREP" + ac_path_FGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_FGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_FGREP"; then + as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_FGREP=$FGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 +$as_echo "$ac_cv_path_FGREP" >&6; } + FGREP="$ac_cv_path_FGREP" + + +test -z "$GREP" && GREP=grep + + + + + + + + + + + + + + + + + + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 +$as_echo_n "checking for ld used by $CC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | ?:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if ${lt_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in + *GNU* | *'with BFD'*) + test "$with_gnu_ld" != no && break + ;; + *) + test "$with_gnu_ld" != yes && break + ;; + esac + fi + done + IFS="$lt_save_ifs" +else + lt_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$lt_cv_path_LD" +if test -n "$LD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if ${lt_cv_prog_gnu_ld+:} false; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU lds only accept -v. +case `$LD -v 2>&1 </dev/null` in +*GNU* | *'with BFD'*) + lt_cv_prog_gnu_ld=yes + ;; +*) + lt_cv_prog_gnu_ld=no + ;; +esac +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 +$as_echo "$lt_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$lt_cv_prog_gnu_ld + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } +if ${lt_cv_path_NM+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_nm_to_check="${ac_tool_prefix}nm" + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then + lt_nm_to_check="$lt_nm_to_check nm" + fi + for lt_tmp_nm in $lt_nm_to_check; do + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/$lt_tmp_nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + ;; + esac + fi + done + IFS="$lt_save_ifs" + done + : ${lt_cv_path_NM=no} +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 +$as_echo "$lt_cv_path_NM" >&6; } +if test "$lt_cv_path_NM" != "no"; then + NM="$lt_cv_path_NM" +else + # Didn't find any BSD compatible name lister, look for dumpbin. + if test -n "$DUMPBIN"; then : + # Let the user override the test. + else + if test -n "$ac_tool_prefix"; then + for ac_prog in dumpbin "link -dump" + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_DUMPBIN+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$DUMPBIN"; then + ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +DUMPBIN=$ac_cv_prog_DUMPBIN +if test -n "$DUMPBIN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 +$as_echo "$DUMPBIN" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$DUMPBIN" && break + done +fi +if test -z "$DUMPBIN"; then + ac_ct_DUMPBIN=$DUMPBIN + for ac_prog in dumpbin "link -dump" +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_DUMPBIN"; then + ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN +if test -n "$ac_ct_DUMPBIN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 +$as_echo "$ac_ct_DUMPBIN" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_DUMPBIN" && break +done + + if test "x$ac_ct_DUMPBIN" = x; then + DUMPBIN=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + DUMPBIN=$ac_ct_DUMPBIN + fi +fi + + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in + *COFF*) + DUMPBIN="$DUMPBIN -symbols" + ;; + *) + DUMPBIN=: + ;; + esac + fi + + if test "$DUMPBIN" != ":"; then + NM="$DUMPBIN" + fi +fi +test -z "$NM" && NM=nm + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 +$as_echo_n "checking the name lister ($NM) interface... " >&6; } +if ${lt_cv_nm_interface+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_nm_interface="BSD nm" + echo "int some_variable = 0;" > conftest.$ac_ext + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) + (eval "$ac_compile" 2>conftest.err) + cat conftest.err >&5 + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) + cat conftest.err >&5 + (eval echo "\"\$as_me:$LINENO: output\"" >&5) + cat conftest.out >&5 + if $GREP 'External.*some_variable' conftest.out > /dev/null; then + lt_cv_nm_interface="MS dumpbin" + fi + rm -f conftest* +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 +$as_echo "$lt_cv_nm_interface" >&6; } + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 +$as_echo_n "checking whether ln -s works... " >&6; } +LN_S=$as_ln_s +if test "$LN_S" = "ln -s"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 +$as_echo "no, using $LN_S" >&6; } +fi + +# find the maximum length of command line arguments +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 +$as_echo_n "checking the maximum length of command line arguments... " >&6; } +if ${lt_cv_sys_max_cmd_len+:} false; then : + $as_echo_n "(cached) " >&6 +else + i=0 + teststring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw* | cegcc*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + mint*) + # On MiNT this can take a long time and run out of memory. + lt_cv_sys_max_cmd_len=8192; + ;; + + amigaos*) + # On AmigaOS with pdksh, this test takes hours, literally. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; + ;; + + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + ;; + + interix*) + # We know the value 262144 and hardcode it with a safety zone (like BSD) + lt_cv_sys_max_cmd_len=196608 + ;; + + os2*) + # The test takes a long time on OS/2. + lt_cv_sys_max_cmd_len=8192 + ;; + + osf*) + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not + # nice to cause kernel panics so lets avoid the loop below. + # First set a reasonable default. + lt_cv_sys_max_cmd_len=16384 + # + if test -x /sbin/sysconfig; then + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in + *1*) lt_cv_sys_max_cmd_len=-1 ;; + esac + fi + ;; + sco3.2v5*) + lt_cv_sys_max_cmd_len=102400 + ;; + sysv5* | sco5v6* | sysv4.2uw2*) + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` + if test -n "$kargmax"; then + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` + else + lt_cv_sys_max_cmd_len=32768 + fi + ;; + *) + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` + if test -n "$lt_cv_sys_max_cmd_len"; then + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + else + # Make teststring a little bigger before we do anything with it. + # a 1K string should be a reasonable start. + for i in 1 2 3 4 5 6 7 8 ; do + teststring=$teststring$teststring + done + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ + = "X$teststring$teststring"; } >/dev/null 2>&1 && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + teststring=$teststring$teststring + done + # Only check the string length outside the loop. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` + teststring= + # Add a significant safety factor because C++ compilers can tack on + # massive amounts of additional arguments before passing them to the + # linker. It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + fi + ;; + esac + +fi + +if test -n $lt_cv_sys_max_cmd_len ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 +$as_echo "$lt_cv_sys_max_cmd_len" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 +$as_echo "none" >&6; } +fi +max_cmd_len=$lt_cv_sys_max_cmd_len + + + + + + +: ${CP="cp -f"} +: ${MV="mv -f"} +: ${RM="rm -f"} + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 +$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } +# Try some XSI features +xsi_shell=no +( _lt_dummy="a/b/c" + test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ + = c,a/b,b/c, \ + && eval 'test $(( 1 + 1 )) -eq 2 \ + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ + && xsi_shell=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 +$as_echo "$xsi_shell" >&6; } + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 +$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } +lt_shell_append=no +( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ + >/dev/null 2>&1 \ + && lt_shell_append=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 +$as_echo "$lt_shell_append" >&6; } + + +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + lt_unset=unset +else + lt_unset=false +fi + + + + + +# test EBCDIC or ASCII +case `echo X|tr X '\101'` in + A) # ASCII based system + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr + lt_SP2NL='tr \040 \012' + lt_NL2SP='tr \015\012 \040\040' + ;; + *) # EBCDIC based system + lt_SP2NL='tr \100 \n' + lt_NL2SP='tr \r\n \100\100' + ;; +esac + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 +$as_echo_n "checking how to convert $build file names to $host format... " >&6; } +if ${lt_cv_to_host_file_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 + ;; + esac + ;; + *-*-cygwin* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin + ;; + esac + ;; + * ) # unhandled hosts (and "normal" native builds) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; +esac + +fi + +to_host_file_cmd=$lt_cv_to_host_file_cmd +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 +$as_echo "$lt_cv_to_host_file_cmd" >&6; } + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 +$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } +if ${lt_cv_to_tool_file_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + #assume ordinary cross tools, or native build. +lt_cv_to_tool_file_cmd=func_convert_file_noop +case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 + ;; + esac + ;; +esac + +fi + +to_tool_file_cmd=$lt_cv_to_tool_file_cmd +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 +$as_echo "$lt_cv_to_tool_file_cmd" >&6; } + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 +$as_echo_n "checking for $LD option to reload object files... " >&6; } +if ${lt_cv_ld_reload_flag+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_reload_flag='-r' +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 +$as_echo "$lt_cv_ld_reload_flag" >&6; } +reload_flag=$lt_cv_ld_reload_flag +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' +case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + if test "$GCC" != yes; then + reload_cmds=false + fi + ;; + darwin*) + if test "$GCC" = yes; then + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' + else + reload_cmds='$LD$reload_flag -o $output$reload_objs' + fi + ;; +esac + + + + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. +set dummy ${ac_tool_prefix}objdump; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OBJDUMP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OBJDUMP"; then + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OBJDUMP=$ac_cv_prog_OBJDUMP +if test -n "$OBJDUMP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 +$as_echo "$OBJDUMP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OBJDUMP"; then + ac_ct_OBJDUMP=$OBJDUMP + # Extract the first word of "objdump", so it can be a program name with args. +set dummy objdump; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OBJDUMP"; then + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_OBJDUMP="objdump" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP +if test -n "$ac_ct_OBJDUMP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 +$as_echo "$ac_ct_OBJDUMP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OBJDUMP" = x; then + OBJDUMP="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OBJDUMP=$ac_ct_OBJDUMP + fi +else + OBJDUMP="$ac_cv_prog_OBJDUMP" +fi + +test -z "$OBJDUMP" && OBJDUMP=objdump + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 +$as_echo_n "checking how to recognize dependent libraries... " >&6; } +if ${lt_cv_deplibs_check_method+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_deplibs_check_method='unknown' +# Need to set the preceding variable on all platforms that support +# interlibrary dependencies. +# 'none' -- dependencies not supported. +# `unknown' -- same as none, but documents that we really don't know. +# 'pass_all' -- all dependencies passed with no checks. +# 'test_compile' -- check by making test program. +# 'file_magic [[regex]]' -- check by looking for files in library path +# which responds to the $file_magic_cmd with a given extended regex. +# If you have `file' or equivalent on your system and you're not sure +# whether `pass_all' will *always* work, you probably want this one. + +case $host_os in +aix[4-9]*) + lt_cv_deplibs_check_method=pass_all + ;; + +beos*) + lt_cv_deplibs_check_method=pass_all + ;; + +bsdi[45]*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' + lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_test_file=/shlib/libc.so + ;; + +cygwin*) + # func_win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + ;; + +mingw* | pw32*) + # Base MSYS/MinGW do not provide the 'file' command needed by + # func_win32_libid shell function, so use a weaker test based on 'objdump', + # unless we find 'file', for example because we are cross-compiling. + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. + if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + else + # Keep this pattern in sync with the one in func_win32_libid. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' + lt_cv_file_magic_cmd='$OBJDUMP -f' + fi + ;; + +cegcc*) + # use the weaker test based on 'objdump'. See mingw*. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + ;; + +darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +freebsd* | dragonfly*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +haiku*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case $host_cpu in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac + ;; + +interix[3-9]*) + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' + ;; + +irix5* | irix6* | nonstopux*) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + lt_cv_deplibs_check_method=pass_all + ;; + +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + lt_cv_deplibs_check_method=pass_all + ;; + +netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' + fi + ;; + +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +*nto* | *qnx*) + lt_cv_deplibs_check_method=pass_all + ;; + +openbsd*) + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + fi + ;; + +osf3* | osf4* | osf5*) + lt_cv_deplibs_check_method=pass_all + ;; + +rdos*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv4 | sysv4.3*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; + pc) + lt_cv_deplibs_check_method=pass_all + ;; + esac + ;; + +tpf*) + lt_cv_deplibs_check_method=pass_all + ;; +esac + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 +$as_echo "$lt_cv_deplibs_check_method" >&6; } + +file_magic_glob= +want_nocaseglob=no +if test "$build" = "$host"; then + case $host_os in + mingw* | pw32*) + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then + want_nocaseglob=yes + else + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` + fi + ;; + esac +fi + +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown + + + + + + + + + + + + + + + + + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. +set dummy ${ac_tool_prefix}dlltool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_DLLTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$DLLTOOL"; then + ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +DLLTOOL=$ac_cv_prog_DLLTOOL +if test -n "$DLLTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 +$as_echo "$DLLTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_DLLTOOL"; then + ac_ct_DLLTOOL=$DLLTOOL + # Extract the first word of "dlltool", so it can be a program name with args. +set dummy dlltool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_DLLTOOL"; then + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_DLLTOOL="dlltool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL +if test -n "$ac_ct_DLLTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 +$as_echo "$ac_ct_DLLTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_DLLTOOL" = x; then + DLLTOOL="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + DLLTOOL=$ac_ct_DLLTOOL + fi +else + DLLTOOL="$ac_cv_prog_DLLTOOL" +fi + +test -z "$DLLTOOL" && DLLTOOL=dlltool + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 +$as_echo_n "checking how to associate runtime and link libraries... " >&6; } +if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_sharedlib_from_linklib_cmd='unknown' + +case $host_os in +cygwin* | mingw* | pw32* | cegcc*) + # two different shell functions defined in ltmain.sh + # decide which to use based on capabilities of $DLLTOOL + case `$DLLTOOL --help 2>&1` in + *--identify-strict*) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib + ;; + *) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback + ;; + esac + ;; +*) + # fallback: assume linklib IS sharedlib + lt_cv_sharedlib_from_linklib_cmd="$ECHO" + ;; +esac + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 +$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO + + + + + + + +if test -n "$ac_tool_prefix"; then + for ac_prog in ar + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AR="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +$as_echo "$AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AR" && break + done +fi +if test -z "$AR"; then + ac_ct_AR=$AR + for ac_prog in ar +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_AR="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 +$as_echo "$ac_ct_AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_AR" && break +done + + if test "x$ac_ct_AR" = x; then + AR="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + AR=$ac_ct_AR + fi +fi + +: ${AR=ar} +: ${AR_FLAGS=cru} + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 +$as_echo_n "checking for archiver @FILE support... " >&6; } +if ${lt_cv_ar_at_file+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ar_at_file=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + echo conftest.$ac_objext > conftest.lst + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 + (eval $lt_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test "$ac_status" -eq 0; then + # Ensure the archiver fails upon bogus file names. + rm -f conftest.$ac_objext libconftest.a + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 + (eval $lt_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test "$ac_status" -ne 0; then + lt_cv_ar_at_file=@ + fi + fi + rm -f conftest.* libconftest.a + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 +$as_echo "$lt_cv_ar_at_file" >&6; } + +if test "x$lt_cv_ar_at_file" = xno; then + archiver_list_spec= +else + archiver_list_spec=$lt_cv_ar_at_file +fi + + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +test -z "$STRIP" && STRIP=: + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +$as_echo "$RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 +$as_echo "$ac_ct_RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_RANLIB" = x; then + RANLIB=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + RANLIB=$ac_ct_RANLIB + fi +else + RANLIB="$ac_cv_prog_RANLIB" +fi + +test -z "$RANLIB" && RANLIB=: + + + + + + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" + ;; + *) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" +fi + +case $host_os in + darwin*) + lock_old_archive_extraction=yes ;; + *) + lock_old_archive_extraction=no ;; +esac + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Check for command to grab the raw symbol name followed by C symbol from nm. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } +if ${lt_cv_sys_global_symbol_pipe+:} false; then : + $as_echo_n "(cached) " >&6 +else + +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[BCDEGRST]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)' + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[BCDT]' + ;; +cygwin* | mingw* | pw32* | cegcc*) + symcode='[ABCDGISTW]' + ;; +hpux*) + if test "$host_cpu" = ia64; then + symcode='[ABCDEGRST]' + fi + ;; +irix* | nonstopux*) + symcode='[BCDEGRST]' + ;; +osf*) + symcode='[BCDEGQRST]' + ;; +solaris*) + symcode='[BDRT]' + ;; +sco3.2v5*) + symcode='[DT]' + ;; +sysv4.2uw2*) + symcode='[DT]' + ;; +sysv5* | sco5v6* | unixware* | OpenUNIX*) + symcode='[ABDT]' + ;; +sysv4) + symcode='[DFNSTU]' + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[ABCDGIRSTW]' ;; +esac + +# Transform an extracted symbol line into a proper C declaration. +# Some systems (esp. on ia64) link data and code symbols differently, +# so use this general approach. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# Try without a prefix underscore, then with it. +for ac_symprfx in "" "_"; do + + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. + symxfrm="\\1 $ac_symprfx\\2 \\2" + + # Write the raw and C identifiers. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then + # Fake it for dumpbin and say T for any non-static function + # and D for any global variable. + # Also find C++ and __fastcall symbols from MSVC++, + # which start with @ or ?. + lt_cv_sys_global_symbol_pipe="$AWK '"\ +" {last_section=section; section=\$ 3};"\ +" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ +" \$ 0!~/External *\|/{next};"\ +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ +" {if(hide[section]) next};"\ +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ +" s[1]~/^[@?]/{print s[1], s[1]; next};"\ +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ +" ' prfx=^$ac_symprfx" + else + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" + fi + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext <<_LT_EOF +#ifdef __cplusplus +extern "C" { +#endif +char nm_test_var; +void nm_test_func(void); +void nm_test_func(void){} +#ifdef __cplusplus +} +#endif +int main(){nm_test_var='a';nm_test_func();return(0);} +_LT_EOF + + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + # Now try to grab the symbols. + nlist=conftest.nm + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 + (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then + cat <<_LT_EOF > conftest.$ac_ext +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) +/* DATA imports from DLLs on WIN32 con't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT_DLSYM_CONST +#elif defined(__osf__) +/* This system does not cope well with relocations in const data. */ +# define LT_DLSYM_CONST +#else +# define LT_DLSYM_CONST const +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +_LT_EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' + + cat <<_LT_EOF >> conftest.$ac_ext + +/* The mapping between symbol names and symbols. */ +LT_DLSYM_CONST struct { + const char *name; + void *address; +} +lt__PROGRAM__LTX_preloaded_symbols[] = +{ + { "@PROGRAM@", (void *) 0 }, +_LT_EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext + cat <<\_LT_EOF >> conftest.$ac_ext + {0, (void *) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt__PROGRAM__LTX_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif +_LT_EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_globsym_save_LIBS=$LIBS + lt_globsym_save_CFLAGS=$CFLAGS + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS=$lt_globsym_save_LIBS + CFLAGS=$lt_globsym_save_CFLAGS + else + echo "cannot find nm_test_func in $nlist" >&5 + fi + else + echo "cannot find nm_test_var in $nlist" >&5 + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 + fi + else + echo "$progname: failed program was:" >&5 + cat conftest.$ac_ext >&5 + fi + rm -rf conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done + +fi + +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 +$as_echo "failed" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 +$as_echo "ok" >&6; } +fi + +# Response file support. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then + nm_file_list_spec='@' +elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then + nm_file_list_spec='@' +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 +$as_echo_n "checking for sysroot... " >&6; } + +# Check whether --with-sysroot was given. +if test "${with_sysroot+set}" = set; then : + withval=$with_sysroot; +else + with_sysroot=no +fi + + +lt_sysroot= +case ${with_sysroot} in #( + yes) + if test "$GCC" = yes; then + lt_sysroot=`$CC --print-sysroot 2>/dev/null` + fi + ;; #( + /*) + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` + ;; #( + no|'') + ;; #( + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 +$as_echo "${with_sysroot}" >&6; } + as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 + ;; +esac + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 +$as_echo "${lt_sysroot:-no}" >&6; } + + + + + +# Check whether --enable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then : + enableval=$enable_libtool_lock; +fi + +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ +s390*-*linux*|s390*-*tpf*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.o` in + *32-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_i386_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*|powerpc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_x86_64_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*|s390*-*tpf*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 +$as_echo_n "checking whether the C compiler needs -belf... " >&6; } +if ${lt_cv_cc_needs_belf+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + lt_cv_cc_needs_belf=yes +else + lt_cv_cc_needs_belf=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 +$as_echo "$lt_cv_cc_needs_belf" >&6; } + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +*-*solaris*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.o` in + *64-bit*) + case $lt_cv_prog_gnu_ld in + yes*) + case $host in + i?86-*-solaris*) + LD="${LD-ld} -m elf_x86_64" + ;; + sparc*-*-solaris*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + # GNU ld 2.21 introduced _sol2 emulations. Use them if available. + if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then + LD="${LD-ld}_sol2" + fi + ;; + *) + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then + LD="${LD-ld} -64" + fi + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; +esac + +need_locks="$enable_libtool_lock" + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. +set dummy ${ac_tool_prefix}mt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$MANIFEST_TOOL"; then + ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL +if test -n "$MANIFEST_TOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 +$as_echo "$MANIFEST_TOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_MANIFEST_TOOL"; then + ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL + # Extract the first word of "mt", so it can be a program name with args. +set dummy mt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_MANIFEST_TOOL"; then + ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL +if test -n "$ac_ct_MANIFEST_TOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 +$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_MANIFEST_TOOL" = x; then + MANIFEST_TOOL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL + fi +else + MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" +fi + +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 +$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } +if ${lt_cv_path_mainfest_tool+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_path_mainfest_tool=no + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out + cat conftest.err >&5 + if $GREP 'Manifest Tool' conftest.out > /dev/null; then + lt_cv_path_mainfest_tool=yes + fi + rm -f conftest* +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 +$as_echo "$lt_cv_path_mainfest_tool" >&6; } +if test "x$lt_cv_path_mainfest_tool" != xyes; then + MANIFEST_TOOL=: +fi + + + + + + + case $host_os in + rhapsody* | darwin*) + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_DSYMUTIL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$DSYMUTIL"; then + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +DSYMUTIL=$ac_cv_prog_DSYMUTIL +if test -n "$DSYMUTIL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 +$as_echo "$DSYMUTIL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_DSYMUTIL"; then + ac_ct_DSYMUTIL=$DSYMUTIL + # Extract the first word of "dsymutil", so it can be a program name with args. +set dummy dsymutil; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_DSYMUTIL"; then + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL +if test -n "$ac_ct_DSYMUTIL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 +$as_echo "$ac_ct_DSYMUTIL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_DSYMUTIL" = x; then + DSYMUTIL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + DSYMUTIL=$ac_ct_DSYMUTIL + fi +else + DSYMUTIL="$ac_cv_prog_DSYMUTIL" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. +set dummy ${ac_tool_prefix}nmedit; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_NMEDIT+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NMEDIT"; then + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +NMEDIT=$ac_cv_prog_NMEDIT +if test -n "$NMEDIT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 +$as_echo "$NMEDIT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_NMEDIT"; then + ac_ct_NMEDIT=$NMEDIT + # Extract the first word of "nmedit", so it can be a program name with args. +set dummy nmedit; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_NMEDIT"; then + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_NMEDIT="nmedit" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT +if test -n "$ac_ct_NMEDIT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 +$as_echo "$ac_ct_NMEDIT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_NMEDIT" = x; then + NMEDIT=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + NMEDIT=$ac_ct_NMEDIT + fi +else + NMEDIT="$ac_cv_prog_NMEDIT" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. +set dummy ${ac_tool_prefix}lipo; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_LIPO+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$LIPO"; then + ac_cv_prog_LIPO="$LIPO" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_LIPO="${ac_tool_prefix}lipo" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +LIPO=$ac_cv_prog_LIPO +if test -n "$LIPO"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 +$as_echo "$LIPO" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_LIPO"; then + ac_ct_LIPO=$LIPO + # Extract the first word of "lipo", so it can be a program name with args. +set dummy lipo; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_LIPO+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_LIPO"; then + ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_LIPO="lipo" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO +if test -n "$ac_ct_LIPO"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 +$as_echo "$ac_ct_LIPO" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_LIPO" = x; then + LIPO=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + LIPO=$ac_ct_LIPO + fi +else + LIPO="$ac_cv_prog_LIPO" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. +set dummy ${ac_tool_prefix}otool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OTOOL"; then + ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_OTOOL="${ac_tool_prefix}otool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OTOOL=$ac_cv_prog_OTOOL +if test -n "$OTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 +$as_echo "$OTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OTOOL"; then + ac_ct_OTOOL=$OTOOL + # Extract the first word of "otool", so it can be a program name with args. +set dummy otool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OTOOL"; then + ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_OTOOL="otool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL +if test -n "$ac_ct_OTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 +$as_echo "$ac_ct_OTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OTOOL" = x; then + OTOOL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OTOOL=$ac_ct_OTOOL + fi +else + OTOOL="$ac_cv_prog_OTOOL" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. +set dummy ${ac_tool_prefix}otool64; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OTOOL64+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OTOOL64"; then + ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OTOOL64=$ac_cv_prog_OTOOL64 +if test -n "$OTOOL64"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 +$as_echo "$OTOOL64" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OTOOL64"; then + ac_ct_OTOOL64=$OTOOL64 + # Extract the first word of "otool64", so it can be a program name with args. +set dummy otool64; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OTOOL64"; then + ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_OTOOL64="otool64" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 +if test -n "$ac_ct_OTOOL64"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 +$as_echo "$ac_ct_OTOOL64" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OTOOL64" = x; then + OTOOL64=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OTOOL64=$ac_ct_OTOOL64 + fi +else + OTOOL64="$ac_cv_prog_OTOOL64" +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 +$as_echo_n "checking for -single_module linker flag... " >&6; } +if ${lt_cv_apple_cc_single_mod+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_apple_cc_single_mod=no + if test -z "${LT_MULTI_MODULE}"; then + # By default we will add the -single_module flag. You can override + # by either setting the environment variable LT_MULTI_MODULE + # non-empty at configure time, or by adding -multi_module to the + # link flags. + rm -rf libconftest.dylib* + echo "int foo(void){return 1;}" > conftest.c + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ +-dynamiclib -Wl,-single_module conftest.c" >&5 + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err + _lt_result=$? + # If there is a non-empty error log, and "single_module" + # appears in it, assume the flag caused a linker warning + if test -s conftest.err && $GREP single_module conftest.err; then + cat conftest.err >&5 + # Otherwise, if the output was created with a 0 exit code from + # the compiler, it worked. + elif test -f libconftest.dylib && test $_lt_result -eq 0; then + lt_cv_apple_cc_single_mod=yes + else + cat conftest.err >&5 + fi + rm -rf libconftest.dylib* + rm -f conftest.* + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 +$as_echo "$lt_cv_apple_cc_single_mod" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } +if ${lt_cv_ld_exported_symbols_list+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_exported_symbols_list=no + save_LDFLAGS=$LDFLAGS + echo "_main" > conftest.sym + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + lt_cv_ld_exported_symbols_list=yes +else + lt_cv_ld_exported_symbols_list=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$save_LDFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 +$as_echo_n "checking for -force_load linker flag... " >&6; } +if ${lt_cv_ld_force_load+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_force_load=no + cat > conftest.c << _LT_EOF +int forced_loaded() { return 2;} +_LT_EOF + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 + echo "$AR cru libconftest.a conftest.o" >&5 + $AR cru libconftest.a conftest.o 2>&5 + echo "$RANLIB libconftest.a" >&5 + $RANLIB libconftest.a 2>&5 + cat > conftest.c << _LT_EOF +int main() { return 0;} +_LT_EOF + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err + _lt_result=$? + if test -s conftest.err && $GREP force_load conftest.err; then + cat conftest.err >&5 + elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then + lt_cv_ld_force_load=yes + else + cat conftest.err >&5 + fi + rm -f conftest.err libconftest.a conftest conftest.c + rm -rf conftest.dSYM + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 +$as_echo "$lt_cv_ld_force_load" >&6; } + case $host_os in + rhapsody* | darwin1.[012]) + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; + darwin1.*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + darwin*) # darwin 5.x on + # if running on 10.5 or later, the deployment target defaults + # to the OS version, if on x86, and 10.4, the deployment + # target defaults to 10.4. Don't you love it? + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in + 10.0,*86*-darwin8*|10.0,*-darwin[91]*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + 10.[012]*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + 10.*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + esac + ;; + esac + if test "$lt_cv_apple_cc_single_mod" = "yes"; then + _lt_dar_single_mod='$single_module' + fi + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' + else + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then + _lt_dsymutil='~$DSYMUTIL $lib || :' + else + _lt_dsymutil= + fi + ;; + esac + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +$as_echo_n "checking how to run the C preprocessor... " >&6; } +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if ${ac_cv_prog_CPP+:} false; then : + $as_echo_n "(cached) " >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + # <limits.h> exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include <limits.h> +#else +# include <assert.h> +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <ac_nonexistent.h> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +$as_echo "$CPP" >&6; } +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + # <limits.h> exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include <limits.h> +#else +# include <assert.h> +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <ac_nonexistent.h> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details" "$LINENO" 5; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } +if ${ac_cv_header_stdc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdlib.h> +#include <stdarg.h> +#include <string.h> +#include <float.h> + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdc=yes +else + ac_cv_header_stdc=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <string.h> + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdlib.h> + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <ctype.h> +#include <stdlib.h> +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + +else + ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +$as_echo "#define STDC_HEADERS 1" >>confdefs.h + +fi + +# On IRIX 5.3, sys/types and inttypes.h are conflicting. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +for ac_header in dlfcn.h +do : + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default +" +if test "x$ac_cv_header_dlfcn_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_DLFCN_H 1 +_ACEOF + +fi + +done + + + + + +# Set options + + + + enable_dlopen=no + + + enable_win32_dll=no + + + # Check whether --enable-shared was given. +if test "${enable_shared+set}" = set; then : + enableval=$enable_shared; p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_shared=yes +fi + + + + + + + + + + # Check whether --enable-static was given. +if test "${enable_static+set}" = set; then : + enableval=$enable_static; p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_static=yes +fi + + + + + + + + + + +# Check whether --with-pic was given. +if test "${with_pic+set}" = set; then : + withval=$with_pic; lt_p=${PACKAGE-default} + case $withval in + yes|no) pic_mode=$withval ;; + *) + pic_mode=default + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for lt_pkg in $withval; do + IFS="$lt_save_ifs" + if test "X$lt_pkg" = "X$lt_p"; then + pic_mode=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + pic_mode=default +fi + + +test -z "$pic_mode" && pic_mode=default + + + + + + + + # Check whether --enable-fast-install was given. +if test "${enable_fast_install+set}" = set; then : + enableval=$enable_fast_install; p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_fast_install=yes +fi + + + + + + + + + + + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS="$ltmain" + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +test -z "$LN_S" && LN_S="ln -s" + + + + + + + + + + + + + + +if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 +$as_echo_n "checking for objdir... " >&6; } +if ${lt_cv_objdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 +$as_echo "$lt_cv_objdir" >&6; } +objdir=$lt_cv_objdir + + + + + +cat >>confdefs.h <<_ACEOF +#define LT_OBJDIR "$lt_cv_objdir/" +_ACEOF + + + + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Global variables: +ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except MSVC, +# which needs '.lib'). +libext=a + +with_gnu_ld="$lt_cv_prog_gnu_ld" + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS +test -z "$LD" && LD=ld +test -z "$ac_objext" && ac_objext=o + +for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` + + +# Only perform the check for file, if the check method requires it +test -z "$MAGIC_CMD" && MAGIC_CMD=file +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } +if ${lt_cv_path_MAGIC_CMD+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/${ac_tool_prefix}file; then + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<_LT_EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +_LT_EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 +$as_echo "$MAGIC_CMD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + + +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 +$as_echo_n "checking for file... " >&6; } +if ${lt_cv_path_MAGIC_CMD+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/file; then + lt_cv_path_MAGIC_CMD="$ac_dir/file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<_LT_EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +_LT_EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 +$as_echo "$MAGIC_CMD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + else + MAGIC_CMD=: + fi +fi + + fi + ;; +esac + +# Use C for the default configuration in the libtool script + +lt_save_CC="$CC" +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +objext=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}' + + + + + + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + +# Save the default compiler, since it gets overwritten when the other +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. +compiler_DEFAULT=$CC + +# save warnings/boilerplate of simple test code +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$RM conftest* + +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$RM -r conftest* + + +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... +if test -n "$compiler"; then + +lt_prog_compiler_no_builtin_flag= + +if test "$GCC" = yes; then + case $cc_basename in + nvcc*) + lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; + *) + lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; + esac + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } +if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } + +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" +else + : +fi + +fi + + + + + + + lt_prog_compiler_wl= +lt_prog_compiler_pic= +lt_prog_compiler_static= + + + if test "$GCC" = yes; then + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_static='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + lt_prog_compiler_pic='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic='-fno-common' + ;; + + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + lt_prog_compiler_static= + ;; + + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + ;; + + interix[3-9]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared=no + enable_shared=no + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + lt_prog_compiler_pic='-fPIC -shared' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic=-Kconform_pic + fi + ;; + + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + + case $cc_basename in + nvcc*) # Cuda Compiler Driver 2.2 + lt_prog_compiler_wl='-Xlinker ' + if test -n "$lt_prog_compiler_pic"; then + lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" + fi + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + else + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static='-non_shared' + ;; + + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + # old Intel for x86_64 which still supported -KPIC. + ecc*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-static' + ;; + # icc used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + icc* | ifort*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + # Lahey Fortran 8.1. + lf95*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='--shared' + lt_prog_compiler_static='--static' + ;; + nagfor*) + # NAG Fortran compiler + lt_prog_compiler_wl='-Wl,-Wl,,' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fpic' + lt_prog_compiler_static='-Bstatic' + ;; + ccc*) + lt_prog_compiler_wl='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + xl* | bgxl* | bgf* | mpixl*) + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-qpic' + lt_prog_compiler_static='-qstaticlink' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='' + ;; + *Sun\ F* | *Sun*Fortran*) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='-Qoption ld ' + ;; + *Sun\ C*) + # Sun C 5.9 + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='-Wl,' + ;; + *Intel*\ [CF]*Compiler*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + *Portland\ Group*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fpic' + lt_prog_compiler_static='-Bstatic' + ;; + esac + ;; + esac + ;; + + newsos6) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + lt_prog_compiler_pic='-fPIC -shared' + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + + rdos*) + lt_prog_compiler_static='-non_shared' + ;; + + solaris*) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + case $cc_basename in + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) + lt_prog_compiler_wl='-Qoption ld ';; + *) + lt_prog_compiler_wl='-Wl,';; + esac + ;; + + sunos4*) + lt_prog_compiler_wl='-Qoption ld ' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic='-Kconform_pic' + lt_prog_compiler_static='-Bstatic' + fi + ;; + + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + unicos*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_can_build_shared=no + ;; + + uts4*) + lt_prog_compiler_pic='-pic' + lt_prog_compiler_static='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared=no + ;; + esac + fi + +case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic= + ;; + *) + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" + ;; +esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } +if ${lt_cv_prog_compiler_pic+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_pic=$lt_prog_compiler_pic +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 +$as_echo "$lt_cv_prog_compiler_pic" >&6; } +lt_prog_compiler_pic=$lt_cv_prog_compiler_pic + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } +if ${lt_cv_prog_compiler_pic_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_pic_works=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_pic_works=yes + fi + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } + +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then + case $lt_prog_compiler_pic in + "" | " "*) ;; + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; + esac +else + lt_prog_compiler_pic= + lt_prog_compiler_can_build_shared=no +fi + +fi + + + + + + + + + + + +# +# Check to make sure the static flag actually works. +# +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } +if ${lt_cv_prog_compiler_static_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_static_works=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_static_works=yes + fi + else + lt_cv_prog_compiler_static_works=yes + fi + fi + $RM -r conftest* + LDFLAGS="$save_LDFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 +$as_echo "$lt_cv_prog_compiler_static_works" >&6; } + +if test x"$lt_cv_prog_compiler_static_works" = xyes; then + : +else + lt_prog_compiler_static= +fi + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if ${lt_cv_prog_compiler_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . 2>&5 + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; } + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if ${lt_cv_prog_compiler_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . 2>&5 + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; } + + + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 +$as_echo_n "checking if we can lock with hard links... " >&6; } + hard_links=yes + $RM conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 +$as_echo "$hard_links" >&6; } + if test "$hard_links" = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + + runpath_var= + allow_undefined_flag= + always_export_symbols=no + archive_cmds= + archive_expsym_cmds= + compiler_needs_object=no + enable_shared_with_static_runtimes=no + export_dynamic_flag_spec= + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + hardcode_automatic=no + hardcode_direct=no + hardcode_direct_absolute=no + hardcode_libdir_flag_spec= + hardcode_libdir_separator= + hardcode_minus_L=no + hardcode_shlibpath_var=unsupported + inherit_rpath=no + link_all_deplibs=unknown + module_cmds= + module_expsym_cmds= + old_archive_from_new_cmds= + old_archive_from_expsyms_cmds= + thread_safe_flag_spec= + whole_archive_flag_spec= + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + # Exclude shared library initialization/finalization symbols. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs=yes + + # On some targets, GNU ld is compatible enough with the native linker + # that we're better off using the native interface for both. + lt_use_gnu_ld_interface=no + if test "$with_gnu_ld" = yes; then + case $host_os in + aix*) + # The AIX port of GNU ld has always aspired to compatibility + # with the native linker. However, as the warning in the GNU ld + # block says, versions before 2.19.5* couldn't really create working + # shared libraries, regardless of the interface used. + case `$LD -v 2>&1` in + *\ \(GNU\ Binutils\)\ 2.19.5*) ;; + *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; + *\ \(GNU\ Binutils\)\ [3-9]*) ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + fi + + if test "$lt_use_gnu_ld_interface" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + export_dynamic_flag_spec='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec= + fi + supports_anon_versioning=no + case `$LD -v 2>&1` in + *GNU\ gold*) supports_anon_versioning=yes ;; + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + + # See if GNU ld supports shared libraries. + case $host_os in + aix[3-9]*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no + cat <<_LT_EOF 1>&2 + +*** Warning: the GNU linker, at least up to release 2.19, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to install binutils +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. +*** You will then need to restart the configuration process. + +_LT_EOF + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='' + ;; + m68k) + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + ;; + esac + ;; + + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag=unsupported + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs=no + fi + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec='-L$libdir' + export_dynamic_flag_spec='${wl}--export-all-symbols' + allow_undefined_flag=unsupported + always_export_symbols=no + enable_shared_with_static_runtimes=yes + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' + exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + ld_shlibs=no + fi + ;; + + haiku*) + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + link_all_deplibs=yes + ;; + + interix[3-9]*) + hardcode_direct=no + hardcode_shlibpath_var=no + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) + tmp_diet=no + if test "$host_os" = linux-dietlibc; then + case $cc_basename in + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) + esac + fi + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ + && test "$tmp_diet" = no + then + tmp_addflag=' $pic_flag' + tmp_sharedflag='-shared' + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; + pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group f77 and f90 compilers + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + lf95*) # Lahey Fortran 8.1 + whole_archive_flag_spec= + tmp_sharedflag='--shared' ;; + xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) + tmp_sharedflag='-qmkshrobj' + tmp_addflag= ;; + nvcc*) # Cuda Compiler Driver 2.2 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + compiler_needs_object=yes + ;; + esac + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) # Sun C 5.9 + whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + compiler_needs_object=yes + tmp_sharedflag='-G' ;; + *Sun\ F*) # Sun Fortran 8.3 + tmp_sharedflag='-G' ;; + esac + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + + if test "x$supports_anon_versioning" = xyes; then + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + + case $cc_basename in + xlf* | bgf* | bgxlf* | mpixlf*) + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself + whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' + if test "x$supports_anon_versioning" = xyes; then + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' + fi + ;; + esac + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris*) + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + cat <<_LT_EOF 1>&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) + ld_shlibs=no + cat <<_LT_EOF 1>&2 + +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not +*** reliably create shared libraries on SCO systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + ;; + *) + # For security reasons, it is highly recommended that you always + # use absolute paths for naming shared libraries, and exclude the + # DT_RUNPATH tag from executables and libraries. But doing so + # requires that you compile everything twice, which is a pain. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + ;; + + sunos4*) + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + *) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + + if test "$ld_shlibs" = no; then + runpath_var= + hardcode_libdir_flag_spec= + export_dynamic_flag_spec= + whole_archive_flag_spec= + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag=unsupported + always_export_symbols=yes + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported + fi + ;; + + aix[4-9]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global + # defined symbols, whereas GNU nm marks them as "W". + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds='' + hardcode_direct=yes + hardcode_direct_absolute=yes + hardcode_libdir_separator=':' + link_all_deplibs=yes + file_list_spec='${wl}-f,' + + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && + strings "$collect2name" | $GREP resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + hardcode_direct=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + export_dynamic_flag_spec='${wl}-bexpall' + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag='-berok' + # Determine the default libpath from the value encoded in an + # empty executable. + if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath_+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_="/usr/lib:/lib" + fi + +fi + + aix_libpath=$lt_cv_aix_libpath_ +fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag="-z nodefs" + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an + # empty executable. + if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath_+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_="/usr/lib:/lib" + fi + +fi + + aix_libpath=$lt_cv_aix_libpath_ +fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag=' ${wl}-bernotok' + allow_undefined_flag=' ${wl}-berok' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec='$convenience' + fi + archive_cmds_need_lc=yes + # This is similar to how AIX traditionally builds its shared libraries. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='' + ;; + m68k) + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + ;; + esac + ;; + + bsdi[45]*) + export_dynamic_flag_spec=-rdynamic + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + case $cc_basename in + cl*) + # Native MSVC + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + always_export_symbols=yes + file_list_spec='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, )='true' + enable_shared_with_static_runtimes=yes + exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' + # Don't use ranlib + old_postinstall_cmds='chmod 644 $oldlib' + postlink_cmds='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # Assume MSVC wrapper + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_from_new_cmds='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' + enable_shared_with_static_runtimes=yes + ;; + esac + ;; + + darwin* | rhapsody*) + + + archive_cmds_need_lc=no + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + if test "$lt_cv_ld_force_load" = "yes"; then + whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' + + else + whole_archive_flag_spec='' + fi + link_all_deplibs=yes + allow_undefined_flag="$_lt_dar_allow_undefined" + case $cc_basename in + ifort*) _lt_dar_can_shared=yes ;; + *) _lt_dar_can_shared=$GCC ;; + esac + if test "$_lt_dar_can_shared" = "yes"; then + output_verbose_link_cmd=func_echo_all + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" + archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" + module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + + else + ld_shlibs=no + fi + + ;; + + dgux*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2.*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | dragonfly*) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + export_dynamic_flag_spec='${wl}-E' + ;; + + hpux10*) + if test "$GCC" = yes && test "$with_gnu_ld" = no; then + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + fi + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + hardcode_direct_absolute=yes + export_dynamic_flag_spec='${wl}-E' + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + fi + ;; + + hpux11*) + if test "$GCC" = yes && test "$with_gnu_ld" = no; then + case $host_cpu in + hppa*64*) + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case $host_cpu in + hppa*64*) + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + + # Older versions of the 11.00 compiler do not understand -b yet + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 +$as_echo_n "checking if $CC understands -b... " >&6; } +if ${lt_cv_prog_compiler__b+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler__b=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -b" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler__b=yes + fi + else + lt_cv_prog_compiler__b=yes + fi + fi + $RM -r conftest* + LDFLAGS="$save_LDFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 +$as_echo "$lt_cv_prog_compiler__b" >&6; } + +if test x"$lt_cv_prog_compiler__b" = xyes; then + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' +else + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' +fi + + ;; + esac + fi + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + + case $host_cpu in + hppa*64*|ia64*) + hardcode_direct=no + hardcode_shlibpath_var=no + ;; + *) + hardcode_direct=yes + hardcode_direct_absolute=yes + export_dynamic_flag_spec='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + # Try to use the -exported_symbol ld option, if it does not + # work, assume that -exports_file does not work either and + # implicitly export all symbols. + # This should be the same for all languages, so no per-tag cache variable. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 +$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } +if ${lt_cv_irix_exported_symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int foo (void) { return 0; } +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + lt_cv_irix_exported_symbol=yes +else + lt_cv_irix_exported_symbol=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$save_LDFLAGS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 +$as_echo "$lt_cv_irix_exported_symbol" >&6; } + if test "$lt_cv_irix_exported_symbol" = yes; then + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' + fi + else + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' + fi + archive_cmds_need_lc='no' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + inherit_rpath=yes + link_all_deplibs=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + newsos6) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_shlibpath_var=no + ;; + + *nto* | *qnx*) + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + hardcode_direct=yes + hardcode_shlibpath_var=no + hardcode_direct_absolute=yes + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac + fi + else + ld_shlibs=no + fi + ;; + + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + allow_undefined_flag=unsupported + archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + fi + archive_cmds_need_lc='no' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec='-rpath $libdir' + fi + archive_cmds_need_lc='no' + hardcode_libdir_separator=: + ;; + + solaris*) + no_undefined_flag=' -z defs' + if test "$GCC" = yes; then + wlarc='${wl}' + archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + else + case `$CC -V 2>&1` in + *"Compilers 5.0"*) + wlarc='' + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' + ;; + *) + wlarc='${wl}' + archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + ;; + esac + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_shlibpath_var=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. GCC discards it without `$wl', + # but is careful enough not to reorder. + # Supported since Solaris 2.6 (maybe 2.5.1?) + if test "$GCC" = yes; then + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + else + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' + fi + ;; + esac + link_all_deplibs=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds='$CC -r -o $output$reload_objs' + hardcode_direct=no + ;; + motorola) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv4.3*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs=yes + fi + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) + no_undefined_flag='${wl}-z,text' + archive_cmds_need_lc=no + hardcode_shlibpath_var=no + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + no_undefined_flag='${wl}-z,text' + allow_undefined_flag='${wl}-z,nodefs' + archive_cmds_need_lc=no + hardcode_shlibpath_var=no + hardcode_libdir_flag_spec='${wl}-R,$libdir' + hardcode_libdir_separator=':' + link_all_deplibs=yes + export_dynamic_flag_spec='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + uts4*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + *) + ld_shlibs=no + ;; + esac + + if test x$host_vendor = xsni; then + case $host in + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + export_dynamic_flag_spec='${wl}-Blargedynsym' + ;; + esac + fi + fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 +$as_echo "$ld_shlibs" >&6; } +test "$ld_shlibs" = no && can_build_shared=no + +with_gnu_ld=$with_gnu_ld + + + + + + + + + + + + + + + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } +if ${lt_cv_archive_cmds_need_lc+:} false; then : + $as_echo_n "(cached) " >&6 +else + $RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl + pic_flag=$lt_prog_compiler_pic + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag + allow_undefined_flag= + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + then + lt_cv_archive_cmds_need_lc=no + else + lt_cv_archive_cmds_need_lc=yes + fi + allow_undefined_flag=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 +$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } + archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc + ;; + esac + fi + ;; +esac + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 +$as_echo_n "checking dynamic linker characteristics... " >&6; } + +if test "$GCC" = yes; then + case $host_os in + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; + *) lt_awk_arg="/^libraries:/" ;; + esac + case $host_os in + mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; + *) lt_sed_strip_eq="s,=/,/,g" ;; + esac + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` + case $lt_search_path_spec in + *\;*) + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` + ;; + *) + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` + ;; + esac + # Ok, now we have the path, separated by spaces, we can step through it + # and add multilib dir if necessary. + lt_tmp_lt_search_path_spec= + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` + for lt_sys_path in $lt_search_path_spec; do + if test -d "$lt_sys_path/$lt_multi_os_dir"; then + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" + else + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' +BEGIN {RS=" "; FS="/|\n";} { + lt_foo=""; + lt_count=0; + for (lt_i = NF; lt_i > 0; lt_i--) { + if ($lt_i != "" && $lt_i != ".") { + if ($lt_i == "..") { + lt_count++; + } else { + if (lt_count == 0) { + lt_foo="/" $lt_i lt_foo; + } else { + lt_count--; + } + } + } + } + if (lt_foo != "") { lt_freq[lt_foo]++; } + if (lt_freq[lt_foo] == 1) { print lt_foo; } +}'` + # AWK program above erroneously prepends '/' to C:/dos/paths + # for these hosts. + case $host_os in + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ + $SED 's,/\([A-Za-z]:\),\1,g'` ;; + esac + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix[4-9]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib<name>.so + # instead of lib<name>.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + case $host_cpu in + powerpc) + # Since July 2007 AmigaOS4 officially supports .so libraries. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + ;; + m68k) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + esac + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[45]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32* | cegcc*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$cc_basename in + yes,*) + # gcc + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; + fi' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + ;; + esac + dynamic_linker='Win32 ld.exe' + ;; + + *,cl*) + # Native MSVC + libname_spec='$name' + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + library_names_spec='${libname}.dll.lib' + + case $build_os in + mingw*) + sys_lib_search_path_spec= + lt_save_ifs=$IFS + IFS=';' + for lt_path in $LIB + do + IFS=$lt_save_ifs + # Let DOS variable expansion print the short 8.3 style file name. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" + done + IFS=$lt_save_ifs + # Convert to MSYS style. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` + ;; + cygwin*) + # Convert to unix form, then to dos form, then back to unix form + # but this time dos style (no spaces!) so that the unix form looks + # like /cygdrive/c/PROGRA~1:/cygdr... + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + ;; + *) + sys_lib_search_path_spec="$LIB" + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # FIXME: find the short name or the path components, as spaces are + # common. (e.g. "Program Files" -> "PROGRA~1") + ;; + esac + + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + dynamic_linker='Win32 link.exe' + ;; + + *) + # Assume MSVC wrapper + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + dynamic_linker='Win32 ld.exe' + ;; + esac + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[23].*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2.*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +haiku*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + dynamic_linker="$host_os runtime_loader" + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LIBRARY_PATH + shlibpath_overrides_runpath=yes + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555, ... + postinstall_cmds='chmod 555 $lib' + # or fails outright, so override atomically: + install_override_mode=555 + ;; + +interix[3-9]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux # correct to gnu/linux during the next big refactor + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + + # Some binutils ld are patched to set DT_RUNPATH + if ${lt_cv_shlibpath_overrides_runpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_shlibpath_overrides_runpath=no + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : + lt_cv_shlibpath_overrides_runpath=yes +fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + +fi + + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath + + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # Add ABI-specific directories to the system library path. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" + + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +*nto* | *qnx*) + version_type=qnx + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='ldqnx.so' + ;; + +openbsd*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=freebsd-elf + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + if test "$with_gnu_ld" = yes; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +tpf*) + # TPF is a cross-target only. Preferred cross-host = GNU/Linux. + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +uts4*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 +$as_echo "$dynamic_linker" >&6; } +test "$dynamic_linker" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" +fi +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; } +hardcode_action= +if test -n "$hardcode_libdir_flag_spec" || + test -n "$runpath_var" || + test "X$hardcode_automatic" = "Xyes" ; then + + # We can hardcode non-existent directories. + if test "$hardcode_direct" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && + test "$hardcode_minus_L" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action=unsupported +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 +$as_echo "$hardcode_action" >&6; } + +if test "$hardcode_action" = relink || + test "$inherit_rpath" = yes; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + + + + + + + if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32* | cegcc*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if ${ac_cv_lib_dl_dlopen+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = xyes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" +if test "x$ac_cv_func_shl_load" = xyes; then : + lt_cv_dlopen="shl_load" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 +$as_echo_n "checking for shl_load in -ldld... " >&6; } +if ${ac_cv_lib_dld_shl_load+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char shl_load (); +int +main () +{ +return shl_load (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dld_shl_load=yes +else + ac_cv_lib_dld_shl_load=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 +$as_echo "$ac_cv_lib_dld_shl_load" >&6; } +if test "x$ac_cv_lib_dld_shl_load" = xyes; then : + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" +else + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" +if test "x$ac_cv_func_dlopen" = xyes; then : + lt_cv_dlopen="dlopen" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if ${ac_cv_lib_dl_dlopen+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = xyes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 +$as_echo_n "checking for dlopen in -lsvld... " >&6; } +if ${ac_cv_lib_svld_dlopen+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_svld_dlopen=yes +else + ac_cv_lib_svld_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 +$as_echo "$ac_cv_lib_svld_dlopen" >&6; } +if test "x$ac_cv_lib_svld_dlopen" = xyes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 +$as_echo_n "checking for dld_link in -ldld... " >&6; } +if ${ac_cv_lib_dld_dld_link+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dld_link (); +int +main () +{ +return dld_link (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dld_dld_link=yes +else + ac_cv_lib_dld_dld_link=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 +$as_echo "$ac_cv_lib_dld_dld_link" >&6; } +if test "x$ac_cv_lib_dld_dld_link" = xyes; then : + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 +$as_echo_n "checking whether a program can dlopen itself... " >&6; } +if ${lt_cv_dlopen_self+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +#line $LINENO "configure" +#include "confdefs.h" + +#if HAVE_DLFCN_H +#include <dlfcn.h> +#endif + +#include <stdio.h> + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif + +int fnord () { return 42; } +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } + /* dlclose (self); */ + } + else + puts (dlerror ()); + + return status; +} +_LT_EOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 +$as_echo "$lt_cv_dlopen_self" >&6; } + + if test "x$lt_cv_dlopen_self" = xyes; then + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } +if ${lt_cv_dlopen_self_static+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +#line $LINENO "configure" +#include "confdefs.h" + +#if HAVE_DLFCN_H +#include <dlfcn.h> +#endif + +#include <stdio.h> + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif + +int fnord () { return 42; } +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } + /* dlclose (self); */ + } + else + puts (dlerror ()); + + return status; +} +_LT_EOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 +$as_echo "$lt_cv_dlopen_self_static" >&6; } + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + + + + + + + + + + + + + + + + +striplib= +old_striplib= +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 +$as_echo_n "checking whether stripping libraries is possible... " >&6; } +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + old_striplib="$STRIP -S" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; + esac +fi + + + + + + + + + + + + + # Report which library types will actually be built + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 +$as_echo_n "checking if libtool supports shared libraries... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 +$as_echo "$can_build_shared" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 +$as_echo_n "checking whether to build shared libraries... " >&6; } + test "$can_build_shared" = "no" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + + aix[4-9]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + esac + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 +$as_echo "$enable_shared" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 +$as_echo_n "checking whether to build static libraries... " >&6; } + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 +$as_echo "$enable_static" >&6; } + + + + +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC="$lt_save_CC" + + + + + + + + + + + + + + + + ac_config_commands="$ac_config_commands libtool" + + + + +# Only expand once: + + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if ${ac_cv_c_compiler_gnu+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if ${ac_cv_prog_cc_g+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdarg.h> +#include <stdio.h> +struct stat; +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 +$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } +if ${ac_cv_prog_cc_c99+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c99=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdarg.h> +#include <stdbool.h> +#include <stdlib.h> +#include <wchar.h> +#include <stdio.h> + +// Check varargs macros. These examples are taken from C99 6.10.3.5. +#define debug(...) fprintf (stderr, __VA_ARGS__) +#define showlist(...) puts (#__VA_ARGS__) +#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) +static void +test_varargs_macros (void) +{ + int x = 1234; + int y = 5678; + debug ("Flag"); + debug ("X = %d\n", x); + showlist (The first, second, and third items.); + report (x>y, "x is %d but y is %d", x, y); +} + +// Check long long types. +#define BIG64 18446744073709551615ull +#define BIG32 4294967295ul +#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) +#if !BIG_OK + your preprocessor is broken; +#endif +#if BIG_OK +#else + your preprocessor is broken; +#endif +static long long int bignum = -9223372036854775807LL; +static unsigned long long int ubignum = BIG64; + +struct incomplete_array +{ + int datasize; + double data[]; +}; + +struct named_init { + int number; + const wchar_t *name; + double average; +}; + +typedef const char *ccp; + +static inline int +test_restrict (ccp restrict text) +{ + // See if C++-style comments work. + // Iterate through items via the restricted pointer. + // Also check for declarations in for loops. + for (unsigned int i = 0; *(text+i) != '\0'; ++i) + continue; + return 0; +} + +// Check varargs and va_copy. +static void +test_varargs (const char *format, ...) +{ + va_list args; + va_start (args, format); + va_list args_copy; + va_copy (args_copy, args); + + const char *str; + int number; + float fnumber; + + while (*format) + { + switch (*format++) + { + case 's': // string + str = va_arg (args_copy, const char *); + break; + case 'd': // int + number = va_arg (args_copy, int); + break; + case 'f': // float + fnumber = va_arg (args_copy, double); + break; + default: + break; + } + } + va_end (args_copy); + va_end (args); +} + +int +main () +{ + + // Check bool. + _Bool success = false; + + // Check restrict. + if (test_restrict ("String literal") == 0) + success = true; + char *restrict newvar = "Another string"; + + // Check varargs. + test_varargs ("s, d' f .", "string", 65, 34.234); + test_varargs_macros (); + + // Check flexible array members. + struct incomplete_array *ia = + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); + ia->datasize = 10; + for (int i = 0; i < ia->datasize; ++i) + ia->data[i] = i * 1.234; + + // Check named initializers. + struct named_init ni = { + .number = 34, + .name = L"Test wide string", + .average = 543.34343, + }; + + ni.number = 58; + + int dynamic_array[ni.number]; + dynamic_array[ni.number - 1] = 543; + + // work around unused variable warnings + return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' + || dynamic_array[ni.number - 1] != 543); + + ; + return 0; +} +_ACEOF +for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c99=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c99" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c99" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c99" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 +$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c99" != xno; then : + +fi + + +if test "x$ac_cv_prog_cc_c99" = xno; then + as_fn_error $? "C99 compiler is required." "$LINENO" 5 +fi +if test "x$CC" != xcc; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 +$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 +$as_echo_n "checking whether cc understands -c and -o together... " >&6; } +fi +set dummy $CC; ac_cc=`$as_echo "$2" | + sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +# Make sure it works both with $CC and with simple cc. +# We do the test twice because some compilers refuse to overwrite an +# existing .o file with -o, though they will create one. +ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' +rm -f conftest2.* +if { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && + test -f conftest2.$ac_objext && { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; +then + eval ac_cv_prog_cc_${ac_cc}_c_o=yes + if test "x$CC" != xcc; then + # Test first that cc exists at all. + if { ac_try='cc -c conftest.$ac_ext >&5' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' + rm -f conftest2.* + if { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && + test -f conftest2.$ac_objext && { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; + then + # cc works too. + : + else + # cc exists but doesn't like -o. + eval ac_cv_prog_cc_${ac_cc}_c_o=no + fi + fi + fi +else + eval ac_cv_prog_cc_${ac_cc}_c_o=no +fi +rm -f core conftest* + +fi +if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h + +fi + +# FIXME: we rely on the cache variable name because +# there is no other way. +set dummy $CC +am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o +if test "$am_t" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi + + + +# Checks for libraries + + +subdirs="$subdirs spice-protocol" + +PROTOCOL_CFLAGS='-I ${top_srcdir}/spice-protocol' + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=0.9.0 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIXMAN" >&5 +$as_echo_n "checking for PIXMAN... " >&6; } + +if test -n "$PIXMAN_CFLAGS"; then + pkg_cv_PIXMAN_CFLAGS="$PIXMAN_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1 >= 0.17.7\""; } >&5 + ($PKG_CONFIG --exists --print-errors "pixman-1 >= 0.17.7") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_PIXMAN_CFLAGS=`$PKG_CONFIG --cflags "pixman-1 >= 0.17.7" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$PIXMAN_LIBS"; then + pkg_cv_PIXMAN_LIBS="$PIXMAN_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1 >= 0.17.7\""; } >&5 + ($PKG_CONFIG --exists --print-errors "pixman-1 >= 0.17.7") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_PIXMAN_LIBS=`$PKG_CONFIG --libs "pixman-1 >= 0.17.7" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + PIXMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pixman-1 >= 0.17.7" 2>&1` + else + PIXMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pixman-1 >= 0.17.7" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$PIXMAN_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (pixman-1 >= 0.17.7) were not met: + +$PIXMAN_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables PIXMAN_CFLAGS +and PIXMAN_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables PIXMAN_CFLAGS +and PIXMAN_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + PIXMAN_CFLAGS=$pkg_cv_PIXMAN_CFLAGS + PIXMAN_LIBS=$pkg_cv_PIXMAN_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + +# Check whether --enable-smartcard was given. +if test "${enable_smartcard+set}" = set; then : + enableval=$enable_smartcard; +else + enable_smartcard="yes" +fi + + +if test "x$enable_smartcard" = "xno"; then + if false; then + WITH_SMARTCARD_TRUE= + WITH_SMARTCARD_FALSE='#' +else + WITH_SMARTCARD_TRUE='#' + WITH_SMARTCARD_FALSE= +fi + +else + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SMARTCARD" >&5 +$as_echo_n "checking for SMARTCARD... " >&6; } + +if test -n "$SMARTCARD_CFLAGS"; then + pkg_cv_SMARTCARD_CFLAGS="$SMARTCARD_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcacard >= 0.1.2\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libcacard >= 0.1.2") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SMARTCARD_CFLAGS=`$PKG_CONFIG --cflags "libcacard >= 0.1.2" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$SMARTCARD_LIBS"; then + pkg_cv_SMARTCARD_LIBS="$SMARTCARD_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcacard >= 0.1.2\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libcacard >= 0.1.2") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SMARTCARD_LIBS=`$PKG_CONFIG --libs "libcacard >= 0.1.2" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + SMARTCARD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcacard >= 0.1.2" 2>&1` + else + SMARTCARD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcacard >= 0.1.2" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$SMARTCARD_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (libcacard >= 0.1.2) were not met: + +$SMARTCARD_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables SMARTCARD_CFLAGS +and SMARTCARD_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables SMARTCARD_CFLAGS +and SMARTCARD_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + SMARTCARD_CFLAGS=$pkg_cv_SMARTCARD_CFLAGS + SMARTCARD_LIBS=$pkg_cv_SMARTCARD_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + +$as_echo "#define USE_SMARTCARD 1" >>confdefs.h + + if true; then + WITH_SMARTCARD_TRUE= + WITH_SMARTCARD_FALSE='#' +else + WITH_SMARTCARD_TRUE='#' + WITH_SMARTCARD_FALSE= +fi + +fi + +# Check whether --enable-opengl was given. +if test "${enable_opengl+set}" = set; then : + enableval=$enable_opengl; +else + enable_opengl="no" +fi + + if test "x$enable_opengl" = "xyes"; then + SUPPORT_GL_TRUE= + SUPPORT_GL_FALSE='#' +else + SUPPORT_GL_TRUE='#' + SUPPORT_GL_FALSE= +fi + + +if test "x$enable_opengl" = "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBlendFunc in -lGL" >&5 +$as_echo_n "checking for glBlendFunc in -lGL... " >&6; } +if ${ac_cv_lib_GL_glBlendFunc+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lGL $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char glBlendFunc (); +int +main () +{ +return glBlendFunc (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_GL_glBlendFunc=yes +else + ac_cv_lib_GL_glBlendFunc=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBlendFunc" >&5 +$as_echo "$ac_cv_lib_GL_glBlendFunc" >&6; } +if test "x$ac_cv_lib_GL_glBlendFunc" = xyes; then : + GL_LIBS="$GL_LIBS -lGL" +else + enable_opengl=no +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluSphere in -lGLU" >&5 +$as_echo_n "checking for gluSphere in -lGLU... " >&6; } +if ${ac_cv_lib_GLU_gluSphere+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lGLU $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char gluSphere (); +int +main () +{ +return gluSphere (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_GLU_gluSphere=yes +else + ac_cv_lib_GLU_gluSphere=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluSphere" >&5 +$as_echo "$ac_cv_lib_GLU_gluSphere" >&6; } +if test "x$ac_cv_lib_GLU_gluSphere" = xyes; then : + GL_LIBS="$GL_LIBS -lGLU" +else + enable_opengl=no +fi + + +$as_echo "#define USE_OPENGL 1" >>confdefs.h + + +$as_echo "#define GL_GLEXT_PROTOTYPES /**/" >>confdefs.h + + + if test "x$enable_opengl" = "xno"; then + as_fn_error $? "GL libraries not available" "$LINENO" 5 + fi +fi + + + +# Checks for header files +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 +$as_echo_n "checking for X... " >&6; } + + +# Check whether --with-x was given. +if test "${with_x+set}" = set; then : + withval=$with_x; +fi + +# $have_x is `yes', `no', `disabled', or empty when we do not yet know. +if test "x$with_x" = xno; then + # The user explicitly disabled X. + have_x=disabled +else + case $x_includes,$x_libraries in #( + *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( + *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : + $as_echo_n "(cached) " >&6 +else + # One or both of the vars are not set, and there is no cached value. +ac_x_includes=no ac_x_libraries=no +rm -f -r conftest.dir +if mkdir conftest.dir; then + cd conftest.dir + cat >Imakefile <<'_ACEOF' +incroot: + @echo incroot='${INCROOT}' +usrlibdir: + @echo usrlibdir='${USRLIBDIR}' +libdir: + @echo libdir='${LIBDIR}' +_ACEOF + if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then + # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. + for ac_var in incroot usrlibdir libdir; do + eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" + done + # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. + for ac_extension in a so sl dylib la dll; do + if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && + test -f "$ac_im_libdir/libX11.$ac_extension"; then + ac_im_usrlibdir=$ac_im_libdir; break + fi + done + # Screen out bogus values from the imake configuration. They are + # bogus both because they are the default anyway, and because + # using them would break gcc on systems where it needs fixed includes. + case $ac_im_incroot in + /usr/include) ac_x_includes= ;; + *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; + esac + case $ac_im_usrlibdir in + /usr/lib | /usr/lib64 | /lib | /lib64) ;; + *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; + esac + fi + cd .. + rm -f -r conftest.dir +fi + +# Standard set of common directories for X headers. +# Check X11 before X11Rn because it is often a symlink to the current release. +ac_x_header_dirs=' +/usr/X11/include +/usr/X11R7/include +/usr/X11R6/include +/usr/X11R5/include +/usr/X11R4/include + +/usr/include/X11 +/usr/include/X11R7 +/usr/include/X11R6 +/usr/include/X11R5 +/usr/include/X11R4 + +/usr/local/X11/include +/usr/local/X11R7/include +/usr/local/X11R6/include +/usr/local/X11R5/include +/usr/local/X11R4/include + +/usr/local/include/X11 +/usr/local/include/X11R7 +/usr/local/include/X11R6 +/usr/local/include/X11R5 +/usr/local/include/X11R4 + +/usr/X386/include +/usr/x386/include +/usr/XFree86/include/X11 + +/usr/include +/usr/local/include +/usr/unsupported/include +/usr/athena/include +/usr/local/x11r5/include +/usr/lpp/Xamples/include + +/usr/openwin/include +/usr/openwin/share/include' + +if test "$ac_x_includes" = no; then + # Guess where to find include files, by looking for Xlib.h. + # First, try using that file with no special directory specified. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <X11/Xlib.h> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # We can compile using X headers with no special include directory. +ac_x_includes= +else + for ac_dir in $ac_x_header_dirs; do + if test -r "$ac_dir/X11/Xlib.h"; then + ac_x_includes=$ac_dir + break + fi +done +fi +rm -f conftest.err conftest.i conftest.$ac_ext +fi # $ac_x_includes = no + +if test "$ac_x_libraries" = no; then + # Check for the libraries. + # See if we find them without any special options. + # Don't add to $LIBS permanently. + ac_save_LIBS=$LIBS + LIBS="-lX11 $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <X11/Xlib.h> +int +main () +{ +XrmInitialize () + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + LIBS=$ac_save_LIBS +# We can link X programs with no special library path. +ac_x_libraries= +else + LIBS=$ac_save_LIBS +for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` +do + # Don't even attempt the hair of trying to link an X program! + for ac_extension in a so sl dylib la dll; do + if test -r "$ac_dir/libX11.$ac_extension"; then + ac_x_libraries=$ac_dir + break 2 + fi + done +done +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi # $ac_x_libraries = no + +case $ac_x_includes,$ac_x_libraries in #( + no,* | *,no | *\'*) + # Didn't find X, or a directory has "'" in its name. + ac_cv_have_x="have_x=no";; #( + *) + # Record where we found X for the cache. + ac_cv_have_x="have_x=yes\ + ac_x_includes='$ac_x_includes'\ + ac_x_libraries='$ac_x_libraries'" +esac +fi +;; #( + *) have_x=yes;; + esac + eval "$ac_cv_have_x" +fi # $with_x != no + +if test "$have_x" != yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 +$as_echo "$have_x" >&6; } + no_x=yes +else + # If each of the values was on the command line, it overrides each guess. + test "x$x_includes" = xNONE && x_includes=$ac_x_includes + test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries + # Update the cache value to reflect the command line values. + ac_cv_have_x="have_x=yes\ + ac_x_includes='$x_includes'\ + ac_x_libraries='$x_libraries'" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 +$as_echo "libraries $x_libraries, headers $x_includes" >&6; } +fi + +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" +if test "x$ac_cv_type_size_t" = xyes; then : + +else + +cat >>confdefs.h <<_ACEOF +#define size_t unsigned int +_ACEOF + +fi + +# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works +# for constant arguments. Useless! +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 +$as_echo_n "checking for working alloca.h... " >&6; } +if ${ac_cv_working_alloca_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <alloca.h> +int +main () +{ +char *p = (char *) alloca (2 * sizeof (int)); + if (p) return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_working_alloca_h=yes +else + ac_cv_working_alloca_h=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 +$as_echo "$ac_cv_working_alloca_h" >&6; } +if test $ac_cv_working_alloca_h = yes; then + +$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 +$as_echo_n "checking for alloca... " >&6; } +if ${ac_cv_func_alloca_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __GNUC__ +# define alloca __builtin_alloca +#else +# ifdef _MSC_VER +# include <malloc.h> +# define alloca _alloca +# else +# ifdef HAVE_ALLOCA_H +# include <alloca.h> +# else +# ifdef _AIX + #pragma alloca +# else +# ifndef alloca /* predefined by HP cc +Olibcalls */ +void *alloca (size_t); +# endif +# endif +# endif +# endif +#endif + +int +main () +{ +char *p = (char *) alloca (1); + if (p) return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_func_alloca_works=yes +else + ac_cv_func_alloca_works=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 +$as_echo "$ac_cv_func_alloca_works" >&6; } + +if test $ac_cv_func_alloca_works = yes; then + +$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h + +else + # The SVR3 libPW and SVR4 libucb both contain incompatible functions +# that cause trouble. Some versions do not even contain alloca or +# contain a buggy version. If you still want to use their alloca, +# use ar to extract alloca.o from them instead of compiling alloca.c. + +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext + +$as_echo "#define C_ALLOCA 1" >>confdefs.h + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 +$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } +if ${ac_cv_os_cray+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#if defined CRAY && ! defined CRAY2 +webecray +#else +wenotbecray +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "webecray" >/dev/null 2>&1; then : + ac_cv_os_cray=yes +else + ac_cv_os_cray=no +fi +rm -f conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 +$as_echo "$ac_cv_os_cray" >&6; } +if test $ac_cv_os_cray = yes; then + for ac_func in _getb67 GETB67 getb67; do + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + +cat >>confdefs.h <<_ACEOF +#define CRAY_STACKSEG_END $ac_func +_ACEOF + + break +fi + + done +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 +$as_echo_n "checking stack direction for C alloca... " >&6; } +if ${ac_cv_c_stack_direction+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + ac_cv_c_stack_direction=0 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +find_stack_direction (int *addr, int depth) +{ + int dir, dummy = 0; + if (! addr) + addr = &dummy; + *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; + dir = depth ? find_stack_direction (addr, depth - 1) : 0; + return dir + dummy; +} + +int +main (int argc, char **argv) +{ + return find_stack_direction (0, argc + !argv + 20) < 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_c_stack_direction=1 +else + ac_cv_c_stack_direction=-1 +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 +$as_echo "$ac_cv_c_stack_direction" >&6; } +cat >>confdefs.h <<_ACEOF +#define STACK_DIRECTION $ac_cv_c_stack_direction +_ACEOF + + +fi + +for ac_header in arpa/inet.h malloc.h netinet/in.h stddef.h stdint.h stdlib.h string.h sys/socket.h unistd.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +# Checks for typedefs, structures, and compiler characteristics +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 +$as_echo_n "checking for inline... " >&6; } +if ${ac_cv_c_inline+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_c_inline=no +for ac_kw in inline __inline__ __inline; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __cplusplus +typedef int foo_t; +static $ac_kw foo_t static_foo () {return 0; } +$ac_kw foo_t foo () {return 0; } +#endif + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_inline=$ac_kw +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + test "$ac_cv_c_inline" != no && break +done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 +$as_echo "$ac_cv_c_inline" >&6; } + +case $ac_cv_c_inline in + inline | yes) ;; + *) + case $ac_cv_c_inline in + no) ac_val=;; + *) ac_val=$ac_cv_c_inline;; + esac + cat >>confdefs.h <<_ACEOF +#ifndef __cplusplus +#define inline $ac_val +#endif +_ACEOF + ;; +esac + +ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t" +case $ac_cv_c_int16_t in #( + no|yes) ;; #( + *) + +cat >>confdefs.h <<_ACEOF +#define int16_t $ac_cv_c_int16_t +_ACEOF +;; +esac + +ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t" +case $ac_cv_c_int32_t in #( + no|yes) ;; #( + *) + +cat >>confdefs.h <<_ACEOF +#define int32_t $ac_cv_c_int32_t +_ACEOF +;; +esac + +ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t" +case $ac_cv_c_int64_t in #( + no|yes) ;; #( + *) + +cat >>confdefs.h <<_ACEOF +#define int64_t $ac_cv_c_int64_t +_ACEOF +;; +esac + +ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t" +case $ac_cv_c_int8_t in #( + no|yes) ;; #( + *) + +cat >>confdefs.h <<_ACEOF +#define int8_t $ac_cv_c_int8_t +_ACEOF +;; +esac + +ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" +if test "x$ac_cv_type_pid_t" = xyes; then : + +else + +cat >>confdefs.h <<_ACEOF +#define pid_t int +_ACEOF + +fi + +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" +if test "x$ac_cv_type_size_t" = xyes; then : + +else + +cat >>confdefs.h <<_ACEOF +#define size_t unsigned int +_ACEOF + +fi + +ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" +case $ac_cv_c_uint16_t in #( + no|yes) ;; #( + *) + + +cat >>confdefs.h <<_ACEOF +#define uint16_t $ac_cv_c_uint16_t +_ACEOF +;; + esac + +ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" +case $ac_cv_c_uint32_t in #( + no|yes) ;; #( + *) + +$as_echo "#define _UINT32_T 1" >>confdefs.h + + +cat >>confdefs.h <<_ACEOF +#define uint32_t $ac_cv_c_uint32_t +_ACEOF +;; + esac + +ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t" +case $ac_cv_c_uint64_t in #( + no|yes) ;; #( + *) + +$as_echo "#define _UINT64_T 1" >>confdefs.h + + +cat >>confdefs.h <<_ACEOF +#define uint64_t $ac_cv_c_uint64_t +_ACEOF +;; + esac + +ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t" +case $ac_cv_c_uint8_t in #( + no|yes) ;; #( + *) + +$as_echo "#define _UINT8_T 1" >>confdefs.h + + +cat >>confdefs.h <<_ACEOF +#define uint8_t $ac_cv_c_uint8_t +_ACEOF +;; + esac + + +# Checks for library functions +# do not check malloc or realloc, since that cannot be cross-compiled checked +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 +$as_echo_n "checking for error_at_line... " >&6; } +if ${ac_cv_lib_error_at_line+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <error.h> +int +main () +{ +error_at_line (0, 0, "", 0, "an error occurred"); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_error_at_line=yes +else + ac_cv_lib_error_at_line=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5 +$as_echo "$ac_cv_lib_error_at_line" >&6; } +if test $ac_cv_lib_error_at_line = no; then + case " $LIBOBJS " in + *" error.$ac_objext "* ) ;; + *) LIBOBJS="$LIBOBJS error.$ac_objext" + ;; +esac + +fi + +for ac_header in vfork.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" +if test "x$ac_cv_header_vfork_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_VFORK_H 1 +_ACEOF + +fi + +done + +for ac_func in fork vfork +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + +if test "x$ac_cv_func_fork" = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 +$as_echo_n "checking for working fork... " >&6; } +if ${ac_cv_func_fork_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + ac_cv_func_fork_works=cross +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ + + /* By Ruediger Kuhlmann. */ + return fork () < 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_func_fork_works=yes +else + ac_cv_func_fork_works=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5 +$as_echo "$ac_cv_func_fork_works" >&6; } + +else + ac_cv_func_fork_works=$ac_cv_func_fork +fi +if test "x$ac_cv_func_fork_works" = xcross; then + case $host in + *-*-amigaos* | *-*-msdosdjgpp*) + # Override, as these systems have only a dummy fork() stub + ac_cv_func_fork_works=no + ;; + *) + ac_cv_func_fork_works=yes + ;; + esac + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 +$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} +fi +ac_cv_func_vfork_works=$ac_cv_func_vfork +if test "x$ac_cv_func_vfork" = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 +$as_echo_n "checking for working vfork... " >&6; } +if ${ac_cv_func_vfork_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + ac_cv_func_vfork_works=cross +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Thanks to Paul Eggert for this test. */ +$ac_includes_default +#include <sys/wait.h> +#ifdef HAVE_VFORK_H +# include <vfork.h> +#endif +/* On some sparc systems, changes by the child to local and incoming + argument registers are propagated back to the parent. The compiler + is told about this with #include <vfork.h>, but some compilers + (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a + static variable whose address is put into a register that is + clobbered by the vfork. */ +static void +#ifdef __cplusplus +sparc_address_test (int arg) +# else +sparc_address_test (arg) int arg; +#endif +{ + static pid_t child; + if (!child) { + child = vfork (); + if (child < 0) { + perror ("vfork"); + _exit(2); + } + if (!child) { + arg = getpid(); + write(-1, "", 0); + _exit (arg); + } + } +} + +int +main () +{ + pid_t parent = getpid (); + pid_t child; + + sparc_address_test (0); + + child = vfork (); + + if (child == 0) { + /* Here is another test for sparc vfork register problems. This + test uses lots of local variables, at least as many local + variables as main has allocated so far including compiler + temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris + 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should + reuse the register of parent for one of the local variables, + since it will think that parent can't possibly be used any more + in this routine. Assigning to the local variable will thus + munge parent in the parent process. */ + pid_t + p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), + p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); + /* Convince the compiler that p..p7 are live; otherwise, it might + use the same hardware register for all 8 local variables. */ + if (p != p1 || p != p2 || p != p3 || p != p4 + || p != p5 || p != p6 || p != p7) + _exit(1); + + /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent + from child file descriptors. If the child closes a descriptor + before it execs or exits, this munges the parent's descriptor + as well. Test for this by closing stdout in the child. */ + _exit(close(fileno(stdout)) != 0); + } else { + int status; + struct stat st; + + while (wait(&status) != child) + ; + return ( + /* Was there some problem with vforking? */ + child < 0 + + /* Did the child fail? (This shouldn't happen.) */ + || status + + /* Did the vfork/compiler bug occur? */ + || parent != getpid() + + /* Did the file descriptor bug occur? */ + || fstat(fileno(stdout), &st) != 0 + ); + } +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_func_vfork_works=yes +else + ac_cv_func_vfork_works=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5 +$as_echo "$ac_cv_func_vfork_works" >&6; } + +fi; +if test "x$ac_cv_func_fork_works" = xcross; then + ac_cv_func_vfork_works=$ac_cv_func_vfork + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 +$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} +fi + +if test "x$ac_cv_func_vfork_works" = xyes; then + +$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h + +else + +$as_echo "#define vfork fork" >>confdefs.h + +fi +if test "x$ac_cv_func_fork_works" = xyes; then + +$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h + +fi + +for ac_func in dup2 floor inet_ntoa memmove memset pow sqrt +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + +# Others + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5 +$as_echo_n "checking for native Win32... " >&6; } +case "$host_os" in + *mingw*|*cygwin*) + os_win32=yes + ;; + *) + os_win32=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5 +$as_echo "$os_win32" >&6; } + if test "$os_win32" = "yes"; then + OS_WIN32_TRUE= + OS_WIN32_FALSE='#' +else + OS_WIN32_TRUE='#' + OS_WIN32_FALSE= +fi + + +# The End! +ac_config_files="$ac_config_files Makefile common/Makefile python_modules/Makefile" + + + + +cat >confcache <<\_ACEOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +( + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; #( + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) | + sed ' + /^ac_cv_env_/b end + t clear + :clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + if test "x$cache_file" != "x/dev/null"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache >"$cache_file" + else + case $cache_file in #( + */* | ?:*) + mv -f confcache "$cache_file"$$ && + mv -f "$cache_file"$$ "$cache_file" ;; #( + *) + mv -f confcache "$cache_file" ;; + esac + fi + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + fi +fi +rm -f confcache + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +DEFS="-DHAVE_CONFIG_H -DCONFIG_MARU" +#DEFS=-DHAVE_CONFIG_H + +ac_libobjs= +ac_ltlibobjs= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 +$as_echo_n "checking that generated files are newer than configure... " >&6; } + if test -n "$am_sleep_pid"; then + # Hide warnings about reused PIDs. + wait $am_sleep_pid 2>/dev/null + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 +$as_echo "done" >&6; } +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + as_fn_error $? "conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error $? "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + if test -n "$EXEEXT"; then + am__EXEEXT_TRUE= + am__EXEEXT_FALSE='#' +else + am__EXEEXT_TRUE='#' + am__EXEEXT_FALSE= +fi + +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then + as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${WITH_SMARTCARD_TRUE}" && test -z "${WITH_SMARTCARD_FALSE}"; then + as_fn_error $? "conditional \"WITH_SMARTCARD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${WITH_SMARTCARD_TRUE}" && test -z "${WITH_SMARTCARD_FALSE}"; then + as_fn_error $? "conditional \"WITH_SMARTCARD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${SUPPORT_GL_TRUE}" && test -z "${SUPPORT_GL_FALSE}"; then + as_fn_error $? "conditional \"SUPPORT_GL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then + as_fn_error $? "conditional \"OS_WIN32\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + +: "${CONFIG_STATUS=./config.status}" +ac_write_fail=0 +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +as_write_fail=0 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false + +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi +else + as_ln_s='cp -pR' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +as_test_x='test -x' +as_executable_p=as_fn_executable_p + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# Save the log message, to keep $0 and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by spice-common $as_me noversion, which was +generated by GNU Autoconf 2.69. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +_ACEOF + +case $ac_config_files in *" +"*) set x $ac_config_files; shift; ac_config_files=$*;; +esac + +case $ac_config_headers in *" +"*) set x $ac_config_headers; shift; ac_config_headers=$*;; +esac + + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# Files that config.status was made for. +config_files="$ac_config_files" +config_headers="$ac_config_headers" +config_commands="$ac_config_commands" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. + +Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration commands: +$config_commands + +Report bugs to <spice-devel@lists.freedesktop.org>." + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" +ac_cs_version="\\ +spice-common config.status noversion +configured by $0, generated by GNU Autoconf 2.69, + with options \\"\$ac_cs_config\\" + +Copyright (C) 2012 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='$ac_pwd' +srcdir='$srcdir' +INSTALL='$INSTALL' +MKDIR_P='$MKDIR_P' +AWK='$AWK' +test -n "\$AWK" || AWK=awk +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=?*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + --*=) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg= + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + '') as_fn_error $? "missing file argument" ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + as_fn_error $? "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; + --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) as_fn_error $? "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; + + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +if \$ac_cs_recheck; then + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' + export CONFIG_SHELL + exec "\$@" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + $as_echo "$ac_log" +} >&5 + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# +# INIT-COMMANDS +# +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" + + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +sed_quote_subst='$sed_quote_subst' +double_quote_subst='$double_quote_subst' +delay_variable_subst='$delay_variable_subst' +macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' +macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' +enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' +enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' +pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' +enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' +ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' +PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' +host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' +host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' +host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' +build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' +build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' +build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' +SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' +Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' +GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' +EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' +FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' +LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' +NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' +LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' +max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' +ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' +exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' +lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' +lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' +lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' +lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' +lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' +reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' +reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' +OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' +deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' +file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' +file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' +want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' +DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' +sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' +AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' +AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' +archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' +STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' +RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' +old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' +old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' +old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' +lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' +CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' +CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' +compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' +GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' +nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' +lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' +objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' +MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' +lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' +need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' +MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' +DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' +NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' +LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' +OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' +OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' +libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' +shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' +extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' +archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' +enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' +export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' +whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' +compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' +old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' +old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' +archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' +archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' +module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' +module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' +with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' +allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' +no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' +hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' +hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' +hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' +hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' +hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' +inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' +link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' +always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' +export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' +exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' +include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' +prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' +postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' +file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' +variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' +need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' +need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' +version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' +runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' +shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' +shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' +libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' +library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' +soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' +install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' +postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' +postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' +finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' +finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' +hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' +sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' +sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' +hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' +enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' +enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' +enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' +old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' +striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' + +LTCC='$LTCC' +LTCFLAGS='$LTCFLAGS' +compiler='$compiler_DEFAULT' + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$1 +_LTECHO_EOF' +} + +# Quote evaled strings. +for var in SHELL \ +ECHO \ +PATH_SEPARATOR \ +SED \ +GREP \ +EGREP \ +FGREP \ +LD \ +NM \ +LN_S \ +lt_SP2NL \ +lt_NL2SP \ +reload_flag \ +OBJDUMP \ +deplibs_check_method \ +file_magic_cmd \ +file_magic_glob \ +want_nocaseglob \ +DLLTOOL \ +sharedlib_from_linklib_cmd \ +AR \ +AR_FLAGS \ +archiver_list_spec \ +STRIP \ +RANLIB \ +CC \ +CFLAGS \ +compiler \ +lt_cv_sys_global_symbol_pipe \ +lt_cv_sys_global_symbol_to_cdecl \ +lt_cv_sys_global_symbol_to_c_name_address \ +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ +nm_file_list_spec \ +lt_prog_compiler_no_builtin_flag \ +lt_prog_compiler_pic \ +lt_prog_compiler_wl \ +lt_prog_compiler_static \ +lt_cv_prog_compiler_c_o \ +need_locks \ +MANIFEST_TOOL \ +DSYMUTIL \ +NMEDIT \ +LIPO \ +OTOOL \ +OTOOL64 \ +shrext_cmds \ +export_dynamic_flag_spec \ +whole_archive_flag_spec \ +compiler_needs_object \ +with_gnu_ld \ +allow_undefined_flag \ +no_undefined_flag \ +hardcode_libdir_flag_spec \ +hardcode_libdir_separator \ +exclude_expsyms \ +include_expsyms \ +file_list_spec \ +variables_saved_for_relink \ +libname_spec \ +library_names_spec \ +soname_spec \ +install_override_mode \ +finish_eval \ +old_striplib \ +striplib; do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[\\\\\\\`\\"\\\$]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +# Double-quote double-evaled strings. +for var in reload_cmds \ +old_postinstall_cmds \ +old_postuninstall_cmds \ +old_archive_cmds \ +extract_expsyms_cmds \ +old_archive_from_new_cmds \ +old_archive_from_expsyms_cmds \ +archive_cmds \ +archive_expsym_cmds \ +module_cmds \ +module_expsym_cmds \ +export_symbols_cmds \ +prelink_cmds \ +postlink_cmds \ +postinstall_cmds \ +postuninstall_cmds \ +finish_cmds \ +sys_lib_search_path_spec \ +sys_lib_dlsearch_path_spec; do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[\\\\\\\`\\"\\\$]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +ac_aux_dir='$ac_aux_dir' +xsi_shell='$xsi_shell' +lt_shell_append='$lt_shell_append' + +# See if we are running on zsh, and set the options which allow our +# commands through without removal of \ escapes INIT. +if test -n "\${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi + + + PACKAGE='$PACKAGE' + VERSION='$VERSION' + TIMESTAMP='$TIMESTAMP' + RM='$RM' + ofile='$ofile' + + + + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;; + "python_modules/Makefile") CONFIG_FILES="$CONFIG_FILES python_modules/Makefile" ;; + + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= ac_tmp= + trap 'exit_status=$? + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && +_ACEOF + + +{ + echo "cat >conf$$subs.awk <<_ACEOF" && + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" +} >conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + . ./conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done +rm -f conf$$subs.sh + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && +_ACEOF +sed -n ' +h +s/^/S["/; s/!.*/"]=/ +p +g +s/^[^!]*!// +:repl +t repl +s/'"$ac_delim"'$// +t delim +:nl +h +s/\(.\{148\}\)..*/\1/ +t more1 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ +p +n +b repl +:more1 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t nl +:delim +h +s/\(.\{148\}\)..*/\1/ +t more2 +s/["\\]/\\&/g; s/^/"/; s/$/"/ +p +b +:more2 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t delim +' <conf$$subs.awk | sed ' +/^[^""]/{ + N + s/\n// +} +' >>$CONFIG_STATUS || ac_write_fail=1 +rm -f conf$$subs.awk +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACAWK +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 +_ACEOF + +# VPATH may cause trouble with some makes, so we remove sole $(srcdir), +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ +h +s/// +s/^/:/ +s/[ ]*$/:/ +s/:\$(srcdir):/:/g +s/:\${srcdir}:/:/g +s/:@srcdir@:/:/g +s/^:*// +s/:*$// +x +s/\(=[ ]*\).*/\1/ +G +s/\n// +s/^[^=]*=[ ]*$// +}' +fi + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +fi # test -n "$CONFIG_FILES" + +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$ac_tmp/defines.awk" <<\_ACAWK || +BEGIN { +_ACEOF + +# Transform confdefs.h into an awk script `defines.awk', embedded as +# here-document in config.status, that substitutes the proper values into +# config.h.in to produce config.h. + +# Create a delimiter string that does not exist in confdefs.h, to ease +# handling of long lines. +ac_delim='%!_!# ' +for ac_last_try in false false :; do + ac_tt=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_tt"; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +# For the awk script, D is an array of macro values keyed by name, +# likewise P contains macro parameters if any. Preserve backslash +# newline sequences. + +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* +sed -n ' +s/.\{148\}/&'"$ac_delim"'/g +t rset +:rset +s/^[ ]*#[ ]*define[ ][ ]*/ / +t def +d +:def +s/\\$// +t bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3"/p +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p +d +:bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3\\\\\\n"\\/p +t cont +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p +t cont +d +:cont +n +s/.\{148\}/&'"$ac_delim"'/g +t clear +:clear +s/\\$// +t bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/"/p +d +:bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p +b cont +' <confdefs.h | sed ' +s/'"$ac_delim"'/"\\\ +"/g' >>$CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { + line = \$ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 +fi # test -n "$CONFIG_HEADERS" + + +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$ac_tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac + ac_MKDIR_P=$MKDIR_P + case $MKDIR_P in + [\\/$]* | ?:[\\/]* ) ;; + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; + esac +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_datarootdir_hack=' + s&@datadir@&$datadir&g + s&@docdir@&$docdir&g + s&@infodir@&$infodir&g + s&@localedir@&$localedir&g + s&@mandir@&$mandir&g + s&\\\${datarootdir}&$datarootdir&g' ;; +esac +_ACEOF + +# Neutralize VPATH when `$srcdir' = `.'. +# Shell code in configure.ac might set extrasub. +# FIXME: do we really want to maintain this feature? +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_sed_extra="$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +s&@MKDIR_P@&$ac_MKDIR_P&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&2;} + + rm -f "$ac_tmp/stdin" + case $ac_file in + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; + esac \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + ;; + :H) + # + # CONFIG_HEADER + # + if test x"$ac_file" != x-; then + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + } >"$ac_tmp/config.h" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$ac_tmp/config.h" "$ac_file" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + fi + else + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error $? "could not create -" "$LINENO" 5 + fi +# Compute "$ac_file"'s index in $config_headers. +_am_arg="$ac_file" +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$_am_arg" : 'X\(//\)[^/]' \| \ + X"$_am_arg" : 'X\(//\)$' \| \ + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$_am_arg" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'`/stamp-h$_am_stamp_count + ;; + + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || { + # Older Autoconf quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named 'Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running 'make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir=$dirpart/$fdir; as_fn_mkdir_p + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done + done +} + ;; + "libtool":C) + + # See if we are running on zsh, and set the options which allow our + # commands through without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + + cfgfile="${ofile}T" + trap "$RM \"$cfgfile\"; exit 1" 1 2 15 + $RM "$cfgfile" + + cat <<_LT_EOF >> "$cfgfile" +#! $SHELL + +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +# 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file is part of GNU Libtool. +# +# GNU Libtool 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. +# +# As a special exception to the GNU General Public License, +# if you distribute this file as part of a program or library that +# is built using GNU Libtool, you may include this file under the +# same distribution terms that you use for the rest of that program. +# +# GNU Libtool 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 GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or +# obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + +# The names of the tagged configurations supported by this script. +available_tags="" + +# ### BEGIN LIBTOOL CONFIG + +# Which release of libtool.m4 was used? +macro_version=$macro_version +macro_revision=$macro_revision + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# What type of objects to build. +pic_mode=$pic_mode + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# An echo program that protects backslashes. +ECHO=$lt_ECHO + +# The PATH separator for the build system. +PATH_SEPARATOR=$lt_PATH_SEPARATOR + +# The host system. +host_alias=$host_alias +host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="\$SED -e 1s/^X//" + +# A grep program that handles long lines. +GREP=$lt_GREP + +# An ERE matcher. +EGREP=$lt_EGREP + +# A literal string matcher. +FGREP=$lt_FGREP + +# A BSD- or MS-compatible name lister. +NM=$lt_NM + +# Whether we need soft or hard links. +LN_S=$lt_LN_S + +# What is the maximum length of a command? +max_cmd_len=$max_cmd_len + +# Object file suffix (normally "o"). +objext=$ac_objext + +# Executable file suffix (normally ""). +exeext=$exeext + +# whether the shell understands "unset". +lt_unset=$lt_unset + +# turn spaces into newlines. +SP2NL=$lt_lt_SP2NL + +# turn newlines into spaces. +NL2SP=$lt_lt_NL2SP + +# convert \$build file names to \$host format. +to_host_file_cmd=$lt_cv_to_host_file_cmd + +# convert \$build files to toolchain format. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd + +# An object symbol dumper. +OBJDUMP=$lt_OBJDUMP + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method = "file_magic". +file_magic_cmd=$lt_file_magic_cmd + +# How to find potential files when deplibs_check_method = "file_magic". +file_magic_glob=$lt_file_magic_glob + +# Find potential files using nocaseglob when deplibs_check_method = "file_magic". +want_nocaseglob=$lt_want_nocaseglob + +# DLL creation program. +DLLTOOL=$lt_DLLTOOL + +# Command to associate shared and link libraries. +sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd + +# The archiver. +AR=$lt_AR + +# Flags to create an archive. +AR_FLAGS=$lt_AR_FLAGS + +# How to feed a file listing to the archiver. +archiver_list_spec=$lt_archiver_list_spec + +# A symbol stripping program. +STRIP=$lt_STRIP + +# Commands used to install an old-style archive. +RANLIB=$lt_RANLIB +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Whether to use a lock for old archive extraction. +lock_old_archive_extraction=$lock_old_archive_extraction + +# A C compiler. +LTCC=$lt_CC + +# LTCC compiler flags. +LTCFLAGS=$lt_CFLAGS + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# Transform the output of nm in a C name address pair when lib prefix is needed. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix + +# Specify filename containing input files for \$NM. +nm_file_list_spec=$lt_nm_file_list_spec + +# The root where to search for dependent libraries,and in which our libraries should be installed. +lt_sysroot=$lt_sysroot + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# Used to examine libraries when file_magic_cmd begins with "file". +MAGIC_CMD=$MAGIC_CMD + +# Must we lock files when doing compilation? +need_locks=$lt_need_locks + +# Manifest tool. +MANIFEST_TOOL=$lt_MANIFEST_TOOL + +# Tool to manipulate archived DWARF debug symbol files on Mac OS X. +DSYMUTIL=$lt_DSYMUTIL + +# Tool to change global to local symbols on Mac OS X. +NMEDIT=$lt_NMEDIT + +# Tool to manipulate fat objects and archives on Mac OS X. +LIPO=$lt_LIPO + +# ldd/readelf like tool for Mach-O binaries on Mac OS X. +OTOOL=$lt_OTOOL + +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. +OTOOL64=$lt_OTOOL64 + +# Old archive suffix (normally "a"). +libext=$libext + +# Shared library suffix (normally ".so"). +shrext_cmds=$lt_shrext_cmds + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at link time. +variables_saved_for_relink=$lt_variables_saved_for_relink + +# Do we need the "lib" prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Library versioning type. +version_type=$version_type + +# Shared library runtime path variable. +runpath_var=$runpath_var + +# Shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Permission mode override for installation of shared libraries. +install_override_mode=$lt_install_override_mode + +# Command to use after installation of a shared archive. +postinstall_cmds=$lt_postinstall_cmds + +# Command to use after uninstallation of a shared archive. +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# As "finish_cmds", except a single script fragment to be evaled but +# not shown. +finish_eval=$lt_finish_eval + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Compile-time system search path for libraries. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries. +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + + +# The linker used to build libraries. +LD=$lt_LD + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# Commands used to build an old-style archive. +old_archive_cmds=$lt_old_archive_cmds + +# A language specific compiler. +CC=$lt_compiler + +# Is the compiler the GNU compiler? +with_gcc=$GCC + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc + +# Whether or not to disallow shared libs when runtime libs are static. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec + +# Whether the compiler copes with passing no objects directly. +compiler_needs_object=$lt_compiler_needs_object + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds + +# Commands used to build a shared archive. +archive_cmds=$lt_archive_cmds +archive_expsym_cmds=$lt_archive_expsym_cmds + +# Commands used to build a loadable module if different from building +# a shared archive. +module_cmds=$lt_module_cmds +module_expsym_cmds=$lt_module_expsym_cmds + +# Whether we are building with GNU ld or not. +with_gnu_ld=$lt_with_gnu_ld + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag + +# Flag that enforces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec + +# Whether we need a single "-rpath" flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator + +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes +# DIR into the resulting binary. +hardcode_direct=$hardcode_direct + +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes +# DIR into the resulting binary and the resulting library dependency is +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the +# library is relocated. +hardcode_direct_absolute=$hardcode_direct_absolute + +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR +# into the resulting binary. +hardcode_minus_L=$hardcode_minus_L + +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR +# into the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var + +# Set to "yes" if building a shared library automatically hardcodes DIR +# into the library and all subsequent libraries and executables linked +# against it. +hardcode_automatic=$hardcode_automatic + +# Set to yes if linker adds runtime paths of dependent libraries +# to runtime path list. +inherit_rpath=$inherit_rpath + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs + +# Set to "yes" if exported symbols are required. +always_export_symbols=$always_export_symbols + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms + +# Commands necessary for linking programs (against libraries) with templates. +prelink_cmds=$lt_prelink_cmds + +# Commands necessary for finishing linking programs. +postlink_cmds=$lt_postlink_cmds + +# Specify filename containing input files. +file_list_spec=$lt_file_list_spec + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action + +# ### END LIBTOOL CONFIG + +_LT_EOF + + case $host_os in + aix3*) + cat <<\_LT_EOF >> "$cfgfile" +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +_LT_EOF + ;; + esac + + +ltmain="$ac_aux_dir/ltmain.sh" + + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + if test x"$xsi_shell" = xyes; then + sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ +func_dirname ()\ +{\ +\ case ${1} in\ +\ */*) func_dirname_result="${1%/*}${2}" ;;\ +\ * ) func_dirname_result="${3}" ;;\ +\ esac\ +} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_basename ()$/,/^} # func_basename /c\ +func_basename ()\ +{\ +\ func_basename_result="${1##*/}"\ +} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ +func_dirname_and_basename ()\ +{\ +\ case ${1} in\ +\ */*) func_dirname_result="${1%/*}${2}" ;;\ +\ * ) func_dirname_result="${3}" ;;\ +\ esac\ +\ func_basename_result="${1##*/}"\ +} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ +func_stripname ()\ +{\ +\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ +\ # positional parameters, so assign one to ordinary parameter first.\ +\ func_stripname_result=${3}\ +\ func_stripname_result=${func_stripname_result#"${1}"}\ +\ func_stripname_result=${func_stripname_result%"${2}"}\ +} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ +func_split_long_opt ()\ +{\ +\ func_split_long_opt_name=${1%%=*}\ +\ func_split_long_opt_arg=${1#*=}\ +} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ +func_split_short_opt ()\ +{\ +\ func_split_short_opt_arg=${1#??}\ +\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ +} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ +func_lo2o ()\ +{\ +\ case ${1} in\ +\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ +\ *) func_lo2o_result=${1} ;;\ +\ esac\ +} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_xform ()$/,/^} # func_xform /c\ +func_xform ()\ +{\ + func_xform_result=${1%.*}.lo\ +} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_arith ()$/,/^} # func_arith /c\ +func_arith ()\ +{\ + func_arith_result=$(( $* ))\ +} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_len ()$/,/^} # func_len /c\ +func_len ()\ +{\ + func_len_result=${#1}\ +} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + +fi + +if test x"$lt_shell_append" = xyes; then + sed -e '/^func_append ()$/,/^} # func_append /c\ +func_append ()\ +{\ + eval "${1}+=\\${2}"\ +} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ +func_append_quoted ()\ +{\ +\ func_quote_for_eval "${2}"\ +\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ +} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + # Save a `func_append' function call where possible by direct use of '+=' + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +else + # Save a `func_append' function call even when '+=' is not available + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +fi + +if test x"$_lt_function_replace_fail" = x":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} +fi + + + mv -f "$cfgfile" "$ofile" || + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" + + ;; + + esac +done # for ac_tag + + +as_fn_exit 0 +_ACEOF +ac_clean_files=$ac_clean_files_save + +test $ac_write_fail = 0 || + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || as_fn_exit 1 +fi + +# +# CONFIG_SUBDIRS section. +# +if test "$no_recursion" != yes; then + + # Remove --cache-file, --srcdir, and --disable-option-checking arguments + # so they do not pile up. + ac_sub_configure_args= + ac_prev= + eval "set x $ac_configure_args" + shift + for ac_arg + do + if test -n "$ac_prev"; then + ac_prev= + continue + fi + case $ac_arg in + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ + | --c=*) + ;; + --config-cache | -C) + ;; + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + ;; + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + ;; + --disable-option-checking) + ;; + *) + case $ac_arg in + *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append ac_sub_configure_args " '$ac_arg'" ;; + esac + done + + # Always prepend --prefix to ensure using the same prefix + # in subdir configurations. + ac_arg="--prefix=$prefix" + case $ac_arg in + *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" + + # Pass --silent + if test "$silent" = yes; then + ac_sub_configure_args="--silent $ac_sub_configure_args" + fi + + # Always prepend --disable-option-checking to silence warnings, since + # different subdirs can have different --enable and --with options. + ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" + + ac_popdir=`pwd` + for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue + + # Do not complain, so a configure script can configure whichever + # parts of a large source tree are present. + test -d "$srcdir/$ac_dir" || continue + + ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" + $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 + $as_echo "$ac_msg" >&6 + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + cd "$ac_dir" + + # Check for guested configure; otherwise get Cygnus style configure. + if test -f "$ac_srcdir/configure.gnu"; then + ac_sub_configure=$ac_srcdir/configure.gnu + elif test -f "$ac_srcdir/configure"; then + ac_sub_configure=$ac_srcdir/configure + elif test -f "$ac_srcdir/configure.in"; then + # This should be Cygnus configure. + ac_sub_configure=$ac_aux_dir/configure + else + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 +$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} + ac_sub_configure= + fi + + # The recursion is here. + if test -n "$ac_sub_configure"; then + # Make the cache file name correct relative to the subdirectory. + case $cache_file in + [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; + *) # Relative name. + ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; + esac + + { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 +$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} + # The eval makes quoting arguments work. + eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ + --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || + as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 + fi + + cd "$ac_popdir" + done +fi +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} +fi + diff --git a/tizen/distrib/remote/common/spice-common/configure.ac b/tizen/distrib/remote/common/spice-common/configure.ac new file mode 100644 index 0000000..b5cb960 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/configure.ac @@ -0,0 +1,123 @@ +AC_PREREQ([2.63]) + +AC_INIT([spice-common], + [noversion], + [spice-devel@lists.freedesktop.org]) + +AC_CONFIG_SRCDIR([common/bitops.h]) +AC_CONFIG_MACRO_DIR([m4]) +AM_CONFIG_HEADER([config.h]) +AC_CONFIG_AUX_DIR([build-aux]) + +# For automake >= 1.12 +m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) + +# Checks for programs +AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip tar-ustar foreign -Wall -Werror]) +AM_MAINTAINER_MODE +AM_SILENT_RULES([yes]) +LT_INIT + +AC_PROG_CC +AC_PROG_CC_C99 +if test "x$ac_cv_prog_cc_c99" = xno; then + AC_MSG_ERROR([C99 compiler is required.]) +fi +AM_PROG_CC_C_O + +# Checks for libraries +AC_CONFIG_SUBDIRS([spice-protocol]) +PROTOCOL_CFLAGS='-I ${top_srcdir}/spice-protocol' +AC_SUBST(PROTOCOL_CFLAGS) + +PKG_CHECK_MODULES(PIXMAN, pixman-1 >= 0.17.7) +AC_SUBST(PIXMAN_CFLAGS) + +AC_ARG_ENABLE([smartcard], + AS_HELP_STRING([--enable-smartcard=@<:@yes/no@:>@], + [Enable smartcard support @<:@default=yes@:>@]), + [], + [enable_smartcard="yes"]) + +if test "x$enable_smartcard" = "xno"; then + AM_CONDITIONAL(WITH_SMARTCARD, false) +else + PKG_CHECK_MODULES(SMARTCARD, libcacard >= 0.1.2) + AC_DEFINE(USE_SMARTCARD, [1], [Define if supporting smartcard proxying]) + AM_CONDITIONAL(WITH_SMARTCARD, true) +fi + +AC_ARG_ENABLE([opengl], + AS_HELP_STRING([--enable-opengl=@<:@yes/no@:>@], + [Enable opengl support (not recommended) @<:@default=no@:>@]), + [], + [enable_opengl="no"]) +AM_CONDITIONAL(SUPPORT_GL, test "x$enable_opengl" = "xyes") + +if test "x$enable_opengl" = "xyes"; then + AC_CHECK_LIB(GL, glBlendFunc, GL_LIBS="$GL_LIBS -lGL", enable_opengl=no) + AC_CHECK_LIB(GLU, gluSphere, GL_LIBS="$GL_LIBS -lGLU", enable_opengl=no) + AC_DEFINE([USE_OPENGL], [1], [Define to build with OpenGL support]) + AC_DEFINE([GL_GLEXT_PROTOTYPES], [], [Enable GLExt prototypes]) + + if test "x$enable_opengl" = "xno"; then + AC_MSG_ERROR([GL libraries not available]) + fi +fi +AC_SUBST(GL_CFLAGS) +AC_SUBST(GL_LIBS) + +# Checks for header files +AC_PATH_X +AC_FUNC_ALLOCA +AC_CHECK_HEADERS([arpa/inet.h malloc.h netinet/in.h stddef.h stdint.h stdlib.h string.h sys/socket.h unistd.h]) + +# Checks for typedefs, structures, and compiler characteristics +AC_C_INLINE +AC_TYPE_INT16_T +AC_TYPE_INT32_T +AC_TYPE_INT64_T +AC_TYPE_INT8_T +AC_TYPE_PID_T +AC_TYPE_SIZE_T +AC_TYPE_UINT16_T +AC_TYPE_UINT32_T +AC_TYPE_UINT64_T +AC_TYPE_UINT8_T + +# Checks for library functions +# do not check malloc or realloc, since that cannot be cross-compiled checked +AC_FUNC_ERROR_AT_LINE +AC_FUNC_FORK +AC_CHECK_FUNCS([dup2 floor inet_ntoa memmove memset pow sqrt]) + +# Others +AC_CANONICAL_HOST + +AC_MSG_CHECKING([for native Win32]) +case "$host_os" in + *mingw*|*cygwin*) + os_win32=yes + ;; + *) + os_win32=no + ;; +esac +AC_MSG_RESULT([$os_win32]) +AM_CONDITIONAL([OS_WIN32],[test "$os_win32" = "yes"]) + +# The End! +AC_CONFIG_FILES([ + Makefile + common/Makefile + python_modules/Makefile +]) + +AH_BOTTOM([ +/* argh.. this is evil */ +#if defined(FIXME_SERVER_SMARTCARD) && defined(USE_SMARTCARD) +%:undef USE_SMARTCARD +#endif +]) + +AC_OUTPUT diff --git a/tizen/distrib/remote/common/spice-common/m4/libtool.m4 b/tizen/distrib/remote/common/spice-common/m4/libtool.m4 new file mode 100644 index 0000000..56666f0 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/m4/libtool.m4 @@ -0,0 +1,7986 @@ +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +# 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file 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. + +m4_define([_LT_COPYING], [dnl +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +# 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file is part of GNU Libtool. +# +# GNU Libtool 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. +# +# As a special exception to the GNU General Public License, +# if you distribute this file as part of a program or library that +# is built using GNU Libtool, you may include this file under the +# same distribution terms that you use for the rest of that program. +# +# GNU Libtool 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 GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or +# obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +]) + +# serial 57 LT_INIT + + +# LT_PREREQ(VERSION) +# ------------------ +# Complain and exit if this libtool version is less that VERSION. +m4_defun([LT_PREREQ], +[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, + [m4_default([$3], + [m4_fatal([Libtool version $1 or higher is required], + 63)])], + [$2])]) + + +# _LT_CHECK_BUILDDIR +# ------------------ +# Complain if the absolute build directory name contains unusual characters +m4_defun([_LT_CHECK_BUILDDIR], +[case `pwd` in + *\ * | *\ *) + AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; +esac +]) + + +# LT_INIT([OPTIONS]) +# ------------------ +AC_DEFUN([LT_INIT], +[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT +AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl +AC_BEFORE([$0], [LT_LANG])dnl +AC_BEFORE([$0], [LT_OUTPUT])dnl +AC_BEFORE([$0], [LTDL_INIT])dnl +m4_require([_LT_CHECK_BUILDDIR])dnl + +dnl Autoconf doesn't catch unexpanded LT_ macros by default: +m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl +m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 +dnl unless we require an AC_DEFUNed macro: +AC_REQUIRE([LTOPTIONS_VERSION])dnl +AC_REQUIRE([LTSUGAR_VERSION])dnl +AC_REQUIRE([LTVERSION_VERSION])dnl +AC_REQUIRE([LTOBSOLETE_VERSION])dnl +m4_require([_LT_PROG_LTMAIN])dnl + +_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) + +dnl Parse OPTIONS +_LT_SET_OPTIONS([$0], [$1]) + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS="$ltmain" + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' +AC_SUBST(LIBTOOL)dnl + +_LT_SETUP + +# Only expand once: +m4_define([LT_INIT]) +])# LT_INIT + +# Old names: +AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) +AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_PROG_LIBTOOL], []) +dnl AC_DEFUN([AM_PROG_LIBTOOL], []) + + +# _LT_CC_BASENAME(CC) +# ------------------- +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. +m4_defun([_LT_CC_BASENAME], +[for cc_temp in $1""; do + case $cc_temp in + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` +]) + + +# _LT_FILEUTILS_DEFAULTS +# ---------------------- +# It is okay to use these file commands and assume they have been set +# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'. +m4_defun([_LT_FILEUTILS_DEFAULTS], +[: ${CP="cp -f"} +: ${MV="mv -f"} +: ${RM="rm -f"} +])# _LT_FILEUTILS_DEFAULTS + + +# _LT_SETUP +# --------- +m4_defun([_LT_SETUP], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl + +_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl +dnl +_LT_DECL([], [host_alias], [0], [The host system])dnl +_LT_DECL([], [host], [0])dnl +_LT_DECL([], [host_os], [0])dnl +dnl +_LT_DECL([], [build_alias], [0], [The build system])dnl +_LT_DECL([], [build], [0])dnl +_LT_DECL([], [build_os], [0])dnl +dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([LT_PATH_LD])dnl +AC_REQUIRE([LT_PATH_NM])dnl +dnl +AC_REQUIRE([AC_PROG_LN_S])dnl +test -z "$LN_S" && LN_S="ln -s" +_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl +dnl +AC_REQUIRE([LT_CMD_MAX_LEN])dnl +_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl +_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl +dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_CHECK_SHELL_FEATURES])dnl +m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl +m4_require([_LT_CMD_RELOAD])dnl +m4_require([_LT_CHECK_MAGIC_METHOD])dnl +m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl +m4_require([_LT_CMD_OLD_ARCHIVE])dnl +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl +m4_require([_LT_WITH_SYSROOT])dnl + +_LT_CONFIG_LIBTOOL_INIT([ +# See if we are running on zsh, and set the options which allow our +# commands through without removal of \ escapes INIT. +if test -n "\${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi +]) +if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi + +_LT_CHECK_OBJDIR + +m4_require([_LT_TAG_COMPILER])dnl + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Global variables: +ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except MSVC, +# which needs '.lib'). +libext=a + +with_gnu_ld="$lt_cv_prog_gnu_ld" + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS +test -z "$LD" && LD=ld +test -z "$ac_objext" && ac_objext=o + +_LT_CC_BASENAME([$compiler]) + +# Only perform the check for file, if the check method requires it +test -z "$MAGIC_CMD" && MAGIC_CMD=file +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + _LT_PATH_MAGIC + fi + ;; +esac + +# Use C for the default configuration in the libtool script +LT_SUPPORTED_TAG([CC]) +_LT_LANG_C_CONFIG +_LT_LANG_DEFAULT_CONFIG +_LT_CONFIG_COMMANDS +])# _LT_SETUP + + +# _LT_PREPARE_SED_QUOTE_VARS +# -------------------------- +# Define a few sed substitution that help us do robust quoting. +m4_defun([_LT_PREPARE_SED_QUOTE_VARS], +[# Backslashify metacharacters that are still active within +# double-quoted strings. +sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\([["`\\]]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to delay expansion of an escaped single quote. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' +]) + +# _LT_PROG_LTMAIN +# --------------- +# Note that this code is called both from `configure', and `config.status' +# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, +# `config.status' has no value for ac_aux_dir unless we are using Automake, +# so we pass a copy along to make sure it has a sensible value anyway. +m4_defun([_LT_PROG_LTMAIN], +[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl +_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) +ltmain="$ac_aux_dir/ltmain.sh" +])# _LT_PROG_LTMAIN + + +## ------------------------------------- ## +## Accumulate code for creating libtool. ## +## ------------------------------------- ## + +# So that we can recreate a full libtool script including additional +# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS +# in macros and then make a single call at the end using the `libtool' +# label. + + +# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) +# ---------------------------------------- +# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. +m4_define([_LT_CONFIG_LIBTOOL_INIT], +[m4_ifval([$1], + [m4_append([_LT_OUTPUT_LIBTOOL_INIT], + [$1 +])])]) + +# Initialize. +m4_define([_LT_OUTPUT_LIBTOOL_INIT]) + + +# _LT_CONFIG_LIBTOOL([COMMANDS]) +# ------------------------------ +# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. +m4_define([_LT_CONFIG_LIBTOOL], +[m4_ifval([$1], + [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], + [$1 +])])]) + +# Initialize. +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) + + +# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) +# ----------------------------------------------------- +m4_defun([_LT_CONFIG_SAVE_COMMANDS], +[_LT_CONFIG_LIBTOOL([$1]) +_LT_CONFIG_LIBTOOL_INIT([$2]) +]) + + +# _LT_FORMAT_COMMENT([COMMENT]) +# ----------------------------- +# Add leading comment marks to the start of each line, and a trailing +# full-stop to the whole comment if one is not present already. +m4_define([_LT_FORMAT_COMMENT], +[m4_ifval([$1], [ +m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], + [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) +)]) + + + +## ------------------------ ## +## FIXME: Eliminate VARNAME ## +## ------------------------ ## + + +# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) +# ------------------------------------------------------------------- +# CONFIGNAME is the name given to the value in the libtool script. +# VARNAME is the (base) name used in the configure script. +# VALUE may be 0, 1 or 2 for a computed quote escaped value based on +# VARNAME. Any other value will be used directly. +m4_define([_LT_DECL], +[lt_if_append_uniq([lt_decl_varnames], [$2], [, ], + [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], + [m4_ifval([$1], [$1], [$2])]) + lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) + m4_ifval([$4], + [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) + lt_dict_add_subkey([lt_decl_dict], [$2], + [tagged?], [m4_ifval([$5], [yes], [no])])]) +]) + + +# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) +# -------------------------------------------------------- +m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) + + +# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) +# ------------------------------------------------ +m4_define([lt_decl_tag_varnames], +[_lt_decl_filter([tagged?], [yes], $@)]) + + +# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) +# --------------------------------------------------------- +m4_define([_lt_decl_filter], +[m4_case([$#], + [0], [m4_fatal([$0: too few arguments: $#])], + [1], [m4_fatal([$0: too few arguments: $#: $1])], + [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], + [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], + [lt_dict_filter([lt_decl_dict], $@)])[]dnl +]) + + +# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) +# -------------------------------------------------- +m4_define([lt_decl_quote_varnames], +[_lt_decl_filter([value], [1], $@)]) + + +# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) +# --------------------------------------------------- +m4_define([lt_decl_dquote_varnames], +[_lt_decl_filter([value], [2], $@)]) + + +# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) +# --------------------------------------------------- +m4_define([lt_decl_varnames_tagged], +[m4_assert([$# <= 2])dnl +_$0(m4_quote(m4_default([$1], [[, ]])), + m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), + m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) +m4_define([_lt_decl_varnames_tagged], +[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) + + +# lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) +# ------------------------------------------------ +m4_define([lt_decl_all_varnames], +[_$0(m4_quote(m4_default([$1], [[, ]])), + m4_if([$2], [], + m4_quote(lt_decl_varnames), + m4_quote(m4_shift($@))))[]dnl +]) +m4_define([_lt_decl_all_varnames], +[lt_join($@, lt_decl_varnames_tagged([$1], + lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl +]) + + +# _LT_CONFIG_STATUS_DECLARE([VARNAME]) +# ------------------------------------ +# Quote a variable value, and forward it to `config.status' so that its +# declaration there will have the same value as in `configure'. VARNAME +# must have a single quote delimited value for this to work. +m4_define([_LT_CONFIG_STATUS_DECLARE], +[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`']) + + +# _LT_CONFIG_STATUS_DECLARATIONS +# ------------------------------ +# We delimit libtool config variables with single quotes, so when +# we write them to config.status, we have to be sure to quote all +# embedded single quotes properly. In configure, this macro expands +# each variable declared with _LT_DECL (and _LT_TAGDECL) into: +# +# <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`' +m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], +[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), + [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) + + +# _LT_LIBTOOL_TAGS +# ---------------- +# Output comment and list of tags supported by the script +m4_defun([_LT_LIBTOOL_TAGS], +[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl +available_tags="_LT_TAGS"dnl +]) + + +# _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) +# ----------------------------------- +# Extract the dictionary values for VARNAME (optionally with TAG) and +# expand to a commented shell variable setting: +# +# # Some comment about what VAR is for. +# visible_name=$lt_internal_name +m4_define([_LT_LIBTOOL_DECLARE], +[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], + [description])))[]dnl +m4_pushdef([_libtool_name], + m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl +m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), + [0], [_libtool_name=[$]$1], + [1], [_libtool_name=$lt_[]$1], + [2], [_libtool_name=$lt_[]$1], + [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl +m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl +]) + + +# _LT_LIBTOOL_CONFIG_VARS +# ----------------------- +# Produce commented declarations of non-tagged libtool config variables +# suitable for insertion in the LIBTOOL CONFIG section of the `libtool' +# script. Tagged libtool config variables (even for the LIBTOOL CONFIG +# section) are produced by _LT_LIBTOOL_TAG_VARS. +m4_defun([_LT_LIBTOOL_CONFIG_VARS], +[m4_foreach([_lt_var], + m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) + + +# _LT_LIBTOOL_TAG_VARS(TAG) +# ------------------------- +m4_define([_LT_LIBTOOL_TAG_VARS], +[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) + + +# _LT_TAGVAR(VARNAME, [TAGNAME]) +# ------------------------------ +m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) + + +# _LT_CONFIG_COMMANDS +# ------------------- +# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of +# variables for single and double quote escaping we saved from calls +# to _LT_DECL, we can put quote escaped variables declarations +# into `config.status', and then the shell code to quote escape them in +# for loops in `config.status'. Finally, any additional code accumulated +# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. +m4_defun([_LT_CONFIG_COMMANDS], +[AC_PROVIDE_IFELSE([LT_OUTPUT], + dnl If the libtool generation code has been placed in $CONFIG_LT, + dnl instead of duplicating it all over again into config.status, + dnl then we will have config.status run $CONFIG_LT later, so it + dnl needs to know what name is stored there: + [AC_CONFIG_COMMANDS([libtool], + [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], + dnl If the libtool generation code is destined for config.status, + dnl expand the accumulated commands and init code now: + [AC_CONFIG_COMMANDS([libtool], + [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) +])#_LT_CONFIG_COMMANDS + + +# Initialize. +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], +[ + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +sed_quote_subst='$sed_quote_subst' +double_quote_subst='$double_quote_subst' +delay_variable_subst='$delay_variable_subst' +_LT_CONFIG_STATUS_DECLARATIONS +LTCC='$LTCC' +LTCFLAGS='$LTCFLAGS' +compiler='$compiler_DEFAULT' + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$[]1 +_LTECHO_EOF' +} + +# Quote evaled strings. +for var in lt_decl_all_varnames([[ \ +]], lt_decl_quote_varnames); do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[[\\\\\\\`\\"\\\$]]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +# Double-quote double-evaled strings. +for var in lt_decl_all_varnames([[ \ +]], lt_decl_dquote_varnames); do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[[\\\\\\\`\\"\\\$]]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +_LT_OUTPUT_LIBTOOL_INIT +]) + +# _LT_GENERATED_FILE_INIT(FILE, [COMMENT]) +# ------------------------------------ +# Generate a child script FILE with all initialization necessary to +# reuse the environment learned by the parent script, and make the +# file executable. If COMMENT is supplied, it is inserted after the +# `#!' sequence but before initialization text begins. After this +# macro, additional text can be appended to FILE to form the body of +# the child script. The macro ends with non-zero status if the +# file could not be fully written (such as if the disk is full). +m4_ifdef([AS_INIT_GENERATED], +[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])], +[m4_defun([_LT_GENERATED_FILE_INIT], +[m4_require([AS_PREPARE])]dnl +[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl +[lt_write_fail=0 +cat >$1 <<_ASEOF || lt_write_fail=1 +#! $SHELL +# Generated by $as_me. +$2 +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$1 <<\_ASEOF || lt_write_fail=1 +AS_SHELL_SANITIZE +_AS_PREPARE +exec AS_MESSAGE_FD>&1 +_ASEOF +test $lt_write_fail = 0 && chmod +x $1[]dnl +m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT + +# LT_OUTPUT +# --------- +# This macro allows early generation of the libtool script (before +# AC_OUTPUT is called), incase it is used in configure for compilation +# tests. +AC_DEFUN([LT_OUTPUT], +[: ${CONFIG_LT=./config.lt} +AC_MSG_NOTICE([creating $CONFIG_LT]) +_LT_GENERATED_FILE_INIT(["$CONFIG_LT"], +[# Run this file to recreate a libtool stub with the current configuration.]) + +cat >>"$CONFIG_LT" <<\_LTEOF +lt_cl_silent=false +exec AS_MESSAGE_LOG_FD>>config.log +{ + echo + AS_BOX([Running $as_me.]) +} >&AS_MESSAGE_LOG_FD + +lt_cl_help="\ +\`$as_me' creates a local libtool stub from the current configuration, +for use in further configure time tests before the real libtool is +generated. + +Usage: $[0] [[OPTIONS]] + + -h, --help print this help, then exit + -V, --version print version number, then exit + -q, --quiet do not print progress messages + -d, --debug don't remove temporary files + +Report bugs to <bug-libtool@gnu.org>." + +lt_cl_version="\ +m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl +m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) +configured by $[0], generated by m4_PACKAGE_STRING. + +Copyright (C) 2011 Free Software Foundation, Inc. +This config.lt script is free software; the Free Software Foundation +gives unlimited permision to copy, distribute and modify it." + +while test $[#] != 0 +do + case $[1] in + --version | --v* | -V ) + echo "$lt_cl_version"; exit 0 ;; + --help | --h* | -h ) + echo "$lt_cl_help"; exit 0 ;; + --debug | --d* | -d ) + debug=: ;; + --quiet | --q* | --silent | --s* | -q ) + lt_cl_silent=: ;; + + -*) AC_MSG_ERROR([unrecognized option: $[1] +Try \`$[0] --help' for more information.]) ;; + + *) AC_MSG_ERROR([unrecognized argument: $[1] +Try \`$[0] --help' for more information.]) ;; + esac + shift +done + +if $lt_cl_silent; then + exec AS_MESSAGE_FD>/dev/null +fi +_LTEOF + +cat >>"$CONFIG_LT" <<_LTEOF +_LT_OUTPUT_LIBTOOL_COMMANDS_INIT +_LTEOF + +cat >>"$CONFIG_LT" <<\_LTEOF +AC_MSG_NOTICE([creating $ofile]) +_LT_OUTPUT_LIBTOOL_COMMANDS +AS_EXIT(0) +_LTEOF +chmod +x "$CONFIG_LT" + +# configure is writing to config.log, but config.lt does its own redirection, +# appending to config.log, which fails on DOS, as config.log is still kept +# open by configure. Here we exec the FD to /dev/null, effectively closing +# config.log, so it can be properly (re)opened and appended to by config.lt. +lt_cl_success=: +test "$silent" = yes && + lt_config_lt_args="$lt_config_lt_args --quiet" +exec AS_MESSAGE_LOG_FD>/dev/null +$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false +exec AS_MESSAGE_LOG_FD>>config.log +$lt_cl_success || AS_EXIT(1) +])# LT_OUTPUT + + +# _LT_CONFIG(TAG) +# --------------- +# If TAG is the built-in tag, create an initial libtool script with a +# default configuration from the untagged config vars. Otherwise add code +# to config.status for appending the configuration named by TAG from the +# matching tagged config vars. +m4_defun([_LT_CONFIG], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +_LT_CONFIG_SAVE_COMMANDS([ + m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl + m4_if(_LT_TAG, [C], [ + # See if we are running on zsh, and set the options which allow our + # commands through without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + + cfgfile="${ofile}T" + trap "$RM \"$cfgfile\"; exit 1" 1 2 15 + $RM "$cfgfile" + + cat <<_LT_EOF >> "$cfgfile" +#! $SHELL + +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +_LT_COPYING +_LT_LIBTOOL_TAGS + +# ### BEGIN LIBTOOL CONFIG +_LT_LIBTOOL_CONFIG_VARS +_LT_LIBTOOL_TAG_VARS +# ### END LIBTOOL CONFIG + +_LT_EOF + + case $host_os in + aix3*) + cat <<\_LT_EOF >> "$cfgfile" +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +_LT_EOF + ;; + esac + + _LT_PROG_LTMAIN + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + _LT_PROG_REPLACE_SHELLFNS + + mv -f "$cfgfile" "$ofile" || + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" +], +[cat <<_LT_EOF >> "$ofile" + +dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded +dnl in a comment (ie after a #). +# ### BEGIN LIBTOOL TAG CONFIG: $1 +_LT_LIBTOOL_TAG_VARS(_LT_TAG) +# ### END LIBTOOL TAG CONFIG: $1 +_LT_EOF +])dnl /m4_if +], +[m4_if([$1], [], [ + PACKAGE='$PACKAGE' + VERSION='$VERSION' + TIMESTAMP='$TIMESTAMP' + RM='$RM' + ofile='$ofile'], []) +])dnl /_LT_CONFIG_SAVE_COMMANDS +])# _LT_CONFIG + + +# LT_SUPPORTED_TAG(TAG) +# --------------------- +# Trace this macro to discover what tags are supported by the libtool +# --tag option, using: +# autoconf --trace 'LT_SUPPORTED_TAG:$1' +AC_DEFUN([LT_SUPPORTED_TAG], []) + + +# C support is built-in for now +m4_define([_LT_LANG_C_enabled], []) +m4_define([_LT_TAGS], []) + + +# LT_LANG(LANG) +# ------------- +# Enable libtool support for the given language if not already enabled. +AC_DEFUN([LT_LANG], +[AC_BEFORE([$0], [LT_OUTPUT])dnl +m4_case([$1], + [C], [_LT_LANG(C)], + [C++], [_LT_LANG(CXX)], + [Go], [_LT_LANG(GO)], + [Java], [_LT_LANG(GCJ)], + [Fortran 77], [_LT_LANG(F77)], + [Fortran], [_LT_LANG(FC)], + [Windows Resource], [_LT_LANG(RC)], + [m4_ifdef([_LT_LANG_]$1[_CONFIG], + [_LT_LANG($1)], + [m4_fatal([$0: unsupported language: "$1"])])])dnl +])# LT_LANG + + +# _LT_LANG(LANGNAME) +# ------------------ +m4_defun([_LT_LANG], +[m4_ifdef([_LT_LANG_]$1[_enabled], [], + [LT_SUPPORTED_TAG([$1])dnl + m4_append([_LT_TAGS], [$1 ])dnl + m4_define([_LT_LANG_]$1[_enabled], [])dnl + _LT_LANG_$1_CONFIG($1)])dnl +])# _LT_LANG + + +m4_ifndef([AC_PROG_GO], [ +############################################################ +# NOTE: This macro has been submitted for inclusion into # +# GNU Autoconf as AC_PROG_GO. When it is available in # +# a released version of Autoconf we should remove this # +# macro and use it instead. # +############################################################ +m4_defun([AC_PROG_GO], +[AC_LANG_PUSH(Go)dnl +AC_ARG_VAR([GOC], [Go compiler command])dnl +AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl +_AC_ARG_VAR_LDFLAGS()dnl +AC_CHECK_TOOL(GOC, gccgo) +if test -z "$GOC"; then + if test -n "$ac_tool_prefix"; then + AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo]) + fi +fi +if test -z "$GOC"; then + AC_CHECK_PROG(GOC, gccgo, gccgo, false) +fi +])#m4_defun +])#m4_ifndef + + +# _LT_LANG_DEFAULT_CONFIG +# ----------------------- +m4_defun([_LT_LANG_DEFAULT_CONFIG], +[AC_PROVIDE_IFELSE([AC_PROG_CXX], + [LT_LANG(CXX)], + [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) + +AC_PROVIDE_IFELSE([AC_PROG_F77], + [LT_LANG(F77)], + [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) + +AC_PROVIDE_IFELSE([AC_PROG_FC], + [LT_LANG(FC)], + [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) + +dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal +dnl pulling things in needlessly. +AC_PROVIDE_IFELSE([AC_PROG_GCJ], + [LT_LANG(GCJ)], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], + [LT_LANG(GCJ)], + [AC_PROVIDE_IFELSE([LT_PROG_GCJ], + [LT_LANG(GCJ)], + [m4_ifdef([AC_PROG_GCJ], + [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) + m4_ifdef([A][M_PROG_GCJ], + [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) + m4_ifdef([LT_PROG_GCJ], + [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) + +AC_PROVIDE_IFELSE([AC_PROG_GO], + [LT_LANG(GO)], + [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])]) + +AC_PROVIDE_IFELSE([LT_PROG_RC], + [LT_LANG(RC)], + [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) +])# _LT_LANG_DEFAULT_CONFIG + +# Obsolete macros: +AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) +AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) +AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) +AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) +AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_CXX], []) +dnl AC_DEFUN([AC_LIBTOOL_F77], []) +dnl AC_DEFUN([AC_LIBTOOL_FC], []) +dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) +dnl AC_DEFUN([AC_LIBTOOL_RC], []) + + +# _LT_TAG_COMPILER +# ---------------- +m4_defun([_LT_TAG_COMPILER], +[AC_REQUIRE([AC_PROG_CC])dnl + +_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl +_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl +_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl +_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC +])# _LT_TAG_COMPILER + + +# _LT_COMPILER_BOILERPLATE +# ------------------------ +# Check for compiler boilerplate output or warnings with +# the simple compiler test code. +m4_defun([_LT_COMPILER_BOILERPLATE], +[m4_require([_LT_DECL_SED])dnl +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$RM conftest* +])# _LT_COMPILER_BOILERPLATE + + +# _LT_LINKER_BOILERPLATE +# ---------------------- +# Check for linker boilerplate output or warnings with +# the simple link test code. +m4_defun([_LT_LINKER_BOILERPLATE], +[m4_require([_LT_DECL_SED])dnl +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$RM -r conftest* +])# _LT_LINKER_BOILERPLATE + +# _LT_REQUIRED_DARWIN_CHECKS +# ------------------------- +m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ + case $host_os in + rhapsody* | darwin*) + AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) + AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) + AC_CHECK_TOOL([LIPO], [lipo], [:]) + AC_CHECK_TOOL([OTOOL], [otool], [:]) + AC_CHECK_TOOL([OTOOL64], [otool64], [:]) + _LT_DECL([], [DSYMUTIL], [1], + [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) + _LT_DECL([], [NMEDIT], [1], + [Tool to change global to local symbols on Mac OS X]) + _LT_DECL([], [LIPO], [1], + [Tool to manipulate fat objects and archives on Mac OS X]) + _LT_DECL([], [OTOOL], [1], + [ldd/readelf like tool for Mach-O binaries on Mac OS X]) + _LT_DECL([], [OTOOL64], [1], + [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) + + AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], + [lt_cv_apple_cc_single_mod=no + if test -z "${LT_MULTI_MODULE}"; then + # By default we will add the -single_module flag. You can override + # by either setting the environment variable LT_MULTI_MODULE + # non-empty at configure time, or by adding -multi_module to the + # link flags. + rm -rf libconftest.dylib* + echo "int foo(void){return 1;}" > conftest.c + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ +-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err + _lt_result=$? + # If there is a non-empty error log, and "single_module" + # appears in it, assume the flag caused a linker warning + if test -s conftest.err && $GREP single_module conftest.err; then + cat conftest.err >&AS_MESSAGE_LOG_FD + # Otherwise, if the output was created with a 0 exit code from + # the compiler, it worked. + elif test -f libconftest.dylib && test $_lt_result -eq 0; then + lt_cv_apple_cc_single_mod=yes + else + cat conftest.err >&AS_MESSAGE_LOG_FD + fi + rm -rf libconftest.dylib* + rm -f conftest.* + fi]) + + AC_CACHE_CHECK([for -exported_symbols_list linker flag], + [lt_cv_ld_exported_symbols_list], + [lt_cv_ld_exported_symbols_list=no + save_LDFLAGS=$LDFLAGS + echo "_main" > conftest.sym + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], + [lt_cv_ld_exported_symbols_list=yes], + [lt_cv_ld_exported_symbols_list=no]) + LDFLAGS="$save_LDFLAGS" + ]) + + AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], + [lt_cv_ld_force_load=no + cat > conftest.c << _LT_EOF +int forced_loaded() { return 2;} +_LT_EOF + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD + echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD + $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD + echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD + $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD + cat > conftest.c << _LT_EOF +int main() { return 0;} +_LT_EOF + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err + _lt_result=$? + if test -s conftest.err && $GREP force_load conftest.err; then + cat conftest.err >&AS_MESSAGE_LOG_FD + elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then + lt_cv_ld_force_load=yes + else + cat conftest.err >&AS_MESSAGE_LOG_FD + fi + rm -f conftest.err libconftest.a conftest conftest.c + rm -rf conftest.dSYM + ]) + case $host_os in + rhapsody* | darwin1.[[012]]) + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; + darwin1.*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + darwin*) # darwin 5.x on + # if running on 10.5 or later, the deployment target defaults + # to the OS version, if on x86, and 10.4, the deployment + # target defaults to 10.4. Don't you love it? + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in + 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + 10.[[012]]*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + 10.*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + esac + ;; + esac + if test "$lt_cv_apple_cc_single_mod" = "yes"; then + _lt_dar_single_mod='$single_module' + fi + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' + else + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then + _lt_dsymutil='~$DSYMUTIL $lib || :' + else + _lt_dsymutil= + fi + ;; + esac +]) + + +# _LT_DARWIN_LINKER_FEATURES([TAG]) +# --------------------------------- +# Checks for linker and compiler features on darwin +m4_defun([_LT_DARWIN_LINKER_FEATURES], +[ + m4_require([_LT_REQUIRED_DARWIN_CHECKS]) + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_automatic, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + if test "$lt_cv_ld_force_load" = "yes"; then + _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' + m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes], + [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes]) + else + _LT_TAGVAR(whole_archive_flag_spec, $1)='' + fi + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" + case $cc_basename in + ifort*) _lt_dar_can_shared=yes ;; + *) _lt_dar_can_shared=$GCC ;; + esac + if test "$_lt_dar_can_shared" = "yes"; then + output_verbose_link_cmd=func_echo_all + _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" + _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" + _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" + _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + m4_if([$1], [CXX], +[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then + _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" + _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" + fi +],[]) + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi +]) + +# _LT_SYS_MODULE_PATH_AIX([TAGNAME]) +# ---------------------------------- +# Links a minimal program and checks the executable +# for the system default hardcoded library path. In most cases, +# this is /usr/lib:/lib, but when the MPI compilers are used +# the location of the communication and MPI libs are included too. +# If we don't find anything, use the default library path according +# to the aix ld manual. +# Store the results from the different compilers for each TAGNAME. +# Allow to override them for all tags through lt_cv_aix_libpath. +m4_defun([_LT_SYS_MODULE_PATH_AIX], +[m4_require([_LT_DECL_SED])dnl +if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])], + [AC_LINK_IFELSE([AC_LANG_PROGRAM],[ + lt_aix_libpath_sed='[ + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }]' + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi],[]) + if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib" + fi + ]) + aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1]) +fi +])# _LT_SYS_MODULE_PATH_AIX + + +# _LT_SHELL_INIT(ARG) +# ------------------- +m4_define([_LT_SHELL_INIT], +[m4_divert_text([M4SH-INIT], [$1 +])])# _LT_SHELL_INIT + + + +# _LT_PROG_ECHO_BACKSLASH +# ----------------------- +# Find how we can fake an echo command that does not interpret backslash. +# In particular, with Autoconf 2.60 or later we add some code to the start +# of the generated configure script which will find a shell with a builtin +# printf (which we can use as an echo command). +m4_defun([_LT_PROG_ECHO_BACKSLASH], +[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + +AC_MSG_CHECKING([how to print strings]) +# Test print first, because it will be a builtin if present. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='print -r --' +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='printf %s\n' +else + # Use this function as a fallback that always works. + func_fallback_echo () + { + eval 'cat <<_LTECHO_EOF +$[]1 +_LTECHO_EOF' + } + ECHO='func_fallback_echo' +fi + +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "$*" +} + +case "$ECHO" in + printf*) AC_MSG_RESULT([printf]) ;; + print*) AC_MSG_RESULT([print -r]) ;; + *) AC_MSG_RESULT([cat]) ;; +esac + +m4_ifdef([_AS_DETECT_SUGGESTED], +[_AS_DETECT_SUGGESTED([ + test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || ( + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + PATH=/empty FPATH=/empty; export PATH FPATH + test "X`printf %s $ECHO`" = "X$ECHO" \ + || test "X`print -r -- $ECHO`" = "X$ECHO" )])]) + +_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) +_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes]) +])# _LT_PROG_ECHO_BACKSLASH + + +# _LT_WITH_SYSROOT +# ---------------- +AC_DEFUN([_LT_WITH_SYSROOT], +[AC_MSG_CHECKING([for sysroot]) +AC_ARG_WITH([sysroot], +[ --with-sysroot[=DIR] Search for dependent libraries within DIR + (or the compiler's sysroot if not specified).], +[], [with_sysroot=no]) + +dnl lt_sysroot will always be passed unquoted. We quote it here +dnl in case the user passed a directory name. +lt_sysroot= +case ${with_sysroot} in #( + yes) + if test "$GCC" = yes; then + lt_sysroot=`$CC --print-sysroot 2>/dev/null` + fi + ;; #( + /*) + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` + ;; #( + no|'') + ;; #( + *) + AC_MSG_RESULT([${with_sysroot}]) + AC_MSG_ERROR([The sysroot must be an absolute path.]) + ;; +esac + + AC_MSG_RESULT([${lt_sysroot:-no}]) +_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl +[dependent libraries, and in which our libraries should be installed.])]) + +# _LT_ENABLE_LOCK +# --------------- +m4_defun([_LT_ENABLE_LOCK], +[AC_ARG_ENABLE([libtool-lock], + [AS_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ +s390*-*linux*|s390*-*tpf*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.o` in + *32-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_i386_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*|powerpc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_x86_64_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*|s390*-*tpf*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, + [AC_LANG_PUSH(C) + AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) + AC_LANG_POP]) + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +*-*solaris*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.o` in + *64-bit*) + case $lt_cv_prog_gnu_ld in + yes*) + case $host in + i?86-*-solaris*) + LD="${LD-ld} -m elf_x86_64" + ;; + sparc*-*-solaris*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + # GNU ld 2.21 introduced _sol2 emulations. Use them if available. + if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then + LD="${LD-ld}_sol2" + fi + ;; + *) + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then + LD="${LD-ld} -64" + fi + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; +esac + +need_locks="$enable_libtool_lock" +])# _LT_ENABLE_LOCK + + +# _LT_PROG_AR +# ----------- +m4_defun([_LT_PROG_AR], +[AC_CHECK_TOOLS(AR, [ar], false) +: ${AR=ar} +: ${AR_FLAGS=cru} +_LT_DECL([], [AR], [1], [The archiver]) +_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) + +AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], + [lt_cv_ar_at_file=no + AC_COMPILE_IFELSE([AC_LANG_PROGRAM], + [echo conftest.$ac_objext > conftest.lst + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD' + AC_TRY_EVAL([lt_ar_try]) + if test "$ac_status" -eq 0; then + # Ensure the archiver fails upon bogus file names. + rm -f conftest.$ac_objext libconftest.a + AC_TRY_EVAL([lt_ar_try]) + if test "$ac_status" -ne 0; then + lt_cv_ar_at_file=@ + fi + fi + rm -f conftest.* libconftest.a + ]) + ]) + +if test "x$lt_cv_ar_at_file" = xno; then + archiver_list_spec= +else + archiver_list_spec=$lt_cv_ar_at_file +fi +_LT_DECL([], [archiver_list_spec], [1], + [How to feed a file listing to the archiver]) +])# _LT_PROG_AR + + +# _LT_CMD_OLD_ARCHIVE +# ------------------- +m4_defun([_LT_CMD_OLD_ARCHIVE], +[_LT_PROG_AR + +AC_CHECK_TOOL(STRIP, strip, :) +test -z "$STRIP" && STRIP=: +_LT_DECL([], [STRIP], [1], [A symbol stripping program]) + +AC_CHECK_TOOL(RANLIB, ranlib, :) +test -z "$RANLIB" && RANLIB=: +_LT_DECL([], [RANLIB], [1], + [Commands used to install an old-style archive]) + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" + ;; + *) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" +fi + +case $host_os in + darwin*) + lock_old_archive_extraction=yes ;; + *) + lock_old_archive_extraction=no ;; +esac +_LT_DECL([], [old_postinstall_cmds], [2]) +_LT_DECL([], [old_postuninstall_cmds], [2]) +_LT_TAGDECL([], [old_archive_cmds], [2], + [Commands used to build an old-style archive]) +_LT_DECL([], [lock_old_archive_extraction], [0], + [Whether to use a lock for old archive extraction]) +])# _LT_CMD_OLD_ARCHIVE + + +# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------------------- +# Check whether the given compiler option works +AC_DEFUN([_LT_COMPILER_OPTION], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_SED])dnl +AC_CACHE_CHECK([$1], [$2], + [$2=no + m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$3" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + $2=yes + fi + fi + $RM conftest* +]) + +if test x"[$]$2" = xyes; then + m4_if([$5], , :, [$5]) +else + m4_if([$6], , :, [$6]) +fi +])# _LT_COMPILER_OPTION + +# Old name: +AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) + + +# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------- +# Check whether the given linker option works +AC_DEFUN([_LT_LINKER_OPTION], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_SED])dnl +AC_CACHE_CHECK([$1], [$2], + [$2=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $3" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&AS_MESSAGE_LOG_FD + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + $2=yes + fi + else + $2=yes + fi + fi + $RM -r conftest* + LDFLAGS="$save_LDFLAGS" +]) + +if test x"[$]$2" = xyes; then + m4_if([$4], , :, [$4]) +else + m4_if([$5], , :, [$5]) +fi +])# _LT_LINKER_OPTION + +# Old name: +AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) + + +# LT_CMD_MAX_LEN +#--------------- +AC_DEFUN([LT_CMD_MAX_LEN], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +# find the maximum length of command line arguments +AC_MSG_CHECKING([the maximum length of command line arguments]) +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl + i=0 + teststring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw* | cegcc*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + mint*) + # On MiNT this can take a long time and run out of memory. + lt_cv_sys_max_cmd_len=8192; + ;; + + amigaos*) + # On AmigaOS with pdksh, this test takes hours, literally. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; + ;; + + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + ;; + + interix*) + # We know the value 262144 and hardcode it with a safety zone (like BSD) + lt_cv_sys_max_cmd_len=196608 + ;; + + os2*) + # The test takes a long time on OS/2. + lt_cv_sys_max_cmd_len=8192 + ;; + + osf*) + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not + # nice to cause kernel panics so lets avoid the loop below. + # First set a reasonable default. + lt_cv_sys_max_cmd_len=16384 + # + if test -x /sbin/sysconfig; then + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in + *1*) lt_cv_sys_max_cmd_len=-1 ;; + esac + fi + ;; + sco3.2v5*) + lt_cv_sys_max_cmd_len=102400 + ;; + sysv5* | sco5v6* | sysv4.2uw2*) + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` + if test -n "$kargmax"; then + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` + else + lt_cv_sys_max_cmd_len=32768 + fi + ;; + *) + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` + if test -n "$lt_cv_sys_max_cmd_len"; then + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + else + # Make teststring a little bigger before we do anything with it. + # a 1K string should be a reasonable start. + for i in 1 2 3 4 5 6 7 8 ; do + teststring=$teststring$teststring + done + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ + = "X$teststring$teststring"; } >/dev/null 2>&1 && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + teststring=$teststring$teststring + done + # Only check the string length outside the loop. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` + teststring= + # Add a significant safety factor because C++ compilers can tack on + # massive amounts of additional arguments before passing them to the + # linker. It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + fi + ;; + esac +]) +if test -n $lt_cv_sys_max_cmd_len ; then + AC_MSG_RESULT($lt_cv_sys_max_cmd_len) +else + AC_MSG_RESULT(none) +fi +max_cmd_len=$lt_cv_sys_max_cmd_len +_LT_DECL([], [max_cmd_len], [0], + [What is the maximum length of a command?]) +])# LT_CMD_MAX_LEN + +# Old name: +AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) + + +# _LT_HEADER_DLFCN +# ---------------- +m4_defun([_LT_HEADER_DLFCN], +[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl +])# _LT_HEADER_DLFCN + + +# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) +# ---------------------------------------------------------------- +m4_defun([_LT_TRY_DLOPEN_SELF], +[m4_require([_LT_HEADER_DLFCN])dnl +if test "$cross_compiling" = yes; then : + [$4] +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +[#line $LINENO "configure" +#include "confdefs.h" + +#if HAVE_DLFCN_H +#include <dlfcn.h> +#endif + +#include <stdio.h> + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif + +int fnord () { return 42; } +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } + /* dlclose (self); */ + } + else + puts (dlerror ()); + + return status; +}] +_LT_EOF + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) $1 ;; + x$lt_dlneed_uscore) $2 ;; + x$lt_dlunknown|x*) $3 ;; + esac + else : + # compilation failed + $3 + fi +fi +rm -fr conftest* +])# _LT_TRY_DLOPEN_SELF + + +# LT_SYS_DLOPEN_SELF +# ------------------ +AC_DEFUN([LT_SYS_DLOPEN_SELF], +[m4_require([_LT_HEADER_DLFCN])dnl +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32* | cegcc*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ]) + ;; + + *) + AC_CHECK_FUNC([shl_load], + [lt_cv_dlopen="shl_load"], + [AC_CHECK_LIB([dld], [shl_load], + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], + [AC_CHECK_FUNC([dlopen], + [lt_cv_dlopen="dlopen"], + [AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], + [AC_CHECK_LIB([svld], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], + [AC_CHECK_LIB([dld], [dld_link], + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) + ]) + ]) + ]) + ]) + ]) + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + AC_CACHE_CHECK([whether a program can dlopen itself], + lt_cv_dlopen_self, [dnl + _LT_TRY_DLOPEN_SELF( + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) + ]) + + if test "x$lt_cv_dlopen_self" = xyes; then + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" + AC_CACHE_CHECK([whether a statically linked program can dlopen itself], + lt_cv_dlopen_self_static, [dnl + _LT_TRY_DLOPEN_SELF( + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) + ]) + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi +_LT_DECL([dlopen_support], [enable_dlopen], [0], + [Whether dlopen is supported]) +_LT_DECL([dlopen_self], [enable_dlopen_self], [0], + [Whether dlopen of programs is supported]) +_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], + [Whether dlopen of statically linked programs is supported]) +])# LT_SYS_DLOPEN_SELF + +# Old name: +AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) + + +# _LT_COMPILER_C_O([TAGNAME]) +# --------------------------- +# Check to see if options -c and -o are simultaneously supported by compiler. +# This macro does not hard code the compiler like AC_PROG_CC_C_O. +m4_defun([_LT_COMPILER_C_O], +[m4_require([_LT_DECL_SED])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_TAG_COMPILER])dnl +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + fi + fi + chmod u+w . 2>&AS_MESSAGE_LOG_FD + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* +]) +_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], + [Does compiler simultaneously support -c and -o options?]) +])# _LT_COMPILER_C_O + + +# _LT_COMPILER_FILE_LOCKS([TAGNAME]) +# ---------------------------------- +# Check to see if we can do hard links to lock some files if needed +m4_defun([_LT_COMPILER_FILE_LOCKS], +[m4_require([_LT_ENABLE_LOCK])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +_LT_COMPILER_C_O([$1]) + +hard_links="nottested" +if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + AC_MSG_CHECKING([if we can lock with hard links]) + hard_links=yes + $RM conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + AC_MSG_RESULT([$hard_links]) + if test "$hard_links" = no; then + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) + need_locks=warn + fi +else + need_locks=no +fi +_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) +])# _LT_COMPILER_FILE_LOCKS + + +# _LT_CHECK_OBJDIR +# ---------------- +m4_defun([_LT_CHECK_OBJDIR], +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], +[rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null]) +objdir=$lt_cv_objdir +_LT_DECL([], [objdir], [0], + [The name of the directory that contains temporary libtool files])dnl +m4_pattern_allow([LT_OBJDIR])dnl +AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/", + [Define to the sub-directory in which libtool stores uninstalled libraries.]) +])# _LT_CHECK_OBJDIR + + +# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) +# -------------------------------------- +# Check hardcoding attributes. +m4_defun([_LT_LINKER_HARDCODE_LIBPATH], +[AC_MSG_CHECKING([how to hardcode library paths into programs]) +_LT_TAGVAR(hardcode_action, $1)= +if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || + test -n "$_LT_TAGVAR(runpath_var, $1)" || + test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then + + # We can hardcode non-existent directories. + if test "$_LT_TAGVAR(hardcode_direct, $1)" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no && + test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then + # Linking always hardcodes the temporary library directory. + _LT_TAGVAR(hardcode_action, $1)=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + _LT_TAGVAR(hardcode_action, $1)=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + _LT_TAGVAR(hardcode_action, $1)=unsupported +fi +AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) + +if test "$_LT_TAGVAR(hardcode_action, $1)" = relink || + test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi +_LT_TAGDECL([], [hardcode_action], [0], + [How to hardcode a shared library path into an executable]) +])# _LT_LINKER_HARDCODE_LIBPATH + + +# _LT_CMD_STRIPLIB +# ---------------- +m4_defun([_LT_CMD_STRIPLIB], +[m4_require([_LT_DECL_EGREP]) +striplib= +old_striplib= +AC_MSG_CHECKING([whether stripping libraries is possible]) +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + AC_MSG_RESULT([yes]) +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + old_striplib="$STRIP -S" + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + fi + ;; + *) + AC_MSG_RESULT([no]) + ;; + esac +fi +_LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) +_LT_DECL([], [striplib], [1]) +])# _LT_CMD_STRIPLIB + + +# _LT_SYS_DYNAMIC_LINKER([TAG]) +# ----------------------------- +# PORTME Fill in your ld.so characteristics +m4_defun([_LT_SYS_DYNAMIC_LINKER], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_OBJDUMP])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_CHECK_SHELL_FEATURES])dnl +AC_MSG_CHECKING([dynamic linker characteristics]) +m4_if([$1], + [], [ +if test "$GCC" = yes; then + case $host_os in + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; + *) lt_awk_arg="/^libraries:/" ;; + esac + case $host_os in + mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;; + *) lt_sed_strip_eq="s,=/,/,g" ;; + esac + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` + case $lt_search_path_spec in + *\;*) + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` + ;; + *) + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` + ;; + esac + # Ok, now we have the path, separated by spaces, we can step through it + # and add multilib dir if necessary. + lt_tmp_lt_search_path_spec= + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` + for lt_sys_path in $lt_search_path_spec; do + if test -d "$lt_sys_path/$lt_multi_os_dir"; then + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" + else + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' +BEGIN {RS=" "; FS="/|\n";} { + lt_foo=""; + lt_count=0; + for (lt_i = NF; lt_i > 0; lt_i--) { + if ($lt_i != "" && $lt_i != ".") { + if ($lt_i == "..") { + lt_count++; + } else { + if (lt_count == 0) { + lt_foo="/" $lt_i lt_foo; + } else { + lt_count--; + } + } + } + } + if (lt_foo != "") { lt_freq[[lt_foo]]++; } + if (lt_freq[[lt_foo]] == 1) { print lt_foo; } +}'` + # AWK program above erroneously prepends '/' to C:/dos/paths + # for these hosts. + case $host_os in + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ + $SED 's,/\([[A-Za-z]]:\),\1,g'` ;; + esac + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi]) +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix[[4-9]]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[[01]] | aix4.[[01]].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib<name>.so + # instead of lib<name>.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + case $host_cpu in + powerpc) + # Since July 2007 AmigaOS4 officially supports .so libraries. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + ;; + m68k) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + esac + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[[45]]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32* | cegcc*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$cc_basename in + yes,*) + # gcc + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; + fi' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' +m4_if([$1], [],[ + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + ;; + esac + dynamic_linker='Win32 ld.exe' + ;; + + *,cl*) + # Native MSVC + libname_spec='$name' + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + library_names_spec='${libname}.dll.lib' + + case $build_os in + mingw*) + sys_lib_search_path_spec= + lt_save_ifs=$IFS + IFS=';' + for lt_path in $LIB + do + IFS=$lt_save_ifs + # Let DOS variable expansion print the short 8.3 style file name. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" + done + IFS=$lt_save_ifs + # Convert to MSYS style. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'` + ;; + cygwin*) + # Convert to unix form, then to dos form, then back to unix form + # but this time dos style (no spaces!) so that the unix form looks + # like /cygdrive/c/PROGRA~1:/cygdr... + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + ;; + *) + sys_lib_search_path_spec="$LIB" + if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then + # It is most probably a Windows format PATH. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # FIXME: find the short name or the path components, as spaces are + # common. (e.g. "Program Files" -> "PROGRA~1") + ;; + esac + + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + dynamic_linker='Win32 link.exe' + ;; + + *) + # Assume MSVC wrapper + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' + dynamic_linker='Win32 ld.exe' + ;; + esac + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' +m4_if([$1], [],[ + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[[23]].*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2.*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[[01]]* | freebsdelf3.[[01]]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +haiku*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + dynamic_linker="$host_os runtime_loader" + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LIBRARY_PATH + shlibpath_overrides_runpath=yes + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555, ... + postinstall_cmds='chmod 555 $lib' + # or fails outright, so override atomically: + install_override_mode=555 + ;; + +interix[[3-9]]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux # correct to gnu/linux during the next big refactor + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + + # Some binutils ld are patched to set DT_RUNPATH + AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath], + [lt_cv_shlibpath_overrides_runpath=no + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ + LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], + [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], + [lt_cv_shlibpath_overrides_runpath=yes])]) + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + ]) + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath + + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # Add ABI-specific directories to the system library path. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" + + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +*nto* | *qnx*) + version_type=qnx + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='ldqnx.so' + ;; + +openbsd*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[[89]] | openbsd2.[[89]].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=freebsd-elf + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + if test "$with_gnu_ld" = yes; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +tpf*) + # TPF is a cross-target only. Preferred cross-host = GNU/Linux. + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +uts4*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +AC_MSG_RESULT([$dynamic_linker]) +test "$dynamic_linker" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" +fi +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" +fi + +_LT_DECL([], [variables_saved_for_relink], [1], + [Variables whose values should be saved in libtool wrapper scripts and + restored at link time]) +_LT_DECL([], [need_lib_prefix], [0], + [Do we need the "lib" prefix for modules?]) +_LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) +_LT_DECL([], [version_type], [0], [Library versioning type]) +_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) +_LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) +_LT_DECL([], [shlibpath_overrides_runpath], [0], + [Is shlibpath searched before the hard-coded library search path?]) +_LT_DECL([], [libname_spec], [1], [Format of library name prefix]) +_LT_DECL([], [library_names_spec], [1], + [[List of archive names. First name is the real one, the rest are links. + The last name is the one that the linker finds with -lNAME]]) +_LT_DECL([], [soname_spec], [1], + [[The coded name of the library, if different from the real name]]) +_LT_DECL([], [install_override_mode], [1], + [Permission mode override for installation of shared libraries]) +_LT_DECL([], [postinstall_cmds], [2], + [Command to use after installation of a shared archive]) +_LT_DECL([], [postuninstall_cmds], [2], + [Command to use after uninstallation of a shared archive]) +_LT_DECL([], [finish_cmds], [2], + [Commands used to finish a libtool library installation in a directory]) +_LT_DECL([], [finish_eval], [1], + [[As "finish_cmds", except a single script fragment to be evaled but + not shown]]) +_LT_DECL([], [hardcode_into_libs], [0], + [Whether we should hardcode library paths into libraries]) +_LT_DECL([], [sys_lib_search_path_spec], [2], + [Compile-time system search path for libraries]) +_LT_DECL([], [sys_lib_dlsearch_path_spec], [2], + [Run-time system search path for libraries]) +])# _LT_SYS_DYNAMIC_LINKER + + +# _LT_PATH_TOOL_PREFIX(TOOL) +# -------------------------- +# find a file program which can recognize shared library +AC_DEFUN([_LT_PATH_TOOL_PREFIX], +[m4_require([_LT_DECL_EGREP])dnl +AC_MSG_CHECKING([for $1]) +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, +[case $MAGIC_CMD in +[[\\/*] | ?:[\\/]*]) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR +dnl $ac_dummy forces splitting on constant user-supplied paths. +dnl POSIX.2 word splitting is done only on the output of word expansions, +dnl not every word. This closes a longstanding sh security hole. + ac_dummy="m4_if([$2], , $PATH, [$2])" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$1; then + lt_cv_path_MAGIC_CMD="$ac_dir/$1" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<_LT_EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +_LT_EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac]) +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + AC_MSG_RESULT($MAGIC_CMD) +else + AC_MSG_RESULT(no) +fi +_LT_DECL([], [MAGIC_CMD], [0], + [Used to examine libraries when file_magic_cmd begins with "file"])dnl +])# _LT_PATH_TOOL_PREFIX + +# Old name: +AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) + + +# _LT_PATH_MAGIC +# -------------- +# find a file program which can recognize a shared library +m4_defun([_LT_PATH_MAGIC], +[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) + else + MAGIC_CMD=: + fi +fi +])# _LT_PATH_MAGIC + + +# LT_PATH_LD +# ---------- +# find the pathname to the GNU or non-GNU linker +AC_DEFUN([LT_PATH_LD], +[AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_PROG_ECHO_BACKSLASH])dnl + +AC_ARG_WITH([gnu-ld], + [AS_HELP_STRING([--with-gnu-ld], + [assume the C compiler uses GNU ld @<:@default=no@:>@])], + [test "$withval" = no || with_gnu_ld=yes], + [with_gnu_ld=no])dnl + +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + AC_MSG_CHECKING([for ld used by $CC]) + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [[\\/]]* | ?:[[\\/]]*) + re_direlt='/[[^/]][[^/]]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + AC_MSG_CHECKING([for GNU ld]) +else + AC_MSG_CHECKING([for non-GNU ld]) +fi +AC_CACHE_VAL(lt_cv_path_LD, +[if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in + *GNU* | *'with BFD'*) + test "$with_gnu_ld" != no && break + ;; + *) + test "$with_gnu_ld" != yes && break + ;; + esac + fi + done + IFS="$lt_save_ifs" +else + lt_cv_path_LD="$LD" # Let the user override the test with a path. +fi]) +LD="$lt_cv_path_LD" +if test -n "$LD"; then + AC_MSG_RESULT($LD) +else + AC_MSG_RESULT(no) +fi +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) +_LT_PATH_LD_GNU +AC_SUBST([LD]) + +_LT_TAGDECL([], [LD], [1], [The linker used to build libraries]) +])# LT_PATH_LD + +# Old names: +AU_ALIAS([AM_PROG_LD], [LT_PATH_LD]) +AU_ALIAS([AC_PROG_LD], [LT_PATH_LD]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_PROG_LD], []) +dnl AC_DEFUN([AC_PROG_LD], []) + + +# _LT_PATH_LD_GNU +#- -------------- +m4_defun([_LT_PATH_LD_GNU], +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, +[# I'd rather use --version here, but apparently some GNU lds only accept -v. +case `$LD -v 2>&1 </dev/null` in +*GNU* | *'with BFD'*) + lt_cv_prog_gnu_ld=yes + ;; +*) + lt_cv_prog_gnu_ld=no + ;; +esac]) +with_gnu_ld=$lt_cv_prog_gnu_ld +])# _LT_PATH_LD_GNU + + +# _LT_CMD_RELOAD +# -------------- +# find reload flag for linker +# -- PORTME Some linkers may need a different reload flag. +m4_defun([_LT_CMD_RELOAD], +[AC_CACHE_CHECK([for $LD option to reload object files], + lt_cv_ld_reload_flag, + [lt_cv_ld_reload_flag='-r']) +reload_flag=$lt_cv_ld_reload_flag +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' +case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + if test "$GCC" != yes; then + reload_cmds=false + fi + ;; + darwin*) + if test "$GCC" = yes; then + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' + else + reload_cmds='$LD$reload_flag -o $output$reload_objs' + fi + ;; +esac +_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl +_LT_TAGDECL([], [reload_cmds], [2])dnl +])# _LT_CMD_RELOAD + + +# _LT_CHECK_MAGIC_METHOD +# ---------------------- +# how to check for library dependencies +# -- PORTME fill in with the dynamic library characteristics +m4_defun([_LT_CHECK_MAGIC_METHOD], +[m4_require([_LT_DECL_EGREP]) +m4_require([_LT_DECL_OBJDUMP]) +AC_CACHE_CHECK([how to recognize dependent libraries], +lt_cv_deplibs_check_method, +[lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_deplibs_check_method='unknown' +# Need to set the preceding variable on all platforms that support +# interlibrary dependencies. +# 'none' -- dependencies not supported. +# `unknown' -- same as none, but documents that we really don't know. +# 'pass_all' -- all dependencies passed with no checks. +# 'test_compile' -- check by making test program. +# 'file_magic [[regex]]' -- check by looking for files in library path +# which responds to the $file_magic_cmd with a given extended regex. +# If you have `file' or equivalent on your system and you're not sure +# whether `pass_all' will *always* work, you probably want this one. + +case $host_os in +aix[[4-9]]*) + lt_cv_deplibs_check_method=pass_all + ;; + +beos*) + lt_cv_deplibs_check_method=pass_all + ;; + +bsdi[[45]]*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' + lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_test_file=/shlib/libc.so + ;; + +cygwin*) + # func_win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + ;; + +mingw* | pw32*) + # Base MSYS/MinGW do not provide the 'file' command needed by + # func_win32_libid shell function, so use a weaker test based on 'objdump', + # unless we find 'file', for example because we are cross-compiling. + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. + if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + else + # Keep this pattern in sync with the one in func_win32_libid. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' + lt_cv_file_magic_cmd='$OBJDUMP -f' + fi + ;; + +cegcc*) + # use the weaker test based on 'objdump'. See mingw*. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + ;; + +darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +freebsd* | dragonfly*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +haiku*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case $host_cpu in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'] + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac + ;; + +interix[[3-9]]*) + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' + ;; + +irix5* | irix6* | nonstopux*) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + lt_cv_deplibs_check_method=pass_all + ;; + +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + lt_cv_deplibs_check_method=pass_all + ;; + +netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' + fi + ;; + +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +*nto* | *qnx*) + lt_cv_deplibs_check_method=pass_all + ;; + +openbsd*) + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + fi + ;; + +osf3* | osf4* | osf5*) + lt_cv_deplibs_check_method=pass_all + ;; + +rdos*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv4 | sysv4.3*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; + pc) + lt_cv_deplibs_check_method=pass_all + ;; + esac + ;; + +tpf*) + lt_cv_deplibs_check_method=pass_all + ;; +esac +]) + +file_magic_glob= +want_nocaseglob=no +if test "$build" = "$host"; then + case $host_os in + mingw* | pw32*) + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then + want_nocaseglob=yes + else + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"` + fi + ;; + esac +fi + +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown + +_LT_DECL([], [deplibs_check_method], [1], + [Method to check whether dependent libraries are shared objects]) +_LT_DECL([], [file_magic_cmd], [1], + [Command to use when deplibs_check_method = "file_magic"]) +_LT_DECL([], [file_magic_glob], [1], + [How to find potential files when deplibs_check_method = "file_magic"]) +_LT_DECL([], [want_nocaseglob], [1], + [Find potential files using nocaseglob when deplibs_check_method = "file_magic"]) +])# _LT_CHECK_MAGIC_METHOD + + +# LT_PATH_NM +# ---------- +# find the pathname to a BSD- or MS-compatible name lister +AC_DEFUN([LT_PATH_NM], +[AC_REQUIRE([AC_PROG_CC])dnl +AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, +[if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_nm_to_check="${ac_tool_prefix}nm" + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then + lt_nm_to_check="$lt_nm_to_check nm" + fi + for lt_tmp_nm in $lt_nm_to_check; do + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/$lt_tmp_nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + ;; + esac + fi + done + IFS="$lt_save_ifs" + done + : ${lt_cv_path_NM=no} +fi]) +if test "$lt_cv_path_NM" != "no"; then + NM="$lt_cv_path_NM" +else + # Didn't find any BSD compatible name lister, look for dumpbin. + if test -n "$DUMPBIN"; then : + # Let the user override the test. + else + AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in + *COFF*) + DUMPBIN="$DUMPBIN -symbols" + ;; + *) + DUMPBIN=: + ;; + esac + fi + AC_SUBST([DUMPBIN]) + if test "$DUMPBIN" != ":"; then + NM="$DUMPBIN" + fi +fi +test -z "$NM" && NM=nm +AC_SUBST([NM]) +_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl + +AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], + [lt_cv_nm_interface="BSD nm" + echo "int some_variable = 0;" > conftest.$ac_ext + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$ac_compile" 2>conftest.err) + cat conftest.err >&AS_MESSAGE_LOG_FD + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) + cat conftest.err >&AS_MESSAGE_LOG_FD + (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD) + cat conftest.out >&AS_MESSAGE_LOG_FD + if $GREP 'External.*some_variable' conftest.out > /dev/null; then + lt_cv_nm_interface="MS dumpbin" + fi + rm -f conftest*]) +])# LT_PATH_NM + +# Old names: +AU_ALIAS([AM_PROG_NM], [LT_PATH_NM]) +AU_ALIAS([AC_PROG_NM], [LT_PATH_NM]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_PROG_NM], []) +dnl AC_DEFUN([AC_PROG_NM], []) + +# _LT_CHECK_SHAREDLIB_FROM_LINKLIB +# -------------------------------- +# how to determine the name of the shared library +# associated with a specific link library. +# -- PORTME fill in with the dynamic library characteristics +m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB], +[m4_require([_LT_DECL_EGREP]) +m4_require([_LT_DECL_OBJDUMP]) +m4_require([_LT_DECL_DLLTOOL]) +AC_CACHE_CHECK([how to associate runtime and link libraries], +lt_cv_sharedlib_from_linklib_cmd, +[lt_cv_sharedlib_from_linklib_cmd='unknown' + +case $host_os in +cygwin* | mingw* | pw32* | cegcc*) + # two different shell functions defined in ltmain.sh + # decide which to use based on capabilities of $DLLTOOL + case `$DLLTOOL --help 2>&1` in + *--identify-strict*) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib + ;; + *) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback + ;; + esac + ;; +*) + # fallback: assume linklib IS sharedlib + lt_cv_sharedlib_from_linklib_cmd="$ECHO" + ;; +esac +]) +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO + +_LT_DECL([], [sharedlib_from_linklib_cmd], [1], + [Command to associate shared and link libraries]) +])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB + + +# _LT_PATH_MANIFEST_TOOL +# ---------------------- +# locate the manifest tool +m4_defun([_LT_PATH_MANIFEST_TOOL], +[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :) +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt +AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool], + [lt_cv_path_mainfest_tool=no + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out + cat conftest.err >&AS_MESSAGE_LOG_FD + if $GREP 'Manifest Tool' conftest.out > /dev/null; then + lt_cv_path_mainfest_tool=yes + fi + rm -f conftest*]) +if test "x$lt_cv_path_mainfest_tool" != xyes; then + MANIFEST_TOOL=: +fi +_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl +])# _LT_PATH_MANIFEST_TOOL + + +# LT_LIB_M +# -------- +# check for math library +AC_DEFUN([LT_LIB_M], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +LIBM= +case $host in +*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) + # These system don't have libm, or don't need it + ;; +*-ncr-sysv4.3*) + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") + ;; +*) + AC_CHECK_LIB(m, cos, LIBM="-lm") + ;; +esac +AC_SUBST([LIBM]) +])# LT_LIB_M + +# Old name: +AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_CHECK_LIBM], []) + + +# _LT_COMPILER_NO_RTTI([TAGNAME]) +# ------------------------------- +m4_defun([_LT_COMPILER_NO_RTTI], +[m4_require([_LT_TAG_COMPILER])dnl + +_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= + +if test "$GCC" = yes; then + case $cc_basename in + nvcc*) + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;; + *) + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;; + esac + + _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], + lt_cv_prog_compiler_rtti_exceptions, + [-fno-rtti -fno-exceptions], [], + [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) +fi +_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1], + [Compiler flag to turn off builtin functions]) +])# _LT_COMPILER_NO_RTTI + + +# _LT_CMD_GLOBAL_SYMBOLS +# ---------------------- +m4_defun([_LT_CMD_GLOBAL_SYMBOLS], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([LT_PATH_NM])dnl +AC_REQUIRE([LT_PATH_LD])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_TAG_COMPILER])dnl + +# Check for command to grab the raw symbol name followed by C symbol from nm. +AC_MSG_CHECKING([command to parse $NM output from $compiler object]) +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], +[ +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[[BCDEGRST]]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[[BCDT]]' + ;; +cygwin* | mingw* | pw32* | cegcc*) + symcode='[[ABCDGISTW]]' + ;; +hpux*) + if test "$host_cpu" = ia64; then + symcode='[[ABCDEGRST]]' + fi + ;; +irix* | nonstopux*) + symcode='[[BCDEGRST]]' + ;; +osf*) + symcode='[[BCDEGQRST]]' + ;; +solaris*) + symcode='[[BDRT]]' + ;; +sco3.2v5*) + symcode='[[DT]]' + ;; +sysv4.2uw2*) + symcode='[[DT]]' + ;; +sysv5* | sco5v6* | unixware* | OpenUNIX*) + symcode='[[ABDT]]' + ;; +sysv4) + symcode='[[DFNSTU]]' + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[[ABCDGIRSTW]]' ;; +esac + +# Transform an extracted symbol line into a proper C declaration. +# Some systems (esp. on ia64) link data and code symbols differently, +# so use this general approach. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'" +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'" + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# Try without a prefix underscore, then with it. +for ac_symprfx in "" "_"; do + + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. + symxfrm="\\1 $ac_symprfx\\2 \\2" + + # Write the raw and C identifiers. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then + # Fake it for dumpbin and say T for any non-static function + # and D for any global variable. + # Also find C++ and __fastcall symbols from MSVC++, + # which start with @ or ?. + lt_cv_sys_global_symbol_pipe="$AWK ['"\ +" {last_section=section; section=\$ 3};"\ +" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ +" \$ 0!~/External *\|/{next};"\ +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ +" {if(hide[section]) next};"\ +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ +" s[1]~/^[@?]/{print s[1], s[1]; next};"\ +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ +" ' prfx=^$ac_symprfx]" + else + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" + fi + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext <<_LT_EOF +#ifdef __cplusplus +extern "C" { +#endif +char nm_test_var; +void nm_test_func(void); +void nm_test_func(void){} +#ifdef __cplusplus +} +#endif +int main(){nm_test_var='a';nm_test_func();return(0);} +_LT_EOF + + if AC_TRY_EVAL(ac_compile); then + # Now try to grab the symbols. + nlist=conftest.nm + if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then + cat <<_LT_EOF > conftest.$ac_ext +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) +/* DATA imports from DLLs on WIN32 con't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT@&t@_DLSYM_CONST +#elif defined(__osf__) +/* This system does not cope well with relocations in const data. */ +# define LT@&t@_DLSYM_CONST +#else +# define LT@&t@_DLSYM_CONST const +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +_LT_EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' + + cat <<_LT_EOF >> conftest.$ac_ext + +/* The mapping between symbol names and symbols. */ +LT@&t@_DLSYM_CONST struct { + const char *name; + void *address; +} +lt__PROGRAM__LTX_preloaded_symbols[[]] = +{ + { "@PROGRAM@", (void *) 0 }, +_LT_EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext + cat <<\_LT_EOF >> conftest.$ac_ext + {0, (void *) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt__PROGRAM__LTX_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif +_LT_EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_globsym_save_LIBS=$LIBS + lt_globsym_save_CFLAGS=$CFLAGS + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS=$lt_globsym_save_LIBS + CFLAGS=$lt_globsym_save_CFLAGS + else + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD + fi + else + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.$ac_ext >&5 + fi + rm -rf conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done +]) +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + AC_MSG_RESULT(failed) +else + AC_MSG_RESULT(ok) +fi + +# Response file support. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then + nm_file_list_spec='@' +elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then + nm_file_list_spec='@' +fi + +_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], + [Take the output of nm and produce a listing of raw symbols and C names]) +_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], + [Transform the output of nm in a proper C declaration]) +_LT_DECL([global_symbol_to_c_name_address], + [lt_cv_sys_global_symbol_to_c_name_address], [1], + [Transform the output of nm in a C name address pair]) +_LT_DECL([global_symbol_to_c_name_address_lib_prefix], + [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], + [Transform the output of nm in a C name address pair when lib prefix is needed]) +_LT_DECL([], [nm_file_list_spec], [1], + [Specify filename containing input files for $NM]) +]) # _LT_CMD_GLOBAL_SYMBOLS + + +# _LT_COMPILER_PIC([TAGNAME]) +# --------------------------- +m4_defun([_LT_COMPILER_PIC], +[m4_require([_LT_TAG_COMPILER])dnl +_LT_TAGVAR(lt_prog_compiler_wl, $1)= +_LT_TAGVAR(lt_prog_compiler_pic, $1)= +_LT_TAGVAR(lt_prog_compiler_static, $1)= + +m4_if([$1], [CXX], [ + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | cygwin* | os2* | pw32* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + _LT_TAGVAR(lt_prog_compiler_static, $1)= + ;; + interix[[3-9]]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + sysv4*MP*) + if test -d /usr/nec; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + *qnx* | *nto*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + case $host_os in + aix[[4-9]]*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68*) + # Green Hills C++ Compiler + # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + mingw* | cygwin* | os2* | pw32* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + dgux*) + case $cc_basename in + ec++*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + ghcx*) + # Green Hills C++ Compiler + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + freebsd* | dragonfly*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + if test "$host_cpu" != ia64; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + fi + ;; + aCC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + interix*) + # This is c89, which is MS Visual C++ (no shared libs) + # Anyone wants to do a port? + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + KCC*) + # KAI C++ Compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + ecpc* ) + # old Intel C++ for x86_64 which still supported -KPIC. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + icpc* ) + # Intel C++, used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + pgCC* | pgcpp*) + # Portland Group C++ compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + cxx*) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*) + # IBM XL 8.0, 9.0 on PPC and BlueGene + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + esac + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + *qnx* | *nto*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + ;; + RCC*) + # Rational C++ 2.4.1 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + cxx*) + # Digital/Compaq C++ + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + solaris*) + case $cc_basename in + CC* | sunCC*) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + gcx*) + # Green Hills C++ Compiler + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + lcc*) + # Lucid + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + case $cc_basename in + CC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + *) + ;; + esac + ;; + vxworks*) + ;; + *) + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +], +[ + if test "$GCC" = yes; then + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + _LT_TAGVAR(lt_prog_compiler_static, $1)= + ;; + + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + # +Z the default + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + + interix[[3-9]]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + enable_shared=no + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + + case $cc_basename in + nvcc*) # Cuda Compiler Driver 2.2 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker ' + if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)" + fi + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + + hpux9* | hpux10* | hpux11*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC (with -KPIC) is the default. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + # old Intel for x86_64 which still supported -KPIC. + ecc*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + # icc used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + icc* | ifort*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + # Lahey Fortran 8.1. + lf95*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' + _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' + ;; + nagfor*) + # NAG Fortran compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + ccc*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All Alpha code is PIC. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + xl* | bgxl* | bgf* | mpixl*) + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='' + ;; + *Sun\ F* | *Sun*Fortran*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + *Sun\ C*) + # Sun C 5.9 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + ;; + *Intel*\ [[CF]]*Compiler*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + *Portland\ Group*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + esac + ;; + esac + ;; + + newsos6) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + + osf3* | osf4* | osf5*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All OSF/1 code is PIC. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + rdos*) + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + solaris*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + case $cc_basename in + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; + *) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; + esac + ;; + + sunos4*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + unicos*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + + uts4*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + *) + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +]) +case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" + ;; +esac + +AC_CACHE_CHECK([for $compiler option to produce PIC], + [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)], + [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) +_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1) + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then + _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works], + [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)], + [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [], + [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in + "" | " "*) ;; + *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;; + esac], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) +fi +_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], + [Additional compiler flags for building library objects]) + +_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], + [How to pass a linker flag through the compiler]) +# +# Check to make sure the static flag actually works. +# +wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\" +_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], + _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1), + $lt_tmp_static_flag, + [], + [_LT_TAGVAR(lt_prog_compiler_static, $1)=]) +_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1], + [Compiler flag to prevent dynamic linking]) +])# _LT_COMPILER_PIC + + +# _LT_LINKER_SHLIBS([TAGNAME]) +# ---------------------------- +# See if the linker supports building shared libraries. +m4_defun([_LT_LINKER_SHLIBS], +[AC_REQUIRE([LT_PATH_LD])dnl +AC_REQUIRE([LT_PATH_NM])dnl +m4_require([_LT_PATH_MANIFEST_TOOL])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl +m4_require([_LT_TAG_COMPILER])dnl +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +m4_if([$1], [CXX], [ + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] + case $host_os in + aix[[4-9]]*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global defined + # symbols, whereas GNU nm marks them as "W". + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + else + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" + ;; + cygwin* | mingw* | cegcc*) + case $cc_basename in + cl*) + _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' + ;; + *) + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] + ;; + esac + ;; + *) + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac +], [ + runpath_var= + _LT_TAGVAR(allow_undefined_flag, $1)= + _LT_TAGVAR(always_export_symbols, $1)=no + _LT_TAGVAR(archive_cmds, $1)= + _LT_TAGVAR(archive_expsym_cmds, $1)= + _LT_TAGVAR(compiler_needs_object, $1)=no + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + _LT_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(hardcode_automatic, $1)=no + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_direct_absolute, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_TAGVAR(hardcode_libdir_separator, $1)= + _LT_TAGVAR(hardcode_minus_L, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_TAGVAR(inherit_rpath, $1)=no + _LT_TAGVAR(link_all_deplibs, $1)=unknown + _LT_TAGVAR(module_cmds, $1)= + _LT_TAGVAR(module_expsym_cmds, $1)= + _LT_TAGVAR(old_archive_from_new_cmds, $1)= + _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= + _LT_TAGVAR(thread_safe_flag_spec, $1)= + _LT_TAGVAR(whole_archive_flag_spec, $1)= + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + _LT_TAGVAR(include_expsyms, $1)= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + # Exclude shared library initialization/finalization symbols. +dnl Note also adjust exclude_expsyms for C++ above. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + _LT_TAGVAR(ld_shlibs, $1)=yes + + # On some targets, GNU ld is compatible enough with the native linker + # that we're better off using the native interface for both. + lt_use_gnu_ld_interface=no + if test "$with_gnu_ld" = yes; then + case $host_os in + aix*) + # The AIX port of GNU ld has always aspired to compatibility + # with the native linker. However, as the warning in the GNU ld + # block says, versions before 2.19.5* couldn't really create working + # shared libraries, regardless of the interface used. + case `$LD -v 2>&1` in + *\ \(GNU\ Binutils\)\ 2.19.5*) ;; + *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;; + *\ \(GNU\ Binutils\)\ [[3-9]]*) ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + fi + + if test "$lt_use_gnu_ld_interface" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + runpath_var=LD_RUN_PATH + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_TAGVAR(whole_archive_flag_spec, $1)= + fi + supports_anon_versioning=no + case `$LD -v 2>&1` in + *GNU\ gold*) supports_anon_versioning=yes ;; + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + + # See if GNU ld supports shared libraries. + case $host_os in + aix[[3-9]]*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + _LT_TAGVAR(ld_shlibs, $1)=no + cat <<_LT_EOF 1>&2 + +*** Warning: the GNU linker, at least up to release 2.19, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to install binutils +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. +*** You will then need to restart the configuration process. + +_LT_EOF + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='' + ;; + m68k) + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + ;; + + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=no + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + haiku*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + + interix[[3-9]]*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) + tmp_diet=no + if test "$host_os" = linux-dietlibc; then + case $cc_basename in + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) + esac + fi + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ + && test "$tmp_diet" = no + then + tmp_addflag=' $pic_flag' + tmp_sharedflag='-shared' + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; + pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group f77 and f90 compilers + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + lf95*) # Lahey Fortran 8.1 + _LT_TAGVAR(whole_archive_flag_spec, $1)= + tmp_sharedflag='--shared' ;; + xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) + tmp_sharedflag='-qmkshrobj' + tmp_addflag= ;; + nvcc*) # Cuda Compiler Driver 2.2 + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(compiler_needs_object, $1)=yes + ;; + esac + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) # Sun C 5.9 + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(compiler_needs_object, $1)=yes + tmp_sharedflag='-G' ;; + *Sun\ F*) # Sun Fortran 8.3 + tmp_sharedflag='-G' ;; + esac + _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + + if test "x$supports_anon_versioning" = xyes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + + case $cc_basename in + xlf* | bgf* | bgxlf* | mpixlf*) + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself + _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' + if test "x$supports_anon_versioning" = xyes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' + fi + ;; + esac + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris*) + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then + _LT_TAGVAR(ld_shlibs, $1)=no + cat <<_LT_EOF 1>&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) + _LT_TAGVAR(ld_shlibs, $1)=no + cat <<_LT_EOF 1>&2 + +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not +*** reliably create shared libraries on SCO systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + ;; + *) + # For security reasons, it is highly recommended that you always + # use absolute paths for naming shared libraries, and exclude the + # DT_RUNPATH tag from executables and libraries. But doing so + # requires that you compile everything twice, which is a pain. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + sunos4*) + _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + + if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then + runpath_var= + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=yes + _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + _LT_TAGVAR(hardcode_direct, $1)=unsupported + fi + ;; + + aix[[4-9]]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global + # defined symbols, whereas GNU nm marks them as "W". + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + else + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_TAGVAR(archive_cmds, $1)='' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' + + if test "$GCC" = yes; then + case $host_os in aix4.[[012]]|aix4.[[012]].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && + strings "$collect2name" | $GREP resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + _LT_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)= + fi + ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an + # empty executable. + _LT_SYS_MODULE_PATH_AIX([$1]) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an + # empty executable. + _LT_SYS_MODULE_PATH_AIX([$1]) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds its shared libraries. + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='' + ;; + m68k) + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + ;; + + bsdi[[45]]*) + _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + case $cc_basename in + cl*) + # Native MSVC + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' + # Don't use ranlib + _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' + _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # Assume MSVC wrapper + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + # FIXME: Should let the user specify the lib program. + _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + ;; + esac + ;; + + darwin* | rhapsody*) + _LT_DARWIN_LINKER_FEATURES($1) + ;; + + dgux*) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2.*) + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | dragonfly*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + hpux9*) + if test "$GCC" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(hardcode_direct, $1)=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + + hpux10*) + if test "$GCC" = yes && test "$with_gnu_ld" = no; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + fi + if test "$with_gnu_ld" = no; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + fi + ;; + + hpux11*) + if test "$GCC" = yes && test "$with_gnu_ld" = no; then + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + m4_if($1, [], [ + # Older versions of the 11.00 compiler do not understand -b yet + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) + _LT_LINKER_OPTION([if $CC understands -b], + _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b], + [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], + [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])], + [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags']) + ;; + esac + fi + if test "$with_gnu_ld" = no; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + case $host_cpu in + hppa*64*|ia64*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + *) + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + # Try to use the -exported_symbol ld option, if it does not + # work, assume that -exports_file does not work either and + # implicitly export all symbols. + # This should be the same for all languages, so no per-tag cache variable. + AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol], + [lt_cv_irix_exported_symbol], + [save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" + AC_LINK_IFELSE( + [AC_LANG_SOURCE( + [AC_LANG_CASE([C], [[int foo (void) { return 0; }]], + [C++], [[int foo (void) { return 0; }]], + [Fortran 77], [[ + subroutine foo + end]], + [Fortran], [[ + subroutine foo + end]])])], + [lt_cv_irix_exported_symbol=yes], + [lt_cv_irix_exported_symbol=no]) + LDFLAGS="$save_LDFLAGS"]) + if test "$lt_cv_irix_exported_symbol" = yes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' + fi + else + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)='no' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(inherit_rpath, $1)=yes + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + newsos6) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *nto* | *qnx*) + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + else + case $host_os in + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + ;; + esac + fi + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + os2*) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)='no' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + else + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' + + # Both c and cxx compiler support -rpath directly + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)='no' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + + solaris*) + _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' + if test "$GCC" = yes; then + wlarc='${wl}' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + else + case `$CC -V 2>&1` in + *"Compilers 5.0"*) + wlarc='' + _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' + ;; + *) + wlarc='${wl}' + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + ;; + esac + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. GCC discards it without `$wl', + # but is careful enough not to reorder. + # Supported since Solaris 2.6 (maybe 2.5.1?) + if test "$GCC" = yes; then + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + else + _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' + fi + ;; + esac + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv4) + case $host_vendor in + sni) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' + _LT_TAGVAR(hardcode_direct, $1)=no + ;; + motorola) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv4.3*) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + _LT_TAGVAR(ld_shlibs, $1)=yes + fi + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + uts4*) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + + if test x$host_vendor = xsni; then + case $host in + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym' + ;; + esac + fi + fi +]) +AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) +test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + +_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld + +_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl +_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl +_LT_DECL([], [extract_expsyms_cmds], [2], + [The commands to extract the exported symbol list from a shared archive]) + +# +# Do we need to explicitly link libc? +# +case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in +x|xyes) + # Assume -lc should be added + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $_LT_TAGVAR(archive_cmds, $1) in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + AC_CACHE_CHECK([whether -lc should be explicitly linked in], + [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1), + [$RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) + pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) + _LT_TAGVAR(allow_undefined_flag, $1)= + if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) + then + lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no + else + lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes + fi + _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $RM conftest* + ]) + _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1) + ;; + esac + fi + ;; +esac + +_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0], + [Whether or not to add -lc for building shared libraries]) +_LT_TAGDECL([allow_libtool_libs_with_static_runtimes], + [enable_shared_with_static_runtimes], [0], + [Whether or not to disallow shared libs when runtime libs are static]) +_LT_TAGDECL([], [export_dynamic_flag_spec], [1], + [Compiler flag to allow reflexive dlopens]) +_LT_TAGDECL([], [whole_archive_flag_spec], [1], + [Compiler flag to generate shared objects directly from archives]) +_LT_TAGDECL([], [compiler_needs_object], [1], + [Whether the compiler copes with passing no objects directly]) +_LT_TAGDECL([], [old_archive_from_new_cmds], [2], + [Create an old-style archive from a shared archive]) +_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2], + [Create a temporary old-style archive to link instead of a shared archive]) +_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive]) +_LT_TAGDECL([], [archive_expsym_cmds], [2]) +_LT_TAGDECL([], [module_cmds], [2], + [Commands used to build a loadable module if different from building + a shared archive.]) +_LT_TAGDECL([], [module_expsym_cmds], [2]) +_LT_TAGDECL([], [with_gnu_ld], [1], + [Whether we are building with GNU ld or not]) +_LT_TAGDECL([], [allow_undefined_flag], [1], + [Flag that allows shared libraries with undefined symbols to be built]) +_LT_TAGDECL([], [no_undefined_flag], [1], + [Flag that enforces no undefined symbols]) +_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], + [Flag to hardcode $libdir into a binary during linking. + This must work even if $libdir does not exist]) +_LT_TAGDECL([], [hardcode_libdir_separator], [1], + [Whether we need a single "-rpath" flag with a separated argument]) +_LT_TAGDECL([], [hardcode_direct], [0], + [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes + DIR into the resulting binary]) +_LT_TAGDECL([], [hardcode_direct_absolute], [0], + [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes + DIR into the resulting binary and the resulting library dependency is + "absolute", i.e impossible to change by setting ${shlibpath_var} if the + library is relocated]) +_LT_TAGDECL([], [hardcode_minus_L], [0], + [Set to "yes" if using the -LDIR flag during linking hardcodes DIR + into the resulting binary]) +_LT_TAGDECL([], [hardcode_shlibpath_var], [0], + [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR + into the resulting binary]) +_LT_TAGDECL([], [hardcode_automatic], [0], + [Set to "yes" if building a shared library automatically hardcodes DIR + into the library and all subsequent libraries and executables linked + against it]) +_LT_TAGDECL([], [inherit_rpath], [0], + [Set to yes if linker adds runtime paths of dependent libraries + to runtime path list]) +_LT_TAGDECL([], [link_all_deplibs], [0], + [Whether libtool must link a program against all its dependency libraries]) +_LT_TAGDECL([], [always_export_symbols], [0], + [Set to "yes" if exported symbols are required]) +_LT_TAGDECL([], [export_symbols_cmds], [2], + [The commands to list exported symbols]) +_LT_TAGDECL([], [exclude_expsyms], [1], + [Symbols that should not be listed in the preloaded symbols]) +_LT_TAGDECL([], [include_expsyms], [1], + [Symbols that must always be exported]) +_LT_TAGDECL([], [prelink_cmds], [2], + [Commands necessary for linking programs (against libraries) with templates]) +_LT_TAGDECL([], [postlink_cmds], [2], + [Commands necessary for finishing linking programs]) +_LT_TAGDECL([], [file_list_spec], [1], + [Specify filename containing input files]) +dnl FIXME: Not yet implemented +dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1], +dnl [Compiler flag to generate thread safe objects]) +])# _LT_LINKER_SHLIBS + + +# _LT_LANG_C_CONFIG([TAG]) +# ------------------------ +# Ensure that the configuration variables for a C compiler are suitably +# defined. These variables are subsequently used by _LT_CONFIG to write +# the compiler configuration to `libtool'. +m4_defun([_LT_LANG_C_CONFIG], +[m4_require([_LT_DECL_EGREP])dnl +lt_save_CC="$CC" +AC_LANG_PUSH(C) + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}' + +_LT_TAG_COMPILER +# Save the default compiler, since it gets overwritten when the other +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. +compiler_DEFAULT=$CC + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... +if test -n "$compiler"; then + _LT_COMPILER_NO_RTTI($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + LT_SYS_DLOPEN_SELF + _LT_CMD_STRIPLIB + + # Report which library types will actually be built + AC_MSG_CHECKING([if libtool supports shared libraries]) + AC_MSG_RESULT([$can_build_shared]) + + AC_MSG_CHECKING([whether to build shared libraries]) + test "$can_build_shared" = "no" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + + aix[[4-9]]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + esac + AC_MSG_RESULT([$enable_shared]) + + AC_MSG_CHECKING([whether to build static libraries]) + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + AC_MSG_RESULT([$enable_static]) + + _LT_CONFIG($1) +fi +AC_LANG_POP +CC="$lt_save_CC" +])# _LT_LANG_C_CONFIG + + +# _LT_LANG_CXX_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for a C++ compiler are suitably +# defined. These variables are subsequently used by _LT_CONFIG to write +# the compiler configuration to `libtool'. +m4_defun([_LT_LANG_CXX_CONFIG], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_PATH_MANIFEST_TOOL])dnl +if test -n "$CXX" && ( test "X$CXX" != "Xno" && + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || + (test "X$CXX" != "Xg++"))) ; then + AC_PROG_CXXCPP +else + _lt_caught_CXX_error=yes +fi + +AC_LANG_PUSH(C++) +_LT_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_TAGVAR(allow_undefined_flag, $1)= +_LT_TAGVAR(always_export_symbols, $1)=no +_LT_TAGVAR(archive_expsym_cmds, $1)= +_LT_TAGVAR(compiler_needs_object, $1)=no +_LT_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_TAGVAR(hardcode_direct, $1)=no +_LT_TAGVAR(hardcode_direct_absolute, $1)=no +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_TAGVAR(hardcode_libdir_separator, $1)= +_LT_TAGVAR(hardcode_minus_L, $1)=no +_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported +_LT_TAGVAR(hardcode_automatic, $1)=no +_LT_TAGVAR(inherit_rpath, $1)=no +_LT_TAGVAR(module_cmds, $1)= +_LT_TAGVAR(module_expsym_cmds, $1)= +_LT_TAGVAR(link_all_deplibs, $1)=unknown +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds +_LT_TAGVAR(no_undefined_flag, $1)= +_LT_TAGVAR(whole_archive_flag_spec, $1)= +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Source file extension for C++ test sources. +ac_ext=cpp + +# Object file extension for compiled C++ test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# No sense in running all these tests if we already determined that +# the CXX compiler isn't working. Some variables (like enable_shared) +# are currently assumed to apply to all compilers on this platform, +# and will be corrupted by setting them based on a non-working compiler. +if test "$_lt_caught_CXX_error" != yes; then + # Code to be used in simple compile tests + lt_simple_compile_test_code="int some_variable = 0;" + + # Code to be used in simple link tests + lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' + + # ltmain only uses $CC for tagged configurations so make sure $CC is set. + _LT_TAG_COMPILER + + # save warnings/boilerplate of simple test code + _LT_COMPILER_BOILERPLATE + _LT_LINKER_BOILERPLATE + + # Allow CC to be a program name with arguments. + lt_save_CC=$CC + lt_save_CFLAGS=$CFLAGS + lt_save_LD=$LD + lt_save_GCC=$GCC + GCC=$GXX + lt_save_with_gnu_ld=$with_gnu_ld + lt_save_path_LD=$lt_cv_path_LD + if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx + else + $as_unset lt_cv_prog_gnu_ld + fi + if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX + else + $as_unset lt_cv_path_LD + fi + test -z "${LDCXX+set}" || LD=$LDCXX + CC=${CXX-"c++"} + CFLAGS=$CXXFLAGS + compiler=$CC + _LT_TAGVAR(compiler, $1)=$CC + _LT_CC_BASENAME([$compiler]) + + if test -n "$compiler"; then + # We don't want -fno-exception when compiling C++ code, so set the + # no_builtin_flag separately + if test "$GXX" = yes; then + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' + else + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= + fi + + if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + LT_PATH_LD + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | + $GREP 'no-whole-archive' > /dev/null; then + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + + else + GXX=no + with_gnu_ld=no + wlarc= + fi + + # PORTME: fill in a description of your system's C++ link characteristics + AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) + _LT_TAGVAR(ld_shlibs, $1)=yes + case $host_os in + aix3*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + aix[[4-9]]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_TAGVAR(archive_cmds, $1)='' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' + + if test "$GXX" = yes; then + case $host_os in aix4.[[012]]|aix4.[[012]].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && + strings "$collect2name" | $GREP resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + _LT_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to + # export. + _LT_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty + # executable. + _LT_SYS_MODULE_PATH_AIX([$1]) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an + # empty executable. + _LT_SYS_MODULE_PATH_AIX([$1]) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds its shared + # libraries. + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + cygwin* | mingw* | pw32* | cegcc*) + case $GXX,$cc_basename in + ,cl* | no,cl*) + # Native MSVC + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + # Don't use ranlib + _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' + _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + func_to_tool_file "$lt_outputfile"~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # g++ + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=no + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + darwin* | rhapsody*) + _LT_DARWIN_LINKER_FEATURES($1) + ;; + + dgux*) + case $cc_basename in + ec++*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + ghcx*) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + freebsd2.*) + # C++ shared libraries reported to be fairly broken before + # switch to ELF + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + freebsd-elf*) + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + + freebsd* | dragonfly*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + _LT_TAGVAR(ld_shlibs, $1)=yes + ;; + + gnu*) + ;; + + haiku*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + + hpux9*) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + aCC*) + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + ;; + *) + if test "$GXX" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + case $host_cpu in + hppa*64*|ia64*) + ;; + *) + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + esac + fi + case $host_cpu in + hppa*64*|ia64*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + *) + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + aCC*) + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + interix[[3-9]]*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + irix5* | irix6*) + case $cc_basename in + CC*) + # SGI C++ + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' + fi + fi + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + esac + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(inherit_rpath, $1)=yes + ;; + + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc* | ecpc* ) + # Intel C++ + with_gnu_ld=yes + # version 8.0 and above of icpc choke on multiply defined symbols + # if we add $predep_objects and $postdep_objects, however 7.1 and + # earlier do not add the objects themselves. + case `$CC -V 2>&1` in + *"Version 7."*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + *) # Version 8.0 or newer + tmp_idyn= + case $host_cpu in + ia64*) tmp_idyn=' -i_dynamic';; + esac + _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + esac + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + pgCC* | pgcpp*) + # Portland Group C++ compiler + case `$CC -V` in + *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*) + _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ + compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' + _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ + $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ + $RANLIB $oldlib' + _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + ;; + *) # Version 6 and above use weak symbols + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + ;; + esac + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + ;; + cxx*) + # Compaq C++ + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' + ;; + xl* | mpixl* | bgxl*) + # IBM XL 8.0 on PPC, with GNU ld + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + if test "x$supports_anon_versioning" = xyes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(compiler_needs_object, $1)=yes + + # Not sure whether something based on + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 + # would be better. + output_verbose_link_cmd='func_echo_all' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + esac + ;; + esac + ;; + + lynxos*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + m88k*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + mvs*) + case $cc_basename in + cxx*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + + *nto* | *qnx*) + _LT_TAGVAR(ld_shlibs, $1)=yes + ;; + + openbsd2*) + # C++ shared libraries are fairly broken + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + fi + output_verbose_link_cmd=func_echo_all + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + osf3* | osf4* | osf5*) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + case $host in + osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; + *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; + esac + ;; + RCC*) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + cxx*) + case $host in + osf3*) + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + ;; + *) + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~ + $RM $lib.exp' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + ;; + esac + + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + case $host in + osf3*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + ;; + esac + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + psos*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + lcc*) + # Lucid + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + solaris*) + case $cc_basename in + CC* | sunCC*) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_TAGVAR(archive_cmds_need_lc,$1)=yes + _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. + # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' + ;; + esac + _LT_TAGVAR(link_all_deplibs, $1)=yes + + output_verbose_link_cmd='func_echo_all' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + gcx*) + # Green Hills C++ Compiler + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' + if $CC --version | $GREP -v '^2\.7' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + fi + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + fi + ;; + esac + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + + case $cc_basename in + CC*) + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + case $cc_basename in + CC*) + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~ + '"$_LT_TAGVAR(old_archive_cmds, $1)" + _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~ + '"$_LT_TAGVAR(reload_cmds, $1)" + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + vxworks*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + + AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) + test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + + _LT_TAGVAR(GCC, $1)="$GXX" + _LT_TAGVAR(LD, $1)="$LD" + + ## CAVEAT EMPTOR: + ## There is no encapsulation within the following macros, do not change + ## the running order or otherwise move them around unless you know exactly + ## what you are doing... + _LT_SYS_HIDDEN_LIBDEPS($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) + fi # test -n "$compiler" + + CC=$lt_save_CC + CFLAGS=$lt_save_CFLAGS + LDCXX=$LD + LD=$lt_save_LD + GCC=$lt_save_GCC + with_gnu_ld=$lt_save_with_gnu_ld + lt_cv_path_LDCXX=$lt_cv_path_LD + lt_cv_path_LD=$lt_save_path_LD + lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld + lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld +fi # test "$_lt_caught_CXX_error" != yes + +AC_LANG_POP +])# _LT_LANG_CXX_CONFIG + + +# _LT_FUNC_STRIPNAME_CNF +# ---------------------- +# func_stripname_cnf prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +# +# This function is identical to the (non-XSI) version of func_stripname, +# except this one can be used by m4 code that may be executed by configure, +# rather than the libtool script. +m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl +AC_REQUIRE([_LT_DECL_SED]) +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH]) +func_stripname_cnf () +{ + case ${2} in + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; + esac +} # func_stripname_cnf +])# _LT_FUNC_STRIPNAME_CNF + +# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) +# --------------------------------- +# Figure out "hidden" library dependencies from verbose +# compiler output when linking a shared library. +# Parse the compiler output and extract the necessary +# objects, libraries and library flags. +m4_defun([_LT_SYS_HIDDEN_LIBDEPS], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl +# Dependencies to place before and after the object being linked: +_LT_TAGVAR(predep_objects, $1)= +_LT_TAGVAR(postdep_objects, $1)= +_LT_TAGVAR(predeps, $1)= +_LT_TAGVAR(postdeps, $1)= +_LT_TAGVAR(compiler_lib_search_path, $1)= + +dnl we can't use the lt_simple_compile_test_code here, +dnl because it contains code intended for an executable, +dnl not a library. It's possible we should let each +dnl tag define a new lt_????_link_test_code variable, +dnl but it's only used here... +m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF +int a; +void foo (void) { a = 0; } +_LT_EOF +], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF +class Foo +{ +public: + Foo (void) { a = 0; } +private: + int a; +}; +_LT_EOF +], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF + subroutine foo + implicit none + integer*4 a + a=0 + return + end +_LT_EOF +], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF + subroutine foo + implicit none + integer a + a=0 + return + end +_LT_EOF +], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF +public class foo { + private int a; + public void bar (void) { + a = 0; + } +}; +_LT_EOF +], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF +package foo +func foo() { +} +_LT_EOF +]) + +_lt_libdeps_save_CFLAGS=$CFLAGS +case "$CC $CFLAGS " in #( +*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; +*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; +*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; +esac + +dnl Parse the compiler output and extract the necessary +dnl objects, libraries and library flags. +if AC_TRY_EVAL(ac_compile); then + # Parse the compiler output and extract the necessary + # objects, libraries and library flags. + + # Sentinel used to keep track of whether or not we are before + # the conftest object file. + pre_test_object_deps_done=no + + for p in `eval "$output_verbose_link_cmd"`; do + case ${prev}${p} in + + -L* | -R* | -l*) + # Some compilers place space between "-{L,R}" and the path. + # Remove the space. + if test $p = "-L" || + test $p = "-R"; then + prev=$p + continue + fi + + # Expand the sysroot to ease extracting the directories later. + if test -z "$prev"; then + case $p in + -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; + -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; + -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; + esac + fi + case $p in + =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; + esac + if test "$pre_test_object_deps_done" = no; then + case ${prev} in + -L | -R) + # Internal compiler library paths should come after those + # provided the user. The postdeps already come after the + # user supplied libs so there is no need to process them. + if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then + _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}" + else + _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}" + fi + ;; + # The "-l" case would never come before the object being + # linked, so don't bother handling this case. + esac + else + if test -z "$_LT_TAGVAR(postdeps, $1)"; then + _LT_TAGVAR(postdeps, $1)="${prev}${p}" + else + _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}" + fi + fi + prev= + ;; + + *.lto.$objext) ;; # Ignore GCC LTO objects + *.$objext) + # This assumes that the test object file only shows up + # once in the compiler output. + if test "$p" = "conftest.$objext"; then + pre_test_object_deps_done=yes + continue + fi + + if test "$pre_test_object_deps_done" = no; then + if test -z "$_LT_TAGVAR(predep_objects, $1)"; then + _LT_TAGVAR(predep_objects, $1)="$p" + else + _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" + fi + else + if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then + _LT_TAGVAR(postdep_objects, $1)="$p" + else + _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" + fi + fi + ;; + + *) ;; # Ignore the rest. + + esac + done + + # Clean up. + rm -f a.out a.exe +else + echo "libtool.m4: error: problem compiling $1 test program" +fi + +$RM -f confest.$objext +CFLAGS=$_lt_libdeps_save_CFLAGS + +# PORTME: override above test on systems where it is broken +m4_if([$1], [CXX], +[case $host_os in +interix[[3-9]]*) + # Interix 3.5 installs completely hosed .la files for C++, so rather than + # hack all around it, let's just trust "g++" to DTRT. + _LT_TAGVAR(predep_objects,$1)= + _LT_TAGVAR(postdep_objects,$1)= + _LT_TAGVAR(postdeps,$1)= + ;; + +linux*) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + + # The more standards-conforming stlport4 library is + # incompatible with the Cstd library. Avoid specifying + # it if it's in CXXFLAGS. Ignore libCrun as + # -library=stlport4 depends on it. + case " $CXX $CXXFLAGS " in + *" -library=stlport4 "*) + solaris_use_stlport4=yes + ;; + esac + + if test "$solaris_use_stlport4" != yes; then + _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' + fi + ;; + esac + ;; + +solaris*) + case $cc_basename in + CC* | sunCC*) + # The more standards-conforming stlport4 library is + # incompatible with the Cstd library. Avoid specifying + # it if it's in CXXFLAGS. Ignore libCrun as + # -library=stlport4 depends on it. + case " $CXX $CXXFLAGS " in + *" -library=stlport4 "*) + solaris_use_stlport4=yes + ;; + esac + + # Adding this requires a known-good setup of shared libraries for + # Sun compiler versions before 5.6, else PIC objects from an old + # archive will be linked into the output, leading to subtle bugs. + if test "$solaris_use_stlport4" != yes; then + _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' + fi + ;; + esac + ;; +esac +]) + +case " $_LT_TAGVAR(postdeps, $1) " in +*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; +esac + _LT_TAGVAR(compiler_lib_search_dirs, $1)= +if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then + _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` +fi +_LT_TAGDECL([], [compiler_lib_search_dirs], [1], + [The directories searched by this compiler when creating a shared library]) +_LT_TAGDECL([], [predep_objects], [1], + [Dependencies to place before and after the objects being linked to + create a shared library]) +_LT_TAGDECL([], [postdep_objects], [1]) +_LT_TAGDECL([], [predeps], [1]) +_LT_TAGDECL([], [postdeps], [1]) +_LT_TAGDECL([], [compiler_lib_search_path], [1], + [The library search path used internally by the compiler when linking + a shared library]) +])# _LT_SYS_HIDDEN_LIBDEPS + + +# _LT_LANG_F77_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for a Fortran 77 compiler are +# suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_F77_CONFIG], +[AC_LANG_PUSH(Fortran 77) +if test -z "$F77" || test "X$F77" = "Xno"; then + _lt_disable_F77=yes +fi + +_LT_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_TAGVAR(allow_undefined_flag, $1)= +_LT_TAGVAR(always_export_symbols, $1)=no +_LT_TAGVAR(archive_expsym_cmds, $1)= +_LT_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_TAGVAR(hardcode_direct, $1)=no +_LT_TAGVAR(hardcode_direct_absolute, $1)=no +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_TAGVAR(hardcode_libdir_separator, $1)= +_LT_TAGVAR(hardcode_minus_L, $1)=no +_LT_TAGVAR(hardcode_automatic, $1)=no +_LT_TAGVAR(inherit_rpath, $1)=no +_LT_TAGVAR(module_cmds, $1)= +_LT_TAGVAR(module_expsym_cmds, $1)= +_LT_TAGVAR(link_all_deplibs, $1)=unknown +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds +_LT_TAGVAR(no_undefined_flag, $1)= +_LT_TAGVAR(whole_archive_flag_spec, $1)= +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Source file extension for f77 test sources. +ac_ext=f + +# Object file extension for compiled f77 test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# No sense in running all these tests if we already determined that +# the F77 compiler isn't working. Some variables (like enable_shared) +# are currently assumed to apply to all compilers on this platform, +# and will be corrupted by setting them based on a non-working compiler. +if test "$_lt_disable_F77" != yes; then + # Code to be used in simple compile tests + lt_simple_compile_test_code="\ + subroutine t + return + end +" + + # Code to be used in simple link tests + lt_simple_link_test_code="\ + program t + end +" + + # ltmain only uses $CC for tagged configurations so make sure $CC is set. + _LT_TAG_COMPILER + + # save warnings/boilerplate of simple test code + _LT_COMPILER_BOILERPLATE + _LT_LINKER_BOILERPLATE + + # Allow CC to be a program name with arguments. + lt_save_CC="$CC" + lt_save_GCC=$GCC + lt_save_CFLAGS=$CFLAGS + CC=${F77-"f77"} + CFLAGS=$FFLAGS + compiler=$CC + _LT_TAGVAR(compiler, $1)=$CC + _LT_CC_BASENAME([$compiler]) + GCC=$G77 + if test -n "$compiler"; then + AC_MSG_CHECKING([if libtool supports shared libraries]) + AC_MSG_RESULT([$can_build_shared]) + + AC_MSG_CHECKING([whether to build shared libraries]) + test "$can_build_shared" = "no" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + aix[[4-9]]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + esac + AC_MSG_RESULT([$enable_shared]) + + AC_MSG_CHECKING([whether to build static libraries]) + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + AC_MSG_RESULT([$enable_static]) + + _LT_TAGVAR(GCC, $1)="$G77" + _LT_TAGVAR(LD, $1)="$LD" + + ## CAVEAT EMPTOR: + ## There is no encapsulation within the following macros, do not change + ## the running order or otherwise move them around unless you know exactly + ## what you are doing... + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) + fi # test -n "$compiler" + + GCC=$lt_save_GCC + CC="$lt_save_CC" + CFLAGS="$lt_save_CFLAGS" +fi # test "$_lt_disable_F77" != yes + +AC_LANG_POP +])# _LT_LANG_F77_CONFIG + + +# _LT_LANG_FC_CONFIG([TAG]) +# ------------------------- +# Ensure that the configuration variables for a Fortran compiler are +# suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_FC_CONFIG], +[AC_LANG_PUSH(Fortran) + +if test -z "$FC" || test "X$FC" = "Xno"; then + _lt_disable_FC=yes +fi + +_LT_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_TAGVAR(allow_undefined_flag, $1)= +_LT_TAGVAR(always_export_symbols, $1)=no +_LT_TAGVAR(archive_expsym_cmds, $1)= +_LT_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_TAGVAR(hardcode_direct, $1)=no +_LT_TAGVAR(hardcode_direct_absolute, $1)=no +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_TAGVAR(hardcode_libdir_separator, $1)= +_LT_TAGVAR(hardcode_minus_L, $1)=no +_LT_TAGVAR(hardcode_automatic, $1)=no +_LT_TAGVAR(inherit_rpath, $1)=no +_LT_TAGVAR(module_cmds, $1)= +_LT_TAGVAR(module_expsym_cmds, $1)= +_LT_TAGVAR(link_all_deplibs, $1)=unknown +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds +_LT_TAGVAR(no_undefined_flag, $1)= +_LT_TAGVAR(whole_archive_flag_spec, $1)= +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Source file extension for fc test sources. +ac_ext=${ac_fc_srcext-f} + +# Object file extension for compiled fc test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# No sense in running all these tests if we already determined that +# the FC compiler isn't working. Some variables (like enable_shared) +# are currently assumed to apply to all compilers on this platform, +# and will be corrupted by setting them based on a non-working compiler. +if test "$_lt_disable_FC" != yes; then + # Code to be used in simple compile tests + lt_simple_compile_test_code="\ + subroutine t + return + end +" + + # Code to be used in simple link tests + lt_simple_link_test_code="\ + program t + end +" + + # ltmain only uses $CC for tagged configurations so make sure $CC is set. + _LT_TAG_COMPILER + + # save warnings/boilerplate of simple test code + _LT_COMPILER_BOILERPLATE + _LT_LINKER_BOILERPLATE + + # Allow CC to be a program name with arguments. + lt_save_CC="$CC" + lt_save_GCC=$GCC + lt_save_CFLAGS=$CFLAGS + CC=${FC-"f95"} + CFLAGS=$FCFLAGS + compiler=$CC + GCC=$ac_cv_fc_compiler_gnu + + _LT_TAGVAR(compiler, $1)=$CC + _LT_CC_BASENAME([$compiler]) + + if test -n "$compiler"; then + AC_MSG_CHECKING([if libtool supports shared libraries]) + AC_MSG_RESULT([$can_build_shared]) + + AC_MSG_CHECKING([whether to build shared libraries]) + test "$can_build_shared" = "no" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + aix[[4-9]]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + esac + AC_MSG_RESULT([$enable_shared]) + + AC_MSG_CHECKING([whether to build static libraries]) + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + AC_MSG_RESULT([$enable_static]) + + _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu" + _LT_TAGVAR(LD, $1)="$LD" + + ## CAVEAT EMPTOR: + ## There is no encapsulation within the following macros, do not change + ## the running order or otherwise move them around unless you know exactly + ## what you are doing... + _LT_SYS_HIDDEN_LIBDEPS($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) + fi # test -n "$compiler" + + GCC=$lt_save_GCC + CC=$lt_save_CC + CFLAGS=$lt_save_CFLAGS +fi # test "$_lt_disable_FC" != yes + +AC_LANG_POP +])# _LT_LANG_FC_CONFIG + + +# _LT_LANG_GCJ_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for the GNU Java Compiler compiler +# are suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_GCJ_CONFIG], +[AC_REQUIRE([LT_PROG_GCJ])dnl +AC_LANG_SAVE + +# Source file extension for Java test sources. +ac_ext=java + +# Object file extension for compiled Java test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="class foo {}" + +# Code to be used in simple link tests +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_TAG_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_CFLAGS=$CFLAGS +lt_save_GCC=$GCC +GCC=yes +CC=${GCJ-"gcj"} +CFLAGS=$GCJFLAGS +compiler=$CC +_LT_TAGVAR(compiler, $1)=$CC +_LT_TAGVAR(LD, $1)="$LD" +_LT_CC_BASENAME([$compiler]) + +# GCJ did not exist at the time GCC didn't implicitly link libc in. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no + +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds + +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... +if test -n "$compiler"; then + _LT_COMPILER_NO_RTTI($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) +fi + +AC_LANG_RESTORE + +GCC=$lt_save_GCC +CC=$lt_save_CC +CFLAGS=$lt_save_CFLAGS +])# _LT_LANG_GCJ_CONFIG + + +# _LT_LANG_GO_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for the GNU Go compiler +# are suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_GO_CONFIG], +[AC_REQUIRE([LT_PROG_GO])dnl +AC_LANG_SAVE + +# Source file extension for Go test sources. +ac_ext=go + +# Object file extension for compiled Go test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="package main; func main() { }" + +# Code to be used in simple link tests +lt_simple_link_test_code='package main; func main() { }' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_TAG_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_CFLAGS=$CFLAGS +lt_save_GCC=$GCC +GCC=yes +CC=${GOC-"gccgo"} +CFLAGS=$GOFLAGS +compiler=$CC +_LT_TAGVAR(compiler, $1)=$CC +_LT_TAGVAR(LD, $1)="$LD" +_LT_CC_BASENAME([$compiler]) + +# Go did not exist at the time GCC didn't implicitly link libc in. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no + +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds + +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... +if test -n "$compiler"; then + _LT_COMPILER_NO_RTTI($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) +fi + +AC_LANG_RESTORE + +GCC=$lt_save_GCC +CC=$lt_save_CC +CFLAGS=$lt_save_CFLAGS +])# _LT_LANG_GO_CONFIG + + +# _LT_LANG_RC_CONFIG([TAG]) +# ------------------------- +# Ensure that the configuration variables for the Windows resource compiler +# are suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_RC_CONFIG], +[AC_REQUIRE([LT_PROG_RC])dnl +AC_LANG_SAVE + +# Source file extension for RC test sources. +ac_ext=rc + +# Object file extension for compiled RC test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' + +# Code to be used in simple link tests +lt_simple_link_test_code="$lt_simple_compile_test_code" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_TAG_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +lt_save_CFLAGS=$CFLAGS +lt_save_GCC=$GCC +GCC= +CC=${RC-"windres"} +CFLAGS= +compiler=$CC +_LT_TAGVAR(compiler, $1)=$CC +_LT_CC_BASENAME([$compiler]) +_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + +if test -n "$compiler"; then + : + _LT_CONFIG($1) +fi + +GCC=$lt_save_GCC +AC_LANG_RESTORE +CC=$lt_save_CC +CFLAGS=$lt_save_CFLAGS +])# _LT_LANG_RC_CONFIG + + +# LT_PROG_GCJ +# ----------- +AC_DEFUN([LT_PROG_GCJ], +[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], + [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], + [AC_CHECK_TOOL(GCJ, gcj,) + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" + AC_SUBST(GCJFLAGS)])])[]dnl +]) + +# Old name: +AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([LT_AC_PROG_GCJ], []) + + +# LT_PROG_GO +# ---------- +AC_DEFUN([LT_PROG_GO], +[AC_CHECK_TOOL(GOC, gccgo,) +]) + + +# LT_PROG_RC +# ---------- +AC_DEFUN([LT_PROG_RC], +[AC_CHECK_TOOL(RC, windres,) +]) + +# Old name: +AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([LT_AC_PROG_RC], []) + + +# _LT_DECL_EGREP +# -------------- +# If we don't have a new enough Autoconf to choose the best grep +# available, choose the one first in the user's PATH. +m4_defun([_LT_DECL_EGREP], +[AC_REQUIRE([AC_PROG_EGREP])dnl +AC_REQUIRE([AC_PROG_FGREP])dnl +test -z "$GREP" && GREP=grep +_LT_DECL([], [GREP], [1], [A grep program that handles long lines]) +_LT_DECL([], [EGREP], [1], [An ERE matcher]) +_LT_DECL([], [FGREP], [1], [A literal string matcher]) +dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too +AC_SUBST([GREP]) +]) + + +# _LT_DECL_OBJDUMP +# -------------- +# If we don't have a new enough Autoconf to choose the best objdump +# available, choose the one first in the user's PATH. +m4_defun([_LT_DECL_OBJDUMP], +[AC_CHECK_TOOL(OBJDUMP, objdump, false) +test -z "$OBJDUMP" && OBJDUMP=objdump +_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper]) +AC_SUBST([OBJDUMP]) +]) + +# _LT_DECL_DLLTOOL +# ---------------- +# Ensure DLLTOOL variable is set. +m4_defun([_LT_DECL_DLLTOOL], +[AC_CHECK_TOOL(DLLTOOL, dlltool, false) +test -z "$DLLTOOL" && DLLTOOL=dlltool +_LT_DECL([], [DLLTOOL], [1], [DLL creation program]) +AC_SUBST([DLLTOOL]) +]) + +# _LT_DECL_SED +# ------------ +# Check for a fully-functional sed program, that truncates +# as few characters as possible. Prefer GNU sed if found. +m4_defun([_LT_DECL_SED], +[AC_PROG_SED +test -z "$SED" && SED=sed +Xsed="$SED -e 1s/^X//" +_LT_DECL([], [SED], [1], [A sed program that does not truncate output]) +_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], + [Sed that helps us avoid accidentally triggering echo(1) options like -n]) +])# _LT_DECL_SED + +m4_ifndef([AC_PROG_SED], [ +############################################################ +# NOTE: This macro has been submitted for inclusion into # +# GNU Autoconf as AC_PROG_SED. When it is available in # +# a released version of Autoconf we should remove this # +# macro and use it instead. # +############################################################ + +m4_defun([AC_PROG_SED], +[AC_MSG_CHECKING([for a sed that does not truncate output]) +AC_CACHE_VAL(lt_cv_path_SED, +[# Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for lt_ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" + fi + done + done +done +IFS=$as_save_IFS +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && continue + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed + fi + done +done +]) +SED=$lt_cv_path_SED +AC_SUBST([SED]) +AC_MSG_RESULT([$SED]) +])#AC_PROG_SED +])#m4_ifndef + +# Old name: +AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([LT_AC_PROG_SED], []) + + +# _LT_CHECK_SHELL_FEATURES +# ------------------------ +# Find out whether the shell is Bourne or XSI compatible, +# or has some other useful features. +m4_defun([_LT_CHECK_SHELL_FEATURES], +[AC_MSG_CHECKING([whether the shell understands some XSI constructs]) +# Try some XSI features +xsi_shell=no +( _lt_dummy="a/b/c" + test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ + = c,a/b,b/c, \ + && eval 'test $(( 1 + 1 )) -eq 2 \ + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ + && xsi_shell=yes +AC_MSG_RESULT([$xsi_shell]) +_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell']) + +AC_MSG_CHECKING([whether the shell understands "+="]) +lt_shell_append=no +( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \ + >/dev/null 2>&1 \ + && lt_shell_append=yes +AC_MSG_RESULT([$lt_shell_append]) +_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append']) + +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + lt_unset=unset +else + lt_unset=false +fi +_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl + +# test EBCDIC or ASCII +case `echo X|tr X '\101'` in + A) # ASCII based system + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr + lt_SP2NL='tr \040 \012' + lt_NL2SP='tr \015\012 \040\040' + ;; + *) # EBCDIC based system + lt_SP2NL='tr \100 \n' + lt_NL2SP='tr \r\n \100\100' + ;; +esac +_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl +_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl +])# _LT_CHECK_SHELL_FEATURES + + +# _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY) +# ------------------------------------------------------ +# In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and +# '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY. +m4_defun([_LT_PROG_FUNCTION_REPLACE], +[dnl { +sed -e '/^$1 ()$/,/^} # $1 /c\ +$1 ()\ +{\ +m4_bpatsubsts([$2], [$], [\\], [^\([ ]\)], [\\\1]) +} # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: +]) + + +# _LT_PROG_REPLACE_SHELLFNS +# ------------------------- +# Replace existing portable implementations of several shell functions with +# equivalent extended shell implementations where those features are available.. +m4_defun([_LT_PROG_REPLACE_SHELLFNS], +[if test x"$xsi_shell" = xyes; then + _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl + case ${1} in + */*) func_dirname_result="${1%/*}${2}" ;; + * ) func_dirname_result="${3}" ;; + esac]) + + _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl + func_basename_result="${1##*/}"]) + + _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl + case ${1} in + */*) func_dirname_result="${1%/*}${2}" ;; + * ) func_dirname_result="${3}" ;; + esac + func_basename_result="${1##*/}"]) + + _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are + # positional parameters, so assign one to ordinary parameter first. + func_stripname_result=${3} + func_stripname_result=${func_stripname_result#"${1}"} + func_stripname_result=${func_stripname_result%"${2}"}]) + + _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl + func_split_long_opt_name=${1%%=*} + func_split_long_opt_arg=${1#*=}]) + + _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl + func_split_short_opt_arg=${1#??} + func_split_short_opt_name=${1%"$func_split_short_opt_arg"}]) + + _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl + case ${1} in + *.lo) func_lo2o_result=${1%.lo}.${objext} ;; + *) func_lo2o_result=${1} ;; + esac]) + + _LT_PROG_FUNCTION_REPLACE([func_xform], [ func_xform_result=${1%.*}.lo]) + + _LT_PROG_FUNCTION_REPLACE([func_arith], [ func_arith_result=$(( $[*] ))]) + + _LT_PROG_FUNCTION_REPLACE([func_len], [ func_len_result=${#1}]) +fi + +if test x"$lt_shell_append" = xyes; then + _LT_PROG_FUNCTION_REPLACE([func_append], [ eval "${1}+=\\${2}"]) + + _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl + func_quote_for_eval "${2}" +dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \ + eval "${1}+=\\\\ \\$func_quote_for_eval_result"]) + + # Save a `func_append' function call where possible by direct use of '+=' + sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +else + # Save a `func_append' function call even when '+=' is not available + sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +fi + +if test x"$_lt_function_replace_fail" = x":"; then + AC_MSG_WARN([Unable to substitute extended shell functions in $ofile]) +fi +]) + +# _LT_PATH_CONVERSION_FUNCTIONS +# ----------------------------- +# Determine which file name conversion functions should be used by +# func_to_host_file (and, implicitly, by func_to_host_path). These are needed +# for certain cross-compile configurations and native mingw. +m4_defun([_LT_PATH_CONVERSION_FUNCTIONS], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +AC_MSG_CHECKING([how to convert $build file names to $host format]) +AC_CACHE_VAL(lt_cv_to_host_file_cmd, +[case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 + ;; + esac + ;; + *-*-cygwin* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin + ;; + esac + ;; + * ) # unhandled hosts (and "normal" native builds) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; +esac +]) +to_host_file_cmd=$lt_cv_to_host_file_cmd +AC_MSG_RESULT([$lt_cv_to_host_file_cmd]) +_LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd], + [0], [convert $build file names to $host format])dnl + +AC_MSG_CHECKING([how to convert $build file names to toolchain format]) +AC_CACHE_VAL(lt_cv_to_tool_file_cmd, +[#assume ordinary cross tools, or native build. +lt_cv_to_tool_file_cmd=func_convert_file_noop +case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 + ;; + esac + ;; +esac +]) +to_tool_file_cmd=$lt_cv_to_tool_file_cmd +AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) +_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], + [0], [convert $build files to toolchain format])dnl +])# _LT_PATH_CONVERSION_FUNCTIONS diff --git a/tizen/distrib/remote/common/spice-common/m4/ltoptions.m4 b/tizen/distrib/remote/common/spice-common/m4/ltoptions.m4 new file mode 100644 index 0000000..5d9acd8 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/m4/ltoptions.m4 @@ -0,0 +1,384 @@ +# Helper functions for option handling. -*- Autoconf -*- +# +# Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# Written by Gary V. Vaughan, 2004 +# +# This file 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. + +# serial 7 ltoptions.m4 + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) + + +# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) +# ------------------------------------------ +m4_define([_LT_MANGLE_OPTION], +[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) + + +# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) +# --------------------------------------- +# Set option OPTION-NAME for macro MACRO-NAME, and if there is a +# matching handler defined, dispatch to it. Other OPTION-NAMEs are +# saved as a flag. +m4_define([_LT_SET_OPTION], +[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl +m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), + _LT_MANGLE_DEFUN([$1], [$2]), + [m4_warning([Unknown $1 option `$2'])])[]dnl +]) + + +# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) +# ------------------------------------------------------------ +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +m4_define([_LT_IF_OPTION], +[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) + + +# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) +# ------------------------------------------------------- +# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME +# are set. +m4_define([_LT_UNLESS_OPTIONS], +[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), + [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), + [m4_define([$0_found])])])[]dnl +m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 +])[]dnl +]) + + +# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) +# ---------------------------------------- +# OPTION-LIST is a space-separated list of Libtool options associated +# with MACRO-NAME. If any OPTION has a matching handler declared with +# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about +# the unknown option and exit. +m4_defun([_LT_SET_OPTIONS], +[# Set options +m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), + [_LT_SET_OPTION([$1], _LT_Option)]) + +m4_if([$1],[LT_INIT],[ + dnl + dnl Simply set some default values (i.e off) if boolean options were not + dnl specified: + _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no + ]) + _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no + ]) + dnl + dnl If no reference was made to various pairs of opposing options, then + dnl we run the default mode handler for the pair. For example, if neither + dnl `shared' nor `disable-shared' was passed, we enable building of shared + dnl archives by default: + _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) + _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) + _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) + _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], + [_LT_ENABLE_FAST_INSTALL]) + ]) +])# _LT_SET_OPTIONS + + +## --------------------------------- ## +## Macros to handle LT_INIT options. ## +## --------------------------------- ## + +# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) +# ----------------------------------------- +m4_define([_LT_MANGLE_DEFUN], +[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) + + +# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) +# ----------------------------------------------- +m4_define([LT_OPTION_DEFINE], +[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl +])# LT_OPTION_DEFINE + + +# dlopen +# ------ +LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes +]) + +AU_DEFUN([AC_LIBTOOL_DLOPEN], +[_LT_SET_OPTION([LT_INIT], [dlopen]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you +put the `dlopen' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) + + +# win32-dll +# --------- +# Declare package support for building win32 dll's. +LT_OPTION_DEFINE([LT_INIT], [win32-dll], +[enable_win32_dll=yes + +case $host in +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) + AC_CHECK_TOOL(AS, as, false) + AC_CHECK_TOOL(DLLTOOL, dlltool, false) + AC_CHECK_TOOL(OBJDUMP, objdump, false) + ;; +esac + +test -z "$AS" && AS=as +_LT_DECL([], [AS], [1], [Assembler program])dnl + +test -z "$DLLTOOL" && DLLTOOL=dlltool +_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl + +test -z "$OBJDUMP" && OBJDUMP=objdump +_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl +])# win32-dll + +AU_DEFUN([AC_LIBTOOL_WIN32_DLL], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +_LT_SET_OPTION([LT_INIT], [win32-dll]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you +put the `win32-dll' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) + + +# _LT_ENABLE_SHARED([DEFAULT]) +# ---------------------------- +# implement the --enable-shared flag, and supports the `shared' and +# `disable-shared' LT_INIT options. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +m4_define([_LT_ENABLE_SHARED], +[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl +AC_ARG_ENABLE([shared], + [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], + [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) + + _LT_DECL([build_libtool_libs], [enable_shared], [0], + [Whether or not to build shared libraries]) +])# _LT_ENABLE_SHARED + +LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) +LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) + +# Old names: +AC_DEFUN([AC_ENABLE_SHARED], +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) +]) + +AC_DEFUN([AC_DISABLE_SHARED], +[_LT_SET_OPTION([LT_INIT], [disable-shared]) +]) + +AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) +AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_ENABLE_SHARED], []) +dnl AC_DEFUN([AM_DISABLE_SHARED], []) + + + +# _LT_ENABLE_STATIC([DEFAULT]) +# ---------------------------- +# implement the --enable-static flag, and support the `static' and +# `disable-static' LT_INIT options. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +m4_define([_LT_ENABLE_STATIC], +[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl +AC_ARG_ENABLE([static], + [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], + [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_static=]_LT_ENABLE_STATIC_DEFAULT) + + _LT_DECL([build_old_libs], [enable_static], [0], + [Whether or not to build static libraries]) +])# _LT_ENABLE_STATIC + +LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) +LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) + +# Old names: +AC_DEFUN([AC_ENABLE_STATIC], +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) +]) + +AC_DEFUN([AC_DISABLE_STATIC], +[_LT_SET_OPTION([LT_INIT], [disable-static]) +]) + +AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) +AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_ENABLE_STATIC], []) +dnl AC_DEFUN([AM_DISABLE_STATIC], []) + + + +# _LT_ENABLE_FAST_INSTALL([DEFAULT]) +# ---------------------------------- +# implement the --enable-fast-install flag, and support the `fast-install' +# and `disable-fast-install' LT_INIT options. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +m4_define([_LT_ENABLE_FAST_INSTALL], +[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl +AC_ARG_ENABLE([fast-install], + [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], + [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) + +_LT_DECL([fast_install], [enable_fast_install], [0], + [Whether or not to optimize for fast installation])dnl +])# _LT_ENABLE_FAST_INSTALL + +LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) +LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) + +# Old names: +AU_DEFUN([AC_ENABLE_FAST_INSTALL], +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you put +the `fast-install' option into LT_INIT's first parameter.]) +]) + +AU_DEFUN([AC_DISABLE_FAST_INSTALL], +[_LT_SET_OPTION([LT_INIT], [disable-fast-install]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you put +the `disable-fast-install' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) +dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) + + +# _LT_WITH_PIC([MODE]) +# -------------------- +# implement the --with-pic flag, and support the `pic-only' and `no-pic' +# LT_INIT options. +# MODE is either `yes' or `no'. If omitted, it defaults to `both'. +m4_define([_LT_WITH_PIC], +[AC_ARG_WITH([pic], + [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@], + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], + [lt_p=${PACKAGE-default} + case $withval in + yes|no) pic_mode=$withval ;; + *) + pic_mode=default + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for lt_pkg in $withval; do + IFS="$lt_save_ifs" + if test "X$lt_pkg" = "X$lt_p"; then + pic_mode=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [pic_mode=default]) + +test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) + +_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl +])# _LT_WITH_PIC + +LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) +LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) + +# Old name: +AU_DEFUN([AC_LIBTOOL_PICMODE], +[_LT_SET_OPTION([LT_INIT], [pic-only]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you +put the `pic-only' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) + +## ----------------- ## +## LTDL_INIT Options ## +## ----------------- ## + +m4_define([_LTDL_MODE], []) +LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], + [m4_define([_LTDL_MODE], [nonrecursive])]) +LT_OPTION_DEFINE([LTDL_INIT], [recursive], + [m4_define([_LTDL_MODE], [recursive])]) +LT_OPTION_DEFINE([LTDL_INIT], [subproject], + [m4_define([_LTDL_MODE], [subproject])]) + +m4_define([_LTDL_TYPE], []) +LT_OPTION_DEFINE([LTDL_INIT], [installable], + [m4_define([_LTDL_TYPE], [installable])]) +LT_OPTION_DEFINE([LTDL_INIT], [convenience], + [m4_define([_LTDL_TYPE], [convenience])]) diff --git a/tizen/distrib/remote/common/spice-common/m4/ltsugar.m4 b/tizen/distrib/remote/common/spice-common/m4/ltsugar.m4 new file mode 100644 index 0000000..9000a05 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/m4/ltsugar.m4 @@ -0,0 +1,123 @@ +# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- +# +# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. +# Written by Gary V. Vaughan, 2004 +# +# This file 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. + +# serial 6 ltsugar.m4 + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) + + +# lt_join(SEP, ARG1, [ARG2...]) +# ----------------------------- +# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their +# associated separator. +# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier +# versions in m4sugar had bugs. +m4_define([lt_join], +[m4_if([$#], [1], [], + [$#], [2], [[$2]], + [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) +m4_define([_lt_join], +[m4_if([$#$2], [2], [], + [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) + + +# lt_car(LIST) +# lt_cdr(LIST) +# ------------ +# Manipulate m4 lists. +# These macros are necessary as long as will still need to support +# Autoconf-2.59 which quotes differently. +m4_define([lt_car], [[$1]]) +m4_define([lt_cdr], +[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], + [$#], 1, [], + [m4_dquote(m4_shift($@))])]) +m4_define([lt_unquote], $1) + + +# lt_append(MACRO-NAME, STRING, [SEPARATOR]) +# ------------------------------------------ +# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'. +# Note that neither SEPARATOR nor STRING are expanded; they are appended +# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). +# No SEPARATOR is output if MACRO-NAME was previously undefined (different +# than defined and empty). +# +# This macro is needed until we can rely on Autoconf 2.62, since earlier +# versions of m4sugar mistakenly expanded SEPARATOR but not STRING. +m4_define([lt_append], +[m4_define([$1], + m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) + + + +# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) +# ---------------------------------------------------------- +# Produce a SEP delimited list of all paired combinations of elements of +# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list +# has the form PREFIXmINFIXSUFFIXn. +# Needed until we can rely on m4_combine added in Autoconf 2.62. +m4_define([lt_combine], +[m4_if(m4_eval([$# > 3]), [1], + [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl +[[m4_foreach([_Lt_prefix], [$2], + [m4_foreach([_Lt_suffix], + ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, + [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) + + +# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) +# ----------------------------------------------------------------------- +# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited +# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. +m4_define([lt_if_append_uniq], +[m4_ifdef([$1], + [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], + [lt_append([$1], [$2], [$3])$4], + [$5])], + [lt_append([$1], [$2], [$3])$4])]) + + +# lt_dict_add(DICT, KEY, VALUE) +# ----------------------------- +m4_define([lt_dict_add], +[m4_define([$1($2)], [$3])]) + + +# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) +# -------------------------------------------- +m4_define([lt_dict_add_subkey], +[m4_define([$1($2:$3)], [$4])]) + + +# lt_dict_fetch(DICT, KEY, [SUBKEY]) +# ---------------------------------- +m4_define([lt_dict_fetch], +[m4_ifval([$3], + m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), + m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) + + +# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) +# ----------------------------------------------------------------- +m4_define([lt_if_dict_fetch], +[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], + [$5], + [$6])]) + + +# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) +# -------------------------------------------------------------- +m4_define([lt_dict_filter], +[m4_if([$5], [], [], + [lt_join(m4_quote(m4_default([$4], [[, ]])), + lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), + [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl +]) diff --git a/tizen/distrib/remote/common/spice-common/m4/ltversion.m4 b/tizen/distrib/remote/common/spice-common/m4/ltversion.m4 new file mode 100644 index 0000000..07a8602 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/m4/ltversion.m4 @@ -0,0 +1,23 @@ +# ltversion.m4 -- version numbers -*- Autoconf -*- +# +# Copyright (C) 2004 Free Software Foundation, Inc. +# Written by Scott James Remnant, 2004 +# +# This file 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. + +# @configure_input@ + +# serial 3337 ltversion.m4 +# This file is part of GNU Libtool + +m4_define([LT_PACKAGE_VERSION], [2.4.2]) +m4_define([LT_PACKAGE_REVISION], [1.3337]) + +AC_DEFUN([LTVERSION_VERSION], +[macro_version='2.4.2' +macro_revision='1.3337' +_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) +_LT_DECL(, macro_revision, 0) +]) diff --git a/tizen/distrib/remote/common/spice-common/m4/lt~obsolete.m4 b/tizen/distrib/remote/common/spice-common/m4/lt~obsolete.m4 new file mode 100644 index 0000000..c573da9 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/m4/lt~obsolete.m4 @@ -0,0 +1,98 @@ +# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- +# +# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. +# Written by Scott James Remnant, 2004. +# +# This file 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. + +# serial 5 lt~obsolete.m4 + +# These exist entirely to fool aclocal when bootstrapping libtool. +# +# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN) +# which have later been changed to m4_define as they aren't part of the +# exported API, or moved to Autoconf or Automake where they belong. +# +# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN +# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us +# using a macro with the same name in our local m4/libtool.m4 it'll +# pull the old libtool.m4 in (it doesn't see our shiny new m4_define +# and doesn't know about Autoconf macros at all.) +# +# So we provide this file, which has a silly filename so it's always +# included after everything else. This provides aclocal with the +# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything +# because those macros already exist, or will be overwritten later. +# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. +# +# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. +# Yes, that means every name once taken will need to remain here until +# we give up compatibility with versions before 1.7, at which point +# we need to keep only those names which we still refer to. + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) + +m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) +m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) +m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) +m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) +m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) +m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) +m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) +m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) +m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) +m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) +m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) +m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) +m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) +m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) +m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) +m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) +m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) +m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) +m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) +m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) +m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) +m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) +m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) +m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) +m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) +m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) +m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) +m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) +m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) +m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) +m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) +m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) +m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) +m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) +m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) +m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) +m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) +m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) +m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) +m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) +m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) +m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) +m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) +m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) +m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) +m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) +m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) +m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) +m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) +m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) +m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) +m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) +m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) +m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) diff --git a/tizen/distrib/remote/common/spice-common/python_modules/Makefile.am b/tizen/distrib/remote/common/spice-common/python_modules/Makefile.am new file mode 100644 index 0000000..50e1a71 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/python_modules/Makefile.am @@ -0,0 +1,16 @@ +NULL = + +PYTHON_MODULES = \ + __init__.py \ + codegen.py \ + demarshal.py \ + marshal.py \ + ptypes.py \ + spice_parser.py \ + $(NULL) + +EXTRA_DIST = $(PYTHON_MODULES) + +DISTCLEANFILES = *.pyc + +-include $(top_srcdir)/git.mk diff --git a/tizen/distrib/remote/common/spice-common/python_modules/Makefile.in b/tizen/distrib/remote/common/spice-common/python_modules/Makefile.in new file mode 100644 index 0000000..d2952bb --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/python_modules/Makefile.in @@ -0,0 +1,422 @@ +# Makefile.in generated by automake 1.13.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2012 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@ +VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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 = python_modules +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.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 = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GL_CFLAGS = @GL_CFLAGS@ +GL_LIBS = @GL_LIBS@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ +PIXMAN_LIBS = @PIXMAN_LIBS@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PROTOCOL_CFLAGS = @PROTOCOL_CFLAGS@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SMARTCARD_CFLAGS = @SMARTCARD_CFLAGS@ +SMARTCARD_LIBS = @SMARTCARD_LIBS@ +STRIP = @STRIP@ +VERSION = @VERSION@ +XMKMF = @XMKMF@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +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@ +subdirs = @subdirs@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +NULL = +PYTHON_MODULES = \ + __init__.py \ + codegen.py \ + demarshal.py \ + marshal.py \ + ptypes.py \ + spice_parser.py \ + $(NULL) + +EXTRA_DIST = $(PYTHON_MODULES) +DISTCLEANFILES = *.pyc +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(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) --foreign python_modules/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign python_modules/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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +tags TAGS: + +ctags CTAGS: + +cscope cscopelist: + + +distdir: $(DISTFILES) + @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 +installdirs: +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) + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool 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-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-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 mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + cscopelist-am ctags-am distclean distclean-generic \ + distclean-libtool 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-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags-am uninstall uninstall-am + + +-include $(top_srcdir)/git.mk + +# 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: diff --git a/tizen/distrib/remote/common/spice-common/python_modules/__init__.py b/tizen/distrib/remote/common/spice-common/python_modules/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tizen/distrib/remote/common/spice-common/python_modules/codegen.py b/tizen/distrib/remote/common/spice-common/python_modules/codegen.py new file mode 100644 index 0000000..009cf95 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/python_modules/codegen.py @@ -0,0 +1,374 @@ +from __future__ import with_statement +from cStringIO import StringIO + +def camel_to_underscores(s, upper = False): + res = "" + for i in range(len(s)): + c = s[i] + if i > 0 and c.isupper(): + res = res + "_" + if upper: + res = res + c.upper() + else: + res = res + c.lower() + return res + +def underscores_to_camel(s): + res = "" + do_upper = True + for i in range(len(s)): + c = s[i] + if c == "_": + do_upper = True + else: + if do_upper: + res = res + c.upper() + else: + res = res + c + do_upper = False + return res + +proto_prefix = "Temp" + +def set_prefix(prefix): + global proto_prefix + global proto_prefix_upper + global proto_prefix_lower + proto_prefix = prefix + proto_prefix_upper = prefix.upper() + proto_prefix_lower = prefix.lower() + +def prefix_underscore_upper(*args): + s = proto_prefix_upper + for arg in args: + s = s + "_" + arg + return s + +def prefix_underscore_lower(*args): + s = proto_prefix_lower + for arg in args: + s = s + "_" + arg + return s + +def prefix_camel(*args): + s = proto_prefix + for arg in args: + s = s + underscores_to_camel(arg) + return s + +def increment_identifier(idf): + v = idf[-1:] + if v.isdigit(): + return idf[:-1] + str(int(v) + 1) + return idf + "2" + +def sum_array(array): + if len(array) == 0: + return 0 + return " + ".join(array) + +class CodeWriter: + def __init__(self): + self.out = StringIO() + self.contents = [self.out] + self.indentation = 0 + self.at_line_start = True + self.indexes = ["i", "j", "k", "ii", "jj", "kk"] + self.current_index = 0 + self.generated = {} + self.vars = [] + self.has_error_check = False + self.options = {} + self.function_helper_writer = None + + def set_option(self, opt, value = True): + self.options[opt] = value + + def has_option(self, opt): + return self.options.has_key(opt) + + def set_is_generated(self, kind, name): + if not self.generated.has_key(kind): + v = {} + self.generated[kind] = v + else: + v = self.generated[kind] + v[name] = 1 + + def is_generated(self, kind, name): + if not self.generated.has_key(kind): + return False + v = self.generated[kind] + return v.has_key(name) + + def getvalue(self): + strs = map(lambda writer: writer.getvalue(), self.contents) + return "".join(strs) + + def get_subwriter(self): + writer = CodeWriter() + self.contents.append(writer) + self.out = StringIO() + self.contents.append(self.out) + writer.indentation = self.indentation + writer.at_line_start = self.at_line_start + writer.generated = self.generated + writer.options = self.options + writer.public_prefix = self.public_prefix + + return writer + + def write(self, s): + # Ensure its a string + s = str(s) + + if len(s) == 0: + return + + if self.at_line_start: + for i in range(self.indentation): + self.out.write(" ") + self.at_line_start = False + self.out.write(s) + return self + + def newline(self): + self.out.write("\n") + self.at_line_start = True + return self + + def writeln(self, s): + self.write(s) + self.newline() + return self + + def label(self, s): + self.indentation = self.indentation - 1 + self.write(s + ":") + self.indentation = self.indentation + 1 + self.newline() + + def statement(self, s): + self.write(s) + self.write(";") + self.newline() + return self + + def assign(self, var, val): + self.write("%s = %s" % (var, val)) + self.write(";") + self.newline() + return self + + def increment(self, var, val): + self.write("%s += %s" % (var, val)) + self.write(";") + self.newline() + return self + + def comment(self, str): + self.write("/* " + str + " */") + return self + + def todo(self, str): + self.comment("TODO: *** %s ***" % str).newline() + return self + + def error_check(self, check, label = "error"): + self.has_error_check = True + with self.block("if (SPICE_UNLIKELY(%s))" % check): + if self.has_option("print_error"): + self.statement('printf("%%s: Caught error - %s", __PRETTY_FUNCTION__)' % check) + if self.has_option("assert_on_error"): + self.statement("assert(0)") + self.statement("goto %s" % label) + + def indent(self): + self.indentation += 4 + + def unindent(self): + self.indentation -= 4 + if self.indentation < 0: + self.indenttation = 0 + + def begin_block(self, prefix= "", comment = ""): + if len(prefix) > 0: + self.write(prefix) + if self.at_line_start: + self.write("{") + else: + self.write(" {") + if len(comment) > 0: + self.write(" ") + self.comment(comment) + self.newline() + self.indent() + + def end_block(self, semicolon=False, newline=True): + self.unindent() + if self.at_line_start: + self.write("}") + else: + self.write(" }") + if semicolon: + self.write(";") + if newline: + self.newline() + + class Block: + def __init__(self, writer, semicolon, newline): + self.writer = writer + self.semicolon = semicolon + self.newline = newline + + def __enter__(self): + return self.writer.get_subwriter() + + def __exit__(self, exc_type, exc_value, traceback): + self.writer.end_block(self.semicolon, self.newline) + + class PartialBlock: + def __init__(self, writer, scope, semicolon, newline): + self.writer = writer + self.scope = scope + self.semicolon = semicolon + self.newline = newline + + def __enter__(self): + return self.scope + + def __exit__(self, exc_type, exc_value, traceback): + self.writer.end_block(self.semicolon, self.newline) + + class NoBlock: + def __init__(self, scope): + self.scope = scope + + def __enter__(self): + return self.scope + + def __exit__(self, exc_type, exc_value, traceback): + pass + + def block(self, prefix= "", comment = "", semicolon=False, newline=True): + self.begin_block(prefix, comment) + return self.Block(self, semicolon, newline) + + def partial_block(self, scope, semicolon=False, newline=True): + return self.PartialBlock(self, scope, semicolon, newline) + + def no_block(self, scope): + return self.NoBlock(scope) + + def optional_block(self, scope): + if scope != None: + return self.NoBlock(scope) + return self.block() + + def for_loop(self, index, limit): + return self.block("for (%s = 0; %s < %s; %s++)" % (index, index, limit, index)) + + def while_loop(self, expr): + return self.block("while (%s)" % (expr)) + + def if_block(self, check, elseif=False, newline=True): + s = "if (%s)" % (check) + if elseif: + s = " else " + s + self.begin_block(s, "") + return self.Block(self, False, newline) + + def variable_defined(self, name): + for n in self.vars: + if n == name: + return True + return False + + def variable_def(self, ctype, *names): + for n in names: + # Strip away initialization + i = n.find("=") + if i != -1: + n = n[0:i] + self.vars.append(n.strip()) + # only add space for non-pointer types + if ctype[-1] == "*": + ctype = ctype[:-1].rstrip() + self.writeln("%s *%s;"%(ctype, ", *".join(names))) + else: + self.writeln("%s %s;"%(ctype, ", ".join(names))) + return self + + def function_helper(self): + if self.function_helper_writer != None: + writer = self.function_helper_writer.get_subwriter() + self.function_helper_writer.newline() + else: + writer = self.get_subwriter() + return writer + + def function(self, name, return_type, args, static = False): + self.has_error_check = False + self.function_helper_writer = self.get_subwriter() + if static: + self.write("static ") + self.write(return_type) + self.write(" %s(%s)"% (name, args)).newline() + self.begin_block() + self.function_variables_writer = self.get_subwriter() + self.function_variables = {} + return self.function_variables_writer + + def macro(self, name, args, define): + self.write("#define %s(%s) %s" % (name, args, define)).newline() + + def ifdef(self, name): + indentation = self.indentation + self.indentation = 0; + self.write("#ifdef %s" % (name)).newline() + self.indentation = indentation + + def ifdef_else(self, name): + indentation = self.indentation + self.indentation = 0; + self.write("#else /* %s */" % (name)).newline() + self.indentation = indentation + + def endif(self, name): + indentation = self.indentation + self.indentation = 0; + self.write("#endif /* %s */" % (name)).newline() + self.indentation = indentation + + def add_function_variable(self, ctype, name): + if self.function_variables.has_key(name): + assert(self.function_variables[name] == ctype) + else: + self.function_variables[name] = ctype + self.function_variables_writer.variable_def(ctype, name) + + def pop_index(self): + index = self.indexes[self.current_index] + self.current_index = self.current_index + 1 + self.add_function_variable("uint32_t", index) + return index + + def push_index(self): + self.current_index = self.current_index - 1 + + class Index: + def __init__(self, writer, val): + self.writer = writer + self.val = val + + def __enter__(self): + return self.val + + def __exit__(self, exc_type, exc_value, traceback): + self.writer.push_index() + + def index(self, no_block = False): + if no_block: + return self.no_block(None) + val = self.pop_index() + return self.Index(self, val) diff --git a/tizen/distrib/remote/common/spice-common/python_modules/demarshal.py b/tizen/distrib/remote/common/spice-common/python_modules/demarshal.py new file mode 100644 index 0000000..cf48d74 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/python_modules/demarshal.py @@ -0,0 +1,1257 @@ +from __future__ import with_statement +import ptypes +import codegen + +# The handling of sizes is somewhat complex, as there are several types of size: +# * nw_size +# This is the network size, i.e. the number of bytes on the network +# +# * mem_size +# The total amount of memory used for the representation of something inside +# spice. This is generally sizeof(C struct), but can be larger if for instance +# the type has a variable size array at the end or has a pointer in it that +# points to another data chunk (which will be allocated after the main +# data chunk). This is essentially how much memory you need to allocate to +# contain the data type. +# +# * extra_size +# This is the size of anything that is not part of the containing structure. +# For instance, a primitive (say uint32_t) member has no extra size, because +# when allocating its part of the sizeof(MessageStructType) struct. However +# a variable array can be places at the end of a structure (@end) and its +# size is then extra_size. Note that this extra_size is included in the +# mem_size of the enclosing struct, and even if you request the mem_size +# of the array itself. However, extra_size is typically not requested +# when the full mem_size is also requested. +# +# extra sizes come in two flavours. contains_extra_size means that the item +# has a normal presence in the parent container, but has some additional +# extra_size it references. For instance via a pointer somewhere in it. +# There is also is_extra_size(). This indicates that the whole elements +# "normal" mem size should be considered extra size for the container, so +# when computing the parent mem_size you should add the mem_size of this +# part as extra_size + +def write_parser_helpers(writer): + if writer.is_generated("helper", "demarshaller"): + return + + writer.set_is_generated("helper", "demarshaller") + + writer = writer.function_helper() + + writer.writeln("#ifdef WORDS_BIGENDIAN") + for size in [8, 16, 32, 64]: + for sign in ["", "u"]: + utype = "uint%d" % (size) + type = "%sint%d" % (sign, size) + swap = "SPICE_BYTESWAP%d" % size + if size == 8: + writer.macro("read_%s" % type, "ptr", "(*((%s_t *)(ptr)))" % type) + writer.macro("write_%s" % type, "ptr, val", "*(%s_t *)(ptr) = val" % (type)) + else: + writer.macro("read_%s" % type, "ptr", "((%s_t)%s(*((%s_t *)(ptr))))" % (type, swap, utype)) + writer.macro("write_%s" % type, "ptr, val", "*(%s_t *)(ptr) = %s((%s_t)val)" % (utype, swap, utype)) + writer.writeln("#else") + for size in [8, 16, 32, 64]: + for sign in ["", "u"]: + type = "%sint%d" % (sign, size) + writer.macro("read_%s" % type, "ptr", "(*((%s_t *)(ptr)))" % type) + writer.macro("write_%s" % type, "ptr, val", "(*((%s_t *)(ptr))) = val" % type) + writer.writeln("#endif") + + for size in [8, 16, 32, 64]: + for sign in ["", "u"]: + writer.newline() + type = "%sint%d" % (sign, size) + ctype = "%s_t" % type + scope = writer.function("SPICE_GNUC_UNUSED consume_%s" % type, ctype, "uint8_t **ptr", True) + scope.variable_def(ctype, "val") + writer.assign("val", "read_%s(*ptr)" % type) + writer.increment("*ptr", size / 8) + writer.statement("return val") + writer.end_block() + + writer.newline() + writer.statement("typedef struct PointerInfo PointerInfo") + writer.statement("typedef void (*message_destructor_t)(uint8_t *message)") + writer.statement("typedef uint8_t * (*parse_func_t)(uint8_t *message_start, uint8_t *message_end, uint8_t *struct_data, PointerInfo *ptr_info, int minor)") + writer.statement("typedef uint8_t * (*parse_msg_func_t)(uint8_t *message_start, uint8_t *message_end, int minor, size_t *size_out, message_destructor_t *free_message)") + writer.statement("typedef uint8_t * (*spice_parse_channel_func_t)(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message)") + + writer.newline() + writer.begin_block("struct PointerInfo") + writer.variable_def("uint64_t", "offset") + writer.variable_def("parse_func_t", "parse") + writer.variable_def("void **", "dest") + writer.variable_def("uint32_t", "nelements") + writer.end_block(semicolon=True) + +def write_read_primitive(writer, start, container, name, scope): + m = container.lookup_member(name) + assert(m.is_primitive()) + writer.assign("pos", start + " + " + container.get_nw_offset(m, "", "__nw_size")) + writer.error_check("pos + %s > message_end" % m.member_type.get_fixed_nw_size()) + + var = "%s__value" % (name.replace(".", "_")) + if not scope.variable_defined(var): + scope.variable_def(m.member_type.c_type(), var) + writer.assign(var, "read_%s(pos)" % (m.member_type.primitive_type())) + return var + +def write_write_primitive(writer, start, container, name, val): + m = container.lookup_member(name) + assert(m.is_primitive()) + writer.assign("pos", start + " + " + container.get_nw_offset(m, "", "__nw_size")) + + var = "%s__value" % (name) + writer.statement("write_%s(pos, %s)" % (m.member_type.primitive_type(), val)) + return var + +def write_read_primitive_item(writer, item, scope): + assert(item.type.is_primitive()) + writer.assign("pos", item.get_position()) + writer.error_check("pos + %s > message_end" % item.type.get_fixed_nw_size()) + var = "%s__value" % (item.subprefix.replace(".", "_")) + scope.variable_def(item.type.c_type(), var) + writer.assign(var, "read_%s(pos)" % (item.type.primitive_type())) + return var + +class ItemInfo: + def __init__(self, type, prefix, position): + self.type = type + self.prefix = prefix + self.subprefix = prefix + self.position = position + self.member = None + + def nw_size(self): + return self.prefix + "__nw_size" + + def mem_size(self): + return self.prefix + "__mem_size" + + def extra_size(self): + return self.prefix + "__extra_size" + + def get_position(self): + return self.position + +class MemberItemInfo(ItemInfo): + def __init__(self, member, container, start): + if not member.is_switch(): + self.type = member.member_type + self.prefix = member.name + self.subprefix = member.name + self.position = "(%s + %s)" % (start, container.get_nw_offset(member, "", "__nw_size")) + self.member = member + +def write_validate_switch_member(writer, container, switch_member, scope, parent_scope, start, + want_nw_size, want_mem_size, want_extra_size): + var = container.lookup_member(switch_member.variable) + var_type = var.member_type + + v = write_read_primitive(writer, start, container, switch_member.variable, parent_scope) + + item = MemberItemInfo(switch_member, container, start) + + first = True + for c in switch_member.cases: + check = c.get_check(v, var_type) + m = c.member + with writer.if_block(check, not first, False) as if_scope: + item.type = c.member.member_type + item.subprefix = item.prefix + "_" + m.name + item.member = c.member + + all_as_extra_size = m.is_extra_size() and want_extra_size + if not want_mem_size and all_as_extra_size and not scope.variable_defined(item.mem_size()): + scope.variable_def("uint32_t", item.mem_size()) + + sub_want_mem_size = want_mem_size or all_as_extra_size + sub_want_extra_size = want_extra_size and not all_as_extra_size + + write_validate_item(writer, container, item, if_scope, scope, start, + want_nw_size, sub_want_mem_size, sub_want_extra_size) + + if all_as_extra_size: + writer.assign(item.extra_size(), item.mem_size()) + + first = False + + with writer.block(" else"): + if want_nw_size: + writer.assign(item.nw_size(), 0) + if want_mem_size: + writer.assign(item.mem_size(), 0) + if want_extra_size: + writer.assign(item.extra_size(), 0) + + writer.newline() + +def write_validate_struct_function(writer, struct): + validate_function = "validate_%s" % struct.c_type() + if writer.is_generated("validator", validate_function): + return validate_function + + writer.set_is_generated("validator", validate_function) + writer = writer.function_helper() + scope = writer.function(validate_function, "static intptr_t", "uint8_t *message_start, uint8_t *message_end, uint64_t offset, int minor") + scope.variable_def("uint8_t *", "start = message_start + offset") + scope.variable_def("SPICE_GNUC_UNUSED uint8_t *", "pos") + scope.variable_def("size_t", "mem_size", "nw_size") + num_pointers = struct.get_num_pointers() + if num_pointers != 0: + scope.variable_def("SPICE_GNUC_UNUSED intptr_t", "ptr_size") + + writer.newline() + with writer.if_block("offset == 0"): + writer.statement("return 0") + + writer.newline() + writer.error_check("start >= message_end") + + writer.newline() + write_validate_container(writer, None, struct, "start", scope, True, True, False) + + writer.newline() + writer.comment("Check if struct fits in reported side").newline() + writer.error_check("start + nw_size > message_end") + + writer.statement("return mem_size") + + writer.newline() + writer.label("error") + writer.statement("return -1") + + writer.end_block() + + return validate_function + +def write_validate_pointer_item(writer, container, item, scope, parent_scope, start, + want_nw_size, want_mem_size, want_extra_size): + if want_nw_size: + writer.assign(item.nw_size(), item.type.get_fixed_nw_size()) + + if want_mem_size or want_extra_size: + target_type = item.type.target_type + + v = write_read_primitive_item(writer, item, scope) + if item.type.has_attr("nonnull"): + writer.error_check("%s == 0" % v) + + # pointer target is struct, or array of primitives + # if array, need no function check + + if target_type.is_array(): + writer.error_check("message_start + %s >= message_end" % v) + + + assert target_type.element_type.is_primitive() + + array_item = ItemInfo(target_type, "%s__array" % item.prefix, start) + scope.variable_def("uint32_t", array_item.nw_size()) + # don't create a variable that isn't used, fixes -Werror=unused-but-set-variable + need_mem_size = want_mem_size or ( + want_extra_size and not item.member.has_attr("chunk") + and not target_type.is_cstring_length()) + if need_mem_size: + scope.variable_def("uint32_t", array_item.mem_size()) + if target_type.is_cstring_length(): + writer.assign(array_item.nw_size(), "spice_strnlen((char *)message_start + %s, message_end - (message_start + %s))" % (v, v)) + writer.error_check("*(message_start + %s + %s) != 0" % (v, array_item.nw_size())) + else: + write_validate_array_item(writer, container, array_item, scope, parent_scope, start, + True, want_mem_size=need_mem_size, want_extra_size=False) + writer.error_check("message_start + %s + %s > message_end" % (v, array_item.nw_size())) + + if want_extra_size: + if item.member and item.member.has_attr("chunk"): + writer.assign(item.extra_size(), "sizeof(SpiceChunks) + sizeof(SpiceChunk)") + elif item.member and item.member.has_attr("nocopy"): + writer.comment("@nocopy, so no extra size").newline() + writer.assign(item.extra_size(), 0) + elif target_type.element_type.get_fixed_nw_size == 1: + writer.assign(item.extra_size(), array_item.mem_size()) + # If not bytes or zero, add padding needed for alignment + else: + writer.assign(item.extra_size(), "%s + /* for alignment */ 3" % array_item.mem_size()) + if want_mem_size: + writer.assign(item.mem_size(), "sizeof(void *) + %s" % array_item.mem_size()) + + elif target_type.is_struct(): + validate_function = write_validate_struct_function(writer, target_type) + writer.assign("ptr_size", "%s(message_start, message_end, %s, minor)" % (validate_function, v)) + writer.error_check("ptr_size < 0") + + if want_extra_size: + writer.assign(item.extra_size(), "ptr_size + /* for alignment */ 3") + if want_mem_size: + writer.assign(item.mem_size(), "sizeof(void *) + ptr_size") + else: + raise NotImplementedError("pointer to unsupported type %s" % target_type) + + +def write_validate_array_item(writer, container, item, scope, parent_scope, start, + want_nw_size, want_mem_size, want_extra_size): + array = item.type + is_byte_size = False + element_type = array.element_type + if array.is_bytes_length(): + nelements = "%s__nbytes" %(item.prefix) + real_nelements = "%s__nelements" %(item.prefix) + if not parent_scope.variable_defined(real_nelements): + parent_scope.variable_def("uint32_t", real_nelements) + else: + nelements = "%s__nelements" %(item.prefix) + if not parent_scope.variable_defined(nelements): + parent_scope.variable_def("uint32_t", nelements) + + if array.is_constant_length(): + writer.assign(nelements, array.size) + elif array.is_remaining_length(): + if element_type.is_fixed_nw_size(): + if element_type.get_fixed_nw_size() == 1: + writer.assign(nelements, "message_end - %s" % item.get_position()) + else: + writer.assign(nelements, "(message_end - %s) / (%s)" %(item.get_position(), element_type.get_fixed_nw_size())) + else: + raise NotImplementedError("TODO array[] of dynamic element size not done yet") + elif array.is_identifier_length(): + v = write_read_primitive(writer, start, container, array.size, scope) + writer.assign(nelements, v) + elif array.is_image_size_length(): + bpp = array.size[1] + width = array.size[2] + rows = array.size[3] + width_v = write_read_primitive(writer, start, container, width, scope) + rows_v = write_read_primitive(writer, start, container, rows, scope) + # TODO: Handle multiplication overflow + if bpp == 8: + writer.assign(nelements, "%s * %s" % (width_v, rows_v)) + elif bpp == 1: + writer.assign(nelements, "((%s + 7) / 8 ) * %s" % (width_v, rows_v)) + else: + writer.assign(nelements, "((%s * %s + 7) / 8 ) * %s" % (bpp, width_v, rows_v)) + elif array.is_bytes_length(): + is_byte_size = True + v = write_read_primitive(writer, start, container, array.size[1], scope) + writer.assign(nelements, v) + writer.assign(real_nelements, 0) + elif array.is_cstring_length(): + writer.todo("cstring array size type not handled yet") + else: + writer.todo("array size type not handled yet") + + writer.newline() + + nw_size = item.nw_size() + mem_size = item.mem_size() + extra_size = item.extra_size() + + if is_byte_size and want_nw_size: + writer.assign(nw_size, nelements) + want_nw_size = False + + if element_type.is_fixed_nw_size() and want_nw_size: + element_size = element_type.get_fixed_nw_size() + # TODO: Overflow check the multiplication + if element_size == 1: + writer.assign(nw_size, nelements) + else: + writer.assign(nw_size, "(%s) * %s" % (element_size, nelements)) + want_nw_size = False + + if array.has_attr("as_ptr") and want_mem_size: + writer.assign(mem_size, "sizeof(void *)") + want_mem_size = False + + if array.has_attr("chunk"): + if want_mem_size: + writer.assign(extra_size, "sizeof(SpiceChunks *)") + want_mem_size = False + if want_extra_size: + writer.assign(extra_size, "sizeof(SpiceChunks) + sizeof(SpiceChunk)") + want_extra_size = False + + if element_type.is_fixed_sizeof() and want_mem_size and not is_byte_size: + # TODO: Overflow check the multiplication + if array.has_attr("ptr_array"): + writer.assign(mem_size, "sizeof(void *) + SPICE_ALIGN(%s * %s, 4)" % (element_type.sizeof(), nelements)) + else: + writer.assign(mem_size, "%s * %s" % (element_type.sizeof(), nelements)) + want_mem_size = False + + if not element_type.contains_extra_size() and want_extra_size: + writer.assign(extra_size, 0) + want_extra_size = False + + if not (want_mem_size or want_nw_size or want_extra_size): + return + + start2 = codegen.increment_identifier(start) + scope.variable_def("uint8_t *", "%s = %s" % (start2, item.get_position())) + if is_byte_size: + start2_end = "%s_array_end" % start2 + scope.variable_def("uint8_t *", start2_end) + + element_item = ItemInfo(element_type, "%s__element" % item.prefix, start2) + + element_nw_size = element_item.nw_size() + element_mem_size = element_item.mem_size() + element_extra_size = element_item.extra_size() + scope.variable_def("uint32_t", element_nw_size) + scope.variable_def("uint32_t", element_mem_size) + if want_extra_size: + scope.variable_def("uint32_t", element_extra_size) + + if want_nw_size: + writer.assign(nw_size, 0) + if want_mem_size: + writer.assign(mem_size, 0) + if want_extra_size: + writer.assign(extra_size, 0) + + want_element_nw_size = want_nw_size + if element_type.is_fixed_nw_size(): + start_increment = element_type.get_fixed_nw_size() + else: + want_element_nw_size = True + start_increment = element_nw_size + + if is_byte_size: + writer.assign(start2_end, "%s + %s" % (start2, nelements)) + + with writer.index(no_block = is_byte_size) as index: + with writer.while_loop("%s < %s" % (start2, start2_end) ) if is_byte_size else writer.for_loop(index, nelements) as scope: + if is_byte_size: + writer.increment(real_nelements, 1) + write_validate_item(writer, container, element_item, scope, parent_scope, start2, + want_element_nw_size, want_mem_size, want_extra_size) + + if want_nw_size: + writer.increment(nw_size, element_nw_size) + if want_mem_size: + if array.has_attr("ptr_array"): + writer.increment(mem_size, "sizeof(void *) + SPICE_ALIGN(%s, 4)" % element_mem_size) + else: + writer.increment(mem_size, element_mem_size) + if want_extra_size: + writer.increment(extra_size, element_extra_size) + + writer.increment(start2, start_increment) + if is_byte_size: + writer.error_check("%s != %s" % (start2, start2_end)) + write_write_primitive(writer, start, container, array.size[1], real_nelements) + +def write_validate_struct_item(writer, container, item, scope, parent_scope, start, + want_nw_size, want_mem_size, want_extra_size): + struct = item.type + start2 = codegen.increment_identifier(start) + scope.variable_def("SPICE_GNUC_UNUSED uint8_t *", start2 + " = %s" % (item.get_position())) + + write_validate_container(writer, item.prefix, struct, start2, scope, want_nw_size, want_mem_size, want_extra_size) + +def write_validate_primitive_item(writer, container, item, scope, parent_scope, start, + want_nw_size, want_mem_size, want_extra_size): + if want_nw_size: + nw_size = item.nw_size() + writer.assign(nw_size, item.type.get_fixed_nw_size()) + if want_mem_size: + mem_size = item.mem_size() + writer.assign(mem_size, item.type.sizeof()) + if want_extra_size: + writer.assign(item.extra_size(), 0) + +def write_validate_item(writer, container, item, scope, parent_scope, start, + want_nw_size, want_mem_size, want_extra_size): + if item.member and item.member.has_attr("to_ptr"): + want_nw_size = True + if item.type.is_pointer(): + write_validate_pointer_item(writer, container, item, scope, parent_scope, start, + want_nw_size, want_mem_size, want_extra_size) + elif item.type.is_array(): + write_validate_array_item(writer, container, item, scope, parent_scope, start, + want_nw_size, want_mem_size, want_extra_size) + elif item.type.is_struct(): + write_validate_struct_item(writer, container, item, scope, parent_scope, start, + want_nw_size, want_mem_size, want_extra_size) + elif item.type.is_primitive(): + write_validate_primitive_item(writer, container, item, scope, parent_scope, start, + want_nw_size, want_mem_size, want_extra_size) + else: + writer.todo("Implement validation of %s" % item.type) + + if item.member and item.member.has_attr("to_ptr"): + saved_size = "%s__saved_size" % item.member.name + writer.add_function_variable("uint32_t", saved_size + " = 0") + writer.assign(saved_size, item.nw_size()) + +def write_validate_member(writer, container, member, parent_scope, start, + want_nw_size, want_mem_size, want_extra_size): + if member.has_attr("virtual"): + return + + if member.has_minor_attr(): + prefix = "if (minor >= %s)" % (member.get_minor_attr()) + newline = False + else: + prefix = "" + newline = True + item = MemberItemInfo(member, container, start) + with writer.block(prefix, newline=newline, comment=member.name) as scope: + if member.is_switch(): + write_validate_switch_member(writer, container, member, scope, parent_scope, start, + want_nw_size, want_mem_size, want_extra_size) + else: + write_validate_item(writer, container, item, scope, parent_scope, start, + want_nw_size, want_mem_size, want_extra_size) + + if member.has_minor_attr(): + with writer.block(" else", comment = "minor < %s" % (member.get_minor_attr())): + if member.is_array(): + nelements = "%s__nelements" %(item.prefix) + writer.assign(nelements, 0) + if want_nw_size: + writer.assign(item.nw_size(), 0) + + if want_mem_size: + if member.is_fixed_sizeof(): + writer.assign(item.mem_size(), member.sizeof()) + elif member.is_array(): + writer.assign(item.mem_size(), 0) + else: + raise NotImplementedError("TODO minor check for non-constant items") + + assert not want_extra_size + +def write_validate_container(writer, prefix, container, start, parent_scope, want_nw_size, want_mem_size, want_extra_size): + for m in container.members: + sub_want_nw_size = want_nw_size and not m.is_fixed_nw_size() + sub_want_mem_size = m.is_extra_size() and want_mem_size + sub_want_extra_size = not m.is_extra_size() and m.contains_extra_size() + + defs = ["size_t"] + if sub_want_nw_size: + defs.append (m.name + "__nw_size") + if sub_want_mem_size: + defs.append (m.name + "__mem_size") + if sub_want_extra_size: + defs.append (m.name + "__extra_size") + + if sub_want_nw_size or sub_want_mem_size or sub_want_extra_size: + parent_scope.variable_def(*defs) + write_validate_member(writer, container, m, parent_scope, start, + sub_want_nw_size, sub_want_mem_size, sub_want_extra_size) + writer.newline() + + if want_nw_size: + if prefix: + nw_size = prefix + "__nw_size" + else: + nw_size = "nw_size" + + size = 0 + for m in container.members: + if m.is_fixed_nw_size(): + size = size + m.get_fixed_nw_size() + + nm_sum = str(size) + for m in container.members: + if not m.is_fixed_nw_size(): + nm_sum = nm_sum + " + " + m.name + "__nw_size" + + writer.assign(nw_size, nm_sum) + + if want_mem_size: + if prefix: + mem_size = prefix + "__mem_size" + else: + mem_size = "mem_size" + + mem_sum = container.sizeof() + for m in container.members: + if m.is_extra_size(): + mem_sum = mem_sum + " + " + m.name + "__mem_size" + elif m.contains_extra_size(): + mem_sum = mem_sum + " + " + m.name + "__extra_size" + + writer.assign(mem_size, mem_sum) + + if want_extra_size: + if prefix: + extra_size = prefix + "__extra_size" + else: + extra_size = "extra_size" + + extra_sum = [] + for m in container.members: + if m.is_extra_size(): + extra_sum.append(m.name + "__mem_size") + elif m.contains_extra_size(): + extra_sum.append(m.name + "__extra_size") + writer.assign(extra_size, codegen.sum_array(extra_sum)) + +class DemarshallingDestination: + def __init__(self): + pass + + def child_at_end(self, writer, t): + return RootDemarshallingDestination(self, t.c_type(), t.sizeof()) + + def child_sub(self, member): + return SubDemarshallingDestination(self, member) + + def declare(self, writer): + return writer.optional_block(self.reuse_scope) + + def is_toplevel(self): + return self.parent_dest == None and not self.is_helper + +class RootDemarshallingDestination(DemarshallingDestination): + def __init__(self, parent_dest, c_type, sizeof, pointer = None): + self.is_helper = False + self.reuse_scope = None + self.parent_dest = parent_dest + if parent_dest: + self.base_var = codegen.increment_identifier(parent_dest.base_var) + else: + self.base_var = "out" + self.c_type = c_type + self.sizeof = sizeof + self.pointer = pointer # None == at "end" + + def get_ref(self, member): + return self.base_var + "->" + member + + def declare(self, writer): + if self.reuse_scope: + scope = self.reuse_scope + else: + writer.begin_block() + scope = writer.get_subwriter() + + scope.variable_def(self.c_type + " *", self.base_var) + if not self.reuse_scope: + scope.newline() + + if self.pointer: + writer.assign(self.base_var, "(%s *)%s" % (self.c_type, self.pointer)) + else: + writer.assign(self.base_var, "(%s *)end" % (self.c_type)) + writer.increment("end", self.sizeof) + writer.newline() + + if self.reuse_scope: + return writer.no_block(self.reuse_scope) + else: + return writer.partial_block(scope) + +class SubDemarshallingDestination(DemarshallingDestination): + def __init__(self, parent_dest, member): + self.reuse_scope = None + self.parent_dest = parent_dest + self.base_var = parent_dest.base_var + self.member = member + self.is_helper = False + + def get_ref(self, member): + return self.parent_dest.get_ref(self.member) + "." + member + +# Note: during parsing, byte_size types have been converted to count during validation +def read_array_len(writer, prefix, array, dest, scope, is_ptr): + if is_ptr: + nelements = "%s__array__nelements" % prefix + else: + nelements = "%s__nelements" % prefix + if dest.is_toplevel() and scope.variable_defined(nelements): + return nelements # Already there for toplevel, need not recalculate + element_type = array.element_type + scope.variable_def("uint32_t", nelements) + if array.is_constant_length(): + writer.assign(nelements, array.size) + elif array.is_identifier_length(): + writer.assign(nelements, dest.get_ref(array.size)) + elif array.is_remaining_length(): + if element_type.is_fixed_nw_size(): + writer.assign(nelements, "(message_end - in) / (%s)" %(element_type.get_fixed_nw_size())) + else: + raise NotImplementedError("TODO array[] of dynamic element size not done yet") + elif array.is_image_size_length(): + bpp = array.size[1] + width = array.size[2] + rows = array.size[3] + width_v = dest.get_ref(width) + rows_v = dest.get_ref(rows) + # TODO: Handle multiplication overflow + if bpp == 8: + writer.assign(nelements, "%s * %s" % (width_v, rows_v)) + elif bpp == 1: + writer.assign(nelements, "((%s + 7) / 8 ) * %s" % (width_v, rows_v)) + else: + writer.assign(nelements, "((%s * %s + 7) / 8 ) * %s" % (bpp, width_v, rows_v)) + elif array.is_bytes_length(): + writer.assign(nelements, dest.get_ref(array.size[2])) + else: + raise NotImplementedError("TODO array size type not handled yet") + return nelements + +def write_switch_parser(writer, container, switch, dest, scope): + var = container.lookup_member(switch.variable) + var_type = var.member_type + + if switch.has_attr("fixedsize"): + scope.variable_def("uint8_t *", "in_save") + writer.assign("in_save", "in") + + first = True + for c in switch.cases: + check = c.get_check(dest.get_ref(switch.variable), var_type) + m = c.member + with writer.if_block(check, not first, False) as block: + t = m.member_type + if switch.has_end_attr(): + dest2 = dest.child_at_end(writer, m.member_type) + elif switch.has_attr("anon"): + if t.is_struct() and not m.has_attr("to_ptr"): + dest2 = dest.child_sub(m.name) + else: + dest2 = dest + else: + if t.is_struct(): + dest2 = dest.child_sub(switch.name + "." + m.name) + else: + dest2 = dest.child_sub(switch.name) + dest2.reuse_scope = block + + if m.has_attr("to_ptr"): + write_parse_to_pointer(writer, t, False, dest2, m.name, block) + elif t.is_pointer(): + write_parse_pointer(writer, t, False, dest2, m.name, block) + elif t.is_struct(): + write_container_parser(writer, t, dest2) + elif t.is_primitive(): + if m.has_attr("zero"): + writer.statement("consume_%s(&in)" % (t.primitive_type())) + else: + writer.assign(dest2.get_ref(m.name), "consume_%s(&in)" % (t.primitive_type())) + #TODO validate e.g. flags and enums + elif t.is_array(): + nelements = read_array_len(writer, m.name, t, dest, block, False) + write_array_parser(writer, m, nelements, t, dest2, block) + else: + writer.todo("Can't handle type %s" % m.member_type) + + first = False + + writer.newline() + + if switch.has_attr("fixedsize"): + writer.assign("in", "in_save + %s" % switch.get_fixed_nw_size()) + +def write_parse_ptr_function(writer, target_type): + if target_type.is_array(): + parse_function = "parse_array_%s" % target_type.element_type.primitive_type() + else: + parse_function = "parse_struct_%s" % target_type.c_type() + if writer.is_generated("parser", parse_function): + return parse_function + + writer.set_is_generated("parser", parse_function) + + writer = writer.function_helper() + scope = writer.function(parse_function, "static uint8_t *", "uint8_t *message_start, uint8_t *message_end, uint8_t *struct_data, PointerInfo *this_ptr_info, int minor") + scope.variable_def("uint8_t *", "in = message_start + this_ptr_info->offset") + scope.variable_def("uint8_t *", "end") + + num_pointers = target_type.get_num_pointers() + if num_pointers != 0: + scope.variable_def("SPICE_GNUC_UNUSED intptr_t", "ptr_size") + scope.variable_def("uint32_t", "n_ptr=0") + scope.variable_def("PointerInfo", "ptr_info[%s]" % num_pointers) + + writer.newline() + if target_type.is_array(): + writer.assign("end", "struct_data") + else: + writer.assign("end", "struct_data + %s" % (target_type.sizeof())) + + dest = RootDemarshallingDestination(None, target_type.c_type(), target_type.sizeof(), "struct_data") + dest.is_helper = True + dest.reuse_scope = scope + if target_type.is_array(): + write_array_parser(writer, None, "this_ptr_info->nelements", target_type, dest, scope) + else: + write_container_parser(writer, target_type, dest) + + if num_pointers != 0: + write_ptr_info_check(writer) + + writer.statement("return end") + + if writer.has_error_check: + writer.newline() + writer.label("error") + writer.statement("return NULL") + + writer.end_block() + + return parse_function + +def write_array_parser(writer, member, nelements, array, dest, scope): + is_byte_size = array.is_bytes_length() + + element_type = array.element_type + if member: + array_start = dest.get_ref(member.name) + at_end = member.has_attr("end") + else: + array_start = "end" + at_end = True + + if element_type == ptypes.uint8 or element_type == ptypes.int8: + writer.statement("memcpy(%s, in, %s)" % (array_start, nelements)) + writer.increment("in", nelements) + if at_end: + writer.increment("end", nelements) + else: + with writer.index() as index: + if member: + array_pos = "%s[%s]" % (array_start, index) + else: + array_pos = "*(%s *)end" % (element_type.c_type()) + + if array.has_attr("ptr_array"): + scope.variable_def("void **", "ptr_array") + scope.variable_def("int", "ptr_array_index") + writer.assign("ptr_array_index", 0) + writer.assign("ptr_array", "(void **)%s" % array_start) + writer.increment("end", "sizeof(void *) * %s" % nelements) + array_start = "end" + array_pos = "*(%s *)end" % (element_type.c_type()) + at_end = True + + with writer.for_loop(index, nelements) as array_scope: + if array.has_attr("ptr_array"): + writer.statement("ptr_array[ptr_array_index++] = end") + if element_type.is_primitive(): + writer.statement("%s = consume_%s(&in)" % (array_pos, element_type.primitive_type())) + if at_end: + writer.increment("end", element_type.sizeof()) + else: + if at_end: + dest2 = dest.child_at_end(writer, element_type) + else: + dest2 = RootDemarshallingDestination(dest, element_type.c_type(), element_type.c_type(), array_pos) + dest2.reuse_scope = array_scope + write_container_parser(writer, element_type, dest2) + if array.has_attr("ptr_array"): + writer.comment("Align ptr_array element to 4 bytes").newline() + writer.assign("end", "(uint8_t *)SPICE_ALIGN((size_t)end, 4)") + +def write_parse_pointer_core(writer, target_type, offset, at_end, dest, member_name, scope): + writer.assign("ptr_info[n_ptr].offset", offset) + writer.assign("ptr_info[n_ptr].parse", write_parse_ptr_function(writer, target_type)) + if at_end: + writer.assign("ptr_info[n_ptr].dest", "(void **)end") + writer.increment("end", "sizeof(void *)") + else: + writer.assign("ptr_info[n_ptr].dest", "(void **)&%s" % dest.get_ref(member_name)) + if target_type.is_array(): + nelements = read_array_len(writer, member_name, target_type, dest, scope, True) + writer.assign("ptr_info[n_ptr].nelements", nelements) + + writer.statement("n_ptr++") + +def write_parse_pointer(writer, t, at_end, dest, member_name, scope): + write_parse_pointer_core(writer, t.target_type, "consume_%s(&in)" % t.primitive_type(), + at_end, dest, member_name, scope) + +def write_parse_to_pointer(writer, t, at_end, dest, member_name, scope): + write_parse_pointer_core(writer, t, "in - start", + at_end, dest, member_name, scope) + writer.increment("in", "%s__saved_size" % member_name) + +def write_member_parser(writer, container, member, dest, scope): + if member.has_attr("virtual"): + writer.assign(dest.get_ref(member.name), member.attributes["virtual"][0]) + return + + if member.is_switch(): + write_switch_parser(writer, container, member, dest, scope) + return + + t = member.member_type + + if member.has_attr("to_ptr"): + write_parse_to_pointer(writer, t, member.has_end_attr(), dest, member.name, scope) + elif t.is_pointer(): + if member.has_attr("chunk"): + assert(t.target_type.is_array()) + nelements = read_array_len(writer, member.name, t.target_type, dest, scope, True) + writer.comment("Reuse data from network message as chunk").newline() + scope.variable_def("SpiceChunks *", "chunks") + writer.assign("chunks", "(SpiceChunks *)end") + writer.increment("end", "sizeof(SpiceChunks) + sizeof(SpiceChunk)") + writer.assign(dest.get_ref(member.name), "chunks") + writer.assign("chunks->data_size", nelements) + writer.assign("chunks->flags", 0) + writer.assign("chunks->num_chunks", 1) + writer.assign("chunks->chunk[0].len", nelements) + writer.assign("chunks->chunk[0].data", "message_start + consume_%s(&in)" % t.primitive_type()) + elif member.has_attr("nocopy"): + writer.comment("Reuse data from network message").newline() + writer.assign(dest.get_ref(member.name), "(size_t)(message_start + consume_%s(&in))" % t.primitive_type()) + else: + write_parse_pointer(writer, t, member.has_end_attr(), dest, member.name, scope) + elif t.is_primitive(): + if member.has_attr("zero"): + writer.statement("consume_%s(&in)" % t.primitive_type()) + elif member.has_end_attr(): + writer.statement("*(%s *)end = consume_%s(&in)" % (t.c_type(), t.primitive_type())) + writer.increment("end", t.sizeof()) + else: + if member.has_attr("bytes_count"): + dest_var = dest.get_ref(member.attributes["bytes_count"][0]) + else: + dest_var = dest.get_ref(member.name) + writer.assign(dest_var, "consume_%s(&in)" % (t.primitive_type())) + #TODO validate e.g. flags and enums + elif t.is_array(): + nelements = read_array_len(writer, member.name, t, dest, scope, False) + if member.has_attr("chunk") and t.element_type.is_fixed_nw_size() and t.element_type.get_fixed_nw_size() == 1: + writer.comment("use array as chunk").newline() + + scope.variable_def("SpiceChunks *", "chunks") + writer.assign("chunks", "(SpiceChunks *)end") + writer.increment("end", "sizeof(SpiceChunks) + sizeof(SpiceChunk)") + writer.assign(dest.get_ref(member.name), "chunks") + writer.assign("chunks->data_size", nelements) + writer.assign("chunks->flags", 0) + writer.assign("chunks->num_chunks", 1) + writer.assign("chunks->chunk[0].len", nelements) + writer.assign("chunks->chunk[0].data", "in") + writer.increment("in", "%s" % (nelements)) + elif member.has_attr("as_ptr") and t.element_type.is_fixed_nw_size(): + writer.comment("use array as pointer").newline() + writer.assign(dest.get_ref(member.name), "(%s *)in" % t.element_type.c_type()) + len_var = member.attributes["as_ptr"] + if len(len_var) > 0: + writer.assign(dest.get_ref(len_var[0]), nelements) + el_size = t.element_type.get_fixed_nw_size() + if el_size != 1: + writer.increment("in", "%s * %s" % (nelements, el_size)) + else: + writer.increment("in", "%s" % (nelements)) + else: + write_array_parser(writer, member, nelements, t, dest, scope) + elif t.is_struct(): + if member.has_end_attr(): + dest2 = dest.child_at_end(writer, t) + else: + dest2 = dest.child_sub(member.name) + writer.comment(member.name) + write_container_parser(writer, t, dest2) + else: + raise NotImplementedError("TODO can't handle parsing of %s" % t) + +def write_container_parser(writer, container, dest): + with dest.declare(writer) as scope: + for m in container.members: + if m.has_minor_attr(): + writer.begin_block("if (minor >= %s)" % m.get_minor_attr()) + write_member_parser(writer, container, m, dest, scope) + if m.has_minor_attr(): + # We need to zero out the fixed part of all optional fields + if not m.member_type.is_array(): + writer.end_block(newline=False) + writer.begin_block(" else") + # TODO: This is not right for fields that don't exist in the struct + if m.has_attr("zero"): + pass + elif m.member_type.is_primitive(): + writer.assign(dest.get_ref(m.name), "0") + elif m.is_fixed_sizeof(): + writer.statement("memset ((char *)&%s, 0, %s)" % (dest.get_ref(m.name), m.sizeof())) + else: + raise NotImplementedError("TODO Clear optional dynamic fields") + writer.end_block() + +def write_ptr_info_check(writer): + writer.newline() + with writer.index() as index: + with writer.for_loop(index, "n_ptr") as scope: + offset = "ptr_info[%s].offset" % index + function = "ptr_info[%s].parse" % index + dest = "ptr_info[%s].dest" % index + with writer.if_block("%s == 0" % offset, newline=False): + writer.assign("*%s" % dest, "NULL") + with writer.block(" else"): + writer.comment("Align to 32 bit").newline() + writer.assign("end", "(uint8_t *)SPICE_ALIGN((size_t)end, 4)") + writer.assign("*%s" % dest, "(void *)end") + writer.assign("end", "%s(message_start, message_end, end, &ptr_info[%s], minor)" % (function, index)) + writer.error_check("end == NULL") + writer.newline() + +def write_nofree(writer): + if writer.is_generated("helper", "nofree"): + return + writer = writer.function_helper() + scope = writer.function("nofree", "static void", "uint8_t *data") + writer.end_block() + +def write_msg_parser(writer, message): + msg_name = message.c_name() + function_name = "parse_%s" % msg_name + if writer.is_generated("demarshaller", function_name): + return function_name + writer.set_is_generated("demarshaller", function_name) + + msg_type = message.c_type() + msg_sizeof = message.sizeof() + + want_mem_size = (len(message.members) != 1 or message.members[0].is_fixed_nw_size() + or not message.members[0].is_array()) + + writer.newline() + if message.has_attr("ifdef"): + writer.ifdef(message.attributes["ifdef"][0]) + parent_scope = writer.function(function_name, + "uint8_t *", + "uint8_t *message_start, uint8_t *message_end, int minor, size_t *size, message_destructor_t *free_message", True) + parent_scope.variable_def("SPICE_GNUC_UNUSED uint8_t *", "pos") + parent_scope.variable_def("uint8_t *", "start = message_start") + parent_scope.variable_def("uint8_t *", "data = NULL") + parent_scope.variable_def("size_t", "nw_size") + if want_mem_size: + parent_scope.variable_def("size_t", "mem_size") + if not message.has_attr("nocopy"): + parent_scope.variable_def("uint8_t *", "in", "end") + num_pointers = message.get_num_pointers() + if num_pointers != 0: + parent_scope.variable_def("SPICE_GNUC_UNUSED intptr_t", "ptr_size") + parent_scope.variable_def("uint32_t", "n_ptr=0") + parent_scope.variable_def("PointerInfo", "ptr_info[%s]" % num_pointers) + writer.newline() + + write_parser_helpers(writer) + + write_validate_container(writer, None, message, "start", parent_scope, True, + want_mem_size=want_mem_size, want_extra_size=False) + + writer.newline() + + writer.comment("Check if message fits in reported side").newline() + with writer.block("if (start + nw_size > message_end)"): + writer.statement("return NULL") + + writer.newline().comment("Validated extents and calculated size").newline() + + if message.has_attr("nocopy"): + write_nofree(writer) + writer.assign("data", "message_start") + writer.assign("*size", "message_end - message_start") + writer.assign("*free_message", "nofree") + else: + writer.assign("data", "(uint8_t *)malloc(mem_size)") + writer.error_check("data == NULL") + writer.assign("end", "data + %s" % (msg_sizeof)) + writer.assign("in", "start").newline() + + # avoid defined and assigned but not used warnings of gcc 4.6.0+ + if message.is_extra_size() or not message.is_fixed_nw_size() or message.get_fixed_nw_size() > 0: + dest = RootDemarshallingDestination(None, msg_type, msg_sizeof, "data") + dest.reuse_scope = parent_scope + write_container_parser(writer, message, dest) + + writer.newline() + writer.statement("assert(in <= message_end)") + + if num_pointers != 0: + write_ptr_info_check(writer) + + writer.statement("assert(end <= data + mem_size)") + + writer.newline() + writer.assign("*size", "end - data") + writer.assign("*free_message", "(message_destructor_t) free") + + writer.statement("return data") + writer.newline() + if writer.has_error_check: + writer.label("error") + with writer.block("if (data != NULL)"): + writer.statement("free(data)") + writer.statement("return NULL") + writer.end_block() + + if message.has_attr("ifdef"): + writer.endif(message.attributes["ifdef"][0]) + + return function_name + +def write_channel_parser(writer, channel, server): + writer.newline() + ids = {} + min_id = 1000000 + if server: + messages = channel.server_messages + else: + messages = channel.client_messages + for m in messages: + ids[m.value] = m + + ranges = [] + ids2 = ids.copy() + while len(ids2) > 0: + end = start = min(ids2.keys()) + while ids2.has_key(end): + del ids2[end] + end = end + 1 + + ranges.append( (start, end) ) + + if server: + function_name = "parse_%s_msg" % channel.name + else: + function_name = "parse_%s_msgc" % channel.name + writer.newline() + if channel.has_attr("ifdef"): + writer.ifdef(channel.attributes["ifdef"][0]) + scope = writer.function(function_name, + "static uint8_t *", + "uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message") + + helpers = writer.function_helper() + + d = 0 + for r in ranges: + d = d + 1 + writer.write("static parse_msg_func_t funcs%d[%d] = " % (d, r[1] - r[0])) + writer.begin_block() + for i in range(r[0], r[1]): + func = write_msg_parser(helpers, ids[i].message_type) + writer.write(func) + if i != r[1] -1: + writer.write(",") + writer.newline() + + writer.end_block(semicolon = True) + + d = 0 + for r in ranges: + d = d + 1 + with writer.if_block("message_type >= %d && message_type < %d" % (r[0], r[1]), d > 1, False): + writer.statement("return funcs%d[message_type-%d](message_start, message_end, minor, size_out, free_message)" % (d, r[0])) + writer.newline() + + writer.statement("return NULL") + writer.end_block() + if channel.has_attr("ifdef"): + writer.endif(channel.attributes["ifdef"][0]) + + return function_name + +def write_get_channel_parser(writer, channel_parsers, max_channel, is_server): + writer.newline() + if is_server: + function_name = "spice_get_server_channel_parser" + writer.public_prefix + else: + function_name = "spice_get_client_channel_parser" + writer.public_prefix + + scope = writer.function(function_name, + "spice_parse_channel_func_t", + "uint32_t channel, unsigned int *max_message_type") + + writer.write("static struct {spice_parse_channel_func_t func; unsigned int max_messages; } channels[%d] = " % (max_channel+1)) + writer.begin_block() + channel = None + for i in range(0, max_channel + 1): + if channel_parsers.has_key(i): + channel = channel_parsers[i][0] + if channel.has_attr("ifdef"): + writer.ifdef(channel.attributes["ifdef"][0]) + writer.write("{ ") + writer.write(channel_parsers[i][1]) + writer.write(", ") + + max_msg = 0 + if is_server: + messages = channel.server_messages + else: + messages = channel.client_messages + for m in messages: + max_msg = max(max_msg, m.value) + writer.write(max_msg) + writer.write("}") + else: + writer.write("{ NULL, 0 }") + + if i != max_channel: + writer.write(",") + writer.newline() + if channel and channel.has_attr("ifdef"): + writer.ifdef_else(channel.attributes["ifdef"][0]) + writer.write("{ NULL, 0 }") + if i != max_channel: + writer.write(",") + writer.newline() + writer.endif(channel.attributes["ifdef"][0]) + writer.end_block(semicolon = True) + + with writer.if_block("channel < %d" % (max_channel + 1)): + with writer.if_block("max_message_type != NULL"): + writer.assign("*max_message_type", "channels[channel].max_messages") + writer.statement("return channels[channel].func") + + writer.statement("return NULL") + writer.end_block() + + +def write_full_protocol_parser(writer, is_server): + writer.newline() + if is_server: + function_name = "spice_parse_msg" + else: + function_name = "spice_parse_reply" + scope = writer.function(function_name + writer.public_prefix, + "uint8_t *", + "uint8_t *message_start, uint8_t *message_end, uint32_t channel, uint16_t message_type, int minor, size_t *size_out, message_destructor_t *free_message") + scope.variable_def("spice_parse_channel_func_t", "func" ) + + if is_server: + writer.assign("func", "spice_get_server_channel_parser%s(channel, NULL)" % writer.public_prefix) + else: + writer.assign("func", "spice_get_client_channel_parser%s(channel, NULL)" % writer.public_prefix) + + with writer.if_block("func != NULL"): + writer.statement("return func(message_start, message_end, message_type, minor, size_out, free_message)") + + writer.statement("return NULL") + writer.end_block() + +def write_protocol_parser(writer, proto, is_server): + max_channel = 0 + parsers = {} + + for channel in proto.channels: + max_channel = max(max_channel, channel.value) + + parsers[channel.value] = (channel.channel_type, write_channel_parser(writer, channel.channel_type, is_server)) + + write_get_channel_parser(writer, parsers, max_channel, is_server) + write_full_protocol_parser(writer, is_server) + +def write_includes(writer): + writer.writeln("#include <string.h>") + writer.writeln("#include <assert.h>") + writer.writeln("#include <stdlib.h>") + writer.writeln("#include <stdio.h>") + writer.writeln("#include <spice/protocol.h>") + writer.writeln("#include <spice/macros.h>") + writer.writeln('#include "mem.h"') + writer.newline() + writer.writeln("#ifdef _MSC_VER") + writer.writeln("#pragma warning(disable:4101)") + writer.writeln("#endif") diff --git a/tizen/distrib/remote/common/spice-common/python_modules/marshal.py b/tizen/distrib/remote/common/spice-common/python_modules/marshal.py new file mode 100644 index 0000000..4020799 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/python_modules/marshal.py @@ -0,0 +1,427 @@ +from __future__ import with_statement +import ptypes +import codegen + +def write_includes(writer): + writer.header.writeln("#include <spice/protocol.h>") + writer.header.writeln('#include "marshaller.h"') + writer.header.newline() + writer.header.writeln("#ifndef _GENERATED_HEADERS_H") + writer.header.writeln("#define _GENERATED_HEADERS_H") + + writer.writeln("#include <string.h>") + writer.writeln("#include <assert.h>") + writer.writeln("#include <stdlib.h>") + writer.writeln("#include <stdio.h>") + writer.writeln("#include <spice/protocol.h>") + writer.writeln("#include <spice/macros.h>") + writer.writeln('#include "marshaller.h"') + writer.newline() + writer.writeln("#ifdef _MSC_VER") + writer.writeln("#pragma warning(disable:4101)") + writer.writeln("#pragma warning(disable:4018)") + writer.writeln("#endif") + writer.newline() + +class MarshallingSource: + def __init__(self): + pass + + def child_at_end(self, t): + return RootMarshallingSource(self, t.c_type(), t.sizeof()) + + def child_sub(self, containee): + return SubMarshallingSource(self, containee) + + def declare(self, writer): + return writer.optional_block(self.reuse_scope) + + def is_toplevel(self): + return self.parent_src == None and not self.is_helper + +class RootMarshallingSource(MarshallingSource): + def __init__(self, parent_src, c_type, sizeof, pointer = None): + self.is_helper = False + self.reuse_scope = None + self.parent_src = parent_src + if parent_src: + self.base_var = codegen.increment_identifier(parent_src.base_var) + else: + self.base_var = "src" + self.c_type = c_type + self.sizeof = sizeof + self.pointer = pointer + assert pointer != None + + def get_self_ref(self): + return self.base_var + + def get_ref(self, member): + return self.base_var + "->" + member + + def declare(self, writer): + if self.reuse_scope: + scope = self.reuse_scope + else: + writer.begin_block() + scope = writer.get_subwriter() + + scope.variable_def(self.c_type + " *", self.base_var) + if not self.reuse_scope: + scope.newline() + + writer.assign(self.base_var, "(%s *)%s" % (self.c_type, self.pointer)) + writer.newline() + + if self.reuse_scope: + return writer.no_block(self.reuse_scope) + else: + return writer.partial_block(scope) + +class SubMarshallingSource(MarshallingSource): + def __init__(self, parent_src, containee): + self.reuse_scope = None + self.parent_src = parent_src + self.base_var = parent_src.base_var + self.containee = containee + self.name = containee.name + self.is_helper = False + + def get_self_ref(self): + if self.containee.has_attr("to_ptr"): + return "%s" % self.parent_src.get_ref(self.name) + else: + return "&%s" % self.parent_src.get_ref(self.name) + + def get_ref(self, member): + if self.containee.has_attr("to_ptr"): + return self.parent_src.get_ref(self.name) + "->" + member + else: + return self.parent_src.get_ref(self.name) + "." + member + +def write_marshal_ptr_function(writer, target_type, is_helper=True): + if target_type.is_array(): + marshal_function = "spice_marshall_array_%s" % target_type.element_type.primitive_type() + else: + marshal_function = "spice_marshall_%s" % target_type.name + if writer.is_generated("marshaller", marshal_function): + return marshal_function + + writer.set_is_generated("marshaller", marshal_function) + + names = target_type.get_pointer_names(False) + names_args = "" + if len(names) > 0: + n = map(lambda name: ", SpiceMarshaller **%s_out" % name, names) + names_args = "".join(n) + + header = writer.header + if is_helper: + writer = writer.function_helper() + writer.header = header + writer.out_prefix = "" + if target_type.is_array(): + scope = writer.function(marshal_function, "SPICE_GNUC_UNUSED static void", "SpiceMarshaller *m, %s_t *ptr, unsigned count" % target_type.element_type.primitive_type() + names_args) + else: + scope = writer.function(marshal_function, "void", "SpiceMarshaller *m, %s *ptr" % target_type.c_type() + names_args) + header.writeln("void " + marshal_function + "(SpiceMarshaller *m, %s *msg" % target_type.c_type() + names_args + ");") + scope.variable_def("SPICE_GNUC_UNUSED SpiceMarshaller *", "m2") + + for n in names: + writer.assign("*%s_out" % n, "NULL") + + writer.newline() + + if target_type.is_struct(): + src = RootMarshallingSource(None, target_type.c_type(), target_type.sizeof(), "ptr") + src.reuse_scope = scope + write_container_marshaller(writer, target_type, src) + elif target_type.is_array() and target_type.element_type.is_primitive(): + with writer.index() as index: + with writer.for_loop(index, "count") as array_scope: + writer.statement("spice_marshaller_add_%s(m, *ptr++)" % (target_type.element_type.primitive_type())) + else: + writer.todo("Unsuppored pointer marshaller type") + + writer.end_block() + + return marshal_function + +def get_array_size(array, container_src): + if array.is_constant_length(): + return array.size + elif array.is_identifier_length(): + return container_src.get_ref(array.size) + elif array.is_remaining_length(): + raise NotImplementedError("remaining size array sizes marshalling not supported") + elif array.is_image_size_length(): + bpp = array.size[1] + width = array.size[2] + rows = array.size[3] + width_v = container_src.get_ref(width) + rows_v = container_src.get_ref(rows) + # TODO: Handle multiplication overflow + if bpp == 8: + return "(%s * %s)" % (width_v, rows_v) + elif bpp == 1: + return "(((%s + 7) / 8 ) * %s)" % (width_v, rows_v) + else: + return "(((%s * %s + 7) / 8 ) * %s)" % (bpp, width_v, rows_v) + elif array.is_bytes_length(): + return container_src.get_ref(array.size[2]) + else: + raise NotImplementedError("TODO array size type not handled yet: %s" % array) + +def write_array_marshaller(writer, member, array, container_src, scope): + element_type = array.element_type + + if array.is_remaining_length(): + writer.comment("Remaining data must be appended manually").newline() + return + + nelements = get_array_size(array, container_src) + is_byte_size = array.is_bytes_length() + + element = "%s__element" % member.name + + if not scope.variable_defined(element): + if array.has_attr("ptr_array"): + stars = " **" + else: + stars = " *" + scope.variable_def(element_type.c_type() + stars, element) + element_array = element + if array.has_attr("ptr_array"): + element = "*" + element + + writer.assign(element_array, container_src.get_ref(member.name)) + + if is_byte_size: + size_start_var = "%s__size_start" % member.name + scope.variable_def("size_t", size_start_var) + writer.assign(size_start_var, "spice_marshaller_get_size(m)") + + with writer.index() as index: + with writer.for_loop(index, nelements) as array_scope: + if element_type.is_primitive(): + writer.statement("spice_marshaller_add_%s(m, *%s)" % (element_type.primitive_type(), element)) + elif element_type.is_struct(): + src2 = RootMarshallingSource(container_src, element_type.c_type(), element_type.sizeof(), element) + src2.reuse_scope = array_scope + write_container_marshaller(writer, element_type, src2) + else: + writer.todo("array element unhandled type").newline() + + writer.statement("%s++" % element_array) + + if is_byte_size: + size_var = member.container.lookup_member(array.size[1]) + size_var_type = size_var.member_type + var = "%s__ref" % array.size[1] + writer.statement("spice_marshaller_set_%s(m, %s, spice_marshaller_get_size(m) - %s)" % (size_var_type.primitive_type(), var, size_start_var)) + +def write_pointer_marshaller(writer, member, src): + t = member.member_type + ptr_func = write_marshal_ptr_function(writer, t.target_type) + submarshaller = "spice_marshaller_get_ptr_submarshaller(m, %d)" % (1 if member.get_fixed_nw_size() == 8 else 0) + if member.has_attr("marshall"): + rest_args = "" + if t.target_type.is_array(): + rest_args = ", %s" % get_array_size(t.target_type, src) + writer.assign("m2", submarshaller) + if t.has_attr("nonnull"): + writer.statement("%s(m2, %s%s)" % (ptr_func, src.get_ref(member.name), rest_args)) + else: + with writer.if_block("%s != NULL" % src.get_ref(member.name)) as block: + writer.statement("%s(m2, %s%s)" % (ptr_func, src.get_ref(member.name), rest_args)) + else: + writer.assign("*%s_out" % (writer.out_prefix + member.name), submarshaller) + +def write_switch_marshaller(writer, container, switch, src, scope): + var = container.lookup_member(switch.variable) + var_type = var.member_type + + saved_out_prefix = writer.out_prefix + first = True + for c in switch.cases: + check = c.get_check(src.get_ref(switch.variable), var_type) + m = c.member + writer.out_prefix = saved_out_prefix + if m.has_attr("outvar"): + writer.out_prefix = "%s_%s" % (m.attributes["outvar"][0], writer.out_prefix) + with writer.if_block(check, not first, False) as block: + t = m.member_type + if switch.has_attr("anon"): + if t.is_struct(): + src2 = src.child_sub(m) + else: + src2 = src + else: + if t.is_struct(): + src2 = src.child_sub(switch).child_sub(m) + else: + src2 = src.child_sub(switch) + src2.reuse_scope = block + + if t.is_struct(): + write_container_marshaller(writer, t, src2) + elif t.is_pointer(): + write_pointer_marshaller(writer, m, src2) + elif t.is_primitive(): + if m.has_attr("zero"): + writer.statement("spice_marshaller_add_%s(m, 0)" % (t.primitive_type())) + else: + writer.statement("spice_marshaller_add_%s(m, %s)" % (t.primitive_type(), src2.get_ref(m.name))) + #TODO validate e.g. flags and enums + elif t.is_array(): + write_array_marshaller(writer, m, t, src2, scope) + else: + writer.todo("Can't handle type %s" % m.member_type) + + if switch.has_attr("fixedsize"): + remaining = switch.get_fixed_nw_size() - t.get_fixed_nw_size() + if remaining != 0: + writer.statement("spice_marshaller_reserve_space(m, %s)" % remaining) + + first = False + if switch.has_attr("fixedsize"): + with writer.block(" else"): + writer.statement("spice_marshaller_reserve_space(m, %s)" % switch.get_fixed_nw_size()) + + writer.newline() + +def write_member_marshaller(writer, container, member, src, scope): + if member.has_attr("outvar"): + writer.out_prefix = "%s_%s" % (member.attributes["outvar"][0], writer.out_prefix) + if member.has_attr("virtual"): + writer.comment("Don't marshall @virtual %s" % member.name).newline() + return + if member.has_attr("nomarshal"): + writer.comment("Don't marshall @nomarshal %s" % member.name).newline() + return + if member.is_switch(): + write_switch_marshaller(writer, container, member, src, scope) + return + + t = member.member_type + + if t.is_pointer(): + write_pointer_marshaller(writer, member, src) + elif t.is_primitive(): + if member.has_attr("zero"): + writer.statement("spice_marshaller_add_%s(m, 0)" % (t.primitive_type())) + if member.has_attr("bytes_count"): + var = "%s__ref" % member.name + scope.variable_def("void *", var) + writer.statement("%s = spice_marshaller_add_%s(m, %s)" % (var, t.primitive_type(), 0)) + + else: + writer.statement("spice_marshaller_add_%s(m, %s)" % (t.primitive_type(), src.get_ref(member.name))) + elif t.is_array(): + write_array_marshaller(writer, member, t, src, scope) + elif t.is_struct(): + src2 = src.child_sub(member) + writer.comment(member.name) + write_container_marshaller(writer, t, src2) + else: + raise NotImplementedError("TODO can't handle parsing of %s" % t) + +def write_container_marshaller(writer, container, src): + saved_out_prefix = writer.out_prefix + with src.declare(writer) as scope: + for m in container.members: + writer.out_prefix = saved_out_prefix + write_member_marshaller(writer, container, m, src, scope) + +def write_message_marshaller(writer, message, is_server, private): + if message.has_attr("ifdef"): + writer.ifdef(message.attributes["ifdef"][0]) + writer.out_prefix = "" + function_name = "spice_marshall_" + message.c_name() + if writer.is_generated("marshaller", function_name): + return function_name + writer.set_is_generated("marshaller", function_name) + + names = message.get_pointer_names(False) + names_args = "" + if len(names) > 0: + n = map(lambda name: ", SpiceMarshaller **%s_out" % name, names) + names_args = "".join(n) + + if not private: + writer.header.writeln("void " + function_name + "(SpiceMarshaller *m, %s *msg" % message.c_type() + names_args + ");") + + scope = writer.function(function_name, + "static void" if private else "void", + "SpiceMarshaller *m, %s *msg" % message.c_type() + names_args) + scope.variable_def("SPICE_GNUC_UNUSED SpiceMarshaller *", "m2") + + for n in names: + writer.assign("*%s_out" % n, "NULL") + + # fix warnings about unused variables by not creating body if no members to parse + if any(x.is_fixed_nw_size() for x in message.members): + src = RootMarshallingSource(None, message.c_type(), message.sizeof(), "msg") + src.reuse_scope = scope + + write_container_marshaller(writer, message, src) + + writer.end_block() + if message.has_attr("ifdef"): + writer.endif(message.attributes["ifdef"][0]) + writer.newline() + return function_name + +def write_protocol_marshaller(writer, proto, is_server, private_marshallers): + functions = {} + for c in proto.channels: + channel = c.channel_type + if channel.has_attr("ifdef"): + writer.ifdef(channel.attributes["ifdef"][0]) + writer.header.ifdef(channel.attributes["ifdef"][0]) + if is_server: + for m in channel.client_messages: + message = m.message_type + f = write_message_marshaller(writer, message, is_server, private_marshallers) + if channel.has_attr("ifdef") and not functions.has_key(f): + functions[f] = channel.attributes["ifdef"][0] + elif message.has_attr("ifdef") and not functions.has_key(f): + functions[f] = message.attributes["ifdef"][0] + else: + functions[f] = True + else: + for m in channel.server_messages: + message = m.message_type + f = write_message_marshaller(writer, message, is_server, private_marshallers) + if channel.has_attr("ifdef") and not functions.has_key(f): + functions[f] = channel.attributes["ifdef"][0] + elif message.has_attr("ifdef") and not functions.has_key(f): + functions[f] = message.attributes["ifdef"][0] + else: + functions[f] = True + if channel.has_attr("ifdef"): + writer.endif(channel.attributes["ifdef"][0]) + writer.header.endif(channel.attributes["ifdef"][0]) + + if private_marshallers: + scope = writer.function("spice_message_marshallers_get" + writer.public_prefix, + "SpiceMessageMarshallers *", + "void") + writer.writeln("static SpiceMessageMarshallers marshallers = {NULL};").newline() + for f in sorted(functions.keys()): + member = f[len("spice_marshall_"):] + if not member.startswith("msg"): + member = "msg_" + member + if functions[f] != True: + writer.ifdef(functions[f]) + writer.assign("marshallers.%s" % member, f) + if functions[f] != True: + writer.endif(functions[f]) + + writer.newline() + writer.statement("return &marshallers") + writer.end_block() + writer.newline() + +def write_trailer(writer): + writer.header.writeln("#endif") diff --git a/tizen/distrib/remote/common/spice-common/python_modules/ptypes.py b/tizen/distrib/remote/common/spice-common/python_modules/ptypes.py new file mode 100644 index 0000000..d9fbfe2 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/python_modules/ptypes.py @@ -0,0 +1,1044 @@ +import codegen +import types + +_types_by_name = {} +_types = [] + +default_pointer_size = 4 + +def type_exists(name): + return _types_by_name.has_key(name) + +def lookup_type(name): + return _types_by_name[name] + +def get_named_types(): + return _types + +class FixedSize: + def __init__(self, val = 0, minor = 0): + if isinstance(val, FixedSize): + self.vals = val.vals + else: + self.vals = [0] * (minor + 1) + self.vals[minor] = val + + def __add__(self, other): + if isinstance(other, types.IntType): + other = FixedSize(other) + + new = FixedSize() + l = max(len(self.vals), len(other.vals)) + shared = min(len(self.vals), len(other.vals)) + + new.vals = [0] * l + + for i in range(shared): + new.vals[i] = self.vals[i] + other.vals[i] + + for i in range(shared,len(self.vals)): + new.vals[i] = self.vals[i] + + for i in range(shared,len(other.vals)): + new.vals[i] = new.vals[i] + other.vals[i] + + return new + + def __radd__(self, other): + return self.__add__(other) + + def __str__(self): + s = "%d" % (self.vals[0]) + + for i in range(1,len(self.vals)): + if self.vals[i] > 0: + s = s + " + ((minor >= %d)?%d:0)" % (i, self.vals[i]) + return s + +# Some attribute are propagated from member to the type as they really +# are part of the type definition, rather than the member. This applies +# only to attributes that affect pointer or array attributes, as these +# are member local types, unlike e.g. a Struct that may be used by +# other members +propagated_attributes=["ptr_array", "nonnull", "chunk"] + +class Type: + def __init__(self): + self.attributes = {} + self.registred = False + self.name = None + + def has_name(self): + return self.name != None + + def get_type(self, recursive=False): + return self + + def is_primitive(self): + return False + + def is_fixed_sizeof(self): + return True + + def is_extra_size(self): + return False + + def contains_extra_size(self): + return False + + def is_fixed_nw_size(self): + return True + + def is_array(self): + return isinstance(self, ArrayType) + + def contains_member(self, member): + return False + + def is_struct(self): + return isinstance(self, StructType) + + def is_pointer(self): + return isinstance(self, PointerType) + + def get_num_pointers(self): + return 0 + + def get_pointer_names(self, marshalled): + return [] + + def sizeof(self): + return "sizeof(%s)" % (self.c_type()) + + def __repr__(self): + return self.__str__() + + def __str__(self): + if self.name != None: + return self.name + return "anonymous type" + + def resolve(self): + return self + + def register(self): + if self.registred or self.name == None: + return + self.registred = True + if _types_by_name.has_key(self.name): + raise Exception, "Type %s already defined" % self.name + _types.append(self) + _types_by_name[self.name] = self + + def has_attr(self, name): + return self.attributes.has_key(name) + +class TypeRef(Type): + def __init__(self, name): + Type.__init__(self) + self.name = name + + def __str__(self): + return "ref to %s" % (self.name) + + def resolve(self): + if not _types_by_name.has_key(self.name): + raise Exception, "Unknown type %s" % self.name + return _types_by_name[self.name] + + def register(self): + assert True, "Can't register TypeRef!" + + +class IntegerType(Type): + def __init__(self, bits, signed): + Type.__init__(self) + self.bits = bits + self.signed = signed + + if signed: + self.name = "int%d" % bits + else: + self.name = "uint%d" % bits + + def primitive_type(self): + return self.name + + def c_type(self): + return self.name + "_t" + + def get_fixed_nw_size(self): + return self.bits / 8 + + def is_primitive(self): + return True + +class TypeAlias(Type): + def __init__(self, name, the_type, attribute_list): + Type.__init__(self) + self.name = name + self.the_type = the_type + for attr in attribute_list: + self.attributes[attr[0][1:]] = attr[1:] + + def get_type(self, recursive=False): + if recursive: + return self.the_type.get_type(True) + else: + return self.the_type + + def primitive_type(self): + return self.the_type.primitive_type() + + def resolve(self): + self.the_type = self.the_type.resolve() + return self + + def __str__(self): + return "alias %s" % self.name + + def is_primitive(self): + return self.the_type.is_primitive() + + def is_fixed_sizeof(self): + return self.the_type.is_fixed_sizeof() + + def is_fixed_nw_size(self): + return self.the_type.is_fixed_nw_size() + + def get_fixed_nw_size(self): + return self.the_type.get_fixed_nw_size() + + def get_num_pointers(self): + return self.the_type.get_num_pointers() + + def get_pointer_names(self, marshalled): + return self.the_type.get_pointer_names(marshalled) + + def c_type(self): + if self.has_attr("ctype"): + return self.attributes["ctype"][0] + return self.name + +class EnumBaseType(Type): + def is_enum(self): + return isinstance(self, EnumType) + + def primitive_type(self): + return "uint%d" % (self.bits) + + def c_type(self): + return "uint%d_t" % (self.bits) + + def c_name(self): + return codegen.prefix_camel(self.name) + + def c_enumname(self, value): + return self.c_enumname_by_name(self.names[value]) + + def c_enumname_by_name(self, name): + if self.has_attr("prefix"): + return self.attributes["prefix"][0] + name + return codegen.prefix_underscore_upper(self.name.upper(), name) + + def is_primitive(self): + return True + + def get_fixed_nw_size(self): + return self.bits / 8 + +class EnumType(EnumBaseType): + def __init__(self, bits, name, enums, attribute_list): + Type.__init__(self) + self.bits = bits + self.name = name + + last = -1 + names = {} + values = {} + for v in enums: + name = v[0] + if len(v) > 1: + value = v[1] + else: + value = last + 1 + last = value + + assert not names.has_key(value) + names[value] = name + values[name] = value + + self.names = names + self.values = values + + for attr in attribute_list: + self.attributes[attr[0][1:]] = attr[1:] + + def __str__(self): + return "enum %s" % self.name + + def c_define(self, writer): + writer.write("typedef enum ") + writer.write(self.c_name()) + writer.begin_block() + values = self.names.keys() + values.sort() + current_default = 0 + for i in values: + writer.write(self.c_enumname(i)) + if i != current_default: + writer.write(" = %d" % (i)) + writer.write(",") + writer.newline() + current_default = i + 1 + writer.newline() + writer.write(codegen.prefix_underscore_upper(self.name.upper(), "ENUM_END")) + writer.newline() + writer.end_block(newline=False) + writer.write(" ") + writer.write(self.c_name()) + writer.write(";") + writer.newline() + writer.newline() + +class FlagsType(EnumBaseType): + def __init__(self, bits, name, flags, attribute_list): + Type.__init__(self) + self.bits = bits + self.name = name + + last = -1 + names = {} + values = {} + for v in flags: + name = v[0] + if len(v) > 1: + value = v[1] + else: + value = last + 1 + last = value + + assert not names.has_key(value) + names[value] = name + values[name] = value + + self.names = names + self.values = values + + for attr in attribute_list: + self.attributes[attr[0][1:]] = attr[1:] + + def __str__(self): + return "flags %s" % self.name + + def c_define(self, writer): + writer.write("typedef enum ") + writer.write(self.c_name()) + writer.begin_block() + values = self.names.keys() + values.sort() + mask = 0 + for i in values: + writer.write(self.c_enumname(i)) + mask = mask | (1<<i) + writer.write(" = (1 << %d)" % (i)) + writer.write(",") + writer.newline() + current_default = i + 1 + writer.newline() + writer.write(codegen.prefix_underscore_upper(self.name.upper(), "MASK")) + writer.write(" = 0x%x" % (mask)) + writer.newline() + writer.end_block(newline=False) + writer.write(" ") + writer.write(self.c_name()) + writer.write(";") + writer.newline() + writer.newline() + +class ArrayType(Type): + def __init__(self, element_type, size): + Type.__init__(self) + self.name = None + + self.element_type = element_type + self.size = size + + def __str__(self): + if self.size == None: + return "%s[]" % (str(self.element_type)) + else: + return "%s[%s]" % (str(self.element_type), str(self.size)) + + def resolve(self): + self.element_type = self.element_type.resolve() + return self + + def is_constant_length(self): + return isinstance(self.size, types.IntType) + + def is_remaining_length(self): + return isinstance(self.size, types.StringType) and len(self.size) == 0 + + def is_identifier_length(self): + return isinstance(self.size, types.StringType) and len(self.size) > 0 + + def is_image_size_length(self): + if isinstance(self.size, types.IntType) or isinstance(self.size, types.StringType): + return False + return self.size[0] == "image_size" + + def is_bytes_length(self): + if isinstance(self.size, types.IntType) or isinstance(self.size, types.StringType): + return False + return self.size[0] == "bytes" + + def is_cstring_length(self): + if isinstance(self.size, types.IntType) or isinstance(self.size, types.StringType): + return False + return self.size[0] == "cstring" + + def is_fixed_sizeof(self): + return self.is_constant_length() and self.element_type.is_fixed_sizeof() + + def is_fixed_nw_size(self): + return self.is_constant_length() and self.element_type.is_fixed_nw_size() + + def get_fixed_nw_size(self): + if not self.is_fixed_nw_size(): + raise Exception, "Not a fixed size type" + + return self.element_type.get_fixed_nw_size() * self.size + + def get_num_pointers(self): + element_count = self.element_type.get_num_pointers() + if element_count == 0: + return 0 + if self.is_constant_length(self): + return element_count * self.size + raise Exception, "Pointers in dynamic arrays not supported" + + def get_pointer_names(self, marshalled): + element_count = self.element_type.get_num_pointers() + if element_count == 0: + return [] + raise Exception, "Pointer names in arrays not supported" + + def is_extra_size(self): + return self.has_attr("ptr_array") + + def contains_extra_size(self): + return self.element_type.contains_extra_size() or self.has_attr("chunk") + + def sizeof(self): + return "%s * %s" % (self.element_type.sizeof(), self.size) + + def c_type(self): + return self.element_type.c_type() + +class PointerType(Type): + def __init__(self, target_type): + Type.__init__(self) + self.name = None + self.target_type = target_type + self.pointer_size = default_pointer_size + + def __str__(self): + return "%s*" % (str(self.target_type)) + + def resolve(self): + self.target_type = self.target_type.resolve() + return self + + def set_ptr_size(self, new_size): + self.pointer_size = new_size + + def is_fixed_nw_size(self): + return True + + def is_primitive(self): + return True + + def primitive_type(self): + if self.pointer_size == 4: + return "uint32" + else: + return "uint64" + + def get_fixed_nw_size(self): + return self.pointer_size + + def c_type(self): + if self.pointer_size == 4: + return "uint32_t" + else: + return "uint64_t" + + def contains_extra_size(self): + return True + + def get_num_pointers(self): + return 1 + +class Containee: + def __init__(self): + self.attributes = {} + + def is_switch(self): + return False + + def is_pointer(self): + return not self.is_switch() and self.member_type.is_pointer() + + def is_array(self): + return not self.is_switch() and self.member_type.is_array() + + def is_struct(self): + return not self.is_switch() and self.member_type.is_struct() + + def is_primitive(self): + return not self.is_switch() and self.member_type.is_primitive() + + def has_attr(self, name): + return self.attributes.has_key(name) + + def has_minor_attr(self): + return self.has_attr("minor") + + def has_end_attr(self): + return self.has_attr("end") + + def get_minor_attr(self): + return self.attributes["minor"][0] + +class Member(Containee): + def __init__(self, name, member_type, attribute_list): + Containee.__init__(self) + self.name = name + self.member_type = member_type + for attr in attribute_list: + self.attributes[attr[0][1:]] = attr[1:] + + def resolve(self, container): + self.container = container + self.member_type = self.member_type.resolve() + self.member_type.register() + if self.has_attr("ptr32") and self.member_type.is_pointer(): + self.member_type.set_ptr_size(4) + for i in propagated_attributes: + if self.has_attr(i): + self.member_type.attributes[i] = self.attributes[i] + return self + + def contains_member(self, member): + return self.member_type.contains_member(member) + + def is_primitive(self): + return self.member_type.is_primitive() + + def is_fixed_sizeof(self): + if self.has_end_attr(): + return False + return self.member_type.is_fixed_sizeof() + + def is_extra_size(self): + return self.has_end_attr() or self.has_attr("to_ptr") or self.member_type.is_extra_size() + + def is_fixed_nw_size(self): + if self.has_attr("virtual"): + return True + return self.member_type.is_fixed_nw_size() + + def get_fixed_nw_size(self): + if self.has_attr("virtual"): + return 0 + size = self.member_type.get_fixed_nw_size() + if self.has_minor_attr(): + minor = self.get_minor_attr() + size = FixedSize(size, minor) + return size + + def contains_extra_size(self): + return self.member_type.contains_extra_size() + + def sizeof(self): + return self.member_type.sizeof() + + def __repr__(self): + return "%s (%s)" % (str(self.name), str(self.member_type)) + + def get_num_pointers(self): + if self.has_attr("to_ptr"): + return 1 + return self.member_type.get_num_pointers() + + def get_pointer_names(self, marshalled): + if self.member_type.is_pointer(): + if self.has_attr("marshall") == marshalled: + names = [self.name] + else: + names = [] + else: + names = self.member_type.get_pointer_names(marshalled) + if self.has_attr("outvar"): + prefix = self.attributes["outvar"][0] + names = map(lambda name: prefix + "_" + name, names) + return names + +class SwitchCase: + def __init__(self, values, member): + self.values = values + self.member = member + self.members = [member] + + def get_check(self, var_cname, var_type): + checks = [] + for v in self.values: + if v == None: + return "1" + elif var_type.is_enum(): + checks.append("%s == %s" % (var_cname, var_type.c_enumname_by_name(v[1]))) + else: + checks.append("%s(%s & %s)" % (v[0], var_cname, var_type.c_enumname_by_name(v[1]))) + return " || ".join(checks) + + def resolve(self, container): + self.switch = container + self.member = self.member.resolve(self) + return self + + def get_num_pointers(self): + return self.member.get_num_pointers() + + def get_pointer_names(self, marshalled): + return self.member.get_pointer_names(marshalled) + +class Switch(Containee): + def __init__(self, variable, cases, name, attribute_list): + Containee.__init__(self) + self.variable = variable + self.name = name + self.cases = cases + for attr in attribute_list: + self.attributes[attr[0][1:]] = attr[1:] + + def is_switch(self): + return True + + def lookup_case_member(self, name): + for c in self.cases: + if c.member.name == name: + return c.member + return None + + def has_switch_member(self, member): + for c in self.cases: + if c.member == member: + return True + return False + + def resolve(self, container): + self.container = container + self.cases = map(lambda c : c.resolve(self), self.cases) + return self + + def __repr__(self): + return "switch on %s %s" % (str(self.variable),str(self.name)) + + def is_fixed_sizeof(self): + # Kinda weird, but we're unlikely to have a real struct if there is an @end + if self.has_end_attr(): + return False + return True + + def is_fixed_nw_size(self): + if self.has_attr("fixedsize"): + return True + + size = None + has_default = False + for c in self.cases: + for v in c.values: + if v == None: + has_default = True + if not c.member.is_fixed_nw_size(): + return False + if size == None: + size = c.member.get_fixed_nw_size() + elif size != c.member.get_fixed_nw_size(): + return False + # Fixed size if all elements listed, or has default + if has_default: + return True + key = self.container.lookup_member(self.variable) + return len(self.cases) == len(key.member_type.values) + + def is_extra_size(self): + return self.has_end_attr() + + def contains_extra_size(self): + for c in self.cases: + if c.member.is_extra_size(): + return True + if c.member.contains_extra_size(): + return True + return False + + def get_fixed_nw_size(self): + if not self.is_fixed_nw_size(): + raise Exception, "Not a fixed size type" + size = 0 + for c in self.cases: + size = max(size, c.member.get_fixed_nw_size()) + return size + + def sizeof(self): + return "sizeof(((%s *)NULL)->%s)" % (self.container.c_type(), + self.name) + + def contains_member(self, member): + return False # TODO: Don't support switch deep member lookup yet + + def get_num_pointers(self): + count = 0 + for c in self.cases: + count = max(count, c.get_num_pointers()) + return count + + def get_pointer_names(self, marshalled): + names = [] + for c in self.cases: + names = names + c.get_pointer_names(marshalled) + return names + +class ContainerType(Type): + def is_fixed_sizeof(self): + for m in self.members: + if not m.is_fixed_sizeof(): + return False + return True + + def contains_extra_size(self): + for m in self.members: + if m.is_extra_size(): + return True + if m.contains_extra_size(): + return True + return False + + def is_fixed_nw_size(self): + for i in self.members: + if not i.is_fixed_nw_size(): + return False + return True + + def get_fixed_nw_size(self): + size = 0 + for i in self.members: + size = size + i.get_fixed_nw_size() + return size + + def contains_member(self, member): + for m in self.members: + if m == member or m.contains_member(member): + return True + return False + + def get_fixed_nw_offset(self, member): + size = 0 + for i in self.members: + if i == member: + break + if i.contains_member(member): + size = size + i.member_type.get_fixed_nw_offset(member) + break + if i.is_fixed_nw_size(): + size = size + i.get_fixed_nw_size() + return size + + def resolve(self): + self.members = map(lambda m : m.resolve(self), self.members) + return self + + def get_num_pointers(self): + count = 0 + for m in self.members: + count = count + m.get_num_pointers() + return count + + def get_pointer_names(self, marshalled): + names = [] + for m in self.members: + names = names + m.get_pointer_names(marshalled) + return names + + def get_nw_offset(self, member, prefix = "", postfix = ""): + fixed = self.get_fixed_nw_offset(member) + v = [] + container = self + while container != None: + members = container.members + container = None + for m in members: + if m == member: + break + if m.contains_member(member): + container = m.member_type + break + if m.is_switch() and m.has_switch_member(member): + break + if not m.is_fixed_nw_size(): + v.append(prefix + m.name + postfix) + if len(v) > 0: + return str(fixed) + " + " + (" + ".join(v)) + else: + return str(fixed) + + def lookup_member(self, name): + dot = name.find('.') + rest = None + if dot >= 0: + rest = name[dot+1:] + name = name[:dot] + + member = None + if self.members_by_name.has_key(name): + member = self.members_by_name[name] + else: + for m in self.members: + if m.is_switch(): + member = m.lookup_case_member(name) + if member != None: + break + if member != None: + break + + if member == None: + raise Exception, "No member called %s found" % name + + if rest != None: + return member.member_type.lookup_member(rest) + + return member + +class StructType(ContainerType): + def __init__(self, name, members, attribute_list): + Type.__init__(self) + self.name = name + self.members = members + self.members_by_name = {} + for m in members: + self.members_by_name[m.name] = m + for attr in attribute_list: + self.attributes[attr[0][1:]] = attr[1:] + + def __str__(self): + if self.name == None: + return "anonymous struct" + else: + return "struct %s" % self.name + + def c_type(self): + if self.has_attr("ctype"): + return self.attributes["ctype"][0] + return codegen.prefix_camel(self.name) + +class MessageType(ContainerType): + def __init__(self, name, members, attribute_list): + Type.__init__(self) + self.name = name + self.members = members + self.members_by_name = {} + for m in members: + self.members_by_name[m.name] = m + self.reverse_members = {} # ChannelMembers referencing this message + for attr in attribute_list: + self.attributes[attr[0][1:]] = attr[1:] + + def __str__(self): + if self.name == None: + return "anonymous message" + else: + return "message %s" % self.name + + def c_name(self): + if self.name == None: + cms = self.reverse_members.keys() + if len(cms) != 1: + raise "Unknown typename for message" + cm = cms[0] + channelname = cm.channel.member_name + if channelname == None: + channelname = "" + else: + channelname = channelname + "_" + if cm.is_server: + return "msg_" + channelname + cm.name + else: + return "msgc_" + channelname + cm.name + else: + return codegen.prefix_camel("Msg", self.name) + + def c_type(self): + if self.has_attr("ctype"): + return self.attributes["ctype"][0] + if self.name == None: + cms = self.reverse_members.keys() + if len(cms) != 1: + raise "Unknown typename for message" + cm = cms[0] + channelname = cm.channel.member_name + if channelname == None: + channelname = "" + if cm.is_server: + return codegen.prefix_camel("Msg", channelname, cm.name) + else: + return codegen.prefix_camel("Msgc", channelname, cm.name) + else: + return codegen.prefix_camel("Msg", self.name) + +class ChannelMember(Containee): + def __init__(self, name, message_type, value): + Containee.__init__(self) + self.name = name + self.message_type = message_type + self.value = value + + def resolve(self, channel): + self.channel = channel + self.message_type = self.message_type.resolve() + self.message_type.reverse_members[self] = 1 + + return self + + def __repr__(self): + return "%s (%s)" % (str(self.name), str(self.message_type)) + +class ChannelType(Type): + def __init__(self, name, base, members, attribute_list): + Type.__init__(self) + self.name = name + self.base = base + self.member_name = None + self.members = members + for attr in attribute_list: + self.attributes[attr[0][1:]] = attr[1:] + + def __str__(self): + if self.name == None: + return "anonymous channel" + else: + return "channel %s" % self.name + + def is_fixed_nw_size(self): + return False + + def get_client_message(self, name): + return self.client_messages_byname[name] + + def get_server_message(self, name): + return self.server_messages_byname[name] + + def resolve(self): + if self.base != None: + self.base = self.base.resolve() + + server_messages = self.base.server_messages[:] + server_messages_byname = self.base.server_messages_byname.copy() + client_messages = self.base.client_messages[:] + client_messages_byname = self.base.client_messages_byname.copy() + + # Set default member_name, FooChannel -> foo + self.member_name = self.name[:-7].lower() + else: + server_messages = [] + server_messages_byname = {} + client_messages = [] + client_messages_byname = {} + + server_count = 1 + client_count = 1 + + server = True + for m in self.members: + if m == "server": + server = True + elif m == "client": + server = False + elif server: + m.is_server = True + m = m.resolve(self) + if m.value: + server_count = m.value + 1 + else: + m.value = server_count + server_count = server_count + 1 + server_messages.append(m) + server_messages_byname[m.name] = m + else: + m.is_server = False + m = m.resolve(self) + if m.value: + client_count = m.value + 1 + else: + m.value = client_count + client_count = client_count + 1 + client_messages.append(m) + client_messages_byname[m.name] = m + + self.server_messages = server_messages + self.server_messages_byname = server_messages_byname + self.client_messages = client_messages + self.client_messages_byname = client_messages_byname + + return self + +class ProtocolMember: + def __init__(self, name, channel_type, value): + self.name = name + self.channel_type = channel_type + self.value = value + + def resolve(self, protocol): + self.channel_type = self.channel_type.resolve() + self.channel_type.member_name = self.name + return self + + def __repr__(self): + return "%s (%s)" % (str(self.name), str(self.channel_type)) + +class ProtocolType(Type): + def __init__(self, name, channels): + Type.__init__(self) + self.name = name + self.channels = channels + + def __str__(self): + if self.name == None: + return "anonymous protocol" + else: + return "protocol %s" % self.name + + def is_fixed_nw_size(self): + return False + + def resolve(self): + count = 1 + for m in self.channels: + m = m.resolve(self) + if m.value: + count = m.value + 1 + else: + m.value = count + count = count + 1 + + return self + +int8 = IntegerType(8, True) +uint8 = IntegerType(8, False) +int16 = IntegerType(16, True) +uint16 = IntegerType(16, False) +int32 = IntegerType(32, True) +uint32 = IntegerType(32, False) +int64 = IntegerType(64, True) +uint64 = IntegerType(64, False) diff --git a/tizen/distrib/remote/common/spice-common/python_modules/spice_parser.py b/tizen/distrib/remote/common/spice-common/python_modules/spice_parser.py new file mode 100644 index 0000000..44456ab --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/python_modules/spice_parser.py @@ -0,0 +1,161 @@ +try: + from pyparsing import Literal, CaselessLiteral, Word, OneOrMore, ZeroOrMore, \ + Forward, delimitedList, Group, Optional, Combine, alphas, nums, restOfLine, cStyleComment, \ + alphanums, ParseException, ParseResults, Keyword, StringEnd, replaceWith +except ImportError: + print "Module pyparsing not found." + exit(1) + + +import ptypes +import sys + +cvtInt = lambda toks: int(toks[0]) + +def parseVariableDef(toks): + t = toks[0][0] + pointer = toks[0][1] + name = toks[0][2] + array_size = toks[0][3] + attributes = toks[0][4] + + if array_size != None: + t = ptypes.ArrayType(t, array_size) + + if pointer != None: + t = ptypes.PointerType(t) + + return ptypes.Member(name, t, attributes) + +bnf = None +def SPICE_BNF(): + global bnf + + if not bnf: + + # punctuation + colon = Literal(":").suppress() + lbrace = Literal("{").suppress() + rbrace = Literal("}").suppress() + lbrack = Literal("[").suppress() + rbrack = Literal("]").suppress() + lparen = Literal("(").suppress() + rparen = Literal(")").suppress() + equals = Literal("=").suppress() + comma = Literal(",").suppress() + semi = Literal(";").suppress() + + # primitive types + int8_ = Keyword("int8").setParseAction(replaceWith(ptypes.int8)) + uint8_ = Keyword("uint8").setParseAction(replaceWith(ptypes.uint8)) + int16_ = Keyword("int16").setParseAction(replaceWith(ptypes.int16)) + uint16_ = Keyword("uint16").setParseAction(replaceWith(ptypes.uint16)) + int32_ = Keyword("int32").setParseAction(replaceWith(ptypes.int32)) + uint32_ = Keyword("uint32").setParseAction(replaceWith(ptypes.uint32)) + int64_ = Keyword("int64").setParseAction(replaceWith(ptypes.int64)) + uint64_ = Keyword("uint64").setParseAction(replaceWith(ptypes.uint64)) + + # keywords + channel_ = Keyword("channel") + enum32_ = Keyword("enum32").setParseAction(replaceWith(32)) + enum16_ = Keyword("enum16").setParseAction(replaceWith(16)) + enum8_ = Keyword("enum8").setParseAction(replaceWith(8)) + flags32_ = Keyword("flags32").setParseAction(replaceWith(32)) + flags16_ = Keyword("flags16").setParseAction(replaceWith(16)) + flags8_ = Keyword("flags8").setParseAction(replaceWith(8)) + channel_ = Keyword("channel") + server_ = Keyword("server") + client_ = Keyword("client") + protocol_ = Keyword("protocol") + typedef_ = Keyword("typedef") + struct_ = Keyword("struct") + message_ = Keyword("message") + image_size_ = Keyword("image_size") + bytes_ = Keyword("bytes") + cstring_ = Keyword("cstring") + switch_ = Keyword("switch") + default_ = Keyword("default") + case_ = Keyword("case") + + identifier = Word( alphas, alphanums + "_" ) + enumname = Word( alphanums + "_" ) + + integer = ( Combine( CaselessLiteral("0x") + Word( nums+"abcdefABCDEF" ) ) | + Word( nums+"+-", nums ) ).setName("int").setParseAction(cvtInt) + + typename = identifier.copy().setParseAction(lambda toks : ptypes.TypeRef(str(toks[0]))) + + # This is just normal "types", i.e. not channels or messages + typeSpec = Forward() + + attributeValue = integer ^ identifier + attribute = Group(Combine ("@" + identifier) + Optional(lparen + delimitedList(attributeValue) + rparen)) + attributes = Group(ZeroOrMore(attribute)) + arraySizeSpecImage = Group(image_size_ + lparen + integer + comma + identifier + comma + identifier + rparen) + arraySizeSpecBytes = Group(bytes_ + lparen + identifier + comma + identifier + rparen) + arraySizeSpecCString = Group(cstring_ + lparen + rparen) + arraySizeSpec = lbrack + Optional(identifier ^ integer ^ arraySizeSpecImage ^ arraySizeSpecBytes ^arraySizeSpecCString, default="") + rbrack + variableDef = Group(typeSpec + Optional("*", default=None) + identifier + Optional(arraySizeSpec, default=None) + attributes - semi) \ + .setParseAction(parseVariableDef) + + switchCase = Group(Group(OneOrMore(default_.setParseAction(replaceWith(None)) + colon | Group(case_.suppress() + Optional("!", default="") + identifier) + colon)) + variableDef) \ + .setParseAction(lambda toks: ptypes.SwitchCase(toks[0][0], toks[0][1])) + switchBody = Group(switch_ + lparen + delimitedList(identifier,delim='.', combine=True) + rparen + lbrace + Group(OneOrMore(switchCase)) + rbrace + identifier + attributes - semi) \ + .setParseAction(lambda toks: ptypes.Switch(toks[0][1], toks[0][2], toks[0][3], toks[0][4])) + messageBody = structBody = Group(lbrace + ZeroOrMore(variableDef | switchBody) + rbrace) + structSpec = Group(struct_ + identifier + structBody + attributes).setParseAction(lambda toks: ptypes.StructType(toks[0][1], toks[0][2], toks[0][3])) + + # have to use longest match for type, in case a user-defined type name starts with a keyword type, like "channel_type" + typeSpec << ( structSpec ^ int8_ ^ uint8_ ^ int16_ ^ uint16_ ^ + int32_ ^ uint32_ ^ int64_ ^ uint64_ ^ + typename).setName("type") + + flagsBody = enumBody = Group(lbrace + delimitedList(Group (enumname + Optional(equals + integer))) + Optional(comma) + rbrace) + + messageSpec = Group(message_ + messageBody + attributes).setParseAction(lambda toks: ptypes.MessageType(None, toks[0][1], toks[0][2])) | typename + + channelParent = Optional(colon + typename, default=None) + channelMessage = Group(messageSpec + identifier + Optional(equals + integer, default=None) + semi) \ + .setParseAction(lambda toks: ptypes.ChannelMember(toks[0][1], toks[0][0], toks[0][2])) + channelBody = channelParent + Group(lbrace + ZeroOrMore( server_ + colon | client_ + colon | channelMessage) + rbrace) + + enum_ = (enum32_ | enum16_ | enum8_) + flags_ = (flags32_ | flags16_ | flags8_) + enumDef = Group(enum_ + identifier + enumBody + attributes - semi).setParseAction(lambda toks: ptypes.EnumType(toks[0][0], toks[0][1], toks[0][2], toks[0][3])) + flagsDef = Group(flags_ + identifier + flagsBody + attributes - semi).setParseAction(lambda toks: ptypes.FlagsType(toks[0][0], toks[0][1], toks[0][2], toks[0][3])) + messageDef = Group(message_ + identifier + messageBody + attributes - semi).setParseAction(lambda toks: ptypes.MessageType(toks[0][1], toks[0][2], toks[0][3])) + channelDef = Group(channel_ + identifier + channelBody + attributes - semi).setParseAction(lambda toks: ptypes.ChannelType(toks[0][1], toks[0][2], toks[0][3], toks[0][4])) + structDef = Group(struct_ + identifier + structBody + attributes - semi).setParseAction(lambda toks: ptypes.StructType(toks[0][1], toks[0][2], toks[0][3])) + typedefDef = Group(typedef_ + identifier + typeSpec + attributes - semi).setParseAction(lambda toks: ptypes.TypeAlias(toks[0][1], toks[0][2], toks[0][3])) + + definitions = typedefDef | structDef | enumDef | flagsDef | messageDef | channelDef + + protocolChannel = Group(typename + identifier + Optional(equals + integer, default=None) + semi) \ + .setParseAction(lambda toks: ptypes.ProtocolMember(toks[0][1], toks[0][0], toks[0][2])) + protocolDef = Group(protocol_ + identifier + Group(lbrace + ZeroOrMore(protocolChannel) + rbrace) + semi) \ + .setParseAction(lambda toks: ptypes.ProtocolType(toks[0][1], toks[0][2])) + + bnf = ZeroOrMore (definitions) + protocolDef + StringEnd() + + singleLineComment = "//" + restOfLine + bnf.ignore( singleLineComment ) + bnf.ignore( cStyleComment ) + + return bnf + + +def parse(filename): + try: + bnf = SPICE_BNF() + types = bnf.parseFile(filename) + except ParseException, err: + print >> sys.stderr, err.line + print >> sys.stderr, " "*(err.column-1) + "^" + print >> sys.stderr, err + return None + + for t in types: + t.resolve() + t.register() + protocol = types[-1] + return protocol diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/AUTHORS b/tizen/distrib/remote/common/spice-common/spice-protocol/AUTHORS new file mode 100644 index 0000000..e69de29 diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/COPYING b/tizen/distrib/remote/common/spice-common/spice-protocol/COPYING new file mode 100644 index 0000000..bce458d --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/COPYING @@ -0,0 +1,25 @@ +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS +IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/ChangeLog b/tizen/distrib/remote/common/spice-common/spice-protocol/ChangeLog new file mode 100644 index 0000000..e69de29 diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/INSTALL b/tizen/distrib/remote/common/spice-common/spice-protocol/INSTALL new file mode 100644 index 0000000..6e90e07 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/INSTALL @@ -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. diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/Makefile.am b/tizen/distrib/remote/common/spice-common/spice-protocol/Makefile.am new file mode 100644 index 0000000..d2e49a4 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/Makefile.am @@ -0,0 +1,24 @@ +NULL = +SUBDIRS = spice + +pkgconfigdir = $(datadir)/pkgconfig +pkgconfig_DATA = spice-protocol.pc + +MAINTAINERCLEANFILES = \ + $(srcdir)/INSTALL \ + $(srcdir)/aclocal.m4 \ + $(srcdir)/autoscan.log \ + $(srcdir)/compile \ + $(srcdir)/config.guess \ + $(srcdir)/config.h.in \ + $(srcdir)/config.sub \ + $(srcdir)/configure.scan \ + $(srcdir)/depcomp \ + $(srcdir)/install-sh \ + $(srcdir)/ltmain.sh \ + $(srcdir)/missing \ + $(srcdir)/mkinstalldirs \ + `find "$(srcdir)" -type f -name Makefile.in -print` \ + $(NULL) + +-include $(top_srcdir)/git.mk diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/Makefile.in b/tizen/distrib/remote/common/spice-common/spice-protocol/Makefile.in new file mode 100644 index 0000000..de7cc18 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/Makefile.in @@ -0,0 +1,785 @@ +# Makefile.in generated by automake 1.13.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2012 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@ + +VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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 = : +subdir = . +DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \ + $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ + $(top_srcdir)/configure $(am__configure_deps) \ + $(srcdir)/config.h.in $(srcdir)/spice-protocol.pc.in COPYING \ + install-sh missing +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = config.h +CONFIG_CLEAN_FILES = spice-protocol.pc +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +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; }; \ + } +am__installdirs = "$(DESTDIR)$(pkgconfigdir)" +DATA = $(pkgconfig_DATA) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ + cscope distdir dist dist-all distcheck +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ + $(LISP)config.h.in +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +CSCOPE = cscope +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + if test -d "$(distdir)"; then \ + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -rf "$(distdir)" \ + || { sleep 5 && rm -rf "$(distdir)"; }; \ + else :; fi +am__post_remove_distdir = $(am__remove_distdir) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 +GZIP_ENV = --best +DIST_TARGETS = dist-bzip2 dist-gzip +distuninstallcheck_listfiles = find . -type f -print +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' +distcleancheck_listfiles = find . -type f -print +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +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@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +VERSION = @VERSION@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +am__leading_dot = @am__leading_dot@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build_alias = @build_alias@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host_alias = @host_alias@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +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@ +NULL = +SUBDIRS = spice +pkgconfigdir = $(datadir)/pkgconfig +pkgconfig_DATA = spice-protocol.pc +MAINTAINERCLEANFILES = \ + $(srcdir)/INSTALL \ + $(srcdir)/aclocal.m4 \ + $(srcdir)/autoscan.log \ + $(srcdir)/compile \ + $(srcdir)/config.guess \ + $(srcdir)/config.h.in \ + $(srcdir)/config.sub \ + $(srcdir)/configure.scan \ + $(srcdir)/depcomp \ + $(srcdir)/install-sh \ + $(srcdir)/ltmain.sh \ + $(srcdir)/missing \ + $(srcdir)/mkinstalldirs \ + `find "$(srcdir)" -type f -name Makefile.in -print` \ + $(NULL) + +all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: +am--refresh: Makefile + @: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ + $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + $(am__cd) $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +$(am__aclocal_m4_deps): + +config.h: stamp-h1 + @if test ! -f $@; then rm -f stamp-h1; else :; fi + @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi + +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config.h +$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) + rm -f stamp-h1 + touch $@ + +distclean-hdr: + -rm -f config.h stamp-h1 +spice-protocol.pc: $(top_builddir)/config.status $(srcdir)/spice-protocol.pc.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +install-pkgconfigDATA: $(pkgconfig_DATA) + @$(NORMAL_INSTALL) + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ + done + +uninstall-pkgconfigDATA: + @$(NORMAL_UNINSTALL) + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir) + +# This directory's subdirectories are mostly independent; you can cd +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscope: cscope.files + test ! -s cscope.files \ + || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) +clean-cscope: + -rm -f cscope.files +cscope.files: clean-cscope cscopelist +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + -rm -f cscope.out cscope.in.out cscope.po.out cscope.files + +distdir: $(DISTFILES) + $(am__remove_distdir) + test -d "$(distdir)" || mkdir "$(distdir)" + @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 + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done + -test -n "$(am__skip_mode_fix)" \ + || find "$(distdir)" -type d ! -perm -755 \ + -exec chmod u+rwx,go+rx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r "$(distdir)" +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__post_remove_distdir) +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 + $(am__post_remove_distdir) + +dist-lzip: distdir + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz + $(am__post_remove_distdir) + +dist-xz: distdir + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz + $(am__post_remove_distdir) + +dist-tarZ: distdir + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__post_remove_distdir) + +dist-shar: distdir + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + $(am__post_remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__post_remove_distdir) + +dist dist-all: + $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' + $(am__post_remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lz*) \ + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ + *.tar.xz*) \ + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir) + chmod u+w $(distdir) + mkdir $(distdir)/_build $(distdir)/_inst + chmod a-w $(distdir) + test -d $(distdir)/_build || exit 0; \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && am__cwd=`pwd` \ + && $(am__cd) $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(AM_DISTCHECK_CONFIGURE_FLAGS) \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ + && cd "$$am__cwd" \ + || exit 1 + $(am__post_remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' +distuninstallcheck: + @test -n '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: trying to run $@ with an empty' \ + '$$(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + $(am__cd) '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: check-recursive +all-am: Makefile $(DATA) config.h +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(pkgconfigdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +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-recursive + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-hdr distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: install-pkgconfigDATA + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-pkgconfigDATA + +.MAKE: $(am__recursive_targets) all install-am install-strip + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ + am--refresh check check-am clean clean-cscope clean-generic \ + cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ + dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ + distcheck distclean distclean-generic distclean-hdr \ + distclean-tags distcleancheck distdir distuninstallcheck 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-pdf \ + install-pdf-am install-pkgconfigDATA install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + installdirs-am maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \ + tags-am uninstall uninstall-am uninstall-pkgconfigDATA + + +-include $(top_srcdir)/git.mk + +# 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: diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/NEWS b/tizen/distrib/remote/common/spice-common/spice-protocol/NEWS new file mode 100644 index 0000000..a602292 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/NEWS @@ -0,0 +1,123 @@ +Major changes in 0.12.5 +======================= +* Add agent file xfer success status +* Add a client-disconnected agent message + +Major changes in 0.12.4 +======================= +* Add agent file copy support. +* Add agent sparse monitors capability. +* Add controller proxy message. + +Major changes in 0.12.3 +======================= +* Add a generic "port" channel + +Major changes in 0.12.2 +======================= +* Add A8 surface capability in display channel. +* Add to qxl device support for: + * client present + * client capabilities + * client monitors configuration + +Major changes in 0.12.1 +======================= +* Support seamless migration. +* New QXLComposite message for better X support. +* Support arbitrary scancode message INPUTS_KEY_SCANCODE. + +Major changes in 0.12.0 +======================= +* Add support for arbitrary resolution on Windows QXL with + QXL_ESCAPE_SET_CUSTOM_DISPLAY +* Add support for arbitrary resolution and multiple monitor per + display channel with QXLMonitorsConfig and co +* build cleanup + +Major changes in 0.10.3 (0.10.2 was never released) +=================================================== +* Add support for video streams with differently sized (wxh) data +* Add controller messages for USB redirection, COLOR_DEPTH, DISABLE_EFFECTS, + and ENABLE_SMARTCARD +* Add name & uuid messages on main channel +* some cleanups +* Fixes RHBZ#815422, RHBZ#807295, RHBZ#787447 + +Major changes in 0.10.1 +======================= +* Add support for a header without sublist and serial (mini header) + +Major changes in 0.10.0 +======================= +* no changes, released to match version with spice + +Major changes in 0.9.1 (same as 0.8.2 in 0.8 branch) +====================== +* Add support for semi-seamless migration + +Major changes in 0.9.0 +====================== +* Add support for generic spicevmc chardev passthrough messages +* Add USB redirection channel + +Major changes in 0.8.1 +====================== +* Add support for volume change +* Add support for async guest io writes and interrupt +* Add support for suspend related guest io writes +* Add support for interrupt indicating guest bug + +Major changes in 0.8.0 +====================== +* Add support for different clipboards (selections) to vd_agent copy paste +* Add support for using different authentication mechanisms (just SASL for now) + +Major changes in 0.7.1 +====================== +* Add some enums for the xorg qxl driver +* Some other small fixes + +Major changes in 0.7.0 +====================== +* Add smartcard channel + +Major changes in 0.6.4 +====================== +* Make controller client protocol menu text UTF8 rather then 16 bit unicode + +Major changes in 0.6.3: +======================= +* Add support for copy and paste to the agent protocol +* Add foreign-menu and external controller client protocol headers + +Major changes in 0.6.2: +======================= +* Skipped to stay in sync with spice + +Major changes in 0.6.1: +======================= +* Added compat flag for 16bpp commands + +Major changes in 0.6.0: +======================= +* Initial messages for clipboard sharing +* Move agent protocol structs from spice to spice-protocol +* Add capabilities to agent protocol + +Major changes in 0.5.3: +======================= + +Network major number changed to 2 to reflect that the network +protocol is now stable and backwards compatible from this point. + +Some vdagent messages for display settings and clipboard sharing +were added. + +Major changes in 0.5.2: +======================= + +This is the first release of the unstable 0.5.x series leading up to 0.6. +This module was split out of spice so that e.g. drivers and qemu can +get the types and constants they need without using the full spice +codebase. diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/README b/tizen/distrib/remote/common/spice-common/spice-protocol/README new file mode 100644 index 0000000..e69de29 diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/aclocal.m4 b/tizen/distrib/remote/common/spice-common/spice-protocol/aclocal.m4 new file mode 100644 index 0000000..6eafc1c --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/aclocal.m4 @@ -0,0 +1,786 @@ +# generated automatically by aclocal 1.13.1 -*- Autoconf -*- + +# Copyright (C) 1996-2012 Free Software Foundation, Inc. + +# This file 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. + +m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, +[m4_warning([this file was generated for autoconf 2.69. +You have another version of autoconf. It may work, but is not guaranteed to. +If you have problems, you may need to regenerate the build system entirely. +To do so, use the procedure documented by the package, typically 'autoreconf'.])]) + +# Copyright (C) 2002-2013 Free Software Foundation, Inc. +# +# This file 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. + +# AM_AUTOMAKE_VERSION(VERSION) +# ---------------------------- +# Automake X.Y traces this macro to ensure aclocal.m4 has been +# generated from the m4 files accompanying Automake X.Y. +# (This private macro should not be called outside this file.) +AC_DEFUN([AM_AUTOMAKE_VERSION], +[am__api_version='1.13' +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to +dnl require some minimum version. Point them to the right macro. +m4_if([$1], [1.13.1], [], + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl +]) + +# _AM_AUTOCONF_VERSION(VERSION) +# ----------------------------- +# aclocal traces this macro to find the Autoconf version. +# This is a private macro too. Using m4_define simplifies +# the logic in aclocal, which can simply ignore this definition. +m4_define([_AM_AUTOCONF_VERSION], []) + +# AM_SET_CURRENT_AUTOMAKE_VERSION +# ------------------------------- +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], +[AM_AUTOMAKE_VERSION([1.13.1])dnl +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) + +# AM_AUX_DIR_EXPAND -*- Autoconf -*- + +# Copyright (C) 2001-2013 Free Software Foundation, Inc. +# +# This file 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. + +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets +# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to +# '$srcdir', '$srcdir/..', or '$srcdir/../..'. +# +# Of course, Automake must honor this variable whenever it calls a +# tool from the auxiliary directory. The problem is that $srcdir (and +# therefore $ac_aux_dir as well) can be either absolute or relative, +# depending on how configure is run. This is pretty annoying, since +# it makes $ac_aux_dir quite unusable in subdirectories: in the top +# source directory, any form will work fine, but in subdirectories a +# relative path needs to be adjusted first. +# +# $ac_aux_dir/missing +# fails when called from a subdirectory if $ac_aux_dir is relative +# $top_srcdir/$ac_aux_dir/missing +# fails if $ac_aux_dir is absolute, +# fails when called from a subdirectory in a VPATH build with +# a relative $ac_aux_dir +# +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir +# are both prefixed by $srcdir. In an in-source build this is usually +# harmless because $srcdir is '.', but things will broke when you +# start a VPATH build or use an absolute $srcdir. +# +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` +# and then we would define $MISSING as +# MISSING="\${SHELL} $am_aux_dir/missing" +# This will work as long as MISSING is not called from configure, because +# unfortunately $(top_srcdir) has no meaning in configure. +# However there are other variables, like CC, which are often used in +# configure, and could therefore not use this "fixed" $ac_aux_dir. +# +# Another solution, used here, is to always expand $ac_aux_dir to an +# absolute PATH. The drawback is that using absolute paths prevent a +# configured tree to be moved without reconfiguration. + +AC_DEFUN([AM_AUX_DIR_EXPAND], +[dnl Rely on autoconf to set up CDPATH properly. +AC_PREREQ([2.50])dnl +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` +]) + +# AM_CONDITIONAL -*- Autoconf -*- + +# Copyright (C) 1997-2013 Free Software Foundation, Inc. +# +# This file 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. + +# AM_CONDITIONAL(NAME, SHELL-CONDITION) +# ------------------------------------- +# Define a conditional. +AC_DEFUN([AM_CONDITIONAL], +[AC_PREREQ([2.52])dnl + m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl +AC_SUBST([$1_TRUE])dnl +AC_SUBST([$1_FALSE])dnl +_AM_SUBST_NOTMAKE([$1_TRUE])dnl +_AM_SUBST_NOTMAKE([$1_FALSE])dnl +m4_define([_AM_COND_VALUE_$1], [$2])dnl +if $2; then + $1_TRUE= + $1_FALSE='#' +else + $1_TRUE='#' + $1_FALSE= +fi +AC_CONFIG_COMMANDS_PRE( +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then + AC_MSG_ERROR([[conditional "$1" was never defined. +Usually this means the macro was only invoked conditionally.]]) +fi])]) + +# Do all the work for Automake. -*- Autoconf -*- + +# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# +# This file 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 macro actually does too much. Some checks are only needed if +# your package does certain things. But this isn't really a big deal. + +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) +# AM_INIT_AUTOMAKE([OPTIONS]) +# ----------------------------------------------- +# The call with PACKAGE and VERSION arguments is the old style +# call (pre autoconf-2.50), which is being phased out. PACKAGE +# and VERSION should now be passed to AC_INIT and removed from +# the call to AM_INIT_AUTOMAKE. +# We support both call styles for the transition. After +# the next Automake release, Autoconf can make the AC_INIT +# arguments mandatory, and then we can depend on a new Autoconf +# release and drop the old call support. +AC_DEFUN([AM_INIT_AUTOMAKE], +[AC_PREREQ([2.65])dnl +dnl Autoconf wants to disallow AM_ names. We explicitly allow +dnl the ones we care about. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl +AC_REQUIRE([AC_PROG_INSTALL])dnl +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi +AC_SUBST([CYGPATH_W]) + +# Define the identity of the package. +dnl Distinguish between old-style and new-style calls. +m4_ifval([$2], +[AC_DIAGNOSE([obsolete], + [$0: two- and three-arguments forms are deprecated.]) +m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl + AC_SUBST([PACKAGE], [$1])dnl + AC_SUBST([VERSION], [$2])], +[_AM_SET_OPTIONS([$1])dnl +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. +m4_if( + m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), + [ok:ok],, + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl + +_AM_IF_OPTION([no-define],, +[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl + +# Some tools Automake needs. +AC_REQUIRE([AM_SANITY_CHECK])dnl +AC_REQUIRE([AC_ARG_PROGRAM])dnl +AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) +AM_MISSING_PROG([AUTOCONF], [autoconf]) +AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) +AM_MISSING_PROG([AUTOHEADER], [autoheader]) +AM_MISSING_PROG([MAKEINFO], [makeinfo]) +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl +AC_REQUIRE([AC_PROG_MKDIR_P])dnl +# For better backward compatibility. To be removed once Automake 1.9.x +# dies out for good. For more background, see: +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> +AC_SUBST([mkdir_p], ['$(MKDIR_P)']) +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([AC_PROG_MAKE_SET])dnl +AC_REQUIRE([AM_SET_LEADING_DOT])dnl +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], + [_AM_PROG_TAR([v7])])]) +_AM_IF_OPTION([no-dependencies],, +[AC_PROVIDE_IFELSE([AC_PROG_CC], + [_AM_DEPENDENCIES([CC])], + [m4_define([AC_PROG_CC], + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_CXX], + [_AM_DEPENDENCIES([CXX])], + [m4_define([AC_PROG_CXX], + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJC], + [_AM_DEPENDENCIES([OBJC])], + [m4_define([AC_PROG_OBJC], + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], + [_AM_DEPENDENCIES([OBJCXX])], + [m4_define([AC_PROG_OBJCXX], + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl +]) +AC_REQUIRE([AM_SILENT_RULES])dnl +dnl The testsuite driver may need to know about EXEEXT, so add the +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This +dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. +AC_CONFIG_COMMANDS_PRE(dnl +[m4_provide_if([_AM_COMPILER_EXEEXT], + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl +]) + +dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further +dnl mangled by Autoconf and run in a shell conditional statement. +m4_define([_AC_COMPILER_EXEEXT], +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) + + +# When config.status generates a header, we must update the stamp-h file. +# This file resides in the same directory as the config header +# that is generated. The stamp files are numbered to have different names. + +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the +# loop where config.status creates the headers, so we can generate +# our stamp files there. +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], +[# Compute $1's index in $config_headers. +_am_arg=$1 +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) + +# Copyright (C) 2001-2013 Free Software Foundation, Inc. +# +# This file 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. + +# AM_PROG_INSTALL_SH +# ------------------ +# Define $install_sh. +AC_DEFUN([AM_PROG_INSTALL_SH], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +if test x"${install_sh}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi +AC_SUBST([install_sh])]) + +# Copyright (C) 2003-2013 Free Software Foundation, Inc. +# +# This file 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. + +# Check whether the underlying file-system supports filenames +# with a leading dot. For instance MS-DOS doesn't. +AC_DEFUN([AM_SET_LEADING_DOT], +[rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null +AC_SUBST([am__leading_dot])]) + +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- +# From Jim Meyering + +# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# +# This file 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. + +# AM_MAINTAINER_MODE([DEFAULT-MODE]) +# ---------------------------------- +# Control maintainer-specific portions of Makefiles. +# Default is to disable them, unless 'enable' is passed literally. +# For symmetry, 'disable' may be passed as well. Anyway, the user +# can override the default with the --enable/--disable switch. +AC_DEFUN([AM_MAINTAINER_MODE], +[m4_case(m4_default([$1], [disable]), + [enable], [m4_define([am_maintainer_other], [disable])], + [disable], [m4_define([am_maintainer_other], [enable])], + [m4_define([am_maintainer_other], [enable]) + m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) +AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) + dnl maintainer-mode's default is 'disable' unless 'enable' is passed + AC_ARG_ENABLE([maintainer-mode], + [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], + am_maintainer_other[ make rules and dependencies not useful + (and sometimes confusing) to the casual installer])], + [USE_MAINTAINER_MODE=$enableval], + [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) + AC_MSG_RESULT([$USE_MAINTAINER_MODE]) + AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) + MAINT=$MAINTAINER_MODE_TRUE + AC_SUBST([MAINT])dnl +] +) + +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- + +# Copyright (C) 1997-2013 Free Software Foundation, Inc. +# +# This file 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. + +# AM_MISSING_PROG(NAME, PROGRAM) +# ------------------------------ +AC_DEFUN([AM_MISSING_PROG], +[AC_REQUIRE([AM_MISSING_HAS_RUN]) +$1=${$1-"${am_missing_run}$2"} +AC_SUBST($1)]) + +# AM_MISSING_HAS_RUN +# ------------------ +# Define MISSING if not defined so far and test if it is modern enough. +# If it is, set am_missing_run to use it, otherwise, to nothing. +AC_DEFUN([AM_MISSING_HAS_RUN], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([missing])dnl +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --is-lightweight"; then + am_missing_run="$MISSING " +else + am_missing_run= + AC_MSG_WARN(['missing' script is too old or missing]) +fi +]) + +# -*- Autoconf -*- +# Obsolete and "removed" macros, that must however still report explicit +# error messages when used, to smooth transition. +# +# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# +# This file 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. + +# dnl TODO: Remove in Automake 1.15. +# AC_DEFUN([AM_CONFIG_HEADER], +# [AC_FATAL(['$0': this macro is obsolete. +# You should use the 'AC][_CONFIG_HEADERS' macro instead.])]) +# +# dnl TODO: Remove in Automake 1.15. +# AC_DEFUN([AM_PROG_CC_STDC], +# [AC_FATAL(['$0': this macro is obsolete. +# You should simply use the 'AC][_PROG_CC' macro instead. +# Also, your code should no longer depend upon 'am_cv_prog_cc_stdc', +# but upon 'ac_cv_prog_cc_stdc'.])]) + +dnl TODO: Remove in Automake 1.14. +AC_DEFUN([AM_C_PROTOTYPES], + [AC_FATAL([automatic de-ANSI-fication support has been removed])]) +AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES]) + +AU_DEFUN([AM_PROG_CC_STDC], +[AC_PROG_CC +AC_DIAGNOSE([obsolete], [$0: + your code should no longer depend upon 'am_cv_prog_cc_stdc', but upon + 'ac_cv_prog_cc_stdc'. Remove this warning and the assignment when + you adjust the code. You can also remove the above call to + AC_PROG_CC if you already called it elsewhere.]) +am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc +]) + +# Reenable these macros in fedora until all packages are fixed (unlikely). +# TODO: Prepare the some fedora-review checker, or rpmlint checker for this. + +AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) +AU_DEFUN([AM_SANITY_CHECK_CC], [AC_PROG_CC]) +AU_DEFUN([fp_PROG_CC_STDC]) +AU_DEFUN([fp_WITH_DMALLOC], [AM_WITH_DMALLOC]) +AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) +AU_DEFUN([ud_PATH_LISPDIR], [AM_PATH_LISPDIR]) +AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) +AU_DEFUN([ud_GNU_GETTEXT], [AM_GNU_GETTEXT]) +AU_DEFUN([gm_PROG_LIBTOOL], [AM_PROG_LIBTOOL]) +AU_DEFUN([AC_FEATURE_CTYPE], [AC_HEADER_STDC]) +AU_DEFUN([AC_FEATURE_ERRNO], [AC_REPLACE_FUNCS([strerror])]) +AU_DEFUN([AM_CYGWIN32], [AC_CYGWIN]) +AU_DEFUN([AM_EXEEXT], [AC_EXEEXT]) +AU_DEFUN([AM_FUNC_MKTIME], [AC_FUNC_MKTIME]) +AU_DEFUN([AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL], + [AC_HEADER_TIOCGWINSZ]) +AU_DEFUN([AM_MINGW32], [AC_MINGW32]) +AU_DEFUN([AM_PROG_INSTALL], [AC_PROG_INSTALL]) +AU_DEFUN([AM_SANITY_CHECK_CC], [AC_PROG_CC]) +AU_DEFUN([AM_SYS_POSIX_TERMIOS], [AC_SYS_POSIX_TERMIOS]) +AU_DEFUN([fp_FUNC_FNMATCH], [AC_FUNC_FNMATCH]) +AU_DEFUN([fp_PROG_INSTALL], [AC_PROG_INSTALL]) +AU_DEFUN([md_TYPE_PTRDIFF_T], [AC_CHECK_TYPES([ptrdiff_t])]) + +# Helper functions for option handling. -*- Autoconf -*- + +# Copyright (C) 2001-2013 Free Software Foundation, Inc. +# +# This file 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. + +# _AM_MANGLE_OPTION(NAME) +# ----------------------- +AC_DEFUN([_AM_MANGLE_OPTION], +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) + +# _AM_SET_OPTION(NAME) +# -------------------- +# Set option NAME. Presently that only means defining a flag for this option. +AC_DEFUN([_AM_SET_OPTION], +[m4_define(_AM_MANGLE_OPTION([$1]), [1])]) + +# _AM_SET_OPTIONS(OPTIONS) +# ------------------------ +# OPTIONS is a space-separated list of Automake options. +AC_DEFUN([_AM_SET_OPTIONS], +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) + +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) +# ------------------------------------------- +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +AC_DEFUN([_AM_IF_OPTION], +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) + +# Check to make sure that the build environment is sane. -*- Autoconf -*- + +# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# +# This file 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. + +# AM_SANITY_CHECK +# --------------- +AC_DEFUN([AM_SANITY_CHECK], +[AC_MSG_CHECKING([whether build environment is sane]) +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[[\\\"\#\$\&\'\`$am_lf]]*) + AC_MSG_ERROR([unsafe absolute working directory name]);; +esac +case $srcdir in + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) + AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; +esac + +# Do 'set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + am_has_slept=no + for am_try in 1 2; do + echo "timestamp, slept: $am_has_slept" > conftest.file + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$[*]" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + if test "$[*]" != "X $srcdir/configure conftest.file" \ + && test "$[*]" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken + alias in your environment]) + fi + if test "$[2]" = conftest.file || test $am_try -eq 2; then + break + fi + # Just in case. + sleep 1 + am_has_slept=yes + done + test "$[2]" = conftest.file + ) +then + # Ok. + : +else + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) +fi +AC_MSG_RESULT([yes]) +# If we didn't sleep, we still need to ensure time stamps of config.status and +# generated files are strictly newer. +am_sleep_pid= +if grep 'slept: no' conftest.file >/dev/null 2>&1; then + ( sleep 1 ) & + am_sleep_pid=$! +fi +AC_CONFIG_COMMANDS_PRE( + [AC_MSG_CHECKING([that generated files are newer than configure]) + if test -n "$am_sleep_pid"; then + # Hide warnings about reused PIDs. + wait $am_sleep_pid 2>/dev/null + fi + AC_MSG_RESULT([done])]) +rm -f conftest.file +]) + +# Copyright (C) 2009-2013 Free Software Foundation, Inc. +# +# This file 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. + +# AM_SILENT_RULES([DEFAULT]) +# -------------------------- +# Enable less verbose build rules; with the default set to DEFAULT +# ("yes" being less verbose, "no" or empty being verbose). +AC_DEFUN([AM_SILENT_RULES], +[AC_ARG_ENABLE([silent-rules], [dnl +AS_HELP_STRING( + [--enable-silent-rules], + [less verbose build output (undo: "make V=1")]) +AS_HELP_STRING( + [--disable-silent-rules], + [verbose build output (undo: "make V=0")])dnl +]) +case $enable_silent_rules in @%:@ ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; +esac +dnl +dnl A few 'make' implementations (e.g., NonStop OS and NextStep) +dnl do not support nested variable expansions. +dnl See automake bug#9928 and bug#10237. +am_make=${MAKE-make} +AC_CACHE_CHECK([whether $am_make supports nested variables], + [am_cv_make_support_nested_variables], + [if AS_ECHO([['TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi]) +if test $am_cv_make_support_nested_variables = yes; then + dnl Using '$V' instead of '$(V)' breaks IRIX make. + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AC_SUBST([AM_V])dnl +AM_SUBST_NOTMAKE([AM_V])dnl +AC_SUBST([AM_DEFAULT_V])dnl +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl +AM_BACKSLASH='\' +AC_SUBST([AM_BACKSLASH])dnl +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl +]) + +# Copyright (C) 2001-2013 Free Software Foundation, Inc. +# +# This file 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. + +# AM_PROG_INSTALL_STRIP +# --------------------- +# One issue with vendor 'install' (even GNU) is that you can't +# specify the program used to strip binaries. This is especially +# annoying in cross-compiling environments, where the build's strip +# is unlikely to handle the host's binaries. +# Fortunately install-sh will honor a STRIPPROG variable, so we +# always use install-sh in "make install-strip", and initialize +# STRIPPROG with the value of the STRIP variable (set by the user). +AC_DEFUN([AM_PROG_INSTALL_STRIP], +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +# Installed binaries are usually stripped using 'strip' when the user +# run "make install-strip". However 'strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the 'STRIP' environment variable to overrule this program. +dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. +if test "$cross_compiling" != no; then + AC_CHECK_TOOL([STRIP], [strip], :) +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" +AC_SUBST([INSTALL_STRIP_PROGRAM])]) + +# Copyright (C) 2006-2013 Free Software Foundation, Inc. +# +# This file 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. + +# _AM_SUBST_NOTMAKE(VARIABLE) +# --------------------------- +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. +# This macro is traced by Automake. +AC_DEFUN([_AM_SUBST_NOTMAKE]) + +# AM_SUBST_NOTMAKE(VARIABLE) +# -------------------------- +# Public sister of _AM_SUBST_NOTMAKE. +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) + +# Check how to create a tarball. -*- Autoconf -*- + +# Copyright (C) 2004-2013 Free Software Foundation, Inc. +# +# This file 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. + +# _AM_PROG_TAR(FORMAT) +# -------------------- +# Check how to create a tarball in format FORMAT. +# FORMAT should be one of 'v7', 'ustar', or 'pax'. +# +# Substitute a variable $(am__tar) that is a command +# writing to stdout a FORMAT-tarball containing the directory +# $tardir. +# tardir=directory && $(am__tar) > result.tar +# +# Substitute a variable $(am__untar) that extract such +# a tarball read from stdin. +# $(am__untar) < result.tar +AC_DEFUN([_AM_PROG_TAR], +[# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AC_SUBST([AMTAR], ['$${TAR-tar}']) +m4_if([$1], [v7], + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], + [m4_case([$1], [ustar],, [pax],, + [m4_fatal([Unknown tar format])]) +AC_MSG_CHECKING([how to create a $1 tar archive]) +# Loop over all known methods to create a tar archive until one works. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' +_am_tools=${am_cv_prog_tar_$1-$_am_tools} +# Do not fold the above two line into one, because Tru64 sh and +# Solaris sh will not grok spaces in the rhs of '-'. +for _am_tool in $_am_tools +do + case $_am_tool in + gnutar) + for _am_tar in tar gnutar gtar; + do + AM_RUN_LOG([$_am_tar --version]) && break + done + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' + am__untar="$_am_tar -xf -" + ;; + plaintar) + # Must skip GNU tar: if it does not support --format= it doesn't create + # ustar tarball either. + (tar --version) >/dev/null 2>&1 && continue + am__tar='tar chf - "$$tardir"' + am__tar_='tar chf - "$tardir"' + am__untar='tar xf -' + ;; + pax) + am__tar='pax -L -x $1 -w "$$tardir"' + am__tar_='pax -L -x $1 -w "$tardir"' + am__untar='pax -r' + ;; + cpio) + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' + am__untar='cpio -i -H $1 -d' + ;; + none) + am__tar=false + am__tar_=false + am__untar=false + ;; + esac + + # If the value was cached, stop now. We just wanted to have am__tar + # and am__untar set. + test -n "${am_cv_prog_tar_$1}" && break + + # tar/untar a dummy directory, and stop if the command works + rm -rf conftest.dir + mkdir conftest.dir + echo GrepMe > conftest.dir/file + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) + rm -rf conftest.dir + if test -s conftest.tar; then + AM_RUN_LOG([$am__untar <conftest.tar]) + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break + fi +done +rm -rf conftest.dir + +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) +AC_MSG_RESULT([$am_cv_prog_tar_$1])]) +AC_SUBST([am__tar]) +AC_SUBST([am__untar]) +]) # _AM_PROG_TAR + diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/config.h.in b/tizen/distrib/remote/common/spice-common/spice-protocol/config.h.in new file mode 100644 index 0000000..dd3b02c --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/config.h.in @@ -0,0 +1,25 @@ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* Name of package */ +#undef PACKAGE + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the home page for this package. */ +#undef PACKAGE_URL + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* Version number of package */ +#undef VERSION diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/configure b/tizen/distrib/remote/common/spice-common/spice-protocol/configure new file mode 100644 index 0000000..097972e --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/configure @@ -0,0 +1,3677 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.69 for spice-protocol 0.12.5. +# +# +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. +# +# +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +# Use a proper internal environment variable to ensure we don't fall + # into an infinite loop, continuously re-executing ourselves. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then + _as_can_reexec=no; export _as_can_reexec; + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +as_fn_exit 255 + fi + # We don't want this to propagate to other subprocesses. + { _as_can_reexec=; unset _as_can_reexec;} +if test "x$CONFIG_SHELL" = x; then + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi +" + as_required="as_fn_return () { (exit \$1); } +as_fn_success () { as_fn_return 0; } +as_fn_failure () { as_fn_return 1; } +as_fn_ret_success () { return 0; } +as_fn_ret_failure () { return 1; } + +exitcode=0 +as_fn_success || { exitcode=1; echo as_fn_success failed.; } +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : + +else + exitcode=1; echo positional parameters were not saved. +fi +test x\$exitcode = x0 || exit 1 +test -x / || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" + if (eval "$as_required") 2>/dev/null; then : + as_have_required=yes +else + as_have_required=no +fi + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + as_found=: + case $as_dir in #( + /*) + for as_base in sh bash ksh sh5; do + # Try only shells that exist, to save several forks. + as_shell=$as_dir/$as_base + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + CONFIG_SHELL=$as_shell as_have_required=yes + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + break 2 +fi +fi + done;; + esac + as_found=false +done +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi; } +IFS=$as_save_IFS + + + if test "x$CONFIG_SHELL" != x; then : + export CONFIG_SHELL + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 +fi + + if test x$as_have_required = xno; then : + $as_echo "$0: This script requires a shell more modern than all" + $as_echo "$0: the shells that I found on your system." + if test x${ZSH_VERSION+set} = xset ; then + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" + $as_echo "$0: be upgraded to zsh 4.3.4 or later." + else + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, +$0: including any error possibly output before this +$0: message. Then install a modern shell, or manually run +$0: the script under such a shell if you do have one." + fi + exit 1 +fi +fi +fi +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +# Unset more variables known to interfere with behavior of common tools. +CLICOLOR_FORCE= GREP_OPTIONS= +unset CLICOLOR_FORCE GREP_OPTIONS + +## --------------------- ## +## M4sh Shell Functions. ## +## --------------------- ## +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + + + as_lineno_1=$LINENO as_lineno_1a=$LINENO + as_lineno_2=$LINENO as_lineno_2a=$LINENO + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have + # already done that, so ensure we don't try to do so again and fall + # in an infinite loop. This has already happened in practice. + _as_can_reexec=no; export _as_can_reexec + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi +else + as_ln_s='cp -pR' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +as_test_x='test -x' +as_executable_p=as_fn_executable_p + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +test -n "$DJDIR" || exec 7<&0 </dev/null +exec 6>&1 + +# Name of the host. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_clean_files= +ac_config_libobj_dir=. +LIBOBJS= +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= + +# Identity of this package. +PACKAGE_NAME='spice-protocol' +PACKAGE_TARNAME='spice-protocol' +PACKAGE_VERSION='0.12.5' +PACKAGE_STRING='spice-protocol 0.12.5' +PACKAGE_BUGREPORT='' +PACKAGE_URL='' + +ac_subst_vars='LTLIBOBJS +LIBOBJS +MAINT +MAINTAINER_MODE_FALSE +MAINTAINER_MODE_TRUE +AM_BACKSLASH +AM_DEFAULT_VERBOSITY +AM_DEFAULT_V +AM_V +am__untar +am__tar +AMTAR +am__leading_dot +SET_MAKE +AWK +mkdir_p +MKDIR_P +INSTALL_STRIP_PROGRAM +STRIP +install_sh +MAKEINFO +AUTOHEADER +AUTOMAKE +AUTOCONF +ACLOCAL +VERSION +PACKAGE +CYGPATH_W +am__isrc +INSTALL_DATA +INSTALL_SCRIPT +INSTALL_PROGRAM +target_alias +host_alias +build_alias +LIBS +ECHO_T +ECHO_N +ECHO_C +DEFS +mandir +localedir +libdir +psdir +pdfdir +dvidir +htmldir +infodir +docdir +oldincludedir +includedir +localstatedir +sharedstatedir +sysconfdir +datadir +datarootdir +libexecdir +sbindir +bindir +program_transform_name +prefix +exec_prefix +PACKAGE_URL +PACKAGE_BUGREPORT +PACKAGE_STRING +PACKAGE_VERSION +PACKAGE_TARNAME +PACKAGE_NAME +PATH_SEPARATOR +SHELL' +ac_subst_files='' +ac_user_opts=' +enable_option_checking +enable_silent_rules +enable_maintainer_mode +' + ac_precious_vars='build_alias +host_alias +target_alias' + + +# Initialize some variables set by options. +ac_init_help= +ac_init_version=false +ac_unrecognized_opts= +ac_unrecognized_sep= +# The variables have the same names as the options, with +# dashes changed to underlines. +cache_file=/dev/null +exec_prefix=NONE +no_create= +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +verbose= +x_includes=NONE +x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. +# (The list follows the same order as the GNU Coding Standards.) +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datarootdir='${prefix}/share' +datadir='${datarootdir}' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +includedir='${prefix}/include' +oldincludedir='/usr/include' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +infodir='${datarootdir}/info' +htmldir='${docdir}' +dvidir='${docdir}' +pdfdir='${docdir}' +psdir='${docdir}' +libdir='${exec_prefix}/lib' +localedir='${datarootdir}/locale' +mandir='${datarootdir}/man' + +ac_prev= +ac_dashdash= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval $ac_prev=\$ac_option + ac_prev= + continue + fi + + case $ac_option in + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *=) ac_optarg= ;; + *) ac_optarg=yes ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case $ac_dashdash$ac_option in + --) + ac_dashdash=yes ;; + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir=$ac_optarg ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build_alias=$ac_optarg ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=*) + datadir=$ac_optarg ;; + + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ + | --dataroo | --dataro | --datar) + ac_prev=datarootdir ;; + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) + datarootdir=$ac_optarg ;; + + -disable-* | --disable-*) + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=no ;; + + -docdir | --docdir | --docdi | --doc | --do) + ac_prev=docdir ;; + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) + docdir=$ac_optarg ;; + + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) + ac_prev=dvidir ;; + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) + dvidir=$ac_optarg ;; + + -enable-* | --enable-*) + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=\$ac_optarg ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; + + -host | --host | --hos | --ho) + ac_prev=host_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + host_alias=$ac_optarg ;; + + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) + ac_prev=htmldir ;; + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ + | --ht=*) + htmldir=$ac_optarg ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir=$ac_optarg ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir=$ac_optarg ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir=$ac_optarg ;; + + -localedir | --localedir | --localedi | --localed | --locale) + ac_prev=localedir ;; + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) + localedir=$ac_optarg ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst | --locals) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) + localstatedir=$ac_optarg ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir=$ac_optarg ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix=$ac_optarg ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix=$ac_optarg ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name=$ac_optarg ;; + + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) + ac_prev=pdfdir ;; + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) + pdfdir=$ac_optarg ;; + + -psdir | --psdir | --psdi | --psd | --ps) + ac_prev=psdir ;; + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) + psdir=$ac_optarg ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir=$ac_optarg ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir=$ac_optarg ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=\$ac_optarg ;; + + -without-* | --without-*) + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=no ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes=$ac_optarg ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + + -*) as_fn_error $? "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information" + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + case $ac_envvar in #( + '' | [0-9]* | *[!_$as_cr_alnum]* ) + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; + esac + eval $ac_envvar=\$ac_optarg + export $ac_envvar ;; + + *) + # FIXME: should be removed in autoconf 3.0. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" + ;; + + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + as_fn_error $? "missing argument to $ac_option" +fi + +if test -n "$ac_unrecognized_opts"; then + case $enable_option_checking in + no) ;; + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + esac +fi + +# Check all directory arguments for consistency. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ + datadir sysconfdir sharedstatedir localstatedir includedir \ + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ + libdir localedir mandir +do + eval ac_val=\$$ac_var + # Remove trailing slashes. + case $ac_val in + */ ) + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` + eval $ac_var=\$ac_val;; + esac + # Be sure to have absolute directory names. + case $ac_val in + [\\/$]* | ?:[\\/]* ) continue;; + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; + esac + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" +done + +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +ac_pwd=`pwd` && test -n "$ac_pwd" && +ac_ls_di=`ls -di .` && +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || + as_fn_error $? "working directory cannot be determined" +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || + as_fn_error $? "pwd does not report name of working directory" + + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then the parent directory. + ac_confdir=`$as_dirname -- "$as_myself" || +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_myself" : 'X\(//\)[^/]' \| \ + X"$as_myself" : 'X\(//\)$' \| \ + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_myself" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + srcdir=$ac_confdir + if test ! -r "$srcdir/$ac_unique_file"; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r "$srcdir/$ac_unique_file"; then + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" +fi +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_abs_confdir=`( + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" + pwd)` +# When building in place, set srcdir=. +if test "$ac_abs_confdir" = "$ac_pwd"; then + srcdir=. +fi +# Remove unnecessary trailing slashes from srcdir. +# Double slashes in file names in object file debugging info +# mess up M-x gdb in Emacs. +case $srcdir in +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; +esac +for ac_var in $ac_precious_vars; do + eval ac_env_${ac_var}_set=\${${ac_var}+set} + eval ac_env_${ac_var}_value=\$${ac_var} + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} + eval ac_cv_env_${ac_var}_value=\$${ac_var} +done + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures spice-protocol 0.12.5 to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking ...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root [DATAROOTDIR/doc/spice-protocol] + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] +_ACEOF + + cat <<\_ACEOF + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names +_ACEOF +fi + +if test -n "$ac_init_help"; then + case $ac_init_help in + short | recursive ) echo "Configuration of spice-protocol 0.12.5:";; + esac + cat <<\_ACEOF + +Optional Features: + --disable-option-checking ignore unrecognized --enable/--with options + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-silent-rules less verbose build output (undo: "make V=1") + --disable-silent-rules verbose build output (undo: "make V=0") + --enable-maintainer-mode + enable make rules and dependencies not useful (and + sometimes confusing) to the casual installer + +Report bugs to the package provider. +_ACEOF +ac_status=$? +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d "$ac_dir" || + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || + continue + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + cd "$ac_dir" || { ac_status=$?; continue; } + # Check for guested configure. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_srcdir/configure"; then + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done +fi + +test -n "$ac_init_help" && exit $ac_status +if $ac_init_version; then + cat <<\_ACEOF +spice-protocol configure 0.12.5 +generated by GNU Autoconf 2.69 + +Copyright (C) 2012 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit +fi + +## ------------------------ ## +## Autoconf initialization. ## +## ------------------------ ## +cat >config.log <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by spice-protocol $as_me 0.12.5, which was +generated by GNU Autoconf 2.69. Invocation command line was + + $ $0 $@ + +_ACEOF +exec 5>>config.log +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + $as_echo "PATH: $as_dir" + done +IFS=$as_save_IFS + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *\'*) + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; + 2) + as_fn_append ac_configure_args1 " '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + as_fn_append ac_configure_args " '$ac_arg'" + ;; + esac + done +done +{ ac_configure_args0=; unset ac_configure_args0;} +{ ac_configure_args1=; unset ac_configure_args1;} + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Use '\'' to represent an apostrophe within the trap. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + $as_echo "## ---------------- ## +## Cache variables. ## +## ---------------- ##" + echo + # The following way of writing the cache mishandles newlines in values, +( + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + (set) 2>&1 | + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + sed -n \ + "s/'\''/'\''\\\\'\'''\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + ;; #( + *) + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) + echo + + $as_echo "## ----------------- ## +## Output variables. ## +## ----------------- ##" + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + + if test -n "$ac_subst_files"; then + $as_echo "## ------------------- ## +## File substitutions. ## +## ------------------- ##" + echo + for ac_var in $ac_subst_files + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then + $as_echo "## ----------- ## +## confdefs.h. ## +## ----------- ##" + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + $as_echo "$as_me: caught signal $ac_signal" + $as_echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status +' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -f -r conftest* confdefs.h + +$as_echo "/* confdefs.h */" > confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_URL "$PACKAGE_URL" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer an explicitly selected file to automatically selected ones. +ac_site_file1=NONE +ac_site_file2=NONE +if test -n "$CONFIG_SITE"; then + # We do not want a PATH search for config.site. + case $CONFIG_SITE in #(( + -*) ac_site_file1=./$CONFIG_SITE;; + */*) ac_site_file1=$CONFIG_SITE;; + *) ac_site_file1=./$CONFIG_SITE;; + esac +elif test "x$prefix" != xNONE; then + ac_site_file1=$prefix/share/config.site + ac_site_file2=$prefix/etc/config.site +else + ac_site_file1=$ac_default_prefix/share/config.site + ac_site_file2=$ac_default_prefix/etc/config.site +fi +for ac_site_file in "$ac_site_file1" "$ac_site_file2" +do + test "x$ac_site_file" = xNONE && continue + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +$as_echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" \ + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "failed to load site script $ac_site_file +See \`config.log' for more details" "$LINENO" 5; } + fi +done + +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special files + # actually), so we avoid doing that. DJGPP emulates it as a regular file. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +$as_echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; + *) . "./$cache_file";; + esac + fi +else + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +$as_echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in $ac_precious_vars; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val=\$ac_cv_env_${ac_var}_value + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + # differences in whitespace do not lead to failure. + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + ac_cache_corrupted=: + else + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) as_fn_append ac_configure_args " '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 +fi +## -------------------- ## +## Main body of script. ## +## -------------------- ## + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + + +ac_config_headers="$ac_config_headers config.h" + + +am__api_version='1.13' + +ac_aux_dir= +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do + if test -f "$ac_dir/install-sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f "$ac_dir/install.sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f "$ac_dir/shtool"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi +done +if test -z "$ac_aux_dir"; then + as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +# Reject install programs that cannot install multiple files. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +$as_echo_n "checking for a BSD-compatible install... " >&6; } +if test -z "$INSTALL"; then +if ${ac_cv_path_install+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in #(( + ./ | .// | /[cC]/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + rm -rf conftest.one conftest.two conftest.dir + echo one > conftest.one + echo two > conftest.two + mkdir conftest.dir + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + test -s conftest.one && test -s conftest.two && + test -s conftest.dir/conftest.one && + test -s conftest.dir/conftest.two + then + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + fi + done + done + ;; +esac + + done +IFS=$as_save_IFS + +rm -rf conftest.one conftest.two conftest.dir + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + INSTALL=$ac_install_sh + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +$as_echo "$INSTALL" >&6; } + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 +$as_echo_n "checking whether build environment is sane... " >&6; } +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[\\\"\#\$\&\'\`$am_lf]*) + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; +esac +case $srcdir in + *[\\\"\#\$\&\'\`$am_lf\ \ ]*) + as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; +esac + +# Do 'set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + am_has_slept=no + for am_try in 1 2; do + echo "timestamp, slept: $am_has_slept" > conftest.file + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken + alias in your environment" "$LINENO" 5 + fi + if test "$2" = conftest.file || test $am_try -eq 2; then + break + fi + # Just in case. + sleep 1 + am_has_slept=yes + done + test "$2" = conftest.file + ) +then + # Ok. + : +else + as_fn_error $? "newly created file is older than distributed files! +Check your system clock" "$LINENO" 5 +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +# If we didn't sleep, we still need to ensure time stamps of config.status and +# generated files are strictly newer. +am_sleep_pid= +if grep 'slept: no' conftest.file >/dev/null 2>&1; then + ( sleep 1 ) & + am_sleep_pid=$! +fi + +rm -f conftest.file + +test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s&\$&$program_suffix&;$program_transform_name" +# Double any \ or $. +# By default was `s,x,x', remove it if useless. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` + +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` + +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --is-lightweight"; then + am_missing_run="$MISSING " +else + am_missing_run= + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 +$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} +fi + +if test x"${install_sh}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi + +# Installed binaries are usually stripped using 'strip' when the user +# run "make install-strip". However 'strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the 'STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } +if test -z "$MKDIR_P"; then + if ${ac_cv_path_mkdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in mkdir gmkdir; do + for ac_exec_ext in '' $ac_executable_extensions; do + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( + 'mkdir (GNU coreutils) '* | \ + 'mkdir (coreutils) '* | \ + 'mkdir (fileutils) '4.1*) + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext + break 3;; + esac + done + done + done +IFS=$as_save_IFS + +fi + + test -d ./--version && rmdir ./--version + if test "${ac_cv_path_mkdir+set}" = set; then + MKDIR_P="$ac_cv_path_mkdir -p" + else + # As a last resort, use the slow shell script. Don't cache a + # value for MKDIR_P within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + MKDIR_P="$ac_install_sh -d" + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 +$as_echo "$MKDIR_P" >&6; } + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AWK+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AWK" && break +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null + +# Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" = set; then : + enableval=$enable_silent_rules; +fi + +case $enable_silent_rules in # ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=1;; +esac +am_make=${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AM_BACKSLASH='\' + +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + am__isrc=' -I$(srcdir)' + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi + + +# Define the identity of the package. + PACKAGE='spice-protocol' + VERSION='0.12.5' + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE "$PACKAGE" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define VERSION "$VERSION" +_ACEOF + +# Some tools Automake needs. + +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} + + +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} + + +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} + + +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} + + +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + +# For better backward compatibility. To be removed once Automake 1.9.x +# dies out for good. For more background, see: +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> +mkdir_p='$(MKDIR_P)' + +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AMTAR='$${TAR-tar}' + +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 +$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } + # Check whether --enable-maintainer-mode was given. +if test "${enable_maintainer_mode+set}" = set; then : + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval +else + USE_MAINTAINER_MODE=no +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 +$as_echo "$USE_MAINTAINER_MODE" >&6; } + if test $USE_MAINTAINER_MODE = yes; then + MAINTAINER_MODE_TRUE= + MAINTAINER_MODE_FALSE='#' +else + MAINTAINER_MODE_TRUE='#' + MAINTAINER_MODE_FALSE= +fi + + MAINT=$MAINTAINER_MODE_TRUE + + + +# Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" = set; then : + enableval=$enable_silent_rules; +fi + +case $enable_silent_rules in # ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=0;; +esac +am_make=${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AM_BACKSLASH='\' + + +ac_config_files="$ac_config_files Makefile spice-protocol.pc spice/Makefile" + +cat >confcache <<\_ACEOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +( + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; #( + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) | + sed ' + /^ac_cv_env_/b end + t clear + :clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + if test "x$cache_file" != "x/dev/null"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache >"$cache_file" + else + case $cache_file in #( + */* | ?:*) + mv -f confcache "$cache_file"$$ && + mv -f "$cache_file"$$ "$cache_file" ;; #( + *) + mv -f confcache "$cache_file" ;; + esac + fi + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + fi +fi +rm -f confcache + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +DEFS="-DHAVE_CONFIG_H -DCONFIG_MARU" +#DEFS=-DHAVE_CONFIG_H + +ac_libobjs= +ac_ltlibobjs= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 +$as_echo_n "checking that generated files are newer than configure... " >&6; } + if test -n "$am_sleep_pid"; then + # Hide warnings about reused PIDs. + wait $am_sleep_pid 2>/dev/null + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 +$as_echo "done" >&6; } + +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then + as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + +: "${CONFIG_STATUS=./config.status}" +ac_write_fail=0 +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +as_write_fail=0 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false + +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi +else + as_ln_s='cp -pR' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +as_test_x='test -x' +as_executable_p=as_fn_executable_p + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# Save the log message, to keep $0 and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by spice-protocol $as_me 0.12.5, which was +generated by GNU Autoconf 2.69. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +_ACEOF + +case $ac_config_files in *" +"*) set x $ac_config_files; shift; ac_config_files=$*;; +esac + +case $ac_config_headers in *" +"*) set x $ac_config_headers; shift; ac_config_headers=$*;; +esac + + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# Files that config.status was made for. +config_files="$ac_config_files" +config_headers="$ac_config_headers" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. + +Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Report bugs to the package provider." + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" +ac_cs_version="\\ +spice-protocol config.status 0.12.5 +configured by $0, generated by GNU Autoconf 2.69, + with options \\"\$ac_cs_config\\" + +Copyright (C) 2012 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='$ac_pwd' +srcdir='$srcdir' +INSTALL='$INSTALL' +MKDIR_P='$MKDIR_P' +AWK='$AWK' +test -n "\$AWK" || AWK=awk +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=?*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + --*=) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg= + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + '') as_fn_error $? "missing file argument" ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + as_fn_error $? "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; + --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) as_fn_error $? "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; + + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +if \$ac_cs_recheck; then + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' + export CONFIG_SHELL + exec "\$@" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + $as_echo "$ac_log" +} >&5 + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "spice-protocol.pc") CONFIG_FILES="$CONFIG_FILES spice-protocol.pc" ;; + "spice/Makefile") CONFIG_FILES="$CONFIG_FILES spice/Makefile" ;; + + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= ac_tmp= + trap 'exit_status=$? + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && +_ACEOF + + +{ + echo "cat >conf$$subs.awk <<_ACEOF" && + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" +} >conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + . ./conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done +rm -f conf$$subs.sh + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && +_ACEOF +sed -n ' +h +s/^/S["/; s/!.*/"]=/ +p +g +s/^[^!]*!// +:repl +t repl +s/'"$ac_delim"'$// +t delim +:nl +h +s/\(.\{148\}\)..*/\1/ +t more1 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ +p +n +b repl +:more1 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t nl +:delim +h +s/\(.\{148\}\)..*/\1/ +t more2 +s/["\\]/\\&/g; s/^/"/; s/$/"/ +p +b +:more2 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t delim +' <conf$$subs.awk | sed ' +/^[^""]/{ + N + s/\n// +} +' >>$CONFIG_STATUS || ac_write_fail=1 +rm -f conf$$subs.awk +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACAWK +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 +_ACEOF + +# VPATH may cause trouble with some makes, so we remove sole $(srcdir), +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ +h +s/// +s/^/:/ +s/[ ]*$/:/ +s/:\$(srcdir):/:/g +s/:\${srcdir}:/:/g +s/:@srcdir@:/:/g +s/^:*// +s/:*$// +x +s/\(=[ ]*\).*/\1/ +G +s/\n// +s/^[^=]*=[ ]*$// +}' +fi + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +fi # test -n "$CONFIG_FILES" + +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$ac_tmp/defines.awk" <<\_ACAWK || +BEGIN { +_ACEOF + +# Transform confdefs.h into an awk script `defines.awk', embedded as +# here-document in config.status, that substitutes the proper values into +# config.h.in to produce config.h. + +# Create a delimiter string that does not exist in confdefs.h, to ease +# handling of long lines. +ac_delim='%!_!# ' +for ac_last_try in false false :; do + ac_tt=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_tt"; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +# For the awk script, D is an array of macro values keyed by name, +# likewise P contains macro parameters if any. Preserve backslash +# newline sequences. + +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* +sed -n ' +s/.\{148\}/&'"$ac_delim"'/g +t rset +:rset +s/^[ ]*#[ ]*define[ ][ ]*/ / +t def +d +:def +s/\\$// +t bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3"/p +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p +d +:bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3\\\\\\n"\\/p +t cont +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p +t cont +d +:cont +n +s/.\{148\}/&'"$ac_delim"'/g +t clear +:clear +s/\\$// +t bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/"/p +d +:bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p +b cont +' <confdefs.h | sed ' +s/'"$ac_delim"'/"\\\ +"/g' >>$CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { + line = \$ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 +fi # test -n "$CONFIG_HEADERS" + + +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$ac_tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac + ac_MKDIR_P=$MKDIR_P + case $MKDIR_P in + [\\/$]* | ?:[\\/]* ) ;; + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; + esac +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_datarootdir_hack=' + s&@datadir@&$datadir&g + s&@docdir@&$docdir&g + s&@infodir@&$infodir&g + s&@localedir@&$localedir&g + s&@mandir@&$mandir&g + s&\\\${datarootdir}&$datarootdir&g' ;; +esac +_ACEOF + +# Neutralize VPATH when `$srcdir' = `.'. +# Shell code in configure.ac might set extrasub. +# FIXME: do we really want to maintain this feature? +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_sed_extra="$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +s&@MKDIR_P@&$ac_MKDIR_P&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&2;} + + rm -f "$ac_tmp/stdin" + case $ac_file in + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; + esac \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + ;; + :H) + # + # CONFIG_HEADER + # + if test x"$ac_file" != x-; then + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + } >"$ac_tmp/config.h" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$ac_tmp/config.h" "$ac_file" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + fi + else + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error $? "could not create -" "$LINENO" 5 + fi +# Compute "$ac_file"'s index in $config_headers. +_am_arg="$ac_file" +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$_am_arg" : 'X\(//\)[^/]' \| \ + X"$_am_arg" : 'X\(//\)$' \| \ + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$_am_arg" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'`/stamp-h$_am_stamp_count + ;; + + + esac + +done # for ac_tag + + +as_fn_exit 0 +_ACEOF +ac_clean_files=$ac_clean_files_save + +test $ac_write_fail = 0 || + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || as_fn_exit 1 +fi +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} +fi + diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/configure.ac b/tizen/distrib/remote/common/spice-common/spice-protocol/configure.ac new file mode 100644 index 0000000..7a3808a --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/configure.ac @@ -0,0 +1,21 @@ +AC_PREREQ([2.57]) + +m4_define([SPICE_MAJOR], 0) +m4_define([SPICE_MINOR], 12) +m4_define([SPICE_MICRO], 5) + +AC_INIT(spice-protocol, [SPICE_MAJOR.SPICE_MINOR.SPICE_MICRO], [], spice-protocol) + +AC_CONFIG_MACRO_DIR([m4]) +AM_CONFIG_HEADER([config.h]) + +AM_INIT_AUTOMAKE([dist-bzip2]) +AM_MAINTAINER_MODE + +m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) + +AC_OUTPUT([ +Makefile +spice-protocol.pc +spice/Makefile +]) diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/install-sh b/tizen/distrib/remote/common/spice-common/spice-protocol/install-sh new file mode 100644 index 0000000..377bb86 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/install-sh @@ -0,0 +1,527 @@ +#!/bin/sh +# install - install a program, script, or datafile + +scriptversion=2011-11-20.07; # UTC + +# This originates from X11R5 (mit/util/scripts/install.sh), which was +# later released in X11R6 (xc/config/util/install.sh) with the +# following copyright and license. +# +# Copyright (C) 1994 X Consortium +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# +# Except as contained in this notice, the name of the X Consortium shall not +# be used in advertising or otherwise to promote the sale, use or other deal- +# ings in this Software without prior written authorization from the X Consor- +# tium. +# +# +# FSF changes to this file are in the public domain. +# +# Calling this script install-sh is preferred over install.sh, to prevent +# 'make' implicit rules from creating a file called install from it +# when there is no Makefile. +# +# This script is compatible with the BSD install script, but was written +# from scratch. + +nl=' +' +IFS=" "" $nl" + +# set DOITPROG to echo to test this script + +# Don't use :- since 4.3BSD and earlier shells don't like it. +doit=${DOITPROG-} +if test -z "$doit"; then + doit_exec=exec +else + doit_exec=$doit +fi + +# Put in absolute file names if you don't have them in your path; +# or use environment vars. + +chgrpprog=${CHGRPPROG-chgrp} +chmodprog=${CHMODPROG-chmod} +chownprog=${CHOWNPROG-chown} +cmpprog=${CMPPROG-cmp} +cpprog=${CPPROG-cp} +mkdirprog=${MKDIRPROG-mkdir} +mvprog=${MVPROG-mv} +rmprog=${RMPROG-rm} +stripprog=${STRIPPROG-strip} + +posix_glob='?' +initialize_posix_glob=' + test "$posix_glob" != "?" || { + if (set -f) 2>/dev/null; then + posix_glob= + else + posix_glob=: + fi + } +' + +posix_mkdir= + +# Desired mode of installed file. +mode=0755 + +chgrpcmd= +chmodcmd=$chmodprog +chowncmd= +mvcmd=$mvprog +rmcmd="$rmprog -f" +stripcmd= + +src= +dst= +dir_arg= +dst_arg= + +copy_on_change=false +no_target_directory= + +usage="\ +Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE + or: $0 [OPTION]... SRCFILES... DIRECTORY + or: $0 [OPTION]... -t DIRECTORY SRCFILES... + or: $0 [OPTION]... -d DIRECTORIES... + +In the 1st form, copy SRCFILE to DSTFILE. +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. +In the 4th, create DIRECTORIES. + +Options: + --help display this help and exit. + --version display version info and exit. + + -c (ignored) + -C install only if different (preserve the last data modification time) + -d create directories instead of installing files. + -g GROUP $chgrpprog installed files to GROUP. + -m MODE $chmodprog installed files to MODE. + -o USER $chownprog installed files to USER. + -s $stripprog installed files. + -t DIRECTORY install into DIRECTORY. + -T report an error if DSTFILE is a directory. + +Environment variables override the default commands: + CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG + RMPROG STRIPPROG +" + +while test $# -ne 0; do + case $1 in + -c) ;; + + -C) copy_on_change=true;; + + -d) dir_arg=true;; + + -g) chgrpcmd="$chgrpprog $2" + shift;; + + --help) echo "$usage"; exit $?;; + + -m) mode=$2 + case $mode in + *' '* | *' '* | *' +'* | *'*'* | *'?'* | *'['*) + echo "$0: invalid mode: $mode" >&2 + exit 1;; + esac + shift;; + + -o) chowncmd="$chownprog $2" + shift;; + + -s) stripcmd=$stripprog;; + + -t) dst_arg=$2 + # Protect names problematic for 'test' and other utilities. + case $dst_arg in + -* | [=\(\)!]) dst_arg=./$dst_arg;; + esac + shift;; + + -T) no_target_directory=true;; + + --version) echo "$0 $scriptversion"; exit $?;; + + --) shift + break;; + + -*) echo "$0: invalid option: $1" >&2 + exit 1;; + + *) break;; + esac + shift +done + +if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then + # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dst_arg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dst_arg" + shift # fnord + fi + shift # arg + dst_arg=$arg + # Protect names problematic for 'test' and other utilities. + case $dst_arg in + -* | [=\(\)!]) dst_arg=./$dst_arg;; + esac + done +fi + +if test $# -eq 0; then + if test -z "$dir_arg"; then + echo "$0: no input file specified." >&2 + exit 1 + fi + # It's OK to call 'install-sh -d' without argument. + # This can happen when creating conditional directories. + exit 0 +fi + +if test -z "$dir_arg"; then + do_exit='(exit $ret); exit $ret' + trap "ret=129; $do_exit" 1 + trap "ret=130; $do_exit" 2 + trap "ret=141; $do_exit" 13 + trap "ret=143; $do_exit" 15 + + # Set umask so as not to create temps with too-generous modes. + # However, 'strip' requires both read and write access to temps. + case $mode in + # Optimize common cases. + *644) cp_umask=133;; + *755) cp_umask=22;; + + *[0-7]) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw='% 200' + fi + cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; + *) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw=,u+rw + fi + cp_umask=$mode$u_plus_rw;; + esac +fi + +for src +do + # Protect names problematic for 'test' and other utilities. + case $src in + -* | [=\(\)!]) src=./$src;; + esac + + if test -n "$dir_arg"; then + dst=$src + dstdir=$dst + test -d "$dstdir" + dstdir_status=$? + else + + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command + # might cause directories to be created, which would be especially bad + # if $src (and thus $dsttmp) contains '*'. + if test ! -f "$src" && test ! -d "$src"; then + echo "$0: $src does not exist." >&2 + exit 1 + fi + + if test -z "$dst_arg"; then + echo "$0: no destination specified." >&2 + exit 1 + fi + dst=$dst_arg + + # If destination is a directory, append the input filename; won't work + # if double slashes aren't ignored. + if test -d "$dst"; then + if test -n "$no_target_directory"; then + echo "$0: $dst_arg: Is a directory" >&2 + exit 1 + fi + dstdir=$dst + dst=$dstdir/`basename "$src"` + dstdir_status=0 + else + # Prefer dirname, but fall back on a substitute if dirname fails. + dstdir=` + (dirname "$dst") 2>/dev/null || + expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$dst" : 'X\(//\)[^/]' \| \ + X"$dst" : 'X\(//\)$' \| \ + X"$dst" : 'X\(/\)' \| . 2>/dev/null || + echo X"$dst" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q' + ` + + test -d "$dstdir" + dstdir_status=$? + fi + fi + + obsolete_mkdir_used=false + + if test $dstdir_status != 0; then + case $posix_mkdir in + '') + # Create intermediate dirs using mode 755 as modified by the umask. + # This is like FreeBSD 'install' as of 1997-10-28. + umask=`umask` + case $stripcmd.$umask in + # Optimize common cases. + *[2367][2367]) mkdir_umask=$umask;; + .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; + + *[0-7]) + mkdir_umask=`expr $umask + 22 \ + - $umask % 100 % 40 + $umask % 20 \ + - $umask % 10 % 4 + $umask % 2 + `;; + *) mkdir_umask=$umask,go-w;; + esac + + # With -d, create the new directory with the user-specified mode. + # Otherwise, rely on $mkdir_umask. + if test -n "$dir_arg"; then + mkdir_mode=-m$mode + else + mkdir_mode= + fi + + posix_mkdir=false + case $umask in + *[123567][0-7][0-7]) + # POSIX mkdir -p sets u+wx bits regardless of umask, which + # is incompatible with FreeBSD 'install' when (umask & 300) != 0. + ;; + *) + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 + + if (umask $mkdir_umask && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 + then + if test -z "$dir_arg" || { + # Check for POSIX incompatibilities with -m. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or + # other-writable bit of parent directory when it shouldn't. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. + ls_ld_tmpdir=`ls -ld "$tmpdir"` + case $ls_ld_tmpdir in + d????-?r-*) different_mode=700;; + d????-?--*) different_mode=755;; + *) false;; + esac && + $mkdirprog -m$different_mode -p -- "$tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$tmpdir"` + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" + } + } + then posix_mkdir=: + fi + rmdir "$tmpdir/d" "$tmpdir" + else + # Remove any dirs left behind by ancient mkdir implementations. + rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null + fi + trap '' 0;; + esac;; + esac + + if + $posix_mkdir && ( + umask $mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" + ) + then : + else + + # The umask is ridiculous, or mkdir does not conform to POSIX, + # or it failed possibly due to a race condition. Create the + # directory the slow way, step by step, checking for races as we go. + + case $dstdir in + /*) prefix='/';; + [-=\(\)!]*) prefix='./';; + *) prefix='';; + esac + + eval "$initialize_posix_glob" + + oIFS=$IFS + IFS=/ + $posix_glob set -f + set fnord $dstdir + shift + $posix_glob set +f + IFS=$oIFS + + prefixes= + + for d + do + test X"$d" = X && continue + + prefix=$prefix$d + if test -d "$prefix"; then + prefixes= + else + if $posix_mkdir; then + (umask=$mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break + # Don't fail if two instances are running concurrently. + test -d "$prefix" || exit 1 + else + case $prefix in + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; + *) qprefix=$prefix;; + esac + prefixes="$prefixes '$qprefix'" + fi + fi + prefix=$prefix/ + done + + if test -n "$prefixes"; then + # Don't fail if two instances are running concurrently. + (umask $mkdir_umask && + eval "\$doit_exec \$mkdirprog $prefixes") || + test -d "$dstdir" || exit 1 + obsolete_mkdir_used=true + fi + fi + fi + + if test -n "$dir_arg"; then + { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && + { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || + test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 + else + + # Make a couple of temp file names in the proper directory. + dsttmp=$dstdir/_inst.$$_ + rmtmp=$dstdir/_rm.$$_ + + # Trap to clean up those temp files at exit. + trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 + + # Copy the file name to the temp name. + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && + + # and set any options; do chmod last to preserve setuid bits. + # + # If any of these fail, we abort the whole thing. If we want to + # ignore errors from any of these, just make sure not to ignore + # errors from the above "$doit $cpprog $src $dsttmp" command. + # + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && + { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && + { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && + + # If -C, don't bother to copy if it wouldn't change the file. + if $copy_on_change && + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && + + eval "$initialize_posix_glob" && + $posix_glob set -f && + set X $old && old=:$2:$4:$5:$6 && + set X $new && new=:$2:$4:$5:$6 && + $posix_glob set +f && + + test "$old" = "$new" && + $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 + then + rm -f "$dsttmp" + else + # Rename the file to the real destination. + $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || + + # The rename failed, perhaps because mv can't rename something else + # to itself, or perhaps because mv is so ancient that it does not + # support -f. + { + # Now remove or move aside any old file at destination location. + # We try this two ways since rm can't unlink itself on some + # systems and the destination file might be busy for other + # reasons. In this case, the final cleanup might fail but the new + # file should still install successfully. + { + test ! -f "$dst" || + $doit $rmcmd -f "$dst" 2>/dev/null || + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && + { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } + } || + { echo "$0: cannot unlink or rename $dst" >&2 + (exit 1); exit 1 + } + } && + + # Now rename the file to the real destination. + $doit $mvcmd "$dsttmp" "$dst" + } + fi || exit 1 + + trap '' 0 + fi +done + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/missing b/tizen/distrib/remote/common/spice-common/spice-protocol/missing new file mode 100644 index 0000000..cdea514 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/missing @@ -0,0 +1,215 @@ +#! /bin/sh +# Common wrapper for a few potentially missing GNU programs. + +scriptversion=2012-06-26.16; # UTC + +# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. + +# 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, 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/>. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +if test $# -eq 0; then + echo 1>&2 "Try '$0 --help' for more information" + exit 1 +fi + +case $1 in + + --is-lightweight) + # Used by our autoconf macros to check whether the available missing + # script is modern enough. + exit 0 + ;; + + --run) + # Back-compat with the calling convention used by older automake. + shift + ;; + + -h|--h|--he|--hel|--help) + echo "\ +$0 [OPTION]... PROGRAM [ARGUMENT]... + +Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due +to PROGRAM being missing or too old. + +Options: + -h, --help display this help and exit + -v, --version output version information and exit + +Supported PROGRAM values: + aclocal autoconf autoheader autom4te automake makeinfo + bison yacc flex lex help2man + +Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and +'g' are ignored when checking the name. + +Send bug reports to <bug-automake@gnu.org>." + exit $? + ;; + + -v|--v|--ve|--ver|--vers|--versi|--versio|--version) + echo "missing $scriptversion (GNU Automake)" + exit $? + ;; + + -*) + echo 1>&2 "$0: unknown '$1' option" + echo 1>&2 "Try '$0 --help' for more information" + exit 1 + ;; + +esac + +# Run the given program, remember its exit status. +"$@"; st=$? + +# If it succeeded, we are done. +test $st -eq 0 && exit 0 + +# Also exit now if we it failed (or wasn't found), and '--version' was +# passed; such an option is passed most likely to detect whether the +# program is present and works. +case $2 in --version|--help) exit $st;; esac + +# Exit code 63 means version mismatch. This often happens when the user +# tries to use an ancient version of a tool on a file that requires a +# minimum version. +if test $st -eq 63; then + msg="probably too old" +elif test $st -eq 127; then + # Program was missing. + msg="missing on your system" +else + # Program was found and executed, but failed. Give up. + exit $st +fi + +perl_URL=http://www.perl.org/ +flex_URL=http://flex.sourceforge.net/ +gnu_software_URL=http://www.gnu.org/software + +program_details () +{ + case $1 in + aclocal|automake) + echo "The '$1' program is part of the GNU Automake package:" + echo "<$gnu_software_URL/automake>" + echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" + echo "<$gnu_software_URL/autoconf>" + echo "<$gnu_software_URL/m4/>" + echo "<$perl_URL>" + ;; + autoconf|autom4te|autoheader) + echo "The '$1' program is part of the GNU Autoconf package:" + echo "<$gnu_software_URL/autoconf/>" + echo "It also requires GNU m4 and Perl in order to run:" + echo "<$gnu_software_URL/m4/>" + echo "<$perl_URL>" + ;; + esac +} + +give_advice () +{ + # Normalize program name to check for. + normalized_program=`echo "$1" | sed ' + s/^gnu-//; t + s/^gnu//; t + s/^g//; t'` + + printf '%s\n' "'$1' is $msg." + + configure_deps="'configure.ac' or m4 files included by 'configure.ac'" + case $normalized_program in + autoconf*) + echo "You should only need it if you modified 'configure.ac'," + echo "or m4 files included by it." + program_details 'autoconf' + ;; + autoheader*) + echo "You should only need it if you modified 'acconfig.h' or" + echo "$configure_deps." + program_details 'autoheader' + ;; + automake*) + echo "You should only need it if you modified 'Makefile.am' or" + echo "$configure_deps." + program_details 'automake' + ;; + aclocal*) + echo "You should only need it if you modified 'acinclude.m4' or" + echo "$configure_deps." + program_details 'aclocal' + ;; + autom4te*) + echo "You might have modified some maintainer files that require" + echo "the 'automa4te' program to be rebuilt." + program_details 'autom4te' + ;; + bison*|yacc*) + echo "You should only need it if you modified a '.y' file." + echo "You may want to install the GNU Bison package:" + echo "<$gnu_software_URL/bison/>" + ;; + lex*|flex*) + echo "You should only need it if you modified a '.l' file." + echo "You may want to install the Fast Lexical Analyzer package:" + echo "<$flex_URL>" + ;; + help2man*) + echo "You should only need it if you modified a dependency" \ + "of a man page." + echo "You may want to install the GNU Help2man package:" + echo "<$gnu_software_URL/help2man/>" + ;; + makeinfo*) + echo "You should only need it if you modified a '.texi' file, or" + echo "any other file indirectly affecting the aspect of the manual." + echo "You might want to install the Texinfo package:" + echo "<$gnu_software_URL/texinfo/>" + echo "The spurious makeinfo call might also be the consequence of" + echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" + echo "want to install GNU make:" + echo "<$gnu_software_URL/make/>" + ;; + *) + echo "You might have modified some files without having the proper" + echo "tools for further handling them. Check the 'README' file, it" + echo "often tells you about the needed prerequisites for installing" + echo "this package. You may also peek at any GNU archive site, in" + echo "case some other package contains this missing '$1' program." + ;; + esac +} + +give_advice "$1" | sed -e '1s/^/WARNING: /' \ + -e '2,$s/^/ /' >&2 + +# Propagate the correct exit status (expected to be 127 for a program +# not found, 63 for a program that failed due to version mismatch). +exit $st + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/spice-protocol.pc.in b/tizen/distrib/remote/common/spice-common/spice-protocol/spice-protocol.pc.in new file mode 100644 index 0000000..c7e76cd --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/spice-protocol.pc.in @@ -0,0 +1,9 @@ +prefix=@prefix@ +includedir=@includedir@ + +Name: spice-protocol +Description: SPICE protocol headers +Version: @VERSION@ + +Libs: +Cflags: -I${includedir}/spice-1 diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/spice/Makefile.am b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/Makefile.am new file mode 100644 index 0000000..a54ae89 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/Makefile.am @@ -0,0 +1,24 @@ +NULL = + +spice_protocol_includedir = $(includedir)/spice-1/spice + +spice_protocol_include_HEADERS = \ + barrier.h \ + controller_prot.h \ + end-packed.h \ + enums.h \ + error_codes.h \ + foreign_menu_prot.h \ + ipc_ring.h \ + macros.h \ + protocol.h \ + qxl_dev.h \ + qxl_windows.h \ + start-packed.h \ + stats.h \ + types.h \ + vd_agent.h \ + vdi_dev.h \ + $(NULL) + +-include $(top_srcdir)/git.mk diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/spice/Makefile.in b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/Makefile.in new file mode 100644 index 0000000..dc84bb0 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/Makefile.in @@ -0,0 +1,485 @@ +# Makefile.in generated by automake 1.13.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2012 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@ + +VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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 = : +subdir = spice +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ + $(spice_protocol_include_HEADERS) +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(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 = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +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; }; \ + } +am__installdirs = "$(DESTDIR)$(spice_protocol_includedir)" +HEADERS = $(spice_protocol_include_HEADERS) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +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@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +VERSION = @VERSION@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +am__leading_dot = @am__leading_dot@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build_alias = @build_alias@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host_alias = @host_alias@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +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@ +NULL = +spice_protocol_includedir = $(includedir)/spice-1/spice +spice_protocol_include_HEADERS = \ + barrier.h \ + controller_prot.h \ + end-packed.h \ + enums.h \ + error_codes.h \ + foreign_menu_prot.h \ + ipc_ring.h \ + macros.h \ + protocol.h \ + qxl_dev.h \ + qxl_windows.h \ + start-packed.h \ + stats.h \ + types.h \ + vd_agent.h \ + vdi_dev.h \ + $(NULL) + +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(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 spice/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu spice/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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): +install-spice_protocol_includeHEADERS: $(spice_protocol_include_HEADERS) + @$(NORMAL_INSTALL) + @list='$(spice_protocol_include_HEADERS)'; test -n "$(spice_protocol_includedir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(spice_protocol_includedir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(spice_protocol_includedir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(spice_protocol_includedir)'"; \ + $(INSTALL_HEADER) $$files "$(DESTDIR)$(spice_protocol_includedir)" || exit $$?; \ + done + +uninstall-spice_protocol_includeHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(spice_protocol_include_HEADERS)'; test -n "$(spice_protocol_includedir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(spice_protocol_includedir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @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 $(HEADERS) +installdirs: + for dir in "$(DESTDIR)$(spice_protocol_includedir)"; 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." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-spice_protocol_includeHEADERS + +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-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-spice_protocol_includeHEADERS + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ + cscopelist-am ctags ctags-am distclean distclean-generic \ + distclean-tags 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-pdf install-pdf-am install-ps install-ps-am \ + install-spice_protocol_includeHEADERS install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ + pdf-am ps ps-am tags tags-am uninstall uninstall-am \ + uninstall-spice_protocol_includeHEADERS + + +-include $(top_srcdir)/git.mk + +# 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: diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/spice/barrier.h b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/barrier.h new file mode 100644 index 0000000..710da09 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/barrier.h @@ -0,0 +1,55 @@ +/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef _H_SPICE_BARRIER +#define _H_SPICE_BARRIER + +#ifdef __GNUC__ + +#ifdef __i386__ +#define spice_mb() __asm__ __volatile__ ("lock; addl $0,0(%%esp)": : :"memory") +#else +//mfence +#define spice_mb() __asm__ __volatile__ ("lock; addl $0,0(%%rsp)": : :"memory") +#endif + +#else + +#ifdef _WIN64 +//__asm not supported on _WIN64, so use macro instead. +#define spice_mb MemoryBarrier +#else +#define spice_mb() __asm {lock add [esp], 0} +#endif + +#endif + +#endif /* _H_SPICE_BARRIER */ diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/spice/controller_prot.h b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/controller_prot.h new file mode 100644 index 0000000..bca7804 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/controller_prot.h @@ -0,0 +1,124 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_CONTROLLER_PROT +#define _H_CONTROLLER_PROT + +#include <spice/types.h> +#include <spice/start-packed.h> + +#define CONTROLLER_MAGIC (*(uint32_t*)"CTRL") +#define CONTROLLER_VERSION 1 + + +typedef struct SPICE_ATTR_PACKED ControllerInitHeader { + uint32_t magic; + uint32_t version; + uint32_t size; +} ControllerInitHeader; + +typedef struct SPICE_ATTR_PACKED ControllerInit { + ControllerInitHeader base; + uint64_t credentials; + uint32_t flags; +} ControllerInit; + +enum { + CONTROLLER_FLAG_EXCLUSIVE = 1 << 0, +}; + +typedef struct SPICE_ATTR_PACKED ControllerMsg { + uint32_t id; + uint32_t size; +} ControllerMsg; + +enum { + //extrenal app -> spice client + CONTROLLER_HOST = 1, + CONTROLLER_PORT, + CONTROLLER_SPORT, + CONTROLLER_PASSWORD, + + CONTROLLER_SECURE_CHANNELS, + CONTROLLER_DISABLE_CHANNELS, + + CONTROLLER_TLS_CIPHERS, + CONTROLLER_CA_FILE, + CONTROLLER_HOST_SUBJECT, + + CONTROLLER_FULL_SCREEN, + CONTROLLER_SET_TITLE, + + CONTROLLER_CREATE_MENU, + CONTROLLER_DELETE_MENU, + + CONTROLLER_HOTKEYS, + CONTROLLER_SEND_CAD, + + CONTROLLER_CONNECT, + CONTROLLER_SHOW, + CONTROLLER_HIDE, + + CONTROLLER_ENABLE_SMARTCARD, + + CONTROLLER_COLOR_DEPTH, + CONTROLLER_DISABLE_EFFECTS, + + CONTROLLER_ENABLE_USB, + CONTROLLER_ENABLE_USB_AUTOSHARE, + CONTROLLER_USB_FILTER, + + CONTROLLER_PROXY, + + //spice client -> external app + CONTROLLER_MENU_ITEM_CLICK = 1001, +}; + +#define CONTROLLER_TRUE (1 << 0) + +enum { + CONTROLLER_SET_FULL_SCREEN = CONTROLLER_TRUE, + CONTROLLER_AUTO_DISPLAY_RES = 1 << 1, +}; + +typedef struct SPICE_ATTR_PACKED ControllerValue { + ControllerMsg base; + uint32_t value; +} ControllerValue; + +typedef struct SPICE_ATTR_PACKED ControllerData { + ControllerMsg base; + uint8_t data[0]; +} ControllerData; + +#define CONTROLLER_MENU_ITEM_DELIMITER "\n" +#define CONTROLLER_MENU_PARAM_DELIMITER "\r" + +enum { + CONTROLLER_MENU_FLAGS_SEPARATOR = 1 << 0, + CONTROLLER_MENU_FLAGS_DISABLED = 1 << 1, + CONTROLLER_MENU_FLAGS_POPUP = 1 << 2, + CONTROLLER_MENU_FLAGS_CHECKED = 1 << 3, + CONTROLLER_MENU_FLAGS_GRAYED = 1 << 4, +}; + +#define SPICE_MENU_INTERNAL_ID_BASE 0x1300 +#define SPICE_MENU_INTERNAL_ID_SHIFT 8 + +#include <spice/end-packed.h> + +#endif diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/spice/end-packed.h b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/end-packed.h new file mode 100644 index 0000000..1acea18 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/end-packed.h @@ -0,0 +1,38 @@ +/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +/* See start-packed.h for details */ + +#undef SPICE_ATTR_PACKED + +#if defined(__MINGW32__) || !defined(__GNUC__) +#pragma pack(pop) +#endif diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/spice/enums.h b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/enums.h new file mode 100644 index 0000000..1701ef1 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/enums.h @@ -0,0 +1,621 @@ +/* this is a file autogenerated by spice_codegen.py */ +#ifndef _H_SPICE_ENUMS +#define _H_SPICE_ENUMS + +/* Generated from spice.proto, don't edit */ + +typedef enum SpiceLinkErr { + SPICE_LINK_ERR_OK, + SPICE_LINK_ERR_ERROR, + SPICE_LINK_ERR_INVALID_MAGIC, + SPICE_LINK_ERR_INVALID_DATA, + SPICE_LINK_ERR_VERSION_MISMATCH, + SPICE_LINK_ERR_NEED_SECURED, + SPICE_LINK_ERR_NEED_UNSECURED, + SPICE_LINK_ERR_PERMISSION_DENIED, + SPICE_LINK_ERR_BAD_CONNECTION_ID, + SPICE_LINK_ERR_CHANNEL_NOT_AVAILABLE, + + SPICE_LINK_ERR_ENUM_END +} SpiceLinkErr; + +typedef enum SpiceWarnCode { + SPICE_WARN_GENERAL, + + SPICE_WARN_CODE_ENUM_END +} SpiceWarnCode; + +typedef enum SpiceInfoCode { + SPICE_INFO_GENERAL, + + SPICE_INFO_CODE_ENUM_END +} SpiceInfoCode; + +typedef enum SpiceMigrateFlags { + SPICE_MIGRATE_NEED_FLUSH = (1 << 0), + SPICE_MIGRATE_NEED_DATA_TRANSFER = (1 << 1), + + SPICE_MIGRATE_FLAGS_MASK = 0x3 +} SpiceMigrateFlags; + +typedef enum SpiceCompositeFlags { + SPICE_COMPOSITE_OP0 = (1 << 0), + SPICE_COMPOSITE_OP1 = (1 << 1), + SPICE_COMPOSITE_OP2 = (1 << 2), + SPICE_COMPOSITE_OP3 = (1 << 3), + SPICE_COMPOSITE_OP4 = (1 << 4), + SPICE_COMPOSITE_OP5 = (1 << 5), + SPICE_COMPOSITE_OP6 = (1 << 6), + SPICE_COMPOSITE_OP7 = (1 << 7), + SPICE_COMPOSITE_SRC_FILTER0 = (1 << 8), + SPICE_COMPOSITE_SRC_FILTER1 = (1 << 9), + SPICE_COMPOSITE_SRC_FILTER2 = (1 << 10), + SPICE_COMPOSITE_MASK_FILTER0 = (1 << 11), + SPICE_COMPOSITE_MASK_FITLER1 = (1 << 12), + SPICE_COMPOSITE_MASK_FILTER2 = (1 << 13), + SPICE_COMPOSITE_SRC_REPEAT0 = (1 << 14), + SPICE_COMPOSITE_SRC_REPEAT1 = (1 << 15), + SPICE_COMPOSITE_MASK_REPEAT0 = (1 << 16), + SPICE_COMPOSITE_MASK_REPEAT1 = (1 << 17), + SPICE_COMPOSITE_COMPONENT_ALPHA = (1 << 18), + SPICE_COMPOSITE_HAS_MASK = (1 << 19), + SPICE_COMPOSITE_HAS_SRC_TRANSFORM = (1 << 20), + SPICE_COMPOSITE_HAS_MASK_TRANSFORM = (1 << 21), + SPICE_COMPOSITE_SOURCE_OPAQUE = (1 << 22), + SPICE_COMPOSITE_MASK_OPAQUE = (1 << 23), + SPICE_COMPOSITE_DEST_OPAQUE = (1 << 24), + + SPICE_COMPOSITE_FLAGS_MASK = 0x1ffffff +} SpiceCompositeFlags; + +typedef enum SpiceNotifySeverity { + SPICE_NOTIFY_SEVERITY_INFO, + SPICE_NOTIFY_SEVERITY_WARN, + SPICE_NOTIFY_SEVERITY_ERROR, + + SPICE_NOTIFY_SEVERITY_ENUM_END +} SpiceNotifySeverity; + +typedef enum SpiceNotifyVisibility { + SPICE_NOTIFY_VISIBILITY_LOW, + SPICE_NOTIFY_VISIBILITY_MEDIUM, + SPICE_NOTIFY_VISIBILITY_HIGH, + + SPICE_NOTIFY_VISIBILITY_ENUM_END +} SpiceNotifyVisibility; + +typedef enum SpiceMouseMode { + SPICE_MOUSE_MODE_SERVER = (1 << 0), + SPICE_MOUSE_MODE_CLIENT = (1 << 1), + + SPICE_MOUSE_MODE_MASK = 0x3 +} SpiceMouseMode; + +typedef enum SpicePubkeyType { + SPICE_PUBKEY_TYPE_INVALID, + SPICE_PUBKEY_TYPE_RSA, + SPICE_PUBKEY_TYPE_RSA2, + SPICE_PUBKEY_TYPE_DSA, + SPICE_PUBKEY_TYPE_DSA1, + SPICE_PUBKEY_TYPE_DSA2, + SPICE_PUBKEY_TYPE_DSA3, + SPICE_PUBKEY_TYPE_DSA4, + SPICE_PUBKEY_TYPE_DH, + SPICE_PUBKEY_TYPE_EC, + + SPICE_PUBKEY_TYPE_ENUM_END +} SpicePubkeyType; + +typedef enum SpiceClipType { + SPICE_CLIP_TYPE_NONE, + SPICE_CLIP_TYPE_RECTS, + + SPICE_CLIP_TYPE_ENUM_END +} SpiceClipType; + +typedef enum SpicePathFlags { + SPICE_PATH_BEGIN = (1 << 0), + SPICE_PATH_END = (1 << 1), + SPICE_PATH_CLOSE = (1 << 3), + SPICE_PATH_BEZIER = (1 << 4), + + SPICE_PATH_FLAGS_MASK = 0x1b +} SpicePathFlags; + +typedef enum SpiceVideoCodecType { + SPICE_VIDEO_CODEC_TYPE_MJPEG = 1, + + SPICE_VIDEO_CODEC_TYPE_ENUM_END +} SpiceVideoCodecType; + +typedef enum SpiceStreamFlags { + SPICE_STREAM_FLAGS_TOP_DOWN = (1 << 0), + + SPICE_STREAM_FLAGS_MASK = 0x1 +} SpiceStreamFlags; + +typedef enum SpiceBrushType { + SPICE_BRUSH_TYPE_NONE, + SPICE_BRUSH_TYPE_SOLID, + SPICE_BRUSH_TYPE_PATTERN, + + SPICE_BRUSH_TYPE_ENUM_END +} SpiceBrushType; + +typedef enum SpiceMaskFlags { + SPICE_MASK_FLAGS_INVERS = (1 << 0), + + SPICE_MASK_FLAGS_MASK = 0x1 +} SpiceMaskFlags; + +typedef enum SpiceImageType { + SPICE_IMAGE_TYPE_BITMAP, + SPICE_IMAGE_TYPE_QUIC, + SPICE_IMAGE_TYPE_RESERVED, + SPICE_IMAGE_TYPE_LZ_PLT = 100, + SPICE_IMAGE_TYPE_LZ_RGB, + SPICE_IMAGE_TYPE_GLZ_RGB, + SPICE_IMAGE_TYPE_FROM_CACHE, + SPICE_IMAGE_TYPE_SURFACE, + SPICE_IMAGE_TYPE_JPEG, + SPICE_IMAGE_TYPE_FROM_CACHE_LOSSLESS, + SPICE_IMAGE_TYPE_ZLIB_GLZ_RGB, + SPICE_IMAGE_TYPE_JPEG_ALPHA, + + SPICE_IMAGE_TYPE_ENUM_END +} SpiceImageType; + +typedef enum SpiceImageFlags { + SPICE_IMAGE_FLAGS_CACHE_ME = (1 << 0), + SPICE_IMAGE_FLAGS_HIGH_BITS_SET = (1 << 1), + SPICE_IMAGE_FLAGS_CACHE_REPLACE_ME = (1 << 2), + + SPICE_IMAGE_FLAGS_MASK = 0x7 +} SpiceImageFlags; + +typedef enum SpiceBitmapFmt { + SPICE_BITMAP_FMT_INVALID, + SPICE_BITMAP_FMT_1BIT_LE, + SPICE_BITMAP_FMT_1BIT_BE, + SPICE_BITMAP_FMT_4BIT_LE, + SPICE_BITMAP_FMT_4BIT_BE, + SPICE_BITMAP_FMT_8BIT, + SPICE_BITMAP_FMT_16BIT, + SPICE_BITMAP_FMT_24BIT, + SPICE_BITMAP_FMT_32BIT, + SPICE_BITMAP_FMT_RGBA, + SPICE_BITMAP_FMT_8BIT_A, + + SPICE_BITMAP_FMT_ENUM_END +} SpiceBitmapFmt; + +typedef enum SpiceBitmapFlags { + SPICE_BITMAP_FLAGS_PAL_CACHE_ME = (1 << 0), + SPICE_BITMAP_FLAGS_PAL_FROM_CACHE = (1 << 1), + SPICE_BITMAP_FLAGS_TOP_DOWN = (1 << 2), + + SPICE_BITMAP_FLAGS_MASK = 0x7 +} SpiceBitmapFlags; + +typedef enum SpiceJpegAlphaFlags { + SPICE_JPEG_ALPHA_FLAGS_TOP_DOWN = (1 << 0), + + SPICE_JPEG_ALPHA_FLAGS_MASK = 0x1 +} SpiceJpegAlphaFlags; + +typedef enum SpiceImageScaleMode { + SPICE_IMAGE_SCALE_MODE_INTERPOLATE, + SPICE_IMAGE_SCALE_MODE_NEAREST, + + SPICE_IMAGE_SCALE_MODE_ENUM_END +} SpiceImageScaleMode; + +typedef enum SpiceRopd { + SPICE_ROPD_INVERS_SRC = (1 << 0), + SPICE_ROPD_INVERS_BRUSH = (1 << 1), + SPICE_ROPD_INVERS_DEST = (1 << 2), + SPICE_ROPD_OP_PUT = (1 << 3), + SPICE_ROPD_OP_OR = (1 << 4), + SPICE_ROPD_OP_AND = (1 << 5), + SPICE_ROPD_OP_XOR = (1 << 6), + SPICE_ROPD_OP_BLACKNESS = (1 << 7), + SPICE_ROPD_OP_WHITENESS = (1 << 8), + SPICE_ROPD_OP_INVERS = (1 << 9), + SPICE_ROPD_INVERS_RES = (1 << 10), + + SPICE_ROPD_MASK = 0x7ff +} SpiceRopd; + +typedef enum SpiceLineFlags { + SPICE_LINE_FLAGS_START_WITH_GAP = (1 << 2), + SPICE_LINE_FLAGS_STYLED = (1 << 3), + + SPICE_LINE_FLAGS_MASK = 0xc +} SpiceLineFlags; + +typedef enum SpiceStringFlags { + SPICE_STRING_FLAGS_RASTER_A1 = (1 << 0), + SPICE_STRING_FLAGS_RASTER_A4 = (1 << 1), + SPICE_STRING_FLAGS_RASTER_A8 = (1 << 2), + SPICE_STRING_FLAGS_RASTER_TOP_DOWN = (1 << 3), + + SPICE_STRING_FLAGS_MASK = 0xf +} SpiceStringFlags; + +typedef enum SpiceSurfaceFlags { + SPICE_SURFACE_FLAGS_PRIMARY = (1 << 0), + + SPICE_SURFACE_FLAGS_MASK = 0x1 +} SpiceSurfaceFlags; + +typedef enum SpiceSurfaceFmt { + SPICE_SURFACE_FMT_INVALID, + SPICE_SURFACE_FMT_1_A, + SPICE_SURFACE_FMT_8_A = 8, + SPICE_SURFACE_FMT_16_555 = 16, + SPICE_SURFACE_FMT_32_xRGB = 32, + SPICE_SURFACE_FMT_16_565 = 80, + SPICE_SURFACE_FMT_32_ARGB = 96, + + SPICE_SURFACE_FMT_ENUM_END +} SpiceSurfaceFmt; + +typedef enum SpiceAlphaFlags { + SPICE_ALPHA_FLAGS_DEST_HAS_ALPHA = (1 << 0), + SPICE_ALPHA_FLAGS_SRC_SURFACE_HAS_ALPHA = (1 << 1), + + SPICE_ALPHA_FLAGS_MASK = 0x3 +} SpiceAlphaFlags; + +typedef enum SpiceResourceType { + SPICE_RES_TYPE_INVALID, + SPICE_RES_TYPE_PIXMAP, + + SPICE_RESOURCE_TYPE_ENUM_END +} SpiceResourceType; + +typedef enum SpiceKeyboardModifierFlags { + SPICE_KEYBOARD_MODIFIER_FLAGS_SCROLL_LOCK = (1 << 0), + SPICE_KEYBOARD_MODIFIER_FLAGS_NUM_LOCK = (1 << 1), + SPICE_KEYBOARD_MODIFIER_FLAGS_CAPS_LOCK = (1 << 2), + + SPICE_KEYBOARD_MODIFIER_FLAGS_MASK = 0x7 +} SpiceKeyboardModifierFlags; + +typedef enum SpiceMouseButton { + SPICE_MOUSE_BUTTON_INVALID, + SPICE_MOUSE_BUTTON_LEFT, + SPICE_MOUSE_BUTTON_MIDDLE, + SPICE_MOUSE_BUTTON_RIGHT, + SPICE_MOUSE_BUTTON_UP, + SPICE_MOUSE_BUTTON_DOWN, + + SPICE_MOUSE_BUTTON_ENUM_END +} SpiceMouseButton; + +typedef enum SpiceMouseButtonMask { + SPICE_MOUSE_BUTTON_MASK_LEFT = (1 << 0), + SPICE_MOUSE_BUTTON_MASK_MIDDLE = (1 << 1), + SPICE_MOUSE_BUTTON_MASK_RIGHT = (1 << 2), + + SPICE_MOUSE_BUTTON_MASK_MASK = 0x7 +} SpiceMouseButtonMask; + +typedef enum SpiceCursorType { + SPICE_CURSOR_TYPE_ALPHA, + SPICE_CURSOR_TYPE_MONO, + SPICE_CURSOR_TYPE_COLOR4, + SPICE_CURSOR_TYPE_COLOR8, + SPICE_CURSOR_TYPE_COLOR16, + SPICE_CURSOR_TYPE_COLOR24, + SPICE_CURSOR_TYPE_COLOR32, + + SPICE_CURSOR_TYPE_ENUM_END +} SpiceCursorType; + +typedef enum SpiceCursorFlags { + SPICE_CURSOR_FLAGS_NONE = (1 << 0), + SPICE_CURSOR_FLAGS_CACHE_ME = (1 << 1), + SPICE_CURSOR_FLAGS_FROM_CACHE = (1 << 2), + + SPICE_CURSOR_FLAGS_MASK = 0x7 +} SpiceCursorFlags; + +typedef enum SpiceAudioDataMode { + SPICE_AUDIO_DATA_MODE_INVALID, + SPICE_AUDIO_DATA_MODE_RAW, + SPICE_AUDIO_DATA_MODE_CELT_0_5_1, + + SPICE_AUDIO_DATA_MODE_ENUM_END +} SpiceAudioDataMode; + +typedef enum SpiceAudioFmt { + SPICE_AUDIO_FMT_INVALID, + SPICE_AUDIO_FMT_S16, + + SPICE_AUDIO_FMT_ENUM_END +} SpiceAudioFmt; + +typedef enum SpiceTunnelServiceType { + SPICE_TUNNEL_SERVICE_TYPE_INVALID, + SPICE_TUNNEL_SERVICE_TYPE_GENERIC, + SPICE_TUNNEL_SERVICE_TYPE_IPP, + + SPICE_TUNNEL_SERVICE_TYPE_ENUM_END +} SpiceTunnelServiceType; + +typedef enum SpiceTunnelIpType { + SPICE_TUNNEL_IP_TYPE_INVALID, + SPICE_TUNNEL_IP_TYPE_IPv4, + + SPICE_TUNNEL_IP_TYPE_ENUM_END +} SpiceTunnelIpType; + +typedef enum SpiceVscMessageType { + SPICE_VSC_MESSAGE_TYPE_Init = 1, + SPICE_VSC_MESSAGE_TYPE_Error, + SPICE_VSC_MESSAGE_TYPE_ReaderAdd, + SPICE_VSC_MESSAGE_TYPE_ReaderRemove, + SPICE_VSC_MESSAGE_TYPE_ATR, + SPICE_VSC_MESSAGE_TYPE_CardRemove, + SPICE_VSC_MESSAGE_TYPE_APDU, + SPICE_VSC_MESSAGE_TYPE_Flush, + SPICE_VSC_MESSAGE_TYPE_FlushComplete, + + SPICE_VSC_MESSAGE_TYPE_ENUM_END +} SpiceVscMessageType; + +enum { + SPICE_CHANNEL_MAIN = 1, + SPICE_CHANNEL_DISPLAY, + SPICE_CHANNEL_INPUTS, + SPICE_CHANNEL_CURSOR, + SPICE_CHANNEL_PLAYBACK, + SPICE_CHANNEL_RECORD, + SPICE_CHANNEL_TUNNEL, + SPICE_CHANNEL_SMARTCARD, + SPICE_CHANNEL_USBREDIR, + SPICE_CHANNEL_PORT, + + SPICE_END_CHANNEL +}; + +enum { + SPICE_MSG_MIGRATE = 1, + SPICE_MSG_MIGRATE_DATA, + SPICE_MSG_SET_ACK, + SPICE_MSG_PING, + SPICE_MSG_WAIT_FOR_CHANNELS, + SPICE_MSG_DISCONNECTING, + SPICE_MSG_NOTIFY, + SPICE_MSG_LIST, +}; + +enum { + SPICE_MSGC_ACK_SYNC = 1, + SPICE_MSGC_ACK, + SPICE_MSGC_PONG, + SPICE_MSGC_MIGRATE_FLUSH_MARK, + SPICE_MSGC_MIGRATE_DATA, + SPICE_MSGC_DISCONNECTING, +}; + +enum { + SPICE_MSG_MAIN_MIGRATE_BEGIN = 101, + SPICE_MSG_MAIN_MIGRATE_CANCEL, + SPICE_MSG_MAIN_INIT, + SPICE_MSG_MAIN_CHANNELS_LIST, + SPICE_MSG_MAIN_MOUSE_MODE, + SPICE_MSG_MAIN_MULTI_MEDIA_TIME, + SPICE_MSG_MAIN_AGENT_CONNECTED, + SPICE_MSG_MAIN_AGENT_DISCONNECTED, + SPICE_MSG_MAIN_AGENT_DATA, + SPICE_MSG_MAIN_AGENT_TOKEN, + SPICE_MSG_MAIN_MIGRATE_SWITCH_HOST, + SPICE_MSG_MAIN_MIGRATE_END, + SPICE_MSG_MAIN_NAME, + SPICE_MSG_MAIN_UUID, + SPICE_MSG_MAIN_AGENT_CONNECTED_TOKENS, + SPICE_MSG_MAIN_MIGRATE_BEGIN_SEAMLESS, + SPICE_MSG_MAIN_MIGRATE_DST_SEAMLESS_ACK, + SPICE_MSG_MAIN_MIGRATE_DST_SEAMLESS_NACK, + + SPICE_MSG_END_MAIN +}; + +enum { + SPICE_MSGC_MAIN_CLIENT_INFO = 101, + SPICE_MSGC_MAIN_MIGRATE_CONNECTED, + SPICE_MSGC_MAIN_MIGRATE_CONNECT_ERROR, + SPICE_MSGC_MAIN_ATTACH_CHANNELS, + SPICE_MSGC_MAIN_MOUSE_MODE_REQUEST, + SPICE_MSGC_MAIN_AGENT_START, + SPICE_MSGC_MAIN_AGENT_DATA, + SPICE_MSGC_MAIN_AGENT_TOKEN, + SPICE_MSGC_MAIN_MIGRATE_END, + SPICE_MSGC_MAIN_MIGRATE_DST_DO_SEAMLESS, + SPICE_MSGC_MAIN_MIGRATE_CONNECTED_SEAMLESS, + + SPICE_MSGC_END_MAIN +}; + +enum { + SPICE_MSG_DISPLAY_MODE = 101, + SPICE_MSG_DISPLAY_MARK, + SPICE_MSG_DISPLAY_RESET, + SPICE_MSG_DISPLAY_COPY_BITS, + SPICE_MSG_DISPLAY_INVAL_LIST, + SPICE_MSG_DISPLAY_INVAL_ALL_PIXMAPS, + SPICE_MSG_DISPLAY_INVAL_PALETTE, + SPICE_MSG_DISPLAY_INVAL_ALL_PALETTES, + SPICE_MSG_DISPLAY_STREAM_CREATE = 122, + SPICE_MSG_DISPLAY_STREAM_DATA, + SPICE_MSG_DISPLAY_STREAM_CLIP, + SPICE_MSG_DISPLAY_STREAM_DESTROY, + SPICE_MSG_DISPLAY_STREAM_DESTROY_ALL, + SPICE_MSG_DISPLAY_DRAW_FILL = 302, + SPICE_MSG_DISPLAY_DRAW_OPAQUE, + SPICE_MSG_DISPLAY_DRAW_COPY, + SPICE_MSG_DISPLAY_DRAW_BLEND, + SPICE_MSG_DISPLAY_DRAW_BLACKNESS, + SPICE_MSG_DISPLAY_DRAW_WHITENESS, + SPICE_MSG_DISPLAY_DRAW_INVERS, + SPICE_MSG_DISPLAY_DRAW_ROP3, + SPICE_MSG_DISPLAY_DRAW_STROKE, + SPICE_MSG_DISPLAY_DRAW_TEXT, + SPICE_MSG_DISPLAY_DRAW_TRANSPARENT, + SPICE_MSG_DISPLAY_DRAW_ALPHA_BLEND, + SPICE_MSG_DISPLAY_SURFACE_CREATE, + SPICE_MSG_DISPLAY_SURFACE_DESTROY, + SPICE_MSG_DISPLAY_STREAM_DATA_SIZED, + SPICE_MSG_DISPLAY_MONITORS_CONFIG, + SPICE_MSG_DISPLAY_DRAW_COMPOSITE, + + SPICE_MSG_END_DISPLAY +}; + +enum { + SPICE_MSGC_DISPLAY_INIT = 101, + + SPICE_MSGC_END_DISPLAY +}; + +enum { + SPICE_MSG_INPUTS_INIT = 101, + SPICE_MSG_INPUTS_KEY_MODIFIERS, + SPICE_MSG_INPUTS_MOUSE_MOTION_ACK = 111, + + SPICE_MSG_END_INPUTS +}; + +enum { + SPICE_MSGC_INPUTS_KEY_DOWN = 101, + SPICE_MSGC_INPUTS_KEY_UP, + SPICE_MSGC_INPUTS_KEY_MODIFIERS, + SPICE_MSGC_INPUTS_KEY_SCANCODE, + SPICE_MSGC_INPUTS_MOUSE_MOTION = 111, + SPICE_MSGC_INPUTS_MOUSE_POSITION, + SPICE_MSGC_INPUTS_MOUSE_PRESS, + SPICE_MSGC_INPUTS_MOUSE_RELEASE, +#ifdef CONFIG_MARU + SPICE_MSGC_INPUTS_HWKEY_DOWN = 121, + SPICE_MSGC_INPUTS_HWKEY_UP, + SPICE_MSGC_INPUTS_ROTATION_TYPE, + SPICE_MSGC_INPUTS_HOSTKBD_ONOFF, + SPICE_MSGC_INPUTS_CLOSE_TYPE, + SPICE_MSGC_INPUTS_SDB_PORT, +#endif + + SPICE_MSGC_END_INPUTS +}; + +enum { + SPICE_MSG_CURSOR_INIT = 101, + SPICE_MSG_CURSOR_RESET, + SPICE_MSG_CURSOR_SET, + SPICE_MSG_CURSOR_MOVE, + SPICE_MSG_CURSOR_HIDE, + SPICE_MSG_CURSOR_TRAIL, + SPICE_MSG_CURSOR_INVAL_ONE, + SPICE_MSG_CURSOR_INVAL_ALL, + + SPICE_MSG_END_CURSOR +}; + +enum { + SPICE_MSG_PLAYBACK_DATA = 101, + SPICE_MSG_PLAYBACK_MODE, + SPICE_MSG_PLAYBACK_START, + SPICE_MSG_PLAYBACK_STOP, + SPICE_MSG_PLAYBACK_VOLUME, + SPICE_MSG_PLAYBACK_MUTE, + + SPICE_MSG_END_PLAYBACK +}; + +enum { + SPICE_MSG_RECORD_START = 101, + SPICE_MSG_RECORD_STOP, + SPICE_MSG_RECORD_VOLUME, + SPICE_MSG_RECORD_MUTE, + + SPICE_MSG_END_RECORD +}; + +enum { + SPICE_MSGC_RECORD_DATA = 101, + SPICE_MSGC_RECORD_MODE, + SPICE_MSGC_RECORD_START_MARK, + + SPICE_MSGC_END_RECORD +}; + +enum { + SPICE_MSG_TUNNEL_INIT = 101, + SPICE_MSG_TUNNEL_SERVICE_IP_MAP, + SPICE_MSG_TUNNEL_SOCKET_OPEN, + SPICE_MSG_TUNNEL_SOCKET_FIN, + SPICE_MSG_TUNNEL_SOCKET_CLOSE, + SPICE_MSG_TUNNEL_SOCKET_DATA, + SPICE_MSG_TUNNEL_SOCKET_CLOSED_ACK, + SPICE_MSG_TUNNEL_SOCKET_TOKEN, + + SPICE_MSG_END_TUNNEL +}; + +enum { + SPICE_MSGC_TUNNEL_SERVICE_ADD = 101, + SPICE_MSGC_TUNNEL_SERVICE_REMOVE, + SPICE_MSGC_TUNNEL_SOCKET_OPEN_ACK, + SPICE_MSGC_TUNNEL_SOCKET_OPEN_NACK, + SPICE_MSGC_TUNNEL_SOCKET_FIN, + SPICE_MSGC_TUNNEL_SOCKET_CLOSED, + SPICE_MSGC_TUNNEL_SOCKET_CLOSED_ACK, + SPICE_MSGC_TUNNEL_SOCKET_DATA, + SPICE_MSGC_TUNNEL_SOCKET_TOKEN, + + SPICE_MSGC_END_TUNNEL +}; + +enum { + SPICE_MSG_SMARTCARD_DATA = 101, + + SPICE_MSG_END_SMARTCARD +}; + +enum { + SPICE_MSGC_SMARTCARD_DATA = 101, + SPICE_MSGC_SMARTCARD_HEADER = 101, + SPICE_MSGC_SMARTCARD_ERROR = 101, + SPICE_MSGC_SMARTCARD_ATR = 101, + SPICE_MSGC_SMARTCARD_READER_ADD = 101, + + SPICE_MSGC_END_SMARTCARD +}; + +enum { + SPICE_MSG_SPICEVMC_DATA = 101, + + SPICE_MSG_END_SPICEVMC +}; + +enum { + SPICE_MSGC_SPICEVMC_DATA = 101, + + SPICE_MSGC_END_SPICEVMC +}; + +enum { + SPICE_MSG_PORT_INIT = 201, + SPICE_MSG_PORT_EVENT, + + SPICE_MSG_END_PORT +}; + +enum { + SPICE_MSGC_PORT_EVENT = 201, + + SPICE_MSGC_END_PORT +}; + +#endif /* _H_SPICE_ENUMS */ diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/spice/error_codes.h b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/error_codes.h new file mode 100644 index 0000000..9fcfe3f --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/error_codes.h @@ -0,0 +1,51 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef _H_SPICE_ERROR_CODES +#define _H_SPICE_ERROR_CODES + +#define SPICEC_ERROR_CODE_SUCCESS 0 +#define SPICEC_ERROR_CODE_ERROR 1 +#define SPICEC_ERROR_CODE_GETHOSTBYNAME_FAILED 2 +#define SPICEC_ERROR_CODE_CONNECT_FAILED 3 +#define SPICEC_ERROR_CODE_SOCKET_FAILED 4 +#define SPICEC_ERROR_CODE_SEND_FAILED 5 +#define SPICEC_ERROR_CODE_RECV_FAILED 6 +#define SPICEC_ERROR_CODE_SSL_ERROR 7 +#define SPICEC_ERROR_CODE_NOT_ENOUGH_MEMORY 8 +#define SPICEC_ERROR_CODE_AGENT_TIMEOUT 9 +#define SPICEC_ERROR_CODE_AGENT_ERROR 10 +#define SPICEC_ERROR_CODE_VERSION_MISMATCH 11 +#define SPICEC_ERROR_CODE_PERMISSION_DENIED 12 +#define SPICEC_ERROR_CODE_INVALID_ARG 13 +#define SPICEC_ERROR_CODE_CMD_LINE_ERROR 14 + +#endif /* _H_SPICE_ERROR_CODES */ + diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/spice/foreign_menu_prot.h b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/foreign_menu_prot.h new file mode 100644 index 0000000..f478e2a --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/foreign_menu_prot.h @@ -0,0 +1,104 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_FOREIGN_MENU_PROT +#define _H_FOREIGN_MENU_PROT + +#include <spice/types.h> +#include <spice/start-packed.h> + +#define FOREIGN_MENU_MAGIC (*(uint32_t*)"FRGM") +#define FOREIGN_MENU_VERSION 1 + +typedef struct SPICE_ATTR_PACKED FrgMenuInitHeader { + uint32_t magic; + uint32_t version; + uint32_t size; +} FrgMenuInitHeader; + +typedef struct SPICE_ATTR_PACKED FrgMenuInit { + FrgMenuInitHeader base; + uint64_t credentials; + uint8_t title[0]; //UTF8 +} FrgMenuInit; + +typedef struct SPICE_ATTR_PACKED FrgMenuMsg { + uint32_t id; + uint32_t size; +} FrgMenuMsg; + +enum { + //extrenal app -> spice client + FOREIGN_MENU_SET_TITLE = 1, + FOREIGN_MENU_ADD_ITEM, + FOREIGN_MENU_MODIFY_ITEM, + FOREIGN_MENU_REMOVE_ITEM, + FOREIGN_MENU_CLEAR, + + //spice client -> external app + FOREIGN_MENU_ITEM_EVENT = 1001, + FOREIGN_MENU_APP_ACTIVATED, + FOREIGN_MENU_APP_DEACTIVATED, +}; + +typedef struct SPICE_ATTR_PACKED FrgMenuSetTitle { + FrgMenuMsg base; + uint8_t string[0]; //UTF8 +} FrgMenuSetTitle; + +enum { + FOREIGN_MENU_ITEM_TYPE_CHECKED = 1 << 0, + FOREIGN_MENU_ITEM_TYPE_DIM = 1 << 1, + FOREIGN_MENU_ITEM_TYPE_SEPARATOR = 1 << 2 +}; + +#define FOREIGN_MENU_INVALID_ID 0 + +typedef struct SPICE_ATTR_PACKED FrgMenuAddItem { + FrgMenuMsg base; + uint32_t id; + uint32_t type; + uint32_t position; + uint8_t string[0]; //UTF8 +} FrgMenuAddItem, FrgMenuModItem; + +typedef struct SPICE_ATTR_PACKED FrgMenuRmItem { + FrgMenuMsg base; + uint32_t id; +} FrgMenuRmItem; + +typedef struct FrgMenuMsg FrgMenuRmItems; +typedef struct FrgMenuMsg FrgMenuDelete; + +enum { + FOREIGN_MENU_EVENT_CLICK, + FOREIGN_MENU_EVENT_CHECKED, + FOREIGN_MENU_EVENT_UNCHECKED +}; + +typedef struct SPICE_ATTR_PACKED FrgMenuEvent { + FrgMenuMsg base; + uint32_t id; + uint32_t action; //FOREIGN_MENU_EVENT_? +} FrgMenuEvent; + +typedef struct FrgMenuMsg FrgMenuActivate; +typedef struct FrgMenuMsg FrgMenuDeactivate; + +#include <spice/end-packed.h> + +#endif diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/spice/ipc_ring.h b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/ipc_ring.h new file mode 100644 index 0000000..d8d854f --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/ipc_ring.h @@ -0,0 +1,136 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#ifndef _H_SPICE_RING +#define _H_SPICE_RING + +#include <spice/types.h> + +#define _SPICE_MSB_MASK4(x) \ + (((x) & 0x8) ? 0x8 : \ + ((x) & 0x4) ? 0x4 : \ + ((x) & 0x2) ? 0x2 : \ + ((x) & 0x1) ? 0x1 : 0) + +#define _SPICE_MSB_MASK8(x) \ + (((x) & 0xf0) ? _SPICE_MSB_MASK4((x) >> 4) << 4 : _SPICE_MSB_MASK4(x)) + +#define _SPICE_MSB_MASK16(x) \ + (((x) & 0xff00) ? _SPICE_MSB_MASK8((x) >> 8) << 8 : _SPICE_MSB_MASK8(x)) + +#define _SPICE_MSB_MASK(x) \ + (((x) & 0xffff0000) ? _SPICE_MSB_MASK16((x) >> 16) << 16 : _SPICE_MSB_MASK16(x)) + +#define _SPICE_POWER2_ALIGN(x) _SPICE_MSB_MASK((x) * 2 - 1) + + +#define _SPICE_TOSHIFT_4(x) \ + (((x) & 0x8) ? 3 : \ + ((x) & 0x4) ? 2 : \ + ((x) & 0x2) ? 1 : 0) + +#define _SPICE_TOSHIFT_8(x) \ + (((x) & 0xf0) ? _SPICE_TOSHIFT_4((x) >> 4) + 4 : _SPICE_TOSHIFT_4(x)) + +#define _SPICE_TOSHIFT_16(x) \ + (((x) & 0xff00) ? _SPICE_TOSHIFT_8((x) >> 8) + 8 : _SPICE_TOSHIFT_8(x)) + +#define _SPICE_POWER2_TO_SHIFT(x) \ + (((x) & 0xffff0000) ? _SPICE_TOSHIFT_16((x) >> 16) + 16 : _SPICE_TOSHIFT_16(x)) + + + +#define SPICE_RING_DECLARE(name, el_type, size) \ +typedef struct SPICE_ATTR_PACKED name##_ring_el { \ + union { \ + el_type el; \ + uint8_t data[_SPICE_POWER2_ALIGN(sizeof(el_type))]; \ + } ; \ +} name##_ring_el; \ + \ +typedef struct SPICE_ATTR_PACKED name { \ + uint32_t num_items; \ + uint32_t prod; \ + uint32_t notify_on_prod; \ + uint32_t cons; \ + uint32_t notify_on_cons; \ + name##_ring_el items[_SPICE_POWER2_ALIGN(size)]; \ +} name; + + +#define SPICE_RING_INIT(r) \ + (r)->num_items = sizeof((r)->items) >> \ + _SPICE_POWER2_TO_SHIFT(sizeof((r)->items[0])); \ + (r)->prod = (r)->cons = 0; \ + (r)->notify_on_prod = 1; \ + (r)->notify_on_cons = 0; + + +#define SPICE_RING_INDEX_MASK(r) ((r)->num_items - 1) + +#define SPICE_RING_IS_PACKED(r) (sizeof((r)->items[0]) == sizeof((r)->items[0]).el) + +#define SPICE_RING_IS_EMPTY(r) ((r)->cons == (r)->prod) + +#define SPICE_RING_IS_FULL(r) (((r)->prod - (r)->cons) == (r)->num_items) + +#define SPICE_RING_PROD_ITEM(r) (&(r)->items[(r)->prod & SPICE_RING_INDEX_MASK(r)].el) + +#define SPICE_RING_PROD_WAIT(r, wait) \ + if (((wait) = SPICE_RING_IS_FULL(r))) { \ + (r)->notify_on_cons = (r)->cons + 1; \ + spice_mb(); \ + (wait) = SPICE_RING_IS_FULL(r); \ + } + +#define SPICE_RING_PUSH(r, notify) \ + (r)->prod++; \ + spice_mb(); \ + (notify) = (r)->prod == (r)->notify_on_prod; + + +#define SPICE_RING_CONS_ITEM(r) (&(r)->items[(r)->cons & SPICE_RING_INDEX_MASK(r)].el) + +#define SPICE_RING_CONS_WAIT(r, wait) \ + if (((wait) = SPICE_RING_IS_EMPTY(r))) { \ + (r)->notify_on_prod = (r)->prod + 1; \ + spice_mb(); \ + (wait) = SPICE_RING_IS_EMPTY(r); \ + } + +#define SPICE_RING_POP(r, notify) \ + (r)->cons++; \ + spice_mb(); \ + (notify) = (r)->cons == (r)->notify_on_cons; + + + +#endif /* _H_SPICE_RING */ diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/spice/macros.h b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/macros.h new file mode 100644 index 0000000..78538a5 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/macros.h @@ -0,0 +1,368 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 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 Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +/* This file is to a large extent based on gmacros.h from glib + * Which is LGPL and copyright: + * + * Modified by the GLib Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GLib Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GLib at ftp://ftp.gtk.org/pub/gtk/. + */ + +#ifndef _H_SPICE_MACROS +#define _H_SPICE_MACROS + +/* We include stddef.h to get the system's definition of NULL */ +#include <stddef.h> + +#include <spice/types.h> + +#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) +#define SPICE_GNUC_PURE __attribute__((__pure__)) +#define SPICE_GNUC_MALLOC __attribute__((__malloc__)) +#else +#define SPICE_GNUC_PURE +#define SPICE_GNUC_MALLOC +#endif + +#if __GNUC__ >= 4 +#define SPICE_GNUC_NULL_TERMINATED __attribute__((__sentinel__)) +#else +#define SPICE_GNUC_NULL_TERMINATED +#endif + +#if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3) +#define SPICE_GNUC_ALLOC_SIZE(x) __attribute__((__alloc_size__(x))) +#define SPICE_GNUC_ALLOC_SIZE2(x,y) __attribute__((__alloc_size__(x,y))) +#else +#define SPICE_GNUC_ALLOC_SIZE(x) +#define SPICE_GNUC_ALLOC_SIZE2(x,y) +#endif + +#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4) +#define SPICE_GNUC_PRINTF( format_idx, arg_idx ) __attribute__((__format__ (__printf__, format_idx, arg_idx))) +#define SPICE_GNUC_SCANF( format_idx, arg_idx ) __attribute__((__format__ (__scanf__, format_idx, arg_idx))) +#define SPICE_GNUC_FORMAT( arg_idx ) __attribute__((__format_arg__ (arg_idx))) +#define SPICE_GNUC_NORETURN __attribute__((__noreturn__)) +#define SPICE_GNUC_CONST __attribute__((__const__)) +#define SPICE_GNUC_UNUSED __attribute__((__unused__)) +#define SPICE_GNUC_NO_INSTRUMENT __attribute__((__no_instrument_function__)) +#else /* !__GNUC__ */ +#define SPICE_GNUC_PRINTF( format_idx, arg_idx ) +#define SPICE_GNUC_SCANF( format_idx, arg_idx ) +#define SPICE_GNUC_FORMAT( arg_idx ) +#define SPICE_GNUC_NORETURN +#define SPICE_GNUC_CONST +#define SPICE_GNUC_UNUSED +#define SPICE_GNUC_NO_INSTRUMENT +#endif /* !__GNUC__ */ + +#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1) +#define SPICE_GNUC_DEPRECATED __attribute__((__deprecated__)) +#else +#define SPICE_GNUC_DEPRECATED +#endif /* __GNUC__ */ + +#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) +# define SPICE_GNUC_MAY_ALIAS __attribute__((may_alias)) +#else +# define SPICE_GNUC_MAY_ALIAS +#endif + +#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) +#define SPICE_GNUC_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +#define SPICE_GNUC_WARN_UNUSED_RESULT +#endif /* __GNUC__ */ + + +/* Guard C code in headers, while including them from C++ */ +#ifdef __cplusplus +# define SPICE_BEGIN_DECLS extern "C" { +# define SPICE_END_DECLS } +#else +# define SPICE_BEGIN_DECLS +# define SPICE_END_DECLS +#endif + +#ifdef __GNUC__ +#define INLINE inline +#else +#define INLINE _inline +#endif /* __GNUC__ */ + +#ifndef FALSE +#define FALSE (0) +#endif + +#ifndef TRUE +#define TRUE (!FALSE) +#endif + +#undef MAX +#define MAX(a, b) (((a) > (b)) ? (a) : (b)) + +#undef MIN +#define MIN(a, b) (((a) < (b)) ? (a) : (b)) + +#undef ABS +#define ABS(a) (((a) < 0) ? -(a) : (a)) + +/* Count the number of elements in an array. The array must be defined + * as such; using this with a dynamically allocated array will give + * incorrect results. + */ +#define SPICE_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) + +#define SPICE_ALIGN(a, size) (((a) + ((size) - 1)) & ~((size) - 1)) + +/* Provide convenience macros for handling structure + * fields through their offsets. + */ + +#if defined(__GNUC__) && __GNUC__ >= 4 +# define SPICE_OFFSETOF(struct_type, member) \ + ((long) offsetof (struct_type, member)) +#else +# define SPICE_OFFSETOF(struct_type, member) \ + ((long) ((uint8_t*) &((struct_type*) 0)->member)) +#endif + +#define SPICE_CONTAINEROF(ptr, struct_type, member) \ + ((struct_type *)((uint8_t *)(ptr) - SPICE_OFFSETOF(struct_type, member))) + +#define SPICE_MEMBER_P(struct_p, struct_offset) \ + ((gpointer) ((guint8*) (struct_p) + (glong) (struct_offset))) +#define SPICE_MEMBER(member_type, struct_p, struct_offset) \ + (*(member_type*) SPICE_STRUCT_MEMBER_P ((struct_p), (struct_offset))) + +/* Provide simple macro statement wrappers: + * SPICE_STMT_START { statements; } SPICE_STMT_END; + * This can be used as a single statement, like: + * if (x) SPICE_STMT_START { ... } SPICE_STMT_END; else ... + * This intentionally does not use compiler extensions like GCC's '({...})' to + * avoid portability issue or side effects when compiled with different compilers. + */ +#if !(defined (SPICE_STMT_START) && defined (SPICE_STMT_END)) +# define SPICE_STMT_START do +# define SPICE_STMT_END while (0) +#endif + +/* + * The SPICE_LIKELY and SPICE_UNLIKELY macros let the programmer give hints to + * the compiler about the expected result of an expression. Some compilers + * can use this information for optimizations. + * + * The _SPICE_BOOLEAN_EXPR macro is intended to trigger a gcc warning when + * putting assignments in g_return_if_fail (). + */ +#if defined(__GNUC__) && (__GNUC__ > 2) && defined(__OPTIMIZE__) +#define _SPICE_BOOLEAN_EXPR(expr) \ + __extension__ ({ \ + int _g_boolean_var_; \ + if (expr) \ + _g_boolean_var_ = 1; \ + else \ + _g_boolean_var_ = 0; \ + _g_boolean_var_; \ +}) +#define SPICE_LIKELY(expr) (__builtin_expect (_SPICE_BOOLEAN_EXPR(expr), 1)) +#define SPICE_UNLIKELY(expr) (__builtin_expect (_SPICE_BOOLEAN_EXPR(expr), 0)) +#else +#define SPICE_LIKELY(expr) (expr) +#define SPICE_UNLIKELY(expr) (expr) +#endif + +#ifdef _MSC_VER +#define SPICE_UINT64_CONSTANT(x) (x ## UI64) +#define SPICE_INT64_CONSTANT(x) (x ## I64) +#else +#if LONG_MAX == 2147483647L +#define SPICE_UINT64_CONSTANT(x) (x ## ULL) +#define SPICE_INT64_CONSTANT(x) (x ## LL) +#else +#define SPICE_UINT64_CONSTANT(x) (x ## UL) +#define SPICE_INT64_CONSTANT(x) (x ## L) +#endif +#endif + +/* Little/Bit endian byte swapping */ + +#define SPICE_BYTESWAP16_CONSTANT(val) ((uint16_t) ( \ + (uint16_t) ((uint16_t) (val) >> 8) | \ + (uint16_t) ((uint16_t) (val) << 8))) + +#define SPICE_BYTESWAP32_CONSTANT(val) ((uint32_t) ( \ + (((uint32_t) (val) & (uint32_t) 0x000000ffU) << 24) | \ + (((uint32_t) (val) & (uint32_t) 0x0000ff00U) << 8) | \ + (((uint32_t) (val) & (uint32_t) 0x00ff0000U) >> 8) | \ + (((uint32_t) (val) & (uint32_t) 0xff000000U) >> 24))) + +#define SPICE_BYTESWAP64_CONSTANT(val) ((uint64_t) ( \ + (((uint64_t) (val) & \ + (uint64_t) SPICE_UINT64_CONSTANT(0x00000000000000ff)) << 56) | \ + (((uint64_t) (val) & \ + (uint64_t) SPICE_UINT64_CONSTANT(0x000000000000ff00)) << 40) | \ + (((uint64_t) (val) & \ + (uint64_t) SPICE_UINT64_CONSTANT(0x0000000000ff0000)) << 24) | \ + (((uint64_t) (val) & \ + (uint64_t) SPICE_UINT64_CONSTANT(0x00000000ff000000)) << 8) | \ + (((uint64_t) (val) & \ + (uint64_t) SPICE_UINT64_CONSTANT(0x000000ff00000000)) >> 8) | \ + (((uint64_t) (val) & \ + (uint64_t) SPICE_UINT64_CONSTANT(0x0000ff0000000000)) >> 24) | \ + (((uint64_t) (val) & \ + (uint64_t) SPICE_UINT64_CONSTANT(0x00ff000000000000)) >> 40) | \ + (((uint64_t) (val) & \ + (uint64_t) SPICE_UINT64_CONSTANT(0xff00000000000000)) >> 56))) + +/* Arch specific stuff for speed + */ +#if defined (__GNUC__) && (__GNUC__ >= 2) && defined (__OPTIMIZE__) +# if defined (__i386__) +# define SPICE_BYTESWAP16_IA32(val) \ + (__extension__ \ + ({ register uint16_t __v, __x = ((uint16_t) (val)); \ + if (__builtin_constant_p (__x)) \ + __v = SPICE_BYTESWAP16_CONSTANT (__x); \ + else \ + __asm__ ("rorw $8, %w0" \ + : "=r" (__v) \ + : "0" (__x) \ + : "cc"); \ + __v; })) +# if !defined (__i486__) && !defined (__i586__) \ + && !defined (__pentium__) && !defined (__i686__) \ + && !defined (__pentiumpro__) && !defined (__pentium4__) +# define SPICE_BYTESWAP32_IA32(val) \ + (__extension__ \ + ({ register uint32_t __v, __x = ((uint32_t) (val)); \ + if (__builtin_constant_p (__x)) \ + __v = SPICE_BYTESWAP32_CONSTANT (__x); \ + else \ + __asm__ ("rorw $8, %w0\n\t" \ + "rorl $16, %0\n\t" \ + "rorw $8, %w0" \ + : "=r" (__v) \ + : "0" (__x) \ + : "cc"); \ + __v; })) +# else /* 486 and higher has bswap */ +# define SPICE_BYTESWAP32_IA32(val) \ + (__extension__ \ + ({ register uint32_t __v, __x = ((uint32_t) (val)); \ + if (__builtin_constant_p (__x)) \ + __v = SPICE_BYTESWAP32_CONSTANT (__x); \ + else \ + __asm__ ("bswap %0" \ + : "=r" (__v) \ + : "0" (__x)); \ + __v; })) +# endif /* processor specific 32-bit stuff */ +# define SPICE_BYTESWAP64_IA32(val) \ + (__extension__ \ + ({ union { uint64_t __ll; \ + uint32_t __l[2]; } __w, __r; \ + __w.__ll = ((uint64_t) (val)); \ + if (__builtin_constant_p (__w.__ll)) \ + __r.__ll = SPICE_BYTESWAP64_CONSTANT (__w.__ll); \ + else \ + { \ + __r.__l[0] = SPICE_BYTESWAP32 (__w.__l[1]); \ + __r.__l[1] = SPICE_BYTESWAP32 (__w.__l[0]); \ + } \ + __r.__ll; })) + /* Possibly just use the constant version and let gcc figure it out? */ +# define SPICE_BYTESWAP16(val) (SPICE_BYTESWAP16_IA32 (val)) +# define SPICE_BYTESWAP32(val) (SPICE_BYTESWAP32_IA32 (val)) +# define SPICE_BYTESWAP64(val) (SPICE_BYTESWAP64_IA32 (val)) +# elif defined (__ia64__) +# define SPICE_BYTESWAP16_IA64(val) \ + (__extension__ \ + ({ register uint16_t __v, __x = ((uint16_t) (val)); \ + if (__builtin_constant_p (__x)) \ + __v = SPICE_BYTESWAP16_CONSTANT (__x); \ + else \ + __asm__ __volatile__ ("shl %0 = %1, 48 ;;" \ + "mux1 %0 = %0, @rev ;;" \ + : "=r" (__v) \ + : "r" (__x)); \ + __v; })) +# define SPICE_BYTESWAP32_IA64(val) \ + (__extension__ \ + ({ register uint32_t __v, __x = ((uint32_t) (val)); \ + if (__builtin_constant_p (__x)) \ + __v = SPICE_BYTESWAP32_CONSTANT (__x); \ + else \ + __asm__ __volatile__ ("shl %0 = %1, 32 ;;" \ + "mux1 %0 = %0, @rev ;;" \ + : "=r" (__v) \ + : "r" (__x)); \ + __v; })) +# define SPICE_BYTESWAP64_IA64(val) \ + (__extension__ \ + ({ register uint64_t __v, __x = ((uint64_t) (val)); \ + if (__builtin_constant_p (__x)) \ + __v = SPICE_BYTESWAP64_CONSTANT (__x); \ + else \ + __asm__ __volatile__ ("mux1 %0 = %1, @rev ;;" \ + : "=r" (__v) \ + : "r" (__x)); \ + __v; })) +# define SPICE_BYTESWAP16(val) (SPICE_BYTESWAP16_IA64 (val)) +# define SPICE_BYTESWAP32(val) (SPICE_BYTESWAP32_IA64 (val)) +# define SPICE_BYTESWAP64(val) (SPICE_BYTESWAP64_IA64 (val)) +# elif defined (__x86_64__) +# define SPICE_BYTESWAP32_X86_64(val) \ + (__extension__ \ + ({ register uint32_t __v, __x = ((uint32_t) (val)); \ + if (__builtin_constant_p (__x)) \ + __v = SPICE_BYTESWAP32_CONSTANT (__x); \ + else \ + __asm__ ("bswapl %0" \ + : "=r" (__v) \ + : "0" (__x)); \ + __v; })) +# define SPICE_BYTESWAP64_X86_64(val) \ + (__extension__ \ + ({ register uint64_t __v, __x = ((uint64_t) (val)); \ + if (__builtin_constant_p (__x)) \ + __v = SPICE_BYTESWAP64_CONSTANT (__x); \ + else \ + __asm__ ("bswapq %0" \ + : "=r" (__v) \ + : "0" (__x)); \ + __v; })) + /* gcc seems to figure out optimal code for this on its own */ +# define SPICE_BYTESWAP16(val) (SPICE_BYTESWAP16_CONSTANT (val)) +# define SPICE_BYTESWAP32(val) (SPICE_BYTESWAP32_X86_64 (val)) +# define SPICE_BYTESWAP64(val) (SPICE_BYTESWAP64_X86_64 (val)) +# else /* generic gcc */ +# define SPICE_BYTESWAP16(val) (SPICE_BYTESWAP16_CONSTANT (val)) +# define SPICE_BYTESWAP32(val) (SPICE_BYTESWAP32_CONSTANT (val)) +# define SPICE_BYTESWAP64(val) (SPICE_BYTESWAP64_CONSTANT (val)) +# endif +#else /* generic */ +# define SPICE_BYTESWAP16(val) (SPICE_BYTESWAP16_CONSTANT (val)) +# define SPICE_BYTESWAP32(val) (SPICE_BYTESWAP32_CONSTANT (val)) +# define SPICE_BYTESWAP64(val) (SPICE_BYTESWAP64_CONSTANT (val)) +#endif /* generic */ + + +#endif /* _H_SPICE_MACROS */ diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/spice/protocol.h b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/protocol.h new file mode 100644 index 0000000..1eaad68 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/protocol.h @@ -0,0 +1,149 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef _H_SPICE_PROTOCOL +#define _H_SPICE_PROTOCOL + +#include <spice/types.h> +#include <spice/enums.h> +#include <spice/start-packed.h> + +#define SPICE_MAGIC (*(uint32_t*)"REDQ") +#define SPICE_VERSION_MAJOR 2 +#define SPICE_VERSION_MINOR 2 + +// Encryption & Ticketing Parameters +#define SPICE_MAX_PASSWORD_LENGTH 60 +#define SPICE_TICKET_KEY_PAIR_LENGTH 1024 +#define SPICE_TICKET_PUBKEY_BYTES (SPICE_TICKET_KEY_PAIR_LENGTH / 8 + 34) + +typedef struct SPICE_ATTR_PACKED SpiceLinkHeader { + uint32_t magic; + uint32_t major_version; + uint32_t minor_version; + uint32_t size; +} SpiceLinkHeader; + +enum { + SPICE_COMMON_CAP_PROTOCOL_AUTH_SELECTION, + SPICE_COMMON_CAP_AUTH_SPICE, + SPICE_COMMON_CAP_AUTH_SASL, + SPICE_COMMON_CAP_MINI_HEADER, +}; + +typedef struct SPICE_ATTR_PACKED SpiceLinkMess { + uint32_t connection_id; + uint8_t channel_type; + uint8_t channel_id; + uint32_t num_common_caps; + uint32_t num_channel_caps; + uint32_t caps_offset; +} SpiceLinkMess; + +typedef struct SPICE_ATTR_PACKED SpiceLinkReply { + uint32_t error; + uint8_t pub_key[SPICE_TICKET_PUBKEY_BYTES]; + uint32_t num_common_caps; + uint32_t num_channel_caps; + uint32_t caps_offset; +#ifdef CONFIG_MARU + uint32_t sdb_port; +#endif +} SpiceLinkReply; + +typedef struct SPICE_ATTR_PACKED SpiceLinkEncryptedTicket { + uint8_t encrypted_data[SPICE_TICKET_KEY_PAIR_LENGTH / 8]; +} SpiceLinkEncryptedTicket; + +typedef struct SPICE_ATTR_PACKED SpiceLinkAuthMechanism { + uint32_t auth_mechanism; +} SpiceLinkAuthMechanism; + +typedef struct SPICE_ATTR_PACKED SpiceDataHeader { + uint64_t serial; + uint16_t type; + uint32_t size; + uint32_t sub_list; //offset to SpiceSubMessageList[] +} SpiceDataHeader; + +typedef struct SPICE_ATTR_PACKED SpiceMiniDataHeader { + uint16_t type; + uint32_t size; +} SpiceMiniDataHeader; + +typedef struct SPICE_ATTR_PACKED SpiceSubMessage { + uint16_t type; + uint32_t size; +} SpiceSubMessage; + +typedef struct SPICE_ATTR_PACKED SpiceSubMessageList { + uint16_t size; + uint32_t sub_messages[0]; //offsets to SpicedSubMessage +} SpiceSubMessageList; + +#define SPICE_INPUT_MOTION_ACK_BUNCH 4 + +enum { + SPICE_PLAYBACK_CAP_CELT_0_5_1, + SPICE_PLAYBACK_CAP_VOLUME, +}; + +enum { + SPICE_RECORD_CAP_CELT_0_5_1, + SPICE_RECORD_CAP_VOLUME, +}; + +enum { + SPICE_MAIN_CAP_SEMI_SEAMLESS_MIGRATE, + SPICE_MAIN_CAP_NAME_AND_UUID, + SPICE_MAIN_CAP_AGENT_CONNECTED_TOKENS, + SPICE_MAIN_CAP_SEAMLESS_MIGRATE, +}; + +enum { + SPICE_DISPLAY_CAP_SIZED_STREAM, + SPICE_DISPLAY_CAP_MONITORS_CONFIG, + SPICE_DISPLAY_CAP_COMPOSITE, + SPICE_DISPLAY_CAP_A8_SURFACE, +}; + +enum { + SPICE_INPUTS_CAP_KEY_SCANCODE, +}; + +enum { + SPICE_PORT_EVENT_OPENED, + SPICE_PORT_EVENT_CLOSED, + SPICE_PORT_EVENT_BREAK, +}; + +#include <spice/end-packed.h> + +#endif /* _H_SPICE_PROTOCOL */ diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/spice/qxl_dev.h b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/qxl_dev.h new file mode 100644 index 0000000..a3e91a5 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/qxl_dev.h @@ -0,0 +1,781 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#ifndef _H_QXL_DEV +#define _H_QXL_DEV + +#include <spice/types.h> +#include <spice/barrier.h> +#include <spice/ipc_ring.h> +#include <spice/enums.h> + +#include <spice/start-packed.h> + +#define REDHAT_PCI_VENDOR_ID 0x1b36 + +/* 0x100-0x11f reserved for spice, 0x1ff used for unstable work */ +#define QXL_DEVICE_ID_STABLE 0x0100 + +enum { + QXL_REVISION_STABLE_V04=0x01, + QXL_REVISION_STABLE_V06=0x02, + QXL_REVISION_STABLE_V10=0x03, + QXL_REVISION_STABLE_V12=0x04, +}; + +#define QXL_DEVICE_ID_DEVEL 0x01ff +#define QXL_REVISION_DEVEL 0x01 + +#define QXL_ROM_MAGIC (*(const uint32_t*)"QXRO") +#define QXL_RAM_MAGIC (*(const uint32_t*)"QXRA") + +enum { + QXL_RAM_RANGE_INDEX, + QXL_VRAM_RANGE_INDEX, + QXL_ROM_RANGE_INDEX, + QXL_IO_RANGE_INDEX, + + QXL_PCI_RANGES +}; + +/* qxl-1 compat: append only */ +enum { + QXL_IO_NOTIFY_CMD, + QXL_IO_NOTIFY_CURSOR, + QXL_IO_UPDATE_AREA, + QXL_IO_UPDATE_IRQ, + QXL_IO_NOTIFY_OOM, + QXL_IO_RESET, + QXL_IO_SET_MODE, /* qxl-1 */ + QXL_IO_LOG, + /* appended for qxl-2 */ + QXL_IO_MEMSLOT_ADD, + QXL_IO_MEMSLOT_DEL, + QXL_IO_DETACH_PRIMARY, + QXL_IO_ATTACH_PRIMARY, + QXL_IO_CREATE_PRIMARY, + QXL_IO_DESTROY_PRIMARY, + QXL_IO_DESTROY_SURFACE_WAIT, + QXL_IO_DESTROY_ALL_SURFACES, + /* appended for qxl-3 */ + QXL_IO_UPDATE_AREA_ASYNC, + QXL_IO_MEMSLOT_ADD_ASYNC, + QXL_IO_CREATE_PRIMARY_ASYNC, + QXL_IO_DESTROY_PRIMARY_ASYNC, + QXL_IO_DESTROY_SURFACE_ASYNC, + QXL_IO_DESTROY_ALL_SURFACES_ASYNC, + QXL_IO_FLUSH_SURFACES_ASYNC, + QXL_IO_FLUSH_RELEASE, + /* appended for qxl-4 */ + QXL_IO_MONITORS_CONFIG_ASYNC, + + QXL_IO_RANGE_SIZE +}; + +typedef uint64_t QXLPHYSICAL; +typedef int32_t QXLFIXED; //fixed 28.4 + +typedef struct SPICE_ATTR_PACKED QXLPointFix { + QXLFIXED x; + QXLFIXED y; +} QXLPointFix; + +typedef struct SPICE_ATTR_PACKED QXLPoint { + int32_t x; + int32_t y; +} QXLPoint; + +typedef struct SPICE_ATTR_PACKED QXLPoint16 { + int16_t x; + int16_t y; +} QXLPoint16; + +typedef struct SPICE_ATTR_PACKED QXLRect { + int32_t top; + int32_t left; + int32_t bottom; + int32_t right; +} QXLRect; + +typedef struct SPICE_ATTR_PACKED QXLURect { + uint32_t top; + uint32_t left; + uint32_t bottom; + uint32_t right; +} QXLURect; + +/* qxl-1 compat: append only */ +typedef struct SPICE_ATTR_PACKED QXLRom { + uint32_t magic; + uint32_t id; + uint32_t update_id; + uint32_t compression_level; + uint32_t log_level; + uint32_t mode; /* qxl-1 */ + uint32_t modes_offset; + uint32_t num_pages; + uint32_t pages_offset; /* qxl-1 */ + uint32_t draw_area_offset; /* qxl-1 */ + uint32_t surface0_area_size; /* qxl-1 name: draw_area_size */ + uint32_t ram_header_offset; + uint32_t mm_clock; + /* appended for qxl-2 */ + uint32_t n_surfaces; + uint64_t flags; + uint8_t slots_start; + uint8_t slots_end; + uint8_t slot_gen_bits; + uint8_t slot_id_bits; + uint8_t slot_generation; + /* appended for qxl-4 */ + uint8_t client_present; + uint8_t client_capabilities[58]; + uint32_t client_monitors_config_crc; + struct { + uint16_t count; + uint16_t padding; + QXLURect heads[64]; + } client_monitors_config; +} QXLRom; + +#define CLIENT_MONITORS_CONFIG_CRC32_POLY 0xedb88320 + +/* qxl-1 compat: fixed */ +typedef struct SPICE_ATTR_PACKED QXLMode { + uint32_t id; + uint32_t x_res; + uint32_t y_res; + uint32_t bits; + uint32_t stride; + uint32_t x_mili; + uint32_t y_mili; + uint32_t orientation; +} QXLMode; + +/* qxl-1 compat: fixed */ +typedef struct SPICE_ATTR_PACKED QXLModes { + uint32_t n_modes; + QXLMode modes[0]; +} QXLModes; + +/* qxl-1 compat: append only */ +typedef enum QXLCmdType { + QXL_CMD_NOP, + QXL_CMD_DRAW, + QXL_CMD_UPDATE, + QXL_CMD_CURSOR, + QXL_CMD_MESSAGE, + QXL_CMD_SURFACE, +} QXLCmdType; + +/* qxl-1 compat: fixed */ +typedef struct SPICE_ATTR_PACKED QXLCommand { + QXLPHYSICAL data; + uint32_t type; + uint32_t padding; +} QXLCommand; + +#define QXL_COMMAND_FLAG_COMPAT (1<<0) +#define QXL_COMMAND_FLAG_COMPAT_16BPP (2<<0) + +typedef struct SPICE_ATTR_PACKED QXLCommandExt { + QXLCommand cmd; + uint32_t group_id; + uint32_t flags; +} QXLCommandExt; + +typedef struct SPICE_ATTR_PACKED QXLMemSlot { + uint64_t mem_start; + uint64_t mem_end; +} QXLMemSlot; + +#define QXL_SURF_TYPE_PRIMARY 0 + +#define QXL_SURF_FLAG_KEEP_DATA (1 << 0) + +typedef struct SPICE_ATTR_PACKED QXLSurfaceCreate { + uint32_t width; + uint32_t height; + int32_t stride; + uint32_t format; + uint32_t position; + uint32_t mouse_mode; + uint32_t flags; + uint32_t type; + QXLPHYSICAL mem; +} QXLSurfaceCreate; + +#define QXL_COMMAND_RING_SIZE 32 +#define QXL_CURSOR_RING_SIZE 32 +#define QXL_RELEASE_RING_SIZE 8 + +SPICE_RING_DECLARE(QXLCommandRing, QXLCommand, QXL_COMMAND_RING_SIZE); +SPICE_RING_DECLARE(QXLCursorRing, QXLCommand, QXL_CURSOR_RING_SIZE); + +SPICE_RING_DECLARE(QXLReleaseRing, uint64_t, QXL_RELEASE_RING_SIZE); + +#define QXL_LOG_BUF_SIZE 4096 + +#define QXL_INTERRUPT_DISPLAY (1 << 0) +#define QXL_INTERRUPT_CURSOR (1 << 1) +#define QXL_INTERRUPT_IO_CMD (1 << 2) +#define QXL_INTERRUPT_ERROR (1 << 3) +#define QXL_INTERRUPT_CLIENT (1 << 4) +#define QXL_INTERRUPT_CLIENT_MONITORS_CONFIG (1 << 5) + +/* qxl-1 compat: append only */ +typedef struct SPICE_ATTR_PACKED QXLRam { + uint32_t magic; + uint32_t int_pending; + uint32_t int_mask; + uint8_t log_buf[QXL_LOG_BUF_SIZE]; + QXLCommandRing cmd_ring; + QXLCursorRing cursor_ring; + QXLReleaseRing release_ring; + QXLRect update_area; + /* appended for qxl-2 */ + uint32_t update_surface; + QXLMemSlot mem_slot; + QXLSurfaceCreate create_surface; + uint64_t flags; + + /* appended for qxl-4 */ + + /* used by QXL_IO_MONITORS_CONFIG_ASYNC */ + QXLPHYSICAL monitors_config; + +} QXLRam; + +typedef union QXLReleaseInfo { + uint64_t id; // in + uint64_t next; // out +} QXLReleaseInfo; + +typedef struct QXLReleaseInfoExt { + QXLReleaseInfo *info; + uint32_t group_id; +} QXLReleaseInfoExt; + +typedef struct SPICE_ATTR_PACKED QXLDataChunk { + uint32_t data_size; + QXLPHYSICAL prev_chunk; + QXLPHYSICAL next_chunk; + uint8_t data[0]; +} QXLDataChunk; + +typedef struct SPICE_ATTR_PACKED QXLMessage { + QXLReleaseInfo release_info; + uint8_t data[0]; +} QXLMessage; + +typedef struct SPICE_ATTR_PACKED QXLCompatUpdateCmd { + QXLReleaseInfo release_info; + QXLRect area; + uint32_t update_id; +} QXLCompatUpdateCmd; + +typedef struct SPICE_ATTR_PACKED QXLUpdateCmd { + QXLReleaseInfo release_info; + QXLRect area; + uint32_t update_id; + uint32_t surface_id; +} QXLUpdateCmd; + +typedef struct SPICE_ATTR_PACKED QXLCursorHeader { + uint64_t unique; + uint16_t type; + uint16_t width; + uint16_t height; + uint16_t hot_spot_x; + uint16_t hot_spot_y; +} QXLCursorHeader; + +typedef struct SPICE_ATTR_PACKED QXLCursor { + QXLCursorHeader header; + uint32_t data_size; + QXLDataChunk chunk; +} QXLCursor; + +enum { + QXL_CURSOR_SET, + QXL_CURSOR_MOVE, + QXL_CURSOR_HIDE, + QXL_CURSOR_TRAIL, +}; + +#define QXL_CURSUR_DEVICE_DATA_SIZE 128 + +typedef struct SPICE_ATTR_PACKED QXLCursorCmd { + QXLReleaseInfo release_info; + uint8_t type; + union { + struct SPICE_ATTR_PACKED { + QXLPoint16 position; + uint8_t visible; + QXLPHYSICAL shape; + } set; + struct SPICE_ATTR_PACKED { + uint16_t length; + uint16_t frequency; + } trail; + QXLPoint16 position; + } u; + uint8_t device_data[QXL_CURSUR_DEVICE_DATA_SIZE]; //todo: dynamic size from rom +} QXLCursorCmd; + +enum { + QXL_DRAW_NOP, + QXL_DRAW_FILL, + QXL_DRAW_OPAQUE, + QXL_DRAW_COPY, + QXL_COPY_BITS, + QXL_DRAW_BLEND, + QXL_DRAW_BLACKNESS, + QXL_DRAW_WHITENESS, + QXL_DRAW_INVERS, + QXL_DRAW_ROP3, + QXL_DRAW_STROKE, + QXL_DRAW_TEXT, + QXL_DRAW_TRANSPARENT, + QXL_DRAW_ALPHA_BLEND, + QXL_DRAW_COMPOSITE +}; + +typedef struct SPICE_ATTR_PACKED QXLRasterGlyph { + QXLPoint render_pos; + QXLPoint glyph_origin; + uint16_t width; + uint16_t height; + uint8_t data[0]; +} QXLRasterGlyph; + +typedef struct SPICE_ATTR_PACKED QXLString { + uint32_t data_size; + uint16_t length; + uint16_t flags; + QXLDataChunk chunk; +} QXLString; + +typedef struct SPICE_ATTR_PACKED QXLCopyBits { + QXLPoint src_pos; +} QXLCopyBits; + +typedef enum QXLEffectType +{ + QXL_EFFECT_BLEND = 0, + QXL_EFFECT_OPAQUE = 1, + QXL_EFFECT_REVERT_ON_DUP = 2, + QXL_EFFECT_BLACKNESS_ON_DUP = 3, + QXL_EFFECT_WHITENESS_ON_DUP = 4, + QXL_EFFECT_NOP_ON_DUP = 5, + QXL_EFFECT_NOP = 6, + QXL_EFFECT_OPAQUE_BRUSH = 7 +} QXLEffectType; + +typedef struct SPICE_ATTR_PACKED QXLPattern { + QXLPHYSICAL pat; + QXLPoint pos; +} QXLPattern; + +typedef struct SPICE_ATTR_PACKED QXLBrush { + uint32_t type; + union { + uint32_t color; + QXLPattern pattern; + } u; +} QXLBrush; + +typedef struct SPICE_ATTR_PACKED QXLQMask { + uint8_t flags; + QXLPoint pos; + QXLPHYSICAL bitmap; +} QXLQMask; + +typedef struct SPICE_ATTR_PACKED QXLFill { + QXLBrush brush; + uint16_t rop_descriptor; + QXLQMask mask; +} QXLFill; + +typedef struct SPICE_ATTR_PACKED QXLOpaque { + QXLPHYSICAL src_bitmap; + QXLRect src_area; + QXLBrush brush; + uint16_t rop_descriptor; + uint8_t scale_mode; + QXLQMask mask; +} QXLOpaque; + +typedef struct SPICE_ATTR_PACKED QXLCopy { + QXLPHYSICAL src_bitmap; + QXLRect src_area; + uint16_t rop_descriptor; + uint8_t scale_mode; + QXLQMask mask; +} QXLCopy, QXLBlend; + +typedef struct SPICE_ATTR_PACKED QXLTransparent { + QXLPHYSICAL src_bitmap; + QXLRect src_area; + uint32_t src_color; + uint32_t true_color; +} QXLTransparent; + +typedef struct SPICE_ATTR_PACKED QXLAlphaBlend { + uint16_t alpha_flags; + uint8_t alpha; + QXLPHYSICAL src_bitmap; + QXLRect src_area; +} QXLAlphaBlend; + +typedef struct SPICE_ATTR_PACKED QXLCompatAlphaBlend { + uint8_t alpha; + QXLPHYSICAL src_bitmap; + QXLRect src_area; +} QXLCompatAlphaBlend; + +typedef struct SPICE_ATTR_PACKED QXLRop3 { + QXLPHYSICAL src_bitmap; + QXLRect src_area; + QXLBrush brush; + uint8_t rop3; + uint8_t scale_mode; + QXLQMask mask; +} QXLRop3; + +typedef struct SPICE_ATTR_PACKED QXLLineAttr { + uint8_t flags; + uint8_t join_style; + uint8_t end_style; + uint8_t style_nseg; + QXLFIXED width; + QXLFIXED miter_limit; + QXLPHYSICAL style; +} QXLLineAttr; + +typedef struct SPICE_ATTR_PACKED QXLStroke { + QXLPHYSICAL path; + QXLLineAttr attr; + QXLBrush brush; + uint16_t fore_mode; + uint16_t back_mode; +} QXLStroke; + +typedef struct SPICE_ATTR_PACKED QXLText { + QXLPHYSICAL str; + QXLRect back_area; + QXLBrush fore_brush; + QXLBrush back_brush; + uint16_t fore_mode; + uint16_t back_mode; +} QXLText; + +typedef struct SPICE_ATTR_PACKED QXLBlackness { + QXLQMask mask; +} QXLBlackness, QXLInvers, QXLWhiteness; + +typedef struct SPICE_ATTR_PACKED QXLClip { + uint32_t type; + QXLPHYSICAL data; +} QXLClip; + +typedef enum { + QXL_OP_CLEAR = 0x00, + QXL_OP_SOURCE = 0x01, + QXL_OP_DST = 0x02, + QXL_OP_OVER = 0x03, + QXL_OP_OVER_REVERSE = 0x04, + QXL_OP_IN = 0x05, + QXL_OP_IN_REVERSE = 0x06, + QXL_OP_OUT = 0x07, + QXL_OP_OUT_REVERSE = 0x08, + QXL_OP_ATOP = 0x09, + QXL_OP_ATOP_REVERSE = 0x0a, + QXL_OP_XOR = 0x0b, + QXL_OP_ADD = 0x0c, + QXL_OP_SATURATE = 0x0d, + /* Note the jump here from 0x0d to 0x30 */ + QXL_OP_MULTIPLY = 0x30, + QXL_OP_SCREEN = 0x31, + QXL_OP_OVERLAY = 0x32, + QXL_OP_DARKEN = 0x33, + QXL_OP_LIGHTEN = 0x34, + QXL_OP_COLOR_DODGE = 0x35, + QXL_OP_COLOR_BURN = 0x36, + QXL_OP_HARD_LIGHT = 0x37, + QXL_OP_SOFT_LIGHT = 0x38, + QXL_OP_DIFFERENCE = 0x39, + QXL_OP_EXCLUSION = 0x3a, + QXL_OP_HSL_HUE = 0x3b, + QXL_OP_HSL_SATURATION = 0x3c, + QXL_OP_HSL_COLOR = 0x3d, + QXL_OP_HSL_LUMINOSITY = 0x3e +} QXLOperator; + +typedef struct { + uint32_t t00; + uint32_t t01; + uint32_t t02; + uint32_t t10; + uint32_t t11; + uint32_t t12; +} QXLTransform; + +/* The flags field has the following bit fields: + * + * operator: [ 0 - 7 ] + * src_filter: [ 8 - 10 ] + * mask_filter: [ 11 - 13 ] + * src_repeat: [ 14 - 15 ] + * mask_repeat: [ 16 - 17 ] + * component_alpha: [ 18 - 18 ] + * reserved: [ 19 - 31 ] + * + * The repeat and filter values are those of pixman: + * REPEAT_NONE = 0 + * REPEAT_NORMAL = 1 + * REPEAT_PAD = 2 + * REPEAT_REFLECT = 3 + * + * The filter values are: + * FILTER_NEAREST = 0 + * FILTER_BILINEAR = 1 + */ +typedef struct SPICE_ATTR_PACKED QXLComposite { + uint32_t flags; + + QXLPHYSICAL src; + QXLPHYSICAL src_transform; /* May be NULL */ + QXLPHYSICAL mask; /* May be NULL */ + QXLPHYSICAL mask_transform; /* May be NULL */ + QXLPoint16 src_origin; + QXLPoint16 mask_origin; +} QXLComposite; + +typedef struct SPICE_ATTR_PACKED QXLCompatDrawable { + QXLReleaseInfo release_info; + uint8_t effect; + uint8_t type; + uint16_t bitmap_offset; + QXLRect bitmap_area; + QXLRect bbox; + QXLClip clip; + uint32_t mm_time; + union { + QXLFill fill; + QXLOpaque opaque; + QXLCopy copy; + QXLTransparent transparent; + QXLCompatAlphaBlend alpha_blend; + QXLCopyBits copy_bits; + QXLBlend blend; + QXLRop3 rop3; + QXLStroke stroke; + QXLText text; + QXLBlackness blackness; + QXLInvers invers; + QXLWhiteness whiteness; + } u; +} QXLCompatDrawable; + +typedef struct SPICE_ATTR_PACKED QXLDrawable { + QXLReleaseInfo release_info; + uint32_t surface_id; + uint8_t effect; + uint8_t type; + uint8_t self_bitmap; + QXLRect self_bitmap_area; + QXLRect bbox; + QXLClip clip; + uint32_t mm_time; + int32_t surfaces_dest[3]; + QXLRect surfaces_rects[3]; + union { + QXLFill fill; + QXLOpaque opaque; + QXLCopy copy; + QXLTransparent transparent; + QXLAlphaBlend alpha_blend; + QXLCopyBits copy_bits; + QXLBlend blend; + QXLRop3 rop3; + QXLStroke stroke; + QXLText text; + QXLBlackness blackness; + QXLInvers invers; + QXLWhiteness whiteness; + QXLComposite composite; + } u; +} QXLDrawable; + +typedef enum QXLSurfaceCmdType { + QXL_SURFACE_CMD_CREATE, + QXL_SURFACE_CMD_DESTROY, +} QXLSurfaceCmdType; + +typedef struct SPICE_ATTR_PACKED QXLSurface { + uint32_t format; + uint32_t width; + uint32_t height; + int32_t stride; + QXLPHYSICAL data; +} QXLSurface; + +typedef struct SPICE_ATTR_PACKED QXLSurfaceCmd { + QXLReleaseInfo release_info; + uint32_t surface_id; + uint8_t type; + uint32_t flags; + union { + QXLSurface surface_create; + } u; +} QXLSurfaceCmd; + +typedef struct SPICE_ATTR_PACKED QXLClipRects { + uint32_t num_rects; + QXLDataChunk chunk; +} QXLClipRects; + +enum { + QXL_PATH_BEGIN = (1 << 0), + QXL_PATH_END = (1 << 1), + QXL_PATH_CLOSE = (1 << 3), + QXL_PATH_BEZIER = (1 << 4), +}; + +typedef struct SPICE_ATTR_PACKED QXLPathSeg { + uint32_t flags; + uint32_t count; + QXLPointFix points[0]; +} QXLPathSeg; + +typedef struct SPICE_ATTR_PACKED QXLPath { + uint32_t data_size; + QXLDataChunk chunk; +} QXLPath; + +enum { + QXL_IMAGE_GROUP_DRIVER, + QXL_IMAGE_GROUP_DEVICE, + QXL_IMAGE_GROUP_RED, + QXL_IMAGE_GROUP_DRIVER_DONT_CACHE, +}; + +typedef struct SPICE_ATTR_PACKED QXLImageID { + uint32_t group; + uint32_t unique; +} QXLImageID; + +typedef union { + QXLImageID id; + uint64_t value; +} QXLImageIDUnion; + +typedef enum QXLImageFlags { + QXL_IMAGE_CACHE = (1 << 0), + QXL_IMAGE_HIGH_BITS_SET = (1 << 1), +} QXLImageFlags; + +typedef enum QXLBitmapFlags { + QXL_BITMAP_DIRECT = (1 << 0), + QXL_BITMAP_UNSTABLE = (1 << 1), + QXL_BITMAP_TOP_DOWN = (1 << 2), // == SPICE_BITMAP_FLAGS_TOP_DOWN +} QXLBitmapFlags; + +#define QXL_SET_IMAGE_ID(image, _group, _unique) { \ + (image)->descriptor.id = (((uint64_t)_unique) << 32) | _group; \ +} + +typedef struct SPICE_ATTR_PACKED QXLImageDescriptor { + uint64_t id; + uint8_t type; + uint8_t flags; + uint32_t width; + uint32_t height; +} QXLImageDescriptor; + +typedef struct SPICE_ATTR_PACKED QXLPalette { + uint64_t unique; + uint16_t num_ents; + uint32_t ents[0]; +} QXLPalette; + +typedef struct SPICE_ATTR_PACKED QXLBitmap { + uint8_t format; + uint8_t flags; + uint32_t x; + uint32_t y; + uint32_t stride; + QXLPHYSICAL palette; + QXLPHYSICAL data; //data[0] ? +} QXLBitmap; + +typedef struct SPICE_ATTR_PACKED QXLSurfaceId { + uint32_t surface_id; +} QXLSurfaceId; + +typedef struct SPICE_ATTR_PACKED QXLQUICData { + uint32_t data_size; + uint8_t data[0]; +} QXLQUICData, QXLLZRGBData, QXLJPEGData; + +typedef struct SPICE_ATTR_PACKED QXLImage { + QXLImageDescriptor descriptor; + union { // variable length + QXLBitmap bitmap; + QXLQUICData quic; + QXLSurfaceId surface_image; + }; +} QXLImage; + +/* A QXLHead is a single monitor output backed by a QXLSurface. + * x and y offsets are unsigned since they are used in relation to + * the given surface, not the same as the x, y coordinates in the guest + * screen reference frame. */ +typedef struct SPICE_ATTR_PACKED QXLHead { + uint32_t id; + uint32_t surface_id; + uint32_t width; + uint32_t height; + uint32_t x; + uint32_t y; + uint32_t flags; +} QXLHead; + +typedef struct SPICE_ATTR_PACKED QXLMonitorsConfig { + uint16_t count; + uint16_t max_allowed; /* If it is 0 no fixed limit is given by the driver */ + QXLHead heads[0]; +} QXLMonitorsConfig; + +#include <spice/end-packed.h> + +#endif /* _H_QXL_DEV */ diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/spice/qxl_windows.h b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/qxl_windows.h new file mode 100644 index 0000000..d1df684 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/qxl_windows.h @@ -0,0 +1,20 @@ +#ifndef _H_QXL_WINDOWS +#define _H_QXL_WINDOWS + +#include <spice/types.h> + +#include <spice/start-packed.h> + +enum { + QXL_ESCAPE_SET_CUSTOM_DISPLAY = 0x10001, +}; + +typedef struct SPICE_ATTR_PACKED QXLEscapeSetCustomDisplay { + uint32_t xres; + uint32_t yres; + uint32_t bpp; +} QXLEscapeSetCustomDisplay; + +#include <spice/end-packed.h> + +#endif /* _H_QXL_WINDOWS */ diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/spice/start-packed.h b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/start-packed.h new file mode 100644 index 0000000..ab3fa98 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/start-packed.h @@ -0,0 +1,64 @@ +/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +/* Ideally this should all have been macros in a common headers, but + * its not possible to put pragmas into header files, so we have + * to use include magic. + * + * Use it like this: + * + * #include <spice/start-packed.h> + * + * typedef struct SPICE_ATTR_PACKED { + * ... + * } Type; + * + * #include <spice/end-packed.h> + * + */ + +#ifdef __GNUC__ + +#define SPICE_ATTR_PACKED __attribute__ ((__packed__)) + +#ifdef __MINGW32__ +#pragma pack(push,1) +#endif + +#else + +#pragma pack(push) +#pragma pack(1) +#define SPICE_ATTR_PACKED +#pragma warning(disable:4200) +#pragma warning(disable:4103) + +#endif diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/spice/stats.h b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/stats.h new file mode 100644 index 0000000..452d89e --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/stats.h @@ -0,0 +1,67 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef _H_SPICE_STATS +#define _H_SPICE_STATS + +#include <spice/types.h> + +#define SPICE_STAT_SHM_NAME "/spice.%u" +#define SPICE_STAT_NODE_NAME_MAX 20 +#define SPICE_STAT_MAGIC (*(uint32_t*)"STAT") +#define SPICE_STAT_VERSION 1 + +enum { + SPICE_STAT_NODE_FLAG_ENABLED = (1 << 0), + SPICE_STAT_NODE_FLAG_VISIBLE = (1 << 1), + SPICE_STAT_NODE_FLAG_VALUE = (1 << 2), +}; + +#define SPICE_STAT_NODE_MASK_SHOW (SPICE_STAT_NODE_FLAG_ENABLED | SPICE_STAT_NODE_FLAG_VISIBLE) +#define SPICE_STAT_NODE_MASK_SHOW_VALUE (SPICE_STAT_NODE_MASK_SHOW | SPICE_STAT_NODE_FLAG_VALUE) + +typedef struct SpiceStatNode { + uint64_t value; + uint32_t flags; + uint32_t next_sibling_index; + uint32_t first_child_index; + char name[SPICE_STAT_NODE_NAME_MAX]; +} SpiceStatNode; + +typedef struct SpiceStat { + uint32_t magic; + uint32_t version; + uint32_t generation; + uint32_t num_of_nodes; + uint32_t root_index; + SpiceStatNode nodes[]; +} SpiceStat; + +#endif /* _H_SPICE_STATS */ diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/spice/types.h b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/types.h new file mode 100644 index 0000000..c8c5333 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/types.h @@ -0,0 +1,41 @@ +/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef _H_SPICE_TYPES +#define _H_SPICE_TYPES + +/* We always want the standard int types + * If they are not in stdint.h on your system, + * include the right one here. */ +#include <stdint.h> +#include <limits.h> + +#endif /* _H_SPICE_TYPES */ diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/spice/vd_agent.h b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/vd_agent.h new file mode 100644 index 0000000..1c4ebaf --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/vd_agent.h @@ -0,0 +1,239 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef _H_VD_AGENT +#define _H_VD_AGENT + +#include <spice/types.h> + +#include <spice/start-packed.h> + +enum { + VDP_CLIENT_PORT = 1, + VDP_SERVER_PORT, + VDP_END_PORT +}; + +typedef struct SPICE_ATTR_PACKED VDIChunkHeader { + uint32_t port; + uint32_t size; +} VDIChunkHeader; + +typedef struct SPICE_ATTR_PACKED VDAgentMessage { + uint32_t protocol; + uint32_t type; + uint64_t opaque; + uint32_t size; + uint8_t data[0]; +} VDAgentMessage; + +#define VD_AGENT_PROTOCOL 1 +#define VD_AGENT_MAX_DATA_SIZE 2048 +#define VD_AGENT_CLIPBOARD_MAX_SIZE_DEFAULT 1024 +#define VD_AGENT_CLIPBOARD_MAX_SIZE_ENV "SPICE_CLIPBOARD_MAX_SIZE" + +enum { + VD_AGENT_MOUSE_STATE = 1, + VD_AGENT_MONITORS_CONFIG, + VD_AGENT_REPLY, + VD_AGENT_CLIPBOARD, + VD_AGENT_DISPLAY_CONFIG, + VD_AGENT_ANNOUNCE_CAPABILITIES, + VD_AGENT_CLIPBOARD_GRAB, + VD_AGENT_CLIPBOARD_REQUEST, + VD_AGENT_CLIPBOARD_RELEASE, + VD_AGENT_FILE_XFER_START, + VD_AGENT_FILE_XFER_STATUS, + VD_AGENT_FILE_XFER_DATA, + VD_AGENT_CLIENT_DISCONNECTED, + VD_AGENT_END_MESSAGE, +}; + +enum { + VD_AGENT_FILE_XFER_STATUS_CAN_SEND_DATA, + VD_AGENT_FILE_XFER_STATUS_CANCELLED, + VD_AGENT_FILE_XFER_STATUS_ERROR, + VD_AGENT_FILE_XFER_STATUS_SUCCESS, +}; + +typedef struct SPICE_ATTR_PACKED VDAgentFileXferStatusMessage { + uint32_t id; + uint32_t result; +} VDAgentFileXferStatusMessage; + +typedef struct SPICE_ATTR_PACKED VDAgentFileXferStartMessage { + uint32_t id; + uint8_t data[0]; +} VDAgentFileXferStartMessage; + +typedef struct SPICE_ATTR_PACKED VDAgentFileXferDataMessage { + uint32_t id; + uint64_t size; + uint8_t data[0]; +} VDAgentFileXferDataMessage; + +typedef struct SPICE_ATTR_PACKED VDAgentMonConfig { + /* + * Note a width and height of 0 can be used to indicate a disabled + * monitor, this may only be used with agents with the + * VD_AGENT_CAP_SPARSE_MONITORS_CONFIG capability. + */ + uint32_t height; + uint32_t width; + uint32_t depth; + int32_t x; + int32_t y; +} VDAgentMonConfig; + +enum { + VD_AGENT_CONFIG_MONITORS_FLAG_USE_POS = (1 << 0), +}; + +typedef struct SPICE_ATTR_PACKED VDAgentMonitorsConfig { + uint32_t num_of_monitors; + uint32_t flags; + VDAgentMonConfig monitors[0]; +} VDAgentMonitorsConfig; + +enum { + VD_AGENT_DISPLAY_CONFIG_FLAG_DISABLE_WALLPAPER = (1 << 0), + VD_AGENT_DISPLAY_CONFIG_FLAG_DISABLE_FONT_SMOOTH = (1 << 1), + VD_AGENT_DISPLAY_CONFIG_FLAG_DISABLE_ANIMATION = (1 << 2), + VD_AGENT_DISPLAY_CONFIG_FLAG_SET_COLOR_DEPTH = (1 << 3), +}; + +typedef struct SPICE_ATTR_PACKED VDAgentDisplayConfig { + uint32_t flags; + uint32_t depth; +} VDAgentDisplayConfig; + +#define VD_AGENT_LBUTTON_MASK (1 << 1) +#define VD_AGENT_MBUTTON_MASK (1 << 2) +#define VD_AGENT_RBUTTON_MASK (1 << 3) +#define VD_AGENT_UBUTTON_MASK (1 << 4) +#define VD_AGENT_DBUTTON_MASK (1 << 5) + +typedef struct SPICE_ATTR_PACKED VDAgentMouseState { + uint32_t x; + uint32_t y; + uint32_t buttons; + uint8_t display_id; +} VDAgentMouseState; + +typedef struct SPICE_ATTR_PACKED VDAgentReply { + uint32_t type; + uint32_t error; +} VDAgentReply; + +enum { + VD_AGENT_SUCCESS = 1, + VD_AGENT_ERROR, +}; + +typedef struct SPICE_ATTR_PACKED VDAgentClipboard { +#if 0 /* VD_AGENT_CAP_CLIPBOARD_SELECTION */ + uint8_t selection; + uint8_t __reserved[sizeof(uint32_t) - 1 * sizeof(uint8_t)]; +#endif + uint32_t type; + uint8_t data[0]; +} VDAgentClipboard; + +enum { + VD_AGENT_CLIPBOARD_NONE = 0, + VD_AGENT_CLIPBOARD_UTF8_TEXT, + VD_AGENT_CLIPBOARD_IMAGE_PNG, /* All clients with image support should support this one */ + VD_AGENT_CLIPBOARD_IMAGE_BMP, /* optional */ + VD_AGENT_CLIPBOARD_IMAGE_TIFF, /* optional */ + VD_AGENT_CLIPBOARD_IMAGE_JPG, /* optional */ +}; + +typedef struct SPICE_ATTR_PACKED VDAgentClipboardGrab { +#if 0 /* VD_AGENT_CAP_CLIPBOARD_SELECTION */ + uint8_t selection; + uint8_t __reserved[sizeof(uint32_t) - 1 * sizeof(uint8_t)]; +#endif + uint32_t types[0]; +} VDAgentClipboardGrab; + +typedef struct SPICE_ATTR_PACKED VDAgentClipboardRequest { +#if 0 /* VD_AGENT_CAP_CLIPBOARD_SELECTION */ + uint8_t selection; + uint8_t __reserved[sizeof(uint32_t) - 1 * sizeof(uint8_t)]; +#endif + uint32_t type; +} VDAgentClipboardRequest; + +typedef struct SPICE_ATTR_PACKED VDAgentClipboardRelease { +#if 0 /* VD_AGENT_CAP_CLIPBOARD_SELECTION */ + uint8_t selection; + uint8_t __reserved[sizeof(uint32_t) - 1 * sizeof(uint8_t)]; +#endif +} VDAgentClipboardRelease; + +enum { + VD_AGENT_CAP_MOUSE_STATE = 0, + VD_AGENT_CAP_MONITORS_CONFIG, + VD_AGENT_CAP_REPLY, + VD_AGENT_CAP_CLIPBOARD, + VD_AGENT_CAP_DISPLAY_CONFIG, + VD_AGENT_CAP_CLIPBOARD_BY_DEMAND, + VD_AGENT_CAP_CLIPBOARD_SELECTION, + VD_AGENT_CAP_SPARSE_MONITORS_CONFIG, + VD_AGENT_END_CAP, +}; + +enum { + VD_AGENT_CLIPBOARD_SELECTION_CLIPBOARD = 0, + VD_AGENT_CLIPBOARD_SELECTION_PRIMARY, + VD_AGENT_CLIPBOARD_SELECTION_SECONDARY, +}; + +typedef struct SPICE_ATTR_PACKED VDAgentAnnounceCapabilities { + uint32_t request; + uint32_t caps[0]; +} VDAgentAnnounceCapabilities; + +#define VD_AGENT_CAPS_SIZE_FROM_MSG_SIZE(msg_size) \ + (((msg_size) - sizeof(VDAgentAnnounceCapabilities)) / sizeof(uint32_t)) + +#define VD_AGENT_CAPS_SIZE ((VD_AGENT_END_CAP + 31) / 32) + +#define VD_AGENT_CAPS_BYTES (((VD_AGENT_END_CAP + 31) / 8) & ~3) + +#define VD_AGENT_HAS_CAPABILITY(caps, caps_size, index) \ + ((index) < (caps_size * 32) && ((caps)[(index) / 32] & (1 << ((index) % 32)))) + +#define VD_AGENT_SET_CAPABILITY(caps, index) \ + { (caps)[(index) / 32] |= (1 << ((index) % 32)); } + +#include <spice/end-packed.h> + +#endif /* _H_VD_AGENT */ diff --git a/tizen/distrib/remote/common/spice-common/spice-protocol/spice/vdi_dev.h b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/vdi_dev.h new file mode 100644 index 0000000..8e0eec9 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice-protocol/spice/vdi_dev.h @@ -0,0 +1,82 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef _H_VDI_DEV +#define _H_VDI_DEV + +#include <spice/types.h> +#include <spice/barrier.h> +#include <spice/ipc_ring.h> + +#include <spice/start-packed.h> + +#define REDHAT_PCI_VENDOR_ID 0x1b36 + +#define VDI_PORT_DEVICE_ID 0x0105 +#define VDI_PORT_REVISION 0x01 + +#define VDI_PORT_INTERRUPT (1 << 0) + +#define VDI_PORT_MAGIC (*(uint32_t*)"VDIP") + +typedef struct SPICE_ATTR_PACKED VDIPortPacket { + uint32_t gen; + uint32_t size; + uint8_t data[512 - 2 * sizeof(uint32_t)]; +} VDIPortPacket; + +SPICE_RING_DECLARE(VDIPortRing, VDIPortPacket, 32); + +enum { + VDI_PORT_IO_RANGE_INDEX, + VDI_PORT_RAM_RANGE_INDEX, +}; + +enum { + VDI_PORT_IO_CONNECTION, + VDI_PORT_IO_NOTIFY = 4, + VDI_PORT_IO_UPDATE_IRQ = 8, + + VDI_PORT_IO_RANGE_SIZE = 12 +}; + +typedef struct SPICE_ATTR_PACKED VDIPortRam { + uint32_t magic; + uint32_t generation; + uint32_t int_pending; + uint32_t int_mask; + VDIPortRing input; + VDIPortRing output; + uint32_t reserv[32]; +} VDIPortRam; + +#include <spice/end-packed.h> + +#endif /* _H_VDI_DEV */ diff --git a/tizen/distrib/remote/common/spice-common/spice.proto b/tizen/distrib/remote/common/spice-common/spice.proto new file mode 100644 index 0000000..655352a --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice.proto @@ -0,0 +1,1339 @@ +/* built in types: + int8, uint8, 16, 32, 64 +*/ + +typedef fixed28_4 int32 @ctype(SPICE_FIXED28_4); + +struct Point { + int32 x; + int32 y; +}; + +struct Point16 { + int16 x; + int16 y; +}; + +struct PointFix { + fixed28_4 x; + fixed28_4 y; +}; + +struct Rect { + int32 top; + int32 left; + int32 bottom; + int32 right; +}; + +struct Transform { + uint32 t00; + uint32 t01; + uint32 t02; + uint32 t10; + uint32 t11; + uint32 t12; +}; + +enum32 link_err { + OK, + ERROR, + INVALID_MAGIC, + INVALID_DATA, + VERSION_MISMATCH, + NEED_SECURED, + NEED_UNSECURED, + PERMISSION_DENIED, + BAD_CONNECTION_ID, + CHANNEL_NOT_AVAILABLE +}; + +enum32 warn_code { + WARN_GENERAL +} @prefix(SPICE_); + +enum32 info_code { + INFO_GENERAL +} @prefix(SPICE_); + +flags32 migrate_flags { + NEED_FLUSH, + NEED_DATA_TRANSFER +} @prefix(SPICE_MIGRATE_); + +flags32 composite_flags { + OP0, OP1, OP2, OP3, OP4, OP5, OP6, OP7, + SRC_FILTER0, SRC_FILTER1, SRC_FILTER2, + MASK_FILTER0, MASK_FITLER1, MASK_FILTER2, + + SRC_REPEAT0, SRC_REPEAT1, + MASK_REPEAT0, MASK_REPEAT1, + COMPONENT_ALPHA, + + HAS_MASK, + HAS_SRC_TRANSFORM, + HAS_MASK_TRANSFORM, + + /* These are used to override the formats given in the images. For + * example, if the mask image has format a8r8g8b8, but MASK_OPAQUE + * is set, the image should be treated as if it were x8r8g8b8 + */ + SOURCE_OPAQUE, + MASK_OPAQUE, + DEST_OPAQUE, +} @prefix(SPICE_COMPOSITE_); + +enum32 notify_severity { + INFO, + WARN, + ERROR, +}; + +enum32 notify_visibility { + LOW, + MEDIUM, + HIGH, +}; + +flags16 mouse_mode { + SERVER, + CLIENT, +}; + +enum16 pubkey_type { + INVALID, + RSA, + RSA2, + DSA, + DSA1, + DSA2, + DSA3, + DSA4, + DH, + EC, +}; + +message Empty { +}; + +message Data { + uint8 data[] @end @ctype(uint8_t); +} @nocopy; + +struct ChannelWait { + uint8 channel_type; + uint8 channel_id; + uint64 message_serial; +} @ctype(SpiceWaitForChannel); + +channel BaseChannel { + server: + message { + migrate_flags flags; + } migrate; + + Data migrate_data; + + message { + uint32 generation; + uint32 window; + } set_ack; + + message { + uint32 id; + uint64 timestamp; + uint8 data[] @ctype(uint8_t) @as_ptr(data_len); + } ping; + + message { + uint8 wait_count; + ChannelWait wait_list[wait_count] @end; + } wait_for_channels; + + message { + uint64 time_stamp; + link_err reason; + } @ctype(SpiceMsgDisconnect) disconnecting; + + message { + uint64 time_stamp; + notify_severity severity; + notify_visibility visibilty; + uint32 what; /* error_code/warn_code/info_code */ + uint32 message_len; + uint8 message[message_len] @end @nomarshal; + } notify; + + Data list; /* the msg body is SpiceSubMessageList */ + + client: + message { + uint32 generation; + } ack_sync; + + Empty ack; + + message { + uint32 id; + uint64 timestamp; + } @ctype(SpiceMsgPing) pong; + + Empty migrate_flush_mark; + + Data migrate_data; + + message { + uint64 time_stamp; + link_err reason; + } @ctype(SpiceMsgDisconnect) disconnecting; +}; + +struct ChannelId { + uint8 type; + uint8 id; +}; + +struct DstInfo { + uint16 port; + uint16 sport; + uint32 host_size; + uint8 *host_data[host_size] @zero_terminated @marshall @nonnull; + uint32 cert_subject_size; + uint8 *cert_subject_data[cert_subject_size] @zero_terminated @marshall; +} @ctype(SpiceMigrationDstInfo); + +channel MainChannel : BaseChannel { + server: + message { + DstInfo dst_info; + } @ctype(SpiceMsgMainMigrationBegin) migrate_begin = 101; + + Empty migrate_cancel; + + message { + uint32 session_id; + uint32 display_channels_hint; + uint32 supported_mouse_modes; + uint32 current_mouse_mode; + uint32 agent_connected; + uint32 agent_tokens; + uint32 multi_media_time; + uint32 ram_hint; + } init; + + message { + uint32 num_of_channels; + ChannelId channels[num_of_channels] @end; + } @ctype(SpiceMsgChannels) channels_list; + + message { + mouse_mode supported_modes; + mouse_mode current_mode @unique_flag; + } mouse_mode; + + message { + uint32 time; + } @ctype(SpiceMsgMainMultiMediaTime) multi_media_time; + + Empty agent_connected; + + message { + link_err error_code; + } @ctype(SpiceMsgMainAgentDisconnect) agent_disconnected; + + Data agent_data; + + message { + uint32 num_tokens; + } @ctype(SpiceMsgMainAgentTokens) agent_token; + + message { + uint16 port; + uint16 sport; + uint32 host_size; + uint8 *host_data[host_size] @zero_terminated @marshall; + uint32 cert_subject_size; + uint8 *cert_subject_data[cert_subject_size] @zero_terminated @marshall; + } @ctype(SpiceMsgMainMigrationSwitchHost) migrate_switch_host; + + Empty migrate_end; + + message { + uint32 name_len; + uint8 name[name_len] @end; + } name; + + message { + uint8 uuid[16]; + } uuid; + + message { + uint32 num_tokens; + } agent_connected_tokens; + + message { + DstInfo dst_info; + uint32 src_mig_version; + } migrate_begin_seamless; + + Empty migrate_dst_seamless_ack; + Empty migrate_dst_seamless_nack; + + client: + message { + uint64 cache_size; + } @ctype(SpiceMsgcClientInfo) client_info = 101; + + Empty migrate_connected; + + Empty migrate_connect_error; + + Empty attach_channels; + + message { + mouse_mode mode; + } mouse_mode_request; + + message { + uint32 num_tokens; + } agent_start; + + Data agent_data; + + message { + uint32 num_tokens; + } @ctype(SpiceMsgcMainAgentTokens) agent_token; + + Empty migrate_end; + + message { + uint32 src_version; + } migrate_dst_do_seamless; + + Empty migrate_connected_seamless; +}; + +enum8 clip_type { + NONE, + RECTS +}; + +flags8 path_flags { /* TODO: C enum names changes */ + BEGIN = 0, + END = 1, + CLOSE = 3, + BEZIER = 4, +} @prefix(SPICE_PATH_); + +enum8 video_codec_type { + MJPEG = 1, +}; + +flags8 stream_flags { + TOP_DOWN = 0, +}; + +enum8 brush_type { + NONE, + SOLID, + PATTERN, +}; + +flags8 mask_flags { + INVERS, +}; + +enum8 image_type { + BITMAP, + QUIC, + RESERVED, + LZ_PLT = 100, + LZ_RGB, + GLZ_RGB, + FROM_CACHE, + SURFACE, + JPEG, + FROM_CACHE_LOSSLESS, + ZLIB_GLZ_RGB, + JPEG_ALPHA, +}; + +flags8 image_flags { + CACHE_ME, + HIGH_BITS_SET, + CACHE_REPLACE_ME, +}; + +enum8 bitmap_fmt { + INVALID, + 1BIT_LE, + 1BIT_BE, + 4BIT_LE, + 4BIT_BE, + 8BIT /* 8bit indexed mode */, + 16BIT, /* 0555 mode */ + 24BIT /* 3 byte, brg */, + 32BIT /* 4 byte, xrgb in little endian format */, + RGBA /* 4 byte, argb in little endian format */, + 8BIT_A /* 1 byte, alpha */ +}; + +flags8 bitmap_flags { + PAL_CACHE_ME, + PAL_FROM_CACHE, + TOP_DOWN, +}; + +flags8 jpeg_alpha_flags { + TOP_DOWN, +}; + +enum8 image_scale_mode { + INTERPOLATE, + NEAREST, +}; + +flags16 ropd { + INVERS_SRC, + INVERS_BRUSH, + INVERS_DEST, + OP_PUT, + OP_OR, + OP_AND, + OP_XOR, + OP_BLACKNESS, + OP_WHITENESS, + OP_INVERS, + INVERS_RES, +}; + +/* This *must* remain with values identical to api/winddi.h + LA_STYLED == 0x8 (log_2)=> 3 + LA_STARTGAP == 0x4 (log_2)=> 2 + This is used by the windows driver. + */ +flags8 line_flags { + STYLED = 3, + START_WITH_GAP = 2, +}; + +flags8 string_flags { + RASTER_A1, + RASTER_A4, + RASTER_A8, + RASTER_TOP_DOWN, +}; + +flags32 surface_flags { + PRIMARY +}; + +enum32 surface_fmt { + INVALID, + 1_A = 1, + 8_A = 8, + 16_555 = 16 , + 16_565 = 80, + 32_xRGB = 32, + 32_ARGB = 96 +}; + +flags8 alpha_flags { + DEST_HAS_ALPHA, + SRC_SURFACE_HAS_ALPHA +}; + +enum8 resource_type { + INVALID, + PIXMAP +} @prefix(SPICE_RES_TYPE_); + +struct ClipRects { + uint32 num_rects; + Rect rects[num_rects] @end; +}; + +struct PathSegment { + path_flags flags; + uint32 count; + PointFix points[count] @end; +} @ctype(SpicePathSeg); + +struct Path { + uint32 num_segments; + PathSegment segments[num_segments] @ptr_array; +}; + +struct Clip { + clip_type type; + switch (type) { + case RECTS: + ClipRects rects @outvar(cliprects) @to_ptr; + } u @anon; +}; + +struct DisplayBase { + uint32 surface_id; + Rect box; + Clip clip; +} @ctype(SpiceMsgDisplayBase); + +struct ResourceID { + uint8 type; + uint64 id; +}; + +struct WaitForChannel { + uint8 channel_type; + uint8 channel_id; + uint64 message_serial; +}; + +struct Palette { + uint64 unique; + uint16 num_ents; + uint32 ents[num_ents] @end; +}; + +struct BitmapData { + bitmap_fmt format; + bitmap_flags flags; + uint32 x; + uint32 y; + uint32 stride; + switch (flags) { + case PAL_FROM_CACHE: + uint64 palette_id; + default: + Palette *palette @outvar(bitmap); + } pal @anon; + uint8 data[image_size(8, stride, y)] @chunk @nomarshal; +} @ctype(SpiceBitmap); + +struct BinaryData { + uint32 data_size; + uint8 data[data_size] @nomarshal @chunk; +} @ctype(SpiceQUICData); + +struct LZPLTData { + bitmap_flags flags; + uint32 data_size; + switch (flags) { + case PAL_FROM_CACHE: + uint64 palette_id; + default: + Palette *palette @nonnull @outvar(lzplt); + } pal @anon; + uint8 data[data_size] @nomarshal @chunk; +}; + +struct ZlibGlzRGBData { + uint32 glz_data_size; + uint32 data_size; + uint8 data[data_size] @nomarshal @chunk; +} @ctype(SpiceZlibGlzRGBData); + +struct JPEGAlphaData { + jpeg_alpha_flags flags; + uint32 jpeg_size; + uint32 data_size; + uint8 data[data_size] @nomarshal @chunk; +} @ctype(SpiceJPEGAlphaData); + +struct Surface { + uint32 surface_id; +}; + + +struct Image { + struct ImageDescriptor { + uint64 id; + image_type type; + image_flags flags; + uint32 width; + uint32 height; + } descriptor; + + switch (descriptor.type) { + case BITMAP: + BitmapData bitmap; + case QUIC: + BinaryData quic; + case LZ_RGB: + case GLZ_RGB: + BinaryData lz_rgb; + case JPEG: + BinaryData jpeg; + case LZ_PLT: + LZPLTData lz_plt; + case ZLIB_GLZ_RGB: + ZlibGlzRGBData zlib_glz; + case JPEG_ALPHA: + JPEGAlphaData jpeg_alpha; + case SURFACE: + Surface surface; + } u; +}; + +struct Pattern { + Image *pat @nonnull; + Point pos; +}; + +struct Brush { + brush_type type; + switch (type) { + case SOLID: + uint32 color; + case PATTERN: + Pattern pattern; + } u; +}; + +struct QMask { + mask_flags flags; + Point pos; + Image *bitmap; +}; + +struct LineAttr { + line_flags flags; + switch (flags) { + case STYLED: + uint8 style_nseg; + } u1 @anon; + switch (flags) { + case STYLED: + fixed28_4 *style[style_nseg]; + } u2 @anon; +}; + +struct RasterGlyphA1 { + Point render_pos; + Point glyph_origin; + uint16 width; + uint16 height; + uint8 data[image_size(1, width, height)] @end; +} @ctype(SpiceRasterGlyph); + +struct RasterGlyphA4 { + Point render_pos; + Point glyph_origin; + uint16 width; + uint16 height; + uint8 data[image_size(4, width, height)] @end; +} @ctype(SpiceRasterGlyph); + +struct RasterGlyphA8 { + Point render_pos; + Point glyph_origin; + uint16 width; + uint16 height; + uint8 data[image_size(8, width, height)] @end; +} @ctype(SpiceRasterGlyph); + +struct String { + uint16 length; + string_flags flags; /* Special: Only one of a1/a4/a8 set */ + switch (flags) { + case RASTER_A1: + RasterGlyphA1 glyphs[length] @ctype(SpiceRasterGlyph) @ptr_array; + case RASTER_A4: + RasterGlyphA4 glyphs[length] @ctype(SpiceRasterGlyph) @ptr_array; + case RASTER_A8: + RasterGlyphA8 glyphs[length] @ctype(SpiceRasterGlyph) @ptr_array; + } u @anon; +}; + +struct StreamDataHeader { + uint32 id; + uint32 multi_media_time; +}; + +struct Head { + uint32 id; + uint32 surface_id; + uint32 width; + uint32 height; + uint32 x; + uint32 y; + uint32 flags; +}; + +channel DisplayChannel : BaseChannel { + server: + message { + uint32 x_res; + uint32 y_res; + uint32 bits; + } mode = 101; + + Empty mark; + Empty reset; + message { + DisplayBase base; + Point src_pos; + } copy_bits; + + message { + uint16 count; + ResourceID resources[count] @end; + } @ctype(SpiceResourceList) inval_list; + + message { + uint8 wait_count; + WaitForChannel wait_list[wait_count] @end; + } @ctype(SpiceMsgWaitForChannels) inval_all_pixmaps; + + message { + uint64 id; + } @ctype(SpiceMsgDisplayInvalOne) inval_palette; + + Empty inval_all_palettes; + + message { + uint32 surface_id; + uint32 id; + stream_flags flags; + video_codec_type codec_type; + uint64 stamp; + uint32 stream_width; + uint32 stream_height; + uint32 src_width; + uint32 src_height; + Rect dest; + Clip clip; + } stream_create = 122; + + message { + StreamDataHeader base; + uint32 data_size; + uint8 data[data_size] @end @nomarshal; + } stream_data; + + message { + uint32 id; + Clip clip; + } stream_clip; + + message { + uint32 id; + } stream_destroy; + + Empty stream_destroy_all; + + message { + DisplayBase base; + struct Fill { + Brush brush @outvar(brush); + ropd rop_descriptor; + QMask mask @outvar(mask); + } data; + } draw_fill = 302; + + message { + DisplayBase base; + struct Opaque { + Image *src_bitmap; + Rect src_area; + Brush brush; + ropd rop_descriptor; + image_scale_mode scale_mode; + QMask mask @outvar(mask); + } data; + } draw_opaque; + + message { + DisplayBase base; + struct Copy { + Image *src_bitmap; + Rect src_area; + ropd rop_descriptor; + image_scale_mode scale_mode; + QMask mask @outvar(mask); + } data; + } draw_copy; + + message { + DisplayBase base; + struct Blend { + Image *src_bitmap; + Rect src_area; + ropd rop_descriptor; + image_scale_mode scale_mode; + QMask mask @outvar(mask); + } @ctype(SpiceCopy) data; + } draw_blend; + + message { + DisplayBase base; + struct Blackness { + QMask mask @outvar(mask); + } data; + } draw_blackness; + + message { + DisplayBase base; + struct Whiteness { + QMask mask @outvar(mask); + } data; + } draw_whiteness; + + message { + DisplayBase base; + struct Invers { + QMask mask @outvar(mask); + } data; + } draw_invers; + + message { + DisplayBase base; + struct Rop3 { + Image *src_bitmap; + Rect src_area; + Brush brush; + uint8 rop3; + image_scale_mode scale_mode; + QMask mask @outvar(mask); + } data; + } draw_rop3; + + message { + DisplayBase base; + struct Stroke { + Path *path @marshall @nonnull; + LineAttr attr; + Brush brush; + uint16 fore_mode; + uint16 back_mode; + } data; + } draw_stroke; + + message { + DisplayBase base; + struct Text { + String *str @marshall @nonnull; + Rect back_area; + Brush fore_brush @outvar(fore_brush); + Brush back_brush @outvar(back_brush); + uint16 fore_mode; + uint16 back_mode; + } data; + } draw_text; + + message { + DisplayBase base; + struct Transparent { + Image *src_bitmap; + Rect src_area; + uint32 src_color; + uint32 true_color; + } data; + } draw_transparent; + + message { + DisplayBase base; + struct AlphaBlend { + alpha_flags alpha_flags; + uint8 alpha; + Image *src_bitmap; + Rect src_area; + } data; + } draw_alpha_blend; + + message { + uint32 surface_id; + uint32 width; + uint32 height; + surface_fmt format; + surface_flags flags; + } @ctype(SpiceMsgSurfaceCreate) surface_create; + + message { + uint32 surface_id; + } @ctype(SpiceMsgSurfaceDestroy) surface_destroy; + + message { + StreamDataHeader base; + uint32 width; + uint32 height; + Rect dest; + uint32 data_size; + uint8 data[data_size] @end @nomarshal; + } stream_data_sized; + + message { + uint16 count; + uint16 max_allowed; + Head heads[count] @end; + } monitors_config; + + message { + DisplayBase base; + struct Composite { + composite_flags flags; + Image *src_bitmap; + switch (flags) { + case HAS_MASK: + Image *mask_bitmap; + } a @anon; + switch (flags) { + case HAS_SRC_TRANSFORM: + Transform src_transform; + } b @anon; + switch (flags) { + case HAS_MASK_TRANSFORM: + Transform mask_transform; + } c @anon; + Point16 src_origin; + Point16 mask_origin; + } data; + } draw_composite; + + client: + message { + uint8 pixmap_cache_id; + int64 pixmap_cache_size; //in pixels + uint8 glz_dictionary_id; + int32 glz_dictionary_window_size; // in pixels + } init = 101; +}; + +flags16 keyboard_modifier_flags { + SCROLL_LOCK, + NUM_LOCK, + CAPS_LOCK +}; + +enum8 mouse_button { + INVALID, + LEFT, + MIDDLE, + RIGHT, + UP, + DOWN, +}; + +flags16 mouse_button_mask { + LEFT, + MIDDLE, + RIGHT +}; + +channel InputsChannel : BaseChannel { + client: + message { + uint32 code; + } @ctype(SpiceMsgcKeyDown) key_down = 101; + + message { + uint32 code; + } @ctype(SpiceMsgcKeyUp) key_up; + + message { + keyboard_modifier_flags modifiers; + } @ctype(SpiceMsgcKeyModifiers) key_modifiers; + + Data key_scancode; + + message { + int32 dx; + int32 dy; + mouse_button_mask buttons_state; + } @ctype(SpiceMsgcMouseMotion) mouse_motion = 111; + + message { + uint32 x; + uint32 y; + mouse_button_mask buttons_state; + uint8 display_id; + } @ctype(SpiceMsgcMousePosition) mouse_position; + + message { + mouse_button button; + mouse_button_mask buttons_state; + } @ctype(SpiceMsgcMousePress) mouse_press; + + message { + mouse_button button; + mouse_button_mask buttons_state; + } @ctype(SpiceMsgcMouseRelease) mouse_release; + + server: + message { + keyboard_modifier_flags keyboard_modifiers; + } init = 101; + + message { + keyboard_modifier_flags modifiers; + } key_modifiers; + + Empty mouse_motion_ack = 111; +}; + +enum8 cursor_type { + ALPHA, + MONO, + COLOR4, + COLOR8, + COLOR16, + COLOR24, + COLOR32, +}; + +flags16 cursor_flags { + NONE, /* Means no cursor */ + CACHE_ME, + FROM_CACHE, +}; + +struct CursorHeader { + uint64 unique; + cursor_type type; + uint16 width; + uint16 height; + uint16 hot_spot_x; + uint16 hot_spot_y; +}; + +struct Cursor { + cursor_flags flags; + switch (flags) { + case !NONE: + CursorHeader header; + } u @anon; + uint8 data[] @as_ptr(data_size); +}; + +channel CursorChannel : BaseChannel { + server: + message { + Point16 position; + uint16 trail_length; + uint16 trail_frequency; + uint8 visible; + Cursor cursor; + } init = 101; + + Empty reset; + + message { + Point16 position; + uint8 visible; + Cursor cursor; + } set; + + message { + Point16 position; + } move; + + Empty hide; + + message { + uint16 length; + uint16 frequency; + } trail; + + message { + uint64 id; + } @ctype(SpiceMsgDisplayInvalOne) inval_one; + + Empty inval_all; +}; + +enum16 audio_data_mode { + INVALID, + RAW, + CELT_0_5_1, +}; + +enum16 audio_fmt { + INVALID, + S16, +}; + +message AudioVolume { + uint8 nchannels; + uint16 volume[nchannels] @end; +}; + +message AudioMute { + uint8 mute; +}; + +channel PlaybackChannel : BaseChannel { + server: + message { + uint32 time; + uint8 data[] @as_ptr(data_size); + } @ctype(SpiceMsgPlaybackPacket) data = 101; + + message { + uint32 time; + audio_data_mode mode; + uint8 data[] @as_ptr(data_size); + } mode; + + message { + uint32 channels; + audio_fmt format; + uint32 frequency; + uint32 time; + } start; + + Empty stop; + AudioVolume volume; + AudioMute mute; +}; + +channel RecordChannel : BaseChannel { + server: + message { + uint32 channels; + audio_fmt format; + uint32 frequency; + } start = 101; + + Empty stop; + AudioVolume volume; + AudioMute mute; + client: + message { + uint32 time; + uint8 data[] @nomarshal @as_ptr(data_size); + } @ctype(SpiceMsgcRecordPacket) data = 101; + + message { + uint32 time; + audio_data_mode mode; + uint8 data[] @as_ptr(data_size); + } mode; + + message { + uint32 time; + } start_mark; +}; + +enum16 tunnel_service_type { + INVALID, + GENERIC, + IPP, +}; + +enum16 tunnel_ip_type { + INVALID, + IPv4, +}; + +struct TunnelIpInfo { + tunnel_ip_type type; + switch (type) { + case IPv4: + uint8 ipv4[4]; + } u; +} @ctype(SpiceMsgTunnelIpInfo); + +channel TunnelChannel : BaseChannel { + server: + message { + uint16 max_num_of_sockets; + uint32 max_socket_data_size; + } init = 101; + + message { + uint32 service_id; + TunnelIpInfo virtual_ip; + } service_ip_map; + + message { + uint16 connection_id; + uint32 service_id; + uint32 tokens; + } socket_open; + + message { + uint16 connection_id; + } socket_fin; + + message { + uint16 connection_id; + } socket_close; + + message { + uint16 connection_id; + uint8 data[] @end; + } socket_data; + + message { + uint16 connection_id; + } socket_closed_ack; + + message { + uint16 connection_id; + uint32 num_tokens; + } @ctype(SpiceMsgTunnelSocketTokens) socket_token; + + client: + message { + tunnel_service_type type; + uint32 id; + uint32 group; + uint32 port; + uint8 *name[cstring()] @nocopy; + uint8 *description[cstring()] @nocopy; + switch (type) { + case IPP: + TunnelIpInfo ip @ctype(SpiceMsgTunnelIpInfo); + } u; + } @ctype(SpiceMsgcTunnelAddGenericService) service_add = 101; + + message { + uint32 id; + } @ctype(SpiceMsgcTunnelRemoveService) service_remove; + + message { + uint16 connection_id; + uint32 tokens; + } socket_open_ack; + + message { + uint16 connection_id; + } socket_open_nack; + + message { + uint16 connection_id; + } socket_fin; + + message { + uint16 connection_id; + } socket_closed; + + message { + uint16 connection_id; + } socket_closed_ack; + + message { + uint16 connection_id; + uint8 data[] @end; + } socket_data; + + message { + uint16 connection_id; + uint32 num_tokens; + } @ctype(SpiceMsgcTunnelSocketTokens) socket_token; +}; + +enum32 vsc_message_type { + Init = 1, + Error, + ReaderAdd, + ReaderRemove, + ATR, + CardRemove, + APDU, + Flush, + FlushComplete +}; + +struct VscMessageHeader { + vsc_message_type type; + uint32 reader_id; + uint32 length; +} @ctype(VSCMsgHeader); + +struct VscMessageError { + uint32 code; +} @ctype(VSCMsgError); + +struct VscMessageAPDU { + uint8 data[]; +} @ctype(VSCMsgAPDU); + +struct VscMessageATR { + uint8 data[]; +} @ctype(VSCMsgATR); + +struct VscMessageReaderAdd { + int8 *reader_name[] @zero_terminated @nonnull @end @nomarshal; +} @ctype(VSCMsgReaderAdd); + +channel SmartcardChannel : BaseChannel { + server: + message { + vsc_message_type type; + uint32 reader_id; + uint32 length; + uint8 data[] @end; + } @ctype(SpiceMsgSmartcard) data = 101; + + client: + message { + VscMessageHeader header; + switch (header.type) { + case ReaderAdd: + VscMessageReaderAdd add; + case ATR: + case APDU: + VscMessageATR atr_data; + case Error: + VscMessageError error; + } u @anon; + } @ctype(SpiceMsgcSmartcard) data = 101; + + message { + vsc_message_type type; + uint32 reader_id; + uint32 length; + } @ctype(VSCMsgHeader) header = 101; + + message { + uint32 code; + } @ctype(VSCMsgError) error = 101; + + message { + uint8 data[]; + } @ctype(VSCMsgATR) atr = 101; + + message { + int8 reader_name[] @zero_terminated @nonnull; + } @ctype(VSCMsgReaderAdd) reader_add = 101; +} @ifdef(USE_SMARTCARD); + +channel SpicevmcChannel : BaseChannel { +server: + Data data = 101; +client: + Data data = 101; +}; + +channel UsbredirChannel : SpicevmcChannel { +}; + +channel PortChannel : SpicevmcChannel { + client: + message { + uint8 event; + } event = 201; + server: + message { + uint32 name_size; + uint8 *name[name_size] @zero_terminated @marshall @nonnull; + uint8 opened; + } init = 201; + message { + uint8 event; + } event; +}; + +protocol Spice { + MainChannel main = 1; + DisplayChannel display; + InputsChannel inputs; + CursorChannel cursor; + PlaybackChannel playback; + RecordChannel record; + TunnelChannel tunnel; + SmartcardChannel smartcard; + UsbredirChannel usbredir; + PortChannel port; +}; diff --git a/tizen/distrib/remote/common/spice-common/spice1.proto b/tizen/distrib/remote/common/spice-common/spice1.proto new file mode 100644 index 0000000..2d22cdf --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice1.proto @@ -0,0 +1,942 @@ +/* built in types: + int8, uint8, 16, 32, 64 +*/ + +typedef fixed28_4 int32 @ctype(SPICE_FIXED28_4); + +struct Point { + int32 x; + int32 y; +}; + +struct Point16 { + int16 x; + int16 y; +}; + +struct PointFix { + fixed28_4 x; + fixed28_4 y; +}; + +struct Rect { + int32 top; + int32 left; + int32 bottom; + int32 right; +}; + +enum32 link_err { + OK, + ERROR, + INVALID_MAGIC, + INVALID_DATA, + VERSION_MISMATCH, + NEED_SECURED, + NEED_UNSECURED, + PERMISSION_DENIED, + BAD_CONNECTION_ID, + CHANNEL_NOT_AVAILABLE +}; + +enum32 warn_code { + WARN_GENERAL +} @prefix(SPICE_); + +enum32 info_code { + INFO_GENERAL +} @prefix(SPICE_); + +flags32 migrate_flags { + NEED_FLUSH, + NEED_DATA_TRANSFER +} @prefix(SPICE_MIGRATE_); + +enum32 notify_severity { + INFO, + WARN, + ERROR, +}; + +enum32 notify_visibility { + LOW, + MEDIUM, + HIGH, +}; + +flags32 mouse_mode { + SERVER, + CLIENT, +}; + +enum16 pubkey_type { + INVALID, + RSA, + RSA2, + DSA, + DSA1, + DSA2, + DSA3, + DSA4, + DH, + EC, +}; + +message Empty { +}; + +message Data { + uint8 data[] @end @ctype(uint8_t); +} @nocopy; + +struct ChannelWait { + uint8 channel_type; + uint8 channel_id; + uint64 message_serial; +} @ctype(SpiceWaitForChannel); + +channel BaseChannel { + server: + message { + migrate_flags flags; + } migrate; + + Data migrate_data; + + message { + uint32 generation; + uint32 window; + } set_ack; + + message { + uint32 id; + uint64 timestamp; + uint8 data[] @ctype(uint8_t) @as_ptr(data_len); + } ping; + + message { + uint8 wait_count; + ChannelWait wait_list[wait_count] @end; + } wait_for_channels; + + message { + uint64 time_stamp; + link_err reason; + } @ctype(SpiceMsgDisconnect) disconnecting; + + message { + uint64 time_stamp; + notify_severity severity; + notify_visibility visibilty; + uint32 what; /* error_code/warn_code/info_code */ + uint32 message_len; + uint8 message[message_len] @end @nomarshal; + uint8 zero @end @ctype(uint8_t) @nomarshal; + } notify; + + client: + message { + uint32 generation; + } ack_sync; + + Empty ack; + + message { + uint32 id; + uint64 timestamp; + } @ctype(SpiceMsgPing) pong; + + Empty migrate_flush_mark; + + Data migrate_data; + + message { + uint64 time_stamp; + link_err reason; + } @ctype(SpiceMsgDisconnect) disconnecting; +}; + +struct ChannelId { + uint8 type; + uint8 id; +}; + +struct DstInfo { + uint16 port; + uint16 sport; + uint32 host_offset @zero; + uint32 host_size; + pubkey_type pub_key_type @minor(1); + uint32 pub_key_offset @minor(1) @zero; + uint32 pub_key_size @minor(1); + uint8 host_data[host_size] @as_ptr @zero_terminated; + uint8 pub_key_data[pub_key_size] @minor(1) @as_ptr @zero_terminated; +} @ctype(SpiceMigrationDstInfo); + +channel MainChannel : BaseChannel { + server: + message { + DstInfo dst_info; + } @ctype(SpiceMsgMainMigrationBegin) migrate_begin = 101; + + Empty migrate_cancel; + + message { + uint32 session_id; + uint32 display_channels_hint; + uint32 supported_mouse_modes; + uint32 current_mouse_mode; + uint32 agent_connected; + uint32 agent_tokens; + uint32 multi_media_time; + uint32 ram_hint; + } init; + + message { + uint32 num_of_channels; + ChannelId channels[num_of_channels] @end; + } @ctype(SpiceMsgChannels) channels_list; + + message { + mouse_mode supported_modes; + mouse_mode current_mode @unique_flag; + } mouse_mode; + + message { + uint32 time; + } @ctype(SpiceMsgMainMultiMediaTime) multi_media_time; + + Empty agent_connected; + + message { + link_err error_code; + } @ctype(SpiceMsgMainAgentDisconnect) agent_disconnected; + + Data agent_data; + + message { + uint32 num_tokens; + } @ctype(SpiceMsgMainAgentTokens) agent_token; + + message { + uint16 port; + uint16 sport; + uint32 host_offset @zero; + uint32 host_size; + uint32 cert_subject_offset @zero; + uint32 cert_subject_size; + uint8 host_data[host_size] @as_ptr @zero_terminated; + uint8 cert_subject_data[cert_subject_size] @as_ptr @zero_terminated; + } @ctype(SpiceMsgMainMigrationSwitchHost) migrate_switch_host; + + client: + message { + uint64 cache_size; + } @ctype(SpiceMsgcClientInfo) client_info = 101; + + Empty migrate_connected; + + Empty migrate_connect_error; + + Empty attach_channels; + + message { + mouse_mode mode; + } mouse_mode_request; + + message { + uint32 num_tokens; + } agent_start; + + Data agent_data; + + message { + uint32 num_tokens; + } @ctype(SpiceMsgcMainAgentTokens) agent_token; +}; + +enum32 clip_type { + NONE, + RECTS +}; + +flags32 path_flags { /* TODO: C enum names changes */ + BEGIN = 0, + END = 1, + CLOSE = 3, + BEZIER = 4, +} @prefix(SPICE_PATH_); + +enum32 video_codec_type { + MJPEG = 1, +}; + +flags32 stream_flags { + TOP_DOWN = 0, +}; + +enum32 brush_type { + NONE, + SOLID, + PATTERN, +}; + +flags8 mask_flags { + INVERS, +}; + +enum8 image_type { + BITMAP, + QUIC, + RESERVED, + LZ_PLT = 100, + LZ_RGB, + GLZ_RGB, + FROM_CACHE, +}; + +flags8 image_flags { + CACHE_ME, +}; + +enum8 bitmap_fmt { + INVALID, + 1BIT_LE, + 1BIT_BE, + 4BIT_LE, + 4BIT_BE, + 8BIT /* 8bit indexed mode */, + 16BIT, /* 0555 mode */ + 24BIT /* 3 byte, brg */, + 32BIT /* 4 byte, xrgb in little endian format */, + RGBA /* 4 byte, argb in little endian format */ +}; + +flags8 bitmap_flags { + PAL_CACHE_ME, + PAL_FROM_CACHE, + TOP_DOWN, +}; + +enum8 image_scale_mode { + INTERPOLATE, + NEAREST, +}; + +flags16 ropd { + INVERS_SRC, + INVERS_BRUSH, + INVERS_DEST, + OP_PUT, + OP_OR, + OP_AND, + OP_XOR, + OP_BLACKNESS, + OP_WHITENESS, + OP_INVERS, + INVERS_RES, +}; + +flags8 line_flags { + STYLED = 3, + START_WITH_GAP = 2, +}; + +enum8 line_cap { + ROUND, + SQUARE, + BUTT, +}; + +enum8 line_join { + ROUND, + BEVEL, + MITER, +}; + +flags16 string_flags { + RASTER_A1, + RASTER_A4, + RASTER_A8, + RASTER_TOP_DOWN, +}; + +enum8 resource_type { + INVALID, + PIXMAP +} @prefix(SPICE_RES_TYPE_); + +struct ClipRects { + uint32 num_rects; + Rect rects[num_rects] @end; +}; + +struct PathSegment { + path_flags flags; + uint32 count; + PointFix points[count] @end; +} @ctype(SpicePathSeg); + +struct Path { + uint32 segments_size @bytes_count(num_segments); + PathSegment segments[bytes(segments_size, num_segments)] @ptr_array; +}; + +struct Clip { + clip_type type; + switch (type) { + case RECTS: + ClipRects *rects @outvar(cliprects); + default: + uint64 data @zero; + } u @anon; +}; + +struct DisplayBase { + uint32 surface_id @virtual(0); + Rect box; + Clip clip; +} @ctype(SpiceMsgDisplayBase); + +struct ResourceID { + uint8 type; + uint64 id; +}; + +struct WaitForChannel { + uint8 channel_type; + uint8 channel_id; + uint64 message_serial; +}; + +struct Palette { + uint64 unique; + uint16 num_ents; + uint32 ents[num_ents] @end; +}; + +struct BitmapData { + bitmap_fmt format; + bitmap_flags flags; + uint32 x; + uint32 y; + uint32 stride; + switch (flags) { + case PAL_FROM_CACHE: + uint64 palette_id; + default: + Palette *palette @outvar(bitmap); + } pal @anon; + uint8 *data[image_size(8, stride, y)] @chunk; /* pointer to array, not array of pointers as in C */ +} @ctype(SpiceBitmap); + +struct BinaryData { + uint32 data_size; + uint8 data[data_size] @nomarshal @chunk; +} @ctype(SpiceQUICData); + +struct LZPLTData { + bitmap_flags flags; + uint32 data_size; + switch (flags) { + case PAL_FROM_CACHE: + uint64 palette_id; + default: + Palette *palette @nonnull @outvar(lzplt); + } pal @anon; + uint8 data[data_size] @nomarshal @chunk; +}; + +struct Image { + struct ImageDescriptor { + uint64 id; + image_type type; + image_flags flags; + uint32 width; + uint32 height; + } descriptor; + + switch (descriptor.type) { + case BITMAP: + BitmapData bitmap; + case QUIC: + BinaryData quic; + case LZ_RGB: + case GLZ_RGB: + BinaryData lz_rgb; + case LZ_PLT: + LZPLTData lz_plt; + } u; +}; + +struct Pattern { + Image *pat @nonnull; + Point pos; +}; + +struct Brush { + brush_type type; + switch (type) { + case SOLID: + uint32 color; + case PATTERN: + Pattern pattern; + } u @fixedsize; +}; + +struct QMask { + mask_flags flags; + Point pos; + Image *bitmap; +}; + +struct LineAttr { + line_flags flags; + line_join join_style @zero; + line_cap end_style @zero; + uint8 style_nseg; + fixed28_4 width @zero; + fixed28_4 miter_limit @zero; + fixed28_4 *style[style_nseg]; +}; + +struct RasterGlyphA1 { + Point render_pos; + Point glyph_origin; + uint16 width; + uint16 height; + uint8 data[image_size(1, width, height)] @end; +} @ctype(SpiceRasterGlyph); + +struct RasterGlyphA4 { + Point render_pos; + Point glyph_origin; + uint16 width; + uint16 height; + uint8 data[image_size(4, width, height)] @end; +} @ctype(SpiceRasterGlyph); + +struct RasterGlyphA8 { + Point render_pos; + Point glyph_origin; + uint16 width; + uint16 height; + uint8 data[image_size(8, width, height)] @end; +} @ctype(SpiceRasterGlyph); + +struct String { + uint16 length; + string_flags flags; /* Special: Only one of a1/a4/a8 set */ + switch (flags) { + case RASTER_A1: + RasterGlyphA1 glyphs[length] @ctype(SpiceRasterGlyph) @ptr_array; + case RASTER_A4: + RasterGlyphA4 glyphs[length] @ctype(SpiceRasterGlyph) @ptr_array; + case RASTER_A8: + RasterGlyphA8 glyphs[length] @ctype(SpiceRasterGlyph) @ptr_array; + } u @anon; +}; + +struct StreamDataHeader { + uint32 id; + uint32 multi_media_time; +}; + +channel DisplayChannel : BaseChannel { + server: + message { + uint32 x_res; + uint32 y_res; + uint32 bits; + } mode = 101; + + Empty mark; + Empty reset; + + message { + DisplayBase base; + Point src_pos; + } copy_bits; + + message { + uint16 count; + ResourceID resources[count] @end; + } @ctype(SpiceResourceList) inval_list; + + message { + uint8 wait_count; + WaitForChannel wait_list[wait_count] @end; + } @ctype(SpiceMsgWaitForChannels) inval_all_pixmaps; + + message { + uint64 id; + } @ctype(SpiceMsgDisplayInvalOne) inval_palette; + + Empty inval_all_palettes; + + message { + uint32 surface_id @virtual(0); + uint32 id; + stream_flags flags; + video_codec_type codec_type; + uint64 stamp; + uint32 stream_width; + uint32 stream_height; + uint32 src_width; + uint32 src_height; + Rect dest; + Clip clip; + } stream_create = 122; + + message { + StreamDataHeader base; + uint32 data_size; + uint32 pad_size @zero; + uint8 data[data_size] @end @nomarshal; + /* Ignore: uint8 padding[pad_size] */ + } stream_data; + + message { + uint32 id; + Clip clip; + } stream_clip; + + message { + uint32 id; + } stream_destroy; + + Empty stream_destroy_all; + + message { + DisplayBase base; + struct Fill { + Brush brush @outvar(brush); + uint16 rop_descriptor; + QMask mask @outvar(mask); + } data; + } draw_fill = 302; + + message { + DisplayBase base; + struct Opaque { + Image *src_bitmap; + Rect src_area; + Brush brush; + ropd rop_descriptor; + image_scale_mode scale_mode; + QMask mask @outvar(mask); + } data; + } draw_opaque; + + message { + DisplayBase base; + struct Copy { + Image *src_bitmap; + Rect src_area; + ropd rop_descriptor; + image_scale_mode scale_mode; + QMask mask @outvar(mask); + } data; + } draw_copy; + + message { + DisplayBase base; + struct Blend { + Image *src_bitmap; + Rect src_area; + ropd rop_descriptor; + image_scale_mode scale_mode; + QMask mask @outvar(mask); + } @ctype(SpiceCopy) data; + } draw_blend; + + message { + DisplayBase base; + struct Blackness { + QMask mask @outvar(mask); + } data; + } draw_blackness; + + message { + DisplayBase base; + struct Whiteness { + QMask mask @outvar(mask); + } data; + } draw_whiteness; + + message { + DisplayBase base; + struct Invers { + QMask mask @outvar(mask); + } data; + } draw_invers; + + message { + DisplayBase base; + struct Rop3 { + Image *src_bitmap; + Rect src_area; + Brush brush; + uint8 rop3; + image_scale_mode scale_mode; + QMask mask @outvar(mask); + } data; + } draw_rop3; + + message { + DisplayBase base; + struct Stroke { + Path *path; + LineAttr attr; + Brush brush; + uint16 fore_mode; + uint16 back_mode; + } data; + } draw_stroke; + + message { + DisplayBase base; + struct Text { + String *str; + Rect back_area; + Brush fore_brush @outvar(fore_brush); + Brush back_brush @outvar(back_brush); + uint16 fore_mode; + uint16 back_mode; + } data; + } draw_text; + + message { + DisplayBase base; + struct Transparent { + Image *src_bitmap; + Rect src_area; + uint32 src_color; + uint32 true_color; + } data; + } draw_transparent; + + message { + DisplayBase base; + struct AlphaBlend { + int8 alpha_flags @virtual(0); + uint8 alpha; + Image *src_bitmap; + Rect src_area; + } data; + } draw_alpha_blend; + + client: + message { + uint8 pixmap_cache_id; + int64 pixmap_cache_size; //in pixels + uint8 glz_dictionary_id; + int32 glz_dictionary_window_size; // in pixels + } init = 101; +}; + +flags32 keyboard_modifier_flags { + SCROLL_LOCK, + NUM_LOCK, + CAPS_LOCK +}; + +enum32 mouse_button { + INVALID, + LEFT, + MIDDLE, + RIGHT, + UP, + DOWN, +}; + +flags32 mouse_button_mask { + LEFT, + MIDDLE, + RIGHT +}; + +channel InputsChannel : BaseChannel { + client: + message { + uint32 code; + } @ctype(SpiceMsgcKeyDown) key_down = 101; + + message { + uint32 code; + } @ctype(SpiceMsgcKeyUp) key_up; + + message { + keyboard_modifier_flags modifiers; + } @ctype(SpiceMsgcKeyModifiers) key_modifiers; + + message { + int32 dx; + int32 dy; + mouse_button_mask buttons_state; + } @ctype(SpiceMsgcMouseMotion) mouse_motion = 111; + + message { + uint32 x; + uint32 y; + mouse_button_mask buttons_state; + uint8 display_id; + } @ctype(SpiceMsgcMousePosition) mouse_position; + + message { + mouse_button button; + mouse_button_mask buttons_state; + } @ctype(SpiceMsgcMousePress) mouse_press; + + message { + mouse_button button; + mouse_button_mask buttons_state; + } @ctype(SpiceMsgcMouseRelease) mouse_release; + + server: + message { + keyboard_modifier_flags keyboard_modifiers; + } init = 101; + + message { + keyboard_modifier_flags modifiers; + } key_modifiers; + + Empty mouse_motion_ack = 111; +}; + +enum16 cursor_type { + ALPHA, + MONO, + COLOR4, + COLOR8, + COLOR16, + COLOR24, + COLOR32, +}; + +flags32 cursor_flags { + NONE, /* Means no cursor */ + CACHE_ME, + FROM_CACHE, +}; + +struct CursorHeader { + uint64 unique; + cursor_type type; + uint16 width; + uint16 height; + uint16 hot_spot_x; + uint16 hot_spot_y; +}; + +struct Cursor { + cursor_flags flags; + CursorHeader header; + uint8 data[] @as_ptr(data_size); +}; + +channel CursorChannel : BaseChannel { + server: + message { + Point16 position; + uint16 trail_length; + uint16 trail_frequency; + uint8 visible; + Cursor cursor; + } init = 101; + + Empty reset; + + message { + Point16 position; + uint8 visible; + Cursor cursor; + } set; + + message { + Point16 position; + } move; + + Empty hide; + + message { + uint16 length; + uint16 frequency; + } trail; + + message { + uint64 id; + } @ctype(SpiceMsgDisplayInvalOne) inval_one; + + Empty inval_all; +}; + +enum32 audio_data_mode { + INVALID, + RAW, + CELT_0_5_1, +}; + +enum32 audio_fmt { + INVALID, + S16, +}; + +channel PlaybackChannel : BaseChannel { + server: + message { + uint32 time; + uint8 data[] @as_ptr(data_size); + } @ctype(SpiceMsgPlaybackPacket) data = 101; + + message { + uint32 time; + audio_data_mode mode; + uint8 data[] @as_ptr(data_size); + } mode; + + message { + uint32 channels; + audio_fmt format; + uint32 frequency; + uint32 time; + } start; + + Empty stop; +}; + +channel RecordChannel : BaseChannel { + server: + message { + uint32 channels; + audio_fmt format; + uint32 frequency; + } start = 101; + + Empty stop; + client: + message { + uint32 time; + uint8 data[] @nomarshal @as_ptr(data_size); + } @ctype(SpiceMsgcRecordPacket) data = 101; + + message { + uint32 time; + audio_data_mode mode; + uint8 data[] @as_ptr(data_size); + } mode; + + message { + uint32 time; + } start_mark; +}; + +protocol Spice { + MainChannel main = 1; + DisplayChannel display; + InputsChannel inputs; + CursorChannel cursor; + PlaybackChannel playback; + RecordChannel record; +}; diff --git a/tizen/distrib/remote/common/spice-common/spice_codegen.py b/tizen/distrib/remote/common/spice-common/spice_codegen.py new file mode 100644 index 0000000..e9e64c0 --- /dev/null +++ b/tizen/distrib/remote/common/spice-common/spice_codegen.py @@ -0,0 +1,219 @@ +#!/usr/bin/env python + +import os +import sys +from optparse import OptionParser +import traceback +from python_modules import spice_parser +from python_modules import ptypes +from python_modules import codegen +from python_modules import demarshal +from python_modules import marshal + +def write_channel_enums(writer, channel, client): + messages = filter(lambda m : m.channel == channel, \ + channel.client_messages if client else channel.server_messages) + if len(messages) == 0: + return + writer.begin_block("enum") + i = 0 + if client: + prefix = [ "MSGC" ] + else: + prefix = [ "MSG" ] + if channel.member_name: + prefix.append(channel.member_name.upper()) + prefix.append(None) # To be replaced with name + for m in messages: + prefix[-1] = m.name.upper() + enum = codegen.prefix_underscore_upper(*prefix) + if m.value == i: + writer.writeln("%s," % enum) + i = i + 1 + else: + writer.writeln("%s = %s," % (enum, m.value)) + i = m.value + 1 + if channel.member_name: + prefix[-1] = prefix[-2] + prefix[-2] = "END" + writer.newline() + writer.writeln("%s" % (codegen.prefix_underscore_upper(*prefix))) + writer.end_block(semicolon=True) + writer.newline() + +def write_enums(writer): + writer.writeln("#ifndef _H_SPICE_ENUMS") + writer.writeln("#define _H_SPICE_ENUMS") + writer.newline() + writer.comment("Generated from %s, don't edit" % writer.options["source"]).newline() + writer.newline() + + # Define enums + for t in ptypes.get_named_types(): + if isinstance(t, ptypes.EnumBaseType): + t.c_define(writer) + + i = 0 + writer.begin_block("enum") + for c in proto.channels: + enum = codegen.prefix_underscore_upper("CHANNEL", c.name.upper()) + if c.value == i: + writer.writeln("%s," % enum) + i = i + 1 + else: + writer.writeln("%s = %s," % (enum, c.value)) + i = c.value + 1 + writer.newline() + writer.writeln("SPICE_END_CHANNEL") + writer.end_block(semicolon=True) + writer.newline() + + for c in ptypes.get_named_types(): + if not isinstance(c, ptypes.ChannelType): + continue + write_channel_enums(writer, c, False) + write_channel_enums(writer, c, True) + + writer.writeln("#endif /* _H_SPICE_ENUMS */") + +parser = OptionParser(usage="usage: %prog [options] <protocol_file> <destination file>") +parser.add_option("-e", "--generate-enums", + action="store_true", dest="generate_enums", default=False, + help="Generate enums") +parser.add_option("-d", "--generate-demarshallers", + action="store_true", dest="generate_demarshallers", default=False, + help="Generate demarshallers") +parser.add_option("-m", "--generate-marshallers", + action="store_true", dest="generate_marshallers", default=False, + help="Generate message marshallers") +parser.add_option("-P", "--private-marshallers", + action="store_true", dest="private_marshallers", default=False, + help="Generate private message marshallers") +parser.add_option("-M", "--generate-struct-marshaller", + action="append", dest="struct_marshallers", + help="Generate struct marshallers") +parser.add_option("-a", "--assert-on-error", + action="store_true", dest="assert_on_error", default=False, + help="Assert on error") +parser.add_option("-H", "--header", + action="store_true", dest="header", default=False, + help="Generate header") +parser.add_option("-p", "--print-error", + action="store_true", dest="print_error", default=False, + help="Print errors") +parser.add_option("-s", "--server", + action="store_true", dest="server", default=False, + help="Print errors") +parser.add_option("-c", "--client", + action="store_true", dest="client", default=False, + help="Print errors") +parser.add_option("-k", "--keep-identical-file", + action="store_true", dest="keep_identical_file", default=False, + help="Print errors") +parser.add_option("-i", "--include", + action="append", dest="includes", metavar="FILE", + help="Include FILE in generated code") +parser.add_option("--prefix", dest="prefix", + help="set public symbol prefix", default="") +parser.add_option("--ptrsize", dest="ptrsize", + help="set default pointer size", default="4") + +(options, args) = parser.parse_args() + +if len(args) == 0: + parser.error("No protocol file specified") + +if len(args) == 1: + parser.error("No destination file specified") + +ptypes.default_pointer_size = int(options.ptrsize) + +proto_file = args[0] +dest_file = args[1] +proto = spice_parser.parse(proto_file) + +if proto == None: + exit(1) + +codegen.set_prefix(proto.name) +writer = codegen.CodeWriter() +writer.header = codegen.CodeWriter() +writer.set_option("source", os.path.basename(proto_file)) + +writer.public_prefix = options.prefix + +writer.writeln("/* this is a file autogenerated by spice_codegen.py */") +writer.header.writeln("/* this is a file autogenerated by spice_codegen.py */") +if not options.header and not options.generate_enums: + writer.writeln("#ifdef HAVE_CONFIG_H") + writer.writeln("#include <config.h>") + writer.writeln("#endif") + +if options.assert_on_error: + writer.set_option("assert_on_error") + +if options.print_error: + writer.set_option("print_error") + +if options.includes: + for i in options.includes: + writer.header.writeln('#include "%s"' % i) + writer.writeln('#include "%s"' % i) + +if options.generate_enums: + write_enums(writer) + +if options.generate_demarshallers: + if not options.server and not options.client: + print >> sys.stderr, "Must specify client and/or server" + sys.exit(1) + demarshal.write_includes(writer) + + if options.server: + demarshal.write_protocol_parser(writer, proto, False) + if options.client: + demarshal.write_protocol_parser(writer, proto, True) + +if options.generate_marshallers or (options.struct_marshallers and len(options.struct_marshallers) > 0): + marshal.write_includes(writer) + +if options.generate_marshallers: + if not options.server and not options.client: + print >> sys.stderr, "Must specify client and/or server" + sys.exit(1) + if options.server: + marshal.write_protocol_marshaller(writer, proto, False, options.private_marshallers) + if options.client: + marshal.write_protocol_marshaller(writer, proto, True, options.private_marshallers) + +if options.struct_marshallers: + for structname in options.struct_marshallers: + t = ptypes.lookup_type(structname) + marshal.write_marshal_ptr_function(writer, t, False) + +if options.generate_marshallers or (options.struct_marshallers and len(options.struct_marshallers) > 0): + marshal.write_trailer(writer) + +if options.header: + content = writer.header.getvalue() +else: + content = writer.getvalue() +if options.keep_identical_file: + try: + f = open(dest_file, 'rb') + old_content = f.read() + f.close() + + if content == old_content: + print "No changes to %s" % dest_file + sys.exit(0) + + except IOError: + pass + +f = open(dest_file, 'wb') +f.write(content) +f.close() + +print "Wrote %s" % dest_file +sys.exit(0) diff --git a/tizen/distrib/remote/output/bin/remote-viewer.sh b/tizen/distrib/remote/output/bin/remote-viewer.sh new file mode 100755 index 0000000..5200587 --- /dev/null +++ b/tizen/distrib/remote/output/bin/remote-viewer.sh @@ -0,0 +1,3 @@ +#!/bin/sh +export LD_LIBRARY_PATH=${PWD}/../lib:${LD_LIBRARY_PATH} +${PWD}/remote-viewer diff --git a/tizen/distrib/remote/server/spice-0.12.2/.version b/tizen/distrib/remote/server/spice-0.12.2/.version new file mode 100644 index 0000000..26acbf0 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/.version @@ -0,0 +1 @@ +0.12.2 diff --git a/tizen/distrib/remote/server/spice-0.12.2/AUTHORS b/tizen/distrib/remote/server/spice-0.12.2/AUTHORS new file mode 100644 index 0000000..230387e --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/AUTHORS @@ -0,0 +1,39 @@ + Spice Authors + ============= + +The current active Spice maintainers are + + Alon Levy <alevy@redhat.com> + Christophe Fergeau <cfergeau@redhat.com> + Gerd Hoffmann <kraxel@redhat.com> + Marc-André Lureau <marcandre.lureau@redhat.com> + Uri Lublin <uril@redhat.com> + Yonit Halperin <yhalperi@redhat.com> + +Previous Spice maintainers were + + Izik Eidus <ieidus@redhat.com> + Yaniv Kamay <ykamay@redhat.com> (Original project author) + +Patches also contributed by + + Alexander Larsson <alexl@redhat.com> + Aric Stewart <aric@codeweavers.com> + Arnon Gilboa <agilboa@redhat.com> + Daniel P. Berrange <berrange@redhat.com> + Dan Kenigsberg <danken@redhat.com> + Dan McGee <dpmcgee@gmail.com> + Erlon Cruz <erlon.cruz@br.flextronics.com> + Fabiano Fidêncio <fabiano@fidencio.org> + Gal Hammer <ghammer@redhat.com> + Hans de Goede <hdegoede@redhat.com> + Jürg Billeter <j@bitron.ch> + Liang Guo <bluestonechina@gmail.com> + Michael Tokarev <mjt@tls.msk.ru> + Nahum Shalman <nshalman@elys.com> + Søren Sandmann Pedersen <ssp@redhat.com> + Thomas Tyminski <thomast@cs.tu-berlin.de> + Tiziano Mueller <dev-zero@gentoo.org> + Zeeshan Ali (Khattak) <zeeshanak@gnome.org> + + ....send patches to get your name here... diff --git a/tizen/distrib/remote/server/spice-0.12.2/COPYING b/tizen/distrib/remote/server/spice-0.12.2/COPYING new file mode 100644 index 0000000..4362b49 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/COPYING @@ -0,0 +1,502 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +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 this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +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 +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser 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 Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "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 +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY 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 +LIBRARY (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 LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey 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 library's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + <signature of Ty Coon>, 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! diff --git a/tizen/distrib/remote/server/spice-0.12.2/ChangeLog b/tizen/distrib/remote/server/spice-0.12.2/ChangeLog new file mode 100644 index 0000000..54d2719 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/ChangeLog @@ -0,0 +1,8539 @@ +2012-12-20 Hans de Goede <hdegoede@redhat.com> + + Release 0.12.2 + +2012-12-20 Yonit Halperin <yhalperi@redhat.com> + + red_parse_qxl: fix throwing away drawables that have masks + Non rgb bitmaps are allowed to not have a palette in case they + are masks (which are 1BIT bitmaps). + + Related: rhbz#864982 + +2012-12-19 Hans de Goede <hdegoede@redhat.com> + + spice-client: Add --hotkeys cmdline option + To allow using the existing mechanism to override the default hotkeys from + the cmdline. + +2012-12-12 Christophe Fergeau <cfergeau@redhat.com> + + reds: Use g_strlcpy instead of strncpy + reds.c is using strncpy with a length one byte less than the + destination buffer size, and is relying on the fact that the + destination buffers are static global variables. + Now that we depend on glib, we can use g_strlcpy instead, which + avoids relying on such a subtle trick to get a nul-terminated + string. + + build: Use glib2 + Now that QEMU depends on glib, it won't really hurt if we depend + on it as well, and we won't have to reinvent our own helpers. + + Don't build client by default + It has been superseded by virt-viewer/remote-viewer + + Fail reds_init_socket when getaddrinfo fails + We currently output a warning when getaddrinfo fails, but then + we go on trying to use the information it couldn't read. Make + sure we bail out of reds_init_socket if getaddrinfo fails. + + Make sure strncpy'ed string are 0-terminated + spice_server_set_ticket and spice_server_set_addr get (library) + user-provided strings as arguments, and copy them to fixed-size + buffers using strncpy. However, if these strings are too long, + the copied string will not be 0-terminated, which will cause issues + later. This commit copies one byte less than the size of the + destination buffer. In both cases, this buffer is a static global + variable, so its memory will be set to 0. + +2012-12-05 Yonit Halperin <yhalperi@redhat.com> + + red_worker: revert 8855438a + red_proccess_commands calls were added after calling + guest_set_client_capabilities in order to cleanup the command ring from + old commands that the client might not be able to handle. + However, calling red_process_commands at this stage does send messages + to the client. + In addition, since setting the client capabilities at the guest is not + synchronized, emptying the command ring is not enough in order to make + sure the following commands will be supported by the client. + The call to red_proccess_commands before initializing the display + streams (the call to red_display_start_streams), caused inconsistencies + related to video streaming upon reconnecting (rhbz#883564). + + I'm reverting this patch till another solution for the capabilities + mismatch is introduced. + + Resolves: rhbz#883564 + +2012-12-05 Marc-André Lureau <marcandre.lureau@redhat.com> + + server: add "port" channel support + A Spice port channel carry arbitrary data between the Spice client and + the Spice server. It may be used to provide additional services on top + of a Spice connection. For example, a channel can be associated with + the qemu monitor for the client to interact with it, just like any + qemu chardev. Or it may be used with various protocols, such as the + Spice Controller. + + A port kind is identified simply by its fqdn, such as org.qemu.monitor, + org.spice.spicy.test or org.ovirt.controller... + + The channel is based on Spicevmc which simply tunnels data between + client and server, with a few additional messages. + + See the description of the channel protocol in spice-common history. + + server: bump SPICE_SERVER_VERSION to 0.12.2 + + update spice-common + +2012-11-30 Yonit Halperin <yhalperi@redhat.com> + + agent: fix mishandling of agent data received from the client after agent disconnection + The server can receive from the client agent data even when the agent + is disconnected. This can happen if the client sends the agent data + before it receives the AGENT_DISCONNECTED msg. We should receive and handle such msgs, instead + of disconnecting the client. + This bug can also lead to a server crash if the agent gets reconnected + fast enough, and it receives an agent data msg from the client before MSGC_AGENT_START. + + upstream bz#55726 + rhbz#881980 + +2012-11-29 Yonit Halperin <yhalperi@redhat.com> + + red_worker: no need to align the stride of internal images + Internal images are just read from the surface, compressed, and sent to the client. + Then, they are destroyed. I can't find any reason for aligning their memory. + +2012-11-28 Yonit Halperin <yhalperi@redhat.com> + + red_worker: fix sending internal images with stride > bpp*width to lz compression + rhbz#876685 + + The current lz implementation does not support such bitmaps. + The following patch will actually prevent allocating stride > bpp*width + for internal images. + +2012-11-26 Yonit Halperin <yhalperi@redhat.com> + + red_worker.c: fix memory corruption when data from client is bigger than 1024 bytes + Previously, there was no check for the size of the message received from + the client, and all messages were read into a buffer of size 1024. + However, migration data can be bigger than 1024. In such cases, memory + corruption occurred. + + red_worker.c: fix not sending all pending messages when the device is stopped + red_wait_outgoing_item only waits till the currently outgoing msg is + completely sent. + red_wait_outgoing_items does the same for multi-clients. handle_dev_stop erroneously called + red_wait_outgoing_items, instead of waiting till all the items in the + pipes are sent. + This waiting is necessary because after drawables are sent to the client, we release them from the + device. The device might have been stopped due to moving to the non-live + phase of migration. Accessing the device memory during this phase can lead + to inconsistencies. + + Also, MSG_MIGRATE should be the last message sent to the client, before + MSG_MIGRATE_DATA. Due to this bug, msgs were marshalled and sent after + handle_dev_stop and after handle_dev_display_migrate which sometimes led + to the release of surfaces, and inserting MSG_DISPLAY_DESTROY_SURFACE + after MSG_MIGRATE. + + This patch also removes the calls to red_wait_outgoing_items, from + dev_flush_surfaces. They were unnecessary. + + smartcard.c: avoid marshalling migration data with reference to a memory that might be released before send has completed + The current solution just copy the buffer. Currently data that is read + from the guest is always copied before sending it to the client. When we + will have ref count for these buffers, we can also use it for marshalling + the migration data. + + red_worker.c: fix marshalling of migration data + fix calling spice_marhsaller_add_ref with memory on stack + + reds.c: fix calls to spice_marshaller_add_ref with ptr to memory that might be released before sending + + char_device.c: when the state is destroyed, also free the buffer that is being written to the device + + char_device.c: add ref count for write-to-device buffers + The ref count is used in order to keep buffers that were in the write + queue and now are part of migration data, in case the char_device state + is destroyed before we complete sending the migration data. + +2012-11-21 Yonit Halperin <yhalperi@redhat.com> + + char_device.c: fix call to spice_marshaller_add_ref with memory on stack + rhbz#862352 + +2012-11-12 Yonit Halperin <yhalperi@redhat.com> + + red_worker.c: fix calling set_client_capabilities when it is unsupported by qemu + The erroneous call was in handle_dev_start. + This patch also fixes not calling set_client_capabilities when the + qxl major_version is > 3. + + display seamless migration: no need to trace the generation of the primary surface + We no longer process destroy_primary or destroy_surfaces while waiting + for migration data. + + display seamless migration: don't process both cmd ring and dispatcher queue till migration data is received + fix: rhbz#866929 + + At migration destination side, we need to restore the client's surfaces + state, before sending surfaces related messages. + Before this patch, we stopped the processing of only the cmd ring, till migration data + arrived. + However, some QXL_IOs require reading and rendering the cmd ring (e.g., + update_area). Moreover, when the device is reset, after destroying all + surfaces, we assert (in qemu) if the cmd ring is not empty (see + rhbz#866929). + This fix makes the red_worker thread wait till the migration data arrives + (or till a timeout), and not process any input from the device after the + vm is started. + +2012-11-04 Alon Levy <alevy@redhat.com> + + Revert "server: add websockets support via libwebsockets" + This reverts commit 63bb37276e028ab1b1c156c9e7907bf22b6d5952. + + update spice-common (was broken) + +2012-11-01 Alon Levy <alevy@redhat.com> + + server/red_worker: don't call set_client_capabilities if vm is stopped + We try to inject an interrupt to the vm in this case, which we cannot do + if it is stopped. Instead log this and update when vm restarts. + + RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=870972 + (that bz is on qemu, it will be cloned or just changed, not + sure yet) + +2012-10-25 Alon Levy <alevy@redhat.com> + + server/red_worker: wip: VALIDATE_SURFACE macros, remove asserts (but too late - should be done earlier) + + release 0.12.1 + + server: add websockets support via libwebsockets + New API: spice_server_set_ws_ports + + This adds an optional dependency on libwebsockets. You need to get my + patched 0.0.3 version here: + git://people.freedesktop.org/~alon/libwebsockets + + There is no qemu patches yet, to test change in reds.c the default value + of spice_ws_port to 5959 (for the default of spice-html5). + + For testing there is an online client at + http://spice-space.org/spice-html5/spice.html + + Known issues: + 1. The tester (server/tests/test_display_no_ssl) gets into dropping all + data after a few seconds, I think it's an issue with the implemented + watches, but haven't figured it out. + + 2. libwebsocket's read interface is inverted to what our code expects, + i.e. there is no libwebsocket_read, so there is an additional copy + involved (see RedsWebSocket). This can be fixed. + + 3. Listening on a separate port. Since the headers are different, we + could listen on the same port (first three bytes RED/GET). I don't know + if we want to? + + Todos: + 1. SSL not implemented yet. Needs some thought as to how. + + 2. Serve spice-html5 when accessed as a http server. Nice to have. + + server/red_worker: stride > 0 is tested, remove abort + Tested using the wip driver and xf86-video-modesetting. + + server/tests/test_display_base: fix segfault in test + + server/reds.c: split off reds-private.h + + configure.ac: add libcacard to SPICE_REQUIRES if built with smartcard support + + update spice-common + +2012-10-24 Uri Lublin <uril@redhat.com> + + server: red_dispatcher: check major/minor of qxl for client_monitors_config + This solves a problem with new spice-server and old qemu-kvm, where spice thinks + qif->client_monitors_config exists, while it does not exist in qemu-kvm. + + Also "major > required_major" was added to the condition. + Also only the specific RedDispatcher is checked (and not all dispatchers). + +2012-10-19 Alon Levy <alevy@redhat.com> + + add git-version-gen and gitlog-to-changelog + +2012-10-18 Hans de Goede <hdegoede@redhat.com> + + inputs_channel: Fix wrong handling of key up/down on big endian + The client will send 0x000000## codes for regular keys, and 0x0000##e0 codes + for extended keys. The current code which simply walks the uint32_t code in + memory order relies on the memory order being little endian, which will + clearly fail on big endian machines, this fixes this. + +2012-10-11 Yonit Halperin <yhalperi@redhat.com> + + snd channel: fix accessing freed memory + snd_channel_put freed "channel", and then channel->worker was accessed. + It caused segmentation faults during connections and disconnections of the client. + +2012-10-01 Christophe Fergeau <cfergeau@redhat.com> + + Fix PlaybackChannel forward declaration + This caused a jenkins build failure: + + snd_worker.c:148: error: redefinition of typedef 'PlaybackChannel' + snd_worker.c:126: note: previous declaration of 'PlaybackChannel' was here + +2012-10-01 Andrew Eikum <aeikum@codeweavers.com> + + server: Access the correct SndChannel for a given AudioFrame + The client of _get_buffer() holds a ref to the SndChannel, and we + should access that SndChannel when _put_samples() is called, not the one + that happens to currently be attached to the Interface. + + server: Don't release SndChannel twice from worker reference + When we release the SndChannel reference during + snd_disconnect_channel(), we need to set the pointer to NULL so it + doesn't get released again on client reconnect during + snd_set_playback_peer(). This can happen when a reference is held from + _playback_get_buffer(). + +2012-09-20 Christophe Fergeau <cfergeau@redhat.com> + + reds: Report an error when reds_char_device_add_state fails + This used to abort with spice_error. The caller currently does + not check spice_server_char_device_add_interface return value, but + it's still cleaner to report an error in this case. + + reds: Check errors returned from SSL_CTX_set_cipher_list + + reds: Report errors from load_dh_params + + reds: Check reds_init_ssl errors + Now that this function can fail, propagate any error up to the + caller. This allows qemu to fail when an SSL initialization error + occurred. + + reds: report SSL initialization errors + Errors occurring in reds_init_ssl used to be fatal through the use + of spice_error, but this was downgraded to non-fatal spice_warning + calls recently. This means we no longer error out when invalid SSL + (certificates, ...) parameters are passed by the user. + This commit changes reds_init_ssl return value from void to int so + that errors can be reported to the caller. + + reds_init_net: report errors on watch setup failures + We used to be aborting in such situations, but this was changed + during the big spice_error/printerr cleanup. We are currently + outputting a warning but not reporting the error with the caller + when reds_init_net fails to register listening watches with the + mainloop. As it's unlikely that things will work as expected in + such cases, better to error out of the function instead of pretending + everything is all right. + + reds: Abort on BN-new failures + BN_new returns NULL on allocation failures. Given that we abort + on malloc allocation failures, we should also abort here. The + current code will segfault when BN_new fails as it immediatly tries + to use the NULL pointer. + +2012-09-14 Alon Levy <alevy@redhat.com> + + Release 0.12.0 + +2012-09-13 Alon Levy <alevy@redhat.com> + + server/spice-server.syms: add missing global labels + Although global is the default, this makes the file more consistent. + + server/Makefile.am: fix for make distcheck + Doesn't make sense to distribute test_spice_version.sh, so just + ensure the build passes if it doesn't exist. + + spice-server 0.11.5 + Added api: + QXL interface (3.2) + client_monitors_config + + server/tests: agent mock, client_monitors_config + + server: Filter VD_AGENT_MONITORS_CONFIG + If the guest supports client monitors config we pass it the + VDAgentMonitorsConfig message via the + QXLInterface::client_monitors_config api instead of via the vdagent. + + server/reds: reuse already defined local + + server/red_dispatcher: client_monitors_config support + Adds two functions: + - red_dispatcher_use_client_monitors_config: + check that QXLInterface supports client_monitors_config and that it's + functional. + - red_dispatcher_client_monitors_config: + send the client monitors configuration to the guest. + + server: add QXLInterface::client_monitors_config + Used to implement guest monitor configuration change similarly to real + hardware in conjunction with the new qemu interrupt + QXL_INTERRUPT_CLIENT_MONITORS_CONFIG. client_monitors_config is also + used to probe the support by the interface. If it is not supported we + send the message to the guest agent. + This makes a linux qxl driver similar to existing kms drivers. + + The logic is: + + For every received VDAgentMonitorsConfig: + if client_monitors_config(NULL): + write client configuration to pci rom BAR. + send interrupt to guest + guest kernel reads configuration from rom BAR. + guest kernel issues event to user space + user space reads (libdrm) and reconfigures (libXRandr) + else: (current implementation) + write message to guest agent + guest agent issues reconfiguration via XRandr / windows Escape ioctl to kernel + + update spice-common module + For qxl client_monitors_config support. + +2012-09-12 Alon Levy <alevy@redhat.com> + + server/red_dispatcher: change a printerr to debug + +2012-09-11 Søren Sandmann Pedersen <ssp@redhat.com> + + Bump SPICE_INTERFACE_QXL_VERSION_MINOR + Then check that we have the right version before accessing the + set_client_capabilities() function. + +2012-09-11 Peter Robinson <pbrobinson@gmail.com> + + Enable build on armv6+ + The following patch enables it to build on ARM platforms that support + atomics. Tested on an armv7hl on an ARMv7 device running Fedora 18. Using + firefox connecting to a RHEV-M instance I could launch consoles in + spice-xpi and login so basic support works! + + Resolves: rhbz#613529 + +2012-09-10 Christophe Fergeau <cfergeau@redhat.com> + + Update spice-common to get A8 surface definitions + Latest spice needs these definitions from spice-protocol + +2012-09-07 Søren Sandmann Pedersen <ssp@redhat.com> + + Bump spice.h version number to 0.11.4 + No new symbols are added, but there is an addition to QXLInterface: + + void (*set_client_capabilities)(QXLInstance *qin, + uint8_t client_present, + uint8_t caps[58]); + + Set a8 capability in the QXL device if supported by the client + + Process outstanding commands in the ring after changing capability bits + When a new client connects, there may be commands in the ring that it + can't understand, so we need to process these before forwarding new + commands to the client. By doing this after changing the capability + bits we ensure that the new client will never see a command that it + doesn't understand (under the assumption that the guest will read and + obey the capability bits). + + Acked-by: Alon Levy <alonl@redhat.com> + +2012-09-06 Søren Sandmann Pedersen <ssp@redhat.com> + + Add new set_client_capabilities() interface to QXLInstance + A new interface + + set_client_capabilities (QXLInstance *qin, + uint8_t client_present, + uint8_t caps[58]); + + is added to QXLInstance, and spice server is changed to call it + whenever a client connects or disconnects. The QXL device in response + is expected to update the client capability bits in the ROM of the + device and raise the QXL_INTERRUPT_CLIENT interrupt. + + There is a potential race condition in the case where a client + disconnects and a new client with fewer capabilities connects. There + may be commands in the ring that the new client can't handle. This + case is handled by first changing the capability bits, then processing + all commands in the ring, and then start forwarding commands to the + new client. As long as the guest obeys the capability bits, the new + client will never see anything it doesn't understand. + + client: Advertise A8_SURFACE capability + +2012-09-05 Alon Levy <alevy@redhat.com> + + server/red_parse_qxl: fix bitmap_consistent again + +2012-09-05 Jeremy White <jwhite@codeweavers.com> + + Implement spice_server_set_exit_on_disconnect to enable an option whereby the spice server shuts down on client disconnect. + +2012-09-05 Alon Levy <alevy@redhat.com> + + server/red_parse_qxl: fix wrong bitmap_consistent + The bit calculation was wrong for all the paletted types by a factor of + between 8 and 1 (SPICE_BITMAP_FMT_{1,4,8}BIT_PLT_{LE,BE}) + +2012-09-03 Alon Levy <alevy@redhat.com> + + server/red_parse_qxl: add bitmap consistency check + Just checks stride vs width times bpp. + + This fixes a potential abort on guest generated bad images in + glz_encoder. + + Other files touched to move some consts to red_common, they are + static so no problem to be defined in both red_worker.c and + red_parse_qxl.c . + + server/tests/test_display_base: fix update_area abort + Don't do zero area update_areas, server now aborts on those. This tester + is not supposed to test those aborts. + + server: replace syntax-check reported tabs with spaces + + server: add dist-hook to prevent spice version configure/spice.h difference + +2012-09-02 Alon Levy <alevy@redhat.com> + + 0.11.3 release + No new api entries. + + add server/tests/test_vdagent + + server/tests/test_two_servers + + server/tests: introduce Test struct + +2012-08-30 Alon Levy <alevy@redhat.com> + + server/red_worker: seamless: fix invalid memory reference + replace add_ref with add for stack allocated SpiceMigrateDataDisplay. + + This fixes wrong MIGRATE_DATA message in display channel (symptom is + glz_encoder_max being way too big, and malloc failure at target) seen on + F18 with gcc-4.7.1-5.fc18.x86_64 and glibc-2.16-8.fc18.x86_64 (didn't + appear on RHEL 6). + + server: freezed->froze, missing whitespace after declarations + + server: s/max_encdoers/max_encoders/ + +2012-08-30 Yonit Halperin <yhalperi@redhat.com> + + server/inputs_channel.c: whitespace fix + +2012-08-30 Alon Levy <alevy@redhat.com> + + server/red_tunnel_worker: remove unneeded expect_migrate_mark + +2012-08-27 Alon Levy <alevy@redhat.com> + + server/red_tunnel_worker.c: fix build + Only passes compile, not tested. + +2012-08-27 Marc-André Lureau <marcandre.lureau@redhat.com> + + inputs: handle SPICE_MSGC_INPUTS_KEY_SCANCODE + Handle SPICE_MSGC_INPUTS_KEY_SCANCODE message, allowing arbitrary + keyboard scancode sequence. + +2012-08-27 Alon Levy <alevy@redhat.com> + + support automake >= 1.12 + Requires a single line (sans comments) change to configure.ac in + spice-common too, to define the new AM_PROG_AR. + + server/red_worker: handle_dev_update_area: fail if invalid area + +2012-08-27 Yann E. MORIN <yann.morin.1998@free.fr> + + client: fix missing stdarg.h include + When the C library is uClibc, stdarg.h is required to get the + definition for va_list et al. + +2012-08-27 Yonit Halperin <yhalperi@redhat.com> + + enable seamless migration and set migration protocol version + + inputs channel migration: don't send any msg after MSG_MIGRATE + Pending motion acks, and keyboard modifiers messages will be sent + by the destination after receiving the migration data. + + inputs_channel: send and handle migration data + + migration_protocol: add inputs channel migration data + Storing the motion count in uint16_t and not in uint32_t since + the exact count is not important, just its division in + SPICE_INPUT_MOTION_ACK_BUNCH (see the next 2 patches). + + main_channel: don't expect init msg in a seamless migration destination + If the server is a destination of seamless migration, send msgs to the client, + even though an init msg has not been sent to the client. + + red_channel: set send_data.last_sent_serial in red_channel_client_set_message_serial + red_channel_client_set_message_serial is called for setting + the serial of the display channel messages after migration (on the + destination side). The serial is retrieved from the migration data. + + red_channel: remove unused migrate flag from RedChannel + The relevant flags reside in RedChannelClient and RedClient + + snd_worker: handling migration + The playback and record channel send SPICE_MSG_MIGRATE to the client. + Both playback and record channel does not have a state to restore: + while in the legacy migration implementation the record channel + used to restore the mode and start time, it looks unnecessary since + the client receives from the src MSG_RECORD_STOP before the migration + completion notification (when the vm is stopped). Afterwards, when the vm + starts on the dest side, the client receives MSG_RECORD_START. + + snd_channel: fix double release + Due to the fix in the previous patch, snd_disconnect_channel can be + called both when there is write/read error in the channel, or from + red_client_destroy (which calls client_cbs.disconnect). + Multiple calls to snd_disconnect_channel resulted in calling + channel->cleanup(channel) more than once (double release). + + red_channel (dummy): fix not adding dummy RedChannelClient to the client + snd channel wasn't added to be part of the client's channels list. + As a result, when the client was destroyed, or migrated, snd channel + client wasn't destroy, or its migration callback wasn't called. + + However, due to adding dummy channels to the client, we need special + handling for calls to disconnecting dummy channel clients. + + TODO: we need to refactor snd_worker to use red_channel + + display migration: restore destination state + Restoring display channel from migration data. + Not notifying client about changes that are artifacts of loading the vm. + Remove legacy migration code. + + display migration: marshall migration data + + display & cursor migration: send SPICE_MSG_MIGRATE + + migration_protocol: add display channel migration data + + inputs channel: use the default red_channel behaviour for client_cbs.migrate + The default callback sends SPICE_MSG_MIGRATE to the client. + + inputs channel: fix using spice messages enums as pipe items type + A channel pipe item type must start from PIPE_ITEM_TYPE_CHANNEL_BASE. + SPICE_MSG_MIGRATE value eq. PIPE_ITEM_TYPE_SET_ACK. Setting a pipe item + type to SPICE_MSG_MIGRATE, leads to red_channel handling PIPE_ITEM_TYPE_SET_ACK. + + char_device: don't connect a migrated client if the state of the device might have changed since it was created + If reading/writing from the device have occured before migration data + has arrived, the migration data might no longer be relvant, and we + disconnect the client. + + main: restore state from migration data + Also removed old migration leftovers. + + main: send migration data + Also removed some unused definitions from reds that used to belong to + old agent and migration code. + + main: send MSG_MIGRATE upon vm migration completion + Before sending the above msg, if there is a pending partial msg that + has been read from the agent, we send it to the client. The alternative + was to keep the msg as part of the migration data, and then + to send it to the destination server via the client and to wait there + for the msg chunk completion, before sending it to the client. Of + course, the latter is less efficient. + + reds: s/HADER/HEADER + + migration_protocol: add migration data for the main channel (mainly for the agent) + + main_channel: fix using spice messages enums as pipe items type + A channel pipe item type must start from PIPE_ITEM_TYPE_CHANNEL_BASE. + SPICE_MSG_MIGRATE value eq. PIPE_ITEM_TYPE_SET_ACK. Setting a pipe item + type to SPICE_MSG_MIGRATE, leads to red_channel handling PIPE_ITEM_TYPE_SET_ACK. + + Also removed sending SPICE_MSG_MIGRATE. It will be handled in the next + patch. + + red_channel: introduce PIPE_ITEM_TYPE_EMPTY_MSG + The pipe item is used for sending messages that don't have body. + + smartcard: restore state after migration from migration data + + smartcard migration: send migration data + + migration_protocol: add migration data for smartcard + + smartcard: send MSG_MIGRATE upon vm migration completion + The above is the default behaviour for red_channel_client, if + client_cbs.migrate is not registered as part of red_channel_register_client_cbs + + smartcard: fix PIPE_ITEMs enum indexing + The enum should start from PIPE_ITEM_TYPE_CHANNEL_BASE, otherwise, + PIPE_ITEM_TYPE_ERROR is handled like PIPE_ITEM_TYPE_SET_ACK. + + smartcard: change the timing of attaching a client to SpiceCharDeviceState + Attach/detach a client to a SpiceCharDeviceState upon its + connection/disconnection, instead of upon reader_add/remove messages. + When the client is removed from a SpiceCharDeviceState, all the + messages from this client are removed from the device write queue. + This shouldn't happen when we only receive reader_remove and the + client is still connected. + + spicevmc migration: restore migration dest state from migration data + + spicevmc migration: send migration data + + spicevmc: send MSG_MIGRATE upon vm migration completion + The above is the default behaviour for red_channel_client, if + client_cbs.migrate is not registered as part of red_channel_register_client_cbs + + migration_protocol: add migration data for spicevmc + + char device migration: restore state at destination from migration data + + char device migration: don't read or write from/to the device while waiting for migraion data + + char device migration: marshall migration data + + char_device: variable token price for write buffers + When restoring migration data, we also restore data that is addressed to + the device, and that might have been originated from more than 1 + message. When the write buffer that is assoicated with this data is + released, we need to free all the relevant tokens. + + migration_protocol: add migration data for char devices + + replace some migration related spice_error calls with info/warning + + seamless migration: migration completion on the destination side + Tracking the channels that wait for migration data. If there + is a new migration process pending, when all the channels have + restored their state, we begin the new migration. + + red_channel: handle sending SPICE_MSG_MIGRATE + The relevant code is common to all channels. + + The patch also contains a fix to the return value for + handle_migrate_data callback: s/uint64_t/int + + red_channel: fix pipe item leak + + seamleass migration: manage post migration phase in the src side + In semi-seamless, SPICE_MSG_MAIN_MIGRATE_END is sent. + In seamless, each channel migrates separately. + + The src waits till all the clients are disconnected (or a timeout), and + then it notifies qemu that spice migration has completed. + + The patch doesn't include the per-channel logic for seamless migration + (sending MSG_MIGRATE, MIGRATE_DATA, etc.). + + seamless migration: pre migration phase on the destination side + - handle SPICE_MSGC_MAIN_MIGRATE_DST_DO_SEAMLESS + - reply with SPICE_MSG_MAIN_MIGRATE_DST_SEAMLESS_ACK/NACK + - prepare the channels for migration according to the migration + type (semi/seamless) + + see spice-protocol for more details: + commit 3838ad140a046c4ddf42fef58c9727ecfdc09f9f + + seamless migration: pre migration phase on the src side + sending SPICE_MSG_MAIN_MIGRATE_BEGIN_SEAMLESS and handling + SPICE_MSGC_MAIN_MIGRATE_CONNECTED_SEAMLESS + + The src side signals the client to establish a connection + to the destination. + In seamless migration, the client is also used to perform + a sort of handshake with the destination, for verifying + if seamless migration can be supported. + + see spice-protocol for more details: + commit 3838ad140a046c4ddf42fef58c9727ecfdc09f9f + + seamless-migration: update spice-common submodule + Also Update server and client according to the change of + SpiceMsgMainMigrationBegin: it now holds all the fields inside + SpiceMigrationDstInfo. + + seamless-migration: add migration_protocol.h + The file will hold the declarations of the different migration + data messages (depending on the channel), that will be passed + from the src server to the dst server, via the client, using + SPICE_MSG_MIGRATE_DATA. + + bump version to 0.11.2 + New api entries: + spice_server_vm_start + spice_server_vm_stop + spice_server_set_seamless_migration + + spice.h: add spice_server_set_seamless_migration + This new call is used in order to identify whether qemu, or + the management (e.g. libvirt), support seamless migration. + If it is supported, qemu spice cmd-line configuration should have + seamless-migration=on. + + In addition, we disable seamless migration support if multiple clients + are allowed. Currently, only one client is supported. + + spice_server_vm_start/stop: notify red_dispatcher on vm start/stop + Till now, red_worker was notfied about vm status changes via QXLWorker->start/stop + (or spice_qxl_start/stop). + Newer qemu, that supports calling spice_server_vm_start/stop, will call only + these routines, and won't call QXLWorker->start/stop. + + spice.h: add entries for tracking vm state + When vm state changes (started/stopped), we notify all the + attached SpiceCharDeviceStates about the change. This is mainly required + for avoiding writing/reading to/from the device during the non-live + stage of migration. + + spice version will be bumped in one of the following patches. + + reds: add tracking for char devices + The list of attached char_devices will be used in the next patch + for notifying each instance of SpiceCharDeviceState when the vm + is started or stopped. + + agent: don't attempt to read from the device if it was released + if vdi_port_read_buf_process failes, we detach the agent and also release + the read buffer. We shouldn't try reading from the device afterwards. + + agent: reset client tokens when notifying on agent connection + send SPICE_MSG_MAIN_AGENT_CONNECTED_TOKENS + + red_channel: add red_channel_test_remote_cap + for checking if all the channel clients connected support the cap + +2012-08-24 Søren Sandmann Pedersen <ssp@redhat.com> + + Add support for Composite command to the client + All the real work is being done in spice-common, so this patch is just + hooking up the virtual calls and adding the SPICE_DISPLAY_CAP_COMPOSITE + capability. + + Add support for QXLComposite to spice server + In red-parse-qxl.c add support for parsing QXLComposite into + SpiceComposite. In red-worker.c add support for marshalling + SpiceComposite onto the wire. + + Add support for LZ compression of A8 images + Graduality is irrelevant for A8 images, so instead of using RGB-ness + as a short-cut, add a new macro BITMAP_FMT_HAS_GRADUALITY() that + returns true for the existing RGB images, but false for A8. + +2012-08-09 Marc-André Lureau <marcandre.lureau@redhat.com> + + Update spice-common + +2012-07-25 Yonit Halperin <yhalperi@redhat.com> + + red_worker: Fix reference counting for the current frame (drawable) of a stream + After marshalling MSG_STREAM_CREATE, there is no need to ref and + unref stream->current before and after completing the sending of the + message (correspondingly). The referencing is unnecessary because all + the data that is required from the drawable (the clipping), is copied + during marshalling, and no field in the drawable is referenced (see + spice_marshall_msg_display_stream_create). + + Moreover, the referencing was bugous: + While display_channel_hold_pipe_item and + display_channel_client_release_item_after_push referenced and + dereferenced, correspondingly, stream->current, stream->current might + have changed in between these calls, and then we ended up with one drawable + leaking, and one drawable released before its time has come (which + of course led to critical errors). + +2012-07-23 Alon Levy <alevy@redhat.com> + + bump version to 0.11.1 for new spice_qxl_monitors_config_async + bump current and age since only additions where done. + new server library is libspice-server.so.1.2.0 . + +2012-07-22 Alon Levy <alevy@redhat.com> + + server: add monitors_config support + a SpiceMsgDisplayMonitorsConfig is sent on two occasions: + * as a result of a spice_qxl_monitors_config_async + * whenever a client connects and there is a previously set monitors + config + + Sending the new message is protected by a new cap, + SPICE_DISPLAY_CAP_MONITORS_CONFIG + + More elaborately: + spice_qxl_monitors_config_async receives a QXLPHYSICAL address of a + QXLMonitorsConfig struct and reads it, caching it in the RedWorker, and + sending it to all clients. Whenever a new client connects it receives + a SpiceMsgDisplayMonitorsConfig message as well. + + server/red_parse_qxl: red_get_image: fix leaks on bad image + + server/red_worker: release bad drawables + + server/red_parse_qxl: disallow zero area bitmaps + prevents division by zero later (SIGFPE, Arithmetic exception) in + spice-common code, at spice-common/common/canvas_base.c:646 + for both client and server (server only upon rendering). + + server/red_parse_qxl: get_path: remove return NULL + introduced by 2ec2dbc78a660ee4e3315f50c881d9e31a8e4fe2 + + server/reds: more fixes for wrong spice_error in d2c99b59 + + server: don't abort on guest images with missing palettes + + server: factor out bitmap_fmt_is_rgb + +2012-07-16 Marc-André Lureau <marcandre.lureau@redhat.com> + + Update spice-common + + tests: add missing file to .gitignore + TODO: some day, switch to git.mk + + build-sys: remove cegui/slirp and mandatory client from dist-check + The spicec client is no longer actively maintained. + + By removing cegui from distcheck, we can avoid extra build time and + dependencies (>150Mb extra cegui/boost on fedora) + + Slirp is not available in most distributions, afaict, making it hard + to build consistantly accross various systems. + + The client is still build if the dependencies are present. + + build-sys: define GL flags if enabled + The server too can use opengl, independently from client. + +2012-07-11 Alon Levy <alevy@redhat.com> + + server/reds: fix wrong spice_error in d2c99b59 + + server/red_worker: fix wrong spice_error in commit 706232a8 + +2012-07-05 Alon Levy <alevy@redhat.com> + + server/reds.c: spice_printerr cleanup + Rules for replacing spice_printerr: + * if it's a client drop / agent drop, spice_error + * if it's important, spice_warning + * else, spice_info. + + The fourth rule is spice_debug if it's going to fill up the log, but + nothing of the sort here. + + Other things this patch does: + * changed reds_show_new_channel to reds_info_new_channel in an attempt to + advertise it doesn't always show anything, unless SPICE_DEBUG_LOG_LEVEL + >= SPICE_DEVUG_LOG_INFO (==3) + * removes two lines of whitespace. + * added "crashy" to multiple client warning (only warning introduced, + the rest are errors). + + server/red_worker: elevate some spice_debugs to spice_info + Specifically all those that the previous patch converted to spice_debug. + spice_debug contains very verbose stuff like update_area that drowns out + those relatively rare (client connect / disconnect generated) messages. + + update spice-common for spice_info + + server/red_worker: cleanup lines starting with 5 spaces + + server/red_worker: death to spice_printerr, too verbose by far + Replaced mostly with spice_debug, but spice_warning & spice_error as + well where appropriate. + +2012-07-04 Yonit Halperin <yhalperi@redhat.com> + + smartcard: Remove redefinition of typedef 'SmartCardDeviceState' + +2012-07-03 Yonit Halperin <yhalperi@redhat.com> + + char_device.h: Remove redefinition of typedef 'SpiceCharDeviceState' + The original definition is in spice.h + + char_device: move SpiceCharDeviceState from the header + In addition, I also removed the no longer used wakeup callback + + smartcard: use SpiceCharDeviceState for writing to the guest device + With SpiceCharDeviceState, the smartcard code now supports partial writes, + and storing data that is received from the client after the device is + stopped, instead of attempting to write it to the guest. + + smartcard: creating SmartCardChannelClient type + The lifetime of the channel is not necessarily correlated to the life + time of the device. In the next patch, we need to keep a reference + to SpiceCharDeviceWriteBuffer, which might be in use even if the + SpiceCharDeviceState is destroyed, but the channel is still connected. + The next patch keeps this reference inside SmartCardChannelClient. + + This patch also removes the routine smartcard_readers_detach_all(rcc), which + is unnecessary since we don't support multiple readers; even when + we do support them, each channel client should be associated with only + one reader (i.e., we will have different channels for different + readers). + + smartcard: use SpiceCharDeviceState for managing reading from the device + This patch and the following one do not introduce tokening to the smartcard + channel. But this can be done easily later, by setting the appropriate + variables in SpiceCharDeviceState (after adding the appropriate protocol messages, + and implementing this in the client side). + + spicevmc: use SpiceCharDeviceState for writing to the guest device + With SpiceCharDeviceState, spicevmc now supports partial writes, + and storing data that is received from the client after the device is + stopped, instead of attempting to write it to the guest. + + spicevmc: employ SpiceCharDeviceState for managing reading from the guest device + This patch and the following one do not introduce tokening to the + spicevmc channel. But this can be done easily later, by setting the appropriate + variables in SpiceCharDeviceState (after adding + the appropriate protocol messages, and implementing this in the client + side). + + agent: employ SpiceCharDeviceState for writing to the device + + agent: use SpiceCharDeviceWriteBuffer for agent data from the client + This is an intermediate patch. The next patch will actually + push the buffer to the device, instead of copying it. + + agent: employ SpiceCharDeviceState for managing reading from the device + + agent: remove save/restore migration data code + This code is never called, it was relevant for seamless migration. + Most of the data that needs to be migrated was moved to + SpiceCharDeviceState. When we implement seamless migration, + we will have routines in char_device.c for migrating the relevant data. + + agent: Fix tokens handling in main_channel + - Allow sending tokens to a specific client. + - Do not ignore tokens that are sent from the client to the server. + + The tokens support for multiple clients and for server side tokens + is still broken in reds. It will be fixed in following patches, when + the server-side agent code will use the SpiceCharDeviceState api. + + Notice that ignoring the server-side tokens didn't introduce a problem + since both the client and the server set it to ~0. + + char_device: Introducing shared flow control code for char devices. + SpiceCharDeviceState manages the (1) write-to-device queue + (2) wakeup and reading from the device (3) client tokens (4) + sending messages from the device to the client/s, considering the + available tokens. + SpiceCharDeviceState can be also stopped and started. When the device + is stopped, no reading or writing is done from/to the device. Messages + addressed from the client to the device are being queued. + Later, an api for stop/start will be added to spice.h and it should + be called from qemu. + + This patch does not yet remove the wakeup callback from + SpiceCharDeviceState, but once all the char devices (agent/spicevmc/smartcard) + code will switch to the new implementation, SpiceCharDeviceState + will be moved to the c file and its reference to the wakeup callback will be removed. + + smartcard: fix an error message + + smartcard: fix calc of remaining data size when reading more than one msg from the device + +2012-07-02 Alon Levy <alevy@redhat.com> + + update spice-common + Includes using the same spice.proto as spice-gtk now, with smartcard + fixes, more verbose output when SSL verification fails, and some + warnings fixes. shortlog: + + Alon Levy (6): + python_modules/ptypes.py/EnumBaseType.c_enumname: add missing return to fix broken enums generation + smartcard: build fixes for spice server + updated spice-protocol for smartcard enums non conflict with libcacard + Makefile.am: fix .gitignore not being generated in spice-protocol/spice + Makefile.am: now that spice_codegen.py is used add *.pyc to ignored files in root + update spice-protocol for smartcard enums fix + + Christophe Fergeau (1): + ssl: more verbose output when SSL verification fails + + Marc-André Lureau (3): + ssl-verify: add a bit of run-time checks + Fix invalid macro usage + Fix a gcc warning + +2012-06-27 Alon Levy <alevy@redhat.com> + + spice.h: bump SPICE_SERVER_VERSION for release 0.11.0 (cherry picked from commit dd5c995c32cf595d31e59975bd1b3216cf996656) + + Revert "update spice-common for multiple monitor in single display channel support" + This reverts commit 3baf290be79cfb1872b90f7724efa50aa343d74b. + + Revert "spice.h: bump SPICE_SERVER_VERSION for release 0.11.0" + This reverts commit dd5c995c32cf595d31e59975bd1b3216cf996656. + +2012-06-21 Alon Levy <alevy@redhat.com> + + spice.h: bump SPICE_SERVER_VERSION for release 0.11.0 + + update spice-common for multiple monitor in single display channel support + +2012-06-19 Nikolay Orlyuk <virkony@gmail.com> + + Added configure option --disable-xinerama + This parameter was added to be able to control dependency on + libXinerama. Which is really useful for package managers. + Fixes bug #51192 + +2012-06-12 Alon Levy <alevy@redhat.com> + + Release 0.11.0 + Current bumped and age bumped for new intefaces only (no backward + incompatible changes). + + New libtool version is 2.0.1, using --version-info instead of + --version-name. Doing the version change and --version-name to + --version-info change here to avoid changing the libtool version twice. + + Added interfaces: + spice_server_set_name + spice_server_set_uuid + spice_server_set_listen_socket_fd + spice_server_is_server_mouse + + New library name in linux: + libspice-server.so.1.1.0 + Old: + libspice-server.so.1.0.2 + +2012-06-07 Alon Levy <alevy@redhat.com> + + server/red_channel: s/channle/channel + +2012-06-06 Alon Levy <alevy@redhat.com> + + m4/spice-compile-warnings: Squelch _FORTIFY_SOURCE when needed to avoid glibc #warnings. + Fix copied from libvirt, commit by Eric Blake. + + glibc 2.15 (on Fedora 17) coupled with explicit disabling of + optimization during development dies a painful death: + + /usr/include/features.h:314:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] + + Work around this by only conditionally defining _FORTIFY_SOURCE, + in the case where glibc can actually use it. The trick is using + AH_VERBATIM instead of AC_DEFINE. + +2012-06-05 Alon Levy <alevy@redhat.com> + + server/spice.h: s/Pleaes/Please/ + +2012-05-31 Yonit Halperin <yhalperi@redhat.com> + + server/red_channel: do not attempt to write if the channel client is disconnected + The red_channel_client_event call to red_channel_client_receive might result + in a disconnected channel client. The following call to + red_channel_client_push may call to red_peer_handle_outgoing with a + disconnected socket. + + server/red_channel: fix possible access to released channel clients + Added ref count for RedChannel and RedChannelClient. + + red_channel.c/red_peer_handle_incoming call to + handler->cb->handle_message might lead to the release of the channel + client, and the following call to handler->cb->release_msg_buf will be + a violation. + + This bug can be produced by causing main_channel_handle_parsed + call red_client_destory, e.g., by some violation in + reds_on_main_agent_data that will result in a call to reds_disconnect. + +2012-05-24 Yonit Halperin <yhalperi@redhat.com> + + server/red_worker: fix red_wait_pipe_item_sent + Resolves: rhbz#824384 + + red_wait_pipe_item_sent mistakingly returned without waiting for sending the given pipe item + when the channel wasn't blocked. As a result, we failed when we had to + destroy a surface (e.g., QXL_IO_DESTROY_ALL_SURFACES) and to release all + the drawables that are depended on it (by removing them or waiting they will be sent). + In addition, red_wait_pipe_item_sent increased and decreased the reference to the pipe item + using channel_cbs->hold_item, and channel_cbs->release_item. However, + these calls can be called only by red_channel, otherwise + display_channel_client_release_item_before_push is called twice and + leads to a double call to ring_remove(&dpi->base). + Instead ref/put_drawable_pipe_item should be called. + + server/red_channel: remove red_channel_client_item_being_sent + The above routine was risky, since red_channel_client_init_send_data + can also be called with item==NULL. Thus, not all pipe items can be tracked. + The one call that was made for this routine was not necessary. + +2012-05-21 Yonit Halperin <yhalperi@redhat.com> + + server: handle red_channel_client_create returning NULL + + server/red_channel: prevent creating more than one channel client with the same type+id + + server/video: do not allow non-streamable drawables be stream candidates + Resolves: rhbz#820669 + + Fix a segfault caused by a call to __red_is_next_stream_frame made by + red_stream_maintenance, with a drawable that is not a DRAW_COPY one. + The segfault is a reault of __red_is_next_stream_frame accessing + red_drawable->u.copy.src_bitmap for a non DRAW_COPY drawable. + +2012-05-16 Yonit Halperin <yhalperi@redhat.com> + + server/tests: test_display_streaming - test wide sized frames + Before, we tested only higher frames, while wider frames would have + triggered a bug in mjpeg_encoder, when spice is linked with libjpeg and + not libjpeg-turbo. + + server/mjpeg_encoder: realloc encoder->row, when a wider frame is given + Fix crashes when there are sized wider frames in the stream, and we are + linked with libjpeg. + + Related : rhbz#813826 + Resolves: rhbz#820669 + +2012-05-15 Alon Levy <alevy@redhat.com> + + server: move self_bitmap_image to RedDrawable + Simplify keeping count of self_bitmap_image by putting it in + RedDrawable. It is allocated on reading from the command pipe and + deallocated when the last reference to the RedDrawable is dropped, + instead of keeping track of it in GlzDrawable and Drawable. + + server/red_worker/put_red_drawable: s/drawable/red_drawable/ + + server/red_worker/red_handle_self_bitmap: add red_drawable local, one extra whitespace line removed + + server/red_worker: rename SpiceImage *self_bitmap to self_bitmap_image + + Revert "server/red_worker: fix possible leak of self_bitmap" + This reverts commit 35dbf3ccc4b852f9dbb29eb8a53c94f26d2e3a6e. + + accidentally pushed v1 of patches, reverting in preperation of pushing + v2. + +2012-05-14 Alon Levy <alevy@redhat.com> + + server/red_worker: fix possible leak of self_bitmap + After the previous patch moving self_bitmap freeing inside red_drawable + ref count, we have a possible self_bitmap leak: + + red_process_commands + red_get_drawable | red_drawable #1, red_drawable->self_bitmap == 1 + red_process_drawable | rd #2, d #1, d->self_bitmap != NULL + release_drawable | rd #1, d# = 0, try to release self_bitmap, but + blocked by rd #1 + put_red_drawable | rd #0 + + This patch moves the call to release_drawable after the call to + put_red_drawable, thereby fixing the above situation. + + server/red_worker/red_process_commands: rename drawable to red_drawable (later add a local drawable) + + server/red_worker: red_process_drawable: have single point of exit + +2012-05-14 Yonit Halperin <yhalperi@redhat.com> + + server/red_worker: don't release self_bitmap unless refcount is 0 + RHBZ: 808936 + +2012-05-10 Yonit Halperin <yhalperi@redhat.com> + + server/mjpeg_encoder: fix wrong size assigned to dest_len + It should have been the allocated size and not the occupied one. + This led to a lot of unnecessary allocations and deallocations. + + server/mjpeg_encoder: Fix memory leak for the inital output buffer given for each frame + +2012-05-07 Alon Levy <alevy@redhat.com> + + server/reds: add "usbredir" to recognized channel names + RHBZ: 819484 + +2012-05-04 Nahum Shalman <nshalman@elys.com> + + cleanup x11 library detection for building client + Consolidate two separate chunks of library hunting that depend on the + same check. + + Check if we're actually building the client before looking for + client only libraries. + + Hide some of the final output if we're not building the client. + +2012-05-03 Yonit Halperin <yhalperi@redhat.com> + + server/tests/test_display_streaming: include tests for clip and sized frames + CC: Alon Levy <alevy@redhat.com> + + server/tests: use the correct dimensions in SIMPLE_UPDATE + + server/tests: add SLEEP command to test_display_base + + server/tests: add clip to SIMPLE_DRAW_BITMAP + +2012-05-03 Alon Levy <alevy@redhat.com> + + server/tests/test_display_streaming: update to create sized frames + + server/tests: add SIMPLE_DRAW_SOLID and SIMPLE_DRAW_BITMAP + + server/tests: refactor Command + + server/tests: add test_get_width/test_get_height + + server/tests: refactor test_display_base + +2012-05-03 Yonit Halperin <yhalperi@redhat.com> + + server/red_worker/video: don't override the clip in areas that belong only to sized frames + + server/red_worker.c/video: add support for frames of different sizes + rhbz #813826 + + When playing a youtube video on Windows guest, the driver sometimes(**) sends + images which contain the video frames, but also other parts of the + screen (e.g., the youtube process bar). In order to prevent glitches, we send these + images as part of the stream, using SPICE_MSG_DISPLAY_STREAM_DATA_SIZED. + + (**) It happens regularly with the you tube html5 player. With flash, + it occurs when moving the cursor in the player area. + + Update the spice-common submodule + spice-common changes: STREAM_DATA_SIZED message was added in order to support + video streams with frames that their size is different from the initial size + that the stream was created with. + + This patch also includes server and client adjustments to the new + SpiceMsgDisplayStreamData. + + server/red_worker/video: don't detach a drawable from a stream due to it being rendered. + The previous patch took care that streams will be upgraded by a surface + screenshot and not the last frame, if necessary. Thus, there is no + more a reason for detaching drawables from streams when they are + rendered. Moreover, detaching such drawables can cause glitches, in + case they are still in the pipe, and red_update_area is called + frequently and leads to stream frames rendering. + + server/red_worker/video: upgrade stream by a screenshot instead of the last frame, if needed + Upgrading a stream: When the stream's visible region is bigger than the one of the last + frame, we will send an updated screenshot of the visible region, instead + of sending the last frame losslessly. + + server/red_worker/video: maintain visible region and clip region for streams + Differentiate between the clipping of the video stream, and the region + that currently displays fragments of the video stream (henceforth, + vis_region). The latter equals or contains the former one. For example, + let c1 be the clip area at time t1, and c2 be the clip area at time t2, + where t1 < t2. If c1 contains c2, and at least part of c1/c2, hasn't been + covered by a non-video images, vis_region will contain c2, and also the part + of c1/c2 that still displays fragments of the video. + When we consider if a stream should be "upgraded" (1), due to its area + being used by a rendering operation, or due to stopping the video, we + should take into account the vis_region, and not the clip region (next + patch: not upgrade by the last frame, but rather by vis_region). + This fix will be more necessary when sized frames are introduced (see the + following patches). Then, the vis_region might be larger + than the last frame, and contain it, more frequently than before. + + (1) "upgrading a stream" stands for sending its last frame losslessly. Or more + precisely, lossless resending of all the currently displayed lossy areas, that were + sent as part of the stream. + + server/red_worker: add get_stream_id + + Update the spice-common submodule + We need some rect/region getters methods that were added + +2012-04-27 Jeremy White <jwhite@codeweavers.com> + + Force 64 bit multiplication on 32 bit systems; fixes a bug where the server times out the display channel freakily fast. + +2012-04-26 Daniel P. Berrange <berrange@redhat.com> + + Ensure __STDC_FORMAT_MACROS is always defined first + The client/common.h file defines __STDC_FORMAT_MACROS before + including inttypes.h so that the PRI* macros get defined in + C++. This is ignoring the possibility that other global + includes may have already pulled in inttypes.h + + We need __STDC_FORMAT_MACROS to be defined before any header + files are included. Putting it in config.h satisfies this, + since config.h is always the first header + + Disable -Waggregate-return if building with SLIRP + The API design of SLIRP means that it is not practical to use + the -Waggregate-return warning flag. Disable this flag in the + (unlikely) scenario where SLIRP is actually requested at build + time + +2012-04-26 Alon Levy <alevy@redhat.com> + + bump spice-common with SpiceClips fix + +2012-04-25 Daniel P. Berrange <berrange@redhat.com> + + Add some more 'noreturn' annotations + Methods which longjump, unconditionally raise an + exception, or call _exit() cannot return control + to the caller so should be annotated with 'noreturn' + + Fix typo in is_equal_brush + The 3 part of the conditional in the is_equal_brush method + compared the b1->u.color field to itself, instead of b2->u.color + + Fix printf format specifiers for i686 hosts + + Add missing struct field initializers + + Ensure config.h is the first include in the file + + Add a few more syntax-check exemptions + + Add recent new committers to AUTHORS file / mailmap + + Enable many more compiler warnings + * m4/manywarnings.m4m, m4/warnings.m4: Import GNULIB warnings + modules + * m4/spice-compile-warnings.m4: Define SPICE_COMPILE_WARNINGS + * configure.ac: Replace compile warning check with a call to + SPICE_COMPILE_WARNINGS + * client/Makefile.am: Use WARN_CXXFLAGS instead of WARN_CFLAGS + + Make some int->pointer casts explicit + Tell the compiler that was really do intend to cast from int + to pointer, to prevent warnings about implicit casts + + * server/tests/test_display_base.c: Add explicit casts + + Fix broken -I../common to be -I../spice-common in client + * Makefile.am: s/common/spice-common/ + + VSCMsgHeader.reader_id is unsigned, so don't check for >= 0 + * server/smartcard.c: Fix assertion to not check for >= 0 on + unsigned variable + + Avoid jumping across variables declarations with initializers + If a 'goto' statement jumps across a variable declaration + which also has an initializer, the variable is in an undefined + state. Splitting the the declaration & initialization doesn't + change that, but the compiler can at least now detect use of + the unintialized variable + + Convert cases of () to (void) + * server/reds.c, server/smartcard.c: s/()/(void) + + Remove 2 *MB* stack frame in red_worker_main + The red_worker_main method allocates a RedWorker struct instance + on the stack. This struct is a full 2 MB in size which is not + at all resonable to allocate on the stack. + + * server/red_worker.c: Move RedWorker struct to the heap + + Mark some variables as volatile + When using setjmp/longjmp the state of local variables can be + undefined in certain scenarios: + + [quote man(longjmp)] + The values of automatic variables are unspecified after a + call to longjmp() if they meet all the following criteria: + + · they are local to the function that made the correspond‐ + ing setjmp(3) call; + + · their values are changed between the calls to setjmp(3) + and longjmp(); and + + · they are not declared as volatile. + [/quote] + + * server/red_worker.c: Mark some vars as volatile + + Mark functions which never return control + * client/red_channel.cpp: AbortTrigger::on_event can't return + given its current impl + * server/red_worker.c: red_worker_main can't return + + Fix multiple printf format problems + All printf var-args style methods should be annotation with + their format. All format strings must be const strings. + + * client/application.cpp, client/cmd_line_parser.cpp, + client/hot_keys.cpp: Avoid non-const format + * client/client_net_socket.cpp: Fix broken format specifier + * client/red_peer.cpp: Fix missing format specifier + * client/platform.h: Add SPICE_GNUC_PRINTF annotation to term_printf + * client/utils.h: Add SPICE_GNUC_PRINTF annotation to string_printf + * server/glz_encoder_config.h, server/red_worker.c: Add + SPICE_GNUC_PRINTF annotation to warning callbacks + + Fix const-ness violations + * server/red_worker.c: Add missing const for return type + * server/reds.c: Static strings must be declared const + + Don't do arithmetic on void * type, use uint8_t instead + Arithmetic on void * types is non-portable & trivially avoided + + * server/dispatcher.c: Use uint8_t for arithmetic + +2012-04-18 Alon Levy <alevy@redhat.com> + + spice-common: update submodule to verify_subject MSVC++ fix + + spice-common: update submodule + + update spice-common for MSVC++ build fixes + +2012-04-18 Aric Stewart <aric@codeweavers.com> + + update visual studio project file + Note, there may be line-ending issues here is we are not careful. This file is a msdos formatted file. + + There was some inconsistencies in those line-ending that I have normalized. + +2012-04-18 Alon Levy <alevy@redhat.com> + + client/windows/redc.vcproj: switch to unix EOL (dos2unix) + +2012-04-18 Aric Stewart <aric@codeweavers.com> + + Update win32 generate(1).bat files to match modern usage + This involves: + generating .c instead of .cpp files + Not including "common.h" + Standardizing some parameters + + we do not need afxres.h included in redc.rc + It is not an MFC project so simply including windef.h is better and + allows for compiling with the Express editions of Visual Studio. + +2012-04-18 Michael Tokarev <mjt@tls.msk.ru> + + fix error-path return in snd_set_record_peer() + The error_{1,2} labels in this functions are backwards. + +2012-04-17 Aric Stewart <aric@codeweavers.com> + + Copy getopt.h from old common/win/my_getopt-1.5/my_getopt + This patch completes the copy from + 4d8f39020ac83602c1647d4af04e8b19bf74ed6e which missed this file. + + update windows client generate.bat and generate1.bat + the python script is now in spice-common and client_marshallers.h needs + to be included instead of marshallers.h + +2012-04-05 Alon Levy <alevy@redhat.com> + + server: allow failure in getvirt + This patch changed getvirt to continue working even if spice_critical + doesn't abort (i.e. SPICE_ABORT_LEVEL != -1). This is in preparation to + make getvirt not abort at all. The reason is that getvirt is run on + guest provided memory, so a bad driver can crash the vm. + +2012-04-02 Christophe Fergeau <cfergeau@redhat.com> + + Replace sprintf with snprintf use + The hotkey parser was generating a string with sprintf and data it got + from the controller socket (ie data which can have an arbitrary + length). Using sprintf there is a bad idea, replace it with snprintf. + +2012-03-28 Marc-André Lureau <marcandre.lureau@redhat.com> + + spice-common: update to fix quic-encode warnings + +2012-03-26 Alon Levy <alevy@redhat.com> + + server: export spice_server_is_server_mouse predicate + To be used by qemu query-spice / info spice commands. + +2012-03-26 Marc-André Lureau <marcandre.lureau@redhat.com> + + Remove files moved to spice-common + +2012-03-25 Marc-André Lureau <marcandre.lureau@redhat.com> + + Copy common/win/my_getopt-1.5/my_getopt client/windows + + Use the spice-common logging functions + It will abort by default for critical level messages. That behaviour + can be tuned at runtime. + + Use the spice-common submodule + This patch will replace the common/ directory with the spice-common + project. It is for now a simple project subdirectory shared with + spice-gtk, but the goal is to make it a proper library later on. + + With this change, the spice-server build is broken. The following + commits fix the build, and have been seperated to ease the review. + + v2 + - moves all the generated marshallers to spice-common library + - don't attempt to fix windows VS build, which should somehow be + splitted with spice-common (or built from tarball only to avoid + generation tools/libs deps) + v3 + - uses libspice-common-client + - fix a mutex.h inclusion reported by Alon + +2012-03-23 Marc-André Lureau <marcandre.lureau@redhat.com> + + sasl: small refactoring, check memcheck != NULL + + Use spice_strdup() to avoid crashing on NULL + qemu can call spice_server_set_name(s, NULL) when the name is not + given. Let's not crash in this case + +2012-03-22 Alon Levy <alevy@redhat.com> + + server/tests: add resolution changes tester + + server/tests/test_display_base: add Command + add parameters to the commands used for display tests. + +2012-03-21 Alon Levy <alevy@redhat.com> + + server/tests/test_display_base: remove 64bit arch assumptions + + server/red_memslots: don't assume 64 bit environment + assumption that unsigned long == QXLPHYSICAL causes get_virt to compute + the wrong slot. Fix by replacing addr variables to be of type + QXLPHYSICAL. + + server/red_worker: fix for case where ASSERT is compiled out + + server/red_memslots: use QXLPHYSICAL for addresses + Cannot assume unsigned long == QXLPHYSICAL, not true for 32 bit + architectures. + + server/red_memslots: drop two unused functions + cb_get_virt and cb_validate_virt have disappeared a long time ago, + not needed since: + + commit 5ac88aa79fa6445f96e5419d8bf4fce81da63b90 + Author: Gerd Hoffmann <kraxel@redhat.com> + Date: Thu Jul 1 17:55:33 2010 +0200 + + Properly parse QXLImage to the new-world SpiceImage + + SpiceImage now replaces RedImage and has all image types in it. + All image data are now chunked (and as such not copied when demarshalling). + +2012-03-20 Christophe Fergeau <cfergeau@redhat.com> + + Don't truncate SPICE_FOREIGN_MENU_SOCKET + When we get the socket name for the foreign menu socket from + an environment variable, we cannot make assumptions about its length. + Currently, we are strncpying to a 50 byte buffer which is easily + too small. + + Don't limit spice controller socket name to 50 chars + The spice controller socket name used to be hardcoded to + /tmp/SpiceController-%lu.uds and generated using snprintf. A 50 bytes + buffer was enough for that, but this was changed in commit 79fffbf95 + because this was predictable and allowed other users on the system + to sniff the browser/client communication. spicec now uses the value + of the environment SPICE_XPI_SOCKET as the name of the socket to use. + However, since the name that is used is no longer generated by spicec, + no assumption can be made about its size. Currently, the socket is + created inside the user home directory, which means that if the + user name is too long, spicec will not be able to read the controller + socket name. + This commit directly uses the string from getenv as he name of the + controller socket (on Linux) instead of limiting its size to 50 characters, + which should fix this issue. + This fixes rhbz #804561 + + Remove unused Canvas members + The various Canvas have _max and _base variables which are not + used, better to remove them. + +2012-03-20 Alon Levy <alevy@redhat.com> + + server/red_worker: don't typedef SpiceWatch twice + First defined in spice.h, fixes build failure with gcc 4.4.6 + +2012-03-13 Hans de Goede <hdegoede@redhat.com> + + red_worker: Check for NULL watches + If we run out of watches slots, we return NULL from watch_add, which + means that the other watch_foo functions may get called with a NULL + parameter, protect them against this. + +2012-03-12 Nahum Shalman <nshalman@elys.com> + + server: remove superfluous check + no need to duplicate the check that the fd isn't -1 + + server: listen on a pre-opened file descriptor + Allow applications to pre-open a file descriptor and have spice listen + on it. + + Thanks to Daniel Berrange for his comments + + server: don't fail on ENOPROTOOPT from setsockopt + If we allow listening on arbitrary sockets like unix sockets, + we can get ENOPROTOOPT errors from setsockopt calls that set TCP + specific options. This should be allowed to happen. + +2012-03-12 Hans de Goede <hdegoede@redhat.com> + + red_channel: remove pre_disconnect hook + Now that red_worker's EventListener is gone there are no more users of it. + + red_worker: Rework poll code to use the watch interface + Commit 143a1df24e83e9c1e173c16aeb76d61ffdce9598 changed red_worker_main + from epoll to poll. But epoll has edge triggered semantics (when requested + and we requested them), where as poll is always level triggered. And + red_worker was relying on the edge triggered semantics, as it was always + polling for POLLOUT, which, when edge triggered, would only cause poll + to register an event after we had blocked on a write. But after the + switch to regular poll, with its level triggered semantics, the POLLOUT + condition would almost always be true, causing red_worker_main to not + block on the poll and burn CPU as fast as it can as soon as a client was + connected. + + Luckily we already have a mechanism to switch from polling for read only + to polling for read+write and back again in the form of watches. So this + patch changes the red_worker dummy watch implementation into a proper watch + implementation, and drops the entire EventListener concept since that then is + no longer needed. + + This fixes spice-server using 400% CPU on my quad core machine as soon as + a client was connected to a multi head vm, and as an added bonus is a nice + cleanup IMHO. + + red_channel: Use the channel core to remove the stream watch on disconnect + We allow channels to have different core implementations, but we were + relying on reds_stream_free to remove the stream watch on disconnect, + and reds_stream_free always uses the qemu core implementation. + + So far we were getting away with this since all the alternative core + implementations always return NULL from watch_add. + + But: + 1) The code before this patch clearly was not correct, since it was matching + a channel-core watch_add with a qemu-core watch_remove + 2) I plan to move red_worker over to actually using an alternative watch + implementation at which point this becomes a real problem + +2012-03-10 Hans de Goede <hdegoede@redhat.com> + + red_worker: Remove ref counting from the EventListener struct + The red_worker EventListener struct is either embedded in one of: + 1) DisplayChannelClient + 2) CursorChannelClient + 3) RedWorker + + And as such gets destroyed when these get destroyed, in case 1 & 2 through + a call to red_channel_client_destroy(). + + So free-ing it when the ref-count becomes 0 is wrong, for cases: + 1) and 2) this will lead to a double free; + 3) this will lead to passing memory to free which was not returned by malloc. + + This is not causing any issues as the ref-count never gets decremented, other + then in red_worker_main where it gets incremented before it gets decremented, + so it never becomes 0. + + So we might just as well completely remove it. + + Notes: + 1) This is mainly a preparation patch for fixing issues introduced by + the move from epoll to poll + 2) Since removing the ref-counting removes the one code path where listeners + would get set to NULL, this patch moves the setting of NULL to + pre_disconnect, where it should have been done in the first place since + red_client_destroy calls red_channel_client_disconnect + (through the dispatcher) followed by red_channel_client_destroy, so + after pre_disconnect the listener may be gone. + + Ensure all members of ChannelCbs and ClientCbs are either assigned or NULL + While git-bisecting another issue I ended up hitting and not recognizing + the bug fixed by commit 7a079b452b026d6ce38f95dcc397fa64b059fffb. + + While fixing this (again) I noticed that (even after the fix) not all + users of ChannelCbs first zero it. So this patch ensures that all users of + ChannelCbs first zero it, and does the same for ClientCbs while at it. + + Since before this patch there were multiple zero-ing styles, some using + memset and other using a zero initializer this patch also unifies all + the zero-ing to use a NULL initializer for the first element. + +2012-03-06 Alon Levy <alevy@redhat.com> + + server/red_worker: fix use after free for listeners + This fixes a core dumped observed once by repeated migration. So far 100 + migrations and no recurrence. + + Core was generated by `/home/alon/spice/upstream/bin/qemu-system-x86_64 --enable-kvm -qmp unix:/tmp/mi'. + Program terminated with signal 11, Segmentation fault. + 11197 if (evt_listener && evt_listener->refs > 1) { + Missing separate debuginfos, use: debuginfo-install bluez-libs-4.98-3.fc17.x86_64 brlapi-0.5.6-4.fc17.x86_64 bzip2-libs-1.0.6-4.fc17.x86_64 cryptopp-5.6.1-6.fc17.x86_64 keyutils-libs-1.5.5-2.fc17.x86_64 libssh2-1.4.0-1.fc17.x86_64 nss-softokn-freebl-3.13.1-20.fc17.x86_64 xen-libs-4.1.2-11.fc17.x86_64 xz-libs-5.1.1-2alpha.fc17.x86_64 + (gdb) bt + (gdb) l + 11192 for (i = 0; i < MAX_EVENT_SOURCES; i++) { + 11193 struct pollfd *pfd = worker.poll_fds + i; + 11194 if (pfd->revents) { + 11195 EventListener *evt_listener = worker.listeners[i]; + 11196 + 11197 if (evt_listener && evt_listener->refs > 1) { + 11198 evt_listener->action(evt_listener, pfd); + 11199 if (--evt_listener->refs) { + 11200 continue; + 11201 } + (gdb) p evt_listener + $1 = (EventListener *) 0x7f15a9a5d1e0 + (gdb) p *evt_listener + Cannot access memory at address 0x7f15a9a5d1e0 + (gdb) p i + $2 = 2 + (gdb) p worker.listeners + $3 = {0x7f15bc832520, 0x7f15a406e1a0, 0x7f15a9a5d1e0, 0x0 <repeats 17 times>} + +2012-03-05 Marc-André Lureau <marcandre.lureau@redhat.com> + + Use SPICE_FOREIGN_MENU_SOCKET if it's available + If specified, use SPICE_FOREIGN_MENU_SOCKET environment variable over + snprintf(pipe_name, PIPE_NAME_MAX_LEN, PIPE_NAME, + Platform::get_process_id()); since it's impossible to guess the client + pid when spice-xpi launches the client as a grand-child (via script + etc). + + This is also more aligned with the way we handle SPICE_XPI_SOCKET + location. + + Fix spice-protocol reference + + Send name & uuid to capable clients + Add spice_server_set_name() and spice_server_set_uuid() that allows + the client to identify a Spice server (useful to associate settings + with a particular server) + + The SPICE_MSG_MAIN_NAME and SPICE_MSG_MAIN_UUID messages are only sent + to capable clients, announcing SPICE_MAIN_CAP_NAME_AND_UUID. + + demarshal: fixed-size array are missing __nelements + A message with a fixed-size array, such as uint8 uuid[16] will + generate an invalid code, missing the __nelements variable. Make sure + that variable is defined. + +2012-03-05 Christophe Fergeau <cfergeau@redhat.com> + + server: more logging about certificates used + This commit adds some log messages indicating which certificates + could be loaded (or not). + + Fixes rhbz#787678 + + Add log for invalid/expired tickets + Currently, when a ticket has already expired, or is invalid, there is + no qemu log to tell what went wrong. This commit adds such a log. + + Fixes rhbz#787669 + +2012-03-04 Christophe Fergeau <cfergeau@redhat.com> + + mingw: workaround weird openssl build failure + If X509_NAME isn't undefined before including x509v3.h, very + weird compilation error occurs. It seems to be caused by duplicate + definitions for this symbols coming from wincrypto.h + + mingw: don't try to redefine alloca + mingw already has a #define alloca __builtin_alloca so trying to + redefine it triggers a warning. + + mingw: fix signed/unsigned comparison warnings + + mingw: add workaround for _ftime_s issue on mingw + mingw has a _ftime_s prototype in its headers, but no corresponding + symbol available at link time. Workaround this issue for now by + #defining it to _ftime. This is untested on win64 where the workaround + may not be needed. + + mingw: #ifdef unneeded #define in common.h + common.h has some #define when doing win32 build to workaround a few + missing functions on these systems. However, since mingw32 has some + of these, this causes either warnings about redefining preprocessor + symbols or wreak havoc in mingw headers trying to use these symbols. + This commit wraps these symbols in an #ifndef __MINGW32__ to avoid + using them on this platform. + + mingw: use uintptr_t when converting a pointer to an int + win64 uses 32 bit long, so we cannot use a long to hold a 64 bit + pointer. Thankfully, there's a [u]intptr_t type available exactly + for these uses. + +2012-03-01 Marc-André Lureau <marcandre.lureau@redhat.com> + + build-sys: fix make distcheck + - Do not refer to .c files managed by another makefile (this will fail + make distclean) + - Do not refer to files by relative path (should use $top_srcdir for ex) + - Use LDADD for object linking instead of LDFLAGS, for linker flags + + build-sys: cleanup server/tests/Makefile.am + + build-sys: use spice-protocol as submodule + + build-sys: cleanup, use autoreconf + +2012-03-01 Arnon Gilboa <agilboa@redhat.com> + + client/windows: fix SetClipboardViewer error handling rhbz#786554 + MSDN says the following about SetClipboardViewer(): "If an error occurs or there + are no other windows in the clipboard viewer chain, the return value is NULL". + Seems like the buggy case was "no other windows in the clipboard viewer chain", + which explains the 3rd party clipboard manager workaround detailed in the bug + description. + + It also seems like SetClipboardViewer() does not clear the error state on + succcess. Calling SetLastError(0) before SetClipboardViewer() seems to solves + this issue. + + Since we could not reproduce the bug on our env, the customer has verified on + several of their systems that a private build resolved the issue. + +2012-03-01 Yonit Halperin <yhalperi@redhat.com> + + client X11: support volume keys when evdev is in use + Add support for sending volume keys scancodes to the guest + RHBZ #552539 + + client: keyboard - add mapping for volume keys + Add support for sending volume keys scancodes to the guest + RHBZ #552539 + + A good reference for mapping keymaps to scancodes can be found in + spice-gtk/gtk/keymaps.csv + +2012-02-29 Christophe Fergeau <cfergeau@redhat.com> + + Fix compilation when smartcard support is disabled + The addition of smartcard control to the controller doesn't handle + the case when smartcard support is disabled at compile time. When + this is the case, this causes compile errors. + +2012-02-28 Alon Levy <alevy@redhat.com> + + controller_test: add README + + client controller_test: reorder parameters since pid isn't needed for linux client test + + client: handle CONTROLLER_ENABLE_SMARTCARD (rhbz 641828) + + controller_test: add ENABLE_SMARTCARD + +2012-02-26 Alon Levy <alevy@redhat.com> + + server: fix segfault on client disconnect + ..as a result of missing initialization of newly introduced + pre_disconnect in main channel. + +2012-02-26 Fabiano Fidêncio <fabiano@fidencio.org> + + Enabling cursor in server/tests + Now, cursor is being shown in all tests as a white rectangle and is + running in the screen doing a diagonal movement. It's a very simple + way to test cursor commands and is sufficient for our tests. + +2012-02-21 Dan McGee <dpmcgee@gmail.com> + + Use standard IOV_MAX definition where applicable + This is provided by <limits.h> on all platforms as long as _XOPEN_SOURCE + is defined. On Linux, this is 1024, on Solaris, this is 16, and on any + other platform, we now respect the value supported by the OS. + + Respect IOV_MAX if defined + Solaris has a pitiful maximum writev vector size of only 16, so the ping + request at initial startup destroyed this call and broke things + immediately. Reimplement stream_writev_cb() to respect IOV_MAX and break + the writev() calls into chunks as necessary. Care was taken to return + the correct values as necessary so the EAGAIN handling logic can + determine where to resume the writev call the next time around. + + red_worker: reimplement event loop using poll() + This removes the epoll dependency we had in red_worker, which was the + last Linux-specific call we were using in the entire Spice server. Given + we never have more than 10 file descriptors involved, there is little + performance gain had here by using epoll() over poll(). + + The biggest change is introduction of a new pre_disconnect callback; + this is because poll, unlike epoll, cannot automatically remove file + descriptors as they are closed from the pollfd set. This cannot be done + in the existing on_disconnect callback; that is too late as the stream + has already been closed and the file descriptor lost. The on_disconnect + callback can not be moved before the close and other operations easily + because of some behavior that relies on client_num being set to a + certain value. + + Use memcpy call in red_channel_create + Rather than assign the callbacks one-by-one, we can just memcpy the + struct into the one we have allocated in our RedChannel object, which is + much more efficient, not to mention future-proof when more callbacks are + added. + + Cleanup definitions of disconnect methods + We had multiple stub methods that simply called other disconnect + methods, making my head hurt with the indirection. Call the right + methods at the right time and rip out the stub methods; if they are + truely needed later they can be added again. + + red_worker: rename epoll_timeout to event_timeout + With future patches in mind that will allow for some other + non-Linux-specific event polling sytem to be used, rename this to a more + generic name. All of the select/poll/epoll/kqueue family of calls are + related to evented I/O, so 'event_' makes sense in this case. + + Add configure-time check for -Wl, --version-script option + This is supported by the GNU linker, but not the Solaris linker, which + is used as the default on that platform even when compiling with GCC. + Omit passing the option to the linker on platforms that do not support + it. + +2012-02-20 Hans de Goede <hdegoede@redhat.com> + + server/spicevmc: Don't destroy the rcc twice + spicevmc calls red_channel_client_destroy() on the rcc when it disconnects + since we don't want to delay the destroy until the session gets closed as + spicevmc channels can be opened, closed and opened again during a single + session. + + This causes red_channel_client_destroy() to get called twice, triggering + an assert, when a connected channel gets destroyed. + + This was fixed with commit ffc4de01e6f9ea0676f17b10e45a137d7e15d6ac for + the case where: a spicevmc channel was open on client disconnected, and + the main channel disconnect gets handled first. + + But the channel can also be destroyed when the chardev gets unregistered + with the spice-server. This path still triggers the assert. + + This patch fixes this by adding a destroying flag to the rcc struct, and + also moves the previous fix over to the same, more clean, method of + detecting this special case. + +2012-02-15 Alon Levy <alevy@redhat.com> + + server/tests/basic_event_loop: print something on channel_event + + server, separate SpiceChannelEventInfo from RedStream + fixes rhbz 790749 use after free of SpiceChannelEventInfo. + + The lifetime of the SpiceChannelEventInfo was that of RedsStream, but it + is used by main_dispatcher_handle_channel_event after the RedsStream is + freed for the cursor and display channels. Making SCEI allocation be at + RedsStream allocation, and deallocation after the DESTROY event is + processed by core->channel_event, fixes use after free. + + README: make a note of SPICE_DEBUG_ALLOW_MC + +2012-02-14 Dan McGee <dpmcgee@gmail.com> + + Remove all usages of bzero() + As recommended by modern C practice, we should just be using memset(). + + Remove extra '\n' from red_printf() calls + red_printf() takes care of adding a newline to all messages; remove the + extra newline from all messages and macros that were doubling them up. + +2012-02-14 Alon Levy <alevy@redhat.com> + + server/tests: use getopt_long + +2012-02-14 Fabiano Fidêncio <fabiano@fidencio.org> + + Adding image to be used as "correct" in regression tests + + Adding support to automated tests + As suggested by Alon, a simple automated test to try to find + regressions in Spice code. + To use this, compile Spice with --enable-automated-tests and + run test_display_streaming passing --automated-tests as parameter. + +2012-02-14 Dan McGee <dpmcgee@gmail.com> + + Add casts for compatibility purposes + Some non-Linux platforms return a (caddr_t *) result for the return + value of mmap(), which is very unfortunate. Add a (void *) cast to + explicitly avoid the warning when compiling with -Werror. + + For the IO vector related stuff, signed vs. unsigned comes into play so + adding a (void *) cast here is technically correct for all platforms. + +2012-02-12 Yonit Halperin <yhalperi@redhat.com> + + server: support IPV6 addresses in channel events sent to qemu + RHBZ #788444 + + CC: Gerd Hoffmann <kraxel@redhat.com> + +2012-02-09 Erlon Cruz <erlon.cruz@br.flextronics.com> + + Fix mandatory -Werror option + Compilation was breaking due to warning errors even when configuring with + --enable-werror=no. This patch fix this. + +2012-02-03 Christophe Fergeau <cfergeau@redhat.com> + + Handle Application::set_hotkeys failure + Application::set_hotkeys can throw an exception if it fails parsing + the string describing the hotkeys to set. Currently this exception + is uncaught which causes spicec to terminate when the controller + tries to set invalid hotkeys. Fall back to using the default + hotkeys when the controller sends an invalid hotkeys string. + +2012-01-31 Christophe Fergeau <cfergeau@redhat.com> + + Don't use "hw:0,0" for recording with alsa + We currently hardcode this device when spicec needs to record with + alsa. However, this doesn't interact well with PulseAudio, which + means that if something is already using the recording device, spicec + won't be able to open it again. + Using "default" as the device will let spicec use the PulseAudio + alsa support and will avoid this issue. + +2012-01-23 Hans de Goede <hdegoede@redhat.com> + + More comparison between signed and unsigned integer expressions warning fixes + Turns out that more recent snapshots of gcc-4.7 emit even more of these, + so the fixes which I've done before tagging the 0.10.1 release are not + enough to build warning free with the latest gcc-4.7 snapshot <sigh>. + + This fixes this. + + Release 0.10.1 + + Fix various comparison between signed and unsigned integer expressions warnings + These turn into errors because of our -Werror use, breaking the build. + +2012-01-23 Alon Levy <alevy@redhat.com> + + server/red_channel: red_peer_handle_incoming: comment on null check + + server/tests/test_empty_success: fix warning on bzero + +2012-01-23 Dan McGee <dpmcgee@gmail.com> + + Use found python binary to check for pyparsing + This matches what we do in client/Makefile.am to actually run the + python scripts, which is to use the python binary we find first, + preferring 'python2' over 'python'. This makes the compile work on odd + systems such as Arch Linux where the python binary is actually python3. + + Remove epoll headers from client code + There is no more usage of epoll on the client side, so no need to + include these header files. + +2012-01-23 Nahum Shalman <nshalman-github@elys.com> + + server: don't complain if setsockopt(SO_PRIORITY) call fails + dc7855967f4e did this for the TCP_NODELAY and IP_TOS calls; we should do + it for priority as well if necessary. + + We also #ifdef the setting of the low-level socket priority based on + whether we have a definition of SO_PRIORITY available. This option is + not available on Illumos/Solaris platforms; however, since we set IP_TOS + anyway it is not a big deal to omit it here. + +2012-01-23 Dan McGee <dpmcgee@gmail.com> + + server/inputs_channel: don't set O_ASYNC option on socket + output to send a SIGIO signal to the running program. However, we don't + handle this signal anywhere in the code, so setting the option is + unnecessary. + + Update .gitignore with a few more generated files + + Fix git commit hook errors in red_worker + This ensures all line lengths are down below 100 characters as well as + removing some trailing spaces. + + Fix line length errors in main_channel + These are all existing errors; fix them so they don't block future + commits in this file unnecessarily. + + error (1): length @ server/main_channel.c +369 + error (2): length @ server/main_channel.c +444 + error (3): length @ server/main_channel.c +764 + error (4): length @ server/main_channel.c +932 + error (5): length @ server/main_channel.c +1044 + +2012-01-22 Alon Levy <alevy@redhat.com> + + docs/Spice_for_newbies.odt: some updates - added copy paste and wan mention, removed vdi_port + + server/red_channel: avoid segfault if stream == NULL + + client/foreign_menu: arm build fix + + import existing odt docs + +2012-01-18 Hans de Goede <hdegoede@redhat.com> + + server: Don't complain if setsockopt NODELAY fails on unix sockets + With Daniel P. Berrange's patches to allow use of pre-supplied fd's + as channels, we can no longer be sure that our connections are TCP + sockets, so it makes no sense to complain if a TCP/IP specific + setsockopt fails with an errno of ENOTSUP. + + Note that this extends Daniel's commit 492ddb5d1d595e2d12208f4602b18e4432f4e6b4 + which already added the same check to server/inputs_channel.c + +2012-01-13 Daniel P. Berrange <berrange@redhat.com> + + Add a 'syntax-check' make target + The 'make syntax-check' target is used to perform various code + style sanity checks, as well as to detect certain trivial error + patterns. The target is placed in GNUmakefile, instead of Makefile.am + since it relies on GNU specific make extensions. + + The actual GNUmakefile and maint.mk files are taken from the + GNULIB project, unchanged + + The cfg.mk file is used to configure which of the syntax checks + are activated, to allow addition of new project specific syntax + checks, and to blacklist certain files which should not be checked + + * .mailmap: Add mapping for various broken email addrs in + commit log, to stop complaints about AUTHORS file missing + entries + * GNUmakefile: define the 'syntax-check' rule + * maint.mk: definition of standard syntax checks + * cfg.mk: configuration for checks + + Remove trailing whitespace from end of lines + + Replace test XXX -a YYY with test XXX && test YYY + The '-a' and '-o' operators to test are not portable. Always + combine two invocations of 'test' using || or && instead. + + Add missing includes of config.h + Not all files were including config.h + + Remove bogus include of strings.h + The tests include strings.h but don't need any of its functions + + Remove unused backup file + The common/glc.c.save file appears to be a obsolete copy of + glc.c + + Remove trailing blank lines + Remove any blank lines at the end of all source files + + Remove 'the the' typos + + Remove unused assert.h include + The assert.h include was never used in any code + + Always quote first arg to AC_DEFINE + The first arg to AC_DEFINE should always be quoted + + Fix up copyright decl to always use 'Copyright (C) Red Hat, Inc.' + A couple of files were missing '(C)' in the copyright header + + Improve usefulness of README file + The COPYING file already contains the license text, so the README + file need not repeat it. Instead put in a description of what + SPICE is, simple install instructions & pointers to mailing lists + and bug trackers + + Fill out the AUTHORS file with some content + The AUTHORS file is empty, fill it in with a list of present and + past maintainers, and email addresses of all people who have + contributed patches + + Remove casts from void * with xrealloc() calls + The xrealloc() function returns void*, so the return value + never needs to be cast + + Rewrite code to avoid triggering warning about casting param to free() + Since free() takes a void* parameters do not need to be cast. + + The existing code here is actally fine, but it trips up the + syntax-check rule, so tweak it to an equivalent construct + which passes the syntax check + + Remove useless if() before free() + The free() function allows NULL to be passed in, so any + code which puts a if() before free() is wasting time + + Death to all TABs + Source files should all use spaces instead of tabs for + indentation. Update the few files not already in + compliance + +2012-01-13 Alon Levy <alevy@redhat.com> + + common/ssl_verify: special case to WIN32 that isn't MINGW32 + + common/bitops: mingw32: reorder so __GNUC__ define is checked first + + common/backtrace: for mingw32 no pipe/wait_pid, just disable + + client/windows: fix several assigned but not used errors + + client/windows: arraysize(inf.bmiColors) == 1 in mingw32 + + client/windows: fix typo, make error messages unique + + client/windows/main: mingw32 provides PACKAGE_VERSION + + client/common: mingw32: workaround HAVE_STDLIB_H redefined in jconfig.h + + client: mingw32 build needs the jpeg_boolean define + + client/common.h: mingw32 fix + define PACKAGE_VERSION only ifndef __GNUC__ + Since it is defined by autoconf and so it kinda comes with using the GNU + compilers. + + client/Makefile.am: mingw32 fixes + * build resource file with windres + * include client/windows and not client/x11 + * use CXIMAGE_CFLAGS (it's already set to -DDISABLE_CXIMAGE correctly) + + client: log command line (rhbz 767581) + +2012-01-13 Hans de Goede <hdegoede@redhat.com> + + client-x11: Fix building with gcc-4.7 + Without this change gcc says: + x11/res.cpp:31:1: error: narrowing conversion of ‘(((unsigned int)_alt_image.<anonymous struct>::width) * 4u)’ from ‘unsigned int’ to ‘int’ inside { } is ill-formed in C++11 [-Werror=narrowing] + x11/res.cpp:61:1: error: narrowing conversion of ‘_red_icon.<anonymous struct>::width’ from ‘const uint32_t {aka const unsigned int}’ to ‘int’ inside { } is ill-formed in C++11 [-Werror=narrowing] + x11/res.cpp:61:1: error: narrowing conversion of ‘_red_icon.<anonymous struct>::height’ from ‘const uint32_t {aka const unsigned int}’ to ‘int’ inside { } is ill-formed in C++11 [-Werror=narrowing] + cc1plus: all warnings being treated as errors + + smartcard handling: Fix compilation when ASSERT-s are turned on + +2012-01-12 Yonit Halperin <yhalperi@redhat.com> + + server: add support for SPICE_COMMON_CAP_MINI_HEADER + Support for a header without a serial and without sub list. + red_channel: Support the two types of headers. + Keep a consistent consecutive messages serial. + red_worker: use urgent marshaller instead of sub list. + snd_worker: Sound channels need special support since they still don't use + red_channel for sending & receiving. + + configure: spice-protocol >= 0.10.1 (mini header support) + + server: Limit the access to SpiceDataHeader of messages - only via red_channel. + + server/red_worker: pass remote caps to display/cursor red_channel_client's + + server/red_channel: introduce urgent marshaller + When red_channel::red_channel_client_begin_send_message is called, + the message that is pending in the urgent marshaller will be sent before + the one in the main channel. + The urgent marshaller should be used if in the middle of marshalling one message, + you find out you need to send another message before. This functionality + is equivalent to the sub_list messages. It will replace them in the following + patches, when sub_list is removed from Spice data header. + + spice.proto: add SPICE_MSG_LIST to base channel + +2012-01-12 Hans de Goede <hdegoede@redhat.com> + + codegen: Fix enums.h generation + With the new usbredir code we have the new concept of the abstract / + generic spicevmc channel type (which just tunnels data from a qemu chardev), + and we've the usbredir channel, which is the only current user of this. + + This was reflected in the protocols enum in spice-protocol.h by a manual + edit done by me, my bad. This patch teaches spice.proto about the relation + between the abstract spicevmc channel and the usbredir channel and + modifies codegen to deal with this. + +2012-01-09 Daniel P. Berrange <berrange@redhat.com> + + Do not assume that SPICE is using a TCP socket + If setting the TCP_NODELAY socket option fails with ENOTSUP, + then don't treat this is a fatal error. SPICE is likely just + running over a UNIX socket instead. + + * server/inputs_channel.c: Ignore TCP_NODELAY socket opt fails + + Allow auth to be skipped when attaching to pre-accepted clients + When an applications passes in a pre-accepted socket for a + client, they may well have already performed suitable authentication + out of band. They should thus have the option to request that any + spice authentication is skipped. + + * server/reds.c, spice.h: Add flag for skipping auth + + Add APIs for injecting a client connection socket + Allow applications to pass a pre-accepted client socket file + descriptor in. The new APIs are spice_server_add_ssl_client + and spice_server_add_client + + * server/reds.c: Implement new APIs + * server/spice.h: Define new APIs + + Move SSL setup out of reds_accept_ssl_connection + To allow setup of an SSL client, from a passed in client + socket, move all the SSL client initialization code out + of reds_accept_ssl_connection and into a new method called + reds_init_client_ssl_connection + + * server/reds.c: Introduce reds_init_client_ssl_connection + + Rename __reds_accept_connection into reds_init_client_connection + Remove the accept() call from __reds_accept_connection and + rename it to reds_init_client_connection. The caller is now + responsible for accepting the new socket. The method + reds_init_client_connection merely initializes it for + usage. + + * server/reds.c: Add reds_init_client_connection + + Merge reds_accept_connection into reds_accept + Neither reds_accept_connection or reds_accept are very long, + so the split is pointless & increases code size for no gain. + Merge them together to reduce code size + + * server/reds.c: Merge reds_accept_connection into reds_accept + +2011-12-22 Hans de Goede <hdegoede@redhat.com> + + spicevmc: Set sockopt nodelay for usbredir channels + We want as little latency as possible with usb channels. + +2011-12-22 Yonit Halperin <yhalperi@redhat.com> + + server: don't reset the display channel when disconnecting all its clients ,FDBZ #43977 + The display channel was unnecessarily set to NULL when we disconnect all the clients + (on flush display commands timeout). + As a result, we recreated the display channel when a new client was connected. + The display channel was created with default red_channel.client_cbs, while its + correct client_cbs are the ones that are set by the red_dispatcher when it creates + the first display_channel. + This fix enforces a single creation of the display channel (per qxl), via the red_dispatcher. + +2011-12-22 Uri Lublin <uril@redhat.com> + + client: screen: fix typo _forec_update_timer + sed -i 's/_forec_update_timer/_force_update_timer/' screen.cpp screen.h + + client: RedScreen::RedScreen: fix initialization order of _menu_needs_update + Related to a91b0b3ff712eb2a7d91a951f2af7842495357c3 + +2011-12-20 Uri Lublin <uril@redhat.com> + + client: foreign-menu: pass "active" param when creating a ForeignMenu (#769020) + The default stays the same -- false. + + A race could prevent setting ForeignMenu::_active correctly. + That happened when Application::on_app_activated was called before + _foriegn_menu was created. When foriegn_menu was created its + _active defaults to false, and that has not changed, until focus + was taken out and back in spice-client window. + + This caused usbrdr to sometimes not auto-share devices, unless + the user switched focus to a different application and back to + spicec. + + The fix updates ForiegnMenu::_active upon creation. + + client: update menu if needed when exiting full-screen mode (#758260) + + client: menu: make RedWindow::set_menu() return an error-code (#758260) + RedWindow::set_menu() can fail (on Windows when in fullscreen mode). + For Windows spice-client, when in fullscreen mode, the system-menu + is NULL. + + Returns 0 upon success, non-0 (currently only -1) upon failure. + + client controller/foreign_menu: use memmove instead of memcpy in readers + When src/dst memory areas may overlap, it's safer to use memmove. + +2011-12-18 Hans de Goede <hdegoede@redhat.com> + + spicevmc: Fix assert when still connected on session disconnect (fdo#43903) + Currently when the main channel disconnects while a spicevmc channel + (such as a usbredir channel) is still connected, qemu will abort with the + following message: + ring_remove: ASSERT item->next != NULL && item->prev != NULL failed + + This is caused by red_client_destroy() first calling: + rcc->channel->client_cbs.disconnect(rcc); + And then calling: + red_channel_client_destroy(rcc); + + For each channel. This is fine, but the spicevmc disconnect code does a + red_channel_client_destroy(rcc) itself since as usb devices are added + / removed, the channels carrying their traffic get connected / disconnected + and they get re-used for new devices, which won't work if the old channel is + still there when the new connection comes in. + + This patch fixes the double destroy when there are still spicevmc channels + connected by not doing the red_channel_client_destroy from the spicevmc + disconnect code when not just the channel, but the entire client is + disconnecting. + +2011-12-15 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: remove unused variable + +2011-12-15 Hans de Goede <hdegoede@redhat.com> + + server/red_parse_qxl.h: License should be LGPLv2+ rather then GPLv2+ + Also fixup the header of server/red_parse_qxl.c, which still contained + some GPL (program rather then library) text in its header. + +2011-12-14 Marc-André Lureau <marcandre.lureau@redhat.com> + + spelling: s/cupture/capture + +2011-11-28 Jürg Billeter <j@bitron.ch> + + server: Move $(Z_LIBS) from INCLUDES to LIBADD in Makefile.am + This fixes undefined references to deflate* when building tests. + +2011-11-24 Gal Hammer <ghammer@redhat.com> + + client: handle the redundant right ctrl windows' message send when a alt-gr is pressed bz#709074 + Hello, + + The second patch check to see if Windows is sending a fake VK_CONTROL + message when the user pressed Alt-Gr when using a non-US keyboard layout + (German, Czech, etc...). + + If the function is_fake_ctrl return true and key event is translated to + a REDKEY_INVALID and the event is discarded. + + Gal. + + client: handle the redundant right ctrl windows' message send when a alt-gr is pressed bz#709074 + Hello, + + I first updated the translate_key function. It now requires the windows + message as parameter (will be used later). It also use the raw wparam + and lparam parameters in order to remove the code duplication when + calling the function. + + Gal. + +2011-11-14 Arnon Gilboa <agilboa@redhat.com> + + client: add xinerama support + RHEL-6 Bugzilla: 695323 + + cherry-picked from qspice commit + 003667ac99beeec9b330a07bc3569c59a96d4588 + which fixes RHEL-5 541566 + + with merge of the one line qspice fix to SPICE_REQUIRES: + 9f3fe4755f11044a45c4b21148466a997fcbf735 + spice: fixed reference to xinerama pkg config file + (Xinerama.pc=>xinerama.pc) + Author: Yonit Halperin <yhalperi@redhat.com> + +2011-11-10 Alon Levy <alevy@redhat.com> + + Release 0.10.0 + + Update NEWS for 0.10.0 release + + server/mjpeg_encoder: use size_t * consistently + fix another 64 bit-ism. unsigned long != size_t in general. + + server/main_channel: fix pointer-to-int-cast error + 64 bit-ism removed. + + server/main_channel: use PRIu64 where needed + +2011-11-08 Alon Levy <alevy@redhat.com> + + server/spice-server.syms: fix 0.8 compatibility + spice_server_migrate_connect is in 0.8.3 in the released 0.8 branch, + and so should not be changed in 0.10. This doesn't break the 0.9.1 + release which didn't contain this symbol at all, only 0.9.2 release + that hopefully no one actually packaged. + + server/red_worker: reuse dispatcher + This patch reuses Dispatcher in RedDispatcher. It adds two helpers + to red_worker to keep RedWorker opaque to the outside. The dispatcher is + abused in three places that use the underlying socket directly: + once sending a READY after red_init completes + once for each channel creation, replying with the RedChannel instance + for cursor and display. + + FDO Bugzilla: 42463 + + rfc->v1: + * move callbacks to red_worker.c including registration (Yonit) + * rename dispatcher to red_dispatcher in red_worker.c and red_dispatcher.c + * add accessor red_dispatcher_get_dispatcher + * s/dispatcher_handle_recv/dispatcher_handle_recv_read/ and change sig to + just Dispatcher *dispatcher (was the SpiceCoreInterface one) + * remove SpiceCoreInterface parameter from dispatcher_init (Yonit) + * main_dispatcher needed it for channel_event so it has it in + struct MainDispatcher + * add dispatcher_get_recv_fd for red_worker + + server/dispatcher: add dispatcher_register_async_done_callback + + introduce DISPATCHER_{NONE,ACK,ASYNC} + + server: introduce dispatcher + used for main_dispatcher only in this patch. + + Dispatcher is meant to be used for Main<->any low frequency messages. + + It's interface is meant to include the red_dispatcher usage: + fixed size messages per message type + some messages require an ack + + Some methods are added to be used by RedDispatcher later: + dispatcher_handle_read - to be called directly by RedDispatcher epoll + based loop + dispatcher_set_opaque - to be set from red_worker pthread + dispatcher_init - allow NULL core as used by red_worker + + Read and Write behavior: + Sender: blocking write, blocking read for ack (if any). + Reader: poll for any data, if such then blocking read for a + message_type and following message. repeat until poll returns + with no pending data to read. + + FDO Bugzilla: 42463 + +2011-11-07 Alon Levy <alevy@redhat.com> + + server/red_dispatcher: remove semicolon from DBG_ASYNC + + server: add prefix argument to red_printf_debug + printed before function name. No central location for prefixes. + Adding "WORKER", "ASYNC", "MAIN" since those were the current users. + + server/red_dispatcher: support concurrent asyncs + This is part of the dispatcher update, extracting the dispatcher routine + from red_dispatcher and main_dispatcher into dispatcher. + + Supporting multiple async operations will make it natural to support + async monitor commands and async guest io requests that could overlap in + time. + + Use a Ring for AsyncCommands. + + Free Desktop Bugzilla: 42463 + + Related FD: 41622 + + common/spice_common.h: red_printf_debug: fix wrong sign + +2011-11-02 Yonit Halperin <yhalperi@redhat.com> + + Release 0.9.2 + + client: support semi-seamless migration between spice servers with different protocols. + It can't actually happen right now, since switch-host migration scheme will take + place if the src/target server has protocol 1. + (cherry picked from commit 4b2bf4d88c253502003aa5e4b93a045742eec9b4 branch 0.8) + + client: display channel - destroy all surfaces on disconnect + Fix not destroying surfaces and other data (e.g., streams) upon disconnection. + (cherry picked from commit 010b22cd771b7e81363b4b6521e4265b093fcd25 branch 0.8) + + client: display channel migration (cherry picked from commit cad3c585444f940f60c12789f4174f2d32bec70f branch 0.8) + Conflicts: + + client/display_channel.cpp + + client: playback/record channels: implement on_disconnect (cherry picked from commit d3ed9d5e9d52ddcadcb3c8c77dd827b50071d813 branch 0.8) + + client: main channel migration: do partial cleanup when switching hosts + Implement on_disconnect_mig_src and on_connect_mig_target in order to avoid + unnecessary cleanups done in on_(disconnet|connect). + In addition, do not request guest display settings changes after migration. + (cherry picked from commit f91d202eb3bf631cf5e70277d1aabffec7da9393 branch 0.8) + + client: handle SPICE_MSG_MAIN_MIGRATE_END + (1) disconnect all channels from the migration src + (2) after all channels are disconnected, clean global resources + (3) send SPICE_MSGC_MAIN_MIGRATE_END to migration target + (4) wait for SPICE_MSG_MAIN_INIT + (4) switch all channels to migration target + (cherry picked from commit 510a4ff7c4f188fe6d0fb12198b8f9fdb74b9a2d branch 0.8) + + Conflicts: + + client/red_channel.h + + client: handle SpiceMsgMainMigrationBegin (semi-seamless migration) + RHBZ 725009, 738270 + (cherry picked from commit 31ed2519a752b7332ed40d0d7ab02e938c0e65cb branch 0.8) + + Conflicts: + + client/red_client.cpp + + client: rewrite surfaces cache + use std::map instead of a specific template (CHash). + There is no need for special template. Moreover, using + std::map will allow easy iteration over the surfaces. + (cherry picked from commit fcb3b4ce5231218bcf949da4270bd85a2cfb3535 branch 0.8) + + Conflicts: + + client/display_channel.cpp + + server: turn spice_server_migrate_start into a valid call + We will add a qemu call to spice_server_migrate_start when migration starts. + For now, it does nothing, but we may need this notification in the future. + (cherry picked from commit b8213167717979e6f2fb52646e43eb458634e6a1 branch 0.8) + + server: handling semi-seamless migration in the target side + (1) not sending anything to a migrated client till we recieve SPICE_MSGC_MIGRATE_END + (2) start a new client migration (handle client_migrate_info) only after SPICE_MSGC_MIGRATE_END + from the previous migration was received for this client + (3) use the correct ticket + + Note: we assume the same channles are linked before and ater migration. i.e., + SPICE_MSGC_MAIN_ATTACH_CHANNELS is not sent from the clients. + + server: move the linking of channels to a separate routine + + server: handle spice_server_migrate_end + If the migration has completed successfully: + (1) send MSG_MAIN_MIGRATE_END to the clients that are connected to the target + (2) send MSG_MAIN_SWITCH_HOST to all the other clients + + If the migration failed, send MSG_MAIN_MIGRATE_CANCEL to clients that are + connected to the target. + + (cherry picked from commit 4b82580fc36228af13db4ac3c403753d6b5c40b5 branch 0.8; + Was modified to support multiple clients, and the separation of main_channel from reds) + + Conflicts: + + server/reds.c + + spice.proto: add SPICE_MSG_MAIN_MIGRATE_END & SPICE_MSGC_MAIN_MIGRATE_END + (cherry picked from commit cfbd07710562e522179ae5a7085a789489a821bb branch 0.8) + + server,proto: tell the clients to connect to the migration target before migraton starts + (1) send SPICE_MSG_MAIN_MIGRATE_BEGIN upon spice_server_migrate_connect + (to all the clients that support it) + (2) wait for SPICE_MSGC_MAIN_MIGRATE_(CONNECTED|CONNECT_ERROR) from all the relevant clients, + or a timeout, in order to complete client_migrate_info monitor command + (cherry picked from commit 5560c56ef05c74da5e0e0825dc1f134019593cad branch 0.8; + Was modified to support the separation of main channel from reds, and multiple clients) + + Conflicts: + + server/reds.c + + configure: spice-protocol >= 0.9.1 (semi-seamless migration protocol) (cherry picked from commit 55ccc022ec9829523ebe36fdf0ec7c593ce76c22 branch 0.8) + Conflicts: + + configure.ac + + server: handle migration interface addition + (cherry picked from commit 3ac0075cdac8fa42de47a7882022795e96cb1fee branch 0.8) + + Conflicts: + + server/reds.h + + server/spice.h: semi-seamless migration interface, RHBZ #738266 + semi-seamless migration details: + + migration source side + --------------------- + (1) spice_server_migrate_connect (*): tell client to link + to the target side - send SPICE_MSG_MAIN_MIGRATE_BEGIN. + This should be called upon client_migrate_info cmd. + client_migrate_info is asynchronous. + (2) Complete spice_server_migrate_connect only when the client has been connected + to the target - wait for SPICE_MSGC_MAIN_MIGRATE_(CONNECTED|CONNECT_ERROR) or a timeout. + (3) spice_server_migrate_end: tell client migration it can switch to the target - send + SPICE_MSG_MAIN_MIGRATE_END. + (4) client cleans up all data related to the connection to the source and switches to the target. + It sends SPICE_MSGC_MAIN_MIGRATE_END. + + migration target side + --------------------- + (1) the server identifies itself as a migraiton target since the client is linked with (connection_id != 0) + (2) server doesn't start the channels' logic (channel->link) till it receives SPICE_MSGC_MAIN_MIGRATE_END + from the client. + + * After migration starts, the target qemu is blocked and cannot accept new spice client + connections. Thus, we trigger the connection to the target upon client_migrate_info + command. + (cherry picked from commit 6e56bea67c5648b0c81990171d4bc0cf1a402043 branch 0.8) + + Conflicts: + + server/spice.h + + server: set & test channel capabilities in red_channel + The code for setting and testing channel capabilities was + unnecessarily duplicated. Now it is in red_channel. + RedsChannel was dropped from Reds; It was used only for holding + the channels common capabilities, which are now held in RedChannel. + +2011-10-31 Alon Levy <alevy@redhat.com> + + [0.8 branch] server: add main_dispatcher + add main_dispatcher, a message passing mechanism for sending messages to + the main thread. The main thread is the thread that implements + SpiceCoreInterface, which is assumed to be a single thread. + + Similar to the async operation of red_worker, a socket pair is created + and used to pass messages. The messages are a fixed size to ease + parsing. A single message is defined to pass a channel_event. + + RHBZ: 746950 + FDBZ: 41858 + + This patch is 0.8 branch only, for the master branch there should be a + better approach to share code with red_dispatcher and ready the way for + later adding more threads. + + cherry-pick from 0.8 80caf07e09efe14c67f89a3c01501a6a39681167 + + Conflicts: + + server/reds.c + +2011-10-23 Liang Guo <bluestonechina@gmail.com> + + spice-server.pc.in: move Requires to Requires.private + When using pkg-config, Requires and Requires.private field list + packages required by this package, but packages listed under + Requires.private are not taken into account when a flag list is + computed for dynamically linked executable. In the situation + where each .pc file corresponds to a library, Requires.private + shall be used exclusively to specify the dependencies between + the libraries. + +2011-10-18 Yonit Halperin <yhalperi@redhat.com> + + server/red_worker: fix placing of ASSERT(red_channel_client_no_item_being_sent) (fdbz #41523) + Call ASSERT(red_channel_client_no_item_being_sent) only if + red_wait_outgoing_item/s did not timeout. + +2011-10-05 Christophe Fergeau <cfergeau@redhat.com> + + client/x11: reset screen positions in XMonitor::do_restore + XMonitor::do_restore (called for example when going out of + fullscreen) restore the screen resolution to its previous state, + but it doesn't take care of repositioning the screen to their + previous position, which is one of the advantages of using randr + 1.2. + Since MultyMonScreen::restore handles all of this for us, just call + it to restore the monitor position/resolutions to their previous + settings. Before doing any changes, MultyMonScreen::restore checks + if there's something to do, so calling it once per monitor won't be + an issue, the resolution/position will only be set the first time. + + This has the side-effect of fixing bug #693431. This bug occurs when + closing the client after the client went in and out of fullscreen. + MultyMonScreen::~MultyMonScreen calls MultyMonScreen::restore, which + decides to change the screen positions since they were lost when going + to fullscreen because XMonitor::restore didn't restore the positions. + After this change, the positions will be properly restored and + MultyMonScreen::restore won't be needlessly called upon client + shutdown. + + client/x11: fix mode setting in MultyMonScreen::restore + MultyMonScreen::restore changes the X11 Screen resolution, but it + doesn't use MultyMonScreen::set_size. This means + MultyMonScreen::_width and MultyMonScreen::_height don't get + updated to reflect the new resolution settings, which could cause + issues later on. Until now this was safe since the only caller of + MultyMonScreen::restore was MultyMonScreen destructor. + + client/x11: fix typos (finde => find) + +2011-09-20 Christophe Fergeau <cfergeau@redhat.com> + + client: fix typo commnad=>command + +2011-09-19 Christophe Fergeau <cfergeau@redhat.com> + + client: don't crash when booting a Xinerama setup + In a Xinerama setup, when X starts up and creates one of the + secondary screens, first a non-primary surface is created on the + secondary screen, and then the primary surface for this screen is + created. + This causes a crash when the guest uses Xinerama and the client + is attached to the VM before X starts (ie while the guest is + booting). + This happens because DisplayChannel::create_canvas (which is called + when creating a non-primary surface) assumes a screen has already been + set for the DisplayChannel while this only happens upon primary surface + creation. However, it uses the screen for non important stuff, so we + can test if screen() is non NULL before using it. This is what is done + in other parts of this file. + + Fixes rhbz #732423 + + replace warning with comment in glz_usr_free_image + When running some xinerama tests, I got several + glz_usr_free_image: error + messages. Looking at the code, this error is reported when this + function is called from a different DisplayChannelClient than the + one which created the glz compressed image. + When this happens, the backtrace is + at glz_encoder_dictionary.c:362 + 0x7fff940b6670) at glz_encoder_dictionary.c:449 + image_type=LZ_IMAGE_TYPE_RGB32, image_width=512, image_height=256, image_stride=2048, first_lines=0x0, + num_first_lines=0, usr_image_context=0x7fff7420da40, image_head_dist=0x7fff9b2a3194) + at glz_encoder_dictionary.c:570 + top_down=4, lines=0x0, num_lines=0, stride=2048, io_ptr=0x7fff740ea7c0 " ZL", num_io_bytes=65536, usr_context= + 0x7fff7420da40, o_enc_dict_context=0x7fff7420da60) at glz_encoder.c:255 + drawable=0x7fff9b46bc08, o_comp_data=0x7fff9b2a3350) at red_worker.c:5753 + 0x7fff9b46bc08, can_lossy=0, o_comp_data=0x7fff9b2a3350) at red_worker.c:6211 + 0x7fff9b46bc08, can_lossy=0) at red_worker.c:6344 + 0x7fff74085c50, dpi=0x7fff7445b890, src_allowed_lossy=0) at red_worker.c:7046 + 0x7fff7445b890) at red_worker.c:7720 + at red_worker.c:7964 + at red_worker.c:8431 + + Since the glz dictionary is shared between all the + DisplayChannelClient instances that belong to the same client, it can + happen that the glz dictionary code decides to free an image from one + thread while it was added from another thread (thread == + DisplayChannelClient), so the error message that is printed is not an + actual error. This commit removes this message and adds a comment + explaining what's going on. + +2011-09-15 Christophe Fergeau <cfergeau@redhat.com> + + fix typos + applicaion => application + Attache => Attach + Detache => Detach + _layes => _layers + +2011-09-05 Christophe Fergeau <cfergeau@redhat.com> + + server: fix function prototypes + Several functions in server/ were not specifying an argument list, + ie they were declared as void foo(); When compiling with + -Wstrict-prototypes, this leads to: + test_playback.c:93:5: erreur: function declaration isn’t a prototype + [-Werror=strict-prototypes] + +2011-09-01 Marc-André Lureau <marcandre.lureau@redhat.com> + + fix bug #692833 + +2011-09-01 Christophe Fergeau <cfergeau@redhat.com> + + add C++ guards to backtrace.h + Without these, spice_backtrace() can't be used from the C++ client + code. + + server: init all fields on SpiceMsgDisplayStreamCreate + red_display_marshall_stream_start initializes a + SpiceMsgDisplayStreamCreate structure before marshalling it and + sending it on the wire. However, it never fills + SpiceMsgDisplayStreamCreate::stamp which then causes a complaint + from valgrind. This patch sets this value to 0, it's not used + by the client so the value shouldn't matter. + + fix valgrind warning in test_display__stream + create_test_primary_surface::test_display_base.c creates a + QXLDevSurfaceCreate structure and initialize it, but doesn't set + the position field. Moreover, this structure has 4 bytes of padding + to the end (as shown by pahole from dwarves), so initialize the whole + structure to 0 before using it. + +2011-08-25 Hans de Goede <hdegoede@redhat.com> + + Fixup NEWS entry for multiclient + + Release 0.9.1 + + fix more inverted memset parameters + +2011-08-25 Christophe Fergeau <cfergeau@redhat.com> + + fix leak in do_jpeg_encode + Issue found by the Coverity scanner. + + HDG: Fixup don't free RGB24_line if it was not allocated by do_jpeg_encode + + fix memory leak in error path + Issue found by the Coverity scanner + + fix inverted memset parameters + Issue found by the Coverity scanner. + +2011-08-25 Hans de Goede <hdegoede@redhat.com> + + Rename usbredir channel code to spicevmc + While discussing various things with Alon in Vancouver, it came up that + having a channel which simply passes through data coming out of a qemu + chardev frontend unmodified, like the usbredir channel does, can be used + for a lot of other cases too. To facilitate this the usbredir channel code + will be turned into a generic spicevmc channel, which is just a passthrough + to the client, from the spicevmc chardev. + + This patch renames usbredir.c to spicevmc.c and changes the prefix of all + functions / structs to match. This should make clear that the code is not + usbredir specific. + + Some examples of why having a generic spicevmc pass through is good: + 1) We could add a monitor channel, allowing access to the qemu monitor from + the spice client, since the monitor is a chardev frontend we could re-use + the generic spicevmc channel server code, so all that is needed to add this + (server side) would be reserving a new channel id for this. + + 2) We could allow users to come up with new channels of their own, without + requiring qemu or server modification. The idea is to allow doing something + like this on the qemu startup cmdline: + -chardev spicevmc,name=generic,channelid=128 + + To ensure these new "generic" channels cannot conflict with newly added + official types, they must start at the SPICE_CHANNEL_USER_DEFINED_START value + (128). + + These new user defined channels could then either be used with a special + modified client, with client plugins (if we add support for those), or + by exporting them on the client side for use by an external ap, see below. + + 3) We could also add support to the client to make user-defined channels + end in a unix socket / pipe, allowing handling of the data by an external app, + we could for example have a new spice client cmdline argument like this: + --custom-channel unixsocket=/tmp/mysocket,channelid=128 + + This would allow for something like: + $random app on guest -> virtio-serial -> spicevmc chardev -> + -> spicevmc channel -> unix socket -> $random app on client + + 4) On hind sight this could also have been used for the smartcard stuff, + with a 1 channel / reader model, rather then the current multiplexing code + where we've our own multiplexing protocol wrapper over the libcacard + smartcard protocol. + + usbredir: Merge UsbRedirState and UsbRedirChannel + Now that the Channel struct is gone and the RedChannel has the same lifetime + as the chardev interface there is no need to have these 2 separate. + + usbredir: Fix crash caused by MC changes + + usbredir: Ensure that our msg_rcv_buf is not used re-entrantly + + red_channel: Fix msg buf memleak on parser error + +2011-08-25 Yonit Halperin <yhalperi@redhat.com> + + client: setting monitors resolution before resizing screens, RHBZ #728252 + fix for "client: fix endless recursion in rearrange_monitors, RHBZ #692976" + +2011-08-23 Alon Levy <alevy@redhat.com> + + server: add tester and todo for multiple client support + + server/snd_worker.c: add reference counting to SndChannel + Fixes a valgrind discovered possible bug in spice-server - valgrind on + test_playback saw it, didn't see it happen with qemu. + + The problem is that the frames buffers returned by spice_server_playback_get_buffer + are part of the malloc'ed SndChannel, whose lifetime is smaller then that of SndWorker. + As a result a pointer to a previously returned spice_server_playback_get_buffer could + remain and be used after SndChannel has been freed because the client disconnected. + + server/reds: reds_client_disconnect: remove wrong check for reds_main_channel_connected + The "channel->disconnecting" parameter already protects against recursion. + + Removed fixed TODOs. + + server/reds: fix reds_main_channel_connected + instead of checking just for reds->main_channel check that there is at least + one client as well. + + server: add public spice_server_get_num_clients + + server/snd_worker.c: add red_channel_client_destroy_dummy + + server/red_channel: release channel allocated message buffer + handler->cb->release_msg_buf was not being called except in the error path, + causing a memory leak. + + server/main_channel: reduce verbose agent data command + by using the new SPICE_DEBUG_LEVEL. + +2011-08-23 Yonit Halperin <yhalperi@redhat.com> + + drawables count for debug + + server: registering RedChannel in reds, instead of Channel + Merging the functionality of reds::channel, into RedChannel. + In addition, cleanup and fix disconnection code: before this patch, + red_dispatcher_disconnect_display_client + could have been called from the red_worker thread + (and it must be called only from the io thread). + + RedChannel holds only connected channel clients. RedClient holds all the + channel clients that were created till it is destroyed + (and then it destroys them as well). + + Note: snd_channel still doesn't use red_channel, however it + creates dummy channel and channel clients, in order to register itself + in reds. + + server/red_channel.c: a channel is connected if it holds at least one channel client + + Previously I changed RedChannel to hold only connected channel clients and + RedClient, to hold all the channel clients as long as it is not destroyed. + + usbredir: multichannel has not been tested, it just compiles. + + server/red_channel.c inroducing client_cbs + client_cbs are supposed to be called from client context (reds). This patch will be used + in future patches for relacing reds::Channel with RedChannel in order to eliminate redundancy. + + server/red_channel.c: pack all channel callbacks to ChannelCbs + +2011-08-23 Alon Levy <alevy@redhat.com> + + server/red_worker: add ref counting to RedDrawable + introduces ref_red_drawable and put_red_drawable (rename from free_red_drawable) + + RedDrawable is already references by Drawable and RedGlzDrawable, with + a hack to NULL the drawable field in RedGlzDrawable to indicate RedGlzDrawable + is the last reference holder. Using an explicit reference count instead. + + server/red_worker: add stream_count (for debug purposes) + + server/red_worker: validate_surface: print paniced surface_id + + server/red_worker: no panic on double destroy primary + + server/red_worker: DEBUG_CURSORS + Add cursor allocation debugging code that is turned off as long as + DEBUG_CURSORS is not defined. + + server/red_worker: on_new_display_channel_client: push ack, cleanup + small cleanup patch, only functional change is sending a set ack message. + + server/red_worker: add cursor_channel_client_disconnect + makes RED_WORKER_MESSAGE_CURSOR_DISCONNECT_CLIENT disconnect only a + single client. + + server/red_worker: remove forced disconnect on connect + +2011-08-23 Yonit Halperin <yhalperi@redhat.com> + + server/red_worker.c: fix CursorPipeItem leak + CursorPipeItems and their corresponding cursor_item were not + freed when they were removed from the pipe without sending them. + In addition cursor_channel_hold_pipe_item used wrong conversion + to (CursorItem*) for a (CursorPipeItem*). + +2011-08-23 Alon Levy <alevy@redhat.com> + + server/red_worker: split cursor pipe item from cursor item + Required to support multiple clients. + Also changes somewhat the way we produce PIPE_ITEM_TYPE_LOCAL_CURSOR. Btw, + I haven't managed to see when we actually produce such an item during my + tests. + + Previously we had a single pipe item per CursorItem, this is impossible + with two pipes, which happens when we have two clients. + + server/red_worker: whitespace fixes + + server/reds: add RedsState.allow_multiple_clients + Currently set by environment variable SPICE_DEBUG_ALLOW_MC (any value means + to allow multiple connections). Later will be set by spice api from qemu. + + server/red_channel: introduce client ring in RedChannel + Also adds Drawable pipes and glz rings. + + main_channel and red_worker had several locations that still accessed rcc + directly, so they had to be touched too, but the changes are minimal. + + Most changes are in red_channel: drop the single client reference in RedChannel + and add a ring of channels. + + Things missing / not done right in red_worker: + * StreamAgents are in DCC - right/wrong? + * GlzDict is multiplied - multiple compressions. + + We still are missing: + * remove the disconnect calls on new connections + + server/red_channel: add pipe_size helpers + + server/red_worker: remove more direct access to RedChannelClient.rcc + +2011-08-23 Yonit Halperin <yhalperi@redhat.com> + + server/red_worker.c: make dictionary and cache different per client + There is no inter-client shared dictionary and cache yet. + + At this point the display channel can be used by multiple clients. + + You can still crash on lack of Drawables or CursorItems due to the slower + clients pipe growing uncontrollably. + +2011-08-23 Alon Levy <alevy@redhat.com> + + server/red_worker: multiple client support - base split + This patch compiles but breaks spice. + + Split both display and cursor channels to a client part and channel part. + + Introduce DisplayChannelClient, CursorChannelClient, CommonChannelClient. + don't disconnect channel on client disconnect. + Move all caches to the ChannelClient's. + + Remove reference counting of the channel. + + No new functionality introduced. + + NOTE: Introduces a crash in disconnections, a regression, resulting from + incorrect thread access, that is fixed in the patch titled: + "server: registering RedChannel in reds, instead of Channel" + + server/red_worker: cleanup + + server/smartcard: support multiple clients + each client supplying a smartcard channel gets it's own smartcard. If + there are not enough smartcards provided by the server (read: qemu) + then it will be as though there are none. + + currently disabled - later patches that enable smartcard don't make + this channel available to any but the first client. + + server/red_tunnel_worker: trivial multi client support + s/TunnelChannel/TunnelChannelClient/ + + That's about it. this is probably the wrong way to do it. Not tested + at all. What do we want, a separate interface per client? same interface + for all clients? probably the later. This doesn't do that. Not tested, + so probably doesn't even work. + + changes red_channel_pipe_item_is_linked to red_channel_client_pipe_item_is_linked, + since tunnel channel is the only user, must be done in patch to not break compilation. + + server/inputs_channel: support multiple clients + from server events are broadcast - leds change. The rest is client + to server, so it is just passed on. + + server/main_channel: support multiple clients + The main channel deals with connecting new clients, announcing mouse mode + changes, and the agent channel. The implementation is currently done without + any changes to the protocol, so everything has to be either broadcast or + to a specific client. + + channels list - specific client + mouse mode - broadcast + agent - broadcast + notify - broadcast (should have two modes, and use the appropriate) + + Notable TODOs: + * migration testing + * agent tokens are wrongly sent (or did I fix that? check) + + server/red_channel: introduce pipes functions + Introduce functions to add (via producer method) the same item to multiple + pipes, all for the same channel. + + Note: Right now there is only a single channel, but the next patches will do the + per-channel breakdown to channel and channel_client before actually introducing + a ring in RedChannel, this makes it easier to make smaller changes - the + channel->rcc link will exist until removed in the ring introducing patch. + + server/red_channel: ignore error if already shutdown + on red_channel_peer_on_incoming_error, if we are already shutdown, do not + call the channel's error handler. Since the channel has been shutdown, we + assume this is a second or later error, and handling has already occured. + + server/main_channel: move connection_id from reds + Expose additional api to find a client given a connection_id. The connection_id + is first set when the first channel connects, which is the main channel. + It could also be kept in the RedClient instead, not sure. + + TODO: + multiple todo's added for multiclient handling. I don't remember why + I wrote them exactly, and besides if I did any migration tests. So: TODO. + + server/main_channel: move ping here from reds. + cleanup only. Note that the ping function is half used since the opt parameter + stopped being called with anything but NULL, should be returned at some point, + specifically when we drop the 250kbyte ping on start and do a continuous check + for latency and bandwidth. + + See: + 81945d897 - server: add new vd interface QTerm2Interface, Yaniv Kamay + introducing the usage of ping with a non NULL opt + 3f7ea8e7a - zap qterm interfaces, Gerd Hoffman + removing it + + server/main_channel: move latency and bitrate to channel client + They were globals before. This introduces api for other channels + to query the low bandwidth status. The queries themselves are still done + from the wrong context (channel and not channel client) but that's because + the decoupling of channel and channel client will be done in the following + patches. + + Note that snd_worker.c got two copied function declarations that belong to + main_channel.h but can't be easily dragged into snd_worker.c since it still + uses it's own RedChannel struct. + + server/reds: add concept of secondary channels + Secondary channels are those that don't support multiple clients. The + support added in this patch just doesn't let the second or more connected + client receive the unsupported channels in the channels list sent by the + server to the client. This doesn't handle the situation where: + + client A connects (gets all channels) + client B connects (gets supported multiple client channels) + client A disconnects (Suboptimal 1: B doesn't get new channels at this point) + client C connects (Suboptimal 2: C doesn't get the full list of channels, but + the partial one) + + Specifically the channels that only support a single client are: + sound (both playback and record channels) + smartcard + tunnel + + server: Add RedClient + That means RedClient tracks a ring of channels. Right now there will be only + a single client because of the disconnection mechanism - whenever a new + client comes we disconnect all existing clients. But this patch adds already + a ring of clients to reds.c (stored in RedServer). + + There is a known problem handling many connections and disconnections at the + same time, trigerrable easily by the following script: + + export NEW_DISPLAY=:3.0 + + Xephyr $NEW_DISPLAY -noreset & + for ((i = 0 ; i < 5; ++i)); do + for ((j = 0 ; j < 10; ++j)); do + DISPLAY=$NEW_DISPLAY c_win7x86_qxl_tests & + done + sleep 2; + done + + I fixed a few of the problems resulting from this in the same patch. This + required already introducing a few other changes: + * make sure all removal of channels happens in the main thread, for that + two additional dispatcher calls are added to remove a specific channel + client (RED_WORKER_MESSAGE_CURSOR_DISCONNECT_CLIENT and + RED_WORKER_MESSAGE_DISPLAY_DISCONNECT_CLIENT). + * change some asserts in input channel. + * make main channel disconnect not recursive + * introduce disconnect call back to red_channel_create_parser + + The remaining abort is from a double free in the main channel, still can't + find it (doesn't happen when running under valgrind - probably due to the + slowness resulting from that), but is easy to see when running under gdb. + + server/main_channel+reds: make main_channel_init return MainChannelClient + This makes it easier to introduce RedClient in the next patch. + + server/red_worker: release PIPE_ITEM_TYPE_VERB in display channel + We send a SPICE_MSG_DISPLAY_MARK verb. + + server/red_client: clear pipe on disconnect + + server/red_channel: workaround for fast client disconnect bug (TODO - real fix) + + server/main_channel: use MainChannel in sig + use MainChannel* instead of Channel* for a many functions in main_channel.h + (affects main_channel.c and reds.c). + + some one liner fixes are hidden in here too. + + server: move pipe from RedChannel to RedChannelClient + Another cleanup patch, no change to behavior (still one client, and it + disconnects previous client if any). + + The implementation for multiple client is straightforward: the pipe + remains per (channel,client) pair, so it needs to move from the RedChannel + that to RedChannelClient. Implementation using a single pipe with multiple + consumers (to reflect different latencies) doesn't fit well with pipe rewriting + that is used by the display channel. Additionally this approach is much simpler + to verify. Lastly it doesn't add considerable overhead (but see the display + channel changes in a later patch for a real place to rethink). + + This patch is just technical, changing signatures to reflect the first + argument (oop style) so red_channel becomes red_channel_client. Some places + may seem odd but they should be fixed with later comits where the channels + grow to support multiple clients. + + Sound (playback/record) channels are the only ones not touched - this is + consistent with previous patches, since they have been left out of the + RedChannel refactoring. That is left as future work. (note that they don't use + a pipe, which was the reason for not refactoring). + + server/red_worker: introduce {display,cursor}_is_connected + Instead of checking for worker->{display,cursor}_channel directly. + + server/red_channel (all): introduce RedChannelClient + This commit adds a RedChannelClient that now owns the stream connection, + but still doesn't own the pipe. There is only a single RCC per RC + right now (and RC still means RedChannel, RedClient will be introduced + later). All internal api changes are in server/red_channel.h, hence + the need to update all channels. red_worker.c is affected the most because + it makes use of direct access to some of RedChannel still. + + API changes: + + 1. red_channel_client_create added. + rec_channel_create -> (red_channel_create, red_channel_client_create) + 2. two way connection: rcc->channel, channel->rcc (later channel will + hold a list, and there will be a RedClient to hold the list of channels + per client) + 3. seperation of channel disconnect and channel_client_disconnect + + TODO: + usbredir added untested. + + server/red_worker: drop red_pipe_add_tail, use red_channel_pipe_add_tail + The only difference between them being that the later also does a push. + I don't believe that to be a problem, but if it does I can always introduce + a push'less version. + + server/red_channel: renames to use _proc postfix consistently + rename types - we use _proc suffix mostly to indicate function pointer types, + use it for some function pointers that were missing it. + + s/channel_handle_migrate_flush_mark/channel_handle_migrate_flush_mark_proc/ + s/channel_handle_migrate_data_get_serial/channel_handle_migrate_data_get_serial_proc/ + s/channel_handle_migrate_data/channel_handle_migrate_data_proc/ + + spice.proto: add comment for origin of STYLED and START_WITH_GAP + + server/red_worker: explicitly include unistd and errno + + common: introduce red_printf_debug + + server/tests/test_playback: correctly use spice_server_playback_get_buffer + and spice_server_playback_put_samples. The former retrieves a buffer from a free + list with spice_server_playback_get_buffer, and should be used once via + spice_server_playback_put_samples. The tester previously reused the same buffer + a number of times. + + server/tests/basic_event_loop: multiple fixes + reuse common/ring.h + ignore SIGPIPE + fix handling of removed watches + + tests/migrate.py: add --vdagent + Adds the required options to provide a vdagent to the guest in both source and target qemu + instances. + + This will be the last update of the in spice git tests directory, I've moved those tests + to the repository spice-tests. The longer term goal remains autotest integration, but since + this test (and some minor others for qemu) need a home it is: + + http://cgit.freedesktop.org/~alon/spice-tests/ + + (I'm reluctant to put it under spice/ because of my wish to go to autotest, but still, there + they are. Nothing as permanent as the temporary). + + Independent (of external modules, i.e. qemu) tests (server/tests) should remain in tree. + +2011-08-23 Yonit Halperin <yhalperi@redhat.com> + + server/red_worker.c: fix - locking the wrong mutex when releasing glz dict + +2011-08-23 Alon Levy <alevy@redhat.com> + + server/tests/test_display_base: fix compile + + common/ring: RING_FOREACH_SAFE: use shorter version from qemu + + server/reds.h: explicitly include config.h + + server/tests/migrate.py: make executable + +2011-08-17 Christophe Fergeau <cfergeau@redhat.com> + + use Xkb to get keyboard modifier mask + To be able to enable/disable keyboard leds on X11, we need to query + the X server for which mask correspond to which led (NumLock, + CapsLock). So far this was done using XKeysymToKeycode and iterating + over X modifier mapping. + Xkb provides XkbKeysymToModifiers for this purpose, and since + we're using Xkb anyway, it makes more sense to use it. + + At some point, on my Fedora 15 box, XKeysymToKeycode was returning + NoSymbol for CapsLock and NumLock leading to spicec not being able + to change the keyboard leds when qemu tells it to. However, I couldn't + reproduce this when I tried again :-/ + + fix harmless typo in InputsChannel::handle_modifiers + InputsChannel::handle_modifiers converts _modifiers which is a + bitflag of SPICE_KEYBOARD_MODIFIER_FLAGS_* to a Platform::*_MODIFIER + bitflag, which is what Platform::set_keyboard_lock_modifiers expects. + However, it's called with _modifiers, and the bitflag that this + function computes is never used. Pass the computed bitflag to + ::set_keyboard_lock_modifiers since _modifiers format is meaningless + for ::set_keyboard_lock_modifiers. + This bug was harmless because the two different set of modifier + flags actually use the same values, so _modifiers and modifiers could + be used interchangeably. However it's more future-proof to use the + right format here. + +2011-08-15 Christophe Fergeau <cfergeau@redhat.com> + + fix 2 X11 related leaks + + channel: fix EVP_PKEY leak + + always set VDAgentDisplayConfig::depth + Even if VDAgentDisplayConfig::depth will be unused if the + VD_AGENT_DISPLAY_CONFIG_FLAG_SET_COLOR_DEPTH isn't set, it's + better to initialize it anyway to avoid warnings from valgrind. + +2011-08-10 Hans de Goede <hdegoede@redhat.com> + + server: Add a usbredir channel + +2011-08-03 Alon Levy <alevy@redhat.com> + + client/red_client: fix broken switch host migration (RHBZ 727969) + 3f8d7e59dbd94b1837503f37b5065698df3ffbc7 introduced a regression, after + sending one attach_channels message we never send another one. + Fix by resetting on disconnect. + +2011-08-02 Christophe Fergeau <cfergeau@redhat.com> + + mjpeg: add missing SPICE_BITMAP_FMT_RGBA + I forgot to handle SPICE_BITMAP_FMT_RGBA when mapping from + spice image formats to libjpeg-turbo colorspaces. + +2011-08-02 Liang Guo <bluestonechina@gmail.com> + + Fix typo: treshold -> threshold + + Fix typo: seperator -> separator + +2011-08-01 Christophe Fergeau <cfergeau@redhat.com> + + mjpeg: fix libjpeg assertion + After the changes to add libjpeg-turbo support to spice-server mjpeg + compression code, it's relatively easy to hit an assertion from + libjpeg in spice-server about "too few scanlines transferred" when + the mjpeg streaming code triggers. This assertion brings down qemu, + which is bad :) + + This is because when we first initialize the mjpeg encoder, we do: + + stream_width = SPICE_ALIGN(src_rect->right - src_rect->left, 2); + stream_height = SPICE_ALIGN(src_rect->bottom - src_rect->top, 2); + + stream->mjpeg_encoder = mjpeg_encoder_new(stream_width, stream_height); + + and then when we iterate over the image scanlines to feed them to + libjpeg, we do: + + const int image_height = src->bottom - src->top; + const int image_width = src->right - src->left; + + for (i = 0; i < image_height; i++) { + mjpeg_encoder_encode_scanline(...); + } + mjpeg_encoder_end_frame(...); + + When stream_height is odd, the mjpeg_encoder will be created with + an height that is 1 more than the number of lines we encode. Then + libjpeg asserts when we tell it we're done with the compression + while it's still waiting for one more scanline. + + Looking through git history, this rounding seems to be an artifact + from when we were using ffmpeg for the mjpeg encoding. Since + spicec and spicy (the latter needs a few fixes) can handle streams + with odd height/width, the best way to solve this issue is to stop + rounding up the height and width of the streams we create. This + even saves some bandwidth :) + +2011-07-31 Alon Levy <alevy@redhat.com> + + server/red_dispatcher: fix wrong resolution set for tablet + when changing resolutions due to the new async code paths the surface + creation command was kept by reference, and later, when the red_worker + signaled completion by calling async_complete the mouse mode was updated + using the reference. This caused the wrong values to be read resulting in wrong + resolutions set and a non working mouse pointer. Fix this by keeping a copy of + the surface creation command instead of a reference. + + No bz. Found in testing. + +2011-07-31 Christophe Fergeau <cfergeau@redhat.com> + + client: fix 30s timeout regression + Changelog from Arnon Gilboa, patch from me: + + Commit eb6f55409412 caused the following regression: + + When client runs without the auto-conf or disable-effects options + (either from CLI or controller), which is the case when using Spice + from Admin Portal, the client will unecessarily wait for 30sec before + connecting to a Windows guest with an agent running (this won't happen + with linux guests or without an agent running). + + The mentioned patch assumed that on_agent_reply() of + VD_AGENT_DISPLAY_CONFIG will call send_main_attach_channels() and + connect. However, when auto-conf or disable-effects are not used, + on_agent_reply() will ignore the reply and not call + send_main_attach_channels(). Therefore, send_main_attach_channels() + will only be called on agent timeout. + + The solution is to activate agent timer only if auto-conf or + disable-effects. Otherwise, simply call send_main_attach_channels(). + + Fixes rhbz #726441 + +2011-07-31 Alon Levy <alevy@redhat.com> + + common/backtrace.h: disable for WIN32 + This also catches mingw32 which is probably fine, but at least it fixes + the build on visual studio. + +2011-07-28 Christophe Fergeau <cfergeau@redhat.com> + + fix integer marshalling helpers on big endian + They were trying to convert the destination pointer to an integer before + trying to dereference it. The initial conversion was meant to be a cast + to a pointer of the right size, not to an integer. + + fix typo in big endian code path + uint63_t should be uint64_t + +2011-07-26 Hans de Goede <hdegoede@redhat.com> + + Bump version in server/spice,h to 0.9.1 + It is a bit early to bump, since a 0.9.1 release is not happening yet, + but this allows me to test if the vdagent SpiceCharInterface state callback + fixes are present or not in qemu code, and thus disabling the ugly vdagent + specific workaround from spice-qemu-char.c when compiling against a new + enough spice-server. + +2011-07-25 Hans de Goede <hdegoede@redhat.com> + + server: Don't call vdagent chardev state callback on client (dis)connect + See this long mail for the rationale for this: + http://lists.freedesktop.org/archives/spice-devel/2011-July/004837.html + +2011-07-23 Alon Levy <alevy@redhat.com> + + Release 0.9.0 + +2011-07-22 Alon Levy <alevy@redhat.com> + + server/smartcard: fix smartcard_channel_send_error + It was sending the wrong data, the memory right after the VCSMsgHeader + which was actually not where the data was. + + Fixed by having the header and data (VSCError, 4 bytes of the error code) + embedded in the ErrorItem pipe item. + +2011-07-22 Christophe Fergeau <cfergeau@redhat.com> + + mjpeg: rename jpeg_mem_dest + jpeg_mem_dest is a public symbol in libjpeg8 so using it with + no prefix will cause symbol clashes. Rename it to spice_jpeg_mem_dest. + + mjpeg_encoder: allocate "row" on demand + It's not used when we use jpeg-turbo colorspaces, so it's better + to allocate it when we know we'll need it rather than always + allocating it even if it won't be used. + + mjpeg_encoder: remove unused functions + After the refactoring to optionally use libjpeg-turbo, some + of the functions that mjpeg-encoder used to provide are now no + longer used. This commit removes them. + + mjpeg_encoder: use libjpeg-turbo extra colorspaces + When libjpeg-turbo is available, we can use the BGR and BGRX + colorspaces that it provides to avoid extra conversions of the + data we want to compress to mjpeg + + red_worker: use new mjpeg_encoder_encode_scanline API + The main point is to move the pixel conversion code into + the MjpegEncoder class to be able to make use libjpeg-turbo + additional pixel formats without the reds_worker code noticing. + + mjpeg_encoder: add mjpeg_encoder_get_bytes_per_pixel + Returns the number of bytes per pixel corresponding to the input + data format. + + mjpeg_encoder: add mjpeg_encoder_encode_scanline + This API is meant to allow us to move the pixel format conversion + into MjpegEncoder. This will allow us to be able to use the + additional pixel formats from libjpeg-turbo when available. + + red_worker: simplify red_rgb_to_24bpp prototype + It takes a lot of arguments, "id" is unused, "frame" and + "frame_size" can be obtained from the "stream" argument, so + can get rid of 3 arguments to make things more readable. + + mjpeg_encoder: rework output buffer allocation + When encoding a frame, red_worker passes an allocated buffer to + libjpeg where it should encode the frame. When it fails, a new + bigger buffer is allocated and the encoding is restarted from + scratch. However, it's possible to use libjpeg to realloc this + buffer if it gets too small during the encoding process. Make use + of this feature, especially since it will make it easier to encore + one line at a time instead of a full frame in subsequent commits. + + red_worker: factor pixel conversion code + When encoding to mjpeg, the on screen data have to be converted + to 24bpp RGB since that's the format that libjpeg expects. Factor + as much code as possible for the 3 formats we handle. + + set version number to 0.9.0 + + fix make distcheck + + configure.ac: fix pyparsing check + 2>&1 was typo'ed 2&>1 which caused an empty '1' file to be created + when running this test. + + add SASL and smartcard to distcheck flags + + client: don't die if initial agent timeout triggers + When the client connects to a spice VM, if an agent is detected, + there will be a few messages exchanged to exchange capabilities, + display resolutions, ... This exchange has a timeout in case + something goes wrong. However, when it fires, the client dies. + This commit changes this and lets the client connects to the + guest when the timeout happens. + rhbz #673973 + + client: only send one SPICE_MSGC_MAIN_ATTACH_CHANNELS messages + 492f7a9b fixed unwanted timeouts during initial client startup, + but it also caused a bad regression when connecting to + RHEL6+agent guests: the SPICE_MSGS_MAIN_ATTACH_CHANNELS message + was sent multiple times, once in RedClient::handle_init, then + once again in RedClient::on_agent_announce_capabilities (which + can even be triggered multiple times). Sending this message multiple + times is a big NO and causes the server to close the client connection, + and the client to die. Add a _msg_attach_message_sent boolean to + make sure we only send this message once. + + rhbz #712938 + + client: split overlong option descriptions + +2011-07-21 Hans de Goede <hdegoede@redhat.com> + + server: make sure we clear vdagent and update mouse mode on agent disconnect + The check this patch removes causes us to not set vdagent to NULL, nor + update the mouse mode when the guest agent disconnects when no client is + attached. Which leads to a non working mouse, and on agent reconnect a + "spice_server_char_device_add_interface: vdagent already attached" message + instead of a successful re-add of the agent interface . + + hansg: Note this is commit 443994ba from the 0.8 branch, which I did + not forward port back then because it seemed unnecessary on master, but it + turns out that the (wrong) check was just hidden in another place on master. + +2011-07-21 Yonit Halperin <yhalperi@redhat.com> + + client: fix endless recursion in rearrange_monitors, RHBZ #692976 + The endless recursion happens due to Application::prepare_monitors calling RedScreen::resize + calling Application::rearrange_monitors calling Application::prepare_monitors + + I changed RedScreen::resize not to call rearrange_monitors. Instead, + the monitor should be configured correctly from Application, before + calling resize. + In addition, I made some cleanups to allow reusing rearrange_monitors code. + +2011-07-21 Hans de Goede <hdegoede@redhat.com> + + spicec: Make loglevel configurable through the environment + Having a loglevel variable is much more useful if we can actually change + its value without a recompile. Use a SPICEC_LOG_LEVEL environment variable so + we can do this from the spice xpi / activex too (by setting the environment + variable before starting the browser). + +2011-07-20 Yonit Halperin <yhalperi@redhat.com> + + server/red_worker: send surface images to client on-demand after S3/4 wakeup + When surfaces are being reloaded to the worker, we + will send them to the client only if and when it needs them. + +2011-07-20 Alon Levy <alevy@redhat.com> + + server/spice.h: bump QXL_MINOR because of QXLWorker and QXLInterface changes + + server: add QXLWorker.flush_surfaces_async for S3/S4 support + This does the following, all to remove any referenced memory on the pci bars: + flush_all_qxl_commands(worker); + flush_all_surfaces(worker); + red_wait_outgoing_item((RedChannel *)worker->display_channel); + red_wait_outgoing_item((RedChannel *)worker->cursor_channel); + + The added api is specifically async, i.e. it calls async_complete + when done. + + server: add QXLInterface::update_area_complete callback + when update_area_async is called update_area_complete will be called with + the surfaces dirty rectangle list. + + server/red_worker: handle_dev_input: reuse write_ready introduced for async + + server: add async io support + The new _ASYNC io's in qxl_dev listed at the end get six new api + functions, and an additional callback function "async_complete". When + the async version of a specific io is used, completion is notified by + calling async_complete, and no READY message is written or expected by + the dispatcher. + + update_area has been changed to push QXLRects to the worker thread, where + the conversion to SpiceRect takes place. + + A cookie has been added to each async call to QXLWorker, and is passed back via + async_complete. + + Added api: + + QXLWorker: + update_area_async + add_memslot_async + destroy_surfaces_async + destroy_primary_surface_async + create_primary_surface_async + destroy_surface_wait_async + + QXLInterface: + async_complete + + bump required spice-protocol to 0.8.1 for qxl_dev async and s3 updates + + server: api: add spice_qxl_* calls based on QXLWorker contents + For each callback in QXLWorker, for example QXLWorker::update_area, add + a direct call named spice_qxl_update_area. + + This will (a) remove the pointless indirection and (b) make shared + library versioning alot easier as we'll get new linker symbols which + we can tag with the version they appeared in the shared library. + + server: spice-server.syms: move sasl symbols to 0.8.2 + + server/red_worker: remove print on handle_dev_destroy_surfaces + + server/red_worker: *_release_item: less frequent debug messages + + server/tests: test_util.h: fix double ASSERT definition + +2011-07-19 Alon Levy <alevy@redhat.com> + + common: add backtrace via gstack or glibc backtrace + Add a backtrace printing function copied from xserver os/backtrace.c + that uses gstack, and if that isn't found then glibc's backtrace. + Used in ASSERT, tested on F15. + +2011-07-19 Gerd Hoffmann <kraxel@redhat.com> + + server: add symbol versioning to the spice server shared library. + This patch adds symbol versions to the spice server library. Each + symbol which is exported by libspice-server gets tagged with the + (stable) version where it appeared first. This way the linker and rpm + are able to figure which version of the spice-server libary is required + by a particular qemu binary/package. + +2011-07-19 Christophe Fergeau <cfergeau@redhat.com> + + remove unused function + + client: add missing "," in option list + In commit 44073d1b38e2 - client: improve WAN option description + one "," was missing at the end of the line. Since the next argument + was a string too, gcc silently concatenated them, and thanks to C++ + polymorphic functions, the compiler didn't complain about the + missing argument, so it went unnoticed. + The effects are pretty bad though, since it prevents spicec from + running because it thinks command line parsing fails. + +2011-07-18 Christophe Fergeau <cfergeau@redhat.com> + + Fix spice-server/qemu channel version checks + When qemu creates a channel, reds.c contains code to check the + minor/major channel versions known to QEMU (ie the ones that were + current in spice-server when QEMU was compiled) and to compare these + versions against the current ones the currently installed spice-server + version. + + According to kraxel [1], the rules for these interface numbers are: + + "The purpose of the versions is exactly to avoid the need for a new + soname. The rules are basically: + + (1) You add stuff to the interface, strictly append-only to not break + binary compatibility. + (2) You bump the minor version of the interface. + (3) You check the minor version at runtime to figure whenever the + added fields contain valid stuff or not. + + An example is here (core interface, minor goes from 2 to 3, new + channel_event callback): + + http://cgit.freedesktop.org/spice/spice/commit/?id=97f33fa86aa6edd25111b173dc0d9599ac29f879 + " + + The code currently refuses to create a channel if QEMU minor version is + less than the current spice-server version. This does not correspond + to the intended behaviour, this patch changes to fail is qemu was compiled + with a spice-server that is *newer* than the one currently installed. This + case is something we cannot support nicely. + + [1] http://lists.freedesktop.org/archives/spice-devel/2011-July/004440.html + +2011-07-18 Uri Lublin <uril@redhat.com> + + client: rename connect_unsecure to connect_to_peer + Both connect_secure() and connect_unsecure() call connect_to_peer(). + + Prior to this commit spicec.log reported all connections as unsecure, + as connect_secure() called connect_unsecure() to make the connection. + This fixes RH bug #653545 + +2011-07-18 Christophe Fergeau <cfergeau@redhat.com> + + client: don't crash when agent is missing WAN support + If you try to connect to a linux guest with WAN options, SPICE window opens up + and is blank - it then fails with vdagent timeout message. It should give a + warning that this is only applicable for windows guest and still connect to + guest. + + It all starts in RedClient::handle_init + This function checks whether we have an agent or not, because if we have an + agent, there will be some kind of handshake to check both sides capabilities + before all the spice channels are created. + + When there is no agent running, the startup process goes on with + SPICE_MSGC_MAIN_ATTACH_CHANNELS + + When there is a windows agent running, VD_AGENT_ANNOUNCE_CAPABILITIES and + VD_AGENT_DISPLAY_CONFIG messages are sent to the agent, and when processing the + agent answer to the VD_AGENT_DISPLAY_CONFIG message, + SPICE_MSGC_MAIN_ATTACH_CHANNELS will be sent and the startup process will go + on. + + However, when there is no agent running but --color-depth was used, handle_init + won't send the SPICE_MSGC_MAIN_ATTACH_CHANNELS message but will wait for the + agent handshake to proceed to its end, which won't happen, so it will timeout + waiting for agent answers. + + Similarly, the linux agent handles VD_AGENT_ANNOUNCE_CAPABILITIES messages, but + it doesn't handle VD_AGENT_DISPLAY_CONFIG messages, so we'll never reach the + point where a SPICE_MSGC_MAIN_ATTACH_CHANNELS will be sent. + + This commit fixes this in 2 places: + - unconditionnally send SPICE_MSGC_ATTACH_CHANNELS when no agent is running in + handle_init + - send SPICE_MSGC_MAIN_ATTACH_CHANNELS in + RedClient::on_agent_announce_capabilities if the agent doesn't have the + VD_AGENT_CAP_DISPLAY_CONFIG capability + + This fixes RH bug #712938 + + client: improve WAN option description + The WAN options (--color-depth and --disable-effects) need + support from the guest agent to be working. Currently they are + only supported on Windows. While I don't want to explicitly + mention Windows in --help output, we can hint that it won't + work with all guests in --help. This fixes RH bug #712941 + + x11: don't return freed memory from get_clipboard + There is a double free in client/x11/platform.cpp. + In get_selection(), in the exit: case with ret_val == -1 and data != NULL, + *data_ret (which is returned to the caller) has already been + assigned "data", so it will be pointing to freed memory when "data" is + XFree'd'. Then in handle_selection_notify, get_selection_free is called on + this pointer, which causes a double free. + When the length of the read data = 0, set the returned value to NULL, + this way subsequent free attempts will be a noop. + Fixes RH bug #710461 + + client: match delete[] with new[] + vinfo in x11/platform.cpp is allocated using new[] so it needs to + be freed with delete[] + + client: s/recive/receive + +2011-07-12 Yonit Halperin <yhalperi@redhat.com> + + server: add missing calls to red_handle_drawable_surfaces_client_synced + red_handle_drawable_surfaces_client_synced was called only from red_pipe_add_drawable, while it + should also be called from red_pipe_add_drawable_after. Otherwise, the client + might receive a command with a reference to a surface it doesn't hold and crash. + + server: fix access to a released drawable. RHBZ #713474 + red_pipe_add_drawable can lead to removal of drawables from current tree + (since it calls red_handle_drawable_surfaces_client_synced), which can + also lead to releasing these drawables. + Before the fix, red_current_add_equal, called red_pipe_add_drawable, + without assuring afterwards that the drawables it refers to are still alive or + still in the current tree. + +2011-07-06 Alon Levy <alevy@redhat.com> + + server: fix segfault if no migrate_info provided + qemu calls spice_server_migrate_switch even if it didn't do a + spice_server_migrate_info first. Fix the resulting error by not pushing + a switch host tag to the pipe in this case, and add a check anyway in the + marshalling code just in case. + +2011-07-05 Yonit Halperin <yhalperi@redhat.com> + + server: cursor_channel: releasing pipe items resources when the pipe is cleared (on disconnect) + same as commit 74a9d10af96f4d7c8c1b1d7fca124a8df9180787 for cursor channel + + server: display_channel: releasing pipe items resources when the pipe is cleared (on disconnect) + fixes "display_channel_release_item: panic: invalid item type" + + Before changing the red_worker to use the red_channel interface, there + was a devoted red_pipe_clear routine for the display channel and cursor channel. + However, clearing the pipe in red_channel, uses the release_item callback + the worker provided. This callback has handled only resources that need to be released + after the pipe item was enqueued from the pipe, and only for pipe items that were set in + red_channel_init_send_data. + This fix changes the display channel release_item callback to handle all types of + pipe items, and also handles differently pushed and non-pushed pipe items. + + server: not reading command rings before RED_WORKER_MESSAGE_START, RHBZ #718713 + On migration, destroy_surfaces is called from qxl (qxl_hard_reset), before the device was loaded (on destination). + handle_dev_destroy_surfaces led to red_process_commands, which read the qxl command ring + (which appeared to be not empty), and then when processing the command + it accessed unmapped memory. + + server: replace redundant code with red_cursor_reset + In addition (1) make handle_dev_destroy_surfaces call red_release_cursor + (2) call red_wait_outgoing_item(cursor_channel) only after adding msgs to pipe + + server: removing local cursor, this solves RHBZ #714801 + When the worker was stoped, the cursor was copied from guest ram to the host ram, + and its corresponding qxl command was released. + This is unecessary, since the qxl ram still exists (we keep references + to the surfaces in the same manner). + It also led to BSOD on guest upon migration: the device tracks cursor set commands and it stores + a reference to the last one. Then, it replays it to the destination server when migrating to it. + However, the command the qxl replayed has already been released from the pci by the original + worker, upon STOP. + +2011-07-05 Alon Levy <alevy@redhat.com> + + tests/migrate: update to use argparse and run spicy by default + Most helpful change is that it prints help if you do --help. + It can take --image parameter, and --client parameter, defaults to spicy. + + Incidentally, spicy switch host seems broken - if you run with --client spicec + (assuming spicec is in the PATH), it works fine, but using the default spicy (or + --client spicy) it fails after a single switch. + + server/tests/basic_event_loop: strange assert failure; fix + + server/smartcard: register channel only when hardware is available + +2011-06-29 Alon Levy <alevy@redhat.com> + + Revert "server/smartcard: don't register the channel if no hardware emulated" + This reverts commit 456ff9f8d5d27ac763e89e67a100661084695dc5. + + That patch just disabled the smartcard channel completely because + the check was done *before* the initialization of the qemu smartcard + devices, not after. + +2011-06-28 Christophe Fergeau <cfergeau@redhat.com> + + red_worker: remove 2 empty functions + red_worker was using some share/unshare stream_buf functions whose + body is empty. This commit removes them and their use. + +2011-06-23 Alon Levy <alevy@redhat.com> + + server/smartcard: don't register the channel if no hardware emulated + + server/smartcard: handle BaseChannel messages + According to spice.proto the smartcard channel can receive acks and any + other message defined in BaseChannel. While the spicec implementation didn't + send an ACK spice-gtk does, so handle it. + +2011-06-22 Christophe Fergeau <cfergeau@redhat.com> + + don't #include config.h in generated header files + 7e30572ab adds a #include <config.h> to the beginning of generated + files. It also does this for generated headers and enums files, + which is not wanted, especially if it's an installed file. This + commit only adds this include for the non-header non-enum case + (hopefully, enums are only generated for use in a .h file). + + s/__visible__/SPICE_GNUC_VISIBLE + The C specification reserves use of identifiers starting with __ + to the compiler so we shouldn't use one such symbol. + + add check for pyparsing + Check both in configure.ac (after checking if we need to rebuild + the marshalling files) and in the python script using pyparsing + (for people modifying .proto files in tarballs) + +2011-06-22 Marc-André Lureau <marcandre.lureau@redhat.com> + + sndworker: check the caps before sending volume messages + + sndworker: add AudioVolume/AudioMute messages + These messages allow the guest to send the audio device volume to the + client. It uses an arbitrary scale of 16bits, which works good enough + for now. + + Save VolumeState in {Playback,Record}State, so that we can send the + current volume on channel connection. + + Note about future improvements: + - add exact dB support + - add client to guest volume change + + Updated since v2: + - bumped record and playback interface minor version to allow + conditional compilation + Updated since v1: + - sync record volume on connection too + +2011-06-21 Marc-André Lureau <marcandre.lureau@redhat.com> + + python: remove c-ism trailing ; + + codegen: typedef the protocol enums + Commit 9d5ef9beeca722b2ceff7d15aaa3aaaaf07ecfbf in spice-protocol + introduced a typedef manually in the generated enums.h header. + + This patch adds them automatically to all enums during enums.h generation. + +2011-06-14 Yonit Halperin <yhalperi@redhat.com> + + client: fix for redundant shift+f11 RHBZ #674532 + After shift+F11, both in Windows 7 and xp clients, WM_KEYUP events were missing for + SHIFT and F11. For F11 it was less important since unpress_all was preformed for all keys. + However, we perform sync for all the keyboard modifiers and the GetKeyboardState returns "down" for shift. + In windows7 client, we sometimes received afterwards a F11 KEYDOWN event repetition, and this caused SHIFT+F11 to be called again. + Not performing hiding of the windows while changing client resolutions, solved the problem of missing events, and I don't see any difference + in how spice looks while toggling to full screen. + Using GetAsyncKeyState, returns "UP" for shift in windows 7, and helps avoid performing shift+f11 again, if there is an F11 repetition + before we receive the KEYUP event for shift. + +2011-05-30 Arnon Gilboa <agilboa@redhat.com> + + client/windows: enable image randomization (ASLR) rhbz#701111 + Enable image randomized base address, hindering some types of + security attacks by making it more difficult for an attacker + to predict target addresses. + + client/windows: remove slash from x64 build dir + otherwise x64 is built in root if REDC_BUILD_DIR is not defined + +2011-05-24 Alon Levy <alevy@redhat.com> + + server/smartcard: fix use after free + +2011-05-22 Arnon Gilboa <agilboa@redhat.com> + + client/windows: remove precompiled header for common.h (fix broken windows debug build) + -Release currently doesn't use precompiled headers at all + -Debug is broken since common/*.c files don't include common.h + -PCH can be enabled for all but specifically-chosen c-files + + common: add WIN64 ifdef for spice_bit_find_msb (fix broken windows x64 build) + inline __asm is not supported in x64, so use the naive implementation + until x64 asm implemented. + +2011-05-19 Yonit Halperin <yhalperi@redhat.com> + + client: fix flipped video in Linux guest on windows client, RHBZ #667689 + Video streams from Linux guests are oriented top-down, where gdi_canvas_put_image always + received display context for down-top oriented bitmap. I fixed create_bitmap + to consider the stream orientation. + +2011-05-12 Arnon Gilboa <agilboa@redhat.com> + + common: use INLINE instead of inline + needed for spice/common files used by the client, server & qxl driver. + in windows _inline works for both c/c++, while inline is c++ only. + compiling the client with mixed c/c++ code required this define. + + client/windows: undef SIZE_MAX in stdint.h + eliminating redefinition warning + + common: fix ssl_verify windows build errors + + client/windows: add common\ssl_verify.c/h to project + disable WarnAsError, due to c/c++ warnings + + client/windows: inc version to 0,9,0,0 + + client/windows: init PACKAGE_VERSION + in windows, we set PACKAGE_VERSION to the binary version + since we don't have config.h as generated by linux configure + +2011-05-12 Alon Levy <alevy@redhat.com> + + client: fix return code when missing host + +2011-05-09 Alon Levy <alevy@redhat.com> + + server/red_worker: stat_now cleanup + static, remove inline, add (void), and empty line after function variables. + + server/red_worker: fix typo (lats_send_time) + + server/tests: show port to connect to + +2011-05-08 Marc-André Lureau <marcandre.lureau@redhat.com> + + server: bump SPICE_SERVER_VERSION to 0.9.0 + SASL functions will be released with 0.9.0 + +2011-05-05 Zeeshan Ali (Khattak) <zeeshanak@gnome.org> + + server: Unset executable bit of red_tunnel_worker.h + +2011-05-03 Marc-André Lureau <marcandre.lureau@redhat.com> + + build: fix gettimeofday warning + CC test_playback.o + test_playback.c: In function ‘playback_timer_cb’: + test_playback.c:56:5: warning: implicit declaration of function ‘gettimeofday’ + + client: make use of ssl_verify.c + Fixed since v1: + - don't include C code, rather use the common lib + - add missing spice_openssl_verify_free() call + - keep the extra-parsing of subject for error reporting + + common: add ssl_verify.c common code + Code adapter from RedPeer::ssl_verify_callback() and used by + spice-gtk. + + Since v1: + - fixed Makefile.am + - added config.h include + - autoconf alloca added in patch series + - moved int escape inside for loop + - added a failed case when missing assignment + - replaced strlen () by -1 + - skip spaces after comma + - c++ guards + + I didn't use bool, because openSSL uses int, and it is more future + proof for error reporting. + + common: add ring_get_length() for debugging purposes + Please notice it has a "static" modifier, like the rest of the inlined + functions in ring.h, so it won't warn if it isn't used. + + common: mem.h add alloca definition + We don't support the autoconf ALLOCA/C_ALLOC fallback. If one day, + someone cares for a weird platform, he can fix it. + + common: spice_memdup could accept NULL + (this patch is not to solve a crash fix, but to align with glib API) + + common: add windows.h where required, make gdi_handlers static + This patch has not been verified with VS/brew. It should be safe + hopefully. Compilation is fine with mingw32/spice-gtk. + + build: require c99 + Because we use c99: stdbool.h, inttypes.h, bool, variadic macros, // comments, ... + +2011-05-03 Christophe Fergeau <cfergeau@redhat.com> + + move get_time_stamp to main_channel.c + There is only one user of get_time_stamp from spice_common.h so + it's not really useful to keep it there. + + use standard do { } while (0) for spice_common.h macros + + move WARN and WARN_ONCE to spice_common.h + + common: use PANIC from spice_common.h + + common,server: use ASSERT from spice_common.h + spice_common.h provides an ASSERT macro, no need to duplicate it + in many places. For now client/debug.h keeps its own copy since + debug.h and spice_common.h have clashes on other macros which are + trickier to unify. + + server: use gcc builtin for atomic get/set bit + + client: remove unused mb() macro + + common: don't duplicate find_msb implementation + + remove void * arithmetic + With -Wpointer-arith, gcc complains about void pointer arithmetic. + This is not a big deal with gcc, but could be with other compilers, + so it's better to cast to char */uint8_t * before doing the + arithmetic on such pointers. + + add missing static + + configure.ac: remove setting default C(XX)FLAGS + automake/autoconf already set them for us to -g -O2 if there are + no flags defined. + + win32: remove obsolete preprocessor #defines + SW_CANVAS_NO_CHUNKS isn't used anywhere but in this file. + SW_CANVAS_CACHE is now defined directly in the files where it's + needed so we no longer need it in the .vcproj file. + + add comment to beginning of autogenerated files + + s/USE_OGL/USE_OPENGL + This is more explicit about what it does, and not much longer + + use AC_DEFINE instead of hardcoding preprocessor flags + Now that all source files include config.h, we can use AC_DEFINE + to enable/disable optional features (opengl, cegui). This is + cleaner than directly appending -Dxxx directives to the preprocessor + flags. This also guarantees that everything will be appropriately + rebuilt when using the same source tree to build first with opengl + support and then without (the config.h timestamp will change, + triggering a rebuild of the files including it) + + add config.h to autogenerated files too + Modify the python (de)marshaller generator to add #include + <config.h> at the beginning of the C files it generates + + add #include <config.h> to all source files + When using config.h, it must be the very first include in all source + files since it contains #define that may change the compilation process + (eg libc structure layout changes when it's used to enable large file + support on 32 bit x86 archs). This commit adds it at the beginning + of all .c and .cpp files + + autotools: correctly build canvas-related code + spice client and spice server shares code from + common/{gdi,gl,sw}_canvas.[ch]. However, while most of the code is + shared, the server code wants a canvas compiled with + SW_CANVAS_IMAGE_CACHE defined while the client code wants a canvas + compiled with SW_CANVAS_CACHE. + + The initial autotools refactoring didn't take that into account, + this is now fixed by this commit. After this commit, the canvas + files from common/ are no longer compiled as part of the + libspice-common.la convenience library. Instead, there are "proxy" + canvas source files in client/ and server/ which #include the + appropriate C files after defining the relevant #define for the + binary that is being built. + + To prevent misuse of the canvas c files and headers in common/, + SPICE_CANVAS_INTERNAL must be set when including the canvas headers + from common/ or when building the c files from common/ otherwise + the build will error out. + + configure.ac: remove unused AC_SUBST + + autotools: refactor the whole build machinery + spice Makefile.am setup is a bit confusing, with source file + names being listed several times in different Makefile.am + (generally, once in EXTRA_DIST and another time in another + Makefile.am in _SOURCES). The client binaries are built + by client/x11/Makefile.am, which means recursing into client, + then into x11 to finally build spicec. This Makefile.am is + also referencing files from common/ and client/, which is + a bit unusual with autotools. + + This patch attempts to simplify the build process to get + something more usual from an autotools point of view. + The source from common/ are compiled into a libtool convenience + library, which the server and the client links against which avoids + referencing source files from common/ when building the server and + the client. The client is built in client/Makefile.am and directly + builds files from x11/ windows/ and gui/ if needed (without + recursing in these subdirectories). + + This makes the build simpler to understand, and also makes it + possible to list source files once, which avoids potential + make distcheck breakage when adding new files. + + There is a regression in this patch with respect to + sw_canvas/gl_canvas/gdi_canvas. They should be built with + different preprocessor #defines resulting in different behaviour + of the canvas for the client and the server. However, this is not + currently the case, both the client and the server will use the same + code for now (which probably means one of them is broken). This will + be fixed in a subsequent commit. + + make distcheck passes, but compilation on windows using the + autotools build system hasn't been tested, which means it's likely + to be broken. It shouldn't be too hard ot fix it though, just let + me know of any issues with this. + +2011-05-02 Christophe Fergeau <cfergeau@redhat.com> + + add missing "LGPLv2.1 or later" header to source files + + common: don't try to redefine PANIC if it already exists + canvas_base.c tries to define PANIC, but it might already be set + if eg client/debug.h has been included before. All the other + macros in this file are guarded by #ifndef, this commit adds + the missing #ifndef to PANIC. Note that this is just a bandaid, + ideally common/ would contain a logging frameword, and these + macros would only be defined once instead of being defined in + several places. + + server: s/desable/disable + This fixes a typo in some function names, there should be no + functional change. + + use foo(void) instead of foo() in prototypes + In C, the latter isn't a prototype for a function with no arg, + but declares a function with an undefined number of args. + + server: remove extra arg in reds_on_main_agent_start call + + client: remove c++ wrappers + client/ contains several .cpp file which only #include a .c file + of the same name. This is unusual and seems to only be done to + get C++ name mangling on the symbols defined in the C file. + Now that all headers files in common/ use extern "C", these + wrappers are no longer useful. + + common: add missing header guards to gl_canvas.h + + common: add extern "C" guards to headers + Since some spice C++ code is using code from common/, the C + functions need to be marked as such for the C++ compiler, otherwise + we'll get linkage issues. + + client: make building client optional + + configure.ac: replace tab with spaces + This makes the "C++ Compiler: ...." status output nicely + aligned with the other messages. + + configure.ac: remove unused dynamic linkage flag + configure.ac defines a SPICEC_STATIC_LINKAGE_BDYNAMIC variable + when --enable-static-linkage is not set, but it's never used. + SPICEC_STATIC_LINKAGE_BSTATIC is used in client/, but since we + are using libtool, it might be more appropriate to use + 'make LDFLAGS="-all-static"' to achieve static link. + + configure.ac: fix use of AC_ARG_ENABLE + Most uses of AC_ARG_ENABLE were buggy: + - when passing --disable-xxx, configure.ac would behave as if it + was passed --enable-xxx + - passing --enable-xxx=foo would "leak" into the summary, ie the + summary (at the end of configure) would say "xxx: foo" instead + of "xxx: yes" + + This patch fixes these 2 issues. + + configure.ac: fix make dist + + server: use is_primary_surface + red_worker.c has an is_primary_surface helper function, but there + were some places in the file not using it. This patch fixes that + +2011-04-26 Alon Levy <alevy@redhat.com> + + spice.proto: Fill.rop_descriptor type s/uint16/ropd (10x atiti) + +2011-04-18 Christophe Fergeau <cfergeau@redhat.com> + + client: skip spaces in --host-subject + This fixes fdo bug #32896: + + "Subject in certificates is stored in following format (values separated by + comma and space): + + grep Subject: server-cert.pem | awk -F": " '{print $2}' + O=REDHAT, CN=10.34.58.2 + + While spicec expects that values in host subject are separated only by comma: + + spicec --host-subject "O=REDHAT,CN=10.34.58.2" + " + + In this case, ignoring spaces make it much easier to directly copy and paste + the subject line from certificates. + + draw: remove SPICE_ADDRESS + This commit removes the typedef for SPICE_ADDRESS which was no + longer used. This is the last thing that was missing to close + fdo bug #28984 + + client: add --version cmdline option to spicec + This fixes freedesktop bug #33907 + + client: s/reqired/required in CmdLineParser + + client: s/AVAILIBLE/AVAILABLE in CmdLineParser + It was mispelt in a CmdLineParser enum. + +2011-04-08 Christophe Fergeau <cfergeau@gmail.com> + + server/tests remove useless assignment + This was detected by clang-static-analyzer. + + common/pixman: remove dead assignments + They were detected using clang-static-analyzer. Don't initialize + the variable to a value to override it with a different value + a few lines after. + + tests: fix compilation with -Wall -Werror + When compiling spice with make CFLAGS="-g3 -ggdb3 -O0 -Wall -Werror", + the build broken because of a few unused variables/missing returns. + This patch fixes these warnings. + +2011-04-08 Christophe Fergeau <cfergeau@redhat.com> + + gl: remove unused variables + gcc 4.6 warned about these. + + gl: use correct pixman accessor for image data + Commit 774e5bd36f4 changed + - dest->source.pixmap.x_image->data + + + (uint8_t *)pixman_image_get_stride(dest->source.pixmap.pixman_image) + + + The correct accessor to use is pixman_image_get_data. Thanks to gcc + 4.6 for warning about a "different size" int to pointer conversion. + + client: use silent generation rules in Makefile.am + The server Makefile.am rules for marshallers generation are + prefixed with AM_V_SILENT to integrate nicely with automake silent + rules. The same AM_V_SILENT prefix isn't used in client/Makefile.am + resulting in verbose output even when automake silent mode is + enabled. This commit removes this verbosity. + +2011-04-04 Christophe Fergeau <cfergeau@gmail.com> + + configure.ac: remove detection of WARN_UNUSED_RESULT + spice configure.ac has some code to detect if the compiler has + a special attribute to tag some functions so that they generate a + warning when their return value isn't checked. However, this test + is broken (the gcc attribute name is "warn_unused_result", not + "__warn_unused_result__" and WARN_UNUSED_RESULT is unused anyway + since spice-protocol provides SPICE_GNUC_WARN_UNUSED_RESULT. Thus + we can just drop that block of code from configure.ac + +2011-04-04 Christophe Fergeau <cfergeau@redhat.com> + + remove duplicated macro + MIN() is already defined in spice-protocol/spice/macros.h + +2011-04-04 Hans de Goede <hdegoede@redhat.com> + + server: make sure we clear vdagent and update mouse mode on agent disconnect + The check this patch removes causes us to not set vdagent to NULL, nor + update the mouse mode when the guest agent disconnects when no client is + attached. Which leads to a non working mouse, and on agent reconnect a + "spice_server_char_device_add_interface: vdagent already attached" message + instead of a successful re-add of the agent interface . + + server: ignore SPICE_MSGC_MAIN_AGENT_START messages when there is no agent + This can happen for example when a SPICE_MSGC_MAIN_AGENT_START message + from the client and the vdagent disconnecting race. + + server: hookup agent-msg-filter discard-all functionality + This ensures that if the client or agent connects to the client-agent + "tunnel" while the other side is halfway through sending a multi part + message, the rest of the message gets discarded, and the connecting + party starts getting data at the beginning of the next message. + + server: add discard all option to agent message filter + + server: filter all data from client + Filter all data from client, even when there is no agent connected + to keep filter state correct. + + server: reset read/write filter on agent/client disconnect + The agent message filter keeps track of messages as they are being send + reset the relevant filter to its initial state when one of the 2 ends + of the agent<->client "tunnel" disconnects. + + server: break read_from_vdi_port loop if the guest gets disconnected + read_from_vdi_port calls dispatch_vdi_port data, which will disconnect + the guest agent if it sends invalid data. It would then try to read more + data from the disconnected guest agent resulting in a NULL ptr dereference, + this patch fixes this. + + server: Don't stop writing agent data to the guest when the client disconnects + write_to_vdi_port() was checking for reds->agent_state.connected to determine + wether it could write queued data. But agent_state.connected reflects if + *both* ends are connected. If the client has disconnected, but the guest agent + is still connected and some data is still pending (like a final clipboard + release from the client), then this data should be written to the guest agent. + + server: Don't reset agent state when the client disconnects + We were calling reds_reset_vdp on client disconnect, which is not a good + idea. reds_reset_vdp does 3 things: + + 1) It resets the state related to reading chunks from the spicevmc virtio + port. If the client disconnects while the guest agent is in the middle + of sending a chunk, this will lead to an inconsistent state, and lots + of printing of "dispatch_vdi_port_data: invalid port" messages caused + by this inconsistent state sometimes followed by a segfault. + + This can be triggered by copy and pasting something large (say + a screenshot) from the guest to the spice-gtk client, as the spice-gtk + client currently has a bug causing it to crash when receiving a multi + chunk vdagent messages. Without this patch (and with the spice-gtk bug + present) I can consistently reproduce this. + + 2) It clears any buffered writes from the client to the guest still pending + because the virtio port cannot consume data fast enough. Since the agent + itself is still running fine, throwing away writes for it because the + client has disconnected makes no sense. Esp, since on clean exit the + client may very well send a clipboard release message directly + before closing the connection, and this may get lost this way. + + 3) It sets client_agent_started to false, this is the only thing which + actually makes sense to do on client disconnect. + + Note that since we no longer reset the vdp state on client disconnect, we + must now reset it on agent disconnect even if we don't have a client. So + the reds_reset_vdp call in reds_agent_remove() gets moved to the top, + above both the agent_state.connected and reds->peer checks which will + both fail in the no client case. + +2011-03-24 Hans de Goede <hdegoede@redhat.com> + + server: avoid unneeded recursion in dispatch_vdi_port_data + dispatch_vdi_port_data, was calling vdi_read_buf_release when no client + is connected to free the passed in buf. The only difference between + vdi_read_buf_release and directly adding the buffer back to the ring + with ring_add, is that vdi_read_buf_release calls read_from_vdi_port + after adding the buffer back. But dispatch_vdi_port_data only gets called + from read_from_vdi_port itself, thus this would lead to recursing into + read_from_vdi_port. read_from_vdi_port is protected against recursion and + will immediately return if called recursively. Thus calling + vdi_read_buf_release from dispatch_vdi_port_data is pointless, instead + simply putting the buffer back in the ring suffices. + + server: Make copy paste support configurable + Also bump SPICE_SERVER_VERSION to 0x000801 as 0.8.1 will be the + first version with the new API for this, and we need to be able to + detect the presence of this API in qemu. + + spice-server: Add the ability to filter agent messages + +2011-03-23 Hans de Goede <hdegoede@redhat.com> + + spicec-x11: Work around a bug in xsel + Although ICCCM 2.2. Responsibilities of the Selection Owner: + http://tronche.com/gui/x/icccm/sec-2.html#s-2.2 + + Clearly states (about selection notify events): + The owner should set the specified selection, target, time, and property + arguments to the values received in the SelectionRequest event. + + xsel sets the selection notify event target member to the incr atom when it + is going to send the clipboard data incremental, rather then setting it to + the UTF8_STRING atom (which was the target of the SelectionRequest). + + Work around this (esp as it is likely other programs may get this wrong too) + and accept the incr atom as a valid target in a selection notify event. + + This fixes Alon's test with running: + python -c "print list(range(1000))" | xsel -i -b + on the client. + + spicec-x11: Don't crash on apps sending bad atoms as TARGETS + Some apps (bad xsel, bad!) send invalid Atoms in their TARGETS property, + causing spicec to exit because of an XError. This patch makes spicec survive + this scenario. + + For more info on the xsel bug, see: + https://bugzilla.redhat.com/show_bug.cgi?id=690214 + +2011-03-23 Christophe Fergeau <cfergeau@gmail.com> + + common/gl: remove unused variable + clang static analyzer warned that 'len' was computed but never + used in glc_vertex2d. glc_stroke_line_dash has side effects so + we have to call it, but we don't need to save its return value + since it's not used. + + opengl: fix compilation + When OpenGL is enabled, build fails in DisplayChannel::create_surface + because Canvas *canvas is declared twice. Remove the first + declaration to fix compilation. + +2011-03-22 Alon Levy <alevy@redhat.com> + + server/tests: add test_playback + + configure.ac: fix message when missing SASL lib + + server: use -std=c99 + Finds some bugs. + + python_modules/codegen.py: fix indent error in an unused function + + client/smartcard: use proper include delemiters + +2011-03-11 Hans de Goede <hdegoede@redhat.com> + + client: Don't handle hotkeys while sticky alt is active + In some cases rhev-m changes the hotkey for releasing the mouse grab + to ctrl + alt. This makes it impossible to send ctrl + alt + other-key + to the guest, even when using sticky alt. + + What happens is: + -press alt until sticky alt activates + -release alt (but recorded state stays pressed due to sticky alt) + -press ctrl + -hotkey code sees ctrl+alt pressed, releases mouse grab + -mouse grab release code does an unpress all -> end of sticky state. + + This patch makes it possible to atleast send ctrl + alt + del (or other key) + using sticky alt. Note: even with this patch it is still a bad idea to + use ctrl + alt as hotkey combi. + +2011-03-08 Alon Levy <alevy@redhat.com> + + server/reds: allow call to reds_agent_remove even if it is gone + The current assert(reds->agent_state.connected) tiggers if when + the agent disconnected there was still data waiting to be sent (for + instance if there is a bug in the client handling clipboard and it + is killed while a large clipboard transfer is in progress). So first + call to reds_agent_remove happens from spice_server_char_device_remove_interface, + and then it is called again (triggering the assert) from free_item_data + from read_from_vdi_port because of the channel destruction. + + Other option would be to not call it from one of the paths - but that + is suboptimal: + * if there is no data in the pipe, the second call never happens. + * the second call has to be there anyway, because it may fail during + parsing data from the agent. + + This patch fixes a segfault on this assert when a client starts passing + from guest agent to client a large clipboard and dies in the middle. There + is still another assert happening occasionally at marshaller which I don't + have a fix for (but it doesn't seem to be related). + + client/smartcard: handle the --smartcard-db option + +2011-03-08 Arnon Gilboa <agilboa@redhat.com> + + client/windows: cleanup vcproj based on updated libs + using updated windows libraries: + http://www.spice-space.org/download/stable/wspice-x86_08032011.zip + http://www.spice-space.org/download/stable/wspice-x64_08032011.zip + + -remove IgnoreDefaultLibraryNames="MSVCRT.lib", since pixman is now compiled + using MT threading model similar to other libraries. It used to be mistakenly + compiled with MD. + + -downgrade freetype lib to 2.3.11-7, which is the one used/tested with + CEGUI 0.6.2 + + -pthread lib patched (InterlockedCompareExchange), so x64 client will no + longer crash on SelectClipRgn, BitBlt etc. + +2011-03-03 Marc-André Lureau <marcandre.lureau@redhat.com> + + server/input: avoid double free() of RedChannel on disconnect + Current master is calling red_channel_destroy() on incoming error, but + reds Channels still references it, which causes a double free() later + on (see valgrind report below). + + Instead, on error condition, do like the rest of the channels and call + reds_disconnect(), which remove the references and call shutdown(), + which then call red_channel_destroy() and finally free the channel + with red_channel_destroy(). + + Note: the previous code intention was certainly to be able to keep the + rest of the channels connected when input channel has errors. This is + not addressed by this patch. + + red_channel_shutdown: + ==29792== Invalid read of size 8 + ==29792== at 0x4C6F063: red_channel_shutdown (red_channel.c:460) + ==29792== by 0x4C51EFA: inputs_shutdown (inputs_channel.c:463) + ==29792== by 0x4C48445: reds_shatdown_channels (reds.c:539) + ==29792== by 0x4C4868A: reds_disconnect (reds.c:603) + ==29792== by 0x4C519E9: main_channel_on_error (main_channel.c:765) + ==29792== by 0x4C6E80A: red_channel_peer_on_incoming_error (red_channel.c:215) + ==29792== by 0x4C6E22D: red_peer_handle_incoming (red_channel.c:87) + ==29792== by 0x4C6E551: red_channel_receive (red_channel.c:154) + ==29792== by 0x4C6F329: red_channel_event (red_channel.c:531) + ==29792== by 0x41CB8C: main_loop_wait (vl.c:1365) + ==29792== by 0x437CDE: kvm_main_loop (qemu-kvm.c:1589) + ==29792== by 0x41FE9A: main (vl.c:1411) + ==29792== Address 0x30b0f6d0 is 0 bytes inside a block of size 28,648 free'd + ==29792== at 0x4A05372: free (vg_replace_malloc.c:366) + ==29792== by 0x4C6F032: red_channel_destroy (red_channel.c:454) + ==29792== by 0x4C6E80A: red_channel_peer_on_incoming_error (red_channel.c:215) + ==29792== by 0x4C6E22D: red_peer_handle_incoming (red_channel.c:87) + ==29792== by 0x4C6E551: red_channel_receive (red_channel.c:154) + ==29792== by 0x4C6F329: red_channel_event (red_channel.c:531) + ==29792== by 0x41CB8C: main_loop_wait (vl.c:1365) + ==29792== by 0x437CDE: kvm_main_loop (qemu-kvm.c:1589) + ==29792== by 0x41FE9A: main (vl.c:1411) + + https://bugs.freedesktop.org/show_bug.cgi?id=34971 + + Revert "server/red_channel: red_channel_event: push on blocked" + This reverts commit 5062433d8af45822371b6487a8d7baea23071d18. + + red_channel_receive() can call red_channel_destroy() which frees + channel. + + The condition bellow is then checked, which can access a freed + channel: + + if (event & SPICE_WATCH_EVENT_WRITE || channel->send_data.blocked) + + Reverting this commit solves the issue without any apparent + bugs/drawbacks, which kind of clears out the weird TODO. + + handle_dev_input: cursor connect + ==11826== Invalid read of size 4 + ==11826== at 0x4C6F83C: red_channel_event (red_channel.c:535) + ==11826== by 0x41CB8C: main_loop_wait (vl.c:1365) + ==11826== by 0x437CDE: kvm_main_loop (qemu-kvm.c:1589) + ==11826== by 0x41FE9A: main (vl.c:1411) + ==11826== Address 0x31fb00f0 is 96 bytes inside a block of size 28,648 free'd + ==11826== at 0x4A05372: free (vg_replace_malloc.c:366) + ==11826== by 0x4C6F536: red_channel_destroy (red_channel.c:453) + ==11826== by 0x4C52B5D: inputs_channel_on_incoming_error (inputs_channel.c:449) + ==11826== by 0x4C6ED0E: red_channel_peer_on_incoming_error (red_channel.c:215) + ==11826== by 0x4C6E731: red_peer_handle_incoming (red_channel.c:87) + ==11826== by 0x4C6EA55: red_channel_receive (red_channel.c:154) + ==11826== by 0x4C6F82D: red_channel_event (red_channel.c:530) + ==11826== by 0x41CB8C: main_loop_wait (vl.c:1365) + ==11826== by 0x437CDE: kvm_main_loop (qemu-kvm.c:1589) + ==11826== by 0x41FE9A: main (vl.c:1411) + ==11826== + + https://bugs.freedesktop.org/show_bug.cgi?id=34971 + +2011-03-02 Alon Levy <alevy@redhat.com> + + server/red_worker: use red_channel_pipe_item_init + replaces in file red_pipe_item_init. + + server/red_channel: move out_bytes_counter from Outgoing to RedChannel + + server/red_channel: split Incoming/Outgoing to callback and state + This allows later to have the callback table under RedChannel when + the callbacks actually get used by RedChannelClient. Since the cb's + are identical for different clients of the same channel it makes sense + to store the callback pointers in one place per channel. The rest of + the incoming and outgoing struct just gets moved to RedChannelClient. + + server/red_channel: no opaque in red_channel_peer_on_*_error + + server/red_worker: use red_channel_is_connected + + server/red_channel: add red_channel_disconnect, use in red_worker + replace channel_release_res in red_worker with red_channel_disconnect. + + server/red_channel: reset send_data.item to NULL after release + + server/red_worker: remove RedChannel argument from add_buf_from_info + It was unused. + + server/red_channel: add red_channel_{,no_}item_being_sent + + server/red_worker: complete removal of send_data.marshaller use + + server/red_worker: replace _send_ functions by _marshall_ + Changes in display channel for a code size win. + + A note about this and the previous cursor change: it will appear that we are + now (with these changes) releasing resources too early. This is not so - send + always has the option of blocking, which means after send you can not release + resources anyway, that's what the release_item callback is for. So both the + code before and now are doing the same accounting. + + server/red_channel: add red_channel_send_message_pending + + server/red_channel: add red_channel_all_blocked + + server/red_worker: cursor channel: replace _send_ with _marshall_ + + server/red_channel (all): add red_channel_get_header + This is useful during the channel specific channel_send_pipe_item_proc + callback, it allows altering or reader the header being sent. + + server/red_channel: add red_channel_get_first_socket + Use in main_channel. This is just for backward portability later + when multiple clients are introduced - needs to be considered (which + sockets do we want to export from libspiceserver?) + + server/red_channel (+): remove red_channel_add_buf + + server/tunnel: pass SpiceMarshaller reference from send + Introduce SpiceMarshaller param to all send's that do add_buf + + Next patch will use marshaller in all functions that currently don't by + replacing red_channel_add_buf with marshaller add_ref. Note - currently + tunnel is broken due to wrong size in messages. + + server/red_channel (all): add red_channel_get_stream + use in config_socket, this makes the stream internal to the RedChannel + implementation that will change later for multiple client support. + + ring: add RING_FOREACH{,_SAFE,_REVERSED} + + server/common: introduce common/spice_common.h + move all the ASSERT/PANIC/PANIC_ON/red_error/red_printf* macros + to a common file to be used with ring.h that is going to be used externally + (by spice-gtk). + + server/red_channel (all): handle MIGRATE_DATA and MIGRATE_FLUSH_DATA + Handling done in red_channel instead of per channel, using call backs + for the channel specific part. + Intended to reduce furthur reliance of channels on RedChannel struct. + + The commit makes the code harder to understand because of the artificial + get_serial stuff, should later be fixed by having a joint migration + header with the serial (since all channels pass it). + + server/red_channel (all): add red_channel_get_marshaller + For ussage in the send_item callback. It's only valid during this + time anyway (should make it return NULL in other occasions?) + + No more direct usage of RedChannel.send_data.marshaller by channels. + + server/red_worker: use red_channel_destroy + + server/inputs_channel: s/PIPE_ITEM_INIT/PIPE_ITEM_INPUTS_INIT/ + + server/red_channel: move SET_ACK to red_channel + + server/red_channel: add more ack api + + server: use red_channel_get_message_serial + + server/red_channel (all): makes red_channel_reset_send_data private + ready the way for handling ack messages in RedChannel. + + server/red_worker: use red_channel + + server/red_channe: make hold_item take a channel arg + + server/red_worker: introduce red_peer_handle_outgoing and OutgoingHandler + From red_channel. + + server/red_worker: introduce common_channel_config_socket + + server/red_worker: line width fix + + server/red_worker: don't push to NULL channel (called from device input) + + server/red_worker: introduce red_channel_pipe_clear + No more common_release_pipe_item + + server/red_worker: add red_channel_push + + server/red_worker: add send_item + + server/red_worker: red_channel renames + The renames are part of refactoring red_worker's RedChannel to reuse + red_channel.h's RedChannel at the end. + + s/red_send_data/red_channel_send/ + s/red_pipe_get/red_channel_pipe_get/ + s/recive_data/incoming/ + s/red_receive/red_channel_receive/ + s/channel_handle_message/red_channel_handle_message/ + s/channel_is_connected/red_channel_is_connected/ + s/red_pipe_add_type/red_channel_pipe_add_type/ + + server/red_tunnel_worker: use message_serial setter and getter + fixes breakage in --enable-tunnel compilation. + +2011-03-01 Hans de Goede <hdegoede@redhat.com> + + x11: Use _exit rather then exit on X errors (rhbz#680763) + This avoids us trying to restore the original resolution when we're fullscreen + and an X error happens. As restoring fullscreen is a bad idea then as this + involves making more X calls, which can get us stuck (in side an XLockDisplay + call for example). + +2011-03-01 Uri Lublin <uril@redhat.com> + + client: exit nicely for --controller with no SPICE_XPI_SOCKET (rhbz#644292) + When starting spicec with --controller, SPICE_XPI_SOCKET environment + variable must be defined so spicec and the controller can be connected. + +2011-03-01 Hans de Goede <hdegoede@redhat.com> + + Fix keyb modifiers not syncing from client to client os (rhbz#679467) + +2011-02-28 Marc-André Lureau <marcandre.lureau@redhat.com> + + server: add SASL support + We introduce 2 public functions to integrate with the library user. + + spice_server_set_sasl() - turn on SASL + spice_server_set_sasl_appname() - specify the name of the app (It is + used for where to find the default configuration file) + + The patch for QEMU is on its way. + + https://bugs.freedesktop.org/show_bug.cgi?id=34795 + + server: add auth mechanism selection + https://bugs.freedesktop.org/show_bug.cgi?id=34795 + + server: add reds_channel_dispose() + Try to have a common base dispose() method for channels. For now, it + just free the caps. + + Make use of it in snd_worker, and in sync_write() - sync_write() is + going to have default caps later on. + + https://bugs.freedesktop.org/show_bug.cgi?id=34795 + + server: simplify and constify sync_write() + + symplify, improving style of code using it. + + https://bugs.freedesktop.org/show_bug.cgi?id=34795 + + server: pull out reds_handle_link(), for future reuse + + a couple of indent, style change + + https://bugs.freedesktop.org/show_bug.cgi?id=34795 + + build: add --with-sasl + Using cyrus SASL library (same as gtk-vnc/qemu). + + https://bugs.freedesktop.org/show_bug.cgi?id=34795 + + common: add SpiceBuffer - based on qemu-vnc Buffer + https://bugs.freedesktop.org/show_bug.cgi?id=34795 + + server/reds: make writev fallback more generic + We are going to reuse it for SASL/SSF encode write(). + + https://bugs.freedesktop.org/show_bug.cgi?id=34795 + + server: rename s/peer/stream + This is stylish change again. We are talking about a RedStream object, + so let's just name the variable "stream" everywhere, to avoid + confusion with a non existent RedPeer object. + + https://bugs.freedesktop.org/show_bug.cgi?id=34795 + + server/reds: remove the void* ctx field + https://bugs.freedesktop.org/show_bug.cgi?id=34795 + + server: use the new reds_stream_{read,write} + https://bugs.freedesktop.org/show_bug.cgi?id=34795 + +2011-02-27 Marc-André Lureau <marcandre.lureau@redhat.com> + + server: remove cb_free, not needed anymore + https://bugs.freedesktop.org/show_bug.cgi?id=34795 + + server: use reds_{link,stream}_free() + Be carefull removing the watch before, like __release_link + + https://bugs.freedesktop.org/show_bug.cgi?id=34795 + + server: use reds_stream_remove_watch() helper + https://bugs.freedesktop.org/show_bug.cgi?id=34795 + + server: add reds_stream_{read,write,free,remove_watch}() + https://bugs.freedesktop.org/show_bug.cgi?id=34795 + + server: s/RedsStreamContext/RedsStream + https://bugs.freedesktop.org/show_bug.cgi?id=34795 + + server/reds: remove unused readv + Let's not bother with it since nobody uses it, and it's not implemented for SSL anyway + + https://bugs.freedesktop.org/show_bug.cgi?id=34795 + + build: make it silent + This patch make it easier to spot warnings in compilation. It should + work with older versions of automake that don't support silent rules. + + If you want verbose build, make V=1. + + + https://bugs.freedesktop.org/show_bug.cgi?id=34795 + +2011-02-13 Arnon Gilboa <agilboa@redhat.com> + + client/windows: use SPICE_PROTOCOL_DIR in project include dirs + instead of ..\..\..\spice-protocol. Relative path to another git tree is a bit + ugly, since it requires spice-protocol to be in a specific location. + + SPICE_PROTOCOL_DIR should also be used in windows qxl and vdagent instead of + SPICE_COMMON_DIR, which is an old and confusing name, due to the common + directory in spice git repo. + +2011-02-11 Alon Levy <alevy@redhat.com> + + server/tests/basic_event_loop: fix bzero warning + + tests/migrate.py: refactor to allow importing for later use + +2011-02-11 Hans de Goede <hdegoede@redhat.com> + + Drop static_title.bmp from windows/Makefile.am + +2011-02-11 Alon Levy <alevy@redhat.com> + + server/red_worker: cursor_channel_send_item: don't downcast + + server/red_worker: match channel_release_pipe_item_proc to red_channel + + server/red_worker: introduce an outgoing struct around out_bytes_counter + + server/red_worker: renames to add channel_ prefix and consistent sig + s/disconnect_channel_proc/channel_disconnect_proc/ + s/release_item_proc/channel_release_pipe_item_proc/ + s/handle_message_proc/channel_handle_parsed_proc/ + + Adds RedChannel* channel as first parameter to hold_pipe_item_proc + + server/red_worker: split cursor_channel_send_item + Split from cursor_channel_push + + server/red_worker: use red_channel begin_send_message + s/red_begin_send_message/red_channel_begin_send_message/ + + server/red_worker: add red_channel_init_send_data + Changes semantics of send to always hold/release regardless of block, like + red_channel. A hold is just a reference count increment or nop. + + server/red_worker: split display_channel_send_item + Split it out of display_channel_push. + + server/red_worker: extract common_release_pipe_item from red_pipe_clear + + server/red_worker: use red_channel pipe add versions + s/red_pipe_add/red_channel_pipe_add/ + s/red_pipe_add_after/red_channel_pipe_add_after/ + + server/red_worker: shorten some lines using alias variables + + server/red_worker: introduce CommonChannel + with everything (almost) not in red_channel's RedChannel + + As a result of CommonChannel a free cb is added to EventHandler, + to take care of non zero offset for embedded EventHandler. + + server/red_worker: use ack_data struct + start of move to red_channel based channels + + server/red_worker: change hold_item sig, drop the void* + changed to PipeItem * + +2011-02-09 Alon Levy <alevy@redhat.com> + + update required minimal libcacard to 0.1.2 + + client/smartcard: libcacard dropped ReaderAddResponse + uses VSC_Error with code==VSC_SUCCESS instead. This means that the VSC_Error + message is overloaded. Instead of the other option of adding a message id, + since the connection is TCP so no messages may be dropped or reordered, by + having each message followed by a response there is no ambiguity. Still + this commit adds a queue for messages that we only have one of which outstanding + at a time, i.e. send, wait for response, send the next, etc. This further + simplifies the logic, while not adding much overhead since only when spicec + starts up it has a situation where it needs to send two events (ReaderAdd + and ATR for Card Insert). + + server/smartcard: don't push our own error on reader add + The device already sends one. There are actually two connections going + on: + server to client - this is the smartcard channel, it reuses the VSC protocol. + server to device - this is an internal connection using VSC too. + + We generally just passthrough all messages from the client to the device, + and from the device to the client. We only rewrite the reader_id because + the device knows about a single id (it is actually a card id), and we + may manage more then one in the future. + + Bottom line is that there was an extra VSC_Error message reaching the client. + +2011-02-07 Alon Levy <alevy@redhat.com> + + client/smartcard: ignore VSC_Init + + server/smartcard: ignore VSC_Init from client + + server/smartcard: print instead of assert on bad reader_id in smartcard_char_device_on_message_from_device + + server/smartcard: libcacard uses network byte order, so we must too + + client/smartcard: s/reader_id_t/uint32_t/ (libcacard changed) + + server/smartcard: libcacard removed ReaderAddResponse + + server/smartcard: s/reader_id_t/uint32_t/ (libcacard changed) + + server/red_channel: style fix in red_channel_init_send_data + + server/red_channel: red_channel_pipe_clear: assert on NULL channel + + server/red_channel: add TODO + + server/red_channel: export red_channel_send + + server/red_channel: add red_channel_waiting_for_ack + small inline function to have the ack window logic. + + server/red_channel: protect red_channel_push from NULL + + server/red_channel: reset pipe_size on clear (from red_worker) + + server/red_channel: red_channel_event: push on blocked + try to push either on signal (write available) or when blocked + and read signaled. From red_worker, copied for compatibility when + switching later to RedChannel in red_worker. Doesn't make a lot of + sense (but works), see comment in patch. + + server/red_channel: use red_channel_receive + + server/red_channel: add empty handle of SPICE_MSGC_DISCONNECTING + Simply ignored in red_channel_handle_message + + server/red_channel: add red_channel_receive (for red_worker) + + server/red_channel: unstatic red_channel_pipe_clear (for red_worker) + + server/red_channel: unstatic red_channel_push (for red_worker) + + server/red_channel: two 80 column fixes + + server/red_channel: add public red_channel_default_peer_on_error + for later use in red_worker + + server/red_channel: add red_channel_pipe_add_after (from red_worker) + + server/red_channel: make client ack window configurable + from red_worker + + server/red_channel (tunnel): change sig of red_channel_handle_message + for later usage with red_worker + + server/red_channel: make MAX_SEND_VEC 100 + MAX_SEND_VEC was 100 for DisplayChannel's RedChannel implementation which is being replaced + with RedChannel in red_channel. So changing from 50 to 100 in red_channel + (make this configurble?) - effectively increased memory usage by: + (100-50)*sizeof(iovec)*(num_of_channels-2) ==(arch 64bit) 50*16*6 ~ 5k + Not terrible. + + server/red_channel: reflect SpiceDataHeader fields in handle_parsed_proc + + server/red_channel: add red_channel_pipe_add_push + + server/red_channel: add hold_item (from red_worker) + hold_item called on init_send_data, matching release. + This is not the behavior of red_worker - we ref++ (==hold_item) when + sending the item, and --refs when releasing it, instead of only holding + if the send is blocked. + + Note 1: Naming: hold_pipe_item is the proc name, the variable is called + hold_item, this is similar to release_item/release_pipe_item naming. + + Note 2: All channels have empty implementation, we later use this when + red_worker get's RedChannelized. + + server/red_channel: add out_bytes_counter (unused) + + client: log subject-host mismatch, and raise ssl warnings to errors + + configure.ac: use AC_LANG_SOURCE in AC_COMPILE_IFELSE, silence remaining warnings + + server/red_worker: fix used but uninitialized warning (gcc 4.6.0) + +2011-01-27 Uri Lublin <uril@redhat.com> + + spice-client migration: fix minor for old migration support. + For not too old spice-migration, minor is 1. + For older (ancient) spice-migration, minor is 0. + + Affects only VM migration while a spice client is connected. + +2011-01-27 Alon Levy <alevy@redhat.com> + + client/windows: don't allocate console unless required + + client: fix broken vs2008 build + + client: --help should not need platform initialization + separate initialization into before command line parsing and after, + call later only if command line parsing succeeds (in particular, it + "fails" if --help is given). + +2011-01-25 Alon Levy <alevy@redhat.com> + + demarshaller/marshaller fix gcc 4.6.0 + python_modules/demarshal.py and marshal.py fixes for gcc 4.6.0 + warning about set but unused variables. The fixes disable creating + of variables mem_size when they are not used (demarshall) and + declaring a src variable when the message doesn't use it (marshal). + + You need to touch *.proto after applying this (should add a Makefile + dependency). + + codegen: avoid creating out if not used (fix gcc 4.6.0 warning) + + client: gcc 4.6.0: two more unused variable fixes + + client/cegui: cegui 0.6.0 gcc 4.6.0 related fix + cegui doesn't include stddef required for ptrdiff_t type, we + include it for it. + + client/glz_decoder.cpp: gcc 4.6.0 unused fixes + + client/display_channel: gcc 4.6.0 unused fixes + + common/sw_canvas: remove unused error val + This is the only unused var change I'll want to revisit eventually, + I'm submitting anyway since it doesn't change current behavior. I'm + talking about ignoring the return value from canvas creation. Adding + a print is possible but I didn't test (may be too verbose, also + preferable to be a debug print if so, and we don't have that option + in the code atm - probably an environment variable will do, or adding + some spice_server_set_logging_level api, maybe even + spice_server_set_logging_fd?) + + common/canvas_base.c: remove unused variables + + client/server: warning fixes (gcc 4.6.0) + gcc 4.6.0 added "[-Werror=unused-but-set-variable]", this and the next + few fixes tend to that. Mostly harmless. + + client/server: add missing USE_TUNNEL + disable some code that only makes sense when USE_TUNNEL is defined + in client and server channel security level setting. + + client/server: add missing smartchannel channel security handling + The name to channel id mapping for the smartcard channel is missing, + add it in client and server. + +2011-01-21 Hans de Goede <hdegoede@redhat.com> + + Update license header for server/red_parse_qxl.c + This one mistakenly had a GPL header rather then an LGPL header. + + Drop unnecessary X11 and alsa requires from spice-server.pc + +2011-01-19 Hans de Goede <hdegoede@redhat.com> + + server: remove dep on CEGUI + +2011-01-16 Alon Levy <alevy@redhat.com> + + server/red_channel: fix segfault on red_channel_destroy if peer already removed + + server/inputs_channel: use outgoing marshaller in red_channel/RedChannel + +2011-01-15 Alon Levy <alevy@redhat.com> + + tests/migrate.py: add a migration test + + server/main_channel: use red_channel (most code is pipe send/marshall separation) + + server/red_channel: no need for extra loop + +2011-01-13 Alon Levy <alevy@redhat.com> + + server/red_channel: go marshaller for outgoing (copied from red_worker) + + server/reds: don't remove agent if it's not connected + + server/reds: protect reds_update_mouse_mode when main_channel is disconnected + + server/reds: don't call close on NULL channel on atexit callback + + server/reds: fix possible segfault when accessing vdagent from reds_update_mouse_mode after vdagent set to NULL + + server/reds: s/reds_push_migrate_data_item/reds_marshall_migrate_data_item/ + + server: split main_channel from reds + +2011-01-11 Alon Levy <alevy@redhat.com> + + server: remove dep on libcacard + Only the client needs this, and erronously using SPICE_REQUIRES + results in libcacard dep in spice-server.pc, which is then dragged + into qemu when linking, beeing used instead of the builtin libcacard. + +2011-01-10 Alon Levy <alevy@redhat.com> + + server/tests: split test_display_no_ssl to test_display_base, add streaming test + + server/tests/test_display_no_ssl: add update_area, COPY_BITS to tested functions, make a queue of QXLCommandExt waiting (cursor still with production at get_command) + + server/tests/test_display_no_ssl: add surface create/destroy test (commented out), and square mode (default) + + server/tests: fix timer reset to allow setting next call during callback + + server/tests/test_display_no_ssl: change color every circle + + server/tests/test_display_no_ssl: restart notify timer + + server/tests: basic_event_loop: reset timer after firing it + + server/tests/test_display_no_ssl: disable cursor test until it works correctly + + server/test/test_display_no_ssl: add beginning of basic cursor item test. doesn't actually show anything on client. also, leaks. + + server/tests/test_display_no_ssl: make window 320x320, two colored updates, one in notify batch + +2011-01-07 Alon Levy <alevy@redhat.com> + + server/red_worker: use 1, not 4 when lz_encoding a top down image + +2011-01-06 Alon Levy <alevy@redhat.com> + + client/cmd_line_parser: fix wrong reporting of bad argument in --bla=val case + We use get_opt_long, which allows non ambiguous abbreviations, but + since we didn't like that we have code that checks for abbreviations and + issues an error. But that code only handled separate argument and key like: + --bla value + and didn't handle them in the same arguemnts, like: + --bla=value + This patch fixes that, and gives a slightly better error report (it still + contains the =value part though) + +2011-01-05 Alon Levy <alevy@redhat.com> + + common, canvas_get_jpeg_alpha: let top_down be any value + Allow top_down flag to have any value, only ASSERT it is positive + when needs to be positive and zero otherwise. Allows older server + bug of sending 4 instead of 1 in top down flag to not affect newer + clients (previous patch fixes server). + + client: CEGUI: search for CEGUI-0.6 to work in F15 (rawhide) + +2011-01-05 Thomas Tyminski <thomast@cs.tu-berlin.de> + + Fixes compilation error of Spice Client (Linux/X11) with OpenGL enabled modified: client/x11/red_window.cpp + +2010-12-30 Alon Levy <alevy@redhat.com> + + mingw32: refix to build on mingw.. + +2010-12-30 Marc-André Lureau <marcandre.lureau@redhat.com> + + client inputs: stop blinking keyboard when out of focus + We could introduce another boolean to prevent changes, or just reuse + _active_modifiers_event = true to prevent further update. + + Additionaly this patch restore the keyboard state when focusing out, + which is fine when dealing with full remote desktop, but should be + reconsidered if/when SPICE supports remote windows managed by client + window manager for instance, imho. + +2010-12-30 Tiziano Mueller <dev-zero@gentoo.org> + + jpeg_boolean is a mingw32-libjpeg specific thing. Use a define check rather than a version check. + +2010-12-17 Hans de Goede <hdegoede@redhat.com> + + server: Update SPICE_SERVER_VERSION + + Makefiles: fix server/tests/test_util.h not being included in make dist + + server: Update SPICE_SERVER_VERSION + +2010-12-16 Hans de Goede <hdegoede@redhat.com> + + spicec: Remove spice-client watermark (rhbz#662450) + This patch stops us from drawing the spice client watermark at the top of + the virtual machine view. We have had requests through several channels to + remove this as it has little added value, and is seen as annoying by some. + Given that we now also have a bugzilla for this I think it is time we really + remove it. + + spicec-x11: Let the window manager place our window the 1st time (rhbz#662407) + The problem is that RedWindow::show calls the XLib MoveWindow function + on the window after it has been mapped, moving it to the location in + _show_pos. This is seen by the window manager as the application saying + I know exactly where I want my window to be placed, don't do placing for + me. Which causes the client window to always be shown at pos 0x0, even + though that may not be the best location. + + What this patch does is: + 1) It makes RedWindow::show not call MoveWindow when a window is + first created normally and then shown + 2) It makes RedWindow::show still call MoveWindow when: + -when the window has been shown before, and was hidden for some + reason (controller interface), and is now being re-shown + so that it ends up being re-shown at its old position + -when the window is a fullscreen window (screen.cpp always + calls move on the window before showing it to set its position) + -when the user switch from windowed mode -> fullscreen -> + windowed mode again, to make sure that the windowed mode window + is shown in the same position as before switching to fullscreen + mode + + spicec-x11: Add a class hint to our window managet hints + This helps people who want to tell their windowmanager to do something special + with spicec, like make it sticky, or whatever, see: + https://bugzilla.redhat.com/show_bug.cgi?id=662452#c4 + + spicec: Add a --title cmdline option (rhbz#662452) + +2010-12-16 Gerd Hoffmann <kraxel@redhat.com> + + move chardevs out of experimental + While we are at it: There is no reason for chardev + support to stay in the experimental area, so move it out. + qemu should not need the "spice-experimental.h" file. + + move switch-host migration out of experimental + seamless stays in the experimental area. + comments updates too. + + client migration: switch host + Implement server-side support for switch-host client migration. Client + side support is present already in the tree. + + Setting the migration information is done using the existing + spice_server_migrate_info() function. A new + spice_server_migrate_switch() function has been added which triggers + sending out the switch-host message. + + Seamless migration functions are left there for now. + spice_server_migrate_start() has been chamnged to just fail + unconditionally though as seamless migration is broken anyway. + +2010-12-15 Alon Levy <alevy@redhat.com> + + server/red_worker: fix worker->drawable_count + drawable_count was becoming negative. It tracks the number of + items in the worker->current_list ring. It was decremented correctly, + but incremented only in several cases. The cases it wasn't incremented + where: + red_current_add_equal found an equivalent drawable + by moving the increment to where the item is added to current_list, in + __current_add_drawable, the accounting remains correct. + + This has no affect other then correct accounting, as drawable_count isn't + used for anything. + +2010-12-11 Alon Levy <alevy@redhat.com> + + client/smartcard: external cac card library name and version changed + +2010-12-09 Gerd Hoffmann <kraxel@redhat.com> + + server: improve error handling + We should pass up errors instead of aborting. Do that at least + for bind() failures which actually happen in real live due to the + tcp port being busy. + +2010-12-08 Alon Levy <alevy@redhat.com> + + server/tests: fix for AM_LDFLAGS introduction + +2010-12-08 Gerd Hoffmann <kraxel@redhat.com> + + mingw32 build: disable -fvisibility test for unsupported mingw32 target + + v2: only disable for os_win32 (Hans) + +2010-12-08 Alon Levy <alevy@redhat.com> + + mingw32 build: check for CXImage, disable if not found (only on mingw32) + v2: + + simplify (Hans) + + also report presence of cximage for mingw32 target + + mingw32 build: use PRIu64 instead of ll + + mingw32 build: python_modules/marshal: use unsigned for for_loop index variable + + mingw32 build: various fixes + + mingw32 build: fix two functions + + mingw32 build: add missing switch flags (nop) + + mingw32 build: eol fixes + + mingw32 build: windows/Makefile.am: double NULL definition + + mingw32 build: missing linked files for spicec.exe + + mingw32 build: remove unused, initialize uninitialized, reorder constructor initializers + + mingw32 build: fix assignement as condition warning + + mingw32 build: fixed using -1 as uninitialized value for unsigned variables + + mingw32 build: fix signed/unsigned warnings as errors + + mingw32 build: fix configure.ac typo + + mingw32 build: fix various warnings + +2010-12-08 Gerd Hoffmann <kraxel@redhat.com> + + mingw32 build: fix build errors + + mingw32 build: disable ms compiler pragmas for gcc + +2010-12-07 Gerd Hoffmann <kraxel@redhat.com> + + mingw32 build: add client/windows/Makefile, tweak configure + + build: s/HUGE/INFINITY/ + + build: use jpeg_boolean with more recent libjpeg versions. + + build: only check for x11 extensions when building for x11 platform. + + build: alsa is needed on linux only. + +2010-12-07 Alon Levy <alevy@redhat.com> + + server/tests: Makefile.am: use AM_LDFLAGS instead of LDFLAGS + + server/inputs: return NULL on alloc_buf request for too large message + + server/red_channel: error channel if alloc_msg_buf fails (returns NULL) + + server/inputs_channel: better protection from channel disconnection on keyboard modifiers callback + + server/red_channel: add red_channel_is_connected + + server/inputs_channel: remove unused declaration in inputs_channel.h + + server/inputs_channel: s/inputs_channel/g_inputs_channel/ + + server/inputs_channel: initialize inputs_channel to NULL + + server: reds/inputs_channel: move some structs to inputs_channel + + server: inputs_channel: use red_channel + + server: red_channel: add optional parser and separate incoming/outgoing error handlers for later inputs/main channel usage + + server: inputs_channel: s/inputs_state/inputs_channel/ + + server: introduce inputs_channel, split from reds.c + + server/reds: fix typo + +2010-12-07 Arnon Gilboa <agilboa@redhat.com> + + spicec: do not call connect_secure when connect_unsecure fails due to protocol version mismatch (v2) + If connect_unsecure failed due to protocol version mismatch, don't try to + connect_secure with the same version, but retry (connect_secure or + connect_unsecure) with older version. catch (...) is handled by caller + at RedChannel::run(). + + This solves the following bug: when "new" Spice client (protocol version 2) + with given secure_port connects to "old" server which is not using the same + secure_port (or not using a secure_port at all), the client exits immediately. + + In this scenario, the client first tries to use Spice protocol version 2 to + connect the unsecure port, and altough this fails due to version mismatch, it + tries to connect to the secure port with the same protocol version 2, which is + a wrong behavior, fails due to socket error 10061 (WSAECONNREFUSED - + Connection refused) and handled mistakenly by immediate exit, instead of + retrying with protocol version 1. + +2010-12-07 Alon Levy <alevy@redhat.com> + + client/smartcard: add files to Makefile.am for make dist + + smartcard: configure option --enable-smartcard + + smartcard: server side (not enabled yet) + + smartcard: client: add keyboard shortcuts for remove/insert virtual card + + smartcard: client side (not enabled yet) + + smartcard: add to spice.proto + + server: add spice_server_char_device_remove_interface + +2010-12-06 Alon Levy <alevy@redhat.com> + + server: print subtype when adding CHAR_DEVICE interfaces + + server: add static to spice_server_char_device_add_interface + + spice codegen: fix copy-o, no such variable value + + server: fix print text on vdagent interface addition + + server: add char_device.h header, use in reds.c + + spice-experimental.h: add multiple include protection + + server/vdi_port (virtserial): always read data + We erronously ignored data from guest on the serial channel if no client is + connected. This leads to an assert when the guest writes a second time, since + there is still data unconsumed by us (the host). + Fix by reading data anyway, and discarding it after parsing (and reading) whole + messages from the guest. + Net affect is that any messages the agent sends while no client is connected + get discarded, but only full messages are discarded. + This fixes an abort if booting a winxp guest with vdagent without a connected + client. + +2010-12-02 Alon Levy <alevy@redhat.com> + + server: add char_device.h to Makefile.am for make dist + +2010-11-30 Alon Levy <alevy@redhat.com> + + server/tests: add test_display_no_ssl + updates taken from spice vga mode updates, i.e. non cacheable, glz compressed + (depends on whatever settings you apply to the server) opaque draw operations. + + completed the SpiceCoreInterface implementation (timers) + + v1->v2: + removed test_util.c (Hans) + replaced mallocz with calloc (Hans) + + server/tests: Makefile.am fixes + * don't install tests on make install + * don't forget anything for make dist tarball + + add .gitignore for tests + +2010-11-25 Hans de Goede <hdegoede@redhat.com> + + spicec: Don't show a white screen if guest resolution does not fit fullscreen + Currently when going / starting fullscreen if the guest resolution for one of + the monitors is higher then that monitor on the client can handle, we show a + white screen. Leaving the user stuck (unless they know the fullscreen key + switch combi) with a white screen when starting the client fullscreen from + the XPI. + + This patch changes the client to fall back to windowed mode in this case + instead. + +2010-11-24 Arnon Gilboa <agilboa@redhat.com> + + spicec: fix ASSERT to accept size == 0 + which is useful when calling RedClient::on_clipboard_notify(VD_AGENT_CLIPBOARD_NONE, NULL, 0); + + spicec-win: add image copy-paste support + -currently png & bmp + -using wspice libs cximage.lib & png.lib + -jpg & tiff will follow + +2010-11-23 Hans de Goede <hdegoede@redhat.com> + + spicec-x11: Fix unhandled exception: no window proc crash (rhbz#655836) + When XIM + ibus is in use XIM creates an invisible window for its own + purposes, we sometimes get a _GTK_LOAD_ICONTHEMES ClientMessage event on + this window. Since this window was not explicitly created by spicec, it + does not have a Window Context (with the event handling function for the + window in question) set. This would cause spicec to throw an unhandled + exception and exit. + + This patch replaces the exception throwing with silently ignoring + ClientMessage events on Windows without a Context and logging a warning + for other event types. + +2010-11-22 Hans de Goede <hdegoede@redhat.com> + + spicec-x11: Fix modifier keys getting stuck (rhbz#655048) + Currently modifier keys (ctrl, alt) can get stuck when using the x11 client. + To reproduce under gnome: + -focus the client window without causing it to grab the keyborad (click on + the title bar not the window) + -press crlt + alt + right arrow to switch virtual desktop + -press crlt + alt + left arrow to switch back + -notice ctrl + alt are stuck pressed + + What is happening here is: + -We get a focus out event, caused by the hotkey combi key grab, focus event + notify mode == NotifyGrab, and release all keys -> good + -We get another focus out event, as we really loose the focus. + notify mode == NotifyWhileGrabbed, which we ignore as we already lost + focus before + -We get a focus in event, as the focus is returning to us, but we don't + really have the focus yet, as the hotkey combi key grab is still active + (ie ctrl + alt are still pressed). + We now sync the vm's modifier key state with the current X-server state, + telling the vm ctrl + alt are pressed. Note we do this by directly reading + the X-server keyboard status, we are not getting any key press events from the + X-server -> bad + -We get another focus in event, as we really get the focus back, + notify mode == NotifyUngrab. We ignore this one as already have gained the + focus before. If we were to sync the vm modifier state here, all would be + well we would no longer see the modifier keys pressed, or if we would we + would get a release event when they get released (testing has shown both). + + The solution here is to ignore the first focus in event, and do the modifier + sync on the second focus in event, or more in general to ignore focus events + where notify mode == NotifyWhileGrabbed. + +2010-11-17 Hans de Goede <hdegoede@redhat.com> + + spicec-x11: Add a few missing XLockDisplay calls (rhbz#654265) + The XIM functions end up waiting for a reply from the server, so they + need locking around them. Idem for the XLookupString call. + +2010-11-09 Hans de Goede <hdegoede@redhat.com> + + spicec: Don't show gui when connection info is specified on the cmdline + Currently when compiled with the gui enabled if you specify a host to connect + to on the cmdline the gui flashes by (show_gui gets called, then the connect + handler calls hide_gui as soon as the connection is made). + + This patch removes this ugly flashing by of the gui. + + spicec: Remove empty show / hide gui functions + When compiling without gui support just don't call show / hide + gui, rather then making them stubs, this makes it easier to follow what is + going on. + + spicec: Fix info layer sometimes not showing + Currently we are calling show_info_layer from hide_gui in application.cpp, but + there are 2 cases where this does not happen: + + 1) When compiled without gui support hide_gui is a complete nop, so we never + show the info layer when compiled without gui support + 2) When run with --controller we never show the gui, and hide_gui + checks if there is a gui to hide as the first thing and if not returns + resulting in show_info_layer not being called, and thus the info layer + not showing when launched from the xpi + + This patch fixes both by adding a call to show_info_layer from + on_visibility_start note that on_visibility_start also calls hide_gui, + so in some cases show_info_layer may be called twice, this is not a + problem as show_info_layer is protected against this. + +2010-11-08 Alon Levy <alevy@redhat.com> + + server/reds: zap unsetting of QEMU_AUDIO_DRV + + gitignore: add generated_*, vim temps, pyc + + reds: remove needless buffer in InputsState + + server: tests: add basic tests with working do nothing server + +2010-11-08 Arnon Gilboa <agilboa@redhat.com> + + spicec-win: ignore MSVCRT.lib in x86 build + Same as in x64 build, for using the updated wspice-0.6.3 + +2010-11-05 Hans de Goede <hdegoede@redhat.com> + + spicec: Make cegui log to <app_data_dir>/cegui.log + This stops the client from dropping CEGUI.log files into the cwd all + the time, and stops it from crashing when the cwd is not writable + (rhbz#650253). + +2010-10-28 Hans de Goede <hdegoede@redhat.com> + + spicec-x11: Listen for selection owner window destroy / close events too + These rarely happen as most apps have the decency to do a SetSelectionOwner + None before exiting. But some do not, so listen for these too. + +2010-10-25 Alon Levy <alevy@redhat.com> + + client: add verbose link error messages + +2010-10-25 Arnon Gilboa <agilboa@redhat.com> + + spicec-tests: add controller_test (v2) + use chars for title & menu instead of wchars + + spicec-win: remove redundent strdup & buggy free + text refered a substr of item_dup and was used after free(item_dup). + no need to strdup, we can destroy the resource string. + +2010-10-25 Hans de Goede <hdegoede@redhat.com> + + controller: Make menu text utf-8 + We are making all text send over the controller socket utf-8, rather then + having somethings as 8 bit (hostname) and others (title, menu) unicode16, + this patch completes this change by converting the menu handling. + + spicec-x11: Do not set _NET_WM_USER_TIME to 0 on startup + Setting _NET_WM_USER_TIME to 0 means we do not want focus, not good. + +2010-10-25 Arnon Gilboa <agilboa@redhat.com> + + spicec-win: add x64 to vcproj & sln (v2) + use CEGUI for x64 as well, no need for the SUPPORT_GUI hack + + spicec-win: map title string from utf8 to utf16 + Fix win client broken by the utf8 patch. + +2010-10-24 Arnon Gilboa <agilboa@redhat.com> + + spicec-win: add #ifndef _WIN64 for u/intptr_t typedefs + + spicec-win: Replace Set/GetWindowLong to LongPtr for x64 competability + +2010-10-21 Hans de Goede <hdegoede@redhat.com> + + Remove no longer used wstring_printf functions + + client: Interpret the title control message as utf8 instead of unicode16 + The activex browser plugin is sending unicode16 text, where as the + xpi one is sending utf8 text. After discussing this on irc we've decided + that utf8 is what we want to use. So the client (this patch), and the + activex will be changed to expect resp. send utf8 text as the title. + + spicec-x11: Change source of controller socket name, fixing CVE-2010-2792 + The socket name used to communicate between the xpi browser plugin and the + spicec was predictable allowing a non priviliged user on the same system + to create the socket before spicec does and thus intercept the messages from + the xpi to the client, including login credentials. This security vulnerability + has been registred with mitre as CVE-2010-2792: + http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-2792 + + This patch changes the controller code to instead read the socket name + from an environment variable which gets set by the xpi before executing + the spicec, making the socketname private between the client and the xpi. + + Note that this means that the controller will only work with an xpi which + has matching changes, the changes are present in the latest version of the + xpi as available as update for / with RHEL-5.5 and RHEL-6.0 . + +2010-10-18 Hans de Goede <hdegoede@redhat.com> + + Release 0.6.3 + + Make the gui use Application::hide_gui rather then hide_me + Now that Application::hide_me actually does what the name suggests + (hide the entire client, ie all client windows), the gui using it to + not show the gui layer leads to the entire client disappearing when + one presses close in the GUI or dismisses a GUI dialog. This patch makes + the GUI code call hide_gui instead of hide_me, fixing this. + + Bump version to 0.6.2 + + Update NEWS for 0.6.2 release + + spicec-x11: Fix window management under KDE + There were 2 issues with window management under KDE + 1) When an app does its own focus management like we do, kwin expects + an explicit raise for the app to get to the top, so we did have focus, + but would have other windows (partially) covering the client window + -> do a raise after setting focus to ourselves + 2) When switching from fullscreen <-> window, we unmap and remap our + window, then set focus to ourselves. kwin thinks this means we're trying + to steal the focus without the user asking for it. This patch makes us + set the _NET_WM_USER_TIME property on our window, this helps kwin's + focus stealing code to see that we are really not stealing the focus, + just responding to a user event. + + client: change monitor mode setting <-> fullscreen window mode setting order + 1) Make the order when starting up in fullscreen mode the same as when + switching from window -> fullscreen: + First set the mode, then make the window fullscreen + 2) Change the order when leaving fullscreen mode, first restore the original + monitor mode, then make the window non fullscreen. Changing the monitor + mode in X11 causes the window manager to re-arrange windows, and if this + happens while compiz is busy mapping the window it gets confused and + maps the window with a maxmimized size. + + spicec-x11: Change WmSizeHints in fullscreen mode + Some window managers will ignore the fullscreen hint, unless WmSizeHints + allow them to resize the window so that they can give it the size of + the roo-window. This fixes fullscreen mode in compiz. + + spicec-x11: Add missing XLockDisplay around XRRSet* calls + XRRSet* calls wait for a XReply, so add a missing XLockDisplay, + this fixes a hang (due to a race so not always) when switching between + windowed and fullscreen mode. + + client: Do not try to send display_config until we've received the agent caps + Currenty, we check the agent caps in RedClient::handle_agent_connected + for VD_AGENT_CAP_DISPLAY_CONFIG and if present send display_config, but at + this time we have not received the caps yet, so remove this. + + Also the send_agent_display_config call in on_agent_announce_capabilities + lacks a check for _agent_disp_config_sent, and we send the display config + before announcing that we may do so by sending our own caps, which seems + inpolite. + +2010-10-18 Arnon Gilboa <agilboa@redhat.com> + + spicec: add controller + Spice client controller enables external control (e.g., by XPI or ActiveX) of + the client functionality. + + The controller protocol enables setting parameters (host, port, sport, pwd, + secure channels, disabled channels, title, menus, hotkeys etc.), connecting + the server, showing and hiding the client etc. + + The controller is based on the cross-platform named pipe. + + spicec: add foreign menu + Spice foreign menu enables external control of the client menu. + + The foreignmenu protocol enables an external application to: + add a submenu, set its title, clear it, add/modify/remove an item etc. + + Foreign menu is based on the cross-platform named pipe. + +2010-10-17 Arnon Gilboa <agilboa@redhat.com> + + spicec-win: move named_pipe defines + + spicec-win: fix menu id push to free_sys_menu_id + + spicec: enable multiple CmdLineParser instantiations + Used by controller. One instance at a time, not thread-safe. + Add basename() for win32. + + spicec: name host param + + spicec: add ProcessLoop::on_start_running() + + spicec: extract RedScreen::update_menu() + + spicec: add menu id & find_sub() + +2010-10-16 Hans de Goede <hdegoede@redhat.com> + + server: remove useless agent send_tokens + We are keeping track of tokens for sending agent data to the client, but + the client send an initial value of ~0, and never gives us new send tokens + so this is all rather useless -> remove it. + + Note that it is kept in the migration data struct for compatibility reasons. + +2010-10-15 Hans de Goede <hdegoede@redhat.com> + + Call read_from_vdi_port() from vdi_read_buf_release() + read_from_vdi_port(), called from vdagent_char_device_wakeup() may + fail to consume all data because no buffers are available in the + read_bufs ring. When this happens we would fail to ever read more data + from the agent on the guest as the port is throttled and stays throttled + until we've consumed all data from the current buffer. + + This patch re-enables the call to read_from_vdi_port() from + vdi_read_buf_release(), so that we will try the read again when space + becomes available in the read_bufs ring. + + Together with another nasty hack in the linux guest virtio_console + driver, where it waits for a write to be acked by the host before + continuing with the next one, this can lead to a linux guest + getting stuck / hang (until the write is read by the spice-server + which never happens becaus of the above issues). + + Note that even with this patch, the guest will still gets stuck due to + a bug in watch_update_mask in spice-core in qemu, which causes writing + to the client to never resume once it blocked. A patch for this has been + submitted to qemu. + + server: always call read_from_vdi_port() in a while loop + read_from_vdi_port() MUST always be called in a while loop until it returns 0. + + This is needed because it can cause new data available events and its + recursion protection causes those to get lost. Calling it until it returns 0 + ensures that all data has been consumed. + + Example scenario where we can fail to read the available data otherwise: + - server/reds.c: vdagent_char_device_wakeup get called + by hw/spice-vmc.c because data has arrived from the guest, + - hw/spice-vmc.c: vmc_read get calls + - If the vmc_read call depletes the current buffer it calls + virtio_serial_throttle_port(&svc->port, false) + - This causes vmc_have_data to get called, which if in the + mean time another buffer has arrived causes + vdagent_char_device_wakeup to gets called again + (so recursively) + - vdagent_char_device_wakeup is protected against recursive + calling and ignores the second call (a nasty hack) + - if no other data arrives, the arrived data will not get read + + Don't crash when a client disconnects while there were pending writes + + spicec-x11: add support for image copy and paste + +2010-10-12 Alexander Larsson <alexl@redhat.com> + + Replace epoll with select in X client + The use of epoll in the client is totally overkill in terms of + scalability, and its a problem for portability. The OSX port converts + this to use select, but keeps some of the old complexities in the code. + This new patch makes it simpler and look much more like the windows + code. + +2010-10-12 Gerd Hoffmann <kraxel@redhat.com> + + server: add channel notifications. + This patch adds a channel event callback to the spice core interface. + This new callback will be called for three events: + + (1) A new connection has been established. + (2) The channel is ready (i.e. authentication is done, + link message verification passed all tests, channel + is ready to use). + (3) Channel was disconnected. + + Qemu will use this to send notifications to the management app. + +2010-10-11 Hans de Goede <hdegoede@redhat.com> + + spicec-x11: Put locks around xlib calls which wait for a reply + Since libX11-1.3.4 the multi-threading handling code of libX11 has been + changed, see: + http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=933aee1d5c53b0cc7d608011a29188b594c8d70b + + This causes several issues. One of them is the display inside the + client not getting updated when there are no XEvents being generated, + this is caused by the following part of the referenced commit message: + + Caveats: + - If one thread is waiting for events and another thread tries to read a reply, + both will hang until an event arrives. Previously, if this happened it might + work sometimes, but otherwise would trigger either an assertion failure or + a permanent hang. + + We were depending on the otherwise behavior and apparently were lucky. + This can be seen by starting F14 in runlevel 3 and then doing startx + and not touching the mouse / keyb afterwards. Once you move the mouse + (generate an event you see the UI contents being updated but not before. + + Another thing both I and Alon (iirc) have seen are hangs where 2 + threads are stuck in XSync waiting for a reply simultaneously. This might + be related to libxcb version, according to the libX11 commit a libxcb + newer then 1.6 was needed, and my system had 1.5 at the time I saw this + after updating to libxcb 1.7 I can no longer reproduce. + + This patch tackles both problems (and is needed for the 1st one + indepently of the 2nd one possibly being fixed) by adding XLockDisplay + calls around all libX11 calls which wait for a reply or an event. + +2010-10-11 Arnon Gilboa <agilboa@redhat.com> + + spice-win: handle multiple types on clipboard grab send & receive + + spice-win: remove clipboard_changer hack + Instead of keeping a flag, we simply check wether the new owner is us or not + + spice-win: handle type VD_AGENT_CLIPBOARD_NONE in Platform::on_clipboard_notify() + + spice-win: remove windows-specific bitmap cut & paste support + will wait until png comes in + +2010-10-09 Hans de Goede <hdegoede@redhat.com> + + spicec: Do not try to do accounting of pci memory + Without this patch spicec reproducely hangs in + GlzDecoderWindow::pre_decode_update_window(). + + When GlzDecoderWindow::will_overflow() returns true, + GlzDecoderWindow::pre_decode_update_window(), + waits for a call to GlzDecoderWindow::post_decode() + to free up some memory + + This happens even though there still is pci memory + available (otherwise the driver would not have + been able to send an image to decode in the first + place). + + The GlzDecoderWindow::post_decode() call never happens + as the server is waiting for a reply to the decode + of the hanging image, causing the client to hang + for ever. + + This patch fixes this by simply removing the + "attempted" pci memory accounting. As there is no + need for that, as the driver already must keep + track of pci memory usage. + + I've verified that both the old and new Xorg drivers + take care of not overusing the pci memory themselves + I would expect the same to be true for the windows + driver. + + Note the calculating of the glz_window_size in + red_client.cpp cannot be removed as the calculated + value is send as part of the SpiceMsgcDisplayInit on + connect. + +2010-10-06 Hans de Goede <hdegoede@redhat.com> + + spicec: only send display-config if the agent can handle it + + spicec-x11: Drop annoying useless warning + Every time an events comes past where the Window is None (which happens + about once every 5 minutes or so), this annoying "invalid window" message + gets printed. Remove it! + + spicec: don't send agent messages directly from ClipboardListener callbacks + ClipboardListener callbacks can run from another thread then the + main channel loop thread, where agent messages are normally dispatched from. + + So they may not send agent messages directly, instead they should post + events to the main channel loop. + + spicec-x11: Remove a race window in selection ownership release code + Well almost remove it, it was possible that another x11 app would acquire + selection ownership, and we would receive a release message from the + agent before having processed the xselection ownership change event. + + Then we would set the selection owner to none, overriding the new owner. + As the comment in the patch indicates there still is a minute window left + where something similar can happen after this patch. Nothing we can do + about that (I blame the libX11 selection API). + + spicec: Move setting of clipboard_owner to guest to platform code + Atleast under x11 there is a race condition when setting the clipboard + owner to guest from the RedClient code rather then doing it in Platform. + + After the XSetSelectionOwner() in Platform::on_clipboard_grab(), which runs + from the main message loop thread, the x11 event thread can receive a + SelectionRequest event from another x11 app, before the RedClient code + has set the clipboard owner, which will trigger the owner != guest + check in the SelectionRequest event handling code. + + By moving the setting of the owner in to Platform::on_clipboard_grab() it + gets protected by the clipboard lock, which closes this tiny race. + +2010-10-04 Hans de Goede <hdegoede@redhat.com> + + spicec-x11: make get_clipboard_type handle the None Atom + + spicec-x11: protect against recursive incr properties + + spicec-x11: If the clipboard was large return the memory to the system + + spicec-x11: use malloc / free / realloc for clipboard data + As we need a realloc function it is better to use malloc / free / + realloc then to diy, esp. as realloc can grow the buffer without + needing a memcpy. + + spicec-x11: Use a queue for XSelectionRequest events + XSelectionRequest events must be answered in the order they were + received. But for TARGETS request we can answer directly, where as + other requests need to go through the agent. This causes us to handle + things out of order, and this can cause us to have more then one + requets outstanding with the agent, which is also not what we want. + + So this patch introduces a queue for XSelectionRequest events, causing + us to handle them 1 at a time and always in order. + + spicec-x11: handle multiple types per grab + And also handle many x11 targets (ie utf8 variants) to a single agent + type mapping. + + spicec-x11: Add XFlush calls were needed + Since we do not always "pump" libX11's event loop by calling + XPending (we only call XPending when there is data to read from the + display fd), we must always explictly flush any outstanding requests. + + This patch adds a whole bunch of missing XFlush calls. + + spicec-x11: Force processing of ownerchange event when releasing the cb + Make sure we process the XFixesSetSelectionOwnerNotify event caused by + us setting the clipboard owner to none, directly after setting the owner + to none. Otherwise we may end up changing the clipboard owner to none, after + it has already been re-owned because the XFixesSetSelectionOwnerNotify event + to owner none is event is still pending when we set the new owner, and + then changes the owner back to none once processed messing up our clipboard + ownership state tracking. + + I saw this happening when doing copy twice in succession inside the guest. + + spicec-x11: Request targets from new clipboard owner + Request targets from new clipboard owner, rather then assuming UTF-8 + (not entirely complete yet, the last pieces will be in another patch). + + Atleast as important this code unifies the selection getting code + for incr and non incr getting of selection data so that it can be + used for both getting regular selection data and for getting targets + selection data. + + This also fixes a big bug in the (I believe untested sofar) incr support + code which was interpreting the contents of PropertyNotify events as + XSelectionEvents rather then as XpropertyEvents which are completely + differen structs! + +2010-10-03 Hans de Goede <hdegoede@redhat.com> + + spicec-x11: remove clipboard_changer hack + Instead of keeping a flag, we can and should simply check wether the + new owner reported in the event it us or not. Also check for the + new owner being none and send a clipboard_release when that is the + case (through set_clipboard_owner(owner_none)). + +2010-10-02 Hans de Goede <hdegoede@redhat.com> + + Keep track of clipboard ownership + Given that all clipboard handling is async, it is possible to for + example receive a request for clipboard data from the agent + while the client no longer owns the clipboard (ie a + VD_AGENT_CLIPBOARD_RELEASE message is in transit to the agent). + + Thus it is necessary to keep track of our notion of clipboard ownership + and check received clipboard messages (both from other apps on the client + machine and from the agent) to see if they match our notion and if not + drop, or in case were a counter message is expected nack the clipboard + message. + + Rename platform clipboard handling functions + Rename the 4 platform clipboard functions which get called + upon receival of an agent clipboard message to on_clipboard_* + + The old set_clipboard_* names were confusing as they suggest being + a class property setter (like set_event_listener) rather then + event handler, and set_clipboard_owner was causing a name conflict + with the next patch in this series. + + Move checking for on demand clipboard cap closer to sending of agent messages + This way the events will always get generated and other things + (such as clipboard ownership administration, see the next patches) + can be done in repsonse to the events, even though no message will be send. + + This patch also removes the !_agent_caps check from the capability + checks, this is not needed as VD_AGENT_HAS_CAPABILITY checks _agent_caps_size + which will be 0 when _agent_caps is NULL. + +2010-10-01 Hans de Goede <hdegoede@redhat.com> + + Respond to clipb request with an unsupported type with data with a none type + Currently we send a VD_AGENT_CLIPBOARD_RELEASE when we receive a + VD_AGENT_CLIPBOARD_REQUEST with a type which we do not support. This is not + correct, as this means given up clipboard ownership while we may be able + to answer requests with different types. The correct response is to + nack the request by sending a VD_AGENT_CLIPBOARD (data) message with a type + of VD_AGENT_CLIPBOARD_NONE. + + Change VD_AGENT_CLIPBOARD_GRAB to an array of types + A clipboard owner can indicate that it can supply the data the clipboard + owns in multiple formats, so make the data passed with a + VD_AGENT_CLIPBOARD_GRAB message an array of types rather then a single + type. + + Call intern_atoms() earlier + We call XFixesSelectSelectionInput with the clipboard_atom, so we musr + initialize the atoms before calling XFixesSelectSelectionInput. + + Set clipboard_event before calling send_selection_notify + send_selection_notify used the clipboard_event, so set it before calling + send_selection_notify. + + wrap XGetAtomName + XGetAtomName() throws X11 errors when called on a None atom, so wrap + it catching the None case. + +2010-10-01 Arnon Gilboa <agilboa@redhat.com> + + client: support clipboard/selection-owner model (v2) + -includes most of Hans' review fixes (up to the SelectionRequest comment [4]) & X11 wips sent by Hans (10x!) + -use the VD_AGENT_CLIPBOARD_* types in the platform code + -add ifs for VD_AGENT_CAP_CLIPBOARD_BY_DEMAND in both sides + -support the GRAB/REQUEST/DATA/RELEASE verbs in both ways + -pasting clipboard data is now "only-by-demand" from both sides (client and agent), whose behavior is symmetric + -client and agent don't read or send the contents of the clipboard unnecessarily (e.g. copy, internal paste, repeating paste, focus change) + -set client as clipboard listener instead of application + -add atexit(cleanup) in win platform + + linux: + -instead of clipboard atom selection instead of XA_PRIMARY + -enable USE_XRANDR_1_2 and support clipboard in MultyMonScreen + -send utf8 with no null termination, remove ++size + -add xfixes in configure.ac & Makefile.am + + windows: + -bonus: support image cut & paste, currently only on windows + + not done yet: + -clipboards formats are still uint32_t, not mime types stores as strings + -platform_win is still used, not the root window + -not replaced the ugly windows CF_DIB in agent/winclient + +2010-09-29 Alexander Larsson <alexl@redhat.com> + + Bump version to 0.6.1 + + Update NEWS for release + + client: Avoid crash if platform_win is NULL + This is a temporary fix as this will be fixed for real when + the cut and paste patches land. + + client: Re-enable USE_XRANDR_1_2 + This was disabled by mistake before. + + client: Don't hardcode -lrt + -lrt is already included in SPICE_NONPKGCONFIG_LIBS if needed so no + need to add it to the command line manually. + + client: Fall back to gettimeofday if clock_gettime not found + + client: Include config.h from common.h + config.h should be availible everywhere, so move its inclusion + to the top of common.h. + + client: Check for pthread yield function using autoconf + + Initialize variable to avoid compiler warning + Seems the OSX gcc warns on saveRight not being initialzied. + + client: Include stdint.h for uint32_t + + client: Don't use basename for argv[0] in --help output + This isn't what other apps do, and it had issues in the OSX port, + so just remove this. + + Fix warning from OSX compiler + The OSX compiler warns about uninitialized variable, so we change + a bit how size is initialized. + +2010-09-22 Alexander Larsson <alexl@redhat.com> + + Handle surface images in DrawOpaque + +2010-09-21 Alexander Larsson <alexl@redhat.com> + + server: Handle self_image in localize_bitmap + When drawing a drawable with a NULL src bitmap that means we should + be using the previously generated self_bitmap. Not doing this causes + a segfault due to accessing the NULL. + + server: Handle NULL image in red_update_streamable + A NULL src bitmap means self_bitmap, which is not a stream, so abort. + + server: Use the right image size for self_bitmap + The self_bitmap is the size of self_bitmap_area, not the bbox. + This is especially important since we later copy the self_bitmap_area + into the new bitmap, and if that is larger than bbox then we will + overwrite random memory. + + server: Don't leak QUIC image chunks + red_put_image() needs to free the chunks for QUIC images, as we + allocate these when creating the image. + + Fix crash when resetting pixman image transform + Resetting the transform is done by setting it to the identity + transform, not passing in NULL. Passing in NULL causes a crash. + +2010-09-20 Alexander Larsson <alexl@redhat.com> + + server: Ensure we flush the release pipe after an oom + We really need to flush the ring to ensure that we push something on the + release ring. If we don't do this and the ring is not pushed for other + reasons we will timeout in the guest driver waiting for the ring. + + Release more drawables on OOM + We've changed how resources are released so they are now being + freed continuosly, rather than on OOM, since we want to free as early + possible to avoid fragmentation. So, OOM situations should be a bit + less common now and signify a real memory shortage, so we should try + to free up more resources. + +2010-09-14 Gerd Hoffmann <kraxel@redhat.com> + + fix palette handling for 0.4 compat + spice 0.4 guests pass 16bpp palette colors when running in + a 16bpp video mode. Convert them to 32bpp. + + fix brush handling for 0.4 compat + spice 0.4 guests pass 16bpp colors for brushes when running in + a 16bpp video mode. Convert them to 32bpp. + + move command flags handling to the qxl parser + Pass through command flags to the qxl parser, so we can hide all + compat bits for spice 0.4 within the qxl parser. + +2010-09-09 Hans de Goede <hdegoede@redhat.com> + + spicec-x11: Fix going into a never ending loop upon xrandr event (#628573) (v2) + When handling an xrandr event the event_listener->on_monitors_change() + callback destroys and re-creates the monitor object(s) which results + in the DynamicScreen or MultyMonconstructor being called, which triggers + more xrandr events. This causes a never ending event handling loop making + spicec hang, and eventually making the X-server crash as a backlog + of events builds up and it oom's. + + This patches this by explictly processing the xrandr event caused + by the constructor inside the constructor surrounded by the already + present guard code against recursive xrandr events. + +2010-09-02 Yonit Halperin <yhalperi@redhat.com> + + server: avoid creating a stream from traces more than once for the same drawable + could have caused ASSERT(!drawable->stream) in red_create_stream + +2010-09-02 Alexander Larsson <alexl@redhat.com> + + Add API to turn on backwards compatibility mode + When upgrading a cluster of machines you typically do this by + upgrading a set of machines at a time, making the new machines run + the new software version, but in a fashion compatible with the old + versions (in terms of e.g. migration). Then when all machines are + upgrades, any new features in the new version can be enabled. + + This API allows qemu to limit the set of features that spice uses to + those compatible with an older version, in order to do an upgrade like + this. Right now it doesn't really do much, since we don't keep compat + with 0.4.0 atm (although that may be added later). + + There is no guarantee that any future version of spice support + being compatible with any previous version. However, we will always + support compatibility with the previous major version so that clusters + can be upgraded step by step. + +2010-08-31 Alexander Larsson <alexl@redhat.com> + + Bump version to 0.6.0 + + Require spice-protocol 0.6.0 + + Update NEWS for release + + Fix scaling with large magnification + When scaling part of an image we need to specify the source + coordinates in transformed coordinates. For large magnifications this + means we will get pretty large values. + + Now, if e.g. src_x * transform is larger than 32765, then the + coordinate ends up outside the pixman 16bit image size, so the + rendering will not work. + + The fix is to make the src_x/y offset part of the transformation. + This means its automatically transformed by the correct scaling, and + the coordinates passed into pixman are not (typically) over 16bit. + + Revert "Fix scaling with large magnification" + This reverts commit e13be77f33609cb3fdae354ce1f2686ae865f9e0. + +2010-08-31 Alon Levy <alevy@redhat.com> + + client: add default agent capabilities + +2010-08-31 Gerd Hoffmann <kraxel@redhat.com> + + qxl parser: complete parsing of QXLCompatDrawable structs + +2010-08-31 Yonit Halperin <yhalperi@redhat.com> + + server: red_current_add_equal - don't push a drawable to the middle of the pipe if it depends on surfaces. + This will prevent: 1) rendering problems (commands sent to the client in the wrong order) + 2) sending commands for surfaces that haven't been created yet on the client side. + +2010-08-31 Alon Levy <alevy@redhat.com> + + server: when woken up by data ready to be read, don't call write. + This used to be a callback for the vdi_port "data ready" interrupt, + which did indicate either data ready to read or data ready to write, but + this is no longer the case now that virtio-serial is used. + + This seemingly simple fix prevents a race that needs to be fixed with + another patch, see freedesktop bz #29903 + + server: retry mouse send on queue full + + server: bugfix - make vdi_port_write_retry reiterate if write_queue still not empty + The vdi_port_write_timer_started flag was not being reset, which prevented + another vdi_port_write_timer_start from actually starting the timer. Fix + is to change order of lines. This happens in the callback of the timer, so + no chance of double timer set. + + client: add announce_capabilities + + server: add subtype to SpiceCharDeviceInterface, use for vdagent + + server: rename SpiceVDIPort* to SpiceCharDevice* + +2010-08-30 Yonit Halperin <yhalperi@redhat.com> + + server: fix red_current_flush to flush only the surface that was given as parameter + A side effect of the previous red_current_flush, which flushed all the surfaces, and was called on a new display channel connection, was + that red_handle_drawable_surfaces_client_synced sent the most updated surfaces images when needed. However, now, it should + explicitly call red_current_flush. + Moreover, since red_current_flush was called on a new display channel connection only if there was a primary surface, + if the connection of the display channel occurred at the moment of no primary surface, red_handle_drawable_surfaces_client_synced was buggy. + +2010-08-30 Alexander Larsson <alexl@redhat.com> + + Fix scaling with large magnification + When scaling part of an image we need to specify the source coordinates + in transformed coordinates. For large magnifications this means + we will get pretty large values. + + Now, if e.g. src_x * transform is larger than 32765, then the coordinate + ends up outside the pixman 16bit image size, so the rendering + will not work. + + In order to work around this we generate a "sub-image" of the pixman + image such that the src_x/y values we have to specify are zero (or near + zero). + +2010-08-30 Gerd Hoffmann <kraxel@redhat.com> + + Bump versions. + Update #define in server/spice.h in preparation for the 0.6.0 release. + We also got some new functions, thus we have to increate the shared + lib minor number for spice-server. + + Add config functions. + A bunch of configuration functions where never ported forward from + rhel-6 to upstream. Add them so we can add qemu config options for + these settings. + +2010-08-30 Alon Levy <alevy@redhat.com> + + Merge commit 'ea298a14e1cde8b811baf6bd187287f18dde0dee' + + server: moved agent pipe headers to spice-protocol + +2010-08-30 Yonit Halperin <yhalperi@redhat.com> + + server: cleanups in destorying surfaces code + + server: really wait for a surface to be destroyed, when calling destroy_surface_wait + Waiting till all the pipe items that are dependent on the surface will be sent. + This was probably the cause for freedesktop bug #29750. + + server: consider also PIPE_ITEM_UPGRADE when searching for drawables in red_clear_surface_drawables_from_pipe + +2010-08-27 Alexander Larsson <alexl@redhat.com> + + canvas: Better coordinate rounding in scaling + When scaling in pixman you give the source coordinates in transformed + space rather than in the source coordinates. This is a bit problematic + when both source and destination coordinates are at integer positions, but + the scaling factor is not an exact 16.16 fixed point value. We used + to calculate the transformed source based on the floating point + transformation, which gave the wrong answer sometimes. Now we do the + calculations based on the fixed point transform that we give pixman. + + However, even with this patch I can still sometimes see issues related + to this, although they are less bad. + + server: red_send_image() - append image data to right marshaller + The actual bitmap data was added to the main marshaller rather than + the submarshaller that pointed to the SpiceImage part. This made us + send too short messages failing demarshalling in the client. + + server: red_send_image() initialize bitmap.flags + We're currently sending this to the network based on random memory. + +2010-08-27 Gerd Hoffmann <kraxel@redhat.com> + + zap more unused bits. + BufDescriptor isn't used at all. + Two AddBufInfo fields (slot_id and group_id) are not used any more. + + red_get_cursor: avoid extra copy + +2010-08-26 Gerd Hoffmann <kraxel@redhat.com> + + fix red_cursur_flush segfault + + zap dead typedefs + + zap dead qxl chunk code + + qxl parser: add cursor parsing + + qxl parser: complete QXL_SURFACE_CMD_CREATE parsing + +2010-08-26 Alexander Larsson <alexl@redhat.com> + + server: Fix alloc_lz_image_surface stride allocations + All lz surfaces are not 4 bytes per pixel, calculate the right stride + based on the pixman format. + +2010-08-25 Yonit Halperin <yhalperi@redhat.com> + + server: clean glz drawables when reseting qxl + When the we reset qxl, we destroy all srufaces. Since surfaces and glz + drawables are no longer dependent, we need to call red_display_clear_glz_drawables explicitly + in order to clear all our drawables references in the server. + +2010-08-25 Alexander Larsson <alexl@redhat.com> + + server: Add missing break in switch case + + client: Handle async errors from xshm setup + XShmAttach can fail asynchronously, so we need to check the + errors in the x error handler during the XSync. + +2010-08-24 Alexander Larsson <alexl@redhat.com> + + client: Don't leak xshm segments + + Don't try xshm any more if it fails for a permanent reason + This is copied from how Gtk+ detects Xshm failures. + +2010-08-24 Yonit Halperin <yhalperi@yhalperi.tlv.redhat.com> + + server: remove the no longer used glz drawables list that was maintained for each surface. + + server: remove unnecessary dependency between surfaces and Glz drawables + Fixes freedesktop bug #28568 + +2010-08-23 Alexander Larsson <alexl@redhat.com> + + Fix mismerge in last commit + + Remove USE_EXCLUDE_RGN define and !USE_EXCLUDE_RGN code + + Remove STREAM_TRACE define and !STREAM_TRACE code + +2010-08-23 Yonit Halperin <yhalperi@redhat.com> + + Limiting video streaming to the primary surface. freedesktop bug #28088. + + client: Fix for clipboard sending; It wasn't thread safe. + + client: fix - exit on bad display-effect argument + +2010-08-18 Alexander Larsson <alexl@redhat.com> + + Stride can be negative, so don't use size_t for it + +2010-08-17 Alon Levy <alevy@redhat.com> + + support python 2.5.4+ for marshaller/demarshallers + Patch adds a "from __future__" import that doesn't affect newer python's but + allows python 2.5.4 to run the code (tested under scratchbox, n900 build environment) + +2010-07-29 Alon Levy <alevy@redhat.com> + + client: Application::get_screen: fix double SpicePoint size, second hiding the first + + add arm and armv7 to configurable 32 bit variants in configure.ac (n900 and pc-z1 tested respectively) + + add eol after #ifdef in jpeg_encoder.h for n900 scratchbox compiler + +2010-07-22 Alon Levy <alevy@redhat.com> + + server: add vdi_port write retry timer. RHBZ 616772 + +2010-07-21 Alexander Larsson <alexl@redhat.com> + + Don't do manual marshalling for input channel + + Fix typo in NEWS + +2010-07-20 Alexander Larsson <alexl@redhat.com> + + Update NEWS for 0.5.3 + + Require spice-protocol 0.5.3 or later + + Bump version to 0.5.3 + + server: Properly order rgb for 24bit bitmaps when sending to libjpeg + SPICE_BITMAP_FMT_24BIT order is bgr, libjpeg wants rgb. + This fixes freedesktop bug #28089 + + Swap red and blue when decoding 0.4 mjpeg streams + There was an error in how this was encoded in 0.4, which we need + to handle. There is still some issues with the old streams as + the luminocity handling in 0.4 was not correct. + + demarshaller: Fix palette marshalling + It turns out that using base + sizeof(struct) is not a good way to + access an array at the end of a struct. For SpicePalette sizeof is 16, but + offset of ents is 12. Using this calculation in the demarshaller breaks + things badly, so now we use the actual array member. + + Don't send padding over the network with video data + +2010-07-19 Alexander Larsson <alexl@redhat.com> + + Fix uninitialized variable warnings + + Don't send CursorHeader if cursor_flags is NONE + + Send Clip.rects inline rather than using a pointer + + codegen: Allow @to_ptr to make inline structs demarshal as pointers + + codegen: Various cleanups + Remove all uses of @end in the marshaller, instead just using + the C struct array-at-end-of-struct. To make this work we also remove + all use of @end for switches (making them C unions). + + We drop the zero member of the notify message so that we can avoid this + use of @end for a primitive in the marshaller (plus its useless to send + over the wire). + + We change the offsets and stuff in the migration messages to real pointers. + + codegen: Pass member to SubMarshallingSource rather than name + This way we can check attributes on the member. + + codegen: Remove unused methos has_pointer() + +2010-07-19 Alon Levy <alevy@redhat.com> + + server vdi port: prevent recursive calls to read_from_vdi_port (required for spice-vmc) + +2010-07-19 Arnon Gilboa <agilboa@redhat.com> + + client: add clipboard support + * windows - untested + * linux - small strings both ways, large implemented differently: + * client to guest - support INCR + * guest to client - we supply a single possibly very large property + * requires server changes in next patch to work with spice-vmc + +2010-07-19 Alon Levy <alevy@redhat.com> + + fix typo DisplayModeListner -> DisplayModeListener + +2010-07-19 Yonit Halperin <yhalperi@redhat.com> + + client: command line arguments for setting windows guest monitors' color depth and disabling some display options (helpful on WAN) + +2010-07-15 Yonit Halperin <yhalperi@redhat.com> + + canvas_base jpeg_alpha: supply the correct size to jpeg_decoder + + Merge branch 'master' of git://git.freedesktop.org/git/spice/spice into spice_image + +2010-07-14 Gerd Hoffmann <kraxel@redhat.com> + + add SPICE_SERVER_VERSION + Allow to ifdef features which depend on a certain libspice-server release. + + update shlib minor + commit c90183da944001e466f60acb58a5052c353995ca added two new functions, + update shared lib minor version for that. + +2010-07-14 Yonit Halperin <yhalperi@redhat.com> + + server: enabling/disabling jpeg and zlib-over-glz via spice command line args + +2010-07-13 Gerd Hoffmann <kraxel@redhat.com> + + red_glz_compress_image: lines isn't needed any more + +2010-07-12 Yonit Halperin <yhalperi@redhat.com> + + server: enabling/disabling jpeg and zlib-over-glz via spice command line args + +2010-07-09 Alexander Larsson <alexl@redhat.com> + + Don't marshall bitmap data as pointer, instead send inline + + Add --enable-werror and make it the default only for git builds + Its not generally a good idea to have released tarballs build with + -Werror, as later compilers may add warnings breaking old releases, etc. + + Use the right enum types for bitmap_data.type comparisons + + Add files i forgot to commit + +2010-07-08 Alexander Larsson <alexl@redhat.com> + + Update NEWS for release + + Disable tunnel by default on windows + + Make tunnel support optional in client too + + Make distcheck work + + Missed some misspelling fixes + + Fix various misspellings + letancy -> latency + compund -> compound + SpicedSubMessage -> SpiceSubMessage + modifaiers -> modifiers + massage -> message + outgoiong -> outgoing + AlphaBlnd -> AlphaBlend + remoth -> remote + modifires -> modifiers + secore -> secure + + Fix sign warnings from win32 compiler + + Fix inclusion of common files, no need for common/ part + + server: Remove unnecessary pci id/rev checks + There is no need to check the pci ids or revisions. Thats a contract + between qemu and the driver, and spice need not care, as long as + we get the right data from qemu. + + Simplify spice_pixman_region32_init_rects with new types + Don't manually of SpiceRects to pixman_box32_t now that they are compatible + and SpiceRect is internal. + + Make all internal structures not be packed + + Remove unused method declarations + + Move SpiceChunks to mem.h + + Move in spice/draw.h from spice-protocol to common/ + + Handle the new QXLCursorHeader type + + Use QXLPHYSICAL, not SPICE_ADDRESS in qxl parser + + codegen: No SPICE_ADDRESS types left, drop @c_ptr + + Properly parse QXLLineAttrs.style + +2010-07-08 Gerd Hoffmann <kraxel@redhat.com> + + remove QXLInterface->has_command() + Not used any more, zap it before rolling up a release tarball. + +2010-07-08 Uri Lublin <uril@redhat.com> + + server: add missing ifdef USE_OGL (red_worker.c) + +2010-07-07 Gerd Hoffmann <kraxel@redhat.com> + + Properly parse QXLImage to the new-world SpiceImage + SpiceImage now replaces RedImage and has all image types in it. + All image data are now chunked (and as such not copied when demarshalling). + +2010-07-07 Alexander Larsson <alexl@redhat.com> + + codegen: support @chunk on non-pointer arrays + This is similar to @as_ptr, but generates a single chunk of data. + + Add support for @chunk + + marshaller: Make get_nw_offset() handle deep member references + + Add spice_marshaller_add_ref_chunks + + Add spice_chunks_* helpers + +2010-07-05 Alexander Larsson <alexl@redhat.com> + + Convert SpicePath.segments to a pointer array + + Handle extra size for switch and array the right way + Even for is_extra_size() we should calculate the mem_size for + arrays, its just that the parent type (in this case switch) should + request mem_size if the type is_extra_size. + + marshaller: Add some docs describing the types of sizes + + marshaller: Make @nonnull a propagated attribute + This cleans up some stuff + + marshaller: Make @c_ptr a propagated attribute + This simplifies some code + + marshaller: Add generic way to handle propagating attributes + Also switches @ptr_array to use this + +2010-07-02 Gerd Hoffmann <kraxel@redhat.com> + + Properly parse and marshall SpiceString + +2010-07-01 Alexander Larsson <alexl@redhat.com> + + Fix build on win32 + + Fix 32bit failure in demarshaller + Due to a typo we always read offsets as pointers, never as SPICE_ADDRESS. + + Update for the SpicePath.segments type change + +2010-07-01 Alon Levy <alevy@redhat.com> + + Make CEGUI optional + This makes the CEGUI dependency optional and off by default. Restoring + previous behaviour of exiting on disconnect if disabled. + +2010-07-01 Alexander Larsson <alexl@redhat.com> + + client: Use ASSERT, not assert + +2010-07-01 Alon Levy <alevy@redhat.com> + + - fix for noopengl patch for server + I still don't have commit access (can't ssh to anarchy) so if someone could commit this (alex) thanks, + + Alon + + Fix for no opengl patch - required to compile the server (fixes missing symbol gl_canvas_init). + +2010-07-01 Yonit Halperin <yhalperi@redhat.com> + + fix for not clearing the cursor ring when the primary surface is destroyed + fixes a crash in qxl_soft_reset + +2010-06-30 Alexander Larsson <alexl@redhat.com> + + Simplify SpiceLineAttr by removing unsed stuff + Also in new protocol don't send style data if not needed. + + Automatically marshall SpiceClipRects + + Automatically marshall SpicePath + + Support @marshall to automatically marshall pointers + + Store SpicePath segment count rather than size + Internally and in the network protocol (for the new version) we + now store the actual number of segments rather than the size of the + full segments array in bytes. This change consists of multiple changes + to handle this: + + * Make the qxl parser calculate num_segments + * Make the canvas stroke code handle the new SpicePath layout. + * Fix up is_equal_path in red_worker.c for the new layout + * replace multiple calls to spice_marshall_PathSegment with a single + spice_marshall_Path call + * Make the byte_size() array size handling do the conversion from + network size to number of elements when marshalling/demarshalling. + * Update the current spice protocol to send the segment count rather than + the size + * Update the old spice protocol to use the new byte_size functionallity + to calculate the size sent and the number of elements recieved + + Add spice_marshaller_set_uint32 + With this function you can update an added uint32 after it being added. + To make this possible all the spice_marshaller_add_add_foo functions + now return a pointer that can be used as a reference when later + setting a value. + + Update client and protocol to support the new SpiceClipRects + + demarshaller: Support @c_ptr attributes for pointers + A @c_ptr pointer is stored in memory as a real pointer rather than a + SPICE_ADDRESS. This is a temporary thing that will be removed again + when all SPICE_ADDRESSes have been converted to real pointer. + + demarshaller: Don't parse @zero members + These just write zeros at the right place in the network protocol + typically for old back-compat things. We don't want to read these + back in. + +2010-06-30 Gerd Hoffmann <kraxel@redhat.com> + + qxl-abi: handle clip rect and path references. + red_parse_qxl.c starts to follow QXLPHYSICAL references and build up + data structures. Can zap a bunch of get_virt calls in red_worker.c, + followed by cleanups. + + (de-) marshaller needs updates to deal with that. Also I suspect with + the get_virt() calls being gone we can offload more work to generated + marshaller code. + + client doesn't build. + + add qxl chunk parser + +2010-06-29 Alexander Larsson <alexl@redhat.com> + + server: Don't call opengl if not enabled + If USE_OGL is not defined, really don't call or link in the opengl + backend. + +2010-06-29 Yonit Halperin <yhalperi@redhat.com> + + client: add --include "common.h" for generated marshallers + + fixed unhandled destroy screen in Application:restore_screens_size + + detaching the screen when the primary surface is destoryed and closing the window if the primary surface is not recreated (the monitor has been detached). + + remove unnecessary send of SPICE_MSG_DISPLAY_RESET + when SPICE_MSG_DISPLAY_RESET was sent, SPICE_MSG_DISPLAY_SURFACE_DESTROY had already + been sent for all surfaces. + It also caused a client crash since DisplayChannel::handle_reset assumes that screen + exists. + +2010-06-29 Gerd Hoffmann <kraxel@redhat.com> + + qxl abi: parse QXLRect. + + qxl abi: parse QXLPoint & friends. + + qxl abi: parse QXLCursorCmd. + + qxl abi: parse QXLSurfaceCmd. + + qxl abi: parse QXLMessage. + + qxl abi: parse QXLUpdateCmd. + + qxl abi: parse QXLClip. + + qxl abi: parse QXLLineAttr. + + qxl abi: parse QXLPattern. + + qxl abi: parse QXLBrush. + + qxl abi: parse QXLQMask. + + qxl abi: parse QXLBlackness+QXLInvers+QXLWhiteness. + + qxl abi: parse QXLText. + + qxl abi: parse QXLStroke. + + qxl abi: parse QXLRop3. + + qxl abi: parse QXLTransparent. + + qxl abi: parse QXLCopy + QXLBlend. + Also adapt to tyops fix (s/rop_decriptor/rop_descriptor/). + + qxl abi: add missing QXLCopyBits + + qxl abi: parse QXLOpaque. + Also adapt to tyops fix (s/rop_decriptor/rop_descriptor/). + + qxl abi: parse QXLFill. + Also adapt to tyops fix (s/rop_decriptor/rop_descriptor/). + + qxl abi: parse QXLAlphaBlnd (+Compat) + + qxl abi: parse QXLCompatDrawable. + + qxl abi: parse QXLDrawable. + + improve memory slot error logging. + +2010-06-28 Alexander Larsson <alexl@redhat.com> + + Replace log4cpp with custom log function + Also prints a simpler error to stderr for WARN or above so that + we print something on the commandline if something go wrong. + + Fix build error due to member "SpiceMsgEmpty" same name as type + +2010-06-24 Alexander Larsson <alexl@redhat.com> + + spice.proto: surface_create.format is of type surface_fmt + + Use smaller size for enums and flags on the network + This makes the protocol more compact. This was mainly done for the commonly + used types. Some seldom used ones are still 32bit for future compatibility. + + Remove support for clip by path + This is not supported currently anyway and was not generated before. + +2010-06-23 Alexander Larsson <alexl@redhat.com> + + spice.proto: No need for @ptr32 as that is now the default + + spice.proto: Don't use @fixedsize for Brush + There is no reason to send the maximum size on the network, that is just + a waste of space most of the time. + + Don't send zero data item for clips with no data + + Make pointers 32bit in new protocol format + + marshaller: Correctly determine if switches are fixed size + Switches are fixed size only if all cases have the same size *and* + it has a default case or all the valid cases are listed. + + Fix handling of @ptr32 network size + + Remove minor markup in unstable protocol as we're resetting minor to 0 + +2010-06-23 Gerd Hoffmann <kraxel@redhat.com> + + fix use-after-free in spice_marshaller_reset + + drop bogous get_virt_delta calls + +2010-06-23 Alexander Larsson <alexl@redhat.com> + + Fix version mismatch error on connect + Protocol is 0 (auto), 1 (old), or 2 (new). This is (apart from 0) the + same as the major number for the stable protocol. However, the current major + is ~(-1) to signify it being unstable, so don't use the major number as source + for setting or comparing protocol. + + Fix screen resolution changes on old servers + * Correctly check for existing canvas 0 + * Don't try to unlock the screen size if there is no active screen + +2010-06-22 Alexander Larsson <alexl@redhat.com> + + client: Support connecting to a major==1 server + + Implement display_mode message needed for backwards compat + + Generate marshaller/demarshallers for old protocol + + Add spice1.proto describing the 0.4 version of the network protocolx + + Add support for @virtual markup in spice protocol + This means the member is not sent on the network at all. + Instead its initialized to the attribute argument when demarshalled. + + This is useful for backwards compatibility support. + + Make internal generated marshaller functions static + + Support extra prefix in code generators + This is require when we add a new spice.proto for the old (major 1) + protocol description. + + Add more emacs mode headers + + Convert client to use indirect calls for message marshalling + This is required to support multiple versions + + Support creating marshallers that are called indirectly + This is needed if we want to switch marshallers depending on what + major version the remote side has. + + Add destructor for demarshalled messages + This is required because we don't want to free messages that just + refer to the unparsed message (like SpiceMsgData). + + Also, in the future we might need it for more complex demarshalling. + +2010-06-21 Yonit Halperin <yhalperi@redhat.com> + + fix for not reseting client palette caches on migration + + Lossy compression of RGBA images (on WAN connection) + The RGB channels are compressed using JPEG. + The alpha channel is compressed using LZ. + + applying zlib compression over glz on WAN connection + +2010-06-21 Alexander Larsson <alexl@redhat.com> + + Make opengl optional, disabled by default + The OpenGL renderer isn't really useful right now, its not quite up + to date, its not really faster than software and it only supports a limited + subset of drivers. So, lets disable it for now. + + Long term opengl rendering of the 2d part of spice is important if we want + to combine 2d and 3d rendering (say if spice adds opengl support in the + protocol). But until then this is isn't useful for normal use. + +2010-06-18 Alexander Larsson <alexl@redhat.com> + + Make generated marshallers build on win32 + + Add server/demarshaller.h + + Make sound data @as_ptr to avoid copying data + + Make ping data @as_ptr to avoid copying data + + Make cursor data @as_ptr to avoid copying data + + Support @as_ptr in demarshaller to avoid copying data unnecessary + + Make pointer types in messages be 64bit in memory + Right now we always assume pointers are stored as SPICE_ADDRESS, + i.e. 64bit, independent on the size sent on the network. + This is required for 64bit architectures of course, but slightly overkill + on 32bit architectures, so needs fixing when all SPICE_ADDRESS elements + can be made internal. + + Don't pack the message structures + + Make all message structs internal to spice + We move all message structs from spice-protocol to spice as + we want to be able to change these as needed internally. The + on-network format is no longer defined by these structures anyway, + but rather by the spice protocol description. + + Allow multiple --include args + + Use generated demarshallers in server + + Generate demarshallers on server side + + Make tunnel_service_add members be of cstring array size + + Switch client to use generated marshallers + + Generate and link marshallers into client + + Re-enable cache freeing + I don't know why this was disabled but it seems like a bad idea + + Convert reds.c to use SpiceMarshaller + + Convert snd_worker.c to use SpiceMarshaller and generated marshallers + + Convert red_worker.c to use SpiceMarshaller for marshalling + + Generate marshallers in server + + Use @ptr32 for 32bit offsets in spice.proto + + Add @nomarshal in a few places where we're marshalling manually + + spice.proto: add @outvar markup + With this we can reference pointer member with no naming conflicts + + Add support for generating message and structure marshallers + + Add SpiceMarshaller for easy marshalling + + Generate demarshalling code on win32 too + + Client: Use the autogenerated demarshallers + When a message has been read from the network we now pass it into + the generated demarshaller for the channel. The demarshaller converts + the network data to in-memory structures that is passed on to the + spice internals. + + Additionally it also: + * Converts endianness + * Validates sizes of message and any pointers in it + * Localizes offsets (converts them to pointers) + * Checks for zero offsets in messages where they are not supported + + Some of this was previously done using custom code in the client, this + is now removed. + + Generate demarshallers in client + + Add python code to automake system + + Initial import of spice protocol description and demarshall generator + The "spice.proto" file describes in detail the networking prototcol + that spice uses and spice_codegen.py can parse this and generate + demarshallers for such network messages. + + Use the correctly spelled enum values from the new generated enums + + Use the new enums for keyboard modifier flags + +2010-06-17 Alexander Larsson <alexl@redhat.com> + + There are multiple line attribute flags enums, use only one + + Add spice_strnlen + +2010-06-09 Yonit Halperin <yhalperi@redhat.com> + + server: optimize red_pipe_replace_rendered_drawables_with_images (lossy bitmaps support related) + + init/destroy lossy surface region + + enabling jpeg on low bandwidth connection + + not using jpeg when sending a surface to the client (the whole surface) + When a surface is sent to the client using red_send_surface_image, operations were already + performed on it. Thus it may combine, especially if it is a primary surface, both "picture-like" areas + and areas that are more "artificial". In order to avoid noticeable artifacts, such surface will be sent lossless. + + send qxl commands to client: support for resending lossy components when jpeg compression is enabled + + infrastructure routines for resending to the client part of surfaces that have been sent lossy. + The code also handles cases in which the server doesn't hold anymore these surfaces parts, i.e., when + it holds a more updated version of them. This scenario is handled by replacing commands that were rendered, with images. + + introducing lossy and lz compression in red_send_image + + lossy surface regions in the client: infrastructure for tracking and updating + + support for lossy images in the pixmap cache and fill bits + 1) add an option to determine if a bitmap can be sent lossy to the client + 2) when required, replacing lossy cache items with their correspending + lossless bitmaps + + JPEG support: introducing jpeg encoding for spice bitmaps + + server: fix bitmap flags assignment in red_send_image + +2010-06-09 Alexander Larsson <alexl@redhat.com> + + client: Only invalidate on screen if drawing to the primary surface + +2010-05-26 Gerd Hoffmann <kraxel@redhat.com> + + sound: code style fixups + +2010-05-21 Alexander Larsson <alexl@redhat.com> + + Fix some misspelled identifiers + severty -> severity + SpiceResorceID -> SpiceResourceID + SpiceResorceList -> SpiceResourceList + resorces -> resources + ped_size -> pad_size + postition -> position + + RedWorkeMessage -> RedWorkerMessage + + Fix spelling errors in comments and strings + +2010-05-21 Gerd Hoffmann <kraxel@redhat.com> + + sound channels: restart audio on client reconnect. + +2010-05-19 Alexander Larsson <alexl@redhat.com> + + Use the new byteswap macros from spice-protocol + + Change leftover VD_INTERFACE_RECORD to SPICE_INTERFACE_RECORD + + Add missing backslash continuation in makefile + +2010-05-19 Gerd Hoffmann <kraxel@redhat.com> + + Revert "[debug] migration troubleshooting" + This reverts commit 08927fabe57c17086fe3bce3a9ca166e2309349e. + + complete NetWireInterface redesign, make red_tunnel_worker.c build. + + add spice-experimental.h + Supposed to be used for work-in-progress bits, + where interfaces are not finalized yet. + + Moved over vdi port interface, tunnel interface + and spice client migration functions. + + zap vd_interface.h + move over content to spice.h + + vd_interface.h cleanups. + Drop leftover bits which are not used any more. + Rename DrawArea to QXLDrawArea. + + NetWireInterface: redesign + + zap MigrationInterface + Remove remaining MigrationInterface bits. + + migration: new api + Add new API for migration, based on what RHEL-6 has. + + [debug] migration troubleshooting + + zap migration code + Drop all code which depends on accessing the migration file handle. + + replace worker load/save with loadvm_commands, allow keeping surface content + Add worker->loadvm_commands. qemu will uses this to send a series of + commands needed to restore state after savevm/loadvm and migration. + That will be one create-surface command per surface and one cursor-set + command for the local pointer. + + The worker->save/load functions are not needed any more. + Likewise the interface->{get,set}_save_data callbacks. + + Surfaces created via loadvm_commands *will* not be cleared. Also + primary surfaces are not cleared any more (unconditionally, although + we could do that conditionally on loadvm using the flags field in + QXLSurfaceCreate). + + surface: keep metadata (aka create command) in device memory. + With this patch applied the spice server will not release surface create + commands for the whole lifecycle of the surface. When the surface is + destroyed both create and destroy commands are released. + + This has the effect that the surface metadata (size, depth, ...) is kept + in qxl device memory. This in turn makes it alot easier for qemu to + handle savevm/loadvm. It just needs to do some minimal command parsing + and maintain pointers to the create commands for the active surfaces. + + kill spice_server_set_mouse_absolute + Not needed. Just register/unregister the tablet interface instead. + + vdi port: redesign. + Pretty straight forward. + + One thing we should think about is if and how we are going to deal + with multiple ports here? + + With vdi port using virtio-serial as communication channel to the guest + it is easy to have multiple ports, i.e. we might want to use a second + instance for clipboard data. That implies that we need support for + multiple channels all the way through the stack ... + + constify SpiceBaseInterface + + SoundInterfaces: redesign + + TabletInterface: redesign + + QXL: redesign. + + MouseInterface: redesign + + KeyboardInterface: redesign. + This is the direction I wanna take with all interfaces: Clearly + separate interface (aka version information and function pointers) + and state information. SpiceKbdInterface defines the interface, + SpiceKbdInstance maintains per-instance state information. Keyboard + hasn't much beside a pointer to SpiceKbdInterface, for other + interfaces this very likely will be different. + + s/CoreInterface/SpiceCoreInterface/ + + VDInterface: redesign. + VDInterface has been renamed to SpiceBaseInterface. Dropped base_version + element, shlib versioning should be used instead. Dropped id element, + it is passed to spice_server_add_interface() instead. Now + SpiceBaseInterface has static information only, multiple interface + instances can share it. + + Added SpiceBaseInstance struct for maintaining per-instance state + information. Adapted spice_server_{add,remove}_interface() functions + to the new world. + + shlib major + + minor timer interface cleanups. + Make the timer interface largely look like the watch interface. + Simliar naming convention for the functions (timer_*) and a + opaque SpiceTimer type. + + new watch api: kill old api + + new watch api: switch channels + + new watch api: switch sound + + new watch api: switch migration + + new watch api: switch inputs + + new watch api: switch ssl accept + + new watch api: switch main channel + + new watch api: switch liasync read + + new watch api: switch listening sockets + + introduce new watch api + This patch adds a new file handle watch interface to libspice, featuring + three callbacks: + + (1) watch_add() -- create a new file watch. + (2) watch_update_mask() -- change event mask. spice frequently + enables/disables write notification. + (3) watch_remove() -- remove a file watch. + + libspice users must implement these functions to allow libspice + monitoring file handles. + + The old interface (set_file_handlers) doesn't explicitly express the + lifecycle of a watch. Also it maps 1:1 to a qemu-internal function. + In case the way qemu implements file watches changes (someone sayed + QemuIONotifier?) this will break horribly. Beside that it is very + bad style. + + Follwing patches will switch over users one by one to the new interface + and finally zap the old one. + + fix visibility + + zap CoreInterface->{term_printf,log} + Was used to print stuff to the qemu monitor. + Fundamentally incompatible with QMP. Remove. + + zap qterm interfaces + old way to handle monitor, obsolete. + + zap CoreInterface->(un)register_change_notifiers() + spice_server_add_interface() and spice_server_remove_interface() + can be used instead. + + zap CoreInterface->next() + Interfaces must be registered after spice_server_init(). + The "next" callback is used to discover interfaces + registered before spice_server_init(). Which is a empty + list and thus pretty pointless. Remove it. + + channel security cleanup + - drop spice_channel_name_t enum, use spice-protocol defines instead. + - switch spice_server_set_channel_security() channel parameter from + enum to string. + - drop spice_server_set_default_channel_security(), use + spice_server_set_channel_security with channel == NULL instead. + + zap spice_parse_args + spice_usage_str + First step to throw out the old interface. + +2010-05-19 Alexander Larsson <alexl@redhat.com> + + Minor whitespace cleanup + + Make it --enable-tunnel work + +2010-05-03 Yonit Halperin <yhalperi@redhat.com> + + server: fix invalid self loop in surfaces dependencies. + Cyclic dependencies between surfaces mustn't occur. They can cause invalid rendering - + recent drawables might be rendered before older ones. + +2010-05-03 Dan Kenigsberg <danken@redhat.com> + + spice server: fix typo in private key error message + +2010-05-03 Gerd Hoffmann <kraxel@redhat.com> + + Add C version of find_msb() + This patch allows people to build the spice-client on any 32bit/64bit + architecture. + + by Bryan Stillwell <bryan@bokeoa.com> + +2010-05-03 Alexander Larsson <alexl@redhat.com> + + Remove all mentions of "cairo" from the code + The command line option is renamed from "cairo" to "sw", and + similarly all filenames and types from Cairo to Sw (and similar). + +2010-04-30 Alexander Larsson <alexl@redhat.com> + + Don't send alpha bytes for primary surface + The framebuffer is not used as a source for alpha blends, so we never + need to scan it for alpha bytes. + +2010-04-29 Gerd Hoffmann <kraxel@redhat.com> + + iovec: add sanity check + Adds sanity check to iovec setup. In theory this should never ever + trigger. In practice guest driver bugs can make it trigger. This + patch avoids qemu burning cpu in a endless loop, instead we'll print a + message and abort. Not sure whenever there is a more graceful way to + handle the situation ... + + fix worker->stop surface cleanup + +2010-04-29 Alexander Larsson <alexl@redhat.com> + + client: Report window format right for win32 + + client: Support 16bpp pixmaps on win32 + + win32 client: Remove unnecessary GDIImage type + We just use pixman_image_t as the "information about image data" structure. + +2010-04-28 Alexander Larsson <alexl@redhat.com> + + Add support for SPICE_IMAGE_FLAGS_HIGH_BITS_SET + + Clear alpha in xRGB destination to avoid pixman setting it to 0xff + Pixman sometimes sets the ignored high byte to 0xff during alpha + blending. This is correct according to pixman specs, as the high + byte is ignored. However its not what windows expects, and it causes + unnecessary regions with non-zero high byte, causing us to + send rgba data instead of rgb which compresses worse. + + So, we detect this and clear the high byte. + + Fix line lengths and tabs + +2010-04-26 Gerd Hoffmann <kraxel@redhat.com> + + fix two warnings + +2010-04-23 Alexander Larsson <alexl@redhat.com> + + Remove surface format workaround now that win32 driver is fixed + The win32 driver makes all 32bit surfaces be xRGB now, so we + can remove this old workaround. + + Fix up win32 client with recent changes + + Win32 canvas fixes + + If we have alpha in a 32bit rgb surface, ensure we send that + If we don't then alpha is lost which is problematic if the surface + is later used as with alpha_blend and SRC_SURFACE_HAS_ALPHA. + + Support alpha surface sources and destinations + + Localize palettes for LZ PLT format + This is needed since they always decode to 32bit mode. + + Server: Use the right image format when updating from a surface + + Make each surface its own depth/format + Surface creation now specifies the exact format, not only the bit depth + of each surface which is used for rendering. + + Additionally we now actually store the surfaces in that format, instead + of converting everything to 32bpp when drawing or e.g. handling palettes. + + Client: Support pixmap format conversion in copy_pixels + In order to be able to support 16bit canvases on 32bit screens and 32bit + canvases on 16bit screens we need to handle format conversion when drawing + RedPixmaps. + + The way this works now for X11 is that we only have one PIXELS_SOURCE_TYPE + for pixmaps, which always has a pixman_image_t for the data, but additionally + it has an XImage (shared mem or not) if the screen the pixmap was created + for (i.e. an explicit one or the default screen) has the same format as + the pixmap. + + When we draw a pixmap on a drawable we have two variants. If the pixmap + has a XImage and it matches the format of the target drawable then we + just X(Shm)PutImage it to the drawable. If the formats differ, then we + create a temporary XImage and convert into that before drawing it to + the screen. + + Right now this is a bit inefficient, because we always allocate a new + temporary image when converting. We want to add some caching here, but + at least this lets things work again. + + X11 client: Add helper for XImage construction + + Add utility functions to create XShm images + + Create screen composit area in same format as window + This way we don't have to convert when drawing to it, or drawing it to + the dc. + + Add helper to compare RedDrawable::Formats for copy compabible + Being copy compatible means the format are identical except + that some bits in the source may be ignored in the destination. + + Add RedDrawable::Format get_format() + This is useful because we can e.g. create pixmaps in the same format as + a window. + + Add XPlatform::get_screen_format for X11 + + Move RedPixmap::Format to RedDrawable::Format + We need to know the format for other drawables too (like for instance + the native format of a window), so we're pushing this down. + + This changes a bunch of references to be RedDrawable::, but not all. + The the old RedPixmap:: references still work, but will be phased out. + + Make client canvas and pixmaps handle more formats and simplify + We now support 16bit format pixmaps as well as the old ones. Including + both 555 and 565 modes. + + We drop the palette argument for pixmap construction as it was only + used for black/white anyway. + + Canvas creation is simplified so that there is no separate set_mode + state. Canvases are already created in the right mode and never change. + + common: Add lookaside storage for pixman image format + Ideally we should just read this from the pixman image, but + there is no API to do so in stable pixman, so we store it. + + Add pixman utilities for bitmap to pixman_image_t conversion + + Add support for 16bit rop3 + + Add emacs modelines to more files + + Remove unused method canvas_surf_to_invers + + Make client start if screen is 16bpp + The current glx code is looking for a rgb32 visual and always failing + if there is none. This means not even software rendering starts up + on e.g. 16bit visuals. This commit makes it pick software fallbacks + on 16bit visuals. + + Long term we need to fix the gl implementation to do 16bpp too. + + Client: Don't die if XIM not availible + + Detect XShm extension sanely + The previous way XShm detection worked failed at least for me, and is + not the standard way. We now just use XShmQueryExtension and + XShmQueryVersion. + + Detect big endian systems + + Fix warnings breaking win32 build + +2010-04-14 Izik Eidus <ieidus@redhat.com> + + Merge branch 'master' of ssh://git.freedesktop.org/git/spice/spice + + spice: server: change update_area command + The new command return dirty area to be used + by users that want spice to render localy or + into some framebuffer (sdl / vnc) + +2010-04-14 Alexander Larsson <alexl@redhat.com> + + Avoid unncessary buffer management in mjpeg decoder if possible + +2010-04-13 Alexander Larsson <alexl@redhat.com> + + Relicense everything from GPL to LGPL 2.1+ + + Fix A1 handling in RedDrawable combine_pixels. + The previous code was just busted, as apparent on e.g. the cursor + in MS Paint. + +2010-04-12 Alexander Larsson <alexl@redhat.com> + + Use upstream name for pthreads lib and new freetype version + + Fixed vs2008 warning + + Fix win32 build with pixman 0.18.0 + + Use fast DCT method for better jpeg compression performance + +2010-04-12 Izik Eidus <ieidus@redhat.com> + + spice server: fix validate_chunk + + fix 16bpp support on cairo_canvas + +2010-04-12 Alexander Larsson <alexl@redhat.com> + + Always tread depth 24 (i.e. non alpha) as depth 32 when blitting + When blitting we don't really care about alpha mismatches, we just copy bits + anyway. + +2010-04-09 Izik Eidus <ieidus@redhat.com> + + take the right lock when freeing glz stuff of surfaces + this was noticed by Yonit. + +2010-04-09 Alexander Larsson <alexl@redhat.com> + + Split out the memslot stuff from red_worker.c to its own files + This is required so that we can have code in other files that does address + validation. + +2010-04-09 Yonit Halperin <yhalperi@redhat.com> + + server: fix race condition in lz global dictionary, in its image segments list + +2010-04-09 Izik Eidus <ieidus@redhat.com> + + spice: win32 client: fix gdi locking + While the fix could have been more effective, + it seems like this patch stream better with the coding + logic that was there..., maybe later we will want to change + the locking into more effective way. + + (There is just the primary surface to protect in reiality) + +2010-04-08 Alexander Larsson <alexl@redhat.com> + + Remove leftover AutoVStreamInit class + + Initialize _kill_mark so we don't get spurious valgrind warnings + + Free the jpeg decoder with the stream + + Use libjpeg to decode mjpegs, not ffmpeg + This is pretty straightforward, although there are two weird issues. + The current encoder has two bugs in the yuv conversion. First of all + it switches red and blue, due to something of an endianness issue. We + keep this behavior by switching red and blue. Maybe we want to + change this in the new protocol version since switching this may + cause jpeg compression to be worse. + + Secondly, the old coder/decoder did rgb to/from yuv420 wrongly for + jpeg, not using the "full scale" version of Y that is used in jpeg, + but the other one where y goes from 16 to 235. (See jpeg/jfif + reference on http://en.wikipedia.org/wiki/YCbCr for details.) + The new decoder uses the full range in order to get better quality, + which means old encoders will show slightly darker images. + + This completely removes all ffmpeg usage in the client + + Update project file to visual studio 2008 + +2010-04-08 Izik Eidus <ieidus@redhat.com> + + spice server: fix not sent depth size for surfaces + +2010-04-07 Alexander Larsson <alexl@redhat.com> + + Remove non-used lookup3.[ch] + +2010-04-06 Yonit Halperin <yhalperi@redhat.com> + + server configuration: make network redirection support optional + By default it is disabled. To enable: configure --enable-tunnel. + When active, requires libslirp. + + client: handling SPICE_MSG_MAIN_MIGRATE_SWITCH_HOST + disconnecting from the current host and connecting to the target host. + + client: fix unsafe access to an event member + +2010-04-06 Izik Eidus <ieidus@redhat.com> + + spice server: try to be less brutal when changing res or when flushing the tree + The idea is that we can try to defer some stuff to be later + send in the pipe if the pipe is not fulled yet, moreover + we will then walk on the pipe using: + red_clear_surface_drawables_from_pipe() and will try to + remove the uneeded objects of this surface + + Still some room to improvment but later... + + spice server: remove surface_id and surfaces_dest[3] from guest mem + Validate the surface_ids just once and keep them in safe + memory area + + Make things simpler + +2010-04-05 Izik Eidus <ieidus@redhat.com> + + spice: common: gdi_canvas fix gdi objects leak + BitmapMask was used by the draw_text function as well + therefore we need to mark from_surface = 0 if we want + it to release the boject... + + (Was evil, took me few hours to understand from where + the leak come...) + + spice-server: when destroying a surface don`t send uneeded items + Just skip the items of destroyed surface that are found in the pipe + before we skip them, we check if they are needed by other users... + + spice-server: remove glz objects related to surface when destroying a surface + make the surface released faster in the release ring + as well as clean unneeded reference into the glz + + spice: reds: fix uninitlized pointer + +2010-04-03 Yonit Halperin <yhalperi@redhat.com> + + client: x11: fix a crash caused by a call to a destroyed window. + Happens when a focused window is destroyed without a focus out event, + and a focus-in event occurs on another window. + +2010-04-03 Izik Eidus <ieidus@redhat.com> + + libspice: add off screens support + + spice server: surface create/destroy protocol support + Now we can send commands from the server to the client + to destroy surfaces (right now just the primary surface) + + Needed for offscreens support) + + Another patch`s on the way. + +2010-03-24 Alexander Larsson <alexl@redhat.com> + + Rename .so spice-server.so + Also change include dir to "spice-server" for consistency. + + libspice.so conflicted with the tclspice package, and its also + a clarification for when we create a spice client library. + + Add spice_strndup + Also, make str(n)dup handle NULL correctly + + Get rid of more out-of-memory checks + We already check this in spice_malloc now + +2010-03-24 Yonit Halperin <yhalperi@redhat.com> + + spice: server: Being more permissive in video identification + In 'filter' video streaming mode, use a more permissive threshold for distinguishing + 'realistic' streams from 'textaul'/'artificial' streams. The previous threshold classified + streams that were scaled on the guest as artificial and thus they were not recoginized as videos. + +2010-03-24 Alon Levy <alevy@redhat.com> + + spice: client: fix handling of top down images in video streams + Top down streams arrive from x11-qxl driver. + +2010-03-24 Yonit Halperin <yhalperi@redhat.com> + + spice: server: avoid video streaming of small images + I added a lower limit to the size of images that are being streamed. + The limit is only active in "filter" video streaming mode. + This will prevent blurry animated icons. + +2010-03-24 Alexander Larsson <alexl@redhat.com> + + rename spice.pc to spice-server.pc + + configure.ac: client: replace $(top_srcdir) in x11/Makefile.am (subdir config) + Replace all "$(top_srcdir)/common" with "$(SPICE_COMMON_DIR)" + and all "$(top_srcdir)/client" with custom "$(CLIENTDIR)" + + This would (after following patches) enables building the client from + either spice/ (top directory) or spice/client. + +2010-03-24 Uri Lublin <uril@redhat.com> + + configure.ac: define SPICE_COMMON_SRCDIR, to be used by Makefile.am (subdir config) + Note that SPICE_COMMON_SRCDIR may be overwritten by configure.ac.shared + + autogen: exit upon errors (subdir config) + + autogen: add possibly missing AUTOMAKE definition (subdir config) + + autogen: remove copied code - srcdir and ORIGDIR (subdir config) + +2010-03-18 Alexander Larsson <alexl@redhat.com> + + Fix uninitilized memory read in stroke_fill_spans() + y2 was not initialized + +2010-03-18 Gerd Hoffmann <kraxel@redhat.com> + + new libspice api: spice_server_add_get_{sock, peer}_info() + + new libspice api: spice_server_add_renderer() + +2010-03-18 Yonit Halperin <yhalperi@redhat.com> + + client: add command line support for ciphers, ca file, and host certificate subject + +2010-03-17 Alexander Larsson <alexl@redhat.com> + + Default opt flags to -O2 + gcc -O3 has some code generation failures due to a combination of + unaligned (packed) structs and vectorization that can cause + a crash in canvas_localize_palette(). + + And its just safer to use -O2, which is the standard "trusted" + optimization flags. + + Use nearest scaling for DRAW_ALPHA_BLEND since this is what win32 needs + DrvAlphaBlend is the only current user of DRAW_ALPHA_BLEND, and its + defined to do nearest (COLORONCOLOR) scaling, not bilinear. + + Fix up empty region checks in canvas operations + We rely on not passing on empty rects to the drawing operations by + checking for empty regions and exiting early. However the checks + were wrongly using pixman_region32_n_rects(region) == 0, whereas + we should be using pixman_region32_not_empty(). + +2010-03-11 Søren Sandmann Pedersen <ssp@redhat.com> + + Explicitly depend on various X libraries, and -pthread + In Fedora 13, the linker doesn't pull in DT_NEEDED libraries anymore, + so we have to list the things that we depend on explicitly. + + This affects several X extension libraries, and also the pthread + library. + +2010-03-11 Alexander Larsson <alexl@redhat.com> + + Use spice allocator in server/ + + Use the spice allocator in common/ + + New memory allocators that exit on OOM and handle multiplication overflow + Every place that does a regular malloc/calloc and aborts on failure + should use spice_malloc/spice_mallo0 instead, which is leaner and cleaner. + + Allocations of dynamically sized arrays can use g_malloc_n or g_new etc + which correctly handle multiplication overflow if some of the arguments + are not trusted. + +2010-03-10 Alexander Larsson <alexl@redhat.com> + + Define __STDC_LIMIT_MACROS for c++ code to get SIZE_MAX + We need SIZE_MAX for the malloc overflow code, and its not defined + in C++ unless __STDC_LIMIT_MACROS is defined. + + Define GL_GLEXT_PROTOTYPES in CFLAGS not in random places in the source + + Revert "Fix possible quic_usr_more_lines_unstable() crash" + This reverts commit 34e6a0a0d539fb49a03ec01bf11be505c88fcaa1. + + Turns out this wasn't needed and the crash was due to other changes. + +2010-03-09 Alexander Larsson <alexl@redhat.com> + + Update gdi canvas wrt latest changes + ALIGN -> SPICE_ALIGN + +2010-03-09 Gerd Hoffmann <kraxel@redhat.com> + + new libspice api: add spice_server_set_mouse_absolute() + + new libspice api: add spice_server_set_channel_security() + + new libspice api: make spice_channel_name_t part of the public api. + + new libspice api: add spice_server_{get, set}_image_compression() + + new libspice api: make image_compression_t part of the public api. + + new libspice api: configure listen addr, add ipv6 suppor + + new libspice api: configure tls + + new libspice api: zap function pointer indirection. + Make register_*_notifier calls optional, long term they should go away + entriely. Add direct library calls as replacement. + + new libspice api: configure port + ticket + Add new functions to configure spice port and ticketing. Yes, this is + incomplete, it includes just the most important bits to get something + up'n'running. + + These functions are supposed to replace both spice_parse_args() and + the monitor interaction via qterm interface. + + new libspice api: alloc, initi and free spice server instances. + The implementation can't handle multiple spice server instances at the + same time right now. The API allows this though, so if we fixup the + implementation some day we don't have to change the API. + + Fix possible quic_usr_more_lines_unstable() crash + quic_usr_more_lines_unstable() assumes it can allways copy a complete + scanline. Well, it can't. In case the screen rectangle which needs + updating has an x-offset greater than zero *and* includes the last + scanline of the screen it will overflow the source buffer by + x-offset * bytes-per-pixel bytes. + +2010-03-09 Alexander Larsson <alexl@redhat.com> + + Use macros from <spice/macros.h> rather than duplicate them + +2010-03-08 Alexander Larsson <alexl@redhat.com> + + Move draw_rop3 to canvas_base + + Move canvas_draw_stroke to canvas_base + + Move most of the shared draw_xyz() methods from CairoCanvas to CanvasBase + This adds a set of virtual methods for low-level operations. A subclass + can choose to implement those and let the default CanvasBase implementations + handle the highlevel stuff. + + Move canvas_region and group_start/end to canvas_base + + Move virtualization of canvas drawing into common/canvas_base + Instead of having two virtualizations of the canvas we push the + virtualization into the canvas code itself. This not only avoids + the duplication of this code, it also makes the exposed API for the + canvas much smaller (in terms of exported API). + + It also lets us use the virtualization to implement basic support + for operations in canvas_base which is then overridden by each canvas + implementation. + + Make virt mapping an interface + + Make glz_decoder non-optional canvas_base in canvas constructors + It can still be NULL, but we simplify the headers by always including it. + There is no practical performance difference here. + + Make canvas Glz decoder integration nicer + We use a dynamic interface similar to e.g. SpiceImageCache instead + of passing both function and opaque + + Fix colorkeying in pixman_utils.c + We were masking out the alpha bit in the key color not int + the source pixel, so colorkeying didn't work when the high byte + was != 0. For instance in the shutdown dialog in XP. + +2010-03-05 Alexander Larsson <alexl@redhat.com> + + Fix up win32 build reference to pixman_utils.cpp + It was pointing to the wrong directory for pixman_utils.cpp + +2010-03-03 Alexander Larsson <alexl@redhat.com> + + Only use AI_ADDRCONF if availible + AI_ADDRCONF not availible on winXP, so this fixes windows build. + +2010-03-01 Larsson@.(none) <Larsson@.(none)> + + Update visual studio project for pixman changes + + Make gdi canvas build in the new pixman world + + Always include spice/types.h before pixman so standard int types exist + + Fix warnings from visual studio compiler + + Have only one copy of ROUND macro and cast to int explicitly + +2010-02-27 Gerd Hoffmann <kraxel@redhat.com> + + spice client: add ipv6 support. + + spice client: fix dns lookup + ignore lookup results which are not ipv4 + +2010-02-23 Alexander Larsson <alexl@redhat.com> + + Remove qcairo dependency, only use pixman + + Remove cairo use in client + + Remove no longer needed CAIRO_CANVAS_CACH_IS_SHARED define and code + + Remove last cairo use from canvas_base + + Remove cairo_t from cairo canvas + + Covert cairo canvas put_image() to pixman + + Replace custom region implementation with pixman_region32_t + pixman_region32_t is an efficient well tested region implementation (its + the one used in X) that we already depend on via pixman and use in + some places. No need to have a custom region implementation. + + Convert cairo canvas clear() to pixman + + Convert cairo canvas group_start/end to pixman + + Convert cairo canvas read_bits() to pixman + + Remove unused cairo helper functions + + Convert cairo canvas to use pixman for draw_stroke + + Convert cairo canvas draw_transparent to use pixman + + Convert cairo canvas draw_rop3 to using pixman + + Convert draw_blackness/whiteness/invers to using pixman + + Convert cairo canvas alpha_blend to using pixman + + Convert cairo canvas draw_text to using pixman + + Convert cairo canvas copy bits to pixman + + Convert cairo canvas draw_copy() to using pixman + This is just identical to draw_blend(). + + Convert cairo canvas draw_blend() to using pixman + + Convert cairo canvas draw_opaque() to using pixman + + Convert cairo canvas draw_fill() to using pixman + + Add possibility to not invert bitmask in canvas_get_mask() + This allows the pixman implementation to instead invert the (generally + smaller) region instead of duplicating the bitmap to invert it. + + Use pixman_image_t instead of cairo_surface_t as the generic pixman container + This allows us to use the simpler dependency of pixman outside of the + cairo backend, and it later lets us move the cairo backend to using + pixman only. + + Turn image and palette cache into c style dynamic interface + Instead of passing a bunch of function pointer and an opaque + pointer we make a real type and add a vtable pointer to it. + This means we can simplify all the canvas constructors, etc. + + Add optional templated base class to Cache and SharedCache + We want this for integration with C-style classes. + + Add pixman_image_t referencing the cairo_canvas bits + This references the same data as the cairo surface and can be used + for drawing to the surface using direct pixman calls instead. + + Add line rasterizer + + Add pixman utilities + This includes: + * pixman region from SpiceRects + * rop2 enum + * solid fill + * solid fill with rop + * tiled fill + * tiled fill with rop + * blit + * blit with rop + * copy rect + + Add emacs settings for indent according to spice styleguide + +2010-02-10 Alexander Larsson <alexl@redhat.com> + + Fix delete vs delete[] mismatches + This fixes a bunch of valgrind warnings. + +2010-02-04 Alexander Larsson <alexl@redhat.com> + + Use standard int types and <spice/types.h> + + Revert automatic renames that were wrong + Seems my rename script didn't handle C++ namespaces that well. + + Use the new header names + I just ran: + find -name "*.[ch]" | xargs sed -i -f ../spice-protocol/includes.sed + find -name "*.cpp" | xargs sed -i -f ../spice-protocol/includes.sed + + Rename symbols that were changed in spice-protocol + This is an automatic change using: + $ find -name "*.[ch]" | xargs ../spice-protocol/rename-identifiers.sh ../spice-protocol/renames + $ find -name "*.cpp" | xargs ../spice-protocol/rename-identifiers.sh ../spice-protocol/renames + + Remove headers that were moved to spice-protocol + + Depend on spice-protocol module + This doesn't actually use the new module, just sets it up for use. + + Filter out XIM X events + XIM ClientMessage events to an XIM internal window was triggering + the check for a window message procs. We need to properly filter + events with XFilterEvent to avoid this happening. + +2010-01-28 Izik Eidus <ieidus@redhat.com> + + libspice: add surface 0 support + This include alot of infestracture for off screens. + +2010-01-11 Yaniv Kamay <ykamay@redhat.com> + + client: change rerror code to be positive + + client: add Platform::term_printf + Platform::term_printf is a variant of printf that + on windows dynamically opens console in order to + have visible output during command line processing. + + client: fix logger init mix-up + + client: move log file to spicec appdata dir + +2010-01-11 Yonit Halperin <yhalperi@redhat.com> + + server,client: server authentication for secured channels. + 3 available mechanisms: by public key, by host name, and by certificate subject name. + In the former method, chain of trust verification is not performed. + The CA certificate files are looked for under <spice-config-dir>/spice_truststore.pem + + windows <spice-config-dir>=%APPDATA%\spicec\ + linux <spice-config-dir>=$HOME/.spicec/ + +2010-01-07 Arnon Gilboa <agilboa@redhat.com> + + spice: menu additons + -functions: set_name, remove_command, remove_sub, clear + -item state & enum + -add state support in RedWindow insert_command & insert_menu + +2010-01-06 Yaniv Kamay <ykamay@redhat.com> + + server: add new vd interface QTerm2Interface + +2010-01-06 Arnon Gilboa <agilboa@redhat.com> + + spice: add missing break + +2010-01-04 Yaniv Kamay <ykamay@redhat.com> + + client: use spice icon instead-of solidice icon + +2009-12-30 Arnon Gilboa <agilboa@redhat.com> + + spice: PKG_CHECK_MODULES: CEGUI version + + spice: position mouse in primary monitor center after full screen toggle + -move _focused & _pointer_in_window from RedWindow to RedWindow_p's + -move shadow focus & cursor handling to sync() + -add reset_cursor_pos() to Platform + -Monitor set_mode()/restore() use virtual do_set_mode()/do_restore() + + spice: on_activate_screen generates on_key_down for any modifier pressed + -call SetWindowsHookEx(WH_KEYBOARD_LL, LowLevelKeyboardProc...) only once, in RedWindow::init() + -add Application::cleanup_globals() & RedWindow::cleanup() + -cleanup LowLevelKeyboardProc() + +2009-12-28 Yaniv Kamay <ykamay@redhat.com> + + client: let PreLoginDialog save and restore LoginDialog + + client: remove splash image + + client: add GUI infrastructure + functional login dialog + + client: add gui res files + + client: add soft renderer and cegui + + client: smiplify DisconnectedEvent + + client: move visibility change logic from screen to app + + client: wait for disconnect state in RedClient::connect() + + client: improve screen resizing + Screen now have to modes locked and unlocked. + + In unlocked mode, the application can change screen size and so + reduce resolution changing. The application can also choose to + change window size while not in full screen mode. + + In locked mode the application must ewtain locker screen size + setting. + + client: restore mouse capture state after screen resizing + + use spaces instead of tabs in bitmap_to_c and icon_to_c output + +2009-12-23 Yaniv Kamay <ykamay@redhat.com> + + win client: change avcodec version to 51 + +2009-12-23 Izik Eidus <ieidus@redhat.com> + + spice: fix server crush in case connecting without qxl device + + spice client: fix wrong gdi-canvas handling of blend_alpha + +2009-12-23 Yaniv Kamay <ykamay@redhat.com> + + client: new static title image + +2009-12-22 Izik Eidus <ieidus@redhat.com> + + spice: fix ssl compiling errors + (openssl api was changed, so lets have ifdef to compile in all cases) + + spice: client: add checks to see if it is safe to use XShem. + Beacuse that XShem internal checks wont fail when using the spice client + from remote, we are adding check on the socket family to see if it is + unix domain socket and fail in case it is not. + +2009-12-21 Yaniv Kamay <ykamay@redhat.com> + + spice: sever: increase client timeout + Increase client timeout in order to prevent unnecessary + disconnecting of client while the connection is over WAN. + + Tested by changing WinXP resolution (with desktop background) while + connecting over WAN (1.5Mbit 150Kbit) + + spice: sever: remove assert on nop copy bits + +2009-11-30 Yonit Halperin <yhalperi@redhat.com> + + spice server: heuristic for distinguishing between "real" videos and textual streams + +2009-11-30 Yaniv Kamay <ykamay@redhat.com> + + client: KeyHandler now receive unicode char event in addition to RedKey events + + client: move scan code translation to InputsChannel + + remove unuse Application::is_cad_pressed() + + client: split inputs handler + + client: interactive screen layer + +2009-11-23 Izik Eidus <ieidus@redhat.com> + + spice: server: add memslots support. + +2009-11-18 Yaniv Kamay <ykamay@redhat.com> + + add missing alt_image.c to Makefile.am + +2009-11-18 Arnon Gilboa <agilboa@redhat.com> + + spice: pass modifiers stroke events down the hook chain + + spice: add [pid:tid] to log lines + + spice: on toggle_full_screen, generate on_key_down if shift is still pressed + +2009-11-17 Arnon Gilboa <agilboa@agilboa.usersys.redhat.com> + + spice: show splash screen on disconnect only on debug + +2009-11-15 Yaniv Kamay <ykamay@redhat.com> + + client: change jitter buffer size to 300ms + +2009-11-15 Yonit Halperin <yhalperi@redhat.com> + + spice client: sticky Alt activation when holding an Alt key: bug #505912. + Additional changes that were required for the feature: + 1) focusing on the pointed window in full screen mode + 2) In X11 - handling events that occur during keyboard ungrabbing + 3) In X11 - handling Leave/Enter Notify events that occur during keyboard grabbing/ungrabbing + 4) In X11 - fix for focus events that are handled in the wrong order (happens when + focus events occur during grabbing the keyboard) + 5) In X11 - ignoring key release events during key holding + 6) In Windows - synchronizing keyboard release events that occured during a modal loop + +2009-11-09 Izik Eidus <ieidus@redhat.com> + + spice: client: gl: fix glx support. + Just move around touch_context and untouch_context to be at the right + places. + + client: fix colormap handling. + +2009-11-09 Yonit Halperin <yhalperi@redhat.com> + + spice client: tunnel channel - checking that the configuration pipe listener was created before deleting it + + spice client: calling the timers during modal loop in Windows + + spice client: fixed missing AutoRef + + spice client: remove timer interface from platform - use Application (via ProcessLoop interface). + +2009-11-09 Izik Eidus <ieidus@redhat.com> + + spice server: fix gl + red_worker: put invalidate at the right places + +2009-11-09 Yonit Halperin <yhalperi@redhat.com> + + spice client: cosmetic changes + + spice client: Transfer all channels run loop from EventsLoop class to ProcessLoop class + + spice client: creating a general process loop. + The process loop is responsible for: 1) waiting for events 2) timers 3) events queue for + actions that should be performed in the context of the thread and are pushed from other threads. + The benefits: + 1) remove duplicity: till now, there was one implementaion of events loop for the channels and + another one for the main thread. + 2) timers can be executed on each thread and not only on the main thread. + 3) events can be pushed to each thread and not only to the main thread. + In this commit, only the main thread was modified to use the new process loop. + +2009-10-27 Yaniv Kamay <ykamay@redhat.com> + + fix win client copyright string + +2009-10-26 Yaniv Kamay <ykamay@redhat.com> + + fix bad initialization of XDisplay in case crt have more then one output + + fix build on Debian + +2009-10-25 Izik Eidus <ieidus@redhat.com> + + spice: move create and destroy of the canvas to new place + work around for xlib threaded bugs + + spice xclient: move xsync() to be at the right place. + +2009-10-18 Yonit Halperin <yhalperi@redhat.com> + + tunnel + +2009-10-14 Yaniv Kamay <ykamay@redhat.com> + + change development version to 0.5.0 + + fresh start diff --git a/tizen/distrib/remote/server/spice-0.12.2/INSTALL b/tizen/distrib/remote/server/spice-0.12.2/INSTALL new file mode 100644 index 0000000..6e90e07 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/INSTALL @@ -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. diff --git a/tizen/distrib/remote/server/spice-0.12.2/Makefile.am b/tizen/distrib/remote/server/spice-0.12.2/Makefile.am new file mode 100644 index 0000000..ae3ce9f --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/Makefile.am @@ -0,0 +1,41 @@ +NULL = +ACLOCAL_AMFLAGS = -I m4 + +SUBDIRS = server +#SUBDIRS = spice-common server + +if SUPPORT_CLIENT +SUBDIRS += client +endif + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = spice-server.pc + +DISTCHECK_CONFIGURE_FLAGS = \ + --enable-automated-tests \ + --enable-opengl \ + --enable-smartcard \ + --with-sasl \ + $(NULL) + +EXTRA_DIST = \ + build-aux/git-version-gen \ + $(NULL) + +# Generate the ChangeLog file (with all entries since the switch to git) +# and insert it into the directory we're about to use to create a tarball. +.PHONY: gen-ChangeLog +gen-ChangeLog: + if test -d .git || test -d ../.git; then \ + $(top_srcdir)/build-aux/gitlog-to-changelog > $(distdir)/cl-t; \ + rm -f $(distdir)/ChangeLog; \ + mv $(distdir)/cl-t $(distdir)/ChangeLog; \ + fi + +# see git-version-gen +dist-hook: gen-ChangeLog + echo $(VERSION) > $(distdir)/.tarball-version + +BUILT_SOURCES = $(top_srcdir)/.version +$(top_srcdir)/.version: + echo $(VERSION) > $@-t && mv $@-t $@ diff --git a/tizen/distrib/remote/server/spice-0.12.2/Makefile.in b/tizen/distrib/remote/server/spice-0.12.2/Makefile.in new file mode 100644 index 0000000..cc800d6 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/Makefile.in @@ -0,0 +1,934 @@ +# Makefile.in generated by automake 1.12.2 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2012 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@ + +VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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@ +@SUPPORT_CLIENT_TRUE@am__append_1 = client +subdir = . +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in $(srcdir)/config.h.in \ + $(srcdir)/spice-server.pc.in $(top_srcdir)/configure AUTHORS \ + COPYING ChangeLog INSTALL NEWS ar-lib compile config.guess \ + config.sub depcomp install-sh ltmain.sh missing +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/m4/manywarnings.m4 \ + $(top_srcdir)/m4/spice-compile-warnings.m4 \ + $(top_srcdir)/m4/warnings.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = config.h +CONFIG_CLEAN_FILES = spice-server.pc +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-dvi-recursive install-exec-recursive \ + install-html-recursive install-info-recursive \ + install-pdf-recursive install-ps-recursive install-recursive \ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +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; }; \ + } +am__installdirs = "$(DESTDIR)$(pkgconfigdir)" +DATA = $(pkgconfig_DATA) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ + cscope distdir dist dist-all distcheck +ETAGS = etags +CTAGS = ctags +CSCOPE = cscope +DIST_SUBDIRS = server client +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + if test -d "$(distdir)"; then \ + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -rf "$(distdir)" \ + || { sleep 5 && rm -rf "$(distdir)"; }; \ + else :; fi +am__post_remove_distdir = $(am__remove_distdir) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +GZIP_ENV = --best +DIST_ARCHIVES = $(distdir).tar.bz2 +DIST_TARGETS = dist-bzip2 +distuninstallcheck_listfiles = find . -type f -print +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' +distcleancheck_listfiles = find . -type f -print +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +ALSA_CFLAGS = @ALSA_CFLAGS@ +ALSA_LIBS = @ALSA_LIBS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CAC_CARD_CFLAGS = @CAC_CARD_CFLAGS@ +CAC_CARD_LIBS = @CAC_CARD_LIBS@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CEGUI06_CFLAGS = @CEGUI06_CFLAGS@ +CEGUI06_LIBS = @CEGUI06_LIBS@ +CEGUI_CFLAGS = @CEGUI_CFLAGS@ +CEGUI_LIBS = @CEGUI_LIBS@ +CELT051_CFLAGS = @CELT051_CFLAGS@ +CELT051_LIBDIR = @CELT051_LIBDIR@ +CELT051_LIBS = @CELT051_LIBS@ +CFLAGS = @CFLAGS@ +CFLAGS_CFLAGS = @CFLAGS_CFLAGS@ +COMMON_CFLAGS = @COMMON_CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXIMAGE_CFLAGS = @CXIMAGE_CFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GLIB2_CFLAGS = @GLIB2_CFLAGS@ +GLIB2_LIBS = @GLIB2_LIBS@ +GL_CFLAGS = @GL_CFLAGS@ +GL_LIBS = @GL_LIBS@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +JPEG_LIBS = @JPEG_LIBS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBM = @LIBM@ +LIBOBJS = @LIBOBJS@ +LIBRT = @LIBRT@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MISC_X_CFLAGS = @MISC_X_CFLAGS@ +MISC_X_LIBS = @MISC_X_LIBS@ +MKDIR_P = @MKDIR_P@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ +PIXMAN_LIBS = @PIXMAN_LIBS@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PYTHON = @PYTHON@ +RANLIB = @RANLIB@ +SASL_CFLAGS = @SASL_CFLAGS@ +SASL_LIBS = @SASL_LIBS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SLIRP_CFLAGS = @SLIRP_CFLAGS@ +SLIRP_LIBS = @SLIRP_LIBS@ +SMARTCARD_CFLAGS = @SMARTCARD_CFLAGS@ +SMARTCARD_LIBS = @SMARTCARD_LIBS@ +SPICEC_STATIC_LINKAGE_BSTATIC = @SPICEC_STATIC_LINKAGE_BSTATIC@ +SPICE_LT_VERSION = @SPICE_LT_VERSION@ +SPICE_NONPKGCONFIG_CFLAGS = @SPICE_NONPKGCONFIG_CFLAGS@ +SPICE_NONPKGCONFIG_LIBS = @SPICE_NONPKGCONFIG_LIBS@ +SPICE_REQUIRES = @SPICE_REQUIRES@ +SSL_CFLAGS = @SSL_CFLAGS@ +SSL_LIBS = @SSL_LIBS@ +STRIP = @STRIP@ +VERSION = @VERSION@ +VISIBILITY_HIDDEN_CFLAGS = @VISIBILITY_HIDDEN_CFLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WARN_CXXFLAGS = @WARN_CXXFLAGS@ +WARN_LDFLAGS = @WARN_LDFLAGS@ +WINDRES = @WINDRES@ +XFIXES_CFLAGS = @XFIXES_CFLAGS@ +XFIXES_LIBS = @XFIXES_LIBS@ +XINERAMA_CFLAGS = @XINERAMA_CFLAGS@ +XINERAMA_LIBS = @XINERAMA_LIBS@ +XRANDR12_CFLAGS = @XRANDR12_CFLAGS@ +XRANDR12_LIBS = @XRANDR12_LIBS@ +XRANDR_CFLAGS = @XRANDR_CFLAGS@ +XRANDR_LIBS = @XRANDR_LIBS@ +Z_LIBS = @Z_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +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@ +subdirs = @subdirs@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +NULL = +ACLOCAL_AMFLAGS = -I m4 +SUBDIRS = ../../common/spice-common server $(am__append_1) +#SUBDIRS = spice-common server $(am__append_1) +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = spice-server.pc +DISTCHECK_CONFIGURE_FLAGS = \ + --enable-automated-tests \ + --enable-opengl \ + --enable-smartcard \ + --with-sasl \ + $(NULL) + +EXTRA_DIST = \ + build-aux/git-version-gen \ + $(NULL) + +BUILT_SOURCES = $(top_srcdir)/.version +all: $(BUILT_SOURCES) config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: +am--refresh: Makefile + @: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ + $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + $(am__cd) $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +$(am__aclocal_m4_deps): + +config.h: stamp-h1 + @if test ! -f $@; then rm -f stamp-h1; else :; fi + @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi + +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config.h +$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) + rm -f stamp-h1 + touch $@ + +distclean-hdr: + -rm -f config.h stamp-h1 +spice-server.pc: $(top_builddir)/config.status $(srcdir)/spice-server.pc.in + cd $(top_builddir) && $(SHELL) ./config.status $@ + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + -rm -f libtool config.lt +install-pkgconfigDATA: $(pkgconfig_DATA) + @$(NORMAL_INSTALL) + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ + done + +uninstall-pkgconfigDATA: + @$(NORMAL_UNINSTALL) + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir) + +# This directory's subdirectories are mostly independent; you can cd +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done +cscopelist-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +cscope: cscope.files + test ! -s cscope.files \ + || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) + +clean-cscope: + -rm -f cscope.files + +cscope.files: clean-cscope cscopelist-recursive cscopelist + +cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + -rm -f cscope.out cscope.in.out cscope.po.out cscope.files + +distdir: $(DISTFILES) + $(am__remove_distdir) + test -d "$(distdir)" || mkdir "$(distdir)" + @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 + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" distdir="$(distdir)" \ + dist-hook + -test -n "$(am__skip_mode_fix)" \ + || find "$(distdir)" -type d ! -perm -755 \ + -exec chmod u+rwx,go+rx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r "$(distdir)" +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__post_remove_distdir) +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 + $(am__post_remove_distdir) + +dist-lzip: distdir + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz + $(am__post_remove_distdir) + +dist-xz: distdir + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz + $(am__post_remove_distdir) + +dist-tarZ: distdir + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__post_remove_distdir) + +dist-shar: distdir + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + $(am__post_remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__post_remove_distdir) + +dist dist-all: + $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' + $(am__post_remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lz*) \ + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ + *.tar.xz*) \ + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir); chmod u+w $(distdir) + mkdir $(distdir)/_build + mkdir $(distdir)/_inst + chmod a-w $(distdir) + test -d $(distdir)/_build || exit 0; \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && am__cwd=`pwd` \ + && $(am__cd) $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(AM_DISTCHECK_CONFIGURE_FLAGS) \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ + && cd "$$am__cwd" \ + || exit 1 + $(am__post_remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' +distuninstallcheck: + @test -n '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: trying to run $@ with an empty' \ + '$$(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + $(am__cd) '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-recursive +all-am: Makefile $(DATA) config.h +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(pkgconfigdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +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 "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) +clean: clean-recursive + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-hdr \ + distclean-libtool distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: install-pkgconfigDATA + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-pkgconfigDATA + +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \ + cscopelist-recursive ctags-recursive install install-am \ + install-strip tags-recursive + +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am am--refresh check check-am clean clean-cscope \ + clean-generic clean-libtool cscope cscopelist \ + cscopelist-recursive ctags ctags-recursive dist dist-all \ + dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar dist-tarZ \ + dist-xz dist-zip distcheck distclean distclean-generic \ + distclean-hdr distclean-libtool distclean-tags distcleancheck \ + distdir distuninstallcheck 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-pdf install-pdf-am install-pkgconfigDATA \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ + uninstall uninstall-am uninstall-pkgconfigDATA + + +# Generate the ChangeLog file (with all entries since the switch to git) +# and insert it into the directory we're about to use to create a tarball. +.PHONY: gen-ChangeLog +gen-ChangeLog: + if test -d .git || test -d ../.git; then \ + $(top_srcdir)/build-aux/gitlog-to-changelog > $(distdir)/cl-t; \ + rm -f $(distdir)/ChangeLog; \ + mv $(distdir)/cl-t $(distdir)/ChangeLog; \ + fi + +# see git-version-gen +dist-hook: gen-ChangeLog + echo $(VERSION) > $(distdir)/.tarball-version +$(top_srcdir)/.version: + echo $(VERSION) > $@-t && mv $@-t $@ + +# 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: diff --git a/tizen/distrib/remote/server/spice-0.12.2/NEWS b/tizen/distrib/remote/server/spice-0.12.2/NEWS new file mode 100644 index 0000000..30912c5 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/NEWS @@ -0,0 +1,241 @@ +Major changes in 0.12.2: +======================== +* Stable Release +* Skipped 0.12.1, it existed in git but was never released +* spice-server now requires glib2 (like qemu does) +* More robust ssl error and certificate handling +* Added support for websockets +* Tons of seamless migration bugfixes +* Also some none seamless migration bugfixes + +Major changes in 0.12.0: +======================== +* Stable Release +* support setting client monitor configuration via device + QXLInterface::client_monitors_config +* support notifying guest of client capabilities + QXLInterface::set_client_capabilities +* new capability for A8 Surface support +* Enable build on armv6+ +* Option to quit server after first client disconnects + spice_server_set_exit_on_disconnect + +Major changes in 0.11.3: +======================== +* !Development Release! +* This entry contains all 0.11.0 .. 0.11.3 changes. +* Support seamless migration: no loss of in transit messages. Still not + supported for agent, smartcard and usb. +* Support a new rendering message, Composite, for much improved linux guest + performance. +* Support arbitrary resolution & multiple monitors on a single display channel. +* Improved keyboard handling under network latency with new + SPICE_MSGC_INPUTS_KEY_SCANCODE message. +* New libspice-server.so symbols: + spice_server_set_seamless_migration + spice_server_vm_stop + spice_server_vm_start + spice_qxl_monitors_config_async +* New capabilities: + SPICE_DISPLAY_CAP_COMPOSITE + SPICE_DISPLAY_CAP_MONITORS_CONFIG + SPICE_INPUTS_CAP_KEY_SCANCODE + SPICE_MAIN_CAP_AGENT_CONNECTED_TOKENS + SPICE_MAIN_CAP_SEAMLESS_MIGRATE +* Misc: + * char_device.c: Introducing shared flow control code for char devices + * Enable build without client, cegui and slirp. + +Major changes in 0.11.0: +======================== +* !Development Release! +* 8817549..d905a1f +* now using git submodules: spice-common and spice-protocol. +* New spice protocol messages: (changes in spice-protocol, here for reference) + * SPICE_MSG_MAIN_NAME, SPICE_MSG_MAIN_UUID + * SPICE_MSG_DISPLAY_STREAM_DATA_SIZED +* New corresponding caps: (changes in spice-protocol, here for reference) + * SPICE_MAIN_CAP_NAME_AND_UUID + * SPICE_DISPLAY_CAP_SIZED_STREAM. +* Send name & uuid to capable clients +* add support for frames of different sizes RHBZ #813826 +* server: + * support a pre-opened file descriptor + * Solaris support. Now using poll instead of epoll. + * Support IPV6 addresses in channel events RHBZ #788444 + * other fixed RHBZ#: 787669, 787678, 819484 +* spicec + * alsa: use "default" instead of "hw:0,0" + * volume keys support RHBZ #552539 + * other fixed RHBZ#: 78655, 804561, 641828 +* solaris, mingw & windows, 32 bit fixes. +* enable server only build. +* GNULIB manywarnings.m4 & warnings.m4 module added. +* Many more bug fixes & code cleanups. +* spice-protocol no longer external. +* new server functions: + + spice_server_set_name + + spice_server_set_uuid + + spice_server_set_listen_socket_fd + + spice_server_is_server_mouse + +Major changes in 0.10.1: +======================== +* Mini header support +* Add server API for injecting a client connection socket +* Add Xinerama support to spicec +* Many bugfixes / code cleanups +* Requires spice-protocol >= 0.10.1 + +Major changes in 0.10.0: +======================== +* 32 bit (little endian) server builds. +* ABI compatible with 0.8.2. + +Major changes in 0.9.2: +======================= +* !Development Release! +* server: semi-seamless migration support (RHBZ 738266) +* client: semi-seamless migration support (RHBZ 725009, 738270) +* Various bugfixes / cleanups +* require spice-protocol >= 0.9.1 + +Major changes in 0.9.1: +======================= +* !Development Release! +* Multi-client support, disabled by default (experimental!) set the + environment variable SPICE_DEBUG_ALLOW_MC before starting qemu to enable +* Add support for adding generic spicevmc chardev passthrough channels +* Add USB redirection channel (using generic spicevmc chardev passthrough) +* Various bugfixes / cleanups + +Major changes in 0.9.0: +======================= +* !Development Release! +* volume synchronization between client and guest (client->guest only) +* turbo-jpeg used to avoid expensive color conversion in mjpeg encoder. +* Cleanups + +Major changes in 0.8.2: +======================= +* server: sasl support (fdo bz 34795) +* server: support guest async io +* server: support guest suspend and hibernate +* server: add symbol versioning to libspice-server.so +* server: prevent running an old spice-server with a newer qemu +* server Bug fixes (RHBZ): 714801, 713474, 674532, 653545 +* client Bug fixes (RHBZ): 712938, 710461, 673973, 667689 +* require spice-protocol >= 0.8.1 + +Major changes in 0.8.1: +======================= +* client: Fix handling of --smartcard-db option +* client: Add --version option +* spicec-x11: Work around a bug in xsel +* spicec-x11: Don't crash on apps sending bad atoms as TARGETS +* server: Make copy paste support configurable +* server: Various fixes to agent <-> client data handling + +Major changes in 0.8.0: +======================= +* client: exit nicely for --controller with no SPICE_XPI_SOCKET (rhbz#644292) +* client-x11: Use _exit rather then exit on X errors (rhbz#680763) +* client-x11: Fix keyb modifiers not syncing from guest to client (rhbz#679467) +* server: fix segfault on migration + +Major changes in 0.7.3: +======================= +* Suport building with (and requires) libcacard-0.1.2 +* Fixes for building with gcc-4.6 +* Server: Drop unnecessary X11 and alsa requires from spice-server.pc +* Client: fix minor for old migration support +* Client: Remove spice-client watermark (rhbz#662450) + +Major changes in 0.7.2: +======================= +* cmd-line-parser: fix wrong reporting of bad argument in --bla=val case +* Server: do not depend on libcacard and CEGUI (when enabled for the client) +* Server: send 1 instead of 4 as topdown flag "true" value +* Client: accept 4 as top down flag value for compatibility with older servers +* Client: stop blinking keyboard when out of focus +* Client: log subject-host mismatch, and raise ssl warnings to errors + +Major changes in 0.7.1: +======================= +* Brown paper bag release +* Update SPICE_SERVER_VERSION +* Include server/tests/test_util.h in the make dist generated tarbals, so + that they actually compile + +Major changes in 0.7.0: +======================= +* Many small bugfixes to the spice client +* Support for smartcards (CAC) + +Major changes in 0.6.3: +======================= +Major changes in this release: +* Foreign menu and controller support for the client for XPI / ActiveX + browser plugin usage (same API as the 0.4 client) +* Copy and paste support in the client +* Image copy and paste support in the X client +* Fix fullscreen mode of the X client under compiz and KDE +* Various portability and bug fixes + +Major changes in 0.6.2: +======================= +0.6.2 was skipped because a small but nasty bug was found while preparing +the release (and it was already tagged as 0.6.2 in git). + +Major changes in 0.6.1: +======================= +Major changes in this release: +* New libspice API to handle backwards compatibility +* Fix X crash in X client +* Fix memory leaks and crashes +* Portability fixes + +Major changes in 0.6.0: +======================= +Major changes in this releas: +* Various bugfixes +* Make build work on arm7 +* Fix build for python 2.5 +* Don't allow video streams on non-primary surface +* Fix shared memory leaks in client +* Add some new libspice-server APIs for configuration options +* Convert SpiceVDIPort API to generic SpiceCharDevice API +* Add capabilities negotiation to agent + +Major changes in 0.5.3: +======================= + +Major changes in this release: +* Various changes in the network protocol to make it more efficient. +* New commandline arguments to enable/disable jpeg and zlib-over-glz. +* Initial work on clipboard sharing added +* Fix color channel order for mjpegs when connecting to older spice + server. + +Major changes in 0.5.2: +======================= + +This is the first release of the unstable 0.5.x series leading up to 0.6. +With this release the API of spice-server is considered stable, but +the network protocol and QXL PCI ABI are still unstable. + +The major changes compared to the 0.4 series are: + +* New, more efficient network protocol +* Support for offscreen surfaces in guest driver +* New spice-server API +* A marshalling/demarshalling system that isolates the network + protocol parsing from the internal types +* A PCI parsing and validation layer making it easier to + get backwards compatibility, cleaning up the internals ans + makes security review easier. +* WAN support, including lossy compression using jpeg and + zlib compression. +* Easier to build. No more dependencies on forked versions + of pixman and cairo. Separate module spice-protocol containing + headers used when building drivers and qemu. diff --git a/tizen/distrib/remote/server/spice-0.12.2/README b/tizen/distrib/remote/server/spice-0.12.2/README new file mode 100644 index 0000000..e146a95 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/README @@ -0,0 +1,87 @@ + SPICE: Simple Protocol for Independent Computing Environments + ============================================================= + +SPICE is a remote display system built for virtual environments which +allows you to view a computing 'desktop' environment not only on the +machine where it is running, but from anywhere on the Internet and +from a wide variety of machine architectures. + +Installation +------------ + +The SPICE package uses GNU autotools, so the build install process +follows the standard process documented in the INSTALL file. As a +quick start you can do + + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --libdir=/usr/lib + make + sudo make install + +Or to install into a private user specific location + + ./configure --prefix=$HOME/spice + make + make install + +The following mandatory dependancies are required in order to +build SPICE + + Spice protocol >= 0.9.0 + Celt >= 0.5.1.1, < 0.6.0 + Pixman >= 0.17.7 + OpenSSL + libjpeg + zlib + Cyrus-SASL + +The following optional dependancies increase the available +functionality + + GE Gui >= 0.6.0, < 0.7.0 (GUI app support) + OpenGL (GUI app support) + Alsa (Linux support) + XRandR >= 1.2 (X11 support) + Xinerama >= 1.0 (X11 support) + libcacard >= 0.1.2 (Smartcard support) + Slirp (Tunnelling support) + +Communication +------------- + +To communicate with the development team, or to post patches +there is a technical mailing list: + + http://lists.freedesktop.org/mailman/listinfo/spice-devel + +There is also a mailing list for new release announcements: + + http://lists.freedesktop.org/archives/spice-announce/ + +To view known bugs, or report new bugs, in SPICE visit + + https://bugs.freedesktop.org/describecomponents.cgi?product=Spice + +Bugs found when using an OS distribution's binary packages should +be reported to the OS vendors' own bug tracker first. + +The latest SPICE code can be found in GIT at: + + http://cgit.freedesktop.org/spice/ + +Licensing +--------- + +SPICE is provided under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +Please see the COPYING file for the complete LGPLv2+ license +terms, or visit <http://www.gnu.org/licenses/>. + +Experimental Features +--------------------- +To enable multiple client connections, set: +SPICE_DEBUG_ALLOW_MC=1 + +-- End of readme diff --git a/tizen/distrib/remote/server/spice-0.12.2/aclocal.m4 b/tizen/distrib/remote/server/spice-0.12.2/aclocal.m4 new file mode 100644 index 0000000..58fe3cb --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/aclocal.m4 @@ -0,0 +1,1389 @@ +# generated automatically by aclocal 1.12.2 -*- Autoconf -*- + +# Copyright (C) 1996-2012 Free Software Foundation, Inc. + +# This file 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. + +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, +[m4_warning([this file was generated for autoconf 2.69. +You have another version of autoconf. It may work, but is not guaranteed to. +If you have problems, you may need to regenerate the build system entirely. +To do so, use the procedure documented by the package, typically 'autoreconf'.])]) + +# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- +# serial 1 (pkg-config-0.24) +# +# Copyright © 2004 Scott James Remnant <scott@netsplit.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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# PKG_PROG_PKG_CONFIG([MIN-VERSION]) +# ---------------------------------- +AC_DEFUN([PKG_PROG_PKG_CONFIG], +[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) +AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) +AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=m4_default([$1], [0.9.0]) + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + PKG_CONFIG="" + fi +fi[]dnl +])# PKG_PROG_PKG_CONFIG + +# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# +# Check to see whether a particular set of modules exists. Similar +# to PKG_CHECK_MODULES(), but does not set variables or print errors. +# +# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +# only at the first occurence in configure.ac, so if the first place +# it's called might be skipped (such as if it is within an "if", you +# have to call PKG_CHECK_EXISTS manually +# -------------------------------------------------------------- +AC_DEFUN([PKG_CHECK_EXISTS], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +if test -n "$PKG_CONFIG" && \ + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then + m4_default([$2], [:]) +m4_ifvaln([$3], [else + $3])dnl +fi]) + +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) +# --------------------------------------------- +m4_define([_PKG_CONFIG], +[if test -n "$$1"; then + pkg_cv_[]$1="$$1" + elif test -n "$PKG_CONFIG"; then + PKG_CHECK_EXISTS([$3], + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes ], + [pkg_failed=yes]) + else + pkg_failed=untried +fi[]dnl +])# _PKG_CONFIG + +# _PKG_SHORT_ERRORS_SUPPORTED +# ----------------------------- +AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi[]dnl +])# _PKG_SHORT_ERRORS_SUPPORTED + + +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], +# [ACTION-IF-NOT-FOUND]) +# +# +# Note that if there is a possibility the first call to +# PKG_CHECK_MODULES might not happen, you should be sure to include an +# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac +# +# +# -------------------------------------------------------------- +AC_DEFUN([PKG_CHECK_MODULES], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl + +pkg_failed=no +AC_MSG_CHECKING([for $1]) + +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) +_PKG_CONFIG([$1][_LIBS], [libs], [$2]) + +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS +and $1[]_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details.]) + +if test $pkg_failed = yes; then + AC_MSG_RESULT([no]) + _PKG_SHORT_ERRORS_SUPPORTED + if test $_pkg_short_errors_supported = yes; then + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` + else + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD + + m4_default([$4], [AC_MSG_ERROR( +[Package requirements ($2) were not met: + +$$1_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +_PKG_TEXT])[]dnl + ]) +elif test $pkg_failed = untried; then + AC_MSG_RESULT([no]) + m4_default([$4], [AC_MSG_FAILURE( +[The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +_PKG_TEXT + +To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl + ]) +else + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS + AC_MSG_RESULT([yes]) + $3 +fi[]dnl +])# PKG_CHECK_MODULES + + +# PKG_INSTALLDIR(DIRECTORY) +# ------------------------- +# Substitutes the variable pkgconfigdir as the location where a module +# should install pkg-config .pc files. By default the directory is +# $libdir/pkgconfig, but the default can be changed by passing +# DIRECTORY. The user can override through the --with-pkgconfigdir +# parameter. +AC_DEFUN([PKG_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([pkgconfigdir], + [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, + [with_pkgconfigdir=]pkg_default) +AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +]) dnl PKG_INSTALLDIR + + +# PKG_NOARCH_INSTALLDIR(DIRECTORY) +# ------------------------- +# Substitutes the variable noarch_pkgconfigdir as the location where a +# module should install arch-independent pkg-config .pc files. By +# default the directory is $datadir/pkgconfig, but the default can be +# changed by passing DIRECTORY. The user can override through the +# --with-noarch-pkgconfigdir parameter. +AC_DEFUN([PKG_NOARCH_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([noarch-pkgconfigdir], + [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, + [with_noarch_pkgconfigdir=]pkg_default) +AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +]) dnl PKG_NOARCH_INSTALLDIR + +# Copyright (C) 2002-2012 Free Software Foundation, Inc. +# +# This file 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. + +# serial 8 + +# AM_AUTOMAKE_VERSION(VERSION) +# ---------------------------- +# Automake X.Y traces this macro to ensure aclocal.m4 has been +# generated from the m4 files accompanying Automake X.Y. +# (This private macro should not be called outside this file.) +AC_DEFUN([AM_AUTOMAKE_VERSION], +[am__api_version='1.12' +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to +dnl require some minimum version. Point them to the right macro. +m4_if([$1], [1.12.2], [], + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl +]) + +# _AM_AUTOCONF_VERSION(VERSION) +# ----------------------------- +# aclocal traces this macro to find the Autoconf version. +# This is a private macro too. Using m4_define simplifies +# the logic in aclocal, which can simply ignore this definition. +m4_define([_AM_AUTOCONF_VERSION], []) + +# AM_SET_CURRENT_AUTOMAKE_VERSION +# ------------------------------- +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], +[AM_AUTOMAKE_VERSION([1.12.2])dnl +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) + +# Copyright (C) 2011-2012 Free Software Foundation, Inc. +# +# This file 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. + +# serial 1 + +# AM_PROG_AR([ACT-IF-FAIL]) +# ------------------------- +# Try to determine the archiver interface, and trigger the ar-lib wrapper +# if it is needed. If the detection of archiver interface fails, run +# ACT-IF-FAIL (default is to abort configure with a proper error message). +AC_DEFUN([AM_PROG_AR], +[AC_BEFORE([$0], [LT_INIT])dnl +AC_BEFORE([$0], [AC_PROG_LIBTOOL])dnl +AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([ar-lib])dnl +AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false]) +: ${AR=ar} + +AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface], + [am_cv_ar_interface=ar + AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int some_variable = 0;]])], + [am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&AS_MESSAGE_LOG_FD' + AC_TRY_EVAL([am_ar_try]) + if test "$ac_status" -eq 0; then + am_cv_ar_interface=ar + else + am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&AS_MESSAGE_LOG_FD' + AC_TRY_EVAL([am_ar_try]) + if test "$ac_status" -eq 0; then + am_cv_ar_interface=lib + else + am_cv_ar_interface=unknown + fi + fi + rm -f conftest.lib libconftest.a + ]) + ]) + +case $am_cv_ar_interface in +ar) + ;; +lib) + # Microsoft lib, so override with the ar-lib wrapper script. + # FIXME: It is wrong to rewrite AR. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__AR in this case, + # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something + # similar. + AR="$am_aux_dir/ar-lib $AR" + ;; +unknown) + m4_default([$1], + [AC_MSG_ERROR([could not determine $AR interface])]) + ;; +esac +AC_SUBST([AR])dnl +]) + +# AM_AUX_DIR_EXPAND -*- Autoconf -*- + +# Copyright (C) 2001-2012 Free Software Foundation, Inc. +# +# This file 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. + +# serial 2 + +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets +# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to +# '$srcdir', '$srcdir/..', or '$srcdir/../..'. +# +# Of course, Automake must honor this variable whenever it calls a +# tool from the auxiliary directory. The problem is that $srcdir (and +# therefore $ac_aux_dir as well) can be either absolute or relative, +# depending on how configure is run. This is pretty annoying, since +# it makes $ac_aux_dir quite unusable in subdirectories: in the top +# source directory, any form will work fine, but in subdirectories a +# relative path needs to be adjusted first. +# +# $ac_aux_dir/missing +# fails when called from a subdirectory if $ac_aux_dir is relative +# $top_srcdir/$ac_aux_dir/missing +# fails if $ac_aux_dir is absolute, +# fails when called from a subdirectory in a VPATH build with +# a relative $ac_aux_dir +# +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir +# are both prefixed by $srcdir. In an in-source build this is usually +# harmless because $srcdir is '.', but things will broke when you +# start a VPATH build or use an absolute $srcdir. +# +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` +# and then we would define $MISSING as +# MISSING="\${SHELL} $am_aux_dir/missing" +# This will work as long as MISSING is not called from configure, because +# unfortunately $(top_srcdir) has no meaning in configure. +# However there are other variables, like CC, which are often used in +# configure, and could therefore not use this "fixed" $ac_aux_dir. +# +# Another solution, used here, is to always expand $ac_aux_dir to an +# absolute PATH. The drawback is that using absolute paths prevent a +# configured tree to be moved without reconfiguration. + +AC_DEFUN([AM_AUX_DIR_EXPAND], +[dnl Rely on autoconf to set up CDPATH properly. +AC_PREREQ([2.50])dnl +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` +]) + +# AM_CONDITIONAL -*- Autoconf -*- + +# Copyright (C) 1997-2012 Free Software Foundation, Inc. +# +# This file 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. + +# serial 10 + +# AM_CONDITIONAL(NAME, SHELL-CONDITION) +# ------------------------------------- +# Define a conditional. +AC_DEFUN([AM_CONDITIONAL], +[AC_PREREQ([2.52])dnl + m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl +AC_SUBST([$1_TRUE])dnl +AC_SUBST([$1_FALSE])dnl +_AM_SUBST_NOTMAKE([$1_TRUE])dnl +_AM_SUBST_NOTMAKE([$1_FALSE])dnl +m4_define([_AM_COND_VALUE_$1], [$2])dnl +if $2; then + $1_TRUE= + $1_FALSE='#' +else + $1_TRUE='#' + $1_FALSE= +fi +AC_CONFIG_COMMANDS_PRE( +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then + AC_MSG_ERROR([[conditional "$1" was never defined. +Usually this means the macro was only invoked conditionally.]]) +fi])]) + +# Copyright (C) 1999-2012 Free Software Foundation, Inc. +# +# This file 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. + +# serial 17 + +# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be +# written in clear, in which case automake, when reading aclocal.m4, +# will think it sees a *use*, and therefore will trigger all it's +# C support machinery. Also note that it means that autoscan, seeing +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... + + +# _AM_DEPENDENCIES(NAME) +# ---------------------- +# See how the compiler implements dependency checking. +# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". +# We try a few techniques and use that to set a single cache variable. +# +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular +# dependency, and given that the user is not expected to run this macro, +# just rely on AC_PROG_CC. +AC_DEFUN([_AM_DEPENDENCIES], +[AC_REQUIRE([AM_SET_DEPDIR])dnl +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl +AC_REQUIRE([AM_MAKE_INCLUDE])dnl +AC_REQUIRE([AM_DEP_TRACK])dnl + +m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], + [$1], [CXX], [depcc="$CXX" am_compiler_list=], + [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], + [$1], [UPC], [depcc="$UPC" am_compiler_list=], + [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], + [depcc="$$1" am_compiler_list=]) + +AC_CACHE_CHECK([dependency style of $depcc], + [am_cv_$1_dependencies_compiler_type], +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_$1_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` + fi + am__universal=false + m4_case([$1], [CC], + [case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac], + [CXX], + [case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac]) + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with '-c' and '-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_$1_dependencies_compiler_type=none +fi +]) +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) +AM_CONDITIONAL([am__fastdep$1], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) +]) + + +# AM_SET_DEPDIR +# ------------- +# Choose a directory name for dependency files. +# This macro is AC_REQUIREd in _AM_DEPENDENCIES. +AC_DEFUN([AM_SET_DEPDIR], +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl +]) + + +# AM_DEP_TRACK +# ------------ +AC_DEFUN([AM_DEP_TRACK], +[AC_ARG_ENABLE([dependency-tracking], [dnl +AS_HELP_STRING( + [--enable-dependency-tracking], + [do not reject slow dependency extractors]) +AS_HELP_STRING( + [--disable-dependency-tracking], + [speeds up one-time build])]) +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' + am__nodep='_no' +fi +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) +AC_SUBST([AMDEPBACKSLASH])dnl +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl +AC_SUBST([am__nodep])dnl +_AM_SUBST_NOTMAKE([am__nodep])dnl +]) + +# Generate code to set up dependency tracking. -*- Autoconf -*- + +# Copyright (C) 1999-2012 Free Software Foundation, Inc. +# +# This file 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. + +# serial 6 + +# _AM_OUTPUT_DEPENDENCY_COMMANDS +# ------------------------------ +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], +[{ + # Autoconf 2.62 quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named 'Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`AS_DIRNAME("$mf")` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running 'make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`AS_DIRNAME(["$file"])` + AS_MKDIR_P([$dirpart/$fdir]) + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done + done +} +])# _AM_OUTPUT_DEPENDENCY_COMMANDS + + +# AM_OUTPUT_DEPENDENCY_COMMANDS +# ----------------------------- +# This macro should only be invoked once -- use via AC_REQUIRE. +# +# This code is only required when automatic dependency tracking +# is enabled. FIXME. This creates each '.P' file that we will +# need in order to bootstrap the dependency handling code. +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], +[AC_CONFIG_COMMANDS([depfiles], + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) +]) + +# Copyright (C) 1996-2012 Free Software Foundation, Inc. +# +# This file 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. + +# serial 8 + +# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. +AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) + +# Do all the work for Automake. -*- Autoconf -*- + +# Copyright (C) 1996-2012 Free Software Foundation, Inc. +# +# This file 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. + +# serial 19 + +# This macro actually does too much. Some checks are only needed if +# your package does certain things. But this isn't really a big deal. + +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) +# AM_INIT_AUTOMAKE([OPTIONS]) +# ----------------------------------------------- +# The call with PACKAGE and VERSION arguments is the old style +# call (pre autoconf-2.50), which is being phased out. PACKAGE +# and VERSION should now be passed to AC_INIT and removed from +# the call to AM_INIT_AUTOMAKE. +# We support both call styles for the transition. After +# the next Automake release, Autoconf can make the AC_INIT +# arguments mandatory, and then we can depend on a new Autoconf +# release and drop the old call support. +AC_DEFUN([AM_INIT_AUTOMAKE], +[AC_PREREQ([2.62])dnl +dnl Autoconf wants to disallow AM_ names. We explicitly allow +dnl the ones we care about. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl +AC_REQUIRE([AC_PROG_INSTALL])dnl +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi +AC_SUBST([CYGPATH_W]) + +# Define the identity of the package. +dnl Distinguish between old-style and new-style calls. +m4_ifval([$2], +[AC_DIAGNOSE([obsolete], +[$0: two- and three-arguments forms are deprecated. For more info, see: +http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation]) +m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl + AC_SUBST([PACKAGE], [$1])dnl + AC_SUBST([VERSION], [$2])], +[_AM_SET_OPTIONS([$1])dnl +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. +m4_if( + m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), + [ok:ok],, + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl + +_AM_IF_OPTION([no-define],, +[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl + +# Some tools Automake needs. +AC_REQUIRE([AM_SANITY_CHECK])dnl +AC_REQUIRE([AC_ARG_PROGRAM])dnl +AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) +AM_MISSING_PROG([AUTOCONF], [autoconf]) +AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) +AM_MISSING_PROG([AUTOHEADER], [autoheader]) +AM_MISSING_PROG([MAKEINFO], [makeinfo]) +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl +AC_REQUIRE([AC_PROG_MKDIR_P])dnl +# For better backward compatibility. To be removed once Automake 1.9.x +# dies out for good. For more background, see: +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> +AC_SUBST([mkdir_p], ['$(MKDIR_P)']) +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([AC_PROG_MAKE_SET])dnl +AC_REQUIRE([AM_SET_LEADING_DOT])dnl +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], + [_AM_PROG_TAR([v7])])]) +_AM_IF_OPTION([no-dependencies],, +[AC_PROVIDE_IFELSE([AC_PROG_CC], + [_AM_DEPENDENCIES([CC])], + [m4_define([AC_PROG_CC], + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_CXX], + [_AM_DEPENDENCIES([CXX])], + [m4_define([AC_PROG_CXX], + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJC], + [_AM_DEPENDENCIES([OBJC])], + [m4_define([AC_PROG_OBJC], + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl +dnl Support for Objective C++ was only introduced in Autoconf 2.65, +dnl but we still cater to Autoconf 2.62. +m4_ifdef([AC_PROG_OBJCXX], +[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], + [_AM_DEPENDENCIES([OBJCXX])], + [m4_define([AC_PROG_OBJCXX], + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl +]) +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl +dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro +dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. +AC_CONFIG_COMMANDS_PRE(dnl +[m4_provide_if([_AM_COMPILER_EXEEXT], + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl +]) + +dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further +dnl mangled by Autoconf and run in a shell conditional statement. +m4_define([_AC_COMPILER_EXEEXT], +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) + + +# When config.status generates a header, we must update the stamp-h file. +# This file resides in the same directory as the config header +# that is generated. The stamp files are numbered to have different names. + +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the +# loop where config.status creates the headers, so we can generate +# our stamp files there. +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], +[# Compute $1's index in $config_headers. +_am_arg=$1 +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) + +# Copyright (C) 2001-2012 Free Software Foundation, Inc. +# +# This file 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. + +# serial 8 + +# AM_PROG_INSTALL_SH +# ------------------ +# Define $install_sh. +AC_DEFUN([AM_PROG_INSTALL_SH], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +if test x"${install_sh}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi +AC_SUBST([install_sh])]) + +# Copyright (C) 2003-2012 Free Software Foundation, Inc. +# +# This file 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. + +# serial 2 + +# Check whether the underlying file-system supports filenames +# with a leading dot. For instance MS-DOS doesn't. +AC_DEFUN([AM_SET_LEADING_DOT], +[rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null +AC_SUBST([am__leading_dot])]) + +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- +# From Jim Meyering + +# Copyright (C) 1996-2012 Free Software Foundation, Inc. +# +# This file 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. + +# serial 7 + +# AM_MAINTAINER_MODE([DEFAULT-MODE]) +# ---------------------------------- +# Control maintainer-specific portions of Makefiles. +# Default is to disable them, unless 'enable' is passed literally. +# For symmetry, 'disable' may be passed as well. Anyway, the user +# can override the default with the --enable/--disable switch. +AC_DEFUN([AM_MAINTAINER_MODE], +[m4_case(m4_default([$1], [disable]), + [enable], [m4_define([am_maintainer_other], [disable])], + [disable], [m4_define([am_maintainer_other], [enable])], + [m4_define([am_maintainer_other], [enable]) + m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) +AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) + dnl maintainer-mode's default is 'disable' unless 'enable' is passed + AC_ARG_ENABLE([maintainer-mode], + [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], + am_maintainer_other[ make rules and dependencies not useful + (and sometimes confusing) to the casual installer])], + [USE_MAINTAINER_MODE=$enableval], + [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) + AC_MSG_RESULT([$USE_MAINTAINER_MODE]) + AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) + MAINT=$MAINTAINER_MODE_TRUE + AC_SUBST([MAINT])dnl +] +) + +AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) + +# Check to see how 'make' treats includes. -*- Autoconf -*- + +# Copyright (C) 2001-2012 Free Software Foundation, Inc. +# +# This file 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. + +# serial 5 + +# AM_MAKE_INCLUDE() +# ----------------- +# Check to see how make treats includes. +AC_DEFUN([AM_MAKE_INCLUDE], +[am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo this is the am__doit target +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +AC_MSG_CHECKING([for style of include used by $am_make]) +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# Ignore all kinds of additional output from 'make'. +case `$am_make -s -f confmf 2> /dev/null` in #( +*the\ am__doit\ target*) + am__include=include + am__quote= + _am_result=GNU + ;; +esac +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + case `$am_make -s -f confmf 2> /dev/null` in #( + *the\ am__doit\ target*) + am__include=.include + am__quote="\"" + _am_result=BSD + ;; + esac +fi +AC_SUBST([am__include]) +AC_SUBST([am__quote]) +AC_MSG_RESULT([$_am_result]) +rm -f confinc confmf +]) + +# Copyright (C) 1999-2012 Free Software Foundation, Inc. +# +# This file 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. + +# serial 6 + +# AM_PROG_CC_C_O +# -------------- +# Like AC_PROG_CC_C_O, but changed for automake. +AC_DEFUN([AM_PROG_CC_C_O], +[AC_REQUIRE([AC_PROG_CC_C_O])dnl +AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([compile])dnl +# FIXME: we rely on the cache variable name because +# there is no other way. +set dummy $CC +am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o +if test "$am_t" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +dnl Make sure AC_PROG_CC is never called again, or it will override our +dnl setting of CC. +m4_define([AC_PROG_CC], + [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) +]) + +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- + +# Copyright (C) 1997-2012 Free Software Foundation, Inc. +# +# This file 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. + +# serial 7 + +# AM_MISSING_PROG(NAME, PROGRAM) +# ------------------------------ +AC_DEFUN([AM_MISSING_PROG], +[AC_REQUIRE([AM_MISSING_HAS_RUN]) +$1=${$1-"${am_missing_run}$2"} +AC_SUBST($1)]) + + +# AM_MISSING_HAS_RUN +# ------------------ +# Define MISSING if not defined so far and test if it supports --run. +# If it does, set am_missing_run to use it, otherwise, to nothing. +AC_DEFUN([AM_MISSING_HAS_RUN], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([missing])dnl +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + AC_MSG_WARN(['missing' script is too old or missing]) +fi +]) + +# Helper functions for option handling. -*- Autoconf -*- + +# Copyright (C) 2001-2012 Free Software Foundation, Inc. +# +# This file 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. + +# serial 6 + +# _AM_MANGLE_OPTION(NAME) +# ----------------------- +AC_DEFUN([_AM_MANGLE_OPTION], +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) + +# _AM_SET_OPTION(NAME) +# -------------------- +# Set option NAME. Presently that only means defining a flag for this option. +AC_DEFUN([_AM_SET_OPTION], +[m4_define(_AM_MANGLE_OPTION([$1]), [1])]) + +# _AM_SET_OPTIONS(OPTIONS) +# ------------------------ +# OPTIONS is a space-separated list of Automake options. +AC_DEFUN([_AM_SET_OPTIONS], +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) + +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) +# ------------------------------------------- +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +AC_DEFUN([_AM_IF_OPTION], +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) + +# Check to make sure that the build environment is sane. -*- Autoconf -*- + +# Copyright (C) 1996-2012 Free Software Foundation, Inc. +# +# This file 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. + +# serial 9 + +# AM_SANITY_CHECK +# --------------- +AC_DEFUN([AM_SANITY_CHECK], +[AC_MSG_CHECKING([whether build environment is sane]) +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[[\\\"\#\$\&\'\`$am_lf]]*) + AC_MSG_ERROR([unsafe absolute working directory name]);; +esac +case $srcdir in + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) + AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; +esac + +# Do 'set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + am_has_slept=no + for am_try in 1 2; do + echo "timestamp, slept: $am_has_slept" > conftest.file + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$[*]" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + if test "$[*]" != "X $srcdir/configure conftest.file" \ + && test "$[*]" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken + alias in your environment]) + fi + if test "$[2]" = conftest.file || test $am_try -eq 2; then + break + fi + # Just in case. + sleep 1 + am_has_slept=yes + done + test "$[2]" = conftest.file + ) +then + # Ok. + : +else + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) +fi +AC_MSG_RESULT([yes]) +# If we didn't sleep, we still need to ensure time stamps of config.status and +# generated files are strictly newer. +am_sleep_pid= +if grep 'slept: no' conftest.file >/dev/null 2>&1; then + ( sleep 1 ) & + am_sleep_pid=$! +fi +AC_CONFIG_COMMANDS_PRE( + [AC_MSG_CHECKING([that generated files are newer than configure]) + if test -n "$am_sleep_pid"; then + # Hide warnings about reused PIDs. + wait $am_sleep_pid 2>/dev/null + fi + AC_MSG_RESULT([done])]) +rm -f conftest.file +]) + +# Copyright (C) 2009-2012 Free Software Foundation, Inc. +# +# This file 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. + +# serial 3 + +# AM_SILENT_RULES([DEFAULT]) +# -------------------------- +# Enable less verbose build rules; with the default set to DEFAULT +# ("yes" being less verbose, "no" or empty being verbose). +AC_DEFUN([AM_SILENT_RULES], +[AC_ARG_ENABLE([silent-rules], [dnl +AS_HELP_STRING( + [--enable-silent-rules], + [less verbose build output (undo: "make V=1")]) +AS_HELP_STRING( + [--disable-silent-rules], + [verbose build output (undo: "make V=0")])dnl +]) +case $enable_silent_rules in @%:@ ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; +esac +dnl +dnl A few 'make' implementations (e.g., NonStop OS and NextStep) +dnl do not support nested variable expansions. +dnl See automake bug#9928 and bug#10237. +am_make=${MAKE-make} +AC_CACHE_CHECK([whether $am_make supports nested variables], + [am_cv_make_support_nested_variables], + [if AS_ECHO([['TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi]) +if test $am_cv_make_support_nested_variables = yes; then + dnl Using '$V' instead of '$(V)' breaks IRIX make. + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AC_SUBST([AM_V])dnl +AM_SUBST_NOTMAKE([AM_V])dnl +AC_SUBST([AM_DEFAULT_V])dnl +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl +AM_BACKSLASH='\' +AC_SUBST([AM_BACKSLASH])dnl +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl +]) + +# Copyright (C) 2001-2012 Free Software Foundation, Inc. +# +# This file 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. + +# serial 2 + +# AM_PROG_INSTALL_STRIP +# --------------------- +# One issue with vendor 'install' (even GNU) is that you can't +# specify the program used to strip binaries. This is especially +# annoying in cross-compiling environments, where the build's strip +# is unlikely to handle the host's binaries. +# Fortunately install-sh will honor a STRIPPROG variable, so we +# always use install-sh in "make install-strip", and initialize +# STRIPPROG with the value of the STRIP variable (set by the user). +AC_DEFUN([AM_PROG_INSTALL_STRIP], +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +# Installed binaries are usually stripped using 'strip' when the user +# run "make install-strip". However 'strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the 'STRIP' environment variable to overrule this program. +dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. +if test "$cross_compiling" != no; then + AC_CHECK_TOOL([STRIP], [strip], :) +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" +AC_SUBST([INSTALL_STRIP_PROGRAM])]) + +# Copyright (C) 2006-2012 Free Software Foundation, Inc. +# +# This file 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. + +# serial 3 + +# _AM_SUBST_NOTMAKE(VARIABLE) +# --------------------------- +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. +# This macro is traced by Automake. +AC_DEFUN([_AM_SUBST_NOTMAKE]) + +# AM_SUBST_NOTMAKE(VARIABLE) +# -------------------------- +# Public sister of _AM_SUBST_NOTMAKE. +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) + +# Check how to create a tarball. -*- Autoconf -*- + +# Copyright (C) 2004-2012 Free Software Foundation, Inc. +# +# This file 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. + +# serial 3 + +# _AM_PROG_TAR(FORMAT) +# -------------------- +# Check how to create a tarball in format FORMAT. +# FORMAT should be one of 'v7', 'ustar', or 'pax'. +# +# Substitute a variable $(am__tar) that is a command +# writing to stdout a FORMAT-tarball containing the directory +# $tardir. +# tardir=directory && $(am__tar) > result.tar +# +# Substitute a variable $(am__untar) that extract such +# a tarball read from stdin. +# $(am__untar) < result.tar +AC_DEFUN([_AM_PROG_TAR], +[# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AC_SUBST([AMTAR], ['$${TAR-tar}']) +m4_if([$1], [v7], + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], + [m4_case([$1], [ustar],, [pax],, + [m4_fatal([Unknown tar format])]) +AC_MSG_CHECKING([how to create a $1 tar archive]) +# Loop over all known methods to create a tar archive until one works. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' +_am_tools=${am_cv_prog_tar_$1-$_am_tools} +# Do not fold the above two line into one, because Tru64 sh and +# Solaris sh will not grok spaces in the rhs of '-'. +for _am_tool in $_am_tools +do + case $_am_tool in + gnutar) + for _am_tar in tar gnutar gtar; + do + AM_RUN_LOG([$_am_tar --version]) && break + done + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' + am__untar="$_am_tar -xf -" + ;; + plaintar) + # Must skip GNU tar: if it does not support --format= it doesn't create + # ustar tarball either. + (tar --version) >/dev/null 2>&1 && continue + am__tar='tar chf - "$$tardir"' + am__tar_='tar chf - "$tardir"' + am__untar='tar xf -' + ;; + pax) + am__tar='pax -L -x $1 -w "$$tardir"' + am__tar_='pax -L -x $1 -w "$tardir"' + am__untar='pax -r' + ;; + cpio) + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' + am__untar='cpio -i -H $1 -d' + ;; + none) + am__tar=false + am__tar_=false + am__untar=false + ;; + esac + + # If the value was cached, stop now. We just wanted to have am__tar + # and am__untar set. + test -n "${am_cv_prog_tar_$1}" && break + + # tar/untar a dummy directory, and stop if the command works + rm -rf conftest.dir + mkdir conftest.dir + echo GrepMe > conftest.dir/file + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) + rm -rf conftest.dir + if test -s conftest.tar; then + AM_RUN_LOG([$am__untar <conftest.tar]) + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break + fi +done +rm -rf conftest.dir + +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) +AC_MSG_RESULT([$am_cv_prog_tar_$1])]) +AC_SUBST([am__tar]) +AC_SUBST([am__untar]) +]) # _AM_PROG_TAR + +m4_include([m4/libtool.m4]) +m4_include([m4/ltoptions.m4]) +m4_include([m4/ltsugar.m4]) +m4_include([m4/ltversion.m4]) +m4_include([m4/lt~obsolete.m4]) +m4_include([m4/manywarnings.m4]) +m4_include([m4/spice-compile-warnings.m4]) +m4_include([m4/warnings.m4]) diff --git a/tizen/distrib/remote/server/spice-0.12.2/build-aux/git-version-gen b/tizen/distrib/remote/server/spice-0.12.2/build-aux/git-version-gen new file mode 100755 index 0000000..5617eb8 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/build-aux/git-version-gen @@ -0,0 +1,158 @@ +#!/bin/sh +# Print a version string. +scriptversion=2010-06-14.19; # UTC + +# Copyright (C) 2007-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 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/>. + +# This script is derived from GIT-VERSION-GEN from GIT: http://git.or.cz/. +# It may be run two ways: +# - from a git repository in which the "git describe" command below +# produces useful output (thus requiring at least one signed tag) +# - from a non-git-repo directory containing a .tarball-version file, which +# presumes this script is invoked like "./git-version-gen .tarball-version". + +# In order to use intra-version strings in your project, you will need two +# separate generated version string files: +# +# .tarball-version - present only in a distribution tarball, and not in +# a checked-out repository. Created with contents that were learned at +# the last time autoconf was run, and used by git-version-gen. Must not +# be present in either $(srcdir) or $(builddir) for git-version-gen to +# give accurate answers during normal development with a checked out tree, +# but must be present in a tarball when there is no version control system. +# Therefore, it cannot be used in any dependencies. GNUmakefile has +# hooks to force a reconfigure at distribution time to get the value +# correct, without penalizing normal development with extra reconfigures. +# +# .version - present in a checked-out repository and in a distribution +# tarball. Usable in dependencies, particularly for files that don't +# want to depend on config.h but do want to track version changes. +# Delete this file prior to any autoconf run where you want to rebuild +# files to pick up a version string change; and leave it stale to +# minimize rebuild time after unrelated changes to configure sources. +# +# It is probably wise to add these two files to .gitignore, so that you +# don't accidentally commit either generated file. +# +# Use the following line in your configure.ac, so that $(VERSION) will +# automatically be up-to-date each time configure is run (and note that +# since configure.ac no longer includes a version string, Makefile rules +# should not depend on configure.ac for version updates). +# +# AC_INIT([GNU project], +# m4_esyscmd([build-aux/git-version-gen .tarball-version]), +# [bug-project@example]) +# +# Then use the following lines in your Makefile.am, so that .version +# will be present for dependencies, and so that .tarball-version will +# exist in distribution tarballs. +# +# BUILT_SOURCES = $(top_srcdir)/.version +# $(top_srcdir)/.version: +# echo $(VERSION) > $@-t && mv $@-t $@ +# dist-hook: +# echo $(VERSION) > $(distdir)/.tarball-version + +case $# in + 1|2) ;; + *) echo 1>&2 "Usage: $0 \$srcdir/.tarball-version" \ + '[TAG-NORMALIZATION-SED-SCRIPT]' + exit 1;; +esac + +tarball_version_file=$1 +tag_sed_script="${2:-s/x/x/}" +nl=' +' + +# Avoid meddling by environment variable of the same name. +v= + +# First see if there is a tarball-only version file. +# then try "git describe", then default. +if test -f $tarball_version_file +then + v=`cat $tarball_version_file` || exit 1 + case $v in + *$nl*) v= ;; # reject multi-line output + [0-9]*) ;; + *) v= ;; + esac + test -z "$v" \ + && echo "$0: WARNING: $tarball_version_file seems to be damaged" 1>&2 +fi + +if test -n "$v" +then + : # use $v +elif test -d .git \ + && v=`git describe --abbrev=4 --match='v*' HEAD 2>/dev/null \ + || git describe --abbrev=4 HEAD 2>/dev/null` \ + && v=`printf '%s\n' "$v" | sed "$tag_sed_script"` \ + && case $v in + v[0-9]*) ;; + *) (exit 1) ;; + esac +then + # Is this a new git that lists number of commits since the last + # tag or the previous older version that did not? + # Newer: v6.10-77-g0f8faeb + # Older: v6.10-g0f8faeb + case $v in + *-*-*) : git describe is okay three part flavor ;; + *-*) + : git describe is older two part flavor + # Recreate the number of commits and rewrite such that the + # result is the same as if we were using the newer version + # of git describe. + vtag=`echo "$v" | sed 's/-.*//'` + numcommits=`git rev-list "$vtag"..HEAD | wc -l` + v=`echo "$v" | sed "s/\(.*\)-\(.*\)/\1-$numcommits-\2/"`; + ;; + esac + + # Change the first '-' to a '.', so version-comparing tools work properly. + # Remove the "g" in git describe's output string, to save a byte. + v=`echo "$v" | sed 's/-/./;s/\(.*\)-g/\1-/'`; +else + v=UNKNOWN +fi + +v=`echo "$v" |sed 's/^v//'` + +# Don't declare a version "dirty" merely because a time stamp has changed. +git update-index --refresh > /dev/null 2>&1 + +dirty=`sh -c 'git diff-index --name-only HEAD' 2>/dev/null` || dirty= +case "$dirty" in + '') ;; + *) # Append the suffix only if there isn't one already. + case $v in + *-dirty) ;; + *) v="$v-dirty" ;; + esac ;; +esac + +# Omit the trailing newline, so that m4_esyscmd can use the result directly. +echo "$v" | tr -d "$nl" + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/Makefile.am b/tizen/distrib/remote/server/spice-0.12.2/client/Makefile.am new file mode 100644 index 0000000..ba3ce76 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/Makefile.am @@ -0,0 +1,256 @@ +NULL = + +bin_PROGRAMS = spicec + +spicec_SOURCES = \ + application.cpp \ + application.h \ + audio_channels.h \ + audio_devices.h \ + cache.hpp \ + canvas.cpp \ + canvas.h \ + client_net_socket.cpp \ + client_net_socket.h \ + cmd_line_parser.cpp \ + cmd_line_parser.h \ + common.h \ + controller.cpp \ + controller.h \ + cursor.cpp \ + cursor.h \ + cursor_channel.cpp \ + cursor_channel.h \ + debug.h \ + display_channel.cpp \ + display_channel.h \ + event_sources.h \ + foreign_menu.cpp \ + foreign_menu.h \ + glz_decoded_image.h \ + glz_decoder.cpp \ + glz_decoder.h \ + glz_decoder_config.h \ + glz_decoder_window.cpp \ + glz_decoder_window.h \ + hot_keys.cpp \ + hot_keys.h \ + icon.h \ + inputs_channel.cpp \ + inputs_channel.h \ + inputs_handler.h \ + jpeg_decoder.cpp \ + jpeg_decoder.h \ + menu.cpp \ + menu.h \ + mjpeg_decoder.cpp \ + mjpeg_decoder.h \ + monitor.cpp \ + monitor.h \ + pixels_source.h \ + platform.h \ + playback_channel.cpp \ + process_loop.cpp \ + process_loop.h \ + read_write_mutex.h \ + record_channel.cpp \ + red_canvas_base.h \ + red_channel.cpp \ + red_channel.h \ + red_client.cpp \ + red_client.h \ + red_drawable.h \ + red_key.h \ + red_peer.cpp \ + red_peer.h \ + red_pixmap.h \ + red_pixmap_sw.h \ + red_sw_canvas.cpp \ + red_sw_canvas.h \ + red_types.h \ + red_window.h \ + screen.cpp \ + screen.h \ + screen_layer.cpp \ + screen_layer.h \ + shared_cache.hpp \ + threads.cpp \ + threads.h \ + utils.cpp \ + utils.h \ + zlib_decoder.cpp \ + zlib_decoder.h \ + $(BUILT_SOURCES) \ + $(NULL) + +if OS_WIN32 +spicec_SOURCES += \ + red_gdi_canvas.cpp \ + red_gdi_canvas.h \ + red_pixmap_gdi.h \ + windows/atomic_count.h \ + windows/event_sources_p.cpp \ + windows/main.cpp \ + windows/my_getopt.cpp \ + windows/named_pipe.cpp \ + windows/named_pipe.h \ + windows/pixels_source.cpp \ + windows/pixels_source_p.h \ + windows/platform.cpp \ + windows/platform_utils.cpp \ + windows/platform_utils.h \ + windows/playback.cpp \ + windows/playback.h \ + windows/record.cpp \ + windows/record.h \ + windows/red_drawable.cpp \ + windows/red_pixmap.cpp \ + windows/red_pixmap_gdi.cpp \ + windows/red_pixmap_sw.cpp \ + windows/red_window.cpp \ + windows/red_window_p.h \ + windows/resource.h \ + windows/stdint.h \ + windows/win_platform.h \ + $(NULL) + +spicec_resource_LDADD = windows/redc.o + +windows/redc.o: windows/redc.rc + $(WINDRES) $< -o $@ +else +spicec_SOURCES += \ + x11/atomic_count.h \ + x11/event_sources_p.cpp \ + x11/event_sources_p.h \ + x11/main.cpp \ + x11/named_pipe.cpp \ + x11/named_pipe.h \ + x11/pixels_source.cpp \ + x11/pixels_source_p.h \ + x11/platform.cpp \ + x11/platform_utils.cpp \ + x11/platform_utils.h \ + x11/playback.cpp \ + x11/playback.h \ + x11/record.cpp \ + x11/record.h \ + x11/red_drawable.cpp \ + x11/red_pixmap.cpp \ + x11/red_pixmap_sw.cpp \ + x11/red_window.cpp \ + x11/red_window_p.h \ + x11/res.cpp \ + x11/res.h \ + x11/resource.h \ + x11/x_icon.cpp \ + x11/x_icon.h \ + x11/x_platform.h \ + $(NULL) +endif + +if OS_WIN32 +PLATFORM_INCLUDES=-I$(top_srcdir)/client/windows +else +PLATFORM_INCLUDES=-I$(top_srcdir)/client/x11 +endif + +if SUPPORT_TUNNEL +spicec_SOURCES += \ + tunnel_channel.cpp \ + tunnel_channel.h \ + $(NULL) +endif + +if SUPPORT_GUI +spicec_SOURCES += \ + gui/gui.cpp \ + gui/gui.h \ + gui/resource_provider.cpp \ + gui/resource_provider.h \ + gui/softrenderer.cpp \ + gui/softrenderer.h \ + gui/softtexture.cpp \ + gui/softtexture.h \ + $(NULL) +endif + +if SUPPORT_GL +spicec_SOURCES += \ + red_gl_canvas.cpp \ + red_gl_canvas.h \ + red_pixmap_gl.h \ + $(NULL) + +if !OS_WIN32 +spicec_SOURCES += x11/red_pixmap_gl.cpp +endif + +endif + +if SUPPORT_SMARTCARD +spicec_SOURCES += \ + smartcard_channel.cpp \ + smartcard_channel.h \ + $(NULL) +endif + + +INCLUDES = \ + -D__STDC_LIMIT_MACROS \ + $(PLATFORM_INCLUDES) \ + -I$(top_srcdir)/spice-common \ + $(ALSA_CFLAGS) \ + $(CEGUI_CFLAGS) \ + $(CEGUI06_CFLAGS) \ + $(CELT051_CFLAGS) \ + $(GL_CFLAGS) \ + $(MISC_X_CFLAGS) \ + $(PIXMAN_CFLAGS) \ + $(COMMON_CFLAGS) \ + $(SPICE_NONPKGCONFIG_CFLAGS) \ + $(SMARTCARD_CFLAGS) \ + $(SSL_CFLAGS) \ + $(XRANDR_CFLAGS) \ + $(XFIXES_CFLAGS) \ + $(WARN_CXXFLAGS) \ + $(XINERAMA_CFLAGS) \ + $(CXIMAGE_CFLAGS) \ + $(NULL) + +spicec_LDFLAGS = $(SPICEC_STATIC_LINKAGE_BSTATIC) + +spicec_LDADD = \ + $(top_builddir)/spice-common/common/libspice-common.la \ + $(top_builddir)/spice-common/common/libspice-common-client.la \ + $(ALSA_LIBS) \ + $(CEGUI_LIBS) \ + $(CEGUI06_LIBS) \ + $(CELT051_LIBS) \ + $(GL_LIBS) \ + $(JPEG_LIBS) \ + $(MISC_X_LIBS) \ + $(PIXMAN_LIBS) \ + $(SMARTCARD_LIBS) \ + $(SPICE_NONPKGCONFIG_LIBS) \ + $(SSL_LIBS) \ + $(XFIXES_LIBS) \ + $(XRANDR_LIBS) \ + $(Z_LIBS) \ + $(XINERAMA_LIBS) \ + $(spicec_resource_LDADD) \ + $(NULL) + +EXTRA_DIST = \ + glz_decode_tmpl.c \ + x11/images/red_icon.c \ + x11/images/alt_image.c \ + gui/commonv2c.ttf.c \ + gui/commonwealth-10.font.c \ + gui/dejavu_sans-10.font.c \ + gui/dejavu_sans.ttf.c \ + gui/taharez_look.imageset.c \ + gui/taharez_look.looknfeel.c \ + gui/taharez_look.scheme.c \ + gui/taharez_look.tga.c \ + $(NULL) diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/Makefile.in b/tizen/distrib/remote/server/spice-0.12.2/client/Makefile.in new file mode 100644 index 0000000..562e4d5 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/Makefile.in @@ -0,0 +1,1110 @@ +# Makefile.in generated by automake 1.12.2 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2012 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@ + +VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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@ +bin_PROGRAMS = spicec$(EXEEXT) +@OS_WIN32_TRUE@am__append_1 = \ +@OS_WIN32_TRUE@ red_gdi_canvas.cpp \ +@OS_WIN32_TRUE@ red_gdi_canvas.h \ +@OS_WIN32_TRUE@ red_pixmap_gdi.h \ +@OS_WIN32_TRUE@ windows/atomic_count.h \ +@OS_WIN32_TRUE@ windows/event_sources_p.cpp \ +@OS_WIN32_TRUE@ windows/main.cpp \ +@OS_WIN32_TRUE@ windows/my_getopt.cpp \ +@OS_WIN32_TRUE@ windows/named_pipe.cpp \ +@OS_WIN32_TRUE@ windows/named_pipe.h \ +@OS_WIN32_TRUE@ windows/pixels_source.cpp \ +@OS_WIN32_TRUE@ windows/pixels_source_p.h \ +@OS_WIN32_TRUE@ windows/platform.cpp \ +@OS_WIN32_TRUE@ windows/platform_utils.cpp \ +@OS_WIN32_TRUE@ windows/platform_utils.h \ +@OS_WIN32_TRUE@ windows/playback.cpp \ +@OS_WIN32_TRUE@ windows/playback.h \ +@OS_WIN32_TRUE@ windows/record.cpp \ +@OS_WIN32_TRUE@ windows/record.h \ +@OS_WIN32_TRUE@ windows/red_drawable.cpp \ +@OS_WIN32_TRUE@ windows/red_pixmap.cpp \ +@OS_WIN32_TRUE@ windows/red_pixmap_gdi.cpp \ +@OS_WIN32_TRUE@ windows/red_pixmap_sw.cpp \ +@OS_WIN32_TRUE@ windows/red_window.cpp \ +@OS_WIN32_TRUE@ windows/red_window_p.h \ +@OS_WIN32_TRUE@ windows/resource.h \ +@OS_WIN32_TRUE@ windows/stdint.h \ +@OS_WIN32_TRUE@ windows/win_platform.h \ +@OS_WIN32_TRUE@ $(NULL) + +@OS_WIN32_FALSE@am__append_2 = \ +@OS_WIN32_FALSE@ x11/atomic_count.h \ +@OS_WIN32_FALSE@ x11/event_sources_p.cpp \ +@OS_WIN32_FALSE@ x11/event_sources_p.h \ +@OS_WIN32_FALSE@ x11/main.cpp \ +@OS_WIN32_FALSE@ x11/named_pipe.cpp \ +@OS_WIN32_FALSE@ x11/named_pipe.h \ +@OS_WIN32_FALSE@ x11/pixels_source.cpp \ +@OS_WIN32_FALSE@ x11/pixels_source_p.h \ +@OS_WIN32_FALSE@ x11/platform.cpp \ +@OS_WIN32_FALSE@ x11/platform_utils.cpp \ +@OS_WIN32_FALSE@ x11/platform_utils.h \ +@OS_WIN32_FALSE@ x11/playback.cpp \ +@OS_WIN32_FALSE@ x11/playback.h \ +@OS_WIN32_FALSE@ x11/record.cpp \ +@OS_WIN32_FALSE@ x11/record.h \ +@OS_WIN32_FALSE@ x11/red_drawable.cpp \ +@OS_WIN32_FALSE@ x11/red_pixmap.cpp \ +@OS_WIN32_FALSE@ x11/red_pixmap_sw.cpp \ +@OS_WIN32_FALSE@ x11/red_window.cpp \ +@OS_WIN32_FALSE@ x11/red_window_p.h \ +@OS_WIN32_FALSE@ x11/res.cpp \ +@OS_WIN32_FALSE@ x11/res.h \ +@OS_WIN32_FALSE@ x11/resource.h \ +@OS_WIN32_FALSE@ x11/x_icon.cpp \ +@OS_WIN32_FALSE@ x11/x_icon.h \ +@OS_WIN32_FALSE@ x11/x_platform.h \ +@OS_WIN32_FALSE@ $(NULL) + +@SUPPORT_TUNNEL_TRUE@am__append_3 = \ +@SUPPORT_TUNNEL_TRUE@ tunnel_channel.cpp \ +@SUPPORT_TUNNEL_TRUE@ tunnel_channel.h \ +@SUPPORT_TUNNEL_TRUE@ $(NULL) + +@SUPPORT_GUI_TRUE@am__append_4 = \ +@SUPPORT_GUI_TRUE@ gui/gui.cpp \ +@SUPPORT_GUI_TRUE@ gui/gui.h \ +@SUPPORT_GUI_TRUE@ gui/resource_provider.cpp \ +@SUPPORT_GUI_TRUE@ gui/resource_provider.h \ +@SUPPORT_GUI_TRUE@ gui/softrenderer.cpp \ +@SUPPORT_GUI_TRUE@ gui/softrenderer.h \ +@SUPPORT_GUI_TRUE@ gui/softtexture.cpp \ +@SUPPORT_GUI_TRUE@ gui/softtexture.h \ +@SUPPORT_GUI_TRUE@ $(NULL) + +@SUPPORT_GL_TRUE@am__append_5 = \ +@SUPPORT_GL_TRUE@ red_gl_canvas.cpp \ +@SUPPORT_GL_TRUE@ red_gl_canvas.h \ +@SUPPORT_GL_TRUE@ red_pixmap_gl.h \ +@SUPPORT_GL_TRUE@ $(NULL) + +@OS_WIN32_FALSE@@SUPPORT_GL_TRUE@am__append_6 = x11/red_pixmap_gl.cpp +@SUPPORT_SMARTCARD_TRUE@am__append_7 = \ +@SUPPORT_SMARTCARD_TRUE@ smartcard_channel.cpp \ +@SUPPORT_SMARTCARD_TRUE@ smartcard_channel.h \ +@SUPPORT_SMARTCARD_TRUE@ $(NULL) + +subdir = client +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ + $(top_srcdir)/depcomp +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/m4/manywarnings.m4 \ + $(top_srcdir)/m4/spice-compile-warnings.m4 \ + $(top_srcdir)/m4/warnings.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 = +am__installdirs = "$(DESTDIR)$(bindir)" +PROGRAMS = $(bin_PROGRAMS) +am__spicec_SOURCES_DIST = application.cpp application.h \ + audio_channels.h audio_devices.h cache.hpp canvas.cpp canvas.h \ + client_net_socket.cpp client_net_socket.h cmd_line_parser.cpp \ + cmd_line_parser.h common.h controller.cpp controller.h \ + cursor.cpp cursor.h cursor_channel.cpp cursor_channel.h \ + debug.h display_channel.cpp display_channel.h event_sources.h \ + foreign_menu.cpp foreign_menu.h glz_decoded_image.h \ + glz_decoder.cpp glz_decoder.h glz_decoder_config.h \ + glz_decoder_window.cpp glz_decoder_window.h hot_keys.cpp \ + hot_keys.h icon.h inputs_channel.cpp inputs_channel.h \ + inputs_handler.h jpeg_decoder.cpp jpeg_decoder.h menu.cpp \ + menu.h mjpeg_decoder.cpp mjpeg_decoder.h monitor.cpp monitor.h \ + pixels_source.h platform.h playback_channel.cpp \ + process_loop.cpp process_loop.h read_write_mutex.h \ + record_channel.cpp red_canvas_base.h red_channel.cpp \ + red_channel.h red_client.cpp red_client.h red_drawable.h \ + red_key.h red_peer.cpp red_peer.h red_pixmap.h red_pixmap_sw.h \ + red_sw_canvas.cpp red_sw_canvas.h red_types.h red_window.h \ + screen.cpp screen.h screen_layer.cpp screen_layer.h \ + shared_cache.hpp threads.cpp threads.h utils.cpp utils.h \ + zlib_decoder.cpp zlib_decoder.h red_gdi_canvas.cpp \ + red_gdi_canvas.h red_pixmap_gdi.h windows/atomic_count.h \ + windows/event_sources_p.cpp windows/main.cpp \ + windows/my_getopt.cpp windows/named_pipe.cpp \ + windows/named_pipe.h windows/pixels_source.cpp \ + windows/pixels_source_p.h windows/platform.cpp \ + windows/platform_utils.cpp windows/platform_utils.h \ + windows/playback.cpp windows/playback.h windows/record.cpp \ + windows/record.h windows/red_drawable.cpp \ + windows/red_pixmap.cpp windows/red_pixmap_gdi.cpp \ + windows/red_pixmap_sw.cpp windows/red_window.cpp \ + windows/red_window_p.h windows/resource.h windows/stdint.h \ + windows/win_platform.h x11/atomic_count.h \ + x11/event_sources_p.cpp x11/event_sources_p.h x11/main.cpp \ + x11/named_pipe.cpp x11/named_pipe.h x11/pixels_source.cpp \ + x11/pixels_source_p.h x11/platform.cpp x11/platform_utils.cpp \ + x11/platform_utils.h x11/playback.cpp x11/playback.h \ + x11/record.cpp x11/record.h x11/red_drawable.cpp \ + x11/red_pixmap.cpp x11/red_pixmap_sw.cpp x11/red_window.cpp \ + x11/red_window_p.h x11/res.cpp x11/res.h x11/resource.h \ + x11/x_icon.cpp x11/x_icon.h x11/x_platform.h \ + tunnel_channel.cpp tunnel_channel.h gui/gui.cpp gui/gui.h \ + gui/resource_provider.cpp gui/resource_provider.h \ + gui/softrenderer.cpp gui/softrenderer.h gui/softtexture.cpp \ + gui/softtexture.h red_gl_canvas.cpp red_gl_canvas.h \ + red_pixmap_gl.h x11/red_pixmap_gl.cpp smartcard_channel.cpp \ + smartcard_channel.h +am__objects_1 = +am__dirstamp = $(am__leading_dot)dirstamp +@OS_WIN32_TRUE@am__objects_2 = red_gdi_canvas.$(OBJEXT) \ +@OS_WIN32_TRUE@ windows/event_sources_p.$(OBJEXT) \ +@OS_WIN32_TRUE@ windows/main.$(OBJEXT) \ +@OS_WIN32_TRUE@ windows/my_getopt.$(OBJEXT) \ +@OS_WIN32_TRUE@ windows/named_pipe.$(OBJEXT) \ +@OS_WIN32_TRUE@ windows/pixels_source.$(OBJEXT) \ +@OS_WIN32_TRUE@ windows/platform.$(OBJEXT) \ +@OS_WIN32_TRUE@ windows/platform_utils.$(OBJEXT) \ +@OS_WIN32_TRUE@ windows/playback.$(OBJEXT) \ +@OS_WIN32_TRUE@ windows/record.$(OBJEXT) \ +@OS_WIN32_TRUE@ windows/red_drawable.$(OBJEXT) \ +@OS_WIN32_TRUE@ windows/red_pixmap.$(OBJEXT) \ +@OS_WIN32_TRUE@ windows/red_pixmap_gdi.$(OBJEXT) \ +@OS_WIN32_TRUE@ windows/red_pixmap_sw.$(OBJEXT) \ +@OS_WIN32_TRUE@ windows/red_window.$(OBJEXT) $(am__objects_1) +@OS_WIN32_FALSE@am__objects_3 = x11/event_sources_p.$(OBJEXT) \ +@OS_WIN32_FALSE@ x11/main.$(OBJEXT) x11/named_pipe.$(OBJEXT) \ +@OS_WIN32_FALSE@ x11/pixels_source.$(OBJEXT) \ +@OS_WIN32_FALSE@ x11/platform.$(OBJEXT) \ +@OS_WIN32_FALSE@ x11/platform_utils.$(OBJEXT) \ +@OS_WIN32_FALSE@ x11/playback.$(OBJEXT) x11/record.$(OBJEXT) \ +@OS_WIN32_FALSE@ x11/red_drawable.$(OBJEXT) \ +@OS_WIN32_FALSE@ x11/red_pixmap.$(OBJEXT) \ +@OS_WIN32_FALSE@ x11/red_pixmap_sw.$(OBJEXT) \ +@OS_WIN32_FALSE@ x11/red_window.$(OBJEXT) x11/res.$(OBJEXT) \ +@OS_WIN32_FALSE@ x11/x_icon.$(OBJEXT) $(am__objects_1) +@SUPPORT_TUNNEL_TRUE@am__objects_4 = tunnel_channel.$(OBJEXT) \ +@SUPPORT_TUNNEL_TRUE@ $(am__objects_1) +@SUPPORT_GUI_TRUE@am__objects_5 = gui/gui.$(OBJEXT) \ +@SUPPORT_GUI_TRUE@ gui/resource_provider.$(OBJEXT) \ +@SUPPORT_GUI_TRUE@ gui/softrenderer.$(OBJEXT) \ +@SUPPORT_GUI_TRUE@ gui/softtexture.$(OBJEXT) $(am__objects_1) +@SUPPORT_GL_TRUE@am__objects_6 = red_gl_canvas.$(OBJEXT) \ +@SUPPORT_GL_TRUE@ $(am__objects_1) +@OS_WIN32_FALSE@@SUPPORT_GL_TRUE@am__objects_7 = \ +@OS_WIN32_FALSE@@SUPPORT_GL_TRUE@ x11/red_pixmap_gl.$(OBJEXT) +@SUPPORT_SMARTCARD_TRUE@am__objects_8 = smartcard_channel.$(OBJEXT) \ +@SUPPORT_SMARTCARD_TRUE@ $(am__objects_1) +am_spicec_OBJECTS = application.$(OBJEXT) canvas.$(OBJEXT) \ + client_net_socket.$(OBJEXT) cmd_line_parser.$(OBJEXT) \ + controller.$(OBJEXT) cursor.$(OBJEXT) cursor_channel.$(OBJEXT) \ + display_channel.$(OBJEXT) foreign_menu.$(OBJEXT) \ + glz_decoder.$(OBJEXT) glz_decoder_window.$(OBJEXT) \ + hot_keys.$(OBJEXT) inputs_channel.$(OBJEXT) \ + jpeg_decoder.$(OBJEXT) menu.$(OBJEXT) mjpeg_decoder.$(OBJEXT) \ + monitor.$(OBJEXT) playback_channel.$(OBJEXT) \ + process_loop.$(OBJEXT) record_channel.$(OBJEXT) \ + red_channel.$(OBJEXT) red_client.$(OBJEXT) red_peer.$(OBJEXT) \ + red_sw_canvas.$(OBJEXT) screen.$(OBJEXT) \ + screen_layer.$(OBJEXT) threads.$(OBJEXT) utils.$(OBJEXT) \ + zlib_decoder.$(OBJEXT) $(am__objects_1) $(am__objects_2) \ + $(am__objects_3) $(am__objects_4) $(am__objects_5) \ + $(am__objects_6) $(am__objects_7) $(am__objects_8) +spicec_OBJECTS = $(am_spicec_OBJECTS) +am__DEPENDENCIES_1 = +spicec_DEPENDENCIES = \ + $(top_builddir)/spice-common/common/libspice-common.la \ + $(top_builddir)/spice-common/common/libspice-common-client.la \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(spicec_resource_LDADD) \ + $(am__DEPENDENCIES_1) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +spicec_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ + $(CXXFLAGS) $(spicec_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CXXFLAGS) $(CXXFLAGS) +AM_V_CXX = $(am__v_CXX_@AM_V@) +am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) +am__v_CXX_0 = @echo " CXX " $@; +am__v_CXX_1 = +CXXLD = $(CXX) +CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ + $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) +am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) +am__v_CXXLD_0 = @echo " CXXLD " $@; +am__v_CXXLD_1 = +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(spicec_SOURCES) +DIST_SOURCES = $(am__spicec_SOURCES_DIST) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +ALSA_CFLAGS = @ALSA_CFLAGS@ +ALSA_LIBS = @ALSA_LIBS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CAC_CARD_CFLAGS = @CAC_CARD_CFLAGS@ +CAC_CARD_LIBS = @CAC_CARD_LIBS@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CEGUI06_CFLAGS = @CEGUI06_CFLAGS@ +CEGUI06_LIBS = @CEGUI06_LIBS@ +CEGUI_CFLAGS = @CEGUI_CFLAGS@ +CEGUI_LIBS = @CEGUI_LIBS@ +CELT051_CFLAGS = @CELT051_CFLAGS@ +CELT051_LIBDIR = @CELT051_LIBDIR@ +CELT051_LIBS = @CELT051_LIBS@ +CFLAGS = @CFLAGS@ +CFLAGS_CFLAGS = @CFLAGS_CFLAGS@ +COMMON_CFLAGS = @COMMON_CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXIMAGE_CFLAGS = @CXIMAGE_CFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GLIB2_CFLAGS = @GLIB2_CFLAGS@ +GLIB2_LIBS = @GLIB2_LIBS@ +GL_CFLAGS = @GL_CFLAGS@ +GL_LIBS = @GL_LIBS@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +JPEG_LIBS = @JPEG_LIBS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBM = @LIBM@ +LIBOBJS = @LIBOBJS@ +LIBRT = @LIBRT@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MISC_X_CFLAGS = @MISC_X_CFLAGS@ +MISC_X_LIBS = @MISC_X_LIBS@ +MKDIR_P = @MKDIR_P@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ +PIXMAN_LIBS = @PIXMAN_LIBS@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PYTHON = @PYTHON@ +RANLIB = @RANLIB@ +SASL_CFLAGS = @SASL_CFLAGS@ +SASL_LIBS = @SASL_LIBS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SLIRP_CFLAGS = @SLIRP_CFLAGS@ +SLIRP_LIBS = @SLIRP_LIBS@ +SMARTCARD_CFLAGS = @SMARTCARD_CFLAGS@ +SMARTCARD_LIBS = @SMARTCARD_LIBS@ +SPICEC_STATIC_LINKAGE_BSTATIC = @SPICEC_STATIC_LINKAGE_BSTATIC@ +SPICE_LT_VERSION = @SPICE_LT_VERSION@ +SPICE_NONPKGCONFIG_CFLAGS = @SPICE_NONPKGCONFIG_CFLAGS@ +SPICE_NONPKGCONFIG_LIBS = @SPICE_NONPKGCONFIG_LIBS@ +SPICE_REQUIRES = @SPICE_REQUIRES@ +SSL_CFLAGS = @SSL_CFLAGS@ +SSL_LIBS = @SSL_LIBS@ +STRIP = @STRIP@ +VERSION = @VERSION@ +VISIBILITY_HIDDEN_CFLAGS = @VISIBILITY_HIDDEN_CFLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WARN_CXXFLAGS = @WARN_CXXFLAGS@ +WARN_LDFLAGS = @WARN_LDFLAGS@ +WINDRES = @WINDRES@ +XFIXES_CFLAGS = @XFIXES_CFLAGS@ +XFIXES_LIBS = @XFIXES_LIBS@ +XINERAMA_CFLAGS = @XINERAMA_CFLAGS@ +XINERAMA_LIBS = @XINERAMA_LIBS@ +XRANDR12_CFLAGS = @XRANDR12_CFLAGS@ +XRANDR12_LIBS = @XRANDR12_LIBS@ +XRANDR_CFLAGS = @XRANDR_CFLAGS@ +XRANDR_LIBS = @XRANDR_LIBS@ +Z_LIBS = @Z_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +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@ +subdirs = @subdirs@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +NULL = +spicec_SOURCES = application.cpp application.h audio_channels.h \ + audio_devices.h cache.hpp canvas.cpp canvas.h \ + client_net_socket.cpp client_net_socket.h cmd_line_parser.cpp \ + cmd_line_parser.h common.h controller.cpp controller.h \ + cursor.cpp cursor.h cursor_channel.cpp cursor_channel.h \ + debug.h display_channel.cpp display_channel.h event_sources.h \ + foreign_menu.cpp foreign_menu.h glz_decoded_image.h \ + glz_decoder.cpp glz_decoder.h glz_decoder_config.h \ + glz_decoder_window.cpp glz_decoder_window.h hot_keys.cpp \ + hot_keys.h icon.h inputs_channel.cpp inputs_channel.h \ + inputs_handler.h jpeg_decoder.cpp jpeg_decoder.h menu.cpp \ + menu.h mjpeg_decoder.cpp mjpeg_decoder.h monitor.cpp monitor.h \ + pixels_source.h platform.h playback_channel.cpp \ + process_loop.cpp process_loop.h read_write_mutex.h \ + record_channel.cpp red_canvas_base.h red_channel.cpp \ + red_channel.h red_client.cpp red_client.h red_drawable.h \ + red_key.h red_peer.cpp red_peer.h red_pixmap.h red_pixmap_sw.h \ + red_sw_canvas.cpp red_sw_canvas.h red_types.h red_window.h \ + screen.cpp screen.h screen_layer.cpp screen_layer.h \ + shared_cache.hpp threads.cpp threads.h utils.cpp utils.h \ + zlib_decoder.cpp zlib_decoder.h $(BUILT_SOURCES) $(NULL) \ + $(am__append_1) $(am__append_2) $(am__append_3) \ + $(am__append_4) $(am__append_5) $(am__append_6) \ + $(am__append_7) +@OS_WIN32_TRUE@spicec_resource_LDADD = windows/redc.o +@OS_WIN32_FALSE@PLATFORM_INCLUDES = -I$(top_srcdir)/client/x11 +@OS_WIN32_TRUE@PLATFORM_INCLUDES = -I$(top_srcdir)/client/windows +INCLUDES = \ + -D__STDC_LIMIT_MACROS \ + $(PLATFORM_INCLUDES) \ + -I$(top_srcdir)/spice-common \ + $(ALSA_CFLAGS) \ + $(CEGUI_CFLAGS) \ + $(CEGUI06_CFLAGS) \ + $(CELT051_CFLAGS) \ + $(GL_CFLAGS) \ + $(MISC_X_CFLAGS) \ + $(PIXMAN_CFLAGS) \ + $(COMMON_CFLAGS) \ + $(SPICE_NONPKGCONFIG_CFLAGS) \ + $(SMARTCARD_CFLAGS) \ + $(SSL_CFLAGS) \ + $(XRANDR_CFLAGS) \ + $(XFIXES_CFLAGS) \ + $(WARN_CXXFLAGS) \ + $(XINERAMA_CFLAGS) \ + $(CXIMAGE_CFLAGS) \ + $(NULL) + +spicec_LDFLAGS = $(SPICEC_STATIC_LINKAGE_BSTATIC) +spicec_LDADD = \ + $(top_builddir)/spice-common/common/libspice-common.la \ + $(top_builddir)/spice-common/common/libspice-common-client.la \ + $(ALSA_LIBS) \ + $(CEGUI_LIBS) \ + $(CEGUI06_LIBS) \ + $(CELT051_LIBS) \ + $(GL_LIBS) \ + $(JPEG_LIBS) \ + $(MISC_X_LIBS) \ + $(PIXMAN_LIBS) \ + $(SMARTCARD_LIBS) \ + $(SPICE_NONPKGCONFIG_LIBS) \ + $(SSL_LIBS) \ + $(XFIXES_LIBS) \ + $(XRANDR_LIBS) \ + $(Z_LIBS) \ + $(XINERAMA_LIBS) \ + $(spicec_resource_LDADD) \ + $(NULL) + +EXTRA_DIST = \ + glz_decode_tmpl.c \ + x11/images/red_icon.c \ + x11/images/alt_image.c \ + gui/commonv2c.ttf.c \ + gui/commonwealth-10.font.c \ + gui/dejavu_sans-10.font.c \ + gui/dejavu_sans.ttf.c \ + gui/taharez_look.imageset.c \ + gui/taharez_look.looknfeel.c \ + gui/taharez_look.scheme.c \ + gui/taharez_look.tga.c \ + $(NULL) + +all: all-am + +.SUFFIXES: +.SUFFIXES: .cpp .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(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 client/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu client/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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ + fi; \ + for p in $$list; do echo "$$p $$p"; done | \ + sed 's/$(EXEEXT)$$//' | \ + while read p p1; do if test -f $$p || test -f $$p1; \ + then echo "$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ + sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) files[d] = files[d] " " $$1; \ + else { print "f", $$3 "/" $$4, $$1; } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ + -e 's/$$/$(EXEEXT)/' `; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(bindir)" && rm -f $$files + +clean-binPROGRAMS: + @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ + echo " rm -f" $$list; \ + rm -f $$list || exit $$?; \ + test -n "$(EXEEXT)" || exit 0; \ + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f" $$list; \ + rm -f $$list +windows/$(am__dirstamp): + @$(MKDIR_P) windows + @: > windows/$(am__dirstamp) +windows/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) windows/$(DEPDIR) + @: > windows/$(DEPDIR)/$(am__dirstamp) +windows/event_sources_p.$(OBJEXT): windows/$(am__dirstamp) \ + windows/$(DEPDIR)/$(am__dirstamp) +windows/main.$(OBJEXT): windows/$(am__dirstamp) \ + windows/$(DEPDIR)/$(am__dirstamp) +windows/my_getopt.$(OBJEXT): windows/$(am__dirstamp) \ + windows/$(DEPDIR)/$(am__dirstamp) +windows/named_pipe.$(OBJEXT): windows/$(am__dirstamp) \ + windows/$(DEPDIR)/$(am__dirstamp) +windows/pixels_source.$(OBJEXT): windows/$(am__dirstamp) \ + windows/$(DEPDIR)/$(am__dirstamp) +windows/platform.$(OBJEXT): windows/$(am__dirstamp) \ + windows/$(DEPDIR)/$(am__dirstamp) +windows/platform_utils.$(OBJEXT): windows/$(am__dirstamp) \ + windows/$(DEPDIR)/$(am__dirstamp) +windows/playback.$(OBJEXT): windows/$(am__dirstamp) \ + windows/$(DEPDIR)/$(am__dirstamp) +windows/record.$(OBJEXT): windows/$(am__dirstamp) \ + windows/$(DEPDIR)/$(am__dirstamp) +windows/red_drawable.$(OBJEXT): windows/$(am__dirstamp) \ + windows/$(DEPDIR)/$(am__dirstamp) +windows/red_pixmap.$(OBJEXT): windows/$(am__dirstamp) \ + windows/$(DEPDIR)/$(am__dirstamp) +windows/red_pixmap_gdi.$(OBJEXT): windows/$(am__dirstamp) \ + windows/$(DEPDIR)/$(am__dirstamp) +windows/red_pixmap_sw.$(OBJEXT): windows/$(am__dirstamp) \ + windows/$(DEPDIR)/$(am__dirstamp) +windows/red_window.$(OBJEXT): windows/$(am__dirstamp) \ + windows/$(DEPDIR)/$(am__dirstamp) +x11/$(am__dirstamp): + @$(MKDIR_P) x11 + @: > x11/$(am__dirstamp) +x11/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) x11/$(DEPDIR) + @: > x11/$(DEPDIR)/$(am__dirstamp) +x11/event_sources_p.$(OBJEXT): x11/$(am__dirstamp) \ + x11/$(DEPDIR)/$(am__dirstamp) +x11/main.$(OBJEXT): x11/$(am__dirstamp) x11/$(DEPDIR)/$(am__dirstamp) +x11/named_pipe.$(OBJEXT): x11/$(am__dirstamp) \ + x11/$(DEPDIR)/$(am__dirstamp) +x11/pixels_source.$(OBJEXT): x11/$(am__dirstamp) \ + x11/$(DEPDIR)/$(am__dirstamp) +x11/platform.$(OBJEXT): x11/$(am__dirstamp) \ + x11/$(DEPDIR)/$(am__dirstamp) +x11/platform_utils.$(OBJEXT): x11/$(am__dirstamp) \ + x11/$(DEPDIR)/$(am__dirstamp) +x11/playback.$(OBJEXT): x11/$(am__dirstamp) \ + x11/$(DEPDIR)/$(am__dirstamp) +x11/record.$(OBJEXT): x11/$(am__dirstamp) \ + x11/$(DEPDIR)/$(am__dirstamp) +x11/red_drawable.$(OBJEXT): x11/$(am__dirstamp) \ + x11/$(DEPDIR)/$(am__dirstamp) +x11/red_pixmap.$(OBJEXT): x11/$(am__dirstamp) \ + x11/$(DEPDIR)/$(am__dirstamp) +x11/red_pixmap_sw.$(OBJEXT): x11/$(am__dirstamp) \ + x11/$(DEPDIR)/$(am__dirstamp) +x11/red_window.$(OBJEXT): x11/$(am__dirstamp) \ + x11/$(DEPDIR)/$(am__dirstamp) +x11/res.$(OBJEXT): x11/$(am__dirstamp) x11/$(DEPDIR)/$(am__dirstamp) +x11/x_icon.$(OBJEXT): x11/$(am__dirstamp) \ + x11/$(DEPDIR)/$(am__dirstamp) +gui/$(am__dirstamp): + @$(MKDIR_P) gui + @: > gui/$(am__dirstamp) +gui/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) gui/$(DEPDIR) + @: > gui/$(DEPDIR)/$(am__dirstamp) +gui/gui.$(OBJEXT): gui/$(am__dirstamp) gui/$(DEPDIR)/$(am__dirstamp) +gui/resource_provider.$(OBJEXT): gui/$(am__dirstamp) \ + gui/$(DEPDIR)/$(am__dirstamp) +gui/softrenderer.$(OBJEXT): gui/$(am__dirstamp) \ + gui/$(DEPDIR)/$(am__dirstamp) +gui/softtexture.$(OBJEXT): gui/$(am__dirstamp) \ + gui/$(DEPDIR)/$(am__dirstamp) +x11/red_pixmap_gl.$(OBJEXT): x11/$(am__dirstamp) \ + x11/$(DEPDIR)/$(am__dirstamp) +spicec$(EXEEXT): $(spicec_OBJECTS) $(spicec_DEPENDENCIES) $(EXTRA_spicec_DEPENDENCIES) + @rm -f spicec$(EXEEXT) + $(AM_V_CXXLD)$(spicec_LINK) $(spicec_OBJECTS) $(spicec_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + -rm -f gui/*.$(OBJEXT) + -rm -f windows/*.$(OBJEXT) + -rm -f x11/*.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/application.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/canvas.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client_net_socket.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmd_line_parser.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/controller.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cursor.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cursor_channel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/display_channel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/foreign_menu.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glz_decoder.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glz_decoder_window.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hot_keys.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/inputs_channel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jpeg_decoder.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/menu.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mjpeg_decoder.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/monitor.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/playback_channel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_loop.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/record_channel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/red_channel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/red_client.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/red_gdi_canvas.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/red_gl_canvas.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/red_peer.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/red_sw_canvas.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/screen.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/screen_layer.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/smartcard_channel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/threads.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tunnel_channel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/zlib_decoder.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gui/$(DEPDIR)/gui.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gui/$(DEPDIR)/resource_provider.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gui/$(DEPDIR)/softrenderer.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gui/$(DEPDIR)/softtexture.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@windows/$(DEPDIR)/event_sources_p.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@windows/$(DEPDIR)/main.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@windows/$(DEPDIR)/my_getopt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@windows/$(DEPDIR)/named_pipe.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@windows/$(DEPDIR)/pixels_source.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@windows/$(DEPDIR)/platform.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@windows/$(DEPDIR)/platform_utils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@windows/$(DEPDIR)/playback.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@windows/$(DEPDIR)/record.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@windows/$(DEPDIR)/red_drawable.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@windows/$(DEPDIR)/red_pixmap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@windows/$(DEPDIR)/red_pixmap_gdi.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@windows/$(DEPDIR)/red_pixmap_sw.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@windows/$(DEPDIR)/red_window.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@x11/$(DEPDIR)/event_sources_p.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@x11/$(DEPDIR)/main.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@x11/$(DEPDIR)/named_pipe.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@x11/$(DEPDIR)/pixels_source.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@x11/$(DEPDIR)/platform.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@x11/$(DEPDIR)/platform_utils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@x11/$(DEPDIR)/playback.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@x11/$(DEPDIR)/record.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@x11/$(DEPDIR)/red_drawable.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@x11/$(DEPDIR)/red_pixmap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@x11/$(DEPDIR)/red_pixmap_gl.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@x11/$(DEPDIR)/red_pixmap_sw.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@x11/$(DEPDIR)/red_window.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@x11/$(DEPDIR)/res.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@x11/$(DEPDIR)/x_icon.Po@am__quote@ + +.cpp.o: +@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< + +.cpp.obj: +@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.cpp.lo: +@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ +@am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +cscopelist: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @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 $(PROGRAMS) +installdirs: + for dir in "$(DESTDIR)$(bindir)"; 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) + -rm -f gui/$(DEPDIR)/$(am__dirstamp) + -rm -f gui/$(am__dirstamp) + -rm -f windows/$(DEPDIR)/$(am__dirstamp) + -rm -f windows/$(am__dirstamp) + -rm -f x11/$(DEPDIR)/$(am__dirstamp) + -rm -f x11/$(am__dirstamp) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -rf ./$(DEPDIR) gui/$(DEPDIR) windows/$(DEPDIR) x11/$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: install-binPROGRAMS + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) gui/$(DEPDIR) windows/$(DEPDIR) x11/$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-binPROGRAMS + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ + clean-generic clean-libtool cscopelist ctags distclean \ + distclean-compile distclean-generic distclean-libtool \ + distclean-tags distdir dvi dvi-am html html-am info info-am \ + install install-am install-binPROGRAMS 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-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags uninstall uninstall-am uninstall-binPROGRAMS + + +@OS_WIN32_TRUE@windows/redc.o: windows/redc.rc +@OS_WIN32_TRUE@ $(WINDRES) $< -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: diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/application.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/application.cpp new file mode 100644 index 0000000..8902642 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/application.cpp @@ -0,0 +1,2699 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#ifdef WIN32 +#include <io.h> +#endif + +#include "common/quic.h" +#include "common/mutex.h" +#include "common/rect.h" + +#include "application.h" +#include "screen.h" +#include "utils.h" +#include "debug.h" +#include "screen_layer.h" +#include "monitor.h" +#include "resource.h" +#ifdef WIN32 +#include "red_gdi_canvas.h" +#endif +#include "platform.h" +#include "red_sw_canvas.h" +#ifdef USE_OPENGL +#include "red_gl_canvas.h" +#endif +#include "cmd_line_parser.h" +#ifdef USE_TUNNEL +#include "tunnel_channel.h" +#endif +#ifdef USE_GUI +#include "gui/gui.h" +#endif +#include <stdarg.h> +#include <stdio.h> +#include <stdlib.h> +#include <time.h> + +#ifdef USE_SMARTCARD +#include <smartcard_channel.h> +#endif + +#define STICKY_KEY_PIXMAP ALT_IMAGE_RES_ID +#define STICKY_KEY_TIMEOUT 750 + +#define CA_FILE_NAME "spice_truststore.pem" + +static const char* app_name = "spicec"; + +void ConnectedEvent::response(AbstractProcessLoop& events_loop) +{ + static_cast<Application*>(events_loop.get_owner())->on_connected(); +} + +void DisconnectedEvent::response(AbstractProcessLoop& events_loop) +{ + Application* app = static_cast<Application*>(events_loop.get_owner()); + app->on_disconnected(_error_code); +} + +void VisibilityEvent::response(AbstractProcessLoop& events_loop) +{ + Application* app = static_cast<Application*>(events_loop.get_owner()); + app->on_visibility_start(_screen_id); +} + +void MonitorsQuery::do_response(AbstractProcessLoop& events_loop) +{ + Monitor* mon; + int i = 0; + + while ((mon = (static_cast<Application*>(events_loop.get_owner()))->find_monitor(i++))) { + MonitorInfo info; + info.size = mon->get_size(); + info.depth = 32; + info.position = mon->get_position(); + _monitors.push_back(info); + } +} + +SwitchHostEvent::SwitchHostEvent(const char* host, int port, int sport, const char* cert_subject) +{ + _host = host; + _port = port; + _sport = sport; + if (cert_subject) { + _cert_subject = cert_subject; + } +} + +void SwitchHostEvent::response(AbstractProcessLoop& events_loop) +{ + Application* app = static_cast<Application*>(events_loop.get_owner()); + app->switch_host(_host, _port, _sport, _cert_subject); +} + +#ifdef USE_GUI +//todo: add inactive visual appearance +class GUIBarrier: public ScreenLayer { +public: + GUIBarrier(int id) + : ScreenLayer(SCREEN_LAYER_GUI_BARIER, true) + , _id (id) + , _cursor (Platform::create_inactive_cursor()) + { + } + + ~GUIBarrier() + { + detach(); + } + + int get_id() { return _id;} + + void attach(RedScreen& in_screen) + { + if (screen()) { + ASSERT(&in_screen == screen()) + return; + } + in_screen.attach_layer(*this); + } + + void detach() + { + if (!screen()) { + return; + } + screen()->detach_layer(*this); + } + + virtual bool pointer_test(int x, int y) { return true;} + virtual void on_pointer_enter(int x, int y, unsigned int buttons_state) + { + AutoRef<LocalCursor> cursor(Platform::create_inactive_cursor()); + screen()->set_cursor(*cursor); + return; + } + +private: + int _id; + AutoRef<LocalCursor> _cursor; +}; + +class GUITimer: public Timer { +public: + GUITimer(GUI& gui) + : _gui (gui) + { + } + + virtual void response(AbstractProcessLoop& events_loop) + { + _gui.idle(); + } + +private: + GUI& _gui; +}; + + +#ifdef GUI_DEMO +class TestTimer: public Timer { +public: + TestTimer(Application& app) + : _app (app) + { + } + + virtual void response(AbstractProcessLoop& events_loop) + { + _app.message_box_test(); + } + +private: + Application& _app; +}; +#endif + +#endif // USE_GUI + +class InfoLayer: public ScreenLayer { +public: + InfoLayer(); + + virtual void copy_pixels(const QRegion& dest_region, RedDrawable& dest_dc); + + void set_info_mode(); + void set_sticky(bool is_on); + virtual void on_size_changed(); + +private: + void draw_info(const QRegion& dest_region, RedDrawable& dest); + void update_sticky_rect(); + +private: + AlphaImageFromRes _sticky_pixmap; + SpicePoint _sticky_pos; + SpiceRect _sticky_rect; + bool _sticky_on; + RecurciveMutex _update_lock; +}; + +InfoLayer::InfoLayer() + : ScreenLayer(SCREEN_LAYER_INFO, false) + , _sticky_pixmap (STICKY_KEY_PIXMAP) + , _sticky_on (false) +{ +} + +void InfoLayer::draw_info(const QRegion& dest_region, RedDrawable& dest) +{ + pixman_box32_t *rects; + int num_rects; + + rects = pixman_region32_rectangles((pixman_region32_t *)&dest_region, &num_rects); + for (int i = 0; i < num_rects; i++) { + SpiceRect r; + + r.left = rects[i].x1; + r.top = rects[i].y1; + r.right = rects[i].x2; + r.bottom = rects[i].y2; + + /* is rect inside sticky region ? */ + if (_sticky_on && rect_intersects(r, _sticky_rect)) { + dest.blend_pixels(_sticky_pixmap, r.left - _sticky_pos.x, r.top - _sticky_pos.y, r); + } + } +} + +void InfoLayer::copy_pixels(const QRegion& dest_region, RedDrawable& dest_dc) +{ + RecurciveLock lock(_update_lock); + draw_info(dest_region, dest_dc); +} + +void InfoLayer::set_info_mode() +{ + ASSERT(screen()); + + clear_area(); + update_sticky_rect(); + set_sticky(_sticky_on); +} + +void InfoLayer::update_sticky_rect() +{ + SpicePoint size = _sticky_pixmap.get_size(); + SpicePoint screen_size = screen()->get_size(); + + _sticky_pos.x = (screen_size.x - size.x) / 2; + _sticky_pos.y = screen_size.y * 2 / 3; + _sticky_rect.left = _sticky_pos.x; + _sticky_rect.top = _sticky_pos.y; + _sticky_rect.right = _sticky_rect.left + size.x; + _sticky_rect.bottom = _sticky_rect.top + size.y; +} + +void InfoLayer::set_sticky(bool is_on) +{ + RecurciveLock lock(_update_lock); + if (!_sticky_on && !is_on) { + return; + } + + _sticky_on = is_on; + + if (_sticky_on) { + add_rect_area(_sticky_rect); + invalidate(_sticky_rect); + } else { + remove_rect_area(_sticky_rect); + } +} + +void InfoLayer::on_size_changed() +{ + set_info_mode(); +} + +void StickyKeyTimer::response(AbstractProcessLoop& events_loop) +{ + Application* app = (Application*)events_loop.get_owner(); + StickyInfo* sticky_info = &app->_sticky_info; + ASSERT(app->is_sticky_trace_key(sticky_info->key)); + ASSERT(app->_keyboard_state[sticky_info->key]); + ASSERT(sticky_info->key_first_down); + ASSERT(sticky_info->key_down); + sticky_info->sticky_mode = true; + DBG(0, "ON sticky"); + app->_info_layer->set_sticky(true); + app->deactivate_interval_timer(this); +} + +static MouseHandler default_mouse_handler; +static KeyHandler default_key_handler; + +enum AppCommands { + APP_CMD_INVALID, + APP_CMD_SEND_CTL_ALT_DEL, + APP_CMD_TOGGLE_FULL_SCREEN, + APP_CMD_RELEASE_CAPTURE, + APP_CMD_SEND_TOGGLE_KEYS, + APP_CMD_SEND_RELEASE_KEYS, + APP_CMD_SEND_CTL_ALT_END, +#ifdef RED_DEBUG + APP_CMD_CONNECT, + APP_CMD_DISCONNECT, +#endif +#ifdef USE_GUI + APP_CMD_SHOW_GUI, +#endif // USE_GUI +#ifdef USE_SMARTCARD + APP_CMD_SMARTCARD_INSERT, + APP_CMD_SMARTCARD_REMOVE, +#endif + APP_CMD_EXTERNAL_BEGIN = 0x400, + APP_CMD_EXTERNAL_END = 0x800, +}; + +Application::Application() + : ProcessLoop (this) + , _client (*this) + , _con_ciphers ("DEFAULT") + , _enabled_channels (SPICE_END_CHANNEL, true) + , _main_screen (NULL) + , _active (false) + , _full_screen (false) + , _changing_screens (false) + , _out_of_sync (false) + , _exit_code (0) + , _active_screen (NULL) + , _num_keys_pressed (0) + , _info_layer (new InfoLayer()) + , _key_handler (&default_key_handler) + , _mouse_handler (&default_mouse_handler) + , _monitors (NULL) + , _title ("SPICEc:%d") + , _sys_key_intercept_mode (false) + , _enable_controller (false) +#ifdef USE_GUI + , _gui_mode (GUI_MODE_FULL) +#endif // USE_GUI + , _during_host_switch(false) + , _state (DISCONNECTED) +#ifdef USE_SMARTCARD + , _smartcard_options(new SmartcardOptions()) +#endif +{ + DBG(0, ""); + + _commands_map["toggle-fullscreen"] = APP_CMD_TOGGLE_FULL_SCREEN; + _commands_map["release-cursor"] = APP_CMD_RELEASE_CAPTURE; +#ifdef RED_DEBUG + _commands_map["connect"] = APP_CMD_CONNECT; + _commands_map["disconnect"] = APP_CMD_DISCONNECT; +#endif +#ifdef USE_GUI + _commands_map["show-gui"] = APP_CMD_SHOW_GUI; +#endif // USE_GUI +#ifdef USE_SMARTCARD + _commands_map["smartcard-insert"] = APP_CMD_SMARTCARD_INSERT; + _commands_map["smartcard-remove"] = APP_CMD_SMARTCARD_REMOVE; +#endif + + _canvas_types.resize(1); +#ifdef WIN32 + _canvas_types[0] = CANVAS_OPTION_GDI; +#else + _canvas_types[0] = CANVAS_OPTION_SW; +#endif + + _host_auth_opt.type_flags = SPICE_SSL_VERIFY_OP_HOSTNAME; + + Platform::get_app_data_dir(_host_auth_opt.CA_file, app_name); + Platform::path_append(_host_auth_opt.CA_file, CA_FILE_NAME); + + this->set_default_hotkeys(); + + _sticky_info.trace_is_on = false; + _sticky_info.sticky_mode = false; + _sticky_info.key_first_down = false; + _sticky_info.key_down = false; + _sticky_info.key = REDKEY_INVALID; + _sticky_info.timer.reset(new StickyKeyTimer()); + + for (int i = SPICE_CHANNEL_MAIN; i < SPICE_END_CHANNEL; i++) { + _peer_con_opt[i] = RedPeer::ConnectionOptions::CON_OP_BOTH; + } + memset(_keyboard_state, 0, sizeof(_keyboard_state)); +} + +Application::~Application() +{ +#ifdef USE_GUI + if (*_gui_timer != NULL) { + deactivate_interval_timer(*_gui_timer); + } +#ifdef GUI_DEMO + if (*_gui_test_timer != NULL) { + deactivate_interval_timer(*_gui_test_timer); + } +#endif + destroyed_gui_barriers(); + if (_gui.get() != NULL) { + _gui->set_screen(NULL); + } +#endif // USE_GUI + + if (_info_layer->screen()) { + _main_screen->detach_layer(*_info_layer); + } + + if (_main_screen != NULL) { + _main_screen->unref(); + destroy_monitors(); + } +#ifdef USE_SMARTCARD + delete _smartcard_options; +#endif +} + +void Application::init_menu() +{ + //fixme: menu items name need to be dynamically updated by hot keys configuration. + AutoRef<Menu> root_menu(new Menu(*this, "")); + (*root_menu)->add_command("Send Ctrl+Alt+Del\tCtrl+Alt+End", APP_CMD_SEND_CTL_ALT_DEL); + (*root_menu)->add_command("Toggle full screen\tShift+F11", APP_CMD_TOGGLE_FULL_SCREEN); + AutoRef<Menu> key_menu(new Menu(*this, "Special keys")); + (*key_menu)->add_command("Send Shift+F11", APP_CMD_SEND_TOGGLE_KEYS); + (*key_menu)->add_command("Send Shift+F12", APP_CMD_SEND_RELEASE_KEYS); + (*key_menu)->add_command("Send Ctrl+Alt+End", APP_CMD_SEND_CTL_ALT_END); + (*root_menu)->add_sub(key_menu.release()); + _app_menu.reset(root_menu.release()); +} + +void Application::__remove_key_handler(KeyHandler& handler) +{ + KeyHandlersStack::iterator iter = _key_handlers.begin(); + + for (; iter != _key_handlers.end(); iter++) { + if (*iter == &handler) { + _key_handlers.erase(iter); + return; + } + } +} + +void Application::set_key_handler(KeyHandler& handler) +{ + if (&handler == _key_handler) { + return; + } + + __remove_key_handler(handler); + if (!_key_handler->permit_focus_loss()) { + _key_handlers.push_front(&handler); + return; + } + + unpress_all(); + if (_active) { + _key_handler->on_focus_out(); + } + + _key_handlers.push_front(_key_handler); + _key_handler = &handler; + if (_active) { + _key_handler->on_focus_in(); + } +} + +void Application::remove_key_handler(KeyHandler& handler) +{ + bool is_current = (&handler == _key_handler); + + if (!is_current) { + __remove_key_handler(handler); + return; + } + + KeyHandler damy_handler; + _key_handler = &damy_handler; + set_key_handler(**_key_handlers.begin()); + __remove_key_handler(damy_handler); +} + +void Application::set_mouse_handler(MouseHandler& handler) +{ + _mouse_handler = &handler; +} + +void Application::remove_mouse_handler(MouseHandler& handler) +{ + if (_mouse_handler != &handler) { + return; + } + _mouse_handler = &default_mouse_handler; +} + +void Application::capture_mouse() +{ + if (!_active_screen +#ifdef USE_GUI + || _gui->screen() +#endif // USE_GUI + ) { + return; + } + _active_screen->capture_mouse(); +} + +void Application::release_mouse_capture() +{ + if (!_active_screen || !_active_screen->is_mouse_captured()) { + return; + } + _active_screen->relase_mouse(); +} + +void Application::abort() +{ + Platform::set_event_listener(NULL); + Platform::set_display_mode_listner(NULL); + unpress_all(); + while (!_client.abort()) { + ProcessLoop::process_events_queue(); + Platform::msleep(100); + } +} + +class AutoAbort { +public: + AutoAbort(Application& app) : _app(app) {} + ~AutoAbort() { _app.abort();} + +private: + Application& _app; +}; + +void Application::connect() +{ + ASSERT(_state == DISCONNECTED); + set_state(CONNECTING); + _client.connect(); +} + +void Application::switch_host(const std::string& host, int port, int sport, + const std::string& cert_subject) +{ + LOG_INFO("host=%s port=%d sport=%d", host.c_str(), port, sport); + _during_host_switch = true; + // we will try to connect to the new host when DiconnectedEvent occurs + do_disconnect(); + _client.set_target(host.c_str(), port, sport); + + if (!cert_subject.empty()) { + set_host_cert_subject(cert_subject.c_str(), "spicec"); + } +} + +int Application::run() +{ + _exit_code = ProcessLoop::run(); + return _exit_code; +} + +void Application::on_start_running() +{ + _foreign_menu.reset(new ForeignMenu(this, _active)); + if (_enable_controller) { + _controller.reset(new Controller(this)); + return; + } + //FIXME: _client.connect() or use the following instead? +#ifdef USE_GUI + if (_gui_mode == GUI_MODE_FULL) { + show_gui(); + return; + } +#endif // HAVE_GUI + connect(); +} + +RedScreen* Application::find_screen(int id) +{ + if ((int)_screens.size() < id + 1) { + return NULL; + } + return _screens[id]; +} + +bool Application::release_capture() +{ + unpress_all(); + if (!_active_screen || !_active_screen->is_mouse_captured()) { + return false; + } + _active_screen->relase_mouse(); + return true; +} + +bool Application::do_connect() +{ + _client.connect(); + return true; +} + +bool Application::do_disconnect() +{ + on_disconnecting(); + _client.disconnect(); + return true; +} + +#define SCREEN_INIT_WIDTH 800 +#define SCREEN_INIT_HEIGHT 600 + +RedScreen* Application::get_screen(int id) +{ + RedScreen *screen; + + if ((int)_screens.size() < id + 1) { + _screens.resize(id + 1); + } + + if (!(screen = _screens[id])) { + Monitor* mon = find_monitor(id); + SpicePoint size = {SCREEN_INIT_WIDTH, SCREEN_INIT_HEIGHT}; + + if (_full_screen && mon) { + size = mon->get_size(); + } + screen = _screens[id] = new RedScreen(*this, id, _title, size.x, size.y); +#ifdef USE_GUI + create_gui_barrier(*screen, id); +#endif // USE_GUI + + if (id != 0) { + if (_full_screen) { + mon = get_monitor(id); + screen->set_monitor(mon); + rearrange_monitors(false, true, screen); + } else { + screen->show(false, _main_screen); + } + } + } else { + screen = screen->ref(); + } + + return screen; +} + +#ifdef USE_GUI +void Application::attach_gui_barriers() +{ + GUIBarriers::iterator iter = _gui_barriers.begin(); + + for (; iter != _gui_barriers.end(); iter++) { + GUIBarrier* barrier = *iter; + ASSERT((int)_screens.size() > barrier->get_id() && _screens[barrier->get_id()]); + barrier->attach(*_screens[barrier->get_id()]); + } +} + +void Application::detach_gui_barriers() +{ + GUIBarriers::iterator iter = _gui_barriers.begin(); + + for (; iter != _gui_barriers.end(); iter++) { + GUIBarrier* barrier = *iter; + barrier->detach(); + } +} + +void Application::create_gui_barrier(RedScreen& screen, int id) +{ + GUIBarrier* barrier = new GUIBarrier(id); + _gui_barriers.push_front(barrier); + if (_gui.get() && _gui->screen()) { + barrier->attach(screen); + } +} + +void Application::destroyed_gui_barriers() +{ + while (_gui_barriers.begin() != _gui_barriers.end()) { + GUIBarrier* barrier = *_gui_barriers.begin(); + _gui_barriers.erase(_gui_barriers.begin()); + delete barrier; + } +} + +void Application::destroyed_gui_barrier(int id) +{ + GUIBarriers::iterator iter = _gui_barriers.begin(); + + for (; iter != _gui_barriers.end(); iter++) { + GUIBarrier* barrier = *iter; + if (barrier->get_id() == id) { + _gui_barriers.erase(iter); + delete barrier; + return; + } + } +} +#endif // USE_GUI + +void Application::on_screen_destroyed(int id, bool was_captured) +{ + bool reposition = false; + +#ifdef USE_GUI + destroyed_gui_barrier(id); +#endif // USE_GUI + + if ((int)_screens.size() < id + 1 || !_screens[id]) { + THROW("no screen"); + } + if (_active_screen == _screens[id]) { + _active_screen = NULL; + } + + if (_full_screen && _screens[id]->has_monitor()) { + _screens[id]->get_monitor()->restore(); + reposition = true; + } + _screens[id] = NULL; + if (reposition) { + rearrange_monitors(was_captured, false); + } +} + +void Application::on_mouse_motion(int dx, int dy, int buttons_state) +{ + _mouse_handler->on_mouse_motion(dx, dy, buttons_state); +} + +void Application::on_mouse_down(int button, int buttons_state) +{ + _mouse_handler->on_mouse_down(button, buttons_state); +} + +void Application::on_mouse_up(int button, int buttons_state) +{ + _mouse_handler->on_mouse_up(button, buttons_state); +} + +void Application::unpress_all() +{ + reset_sticky(); + for (int i = 0; i < REDKEY_NUM_KEYS; i++) { + if (_keyboard_state[i]) { + _key_handler->on_key_up((RedKey)i); + unpress_key((RedKey)i); + } + } +} + +void Application::set_state(State state) +{ + if (state == _state) { + return; + } + _state = state; +#ifdef USE_GUI + _gui->set_state(_state); + if (_gui->screen() && !_gui->is_visible()) { + hide_gui(); + } +#endif // USE_GUI + reset_sticky(); +} + +void Application::on_connected() +{ + _during_host_switch = false; + + set_state(CONNECTED); +} + +void Application::on_disconnected(int error_code) +{ + bool host_switch = _during_host_switch && (error_code == SPICEC_ERROR_CODE_SUCCESS); + if ( +#ifdef USE_GUI + _gui_mode != GUI_MODE_FULL && +#endif // USE_GUI + !host_switch) { + _during_host_switch = false; + ProcessLoop::quit(error_code); + return; + } + + // todo: display special notification for host switch (during migration) + set_state(DISCONNECTED); +#ifdef USE_GUI + show_gui(); +#endif + if (host_switch) { + _client.connect(true); + } +} + +void Application::on_visibility_start(int screen_id) +{ + if (screen_id) { + return; + } + set_state(VISIBILITY); +#ifdef USE_GUI + hide_gui(); +#endif + show_info_layer(); +} + +void Application::on_disconnecting() +{ + release_capture(); +} + +Menu* Application::get_app_menu() +{ + if (!*_app_menu) { + return NULL; + } + return (*_app_menu)->ref(); +} + +void Application::show_info_layer() +{ + if (_info_layer->screen() || _state != VISIBILITY) { + return; + } + + _main_screen->attach_layer(*_info_layer); + _info_layer->set_info_mode(); + reset_sticky(); +} + +void Application::hide_info_layer() +{ + if (!_info_layer->screen()) { + return; + } + + _main_screen->detach_layer(*_info_layer); + reset_sticky(); +} + +#ifdef GUI_DEMO + +class TestResponce: public GUI::BoxResponse { +public: + virtual void response(int response) + { + DBG(0, "%d", response); + } + + virtual void aborted() + { + DBG(0, ""); + } +}; + + +TestResponce response_test; + +void Application::message_box_test() +{ + GUI::ButtonsList list(3); + list[0].id = 101; + list[0].text = "Yes"; + list[1].id = 102; + list[1].text = "No"; + list[2].id = 103; + list[2].text = "Don't Know"; + + + if (!_gui->message_box(GUI::QUESTION, "My question", list, &response_test)) { + DBG(0, "busy"); + } else { + show_gui(); + } +} + +#endif + +#ifdef USE_GUI +void Application::show_gui() +{ + if (_gui->screen() || !_gui->prepare_dialog()) { + return; + } + + hide_info_layer(); + release_capture(); + _gui->set_screen(_main_screen); + attach_gui_barriers(); +} + +void Application::hide_gui() +{ + if (!_gui->screen()) { + return; + } + + _gui->set_screen(NULL); + detach_gui_barriers(); + show_info_layer(); +} +#endif // USE_GUI + +void Application::do_command(int command) +{ + switch (command) { + case APP_CMD_SEND_CTL_ALT_DEL: + send_alt_ctl_del(); + break; + case APP_CMD_TOGGLE_FULL_SCREEN: + toggle_full_screen(); + break; + case APP_CMD_SEND_TOGGLE_KEYS: + send_command_hotkey(APP_CMD_SEND_TOGGLE_KEYS); + break; + case APP_CMD_SEND_RELEASE_KEYS: + send_command_hotkey(APP_CMD_SEND_RELEASE_KEYS); + break; + case APP_CMD_SEND_CTL_ALT_END: + send_ctrl_alt_end(); + break; + case APP_CMD_RELEASE_CAPTURE: + release_capture(); + break; +#ifdef RED_DEBUG + case APP_CMD_CONNECT: + do_connect(); + break; + case APP_CMD_DISCONNECT: + do_disconnect(); + break; +#endif +#ifdef USE_GUI + case APP_CMD_SHOW_GUI: + show_gui(); + break; +#endif // USE_GUI +#ifdef USE_SMARTCARD + case APP_CMD_SMARTCARD_INSERT: + virtual_card_insert(); + break; + case APP_CMD_SMARTCARD_REMOVE: + virtual_card_remove(); + break; +#endif + default: + AppMenuItemMap::iterator iter = _app_menu_items.find(command); + ASSERT(iter != _app_menu_items.end()); + AppMenuItem* item = &(*iter).second; + if (item->type == APP_MENU_ITEM_TYPE_FOREIGN) { + ASSERT(*_foreign_menu); + (*_foreign_menu)->on_command(item->conn_ref, item->ext_id); + } else if (item->type == APP_MENU_ITEM_TYPE_CONTROLLER) { + ASSERT(*_controller); + (*_controller)->on_command(item->conn_ref, item->ext_id); + } + } +} + +#ifdef REDKEY_DEBUG + +static void show_red_key(RedKey key) +{ + +#define KEYCASE(red_key) \ + case red_key: \ + DBG(0, #red_key); \ + return; + + switch (key) { + KEYCASE(REDKEY_INVALID); + KEYCASE(REDKEY_ESCAPE); + KEYCASE(REDKEY_1); + KEYCASE(REDKEY_2); + KEYCASE(REDKEY_3); + KEYCASE(REDKEY_4); + KEYCASE(REDKEY_5); + KEYCASE(REDKEY_6); + KEYCASE(REDKEY_7); + KEYCASE(REDKEY_8); + KEYCASE(REDKEY_9); + KEYCASE(REDKEY_0); + KEYCASE(REDKEY_MINUS); + KEYCASE(REDKEY_EQUALS); + KEYCASE(REDKEY_BACKSPACE); + KEYCASE(REDKEY_TAB); + KEYCASE(REDKEY_Q); + KEYCASE(REDKEY_W); + KEYCASE(REDKEY_E); + KEYCASE(REDKEY_R); + KEYCASE(REDKEY_T); + KEYCASE(REDKEY_Y); + KEYCASE(REDKEY_U); + KEYCASE(REDKEY_I); + KEYCASE(REDKEY_O); + KEYCASE(REDKEY_P); + KEYCASE(REDKEY_ENTER); + KEYCASE(REDKEY_L_BRACKET); + KEYCASE(REDKEY_R_BRACKET); + KEYCASE(REDKEY_L_CTRL); + KEYCASE(REDKEY_A); + KEYCASE(REDKEY_S); + KEYCASE(REDKEY_D); + KEYCASE(REDKEY_F); + KEYCASE(REDKEY_G); + KEYCASE(REDKEY_H); + KEYCASE(REDKEY_J); + KEYCASE(REDKEY_K); + KEYCASE(REDKEY_L); + KEYCASE(REDKEY_SEMICOLON); + KEYCASE(REDKEY_QUOTE); + KEYCASE(REDKEY_BACK_QUOTE); + KEYCASE(REDKEY_L_SHIFT); + KEYCASE(REDKEY_BACK_SLASH); + KEYCASE(REDKEY_Z); + KEYCASE(REDKEY_X); + KEYCASE(REDKEY_C); + KEYCASE(REDKEY_V); + KEYCASE(REDKEY_B); + KEYCASE(REDKEY_N); + KEYCASE(REDKEY_M); + KEYCASE(REDKEY_COMMA); + KEYCASE(REDKEY_PERIOD); + KEYCASE(REDKEY_SLASH); + KEYCASE(REDKEY_R_SHIFT); + KEYCASE(REDKEY_PAD_MULTIPLY); + KEYCASE(REDKEY_L_ALT); + KEYCASE(REDKEY_SPACE); + KEYCASE(REDKEY_CAPS_LOCK); + KEYCASE(REDKEY_F1); + KEYCASE(REDKEY_F2); + KEYCASE(REDKEY_F3); + KEYCASE(REDKEY_F4); + KEYCASE(REDKEY_F5); + KEYCASE(REDKEY_F6); + KEYCASE(REDKEY_F7); + KEYCASE(REDKEY_F8); + KEYCASE(REDKEY_F9); + KEYCASE(REDKEY_F10); + KEYCASE(REDKEY_NUM_LOCK); + KEYCASE(REDKEY_SCROLL_LOCK); + KEYCASE(REDKEY_PAD_7); + KEYCASE(REDKEY_PAD_8); + KEYCASE(REDKEY_PAD_9); + KEYCASE(REDKEY_PAD_MINUS); + KEYCASE(REDKEY_PAD_4); + KEYCASE(REDKEY_PAD_5); + KEYCASE(REDKEY_PAD_6); + KEYCASE(REDKEY_PAD_PLUS); + KEYCASE(REDKEY_PAD_1); + KEYCASE(REDKEY_PAD_2); + KEYCASE(REDKEY_PAD_3); + KEYCASE(REDKEY_PAD_0); + KEYCASE(REDKEY_PAD_POINT); + KEYCASE(REDKEY_F11); + KEYCASE(REDKEY_F12); + KEYCASE(REDKEY_PAD_ENTER); + KEYCASE(REDKEY_R_CTRL); + KEYCASE(REDKEY_FAKE_L_SHIFT); + KEYCASE(REDKEY_PAD_DIVIDE); + KEYCASE(REDKEY_FAKE_R_SHIFT); + KEYCASE(REDKEY_CTRL_PRINT_SCREEN); + KEYCASE(REDKEY_R_ALT); + KEYCASE(REDKEY_CTRL_BREAK); + KEYCASE(REDKEY_HOME); + KEYCASE(REDKEY_UP); + KEYCASE(REDKEY_PAGEUP); + KEYCASE(REDKEY_LEFT); + KEYCASE(REDKEY_RIGHT); + KEYCASE(REDKEY_END); + KEYCASE(REDKEY_DOWN); + KEYCASE(REDKEY_PAGEDOWN); + KEYCASE(REDKEY_INSERT); + KEYCASE(REDKEY_DELETE); + KEYCASE(REDKEY_LEFT_CMD); + KEYCASE(REDKEY_RIGHT_CMD); + KEYCASE(REDKEY_MENU); + default: + DBG(0, "???"); + } +} + +#endif + +bool Application::press_key(RedKey key) +{ + if (_keyboard_state[key]) { + return true; + } else { + _keyboard_state[key] = true; + _num_keys_pressed++; + return false; + } +} + +bool Application::unpress_key(RedKey key) +{ + ASSERT(!_sticky_info.key_down || !is_sticky_trace_key(key)); + + if (_keyboard_state[key]) { + _keyboard_state[key] = false; + _num_keys_pressed--; + ASSERT(_num_keys_pressed >= 0); + return true; + } else { + return false; + } +} + +inline bool Application::is_sticky_trace_key(RedKey key) +{ + return ((key == REDKEY_L_ALT) || (key == REDKEY_R_ALT)); +} + +void Application::reset_sticky() +{ + _sticky_info.trace_is_on = (_state == VISIBILITY) && _sys_key_intercept_mode; + _sticky_info.key_first_down = false; + deactivate_interval_timer(*_sticky_info.timer); + if (_sticky_info.sticky_mode) { + ASSERT(_keyboard_state[_sticky_info.key]); + // if it is physically down, we shouldn't unpress it + if (!_sticky_info.key_down) { + do_on_key_up(_sticky_info.key); + } + _sticky_info.sticky_mode = false; + DBG(0, "OFF sticky"); + _info_layer->set_sticky(false); + } + _sticky_info.key_down = false; + + _sticky_info.key = REDKEY_INVALID; +} + +struct ModifierKey { + int modifier; + RedKey key; +}; + +ModifierKey modifier_keys[] = { + {Platform::L_SHIFT_MODIFIER, REDKEY_L_SHIFT}, + {Platform::R_SHIFT_MODIFIER, REDKEY_R_SHIFT}, + {Platform::L_CTRL_MODIFIER, REDKEY_L_CTRL}, + {Platform::R_CTRL_MODIFIER, REDKEY_R_CTRL}, + {Platform::L_ALT_MODIFIER, REDKEY_L_ALT}, + {Platform::R_ALT_MODIFIER, REDKEY_R_ALT}, +}; + +void Application::sync_keyboard_modifiers() +{ + uint32_t modifiers = Platform::get_keyboard_modifiers(); + for (size_t i = 0; i < sizeof(modifier_keys) / sizeof(modifier_keys[0]); i++) { + if (modifiers & modifier_keys[i].modifier) { + on_key_down(modifier_keys[i].key); + } else { + on_key_up(modifier_keys[i].key); + } + } +} + +void Application::on_key_down(RedKey key) +{ + if (key <= 0 || key >= REDKEY_NUM_KEYS) { + return; + } + + bool was_pressed = press_key(key); + if (_sticky_info.trace_is_on) { + if (key == _sticky_info.key) { + _sticky_info.key_down = true; + } + + if (!_sticky_info.sticky_mode) { + // during tracing (traced key was pressed and no keyboard event has occurred till now) + if (_sticky_info.key_first_down) { + ASSERT(_sticky_info.key != REDKEY_INVALID); + if (key != _sticky_info.key) { + reset_sticky(); + } + } else if (is_sticky_trace_key(key) && (_num_keys_pressed == 1) && !was_pressed) { + ASSERT(_sticky_info.key == REDKEY_INVALID); + // start tracing + _sticky_info.key = key; + _sticky_info.key_first_down = true; + _sticky_info.key_down = true; + activate_interval_timer(*_sticky_info.timer, STICKY_KEY_TIMEOUT); + } + } + } + + if (!_sticky_info.sticky_mode) { + int command = get_hotkeys_command(); + if (command != APP_CMD_INVALID) { + do_command(command); + return; + } + } + +#ifdef WIN32 + if (!_active_screen->intercepts_sys_key() && + (key == REDKEY_LEFT_CMD || key == REDKEY_RIGHT_CMD || + key == REDKEY_MENU || _keyboard_state[REDKEY_L_ALT])) { + unpress_key(key); + return; + } + if (!_sticky_info.sticky_mode && + ((_keyboard_state[REDKEY_L_CTRL] || _keyboard_state[REDKEY_R_CTRL]) && + (_keyboard_state[REDKEY_L_ALT] || _keyboard_state[REDKEY_R_ALT]))) { + if (key == REDKEY_END || key == REDKEY_PAD_1) { + unpress_key(key); + _key_handler->on_key_down(REDKEY_DELETE); + _key_handler->on_key_up(REDKEY_DELETE); + } else if (key == REDKEY_DELETE || key == REDKEY_PAD_POINT) { + unpress_key(key); + return; + } + } +#endif + + _key_handler->on_key_down(key); +} + +void Application::do_on_key_up(RedKey key) +{ + unpress_key(key); + _key_handler->on_key_up(key); +} + +void Application::on_key_up(RedKey key) +{ + if(key < 0 || key >= REDKEY_NUM_KEYS || !_keyboard_state[key]) { + return; + } + + if (_sticky_info.trace_is_on) { + ASSERT(_sticky_info.sticky_mode || (key == _sticky_info.key) || + (_sticky_info.key == REDKEY_INVALID)); + if (key == _sticky_info.key) { + _sticky_info.key_down = false; + if (_sticky_info.key_first_down) { + _sticky_info.key_first_down = false; + if (!_sticky_info.sticky_mode) { + reset_sticky(); + } else { + return; // ignore the sticky-key first release + } + } + } + + if (_sticky_info.sticky_mode) { + RedKey old_sticky_key = _sticky_info.key; + reset_sticky(); + if (key == old_sticky_key) { + return; // no need to send key_up twice + } + } + } + + do_on_key_up(key); +} + +void Application::on_char(uint32_t ch) +{ + _key_handler->on_char(ch); +} + +void Application::on_deactivate_screen(RedScreen* screen) +{ + if (_active_screen == screen) { + _sys_key_intercept_mode = false; + release_capture(); + _active_screen = NULL; + } +} + +void Application::on_activate_screen(RedScreen* screen) +{ + ASSERT(!_active_screen || (_active_screen == screen)); + _active_screen = screen; + sync_keyboard_modifiers(); +} + +void Application::on_start_screen_key_interception(RedScreen* screen) +{ + ASSERT(screen == _active_screen); + + _sys_key_intercept_mode = true; + reset_sticky(); +} + +void Application::on_stop_screen_key_interception(RedScreen* screen) +{ + ASSERT(screen == _active_screen); + + _sys_key_intercept_mode = false; + reset_sticky(); +} + +void Application::on_app_activated() +{ + _active = true; + _key_handler->on_focus_in(); + if (*_foreign_menu) { + (*_foreign_menu)->on_activate(); + } +} + +void Application::on_app_deactivated() +{ + _active = false; + _key_handler->on_focus_out(); + if (*_foreign_menu) { + (*_foreign_menu)->on_deactivate(); + } +#ifdef WIN32 + if (!_changing_screens) { + exit_full_screen(); + } +#endif +} + +void Application::on_screen_unlocked(RedScreen& screen) +{ + if (_full_screen) { + return; + } + + screen.resize(SCREEN_INIT_WIDTH, SCREEN_INIT_HEIGHT); +} + +void Application::rearrange_monitors(bool force_capture, + bool enter_full_screen, + RedScreen* screen, + std::vector<SpicePoint> *sizes) +{ + bool capture; + bool toggle_full_screen; + + if (!_full_screen && !enter_full_screen) { + return; + } + + toggle_full_screen = enter_full_screen && !screen; + capture = release_capture(); +#ifndef WIN32 + if (toggle_full_screen) { + /* performing hide during resolution changes resulted in + missing WM_KEYUP events */ + hide(); + } +#endif + prepare_monitors(sizes); + position_screens(); + if (enter_full_screen) { + // toggling to full screen + if (toggle_full_screen) { + show_full_screen(); + _main_screen->activate(); + + } else { // already in full screen mode and a new screen is displayed + screen->show_full_screen(); + if (screen->is_out_of_sync()) { + _out_of_sync = true; + /* If the client monitor cannot handle the guest resolution + drop back to windowed mode */ + exit_full_screen(); + } + } + } + + if (force_capture || capture) { + if (!toggle_full_screen) { + _main_screen->activate(); + } + _main_screen->capture_mouse(); + } +} + +Monitor* Application::find_monitor(int id) +{ + ASSERT(_monitors); + std::list<Monitor*>::const_iterator iter = _monitors->begin(); + for (; iter != _monitors->end(); iter++) { + Monitor *mon = *iter; + if (mon->get_id() == id) { + return mon; + } + } + return NULL; +} + +Monitor* Application::get_monitor(int id) +{ + Monitor *mon = find_monitor(id); + if ((mon = find_monitor(id))) { + mon->set_used(); + } + return mon; +} + +void Application::assign_monitors() +{ + for (int i = 0; i < (int)_screens.size(); i++) { + if (_screens[i]) { + ASSERT(!_screens[i]->has_monitor()); + _screens[i]->set_monitor(get_monitor(i)); + } + } +} + +void Application::prepare_monitors(std::vector<SpicePoint> *sizes) +{ + //todo: test match of monitors size/position against real world size/position + for (int i = 0; i < (int)_screens.size(); i++) { + Monitor* mon; + if (_screens[i] && (mon = _screens[i]->get_monitor())) { + if (_screens[i]->is_size_locked()) { + if (sizes) { + mon->set_mode((*sizes)[i].x, (*sizes)[i].y); + } else { + SpicePoint size = _screens[i]->get_size(); + mon->set_mode(size.x, size.y); + } + } else { + SpicePoint size = mon->get_size(); + _screens[i]->resize(size.x, size.y); + } + } + } +} + +void Application::restore_monitors() +{ + //todo: renew monitors (destroy + init) + std::list<Monitor*>::const_iterator iter = _monitors->begin(); + for (; iter != _monitors->end(); iter++) { + (*iter)->restore(); + } +} + +void Application::position_screens() +{ + for (int i = 0; i < (int)_screens.size(); i++) { + Monitor* mon; + if (_screens[i] && (mon = _screens[i]->get_monitor())) { + _screens[i]->position_full_screen(mon->get_position()); + } + } +} + +void Application::hide() +{ + for (int i = 0; i < (int)_screens.size(); i++) { + if (_screens[i]) { + _screens[i]->hide(); + } + } +} + +void Application::show() +{ + for (int i = 0; i < (int)_screens.size(); i++) { + if (_screens[i]) { + _screens[i]->show(); + } + } +} + +void Application::external_show() +{ + DBG(0, "Entry, _screens.size()=%lu", _screens.size()); + for (size_t i = 0; i < _screens.size(); ++i) { + DBG(0, "%lu", i); + if (_screens[i]) { + _screens[i]->external_show(); + } + } +} + +void Application::show_full_screen() +{ + for (int i = 0; i < (int)_screens.size(); i++) { + if (_screens[i]) { + _screens[i]->show_full_screen(); + if (_screens[i]->is_out_of_sync()) { + _out_of_sync = true; + } + } + } +} + +void Application::enter_full_screen() +{ + LOG_INFO(""); + _changing_screens = true; + assign_monitors(); + rearrange_monitors(false, true); + _changing_screens = false; + _full_screen = true; + /* If the client monitor cannot handle the guest resolution drop back + to windowed mode */ + if (_out_of_sync) { + exit_full_screen(); + } +} + +void Application::restore_screens_size() +{ + for (int i = 0; i < (int)_screens.size(); i++) { + if (!_screens[i] || _screens[i]->is_size_locked()) { + continue; + } + _screens[i]->resize(SCREEN_INIT_WIDTH, SCREEN_INIT_HEIGHT); + } +} + +void Application::exit_full_screen() +{ + if (!_full_screen) { + return; + } + if (_out_of_sync) { + LOG_WARN("Falling back to windowed mode (guest resolution too large for client?)"); + } + LOG_INFO(""); + _changing_screens = true; + release_capture(); + restore_monitors(); + for (int i = 0; i < (int)_screens.size(); i++) { + if (_screens[i]) { + Monitor* mon; + _screens[i]->exit_full_screen(); + if ((mon = _screens[i]->get_monitor())) { + _screens[i]->set_monitor(NULL); + mon->set_free(); + } + } + } + _full_screen = false; + _out_of_sync = false; + restore_screens_size(); + show(); + _main_screen->activate(); + _changing_screens = false; +} + +bool Application::toggle_full_screen() +{ + if (_full_screen) { + exit_full_screen(); + } else { + enter_full_screen(); + } + return _full_screen; +} + +void Application::resize_screen(RedScreen *screen, int width, int height) +{ + std::vector<SpicePoint> sizes; + std::vector<SpicePoint> *p_sizes = NULL; + bool capture = false; + + if (_full_screen) { + capture = (_main_screen == screen) && _active_screen && + _active_screen->is_mouse_captured(); + sizes.resize(_screens.size()); + for (int i = 0; i < (int)_screens.size(); i++) { + if (_screens[i]) { + if (_screens[i] == screen) { + sizes[i].x = width; + sizes[i].y = height; + } else { + sizes[i] = _screens[i]->get_size(); + } + } + } + p_sizes = &sizes; + } + rearrange_monitors(false, false, NULL, p_sizes); + screen->resize(width, height); + if (capture) { + screen->capture_mouse(); + } + if (screen->is_out_of_sync()) { + _out_of_sync = true; + /* If the client monitor cannot handle the guest resolution + drop back to windowed mode */ + exit_full_screen(); + } +} + +void Application::minimize() +{ + for (int i = 0; i < (int)_screens.size(); i++) { + if (_screens[i]) { + _screens[i]->minimize(); + } + } +} + +void Application::destroy_monitors() +{ + for (int i = 0; i < (int)_screens.size(); i++) { + if (_screens[i]) { + _screens[i]->set_monitor(NULL); + } + } + Platform::destroy_monitors(); + _monitors = NULL; +} + +void Application::init_monitors() +{ + exit_full_screen(); + destroy_monitors(); + _monitors = &Platform::init_monitors(); +} + +void Application::on_monitors_change() +{ + if (Monitor::is_self_change()) { + return; + } + exit_full_screen(); + init_monitors(); +} + +void Application::on_display_mode_change() +{ + _client.on_display_mode_change(); +} + +uint32_t Application::get_mouse_mode() +{ + return _client.get_mouse_mode(); +} + +void Application::set_title(const std::string& title) +{ + _title = title; + + for (size_t i = 0; i < _screens.size(); ++i) { + if (_screens[i]) { + _screens[i]->set_name(_title); + } + } +} + +#ifdef USE_SMARTCARD +void Application::enable_smartcard(bool enable) +{ + _smartcard_options->enable = enable; +} +#endif + +bool Application::is_key_set_pressed(const HotkeySet& key_set) +{ + HotkeySet::const_iterator iter = key_set.begin(); + + while (iter != key_set.end()) { + if (!(_keyboard_state[iter->main] || _keyboard_state[iter->alter])) { + break; + } + ++iter; + } + + return iter == key_set.end(); +} + +int Application::get_hotkeys_command() +{ + HotKeys::const_iterator iter = _hot_keys.begin(); + + while (iter != _hot_keys.end()) { + if (is_key_set_pressed(iter->second)) { + break; + } + ++iter; + } + + return (iter != _hot_keys.end()) ? iter->first : APP_CMD_INVALID; +} + +void Application::send_key_down(RedKey key) +{ + _key_handler->on_key_down(key); +} + +void Application::send_key_up(RedKey key) +{ + _key_handler->on_key_up(key); +} + +void Application::send_alt_ctl_del() +{ + send_key_down(REDKEY_L_CTRL); + send_key_down(REDKEY_L_ALT); + send_key_down(REDKEY_DELETE); + + send_key_up(REDKEY_DELETE); + send_key_up(REDKEY_L_ALT); + send_key_up(REDKEY_L_CTRL); +} + +void Application::send_ctrl_alt_end() +{ + send_key_down(REDKEY_L_CTRL); + send_key_down(REDKEY_L_ALT); + send_key_down(REDKEY_END); + + send_key_up(REDKEY_L_CTRL); + send_key_up(REDKEY_L_ALT); + send_key_up(REDKEY_END); +} + +void Application::send_command_hotkey(int action) +{ + HotKeys::const_iterator iter = _hot_keys.find(action); + if (iter != _hot_keys.end()) { + send_hotkey_key_set(iter->second); + } +} + +void Application::send_hotkey_key_set(const HotkeySet& key_set) +{ + HotkeySet::const_iterator iter; + + for (iter = key_set.begin(); iter != key_set.end(); ++iter) { + send_key_down(iter->main); + } + + for (iter = key_set.begin(); iter != key_set.end(); ++iter) { + send_key_up(iter->main); + } +} + +int Application::get_menu_item_id(AppMenuItemType type, int32_t conn_ref, uint32_t ext_id) +{ + int free_id = APP_CMD_EXTERNAL_BEGIN; + AppMenuItem item = {type, conn_ref, ext_id}; + AppMenuItemMap::iterator iter = _app_menu_items.begin(); + for (; iter != _app_menu_items.end(); iter++) { + if (!memcmp(&(*iter).second, &item, sizeof(item))) { + return (*iter).first; + } else if (free_id == (*iter).first && ++free_id > APP_CMD_EXTERNAL_END) { + return APP_CMD_INVALID; + } + } + _app_menu_items[free_id] = item; + return free_id; +} + +void Application::clear_menu_items(int32_t opaque_conn_ref) +{ + AppMenuItemMap::iterator iter = _app_menu_items.begin(); + AppMenuItemMap::iterator curr; + + while (iter != _app_menu_items.end()) { + curr = iter++; + if (((*curr).second).conn_ref == opaque_conn_ref) { + _app_menu_items.erase(curr); + } + } +} + +void Application::remove_menu_item(int item_id) +{ + _app_menu_items.erase(item_id); +} + +int Application::get_foreign_menu_item_id(int32_t opaque_conn_ref, uint32_t msg_id) +{ + return get_menu_item_id(APP_MENU_ITEM_TYPE_FOREIGN, opaque_conn_ref, msg_id); +} + +void Application::update_menu() +{ + for (size_t i = 0; i < _screens.size(); ++i) { + if (_screens[i]) { + _screens[i]->update_menu(); + } + } +} + +//controller interface begin + +void Application::set_auto_display_res(bool auto_display_res) +{ + _client.set_auto_display_res(auto_display_res); +} + +bool Application::connect(const std::string& host, int port, int sport, const std::string& password) +{ + if (_state != DISCONNECTED) { + return false; + } + _client.set_target(host, port, sport); + _client.set_password(password); + if (!set_channels_security(port, sport)) { + return false; + } + register_channels(); + connect(); + return true; +} + +void Application::disconnect() +{ + do_disconnect(); +} + +void Application::quit() +{ + ProcessLoop::quit(SPICEC_ERROR_CODE_SUCCESS); +} + +void Application::show_me(bool full_screen) +{ + if (full_screen) { + enter_full_screen(); + } else { + _main_screen->show(true, NULL); + } +} + +void Application::hide_me() +{ + if (_full_screen) { + exit_full_screen(); + } + hide(); +} + +void Application::set_default_hotkeys(void) +{ + const std::string default_hotkeys = "toggle-fullscreen=shift+f11" + ",release-cursor=shift+f12" +#ifdef RED_DEBUG + ",connect=shift+f5" + ",disconnect=shift+f6" +#endif +#ifdef USE_GUI + ",show-gui=shift+f7" +#endif // USE_GUI +#ifdef USE_SMARTCARD + ",smartcard-insert=shift+f8" + ",smartcard-remove=shift+f9" +#endif + ""; + + this->set_hotkeys(default_hotkeys); +} + +void Application::set_hotkeys(const std::string& hotkeys) +{ + + try { + std::auto_ptr<HotKeysParser> parser(new HotKeysParser(hotkeys, _commands_map)); + _hot_keys = parser->get(); + } catch (Exception &e) { + LOG_WARN("%s", e.what()); + this->set_default_hotkeys(); + } +} + +int Application::get_controller_menu_item_id(int32_t opaque_conn_ref, uint32_t msg_id) +{ + return get_menu_item_id(APP_MENU_ITEM_TYPE_CONTROLLER, opaque_conn_ref, msg_id); +} + +void Application::set_menu(Menu* menu) +{ + if (menu) { + _app_menu.reset(menu->ref()); + } else { + init_menu(); + } + if (*_foreign_menu) { + (*_foreign_menu)->add_sub_menus(); + } + update_menu(); +} + +void Application::delete_menu() +{ + set_menu(NULL); +} + +#ifdef USE_GUI +bool Application::is_disconnect_allowed() +{ + return _gui_mode == GUI_MODE_FULL; +} +#endif // USE_GUI + +const std::string& Application::get_host() +{ + return _client.get_host(); +} + +int Application::get_port() +{ + return _client.get_port(); +} + +int Application::get_sport() +{ + return _client.get_sport(); +} + +const std::string& Application::get_password() +{ + return _client.get_password(); +} + +//controller interface end + +bool Application::set_channels_security(CmdLineParser& parser, bool on, char *val, + const char* arg0) +{ + RedPeer::ConnectionOptions::Type option; + option = (on) ? RedPeer::ConnectionOptions::CON_OP_SECURE : + RedPeer::ConnectionOptions::CON_OP_UNSECURE; + + typedef std::map< std::string, int> ChannelsNamesMap; + ChannelsNamesMap channels_names; + channels_names["main"] = SPICE_CHANNEL_MAIN; + channels_names["display"] = SPICE_CHANNEL_DISPLAY; + channels_names["inputs"] = SPICE_CHANNEL_INPUTS; + channels_names["cursor"] = SPICE_CHANNEL_CURSOR; + channels_names["playback"] = SPICE_CHANNEL_PLAYBACK; + channels_names["record"] = SPICE_CHANNEL_RECORD; +#ifdef USE_TUNNEL + channels_names["tunnel"] = SPICE_CHANNEL_TUNNEL; +#endif +#ifdef USE_SMARTCARD + channels_names["smartcard"] = SPICE_CHANNEL_SMARTCARD; +#endif + + if (!strcmp(val, "all")) { + if ((val = parser.next_argument())) { + Platform::term_printf("%s: \"all\" is exclusive in secure-channels\n", arg0); + _exit_code = SPICEC_ERROR_CODE_INVALID_ARG; + return false; + } + PeerConnectionOptMap::iterator iter = _peer_con_opt.begin(); + for (; iter != _peer_con_opt.end(); iter++) { + (*iter).second = option; + } + return true; + } + + do { + ChannelsNamesMap::iterator iter = channels_names.find(val); + if (iter == channels_names.end()) { + Platform::term_printf("%s: bad channel name \"%s\" in secure-channels\n", arg0, val); + _exit_code = SPICEC_ERROR_CODE_INVALID_ARG; + return false; + } + _peer_con_opt[(*iter).second] = option; + } while ((val = parser.next_argument())); + return true; +} + +bool Application::set_channels_security(int port, int sport) +{ + PeerConnectionOptMap::iterator iter = _peer_con_opt.begin(); + + for (; iter != _peer_con_opt.end(); iter++) { + if ((*iter).second == RedPeer::ConnectionOptions::CON_OP_SECURE) { + continue; + } + + if ((*iter).second == RedPeer::ConnectionOptions::CON_OP_UNSECURE) { + continue; + } + + if (port != -1 && sport != -1) { + (*iter).second = RedPeer::ConnectionOptions::CON_OP_BOTH; + continue; + } + + if (port != -1) { + (*iter).second = RedPeer::ConnectionOptions::CON_OP_UNSECURE; + continue; + } + + if (sport != -1) { + (*iter).second = RedPeer::ConnectionOptions::CON_OP_SECURE; + continue; + } + + _exit_code = SPICEC_ERROR_CODE_CMD_LINE_ERROR; + return false; + } + return true; +} + +bool Application::set_connection_ciphers(const char* ciphers, const char* arg0) +{ + _con_ciphers = ciphers; + return true; +} + +bool Application::set_ca_file(const char* ca_file, const char* arg0) +{ + _host_auth_opt.CA_file = ca_file; + return true; +} + +bool Application::set_host_cert_subject(const char* subject, const char* arg0) +{ + std::string subject_str(subject); + std::string::const_iterator iter = subject_str.begin(); + std::string entry; + _host_auth_opt.type_flags = SPICE_SSL_VERIFY_OP_SUBJECT; + _host_auth_opt.host_subject = subject; + + /* the follow is only checking code, subject is parsed later + ssl_verify.c. We keep simply because of better error message... */ + while (true) { + if ((iter == subject_str.end()) || (*iter == ',')) { + RedPeer::HostAuthOptions::CertFieldValuePair entry_pair; + size_t value_pos = entry.find_first_of('='); + if ((value_pos == std::string::npos) || (value_pos == (entry.length() - 1))) { + Platform::term_printf("%s: host_subject bad format: assignment for %s is missing\n", + arg0, entry.c_str()); + _exit_code = SPICEC_ERROR_CODE_INVALID_ARG; + return false; + } + size_t start_pos = entry.find_first_not_of(' '); + if ((start_pos == std::string::npos) || (start_pos == value_pos)) { + Platform::term_printf("%s: host_subject bad format: first part of assignment must be non empty in %s\n", + arg0, entry.c_str()); + _exit_code = SPICEC_ERROR_CODE_INVALID_ARG; + return false; + } + entry_pair.first = entry.substr(start_pos, value_pos - start_pos); + entry_pair.second = entry.substr(value_pos + 1); + DBG(0, "subject entry: %s=%s", entry_pair.first.c_str(), entry_pair.second.c_str()); + if (iter == subject_str.end()) { + break; + } + entry.clear(); + } else if (*iter == '\\') { + iter++; + if (iter == subject_str.end()) { + LOG_WARN("single \\ in host subject"); + entry.append(1, '\\'); + continue; + } else if ((*iter == '\\') || (*iter == ',')) { + entry.append(1, *iter); + } else { + LOG_WARN("single \\ in host subject"); + entry.append(1, '\\'); + continue; + } + } else { + entry.append(1, *iter); + } + iter++; + } + + return true; +} + +bool Application::set_canvas_option(CmdLineParser& parser, char *val, const char* arg0) +{ + typedef std::map< std::string, CanvasOption> CanvasNamesMap; + CanvasNamesMap canvas_types; + + canvas_types["sw"] = CANVAS_OPTION_SW; +#ifdef WIN32 + canvas_types["gdi"] = CANVAS_OPTION_GDI; +#endif +#ifdef USE_OPENGL + canvas_types["gl_fbo"] = CANVAS_OPTION_OGL_FBO; + canvas_types["gl_pbuff"] = CANVAS_OPTION_OGL_PBUFF; +#endif + _canvas_types.clear(); + + do { + CanvasNamesMap::iterator iter = canvas_types.find(val); + if (iter == canvas_types.end()) { + Platform::term_printf("%s: bad canvas type \"%s\"\n", arg0, val); + _exit_code = SPICEC_ERROR_CODE_INVALID_ARG; + return false; + } + _canvas_types.resize(_canvas_types.size() + 1); + _canvas_types[_canvas_types.size() - 1] = (*iter).second; + } while ((val = parser.next_argument())); + + return true; +} + +bool Application::set_enable_channels(CmdLineParser& parser, bool enable, char *val, + const char* arg0) +{ + typedef std::map< std::string, int> ChannelsNamesMap; + ChannelsNamesMap channels_names; + channels_names["display"] = SPICE_CHANNEL_DISPLAY; + channels_names["inputs"] = SPICE_CHANNEL_INPUTS; + channels_names["cursor"] = SPICE_CHANNEL_CURSOR; + channels_names["playback"] = SPICE_CHANNEL_PLAYBACK; + channels_names["record"] = SPICE_CHANNEL_RECORD; +#ifdef USE_TUNNEL + channels_names["tunnel"] = SPICE_CHANNEL_TUNNEL; +#endif +#ifdef USE_SMARTCARD + channels_names["smartcard"] = SPICE_CHANNEL_SMARTCARD; +#endif + + if (!strcmp(val, "all")) { + if ((val = parser.next_argument())) { + Platform::term_printf("%s: \"all\" is exclusive\n", arg0); + _exit_code = SPICEC_ERROR_CODE_INVALID_ARG; + return false; + } + for (unsigned int i = 0; i < _enabled_channels.size(); i++) { + _enabled_channels[i] = enable; + } + return true; + } + + do { + ChannelsNamesMap::iterator iter = channels_names.find(val); + if (iter == channels_names.end()) { + Platform::term_printf("%s: bad channel name \"%s\"\n", arg0, val); + _exit_code = SPICEC_ERROR_CODE_INVALID_ARG; + return false; + } + _enabled_channels[(*iter).second] = enable; + } while ((val = parser.next_argument())); + return true; +} + +bool Application::set_disabled_display_effects(CmdLineParser& parser, char *val, const char* arg0, + DisplaySetting& disp_setting) +{ + if (!strcmp(val, "all")) { + if ((val = parser.next_argument())) { + Platform::term_printf("%s: \"all\" is exclusive\n", arg0); + _exit_code = SPICEC_ERROR_CODE_INVALID_ARG; + return false; + } + disp_setting._disable_wallpaper = true; + disp_setting._disable_font_smooth = true; + disp_setting._disable_animation = true; + return true; + } + + do { + if (!strcmp(val, "wallpaper")) { + disp_setting._disable_wallpaper = true; + } else if (!strcmp(val, "font-smooth")) { + disp_setting._disable_font_smooth = true; + } else if (!strcmp(val, "animation")) { + disp_setting._disable_animation = true; + } else { + Platform::term_printf("%s: bad display effect type \"%s\"\n", arg0, val); + _exit_code = SPICEC_ERROR_CODE_INVALID_ARG; + return false; + } + } while ((val = parser.next_argument())); + + return true; +} + +void Application::on_cmd_line_invalid_arg(const char* arg0, const char* what, const char* val) +{ + Platform::term_printf("%s: invalid %s value %s\n", arg0, what, val); + _exit_code = SPICEC_ERROR_CODE_INVALID_ARG; +} + +void Application::register_channels() +{ + if (_enabled_channels[SPICE_CHANNEL_DISPLAY]) { + _client.register_channel_factory(DisplayChannel::Factory()); + } + + if (_enabled_channels[SPICE_CHANNEL_CURSOR]) { + _client.register_channel_factory(CursorChannel::Factory()); + } + + if (_enabled_channels[SPICE_CHANNEL_INPUTS]) { + _client.register_channel_factory(InputsChannel::Factory()); + } + + if (_enabled_channels[SPICE_CHANNEL_PLAYBACK]) { + _client.register_channel_factory(PlaybackChannel::Factory()); + } + + if (_enabled_channels[SPICE_CHANNEL_RECORD]) { + _client.register_channel_factory(RecordChannel::Factory()); + } + +#ifdef USE_TUNNEL + if (_enabled_channels[SPICE_CHANNEL_TUNNEL]) { + _client.register_channel_factory(TunnelChannel::Factory()); + } +#endif +#ifdef USE_SMARTCARD + if (_enabled_channels[SPICE_CHANNEL_SMARTCARD] && _smartcard_options->enable) { + smartcard_init(_smartcard_options); // throws Exception + _client.register_channel_factory(SmartCardChannel::Factory()); + } +#endif +} + +bool Application::process_cmd_line(int argc, char** argv, bool &full_screen) +{ + std::string host = ""; + int sport = -1; + int port = -1; + bool auto_display_res = false; + std::string password; + DisplaySetting display_setting; + + enum { + SPICE_OPT_VERSION = CmdLineParser::OPTION_FIRST_AVAILABLE, + SPICE_OPT_HOST, + SPICE_OPT_PORT, + SPICE_OPT_SPORT, + SPICE_OPT_PASSWORD, + SPICE_OPT_FULL_SCREEN, + SPICE_OPT_SECURE_CHANNELS, + SPICE_OPT_UNSECURE_CHANNELS, + SPICE_OPT_TLS_CIPHERS, + SPICE_OPT_CA_FILE, + SPICE_OPT_HOST_SUBJECT, + SPICE_OPT_ENABLE_CHANNELS, + SPICE_OPT_DISABLE_CHANNELS, + SPICE_OPT_CANVAS_TYPE, + SPICE_OPT_DISPLAY_COLOR_DEPTH, + SPICE_OPT_DISABLE_DISPLAY_EFFECTS, + SPICE_OPT_CONTROLLER, + SPICE_OPT_TITLE, + SPICE_OPT_HOTKEYS, +#ifdef USE_SMARTCARD + SPICE_OPT_SMARTCARD, + SPICE_OPT_NOSMARTCARD, + SPICE_OPT_SMARTCARD_CERT, + SPICE_OPT_SMARTCARD_DB, +#endif + }; + + full_screen = false; + +#ifdef USE_GUI + if (argc == 1) { + _gui_mode = GUI_MODE_FULL; + register_channels(); + return true; + } +#endif // USE_GUI + +#ifdef USE_GUI + _gui_mode = GUI_MODE_ACTIVE_SESSION; +#endif // USE_GUI + + CmdLineParser parser("Spice client", false); + + parser.add(SPICE_OPT_VERSION, "version", "spice client version", false); + parser.add(SPICE_OPT_HOST, "host", "spice server address", "host", true, 'h'); + parser.add(SPICE_OPT_PORT, "port", "spice server port", "port", true, 'p'); + parser.add(SPICE_OPT_SPORT, "secure-port", "spice server secure port", "port", true, 's'); + parser.add(SPICE_OPT_SECURE_CHANNELS, "secure-channels", + "force secure connection on the specified channels", "channel", + true); + parser.set_multi(SPICE_OPT_SECURE_CHANNELS, ','); + parser.add(SPICE_OPT_UNSECURE_CHANNELS, "unsecure-channels", + "force unsecure connection on the specified channels", "channel", + true); + parser.set_multi(SPICE_OPT_UNSECURE_CHANNELS, ','); + parser.add(SPICE_OPT_TLS_CIPHERS, "tls-ciphers", "ciphers for secure connections", + "ciphers", true); + parser.add(SPICE_OPT_CA_FILE, "ca-file", "truststore file for secure connections", + "ca-file", true); + parser.add(SPICE_OPT_HOST_SUBJECT, "host-subject", + "subject of the host certificate. Format: field=value pairs separated" + " by commas. Commas and backslashes within values must be preceded by" + " a backslash", "host-subject", true); + parser.add(SPICE_OPT_PASSWORD, "password", "server password", "password", true, 'w'); + parser.add(SPICE_OPT_FULL_SCREEN, "full-screen", "open in full screen mode", "auto-conf", + false, 'f'); + + parser.add(SPICE_OPT_ENABLE_CHANNELS, "enable-channels", "enable channels", "channel", true); + parser.set_multi(SPICE_OPT_ENABLE_CHANNELS, ','); + + parser.add(SPICE_OPT_DISABLE_CHANNELS, "disable-channels", "disable channels", "channel", true); + parser.set_multi(SPICE_OPT_DISABLE_CHANNELS, ','); + + parser.add(SPICE_OPT_CANVAS_TYPE, "canvas-type", "set rendering canvas", "canvas_type", true); + parser.set_multi(SPICE_OPT_CANVAS_TYPE, ','); + + parser.add(SPICE_OPT_DISPLAY_COLOR_DEPTH, "color-depth", + "guest display color depth (if supported by the guest vdagent)", + "16/32", true); + + parser.add(SPICE_OPT_DISABLE_DISPLAY_EFFECTS, "disable-effects", + "disable guest display effects " \ + "(if supported by the guest vdagent)", + "wallpaper/font-smooth/animation/all", true); + parser.set_multi(SPICE_OPT_DISABLE_DISPLAY_EFFECTS, ','); + + parser.add(SPICE_OPT_CONTROLLER, "controller", "enable external controller"); + + parser.add(SPICE_OPT_TITLE, "title", "set window title", "title", true, 't'); + parser.add(SPICE_OPT_HOTKEYS, "hotkeys", "Set hotkey keybindings", + "toggle-fullscreen=shift+f11,release-cursor=shift+f12,etc.", + true); + +#ifdef USE_SMARTCARD + parser.add(SPICE_OPT_SMARTCARD, "smartcard", "enable smartcard channel"); + parser.add(SPICE_OPT_NOSMARTCARD, "nosmartcard", "disable smartcard channel"); + parser.add(SPICE_OPT_SMARTCARD_CERT, "smartcard-cert", + "Use virtual reader+card with given cert(s)", + "smartcard-cert", true); + parser.set_multi(SPICE_OPT_SMARTCARD_CERT, ','); + parser.add(SPICE_OPT_SMARTCARD_DB, "smartcard-db", "Use given db for smartcard certs", "smartcard-db", true); +#endif + + for (int i = SPICE_CHANNEL_MAIN; i < SPICE_END_CHANNEL; i++) { + _peer_con_opt[i] = RedPeer::ConnectionOptions::CON_OP_INVALID; + } + + parser.begin(argc, argv); + + char* val; + int op; + while ((op = parser.get_option(&val)) != CmdLineParser::OPTION_DONE) { + switch (op) { + case SPICE_OPT_VERSION: { + std::ostringstream os; + os << argv[0] << " "<< PACKAGE_VERSION << std::endl; + Platform::term_printf("%s", os.str().c_str()); + return false; + } + case SPICE_OPT_HOST: + host = val; + break; + case SPICE_OPT_PORT: { + if ((port = str_to_port(val)) == -1) { + on_cmd_line_invalid_arg(argv[0], "port", val); + return false; + } + break; + } + case SPICE_OPT_SPORT: { + if ((sport = str_to_port(val)) == -1) { + on_cmd_line_invalid_arg(argv[0], "secure port", val); + return false; + } + break; + } + case SPICE_OPT_FULL_SCREEN: + if (val) { + if (strcmp(val, "auto-conf")) { + on_cmd_line_invalid_arg(argv[0], "full screen mode", val); + return false; + } + auto_display_res = true; + } + full_screen = true; + break; + case SPICE_OPT_PASSWORD: + password = val; + break; + case SPICE_OPT_SECURE_CHANNELS: + if (!set_channels_security(parser, true, val, argv[0])) { + return false; + } + break; + case SPICE_OPT_UNSECURE_CHANNELS: + if (!set_channels_security(parser, false, val, argv[0])) { + return false; + } + break; + case SPICE_OPT_TLS_CIPHERS: + if (!set_connection_ciphers(val, argv[0])) { + return false; + } + break; + case SPICE_OPT_CA_FILE: + if (!set_ca_file(val, argv[0])) { + return false; + } + break; + case SPICE_OPT_HOST_SUBJECT: + if (!set_host_cert_subject(val, argv[0])) { + return false; + } + break; + case SPICE_OPT_ENABLE_CHANNELS: + if (!set_enable_channels(parser, true, val, argv[0])) { + return false; + } + break; + case SPICE_OPT_DISABLE_CHANNELS: + if (!set_enable_channels(parser, false, val, argv[0])) { + return false; + } + break; + case SPICE_OPT_CANVAS_TYPE: + if (!set_canvas_option(parser, val, argv[0])) { + return false; + } + break; + case SPICE_OPT_DISPLAY_COLOR_DEPTH: + display_setting._set_color_depth = true; + if (!strcmp(val, "16")) { + display_setting._color_depth = 16; + } else if (!strcmp(val, "32")) { + display_setting._color_depth = 32; + } else { + on_cmd_line_invalid_arg(argv[0], "color depth", val); + return false; + } + break; + case SPICE_OPT_DISABLE_DISPLAY_EFFECTS: + if (!set_disabled_display_effects(parser, val, argv[0], display_setting)) { + return false; + } + break; + case SPICE_OPT_CONTROLLER: + if (argc > 2) { + Platform::term_printf("%s: controller cannot be combined with other options\n", + argv[0]); + _exit_code = SPICEC_ERROR_CODE_INVALID_ARG; + return false; + } + _enable_controller = true; + return true; + case SPICE_OPT_TITLE: + set_title(val); + break; + case SPICE_OPT_HOTKEYS: + set_hotkeys(val); + break; +#ifdef USE_SMARTCARD + case SPICE_OPT_SMARTCARD: + _smartcard_options->enable= true; + break; + case SPICE_OPT_NOSMARTCARD: + _smartcard_options->enable= false; // default + break; + case SPICE_OPT_SMARTCARD_CERT: + do { + _smartcard_options->certs.insert( + _smartcard_options->certs.end(), std::string(val)); + } while ((val=parser.next_argument())); + break; + case SPICE_OPT_SMARTCARD_DB: + _smartcard_options->dbname = val; + break; +#endif + case CmdLineParser::OPTION_HELP: + parser.show_help(); + return false; + case CmdLineParser::OPTION_ERROR: + _exit_code = SPICEC_ERROR_CODE_CMD_LINE_ERROR; + return false; + default: + throw Exception("cmd line error", SPICEC_ERROR_CODE_CMD_LINE_ERROR); + } + } + + if (host.empty()) { + Platform::term_printf("%s: missing --host\n", argv[0]); + _exit_code = SPICEC_ERROR_CODE_CMD_LINE_ERROR; + return false; + } + + if (parser.is_set(SPICE_OPT_SECURE_CHANNELS) && !parser.is_set(SPICE_OPT_SPORT)) { + Platform::term_printf("%s: missing --secure-port\n", argv[0]); + _exit_code = SPICEC_ERROR_CODE_CMD_LINE_ERROR; + return false; + } + + if (!set_channels_security(port, sport)) { + Platform::term_printf("%s: missing --port or --sport\n", argv[0]); + return false; + } + register_channels(); + + _client.set_target(host, port, sport); + _client.set_password(password); + _client.set_auto_display_res(auto_display_res); + _client.set_display_setting(display_setting); + + return true; +} + +#ifdef RED_DEBUG +static unsigned int log_level = LOG_DEBUG; +#else +static unsigned int log_level = LOG_INFO; +#endif + +static FILE *log_file = NULL; + +void spice_log_cleanup(void) +{ + if (log_file) { + fclose(log_file); + log_file = NULL; + } +} + +static inline std::string function_to_func_name(const std::string& f_name) +{ +#ifdef __GNUC__ + std::string name(f_name); + std::string::size_type end_pos = f_name.find('('); + if (end_pos == std::string::npos) { + return f_name; + } + std::string::size_type start = f_name.rfind(' ', end_pos); + if (start == std::string::npos) { + return name.substr(0, end_pos); + } + end_pos -= ++start; + return name.substr(start, end_pos); +#else + return f_name; +#endif +} + +void spice_log(unsigned int type, const char *function, const char *format, ...) +{ + std::string formated_message; + va_list ap; + const char *type_as_char[] = { "DEBUG", "INFO", "WARN", "ERROR", "FATAL" }; + const char *type_as_nice_char[] = { "Debug", "Info", "Warning", "Error", "Fatal error" }; + + if (type < log_level) { + return; + } + + ASSERT(type <= LOG_FATAL); + + va_start(ap, format); + string_vprintf(formated_message, format, ap); + va_end(ap); + + if (type >= log_level && log_file != NULL) { + fprintf(log_file,"%ld %s [%" PRIu64 ":%" PRIu64 "] %s: %s\n", + (long)time(NULL), type_as_char[type], + Platform::get_process_id(), + Platform::get_thread_id(), + function_to_func_name(function).c_str(), + formated_message.c_str()); + fflush(log_file); + } + + if (type >= LOG_WARN) { + fprintf(stderr, "%s: %s\n", type_as_nice_char[type], formated_message.c_str()); + } +} + +void Application::init_logger() +{ + std::string log_file_name; + + Platform::get_app_data_dir(log_file_name, app_name); + Platform::path_append(log_file_name, "spicec.log"); + + log_file = ::fopen(log_file_name.c_str(), "a"); + + if (log_file == NULL) { + fprintf(stderr, "Failed to open log file %s\n", log_file_name.c_str()); + return; + } +} + +void Application::init_globals() +{ + init_logger(); + srand((unsigned)time(NULL)); + + SSL_library_init(); + SSL_load_error_strings(); + + sw_canvas_init(); +#ifdef USE_OPENGL + gl_canvas_init(); +#endif + quic_init(); +#ifdef WIN32 + gdi_canvas_init(); +#endif +} + +/* seperated from init_globals to allow --help to work + * faster and not require X on linux. */ +void Application::init_platform_globals() +{ + Platform::init(); + RedWindow::init(); +} + +void Application::init_remainder() +{ + Platform::set_process_loop(*this); + init_monitors(); + init_menu(); + _main_screen = get_screen(0); + + Platform::set_event_listener(this); + Platform::set_display_mode_listner(this); + +#ifdef USE_GUI + _gui.reset(new GUI(*this, DISCONNECTED)); + _gui_timer.reset(new GUITimer(*_gui.get())); + activate_interval_timer(*_gui_timer, 1000 / 30); +#ifdef GUI_DEMO + _gui_test_timer.reset(new TestTimer(*this)); + activate_interval_timer(*_gui_test_timer, 1000 * 30); +#endif +#endif // USE_GUI +} + +void Application::cleanup_platform_globals() +{ + RedWindow::cleanup(); +} + +void Application::cleanup_globals() +{ +} + +int Application::main(int argc, char** argv, const char* version_str) +{ + int ret; + bool full_screen; + char *log_level_str; + + log_level_str = getenv("SPICEC_LOG_LEVEL"); + if (log_level_str) { + log_level = atoi(log_level_str); + } + + init_globals(); + LOG_INFO("starting %s", version_str); + std::string command_line = argv[0]; + for (int i = 1 ; i < argc ; ++i) { + command_line += " "; + command_line += argv[i]; + } + LOG_INFO("command line: %s", command_line.c_str()); + + std::auto_ptr<Application> app(new Application()); + AutoAbort auto_abort(*app.get()); + if (app->process_cmd_line(argc, argv, full_screen)) { + init_platform_globals(); + app->init_remainder(); + if (full_screen) { + app->enter_full_screen(); + } else { + app->_main_screen->show(true, NULL); + } + ret = app->run(); + cleanup_platform_globals(); + } else { + ret = app->_exit_code; + } + cleanup_globals(); + return ret; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/application.h b/tizen/distrib/remote/server/spice-0.12.2/client/application.h new file mode 100644 index 0000000..3f9940d --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/application.h @@ -0,0 +1,413 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_APPLICATION +#define _H_APPLICATION + +#include "common.h" +#include "threads.h" +#include "red_client.h" +#include "red_key.h" +#include "platform.h" +#include "menu.h" +#include "hot_keys.h" +#include "process_loop.h" +#include "foreign_menu.h" +#include "controller.h" + +#ifdef USE_SMARTCARD +struct SmartcardOptions; +#endif +class RedScreen; +class Application; +class ScreenLayer; +class InfoLayer; +class InputsHandler; +class Monitor; +class CmdLineParser; +class Menu; + +#ifdef USE_GUI +class GUI; +class GUITimer; +class GUIBarrier; + +#ifdef GUI_DEMO +class TestTimer; +#endif +#endif // USE_GUI + + +class ConnectedEvent: public Event { +public: + virtual void response(AbstractProcessLoop& events_loop); +}; + +class DisconnectedEvent: public Event { +public: + DisconnectedEvent() : _error_code (SPICEC_ERROR_CODE_SUCCESS) {} + DisconnectedEvent(int error_code) : _error_code (error_code) {} + virtual void response(AbstractProcessLoop& events_loop); + +private: + int _error_code; +}; + +class VisibilityEvent: public Event { +public: + VisibilityEvent(int screen_id) : _screen_id (screen_id) {} + + virtual void response(AbstractProcessLoop& events_loop); + +private: + int _screen_id; +}; + +struct MonitorInfo { + int depth; + SpicePoint size; + SpicePoint position; +}; + +class MonitorsQuery: public SyncEvent { +public: + MonitorsQuery() {} + + virtual void do_response(AbstractProcessLoop& events_loop); + std::vector<MonitorInfo>& get_monitors() {return _monitors;} + +private: + std::vector<MonitorInfo> _monitors; +}; + +class SwitchHostEvent: public Event { +public: + SwitchHostEvent(const char* host, int port, int sport, const char* cert_subject); + virtual void response(AbstractProcessLoop& events_loop); + +private: + std::string _host; + int _port; + int _sport; + std::string _cert_subject; +}; + +enum CanvasOption { + CANVAS_OPTION_INVALID, + CANVAS_OPTION_SW, +#ifdef WIN32 + CANVAS_OPTION_GDI, +#endif +#ifdef USE_OPENGL + CANVAS_OPTION_OGL_FBO, + CANVAS_OPTION_OGL_PBUFF, +#endif +}; + +class StickyKeyTimer: public Timer { +public: + virtual void response(AbstractProcessLoop& events_loop); +}; + +typedef struct StickyInfo { + bool trace_is_on; + bool sticky_mode; + bool key_first_down; // True when (1) a potential sticky key is pressed, + // and none of the other keys are pressed and (2) in the moment + // of pressing, _sticky_mode is false. When the key is up + // for the first time, it is set to false. + bool key_down; // The physical state of the sticky key. Valid only till + // stickiness is removed. + RedKey key; // the key that is currently being traced, or, + // if _sticky mode is on, the sticky key + AutoRef<StickyKeyTimer> timer; +} StickyInfo; + + +typedef std::list<KeyHandler*> KeyHandlersStack; +#ifdef USE_GUI +typedef std::list<GUIBarrier*> GUIBarriers; +#endif // USE_GUI + +enum AppMenuItemType { + APP_MENU_ITEM_TYPE_INVALID, + APP_MENU_ITEM_TYPE_FOREIGN, + APP_MENU_ITEM_TYPE_CONTROLLER, +}; + +typedef struct AppMenuItem { + AppMenuItemType type; + int32_t conn_ref; + uint32_t ext_id; +} AppMenuItem; + +typedef std::map<int, AppMenuItem> AppMenuItemMap; + +class Application : public ProcessLoop, + public Platform::EventListener, + public Platform::DisplayModeListener, + public ForeignMenuInterface, + public ControllerInterface { +public: + + enum State { + DISCONNECTED, + CONNECTING, + CONNECTED, + VISIBILITY, + DISCONECTING, + }; + +#ifdef USE_GUI + enum GuiMode { + GUI_MODE_FULL, + GUI_MODE_ACTIVE_SESSION, + GUI_MODE_MINIMAL, + }; +#endif // USE_GUI + + Application(); + virtual ~Application(); + + int run(); + + void set_key_handler(KeyHandler& handler); + void remove_key_handler(KeyHandler& handler); + void set_mouse_handler(MouseHandler& handler); + void remove_mouse_handler(MouseHandler& handler); + void capture_mouse(); + void release_mouse_capture(); + RedScreen* find_screen(int id); + RedScreen* get_screen(int id); + + void on_screen_unlocked(RedScreen& screen); + void on_screen_destroyed(int id, bool was_captured); + void on_mouse_motion(int dx, int dy, int buttons_state); + void on_mouse_down(int button, int buttons_state); + void on_mouse_up(int button, int buttons_state); + void on_key_down(RedKey key); + void on_key_up(RedKey key); + void on_char(uint32_t ch); + void on_deactivate_screen(RedScreen* screen); + void on_activate_screen(RedScreen* screen); + void on_start_screen_key_interception(RedScreen* screen); + void on_stop_screen_key_interception(RedScreen* screen); + virtual void on_start_running(); + virtual void on_app_activated(); + virtual void on_app_deactivated(); + virtual void on_monitors_change(); + virtual void on_display_mode_change(); + void on_connected(); + void on_disconnected(int spice_error_code); + void on_disconnecting(); + void on_visibility_start(int screen_id); + + void enter_full_screen(); + void exit_full_screen(); + bool toggle_full_screen(); + void resize_screen(RedScreen *screen, int width, int height); + void minimize(); + void set_title(const std::string& title); + void hide(); + void show(); + void external_show(); + void connect(); + void switch_host(const std::string& host, int port, int sport, const std::string& cert_subject); +#ifdef USE_SMARTCARD + void enable_smartcard(bool enable); +#endif + + const PeerConnectionOptMap& get_con_opt_map() {return _peer_con_opt;} + const RedPeer::HostAuthOptions& get_host_auth_opt() { return _host_auth_opt;} + const std::string& get_connection_ciphers() { return _con_ciphers;} + uint32_t get_mouse_mode(); + const std::vector<int>& get_canvas_types() { return _canvas_types;} + + Menu* get_app_menu(); + virtual void do_command(int command); + + int get_foreign_menu_item_id(int32_t opaque_conn_ref, uint32_t msg_id); + void clear_menu_items(int32_t opaque_conn_ref); + void remove_menu_item(int item_id); + void update_menu(); + + //controller interface begin + void set_auto_display_res(bool auto_display_res); + bool connect(const std::string& host, int port, int sport, const std::string& password); + void disconnect(); + void quit(); + void show_me(bool full_screen); + void hide_me(); + void set_hotkeys(const std::string& hotkeys); + void set_default_hotkeys(void); + int get_controller_menu_item_id(int32_t opaque_conn_ref, uint32_t msg_id); + void set_menu(Menu* menu); + void delete_menu(); + void beep(); + +#ifdef USE_GUI + bool is_disconnect_allowed(); + void hide_gui(); +#endif + + const std::string& get_host(); + int get_port(); + int get_sport(); + const std::string& get_password(); + //controller interface end + +#ifdef GUI_DEMO + void message_box_test(); +#endif + +#ifdef USE_SMARTCARD + const SmartcardOptions* get_smartcard_options() const { + return _smartcard_options; + } +#endif + + static int main(int argc, char** argv, const char* version_str); + +private: + bool set_channels_security(CmdLineParser& parser, bool on, char *val, const char* arg0); + bool set_channels_security(int port, int sport); + bool set_connection_ciphers(const char* ciphers, const char* arg0); + bool set_ca_file(const char* ca_file, const char* arg0); + bool set_host_cert_subject(const char* subject, const char* arg0); + bool set_enable_channels(CmdLineParser& parser, bool enable, char *val, const char* arg0); + bool set_canvas_option(CmdLineParser& parser, char *val, const char* arg0); + bool set_disabled_display_effects(CmdLineParser& parser, char *val, const char* arg0, + DisplaySetting& disp_setting); + void on_cmd_line_invalid_arg(const char* arg0, const char* what, const char* val); + bool process_cmd_line(int argc, char** argv, bool& full_screen); + void register_channels(); + void abort(); + void init_menu(); + void unpress_all(); + bool release_capture(); + bool do_connect(); + bool do_disconnect(); + void set_state(State); + + void restore_screens_size(); + Monitor* find_monitor(int id); + Monitor* get_monitor(int id); + void init_monitors(); + void destroy_monitors(); + void assign_monitors(); + void restore_monitors(); + void prepare_monitors(std::vector<SpicePoint> *sizes); + void rearrange_monitors(bool force_capture, + bool enter_full_screen, + RedScreen* screen = NULL, + std::vector<SpicePoint> *sizes = NULL); + void position_screens(); + void show_full_screen(); + void send_key_down(RedKey key); + void send_key_up(RedKey key); + void send_alt_ctl_del(); + void send_ctrl_alt_end(); + void send_command_hotkey(int command); + void send_hotkey_key_set(const HotkeySet& key_set); + void menu_item_callback(unsigned int item_id); + int get_menu_item_id(AppMenuItemType type, int32_t conn_ref, uint32_t ext_id); + int get_hotkeys_command(); + bool is_key_set_pressed(const HotkeySet& key_set); + void do_on_key_up(RedKey key); + void __remove_key_handler(KeyHandler& handler); + + void show_info_layer(); + void hide_info_layer(); +#ifdef USE_GUI + void attach_gui_barriers(); + void detach_gui_barriers(); + void show_gui(); + void create_gui_barrier(RedScreen& screen, int id); + void destroyed_gui_barrier(int id); + void destroyed_gui_barriers(); +#endif // USE_GUI + + // returns the press value before operation (i.e., if it was already pressed) + bool press_key(RedKey key); + bool unpress_key(RedKey key); + void reset_sticky(); + static bool is_sticky_trace_key(RedKey key); + void sync_keyboard_modifiers(); + + static void init_logger(); + static void init_globals(); + static void init_platform_globals(); + static void cleanup_platform_globals(); + static void cleanup_globals(); + void init_remainder(); + + friend class DisconnectedEvent; + friend class ConnectionErrorEvent; + friend class MonitorsQuery; + friend class AutoAbort; + friend class StickyKeyTimer; + +private: + RedClient _client; + PeerConnectionOptMap _peer_con_opt; + RedPeer::HostAuthOptions _host_auth_opt; + std::string _con_ciphers; + std::vector<bool> _enabled_channels; + std::vector<RedScreen*> _screens; + RedScreen* _main_screen; + bool _active; + bool _full_screen; + bool _changing_screens; + bool _out_of_sync; + int _exit_code; + RedScreen* _active_screen; + bool _keyboard_state[REDKEY_NUM_KEYS]; + int _num_keys_pressed; + HotKeys _hot_keys; + CommandsMap _commands_map; + std::auto_ptr<InfoLayer> _info_layer; + KeyHandler* _key_handler; + KeyHandlersStack _key_handlers; + MouseHandler* _mouse_handler; + const MonitorsList* _monitors; + std::string _title; + bool _sys_key_intercept_mode; + StickyInfo _sticky_info; + std::vector<int> _canvas_types; + AutoRef<Menu> _app_menu; + AutoRef<ForeignMenu> _foreign_menu; + bool _enable_controller; + AutoRef<Controller> _controller; + AppMenuItemMap _app_menu_items; +#ifdef USE_GUI + std::auto_ptr<GUI> _gui; + AutoRef<GUITimer> _gui_timer; + GUIBarriers _gui_barriers; + GuiMode _gui_mode; +#ifdef GUI_DEMO + AutoRef<TestTimer> _gui_test_timer; +#endif +#endif // USE_GUI + bool _during_host_switch; + + State _state; +#ifdef USE_SMARTCARD + SmartcardOptions* _smartcard_options; +#endif +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/audio_channels.h b/tizen/distrib/remote/server/spice-0.12.2/client/audio_channels.h new file mode 100644 index 0000000..d38a79e --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/audio_channels.h @@ -0,0 +1,108 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_AUDIO_CHANNELS +#define _H_AUDIO_CHANNELS + +#include <celt051/celt.h> + +#include "red_channel.h" +#include "debug.h" + +class ChannelFactory; + +class WavePlaybackAbstract; +class WaveRecordAbstract; +class RecordSamplesMessage; + +class PlaybackChannel: public RedChannel { +public: + PlaybackChannel(RedClient& client, uint32_t id); + ~PlaybackChannel(void); + bool abort(void); + + static ChannelFactory& Factory(); + +protected: + virtual void on_disconnect(); + +private: + void handle_mode(RedPeer::InMessage* message); + void handle_start(RedPeer::InMessage* message); + void handle_stop(RedPeer::InMessage* message); + void handle_raw_data(RedPeer::InMessage* message); + void handle_celt_data(RedPeer::InMessage* message); + void null_handler(RedPeer::InMessage* message); + void disable(); + + void set_data_handler(); + + void clear(); + +private: + WavePlaybackAbstract* _wave_player; + uint32_t _mode; + uint32_t _frame_bytes; + CELTMode *_celt_mode; + CELTDecoder *_celt_decoder; + bool _playing; + uint32_t _frame_count; +}; + +class RecordChannel: public RedChannel, private Platform::RecordClient { +public: + RecordChannel(RedClient& client, uint32_t id); + ~RecordChannel(void); + + bool abort(void); + + static ChannelFactory& Factory(); + +protected: + virtual void on_connect(); + virtual void on_disconnect(); + +private: + void handle_start(RedPeer::InMessage* message); + void handle_stop(RedPeer::InMessage* message); + + virtual void add_event_source(EventSources::File& event_source); + virtual void remove_event_source(EventSources::File& event_source); + virtual void add_event_source(EventSources::Trigger& event_source); + virtual void remove_event_source(EventSources::Trigger& event_source); + virtual void push_frame(uint8_t *frame); + + void send_start_mark(); + void release_message(RecordSamplesMessage *message); + RecordSamplesMessage * get_message(); + void clear(); + +private: + WaveRecordAbstract* _wave_recorder; + Mutex _messages_lock; + std::list<RecordSamplesMessage *> _messages; + int _mode; + CELTMode *_celt_mode; + CELTEncoder *_celt_encoder; + uint32_t _frame_bytes; + + static int data_mode; + + friend class RecordSamplesMessage; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/audio_devices.h b/tizen/distrib/remote/server/spice-0.12.2/client/audio_devices.h new file mode 100644 index 0000000..a1da1f7 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/audio_devices.h @@ -0,0 +1,51 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_AUDIO_DEVICES +#define _H_AUDIO_DEVICES + +class WavePlaybackAbstract { +public: + WavePlaybackAbstract() {} + virtual ~WavePlaybackAbstract() {} + + virtual bool write(uint8_t* frame) = 0; + virtual bool abort() = 0; + virtual void stop() = 0; + virtual uint32_t get_delay_ms() = 0; + + enum { + FRAME_SIZE = 256, + }; +}; + +class WaveRecordAbstract { +public: + WaveRecordAbstract() {} + virtual ~WaveRecordAbstract() {} + + + virtual void start() = 0; + virtual void stop() = 0; + virtual bool abort() = 0; + + enum { + FRAME_SIZE = 256, + }; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/cache.hpp b/tizen/distrib/remote/server/spice-0.12.2/client/cache.hpp new file mode 100644 index 0000000..e267f42 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/cache.hpp @@ -0,0 +1,120 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_CACHE +#define _H_CACHE + +#include "utils.h" + +/*class Cache::Treat { + T* get(T*); + void release(T*); + const char* name(); +};*/ + +template <class T, class Treat, int HASH_SIZE, class Base = EmptyBase> +class Cache : public Base { +public: + Cache() + { + memset(_hash, 0, sizeof(_hash)); + } + + ~Cache() + { + clear(); + } + + void add(uint64_t id, T* data) + { + Item** item = &_hash[key(id)]; + + while (*item) { + if ((*item)->id == id) { + THROW("%s id %" PRIu64 ", double insert", Treat::name(), id); + } + item = &(*item)->next; + } + *item = new Item(id, data); + } + + T* get(uint64_t id) + { + Item* item = _hash[key(id)]; + + while (item && item->id != id) { + item = item->next; + } + + if (!item) { + THROW("%s id %" PRIu64 ", not found", Treat::name(), id); + } + return Treat::get(item->data); + } + + void remove(uint64_t id) + { + Item** item = &_hash[key(id)]; + + while (*item) { + if ((*item)->id == id) { + Item *rm_item = *item; + *item = rm_item->next; + delete rm_item; + return; + } + item = &(*item)->next; + } + THROW("%s id %" PRIu64 ", not found", Treat::name(), id); + } + + void clear() + { + for (int i = 0; i < HASH_SIZE; i++) { + while (_hash[i]) { + Item *item = _hash[i]; + _hash[i] = item->next; + delete item; + } + } + } + +private: + inline uint32_t key(uint64_t id) {return uint32_t(id) % HASH_SIZE;} + +private: + class Item { + public: + Item(uint64_t in_id, T* data) + : id (in_id) + , next (NULL) + , data (Treat::get(data)) {} + + ~Item() + { + Treat::release(data); + } + + uint64_t id; + Item* next; + T* data; + }; + + Item* _hash[HASH_SIZE]; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/canvas.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/canvas.cpp new file mode 100644 index 0000000..f132186 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/canvas.cpp @@ -0,0 +1,186 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "canvas.h" +#include "utils.h" +#include "debug.h" + +static SpiceCanvas* surfaces_cache_op_get(SpiceImageSurfaces *surfaces, uint32_t surface_id) +{ + SurfacesCache* surfaces_cache = static_cast<SurfacesCache*>(surfaces); + if (!surfaces_cache->exist(surface_id)) { + return NULL; + } + return (*surfaces_cache)[surface_id]->get_internal_canvas(); +} + +SurfacesCache::SurfacesCache() +{ + static SpiceImageSurfacesOps surfaces_ops = { + surfaces_cache_op_get, + }; + ops = &surfaces_ops; +} + +bool SurfacesCache::exist(uint32_t surface_id) +{ + return (this->count(surface_id) != 0); +} + +Canvas::Canvas(PixmapCache& pixmap_cache, PaletteCache& palette_cache, + GlzDecoderWindow &glz_decoder_window, SurfacesCache &csurfaces) + : _canvas (NULL) + , _pixmap_cache (pixmap_cache) + , _palette_cache (palette_cache) + , _glz_decoder(glz_decoder_window, _glz_handler, _glz_debug) + , _surfaces_cache(csurfaces) +{ +} + +Canvas::~Canvas() +{ + /* _canvas is both set and destroyed by derived class */ +} + +void Canvas::clear() +{ + if (_canvas) { + _canvas->ops->clear(_canvas); + } +} + +void Canvas::begin_draw(SpiceMsgDisplayBase& base, int size, size_t min_size) +{ +} + +void Canvas::draw_fill(SpiceMsgDisplayDrawFill& fill, int size) +{ + begin_draw(fill.base, size, sizeof(SpiceMsgDisplayDrawFill)); + _canvas->ops->draw_fill(_canvas, &fill.base.box, &fill.base.clip, &fill.data); + touched_bbox(&fill.base.box); +} + +void Canvas::draw_text(SpiceMsgDisplayDrawText& text, int size) +{ + begin_draw(text.base, size, sizeof(SpiceMsgDisplayDrawText)); + _canvas->ops->draw_text(_canvas, &text.base.box, &text.base.clip, &text.data); + touched_bbox(&text.base.box); +} + +void Canvas::draw_opaque(SpiceMsgDisplayDrawOpaque& opaque, int size) +{ + begin_draw(opaque.base, size, sizeof(SpiceMsgDisplayDrawOpaque)); + _canvas->ops->draw_opaque(_canvas, &opaque.base.box, &opaque.base.clip, &opaque.data); + touched_bbox(&opaque.base.box); +} + +void Canvas::draw_copy(SpiceMsgDisplayDrawCopy& copy, int size) +{ + begin_draw(copy.base, size, sizeof(SpiceMsgDisplayDrawCopy)); + _canvas->ops->draw_copy(_canvas, ©.base.box, ©.base.clip, ©.data); + touched_bbox(©.base.box); +} + +void Canvas::draw_transparent(SpiceMsgDisplayDrawTransparent& transparent, int size) +{ + begin_draw(transparent.base, size, sizeof(SpiceMsgDisplayDrawTransparent)); + _canvas->ops->draw_transparent(_canvas, &transparent.base.box, &transparent.base.clip, &transparent.data); + touched_bbox(&transparent.base.box); +} + +void Canvas::draw_alpha_blend(SpiceMsgDisplayDrawAlphaBlend& alpha_blend, int size) +{ + begin_draw(alpha_blend.base, size, sizeof(SpiceMsgDisplayDrawAlphaBlend)); + _canvas->ops->draw_alpha_blend(_canvas, &alpha_blend.base.box, &alpha_blend.base.clip, &alpha_blend.data); + touched_bbox(&alpha_blend.base.box); +} + +void Canvas::draw_composite(SpiceMsgDisplayDrawComposite& composite, int size) +{ + begin_draw(composite.base, size, sizeof(SpiceMsgDisplayDrawComposite)); + _canvas->ops->draw_composite(_canvas, &composite.base.box, &composite.base.clip, &composite.data); + touched_bbox(&composite.base.box); +} + +void Canvas::copy_bits(SpiceMsgDisplayCopyBits& copy, int size) +{ + begin_draw(copy.base, size, sizeof(SpiceMsgDisplayCopyBits)); + _canvas->ops->copy_bits(_canvas, ©.base.box, ©.base.clip, ©.src_pos); + touched_bbox(©.base.box); +} + +void Canvas::draw_blend(SpiceMsgDisplayDrawBlend& blend, int size) +{ + begin_draw(blend.base, size, sizeof(SpiceMsgDisplayDrawBlend)); + _canvas->ops->draw_blend(_canvas, &blend.base.box, &blend.base.clip, &blend.data); + touched_bbox(&blend.base.box); +} + +void Canvas::draw_blackness(SpiceMsgDisplayDrawBlackness& blackness, int size) +{ + begin_draw(blackness.base, size, sizeof(SpiceMsgDisplayDrawBlackness)); + _canvas->ops->draw_blackness(_canvas, &blackness.base.box, &blackness.base.clip, &blackness.data); + touched_bbox(&blackness.base.box); +} + +void Canvas::draw_whiteness(SpiceMsgDisplayDrawWhiteness& whiteness, int size) +{ + begin_draw(whiteness.base, size, sizeof(SpiceMsgDisplayDrawWhiteness)); + _canvas->ops->draw_whiteness(_canvas, &whiteness.base.box, &whiteness.base.clip, &whiteness.data); + touched_bbox(&whiteness.base.box); +} + +void Canvas::draw_invers(SpiceMsgDisplayDrawInvers& invers, int size) +{ + begin_draw(invers.base, size, sizeof(SpiceMsgDisplayDrawInvers)); + _canvas->ops->draw_invers(_canvas, &invers.base.box, &invers.base.clip, &invers.data); + touched_bbox(&invers.base.box); +} + +void Canvas::draw_rop3(SpiceMsgDisplayDrawRop3& rop3, int size) +{ + begin_draw(rop3.base, size, sizeof(SpiceMsgDisplayDrawRop3)); + _canvas->ops->draw_rop3(_canvas, &rop3.base.box, &rop3.base.clip, &rop3.data); + touched_bbox(&rop3.base.box); +} + +void Canvas::draw_stroke(SpiceMsgDisplayDrawStroke& stroke, int size) +{ + begin_draw(stroke.base, size, sizeof(SpiceMsgDisplayDrawStroke)); + _canvas->ops->draw_stroke(_canvas, &stroke.base.box, &stroke.base.clip, &stroke.data); + touched_bbox(&stroke.base.box); +} + +void Canvas::put_image( +#ifdef WIN32 + HDC dc, +#endif + const PixmapHeader& image, const SpiceRect& dest, const QRegion* clip) +{ + _canvas->ops->put_image(_canvas, +#ifdef WIN32 + dc, +#endif + &dest, image.data, image.width, image.height, image.stride, + clip); + touched_bbox(&dest); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/canvas.h b/tizen/distrib/remote/server/spice-0.12.2/client/canvas.h new file mode 100644 index 0000000..213a753 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/canvas.h @@ -0,0 +1,352 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_CANVAS +#define _H_CANVAS + +#include <map> + +#include "common/region.h" +#include "common/messages.h" +#include "common/canvas_utils.h" + +#include "common.h" +#include "debug.h" +#include "cache.hpp" +#include "shared_cache.hpp" +#include "glz_decoded_image.h" +#include "glz_decoder.h" +#include "jpeg_decoder.h" +#include "zlib_decoder.h" + +enum CanvasType { + CANVAS_TYPE_INVALID, + CANVAS_TYPE_SW, + CANVAS_TYPE_GL, + CANVAS_TYPE_GDI, +}; + +class PixmapCacheTreat { +public: + static inline pixman_image_t *get(pixman_image_t *surf) + { + return pixman_image_ref(surf); + } + + static inline void release(pixman_image_t *surf) + { + pixman_image_unref(surf); + } + + static const char* name() { return "pixmap";} +}; + +class SpiceImageCacheBase; + +typedef SharedCache<pixman_image_t, PixmapCacheTreat, 1024, SpiceImageCacheBase> PixmapCache; + +class SpiceImageCacheBase { +public: + SpiceImageCache base; + + static void op_put(SpiceImageCache *c, uint64_t id, pixman_image_t *surface) + { + PixmapCache* cache = reinterpret_cast<PixmapCache*>(c); + cache->add(id, surface); + } + + static void op_put_lossy(SpiceImageCache *c, uint64_t id, pixman_image_t *surface) + { + PixmapCache* cache = reinterpret_cast<PixmapCache*>(c); + cache->add(id, surface, TRUE); + } + + static void op_replace_lossy(SpiceImageCache *c, uint64_t id, pixman_image_t *surface) + { + PixmapCache* cache = reinterpret_cast<PixmapCache*>(c); + cache->replace(id, surface); + } + + static pixman_image_t* op_get(SpiceImageCache *c, uint64_t id) + { + PixmapCache* cache = reinterpret_cast<PixmapCache*>(c); + return cache->get(id); + } + + static pixman_image_t* op_get_lossless(SpiceImageCache *c, uint64_t id) + { + PixmapCache* cache = reinterpret_cast<PixmapCache*>(c); + return cache->get_lossless(id); + } + + SpiceImageCacheBase() + { + static SpiceImageCacheOps cache_ops = { + op_put, + op_get, + op_put_lossy, + op_replace_lossy, + op_get_lossless + }; + base.ops = &cache_ops; + } +}; + + +class CachedPalette { +public: + CachedPalette(SpicePalette* palette) + : _refs(1) + { + int size = sizeof(SpicePalette) + palette->num_ents * sizeof(uint32_t); + CachedPalette **ptr = (CachedPalette **)new uint8_t[size + sizeof(CachedPalette *)]; + *ptr = this; + _palette = (SpicePalette*)(ptr + 1); + memcpy(_palette, palette, size); + } + + CachedPalette* ref() + { + _refs++; + return this; + } + + void unref() + { + if (--_refs == 0) { + delete this; + } + } + + static void unref(SpicePalette *pal) + { + CachedPalette **ptr = (CachedPalette **)pal; + (*(ptr - 1))->unref(); + } + + SpicePalette* palette() { return _palette;} + +private: + ~CachedPalette() + { + delete[] (uint8_t *)((CachedPalette **)_palette - 1); + } + +private: + int _refs; + SpicePalette* _palette; +}; + +class PaletteCacheTreat { +public: + static inline CachedPalette* get(CachedPalette* palette) + { + return palette->ref(); + } + + static inline void release(CachedPalette* palette) + { + palette->unref(); + } + + static const char* name() { return "palette";} +}; + +class SpicePaletteCacheBase; +typedef Cache<CachedPalette, PaletteCacheTreat, 1024, SpicePaletteCacheBase> PaletteCache; + +class SpicePaletteCacheBase { +public: + SpicePaletteCache base; + + static void op_put(SpicePaletteCache *c, SpicePalette *palette) + { + PaletteCache* cache = reinterpret_cast<PaletteCache*>(c); + AutoRef<CachedPalette> cached_palette(new CachedPalette(palette)); + cache->add(palette->unique, *cached_palette); + } + + static SpicePalette* op_get(SpicePaletteCache *c, uint64_t id) + { + PaletteCache* cache = reinterpret_cast<PaletteCache*>(c); + return cache->get(id)->palette(); + } + + static void op_release (SpicePaletteCache *c, + SpicePalette *palette) + { + CachedPalette::unref(palette); + } + + SpicePaletteCacheBase() + { + static SpicePaletteCacheOps cache_ops = { + op_put, + op_get, + op_release + }; + base.ops = &cache_ops; + } +}; + + +/* Lz decoder related classes */ + +class GlzDecodedSurface: public GlzDecodedImage { +public: + GlzDecodedSurface(uint64_t id, uint64_t win_head_id, uint8_t *data, int size, + int bytes_per_pixel, pixman_image_t *surface) + : GlzDecodedImage(id, win_head_id, data, size, bytes_per_pixel) + , _surface (surface) + { + pixman_image_ref(_surface); + } + + virtual ~GlzDecodedSurface() + { + pixman_image_unref(_surface); + } + +private: + pixman_image_t *_surface; +}; + +class GlzDecodeSurfaceHandler: public GlzDecodeHandler { +public: + virtual GlzDecodedImage *alloc_image(void *opaque_usr_info, uint64_t image_id, + uint64_t image_win_head_id, LzImageType type, + int width, int height, int gross_pixels, + int n_bytes_per_pixel, bool top_down) + { + ASSERT(type == LZ_IMAGE_TYPE_RGB32 || type == LZ_IMAGE_TYPE_RGBA); + + pixman_image_t *surface = + alloc_lz_image_surface((LzDecodeUsrData *)opaque_usr_info, + type == LZ_IMAGE_TYPE_RGBA ? PIXMAN_a8r8g8b8 : PIXMAN_x8r8g8b8, + width, height, gross_pixels, top_down); + uint8_t *data = (uint8_t *)pixman_image_get_data(surface); + if (!top_down) { + data = data - (gross_pixels / height) * n_bytes_per_pixel * (height - 1); + } + + return (new GlzDecodedSurface(image_id, image_win_head_id, data, + gross_pixels, n_bytes_per_pixel, surface)); + } +}; + +/* TODO: unite with the window debug callbacks? */ +class GlzDecoderCanvasDebug: public GlzDecoderDebug { +public: + virtual SPICE_GNUC_NORETURN void error(const std::string& str) + { + throw Exception(str); + } + + virtual void warn(const std::string& str) + { + LOG_WARN("%s", str.c_str()); + } + + virtual void info(const std::string& str) + { + LOG_INFO("%s", str.c_str()); + } +}; + +class Canvas; + +typedef std::map<uint32_t, Canvas*> SurfacesCanvasesMap; + +class SurfacesCache: public SpiceImageSurfaces, public SurfacesCanvasesMap { +public: + SurfacesCache(); + bool exist(uint32_t surface_id); +}; + +class Canvas { +public: + Canvas(PixmapCache& bits_cache, PaletteCache& palette_cache, + GlzDecoderWindow &glz_decoder_window, SurfacesCache& csurfaces); + virtual ~Canvas(); + + virtual void copy_pixels(const QRegion& region, RedDrawable* dc, + const PixmapHeader* pixmap) = 0; + virtual void copy_pixels(const QRegion& region, RedDrawable& dc) = 0; + virtual void thread_touch() = 0; + + void clear(); + + void draw_fill(SpiceMsgDisplayDrawFill& fill, int size); + void draw_text(SpiceMsgDisplayDrawText& text, int size); + void draw_opaque(SpiceMsgDisplayDrawOpaque& opaque, int size); + void draw_copy(SpiceMsgDisplayDrawCopy& copy, int size); + void draw_transparent(SpiceMsgDisplayDrawTransparent& transparent, int size); + void draw_alpha_blend(SpiceMsgDisplayDrawAlphaBlend& alpha_blend, int size); + void copy_bits(SpiceMsgDisplayCopyBits& copy_bits, int size); + void draw_blend(SpiceMsgDisplayDrawBlend& blend, int size); + void draw_blackness(SpiceMsgDisplayDrawBlackness& blackness, int size); + void draw_whiteness(SpiceMsgDisplayDrawWhiteness& whiteness, int size); + void draw_invers(SpiceMsgDisplayDrawInvers& invers, int size); + void draw_rop3(SpiceMsgDisplayDrawRop3& rop3, int size); + void draw_stroke(SpiceMsgDisplayDrawStroke& stroke, int size); + void draw_composite(SpiceMsgDisplayDrawComposite& composite, int size); + + void put_image( +#ifdef WIN32 + HDC dc, +#endif + const PixmapHeader& image, + const SpiceRect& dest, const QRegion* clip); + + virtual CanvasType get_pixmap_type() { return CANVAS_TYPE_INVALID; } + + virtual SpiceCanvas *get_internal_canvas() { return _canvas; } + +protected: + virtual void touched_bbox(const SpiceRect *bbox) {}; + + PixmapCache& pixmap_cache() { return _pixmap_cache;} + PaletteCache& palette_cache() { return _palette_cache;} + SurfacesCache& surfaces_cache() { return _surfaces_cache;} + + GlzDecoder& glz_decoder() {return _glz_decoder;} + JpegDecoder& jpeg_decoder() { return _jpeg_decoder;} + ZlibDecoder& zlib_decoder() { return _zlib_decoder;} + +private: + void begin_draw(SpiceMsgDisplayBase& base, int size, size_t min_size); + +protected: + SpiceCanvas* _canvas; + +private: + PixmapCache& _pixmap_cache; + PaletteCache& _palette_cache; + + GlzDecodeSurfaceHandler _glz_handler; + GlzDecoderCanvasDebug _glz_debug; + GlzDecoder _glz_decoder; + + JpegDecoder _jpeg_decoder; + ZlibDecoder _zlib_decoder; + + SurfacesCache& _surfaces_cache; +}; + + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/client_net_socket.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/client_net_socket.cpp new file mode 100644 index 0000000..9df6801 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/client_net_socket.cpp @@ -0,0 +1,388 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. + + + Author: + yhalperi@redhat.com +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "client_net_socket.h" +#include "debug.h" +#include <spice/error_codes.h> +#include "utils.h" + +ClientNetSocket::ClientNetSocket(uint16_t id, const struct in_addr& dst_addr, uint16_t dst_port, + ProcessLoop& process_loop, EventHandler& event_handler) + : _id (id) + , _local_addr (dst_addr) + , _local_port (dst_port) + , _peer (INVALID_SOCKET) + , _process_loop (process_loop) + , _event_handler (event_handler) + , _num_recv_tokens (0) + , _send_message (NULL) + , _send_pos (0) + , _status (SOCKET_STATUS_CLOSED) + , _fin_pending (false) + , _close_pending (false) +{ +} + +ClientNetSocket::~ClientNetSocket() +{ + close(); +} + +bool ClientNetSocket::connect(uint32_t recv_tokens) +{ + struct sockaddr_in addr; + int no_delay; + + + ASSERT(_peer == INVALID_SOCKET && _status == SOCKET_STATUS_CLOSED); + + addr.sin_port = _local_port; + addr.sin_addr.s_addr = _local_addr.s_addr; + addr.sin_family = AF_INET; + + if ((_peer = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP)) == INVALID_SOCKET) { + int err = sock_error(); + THROW("%s: failed to create socket: %s", __FUNCTION__, sock_err_message(err)); + } + + no_delay = 1; + if (setsockopt(_peer, IPPROTO_TCP, TCP_NODELAY, + (const char*)&no_delay, sizeof(no_delay)) == SOCKET_ERROR) { + LOG_WARN("set TCP_NODELAY failed"); + } + + LOG_INFO("connect to ip=%s port=%d (connection_id=%d)", + inet_ntoa(addr.sin_addr), ntohs(addr.sin_port), _id); + + if (::connect(_peer, (struct sockaddr*)&addr, sizeof(sockaddr_in)) == SOCKET_ERROR) { + int err = sock_error(); + closesocket(_peer); + _peer = INVALID_SOCKET; + LOG_INFO("connect to ip=%s port=%d failed %s (connection_id=%d)", + inet_ntoa(addr.sin_addr), ntohs(addr.sin_port), sock_err_message(err), _id); + return false; + } + + _process_loop.add_socket(*this); + _status = SOCKET_STATUS_OPEN; + _num_recv_tokens = recv_tokens; + return true; +} + +void ClientNetSocket::push_disconnect() +{ + if ((_status == SOCKET_STATUS_CLOSED) || _close_pending) { + THROW("%s: disconnect attempt for disconnected socket %s %d", __FUNCTION__, + inet_ntoa(_local_addr), ntohs(_local_port)); + } + + _close_pending = true; + + if (!during_send()) { + close_and_tell(); + } +} + +void ClientNetSocket::push_fin() +{ + if ((_status == SOCKET_STATUS_OPEN) || (_status == SOCKET_STATUS_RECEIVED_FIN)) { + _fin_pending = true; + if (!during_send()) { + try { + apply_guest_fin(); + } catch (ClientNetSocket::ShutdownExcpetion&) { + close_and_tell(); + } + } + } else { + THROW("%s: unexpected fin connection_id=%d (status=%d)", __FUNCTION__, + _id, _status); + } +} + +void ClientNetSocket::add_recv_tokens(uint32_t num_tokens) +{ + if ((_status == SOCKET_STATUS_CLOSED) || _close_pending) { + THROW("%s: ack attempt for disconnected socket connection_id=%d", __FUNCTION__, + _id); + } + + _num_recv_tokens += num_tokens; + + // recv might have not been called because tokens weren't available + if (_num_recv_tokens && (_num_recv_tokens == num_tokens)) { + if (can_receive()) { + receive(); + } + } +} + +void ClientNetSocket::push_send(SendBuffer& buf) +{ + if (!can_send()) { + THROW("%s: unexpected send attempt for connection_id=%d (status = %d)", + __FUNCTION__, _id, _status); + } + + if (_fin_pending || _close_pending) { + THROW("%s: unexpected send attempt for connection_id=%d - shutdown send pending", + __FUNCTION__, _id); + } + + _send_messages.push_back(buf.ref()); + send(); +} + +void ClientNetSocket::on_event() +{ + if (can_send()) { + send(); + } + + if (!during_send()) { + if (_close_pending) { + close_and_tell(); + } else if (_fin_pending) { + apply_guest_fin(); + } + } + + if (can_receive()) { + receive(); + } +} + +void ClientNetSocket::apply_guest_fin() +{ + if (_status == SOCKET_STATUS_OPEN) { + if (shutdown(_peer, SHUT_WR) == SOCKET_ERROR) { + int err = sock_error(); + LOG_INFO("shutdown in connection_id=%d failed %s", _id, sock_err_message(err)); + throw ClientNetSocket::ShutdownExcpetion(); + } + + _fin_pending = false; + _status = SOCKET_STATUS_SENT_FIN; + } else if (_status == SOCKET_STATUS_RECEIVED_FIN) { + close_and_tell(); + } +} + +void ClientNetSocket::handle_client_fin() +{ + if (_status == SOCKET_STATUS_OPEN) { + _status = SOCKET_STATUS_RECEIVED_FIN; + _event_handler.on_socket_fin_recv(*this); + } else if (_status == SOCKET_STATUS_SENT_FIN) { + close_and_tell(); + } +} + +inline bool ClientNetSocket::during_send() +{ + return ((!_send_messages.empty()) || _send_message); +} + +inline bool ClientNetSocket::can_send() +{ + return ((_status == SOCKET_STATUS_OPEN) || (_status == SOCKET_STATUS_RECEIVED_FIN)); +} + +inline bool ClientNetSocket::can_receive() +{ + return ((_status == SOCKET_STATUS_OPEN) || (_status == SOCKET_STATUS_SENT_FIN)); +} + +void ClientNetSocket::send_message_done() +{ + _send_message->unref(); + _send_message = NULL; + _send_pos = 0; + _event_handler.on_socket_message_send_done(*this); +} + +void ClientNetSocket::send() +{ + ASSERT(_peer != INVALID_SOCKET); + try { + if (_send_message) { + _send_pos += send_buf(_send_message->data() + _send_pos, + _send_message->size() - _send_pos); + + if (_send_pos != _send_message->size()) { + return; + } else { + send_message_done(); + } + } + + while (!_send_messages.empty()) { + _send_message = _send_messages.front(); + _send_messages.pop_front(); + _send_pos = send_buf(_send_message->data(), _send_message->size()); + if (_send_pos != _send_message->size()) { + return; + } else { + send_message_done(); + } + } + } catch (ClientNetSocket::SendException&) { + close_and_tell(); + } +} + +uint32_t ClientNetSocket::send_buf(const uint8_t* buf, uint32_t size) +{ + const uint8_t* pos = buf; + ASSERT(_peer != INVALID_SOCKET); + while (size) { + int now; + if ((now = ::send(_peer, (char*)pos, size, MSG_NOSIGNAL)) == SOCKET_ERROR) { + int err = sock_error(); + if (err == WOULDBLOCK_ERR) { + break; + } + + if (err == INTERRUPTED_ERR) { + continue; + } + + LOG_INFO("send in connection_id=%d failed %s", _id, sock_err_message(err)); + throw ClientNetSocket::SendException(); + } + size -= now; + pos += now; + } + return pos - buf; +} + +void ClientNetSocket::receive() +{ + ASSERT(_peer != INVALID_SOCKET); + bool shutdown; + while (_num_recv_tokens) { + ReceiveBuffer& rcv_buf = alloc_receive_buffer(); + uint32_t size; + + try { + size = receive_buf(rcv_buf.buf(), rcv_buf.buf_max_size(), shutdown); + } catch (ClientNetSocket::ReceiveException&) { + rcv_buf.release_buf(); + close_and_tell(); + return; + } + + if (size) { + rcv_buf.set_buf_size(size); + _num_recv_tokens--; + _event_handler.on_socket_message_recv_done(*this, rcv_buf); + } else { + rcv_buf.release_buf(); + } + + if (shutdown) { + handle_client_fin(); + return; + } + + if (size < rcv_buf.buf_max_size()) { + return; + } + } +} + +uint32_t ClientNetSocket::receive_buf(uint8_t* buf, uint32_t max_size, bool& shutdown) +{ + uint8_t* pos = buf; + ASSERT(_peer != INVALID_SOCKET); + + shutdown = false; + + while (max_size) { + int now; + if ((now = ::recv(_peer, (char*)pos, max_size, 0)) <= 0) { + if (now == 0) { + shutdown = true; + break; // a case where fin is received, but before that, there is a msg + } + + int err = sock_error(); + + if (err == WOULDBLOCK_ERR) { + break; + } + + if (err == INTERRUPTED_ERR) { + continue; + } + + LOG_INFO("receive in connection_id=%d failed errno=%s", _id, sock_err_message(err)); + throw ClientNetSocket::ReceiveException(); + } + max_size -= now; + pos += now; + } + + return (pos - buf); +} + +void ClientNetSocket::release_wait_send_messages() +{ + if (_send_message) { + _send_message->unref(); + _send_message = NULL; + _send_pos = 0; + } + + while (!_send_messages.empty()) { + _send_messages.front()->unref(); + _send_messages.pop_front(); + } +} + +void ClientNetSocket::close() +{ + release_wait_send_messages(); + apply_disconnect(); +} + +void ClientNetSocket::close_and_tell() +{ + close(); + _event_handler.on_socket_disconnect(*this); +} + +void ClientNetSocket::apply_disconnect() +{ + if (_peer != INVALID_SOCKET) { + _process_loop.remove_socket(*this); + closesocket(_peer); + _peer = INVALID_SOCKET; + LOG_INFO("closing connection_id=%d", _id); + } + _status = SOCKET_STATUS_CLOSED; + _close_pending = false; + _fin_pending = false; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/client_net_socket.h b/tizen/distrib/remote/server/spice-0.12.2/client/client_net_socket.h new file mode 100644 index 0000000..bc9bdd1 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/client_net_socket.h @@ -0,0 +1,154 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. + + Author: + yhalperi@redhat.com +*/ + +#ifndef _H_CLIENT_NET_SOCKET +#define _H_CLIENT_NET_SOCKET + +#include "platform_utils.h" +#include "common.h" +#include "process_loop.h" + +/* interface for connections inside client LAN */ + +typedef enum { + SOCKET_STATUS_OPEN, + SOCKET_STATUS_SENT_FIN, + SOCKET_STATUS_RECEIVED_FIN, + SOCKET_STATUS_CLOSED, +} SocketStatus; + +class ClientNetSocket: public EventSources::Socket { +public: + class ReceiveBuffer; + class SendBuffer; + + class EventHandler; + + class SendException {}; + class ReceiveException {}; + class ShutdownExcpetion {}; + + ClientNetSocket(uint16_t id, const struct in_addr& dst_addr, uint16_t dst_port, + ProcessLoop& process_loop, ClientNetSocket::EventHandler& event_handler); + virtual ~ClientNetSocket(); + + bool connect(uint32_t recv_tokens); + void push_disconnect(); + void push_fin(); + void push_send(SendBuffer& buf); + void add_recv_tokens(uint32_t num_tokens); + + bool is_connected() {return _status != SOCKET_STATUS_CLOSED;} + + inline uint16_t id() {return _id;} + inline const struct in_addr& local_addr() {return _local_addr;} + inline uint16_t local_port() {return _local_port;} + + /* EventSources::Socket interface */ + void on_event(); + int get_socket() {return _peer;} + +protected: + virtual ReceiveBuffer& alloc_receive_buffer() = 0; + +private: + void send(); + void receive(); + + uint32_t send_buf(const uint8_t* buf, uint32_t size); + uint32_t receive_buf(uint8_t* buf, uint32_t max_size, bool& shutdown); + + bool can_receive(); + bool can_send(); + + void apply_disconnect(); + void apply_guest_fin(); + + void close(); + void close_and_tell(); + + void handle_client_fin(); + + bool during_send(); + void release_wait_send_messages(); + void clear(); + void send_message_done(); + +private: + uint16_t _id; + struct in_addr _local_addr; + uint16_t _local_port; + + SOCKET _peer; + + ProcessLoop& _process_loop; + + EventHandler& _event_handler; + + uint32_t _num_recv_tokens; + + std::list<SendBuffer*> _send_messages; + SendBuffer* _send_message; + uint32_t _send_pos; + + SocketStatus _status; + bool _fin_pending; + bool _close_pending; +}; + +class ClientNetSocket::ReceiveBuffer { +public: + ReceiveBuffer() {} + + virtual uint8_t* buf() = 0; + virtual uint32_t buf_max_size() = 0; + virtual void set_buf_size(uint32_t size) = 0; + virtual void release_buf() = 0; + +protected: + virtual ~ReceiveBuffer() {} +}; + +class ClientNetSocket::SendBuffer { +public: + SendBuffer() {}; + + virtual const uint8_t* data() = 0; + virtual uint32_t size() = 0; + virtual ClientNetSocket::SendBuffer* ref() = 0; + virtual void unref() = 0; + +protected: + virtual ~SendBuffer() {} +}; + +class ClientNetSocket::EventHandler { +public: + EventHandler() {} + virtual ~EventHandler() {} + virtual void on_socket_message_recv_done(ClientNetSocket& sckt, ReceiveBuffer& buf) = 0; + virtual void on_socket_message_send_done(ClientNetSocket& sckt) = 0; + virtual void on_socket_disconnect(ClientNetSocket& sckt) = 0; + virtual void on_socket_fin_recv(ClientNetSocket& sckt) = 0; +}; + + + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/cmd_line_parser.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/cmd_line_parser.cpp new file mode 100644 index 0000000..12d5945 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/cmd_line_parser.cpp @@ -0,0 +1,518 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" + +#include <getopt.h> +#include <iostream> + +#include "cmd_line_parser.h" +#include "utils.h" +#include "debug.h" + +#define DISABLE_ABBREVIATE + + +CmdLineParser::Option::Option(int in_id, const std::string& in_name, char in_short_name, + OptionType in_type, const std::string& in_help, + const std::string& in_arg_name) + : id (in_id) + , name (in_name) + , arg_name (in_arg_name) + , type (in_type) + , short_name (in_short_name) + , help (in_help) + , optional (true) + , is_set (false) + , separator (0) +{ +} + +CmdLineParser::CmdLineParser(std::string description, bool allow_positional_args) + : _description (description) + , _short_options ("+") + , _argc (0) + , _argv (NULL) + , _multi_args (NULL) + , _multi_next (NULL) + , _multi_separator (0) + , _positional_args (allow_positional_args) + , _done (false) +{ + //Enables multiple instantiations. One at a time, not thread-safe. + optind = 1; + opterr = 1; + optopt = 0; + optarg = 0; +} + +CmdLineParser::~CmdLineParser() +{ + Options::iterator iter = _options.begin(); + for (; iter != _options.end(); ++iter) { + delete *iter; + } + delete[] _multi_args; +} + +void CmdLineParser::add_private(int id, const std::string& name, char short_name, + OptionType type, const std::string& help, + const std::string& arg_name) +{ + if (_argv) { + THROW("unexpected"); + } + + if (find(id)) { + THROW("exist"); + } + + if (name.size() == 0) { + THROW("invalid name"); + } + + if (find(name)) { + THROW("name exist"); + } + + if (short_name != 0) { + if (!isalnum(short_name) || short_name == 'W') { + THROW("invalid short name"); + } + + if (find(short_name)) { + THROW("short name exist"); + } + } + + if (help.size() == 0) { + THROW("invalid help string"); + } + + if (help.find_first_of('\t') != std::string::npos) { + THROW("tab is not allow in help string"); + } + + _options.push_back(new Option(id, name, short_name, type, help, arg_name)); +} + +void CmdLineParser::add(int id, const std::string& name, const std::string& help, char short_name) +{ + if (id < OPTION_FIRST_AVAILABLE) { + THROW("invalid id"); + } + add_private(id, name, short_name, NO_ARGUMENT, help, ""); +} + +void CmdLineParser::add(int id, const std::string& name, const std::string& help, + const std::string& arg_name, bool required_arg, char short_name) +{ + if (id < OPTION_FIRST_AVAILABLE) { + THROW("invalid id"); + } + + if (arg_name.size() == 0) { + THROW("invalid arg name"); + } + + add_private(id, name, short_name, required_arg ? REQUIRED_ARGUMENT : OPTIONAL_ARGUMENT, help, + arg_name); +} + +void CmdLineParser::set_multi(int id, char separator) +{ + if (_argv) { + THROW("unexpected"); + } + + if (!ispunct(separator)) { + THROW("invalid separator"); + } + + Option* opt = find(id); + + if (!opt) { + THROW("not found"); + } + + if (opt->type == NO_ARGUMENT) { + THROW("can't set multi for option without argument"); + } + + opt->separator = separator; +} + +void CmdLineParser::set_required(int id) +{ + if (_argv) { + THROW("unexpected"); + } + + Option* opt = find(id); + + if (!opt) { + THROW("not found"); + } + + opt->optional = false; +} + +CmdLineParser::Option* CmdLineParser::find(int id) +{ + Options::iterator iter = _options.begin(); + for (; iter != _options.end(); ++iter) { + if ((*iter)->id == id) { + return *iter; + } + } + return NULL; +} + +bool CmdLineParser::is_set(int id) +{ + Option *opt = find(id); + + if (!opt) { + THROW("not found"); + } + return opt->is_set; +} + +CmdLineParser::Option* CmdLineParser::find(const std::string& name) +{ + Options::iterator iter = _options.begin(); + for (; iter != _options.end(); ++iter) { + if ((*iter)->name == name) { + return *iter; + } + } + return NULL; +} + +CmdLineParser::Option* CmdLineParser::find(char short_name) +{ + if (short_name == 0) { + return NULL; + } + + Options::iterator iter = _options.begin(); + for (; iter != _options.end(); ++iter) { + if ((*iter)->short_name == short_name) { + return *iter; + } + } + return NULL; +} + +CmdLineParser::Option* CmdLineParser::find_missing_opt() +{ + Options::iterator iter = _options.begin(); + for (; iter != _options.end(); ++iter) { + CmdLineParser::Option* opt = *iter; + if (!opt->optional && !opt->is_set) { + return opt; + } + } + return NULL; +} + +void CmdLineParser::build() +{ + Options::iterator iter = _options.begin(); + _long_options.resize(_options.size() + 1); + for (int i = 0; iter != _options.end(); ++iter, i++) { + CmdLineParser::Option* opt = *iter; + struct option& long_option = _long_options[i]; + long_option.name = opt->name.c_str(); + switch (opt->type) { + case NO_ARGUMENT: + long_option.has_arg = no_argument; + break; + case OPTIONAL_ARGUMENT: + long_option.has_arg = optional_argument; + break; + case REQUIRED_ARGUMENT: + long_option.has_arg = required_argument; + break; + } + long_option.flag = &long_option.val; + long_option.val = opt->id; + if (opt->short_name != 0) { + _short_options += opt->short_name; + switch (opt->type) { + case OPTIONAL_ARGUMENT: + _short_options += "::"; + break; + case REQUIRED_ARGUMENT: + _short_options += ":"; + break; + case NO_ARGUMENT: + break; + } + } + } + struct option& long_option = _long_options[_long_options.size() - 1]; + long_option.flag = 0; + long_option.has_arg = 0; + long_option.name = NULL; + long_option.val = 0; +} + +void CmdLineParser::begin(int argc, char** argv) +{ + if (_argv) { + THROW("unexpected"); + } + + if (!argv || argc < 1) { + THROW("invalid args"); + } + + add_private(CmdLineParser::OPTION_HELP, "help", 0, NO_ARGUMENT, "show command help", ""); + opterr = 0; + _argv = argv; + _argc = argc; + build(); +} + +char* CmdLineParser::start_multi(char *optarg, char separator) +{ + if (!optarg) { + return NULL; + } + _multi_args = new char[strlen(optarg) + 1]; + _multi_separator = separator; + strcpy(_multi_args, optarg); + if ((_multi_next = strchr(_multi_args, _multi_separator))) { + *(_multi_next++) = 0; + } + return _multi_args; +} + +char* CmdLineParser::next_multi() +{ + if (!_multi_next) { + _multi_separator = 0; + delete[] _multi_args; + _multi_args = NULL; + return NULL; + } + char* ret = _multi_next; + if ((_multi_next = strchr(_multi_next, _multi_separator))) { + *(_multi_next++) = 0; + } + + return ret; +} + +int CmdLineParser::get_option(char** val) +{ + CmdLineParser::Option* opt_obj; + + if (!_argv) { + THROW("unexpected"); + } + + if (_multi_args) { + THROW("in multi args mode"); + } + + if (_done) { + THROW("is done"); + } + + int long_index; + + int opt = getopt_long(_argc, _argv, _short_options.c_str(), &_long_options[0], &long_index); + + switch (opt) { + case 0: { + if (!(opt_obj = find(_long_options[long_index].val))) { + THROW("long option no found"); + } + +#ifdef DISABLE_ABBREVIATE + int name_pos = + (opt_obj->type == REQUIRED_ARGUMENT && optarg[-1] != '=') + ? optind - 2 + : optind - 1; + std::string cmd_name(_argv[name_pos] + 2); + if (cmd_name.find(opt_obj->name) != 0) { + Platform::term_printf("%s: invalid abbreviated option '--%s'\n", _argv[0], cmd_name.c_str()); + return OPTION_ERROR; + } +#endif + + if (opt_obj->separator) { + *val = start_multi(optarg, opt_obj->separator); + } else { + *val = optarg; + } + opt_obj->is_set = true; + return opt_obj->id; + } + case -1: { + *val = NULL; + if (!_positional_args && optind != _argc) { + Platform::term_printf("%s: unexpected positional arguments\n", _argv[0]); + return OPTION_ERROR; + } + if ((opt_obj = find_missing_opt())) { + Platform::term_printf("%s: option --%s is required\n", _argv[0], opt_obj->name.c_str()); + return OPTION_ERROR; + } + _done = true; + return OPTION_DONE; + } + case '?': + if (optopt >= 255) { + opt_obj = find(optopt); + ASSERT(opt_obj); + +#ifdef DISABLE_ABBREVIATE + std::string cmd_name(_argv[optind - 1] + 2); + if (cmd_name.find(opt_obj->name) != 0) { + Platform::term_printf("%s: invalid option '--%s'\n", _argv[0], cmd_name.c_str()); + return OPTION_ERROR; + } +#endif + Platform::term_printf("%s: option --%s requires an argument\n", + _argv[0], opt_obj->name.c_str()); + } else if (optopt == 0) { + Platform::term_printf("%s: invalid option '%s'\n", _argv[0], _argv[optind - 1]); + } else if ((opt_obj = find((char)optopt))) { + Platform::term_printf("%s: option '-%c' requires an argument\n", + _argv[0], opt_obj->short_name); + } else { + Platform::term_printf("%s: invalid option '-%c'\n", _argv[0], char(optopt)); + } + return OPTION_ERROR; + default: + if (opt > 255 || !(opt_obj = find((char)opt))) { + *val = NULL; + return OPTION_ERROR; + } + if (opt_obj->separator) { + *val = start_multi(optarg, opt_obj->separator); + } else { + *val = optarg; + } + opt_obj->is_set = true; + return opt_obj->id; + } +} + +char* CmdLineParser::next_argument() +{ + if (!_argv) { + THROW("unexpected"); + } + + if (_multi_args) { + return next_multi(); + } + + if (!_done) { + THROW("not done"); + } + + if (optind == _argc) { + return NULL; + } + return _argv[optind++]; +} + +void CmdLineParser::show_help() +{ + static const int HELP_START_POS = 30; + static const unsigned HELP_WIDTH = 80 - HELP_START_POS; + std::ostringstream os; + + os << _argv[0] << " - " << _description.c_str() << "\n\noptions:\n\n"; + + Options::iterator iter = _options.begin(); + for (; iter != _options.end(); ++iter) { + CmdLineParser::Option* opt = *iter; + + if (opt->short_name) { + os << " -" << opt->short_name << ", "; + } else { + os << " "; + } + + os << "--" << opt->name; + + if (opt->type == OPTIONAL_ARGUMENT) { + os << "[="; + } else if (opt->type == REQUIRED_ARGUMENT) { + os << " <"; + } + + if (opt->type == OPTIONAL_ARGUMENT || opt->type == REQUIRED_ARGUMENT) { + if (opt->separator) { + os << opt->arg_name << opt->separator << opt->arg_name << "..."; + } else { + os << opt->arg_name; + } + } + + if (opt->type == OPTIONAL_ARGUMENT) { + os << "]"; + } else if (opt->type == REQUIRED_ARGUMENT) { + os << ">"; + } + + int skip = HELP_START_POS - os.str().size(); + if (skip < 2) { + os << "\n "; + } else { + while (skip--) { + os << " "; + } + } + + int line_count = 0; + std::istringstream is(opt->help); + std::string line; + std::getline(is, line); + do { + if (line_count++) { + os << " "; + } + if (line.size() > HELP_WIDTH) { + size_t last_space, now = HELP_WIDTH; + std::string sub; + sub.append(line, 0, now); + if ((last_space = sub.find_last_of(' ')) != std::string::npos) { + now = last_space; + sub.resize(now++); + } + os << sub << "\n"; + line = line.substr(now, line.size() - now); + } else { + os << line << "\n"; + line.clear(); + } + } while (line.size() || std::getline(is, line)); + } + + os << "\n"; + Platform::term_printf("%s", os.str().c_str()); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/cmd_line_parser.h b/tizen/distrib/remote/server/spice-0.12.2/client/cmd_line_parser.h new file mode 100644 index 0000000..1ce1807 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/cmd_line_parser.h @@ -0,0 +1,104 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_CMD_LINE_PARSER +#define _H_CMD_LINE_PARSER + +class CmdLineParser { +public: + + enum { + OPTION_ERROR = -1, + OPTION_DONE = 0, + OPTION_HELP = 256, + OPTION_FIRST_AVAILABLE, + }; + + CmdLineParser(std::string description, bool allow_positional_args); + virtual ~CmdLineParser(); + + void add(int id, const std::string& name, const std::string& help, + char short_name = 0); + + void add(int id, const std::string& name, const std::string& help, + const std::string& arg_name, bool required_arg, char short_name = 0); + void set_multi(int id, char separator); + void set_required(int id); + + void begin(int argc, char** argv); + int get_option(char** val); + char* next_argument(); + bool is_set(int id); + + void show_help(); + +private: + class Option; + + enum OptionType { + NO_ARGUMENT, + OPTIONAL_ARGUMENT, + REQUIRED_ARGUMENT, + }; + + void add_private(int id, const std::string& name, char short_name, OptionType type, + const std::string& help, const std::string& arg_name); + Option* find(char short_name); + Option* find(int id); + Option* find(const std::string& name); + Option* find_missing_opt(); + + void build(); + + char* start_multi(char *optarg, char separator); + char* next_multi(); + +private: + + class Option { + public: + Option(int in_id, const std::string& in_name, char in_short_name, OptionType in_type, + const std::string& in_help, const std::string& arg_name); + + public: + int id; + std::string name; + std::string arg_name; + OptionType type; + char short_name; + std::string help; + bool optional; + bool is_set; + char separator; + }; + + std::string _description; + std::vector<struct option> _long_options; + std::string _short_options; + + typedef std::list<Option*> Options; + Options _options; + int _argc; + char** _argv; + char* _multi_args; + char* _multi_next; + char _multi_separator; + bool _positional_args; + bool _done; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/common.h b/tizen/distrib/remote/server/spice-0.12.2/client/common.h new file mode 100644 index 0000000..13ef1c7 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/common.h @@ -0,0 +1,92 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_COMMON +#define _H_COMMON + +#ifndef WIN32 +#include "config.h" +#endif + +#ifndef _WIN32_WCE +#include <errno.h> +#endif + +#ifndef _WIN32 +#include <inttypes.h> +#endif + +#include <stdio.h> +#include <stdarg.h> +#include <string> +#include <vector> +#include <map> +#include <memory> +#include <exception> +#include <list> +#include <string.h> + +#ifdef WIN32 +#ifdef __GNUC__ +#define UNICODE 1 +#define _UNICODE 1 +#if !defined __MINGW32__ +#define WINVER 0x0501 +#define swprintf_s(_str, _len, _fmt, ...) \ + swprintf(_str, _fmt, ## __VA_ARGS__) +#define vsnprintf_s(_str, _len1, _len2, _fmt, _valist) \ + vsnprintf(_str, _len2, _fmt, _valist) +#define _ftime_s(_t) _ftime(_t) +#endif +#endif +#include <winsock2.h> +#include <windows.h> + +#ifndef __GNUC__ +#pragma warning(disable:4355) +#pragma warning(disable:4996) +#pragma warning(disable:4200) + +extern const char* PACKAGE_VERSION; +#endif + +#define strcasecmp stricmp + +#else +#include <unistd.h> +#include <X11/X.h> +#ifdef USE_OPENGL +#include <GL/glx.h> +#endif +#endif + +#ifdef __GNUC__ + #if __SIZEOF_POINTER__ == 8 + #define RED64 + #endif +#elif defined(_WIN64) +#define RED64 +#endif + +#if defined(_WIN32) && !defined(PRIu64) +#define PRIu64 "I64u" +#endif + +#include <spice/types.h> +#include "red_types.h" + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/controller.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/controller.cpp new file mode 100644 index 0000000..63082c4 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/controller.cpp @@ -0,0 +1,448 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "controller.h" +#include <spice/controller_prot.h> +#include "cmd_line_parser.h" +#include "menu.h" +#include "utils.h" +#include "debug.h" +#include "platform.h" + + +#ifdef WIN32 +#define PIPE_NAME_MAX_LEN 50 +#define PIPE_NAME "SpiceController-%lu" +#endif + +Controller::Controller(ControllerInterface *handler) + : _handler (handler) + , _exclusive (false) + , _refs (1) +{ + ASSERT(_handler); +#ifdef WIN32 + char pipe_name[PIPE_NAME_MAX_LEN]; + snprintf(pipe_name, PIPE_NAME_MAX_LEN, PIPE_NAME, Platform::get_process_id()); +#else + const char *pipe_name = getenv("SPICE_XPI_SOCKET"); + if (!pipe_name) { + LOG_ERROR("Failed to get a controller connection (SPICE_XPI_SOCKET)"); + throw Exception("Failed to get a controller connection (SPICE_XPI_SOCKET)"); + } +#endif + LOG_INFO("Creating a controller connection %s", pipe_name); + _pipe = NamedPipe::create(pipe_name, *this); + if (!_pipe) { + LOG_ERROR("Failed to create a controller connection"); + } +} + +Controller::~Controller() +{ + std::map<NamedPipe::ConnectionRef, ControllerConnection*>::const_iterator conn; + for (conn = _connections.begin(); conn != _connections.end(); ++conn) { + conn->second->reset_handler(); + delete conn->second; + } + if (_pipe) { + NamedPipe::destroy(_pipe); + } +} + +NamedPipe::ConnectionInterface& Controller::create() +{ + ControllerConnection *conn = new ControllerConnection(_handler, *this); + + if (conn == NULL) { + throw Exception("Error allocating a new controller connection"); + } + return *conn; +} + +bool Controller::set_exclusive(bool exclusive) +{ + if (_exclusive) { + LOG_ERROR("Cannot init controller, an exclusive controller already connected"); + return false; + } + if (exclusive && _connections.size() > 1) { + LOG_ERROR("Cannot init exclusive controller, other controllers already connected"); + return false; + } + _exclusive = exclusive; + return true; +} + +void Controller::add_connection(NamedPipe::ConnectionRef conn_ref, ControllerConnection *conn) +{ + _connections[conn_ref] = conn; + conn->on_data(); +} + +void Controller::remove_connection(NamedPipe::ConnectionRef conn_ref) +{ + ControllerConnection *conn = _connections[conn_ref]; + _connections.erase(conn_ref); + _exclusive = false; + delete conn; +} + +void Controller::on_command(NamedPipe::ConnectionRef conn_ref, int32_t id) +{ + ControllerConnection *conn = _connections[conn_ref]; + ControllerValue msg; + + ASSERT(conn); + msg.base.id = CONTROLLER_MENU_ITEM_CLICK; + msg.base.size = sizeof(msg); + msg.value = id; + conn->write_msg(&msg.base, msg.base.size); +} + +ControllerConnection::ControllerConnection(ControllerInterface *handler, Controller& parent) + : _handler (handler) + , _parent (parent) + , _initialized (false) + , _write_pending (0) + , _write_pos (_write_buf) + , _read_pos (_read_buf) + , _port (-1) + , _sport (-1) + , _full_screen (false) + , _auto_display_res (false) +{ +} + +ControllerConnection::~ControllerConnection() +{ + if (_opaque != NamedPipe::INVALID_CONNECTION) { + NamedPipe::destroy_connection(_opaque); + } + if (_handler) { + _handler->clear_menu_items(_opaque); + _handler->delete_menu(); + } +} + +void ControllerConnection::bind(NamedPipe::ConnectionRef conn_ref) +{ + _opaque = conn_ref; + _parent.add_connection(conn_ref, this); +} + +void ControllerConnection::on_data() +{ + if (_write_pending) { + LOG_INFO("Resume pending write %d", _write_pending); + if (!write_msg(_write_pos, _write_pending)) { + return; + } + } + while (read_msgs()); +} + +bool ControllerConnection::read_msgs() +{ + uint8_t *pos = _read_buf; + size_t nread = _read_pos - _read_buf; + int32_t size; + + ASSERT(_handler); + ASSERT(_opaque != NamedPipe::INVALID_CONNECTION); + size = NamedPipe::read(_opaque, (uint8_t*)_read_pos, sizeof(_read_buf) - nread); + if (size == 0) { + return false; + } else if (size < 0) { + LOG_ERROR("Error reading from named pipe %d", size); + _parent.remove_connection(_opaque); + return false; + } + nread += size; + while (nread > 0) { + if (!_initialized && nread >= sizeof(ControllerInitHeader)) { + ControllerInitHeader *init = (ControllerInitHeader *)pos; + if (init->magic != CONTROLLER_MAGIC || init->version != CONTROLLER_VERSION) { + LOG_ERROR("Bad controller init, magic=0x%x version=%u", init->magic, + init->version); + _parent.remove_connection(_opaque); + return false; + } + if (nread < init->size) { + break; + } + if (!handle_init((ControllerInit*)init)) { + _parent.remove_connection(_opaque); + return false; + } + nread -= init->size; + pos += init->size; + _initialized = true; + } + if (!_initialized || nread < sizeof(ControllerMsg)) { + break; + } + ControllerMsg *hdr = (ControllerMsg *)pos; + if (hdr->size < sizeof(ControllerMsg)) { + LOG_ERROR("Bad controller message, size=%u", hdr->size); + _parent.remove_connection(_opaque); + return false; + } + if (nread < hdr->size) { + break; + } + handle_message(hdr); + nread -= hdr->size; + pos += hdr->size; + } + if (nread > 0 && pos != _read_buf) { + memmove(_read_buf, pos, nread); + } + _read_pos = _read_buf + nread; + return true; +} + +bool ControllerConnection::write_msg(const void *buf, int len) +{ + RecurciveLock lock(_write_lock); + uint8_t *pos; + int32_t written = 0; + + ASSERT(_opaque != NamedPipe::INVALID_CONNECTION); + if (_write_pending && buf != _write_pos) { + if ((_write_pos + _write_pending + len > _write_buf + sizeof(_write_buf)) && + !write_msg(_write_pos, _write_pending)) { + return false; + } + if (_write_pending) { + if (_write_pos + _write_pending + len > _write_buf + sizeof(_write_buf)) { + DBG(0, "Dropping message, due to insufficient space in write buffer"); + return true; + } + memcpy(_write_pos + _write_pending, buf, len); + _write_pending += len; + } + } + pos = (uint8_t*)buf; + while (len && (written = NamedPipe::write(_opaque, pos, len)) > 0) { + pos += written; + len -= written; + } + if (len && written == 0) { + if (_write_pending) { + _write_pos = pos; + } else { + _write_pos = _write_buf; + memcpy(_write_buf, pos, len); + } + _write_pending = len; + } else if (written < 0) { + LOG_ERROR("Error writing to named pipe %d", written); + _parent.remove_connection(_opaque); + return false; + } else { + _write_pending = 0; + } + return true; +} + +bool ControllerConnection::handle_init(ControllerInit *init) +{ + ASSERT(_handler); + if (init->credentials != 0) { + LOG_ERROR("Controller menu has wrong credentials 0x%x", init->credentials); + return false; + } + if (!_parent.set_exclusive(init->flags & CONTROLLER_FLAG_EXCLUSIVE)) { + return false; + } + return true; +} + +bool ControllerConnection::handle_message(ControllerMsg *hdr) +{ + uint32_t value = ((ControllerValue*)hdr)->value; + char *data = (char*)((ControllerData*)hdr)->data; + + ASSERT(_handler); + switch (hdr->id) { + case CONTROLLER_HOST: + _host.assign(data); + break; + case CONTROLLER_PORT: + _port = value; + break; + case CONTROLLER_SPORT: + _sport = value; + break; + case CONTROLLER_PASSWORD: + _password.assign(data); + break; + case CONTROLLER_SECURE_CHANNELS: + case CONTROLLER_DISABLE_CHANNELS: + return set_multi_val(hdr->id, data); + case CONTROLLER_TLS_CIPHERS: + return _handler->set_connection_ciphers(data, "Controller"); + case CONTROLLER_CA_FILE: + return _handler->set_ca_file(data, "Controller"); + case CONTROLLER_HOST_SUBJECT: + return _handler->set_host_cert_subject(data, "Controller"); + case CONTROLLER_FULL_SCREEN: + _full_screen = !!(value & CONTROLLER_SET_FULL_SCREEN); + _handler->set_auto_display_res(!!(value & CONTROLLER_AUTO_DISPLAY_RES)); + break; + case CONTROLLER_SET_TITLE: { + std::string str; + string_printf(str, "%s", data); + _handler->set_title(str); + break; + } + case CONTROLLER_HOTKEYS: + _handler->set_hotkeys(data); + break; + case CONTROLLER_CONNECT: + _handler->connect(_host, _port, _sport, _password); + break; + case CONTROLLER_SHOW: + _handler->show_me(_full_screen); + break; + case CONTROLLER_HIDE: + _handler->hide_me(); + break; + case CONTROLLER_CREATE_MENU: + return create_menu((char*)data); + case CONTROLLER_DELETE_MENU: + _handler->delete_menu(); + break; +#if USE_SMARTCARD + case CONTROLLER_ENABLE_SMARTCARD: + _handler->enable_smartcard(value); + break; +#endif + case CONTROLLER_SEND_CAD: + default: + LOG_ERROR("Ignoring an unknown/SEND_CAD controller message %u", hdr->id); + return false; + } + return true; +} + +#ifdef WIN32 +#define next_tok(str, delim, state) strtok(str, delim) +#else +#define next_tok(str, delim, state) strtok_r(str, delim, state) +#endif + +bool ControllerConnection::create_menu(char* resource) +{ + bool ret = true; +#ifndef WIN32 + char* item_state = 0; +#endif + char* next_item; + const char* param; + const char* text; + int parent_id; + int flags; + int state; + int id; + + ASSERT(_handler); + AutoRef<Menu> app_menu(_handler->get_app_menu()); + AutoRef<Menu> menu(new Menu((*app_menu)->get_target(), "")); + char* item = next_tok(resource, CONTROLLER_MENU_ITEM_DELIMITER, &item_state); + while (item != NULL) { + next_item = item + strlen(item) + 1; + ret = ret && (param = next_tok(item, CONTROLLER_MENU_PARAM_DELIMITER, &item_state)) && + sscanf(param, "%d", &parent_id); + ret = ret && (param = next_tok(NULL, CONTROLLER_MENU_PARAM_DELIMITER, &item_state)) && + sscanf(param, "%d", &id); + ret = ret && (text = next_tok(NULL, CONTROLLER_MENU_PARAM_DELIMITER, &item_state)); + ret = ret && (param = next_tok(NULL, CONTROLLER_MENU_PARAM_DELIMITER, &item_state)) && + sscanf(param, "%d", &flags); + + if (!ret) { + DBG(0, "item parsing failed %s", item); + break; + } + DBG(0, "parent_id=%d, id=%d, text=%s, flags=%d", parent_id, id, text, flags); + + AutoRef<Menu> sub_menu((*menu)->find_sub(parent_id)); + if (!(ret = !!*sub_menu)) { + DBG(0, "submenu not found %s", item); + break; + } + + if (flags & CONTROLLER_MENU_FLAGS_SEPARATOR) { + (*sub_menu)->add_separator(); + } else if (flags & CONTROLLER_MENU_FLAGS_POPUP) { + AutoRef<Menu> sub(new Menu((*app_menu)->get_target(), text, id)); + (*sub_menu)->add_sub(sub.release()); + } else { + state = 0; + if (flags & (CONTROLLER_MENU_FLAGS_DISABLED | CONTROLLER_MENU_FLAGS_GRAYED)) { + state |= Menu::MENU_ITEM_STATE_DIM; + } + if (flags & CONTROLLER_MENU_FLAGS_CHECKED) { + state |= Menu::MENU_ITEM_STATE_CHECKED; + } + if (id >= SPICE_MENU_INTERNAL_ID_BASE) { + id = ((id - SPICE_MENU_INTERNAL_ID_BASE) >> SPICE_MENU_INTERNAL_ID_SHIFT) + 1; + } else { + id = _handler->get_controller_menu_item_id(_opaque, id); + } + (*sub_menu)->add_command(text, id, state); + } + item = next_tok(next_item, CONTROLLER_MENU_ITEM_DELIMITER, &item_state); + } + if (ret) { + _handler->set_menu(*menu); + } + return ret; +} + +bool ControllerConnection::set_multi_val(uint32_t op, char* multi_val) +{ + CmdLineParser parser("", false); + int id = CmdLineParser::OPTION_FIRST_AVAILABLE; + char* argv[] = {NULL, (char*)"--set", multi_val}; + char* val; + + ASSERT(_handler); + parser.add(id, "set", "none", "none", true); + parser.set_multi(id, ','); + parser.begin(3, argv); + if (parser.get_option(&val) != id) { + return false; + } + switch (op) { + case CONTROLLER_SECURE_CHANNELS: + _handler->set_channels_security(parser, true, val, "Controller"); + break; + case CONTROLLER_DISABLE_CHANNELS: + _handler->set_enable_channels(parser, false, val, "Controller"); + break; + default: + DBG(0, "unsupported op %u", op); + return false; + } + return true; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/controller.h b/tizen/distrib/remote/server/spice-0.12.2/client/controller.h new file mode 100644 index 0000000..a59d333 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/controller.h @@ -0,0 +1,119 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_CONTROLLER_MENU +#define _H_CONTROLLER_MENU + +#include "named_pipe.h" +#include "threads.h" + +class ControllerConnection; +struct ControllerInit; +struct ControllerMsg; +class CmdLineParser; +class Menu; + +class ControllerInterface { +public: + virtual ~ControllerInterface() {} + + virtual bool connect(const std::string& host, int port, int sport, + const std::string& password) = 0; + virtual void set_title(const std::string& title) = 0; + virtual void set_auto_display_res(bool auto_display_res) = 0; + virtual void show_me(bool full_screen) = 0; + virtual void hide_me() = 0; + virtual bool set_channels_security(CmdLineParser& parser, bool on, char *val, + const char* arg0) = 0; + virtual bool set_enable_channels(CmdLineParser& parser, bool enable, char *val, + const char* arg0) = 0; + virtual bool set_connection_ciphers(const char* ciphers, const char* arg0) = 0; + virtual bool set_ca_file(const char* ca_file, const char* arg0) = 0; + virtual bool set_host_cert_subject(const char* subject, const char* arg0) = 0; + virtual void set_hotkeys(const std::string& hotkeys) = 0; + virtual int get_controller_menu_item_id(int32_t opaque_conn_ref, uint32_t id) = 0; + virtual void clear_menu_items(int32_t opaque_conn_ref) = 0; + virtual Menu* get_app_menu() = 0; + virtual void set_menu(Menu* menu) = 0; + virtual void delete_menu() = 0; +#ifdef USE_SMARTCARD + virtual void enable_smartcard(bool enable) = 0; +#endif +}; + +class Controller : public NamedPipe::ListenerInterface { +public: + Controller(ControllerInterface *handler); + virtual ~Controller(); + + Controller* ref() { _refs++; return this;} + void unref() { if (!--_refs) delete this;} + + virtual NamedPipe::ConnectionInterface &create(); + bool set_exclusive(bool exclusive); + void add_connection(NamedPipe::ConnectionRef conn_ref, ControllerConnection *conn); + void remove_connection(NamedPipe::ConnectionRef conn_ref); + void on_command(NamedPipe::ConnectionRef conn_ref, int32_t id); + +private: + ControllerInterface *_handler; + std::map<NamedPipe::ConnectionRef, ControllerConnection*> _connections; + NamedPipe::ListenerRef _pipe; + bool _exclusive; + int _refs; +}; + +#define CONTROLLER_BUF_SIZE 4096 + +class ControllerConnection : public NamedPipe::ConnectionInterface { +public: + ControllerConnection(ControllerInterface *handler, Controller& parent); + virtual ~ControllerConnection(); + + virtual void bind(NamedPipe::ConnectionRef conn_ref); + virtual void on_data(); + bool write_msg(const void *buf, int len); + void reset_handler() { _handler = NULL;} + +private: + bool read_msgs(); + bool handle_init(ControllerInit *init); + bool handle_message(ControllerMsg *hdr); + bool create_menu(char* resource); + bool set_multi_val(uint32_t op, char* multi_val); + +private: + ControllerInterface *_handler; + Controller& _parent; + bool _initialized; + + int _write_pending; + uint8_t *_write_pos; + uint8_t *_read_pos; + uint8_t _write_buf[CONTROLLER_BUF_SIZE]; + uint8_t _read_buf[CONTROLLER_BUF_SIZE]; + RecurciveMutex _write_lock; + + std::string _host; + std::string _password; + int _port; + int _sport; + bool _full_screen; + bool _auto_display_res; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/cursor.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/cursor.cpp new file mode 100644 index 0000000..0fbf366 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/cursor.cpp @@ -0,0 +1,115 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "cursor.h" +#include "utils.h" +#include "debug.h" + +CursorData::CursorData(SpiceCursor& cursor, int data_size) + : _atomic (1) + , _header (cursor.header) + , _data (NULL) + , _opaque (NULL) + , _local_cursor (NULL) +{ + int expected_size = 0; + + switch (cursor.header.type) { + case SPICE_CURSOR_TYPE_ALPHA: + expected_size = (_header.width << 2) * _header.height; + break; + case SPICE_CURSOR_TYPE_MONO: + expected_size = (SPICE_ALIGN(_header.width, 8) >> 2) * _header.height; + break; + case SPICE_CURSOR_TYPE_COLOR4: + expected_size = (SPICE_ALIGN(_header.width, 2) >> 1) * _header.height; + expected_size += (SPICE_ALIGN(_header.width, 8) >> 3) * _header.height; + expected_size += 16 * sizeof(uint32_t); + break; + case SPICE_CURSOR_TYPE_COLOR8: + expected_size = _header.width * _header.height; + expected_size += (SPICE_ALIGN(_header.width, 8) >> 3) * _header.height; + expected_size += 256 * sizeof(uint32_t); + break; + case SPICE_CURSOR_TYPE_COLOR16: + expected_size = (_header.width << 1) * _header.height; + expected_size += (SPICE_ALIGN(_header.width, 8) >> 3) * _header.height; + break; + case SPICE_CURSOR_TYPE_COLOR24: + expected_size = (_header.width * 3) * _header.height; + expected_size += (SPICE_ALIGN(_header.width, 8) >> 3) * _header.height; + break; + case SPICE_CURSOR_TYPE_COLOR32: + expected_size = (_header.width << 2) * _header.height; + expected_size += (SPICE_ALIGN(_header.width, 8) >> 3) * _header.height; + break; + } + + if (data_size < expected_size) { + THROW("access violation 0x%" PRIuPTR " %u", (uintptr_t)cursor.data, expected_size); + } + _data = new uint8_t[expected_size]; + memcpy(_data, cursor.data, expected_size); +} + +void CursorData::set_local(LocalCursor* local_cursor) +{ + ASSERT(!_local_cursor); + if (local_cursor) { + _local_cursor = local_cursor->ref(); + } +} + +CursorData::~CursorData() +{ + if (_local_cursor) { + _local_cursor->unref(); + } + delete _opaque; + delete[] _data; +} + +int LocalCursor::get_size_bits(const SpiceCursorHeader& header, int& size) +{ + switch (header.type) { + case SPICE_CURSOR_TYPE_ALPHA: + case SPICE_CURSOR_TYPE_COLOR32: + size = (header.width << 2) * header.height; + return 32; + case SPICE_CURSOR_TYPE_MONO: + size = (SPICE_ALIGN(header.width, 8) >> 3) * header.height; + return 1; + case SPICE_CURSOR_TYPE_COLOR4: + size = (SPICE_ALIGN(header.width, 2) >> 1) * header.height; + return 4; + case SPICE_CURSOR_TYPE_COLOR8: + size = header.width * header.height; + return 8; + case SPICE_CURSOR_TYPE_COLOR16: + size = (header.width << 1) * header.height; + return 16; + case SPICE_CURSOR_TYPE_COLOR24: + size = (header.width * 3) * header.height; + return 24; + default: + return 0; + } +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/cursor.h b/tizen/distrib/remote/server/spice-0.12.2/client/cursor.h new file mode 100644 index 0000000..3210f1e --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/cursor.h @@ -0,0 +1,72 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_CURSOR_ +#define _H_CURSOR_ + +#include "common/messages.h" +#include "threads.h" +#include "red_window_p.h" + +class CursorOpaque { +public: + CursorOpaque() {} + virtual ~CursorOpaque() {} +}; + +class LocalCursor; + +class CursorData { +public: + CursorData(SpiceCursor& cursor, int data_size); + + CursorData *ref() { ++_atomic; return this;} + void unref() {if (--_atomic == 0) delete this;} + void set_opaque(CursorOpaque* opaque) { delete _opaque; _opaque = opaque;} + CursorOpaque* get_opaque() { return _opaque;} + void set_local(LocalCursor* local_cursor); + LocalCursor* get_local() { return _local_cursor;} + const SpiceCursorHeader& header() const { return _header;} + const uint8_t* data() const { return _data;} + +private: + ~CursorData(); + +private: + AtomicCount _atomic; + SpiceCursorHeader _header; + uint8_t* _data; + CursorOpaque* _opaque; + LocalCursor* _local_cursor; +}; + +class LocalCursor { +public: + LocalCursor(): _atomic (1) {} + virtual ~LocalCursor() {} + virtual void set(Window window) {} + LocalCursor* ref() { ++_atomic; return this;} + void unref() { if (--_atomic == 0) delete this;} + +protected: + static int get_size_bits(const SpiceCursorHeader& header, int &size); + +private: + AtomicCount _atomic; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/cursor_channel.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/cursor_channel.cpp new file mode 100644 index 0000000..48786e3 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/cursor_channel.cpp @@ -0,0 +1,670 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common/rect.h" + +#include "common.h" +#include "cursor_channel.h" +#include "display_channel.h" +#include "cursor.h" +#include "red_client.h" +#include "application.h" +#include "debug.h" +#include "utils.h" +#include "screen.h" +#include "red_pixmap_sw.h" + +static inline uint8_t revers_bits(uint8_t byte) +{ + uint8_t ret = 0; + int i; + + for (i = 0; i < 4; i++) { + int shift = 7 - i * 2; + ret |= (byte & (1 << i)) << shift; + ret |= (byte & (0x80 >> i)) >> shift; + } + return ret; +} + +class NaitivCursor: public CursorOpaque { +public: + virtual void draw(RedDrawable& dest, int x, int y, const SpiceRect& area) = 0; +}; + +class AlphaCursor: public NaitivCursor { +public: + AlphaCursor(const SpiceCursorHeader& header, const uint8_t* data); + + virtual void draw(RedDrawable& dest, int x, int y, const SpiceRect& area); + +private: + std::auto_ptr<RedPixmap> _pixmap; +}; + +class MonoCursor: public NaitivCursor { +public: + MonoCursor(const SpiceCursorHeader& header, const uint8_t* data); + + virtual void draw(RedDrawable& dest, int x, int y, const SpiceRect& area); + +private: + std::auto_ptr<RedPixmap> _pixmap; + int _height; +}; + +class UnsupportedCursor: public NaitivCursor { +public: + UnsupportedCursor(const SpiceCursorHeader& header); + virtual void draw(RedDrawable& dest, int x, int y, const SpiceRect& area); + +private: + int _hot_x; + int _hot_y; +}; + +UnsupportedCursor::UnsupportedCursor(const SpiceCursorHeader& header) + : _hot_x (header.hot_spot_x) + , _hot_y (header.hot_spot_y) +{ + LOG_WARN("Unsupported cursor %hu", header.type); +} + +void UnsupportedCursor::draw(RedDrawable& dest, int x, int y, const SpiceRect& area) +{ + SpiceRect dest_area; + SpiceRect rect; + + dest_area.left = area.left; + dest_area.right = area.right; + dest_area.top = area.top; + dest_area.bottom = area.bottom; + + rect.left = x + _hot_x - 2; + rect.right = rect.left + 8; + rect.top = y + _hot_y - 2; + rect.bottom = rect.top + 8; + rect_sect(rect, dest_area); + + dest.fill_rect(rect, rgb32_make(0xf8, 0xf1, 0xb8)); + + rect.left = x + _hot_x - 1; + rect.right = rect.left + 6; + rect.top = y + _hot_y - 1; + rect.bottom = rect.top + 6; + rect_sect(rect, dest_area); + + dest.frame_rect(rect, rgb32_make(0, 0, 0)); +} + +AlphaCursor::AlphaCursor(const SpiceCursorHeader& header, const uint8_t* data) + : _pixmap (new RedPixmapSw(header.width, header.height, + RedDrawable::ARGB32, true, NULL)) +{ + int stride = _pixmap->get_stride(); + uint8_t* dest = _pixmap->get_data(); + int line_size = header.width * sizeof(uint32_t); + for (int i = 0; i < header.height; i++, data += line_size, dest += stride) { + memcpy(dest, data, line_size); + } +} + +void AlphaCursor::draw(RedDrawable& dest, int x, int y, const SpiceRect& area) +{ + dest.blend_pixels(*_pixmap, area.left - x, area.top - y, area); +} + +MonoCursor::MonoCursor(const SpiceCursorHeader& header, const uint8_t* data) + : _pixmap (NULL) + , _height (header.height) +{ + _pixmap.reset(new RedPixmapSw(header.width, _height * 2, RedDrawable::A1, + true, NULL)); + + int dest_stride = _pixmap->get_stride(); + uint8_t *dest_line = _pixmap->get_data(); + int src_stride = SPICE_ALIGN(header.width, 8) >> 3; + const uint8_t* src_line = data; + const uint8_t* end_line = src_line + _pixmap->get_height() * src_stride; + + if (_pixmap->is_big_endian_bits()) { + for (; src_line < end_line; src_line += src_stride, dest_line += dest_stride) { + memcpy(dest_line, src_line, src_stride); + } + } else { + for (; src_line < end_line; src_line += src_stride, dest_line += dest_stride) { + for (int i = 0; i < src_stride; i++) { + dest_line[i] = revers_bits(src_line[i]); + } + } + } +} + +void MonoCursor::draw(RedDrawable& dest, int x, int y, const SpiceRect& area) +{ + dest.combine_pixels(*_pixmap, area.left - x, area.top - y, area, RedDrawable::OP_AND); + dest.combine_pixels(*_pixmap, area.left - x, area.top - y + _height, area, RedDrawable::OP_XOR); +} + +class ColorCursor: public NaitivCursor { +public: + ColorCursor(const SpiceCursorHeader& header); + + virtual void draw(RedDrawable& dest, int x, int y, const SpiceRect& area); + +protected: + void init_pixels(const SpiceCursorHeader& header, const uint8_t* _pixels, const uint8_t *and_mask); + virtual uint32_t get_pixel_color(const uint8_t *data, int row, int col) = 0; + +private: + std::auto_ptr<RedPixmap> _pixmap; + std::auto_ptr<RedPixmap> _invers; +}; + +ColorCursor::ColorCursor(const SpiceCursorHeader& header) + : _pixmap (new RedPixmapSw(header.width, header.height, + RedDrawable::ARGB32, true, NULL)) + , _invers (NULL) +{ + _invers.reset(new RedPixmapSw(header.width, header.height, RedDrawable::A1, + true, NULL)); +} + +void ColorCursor::init_pixels(const SpiceCursorHeader& header, const uint8_t* pixels, + const uint8_t *and_mask) +{ + int mask_stride = SPICE_ALIGN(header.width, 8) / 8; + int invers_stride = _invers->get_stride(); + int pixmap_stride = _pixmap->get_stride(); + uint8_t *_pixmap_line = _pixmap->get_data(); + uint8_t* invers_line = _invers->get_data(); + bool be_bits = _invers->is_big_endian_bits(); + memset(invers_line, 0, header.height * invers_stride); + for (int i = 0; i < header.height; i++, and_mask += mask_stride, invers_line += invers_stride, + _pixmap_line += pixmap_stride) { + uint32_t *line_32 = (uint32_t *)_pixmap_line; + for (int j = 0; j < header.width; j++) { + uint32_t pixel_val = get_pixel_color(pixels, i, j); + int and_val = test_bit_be(and_mask, j); + if ((pixel_val & 0x00ffffff) == 0 && and_val) { + line_32[j] = 0; + } else if ((pixel_val & 0x00ffffff) == 0x00ffffff && and_val) { + line_32[j] = 0; + if (be_bits) { + set_bit_be(invers_line, j); + } else { + set_bit(invers_line, j); + } + } else { + line_32[j] = pixel_val | 0xff000000; + } + } + } +} + +void ColorCursor::draw(RedDrawable& dest, int x, int y, const SpiceRect& area) +{ + dest.blend_pixels(*_pixmap, area.left - x, area.top - y, area); + dest.combine_pixels(*_invers, area.left - x, area.top - y, area, RedDrawable::OP_XOR); +} + +class ColorCursor32: public ColorCursor { +public: + ColorCursor32(const SpiceCursorHeader& header, const uint8_t* data) + : ColorCursor(header) + , _src_stride (header.width * sizeof(uint32_t)) + { + init_pixels(header, data, data + _src_stride * header.height); + } + +private: + uint32_t get_pixel_color(const uint8_t *data, int row, int col) + { + return *((uint32_t *)(data + row * _src_stride) + col); + } + +private: + int _src_stride; +}; + +class ColorCursor16: public ColorCursor { +public: + ColorCursor16(const SpiceCursorHeader& header, const uint8_t* data) + : ColorCursor(header) + , _src_stride (header.width * sizeof(uint16_t)) + { + init_pixels(header, data, data + _src_stride * header.height); + } + +private: + uint32_t get_pixel_color(const uint8_t *data, int row, int col) + { + uint32_t pix = *((uint16_t*)(data + row * _src_stride) + col); + return ((pix & 0x1f) << 3) | ((pix & 0x3e0) << 6) | ((pix & 0x7c00) << 9); + } + +private: + int _src_stride; +}; + +class ColorCursor4: public ColorCursor { +public: + ColorCursor4(const SpiceCursorHeader& header, const uint8_t* data) + : ColorCursor(header) + , _src_stride (SPICE_ALIGN(header.width, 2) >> 1) + , _palette ((uint32_t*)(data + _src_stride * header.height)) + { + init_pixels(header, data, (uint8_t*)(_palette + 16)); + } + +private: + uint32_t get_pixel_color(const uint8_t *data, int row, int col) + { + data += _src_stride * row + (col >> 1); + return (col & 1) ? _palette[*data & 0x0f] : _palette[*data >> 4]; + } + +private: + int _src_stride; + uint32_t* _palette; +}; + +class AttachDispayEvent: public Event { +public: + AttachDispayEvent(CursorChannel& channel) + : _channel (channel) + { + } + + class UpdateDisplayChannel: public ForEachChannelFunc { + public: + UpdateDisplayChannel(CursorChannel& channel) + : _channel (channel) + { + } + + virtual bool operator() (RedChannel& channel) + { + if (channel.get_type() != SPICE_CHANNEL_DISPLAY || + channel.get_id() != _channel.get_id()) { + return true; + } + + _channel.attach_display(&static_cast<DisplayChannel&>(channel)); + return false; + } + + private: + CursorChannel& _channel; + }; + + virtual void response(AbstractProcessLoop& events_loop) + { + UpdateDisplayChannel func(_channel); + _channel.get_client().for_each_channel(func); + } + +private: + CursorChannel& _channel; +}; + +class CursorUpdateEvent: public Event { +public: + CursorUpdateEvent(CursorChannel& channel) + : _channel (channel) + { + } + + virtual void response(AbstractProcessLoop& events_loop) + { + DisplayChannel* display_channel = _channel._display_channel; + if (!display_channel) { + return; + } + + Lock lock(_channel._update_lock); + if (_channel._cursor_visible) { + display_channel->set_cursor(_channel._cursor); + return; + } + + display_channel->hide_cursor(); + } + +private: + CursorChannel& _channel; +}; + +class CursorHandler: public MessageHandlerImp<CursorChannel, SPICE_CHANNEL_CURSOR> { +public: + CursorHandler(CursorChannel& channel) + : MessageHandlerImp<CursorChannel, SPICE_CHANNEL_CURSOR>(channel) {} +}; + +CursorChannel::CursorChannel(RedClient& client, uint32_t id) + : RedChannel(client, SPICE_CHANNEL_CURSOR, id, new CursorHandler(*this)) + , ScreenLayer(SCREEN_LAYER_CURSOR, false) + , _cursor (NULL) + , _cursor_visible (false) + , _display_channel (NULL) +{ + CursorHandler* handler = static_cast<CursorHandler*>(get_message_handler()); + + handler->set_handler(SPICE_MSG_MIGRATE, &CursorChannel::handle_migrate); + handler->set_handler(SPICE_MSG_SET_ACK, &CursorChannel::handle_set_ack); + handler->set_handler(SPICE_MSG_PING, &CursorChannel::handle_ping); + handler->set_handler(SPICE_MSG_WAIT_FOR_CHANNELS, &CursorChannel::handle_wait_for_channels); + handler->set_handler(SPICE_MSG_DISCONNECTING, &CursorChannel::handle_disconnect); + handler->set_handler(SPICE_MSG_NOTIFY, &CursorChannel::handle_notify); + + handler->set_handler(SPICE_MSG_CURSOR_INIT, &CursorChannel::handle_init); + handler->set_handler(SPICE_MSG_CURSOR_RESET, &CursorChannel::handle_reset); + handler->set_handler(SPICE_MSG_CURSOR_SET, &CursorChannel::handle_cursor_set); + handler->set_handler(SPICE_MSG_CURSOR_MOVE, &CursorChannel::handle_cursor_move); + handler->set_handler(SPICE_MSG_CURSOR_HIDE, &CursorChannel::handle_cursor_hide); + handler->set_handler(SPICE_MSG_CURSOR_TRAIL, &CursorChannel::handle_cursor_trail); + handler->set_handler(SPICE_MSG_CURSOR_INVAL_ONE, &CursorChannel::handle_inval_one); + handler->set_handler(SPICE_MSG_CURSOR_INVAL_ALL, &CursorChannel::handle_inval_all); +} + +CursorChannel::~CursorChannel() +{ + ASSERT(!_cursor); +} + +void CursorChannel::on_connect() +{ + AutoRef<AttachDispayEvent> attach_event(new AttachDispayEvent(*this)); + get_client().push_event(*attach_event); +} + +void CursorChannel::on_disconnect() +{ + remove_cursor(); + _cursor_cache.clear(); + AutoRef<SyncEvent> sync_event(new SyncEvent()); + get_client().push_event(*sync_event); + (*sync_event)->wait(); + detach_from_screen(get_client().get_application()); +} + +void CursorChannel::update_display_cursor() +{ + if (!_display_channel) { + return; + } + + AutoRef<CursorUpdateEvent> update_event(new CursorUpdateEvent(*this)); + get_client().push_event(*update_event); +} + +void CursorChannel::remove_cursor() +{ + Lock lock(_update_lock); + _cursor_visible = false; + if (_cursor) { + _cursor->unref(); + _cursor = NULL; + } + lock.unlock(); + clear_area(); + update_display_cursor(); +} + +void CursorChannel::copy_pixels(const QRegion& dest_region, RedDrawable& dest_dc) +{ + pixman_box32_t *rects; + int num_rects; + + Lock lock(_update_lock); + + if (!_cursor_visible) { + return; + } + + rects = pixman_region32_rectangles((pixman_region32_t *)&dest_region, &num_rects); + for (int i = 0; i < num_rects; i++) { + SpiceRect r; + + r.left = rects[i].x1; + r.top = rects[i].y1; + r.right = rects[i].x2; + r.bottom = rects[i].y2; + ASSERT(_cursor && _cursor->get_opaque()); + ((NaitivCursor*)_cursor->get_opaque())->draw(dest_dc, _cursor_rect.left, _cursor_rect.top, + r); + } +} + +void CursorChannel::create_native_cursor(CursorData* cursor) +{ + CursorOpaque* native_cursor = cursor->get_opaque(); + + if (native_cursor) { + return; + } + + switch (cursor->header().type) { + case SPICE_CURSOR_TYPE_ALPHA: + native_cursor = new AlphaCursor(cursor->header(), cursor->data()); + break; + case SPICE_CURSOR_TYPE_COLOR32: + native_cursor = new ColorCursor32(cursor->header(), cursor->data()); + break; + case SPICE_CURSOR_TYPE_MONO: + native_cursor = new MonoCursor(cursor->header(), cursor->data()); + break; + case SPICE_CURSOR_TYPE_COLOR4: + native_cursor = new ColorCursor4(cursor->header(), cursor->data()); + break; + case SPICE_CURSOR_TYPE_COLOR8: + native_cursor = new UnsupportedCursor(cursor->header()); + break; + case SPICE_CURSOR_TYPE_COLOR16: + native_cursor = new ColorCursor16(cursor->header(), cursor->data()); + break; + case SPICE_CURSOR_TYPE_COLOR24: + native_cursor = new UnsupportedCursor(cursor->header()); + break; + default: + THROW("invalid cursor type"); + } + cursor->set_opaque(native_cursor); +} + +void CursorChannel::set_cursor(SpiceCursor& red_cursor, int x, int y, bool visible) +{ + CursorData *cursor; + + if (red_cursor.flags & SPICE_CURSOR_FLAGS_NONE) { + remove_cursor(); + return; + } + + if (red_cursor.flags & SPICE_CURSOR_FLAGS_FROM_CACHE) { + cursor = _cursor_cache.get(red_cursor.header.unique); + } else { + cursor = new CursorData(red_cursor, red_cursor.data_size); + if (red_cursor.flags & SPICE_CURSOR_FLAGS_CACHE_ME) { + ASSERT(red_cursor.header.unique); + _cursor_cache.add(red_cursor.header.unique, cursor); + } + } + + AutoRef<CursorData> cursor_ref(cursor); + create_native_cursor(cursor); + + Lock lock(_update_lock); + _hot_pos.x = x; + _hot_pos.y = y; + _cursor_visible = visible; + _cursor_rect.left = x - cursor->header().hot_spot_x; + _cursor_rect.right = _cursor_rect.left + cursor->header().width; + _cursor_rect.top = y - cursor->header().hot_spot_y; + _cursor_rect.bottom = _cursor_rect.top + cursor->header().height; + + if (_cursor) { + _cursor->unref(); + } + _cursor = cursor->ref(); + lock.unlock(); + + update_display_cursor(); + + if (get_client().get_mouse_mode() == SPICE_MOUSE_MODE_SERVER) { + if (_cursor_visible) { + set_rect_area(_cursor_rect); + } else { + clear_area(); + } + } +} + +void CursorChannel::attach_display(DisplayChannel* channel) +{ + if (_display_channel) { + return; + } + + _display_channel = channel; + + Lock lock(_update_lock); + if (!_cursor_visible) { + return; + } + + _display_channel->set_cursor(_cursor); +} + +void CursorChannel::detach_display() +{ + _display_channel = NULL; +} + +void CursorChannel::handle_init(RedPeer::InMessage *message) +{ + SpiceMsgCursorInit *init = (SpiceMsgCursorInit*)message->data(); + attach_to_screen(get_client().get_application(), get_id()); + remove_cursor(); + _cursor_cache.clear(); + set_cursor(init->cursor, init->position.x, + init->position.y, init->visible != 0); +} + +void CursorChannel::handle_reset(RedPeer::InMessage *message) +{ + remove_cursor(); + detach_from_screen(get_client().get_application()); + _cursor_cache.clear(); +} + +void CursorChannel::handle_cursor_set(RedPeer::InMessage* message) +{ + SpiceMsgCursorSet* set = (SpiceMsgCursorSet*)message->data(); + set_cursor(set->cursor, set->position.x, + set->position.y, set->visible != 0); +} + +void CursorChannel::handle_cursor_move(RedPeer::InMessage* message) +{ + SpiceMsgCursorMove* move = (SpiceMsgCursorMove*)message->data(); + + if (!_cursor) { + return; + } + + Lock lock(_update_lock); + _cursor_visible = true; + int dx = move->position.x - _hot_pos.x; + int dy = move->position.y - _hot_pos.y; + _hot_pos.x += dx; + _hot_pos.y += dy; + _cursor_rect.left += dx; + _cursor_rect.right += dx; + _cursor_rect.top += dy; + _cursor_rect.bottom += dy; + lock.unlock(); + + if (get_client().get_mouse_mode() == SPICE_MOUSE_MODE_SERVER) { + set_rect_area(_cursor_rect); + return; + } + + update_display_cursor(); +} + +void CursorChannel::handle_cursor_hide(RedPeer::InMessage* message) +{ + Lock lock(_update_lock); + + _cursor_visible = false; + update_display_cursor(); + + if (get_client().get_mouse_mode() == SPICE_MOUSE_MODE_SERVER) { + clear_area(); + } +} + +void CursorChannel::handle_cursor_trail(RedPeer::InMessage* message) +{ + SpiceMsgCursorTrail* trail = (SpiceMsgCursorTrail*)message->data(); + DBG(0, "length %u frequency %u", trail->length, trail->frequency) +} + +void CursorChannel::handle_inval_one(RedPeer::InMessage* message) +{ + SpiceMsgDisplayInvalOne* inval = (SpiceMsgDisplayInvalOne*)message->data(); + _cursor_cache.remove(inval->id); +} + +void CursorChannel::handle_inval_all(RedPeer::InMessage* message) +{ + _cursor_cache.clear(); +} + +void CursorChannel::on_mouse_mode_change() +{ + Lock lock(_update_lock); + + if (get_client().get_mouse_mode() == SPICE_MOUSE_MODE_CLIENT) { + clear_area(); + return; + } + + if (_cursor_visible) { + set_rect_area(_cursor_rect); + } +} + +class CursorFactory: public ChannelFactory { +public: + CursorFactory() : ChannelFactory(SPICE_CHANNEL_CURSOR) {} + virtual RedChannel* construct(RedClient& client, uint32_t id) + { + return new CursorChannel(client, id); + } +}; + +static CursorFactory factory; + +ChannelFactory& CursorChannel::Factory() +{ + return factory; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/cursor_channel.h b/tizen/distrib/remote/server/spice-0.12.2/client/cursor_channel.h new file mode 100644 index 0000000..3458c5f --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/cursor_channel.h @@ -0,0 +1,93 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_CURSOR_CHANNEL +#define _H_CURSOR_CHANNEL + +#include "red_channel.h" +#include "cache.hpp" +#include "cursor.h" +#include "screen_layer.h" + +class ChannelFactory; +class CursorChannel; +class DisplayChannel; + +class CursorCacheTreat { +public: + static inline CursorData* get(CursorData* cursor) + { + return cursor->ref(); + } + + static inline void release(CursorData* cursor) + { + cursor->unref(); + } + + static const char* name() { return "cursor";} +}; + +typedef Cache<CursorData, CursorCacheTreat, 1024> CursorCache; + +class CursorChannel: public RedChannel, public ScreenLayer { +public: + CursorChannel(RedClient& client, uint32_t id); + virtual ~CursorChannel(); + + static ChannelFactory& Factory(); + void on_mouse_mode_change(); + + void attach_display(DisplayChannel* channel); + void detach_display(); + +protected: + virtual void on_connect(); + virtual void on_disconnect(); + +private: + static void create_native_cursor(CursorData* cursor); + + void update_display_cursor(); + void set_cursor(SpiceCursor& red_cursor, int x, int y, bool visible); + void remove_cursor(); + + virtual void copy_pixels(const QRegion& dest_region, RedDrawable& dest_dc); + + void handle_init(RedPeer::InMessage* message); + void handle_reset(RedPeer::InMessage* message); + void handle_cursor_set(RedPeer::InMessage* message); + void handle_cursor_move(RedPeer::InMessage* message); + void handle_cursor_hide(RedPeer::InMessage* message); + void handle_cursor_trail(RedPeer::InMessage* message); + void handle_inval_one(RedPeer::InMessage* message); + void handle_inval_all(RedPeer::InMessage* message); + + friend class AttachDispayEvent; + friend class CursorUpdateEvent; + +private: + CursorCache _cursor_cache; + CursorData* _cursor; + SpicePoint _hot_pos; + SpiceRect _cursor_rect; + Mutex _update_lock; + bool _cursor_visible; + DisplayChannel* _display_channel; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/debug.h b/tizen/distrib/remote/server/spice-0.12.2/client/debug.h new file mode 100644 index 0000000..f2cc299 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/debug.h @@ -0,0 +1,92 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_DEBUG +#define _H_DEBUG + +#include <stdlib.h> +#include <sstream> + +#include "platform.h" + +#ifdef WIN32 +#define snprintf _snprintf +#endif + +#define ON_PANIC() ::abort() + +#ifdef RED_DEBUG + +#ifdef WIN32 +#define ASSERTBREAK DebugBreak() +#else +#define ASSERTBREAK ::abort() +#endif + +#define ASSERT(x) if (!(x)) { \ + printf("%s: ASSERT %s failed\n", __FUNCTION__, #x); \ + ASSERTBREAK; \ +} + +#else + +#define ASSERT(cond) + +#endif + +enum { + LOG_DEBUG, + LOG_INFO, + LOG_WARN, + LOG_ERROR, + LOG_FATAL +}; + +void spice_log(unsigned int type, const char *function, const char *format, ...); +void spice_log_cleanup(void); + +#ifdef __GNUC__ +#define SPICE_FUNC_NAME __PRETTY_FUNCTION__ +#else +#define SPICE_FUNC_NAME __FUNCTION__ +#endif + +#define LOG(type, format, ...) spice_log(type, SPICE_FUNC_NAME, format, ## __VA_ARGS__) + +#define LOG_INFO(format, ...) LOG(LOG_INFO, format, ## __VA_ARGS__) +#define LOG_WARN(format, ...) LOG(LOG_WARN, format, ## __VA_ARGS__) +#define LOG_ERROR(format, ...) LOG(LOG_ERROR, format, ## __VA_ARGS__) + +#define PANIC(format, ...) { \ + LOG(LOG_FATAL, format, ## __VA_ARGS__); \ + ON_PANIC(); \ +} + +#define PANIC_ON(x) if ((x)) { \ + LOG(LOG_FATAL, "%s panic %s\n", __FUNCTION__, #x); \ + ON_PANIC(); \ +} + +#define DBGLEVEL 1000 + +#define DBG(level, format, ...) { \ + if (level <= DBGLEVEL) { \ + LOG(LOG_DEBUG, format, ## __VA_ARGS__); \ + } \ +} + +#endif // _H_DEBUG diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/display_channel.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/display_channel.cpp new file mode 100644 index 0000000..49a4c6a --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/display_channel.cpp @@ -0,0 +1,1857 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "red_pixmap.h" +#ifdef USE_OPENGL +#include "red_pixmap_gl.h" +#endif +#include "debug.h" +#include "utils.h" +#include "common.h" +#include "display_channel.h" +#include "application.h" +#include "screen.h" +#ifdef USE_OPENGL +#include "red_gl_canvas.h" +#endif +#include "red_sw_canvas.h" +#include "red_client.h" +#include "utils.h" +#include "debug.h" +#ifdef WIN32 +#include "red_gdi_canvas.h" +#endif +#include "platform_utils.h" +#include "inputs_channel.h" +#include "cursor_channel.h" +#include "mjpeg_decoder.h" + +class CreatePrimarySurfaceEvent: public SyncEvent { +public: + CreatePrimarySurfaceEvent(DisplayChannel& channel, int width, int height, uint32_t format) + : _channel (channel) + , _width (width) + , _height (height) + , _format (format) + { + } + + virtual void do_response(AbstractProcessLoop& events_loop) + { + Application* app = (Application*)events_loop.get_owner(); + _channel.screen()->lock_size(); + app->resize_screen(_channel.screen(), _width, _height); + _channel.create_canvas(0, app->get_canvas_types(), _width, _height, _format); + } + +private: + DisplayChannel& _channel; + int _width; + int _height; + uint32_t _format; +}; + +class DestroyPrimarySurfaceEvent: public SyncEvent { +public: + DestroyPrimarySurfaceEvent(DisplayChannel& channel) + : _channel (channel) + { + } + + virtual void do_response(AbstractProcessLoop& events_loop) + { + _channel.destroy_canvas(0); + } + +private: + DisplayChannel& _channel; +}; + +class DestroyAllSurfacesEvent: public SyncEvent { +public: + DestroyAllSurfacesEvent(DisplayChannel& channel, bool include_primary = true) + : _channel(channel) + , _include_primary(include_primary) + { + } + + virtual void do_response(AbstractProcessLoop& events_loop) + { + if (_include_primary) { + _channel.do_destroy_all_surfaces(); + } else { + _channel.do_destroy_off_screen_surfaces(); + } + } + +private: + DisplayChannel& _channel; + bool _include_primary; +}; + +class CreateSurfaceEvent: public SyncEvent { +public: + CreateSurfaceEvent(DisplayChannel& channel, int surface_id, int width, int height, + uint32_t format) + : _channel (channel) + , _surface_id (surface_id) + , _width (width) + , _height (height) + , _format (format) + { + } + + virtual void do_response(AbstractProcessLoop& events_loop) + { + Application* app = (Application*)events_loop.get_owner(); + _channel.create_canvas(_surface_id, app->get_canvas_types(), _width, _height, _format); + } + +private: + DisplayChannel& _channel; + int _surface_id; + int _width; + int _height; + uint32_t _format; +}; + +class DestroySurfaceEvent: public SyncEvent { +public: + DestroySurfaceEvent(DisplayChannel& channel, int surface_id) + : _channel (channel) + , _surface_id (surface_id) + { + } + + virtual void do_response(AbstractProcessLoop& events_loop) + { + _channel.destroy_canvas(_surface_id); + } + +private: + DisplayChannel& _channel; + int _surface_id; +}; + +class UnlockScreenEvent: public Event { +public: + UnlockScreenEvent(RedScreen* screen) + : _screen (screen->ref()) + { + } + + virtual void response(AbstractProcessLoop& events_loop) + { + (*_screen)->unlock_size(); + } + +private: + AutoRef<RedScreen> _screen; +}; + + +#define MAX_VIDEO_FRAMES 30 +#define MAX_OVER 15 +#define MAX_UNDER -15 + + +class VideoStream { +public: + VideoStream(RedClient& client, Canvas& canvas, DisplayChannel& channel, + uint32_t codec_type, bool top_down, uint32_t stream_width, + uint32_t stream_height, uint32_t src_width, uint32_t src_height, + SpiceRect* dest, int clip_type, uint32_t num_clip_rects, SpiceRect* clip_rects); + ~VideoStream(); + + void push_data(uint32_t mm_time, uint32_t length, uint8_t* data); + void set_clip(int type, uint32_t num_clip_rects, SpiceRect* clip_rects); + const SpiceRect& get_dest() {return _dest;} + void handle_update_mark(uint64_t update_mark); + uint32_t handle_timer_update(uint32_t now); + +private: + void free_frame(uint32_t frame_index); + void release_all_bufs(); + void remove_dead_frames(uint32_t mm_time); + uint32_t alloc_frame_slot(); + void maintenance(); + void drop_one_frame(); + uint32_t frame_slot(uint32_t frame_index) { return frame_index % MAX_VIDEO_FRAMES;} + static bool is_time_to_display(uint32_t now, uint32_t frame_time); + +private: + RedClient& _client; + Canvas& _canvas; + DisplayChannel& _channel; + MJpegDecoder *_mjpeg_decoder; + int _stream_width; + int _stream_height; + int _stride; + bool _top_down; + SpiceRect _dest; + QRegion _clip_region; + QRegion* _clip; + + struct VideoFrame { + uint32_t mm_time; + uint32_t compressed_data_size; + uint8_t* compressed_data; + }; + + uint32_t _frames_head; + uint32_t _frames_tail; + uint32_t _kill_mark; + VideoFrame _frames[MAX_VIDEO_FRAMES]; + +#ifdef WIN32 + HBITMAP _prev_bitmap; + HDC _dc; +#endif + uint8_t *_uncompressed_data; + PixmapHeader _pixmap; + uint64_t _update_mark; + uint32_t _update_time; + +public: + VideoStream* next; +}; + +#ifdef WIN32 +static int create_bitmap(HDC *dc, HBITMAP *prev_bitmap, + uint8_t **data, int *nstride, + int width, int height, bool top_down) +{ + HBITMAP bitmap; + struct { + BITMAPINFO inf; + RGBQUAD palette[255]; + } bitmap_info; + + memset(&bitmap_info, 0, sizeof(bitmap_info)); + bitmap_info.inf.bmiHeader.biSize = sizeof(bitmap_info.inf.bmiHeader); + bitmap_info.inf.bmiHeader.biWidth = width; + bitmap_info.inf.bmiHeader.biHeight = top_down ? -height : height; + + bitmap_info.inf.bmiHeader.biPlanes = 1; + bitmap_info.inf.bmiHeader.biBitCount = 32; + bitmap_info.inf.bmiHeader.biCompression = BI_RGB; + *nstride = width * 4; + + *dc = create_compatible_dc(); + if (!*dc) { + return 0; + } + + bitmap = CreateDIBSection(*dc, &bitmap_info.inf, 0, (void **)data, NULL, 0); + if (!bitmap) { + DeleteObject(*dc); + return 0; + } + + *prev_bitmap = (HBITMAP)SelectObject(*dc, bitmap); + return 1; +} + +#endif + +VideoStream::VideoStream(RedClient& client, Canvas& canvas, DisplayChannel& channel, + uint32_t codec_type, bool top_down, uint32_t stream_width, + uint32_t stream_height, uint32_t src_width, uint32_t src_height, + SpiceRect* dest, int clip_type, uint32_t num_clip_rects, + SpiceRect* clip_rects) + : _client (client) + , _canvas (canvas) + , _channel (channel) + , _mjpeg_decoder (NULL) + , _stream_width (stream_width) + , _stream_height (stream_height) + , _stride (stream_width * sizeof(uint32_t)) + , _top_down (top_down) + , _dest (*dest) + , _clip (NULL) + , _frames_head (0) + , _frames_tail (0) + , _kill_mark (0) + , _uncompressed_data (NULL) + , _update_mark (0) + , _update_time (0) + , next (NULL) +{ + memset(_frames, 0, sizeof(_frames)); + region_init(&_clip_region); + if (codec_type != SPICE_VIDEO_CODEC_TYPE_MJPEG) { + THROW("invalid video codec type %u", codec_type); + } + + try { +#ifdef WIN32 + if (!create_bitmap(&_dc, &_prev_bitmap, &_uncompressed_data, &_stride, + stream_width, stream_height, _top_down)) { + THROW("create_bitmap failed"); + } +#else + _uncompressed_data = new uint8_t[_stride * stream_height]; +#endif + _pixmap.width = src_width; + _pixmap.height = src_height; + + _mjpeg_decoder = new MJpegDecoder(stream_width, stream_height, _stride, _uncompressed_data, channel.get_peer_major() == 1); + +#ifdef WIN32 + SetViewportOrgEx(_dc, 0, stream_height - src_height, NULL); +#endif + + // this doesn't have effect when using gdi_canvas. The sign of BITMAPINFO's biHeight + // determines the orientation (see create_bitmap). + if (_top_down) { + _pixmap.data = _uncompressed_data; + _pixmap.stride = _stride; + } else { + _pixmap.data = _uncompressed_data + _stride * (src_height - 1); + _pixmap.stride = -_stride; + } + + set_clip(clip_type, num_clip_rects, clip_rects); + + } catch (...) { + if (_mjpeg_decoder) { + delete _mjpeg_decoder; + _mjpeg_decoder = NULL; + } + release_all_bufs(); + throw; + } +} + +VideoStream::~VideoStream() +{ + if (_mjpeg_decoder) { + delete _mjpeg_decoder; + _mjpeg_decoder = NULL; + } + release_all_bufs(); + region_destroy(&_clip_region); +} + +void VideoStream::release_all_bufs() +{ + for (int i = 0; i < MAX_VIDEO_FRAMES; i++) { + delete[] _frames[i].compressed_data; + } +#ifdef WIN32 + if (_dc) { + HBITMAP bitmap = (HBITMAP)SelectObject(_dc, _prev_bitmap); + DeleteObject(bitmap); + DeleteObject(_dc); + } +#else + delete[] _uncompressed_data; +#endif +} + +void VideoStream::free_frame(uint32_t frame_index) +{ + int slot = frame_slot(frame_index); + delete[] _frames[slot].compressed_data; + _frames[slot].compressed_data = NULL; +} + +void VideoStream::remove_dead_frames(uint32_t mm_time) +{ + while (_frames_head != _frames_tail) { + if (int(_frames[frame_slot(_frames_tail)].mm_time - mm_time) >= MAX_UNDER) { + return; + } + free_frame(_frames_tail); + _frames_tail++; + } +} + +void VideoStream::drop_one_frame() +{ + ASSERT(MAX_VIDEO_FRAMES > 2 && (_frames_head - _frames_tail) == MAX_VIDEO_FRAMES); + unsigned frame_index = _frames_head - _kill_mark++ % (MAX_VIDEO_FRAMES - 2) - 2; + + free_frame(frame_index); + + while (frame_index != _frames_tail) { + --frame_index; + _frames[frame_slot(frame_index + 1)] = _frames[frame_slot(frame_index)]; + } + _frames_tail++; +} + +bool VideoStream::is_time_to_display(uint32_t now, uint32_t frame_time) +{ + int delta = frame_time - now; + return delta <= MAX_OVER && delta >= MAX_UNDER; +} + +void VideoStream::maintenance() +{ + uint32_t mm_time = _client.get_mm_time(); + + remove_dead_frames(mm_time); + if (!_update_mark && !_update_time && _frames_head != _frames_tail) { + VideoFrame* tail = &_frames[frame_slot(_frames_tail)]; + + ASSERT(tail->compressed_data); + uint8_t* data = tail->compressed_data; + uint32_t length = tail->compressed_data_size; + int got_picture = 0; + + got_picture =_mjpeg_decoder->decode_data(data, length); + if (got_picture) { +#ifdef WIN32 + _canvas.put_image(_dc, _pixmap, _dest, _clip); +#else + _canvas.put_image(_pixmap, _dest, _clip); +#endif + if (is_time_to_display(mm_time, tail->mm_time)) { + _update_mark = _channel.invalidate(_dest, true); + Platform::yield(); + } else { + _update_time = tail->mm_time; + _channel.stream_update_request(_update_time); + } + } + free_frame(_frames_tail++); + } +} + +uint32_t VideoStream::handle_timer_update(uint32_t now) +{ + if (!_update_time) { + return 0; + } + + if (is_time_to_display(now, _update_time)) { + _update_time = 0; + _update_mark = _channel.invalidate(_dest, true); + } else if ((int)(_update_time - now) < 0) { + DBG(0, "to late"); + _update_time = 0; + } + return _update_time; +} + +void VideoStream::handle_update_mark(uint64_t update_mark) +{ + if (!_update_mark || update_mark < _update_mark) { + return; + } + _update_mark = 0; + maintenance(); +} + +uint32_t VideoStream::alloc_frame_slot() +{ + if ((_frames_head - _frames_tail) == MAX_VIDEO_FRAMES) { + drop_one_frame(); + } + return frame_slot(_frames_head++); +} + +void VideoStream::push_data(uint32_t mm_time, uint32_t length, uint8_t* data) +{ + maintenance(); + uint32_t frame_slot = alloc_frame_slot(); + _frames[frame_slot].compressed_data = new uint8_t[length]; + memcpy(_frames[frame_slot].compressed_data, data, length); + _frames[frame_slot].compressed_data_size = length; + _frames[frame_slot].mm_time = mm_time ? mm_time : 1; + maintenance(); +} + +void VideoStream::set_clip(int type, uint32_t num_clip_rects, SpiceRect* clip_rects) +{ + if (type == SPICE_CLIP_TYPE_NONE) { + _clip = NULL; + return; + } + + ASSERT(type == SPICE_CLIP_TYPE_RECTS) + region_clear(&_clip_region); + + for (unsigned int i = 0; i < num_clip_rects; i++) { + region_add(&_clip_region, &clip_rects[i]); + } + _clip = &_clip_region; +} + +StreamsTrigger::StreamsTrigger(DisplayChannel& channel) + : _channel (channel) +{ +} + +void StreamsTrigger::on_event() +{ + _channel.on_streams_trigger(); +} + +#ifdef USE_OPENGL + +GLInterruptRecreate::GLInterruptRecreate(DisplayChannel& channel) + : _channel (channel) +{ +} + +void GLInterruptRecreate::trigger() +{ + Lock lock(_lock); + EventSources::Trigger::trigger(); + _cond.wait(lock); +} + +void GLInterruptRecreate::on_event() +{ + Lock lock(_lock); + _channel.recreate_ogl_context_interrupt(); + _cond.notify_one(); +} + +#endif + +void InterruptUpdate::on_event() +{ + _channel.update_interrupt(); +} + +InterruptUpdate::InterruptUpdate(DisplayChannel& channel) + : _channel (channel) +{ +} + +StreamsTimer::StreamsTimer(DisplayChannel& channel) + : _channel (channel) +{ +} + +void StreamsTimer::response(AbstractProcessLoop& events_loop) +{ + _channel.streams_time(); +} + +#define RESET_TIMEOUT (1000 * 5) + +class ResetTimer: public Timer { +public: + ResetTimer(RedScreen* screen, RedClient& client) : _screen(screen), _client(client) {} + virtual void response(AbstractProcessLoop& events_loop); +private: + RedScreen* _screen; + RedClient& _client; +}; + +void ResetTimer::response(AbstractProcessLoop& events_loop) +{ + _screen->unref(); + _client.deactivate_interval_timer(this); +} + +#define MIGRATION_PRIMARY_SURFACE_TIMEOUT (1000 * 5) + +class MigPrimarySurfaceTimer: public Timer { +public: + virtual void response(AbstractProcessLoop& events_loop) + { + DisplayChannel *channel = static_cast<DisplayChannel*>(events_loop.get_owner()); + if (channel->_mig_wait_primary) { + channel->destroy_primary_surface(); + channel->_mig_wait_primary = false; + } + channel->get_process_loop().deactivate_interval_timer(this); + } +}; + +class DisplayHandler: public MessageHandlerImp<DisplayChannel, SPICE_CHANNEL_DISPLAY> { +public: + DisplayHandler(DisplayChannel& channel) + : MessageHandlerImp<DisplayChannel, SPICE_CHANNEL_DISPLAY>(channel) {} +}; + +DisplayChannel::DisplayChannel(RedClient& client, uint32_t id, + PixmapCache& pixmap_cache, GlzDecoderWindow& glz_window) + : RedChannel(client, SPICE_CHANNEL_DISPLAY, id, new DisplayHandler(*this), + Platform::PRIORITY_LOW) + , ScreenLayer (SCREEN_LAYER_DISPLAY, true) + , _pixmap_cache (pixmap_cache) + , _glz_window (glz_window) + , _mark (false) + , _update_mark (0) + , _streams_timer (new StreamsTimer(*this)) + , _next_timer_time (0) + , _cursor_visibal (false) + , _active_pointer (false) + , _capture_mouse_mode (false) + , _inputs_channel (NULL) + , _active_streams (NULL) + , _streams_trigger (*this) +#ifdef USE_OPENGL + , _gl_interrupt_recreate (*this) +#endif + , _interrupt_update (*this) + , _mig_wait_primary (false) +{ + DisplayHandler* handler = static_cast<DisplayHandler*>(get_message_handler()); + + handler->set_handler(SPICE_MSG_MIGRATE, &DisplayChannel::handle_migrate); + handler->set_handler(SPICE_MSG_SET_ACK, &DisplayChannel::handle_set_ack); + handler->set_handler(SPICE_MSG_PING, &DisplayChannel::handle_ping); + handler->set_handler(SPICE_MSG_WAIT_FOR_CHANNELS, &DisplayChannel::handle_wait_for_channels); + handler->set_handler(SPICE_MSG_DISCONNECTING, &DisplayChannel::handle_disconnect); + handler->set_handler(SPICE_MSG_NOTIFY, &DisplayChannel::handle_notify); + + handler->set_handler(SPICE_MSG_DISPLAY_MODE, &DisplayChannel::handle_mode); + handler->set_handler(SPICE_MSG_DISPLAY_MARK, &DisplayChannel::handle_mark); + handler->set_handler(SPICE_MSG_DISPLAY_RESET, &DisplayChannel::handle_reset); + + handler->set_handler(SPICE_MSG_DISPLAY_INVAL_LIST, + &DisplayChannel::handle_inval_list); + handler->set_handler(SPICE_MSG_DISPLAY_INVAL_ALL_PIXMAPS, + &DisplayChannel::handle_inval_all_pixmaps); + handler->set_handler(SPICE_MSG_DISPLAY_INVAL_PALETTE, + &DisplayChannel::handle_inval_palette); + handler->set_handler(SPICE_MSG_DISPLAY_INVAL_ALL_PALETTES, + &DisplayChannel::handle_inval_all_palettes); + + handler->set_handler(SPICE_MSG_DISPLAY_STREAM_CREATE, &DisplayChannel::handle_stream_create); + handler->set_handler(SPICE_MSG_DISPLAY_STREAM_CLIP, &DisplayChannel::handle_stream_clip); + handler->set_handler(SPICE_MSG_DISPLAY_STREAM_DESTROY, &DisplayChannel::handle_stream_destroy); + handler->set_handler(SPICE_MSG_DISPLAY_STREAM_DESTROY_ALL, + &DisplayChannel::handle_stream_destroy_all); + + handler->set_handler(SPICE_MSG_DISPLAY_SURFACE_CREATE, &DisplayChannel::handle_surface_create); + handler->set_handler(SPICE_MSG_DISPLAY_SURFACE_DESTROY, &DisplayChannel::handle_surface_destroy); + + get_process_loop().add_trigger(_streams_trigger); +#ifdef USE_OPENGL + get_process_loop().add_trigger(_gl_interrupt_recreate); +#endif + get_process_loop().add_trigger(_interrupt_update); + + set_draw_handlers(); + + set_capability(SPICE_DISPLAY_CAP_COMPOSITE); + set_capability(SPICE_DISPLAY_CAP_A8_SURFACE); +} + +DisplayChannel::~DisplayChannel() +{ + if (screen()) { + screen()->set_update_interrupt_trigger(NULL); + } + + destroy_streams(); + do_destroy_all_surfaces(); +} + +void DisplayChannel::destroy_streams() +{ + Lock lock(_streams_lock); + for (unsigned int i = 0; i < _streams.size(); i++) { + delete _streams[i]; + _streams[i] = NULL; + } + _active_streams = NULL; +} + +void DisplayChannel::set_draw_handlers() +{ + DisplayHandler* handler = static_cast<DisplayHandler*>(get_message_handler()); + + handler->set_handler(SPICE_MSG_DISPLAY_COPY_BITS, &DisplayChannel::handle_copy_bits); + + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_FILL, &DisplayChannel::handle_draw_fill); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_OPAQUE, &DisplayChannel::handle_draw_opaque); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_COPY, &DisplayChannel::handle_draw_copy); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_BLEND, &DisplayChannel::handle_draw_blend); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_BLACKNESS, &DisplayChannel::handle_draw_blackness); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_WHITENESS, &DisplayChannel::handle_draw_whiteness); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_INVERS, &DisplayChannel::handle_draw_invers); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_ROP3, &DisplayChannel::handle_draw_rop3); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_STROKE, &DisplayChannel::handle_draw_stroke); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_TEXT, &DisplayChannel::handle_draw_text); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_TRANSPARENT, + &DisplayChannel::handle_draw_transparent); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_ALPHA_BLEND, + &DisplayChannel::handle_draw_alpha_blend); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_COMPOSITE, + &DisplayChannel::handle_draw_composite); + handler->set_handler(SPICE_MSG_DISPLAY_STREAM_DATA, &DisplayChannel::handle_stream_data); +} + +void DisplayChannel::clear_draw_handlers() +{ + DisplayHandler* handler = static_cast<DisplayHandler*>(get_message_handler()); + + handler->set_handler(SPICE_MSG_DISPLAY_COPY_BITS, NULL); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_FILL, NULL); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_OPAQUE, NULL); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_COPY, NULL); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_BLEND, NULL); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_BLACKNESS, NULL); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_WHITENESS, NULL); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_INVERS, NULL); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_ROP3, NULL); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_STROKE, NULL); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_TEXT, NULL); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_TRANSPARENT, NULL); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_ALPHA_BLEND, NULL); + handler->set_handler(SPICE_MSG_DISPLAY_DRAW_COMPOSITE, NULL); + handler->set_handler(SPICE_MSG_DISPLAY_STREAM_DATA, NULL); +} + +void DisplayChannel::copy_pixels(const QRegion& dest_region, + const PixmapHeader &dest_pixmap) +{ + Canvas *canvas; + + if (!_surfaces_cache.exist(0)) { + return; + } + + canvas = _surfaces_cache[0]; + canvas->copy_pixels(dest_region, NULL, &dest_pixmap); +} + +#ifdef USE_OPENGL +void DisplayChannel::recreate_ogl_context_interrupt() +{ + Canvas* canvas; + + if (_surfaces_cache.exist(0)) { //fix me to all surfaces + canvas = _surfaces_cache[0]; + ((GCanvas *)(canvas))->touch_context(); + ((GCanvas *)canvas)->textures_lost(); + delete canvas; + } + + if (!create_ogl_canvas(0, _x_res, _y_res, _format, 0, _rendertype)) { + THROW("create_ogl_canvas failed"); + } + + canvas = _surfaces_cache[0]; + ((GCanvas *)(canvas))->touch_context(); +} + +void DisplayChannel::recreate_ogl_context() +{ + if (_surfaces_cache.exist(0) && _surfaces_cache[0]->get_pixmap_type() == + CANVAS_TYPE_GL) { + if (!screen()->need_recreate_context_gl()) { + _gl_interrupt_recreate.trigger(); + } + } +} + +#endif + +void DisplayChannel::update_cursor() +{ + if (!screen() || !_active_pointer) { + return; + } + + if (_capture_mouse_mode) { + //todo: use special cursor for capture mode + AutoRef<LocalCursor> default_cursor(Platform::create_default_cursor()); + screen()->set_cursor(*default_cursor); + return; + } + + if (!_cursor_visibal || !*_cursor) { + screen()->hide_cursor(); + return; + } + + + if (!(*_cursor)->get_local()) { + AutoRef<LocalCursor> local_cursor(Platform::create_local_cursor(*_cursor)); + if (*local_cursor == NULL) { + THROW("create local cursor failed"); + } + (*_cursor)->set_local(*local_cursor); + } + screen()->set_cursor((*_cursor)->get_local()); +} + +void DisplayChannel::set_cursor(CursorData* cursor) +{ + ASSERT(cursor); + _cursor.reset(cursor->ref()); + _cursor_visibal = true; + update_cursor(); +} + +void DisplayChannel::hide_cursor() +{ + _cursor_visibal = false; + update_cursor(); +} + +void DisplayChannel::attach_inputs(InputsChannel* inputs_channel) +{ + if (_inputs_channel) { + return; + } + + _inputs_channel = inputs_channel; + if (_active_pointer && !_capture_mouse_mode) { + _inputs_channel->on_mouse_position(_pointer_pos.x, _pointer_pos.y, + _buttons_state, get_id()); + } +} + +void DisplayChannel::detach_inputs() +{ + _inputs_channel = NULL; +} + +bool DisplayChannel::pointer_test(int x, int y) +{ + return contains_point(x, y); +} + +void DisplayChannel::on_pointer_enter(int x, int y, unsigned int buttons_state) +{ + _active_pointer = true; + update_cursor(); + on_pointer_motion(x, y, buttons_state); +} + +void DisplayChannel::on_pointer_motion(int x, int y, unsigned int buttons_state) +{ + _pointer_pos.x = x; + _pointer_pos.y = y; + _buttons_state = buttons_state; + if (!_capture_mouse_mode && _inputs_channel) { + _inputs_channel->on_mouse_position(x, y, buttons_state, get_id()); + } +} + +void DisplayChannel::on_pointer_leave() +{ + _active_pointer = false; +} + +void DisplayChannel::on_mouse_button_press(int button, int buttons_state) +{ + _buttons_state = buttons_state; + if (!_capture_mouse_mode && _inputs_channel) { + _inputs_channel->on_mouse_down(button, buttons_state); + } +} + +void DisplayChannel::on_mouse_button_release(int button, int buttons_state) +{ + _buttons_state = buttons_state; + if (_capture_mouse_mode) { + if (button == SPICE_MOUSE_BUTTON_LEFT) { + get_client().on_mouse_capture_trigger(*screen()); + } + return; + } + + if (_inputs_channel) { + _inputs_channel->on_mouse_up(button, buttons_state); + } +} + +void DisplayChannel::set_capture_mode(bool on) +{ + if (_capture_mouse_mode == on) { + return; + } + _capture_mouse_mode = on; + update_cursor(); + if (_inputs_channel && !_capture_mouse_mode && _active_pointer) { + _inputs_channel->on_mouse_position(_pointer_pos.x, _pointer_pos.y, _buttons_state, + get_id()); + } +} + +void DisplayChannel::update_interrupt() +{ +#ifdef USE_OPENGL + Canvas *canvas; +#endif + + if (!_surfaces_cache.exist(0) || !screen()) { + return; + } + +#ifdef USE_OPENGL + canvas = _surfaces_cache[0]; + if (canvas->get_pixmap_type() == CANVAS_TYPE_GL) { + ((GCanvas *)(canvas))->pre_gl_copy(); + } +#endif + + screen()->update(); + +#ifdef USE_OPENGL + if (canvas->get_pixmap_type() == CANVAS_TYPE_GL) { + ((GCanvas *)(canvas))->post_gl_copy(); + } +#endif +} + +#ifdef USE_OPENGL + +void DisplayChannel::pre_migrate() +{ +} + +void DisplayChannel::post_migrate() +{ +#ifdef USE_OPENGL + if (_surfaces_cache.exist(0) && _surfaces_cache[0]->get_pixmap_type() == CANVAS_TYPE_GL) { + _gl_interrupt_recreate.trigger(); + } +#endif +} + +#endif + +void DisplayChannel::copy_pixels(const QRegion& dest_region, + RedDrawable& dest_dc) +{ + if (!_surfaces_cache.exist(0)) { + return; + } + + _surfaces_cache[0]->copy_pixels(dest_region, dest_dc); +} + +class ActivateTimerEvent: public Event { +public: + ActivateTimerEvent(DisplayChannel& channel) + : _channel (channel) + { + } + + virtual void response(AbstractProcessLoop& events_loop) + { + _channel.activate_streams_timer(); + } + +private: + DisplayChannel& _channel; +}; + +class AttachChannelsEvent : public Event { +public: + AttachChannelsEvent(DisplayChannel& channel) : Event(), _channel (channel) {} + + class AttachChannels: public ForEachChannelFunc { + public: + AttachChannels(DisplayChannel& channel) + : _channel (channel) + { + } + + virtual bool operator() (RedChannel& channel) + { + if (channel.get_type() == SPICE_CHANNEL_CURSOR && channel.get_id() == _channel.get_id()) { + static_cast<CursorChannel&>(channel).attach_display(&_channel); + } else if (channel.get_type() == SPICE_CHANNEL_INPUTS) { + _channel.attach_inputs(&static_cast<InputsChannel&>(channel)); + } + return false; + } + + private: + DisplayChannel& _channel; + }; + + virtual void response(AbstractProcessLoop& events_loop) + { + uint32_t mouse_mode = _channel.get_client().get_mouse_mode(); + _channel._capture_mouse_mode = (mouse_mode == SPICE_MOUSE_MODE_SERVER); + AttachChannels for_each_func(_channel); + _channel.get_client().for_each_channel(for_each_func); + } + +private: + DisplayChannel& _channel; +}; + +class DetachChannelsEvent : public Event { +public: + DetachChannelsEvent(DisplayChannel& channel) : Event(), _channel (channel) {} + + class DetatchChannels: public ForEachChannelFunc { + public: + DetatchChannels(DisplayChannel& channel) + : _channel (channel) + { + } + + virtual bool operator() (RedChannel& channel) + { + if (channel.get_type() == SPICE_CHANNEL_CURSOR && channel.get_id() == _channel.get_id()) { + static_cast<CursorChannel&>(channel).detach_display(); + return true; + } + return false; + } + + private: + DisplayChannel& _channel; + }; + + virtual void response(AbstractProcessLoop& events_loop) + { + DetatchChannels for_each_func(_channel); + _channel.get_client().for_each_channel(for_each_func); + } + +private: + DisplayChannel& _channel; +}; + +void DisplayChannel::on_connect() +{ + Message* message = new Message(SPICE_MSGC_DISPLAY_INIT); + SpiceMsgcDisplayInit init; + init.pixmap_cache_id = 1; + init.pixmap_cache_size = get_client().get_pixmap_cache_size(); + init.glz_dictionary_id = 1; + init.glz_dictionary_window_size = get_client().get_glz_window_size(); + _marshallers->msgc_display_init(message->marshaller(), &init); + post_message(message); + AutoRef<AttachChannelsEvent> attach_channels(new AttachChannelsEvent(*this)); + get_client().push_event(*attach_channels); +} + +void DisplayChannel::on_disconnect() +{ + if (_surfaces_cache.exist(0)) { + _surfaces_cache[0]->clear(); + } + + clear(); + + AutoRef<DetachChannelsEvent> detach_channels(new DetachChannelsEvent(*this)); + get_client().push_event(*detach_channels); + if (screen()) { + AutoRef<UnlockScreenEvent> unlock_event(new UnlockScreenEvent(screen())); + get_client().push_event(*unlock_event); + detach_from_screen(get_client().get_application()); + } + AutoRef<SyncEvent> sync_event(new SyncEvent()); + get_client().push_event(*sync_event); + (*sync_event)->wait(); +} + +void DisplayChannel::do_destroy_all_surfaces() +{ + SurfacesCache::iterator s_iter; + + for (s_iter = _surfaces_cache.begin(); s_iter != _surfaces_cache.end(); s_iter++) { + delete (*s_iter).second; + } + _surfaces_cache.clear(); +} + +void DisplayChannel::do_destroy_off_screen_surfaces() +{ + SurfacesCache::iterator s_iter; + Canvas *primary_canvas = NULL; + + for (s_iter = _surfaces_cache.begin(); s_iter != _surfaces_cache.end(); s_iter++) { + if (s_iter->first == 0) { + primary_canvas = s_iter->second; + } else { + delete s_iter->second; + } + } + _surfaces_cache.clear(); + if (primary_canvas) { + _surfaces_cache[0] = primary_canvas; + } +} + +void DisplayChannel::destroy_all_surfaces() +{ + AutoRef<DestroyAllSurfacesEvent> destroy_event(new DestroyAllSurfacesEvent(*this)); + + get_client().push_event(*destroy_event); + (*destroy_event)->wait(); + if (!(*destroy_event)->success()) { + THROW("destroy all surfaces failed"); + } +} + +void DisplayChannel::destroy_off_screen_surfaces() +{ + AutoRef<DestroyAllSurfacesEvent> destroy_event(new DestroyAllSurfacesEvent(*this, false)); + + get_client().push_event(*destroy_event); + (*destroy_event)->wait(); + if (!(*destroy_event)->success()) { + THROW("destroy all surfaces failed"); + } +} + +void DisplayChannel::clear(bool destroy_primary) +{ + _palette_cache.clear(); + destroy_streams(); + if (screen()) { + screen()->set_update_interrupt_trigger(NULL); + } + _update_mark = 0; + _next_timer_time = 0; + get_client().deactivate_interval_timer(*_streams_timer); + if (destroy_primary) { + destroy_all_surfaces(); + } else { + destroy_off_screen_surfaces(); + } +} + +void DisplayChannel::on_disconnect_mig_src() +{ + clear(false); + // Not clrearing the primary surface till we receive a new one (or a timeout). + if (_surfaces_cache.exist(0)) { + AutoRef<MigPrimarySurfaceTimer> mig_timer(new MigPrimarySurfaceTimer()); + get_process_loop().activate_interval_timer(*mig_timer, MIGRATION_PRIMARY_SURFACE_TIMEOUT); + _mig_wait_primary = true; + } +} + +bool DisplayChannel::create_sw_canvas(int surface_id, int width, int height, uint32_t format) +{ + try { + SCanvas *canvas = new SCanvas(surface_id == 0, width, height, format, + screen()->get_window(), + _pixmap_cache, _palette_cache, _glz_window, + _surfaces_cache); + _surfaces_cache[surface_id] = canvas; + if (surface_id == 0) { + LOG_INFO("display %d: using sw", get_id()); + } + } catch (...) { + return false; + } + return true; +} + +#ifdef USE_OPENGL +bool DisplayChannel::create_ogl_canvas(int surface_id, int width, int height, uint32_t format, + bool recreate, RenderType rendertype) +{ + try { + RedWindow *win; + + win = screen()->get_window(); + GCanvas *canvas = new GCanvas(width, height, format, win, rendertype, + _pixmap_cache, + _palette_cache, + _glz_window, + _surfaces_cache); + + screen()->untouch_context(); + + _surfaces_cache[surface_id] = canvas; + _rendertype = rendertype; + if (surface_id == 0) { + LOG_INFO("display %d: using ogl", get_id()); + } + } catch (...) { + return false; + } + return true; +} + +#endif + +#ifdef WIN32 +bool DisplayChannel::create_gdi_canvas(int surface_id, int width, int height, uint32_t format) +{ + try { + GDICanvas *canvas = new GDICanvas(width, height, format, + _pixmap_cache, _palette_cache, _glz_window, + _surfaces_cache); + _surfaces_cache[surface_id] = canvas; + if (surface_id == 0) { + LOG_INFO("display %d: using gdi", get_id()); + } + } catch (...) { + return false; + } + return true; +} + +#endif + +void DisplayChannel::destroy_canvas(int surface_id) +{ + Canvas *canvas; + + if (!_surfaces_cache.exist(surface_id)) { + LOG_INFO("surface does not exist: %d", surface_id); + return; + } + + canvas = _surfaces_cache[surface_id]; + _surfaces_cache.erase(surface_id); + +#ifdef USE_OPENGL + if (canvas->get_pixmap_type() == CANVAS_TYPE_GL) { + ((GCanvas *)(canvas))->touch_context(); + } +#endif + + delete canvas; +} + +void DisplayChannel::create_canvas(int surface_id, const std::vector<int>& canvas_types, int width, + int height, uint32_t format) +{ +#ifdef USE_OPENGL + bool recreate = true; +#endif + unsigned int i; + + if (screen()) { +#ifdef USE_OPENGL + if (screen()->need_recreate_context_gl()) { + recreate = false; + } +#endif + screen()->set_update_interrupt_trigger(NULL); + } + + if (_surfaces_cache.exist(surface_id)) { + LOG_WARN("surface already exists: %d", surface_id); + } + + for (i = 0; i < canvas_types.size(); i++) { + + if (canvas_types[i] == CANVAS_OPTION_SW && create_sw_canvas(surface_id, width, height, format)) { + break; + } +#ifdef USE_OPENGL + if (canvas_types[i] == CANVAS_OPTION_OGL_FBO && create_ogl_canvas(surface_id, width, height, format, + recreate, + RENDER_TYPE_FBO)) { + break; + } + if (canvas_types[i] == CANVAS_OPTION_OGL_PBUFF && create_ogl_canvas(surface_id, width, height, format, + recreate, + RENDER_TYPE_PBUFF)) { + break; + } +#endif +#ifdef WIN32 + if (canvas_types[i] == CANVAS_OPTION_GDI && create_gdi_canvas(surface_id, width, height, format)) { + break; + } +#endif + } + + if (i == canvas_types.size()) { + THROW("create canvas failed"); + } +} + +void DisplayChannel::handle_mode(RedPeer::InMessage* message) +{ + SpiceMsgDisplayMode *mode = (SpiceMsgDisplayMode *)message->data(); + + if (_surfaces_cache.exist(0)) { + destroy_primary_surface(); + } + create_primary_surface(mode->x_res, mode->y_res, + mode->bits == 32 ? SPICE_SURFACE_FMT_32_xRGB : SPICE_SURFACE_FMT_16_555); +} + +void DisplayChannel::handle_mark(RedPeer::InMessage *message) +{ + _mark = true; + SpiceRect area; + area.top = area.left = 0; + area.right = _x_res; + area.bottom = _y_res; + + AutoRef<VisibilityEvent> event(new VisibilityEvent(get_id())); + get_client().push_event(*event); + set_rect_area(area); +} + +void DisplayChannel::reset_screen() +{ + AutoRef<UnlockScreenEvent> unlock_event(new UnlockScreenEvent(screen())); + get_client().push_event(*unlock_event); + + screen()->set_update_interrupt_trigger(NULL); + AutoRef<ResetTimer> reset_timer(new ResetTimer(screen()->ref(), get_client())); + + detach_from_screen(get_client().get_application()); + + get_client().activate_interval_timer(*reset_timer, RESET_TIMEOUT); +} + + +void DisplayChannel::handle_reset(RedPeer::InMessage *message) +{ + if (_surfaces_cache.exist(0)) { + _surfaces_cache[0]->clear(); + } + + _palette_cache.clear(); + + reset_screen(); +} + +void DisplayChannel::handle_inval_list(RedPeer::InMessage* message) +{ + SpiceResourceList *inval_list = (SpiceResourceList *)message->data(); + + if (message->size() < + sizeof(*inval_list) + inval_list->count * sizeof(inval_list->resources[0])) { + THROW("access violation"); + } + + for (int i = 0; i < inval_list->count; i++) { + if (inval_list->resources[i].type != SPICE_RES_TYPE_PIXMAP) { + THROW("invalid res type"); + } + + _pixmap_cache.remove(inval_list->resources[i].id); + } +} + +void DisplayChannel::handle_inval_all_pixmaps(RedPeer::InMessage* message) +{ + SpiceMsgWaitForChannels *wait = (SpiceMsgWaitForChannels *)message->data(); + if (message->size() < sizeof(*wait) + wait->wait_count * sizeof(wait->wait_list[0])) { + THROW("access violation"); + } + get_client().wait_for_channels(wait->wait_count, wait->wait_list); + _pixmap_cache.clear(); +} + +void DisplayChannel::handle_inval_palette(RedPeer::InMessage* message) +{ + SpiceMsgDisplayInvalOne* inval = (SpiceMsgDisplayInvalOne*)message->data(); + _palette_cache.remove(inval->id); +} + +void DisplayChannel::handle_inval_all_palettes(RedPeer::InMessage* message) +{ + _palette_cache.clear(); +} + +void DisplayChannel::set_clip_rects(const SpiceClip& clip, uint32_t& num_clip_rects, + SpiceRect*& clip_rects) +{ + switch (clip.type) { + case SPICE_CLIP_TYPE_RECTS: { + num_clip_rects = clip.rects->num_rects; + clip_rects = clip.rects->rects; + break; + } + case SPICE_CLIP_TYPE_NONE: + num_clip_rects = 0; + clip_rects = NULL; + break; + default: + THROW("unexpected clip type"); + } +} + +void DisplayChannel::handle_stream_create(RedPeer::InMessage* message) +{ + SpiceMsgDisplayStreamCreate* stream_create = (SpiceMsgDisplayStreamCreate*)message->data(); + int surface_id = stream_create->surface_id; + + Lock lock(_streams_lock); + if (_streams.size() <= stream_create->id) { + _streams.resize(stream_create->id + 1); + } + + if (_streams[stream_create->id]) { + THROW("stream exist"); + } + + if (!_surfaces_cache.exist(surface_id)) { + THROW("surface does not exist: %d", surface_id); + } + + uint32_t num_clip_rects; + SpiceRect* clip_rects; + set_clip_rects(stream_create->clip, num_clip_rects, clip_rects); + _streams[stream_create->id] = new VideoStream(get_client(), *_surfaces_cache[surface_id], + *this, stream_create->codec_type, + !!(stream_create->flags & SPICE_STREAM_FLAGS_TOP_DOWN), + stream_create->stream_width, + stream_create->stream_height, + stream_create->src_width, + stream_create->src_height, + &stream_create->dest, + stream_create->clip.type, + num_clip_rects, + clip_rects); + _streams[stream_create->id]->next = _active_streams; + _active_streams = _streams[stream_create->id]; +} + +void DisplayChannel::handle_stream_data(RedPeer::InMessage* message) +{ + SpiceMsgDisplayStreamData* stream_data = (SpiceMsgDisplayStreamData*)message->data(); + VideoStream* stream; + + if (stream_data->base.id >= _streams.size() || !(stream = _streams[stream_data->base.id])) { + THROW("invalid stream"); + } + + if (message->size() < sizeof(SpiceMsgDisplayStreamData) + stream_data->data_size) { + THROW("access violation"); + } + + stream->push_data(stream_data->base.multi_media_time, + stream_data->data_size, + stream_data->data); +} + +void DisplayChannel::handle_stream_clip(RedPeer::InMessage* message) +{ + SpiceMsgDisplayStreamClip* clip_data = (SpiceMsgDisplayStreamClip*)message->data(); + VideoStream* stream; + uint32_t num_clip_rects; + SpiceRect* clip_rects; + + if (clip_data->id >= _streams.size() || !(stream = _streams[clip_data->id])) { + THROW("invalid stream"); + } + + if (message->size() < sizeof(SpiceMsgDisplayStreamClip)) { + THROW("access violation"); + } + set_clip_rects(clip_data->clip, num_clip_rects, clip_rects); + Lock lock(_streams_lock); + stream->set_clip(clip_data->clip.type, num_clip_rects, clip_rects); +} + +void DisplayChannel::handle_stream_destroy(RedPeer::InMessage* message) +{ + SpiceMsgDisplayStreamDestroy* stream_destroy = (SpiceMsgDisplayStreamDestroy*)message->data(); + + if (stream_destroy->id >= _streams.size() || !_streams[stream_destroy->id]) { + THROW("invalid stream"); + } + Lock lock(_streams_lock); + + VideoStream **active_stream = &_active_streams; + for (;;) { + if (!*active_stream) { + THROW("not in active streams"); + } + + if (*active_stream == _streams[stream_destroy->id]) { + *active_stream = _streams[stream_destroy->id]->next; + break; + } + active_stream = &(*active_stream)->next; + } + + delete _streams[stream_destroy->id]; + _streams[stream_destroy->id] = NULL; +} + +void DisplayChannel::handle_stream_destroy_all(RedPeer::InMessage* message) +{ + destroy_streams(); +} + +void DisplayChannel::create_primary_surface(int width, int height, uint32_t format) +{ + bool do_create_primary = true; +#ifdef USE_OPENGL + Canvas *canvas; +#endif + _mark = false; + + /* + * trying to avoid artifacts when the display hasn't changed much + * between the disconnection from the migration src and the + * connection to the target. + */ + if (_mig_wait_primary) { + ASSERT(_surfaces_cache.exist(0)); + if (_x_res != width || _y_res != height || format != format) { + LOG_INFO("destroy the primary surface of the mig src session"); + destroy_primary_surface(); + } else { + LOG_INFO("keep the primary surface of the mig src session"); + _surfaces_cache[0]->clear(); + clear_area(); + do_create_primary = false; + } + } + + if (do_create_primary) { + LOG_INFO(""); + attach_to_screen(get_client().get_application(), get_id()); + clear_area(); + AutoRef<CreatePrimarySurfaceEvent> event(new CreatePrimarySurfaceEvent(*this, width, height, + format)); + get_client().push_event(*event); + (*event)->wait(); + if (!(*event)->success()) { + THROW("Create primary surface failed"); + } + } + + _mig_wait_primary = false; + + _x_res = width; + _y_res = height; + _format = format; + +#ifdef USE_OPENGL + canvas = _surfaces_cache[0]; + + if (canvas->get_pixmap_type() == CANVAS_TYPE_GL) { + ((GCanvas *)(canvas))->touch_context(); + screen()->set_update_interrupt_trigger(&_interrupt_update); + screen()->set_type_gl(); + } +#endif +} + +void DisplayChannel::create_surface(int surface_id, int width, int height, uint32_t format) +{ + AutoRef<CreateSurfaceEvent> event(new CreateSurfaceEvent(*this, surface_id, width, height, + format)); + get_client().push_event(*event); + (*event)->wait(); + if (!(*event)->success()) { + THROW("Create surface failed"); + } + +#ifdef USE_OPENGL + Canvas *canvas; + + canvas = _surfaces_cache[surface_id]; + + if (canvas->get_pixmap_type() == CANVAS_TYPE_GL) { + ((GCanvas *)(canvas))->touch_context(); + } +#endif +} + +void DisplayChannel::destroy_primary_surface() +{ + if (screen()) { +#ifdef USE_OPENGL + if (_surfaces_cache.exist(0)) { + if (_surfaces_cache[0]->get_pixmap_type() == CANVAS_TYPE_GL) { + screen()->unset_type_gl(); + screen()->untouch_context(); + } + } +#endif + + reset_screen(); + } + + AutoRef<DestroyPrimarySurfaceEvent> event(new DestroyPrimarySurfaceEvent(*this)); + get_client().push_event(*event); + (*event)->wait(); + if (!(*event)->success()) { + THROW("Destroying primary surface failed"); + } +} + +void DisplayChannel::destroy_surface(int surface_id) +{ + AutoRef<DestroySurfaceEvent> event(new DestroySurfaceEvent(*this, surface_id)); + get_client().push_event(*event); + (*event)->wait(); + if (!(*event)->success()) { + THROW("Destroying surface failed"); + } +} + +void DisplayChannel::handle_surface_create(RedPeer::InMessage* message) +{ + SpiceMsgSurfaceCreate* surface_create = (SpiceMsgSurfaceCreate*)message->data(); + if (surface_create->flags == SPICE_SURFACE_FLAGS_PRIMARY) { + create_primary_surface(surface_create->width, surface_create->height, + surface_create->format); + } else { + create_surface(surface_create->surface_id, surface_create->width, surface_create->height, + surface_create->format); + } +} + +void DisplayChannel::handle_surface_destroy(RedPeer::InMessage* message) +{ + SpiceMsgSurfaceDestroy* surface_destroy = (SpiceMsgSurfaceDestroy*)message->data(); + if (surface_destroy->surface_id == 0) { //fixme + destroy_primary_surface(); + } else { + destroy_surface(surface_destroy->surface_id); + } +} + +#define PRE_DRAW +#define POST_DRAW + +#define DRAW(type) { \ + PRE_DRAW; \ + canvas->draw_##type(*type, message->size()); \ + POST_DRAW; \ + if (type->base.surface_id == 0) { \ + invalidate(type->base.box, false); \ + } \ +} + +void DisplayChannel::handle_copy_bits(RedPeer::InMessage* message) +{ + Canvas *canvas; + SpiceMsgDisplayCopyBits* copy_bits = (SpiceMsgDisplayCopyBits*)message->data(); + PRE_DRAW; + canvas = _surfaces_cache[copy_bits->base.surface_id]; + canvas->copy_bits(*copy_bits, message->size()); + POST_DRAW; + if (copy_bits->base.surface_id == 0) { + invalidate(copy_bits->base.box, false); + } +} + +void DisplayChannel::handle_draw_fill(RedPeer::InMessage* message) +{ + Canvas *canvas; + SpiceMsgDisplayDrawFill* fill = (SpiceMsgDisplayDrawFill*)message->data(); + canvas = _surfaces_cache[fill->base.surface_id]; + DRAW(fill); +} + +void DisplayChannel::handle_draw_opaque(RedPeer::InMessage* message) +{ + Canvas *canvas; + SpiceMsgDisplayDrawOpaque* opaque = (SpiceMsgDisplayDrawOpaque*)message->data(); + canvas = _surfaces_cache[opaque->base.surface_id]; + DRAW(opaque); +} + +void DisplayChannel::handle_draw_copy(RedPeer::InMessage* message) +{ + Canvas *canvas; + SpiceMsgDisplayDrawCopy* copy = (SpiceMsgDisplayDrawCopy*)message->data(); + canvas = _surfaces_cache[copy->base.surface_id]; + DRAW(copy); +} + +void DisplayChannel::handle_draw_blend(RedPeer::InMessage* message) +{ + Canvas *canvas; + SpiceMsgDisplayDrawBlend* blend = (SpiceMsgDisplayDrawBlend*)message->data(); + canvas = _surfaces_cache[blend->base.surface_id]; + DRAW(blend); +} + +void DisplayChannel::handle_draw_blackness(RedPeer::InMessage* message) +{ + Canvas *canvas; + SpiceMsgDisplayDrawBlackness* blackness = (SpiceMsgDisplayDrawBlackness*)message->data(); + canvas = _surfaces_cache[blackness->base.surface_id]; + DRAW(blackness); +} + +void DisplayChannel::handle_draw_whiteness(RedPeer::InMessage* message) +{ + Canvas *canvas; + SpiceMsgDisplayDrawWhiteness* whiteness = (SpiceMsgDisplayDrawWhiteness*)message->data(); + canvas = _surfaces_cache[whiteness->base.surface_id]; + DRAW(whiteness); +} + +void DisplayChannel::handle_draw_invers(RedPeer::InMessage* message) +{ + Canvas *canvas; + SpiceMsgDisplayDrawInvers* invers = (SpiceMsgDisplayDrawInvers*)message->data(); + canvas = _surfaces_cache[invers->base.surface_id]; + DRAW(invers); +} + +void DisplayChannel::handle_draw_rop3(RedPeer::InMessage* message) +{ + Canvas *canvas; + SpiceMsgDisplayDrawRop3* rop3 = (SpiceMsgDisplayDrawRop3*)message->data(); + canvas = _surfaces_cache[rop3->base.surface_id]; + DRAW(rop3); +} + +void DisplayChannel::handle_draw_stroke(RedPeer::InMessage* message) +{ + Canvas *canvas; + SpiceMsgDisplayDrawStroke* stroke = (SpiceMsgDisplayDrawStroke*)message->data(); + canvas = _surfaces_cache[stroke->base.surface_id]; + DRAW(stroke); +} + +void DisplayChannel::handle_draw_text(RedPeer::InMessage* message) +{ + Canvas *canvas; + SpiceMsgDisplayDrawText* text = (SpiceMsgDisplayDrawText*)message->data(); + canvas = _surfaces_cache[text->base.surface_id]; + DRAW(text); +} + +void DisplayChannel::handle_draw_transparent(RedPeer::InMessage* message) +{ + Canvas *canvas; + SpiceMsgDisplayDrawTransparent* transparent = (SpiceMsgDisplayDrawTransparent*)message->data(); + canvas = _surfaces_cache[transparent->base.surface_id]; + DRAW(transparent); +} + +void DisplayChannel::handle_draw_alpha_blend(RedPeer::InMessage* message) +{ + Canvas *canvas; + SpiceMsgDisplayDrawAlphaBlend* alpha_blend = (SpiceMsgDisplayDrawAlphaBlend*)message->data(); + canvas = _surfaces_cache[alpha_blend->base.surface_id]; + DRAW(alpha_blend); +} + +void DisplayChannel::handle_draw_composite(RedPeer::InMessage* message) +{ + Canvas *canvas; + SpiceMsgDisplayDrawComposite* composite = (SpiceMsgDisplayDrawComposite*)message->data(); + canvas = _surfaces_cache[composite->base.surface_id]; + DRAW(composite); +} + +void DisplayChannel::streams_time() +{ + _next_timer_time = 0; + Lock lock(_streams_lock); + uint32_t mm_time = get_client().get_mm_time(); + uint32_t next_time = 0; + VideoStream* stream = _active_streams; + while (stream) { + uint32_t next_frame_time; + if ((next_frame_time = stream->handle_timer_update(mm_time))) { + if (!next_time || int(next_frame_time - next_time) < 0) { + next_time = next_frame_time; + } + } + stream = stream->next; + } + Lock timer_lock(_timer_lock); + mm_time = get_client().get_mm_time(); + next_time = mm_time + 15; + if (next_time && (!_next_timer_time || int(next_time - _next_timer_time) < 0)) { + get_client().activate_interval_timer(*_streams_timer, MAX(int(next_time - mm_time), 0)); + _next_timer_time = next_time; + } else if (!_next_timer_time) { + get_client().deactivate_interval_timer(*_streams_timer); + } + timer_lock.unlock(); + lock.unlock(); + Platform::yield(); +} + +void DisplayChannel::activate_streams_timer() +{ + uint32_t next_time = _next_timer_time; + if (!next_time) { + return; + } + + int delta = next_time - get_client().get_mm_time(); + if (delta <= 0) { + streams_time(); + } else { + Lock timer_lock(_timer_lock); + if (!_next_timer_time) { + return; + } + delta = _next_timer_time - get_client().get_mm_time(); + get_client().activate_interval_timer(*_streams_timer, delta); + } +} + +void DisplayChannel::stream_update_request(uint32_t mm_time) +{ + Lock lock(_timer_lock); + if (_next_timer_time && int(mm_time - _next_timer_time) > 0) { + return; + } + _next_timer_time = mm_time; + lock.unlock(); + AutoRef<ActivateTimerEvent> event(new ActivateTimerEvent(*this)); + get_client().push_event(*event); +} + +void DisplayChannel::on_update_completion(uint64_t mark) +{ +#ifndef RED64 + Lock lock(_mark_lock); +#endif + _update_mark = mark; +#ifndef RED64 + lock.unlock(); +#endif + _streams_trigger.trigger(); +} + +void DisplayChannel::on_streams_trigger() +{ +#ifndef RED64 + Lock lock(_mark_lock); +#endif + uint64_t update_mark = _update_mark; +#ifndef RED64 + lock.unlock(); +#endif + VideoStream* stream = _active_streams; + while (stream) { + stream->handle_update_mark(update_mark); + stream = stream->next; + } +} + +class DisplayFactory: public ChannelFactory { +public: + DisplayFactory() : ChannelFactory(SPICE_CHANNEL_DISPLAY) {} + virtual RedChannel* construct(RedClient& client, uint32_t id) + { + return new DisplayChannel(client, id, + client.get_pixmap_cache(), client.get_glz_window()); + } +}; + +static DisplayFactory factory; + +ChannelFactory& DisplayChannel::Factory() +{ + return factory; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/display_channel.h b/tizen/distrib/remote/server/spice-0.12.2/client/display_channel.h new file mode 100644 index 0000000..197ae73 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/display_channel.h @@ -0,0 +1,245 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_DISPLAY_CHANNEL +#define _H_DISPLAY_CHANNEL + +#include "common/region.h" + +#include "common.h" +#include "canvas.h" +#include "red_channel.h" +#include "cache.hpp" +#include "screen_layer.h" +#include "process_loop.h" +#ifdef USE_OPENGL +#include "red_pixmap_gl.h" +#endif +#include "glz_decoder_window.h" + +class RedScreen; +class ChannelFactory; +class VideoStream; +class DisplayChannel; +class CursorData; +class InputsChannel; + +class StreamsTrigger: public EventSources::Trigger { +public: + StreamsTrigger(DisplayChannel& channel); + + virtual void on_event(); + +private: + DisplayChannel& _channel; +}; + +#ifdef USE_OPENGL +class GLInterruptRecreate: public EventSources::Trigger { +public: + GLInterruptRecreate(DisplayChannel& channel); + virtual void trigger(); + virtual void on_event(); + +private: + DisplayChannel& _channel; + Mutex _lock; + Condition _cond; +}; +#endif + +class InterruptUpdate: public EventSources::Trigger { +public: + InterruptUpdate(DisplayChannel& channel); + + virtual void on_event(); + +private: + DisplayChannel& _channel; +}; + +class StreamsTimer: public Timer { +public: + StreamsTimer(DisplayChannel& channel); + virtual void response(AbstractProcessLoop& events_loop); +private: + DisplayChannel& _channel; +}; + +class DisplayChannel: public RedChannel, public ScreenLayer { +public: + DisplayChannel(RedClient& client, uint32_t id, + PixmapCache& pixmap_cache, GlzDecoderWindow& glz_window); + virtual ~DisplayChannel(); + + virtual void copy_pixels(const QRegion& dest_region, RedDrawable& dest_dc); + virtual void copy_pixels(const QRegion& dest_region, const PixmapHeader &dest); +#ifdef USE_OPENGL + virtual void recreate_ogl_context(); + virtual void recreate_ogl_context_interrupt(); + virtual void pre_migrate(); + virtual void post_migrate(); +#endif + virtual void update_interrupt(); + void set_cursor(CursorData* cursor); + void hide_cursor(); + void set_capture_mode(bool on); + + virtual bool pointer_test(int x, int y); + virtual void on_pointer_enter(int x, int y, unsigned int buttons_state); + virtual void on_pointer_motion(int x, int y, unsigned int buttons_state); + virtual void on_pointer_leave(); + virtual void on_mouse_button_press(int button, int buttons_state); + virtual void on_mouse_button_release(int button, int buttons_state); + + void attach_inputs(InputsChannel* inputs_channel); + void detach_inputs(); + + static ChannelFactory& Factory(); + +protected: + virtual void on_connect(); + virtual void on_disconnect(); + virtual void on_disconnect_mig_src(); + +private: + void set_draw_handlers(); + void clear_draw_handlers(); + bool create_sw_canvas(int surface_id, int width, int height, uint32_t format); +#ifdef USE_OPENGL + bool create_ogl_canvas(int surface_id, int width, int height, uint32_t format, bool recreate, + RenderType rendertype); +#endif +#ifdef WIN32 + bool create_gdi_canvas(int surface_id, int width, int height, uint32_t format); +#endif + void destroy_canvas(int surface_id); + void create_canvas(int surface_id, const std::vector<int>& canvas_type, int width, int height, + uint32_t format); + void destroy_streams(); + void update_cursor(); + + void create_primary_surface(int width, int height, uint32_t format); + void create_surface(int surface_id, int width, int height, uint32_t format); + void destroy_primary_surface(); + void destroy_surface(int surface_id); + void destroy_all_surfaces(); + void do_destroy_all_surfaces(); + void destroy_off_screen_surfaces(); + void do_destroy_off_screen_surfaces(); + + void handle_mode(RedPeer::InMessage* message); + void handle_mark(RedPeer::InMessage* message); + void handle_reset(RedPeer::InMessage* message); + + void handle_inval_list(RedPeer::InMessage* message); + void handle_inval_all_pixmaps(RedPeer::InMessage* message); + void handle_inval_palette(RedPeer::InMessage* message); + void handle_inval_all_palettes(RedPeer::InMessage* message); + void handle_copy_bits(RedPeer::InMessage* message); + void handle_stream_create(RedPeer::InMessage* message); + void handle_stream_data(RedPeer::InMessage* message); + void handle_stream_clip(RedPeer::InMessage* message); + void handle_stream_destroy(RedPeer::InMessage* message); + void handle_stream_destroy_all(RedPeer::InMessage* message); + + void handle_surface_create(RedPeer::InMessage* message); + void handle_surface_destroy(RedPeer::InMessage* message); + + void handle_draw_fill(RedPeer::InMessage* message); + void handle_draw_opaque(RedPeer::InMessage* message); + void handle_draw_copy(RedPeer::InMessage* message); + void handle_draw_blend(RedPeer::InMessage* message); + void handle_draw_blackness(RedPeer::InMessage* message); + void handle_draw_whiteness(RedPeer::InMessage* message); + void handle_draw_invers(RedPeer::InMessage* message); + void handle_draw_rop3(RedPeer::InMessage* message); + void handle_draw_stroke(RedPeer::InMessage* message); + void handle_draw_text(RedPeer::InMessage* message); + void handle_draw_transparent(RedPeer::InMessage* message); + void handle_draw_alpha_blend(RedPeer::InMessage* message); + void handle_draw_composite(RedPeer::InMessage* message); + + void on_streams_trigger(); + virtual void on_update_completion(uint64_t mark); + void streams_time(); + void activate_streams_timer(); + void stream_update_request(uint32_t update_time); + void reset_screen(); + void clear(bool destroy_primary = true); + + static void set_clip_rects(const SpiceClip& clip, uint32_t& num_clip_rects, SpiceRect*& clip_rects); + +private: + SurfacesCache _surfaces_cache; + PixmapCache& _pixmap_cache; + PaletteCache _palette_cache; + GlzDecoderWindow& _glz_window; + bool _mark; + int _x_res; + int _y_res; + uint32_t _format; +#ifdef USE_OPENGL + RenderType _rendertype; +#endif + +#ifndef RED64 + Mutex _mark_lock; +#endif + uint64_t _update_mark; + Mutex _streams_lock; + + Mutex _timer_lock; + AutoRef<StreamsTimer> _streams_timer; + uint32_t _next_timer_time; + + AutoRef<CursorData> _cursor; + bool _cursor_visibal; + bool _active_pointer; + bool _capture_mouse_mode; + InputsChannel* _inputs_channel; + + SpicePoint _pointer_pos; + int _buttons_state; + + std::vector<VideoStream*> _streams; + VideoStream* _active_streams; + StreamsTrigger _streams_trigger; +#ifdef USE_OPENGL + GLInterruptRecreate _gl_interrupt_recreate; +#endif + InterruptUpdate _interrupt_update; + + bool _mig_wait_primary; + friend class SetModeEvent; + friend class CreatePrimarySurfaceEvent; + friend class DestroyPrimarySurfaceEvent; + friend class CreateSurfaceEvent; + friend class DestroySurfaceEvent; + friend class DestroyAllSurfacesEvent; + friend class ActivateTimerEvent; + friend class VideoStream; + friend class StreamsTrigger; + friend class GLInterupt; + friend class StreamsTimer; + friend class AttachChannelsEvent; + friend class DetachChannelsEvent; + friend class MigPrimarySurfaceTimer; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/event_sources.h b/tizen/distrib/remote/server/spice-0.12.2/client/event_sources.h new file mode 100644 index 0000000..0db8ce6 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/event_sources.h @@ -0,0 +1,94 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_EVENT_SOURCES +#define _H_EVENT_SOURCES + +#include "common.h" +#include "event_sources_p.h" + +class EventSource; + +// TODO: the class is not thread safe +class EventSources: public EventSources_p { +public: + class Trigger; + class Socket; + class File; + class Handle; + + EventSources(); + virtual ~EventSources(); + + void add_trigger(Trigger& trigger); + void remove_trigger(Trigger& trigger); + void add_socket(Socket& socket); + void remove_socket(Socket& socket); + void add_file(File& file); + void remove_file(File& file); + void add_handle(Handle& handle); + void remove_handle(Handle& handle); + + /* return true if the events loop should quit */ + bool wait_events(int timeout_ms = INFINITE); +}; + +class EventSource { +public: + virtual ~EventSource() {} + virtual void on_event() = 0; + +private: + virtual void action() {on_event();} + + friend class EventSources; +}; + +class EventSources::Trigger: public EventSource, private Trigger_p { +public: + Trigger(); + virtual ~Trigger(); + virtual void trigger(); + virtual void reset(); + +private: + virtual void action(); + + friend class EventSources; +}; + +class EventSources::Socket: public EventSource { +protected: + virtual int get_socket() = 0; + + friend class EventSources; +}; + + +class EventSources::File: public EventSource { +protected: + virtual int get_fd() = 0; + + friend class EventSources; +}; + +class EventSources::Handle: public EventSource, public Handle_p { + + friend class EventSources; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/foreign_menu.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/foreign_menu.cpp new file mode 100644 index 0000000..70b6dc2 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/foreign_menu.cpp @@ -0,0 +1,376 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "foreign_menu.h" +#include <spice/foreign_menu_prot.h> +#include "menu.h" +#include "utils.h" +#include "debug.h" +#include "platform.h" + +#define PIPE_NAME_MAX_LEN 50 + +#ifdef WIN32 +#define PIPE_NAME "SpiceForeignMenu-%lu" +#elif defined(__i386__) || __SIZEOF_LONG__ == 4 +#define PIPE_NAME "/tmp/SpiceForeignMenu-%llu.uds" +#else +#define PIPE_NAME "/tmp/SpiceForeignMenu-%lu.uds" +#endif + +ForeignMenu::ForeignMenu(ForeignMenuInterface *handler, bool active) + : _handler (handler) + , _active (active) + , _refs (1) +{ + char pipe_name[PIPE_NAME_MAX_LEN]; + + ASSERT(_handler != NULL); +#ifndef WIN32 + const char *p_socket = getenv("SPICE_FOREIGN_MENU_SOCKET"); + if (p_socket) { + LOG_INFO("Creating a foreign menu connection %s", p_socket); + _foreign_menu = NamedPipe::create(p_socket, *this); + } else +#endif + { + snprintf(pipe_name, PIPE_NAME_MAX_LEN, PIPE_NAME, Platform::get_process_id()); + LOG_INFO("Creating a foreign menu connection %s", pipe_name); + _foreign_menu = NamedPipe::create(pipe_name, *this); + } + if (!_foreign_menu) { + LOG_ERROR("Failed to create a foreign menu connection"); + } +} + +ForeignMenu::~ForeignMenu() +{ + std::map<NamedPipe::ConnectionRef, ForeignMenuConnection*>::const_iterator conn; + for (conn = _connections.begin(); conn != _connections.end(); ++conn) { + conn->second->reset_handler(); + delete conn->second; + } + if (_foreign_menu) { + NamedPipe::destroy(_foreign_menu); + } +} + +NamedPipe::ConnectionInterface& ForeignMenu::create() +{ + ForeignMenuConnection *conn = new ForeignMenuConnection(_handler, *this); + + if (conn == NULL) { + throw Exception("Error allocating a new foreign menu connection"); + } + return *conn; +} + +void ForeignMenu::add_connection(NamedPipe::ConnectionRef conn_ref, ForeignMenuConnection *conn) +{ + _connections[conn_ref] = conn; + if (_active) { + send_active_state(conn, FOREIGN_MENU_APP_ACTIVATED); + } + conn->on_data(); +} + +void ForeignMenu::remove_connection(NamedPipe::ConnectionRef conn_ref) +{ + ForeignMenuConnection *conn = _connections[conn_ref]; + _connections.erase(conn_ref); + delete conn; +} + +void ForeignMenu::add_sub_menus() +{ + std::map<NamedPipe::ConnectionRef, ForeignMenuConnection*>::const_iterator conn; + for (conn = _connections.begin(); conn != _connections.end(); ++conn) { + conn->second->add_sub_menu(); + } +} + +void ForeignMenu::on_command(NamedPipe::ConnectionRef conn_ref, int32_t id) +{ + ForeignMenuConnection *conn = _connections[conn_ref]; + FrgMenuEvent msg; + + ASSERT(conn); + msg.base.id = FOREIGN_MENU_ITEM_EVENT; + msg.base.size = sizeof(FrgMenuEvent); + msg.id = id; + msg.action = FOREIGN_MENU_EVENT_CLICK; + conn->write_msg(&msg.base, msg.base.size); +} + +void ForeignMenu::on_activate() +{ + std::map<NamedPipe::ConnectionRef, ForeignMenuConnection*>::const_iterator conn; + _active = true; + for (conn = _connections.begin(); conn != _connections.end(); ++conn) { + send_active_state(conn->second, FOREIGN_MENU_APP_ACTIVATED); + } +} + +void ForeignMenu::on_deactivate() +{ + std::map<NamedPipe::ConnectionRef, ForeignMenuConnection*>::const_iterator conn; + _active = false; + for (conn = _connections.begin(); conn != _connections.end(); ++conn) { + send_active_state(conn->second, FOREIGN_MENU_APP_DEACTIVATED); + } +} + +void ForeignMenu::send_active_state(ForeignMenuConnection *conn, int32_t cmd) +{ + FrgMenuMsg msg; + + ASSERT(conn != NULL); + msg.id = cmd; + msg.size = sizeof(FrgMenuMsg); + conn->write_msg(&msg, msg.size); +} + +ForeignMenuConnection::ForeignMenuConnection(ForeignMenuInterface *handler, ForeignMenu& parent) + : _handler (handler) + , _parent (parent) + , _sub_menu (NULL) + , _initialized (false) + , _write_pending (0) + , _write_pos (_write_buf) + , _read_pos (_read_buf) +{ +} + +ForeignMenuConnection::~ForeignMenuConnection() +{ + if (_opaque != NamedPipe::INVALID_CONNECTION) { + NamedPipe::destroy_connection(_opaque); + } + if (_handler) { + AutoRef<Menu> app_menu(_handler->get_app_menu()); + (*app_menu)->remove_sub(_sub_menu); + _handler->update_menu(); + _handler->clear_menu_items(_opaque); + } + if (_sub_menu) { + _sub_menu->unref(); + } +} + +void ForeignMenuConnection::bind(NamedPipe::ConnectionRef conn_ref) +{ + _opaque = conn_ref; + _parent.add_connection(conn_ref, this); +} + +void ForeignMenuConnection::on_data() +{ + if (_write_pending) { + LOG_INFO("Resume pending write %d", _write_pending); + if (!write_msg(_write_pos, _write_pending)) { + return; + } + } + while (read_msgs()); +} + +bool ForeignMenuConnection::read_msgs() +{ + uint8_t *pos = _read_buf; + size_t nread = _read_pos - _read_buf; + int32_t size; + + ASSERT(_handler); + ASSERT(_opaque != NamedPipe::INVALID_CONNECTION); + size = NamedPipe::read(_opaque, (uint8_t*)_read_pos, sizeof(_read_buf) - nread); + if (size == 0) { + return false; + } else if (size < 0) { + LOG_ERROR("Error reading from named pipe %d", size); + _parent.remove_connection(_opaque); + return false; + } + nread += size; + while (nread > 0) { + if (!_initialized && nread >= sizeof(FrgMenuInitHeader)) { + FrgMenuInitHeader *init = (FrgMenuInitHeader *)pos; + if (init->magic != FOREIGN_MENU_MAGIC || init->version != FOREIGN_MENU_VERSION) { + LOG_ERROR("Bad foreign menu init, magic=0x%x version=%u", init->magic, + init->version); + _parent.remove_connection(_opaque); + return false; + } + if (nread < init->size) { + break; + } + if (!handle_init((FrgMenuInit*)init)) { + _parent.remove_connection(_opaque); + return false; + } + nread -= init->size; + pos += init->size; + _initialized = true; + } + if (!_initialized || nread < sizeof(FrgMenuMsg)) { + break; + } + FrgMenuMsg *hdr = (FrgMenuMsg *)pos; + if (hdr->size < sizeof(FrgMenuMsg)) { + LOG_ERROR("Bad foreign menu message, size=%u", hdr->size); + _parent.remove_connection(_opaque); + return false; + } + if (nread < hdr->size) { + break; + } + handle_message(hdr); + nread -= hdr->size; + pos += hdr->size; + } + if (nread > 0 && pos != _read_buf) { + memmove(_read_buf, pos, nread); + } + _read_pos = _read_buf + nread; + return true; +} + +bool ForeignMenuConnection::write_msg(const void *buf, int len) +{ + RecurciveLock lock(_write_lock); + uint8_t *pos; + int32_t written = 0; + + ASSERT(_opaque != NamedPipe::INVALID_CONNECTION); + if (_write_pending && buf != _write_pos) { + if ((_write_pos + _write_pending + len > _write_buf + sizeof(_write_buf)) && + !write_msg(_write_pos, _write_pending)) { + return false; + } + if (_write_pending) { + if (_write_pos + _write_pending + len > _write_buf + sizeof(_write_buf)) { + DBG(0, "Dropping message, due to insufficient space in write buffer"); + return true; + } + memcpy(_write_pos + _write_pending, buf, len); + _write_pending += len; + } + } + pos = (uint8_t*)buf; + while (len && (written = NamedPipe::write(_opaque, pos, len)) > 0) { + pos += written; + len -= written; + } + if (len && written == 0) { + if (_write_pending) { + _write_pos = pos; + } else { + _write_pos = _write_buf; + memcpy(_write_buf, pos, len); + } + _write_pending = len; + } else if (written < 0) { + LOG_ERROR("Error writing to named pipe %d", written); + _parent.remove_connection(_opaque); + return false; + } else { + _write_pending = 0; + } + return true; +} + +bool ForeignMenuConnection::handle_init(FrgMenuInit *init) +{ + std::string title = "Untitled"; + + ASSERT(_handler); + if (_sub_menu) { + LOG_ERROR("Foreign menu already initialized"); + return false; + } + if (init->credentials != 0) { + LOG_ERROR("Foreign menu has wrong credentials 0x%x", init->credentials); + return false; + } + if (init->base.size > offsetof(FrgMenuInit, title)) { + ((char*)init)[init->base.size - 1] = '\0'; + title = (char*)init->title; + } + _sub_menu = new Menu((CommandTarget&)*_handler, title); + add_sub_menu(); + _handler->update_menu(); + return true; +} + +void ForeignMenuConnection::add_sub_menu() +{ + if (_sub_menu) { + AutoRef<Menu> app_menu(_handler->get_app_menu()); + (*app_menu)->add_sub(_sub_menu); + } +} + +bool ForeignMenuConnection::handle_message(FrgMenuMsg *hdr) +{ + ASSERT(_sub_menu); + ASSERT(_handler); + switch (hdr->id) { + case FOREIGN_MENU_SET_TITLE: + ((char*)hdr)[hdr->size - 1] = '\0'; + _sub_menu->set_name((char*)((FrgMenuSetTitle*)hdr)->string); + break; + case FOREIGN_MENU_ADD_ITEM: { + FrgMenuAddItem *msg = (FrgMenuAddItem*)hdr; + ((char*)hdr)[hdr->size - 1] = '\0'; + int id = _handler->get_foreign_menu_item_id(_opaque, msg->id); + _sub_menu->add_command((char*)msg->string, id, get_item_state(msg->type)); + break; + } + case FOREIGN_MENU_REMOVE_ITEM: { + int id = _handler->get_foreign_menu_item_id(_opaque, ((FrgMenuRmItem*)hdr)->id); + _sub_menu->remove_command(id); + _handler->remove_menu_item(id); + break; + } + case FOREIGN_MENU_CLEAR: + _sub_menu->clear(); + _handler->clear_menu_items(_opaque); + break; + case FOREIGN_MENU_MODIFY_ITEM: + default: + LOG_ERROR("Ignoring an unknown foreign menu identifier %u", hdr->id); + return false; + } + _handler->update_menu(); + return true; +} + +int ForeignMenuConnection::get_item_state(int item_type) +{ + int state = 0; + + if (item_type & FOREIGN_MENU_ITEM_TYPE_CHECKED) { + state |= Menu::MENU_ITEM_STATE_CHECKED; + } + if (item_type & FOREIGN_MENU_ITEM_TYPE_DIM) { + state |= Menu::MENU_ITEM_STATE_DIM; + } + return state; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/foreign_menu.h b/tizen/distrib/remote/server/spice-0.12.2/client/foreign_menu.h new file mode 100644 index 0000000..6138087 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/foreign_menu.h @@ -0,0 +1,98 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_FOREIGN_MENU +#define _H_FOREIGN_MENU + +#include "named_pipe.h" +#include "menu.h" + +class ForeignMenuConnection; +struct FrgMenuInit; +struct FrgMenuMsg; + +class ForeignMenuInterface : public CommandTarget { +public: + virtual ~ForeignMenuInterface() {} + + virtual int get_foreign_menu_item_id(int32_t opaque_conn_ref, uint32_t msg_id) = 0; + virtual void clear_menu_items(int32_t opaque_conn_ref) = 0; + virtual void remove_menu_item(int item_id) = 0; + virtual Menu* get_app_menu() = 0; + virtual void update_menu() = 0; +}; + +class ForeignMenu : public NamedPipe::ListenerInterface { +public: + ForeignMenu(ForeignMenuInterface *handler, bool active = false); + virtual ~ForeignMenu(); + + ForeignMenu* ref() { _refs++; return this;} + void unref() { if (!--_refs) delete this;} + + virtual NamedPipe::ConnectionInterface &create(); + void add_connection(NamedPipe::ConnectionRef conn_ref, ForeignMenuConnection *conn); + void remove_connection(NamedPipe::ConnectionRef conn_ref); + void add_sub_menus(); + void on_command(NamedPipe::ConnectionRef conn_ref, int32_t id); + void on_activate(); + void on_deactivate(); + +private: + void send_active_state(ForeignMenuConnection *conn, int32_t cmd); + +private: + ForeignMenuInterface *_handler; + std::map<NamedPipe::ConnectionRef, ForeignMenuConnection*> _connections; + NamedPipe::ListenerRef _foreign_menu; + bool _active; + int _refs; +}; + +#define FOREIGN_MENU_BUF_SIZE 4096 + +class ForeignMenuConnection : public NamedPipe::ConnectionInterface { +public: + ForeignMenuConnection(ForeignMenuInterface *handler, ForeignMenu& parent); + virtual ~ForeignMenuConnection(); + + virtual void bind(NamedPipe::ConnectionRef conn_ref); + virtual void on_data(); + bool write_msg(const void *buf, int len); + void reset_handler() { _handler = NULL;} + void add_sub_menu(); + +private: + bool read_msgs(); + bool handle_init(FrgMenuInit *init); + bool handle_message(FrgMenuMsg *hdr); + int get_item_state(int item_type); + +private: + ForeignMenuInterface *_handler; + ForeignMenu& _parent; + Menu* _sub_menu; + bool _initialized; + int _write_pending; + uint8_t *_write_pos; + uint8_t *_read_pos; + uint8_t _write_buf[FOREIGN_MENU_BUF_SIZE]; + uint8_t _read_buf[FOREIGN_MENU_BUF_SIZE]; + RecurciveMutex _write_lock; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/glz_decode_tmpl.c b/tizen/distrib/remote/server/spice-0.12.2/client/glz_decode_tmpl.c new file mode 100644 index 0000000..ad78cd7 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/glz_decode_tmpl.c @@ -0,0 +1,337 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +// External defines: PLT, RGBX/PLTXX/ALPHA, TO_RGB32. +// If PLT4/1 and TO_RGB32 are defined, we need CAST_PLT_DISTANCE ( +// because then the number of pixels differ from the units used in the compression) + +/* + For each output pixel type the following macros are defined: + OUT_PIXEL - the output pixel type + COPY_PIXEL(p, out) - assigns the pixel to the place pointed by out and + increases out. Used in RLE. + Need special handling because in alpha we copy only + the pad byte. + COPY_REF_PIXEL(ref, out) - copies the pixel pointed by ref to the pixel pointed by out. + Increases ref and out. + COPY_COMP_PIXEL(encoder, out) - copies pixel from the compressed buffer to the decompressed + buffer. Increases out. +*/ + +#if !defined(LZ_RGB_ALPHA) +#define COPY_PIXEL(p, out) (*(out++) = p) +#define COPY_REF_PIXEL(ref, out) (*(out++) = *(ref++)) +#endif + +// decompressing plt to plt +#ifdef LZ_PLT +#ifndef TO_RGB32 +#define OUT_PIXEL one_byte_pixel_t +#define FNAME(name) glz_plt_##name +#define COPY_COMP_PIXEL(in, out) {(out)->a = *(in++); out++;} +#else // TO_RGB32 +#define OUT_PIXEL rgb32_pixel_t +#define COPY_PLT_ENTRY(ent, out) {\ + (out)->b = ent; (out)->g = (ent >> 8); (out)->r = (ent >> 16); (out)->pad = 0;} +#ifdef PLT8 +#define FNAME(name) glz_plt8_to_rgb32_##name +#define COPY_COMP_PIXEL(in, out, palette) { \ + uint32_t rgb = palette->ents[*(in++)]; \ + COPY_PLT_ENTRY(rgb, out); \ + out++; \ +} +#elif defined(PLT4_BE) +#define FNAME(name) glz_plt4_be_to_rgb32_##name +#define COPY_COMP_PIXEL(in, out, palette){ \ + uint8_t byte = *(in++); \ + uint32_t rgb = palette->ents[((byte >> 4) & 0x0f) % (palette->num_ents)]; \ + COPY_PLT_ENTRY(rgb, out); \ + out++; \ + rgb = palette->ents[(byte & 0x0f) % (palette->num_ents)]; \ + COPY_PLT_ENTRY(rgb, out); \ + out++; \ +} +#define CAST_PLT_DISTANCE(dist) (dist*2) +#elif defined(PLT4_LE) +#define FNAME(name) glz_plt4_le_to_rgb32_##name +#define COPY_COMP_PIXEL(in, out, palette){ \ + uint8_t byte = *(in++); \ + uint32_t rgb = palette->ents[(byte & 0x0f) % (palette->num_ents)]; \ + COPY_PLT_ENTRY(rgb, out); \ + out++; \ + rgb = palette->ents[((byte >> 4) & 0x0f) % (palette->num_ents)]; \ + COPY_PLT_ENTRY(rgb, out); \ + out++; \ +} +#define CAST_PLT_DISTANCE(dist) (dist*2) +#elif defined(PLT1_BE) // TODO store palette entries for direct access +#define FNAME(name) glz_plt1_be_to_rgb32_##name +#define COPY_COMP_PIXEL(in, out, palette){ \ + uint8_t byte = *(in++); \ + int i; \ + uint32_t fore = palette->ents[1]; \ + uint32_t back = palette->ents[0]; \ + for (i = 7; i >= 0; i--) \ + { \ + if ((byte >> i) & 1) { \ + COPY_PLT_ENTRY(fore, out); \ + } else { \ + COPY_PLT_ENTRY(back, out); \ + } \ + out++; \ + } \ +} +#define CAST_PLT_DISTANCE(dist) (dist*8) +#elif defined(PLT1_LE) +#define FNAME(name) glz_plt1_le_to_rgb32_##name +#define COPY_COMP_PIXEL(in, out, palette){ \ + uint8_t byte = *(in++); \ + int i; \ + uint32_t fore = palette->ents[1]; \ + uint32_t back = palette->ents[0]; \ + for (i = 0; i < 8; i++) \ + { \ + if ((byte >> i) & 1) { \ + COPY_PLT_ENTRY(fore, out); \ + } else { \ + COPY_PLT_ENTRY(back, out); \ + } \ + out++; \ + } \ +} +#define CAST_PLT_DISTANCE(dist) (dist*8) +#endif // PLT Type +#endif // TO_RGB32 +#endif + +#ifdef LZ_RGB16 +#ifndef TO_RGB32 +#define OUT_PIXEL rgb16_pixel_t +#define FNAME(name) glz_rgb16_##name +#define COPY_COMP_PIXEL(in, out) {*out = (*(in++)) << 8; *out |= *(in++); out++;} +#else +#define OUT_PIXEL rgb32_pixel_t +#define FNAME(name) glz_rgb16_to_rgb32_##name +#define COPY_COMP_PIXEL(in, out) {out->r = *(in++); out->b= *(in++); \ + out->g = (((out->r) << 6) | ((out->b) >> 2)) & ~0x07; \ + out->g |= (out->g >> 5); \ + out->r = ((out->r << 1) & ~0x07) | ((out->r >> 4) & 0x07) ; \ + out->b = (out->b << 3) | ((out->b >> 2) & 0x07); \ + out->pad = 0; \ + out++; \ +} +#endif +#endif + +#ifdef LZ_RGB24 +#define OUT_PIXEL rgb24_pixel_t +#define FNAME(name) glz_rgb24_##name +#define COPY_COMP_PIXEL(in, out) { \ + out->b = *(in++); \ + out->g = *(in++); \ + out->r = *(in++); \ + out++; \ +} +#endif + +#ifdef LZ_RGB32 +#define OUT_PIXEL rgb32_pixel_t +#define FNAME(name) glz_rgb32_##name +#define COPY_COMP_PIXEL(in, out) { \ + out->b = *(in++); \ + out->g = *(in++); \ + out->r = *(in++); \ + out->pad = 0; \ + out++; \ +} +#endif + +#ifdef LZ_RGB_ALPHA +#define OUT_PIXEL rgb32_pixel_t +#define FNAME(name) glz_rgb_alpha_##name +#define COPY_PIXEL(p, out) {out->pad = p.pad; out++;} +#define COPY_REF_PIXEL(ref, out) {out->pad = ref->pad; out++; ref++;} +#define COPY_COMP_PIXEL(in, out) {out->pad = *(in++); out++;} +#endif + +// TODO: separate into routines that decode to dist,len. and to a routine that +// actually copies the data. + +/* returns num of bytes read from in buf. + size should be in PIXEL */ +static size_t FNAME(decode)(GlzDecoderWindow &window, uint8_t* in_buf, + uint8_t *out_buf, int size, + DecodedImageWinId image_win_id, SpicePalette *plt, + GlzDecoderDebug &debug_calls) +{ + uint8_t *ip = in_buf; + OUT_PIXEL *out_pix_buf = (OUT_PIXEL *)out_buf; + OUT_PIXEL *op = out_pix_buf; + OUT_PIXEL *op_limit = out_pix_buf + size; + + uint32_t ctrl = *(ip++); + int loop = true; + + do { + if (ctrl >= MAX_COPY) { // reference (dictionary/RLE) + OUT_PIXEL *ref = op; + uint32_t len = ctrl >> 5; + uint8_t pixel_flag = (ctrl >> 4) & 0x01; + uint32_t pixel_ofs = (ctrl & 0x0f); + uint8_t image_flag; + uint32_t image_dist; + + /* retrieving the referenced images, the offset of the first pixel, + and the match length */ + + uint8_t code; + //len--; // TODO: why do we do this? + + if (len == 7) { // match length is bigger than 7 + do { + code = *(ip++); + len += code; + } while (code == 255); // remaining of len + } + code = *(ip++); + pixel_ofs += (code << 4); + + code = *(ip++); + image_flag = (code >> 6) & 0x03; + if (!pixel_flag) { // short pixel offset + image_dist = code & 0x3f; + for (int i = 0; i < image_flag; i++) { + code = *(ip++); + image_dist += (code << (6 + (8 * i))); + } + } else { + pixel_flag = (code >> 5) & 0x01; + pixel_ofs += (code & 0x1f) << 12; + image_dist = 0; + for (int i = 0; i < image_flag; i++) { + code = *(ip++); + image_dist += (code << 8 * i); + } + + + if (pixel_flag) { // very long pixel offset + code = *(ip++); + pixel_ofs += code << 17; + } + } + +#if defined(LZ_PLT) || defined(LZ_RGB_ALPHA) + len += 2; // length is biased by 2 (fixing bias) +#elif defined(LZ_RGB16) + len += 1; // length is biased by 1 (fixing bias) +#endif + if (!image_dist) { + pixel_ofs += 1; // offset is biased by 1 (fixing bias) + } + +#if defined(TO_RGB32) +#if defined(PLT4_BE) || defined(PLT4_LE) || defined(PLT1_BE) || defined(PLT1_LE) + pixel_ofs = CAST_PLT_DISTANCE(pixel_ofs); + len = CAST_PLT_DISTANCE(len); +#endif +#endif + + if (!image_dist) { // reference is inside the same image + ref -= pixel_ofs; + GLZ_ASSERT(debug_calls, ref + len <= op_limit); + GLZ_ASSERT(debug_calls, ref >= out_pix_buf); + } else { + ref = (OUT_PIXEL *)window.get_ref_pixel(image_win_id, image_dist, + pixel_ofs); + } + + GLZ_ASSERT(debug_calls, op + len <= op_limit); + + /* copying the match*/ + + if (ref == (op - 1)) { // run (this will never be called in PLT4/1_TO_RGB because the + // number of pixel copied is larger then one... + /* optimize copy for a run */ + OUT_PIXEL b = *ref; + for (; len; --len) { + COPY_PIXEL(b, op); + GLZ_ASSERT(debug_calls, op <= op_limit); + } + } else { + for (; len; --len) { + COPY_REF_PIXEL(ref, op); + GLZ_ASSERT(debug_calls, op <= op_limit); + } + } + } else { // copy + ctrl++; // copy count is biased by 1 +#if defined(TO_RGB32) && (defined(PLT4_BE) || defined(PLT4_LE) || defined(PLT1_BE) || \ + defined(PLT1_LE)) + GLZ_ASSERT(debug_calls, op + CAST_PLT_DISTANCE(ctrl) <= op_limit); +#else + GLZ_ASSERT(debug_calls, op + ctrl <= op_limit); +#endif + +#if defined(TO_RGB32) && defined(LZ_PLT) + GLZ_ASSERT(debug_calls, plt); + COPY_COMP_PIXEL(ip, op, plt); +#else + COPY_COMP_PIXEL(ip, op); +#endif + GLZ_ASSERT(debug_calls, op <= op_limit); + + for (--ctrl; ctrl; ctrl--) { +#if defined(TO_RGB32) && defined(LZ_PLT) + GLZ_ASSERT(debug_calls, plt); + COPY_COMP_PIXEL(ip, op, plt); +#else + COPY_COMP_PIXEL(ip, op); +#endif + GLZ_ASSERT(debug_calls, op <= op_limit); + } + } // END REF/COPY + + if (LZ_EXPECT_CONDITIONAL(op < op_limit)) { + ctrl = *(ip++); + } else { + loop = false; + } + } while (LZ_EXPECT_CONDITIONAL(loop)); + + return (ip - in_buf); +} +#undef LZ_PLT +#undef PLT8 +#undef PLT4_BE +#undef PLT4_LE +#undef PLT1_BE +#undef PLT1_LE +#undef LZ_RGB16 +#undef LZ_RGB24 +#undef LZ_RGB32 +#undef LZ_RGB_ALPHA +#undef TO_RGB32 +#undef OUT_PIXEL +#undef FNAME +#undef COPY_PIXEL +#undef COPY_REF_PIXEL +#undef COPY_COMP_PIXEL +#undef COPY_PLT_ENTRY +#undef CAST_PLT_DISTANCE diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/glz_decoded_image.h b/tizen/distrib/remote/server/spice-0.12.2/client/glz_decoded_image.h new file mode 100644 index 0000000..2e607f8 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/glz_decoded_image.h @@ -0,0 +1,64 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_GLZ_DECODED_IMAGE +#define _H_GLZ_DECODED_IMAGE + +#include "common.h" +#include "glz_decoder_config.h" + +/* + This class represents an image the lz window holds. It is created after the decoding of the + image is completed, and destroyed when it exits the window. +*/ + +class GlzDecodedImage { +public: + + GlzDecodedImage(uint64_t id, uint64_t win_head_id, uint8_t *data, int size, + int bytes_per_pixel) + : _id (id) + , _win_head_id (win_head_id) + , _data (data) + , _bytes_per_pixel (bytes_per_pixel) + , _size (size) {} + + virtual ~GlzDecodedImage() {} + uint8_t *get_data() {return _data;} + uint8_t *get_pixel_ref(int offset); // palette pix_id = byte count + uint64_t get_id() {return _id;} + uint64_t get_window_head_id() {return _win_head_id;} + int get_size() {return _size;} + +protected: + uint64_t _id; + uint64_t _win_head_id; + uint8_t *_data; + int _bytes_per_pixel; // if image is with palette pixel=byte + int _size; // number of pixels +}; + +inline uint8_t* GlzDecodedImage::get_pixel_ref(int offset) +{ + if (!_data) { + return NULL; + } else { + return (_data + (offset * _bytes_per_pixel)); + } +} + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/glz_decoder.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/glz_decoder.cpp new file mode 100644 index 0000000..d688051 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/glz_decoder.cpp @@ -0,0 +1,301 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "glz_decoder_config.h" +#include "glz_decoder.h" + +static void op_decode (SpiceGlzDecoder *decoder, + uint8_t *data, + SpicePalette *plt, + void *usr_data) +{ + GlzDecoder* _decoder = static_cast<GlzDecoder*>(decoder); + _decoder->decode(data, plt, usr_data); +} + +GlzDecoder::GlzDecoder(GlzDecoderWindow &images_window, + GlzDecodeHandler &usr_handler, GlzDecoderDebug &debug_calls) + : _images_window (images_window) + , _usr_handler (usr_handler) + , _debug_calls (debug_calls) +{ + static SpiceGlzDecoderOps decoder_ops = { + op_decode, + }; + ops = &decoder_ops; +} + +GlzDecoder::~GlzDecoder() +{ +} + +void GlzDecoder::decode_header() +{ + uint32_t magic; + int version; + uint8_t tmp; + int stride; + + magic = decode_32(); + if (magic != LZ_MAGIC) { + _debug_calls.warn(std::string("bad magic\n")); + } + + version = decode_32(); + if (version != LZ_VERSION) { + _debug_calls.warn(std::string("bad version\n")); + } + + tmp = *(_in_now++); + + _image.type = (LzImageType)(tmp & LZ_IMAGE_TYPE_MASK); + _image.top_down = (tmp >> LZ_IMAGE_TYPE_LOG) ? true : false; + _image.width = decode_32(); + _image.height = decode_32(); + stride = decode_32(); + + if (IS_IMAGE_TYPE_PLT[_image.type]) { + _image.gross_pixels = stride * PLT_PIXELS_PER_BYTE[_image.type] * _image.height; + } else { + _image.gross_pixels = _image.width * _image.height; + } + + _image.id = decode_64(); + _image.win_head_dist = decode_32(); +} + +inline uint32_t GlzDecoder::decode_32() +{ + uint32_t word = 0; + word |= *(_in_now++); + word <<= 8; + word |= *(_in_now++); + word <<= 8; + word |= *(_in_now++); + word <<= 8; + word |= *(_in_now++); + return word; +} + +inline uint64_t GlzDecoder::decode_64() +{ + uint64_t long_word = decode_32(); + long_word <<= 32; + long_word |= decode_32(); + return long_word; +} + +// TODO: the code is historically c based. Consider transforming to c++ and use templates +// - but be sure it won't make it slower! + +/* + * Give hints to the compiler for branch prediction optimization. + */ +#if defined(__GNUC__) && (__GNUC__ > 2) +#define LZ_EXPECT_CONDITIONAL(c) (__builtin_expect((c), 1)) +#define LZ_UNEXPECT_CONDITIONAL(c) (__builtin_expect((c), 0)) +#else +#define LZ_EXPECT_CONDITIONAL(c) (c) +#define LZ_UNEXPECT_CONDITIONAL(c) (c) +#endif + + +#ifdef __GNUC__ +#define ATTR_PACKED __attribute__ ((__packed__)) +#else +#define ATTR_PACKED +#pragma pack(push) +#pragma pack(1) +#endif + + +/* the palette images will be treated as one byte pixels. Their width should be transformed + accordingly. +*/ +typedef struct ATTR_PACKED one_byte_pixel_t { + uint8_t a; +} one_byte_pixel_t; + +typedef struct ATTR_PACKED rgb32_pixel_t { + uint8_t b; + uint8_t g; + uint8_t r; + uint8_t pad; +} rgb32_pixel_t; + +typedef struct ATTR_PACKED rgb24_pixel_t { + uint8_t b; + uint8_t g; + uint8_t r; +} rgb24_pixel_t; + +typedef uint16_t rgb16_pixel_t; + +#ifndef __GNUC__ +#pragma pack(pop) +#endif + +#undef ATTR_PACKED + +#define LZ_PLT +#include "glz_decode_tmpl.c" + +#define LZ_PLT +#define PLT8 +#define TO_RGB32 +#include "glz_decode_tmpl.c" + +#define LZ_PLT +#define PLT4_BE +#define TO_RGB32 +#include "glz_decode_tmpl.c" + +#define LZ_PLT +#define PLT4_LE +#define TO_RGB32 +#include "glz_decode_tmpl.c" + +#define LZ_PLT +#define PLT1_BE +#define TO_RGB32 +#include "glz_decode_tmpl.c" + +#define LZ_PLT +#define PLT1_LE +#define TO_RGB32 +#include "glz_decode_tmpl.c" + + +#define LZ_RGB16 +#include "glz_decode_tmpl.c" +#define LZ_RGB16 +#define TO_RGB32 +#include "glz_decode_tmpl.c" + +#define LZ_RGB24 +#include "glz_decode_tmpl.c" + +#define LZ_RGB32 +#include "glz_decode_tmpl.c" + +#define LZ_RGB_ALPHA +#include "glz_decode_tmpl.c" + +#undef LZ_UNEXPECT_CONDITIONAL +#undef LZ_EXPECT_CONDITIONAL + +typedef size_t (*decode_function)(GlzDecoderWindow &window, uint8_t* in_buf, + uint8_t *out_buf, int size, + DecodedImageWinId image_win_id, SpicePalette *plt, + GlzDecoderDebug &debug_calls); + +// ordered according to LZ_IMAGE_TYPE +const decode_function DECODE_TO_RGB32[] = { + NULL, + glz_plt1_le_to_rgb32_decode, + glz_plt1_be_to_rgb32_decode, + glz_plt4_le_to_rgb32_decode, + glz_plt4_be_to_rgb32_decode, + glz_plt8_to_rgb32_decode, + glz_rgb16_to_rgb32_decode, + glz_rgb32_decode, + glz_rgb32_decode, + glz_rgb32_decode +}; + +const decode_function DECODE_TO_SAME[] = { + NULL, + glz_plt_decode, + glz_plt_decode, + glz_plt_decode, + glz_plt_decode, + glz_plt_decode, + glz_rgb16_decode, + glz_rgb24_decode, + glz_rgb32_decode, + glz_rgb32_decode +}; + +void GlzDecoder::decode(uint8_t *data, SpicePalette *palette, void *opaque_usr_info) +{ + DecodedImageWinId image_window_id; + GlzDecodedImage *decoded_image; + size_t n_in_bytes_decoded; + int bytes_per_pixel; + LzImageType decoded_type; + + _in_start = data; + _in_now = data; + + decode_header(); + +#ifdef GLZ_DECODE_TO_RGB32 + bytes_per_pixel = 4; + + if (_image.type == LZ_IMAGE_TYPE_RGBA) { + decoded_type = LZ_IMAGE_TYPE_RGBA; + } else { + decoded_type = LZ_IMAGE_TYPE_RGB32; + } + +#else + if (IS_IMAGE_TYPE_PLT[_image.type]) { + GLZ_ASSERT(_debug_calls, !(_image.gross_pixels % PLT_PIXELS_PER_BYTE[_image.type])); + } + bytes_per_pixel = RGB_BYTES_PER_PIXEL[_image.type]; + decoded_type = _image.type; +#endif + + + image_window_id = _images_window.pre_decode(_image.id, _image.id - _image.win_head_dist); + + decoded_image = _usr_handler.alloc_image(opaque_usr_info, _image.id, + _image.id - _image.win_head_dist, + decoded_type, _image.width, _image.height, + _image.gross_pixels, bytes_per_pixel, + _image.top_down); + + _image.data = decoded_image->get_data(); + + // decode_by_type +#ifdef GLZ_DECODE_TO_RGB32 + n_in_bytes_decoded = DECODE_TO_RGB32[_image.type](_images_window, _in_now, _image.data, + _image.gross_pixels, image_window_id, + palette, _debug_calls); +#else + n_in_bytes_decoded = DECODE_TO_SAME[_image.type](_images_window, _in_now, _image.data, + IS_IMAGE_TYPE_PLT[_image.type] ? + _image.gross_pixels / + PLT_PIXELS_PER_BYTE[_image.type] : + _image.gross_pixels, + image_window_id, palette, _debug_calls); +#endif + + _in_now += n_in_bytes_decoded; + + if (_image.type == LZ_IMAGE_TYPE_RGBA) { + glz_rgb_alpha_decode(_images_window, _in_now, _image.data, + _image.gross_pixels, image_window_id, palette, _debug_calls); + } + + _images_window.post_decode(decoded_image); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/glz_decoder.h b/tizen/distrib/remote/server/spice-0.12.2/client/glz_decoder.h new file mode 100644 index 0000000..0d505fd --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/glz_decoder.h @@ -0,0 +1,84 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_GLZ_DECODER +#define _H_GLZ_DECODER + +#include "common/lz_common.h" +#include "glz_decoder_config.h" +#include "glz_decoder_window.h" +#include "red_canvas_base.h" + +class GlzDecodeHandler { +public: + GlzDecodeHandler() {} + virtual ~GlzDecodeHandler() {} + + /* Called by the decoder before the image decoding is starts. The + user of the decoder should create GlzDecodedImage instance. + If resources should be released when the image exits the Glz window, + it should be handled in the instance dtor. + + opaque_usr_info: the data sent when GlzDecoder::decode was called + gross_pixels : number of pixels when considering the whole stride*/ + virtual GlzDecodedImage *alloc_image(void *opaque_usr_info, uint64_t image_id, + uint64_t image_win_head_id, LzImageType type, + int width, int height, int gross_pixels, + int n_bytes_per_pixel, bool top_down) = 0; +}; + +/* + This class implements the lz decoding algorithm +*/ + +class GlzDecoder : public SpiceGlzDecoder +{ +public: + GlzDecoder(GlzDecoderWindow &images_window, GlzDecodeHandler &usr_handler, + GlzDecoderDebug &debug_calls); + virtual ~GlzDecoder(); + + /* Decodes the data and afterwards calls GlzDecodeHandler::handle_decoded_image */ + void decode(uint8_t *data, SpicePalette *palette, void *opaque_usr_info); + +private: + void decode_header(); + uint32_t decode_32(); + uint64_t decode_64(); + +private: + GlzDecoderWindow &_images_window; + GlzDecodeHandler &_usr_handler; + GlzDecoderDebug &_debug_calls; + + uint8_t *_in_now; + uint8_t *_in_start; + + struct { + uint64_t id; + LzImageType type; + int width; + int height; + int gross_pixels; + bool top_down; + int win_head_dist; + uint8_t *data; + } _image; +}; + +#endif // _H_GLZ_DECODER diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/glz_decoder_config.h b/tizen/distrib/remote/server/spice-0.12.2/client/glz_decoder_config.h new file mode 100644 index 0000000..c15f012 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/glz_decoder_config.h @@ -0,0 +1,64 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_GLZ_DECODER_CONFIG +#define _H_GLZ_DECODER_CONFIG + +#include <exception> +#include <sstream> +#include <stdio.h> + +#include <spice/types.h> +#include <spice/macros.h> +#include "common/lz_common.h" + +class GlzException: public std::exception { +public: + GlzException(const std::string& str) : _mess (str) {} + virtual ~GlzException() throw () {} + virtual const char* what() const throw () {return _mess.c_str();} + +private: + std::string _mess; +}; + +class GlzDecoderDebug { +public: + virtual ~GlzDecoderDebug() {} + virtual void error(const std::string& str) = 0; + virtual void warn(const std::string& str) = 0; + virtual void info(const std::string& str) = 0; +}; + +#ifdef RED_DEBUG + +#define GLZ_ASSERT(debug, x) { \ + if (!(x)) { \ + std::ostringstream os; \ + os << __FUNCTION__ << ": ASSERT " << #x << " failed\n"; \ + (debug).error(os.str()); \ + } \ +} +#else + +#define GLZ_ASSERT(debug, x) + +#endif + +#define GLZ_DECODE_TO_RGB32 + +#endif //_H_GLZ_DECODER_CONFIG diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/glz_decoder_window.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/glz_decoder_window.cpp new file mode 100644 index 0000000..51d44ab --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/glz_decoder_window.cpp @@ -0,0 +1,329 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" + +#include "glz_decoder_window.h" +#include "utils.h" + +#define INIT_IMAGES_CAPACITY 100 +#define WIN_REALLOC_FACTOR 1.5 + +GlzDecoderWindow::GlzDecoderWindow(GlzDecoderDebug &debug_calls) + : _aborting (false) + , _debug_calls (debug_calls) +{ + _images_capacity = INIT_IMAGES_CAPACITY; + _images = new GlzDecodedImage*[_images_capacity]; + if (!_images) { + _debug_calls.error(std::string("failed allocating images\n")); + } + + memset(_images, 0, sizeof(GlzDecodedImage*) * _images_capacity); + + init(); +} + +GlzDecoderWindow::~GlzDecoderWindow() +{ + clear(); + delete[] _images; +} + +DecodedImageWinId GlzDecoderWindow::pre_decode(uint64_t image_id, uint64_t relative_head_id) +{ + DecodedImageWinId image_win_id = pre_decode_update_window(image_id, relative_head_id); + pre_decode_finalize(); + return image_win_id; +} + +void GlzDecoderWindow::post_decode(GlzDecodedImage *image) +{ + post_decode_intialize(); + post_decode_update_window(image); +} + +/* index: the physical index in the images array. Note that it can't change between waits since + the realloc mutex should be read locked. + No starvation for the realloc mutex can occur, since the image we wait for is located before us, + hence, when it arrives - no realloc is needed. */ +void GlzDecoderWindow::wait_for_image(int index) +{ + Lock lock(_new_image_mutex); + GlzDecodedImage *image = _images[index]; // can be performed without locking the _win_mutex, + // since it is called after pre and the rw mutex is // locked, hence, physical changes to the window are + // not allowed. In addition the reading of the image ptr + // is atomic, thus, even if the value changes we are + // not affected. + + while (!image) { + if (_aborting) { + THROW("aborting"); + } + _new_image_cond.wait(lock); + image = _images[index]; + } +} + +void GlzDecoderWindow::abort() +{ + Lock lock1(_win_modifiers_mutex); + Lock lock2(_new_image_mutex); + _aborting = true; + _new_image_cond.notify_all(); + _release_image_cond.notify_all(); + _win_alloc_cond.notify_all(); +} + +void GlzDecoderWindow::clear() +{ + Lock lock(_win_modifiers_mutex); + release_images(); + init(); +} + +void GlzDecoderWindow::init() +{ + _missing_list.clear(); + // The window is never empty: the head is in the missing list or in the window. + // The first missing image is 0. + _missing_list.push_front(0); + _head_idx = 0; + _tail_image_id = 0; + _n_images = 1; +} + +void GlzDecoderWindow::release_images() +{ + for (int i = 0; i < _n_images; i++) { + int idx = (_head_idx + i) % _images_capacity; + if (_images[idx]) { + delete _images[idx]; + _images[idx] = NULL; + } + } +} + +inline bool GlzDecoderWindow::is_empty() +{ + return (!_n_images); +} + +inline bool GlzDecoderWindow::will_overflow(uint64_t image_id, uint64_t relative_head_id) +{ + if (image_id <= _tail_image_id) { + return false; + } + + if (!_missing_list.empty() && (_missing_list.front() < relative_head_id)) { + // two non overlapping windows + return true; + } + + return false; +} + +DecodedImageWinId GlzDecoderWindow::pre_decode_update_window(uint64_t image_id, + uint64_t relative_head_id) +{ + Lock lock(_win_modifiers_mutex); + int realloc_size; + + while (will_overflow(image_id, relative_head_id)) { + if (_aborting) { + THROW("aborting"); + } + _release_image_cond.wait(lock); + } + + // The following conditions prevent starvation in case thread (1) should realloc, + // thread (2) is during decode and waits for a previous image and + /// thread (3) should decode this the previous image and needs to enter pre decode although + // (1) is in there. + // We must give priority to older images in the window. + // The condition should be checked over again in case a later image entered the window + // and the realocation was already performed + while ((realloc_size = calc_realloc_size(image_id))) { + if (_aborting) { + THROW("aborting"); + } + + if (_win_alloc_rw_mutex.try_write_lock()) { + realloc(realloc_size); + _win_alloc_rw_mutex.write_unlock(); + break; + } else { + _win_alloc_cond.wait(lock); + } + } + + if (image_id > _tail_image_id) { // not in missing list + add_pre_decoded_image(image_id); + } + + return calc_image_win_idx(image_id); +} + +void GlzDecoderWindow::add_pre_decoded_image(uint64_t image_id) +{ + GLZ_ASSERT(_debug_calls, image_id > _tail_image_id); + GLZ_ASSERT(_debug_calls, image_id - _tail_image_id + _n_images < _images_capacity); + + for (uint64_t miss_id = _tail_image_id + 1; miss_id <= image_id; miss_id++) { + _missing_list.push_back(miss_id); + _n_images++; + } + _tail_image_id = image_id; +} + +inline int GlzDecoderWindow::calc_realloc_size(uint64_t new_tail_image_id) +{ + if (new_tail_image_id <= _tail_image_id) { + return 0; + } + + int min_capacity = (int)(_n_images + new_tail_image_id - _tail_image_id); + + if ((min_capacity * WIN_REALLOC_FACTOR) > _images_capacity) { + return (int)MAX(min_capacity * WIN_REALLOC_FACTOR, WIN_REALLOC_FACTOR * _images_capacity); + } else { + return 0; + } +} + +void GlzDecoderWindow::realloc(int size) +{ + GlzDecodedImage **new_images = new GlzDecodedImage*[size]; + + if (!new_images) { + _debug_calls.error(std::string("failed allocating images array")); + } + memset(new_images, 0, sizeof(GlzDecodedImage*) * size); + + for (int i = 0; i < _n_images; i++) { + new_images[i] = _images[(i + _head_idx) % _images_capacity]; + } + delete[] _images; + + _images = new_images; + _head_idx = 0; + _images_capacity = size; +} + +void GlzDecoderWindow::pre_decode_finalize() +{ + _win_alloc_rw_mutex.read_lock(); +} + +void GlzDecoderWindow::post_decode_intialize() +{ + _win_alloc_rw_mutex.read_unlock(); +} + +void GlzDecoderWindow::post_decode_update_window(GlzDecodedImage *image) +{ + Lock lock(_win_modifiers_mutex); + add_decoded_image(image); + narrow_window(image); + _win_alloc_cond.notify_all(); +} + +void GlzDecoderWindow::add_decoded_image(GlzDecodedImage *image) +{ + Lock lock(_new_image_mutex); + GLZ_ASSERT(_debug_calls, image->get_id() <= _tail_image_id); + _images[calc_image_win_idx(image->get_id())] = image; + _new_image_cond.notify_all(); +} + +/* Important observations: + 1) When an image is added, if it is not the first missing image, it is not removed + immediately from the missing list (in order not to store another pointer to + the missing list inside the window ,or otherwise, to go over the missing list + and look for the image). + 2) images that weren't removed from the missing list in their addition time, will be removed when + preliminary images will be added. + 3) The first item in the missing list is always really missing. + 4) The missing list is always ordered by image id (see add_pre_decoded_image) +*/ +void GlzDecoderWindow::narrow_window(GlzDecodedImage *last_added) +{ + uint64_t new_head_image_id; + + GLZ_ASSERT(_debug_calls, !_missing_list.empty()); + + if (_missing_list.front() != last_added->get_id()) { + return; + } + + _missing_list.pop_front(); // removing the last added image from the missing list + + /* maintaining the missing list: removing front images that already arrived */ + while (!_missing_list.empty()) { + int front_win_idx = calc_image_win_idx(_missing_list.front()); + if (_images[front_win_idx] == NULL) { // still missing + break; + } else { + _missing_list.pop_front(); + } + } + + /* removing unnecessary image from the window's head*/ + if (_missing_list.empty()) { + new_head_image_id = _images[ + calc_image_win_idx(_tail_image_id)]->get_window_head_id(); + } else { + // there must be at least one image in the window since narrow_window is called + // from post decode + GLZ_ASSERT(_debug_calls, _images[calc_image_win_idx(_missing_list.front() - 1)]); + new_head_image_id = _images[ + calc_image_win_idx(_missing_list.front() - 1)]->get_window_head_id(); + } + + remove_head(new_head_image_id); +} + +inline void GlzDecoderWindow::remove_head(uint64_t new_head_image_id) +{ + GLZ_ASSERT(_debug_calls, _images[_head_idx]); + + int n_images_remove = (int)(new_head_image_id - _images[_head_idx]->get_id()); + + if (!n_images_remove) { + return; + } + + for (int i = 0; i < n_images_remove; i++) { + int index = (_head_idx + i) % _images_capacity; + delete _images[index]; + _images[index] = NULL; + } + + _n_images -= n_images_remove; + _head_idx = (_head_idx + n_images_remove) % _images_capacity; + + _release_image_cond.notify_all(); +} + +/* NOTE: can only be used when the window is locked. (i.e, not inside get_ref_pixel) */ +inline int GlzDecoderWindow::calc_image_win_idx(uint64_t image_id) +{ + return (int)((_head_idx + _n_images - 1 - (_tail_image_id - image_id)) % _images_capacity); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/glz_decoder_window.h b/tizen/distrib/remote/server/spice-0.12.2/client/glz_decoder_window.h new file mode 100644 index 0000000..f89d18f --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/glz_decoder_window.h @@ -0,0 +1,122 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_GLZ_DECODER_WINDOW +#define _H_GLZ_DECODER_WINDOW + +#include "glz_decoder_config.h" +#include "glz_decoded_image.h" + +#include <list> + +#include "read_write_mutex.h" + +typedef int DecodedImageWinId; + +/* + The class represents the lz window of images, which is shared among the glz decoders +*/ + +class GlzDecoderWindow { +public: + GlzDecoderWindow(GlzDecoderDebug &debug_calls); + virtual ~GlzDecoderWindow(); + + DecodedImageWinId pre_decode(uint64_t image_id, uint64_t relative_head_id); + + void post_decode(GlzDecodedImage *image); + + /* NOTE - get_ref_pixel should be called only after pre_decode was called and + before post decode was called */ + uint8_t *get_ref_pixel(DecodedImageWinId decoded_image_win_id, int dist_from_ref_image, + int pixel_offset); + + void abort(); + + /* NOTE - clear mustn't be called if the window is currently used by a decoder*/ + void clear(); + +private: + void wait_for_image(int index); + void add_image(GlzDecodedImage *image); + uint8_t* get_pixel_after_image_entered(int image_index, int pixel_offset); + + bool will_overflow(uint64_t image_id, uint64_t relative_head_id); + bool is_empty(); + + DecodedImageWinId pre_decode_update_window(uint64_t image_id, uint64_t relative_head_id); + void pre_decode_finalize(); + void post_decode_intialize(); + void post_decode_update_window(GlzDecodedImage *image); + void add_pre_decoded_image(uint64_t image_id); + void add_decoded_image(GlzDecodedImage *image); + void narrow_window(GlzDecodedImage *last_added); + void remove_head(uint64_t new_head_image_id); + int calc_image_win_idx(uint64_t image_id); + int calc_realloc_size(uint64_t new_tail_image_id); + void realloc(int size); + void init(); + void release_images(); + +private: + GlzDecodedImage **_images; // cyclic window + int _head_idx; // index in images array (not image id) + uint64_t _tail_image_id; + int _images_capacity; + int _n_images; // _n_images counts all the images in + // the window, including the missing ones + + std::list<uint64_t> _missing_list; + + Mutex _win_modifiers_mutex; + ReadWriteMutex _win_alloc_rw_mutex; + Mutex _new_image_mutex; + + Condition _new_image_cond; // when get_pixel_ref waits for an image + Condition _release_image_cond; // when waiting for the window to narrow. + Condition _win_alloc_cond; + + bool _aborting; + + GlzDecoderDebug &_debug_calls; +}; + +inline uint8_t* GlzDecoderWindow::get_pixel_after_image_entered(int image_index, + int pixel_offset) +{ + return _images[image_index]->get_pixel_ref(pixel_offset); +} + +/* should be called only between pre and post (when realloc mutex is write-locked). + Note that it can't use calc_image_win_idx, since the window is not locked for changes + (that are not reallocation) during decoding.*/ +inline uint8_t *GlzDecoderWindow::get_ref_pixel(DecodedImageWinId decoded_image_win_id, + int dist_from_ref_image, int pixel_offset) +{ + int ref_image_index = (dist_from_ref_image <= decoded_image_win_id) ? + (decoded_image_win_id - dist_from_ref_image) : + _images_capacity + (decoded_image_win_id - dist_from_ref_image); + + if (_images[ref_image_index] == NULL) { // reading image is atomic + wait_for_image(ref_image_index); + } + + // after image entered - it won't leave the window till no decoder needs it + return get_pixel_after_image_entered(ref_image_index, pixel_offset); +} + +#endif // _H_GLZ_DECODER_WINDOW diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/gui/commonv2c.ttf.c b/tizen/distrib/remote/server/spice-0.12.2/client/gui/commonv2c.ttf.c new file mode 100644 index 0000000..6e708e7 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/gui/commonv2c.ttf.c @@ -0,0 +1,2766 @@ +const unsigned char commonv2c_ttf[] = { +0x00,0x01,0x00,0x00,0x00,0x10,0x01,0x00,0x00,0x04,0x00,0x00,0x4c,0x54,0x53,0x48, +0xb2,0xf1,0xf2,0xb4,0x00,0x00,0x01,0x0c,0x00,0x00,0x00,0xe4,0x4f,0x53,0x2f,0x32, +0x64,0x78,0xf1,0xc6,0x00,0x00,0x01,0xf0,0x00,0x00,0x00,0x4e,0x56,0x44,0x4d,0x58, +0x70,0x65,0x77,0xd2,0x00,0x00,0x02,0x40,0x00,0x00,0x05,0xe0,0x63,0x6d,0x61,0x70, +0xa8,0xef,0x1a,0xd8,0x00,0x00,0x08,0x20,0x00,0x00,0x01,0xec,0x63,0x76,0x74,0x20, +0x2b,0x1b,0x08,0xba,0x00,0x00,0x0a,0x0c,0x00,0x00,0x00,0xe0,0x66,0x70,0x67,0x6d, +0x31,0xcc,0x9b,0x64,0x00,0x00,0x0a,0xec,0x00,0x00,0x04,0x0d,0x67,0x6c,0x79,0x66, +0x6c,0xf9,0xe0,0x47,0x00,0x00,0x0e,0xfc,0x00,0x00,0x77,0x92,0x68,0x64,0x6d,0x78, +0xd6,0xdb,0x79,0x43,0x00,0x00,0x86,0x90,0x00,0x00,0x18,0x14,0x68,0x65,0x61,0x64, +0xda,0xc5,0xa2,0x07,0x00,0x00,0x9e,0xa4,0x00,0x00,0x00,0x36,0x68,0x68,0x65,0x61, +0x09,0x57,0x03,0xf7,0x00,0x00,0x9e,0xdc,0x00,0x00,0x00,0x24,0x68,0x6d,0x74,0x78, +0xc3,0xd9,0x00,0x2c,0x00,0x00,0x9f,0x00,0x00,0x00,0x03,0x80,0x6c,0x6f,0x63,0x61, +0x57,0x12,0x38,0xe5,0x00,0x00,0xa2,0x80,0x00,0x00,0x01,0xc2,0x6d,0x61,0x78,0x70, +0x03,0x1e,0x05,0x21,0x00,0x00,0xa4,0x44,0x00,0x00,0x00,0x20,0x6e,0x61,0x6d,0x65, +0xee,0xfc,0x5a,0xb4,0x00,0x00,0xa4,0x64,0x00,0x00,0x02,0x3d,0x70,0x6f,0x73,0x74, +0x02,0xb3,0x85,0x75,0x00,0x00,0xa6,0xa4,0x00,0x00,0x05,0xcf,0x70,0x72,0x65,0x70, +0xf6,0xa3,0xf5,0x0b,0x00,0x00,0xac,0x74,0x00,0x00,0x00,0x4f,0x00,0x00,0x00,0xe0, +0x64,0x01,0x01,0x01,0x64,0x64,0x64,0x64,0x5d,0x64,0x64,0x64,0x61,0x64,0x64,0x64, +0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64, +0x64,0x44,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x61,0x64,0x64, +0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64, +0x61,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64, +0x44,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x44,0x64,0x64,0x64,0x64,0x64, +0x64,0x64,0x64,0x64,0x64,0x64,0x61,0x64,0x64,0x64,0x5d,0x64,0x64,0x64,0x64,0x64, +0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x2f,0x64,0x64,0x61,0x64,0x5d,0x01,0x64,0x64, +0x64,0x5d,0x64,0x64,0x5d,0x64,0x61,0x64,0x64,0x54,0x64,0x54,0x64,0x64,0x64,0x64, +0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x65,0x65,0x65,0x64,0x64,0x64,0x64, +0x64,0x65,0x5d,0x64,0x64,0x64,0x64,0x64,0x65,0x64,0x64,0x64,0x65,0x64,0x64,0x64, +0x64,0x64,0x64,0x65,0x64,0x64,0x64,0x64,0x64,0x65,0x64,0x64,0x64,0x64,0x64,0x64, +0x64,0x61,0x5d,0x64,0x64,0x64,0x64,0x64,0x61,0x64,0x64,0x64,0x65,0x64,0x64,0x64, +0x64,0x64,0x64,0x61,0x64,0x64,0x64,0x64,0x64,0x61,0x64,0x64,0x5d,0x64,0x01,0x01, +0x00,0x00,0x02,0x04,0x01,0x90,0x00,0x03,0x00,0x01,0x02,0xe9,0x02,0xb3,0x00,0x00, +0x00,0x98,0x02,0xe9,0x02,0xb3,0x00,0x00,0x01,0xe2,0x00,0x35,0x01,0x13,0x00,0x00, +0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x07,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x41,0x4c,0x54,0x53,0x00,0x00, +0x00,0x20,0x21,0x22,0x03,0x1e,0xfe,0xf6,0x01,0x0a,0x04,0x54,0x01,0x51,0x00,0x00, +0x00,0x00,0x00,0x01,0x00,0x01,0x01,0x01,0x01,0x01,0x00,0x0c,0x00,0xf8,0x08,0xff, +0x00,0x08,0x00,0x09,0xff,0xfd,0x00,0x09,0x00,0x0a,0xff,0xfd,0x00,0x0a,0x00,0x0b, +0xff,0xfc,0x00,0x0b,0x00,0x0c,0xff,0xfc,0x00,0x0c,0x00,0x0d,0xff,0xfc,0x00,0x0d, +0x00,0x0e,0xff,0xfb,0x00,0x0e,0x00,0x0f,0xff,0xfb,0x00,0x0f,0x00,0x10,0xff,0xfb, +0x00,0x10,0x00,0x11,0xff,0xfa,0x00,0x11,0x00,0x12,0xff,0xfa,0x00,0x12,0x00,0x13, +0xff,0xfa,0x00,0x13,0x00,0x14,0xff,0xf9,0x00,0x14,0x00,0x15,0xff,0xf9,0x00,0x15, +0x00,0x16,0xff,0xf9,0x00,0x16,0x00,0x17,0xff,0xf9,0x00,0x17,0x00,0x18,0xff,0xf8, +0x00,0x18,0x00,0x19,0xff,0xf8,0x00,0x19,0x00,0x1b,0xff,0xf8,0x00,0x1a,0x00,0x1c, +0xff,0xf7,0x00,0x1b,0x00,0x1d,0xff,0xf7,0x00,0x1c,0x00,0x1e,0xff,0xf7,0x00,0x1d, +0x00,0x1f,0xff,0xf6,0x00,0x1e,0x00,0x20,0xff,0xf6,0x00,0x1f,0x00,0x21,0xff,0xf6, +0x00,0x20,0x00,0x22,0xff,0xf5,0x00,0x21,0x00,0x23,0xff,0xf5,0x00,0x22,0x00,0x24, +0xff,0xf5,0x00,0x23,0x00,0x25,0xff,0xf4,0x00,0x24,0x00,0x26,0xff,0xf4,0x00,0x25, +0x00,0x27,0xff,0xf4,0x00,0x26,0x00,0x28,0xff,0xf3,0x00,0x27,0x00,0x29,0xff,0xf3, +0x00,0x28,0x00,0x2a,0xff,0xf3,0x00,0x29,0x00,0x2b,0xff,0xf3,0x00,0x2a,0x00,0x2c, +0xff,0xf2,0x00,0x2b,0x00,0x2d,0xff,0xf2,0x00,0x2c,0x00,0x2e,0xff,0xf2,0x00,0x2d, +0x00,0x2f,0xff,0xf1,0x00,0x2e,0x00,0x30,0xff,0xf1,0x00,0x2f,0x00,0x31,0xff,0xf1, +0x00,0x30,0x00,0x32,0xff,0xf0,0x00,0x31,0x00,0x34,0xff,0xf0,0x00,0x32,0x00,0x35, +0xff,0xf0,0x00,0x33,0x00,0x36,0xff,0xef,0x00,0x34,0x00,0x37,0xff,0xef,0x00,0x35, +0x00,0x38,0xff,0xef,0x00,0x36,0x00,0x39,0xff,0xee,0x00,0x37,0x00,0x3a,0xff,0xee, +0x00,0x38,0x00,0x3b,0xff,0xee,0x00,0x39,0x00,0x3c,0xff,0xed,0x00,0x3a,0x00,0x3d, +0xff,0xed,0x00,0x3b,0x00,0x3e,0xff,0xed,0x00,0x3c,0x00,0x3f,0xff,0xec,0x00,0x3d, +0x00,0x40,0xff,0xec,0x00,0x3e,0x00,0x41,0xff,0xec,0x00,0x3f,0x00,0x42,0xff,0xec, +0x00,0x40,0x00,0x43,0xff,0xeb,0x00,0x41,0x00,0x44,0xff,0xeb,0x00,0x42,0x00,0x45, +0xff,0xeb,0x00,0x43,0x00,0x46,0xff,0xea,0x00,0x44,0x00,0x47,0xff,0xea,0x00,0x45, +0x00,0x48,0xff,0xea,0x00,0x46,0x00,0x49,0xff,0xe9,0x00,0x47,0x00,0x4a,0xff,0xe9, +0x00,0x48,0x00,0x4b,0xff,0xe9,0x00,0x49,0x00,0x4d,0xff,0xe8,0x00,0x4a,0x00,0x4e, +0xff,0xe8,0x00,0x4b,0x00,0x4f,0xff,0xe8,0x00,0x4c,0x00,0x50,0xff,0xe7,0x00,0x4d, +0x00,0x51,0xff,0xe7,0x00,0x4e,0x00,0x52,0xff,0xe7,0x00,0x4f,0x00,0x53,0xff,0xe6, +0x00,0x50,0x00,0x54,0xff,0xe6,0x00,0x51,0x00,0x55,0xff,0xe6,0x00,0x52,0x00,0x56, +0xff,0xe6,0x00,0x53,0x00,0x57,0xff,0xe5,0x00,0x54,0x00,0x58,0xff,0xe5,0x00,0x55, +0x00,0x59,0xff,0xe5,0x00,0x56,0x00,0x5a,0xff,0xe4,0x00,0x57,0x00,0x5b,0xff,0xe4, +0x00,0x58,0x00,0x5c,0xff,0xe4,0x00,0x59,0x00,0x5d,0xff,0xe3,0x00,0x5a,0x00,0x5e, +0xff,0xe3,0x00,0x5b,0x00,0x5f,0xff,0xe3,0x00,0x5c,0x00,0x60,0xff,0xe2,0x00,0x5d, +0x00,0x61,0xff,0xe2,0x00,0x5e,0x00,0x62,0xff,0xe2,0x00,0x5f,0x00,0x63,0xff,0xe1, +0x00,0x60,0x00,0x64,0xff,0xe1,0x00,0x61,0x00,0x66,0xff,0xe1,0x00,0x62,0x00,0x67, +0xff,0xe0,0x00,0x63,0x00,0x68,0xff,0xe0,0x00,0x64,0x00,0x69,0xff,0xe0,0x00,0x65, +0x00,0x6a,0xff,0xe0,0x00,0x66,0x00,0x6b,0xff,0xdf,0x00,0x67,0x00,0x6c,0xff,0xdf, +0x00,0x68,0x00,0x6d,0xff,0xdf,0x00,0x69,0x00,0x6e,0xff,0xde,0x00,0x6a,0x00,0x6f, +0xff,0xde,0x00,0x6b,0x00,0x70,0xff,0xde,0x00,0x6c,0x00,0x71,0xff,0xdd,0x00,0x6d, +0x00,0x72,0xff,0xdd,0x00,0x6e,0x00,0x73,0xff,0xdd,0x00,0x6f,0x00,0x74,0xff,0xdc, +0x00,0x70,0x00,0x75,0xff,0xdc,0x00,0x71,0x00,0x76,0xff,0xdc,0x00,0x72,0x00,0x77, +0xff,0xdb,0x00,0x73,0x00,0x78,0xff,0xdb,0x00,0x74,0x00,0x79,0xff,0xdb,0x00,0x75, +0x00,0x7a,0xff,0xda,0x00,0x76,0x00,0x7b,0xff,0xda,0x00,0x77,0x00,0x7c,0xff,0xda, +0x00,0x78,0x00,0x7d,0xff,0xd9,0x00,0x79,0x00,0x7f,0xff,0xd9,0x00,0x7a,0x00,0x80, +0xff,0xd9,0x00,0x7b,0x00,0x81,0xff,0xd9,0x00,0x7c,0x00,0x82,0xff,0xd8,0x00,0x7d, +0x00,0x83,0xff,0xd8,0x00,0x7e,0x00,0x84,0xff,0xd8,0x00,0x7f,0x00,0x85,0xff,0xd7, +0x00,0x80,0x00,0x86,0xff,0xd7,0x00,0x81,0x00,0x87,0xff,0xd7,0x00,0x82,0x00,0x88, +0xff,0xd6,0x00,0x83,0x00,0x89,0xff,0xd6,0x00,0x84,0x00,0x8a,0xff,0xd6,0x00,0x85, +0x00,0x8b,0xff,0xd5,0x00,0x86,0x00,0x8c,0xff,0xd5,0x00,0x87,0x00,0x8d,0xff,0xd5, +0x00,0x88,0x00,0x8e,0xff,0xd4,0x00,0x89,0x00,0x8f,0xff,0xd4,0x00,0x8a,0x00,0x90, +0xff,0xd4,0x00,0x8b,0x00,0x91,0xff,0xd3,0x00,0x8c,0x00,0x92,0xff,0xd3,0x00,0x8d, +0x00,0x93,0xff,0xd3,0x00,0x8e,0x00,0x94,0xff,0xd3,0x00,0x8f,0x00,0x95,0xff,0xd2, +0x00,0x90,0x00,0x96,0xff,0xd2,0x00,0x91,0x00,0x97,0xff,0xd2,0x00,0x92,0x00,0x99, +0xff,0xd1,0x00,0x93,0x00,0x9a,0xff,0xd1,0x00,0x94,0x00,0x9b,0xff,0xd1,0x00,0x95, +0x00,0x9c,0xff,0xd0,0x00,0x96,0x00,0x9d,0xff,0xd0,0x00,0x97,0x00,0x9e,0xff,0xd0, +0x00,0x98,0x00,0x9f,0xff,0xcf,0x00,0x99,0x00,0xa0,0xff,0xcf,0x00,0x9a,0x00,0xa1, +0xff,0xcf,0x00,0x9b,0x00,0xa2,0xff,0xce,0x00,0x9c,0x00,0xa3,0xff,0xce,0x00,0x9d, +0x00,0xa4,0xff,0xce,0x00,0x9e,0x00,0xa5,0xff,0xcd,0x00,0x9f,0x00,0xa6,0xff,0xcd, +0x00,0xa0,0x00,0xa7,0xff,0xcd,0x00,0xa1,0x00,0xa8,0xff,0xcd,0x00,0xa2,0x00,0xa9, +0xff,0xcc,0x00,0xa3,0x00,0xaa,0xff,0xcc,0x00,0xa4,0x00,0xab,0xff,0xcc,0x00,0xa5, +0x00,0xac,0xff,0xcb,0x00,0xa6,0x00,0xad,0xff,0xcb,0x00,0xa7,0x00,0xae,0xff,0xcb, +0x00,0xa8,0x00,0xaf,0xff,0xca,0x00,0xa9,0x00,0xb0,0xff,0xca,0x00,0xaa,0x00,0xb2, +0xff,0xca,0x00,0xab,0x00,0xb3,0xff,0xc9,0x00,0xac,0x00,0xb4,0xff,0xc9,0x00,0xad, +0x00,0xb5,0xff,0xc9,0x00,0xae,0x00,0xb6,0xff,0xc8,0x00,0xaf,0x00,0xb7,0xff,0xc8, +0x00,0xb0,0x00,0xb8,0xff,0xc8,0x00,0xb1,0x00,0xb9,0xff,0xc7,0x00,0xb2,0x00,0xba, +0xff,0xc7,0x00,0xb3,0x00,0xbb,0xff,0xc7,0x00,0xb4,0x00,0xbc,0xff,0xc6,0x00,0xb5, +0x00,0xbd,0xff,0xc6,0x00,0xb6,0x00,0xbe,0xff,0xc6,0x00,0xb7,0x00,0xbf,0xff,0xc6, +0x00,0xb8,0x00,0xc0,0xff,0xc5,0x00,0xb9,0x00,0xc1,0xff,0xc5,0x00,0xba,0x00,0xc2, +0xff,0xc5,0x00,0xbb,0x00,0xc3,0xff,0xc4,0x00,0xbc,0x00,0xc4,0xff,0xc4,0x00,0xbd, +0x00,0xc5,0xff,0xc4,0x00,0xbe,0x00,0xc6,0xff,0xc3,0x00,0xbf,0x00,0xc7,0xff,0xc3, +0x00,0xc0,0x00,0xc8,0xff,0xc3,0x00,0xc1,0x00,0xc9,0xff,0xc2,0x00,0xc2,0x00,0xcb, +0xff,0xc2,0x00,0xc3,0x00,0xcc,0xff,0xc2,0x00,0xc4,0x00,0xcd,0xff,0xc1,0x00,0xc5, +0x00,0xce,0xff,0xc1,0x00,0xc6,0x00,0xcf,0xff,0xc1,0x00,0xc7,0x00,0xd0,0xff,0xc0, +0x00,0xc8,0x00,0xd1,0xff,0xc0,0x00,0xc9,0x00,0xd2,0xff,0xc0,0x00,0xca,0x00,0xd3, +0xff,0xc0,0x00,0xcb,0x00,0xd4,0xff,0xbf,0x00,0xcc,0x00,0xd5,0xff,0xbf,0x00,0xcd, +0x00,0xd6,0xff,0xbf,0x00,0xce,0x00,0xd7,0xff,0xbe,0x00,0xcf,0x00,0xd8,0xff,0xbe, +0x00,0xd0,0x00,0xd9,0xff,0xbe,0x00,0xd1,0x00,0xda,0xff,0xbd,0x00,0xd2,0x00,0xdb, +0xff,0xbd,0x00,0xd3,0x00,0xdc,0xff,0xbd,0x00,0xd4,0x00,0xdd,0xff,0xbc,0x00,0xd5, +0x00,0xde,0xff,0xbc,0x00,0xd6,0x00,0xdf,0xff,0xbc,0x00,0xd7,0x00,0xe0,0xff,0xbb, +0x00,0xd8,0x00,0xe1,0xff,0xbb,0x00,0xd9,0x00,0xe2,0xff,0xbb,0x00,0xda,0x00,0xe4, +0xff,0xba,0x00,0xdb,0x00,0xe5,0xff,0xba,0x00,0xdc,0x00,0xe6,0xff,0xba,0x00,0xdd, +0x00,0xe7,0xff,0xba,0x00,0xde,0x00,0xe8,0xff,0xb9,0x00,0xdf,0x00,0xe9,0xff,0xb9, +0x00,0xe0,0x00,0xea,0xff,0xb9,0x00,0xe1,0x00,0xeb,0xff,0xb8,0x00,0xe2,0x00,0xec, +0xff,0xb8,0x00,0xe3,0x00,0xed,0xff,0xb8,0x00,0xe4,0x00,0xee,0xff,0xb7,0x00,0xe5, +0x00,0xef,0xff,0xb7,0x00,0xe6,0x00,0xf0,0xff,0xb7,0x00,0xe7,0x00,0xf1,0xff,0xb6, +0x00,0xe8,0x00,0xf2,0xff,0xb6,0x00,0xe9,0x00,0xf3,0xff,0xb6,0x00,0xea,0x00,0xf4, +0xff,0xb5,0x00,0xeb,0x00,0xf5,0xff,0xb5,0x00,0xec,0x00,0xf6,0xff,0xb5,0x00,0xed, +0x00,0xf7,0xff,0xb4,0x00,0xee,0x00,0xf8,0xff,0xb4,0x00,0xef,0x00,0xf9,0xff,0xb4, +0x00,0xf0,0x00,0xfa,0xff,0xb3,0x00,0xf1,0x00,0xfb,0xff,0xb3,0x00,0xf2,0x00,0xfd, +0xff,0xb3,0x00,0xf3,0x00,0xfe,0xff,0xb3,0x00,0xf4,0x00,0xff,0xff,0xb2,0x00,0xf5, +0x01,0x00,0xff,0xb2,0x00,0xf6,0x01,0x01,0xff,0xb2,0x00,0xf7,0x01,0x02,0xff,0xb1, +0x00,0xf8,0x01,0x03,0xff,0xb1,0x00,0xf9,0x01,0x04,0xff,0xb1,0x00,0xfa,0x01,0x05, +0xff,0xb0,0x00,0xfb,0x01,0x06,0xff,0xb0,0x00,0xfc,0x01,0x07,0xff,0xb0,0x00,0xfd, +0x01,0x08,0xff,0xaf,0x00,0xfe,0x01,0x09,0xff,0xaf,0x00,0xff,0x01,0x0a,0xff,0xaf, +0x00,0x00,0x00,0x02,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x14,0x00,0x03,0x00,0x01, +0x00,0x00,0x01,0x1a,0x00,0x00,0x01,0x06,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x01,0x03,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x03,0x04,0x05,0x06,0x07,0x08, +0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18, +0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28, +0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38, +0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48, +0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58, +0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,0x60,0x61,0x00,0xa1,0xa2,0xa4,0xa6,0xae,0xb3, +0xb9,0xbe,0xbd,0xbf,0xc1,0xc0,0xc2,0xc4,0xc6,0xc5,0xc7,0xc8,0xca,0xc9,0xcb,0xcc, +0xce,0xd0,0xcf,0xd1,0xd3,0xd2,0xd7,0xd6,0xd8,0xd9,0x67,0x8d,0x7f,0x80,0x84,0x73, +0x93,0xbc,0x8b,0x86,0x77,0x91,0x85,0x00,0xa3,0xb5,0x00,0x8e,0x00,0x00,0x82,0x92, +0x00,0x00,0x00,0x00,0x00,0x87,0x97,0x00,0xc3,0xd5,0x9c,0x7e,0x89,0x00,0x64,0x00, +0x00,0x88,0x98,0x66,0x03,0x9d,0xa0,0xb2,0x6d,0x7a,0x74,0x75,0x71,0x72,0x6f,0x70, +0xd4,0x00,0xdc,0x7c,0x00,0x81,0x6c,0x79,0x00,0x00,0x68,0x94,0x63,0x65,0x6a,0x9f, +0xa7,0x9e,0xa8,0xa5,0xaa,0xab,0xac,0xa9,0xb0,0xb1,0x00,0xaf,0xb7,0xb8,0xb6,0x00, +0x69,0x76,0x8c,0x00,0x00,0x00,0x95,0x00,0x00,0x00,0x00,0x04,0x00,0xd2,0x00,0x00, +0x00,0x28,0x00,0x20,0x00,0x04,0x00,0x08,0x00,0x7e,0x00,0xff,0x01,0x53,0x01,0x61, +0x01,0x78,0x01,0x7e,0x01,0x92,0x02,0xc6,0x02,0xdc,0x20,0x10,0x20,0x14,0x20,0x1a, +0x20,0x1e,0x20,0x22,0x20,0x26,0x20,0x30,0x20,0x3a,0x20,0xac,0x21,0x22,0xff,0xff, +0x00,0x00,0x00,0x20,0x00,0xa0,0x01,0x52,0x01,0x60,0x01,0x78,0x01,0x7d,0x01,0x92, +0x02,0xc6,0x02,0xdc,0x20,0x10,0x20,0x13,0x20,0x18,0x20,0x1c,0x20,0x20,0x20,0x26, +0x20,0x30,0x20,0x39,0x20,0xac,0x21,0x22,0xff,0xff,0xff,0xe3,0xff,0xdd,0x00,0x00, +0x00,0x00,0xff,0x04,0x00,0x00,0xfe,0xd2,0xfd,0xa3,0xfd,0x9a,0xe0,0xcd,0xe0,0x61, +0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0x40,0xe0,0x3a,0x00,0x00,0xdf,0xb6,0xdf,0x55, +0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x24,0x00,0x26,0x00,0x00,0x00,0x26,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1e,0x00,0x22,0x00,0x26,0x00,0x00, +0x00,0x00,0x00,0x26,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6d,0x00,0x7a,0x00,0x6b, +0x00,0x78,0x00,0x6e,0x00,0x7b,0x00,0x6f,0x00,0x70,0x00,0x63,0x00,0x71,0x00,0x72, +0x00,0x65,0x00,0x67,0x00,0x68,0x00,0x73,0x00,0x6c,0x00,0x79,0xfe,0xf6,0xff,0xff, +0x02,0x12,0x03,0x1e,0x01,0x0a,0x00,0x85,0x00,0x85,0x01,0x0a,0x02,0x14,0x01,0x8f, +0x01,0x90,0x5b,0xe2,0x18,0x8d,0xef,0x28,0x7d,0xa3,0xe5,0x5b,0x9d,0xbb,0xf4,0x8a, +0x3f,0xd5,0x78,0x05,0x21,0x30,0xbb,0xd3,0x1c,0x62,0x38,0x05,0xa3,0xad,0x4d,0x2d, +0x8d,0x2d,0xb5,0x1d,0xf5,0x6f,0xc6,0xb6,0x18,0xe8,0x7d,0xa6,0x1f,0x5b,0xba,0x99, +0x64,0x84,0x10,0x5c,0xb3,0x80,0x02,0xa4,0xe4,0x47,0x8e,0xee,0x6e,0xd5,0x20,0x67, +0xd9,0xbd,0x05,0xe1,0x60,0xa7,0x04,0x49,0xae,0xaf,0x6e,0x82,0x0e,0x7f,0xa2,0x10, +0x2f,0x8b,0xd4,0x3a,0x75,0x9c,0x33,0xb3,0xd2,0x3f,0x45,0xd8,0xe8,0x47,0x7c,0xef, +0x19,0x9d,0xc2,0x55,0x2c,0xa4,0x7a,0xe6,0x38,0x87,0xd3,0x20,0x4a,0xc2,0xe2,0x68, +0x99,0xac,0x44,0xe2,0xe9,0x8e,0x9f,0x0d,0x3a,0xeb,0xe5,0x48,0x8a,0x3e,0x2d,0xcc, +0xa7,0x57,0x5f,0xe3,0x80,0xa2,0xf1,0x8d,0xc8,0xd5,0x0b,0x7c,0x3e,0x14,0xa9,0xc8, +0x6b,0x6c,0x0a,0x0f,0xa4,0xa6,0x35,0x38,0x1d,0x7b,0x74,0x4a,0xbf,0x95,0x87,0xc5, +0xa1,0x70,0x3b,0x13,0x9b,0xa2,0xb8,0x45,0x23,0xed,0xca,0xed,0x0c,0xed,0x44,0x8c, +0x25,0x3e,0xbc,0x9e,0x4a,0xac,0xd2,0x39,0x78,0xca,0xa1,0x58,0xce,0x80,0x69,0xaf, +0xff,0x01,0x00,0x04,0x00,0x62,0x00,0x16,0x00,0x16,0x00,0x16,0x40,0x01,0x00,0x2c, +0x76,0x45,0x20,0xb0,0x03,0x25,0x45,0x23,0x61,0x68,0x18,0x23,0x68,0x60,0x44,0x2d, +0xb8,0x00,0x0a,0x2c,0x4b,0xb8,0x00,0x09,0x50,0x58,0xb1,0x01,0x01,0x8e,0x59,0xb8, +0x01,0xff,0x85,0xb8,0x00,0x44,0x1d,0xb9,0x00,0x09,0x00,0x03,0x5f,0x5e,0x2d,0xb8, +0x00,0x0b,0x2c,0x20,0x20,0x45,0x69,0x44,0xb0,0x01,0x60,0x2d,0xb8,0x00,0x0c,0x2c, +0xb8,0x00,0x0b,0x2a,0x21,0x2d,0xb8,0x00,0x0d,0x2c,0x20,0x46,0xb0,0x03,0x25,0x46, +0x52,0x58,0x23,0x59,0x20,0x8a,0x20,0x8a,0x49,0x64,0x8a,0x20,0x46,0x20,0x68,0x61, +0x64,0xb0,0x04,0x25,0x46,0x20,0x68,0x61,0x64,0x52,0x58,0x23,0x65,0x8a,0x59,0x2f, +0x20,0xb0,0x00,0x53,0x58,0x69,0x20,0xb0,0x00,0x54,0x58,0x21,0xb0,0x40,0x59,0x1b, +0x69,0x20,0xb0,0x00,0x54,0x58,0x21,0xb0,0x40,0x65,0x59,0x59,0x3a,0x2d,0xb8,0x00, +0x0e,0x2c,0x20,0x46,0xb0,0x04,0x25,0x46,0x52,0x58,0x23,0x8a,0x59,0x20,0x46,0x20, +0x6a,0x61,0x64,0xb0,0x04,0x25,0x46,0x20,0x6a,0x61,0x64,0x52,0x58,0x23,0x8a,0x59, +0x2f,0xfd,0x2d,0xb8,0x00,0x0f,0x2c,0x4b,0x20,0xb0,0x03,0x26,0x50,0x58,0x51,0x58, +0xb0,0x80,0x44,0x1b,0xb0,0x40,0x44,0x59,0x1b,0x21,0x21,0x20,0x45,0xb0,0xc0,0x50, +0x58,0xb0,0xc0,0x44,0x1b,0x21,0x59,0x59,0x2d,0xb8,0x00,0x10,0x2c,0x20,0x20,0x45, +0x69,0x44,0xb0,0x01,0x60,0x20,0x20,0x45,0x7d,0x69,0x18,0x44,0xb0,0x01,0x60,0x2d, +0xb8,0x00,0x11,0x2c,0xb8,0x00,0x10,0x2a,0x2d,0xb8,0x00,0x12,0x2c,0x4b,0x20,0xb0, +0x03,0x26,0x53,0x58,0xb0,0x80,0x1b,0xb0,0x40,0x59,0x8a,0x8a,0x20,0xb0,0x03,0x26, +0x53,0x58,0xb0,0x02,0x26,0x21,0xb0,0xc0,0x8a,0x8a,0x1b,0x8a,0x23,0x59,0x20,0xb0, +0x03,0x26,0x53,0x58,0x23,0x21,0xb8,0x01,0x00,0x8a,0x8a,0x1b,0x8a,0x23,0x59,0x20, +0xb8,0x00,0x03,0x26,0x53,0x58,0xb0,0x03,0x25,0x45,0xb8,0x01,0x40,0x50,0x58,0x23, +0x21,0xb8,0x01,0x40,0x23,0x21,0x1b,0xb0,0x03,0x25,0x45,0x23,0x21,0x23,0x21,0x59, +0x1b,0x21,0x59,0x44,0x2d,0xb8,0x00,0x13,0x2c,0x4b,0x53,0x58,0x45,0x44,0x1b,0x21, +0x21,0x59,0x2d,0xb8,0x00,0x14,0x2c,0x4b,0xb8,0x00,0x09,0x50,0x58,0xb1,0x01,0x01, +0x8e,0x59,0xb8,0x01,0xff,0x85,0xb8,0x00,0x44,0x1d,0xb9,0x00,0x09,0x00,0x03,0x5f, +0x5e,0x2d,0xb8,0x00,0x15,0x2c,0x20,0x20,0x45,0x69,0x44,0xb0,0x01,0x60,0x2d,0xb8, +0x00,0x16,0x2c,0xb8,0x00,0x15,0x2a,0x21,0x2d,0xb8,0x00,0x17,0x2c,0x20,0x46,0xb0, +0x03,0x25,0x46,0x52,0x58,0x23,0x59,0x20,0x8a,0x20,0x8a,0x49,0x64,0x8a,0x20,0x46, +0x20,0x68,0x61,0x64,0xb0,0x04,0x25,0x46,0x20,0x68,0x61,0x64,0x52,0x58,0x23,0x65, +0x8a,0x59,0x2f,0x20,0xb0,0x00,0x53,0x58,0x69,0x20,0xb0,0x00,0x54,0x58,0x21,0xb0, +0x40,0x59,0x1b,0x69,0x20,0xb0,0x00,0x54,0x58,0x21,0xb0,0x40,0x65,0x59,0x59,0x3a, +0x2d,0xb8,0x00,0x18,0x2c,0x20,0x46,0xb0,0x04,0x25,0x46,0x52,0x58,0x23,0x8a,0x59, +0x20,0x46,0x20,0x6a,0x61,0x64,0xb0,0x04,0x25,0x46,0x20,0x6a,0x61,0x64,0x52,0x58, +0x23,0x8a,0x59,0x2f,0xfd,0x2d,0xb8,0x00,0x19,0x2c,0x4b,0x20,0xb0,0x03,0x26,0x50, +0x58,0x51,0x58,0xb0,0x80,0x44,0x1b,0xb0,0x40,0x44,0x59,0x1b,0x21,0x21,0x20,0x45, +0xb0,0xc0,0x50,0x58,0xb0,0xc0,0x44,0x1b,0x21,0x59,0x59,0x2d,0xb8,0x00,0x1a,0x2c, +0x20,0x20,0x45,0x69,0x44,0xb0,0x01,0x60,0x20,0x20,0x45,0x7d,0x69,0x18,0x44,0xb0, +0x01,0x60,0x2d,0xb8,0x00,0x1b,0x2c,0xb8,0x00,0x1a,0x2a,0x2d,0xb8,0x00,0x1c,0x2c, +0x4b,0x20,0xb0,0x03,0x26,0x53,0x58,0xb0,0x80,0x1b,0xb0,0x40,0x59,0x8a,0x8a,0x20, +0xb0,0x03,0x26,0x53,0x58,0xb0,0x02,0x26,0x21,0xb0,0xc0,0x8a,0x8a,0x1b,0x8a,0x23, +0x59,0x20,0xb0,0x03,0x26,0x53,0x58,0x23,0x21,0xb8,0x01,0x00,0x8a,0x8a,0x1b,0x8a, +0x23,0x59,0x20,0xb8,0x00,0x03,0x26,0x53,0x58,0xb0,0x03,0x25,0x45,0xb8,0x01,0x40, +0x50,0x58,0x23,0x21,0xb8,0x01,0x40,0x23,0x21,0x1b,0xb0,0x03,0x25,0x45,0x23,0x21, +0x23,0x21,0x59,0x1b,0x21,0x59,0x44,0x2d,0xb8,0x00,0x1d,0x2c,0x4b,0x53,0x58,0x45, +0x44,0x1b,0x21,0x21,0x59,0x2d,0xb8,0x00,0x1e,0x2c,0x4b,0xb8,0x00,0x09,0x50,0x58, +0xb1,0x01,0x01,0x8e,0x59,0xb8,0x01,0xff,0x85,0xb8,0x00,0x44,0x1d,0xb9,0x00,0x09, +0x00,0x03,0x5f,0x5e,0x2d,0xb8,0x00,0x1f,0x2c,0x20,0x20,0x45,0x69,0x44,0xb0,0x01, +0x60,0x2d,0xb8,0x00,0x20,0x2c,0xb8,0x00,0x1f,0x2a,0x21,0x2d,0xb8,0x00,0x21,0x2c, +0x20,0x46,0xb0,0x03,0x25,0x46,0x52,0x58,0x23,0x59,0x20,0x8a,0x20,0x8a,0x49,0x64, +0x8a,0x20,0x46,0x20,0x68,0x61,0x64,0xb0,0x04,0x25,0x46,0x20,0x68,0x61,0x64,0x52, +0x58,0x23,0x65,0x8a,0x59,0x2f,0x20,0xb0,0x00,0x53,0x58,0x69,0x20,0xb0,0x00,0x54, +0x58,0x21,0xb0,0x40,0x59,0x1b,0x69,0x20,0xb0,0x00,0x54,0x58,0x21,0xb0,0x40,0x65, +0x59,0x59,0x3a,0x2d,0xb8,0x00,0x22,0x2c,0x20,0x46,0xb0,0x04,0x25,0x46,0x52,0x58, +0x23,0x8a,0x59,0x20,0x46,0x20,0x6a,0x61,0x64,0xb0,0x04,0x25,0x46,0x20,0x6a,0x61, +0x64,0x52,0x58,0x23,0x8a,0x59,0x2f,0xfd,0x2d,0xb8,0x00,0x23,0x2c,0x4b,0x20,0xb0, +0x03,0x26,0x50,0x58,0x51,0x58,0xb0,0x80,0x44,0x1b,0xb0,0x40,0x44,0x59,0x1b,0x21, +0x21,0x20,0x45,0xb0,0xc0,0x50,0x58,0xb0,0xc0,0x44,0x1b,0x21,0x59,0x59,0x2d,0xb8, +0x00,0x24,0x2c,0x20,0x20,0x45,0x69,0x44,0xb0,0x01,0x60,0x20,0x20,0x45,0x7d,0x69, +0x18,0x44,0xb0,0x01,0x60,0x2d,0xb8,0x00,0x25,0x2c,0xb8,0x00,0x24,0x2a,0x2d,0xb8, +0x00,0x26,0x2c,0x4b,0x20,0xb0,0x03,0x26,0x53,0x58,0xb0,0x80,0x1b,0xb0,0x40,0x59, +0x8a,0x8a,0x20,0xb0,0x03,0x26,0x53,0x58,0xb0,0x02,0x26,0x21,0xb0,0xc0,0x8a,0x8a, +0x1b,0x8a,0x23,0x59,0x20,0xb0,0x03,0x26,0x53,0x58,0x23,0x21,0xb8,0x01,0x00,0x8a, +0x8a,0x1b,0x8a,0x23,0x59,0x20,0xb8,0x00,0x03,0x26,0x53,0x58,0xb0,0x03,0x25,0x45, +0xb8,0x01,0x40,0x50,0x58,0x23,0x21,0xb8,0x01,0x40,0x23,0x21,0x1b,0xb0,0x03,0x25, +0x45,0x23,0x21,0x23,0x21,0x59,0x1b,0x21,0x59,0x44,0x2d,0xb8,0x00,0x27,0x2c,0x4b, +0x53,0x58,0x45,0x44,0x1b,0x21,0x21,0x59,0x2d,0x00,0x00,0x00,0x00,0x02,0x00,0x43, +0x00,0x00,0x01,0xd2,0x03,0x1e,0x00,0x03,0x00,0x07,0x00,0x57,0x40,0x21,0x01,0x08, +0x08,0x40,0x09,0x02,0x07,0x04,0x05,0x01,0x00,0x06,0x05,0x05,0x03,0x02,0x05,0x04, +0x06,0x00,0x07,0x06,0x06,0x01,0x02,0x01,0x03,0x03,0x00,0x01,0x01,0x00,0x46,0x76, +0x2f,0x37,0x18,0x00,0x3f,0x3c,0x3f,0x3c,0x10,0xfd,0x3c,0x10,0xfd,0x3c,0x01,0x2f, +0x3c,0xfd,0x3c,0x2f,0x3c,0xfd,0x3c,0x00,0x31,0x30,0x01,0x49,0x68,0xb9,0x00,0x00, +0x00,0x08,0x49,0x68,0x61,0xb0,0x40,0x52,0x58,0x38,0x11,0x37,0xb9,0x00,0x08,0xff, +0xc0,0x38,0x59,0x33,0x11,0x21,0x11,0x25,0x21,0x11,0x21,0x43,0x01,0x8f,0xfe,0xb3, +0x01,0x0a,0xfe,0xf6,0x03,0x1e,0xfc,0xe2,0x43,0x02,0x99,0x00,0x00,0x02,0x00,0x00, +0x00,0x00,0x00,0xc4,0x03,0x0e,0x00,0x03,0x00,0x07,0x00,0x33,0xb8,0x00,0x1e,0x2b, +0xba,0x00,0x03,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xb8,0x00,0x00,0x10, +0xb8,0x00,0x04,0xd0,0xb8,0x00,0x03,0x10,0xb8,0x00,0x06,0xd0,0x00,0xb8,0x00,0x00, +0x2f,0xba,0x00,0x04,0x00,0x05,0x00,0x21,0x2b,0xb8,0x00,0x04,0x10,0x30,0x31,0x19, +0x01,0x33,0x11,0x03,0x15,0x33,0x35,0xc4,0xc4,0xc4,0x03,0x0e,0xfd,0xf5,0x02,0x0b, +0xfd,0x73,0x81,0x81,0x00,0x02,0x00,0x00,0x01,0x03,0x01,0xe8,0x03,0x0e,0x00,0x07, +0x00,0x0f,0x00,0x67,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x07,0x00,0x00,0x00,0x21,0x2b, +0xb8,0x00,0x07,0x10,0xba,0x00,0x0f,0x00,0x08,0x00,0x21,0x2b,0xb8,0x00,0x0f,0x10, +0xba,0x00,0x02,0x00,0x00,0x00,0x07,0x11,0x12,0x39,0xb8,0x00,0x00,0x10,0xb8,0x00, +0x03,0xd0,0xba,0x00,0x0a,0x00,0x08,0x00,0x0f,0x11,0x12,0x39,0xb8,0x00,0x08,0x10, +0xb8,0x00,0x0b,0xd0,0x00,0xb8,0x00,0x04,0x2f,0xb8,0x00,0x0c,0x2f,0xb8,0x00,0x00, +0x2f,0xb8,0x00,0x08,0x2f,0xba,0x00,0x02,0x00,0x04,0x00,0x00,0x11,0x12,0x39,0xba, +0x00,0x0a,0x00,0x04,0x00,0x00,0x11,0x12,0x39,0x30,0x31,0x19,0x01,0x33,0x07,0x15, +0x33,0x37,0x11,0x33,0x11,0x33,0x07,0x15,0x33,0x37,0x11,0x61,0x61,0x61,0x63,0x61, +0x61,0x61,0x61,0x62,0x03,0x0e,0xfe,0xf9,0x82,0x82,0x82,0x01,0x89,0xfe,0xf9,0x82, +0x82,0x82,0x01,0x89,0x00,0x02,0x00,0x00,0x00,0x83,0x01,0xe8,0x03,0x0f,0x00,0x1b, +0x00,0x1f,0x00,0xc7,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x1c,0x00,0x02,0x00,0x21,0x2b, +0xb8,0x00,0x1c,0x10,0xba,0x00,0x0d,0x00,0x0a,0x00,0x21,0x2b,0xb8,0x00,0x0d,0x10, +0xb8,0x00,0x02,0x10,0xb8,0x00,0x06,0xd0,0xb8,0x00,0x1c,0x10,0xb8,0x00,0x08,0xd0, +0xb8,0x00,0x0d,0x10,0xb8,0x00,0x10,0xd0,0xb8,0x00,0x0d,0x10,0xb8,0x00,0x14,0xd0, +0xb8,0x00,0x0a,0x10,0xb8,0x00,0x16,0xd0,0xb8,0x00,0x1c,0x10,0xb8,0x00,0x18,0xd0, +0xb8,0x00,0x02,0x10,0xb8,0x00,0x1a,0xd0,0xb8,0x00,0x0a,0x10,0xb8,0x00,0x1d,0xd0, +0x00,0xb8,0x00,0x15,0x2f,0xb8,0x00,0x19,0x2f,0xb8,0x00,0x07,0x2f,0xb8,0x00,0x0b, +0x2f,0xba,0x00,0x04,0x00,0x05,0x00,0x21,0x2b,0xb8,0x00,0x04,0x10,0xba,0x00,0x00, +0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0xb8,0x00,0x05,0x10,0xb8,0x00,0x09, +0xd0,0xb8,0x00,0x05,0x10,0xb8,0x00,0x0d,0xd0,0xb8,0x00,0x04,0x10,0xb8,0x00,0x0f, +0xd0,0xb8,0x00,0x01,0x10,0xb8,0x00,0x11,0xd0,0xb8,0x00,0x00,0x10,0xb8,0x00,0x13, +0xd0,0xb8,0x00,0x00,0x10,0xb8,0x00,0x17,0xd0,0xb8,0x00,0x01,0x10,0xb8,0x00,0x1c, +0xd0,0xb8,0x00,0x04,0x10,0xb8,0x00,0x1e,0xd0,0x30,0x31,0x11,0x15,0x33,0x15,0x23, +0x15,0x33,0x15,0x33,0x35,0x33,0x15,0x33,0x35,0x33,0x35,0x23,0x35,0x33,0x35,0x23, +0x35,0x23,0x15,0x23,0x35,0x23,0x15,0x17,0x33,0x15,0x23,0x61,0x61,0x61,0x63,0x61, +0x61,0x62,0x62,0x62,0x62,0x61,0x61,0x63,0x63,0x61,0x61,0x02,0x8b,0x83,0x82,0x82, +0x81,0x81,0x81,0x81,0x82,0x82,0x83,0x84,0x84,0x84,0x84,0x83,0x82,0x00,0x00,0x01, +0x00,0x00,0xff,0x7c,0x01,0xe8,0x03,0x0e,0x00,0x17,0x00,0x8b,0xb8,0x00,0x1e,0x2b, +0xba,0x00,0x13,0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x13,0x10,0xba,0x00,0x10,0x00, +0x06,0x00,0x21,0x2b,0xb8,0x00,0x10,0x10,0xb8,0x00,0x13,0x10,0xb8,0x00,0x00,0xd0, +0xb8,0x00,0x13,0x10,0xb8,0x00,0x0a,0xd0,0xb8,0x00,0x06,0x10,0xb8,0x00,0x0c,0xd0, +0xb8,0x00,0x06,0x10,0xb8,0x00,0x16,0xd0,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x0b, +0x2f,0xba,0x00,0x08,0x00,0x09,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00,0x02, +0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x02,0x10,0xba,0x00,0x04,0x00,0x05,0x00,0x21, +0x2b,0xb8,0x00,0x04,0x10,0xb8,0x00,0x09,0x10,0xb8,0x00,0x0d,0xd0,0xb8,0x00,0x04, +0x10,0xb8,0x00,0x11,0xd0,0xb8,0x00,0x03,0x10,0xb8,0x00,0x13,0xd0,0xb8,0x00,0x02, +0x10,0xb8,0x00,0x15,0xd0,0x30,0x31,0x13,0x15,0x23,0x07,0x15,0x17,0x33,0x15,0x23, +0x15,0x33,0x15,0x33,0x35,0x33,0x37,0x35,0x27,0x23,0x35,0x33,0x35,0x23,0x35,0xc4, +0x63,0x61,0x61,0xc4,0xc4,0x63,0x61,0x61,0x62,0x62,0xc2,0xc2,0x61,0x03,0x0e,0x83, +0x84,0x82,0x82,0x82,0x81,0x84,0x84,0x81,0x82,0x82,0x82,0x84,0x83,0x00,0x00,0x05, +0x00,0x00,0x00,0x00,0x02,0x68,0x03,0x0f,0x00,0x03,0x00,0x0b,0x00,0x0f,0x00,0x17, +0x00,0x1b,0x00,0x4b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0c,0x00,0x04,0x00,0x21,0x2b, +0xb8,0x00,0x0c,0x10,0xba,0x00,0x09,0x00,0x0d,0x00,0x21,0x2b,0xb8,0x00,0x09,0x10, +0xba,0x00,0x18,0x00,0x10,0x00,0x21,0x2b,0xb8,0x00,0x18,0x10,0xba,0x00,0x15,0x00, +0x19,0x00,0x21,0x2b,0xb8,0x00,0x15,0x10,0xb8,0x00,0x1d,0xdc,0x00,0xb8,0x00,0x00, +0x2f,0xb8,0x00,0x0a,0x2f,0xb8,0x00,0x01,0x2f,0xb8,0x00,0x12,0x2f,0x30,0x31,0x01, +0x03,0x33,0x13,0x05,0x15,0x17,0x33,0x37,0x35,0x27,0x23,0x17,0x33,0x15,0x23,0x05, +0x15,0x17,0x33,0x37,0x35,0x27,0x23,0x17,0x33,0x15,0x23,0x01,0x63,0xc2,0x60,0xc4, +0xfe,0x3b,0x31,0x93,0x30,0x30,0x93,0x30,0x31,0x31,0x01,0x12,0x31,0x93,0x31,0x31, +0x93,0x32,0x30,0x30,0x03,0x0e,0xfc,0xf2,0x03,0x0e,0x60,0xc1,0x61,0x61,0xc1,0x61, +0x66,0xa4,0xe4,0xc1,0x60,0x60,0xc1,0x62,0x66,0xa4,0x00,0x02,0x00,0x00,0x00,0x00, +0x01,0xe8,0x03,0x0e,0x00,0x0d,0x00,0x11,0x00,0x79,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x0c,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x0c,0x10,0xba,0x00,0x0a,0x00,0x0f,0x00, +0x21,0x2b,0xb8,0x00,0x0a,0x10,0xba,0x00,0x04,0x00,0x02,0x00,0x0c,0x11,0x12,0x39, +0xb8,0x00,0x02,0x10,0xb8,0x00,0x05,0xd0,0xb8,0x00,0x0c,0x10,0xb8,0x00,0x0e,0xd0, +0x00,0xba,0x00,0x06,0x00,0x07,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0xba,0x00,0x01, +0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xba,0x00,0x03,0x00,0x05,0x00,0x21, +0x2b,0xb8,0x00,0x03,0x10,0xb8,0x00,0x0a,0xd0,0xb8,0x00,0x02,0x10,0xb8,0x00,0x0c, +0xd0,0xb8,0x00,0x05,0x10,0xb8,0x00,0x0e,0xd0,0xb8,0x00,0x06,0x10,0xb8,0x00,0x10, +0xd0,0x30,0x31,0x01,0x21,0x07,0x15,0x17,0x23,0x11,0x17,0x21,0x37,0x11,0x21,0x35, +0x33,0x03,0x33,0x11,0x23,0x01,0x86,0xfe,0xdb,0x61,0x61,0x61,0x61,0x01,0x25,0x62, +0xfe,0xdc,0xc2,0xc2,0x61,0x61,0x03,0x0e,0x83,0x84,0x82,0xfe,0xfc,0x81,0x81,0x01, +0x86,0x84,0xfe,0xfa,0xfe,0xfc,0x00,0x01,0x00,0x00,0x01,0x03,0x00,0xc4,0x03,0x0e, +0x00,0x07,0x00,0x37,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x07,0x00,0x00,0x00,0x21,0x2b, +0xb8,0x00,0x07,0x10,0xba,0x00,0x02,0x00,0x00,0x00,0x07,0x11,0x12,0x39,0xb8,0x00, +0x00,0x10,0xb8,0x00,0x03,0xd0,0x00,0xb8,0x00,0x04,0x2f,0xb8,0x00,0x00,0x2f,0xba, +0x00,0x02,0x00,0x04,0x00,0x00,0x11,0x12,0x39,0x30,0x31,0x19,0x01,0x33,0x07,0x15, +0x33,0x37,0x11,0x61,0x61,0x61,0x63,0x03,0x0e,0xfe,0xf9,0x82,0x82,0x82,0x01,0x89, +0x00,0x01,0x00,0x00,0xff,0x7c,0x01,0x25,0x03,0x0e,0x00,0x09,0x00,0x3b,0xb8,0x00, +0x1e,0x2b,0xba,0x00,0x08,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0x00,0xba, +0x00,0x03,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xba,0x00,0x01,0x00,0x02, +0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xb8,0x00,0x03,0x10,0xb8,0x00,0x06,0xd0,0xb8, +0x00,0x02,0x10,0xb8,0x00,0x08,0xd0,0x30,0x31,0x01,0x23,0x07,0x11,0x17,0x33,0x35, +0x23,0x11,0x33,0x01,0x25,0xc4,0x61,0x61,0xc4,0x61,0x61,0x03,0x0e,0x83,0xfd,0x75, +0x84,0x84,0x02,0x8b,0x00,0x01,0x00,0x00,0xff,0x7c,0x01,0x25,0x03,0x0e,0x00,0x09, +0x00,0x2f,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00, +0x08,0x10,0xb8,0x00,0x0b,0xdc,0x00,0xba,0x00,0x04,0x00,0x05,0x00,0x21,0x2b,0xb8, +0x00,0x04,0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0x30, +0x31,0x11,0x15,0x33,0x11,0x23,0x15,0x33,0x37,0x11,0x27,0x61,0x61,0xc4,0x61,0x61, +0x03,0x0e,0x83,0xfd,0x75,0x84,0x84,0x02,0x8b,0x83,0x00,0x01,0x00,0x00,0x01,0x91, +0x01,0x25,0x03,0x1b,0x00,0x13,0x00,0xa3,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x13,0x00, +0x00,0x00,0x21,0x2b,0xb8,0x00,0x13,0x10,0xb8,0x00,0x02,0xd0,0xb8,0x00,0x00,0x10, +0xb8,0x00,0x04,0xd0,0xb8,0x00,0x13,0x10,0xb8,0x00,0x06,0xd0,0xb8,0x00,0x02,0x10, +0xb8,0x00,0x07,0xd0,0xb8,0x00,0x13,0x10,0xb8,0x00,0x0d,0xdc,0xb8,0x00,0x08,0xd0, +0xb8,0x00,0x0c,0x10,0xb8,0x00,0x09,0xd0,0xb8,0x00,0x0d,0x10,0xb8,0x00,0x0b,0xdc, +0xb8,0x00,0x0e,0xd0,0xb8,0x00,0x0d,0x10,0xb8,0x00,0x10,0xd0,0xb8,0x00,0x0c,0x10, +0xb8,0x00,0x11,0xd0,0x00,0xba,0x00,0x04,0x00,0x05,0x00,0x21,0x2b,0xb8,0x00,0x04, +0x10,0xba,0x00,0x12,0x00,0x07,0x00,0x21,0x2b,0xb8,0x00,0x12,0x10,0xba,0x00,0x00, +0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0xb8,0x00,0x05,0x10,0xb8,0x00,0x09, +0xd0,0xb8,0x00,0x04,0x10,0xb8,0x00,0x0b,0xd0,0xb8,0x00,0x01,0x10,0xb8,0x00,0x0d, +0xd0,0xb8,0x00,0x00,0x10,0xb8,0x00,0x0f,0xd0,0x30,0x31,0x11,0x15,0x33,0x15,0x23, +0x15,0x33,0x35,0x33,0x15,0x33,0x35,0x23,0x35,0x33,0x35,0x23,0x15,0x23,0x35,0x61, +0x61,0x61,0x60,0x64,0x64,0x64,0x64,0x60,0x03,0x1b,0x85,0x82,0x83,0x62,0x62,0x83, +0x82,0x85,0x59,0x59,0x00,0x01,0x00,0x00,0x00,0x81,0x01,0x25,0x02,0x07,0x00,0x0b, +0x00,0x43,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x05,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00, +0x05,0x10,0xb8,0x00,0x08,0xd0,0xb8,0x00,0x02,0x10,0xb8,0x00,0x0a,0xd0,0x00,0xb8, +0x00,0x09,0x2f,0xb8,0x00,0x03,0x2f,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8, +0x00,0x00,0x10,0xb8,0x00,0x01,0x10,0xb8,0x00,0x05,0xd0,0xb8,0x00,0x00,0x10,0xb8, +0x00,0x07,0xd0,0x30,0x31,0x11,0x15,0x33,0x15,0x33,0x35,0x33,0x35,0x23,0x35,0x23, +0x15,0x61,0x63,0x61,0x61,0x63,0x01,0x85,0x82,0x82,0x82,0x82,0x82,0x82,0x00,0x01, +0x00,0x00,0xfe,0xfb,0x00,0xc4,0x01,0x03,0x00,0x07,0x00,0x37,0xb8,0x00,0x1e,0x2b, +0xba,0x00,0x07,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xba,0x00,0x02,0x00, +0x00,0x00,0x07,0x11,0x12,0x39,0xb8,0x00,0x00,0x10,0xb8,0x00,0x03,0xd0,0x00,0xb8, +0x00,0x04,0x2f,0xb8,0x00,0x00,0x2f,0xba,0x00,0x02,0x00,0x04,0x00,0x00,0x11,0x12, +0x39,0x30,0x31,0x19,0x01,0x33,0x07,0x15,0x33,0x37,0x11,0x61,0x61,0x61,0x63,0x01, +0x03,0xfe,0xfd,0x84,0x81,0x81,0x01,0x87,0x00,0x01,0x00,0x00,0x01,0x03,0x01,0x25, +0x01,0x85,0x00,0x03,0x00,0x0f,0xb8,0x00,0x1e,0x2b,0x00,0xba,0x00,0x00,0x00,0x01, +0x00,0x21,0x2b,0x30,0x31,0x11,0x15,0x21,0x35,0x01,0x25,0x01,0x85,0x82,0x82,0x00, +0x00,0x01,0x00,0x00,0x00,0x00,0x00,0xc4,0x01,0x03,0x00,0x03,0x00,0x1b,0xb8,0x00, +0x1e,0x2b,0xba,0x00,0x03,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0x00,0xb8, +0x00,0x00,0x2f,0xb8,0x00,0x01,0x2f,0x30,0x31,0x19,0x01,0x33,0x11,0xc4,0x01,0x03, +0xfe,0xfd,0x01,0x03,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0x25,0x03,0x0e,0x00,0x05, +0x00,0x0f,0xb8,0x00,0x1e,0x2b,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x02,0x2f,0x30, +0x31,0x13,0x03,0x11,0x33,0x13,0x11,0xc4,0xc4,0x61,0xc4,0x03,0x0e,0xfd,0xf5,0xfe, +0xfd,0x02,0x07,0x01,0x07,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x06, +0x00,0x07,0x00,0x0b,0x00,0x2f,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00,0x00,0x00, +0x21,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00,0x05,0x00,0x09,0x00,0x21,0x2b,0xb8,0x00, +0x05,0x10,0x00,0xb8,0x00,0x02,0x2f,0xba,0x00,0x07,0x00,0x08,0x00,0x21,0x2b,0xb8, +0x00,0x07,0x10,0x30,0x31,0x19,0x01,0x17,0x21,0x37,0x11,0x27,0x21,0x17,0x33,0x11, +0x23,0x61,0x01,0x25,0x62,0x62,0xfe,0xdb,0x63,0x61,0x61,0x02,0x44,0xfe,0x7c,0xc0, +0xc0,0x01,0x84,0xc2,0xcd,0xfe,0xb9,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0x86, +0x03,0x0f,0x00,0x0a,0x00,0x27,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00,0x03,0x00, +0x21,0x2b,0xb8,0x00,0x08,0x10,0x00,0xb8,0x00,0x09,0x2f,0xba,0x00,0x04,0x00,0x05, +0x00,0x21,0x2b,0xb8,0x00,0x04,0x10,0xb8,0x00,0x07,0xd0,0x30,0x31,0x11,0x15,0x33, +0x15,0x23,0x15,0x21,0x35,0x23,0x11,0x23,0x61,0x61,0x01,0x86,0x61,0xc4,0x02,0x4a, +0xc4,0xc4,0xc2,0xc2,0x02,0x4d,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x0b, +0x00,0x0f,0x00,0x69,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x04,0x00,0x05,0x00,0x21,0x2b, +0xb8,0x00,0x04,0x10,0xba,0x00,0x0b,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x0b,0x10, +0xb8,0x00,0x04,0x10,0xb8,0x00,0x00,0xd0,0xb8,0x00,0x0b,0x10,0xb8,0x00,0x07,0xd0, +0xba,0x00,0x09,0x00,0x02,0x00,0x0b,0x11,0x12,0x39,0xb8,0x00,0x05,0x10,0xb8,0x00, +0x0e,0xd0,0x00,0xba,0x00,0x05,0x00,0x06,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0xba, +0x00,0x0d,0x00,0x0e,0x00,0x21,0x2b,0xb8,0x00,0x0d,0x10,0xb8,0x00,0x0e,0x10,0xb8, +0x00,0x01,0xd0,0xb8,0x00,0x05,0x10,0xb8,0x00,0x08,0xd0,0x30,0x31,0x13,0x35,0x33, +0x15,0x07,0x23,0x15,0x21,0x35,0x23,0x37,0x35,0x27,0x21,0x07,0x15,0xc4,0x61,0x61, +0xc4,0x01,0xe8,0x62,0x62,0x62,0xfe,0xdb,0x61,0x01,0x84,0xc3,0xc3,0xc3,0xc1,0xc1, +0xc3,0xc3,0xc4,0xc4,0xc3,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x0e, +0x00,0x15,0x00,0x71,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00,0x09,0x00,0x21,0x2b, +0xb8,0x00,0x08,0x10,0xba,0x00,0x11,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x11,0x10, +0xb8,0x00,0x08,0x10,0xb8,0x00,0x00,0xd0,0xb8,0x00,0x08,0x10,0xb8,0x00,0x04,0xd0, +0xb8,0x00,0x02,0x10,0xb8,0x00,0x05,0xd0,0xb8,0x00,0x11,0x10,0xb8,0x00,0x0d,0xd0, +0xba,0x00,0x0f,0x00,0x02,0x00,0x11,0x11,0x12,0x39,0xb8,0x00,0x09,0x10,0xb8,0x00, +0x14,0xd0,0x00,0xba,0x00,0x07,0x00,0x0b,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xba, +0x00,0x13,0x00,0x14,0x00,0x21,0x2b,0xb8,0x00,0x13,0x10,0xb8,0x00,0x14,0x10,0xb8, +0x00,0x01,0xd0,0x30,0x31,0x13,0x35,0x33,0x15,0x07,0x33,0x11,0x23,0x35,0x23,0x15, +0x17,0x21,0x37,0x11,0x23,0x37,0x35,0x27,0x21,0x07,0x15,0xc4,0x61,0x61,0x61,0x61, +0xc4,0x64,0x01,0x1f,0x65,0x62,0x62,0x62,0xfe,0xdb,0x61,0x02,0x09,0x82,0x82,0x83, +0xfe,0xfc,0x85,0x85,0x82,0x82,0x01,0x04,0x83,0x82,0x83,0x83,0x82,0x00,0x00,0x01, +0x00,0x00,0xff,0xfe,0x01,0xe8,0x03,0x0a,0x00,0x0d,0x00,0x4b,0xb8,0x00,0x1e,0x2b, +0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xba,0x00,0x06,0x00,0x03,0x00,0x21,0x2b, +0xb8,0x00,0x06,0x10,0xb8,0x00,0x09,0xd0,0xb8,0x00,0x03,0x10,0xb8,0x00,0x0b,0xd0, +0x00,0xb8,0x00,0x0a,0x2f,0xb8,0x00,0x04,0x2f,0xba,0x00,0x0d,0x00,0x02,0x00,0x21, +0x2b,0xb8,0x00,0x0d,0x10,0xb8,0x00,0x02,0x10,0xb8,0x00,0x06,0xd0,0xb8,0x00,0x0d, +0x10,0xb8,0x00,0x08,0xd0,0x30,0x31,0x13,0x23,0x11,0x33,0x15,0x33,0x35,0x33,0x35, +0x23,0x11,0x23,0x11,0x23,0x61,0x61,0xc4,0xc2,0x62,0x62,0xc2,0x63,0x02,0x05,0xfe, +0x7a,0x81,0x81,0x84,0x02,0x07,0xfd,0xf9,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0xe8, +0x03,0x0e,0x00,0x10,0x00,0x5b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0e,0x00,0x00,0x00, +0x21,0x2b,0xb8,0x00,0x0e,0x10,0xba,0x00,0x0b,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00, +0x0b,0x10,0xb8,0x00,0x0e,0x10,0xb8,0x00,0x04,0xd0,0xb8,0x00,0x00,0x10,0xb8,0x00, +0x06,0xd0,0xb8,0x00,0x0b,0x10,0xb8,0x00,0x0f,0xd0,0x00,0xba,0x00,0x04,0x00,0x08, +0x00,0x21,0x2b,0xb8,0x00,0x04,0x10,0xba,0x00,0x00,0x00,0x0e,0x00,0x21,0x2b,0xb8, +0x00,0x00,0x10,0xba,0x00,0x0d,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x0d,0x10,0x30, +0x31,0x19,0x01,0x21,0x11,0x23,0x35,0x23,0x15,0x17,0x21,0x37,0x11,0x27,0x23,0x35, +0x21,0x35,0x01,0x25,0x61,0xc4,0x64,0x01,0x1f,0x65,0x62,0xc2,0x01,0x24,0x03,0x0e, +0xfe,0x78,0xfe,0xfc,0x85,0x85,0x82,0x82,0x01,0x04,0x83,0x82,0x83,0x00,0x00,0x02, +0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x0e,0x00,0x0b,0x00,0x0f,0x00,0x63,0xb8,0x00, +0x1e,0x2b,0xba,0x00,0x0a,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x0a,0x10,0xba,0x00, +0x07,0x00,0x0d,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xb8,0x00,0x0a,0x10,0xb8,0x00, +0x0c,0xd0,0x00,0xba,0x00,0x03,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xba, +0x00,0x01,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xba,0x00,0x08,0x00,0x07, +0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xb8,0x00,0x02,0x10,0xb8,0x00,0x0a,0xd0,0xb8, +0x00,0x07,0x10,0xb8,0x00,0x0c,0xd0,0xb8,0x00,0x03,0x10,0xb8,0x00,0x0e,0xd0,0x30, +0x31,0x01,0x21,0x07,0x11,0x17,0x21,0x37,0x11,0x27,0x23,0x35,0x33,0x03,0x33,0x11, +0x23,0x01,0x86,0xfe,0xdb,0x61,0x61,0x01,0x25,0x62,0x62,0xc2,0xc2,0xc2,0x61,0x61, +0x03,0x0e,0x83,0xfd,0xf6,0x81,0x81,0x01,0x04,0x82,0x84,0xfe,0xfa,0xfe,0xfc,0x00, +0x00,0x01,0x00,0x00,0xff,0xfe,0x01,0xe8,0x03,0x0a,0x00,0x0d,0x00,0x45,0xb8,0x00, +0x1e,0x2b,0xba,0x00,0x03,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xba,0x00, +0x07,0x00,0x00,0x00,0x03,0x11,0x12,0x39,0xb8,0x00,0x07,0x2f,0xb8,0x00,0x0a,0xdc, +0xb8,0x00,0x04,0xd0,0xb8,0x00,0x09,0xd0,0xb8,0x00,0x0a,0x10,0xb8,0x00,0x0d,0xdc, +0x00,0xb8,0x00,0x08,0x2f,0xba,0x00,0x00,0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x00, +0x10,0x30,0x31,0x19,0x01,0x33,0x35,0x33,0x11,0x23,0x07,0x11,0x33,0x11,0x33,0x37, +0x11,0xc4,0x61,0x61,0x63,0xc4,0x61,0x62,0x03,0x0a,0xfe,0xfb,0x83,0xfe,0xfb,0x80, +0xfe,0xfb,0x01,0x05,0x80,0x01,0x87,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x01,0xe8, +0x03,0x0e,0x00,0x0d,0x00,0x11,0x00,0x15,0x00,0x9f,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x0e,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x0e,0x10,0xba,0x00,0x0c,0x00,0x0f,0x00, +0x21,0x2b,0xb8,0x00,0x0c,0x10,0xba,0x00,0x03,0x00,0x01,0x00,0x0e,0x11,0x12,0x39, +0xb8,0x00,0x01,0x10,0xb8,0x00,0x04,0xd0,0xb8,0x00,0x0c,0x10,0xb8,0x00,0x08,0xd0, +0xba,0x00,0x0a,0x00,0x0f,0x00,0x0c,0x11,0x12,0x39,0xb8,0x00,0x0e,0x10,0xb8,0x00, +0x12,0xd0,0xb8,0x00,0x0f,0x10,0xb8,0x00,0x13,0xd0,0x00,0xba,0x00,0x05,0x00,0x06, +0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8, +0x00,0x00,0x10,0xba,0x00,0x02,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x02,0x10,0xb8, +0x00,0x04,0x10,0xb8,0x00,0x09,0xd0,0xb8,0x00,0x01,0x10,0xb8,0x00,0x0e,0xd0,0xb8, +0x00,0x02,0x10,0xb8,0x00,0x10,0xd0,0xb8,0x00,0x04,0x10,0xb8,0x00,0x12,0xd0,0xb8, +0x00,0x05,0x10,0xb8,0x00,0x14,0xd0,0x30,0x31,0x13,0x07,0x15,0x17,0x23,0x11,0x17, +0x21,0x37,0x11,0x23,0x37,0x35,0x27,0x07,0x33,0x15,0x23,0x15,0x33,0x11,0x23,0x61, +0x61,0x61,0x61,0x61,0x01,0x25,0x62,0x62,0x62,0x62,0xc2,0x61,0x61,0x61,0x61,0x03, +0x0e,0x83,0x84,0x82,0xfe,0xfc,0x81,0x81,0x01,0x04,0x82,0x84,0x83,0x83,0x84,0x82, +0xfe,0xfc,0x00,0x02,0x00,0x00,0xff,0xfe,0x01,0xe8,0x03,0x0a,0x00,0x0b,0x00,0x0f, +0x00,0x4b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0c,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00, +0x0c,0x10,0xba,0x00,0x09,0x00,0x05,0x00,0x21,0x2b,0xb8,0x00,0x09,0x10,0xb8,0x00, +0x05,0x10,0xb8,0x00,0x0d,0xd0,0x00,0xba,0x00,0x06,0x00,0x07,0x00,0x21,0x2b,0xb8, +0x00,0x06,0x10,0xba,0x00,0x00,0x00,0x0c,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0xba, +0x00,0x0f,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x0f,0x10,0x30,0x31,0x13,0x07,0x11, +0x17,0x33,0x15,0x23,0x15,0x21,0x37,0x11,0x27,0x07,0x33,0x11,0x23,0x61,0x61,0x61, +0xc4,0xc4,0x01,0x25,0x62,0x62,0xc2,0x61,0x61,0x03,0x0a,0x82,0xfe,0xfb,0x80,0x84, +0x81,0x81,0x02,0x09,0x82,0x7b,0xfe,0xfc,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0xc4, +0x02,0x8b,0x00,0x03,0x00,0x07,0x00,0x2b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x03,0x00, +0x00,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xb8,0x00,0x00,0x10,0xb8,0x00,0x04,0xd0, +0xb8,0x00,0x03,0x10,0xb8,0x00,0x06,0xd0,0x00,0xb8,0x00,0x05,0x2f,0xb8,0x00,0x00, +0x2f,0x30,0x31,0x19,0x01,0x33,0x11,0x03,0x11,0x33,0x11,0xc4,0xc4,0xc4,0x02,0x8b, +0xfe,0xfa,0x01,0x06,0xfe,0x78,0xfe,0xfd,0x01,0x03,0x00,0x02,0x00,0x00,0xfe,0xfb, +0x00,0xc4,0x02,0x8b,0x00,0x03,0x00,0x0b,0x00,0x47,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x03,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xb8,0x00,0x00,0x10,0xb8,0x00, +0x04,0xd0,0xba,0x00,0x06,0x00,0x00,0x00,0x03,0x11,0x12,0x39,0xb8,0x00,0x00,0x10, +0xb8,0x00,0x07,0xd0,0xb8,0x00,0x03,0x10,0xb8,0x00,0x0a,0xd0,0x00,0xb8,0x00,0x00, +0x2f,0xb8,0x00,0x08,0x2f,0xba,0x00,0x06,0x00,0x08,0x00,0x00,0x11,0x12,0x39,0x30, +0x31,0x19,0x01,0x33,0x11,0x03,0x11,0x33,0x07,0x15,0x33,0x37,0x11,0xc4,0xc4,0x61, +0x61,0x61,0x63,0x02,0x8b,0xfe,0xfa,0x01,0x06,0xfe,0x78,0xfe,0xfd,0x84,0x81,0x81, +0x01,0x87,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0x86,0x02,0x8b,0x00,0x0f,0x00,0x3f, +0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0d,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x0d,0x10, +0xb8,0x00,0x03,0xdc,0xb8,0x00,0x06,0xd0,0x00,0xba,0x00,0x0b,0x00,0x08,0x00,0x21, +0x2b,0xb8,0x00,0x0b,0x10,0xba,0x00,0x01,0x00,0x0e,0x00,0x21,0x2b,0xb8,0x00,0x01, +0x10,0xba,0x00,0x04,0x00,0x05,0x00,0x21,0x2b,0xb8,0x00,0x04,0x10,0x30,0x31,0x01, +0x23,0x07,0x15,0x23,0x15,0x33,0x15,0x17,0x33,0x35,0x23,0x27,0x35,0x37,0x33,0x01, +0x86,0xc2,0x63,0x61,0x61,0x63,0xc2,0x61,0x54,0x54,0x61,0x02,0x8b,0x84,0x82,0x82, +0x82,0x81,0x81,0x7d,0x8e,0x7b,0x00,0x02,0x00,0x00,0x00,0x81,0x01,0x25,0x02,0x07, +0x00,0x03,0x00,0x07,0x00,0x1f,0xb8,0x00,0x1e,0x2b,0x00,0xba,0x00,0x04,0x00,0x05, +0x00,0x21,0x2b,0xb8,0x00,0x04,0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8, +0x00,0x00,0x10,0x30,0x31,0x11,0x15,0x21,0x35,0x01,0x15,0x21,0x35,0x01,0x25,0xfe, +0xdb,0x01,0x25,0x02,0x07,0x82,0x82,0xfe,0xfc,0x82,0x82,0x00,0x00,0x01,0x00,0x00, +0x00,0x00,0x01,0x86,0x02,0x8b,0x00,0x0f,0x00,0x5b,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x05,0x00,0x0c,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0xb8,0x00,0x0c,0x10,0xb8,0x00, +0x06,0xdc,0xb8,0x00,0x02,0xd0,0xb8,0x00,0x05,0x10,0xb8,0x00,0x11,0xdc,0x00,0xba, +0x00,0x07,0x00,0x08,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xba,0x00,0x01,0x00,0x02, +0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xba,0x00,0x04,0x00,0x05,0x00,0x21,0x2b,0xb8, +0x00,0x04,0x10,0xb8,0x00,0x07,0x10,0xb8,0x00,0x0a,0xd0,0xb8,0x00,0x02,0x10,0xb8, +0x00,0x0e,0xd0,0x30,0x31,0x11,0x33,0x17,0x15,0x33,0x15,0x23,0x15,0x07,0x23,0x35, +0x33,0x37,0x35,0x27,0x23,0xc4,0x61,0x61,0x61,0x61,0xc4,0x61,0x56,0x56,0x61,0x02, +0x8b,0x84,0x82,0x82,0x82,0x81,0x81,0x7d,0x8e,0x7b,0x00,0x02,0x00,0x00,0x00,0x00, +0x01,0xe8,0x03,0x0e,0x00,0x0a,0x00,0x0e,0x00,0x5b,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x03,0x00,0x05,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xba,0x00,0x09,0x00,0x02,0x00, +0x21,0x2b,0xb8,0x00,0x09,0x10,0xb8,0x00,0x03,0x10,0xb8,0x00,0x07,0xd0,0xb8,0x00, +0x05,0x10,0xb8,0x00,0x0b,0xd0,0xb8,0x00,0x03,0x10,0xb8,0x00,0x0d,0xd0,0x00,0xba, +0x00,0x0b,0x00,0x0c,0x00,0x21,0x2b,0xb8,0x00,0x0b,0x10,0xba,0x00,0x00,0x00,0x01, +0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0xba,0x00,0x05,0x00,0x06,0x00,0x21,0x2b,0xb8, +0x00,0x05,0x10,0x30,0x31,0x11,0x15,0x21,0x15,0x07,0x23,0x15,0x33,0x13,0x35,0x27, +0x01,0x15,0x33,0x35,0x01,0x25,0x61,0x63,0xc4,0xc3,0x62,0xfe,0xdb,0xc4,0x03,0x0e, +0x83,0x84,0x82,0x82,0x01,0x04,0x84,0x83,0xfd,0x73,0x81,0x81,0x00,0x01,0x00,0x00, +0x00,0x00,0x01,0xe8,0x03,0x0e,0x00,0x0e,0x00,0x37,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x02,0x00,0x0b,0x00,0x21,0x2b,0xb8,0x00,0x02,0x10,0xba,0x00,0x08,0x00,0x03,0x00, +0x21,0x2b,0xb8,0x00,0x08,0x10,0x00,0xba,0x00,0x01,0x00,0x0d,0x00,0x21,0x2b,0xb8, +0x00,0x01,0x10,0xba,0x00,0x0a,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x0a,0x10,0x30, +0x31,0x25,0x21,0x11,0x21,0x15,0x23,0x11,0x21,0x11,0x27,0x21,0x07,0x11,0x17,0x21, +0x01,0x8a,0xfe,0xe4,0x01,0x0c,0xbd,0x01,0x2b,0x63,0xfe,0xde,0x63,0x63,0x01,0x27, +0x91,0x01,0xea,0x6c,0xfe,0xed,0x01,0x8d,0x85,0x85,0xfd,0xfa,0x83,0x00,0x00,0x02, +0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x0e,0x00,0x09,0x00,0x0d,0x00,0x57,0xb8,0x00, +0x1e,0x2b,0xba,0x00,0x0b,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x0b,0x10,0xba,0x00, +0x07,0x00,0x06,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xb8,0x00,0x0b,0x10,0xb8,0x00, +0x03,0xd0,0xb8,0x00,0x06,0x10,0xb8,0x00,0x0c,0xd0,0x00,0xb8,0x00,0x02,0x2f,0xb8, +0x00,0x06,0x2f,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0xba, +0x00,0x0a,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x0a,0x10,0xb8,0x00,0x01,0x10,0xb8, +0x00,0x0b,0xd0,0x30,0x31,0x13,0x07,0x11,0x33,0x11,0x33,0x11,0x33,0x11,0x27,0x03, +0x11,0x33,0x11,0x61,0x61,0xc4,0x61,0xc3,0x62,0xc2,0x61,0x03,0x0e,0x83,0xfd,0x75, +0x01,0x03,0xfe,0xfd,0x02,0x8b,0x83,0xfe,0x77,0x01,0x06,0xfe,0xfa,0x00,0x00,0x03, +0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x0e,0x00,0x08,0x00,0x0c,0x00,0x10,0x00,0x79, +0xb8,0x00,0x1e,0x2b,0xba,0x00,0x09,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x09,0x10, +0xba,0x00,0x07,0x00,0x0a,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xb8,0x00,0x03,0xd0, +0xba,0x00,0x05,0x00,0x0a,0x00,0x07,0x11,0x12,0x39,0xb8,0x00,0x09,0x10,0xb8,0x00, +0x0d,0xd0,0xb8,0x00,0x0a,0x10,0xb8,0x00,0x0e,0xd0,0x00,0xba,0x00,0x10,0x00,0x02, +0x00,0x21,0x2b,0xb8,0x00,0x10,0x10,0xba,0x00,0x08,0x00,0x07,0x00,0x21,0x2b,0xb8, +0x00,0x08,0x10,0xba,0x00,0x06,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0xb8, +0x00,0x07,0x10,0xb8,0x00,0x09,0xd0,0xb8,0x00,0x06,0x10,0xb8,0x00,0x0b,0xd0,0xb8, +0x00,0x04,0x10,0xb8,0x00,0x0d,0xd0,0x30,0x31,0x19,0x01,0x21,0x37,0x11,0x23,0x37, +0x35,0x27,0x07,0x33,0x15,0x23,0x15,0x33,0x11,0x23,0x01,0x86,0x62,0x62,0x62,0x62, +0xc2,0x61,0x61,0x61,0x61,0x03,0x0e,0xfc,0xf2,0x81,0x01,0x04,0x82,0x84,0x83,0x83, +0x84,0x82,0xfe,0xfc,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x0e,0x00,0x0b, +0x00,0x4b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x07,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00, +0x07,0x10,0xba,0x00,0x0b,0x00,0x08,0x00,0x21,0x2b,0xb8,0x00,0x0b,0x10,0xb8,0x00, +0x04,0xd0,0x00,0xba,0x00,0x02,0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x02,0x10,0xba, +0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0xb8,0x00,0x02,0x10,0xb8, +0x00,0x05,0xd0,0xb8,0x00,0x01,0x10,0xb8,0x00,0x07,0xd0,0x30,0x31,0x13,0x07,0x11, +0x17,0x21,0x35,0x21,0x11,0x33,0x15,0x33,0x11,0x61,0x61,0x61,0x01,0x87,0xfe,0xdc, +0x61,0xc3,0x03,0x0e,0x83,0xfd,0xf6,0x81,0x81,0x02,0x0a,0x84,0x01,0x07,0x00,0x02, +0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x0e,0x00,0x05,0x00,0x09,0x00,0x3f,0xb8,0x00, +0x1e,0x2b,0xba,0x00,0x06,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0xba,0x00, +0x04,0x00,0x07,0x00,0x21,0x2b,0xb8,0x00,0x04,0x10,0x00,0xba,0x00,0x09,0x00,0x02, +0x00,0x21,0x2b,0xb8,0x00,0x09,0x10,0xba,0x00,0x05,0x00,0x04,0x00,0x21,0x2b,0xb8, +0x00,0x05,0x10,0xb8,0x00,0x04,0x10,0xb8,0x00,0x06,0xd0,0x30,0x31,0x19,0x01,0x21, +0x37,0x11,0x27,0x07,0x33,0x11,0x23,0x01,0x86,0x62,0x62,0xc2,0x61,0x61,0x03,0x0e, +0xfc,0xf2,0x81,0x02,0x0a,0x83,0x83,0xfd,0xf6,0x00,0x00,0x01,0x00,0x00,0x00,0x00, +0x01,0xe8,0x03,0x0e,0x00,0x0d,0x00,0x4b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0c,0x00, +0x02,0x00,0x21,0x2b,0xb8,0x00,0x0c,0x10,0xb8,0x00,0x07,0xd0,0x00,0xba,0x00,0x03, +0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xba,0x00,0x01,0x00,0x02,0x00,0x21, +0x2b,0xb8,0x00,0x01,0x10,0xba,0x00,0x0b,0x00,0x08,0x00,0x21,0x2b,0xb8,0x00,0x0b, +0x10,0xb8,0x00,0x03,0x10,0xb8,0x00,0x06,0xd0,0xb8,0x00,0x02,0x10,0xb8,0x00,0x0c, +0xd0,0x30,0x31,0x01,0x21,0x07,0x11,0x17,0x21,0x35,0x21,0x11,0x33,0x35,0x23,0x35, +0x21,0x01,0xe8,0xfe,0x79,0x61,0x61,0x01,0x87,0xfe,0xdc,0xc2,0xc2,0x01,0x24,0x03, +0x0e,0x83,0xfd,0xf6,0x81,0x81,0x01,0x04,0x82,0x84,0x00,0x01,0x00,0x00,0x00,0x00, +0x01,0xe8,0x03,0x0e,0x00,0x0a,0x00,0x3f,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x05,0x00, +0x02,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0xb8,0x00,0x08,0xd0,0xb8,0x00,0x08,0x2f, +0x00,0xb8,0x00,0x03,0x2f,0xba,0x00,0x01,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01, +0x10,0xba,0x00,0x08,0x00,0x05,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xb8,0x00,0x02, +0x10,0xb8,0x00,0x09,0xd0,0x30,0x31,0x01,0x21,0x07,0x11,0x33,0x11,0x33,0x35,0x23, +0x35,0x21,0x01,0xe8,0xfe,0x79,0x61,0xc2,0xc4,0xc2,0x01,0x24,0x03,0x0e,0x83,0xfd, +0x75,0x01,0x85,0x82,0x84,0x00,0x00,0x01,0x00,0x00,0xfe,0xfb,0x01,0xe8,0x03,0x0e, +0x00,0x12,0x00,0x6b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x10,0x00,0x03,0x00,0x21,0x2b, +0xb8,0x00,0x10,0x10,0xba,0x00,0x0b,0x00,0x07,0x00,0x21,0x2b,0xb8,0x00,0x0b,0x10, +0xb8,0x00,0x00,0xd0,0xb8,0x00,0x10,0x10,0xb8,0x00,0x08,0xd0,0xb8,0x00,0x07,0x10, +0xb8,0x00,0x0d,0xd0,0xb8,0x00,0x07,0x10,0xb8,0x00,0x11,0xd0,0x00,0xba,0x00,0x08, +0x00,0x09,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00,0x02,0x00,0x03,0x00,0x21, +0x2b,0xb8,0x00,0x02,0x10,0xba,0x00,0x04,0x00,0x05,0x00,0x21,0x2b,0xb8,0x00,0x04, +0x10,0xb8,0x00,0x0e,0xd0,0xb8,0x00,0x03,0x10,0xb8,0x00,0x10,0xd0,0x30,0x31,0x01, +0x11,0x21,0x07,0x11,0x17,0x33,0x15,0x23,0x15,0x33,0x37,0x11,0x23,0x11,0x23,0x11, +0x33,0x15,0x01,0xe8,0xfe,0x79,0x61,0x61,0xc4,0x61,0xc2,0x62,0xc3,0x61,0x61,0x02, +0x07,0x01,0x07,0x83,0xfd,0xf6,0x81,0x84,0x81,0x81,0x02,0x09,0xfe,0xfc,0x02,0x0a, +0x84,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x0e,0x00,0x0b,0x00,0x4b, +0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0b,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x0b,0x10, +0xba,0x00,0x06,0x00,0x05,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0xb8,0x00,0x0b,0x10, +0xb8,0x00,0x02,0xd0,0xb8,0x00,0x05,0x10,0xb8,0x00,0x08,0xd0,0x00,0xb8,0x00,0x00, +0x2f,0xb8,0x00,0x07,0x2f,0xb8,0x00,0x01,0x2f,0xb8,0x00,0x05,0x2f,0xba,0x00,0x0a, +0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x0a,0x10,0x30,0x31,0x19,0x01,0x33,0x11,0x33, +0x11,0x33,0x11,0x23,0x11,0x23,0x11,0xc4,0x61,0xc3,0xc3,0x61,0x03,0x0e,0xfc,0xf2, +0x01,0x85,0xfe,0x7b,0x03,0x0e,0xfe,0xf9,0x01,0x07,0x00,0x01,0x00,0x00,0x00,0x00, +0x01,0x86,0x03,0x0e,0x00,0x0b,0x00,0x3b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x09,0x00, +0x02,0x00,0x21,0x2b,0xb8,0x00,0x09,0x10,0x00,0xba,0x00,0x04,0x00,0x05,0x00,0x21, +0x2b,0xb8,0x00,0x04,0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00, +0x10,0xb8,0x00,0x04,0x10,0xb8,0x00,0x07,0xd0,0xb8,0x00,0x01,0x10,0xb8,0x00,0x09, +0xd0,0x30,0x31,0x11,0x15,0x33,0x11,0x23,0x15,0x21,0x35,0x23,0x11,0x33,0x35,0x61, +0x61,0x01,0x86,0x61,0x61,0x03,0x0e,0x83,0xfd,0xf6,0x81,0x81,0x02,0x0a,0x83,0x00, +0x00,0x01,0x00,0x00,0xfe,0xfb,0x01,0x25,0x03,0x0e,0x00,0x08,0x00,0x2f,0xb8,0x00, +0x1e,0x2b,0xba,0x00,0x08,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xb8,0x00, +0x0a,0xdc,0x00,0xba,0x00,0x04,0x00,0x05,0x00,0x21,0x2b,0xb8,0x00,0x04,0x10,0xba, +0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0x30,0x31,0x11,0x15,0x33, +0x11,0x23,0x15,0x33,0x37,0x11,0x61,0x61,0xc4,0x61,0x03,0x0e,0x83,0xfc,0xf1,0x81, +0x81,0x03,0x92,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x0e,0x00,0x0e, +0x00,0x5d,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0e,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00, +0x0e,0x10,0xba,0x00,0x07,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xb8,0x00, +0x0e,0x10,0xb8,0x00,0x02,0xd0,0xb8,0x00,0x07,0x10,0xb8,0x00,0x09,0xd0,0xb8,0x00, +0x04,0x10,0xb8,0x00,0x0b,0xd0,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x0a,0x2f,0xb8, +0x00,0x01,0x2f,0xb8,0x00,0x05,0x2f,0xba,0x00,0x0d,0x00,0x03,0x00,0x21,0x2b,0xb8, +0x00,0x0d,0x10,0xba,0x00,0x08,0x00,0x03,0x00,0x0d,0x11,0x12,0x39,0x30,0x31,0x19, +0x01,0x33,0x11,0x33,0x11,0x33,0x11,0x27,0x37,0x35,0x23,0x11,0x23,0x11,0xc4,0x61, +0xc3,0x7b,0x7b,0xc3,0x61,0x03,0x0e,0xfc,0xf2,0x01,0x85,0xfe,0x7b,0x01,0x6d,0x55, +0x6a,0xe2,0xfe,0xf9,0x01,0x07,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x0e, +0x00,0x05,0x00,0x23,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x05,0x00,0x00,0x00,0x21,0x2b, +0xb8,0x00,0x05,0x10,0x00,0xb8,0x00,0x00,0x2f,0xba,0x00,0x04,0x00,0x01,0x00,0x21, +0x2b,0xb8,0x00,0x04,0x10,0x30,0x31,0x19,0x01,0x21,0x35,0x21,0x11,0x01,0xe8,0xfe, +0xdc,0x03,0x0e,0xfc,0xf2,0x81,0x02,0x8d,0x00,0x01,0x00,0x00,0x00,0x00,0x02,0xac, +0x03,0x0e,0x00,0x0b,0x00,0x3f,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0b,0x00,0x00,0x00, +0x21,0x2b,0xb8,0x00,0x0b,0x10,0xba,0x00,0x05,0x00,0x06,0x00,0x21,0x2b,0xb8,0x00, +0x05,0x10,0x00,0xb8,0x00,0x02,0x2f,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x05,0x2f,0xba, +0x00,0x07,0x00,0x00,0x00,0x02,0x11,0x12,0x39,0xba,0x00,0x0a,0x00,0x00,0x00,0x02, +0x11,0x12,0x39,0x30,0x31,0x31,0x11,0x37,0x21,0x17,0x11,0x23,0x11,0x03,0x23,0x03, +0x11,0x61,0x01,0xe9,0x62,0xc4,0x62,0x61,0x61,0x02,0x8d,0x81,0x81,0xfd,0x73,0x02, +0x8d,0xfe,0xf9,0x01,0x07,0xfd,0x73,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0xe8, +0x03,0x10,0x00,0x0b,0x00,0x4f,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x03,0x00,0x01,0x00, +0x21,0x2b,0xb8,0x00,0x03,0x10,0xba,0x00,0x06,0x00,0x08,0x00,0x21,0x2b,0xb8,0x00, +0x06,0x10,0xb8,0x00,0x08,0x10,0xb8,0x00,0x04,0xd0,0xb8,0x00,0x04,0x2f,0x00,0xb8, +0x00,0x07,0x2f,0xb8,0x00,0x0a,0x2f,0xb8,0x00,0x01,0x2f,0xb8,0x00,0x04,0x2f,0xba, +0x00,0x03,0x00,0x01,0x00,0x07,0x11,0x12,0x39,0xba,0x00,0x09,0x00,0x01,0x00,0x07, +0x11,0x12,0x39,0x30,0x31,0x19,0x01,0x33,0x11,0x13,0x33,0x11,0x27,0x23,0x11,0x03, +0x23,0xc2,0x67,0xbf,0x44,0x7f,0x74,0x7c,0x02,0xba,0xfd,0x46,0x01,0x51,0xfe,0xaf, +0x02,0xae,0x62,0xfe,0xdb,0x01,0x25,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x01,0xe8, +0x03,0x0e,0x00,0x07,0x00,0x0b,0x00,0x47,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00, +0x00,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00,0x05,0x00,0x09,0x00,0x21,0x2b, +0xb8,0x00,0x05,0x10,0x00,0xba,0x00,0x01,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01, +0x10,0xba,0x00,0x07,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xb8,0x00,0x00, +0x10,0xb8,0x00,0x08,0xd0,0xb8,0x00,0x01,0x10,0xb8,0x00,0x0a,0xd0,0x30,0x31,0x19, +0x01,0x17,0x21,0x37,0x11,0x27,0x21,0x17,0x33,0x11,0x23,0x61,0x01,0x25,0x62,0x62, +0xfe,0xdb,0x63,0x61,0x61,0x02,0x8b,0xfd,0xf6,0x81,0x81,0x02,0x0a,0x83,0x83,0xfd, +0xf6,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x0e,0x00,0x07,0x00,0x0b, +0x00,0x4b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00, +0x08,0x10,0xba,0x00,0x06,0x00,0x09,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0xb8,0x00, +0x08,0x10,0xb8,0x00,0x02,0xd0,0x00,0xb8,0x00,0x01,0x2f,0xba,0x00,0x07,0x00,0x06, +0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xba,0x00,0x0b,0x00,0x03,0x00,0x21,0x2b,0xb8, +0x00,0x0b,0x10,0xb8,0x00,0x06,0x10,0xb8,0x00,0x08,0xd0,0x30,0x31,0x19,0x01,0x33, +0x11,0x33,0x37,0x11,0x27,0x07,0x33,0x11,0x23,0xc4,0xc2,0x62,0x62,0xc2,0x61,0x61, +0x03,0x0e,0xfc,0xf2,0x01,0x03,0x82,0x01,0x06,0x83,0x83,0xfe,0xfa,0x00,0x00,0x02, +0x00,0x00,0xff,0x7c,0x01,0xe8,0x03,0x0e,0x00,0x0b,0x00,0x0f,0x00,0x6b,0xb8,0x00, +0x1e,0x2b,0xba,0x00,0x0c,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x0c,0x10,0xba,0x00, +0x06,0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0xb8,0x00,0x08,0xd0,0xb8,0x00, +0x03,0x10,0xb8,0x00,0x0d,0xd0,0x00,0xba,0x00,0x03,0x00,0x04,0x00,0x21,0x2b,0xb8, +0x00,0x03,0x10,0xba,0x00,0x0b,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x0b,0x10,0xb8, +0x00,0x03,0x10,0xb8,0x00,0x01,0xdc,0xb8,0x00,0x03,0x10,0xb8,0x00,0x06,0xd0,0xb8, +0x00,0x02,0x10,0xb8,0x00,0x07,0xd0,0xb8,0x00,0x00,0x10,0xb8,0x00,0x0c,0xd0,0xb8, +0x00,0x01,0x10,0xb8,0x00,0x0e,0xd0,0x30,0x31,0x19,0x01,0x17,0x33,0x15,0x33,0x35, +0x23,0x37,0x11,0x27,0x21,0x17,0x33,0x11,0x23,0x61,0xc4,0xc3,0x62,0x62,0x62,0xfe, +0xdb,0x63,0x61,0x61,0x02,0x8b,0xfd,0xf6,0x81,0x84,0x84,0x81,0x02,0x0a,0x83,0x83, +0xfd,0xf6,0x00,0x02,0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x0e,0x00,0x0b,0x00,0x0f, +0x00,0x67,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0c,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00, +0x0c,0x10,0xba,0x00,0x07,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xb8,0x00, +0x0c,0x10,0xb8,0x00,0x02,0xd0,0xb8,0x00,0x07,0x10,0xb8,0x00,0x09,0xd0,0xb8,0x00, +0x04,0x10,0xb8,0x00,0x0d,0xd0,0x00,0xb8,0x00,0x01,0x2f,0xb8,0x00,0x05,0x2f,0xba, +0x00,0x0b,0x00,0x0a,0x00,0x21,0x2b,0xb8,0x00,0x0b,0x10,0xba,0x00,0x0f,0x00,0x03, +0x00,0x21,0x2b,0xb8,0x00,0x0f,0x10,0xb8,0x00,0x03,0x10,0xb8,0x00,0x07,0xd0,0xb8, +0x00,0x0a,0x10,0xb8,0x00,0x0c,0xd0,0x30,0x31,0x19,0x01,0x33,0x11,0x33,0x11,0x33, +0x11,0x23,0x37,0x11,0x27,0x07,0x33,0x11,0x23,0xc4,0x61,0xc3,0x62,0x62,0x62,0xc2, +0x61,0x61,0x03,0x0e,0xfc,0xf2,0x01,0x03,0xfe,0xfd,0x01,0x03,0x82,0x01,0x06,0x83, +0x83,0xfe,0xfa,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x0e,0x00,0x12, +0x00,0x79,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0a,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00, +0x0a,0x10,0xba,0x00,0x09,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x09,0x10,0xb8,0x00, +0x0a,0x10,0xb8,0x00,0x03,0xd0,0xb8,0x00,0x03,0x2f,0xb8,0x00,0x00,0x10,0xb8,0x00, +0x05,0xd0,0xb8,0x00,0x0a,0x10,0xb8,0x00,0x0c,0xd0,0xb8,0x00,0x0c,0x2f,0xb8,0x00, +0x01,0x10,0xb8,0x00,0x0d,0xd0,0xb8,0x00,0x09,0x10,0xb8,0x00,0x0f,0xd0,0x00,0xba, +0x00,0x03,0x00,0x07,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xba,0x00,0x11,0x00,0x12, +0x00,0x21,0x2b,0xb8,0x00,0x11,0x10,0xba,0x00,0x0b,0x00,0x12,0x00,0x11,0x11,0x12, +0x39,0xb8,0x00,0x12,0x10,0xb8,0x00,0x0c,0xd0,0x30,0x31,0x11,0x01,0x15,0x23,0x35, +0x23,0x11,0x21,0x37,0x35,0x01,0x35,0x17,0x33,0x15,0x33,0x11,0x21,0x07,0x01,0x25, +0x61,0xc4,0x01,0x86,0x62,0xfe,0xda,0x02,0x61,0xc3,0xfe,0x79,0x61,0x02,0x0e,0xfe, +0xf5,0x82,0x82,0xfe,0xfd,0x81,0x82,0x01,0x0b,0x85,0x08,0x82,0x01,0x05,0x83,0x00, +0x00,0x01,0x00,0x00,0x00,0x00,0x01,0x86,0x03,0x0e,0x00,0x07,0x00,0x2b,0xb8,0x00, +0x1e,0x2b,0xba,0x00,0x05,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0x00,0xb8, +0x00,0x03,0x2f,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0xb8, +0x00,0x01,0x10,0xb8,0x00,0x05,0xd0,0x30,0x31,0x11,0x15,0x33,0x11,0x33,0x11,0x33, +0x35,0x61,0xc4,0x61,0x03,0x0e,0x83,0xfd,0x75,0x02,0x8b,0x83,0x00,0x01,0x00,0x00, +0x00,0x00,0x01,0xe8,0x03,0x0e,0x00,0x09,0x00,0x37,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x09,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x09,0x10,0xba,0x00,0x05,0x00,0x06,0x00, +0x21,0x2b,0xb8,0x00,0x05,0x10,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x05,0x2f,0xba, +0x00,0x01,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xb8,0x00,0x07,0xd0,0x30, +0x31,0x19,0x01,0x17,0x21,0x37,0x11,0x23,0x11,0x23,0x11,0x61,0x01,0x25,0x62,0xc3, +0x61,0x03,0x0e,0xfd,0x73,0x81,0x81,0x02,0x8d,0xfd,0x73,0x02,0x8d,0x00,0x00,0x01, +0x00,0x00,0xff,0xfe,0x01,0xe8,0x03,0x0e,0x00,0x09,0x00,0x3f,0xb8,0x00,0x1e,0x2b, +0xba,0x00,0x09,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x09,0x10,0xba,0x00,0x04,0x00, +0x07,0x00,0x21,0x2b,0xb8,0x00,0x04,0x10,0xb8,0x00,0x09,0x10,0xb8,0x00,0x02,0xd0, +0xb8,0x00,0x02,0x2f,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x05,0x2f,0xba,0x00,0x08, +0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0x30,0x31,0x19,0x01,0x13,0x33,0x13, +0x11,0x23,0x11,0x23,0x11,0xbd,0x68,0xc3,0xc3,0x61,0x03,0x0e,0xfd,0xf2,0xfe,0xfe, +0x01,0x05,0x02,0x0b,0xfd,0x73,0x02,0x8d,0x00,0x01,0x00,0x00,0x00,0x00,0x02,0xac, +0x03,0x0e,0x00,0x0b,0x00,0x3f,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0b,0x00,0x00,0x00, +0x21,0x2b,0xb8,0x00,0x0b,0x10,0xba,0x00,0x05,0x00,0x06,0x00,0x21,0x2b,0xb8,0x00, +0x05,0x10,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x05,0x2f,0xb8,0x00,0x02,0x2f,0xba, +0x00,0x07,0x00,0x02,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x0a,0x00,0x02,0x00,0x00, +0x11,0x12,0x39,0x30,0x31,0x19,0x01,0x17,0x21,0x37,0x11,0x23,0x11,0x03,0x23,0x03, +0x11,0x61,0x01,0xe9,0x62,0xc4,0x62,0x61,0x61,0x03,0x0e,0xfd,0x73,0x81,0x81,0x02, +0x8d,0xfd,0x73,0x01,0x05,0xfe,0xfb,0x02,0x8d,0x00,0x00,0x01,0x00,0x00,0x00,0x00, +0x01,0xe8,0x03,0x0e,0x00,0x11,0x00,0x6b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x11,0x00, +0x00,0x00,0x21,0x2b,0xb8,0x00,0x11,0x10,0xba,0x00,0x0a,0x00,0x07,0x00,0x21,0x2b, +0xb8,0x00,0x0a,0x10,0xb8,0x00,0x00,0x10,0xb8,0x00,0x03,0xd0,0xb8,0x00,0x11,0x10, +0xb8,0x00,0x05,0xd0,0xb8,0x00,0x0a,0x10,0xb8,0x00,0x0c,0xd0,0xb8,0x00,0x07,0x10, +0xb8,0x00,0x0e,0xd0,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x0d,0x2f,0xb8,0x00,0x04, +0x2f,0xb8,0x00,0x08,0x2f,0xba,0x00,0x01,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01, +0x10,0xb8,0x00,0x02,0x10,0xb8,0x00,0x06,0xd0,0xb8,0x00,0x01,0x10,0xb8,0x00,0x0f, +0xd0,0x30,0x31,0x19,0x01,0x17,0x07,0x11,0x33,0x11,0x33,0x11,0x33,0x11,0x27,0x37, +0x11,0x23,0x11,0x23,0x11,0x61,0x61,0xc4,0x61,0xc3,0x62,0x62,0xc3,0x61,0x03,0x0e, +0xfe,0xf9,0x82,0x5b,0xfe,0xd6,0x01,0x85,0xfe,0x7b,0x01,0x31,0x54,0x82,0x01,0x07, +0xfe,0xf9,0x01,0x07,0x00,0x01,0x00,0x00,0xfe,0xfb,0x01,0xe8,0x03,0x0e,0x00,0x0d, +0x00,0x53,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0d,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00, +0x0d,0x10,0xba,0x00,0x08,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xb8,0x00, +0x0d,0x10,0xb8,0x00,0x05,0xd0,0xb8,0x00,0x04,0x10,0xb8,0x00,0x0a,0xd0,0x00,0xb8, +0x00,0x00,0x2f,0xb8,0x00,0x09,0x2f,0xba,0x00,0x05,0x00,0x06,0x00,0x21,0x2b,0xb8, +0x00,0x05,0x10,0xba,0x00,0x01,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xb8, +0x00,0x0b,0xd0,0x30,0x31,0x19,0x01,0x17,0x33,0x15,0x23,0x15,0x33,0x37,0x11,0x23, +0x11,0x23,0x11,0x61,0xc4,0x61,0xc2,0x62,0xc3,0x61,0x03,0x0e,0xfd,0x73,0x81,0x84, +0x81,0x81,0x03,0x92,0xfd,0x73,0x02,0x8d,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0xe8, +0x03,0x0e,0x00,0x0a,0x00,0x33,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00,0x03,0x00, +0x21,0x2b,0xb8,0x00,0x08,0x10,0xb8,0x00,0x03,0x10,0xb8,0x00,0x00,0xd0,0x00,0xba, +0x00,0x07,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xba,0x00,0x00,0x00,0x01, +0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0x30,0x31,0x11,0x15,0x21,0x01,0x11,0x21,0x35, +0x21,0x35,0x01,0x35,0x01,0x25,0xfe,0xdb,0x01,0xe8,0xfe,0xdc,0x01,0x24,0x03,0x0e, +0x83,0xfe,0x78,0xfe,0xfd,0x81,0x82,0x01,0x90,0x7b,0x00,0x01,0x00,0x00,0xff,0x7c, +0x01,0x25,0x03,0x0e,0x00,0x07,0x00,0x2b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x06,0x00, +0x01,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0x00,0xba,0x00,0x05,0x00,0x03,0x00,0x21, +0x2b,0xb8,0x00,0x05,0x10,0xba,0x00,0x00,0x00,0x07,0x00,0x21,0x2b,0xb8,0x00,0x00, +0x10,0x30,0x31,0x01,0x21,0x11,0x21,0x35,0x23,0x11,0x33,0x01,0x25,0xfe,0xdb,0x01, +0x25,0x61,0x61,0x03,0x0e,0xfc,0x6e,0x84,0x02,0x8b,0x00,0x01,0x00,0x00,0x00,0x00, +0x01,0x25,0x03,0x0e,0x00,0x05,0x00,0x0f,0xb8,0x00,0x1e,0x2b,0x00,0xb8,0x00,0x00, +0x2f,0xb8,0x00,0x02,0x2f,0x30,0x31,0x1b,0x01,0x11,0x23,0x03,0x11,0x61,0xc4,0x61, +0xc4,0x03,0x0e,0xfd,0xf5,0xfe,0xfd,0x02,0x07,0x01,0x07,0x00,0x00,0x01,0x00,0x00, +0xff,0x7c,0x01,0x25,0x03,0x0e,0x00,0x07,0x00,0x2f,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x07,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xb8,0x00,0x09,0xdc,0x00,0xba, +0x00,0x04,0x00,0x05,0x00,0x21,0x2b,0xb8,0x00,0x04,0x10,0xba,0x00,0x00,0x00,0x01, +0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0x30,0x31,0x11,0x15,0x33,0x11,0x23,0x15,0x21, +0x11,0x61,0x61,0x01,0x25,0x03,0x0e,0x83,0xfd,0x75,0x84,0x03,0x92,0x00,0x00,0x01, +0x00,0x00,0x02,0x07,0x01,0x25,0x03,0x0e,0x00,0x08,0x00,0x1d,0xb8,0x00,0x1e,0x2b, +0x00,0xb8,0x00,0x07,0x2f,0xb8,0x00,0x01,0x2f,0xb8,0x00,0x04,0x2f,0xba,0x00,0x03, +0x00,0x01,0x00,0x07,0x11,0x12,0x39,0x30,0x31,0x11,0x15,0x33,0x37,0x17,0x33,0x35, +0x27,0x23,0x61,0x31,0x32,0x61,0x61,0x63,0x02,0x8b,0x84,0x8c,0x8c,0x84,0x83,0x00, +0x00,0x01,0xff,0xfb,0xff,0x23,0x02,0x45,0xff,0xa3,0x00,0x03,0x00,0x0f,0xb8,0x00, +0x1e,0x2b,0x00,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0x30,0x31,0x07,0x15,0x21, +0x35,0x05,0x02,0x4a,0x5d,0x80,0x80,0x00,0x00,0x01,0x00,0x00,0x02,0x07,0x01,0x25, +0x03,0x0e,0x00,0x05,0x00,0x0f,0xb8,0x00,0x1e,0x2b,0x00,0xb8,0x00,0x00,0x2f,0xb8, +0x00,0x02,0x2f,0x30,0x31,0x11,0x15,0x17,0x33,0x35,0x27,0x61,0xc4,0x61,0x03,0x0e, +0x83,0x84,0x84,0x83,0x00,0x02,0x00,0x00,0x00,0x00,0x01,0xe8,0x02,0x07,0x00,0x05, +0x00,0x09,0x00,0x47,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x06,0x00,0x01,0x00,0x21,0x2b, +0xb8,0x00,0x06,0x10,0xba,0x00,0x05,0x00,0x07,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10, +0x00,0xba,0x00,0x02,0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x02,0x10,0xba,0x00,0x00, +0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0xb8,0x00,0x01,0x10,0xb8,0x00,0x06, +0xd0,0xb8,0x00,0x02,0x10,0xb8,0x00,0x08,0xd0,0x30,0x31,0x13,0x07,0x11,0x17,0x21, +0x11,0x05,0x33,0x11,0x23,0x61,0x61,0x61,0x01,0x87,0xfe,0xdc,0x61,0x61,0x02,0x07, +0x82,0xfe,0xfc,0x81,0x02,0x07,0x82,0xfe,0xfc,0x00,0x00,0x02,0x00,0x00,0x00,0x00, +0x01,0xe8,0x03,0x0e,0x00,0x08,0x00,0x0c,0x00,0x4b,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x08,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00,0x05,0x00,0x0a,0x00, +0x21,0x2b,0xb8,0x00,0x05,0x10,0xb8,0x00,0x08,0x10,0xb8,0x00,0x09,0xd0,0x00,0xb8, +0x00,0x00,0x2f,0xba,0x00,0x01,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xba, +0x00,0x06,0x00,0x0a,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0xb8,0x00,0x01,0x10,0xb8, +0x00,0x0b,0xd0,0x30,0x31,0x19,0x01,0x17,0x21,0x37,0x11,0x27,0x23,0x19,0x01,0x33, +0x11,0x23,0x61,0x01,0x25,0x62,0x65,0xbf,0x61,0x61,0x03,0x0e,0xfd,0x73,0x81,0x81, +0x01,0x04,0x84,0x01,0x05,0xfe,0x77,0xfe,0xfc,0x00,0x00,0x01,0x00,0x00,0x00,0x00, +0x01,0xe8,0x02,0x07,0x00,0x0b,0x00,0x43,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x06,0x00, +0x00,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0xba,0x00,0x0a,0x00,0x07,0x00,0x21,0x2b, +0xb8,0x00,0x0a,0x10,0xb8,0x00,0x03,0xd0,0x00,0xba,0x00,0x05,0x00,0x02,0x00,0x21, +0x2b,0xb8,0x00,0x05,0x10,0xba,0x00,0x0b,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x0b, +0x10,0xb8,0x00,0x00,0x10,0xb8,0x00,0x06,0xd0,0x30,0x31,0x19,0x01,0x17,0x21,0x35, +0x21,0x11,0x33,0x15,0x33,0x11,0x21,0x61,0x01,0x87,0xfe,0xdc,0x61,0xc3,0xfe,0x79, +0x01,0x85,0xfe,0xfc,0x81,0x82,0x01,0x03,0x82,0x01,0x04,0x00,0x00,0x02,0x00,0x00, +0x00,0x00,0x01,0xe8,0x03,0x0e,0x00,0x07,0x00,0x0b,0x00,0x53,0xb8,0x00,0x1e,0x2b, +0xba,0x00,0x08,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00,0x04,0x00, +0x05,0x00,0x21,0x2b,0xb8,0x00,0x04,0x10,0xb8,0x00,0x05,0x10,0xb8,0x00,0x09,0xd0, +0x00,0xb8,0x00,0x04,0x2f,0xba,0x00,0x01,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01, +0x10,0xba,0x00,0x07,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xb8,0x00,0x00, +0x10,0xb8,0x00,0x08,0xd0,0xb8,0x00,0x01,0x10,0xb8,0x00,0x0a,0xd0,0x30,0x31,0x19, +0x01,0x17,0x21,0x11,0x23,0x11,0x23,0x17,0x33,0x11,0x23,0x61,0x01,0x87,0xc3,0xc4, +0x63,0x61,0x61,0x01,0x85,0xfe,0xfc,0x81,0x03,0x0e,0xfe,0xf9,0x82,0xfe,0xfc,0x00, +0x00,0x02,0x00,0x00,0x00,0x00,0x01,0xeb,0x02,0x09,0x00,0x08,0x00,0x0c,0x00,0x53, +0xb8,0x00,0x1e,0x2b,0xba,0x00,0x09,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x09,0x10, +0xba,0x00,0x06,0x00,0x0a,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0xb8,0x00,0x03,0xd0, +0xb8,0x00,0x03,0x2f,0x00,0xba,0x00,0x05,0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x05, +0x10,0xba,0x00,0x08,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xb8,0x00,0x00, +0x10,0xb8,0x00,0x09,0xd0,0xb8,0x00,0x05,0x10,0xb8,0x00,0x0b,0xd0,0xb8,0x00,0x0b, +0x2f,0x30,0x31,0x19,0x01,0x17,0x21,0x35,0x23,0x37,0x35,0x21,0x17,0x33,0x11,0x23, +0x61,0x01,0x8a,0x6b,0x68,0xfe,0x79,0x63,0x61,0x61,0x01,0x85,0xfe,0xfc,0x81,0x82, +0x8c,0xfb,0x84,0xfe,0xfc,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x0e, +0x00,0x0e,0x00,0x53,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0e,0x00,0x0b,0x00,0x21,0x2b, +0xb8,0x00,0x0e,0x10,0xb8,0x00,0x02,0xd0,0xb8,0x00,0x02,0x2f,0xb8,0x00,0x0b,0x10, +0xb8,0x00,0x07,0xd0,0x00,0xb8,0x00,0x0c,0x2f,0xba,0x00,0x06,0x00,0x03,0x00,0x21, +0x2b,0xb8,0x00,0x06,0x10,0xba,0x00,0x01,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x01, +0x10,0xb8,0x00,0x08,0xd0,0xb8,0x00,0x08,0x2f,0xb8,0x00,0x00,0x10,0xb8,0x00,0x0a, +0xd0,0xb8,0x00,0x0a,0x2f,0x30,0x31,0x01,0x35,0x23,0x35,0x33,0x35,0x23,0x07,0x15, +0x23,0x15,0x33,0x11,0x33,0x11,0x01,0xe8,0xc3,0x61,0xc2,0x63,0x61,0x61,0xbf,0x01, +0x88,0x81,0x82,0x83,0x83,0x84,0x82,0xfe,0x7b,0x01,0x88,0x00,0x00,0x02,0x00,0x00, +0xfe,0xfd,0x01,0xe8,0x02,0x07,0x00,0x03,0x00,0x0e,0x00,0x67,0xb8,0x00,0x1e,0x2b, +0xba,0x00,0x00,0x00,0x09,0x00,0x21,0x2b,0xba,0x00,0x07,0x00,0x01,0x00,0x21,0x2b, +0xb8,0x00,0x07,0x10,0xb8,0x00,0x00,0x10,0xb8,0x00,0x04,0xd0,0xb8,0x00,0x04,0x2f, +0xb8,0x00,0x01,0x10,0xb8,0x00,0x0c,0xd0,0xb8,0x00,0x0c,0x2f,0x00,0xba,0x00,0x0e, +0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x0e,0x10,0xba,0x00,0x08,0x00,0x09,0x00,0x21, +0x2b,0xb8,0x00,0x08,0x10,0xba,0x00,0x0a,0x00,0x0b,0x00,0x21,0x2b,0xb8,0x00,0x0a, +0x10,0xb8,0x00,0x09,0x10,0xb8,0x00,0x00,0xd0,0xb8,0x00,0x0a,0x10,0xb8,0x00,0x02, +0xd0,0x30,0x31,0x13,0x33,0x11,0x23,0x03,0x33,0x37,0x11,0x21,0x07,0x11,0x17,0x33, +0x15,0x23,0xc4,0x61,0x61,0x02,0xc4,0x62,0xfe,0x79,0x61,0x5e,0xc2,0x5e,0x01,0x85, +0xfe,0xfc,0xfe,0x7c,0x7f,0x02,0x8b,0x82,0xfe,0xfc,0x81,0x76,0x00,0x01,0x00,0x00, +0x00,0x00,0x01,0xe8,0x03,0x0e,0x00,0x09,0x00,0x43,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x03,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xba,0x00,0x07,0x00,0x04,0x00, +0x21,0x2b,0xb8,0x00,0x07,0x10,0xb8,0x00,0x03,0x10,0xb8,0x00,0x08,0xd0,0xb8,0x00, +0x08,0x2f,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x01,0x2f,0xb8,0x00,0x05,0x2f,0xba, +0x00,0x08,0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0x30,0x31,0x19,0x01,0x33, +0x11,0x33,0x11,0x33,0x11,0x21,0x11,0xc4,0x60,0xc4,0xfe,0xda,0x03,0x0e,0xfc,0xf2, +0x01,0x6d,0xfe,0x93,0x02,0x0e,0x01,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0xc4, +0x03,0x0e,0x00,0x03,0x00,0x08,0x00,0x37,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00, +0x04,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xb8,0x00,0x04,0x10,0xb8,0x00,0x00,0xd0, +0xb8,0x00,0x08,0x10,0xb8,0x00,0x02,0xd0,0xb8,0x00,0x02,0x2f,0x00,0xb8,0x00,0x06, +0x2f,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0x30,0x31,0x11, +0x15,0x33,0x35,0x03,0x11,0x17,0x33,0x11,0xc4,0xc4,0x61,0x61,0x03,0x0e,0x83,0x83, +0xfe,0xf9,0xfe,0x7a,0x81,0x02,0x07,0x00,0x00,0x02,0xff,0xa1,0xfe,0xff,0x00,0xc8, +0x03,0x0d,0x00,0x06,0x00,0x0a,0x00,0x3f,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x03,0x00, +0x04,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xb8,0x00,0x04,0x10,0xb8,0x00,0x07,0xd0, +0xb8,0x00,0x03,0x10,0xb8,0x00,0x09,0xd0,0xb8,0x00,0x09,0x2f,0x00,0xba,0x00,0x06, +0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0xba,0x00,0x07,0x00,0x08,0x00,0x21, +0x2b,0xb8,0x00,0x07,0x10,0x30,0x31,0x03,0x33,0x37,0x11,0x23,0x11,0x23,0x13,0x15, +0x33,0x35,0x5f,0xc6,0x61,0xc8,0x5f,0x5f,0xc4,0xfe,0xff,0x7e,0x02,0x8c,0xfd,0x82, +0x03,0x82,0x83,0x83,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x0e,0x00,0x0c, +0x00,0x37,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0c,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00, +0x0c,0x10,0xb8,0x00,0x02,0xd0,0x00,0xb8,0x00,0x00,0x2f,0xba,0x00,0x03,0x00,0x02, +0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xb8,0x00,0x02,0x10,0xb8,0x00,0x05,0xd0,0xb8, +0x00,0x03,0x10,0xb8,0x00,0x06,0xd0,0x30,0x31,0x19,0x01,0x33,0x35,0x17,0x33,0x35, +0x23,0x27,0x37,0x23,0x07,0x11,0xc4,0x61,0xc0,0x5f,0x5b,0xbd,0xc3,0x61,0x03,0x0e, +0xfc,0xf2,0x81,0x81,0x81,0x8a,0xfc,0x82,0x01,0x89,0x00,0x01,0x00,0x00,0x00,0x00, +0x01,0x25,0x03,0x0e,0x00,0x06,0x00,0x27,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x06,0x00, +0x00,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0x00,0xb8,0x00,0x00,0x2f,0xba,0x00,0x01, +0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xb8,0x00,0x04,0xd0,0x30,0x31,0x19, +0x01,0x17,0x33,0x35,0x23,0x11,0x61,0xc4,0x61,0x03,0x0e,0xfd,0x73,0x81,0x81,0x02, +0x8d,0x00,0x00,0x01,0xff,0xff,0x00,0x00,0x03,0x0e,0x02,0x09,0x00,0x0d,0x00,0x57, +0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0d,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x0d,0x10, +0xba,0x00,0x09,0x00,0x0a,0x00,0x21,0x2b,0xb8,0x00,0x09,0x10,0xba,0x00,0x05,0x00, +0x06,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0xb8,0x00,0x0f,0xdc,0x00,0xb8,0x00,0x00, +0x2f,0xb8,0x00,0x05,0x2f,0xb8,0x00,0x09,0x2f,0xba,0x00,0x02,0x00,0x01,0x00,0x21, +0x2b,0xb8,0x00,0x02,0x10,0xb8,0x00,0x01,0x10,0xb8,0x00,0x07,0xd0,0xb8,0x00,0x01, +0x10,0xb8,0x00,0x0b,0xd0,0x30,0x31,0x23,0x11,0x37,0x21,0x17,0x11,0x23,0x11,0x23, +0x11,0x23,0x11,0x23,0x11,0x01,0x62,0x02,0x4b,0x62,0xc4,0x62,0xc3,0x61,0x01,0x89, +0x80,0x80,0xfe,0x77,0x01,0x89,0xfe,0x77,0x01,0x89,0xfe,0x77,0x00,0x01,0xff,0xff, +0x00,0x00,0x01,0xe7,0x02,0x0a,0x00,0x08,0x00,0x33,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x02,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x02,0x10,0xba,0x00,0x07,0x00,0x04,0x00, +0x21,0x2b,0xb8,0x00,0x07,0x10,0x00,0xb8,0x00,0x01,0x2f,0xb8,0x00,0x05,0x2f,0xba, +0x00,0x08,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0x30,0x31,0x03,0x13,0x33, +0x11,0x33,0x11,0x33,0x11,0x27,0x01,0x01,0xc1,0x63,0xc3,0x67,0x02,0x0a,0xfd,0xf6, +0x01,0x74,0xfe,0x8c,0x01,0x88,0x82,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x01,0xe8, +0x02,0x09,0x00,0x07,0x00,0x0b,0x00,0x47,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00, +0x01,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00,0x06,0x00,0x09,0x00,0x21,0x2b, +0xb8,0x00,0x06,0x10,0x00,0xba,0x00,0x02,0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x02, +0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0xb8,0x00,0x01, +0x10,0xb8,0x00,0x08,0xd0,0xb8,0x00,0x02,0x10,0xb8,0x00,0x0a,0xd0,0x30,0x31,0x13, +0x07,0x11,0x17,0x21,0x37,0x11,0x27,0x07,0x33,0x11,0x23,0x61,0x61,0x61,0x01,0x25, +0x62,0x65,0xbf,0x61,0x61,0x02,0x09,0x84,0xfe,0xfc,0x81,0x81,0x01,0x03,0x85,0x84, +0xfe,0xfc,0x00,0x02,0x00,0x00,0xfe,0xfb,0x01,0xe8,0x02,0x07,0x00,0x07,0x00,0x0b, +0x00,0x43,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00, +0x08,0x10,0xba,0x00,0x06,0x00,0x09,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0xb8,0x00, +0x08,0x10,0xb8,0x00,0x02,0xd0,0x00,0xb8,0x00,0x01,0x2f,0xba,0x00,0x07,0x00,0x09, +0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xba,0x00,0x0b,0x00,0x03,0x00,0x21,0x2b,0xb8, +0x00,0x0b,0x10,0x30,0x31,0x19,0x01,0x33,0x11,0x33,0x37,0x11,0x27,0x07,0x33,0x11, +0x23,0xc4,0xc6,0x5e,0x65,0xbf,0x61,0x61,0x02,0x07,0xfc,0xf4,0x01,0x05,0x81,0x01, +0x12,0x74,0x82,0xfe,0xfc,0x00,0x00,0x02,0x00,0x00,0xfe,0xfb,0x01,0xe8,0x02,0x07, +0x00,0x07,0x00,0x0b,0x00,0x53,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00,0x00,0x00, +0x21,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00,0x05,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00, +0x05,0x10,0xb8,0x00,0x04,0x10,0xb8,0x00,0x09,0xd0,0x00,0xb8,0x00,0x04,0x2f,0xba, +0x00,0x07,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xba,0x00,0x01,0x00,0x02, +0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xb8,0x00,0x00,0x10,0xb8,0x00,0x08,0xd0,0xb8, +0x00,0x01,0x10,0xb8,0x00,0x0a,0xd0,0x30,0x31,0x19,0x01,0x17,0x33,0x11,0x33,0x11, +0x21,0x17,0x33,0x11,0x23,0x61,0xc4,0xc3,0xfe,0x79,0x63,0x61,0x61,0x01,0x85,0xfe, +0xfc,0x81,0xfe,0xfb,0x03,0x0c,0x82,0xfe,0xfc,0x00,0x00,0x01,0x00,0x00,0x00,0x00, +0x01,0xe8,0x02,0x07,0x00,0x06,0x00,0x23,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x04,0x00, +0x01,0x00,0x21,0x2b,0xb8,0x00,0x04,0x10,0x00,0xb8,0x00,0x02,0x2f,0xba,0x00,0x00, +0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0x30,0x31,0x13,0x07,0x11,0x33,0x11, +0x21,0x27,0x61,0x61,0xc2,0x01,0x26,0x65,0x02,0x07,0x82,0xfe,0x7b,0x01,0x84,0x83, +0x00,0x01,0x00,0x00,0x00,0x00,0x01,0xdd,0x02,0x05,0x00,0x0f,0x00,0x47,0xb8,0x00, +0x1e,0x2b,0xba,0x00,0x0e,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x0e,0x10,0xba,0x00, +0x0b,0x00,0x05,0x00,0x21,0x2b,0xb8,0x00,0x0b,0x10,0x00,0xba,0x00,0x07,0x00,0x08, +0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xba,0x00,0x01,0x00,0x0e,0x00,0x21,0x2b,0xb8, +0x00,0x01,0x10,0xba,0x00,0x03,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xb8, +0x00,0x0c,0xd0,0x30,0x31,0x01,0x21,0x07,0x15,0x17,0x33,0x15,0x23,0x15,0x21,0x37, +0x35,0x27,0x23,0x35,0x33,0x01,0x86,0xfe,0xdb,0x61,0x61,0xc4,0xc4,0x01,0x25,0x57, +0x57,0xc4,0xc4,0x02,0x05,0x67,0x67,0x6a,0x57,0x76,0x66,0x76,0x5b,0x51,0x00,0x01, +0x00,0x00,0x00,0x00,0x01,0x86,0x03,0x10,0x00,0x0e,0x00,0x4b,0xb8,0x00,0x1e,0x2b, +0xba,0x00,0x08,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xb8,0x00,0x0b,0xd0, +0xb8,0x00,0x02,0x10,0xb8,0x00,0x0d,0xd0,0x00,0xb8,0x00,0x0c,0x2f,0xba,0x00,0x07, +0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21, +0x2b,0xb8,0x00,0x00,0x10,0xb8,0x00,0x01,0x10,0xb8,0x00,0x08,0xd0,0xb8,0x00,0x00, +0x10,0xb8,0x00,0x0a,0xd0,0x30,0x31,0x11,0x15,0x33,0x11,0x17,0x33,0x35,0x23,0x11, +0x33,0x35,0x23,0x11,0x23,0x11,0x61,0x63,0xc2,0x61,0x61,0x61,0xc4,0x02,0x07,0x82, +0xfe,0xfc,0x81,0x81,0x01,0x04,0x82,0x01,0x09,0xfe,0xf7,0x00,0x00,0x01,0x00,0x00, +0x00,0x00,0x01,0xe8,0x02,0x07,0x00,0x08,0x00,0x37,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x08,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00,0x04,0x00,0x05,0x00, +0x21,0x2b,0xb8,0x00,0x04,0x10,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x04,0x2f,0xba, +0x00,0x01,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xb8,0x00,0x06,0xd0,0x30, +0x31,0x19,0x01,0x17,0x21,0x11,0x23,0x11,0x23,0x11,0x61,0x01,0x87,0xc3,0x61,0x02, +0x07,0xfe,0x7a,0x81,0x02,0x07,0xfe,0x7a,0x01,0x86,0x00,0x01,0x00,0x00,0x00,0x00, +0x01,0xe8,0x02,0x07,0x00,0x06,0x00,0x29,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x06,0x00, +0x00,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0x00,0xb8,0x00,0x01,0x2f,0xb8,0x00,0x00, +0x2f,0xb8,0x00,0x03,0x2f,0xba,0x00,0x05,0x00,0x01,0x00,0x00,0x11,0x12,0x39,0x30, +0x31,0x19,0x01,0x21,0x13,0x23,0x03,0x11,0x01,0x43,0xa5,0xc3,0x61,0x02,0x07,0xfd, +0xf9,0x02,0x07,0xfe,0x7a,0x01,0x86,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x03,0x0e, +0x02,0x09,0x00,0x0d,0x00,0x53,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0d,0x00,0x00,0x00, +0x21,0x2b,0xb8,0x00,0x0d,0x10,0xba,0x00,0x09,0x00,0x0a,0x00,0x21,0x2b,0xb8,0x00, +0x09,0x10,0xba,0x00,0x05,0x00,0x06,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0xb8,0x00, +0x0f,0xdc,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x05,0x2f,0xb8,0x00,0x09,0x2f,0xba, +0x00,0x01,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xb8,0x00,0x07,0xd0,0xb8, +0x00,0x01,0x10,0xb8,0x00,0x0b,0xd0,0x30,0x31,0x19,0x01,0x17,0x21,0x37,0x11,0x23, +0x11,0x23,0x11,0x23,0x11,0x23,0x11,0x61,0x02,0x4b,0x62,0xc4,0x62,0xc3,0x61,0x02, +0x07,0xfe,0x7a,0x81,0x81,0x01,0x88,0xfe,0x78,0x01,0x86,0xfe,0x7a,0x01,0x86,0x00, +0x00,0x01,0x00,0x00,0x00,0x00,0x01,0xeb,0x02,0x0a,0x00,0x13,0x00,0x47,0xb8,0x00, +0x1e,0x2b,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x10,0x2f,0xba,0x00,0x05,0x00,0x06, +0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0xb8,0x00,0x10,0x10,0xb8,0x00,0x0f,0xdc,0xb8, +0x00,0x01,0xd0,0xb8,0x00,0x01,0x2f,0xb8,0x00,0x06,0x10,0xb8,0x00,0x09,0xd0,0xb8, +0x00,0x05,0x10,0xb8,0x00,0x0b,0xd0,0xb8,0x00,0x10,0x10,0xb8,0x00,0x13,0xd0,0xb8, +0x00,0x13,0x2f,0x30,0x31,0x11,0x15,0x33,0x17,0x07,0x23,0x15,0x33,0x37,0x17,0x33, +0x35,0x23,0x27,0x37,0x33,0x35,0x23,0x07,0x27,0x41,0x2c,0x2c,0x41,0xb3,0x38,0x3b, +0xc5,0x45,0x3c,0x3a,0x44,0xc2,0x36,0x34,0x02,0x0a,0x8a,0x75,0x89,0x82,0xac,0xac, +0x82,0x81,0x81,0x83,0xae,0xb1,0x00,0x01,0x00,0x00,0xfe,0xfd,0x01,0xe8,0x02,0x09, +0x00,0x0d,0x00,0x4b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x03,0x00,0x04,0x00,0x21,0x2b, +0xb8,0x00,0x03,0x10,0xba,0x00,0x0d,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x0d,0x10, +0xb8,0x00,0x00,0x10,0xb8,0x00,0x07,0xd0,0xb8,0x00,0x07,0x2f,0x00,0xb8,0x00,0x00, +0x2f,0xb8,0x00,0x03,0x2f,0xba,0x00,0x09,0x00,0x0a,0x00,0x21,0x2b,0xb8,0x00,0x09, +0x10,0xba,0x00,0x02,0x00,0x07,0x00,0x21,0x2b,0xb8,0x00,0x02,0x10,0x30,0x31,0x01, +0x11,0x23,0x11,0x23,0x11,0x17,0x33,0x15,0x23,0x15,0x21,0x37,0x11,0x01,0x24,0x62, +0xc2,0x5e,0xc2,0xbf,0x01,0x25,0x62,0x02,0x09,0xfe,0x79,0x01,0x87,0xfe,0x78,0x81, +0x76,0x8d,0x7f,0x02,0x8d,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0xeb,0x02,0x07, +0x00,0x09,0x00,0x27,0xb8,0x00,0x1e,0x2b,0x00,0xba,0x00,0x03,0x00,0x04,0x00,0x21, +0x2b,0xb8,0x00,0x03,0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00, +0x10,0xb8,0x00,0x03,0x10,0xb8,0x00,0x06,0xd0,0x30,0x31,0x11,0x15,0x21,0x01,0x15, +0x21,0x35,0x23,0x37,0x35,0x01,0x25,0xfe,0xdb,0x01,0xeb,0xc6,0xc3,0x02,0x07,0x82, +0xfe,0xfd,0x82,0x82,0xb0,0xd5,0x00,0x01,0x00,0x00,0xff,0x7c,0x01,0x86,0x03,0x0e, +0x00,0x10,0x00,0x35,0xb8,0x00,0x1e,0x2b,0x00,0xba,0x00,0x0b,0x00,0x08,0x00,0x21, +0x2b,0xb8,0x00,0x0b,0x10,0xba,0x00,0x01,0x00,0x0f,0x00,0x21,0x2b,0xb8,0x00,0x01, +0x10,0xba,0x00,0x04,0x00,0x05,0x00,0x21,0x2b,0xb8,0x00,0x04,0x10,0xba,0x00,0x0d, +0x00,0x05,0x00,0x04,0x11,0x12,0x39,0x30,0x31,0x01,0x23,0x07,0x11,0x23,0x15,0x33, +0x11,0x17,0x33,0x35,0x23,0x11,0x27,0x37,0x11,0x33,0x01,0x86,0xc2,0x63,0x61,0x61, +0x63,0xc2,0x61,0x73,0x73,0x61,0x03,0x0e,0x83,0xfe,0xfa,0x82,0xfe,0xfd,0x84,0x84, +0x01,0x03,0x43,0x3f,0x01,0x06,0x00,0x01,0x00,0x00,0xfe,0xfb,0x00,0x61,0x03,0x0e, +0x00,0x03,0x00,0x1b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x03,0x00,0x00,0x00,0x21,0x2b, +0xb8,0x00,0x03,0x10,0x00,0xb8,0x00,0x01,0x2f,0xb8,0x00,0x00,0x2f,0x30,0x31,0x19, +0x01,0x33,0x11,0x61,0x03,0x0e,0xfb,0xed,0x04,0x13,0x00,0x01,0x00,0x00,0xff,0x7c, +0x01,0x86,0x03,0x0e,0x00,0x10,0x00,0x45,0xb8,0x00,0x1e,0x2b,0x00,0xba,0x00,0x07, +0x00,0x08,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xba,0x00,0x01,0x00,0x02,0x00,0x21, +0x2b,0xb8,0x00,0x01,0x10,0xba,0x00,0x04,0x00,0x05,0x00,0x21,0x2b,0xb8,0x00,0x04, +0x10,0xb8,0x00,0x07,0x10,0xb8,0x00,0x0a,0xd0,0xba,0x00,0x0d,0x00,0x05,0x00,0x04, +0x11,0x12,0x39,0xb8,0x00,0x02,0x10,0xb8,0x00,0x0f,0xd0,0x30,0x31,0x11,0x33,0x17, +0x11,0x33,0x15,0x23,0x11,0x07,0x23,0x35,0x33,0x11,0x37,0x27,0x11,0x23,0xc4,0x61, +0x61,0x61,0x61,0xc4,0x61,0x74,0x74,0x61,0x03,0x0e,0x83,0xfe,0xfa,0x82,0xfe,0xfd, +0x84,0x84,0x01,0x03,0x43,0x3f,0x01,0x06,0x00,0x01,0x00,0x02,0x01,0x04,0x01,0x8a, +0x02,0x0b,0x00,0x0b,0x00,0x2b,0xb8,0x00,0x1e,0x2b,0x00,0xb8,0x00,0x06,0x2f,0xb8, +0x00,0x09,0x2f,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x03,0x2f,0xba,0x00,0x02,0x00,0x00, +0x00,0x06,0x11,0x12,0x39,0xba,0x00,0x08,0x00,0x00,0x00,0x06,0x11,0x12,0x39,0x30, +0x31,0x13,0x33,0x37,0x15,0x33,0x37,0x35,0x23,0x07,0x35,0x23,0x07,0x02,0x62,0x61, +0x62,0x63,0x63,0x61,0x62,0x62,0x01,0x04,0x6b,0x6b,0x85,0x82,0x7f,0x7f,0x7f,0x00, +0x00,0x01,0xff,0xff,0xff,0xfe,0x01,0xe8,0x03,0x0e,0x00,0x05,0x00,0x0f,0xb8,0x00, +0x1e,0x2b,0x00,0xb8,0x00,0x02,0x2f,0xb8,0x00,0x00,0x2f,0x30,0x31,0x05,0x11,0x03, +0x23,0x03,0x11,0x01,0xe8,0xbe,0x67,0xc4,0x02,0x02,0x0d,0x01,0x03,0xfe,0xfb,0xfd, +0xf5,0x00,0x00,0x01,0x00,0x00,0xfe,0xfb,0x00,0xc4,0x01,0x03,0x00,0x07,0x00,0x37, +0xb8,0x00,0x1e,0x2b,0xba,0x00,0x07,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10, +0xba,0x00,0x02,0x00,0x00,0x00,0x07,0x11,0x12,0x39,0xb8,0x00,0x00,0x10,0xb8,0x00, +0x03,0xd0,0x00,0xb8,0x00,0x04,0x2f,0xb8,0x00,0x00,0x2f,0xba,0x00,0x02,0x00,0x04, +0x00,0x00,0x11,0x12,0x39,0x30,0x31,0x19,0x01,0x33,0x07,0x15,0x33,0x37,0x11,0x61, +0x61,0x61,0x63,0x01,0x03,0xfe,0xfd,0x84,0x81,0x81,0x01,0x87,0x00,0x01,0x00,0x01, +0xfe,0xfc,0x01,0xe8,0x02,0x0a,0x00,0x0e,0x00,0x53,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x0e,0x00,0x0b,0x00,0x21,0x2b,0xb8,0x00,0x0e,0x10,0xb8,0x00,0x02,0xd0,0xb8,0x00, +0x02,0x2f,0xb8,0x00,0x0b,0x10,0xb8,0x00,0x07,0xd0,0x00,0xb8,0x00,0x0c,0x2f,0xba, +0x00,0x05,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0xba,0x00,0x01,0x00,0x00, +0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xb8,0x00,0x08,0xd0,0xb8,0x00,0x08,0x2f,0xb8, +0x00,0x00,0x10,0xb8,0x00,0x0a,0xd0,0xb8,0x00,0x0a,0x2f,0x30,0x31,0x25,0x35,0x23, +0x35,0x33,0x35,0x23,0x07,0x15,0x23,0x15,0x33,0x11,0x33,0x11,0x01,0xe8,0xc2,0x62, +0xc4,0x62,0x61,0x61,0xbe,0x84,0x82,0x82,0x82,0x82,0x84,0x82,0xfe,0x7a,0x01,0x88, +0x00,0x02,0x00,0x00,0xfe,0xfb,0x01,0xe8,0x01,0x07,0x00,0x07,0x00,0x0f,0x00,0x67, +0xb8,0x00,0x1e,0x2b,0xba,0x00,0x07,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10, +0xba,0x00,0x0f,0x00,0x08,0x00,0x21,0x2b,0xb8,0x00,0x0f,0x10,0xba,0x00,0x02,0x00, +0x00,0x00,0x07,0x11,0x12,0x39,0xb8,0x00,0x00,0x10,0xb8,0x00,0x03,0xd0,0xba,0x00, +0x0a,0x00,0x08,0x00,0x0f,0x11,0x12,0x39,0xb8,0x00,0x08,0x10,0xb8,0x00,0x0b,0xd0, +0x00,0xb8,0x00,0x04,0x2f,0xb8,0x00,0x0c,0x2f,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x08, +0x2f,0xba,0x00,0x02,0x00,0x04,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x0a,0x00,0x04, +0x00,0x00,0x11,0x12,0x39,0x30,0x31,0x19,0x01,0x33,0x07,0x15,0x33,0x37,0x11,0x33, +0x11,0x33,0x07,0x15,0x33,0x37,0x11,0x61,0x61,0x61,0x63,0x61,0x61,0x61,0x61,0x62, +0x01,0x07,0xfe,0xf9,0x83,0x82,0x82,0x01,0x8a,0xfe,0xf9,0x83,0x82,0x82,0x01,0x8a, +0x00,0x03,0x00,0x00,0x00,0x00,0x02,0xcc,0x01,0x07,0x00,0x03,0x00,0x07,0x00,0x0b, +0x00,0x47,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x03,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00, +0x03,0x10,0xba,0x00,0x07,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xba,0x00, +0x0b,0x00,0x08,0x00,0x21,0x2b,0xb8,0x00,0x0b,0x10,0xb8,0x00,0x0d,0xdc,0x00,0xb8, +0x00,0x00,0x2f,0xb8,0x00,0x04,0x2f,0xb8,0x00,0x08,0x2f,0xb8,0x00,0x01,0x2f,0xb8, +0x00,0x05,0x2f,0xb8,0x00,0x09,0x2f,0x30,0x31,0x19,0x01,0x33,0x11,0x33,0x11,0x33, +0x11,0x33,0x11,0x33,0x11,0xc4,0x3f,0xc3,0x43,0xc3,0x01,0x07,0xfe,0xf9,0x01,0x07, +0xfe,0xf9,0x01,0x07,0xfe,0xf9,0x01,0x07,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0x86, +0x03,0x10,0x00,0x0b,0x00,0x43,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x05,0x00,0x02,0x00, +0x21,0x2b,0xb8,0x00,0x05,0x10,0xb8,0x00,0x08,0xd0,0xb8,0x00,0x02,0x10,0xb8,0x00, +0x0a,0xd0,0x00,0xb8,0x00,0x09,0x2f,0xb8,0x00,0x03,0x2f,0xba,0x00,0x00,0x00,0x01, +0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0xb8,0x00,0x01,0x10,0xb8,0x00,0x05,0xd0,0xb8, +0x00,0x00,0x10,0xb8,0x00,0x07,0xd0,0x30,0x31,0x11,0x15,0x33,0x11,0x33,0x11,0x33, +0x35,0x23,0x11,0x23,0x11,0x61,0xc4,0x61,0x61,0xc4,0x02,0x07,0x82,0xfe,0x7b,0x01, +0x85,0x82,0x01,0x09,0xfe,0xf7,0x00,0x01,0xff,0xff,0x00,0x00,0x01,0x86,0x03,0x10, +0x00,0x13,0x00,0x7b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00,0x05,0x00,0x21,0x2b, +0xb8,0x00,0x08,0x10,0xb8,0x00,0x05,0x10,0xb8,0x00,0x01,0xd0,0xb8,0x00,0x01,0x2f, +0xb8,0x00,0x08,0x10,0xb8,0x00,0x0b,0xd0,0xb8,0x00,0x08,0x10,0xb8,0x00,0x0f,0xd0, +0xb8,0x00,0x05,0x10,0xb8,0x00,0x11,0xd0,0xb8,0x00,0x11,0x2f,0x00,0xb8,0x00,0x06, +0x2f,0xb8,0x00,0x10,0x2f,0xba,0x00,0x0d,0x00,0x0e,0x00,0x21,0x2b,0xb8,0x00,0x0d, +0x10,0xba,0x00,0x05,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0xb8,0x00,0x0d, +0x10,0xb8,0x00,0x00,0xd0,0xb8,0x00,0x05,0x10,0xb8,0x00,0x08,0xd0,0xb8,0x00,0x02, +0x10,0xb8,0x00,0x0a,0xd0,0xb8,0x00,0x0e,0x10,0xb8,0x00,0x12,0xd0,0x30,0x31,0x03, +0x33,0x35,0x23,0x35,0x33,0x35,0x33,0x15,0x33,0x15,0x23,0x15,0x33,0x15,0x23,0x15, +0x23,0x35,0x23,0x01,0x61,0x61,0x62,0xc4,0x61,0x61,0x5f,0x5f,0xc5,0x61,0x01,0x5a, +0x42,0x83,0xf1,0xf1,0x83,0x42,0x82,0xd8,0xd8,0x00,0x00,0x01,0x00,0x00,0x03,0x4d, +0x01,0x25,0x04,0x54,0x00,0x08,0x00,0x1d,0xb8,0x00,0x1e,0x2b,0x00,0xb8,0x00,0x07, +0x2f,0xb8,0x00,0x01,0x2f,0xb8,0x00,0x04,0x2f,0xba,0x00,0x03,0x00,0x01,0x00,0x07, +0x11,0x12,0x39,0x30,0x31,0x11,0x15,0x33,0x37,0x17,0x33,0x35,0x27,0x23,0x61,0x31, +0x32,0x61,0x61,0x63,0x03,0xd1,0x84,0x8b,0x8b,0x84,0x83,0x00,0x00,0x07,0x00,0x00, +0x00,0x00,0x03,0x8d,0x03,0x0f,0x00,0x03,0x00,0x0b,0x00,0x0f,0x00,0x17,0x00,0x1b, +0x00,0x23,0x00,0x27,0x00,0x9b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0c,0x00,0x04,0x00, +0x21,0x2b,0xb8,0x00,0x0c,0x10,0xba,0x00,0x09,0x00,0x0d,0x00,0x21,0x2b,0xb8,0x00, +0x09,0x10,0xba,0x00,0x18,0x00,0x10,0x00,0x21,0x2b,0xb8,0x00,0x18,0x10,0xba,0x00, +0x15,0x00,0x19,0x00,0x21,0x2b,0xb8,0x00,0x15,0x10,0xba,0x00,0x24,0x00,0x1c,0x00, +0x21,0x2b,0xb8,0x00,0x24,0x10,0xba,0x00,0x21,0x00,0x25,0x00,0x21,0x2b,0xb8,0x00, +0x21,0x10,0xb8,0x00,0x29,0xdc,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x0a,0x2f,0xba, +0x00,0x1b,0x00,0x12,0x00,0x21,0x2b,0xb8,0x00,0x1b,0x10,0xba,0x00,0x17,0x00,0x18, +0x00,0x21,0x2b,0xb8,0x00,0x17,0x10,0xb8,0x00,0x12,0x10,0xb8,0x00,0x01,0xd0,0xb8, +0x00,0x12,0x10,0xb8,0x00,0x1e,0xd0,0xb8,0x00,0x17,0x10,0xb8,0x00,0x22,0xd0,0xb8, +0x00,0x18,0x10,0xb8,0x00,0x24,0xd0,0xb8,0x00,0x1b,0x10,0xb8,0x00,0x26,0xd0,0x30, +0x31,0x01,0x03,0x33,0x13,0x05,0x15,0x17,0x33,0x37,0x35,0x27,0x23,0x17,0x33,0x15, +0x23,0x05,0x15,0x17,0x33,0x37,0x35,0x27,0x23,0x17,0x33,0x15,0x23,0x37,0x15,0x17, +0x33,0x37,0x35,0x27,0x23,0x17,0x33,0x15,0x23,0x01,0x63,0xc2,0x60,0xc4,0xfe,0x3b, +0x31,0x93,0x30,0x30,0x93,0x30,0x31,0x31,0x01,0x12,0x31,0x93,0x31,0x31,0x93,0x32, +0x30,0x30,0xc3,0x30,0x93,0x31,0x31,0x93,0x31,0x31,0x31,0x03,0x0e,0xfc,0xf2,0x03, +0x0e,0x60,0xc1,0x61,0x61,0xc1,0x61,0x66,0xa4,0xe4,0xc1,0x60,0x60,0xc1,0x62,0x66, +0xa4,0xa8,0xc1,0x60,0x60,0xc1,0x62,0x66,0xa4,0x00,0x00,0x02,0x00,0x00,0x00,0x00, +0x01,0xe8,0x04,0x54,0x00,0x12,0x00,0x1b,0x00,0xb1,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x0a,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x0a,0x10,0xba,0x00,0x09,0x00,0x01,0x00, +0x21,0x2b,0xb8,0x00,0x09,0x10,0xb8,0x00,0x0a,0x10,0xb8,0x00,0x03,0xd0,0xb8,0x00, +0x03,0x2f,0xb8,0x00,0x00,0x10,0xb8,0x00,0x05,0xd0,0xb8,0x00,0x0a,0x10,0xb8,0x00, +0x0c,0xd0,0xb8,0x00,0x0c,0x2f,0xb8,0x00,0x01,0x10,0xb8,0x00,0x0d,0xd0,0xb8,0x00, +0x09,0x10,0xb8,0x00,0x0f,0xd0,0xb8,0x00,0x01,0x10,0xb8,0x00,0x15,0xd0,0xb8,0x00, +0x15,0x2f,0xb8,0x00,0x0a,0x10,0xb8,0x00,0x17,0xd0,0xb8,0x00,0x17,0x2f,0xb8,0x00, +0x0a,0x10,0xb8,0x00,0x1a,0xd0,0xb8,0x00,0x1a,0x2f,0xb8,0x00,0x01,0x10,0xb8,0x00, +0x1b,0xd0,0xb8,0x00,0x1b,0x2f,0x00,0xb8,0x00,0x14,0x2f,0xb8,0x00,0x17,0x2f,0xba, +0x00,0x03,0x00,0x07,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xba,0x00,0x11,0x00,0x12, +0x00,0x21,0x2b,0xb8,0x00,0x11,0x10,0xba,0x00,0x0b,0x00,0x12,0x00,0x11,0x11,0x12, +0x39,0xb8,0x00,0x12,0x10,0xb8,0x00,0x0c,0xd0,0x30,0x31,0x11,0x01,0x15,0x23,0x35, +0x23,0x11,0x21,0x37,0x35,0x01,0x35,0x17,0x33,0x15,0x33,0x11,0x21,0x07,0x01,0x35, +0x23,0x07,0x27,0x23,0x15,0x17,0x33,0x01,0x25,0x61,0xc4,0x01,0x86,0x62,0xfe,0xda, +0x02,0x61,0xc3,0xfe,0x79,0x61,0x01,0x8a,0x63,0x30,0x31,0x62,0x62,0x61,0x02,0x0e, +0xfe,0xf5,0x82,0x82,0xfe,0xfd,0x81,0x82,0x01,0x0b,0x85,0x08,0x82,0x01,0x05,0x83, +0x01,0x44,0x85,0x8c,0x8c,0x85,0x82,0x00,0x00,0x01,0x00,0x04,0x00,0x82,0x00,0xca, +0x02,0x09,0x00,0x08,0x00,0x19,0xb8,0x00,0x1e,0x2b,0x00,0xb8,0x00,0x00,0x2f,0xb8, +0x00,0x05,0x2f,0xba,0x00,0x03,0x00,0x05,0x00,0x00,0x11,0x12,0x39,0x30,0x31,0x13, +0x33,0x15,0x07,0x17,0x15,0x23,0x27,0x35,0x66,0x64,0x69,0x69,0x64,0x62,0x02,0x09, +0x83,0x3f,0x42,0x83,0x83,0x81,0x00,0x02,0x00,0x00,0x00,0x00,0x03,0x64,0x03,0x0e, +0x00,0x0d,0x00,0x13,0x00,0x5b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x12,0x00,0x0b,0x00, +0x21,0x2b,0xb8,0x00,0x12,0x10,0xba,0x00,0x03,0x00,0x0e,0x00,0x21,0x2b,0xb8,0x00, +0x03,0x10,0xb8,0x00,0x06,0xd0,0x00,0xba,0x00,0x08,0x00,0x09,0x00,0x21,0x2b,0xb8, +0x00,0x08,0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0xba, +0x00,0x04,0x00,0x05,0x00,0x21,0x2b,0xb8,0x00,0x04,0x10,0xb8,0x00,0x0e,0xd0,0xb8, +0x00,0x01,0x10,0xb8,0x00,0x10,0xd0,0xb8,0x00,0x08,0x10,0xb8,0x00,0x12,0xd0,0x30, +0x31,0x01,0x15,0x21,0x15,0x33,0x15,0x23,0x11,0x21,0x15,0x21,0x27,0x11,0x37,0x01, +0x23,0x35,0x23,0x11,0x33,0x03,0x64,0xfe,0xdb,0xc3,0xc3,0x01,0x25,0xfc,0xfd,0x61, +0x61,0x01,0x1a,0x56,0x61,0xb7,0x03,0x0e,0x83,0x84,0x82,0xfe,0xfc,0x81,0x81,0x02, +0x0a,0x83,0xfe,0xf9,0x84,0xfd,0xf6,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x01,0xe8, +0x04,0x54,0x00,0x0a,0x00,0x13,0x00,0x3b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00, +0x03,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xb8,0x00,0x03,0x10,0xb8,0x00,0x00,0xd0, +0x00,0xb8,0x00,0x0c,0x2f,0xb8,0x00,0x0f,0x2f,0xba,0x00,0x07,0x00,0x04,0x00,0x21, +0x2b,0xb8,0x00,0x07,0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00, +0x10,0x30,0x31,0x11,0x15,0x21,0x01,0x11,0x21,0x35,0x21,0x35,0x01,0x35,0x27,0x35, +0x23,0x07,0x27,0x23,0x15,0x17,0x33,0x01,0x25,0xfe,0xdb,0x01,0xe8,0xfe,0xdc,0x01, +0x24,0x62,0x61,0x31,0x31,0x62,0x62,0x62,0x03,0x0e,0x83,0xfe,0x78,0xfe,0xfd,0x81, +0x82,0x01,0x90,0x7b,0xc1,0x85,0x8c,0x8c,0x85,0x82,0x00,0x01,0x00,0x00,0x01,0x03, +0x00,0xc4,0x03,0x0e,0x00,0x07,0x00,0x29,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x06,0x00, +0x01,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0xb8,0x00,0x03,0xd0,0x00,0xb8,0x00,0x02, +0x2f,0xb8,0x00,0x00,0x2f,0xba,0x00,0x05,0x00,0x02,0x00,0x00,0x11,0x12,0x39,0x30, +0x31,0x13,0x07,0x11,0x33,0x11,0x23,0x37,0x35,0x61,0x61,0xc4,0x63,0x63,0x03,0x0e, +0x83,0xfe,0x78,0x01,0x04,0x84,0x83,0x00,0x00,0x01,0x00,0x00,0x01,0x03,0x00,0xc4, +0x03,0x0e,0x00,0x07,0x00,0x37,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x07,0x00,0x00,0x00, +0x21,0x2b,0xb8,0x00,0x07,0x10,0xba,0x00,0x02,0x00,0x00,0x00,0x07,0x11,0x12,0x39, +0xb8,0x00,0x00,0x10,0xb8,0x00,0x03,0xd0,0x00,0xb8,0x00,0x04,0x2f,0xb8,0x00,0x00, +0x2f,0xba,0x00,0x02,0x00,0x04,0x00,0x00,0x11,0x12,0x39,0x30,0x31,0x19,0x01,0x33, +0x07,0x15,0x33,0x37,0x11,0x61,0x61,0x61,0x63,0x03,0x0e,0xfe,0xf9,0x82,0x82,0x82, +0x01,0x89,0x00,0x02,0x00,0x00,0x01,0x03,0x01,0xe8,0x03,0x0e,0x00,0x07,0x00,0x0f, +0x00,0x53,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x06,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00, +0x06,0x10,0xba,0x00,0x0e,0x00,0x09,0x00,0x21,0x2b,0xb8,0x00,0x0e,0x10,0xb8,0x00, +0x06,0x10,0xb8,0x00,0x03,0xd0,0xb8,0x00,0x0e,0x10,0xb8,0x00,0x0b,0xd0,0x00,0xb8, +0x00,0x02,0x2f,0xb8,0x00,0x0a,0x2f,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x08,0x2f,0xba, +0x00,0x05,0x00,0x02,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x0d,0x00,0x02,0x00,0x00, +0x11,0x12,0x39,0x30,0x31,0x13,0x07,0x11,0x33,0x11,0x23,0x37,0x35,0x33,0x07,0x11, +0x33,0x11,0x23,0x37,0x35,0x61,0x61,0xc4,0x63,0x63,0xc2,0x61,0xc3,0x62,0x62,0x03, +0x0e,0x83,0xfe,0x78,0x01,0x04,0x84,0x83,0x83,0xfe,0x78,0x01,0x04,0x84,0x83,0x00, +0x00,0x02,0x00,0x00,0x01,0x03,0x01,0xe8,0x03,0x0e,0x00,0x07,0x00,0x0f,0x00,0x67, +0xb8,0x00,0x1e,0x2b,0xba,0x00,0x07,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10, +0xba,0x00,0x0f,0x00,0x08,0x00,0x21,0x2b,0xb8,0x00,0x0f,0x10,0xba,0x00,0x02,0x00, +0x00,0x00,0x07,0x11,0x12,0x39,0xb8,0x00,0x00,0x10,0xb8,0x00,0x03,0xd0,0xba,0x00, +0x0a,0x00,0x08,0x00,0x0f,0x11,0x12,0x39,0xb8,0x00,0x08,0x10,0xb8,0x00,0x0b,0xd0, +0x00,0xb8,0x00,0x04,0x2f,0xb8,0x00,0x0c,0x2f,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x08, +0x2f,0xba,0x00,0x02,0x00,0x04,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x0a,0x00,0x04, +0x00,0x00,0x11,0x12,0x39,0x30,0x31,0x19,0x01,0x33,0x07,0x15,0x33,0x37,0x11,0x33, +0x11,0x33,0x07,0x15,0x33,0x37,0x11,0x61,0x61,0x61,0x63,0x61,0x61,0x61,0x61,0x62, +0x03,0x0e,0xfe,0xf9,0x82,0x82,0x82,0x01,0x89,0xfe,0xf9,0x82,0x82,0x82,0x01,0x89, +0x00,0x01,0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x0e,0x00,0x07,0x00,0x0f,0xb8,0x00, +0x1e,0x2b,0x00,0xb8,0x00,0x06,0x2f,0xb8,0x00,0x02,0x2f,0x30,0x31,0x19,0x01,0x17, +0x21,0x37,0x11,0x27,0x21,0x61,0x01,0x25,0x62,0x62,0xfe,0xdb,0x02,0x8b,0xfd,0xf6, +0x81,0x81,0x02,0x0a,0x83,0x00,0x00,0x01,0x00,0x00,0x01,0x03,0x01,0x25,0x01,0x85, +0x00,0x03,0x00,0x0f,0xb8,0x00,0x1e,0x2b,0x00,0xba,0x00,0x00,0x00,0x01,0x00,0x21, +0x2b,0x30,0x31,0x11,0x15,0x21,0x35,0x01,0x25,0x01,0x85,0x82,0x82,0x00,0x00,0x01, +0x00,0x00,0x01,0x01,0x01,0x80,0x01,0x85,0x00,0x03,0x00,0x17,0xb8,0x00,0x1e,0x2b, +0x00,0xb8,0x00,0x03,0x2f,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00, +0x10,0x30,0x31,0x11,0x15,0x21,0x35,0x01,0x80,0x01,0x84,0x83,0x84,0x00,0x00,0x01, +0x00,0x01,0x03,0x4a,0x01,0x89,0x04,0x51,0x00,0x0b,0x00,0x2b,0xb8,0x00,0x1e,0x2b, +0x00,0xb8,0x00,0x06,0x2f,0xb8,0x00,0x09,0x2f,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x03, +0x2f,0xba,0x00,0x02,0x00,0x00,0x00,0x06,0x11,0x12,0x39,0xba,0x00,0x08,0x00,0x00, +0x00,0x06,0x11,0x12,0x39,0x30,0x31,0x13,0x33,0x37,0x15,0x33,0x37,0x35,0x23,0x07, +0x35,0x23,0x07,0x01,0x62,0x61,0x63,0x62,0x62,0x62,0x62,0x62,0x03,0x4a,0x6b,0x6b, +0x85,0x82,0x7f,0x7f,0x7f,0x00,0x00,0x02,0x00,0x03,0x01,0x89,0x02,0x36,0x03,0x10, +0x00,0x07,0x00,0x13,0x00,0x6b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x05,0x00,0x02,0x00, +0x21,0x2b,0xb8,0x00,0x05,0x10,0xba,0x00,0x0b,0x00,0x08,0x00,0x21,0x2b,0xb8,0x00, +0x0b,0x10,0xba,0x00,0x11,0x00,0x0e,0x00,0x21,0x2b,0xb8,0x00,0x11,0x10,0xb8,0x00, +0x15,0xdc,0x00,0xb8,0x00,0x03,0x2f,0xb8,0x00,0x09,0x2f,0xb8,0x00,0x0f,0x2f,0xba, +0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0xb8,0x00,0x01,0x10,0xb8, +0x00,0x05,0xd0,0xba,0x00,0x0b,0x00,0x01,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x0e, +0x00,0x01,0x00,0x00,0x11,0x12,0x39,0xb8,0x00,0x00,0x10,0xb8,0x00,0x12,0xd0,0x30, +0x31,0x13,0x15,0x33,0x11,0x33,0x11,0x33,0x35,0x17,0x11,0x33,0x11,0x17,0x33,0x37, +0x11,0x33,0x11,0x27,0x23,0x03,0x31,0x61,0x32,0x18,0x62,0x31,0x31,0x30,0x63,0x31, +0xf5,0x03,0x10,0x42,0xfe,0xbb,0x01,0x45,0x42,0x41,0xfe,0xba,0x01,0x46,0x83,0x83, +0xfe,0xba,0x01,0x46,0x41,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x01,0xdd,0x03,0x51, +0x00,0x0f,0x00,0x18,0x00,0x83,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0e,0x00,0x02,0x00, +0x21,0x2b,0xb8,0x00,0x0e,0x10,0xba,0x00,0x0b,0x00,0x05,0x00,0x21,0x2b,0xb8,0x00, +0x0b,0x10,0xb8,0x00,0x05,0x10,0xb8,0x00,0x12,0xd0,0xb8,0x00,0x12,0x2f,0xb8,0x00, +0x0e,0x10,0xb8,0x00,0x14,0xd0,0xb8,0x00,0x14,0x2f,0xb8,0x00,0x0e,0x10,0xb8,0x00, +0x17,0xd0,0xb8,0x00,0x17,0x2f,0xb8,0x00,0x05,0x10,0xb8,0x00,0x18,0xd0,0xb8,0x00, +0x18,0x2f,0x00,0xb8,0x00,0x11,0x2f,0xb8,0x00,0x14,0x2f,0xba,0x00,0x07,0x00,0x08, +0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xba,0x00,0x03,0x00,0x04,0x00,0x21,0x2b,0xb8, +0x00,0x03,0x10,0xba,0x00,0x01,0x00,0x0e,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xb8, +0x00,0x03,0x10,0xb8,0x00,0x0c,0xd0,0x30,0x31,0x01,0x21,0x07,0x15,0x17,0x33,0x15, +0x23,0x15,0x21,0x37,0x35,0x27,0x23,0x35,0x33,0x13,0x35,0x23,0x07,0x27,0x23,0x15, +0x17,0x33,0x01,0x86,0xfe,0xdb,0x61,0x61,0xc4,0xc4,0x01,0x25,0x57,0x57,0xc4,0xc4, +0x04,0x63,0x30,0x31,0x62,0x62,0x61,0x02,0x05,0x67,0x67,0x6a,0x57,0x76,0x66,0x76, +0x5b,0x51,0x01,0x44,0x85,0x8c,0x8c,0x85,0x82,0x00,0x00,0x01,0x00,0x04,0x00,0x82, +0x00,0xca,0x02,0x09,0x00,0x08,0x00,0x19,0xb8,0x00,0x1e,0x2b,0x00,0xb8,0x00,0x05, +0x2f,0xb8,0x00,0x00,0x2f,0xba,0x00,0x03,0x00,0x05,0x00,0x00,0x11,0x12,0x39,0x30, +0x31,0x13,0x23,0x15,0x17,0x07,0x15,0x33,0x37,0x35,0x67,0x63,0x69,0x69,0x63,0x63, +0x02,0x09,0x83,0x3f,0x42,0x83,0x83,0x81,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x6a, +0x02,0x06,0x00,0x08,0x00,0x0e,0x00,0x12,0x00,0x6f,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x0d,0x00,0x06,0x00,0x21,0x2b,0xb8,0x00,0x0d,0x10,0xba,0x00,0x10,0x00,0x0e,0x00, +0x21,0x2b,0xb8,0x00,0x10,0x10,0xba,0x00,0x01,0x00,0x12,0x00,0x21,0x2b,0xb8,0x00, +0x01,0x10,0xb8,0x00,0x03,0xd0,0xb8,0x00,0x03,0x2f,0xb8,0x00,0x01,0x10,0xb8,0x00, +0x14,0xdc,0x00,0xba,0x00,0x03,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xba, +0x00,0x08,0x00,0x0c,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xb8,0x00,0x03,0x10,0xb8, +0x00,0x0d,0xd0,0xb8,0x00,0x0c,0x10,0xb8,0x00,0x0f,0xd0,0xb8,0x00,0x03,0x10,0xb8, +0x00,0x10,0xd0,0xb8,0x00,0x10,0x2f,0x30,0x31,0x01,0x0f,0x01,0x33,0x15,0x21,0x27, +0x11,0x37,0x01,0x23,0x35,0x23,0x11,0x33,0x13,0x11,0x33,0x11,0x03,0x68,0x02,0x68, +0x6c,0xfc,0xf7,0x61,0x63,0x01,0x1b,0x59,0x61,0xba,0xc4,0x62,0x02,0x06,0xf8,0x8c, +0x82,0x81,0x01,0x04,0x81,0xfe,0xfd,0x82,0xfe,0xfd,0x01,0x03,0xfe,0xfc,0x01,0x04, +0x00,0x02,0x00,0x00,0x00,0x00,0x01,0xeb,0x03,0x51,0x00,0x09,0x00,0x12,0x00,0x2f, +0xb8,0x00,0x1e,0x2b,0x00,0xb8,0x00,0x0b,0x2f,0xb8,0x00,0x0e,0x2f,0xba,0x00,0x03, +0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21, +0x2b,0xb8,0x00,0x00,0x10,0xb8,0x00,0x03,0x10,0xb8,0x00,0x06,0xd0,0x30,0x31,0x11, +0x15,0x21,0x01,0x15,0x21,0x35,0x23,0x37,0x35,0x27,0x35,0x23,0x07,0x27,0x23,0x15, +0x17,0x33,0x01,0x25,0xfe,0xdb,0x01,0xeb,0xc6,0xc3,0x65,0x62,0x31,0x30,0x62,0x62, +0x61,0x02,0x07,0x82,0xfe,0xfd,0x82,0x82,0xb0,0xd5,0xc5,0x85,0x8c,0x8c,0x85,0x82, +0x00,0x03,0x00,0x00,0xfe,0xfb,0x01,0xe8,0x04,0x53,0x00,0x0d,0x00,0x11,0x00,0x15, +0x00,0x7f,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0d,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00, +0x0d,0x10,0xba,0x00,0x08,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xb8,0x00, +0x0d,0x10,0xb8,0x00,0x05,0xd0,0xb8,0x00,0x04,0x10,0xb8,0x00,0x0a,0xd0,0xba,0x00, +0x0e,0x00,0x00,0x00,0x0d,0x11,0x12,0x39,0xb8,0x00,0x0e,0x2f,0xb8,0x00,0x11,0xdc, +0xba,0x00,0x15,0x00,0x04,0x00,0x08,0x11,0x12,0x39,0xb8,0x00,0x15,0x2f,0xb8,0x00, +0x12,0xdc,0xb8,0x00,0x08,0x10,0xb8,0x00,0x17,0xdc,0x00,0xb8,0x00,0x0e,0x2f,0xb8, +0x00,0x12,0x2f,0xba,0x00,0x05,0x00,0x06,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0xba, +0x00,0x01,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xb8,0x00,0x0b,0xd0,0x30, +0x31,0x19,0x01,0x17,0x33,0x15,0x23,0x15,0x33,0x37,0x11,0x23,0x11,0x23,0x11,0x03, +0x11,0x33,0x11,0x33,0x11,0x33,0x11,0x61,0xc4,0x61,0xc2,0x62,0xc3,0x61,0xb0,0xc3, +0x40,0xc4,0x03,0x0e,0xfd,0x73,0x81,0x84,0x81,0x81,0x03,0x92,0xfd,0x73,0x02,0x8d, +0x01,0x45,0xfe,0xf9,0x01,0x07,0xfe,0xf9,0x01,0x07,0x00,0x02,0x00,0x00,0x00,0x00, +0x00,0xc4,0x03,0x0e,0x00,0x03,0x00,0x07,0x00,0x2f,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x01,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xb8,0x00,0x04,0xd0,0xb8,0x00, +0x02,0x10,0xb8,0x00,0x06,0xd0,0x00,0xb8,0x00,0x00,0x2f,0xba,0x00,0x05,0x00,0x04, +0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0x30,0x31,0x33,0x11,0x23,0x11,0x13,0x35,0x23, +0x15,0xc4,0xc4,0xc4,0xc4,0x02,0x0b,0xfd,0xf5,0x02,0x8d,0x81,0x81,0x00,0x00,0x02, +0x00,0x00,0xff,0x7c,0x01,0xe8,0x03,0x0e,0x00,0x11,0x00,0x15,0x00,0x7b,0xb8,0x00, +0x1e,0x2b,0xba,0x00,0x14,0x00,0x0e,0x00,0x21,0x2b,0xb8,0x00,0x14,0x10,0xba,0x00, +0x01,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xb8,0x00,0x05,0xd0,0xb8,0x00, +0x01,0x10,0xb8,0x00,0x09,0xd0,0xb8,0x00,0x00,0x10,0xb8,0x00,0x0b,0xd0,0xb8,0x00, +0x00,0x10,0xb8,0x00,0x12,0xd0,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x0a,0x2f,0xba, +0x00,0x07,0x00,0x08,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xba,0x00,0x03,0x00,0x04, +0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xb8,0x00,0x08,0x10,0xb8,0x00,0x0c,0xd0,0xb8, +0x00,0x03,0x10,0xb8,0x00,0x10,0xd0,0xb8,0x00,0x04,0x10,0xb8,0x00,0x12,0xd0,0xb8, +0x00,0x07,0x10,0xb8,0x00,0x14,0xd0,0x30,0x31,0x01,0x33,0x15,0x33,0x15,0x23,0x11, +0x33,0x15,0x23,0x15,0x23,0x35,0x23,0x27,0x11,0x37,0x33,0x15,0x23,0x11,0x33,0x01, +0x1c,0x61,0x6b,0x6b,0x6b,0x6b,0x61,0xbb,0x61,0x61,0xbb,0x58,0x58,0x03,0x0e,0xb5, +0x7e,0xfe,0xf9,0x82,0xd6,0xd6,0x81,0x01,0x04,0x82,0x7e,0xfe,0xf9,0x00,0x00,0x01, +0x00,0x00,0x00,0x00,0x02,0x36,0x03,0x0e,0x00,0x19,0x00,0x7b,0xb8,0x00,0x1e,0x2b, +0xba,0x00,0x07,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xb8,0x00,0x0a,0xd0, +0xb8,0x00,0x07,0x10,0xb8,0x00,0x0e,0xd0,0xb8,0x00,0x01,0x10,0xb8,0x00,0x13,0xd0, +0xb8,0x00,0x01,0x10,0xb8,0x00,0x17,0xd0,0x00,0xba,0x00,0x10,0x00,0x11,0x00,0x21, +0x2b,0xb8,0x00,0x10,0x10,0xba,0x00,0x04,0x00,0x05,0x00,0x21,0x2b,0xb8,0x00,0x04, +0x10,0xba,0x00,0x0c,0x00,0x0d,0x00,0x21,0x2b,0xb8,0x00,0x0c,0x10,0xba,0x00,0x08, +0x00,0x09,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xb8,0x00,0x00,0xd0,0xb8,0x00,0x0d, +0x10,0xb8,0x00,0x14,0xd0,0xb8,0x00,0x0c,0x10,0xb8,0x00,0x16,0xd0,0xb8,0x00,0x09, +0x10,0xb8,0x00,0x18,0xd0,0x30,0x31,0x11,0x33,0x35,0x37,0x21,0x15,0x21,0x15,0x33, +0x15,0x23,0x15,0x33,0x15,0x23,0x15,0x21,0x15,0x21,0x27,0x35,0x23,0x35,0x33,0x35, +0x23,0x4d,0x61,0x01,0x88,0xfe,0xda,0xa5,0xa5,0xa3,0xa3,0x01,0x26,0xfe,0x78,0x61, +0x4d,0x4d,0x4d,0x02,0x32,0x59,0x83,0x80,0x5c,0x82,0x52,0x82,0x5b,0x81,0x81,0x5b, +0x82,0x52,0x00,0x02,0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x0e,0x00,0x13,0x00,0x1b, +0x00,0x93,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x01,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00, +0x01,0x10,0xba,0x00,0x05,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0xba,0x00, +0x14,0x00,0x04,0x00,0x05,0x11,0x12,0x39,0xb8,0x00,0x14,0x2f,0xb8,0x00,0x07,0xdc, +0xb8,0x00,0x05,0x10,0xb8,0x00,0x09,0xd0,0xb8,0x00,0x04,0x10,0xb8,0x00,0x0b,0xd0, +0xb8,0x00,0x01,0x10,0xb8,0x00,0x0d,0xd0,0xb8,0x00,0x00,0x10,0xb8,0x00,0x0f,0xd0, +0xba,0x00,0x11,0x00,0x00,0x00,0x01,0x11,0x12,0x39,0xb8,0x00,0x11,0x2f,0xb8,0x00, +0x18,0xdc,0xb8,0x00,0x05,0x10,0xb8,0x00,0x1d,0xdc,0x00,0xb8,0x00,0x00,0x2f,0xb8, +0x00,0x04,0x2f,0xb8,0x00,0x0a,0x2f,0xb8,0x00,0x0e,0x2f,0xba,0x00,0x1a,0x00,0x0c, +0x00,0x21,0x2b,0xb8,0x00,0x1a,0x10,0xba,0x00,0x03,0x00,0x15,0x00,0x21,0x2b,0xb8, +0x00,0x03,0x10,0x30,0x31,0x11,0x33,0x15,0x33,0x35,0x33,0x11,0x07,0x15,0x17,0x11, +0x23,0x35,0x23,0x15,0x23,0x11,0x37,0x35,0x27,0x05,0x27,0x23,0x07,0x15,0x17,0x33, +0x37,0xc4,0x61,0xc3,0x3e,0x3e,0xc3,0x61,0xc4,0x3c,0x3c,0x01,0x57,0x35,0x61,0x33, +0x33,0x61,0x35,0x03,0x0e,0x7a,0x7a,0xfe,0xf9,0x53,0x4d,0x36,0xfe,0xcf,0x8c,0x8c, +0x01,0x2a,0x37,0x56,0x50,0x16,0x37,0x37,0xb9,0x3c,0x3c,0x00,0x00,0x01,0x00,0x00, +0xfe,0xfb,0x02,0x58,0x03,0x0e,0x00,0x15,0x00,0x7b,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x01,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xba,0x00,0x0d,0x00,0x03,0x00, +0x21,0x2b,0xb8,0x00,0x0d,0x10,0xb8,0x00,0x05,0xd0,0xb8,0x00,0x0d,0x10,0xb8,0x00, +0x09,0xd0,0xb8,0x00,0x01,0x10,0xb8,0x00,0x10,0xd0,0xb8,0x00,0x03,0x10,0xb8,0x00, +0x12,0xd0,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x04,0x2f,0xba,0x00,0x0e,0x00,0x0f, +0x00,0x21,0x2b,0xb8,0x00,0x0e,0x10,0xba,0x00,0x03,0x00,0x13,0x00,0x21,0x2b,0xb8, +0x00,0x03,0x10,0xba,0x00,0x07,0x00,0x08,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xba, +0x00,0x0b,0x00,0x0c,0x00,0x21,0x2b,0xb8,0x00,0x0b,0x10,0xb8,0x00,0x0e,0x10,0xb8, +0x00,0x11,0xd0,0x30,0x31,0x11,0x33,0x11,0x33,0x11,0x33,0x15,0x33,0x15,0x23,0x15, +0x33,0x15,0x23,0x11,0x07,0x23,0x35,0x33,0x35,0x23,0x27,0xc4,0x61,0xc3,0x70,0x70, +0x70,0x70,0x62,0xc2,0x61,0xc4,0x61,0x03,0x0e,0xfd,0x73,0x02,0x8d,0xc1,0x82,0x99, +0x81,0xfe,0xcb,0x81,0x81,0x84,0x81,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0xc2, +0x03,0x0e,0x00,0x03,0x00,0x1b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x03,0x00,0x00,0x00, +0x21,0x2b,0xb8,0x00,0x03,0x10,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x01,0x2f,0x30, +0x31,0x19,0x01,0x33,0x11,0xc2,0x03,0x0e,0xfc,0xf2,0x03,0x0e,0x00,0x04,0x00,0x00, +0x00,0x00,0x01,0xe8,0x03,0x0e,0x00,0x11,0x00,0x16,0x00,0x1a,0x00,0x22,0x00,0xe3, +0xb8,0x00,0x1e,0x2b,0xba,0x00,0x12,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x12,0x10, +0xba,0x00,0x04,0x00,0x22,0x00,0x21,0x2b,0xb8,0x00,0x04,0x10,0xba,0x00,0x20,0x00, +0x22,0x00,0x04,0x11,0x12,0x39,0xb8,0x00,0x20,0x2f,0xb8,0x00,0x07,0xdc,0xb8,0x00, +0x04,0x10,0xb8,0x00,0x09,0xd0,0xb8,0x00,0x00,0x10,0xb8,0x00,0x0c,0xd0,0xba,0x00, +0x0e,0x00,0x00,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x0f,0x00,0x00,0x00,0x12,0x11, +0x12,0x39,0xb8,0x00,0x0f,0x2f,0xb8,0x00,0x22,0x10,0xb8,0x00,0x13,0xd0,0xb8,0x00, +0x12,0x10,0xb8,0x00,0x17,0xd0,0xb8,0x00,0x17,0x2f,0xb8,0x00,0x22,0x10,0xb8,0x00, +0x19,0xd0,0xb8,0x00,0x0f,0x10,0xb8,0x00,0x1d,0xdc,0xb8,0x00,0x04,0x10,0xb8,0x00, +0x24,0xdc,0x00,0xba,0x00,0x0a,0x00,0x0b,0x00,0x21,0x2b,0xb8,0x00,0x0a,0x10,0xba, +0x00,0x02,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x02,0x10,0xba,0x00,0x1e,0x00,0x17, +0x00,0x21,0x2b,0xb8,0x00,0x1e,0x10,0xba,0x00,0x12,0x00,0x1b,0x00,0x21,0x2b,0xb8, +0x00,0x12,0x10,0xba,0x00,0x05,0x00,0x1b,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x0e, +0x00,0x17,0x00,0x1e,0x11,0x12,0x39,0xb8,0x00,0x01,0x10,0xb8,0x00,0x14,0xd0,0xba, +0x00,0x16,0x00,0x01,0x00,0x02,0x11,0x12,0x39,0xb8,0x00,0x0a,0x10,0xb8,0x00,0x18, +0xd0,0x30,0x31,0x11,0x35,0x37,0x21,0x11,0x23,0x17,0x15,0x07,0x17,0x15,0x07,0x21, +0x11,0x33,0x27,0x35,0x3f,0x01,0x33,0x35,0x23,0x27,0x13,0x15,0x33,0x35,0x03,0x07, +0x15,0x17,0x33,0x37,0x35,0x27,0x61,0x01,0x87,0x62,0x37,0x0b,0x36,0x62,0xfe,0x7a, +0x61,0x2e,0x0c,0x83,0x63,0x61,0x02,0x02,0x61,0x62,0x32,0x32,0x62,0x32,0x32,0x02, +0x0e,0x7d,0x83,0xfe,0xfb,0x47,0x81,0x0e,0x30,0x82,0x81,0x01,0x03,0x3d,0x82,0x12, +0x73,0x44,0x08,0xfe,0x2e,0x40,0x40,0x01,0x22,0x34,0x68,0x2a,0x31,0x65,0x30,0x00, +0x00,0x02,0x00,0x00,0x03,0x4c,0x01,0xc6,0x04,0x53,0x00,0x03,0x00,0x07,0x00,0x2f, +0xb8,0x00,0x1e,0x2b,0xba,0x00,0x03,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10, +0xba,0x00,0x07,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0x00,0xb8,0x00,0x00, +0x2f,0xb8,0x00,0x04,0x2f,0xb8,0x00,0x01,0x2f,0xb8,0x00,0x05,0x2f,0x30,0x31,0x19, +0x01,0x33,0x11,0x33,0x11,0x33,0x11,0xc4,0x3f,0xc3,0x04,0x53,0xfe,0xf9,0x01,0x07, +0xfe,0xf9,0x01,0x07,0x00,0x03,0x00,0x01,0x01,0x07,0x01,0xe9,0x03,0x10,0x00,0x07, +0x00,0x0b,0x00,0x15,0x00,0x5f,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00,0x01,0x00, +0x21,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00,0x12,0x00,0x0c,0x00,0x21,0x2b,0xb8,0x00, +0x12,0x10,0xba,0x00,0x06,0x00,0x09,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0xb8,0x00, +0x17,0xdc,0x00,0xba,0x00,0x0b,0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x0b,0x10,0xba, +0x00,0x07,0x00,0x09,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xba,0x00,0x11,0x00,0x0e, +0x00,0x21,0x2b,0xb8,0x00,0x11,0x10,0xba,0x00,0x15,0x00,0x12,0x00,0x21,0x2b,0xb8, +0x00,0x15,0x10,0x30,0x31,0x13,0x07,0x11,0x17,0x21,0x37,0x11,0x27,0x05,0x17,0x11, +0x23,0x37,0x15,0x17,0x33,0x35,0x23,0x35,0x33,0x35,0x23,0x61,0x60,0x61,0x01,0x26, +0x61,0x65,0xfe,0xee,0xf8,0xf8,0x13,0x30,0x92,0x70,0x70,0x92,0x03,0x10,0x85,0xfe, +0xfb,0x7f,0x7f,0x01,0x05,0x85,0x70,0x01,0xfe,0xcd,0xcf,0x6b,0x40,0x3f,0x6c,0x42, +0x00,0x02,0x00,0x01,0x01,0x89,0x00,0xf5,0x03,0x10,0x00,0x09,0x00,0x0d,0x00,0x3b, +0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0b,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x0b,0x10, +0xba,0x00,0x07,0x00,0x06,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xb8,0x00,0x0b,0x10, +0xb8,0x00,0x03,0xd0,0xb8,0x00,0x06,0x10,0xb8,0x00,0x0c,0xd0,0x00,0xb8,0x00,0x02, +0x2f,0xb8,0x00,0x06,0x2f,0xb8,0x00,0x00,0x2f,0x30,0x31,0x13,0x07,0x11,0x33,0x35, +0x33,0x15,0x33,0x11,0x27,0x07,0x35,0x33,0x15,0x31,0x30,0x61,0x31,0x62,0x31,0x62, +0x31,0x03,0x10,0x42,0xfe,0xbb,0x81,0x81,0x01,0x45,0x42,0xc5,0x83,0x83,0x00,0x02, +0x00,0x04,0x00,0x82,0x01,0xbe,0x02,0x09,0x00,0x08,0x00,0x11,0x00,0x2b,0xb8,0x00, +0x1e,0x2b,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x09,0x2f,0xb8,0x00,0x05,0x2f,0xb8, +0x00,0x0e,0x2f,0xba,0x00,0x03,0x00,0x05,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x0c, +0x00,0x05,0x00,0x00,0x11,0x12,0x39,0x30,0x31,0x13,0x33,0x15,0x07,0x17,0x15,0x23, +0x27,0x35,0x25,0x33,0x15,0x07,0x17,0x15,0x23,0x27,0x35,0x66,0x64,0x69,0x69,0x64, +0x62,0x01,0x56,0x64,0x68,0x68,0x64,0x61,0x02,0x09,0x83,0x3f,0x42,0x83,0x83,0x81, +0x83,0x83,0x3f,0x42,0x83,0x83,0x81,0x00,0x00,0x01,0x00,0x00,0x00,0x82,0x01,0x25, +0x01,0x85,0x00,0x05,0x00,0x27,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x04,0x00,0x03,0x00, +0x21,0x2b,0xb8,0x00,0x04,0x10,0xb8,0x00,0x07,0xdc,0x00,0xb8,0x00,0x03,0x2f,0xba, +0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0x30,0x31,0x11,0x15,0x33, +0x15,0x33,0x11,0xc2,0x63,0x01,0x85,0x82,0x81,0x01,0x03,0x00,0x00,0x01,0x00,0x00, +0x01,0x01,0x00,0xd3,0x01,0x86,0x00,0x03,0x00,0x23,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x03,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0x00,0xb8,0x00,0x00,0x2f,0xba, +0x00,0x03,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0x30,0x31,0x11,0x15,0x33, +0x35,0xd3,0x01,0x86,0x85,0x84,0x00,0x0d,0x00,0x0a,0x00,0x00,0x04,0x55,0x03,0x09, +0x00,0x3f,0x00,0x6b,0x00,0x6f,0x00,0x73,0x00,0x7c,0x00,0x8b,0x00,0x8f,0x00,0x98, +0x00,0xa6,0x00,0xbc,0x00,0xc0,0x00,0xc3,0x00,0xd1,0x02,0xe1,0xb8,0x00,0x1e,0x2b, +0xba,0x00,0x74,0x00,0x48,0x00,0x21,0x2b,0xb8,0x00,0x74,0x10,0xba,0x00,0x7a,0x00, +0x49,0x00,0x21,0x2b,0xb8,0x00,0x7a,0x10,0xba,0x00,0x7d,0x00,0x86,0x00,0x21,0x2b, +0xb8,0x00,0x7d,0x10,0xba,0x00,0x91,0x00,0x61,0x00,0x21,0x2b,0xb8,0x00,0x91,0x10, +0xba,0x00,0x97,0x00,0x94,0x00,0x21,0x2b,0xb8,0x00,0x97,0x10,0xba,0x00,0x99,0x00, +0xa0,0x00,0x21,0x2b,0xb8,0x00,0x99,0x10,0xb8,0x00,0x7d,0x10,0xb8,0x00,0x0c,0xd0, +0xb8,0x00,0x0c,0x2f,0xb8,0x00,0x91,0x10,0xb8,0x00,0x11,0xd0,0xb8,0x00,0x11,0x2f, +0xba,0x00,0x4b,0x00,0x61,0x00,0x91,0x11,0x12,0x39,0x41,0x1b,0x00,0x06,0x00,0x99, +0x00,0x16,0x00,0x99,0x00,0x26,0x00,0x99,0x00,0x36,0x00,0x99,0x00,0x46,0x00,0x99, +0x00,0x56,0x00,0x99,0x00,0x66,0x00,0x99,0x00,0x76,0x00,0x99,0x00,0x86,0x00,0x99, +0x00,0x96,0x00,0x99,0x00,0xa6,0x00,0x99,0x00,0xb6,0x00,0x99,0x00,0xc6,0x00,0x99, +0x00,0x0d,0x5d,0x41,0x05,0x00,0xd5,0x00,0x99,0x00,0xe5,0x00,0x99,0x00,0x02,0x5d, +0xba,0x00,0x4e,0x00,0xa0,0x00,0x99,0x11,0x12,0x39,0xba,0x00,0x4f,0x00,0xa0,0x00, +0x99,0x11,0x12,0x39,0xba,0x00,0x63,0x00,0x86,0x00,0x7d,0x11,0x12,0x39,0xba,0x00, +0x66,0x00,0x48,0x00,0x74,0x11,0x12,0x39,0xb8,0x00,0x48,0x10,0xb8,0x00,0x76,0xd0, +0xb8,0x00,0x76,0x2f,0xb8,0x00,0x49,0x10,0xb8,0x00,0x78,0xd0,0xb8,0x00,0x78,0x2f, +0xba,0x00,0x8c,0x00,0xa0,0x00,0x74,0x11,0x12,0x39,0xba,0x00,0x8e,0x00,0xa0,0x00, +0x74,0x11,0x12,0x39,0xb8,0x00,0x61,0x10,0xb8,0x00,0x93,0xd0,0xba,0x00,0xc2,0x00, +0x86,0x00,0x7d,0x11,0x12,0x39,0xba,0x00,0xc3,0x00,0x86,0x00,0x7d,0x11,0x12,0x39, +0xb8,0x00,0x74,0x10,0xb8,0x00,0xd3,0xdc,0x00,0xb8,0x00,0x12,0x2f,0xb8,0x00,0x2c, +0x2f,0xba,0x00,0x0c,0x00,0x64,0x00,0x21,0x2b,0xb8,0x00,0x0c,0x10,0xba,0x00,0x02, +0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x08,0x00,0x2c,0x00,0x12,0x11,0x12, +0x39,0xba,0x00,0x1d,0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x24,0x00,0x2c, +0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x3d,0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xba, +0x00,0x40,0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x41,0x00,0x2c,0x00,0x12, +0x11,0x12,0x39,0xba,0x00,0x47,0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x4b, +0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x4e,0x00,0x2c,0x00,0x12,0x11,0x12, +0x39,0xba,0x00,0x4f,0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x50,0x00,0x2c, +0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x51,0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xba, +0x00,0x52,0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x53,0x00,0x2c,0x00,0x12, +0x11,0x12,0x39,0xba,0x00,0x54,0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x55, +0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x57,0x00,0x2c,0x00,0x12,0x11,0x12, +0x39,0xba,0x00,0x59,0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xb8,0x00,0x62,0xd0,0xba, +0x00,0x66,0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x6a,0x00,0x2c,0x00,0x12, +0x11,0x12,0x39,0xba,0x00,0x6d,0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x73, +0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x76,0x00,0x2c,0x00,0x12,0x11,0x12, +0x39,0xba,0x00,0x77,0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x78,0x00,0x2c, +0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x79,0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xba, +0x00,0x7b,0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x7d,0x00,0x2c,0x00,0x12, +0x11,0x12,0x39,0xba,0x00,0x8c,0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x8e, +0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x92,0x00,0x2c,0x00,0x12,0x11,0x12, +0x39,0xba,0x00,0x93,0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x94,0x00,0x2c, +0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x97,0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xba, +0x00,0xb2,0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0xbc,0x00,0x2c,0x00,0x12, +0x11,0x12,0x39,0xba,0x00,0xbd,0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0xbf, +0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0xc2,0x00,0x2c,0x00,0x12,0x11,0x12, +0x39,0xba,0x00,0xc3,0x00,0x2c,0x00,0x12,0x11,0x12,0x39,0x30,0x31,0x01,0x34,0x27, +0x36,0x35,0x34,0x26,0x35,0x27,0x36,0x35,0x27,0x23,0x37,0x27,0x07,0x27,0x37,0x27, +0x07,0x27,0x06,0x07,0x27,0x23,0x22,0x15,0x27,0x07,0x17,0x07,0x1f,0x01,0x07,0x14, +0x33,0x17,0x07,0x15,0x17,0x07,0x17,0x37,0x15,0x17,0x37,0x17,0x3f,0x01,0x1e,0x01, +0x33,0x32,0x3f,0x01,0x17,0x36,0x35,0x34,0x26,0x35,0x27,0x33,0x37,0x0f,0x01,0x16, +0x15,0x14,0x07,0x27,0x07,0x27,0x07,0x27,0x07,0x37,0x27,0x07,0x37,0x27,0x37,0x27, +0x37,0x27,0x37,0x2f,0x01,0x17,0x37,0x16,0x33,0x32,0x3f,0x01,0x17,0x37,0x1f,0x01, +0x37,0x07,0x33,0x07,0x1f,0x01,0x23,0x07,0x17,0x2f,0x01,0x07,0x1f,0x01,0x27,0x07, +0x17,0x27,0x35,0x27,0x07,0x27,0x17,0x37,0x35,0x16,0x2f,0x01,0x26,0x23,0x22,0x06, +0x07,0x0e,0x01,0x07,0x33,0x36,0x33,0x32,0x17,0x27,0x0f,0x01,0x37,0x07,0x35,0x27, +0x07,0x27,0x17,0x37,0x35,0x16,0x27,0x26,0x2b,0x01,0x22,0x07,0x06,0x15,0x16,0x33, +0x32,0x36,0x33,0x32,0x27,0x06,0x15,0x14,0x16,0x15,0x16,0x33,0x32,0x36,0x37,0x27, +0x06,0x23,0x22,0x35,0x34,0x37,0x36,0x33,0x32,0x17,0x27,0x0f,0x01,0x37,0x25,0x23, +0x37,0x05,0x14,0x07,0x06,0x23,0x22,0x35,0x34,0x37,0x36,0x33,0x32,0x17,0x16,0x04, +0x55,0x60,0x35,0x02,0x93,0x1e,0x0e,0xae,0x06,0x33,0x91,0x06,0x06,0x1c,0x83,0x43, +0x22,0x35,0x4f,0x04,0x22,0x55,0x08,0x29,0x4d,0x07,0x50,0x2b,0x14,0x76,0x19,0xc0, +0x09,0x16,0xb7,0x16,0x89,0x2d,0x25,0x46,0x19,0x23,0x0f,0x12,0x0b,0x08,0x46,0x1a, +0x01,0x2e,0x42,0x10,0x17,0x5e,0x3b,0x03,0x5d,0x08,0x5e,0x49,0x42,0x91,0x08,0x16, +0xb7,0x17,0xcb,0x39,0xaf,0x51,0x7d,0x60,0x34,0x08,0x60,0x0f,0x2a,0x1e,0x02,0x0c, +0x50,0x3a,0x83,0x0f,0x08,0xbd,0x0f,0xc5,0x3c,0xa9,0x07,0x07,0x49,0x74,0x87,0x1d, +0x06,0x14,0x05,0x13,0x11,0x0e,0x21,0x15,0x06,0x4b,0x04,0x13,0x30,0x5d,0x02,0x06, +0x19,0x04,0x07,0x07,0x18,0x19,0x04,0x1a,0x11,0x12,0x0e,0x10,0x69,0x18,0x0e,0x20, +0x37,0x18,0x04,0x4a,0x03,0x14,0x30,0x56,0x09,0x2c,0x06,0x05,0x01,0x32,0x09,0x24, +0x05,0x09,0x08,0x25,0x72,0x5d,0x02,0x0b,0x27,0x06,0x0e,0x06,0x02,0x0a,0x0e,0x1d, +0x14,0x0e,0x15,0x04,0x0a,0x68,0x18,0x0c,0x1d,0x01,0xfd,0x27,0x19,0xfe,0xe6,0x09, +0x15,0x0e,0x16,0x02,0x0c,0x18,0x11,0x08,0x03,0x01,0x9d,0x17,0x32,0x09,0x2c,0x04, +0x07,0x02,0x31,0x0b,0x30,0x15,0x38,0x0b,0x27,0x08,0x1f,0x1d,0x59,0x3c,0x13,0x63, +0x27,0x87,0x09,0x39,0x44,0x14,0x30,0x33,0x30,0x24,0x20,0x1d,0x26,0x14,0x30,0x13, +0x27,0x3b,0x09,0x60,0x39,0x09,0x6a,0x12,0x14,0x13,0x74,0x14,0x09,0x23,0x03,0x06, +0x05,0x50,0x28,0x0b,0x09,0x58,0x1e,0x05,0x03,0x14,0x8b,0x27,0x73,0x38,0x5f,0x27, +0x27,0x2f,0x40,0x0b,0x3b,0x31,0x2e,0x5a,0x0a,0x56,0x26,0x09,0x8a,0x2d,0x04,0x74, +0x39,0x58,0x0b,0x38,0x24,0x44,0x37,0x33,0x14,0x1c,0x4d,0x2f,0x0c,0x84,0x07,0x33, +0x0c,0x13,0x14,0x24,0xa9,0x0c,0x76,0x6a,0xac,0x06,0x53,0x56,0x03,0x80,0x35,0x03, +0x02,0x2d,0x50,0x2d,0x28,0x28,0xac,0x09,0xaf,0x0e,0x12,0xac,0x07,0x76,0x6c,0xab, +0x02,0x57,0x57,0x78,0x3b,0x03,0x26,0x6c,0x20,0x02,0xb6,0x13,0x50,0x03,0x0e,0x05, +0x48,0x02,0x03,0x1f,0x07,0x23,0x28,0x1b,0x1a,0x03,0x24,0x05,0xb0,0x0c,0x53,0x38, +0x35,0x11,0x20,0x11,0x2b,0x0b,0x03,0x35,0x18,0x06,0x00,0x01,0xff,0xf1,0x03,0x22, +0x02,0x3c,0x03,0xa2,0x00,0x03,0x00,0x0f,0xb8,0x00,0x1e,0x2b,0x00,0xba,0x00,0x00, +0x00,0x01,0x00,0x21,0x2b,0x30,0x31,0x03,0x15,0x21,0x35,0x0f,0x02,0x4b,0x03,0xa2, +0x80,0x80,0x00,0x02,0x00,0x04,0x01,0x8d,0x00,0xf9,0x03,0x10,0x00,0x07,0x00,0x0b, +0x00,0x27,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00, +0x08,0x10,0xba,0x00,0x05,0x00,0x09,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0x00,0xb8, +0x00,0x06,0x2f,0xb8,0x00,0x02,0x2f,0x30,0x31,0x13,0x15,0x17,0x33,0x37,0x35,0x27, +0x23,0x17,0x33,0x15,0x23,0x04,0x31,0x93,0x31,0x31,0x93,0x31,0x31,0x31,0x02,0xaf, +0xc1,0x61,0x61,0xc1,0x61,0x66,0xa4,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x01,0x25, +0x02,0x07,0x00,0x0b,0x00,0x0f,0x00,0x4b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x05,0x00, +0x02,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0xb8,0x00,0x08,0xd0,0xb8,0x00,0x02,0x10, +0xb8,0x00,0x0a,0xd0,0x00,0xb8,0x00,0x09,0x2f,0xba,0x00,0x0c,0x00,0x0d,0x00,0x21, +0x2b,0xb8,0x00,0x0c,0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00, +0x10,0xb8,0x00,0x01,0x10,0xb8,0x00,0x05,0xd0,0xb8,0x00,0x00,0x10,0xb8,0x00,0x07, +0xd0,0x30,0x31,0x11,0x15,0x33,0x15,0x33,0x35,0x33,0x35,0x23,0x35,0x23,0x15,0x03, +0x15,0x21,0x35,0x61,0x63,0x61,0x61,0x63,0x61,0x01,0x25,0x01,0x91,0x75,0x77,0x77, +0x75,0x76,0x76,0xfe,0xe3,0x74,0x74,0x00,0x00,0x01,0x00,0x01,0x01,0x8a,0x00,0xf6, +0x03,0x0f,0x00,0x0f,0x00,0x61,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x04,0x00,0x05,0x00, +0x21,0x2b,0xb8,0x00,0x04,0x10,0xba,0x00,0x0b,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00, +0x0b,0x10,0xb8,0x00,0x04,0x10,0xb8,0x00,0x00,0xd0,0xb8,0x00,0x0b,0x10,0xb8,0x00, +0x07,0xd0,0xba,0x00,0x09,0x00,0x02,0x00,0x0b,0x11,0x12,0x39,0xb8,0x00,0x05,0x10, +0xb8,0x00,0x0e,0xd0,0x00,0xba,0x00,0x05,0x00,0x06,0x00,0x21,0x2b,0xb8,0x00,0x05, +0x10,0xba,0x00,0x0d,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x0d,0x10,0xb8,0x00,0x05, +0x10,0xb8,0x00,0x08,0xd0,0x30,0x31,0x13,0x35,0x33,0x15,0x07,0x23,0x15,0x33,0x35, +0x23,0x37,0x35,0x27,0x23,0x07,0x15,0x63,0x31,0x31,0x62,0xf5,0x31,0x31,0x31,0x93, +0x31,0x02,0x4c,0x61,0x61,0x61,0x61,0x61,0x61,0x61,0x62,0x62,0x61,0x00,0x00,0x01, +0xff,0xff,0x01,0x89,0x00,0xf4,0x03,0x10,0x00,0x15,0x00,0x69,0xb8,0x00,0x1e,0x2b, +0xba,0x00,0x08,0x00,0x09,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00,0x11,0x00, +0x02,0x00,0x21,0x2b,0xb8,0x00,0x11,0x10,0xb8,0x00,0x08,0x10,0xb8,0x00,0x00,0xd0, +0xb8,0x00,0x08,0x10,0xb8,0x00,0x04,0xd0,0xb8,0x00,0x02,0x10,0xb8,0x00,0x05,0xd0, +0xb8,0x00,0x11,0x10,0xb8,0x00,0x0d,0xd0,0xba,0x00,0x0f,0x00,0x02,0x00,0x11,0x11, +0x12,0x39,0xb8,0x00,0x09,0x10,0xb8,0x00,0x14,0xd0,0x00,0xba,0x00,0x08,0x00,0x0b, +0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00,0x13,0x00,0x00,0x00,0x21,0x2b,0xb8, +0x00,0x13,0x10,0x30,0x31,0x13,0x35,0x33,0x15,0x07,0x33,0x15,0x23,0x35,0x23,0x15, +0x17,0x33,0x37,0x35,0x23,0x37,0x35,0x27,0x23,0x07,0x15,0x61,0x30,0x30,0x30,0x30, +0x62,0x32,0x90,0x33,0x31,0x31,0x31,0x93,0x31,0x02,0x8d,0x41,0x41,0x41,0x82,0x43, +0x43,0x41,0x41,0x82,0x41,0x41,0x42,0x42,0x41,0x00,0x00,0x01,0xff,0xff,0x02,0x07, +0x01,0x25,0x03,0x0e,0x00,0x05,0x00,0x0f,0xb8,0x00,0x1e,0x2b,0x00,0xb8,0x00,0x00, +0x2f,0xb8,0x00,0x02,0x2f,0x30,0x31,0x01,0x15,0x07,0x23,0x35,0x37,0x01,0x25,0x62, +0xc4,0x62,0x03,0x0e,0x83,0x84,0x84,0x83,0x00,0x01,0x00,0x01,0xfe,0xfd,0x01,0xe8, +0x02,0x09,0x00,0x0b,0x00,0x43,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x01,0x00,0x0a,0x00, +0x21,0x2b,0xb8,0x00,0x01,0x10,0xba,0x00,0x05,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00, +0x05,0x10,0xb8,0x00,0x01,0x10,0xb8,0x00,0x07,0xd0,0xb8,0x00,0x07,0x2f,0x00,0xb8, +0x00,0x00,0x2f,0xb8,0x00,0x03,0x2f,0xb8,0x00,0x08,0x2f,0xba,0x00,0x02,0x00,0x07, +0x00,0x21,0x2b,0xb8,0x00,0x02,0x10,0x30,0x31,0x13,0x11,0x33,0x11,0x33,0x11,0x07, +0x23,0x11,0x23,0x27,0x11,0xc6,0x61,0xc1,0x5d,0xc3,0x67,0x60,0x02,0x09,0xfe,0x79, +0x01,0x87,0xfe,0x78,0x81,0xfe,0xfd,0x7f,0x02,0x8d,0x00,0x01,0x00,0x00,0x00,0x00, +0x01,0xe8,0x03,0x0e,0x00,0x0b,0x00,0x45,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x05,0x00, +0x06,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0xba,0x00,0x01,0x00,0x02,0x00,0x21,0x2b, +0xb8,0x00,0x01,0x10,0xba,0x00,0x08,0x00,0x06,0x00,0x05,0x11,0x12,0x39,0xb8,0x00, +0x06,0x10,0xb8,0x00,0x09,0xd0,0x00,0xb8,0x00,0x01,0x2f,0xb8,0x00,0x05,0x2f,0xba, +0x00,0x00,0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0x30,0x31,0x01,0x11,0x23, +0x11,0x23,0x11,0x23,0x11,0x33,0x27,0x11,0x37,0x01,0xe8,0xc3,0x61,0xc4,0x61,0x61, +0x61,0x03,0x0e,0xfc,0xf2,0x02,0x8b,0xfd,0x75,0x01,0x03,0x82,0x01,0x06,0x83,0x00, +0x00,0x01,0x00,0x00,0x00,0xff,0x00,0xc4,0x02,0x06,0x00,0x03,0x00,0x1b,0xb8,0x00, +0x1e,0x2b,0xba,0x00,0x03,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0x00,0xb8, +0x00,0x00,0x2f,0xb8,0x00,0x01,0x2f,0x30,0x31,0x19,0x01,0x33,0x11,0xc4,0x02,0x06, +0xfe,0xf9,0x01,0x07,0x00,0x01,0xff,0xce,0xfe,0xaf,0x00,0xc2,0x00,0x14,0x00,0x06, +0x00,0x17,0xb8,0x00,0x1e,0x2b,0x00,0xb8,0x00,0x03,0x2f,0xba,0x00,0x06,0x00,0x00, +0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0x30,0x31,0x03,0x33,0x35,0x27,0x23,0x17,0x23, +0x32,0xf4,0x36,0x86,0x4c,0x84,0xfe,0xaf,0xf3,0x72,0xb5,0x00,0x00,0x01,0x00,0x04, +0x01,0x89,0x00,0xc7,0x03,0x10,0x00,0x0a,0x00,0x3b,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x09,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x09,0x10,0xb8,0x00,0x03,0xdc,0xb8,0x00, +0x00,0x10,0xb8,0x00,0x04,0xd0,0xb8,0x00,0x00,0x10,0xb8,0x00,0x07,0xdc,0x00,0xb8, +0x00,0x09,0x2f,0xba,0x00,0x04,0x00,0x05,0x00,0x21,0x2b,0xb8,0x00,0x04,0x10,0xb8, +0x00,0x07,0xd0,0x30,0x31,0x13,0x15,0x33,0x15,0x23,0x15,0x33,0x35,0x23,0x11,0x23, +0x04,0x30,0x30,0xc3,0x31,0x62,0x02,0xae,0x62,0x61,0x62,0x62,0x01,0x25,0x00,0x02, +0x00,0x04,0x01,0x8d,0x00,0xf9,0x03,0x10,0x00,0x07,0x00,0x0b,0x00,0x27,0xb8,0x00, +0x1e,0x2b,0xba,0x00,0x08,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00, +0x05,0x00,0x09,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0x00,0xb8,0x00,0x06,0x2f,0xb8, +0x00,0x02,0x2f,0x30,0x31,0x13,0x15,0x17,0x33,0x37,0x35,0x27,0x23,0x17,0x33,0x15, +0x23,0x04,0x31,0x93,0x31,0x31,0x93,0x31,0x31,0x31,0x02,0xaf,0xc1,0x61,0x61,0xc1, +0x61,0x66,0xa4,0x00,0x00,0x02,0x00,0x04,0x00,0x82,0x01,0xbe,0x02,0x09,0x00,0x08, +0x00,0x11,0x00,0x2b,0xb8,0x00,0x1e,0x2b,0x00,0xb8,0x00,0x05,0x2f,0xb8,0x00,0x0e, +0x2f,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x09,0x2f,0xba,0x00,0x03,0x00,0x05,0x00,0x00, +0x11,0x12,0x39,0xba,0x00,0x0c,0x00,0x05,0x00,0x00,0x11,0x12,0x39,0x30,0x31,0x01, +0x23,0x15,0x17,0x07,0x15,0x33,0x37,0x35,0x25,0x23,0x15,0x17,0x07,0x15,0x33,0x37, +0x35,0x01,0x5c,0x63,0x67,0x67,0x63,0x62,0xfe,0xa9,0x63,0x69,0x69,0x63,0x63,0x02, +0x09,0x83,0x3f,0x42,0x83,0x83,0x81,0x83,0x83,0x3f,0x42,0x83,0x83,0x81,0x00,0x03, +0x00,0x00,0x00,0x00,0x02,0x5d,0x03,0x0f,0x00,0x03,0x00,0x0e,0x00,0x1c,0x00,0xa3, +0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0d,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x0d,0x10, +0xba,0x00,0x0f,0x00,0x10,0x00,0x21,0x2b,0xb8,0x00,0x0f,0x10,0xba,0x00,0x15,0x00, +0x12,0x00,0x21,0x2b,0xb8,0x00,0x15,0x10,0xb8,0x00,0x0d,0x10,0xb8,0x00,0x07,0xdc, +0xb8,0x00,0x04,0x10,0xb8,0x00,0x08,0xd0,0xb8,0x00,0x04,0x10,0xb8,0x00,0x0b,0xdc, +0xb8,0x00,0x15,0x10,0xb8,0x00,0x18,0xd0,0xb8,0x00,0x12,0x10,0xb8,0x00,0x1a,0xd0, +0xb8,0x00,0x15,0x10,0xb8,0x00,0x1e,0xdc,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x0d, +0x2f,0xb8,0x00,0x01,0x2f,0xb8,0x00,0x13,0x2f,0xba,0x00,0x1c,0x00,0x11,0x00,0x21, +0x2b,0xb8,0x00,0x1c,0x10,0xba,0x00,0x08,0x00,0x09,0x00,0x21,0x2b,0xb8,0x00,0x08, +0x10,0xb8,0x00,0x0b,0xd0,0xb8,0x00,0x11,0x10,0xb8,0x00,0x15,0xd0,0xb8,0x00,0x1c, +0x10,0xb8,0x00,0x17,0xd0,0xb8,0x00,0x09,0x10,0xb8,0x00,0x19,0xd0,0xb8,0x00,0x19, +0x2f,0x30,0x31,0x01,0x03,0x33,0x13,0x05,0x15,0x33,0x15,0x23,0x15,0x33,0x35,0x23, +0x11,0x23,0x01,0x23,0x15,0x33,0x15,0x33,0x35,0x33,0x35,0x23,0x11,0x23,0x11,0x23, +0x01,0x4d,0xc4,0x62,0xc4,0xfe,0x51,0x31,0x31,0xc4,0x32,0x61,0x01,0x69,0x30,0x61, +0x61,0x31,0x31,0x61,0x31,0x03,0x0e,0xfc,0xf2,0x03,0x0e,0x61,0x62,0x62,0x61,0x61, +0x01,0x26,0xfd,0xf5,0xc4,0x40,0x40,0x42,0x01,0x04,0xfe,0xfc,0x00,0x03,0x00,0x00, +0x00,0x00,0x02,0x5b,0x03,0x0f,0x00,0x03,0x00,0x0e,0x00,0x1e,0x00,0xb1,0xb8,0x00, +0x1e,0x2b,0xba,0x00,0x0d,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x0d,0x10,0xba,0x00, +0x13,0x00,0x14,0x00,0x21,0x2b,0xb8,0x00,0x13,0x10,0xba,0x00,0x1a,0x00,0x11,0x00, +0x21,0x2b,0xb8,0x00,0x1a,0x10,0xb8,0x00,0x0d,0x10,0xb8,0x00,0x07,0xdc,0xb8,0x00, +0x04,0x10,0xb8,0x00,0x08,0xd0,0xb8,0x00,0x04,0x10,0xb8,0x00,0x0b,0xdc,0xb8,0x00, +0x13,0x10,0xb8,0x00,0x0f,0xd0,0xb8,0x00,0x1a,0x10,0xb8,0x00,0x16,0xd0,0xba,0x00, +0x18,0x00,0x11,0x00,0x1a,0x11,0x12,0x39,0xb8,0x00,0x14,0x10,0xb8,0x00,0x1d,0xd0, +0xb8,0x00,0x1a,0x10,0xb8,0x00,0x20,0xdc,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x0d, +0x2f,0xba,0x00,0x14,0x00,0x15,0x00,0x21,0x2b,0xb8,0x00,0x14,0x10,0xba,0x00,0x1c, +0x00,0x0f,0x00,0x21,0x2b,0xb8,0x00,0x1c,0x10,0xb8,0x00,0x15,0x10,0xb8,0x00,0x01, +0xd0,0xb8,0x00,0x1c,0x10,0xb8,0x00,0x09,0xd0,0xb8,0x00,0x09,0x2f,0xb8,0x00,0x08, +0xdc,0xb8,0x00,0x0b,0xd0,0xb8,0x00,0x14,0x10,0xb8,0x00,0x17,0xd0,0x30,0x31,0x01, +0x03,0x33,0x13,0x05,0x15,0x33,0x15,0x23,0x15,0x33,0x35,0x23,0x11,0x23,0x01,0x35, +0x33,0x15,0x07,0x23,0x15,0x33,0x35,0x23,0x37,0x35,0x27,0x23,0x07,0x15,0x01,0x4d, +0xc4,0x62,0xc4,0xfe,0x51,0x31,0x31,0xc4,0x32,0x61,0x01,0x97,0x31,0x31,0x61,0xf4, +0x31,0x31,0x31,0x92,0x31,0x03,0x0e,0xfc,0xf2,0x03,0x0e,0x61,0x62,0x62,0x61,0x61, +0x01,0x26,0xfd,0xb3,0x60,0x60,0x62,0x60,0x60,0x62,0x60,0x63,0x63,0x60,0x00,0x03, +0x00,0x00,0x00,0x00,0x02,0x87,0x03,0x10,0x00,0x03,0x00,0x11,0x00,0x27,0x00,0xd3, +0xb8,0x00,0x1e,0x2b,0xba,0x00,0x1a,0x00,0x1b,0x00,0x21,0x2b,0xb8,0x00,0x1a,0x10, +0xba,0x00,0x23,0x00,0x14,0x00,0x21,0x2b,0xb8,0x00,0x23,0x10,0xba,0x00,0x04,0x00, +0x05,0x00,0x21,0x2b,0xb8,0x00,0x04,0x10,0xba,0x00,0x0a,0x00,0x07,0x00,0x21,0x2b, +0xb8,0x00,0x0a,0x10,0xb8,0x00,0x0d,0xd0,0xb8,0x00,0x07,0x10,0xb8,0x00,0x0f,0xd0, +0xb8,0x00,0x1a,0x10,0xb8,0x00,0x12,0xd0,0xba,0x00,0x16,0x00,0x1b,0x00,0x0a,0x11, +0x12,0x39,0xb8,0x00,0x14,0x10,0xb8,0x00,0x17,0xd0,0xb8,0x00,0x23,0x10,0xb8,0x00, +0x1f,0xd0,0xba,0x00,0x21,0x00,0x14,0x00,0x23,0x11,0x12,0x39,0xb8,0x00,0x1b,0x10, +0xb8,0x00,0x26,0xd0,0xb8,0x00,0x0a,0x10,0xb8,0x00,0x29,0xdc,0x00,0xb8,0x00,0x01, +0x2f,0xb8,0x00,0x08,0x2f,0xba,0x00,0x11,0x00,0x06,0x00,0x21,0x2b,0xb8,0x00,0x11, +0x10,0xba,0x00,0x25,0x00,0x12,0x00,0x21,0x2b,0xb8,0x00,0x25,0x10,0xba,0x00,0x1a, +0x00,0x1d,0x00,0x21,0x2b,0xb8,0x00,0x1a,0x10,0xb8,0x00,0x25,0x10,0xb8,0x00,0x00, +0xd0,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x06,0x10,0xb8,0x00,0x0a,0xd0,0xb8,0x00,0x11, +0x10,0xb8,0x00,0x0c,0xd0,0xb8,0x00,0x1d,0x10,0xb8,0x00,0x0e,0xd0,0xb8,0x00,0x0e, +0x2f,0x30,0x31,0x01,0x03,0x33,0x13,0x03,0x23,0x15,0x33,0x15,0x33,0x35,0x33,0x35, +0x23,0x11,0x23,0x11,0x23,0x01,0x35,0x33,0x15,0x07,0x33,0x15,0x23,0x35,0x23,0x15, +0x17,0x33,0x37,0x35,0x23,0x37,0x35,0x27,0x23,0x07,0x15,0x01,0x77,0xc3,0x62,0xc3, +0x16,0x30,0x62,0x62,0x30,0x30,0x62,0x32,0xfe,0x9e,0x31,0x31,0x31,0x31,0x61,0x32, +0x90,0x32,0x30,0x30,0x30,0x93,0x31,0x03,0x0e,0xfc,0xf2,0x03,0x0e,0xfd,0xf6,0xc4, +0x40,0x40,0x42,0x01,0x04,0xfe,0xfc,0x02,0x0b,0x41,0x41,0x41,0x82,0x43,0x43,0x41, +0x41,0x82,0x41,0x41,0x42,0x42,0x41,0x00,0x00,0x02,0xff,0xff,0x00,0x00,0x01,0xe8, +0x03,0x0e,0x00,0x0a,0x00,0x0e,0x00,0x5b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x03,0x00, +0x08,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xba,0x00,0x05,0x00,0x03,0x00,0x21,0x2b, +0xb8,0x00,0x05,0x10,0xb8,0x00,0x03,0x10,0xb8,0x00,0x07,0xd0,0xb8,0x00,0x05,0x10, +0xb8,0x00,0x0b,0xd0,0xb8,0x00,0x03,0x10,0xb8,0x00,0x0d,0xd0,0x00,0xba,0x00,0x01, +0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xba,0x00,0x0c,0x00,0x0b,0x00,0x21, +0x2b,0xb8,0x00,0x0c,0x10,0xba,0x00,0x06,0x00,0x05,0x00,0x21,0x2b,0xb8,0x00,0x06, +0x10,0x30,0x31,0x21,0x35,0x21,0x35,0x37,0x33,0x35,0x23,0x03,0x15,0x17,0x01,0x35, +0x23,0x15,0x01,0xe8,0xfe,0xdb,0x62,0x61,0xc3,0xc4,0x62,0x01,0x25,0xc3,0x82,0x85, +0x82,0x82,0xfe,0xfc,0x85,0x82,0x02,0x8d,0x81,0x81,0x00,0x03,0x00,0x00,0x00,0x00, +0x01,0xe8,0x04,0x51,0x00,0x09,0x00,0x0d,0x00,0x13,0x00,0x5b,0xb8,0x00,0x1e,0x2b, +0xba,0x00,0x0b,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x0b,0x10,0xba,0x00,0x07,0x00, +0x06,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xb8,0x00,0x0b,0x10,0xb8,0x00,0x03,0xd0, +0xb8,0x00,0x06,0x10,0xb8,0x00,0x0c,0xd0,0x00,0xb8,0x00,0x0f,0x2f,0xb8,0x00,0x02, +0x2f,0xb8,0x00,0x06,0x2f,0xba,0x00,0x0a,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x0a, +0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0xb8,0x00,0x01, +0x10,0xb8,0x00,0x0b,0xd0,0x30,0x31,0x13,0x07,0x11,0x33,0x11,0x33,0x11,0x33,0x11, +0x27,0x03,0x11,0x33,0x11,0x13,0x27,0x23,0x15,0x17,0x33,0x61,0x61,0xc4,0x61,0xc3, +0x62,0xc2,0x61,0x32,0x63,0x62,0x62,0x63,0x03,0x0e,0x83,0xfd,0x75,0x01,0x03,0xfe, +0xfd,0x02,0x8b,0x83,0xfe,0x77,0x01,0x06,0xfe,0xfa,0x02,0x4d,0x7f,0x82,0x85,0x00, +0x00,0x03,0x00,0x00,0x00,0x00,0x01,0xe8,0x04,0x51,0x00,0x09,0x00,0x0d,0x00,0x13, +0x00,0x5b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0b,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00, +0x0b,0x10,0xba,0x00,0x07,0x00,0x06,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xb8,0x00, +0x0b,0x10,0xb8,0x00,0x03,0xd0,0xb8,0x00,0x06,0x10,0xb8,0x00,0x0c,0xd0,0x00,0xb8, +0x00,0x12,0x2f,0xb8,0x00,0x02,0x2f,0xb8,0x00,0x06,0x2f,0xba,0x00,0x0a,0x00,0x04, +0x00,0x21,0x2b,0xb8,0x00,0x0a,0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8, +0x00,0x00,0x10,0xb8,0x00,0x01,0x10,0xb8,0x00,0x0b,0xd0,0x30,0x31,0x13,0x07,0x11, +0x33,0x11,0x33,0x11,0x33,0x11,0x27,0x03,0x11,0x33,0x11,0x03,0x07,0x33,0x37,0x35, +0x23,0x61,0x61,0xc4,0x61,0xc3,0x62,0xc2,0x61,0x85,0x03,0x63,0x62,0x62,0x03,0x0e, +0x83,0xfd,0x75,0x01,0x03,0xfe,0xfd,0x02,0x8b,0x83,0xfe,0x77,0x01,0x06,0xfe,0xfa, +0x02,0x47,0x82,0x85,0x82,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x01,0xe8,0x04,0x54, +0x00,0x09,0x00,0x0d,0x00,0x16,0x00,0x9f,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0b,0x00, +0x01,0x00,0x21,0x2b,0xb8,0x00,0x0b,0x10,0xba,0x00,0x07,0x00,0x06,0x00,0x21,0x2b, +0xb8,0x00,0x07,0x10,0xb8,0x00,0x0b,0x10,0xb8,0x00,0x03,0xd0,0xb8,0x00,0x06,0x10, +0xb8,0x00,0x0c,0xd0,0xb8,0x00,0x0b,0x10,0xb8,0x00,0x10,0xd0,0xb8,0x00,0x10,0x2f, +0xba,0x00,0x11,0x00,0x01,0x00,0x07,0x11,0x12,0x39,0xb8,0x00,0x06,0x10,0xb8,0x00, +0x12,0xd0,0xb8,0x00,0x12,0x2f,0xb8,0x00,0x06,0x10,0xb8,0x00,0x15,0xd0,0xb8,0x00, +0x15,0x2f,0xb8,0x00,0x0b,0x10,0xb8,0x00,0x16,0xd0,0xb8,0x00,0x16,0x2f,0x00,0xb8, +0x00,0x15,0x2f,0xb8,0x00,0x02,0x2f,0xb8,0x00,0x06,0x2f,0xba,0x00,0x0a,0x00,0x04, +0x00,0x21,0x2b,0xb8,0x00,0x0a,0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8, +0x00,0x00,0x10,0xb8,0x00,0x01,0x10,0xb8,0x00,0x0b,0xd0,0xba,0x00,0x11,0x00,0x02, +0x00,0x15,0x11,0x12,0x39,0x30,0x31,0x13,0x07,0x11,0x33,0x11,0x33,0x11,0x33,0x11, +0x27,0x03,0x11,0x33,0x11,0x03,0x15,0x33,0x37,0x17,0x33,0x35,0x27,0x23,0x61,0x61, +0xc4,0x61,0xc3,0x62,0xc2,0x61,0xc1,0x62,0x31,0x30,0x63,0x63,0x61,0x03,0x0e,0x83, +0xfd,0x75,0x01,0x03,0xfe,0xfd,0x02,0x8b,0x83,0xfe,0x77,0x01,0x06,0xfe,0xfa,0x02, +0x4c,0x84,0x8b,0x8b,0x84,0x83,0x00,0x03,0x00,0x00,0x00,0x00,0x01,0xe8,0x04,0x51, +0x00,0x09,0x00,0x0d,0x00,0x19,0x00,0x87,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0b,0x00, +0x01,0x00,0x21,0x2b,0xb8,0x00,0x0b,0x10,0xba,0x00,0x07,0x00,0x06,0x00,0x21,0x2b, +0xb8,0x00,0x07,0x10,0xb8,0x00,0x0b,0x10,0xb8,0x00,0x03,0xd0,0xb8,0x00,0x06,0x10, +0xb8,0x00,0x0c,0xd0,0xba,0x00,0x10,0x00,0x01,0x00,0x07,0x11,0x12,0x39,0xba,0x00, +0x16,0x00,0x01,0x00,0x07,0x11,0x12,0x39,0x00,0xb8,0x00,0x14,0x2f,0xb8,0x00,0x17, +0x2f,0xb8,0x00,0x02,0x2f,0xb8,0x00,0x06,0x2f,0xba,0x00,0x0a,0x00,0x04,0x00,0x21, +0x2b,0xb8,0x00,0x0a,0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00, +0x10,0xb8,0x00,0x01,0x10,0xb8,0x00,0x0b,0xd0,0xba,0x00,0x10,0x00,0x02,0x00,0x14, +0x11,0x12,0x39,0xba,0x00,0x16,0x00,0x02,0x00,0x14,0x11,0x12,0x39,0x30,0x31,0x13, +0x07,0x11,0x33,0x11,0x33,0x11,0x33,0x11,0x27,0x03,0x11,0x33,0x11,0x03,0x33,0x37, +0x15,0x33,0x37,0x35,0x23,0x07,0x35,0x23,0x07,0x61,0x61,0xc4,0x61,0xc3,0x62,0xc2, +0x61,0xee,0x61,0x62,0x62,0x62,0x62,0x62,0x62,0x61,0x03,0x0e,0x83,0xfd,0x75,0x01, +0x03,0xfe,0xfd,0x02,0x8b,0x83,0xfe,0x77,0x01,0x06,0xfe,0xfa,0x01,0xc5,0x6b,0x6b, +0x85,0x82,0x7f,0x7f,0x7f,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x01,0xe8,0x04,0x53, +0x00,0x09,0x00,0x0d,0x00,0x11,0x00,0x15,0x00,0x8b,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x0b,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x0b,0x10,0xba,0x00,0x15,0x00,0x12,0x00, +0x21,0x2b,0xb8,0x00,0x15,0x10,0xb8,0x00,0x0b,0x10,0xb8,0x00,0x03,0xd0,0xba,0x00, +0x06,0x00,0x12,0x00,0x15,0x11,0x12,0x39,0xb8,0x00,0x06,0x2f,0xb8,0x00,0x07,0xdc, +0xb8,0x00,0x06,0x10,0xb8,0x00,0x0c,0xd0,0xba,0x00,0x0e,0x00,0x01,0x00,0x0b,0x11, +0x12,0x39,0xb8,0x00,0x0e,0x2f,0xb8,0x00,0x11,0xdc,0xb8,0x00,0x07,0x10,0xb8,0x00, +0x17,0xdc,0x00,0xb8,0x00,0x0e,0x2f,0xb8,0x00,0x12,0x2f,0xb8,0x00,0x02,0x2f,0xb8, +0x00,0x06,0x2f,0xba,0x00,0x0a,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x0a,0x10,0xba, +0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0xb8,0x00,0x01,0x10,0xb8, +0x00,0x0b,0xd0,0x30,0x31,0x13,0x07,0x11,0x33,0x11,0x33,0x11,0x33,0x11,0x27,0x03, +0x11,0x33,0x11,0x01,0x11,0x33,0x11,0x33,0x11,0x33,0x11,0x61,0x61,0xc4,0x61,0xc3, +0x62,0xc2,0x61,0xfe,0xef,0xc3,0x40,0xc4,0x03,0x0e,0x83,0xfd,0x75,0x01,0x03,0xfe, +0xfd,0x02,0x8b,0x83,0xfe,0x77,0x01,0x06,0xfe,0xfa,0x02,0xce,0xfe,0xf9,0x01,0x07, +0xfe,0xf9,0x01,0x07,0x00,0x03,0x00,0x00,0x00,0x00,0x01,0xe8,0x04,0x53,0x00,0x09, +0x00,0x0d,0x00,0x11,0x00,0x75,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0b,0x00,0x01,0x00, +0x21,0x2b,0xb8,0x00,0x0b,0x10,0xba,0x00,0x07,0x00,0x06,0x00,0x21,0x2b,0xb8,0x00, +0x07,0x10,0xb8,0x00,0x0b,0x10,0xb8,0x00,0x03,0xd0,0xb8,0x00,0x06,0x10,0xb8,0x00, +0x0c,0xd0,0xba,0x00,0x0e,0x00,0x01,0x00,0x0b,0x11,0x12,0x39,0xb8,0x00,0x0e,0x2f, +0xb8,0x00,0x11,0xdc,0xb8,0x00,0x07,0x10,0xb8,0x00,0x13,0xdc,0x00,0xb8,0x00,0x0e, +0x2f,0xb8,0x00,0x02,0x2f,0xb8,0x00,0x06,0x2f,0xba,0x00,0x0a,0x00,0x04,0x00,0x21, +0x2b,0xb8,0x00,0x0a,0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00, +0x10,0xb8,0x00,0x01,0x10,0xb8,0x00,0x0b,0xd0,0x30,0x31,0x13,0x07,0x11,0x33,0x11, +0x33,0x11,0x33,0x11,0x27,0x03,0x11,0x33,0x11,0x03,0x11,0x33,0x11,0x61,0x61,0xc4, +0x61,0xc3,0x62,0xc2,0x61,0x92,0xc4,0x03,0x0e,0x83,0xfd,0x75,0x01,0x03,0xfe,0xfd, +0x02,0x8b,0x83,0xfe,0x77,0x01,0x06,0xfe,0xfa,0x02,0xce,0xfe,0xf9,0x01,0x07,0x00, +0x00,0x02,0x00,0x00,0x00,0x00,0x03,0x14,0x03,0x0e,0x00,0x10,0x00,0x14,0x00,0x6f, +0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0d,0x00,0x0e,0x00,0x21,0x2b,0xb8,0x00,0x0d,0x10, +0xba,0x00,0x07,0x00,0x0a,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xb8,0x00,0x02,0xd0, +0xb8,0x00,0x0d,0x10,0xb8,0x00,0x11,0xd0,0xb8,0x00,0x0a,0x10,0xb8,0x00,0x12,0xd0, +0x00,0xba,0x00,0x08,0x00,0x09,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00,0x00, +0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0xba,0x00,0x12,0x00,0x0b,0x00,0x21, +0x2b,0xb8,0x00,0x12,0x10,0xb8,0x00,0x05,0xd0,0xb8,0x00,0x04,0xdc,0xb8,0x00,0x09, +0x10,0xb8,0x00,0x0d,0xd0,0xb8,0x00,0x01,0x10,0xb8,0x00,0x13,0xd0,0x30,0x31,0x01, +0x15,0x21,0x15,0x33,0x15,0x23,0x11,0x21,0x15,0x21,0x11,0x23,0x11,0x23,0x11,0x37, +0x13,0x33,0x11,0x23,0x03,0x14,0xfe,0xdb,0xc4,0xc4,0x01,0x25,0xfe,0x11,0x61,0xc4, +0x61,0x63,0x61,0x61,0x03,0x0e,0x83,0x84,0x82,0xfe,0xfc,0x81,0x01,0x03,0xfe,0xfd, +0x02,0x8b,0x83,0xfe,0x77,0x01,0x06,0x00,0x00,0x01,0x00,0x00,0xfe,0xaf,0x01,0xe8, +0x03,0x0e,0x00,0x12,0x00,0x71,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0d,0x00,0x05,0x00, +0x21,0x2b,0xb8,0x00,0x0d,0x10,0xba,0x00,0x09,0x00,0x0a,0x00,0x21,0x2b,0xb8,0x00, +0x09,0x10,0xb8,0x00,0x0a,0x10,0xb8,0x00,0x02,0xd0,0xb8,0x00,0x02,0x2f,0xb8,0x00, +0x09,0x10,0xb8,0x00,0x0e,0xd0,0xba,0x00,0x10,0x00,0x0a,0x00,0x09,0x11,0x12,0x39, +0x00,0xba,0x00,0x01,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xba,0x00,0x07, +0x00,0x06,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xba,0x00,0x0d,0x00,0x03,0x00,0x21, +0x2b,0xb8,0x00,0x0d,0x10,0xb8,0x00,0x06,0x10,0xb8,0x00,0x0b,0xd0,0xb8,0x00,0x03, +0x10,0xb8,0x00,0x0f,0xd0,0x30,0x31,0x13,0x35,0x33,0x27,0x23,0x27,0x11,0x37,0x21, +0x11,0x23,0x35,0x23,0x11,0x21,0x15,0x23,0x17,0x15,0x9b,0x89,0x48,0x7b,0x61,0x61, +0x01,0x87,0xc3,0x61,0x01,0x24,0x86,0x2e,0xfe,0xaf,0xb0,0xa1,0x81,0x02,0x0a,0x83, +0xfe,0xf9,0x84,0xfd,0xf6,0x81,0x5e,0xf3,0x00,0x02,0x00,0x00,0x00,0x00,0x01,0xe8, +0x04,0x51,0x00,0x0d,0x00,0x13,0x00,0x4f,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0c,0x00, +0x02,0x00,0x21,0x2b,0xb8,0x00,0x0c,0x10,0xb8,0x00,0x07,0xd0,0x00,0xb8,0x00,0x0f, +0x2f,0xba,0x00,0x03,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xba,0x00,0x0b, +0x00,0x08,0x00,0x21,0x2b,0xb8,0x00,0x0b,0x10,0xba,0x00,0x01,0x00,0x02,0x00,0x21, +0x2b,0xb8,0x00,0x01,0x10,0xb8,0x00,0x03,0x10,0xb8,0x00,0x06,0xd0,0xb8,0x00,0x02, +0x10,0xb8,0x00,0x0c,0xd0,0x30,0x31,0x01,0x21,0x07,0x11,0x17,0x21,0x35,0x21,0x11, +0x33,0x35,0x23,0x35,0x21,0x03,0x27,0x23,0x15,0x17,0x33,0x01,0xe8,0xfe,0x79,0x61, +0x61,0x01,0x87,0xfe,0xdc,0xc2,0xc2,0x01,0x24,0x91,0x63,0x62,0x62,0x63,0x03,0x0e, +0x83,0xfd,0xf6,0x81,0x81,0x01,0x04,0x82,0x84,0x01,0x47,0x7f,0x82,0x85,0x00,0x02, +0x00,0x00,0x00,0x00,0x01,0xe8,0x04,0x51,0x00,0x0d,0x00,0x13,0x00,0x4f,0xb8,0x00, +0x1e,0x2b,0xba,0x00,0x0c,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x0c,0x10,0xb8,0x00, +0x07,0xd0,0x00,0xb8,0x00,0x12,0x2f,0xba,0x00,0x03,0x00,0x04,0x00,0x21,0x2b,0xb8, +0x00,0x03,0x10,0xba,0x00,0x0b,0x00,0x08,0x00,0x21,0x2b,0xb8,0x00,0x0b,0x10,0xba, +0x00,0x01,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xb8,0x00,0x03,0x10,0xb8, +0x00,0x06,0xd0,0xb8,0x00,0x02,0x10,0xb8,0x00,0x0c,0xd0,0x30,0x31,0x01,0x21,0x07, +0x11,0x17,0x21,0x35,0x21,0x11,0x33,0x35,0x23,0x35,0x21,0x01,0x07,0x33,0x37,0x35, +0x23,0x01,0xe8,0xfe,0x79,0x61,0x61,0x01,0x87,0xfe,0xdc,0xc2,0xc2,0x01,0x24,0xfe, +0xb5,0x01,0x64,0x62,0x62,0x03,0x0e,0x83,0xfd,0xf6,0x81,0x81,0x01,0x04,0x82,0x84, +0x01,0x47,0x88,0x85,0x82,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x01,0xe8,0x04,0x54, +0x00,0x0d,0x00,0x16,0x00,0x4f,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0c,0x00,0x02,0x00, +0x21,0x2b,0xb8,0x00,0x0c,0x10,0xb8,0x00,0x07,0xd0,0x00,0xb8,0x00,0x15,0x2f,0xba, +0x00,0x03,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xba,0x00,0x0b,0x00,0x08, +0x00,0x21,0x2b,0xb8,0x00,0x0b,0x10,0xba,0x00,0x01,0x00,0x02,0x00,0x21,0x2b,0xb8, +0x00,0x01,0x10,0xb8,0x00,0x03,0x10,0xb8,0x00,0x06,0xd0,0xb8,0x00,0x02,0x10,0xb8, +0x00,0x0c,0xd0,0x30,0x31,0x01,0x21,0x07,0x11,0x17,0x21,0x35,0x21,0x11,0x33,0x35, +0x23,0x35,0x21,0x01,0x15,0x33,0x37,0x17,0x33,0x35,0x27,0x23,0x01,0xe8,0xfe,0x79, +0x61,0x61,0x01,0x87,0xfe,0xdc,0xc2,0xc2,0x01,0x24,0xfe,0x7c,0x62,0x31,0x30,0x63, +0x63,0x61,0x03,0x0e,0x83,0xfd,0xf6,0x81,0x81,0x01,0x04,0x82,0x84,0x01,0x46,0x84, +0x8b,0x8b,0x84,0x83,0x00,0x03,0x00,0x00,0x00,0x00,0x01,0xe8,0x04,0x53,0x00,0x0d, +0x00,0x11,0x00,0x15,0x00,0x7d,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0c,0x00,0x02,0x00, +0x21,0x2b,0xb8,0x00,0x0c,0x10,0xba,0x00,0x15,0x00,0x12,0x00,0x21,0x2b,0xb8,0x00, +0x15,0x10,0xb8,0x00,0x0c,0x10,0xb8,0x00,0x07,0xd0,0xba,0x00,0x0e,0x00,0x02,0x00, +0x0c,0x11,0x12,0x39,0xb8,0x00,0x0e,0x2f,0xb8,0x00,0x11,0xdc,0xb8,0x00,0x15,0x10, +0xb8,0x00,0x17,0xdc,0x00,0xb8,0x00,0x0e,0x2f,0xb8,0x00,0x12,0x2f,0xba,0x00,0x03, +0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xba,0x00,0x0b,0x00,0x08,0x00,0x21, +0x2b,0xb8,0x00,0x0b,0x10,0xba,0x00,0x01,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01, +0x10,0xb8,0x00,0x03,0x10,0xb8,0x00,0x06,0xd0,0xb8,0x00,0x02,0x10,0xb8,0x00,0x0c, +0xd0,0x30,0x31,0x01,0x21,0x07,0x11,0x17,0x21,0x35,0x21,0x11,0x33,0x35,0x23,0x35, +0x21,0x01,0x11,0x33,0x11,0x33,0x11,0x33,0x11,0x01,0xe8,0xfe,0x79,0x61,0x61,0x01, +0x87,0xfe,0xdc,0xc2,0xc2,0x01,0x24,0xfe,0x2c,0xc3,0x40,0xc4,0x03,0x0e,0x83,0xfd, +0xf6,0x81,0x81,0x01,0x04,0x82,0x84,0x01,0xc8,0xfe,0xf9,0x01,0x07,0xfe,0xf9,0x01, +0x07,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x01,0x86,0x04,0x51,0x00,0x0b,0x00,0x11, +0x00,0x53,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x09,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00, +0x09,0x10,0xb8,0x00,0x0c,0xd0,0xb8,0x00,0x0c,0x2f,0xb8,0x00,0x02,0x10,0xb8,0x00, +0x0e,0xd0,0xb8,0x00,0x0e,0x2f,0x00,0xb8,0x00,0x0d,0x2f,0xba,0x00,0x04,0x00,0x05, +0x00,0x21,0x2b,0xb8,0x00,0x04,0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8, +0x00,0x00,0x10,0xb8,0x00,0x04,0x10,0xb8,0x00,0x07,0xd0,0xb8,0x00,0x01,0x10,0xb8, +0x00,0x09,0xd0,0x30,0x31,0x11,0x15,0x33,0x11,0x23,0x15,0x21,0x35,0x23,0x11,0x33, +0x35,0x2f,0x01,0x23,0x15,0x17,0x33,0x61,0x61,0x01,0x86,0x61,0x61,0x5e,0x63,0x62, +0x62,0x63,0x03,0x0e,0x83,0xfd,0xf6,0x81,0x81,0x02,0x0a,0x83,0xc4,0x7f,0x82,0x85, +0x00,0x02,0x00,0x00,0x00,0x00,0x01,0x86,0x04,0x51,0x00,0x0b,0x00,0x11,0x00,0x53, +0xb8,0x00,0x1e,0x2b,0xba,0x00,0x09,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x09,0x10, +0xb8,0x00,0x02,0x10,0xb8,0x00,0x0c,0xd0,0xb8,0x00,0x09,0x10,0xb8,0x00,0x0f,0xd0, +0xb8,0x00,0x0f,0x2f,0x00,0xb8,0x00,0x10,0x2f,0xba,0x00,0x04,0x00,0x05,0x00,0x21, +0x2b,0xb8,0x00,0x04,0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00, +0x10,0xb8,0x00,0x04,0x10,0xb8,0x00,0x07,0xd0,0xb8,0x00,0x01,0x10,0xb8,0x00,0x09, +0xd0,0x30,0x31,0x11,0x15,0x33,0x11,0x23,0x15,0x21,0x35,0x23,0x11,0x33,0x35,0x25, +0x15,0x33,0x37,0x35,0x23,0x61,0x61,0x01,0x86,0x61,0x61,0xfe,0xdb,0x64,0x62,0x62, +0x03,0x0e,0x83,0xfd,0xf6,0x81,0x81,0x02,0x0a,0x83,0xc4,0x88,0x85,0x82,0x00,0x02, +0x00,0x00,0x00,0x00,0x01,0x86,0x04,0x54,0x00,0x0b,0x00,0x14,0x00,0x49,0xb8,0x00, +0x1e,0x2b,0xba,0x00,0x09,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x09,0x10,0xba,0x00, +0x0f,0x00,0x02,0x00,0x09,0x11,0x12,0x39,0x00,0xb8,0x00,0x13,0x2f,0xba,0x00,0x04, +0x00,0x05,0x00,0x21,0x2b,0xb8,0x00,0x04,0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21, +0x2b,0xb8,0x00,0x00,0x10,0xb8,0x00,0x04,0x10,0xb8,0x00,0x07,0xd0,0xb8,0x00,0x01, +0x10,0xb8,0x00,0x09,0xd0,0x30,0x31,0x11,0x15,0x33,0x11,0x23,0x15,0x21,0x35,0x23, +0x11,0x33,0x35,0x25,0x15,0x33,0x37,0x17,0x33,0x35,0x27,0x23,0x61,0x61,0x01,0x86, +0x61,0x61,0xfe,0xac,0x62,0x30,0x32,0x61,0x61,0x62,0x03,0x0e,0x83,0xfd,0xf6,0x81, +0x81,0x02,0x0a,0x83,0xc3,0x84,0x8b,0x8b,0x84,0x83,0x00,0x03,0xff,0xe0,0x00,0x00, +0x01,0xa5,0x04,0x53,0x00,0x0b,0x00,0x0f,0x00,0x13,0x00,0x69,0xb8,0x00,0x1e,0x2b, +0xba,0x00,0x0f,0x00,0x0c,0x00,0x21,0x2b,0xb8,0x00,0x0f,0x10,0xb8,0x00,0x02,0xdc, +0x41,0x03,0x00,0xff,0x00,0x02,0x00,0x01,0x5d,0xb8,0x00,0x09,0xdc,0xb8,0x00,0x10, +0xdc,0x41,0x03,0x00,0xff,0x00,0x10,0x00,0x01,0x5d,0xb8,0x00,0x11,0xdc,0xb8,0x00, +0x15,0xdc,0x00,0xb8,0x00,0x0c,0x2f,0xb8,0x00,0x12,0x2f,0xba,0x00,0x04,0x00,0x05, +0x00,0x21,0x2b,0xb8,0x00,0x04,0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8, +0x00,0x00,0x10,0xb8,0x00,0x04,0x10,0xb8,0x00,0x07,0xd0,0xb8,0x00,0x01,0x10,0xb8, +0x00,0x09,0xd0,0x30,0x31,0x11,0x15,0x33,0x11,0x23,0x15,0x21,0x35,0x23,0x11,0x33, +0x35,0x01,0x11,0x33,0x11,0x13,0x17,0x11,0x23,0x61,0x61,0x01,0x86,0x61,0x61,0xfe, +0x5a,0xc4,0x3e,0xc3,0xc3,0x03,0x0e,0x83,0xfd,0xf6,0x81,0x81,0x02,0x0a,0x83,0x01, +0x45,0xfe,0xfc,0x01,0x04,0xfe,0xfc,0x03,0x01,0x07,0x00,0x02,0x00,0x00,0x00,0x00, +0x02,0x30,0x03,0x0e,0x00,0x09,0x00,0x11,0x00,0x5f,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x0b,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x0b,0x10,0xba,0x00,0x05,0x00,0x10,0x00, +0x21,0x2b,0xb8,0x00,0x05,0x10,0xb8,0x00,0x01,0x10,0xb8,0x00,0x07,0xd0,0xb8,0x00, +0x0b,0x10,0xb8,0x00,0x0e,0xd0,0x00,0xba,0x00,0x10,0x00,0x06,0x00,0x21,0x2b,0xb8, +0x00,0x10,0x10,0xba,0x00,0x03,0x00,0x11,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xba, +0x00,0x01,0x00,0x08,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xb8,0x00,0x0b,0xd0,0xb8, +0x00,0x08,0x10,0xb8,0x00,0x0d,0xd0,0x30,0x31,0x11,0x33,0x11,0x21,0x17,0x11,0x07, +0x21,0x11,0x23,0x01,0x15,0x33,0x15,0x23,0x15,0x33,0x11,0x46,0x01,0x87,0x63,0x63, +0xfe,0x79,0x46,0x01,0x0a,0x2c,0x2c,0x62,0x01,0xcc,0x01,0x42,0x83,0xfd,0xf6,0x81, +0x01,0x4a,0x01,0x41,0xbf,0x82,0xc9,0x02,0x0a,0x00,0x00,0x02,0x00,0x00,0x00,0x00, +0x01,0xe8,0x04,0x51,0x00,0x0b,0x00,0x17,0x00,0x77,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x03,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xba,0x00,0x06,0x00,0x08,0x00, +0x21,0x2b,0xb8,0x00,0x06,0x10,0xb8,0x00,0x08,0x10,0xb8,0x00,0x04,0xd0,0xb8,0x00, +0x04,0x2f,0xba,0x00,0x0e,0x00,0x01,0x00,0x06,0x11,0x12,0x39,0xba,0x00,0x14,0x00, +0x01,0x00,0x06,0x11,0x12,0x39,0x00,0xb8,0x00,0x12,0x2f,0xb8,0x00,0x15,0x2f,0xb8, +0x00,0x01,0x2f,0xb8,0x00,0x04,0x2f,0xba,0x00,0x03,0x00,0x01,0x00,0x12,0x11,0x12, +0x39,0xba,0x00,0x09,0x00,0x01,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x0e,0x00,0x01, +0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x14,0x00,0x01,0x00,0x12,0x11,0x12,0x39,0x30, +0x31,0x19,0x01,0x33,0x11,0x13,0x33,0x11,0x27,0x23,0x11,0x03,0x23,0x37,0x33,0x37, +0x15,0x33,0x37,0x35,0x23,0x07,0x35,0x23,0x07,0xc2,0x67,0xbf,0x44,0x7f,0x74,0x7c, +0x04,0x61,0x62,0x62,0x62,0x62,0x61,0x63,0x61,0x02,0xba,0xfd,0x46,0x01,0x51,0xfe, +0xaf,0x02,0xae,0x62,0xfe,0xdb,0x01,0x25,0x3a,0x63,0x63,0x85,0x82,0x7f,0x7f,0x7f, +0x00,0x03,0x00,0x00,0x00,0x00,0x01,0xe8,0x04,0x51,0x00,0x07,0x00,0x0b,0x00,0x11, +0x00,0x4b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00, +0x08,0x10,0xba,0x00,0x05,0x00,0x09,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0x00,0xb8, +0x00,0x0d,0x2f,0xba,0x00,0x01,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xba, +0x00,0x07,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xb8,0x00,0x00,0x10,0xb8, +0x00,0x08,0xd0,0xb8,0x00,0x01,0x10,0xb8,0x00,0x0a,0xd0,0x30,0x31,0x19,0x01,0x17, +0x21,0x37,0x11,0x27,0x21,0x17,0x33,0x11,0x23,0x13,0x27,0x23,0x15,0x17,0x33,0x61, +0x01,0x25,0x62,0x62,0xfe,0xdb,0x63,0x61,0x61,0x93,0x63,0x62,0x62,0x63,0x02,0x8b, +0xfd,0xf6,0x81,0x81,0x02,0x0a,0x83,0x83,0xfd,0xf6,0x03,0x51,0x7f,0x82,0x85,0x00, +0x00,0x03,0x00,0x00,0x00,0x00,0x01,0xe8,0x04,0x51,0x00,0x07,0x00,0x0b,0x00,0x11, +0x00,0x4b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00, +0x08,0x10,0xba,0x00,0x05,0x00,0x09,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0x00,0xb8, +0x00,0x10,0x2f,0xba,0x00,0x01,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xba, +0x00,0x07,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xb8,0x00,0x00,0x10,0xb8, +0x00,0x08,0xd0,0xb8,0x00,0x01,0x10,0xb8,0x00,0x0a,0xd0,0x30,0x31,0x19,0x01,0x17, +0x21,0x37,0x11,0x27,0x21,0x17,0x33,0x11,0x23,0x03,0x07,0x33,0x37,0x35,0x23,0x61, +0x01,0x25,0x62,0x62,0xfe,0xdb,0x63,0x61,0x61,0x27,0x02,0x65,0x62,0x62,0x02,0x8b, +0xfd,0xf6,0x81,0x81,0x02,0x0a,0x83,0x83,0xfd,0xf6,0x03,0x51,0x88,0x85,0x82,0x00, +0x00,0x03,0x00,0x00,0x00,0x00,0x01,0xe8,0x04,0x54,0x00,0x07,0x00,0x0b,0x00,0x14, +0x00,0x85,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00, +0x08,0x10,0xba,0x00,0x05,0x00,0x09,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0xb8,0x00, +0x08,0x10,0xb8,0x00,0x0e,0xd0,0xb8,0x00,0x0e,0x2f,0xba,0x00,0x0f,0x00,0x00,0x00, +0x05,0x11,0x12,0x39,0xb8,0x00,0x09,0x10,0xb8,0x00,0x10,0xd0,0xb8,0x00,0x10,0x2f, +0xb8,0x00,0x09,0x10,0xb8,0x00,0x13,0xd0,0xb8,0x00,0x13,0x2f,0xb8,0x00,0x08,0x10, +0xb8,0x00,0x14,0xd0,0xb8,0x00,0x14,0x2f,0x00,0xb8,0x00,0x13,0x2f,0xba,0x00,0x01, +0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xba,0x00,0x07,0x00,0x00,0x00,0x21, +0x2b,0xb8,0x00,0x07,0x10,0xb8,0x00,0x00,0x10,0xb8,0x00,0x08,0xd0,0xb8,0x00,0x01, +0x10,0xb8,0x00,0x0a,0xd0,0x30,0x31,0x19,0x01,0x17,0x21,0x37,0x11,0x27,0x21,0x17, +0x33,0x11,0x23,0x03,0x15,0x33,0x37,0x17,0x33,0x35,0x27,0x23,0x61,0x01,0x25,0x62, +0x62,0xfe,0xdb,0x63,0x61,0x61,0x60,0x62,0x31,0x30,0x63,0x63,0x61,0x02,0x8b,0xfd, +0xf6,0x81,0x81,0x02,0x0a,0x83,0x83,0xfd,0xf6,0x03,0x50,0x84,0x8b,0x8b,0x84,0x83, +0x00,0x03,0x00,0x00,0x00,0x00,0x01,0xe8,0x04,0x51,0x00,0x07,0x00,0x0b,0x00,0x17, +0x00,0x63,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00, +0x08,0x10,0xba,0x00,0x05,0x00,0x09,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0xba,0x00, +0x0e,0x00,0x00,0x00,0x05,0x11,0x12,0x39,0xba,0x00,0x14,0x00,0x00,0x00,0x05,0x11, +0x12,0x39,0x00,0xb8,0x00,0x12,0x2f,0xb8,0x00,0x15,0x2f,0xba,0x00,0x01,0x00,0x02, +0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xba,0x00,0x07,0x00,0x00,0x00,0x21,0x2b,0xb8, +0x00,0x07,0x10,0xb8,0x00,0x00,0x10,0xb8,0x00,0x08,0xd0,0xb8,0x00,0x01,0x10,0xb8, +0x00,0x0a,0xd0,0x30,0x31,0x19,0x01,0x17,0x21,0x37,0x11,0x27,0x21,0x17,0x33,0x11, +0x23,0x03,0x33,0x37,0x15,0x33,0x37,0x35,0x23,0x07,0x35,0x23,0x07,0x61,0x01,0x25, +0x62,0x62,0xfe,0xdb,0x63,0x61,0x61,0x8d,0x61,0x62,0x62,0x62,0x62,0x62,0x62,0x61, +0x02,0x8b,0xfd,0xf6,0x81,0x81,0x02,0x0a,0x83,0x83,0xfd,0xf6,0x02,0xc9,0x6b,0x6b, +0x85,0x82,0x7f,0x7f,0x7f,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x01,0xe8,0x04,0x53, +0x00,0x07,0x00,0x0b,0x00,0x0f,0x00,0x13,0x00,0x7b,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x08,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00,0x13,0x00,0x10,0x00, +0x21,0x2b,0xb8,0x00,0x13,0x10,0xba,0x00,0x09,0x00,0x10,0x00,0x13,0x11,0x12,0x39, +0xb8,0x00,0x09,0x2f,0xb8,0x00,0x05,0xdc,0xba,0x00,0x0c,0x00,0x00,0x00,0x08,0x11, +0x12,0x39,0xb8,0x00,0x0c,0x2f,0xb8,0x00,0x0f,0xdc,0xb8,0x00,0x05,0x10,0xb8,0x00, +0x15,0xdc,0x00,0xb8,0x00,0x0c,0x2f,0xb8,0x00,0x10,0x2f,0xba,0x00,0x01,0x00,0x02, +0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xba,0x00,0x07,0x00,0x00,0x00,0x21,0x2b,0xb8, +0x00,0x07,0x10,0xb8,0x00,0x00,0x10,0xb8,0x00,0x08,0xd0,0xb8,0x00,0x01,0x10,0xb8, +0x00,0x0a,0xd0,0x30,0x31,0x19,0x01,0x17,0x21,0x37,0x11,0x27,0x21,0x17,0x33,0x11, +0x23,0x03,0x11,0x33,0x11,0x33,0x11,0x33,0x11,0x61,0x01,0x25,0x62,0x62,0xfe,0xdb, +0x63,0x61,0x61,0xb0,0xc3,0x40,0xc4,0x02,0x8b,0xfd,0xf6,0x81,0x81,0x02,0x0a,0x83, +0x83,0xfd,0xf6,0x03,0xd2,0xfe,0xf9,0x01,0x07,0xfe,0xf9,0x01,0x07,0x00,0x00,0x01, +0x00,0x00,0x00,0x35,0x01,0x89,0x01,0xd5,0x00,0x13,0x00,0x47,0xb8,0x00,0x1e,0x2b, +0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x10,0x2f,0xba,0x00,0x05,0x00,0x06,0x00,0x21, +0x2b,0xb8,0x00,0x05,0x10,0xb8,0x00,0x10,0x10,0xb8,0x00,0x0f,0xdc,0xb8,0x00,0x01, +0xd0,0xb8,0x00,0x01,0x2f,0xb8,0x00,0x06,0x10,0xb8,0x00,0x09,0xd0,0xb8,0x00,0x05, +0x10,0xb8,0x00,0x0b,0xd0,0xb8,0x00,0x10,0x10,0xb8,0x00,0x13,0xd0,0xb8,0x00,0x13, +0x2f,0x30,0x31,0x11,0x15,0x33,0x17,0x07,0x23,0x15,0x33,0x37,0x17,0x33,0x35,0x23, +0x27,0x37,0x33,0x35,0x23,0x07,0x27,0x34,0x23,0x23,0x34,0x8f,0x2d,0x2f,0x9e,0x37, +0x31,0x2f,0x36,0x9b,0x2a,0x2a,0x01,0xd5,0x6d,0x5d,0x6f,0x67,0x89,0x89,0x67,0x68, +0x68,0x68,0x8a,0x8b,0x00,0x03,0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x10,0x00,0x08, +0x00,0x0b,0x00,0x0e,0x00,0x3b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0a,0x00,0x08,0x00, +0x21,0x2b,0xb8,0x00,0x0a,0x10,0xba,0x00,0x04,0x00,0x0e,0x00,0x21,0x2b,0xb8,0x00, +0x04,0x10,0x00,0xb8,0x00,0x01,0x2f,0xb8,0x00,0x05,0x2f,0xba,0x00,0x0a,0x00,0x05, +0x00,0x01,0x11,0x12,0x39,0xba,0x00,0x0c,0x00,0x05,0x00,0x01,0x11,0x12,0x39,0x30, +0x31,0x13,0x25,0x07,0x17,0x11,0x07,0x21,0x27,0x11,0x33,0x11,0x1b,0x01,0x03,0x33, +0x61,0x01,0x27,0x02,0x62,0x62,0xfe,0xdb,0x61,0xc4,0x41,0x20,0x41,0x41,0x03,0x0e, +0x02,0x03,0x82,0xfd,0xf6,0x81,0x81,0x02,0x0a,0xfe,0xfb,0x01,0x05,0xfe,0xfa,0xfe, +0xfc,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x01,0xe8,0x04,0x51,0x00,0x09,0x00,0x0f, +0x00,0x33,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x09,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00, +0x09,0x10,0xba,0x00,0x05,0x00,0x06,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0x00,0xb8, +0x00,0x0b,0x2f,0xba,0x00,0x01,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xb8, +0x00,0x07,0xd0,0x30,0x31,0x19,0x01,0x17,0x21,0x37,0x11,0x23,0x11,0x23,0x11,0x37, +0x27,0x23,0x15,0x17,0x33,0x61,0x01,0x25,0x62,0xc3,0x61,0x93,0x63,0x62,0x62,0x63, +0x03,0x0e,0xfd,0x73,0x81,0x81,0x02,0x8d,0xfd,0x73,0x02,0x8d,0xc4,0x7f,0x82,0x85, +0x00,0x02,0x00,0x00,0x00,0x00,0x01,0xe8,0x04,0x51,0x00,0x09,0x00,0x0f,0x00,0x33, +0xb8,0x00,0x1e,0x2b,0xba,0x00,0x09,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x09,0x10, +0xba,0x00,0x05,0x00,0x06,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0x00,0xb8,0x00,0x0e, +0x2f,0xba,0x00,0x01,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xb8,0x00,0x07, +0xd0,0x30,0x31,0x19,0x01,0x17,0x21,0x37,0x11,0x23,0x11,0x23,0x11,0x27,0x15,0x33, +0x37,0x35,0x23,0x61,0x01,0x25,0x62,0xc3,0x61,0x27,0x63,0x62,0x62,0x03,0x0e,0xfd, +0x73,0x81,0x81,0x02,0x8d,0xfd,0x73,0x02,0x8d,0xc4,0x88,0x85,0x82,0x00,0x00,0x02, +0x00,0x00,0x00,0x00,0x01,0xe8,0x04,0x54,0x00,0x09,0x00,0x12,0x00,0x6d,0xb8,0x00, +0x1e,0x2b,0xba,0x00,0x09,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x09,0x10,0xba,0x00, +0x05,0x00,0x06,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0xb8,0x00,0x09,0x10,0xb8,0x00, +0x0c,0xd0,0xb8,0x00,0x0c,0x2f,0xba,0x00,0x0d,0x00,0x00,0x00,0x05,0x11,0x12,0x39, +0xb8,0x00,0x06,0x10,0xb8,0x00,0x0e,0xd0,0xb8,0x00,0x0e,0x2f,0xb8,0x00,0x06,0x10, +0xb8,0x00,0x11,0xd0,0xb8,0x00,0x11,0x2f,0xb8,0x00,0x09,0x10,0xb8,0x00,0x12,0xd0, +0xb8,0x00,0x12,0x2f,0x00,0xb8,0x00,0x11,0x2f,0xba,0x00,0x01,0x00,0x02,0x00,0x21, +0x2b,0xb8,0x00,0x01,0x10,0xb8,0x00,0x07,0xd0,0x30,0x31,0x19,0x01,0x17,0x21,0x37, +0x11,0x23,0x11,0x23,0x11,0x27,0x15,0x33,0x37,0x17,0x33,0x35,0x27,0x23,0x61,0x01, +0x25,0x62,0xc3,0x61,0x60,0x62,0x31,0x30,0x63,0x63,0x61,0x03,0x0e,0xfd,0x73,0x81, +0x81,0x02,0x8d,0xfd,0x73,0x02,0x8d,0xc3,0x84,0x8b,0x8b,0x84,0x83,0x00,0x00,0x03, +0x00,0x00,0x00,0x00,0x01,0xe8,0x04,0x53,0x00,0x09,0x00,0x0d,0x00,0x11,0x00,0x63, +0xb8,0x00,0x1e,0x2b,0xba,0x00,0x09,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x09,0x10, +0xba,0x00,0x11,0x00,0x0e,0x00,0x21,0x2b,0xb8,0x00,0x11,0x10,0xba,0x00,0x06,0x00, +0x0e,0x00,0x11,0x11,0x12,0x39,0xb8,0x00,0x06,0x2f,0xb8,0x00,0x05,0xdc,0xba,0x00, +0x0a,0x00,0x00,0x00,0x09,0x11,0x12,0x39,0xb8,0x00,0x0a,0x2f,0xb8,0x00,0x0d,0xdc, +0xb8,0x00,0x05,0x10,0xb8,0x00,0x13,0xdc,0x00,0xb8,0x00,0x0a,0x2f,0xb8,0x00,0x0e, +0x2f,0xba,0x00,0x01,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xb8,0x00,0x07, +0xd0,0x30,0x31,0x19,0x01,0x17,0x21,0x37,0x11,0x23,0x11,0x23,0x11,0x03,0x11,0x33, +0x11,0x33,0x11,0x33,0x11,0x61,0x01,0x25,0x62,0xc3,0x61,0xb0,0xc3,0x40,0xc4,0x03, +0x0e,0xfd,0x73,0x81,0x81,0x02,0x8d,0xfd,0x73,0x02,0x8d,0x01,0x45,0xfe,0xf9,0x01, +0x07,0xfe,0xf9,0x01,0x07,0x00,0x00,0x02,0x00,0x00,0xfe,0xfb,0x01,0xe8,0x04,0x51, +0x00,0x0d,0x00,0x13,0x00,0x4f,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0d,0x00,0x00,0x00, +0x21,0x2b,0xb8,0x00,0x0d,0x10,0xba,0x00,0x08,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00, +0x08,0x10,0xb8,0x00,0x0d,0x10,0xb8,0x00,0x05,0xd0,0xb8,0x00,0x04,0x10,0xb8,0x00, +0x0a,0xd0,0x00,0xb8,0x00,0x12,0x2f,0xba,0x00,0x05,0x00,0x06,0x00,0x21,0x2b,0xb8, +0x00,0x05,0x10,0xba,0x00,0x01,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xb8, +0x00,0x0b,0xd0,0x30,0x31,0x19,0x01,0x17,0x33,0x15,0x23,0x15,0x33,0x37,0x11,0x23, +0x11,0x23,0x11,0x27,0x07,0x33,0x37,0x35,0x23,0x61,0xc4,0x61,0xc2,0x62,0xc3,0x61, +0x27,0x01,0x64,0x62,0x62,0x03,0x0e,0xfd,0x73,0x81,0x84,0x81,0x81,0x03,0x92,0xfd, +0x73,0x02,0x8d,0xc4,0x88,0x85,0x82,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x01,0xe9, +0x03,0x10,0x00,0x09,0x00,0x0d,0x00,0x57,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x09,0x00, +0x00,0x00,0x21,0x2b,0xb8,0x00,0x09,0x10,0xba,0x00,0x06,0x00,0x0b,0x00,0x21,0x2b, +0xb8,0x00,0x06,0x10,0xb8,0x00,0x09,0x10,0xb8,0x00,0x02,0xd0,0xb8,0x00,0x09,0x10, +0xb8,0x00,0x0a,0xd0,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x01,0x2f,0xba,0x00,0x0d, +0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x0d,0x10,0xba,0x00,0x07,0x00,0x06,0x00,0x21, +0x2b,0xb8,0x00,0x07,0x10,0xb8,0x00,0x06,0x10,0xb8,0x00,0x0a,0xd0,0x30,0x31,0x19, +0x01,0x33,0x35,0x33,0x37,0x11,0x27,0x23,0x35,0x11,0x33,0x11,0x23,0xc4,0xc4,0x61, +0x61,0xc4,0x62,0x62,0x03,0x10,0xfc,0xf0,0x82,0x83,0x01,0x06,0x85,0x80,0xfe,0xfb, +0xfe,0xfa,0x00,0x01,0x00,0x00,0xff,0x64,0x01,0xe8,0x03,0x10,0x00,0x13,0x00,0x49, +0xb8,0x00,0x1e,0x2b,0xba,0x00,0x01,0x00,0x12,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10, +0xba,0x00,0x0f,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x0f,0x10,0xb8,0x00,0x02,0x10, +0xb8,0x00,0x06,0xd0,0xb8,0x00,0x0f,0x10,0xb8,0x00,0x0b,0xd0,0xba,0x00,0x0d,0x00, +0x02,0x00,0x0f,0x11,0x12,0x39,0x00,0xb8,0x00,0x00,0x2f,0xba,0x00,0x11,0x00,0x01, +0x00,0x21,0x2b,0xb8,0x00,0x11,0x10,0x30,0x31,0x17,0x13,0x33,0x15,0x27,0x15,0x17, +0x11,0x23,0x15,0x33,0x37,0x11,0x23,0x37,0x35,0x27,0x21,0x07,0x11,0xc2,0x02,0x61, +0x22,0x22,0x22,0x83,0x62,0x62,0x62,0x62,0xfe,0xe1,0x67,0x9c,0x03,0x27,0x84,0x02, +0x81,0x03,0xfe,0xfd,0x82,0x81,0x01,0x04,0x82,0x84,0x85,0xb0,0xfd,0x04,0x00,0x03, +0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x53,0x00,0x05,0x00,0x09,0x00,0x0f,0x00,0x4b, +0xb8,0x00,0x1e,0x2b,0xba,0x00,0x06,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10, +0xba,0x00,0x05,0x00,0x07,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0x00,0xb8,0x00,0x0b, +0x2f,0xba,0x00,0x02,0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x02,0x10,0xba,0x00,0x00, +0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0xb8,0x00,0x01,0x10,0xb8,0x00,0x06, +0xd0,0xb8,0x00,0x02,0x10,0xb8,0x00,0x08,0xd0,0x30,0x31,0x13,0x07,0x11,0x17,0x21, +0x11,0x05,0x33,0x11,0x23,0x13,0x27,0x23,0x15,0x17,0x33,0x61,0x61,0x61,0x01,0x87, +0xfe,0xdc,0x61,0x61,0x8f,0x63,0x62,0x62,0x63,0x02,0x07,0x82,0xfe,0xfc,0x81,0x02, +0x07,0x82,0xfe,0xfc,0x02,0x53,0x7f,0x83,0x85,0x00,0x00,0x03,0x00,0x00,0x00,0x00, +0x01,0xe8,0x03,0x53,0x00,0x05,0x00,0x09,0x00,0x0f,0x00,0x4b,0xb8,0x00,0x1e,0x2b, +0xba,0x00,0x06,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0xba,0x00,0x05,0x00, +0x07,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0x00,0xb8,0x00,0x0e,0x2f,0xba,0x00,0x02, +0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x02,0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21, +0x2b,0xb8,0x00,0x00,0x10,0xb8,0x00,0x01,0x10,0xb8,0x00,0x06,0xd0,0xb8,0x00,0x02, +0x10,0xb8,0x00,0x08,0xd0,0x30,0x31,0x13,0x07,0x11,0x17,0x21,0x11,0x05,0x33,0x11, +0x23,0x03,0x17,0x33,0x37,0x35,0x23,0x61,0x61,0x61,0x01,0x87,0xfe,0xdc,0x61,0x61, +0x30,0x01,0x63,0x62,0x62,0x02,0x07,0x82,0xfe,0xfc,0x81,0x02,0x07,0x82,0xfe,0xfc, +0x02,0x53,0x89,0x85,0x83,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x51, +0x00,0x05,0x00,0x09,0x00,0x12,0x00,0x85,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x06,0x00, +0x01,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0xba,0x00,0x05,0x00,0x07,0x00,0x21,0x2b, +0xb8,0x00,0x05,0x10,0xb8,0x00,0x06,0x10,0xb8,0x00,0x0c,0xd0,0xb8,0x00,0x0c,0x2f, +0xba,0x00,0x0d,0x00,0x01,0x00,0x05,0x11,0x12,0x39,0xb8,0x00,0x07,0x10,0xb8,0x00, +0x0e,0xd0,0xb8,0x00,0x0e,0x2f,0xb8,0x00,0x07,0x10,0xb8,0x00,0x11,0xd0,0xb8,0x00, +0x11,0x2f,0xb8,0x00,0x06,0x10,0xb8,0x00,0x12,0xd0,0xb8,0x00,0x12,0x2f,0x00,0xb8, +0x00,0x11,0x2f,0xba,0x00,0x02,0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x02,0x10,0xba, +0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0xb8,0x00,0x01,0x10,0xb8, +0x00,0x06,0xd0,0xb8,0x00,0x02,0x10,0xb8,0x00,0x08,0xd0,0x30,0x31,0x13,0x07,0x11, +0x17,0x21,0x11,0x05,0x33,0x11,0x23,0x03,0x15,0x33,0x37,0x17,0x33,0x35,0x27,0x23, +0x61,0x61,0x61,0x01,0x87,0xfe,0xdc,0x61,0x61,0x60,0x62,0x31,0x30,0x63,0x63,0x61, +0x02,0x07,0x82,0xfe,0xfc,0x81,0x02,0x07,0x82,0xfe,0xfc,0x02,0x4d,0x84,0x8b,0x8b, +0x84,0x83,0x00,0x03,0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x53,0x00,0x05,0x00,0x09, +0x00,0x15,0x00,0x63,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x06,0x00,0x01,0x00,0x21,0x2b, +0xb8,0x00,0x06,0x10,0xba,0x00,0x05,0x00,0x07,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10, +0xba,0x00,0x0c,0x00,0x01,0x00,0x05,0x11,0x12,0x39,0xba,0x00,0x12,0x00,0x01,0x00, +0x05,0x11,0x12,0x39,0x00,0xb8,0x00,0x10,0x2f,0xb8,0x00,0x13,0x2f,0xba,0x00,0x02, +0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x02,0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21, +0x2b,0xb8,0x00,0x00,0x10,0xb8,0x00,0x01,0x10,0xb8,0x00,0x06,0xd0,0xb8,0x00,0x02, +0x10,0xb8,0x00,0x08,0xd0,0x30,0x31,0x13,0x07,0x11,0x17,0x21,0x11,0x05,0x33,0x11, +0x23,0x03,0x33,0x37,0x15,0x33,0x37,0x35,0x23,0x07,0x35,0x23,0x07,0x61,0x61,0x61, +0x01,0x87,0xfe,0xdc,0x61,0x61,0x90,0x61,0x62,0x62,0x62,0x62,0x62,0x62,0x61,0x02, +0x07,0x82,0xfe,0xfc,0x81,0x02,0x07,0x82,0xfe,0xfc,0x01,0xca,0x6b,0x6b,0x85,0x83, +0x7f,0x7f,0x7f,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x50,0x00,0x05, +0x00,0x09,0x00,0x0d,0x00,0x11,0x00,0x7b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x06,0x00, +0x01,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0xba,0x00,0x0f,0x00,0x0e,0x00,0x21,0x2b, +0xb8,0x00,0x0f,0x10,0xba,0x00,0x07,0x00,0x0e,0x00,0x0f,0x11,0x12,0x39,0xb8,0x00, +0x07,0x2f,0xb8,0x00,0x05,0xdc,0xba,0x00,0x0a,0x00,0x01,0x00,0x06,0x11,0x12,0x39, +0xb8,0x00,0x0a,0x2f,0xb8,0x00,0x0d,0xdc,0xb8,0x00,0x05,0x10,0xb8,0x00,0x13,0xdc, +0x00,0xb8,0x00,0x0a,0x2f,0xb8,0x00,0x10,0x2f,0xba,0x00,0x02,0x00,0x03,0x00,0x21, +0x2b,0xb8,0x00,0x02,0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00, +0x10,0xb8,0x00,0x01,0x10,0xb8,0x00,0x06,0xd0,0xb8,0x00,0x02,0x10,0xb8,0x00,0x08, +0xd0,0x30,0x31,0x13,0x07,0x11,0x17,0x21,0x11,0x05,0x33,0x11,0x23,0x03,0x11,0x33, +0x11,0x13,0x17,0x11,0x23,0x61,0x61,0x61,0x01,0x87,0xfe,0xdc,0x61,0x61,0xb2,0xc4, +0x3e,0xc3,0xc3,0x02,0x07,0x82,0xfe,0xfc,0x81,0x02,0x07,0x82,0xfe,0xfc,0x02,0xcf, +0xfe,0xfc,0x01,0x04,0xfe,0xfc,0x03,0x01,0x07,0x00,0x00,0x03,0x00,0x00,0x00,0x00, +0x01,0xe8,0x03,0x50,0x00,0x05,0x00,0x09,0x00,0x0d,0x00,0x65,0xb8,0x00,0x1e,0x2b, +0xba,0x00,0x06,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0xba,0x00,0x05,0x00, +0x07,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0xba,0x00,0x0a,0x00,0x01,0x00,0x06,0x11, +0x12,0x39,0xb8,0x00,0x0a,0x2f,0xb8,0x00,0x0b,0xdc,0xb8,0x00,0x05,0x10,0xb8,0x00, +0x0f,0xdc,0x00,0xb8,0x00,0x0c,0x2f,0xba,0x00,0x02,0x00,0x03,0x00,0x21,0x2b,0xb8, +0x00,0x02,0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0xb8, +0x00,0x01,0x10,0xb8,0x00,0x06,0xd0,0xb8,0x00,0x02,0x10,0xb8,0x00,0x08,0xd0,0x30, +0x31,0x13,0x07,0x11,0x17,0x21,0x11,0x05,0x33,0x11,0x23,0x03,0x17,0x11,0x23,0x61, +0x61,0x61,0x01,0x87,0xfe,0xdc,0x61,0x61,0x31,0xc4,0xc4,0x02,0x07,0x82,0xfe,0xfc, +0x81,0x02,0x07,0x82,0xfe,0xfc,0x01,0xcb,0x03,0x01,0x07,0x00,0x00,0x03,0x00,0x00, +0x00,0x00,0x03,0x57,0x02,0x06,0x00,0x08,0x00,0x0c,0x00,0x10,0x00,0x63,0xb8,0x00, +0x1e,0x2b,0xba,0x00,0x0e,0x00,0x06,0x00,0x21,0x2b,0xb8,0x00,0x0e,0x10,0xba,0x00, +0x01,0x00,0x0c,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xb8,0x00,0x03,0xd0,0xb8,0x00, +0x03,0x2f,0x00,0xba,0x00,0x0b,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x0b,0x10,0xba, +0x00,0x08,0x00,0x07,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xb8,0x00,0x0b,0x10,0xb8, +0x00,0x02,0xd0,0xb8,0x00,0x02,0x2f,0xb8,0x00,0x07,0x10,0xb8,0x00,0x09,0xd0,0xb8, +0x00,0x07,0x10,0xb8,0x00,0x0d,0xd0,0xb8,0x00,0x0b,0x10,0xb8,0x00,0x0e,0xd0,0x30, +0x31,0x01,0x17,0x07,0x33,0x15,0x21,0x27,0x11,0x37,0x05,0x11,0x33,0x11,0x21,0x11, +0x33,0x11,0x03,0x52,0x02,0x67,0x6a,0xfd,0x0a,0x61,0x61,0x01,0xcf,0x62,0xfe,0x32, +0x61,0x02,0x06,0xf8,0x8c,0x82,0x81,0x01,0x04,0x81,0x81,0xfe,0xfc,0x01,0x04,0xfe, +0xfc,0x01,0x04,0x00,0x00,0x01,0x00,0x00,0xfe,0xaf,0x01,0xe8,0x02,0x07,0x00,0x12, +0x00,0x71,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0d,0x00,0x05,0x00,0x21,0x2b,0xb8,0x00, +0x0d,0x10,0xba,0x00,0x09,0x00,0x0a,0x00,0x21,0x2b,0xb8,0x00,0x09,0x10,0xb8,0x00, +0x0a,0x10,0xb8,0x00,0x02,0xd0,0xb8,0x00,0x02,0x2f,0xb8,0x00,0x09,0x10,0xb8,0x00, +0x0e,0xd0,0xba,0x00,0x10,0x00,0x0a,0x00,0x09,0x11,0x12,0x39,0x00,0xba,0x00,0x01, +0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xba,0x00,0x07,0x00,0x06,0x00,0x21, +0x2b,0xb8,0x00,0x07,0x10,0xba,0x00,0x0d,0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x0d, +0x10,0xb8,0x00,0x06,0x10,0xb8,0x00,0x0b,0xd0,0xb8,0x00,0x03,0x10,0xb8,0x00,0x0f, +0xd0,0x30,0x31,0x13,0x35,0x33,0x27,0x23,0x27,0x11,0x37,0x21,0x11,0x23,0x35,0x23, +0x11,0x21,0x15,0x23,0x17,0x15,0x9b,0x89,0x48,0x7b,0x61,0x61,0x01,0x87,0xc3,0x61, +0x01,0x24,0x86,0x2e,0xfe,0xaf,0xb0,0xa1,0x81,0x01,0x04,0x82,0xfe,0xfc,0x82,0xfe, +0xfd,0x82,0x5e,0xf3,0x00,0x03,0x00,0x00,0x00,0x00,0x01,0xeb,0x03,0x53,0x00,0x08, +0x00,0x0c,0x00,0x12,0x00,0x57,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x09,0x00,0x00,0x00, +0x21,0x2b,0xb8,0x00,0x09,0x10,0xba,0x00,0x06,0x00,0x0a,0x00,0x21,0x2b,0xb8,0x00, +0x06,0x10,0xb8,0x00,0x03,0xd0,0xb8,0x00,0x03,0x2f,0x00,0xb8,0x00,0x0e,0x2f,0xba, +0x00,0x05,0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0xba,0x00,0x08,0x00,0x00, +0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xb8,0x00,0x00,0x10,0xb8,0x00,0x09,0xd0,0xb8, +0x00,0x05,0x10,0xb8,0x00,0x0b,0xd0,0xb8,0x00,0x0b,0x2f,0x30,0x31,0x19,0x01,0x17, +0x21,0x35,0x23,0x37,0x35,0x21,0x17,0x33,0x11,0x23,0x13,0x27,0x23,0x15,0x17,0x33, +0x61,0x01,0x8a,0x6b,0x68,0xfe,0x79,0x63,0x61,0x61,0x8f,0x63,0x62,0x62,0x63,0x01, +0x85,0xfe,0xfc,0x81,0x82,0x8c,0xfb,0x84,0xfe,0xfc,0x02,0x53,0x7f,0x83,0x85,0x00, +0x00,0x03,0x00,0x00,0x00,0x00,0x01,0xeb,0x03,0x53,0x00,0x08,0x00,0x0c,0x00,0x12, +0x00,0x57,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x09,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00, +0x09,0x10,0xba,0x00,0x06,0x00,0x0a,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0xb8,0x00, +0x03,0xd0,0xb8,0x00,0x03,0x2f,0x00,0xb8,0x00,0x11,0x2f,0xba,0x00,0x05,0x00,0x03, +0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0xba,0x00,0x08,0x00,0x00,0x00,0x21,0x2b,0xb8, +0x00,0x08,0x10,0xb8,0x00,0x00,0x10,0xb8,0x00,0x09,0xd0,0xb8,0x00,0x05,0x10,0xb8, +0x00,0x0b,0xd0,0xb8,0x00,0x0b,0x2f,0x30,0x31,0x19,0x01,0x17,0x21,0x35,0x23,0x37, +0x35,0x21,0x17,0x33,0x11,0x23,0x03,0x15,0x33,0x37,0x35,0x23,0x61,0x01,0x8a,0x6b, +0x68,0xfe,0x79,0x63,0x61,0x61,0x30,0x64,0x62,0x62,0x01,0x85,0xfe,0xfc,0x81,0x82, +0x8c,0xfb,0x84,0xfe,0xfc,0x02,0x53,0x89,0x85,0x83,0x00,0x03,0x00,0x00,0x00,0x00, +0x01,0xeb,0x03,0x51,0x00,0x08,0x00,0x0c,0x00,0x15,0x00,0x91,0xb8,0x00,0x1e,0x2b, +0xba,0x00,0x09,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x09,0x10,0xba,0x00,0x06,0x00, +0x0a,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0xb8,0x00,0x03,0xd0,0xb8,0x00,0x03,0x2f, +0xb8,0x00,0x09,0x10,0xb8,0x00,0x0f,0xd0,0xb8,0x00,0x0f,0x2f,0xba,0x00,0x10,0x00, +0x00,0x00,0x03,0x11,0x12,0x39,0xb8,0x00,0x0a,0x10,0xb8,0x00,0x11,0xd0,0xb8,0x00, +0x11,0x2f,0xb8,0x00,0x0a,0x10,0xb8,0x00,0x14,0xd0,0xb8,0x00,0x14,0x2f,0xb8,0x00, +0x09,0x10,0xb8,0x00,0x15,0xd0,0xb8,0x00,0x15,0x2f,0x00,0xb8,0x00,0x14,0x2f,0xba, +0x00,0x05,0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0xba,0x00,0x08,0x00,0x00, +0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xb8,0x00,0x00,0x10,0xb8,0x00,0x09,0xd0,0xb8, +0x00,0x05,0x10,0xb8,0x00,0x0b,0xd0,0xb8,0x00,0x0b,0x2f,0x30,0x31,0x19,0x01,0x17, +0x21,0x35,0x23,0x37,0x35,0x21,0x17,0x33,0x11,0x23,0x03,0x15,0x33,0x37,0x17,0x33, +0x35,0x27,0x23,0x61,0x01,0x8a,0x6b,0x68,0xfe,0x79,0x63,0x61,0x61,0x60,0x62,0x31, +0x30,0x63,0x63,0x61,0x01,0x85,0xfe,0xfc,0x81,0x82,0x8c,0xfb,0x84,0xfe,0xfc,0x02, +0x4d,0x84,0x8b,0x8b,0x84,0x83,0x00,0x04,0x00,0x00,0x00,0x00,0x01,0xeb,0x03,0x50, +0x00,0x08,0x00,0x0c,0x00,0x10,0x00,0x14,0x00,0x91,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x09,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x09,0x10,0xba,0x00,0x12,0x00,0x11,0x00, +0x21,0x2b,0xb8,0x00,0x12,0x10,0xba,0x00,0x0a,0x00,0x11,0x00,0x12,0x11,0x12,0x39, +0xb8,0x00,0x0a,0x2f,0xb8,0x00,0x06,0xdc,0xb8,0x00,0x03,0xd0,0xb8,0x00,0x03,0x2f, +0xba,0x00,0x05,0x00,0x11,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x0d,0x00,0x00,0x00, +0x09,0x11,0x12,0x39,0xb8,0x00,0x0d,0x2f,0xb8,0x00,0x10,0xdc,0xb8,0x00,0x06,0x10, +0xb8,0x00,0x16,0xdc,0x00,0xb8,0x00,0x0d,0x2f,0xb8,0x00,0x13,0x2f,0xba,0x00,0x05, +0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x05,0x10,0xba,0x00,0x08,0x00,0x00,0x00,0x21, +0x2b,0xb8,0x00,0x08,0x10,0xb8,0x00,0x00,0x10,0xb8,0x00,0x09,0xd0,0xb8,0x00,0x05, +0x10,0xb8,0x00,0x0b,0xd0,0xb8,0x00,0x0b,0x2f,0x30,0x31,0x19,0x01,0x17,0x21,0x35, +0x23,0x37,0x35,0x21,0x17,0x33,0x11,0x23,0x03,0x11,0x33,0x11,0x13,0x17,0x11,0x23, +0x61,0x01,0x8a,0x6b,0x68,0xfe,0x79,0x63,0x61,0x61,0xb2,0xc4,0x3e,0xc3,0xc3,0x01, +0x85,0xfe,0xfc,0x81,0x82,0x8c,0xfb,0x84,0xfe,0xfc,0x02,0xcf,0xfe,0xfc,0x01,0x04, +0xfe,0xfc,0x03,0x01,0x07,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0xc5,0x03,0x53, +0x00,0x04,0x00,0x0a,0x00,0x2b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x04,0x00,0x00,0x00, +0x21,0x2b,0xb8,0x00,0x04,0x10,0xb8,0x00,0x05,0xd0,0xb8,0x00,0x05,0x2f,0xb8,0x00, +0x00,0x10,0xb8,0x00,0x07,0xd0,0x00,0xb8,0x00,0x06,0x2f,0xb8,0x00,0x02,0x2f,0x30, +0x31,0x19,0x01,0x17,0x33,0x11,0x37,0x27,0x23,0x15,0x17,0x33,0x61,0x61,0x03,0x64, +0x61,0x61,0x64,0x02,0x07,0xfe,0x7a,0x81,0x02,0x07,0xcd,0x7f,0x83,0x84,0x00,0x02, +0x00,0x00,0x00,0x00,0x00,0xc5,0x03,0x53,0x00,0x04,0x00,0x0a,0x00,0x2f,0xb8,0x00, +0x1e,0x2b,0xba,0x00,0x04,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x04,0x10,0xb8,0x00, +0x00,0x10,0xb8,0x00,0x05,0xd0,0xb8,0x00,0x04,0x10,0xb8,0x00,0x08,0xd0,0xb8,0x00, +0x08,0x2f,0x00,0xb8,0x00,0x09,0x2f,0xb8,0x00,0x02,0x2f,0x30,0x31,0x19,0x01,0x17, +0x33,0x11,0x27,0x15,0x33,0x37,0x35,0x23,0x61,0x61,0xc2,0x63,0x62,0x62,0x02,0x07, +0xfe,0x7a,0x81,0x02,0x07,0xcd,0x89,0x85,0x83,0x00,0x00,0x02,0x00,0x00,0x00,0x00, +0x01,0x25,0x03,0x51,0x00,0x04,0x00,0x0d,0x00,0x2f,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x04,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x04,0x10,0xba,0x00,0x08,0x00,0x00,0x00, +0x04,0x11,0x12,0x39,0x00,0xb8,0x00,0x0c,0x2f,0xb8,0x00,0x02,0x2f,0xba,0x00,0x08, +0x00,0x02,0x00,0x0c,0x11,0x12,0x39,0x30,0x31,0x13,0x11,0x17,0x33,0x11,0x27,0x15, +0x33,0x37,0x17,0x33,0x35,0x27,0x23,0x2f,0x62,0x5f,0xf0,0x61,0x31,0x32,0x61,0x61, +0x63,0x02,0x07,0xfe,0x7a,0x81,0x02,0x07,0xc7,0x84,0x8b,0x8b,0x84,0x83,0x00,0x03, +0x00,0x00,0x00,0x00,0x01,0xc6,0x03,0x50,0x00,0x04,0x00,0x08,0x00,0x0c,0x00,0x45, +0xb8,0x00,0x1e,0x2b,0xba,0x00,0x0a,0x00,0x0b,0x00,0x21,0x2b,0xb8,0x00,0x0a,0x10, +0xba,0x00,0x06,0x00,0x05,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0xba,0x00,0x00,0x00, +0x0b,0x00,0x0a,0x11,0x12,0x39,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x04,0xdc,0xb8,0x00, +0x06,0x10,0xb8,0x00,0x0e,0xdc,0x00,0xb8,0x00,0x07,0x2f,0xb8,0x00,0x0a,0x2f,0xb8, +0x00,0x02,0x2f,0x30,0x31,0x13,0x11,0x17,0x33,0x11,0x27,0x33,0x11,0x23,0x03,0x11, +0x23,0x11,0x81,0x62,0x60,0x40,0xc3,0xc3,0x3f,0xc4,0x02,0x07,0xfe,0x7a,0x81,0x02, +0x07,0x45,0x01,0x04,0xfe,0xfc,0x01,0x04,0xfe,0xfc,0x00,0x02,0xff,0xff,0x00,0x00, +0x01,0xe8,0x03,0x0e,0x00,0x0b,0x00,0x0f,0x00,0x63,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x0e,0x00,0x06,0x00,0x21,0x2b,0xb8,0x00,0x0e,0x10,0xba,0x00,0x02,0x00,0x0a,0x00, +0x21,0x2b,0xb8,0x00,0x02,0x10,0xb8,0x00,0x0a,0x10,0xb8,0x00,0x0c,0xd0,0x00,0xba, +0x00,0x03,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xba,0x00,0x01,0x00,0x02, +0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xba,0x00,0x08,0x00,0x07,0x00,0x21,0x2b,0xb8, +0x00,0x08,0x10,0xb8,0x00,0x02,0x10,0xb8,0x00,0x0a,0xd0,0xb8,0x00,0x07,0x10,0xb8, +0x00,0x0c,0xd0,0xb8,0x00,0x03,0x10,0xb8,0x00,0x0e,0xd0,0x30,0x31,0x13,0x21,0x17, +0x11,0x07,0x21,0x27,0x11,0x37,0x33,0x35,0x23,0x13,0x23,0x11,0x33,0x61,0x01,0x25, +0x62,0x62,0xfe,0xdb,0x62,0x62,0xc4,0xc4,0xc4,0x62,0x62,0x03,0x0e,0x83,0xfd,0xf6, +0x81,0x81,0x01,0x04,0x82,0x84,0xfe,0xfa,0xfe,0xfc,0x00,0x02,0x00,0x00,0x00,0x00, +0x01,0xe7,0x03,0x53,0x00,0x08,0x00,0x14,0x00,0x63,0xb8,0x00,0x1e,0x2b,0xba,0x00, +0x03,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10,0xba,0x00,0x07,0x00,0x04,0x00, +0x21,0x2b,0xb8,0x00,0x07,0x10,0xba,0x00,0x0b,0x00,0x00,0x00,0x07,0x11,0x12,0x39, +0xba,0x00,0x11,0x00,0x00,0x00,0x07,0x11,0x12,0x39,0x00,0xb8,0x00,0x01,0x2f,0xb8, +0x00,0x05,0x2f,0xb8,0x00,0x0f,0x2f,0xb8,0x00,0x12,0x2f,0xba,0x00,0x08,0x00,0x04, +0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00,0x0b,0x00,0x01,0x00,0x0f,0x11,0x12, +0x39,0xba,0x00,0x11,0x00,0x01,0x00,0x0f,0x11,0x12,0x39,0x30,0x31,0x19,0x01,0x33, +0x11,0x33,0x11,0x33,0x11,0x27,0x25,0x33,0x37,0x15,0x33,0x37,0x35,0x23,0x07,0x35, +0x23,0x07,0xc1,0x63,0xc3,0x67,0xfe,0xb4,0x61,0x62,0x62,0x62,0x62,0x62,0x62,0x61, +0x02,0x07,0xfd,0xf9,0x01,0x74,0xfe,0x8c,0x01,0x88,0x7f,0x44,0x6b,0x6b,0x85,0x83, +0x7f,0x7f,0x7f,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x53,0x00,0x07, +0x00,0x0b,0x00,0x11,0x00,0x4b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00,0x01,0x00, +0x21,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00,0x06,0x00,0x09,0x00,0x21,0x2b,0xb8,0x00, +0x06,0x10,0x00,0xb8,0x00,0x0d,0x2f,0xba,0x00,0x02,0x00,0x03,0x00,0x21,0x2b,0xb8, +0x00,0x02,0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0xb8, +0x00,0x01,0x10,0xb8,0x00,0x08,0xd0,0xb8,0x00,0x02,0x10,0xb8,0x00,0x0a,0xd0,0x30, +0x31,0x13,0x07,0x11,0x17,0x21,0x37,0x11,0x27,0x07,0x33,0x11,0x23,0x13,0x27,0x23, +0x15,0x17,0x33,0x61,0x61,0x61,0x01,0x25,0x62,0x65,0xbf,0x61,0x61,0x8f,0x63,0x62, +0x62,0x63,0x02,0x09,0x84,0xfe,0xfc,0x81,0x81,0x01,0x03,0x85,0x84,0xfe,0xfc,0x02, +0x53,0x7f,0x83,0x85,0x00,0x03,0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x53,0x00,0x07, +0x00,0x0b,0x00,0x11,0x00,0x4b,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00,0x01,0x00, +0x21,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00,0x06,0x00,0x09,0x00,0x21,0x2b,0xb8,0x00, +0x06,0x10,0x00,0xb8,0x00,0x10,0x2f,0xba,0x00,0x02,0x00,0x03,0x00,0x21,0x2b,0xb8, +0x00,0x02,0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0xb8, +0x00,0x01,0x10,0xb8,0x00,0x08,0xd0,0xb8,0x00,0x02,0x10,0xb8,0x00,0x0a,0xd0,0x30, +0x31,0x13,0x07,0x11,0x17,0x21,0x37,0x11,0x27,0x07,0x33,0x11,0x23,0x03,0x15,0x33, +0x37,0x35,0x23,0x61,0x61,0x61,0x01,0x25,0x62,0x65,0xbf,0x61,0x61,0x30,0x64,0x62, +0x62,0x02,0x09,0x84,0xfe,0xfc,0x81,0x81,0x01,0x03,0x85,0x84,0xfe,0xfc,0x02,0x53, +0x89,0x85,0x83,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x51,0x00,0x07, +0x00,0x0b,0x00,0x14,0x00,0x85,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00,0x01,0x00, +0x21,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00,0x06,0x00,0x09,0x00,0x21,0x2b,0xb8,0x00, +0x06,0x10,0xb8,0x00,0x08,0x10,0xb8,0x00,0x0e,0xd0,0xb8,0x00,0x0e,0x2f,0xba,0x00, +0x0f,0x00,0x01,0x00,0x06,0x11,0x12,0x39,0xb8,0x00,0x09,0x10,0xb8,0x00,0x10,0xd0, +0xb8,0x00,0x10,0x2f,0xb8,0x00,0x09,0x10,0xb8,0x00,0x13,0xd0,0xb8,0x00,0x13,0x2f, +0xb8,0x00,0x08,0x10,0xb8,0x00,0x14,0xd0,0xb8,0x00,0x14,0x2f,0x00,0xb8,0x00,0x13, +0x2f,0xba,0x00,0x02,0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x02,0x10,0xba,0x00,0x00, +0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0xb8,0x00,0x01,0x10,0xb8,0x00,0x08, +0xd0,0xb8,0x00,0x02,0x10,0xb8,0x00,0x0a,0xd0,0x30,0x31,0x13,0x07,0x11,0x17,0x21, +0x37,0x11,0x27,0x07,0x33,0x11,0x23,0x03,0x15,0x33,0x37,0x17,0x33,0x35,0x27,0x23, +0x61,0x61,0x61,0x01,0x25,0x62,0x65,0xbf,0x61,0x61,0x60,0x62,0x31,0x30,0x63,0x63, +0x61,0x02,0x09,0x84,0xfe,0xfc,0x81,0x81,0x01,0x03,0x85,0x84,0xfe,0xfc,0x02,0x4d, +0x84,0x8b,0x8b,0x84,0x83,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x53, +0x00,0x07,0x00,0x0b,0x00,0x17,0x00,0x63,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00, +0x01,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00,0x06,0x00,0x09,0x00,0x21,0x2b, +0xb8,0x00,0x06,0x10,0xba,0x00,0x0e,0x00,0x01,0x00,0x06,0x11,0x12,0x39,0xba,0x00, +0x14,0x00,0x01,0x00,0x06,0x11,0x12,0x39,0x00,0xb8,0x00,0x12,0x2f,0xb8,0x00,0x15, +0x2f,0xba,0x00,0x02,0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x02,0x10,0xba,0x00,0x00, +0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0xb8,0x00,0x01,0x10,0xb8,0x00,0x08, +0xd0,0xb8,0x00,0x02,0x10,0xb8,0x00,0x0a,0xd0,0x30,0x31,0x13,0x07,0x11,0x17,0x21, +0x37,0x11,0x27,0x07,0x33,0x11,0x23,0x03,0x33,0x37,0x15,0x33,0x37,0x35,0x23,0x07, +0x35,0x23,0x07,0x61,0x61,0x61,0x01,0x25,0x62,0x65,0xbf,0x61,0x61,0x90,0x61,0x62, +0x62,0x62,0x62,0x62,0x62,0x61,0x02,0x09,0x84,0xfe,0xfc,0x81,0x81,0x01,0x03,0x85, +0x84,0xfe,0xfc,0x01,0xca,0x6b,0x6b,0x85,0x83,0x7f,0x7f,0x7f,0x00,0x04,0x00,0x00, +0x00,0x00,0x01,0xe8,0x03,0x50,0x00,0x07,0x00,0x0b,0x00,0x0f,0x00,0x13,0x00,0x7b, +0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10, +0xba,0x00,0x11,0x00,0x10,0x00,0x21,0x2b,0xb8,0x00,0x11,0x10,0xba,0x00,0x09,0x00, +0x10,0x00,0x11,0x11,0x12,0x39,0xb8,0x00,0x09,0x2f,0xb8,0x00,0x06,0xdc,0xba,0x00, +0x0c,0x00,0x01,0x00,0x08,0x11,0x12,0x39,0xb8,0x00,0x0c,0x2f,0xb8,0x00,0x0f,0xdc, +0xb8,0x00,0x06,0x10,0xb8,0x00,0x15,0xdc,0x00,0xb8,0x00,0x0c,0x2f,0xb8,0x00,0x12, +0x2f,0xba,0x00,0x02,0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x02,0x10,0xba,0x00,0x00, +0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0xb8,0x00,0x01,0x10,0xb8,0x00,0x08, +0xd0,0xb8,0x00,0x02,0x10,0xb8,0x00,0x0a,0xd0,0x30,0x31,0x13,0x07,0x11,0x17,0x21, +0x37,0x11,0x27,0x07,0x33,0x11,0x23,0x03,0x11,0x33,0x11,0x13,0x37,0x11,0x23,0x61, +0x61,0x61,0x01,0x25,0x62,0x65,0xbf,0x61,0x61,0xb2,0xc4,0x3e,0xc3,0xc3,0x02,0x09, +0x84,0xfe,0xfc,0x81,0x81,0x01,0x03,0x85,0x84,0xfe,0xfc,0x02,0xcf,0xfe,0xfc,0x01, +0x04,0xfe,0xfc,0x03,0x01,0x01,0x00,0x03,0x00,0x00,0x00,0x00,0x01,0x85,0x02,0x68, +0x00,0x03,0x00,0x07,0x00,0x0b,0x00,0x47,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x07,0x00, +0x04,0x00,0x21,0x2b,0xb8,0x00,0x07,0x10,0xb8,0x00,0x04,0x10,0xb8,0x00,0x08,0xd0, +0xb8,0x00,0x07,0x10,0xb8,0x00,0x09,0xd0,0x00,0xba,0x00,0x04,0x00,0x05,0x00,0x21, +0x2b,0xb8,0x00,0x04,0x10,0xba,0x00,0x0b,0x00,0x08,0x00,0x21,0x2b,0xb8,0x00,0x0b, +0x10,0xba,0x00,0x00,0x00,0x01,0x00,0x21,0x2b,0xb8,0x00,0x00,0x10,0x30,0x31,0x11, +0x15,0x21,0x35,0x05,0x15,0x33,0x35,0x03,0x33,0x35,0x23,0x01,0x85,0xfe,0xf9,0x89, +0x89,0x89,0x89,0x01,0x7a,0x83,0x83,0xce,0xac,0xac,0x01,0x10,0xac,0x00,0x00,0x03, +0x00,0x00,0x00,0x00,0x01,0xe8,0x02,0x09,0x00,0x07,0x00,0x0a,0x00,0x0d,0x00,0x4f, +0xb8,0x00,0x1e,0x2b,0xba,0x00,0x09,0x00,0x06,0x00,0x21,0x2b,0xb8,0x00,0x09,0x10, +0xba,0x00,0x02,0x00,0x0b,0x00,0x21,0x2b,0xb8,0x00,0x02,0x10,0x00,0xb8,0x00,0x00, +0x2f,0xb8,0x00,0x04,0x2f,0xba,0x00,0x09,0x00,0x04,0x00,0x00,0x11,0x12,0x39,0xba, +0x00,0x0a,0x00,0x04,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x0b,0x00,0x04,0x00,0x00, +0x11,0x12,0x39,0xba,0x00,0x0c,0x00,0x04,0x00,0x00,0x11,0x12,0x39,0x30,0x31,0x13, +0x21,0x17,0x11,0x07,0x21,0x27,0x11,0x33,0x15,0x37,0x17,0x07,0x33,0x61,0x01,0x22, +0x65,0x62,0xfe,0xdb,0x61,0xc4,0x46,0x1b,0x3f,0x3f,0x02,0x09,0x85,0xfe,0xfd,0x81, +0x81,0x01,0x04,0xa1,0xa1,0x6e,0x96,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x01,0xe8, +0x03,0x53,0x00,0x08,0x00,0x0e,0x00,0x33,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00, +0x00,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00,0x04,0x00,0x05,0x00,0x21,0x2b, +0xb8,0x00,0x04,0x10,0x00,0xb8,0x00,0x0a,0x2f,0xba,0x00,0x01,0x00,0x02,0x00,0x21, +0x2b,0xb8,0x00,0x01,0x10,0xb8,0x00,0x06,0xd0,0x30,0x31,0x19,0x01,0x17,0x21,0x11, +0x23,0x11,0x23,0x11,0x37,0x27,0x23,0x15,0x17,0x33,0x61,0x01,0x87,0xc3,0x61,0x8f, +0x63,0x62,0x62,0x63,0x02,0x07,0xfe,0x7a,0x81,0x02,0x07,0xfe,0x7a,0x01,0x86,0xcd, +0x7f,0x83,0x85,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x53,0x00,0x08, +0x00,0x0e,0x00,0x33,0xb8,0x00,0x1e,0x2b,0xba,0x00,0x08,0x00,0x00,0x00,0x21,0x2b, +0xb8,0x00,0x08,0x10,0xba,0x00,0x04,0x00,0x05,0x00,0x21,0x2b,0xb8,0x00,0x04,0x10, +0x00,0xb8,0x00,0x0d,0x2f,0xba,0x00,0x01,0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01, +0x10,0xb8,0x00,0x06,0xd0,0x30,0x31,0x19,0x01,0x17,0x21,0x11,0x23,0x11,0x23,0x11, +0x27,0x15,0x33,0x37,0x35,0x23,0x61,0x01,0x87,0xc3,0x61,0x30,0x64,0x62,0x62,0x02, +0x07,0xfe,0x7a,0x81,0x02,0x07,0xfe,0x7a,0x01,0x86,0xcd,0x89,0x85,0x83,0x00,0x02, +0x00,0x00,0x00,0x00,0x01,0xe8,0x03,0x51,0x00,0x08,0x00,0x11,0x00,0x6d,0xb8,0x00, +0x1e,0x2b,0xba,0x00,0x08,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00, +0x04,0x00,0x05,0x00,0x21,0x2b,0xb8,0x00,0x04,0x10,0xb8,0x00,0x08,0x10,0xb8,0x00, +0x0b,0xd0,0xb8,0x00,0x0b,0x2f,0xba,0x00,0x0c,0x00,0x00,0x00,0x04,0x11,0x12,0x39, +0xb8,0x00,0x05,0x10,0xb8,0x00,0x0d,0xd0,0xb8,0x00,0x0d,0x2f,0xb8,0x00,0x05,0x10, +0xb8,0x00,0x10,0xd0,0xb8,0x00,0x10,0x2f,0xb8,0x00,0x08,0x10,0xb8,0x00,0x11,0xd0, +0xb8,0x00,0x11,0x2f,0x00,0xb8,0x00,0x10,0x2f,0xba,0x00,0x01,0x00,0x02,0x00,0x21, +0x2b,0xb8,0x00,0x01,0x10,0xb8,0x00,0x06,0xd0,0x30,0x31,0x19,0x01,0x17,0x21,0x11, +0x23,0x11,0x23,0x11,0x27,0x15,0x33,0x37,0x17,0x33,0x35,0x27,0x23,0x61,0x01,0x87, +0xc3,0x61,0x60,0x62,0x31,0x30,0x63,0x63,0x61,0x02,0x07,0xfe,0x7a,0x81,0x02,0x07, +0xfe,0x7a,0x01,0x86,0xc7,0x84,0x8b,0x8b,0x84,0x83,0x00,0x03,0x00,0x00,0x00,0x00, +0x01,0xe8,0x03,0x50,0x00,0x08,0x00,0x0c,0x00,0x10,0x00,0x63,0xb8,0x00,0x1e,0x2b, +0xba,0x00,0x08,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00,0x0e,0x00, +0x0d,0x00,0x21,0x2b,0xb8,0x00,0x0e,0x10,0xba,0x00,0x05,0x00,0x0d,0x00,0x0e,0x11, +0x12,0x39,0xb8,0x00,0x05,0x2f,0xb8,0x00,0x04,0xdc,0xba,0x00,0x09,0x00,0x00,0x00, +0x08,0x11,0x12,0x39,0xb8,0x00,0x09,0x2f,0xb8,0x00,0x0c,0xdc,0xb8,0x00,0x04,0x10, +0xb8,0x00,0x12,0xdc,0x00,0xb8,0x00,0x09,0x2f,0xb8,0x00,0x0f,0x2f,0xba,0x00,0x01, +0x00,0x02,0x00,0x21,0x2b,0xb8,0x00,0x01,0x10,0xb8,0x00,0x06,0xd0,0x30,0x31,0x19, +0x01,0x17,0x21,0x11,0x23,0x11,0x23,0x11,0x03,0x11,0x33,0x11,0x13,0x17,0x11,0x23, +0x61,0x01,0x87,0xc3,0x61,0xb2,0xc4,0x3e,0xc3,0xc3,0x02,0x07,0xfe,0x7a,0x81,0x02, +0x07,0xfe,0x7a,0x01,0x86,0x01,0x49,0xfe,0xfc,0x01,0x04,0xfe,0xfc,0x03,0x01,0x07, +0x00,0x02,0x00,0x00,0xfe,0xfd,0x01,0xe8,0x03,0x53,0x00,0x0d,0x00,0x13,0x00,0x47, +0xb8,0x00,0x1e,0x2b,0xba,0x00,0x03,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10, +0xba,0x00,0x0d,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x0d,0x10,0xb8,0x00,0x00,0x10, +0xb8,0x00,0x07,0xd0,0xb8,0x00,0x07,0x2f,0x00,0xb8,0x00,0x12,0x2f,0xba,0x00,0x09, +0x00,0x0a,0x00,0x21,0x2b,0xb8,0x00,0x09,0x10,0xba,0x00,0x02,0x00,0x07,0x00,0x21, +0x2b,0xb8,0x00,0x02,0x10,0x30,0x31,0x01,0x11,0x23,0x11,0x23,0x11,0x17,0x33,0x15, +0x23,0x15,0x21,0x37,0x11,0x25,0x15,0x33,0x37,0x35,0x23,0x01,0x24,0x62,0xc2,0x5e, +0xc2,0xbf,0x01,0x25,0x62,0xfe,0xac,0x64,0x62,0x62,0x02,0x09,0xfe,0x79,0x01,0x87, +0xfe,0x78,0x81,0x76,0x8d,0x7f,0x02,0x8d,0xcb,0x89,0x85,0x83,0x00,0x02,0x00,0x00, +0xfe,0xfb,0x01,0xe9,0x02,0x06,0x00,0x09,0x00,0x0d,0x00,0x4f,0xb8,0x00,0x1e,0x2b, +0xba,0x00,0x09,0x00,0x00,0x00,0x21,0x2b,0xb8,0x00,0x09,0x10,0xba,0x00,0x06,0x00, +0x0b,0x00,0x21,0x2b,0xb8,0x00,0x06,0x10,0xb8,0x00,0x09,0x10,0xb8,0x00,0x02,0xd0, +0xb8,0x00,0x09,0x10,0xb8,0x00,0x0a,0xd0,0x00,0xb8,0x00,0x01,0x2f,0xb8,0x00,0x00, +0x2f,0xba,0x00,0x0d,0x00,0x03,0x00,0x21,0x2b,0xb8,0x00,0x0d,0x10,0xba,0x00,0x08, +0x00,0x0a,0x00,0x21,0x2b,0xb8,0x00,0x08,0x10,0x30,0x31,0x19,0x01,0x33,0x35,0x33, +0x37,0x11,0x27,0x23,0x35,0x11,0x33,0x11,0x23,0xc4,0xc7,0x5e,0x65,0xc0,0x62,0x62, +0x02,0x06,0xfc,0xf5,0x84,0x81,0x01,0x14,0x72,0x80,0xfe,0xff,0xfe,0xfb,0x00,0x03, +0x00,0x00,0xfe,0xfd,0x01,0xe8,0x03,0x50,0x00,0x0d,0x00,0x11,0x00,0x15,0x00,0x77, +0xb8,0x00,0x1e,0x2b,0xba,0x00,0x03,0x00,0x04,0x00,0x21,0x2b,0xb8,0x00,0x03,0x10, +0xba,0x00,0x13,0x00,0x12,0x00,0x21,0x2b,0xb8,0x00,0x13,0x10,0xba,0x00,0x00,0x00, +0x12,0x00,0x13,0x11,0x12,0x39,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x07,0xd0,0xb8,0x00, +0x07,0x2f,0xb8,0x00,0x00,0x10,0xb8,0x00,0x0d,0xdc,0xba,0x00,0x0e,0x00,0x04,0x00, +0x03,0x11,0x12,0x39,0xb8,0x00,0x0e,0x2f,0xb8,0x00,0x11,0xdc,0xb8,0x00,0x0d,0x10, +0xb8,0x00,0x17,0xdc,0x00,0xb8,0x00,0x0e,0x2f,0xb8,0x00,0x14,0x2f,0xba,0x00,0x09, +0x00,0x0a,0x00,0x21,0x2b,0xb8,0x00,0x09,0x10,0xba,0x00,0x02,0x00,0x07,0x00,0x21, +0x2b,0xb8,0x00,0x02,0x10,0x30,0x31,0x01,0x11,0x23,0x11,0x23,0x11,0x17,0x33,0x15, +0x23,0x15,0x21,0x37,0x11,0x01,0x11,0x33,0x11,0x13,0x17,0x11,0x23,0x01,0x24,0x62, +0xc2,0x5e,0xc2,0xbf,0x01,0x25,0x62,0xfe,0x2a,0xc4,0x3e,0xc3,0xc3,0x02,0x09,0xfe, +0x79,0x01,0x87,0xfe,0x78,0x81,0x76,0x8d,0x7f,0x02,0x8d,0x01,0x47,0xfe,0xfc,0x01, +0x04,0xfe,0xfc,0x03,0x01,0x07,0x00,0x01,0x00,0x85,0x01,0x08,0x02,0x14,0x01,0x8d, +0x00,0x03,0x00,0x0f,0xb8,0x00,0x0a,0x2b,0x00,0xba,0x00,0x00,0x00,0x01,0x00,0x0d, +0x2b,0x30,0x31,0x13,0x15,0x21,0x35,0x85,0x01,0x8f,0x01,0x8d,0x85,0x85,0x00,0x00, +0x00,0x00,0x00,0x1b,0x00,0x00,0x00,0xe4,0x09,0x0a,0x05,0x00,0x09,0x03,0x02,0x05, +0x05,0x05,0x06,0x05,0x02,0x03,0x04,0x03,0x03,0x02,0x03,0x02,0x03,0x05,0x04,0x05, +0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x02,0x02,0x04,0x03,0x04,0x05,0x05,0x05,0x05, +0x05,0x05,0x05,0x05,0x05,0x05,0x04,0x04,0x05,0x05,0x06,0x05,0x05,0x05,0x05,0x05, +0x05,0x04,0x05,0x05,0x06,0x05,0x05,0x05,0x03,0x03,0x04,0x03,0x05,0x03,0x05,0x05, +0x05,0x05,0x05,0x05,0x05,0x05,0x02,0x02,0x05,0x03,0x08,0x05,0x05,0x05,0x05,0x05, +0x05,0x04,0x05,0x05,0x08,0x05,0x05,0x05,0x04,0x01,0x04,0x04,0x05,0x02,0x05,0x05, +0x07,0x04,0x04,0x03,0x09,0x05,0x02,0x08,0x05,0x02,0x02,0x05,0x05,0x05,0x03,0x04, +0x04,0x06,0x05,0x02,0x09,0x05,0x05,0x03,0x02,0x05,0x05,0x05,0x06,0x02,0x05,0x04, +0x05,0x03,0x04,0x04,0x02,0x0a,0x05,0x03,0x03,0x03,0x03,0x03,0x05,0x05,0x02,0x02, +0x02,0x03,0x04,0x06,0x06,0x06,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x07,0x05,0x05, +0x05,0x05,0x05,0x04,0x04,0x04,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x04,0x05, +0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x08,0x05,0x05, +0x05,0x05,0x05,0x02,0x02,0x03,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x04,0x05, +0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x06,0x09,0x00,0x00,0x00,0x0a,0x0b,0x05,0x00, +0x0a,0x03,0x03,0x05,0x05,0x05,0x07,0x05,0x03,0x03,0x04,0x03,0x03,0x03,0x03,0x03, +0x03,0x05,0x04,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x03,0x03,0x04,0x03,0x05, +0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x04,0x04,0x05,0x05,0x07,0x05, +0x05,0x05,0x05,0x05,0x05,0x04,0x05,0x05,0x07,0x05,0x05,0x05,0x03,0x03,0x04,0x03, +0x05,0x03,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x03,0x03,0x05,0x03,0x08,0x05, +0x05,0x05,0x05,0x05,0x05,0x04,0x05,0x05,0x08,0x05,0x05,0x05,0x04,0x02,0x04,0x04, +0x05,0x03,0x05,0x05,0x08,0x04,0x04,0x03,0x0a,0x05,0x03,0x09,0x05,0x03,0x03,0x05, +0x05,0x05,0x03,0x04,0x04,0x06,0x05,0x03,0x09,0x05,0x06,0x03,0x03,0x05,0x06,0x06, +0x06,0x03,0x06,0x05,0x05,0x03,0x05,0x04,0x03,0x0b,0x05,0x03,0x03,0x03,0x03,0x03, +0x05,0x05,0x03,0x02,0x02,0x03,0x05,0x06,0x07,0x07,0x05,0x05,0x05,0x05,0x05,0x06, +0x06,0x08,0x05,0x05,0x05,0x05,0x06,0x04,0x04,0x04,0x05,0x06,0x05,0x05,0x05,0x05, +0x05,0x06,0x04,0x05,0x05,0x05,0x05,0x06,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x06, +0x06,0x09,0x05,0x05,0x05,0x05,0x06,0x03,0x03,0x03,0x05,0x05,0x05,0x05,0x05,0x05, +0x05,0x06,0x04,0x05,0x05,0x05,0x05,0x06,0x05,0x05,0x06,0x06,0x0a,0x00,0x00,0x00, +0x0b,0x0c,0x06,0x00,0x0b,0x03,0x03,0x06,0x06,0x06,0x07,0x06,0x03,0x04,0x04,0x04, +0x04,0x03,0x04,0x03,0x04,0x06,0x05,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x03, +0x03,0x05,0x04,0x05,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x05,0x04, +0x06,0x06,0x08,0x06,0x06,0x06,0x06,0x06,0x06,0x05,0x06,0x06,0x08,0x06,0x06,0x06, +0x04,0x04,0x04,0x04,0x06,0x04,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x03,0x03, +0x06,0x04,0x09,0x06,0x06,0x06,0x06,0x06,0x06,0x05,0x06,0x06,0x09,0x06,0x06,0x06, +0x05,0x02,0x05,0x05,0x06,0x03,0x06,0x06,0x08,0x05,0x05,0x04,0x0a,0x06,0x03,0x0a, +0x06,0x03,0x03,0x06,0x06,0x06,0x04,0x05,0x05,0x07,0x06,0x03,0x0a,0x06,0x06,0x03, +0x03,0x06,0x07,0x06,0x07,0x03,0x06,0x05,0x06,0x03,0x05,0x04,0x03,0x0c,0x06,0x03, +0x04,0x03,0x03,0x04,0x06,0x06,0x03,0x02,0x03,0x03,0x05,0x07,0x07,0x07,0x06,0x06, +0x06,0x06,0x06,0x06,0x06,0x09,0x06,0x06,0x06,0x06,0x06,0x05,0x05,0x05,0x05,0x07, +0x06,0x06,0x06,0x06,0x06,0x06,0x05,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, +0x06,0x06,0x06,0x06,0x06,0x09,0x06,0x06,0x06,0x06,0x06,0x03,0x03,0x04,0x06,0x06, +0x06,0x06,0x06,0x06,0x06,0x06,0x05,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x07, +0x0b,0x00,0x00,0x00,0x0c,0x0d,0x06,0x00,0x0c,0x04,0x03,0x06,0x06,0x06,0x08,0x06, +0x03,0x04,0x04,0x04,0x04,0x03,0x04,0x03,0x04,0x06,0x05,0x06,0x06,0x06,0x06,0x06, +0x06,0x06,0x06,0x03,0x03,0x05,0x04,0x05,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, +0x06,0x06,0x05,0x04,0x06,0x06,0x09,0x06,0x06,0x06,0x06,0x06,0x06,0x05,0x06,0x06, +0x09,0x06,0x06,0x06,0x04,0x04,0x04,0x04,0x06,0x04,0x06,0x06,0x06,0x06,0x06,0x06, +0x06,0x06,0x03,0x03,0x06,0x04,0x0a,0x06,0x06,0x06,0x06,0x06,0x06,0x05,0x06,0x06, +0x0a,0x06,0x06,0x06,0x05,0x02,0x05,0x05,0x06,0x03,0x06,0x06,0x09,0x05,0x05,0x04, +0x0b,0x06,0x03,0x0b,0x06,0x03,0x03,0x06,0x06,0x06,0x04,0x05,0x05,0x07,0x06,0x03, +0x0b,0x06,0x06,0x04,0x03,0x06,0x07,0x06,0x08,0x03,0x06,0x06,0x06,0x03,0x06,0x04, +0x03,0x0d,0x06,0x03,0x04,0x03,0x03,0x04,0x06,0x06,0x03,0x02,0x03,0x03,0x06,0x07, +0x08,0x08,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x0a,0x06,0x06,0x06,0x06,0x06,0x05, +0x05,0x05,0x05,0x07,0x06,0x06,0x06,0x06,0x06,0x06,0x05,0x06,0x06,0x06,0x06,0x06, +0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x0a,0x06,0x06,0x06,0x06,0x06,0x03, +0x03,0x04,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x05,0x06,0x06,0x06,0x06,0x06, +0x06,0x06,0x06,0x08,0x0c,0x00,0x00,0x00,0x0d,0x0e,0x07,0x00,0x0d,0x04,0x03,0x07, +0x07,0x07,0x08,0x07,0x03,0x04,0x04,0x04,0x04,0x03,0x04,0x03,0x04,0x07,0x06,0x07, +0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x03,0x03,0x06,0x04,0x06,0x07,0x07,0x07,0x07, +0x07,0x07,0x07,0x07,0x07,0x07,0x06,0x04,0x07,0x07,0x09,0x07,0x07,0x07,0x07,0x07, +0x07,0x06,0x07,0x07,0x09,0x07,0x07,0x07,0x04,0x04,0x04,0x04,0x07,0x04,0x07,0x07, +0x07,0x07,0x07,0x07,0x07,0x07,0x03,0x03,0x07,0x04,0x0a,0x07,0x07,0x07,0x07,0x07, +0x07,0x06,0x07,0x07,0x0a,0x07,0x07,0x07,0x06,0x02,0x06,0x06,0x07,0x03,0x07,0x07, +0x0a,0x06,0x06,0x04,0x0c,0x07,0x03,0x0c,0x07,0x03,0x03,0x07,0x07,0x07,0x04,0x06, +0x06,0x08,0x07,0x03,0x0b,0x07,0x07,0x04,0x03,0x07,0x08,0x07,0x08,0x03,0x07,0x06, +0x07,0x04,0x06,0x04,0x03,0x0e,0x07,0x04,0x04,0x04,0x04,0x04,0x07,0x07,0x03,0x03, +0x03,0x04,0x06,0x08,0x08,0x08,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x0a,0x07,0x07, +0x07,0x07,0x07,0x06,0x06,0x06,0x05,0x08,0x07,0x07,0x07,0x07,0x07,0x07,0x06,0x07, +0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x0b,0x07,0x07, +0x07,0x07,0x07,0x03,0x03,0x04,0x06,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x06,0x07, +0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x08,0x0d,0x00,0x00,0x00,0x0f,0x11,0x08,0x00, +0x0f,0x05,0x04,0x08,0x08,0x08,0x09,0x08,0x04,0x05,0x05,0x05,0x05,0x04,0x05,0x04, +0x05,0x08,0x07,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x04,0x04,0x07,0x05,0x07, +0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x07,0x05,0x08,0x08,0x0b,0x08, +0x08,0x08,0x08,0x08,0x08,0x07,0x08,0x08,0x0b,0x08,0x08,0x08,0x05,0x05,0x05,0x05, +0x08,0x05,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x04,0x04,0x08,0x05,0x0c,0x08, +0x08,0x08,0x08,0x08,0x08,0x07,0x08,0x08,0x0c,0x08,0x08,0x08,0x07,0x02,0x07,0x07, +0x08,0x04,0x08,0x08,0x0b,0x07,0x07,0x05,0x0e,0x08,0x04,0x0d,0x08,0x04,0x04,0x08, +0x08,0x08,0x05,0x06,0x07,0x09,0x08,0x04,0x0d,0x08,0x08,0x05,0x04,0x08,0x09,0x08, +0x09,0x04,0x08,0x07,0x08,0x04,0x07,0x05,0x04,0x11,0x08,0x04,0x05,0x04,0x04,0x05, +0x08,0x08,0x04,0x03,0x04,0x04,0x07,0x0a,0x09,0x0a,0x08,0x08,0x08,0x08,0x08,0x08, +0x08,0x0c,0x08,0x08,0x08,0x08,0x08,0x07,0x07,0x07,0x07,0x09,0x08,0x08,0x08,0x08, +0x08,0x08,0x06,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, +0x08,0x0d,0x08,0x08,0x08,0x08,0x08,0x04,0x04,0x05,0x08,0x08,0x08,0x08,0x08,0x08, +0x08,0x08,0x07,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x0a,0x0f,0x00,0x00,0x00, +0x10,0x12,0x08,0x00,0x10,0x05,0x04,0x08,0x08,0x08,0x0a,0x08,0x04,0x05,0x05,0x05, +0x05,0x04,0x05,0x04,0x05,0x08,0x07,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x04, +0x04,0x07,0x05,0x07,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x07,0x05, +0x08,0x08,0x0b,0x08,0x08,0x08,0x08,0x08,0x08,0x07,0x08,0x08,0x0b,0x08,0x08,0x08, +0x05,0x05,0x05,0x05,0x09,0x05,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x04,0x04, +0x08,0x05,0x0d,0x08,0x08,0x08,0x08,0x08,0x08,0x07,0x08,0x08,0x0d,0x08,0x08,0x08, +0x07,0x03,0x07,0x07,0x08,0x04,0x08,0x08,0x0c,0x07,0x07,0x05,0x0e,0x08,0x04,0x0e, +0x08,0x04,0x04,0x08,0x08,0x08,0x05,0x07,0x07,0x09,0x08,0x04,0x0e,0x08,0x08,0x05, +0x04,0x08,0x0a,0x08,0x0a,0x04,0x08,0x08,0x08,0x05,0x08,0x06,0x04,0x12,0x09,0x05, +0x05,0x05,0x05,0x05,0x08,0x08,0x04,0x03,0x04,0x05,0x08,0x0a,0x0a,0x0b,0x08,0x08, +0x08,0x08,0x08,0x08,0x08,0x0d,0x08,0x08,0x08,0x08,0x08,0x07,0x07,0x07,0x07,0x09, +0x08,0x08,0x08,0x08,0x08,0x08,0x07,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, +0x08,0x08,0x08,0x08,0x08,0x0e,0x08,0x08,0x08,0x08,0x08,0x04,0x04,0x05,0x08,0x08, +0x08,0x08,0x08,0x08,0x08,0x08,0x07,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x0a, +0x10,0x00,0x00,0x00,0x11,0x12,0x09,0x00,0x11,0x05,0x04,0x09,0x09,0x09,0x0b,0x09, +0x04,0x06,0x06,0x06,0x06,0x04,0x06,0x04,0x06,0x09,0x07,0x09,0x09,0x09,0x09,0x09, +0x09,0x09,0x09,0x04,0x04,0x07,0x06,0x07,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, +0x09,0x09,0x07,0x06,0x09,0x09,0x0c,0x09,0x09,0x09,0x09,0x09,0x09,0x07,0x09,0x09, +0x0c,0x09,0x09,0x09,0x06,0x06,0x06,0x06,0x09,0x06,0x09,0x09,0x09,0x09,0x09,0x09, +0x09,0x09,0x04,0x04,0x09,0x06,0x0d,0x09,0x09,0x09,0x09,0x09,0x09,0x07,0x09,0x09, +0x0d,0x09,0x09,0x09,0x07,0x03,0x07,0x07,0x09,0x04,0x09,0x09,0x0c,0x07,0x07,0x06, +0x10,0x09,0x04,0x0f,0x09,0x04,0x04,0x09,0x09,0x09,0x06,0x07,0x07,0x0a,0x09,0x04, +0x0f,0x09,0x09,0x05,0x04,0x09,0x0a,0x09,0x0b,0x04,0x09,0x08,0x09,0x05,0x08,0x06, +0x05,0x12,0x09,0x05,0x06,0x05,0x05,0x06,0x09,0x09,0x04,0x03,0x04,0x05,0x08,0x0b, +0x0b,0x0c,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x0e,0x09,0x09,0x09,0x09,0x09,0x07, +0x07,0x07,0x08,0x0a,0x09,0x09,0x09,0x09,0x09,0x09,0x07,0x09,0x09,0x09,0x09,0x09, +0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x08,0x09,0x0f,0x09,0x09,0x09,0x09,0x08,0x04, +0x04,0x06,0x08,0x09,0x09,0x09,0x09,0x09,0x09,0x08,0x07,0x09,0x09,0x09,0x09,0x08, +0x09,0x09,0x08,0x0b,0x11,0x00,0x00,0x00,0x13,0x15,0x0a,0x00,0x13,0x06,0x05,0x0a, +0x0a,0x0a,0x0c,0x0a,0x05,0x07,0x06,0x07,0x07,0x05,0x07,0x05,0x06,0x0a,0x08,0x0a, +0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x05,0x05,0x08,0x07,0x08,0x0a,0x0a,0x0a,0x0a, +0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x08,0x06,0x0a,0x0a,0x0e,0x0a,0x0a,0x0a,0x0a,0x0a, +0x0a,0x08,0x0a,0x0a,0x0e,0x0a,0x0a,0x0a,0x07,0x07,0x06,0x07,0x0a,0x07,0x0a,0x0a, +0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x05,0x05,0x0a,0x07,0x0f,0x0a,0x0a,0x0a,0x0a,0x0a, +0x0a,0x08,0x0a,0x0a,0x0f,0x0a,0x0a,0x0a,0x08,0x03,0x08,0x08,0x0a,0x05,0x0a,0x0a, +0x0f,0x08,0x08,0x06,0x11,0x0a,0x05,0x11,0x0a,0x05,0x05,0x0a,0x0a,0x0a,0x07,0x08, +0x08,0x0b,0x0a,0x05,0x10,0x0a,0x0a,0x06,0x05,0x0a,0x0b,0x0a,0x0c,0x05,0x0a,0x09, +0x0a,0x05,0x09,0x06,0x05,0x15,0x0a,0x05,0x07,0x05,0x05,0x07,0x0a,0x0a,0x05,0x04, +0x05,0x05,0x09,0x0c,0x0c,0x0d,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0f,0x0a,0x0a, +0x0a,0x0a,0x0a,0x08,0x08,0x08,0x09,0x0b,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x08,0x0a, +0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x10,0x0a,0x0a, +0x0a,0x0a,0x0a,0x05,0x05,0x07,0x09,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x08,0x0a, +0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0c,0x13,0x00,0x00,0x00,0x15,0x17,0x0b,0x00, +0x15,0x06,0x05,0x0b,0x0b,0x0b,0x0d,0x0b,0x05,0x07,0x07,0x07,0x07,0x05,0x07,0x05, +0x07,0x0b,0x09,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x05,0x05,0x09,0x07,0x09, +0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x09,0x07,0x0b,0x0b,0x0f,0x0b, +0x0b,0x0b,0x0b,0x0b,0x0b,0x09,0x0b,0x0b,0x0f,0x0b,0x0b,0x0b,0x07,0x07,0x07,0x07, +0x0b,0x07,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x05,0x05,0x0b,0x07,0x11,0x0b, +0x0b,0x0b,0x0b,0x0b,0x0b,0x09,0x0b,0x0b,0x11,0x0b,0x0b,0x0b,0x09,0x03,0x09,0x09, +0x0b,0x05,0x0b,0x0b,0x10,0x09,0x09,0x07,0x13,0x0b,0x05,0x13,0x0b,0x05,0x05,0x0b, +0x0b,0x0b,0x07,0x09,0x09,0x0c,0x0b,0x05,0x13,0x0b,0x0b,0x06,0x05,0x0b,0x0d,0x0b, +0x0d,0x05,0x0b,0x0a,0x0b,0x06,0x0a,0x07,0x06,0x17,0x0b,0x06,0x07,0x06,0x06,0x07, +0x0b,0x0b,0x05,0x04,0x05,0x06,0x0a,0x0d,0x0d,0x0e,0x0b,0x0b,0x0b,0x0b,0x0b,0x0a, +0x0b,0x11,0x0b,0x0b,0x0b,0x0b,0x0b,0x09,0x09,0x09,0x0a,0x0c,0x0b,0x0b,0x0b,0x0b, +0x0b,0x0a,0x09,0x0b,0x0b,0x0b,0x0b,0x0a,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0a, +0x0b,0x12,0x0b,0x0b,0x0b,0x0b,0x0a,0x05,0x05,0x07,0x0a,0x0b,0x0b,0x0b,0x0b,0x0b, +0x0b,0x0a,0x09,0x0b,0x0b,0x0b,0x0b,0x0a,0x0b,0x0b,0x0a,0x0e,0x15,0x00,0x00,0x00, +0x18,0x1a,0x0c,0x00,0x18,0x07,0x06,0x0d,0x0d,0x0d,0x0f,0x0d,0x06,0x08,0x08,0x08, +0x08,0x06,0x08,0x06,0x08,0x0d,0x0a,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x06, +0x06,0x0a,0x08,0x0b,0x0d,0x0c,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0a,0x08, +0x0d,0x0d,0x11,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0a,0x0d,0x0d,0x11,0x0d,0x0d,0x0d, +0x08,0x08,0x08,0x08,0x0d,0x08,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x06,0x06, +0x0d,0x08,0x13,0x0d,0x0d,0x0d,0x0d,0x0d,0x0c,0x0a,0x0d,0x0d,0x13,0x0d,0x0d,0x0d, +0x0a,0x04,0x0a,0x0a,0x0d,0x06,0x0d,0x0d,0x12,0x0a,0x0a,0x08,0x15,0x0d,0x06,0x15, +0x0d,0x06,0x06,0x0d,0x0d,0x0d,0x08,0x0a,0x0a,0x0e,0x0c,0x06,0x15,0x0d,0x0d,0x07, +0x06,0x0d,0x0e,0x0d,0x0f,0x06,0x0d,0x0c,0x0d,0x07,0x0c,0x08,0x06,0x1a,0x0d,0x07, +0x08,0x07,0x07,0x08,0x0d,0x0d,0x06,0x05,0x06,0x07,0x0c,0x0e,0x10,0x0f,0x0d,0x0d, +0x0d,0x0d,0x0d,0x0c,0x0d,0x13,0x0d,0x0d,0x0d,0x0d,0x0c,0x0a,0x0a,0x0a,0x0a,0x0e, +0x0d,0x0d,0x0d,0x0d,0x0d,0x0c,0x0a,0x0d,0x0d,0x0d,0x0d,0x0c,0x0d,0x0d,0x0d,0x0d, +0x0d,0x0d,0x0d,0x0c,0x0d,0x15,0x0d,0x0d,0x0d,0x0d,0x0c,0x06,0x06,0x08,0x0c,0x0d, +0x0d,0x0d,0x0d,0x0d,0x0d,0x0c,0x0a,0x0d,0x0d,0x0d,0x0d,0x0c,0x0d,0x0d,0x0c,0x0f, +0x18,0x00,0x00,0x00,0x1b,0x1d,0x0e,0x00,0x1b,0x08,0x07,0x0e,0x0e,0x0e,0x11,0x0e, +0x07,0x09,0x09,0x09,0x09,0x07,0x09,0x07,0x09,0x0e,0x0c,0x0e,0x0e,0x0e,0x0e,0x0e, +0x0e,0x0e,0x0e,0x07,0x07,0x0c,0x09,0x0c,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, +0x0e,0x0e,0x0c,0x09,0x0e,0x0e,0x13,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0c,0x0e,0x0e, +0x13,0x0e,0x0e,0x0e,0x09,0x09,0x09,0x09,0x0e,0x09,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, +0x0e,0x0e,0x07,0x07,0x0e,0x09,0x16,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0c,0x0e,0x0e, +0x16,0x0e,0x0e,0x0e,0x0c,0x04,0x0c,0x0c,0x0e,0x07,0x0e,0x0e,0x14,0x0c,0x0c,0x09, +0x19,0x0e,0x07,0x18,0x0e,0x07,0x07,0x0e,0x0e,0x0e,0x09,0x0c,0x0c,0x10,0x0e,0x07, +0x18,0x0e,0x0e,0x08,0x07,0x0e,0x10,0x0e,0x11,0x07,0x0e,0x0d,0x0e,0x08,0x0d,0x0a, +0x07,0x1d,0x0e,0x08,0x09,0x08,0x08,0x09,0x0e,0x0e,0x07,0x05,0x06,0x08,0x0d,0x11, +0x11,0x12,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x16,0x0e,0x0e,0x0e,0x0e,0x0e,0x0c, +0x0c,0x0c,0x0b,0x10,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0b,0x0e,0x0e,0x0e,0x0e,0x0e, +0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x17,0x0e,0x0e,0x0e,0x0e,0x0e,0x07, +0x07,0x09,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0c,0x0e,0x0e,0x0e,0x0e,0x0e, +0x0e,0x0e,0x0e,0x11,0x1b,0x00,0x00,0x00,0x1d,0x1f,0x0f,0x00,0x1d,0x09,0x07,0x0f, +0x0f,0x0f,0x13,0x0f,0x07,0x0a,0x0a,0x0a,0x0a,0x07,0x0a,0x07,0x0a,0x0f,0x0d,0x0f, +0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x07,0x07,0x0d,0x0a,0x0d,0x0f,0x0f,0x0f,0x0f, +0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0d,0x0a,0x0f,0x0f,0x15,0x0f,0x0f,0x0f,0x0f,0x0f, +0x0f,0x0d,0x0f,0x0f,0x15,0x0f,0x0f,0x0f,0x0a,0x0a,0x0a,0x0a,0x0f,0x0a,0x0f,0x0f, +0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x07,0x07,0x0f,0x0a,0x17,0x0f,0x0f,0x0f,0x0f,0x0f, +0x0f,0x0d,0x0f,0x0f,0x17,0x0f,0x0f,0x0f,0x0d,0x05,0x0d,0x0d,0x0f,0x07,0x0f,0x0f, +0x15,0x0d,0x0d,0x0a,0x1b,0x0f,0x07,0x1a,0x0f,0x07,0x07,0x0f,0x0f,0x0f,0x0a,0x0c, +0x0d,0x11,0x0f,0x07,0x1a,0x0f,0x0f,0x09,0x07,0x0f,0x11,0x0f,0x12,0x07,0x0f,0x0e, +0x0f,0x08,0x0e,0x0a,0x08,0x1f,0x0f,0x08,0x0a,0x08,0x08,0x0a,0x0f,0x0f,0x07,0x06, +0x07,0x08,0x0e,0x12,0x13,0x13,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x17,0x0f,0x0f, +0x0f,0x0f,0x0f,0x0d,0x0d,0x0d,0x0b,0x11,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0c,0x0f, +0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x19,0x0f,0x0f, +0x0f,0x0f,0x0f,0x07,0x07,0x0a,0x0e,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0d,0x0f, +0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x13,0x1d,0x00,0x00,0x00,0x20,0x23,0x10,0x00, +0x20,0x0a,0x08,0x11,0x11,0x11,0x15,0x11,0x08,0x0b,0x0b,0x0b,0x0b,0x08,0x0b,0x08, +0x0b,0x11,0x0e,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x08,0x08,0x0e,0x0b,0x0e, +0x11,0x10,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x0e,0x0b,0x11,0x11,0x17,0x11, +0x11,0x11,0x11,0x11,0x11,0x0e,0x11,0x11,0x17,0x11,0x11,0x11,0x0b,0x0b,0x0b,0x0b, +0x11,0x0b,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x08,0x08,0x11,0x0b,0x1a,0x11, +0x11,0x11,0x11,0x11,0x10,0x0e,0x11,0x11,0x1a,0x11,0x11,0x11,0x0e,0x05,0x0e,0x0e, +0x11,0x08,0x11,0x11,0x19,0x0e,0x0e,0x0b,0x1d,0x11,0x08,0x1c,0x11,0x08,0x08,0x11, +0x11,0x11,0x0b,0x0e,0x0e,0x12,0x10,0x08,0x1c,0x11,0x11,0x0a,0x08,0x11,0x13,0x11, +0x14,0x08,0x11,0x0f,0x11,0x09,0x0f,0x0b,0x08,0x23,0x11,0x09,0x0b,0x09,0x09,0x0b, +0x11,0x11,0x08,0x06,0x08,0x09,0x0f,0x14,0x14,0x15,0x11,0x11,0x11,0x11,0x11,0x10, +0x11,0x1a,0x11,0x11,0x11,0x11,0x11,0x0e,0x0e,0x0e,0x0e,0x13,0x11,0x11,0x11,0x11, +0x11,0x10,0x0e,0x11,0x11,0x11,0x11,0x10,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11, +0x11,0x1c,0x11,0x11,0x11,0x11,0x11,0x08,0x08,0x0b,0x10,0x11,0x11,0x11,0x11,0x11, +0x11,0x11,0x0e,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x15,0x20,0x00,0x00,0x00, +0x21,0x23,0x11,0x00,0x21,0x0a,0x08,0x11,0x11,0x11,0x15,0x11,0x08,0x0b,0x0b,0x0b, +0x0b,0x08,0x0b,0x08,0x0b,0x11,0x0e,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x08, +0x08,0x0e,0x0b,0x0e,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x0e,0x0b, +0x11,0x11,0x17,0x11,0x11,0x11,0x11,0x11,0x11,0x0e,0x11,0x11,0x17,0x11,0x11,0x11, +0x0b,0x0b,0x0b,0x0b,0x12,0x0b,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x08,0x08, +0x11,0x0b,0x1a,0x11,0x11,0x11,0x11,0x11,0x11,0x0e,0x11,0x11,0x1a,0x11,0x11,0x11, +0x0e,0x05,0x0e,0x0e,0x11,0x08,0x11,0x11,0x19,0x0e,0x0e,0x0b,0x1e,0x11,0x08,0x1d, +0x11,0x08,0x08,0x11,0x11,0x11,0x0b,0x0e,0x0e,0x14,0x11,0x08,0x1d,0x11,0x11,0x0a, +0x08,0x11,0x14,0x11,0x15,0x08,0x11,0x10,0x11,0x09,0x10,0x0b,0x09,0x23,0x12,0x09, +0x0b,0x09,0x09,0x0b,0x11,0x11,0x08,0x07,0x08,0x09,0x10,0x14,0x15,0x16,0x11,0x11, +0x11,0x11,0x11,0x11,0x11,0x1a,0x11,0x11,0x11,0x11,0x12,0x0e,0x0e,0x0e,0x0e,0x14, +0x11,0x11,0x11,0x11,0x11,0x11,0x0e,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11, +0x11,0x11,0x11,0x12,0x11,0x1c,0x11,0x11,0x11,0x11,0x12,0x08,0x08,0x0b,0x10,0x11, +0x11,0x11,0x11,0x11,0x11,0x12,0x0e,0x11,0x11,0x11,0x11,0x12,0x11,0x11,0x12,0x15, +0x21,0x00,0x00,0x00,0x25,0x28,0x13,0x00,0x25,0x0b,0x09,0x14,0x14,0x14,0x17,0x14, +0x09,0x0d,0x0d,0x0d,0x0d,0x09,0x0d,0x09,0x0c,0x14,0x10,0x14,0x14,0x14,0x14,0x14, +0x14,0x14,0x14,0x09,0x09,0x10,0x0d,0x10,0x14,0x13,0x14,0x14,0x14,0x14,0x14,0x14, +0x14,0x14,0x10,0x0d,0x14,0x14,0x1a,0x14,0x14,0x14,0x14,0x14,0x14,0x10,0x14,0x14, +0x1a,0x14,0x14,0x14,0x0d,0x0d,0x0d,0x0d,0x14,0x0d,0x14,0x14,0x14,0x14,0x14,0x13, +0x14,0x14,0x09,0x09,0x14,0x0d,0x1d,0x13,0x14,0x14,0x14,0x13,0x13,0x10,0x14,0x13, +0x1d,0x14,0x14,0x14,0x10,0x06,0x10,0x10,0x14,0x09,0x13,0x14,0x1c,0x10,0x10,0x0c, +0x21,0x14,0x09,0x21,0x14,0x09,0x09,0x14,0x14,0x14,0x0d,0x10,0x10,0x15,0x13,0x09, +0x21,0x14,0x14,0x0b,0x09,0x14,0x16,0x14,0x17,0x09,0x14,0x12,0x13,0x0a,0x12,0x0d, +0x0a,0x28,0x14,0x0b,0x0d,0x0b,0x0b,0x0d,0x14,0x14,0x09,0x07,0x09,0x0b,0x12,0x17, +0x17,0x19,0x14,0x14,0x14,0x14,0x14,0x15,0x14,0x1e,0x14,0x14,0x14,0x14,0x14,0x10, +0x10,0x10,0x11,0x16,0x14,0x14,0x14,0x14,0x14,0x15,0x10,0x14,0x14,0x14,0x14,0x15, +0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x20,0x14,0x14,0x14,0x14,0x14,0x09, +0x09,0x0d,0x13,0x14,0x13,0x14,0x14,0x14,0x14,0x14,0x10,0x14,0x14,0x14,0x14,0x14, +0x14,0x14,0x14,0x18,0x25,0x00,0x00,0x00,0x2a,0x2d,0x15,0x00,0x2a,0x0d,0x0b,0x16, +0x16,0x16,0x1a,0x16,0x0b,0x0e,0x0f,0x0e,0x0e,0x0b,0x0e,0x0b,0x0e,0x16,0x12,0x16, +0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x0b,0x0b,0x12,0x0e,0x12,0x16,0x15,0x16,0x16, +0x16,0x16,0x16,0x16,0x16,0x16,0x12,0x0f,0x16,0x16,0x1e,0x16,0x16,0x16,0x16,0x16, +0x16,0x12,0x16,0x16,0x1e,0x16,0x16,0x16,0x0e,0x0e,0x0f,0x0e,0x16,0x0e,0x16,0x16, +0x16,0x16,0x16,0x16,0x16,0x16,0x0b,0x0b,0x16,0x0e,0x22,0x16,0x16,0x16,0x16,0x16, +0x16,0x12,0x16,0x16,0x22,0x16,0x16,0x16,0x12,0x07,0x12,0x12,0x16,0x0b,0x16,0x16, +0x1f,0x12,0x12,0x0e,0x26,0x16,0x0b,0x25,0x16,0x0b,0x0b,0x16,0x16,0x16,0x0e,0x12, +0x12,0x18,0x16,0x0b,0x26,0x16,0x16,0x0d,0x0b,0x16,0x19,0x16,0x1a,0x0b,0x16,0x14, +0x16,0x0c,0x14,0x0f,0x0b,0x2d,0x16,0x0c,0x0e,0x0c,0x0c,0x0e,0x16,0x16,0x0b,0x08, +0x0a,0x0c,0x14,0x1a,0x1b,0x1c,0x16,0x16,0x16,0x16,0x16,0x17,0x16,0x22,0x16,0x16, +0x16,0x16,0x16,0x12,0x12,0x12,0x13,0x19,0x16,0x16,0x16,0x16,0x16,0x17,0x12,0x16, +0x16,0x16,0x16,0x17,0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x17,0x16,0x24,0x16,0x16, +0x16,0x16,0x17,0x0b,0x0b,0x0e,0x15,0x16,0x16,0x16,0x16,0x16,0x16,0x17,0x12,0x16, +0x16,0x16,0x16,0x17,0x16,0x16,0x17,0x1b,0x2a,0x00,0x00,0x00,0x2e,0x31,0x17,0x00, +0x2e,0x0e,0x0c,0x18,0x18,0x18,0x1e,0x18,0x0c,0x10,0x0f,0x10,0x10,0x0c,0x10,0x0c, +0x0f,0x18,0x14,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x0c,0x0c,0x14,0x10,0x14, +0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x14,0x0f,0x18,0x18,0x21,0x18, +0x18,0x18,0x18,0x18,0x18,0x14,0x18,0x18,0x21,0x18,0x18,0x18,0x10,0x10,0x0f,0x10, +0x19,0x10,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x0c,0x0c,0x18,0x10,0x25,0x18, +0x18,0x18,0x18,0x18,0x18,0x14,0x18,0x18,0x25,0x18,0x18,0x18,0x14,0x07,0x14,0x14, +0x18,0x0c,0x18,0x18,0x23,0x14,0x14,0x0f,0x2a,0x18,0x0c,0x29,0x18,0x0c,0x0c,0x18, +0x18,0x18,0x10,0x14,0x14,0x1a,0x18,0x0c,0x28,0x18,0x18,0x0e,0x0c,0x18,0x1c,0x18, +0x1d,0x0c,0x18,0x16,0x18,0x0d,0x16,0x10,0x0c,0x31,0x19,0x0d,0x10,0x0d,0x0d,0x10, +0x18,0x18,0x0c,0x09,0x0b,0x0d,0x16,0x1d,0x1d,0x1f,0x18,0x18,0x18,0x18,0x18,0x18, +0x18,0x25,0x18,0x18,0x18,0x18,0x18,0x14,0x14,0x14,0x13,0x1b,0x18,0x18,0x18,0x18, +0x18,0x18,0x13,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18, +0x18,0x28,0x18,0x18,0x18,0x18,0x18,0x0c,0x0c,0x10,0x16,0x18,0x18,0x18,0x18,0x18, +0x18,0x18,0x14,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x19,0x1e,0x2e,0x00,0x00,0x00, +0x32,0x35,0x19,0x00,0x32,0x0f,0x0d,0x1a,0x1a,0x1a,0x20,0x1a,0x0d,0x11,0x11,0x11, +0x11,0x0d,0x11,0x0d,0x11,0x1a,0x16,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x0d, +0x0d,0x16,0x11,0x15,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x16,0x11, +0x1a,0x1a,0x24,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x16,0x1a,0x1a,0x24,0x1a,0x1a,0x1a, +0x11,0x11,0x11,0x11,0x1b,0x11,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x0d,0x0d, +0x1a,0x11,0x28,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x16,0x1a,0x1a,0x28,0x1a,0x1a,0x1a, +0x16,0x08,0x16,0x16,0x1a,0x0d,0x1a,0x1a,0x26,0x16,0x16,0x11,0x2e,0x1a,0x0d,0x2c, +0x1a,0x0d,0x0d,0x1a,0x1a,0x1a,0x11,0x15,0x16,0x1d,0x1a,0x0d,0x2d,0x1a,0x1a,0x0f, +0x0d,0x1a,0x1e,0x1a,0x1f,0x0d,0x1a,0x18,0x1a,0x0e,0x18,0x11,0x0d,0x35,0x1b,0x0e, +0x11,0x0e,0x0e,0x11,0x1a,0x1a,0x0d,0x0a,0x0c,0x0e,0x18,0x1f,0x20,0x21,0x1a,0x1a, +0x1a,0x1a,0x1a,0x1a,0x1a,0x28,0x1a,0x1a,0x1a,0x1a,0x1a,0x16,0x16,0x16,0x16,0x1e, +0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x15,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a, +0x1a,0x1a,0x1a,0x1a,0x1a,0x2b,0x1a,0x1a,0x1a,0x1a,0x1b,0x0d,0x0d,0x11,0x18,0x1a, +0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x16,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x20, +0x32,0x00,0x00,0x00,0x36,0x39,0x1b,0x00,0x36,0x10,0x0e,0x1c,0x1c,0x1c,0x22,0x1c, +0x0e,0x13,0x13,0x13,0x13,0x0e,0x13,0x0e,0x12,0x1c,0x18,0x1c,0x1c,0x1c,0x1c,0x1c, +0x1c,0x1c,0x1c,0x0e,0x0e,0x18,0x13,0x18,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c, +0x1c,0x1c,0x18,0x13,0x1c,0x1c,0x26,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x18,0x1c,0x1c, +0x26,0x1c,0x1c,0x1c,0x13,0x13,0x13,0x13,0x1d,0x13,0x1c,0x1c,0x1c,0x1c,0x1d,0x1c, +0x1c,0x1c,0x0e,0x0e,0x1c,0x13,0x2c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x18,0x1c,0x1c, +0x2c,0x1d,0x1c,0x1d,0x18,0x09,0x18,0x17,0x1c,0x0e,0x1c,0x1c,0x28,0x18,0x18,0x12, +0x31,0x1c,0x0e,0x30,0x1c,0x0e,0x0e,0x1c,0x1c,0x1c,0x13,0x17,0x17,0x1f,0x1c,0x0e, +0x30,0x1d,0x1d,0x10,0x0e,0x1c,0x20,0x1d,0x22,0x0e,0x1d,0x1a,0x1d,0x0f,0x1a,0x13, +0x0e,0x39,0x1d,0x0f,0x13,0x10,0x0f,0x13,0x1c,0x1c,0x0e,0x0b,0x0d,0x0f,0x1a,0x22, +0x23,0x24,0x1c,0x1c,0x1c,0x1c,0x1c,0x1d,0x1d,0x2b,0x1c,0x1c,0x1c,0x1c,0x1c,0x18, +0x18,0x18,0x18,0x20,0x1c,0x1c,0x1c,0x1c,0x1c,0x1d,0x17,0x1c,0x1c,0x1c,0x1c,0x1d, +0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1d,0x1d,0x2f,0x1c,0x1d,0x1d,0x1d,0x1d,0x0e, +0x0e,0x13,0x1b,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1d,0x17,0x1c,0x1c,0x1c,0x1c,0x1d, +0x1c,0x1c,0x1d,0x23,0x36,0x00,0x00,0x00,0x3a,0x3e,0x1d,0x00,0x3a,0x11,0x0f,0x1f, +0x1f,0x1f,0x24,0x1f,0x0f,0x14,0x14,0x14,0x14,0x0f,0x14,0x0f,0x13,0x1f,0x19,0x1f, +0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x0f,0x0f,0x19,0x14,0x19,0x1f,0x1e,0x1f,0x1f, +0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x19,0x14,0x1f,0x1f,0x29,0x1f,0x1f,0x1f,0x1f,0x1f, +0x1f,0x19,0x1f,0x1f,0x29,0x1f,0x1f,0x1f,0x14,0x14,0x14,0x14,0x1f,0x14,0x1f,0x1f, +0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x0f,0x0f,0x1f,0x14,0x2f,0x1f,0x1f,0x1f,0x1f,0x1f, +0x1e,0x19,0x1f,0x1f,0x2f,0x1f,0x1f,0x1f,0x19,0x09,0x19,0x19,0x1f,0x0f,0x1f,0x1f, +0x2c,0x19,0x19,0x14,0x34,0x1f,0x0f,0x34,0x1f,0x0f,0x0f,0x1f,0x1f,0x1f,0x14,0x19, +0x19,0x22,0x1e,0x0f,0x34,0x1f,0x1f,0x11,0x0f,0x1f,0x23,0x1f,0x24,0x0f,0x1f,0x1c, +0x1f,0x10,0x1c,0x14,0x0f,0x3e,0x1f,0x11,0x14,0x11,0x11,0x14,0x1f,0x1f,0x0f,0x0c, +0x0e,0x11,0x1c,0x24,0x25,0x26,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x2f,0x1f,0x1f, +0x1f,0x1f,0x1f,0x19,0x19,0x19,0x19,0x22,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x19,0x1f, +0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x32,0x1f,0x1f, +0x1f,0x1f,0x1f,0x0f,0x0f,0x14,0x1d,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x19,0x1f, +0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x25,0x3a,0x00,0x00,0x00,0x43,0x49,0x22,0x00, +0x43,0x14,0x11,0x23,0x23,0x23,0x2b,0x23,0x11,0x17,0x17,0x17,0x17,0x11,0x17,0x11, +0x16,0x23,0x1d,0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x11,0x11,0x1d,0x17,0x1e, +0x23,0x22,0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x1d,0x17,0x23,0x23,0x30,0x23, +0x23,0x23,0x23,0x23,0x23,0x1d,0x23,0x23,0x30,0x23,0x23,0x23,0x17,0x17,0x17,0x17, +0x24,0x17,0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x11,0x11,0x23,0x17,0x35,0x23, +0x23,0x23,0x23,0x23,0x23,0x1d,0x23,0x23,0x35,0x23,0x23,0x23,0x1d,0x0b,0x1d,0x1d, +0x23,0x11,0x23,0x23,0x32,0x1d,0x1d,0x17,0x3d,0x23,0x11,0x3c,0x23,0x11,0x11,0x23, +0x23,0x23,0x17,0x1d,0x1d,0x27,0x23,0x11,0x3c,0x23,0x24,0x14,0x11,0x23,0x28,0x24, +0x2a,0x11,0x24,0x20,0x24,0x13,0x20,0x17,0x12,0x49,0x24,0x13,0x17,0x13,0x13,0x17, +0x23,0x23,0x11,0x0e,0x10,0x13,0x20,0x2a,0x2a,0x2d,0x23,0x23,0x23,0x23,0x23,0x24, +0x24,0x36,0x23,0x23,0x23,0x23,0x23,0x1d,0x1d,0x1d,0x1d,0x28,0x23,0x23,0x23,0x23, +0x23,0x24,0x1c,0x23,0x23,0x23,0x23,0x24,0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x24, +0x24,0x3a,0x23,0x23,0x23,0x23,0x24,0x11,0x11,0x17,0x21,0x23,0x23,0x23,0x23,0x23, +0x23,0x24,0x1d,0x23,0x23,0x23,0x23,0x24,0x23,0x23,0x24,0x2b,0x43,0x00,0x00,0x00, +0x4b,0x51,0x26,0x00,0x4b,0x17,0x13,0x28,0x28,0x28,0x2f,0x28,0x13,0x1a,0x1a,0x1a, +0x1a,0x13,0x1a,0x13,0x19,0x28,0x21,0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x13, +0x13,0x21,0x1a,0x21,0x28,0x26,0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x21,0x1a, +0x28,0x28,0x35,0x28,0x28,0x28,0x28,0x28,0x28,0x21,0x28,0x28,0x35,0x28,0x28,0x28, +0x1a,0x1a,0x1a,0x1a,0x28,0x1a,0x28,0x28,0x28,0x28,0x28,0x27,0x28,0x28,0x13,0x13, +0x28,0x1a,0x3c,0x27,0x28,0x28,0x28,0x27,0x27,0x21,0x28,0x27,0x3c,0x28,0x28,0x28, +0x21,0x0c,0x21,0x21,0x28,0x13,0x27,0x28,0x39,0x21,0x21,0x19,0x44,0x28,0x13,0x43, +0x28,0x13,0x13,0x28,0x28,0x28,0x1a,0x20,0x21,0x2b,0x27,0x13,0x42,0x28,0x28,0x17, +0x13,0x28,0x2d,0x28,0x2f,0x13,0x28,0x24,0x28,0x15,0x24,0x1a,0x14,0x51,0x28,0x16, +0x1a,0x16,0x15,0x1a,0x28,0x28,0x13,0x0f,0x12,0x16,0x24,0x2f,0x30,0x32,0x28,0x28, +0x28,0x28,0x28,0x28,0x28,0x3c,0x28,0x28,0x28,0x28,0x28,0x21,0x21,0x21,0x21,0x2c, +0x28,0x28,0x28,0x28,0x28,0x28,0x20,0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, +0x28,0x28,0x28,0x27,0x28,0x41,0x28,0x28,0x28,0x28,0x27,0x13,0x13,0x1a,0x25,0x28, +0x27,0x28,0x28,0x28,0x28,0x27,0x21,0x28,0x28,0x28,0x28,0x27,0x28,0x28,0x27,0x30, +0x4b,0x00,0x00,0x00,0x53,0x5a,0x2a,0x00,0x53,0x19,0x15,0x2c,0x2c,0x2c,0x35,0x2c, +0x15,0x1c,0x1d,0x1c,0x1c,0x15,0x1c,0x15,0x1c,0x2c,0x24,0x2c,0x2c,0x2c,0x2c,0x2c, +0x2c,0x2c,0x2c,0x15,0x15,0x24,0x1c,0x24,0x2c,0x2a,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c, +0x2c,0x2c,0x24,0x1d,0x2c,0x2c,0x3b,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c,0x24,0x2c,0x2c, +0x3b,0x2c,0x2c,0x2c,0x1c,0x1c,0x1d,0x1c,0x2c,0x1c,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c, +0x2c,0x2c,0x15,0x15,0x2c,0x1c,0x43,0x2c,0x2c,0x2c,0x2c,0x2c,0x2b,0x24,0x2c,0x2c, +0x43,0x2c,0x2c,0x2c,0x24,0x0d,0x24,0x24,0x2c,0x15,0x2c,0x2c,0x3f,0x24,0x24,0x1c, +0x4c,0x2c,0x15,0x4a,0x2c,0x15,0x15,0x2c,0x2c,0x2c,0x1c,0x24,0x24,0x30,0x2b,0x15, +0x4a,0x2c,0x2c,0x19,0x15,0x2c,0x32,0x2c,0x34,0x15,0x2c,0x28,0x2c,0x17,0x28,0x1d, +0x16,0x5a,0x2c,0x18,0x1c,0x18,0x18,0x1c,0x2c,0x2c,0x15,0x11,0x14,0x18,0x28,0x34, +0x34,0x37,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c,0x43,0x2c,0x2c,0x2c,0x2c,0x2c,0x24, +0x24,0x24,0x24,0x31,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c,0x23,0x2c,0x2c,0x2c,0x2c,0x2c, +0x2c,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c,0x48,0x2c,0x2c,0x2c,0x2c,0x2c,0x15, +0x15,0x1c,0x29,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c,0x24,0x2c,0x2c,0x2c,0x2c,0x2c, +0x2c,0x2c,0x2c,0x36,0x53,0x00,0x00,0x00,0x5c,0x63,0x2e,0x00,0x5c,0x1c,0x17,0x31, +0x31,0x31,0x3a,0x31,0x17,0x20,0x1f,0x20,0x20,0x17,0x20,0x17,0x1f,0x31,0x28,0x31, +0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x17,0x17,0x28,0x20,0x28,0x31,0x2f,0x31,0x31, +0x31,0x31,0x31,0x31,0x31,0x31,0x28,0x1f,0x31,0x31,0x41,0x31,0x31,0x31,0x31,0x31, +0x31,0x28,0x31,0x31,0x41,0x31,0x31,0x31,0x20,0x20,0x1f,0x20,0x31,0x20,0x31,0x31, +0x31,0x31,0x31,0x30,0x31,0x31,0x17,0x17,0x31,0x20,0x4a,0x30,0x31,0x31,0x31,0x30, +0x2f,0x28,0x31,0x30,0x4a,0x31,0x31,0x31,0x28,0x0f,0x28,0x28,0x31,0x17,0x30,0x31, +0x45,0x28,0x28,0x1f,0x53,0x31,0x17,0x52,0x31,0x17,0x17,0x31,0x31,0x31,0x20,0x27, +0x28,0x35,0x2f,0x17,0x52,0x31,0x30,0x1c,0x17,0x31,0x37,0x30,0x3a,0x17,0x30,0x2c, +0x30,0x1a,0x2c,0x20,0x18,0x63,0x31,0x1a,0x20,0x1a,0x1a,0x20,0x31,0x31,0x17,0x13, +0x16,0x1a,0x2c,0x39,0x3a,0x3d,0x31,0x31,0x31,0x31,0x31,0x30,0x30,0x4a,0x31,0x31, +0x31,0x31,0x30,0x28,0x28,0x28,0x28,0x37,0x31,0x31,0x31,0x31,0x31,0x30,0x27,0x31, +0x31,0x31,0x31,0x30,0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x30,0x30,0x4f,0x31,0x31, +0x31,0x31,0x30,0x17,0x17,0x20,0x2d,0x31,0x30,0x31,0x31,0x31,0x31,0x30,0x28,0x31, +0x31,0x31,0x31,0x30,0x31,0x31,0x30,0x3b,0x5c,0x00,0x00,0x00,0x60,0x67,0x30,0x00, +0x60,0x1d,0x18,0x33,0x33,0x33,0x3d,0x33,0x18,0x21,0x22,0x21,0x21,0x18,0x21,0x18, +0x20,0x33,0x2a,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x18,0x18,0x2a,0x21,0x2a, +0x33,0x31,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x2a,0x22,0x33,0x33,0x44,0x33, +0x33,0x33,0x33,0x33,0x33,0x2a,0x33,0x33,0x44,0x33,0x33,0x33,0x21,0x21,0x22,0x21, +0x33,0x21,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x18,0x18,0x33,0x21,0x4d,0x33, +0x33,0x33,0x33,0x33,0x31,0x2a,0x33,0x33,0x4d,0x33,0x33,0x33,0x2a,0x0f,0x2a,0x2a, +0x33,0x18,0x33,0x33,0x49,0x2a,0x2a,0x20,0x57,0x33,0x18,0x55,0x33,0x18,0x18,0x33, +0x33,0x33,0x21,0x29,0x2a,0x37,0x31,0x18,0x56,0x33,0x33,0x1d,0x18,0x33,0x39,0x33, +0x3c,0x18,0x33,0x2e,0x32,0x1b,0x2e,0x21,0x19,0x67,0x33,0x1c,0x21,0x1c,0x1b,0x21, +0x33,0x33,0x18,0x13,0x17,0x1c,0x2e,0x3c,0x3d,0x40,0x33,0x33,0x33,0x33,0x33,0x33, +0x33,0x4d,0x33,0x33,0x33,0x33,0x33,0x2a,0x2a,0x2a,0x2b,0x39,0x33,0x33,0x33,0x33, +0x33,0x33,0x29,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x34, +0x33,0x53,0x33,0x33,0x33,0x33,0x34,0x18,0x18,0x21,0x30,0x33,0x33,0x33,0x33,0x33, +0x33,0x34,0x2a,0x33,0x33,0x33,0x33,0x34,0x33,0x33,0x33,0x3e,0x60,0x00,0x00,0x00, +0x64,0x6b,0x32,0x00,0x64,0x1e,0x19,0x35,0x35,0x35,0x40,0x35,0x19,0x22,0x22,0x22, +0x22,0x19,0x22,0x19,0x21,0x35,0x2c,0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x19, +0x19,0x2c,0x22,0x2c,0x35,0x33,0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x2c,0x22, +0x35,0x35,0x47,0x35,0x35,0x35,0x35,0x35,0x35,0x2c,0x35,0x35,0x47,0x35,0x35,0x35, +0x22,0x22,0x22,0x22,0x35,0x22,0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x19,0x19, +0x35,0x22,0x50,0x35,0x35,0x35,0x35,0x35,0x34,0x2c,0x35,0x35,0x50,0x35,0x35,0x35, +0x2c,0x10,0x2c,0x2b,0x35,0x19,0x35,0x35,0x4b,0x2c,0x2c,0x22,0x5b,0x35,0x19,0x59, +0x35,0x19,0x19,0x35,0x35,0x35,0x22,0x2b,0x2b,0x3a,0x34,0x19,0x59,0x35,0x35,0x1e, +0x19,0x35,0x3c,0x35,0x3f,0x19,0x35,0x30,0x35,0x1c,0x30,0x22,0x1b,0x6b,0x35,0x1d, +0x22,0x1d,0x1d,0x22,0x35,0x35,0x19,0x14,0x18,0x1d,0x30,0x3e,0x40,0x42,0x35,0x35, +0x35,0x35,0x35,0x34,0x35,0x50,0x35,0x35,0x35,0x35,0x34,0x2c,0x2c,0x2c,0x2b,0x3b, +0x35,0x35,0x35,0x35,0x35,0x34,0x2a,0x35,0x35,0x35,0x35,0x34,0x35,0x35,0x35,0x35, +0x35,0x35,0x35,0x35,0x35,0x56,0x35,0x35,0x35,0x35,0x35,0x19,0x19,0x22,0x31,0x35, +0x35,0x35,0x35,0x35,0x35,0x35,0x2b,0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x40, +0x64,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x02,0x00,0x00,0xe8,0x48,0x83,0x0e, +0x5f,0x0f,0x3c,0xf5,0x00,0x10,0x04,0x28,0x00,0x00,0x00,0x00,0xbb,0xd1,0xec,0xef, +0x00,0x00,0x00,0x00,0xbb,0xd8,0x70,0xf5,0xff,0xa1,0xfe,0xaf,0x04,0x55,0x04,0x54, +0x00,0x00,0x00,0x03,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00, +0x04,0x54,0xfe,0xaf,0x01,0x0a,0x04,0x75,0xff,0xa1,0xff,0xf2,0x04,0x55,0x00,0x01, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe0, +0x02,0x14,0x00,0x43,0x00,0x00,0x00,0x00,0x04,0x28,0x00,0x00,0x01,0x40,0x00,0x00, +0x01,0x0b,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00, +0x02,0xa5,0x00,0x00,0x02,0x31,0x00,0x00,0x01,0x0b,0x00,0x00,0x01,0x6d,0x00,0x00, +0x01,0x6d,0x00,0x00,0x01,0x6d,0x00,0x00,0x01,0x6d,0x00,0x00,0x01,0x0b,0x00,0x00, +0x01,0x6d,0x00,0x00,0x01,0x0b,0x00,0x00,0x01,0x64,0x00,0x00,0x02,0x31,0x00,0x00, +0x01,0xcf,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00, +0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00, +0x02,0x31,0x00,0x00,0x01,0x0b,0x00,0x00,0x01,0x0b,0x00,0x00,0x01,0xcf,0x00,0x00, +0x01,0x6d,0x00,0x00,0x01,0xcf,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x20,0x00,0x00, +0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00, +0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00, +0x01,0xcf,0x00,0x00,0x01,0x6d,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00, +0x02,0xf5,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00, +0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x01,0xcf,0x00,0x00, +0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0xf5,0x00,0x00,0x02,0x31,0x00,0x00, +0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x01,0x6d,0x00,0x00,0x01,0x6d,0x00,0x00, +0x01,0x6d,0x00,0x00,0x01,0x6d,0x00,0x00,0x02,0x37,0xff,0xfb,0x01,0x6d,0x00,0x00, +0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00, +0x02,0x33,0x00,0x00,0x02,0x30,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00, +0x01,0x0b,0x00,0x00,0x01,0x0d,0xff,0xa1,0x02,0x31,0x00,0x00,0x01,0x6d,0x00,0x00, +0x03,0x55,0xff,0xff,0x02,0x30,0xff,0xff,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00, +0x02,0x31,0x00,0x00,0x02,0x30,0x00,0x00,0x02,0x24,0x00,0x00,0x01,0xcf,0x00,0x00, +0x02,0x31,0x00,0x00,0x02,0x30,0x00,0x00,0x03,0x55,0x00,0x00,0x02,0x33,0x00,0x00, +0x02,0x31,0x00,0x00,0x02,0x33,0x00,0x00,0x01,0xcf,0x00,0x00,0x00,0xaa,0x00,0x00, +0x01,0xcf,0x00,0x00,0x01,0xcd,0x00,0x02,0x02,0x31,0xff,0xff,0x01,0x0b,0x00,0x00, +0x02,0x30,0x00,0x01,0x02,0x31,0x00,0x00,0x03,0x21,0x00,0x00,0x01,0xcf,0x00,0x00, +0x01,0xcf,0xff,0xff,0x01,0x66,0x00,0x00,0x03,0xc8,0x00,0x00,0x02,0x31,0x00,0x00, +0x01,0x0d,0x00,0x04,0x03,0xb2,0x00,0x00,0x02,0x31,0x00,0x00,0x01,0x0b,0x00,0x00, +0x01,0x0b,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00, +0x01,0x6d,0x00,0x00,0x01,0xc8,0x00,0x00,0x01,0xcd,0x00,0x01,0x02,0x67,0x00,0x03, +0x02,0x24,0x00,0x00,0x01,0x0d,0x00,0x04,0x03,0xb2,0x00,0x00,0x02,0x33,0x00,0x00, +0x02,0x31,0x00,0x00,0x01,0x40,0x00,0x00,0x01,0x0b,0x00,0x00,0x02,0x31,0x00,0x00, +0x02,0x7d,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x9d,0x00,0x00,0x01,0x0b,0x00,0x00, +0x02,0x31,0x00,0x00,0x02,0x02,0x00,0x00,0x02,0x31,0x00,0x01,0x01,0x2c,0x00,0x01, +0x02,0x02,0x00,0x04,0x01,0x6d,0x00,0x00,0x01,0x1a,0x00,0x00,0x04,0x75,0x00,0x0a, +0x02,0x37,0xff,0xf1,0x01,0x31,0x00,0x04,0x01,0x6d,0x00,0x00,0x01,0x32,0x00,0x01, +0x01,0x30,0xff,0xff,0x01,0x6d,0xff,0xff,0x02,0x31,0x00,0x01,0x02,0x31,0x00,0x00, +0x01,0x0b,0x00,0x00,0x00,0xd7,0xff,0xce,0x00,0xff,0x00,0x04,0x01,0x31,0x00,0x04, +0x02,0x02,0x00,0x04,0x02,0x99,0x00,0x00,0x02,0xa2,0x00,0x00,0x02,0xc4,0x00,0x00, +0x02,0x31,0xff,0xff,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00, +0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x03,0x56,0x00,0x00, +0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00, +0x02,0x31,0x00,0x00,0x01,0xcf,0x00,0x00,0x01,0xcf,0x00,0x00,0x01,0xcf,0x00,0x00, +0x01,0xcf,0xff,0xe0,0x02,0x77,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00, +0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00, +0x01,0xc2,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00, +0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00, +0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00, +0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x03,0x95,0x00,0x00, +0x02,0x31,0x00,0x00,0x02,0x33,0x00,0x00,0x02,0x33,0x00,0x00,0x02,0x33,0x00,0x00, +0x02,0x33,0x00,0x00,0x01,0x0b,0x00,0x00,0x01,0x0b,0x00,0x00,0x01,0x6d,0x00,0x00, +0x02,0x0f,0x00,0x00,0x02,0x31,0xff,0xff,0x02,0x30,0x00,0x00,0x02,0x31,0x00,0x00, +0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00, +0x01,0xce,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00, +0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00,0x02,0x31,0x00,0x00, +0x02,0x31,0x00,0x00,0x02,0xae,0x00,0x85,0x04,0x28,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x40,0x00,0x6c,0x00,0xbc,0x01,0x49, +0x01,0xb1,0x02,0x07,0x02,0x65,0x02,0x92,0x02,0xc4,0x02,0xef,0x03,0x5c,0x03,0x91, +0x03,0xbe,0x03,0xd2,0x03,0xec,0x04,0x05,0x04,0x36,0x04,0x5d,0x04,0xad,0x05,0x09, +0x05,0x46,0x05,0x91,0x05,0xe2,0x06,0x1e,0x06,0x93,0x06,0xd6,0x06,0xff,0x07,0x3b, +0x07,0x75,0x07,0x98,0x07,0xdf,0x08,0x28,0x08,0x61,0x08,0xa9,0x09,0x04,0x09,0x41, +0x09,0x77,0x09,0xb7,0x09,0xed,0x0a,0x43,0x0a,0x7f,0x0a,0xb2,0x0a,0xdc,0x0b,0x25, +0x0b,0x46,0x0b,0x7e,0x0b,0xbe,0x0b,0xfb,0x0c,0x39,0x0c,0x8b,0x0c,0xdc,0x0d,0x3a, +0x0d,0x60,0x0d,0x91,0x0d,0xc6,0x0d,0xff,0x0e,0x54,0x0e,0x96,0x0e,0xc7,0x0e,0xef, +0x0f,0x08,0x0f,0x31,0x0f,0x52,0x0f,0x66,0x0f,0x7c,0x0f,0xb7,0x0f,0xf7,0x10,0x30, +0x10,0x72,0x10,0xb5,0x10,0xf8,0x11,0x48,0x11,0x7e,0x11,0xae,0x11,0xe4,0x12,0x17, +0x12,0x3b,0x12,0x80,0x12,0xae,0x12,0xeb,0x13,0x25,0x13,0x67,0x13,0x8a,0x13,0xc9, +0x14,0x08,0x14,0x37,0x14,0x5e,0x14,0xa2,0x14,0xe5,0x15,0x25,0x15,0x4d,0x15,0x85, +0x15,0x9f,0x15,0xde,0x16,0x0a,0x16,0x23,0x16,0x50,0x16,0x92,0x16,0xe2,0x17,0x1e, +0x17,0x55,0x17,0xaf,0x17,0xd0,0x18,0x5f,0x18,0xe6,0x19,0x05,0x19,0x56,0x19,0x97, +0x19,0xbe,0x19,0xeb,0x1a,0x32,0x1a,0x82,0x1a,0x9d,0x1a,0xb1,0x1a,0xc9,0x1a,0xf5, +0x1b,0x4d,0x1b,0xb7,0x1b,0xd6,0x1c,0x32,0x1c,0x6a,0x1c,0xcf,0x1c,0xcf,0x1c,0xf9, +0x1d,0x59,0x1d,0xbb,0x1e,0x30,0x1e,0x8e,0x1e,0xa8,0x1f,0x52,0x1f,0x7c,0x1f,0xd2, +0x20,0x09,0x20,0x3e,0x20,0x60,0x20,0x7d,0x23,0x1f,0x23,0x33,0x23,0x5e,0x23,0x9e, +0x23,0xe9,0x24,0x3f,0x24,0x56,0x24,0x8f,0x24,0xca,0x24,0xe4,0x25,0x00,0x25,0x31, +0x25,0x5c,0x25,0x91,0x26,0x10,0x26,0x99,0x27,0x3e,0x27,0x87,0x27,0xda,0x28,0x2d, +0x28,0xa5,0x29,0x15,0x29,0x84,0x29,0xe2,0x2a,0x3e,0x2a,0x96,0x2a,0xe1,0x2b,0x2d, +0x2b,0x7c,0x2b,0xe3,0x2c,0x2a,0x2c,0x71,0x2c,0xb7,0x2d,0x0f,0x2d,0x5f,0x2d,0xc2, +0x2e,0x0a,0x2e,0x52,0x2e,0xba,0x2f,0x15,0x2f,0x79,0x2f,0xbc,0x2f,0xfb,0x30,0x32, +0x30,0x69,0x30,0xc1,0x31,0x15,0x31,0x5e,0x31,0xa3,0x31,0xe9,0x32,0x2f,0x32,0x75, +0x32,0xdb,0x33,0x34,0x33,0x97,0x33,0xe8,0x34,0x3c,0x34,0x94,0x34,0xe2,0x35,0x2f, +0x35,0x9d,0x36,0x0d,0x36,0x39,0x36,0x67,0x36,0x99,0x36,0xd7,0x37,0x27,0x37,0x7c, +0x37,0xc4,0x38,0x0c,0x38,0x75,0x38,0xd0,0x39,0x35,0x39,0x71,0x39,0xb6,0x39,0xec, +0x3a,0x21,0x3a,0x77,0x3a,0xca,0x3b,0x10,0x3b,0x51,0x3b,0xb5,0x3b,0xc9,0x3b,0xc9, +0x3b,0xc9,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0xe0,0x00,0xd2,0x00,0x0d,0x00,0x00, +0x00,0x00,0x00,0x02,0x00,0x08,0x00,0x40,0x00,0x28,0x00,0x00,0x02,0x00,0x04,0x0d, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0e,0x00,0xae,0x00,0x01,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x24,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x16, +0x00,0x24,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x09,0x00,0x3a,0x00,0x01, +0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x16,0x00,0x43,0x00,0x01,0x00,0x00,0x00,0x00, +0x00,0x04,0x00,0x16,0x00,0x59,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x01, +0x00,0x6f,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x15,0x00,0x70,0x00,0x03, +0x00,0x01,0x04,0x09,0x00,0x00,0x00,0x48,0x00,0x85,0x00,0x03,0x00,0x01,0x04,0x09, +0x00,0x01,0x00,0x2c,0x00,0xcd,0x00,0x03,0x00,0x01,0x04,0x09,0x00,0x02,0x00,0x12, +0x00,0xf9,0x00,0x03,0x00,0x01,0x04,0x09,0x00,0x03,0x00,0x2c,0x01,0x0b,0x00,0x03, +0x00,0x01,0x04,0x09,0x00,0x04,0x00,0x2c,0x01,0x37,0x00,0x03,0x00,0x01,0x04,0x09, +0x00,0x05,0x00,0x02,0x01,0x63,0x00,0x03,0x00,0x01,0x04,0x09,0x00,0x06,0x00,0x2a, +0x01,0x65,0x32,0x30,0x30,0x33,0x20,0x49,0x63,0x6f,0x6e,0x69,0x61,0x6e,0x20,0x46, +0x6f,0x6e,0x74,0x73,0x20,0x2d,0x20,0x77,0x77,0x77,0x2e,0x69,0x63,0x6f,0x6e,0x69, +0x61,0x6e,0x2e,0x63,0x6f,0x6d,0x43,0x6f,0x6d,0x6d,0x6f,0x6e,0x77,0x65,0x61,0x6c, +0x74,0x68,0x20,0x43,0x6f,0x6e,0x64,0x65,0x6e,0x73,0x65,0x64,0x43,0x6f,0x6e,0x64, +0x65,0x6e,0x73,0x65,0x64,0x43,0x6f,0x6d,0x6d,0x6f,0x6e,0x77,0x65,0x61,0x6c,0x74, +0x68,0x20,0x43,0x6f,0x6e,0x64,0x65,0x6e,0x73,0x65,0x64,0x43,0x6f,0x6d,0x6d,0x6f, +0x6e,0x77,0x65,0x61,0x6c,0x74,0x68,0x20,0x43,0x6f,0x6e,0x64,0x65,0x6e,0x73,0x65, +0x64,0x32,0x43,0x6f,0x6d,0x6d,0x6f,0x6e,0x77,0x65,0x61,0x6c,0x74,0x68,0x43,0x6f, +0x6e,0x64,0x65,0x6e,0x73,0x65,0x64,0x00,0x32,0x00,0x30,0x00,0x30,0x00,0x33,0x00, +0x20,0x00,0x49,0x00,0x63,0x00,0x6f,0x00,0x6e,0x00,0x69,0x00,0x61,0x00,0x6e,0x00, +0x20,0x00,0x46,0x00,0x6f,0x00,0x6e,0x00,0x74,0x00,0x73,0x00,0x20,0x00,0x2d,0x00, +0x20,0x00,0x77,0x00,0x77,0x00,0x77,0x00,0x2e,0x00,0x69,0x00,0x63,0x00,0x6f,0x00, +0x6e,0x00,0x69,0x00,0x61,0x00,0x6e,0x00,0x2e,0x00,0x63,0x00,0x6f,0x00,0x6d,0x00, +0x43,0x00,0x6f,0x00,0x6d,0x00,0x6d,0x00,0x6f,0x00,0x6e,0x00,0x77,0x00,0x65,0x00, +0x61,0x00,0x6c,0x00,0x74,0x00,0x68,0x00,0x20,0x00,0x43,0x00,0x6f,0x00,0x6e,0x00, +0x64,0x00,0x65,0x00,0x6e,0x00,0x73,0x00,0x65,0x00,0x64,0x00,0x43,0x00,0x6f,0x00, +0x6e,0x00,0x64,0x00,0x65,0x00,0x6e,0x00,0x73,0x00,0x65,0x00,0x64,0x00,0x43,0x00, +0x6f,0x00,0x6d,0x00,0x6d,0x00,0x6f,0x00,0x6e,0x00,0x77,0x00,0x65,0x00,0x61,0x00, +0x6c,0x00,0x74,0x00,0x68,0x00,0x20,0x00,0x43,0x00,0x6f,0x00,0x6e,0x00,0x64,0x00, +0x65,0x00,0x6e,0x00,0x73,0x00,0x65,0x00,0x64,0x00,0x43,0x00,0x6f,0x00,0x6d,0x00, +0x6d,0x00,0x6f,0x00,0x6e,0x00,0x77,0x00,0x65,0x00,0x61,0x00,0x6c,0x00,0x74,0x00, +0x68,0x00,0x20,0x00,0x43,0x00,0x6f,0x00,0x6e,0x00,0x64,0x00,0x65,0x00,0x6e,0x00, +0x73,0x00,0x65,0x00,0x64,0x00,0x32,0x00,0x43,0x00,0x6f,0x00,0x6d,0x00,0x6d,0x00, +0x6f,0x00,0x6e,0x00,0x77,0x00,0x65,0x00,0x61,0x00,0x6c,0x00,0x74,0x00,0x68,0x00, +0x43,0x00,0x6f,0x00,0x6e,0x00,0x64,0x00,0x65,0x00,0x6e,0x00,0x73,0x00,0x65,0x00, +0x64,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x7b,0x00,0x14, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0xe0,0x00,0x00,0x01,0x02,0x00,0x02,0x00,0x03,0x00,0x04, +0x01,0x03,0x00,0x06,0x00,0x07,0x01,0x04,0x00,0x09,0x01,0x05,0x00,0x0b,0x00,0x0c, +0x00,0x0d,0x00,0x0e,0x00,0x0f,0x01,0x06,0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14, +0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c, +0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x20,0x00,0x21,0x00,0x22,0x00,0x23,0x00,0x24, +0x00,0x25,0x00,0x26,0x00,0x27,0x00,0x28,0x00,0x29,0x00,0x2a,0x00,0x2b,0x00,0x2c, +0x00,0x2d,0x00,0x2e,0x00,0x2f,0x00,0x30,0x00,0x31,0x00,0x32,0x00,0x33,0x00,0x34, +0x00,0x35,0x00,0x36,0x00,0x37,0x00,0x38,0x00,0x39,0x00,0x3a,0x00,0x3b,0x00,0x3c, +0x00,0x3d,0x00,0x3e,0x00,0x3f,0x00,0x40,0x00,0x41,0x00,0x42,0x00,0x43,0x00,0x44, +0x00,0x45,0x00,0x46,0x00,0x47,0x00,0x48,0x00,0x49,0x00,0x4a,0x00,0x4b,0x00,0x4c, +0x01,0x07,0x00,0x4e,0x00,0x4f,0x00,0x50,0x00,0x51,0x01,0x08,0x00,0x53,0x00,0x54, +0x00,0x55,0x00,0x56,0x00,0x57,0x00,0x58,0x01,0x09,0x00,0x5a,0x00,0x5b,0x01,0x0a, +0x00,0x5d,0x00,0x5e,0x00,0x5f,0x00,0x60,0x01,0x0b,0x01,0x0c,0x01,0x0d,0x01,0x0e, +0x01,0x0f,0x01,0x10,0x01,0x11,0x01,0x12,0x01,0x13,0x01,0x14,0x01,0x15,0x01,0x16, +0x01,0x17,0x01,0x18,0x00,0xb6,0x00,0xb7,0x00,0xb4,0x00,0xb5,0x01,0x19,0x01,0x1a, +0x01,0x1b,0x01,0x1c,0x01,0x1d,0x01,0x1e,0x01,0x1f,0x01,0x20,0x01,0x21,0x01,0x22, +0x01,0x23,0x01,0x24,0x01,0x25,0x00,0x05,0x01,0x26,0x01,0x27,0x01,0x28,0x01,0x29, +0x01,0x2a,0x01,0x2b,0x01,0x2c,0x01,0x2d,0x01,0x2e,0x01,0x2f,0x01,0x30,0x01,0x31, +0x01,0x32,0x01,0x33,0x01,0x34,0x01,0x35,0x01,0x36,0x01,0x37,0x01,0x38,0x01,0x39, +0x01,0x3a,0x01,0x3b,0x01,0x3c,0x01,0x3d,0x01,0x3e,0x01,0x3f,0x01,0x40,0x01,0x41, +0x01,0x42,0x01,0x43,0x01,0x44,0x01,0x45,0x01,0x46,0x01,0x47,0x01,0x48,0x01,0x49, +0x01,0x4a,0x01,0x4b,0x01,0x4c,0x01,0x4d,0x01,0x4e,0x01,0x4f,0x01,0x50,0x01,0x51, +0x01,0x52,0x01,0x53,0x01,0x54,0x01,0x55,0x01,0x56,0x01,0x57,0x01,0x58,0x01,0x59, +0x01,0x5a,0x01,0x5b,0x01,0x5c,0x01,0x5d,0x01,0x5e,0x01,0x5f,0x01,0x60,0x01,0x61, +0x01,0x62,0x01,0x63,0x01,0x64,0x01,0x65,0x01,0x66,0x01,0x67,0x01,0x68,0x01,0x69, +0x01,0x6a,0x01,0x6b,0x01,0x6c,0x01,0x6d,0x01,0x6e,0x01,0x6f,0x01,0x70,0x01,0x71, +0x01,0x72,0x01,0x73,0x00,0x52,0x01,0x74,0x01,0x75,0x01,0x76,0x01,0x77,0x01,0x78, +0x01,0x79,0x01,0x7a,0x01,0x7b,0x01,0x7c,0x01,0x7d,0x00,0x5c,0x01,0x7e,0x01,0x7f, +0x00,0x10,0x00,0x00,0x00,0x01,0x05,0x2e,0x6e,0x75,0x6c,0x6c,0x07,0x46,0x4c,0x30, +0x30,0x32,0x32,0x68,0x07,0x46,0x4c,0x30,0x30,0x32,0x35,0x68,0x07,0x46,0x4c,0x30, +0x30,0x32,0x37,0x68,0x0b,0x68,0x79,0x70,0x68,0x65,0x6e,0x6d,0x69,0x6e,0x75,0x73, +0x07,0x46,0x4c,0x30,0x30,0x36,0x41,0x68,0x07,0x46,0x4c,0x30,0x30,0x36,0x46,0x68, +0x02,0x56,0x76,0x07,0x46,0x4c,0x30,0x30,0x37,0x39,0x68,0x07,0x46,0x4c,0x30,0x30, +0x37,0x45,0x68,0x07,0x46,0x4c,0x32,0x30,0x41,0x43,0x68,0x07,0x46,0x4c,0x32,0x30, +0x31,0x41,0x68,0x07,0x46,0x4c,0x30,0x31,0x39,0x32,0x68,0x07,0x46,0x4c,0x32,0x30, +0x31,0x45,0x68,0x07,0x46,0x4c,0x32,0x30,0x32,0x36,0x68,0x07,0x46,0x4c,0x32,0x30, +0x32,0x30,0x68,0x07,0x46,0x4c,0x32,0x30,0x32,0x31,0x68,0x07,0x46,0x4c,0x30,0x32, +0x43,0x36,0x68,0x07,0x46,0x4c,0x32,0x30,0x33,0x30,0x68,0x07,0x46,0x4c,0x30,0x31, +0x36,0x30,0x68,0x07,0x46,0x4c,0x32,0x30,0x33,0x39,0x68,0x07,0x46,0x4c,0x30,0x31, +0x35,0x32,0x68,0x07,0x46,0x4c,0x30,0x31,0x37,0x44,0x68,0x07,0x46,0x4c,0x32,0x30, +0x32,0x32,0x68,0x07,0x46,0x4c,0x32,0x30,0x31,0x33,0x68,0x07,0x46,0x4c,0x32,0x30, +0x31,0x34,0x68,0x07,0x46,0x4c,0x30,0x32,0x44,0x43,0x68,0x07,0x46,0x4c,0x32,0x31, +0x32,0x32,0x68,0x07,0x46,0x4c,0x30,0x31,0x36,0x31,0x68,0x07,0x46,0x4c,0x32,0x30, +0x33,0x41,0x68,0x07,0x46,0x4c,0x30,0x31,0x35,0x33,0x68,0x07,0x46,0x4c,0x30,0x31, +0x37,0x45,0x68,0x07,0x46,0x4c,0x30,0x31,0x37,0x38,0x68,0x07,0x46,0x4c,0x30,0x30, +0x41,0x30,0x68,0x07,0x46,0x4c,0x30,0x30,0x41,0x31,0x68,0x07,0x46,0x4c,0x30,0x30, +0x41,0x32,0x68,0x07,0x46,0x4c,0x30,0x30,0x41,0x34,0x68,0x07,0x46,0x4c,0x30,0x30, +0x41,0x35,0x68,0x07,0x46,0x4c,0x30,0x30,0x41,0x36,0x68,0x07,0x46,0x4c,0x30,0x30, +0x41,0x37,0x68,0x07,0x46,0x4c,0x30,0x30,0x41,0x38,0x68,0x07,0x46,0x4c,0x30,0x30, +0x41,0x39,0x68,0x07,0x46,0x4c,0x30,0x30,0x41,0x41,0x68,0x07,0x46,0x4c,0x30,0x30, +0x41,0x42,0x68,0x07,0x46,0x4c,0x30,0x30,0x41,0x43,0x68,0x07,0x46,0x4c,0x30,0x30, +0x41,0x44,0x68,0x07,0x46,0x4c,0x30,0x30,0x41,0x45,0x68,0x07,0x46,0x4c,0x30,0x30, +0x41,0x46,0x68,0x07,0x46,0x4c,0x30,0x30,0x42,0x30,0x68,0x07,0x46,0x4c,0x30,0x30, +0x42,0x31,0x68,0x07,0x46,0x4c,0x30,0x30,0x42,0x32,0x68,0x07,0x46,0x4c,0x30,0x30, +0x42,0x33,0x68,0x07,0x46,0x4c,0x30,0x30,0x42,0x34,0x68,0x07,0x46,0x4c,0x30,0x30, +0x42,0x35,0x68,0x07,0x46,0x4c,0x30,0x30,0x42,0x36,0x68,0x07,0x46,0x4c,0x30,0x30, +0x42,0x37,0x68,0x07,0x46,0x4c,0x30,0x30,0x42,0x38,0x68,0x07,0x46,0x4c,0x30,0x30, +0x42,0x39,0x68,0x07,0x46,0x4c,0x30,0x30,0x42,0x41,0x68,0x07,0x46,0x4c,0x30,0x30, +0x42,0x42,0x68,0x07,0x46,0x4c,0x30,0x30,0x42,0x43,0x68,0x07,0x46,0x4c,0x30,0x30, +0x42,0x44,0x68,0x07,0x46,0x4c,0x30,0x30,0x42,0x45,0x68,0x07,0x46,0x4c,0x30,0x30, +0x42,0x46,0x68,0x07,0x46,0x4c,0x30,0x30,0x43,0x30,0x68,0x07,0x46,0x4c,0x30,0x30, +0x43,0x31,0x68,0x07,0x46,0x4c,0x30,0x30,0x43,0x32,0x68,0x07,0x46,0x4c,0x30,0x30, +0x43,0x33,0x68,0x07,0x46,0x4c,0x30,0x30,0x43,0x34,0x68,0x07,0x46,0x4c,0x30,0x30, +0x43,0x35,0x68,0x07,0x46,0x4c,0x30,0x30,0x43,0x36,0x68,0x07,0x46,0x4c,0x30,0x30, +0x43,0x37,0x68,0x07,0x46,0x4c,0x30,0x30,0x43,0x38,0x68,0x07,0x46,0x4c,0x30,0x30, +0x43,0x39,0x68,0x07,0x46,0x4c,0x30,0x30,0x43,0x41,0x68,0x07,0x46,0x4c,0x30,0x30, +0x43,0x42,0x68,0x07,0x46,0x4c,0x30,0x30,0x43,0x43,0x68,0x07,0x46,0x4c,0x30,0x30, +0x43,0x44,0x68,0x07,0x46,0x4c,0x30,0x30,0x43,0x45,0x68,0x07,0x46,0x4c,0x30,0x30, +0x43,0x46,0x68,0x07,0x46,0x4c,0x30,0x30,0x44,0x30,0x68,0x07,0x46,0x4c,0x30,0x30, +0x44,0x31,0x68,0x07,0x46,0x4c,0x30,0x30,0x44,0x32,0x68,0x07,0x46,0x4c,0x30,0x30, +0x44,0x33,0x68,0x07,0x46,0x4c,0x30,0x30,0x44,0x34,0x68,0x07,0x46,0x4c,0x30,0x30, +0x44,0x35,0x68,0x07,0x46,0x4c,0x30,0x30,0x44,0x36,0x68,0x07,0x46,0x4c,0x30,0x30, +0x44,0x37,0x68,0x07,0x46,0x4c,0x30,0x30,0x44,0x38,0x68,0x07,0x46,0x4c,0x30,0x30, +0x44,0x39,0x68,0x07,0x46,0x4c,0x30,0x30,0x44,0x41,0x68,0x07,0x46,0x4c,0x30,0x30, +0x44,0x42,0x68,0x07,0x46,0x4c,0x30,0x30,0x44,0x43,0x68,0x07,0x46,0x4c,0x30,0x30, +0x44,0x44,0x68,0x07,0x46,0x4c,0x30,0x30,0x44,0x45,0x68,0x07,0x46,0x4c,0x30,0x30, +0x44,0x46,0x68,0x07,0x46,0x4c,0x30,0x30,0x45,0x30,0x68,0x07,0x46,0x4c,0x30,0x30, +0x45,0x31,0x68,0x07,0x46,0x4c,0x30,0x30,0x45,0x32,0x68,0x07,0x46,0x4c,0x30,0x30, +0x45,0x33,0x68,0x07,0x46,0x4c,0x30,0x30,0x45,0x34,0x68,0x07,0x46,0x4c,0x30,0x30, +0x45,0x35,0x68,0x07,0x46,0x4c,0x30,0x30,0x45,0x36,0x68,0x07,0x46,0x4c,0x30,0x30, +0x45,0x37,0x68,0x07,0x46,0x4c,0x30,0x30,0x45,0x38,0x68,0x07,0x46,0x4c,0x30,0x30, +0x45,0x39,0x68,0x07,0x46,0x4c,0x30,0x30,0x45,0x41,0x68,0x07,0x46,0x4c,0x30,0x30, +0x45,0x42,0x68,0x07,0x46,0x4c,0x30,0x30,0x45,0x43,0x68,0x07,0x46,0x4c,0x30,0x30, +0x45,0x44,0x68,0x07,0x46,0x4c,0x30,0x30,0x45,0x45,0x68,0x07,0x46,0x4c,0x30,0x30, +0x45,0x46,0x68,0x07,0x46,0x4c,0x30,0x30,0x46,0x30,0x68,0x07,0x46,0x4c,0x30,0x30, +0x46,0x31,0x68,0x07,0x46,0x4c,0x30,0x30,0x46,0x33,0x68,0x07,0x46,0x4c,0x30,0x30, +0x46,0x34,0x68,0x07,0x46,0x4c,0x30,0x30,0x46,0x35,0x68,0x07,0x46,0x4c,0x30,0x30, +0x46,0x36,0x68,0x07,0x46,0x4c,0x30,0x30,0x46,0x37,0x68,0x07,0x46,0x4c,0x30,0x30, +0x46,0x38,0x68,0x07,0x46,0x4c,0x30,0x30,0x46,0x39,0x68,0x07,0x46,0x4c,0x30,0x30, +0x46,0x41,0x68,0x07,0x46,0x4c,0x30,0x30,0x46,0x42,0x68,0x07,0x46,0x4c,0x30,0x30, +0x46,0x43,0x68,0x07,0x46,0x4c,0x30,0x30,0x46,0x45,0x68,0x07,0x46,0x4c,0x30,0x30, +0x46,0x46,0x68,0x00,0xb8,0x00,0x1e,0x2b,0xb8,0x00,0x14,0x2b,0xb8,0x00,0x0a,0x2b, +0x40,0x0f,0x0a,0x0a,0x09,0x09,0x08,0x08,0x03,0x03,0x02,0x02,0x01,0x01,0x00,0x00, +0x01,0x8d,0xb8,0x01,0xff,0x85,0x45,0x68,0x44,0x45,0x68,0x44,0x45,0x68,0x44,0x45, +0x68,0x44,0x45,0x68,0x44,0x45,0x68,0x44,0x45,0x68,0x44,0xb3,0x05,0x04,0x46,0x00, +0x2b,0xb3,0x07,0x06,0x46,0x00,0x2b,0xb1,0x04,0x04,0x45,0x68,0x44,0xb1,0x06,0x06, +0x45,0x68,0x44,0x00}; diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/gui/commonwealth-10.font.c b/tizen/distrib/remote/server/spice-0.12.2/client/gui/commonwealth-10.font.c new file mode 100644 index 0000000..ee05ab8 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/gui/commonwealth-10.font.c @@ -0,0 +1,12 @@ +const unsigned char commonwealth_10_font[] = { +0x3c,0x3f,0x78,0x6d,0x6c,0x20,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x31, +0x2e,0x30,0x22,0x20,0x3f,0x3e,0x0a,0x3c,0x46,0x6f,0x6e,0x74,0x20,0x4e,0x61,0x6d, +0x65,0x3d,0x22,0x43,0x6f,0x6d,0x6d,0x6f,0x6e,0x77,0x65,0x61,0x6c,0x74,0x68,0x2d, +0x31,0x30,0x22,0x20,0x46,0x69,0x6c,0x65,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x43,0x6f, +0x6d,0x6d,0x6f,0x6e,0x76,0x32,0x63,0x2e,0x74,0x74,0x66,0x22,0x20,0x54,0x79,0x70, +0x65,0x3d,0x22,0x46,0x72,0x65,0x65,0x54,0x79,0x70,0x65,0x22,0x20,0x53,0x69,0x7a, +0x65,0x3d,0x22,0x31,0x30,0x22,0x20,0x4e,0x61,0x74,0x69,0x76,0x65,0x48,0x6f,0x72, +0x7a,0x52,0x65,0x73,0x3d,0x22,0x38,0x30,0x30,0x22,0x20,0x4e,0x61,0x74,0x69,0x76, +0x65,0x56,0x65,0x72,0x74,0x52,0x65,0x73,0x3d,0x22,0x36,0x30,0x30,0x22,0x20,0x41, +0x75,0x74,0x6f,0x53,0x63,0x61,0x6c,0x65,0x64,0x3d,0x22,0x74,0x72,0x75,0x65,0x22, +0x2f,0x3e,0x0a}; diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/gui/dejavu_sans-10.font.c b/tizen/distrib/remote/server/spice-0.12.2/client/gui/dejavu_sans-10.font.c new file mode 100644 index 0000000..76939bb --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/gui/dejavu_sans-10.font.c @@ -0,0 +1,12 @@ +const unsigned char dejavu_sans_10_font[] = { +0x3c,0x3f,0x78,0x6d,0x6c,0x20,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x31, +0x2e,0x30,0x22,0x20,0x3f,0x3e,0x0a,0x3c,0x46,0x6f,0x6e,0x74,0x20,0x4e,0x61,0x6d, +0x65,0x3d,0x22,0x44,0x65,0x6a,0x61,0x56,0x75,0x53,0x61,0x6e,0x73,0x2d,0x31,0x30, +0x22,0x20,0x46,0x69,0x6c,0x65,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x65,0x6a,0x61, +0x56,0x75,0x53,0x61,0x6e,0x73,0x2e,0x74,0x74,0x66,0x22,0x20,0x54,0x79,0x70,0x65, +0x3d,0x22,0x46,0x72,0x65,0x65,0x54,0x79,0x70,0x65,0x22,0x20,0x53,0x69,0x7a,0x65, +0x3d,0x22,0x31,0x30,0x22,0x20,0x4e,0x61,0x74,0x69,0x76,0x65,0x48,0x6f,0x72,0x7a, +0x52,0x65,0x73,0x3d,0x22,0x38,0x30,0x30,0x22,0x20,0x4e,0x61,0x74,0x69,0x76,0x65, +0x56,0x65,0x72,0x74,0x52,0x65,0x73,0x3d,0x22,0x36,0x30,0x30,0x22,0x20,0x41,0x75, +0x74,0x6f,0x53,0x63,0x61,0x6c,0x65,0x64,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x2f, +0x3e,0x0a}; diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/gui/dejavu_sans.ttf.c b/tizen/distrib/remote/server/spice-0.12.2/client/gui/dejavu_sans.ttf.c new file mode 100644 index 0000000..ae3b59a --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/gui/dejavu_sans.ttf.c @@ -0,0 +1,25487 @@ +const unsigned char dejavu_sans_ttf[] = { +0x00,0x01,0x00,0x00,0x00,0x15,0x01,0x00,0x00,0x04,0x00,0x50,0x47,0x44,0x45,0x46, +0xdf,0x70,0xe7,0x23,0x00,0x00,0x01,0x5c,0x00,0x00,0x03,0x12,0x47,0x50,0x4f,0x53, +0x27,0x66,0xd7,0x63,0x00,0x00,0x04,0x70,0x00,0x00,0x5c,0x90,0x47,0x53,0x55,0x42, +0xfd,0xcf,0xee,0xf4,0x00,0x00,0x61,0x00,0x00,0x00,0x0f,0x8e,0x4f,0x53,0x2f,0x32, +0x87,0xcb,0x3e,0xe7,0x00,0x00,0x70,0x90,0x00,0x00,0x00,0x56,0x63,0x6d,0x61,0x70, +0x76,0xa3,0x4c,0xbd,0x00,0x00,0x70,0xe8,0x00,0x00,0x06,0x12,0x63,0x76,0x74,0x20, +0xff,0xd3,0x1d,0x39,0x00,0x00,0x76,0xfc,0x00,0x00,0x01,0xfc,0x66,0x65,0x61,0x74, +0x80,0x1d,0x0b,0x53,0x00,0x00,0x78,0xf8,0x00,0x00,0x00,0x54,0x66,0x70,0x67,0x6d, +0x71,0x34,0x76,0x6a,0x00,0x00,0x79,0x4c,0x00,0x00,0x00,0xab,0x67,0x61,0x73,0x70, +0x00,0x07,0x00,0x07,0x00,0x00,0x79,0xf8,0x00,0x00,0x00,0x0c,0x67,0x6c,0x79,0x66, +0x5f,0x04,0x73,0x7d,0x00,0x00,0x7a,0x04,0x00,0x04,0x47,0x30,0x68,0x65,0x61,0x64, +0xe5,0x5d,0xbe,0xbe,0x00,0x04,0xc1,0x34,0x00,0x00,0x00,0x36,0x68,0x68,0x65,0x61, +0x0c,0xb8,0x14,0x9e,0x00,0x04,0xc1,0x6c,0x00,0x00,0x00,0x24,0x68,0x6d,0x74,0x78, +0x6d,0xa1,0x6d,0x94,0x00,0x04,0xc1,0x90,0x00,0x00,0x30,0xc4,0x6b,0x65,0x72,0x6e, +0x44,0xe1,0xd8,0xaf,0x00,0x04,0xf2,0x54,0x00,0x00,0x3c,0x06,0x6c,0x6f,0x63,0x61, +0x16,0xd8,0x21,0x54,0x00,0x05,0x2e,0x5c,0x00,0x00,0x30,0xc8,0x6d,0x61,0x78,0x70, +0x10,0x9a,0x09,0xa8,0x00,0x05,0x5f,0x24,0x00,0x00,0x00,0x20,0x6d,0x6f,0x72,0x78, +0x9f,0x1f,0x5d,0x4b,0x00,0x05,0x5f,0x44,0x00,0x00,0x35,0xd4,0x6e,0x61,0x6d,0x65, +0xb9,0x95,0x22,0x55,0x00,0x05,0x95,0x18,0x00,0x00,0x25,0xcb,0x70,0x6f,0x73,0x74, +0xfb,0x29,0x8a,0xe3,0x00,0x05,0xba,0xe4,0x00,0x00,0x75,0xb2,0x70,0x72,0x65,0x70, +0x3b,0x07,0xf1,0x00,0x00,0x06,0x30,0x98,0x00,0x00,0x05,0x68,0x70,0x72,0x6f,0x70, +0x0d,0xd5,0x62,0x62,0x00,0x06,0x36,0x00,0x00,0x00,0x02,0xd8,0x00,0x01,0x00,0x00, +0x00,0x0c,0x00,0x00,0x03,0x0a,0x00,0x00,0x00,0x02,0x00,0x7f,0x00,0x03,0x00,0x69, +0x00,0x01,0x00,0x6a,0x00,0x6a,0x00,0x02,0x00,0x6b,0x00,0x70,0x00,0x01,0x00,0x71, +0x00,0x71,0x00,0x02,0x00,0x72,0x00,0x75,0x00,0x01,0x00,0x76,0x00,0x76,0x00,0x02, +0x00,0x77,0x00,0x79,0x00,0x01,0x00,0x7a,0x00,0x7a,0x00,0x02,0x00,0x7b,0x00,0x7d, +0x00,0x01,0x00,0x7e,0x00,0x80,0x00,0x02,0x00,0x81,0x00,0x81,0x00,0x01,0x00,0x82, +0x00,0x87,0x00,0x02,0x00,0x88,0x00,0x88,0x00,0x01,0x00,0x89,0x00,0x91,0x00,0x02, +0x00,0x92,0x00,0x92,0x00,0x01,0x00,0x93,0x00,0x98,0x00,0x02,0x00,0x99,0x00,0x9a, +0x00,0x01,0x00,0x9b,0x00,0x9f,0x00,0x02,0x00,0xa0,0x00,0xa1,0x00,0x01,0x00,0xa2, +0x00,0xa7,0x00,0x02,0x00,0xa8,0x00,0xa8,0x00,0x01,0x00,0xa9,0x00,0xa9,0x00,0x02, +0x00,0xaa,0x00,0xad,0x00,0x01,0x00,0xae,0x00,0xb1,0x00,0x02,0x00,0xb2,0x00,0xb2, +0x00,0x01,0x00,0xb3,0x00,0xb8,0x00,0x02,0x00,0xb9,0x00,0xba,0x00,0x01,0x00,0xbb, +0x00,0xbf,0x00,0x02,0x00,0xc0,0x00,0xc0,0x00,0x01,0x00,0xc1,0x00,0xc1,0x00,0x02, +0x00,0xc2,0x00,0xc7,0x00,0x01,0x00,0xc8,0x00,0xc9,0x00,0x02,0x00,0xca,0x00,0xcd, +0x00,0x01,0x00,0xce,0x00,0xd1,0x00,0x02,0x00,0xd2,0x00,0xdb,0x00,0x01,0x00,0xdc, +0x00,0xdd,0x00,0x02,0x00,0xde,0x00,0xdf,0x00,0x01,0x00,0xe0,0x00,0xe1,0x00,0x02, +0x00,0xe2,0x00,0xf1,0x00,0x01,0x00,0xf2,0x00,0xf2,0x00,0x02,0x00,0xf3,0x00,0xfa, +0x00,0x01,0x00,0xfb,0x00,0xfc,0x00,0x02,0x00,0xfd,0x00,0xfe,0x00,0x01,0x00,0xff, +0x01,0x02,0x00,0x02,0x01,0x03,0x01,0x08,0x00,0x01,0x01,0x09,0x01,0x0b,0x00,0x02, +0x01,0x0c,0x01,0x15,0x00,0x01,0x01,0x16,0x01,0x17,0x00,0x02,0x01,0x18,0x01,0x19, +0x00,0x01,0x01,0x1a,0x01,0x1b,0x00,0x02,0x01,0x1c,0x01,0x1f,0x00,0x01,0x01,0x20, +0x01,0x23,0x00,0x02,0x01,0x24,0x01,0x25,0x00,0x01,0x01,0x26,0x01,0x27,0x00,0x02, +0x01,0x28,0x01,0x2f,0x00,0x01,0x01,0x30,0x01,0x31,0x00,0x02,0x01,0x32,0x01,0x39, +0x00,0x01,0x01,0x3a,0x01,0x3a,0x00,0x02,0x01,0x3b,0x01,0x3e,0x00,0x01,0x01,0x3f, +0x01,0x40,0x00,0x02,0x01,0x41,0x01,0x8e,0x00,0x01,0x01,0x8f,0x01,0x96,0x00,0x02, +0x01,0x97,0x02,0x8b,0x00,0x01,0x02,0x8c,0x02,0x91,0x00,0x02,0x02,0x92,0x02,0xa2, +0x00,0x01,0x02,0xa3,0x02,0xb7,0x00,0x03,0x02,0xb8,0x02,0xb8,0x00,0x01,0x02,0xb9, +0x02,0xbc,0x00,0x03,0x02,0xbd,0x02,0xbe,0x00,0x01,0x02,0xbf,0x02,0xc3,0x00,0x03, +0x02,0xc4,0x02,0xc5,0x00,0x01,0x02,0xc6,0x02,0xc9,0x00,0x03,0x02,0xca,0x02,0xcb, +0x00,0x01,0x02,0xcc,0x02,0xd6,0x00,0x03,0x02,0xd7,0x02,0xdb,0x00,0x01,0x02,0xdc, +0x02,0xe5,0x00,0x03,0x02,0xe6,0x02,0xe6,0x00,0x01,0x02,0xe7,0x02,0xe7,0x00,0x03, +0x02,0xe8,0x02,0xe8,0x00,0x01,0x02,0xe9,0x02,0xf5,0x00,0x03,0x02,0xf6,0x04,0xd2, +0x00,0x01,0x04,0xd3,0x04,0xd3,0x00,0x02,0x04,0xd4,0x04,0xd6,0x00,0x01,0x04,0xd7, +0x04,0xd7,0x00,0x03,0x04,0xd8,0x04,0xda,0x00,0x01,0x04,0xdb,0x04,0xdf,0x00,0x02, +0x04,0xe0,0x04,0xfe,0x00,0x01,0x04,0xff,0x05,0x09,0x00,0x03,0x05,0x0a,0x06,0x20, +0x00,0x01,0x06,0x21,0x06,0x21,0x00,0x02,0x06,0x22,0x07,0x86,0x00,0x01,0x07,0x87, +0x07,0x87,0x00,0x02,0x07,0x88,0x07,0x8b,0x00,0x01,0x07,0x8c,0x07,0x8d,0x00,0x02, +0x07,0x8e,0x07,0x8e,0x00,0x01,0x07,0x8f,0x07,0x90,0x00,0x02,0x07,0x91,0x07,0x94, +0x00,0x01,0x07,0x95,0x07,0x95,0x00,0x02,0x07,0x96,0x07,0x9f,0x00,0x01,0x07,0xa0, +0x07,0xa2,0x00,0x02,0x07,0xa3,0x07,0xdc,0x00,0x01,0x07,0xdd,0x07,0xdd,0x00,0x02, +0x07,0xde,0x07,0xe7,0x00,0x01,0x07,0xe8,0x07,0xe8,0x00,0x02,0x07,0xe9,0x07,0xea, +0x00,0x01,0x07,0xeb,0x07,0xed,0x00,0x02,0x07,0xee,0x07,0xf7,0x00,0x01,0x07,0xf8, +0x07,0xf9,0x00,0x02,0x07,0xfa,0x08,0x02,0x00,0x01,0x08,0x03,0x08,0x03,0x00,0x02, +0x08,0x04,0x08,0x04,0x00,0x01,0x08,0x05,0x08,0x11,0x00,0x02,0x08,0x12,0x08,0xc7, +0x00,0x01,0x08,0xc8,0x08,0xc8,0x00,0x02,0x08,0xc9,0x09,0x10,0x00,0x01,0x09,0x11, +0x09,0x1a,0x00,0x02,0x09,0x1b,0x0b,0x09,0x00,0x01,0x0b,0x0a,0x0b,0x15,0x00,0x02, +0x0b,0x16,0x0b,0x59,0x00,0x01,0x0b,0x5a,0x0b,0x5c,0x00,0x02,0x0b,0x5d,0x0b,0x5d, +0x00,0x01,0x0b,0x5e,0x0b,0x68,0x00,0x02,0x0b,0x69,0x0b,0xdd,0x00,0x01,0x0b,0xde, +0x0b,0xe5,0x00,0x02,0x0b,0xe6,0x0b,0xe8,0x00,0x01,0x0b,0xe9,0x0b,0xf3,0x00,0x03, +0x0b,0xf4,0x0c,0x30,0x00,0x01,0x00,0x04,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00, +0x00,0x01,0x00,0x00,0x00,0x0a,0x00,0x7e,0x00,0xc2,0x00,0x06,0x44,0x46,0x4c,0x54, +0x00,0x26,0x61,0x72,0x61,0x62,0x00,0x30,0x61,0x72,0x6d,0x6e,0x00,0x3e,0x63,0x79, +0x72,0x6c,0x00,0x48,0x67,0x72,0x65,0x6b,0x00,0x56,0x6c,0x61,0x74,0x6e,0x00,0x64, +0x00,0x04,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00, +0xff,0xff,0x00,0x02,0x00,0x01,0x00,0x03,0x00,0x04,0x00,0x00,0x00,0x00,0xff,0xff, +0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x02,0x00,0x02,0x00,0x04, +0x00,0x04,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x02,0x00,0x02,0x00,0x04,0x00,0x04, +0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x03,0x00,0x00,0x00,0x02,0x00,0x04,0x00,0x05, +0x6b,0x65,0x72,0x6e,0x00,0x20,0x6d,0x61,0x72,0x6b,0x00,0x26,0x6d,0x61,0x72,0x6b, +0x00,0x2e,0x6d,0x6b,0x6d,0x6b,0x00,0x36,0x6d,0x6b,0x6d,0x6b,0x00,0x3c,0x00,0x00, +0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x01,0x00,0x02,0x00,0x00,0x00,0x02, +0x00,0x03,0x00,0x04,0x00,0x00,0x00,0x01,0x00,0x05,0x00,0x00,0x00,0x02,0x00,0x06, +0x00,0x07,0x00,0x08,0x00,0x12,0x00,0x1a,0x00,0x24,0x00,0x2e,0x00,0x36,0x00,0x40, +0x00,0x4a,0x00,0x52,0x00,0x02,0x00,0x00,0x00,0x01,0x00,0x48,0x00,0x05,0x00,0x01, +0x00,0x02,0x53,0xe2,0x49,0x38,0x00,0x04,0x00,0x01,0x00,0x02,0x4a,0x10,0x3f,0xae, +0x00,0x05,0x00,0x00,0x00,0x01,0x3d,0xfa,0x00,0x04,0x00,0x00,0x00,0x02,0x36,0xbe, +0x2a,0x5e,0x00,0x06,0x00,0x01,0x00,0x02,0x5b,0x34,0x5a,0x56,0x00,0x06,0x00,0x00, +0x00,0x01,0x56,0xd8,0x00,0x04,0x00,0x00,0x00,0x01,0x54,0xd4,0x00,0x01,0x29,0x7a, +0x00,0x04,0x00,0x00,0x00,0x5e,0x00,0xc6,0x01,0x60,0x03,0x06,0x03,0xbc,0x03,0xe2, +0x04,0x38,0x05,0x7a,0x05,0xa4,0x05,0xb6,0x05,0xe8,0x06,0xda,0x07,0xa0,0x07,0xea, +0x08,0xb4,0x08,0xc6,0x09,0x9c,0x09,0xb6,0x0a,0xa4,0x0a,0xae,0x0b,0x6c,0x0c,0x22, +0x0c,0x80,0x0d,0x4a,0x0d,0x5c,0x0d,0x62,0x0d,0x98,0x0e,0x0a,0x0e,0x18,0x0e,0x32, +0x0e,0xc4,0x0e,0xe2,0x0e,0xf8,0x0f,0x3a,0x0f,0x54,0x0f,0xb2,0x10,0x38,0x11,0xaa, +0x13,0x20,0x14,0x96,0x16,0x08,0x17,0x7e,0x17,0x8c,0x17,0xa6,0x17,0xfc,0x18,0x46, +0x18,0x90,0x18,0xda,0x19,0x24,0x19,0x6e,0x19,0x78,0x19,0x82,0x19,0x8c,0x19,0x96, +0x1a,0x60,0x1a,0x72,0x1a,0x84,0x1a,0x8a,0x1a,0x90,0x1a,0x96,0x1a,0x9c,0x1a,0xaa, +0x1a,0xb8,0x1a,0xd2,0x1a,0xec,0x1b,0x06,0x1b,0x20,0x1b,0x3a,0x1b,0x54,0x1b,0x6e, +0x1c,0xd8,0x1e,0x42,0x1f,0x94,0x1f,0xae,0x1f,0xc8,0x20,0x1e,0x20,0x5c,0x20,0x62, +0x20,0x8c,0x21,0x52,0x22,0x18,0x22,0x1e,0x22,0x2c,0x23,0x02,0x23,0x94,0x24,0x6a, +0x24,0xfc,0x25,0x16,0x25,0x30,0x26,0x1e,0x26,0x28,0x26,0xf2,0x27,0x04,0x27,0x92, +0x28,0x7c,0x00,0x26,0x00,0x24,0xff,0xd3,0x00,0x25,0xff,0xb7,0x00,0x2a,0x00,0x4b, +0x00,0x2d,0x00,0x72,0x00,0x32,0x00,0x39,0x00,0x34,0x00,0x4b,0x00,0x37,0xff,0x44, +0x00,0x39,0xff,0x88,0x00,0x3a,0xff,0xad,0x00,0x3b,0xff,0x9a,0x00,0x3c,0xff,0x0d, +0x00,0x52,0x00,0x26,0x00,0x59,0xff,0xc9,0x00,0x5c,0xff,0xdc,0x00,0x82,0xff,0xd3, +0x00,0x83,0xff,0xd3,0x00,0x84,0xff,0xd3,0x00,0x85,0xff,0xd3,0x00,0x86,0xff,0xd3, +0x00,0x94,0x00,0x39,0x00,0x95,0x00,0x39,0x00,0x96,0x00,0x39,0x00,0x97,0x00,0x39, +0x00,0x98,0x00,0x39,0x00,0x9f,0xff,0x0d,0x00,0xb4,0x00,0x26,0x00,0xb5,0x00,0x26, +0x00,0xb6,0x00,0x26,0x00,0xb7,0x00,0x26,0x00,0xb8,0x00,0x26,0x00,0xbf,0xff,0xdc, +0x00,0xc1,0xff,0xdc,0x00,0xc2,0xff,0xd3,0x00,0xc4,0xff,0xd3,0x00,0xc6,0xff,0xd3, +0x00,0xe0,0x00,0x4b,0x01,0x26,0xff,0x44,0x01,0x3a,0xff,0x0d,0x00,0x69,0x00,0x10, +0xff,0xd3,0x00,0x11,0xff,0xdc,0x00,0x1d,0xff,0xdc,0x00,0x24,0x00,0x39,0x00,0x26, +0xff,0xdc,0x00,0x2a,0xff,0xdc,0x00,0x32,0xff,0xdc,0x00,0x34,0xff,0xdc,0x00,0x37, +0xff,0x61,0x00,0x39,0xff,0x7d,0x00,0x3a,0xff,0x90,0x00,0x3c,0xff,0x61,0x00,0x46, +0xff,0xdc,0x00,0x47,0xff,0xdc,0x00,0x48,0xff,0xdc,0x00,0x49,0xff,0xb7,0x00,0x52, +0xff,0xdc,0x00,0x54,0xff,0xdc,0x00,0x57,0xff,0xdc,0x00,0x59,0xff,0x88,0x00,0x5a, +0xff,0xad,0x00,0x5c,0xff,0x75,0x00,0x6d,0xff,0xb7,0x00,0x82,0x00,0x39,0x00,0x83, +0x00,0x39,0x00,0x84,0x00,0x39,0x00,0x85,0x00,0x39,0x00,0x86,0x00,0x39,0x00,0x89, +0xff,0xdc,0x00,0x94,0xff,0xdc,0x00,0x95,0xff,0xdc,0x00,0x96,0xff,0xdc,0x00,0x97, +0xff,0xdc,0x00,0x98,0xff,0xdc,0x00,0x9f,0xff,0x61,0x00,0xa9,0xff,0xdc,0x00,0xaa, +0xff,0xdc,0x00,0xab,0xff,0xdc,0x00,0xac,0xff,0xdc,0x00,0xad,0xff,0xdc,0x00,0xb4, +0xff,0xdc,0x00,0xb5,0xff,0xdc,0x00,0xb6,0xff,0xdc,0x00,0xb7,0xff,0xdc,0x00,0xb8, +0xff,0xdc,0x00,0xbf,0xff,0x75,0x00,0xc1,0xff,0x75,0x00,0xc2,0x00,0x39,0x00,0xc4, +0x00,0x39,0x00,0xc6,0x00,0x39,0x00,0xc8,0xff,0xdc,0x00,0xc9,0xff,0xdc,0x00,0xca, +0xff,0xdc,0x00,0xcb,0xff,0xdc,0x00,0xcc,0xff,0xdc,0x00,0xcd,0xff,0xdc,0x00,0xce, +0xff,0xdc,0x00,0xcf,0xff,0xdc,0x00,0xd1,0xff,0xdc,0x00,0xd3,0xff,0xdc,0x00,0xd5, +0xff,0xdc,0x00,0xd7,0xff,0xdc,0x00,0xd9,0xff,0xdc,0x00,0xdb,0xff,0xdc,0x00,0xdd, +0xff,0xdc,0x00,0xde,0xff,0xdc,0x00,0xe0,0xff,0xdc,0x00,0xe2,0xff,0xdc,0x01,0x0e, +0xff,0xdc,0x01,0x0f,0xff,0xdc,0x01,0x10,0xff,0xdc,0x01,0x11,0xff,0xdc,0x01,0x12, +0xff,0xdc,0x01,0x13,0xff,0xdc,0x01,0x24,0xff,0x61,0x01,0x25,0xff,0xdc,0x01,0x26, +0xff,0x61,0x01,0x27,0xff,0xdc,0x01,0x36,0xff,0x90,0x01,0x37,0xff,0xad,0x01,0x38, +0xff,0x61,0x01,0x39,0xff,0x75,0x01,0x3a,0xff,0x61,0x01,0x88,0xff,0xdc,0x01,0xac, +0xff,0xdc,0x01,0xad,0xff,0xdc,0x01,0xae,0xff,0xdc,0x01,0xaf,0xff,0xdc,0x01,0xdc, +0xff,0x61,0x01,0xdd,0xff,0xdc,0x01,0xf0,0xff,0xdc,0x01,0xf3,0xff,0xdc,0x01,0xf4, +0xff,0x61,0x01,0xf5,0xff,0x75,0x06,0x07,0xff,0x90,0x06,0x08,0xff,0xad,0x06,0x09, +0xff,0x90,0x06,0x0a,0xff,0xad,0x06,0x0b,0xff,0x90,0x06,0x0c,0xff,0xad,0x06,0x75, +0xff,0x61,0x06,0x76,0xff,0x75,0x07,0x7d,0xfe,0xf8,0x07,0x7e,0xff,0x03,0x07,0x7f, +0x00,0x2f,0x00,0x2d,0x00,0x26,0xff,0xdc,0x00,0x2a,0xff,0xdc,0x00,0x32,0xff,0xdc, +0x00,0x36,0xff,0xdc,0x00,0x39,0xff,0xc1,0x00,0x3a,0xff,0xb7,0x00,0x3c,0xff,0x90, +0x00,0x6d,0xff,0xc1,0x00,0x7d,0xff,0xdc,0x00,0x89,0xff,0xdc,0x00,0x94,0xff,0xdc, +0x00,0x95,0xff,0xdc,0x00,0x96,0xff,0xdc,0x00,0x97,0xff,0xdc,0x00,0x98,0xff,0xdc, +0x00,0x9f,0xff,0x90,0x00,0xc8,0xff,0xdc,0x00,0xca,0xff,0xdc,0x00,0xcc,0xff,0xdc, +0x00,0xce,0xff,0xdc,0x00,0xde,0xff,0xdc,0x00,0xe0,0xff,0xdc,0x00,0xe2,0xff,0xdc, +0x00,0xe4,0xff,0xdc,0x01,0x0e,0xff,0xdc,0x01,0x10,0xff,0xdc,0x01,0x12,0xff,0xdc, +0x01,0x1c,0xff,0xdc,0x01,0x1e,0xff,0xdc,0x01,0x20,0xff,0xdc,0x01,0x22,0xff,0xdc, +0x01,0x36,0xff,0xb7,0x01,0x38,0xff,0x90,0x01,0x3a,0xff,0x90,0x01,0xac,0xff,0xdc, +0x01,0xae,0xff,0xdc,0x01,0xda,0xff,0xdc,0x01,0xf0,0xff,0xdc,0x06,0x07,0xff,0xb7, +0x06,0x09,0xff,0xb7,0x06,0x0b,0xff,0xb7,0x06,0x75,0xff,0x90,0x07,0x7d,0xff,0x90, +0x07,0x7e,0xff,0x90,0x07,0x7f,0xff,0xad,0x00,0x09,0x00,0x3c,0xff,0xdc,0x00,0x6d, +0xff,0xdc,0x00,0x7d,0xff,0xdc,0x00,0x9f,0xff,0xdc,0x01,0x38,0xff,0xdc,0x01,0x3a, +0xff,0xdc,0x01,0xf4,0xff,0xdc,0x06,0x75,0xff,0xdc,0x07,0x7e,0x00,0x26,0x00,0x15, +0x00,0x24,0xff,0xdc,0x00,0x39,0xff,0xdc,0x00,0x3c,0xff,0x90,0x00,0x6d,0xff,0xdc, +0x00,0x7d,0xff,0xdc,0x00,0x82,0xff,0xdc,0x00,0x83,0xff,0xdc,0x00,0x84,0xff,0xdc, +0x00,0x85,0xff,0xdc,0x00,0x86,0xff,0xdc,0x00,0x9f,0xff,0x90,0x00,0xc2,0xff,0xdc, +0x00,0xc4,0xff,0xdc,0x00,0xc6,0xff,0xdc,0x01,0x38,0xff,0x90,0x01,0x3a,0xff,0x90, +0x01,0xf4,0xff,0x90,0x06,0x75,0xff,0x90,0x07,0x7d,0xff,0xd3,0x07,0x7e,0xff,0xc9, +0x07,0x7f,0xff,0x44,0x00,0x50,0x00,0x11,0xfe,0xb7,0x00,0x1d,0xff,0x61,0x00,0x24, +0xff,0x44,0x00,0x36,0xff,0xdc,0x00,0x37,0xff,0xdc,0x00,0x44,0xff,0x44,0x00,0x48, +0xff,0x90,0x00,0x4c,0xff,0x6b,0x00,0x52,0xff,0xb7,0x00,0x55,0xff,0x6b,0x00,0x58, +0xff,0x90,0x00,0x5c,0xff,0x44,0x00,0x82,0xff,0x44,0x00,0x83,0xff,0x44,0x00,0x84, +0xff,0x44,0x00,0x85,0xff,0x44,0x00,0x86,0xff,0x44,0x00,0xa2,0xff,0x44,0x00,0xa3, +0xff,0x44,0x00,0xa4,0xff,0x44,0x00,0xa5,0xff,0x44,0x00,0xa6,0xff,0x44,0x00,0xa7, +0xff,0x44,0x00,0xaa,0xff,0x90,0x00,0xab,0xff,0x90,0x00,0xac,0xff,0x90,0x00,0xad, +0xff,0x90,0x00,0xb4,0xff,0xb7,0x00,0xb5,0xff,0xb7,0x00,0xb6,0xff,0xb7,0x00,0xb7, +0xff,0xb7,0x00,0xb8,0xff,0xb7,0x00,0xbb,0xff,0x90,0x00,0xbc,0xff,0x90,0x00,0xbd, +0xff,0x90,0x00,0xbe,0xff,0x90,0x00,0xbf,0xff,0x44,0x00,0xc1,0xff,0x44,0x00,0xc2, +0xff,0x44,0x00,0xc3,0xff,0x44,0x00,0xc4,0xff,0x44,0x00,0xc5,0xff,0x44,0x00,0xc6, +0xff,0x44,0x00,0xc7,0xff,0x44,0x00,0xd5,0xff,0x90,0x00,0xd7,0xff,0x90,0x00,0xd9, +0xff,0x90,0x00,0xdb,0xff,0x90,0x00,0xdd,0xff,0x90,0x00,0xf1,0xff,0x6b,0x00,0xf5, +0xff,0x6b,0x01,0x0f,0xff,0xb7,0x01,0x11,0xff,0xb7,0x01,0x13,0xff,0xb7,0x01,0x17, +0xff,0x6b,0x01,0x19,0xff,0x6b,0x01,0x1b,0xff,0x6b,0x01,0x1c,0xff,0xdc,0x01,0x1e, +0xff,0xdc,0x01,0x20,0xff,0xdc,0x01,0x22,0xff,0xdc,0x01,0x24,0xff,0xdc,0x01,0x26, +0xff,0xdc,0x01,0x28,0xff,0xdc,0x01,0x2b,0xff,0x90,0x01,0x2d,0xff,0x90,0x01,0x2f, +0xff,0x90,0x01,0x31,0xff,0x90,0x01,0x33,0xff,0x90,0x01,0x35,0xff,0x90,0x01,0x39, +0xff,0x44,0x01,0xad,0xff,0xb7,0x01,0xaf,0xff,0xb7,0x01,0xda,0xff,0xdc,0x01,0xdc, +0xff,0xdc,0x01,0xf1,0xff,0xb7,0x01,0xf5,0xff,0x44,0x06,0x76,0xff,0x44,0x07,0x7d, +0xff,0xd3,0x07,0x7f,0xfe,0x88,0x00,0x0a,0x00,0x37,0xff,0xb7,0x00,0x3c,0xff,0x9a, +0x00,0x6d,0xff,0xdc,0x00,0x7d,0xff,0xdc,0x00,0x9f,0xff,0x9a,0x01,0x26,0xff,0xb7, +0x01,0x3a,0xff,0x9a,0x07,0x7d,0xff,0xd3,0x07,0x7e,0xff,0xd3,0x07,0x7f,0xff,0xc9, +0x00,0x04,0x00,0x11,0xff,0xdc,0x07,0x7d,0xff,0xb7,0x07,0x7e,0xff,0xc1,0x07,0x7f, +0xff,0xb7,0x00,0x0c,0x00,0x10,0xff,0xb7,0x00,0x24,0xff,0xdc,0x00,0x6d,0xff,0xdc, +0x00,0x7d,0xff,0xdc,0x00,0x82,0xff,0xdc,0x00,0x83,0xff,0xdc,0x00,0x84,0xff,0xdc, +0x00,0x85,0xff,0xdc,0x00,0x86,0xff,0xdc,0x07,0x7d,0xff,0xb7,0x07,0x7e,0xff,0xc1, +0x07,0x7f,0xff,0x90,0x00,0x3c,0x00,0x10,0xff,0x29,0x00,0x24,0xff,0xdc,0x00,0x26, +0xff,0x90,0x00,0x32,0xff,0x90,0x00,0x37,0xff,0x61,0x00,0x38,0xff,0xc9,0x00,0x3a, +0xff,0xb7,0x00,0x3c,0xff,0xb7,0x00,0x44,0xff,0xdc,0x00,0x48,0xff,0x9a,0x00,0x52, +0xff,0x9a,0x00,0x58,0xff,0x9a,0x00,0x5c,0xff,0x6b,0x00,0x6d,0xff,0x7d,0x00,0x82, +0xff,0xdc,0x00,0x83,0xff,0xdc,0x00,0x84,0xff,0xdc,0x00,0x85,0xff,0xdc,0x00,0x86, +0xff,0xdc,0x00,0x89,0xff,0x90,0x00,0x94,0xff,0x90,0x00,0x95,0xff,0x90,0x00,0x96, +0xff,0x90,0x00,0x97,0xff,0x90,0x00,0x98,0xff,0x90,0x00,0x9b,0xff,0xc9,0x00,0x9c, +0xff,0xc9,0x00,0x9d,0xff,0xc9,0x00,0x9e,0xff,0xc9,0x00,0x9f,0xff,0xb7,0x00,0xa2, +0xff,0xdc,0x00,0xa3,0xff,0xdc,0x00,0xa4,0xff,0xdc,0x00,0xa5,0xff,0xdc,0x00,0xa6, +0xff,0xdc,0x00,0xa7,0xff,0xdc,0x00,0xaa,0xff,0x9a,0x00,0xab,0xff,0x9a,0x00,0xac, +0xff,0x9a,0x00,0xad,0xff,0x9a,0x00,0xb4,0xff,0x9a,0x00,0xb5,0xff,0x9a,0x00,0xb6, +0xff,0x9a,0x00,0xb7,0xff,0x9a,0x00,0xb8,0xff,0x9a,0x00,0xbb,0xff,0x9a,0x00,0xbc, +0xff,0x9a,0x00,0xbd,0xff,0x9a,0x00,0xbe,0xff,0x9a,0x00,0xbf,0xff,0x6b,0x00,0xc1, +0xff,0x6b,0x00,0xc8,0xff,0x90,0x00,0xce,0xff,0x90,0x00,0xdd,0xff,0x9a,0x01,0x26, +0xff,0x61,0x01,0x30,0xff,0xc9,0x01,0x31,0xff,0x9a,0x01,0x3a,0xff,0xb7,0x07,0x7d, +0xff,0xc1,0x07,0x7e,0xff,0xc1,0x00,0x31,0x00,0x10,0xff,0xdc,0x00,0x24,0x00,0x2f, +0x00,0x32,0xff,0xb7,0x00,0x37,0xfe,0xe6,0x00,0x38,0xff,0x9a,0x00,0x39,0xff,0x1f, +0x00,0x3a,0xff,0x44,0x00,0x3c,0xfe,0xf0,0x00,0x48,0xff,0xdc,0x00,0x52,0xff,0xdc, +0x00,0x58,0xff,0xdc,0x00,0x5c,0xff,0x44,0x00,0x82,0x00,0x2f,0x00,0x83,0x00,0x2f, +0x00,0x84,0x00,0x2f,0x00,0x85,0x00,0x2f,0x00,0x86,0x00,0x2f,0x00,0x94,0xff,0xb7, +0x00,0x95,0xff,0xb7,0x00,0x96,0xff,0xb7,0x00,0x97,0xff,0xb7,0x00,0x98,0xff,0xb7, +0x00,0x9b,0xff,0x9a,0x00,0x9c,0xff,0x9a,0x00,0x9d,0xff,0x9a,0x00,0x9e,0xff,0x9a, +0x00,0x9f,0xfe,0xf0,0x00,0xaa,0xff,0xdc,0x00,0xab,0xff,0xdc,0x00,0xac,0xff,0xdc, +0x00,0xad,0xff,0xdc,0x00,0xb4,0xff,0xdc,0x00,0xb5,0xff,0xdc,0x00,0xb6,0xff,0xdc, +0x00,0xb7,0xff,0xdc,0x00,0xb8,0xff,0xdc,0x00,0xbb,0xff,0xdc,0x00,0xbc,0xff,0xdc, +0x00,0xbd,0xff,0xdc,0x00,0xbe,0xff,0xdc,0x00,0xbf,0xff,0x44,0x00,0xc1,0xff,0x44, +0x00,0xdd,0xff,0xdc,0x01,0x26,0xfe,0xe6,0x01,0x30,0xff,0x9a,0x01,0x31,0xff,0xdc, +0x01,0x3a,0xfe,0xf0,0x07,0x7d,0xfe,0x61,0x07,0x7e,0xfd,0xe6,0x00,0x12,0x00,0x10, +0x00,0x39,0x00,0x11,0xff,0xad,0x00,0x1d,0xff,0xdc,0x00,0x24,0xff,0xdc,0x00,0x39, +0xff,0xdc,0x00,0x3b,0xff,0x7d,0x00,0x3c,0xff,0x90,0x00,0x6d,0xff,0xdc,0x00,0x82, +0xff,0xdc,0x00,0x83,0xff,0xdc,0x00,0x84,0xff,0xdc,0x00,0x85,0xff,0xdc,0x00,0x86, +0xff,0xdc,0x00,0x9f,0xff,0x90,0x01,0x3a,0xff,0x90,0x07,0x7d,0xff,0xd3,0x07,0x7e, +0xff,0xdc,0x07,0x7f,0xff,0x44,0x00,0x32,0x00,0x10,0xff,0xd3,0x00,0x11,0xfe,0xc1, +0x00,0x24,0xff,0x7d,0x00,0x3c,0xff,0xd3,0x00,0x44,0xff,0xa4,0x00,0x48,0xff,0xb7, +0x00,0x4c,0xff,0xd3,0x00,0x51,0xff,0xdc,0x00,0x52,0xff,0xb7,0x00,0x55,0xff,0xdc, +0x00,0x56,0xff,0xdc,0x00,0x58,0xff,0xdc,0x00,0x6d,0xff,0xdc,0x00,0x82,0xff,0x7d, +0x00,0x83,0xff,0x7d,0x00,0x84,0xff,0x7d,0x00,0x85,0xff,0x7d,0x00,0x86,0xff,0x7d, +0x00,0x9f,0xff,0xd3,0x00,0xa2,0xff,0xa4,0x00,0xa3,0xff,0xa4,0x00,0xa4,0xff,0xa4, +0x00,0xa5,0xff,0xa4,0x00,0xa6,0xff,0xa4,0x00,0xa7,0xff,0xa4,0x00,0xaa,0xff,0xb7, +0x00,0xab,0xff,0xb7,0x00,0xac,0xff,0xb7,0x00,0xad,0xff,0xb7,0x00,0xb3,0xff,0xdc, +0x00,0xb4,0xff,0xb7,0x00,0xb5,0xff,0xb7,0x00,0xb6,0xff,0xb7,0x00,0xb7,0xff,0xb7, +0x00,0xb8,0xff,0xb7,0x00,0xbb,0xff,0xdc,0x00,0xbc,0xff,0xdc,0x00,0xbd,0xff,0xdc, +0x00,0xbe,0xff,0xdc,0x00,0xdd,0xff,0xb7,0x01,0x0a,0xff,0xdc,0x01,0x17,0xff,0xdc, +0x01,0x1b,0xff,0xdc,0x01,0x21,0xff,0xdc,0x01,0x23,0xff,0xdc,0x01,0x31,0xff,0xdc, +0x01,0x3a,0xff,0xd3,0x07,0x7d,0x00,0x26,0x07,0x7e,0x00,0x26,0x07,0x7f,0xfe,0xb7, +0x00,0x04,0x00,0x10,0x00,0x39,0x07,0x7d,0xff,0xd3,0x07,0x7e,0xff,0xdc,0x07,0x7f, +0xff,0x7d,0x00,0x35,0x00,0x10,0xff,0xad,0x00,0x11,0xff,0xb7,0x00,0x1d,0xff,0xc1, +0x00,0x24,0xff,0xad,0x00,0x26,0xff,0x9a,0x00,0x37,0xff,0x6b,0x00,0x39,0xff,0x90, +0x00,0x3a,0xff,0xad,0x00,0x3c,0xff,0x7d,0x00,0x44,0xff,0xd3,0x00,0x48,0xff,0xa4, +0x00,0x52,0xff,0xa4,0x00,0x58,0xff,0xa4,0x00,0x5c,0xff,0x90,0x00,0x6d,0xff,0x90, +0x00,0x7d,0xff,0xdc,0x00,0x82,0xff,0xad,0x00,0x83,0xff,0xad,0x00,0x84,0xff,0xad, +0x00,0x85,0xff,0xad,0x00,0x86,0xff,0xad,0x00,0x89,0xff,0x9a,0x00,0x9f,0xff,0x7d, +0x00,0xa2,0xff,0xd3,0x00,0xa3,0xff,0xd3,0x00,0xa4,0xff,0xd3,0x00,0xa5,0xff,0xd3, +0x00,0xa6,0xff,0xd3,0x00,0xa7,0xff,0xd3,0x00,0xaa,0xff,0xa4,0x00,0xab,0xff,0xa4, +0x00,0xac,0xff,0xa4,0x00,0xad,0xff,0xa4,0x00,0xb4,0xff,0xa4,0x00,0xb5,0xff,0xa4, +0x00,0xb6,0xff,0xa4,0x00,0xb7,0xff,0xa4,0x00,0xb8,0xff,0xa4,0x00,0xbb,0xff,0xa4, +0x00,0xbc,0xff,0xa4,0x00,0xbd,0xff,0xa4,0x00,0xbe,0xff,0xa4,0x00,0xbf,0xff,0x90, +0x00,0xc1,0xff,0x90,0x00,0xc8,0xff,0x9a,0x00,0xce,0xff,0x9a,0x00,0xdd,0xff,0xa4, +0x01,0x26,0xff,0x6b,0x01,0x31,0xff,0xa4,0x01,0x3a,0xff,0x7d,0x07,0x7d,0xff,0x6b, +0x07,0x7e,0xff,0x7d,0x07,0x7f,0xff,0xdc,0x00,0x06,0x00,0x24,0x00,0x26,0x00,0x82, +0x00,0x26,0x00,0x83,0x00,0x26,0x00,0x84,0x00,0x26,0x00,0x85,0x00,0x26,0x00,0x86, +0x00,0x26,0x00,0x3b,0x00,0x10,0xff,0x44,0x00,0x11,0xff,0x0d,0x00,0x1d,0xff,0x1f, +0x00,0x24,0xff,0x61,0x00,0x26,0xff,0x88,0x00,0x37,0xff,0xdc,0x00,0x44,0xfe,0xad, +0x00,0x46,0xfe,0xa4,0x00,0x48,0xfe,0xa4,0x00,0x4c,0xff,0xc1,0x00,0x52,0xfe,0xa4, +0x00,0x55,0xfe,0xd3,0x00,0x56,0xfe,0xad,0x00,0x58,0xfe,0xc9,0x00,0x5a,0xfe,0xad, +0x00,0x5c,0xfe,0xc1,0x00,0x6d,0xff,0x44,0x00,0x7d,0xff,0x90,0x00,0x82,0xff,0x61, +0x00,0x83,0xff,0x61,0x00,0x84,0xff,0x61,0x00,0x85,0xff,0x61,0x00,0x86,0xff,0x61, +0x00,0x89,0xff,0x88,0x00,0xa2,0xfe,0xad,0x00,0xa3,0xfe,0xad,0x00,0xa4,0xfe,0xad, +0x00,0xa5,0xfe,0xad,0x00,0xa6,0xfe,0xad,0x00,0xa7,0xfe,0xad,0x00,0xa9,0xfe,0xa4, +0x00,0xaa,0xfe,0xa4,0x00,0xab,0xfe,0xa4,0x00,0xac,0xfe,0xa4,0x00,0xad,0xfe,0xa4, +0x00,0xb4,0xfe,0xa4,0x00,0xb5,0xfe,0xa4,0x00,0xb6,0xfe,0xa4,0x00,0xb7,0xfe,0xa4, +0x00,0xb8,0xfe,0xa4,0x00,0xbb,0xfe,0xc9,0x00,0xbc,0xfe,0xc9,0x00,0xbd,0xfe,0xc9, +0x00,0xbe,0xfe,0xc9,0x00,0xbf,0xfe,0xc1,0x00,0xc1,0xfe,0xc1,0x00,0xc8,0xff,0x88, +0x00,0xc9,0xfe,0xa4,0x00,0xce,0xff,0x88,0x00,0xcf,0xfe,0xa4,0x00,0xdd,0xfe,0xa4, +0x01,0x17,0xfe,0xd3,0x01,0x1b,0xfe,0xd3,0x01,0x21,0xfe,0xad,0x01,0x23,0xfe,0xad, +0x01,0x26,0xff,0xdc,0x01,0x31,0xfe,0xc9,0x07,0x7e,0xff,0xd3,0x07,0x7f,0xfe,0xf8, +0x00,0x02,0x00,0x3d,0xff,0xdc,0x01,0x3f,0xff,0xdc,0x00,0x2f,0x00,0x10,0xff,0x88, +0x00,0x11,0xfe,0xf8,0x00,0x1d,0xff,0x59,0x00,0x24,0xff,0x7d,0x00,0x32,0xff,0xdc, +0x00,0x44,0xff,0x61,0x00,0x48,0xff,0x61,0x00,0x4c,0xff,0xd3,0x00,0x52,0xff,0x61, +0x00,0x58,0xff,0x75,0x00,0x5c,0xff,0xc9,0x00,0x6d,0xff,0x4e,0x00,0x7d,0xff,0x90, +0x00,0x82,0xff,0x7d,0x00,0x83,0xff,0x7d,0x00,0x84,0xff,0x7d,0x00,0x85,0xff,0x7d, +0x00,0x86,0xff,0x7d,0x00,0x94,0xff,0xdc,0x00,0x95,0xff,0xdc,0x00,0x96,0xff,0xdc, +0x00,0x97,0xff,0xdc,0x00,0x98,0xff,0xdc,0x00,0xa2,0xff,0x61,0x00,0xa3,0xff,0x61, +0x00,0xa4,0xff,0x61,0x00,0xa5,0xff,0x61,0x00,0xa6,0xff,0x61,0x00,0xa7,0xff,0x61, +0x00,0xaa,0xff,0x61,0x00,0xab,0xff,0x61,0x00,0xac,0xff,0x61,0x00,0xad,0xff,0x61, +0x00,0xb4,0xff,0x61,0x00,0xb5,0xff,0x61,0x00,0xb6,0xff,0x61,0x00,0xb7,0xff,0x61, +0x00,0xb8,0xff,0x61,0x00,0xbb,0xff,0x75,0x00,0xbc,0xff,0x75,0x00,0xbd,0xff,0x75, +0x00,0xbe,0xff,0x75,0x00,0xbf,0xff,0xc9,0x00,0xc1,0xff,0xc9,0x00,0xdd,0xff,0x61, +0x01,0x31,0xff,0x75,0x07,0x7f,0xfe,0xe6,0x00,0x2d,0x00,0x10,0xff,0xad,0x00,0x11, +0xff,0x15,0x00,0x1d,0xff,0x88,0x00,0x24,0xff,0x90,0x00,0x44,0xff,0x7d,0x00,0x48, +0xff,0x88,0x00,0x4c,0xff,0xd3,0x00,0x52,0xff,0x88,0x00,0x55,0xff,0xa4,0x00,0x58, +0xff,0xb7,0x00,0x5c,0xff,0xdc,0x00,0x6d,0xff,0x90,0x00,0x7d,0xff,0xdc,0x00,0x82, +0xff,0x90,0x00,0x83,0xff,0x90,0x00,0x84,0xff,0x90,0x00,0x85,0xff,0x90,0x00,0x86, +0xff,0x90,0x00,0xa2,0xff,0x7d,0x00,0xa3,0xff,0x7d,0x00,0xa4,0xff,0x7d,0x00,0xa5, +0xff,0x7d,0x00,0xa6,0xff,0x7d,0x00,0xa7,0xff,0x7d,0x00,0xaa,0xff,0x88,0x00,0xab, +0xff,0x88,0x00,0xac,0xff,0x88,0x00,0xad,0xff,0x88,0x00,0xb4,0xff,0x88,0x00,0xb5, +0xff,0x88,0x00,0xb6,0xff,0x88,0x00,0xb7,0xff,0x88,0x00,0xb8,0xff,0x88,0x00,0xbb, +0xff,0xb7,0x00,0xbc,0xff,0xb7,0x00,0xbd,0xff,0xb7,0x00,0xbe,0xff,0xb7,0x00,0xbf, +0xff,0xdc,0x00,0xc1,0xff,0xdc,0x00,0xdd,0xff,0x88,0x01,0x17,0xff,0xa4,0x01,0x1b, +0xff,0xa4,0x01,0x31,0xff,0xb7,0x07,0x7d,0xff,0xdc,0x07,0x7f,0xfe,0xf8,0x00,0x17, +0x00,0x10,0xff,0x9a,0x00,0x26,0xff,0x6b,0x00,0x32,0xff,0x7d,0x00,0x37,0xff,0xdc, +0x00,0x48,0xff,0xa4,0x00,0x6d,0xff,0x90,0x00,0x89,0xff,0x6b,0x00,0x94,0xff,0x7d, +0x00,0x95,0xff,0x7d,0x00,0x96,0xff,0x7d,0x00,0x97,0xff,0x7d,0x00,0x98,0xff,0x7d, +0x00,0xaa,0xff,0xa4,0x00,0xab,0xff,0xa4,0x00,0xac,0xff,0xa4,0x00,0xad,0xff,0xa4, +0x00,0xc8,0xff,0x6b,0x00,0xce,0xff,0x6b,0x00,0xdd,0xff,0xa4,0x01,0x26,0xff,0xdc, +0x07,0x7d,0xff,0x61,0x07,0x7e,0xff,0xad,0x07,0x7f,0xff,0xd3,0x00,0x32,0x00,0x10, +0xff,0x0d,0x00,0x11,0xfe,0x61,0x00,0x1d,0xfe,0xf0,0x00,0x24,0xff,0x61,0x00,0x26, +0xff,0x90,0x00,0x32,0xff,0x90,0x00,0x44,0xfe,0xe6,0x00,0x48,0xfe,0xf0,0x00,0x4c, +0xff,0xb7,0x00,0x52,0xfe,0xf0,0x00,0x58,0xff,0x15,0x00,0x6d,0xff,0x1f,0x00,0x7d, +0xff,0x6b,0x00,0x82,0xff,0x61,0x00,0x83,0xff,0x61,0x00,0x84,0xff,0x61,0x00,0x85, +0xff,0x61,0x00,0x86,0xff,0x61,0x00,0x89,0xff,0x90,0x00,0x94,0xff,0x90,0x00,0x95, +0xff,0x90,0x00,0x96,0xff,0x90,0x00,0x97,0xff,0x90,0x00,0x98,0xff,0x90,0x00,0xa2, +0xfe,0xe6,0x00,0xa3,0xfe,0xe6,0x00,0xa4,0xfe,0xe6,0x00,0xa5,0xfe,0xe6,0x00,0xa6, +0xfe,0xe6,0x00,0xa7,0xfe,0xe6,0x00,0xaa,0xfe,0xf0,0x00,0xab,0xfe,0xf0,0x00,0xac, +0xfe,0xf0,0x00,0xad,0xfe,0xf0,0x00,0xb4,0xfe,0xf0,0x00,0xb5,0xfe,0xf0,0x00,0xb6, +0xfe,0xf0,0x00,0xb7,0xfe,0xf0,0x00,0xb8,0xfe,0xf0,0x00,0xbb,0xff,0x15,0x00,0xbc, +0xff,0x15,0x00,0xbd,0xff,0x15,0x00,0xbe,0xff,0x15,0x00,0xc8,0xff,0x90,0x00,0xce, +0xff,0x90,0x00,0xdd,0xfe,0xf0,0x01,0x31,0xff,0x15,0x07,0x7d,0xff,0x90,0x07,0x7e, +0xff,0xdc,0x07,0x7f,0xfe,0xf8,0x00,0x04,0x00,0x10,0xff,0xdc,0x07,0x7d,0xff,0xdc, +0x07,0x7e,0xff,0xdc,0x07,0x7f,0xff,0xdc,0x00,0x01,0x00,0x5b,0xff,0xdc,0x00,0x0d, +0x00,0x10,0xff,0x90,0x00,0x11,0xff,0x6b,0x00,0x1d,0xff,0xb7,0x00,0x57,0xff,0xdc, +0x00,0x5a,0xff,0xdc,0x00,0x5c,0xff,0xdc,0x00,0x6d,0xff,0xb7,0x00,0x7d,0xff,0xdc, +0x00,0xbf,0xff,0xdc,0x00,0xc1,0xff,0xdc,0x01,0x27,0xff,0xdc,0x07,0x7d,0x00,0x41, +0x07,0x7f,0xff,0x15,0x00,0x1c,0x00,0x44,0xff,0xdc,0x00,0x48,0xff,0xb7,0x00,0x52, +0xff,0xb7,0x00,0x58,0xff,0xc1,0x00,0x5c,0xff,0xb7,0x00,0xa2,0xff,0xdc,0x00,0xa3, +0xff,0xdc,0x00,0xa4,0xff,0xdc,0x00,0xa5,0xff,0xdc,0x00,0xa6,0xff,0xdc,0x00,0xa7, +0xff,0xdc,0x00,0xaa,0xff,0xb7,0x00,0xab,0xff,0xb7,0x00,0xac,0xff,0xb7,0x00,0xad, +0xff,0xb7,0x00,0xb4,0xff,0xb7,0x00,0xb5,0xff,0xb7,0x00,0xb6,0xff,0xb7,0x00,0xb7, +0xff,0xb7,0x00,0xb8,0xff,0xb7,0x00,0xbb,0xff,0xc1,0x00,0xbc,0xff,0xc1,0x00,0xbd, +0xff,0xc1,0x00,0xbe,0xff,0xc1,0x00,0xbf,0xff,0xb7,0x00,0xc1,0xff,0xb7,0x00,0xdd, +0xff,0xb7,0x01,0x31,0xff,0xc1,0x00,0x03,0x07,0x7d,0xff,0x6b,0x07,0x7e,0xff,0x90, +0x07,0x7f,0xff,0xa4,0x00,0x06,0x00,0x10,0x00,0x26,0x00,0x11,0xff,0xdc,0x00,0x5b, +0xff,0xc1,0x07,0x7d,0xff,0x6b,0x07,0x7e,0xff,0xb7,0x07,0x7f,0xff,0x7d,0x00,0x24, +0x00,0x10,0xff,0x7d,0x00,0x11,0xff,0x44,0x00,0x1d,0xff,0xdc,0x00,0x46,0xff,0xd3, +0x00,0x47,0xff,0xdc,0x00,0x48,0xff,0xd3,0x00,0x4a,0xff,0xdc,0x00,0x4b,0xff,0xdc, +0x00,0x50,0xff,0xdc,0x00,0x51,0xff,0xdc,0x00,0x52,0xff,0xd3,0x00,0x54,0xff,0xdc, +0x00,0x55,0xff,0xdc,0x00,0x5b,0xff,0xc9,0x00,0x6d,0xff,0xb7,0x00,0xa9,0xff,0xd3, +0x00,0xaa,0xff,0xd3,0x00,0xab,0xff,0xd3,0x00,0xac,0xff,0xd3,0x00,0xad,0xff,0xd3, +0x00,0xb3,0xff,0xdc,0x00,0xb4,0xff,0xd3,0x00,0xb5,0xff,0xd3,0x00,0xb6,0xff,0xd3, +0x00,0xb7,0xff,0xd3,0x00,0xb8,0xff,0xd3,0x00,0xc9,0xff,0xd3,0x00,0xcf,0xff,0xd3, +0x00,0xd1,0x00,0x48,0x00,0xdd,0xff,0xd3,0x00,0xe1,0xff,0xdc,0x01,0x0a,0xff,0xdc, +0x01,0x17,0xff,0xdc,0x01,0x1b,0xff,0xdc,0x07,0x7e,0x00,0x56,0x07,0x7f,0xfe,0xc9, +0x00,0x07,0x00,0x10,0xff,0xc9,0x00,0x11,0xff,0x61,0x00,0x1d,0xff,0x90,0x00,0x6d, +0xff,0xdc,0x00,0x7d,0xff,0xdc,0x07,0x7e,0xff,0xdc,0x07,0x7f,0xfe,0xf0,0x00,0x05, +0x00,0x11,0xff,0x44,0x00,0x1d,0xff,0x90,0x00,0x6d,0xff,0xdc,0x00,0x7d,0xff,0xdc, +0x07,0x7f,0xff,0x29,0x00,0x10,0x00,0x46,0xff,0xdc,0x00,0x48,0xff,0xc1,0x00,0x52, +0xff,0xc1,0x00,0xa9,0xff,0xdc,0x00,0xaa,0xff,0xc1,0x00,0xab,0xff,0xc1,0x00,0xac, +0xff,0xc1,0x00,0xad,0xff,0xc1,0x00,0xb4,0xff,0xc1,0x00,0xb5,0xff,0xc1,0x00,0xb6, +0xff,0xc1,0x00,0xb7,0xff,0xc1,0x00,0xb8,0xff,0xc1,0x00,0xc9,0xff,0xdc,0x00,0xcf, +0xff,0xdc,0x00,0xdd,0xff,0xc1,0x00,0x06,0x00,0x10,0xff,0xdc,0x00,0x11,0xfe,0xdc, +0x00,0x1d,0xff,0x6b,0x00,0x6d,0xff,0xdc,0x00,0x7d,0xff,0xdc,0x07,0x7f,0xfe,0xd3, +0x00,0x17,0x00,0x25,0xff,0xdc,0x00,0x26,0xff,0xdc,0x00,0x27,0xff,0xdc,0x00,0x2a, +0xff,0xdc,0x00,0x2d,0xff,0xdc,0x00,0x37,0xff,0x90,0x00,0x39,0xff,0x90,0x00,0x3a, +0xff,0xdc,0x00,0x3c,0xff,0x6b,0x00,0x59,0xff,0xdc,0x00,0x5a,0xff,0xdc,0x00,0x5c, +0xff,0xdc,0x00,0x88,0x00,0x97,0x00,0x89,0xff,0xdc,0x00,0x9f,0xff,0x6b,0x00,0xbf, +0xff,0xdc,0x00,0xc1,0xff,0xdc,0x00,0xc8,0xff,0xdc,0x00,0xce,0xff,0xdc,0x00,0xd0, +0xff,0xdc,0x00,0xe0,0xff,0xdc,0x01,0x26,0xff,0x90,0x01,0x3a,0xff,0x6b,0x00,0x21, +0x00,0x24,0xff,0xb7,0x00,0x25,0xff,0xb7,0x00,0x26,0xff,0xdc,0x00,0x27,0xff,0xdc, +0x00,0x2d,0xff,0xdc,0x00,0x32,0xff,0xdc,0x00,0x37,0xff,0x44,0x00,0x39,0xff,0x4e, +0x00,0x3a,0xff,0x90,0x00,0x3b,0xff,0x90,0x00,0x3c,0xff,0x1f,0x00,0x59,0xff,0xdc, +0x00,0x5a,0xff,0xdc,0x00,0x5c,0xff,0xdc,0x00,0x82,0xff,0xb7,0x00,0x83,0xff,0xb7, +0x00,0x84,0xff,0xb7,0x00,0x85,0xff,0xb7,0x00,0x86,0xff,0xb7,0x00,0x89,0xff,0xdc, +0x00,0x94,0xff,0xdc,0x00,0x95,0xff,0xdc,0x00,0x96,0xff,0xdc,0x00,0x97,0xff,0xdc, +0x00,0x98,0xff,0xdc,0x00,0x9f,0xff,0x1f,0x00,0xbf,0xff,0xdc,0x00,0xc1,0xff,0xdc, +0x00,0xc8,0xff,0xdc,0x00,0xce,0xff,0xdc,0x00,0xd0,0xff,0xdc,0x01,0x26,0xff,0x44, +0x01,0x3a,0xff,0x1f,0x00,0x5c,0x00,0x10,0xff,0xd3,0x00,0x11,0xff,0xdc,0x00,0x1d, +0xff,0xdc,0x00,0x24,0x00,0x39,0x00,0x26,0xff,0xdc,0x00,0x2a,0xff,0xdc,0x00,0x32, +0xff,0xdc,0x00,0x34,0xff,0xdc,0x00,0x37,0xff,0x61,0x00,0x39,0xff,0x7d,0x00,0x3a, +0xff,0x90,0x00,0x3c,0xff,0x61,0x00,0x46,0xff,0xdc,0x00,0x47,0xff,0xdc,0x00,0x48, +0xff,0xdc,0x00,0x49,0xff,0xb7,0x00,0x52,0xff,0xdc,0x00,0x54,0xff,0xdc,0x00,0x57, +0xff,0xdc,0x00,0x59,0xff,0x88,0x00,0x5a,0xff,0xad,0x00,0x5c,0xff,0x75,0x00,0x6d, +0xff,0xb7,0x00,0x82,0x00,0x39,0x00,0x83,0x00,0x39,0x00,0x84,0x00,0x39,0x00,0x85, +0x00,0x39,0x00,0x86,0x00,0x39,0x00,0x89,0xff,0xdc,0x00,0x94,0xff,0xdc,0x00,0x95, +0xff,0xdc,0x00,0x96,0xff,0xdc,0x00,0x97,0xff,0xdc,0x00,0x98,0xff,0xdc,0x00,0x9f, +0xff,0x61,0x00,0xa9,0xff,0xdc,0x00,0xaa,0xff,0xdc,0x00,0xab,0xff,0xdc,0x00,0xac, +0xff,0xdc,0x00,0xad,0xff,0xdc,0x00,0xb4,0xff,0xdc,0x00,0xb5,0xff,0xdc,0x00,0xb6, +0xff,0xdc,0x00,0xb7,0xff,0xdc,0x00,0xb8,0xff,0xdc,0x00,0xbf,0xff,0x75,0x00,0xc1, +0xff,0x75,0x00,0xc2,0x00,0x39,0x00,0xc4,0x00,0x39,0x00,0xc6,0x00,0x39,0x00,0xc8, +0xff,0xdc,0x00,0xc9,0xff,0xdc,0x00,0xca,0xff,0xdc,0x00,0xcc,0xff,0xdc,0x00,0xcd, +0xff,0xdc,0x00,0xce,0xff,0xdc,0x00,0xcf,0xff,0xdc,0x00,0xd1,0xff,0xdc,0x00,0xd5, +0xff,0xdc,0x00,0xd7,0xff,0xdc,0x00,0xd9,0xff,0xdc,0x00,0xdb,0xff,0xdc,0x00,0xdd, +0xff,0xdc,0x00,0xde,0xff,0xdc,0x00,0xe0,0xff,0xdc,0x00,0xe2,0xff,0xdc,0x01,0x0e, +0xff,0xdc,0x01,0x0f,0xff,0xdc,0x01,0x10,0xff,0xdc,0x01,0x11,0xff,0xdc,0x01,0x12, +0xff,0xdc,0x01,0x13,0xff,0xdc,0x01,0x24,0xff,0x61,0x01,0x25,0xff,0xdc,0x01,0x26, +0xff,0x61,0x01,0x27,0xff,0xdc,0x01,0x36,0xff,0x90,0x01,0x37,0xff,0xad,0x01,0x38, +0xff,0x61,0x01,0x39,0xff,0x75,0x01,0x3a,0xff,0x61,0x01,0xf0,0xff,0xdc,0x01,0xf1, +0xff,0xdc,0x06,0x07,0xff,0x90,0x06,0x0a,0xff,0xad,0x06,0x0b,0xff,0x90,0x06,0x0c, +0xff,0xad,0x06,0x75,0xff,0x61,0x06,0x76,0xff,0x75,0x07,0x7d,0xfe,0xf8,0x07,0x7e, +0xff,0x03,0x07,0x7f,0x00,0x2f,0x00,0x5d,0x00,0x10,0xff,0xd3,0x00,0x11,0xff,0xdc, +0x00,0x1d,0xff,0xdc,0x00,0x24,0x00,0x39,0x00,0x26,0xff,0xdc,0x00,0x2a,0xff,0xdc, +0x00,0x32,0xff,0xdc,0x00,0x34,0xff,0xdc,0x00,0x37,0xff,0x61,0x00,0x39,0xff,0x7d, +0x00,0x3a,0xff,0x90,0x00,0x3c,0xff,0x61,0x00,0x46,0xff,0xdc,0x00,0x47,0xff,0xdc, +0x00,0x48,0xff,0xdc,0x00,0x49,0xff,0xb7,0x00,0x52,0xff,0xdc,0x00,0x54,0xff,0xdc, +0x00,0x57,0xff,0xdc,0x00,0x59,0xff,0x88,0x00,0x5a,0xff,0xad,0x00,0x5c,0xff,0x75, +0x00,0x6d,0xff,0xb7,0x00,0x82,0x00,0x39,0x00,0x83,0x00,0x39,0x00,0x84,0x00,0x39, +0x00,0x85,0x00,0x39,0x00,0x86,0x00,0x39,0x00,0x89,0xff,0xdc,0x00,0x94,0xff,0xdc, +0x00,0x95,0xff,0xdc,0x00,0x96,0xff,0xdc,0x00,0x97,0xff,0xdc,0x00,0x98,0xff,0xdc, +0x00,0x9f,0xff,0x61,0x00,0xa9,0xff,0xdc,0x00,0xaa,0xff,0xdc,0x00,0xab,0xff,0xdc, +0x00,0xac,0xff,0xdc,0x00,0xad,0xff,0xdc,0x00,0xb4,0xff,0xdc,0x00,0xb5,0xff,0xdc, +0x00,0xb6,0xff,0xdc,0x00,0xb7,0xff,0xdc,0x00,0xb8,0xff,0xdc,0x00,0xbf,0xff,0x75, +0x00,0xc1,0xff,0x75,0x00,0xc2,0x00,0x39,0x00,0xc4,0x00,0x39,0x00,0xc6,0x00,0x39, +0x00,0xc8,0xff,0xdc,0x00,0xc9,0xff,0xdc,0x00,0xca,0xff,0xdc,0x00,0xcc,0xff,0xdc, +0x00,0xcd,0xff,0xdc,0x00,0xce,0xff,0xdc,0x00,0xcf,0xff,0xdc,0x00,0xd1,0xff,0xdc, +0x00,0xd5,0xff,0xdc,0x00,0xd7,0xff,0xdc,0x00,0xd9,0xff,0xdc,0x00,0xdb,0xff,0xdc, +0x00,0xdd,0xff,0xdc,0x00,0xde,0xff,0xdc,0x00,0xe0,0xff,0xdc,0x00,0xe2,0xff,0xdc, +0x01,0x0e,0xff,0xdc,0x01,0x0f,0xff,0xdc,0x01,0x10,0xff,0xdc,0x01,0x11,0xff,0xdc, +0x01,0x12,0xff,0xdc,0x01,0x13,0xff,0xdc,0x01,0x24,0xff,0x61,0x01,0x25,0xff,0xdc, +0x01,0x26,0xff,0x61,0x01,0x27,0xff,0xdc,0x01,0x36,0xff,0x90,0x01,0x37,0xff,0xad, +0x01,0x38,0xff,0x61,0x01,0x39,0xff,0x75,0x01,0x3a,0xff,0x61,0x01,0xf0,0xff,0xdc, +0x01,0xf1,0xff,0xdc,0x06,0x07,0xff,0x90,0x06,0x09,0xff,0x90,0x06,0x0a,0xff,0xad, +0x06,0x0b,0xff,0x90,0x06,0x0c,0xff,0xad,0x06,0x75,0xff,0x61,0x06,0x76,0xff,0x75, +0x07,0x7d,0xfe,0xf8,0x07,0x7e,0xff,0x03,0x07,0x7f,0x00,0x2f,0x00,0x5d,0x00,0x10, +0xff,0xd3,0x00,0x11,0xff,0xdc,0x00,0x1d,0xff,0xdc,0x00,0x24,0x00,0x39,0x00,0x26, +0xff,0xdc,0x00,0x2a,0xff,0xdc,0x00,0x32,0xff,0xdc,0x00,0x34,0xff,0xdc,0x00,0x37, +0xff,0x61,0x00,0x39,0xff,0x7d,0x00,0x3a,0xff,0x90,0x00,0x3c,0xff,0x61,0x00,0x46, +0xff,0xdc,0x00,0x47,0xff,0xdc,0x00,0x48,0xff,0xdc,0x00,0x49,0xff,0xb7,0x00,0x52, +0xff,0xdc,0x00,0x54,0xff,0xdc,0x00,0x57,0xff,0xdc,0x00,0x59,0xff,0x88,0x00,0x5a, +0xff,0xad,0x00,0x5c,0xff,0x75,0x00,0x6d,0xff,0xb7,0x00,0x82,0x00,0x39,0x00,0x83, +0x00,0x39,0x00,0x84,0x00,0x39,0x00,0x85,0x00,0x39,0x00,0x86,0x00,0x39,0x00,0x89, +0xff,0xdc,0x00,0x94,0xff,0xdc,0x00,0x95,0xff,0xdc,0x00,0x96,0xff,0xdc,0x00,0x97, +0xff,0xdc,0x00,0x98,0xff,0xdc,0x00,0x9f,0xff,0x61,0x00,0xa9,0xff,0xdc,0x00,0xaa, +0xff,0xdc,0x00,0xab,0xff,0xdc,0x00,0xac,0xff,0xdc,0x00,0xad,0xff,0xdc,0x00,0xb4, +0xff,0xdc,0x00,0xb5,0xff,0xdc,0x00,0xb6,0xff,0xdc,0x00,0xb7,0xff,0xdc,0x00,0xb8, +0xff,0xdc,0x00,0xbf,0xff,0x75,0x00,0xc1,0xff,0x75,0x00,0xc2,0x00,0x39,0x00,0xc4, +0x00,0x39,0x00,0xc6,0x00,0x39,0x00,0xc8,0xff,0xdc,0x00,0xc9,0xff,0xdc,0x00,0xca, +0xff,0xdc,0x00,0xcc,0xff,0xdc,0x00,0xcd,0xff,0xdc,0x00,0xce,0xff,0xdc,0x00,0xcf, +0xff,0xdc,0x00,0xd1,0xff,0xdc,0x00,0xd5,0xff,0xdc,0x00,0xd7,0xff,0xdc,0x00,0xd9, +0xff,0xdc,0x00,0xdb,0xff,0xdc,0x00,0xdd,0xff,0xdc,0x00,0xde,0xff,0xdc,0x00,0xe0, +0xff,0xdc,0x00,0xe2,0xff,0xdc,0x01,0x0e,0xff,0xdc,0x01,0x0f,0xff,0xdc,0x01,0x10, +0xff,0xdc,0x01,0x11,0xff,0xdc,0x01,0x12,0xff,0xdc,0x01,0x13,0xff,0xdc,0x01,0x24, +0xff,0x61,0x01,0x25,0xff,0xdc,0x01,0x26,0xff,0x61,0x01,0x27,0xff,0xdc,0x01,0x36, +0xff,0x90,0x01,0x37,0xff,0xad,0x01,0x38,0xff,0x61,0x01,0x39,0xff,0x75,0x01,0x3a, +0xff,0x61,0x01,0xf0,0xff,0xdc,0x01,0xf1,0xff,0xdc,0x06,0x07,0xff,0x90,0x06,0x09, +0xff,0x90,0x06,0x0a,0xff,0xad,0x06,0x0b,0xff,0x90,0x06,0x0c,0xff,0xad,0x06,0x75, +0xff,0x61,0x06,0x76,0xff,0x75,0x07,0x7d,0xfe,0xf8,0x07,0x7e,0xff,0x03,0x07,0x7f, +0x00,0x2f,0x00,0x5c,0x00,0x10,0xff,0xd3,0x00,0x11,0xff,0xdc,0x00,0x1d,0xff,0xdc, +0x00,0x24,0x00,0x39,0x00,0x26,0xff,0xdc,0x00,0x2a,0xff,0xdc,0x00,0x32,0xff,0xdc, +0x00,0x34,0xff,0xdc,0x00,0x37,0xff,0x61,0x00,0x39,0xff,0x7d,0x00,0x3a,0xff,0x90, +0x00,0x3c,0xff,0x61,0x00,0x46,0xff,0xdc,0x00,0x47,0xff,0xdc,0x00,0x48,0xff,0xdc, +0x00,0x49,0xff,0xb7,0x00,0x52,0xff,0xdc,0x00,0x54,0xff,0xdc,0x00,0x57,0xff,0xdc, +0x00,0x59,0xff,0x88,0x00,0x5a,0xff,0xad,0x00,0x5c,0xff,0x75,0x00,0x6d,0xff,0xb7, +0x00,0x82,0x00,0x39,0x00,0x83,0x00,0x39,0x00,0x84,0x00,0x39,0x00,0x85,0x00,0x39, +0x00,0x86,0x00,0x39,0x00,0x89,0xff,0xdc,0x00,0x94,0xff,0xdc,0x00,0x95,0xff,0xdc, +0x00,0x96,0xff,0xdc,0x00,0x97,0xff,0xdc,0x00,0x98,0xff,0xdc,0x00,0x9f,0xff,0x61, +0x00,0xa9,0xff,0xdc,0x00,0xaa,0xff,0xdc,0x00,0xab,0xff,0xdc,0x00,0xac,0xff,0xdc, +0x00,0xad,0xff,0xdc,0x00,0xb4,0xff,0xdc,0x00,0xb5,0xff,0xdc,0x00,0xb6,0xff,0xdc, +0x00,0xb7,0xff,0xdc,0x00,0xb8,0xff,0xdc,0x00,0xbf,0xff,0x75,0x00,0xc1,0xff,0x75, +0x00,0xc2,0x00,0x39,0x00,0xc4,0x00,0x39,0x00,0xc6,0x00,0x39,0x00,0xc8,0xff,0xdc, +0x00,0xc9,0xff,0xdc,0x00,0xca,0xff,0xdc,0x00,0xcc,0xff,0xdc,0x00,0xcd,0xff,0xdc, +0x00,0xce,0xff,0xdc,0x00,0xcf,0xff,0xdc,0x00,0xd1,0xff,0xdc,0x00,0xd5,0xff,0xdc, +0x00,0xd7,0xff,0xdc,0x00,0xd9,0xff,0xdc,0x00,0xdb,0xff,0xdc,0x00,0xdd,0xff,0xdc, +0x00,0xde,0xff,0xdc,0x00,0xe0,0xff,0xdc,0x00,0xe2,0xff,0xdc,0x01,0x0e,0xff,0xdc, +0x01,0x0f,0xff,0xdc,0x01,0x10,0xff,0xdc,0x01,0x11,0xff,0xdc,0x01,0x12,0xff,0xdc, +0x01,0x13,0xff,0xdc,0x01,0x24,0xff,0x61,0x01,0x25,0xff,0xdc,0x01,0x26,0xff,0x61, +0x01,0x27,0xff,0xdc,0x01,0x36,0xff,0x90,0x01,0x37,0xff,0xad,0x01,0x38,0xff,0x61, +0x01,0x39,0xff,0x75,0x01,0x3a,0xff,0x61,0x01,0xf0,0xff,0xdc,0x06,0x07,0xff,0x90, +0x06,0x09,0xff,0x90,0x06,0x0a,0xff,0xad,0x06,0x0b,0xff,0x90,0x06,0x0c,0xff,0xad, +0x06,0x75,0xff,0x61,0x06,0x76,0xff,0x75,0x07,0x7d,0xfe,0xf8,0x07,0x7e,0xff,0x03, +0x07,0x7f,0x00,0x2f,0x00,0x5d,0x00,0x10,0xff,0xd3,0x00,0x11,0xff,0xdc,0x00,0x1d, +0xff,0xdc,0x00,0x24,0x00,0x39,0x00,0x26,0xff,0xdc,0x00,0x2a,0xff,0xdc,0x00,0x32, +0xff,0xdc,0x00,0x34,0xff,0xdc,0x00,0x37,0xff,0x61,0x00,0x39,0xff,0x7d,0x00,0x3a, +0xff,0x90,0x00,0x3c,0xff,0x61,0x00,0x46,0xff,0xdc,0x00,0x47,0xff,0xdc,0x00,0x48, +0xff,0xdc,0x00,0x49,0xff,0xb7,0x00,0x52,0xff,0xdc,0x00,0x54,0xff,0xdc,0x00,0x57, +0xff,0xdc,0x00,0x59,0xff,0x88,0x00,0x5a,0xff,0xad,0x00,0x5c,0xff,0x75,0x00,0x6d, +0xff,0xb7,0x00,0x82,0x00,0x39,0x00,0x83,0x00,0x39,0x00,0x84,0x00,0x39,0x00,0x85, +0x00,0x39,0x00,0x86,0x00,0x39,0x00,0x89,0xff,0xdc,0x00,0x94,0xff,0xdc,0x00,0x95, +0xff,0xdc,0x00,0x96,0xff,0xdc,0x00,0x97,0xff,0xdc,0x00,0x98,0xff,0xdc,0x00,0x9f, +0xff,0x61,0x00,0xa9,0xff,0xdc,0x00,0xaa,0xff,0xdc,0x00,0xab,0xff,0xdc,0x00,0xac, +0xff,0xdc,0x00,0xad,0xff,0xdc,0x00,0xb4,0xff,0xdc,0x00,0xb5,0xff,0xdc,0x00,0xb6, +0xff,0xdc,0x00,0xb7,0xff,0xdc,0x00,0xb8,0xff,0xdc,0x00,0xbf,0xff,0x75,0x00,0xc1, +0xff,0x75,0x00,0xc2,0x00,0x39,0x00,0xc4,0x00,0x39,0x00,0xc6,0x00,0x39,0x00,0xc8, +0xff,0xdc,0x00,0xc9,0xff,0xdc,0x00,0xca,0xff,0xdc,0x00,0xcc,0xff,0xdc,0x00,0xcd, +0xff,0xdc,0x00,0xce,0xff,0xdc,0x00,0xcf,0xff,0xdc,0x00,0xd1,0xff,0xdc,0x00,0xd5, +0xff,0xdc,0x00,0xd7,0xff,0xdc,0x00,0xd9,0xff,0xdc,0x00,0xdb,0xff,0xdc,0x00,0xdd, +0xff,0xdc,0x00,0xde,0xff,0xdc,0x00,0xe0,0xff,0xdc,0x00,0xe2,0xff,0xdc,0x01,0x0e, +0xff,0xdc,0x01,0x0f,0xff,0xdc,0x01,0x10,0xff,0xdc,0x01,0x11,0xff,0xdc,0x01,0x12, +0xff,0xdc,0x01,0x13,0xff,0xdc,0x01,0x24,0xff,0x61,0x01,0x25,0xff,0xdc,0x01,0x26, +0xff,0x61,0x01,0x27,0xff,0xdc,0x01,0x36,0xff,0x90,0x01,0x37,0xff,0xad,0x01,0x38, +0xff,0x61,0x01,0x39,0xff,0x75,0x01,0x3a,0xff,0x61,0x01,0xf0,0xff,0xdc,0x01,0xf1, +0xff,0xdc,0x06,0x07,0xff,0x90,0x06,0x09,0xff,0x90,0x06,0x0a,0xff,0xad,0x06,0x0b, +0xff,0x90,0x06,0x0c,0xff,0xad,0x06,0x75,0xff,0x61,0x06,0x76,0xff,0x75,0x07,0x7d, +0xfe,0xf8,0x07,0x7e,0xff,0x03,0x07,0x7f,0x00,0x2f,0x00,0x03,0x07,0x7d,0xff,0xad, +0x07,0x7e,0xff,0xa4,0x07,0x7f,0xff,0x90,0x00,0x06,0x00,0x3c,0xff,0xdc,0x00,0x6d, +0xff,0xdc,0x00,0x7d,0xff,0xdc,0x00,0x9f,0xff,0xdc,0x01,0x3a,0xff,0xdc,0x07,0x7e, +0x00,0x26,0x00,0x15,0x00,0x24,0xff,0xdc,0x00,0x39,0xff,0xdc,0x00,0x3c,0xff,0x90, +0x00,0x6d,0xff,0xdc,0x00,0x7d,0xff,0xdc,0x00,0x82,0xff,0xdc,0x00,0x83,0xff,0xdc, +0x00,0x84,0xff,0xdc,0x00,0x85,0xff,0xdc,0x00,0x86,0xff,0xdc,0x00,0x9f,0xff,0x90, +0x00,0xc2,0xff,0xdc,0x00,0xc4,0xff,0xdc,0x00,0xc6,0xff,0xdc,0x01,0x38,0xff,0x90, +0x01,0x3a,0xff,0x90,0x01,0xf4,0xff,0x90,0x06,0x75,0xff,0x90,0x07,0x7d,0xff,0xd3, +0x07,0x7e,0xff,0xc9,0x07,0x7f,0xff,0x44,0x00,0x12,0x00,0x10,0x00,0x39,0x00,0x11, +0xff,0xad,0x00,0x1d,0xff,0xdc,0x00,0x24,0xff,0xdc,0x00,0x39,0xff,0xdc,0x00,0x3b, +0xff,0x7d,0x00,0x3c,0xff,0x90,0x00,0x6d,0xff,0xdc,0x00,0x82,0xff,0xdc,0x00,0x83, +0xff,0xdc,0x00,0x84,0xff,0xdc,0x00,0x85,0xff,0xdc,0x00,0x86,0xff,0xdc,0x00,0x9f, +0xff,0x90,0x01,0x3a,0xff,0x90,0x07,0x7d,0xff,0xd3,0x07,0x7e,0xff,0xdc,0x07,0x7f, +0xff,0x44,0x00,0x12,0x00,0x10,0x00,0x39,0x00,0x11,0xff,0xad,0x00,0x1d,0xff,0xdc, +0x00,0x24,0xff,0xdc,0x00,0x39,0xff,0xdc,0x00,0x3b,0xff,0x7d,0x00,0x3c,0xff,0x90, +0x00,0x6d,0xff,0xdc,0x00,0x82,0xff,0xdc,0x00,0x83,0xff,0xdc,0x00,0x84,0xff,0xdc, +0x00,0x85,0xff,0xdc,0x00,0x86,0xff,0xdc,0x00,0x9f,0xff,0x90,0x01,0x3a,0xff,0x90, +0x07,0x7d,0xff,0xd3,0x07,0x7e,0xff,0xdc,0x07,0x7f,0xff,0x44,0x00,0x12,0x00,0x10, +0x00,0x39,0x00,0x11,0xff,0xad,0x00,0x1d,0xff,0xdc,0x00,0x24,0xff,0xdc,0x00,0x39, +0xff,0xdc,0x00,0x3b,0xff,0x7d,0x00,0x3c,0xff,0x90,0x00,0x6d,0xff,0xdc,0x00,0x82, +0xff,0xdc,0x00,0x83,0xff,0xdc,0x00,0x84,0xff,0xdc,0x00,0x85,0xff,0xdc,0x00,0x86, +0xff,0xdc,0x00,0x9f,0xff,0x90,0x01,0x3a,0xff,0x90,0x07,0x7d,0xff,0xd3,0x07,0x7e, +0xff,0xdc,0x07,0x7f,0xff,0x44,0x00,0x12,0x00,0x10,0x00,0x39,0x00,0x11,0xff,0xad, +0x00,0x1d,0xff,0xdc,0x00,0x24,0xff,0xdc,0x00,0x39,0xff,0xdc,0x00,0x3b,0xff,0x7d, +0x00,0x3c,0xff,0x90,0x00,0x6d,0xff,0xdc,0x00,0x82,0xff,0xdc,0x00,0x83,0xff,0xdc, +0x00,0x84,0xff,0xdc,0x00,0x85,0xff,0xdc,0x00,0x86,0xff,0xdc,0x00,0x9f,0xff,0x90, +0x01,0x3a,0xff,0x90,0x07,0x7d,0xff,0xd3,0x07,0x7e,0xff,0xdc,0x07,0x7f,0xff,0x44, +0x00,0x12,0x00,0x10,0x00,0x39,0x00,0x11,0xff,0xad,0x00,0x1d,0xff,0xdc,0x00,0x24, +0xff,0xdc,0x00,0x39,0xff,0xdc,0x00,0x3b,0xff,0x7d,0x00,0x3c,0xff,0x90,0x00,0x6d, +0xff,0xdc,0x00,0x82,0xff,0xdc,0x00,0x83,0xff,0xdc,0x00,0x84,0xff,0xdc,0x00,0x85, +0xff,0xdc,0x00,0x86,0xff,0xdc,0x00,0x9f,0xff,0x90,0x01,0x3a,0xff,0x90,0x07,0x7d, +0xff,0xd3,0x07,0x7e,0xff,0xdc,0x07,0x7f,0xff,0x44,0x00,0x02,0x00,0x3d,0xff,0xdc, +0x01,0x3f,0xff,0xdc,0x00,0x02,0x00,0x3d,0xff,0xdc,0x01,0x3f,0xff,0xdc,0x00,0x02, +0x00,0x3d,0xff,0xdc,0x01,0x3f,0xff,0xdc,0x00,0x02,0x00,0x3d,0xff,0xdc,0x01,0x3f, +0xff,0xdc,0x00,0x32,0x00,0x10,0xff,0x0d,0x00,0x11,0xfe,0x61,0x00,0x1d,0xfe,0xf0, +0x00,0x24,0xff,0x61,0x00,0x26,0xff,0x90,0x00,0x32,0xff,0x90,0x00,0x44,0xfe,0xe6, +0x00,0x48,0xfe,0xf0,0x00,0x4c,0xff,0xb7,0x00,0x52,0xfe,0xf0,0x00,0x58,0xff,0x15, +0x00,0x6d,0xff,0x1f,0x00,0x7d,0xff,0x6b,0x00,0x82,0xff,0x61,0x00,0x83,0xff,0x61, +0x00,0x84,0xff,0x61,0x00,0x85,0xff,0x61,0x00,0x86,0xff,0x61,0x00,0x89,0xff,0x90, +0x00,0x94,0xff,0x90,0x00,0x95,0xff,0x90,0x00,0x96,0xff,0x90,0x00,0x97,0xff,0x90, +0x00,0x98,0xff,0x90,0x00,0xa2,0xfe,0xe6,0x00,0xa3,0xfe,0xe6,0x00,0xa4,0xfe,0xe6, +0x00,0xa5,0xfe,0xe6,0x00,0xa6,0xfe,0xe6,0x00,0xa7,0xfe,0xe6,0x00,0xaa,0xfe,0xf0, +0x00,0xab,0xfe,0xf0,0x00,0xac,0xfe,0xf0,0x00,0xad,0xfe,0xf0,0x00,0xb4,0xfe,0xf0, +0x00,0xb5,0xfe,0xf0,0x00,0xb6,0xfe,0xf0,0x00,0xb7,0xfe,0xf0,0x00,0xb8,0xfe,0xf0, +0x00,0xbb,0xff,0x15,0x00,0xbc,0xff,0x15,0x00,0xbd,0xff,0x15,0x00,0xbe,0xff,0x15, +0x00,0xc8,0xff,0x90,0x00,0xce,0xff,0x90,0x00,0xdd,0xfe,0xf0,0x01,0x31,0xff,0x15, +0x07,0x7d,0xff,0x90,0x07,0x7e,0xff,0xdc,0x07,0x7f,0xfe,0xf8,0x00,0x04,0x00,0x11, +0xff,0x6b,0x00,0x1d,0xff,0xb7,0x07,0x7d,0xff,0xdc,0x07,0x7f,0xff,0x44,0x00,0x04, +0x00,0x10,0x00,0x26,0x07,0x7d,0xff,0x90,0x07,0x7e,0xff,0x90,0x07,0x7f,0xff,0xad, +0x00,0x01,0x00,0x5b,0xff,0xdc,0x00,0x01,0x00,0x5b,0xff,0xdc,0x00,0x01,0x00,0x5b, +0xff,0xdc,0x00,0x01,0x00,0x5b,0xff,0xdc,0x00,0x03,0x07,0x7d,0xff,0xa4,0x07,0x7e, +0xff,0x90,0x07,0x7f,0xff,0xb7,0x00,0x03,0x07,0x7d,0xff,0x6b,0x07,0x7e,0xff,0x90, +0x07,0x7f,0xff,0xa4,0x00,0x06,0x00,0x10,0x00,0x26,0x00,0x11,0xff,0xdc,0x00,0x5b, +0xff,0xc1,0x07,0x7d,0xff,0x6b,0x07,0x7e,0xff,0xb7,0x07,0x7f,0xff,0x7d,0x00,0x06, +0x00,0x10,0x00,0x26,0x00,0x11,0xff,0xdc,0x00,0x5b,0xff,0xc1,0x07,0x7d,0xff,0x6b, +0x07,0x7e,0xff,0xb7,0x07,0x7f,0xff,0x7d,0x00,0x06,0x00,0x10,0x00,0x26,0x00,0x11, +0xff,0xdc,0x00,0x5b,0xff,0xc1,0x07,0x7d,0xff,0x6b,0x07,0x7e,0xff,0xb7,0x07,0x7f, +0xff,0x7d,0x00,0x06,0x00,0x10,0x00,0x26,0x00,0x11,0xff,0xdc,0x00,0x5b,0xff,0xc1, +0x07,0x7d,0xff,0x6b,0x07,0x7e,0xff,0xb7,0x07,0x7f,0xff,0x7d,0x00,0x06,0x00,0x10, +0x00,0x26,0x00,0x11,0xff,0xdc,0x00,0x5b,0xff,0xc1,0x07,0x7d,0xff,0x6b,0x07,0x7e, +0xff,0xb7,0x07,0x7f,0xff,0x7d,0x00,0x06,0x00,0x10,0xff,0xdc,0x00,0x11,0xfe,0xdc, +0x00,0x1d,0xff,0x6b,0x00,0x6d,0xff,0xdc,0x00,0x7d,0xff,0xdc,0x07,0x7f,0xfe,0xd3, +0x00,0x06,0x00,0x10,0xff,0xdc,0x00,0x11,0xfe,0xdc,0x00,0x1d,0xff,0x6b,0x00,0x6d, +0xff,0xdc,0x00,0x7d,0xff,0xdc,0x07,0x7f,0xfe,0xd3,0x00,0x5a,0x00,0x10,0xff,0xd3, +0x00,0x11,0xff,0xdc,0x00,0x1d,0xff,0xdc,0x00,0x24,0x00,0x39,0x00,0x26,0xff,0xdc, +0x00,0x2a,0xff,0xdc,0x00,0x32,0xff,0xdc,0x00,0x34,0xff,0xdc,0x00,0x37,0xff,0x61, +0x00,0x39,0xff,0x7d,0x00,0x3a,0xff,0x90,0x00,0x3c,0xff,0x61,0x00,0x46,0xff,0xdc, +0x00,0x47,0xff,0xdc,0x00,0x48,0xff,0xdc,0x00,0x49,0xff,0xb7,0x00,0x52,0xff,0xdc, +0x00,0x54,0xff,0xdc,0x00,0x57,0xff,0xdc,0x00,0x59,0xff,0x88,0x00,0x5a,0xff,0xad, +0x00,0x5c,0xff,0x75,0x00,0x6d,0xff,0xb7,0x00,0x82,0x00,0x39,0x00,0x83,0x00,0x39, +0x00,0x84,0x00,0x39,0x00,0x85,0x00,0x39,0x00,0x86,0x00,0x39,0x00,0x94,0xff,0xdc, +0x00,0x95,0xff,0xdc,0x00,0x96,0xff,0xdc,0x00,0x97,0xff,0xdc,0x00,0x98,0xff,0xdc, +0x00,0x9f,0xff,0x61,0x00,0xa9,0xff,0xdc,0x00,0xaa,0xff,0xdc,0x00,0xab,0xff,0xdc, +0x00,0xac,0xff,0xdc,0x00,0xad,0xff,0xdc,0x00,0xb4,0xff,0xdc,0x00,0xb5,0xff,0xdc, +0x00,0xb6,0xff,0xdc,0x00,0xb7,0xff,0xdc,0x00,0xb8,0xff,0xdc,0x00,0xbf,0xff,0x75, +0x00,0xc1,0xff,0x75,0x00,0xc2,0x00,0x39,0x00,0xc4,0x00,0x39,0x00,0xc6,0x00,0x39, +0x00,0xc8,0xff,0xdc,0x00,0xca,0xff,0xdc,0x00,0xcc,0xff,0xdc,0x00,0xcd,0xff,0xdc, +0x00,0xce,0xff,0xdc,0x00,0xd1,0xff,0xdc,0x00,0xd3,0xff,0xdc,0x00,0xd5,0xff,0xdc, +0x00,0xd7,0xff,0xdc,0x00,0xd9,0xff,0xdc,0x00,0xdb,0xff,0xdc,0x00,0xdd,0xff,0xdc, +0x00,0xde,0xff,0xdc,0x00,0xe2,0xff,0xdc,0x01,0x0e,0xff,0xdc,0x01,0x0f,0xff,0xdc, +0x01,0x10,0xff,0xdc,0x01,0x11,0xff,0xdc,0x01,0x12,0xff,0xdc,0x01,0x13,0xff,0xdc, +0x01,0x24,0xff,0x61,0x01,0x25,0xff,0xdc,0x01,0x26,0xff,0x61,0x01,0x27,0xff,0xdc, +0x01,0x36,0xff,0x90,0x01,0x37,0xff,0xad,0x01,0x38,0xff,0x61,0x01,0x39,0xff,0x75, +0x01,0x3a,0xff,0x61,0x01,0xf0,0xff,0xdc,0x01,0xf1,0xff,0xdc,0x06,0x07,0xff,0x90, +0x06,0x09,0xff,0x90,0x06,0x0a,0xff,0xad,0x06,0x0b,0xff,0x90,0x06,0x0c,0xff,0xad, +0x06,0x75,0xff,0x61,0x06,0x76,0xff,0x75,0x07,0x7d,0xfe,0xf8,0x07,0x7e,0xff,0x02, +0x07,0x7f,0x00,0x2f,0x00,0x5a,0x00,0x10,0xff,0xd3,0x00,0x11,0xff,0xdc,0x00,0x1d, +0xff,0xdc,0x00,0x24,0x00,0x39,0x00,0x26,0xff,0xdc,0x00,0x2a,0xff,0xdc,0x00,0x32, +0xff,0xdc,0x00,0x34,0xff,0xdc,0x00,0x37,0xff,0x61,0x00,0x39,0xff,0x7d,0x00,0x3a, +0xff,0x90,0x00,0x3c,0xff,0x61,0x00,0x46,0xff,0xdc,0x00,0x47,0xff,0xdc,0x00,0x48, +0xff,0xdc,0x00,0x49,0xff,0xb7,0x00,0x52,0xff,0xdc,0x00,0x54,0xff,0xdc,0x00,0x57, +0xff,0xdc,0x00,0x59,0xff,0x88,0x00,0x5a,0xff,0xad,0x00,0x5c,0xff,0x75,0x00,0x6d, +0xff,0xb7,0x00,0x82,0x00,0x39,0x00,0x83,0x00,0x39,0x00,0x84,0x00,0x39,0x00,0x85, +0x00,0x39,0x00,0x86,0x00,0x39,0x00,0x94,0xff,0xdc,0x00,0x95,0xff,0xdc,0x00,0x96, +0xff,0xdc,0x00,0x97,0xff,0xdc,0x00,0x98,0xff,0xdc,0x00,0x9f,0xff,0x61,0x00,0xa9, +0xff,0xdc,0x00,0xaa,0xff,0xdc,0x00,0xab,0xff,0xdc,0x00,0xac,0xff,0xdc,0x00,0xad, +0xff,0xdc,0x00,0xb4,0xff,0xdc,0x00,0xb5,0xff,0xdc,0x00,0xb6,0xff,0xdc,0x00,0xb7, +0xff,0xdc,0x00,0xb8,0xff,0xdc,0x00,0xbf,0xff,0x75,0x00,0xc1,0xff,0x75,0x00,0xc2, +0x00,0x39,0x00,0xc4,0x00,0x39,0x00,0xc6,0x00,0x39,0x00,0xc8,0xff,0xdc,0x00,0xca, +0xff,0xdc,0x00,0xcc,0xff,0xdc,0x00,0xcd,0xff,0xdc,0x00,0xce,0xff,0xdc,0x00,0xd1, +0xff,0xdc,0x00,0xd3,0xff,0xdc,0x00,0xd5,0xff,0xdc,0x00,0xd7,0xff,0xdc,0x00,0xd9, +0xff,0xdc,0x00,0xdb,0xff,0xdc,0x00,0xdd,0xff,0xdc,0x00,0xde,0xff,0xdc,0x00,0xe2, +0xff,0xdc,0x01,0x0e,0xff,0xdc,0x01,0x0f,0xff,0xdc,0x01,0x10,0xff,0xdc,0x01,0x11, +0xff,0xdc,0x01,0x12,0xff,0xdc,0x01,0x13,0xff,0xdc,0x01,0x24,0xff,0x61,0x01,0x25, +0xff,0xdc,0x01,0x26,0xff,0x61,0x01,0x27,0xff,0xdc,0x01,0x36,0xff,0x90,0x01,0x37, +0xff,0xad,0x01,0x38,0xff,0x61,0x01,0x39,0xff,0x75,0x01,0x3a,0xff,0x61,0x01,0xf0, +0xff,0xdc,0x01,0xf1,0xff,0xdc,0x06,0x07,0xff,0x90,0x06,0x09,0xff,0x90,0x06,0x0a, +0xff,0xad,0x06,0x0b,0xff,0x90,0x06,0x0c,0xff,0xad,0x06,0x75,0xff,0x61,0x06,0x76, +0xff,0x75,0x07,0x7d,0xfe,0xf8,0x07,0x7e,0xff,0x02,0x07,0x7f,0x00,0x2f,0x00,0x54, +0x00,0x10,0xff,0xd3,0x00,0x11,0xff,0xdc,0x00,0x1d,0xff,0xdc,0x00,0x24,0x00,0x39, +0x00,0x26,0xff,0xdc,0x00,0x2a,0xff,0xdc,0x00,0x32,0xff,0xdc,0x00,0x34,0xff,0xdc, +0x00,0x37,0xff,0x61,0x00,0x39,0xff,0x7d,0x00,0x3a,0xff,0x90,0x00,0x3c,0xff,0x61, +0x00,0x46,0xff,0xdc,0x00,0x47,0xff,0xdc,0x00,0x48,0xff,0xdc,0x00,0x49,0xff,0xb7, +0x00,0x52,0xff,0xdc,0x00,0x54,0xff,0xdc,0x00,0x57,0xff,0xdc,0x00,0x59,0xff,0x88, +0x00,0x5a,0xff,0xad,0x00,0x6d,0xff,0xb7,0x00,0x82,0x00,0x39,0x00,0x83,0x00,0x39, +0x00,0x84,0x00,0x39,0x00,0x85,0x00,0x39,0x00,0x86,0x00,0x39,0x00,0x94,0xff,0xdc, +0x00,0x95,0xff,0xdc,0x00,0x96,0xff,0xdc,0x00,0x97,0xff,0xdc,0x00,0x98,0xff,0xdc, +0x00,0x9f,0xff,0x61,0x00,0xa9,0xff,0xdc,0x00,0xaa,0xff,0xdc,0x00,0xab,0xff,0xdc, +0x00,0xac,0xff,0xdc,0x00,0xad,0xff,0xdc,0x00,0xb4,0xff,0xdc,0x00,0xb5,0xff,0xdc, +0x00,0xb6,0xff,0xdc,0x00,0xb7,0xff,0xdc,0x00,0xb8,0xff,0xdc,0x00,0xc2,0x00,0x39, +0x00,0xc4,0x00,0x39,0x00,0xc6,0x00,0x39,0x00,0xc8,0xff,0xdc,0x00,0xca,0xff,0xdc, +0x00,0xcc,0xff,0xdc,0x00,0xcd,0xff,0xdc,0x00,0xce,0xff,0xdc,0x00,0xd1,0xff,0xdc, +0x00,0xd3,0xff,0xdc,0x00,0xd5,0xff,0xdc,0x00,0xd7,0xff,0xdc,0x00,0xd9,0xff,0xdc, +0x00,0xdb,0xff,0xdc,0x00,0xdd,0xff,0xdc,0x00,0xde,0xff,0xdc,0x00,0xe2,0xff,0xdc, +0x01,0x0e,0xff,0xdc,0x01,0x0f,0xff,0xdc,0x01,0x10,0xff,0xdc,0x01,0x11,0xff,0xdc, +0x01,0x13,0xff,0xdc,0x01,0x24,0xff,0x61,0x01,0x25,0xff,0xdc,0x01,0x26,0xff,0x61, +0x01,0x27,0xff,0xdc,0x01,0x36,0xff,0x90,0x01,0x37,0xff,0xad,0x01,0x38,0xff,0x61, +0x01,0x3a,0xff,0x61,0x01,0xf0,0xff,0xdc,0x01,0xf1,0xff,0xdc,0x06,0x07,0xff,0x90, +0x06,0x09,0xff,0x90,0x06,0x0a,0xff,0xad,0x06,0x0b,0xff,0x90,0x06,0x0c,0xff,0xad, +0x06,0x75,0xff,0x61,0x07,0x7d,0xfe,0xf8,0x07,0x7e,0xff,0x02,0x07,0x7f,0x00,0x2f, +0x00,0x06,0x00,0x3c,0xff,0xdc,0x00,0x6d,0xff,0xdc,0x00,0x7d,0xff,0xdc,0x00,0x9f, +0xff,0xdc,0x01,0x3a,0xff,0xdc,0x07,0x7e,0x00,0x26,0x00,0x06,0x00,0x3c,0xff,0xdc, +0x00,0x6d,0xff,0xdc,0x00,0x7d,0xff,0xdc,0x00,0x9f,0xff,0xdc,0x01,0x3a,0xff,0xdc, +0x07,0x7e,0x00,0x26,0x00,0x15,0x00,0x24,0xff,0xdc,0x00,0x39,0xff,0xdc,0x00,0x3c, +0xff,0x90,0x00,0x6d,0xff,0xdc,0x00,0x7d,0xff,0xdc,0x00,0x82,0xff,0xdc,0x00,0x83, +0xff,0xdc,0x00,0x84,0xff,0xdc,0x00,0x85,0xff,0xdc,0x00,0x86,0xff,0xdc,0x00,0x9f, +0xff,0x90,0x00,0xc2,0xff,0xdc,0x00,0xc4,0xff,0xdc,0x00,0xc6,0xff,0xdc,0x01,0x38, +0xff,0x90,0x01,0x3a,0xff,0x90,0x01,0xf4,0xff,0x90,0x06,0x75,0xff,0x90,0x07,0x7d, +0xff,0xd3,0x07,0x7e,0xff,0xc9,0x07,0x7f,0xff,0x44,0x00,0x0f,0x00,0x24,0xff,0xdc, +0x00,0x39,0xff,0xdc,0x00,0x3c,0xff,0x90,0x00,0x6d,0xff,0xdc,0x00,0x7d,0xff,0xdc, +0x00,0x82,0xff,0xdc,0x00,0x83,0xff,0xdc,0x00,0x84,0xff,0xdc,0x00,0x85,0xff,0xdc, +0x00,0x86,0xff,0xdc,0x00,0x9f,0xff,0x90,0x01,0x3a,0xff,0x90,0x07,0x7d,0xff,0xd3, +0x07,0x7e,0xff,0xc9,0x07,0x7f,0xff,0x44,0x00,0x01,0x00,0x5b,0xff,0xdc,0x00,0x0a, +0x00,0x37,0xff,0xb7,0x00,0x3c,0xff,0x9a,0x00,0x6d,0xff,0xdc,0x00,0x7d,0xff,0xdc, +0x00,0x9f,0xff,0x9a,0x01,0x26,0xff,0xb7,0x01,0x3a,0xff,0x9a,0x07,0x7d,0xff,0xd3, +0x07,0x7e,0xff,0xd3,0x07,0x7f,0xff,0xc9,0x00,0x31,0x00,0x10,0xff,0xdc,0x00,0x24, +0x00,0x2f,0x00,0x32,0xff,0xb7,0x00,0x37,0xfe,0xe6,0x00,0x38,0xff,0x9a,0x00,0x39, +0xff,0x1f,0x00,0x3a,0xff,0x44,0x00,0x3c,0xfe,0xf0,0x00,0x48,0xff,0xdc,0x00,0x52, +0xff,0xdc,0x00,0x58,0xff,0xdc,0x00,0x5c,0xff,0x44,0x00,0x82,0x00,0x2f,0x00,0x83, +0x00,0x2f,0x00,0x84,0x00,0x2f,0x00,0x85,0x00,0x2f,0x00,0x86,0x00,0x2f,0x00,0x94, +0xff,0xb7,0x00,0x95,0xff,0xb7,0x00,0x96,0xff,0xb7,0x00,0x97,0xff,0xb7,0x00,0x98, +0xff,0xb7,0x00,0x9b,0xff,0x9a,0x00,0x9c,0xff,0x9a,0x00,0x9d,0xff,0x9a,0x00,0x9e, +0xff,0x9a,0x00,0x9f,0xfe,0xf0,0x00,0xaa,0xff,0xdc,0x00,0xab,0xff,0xdc,0x00,0xac, +0xff,0xdc,0x00,0xad,0xff,0xdc,0x00,0xb4,0xff,0xdc,0x00,0xb5,0xff,0xdc,0x00,0xb6, +0xff,0xdc,0x00,0xb7,0xff,0xdc,0x00,0xb8,0xff,0xdc,0x00,0xbb,0xff,0xdc,0x00,0xbc, +0xff,0xdc,0x00,0xbd,0xff,0xdc,0x00,0xbe,0xff,0xdc,0x00,0xbf,0xff,0x44,0x00,0xc1, +0xff,0x44,0x00,0xdd,0xff,0xdc,0x01,0x26,0xfe,0xe6,0x01,0x30,0xff,0x9a,0x01,0x31, +0xff,0xdc,0x01,0x3a,0xfe,0xf0,0x07,0x7d,0xfe,0x61,0x07,0x7e,0xfd,0xe6,0x00,0x31, +0x00,0x10,0xff,0xdc,0x00,0x24,0x00,0x2f,0x00,0x32,0xff,0xb7,0x00,0x37,0xfe,0xe6, +0x00,0x38,0xff,0x9a,0x00,0x39,0xff,0x1f,0x00,0x3a,0xff,0x44,0x00,0x3c,0xfe,0xf0, +0x00,0x48,0xff,0xdc,0x00,0x52,0xff,0xdc,0x00,0x58,0xff,0xdc,0x00,0x5c,0xff,0x44, +0x00,0x82,0x00,0x2f,0x00,0x83,0x00,0x2f,0x00,0x84,0x00,0x2f,0x00,0x85,0x00,0x2f, +0x00,0x86,0x00,0x2f,0x00,0x94,0xff,0xb7,0x00,0x95,0xff,0xb7,0x00,0x96,0xff,0xb7, +0x00,0x97,0xff,0xb7,0x00,0x98,0xff,0xb7,0x00,0x9b,0xff,0x9a,0x00,0x9c,0xff,0x9a, +0x00,0x9d,0xff,0x9a,0x00,0x9e,0xff,0x9a,0x00,0x9f,0xfe,0xf0,0x00,0xaa,0xff,0xdc, +0x00,0xab,0xff,0xdc,0x00,0xac,0xff,0xdc,0x00,0xad,0xff,0xdc,0x00,0xb4,0xff,0xdc, +0x00,0xb5,0xff,0xdc,0x00,0xb6,0xff,0xdc,0x00,0xb7,0xff,0xdc,0x00,0xb8,0xff,0xdc, +0x00,0xbb,0xff,0xdc,0x00,0xbc,0xff,0xdc,0x00,0xbd,0xff,0xdc,0x00,0xbe,0xff,0xdc, +0x00,0xbf,0xff,0x44,0x00,0xc1,0xff,0x44,0x00,0xdd,0xff,0xdc,0x01,0x26,0xfe,0xe6, +0x01,0x30,0xff,0x9a,0x01,0x31,0xff,0xdc,0x01,0x3a,0xfe,0xf0,0x07,0x7d,0xfe,0x61, +0x07,0x7e,0xfd,0xe6,0x00,0x01,0x00,0x4f,0xff,0x3f,0x00,0x03,0x07,0x7d,0xff,0x6b, +0x07,0x7e,0xff,0x90,0x07,0x7f,0xff,0xa4,0x00,0x35,0x00,0x10,0xff,0xad,0x00,0x11, +0xff,0xb7,0x00,0x1d,0xff,0xc1,0x00,0x24,0xff,0xad,0x00,0x26,0xff,0x9a,0x00,0x37, +0xff,0x6b,0x00,0x39,0xff,0x90,0x00,0x3a,0xff,0xad,0x00,0x3c,0xff,0x7d,0x00,0x44, +0xff,0xd3,0x00,0x48,0xff,0xa4,0x00,0x52,0xff,0xa4,0x00,0x58,0xff,0xa4,0x00,0x5c, +0xff,0x90,0x00,0x6d,0xff,0x90,0x00,0x7d,0xff,0xdc,0x00,0x82,0xff,0xad,0x00,0x83, +0xff,0xad,0x00,0x84,0xff,0xad,0x00,0x85,0xff,0xad,0x00,0x86,0xff,0xad,0x00,0x89, +0xff,0x9a,0x00,0x9f,0xff,0x7d,0x00,0xa2,0xff,0xd3,0x00,0xa3,0xff,0xd3,0x00,0xa4, +0xff,0xd3,0x00,0xa5,0xff,0xd3,0x00,0xa6,0xff,0xd3,0x00,0xa7,0xff,0xd3,0x00,0xaa, +0xff,0xa4,0x00,0xab,0xff,0xa4,0x00,0xac,0xff,0xa4,0x00,0xad,0xff,0xa4,0x00,0xb4, +0xff,0xa4,0x00,0xb5,0xff,0xa4,0x00,0xb6,0xff,0xa4,0x00,0xb7,0xff,0xa4,0x00,0xb8, +0xff,0xa4,0x00,0xbb,0xff,0xa4,0x00,0xbc,0xff,0xa4,0x00,0xbd,0xff,0xa4,0x00,0xbe, +0xff,0xa4,0x00,0xbf,0xff,0x90,0x00,0xc1,0xff,0x90,0x00,0xc8,0xff,0x9a,0x00,0xce, +0xff,0x9a,0x00,0xdd,0xff,0xa4,0x01,0x26,0xff,0x6b,0x01,0x31,0xff,0xa4,0x01,0x3a, +0xff,0x7d,0x07,0x7d,0xff,0x6b,0x07,0x7e,0xff,0x7d,0x07,0x7f,0xff,0xdc,0x00,0x24, +0x00,0x10,0xff,0x7d,0x00,0x11,0xff,0x44,0x00,0x1d,0xff,0xdc,0x00,0x46,0xff,0xd3, +0x00,0x47,0xff,0xdc,0x00,0x48,0xff,0xd3,0x00,0x4a,0xff,0xdc,0x00,0x4b,0xff,0xdc, +0x00,0x50,0xff,0xdc,0x00,0x51,0xff,0xdc,0x00,0x52,0xff,0xd3,0x00,0x54,0xff,0xdc, +0x00,0x55,0xff,0xdc,0x00,0x5b,0xff,0xc9,0x00,0x6d,0xff,0xb7,0x00,0xa9,0xff,0xd3, +0x00,0xaa,0xff,0xd3,0x00,0xab,0xff,0xd3,0x00,0xac,0xff,0xd3,0x00,0xad,0xff,0xd3, +0x00,0xb3,0xff,0xdc,0x00,0xb4,0xff,0xd3,0x00,0xb5,0xff,0xd3,0x00,0xb6,0xff,0xd3, +0x00,0xb7,0xff,0xd3,0x00,0xb8,0xff,0xd3,0x00,0xc9,0xff,0xd3,0x00,0xcf,0xff,0xd3, +0x00,0xd1,0x00,0x48,0x00,0xdd,0xff,0xd3,0x00,0xe1,0xff,0xdc,0x01,0x0a,0xff,0xdc, +0x01,0x17,0xff,0xdc,0x01,0x1b,0xff,0xdc,0x07,0x7e,0x00,0x56,0x07,0x7f,0xfe,0xc9, +0x00,0x35,0x00,0x10,0xff,0xad,0x00,0x11,0xff,0xb7,0x00,0x1d,0xff,0xc1,0x00,0x24, +0xff,0xad,0x00,0x26,0xff,0x9a,0x00,0x37,0xff,0x6b,0x00,0x39,0xff,0x90,0x00,0x3a, +0xff,0xad,0x00,0x3c,0xff,0x7d,0x00,0x44,0xff,0xd3,0x00,0x48,0xff,0xa4,0x00,0x52, +0xff,0xa4,0x00,0x58,0xff,0xa4,0x00,0x5c,0xff,0x90,0x00,0x6d,0xff,0x90,0x00,0x7d, +0xff,0xdc,0x00,0x82,0xff,0xad,0x00,0x83,0xff,0xad,0x00,0x84,0xff,0xad,0x00,0x85, +0xff,0xad,0x00,0x86,0xff,0xad,0x00,0x89,0xff,0x9a,0x00,0x9f,0xff,0x7d,0x00,0xa2, +0xff,0xd3,0x00,0xa3,0xff,0xd3,0x00,0xa4,0xff,0xd3,0x00,0xa5,0xff,0xd3,0x00,0xa6, +0xff,0xd3,0x00,0xa7,0xff,0xd3,0x00,0xaa,0xff,0xa4,0x00,0xab,0xff,0xa4,0x00,0xac, +0xff,0xa4,0x00,0xad,0xff,0xa4,0x00,0xb4,0xff,0xa4,0x00,0xb5,0xff,0xa4,0x00,0xb6, +0xff,0xa4,0x00,0xb7,0xff,0xa4,0x00,0xb8,0xff,0xa4,0x00,0xbb,0xff,0xa4,0x00,0xbc, +0xff,0xa4,0x00,0xbd,0xff,0xa4,0x00,0xbe,0xff,0xa4,0x00,0xbf,0xff,0x90,0x00,0xc1, +0xff,0x90,0x00,0xc8,0xff,0x9a,0x00,0xce,0xff,0x9a,0x00,0xdd,0xff,0xa4,0x01,0x26, +0xff,0x6b,0x01,0x31,0xff,0xa4,0x01,0x3a,0xff,0x7d,0x07,0x7d,0xff,0x6b,0x07,0x7e, +0xff,0x7d,0x07,0x7f,0xff,0xdc,0x00,0x24,0x00,0x10,0xff,0x7d,0x00,0x11,0xff,0x44, +0x00,0x1d,0xff,0xdc,0x00,0x46,0xff,0xd3,0x00,0x47,0xff,0xdc,0x00,0x48,0xff,0xd3, +0x00,0x4a,0xff,0xdc,0x00,0x4b,0xff,0xdc,0x00,0x50,0xff,0xdc,0x00,0x51,0xff,0xdc, +0x00,0x52,0xff,0xd3,0x00,0x54,0xff,0xdc,0x00,0x55,0xff,0xdc,0x00,0x5b,0xff,0xc9, +0x00,0x6d,0xff,0xb7,0x00,0xa9,0xff,0xd3,0x00,0xaa,0xff,0xd3,0x00,0xab,0xff,0xd3, +0x00,0xac,0xff,0xd3,0x00,0xad,0xff,0xd3,0x00,0xb3,0xff,0xdc,0x00,0xb4,0xff,0xd3, +0x00,0xb5,0xff,0xd3,0x00,0xb6,0xff,0xd3,0x00,0xb7,0xff,0xd3,0x00,0xb8,0xff,0xd3, +0x00,0xc9,0xff,0xd3,0x00,0xcf,0xff,0xd3,0x00,0xd1,0xff,0xdc,0x00,0xdd,0xff,0xd3, +0x00,0xe1,0xff,0xdc,0x01,0x0a,0xff,0xdc,0x01,0x17,0xff,0xdc,0x01,0x1b,0xff,0xdc, +0x07,0x7e,0x00,0x56,0x07,0x7f,0xfe,0xc9,0x00,0x06,0x00,0x24,0x00,0x26,0x00,0x82, +0x00,0x26,0x00,0x83,0x00,0x26,0x00,0x84,0x00,0x26,0x00,0x85,0x00,0x26,0x00,0x86, +0x00,0x26,0x00,0x06,0x00,0x24,0x00,0x26,0x00,0x82,0x00,0x26,0x00,0x83,0x00,0x26, +0x00,0x84,0x00,0x26,0x00,0x85,0x00,0x26,0x00,0x86,0x00,0x26,0x00,0x3b,0x00,0x10, +0xff,0x44,0x00,0x11,0xff,0x0d,0x00,0x1d,0xff,0x1f,0x00,0x24,0xff,0x61,0x00,0x26, +0xff,0x88,0x00,0x37,0xff,0xdc,0x00,0x44,0xfe,0xad,0x00,0x46,0xfe,0xa4,0x00,0x48, +0xfe,0xa4,0x00,0x4c,0xff,0xc1,0x00,0x52,0xfe,0xa4,0x00,0x55,0xfe,0xd3,0x00,0x56, +0xfe,0xad,0x00,0x58,0xfe,0xc9,0x00,0x5a,0xfe,0xad,0x00,0x5c,0xfe,0xc1,0x00,0x6d, +0xff,0x44,0x00,0x7d,0xff,0x90,0x00,0x82,0xff,0x61,0x00,0x83,0xff,0x61,0x00,0x84, +0xff,0x61,0x00,0x85,0xff,0x61,0x00,0x86,0xff,0x61,0x00,0x89,0xff,0x88,0x00,0xa2, +0xfe,0xad,0x00,0xa3,0xfe,0xad,0x00,0xa4,0xfe,0xad,0x00,0xa5,0xfe,0xad,0x00,0xa6, +0xfe,0xad,0x00,0xa7,0xfe,0xad,0x00,0xa9,0xfe,0xa4,0x00,0xaa,0xfe,0xa4,0x00,0xab, +0xfe,0xa4,0x00,0xac,0xfe,0xa4,0x00,0xad,0xfe,0xa4,0x00,0xb4,0xfe,0xa4,0x00,0xb5, +0xfe,0xa4,0x00,0xb6,0xfe,0xa4,0x00,0xb7,0xfe,0xa4,0x00,0xb8,0xfe,0xa4,0x00,0xbb, +0xfe,0xc9,0x00,0xbc,0xfe,0xc9,0x00,0xbd,0xfe,0xc9,0x00,0xbe,0xfe,0xc9,0x00,0xbf, +0xfe,0xc1,0x00,0xc1,0xfe,0xc1,0x00,0xc8,0xff,0x88,0x00,0xc9,0xfe,0xa4,0x00,0xce, +0xff,0x88,0x00,0xcf,0xfe,0xa4,0x00,0xdd,0xfe,0xa4,0x01,0x17,0xfe,0xd3,0x01,0x1b, +0xfe,0xd3,0x01,0x21,0xfe,0xad,0x01,0x23,0xfe,0xad,0x01,0x26,0xff,0xdc,0x01,0x31, +0xfe,0xc9,0x07,0x7e,0xff,0xd3,0x07,0x7f,0xfe,0xf8,0x00,0x02,0x00,0x3d,0xff,0xdc, +0x01,0x3f,0xff,0xdc,0x00,0x32,0x00,0x10,0xff,0x0d,0x00,0x11,0xfe,0x61,0x00,0x1d, +0xfe,0xf0,0x00,0x24,0xff,0x61,0x00,0x26,0xff,0x90,0x00,0x32,0xff,0x90,0x00,0x44, +0xfe,0xe6,0x00,0x48,0xfe,0xf0,0x00,0x4c,0xff,0xb7,0x00,0x52,0xfe,0xf0,0x00,0x58, +0xff,0x15,0x00,0x6d,0xff,0x1f,0x00,0x7d,0xff,0x6b,0x00,0x82,0xff,0x61,0x00,0x83, +0xff,0x61,0x00,0x84,0xff,0x61,0x00,0x85,0xff,0x61,0x00,0x86,0xff,0x61,0x00,0x89, +0xff,0x90,0x00,0x94,0xff,0x90,0x00,0x95,0xff,0x90,0x00,0x96,0xff,0x90,0x00,0x97, +0xff,0x90,0x00,0x98,0xff,0x90,0x00,0xa2,0xfe,0xe6,0x00,0xa3,0xfe,0xe6,0x00,0xa4, +0xfe,0xe6,0x00,0xa5,0xfe,0xe6,0x00,0xa6,0xfe,0xe6,0x00,0xa7,0xfe,0xe6,0x00,0xaa, +0xfe,0xf0,0x00,0xab,0xfe,0xf0,0x00,0xac,0xfe,0xf0,0x00,0xad,0xfe,0xf0,0x00,0xb4, +0xfe,0xf0,0x00,0xb5,0xfe,0xf0,0x00,0xb6,0xfe,0xf0,0x00,0xb7,0xfe,0xf0,0x00,0xb8, +0xfe,0xf0,0x00,0xbb,0xff,0x15,0x00,0xbc,0xff,0x15,0x00,0xbd,0xff,0x15,0x00,0xbe, +0xff,0x15,0x00,0xc8,0xff,0x90,0x00,0xce,0xff,0x90,0x00,0xdd,0xfe,0xf0,0x01,0x31, +0xff,0x15,0x07,0x7d,0xff,0x90,0x07,0x7e,0xff,0xdc,0x07,0x7f,0xfe,0xf8,0x00,0x04, +0x00,0x10,0xff,0xdc,0x07,0x7d,0xff,0xdc,0x07,0x7e,0xff,0xdc,0x07,0x7f,0xff,0xdc, +0x00,0x23,0x00,0x24,0xff,0xd3,0x00,0x25,0xff,0xb7,0x00,0x2a,0x00,0x4b,0x00,0x2d, +0x00,0x72,0x00,0x32,0x00,0x39,0x00,0x34,0x00,0x4b,0x00,0x37,0xff,0x44,0x00,0x39, +0xff,0x88,0x00,0x3a,0xff,0xad,0x00,0x3b,0xff,0x9a,0x00,0x3c,0xff,0x0d,0x00,0x52, +0x00,0x26,0x00,0x59,0xff,0xc9,0x00,0x5c,0xff,0xdc,0x00,0x82,0xff,0xd3,0x00,0x83, +0xff,0xd3,0x00,0x84,0xff,0xd3,0x00,0x85,0xff,0xd3,0x00,0x86,0xff,0xd3,0x00,0x94, +0x00,0x39,0x00,0x95,0x00,0x39,0x00,0x96,0x00,0x39,0x00,0x97,0x00,0x39,0x00,0x98, +0x00,0x39,0x00,0x9f,0xff,0x0d,0x00,0xb4,0x00,0x26,0x00,0xb5,0x00,0x26,0x00,0xb6, +0x00,0x26,0x00,0xb7,0x00,0x26,0x00,0xb8,0x00,0x26,0x00,0xbf,0xff,0xdc,0x00,0xc1, +0xff,0xdc,0x00,0xe0,0x00,0x4b,0x01,0x26,0xff,0x44,0x01,0x3a,0xff,0x0d,0x00,0x3a, +0x00,0x24,0xfe,0xf8,0x00,0x25,0xff,0xc1,0x00,0x26,0xff,0xb7,0x00,0x27,0xff,0xc1, +0x00,0x29,0xff,0xc1,0x00,0x2a,0xff,0xb7,0x00,0x2b,0xff,0xc1,0x00,0x2d,0xff,0xc1, +0x00,0x2e,0xff,0xc1,0x00,0x2f,0xff,0xc1,0x00,0x32,0xff,0xb7,0x00,0x33,0xff,0xc1, +0x00,0x34,0xff,0xb7,0x00,0x35,0xff,0xc1,0x00,0x3b,0xff,0x88,0x00,0x3d,0xff,0xdc, +0x00,0x49,0xff,0xb7,0x00,0x51,0xff,0x90,0x00,0x52,0xff,0x6b,0x00,0x55,0xff,0x90, +0x00,0x59,0xff,0xb7,0x00,0x5a,0xff,0xb7,0x00,0x5c,0xff,0xb7,0x00,0x82,0xfe,0xf8, +0x00,0x83,0xfe,0xf8,0x00,0x84,0xfe,0xf8,0x00,0x85,0xfe,0xf8,0x00,0x86,0xfe,0xf8, +0x00,0x88,0xfe,0x7d,0x00,0x89,0xff,0xb7,0x00,0x94,0xff,0xb7,0x00,0x95,0xff,0xb7, +0x00,0x96,0xff,0xb7,0x00,0x97,0xff,0xb7,0x00,0x98,0xff,0xb7,0x00,0xa0,0xff,0xc1, +0x00,0xa1,0xff,0xc1,0x00,0xb2,0xff,0xb7,0x00,0xb3,0xff,0x90,0x00,0xb4,0xff,0x6b, +0x00,0xb5,0xff,0x6b,0x00,0xb6,0xff,0x6b,0x00,0xb7,0xff,0x6b,0x00,0xb8,0xff,0x6b, +0x00,0xbf,0xff,0xb7,0x00,0xc1,0xff,0xb7,0x00,0xc8,0xff,0xb7,0x00,0xce,0xff,0xb7, +0x00,0xd0,0xff,0xc1,0x00,0xe0,0xff,0xb7,0x00,0xfb,0xff,0xc1,0x00,0xff,0xff,0xc1, +0x01,0x0a,0xff,0x90,0x01,0x16,0xff,0xc1,0x01,0x17,0xff,0x90,0x01,0x1a,0xff,0xc1, +0x01,0x1b,0xff,0x90,0x01,0x3f,0xff,0xdc,0x00,0x3f,0x00,0x24,0x00,0x26,0x00,0x25, +0xff,0xb7,0x00,0x26,0xff,0x90,0x00,0x27,0xff,0xb7,0x00,0x29,0xff,0xb7,0x00,0x2a, +0xff,0xb7,0x00,0x2b,0xff,0xb7,0x00,0x2d,0x00,0x2f,0x00,0x2e,0xff,0xb7,0x00,0x2f, +0xff,0xb7,0x00,0x32,0xff,0x90,0x00,0x33,0xff,0xb7,0x00,0x34,0xff,0x90,0x00,0x35, +0xff,0xb7,0x00,0x37,0xfe,0xe6,0x00,0x39,0xfe,0x88,0x00,0x3a,0xff,0x03,0x00,0x3b, +0xff,0xb7,0x00,0x3c,0xfe,0x88,0x00,0x49,0xff,0xdc,0x00,0x51,0xff,0xb7,0x00,0x52, +0xff,0xb7,0x00,0x55,0xff,0xb7,0x00,0x59,0xff,0x15,0x00,0x5a,0xff,0x3c,0x00,0x5c, +0xff,0x90,0x00,0x82,0x00,0x26,0x00,0x83,0x00,0x26,0x00,0x84,0x00,0x26,0x00,0x85, +0x00,0x26,0x00,0x86,0x00,0x26,0x00,0x88,0x00,0x26,0x00,0x89,0xff,0x90,0x00,0x94, +0xff,0x90,0x00,0x95,0xff,0x90,0x00,0x96,0xff,0x90,0x00,0x97,0xff,0x90,0x00,0x98, +0xff,0x90,0x00,0x9f,0xfe,0x88,0x00,0xa0,0xff,0xb7,0x00,0xa1,0xff,0xb7,0x00,0xb2, +0xff,0xb7,0x00,0xb3,0xff,0xb7,0x00,0xb4,0xff,0xb7,0x00,0xb5,0xff,0xb7,0x00,0xb6, +0xff,0xb7,0x00,0xb7,0xff,0xb7,0x00,0xb8,0xff,0xb7,0x00,0xbf,0xff,0x90,0x00,0xc1, +0xff,0x90,0x00,0xc8,0xff,0x90,0x00,0xce,0xff,0x90,0x00,0xd0,0xff,0xb7,0x00,0xe0, +0xff,0xb7,0x00,0xfb,0xff,0xb7,0x00,0xff,0xff,0xb7,0x01,0x0a,0xff,0xb7,0x01,0x16, +0xff,0xb7,0x01,0x17,0xff,0xb7,0x01,0x1a,0xff,0xb7,0x01,0x1b,0xff,0xb7,0x01,0x26, +0xfe,0xe6,0x01,0x3a,0xfe,0x88,0x00,0x01,0x00,0x5e,0x00,0x10,0x00,0x24,0x00,0x25, +0x00,0x26,0x00,0x27,0x00,0x29,0x00,0x2a,0x00,0x2b,0x00,0x2d,0x00,0x2e,0x00,0x2f, +0x00,0x32,0x00,0x33,0x00,0x34,0x00,0x35,0x00,0x36,0x00,0x37,0x00,0x38,0x00,0x39, +0x00,0x3a,0x00,0x3b,0x00,0x3c,0x00,0x3d,0x00,0x48,0x00,0x49,0x00,0x4e,0x00,0x51, +0x00,0x52,0x00,0x55,0x00,0x59,0x00,0x5a,0x00,0x5b,0x00,0x5c,0x00,0x6d,0x00,0x7d, +0x00,0x82,0x00,0x83,0x00,0x84,0x00,0x85,0x00,0x86,0x00,0x88,0x00,0x89,0x00,0x92, +0x00,0x94,0x00,0x95,0x00,0x96,0x00,0x97,0x00,0x98,0x00,0x9b,0x00,0x9c,0x00,0x9d, +0x00,0x9e,0x00,0x9f,0x00,0xa0,0x00,0xa1,0x00,0xaa,0x00,0xab,0x00,0xac,0x00,0xad, +0x00,0xb2,0x00,0xb3,0x00,0xb4,0x00,0xb5,0x00,0xb6,0x00,0xb7,0x00,0xb8,0x00,0xbf, +0x00,0xc1,0x00,0xc2,0x00,0xc4,0x00,0xc6,0x00,0xc8,0x00,0xce,0x00,0xd0,0x00,0xd2, +0x00,0xdd,0x00,0xe0,0x00,0xfb,0x00,0xff,0x01,0x02,0x01,0x0a,0x01,0x16,0x01,0x17, +0x01,0x1a,0x01,0x1b,0x01,0x20,0x01,0x22,0x01,0x26,0x01,0x30,0x01,0x3a,0x01,0x3f, +0x07,0x71,0x07,0x7d,0x07,0x7f,0x00,0x01,0x0a,0x5e,0x08,0xfe,0x00,0x01,0x0a,0x92, +0x00,0x0c,0x01,0x1e,0x02,0x3e,0x02,0x44,0x02,0x4a,0x02,0x50,0x02,0x56,0x02,0x5c, +0x02,0x62,0x02,0x68,0x02,0x6e,0x02,0x74,0x02,0x7a,0x02,0x80,0x02,0x86,0x02,0x8c, +0x02,0x92,0x02,0x98,0x02,0x9e,0x02,0xa4,0x02,0xaa,0x02,0xb0,0x02,0xb6,0x02,0xbc, +0x02,0xc2,0x02,0xc8,0x02,0xce,0x02,0xd4,0x02,0xda,0x02,0xe0,0x02,0xe6,0x02,0xec, +0x02,0xf2,0x02,0xf8,0x02,0xfe,0x03,0x04,0x03,0x0a,0x03,0x10,0x03,0x16,0x03,0x1c, +0x03,0x22,0x03,0x28,0x03,0x2e,0x03,0x34,0x03,0x3a,0x03,0x40,0x03,0x46,0x03,0x4c, +0x03,0x52,0x03,0x58,0x03,0x5e,0x03,0x64,0x03,0x6a,0x03,0x70,0x03,0x76,0x03,0x7c, +0x03,0x82,0x03,0x88,0x03,0x8e,0x03,0x94,0x03,0x9a,0x03,0xa0,0x03,0xa6,0x03,0xac, +0x03,0xb2,0x03,0xb8,0x03,0xbe,0x03,0xc4,0x03,0xca,0x03,0xd0,0x03,0xd6,0x03,0xdc, +0x03,0xe2,0x03,0xe8,0x03,0xee,0x03,0xf4,0x03,0xfa,0x04,0x00,0x04,0x06,0x04,0x0c, +0x04,0x12,0x04,0x18,0x04,0x1e,0x04,0x24,0x04,0x2a,0x04,0x30,0x04,0x36,0x04,0x3c, +0x04,0x42,0x04,0x48,0x04,0x4e,0x04,0x54,0x04,0x5a,0x04,0x60,0x04,0x66,0x04,0x6c, +0x04,0x72,0x04,0x78,0x04,0x7e,0x04,0x84,0x04,0x8a,0x04,0x90,0x04,0x96,0x04,0x9c, +0x04,0xa2,0x04,0xa8,0x04,0xae,0x04,0xb4,0x04,0xba,0x04,0xc0,0x04,0xc6,0x04,0xcc, +0x04,0xd2,0x04,0xd8,0x04,0xde,0x04,0xe4,0x04,0xea,0x04,0xf0,0x04,0xf6,0x04,0xfc, +0x05,0x02,0x05,0x08,0x05,0x0e,0x05,0x14,0x05,0x1a,0x05,0x20,0x05,0x26,0x05,0x2c, +0x05,0x32,0x05,0x38,0x05,0x3e,0x05,0x44,0x05,0x4a,0x05,0x50,0x05,0x56,0x05,0x5c, +0x05,0x62,0x05,0x68,0x05,0x6e,0x05,0x74,0x05,0x7a,0x05,0x80,0x05,0x86,0x05,0x8c, +0x05,0x92,0x05,0x98,0x05,0x9e,0x05,0xa4,0x05,0xaa,0x05,0xb0,0x05,0xb6,0x05,0xbc, +0x05,0xc2,0x05,0xc8,0x05,0xce,0x05,0xd4,0x05,0xda,0x05,0xe0,0x05,0xe6,0x05,0xec, +0x05,0xf2,0x05,0xf8,0x05,0xfe,0x06,0x04,0x06,0x0a,0x06,0x10,0x06,0x16,0x06,0x1c, +0x06,0x22,0x06,0x28,0x06,0x2e,0x06,0x34,0x06,0x3a,0x06,0x40,0x06,0x46,0x06,0x4c, +0x06,0x52,0x06,0x58,0x06,0x5e,0x06,0x64,0x06,0x6a,0x06,0x70,0x06,0x76,0x06,0x7c, +0x06,0x82,0x06,0x88,0x06,0x8e,0x06,0x94,0x06,0x9a,0x06,0xa0,0x06,0xa6,0x06,0xac, +0x06,0xb2,0x06,0xb8,0x06,0xbe,0x06,0xc4,0x06,0xca,0x06,0xd0,0x06,0xd6,0x06,0xdc, +0x06,0xe2,0x06,0xe8,0x06,0xee,0x06,0xf4,0x06,0xfa,0x07,0x00,0x07,0x06,0x07,0x0c, +0x07,0x12,0x07,0x18,0x07,0x1e,0x07,0x24,0x07,0x2a,0x07,0x30,0x07,0x36,0x07,0x3c, +0x07,0x42,0x07,0x48,0x07,0x4e,0x07,0x54,0x07,0x5a,0x07,0x60,0x07,0x66,0x07,0x6c, +0x07,0x72,0x07,0x78,0x07,0x7e,0x07,0x84,0x07,0x8a,0x07,0x90,0x07,0x96,0x07,0x9c, +0x07,0xa2,0x07,0xa8,0x07,0xae,0x07,0xb4,0x07,0xba,0x07,0xc0,0x07,0xc6,0x07,0xcc, +0x07,0xd2,0x07,0xd8,0x07,0xde,0x07,0xe4,0x07,0xea,0x07,0xf0,0x07,0xf6,0x07,0xfc, +0x08,0x02,0x08,0x08,0x08,0x0e,0x08,0x14,0x08,0x1a,0x08,0x20,0x08,0x26,0x08,0x2c, +0x08,0x32,0x08,0x38,0x08,0x3e,0x08,0x44,0x08,0x4a,0x08,0x50,0x08,0x56,0x08,0x5c, +0x08,0x62,0x08,0x68,0x08,0x6e,0x08,0x74,0x08,0x7a,0x08,0x80,0x08,0x86,0x08,0x8c, +0x08,0x92,0x08,0x98,0x08,0x9e,0x08,0xa4,0x08,0xaa,0x08,0xb0,0x08,0xb6,0x08,0xbc, +0x08,0xc2,0x08,0xc8,0x08,0xce,0x08,0xd4,0x08,0xda,0x08,0xe0,0x08,0xe6,0x08,0xec, +0x00,0x01,0x02,0xbc,0x05,0xf0,0x00,0x01,0x02,0xbc,0x05,0xf0,0x00,0x01,0x03,0x4c, +0x05,0xf0,0x00,0x01,0x02,0xec,0x06,0x04,0x00,0x01,0x02,0x9e,0x05,0xf0,0x00,0x01, +0x02,0x9e,0x05,0xf0,0x00,0x01,0x03,0x5c,0x05,0xf0,0x00,0x01,0x03,0x02,0x05,0xf0, +0x00,0x01,0x01,0x2f,0x05,0xf0,0x00,0x01,0x01,0x2e,0x05,0xf0,0x00,0x01,0x02,0x9e, +0x05,0xf0,0x00,0x01,0x01,0x2a,0x05,0xf0,0x00,0x01,0x03,0x73,0x05,0xf0,0x00,0x01, +0x02,0xf5,0x05,0xe2,0x00,0x01,0x03,0x27,0x05,0xf0,0x00,0x01,0x02,0x9e,0x05,0xf0, +0x00,0x01,0x03,0x27,0x05,0xf0,0x00,0x01,0x02,0x7d,0x05,0xe2,0x00,0x01,0x02,0x93, +0x05,0xf0,0x00,0x01,0x02,0x73,0x05,0xe2,0x00,0x01,0x02,0xee,0x05,0xf0,0x00,0x01, +0x02,0xbc,0x05,0xf0,0x00,0x01,0x03,0xf5,0x05,0xf7,0x00,0x01,0x02,0xcd,0x05,0xf0, +0x00,0x01,0x02,0x72,0x05,0xf7,0x00,0x01,0x02,0xbe,0x05,0xf0,0x00,0x01,0x02,0x54, +0x04,0x7b,0x00,0x01,0x01,0x16,0x05,0xf0,0x00,0x01,0x02,0xa6,0x04,0x7b,0x00,0x01, +0x03,0xfe,0x05,0xf0,0x00,0x01,0x02,0x8d,0x04,0x7b,0x00,0x01,0x01,0x3b,0x05,0xf0, +0x00,0x01,0x02,0x6a,0x04,0x7b,0x00,0x01,0x01,0x16,0x05,0xf0,0x00,0x01,0x01,0x1f, +0x06,0x2f,0x00,0x01,0x01,0x1f,0x06,0x2f,0x00,0x01,0x01,0x16,0x05,0xf0,0x00,0x01, +0x01,0x16,0x05,0xf0,0x00,0x01,0x03,0xe9,0x04,0x7b,0x00,0x01,0x02,0x89,0x04,0x7b, +0x00,0x01,0x02,0x7d,0x04,0x7b,0x00,0x01,0x02,0xa6,0x04,0x7b,0x00,0x01,0x02,0x6f, +0x04,0x7b,0x00,0x01,0x02,0x17,0x04,0x7b,0x00,0x01,0x02,0x27,0x04,0x7b,0x00,0x01, +0x01,0x1a,0x05,0xf0,0x00,0x01,0x02,0x7d,0x04,0x7b,0x00,0x01,0x02,0x5e,0x04,0x7b, +0x00,0x01,0x03,0x47,0x04,0x82,0x00,0x01,0x02,0x62,0x04,0x7b,0x00,0x01,0x02,0x60, +0x04,0x82,0x00,0x01,0x02,0x17,0x04,0x7b,0x00,0x01,0x03,0x27,0x05,0xf0,0x00,0x01, +0x03,0xe3,0x04,0x7b,0x00,0x01,0x02,0xa6,0x04,0x7b,0x00,0x01,0x02,0x7d,0x05,0xf0, +0x00,0x01,0x02,0x7d,0x04,0x7b,0x00,0x01,0x01,0x16,0x05,0xf0,0x00,0x01,0x03,0xaa, +0x05,0xf0,0x00,0x01,0x01,0x51,0x05,0xf0,0x00,0x01,0x01,0x1f,0x04,0x7b,0x00,0x01, +0x02,0xf5,0x05,0xe2,0x00,0x01,0x02,0x89,0x04,0x7b,0x00,0x01,0x04,0x14,0x04,0x7b, +0x00,0x01,0x02,0x7d,0x04,0x7b,0x00,0x01,0x01,0x16,0x05,0xf0,0x00,0x01,0x02,0x5c, +0x05,0xf0,0x00,0x01,0x03,0x4c,0x05,0xf0,0x00,0x01,0x02,0x9e,0x05,0xf0,0x00,0x01, +0x02,0xbc,0x05,0xf0,0x00,0x01,0x02,0x9e,0x05,0xf0,0x00,0x01,0x01,0x3b,0x05,0xf0, +0x00,0x01,0x03,0x5c,0x05,0xf0,0x00,0x01,0x01,0x2f,0x05,0xf0,0x00,0x01,0x01,0x2f, +0x05,0xf0,0x00,0x01,0x02,0x9e,0x05,0xf0,0x00,0x01,0x01,0x16,0x06,0x89,0x00,0x01, +0x01,0x16,0x05,0xf0,0x00,0x01,0x02,0x82,0x05,0xf0,0x00,0x01,0x02,0xf5,0x05,0xe2, +0x00,0x01,0x03,0x02,0x05,0xf0,0x00,0x01,0x02,0x93,0x05,0xf0,0x00,0x01,0x02,0x27, +0x04,0x7b,0x00,0x01,0x01,0x16,0x06,0x18,0x00,0x01,0x01,0x1a,0x05,0xf0,0x00,0x01, +0x02,0x73,0x05,0xe2,0x00,0x01,0x01,0x1a,0x06,0x89,0x00,0x01,0x02,0x73,0x05,0xe2, +0x00,0x01,0x02,0xa7,0x05,0xf0,0x00,0x01,0x02,0x72,0x05,0xf7,0x00,0x01,0x02,0x60, +0x04,0x82,0x00,0x01,0x02,0xbe,0x05,0xf0,0x00,0x01,0x02,0x17,0x04,0x7b,0x00,0x01, +0x02,0x8d,0x04,0x77,0x00,0x01,0x03,0x27,0x05,0xf0,0x00,0x01,0x01,0x0f,0x05,0xea, +0x00,0x01,0x02,0x89,0x04,0x7b,0x00,0x01,0x01,0x1a,0x05,0xf0,0x00,0x01,0x01,0x1f, +0x04,0x7b,0x00,0x01,0x02,0x54,0x04,0x7b,0x00,0x01,0x02,0x54,0x04,0x7b,0x00,0x01, +0x02,0x8d,0x04,0x7b,0x00,0x01,0x01,0x16,0x05,0xf0,0x00,0x01,0x01,0xb1,0x04,0x79, +0x00,0x01,0x02,0xa6,0x04,0x7b,0x00,0x01,0x03,0xfe,0x05,0xf0,0x00,0x01,0x03,0xfe, +0x05,0xf0,0x00,0x01,0x02,0x63,0x04,0x7b,0x00,0x01,0x02,0x52,0x04,0x7b,0x00,0x01, +0x02,0x5e,0x04,0x7b,0x00,0x01,0x02,0x40,0x04,0x7b,0x00,0x01,0x02,0x40,0x04,0x7b, +0x00,0x01,0x02,0x22,0x04,0x7b,0x00,0x01,0x02,0xfc,0x04,0x7b,0x00,0x01,0x01,0x1f, +0x04,0x7b,0x00,0x01,0x02,0x6a,0x05,0xf0,0x00,0x01,0x02,0x6a,0x04,0x7b,0x00,0x01, +0x02,0xa6,0x04,0x7b,0x00,0x01,0x02,0xd6,0x04,0x7b,0x00,0x01,0x02,0x62,0x04,0x7b, +0x00,0x01,0x02,0x7d,0x04,0x7b,0x00,0x01,0x01,0x16,0x05,0xf0,0x00,0x01,0x01,0x16, +0x05,0xf0,0x00,0x01,0x01,0x7f,0x06,0x2f,0x00,0x01,0x01,0x1f,0x04,0x7b,0x00,0x01, +0x01,0x80,0x04,0x7b,0x00,0x01,0x01,0xfe,0x05,0xf0,0x00,0x01,0x01,0xfe,0x05,0xf0, +0x00,0x01,0x01,0x16,0x05,0xf0,0x00,0x01,0x01,0x16,0x05,0xf0,0x00,0x01,0x03,0xe9, +0x04,0x7b,0x00,0x01,0x03,0xe9,0x04,0x7b,0x00,0x01,0x03,0xe9,0x04,0x7b,0x00,0x01, +0x02,0x89,0x04,0x7b,0x00,0x01,0x02,0x89,0x04,0x7b,0x00,0x01,0x02,0x89,0x04,0x7b, +0x00,0x01,0x02,0x7d,0x04,0x7b,0x00,0x01,0x04,0x8d,0x04,0x7b,0x00,0x01,0x02,0xe9, +0x04,0x7b,0x00,0x01,0x02,0x70,0x05,0xf0,0x00,0x01,0x02,0xa4,0x04,0x7b,0x00,0x01, +0x02,0xa4,0x05,0xf0,0x00,0x01,0x02,0xa4,0x04,0x7b,0x00,0x01,0x02,0x17,0x04,0x7b, +0x00,0x01,0x02,0x17,0x04,0x7b,0x00,0x01,0x02,0x70,0x04,0x7b,0x00,0x01,0x01,0x82, +0x04,0x7b,0x00,0x01,0x01,0xb3,0x04,0x7b,0x00,0x01,0x01,0xc9,0x04,0x7b,0x00,0x01, +0x02,0x27,0x04,0x7b,0x00,0x01,0x01,0x16,0x05,0xf0,0x00,0x01,0x01,0x74,0x05,0xf0, +0x00,0x01,0x01,0xf1,0x04,0x7b,0x00,0x01,0x01,0x16,0x05,0xf0,0x00,0x01,0x02,0x0e, +0x04,0x7b,0x00,0x01,0x01,0x1a,0x05,0xf0,0x00,0x01,0x02,0x7d,0x04,0x7b,0x00,0x01, +0x02,0x7d,0x04,0x7b,0x00,0x01,0x02,0x7d,0x04,0x7b,0x00,0x01,0x02,0x5e,0x04,0x7b, +0x00,0x01,0x03,0x47,0x04,0x82,0x00,0x01,0x02,0x5e,0x05,0xf0,0x00,0x01,0x02,0x64, +0x04,0x82,0x00,0x01,0x02,0x17,0x04,0x7b,0x00,0x01,0x02,0x17,0x04,0x7b,0x00,0x01, +0x02,0x17,0x04,0x7b,0x00,0x01,0x02,0x17,0x04,0x7b,0x00,0x01,0x01,0xb0,0x05,0xf0, +0x00,0x01,0x02,0x3a,0x05,0xf0,0x00,0x01,0x01,0xb0,0x05,0xf0,0x00,0x01,0x02,0x3a, +0x05,0xf0,0x00,0x01,0x02,0x6b,0x04,0x7b,0x00,0x01,0x02,0x61,0x04,0x7b,0x00,0x01, +0x02,0x89,0x04,0x7b,0x00,0x01,0x02,0xa6,0x05,0xf0,0x00,0x01,0x02,0xa3,0x04,0x71, +0x00,0x01,0x01,0x1f,0x06,0x2f,0x00,0x01,0x02,0xab,0x04,0x7b,0x00,0x01,0x01,0x18, +0x04,0x7b,0x00,0x01,0x02,0x6a,0x05,0xf0,0x00,0x01,0x01,0xb0,0x05,0xf0,0x00,0x01, +0x02,0x3a,0x05,0xf0,0x00,0x01,0x03,0xfe,0x05,0xf0,0x00,0x01,0x03,0xfe,0x05,0xf0, +0x00,0x01,0x03,0xfe,0x05,0xf0,0x00,0x01,0x04,0xa3,0x04,0x7b,0x00,0x01,0x03,0x47, +0x05,0xf0,0x00,0x01,0x04,0x8e,0x04,0x7b,0x00,0x01,0x03,0x20,0x05,0xf0,0x00,0x01, +0x01,0x16,0x05,0xf0,0x00,0x01,0x01,0x16,0x05,0xf0,0x00,0x01,0x02,0x4a,0x04,0x7b, +0x00,0x01,0x02,0x7e,0x05,0xf0,0x00,0x01,0x02,0x5e,0x04,0x82,0x00,0x01,0x02,0x7d, +0x05,0xf0,0x00,0x01,0x02,0x40,0x04,0x7b,0x00,0x01,0x02,0x45,0x05,0xf0,0x00,0x01, +0x02,0x89,0x04,0x7b,0x00,0x01,0x02,0x7d,0x05,0xf0,0x00,0x01,0x01,0x10,0x04,0x7b, +0x00,0x01,0x02,0xa3,0x04,0x7b,0x00,0x01,0x02,0x82,0x05,0xf0,0x00,0x01,0x02,0x87, +0x04,0x7b,0x00,0x01,0x02,0x16,0x04,0x7b,0x00,0x01,0x02,0x45,0x05,0xf0,0x00,0x01, +0x02,0x7d,0x04,0x7b,0x00,0x01,0x02,0x70,0x04,0x7b,0x00,0x01,0x02,0xa6,0x04,0x7b, +0x00,0x01,0x02,0x74,0x04,0x7b,0x00,0x01,0x02,0x7d,0x04,0x7b,0x00,0x01,0x02,0x6a, +0x04,0x7b,0x00,0x01,0x02,0x1a,0x04,0x7b,0x00,0x01,0x02,0xaa,0x04,0x7b,0x00,0x01, +0x02,0x62,0x04,0x7b,0x00,0x01,0x02,0xa4,0x04,0x7b,0x00,0x01,0x03,0x5e,0x04,0x7b, +0x00,0x01,0x02,0x7e,0x05,0xf0,0x00,0x01,0x02,0x7e,0x05,0xf0,0x00,0x01,0x02,0xa0, +0x05,0xf0,0x00,0x01,0x02,0xed,0x04,0x82,0x00,0x01,0x02,0x7d,0x04,0x7b,0x00,0x01, +0x02,0x74,0x04,0x7b,0x00,0x01,0x03,0x5e,0x04,0x7b,0x00,0x01,0x02,0xee,0x04,0x82, +0x00,0x01,0x02,0xa6,0x04,0x7b,0x00,0x01,0x02,0xa6,0x04,0x7b,0x00,0x01,0x01,0x1f, +0x06,0x2f,0x00,0x01,0x02,0xa6,0x04,0x7b,0x00,0x01,0x01,0xf2,0x04,0x7b,0x00,0x01, +0x01,0x16,0x05,0xf0,0x00,0x01,0x02,0xa6,0x04,0x7b,0x00,0x01,0x02,0x54,0x04,0x7b, +0x00,0x01,0x02,0x7d,0x05,0xf0,0x00,0x01,0x02,0x61,0x04,0x7b,0x00,0x01,0x02,0x45, +0x04,0x7b,0x00,0x01,0x02,0xe2,0x04,0x7b,0x00,0x01,0x02,0x8d,0x04,0x7b,0x00,0x01, +0x02,0xf2,0x04,0x7b,0x00,0x01,0x02,0x40,0x04,0x7b,0x00,0x01,0x02,0x89,0x04,0x7b, +0x00,0x01,0x02,0xa3,0x04,0x7b,0x00,0x01,0x02,0xf8,0x04,0x7b,0x00,0x01,0x03,0x05, +0x04,0x7b,0x00,0x01,0x02,0x89,0x04,0x7b,0x00,0x01,0x02,0x7d,0x04,0x7b,0x00,0x01, +0x02,0xa4,0x04,0x7b,0x00,0x01,0x02,0xa6,0x04,0x7b,0x00,0x01,0x02,0xa6,0x04,0x7b, +0x00,0x01,0x02,0x16,0x04,0x7b,0x00,0x01,0x02,0x60,0x04,0x82,0x00,0x01,0x03,0xaa, +0x05,0xf0,0x00,0x01,0x02,0x62,0x04,0x7b,0x00,0x01,0x02,0xa4,0x04,0x7b,0x00,0x01, +0x02,0x4b,0x04,0x7b,0x00,0x01,0x03,0x73,0x04,0x7b,0x00,0x01,0x03,0x73,0x04,0x7b, +0x00,0x01,0x02,0x06,0x04,0x7b,0x00,0x01,0x03,0x1d,0x04,0x7b,0x00,0x01,0x01,0x1d, +0x04,0x7b,0x00,0x01,0x04,0x11,0x04,0x7b,0x00,0x01,0x02,0x75,0x04,0x7b,0x00,0x01, +0x02,0x27,0x04,0x7b,0x00,0x01,0x01,0x1f,0x06,0x2f,0x00,0x01,0x01,0x1f,0x06,0x2f, +0x00,0x01,0x03,0xfa,0x04,0x7b,0x00,0x01,0x03,0xfa,0x04,0x7b,0x00,0x01,0x01,0x16, +0x05,0xf0,0x00,0x01,0x02,0xa4,0x04,0x7b,0x00,0x01,0x02,0x9e,0x05,0xf0,0x00,0x01, +0x02,0xa6,0x04,0x7b,0x00,0x01,0x02,0xa3,0x04,0x7b,0x00,0x01,0x01,0x16,0x05,0xf0, +0x00,0x01,0x02,0x73,0x05,0xe2,0x00,0x01,0x02,0x4b,0x04,0x7b,0x00,0x01,0x02,0xa3, +0x04,0x7b,0x00,0x01,0x02,0x89,0x04,0x7b,0x00,0x01,0x03,0x05,0x04,0x7b,0x00,0x01, +0x02,0x45,0x04,0x7b,0x00,0x01,0x04,0x14,0x04,0x7b,0x00,0x01,0x02,0x40,0x04,0x7b, +0x00,0x01,0x04,0x14,0x04,0x7b,0x00,0x01,0x02,0x62,0x04,0x7b,0x00,0x01,0x01,0xc6, +0x05,0xf0,0x00,0x01,0x01,0x16,0x05,0xf0,0x00,0x01,0x01,0x7f,0x04,0x7b,0x00,0x01, +0x01,0x1f,0x04,0x7b,0x00,0x02,0x00,0x3a,0x00,0x24,0x00,0x3d,0x00,0x00,0x00,0x44, +0x00,0x5d,0x00,0x1a,0x00,0x9a,0x00,0x9a,0x00,0x34,0x00,0xa8,0x00,0xa9,0x00,0x35, +0x00,0xb2,0x00,0xb2,0x00,0x37,0x00,0xba,0x00,0xba,0x00,0x38,0x00,0xc0,0x00,0xc0, +0x00,0x39,0x00,0xe8,0x00,0xe9,0x00,0x3a,0x00,0xf3,0x00,0xf3,0x00,0x3c,0x01,0x0c, +0x01,0x0d,0x00,0x3d,0x01,0x15,0x01,0x15,0x00,0x3f,0x01,0x35,0x01,0x35,0x00,0x40, +0x01,0x42,0x01,0x42,0x00,0x41,0x01,0x48,0x01,0x49,0x00,0x42,0x01,0x50,0x01,0x50, +0x00,0x44,0x01,0x52,0x01,0x55,0x00,0x45,0x01,0x58,0x01,0x5d,0x00,0x49,0x01,0x5f, +0x01,0x5f,0x00,0x4f,0x01,0x66,0x01,0x66,0x00,0x50,0x01,0x69,0x01,0x6a,0x00,0x51, +0x01,0x6c,0x01,0x70,0x00,0x53,0x01,0x74,0x01,0x78,0x00,0x58,0x01,0x7b,0x01,0x7b, +0x00,0x5d,0x01,0xac,0x01,0xac,0x00,0x5e,0x01,0xf6,0x01,0xf9,0x00,0x5f,0x02,0x04, +0x02,0x5f,0x00,0x63,0x03,0x2a,0x03,0x42,0x00,0xbf,0x03,0x48,0x03,0x49,0x00,0xd8, +0x03,0x4d,0x03,0x4d,0x00,0xda,0x03,0x4f,0x03,0x4f,0x00,0xdb,0x03,0x51,0x03,0x51, +0x00,0xdc,0x03,0x53,0x03,0x53,0x00,0xdd,0x03,0x5b,0x03,0x5b,0x00,0xde,0x03,0x68, +0x03,0x6b,0x00,0xdf,0x03,0x6d,0x03,0x6e,0x00,0xe3,0x03,0x70,0x03,0x70,0x00,0xe5, +0x03,0x74,0x03,0x74,0x00,0xe6,0x03,0xa8,0x03,0xb0,0x00,0xe7,0x03,0xb2,0x03,0xc4, +0x00,0xf0,0x03,0xc6,0x03,0xc7,0x01,0x03,0x03,0xcd,0x03,0xce,0x01,0x05,0x03,0xd0, +0x03,0xd3,0x01,0x07,0x03,0xd7,0x03,0xd7,0x01,0x0b,0x04,0x05,0x04,0x06,0x01,0x0c, +0x04,0x14,0x04,0x14,0x01,0x0e,0x04,0x16,0x04,0x16,0x01,0x0f,0x04,0x23,0x04,0x23, +0x01,0x10,0x04,0x30,0x04,0x30,0x01,0x11,0x04,0x3b,0x04,0x3b,0x01,0x12,0x04,0x41, +0x04,0x41,0x01,0x13,0x04,0x45,0x04,0x45,0x01,0x14,0x04,0x6d,0x04,0x6d,0x01,0x15, +0x05,0x3e,0x05,0x3f,0x01,0x16,0x05,0x41,0x05,0x41,0x01,0x18,0x05,0x46,0x05,0x46, +0x01,0x19,0x07,0xee,0x07,0xee,0x01,0x1a,0x09,0x0f,0x09,0x0f,0x01,0x1b,0x0c,0x1a, +0x0c,0x1b,0x01,0x1c,0x00,0x02,0x00,0x08,0x02,0xa3,0x02,0xb7,0x00,0x00,0x02,0xe0, +0x02,0xe5,0x00,0x15,0x02,0xe7,0x02,0xe7,0x00,0x1b,0x02,0xe9,0x02,0xe9,0x00,0x1c, +0x02,0xed,0x02,0xef,0x00,0x1d,0x02,0xf2,0x02,0xf3,0x00,0x20,0x02,0xf5,0x02,0xf5, +0x00,0x22,0x0b,0xe9,0x0b,0xf3,0x00,0x23,0x00,0x2e,0x00,0x00,0x00,0xba,0x00,0x00, +0x00,0xc0,0x00,0x00,0x00,0xc6,0x00,0x00,0x00,0xcc,0x00,0x00,0x00,0xd2,0x00,0x00, +0x00,0xd8,0x00,0x00,0x00,0xde,0x00,0x00,0x00,0xe4,0x00,0x00,0x00,0xea,0x00,0x00, +0x00,0xf0,0x00,0x00,0x00,0xf6,0x00,0x00,0x00,0xfc,0x00,0x00,0x01,0x02,0x00,0x00, +0x01,0x08,0x00,0x00,0x01,0x0e,0x00,0x00,0x01,0x14,0x00,0x00,0x01,0x1a,0x00,0x00, +0x01,0x20,0x00,0x00,0x01,0x26,0x00,0x00,0x01,0x2c,0x00,0x00,0x01,0x32,0x00,0x00, +0x01,0x38,0x00,0x00,0x01,0x3e,0x00,0x00,0x01,0x44,0x00,0x00,0x01,0x4a,0x00,0x00, +0x01,0x50,0x00,0x00,0x01,0x56,0x00,0x00,0x01,0x5c,0x00,0x00,0x01,0x62,0x00,0x00, +0x01,0x68,0x00,0x00,0x01,0x6e,0x00,0x00,0x01,0x74,0x00,0x00,0x01,0x7a,0x00,0x00, +0x01,0x80,0x00,0x00,0x01,0x86,0x00,0x00,0x01,0x8c,0x00,0x00,0x01,0x92,0x00,0x00, +0x01,0x98,0x00,0x00,0x01,0x9e,0x00,0x00,0x01,0xa4,0x00,0x00,0x01,0xaa,0x00,0x00, +0x01,0xb0,0x00,0x00,0x01,0xb6,0x00,0x00,0x01,0xbc,0x00,0x00,0x01,0xc2,0x00,0x00, +0x01,0xc8,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01, +0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b, +0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00, +0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01, +0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b, +0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00, +0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01, +0xfe,0x8a,0x03,0x6f,0x00,0x01,0xfe,0x00,0x04,0x72,0x00,0x01,0xfe,0x00,0x04,0x72, +0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x8a,0x04,0x72,0x00,0x01,0xfe,0x00, +0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01, +0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b, +0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00, +0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01, +0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b, +0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00, +0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01, +0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b, +0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0x05,0xaa,0x05,0x2e,0x00,0x01,0x05,0xde, +0x00,0x0c,0x00,0xa4,0x01,0x4a,0x01,0x50,0x01,0x56,0x01,0x5c,0x01,0x62,0x01,0x68, +0x01,0x6e,0x01,0x74,0x01,0x7a,0x01,0x80,0x01,0x86,0x01,0x8c,0x01,0x92,0x01,0x98, +0x01,0x9e,0x01,0xa4,0x01,0xaa,0x01,0xb0,0x01,0xb6,0x01,0xbc,0x01,0xc2,0x01,0xc8, +0x01,0xce,0x01,0xd4,0x01,0xda,0x01,0xe0,0x01,0xe6,0x01,0xec,0x01,0xf2,0x01,0xf8, +0x01,0xfe,0x02,0x04,0x02,0x0a,0x02,0x10,0x02,0x16,0x02,0x1c,0x02,0x22,0x02,0x28, +0x02,0x2e,0x02,0x34,0x02,0x3a,0x02,0x40,0x02,0x46,0x02,0x4c,0x02,0x52,0x02,0x58, +0x02,0x5e,0x02,0x64,0x02,0x6a,0x02,0x70,0x02,0x76,0x02,0x7c,0x02,0x82,0x02,0x88, +0x02,0x8e,0x02,0x94,0x02,0x9a,0x02,0xa0,0x02,0xa6,0x02,0xac,0x02,0xb2,0x02,0xb8, +0x02,0xbe,0x02,0xc4,0x02,0xca,0x02,0xd0,0x02,0xd6,0x02,0xdc,0x02,0xe2,0x02,0xe8, +0x02,0xee,0x02,0xf4,0x02,0xfa,0x03,0x00,0x03,0x06,0x03,0x0c,0x03,0x12,0x03,0x18, +0x03,0x1e,0x03,0x24,0x03,0x2a,0x03,0x30,0x03,0x36,0x03,0x3c,0x03,0x42,0x03,0x48, +0x03,0x4e,0x03,0x54,0x03,0x5a,0x03,0x60,0x03,0x66,0x03,0x6c,0x03,0x72,0x03,0x78, +0x03,0x7e,0x03,0x84,0x03,0x8a,0x03,0x90,0x03,0x96,0x03,0x9c,0x03,0xa2,0x03,0xa8, +0x03,0xae,0x03,0xb4,0x03,0xba,0x03,0xc0,0x03,0xc6,0x03,0xcc,0x03,0xd2,0x03,0xd8, +0x03,0xde,0x03,0xe4,0x03,0xea,0x03,0xf0,0x03,0xf6,0x03,0xfc,0x04,0x02,0x04,0x08, +0x04,0x0e,0x04,0x14,0x04,0x1a,0x04,0x20,0x04,0x26,0x04,0x2c,0x04,0x32,0x04,0x38, +0x04,0x3e,0x04,0x44,0x04,0x4a,0x04,0x50,0x04,0x56,0x04,0x5c,0x04,0x62,0x04,0x68, +0x04,0x6e,0x04,0x74,0x04,0x7a,0x04,0x80,0x04,0x86,0x04,0x8c,0x04,0x92,0x04,0x98, +0x04,0x9e,0x04,0xa4,0x04,0xaa,0x04,0xb0,0x04,0xb6,0x04,0xbc,0x04,0xc2,0x04,0xc8, +0x04,0xce,0x04,0xd4,0x04,0xda,0x04,0xe0,0x04,0xe6,0x04,0xec,0x04,0xf2,0x04,0xf8, +0x04,0xfe,0x05,0x04,0x05,0x0a,0x05,0x10,0x05,0x16,0x05,0x1c,0x00,0x01,0x02,0xbc, +0x00,0x00,0x00,0x01,0x02,0xbc,0x00,0x00,0x00,0x01,0x03,0x4c,0x00,0x00,0x00,0x01, +0x02,0xec,0x00,0x00,0x00,0x01,0x02,0x9e,0x00,0x00,0x00,0x01,0x02,0x9e,0x00,0x00, +0x00,0x01,0x03,0x5c,0x00,0x00,0x00,0x01,0x03,0x02,0x00,0x00,0x00,0x01,0x01,0x2f, +0x00,0x00,0x00,0x01,0x01,0x2e,0xfe,0x52,0x00,0x01,0x02,0x9e,0x00,0x00,0x00,0x01, +0x02,0x99,0x00,0x00,0x00,0x01,0x03,0x73,0x00,0x00,0x00,0x01,0x02,0xf5,0x00,0x00, +0x00,0x01,0x03,0x27,0x00,0x00,0x00,0x01,0x02,0x9e,0x00,0x00,0x00,0x01,0x03,0x27, +0x00,0x00,0x00,0x01,0x02,0x7d,0x00,0x00,0x00,0x01,0x02,0x93,0x00,0x00,0x00,0x01, +0x02,0x73,0x00,0x00,0x00,0x01,0x02,0xee,0x00,0x00,0x00,0x01,0x02,0xbc,0x00,0x00, +0x00,0x01,0x03,0xf5,0x00,0x00,0x00,0x01,0x02,0xcd,0x00,0x00,0x00,0x01,0x02,0x72, +0x00,0x00,0x00,0x01,0x02,0xbe,0x00,0x00,0x00,0x01,0x02,0x54,0x00,0x00,0x00,0x01, +0x02,0xb7,0x00,0x00,0x00,0x01,0x02,0xa6,0x00,0x00,0x00,0x01,0x02,0x66,0x00,0x00, +0x00,0x01,0x02,0x94,0x00,0x00,0x00,0x01,0x01,0x3b,0x00,0x00,0x00,0x01,0x02,0xa6, +0xfe,0x52,0x00,0x01,0x02,0xa6,0x00,0x00,0x00,0x01,0x01,0x1f,0x00,0x00,0x00,0x01, +0x01,0x1f,0xfe,0x52,0x00,0x01,0x02,0xa6,0x00,0x00,0x00,0x01,0x01,0x16,0x00,0x00, +0x00,0x01,0x03,0xe9,0x00,0x00,0x00,0x01,0x02,0xa6,0x00,0x00,0x00,0x01,0x02,0x7d, +0x00,0x00,0x00,0x01,0x02,0xa6,0xfe,0x52,0x00,0x01,0x02,0x88,0xfe,0x52,0x00,0x01, +0x02,0x17,0x00,0x00,0x00,0x01,0x02,0x27,0x00,0x00,0x00,0x01,0x01,0xf4,0x00,0x00, +0x00,0x01,0x02,0xa6,0x00,0x00,0x00,0x01,0x02,0x5e,0x00,0x00,0x00,0x01,0x03,0x47, +0x00,0x00,0x00,0x01,0x02,0x62,0x00,0x00,0x00,0x01,0x02,0x60,0xfe,0x52,0x00,0x01, +0x02,0x17,0x00,0x00,0x00,0x01,0x03,0xe3,0x00,0x00,0x00,0x01,0x02,0x7d,0x00,0x00, +0x00,0x01,0x02,0x7d,0x00,0x00,0x00,0x01,0x02,0xd0,0x00,0x00,0x00,0x01,0x02,0x89, +0xfe,0x52,0x00,0x01,0x01,0x37,0xfe,0x52,0x00,0x01,0x01,0x16,0xfe,0x7a,0x00,0x01, +0x02,0x60,0xfe,0x52,0x00,0x01,0x02,0xdb,0xfe,0x52,0x00,0x01,0x01,0x0f,0xff,0xfa, +0x00,0x01,0x02,0xa6,0x00,0x00,0x00,0x01,0x01,0xf4,0x00,0x00,0x00,0x01,0x02,0x54, +0x00,0x00,0x00,0x01,0x02,0x54,0x00,0x00,0x00,0x01,0x02,0x8d,0x00,0x00,0x00,0x01, +0x02,0x8d,0x00,0x00,0x00,0x01,0x01,0xb1,0x00,0x00,0x00,0x01,0x02,0xa6,0x00,0x00, +0x00,0x01,0x02,0x54,0xfe,0x52,0x00,0x01,0x02,0x54,0x00,0x00,0x00,0x01,0x02,0x63, +0x00,0x00,0x00,0x01,0x02,0x52,0x00,0x00,0x00,0x01,0x02,0x5e,0x00,0x00,0x00,0x01, +0x02,0x40,0x00,0x00,0x00,0x01,0x02,0x40,0x00,0x00,0x00,0x01,0x02,0x22,0x00,0x00, +0x00,0x01,0x02,0xfc,0x00,0x00,0x00,0x01,0x01,0x1f,0xfe,0x52,0x00,0x01,0x02,0x6a, +0xfe,0x52,0x00,0x01,0x02,0x6a,0xfe,0x52,0x00,0x01,0x02,0xa6,0x00,0x00,0x00,0x01, +0x02,0xd6,0xfe,0x52,0x00,0x01,0x02,0x62,0x00,0x00,0x00,0x01,0x02,0x7d,0xfe,0x52, +0x00,0x01,0x02,0xa6,0x00,0x00,0x00,0x01,0x02,0xa6,0xfe,0x52,0x00,0x01,0x01,0x7f, +0x00,0x00,0x00,0x01,0x01,0x1f,0x00,0x00,0x00,0x01,0x01,0x80,0x00,0x00,0x00,0x01, +0x01,0xfe,0x00,0x00,0x00,0x01,0x01,0xfe,0x00,0x00,0x00,0x01,0x01,0x16,0xfe,0x52, +0x00,0x01,0x02,0xee,0xfe,0x52,0x00,0x01,0x03,0xe9,0x00,0x00,0x00,0x01,0x03,0xe9, +0xfe,0x52,0x00,0x01,0x03,0xe9,0xfe,0x52,0x00,0x01,0x02,0x89,0xfe,0x52,0x00,0x01, +0x02,0x89,0xfe,0x52,0x00,0x01,0x02,0x89,0x00,0x00,0x00,0x01,0x02,0x7d,0x00,0x00, +0x00,0x01,0x04,0x8d,0x00,0x00,0x00,0x01,0x02,0xe9,0x00,0x00,0x00,0x01,0x02,0x70, +0xfe,0x52,0x00,0x01,0x02,0xa6,0x00,0x00,0x00,0x01,0x02,0xa6,0x00,0x00,0x00,0x01, +0x02,0xa6,0xfe,0x52,0x00,0x01,0x00,0xd5,0xfe,0x52,0x00,0x01,0x02,0x17,0xfe,0x52, +0x00,0x01,0x01,0x83,0x00,0x00,0x00,0x01,0x02,0x74,0x00,0x00,0x00,0x01,0x01,0xb3, +0x00,0x00,0x00,0x01,0x01,0xc9,0x00,0x00,0x00,0x01,0x02,0x27,0xfe,0x52,0x00,0x01, +0x01,0x16,0xfe,0x52,0x00,0x01,0x01,0x74,0xfe,0x52,0x00,0x01,0x01,0xf1,0xfe,0x52, +0x00,0x01,0x01,0x16,0xfe,0x52,0x00,0x01,0x02,0x0e,0xfe,0x52,0x00,0x01,0x01,0xf4, +0xfe,0x52,0x00,0x01,0x02,0x7d,0x00,0x00,0x00,0x01,0x02,0x7d,0x00,0x00,0x00,0x01, +0x02,0x7d,0x00,0x00,0x00,0x01,0x02,0x5e,0x00,0x00,0x00,0x01,0x03,0x47,0x00,0x00, +0x00,0x01,0x02,0x5e,0x00,0x00,0x00,0x01,0x02,0x64,0x00,0x00,0x00,0x01,0x02,0x17, +0xfe,0x52,0x00,0x01,0x02,0x17,0x00,0x00,0x00,0x01,0x02,0x17,0xfe,0x52,0x00,0x01, +0x02,0x17,0xfe,0x52,0x00,0x01,0x01,0xb0,0x00,0x00,0x00,0x01,0x02,0x3a,0x00,0x00, +0x00,0x01,0x01,0xb0,0x00,0x00,0x00,0x01,0x02,0x3a,0xfe,0x52,0x00,0x01,0x02,0x6b, +0x00,0x00,0x00,0x01,0x02,0x61,0x00,0x00,0x00,0x01,0x02,0x89,0x00,0x00,0x00,0x01, +0x02,0xa6,0x00,0x00,0x00,0x01,0x02,0xa3,0xff,0xf6,0x00,0x01,0x01,0x1f,0xfe,0x52, +0x00,0x01,0x02,0xab,0xfe,0x52,0x00,0x01,0x02,0x58,0x00,0x00,0x00,0x01,0x02,0x88, +0xfe,0x52,0x00,0x01,0x01,0xb0,0x00,0x00,0x00,0x01,0x02,0x3a,0x00,0x00,0x00,0x01, +0x03,0xfe,0x00,0x00,0x00,0x01,0x03,0xfe,0xfe,0x52,0x00,0x01,0x03,0xfe,0x00,0x00, +0x00,0x01,0x04,0xa3,0x00,0x00,0x00,0x01,0x03,0x47,0xfe,0x52,0x00,0x01,0x04,0x8e, +0x00,0x00,0x00,0x01,0x03,0x20,0xfe,0x52,0x00,0x01,0x01,0x16,0x00,0x00,0x00,0x01, +0x01,0x16,0x00,0x00,0x00,0x01,0x02,0x7e,0xfe,0x52,0x00,0x01,0x02,0x7d,0x00,0x00, +0x00,0x01,0x02,0x9e,0x00,0x00,0x00,0x01,0x02,0xa6,0x00,0x00,0x00,0x01,0x02,0x0e, +0x00,0x00,0x00,0x01,0x02,0xb7,0x00,0x00,0x00,0x01,0x01,0x7f,0x00,0x00,0x00,0x01, +0x01,0x1f,0xfe,0x52,0x00,0x02,0x00,0x14,0x00,0x24,0x00,0x3d,0x00,0x00,0x00,0x44, +0x00,0x5d,0x00,0x1a,0x00,0xa8,0x00,0xa8,0x00,0x34,0x00,0xb2,0x00,0xb2,0x00,0x35, +0x00,0xba,0x00,0xba,0x00,0x36,0x00,0xe9,0x00,0xe9,0x00,0x37,0x01,0x0d,0x01,0x0d, +0x00,0x38,0x01,0x54,0x01,0x54,0x00,0x39,0x01,0x6c,0x01,0x6c,0x00,0x3a,0x01,0x76, +0x01,0x76,0x00,0x3b,0x01,0x7b,0x01,0x7b,0x00,0x3c,0x01,0xf6,0x01,0xf8,0x00,0x3d, +0x02,0x04,0x02,0x5f,0x00,0x40,0x03,0x2b,0x03,0x2b,0x00,0x9c,0x03,0x31,0x03,0x31, +0x00,0x9d,0x04,0x05,0x04,0x05,0x00,0x9e,0x04,0x16,0x04,0x16,0x00,0x9f,0x07,0xee, +0x07,0xee,0x00,0xa0,0x09,0x0f,0x09,0x0f,0x00,0xa1,0x0c,0x1a,0x0c,0x1b,0x00,0xa2, +0x00,0x02,0x00,0x08,0x02,0xb9,0x02,0xbc,0x00,0x00,0x02,0xbf,0x02,0xc3,0x00,0x04, +0x02,0xc6,0x02,0xc9,0x00,0x09,0x02,0xcc,0x02,0xd6,0x00,0x0d,0x02,0xdc,0x02,0xdf, +0x00,0x18,0x02,0xea,0x02,0xec,0x00,0x1c,0x02,0xf0,0x02,0xf1,0x00,0x1f,0x02,0xf4, +0x02,0xf4,0x00,0x21,0x00,0x22,0x00,0x00,0x00,0x8a,0x00,0x00,0x00,0x90,0x00,0x00, +0x00,0x96,0x00,0x00,0x00,0x9c,0x00,0x00,0x00,0xa2,0x00,0x00,0x00,0xa8,0x00,0x00, +0x00,0xae,0x00,0x00,0x00,0xb4,0x00,0x00,0x00,0xba,0x00,0x00,0x00,0xc0,0x00,0x00, +0x00,0xc6,0x00,0x00,0x00,0xcc,0x00,0x00,0x00,0xd2,0x00,0x00,0x00,0xd8,0x00,0x00, +0x00,0xde,0x00,0x00,0x00,0xe4,0x00,0x00,0x00,0xea,0x00,0x00,0x00,0xf0,0x00,0x00, +0x00,0xf6,0x00,0x00,0x00,0xfc,0x00,0x00,0x01,0x02,0x00,0x00,0x01,0x08,0x00,0x00, +0x01,0x0e,0x00,0x00,0x01,0x14,0x00,0x00,0x01,0x1a,0x00,0x00,0x01,0x20,0x00,0x00, +0x01,0x26,0x00,0x00,0x01,0x2c,0x00,0x00,0x01,0x32,0x00,0x00,0x01,0x38,0x00,0x00, +0x01,0x3e,0x00,0x00,0x01,0x44,0x00,0x00,0x01,0x4a,0x00,0x00,0x01,0x50,0x00,0x01, +0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0x00,0x00, +0x00,0x01,0xfe,0x00,0x00,0x00,0x00,0x01,0xfe,0x00,0xff,0xfe,0x00,0x01,0xfe,0x00, +0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01, +0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff, +0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00, +0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01, +0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff, +0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00, +0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01, +0xfe,0x00,0xff,0xfb,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff, +0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00, +0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01, +0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0x00,0x20,0x00,0x1a, +0x00,0x01,0x00,0x54,0x00,0x0c,0x00,0x01,0x00,0x04,0x00,0x01,0x00,0x04,0x00,0x01, +0x02,0xa6,0xfe,0x52,0x00,0x01,0x00,0x01,0x00,0xa9,0x00,0x02,0x00,0x08,0x02,0xb9, +0x02,0xbc,0x00,0x00,0x02,0xbf,0x02,0xc3,0x00,0x04,0x02,0xc6,0x02,0xc9,0x00,0x09, +0x02,0xcc,0x02,0xd6,0x00,0x0d,0x02,0xdc,0x02,0xdf,0x00,0x18,0x02,0xea,0x02,0xec, +0x00,0x1c,0x02,0xf0,0x02,0xf1,0x00,0x1f,0x02,0xf4,0x02,0xf4,0x00,0x21,0x00,0x22, +0x00,0x00,0x00,0x8a,0x00,0x00,0x00,0x90,0x00,0x00,0x00,0x96,0x00,0x00,0x00,0x9c, +0x00,0x00,0x00,0xa2,0x00,0x00,0x00,0xa8,0x00,0x00,0x00,0xae,0x00,0x00,0x00,0xb4, +0x00,0x00,0x00,0xba,0x00,0x00,0x00,0xc0,0x00,0x00,0x00,0xc6,0x00,0x00,0x00,0xcc, +0x00,0x00,0x00,0xd2,0x00,0x00,0x00,0xd8,0x00,0x00,0x00,0xde,0x00,0x00,0x00,0xe4, +0x00,0x00,0x00,0xea,0x00,0x00,0x00,0xf0,0x00,0x00,0x00,0xf6,0x00,0x00,0x00,0xfc, +0x00,0x00,0x01,0x02,0x00,0x00,0x01,0x08,0x00,0x00,0x01,0x0e,0x00,0x00,0x01,0x14, +0x00,0x00,0x01,0x1a,0x00,0x00,0x01,0x20,0x00,0x00,0x01,0x26,0x00,0x00,0x01,0x2c, +0x00,0x00,0x01,0x32,0x00,0x00,0x01,0x38,0x00,0x00,0x01,0x3e,0x00,0x00,0x01,0x44, +0x00,0x00,0x01,0x4a,0x00,0x00,0x01,0x50,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01, +0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0x00,0x00,0x00,0x01,0xfe,0x00,0x00,0x00, +0x00,0x01,0xfe,0x00,0xff,0xfe,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00, +0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01, +0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff, +0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00, +0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01, +0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff, +0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00, +0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xfb,0x00,0x01, +0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff, +0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00, +0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01,0xfe,0x00,0xff,0xff,0x00,0x01, +0xfe,0x00,0xff,0xff,0x00,0x01,0x09,0x56,0x09,0x2e,0x00,0x01,0x09,0x60,0x00,0x0c, +0x01,0x24,0x02,0x4a,0x02,0x50,0x02,0x56,0x02,0x5c,0x02,0x62,0x02,0x68,0x02,0x6e, +0x02,0x74,0x02,0x7a,0x02,0x80,0x02,0x86,0x02,0x8c,0x02,0x92,0x02,0x98,0x02,0x9e, +0x02,0xa4,0x02,0xaa,0x02,0xb0,0x02,0xb6,0x02,0xbc,0x02,0xc2,0x02,0xc8,0x02,0xce, +0x02,0xd4,0x02,0xda,0x02,0xe0,0x02,0xe6,0x02,0xec,0x02,0xf2,0x02,0xf8,0x02,0xfe, +0x03,0x04,0x03,0x0a,0x03,0x10,0x03,0x16,0x03,0x1c,0x03,0x22,0x03,0x28,0x03,0x2e, +0x03,0x34,0x03,0x3a,0x03,0x40,0x03,0x46,0x03,0x4c,0x03,0x52,0x03,0x58,0x03,0x5e, +0x03,0x64,0x03,0x6a,0x03,0x70,0x03,0x76,0x03,0x7c,0x03,0x82,0x03,0x88,0x03,0x8e, +0x03,0x94,0x03,0x9a,0x03,0xa0,0x03,0xa6,0x03,0xac,0x03,0xb2,0x03,0xb8,0x03,0xbe, +0x03,0xc4,0x03,0xca,0x03,0xd0,0x03,0xd6,0x03,0xdc,0x03,0xe2,0x03,0xe8,0x03,0xee, +0x03,0xf4,0x03,0xfa,0x04,0x00,0x04,0x06,0x04,0x0c,0x04,0x12,0x04,0x18,0x04,0x1e, +0x04,0x24,0x04,0x2a,0x04,0x30,0x04,0x36,0x04,0x3c,0x04,0x42,0x04,0x48,0x04,0x4e, +0x04,0x54,0x04,0x5a,0x04,0x60,0x04,0x66,0x04,0x6c,0x04,0x72,0x04,0x78,0x04,0x7e, +0x04,0x84,0x04,0x8a,0x04,0x90,0x04,0x96,0x04,0x9c,0x04,0xa2,0x04,0xa8,0x04,0xae, +0x04,0xb4,0x04,0xba,0x04,0xc0,0x04,0xc6,0x04,0xcc,0x04,0xd2,0x04,0xd8,0x04,0xde, +0x04,0xe4,0x04,0xea,0x04,0xf0,0x04,0xf6,0x04,0xfc,0x05,0x02,0x05,0x08,0x05,0x0e, +0x05,0x14,0x05,0x1a,0x05,0x20,0x05,0x26,0x05,0x2c,0x05,0x32,0x05,0x38,0x05,0x3e, +0x05,0x44,0x05,0x4a,0x05,0x50,0x05,0x56,0x05,0x5c,0x05,0x62,0x05,0x68,0x05,0x6e, +0x05,0x74,0x05,0x7a,0x05,0x80,0x05,0x86,0x05,0x8c,0x05,0x92,0x05,0x98,0x05,0x9e, +0x05,0xa4,0x05,0xaa,0x05,0xb0,0x05,0xb6,0x05,0xbc,0x05,0xc2,0x05,0xc8,0x05,0xce, +0x05,0xd4,0x05,0xda,0x05,0xe0,0x05,0xe6,0x05,0xec,0x05,0xf2,0x05,0xf8,0x05,0xfe, +0x06,0x04,0x06,0x0a,0x06,0x10,0x06,0x16,0x06,0x1c,0x06,0x22,0x06,0x28,0x06,0x2e, +0x06,0x34,0x06,0x3a,0x06,0x40,0x06,0x46,0x06,0x4c,0x06,0x52,0x06,0x58,0x06,0x5e, +0x06,0x64,0x06,0x6a,0x06,0x70,0x06,0x76,0x06,0x7c,0x06,0x82,0x06,0x88,0x06,0x8e, +0x06,0x94,0x06,0x9a,0x06,0xa0,0x06,0xa6,0x06,0xac,0x06,0xb2,0x06,0xb8,0x06,0xbe, +0x06,0xc4,0x06,0xca,0x06,0xd0,0x06,0xd6,0x06,0xdc,0x06,0xe2,0x06,0xe8,0x06,0xee, +0x06,0xf4,0x06,0xfa,0x07,0x00,0x07,0x06,0x07,0x0c,0x07,0x12,0x07,0x18,0x07,0x1e, +0x07,0x24,0x07,0x2a,0x07,0x30,0x07,0x36,0x07,0x3c,0x07,0x42,0x07,0x48,0x07,0x4e, +0x07,0x54,0x07,0x5a,0x07,0x60,0x07,0x66,0x07,0x6c,0x07,0x72,0x07,0x78,0x07,0x7e, +0x07,0x84,0x07,0x8a,0x07,0x90,0x07,0x96,0x07,0x9c,0x07,0xa2,0x07,0xa8,0x07,0xae, +0x07,0xb4,0x07,0xba,0x07,0xc0,0x07,0xc6,0x07,0xcc,0x07,0xd2,0x07,0xd8,0x07,0xde, +0x07,0xe4,0x07,0xea,0x07,0xf0,0x07,0xf6,0x07,0xfc,0x08,0x02,0x08,0x08,0x08,0x0e, +0x08,0x14,0x08,0x1a,0x08,0x20,0x08,0x26,0x08,0x2c,0x08,0x32,0x08,0x38,0x08,0x3e, +0x08,0x44,0x08,0x4a,0x08,0x50,0x08,0x56,0x08,0x5c,0x08,0x62,0x08,0x68,0x08,0x6e, +0x08,0x74,0x08,0x7a,0x08,0x80,0x08,0x86,0x08,0x8c,0x08,0x92,0x08,0x98,0x08,0x9e, +0x08,0xa4,0x08,0xaa,0x08,0xb0,0x08,0xb6,0x08,0xbc,0x08,0xc2,0x08,0xc8,0x08,0xce, +0x08,0xd4,0x08,0xda,0x08,0xe0,0x08,0xe6,0x08,0xec,0x08,0xf2,0x08,0xf8,0x08,0xfe, +0x09,0x04,0x09,0x0a,0x09,0x10,0x09,0x16,0x09,0x1c,0x00,0x01,0x01,0x1d,0xff,0x9c, +0x00,0x01,0x01,0x1d,0xff,0x9c,0x00,0x01,0x01,0xf4,0xfe,0x3e,0x00,0x01,0x01,0x1d, +0xfd,0xda,0x00,0x01,0x02,0xbc,0xfe,0x70,0x00,0x01,0x01,0x1d,0xff,0x9c,0x00,0x01, +0x03,0x84,0xfe,0x70,0x00,0x01,0x01,0xf4,0xff,0x6a,0x00,0x01,0x03,0x84,0xff,0x6a, +0x00,0x01,0x03,0x84,0xff,0x6a,0x00,0x01,0x03,0x2c,0xfd,0x76,0x00,0x01,0x03,0x2c, +0xfd,0xa8,0x00,0x01,0x03,0x2c,0xfd,0x76,0x00,0x01,0x01,0xc2,0xff,0x6a,0x00,0x01, +0x01,0xc2,0xff,0x6a,0x00,0x01,0x01,0xf4,0xfe,0x0c,0x00,0x01,0x01,0xf4,0xfe,0x0c, +0x00,0x01,0x02,0x58,0xfd,0xa8,0x00,0x01,0x02,0x58,0xfd,0xa8,0x00,0x01,0x02,0x58, +0xfd,0xa8,0x00,0x01,0x02,0x58,0xfd,0x44,0x00,0x01,0x02,0x5b,0xff,0x6a,0x00,0x01, +0x02,0x5b,0xff,0x6a,0x00,0x01,0x02,0xd7,0xfd,0xa8,0x00,0x01,0x02,0xd7,0xfd,0xa8, +0x00,0x01,0x01,0x2c,0xff,0x9c,0x00,0x01,0x03,0x20,0xff,0x38,0x00,0x01,0x02,0xbc, +0xfd,0xda,0x00,0x01,0x03,0x20,0xff,0x38,0x00,0x01,0x02,0xbc,0xfe,0x3e,0x00,0x01, +0x00,0xf0,0xfd,0xa8,0x00,0x01,0x02,0xee,0xfe,0x3e,0x00,0x01,0x01,0xf4,0xff,0x6a, +0x00,0x01,0x01,0xf4,0xfe,0x3e,0x00,0x01,0x02,0xbc,0xfe,0x70,0x00,0x01,0x02,0xbc, +0xfd,0xda,0x00,0x01,0x03,0x84,0xff,0x6a,0x00,0x01,0x02,0xbc,0xfd,0xda,0x00,0x01, +0x03,0x84,0xff,0x6a,0x00,0x01,0x03,0x84,0xff,0x6a,0x00,0x01,0x03,0x84,0xfd,0xa8, +0x00,0x01,0x03,0x84,0xfe,0x5e,0x00,0x01,0x03,0x84,0xff,0x6a,0x00,0x01,0x03,0x84, +0xfd,0xa8,0x00,0x01,0x03,0x84,0xff,0x6a,0x00,0x01,0x03,0x84,0xfd,0xa8,0x00,0x01, +0x03,0x2c,0xfd,0xa8,0x00,0x01,0x03,0x2c,0xfd,0xa8,0x00,0x01,0x03,0x2c,0xfd,0xa8, +0x00,0x01,0x03,0x2c,0xfd,0xa8,0x00,0x01,0x03,0x2c,0xfd,0xa8,0x00,0x01,0x03,0x2c, +0xfd,0xa8,0x00,0x01,0x03,0x2c,0xfd,0xa8,0x00,0x01,0x01,0xf4,0xfe,0x0c,0x00,0x01, +0x01,0xf4,0xfe,0x0c,0x00,0x01,0x03,0x20,0xff,0x38,0x00,0x01,0x03,0x20,0xff,0x38, +0x00,0x01,0x03,0x20,0xff,0x38,0x00,0x01,0x03,0x20,0xff,0x6a,0x00,0x01,0x03,0x20, +0xff,0x6a,0x00,0x01,0x02,0xee,0xfe,0x3e,0x00,0x01,0x03,0x2c,0xfd,0xa8,0x00,0x01, +0x02,0xbc,0xfe,0x70,0x00,0x01,0x03,0x84,0xfd,0xa8,0x00,0x01,0x03,0x84,0xfd,0xa8, +0x00,0x01,0x01,0x2b,0xfd,0xda,0x00,0x01,0x01,0x2b,0xfd,0xda,0x00,0x01,0x03,0x84, +0xfd,0xa8,0x00,0x01,0x03,0x84,0xfd,0xa8,0x00,0x01,0x01,0x2b,0xfd,0xda,0x00,0x01, +0x01,0x2b,0xfd,0xda,0x00,0x01,0x03,0x84,0xfd,0xa8,0x00,0x01,0x03,0x84,0xfd,0xa8, +0x00,0x01,0x01,0x2b,0xfd,0xda,0x00,0x01,0x01,0x2b,0xfd,0xda,0x00,0x01,0x03,0x84, +0xff,0x6a,0x00,0x01,0x03,0x84,0xff,0x6a,0x00,0x01,0x01,0x2b,0xff,0x9c,0x00,0x01, +0x01,0x2b,0xff,0x9c,0x00,0x01,0x03,0x84,0xff,0x6a,0x00,0x01,0x03,0x84,0xff,0x6a, +0x00,0x01,0x01,0x2b,0xff,0x9c,0x00,0x01,0x01,0x2b,0xff,0x9c,0x00,0x01,0x03,0x84, +0xff,0x6a,0x00,0x01,0x03,0x84,0xff,0x6a,0x00,0x01,0x01,0x2b,0xff,0x9c,0x00,0x01, +0x01,0x2b,0xff,0x9c,0x00,0x01,0x03,0x20,0xff,0x38,0x00,0x01,0x03,0x20,0xff,0x38, +0x00,0x01,0x01,0xf4,0xff,0x6a,0x00,0x01,0x02,0x06,0xff,0x6a,0x00,0x01,0x03,0x20, +0xff,0x38,0x00,0x01,0x03,0x20,0xff,0x38,0x00,0x01,0x01,0xf4,0xff,0x6a,0x00,0x01, +0x02,0x06,0xff,0x6a,0x00,0x01,0x03,0x2c,0xfd,0xa8,0x00,0x01,0x03,0x2c,0xfd,0xa8, +0x00,0x01,0x02,0x58,0xfe,0x0c,0x00,0x01,0x02,0x58,0xfe,0x0c,0x00,0x01,0x03,0x2c, +0xfd,0xa8,0x00,0x01,0x03,0x2c,0xfd,0xa8,0x00,0x01,0x02,0x58,0xff,0x06,0x00,0x01, +0x02,0x58,0xff,0x06,0x00,0x01,0x03,0x2c,0xfd,0xa8,0x00,0x01,0x03,0x2c,0xfd,0xa8, +0x00,0x01,0x02,0x58,0xfe,0x0c,0x00,0x01,0x02,0x58,0xfe,0x0c,0x00,0x01,0x03,0x2c, +0xfd,0xa8,0x00,0x01,0x03,0x2c,0xfd,0xa8,0x00,0x01,0x02,0x58,0xfe,0x0c,0x00,0x01, +0x02,0x58,0xfe,0x0c,0x00,0x01,0x01,0xf4,0xfe,0x0c,0x00,0x01,0x01,0xf4,0xfe,0x0c, +0x00,0x01,0x01,0xf4,0xfe,0x0c,0x00,0x01,0x01,0xf4,0xfe,0x0c,0x00,0x01,0x03,0x20, +0xff,0x6a,0x00,0x01,0x03,0x20,0xff,0x6a,0x00,0x01,0x01,0x2c,0xff,0x6a,0x00,0x01, +0x01,0x2c,0xff,0x6a,0x00,0x01,0x03,0x20,0xff,0x6a,0x00,0x01,0x03,0x20,0xff,0x6a, +0x00,0x01,0x01,0x2c,0xff,0x6a,0x00,0x01,0x01,0x2c,0xff,0x6a,0x00,0x01,0x02,0xee, +0xfe,0x3e,0x00,0x01,0x02,0xee,0xfd,0xa8,0x00,0x01,0x01,0x2b,0xff,0x9c,0x00,0x01, +0x01,0x2b,0xff,0x9c,0x00,0x01,0x02,0xbc,0xfe,0x70,0x00,0x01,0x02,0xbc,0xfe,0x70, +0x00,0x01,0x01,0x2b,0xfe,0xa2,0x00,0x01,0x01,0x2b,0xfe,0xa2,0x00,0x01,0x01,0x2c, +0xff,0x9c,0x00,0x01,0x01,0x2c,0xff,0x9c,0x00,0x01,0x01,0x2c,0xff,0x9c,0x00,0x01, +0x00,0xc5,0xff,0x9c,0x00,0x01,0x01,0x2c,0xfe,0x0c,0x00,0x01,0x01,0x2c,0xff,0x9c, +0x00,0x01,0x01,0x2c,0xff,0x9c,0x00,0x01,0x01,0x2c,0xff,0x9c,0x00,0x01,0x01,0x2c, +0xff,0x9c,0x00,0x01,0x01,0x2c,0xfe,0xd4,0x00,0x01,0x01,0x2c,0xfe,0xd4,0x00,0x01, +0x01,0x2c,0xff,0x9c,0x00,0x01,0x01,0x2c,0xff,0x9c,0x00,0x01,0x01,0x2c,0xff,0x9c, +0x00,0x01,0x01,0x2c,0xff,0x9c,0x00,0x01,0x01,0xf4,0x00,0x32,0x00,0x01,0x01,0x1d, +0xff,0x9c,0x00,0x01,0x01,0x1d,0xff,0x9c,0x00,0x01,0x01,0x1d,0xff,0x9c,0x00,0x01, +0x01,0x1d,0xff,0x9c,0x00,0x01,0x01,0xf4,0xfe,0x3e,0x00,0x01,0x01,0xf4,0xfe,0x0c, +0x00,0x01,0x01,0x1d,0xfd,0xa8,0x00,0x01,0x01,0x1d,0xfd,0xa8,0x00,0x01,0x02,0xbc, +0xfe,0x70,0x00,0x01,0x02,0xbc,0xfe,0x70,0x00,0x01,0x01,0x2b,0xff,0x9c,0x00,0x01, +0x01,0x2b,0xff,0x9c,0x00,0x01,0x01,0x1d,0xff,0x9c,0x00,0x01,0x01,0x1d,0xff,0x9c, +0x00,0x01,0x03,0x84,0xfe,0x70,0x00,0x01,0x03,0x84,0xfe,0x70,0x00,0x01,0x01,0x2b, +0xfe,0xa2,0x00,0x01,0x01,0x2b,0xfe,0xa2,0x00,0x01,0x01,0xf4,0xff,0x6a,0x00,0x01, +0x01,0xf4,0xff,0x6a,0x00,0x01,0x03,0x84,0xff,0x6a,0x00,0x01,0x03,0x84,0xff,0x6a, +0x00,0x01,0x01,0x2b,0xff,0x9c,0x00,0x01,0x01,0x2b,0xff,0x9c,0x00,0x01,0x03,0x84, +0xff,0x6a,0x00,0x01,0x03,0x84,0xff,0x6a,0x00,0x01,0x01,0x2b,0xff,0x9c,0x00,0x01, +0x01,0x2b,0xff,0x9c,0x00,0x01,0x03,0x2c,0xfd,0xa8,0x00,0x01,0x03,0x2c,0xfd,0xa8, +0x00,0x01,0x02,0x58,0xfe,0xa2,0x00,0x01,0x02,0x58,0xfe,0xa2,0x00,0x01,0x03,0x2c, +0xfd,0xa8,0x00,0x01,0x03,0x2c,0xfd,0xa8,0x00,0x01,0x02,0x58,0xff,0x9c,0x00,0x01, +0x02,0x58,0xff,0x9c,0x00,0x01,0x03,0x2c,0xfd,0xa8,0x00,0x01,0x03,0x2c,0xfd,0xa8, +0x00,0x01,0x02,0x58,0xff,0x9c,0x00,0x01,0x02,0x58,0xff,0x9c,0x00,0x01,0x01,0xc2, +0xff,0x6a,0x00,0x01,0x01,0xc2,0xff,0x6a,0x00,0x01,0x01,0xc2,0xff,0x6a,0x00,0x01, +0x01,0xc2,0xff,0x6a,0x00,0x01,0x01,0xf4,0xfe,0x0c,0x00,0x01,0x01,0xf4,0xfe,0x0c, +0x00,0x01,0x01,0xf4,0xfe,0x0c,0x00,0x01,0x01,0xf4,0xfe,0x0c,0x00,0x01,0x02,0x58, +0xfd,0xa8,0x00,0x01,0x02,0x58,0xfd,0xa8,0x00,0x01,0x02,0x8a,0xff,0x6a,0x00,0x01, +0x02,0x8a,0xff,0x6a,0x00,0x01,0x02,0x58,0xfd,0xa8,0x00,0x01,0x02,0x58,0xfd,0xa8, +0x00,0x01,0x02,0x8a,0xff,0x6a,0x00,0x01,0x02,0x8a,0xff,0x6a,0x00,0x01,0x02,0x58, +0xfd,0xa8,0x00,0x01,0x02,0x58,0xfd,0xa8,0x00,0x01,0x02,0x26,0xff,0x6a,0x00,0x01, +0x02,0x26,0xff,0x6a,0x00,0x01,0x02,0x58,0xfd,0xa8,0x00,0x01,0x02,0x58,0xfd,0xa8, +0x00,0x01,0x02,0x26,0xff,0x6a,0x00,0x01,0x02,0x26,0xff,0x6a,0x00,0x01,0x02,0x5b, +0xff,0x6a,0x00,0x01,0x02,0x5b,0xff,0x6a,0x00,0x01,0x01,0x53,0xff,0x6a,0x00,0x01, +0x01,0x53,0xff,0x6a,0x00,0x01,0x02,0x5b,0xff,0x6a,0x00,0x01,0x02,0x5b,0xff,0x6a, +0x00,0x01,0x01,0x53,0xff,0x6a,0x00,0x01,0x01,0x53,0xff,0x6a,0x00,0x01,0x02,0x8a, +0xfd,0xa8,0x00,0x01,0x02,0xd7,0xfd,0xa8,0x00,0x01,0x02,0x58,0xff,0x9c,0x00,0x01, +0x01,0xee,0xff,0x9c,0x00,0x01,0x02,0x8a,0xfd,0xa8,0x00,0x01,0x02,0xd7,0xfd,0xa8, +0x00,0x01,0x02,0x58,0xff,0x9c,0x00,0x01,0x01,0xee,0xff,0x9c,0x00,0x01,0x03,0x20, +0xff,0x38,0x00,0x01,0x03,0x20,0xff,0x38,0x00,0x01,0x01,0xf4,0xff,0x6a,0x00,0x01, +0x02,0x06,0xff,0x6a,0x00,0x01,0x02,0xbc,0xfd,0xda,0x00,0x01,0x02,0xbc,0xfd,0xa8, +0x00,0x01,0x01,0xf4,0xff,0x6a,0x00,0x01,0x02,0x06,0xff,0x6a,0x00,0x01,0x03,0x20, +0xff,0x38,0x00,0x01,0x03,0x20,0xff,0x38,0x00,0x01,0x01,0x2c,0xff,0x6a,0x00,0x01, +0x01,0x2c,0xff,0x6a,0x00,0x01,0x02,0xbc,0xfe,0x3e,0x00,0x01,0x02,0xbc,0xfe,0x3e, +0x00,0x01,0x01,0x53,0xff,0x9c,0x00,0x01,0x01,0x53,0xff,0x9c,0x00,0x01,0x00,0xf0, +0xfd,0xa8,0x00,0x01,0x00,0xf0,0xfd,0xa8,0x00,0x01,0x02,0x26,0xff,0x6a,0x00,0x01, +0x02,0x26,0xff,0x6a,0x00,0x01,0x02,0xee,0xfe,0x3e,0x00,0x01,0x02,0xee,0xfd,0xa8, +0x00,0x01,0x01,0x2b,0xff,0x9c,0x00,0x01,0x01,0x2b,0xff,0x9c,0x00,0x01,0x01,0xf4, +0xff,0x6a,0x00,0x01,0x01,0xf4,0xff,0x6a,0x00,0x01,0x01,0xc2,0xff,0x6a,0x00,0x01, +0x01,0xf4,0xfd,0xa8,0x00,0x01,0x01,0xf4,0xfe,0x3e,0x00,0x01,0x01,0xf4,0xfe,0x0c, +0x00,0x01,0x02,0xbc,0xfe,0x70,0x00,0x01,0x02,0xbc,0xfe,0x70,0x00,0x01,0x02,0xbc, +0xfd,0xda,0x00,0x01,0x02,0xbc,0xfd,0xda,0x00,0x01,0x01,0x2b,0xfe,0xa2,0x00,0x01, +0x01,0x2b,0xfe,0xa2,0x00,0x01,0x03,0x84,0xff,0x6a,0x00,0x01,0x01,0x2b,0xff,0x9c, +0x00,0x01,0x01,0x2b,0xff,0x9c,0x00,0x01,0x03,0x20,0xff,0x38,0x00,0x01,0x01,0xf4, +0xff,0x6a,0x00,0x01,0x02,0x06,0xff,0x6a,0x00,0x01,0x02,0xbc,0xfd,0x99,0x00,0x01, +0x01,0xf4,0xff,0x6a,0x00,0x01,0x02,0x06,0xff,0x6a,0x00,0x01,0x01,0x2b,0xff,0x9c, +0x00,0x01,0x01,0x2b,0xff,0x9c,0x00,0x01,0x03,0x84,0xfe,0x5e,0x00,0x01,0x01,0x2b, +0xfe,0xc2,0x00,0x01,0x01,0x2b,0xfe,0xc2,0x00,0x01,0x03,0x84,0xff,0x6a,0x00,0x01, +0x01,0x2b,0xff,0x9c,0x00,0x01,0x01,0x2b,0xff,0x9c,0x00,0x01,0x03,0x2c,0xfd,0xa8, +0x00,0x01,0x02,0x58,0xff,0x9c,0x00,0x01,0x02,0x58,0xff,0x9c,0x00,0x01,0x03,0x2c, +0xfd,0xa8,0x00,0x01,0x02,0x58,0xff,0x9c,0x00,0x01,0x02,0x58,0xff,0x9c,0x00,0x01, +0x03,0x2c,0xfd,0xa8,0x00,0x01,0x02,0x58,0xff,0x9c,0x00,0x01,0x02,0x58,0xff,0x9c, +0x00,0x01,0x03,0x2c,0xfd,0xa8,0x00,0x01,0x02,0x58,0xfe,0x0c,0x00,0x01,0x02,0x58, +0xfe,0x0c,0x00,0x02,0x00,0x06,0x04,0xdb,0x04,0xfe,0x00,0x00,0x05,0x18,0x05,0x19, +0x00,0x24,0x05,0x1b,0x05,0x33,0x00,0x26,0x0b,0x16,0x0b,0xdd,0x00,0x3f,0x0b,0xfa, +0x0c,0x04,0x01,0x07,0x0c,0x06,0x0c,0x17,0x01,0x12,0x00,0x01,0x00,0x03,0x05,0x01, +0x05,0x04,0x05,0x09,0x00,0x03,0x00,0x00,0x00,0x0e,0x00,0x00,0x00,0x14,0x00,0x00, +0x00,0x1a,0x00,0x01,0x02,0x00,0x00,0x00,0x00,0x01,0x02,0x00,0x00,0x00,0x00,0x01, +0x02,0x00,0x00,0x00,0x00,0x01,0x00,0xb8,0x00,0xae,0x00,0x01,0x00,0xc2,0x00,0x0c, +0x00,0x08,0x00,0x12,0x00,0x24,0x00,0x36,0x00,0x48,0x00,0x5a,0x00,0x6c,0x00,0x7e, +0x00,0x90,0x00,0x02,0x00,0x06,0x00,0x0c,0x00,0x01,0x03,0x63,0xff,0x9c,0x00,0x01, +0x00,0xc8,0xff,0x6a,0x00,0x02,0x00,0x06,0x00,0x0c,0x00,0x01,0x03,0x63,0xff,0x9c, +0x00,0x01,0x00,0xc8,0xff,0x6a,0x00,0x02,0x00,0x06,0x00,0x0c,0x00,0x01,0x03,0x63, +0xff,0x9c,0x00,0x01,0x00,0xc8,0xff,0x6a,0x00,0x02,0x00,0x06,0x00,0x0c,0x00,0x01, +0x03,0x63,0xff,0x9c,0x00,0x01,0x00,0xc8,0xff,0x6a,0x00,0x02,0x00,0x06,0x00,0x0c, +0x00,0x01,0x03,0x63,0xff,0x9c,0x00,0x01,0x00,0xc8,0xfd,0xda,0x00,0x02,0x00,0x06, +0x00,0x0c,0x00,0x01,0x03,0x63,0xff,0x9c,0x00,0x01,0x00,0xc8,0xfd,0xda,0x00,0x02, +0x00,0x06,0x00,0x0c,0x00,0x01,0x03,0x63,0xff,0x9c,0x00,0x01,0x00,0xc8,0xff,0x6a, +0x00,0x02,0x00,0x06,0x00,0x0c,0x00,0x01,0x03,0x63,0xff,0x9c,0x00,0x01,0x00,0xc8, +0xff,0x6a,0x00,0x02,0x00,0x01,0x0b,0xde,0x0b,0xe5,0x00,0x00,0x00,0x01,0x00,0x03, +0x05,0x01,0x05,0x04,0x05,0x09,0x00,0x03,0x00,0x00,0x00,0x0e,0x00,0x00,0x00,0x14, +0x00,0x00,0x00,0x1a,0x00,0x01,0x02,0x00,0x00,0x00,0x00,0x01,0x02,0x00,0x00,0x00, +0x00,0x01,0x02,0x00,0x00,0x00,0x00,0x01,0x09,0x56,0x09,0x2e,0x00,0x01,0x09,0x6c, +0x00,0x0c,0x01,0x24,0x02,0x4a,0x02,0x50,0x02,0x56,0x02,0x5c,0x02,0x62,0x02,0x68, +0x02,0x6e,0x02,0x74,0x02,0x7a,0x02,0x80,0x02,0x86,0x02,0x8c,0x02,0x92,0x02,0x98, +0x02,0x9e,0x02,0xa4,0x02,0xaa,0x02,0xb0,0x02,0xb6,0x02,0xbc,0x02,0xc2,0x02,0xc8, +0x02,0xce,0x02,0xd4,0x02,0xda,0x02,0xe0,0x02,0xe6,0x02,0xec,0x02,0xf2,0x02,0xf8, +0x02,0xfe,0x03,0x04,0x03,0x0a,0x03,0x10,0x03,0x16,0x03,0x1c,0x03,0x22,0x03,0x28, +0x03,0x2e,0x03,0x34,0x03,0x3a,0x03,0x40,0x03,0x46,0x03,0x4c,0x03,0x52,0x03,0x58, +0x03,0x5e,0x03,0x64,0x03,0x6a,0x03,0x70,0x03,0x76,0x03,0x7c,0x03,0x82,0x03,0x88, +0x03,0x8e,0x03,0x94,0x03,0x9a,0x03,0xa0,0x03,0xa6,0x03,0xac,0x03,0xb2,0x03,0xb8, +0x03,0xbe,0x03,0xc4,0x03,0xca,0x03,0xd0,0x03,0xd6,0x03,0xdc,0x03,0xe2,0x03,0xe8, +0x03,0xee,0x03,0xf4,0x03,0xfa,0x04,0x00,0x04,0x06,0x04,0x0c,0x04,0x12,0x04,0x18, +0x04,0x1e,0x04,0x24,0x04,0x2a,0x04,0x30,0x04,0x36,0x04,0x3c,0x04,0x42,0x04,0x48, +0x04,0x4e,0x04,0x54,0x04,0x5a,0x04,0x60,0x04,0x66,0x04,0x6c,0x04,0x72,0x04,0x78, +0x04,0x7e,0x04,0x84,0x04,0x8a,0x04,0x90,0x04,0x96,0x04,0x9c,0x04,0xa2,0x04,0xa8, +0x04,0xae,0x04,0xb4,0x04,0xba,0x04,0xc0,0x04,0xc6,0x04,0xcc,0x04,0xd2,0x04,0xd8, +0x04,0xde,0x04,0xe4,0x04,0xea,0x04,0xf0,0x04,0xf6,0x04,0xfc,0x05,0x02,0x05,0x08, +0x05,0x0e,0x05,0x14,0x05,0x1a,0x05,0x20,0x05,0x26,0x05,0x2c,0x05,0x32,0x05,0x38, +0x05,0x3e,0x05,0x44,0x05,0x4a,0x05,0x50,0x05,0x56,0x05,0x5c,0x05,0x62,0x05,0x68, +0x05,0x6e,0x05,0x74,0x05,0x7a,0x05,0x80,0x05,0x86,0x05,0x8c,0x05,0x92,0x05,0x98, +0x05,0x9e,0x05,0xa4,0x05,0xaa,0x05,0xb0,0x05,0xb6,0x05,0xbc,0x05,0xc2,0x05,0xc8, +0x05,0xce,0x05,0xd4,0x05,0xda,0x05,0xe0,0x05,0xe6,0x05,0xec,0x05,0xf2,0x05,0xf8, +0x05,0xfe,0x06,0x04,0x06,0x0a,0x06,0x10,0x06,0x16,0x06,0x1c,0x06,0x22,0x06,0x28, +0x06,0x2e,0x06,0x34,0x06,0x3a,0x06,0x40,0x06,0x46,0x06,0x4c,0x06,0x52,0x06,0x58, +0x06,0x5e,0x06,0x64,0x06,0x6a,0x06,0x70,0x06,0x76,0x06,0x7c,0x06,0x82,0x06,0x88, +0x06,0x8e,0x06,0x94,0x06,0x9a,0x06,0xa0,0x06,0xa6,0x06,0xac,0x06,0xb2,0x06,0xb8, +0x06,0xbe,0x06,0xc4,0x06,0xca,0x06,0xd0,0x06,0xd6,0x06,0xdc,0x06,0xe2,0x06,0xe8, +0x06,0xee,0x06,0xf4,0x06,0xfa,0x07,0x00,0x07,0x06,0x07,0x0c,0x07,0x12,0x07,0x18, +0x07,0x1e,0x07,0x24,0x07,0x2a,0x07,0x30,0x07,0x36,0x07,0x3c,0x07,0x42,0x07,0x48, +0x07,0x4e,0x07,0x54,0x07,0x5a,0x07,0x60,0x07,0x66,0x07,0x6c,0x07,0x72,0x07,0x78, +0x07,0x7e,0x07,0x84,0x07,0x8a,0x07,0x90,0x07,0x96,0x07,0x9c,0x07,0xa2,0x07,0xa8, +0x07,0xae,0x07,0xb4,0x07,0xba,0x07,0xc0,0x07,0xc6,0x07,0xcc,0x07,0xd2,0x07,0xd8, +0x07,0xde,0x07,0xe4,0x07,0xea,0x07,0xf0,0x07,0xf6,0x07,0xfc,0x08,0x02,0x08,0x08, +0x08,0x0e,0x08,0x14,0x08,0x1a,0x08,0x20,0x08,0x26,0x08,0x2c,0x08,0x32,0x08,0x38, +0x08,0x3e,0x08,0x44,0x08,0x4a,0x08,0x50,0x08,0x56,0x08,0x5c,0x08,0x62,0x08,0x68, +0x08,0x6e,0x08,0x74,0x08,0x7a,0x08,0x80,0x08,0x86,0x08,0x8c,0x08,0x92,0x08,0x98, +0x08,0x9e,0x08,0xa4,0x08,0xaa,0x08,0xb0,0x08,0xb6,0x08,0xbc,0x08,0xc2,0x08,0xc8, +0x08,0xce,0x08,0xd4,0x08,0xda,0x08,0xe0,0x08,0xe6,0x08,0xec,0x08,0xf2,0x08,0xf8, +0x08,0xfe,0x09,0x04,0x09,0x0a,0x09,0x10,0x09,0x16,0x09,0x1c,0x00,0x01,0x01,0x1d, +0x07,0x9e,0x00,0x01,0x01,0x1d,0x08,0x34,0x00,0x01,0x01,0xc2,0x06,0x72,0x00,0x01, +0x01,0x1d,0x06,0x72,0x00,0x01,0x01,0xf4,0x05,0x14,0x00,0x01,0x01,0x1d,0x06,0x72, +0x00,0x01,0x03,0x84,0x03,0xe8,0x00,0x01,0x01,0xc2,0x04,0x4c,0x00,0x01,0x03,0x84, +0x03,0x52,0x00,0x01,0x03,0x84,0x04,0x4c,0x00,0x01,0x02,0x8a,0x03,0xe8,0x00,0x01, +0x02,0x8a,0x03,0xe8,0x00,0x01,0x02,0x8a,0x04,0xe2,0x00,0x01,0x01,0x90,0x03,0xe8, +0x00,0x01,0x01,0x90,0x04,0xe2,0x00,0x01,0x02,0xbc,0x02,0xee,0x00,0x01,0x02,0xbc, +0x03,0xe8,0x00,0x01,0x02,0x58,0x03,0x20,0x00,0x01,0x02,0x58,0x03,0x20,0x00,0x01, +0x02,0x58,0x03,0x20,0x00,0x01,0x02,0x58,0x03,0x20,0x00,0x01,0x02,0x5b,0x06,0x72, +0x00,0x01,0x02,0x5b,0x06,0x72,0x00,0x01,0x01,0xc2,0x04,0x7e,0x00,0x01,0x01,0xc2, +0x05,0x78,0x00,0x01,0x01,0x2c,0x04,0xb0,0x00,0x01,0x02,0xbc,0x04,0x4c,0x00,0x01, +0x01,0xf4,0x04,0x4c,0x00,0x01,0x02,0xbc,0x05,0xdc,0x00,0x01,0x02,0x8a,0x05,0x14, +0x00,0x01,0x02,0x8a,0x03,0xb6,0x00,0x01,0x02,0x8a,0x03,0xe8,0x00,0x01,0x01,0xc2, +0x03,0x52,0x00,0x01,0x01,0xf4,0x04,0x4c,0x00,0x01,0x01,0xf4,0x02,0xee,0x00,0x01, +0x01,0xf4,0x02,0xee,0x00,0x01,0x03,0x84,0x03,0xe8,0x00,0x01,0x01,0xf4,0x04,0x4c, +0x00,0x01,0x03,0x84,0x04,0xe2,0x00,0x01,0x03,0x84,0x04,0x4c,0x00,0x01,0x03,0x84, +0x03,0xe8,0x00,0x01,0x03,0x84,0x03,0x52,0x00,0x01,0x03,0x84,0x03,0xe8,0x00,0x01, +0x03,0x84,0x03,0xe8,0x00,0x01,0x03,0x84,0x04,0x4c,0x00,0x01,0x03,0x84,0x03,0xe8, +0x00,0x01,0x02,0x8a,0x06,0x0e,0x00,0x01,0x02,0x8a,0x05,0xdc,0x00,0x01,0x02,0x8a, +0x03,0xe8,0x00,0x01,0x02,0x8a,0x03,0xe8,0x00,0x01,0x02,0x8a,0x05,0xdc,0x00,0x01, +0x02,0x8a,0x03,0xe8,0x00,0x01,0x02,0x8a,0x03,0xe8,0x00,0x01,0x02,0xbc,0x05,0x78, +0x00,0x01,0x02,0xbc,0x04,0xe2,0x00,0x01,0x02,0xbc,0x04,0x4c,0x00,0x01,0x02,0xbc, +0x04,0x4c,0x00,0x01,0x02,0xbc,0x04,0x4c,0x00,0x01,0x01,0xf4,0x05,0x78,0x00,0x01, +0x01,0xf4,0x05,0x78,0x00,0x01,0x02,0x8a,0x02,0xee,0x00,0x01,0x02,0x8a,0x04,0xe2, +0x00,0x01,0x01,0xf4,0x02,0xee,0x00,0x01,0x03,0x84,0x03,0xe8,0x00,0x01,0x03,0x84, +0x03,0xe8,0x00,0x01,0x01,0x2b,0x03,0xe8,0x00,0x01,0x01,0x2b,0x03,0xe8,0x00,0x01, +0x03,0x84,0x03,0xe8,0x00,0x01,0x03,0x84,0x03,0xe8,0x00,0x01,0x01,0x2b,0x03,0xe8, +0x00,0x01,0x01,0x2b,0x03,0xe8,0x00,0x01,0x03,0x84,0x03,0xe8,0x00,0x01,0x03,0x84, +0x03,0xe8,0x00,0x01,0x01,0x2b,0x03,0xe8,0x00,0x01,0x01,0x2b,0x03,0xe8,0x00,0x01, +0x03,0x84,0x04,0x4c,0x00,0x01,0x03,0x84,0x04,0x4c,0x00,0x01,0x01,0x2b,0x05,0x14, +0x00,0x01,0x01,0x2b,0x05,0x14,0x00,0x01,0x03,0x84,0x04,0x4c,0x00,0x01,0x03,0x84, +0x04,0x4c,0x00,0x01,0x01,0x2b,0x05,0x14,0x00,0x01,0x01,0x2b,0x05,0x14,0x00,0x01, +0x03,0x84,0x04,0xe2,0x00,0x01,0x03,0x84,0x04,0xe2,0x00,0x01,0x01,0x2b,0x05,0xaa, +0x00,0x01,0x01,0x2b,0x05,0xaa,0x00,0x01,0x02,0xbc,0x04,0x4c,0x00,0x01,0x02,0xbc, +0x04,0x4c,0x00,0x01,0x01,0xf4,0x06,0x40,0x00,0x01,0x02,0x06,0x05,0xaa,0x00,0x01, +0x02,0xbc,0x04,0x4c,0x00,0x01,0x02,0xbc,0x04,0x4c,0x00,0x01,0x01,0xf4,0x06,0x40, +0x00,0x01,0x02,0x06,0x05,0xaa,0x00,0x01,0x02,0x8a,0x03,0xe8,0x00,0x01,0x02,0x8a, +0x03,0xe8,0x00,0x01,0x02,0x58,0x03,0xe8,0x00,0x01,0x02,0x58,0x03,0xe8,0x00,0x01, +0x02,0x8a,0x03,0xe8,0x00,0x01,0x02,0x8a,0x03,0xe8,0x00,0x01,0x02,0x58,0x03,0xe8, +0x00,0x01,0x02,0x58,0x03,0xe8,0x00,0x01,0x02,0x8a,0x03,0xe8,0x00,0x01,0x02,0x8a, +0x03,0xe8,0x00,0x01,0x02,0x58,0x03,0xe8,0x00,0x01,0x02,0x58,0x03,0xe8,0x00,0x01, +0x02,0x8a,0x03,0xe8,0x00,0x01,0x02,0x8a,0x03,0xe8,0x00,0x01,0x02,0x58,0x03,0xe8, +0x00,0x01,0x02,0x58,0x03,0xe8,0x00,0x01,0x02,0xbc,0x04,0xe2,0x00,0x01,0x02,0xbc, +0x04,0xe2,0x00,0x01,0x02,0xbc,0x05,0x78,0x00,0x01,0x02,0xbc,0x05,0x78,0x00,0x01, +0x01,0xf4,0x05,0x78,0x00,0x01,0x01,0xf4,0x05,0x78,0x00,0x01,0x00,0xfa,0x06,0x0e, +0x00,0x01,0x00,0xfa,0x06,0x0e,0x00,0x01,0x01,0xf4,0x05,0x78,0x00,0x01,0x01,0xf4, +0x05,0x78,0x00,0x01,0x00,0xfa,0x06,0xa4,0x00,0x01,0x00,0xfa,0x06,0xa4,0x00,0x01, +0x02,0x8a,0x02,0xee,0x00,0x01,0x02,0x8a,0x02,0x8a,0x00,0x01,0x01,0x2b,0x03,0xe8, +0x00,0x01,0x01,0x2b,0x03,0xe8,0x00,0x01,0x01,0xf4,0x02,0xee,0x00,0x01,0x02,0x58, +0x02,0x56,0x00,0x01,0x01,0x2b,0x03,0xe8,0x00,0x01,0x01,0x2b,0x03,0xe8,0x00,0x01, +0x01,0x2c,0x06,0xa4,0x00,0x01,0x01,0x2c,0x06,0xa4,0x00,0x01,0x01,0x2c,0x07,0x3a, +0x00,0x01,0x00,0xc5,0x04,0xb0,0x00,0x01,0x01,0x2c,0x04,0xb0,0x00,0x01,0x01,0x2c, +0x05,0xdc,0x00,0x01,0x01,0x2c,0x05,0xdc,0x00,0x01,0x01,0x2c,0x07,0x3a,0x00,0x01, +0x01,0x2c,0x07,0x3a,0x00,0x01,0x01,0x2c,0x04,0xb0,0x00,0x01,0x01,0x2c,0x04,0xb0, +0x00,0x01,0x01,0x2c,0x07,0x08,0x00,0x01,0x01,0x2c,0x07,0x08,0x00,0x01,0x01,0x2c, +0x07,0x3a,0x00,0x01,0x01,0x2c,0x07,0x3a,0x00,0x01,0x01,0xc2,0x04,0x4c,0x00,0x01, +0x01,0x1d,0x07,0xd0,0x00,0x01,0x01,0x1d,0x07,0xd0,0x00,0x01,0x01,0x1d,0x08,0x98, +0x00,0x01,0x01,0x1d,0x08,0x98,0x00,0x01,0x01,0xc2,0x06,0x72,0x00,0x01,0x01,0xc2, +0x04,0xe2,0x00,0x01,0x01,0x1d,0x06,0x72,0x00,0x01,0x01,0x1d,0x06,0x72,0x00,0x01, +0x01,0xf4,0x05,0x14,0x00,0x01,0x02,0x58,0x04,0x1a,0x00,0x01,0x01,0x2b,0x05,0x46, +0x00,0x01,0x01,0x2b,0x05,0x46,0x00,0x01,0x01,0x1d,0x06,0x72,0x00,0x01,0x01,0x1d, +0x06,0x72,0x00,0x01,0x03,0x84,0x03,0xe8,0x00,0x01,0x03,0x84,0x03,0xe8,0x00,0x01, +0x01,0x2b,0x03,0xe8,0x00,0x01,0x01,0x2b,0x03,0xe8,0x00,0x01,0x01,0xc2,0x04,0x4c, +0x00,0x01,0x02,0x26,0x04,0x4c,0x00,0x01,0x03,0x84,0x03,0x52,0x00,0x01,0x03,0x84, +0x03,0x52,0x00,0x01,0x01,0x2b,0x04,0x1a,0x00,0x01,0x01,0x2b,0x04,0x1a,0x00,0x01, +0x03,0x84,0x04,0x4c,0x00,0x01,0x03,0x84,0x04,0x4c,0x00,0x01,0x01,0x2b,0x05,0x14, +0x00,0x01,0x01,0x2b,0x05,0x14,0x00,0x01,0x02,0x8a,0x03,0xe8,0x00,0x01,0x02,0x8a, +0x03,0xe8,0x00,0x01,0x02,0x58,0x03,0xe8,0x00,0x01,0x02,0x58,0x03,0xe8,0x00,0x01, +0x02,0x8a,0x03,0xe8,0x00,0x01,0x02,0x8a,0x03,0xe8,0x00,0x01,0x02,0x58,0x03,0xe8, +0x00,0x01,0x02,0x58,0x03,0xe8,0x00,0x01,0x02,0x8a,0x04,0xe2,0x00,0x01,0x02,0x8a, +0x04,0xe2,0x00,0x01,0x02,0x58,0x04,0x7e,0x00,0x01,0x02,0x58,0x04,0x7e,0x00,0x01, +0x01,0x90,0x03,0xe8,0x00,0x01,0x01,0x90,0x03,0xe8,0x00,0x01,0x01,0x90,0x04,0xe2, +0x00,0x01,0x01,0x90,0x04,0xe2,0x00,0x01,0x02,0xbc,0x02,0xee,0x00,0x01,0x02,0xbc, +0x02,0xee,0x00,0x01,0x02,0xbc,0x03,0xe8,0x00,0x01,0x02,0xbc,0x03,0xe8,0x00,0x01, +0x02,0x58,0x03,0x20,0x00,0x01,0x02,0x58,0x03,0x20,0x00,0x01,0x02,0x8a,0x03,0x84, +0x00,0x01,0x02,0x8a,0x03,0x84,0x00,0x01,0x02,0x58,0x03,0x20,0x00,0x01,0x02,0x58, +0x03,0x20,0x00,0x01,0x03,0x52,0x04,0xe2,0x00,0x01,0x03,0x52,0x04,0xe2,0x00,0x01, +0x02,0x58,0x03,0x20,0x00,0x01,0x02,0x58,0x03,0x20,0x00,0x01,0x02,0x26,0x03,0x20, +0x00,0x01,0x02,0x26,0x03,0x20,0x00,0x01,0x02,0x58,0x03,0x20,0x00,0x01,0x02,0x58, +0x03,0x20,0x00,0x01,0x02,0x26,0x03,0xe8,0x00,0x01,0x02,0x26,0x03,0xe8,0x00,0x01, +0x02,0x5b,0x06,0x72,0x00,0x01,0x02,0x5b,0x06,0x72,0x00,0x01,0x01,0x53,0x06,0x72, +0x00,0x01,0x01,0x53,0x06,0x72,0x00,0x01,0x02,0x5b,0x06,0x72,0x00,0x01,0x02,0x5b, +0x06,0x72,0x00,0x01,0x01,0x53,0x06,0x72,0x00,0x01,0x01,0x53,0x06,0x72,0x00,0x01, +0x01,0xc2,0x04,0x7e,0x00,0x01,0x01,0xf4,0x03,0xe8,0x00,0x01,0x01,0xc2,0x04,0x7e, +0x00,0x01,0x01,0xee,0x03,0xe8,0x00,0x01,0x01,0xc2,0x05,0x78,0x00,0x01,0x01,0xf4, +0x04,0x7e,0x00,0x01,0x01,0xc2,0x05,0x78,0x00,0x01,0x01,0xee,0x04,0x7e,0x00,0x01, +0x02,0xbc,0x04,0x4c,0x00,0x01,0x02,0xbc,0x04,0x4c,0x00,0x01,0x01,0xf4,0x05,0x46, +0x00,0x01,0x02,0x06,0x04,0xb0,0x00,0x01,0x01,0xf4,0x04,0x4c,0x00,0x01,0x01,0xf4, +0x03,0x52,0x00,0x01,0x01,0xf4,0x05,0x46,0x00,0x01,0x02,0x06,0x04,0xb0,0x00,0x01, +0x02,0xbc,0x05,0xdc,0x00,0x01,0x02,0xbc,0x05,0xdc,0x00,0x01,0x00,0xfa,0x06,0x0e, +0x00,0x01,0x00,0xfa,0x06,0x0e,0x00,0x01,0x02,0x8a,0x05,0x14,0x00,0x01,0x02,0x8a, +0x05,0x14,0x00,0x01,0x01,0x53,0x06,0x72,0x00,0x01,0x01,0x53,0x06,0x72,0x00,0x01, +0x02,0x8a,0x03,0xb6,0x00,0x01,0x02,0x8a,0x03,0x52,0x00,0x01,0x02,0x26,0x03,0x52, +0x00,0x01,0x02,0x26,0x03,0x52,0x00,0x01,0x02,0x8a,0x03,0xe8,0x00,0x01,0x02,0x8a, +0x02,0xee,0x00,0x01,0x01,0x2b,0x04,0x1a,0x00,0x01,0x01,0x2b,0x04,0x1a,0x00,0x01, +0x01,0xc2,0x03,0x52,0x00,0x01,0x02,0x26,0x03,0x52,0x00,0x01,0x01,0xf4,0x04,0x4c, +0x00,0x01,0x01,0xf4,0x03,0x20,0x00,0x01,0x01,0xf4,0x04,0x4c,0x00,0x01,0x01,0xf4, +0x02,0xee,0x00,0x01,0x01,0xf4,0x02,0xee,0x00,0x01,0x02,0x58,0x02,0x56,0x00,0x01, +0x01,0xf4,0x02,0xee,0x00,0x01,0x02,0x58,0x02,0xee,0x00,0x01,0x01,0x2b,0x03,0xe8, +0x00,0x01,0x01,0x2b,0x03,0xe8,0x00,0x01,0x03,0x84,0x03,0xe8,0x00,0x01,0x01,0x2b, +0x03,0xe8,0x00,0x01,0x01,0x2b,0x03,0xe8,0x00,0x01,0x02,0xbc,0x04,0x4c,0x00,0x01, +0x01,0xf4,0x04,0x4c,0x00,0x01,0x02,0x06,0x03,0xb6,0x00,0x01,0x01,0xf4,0x03,0x52, +0x00,0x01,0x01,0xf4,0x04,0x4c,0x00,0x01,0x02,0x06,0x03,0xb6,0x00,0x01,0x01,0x2b, +0x04,0x1a,0x00,0x01,0x01,0x2b,0x04,0x1a,0x00,0x01,0x03,0x84,0x03,0x52,0x00,0x01, +0x01,0x2b,0x04,0x1a,0x00,0x01,0x01,0x2b,0x04,0x1a,0x00,0x01,0x03,0x84,0x03,0xe8, +0x00,0x01,0x01,0x2b,0x05,0x14,0x00,0x01,0x01,0x2b,0x05,0x14,0x00,0x01,0x02,0x8a, +0x06,0x0e,0x00,0x01,0x02,0x58,0x05,0xaa,0x00,0x01,0x02,0x58,0x05,0xaa,0x00,0x01, +0x02,0x8a,0x05,0xdc,0x00,0x01,0x02,0x58,0x05,0x78,0x00,0x01,0x02,0x58,0x05,0x78, +0x00,0x01,0x02,0x8a,0x05,0xdc,0x00,0x01,0x02,0x58,0x05,0x78,0x00,0x01,0x02,0x58, +0x05,0x78,0x00,0x01,0x02,0x8a,0x04,0xe2,0x00,0x01,0x02,0x58,0x04,0x7e,0x00,0x01, +0x02,0x58,0x04,0x7e,0x00,0x02,0x00,0x06,0x04,0xdb,0x04,0xfe,0x00,0x00,0x05,0x18, +0x05,0x19,0x00,0x24,0x05,0x1b,0x05,0x33,0x00,0x26,0x0b,0x16,0x0b,0xdd,0x00,0x3f, +0x0b,0xfa,0x0c,0x04,0x01,0x07,0x0c,0x06,0x0c,0x17,0x01,0x12,0x00,0x01,0x00,0x09, +0x04,0xd7,0x04,0xff,0x05,0x00,0x05,0x02,0x05,0x03,0x05,0x05,0x05,0x06,0x05,0x07, +0x05,0x08,0x00,0x09,0x00,0x00,0x00,0x26,0x00,0x00,0x00,0x2c,0x00,0x00,0x00,0x32, +0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x3e,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x4a, +0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x56,0x00,0x01,0x02,0x00,0x04,0xb0,0x00,0x01, +0x02,0x00,0x04,0xb0,0x00,0x01,0x02,0x00,0x04,0xb0,0x00,0x01,0x02,0x00,0x04,0xb0, +0x00,0x01,0x02,0x00,0x04,0xb0,0x00,0x01,0x02,0x00,0x04,0xb0,0x00,0x01,0x02,0x00, +0x04,0xb0,0x00,0x01,0x02,0x00,0x04,0xb0,0x00,0x01,0x02,0x00,0x04,0xb0,0x00,0x01, +0x00,0xb8,0x00,0xae,0x00,0x01,0x00,0xce,0x00,0x0c,0x00,0x08,0x00,0x12,0x00,0x24, +0x00,0x36,0x00,0x48,0x00,0x5a,0x00,0x6c,0x00,0x7e,0x00,0x90,0x00,0x02,0x00,0x06, +0x00,0x0c,0x00,0x01,0x03,0x63,0x06,0x72,0x00,0x01,0x00,0x96,0x07,0x08,0x00,0x02, +0x00,0x06,0x00,0x0c,0x00,0x01,0x03,0x63,0x06,0x72,0x00,0x01,0x00,0x96,0x07,0x08, +0x00,0x02,0x00,0x06,0x00,0x0c,0x00,0x01,0x03,0x63,0x06,0x72,0x00,0x01,0x00,0x96, +0x07,0xe4,0x00,0x02,0x00,0x06,0x00,0x0c,0x00,0x01,0x03,0x63,0x06,0x72,0x00,0x01, +0x00,0x96,0x07,0xe4,0x00,0x02,0x00,0x06,0x00,0x0c,0x00,0x01,0x03,0x63,0x06,0x72, +0x00,0x01,0x00,0x96,0x05,0xdc,0x00,0x02,0x00,0x06,0x00,0x0c,0x00,0x01,0x03,0x63, +0x06,0x72,0x00,0x01,0x00,0x96,0x05,0xdc,0x00,0x02,0x00,0x06,0x00,0x0c,0x00,0x01, +0x03,0x63,0x06,0x72,0x00,0x01,0x00,0x96,0x05,0xdc,0x00,0x02,0x00,0x06,0x00,0x0c, +0x00,0x01,0x03,0x63,0x06,0x72,0x00,0x01,0x00,0x96,0x05,0xdc,0x00,0x02,0x00,0x01, +0x0b,0xde,0x0b,0xe5,0x00,0x00,0x00,0x01,0x00,0x09,0x04,0xd7,0x04,0xff,0x05,0x00, +0x05,0x02,0x05,0x03,0x05,0x05,0x05,0x06,0x05,0x07,0x05,0x08,0x00,0x09,0x00,0x00, +0x00,0x26,0x00,0x00,0x00,0x2c,0x00,0x00,0x00,0x32,0x00,0x00,0x00,0x38,0x00,0x00, +0x00,0x3e,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x4a,0x00,0x00,0x00,0x50,0x00,0x00, +0x00,0x56,0x00,0x01,0x02,0x00,0x04,0xb0,0x00,0x01,0x02,0x00,0x04,0xb0,0x00,0x01, +0x02,0x00,0x04,0xb0,0x00,0x01,0x02,0x00,0x04,0xb0,0x00,0x01,0x02,0x00,0x04,0xb0, +0x00,0x01,0x02,0x00,0x04,0xb0,0x00,0x01,0x02,0x00,0x04,0xb0,0x00,0x01,0x02,0x00, +0x04,0xb0,0x00,0x01,0x02,0x00,0x04,0xb0,0x00,0x01,0x00,0x1c,0x00,0x16,0x00,0x01, +0x00,0x56,0x00,0x0c,0x00,0x01,0x00,0x04,0x00,0x01,0x03,0x5e,0x04,0x7b,0x00,0x01, +0x00,0x01,0x03,0x4e,0x00,0x02,0x00,0x09,0x02,0xa3,0x02,0xb4,0x00,0x00,0x02,0xe0, +0x02,0xe0,0x00,0x12,0x02,0xe2,0x02,0xe5,0x00,0x13,0x02,0xe7,0x02,0xe7,0x00,0x17, +0x02,0xe9,0x02,0xe9,0x00,0x18,0x02,0xed,0x02,0xef,0x00,0x19,0x02,0xf2,0x02,0xf3, +0x00,0x1c,0x02,0xf5,0x02,0xf5,0x00,0x1e,0x0b,0xe9,0x0b,0xf3,0x00,0x1f,0x00,0x2a, +0x00,0x00,0x00,0xaa,0x00,0x00,0x00,0xb0,0x00,0x00,0x00,0xb6,0x00,0x00,0x00,0xbc, +0x00,0x00,0x00,0xc2,0x00,0x00,0x00,0xc8,0x00,0x00,0x00,0xce,0x00,0x00,0x00,0xd4, +0x00,0x00,0x00,0xda,0x00,0x00,0x00,0xe0,0x00,0x00,0x00,0xe6,0x00,0x00,0x00,0xec, +0x00,0x00,0x00,0xf2,0x00,0x00,0x00,0xf8,0x00,0x00,0x00,0xfe,0x00,0x00,0x01,0x04, +0x00,0x00,0x01,0x0a,0x00,0x00,0x01,0x10,0x00,0x00,0x01,0x16,0x00,0x00,0x01,0x1c, +0x00,0x00,0x01,0x22,0x00,0x00,0x01,0x28,0x00,0x00,0x01,0x2e,0x00,0x00,0x01,0x34, +0x00,0x00,0x01,0x3a,0x00,0x00,0x01,0x40,0x00,0x00,0x01,0x46,0x00,0x00,0x01,0x4c, +0x00,0x00,0x01,0x52,0x00,0x00,0x01,0x58,0x00,0x00,0x01,0x5e,0x00,0x00,0x01,0x64, +0x00,0x00,0x01,0x6a,0x00,0x00,0x01,0x70,0x00,0x00,0x01,0x76,0x00,0x00,0x01,0x7c, +0x00,0x00,0x01,0x82,0x00,0x00,0x01,0x88,0x00,0x00,0x01,0x8e,0x00,0x00,0x01,0x94, +0x00,0x00,0x01,0x9a,0x00,0x00,0x01,0xa0,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01, +0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0xb0, +0x00,0x01,0xfe,0x00,0x05,0x02,0x00,0x01,0xfe,0x00,0x05,0x02,0x00,0x01,0xfe,0x00, +0x05,0x02,0x00,0x01,0xfe,0x00,0x05,0x02,0x00,0x01,0xfe,0x00,0x05,0x02,0x00,0x01, +0xfe,0x00,0x06,0xc5,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b, +0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00, +0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x05,0x02,0x00,0x01, +0xfe,0x00,0x05,0x02,0x00,0x01,0xfe,0x00,0x05,0x02,0x00,0x01,0xfe,0x00,0x05,0x02, +0x00,0x01,0xfe,0x00,0x06,0x68,0x00,0x01,0xfe,0x00,0x06,0x68,0x00,0x01,0xfe,0x00, +0x04,0xb0,0x00,0x01,0xfe,0x00,0x07,0xd0,0x00,0x01,0xfe,0x00,0x06,0x44,0x00,0x01, +0xfe,0x00,0x05,0x02,0x00,0x01,0xfe,0x00,0x07,0x04,0x00,0x01,0xfe,0x00,0x07,0x04, +0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x06,0xda,0x00,0x01,0xfe,0x00, +0x04,0x7b,0x00,0x01,0xfe,0x00,0x05,0xf8,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01, +0xfe,0x00,0x05,0xf8,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x05,0xf8, +0x00,0x01,0xfe,0x00,0x05,0xf8,0x00,0x01,0xfe,0x00,0x05,0xf8,0x00,0x01,0xfe,0x00, +0x05,0xf8,0x00,0x01,0xfe,0x00,0x05,0xf8,0x00,0x01,0xfe,0x00,0x05,0xf8,0x00,0x01, +0xfe,0x00,0x05,0xf8,0x00,0x01,0x01,0x94,0x01,0x4e,0x00,0x01,0x01,0xce,0x00,0x0c, +0x00,0x28,0x00,0x52,0x00,0x58,0x00,0x5e,0x00,0x64,0x00,0x6a,0x00,0x70,0x00,0x76, +0x00,0x7c,0x00,0x82,0x00,0x88,0x00,0x8e,0x00,0x94,0x00,0x9a,0x00,0xa0,0x00,0xa6, +0x00,0xac,0x00,0xb2,0x00,0xb8,0x00,0xbe,0x00,0xc4,0x00,0xca,0x00,0xd0,0x00,0xd6, +0x00,0xdc,0x00,0xe2,0x00,0xe8,0x00,0xee,0x00,0xf4,0x00,0xfa,0x01,0x00,0x01,0x06, +0x01,0x0c,0x01,0x12,0x01,0x18,0x01,0x1e,0x01,0x24,0x01,0x2a,0x01,0x30,0x01,0x36, +0x01,0x3c,0x00,0x01,0xfe,0x00,0x06,0x68,0x00,0x01,0xfe,0x00,0x06,0x68,0x00,0x01, +0xfe,0x00,0x06,0x68,0x00,0x01,0xfe,0x00,0x06,0x3d,0x00,0x01,0xfe,0x00,0x06,0x14, +0x00,0x01,0xfe,0x00,0x06,0x14,0x00,0x01,0xfe,0x00,0x06,0x44,0x00,0x01,0xfe,0x00, +0x06,0x14,0x00,0x01,0xfe,0x00,0x06,0x14,0x00,0x01,0xfe,0x00,0x06,0xc5,0x00,0x01, +0xfe,0x00,0x07,0x04,0x00,0x01,0xfe,0x00,0x06,0x68,0x00,0x01,0xfe,0x00,0x06,0x68, +0x00,0x01,0xfe,0x00,0x06,0xa8,0x00,0x01,0xfe,0x00,0x06,0xa8,0x00,0x01,0xfe,0x00, +0x06,0x68,0x00,0x01,0xfe,0x00,0x06,0xda,0x00,0x01,0xfe,0x00,0x06,0x44,0x00,0x01, +0xfe,0x00,0x06,0x93,0x00,0x01,0xfe,0x00,0x06,0x14,0x00,0x01,0xfe,0x00,0x06,0x68, +0x00,0x01,0xfe,0x00,0x06,0x68,0x00,0x01,0xfe,0x00,0x06,0x3d,0x00,0x01,0xfe,0x00, +0x07,0xd0,0x00,0x01,0xfe,0x00,0x06,0x44,0x00,0x01,0xfe,0x00,0x06,0x44,0x00,0x01, +0xfe,0x00,0x07,0x04,0x00,0x01,0xfe,0x00,0x07,0x04,0x00,0x01,0xfe,0x00,0x07,0x04, +0x00,0x01,0xfe,0x00,0x06,0xda,0x00,0x01,0xfe,0x00,0x07,0x04,0x00,0x01,0xfe,0x00, +0x05,0xf8,0x00,0x01,0xfe,0x00,0x05,0xf8,0x00,0x01,0xfe,0x00,0x05,0xf8,0x00,0x01, +0xfe,0x00,0x05,0xf8,0x00,0x01,0xfe,0x00,0x05,0xf8,0x00,0x01,0xfe,0x00,0x05,0xf8, +0x00,0x01,0xfe,0x00,0x05,0xf8,0x00,0x01,0xfe,0x00,0x05,0xf8,0x00,0x01,0xfe,0x00, +0x05,0xf8,0x00,0x02,0x00,0x0b,0x02,0xa3,0x02,0xb4,0x00,0x00,0x02,0xe0,0x02,0xe0, +0x00,0x12,0x02,0xe2,0x02,0xe5,0x00,0x13,0x02,0xe7,0x02,0xe7,0x00,0x17,0x02,0xe9, +0x02,0xe9,0x00,0x18,0x02,0xed,0x02,0xef,0x00,0x19,0x02,0xf2,0x02,0xf3,0x00,0x1c, +0x02,0xf5,0x02,0xf5,0x00,0x1e,0x0b,0xe9,0x0b,0xe9,0x00,0x1f,0x0b,0xeb,0x0b,0xeb, +0x00,0x20,0x0b,0xed,0x0b,0xf3,0x00,0x21,0x00,0x02,0x00,0x09,0x02,0xa3,0x02,0xb4, +0x00,0x00,0x02,0xe0,0x02,0xe0,0x00,0x12,0x02,0xe2,0x02,0xe5,0x00,0x13,0x02,0xe7, +0x02,0xe7,0x00,0x17,0x02,0xe9,0x02,0xe9,0x00,0x18,0x02,0xed,0x02,0xef,0x00,0x19, +0x02,0xf2,0x02,0xf3,0x00,0x1c,0x02,0xf5,0x02,0xf5,0x00,0x1e,0x0b,0xe9,0x0b,0xf3, +0x00,0x1f,0x00,0x2a,0x00,0x00,0x00,0xaa,0x00,0x00,0x00,0xb0,0x00,0x00,0x00,0xb6, +0x00,0x00,0x00,0xbc,0x00,0x00,0x00,0xc2,0x00,0x00,0x00,0xc8,0x00,0x00,0x00,0xce, +0x00,0x00,0x00,0xd4,0x00,0x00,0x00,0xda,0x00,0x00,0x00,0xe0,0x00,0x00,0x00,0xe6, +0x00,0x00,0x00,0xec,0x00,0x00,0x00,0xf2,0x00,0x00,0x00,0xf8,0x00,0x00,0x00,0xfe, +0x00,0x00,0x01,0x04,0x00,0x00,0x01,0x0a,0x00,0x00,0x01,0x10,0x00,0x00,0x01,0x16, +0x00,0x00,0x01,0x1c,0x00,0x00,0x01,0x22,0x00,0x00,0x01,0x28,0x00,0x00,0x01,0x2e, +0x00,0x00,0x01,0x34,0x00,0x00,0x01,0x3a,0x00,0x00,0x01,0x40,0x00,0x00,0x01,0x46, +0x00,0x00,0x01,0x4c,0x00,0x00,0x01,0x52,0x00,0x00,0x01,0x58,0x00,0x00,0x01,0x5e, +0x00,0x00,0x01,0x64,0x00,0x00,0x01,0x6a,0x00,0x00,0x01,0x70,0x00,0x00,0x01,0x76, +0x00,0x00,0x01,0x7c,0x00,0x00,0x01,0x82,0x00,0x00,0x01,0x88,0x00,0x00,0x01,0x8e, +0x00,0x00,0x01,0x94,0x00,0x00,0x01,0x9a,0x00,0x00,0x01,0xa0,0x00,0x01,0xfe,0x00, +0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01, +0xfe,0x00,0x04,0xb0,0x00,0x01,0xfe,0x00,0x05,0x02,0x00,0x01,0xfe,0x00,0x05,0x02, +0x00,0x01,0xfe,0x00,0x05,0x02,0x00,0x01,0xfe,0x00,0x05,0x02,0x00,0x01,0xfe,0x00, +0x05,0x02,0x00,0x01,0xfe,0x00,0x06,0xc5,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01, +0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b, +0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00, +0x05,0x02,0x00,0x01,0xfe,0x00,0x05,0x02,0x00,0x01,0xfe,0x00,0x05,0x02,0x00,0x01, +0xfe,0x00,0x05,0x02,0x00,0x01,0xfe,0x00,0x06,0x68,0x00,0x01,0xfe,0x00,0x06,0x68, +0x00,0x01,0xfe,0x00,0x04,0xb0,0x00,0x01,0xfe,0x00,0x07,0xd0,0x00,0x01,0xfe,0x00, +0x06,0x44,0x00,0x01,0xfe,0x00,0x05,0x02,0x00,0x01,0xfe,0x00,0x07,0x04,0x00,0x01, +0xfe,0x00,0x07,0x04,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x06,0xda, +0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01,0xfe,0x00,0x05,0xf8,0x00,0x01,0xfe,0x00, +0x04,0x7b,0x00,0x01,0xfe,0x00,0x05,0xf8,0x00,0x01,0xfe,0x00,0x04,0x7b,0x00,0x01, +0xfe,0x00,0x05,0xf8,0x00,0x01,0xfe,0x00,0x05,0xf8,0x00,0x01,0xfe,0x00,0x05,0xf8, +0x00,0x01,0xfe,0x00,0x05,0xf8,0x00,0x01,0xfe,0x00,0x05,0xf8,0x00,0x01,0xfe,0x00, +0x05,0xf8,0x00,0x01,0xfe,0x00,0x05,0xf8,0x00,0x01,0x00,0x6c,0x00,0x56,0x00,0x01, +0x00,0x82,0x00,0x0c,0x00,0x09,0x00,0x14,0x00,0x1a,0x00,0x20,0x00,0x26,0x00,0x2c, +0x00,0x32,0x00,0x38,0x00,0x3e,0x00,0x44,0x00,0x01,0x02,0x00,0x07,0x3a,0x00,0x01, +0x02,0x00,0x06,0xa4,0x00,0x01,0x02,0x00,0x07,0x3a,0x00,0x01,0x02,0x00,0x05,0xdc, +0x00,0x01,0x02,0x00,0x07,0x3a,0x00,0x01,0x02,0x00,0x07,0x08,0x00,0x01,0x02,0x00, +0x07,0x3a,0x00,0x01,0x02,0x00,0x05,0xdc,0x00,0x01,0x02,0x00,0x06,0xa4,0x00,0x01, +0x00,0x09,0x04,0xd7,0x04,0xff,0x05,0x00,0x05,0x02,0x05,0x03,0x05,0x05,0x05,0x06, +0x05,0x07,0x05,0x08,0x00,0x01,0x00,0x09,0x04,0xd7,0x04,0xff,0x05,0x00,0x05,0x02, +0x05,0x03,0x05,0x05,0x05,0x06,0x05,0x07,0x05,0x08,0x00,0x09,0x00,0x00,0x00,0x26, +0x00,0x00,0x00,0x2c,0x00,0x00,0x00,0x32,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x3e, +0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x4a,0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x56, +0x00,0x01,0x02,0x00,0x04,0xb0,0x00,0x01,0x02,0x00,0x04,0xb0,0x00,0x01,0x02,0x00, +0x04,0xb0,0x00,0x01,0x02,0x00,0x04,0xb0,0x00,0x01,0x02,0x00,0x04,0xb0,0x00,0x01, +0x02,0x00,0x04,0xb0,0x00,0x01,0x02,0x00,0x04,0xb0,0x00,0x01,0x02,0x00,0x04,0xb0, +0x00,0x01,0x02,0x00,0x04,0xb0,0x00,0x01,0x00,0x30,0x00,0x26,0x00,0x01,0x00,0x3a, +0x00,0x0c,0x00,0x03,0x00,0x08,0x00,0x0e,0x00,0x14,0x00,0x01,0x02,0x00,0xfe,0x0c, +0x00,0x01,0x02,0x00,0xfe,0xd4,0x00,0x01,0x02,0x00,0xfd,0xf3,0x00,0x01,0x00,0x03, +0x05,0x01,0x05,0x04,0x05,0x09,0x00,0x01,0x00,0x03,0x05,0x01,0x05,0x04,0x05,0x09, +0x00,0x03,0x00,0x00,0x00,0x0e,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0x1a,0x00,0x01, +0x02,0x00,0x00,0x00,0x00,0x01,0x02,0x00,0x00,0x00,0x00,0x01,0x02,0x00,0x00,0x00, +0x00,0x01,0x00,0x00,0x00,0x0a,0x00,0xa6,0x01,0x82,0x00,0x06,0x44,0x46,0x4c,0x54, +0x00,0x26,0x61,0x72,0x61,0x62,0x00,0x34,0x61,0x72,0x6d,0x6e,0x00,0x48,0x63,0x79, +0x72,0x6c,0x00,0x54,0x67,0x72,0x65,0x6b,0x00,0x64,0x6c,0x61,0x74,0x6e,0x00,0x78, +0x00,0x04,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x02,0x00,0x06,0x00,0x09,0x00,0x04, +0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x05,0x00,0x05,0x00,0x08,0x00,0x0a,0x00,0x0e, +0x00,0x0f,0x00,0x04,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x01,0x00,0x0b,0x00,0x04, +0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x03,0x00,0x02,0x00,0x04,0x00,0x0c,0x00,0x04, +0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x05,0x00,0x00,0x00,0x02,0x00,0x04,0x00,0x0c, +0x00,0x10,0x00,0x0a,0x00,0x01,0x44,0x4e,0x4b,0x20,0x00,0x1c,0x00,0x00,0xff,0xff, +0x00,0x06,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x07,0x00,0x0c,0x00,0x11,0x00,0x00, +0xff,0xff,0x00,0x01,0x00,0x0d,0x00,0x12,0x61,0x61,0x6c,0x74,0x00,0x6e,0x61,0x61, +0x6c,0x74,0x00,0x74,0x63,0x63,0x6d,0x70,0x00,0x7a,0x64,0x6c,0x69,0x67,0x00,0x80, +0x64,0x6c,0x69,0x67,0x00,0x88,0x66,0x69,0x6e,0x61,0x00,0x8e,0x66,0x72,0x61,0x63, +0x00,0x94,0x68,0x6c,0x69,0x67,0x00,0x9a,0x69,0x6e,0x69,0x74,0x00,0xa0,0x6c,0x69, +0x67,0x61,0x00,0xa6,0x6c,0x69,0x67,0x61,0x00,0xac,0x6c,0x69,0x67,0x61,0x00,0xb2, +0x6c,0x69,0x67,0x61,0x00,0xb8,0x6c,0x6f,0x63,0x6c,0x00,0xbe,0x6d,0x65,0x64,0x69, +0x00,0xc4,0x72,0x6c,0x69,0x67,0x00,0xca,0x73,0x61,0x6c,0x74,0x00,0xd0,0x73,0x61, +0x6c,0x74,0x00,0xd6,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x00,0x00,0x01,0x00,0x03, +0x00,0x00,0x00,0x01,0x00,0x04,0x00,0x00,0x00,0x02,0x00,0x05,0x00,0x06,0x00,0x00, +0x00,0x01,0x00,0x06,0x00,0x00,0x00,0x01,0x00,0x07,0x00,0x00,0x00,0x01,0x00,0x08, +0x00,0x00,0x00,0x01,0x00,0x09,0x00,0x00,0x00,0x01,0x00,0x0a,0x00,0x00,0x00,0x01, +0x00,0x0b,0x00,0x00,0x00,0x01,0x00,0x0c,0x00,0x00,0x00,0x01,0x00,0x0d,0x00,0x00, +0x00,0x01,0x00,0x0e,0x00,0x00,0x00,0x01,0x00,0x0f,0x00,0x00,0x00,0x01,0x00,0x10, +0x00,0x00,0x00,0x01,0x00,0x11,0x00,0x00,0x00,0x01,0x00,0x12,0x00,0x00,0x00,0x01, +0x00,0x13,0x00,0x14,0x00,0x2a,0x00,0x32,0x00,0x3a,0x00,0x42,0x00,0x4a,0x00,0x52, +0x00,0x5a,0x00,0x62,0x00,0x6a,0x00,0x72,0x00,0x7a,0x00,0x82,0x00,0x8a,0x00,0x92, +0x00,0x9a,0x00,0xa2,0x00,0xaa,0x00,0xb2,0x00,0xba,0x00,0xc2,0x00,0x01,0x00,0x00, +0x00,0x01,0x0d,0x92,0x00,0x01,0x00,0x00,0x00,0x01,0x0d,0xa4,0x00,0x01,0x00,0x00, +0x00,0x01,0x0d,0x5c,0x00,0x01,0x00,0x00,0x00,0x01,0x0d,0x0a,0x00,0x06,0x00,0x00, +0x00,0x01,0x00,0x80,0x00,0x04,0x00,0x00,0x00,0x01,0x0b,0x56,0x00,0x04,0x00,0x00, +0x00,0x01,0x0b,0x16,0x00,0x01,0x00,0x09,0x00,0x01,0x02,0xc4,0x00,0x04,0x00,0x00, +0x00,0x01,0x0b,0x78,0x00,0x04,0x00,0x00,0x00,0x01,0x0b,0x1e,0x00,0x01,0x00,0x09, +0x00,0x01,0x03,0xec,0x00,0x04,0x00,0x00,0x00,0x01,0x09,0xa0,0x00,0x04,0x00,0x01, +0x00,0x01,0x08,0x9c,0x00,0x04,0x00,0x00,0x00,0x01,0x08,0x48,0x00,0x04,0x00,0x00, +0x00,0x01,0x04,0x94,0x00,0x01,0x00,0x00,0x00,0x01,0x02,0x78,0x00,0x01,0x00,0x09, +0x00,0x01,0x03,0x1a,0x00,0x04,0x00,0x01,0x00,0x01,0x04,0x56,0x00,0x01,0x00,0x00, +0x00,0x01,0x0c,0xb6,0x00,0x01,0x00,0x00,0x00,0x01,0x0c,0x9c,0x00,0x02,0x00,0x14, +0x00,0x3c,0x00,0x3c,0x00,0x3c,0x00,0x04,0x00,0x00,0x02,0x2c,0x02,0x3e,0x00,0x00, +0x00,0x02,0x00,0x06,0x00,0x4c,0x00,0x4d,0x00,0x00,0x02,0x1c,0x02,0x1c,0x00,0x02, +0x02,0x51,0x02,0x51,0x00,0x03,0x02,0xa3,0x02,0xab,0x00,0x04,0x02,0xad,0x02,0xb7, +0x00,0x0d,0x02,0xe0,0x02,0xe1,0x00,0x18,0x00,0x02,0x00,0x52,0x00,0x24,0x00,0x3d, +0x00,0x03,0x00,0x49,0x00,0x49,0x00,0x03,0x00,0x4b,0x00,0x4b,0x00,0x03,0x00,0x4c, +0x00,0x4d,0x00,0x01,0x00,0x4f,0x00,0x4f,0x00,0x03,0x00,0x82,0x00,0x98,0x00,0x03, +0x00,0x9a,0x00,0xa1,0x00,0x03,0x00,0xc2,0x00,0xc2,0x00,0x03,0x00,0xc4,0x00,0xc4, +0x00,0x03,0x00,0xc6,0x00,0xc6,0x00,0x03,0x00,0xc8,0x00,0xc8,0x00,0x03,0x00,0xca, +0x00,0xca,0x00,0x03,0x00,0xcc,0x00,0xcc,0x00,0x03,0x00,0xce,0x00,0xce,0x00,0x03, +0x00,0xd0,0x00,0xd0,0x00,0x03,0x00,0xd2,0x00,0xd2,0x00,0x03,0x00,0xd4,0x00,0xd4, +0x00,0x03,0x00,0xd6,0x00,0xd6,0x00,0x03,0x00,0xd8,0x00,0xd8,0x00,0x03,0x00,0xda, +0x00,0xda,0x00,0x03,0x00,0xdc,0x00,0xdc,0x00,0x03,0x00,0xde,0x00,0xde,0x00,0x03, +0x00,0xe0,0x00,0xe0,0x00,0x03,0x00,0xe2,0x00,0xe2,0x00,0x03,0x00,0xe4,0x00,0xe4, +0x00,0x03,0x00,0xe6,0x00,0xea,0x00,0x03,0x00,0xec,0x00,0xec,0x00,0x03,0x00,0xee, +0x00,0xee,0x00,0x03,0x00,0xf0,0x00,0xf0,0x00,0x03,0x00,0xf2,0x00,0xf2,0x00,0x03, +0x00,0xf4,0x00,0xf4,0x00,0x03,0x00,0xf6,0x00,0xf6,0x00,0x03,0x00,0xf8,0x00,0xf8, +0x00,0x03,0x00,0xfb,0x01,0x05,0x00,0x03,0x01,0x07,0x01,0x07,0x00,0x03,0x01,0x09, +0x01,0x09,0x00,0x03,0x01,0x0c,0x01,0x0c,0x00,0x03,0x01,0x0e,0x01,0x0e,0x00,0x03, +0x01,0x10,0x01,0x10,0x00,0x03,0x01,0x12,0x01,0x12,0x00,0x03,0x01,0x14,0x01,0x14, +0x00,0x03,0x01,0x16,0x01,0x16,0x00,0x03,0x01,0x18,0x01,0x18,0x00,0x03,0x01,0x1a, +0x01,0x1a,0x00,0x03,0x01,0x1c,0x01,0x1c,0x00,0x03,0x01,0x1e,0x01,0x1e,0x00,0x03, +0x01,0x20,0x01,0x20,0x00,0x03,0x01,0x22,0x01,0x22,0x00,0x03,0x01,0x24,0x01,0x24, +0x00,0x03,0x01,0x26,0x01,0x26,0x00,0x03,0x01,0x28,0x01,0x28,0x00,0x03,0x01,0x2a, +0x01,0x2a,0x00,0x03,0x01,0x2c,0x01,0x2c,0x00,0x03,0x01,0x2e,0x01,0x2e,0x00,0x03, +0x01,0x30,0x01,0x30,0x00,0x03,0x01,0x32,0x01,0x32,0x00,0x03,0x01,0x34,0x01,0x34, +0x00,0x03,0x01,0x36,0x01,0x36,0x00,0x03,0x01,0x38,0x01,0x38,0x00,0x03,0x01,0x3a, +0x01,0x3b,0x00,0x03,0x01,0x3d,0x01,0x3d,0x00,0x03,0x01,0x3f,0x01,0x3f,0x00,0x03, +0x01,0x41,0x01,0x41,0x00,0x03,0x01,0x48,0x01,0x48,0x00,0x03,0x01,0x52,0x01,0x52, +0x00,0x03,0x01,0x54,0x01,0x54,0x00,0x03,0x01,0x56,0x01,0x56,0x00,0x03,0x01,0x8f, +0x01,0x8f,0x00,0x03,0x01,0x91,0x01,0x93,0x00,0x03,0x01,0x95,0x01,0x95,0x00,0x03, +0x01,0xa4,0x01,0xa4,0x00,0x03,0x01,0xac,0x01,0xac,0x00,0x03,0x01,0xae,0x01,0xae, +0x00,0x03,0x01,0xda,0x01,0xda,0x00,0x03,0x01,0xdc,0x01,0xdc,0x00,0x03,0x01,0xf0, +0x01,0xf0,0x00,0x03,0x01,0xf4,0x01,0xf4,0x00,0x03,0x02,0x1c,0x02,0x1c,0x00,0x01, +0x02,0x51,0x02,0x51,0x00,0x01,0x02,0xa3,0x02,0xab,0x00,0x02,0x02,0xad,0x02,0xb7, +0x00,0x02,0x02,0xe0,0x02,0xe1,0x00,0x02,0x00,0x01,0x00,0x04,0x00,0x00,0x00,0x01, +0x00,0x01,0x00,0x02,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x04,0x00,0x01, +0x00,0x03,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x01,0x00,0x06, +0x0b,0x0d,0x00,0x01,0x00,0x01,0x01,0x0c,0x00,0x02,0x00,0x82,0x00,0x3e,0x0b,0x6b, +0x0b,0x6d,0x0b,0x6f,0x0b,0x71,0x0b,0x73,0x0b,0x77,0x0b,0x79,0x0b,0x7d,0x0b,0x7f, +0x0b,0x83,0x0b,0x87,0x0b,0x8b,0x0b,0x8f,0x0b,0x93,0x0b,0x95,0x0b,0x97,0x0b,0x99, +0x0b,0x9b,0x0b,0x9f,0x0b,0xa3,0x0b,0xa7,0x0b,0xab,0x0b,0xaf,0x0b,0xb3,0x0b,0xb7, +0x0b,0xbb,0x0b,0xbf,0x0b,0xc3,0x0b,0xc7,0x0b,0xcb,0x0b,0xcf,0x0b,0xd3,0x0b,0xd7, +0x0b,0xd9,0x0b,0xdb,0x0b,0xfa,0x0c,0x00,0x0b,0x2b,0x0b,0x23,0x0b,0x17,0x0c,0x06, +0x0c,0x09,0x0b,0x1b,0x0b,0x27,0x0b,0x1f,0x0c,0x0c,0x0c,0x0f,0x0b,0x3b,0x0b,0x37, +0x0c,0x12,0x0b,0x3f,0x0b,0x43,0x0b,0x49,0x0b,0x47,0x0b,0xfd,0x0b,0x2f,0x0b,0x33, +0x0b,0x4b,0x0b,0x4f,0x0b,0x53,0x0c,0x15,0x0b,0x57,0x00,0x02,0x00,0x04,0x04,0xdb, +0x04,0xf3,0x00,0x00,0x04,0xf5,0x04,0xfe,0x00,0x19,0x05,0x18,0x05,0x19,0x00,0x23, +0x05,0x1b,0x05,0x33,0x00,0x25,0x00,0x02,0x00,0x68,0x00,0x31,0x0b,0x75,0x0b,0x7b, +0x0b,0x81,0x0b,0x85,0x0b,0x89,0x0b,0x8d,0x0b,0x91,0x0b,0x9d,0x0b,0xa1,0x0b,0xa5, +0x0b,0xa9,0x0b,0xad,0x0b,0xb1,0x0b,0xb5,0x0b,0xb9,0x0b,0xbd,0x0b,0xc1,0x0b,0xc5, +0x0b,0xc9,0x0b,0xcd,0x0b,0xd1,0x0b,0xd5,0x0b,0x55,0x0b,0xdd,0x0b,0xfc,0x0c,0x02, +0x0b,0x2d,0x0b,0x25,0x0b,0x19,0x0c,0x08,0x0c,0x0b,0x0b,0x1d,0x0b,0x29,0x0b,0x21, +0x0c,0x0e,0x0c,0x11,0x0b,0x3d,0x0b,0x39,0x0c,0x14,0x0b,0x41,0x0b,0x45,0x0b,0xff, +0x0b,0x31,0x0b,0x35,0x0b,0x4d,0x0b,0x51,0x0c,0x04,0x0c,0x17,0x0b,0x59,0x00,0x02, +0x00,0x09,0x04,0xdf,0x04,0xdf,0x00,0x00,0x04,0xe1,0x04,0xe1,0x00,0x01,0x04,0xe3, +0x04,0xe7,0x00,0x02,0x04,0xec,0x04,0xf3,0x00,0x07,0x04,0xf5,0x04,0xfb,0x00,0x0f, +0x04,0xfd,0x04,0xfe,0x00,0x16,0x05,0x18,0x05,0x19,0x00,0x18,0x05,0x1b,0x05,0x29, +0x00,0x1a,0x05,0x2c,0x05,0x33,0x00,0x29,0x00,0x02,0x00,0x68,0x00,0x31,0x0b,0x74, +0x0b,0x7a,0x0b,0x80,0x0b,0x84,0x0b,0x88,0x0b,0x8c,0x0b,0x90,0x0b,0x9c,0x0b,0xa0, +0x0b,0xa4,0x0b,0xa8,0x0b,0xac,0x0b,0xb0,0x0b,0xb4,0x0b,0xb8,0x0b,0xbc,0x0b,0xc0, +0x0b,0xc4,0x0b,0xc8,0x0b,0xcc,0x0b,0xd0,0x0b,0xd4,0x0b,0x54,0x0b,0xdc,0x0b,0xfb, +0x0c,0x01,0x0b,0x2c,0x0b,0x24,0x0b,0x18,0x0c,0x07,0x0c,0x0a,0x0b,0x1c,0x0b,0x28, +0x0b,0x20,0x0c,0x0d,0x0c,0x10,0x0b,0x3c,0x0b,0x38,0x0c,0x13,0x0b,0x40,0x0b,0x44, +0x0b,0xfe,0x0b,0x30,0x0b,0x34,0x0b,0x4c,0x0b,0x50,0x0c,0x03,0x0c,0x16,0x0b,0x58, +0x00,0x02,0x00,0x09,0x04,0xdf,0x04,0xdf,0x00,0x00,0x04,0xe1,0x04,0xe1,0x00,0x01, +0x04,0xe3,0x04,0xe7,0x00,0x02,0x04,0xec,0x04,0xf3,0x00,0x07,0x04,0xf5,0x04,0xfb, +0x00,0x0f,0x04,0xfd,0x04,0xfe,0x00,0x16,0x05,0x18,0x05,0x19,0x00,0x18,0x05,0x1b, +0x05,0x29,0x00,0x1a,0x05,0x2c,0x05,0x33,0x00,0x29,0x00,0x01,0x00,0x1e,0x00,0x02, +0x00,0x0a,0x00,0x14,0x00,0x01,0x00,0x04,0x0b,0xe4,0x00,0x02,0x0b,0x77,0x00,0x01, +0x00,0x04,0x0b,0xe5,0x00,0x02,0x0b,0x77,0x00,0x01,0x00,0x02,0x0b,0xc8,0x0b,0xc9, +0x00,0x01,0x03,0x6a,0x00,0x1f,0x00,0x44,0x00,0x7e,0x00,0x98,0x00,0xa2,0x00,0xcc, +0x00,0xd6,0x01,0x08,0x01,0x22,0x01,0x34,0x01,0x66,0x01,0x78,0x01,0x8a,0x01,0x94, +0x01,0xc6,0x01,0xd8,0x01,0xe2,0x02,0x24,0x02,0x3e,0x02,0x48,0x02,0x52,0x02,0x5c, +0x02,0x86,0x02,0xa0,0x02,0xb2,0x02,0xe4,0x02,0xf6,0x03,0x08,0x03,0x12,0x03,0x44, +0x03,0x56,0x03,0x60,0x00,0x07,0x00,0x10,0x00,0x16,0x00,0x1c,0x00,0x22,0x00,0x28, +0x00,0x2e,0x00,0x34,0x01,0x8f,0x00,0x02,0x02,0xaf,0x00,0x87,0x00,0x02,0x02,0xad, +0x00,0x86,0x00,0x02,0x02,0xab,0x00,0x85,0x00,0x02,0x02,0xa6,0x00,0x84,0x00,0x02, +0x02,0xa5,0x00,0x83,0x00,0x02,0x02,0xa4,0x00,0x82,0x00,0x02,0x02,0xa3,0x00,0x03, +0x00,0x08,0x00,0x0e,0x00,0x14,0x00,0xce,0x00,0x02,0x02,0xaf,0x00,0xc8,0x00,0x02, +0x02,0xa4,0x00,0x89,0x00,0x02,0x02,0xca,0x00,0x01,0x00,0x04,0x00,0xd0,0x00,0x02, +0x02,0xaf,0x00,0x05,0x00,0x0c,0x00,0x12,0x00,0x18,0x00,0x1e,0x00,0x24,0x00,0xdc, +0x00,0x02,0x02,0xaf,0x00,0x8d,0x00,0x02,0x02,0xab,0x00,0x8c,0x00,0x02,0x02,0xa5, +0x00,0x8b,0x00,0x02,0x02,0xa4,0x00,0x8a,0x00,0x02,0x02,0xa3,0x00,0x01,0x00,0x04, +0x00,0xe0,0x00,0x02,0x02,0xa9,0x00,0x06,0x00,0x0e,0x00,0x14,0x00,0x1a,0x00,0x20, +0x00,0x26,0x00,0x2c,0x01,0x91,0x00,0x02,0x02,0xaf,0x00,0xf2,0x00,0x02,0x02,0xaa, +0x00,0x91,0x00,0x02,0x02,0xab,0x00,0x90,0x00,0x02,0x02,0xa5,0x00,0x8f,0x00,0x02, +0x02,0xa4,0x00,0x8e,0x00,0x02,0x02,0xa3,0x00,0x03,0x00,0x08,0x00,0x0e,0x00,0x14, +0x01,0x01,0x00,0x02,0x00,0x79,0x00,0xff,0x00,0x02,0x02,0xaf,0x00,0xfb,0x00,0x02, +0x02,0xa4,0x00,0x02,0x00,0x06,0x00,0x0c,0x01,0x09,0x00,0x02,0x02,0xaf,0x00,0x93, +0x00,0x02,0x02,0xa6,0x00,0x06,0x00,0x0e,0x00,0x14,0x00,0x1a,0x00,0x20,0x00,0x26, +0x00,0x2c,0x01,0x93,0x00,0x02,0x02,0xaf,0x00,0x98,0x00,0x02,0x02,0xab,0x00,0x97, +0x00,0x02,0x02,0xa6,0x00,0x96,0x00,0x02,0x02,0xa5,0x00,0x95,0x00,0x02,0x02,0xa4, +0x00,0x94,0x00,0x02,0x02,0xa3,0x00,0x02,0x00,0x06,0x00,0x0c,0x01,0x1a,0x00,0x02, +0x02,0xaf,0x01,0x16,0x00,0x02,0x02,0xa4,0x00,0x02,0x00,0x06,0x00,0x0c,0x01,0x22, +0x00,0x02,0x02,0xaf,0x01,0x20,0x00,0x02,0x02,0xca,0x00,0x01,0x00,0x04,0x01,0x26, +0x00,0x02,0x02,0xaf,0x00,0x06,0x00,0x0e,0x00,0x14,0x00,0x1a,0x00,0x20,0x00,0x26, +0x00,0x2c,0x01,0x95,0x00,0x02,0x02,0xaf,0x01,0x30,0x00,0x02,0x02,0xad,0x00,0x9e, +0x00,0x02,0x02,0xab,0x00,0x9d,0x00,0x02,0x02,0xa5,0x00,0x9c,0x00,0x02,0x02,0xa4, +0x00,0x9b,0x00,0x02,0x02,0xa3,0x00,0x02,0x00,0x06,0x00,0x0c,0x01,0x3a,0x00,0x02, +0x02,0xab,0x00,0x9f,0x00,0x02,0x02,0xa4,0x00,0x01,0x00,0x04,0x01,0x3f,0x00,0x02, +0x02,0xaf,0x00,0x08,0x00,0x12,0x00,0x18,0x00,0x1e,0x00,0x24,0x00,0x2a,0x00,0x30, +0x00,0x36,0x00,0x3c,0x06,0x21,0x00,0x02,0x02,0x72,0x01,0x90,0x00,0x02,0x02,0xaf, +0x00,0xa7,0x00,0x02,0x02,0xad,0x00,0xa6,0x00,0x02,0x02,0xab,0x00,0xa5,0x00,0x02, +0x02,0xa6,0x00,0xa4,0x00,0x02,0x02,0xa5,0x00,0xa3,0x00,0x02,0x02,0xa4,0x00,0xa2, +0x00,0x02,0x02,0xa3,0x00,0x03,0x00,0x08,0x00,0x0e,0x00,0x14,0x00,0xcf,0x00,0x02, +0x02,0xaf,0x00,0xc9,0x00,0x02,0x02,0xa4,0x00,0xa9,0x00,0x02,0x02,0xca,0x00,0x01, +0x00,0x04,0x00,0xd1,0x00,0x02,0x02,0xaf,0x00,0x01,0x00,0x04,0x00,0xdd,0x00,0x02, +0x02,0xaf,0x00,0x01,0x00,0x04,0x00,0xe1,0x00,0x02,0x02,0xa9,0x00,0x05,0x00,0x0c, +0x00,0x12,0x00,0x18,0x00,0x1e,0x00,0x24,0x01,0x92,0x00,0x02,0x02,0xaf,0x00,0xb1, +0x00,0x02,0x02,0xab,0x00,0xb0,0x00,0x02,0x02,0xa5,0x00,0xaf,0x00,0x02,0x02,0xa4, +0x00,0xae,0x00,0x02,0x02,0xa3,0x00,0x03,0x00,0x08,0x00,0x0e,0x00,0x14,0x01,0x02, +0x00,0x02,0x00,0x79,0x01,0x00,0x00,0x02,0x02,0xaf,0x00,0xfc,0x00,0x02,0x02,0xa4, +0x00,0x02,0x00,0x06,0x00,0x0c,0x01,0x0a,0x00,0x02,0x02,0xaf,0x00,0xb3,0x00,0x02, +0x02,0xa6,0x00,0x06,0x00,0x0e,0x00,0x14,0x00,0x1a,0x00,0x20,0x00,0x26,0x00,0x2c, +0x01,0x94,0x00,0x02,0x02,0xaf,0x00,0xb8,0x00,0x02,0x02,0xab,0x00,0xb7,0x00,0x02, +0x02,0xa6,0x00,0xb6,0x00,0x02,0x02,0xa5,0x00,0xb5,0x00,0x02,0x02,0xa4,0x00,0xb4, +0x00,0x02,0x02,0xa3,0x00,0x02,0x00,0x06,0x00,0x0c,0x01,0x1b,0x00,0x02,0x02,0xaf, +0x01,0x17,0x00,0x02,0x02,0xa4,0x00,0x02,0x00,0x06,0x00,0x0c,0x01,0x23,0x00,0x02, +0x02,0xaf,0x01,0x21,0x00,0x02,0x02,0xca,0x00,0x01,0x00,0x04,0x01,0x27,0x00,0x02, +0x02,0xaf,0x00,0x06,0x00,0x0e,0x00,0x14,0x00,0x1a,0x00,0x20,0x00,0x26,0x00,0x2c, +0x01,0x96,0x00,0x02,0x02,0xaf,0x01,0x31,0x00,0x02,0x02,0xad,0x00,0xbe,0x00,0x02, +0x02,0xab,0x00,0xbd,0x00,0x02,0x02,0xa5,0x00,0xbc,0x00,0x02,0x02,0xa4,0x00,0xbb, +0x00,0x02,0x02,0xa3,0x00,0x02,0x00,0x06,0x00,0x0c,0x00,0xc1,0x00,0x02,0x02,0xab, +0x00,0xbf,0x00,0x02,0x02,0xa4,0x00,0x01,0x00,0x04,0x01,0x40,0x00,0x02,0x02,0xaf, +0x00,0x01,0x00,0x04,0x01,0x0b,0x00,0x02,0x00,0x51,0x00,0x01,0x00,0x1f,0x00,0x24, +0x00,0x26,0x00,0x27,0x00,0x28,0x00,0x2a,0x00,0x2c,0x00,0x2f,0x00,0x31,0x00,0x32, +0x00,0x35,0x00,0x36,0x00,0x37,0x00,0x38,0x00,0x3c,0x00,0x3d,0x00,0x44,0x00,0x46, +0x00,0x47,0x00,0x48,0x00,0x4a,0x00,0x4c,0x00,0x4f,0x00,0x51,0x00,0x52,0x00,0x55, +0x00,0x56,0x00,0x57,0x00,0x58,0x00,0x5c,0x00,0x5d,0x02,0x70,0x00,0x01,0x00,0x42, +0x00,0x03,0x00,0x0c,0x00,0x16,0x00,0x38,0x00,0x01,0x00,0x04,0x04,0xd3,0x00,0x02, +0x04,0xce,0x00,0x04,0x00,0x0a,0x00,0x10,0x00,0x16,0x00,0x1c,0x0b,0x15,0x00,0x02, +0x04,0xb9,0x0b,0x13,0x00,0x02,0x04,0xb7,0x0b,0x12,0x00,0x02,0x04,0xb1,0x0b,0x11, +0x00,0x02,0x04,0xc2,0x00,0x01,0x00,0x04,0x0b,0x14,0x00,0x02,0x04,0xc2,0x00,0x01, +0x00,0x03,0x04,0xb1,0x04,0xc0,0x04,0xca,0x00,0x01,0x00,0xea,0x00,0x07,0x00,0x14, +0x00,0x56,0x00,0x70,0x00,0xa2,0x00,0xac,0x00,0xb6,0x00,0xd0,0x00,0x08,0x00,0x12, +0x00,0x18,0x00,0x1e,0x00,0x24,0x00,0x2a,0x00,0x30,0x00,0x36,0x00,0x3c,0x0b,0x67, +0x00,0x02,0x05,0x06,0x0b,0x65,0x00,0x02,0x05,0x05,0x0b,0x63,0x00,0x02,0x05,0x04, +0x0b,0x61,0x00,0x02,0x05,0x03,0x0b,0x5f,0x00,0x02,0x05,0x02,0x0b,0x5e,0x00,0x02, +0x05,0x01,0x0b,0x5c,0x00,0x02,0x05,0x00,0x0b,0x5a,0x00,0x02,0x04,0xff,0x00,0x03, +0x00,0x08,0x00,0x0e,0x00,0x14,0x04,0xde,0x00,0x02,0x05,0x09,0x04,0xdc,0x00,0x02, +0x05,0x08,0x04,0xdb,0x00,0x02,0x05,0x07,0x00,0x06,0x00,0x0e,0x00,0x14,0x00,0x1a, +0x00,0x20,0x00,0x26,0x00,0x2c,0x0b,0x68,0x00,0x02,0x05,0x06,0x0b,0x66,0x00,0x02, +0x05,0x05,0x0b,0x64,0x00,0x02,0x05,0x04,0x0b,0x62,0x00,0x02,0x05,0x03,0x0b,0x60, +0x00,0x02,0x05,0x02,0x0b,0x5b,0x00,0x02,0x04,0xff,0x00,0x01,0x00,0x04,0x04,0xdd, +0x00,0x02,0x05,0x08,0x00,0x01,0x00,0x04,0x04,0xdf,0x00,0x02,0x05,0x08,0x00,0x03, +0x00,0x08,0x00,0x0e,0x00,0x14,0x0b,0xe2,0x00,0x02,0x0b,0x71,0x0b,0xe0,0x00,0x02, +0x0b,0x6d,0x0b,0xde,0x00,0x02,0x0b,0x6b,0x00,0x03,0x00,0x08,0x00,0x0e,0x00,0x14, +0x0b,0xe3,0x00,0x02,0x0b,0x71,0x0b,0xe1,0x00,0x02,0x0b,0x6d,0x0b,0xdf,0x00,0x02, +0x0b,0x6b,0x00,0x01,0x00,0x07,0x00,0x03,0x04,0xe0,0x04,0xf4,0x04,0xfc,0x04,0xfe, +0x0b,0xc8,0x0b,0xc9,0x00,0x01,0x01,0x2e,0x00,0x0e,0x00,0x22,0x00,0x74,0x00,0x86, +0x00,0x92,0x00,0x9c,0x00,0xae,0x00,0xba,0x00,0xc4,0x00,0xce,0x00,0xda,0x00,0xe6, +0x00,0xfc,0x01,0x06,0x01,0x1a,0x00,0x0a,0x00,0x16,0x00,0x1c,0x00,0x22,0x00,0x28, +0x00,0x2e,0x00,0x34,0x00,0x3a,0x00,0x40,0x00,0x46,0x00,0x4c,0x02,0x91,0x00,0x02, +0x02,0xae,0x02,0x90,0x00,0x02,0x02,0xa6,0x02,0x8f,0x00,0x02,0x02,0xcb,0x02,0x8e, +0x00,0x02,0x02,0xad,0x02,0x8d,0x00,0x02,0x02,0xaa,0x02,0x8c,0x00,0x02,0x02,0xa9, +0x00,0x7a,0x00,0x02,0x02,0xca,0x00,0x76,0x00,0x02,0x02,0xa4,0x00,0x71,0x00,0x02, +0x02,0xa7,0x00,0x6a,0x00,0x02,0x02,0xab,0x00,0x02,0x00,0x06,0x00,0x0c,0x07,0xa2, +0x00,0x02,0x00,0x22,0x07,0x95,0x00,0x02,0x00,0x04,0x00,0x01,0x00,0x04,0x07,0x87, +0x00,0x03,0x00,0x11,0x00,0x11,0x00,0x01,0x00,0x04,0x08,0xc8,0x00,0x02,0x02,0xdb, +0x00,0x02,0x00,0x06,0x00,0x0c,0x07,0xa1,0x00,0x02,0x00,0x04,0x07,0xa0,0x00,0x02, +0x00,0x22,0x00,0x01,0x00,0x04,0x08,0x03,0x00,0x03,0x00,0x24,0x00,0x3b,0x00,0x01, +0x00,0x04,0x07,0xdd,0x00,0x02,0x00,0x56,0x00,0x01,0x00,0x04,0x07,0xf8,0x00,0x02, +0x00,0x30,0x00,0x01,0x00,0x04,0x07,0xf9,0x00,0x03,0x00,0x28,0x00,0x2f,0x00,0x01, +0x00,0x04,0x07,0xe8,0x00,0x03,0x00,0x12,0x00,0x46,0x00,0x02,0x00,0x06,0x00,0x0e, +0x07,0xec,0x00,0x03,0x00,0x12,0x00,0x58,0x07,0xeb,0x00,0x03,0x00,0x12,0x00,0x52, +0x00,0x01,0x00,0x04,0x07,0xed,0x00,0x02,0x00,0x29,0x00,0x02,0x00,0x06,0x00,0x0e, +0x07,0x8d,0x00,0x03,0x07,0x8b,0x07,0x8b,0x07,0x8c,0x00,0x02,0x07,0x8b,0x00,0x02, +0x00,0x06,0x00,0x0e,0x07,0x90,0x00,0x03,0x07,0x8e,0x07,0x8e,0x07,0x8f,0x00,0x02, +0x07,0x8e,0x00,0x01,0x00,0x0e,0x00,0x03,0x00,0x04,0x00,0x11,0x00,0x20,0x00,0x22, +0x00,0x29,0x00,0x35,0x00,0x36,0x00,0x37,0x00,0x44,0x00,0x46,0x00,0x72,0x07,0x8b, +0x07,0x8e,0x00,0x01,0x00,0x1a,0x00,0x01,0x00,0x08,0x00,0x02,0x00,0x06,0x00,0x0c, +0x0b,0x0c,0x00,0x02,0x00,0x4f,0x0b,0x0b,0x00,0x02,0x00,0x4c,0x00,0x01,0x00,0x01, +0x00,0x49,0x00,0x01,0x00,0x12,0x00,0x01,0x00,0x08,0x00,0x01,0x00,0x04,0x0b,0x0f, +0x00,0x02,0x00,0x57,0x00,0x01,0x00,0x01,0x01,0x41,0x00,0x01,0x00,0x32,0x00,0x02, +0x00,0x0a,0x00,0x28,0x00,0x03,0x00,0x08,0x00,0x10,0x00,0x18,0x0b,0x0e,0x00,0x03, +0x00,0x49,0x00,0x4f,0x0b,0x0d,0x00,0x03,0x00,0x49,0x00,0x4c,0x0b,0x0a,0x00,0x02, +0x00,0x49,0x00,0x01,0x00,0x04,0x0b,0x10,0x00,0x02,0x00,0x57,0x00,0x01,0x00,0x02, +0x00,0x49,0x00,0x56,0x00,0x01,0x01,0x5a,0x00,0x06,0x00,0x12,0x00,0x9c,0x00,0xc6, +0x01,0x04,0x01,0x1a,0x01,0x44,0x00,0x0e,0x00,0x1e,0x00,0x26,0x00,0x2e,0x00,0x36, +0x00,0x3e,0x00,0x46,0x00,0x4e,0x00,0x56,0x00,0x5e,0x00,0x66,0x00,0x6e,0x00,0x76, +0x00,0x7e,0x00,0x84,0x08,0x0d,0x00,0x03,0x07,0x9d,0x00,0x1b,0x08,0x0d,0x00,0x03, +0x00,0x12,0x00,0x1b,0x08,0x0b,0x00,0x03,0x07,0x9d,0x00,0x19,0x08,0x0b,0x00,0x03, +0x00,0x12,0x00,0x19,0x08,0x07,0x00,0x03,0x07,0x9d,0x00,0x18,0x08,0x07,0x00,0x03, +0x00,0x12,0x00,0x18,0x08,0x05,0x00,0x03,0x07,0x9d,0x00,0x16,0x08,0x05,0x00,0x03, +0x00,0x12,0x00,0x16,0x00,0x7f,0x00,0x03,0x07,0x9d,0x00,0x15,0x00,0x7f,0x00,0x03, +0x00,0x12,0x00,0x15,0x00,0x7e,0x00,0x03,0x07,0x9d,0x00,0x17,0x00,0x7e,0x00,0x03, +0x00,0x12,0x00,0x17,0x08,0x11,0x00,0x02,0x07,0x9d,0x08,0x11,0x00,0x02,0x00,0x12, +0x00,0x04,0x00,0x0a,0x00,0x12,0x00,0x1a,0x00,0x22,0x08,0x08,0x00,0x03,0x07,0x9d, +0x00,0x18,0x08,0x08,0x00,0x03,0x00,0x12,0x00,0x18,0x08,0x06,0x00,0x03,0x07,0x9d, +0x00,0x16,0x08,0x06,0x00,0x03,0x00,0x12,0x00,0x16,0x00,0x06,0x00,0x0e,0x00,0x16, +0x00,0x1e,0x00,0x26,0x00,0x2e,0x00,0x36,0x08,0x0e,0x00,0x03,0x07,0x9d,0x00,0x1b, +0x08,0x0e,0x00,0x03,0x00,0x12,0x00,0x1b,0x08,0x09,0x00,0x03,0x07,0x9d,0x00,0x18, +0x08,0x09,0x00,0x03,0x00,0x12,0x00,0x18,0x00,0x80,0x00,0x03,0x07,0x9d,0x00,0x17, +0x00,0x80,0x00,0x03,0x00,0x12,0x00,0x17,0x00,0x02,0x00,0x06,0x00,0x0e,0x08,0x0a, +0x00,0x03,0x07,0x9d,0x00,0x18,0x08,0x0a,0x00,0x03,0x00,0x12,0x00,0x18,0x00,0x04, +0x00,0x0a,0x00,0x12,0x00,0x1a,0x00,0x22,0x08,0x0f,0x00,0x03,0x07,0x9d,0x00,0x1b, +0x08,0x0f,0x00,0x03,0x00,0x12,0x00,0x1b,0x08,0x0c,0x00,0x03,0x07,0x9d,0x00,0x19, +0x08,0x0c,0x00,0x03,0x00,0x12,0x00,0x19,0x00,0x02,0x00,0x06,0x00,0x0e,0x08,0x10, +0x00,0x03,0x07,0x9d,0x00,0x1b,0x08,0x10,0x00,0x03,0x00,0x12,0x00,0x1b,0x00,0x01, +0x00,0x06,0x00,0x14,0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x1a,0x00,0x02, +0x00,0x0a,0x00,0x02,0x02,0x05,0x0c,0x19,0x00,0x01,0x00,0x02,0x00,0x44,0x01,0x0c, +0x00,0x02,0x00,0x0a,0x00,0x02,0x02,0x05,0x0c,0x19,0x00,0x01,0x00,0x02,0x00,0x44, +0x01,0x0c,0x00,0x02,0x00,0x14,0x00,0x07,0x03,0x4b,0x03,0x4a,0x03,0x4c,0x03,0x48, +0x03,0x49,0x03,0x4e,0x03,0x4d,0x00,0x01,0x00,0x07,0x03,0x08,0x03,0x1e,0x03,0x24, +0x03,0x2b,0x03,0x31,0x03,0x39,0x03,0x3f,0x00,0x02,0x00,0x14,0x00,0x07,0x03,0x4b, +0x03,0x4a,0x03,0x4c,0x03,0x48,0x03,0x49,0x03,0x4e,0x03,0x4d,0x00,0x01,0x00,0x07, +0x03,0x08,0x03,0x1e,0x03,0x24,0x03,0x2b,0x03,0x31,0x03,0x39,0x03,0x3f,0x00,0x02, +0x00,0x0e,0x00,0x04,0x00,0xf3,0x01,0xf9,0x0c,0x1a,0x0c,0x1b,0x00,0x01,0x00,0x04, +0x00,0x4c,0x00,0x4d,0x02,0x1c,0x02,0x51,0x00,0x02,0x00,0x1c,0x00,0x0b,0x0b,0xec, +0x0b,0xea,0x0b,0xed,0x0b,0xeb,0x0b,0xf0,0x0b,0xf1,0x0b,0xe9,0x0b,0xf2,0x0b,0xee, +0x0b,0xf3,0x0b,0xef,0x00,0x01,0x00,0x0b,0x02,0xa3,0x02,0xa4,0x02,0xa5,0x02,0xa6, +0x02,0xa9,0x02,0xaa,0x02,0xab,0x02,0xae,0x02,0xaf,0x02,0xb2,0x02,0xb4,0x00,0x00, +0x00,0x01,0x04,0x0e,0x01,0x90,0x00,0x05,0x00,0x00,0x05,0x33,0x05,0x99,0x00,0x00, +0x03,0xd7,0x05,0x33,0x05,0x99,0x00,0x00,0x00,0x00,0x00,0x66,0x02,0x12,0x00,0x00, +0x02,0x0b,0x06,0x03,0x03,0x08,0x04,0x02,0x02,0x04,0xe0,0x00,0x26,0xff,0xd0,0x00, +0xf5,0xfb,0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x00,0x50,0x66,0x45,0x64,0x00,0x40, +0x00,0x0d,0xff,0xfd,0x06,0x14,0xfe,0x14,0x01,0x9a,0x07,0x6d,0x01,0xe3,0x60,0x00, +0x01,0xdf,0xbf,0xdf,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x03, +0x00,0x00,0x00,0x1c,0x00,0x01,0x00,0x00,0x00,0x00,0x05,0x0c,0x00,0x03,0x00,0x01, +0x00,0x00,0x00,0x1c,0x00,0x04,0x04,0xf0,0x00,0x00,0x01,0x38,0x01,0x00,0x00,0x07, +0x00,0x38,0x00,0x00,0x00,0x7e,0x02,0x41,0x02,0xe9,0x02,0xee,0x02,0xf3,0x02,0xf7, +0x03,0x4e,0x03,0x53,0x03,0x58,0x03,0x5d,0x03,0x62,0x03,0x75,0x03,0x7a,0x03,0x7e, +0x03,0x8a,0x03,0x8c,0x03,0xa1,0x03,0xce,0x04,0x86,0x04,0xce,0x04,0xf9,0x05,0x0f, +0x05,0x56,0x05,0x5f,0x05,0x87,0x05,0x8a,0x06,0x0c,0x06,0x15,0x06,0x1b,0x06,0x1f, +0x06,0x3a,0x06,0x55,0x06,0x6f,0x06,0x74,0x06,0x87,0x06,0x91,0x06,0x98,0x06,0xa1, +0x06,0xa4,0x06,0xa6,0x06,0xa9,0x06,0xaf,0x06,0xba,0x06,0xbf,0x06,0xcc,0x06,0xf9, +0x1d,0x02,0x1d,0x09,0x1d,0x14,0x1d,0x17,0x1d,0x1f,0x1d,0x5b,0x1d,0x77,0x1d,0x7b, +0x1d,0x85,0x1d,0xb7,0x1d,0xbf,0x1e,0x9b,0x1e,0xf9,0x1f,0x15,0x1f,0x1d,0x1f,0x45, +0x1f,0x4d,0x1f,0x57,0x1f,0x59,0x1f,0x5b,0x1f,0x5d,0x1f,0x7d,0x1f,0xb4,0x1f,0xc4, +0x1f,0xd3,0x1f,0xdb,0x1f,0xef,0x1f,0xf4,0x1f,0xfe,0x20,0x0a,0x20,0x27,0x20,0x5e, +0x20,0x71,0x20,0x8e,0x20,0xaf,0x20,0xb1,0x20,0xb5,0x21,0x00,0x21,0x06,0x21,0x09, +0x21,0x0f,0x21,0x11,0x21,0x13,0x21,0x18,0x21,0x1e,0x21,0x22,0x21,0x27,0x21,0x2b, +0x21,0x2e,0x21,0x32,0x21,0x35,0x21,0x3b,0x21,0x4b,0x21,0x83,0x21,0xa8,0x21,0xcc, +0x21,0xd4,0x22,0x2d,0x22,0x3d,0x22,0x6b,0x22,0x8b,0x22,0x98,0x22,0xa5,0x22,0xc6, +0x23,0x02,0x23,0x06,0x23,0x0b,0x23,0x11,0x23,0x19,0x23,0x21,0x23,0x25,0x23,0x2a, +0x23,0x7d,0x23,0xae,0x23,0xcf,0x24,0x23,0x24,0x69,0x26,0x9c,0x26,0xa1,0x26,0xb1, +0x27,0x04,0x27,0x09,0x27,0x27,0x27,0x4b,0x27,0x4d,0x27,0x52,0x27,0x56,0x27,0x5e, +0x27,0x94,0x27,0xaf,0x27,0xbe,0x27,0xe0,0x27,0xeb,0x29,0xeb,0x2a,0x0e,0x2b,0x13, +0xe0,0x14,0xfb,0x06,0xfb,0x17,0xfb,0x81,0xfb,0x95,0xfb,0x9f,0xfb,0xe9,0xfb,0xff, +0xfe,0x74,0xfe,0xfc,0xfe,0xff,0xff,0xfd,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x20, +0x00,0xa0,0x02,0x50,0x02,0xec,0x02,0xf3,0x02,0xf7,0x03,0x00,0x03,0x51,0x03,0x57, +0x03,0x5c,0x03,0x60,0x03,0x74,0x03,0x7a,0x03,0x7e,0x03,0x84,0x03,0x8c,0x03,0x8e, +0x03,0xa3,0x03,0xd0,0x04,0x88,0x04,0xd0,0x05,0x00,0x05,0x31,0x05,0x59,0x05,0x61, +0x05,0x89,0x06,0x0c,0x06,0x15,0x06,0x1b,0x06,0x1f,0x06,0x21,0x06,0x40,0x06,0x60, +0x06,0x74,0x06,0x79,0x06,0x91,0x06,0x98,0x06,0xa1,0x06,0xa4,0x06,0xa6,0x06,0xa9, +0x06,0xaf,0x06,0xba,0x06,0xbf,0x06,0xcc,0x06,0xf0,0x1d,0x02,0x1d,0x08,0x1d,0x14, +0x1d,0x16,0x1d,0x1d,0x1d,0x43,0x1d,0x77,0x1d,0x7b,0x1d,0x85,0x1d,0x9b,0x1d,0xb9, +0x1e,0x00,0x1e,0xa0,0x1f,0x00,0x1f,0x18,0x1f,0x20,0x1f,0x48,0x1f,0x50,0x1f,0x59, +0x1f,0x5b,0x1f,0x5d,0x1f,0x5f,0x1f,0x80,0x1f,0xb6,0x1f,0xc6,0x1f,0xd6,0x1f,0xdd, +0x1f,0xf2,0x1f,0xf6,0x20,0x00,0x20,0x10,0x20,0x30,0x20,0x70,0x20,0x74,0x20,0xa0, +0x20,0xb1,0x20,0xb4,0x21,0x00,0x21,0x03,0x21,0x09,0x21,0x0e,0x21,0x11,0x21,0x13, +0x21,0x16,0x21,0x1c,0x21,0x20,0x21,0x26,0x21,0x2a,0x21,0x2e,0x21,0x32,0x21,0x34, +0x21,0x3b,0x21,0x4b,0x21,0x53,0x21,0x90,0x21,0xb0,0x21,0xd0,0x22,0x00,0x22,0x34, +0x22,0x41,0x22,0x6d,0x22,0x95,0x22,0xa4,0x22,0xc4,0x23,0x02,0x23,0x06,0x23,0x08, +0x23,0x10,0x23,0x18,0x23,0x20,0x23,0x25,0x23,0x28,0x23,0x7d,0x23,0xae,0x23,0xcf, +0x24,0x22,0x24,0x60,0x25,0x80,0x26,0xa0,0x26,0xb0,0x27,0x01,0x27,0x06,0x27,0x0c, +0x27,0x29,0x27,0x4d,0x27,0x4f,0x27,0x56,0x27,0x58,0x27,0x61,0x27,0x98,0x27,0xb1, +0x27,0xe0,0x27,0xe8,0x29,0xeb,0x2a,0x0c,0x2b,0x12,0xe0,0x00,0xfb,0x00,0xfb,0x13, +0xfb,0x52,0xfb,0x8a,0xfb,0x9e,0xfb,0xe8,0xfb,0xfc,0xfe,0x70,0xfe,0x76,0xfe,0xff, +0xff,0xfd,0xff,0xff,0x00,0x00,0xff,0xe3,0xff,0xc2,0xff,0xb4,0xff,0xb2,0xff,0xae, +0xff,0xab,0xff,0xa3,0xff,0xa1,0xff,0x9e,0xff,0x9b,0xff,0x99,0xff,0x88,0xff,0x84, +0xff,0x81,0xff,0x7c,0xff,0x7b,0xff,0x7a,0xff,0x79,0xff,0x78,0xff,0x77,0xff,0x76, +0xff,0x70,0xff,0x4f,0xff,0x4d,0xff,0x4c,0xff,0x4b,0xfe,0xca,0xfe,0xc2,0xfe,0xbd, +0xfe,0xba,0xfe,0xb9,0xfe,0xb4,0xfe,0xaa,0xfe,0xa6,0xfe,0xa2,0xfe,0x99,0xfe,0x93, +0xfe,0x8b,0xfe,0x89,0xfe,0x88,0xfe,0x86,0xfe,0x81,0xfe,0x77,0xfe,0x73,0xfe,0x67, +0xfe,0x44,0xe8,0x3c,0xe8,0x37,0xe8,0x2d,0xe8,0x2c,0xe8,0x27,0xe8,0x04,0xe7,0xe9, +0xe7,0xe6,0xe7,0xdd,0xe7,0xc8,0xe7,0xc7,0xe7,0x87,0xe7,0x83,0xe7,0x7d,0xe7,0x7b, +0xe7,0x79,0xe7,0x77,0xe7,0x75,0xe7,0x74,0xe7,0x73,0xe7,0x72,0xe7,0x71,0xe7,0x6f, +0xe7,0x6e,0xe7,0x6d,0xe7,0x6b,0xe7,0x6a,0xe7,0x68,0xe7,0x67,0xe7,0x66,0xe7,0x61, +0xe7,0x59,0xe7,0x48,0xe7,0x46,0xe7,0x35,0xe7,0x34,0xe7,0x32,0xe6,0xe8,0xe6,0xe6, +0xe6,0xe4,0xe6,0xe0,0xe6,0xdf,0xe6,0xde,0xe6,0xdc,0xe6,0xd9,0xe6,0xd8,0xe6,0xd5, +0xe6,0xd3,0xe6,0xd1,0xe6,0xce,0xe6,0xcd,0xe6,0xc8,0xe6,0xb9,0xe6,0xb2,0xe6,0xa6, +0xe6,0x9f,0xe6,0x9c,0xe6,0x71,0xe6,0x6b,0xe6,0x68,0xe6,0x67,0xe6,0x5e,0xe6,0x53, +0xe6,0x35,0xe5,0xfa,0xe5,0xf7,0xe5,0xf6,0xe5,0xf2,0xe5,0xec,0xe5,0xe6,0xe5,0xe3, +0xe5,0xe1,0xe5,0x8f,0xe5,0x5f,0xe5,0x3f,0xe4,0xed,0xe4,0xb1,0xe3,0x9b,0xe3,0x98, +0xe3,0x8a,0xe3,0x3b,0xe3,0x3a,0xe3,0x38,0xe3,0x37,0xe3,0x36,0xe3,0x35,0xe3,0x32, +0xe3,0x31,0xe3,0x2f,0xe3,0x2c,0xe3,0x2b,0xe3,0x0a,0xe3,0x03,0xe1,0x04,0xe0,0xe4, +0xdf,0xe1,0x2a,0xf5,0x10,0x0a,0x0f,0xfe,0x0f,0xc4,0x0f,0xbc,0x0f,0xb4,0x0f,0x6c, +0x0f,0x5a,0x0c,0xea,0x0c,0xe9,0x0c,0xe7,0x0b,0xea,0x00,0x01,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x06,0x00,0x00,0x01,0x92,0xb2,0x00,0x00,0x00, +0x00,0x9f,0xbf,0x02,0x00,0xa0,0xc0,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7f, +0x7e,0x7b,0x80,0x75,0x74,0x68,0x6f,0x99,0x00,0x00,0x03,0x04,0x05,0x06,0x07,0x08, +0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18, +0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28, +0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38, +0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48, +0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58, +0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,0x60,0x61,0x00,0x86,0x87,0x89,0x8b,0x93,0x98, +0x9e,0xa3,0xa2,0xa4,0xa6,0xa5,0xa7,0xa9,0xab,0xaa,0xac,0xad,0xaf,0xae,0xb0,0xb1, +0xb3,0xb5,0xb4,0xb6,0xb8,0xb7,0xbc,0xbb,0xbd,0xbe,0x00,0x72,0x64,0x65,0x69,0x00, +0x78,0xa1,0x70,0x6b,0x00,0x76,0x6a,0x00,0x88,0x9a,0x00,0x73,0x00,0x00,0x67,0x77, +0x00,0x00,0x00,0x00,0x00,0x6c,0x7c,0x00,0xa8,0xba,0x81,0x63,0x6e,0x00,0x00,0x00, +0x00,0x6d,0x7d,0x00,0x62,0x82,0x85,0x97,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0xb9,0x00,0xc1,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x79,0x00,0x00,0x00,0x84, +0x8c,0x83,0x8d,0x8a,0x8f,0x90,0x91,0x8e,0x95,0x96,0x00,0x94,0x9c,0x9d,0x9b,0x00, +0x00,0x00,0x71,0x00,0x00,0x00,0x7a,0x00,0x00,0x00,0x00,0x00,0x01,0x35,0x00,0xb8, +0x00,0xcb,0x00,0xcb,0x00,0xc1,0x00,0xaa,0x00,0x9c,0x01,0xa6,0x00,0xb8,0x00,0x66, +0x00,0x00,0x00,0x71,0x00,0xcb,0x00,0xa0,0x02,0xb2,0x00,0x85,0x00,0x75,0x00,0xb8, +0x00,0xc3,0x01,0xcb,0x01,0x89,0x02,0x2d,0x00,0xcb,0x00,0xa6,0x00,0xf0,0x00,0xd3, +0x00,0xaa,0x00,0x87,0x00,0xcb,0x03,0xaa,0x04,0x00,0x01,0x4a,0x00,0x33,0x00,0xcb, +0x00,0x00,0x00,0xd9,0x05,0x02,0x00,0xf4,0x01,0x54,0x00,0xb4,0x00,0x9c,0x01,0x39, +0x01,0x14,0x01,0x39,0x07,0x06,0x04,0x00,0x04,0x4e,0x04,0xb4,0x04,0x52,0x04,0xb8, +0x04,0xe7,0x04,0xcd,0x00,0x37,0x04,0x73,0x04,0xcd,0x04,0x60,0x04,0x73,0x01,0x33, +0x03,0xa2,0x05,0x56,0x05,0xa6,0x05,0x56,0x05,0x39,0x03,0xc5,0x02,0x12,0x00,0xc9, +0x00,0x1f,0x00,0xb8,0x01,0xdf,0x00,0x73,0x00,0xba,0x03,0xe9,0x03,0x33,0x03,0xbc, +0x04,0x44,0x04,0x0e,0x00,0xdf,0x03,0xcd,0x03,0xaa,0x00,0xe5,0x03,0xaa,0x04,0x04, +0x00,0x00,0x00,0xcb,0x00,0x8f,0x00,0xa4,0x00,0x7b,0x00,0xb8,0x00,0x14,0x01,0x6f, +0x00,0x7f,0x02,0x7b,0x02,0x52,0x00,0x8f,0x00,0xc7,0x05,0xcd,0x00,0x9a,0x00,0x9a, +0x00,0x6f,0x00,0xcb,0x00,0xcd,0x01,0x9e,0x01,0xd3,0x00,0xf0,0x00,0xba,0x01,0x83, +0x00,0xd5,0x00,0x98,0x03,0x04,0x02,0x48,0x00,0x9e,0x01,0xd5,0x00,0xc1,0x00,0xcb, +0x00,0xf6,0x00,0x83,0x03,0x54,0x02,0x7f,0x00,0x00,0x03,0x33,0x02,0x66,0x00,0xd3, +0x00,0xc7,0x00,0xa4,0x00,0xcd,0x00,0x8f,0x00,0x9a,0x00,0x73,0x04,0x00,0x05,0xd5, +0x01,0x0a,0x00,0xfe,0x02,0x2b,0x00,0xa4,0x00,0xb4,0x00,0x9c,0x00,0x00,0x00,0x62, +0x00,0x9c,0x00,0x00,0x00,0x1d,0x03,0x2d,0x05,0xd5,0x05,0xd5,0x05,0xd5,0x05,0xf0, +0x00,0x7f,0x00,0x7b,0x00,0x54,0x00,0xa4,0x06,0xb8,0x06,0x14,0x07,0x23,0x01,0xd3, +0x00,0xb8,0x00,0xcb,0x00,0xa6,0x01,0xc3,0x01,0xec,0x06,0x93,0x00,0xa0,0x00,0xd3, +0x03,0x5c,0x03,0x71,0x03,0xdb,0x01,0x85,0x04,0x23,0x04,0xa8,0x04,0x48,0x00,0x8f, +0x01,0x39,0x01,0x14,0x01,0x39,0x03,0x60,0x00,0x8f,0x05,0xd5,0x01,0x9a,0x06,0x14, +0x07,0x23,0x06,0x66,0x01,0x79,0x04,0x60,0x04,0x60,0x04,0x60,0x04,0x7b,0x00,0x9c, +0x00,0x00,0x02,0x77,0x04,0x60,0x01,0xaa,0x00,0xe9,0x04,0x60,0x07,0x62,0x00,0x7b, +0x00,0xc5,0x00,0x7f,0x02,0x7b,0x00,0x00,0x00,0xb4,0x02,0x52,0x05,0xcd,0x00,0x66, +0x00,0xbc,0x00,0x66,0x00,0x77,0x06,0x10,0x00,0xcd,0x01,0x3b,0x01,0x85,0x03,0x89, +0x00,0x8f,0x00,0x7b,0x00,0x00,0x00,0x1d,0x00,0xcd,0x07,0x4a,0x04,0x2f,0x00,0x9c, +0x00,0x9c,0x00,0x00,0x07,0x7d,0x00,0x6f,0x00,0x00,0x00,0x6f,0x03,0x35,0x00,0x6a, +0x00,0x6f,0x00,0x7b,0x00,0xae,0x00,0xb2,0x00,0x2d,0x03,0x96,0x00,0x8f,0x02,0x7b, +0x00,0xf6,0x00,0x83,0x03,0x54,0x06,0x37,0x05,0xf6,0x00,0x8f,0x00,0x9c,0x04,0xe1, +0x02,0x66,0x00,0x8f,0x01,0x8d,0x02,0xf6,0x00,0xcd,0x03,0x44,0x00,0x29,0x00,0x66, +0x04,0xee,0x00,0x73,0x00,0x00,0x14,0x00,0x00,0x01,0x00,0x00,0x00,0x04,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x03,0x00,0x00,0x00,0x3c,0x00,0x00,0x01,0x00, +0x00,0x02,0x00,0x01,0x00,0x00,0x00,0x48,0xc0,0x00,0x01,0x01,0x00,0x0b,0x00,0x01, +0x00,0x00,0x00,0x4c,0xc0,0x00,0x01,0x02,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x50, +0x00,0x00,0x01,0x03,0x00,0x00,0x01,0x04,0x00,0x02,0x01,0x05,0x00,0x04,0x01,0x06, +0x00,0x02,0x01,0x07,0x00,0x02,0x01,0x08,0x00,0x00,0x01,0x09,0xb7,0x07,0x06,0x05, +0x04,0x03,0x02,0x01,0x00,0x2c,0x20,0x10,0xb0,0x02,0x25,0x49,0x64,0xb0,0x40,0x51, +0x58,0x20,0xc8,0x59,0x21,0x2d,0x2c,0xb0,0x02,0x25,0x49,0x64,0xb0,0x40,0x51,0x58, +0x20,0xc8,0x59,0x21,0x2d,0x2c,0x20,0x10,0x07,0x20,0xb0,0x00,0x50,0xb0,0x0d,0x79, +0x20,0xb8,0xff,0xff,0x50,0x58,0x04,0x1b,0x05,0x59,0xb0,0x05,0x1c,0xb0,0x03,0x25, +0x08,0xb0,0x04,0x25,0x23,0xe1,0x20,0xb0,0x00,0x50,0xb0,0x0d,0x79,0x20,0xb8,0xff, +0xff,0x50,0x58,0x04,0x1b,0x05,0x59,0xb0,0x05,0x1c,0xb0,0x03,0x25,0x08,0xe1,0x2d, +0x2c,0x4b,0x50,0x58,0x20,0xb0,0xfd,0x45,0x44,0x59,0x21,0x2d,0x2c,0xb0,0x02,0x25, +0x45,0x60,0x44,0x2d,0x2c,0x4b,0x53,0x58,0xb0,0x02,0x25,0xb0,0x02,0x25,0x45,0x44, +0x59,0x21,0x21,0x2d,0x2c,0x45,0x44,0x2d,0x2c,0xb0,0x02,0x25,0xb0,0x02,0x25,0x49, +0xb0,0x05,0x25,0xb0,0x05,0x25,0x49,0x60,0xb0,0x20,0x63,0x68,0x20,0x8a,0x10,0x8a, +0x23,0x3a,0x8a,0x10,0x65,0x3a,0x2d,0x00,0x00,0x00,0x00,0x02,0x00,0x08,0x00,0x02, +0xff,0xff,0x00,0x03,0x00,0x02,0x00,0x66,0xfe,0x96,0x04,0x66,0x05,0xa4,0x00,0x03, +0x00,0x07,0x00,0x1a,0x40,0x0c,0x04,0xfb,0x00,0x06,0xfb,0x01,0x08,0x05,0x7f,0x02, +0x04,0x00,0x2f,0xc4,0xd4,0xec,0x31,0x00,0x10,0xd4,0xec,0xd4,0xec,0x30,0x13,0x11, +0x21,0x11,0x25,0x21,0x11,0x21,0x66,0x04,0x00,0xfc,0x73,0x03,0x1b,0xfc,0xe5,0xfe, +0x96,0x07,0x0e,0xf8,0xf2,0x72,0x06,0x29,0x00,0x02,0x01,0x35,0x00,0x00,0x02,0x00, +0x05,0xd5,0x00,0x03,0x00,0x09,0x00,0x35,0x40,0x0f,0x07,0x00,0x83,0x04,0x81,0x02, +0x08,0x07,0x05,0x01,0x03,0x04,0x00,0x00,0x0a,0x10,0xfc,0x4b,0xb0,0x0b,0x54,0x58, +0xb9,0x00,0x00,0xff,0xc0,0x38,0x59,0x3c,0xec,0x32,0x39,0x39,0x31,0x00,0x2f,0xe4, +0xfc,0xcc,0x30,0x01,0xb6,0x00,0x0b,0x20,0x0b,0x50,0x0b,0x03,0x5d,0x25,0x33,0x15, +0x23,0x11,0x33,0x11,0x03,0x23,0x03,0x01,0x35,0xcb,0xcb,0xcb,0x14,0xa2,0x15,0xfe, +0xfe,0x05,0xd5,0xfd,0x71,0xfe,0x9b,0x01,0x65,0x00,0x00,0x02,0x00,0xc5,0x03,0xaa, +0x02,0xe9,0x05,0xd5,0x00,0x03,0x00,0x07,0x00,0x42,0x40,0x0f,0x05,0x01,0x84,0x04, +0x00,0x81,0x08,0x04,0x05,0x06,0x00,0x05,0x02,0x04,0x08,0x10,0xfc,0x4b,0xb0,0x12, +0x54,0x4b,0xb0,0x13,0x54,0x5b,0x58,0xb9,0x00,0x02,0xff,0xc0,0x38,0x59,0xfc,0xdc, +0xec,0x31,0x00,0x10,0xf4,0x3c,0xec,0x32,0x30,0x01,0x40,0x0f,0x30,0x09,0x40,0x09, +0x50,0x09,0x60,0x09,0x70,0x09,0xa0,0x09,0xbf,0x09,0x07,0x5d,0x01,0x11,0x23,0x11, +0x21,0x11,0x23,0x11,0x01,0x6f,0xaa,0x02,0x24,0xaa,0x05,0xd5,0xfd,0xd5,0x02,0x2b, +0xfd,0xd5,0x02,0x2b,0x00,0x02,0x00,0x9e,0x00,0x00,0x06,0x17,0x05,0xbe,0x00,0x03, +0x00,0x1f,0x00,0x60,0x40,0x31,0x1b,0x0b,0x00,0x87,0x07,0x04,0x1d,0x09,0x05,0x19, +0x0d,0x02,0x87,0x17,0x13,0x0f,0x15,0x11,0x1f,0x1e,0x1c,0x1b,0x1a,0x17,0x16,0x15, +0x14,0x13,0x12,0x11,0x10,0x0e,0x0d,0x0c,0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02, +0x01,0x00,0x1a,0x0a,0x18,0x06,0x20,0x10,0xfc,0xcc,0x17,0x39,0x31,0x00,0x2f,0x3c, +0xd4,0x3c,0x3c,0xfc,0x3c,0x3c,0xd4,0x3c,0x3c,0xc4,0x32,0xec,0x32,0x32,0x30,0x40, +0x11,0x0b,0x01,0x0b,0x02,0x0b,0x0c,0x0b,0x0d,0x14,0x04,0x1a,0x11,0x1a,0x12,0x14, +0x1f,0x08,0x01,0x5d,0x01,0x21,0x03,0x21,0x0b,0x01,0x21,0x13,0x33,0x03,0x21,0x15, +0x21,0x03,0x21,0x15,0x21,0x03,0x23,0x13,0x21,0x03,0x23,0x13,0x21,0x35,0x21,0x13, +0x21,0x35,0x21,0x13,0x04,0x17,0xfe,0xdd,0x54,0x01,0x25,0x44,0x68,0x01,0x24,0x69, +0xa0,0x67,0x01,0x38,0xfe,0xa1,0x52,0x01,0x3e,0xfe,0x9b,0x68,0xa0,0x67,0xfe,0xdb, +0x67,0xa1,0x68,0xfe,0xc5,0x01,0x60,0x54,0xfe,0xbe,0x01,0x69,0x66,0x03,0x85,0xfe, +0xb2,0x03,0x87,0xfe,0x61,0x01,0x9f,0xfe,0x61,0x9a,0xfe,0xb2,0x99,0xfe,0x62,0x01, +0x9e,0xfe,0x62,0x01,0x9e,0x99,0x01,0x4e,0x9a,0x01,0x9f,0x00,0x00,0x03,0x00,0xaa, +0xfe,0xd3,0x04,0x6d,0x06,0x14,0x00,0x21,0x00,0x28,0x00,0x2f,0x00,0xbd,0x40,0x55, +0x22,0x02,0x0a,0x0b,0x0a,0x27,0x01,0x26,0x28,0x02,0x0b,0x0b,0x0a,0x1d,0x01,0x1e, +0x1c,0x02,0x2f,0x29,0x2f,0x1b,0x02,0x29,0x29,0x2f,0x42,0x13,0x11,0x10,0x22,0x0a, +0x1b,0x29,0x04,0x17,0x06,0x09,0x2a,0x21,0x05,0x02,0x17,0x86,0x16,0x06,0x86,0x05, +0x11,0x23,0x1a,0x8a,0x16,0x89,0x10,0x00,0x2a,0x8a,0x05,0x89,0x02,0x2d,0x08,0x16, +0x0a,0x1e,0x07,0x29,0x1a,0x12,0x03,0x00,0x09,0x22,0x10,0x09,0x03,0x01,0x07,0x26, +0x08,0x0d,0x05,0x06,0x30,0x10,0xfc,0x4b,0xb0,0x09,0x54,0x58,0xb9,0x00,0x05,0xff, +0xc0,0x38,0x59,0x4b,0xb0,0x0c,0x54,0x4b,0xb0,0x10,0x54,0x5b,0x4b,0xb0,0x0f,0x54, +0x5b,0x58,0xb9,0x00,0x05,0x00,0x40,0x38,0x59,0x3c,0xec,0xf4,0x17,0x3c,0xfc,0x17, +0x3c,0xf4,0xe4,0xec,0x31,0x00,0x2f,0xe4,0xec,0xc4,0xd4,0xe4,0xec,0x32,0xc4,0x10, +0xee,0x10,0xee,0x11,0x12,0x39,0x11,0x39,0x11,0x12,0x17,0x39,0x11,0x12,0x39,0x30, +0x4b,0x53,0x58,0x07,0x10,0x04,0xed,0x07,0x10,0x0e,0xed,0x11,0x17,0x39,0x07,0x10, +0x0e,0xed,0x11,0x17,0x39,0x07,0x10,0x04,0xed,0x59,0x22,0x01,0x23,0x03,0x2e,0x01, +0x27,0x35,0x1e,0x01,0x17,0x11,0x2e,0x01,0x35,0x34,0x36,0x37,0x35,0x33,0x15,0x1e, +0x01,0x17,0x15,0x2e,0x01,0x27,0x11,0x1e,0x01,0x15,0x14,0x06,0x07,0x03,0x11,0x0e, +0x01,0x15,0x14,0x16,0x17,0x11,0x3e,0x01,0x35,0x34,0x26,0x02,0xb4,0x64,0x01,0x69, +0xd2,0x6a,0x66,0xd1,0x6f,0xdd,0xc9,0xda,0xcc,0x64,0x5d,0xae,0x53,0x53,0xaf,0x5c, +0xe3,0xd6,0xe3,0xd6,0x64,0x74,0x7a,0x71,0xe1,0x7f,0x81,0x7b,0xfe,0xd3,0x01,0x2d, +0x02,0x2d,0x2d,0xb4,0x40,0x41,0x01,0x01,0xc8,0x24,0xac,0x96,0xa3,0xbc,0x0e,0xeb, +0xe8,0x04,0x1f,0x1b,0xaf,0x2a,0x2e,0x04,0xfe,0x55,0x23,0xb4,0x9c,0xa9,0xc3,0x0f, +0x03,0x00,0x01,0x9a,0x0d,0x6a,0x58,0x56,0x60,0xd5,0xfe,0x4f,0x11,0x6e,0x5a,0x58, +0x68,0x00,0x00,0x05,0x00,0x71,0xff,0xe3,0x07,0x29,0x05,0xf0,0x00,0x0b,0x00,0x17, +0x00,0x23,0x00,0x27,0x00,0x33,0x00,0x89,0x40,0x36,0x24,0x0f,0x25,0x26,0x25,0x26, +0x0f,0x27,0x24,0x27,0x42,0x00,0x92,0x0c,0x1e,0x92,0x2e,0x8d,0x18,0x92,0x24,0x06, +0x92,0x0c,0x8d,0x26,0x12,0x8c,0x28,0x24,0x91,0x34,0x27,0x21,0x1b,0x25,0x09,0x03, +0x0d,0x15,0x0e,0x09,0x0d,0x0f,0x21,0x0d,0x2b,0x0e,0x1b,0x0d,0x0f,0x31,0x0b,0x34, +0x10,0xfc,0x4b,0xb0,0x09,0x54,0x4b,0xb0,0x0b,0x54,0x5b,0x4b,0xb0,0x0c,0x54,0x5b, +0x4b,0xb0,0x14,0x54,0x5b,0x4b,0xb0,0x0e,0x54,0x5b,0x4b,0xb0,0x0d,0x54,0x5b,0x58, +0xb9,0x00,0x31,0xff,0xc0,0x38,0x59,0xc4,0xec,0xf4,0xec,0x10,0xee,0xf6,0xee,0x11, +0x39,0x11,0x12,0x39,0x31,0x00,0x10,0xe4,0x32,0xf4,0x3c,0xe4,0xec,0x10,0xee,0xf6, +0xee,0x10,0xee,0x30,0x4b,0x53,0x58,0x07,0x10,0x05,0xed,0x07,0x10,0x05,0xed,0x59, +0x22,0x01,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x27,0x32,0x16, +0x15,0x14,0x06,0x23,0x22,0x26,0x35,0x34,0x36,0x01,0x22,0x06,0x15,0x14,0x16,0x33, +0x32,0x36,0x35,0x34,0x26,0x25,0x33,0x01,0x23,0x13,0x32,0x16,0x15,0x14,0x06,0x23, +0x22,0x26,0x35,0x34,0x36,0x05,0xd1,0x57,0x63,0x63,0x57,0x55,0x63,0x63,0x55,0x9e, +0xba,0xbb,0x9d,0xa0,0xba,0xbb,0xfc,0x97,0x56,0x63,0x62,0x57,0x57,0x63,0x64,0x03, +0x31,0xa0,0xfc,0x5a,0xa0,0x1f,0x9e,0xbc,0xbb,0x9f,0x9f,0xb9,0xba,0x02,0x91,0x94, +0x84,0x82,0x95,0x95,0x82,0x83,0x95,0x7f,0xdc,0xbb,0xbb,0xdb,0xdb,0xbb,0xbc,0xdb, +0x02,0x61,0x95,0x82,0x84,0x94,0x94,0x84,0x81,0x96,0x7f,0xf9,0xf3,0x06,0x0d,0xdb, +0xbb,0xbd,0xda,0xdb,0xbc,0xba,0xdc,0x00,0x00,0x02,0x00,0x81,0xff,0xe3,0x05,0xfe, +0x05,0xf0,0x00,0x09,0x00,0x30,0x01,0xcd,0x40,0x96,0x0d,0x01,0x0e,0x0c,0x86,0x11, +0x12,0x11,0x0b,0x86,0x0a,0x0b,0x12,0x12,0x11,0x09,0x86,0x00,0x09,0x15,0x16,0x15, +0x07,0x01,0x06,0x08,0x86,0x16,0x16,0x15,0x02,0x01,0x03,0x01,0x86,0x1d,0x1e,0x1d, +0x00,0x86,0x09,0x00,0x1e,0x1e,0x1d,0x20,0x1f,0x02,0x21,0x1e,0x11,0x0a,0x13,0x0a, +0x17,0x16,0x15,0x03,0x18,0x14,0x11,0x13,0x0a,0x07,0x08,0x02,0x06,0x09,0x11,0x13, +0x13,0x0a,0x02,0x01,0x02,0x03,0x00,0x11,0x0a,0x13,0x0a,0x17,0x16,0x02,0x18,0x15, +0x11,0x13,0x0a,0x14,0x11,0x13,0x13,0x0a,0x42,0x12,0x0b,0x09,0x03,0x06,0x00,0x0a, +0x1e,0x03,0x28,0x15,0x0e,0x06,0x28,0x27,0x06,0x95,0x18,0x2b,0x95,0x27,0x94,0x24, +0x91,0x18,0x8c,0x0e,0x13,0x0a,0x2e,0x0b,0x0e,0x09,0x00,0x2e,0x12,0x15,0x27,0x0e, +0x1e,0x03,0x2e,0x12,0x27,0x21,0x0e,0x11,0x0f,0x13,0x21,0x03,0x12,0x1b,0x10,0x31, +0x10,0xfc,0xec,0xc4,0xd4,0xd4,0xec,0x10,0xc6,0xee,0x11,0x39,0x11,0x12,0x39,0x39, +0x11,0x39,0x39,0x11,0x39,0x11,0x39,0x31,0x00,0x2f,0xc6,0xe4,0xf6,0xe6,0xee,0x10, +0xee,0x10,0xc6,0x11,0x12,0x39,0x11,0x17,0x39,0x11,0x17,0x39,0x30,0x4b,0x53,0x58, +0x07,0x10,0x05,0xed,0x07,0x05,0xed,0x11,0x17,0x39,0x07,0x10,0x05,0xed,0x11,0x17, +0x39,0x07,0x10,0x05,0xed,0x11,0x17,0x39,0x07,0x05,0xed,0x11,0x17,0x39,0x07,0x10, +0x05,0xed,0x11,0x17,0x39,0x07,0x10,0x08,0xed,0x07,0x10,0x0e,0xed,0x11,0x17,0x39, +0x07,0x10,0x0e,0xed,0x11,0x17,0x39,0x07,0x10,0x08,0xed,0x07,0x10,0x08,0xed,0x07, +0x10,0x0e,0xed,0x11,0x17,0x39,0x59,0x22,0xb2,0x0f,0x32,0x01,0x01,0x5d,0x40,0xb2, +0x07,0x0b,0x05,0x22,0x09,0x29,0x1c,0x00,0x1c,0x01,0x1f,0x02,0x17,0x0b,0x2a,0x00, +0x2a,0x01,0x26,0x12,0x3a,0x00,0x34,0x12,0x44,0x0b,0x5e,0x00,0x59,0x01,0x5a,0x0a, +0x55,0x12,0x5a,0x1a,0x5a,0x1f,0x59,0x30,0x67,0x1e,0x7b,0x00,0x9b,0x00,0x9a,0x01, +0x99,0x02,0x97,0x08,0x95,0x0b,0x93,0x15,0x95,0x16,0x95,0x22,0x99,0x2d,0x1f,0x09, +0x0b,0x09,0x0c,0x08,0x11,0x0c,0x27,0x0c,0x28,0x18,0x02,0x1b,0x09,0x19,0x0b,0x19, +0x0c,0x19,0x11,0x1c,0x14,0x1c,0x15,0x16,0x1d,0x1f,0x32,0x27,0x00,0x27,0x01,0x29, +0x09,0x23,0x12,0x2a,0x13,0x2a,0x14,0x28,0x15,0x2f,0x32,0x3b,0x09,0x34,0x12,0x39, +0x13,0x3f,0x32,0x4a,0x09,0x4c,0x14,0x4b,0x15,0x46,0x19,0x4f,0x32,0x56,0x01,0x5a, +0x09,0x59,0x0c,0x55,0x12,0x59,0x13,0x5c,0x1f,0x5f,0x32,0x6a,0x0c,0x69,0x11,0x60, +0x32,0x75,0x01,0x79,0x0c,0x7a,0x11,0x93,0x00,0x93,0x01,0x97,0x02,0x95,0x05,0x9c, +0x07,0x9c,0x08,0x9f,0x08,0x9a,0x09,0x9b,0x0b,0x9a,0x0c,0x90,0x32,0xa0,0x32,0xb0, +0x32,0x39,0x5d,0x00,0x5d,0x01,0x0e,0x01,0x15,0x14,0x16,0x33,0x32,0x36,0x37,0x09, +0x01,0x3e,0x01,0x37,0x33,0x06,0x02,0x07,0x01,0x23,0x27,0x0e,0x01,0x23,0x22,0x00, +0x35,0x34,0x36,0x37,0x2e,0x01,0x35,0x34,0x36,0x33,0x32,0x16,0x17,0x15,0x2e,0x01, +0x23,0x22,0x06,0x15,0x14,0x16,0x01,0xf2,0x5b,0x55,0xd4,0xa0,0x5f,0xa6,0x49,0xfe, +0x7b,0x01,0xfc,0x3b,0x42,0x06,0xba,0x0c,0x68,0x5d,0x01,0x17,0xfc,0x8f,0x68,0xe4, +0x83,0xf1,0xfe,0xce,0x86,0x86,0x30,0x32,0xde,0xb8,0x53,0xa5,0x55,0x57,0x9e,0x44, +0x69,0x83,0x3b,0x03,0x23,0x51,0xa1,0x58,0x92,0xc2,0x3f,0x40,0x02,0x8f,0xfd,0xf8, +0x59,0xcb,0x72,0x84,0xfe,0xfe,0x7e,0xfe,0xe3,0x93,0x59,0x57,0x01,0x13,0xd7,0x80, +0xe1,0x63,0x3f,0x7d,0x3c,0xa2,0xc5,0x24,0x24,0xb6,0x2f,0x31,0x6f,0x58,0x33,0x67, +0x00,0x01,0x00,0xc5,0x03,0xaa,0x01,0x6f,0x05,0xd5,0x00,0x03,0x00,0x37,0x40,0x0a, +0x01,0x84,0x00,0x81,0x04,0x00,0x05,0x02,0x04,0x04,0x10,0xfc,0x4b,0xb0,0x12,0x54, +0x4b,0xb0,0x13,0x54,0x5b,0x58,0xb9,0x00,0x02,0xff,0xc0,0x38,0x59,0xec,0x31,0x00, +0x10,0xf4,0xec,0x30,0x01,0x40,0x0d,0x40,0x05,0x50,0x05,0x60,0x05,0x70,0x05,0x90, +0x05,0xa0,0x05,0x06,0x5d,0x01,0x11,0x23,0x11,0x01,0x6f,0xaa,0x05,0xd5,0xfd,0xd5, +0x02,0x2b,0x00,0x01,0x00,0xb0,0xfe,0xf2,0x02,0x7b,0x06,0x12,0x00,0x0d,0x00,0x37, +0x40,0x0f,0x06,0x98,0x00,0x97,0x0e,0x0d,0x07,0x00,0x03,0x12,0x06,0x00,0x13,0x0a, +0x0e,0x10,0xdc,0x4b,0xb0,0x13,0x54,0x58,0xb9,0x00,0x0a,0xff,0xc0,0x38,0x59,0x4b, +0xb0,0x0f,0x54,0x58,0xb9,0x00,0x0a,0x00,0x40,0x38,0x59,0xe4,0x32,0xec,0x11,0x39, +0x39,0x31,0x00,0x10,0xfc,0xec,0x30,0x01,0x06,0x02,0x15,0x14,0x12,0x17,0x23,0x26, +0x02,0x35,0x34,0x12,0x37,0x02,0x7b,0x86,0x82,0x83,0x85,0xa0,0x96,0x95,0x94,0x97, +0x06,0x12,0xe6,0xfe,0x3e,0xe7,0xe7,0xfe,0x3b,0xe5,0xeb,0x01,0xc6,0xe0,0xdf,0x01, +0xc4,0xec,0x00,0x01,0x00,0xa4,0xfe,0xf2,0x02,0x6f,0x06,0x12,0x00,0x0d,0x00,0x1f, +0x40,0x0f,0x07,0x98,0x00,0x97,0x0e,0x07,0x01,0x00,0x0b,0x12,0x04,0x13,0x08,0x00, +0x0e,0x10,0xdc,0x3c,0xf4,0xec,0x11,0x39,0x39,0x31,0x00,0x10,0xfc,0xec,0x30,0x13, +0x33,0x16,0x12,0x15,0x14,0x02,0x07,0x23,0x36,0x12,0x35,0x34,0x02,0xa4,0xa0,0x96, +0x95,0x95,0x96,0xa0,0x85,0x83,0x83,0x06,0x12,0xec,0xfe,0x3c,0xdf,0xe0,0xfe,0x3a, +0xeb,0xe5,0x01,0xc5,0xe7,0xe7,0x01,0xc2,0x00,0x01,0x00,0x3d,0x02,0x4a,0x03,0xc3, +0x05,0xf0,0x00,0x11,0x00,0x4e,0x40,0x2c,0x10,0x0d,0x0b,0x00,0x04,0x0c,0x09,0x07, +0x04,0x02,0x04,0x08,0x03,0x99,0x05,0x11,0x0c,0x99,0x0a,0x01,0x0e,0x91,0x12,0x08, +0x0c,0x0a,0x03,0x09,0x06,0x11,0x03,0x01,0x03,0x02,0x00,0x14,0x0f,0x04,0x0b,0x09, +0x14,0x0d,0x06,0x12,0x10,0xd4,0x3c,0xe4,0x32,0xdc,0x3c,0xe4,0x32,0x17,0x39,0x11, +0x12,0x17,0x39,0x31,0x00,0x10,0xf4,0xd4,0x3c,0xec,0x32,0xc4,0xec,0x32,0x17,0x39, +0x12,0x17,0x39,0x30,0x01,0x0d,0x01,0x07,0x25,0x11,0x23,0x11,0x05,0x27,0x2d,0x01, +0x37,0x05,0x11,0x33,0x11,0x25,0x03,0xc3,0xfe,0x99,0x01,0x67,0x3a,0xfe,0xb0,0x72, +0xfe,0xb0,0x3a,0x01,0x67,0xfe,0x99,0x3a,0x01,0x50,0x72,0x01,0x50,0x04,0xdf,0xc2, +0xc3,0x62,0xcb,0xfe,0x87,0x01,0x79,0xcb,0x62,0xc3,0xc2,0x63,0xcb,0x01,0x79,0xfe, +0x87,0xcb,0x00,0x01,0x00,0xd9,0x00,0x00,0x05,0xdb,0x05,0x04,0x00,0x0b,0x00,0x23, +0x40,0x11,0x00,0x09,0x01,0x9c,0x07,0x03,0x05,0x02,0x15,0x04,0x00,0x17,0x0a,0x06, +0x15,0x08,0x0c,0x10,0xdc,0xfc,0x3c,0xfc,0x3c,0xec,0x31,0x00,0x2f,0xd4,0x3c,0xfc, +0x3c,0xc4,0x30,0x01,0x11,0x21,0x15,0x21,0x11,0x23,0x11,0x21,0x35,0x21,0x11,0x03, +0xae,0x02,0x2d,0xfd,0xd3,0xa8,0xfd,0xd3,0x02,0x2d,0x05,0x04,0xfd,0xd3,0xaa,0xfd, +0xd3,0x02,0x2d,0xaa,0x02,0x2d,0x00,0x01,0x00,0x9e,0xff,0x12,0x01,0xc3,0x00,0xfe, +0x00,0x05,0x00,0x19,0x40,0x0c,0x03,0x9e,0x00,0x83,0x06,0x03,0x04,0x01,0x19,0x00, +0x18,0x06,0x10,0xfc,0xec,0xd4,0xcc,0x31,0x00,0x10,0xfc,0xec,0x30,0x37,0x33,0x15, +0x03,0x23,0x13,0xf0,0xd3,0xa4,0x81,0x52,0xfe,0xac,0xfe,0xc0,0x01,0x40,0x00,0x01, +0x00,0x64,0x01,0xdf,0x02,0x7f,0x02,0x83,0x00,0x03,0x00,0x11,0xb6,0x00,0x9c,0x02, +0x04,0x01,0x00,0x04,0x10,0xdc,0xcc,0x31,0x00,0x10,0xd4,0xec,0x30,0x13,0x21,0x15, +0x21,0x64,0x02,0x1b,0xfd,0xe5,0x02,0x83,0xa4,0x00,0x00,0x01,0x00,0xdb,0x00,0x00, +0x01,0xae,0x00,0xfe,0x00,0x03,0x00,0x11,0xb7,0x00,0x83,0x02,0x01,0x19,0x00,0x18, +0x04,0x10,0xfc,0xec,0x31,0x00,0x2f,0xec,0x30,0x37,0x33,0x15,0x23,0xdb,0xd3,0xd3, +0xfe,0xfe,0x00,0x01,0x00,0x00,0xff,0x42,0x02,0xb2,0x05,0xd5,0x00,0x03,0x00,0x2d, +0x40,0x14,0x00,0x1a,0x01,0x02,0x01,0x02,0x1a,0x03,0x00,0x03,0x42,0x02,0x9f,0x00, +0x81,0x04,0x02,0x00,0x01,0x03,0x2f,0xc4,0x39,0x39,0x31,0x00,0x10,0xf4,0xec,0x30, +0x4b,0x53,0x58,0x07,0x10,0x05,0xed,0x07,0x10,0x05,0xed,0x59,0x22,0x01,0x33,0x01, +0x23,0x02,0x08,0xaa,0xfd,0xf8,0xaa,0x05,0xd5,0xf9,0x6d,0x00,0x00,0x02,0x00,0x87, +0xff,0xe3,0x04,0x8f,0x05,0xf0,0x00,0x0b,0x00,0x17,0x00,0x23,0x40,0x13,0x06,0xa0, +0x12,0x00,0xa0,0x0c,0x91,0x12,0x8c,0x18,0x09,0x1c,0x0f,0x1e,0x03,0x1c,0x15,0x1b, +0x18,0x10,0xfc,0xec,0xf4,0xec,0x31,0x00,0x10,0xe4,0xf4,0xec,0x10,0xee,0x30,0x01, +0x22,0x02,0x11,0x10,0x12,0x33,0x32,0x12,0x11,0x10,0x02,0x27,0x32,0x00,0x11,0x10, +0x00,0x23,0x22,0x00,0x11,0x10,0x00,0x02,0x8b,0x9c,0x9d,0x9d,0x9c,0x9d,0x9d,0x9d, +0x9d,0xfb,0x01,0x09,0xfe,0xf7,0xfb,0xfb,0xfe,0xf7,0x01,0x09,0x05,0x50,0xfe,0xcd, +0xfe,0xcc,0xfe,0xcd,0xfe,0xcd,0x01,0x33,0x01,0x33,0x01,0x34,0x01,0x33,0xa0,0xfe, +0x73,0xfe,0x86,0xfe,0x87,0xfe,0x73,0x01,0x8d,0x01,0x79,0x01,0x7a,0x01,0x8d,0x00, +0x00,0x01,0x00,0xe1,0x00,0x00,0x04,0x5a,0x05,0xd5,0x00,0x0a,0x00,0x40,0x40,0x15, +0x42,0x03,0xa0,0x04,0x02,0xa0,0x05,0x81,0x07,0x00,0xa0,0x09,0x08,0x1f,0x06,0x1c, +0x03,0x00,0x1f,0x01,0x0b,0x10,0xd4,0x4b,0xb0,0x0f,0x54,0x58,0xb9,0x00,0x01,0x00, +0x40,0x38,0x59,0xec,0xc4,0xfc,0xec,0x31,0x00,0x2f,0xec,0x32,0xf4,0xec,0xd4,0xec, +0x30,0x4b,0x53,0x58,0x59,0x22,0x01,0xb4,0x0f,0x03,0x0f,0x04,0x02,0x5d,0x37,0x21, +0x11,0x05,0x35,0x25,0x33,0x11,0x21,0x15,0x21,0xfe,0x01,0x4a,0xfe,0x99,0x01,0x65, +0xca,0x01,0x4a,0xfc,0xa4,0xaa,0x04,0x73,0x48,0xb8,0x48,0xfa,0xd5,0xaa,0x00,0x01, +0x00,0x96,0x00,0x00,0x04,0x4a,0x05,0xf0,0x00,0x1c,0x00,0x9a,0x40,0x27,0x19,0x1a, +0x1b,0x03,0x18,0x1c,0x11,0x05,0x04,0x00,0x11,0x05,0x05,0x04,0x42,0x10,0xa1,0x11, +0x94,0x0d,0xa0,0x14,0x91,0x04,0x00,0xa0,0x02,0x00,0x10,0x0a,0x02,0x01,0x0a,0x1c, +0x17,0x10,0x03,0x06,0x1d,0x10,0xfc,0x4b,0xb0,0x15,0x54,0x4b,0xb0,0x16,0x54,0x5b, +0x4b,0xb0,0x14,0x54,0x5b,0x58,0xb9,0x00,0x03,0xff,0xc0,0x38,0x59,0xc4,0xd4,0xec, +0xc0,0xc0,0x11,0x12,0x39,0x31,0x00,0x2f,0xec,0x32,0xf4,0xec,0xf4,0xec,0x30,0x4b, +0x53,0x58,0x07,0x10,0x05,0xed,0x07,0x05,0xed,0x11,0x17,0x39,0x59,0x22,0x01,0x40, +0x32,0x55,0x04,0x56,0x05,0x56,0x07,0x7a,0x04,0x7a,0x05,0x76,0x1b,0x87,0x19,0x07, +0x04,0x00,0x04,0x19,0x04,0x1a,0x04,0x1b,0x05,0x1c,0x74,0x00,0x76,0x06,0x75,0x1a, +0x73,0x1b,0x74,0x1c,0x82,0x00,0x86,0x19,0x82,0x1a,0x82,0x1b,0x82,0x1c,0xa8,0x00, +0xa8,0x1b,0x11,0x5d,0x00,0x5d,0x25,0x21,0x15,0x21,0x35,0x36,0x00,0x37,0x3e,0x01, +0x35,0x34,0x26,0x23,0x22,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x04,0x15,0x14,0x06, +0x07,0x06,0x00,0x01,0x89,0x02,0xc1,0xfc,0x4c,0x73,0x01,0x8d,0x33,0x61,0x4d,0xa7, +0x86,0x5f,0xd3,0x78,0x7a,0xd4,0x58,0xe8,0x01,0x14,0x45,0x5b,0x19,0xfe,0xf4,0xaa, +0xaa,0xaa,0x77,0x01,0x91,0x3a,0x6d,0x97,0x49,0x77,0x96,0x42,0x43,0xcc,0x31,0x32, +0xe8,0xc2,0x5c,0xa5,0x70,0x1d,0xfe,0xeb,0x00,0x01,0x00,0x9c,0xff,0xe3,0x04,0x73, +0x05,0xf0,0x00,0x28,0x00,0x70,0x40,0x2e,0x00,0x15,0x13,0x0a,0x86,0x09,0x1f,0x86, +0x20,0x13,0xa0,0x15,0x0d,0xa0,0x09,0x93,0x06,0x1c,0xa0,0x20,0x93,0x23,0x91,0x06, +0x8c,0x15,0xa3,0x29,0x16,0x1c,0x13,0x00,0x03,0x14,0x19,0x1c,0x26,0x20,0x10,0x1c, +0x03,0x14,0x1f,0x09,0x06,0x29,0x10,0xfc,0x4b,0xb0,0x16,0x54,0x4b,0xb0,0x14,0x54, +0x5b,0x58,0xb9,0x00,0x09,0xff,0xc0,0x38,0x59,0xc4,0xc4,0xd4,0xec,0xf4,0xec,0x11, +0x17,0x39,0x39,0x31,0x00,0x10,0xec,0xe4,0xf4,0xe4,0xec,0x10,0xe6,0xee,0x10,0xee, +0x10,0xee,0x10,0xee,0x11,0x12,0x39,0x30,0x01,0x40,0x09,0x64,0x1e,0x61,0x1f,0x61, +0x20,0x64,0x21,0x04,0x00,0x5d,0x01,0x1e,0x01,0x15,0x14,0x04,0x21,0x22,0x26,0x27, +0x35,0x1e,0x01,0x33,0x32,0x36,0x35,0x34,0x26,0x2b,0x01,0x35,0x33,0x32,0x36,0x35, +0x34,0x26,0x23,0x22,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x04,0x15,0x14,0x06,0x03, +0x3f,0x91,0xa3,0xfe,0xd0,0xfe,0xe8,0x5e,0xc7,0x6a,0x54,0xc8,0x6d,0xbe,0xc7,0xb9, +0xa5,0xae,0xb6,0x95,0x9e,0xa3,0x98,0x53,0xbe,0x72,0x73,0xc9,0x59,0xe6,0x01,0x0c, +0x8e,0x03,0x25,0x1f,0xc4,0x90,0xdd,0xf2,0x25,0x25,0xc3,0x31,0x32,0x96,0x8f,0x84, +0x95,0xa6,0x77,0x70,0x73,0x7b,0x24,0x26,0xb4,0x20,0x20,0xd1,0xb2,0x7c,0xab,0x00, +0x00,0x02,0x00,0x64,0x00,0x00,0x04,0xa4,0x05,0xd5,0x00,0x02,0x00,0x0d,0x00,0x81, +0x40,0x1d,0x01,0x0d,0x03,0x0d,0x00,0x03,0x03,0x0d,0x42,0x00,0x03,0x0b,0x07,0xa0, +0x05,0x01,0x03,0x81,0x09,0x01,0x0c,0x0a,0x00,0x1c,0x06,0x08,0x04,0x0c,0x0e,0x10, +0xdc,0x4b,0xb0,0x0b,0x54,0x4b,0xb0,0x0d,0x54,0x5b,0x58,0xb9,0x00,0x0c,0xff,0xc0, +0x38,0x59,0xd4,0x3c,0xc4,0xec,0x32,0x11,0x39,0x31,0x00,0x2f,0xe4,0xd4,0x3c,0xec, +0x32,0x12,0x39,0x30,0x4b,0x53,0x58,0x07,0x10,0x04,0xc9,0x07,0x10,0x05,0xc9,0x59, +0x22,0x01,0x40,0x2a,0x0b,0x00,0x2a,0x00,0x48,0x00,0x59,0x00,0x69,0x00,0x77,0x00, +0x8a,0x00,0x07,0x16,0x01,0x2b,0x00,0x26,0x01,0x2b,0x03,0x36,0x01,0x4e,0x01,0x4f, +0x0c,0x4f,0x0d,0x56,0x01,0x66,0x01,0x75,0x01,0x7a,0x03,0x85,0x01,0x0d,0x5d,0x00, +0x5d,0x09,0x01,0x21,0x03,0x33,0x11,0x33,0x15,0x23,0x11,0x23,0x11,0x21,0x35,0x03, +0x06,0xfe,0x02,0x01,0xfe,0x35,0xfe,0xd5,0xd5,0xc9,0xfd,0x5e,0x05,0x25,0xfc,0xe3, +0x03,0xcd,0xfc,0x33,0xa8,0xfe,0xa0,0x01,0x60,0xc3,0x00,0x01,0x00,0x9e,0xff,0xe3, +0x04,0x64,0x05,0xd5,0x00,0x1d,0x00,0x5e,0x40,0x23,0x04,0x1a,0x07,0x11,0x86,0x10, +0x1d,0x1a,0xa0,0x07,0x14,0xa0,0x10,0x89,0x0d,0x02,0xa0,0x00,0x81,0x0d,0x8c,0x07, +0xa4,0x1e,0x17,0x1c,0x01,0x0a,0x03,0x1c,0x00,0x0a,0x10,0x06,0x1e,0x10,0xfc,0x01, +0x4b,0xb0,0x16,0x54,0x4b,0xb0,0x14,0x54,0x5b,0x58,0xb9,0x00,0x10,0xff,0xc0,0x38, +0x59,0x4b,0xb0,0x0f,0x54,0x58,0xb9,0x00,0x10,0x00,0x40,0x38,0x59,0xc4,0xd4,0xec, +0x10,0xc4,0xee,0x31,0x00,0x10,0xe4,0xe4,0xf4,0xec,0x10,0xe6,0xee,0x10,0xfe,0xc4, +0x10,0xee,0x11,0x12,0x39,0x30,0x13,0x21,0x15,0x21,0x11,0x3e,0x01,0x33,0x32,0x00, +0x15,0x14,0x00,0x21,0x22,0x26,0x27,0x35,0x1e,0x01,0x33,0x32,0x36,0x35,0x34,0x26, +0x23,0x22,0x06,0x07,0xdd,0x03,0x19,0xfd,0xa0,0x2c,0x58,0x2c,0xfa,0x01,0x24,0xfe, +0xd4,0xfe,0xef,0x5e,0xc3,0x68,0x5a,0xc0,0x6b,0xad,0xca,0xca,0xad,0x51,0xa1,0x54, +0x05,0xd5,0xaa,0xfe,0x92,0x0f,0x0f,0xfe,0xee,0xea,0xf1,0xfe,0xf5,0x20,0x20,0xcb, +0x31,0x30,0xb6,0x9c,0x9c,0xb6,0x24,0x26,0x00,0x02,0x00,0x8f,0xff,0xe3,0x04,0x96, +0x05,0xf0,0x00,0x0b,0x00,0x24,0x00,0x58,0x40,0x24,0x13,0x06,0x00,0x0d,0x86,0x0c, +0x00,0xa0,0x16,0x06,0xa0,0x1c,0x16,0xa5,0x10,0xa0,0x0c,0x89,0x22,0x91,0x1c,0x8c, +0x25,0x0c,0x22,0x09,0x1c,0x19,0x1e,0x13,0x1c,0x03,0x21,0x1f,0x1b,0x25,0x10,0xfc, +0xec,0xec,0xf4,0xec,0xe4,0x31,0x00,0x10,0xe4,0xf4,0xe4,0xfc,0xe4,0x10,0xee,0x10, +0xee,0x10,0xee,0x11,0x12,0x39,0x30,0x40,0x14,0xcb,0x00,0xcb,0x01,0xcd,0x02,0xcd, +0x03,0xcd,0x04,0xcb,0x05,0xcb,0x06,0x07,0xa4,0x1e,0xb2,0x1e,0x02,0x5d,0x01,0x5d, +0x01,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x01,0x15,0x2e,0x01, +0x23,0x22,0x02,0x03,0x3e,0x01,0x33,0x32,0x00,0x15,0x14,0x00,0x23,0x20,0x00,0x11, +0x10,0x00,0x21,0x32,0x16,0x02,0xa4,0x88,0x9f,0x9f,0x88,0x88,0x9f,0x9f,0x01,0x09, +0x4c,0x9b,0x4c,0xc8,0xd3,0x0f,0x3b,0xb2,0x6b,0xe1,0x01,0x05,0xfe,0xf0,0xe2,0xfe, +0xfd,0xfe,0xee,0x01,0x50,0x01,0x1b,0x4c,0x9b,0x03,0x3b,0xba,0xa2,0xa1,0xbb,0xbb, +0xa1,0xa2,0xba,0x02,0x79,0xb8,0x24,0x26,0xfe,0xf2,0xfe,0xef,0x57,0x5d,0xfe,0xef, +0xeb,0xe6,0xfe,0xea,0x01,0x8d,0x01,0x79,0x01,0x62,0x01,0xa5,0x1e,0x00,0x00,0x01, +0x00,0xa8,0x00,0x00,0x04,0x68,0x05,0xd5,0x00,0x06,0x00,0x63,0x40,0x18,0x05,0x11, +0x02,0x03,0x02,0x03,0x11,0x04,0x05,0x04,0x42,0x05,0xa0,0x00,0x81,0x03,0x05,0x03, +0x01,0x04,0x01,0x00,0x06,0x07,0x10,0xfc,0xcc,0xc4,0x11,0x39,0x39,0x31,0x00,0x2f, +0xf4,0xec,0x30,0x4b,0x53,0x58,0x07,0x10,0x05,0xed,0x07,0x10,0x05,0xed,0x59,0x22, +0x01,0x4b,0xb0,0x16,0x54,0x58,0xbd,0x00,0x07,0x00,0x40,0x00,0x01,0x00,0x07,0x00, +0x07,0xff,0xc0,0x38,0x11,0x37,0x38,0x59,0x40,0x12,0x58,0x02,0x01,0x06,0x03,0x1a, +0x05,0x39,0x05,0x48,0x05,0x67,0x03,0xb0,0x00,0xb0,0x06,0x07,0x5d,0x00,0x5d,0x13, +0x21,0x15,0x01,0x23,0x01,0x21,0xa8,0x03,0xc0,0xfd,0xe2,0xd3,0x01,0xfe,0xfd,0x33, +0x05,0xd5,0x56,0xfa,0x81,0x05,0x2b,0x00,0x00,0x03,0x00,0x8b,0xff,0xe3,0x04,0x8b, +0x05,0xf0,0x00,0x0b,0x00,0x23,0x00,0x2f,0x00,0x43,0x40,0x25,0x18,0x0c,0x00,0xa0, +0x27,0x06,0xa0,0x1e,0x2d,0xa0,0x12,0x91,0x1e,0x8c,0x27,0xa3,0x30,0x18,0x0c,0x24, +0x2a,0x1c,0x15,0x24,0x1c,0x0f,0x09,0x1c,0x15,0x1b,0x1e,0x03,0x1c,0x0f,0x21,0x1b, +0x30,0x10,0xfc,0xc4,0xec,0xf4,0xc4,0xec,0x10,0xee,0x10,0xee,0x11,0x39,0x39,0x31, +0x00,0x10,0xec,0xe4,0xf4,0xec,0x10,0xee,0x10,0xee,0x39,0x39,0x30,0x01,0x22,0x06, +0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x25,0x2e,0x01,0x35,0x34,0x24,0x33, +0x32,0x16,0x15,0x14,0x06,0x07,0x1e,0x01,0x15,0x14,0x04,0x23,0x22,0x24,0x35,0x34, +0x36,0x13,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x23,0x22,0x06,0x02,0x8b,0x90, +0xa5,0xa5,0x90,0x90,0xa6,0xa5,0xfe,0xa5,0x82,0x91,0x00,0xff,0xde,0xdf,0xfe,0x91, +0x81,0x92,0xa3,0xfe,0xf7,0xf7,0xf7,0xfe,0xf7,0xa4,0x48,0x91,0x83,0x82,0x93,0x93, +0x82,0x83,0x91,0x02,0xc5,0x9a,0x87,0x87,0x9a,0x9b,0x86,0x87,0x9a,0x56,0x20,0xb2, +0x80,0xb3,0xd0,0xd0,0xb3,0x80,0xb2,0x20,0x22,0xc6,0x8f,0xd9,0xe8,0xe8,0xd9,0x8f, +0xc6,0x01,0x61,0x74,0x82,0x82,0x74,0x74,0x82,0x82,0x00,0x02,0x00,0x81,0xff,0xe3, +0x04,0x87,0x05,0xf0,0x00,0x18,0x00,0x24,0x00,0x58,0x40,0x23,0x07,0x1f,0x19,0x01, +0x86,0x00,0x19,0xa0,0x0a,0xa5,0x04,0xa0,0x00,0x89,0x16,0x1f,0xa0,0x10,0x91,0x16, +0x8c,0x25,0x07,0x1c,0x1c,0x21,0x13,0x1e,0x00,0x22,0x22,0x1c,0x0d,0x1b,0x25,0x10, +0xfc,0xec,0xe4,0xf4,0xec,0xec,0x31,0x00,0x10,0xe4,0xf4,0xec,0x10,0xe6,0xfe,0xf5, +0xee,0x10,0xee,0x11,0x12,0x39,0x30,0x40,0x16,0xc4,0x19,0xc2,0x1a,0xc0,0x1b,0xc0, +0x1c,0xc0,0x1d,0xc2,0x1e,0xc4,0x1f,0x07,0xaa,0x12,0xbc,0x12,0xe9,0x12,0x03,0x5d, +0x01,0x5d,0x37,0x35,0x1e,0x01,0x33,0x32,0x12,0x13,0x0e,0x01,0x23,0x22,0x00,0x35, +0x34,0x00,0x33,0x20,0x00,0x11,0x10,0x00,0x21,0x22,0x26,0x01,0x32,0x36,0x35,0x34, +0x26,0x23,0x22,0x06,0x15,0x14,0x16,0xe1,0x4c,0x9c,0x4b,0xc8,0xd3,0x0f,0x3a,0xb2, +0x6c,0xe0,0xfe,0xfb,0x01,0x10,0xe2,0x01,0x03,0x01,0x11,0xfe,0xb1,0xfe,0xe5,0x4c, +0x9c,0x01,0x3e,0x88,0x9f,0x9f,0x88,0x88,0x9f,0x9f,0x1f,0xb8,0x24,0x26,0x01,0x0d, +0x01,0x12,0x56,0x5c,0x01,0x0f,0xeb,0xe6,0x01,0x16,0xfe,0x73,0xfe,0x86,0xfe,0x9f, +0xfe,0x5b,0x1e,0x02,0x97,0xba,0xa2,0xa1,0xbb,0xbb,0xa1,0xa2,0xba,0x00,0x00,0x02, +0x00,0xf0,0x00,0x00,0x01,0xc3,0x04,0x23,0x00,0x03,0x00,0x07,0x00,0x1c,0x40,0x0e, +0x06,0x83,0x04,0xa6,0x00,0x83,0x02,0x05,0x01,0x03,0x04,0x00,0x18,0x08,0x10,0xfc, +0x3c,0xec,0x32,0x31,0x00,0x2f,0xec,0xf4,0xec,0x30,0x37,0x33,0x15,0x23,0x11,0x33, +0x15,0x23,0xf0,0xd3,0xd3,0xd3,0xd3,0xfe,0xfe,0x04,0x23,0xfe,0x00,0x02,0x00,0x9e, +0xff,0x12,0x01,0xc3,0x04,0x23,0x00,0x03,0x00,0x09,0x00,0x25,0x40,0x13,0x02,0x83, +0x00,0x07,0x9e,0x04,0x83,0x00,0xa6,0x0a,0x07,0x08,0x05,0x01,0x19,0x04,0x00,0x18, +0x0a,0x10,0xfc,0x3c,0xec,0x32,0xd4,0xcc,0x31,0x00,0x10,0xe4,0xfc,0xec,0x10,0xee, +0x30,0x13,0x33,0x15,0x23,0x11,0x33,0x15,0x03,0x23,0x13,0xf0,0xd3,0xd3,0xd3,0xa4, +0x81,0x52,0x04,0x23,0xfe,0xfd,0xd9,0xac,0xfe,0xc0,0x01,0x40,0x00,0x01,0x00,0xd9, +0x00,0x5e,0x05,0xdb,0x04,0xa6,0x00,0x06,0x00,0x4d,0x40,0x2a,0x02,0x9c,0x03,0x04, +0x03,0x01,0x9c,0x00,0x01,0x04,0x04,0x03,0x01,0x9c,0x02,0x01,0x05,0x06,0x05,0x00, +0x9c,0x06,0x05,0x42,0x05,0x04,0x02,0x01,0x00,0x05,0x03,0xa8,0x06,0xa7,0x07,0x01, +0x02,0x00,0x24,0x04,0x23,0x07,0x10,0xfc,0xec,0x32,0x39,0x31,0x00,0x10,0xf4,0xec, +0x17,0x39,0x30,0x4b,0x53,0x58,0x07,0x04,0xed,0x07,0x10,0x08,0xed,0x07,0x10,0x08, +0xed,0x07,0x10,0x04,0xed,0x59,0x22,0x09,0x02,0x15,0x01,0x35,0x01,0x05,0xdb,0xfb, +0xf8,0x04,0x08,0xfa,0xfe,0x05,0x02,0x03,0xf0,0xfe,0x91,0xfe,0x93,0xb6,0x01,0xd1, +0xa6,0x01,0xd1,0x00,0x00,0x02,0x00,0xd9,0x01,0x60,0x05,0xdb,0x03,0xa2,0x00,0x03, +0x00,0x07,0x00,0x1c,0x40,0x0d,0x00,0x9c,0x02,0x06,0x9c,0x04,0x08,0x05,0x01,0x04, +0x00,0x23,0x08,0x10,0xfc,0x3c,0xc4,0x32,0x31,0x00,0x10,0xd4,0xec,0xd4,0xec,0x30, +0x13,0x21,0x15,0x21,0x15,0x21,0x15,0x21,0xd9,0x05,0x02,0xfa,0xfe,0x05,0x02,0xfa, +0xfe,0x03,0xa2,0xa8,0xf0,0xaa,0x00,0x01,0x00,0xd9,0x00,0x5e,0x05,0xdb,0x04,0xa6, +0x00,0x06,0x00,0x4f,0x40,0x2b,0x06,0x9c,0x00,0x06,0x03,0x04,0x03,0x05,0x9c,0x04, +0x04,0x03,0x00,0x9c,0x01,0x02,0x01,0x06,0x9c,0x05,0x06,0x02,0x02,0x01,0x42,0x06, +0x05,0x03,0x02,0x00,0x05,0x04,0xa8,0x01,0xa7,0x07,0x06,0x02,0x24,0x04,0x00,0x23, +0x07,0x10,0xfc,0x3c,0xec,0x39,0x31,0x00,0x10,0xf4,0xec,0x17,0x39,0x30,0x4b,0x53, +0x58,0x07,0x10,0x08,0xed,0x07,0x10,0x04,0xed,0x07,0x10,0x04,0xed,0x07,0x10,0x08, +0xed,0x59,0x22,0x13,0x35,0x01,0x15,0x01,0x35,0x01,0xd9,0x05,0x02,0xfa,0xfe,0x04, +0x06,0x03,0xf0,0xb6,0xfe,0x2f,0xa6,0xfe,0x2f,0xb6,0x01,0x6d,0x00,0x02,0x00,0x93, +0x00,0x00,0x03,0xb0,0x05,0xf0,0x00,0x03,0x00,0x24,0x00,0x65,0x40,0x2b,0x24,0x1e, +0x09,0x06,0x04,0x0a,0x1d,0x13,0x04,0x00,0x14,0x86,0x13,0x88,0x10,0x95,0x17,0x91, +0x00,0x83,0x02,0x1d,0x1a,0x0d,0x09,0x05,0x04,0x0a,0x1e,0x01,0x0d,0x1c,0x1a,0x04, +0x1c,0x05,0x01,0x03,0x00,0x26,0x1a,0x13,0x25,0x10,0xdc,0x4b,0xb0,0x0c,0x54,0x58, +0xb9,0x00,0x13,0xff,0xc0,0x38,0x59,0xc4,0xfc,0xec,0xd4,0xec,0x10,0xee,0x11,0x39, +0x39,0x11,0x12,0x39,0x11,0x12,0x39,0x31,0x00,0x2f,0xee,0xf6,0xfe,0xf4,0xee,0x10, +0xcd,0x11,0x39,0x39,0x17,0x39,0x30,0x01,0xb6,0x79,0x09,0x7a,0x0a,0x7a,0x20,0x03, +0x5d,0x25,0x33,0x15,0x23,0x13,0x23,0x35,0x34,0x36,0x3f,0x01,0x3e,0x01,0x35,0x34, +0x26,0x23,0x22,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x16,0x15,0x14,0x06,0x0f,0x01, +0x0e,0x01,0x07,0x0e,0x01,0x15,0x01,0x87,0xcb,0xcb,0xc5,0xbf,0x38,0x5a,0x5a,0x39, +0x33,0x83,0x6c,0x4f,0xb3,0x61,0x5e,0xc1,0x67,0xb8,0xdf,0x48,0x5a,0x58,0x2f,0x27, +0x08,0x06,0x06,0xfe,0xfe,0x01,0x91,0x9a,0x65,0x82,0x56,0x59,0x35,0x5e,0x31,0x59, +0x6e,0x46,0x43,0xbc,0x39,0x38,0xc2,0x9f,0x4c,0x89,0x56,0x56,0x2f,0x35,0x19,0x15, +0x3c,0x34,0x00,0x02,0x00,0x87,0xfe,0x9c,0x07,0x71,0x05,0xa2,0x00,0x0b,0x00,0x4c, +0x00,0x95,0x40,0x32,0x18,0x0c,0x03,0x09,0xa9,0x19,0x15,0x1b,0x03,0xa9,0x4c,0x0f, +0x34,0x33,0x0f,0xac,0x30,0xa9,0x37,0x15,0xac,0x24,0xa9,0x37,0x43,0x4d,0x33,0x34, +0x1e,0x1a,0x00,0x28,0x12,0x06,0x18,0x0c,0x28,0x1a,0x2b,0x1e,0x28,0x49,0x12,0x2b, +0x2a,0x28,0x49,0x2c,0x3d,0x4d,0x10,0xdc,0xec,0xfc,0xec,0x10,0xfe,0xfd,0xfe,0x3c, +0xc6,0x10,0xee,0x11,0x12,0x39,0x39,0x31,0x00,0x10,0xd4,0xc4,0xfc,0xec,0x10,0xfe, +0xed,0xd4,0xc6,0x10,0xc5,0xee,0x32,0x10,0xc4,0xee,0x11,0x39,0x39,0x30,0x00,0x4b, +0xb0,0x09,0x54,0x4b,0xb0,0x0c,0x54,0x5b,0x4b,0xb0,0x10,0x54,0x5b,0x4b,0xb0,0x13, +0x54,0x5b,0x4b,0xb0,0x14,0x54,0x5b,0x58,0xbd,0x00,0x4d,0xff,0xc0,0x00,0x01,0x00, +0x4d,0x00,0x4d,0x00,0x40,0x38,0x11,0x37,0x38,0x59,0x40,0x09,0x0f,0x4e,0x1f,0x4e, +0x2f,0x4e,0x3f,0x4e,0x04,0x01,0x5d,0x01,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26, +0x23,0x22,0x06,0x01,0x0e,0x01,0x23,0x22,0x26,0x35,0x34,0x36,0x33,0x32,0x16,0x17, +0x35,0x33,0x11,0x3e,0x01,0x35,0x34,0x26,0x27,0x26,0x24,0x23,0x22,0x06,0x07,0x06, +0x02,0x15,0x14,0x12,0x17,0x16,0x04,0x33,0x32,0x36,0x37,0x17,0x06,0x04,0x23,0x22, +0x24,0x27,0x26,0x02,0x35,0x34,0x12,0x37,0x36,0x24,0x33,0x32,0x04,0x17,0x1e,0x01, +0x15,0x10,0x00,0x05,0x02,0xfa,0x8e,0x7c,0x7b,0x8d,0x90,0x7a,0x79,0x8f,0x02,0x21, +0x3c,0x9b,0x67,0xac,0xd7,0xd8,0xab,0x67,0x9c,0x3b,0x8f,0x92,0xa5,0x3f,0x40,0x68, +0xfe,0xd5,0xb0,0x7b,0xe2,0x60,0x9d,0xb1,0x73,0x6d,0x69,0x01,0x14,0x9d,0x81,0xf9, +0x68,0x5a,0x7d,0xfe,0xd9,0x98,0xb9,0xfe,0xb8,0x80,0x80,0x86,0x88,0x7e,0x81,0x01, +0x52,0xbd,0xd4,0x01,0x6b,0x7b,0x4b,0x4f,0xfe,0xc2,0xfe,0xe8,0x02,0x19,0x8f,0xa3, +0xa4,0x8e,0x8c,0xa5,0xa4,0xfe,0x48,0x4d,0x49,0xf9,0xc8,0xc8,0xfa,0x4b,0x4c,0x83, +0xfd,0x20,0x16,0xdf,0xb1,0x6b,0xbc,0x50,0x83,0x8b,0x41,0x40,0x66,0xfe,0xb5,0xc1, +0x9f,0xfe,0xea,0x6a,0x68,0x6d,0x57,0x51,0x6f,0x61,0x67,0x83,0x7d,0x7d,0x01,0x49, +0xbd,0xb6,0x01,0x4a,0x7d,0x7f,0x87,0xae,0xa0,0x62,0xe6,0x7b,0xfe,0xf9,0xfe,0xd0, +0x06,0x00,0x00,0x02,0x00,0x10,0x00,0x00,0x05,0x68,0x05,0xd5,0x00,0x02,0x00,0x0a, +0x00,0xba,0x40,0x41,0x00,0x11,0x01,0x00,0x04,0x05,0x04,0x02,0x11,0x05,0x05,0x04, +0x01,0x11,0x0a,0x03,0x0a,0x00,0x11,0x02,0x00,0x03,0x03,0x0a,0x07,0x11,0x05,0x04, +0x06,0x11,0x05,0x05,0x04,0x09,0x11,0x03,0x0a,0x08,0x11,0x0a,0x03,0x0a,0x42,0x00, +0x03,0x07,0x95,0x01,0x03,0x81,0x09,0x05,0x09,0x08,0x07,0x06,0x04,0x03,0x02,0x01, +0x00,0x09,0x05,0x0a,0x0b,0x10,0xd4,0xc4,0x17,0x39,0x31,0x00,0x2f,0x3c,0xe4,0xd4, +0xec,0x12,0x39,0x30,0x4b,0x53,0x58,0x07,0x10,0x05,0xed,0x07,0x05,0xed,0x07,0x10, +0x05,0xed,0x07,0x05,0xed,0x07,0x10,0x08,0xed,0x07,0x10,0x05,0xed,0x07,0x10,0x05, +0xed,0x07,0x10,0x08,0xed,0x59,0x22,0xb2,0x20,0x0c,0x01,0x01,0x5d,0x40,0x3a,0x0f, +0x00,0x58,0x00,0x76,0x00,0x70,0x00,0x8c,0x00,0x05,0x07,0x01,0x08,0x02,0x06,0x03, +0x09,0x04,0x16,0x01,0x19,0x02,0x56,0x01,0x58,0x02,0x50,0x0c,0x67,0x01,0x68,0x02, +0x78,0x01,0x76,0x02,0x7c,0x03,0x72,0x04,0x77,0x07,0x78,0x08,0x87,0x01,0x88,0x02, +0x80,0x0c,0x98,0x02,0x99,0x03,0x96,0x04,0x17,0x5d,0x00,0x5d,0x09,0x01,0x21,0x01, +0x33,0x01,0x23,0x03,0x21,0x03,0x23,0x02,0xbc,0xfe,0xee,0x02,0x25,0xfe,0x7b,0xe5, +0x02,0x39,0xd2,0x88,0xfd,0x5f,0x88,0xd5,0x05,0x0e,0xfd,0x19,0x03,0xae,0xfa,0x2b, +0x01,0x7f,0xfe,0x81,0x00,0x03,0x00,0xc9,0x00,0x00,0x04,0xec,0x05,0xd5,0x00,0x08, +0x00,0x11,0x00,0x20,0x00,0x43,0x40,0x23,0x19,0x00,0x95,0x0a,0x09,0x95,0x12,0x81, +0x01,0x95,0x0a,0xad,0x1f,0x11,0x0b,0x08,0x02,0x13,0x19,0x1f,0x05,0x00,0x0e,0x1c, +0x16,0x05,0x19,0x1c,0x2e,0x09,0x00,0x1c,0x12,0x04,0x21,0x10,0xfc,0xec,0x32,0xfc, +0xec,0xd4,0xec,0x11,0x17,0x39,0x39,0x39,0x31,0x00,0x2f,0xec,0xec,0xf4,0xec,0x10, +0xee,0x39,0x30,0xb2,0x0f,0x22,0x01,0x01,0x5d,0x01,0x11,0x21,0x32,0x36,0x35,0x34, +0x26,0x23,0x01,0x11,0x21,0x32,0x36,0x35,0x34,0x26,0x23,0x25,0x21,0x32,0x16,0x15, +0x14,0x06,0x07,0x1e,0x01,0x15,0x14,0x04,0x23,0x21,0x01,0x93,0x01,0x44,0xa3,0x9d, +0x9d,0xa3,0xfe,0xbc,0x01,0x2b,0x94,0x91,0x91,0x94,0xfe,0x0b,0x02,0x04,0xe7,0xfa, +0x80,0x7c,0x95,0xa5,0xfe,0xf0,0xfb,0xfd,0xe8,0x02,0xc9,0xfd,0xdd,0x87,0x8b,0x8c, +0x85,0x02,0x66,0xfe,0x3e,0x6f,0x72,0x71,0x70,0xa6,0xc0,0xb1,0x89,0xa2,0x14,0x20, +0xcb,0x98,0xc8,0xda,0x00,0x01,0x00,0x73,0xff,0xe3,0x05,0x27,0x05,0xf0,0x00,0x19, +0x00,0x36,0x40,0x1a,0x0d,0xa1,0x0e,0xae,0x0a,0x95,0x11,0x01,0xa1,0x00,0xae,0x04, +0x95,0x17,0x91,0x11,0x8c,0x1a,0x07,0x19,0x0d,0x00,0x30,0x14,0x10,0x1a,0x10,0xfc, +0xec,0x32,0xec,0x31,0x00,0x10,0xe4,0xf4,0xec,0xf4,0xec,0x10,0xee,0xf6,0xee,0x30, +0xb4,0x0f,0x1b,0x1f,0x1b,0x02,0x01,0x5d,0x01,0x15,0x2e,0x01,0x23,0x20,0x00,0x11, +0x10,0x00,0x21,0x32,0x36,0x37,0x15,0x0e,0x01,0x23,0x20,0x00,0x11,0x10,0x00,0x21, +0x32,0x16,0x05,0x27,0x66,0xe7,0x82,0xff,0x00,0xfe,0xf0,0x01,0x10,0x01,0x00,0x82, +0xe7,0x66,0x6a,0xed,0x84,0xfe,0xad,0xfe,0x7a,0x01,0x86,0x01,0x53,0x86,0xed,0x05, +0x62,0xd5,0x5f,0x5e,0xfe,0xc7,0xfe,0xd8,0xfe,0xd9,0xfe,0xc7,0x5e,0x5f,0xd3,0x48, +0x48,0x01,0x9f,0x01,0x67,0x01,0x68,0x01,0x9f,0x47,0x00,0x02,0x00,0xc9,0x00,0x00, +0x05,0xb0,0x05,0xd5,0x00,0x08,0x00,0x11,0x00,0x2e,0x40,0x15,0x00,0x95,0x09,0x81, +0x01,0x95,0x10,0x08,0x02,0x10,0x0a,0x00,0x05,0x19,0x0d,0x32,0x00,0x1c,0x09,0x04, +0x12,0x10,0xfc,0xec,0xf4,0xec,0x11,0x39,0x39,0x39,0x39,0x31,0x00,0x2f,0xec,0xf4, +0xec,0x30,0xb2,0x60,0x13,0x01,0x01,0x5d,0x01,0x11,0x33,0x20,0x00,0x11,0x10,0x00, +0x21,0x25,0x21,0x20,0x00,0x11,0x10,0x00,0x29,0x01,0x01,0x93,0xf4,0x01,0x35,0x01, +0x1f,0xfe,0xe1,0xfe,0xcb,0xfe,0x42,0x01,0x9f,0x01,0xb2,0x01,0x96,0xfe,0x68,0xfe, +0x50,0xfe,0x61,0x05,0x2f,0xfb,0x77,0x01,0x18,0x01,0x2e,0x01,0x2c,0x01,0x17,0xa6, +0xfe,0x97,0xfe,0x80,0xfe,0x7e,0xfe,0x96,0x00,0x01,0x00,0xc9,0x00,0x00,0x04,0x8b, +0x05,0xd5,0x00,0x0b,0x00,0x2e,0x40,0x15,0x06,0x95,0x04,0x02,0x95,0x00,0x81,0x08, +0x95,0x04,0xad,0x0a,0x05,0x01,0x09,0x07,0x03,0x1c,0x00,0x04,0x0c,0x10,0xfc,0xec, +0x32,0xd4,0xc4,0xc4,0x31,0x00,0x2f,0xec,0xec,0xf4,0xec,0x10,0xee,0x30,0xb2,0x1f, +0x0d,0x01,0x01,0x5d,0x13,0x21,0x15,0x21,0x11,0x21,0x15,0x21,0x11,0x21,0x15,0x21, +0xc9,0x03,0xb0,0xfd,0x1a,0x02,0xc7,0xfd,0x39,0x02,0xf8,0xfc,0x3e,0x05,0xd5,0xaa, +0xfe,0x46,0xaa,0xfd,0xe3,0xaa,0x00,0x01,0x00,0xc9,0x00,0x00,0x04,0x23,0x05,0xd5, +0x00,0x09,0x00,0x29,0x40,0x12,0x06,0x95,0x04,0x02,0x95,0x00,0x81,0x04,0xad,0x08, +0x05,0x01,0x07,0x03,0x1c,0x00,0x04,0x0a,0x10,0xfc,0xec,0x32,0xd4,0xc4,0x31,0x00, +0x2f,0xec,0xf4,0xec,0x10,0xee,0x30,0xb2,0x0f,0x0b,0x01,0x01,0x5d,0x13,0x21,0x15, +0x21,0x11,0x21,0x15,0x21,0x11,0x23,0xc9,0x03,0x5a,0xfd,0x70,0x02,0x50,0xfd,0xb0, +0xca,0x05,0xd5,0xaa,0xfe,0x48,0xaa,0xfd,0x37,0x00,0x00,0x01,0x00,0x73,0xff,0xe3, +0x05,0x8b,0x05,0xf0,0x00,0x1d,0x00,0x39,0x40,0x20,0x00,0x05,0x1b,0x01,0x95,0x03, +0x1b,0x95,0x08,0x12,0xa1,0x11,0xae,0x15,0x95,0x0e,0x91,0x08,0x8c,0x1e,0x02,0x00, +0x1c,0x11,0x34,0x04,0x33,0x18,0x19,0x0b,0x10,0x1e,0x10,0xfc,0xec,0xfc,0xe4,0xfc, +0xc4,0x31,0x00,0x10,0xe4,0xf4,0xec,0xf4,0xec,0x10,0xfe,0xd4,0xee,0x11,0x39,0x39, +0x30,0x25,0x11,0x21,0x35,0x21,0x11,0x06,0x04,0x23,0x20,0x00,0x11,0x10,0x00,0x21, +0x32,0x04,0x17,0x15,0x2e,0x01,0x23,0x20,0x00,0x11,0x10,0x00,0x21,0x32,0x36,0x04, +0xc3,0xfe,0xb6,0x02,0x12,0x75,0xfe,0xe6,0xa0,0xfe,0xa2,0xfe,0x75,0x01,0x8b,0x01, +0x5e,0x92,0x01,0x07,0x6f,0x70,0xfc,0x8b,0xfe,0xee,0xfe,0xed,0x01,0x13,0x01,0x12, +0x6b,0xa8,0xd5,0x01,0x91,0xa6,0xfd,0x7f,0x53,0x55,0x01,0x99,0x01,0x6d,0x01,0x6e, +0x01,0x99,0x48,0x46,0xd7,0x5f,0x60,0xfe,0xce,0xfe,0xd1,0xfe,0xd2,0xfe,0xce,0x25, +0x00,0x01,0x00,0xc9,0x00,0x00,0x05,0x3b,0x05,0xd5,0x00,0x0b,0x00,0x2c,0x40,0x14, +0x08,0x95,0x02,0xad,0x04,0x00,0x81,0x0a,0x06,0x07,0x03,0x1c,0x05,0x38,0x09,0x01, +0x1c,0x00,0x04,0x0c,0x10,0xfc,0xec,0x32,0xfc,0xec,0x32,0x31,0x00,0x2f,0x3c,0xe4, +0x32,0xfc,0xec,0x30,0xb2,0x50,0x0d,0x01,0x01,0x5d,0x13,0x33,0x11,0x21,0x11,0x33, +0x11,0x23,0x11,0x21,0x11,0x23,0xc9,0xca,0x02,0xde,0xca,0xca,0xfd,0x22,0xca,0x05, +0xd5,0xfd,0x9c,0x02,0x64,0xfa,0x2b,0x02,0xc7,0xfd,0x39,0x00,0x00,0x01,0x00,0xc9, +0x00,0x00,0x01,0x93,0x05,0xd5,0x00,0x03,0x00,0x2e,0xb7,0x00,0xaf,0x02,0x01,0x1c, +0x00,0x04,0x04,0x10,0xfc,0x4b,0xb0,0x10,0x54,0x58,0xb9,0x00,0x00,0x00,0x40,0x38, +0x59,0xec,0x31,0x00,0x2f,0xec,0x30,0x01,0x40,0x0d,0x30,0x05,0x40,0x05,0x50,0x05, +0x60,0x05,0x8f,0x05,0x9f,0x05,0x06,0x5d,0x13,0x33,0x11,0x23,0xc9,0xca,0xca,0x05, +0xd5,0xfa,0x2b,0x00,0x00,0x01,0xff,0x96,0xfe,0x66,0x01,0x93,0x05,0xd5,0x00,0x0b, +0x00,0x42,0x40,0x13,0x0b,0x02,0x00,0x07,0x95,0x05,0xb0,0x00,0x81,0x0c,0x05,0x08, +0x06,0x39,0x01,0x1c,0x00,0x04,0x0c,0x10,0xfc,0x4b,0xb0,0x10,0x54,0x58,0xb9,0x00, +0x00,0x00,0x40,0x38,0x59,0xec,0xe4,0x39,0x39,0x31,0x00,0x10,0xe4,0xfc,0xec,0x11, +0x39,0x39,0x30,0x01,0x40,0x0d,0x30,0x0d,0x40,0x0d,0x50,0x0d,0x60,0x0d,0x8f,0x0d, +0x9f,0x0d,0x06,0x5d,0x13,0x33,0x11,0x10,0x06,0x2b,0x01,0x35,0x33,0x32,0x36,0x35, +0xc9,0xca,0xcd,0xe3,0x4d,0x3f,0x86,0x6e,0x05,0xd5,0xfa,0x93,0xfe,0xf2,0xf4,0xaa, +0x96,0xc2,0x00,0x01,0x00,0xc9,0x00,0x00,0x05,0x6a,0x05,0xd5,0x00,0x0a,0x00,0xef, +0x40,0x28,0x08,0x11,0x05,0x06,0x05,0x07,0x11,0x06,0x06,0x05,0x03,0x11,0x04,0x05, +0x04,0x02,0x11,0x05,0x05,0x04,0x42,0x08,0x05,0x02,0x03,0x03,0x00,0xaf,0x09,0x06, +0x05,0x01,0x04,0x06,0x08,0x01,0x1c,0x00,0x04,0x0b,0x10,0xfc,0xec,0x32,0xd4,0xc4, +0x11,0x39,0x31,0x00,0x2f,0x3c,0xec,0x32,0x17,0x39,0x30,0x4b,0x53,0x58,0x07,0x10, +0x04,0xed,0x07,0x10,0x05,0xed,0x07,0x10,0x05,0xed,0x07,0x10,0x04,0xed,0x59,0x22, +0xb2,0x08,0x03,0x01,0x01,0x5d,0x40,0x92,0x14,0x02,0x01,0x04,0x02,0x09,0x08,0x16, +0x02,0x28,0x05,0x28,0x08,0x37,0x02,0x36,0x05,0x34,0x08,0x47,0x02,0x46,0x05,0x43, +0x08,0x55,0x02,0x67,0x02,0x76,0x02,0x77,0x05,0x83,0x02,0x88,0x05,0x8f,0x08,0x94, +0x02,0x9b,0x08,0xe7,0x02,0x15,0x06,0x03,0x09,0x05,0x09,0x06,0x1b,0x03,0x19,0x07, +0x05,0x0a,0x03,0x0a,0x07,0x18,0x03,0x28,0x05,0x2b,0x06,0x2a,0x07,0x36,0x04,0x36, +0x05,0x36,0x06,0x35,0x07,0x30,0x0c,0x41,0x03,0x40,0x04,0x45,0x05,0x40,0x06,0x40, +0x07,0x40,0x0c,0x62,0x03,0x60,0x04,0x68,0x05,0x67,0x07,0x77,0x05,0x70,0x0c,0x8b, +0x03,0x8b,0x05,0x8e,0x06,0x8f,0x07,0x8f,0x0c,0x9a,0x03,0x9d,0x06,0x9d,0x07,0xb6, +0x03,0xb5,0x07,0xc5,0x03,0xc5,0x07,0xd7,0x03,0xd6,0x07,0xe8,0x03,0xe9,0x04,0xe8, +0x05,0xea,0x06,0xf7,0x03,0xf8,0x05,0xf9,0x06,0x2c,0x5d,0x71,0x00,0x5d,0x71,0x13, +0x33,0x11,0x01,0x21,0x09,0x01,0x21,0x01,0x11,0x23,0xc9,0xca,0x02,0x9e,0x01,0x04, +0xfd,0x1b,0x03,0x1a,0xfe,0xf6,0xfd,0x33,0xca,0x05,0xd5,0xfd,0x89,0x02,0x77,0xfd, +0x48,0xfc,0xe3,0x02,0xcf,0xfd,0x31,0x00,0x00,0x01,0x00,0xc9,0x00,0x00,0x04,0x6a, +0x05,0xd5,0x00,0x05,0x00,0x25,0x40,0x0c,0x02,0x95,0x00,0x81,0x04,0x01,0x1c,0x03, +0x3a,0x00,0x04,0x06,0x10,0xfc,0xec,0xec,0x31,0x00,0x2f,0xe4,0xec,0x30,0x40,0x09, +0x30,0x07,0x50,0x07,0x80,0x03,0x80,0x04,0x04,0x01,0x5d,0x13,0x33,0x11,0x21,0x15, +0x21,0xc9,0xca,0x02,0xd7,0xfc,0x5f,0x05,0xd5,0xfa,0xd5,0xaa,0x00,0x01,0x00,0xc9, +0x00,0x00,0x06,0x1f,0x05,0xd5,0x00,0x0c,0x00,0xbf,0x40,0x34,0x03,0x11,0x07,0x08, +0x07,0x02,0x11,0x01,0x02,0x08,0x08,0x07,0x02,0x11,0x03,0x02,0x09,0x0a,0x09,0x01, +0x11,0x0a,0x0a,0x09,0x42,0x0a,0x07,0x02,0x03,0x08,0x03,0x00,0xaf,0x08,0x0b,0x05, +0x09,0x08,0x03,0x02,0x01,0x05,0x0a,0x06,0x1c,0x04,0x3e,0x0a,0x1c,0x00,0x04,0x0d, +0x10,0xfc,0xec,0xfc,0xec,0x11,0x17,0x39,0x31,0x00,0x2f,0x3c,0xc4,0xec,0x32,0x11, +0x17,0x39,0x30,0x4b,0x53,0x58,0x07,0x10,0x05,0xed,0x07,0x10,0x08,0xed,0x07,0x10, +0x08,0xed,0x07,0x10,0x05,0xed,0x59,0x22,0xb2,0x70,0x0e,0x01,0x01,0x5d,0x40,0x56, +0x03,0x07,0x0f,0x08,0x0f,0x09,0x02,0x0a,0x15,0x02,0x14,0x07,0x13,0x0a,0x26,0x02, +0x26,0x07,0x20,0x07,0x26,0x0a,0x20,0x0a,0x34,0x07,0x35,0x0a,0x69,0x02,0x7c,0x02, +0x7b,0x07,0x79,0x0a,0x80,0x02,0x82,0x07,0x82,0x0a,0x90,0x02,0x16,0x04,0x01,0x0b, +0x03,0x13,0x01,0x1b,0x03,0x23,0x01,0x2c,0x03,0x27,0x08,0x28,0x09,0x34,0x01,0x3c, +0x03,0x56,0x08,0x59,0x09,0x65,0x08,0x6a,0x09,0x76,0x08,0x79,0x09,0x81,0x01,0x8d, +0x03,0x95,0x01,0x9b,0x03,0x14,0x5d,0x00,0x5d,0x13,0x21,0x09,0x01,0x21,0x11,0x23, +0x11,0x01,0x23,0x01,0x11,0x23,0xc9,0x01,0x2d,0x01,0x7d,0x01,0x7f,0x01,0x2d,0xc5, +0xfe,0x7f,0xcb,0xfe,0x7f,0xc4,0x05,0xd5,0xfc,0x08,0x03,0xf8,0xfa,0x2b,0x05,0x1f, +0xfc,0x00,0x04,0x00,0xfa,0xe1,0x00,0x01,0x00,0xc9,0x00,0x00,0x05,0x33,0x05,0xd5, +0x00,0x09,0x00,0x79,0x40,0x1e,0x07,0x11,0x01,0x02,0x01,0x02,0x11,0x06,0x07,0x06, +0x42,0x07,0x02,0x03,0x00,0xaf,0x08,0x05,0x06,0x01,0x07,0x02,0x1c,0x04,0x36,0x07, +0x1c,0x00,0x04,0x0a,0x10,0xfc,0xec,0xfc,0xec,0x11,0x39,0x39,0x31,0x00,0x2f,0x3c, +0xec,0x32,0x39,0x39,0x30,0x4b,0x53,0x58,0x07,0x10,0x04,0xed,0x07,0x10,0x04,0xed, +0x59,0x22,0xb2,0x1f,0x0b,0x01,0x01,0x5d,0x40,0x30,0x36,0x02,0x38,0x07,0x48,0x02, +0x47,0x07,0x69,0x02,0x66,0x07,0x80,0x02,0x07,0x06,0x01,0x09,0x06,0x15,0x01,0x1a, +0x06,0x46,0x01,0x49,0x06,0x57,0x01,0x58,0x06,0x65,0x01,0x69,0x06,0x79,0x06,0x85, +0x01,0x8a,0x06,0x95,0x01,0x9a,0x06,0x9f,0x0b,0x10,0x5d,0x00,0x5d,0x13,0x21,0x01, +0x11,0x33,0x11,0x21,0x01,0x11,0x23,0xc9,0x01,0x10,0x02,0x96,0xc4,0xfe,0xf0,0xfd, +0x6a,0xc4,0x05,0xd5,0xfb,0x1f,0x04,0xe1,0xfa,0x2b,0x04,0xe1,0xfb,0x1f,0x00,0x02, +0x00,0x73,0xff,0xe3,0x05,0xd9,0x05,0xf0,0x00,0x0b,0x00,0x17,0x00,0x23,0x40,0x13, +0x06,0x95,0x12,0x00,0x95,0x0c,0x91,0x12,0x8c,0x18,0x09,0x19,0x0f,0x33,0x03,0x19, +0x15,0x10,0x18,0x10,0xfc,0xec,0xfc,0xec,0x31,0x00,0x10,0xe4,0xf4,0xec,0x10,0xee, +0x30,0x01,0x22,0x00,0x11,0x10,0x00,0x33,0x32,0x00,0x11,0x10,0x00,0x27,0x20,0x00, +0x11,0x10,0x00,0x21,0x20,0x00,0x11,0x10,0x00,0x03,0x27,0xdc,0xfe,0xfd,0x01,0x03, +0xdc,0xdc,0x01,0x01,0xfe,0xff,0xdc,0x01,0x3a,0x01,0x78,0xfe,0x88,0xfe,0xc6,0xfe, +0xc5,0xfe,0x87,0x01,0x79,0x05,0x4c,0xfe,0xb8,0xfe,0xe5,0xfe,0xe6,0xfe,0xb8,0x01, +0x48,0x01,0x1a,0x01,0x1b,0x01,0x48,0xa4,0xfe,0x5b,0xfe,0x9e,0xfe,0x9f,0xfe,0x5b, +0x01,0xa4,0x01,0x62,0x01,0x62,0x01,0xa5,0x00,0x02,0x00,0xc9,0x00,0x00,0x04,0x8d, +0x05,0xd5,0x00,0x08,0x00,0x13,0x00,0x3a,0x40,0x18,0x01,0x95,0x10,0x00,0x95,0x09, +0x81,0x12,0x10,0x0a,0x08,0x02,0x04,0x00,0x05,0x19,0x0d,0x3f,0x11,0x00,0x1c,0x09, +0x04,0x14,0x10,0xfc,0xec,0x32,0xfc,0xec,0x11,0x17,0x39,0x31,0x00,0x2f,0xf4,0xec, +0xd4,0xec,0x30,0x40,0x0b,0x0f,0x15,0x1f,0x15,0x3f,0x15,0x5f,0x15,0xaf,0x15,0x05, +0x01,0x5d,0x01,0x11,0x33,0x32,0x36,0x35,0x34,0x26,0x23,0x25,0x21,0x32,0x04,0x15, +0x14,0x04,0x2b,0x01,0x11,0x23,0x01,0x93,0xfe,0x8d,0x9a,0x9a,0x8d,0xfe,0x38,0x01, +0xc8,0xfb,0x01,0x01,0xfe,0xff,0xfb,0xfe,0xca,0x05,0x2f,0xfd,0xcf,0x92,0x87,0x86, +0x92,0xa6,0xe3,0xdb,0xdd,0xe2,0xfd,0xa8,0x00,0x02,0x00,0x73,0xfe,0xf8,0x05,0xd9, +0x05,0xf0,0x00,0x0b,0x00,0x1d,0x00,0x52,0x40,0x2a,0x11,0x10,0x02,0x0f,0x01,0x0c, +0x0d,0x0c,0x0e,0x01,0x0d,0x0d,0x0c,0x42,0x0f,0x1e,0x0c,0x06,0x95,0x12,0x00,0x95, +0x18,0x91,0x12,0x8c,0x0d,0x1e,0x0d,0x1b,0x0f,0x0c,0x03,0x09,0x19,0x1b,0x33,0x03, +0x19,0x15,0x10,0x1e,0x10,0xfc,0xec,0xfc,0xec,0x11,0x39,0x39,0x11,0x39,0x31,0x00, +0x10,0xc4,0xe4,0xf4,0xec,0x10,0xee,0x39,0x12,0x39,0x30,0x4b,0x53,0x58,0x07,0x10, +0x05,0xed,0x07,0x10,0x05,0xed,0x17,0x39,0x59,0x22,0x01,0x22,0x00,0x11,0x10,0x00, +0x33,0x32,0x00,0x11,0x10,0x00,0x13,0x01,0x23,0x27,0x0e,0x01,0x23,0x20,0x00,0x11, +0x10,0x00,0x21,0x20,0x00,0x11,0x10,0x02,0x03,0x27,0xdc,0xfe,0xfd,0x01,0x03,0xdc, +0xdc,0x01,0x01,0xfe,0xff,0x3f,0x01,0x0a,0xf4,0xdd,0x21,0x23,0x10,0xfe,0xc5,0xfe, +0x87,0x01,0x79,0x01,0x3b,0x01,0x3a,0x01,0x78,0xd1,0x05,0x4c,0xfe,0xb8,0xfe,0xe5, +0xfe,0xe6,0xfe,0xb8,0x01,0x48,0x01,0x1a,0x01,0x1b,0x01,0x48,0xfa,0xcf,0xfe,0xdd, +0xef,0x02,0x02,0x01,0xa5,0x01,0x61,0x01,0x62,0x01,0xa5,0xfe,0x5b,0xfe,0x9e,0xfe, +0xfc,0xfe,0x8e,0x00,0x00,0x02,0x00,0xc9,0x00,0x00,0x05,0x54,0x05,0xd5,0x00,0x13, +0x00,0x1c,0x00,0xb1,0x40,0x35,0x09,0x08,0x07,0x03,0x0a,0x06,0x11,0x03,0x04,0x03, +0x05,0x11,0x04,0x04,0x03,0x42,0x06,0x04,0x00,0x15,0x03,0x04,0x15,0x95,0x09,0x14, +0x95,0x0d,0x81,0x0b,0x04,0x05,0x06,0x03,0x11,0x09,0x00,0x1c,0x16,0x0e,0x05,0x0a, +0x19,0x19,0x04,0x11,0x3f,0x14,0x0a,0x1c,0x0c,0x04,0x1d,0x10,0xfc,0xec,0x32,0xfc, +0xc4,0xec,0x11,0x17,0x39,0x11,0x39,0x39,0x39,0x31,0x00,0x2f,0x3c,0xf4,0xec,0xd4, +0xec,0x12,0x39,0x12,0x39,0x12,0x39,0x30,0x4b,0x53,0x58,0x07,0x10,0x05,0xed,0x07, +0x10,0x05,0xed,0x11,0x17,0x39,0x59,0x22,0xb2,0x40,0x1e,0x01,0x01,0x5d,0x40,0x42, +0x7a,0x13,0x01,0x05,0x00,0x05,0x01,0x05,0x02,0x06,0x03,0x07,0x04,0x15,0x00,0x15, +0x01,0x14,0x02,0x16,0x03,0x17,0x04,0x25,0x00,0x25,0x01,0x25,0x02,0x26,0x03,0x27, +0x06,0x26,0x07,0x26,0x08,0x26,0x09,0x20,0x1e,0x36,0x01,0x36,0x02,0x46,0x01,0x46, +0x02,0x68,0x05,0x75,0x04,0x75,0x05,0x77,0x13,0x88,0x06,0x88,0x07,0x98,0x06,0x98, +0x07,0x1f,0x5d,0x00,0x5d,0x01,0x1e,0x01,0x17,0x13,0x23,0x03,0x2e,0x01,0x2b,0x01, +0x11,0x23,0x11,0x21,0x20,0x16,0x15,0x14,0x06,0x01,0x11,0x33,0x32,0x36,0x35,0x34, +0x26,0x23,0x03,0x8d,0x41,0x7b,0x3e,0xcd,0xd9,0xbf,0x4a,0x8b,0x78,0xdc,0xca,0x01, +0xc8,0x01,0x00,0xfc,0x83,0xfd,0x89,0xfe,0x92,0x95,0x95,0x92,0x02,0xbc,0x16,0x90, +0x7e,0xfe,0x68,0x01,0x7f,0x96,0x62,0xfd,0x89,0x05,0xd5,0xd6,0xd8,0x8d,0xba,0x02, +0x4f,0xfd,0xee,0x87,0x83,0x83,0x85,0x00,0x00,0x01,0x00,0x87,0xff,0xe3,0x04,0xa2, +0x05,0xf0,0x00,0x27,0x00,0x7e,0x40,0x3c,0x0d,0x0c,0x02,0x0e,0x0b,0x02,0x1e,0x1f, +0x1e,0x08,0x09,0x02,0x07,0x0a,0x02,0x1f,0x1f,0x1e,0x42,0x0a,0x0b,0x1e,0x1f,0x04, +0x15,0x01,0x00,0x15,0xa1,0x14,0x94,0x18,0x95,0x11,0x04,0x95,0x00,0x94,0x25,0x91, +0x11,0x8c,0x28,0x1e,0x0a,0x0b,0x1f,0x1b,0x07,0x00,0x22,0x1b,0x19,0x0e,0x2d,0x07, +0x19,0x14,0x22,0x28,0x10,0xdc,0xc4,0xec,0xfc,0xec,0xe4,0x11,0x12,0x39,0x39,0x39, +0x39,0x31,0x00,0x10,0xe4,0xf4,0xe4,0xec,0x10,0xee,0xf6,0xee,0x10,0xc6,0x11,0x17, +0x39,0x30,0x4b,0x53,0x58,0x07,0x10,0x0e,0xed,0x11,0x17,0x39,0x07,0x10,0x0e,0xed, +0x11,0x17,0x39,0x59,0x22,0xb2,0x0f,0x29,0x01,0x01,0x5d,0xb6,0x1f,0x29,0x2f,0x29, +0x4f,0x29,0x03,0x5d,0x01,0x15,0x2e,0x01,0x23,0x22,0x06,0x15,0x14,0x16,0x1f,0x01, +0x1e,0x01,0x15,0x14,0x04,0x21,0x22,0x26,0x27,0x35,0x1e,0x01,0x33,0x32,0x36,0x35, +0x34,0x26,0x2f,0x01,0x2e,0x01,0x35,0x34,0x24,0x33,0x32,0x16,0x04,0x48,0x73,0xcc, +0x5f,0xa5,0xb3,0x77,0xa6,0x7a,0xe2,0xd7,0xfe,0xdd,0xfe,0xe7,0x6a,0xef,0x80,0x7b, +0xec,0x72,0xad,0xbc,0x87,0x9a,0x7b,0xe2,0xca,0x01,0x17,0xf5,0x69,0xda,0x05,0xa4, +0xc5,0x37,0x36,0x80,0x76,0x63,0x65,0x1f,0x19,0x2b,0xd9,0xb6,0xd9,0xe0,0x30,0x2f, +0xd0,0x45,0x46,0x88,0x7e,0x6e,0x7c,0x1f,0x18,0x2d,0xc0,0xab,0xc6,0xe4,0x26,0x00, +0x00,0x01,0xff,0xfa,0x00,0x00,0x04,0xe9,0x05,0xd5,0x00,0x07,0x00,0x4a,0x40,0x0e, +0x06,0x02,0x95,0x00,0x81,0x04,0x01,0x40,0x03,0x1c,0x00,0x40,0x05,0x08,0x10,0xd4, +0xe4,0xfc,0xe4,0x31,0x00,0x2f,0xf4,0xec,0x32,0x30,0x01,0x4b,0xb0,0x0a,0x54,0x58, +0xbd,0x00,0x08,0x00,0x40,0x00,0x01,0x00,0x08,0x00,0x08,0xff,0xc0,0x38,0x11,0x37, +0x38,0x59,0x40,0x13,0x00,0x09,0x1f,0x00,0x10,0x01,0x10,0x02,0x1f,0x07,0x10,0x09, +0x40,0x09,0x70,0x09,0x9f,0x09,0x09,0x5d,0x03,0x21,0x15,0x21,0x11,0x23,0x11,0x21, +0x06,0x04,0xef,0xfd,0xee,0xcb,0xfd,0xee,0x05,0xd5,0xaa,0xfa,0xd5,0x05,0x2b,0x00, +0x00,0x01,0x00,0xb2,0xff,0xe3,0x05,0x29,0x05,0xd5,0x00,0x11,0x00,0x40,0x40,0x16, +0x08,0x02,0x11,0x0b,0x00,0x05,0x95,0x0e,0x8c,0x09,0x00,0x81,0x12,0x08,0x1c,0x0a, +0x38,0x01,0x1c,0x00,0x41,0x12,0x10,0xfc,0x4b,0xb0,0x10,0x54,0x58,0xb9,0x00,0x00, +0xff,0xc0,0x38,0x59,0xec,0xfc,0xec,0x31,0x00,0x10,0xe4,0x32,0xf4,0xec,0x11,0x39, +0x39,0x39,0x39,0x30,0x01,0xb6,0x1f,0x13,0x8f,0x13,0x9f,0x13,0x03,0x5d,0x13,0x33, +0x11,0x14,0x16,0x33,0x32,0x36,0x35,0x11,0x33,0x11,0x10,0x00,0x21,0x20,0x00,0x11, +0xb2,0xcb,0xae,0xc3,0xc2,0xae,0xcb,0xfe,0xdf,0xfe,0xe6,0xfe,0xe5,0xfe,0xdf,0x05, +0xd5,0xfc,0x75,0xf0,0xd3,0xd3,0xf0,0x03,0x8b,0xfc,0x5c,0xfe,0xdc,0xfe,0xd6,0x01, +0x2a,0x01,0x24,0x00,0x00,0x01,0x00,0x10,0x00,0x00,0x05,0x68,0x05,0xd5,0x00,0x06, +0x00,0xb7,0x40,0x27,0x04,0x11,0x05,0x06,0x05,0x03,0x11,0x02,0x03,0x06,0x06,0x05, +0x03,0x11,0x04,0x03,0x00,0x01,0x00,0x02,0x11,0x01,0x01,0x00,0x42,0x03,0x04,0x01, +0xaf,0x00,0x06,0x04,0x03,0x02,0x00,0x05,0x05,0x01,0x07,0x10,0xd4,0xc4,0x17,0x39, +0x31,0x00,0x2f,0xec,0x32,0x39,0x30,0x4b,0x53,0x58,0x07,0x10,0x05,0xed,0x07,0x10, +0x08,0xed,0x07,0x10,0x08,0xed,0x07,0x10,0x05,0xed,0x59,0x22,0xb2,0x50,0x08,0x01, +0x01,0x5d,0x40,0x62,0x00,0x03,0x2a,0x03,0x47,0x04,0x47,0x05,0x5a,0x03,0x7d,0x03, +0x83,0x03,0x07,0x06,0x00,0x07,0x02,0x08,0x04,0x09,0x06,0x15,0x01,0x14,0x02,0x1a, +0x04,0x1a,0x05,0x2a,0x00,0x26,0x01,0x26,0x02,0x29,0x04,0x29,0x05,0x25,0x06,0x20, +0x08,0x38,0x00,0x33,0x01,0x33,0x02,0x3c,0x04,0x3c,0x05,0x37,0x06,0x48,0x00,0x45, +0x01,0x45,0x02,0x49,0x04,0x49,0x05,0x47,0x06,0x59,0x00,0x56,0x06,0x66,0x02,0x69, +0x04,0x69,0x05,0x7a,0x00,0x76,0x01,0x76,0x02,0x79,0x04,0x79,0x05,0x75,0x06,0x80, +0x08,0x98,0x00,0x97,0x06,0x29,0x5d,0x00,0x5d,0x21,0x01,0x33,0x09,0x01,0x33,0x01, +0x02,0x4a,0xfd,0xc6,0xd3,0x01,0xd9,0x01,0xda,0xd2,0xfd,0xc7,0x05,0xd5,0xfb,0x17, +0x04,0xe9,0xfa,0x2b,0x00,0x01,0x00,0x44,0x00,0x00,0x07,0xa6,0x05,0xd5,0x00,0x0c, +0x01,0x7b,0x40,0x49,0x05,0x1a,0x06,0x05,0x09,0x0a,0x09,0x04,0x1a,0x0a,0x09,0x03, +0x1a,0x0a,0x0b,0x0a,0x02,0x1a,0x01,0x02,0x0b,0x0b,0x0a,0x06,0x11,0x07,0x08,0x07, +0x05,0x11,0x04,0x05,0x08,0x08,0x07,0x02,0x11,0x03,0x02,0x0c,0x00,0x0c,0x01,0x11, +0x00,0x00,0x0c,0x42,0x0a,0x05,0x02,0x03,0x06,0x03,0x00,0xaf,0x0b,0x08,0x0c,0x0b, +0x0a,0x09,0x08,0x06,0x05,0x04,0x03,0x02,0x01,0x0b,0x07,0x00,0x0d,0x10,0xd4,0xcc, +0x17,0x39,0x31,0x00,0x2f,0x3c,0xec,0x32,0x32,0x17,0x39,0x30,0x4b,0x53,0x58,0x07, +0x10,0x05,0xed,0x07,0x10,0x08,0xed,0x07,0x10,0x08,0xed,0x07,0x10,0x05,0xed,0x07, +0x10,0x08,0xed,0x07,0x10,0x05,0xed,0x07,0x05,0xed,0x07,0x10,0x08,0xed,0x59,0x22, +0xb2,0x00,0x0e,0x01,0x01,0x5d,0x40,0xf2,0x06,0x02,0x06,0x05,0x02,0x0a,0x00,0x0a, +0x00,0x0a,0x12,0x0a,0x28,0x05,0x24,0x0a,0x20,0x0a,0x3e,0x02,0x3e,0x05,0x34,0x0a, +0x30,0x0a,0x4c,0x02,0x4d,0x05,0x42,0x0a,0x40,0x0a,0x59,0x02,0x6a,0x02,0x6b,0x05, +0x67,0x0a,0x60,0x0a,0x7b,0x02,0x7f,0x02,0x7c,0x05,0x7f,0x05,0x80,0x0a,0x96,0x02, +0x95,0x05,0x1d,0x07,0x00,0x09,0x02,0x08,0x03,0x00,0x04,0x06,0x05,0x00,0x05,0x00, +0x06,0x01,0x07,0x04,0x08,0x00,0x08,0x07,0x09,0x00,0x09,0x04,0x0a,0x0a,0x0c,0x00, +0x0e,0x1a,0x03,0x15,0x04,0x15,0x08,0x19,0x0c,0x10,0x0e,0x20,0x04,0x21,0x05,0x20, +0x06,0x20,0x07,0x20,0x08,0x23,0x09,0x24,0x0a,0x25,0x0b,0x20,0x0e,0x20,0x0e,0x3c, +0x02,0x3a,0x03,0x35,0x04,0x33,0x05,0x30,0x08,0x36,0x09,0x39,0x0b,0x3f,0x0c,0x30, +0x0e,0x46,0x00,0x46,0x01,0x4a,0x02,0x40,0x04,0x45,0x05,0x40,0x05,0x42,0x06,0x42, +0x07,0x42,0x08,0x40,0x08,0x40,0x09,0x44,0x0a,0x4d,0x0c,0x40,0x0e,0x40,0x0e,0x58, +0x02,0x56,0x08,0x59,0x0c,0x50,0x0e,0x66,0x02,0x67,0x03,0x61,0x04,0x62,0x05,0x60, +0x06,0x60,0x07,0x60,0x08,0x64,0x09,0x64,0x0a,0x64,0x0b,0x77,0x00,0x76,0x01,0x7b, +0x02,0x78,0x03,0x77,0x04,0x74,0x05,0x79,0x06,0x79,0x07,0x77,0x08,0x70,0x08,0x78, +0x0c,0x7f,0x0c,0x7f,0x0e,0x86,0x02,0x87,0x03,0x88,0x04,0x89,0x05,0x85,0x09,0x8a, +0x0b,0x8f,0x0e,0x97,0x04,0x9f,0x0e,0xaf,0x0e,0x5b,0x5d,0x00,0x5d,0x13,0x33,0x09, +0x01,0x33,0x09,0x01,0x33,0x01,0x23,0x09,0x01,0x23,0x44,0xcc,0x01,0x3a,0x01,0x39, +0xe3,0x01,0x3a,0x01,0x39,0xcd,0xfe,0x89,0xfe,0xfe,0xc5,0xfe,0xc2,0xfe,0x05,0xd5, +0xfb,0x12,0x04,0xee,0xfb,0x12,0x04,0xee,0xfa,0x2b,0x05,0x10,0xfa,0xf0,0x00,0x01, +0x00,0x3d,0x00,0x00,0x05,0x3b,0x05,0xd5,0x00,0x0b,0x00,0x66,0x40,0x06,0x0d,0x04, +0x06,0x00,0x0a,0x0c,0x10,0xd4,0xc4,0xdc,0xc4,0xc4,0x31,0xb4,0x80,0x00,0x7f,0x0a, +0x02,0x5d,0x00,0x40,0x05,0x03,0x00,0xaf,0x09,0x06,0x2f,0x3c,0xec,0x32,0x30,0x4b, +0xb0,0x42,0x50,0x58,0x40,0x14,0x07,0x11,0x06,0x06,0x05,0x09,0x11,0x0a,0x0b,0x0a, +0x03,0x11,0x04,0x05,0x04,0x01,0x11,0x00,0x0b,0x00,0x05,0x07,0x10,0xec,0x07,0x10, +0xec,0x07,0x10,0xec,0x07,0x10,0xec,0x40,0x14,0x0b,0x0a,0x03,0x07,0x00,0x08,0x09, +0x04,0x07,0x00,0x05,0x09,0x04,0x06,0x01,0x02,0x0a,0x03,0x06,0x01,0x0f,0x0f,0x0f, +0x0f,0x59,0x13,0x33,0x09,0x01,0x33,0x09,0x01,0x23,0x09,0x01,0x23,0x01,0x81,0xd9, +0x01,0x73,0x01,0x75,0xd9,0xfe,0x20,0x02,0x00,0xd9,0xfe,0x5c,0xfe,0x59,0xda,0x02, +0x15,0x05,0xd5,0xfd,0xd5,0x02,0x2b,0xfd,0x33,0xfc,0xf8,0x02,0x7b,0xfd,0x85,0x03, +0x1d,0x00,0x00,0x01,0xff,0xfc,0x00,0x00,0x04,0xe7,0x05,0xd5,0x00,0x08,0x00,0x94, +0x40,0x28,0x03,0x11,0x04,0x05,0x04,0x02,0x11,0x01,0x02,0x05,0x05,0x04,0x02,0x11, +0x03,0x02,0x08,0x00,0x08,0x01,0x11,0x00,0x00,0x08,0x42,0x02,0x03,0x00,0xaf,0x06, +0x02,0x07,0x04,0x40,0x05,0x1c,0x00,0x40,0x07,0x09,0x10,0xd4,0xe4,0xfc,0xe4,0x12, +0x39,0x31,0x00,0x2f,0xec,0x32,0x39,0x30,0x4b,0x53,0x58,0x07,0x10,0x05,0xed,0x07, +0x10,0x08,0xed,0x07,0x10,0x08,0xed,0x07,0x10,0x05,0xed,0x59,0x22,0xb2,0x00,0x0a, +0x01,0x01,0x5d,0x40,0x3c,0x05,0x02,0x14,0x02,0x35,0x02,0x30,0x02,0x30,0x05,0x30, +0x08,0x46,0x02,0x40,0x02,0x40,0x05,0x40,0x08,0x51,0x02,0x51,0x05,0x51,0x08,0x65, +0x02,0x84,0x02,0x93,0x02,0x10,0x16,0x01,0x1a,0x03,0x1f,0x0a,0x26,0x01,0x29,0x03, +0x37,0x01,0x38,0x03,0x40,0x0a,0x67,0x01,0x68,0x03,0x78,0x03,0x70,0x0a,0x9f,0x0a, +0x0d,0x5d,0x00,0x5d,0x03,0x33,0x09,0x01,0x33,0x01,0x11,0x23,0x11,0x04,0xd9,0x01, +0x9e,0x01,0x9b,0xd9,0xfd,0xf0,0xcb,0x05,0xd5,0xfd,0x9a,0x02,0x66,0xfc,0xf2,0xfd, +0x39,0x02,0xc7,0x00,0x00,0x01,0x00,0x5c,0x00,0x00,0x05,0x1f,0x05,0xd5,0x00,0x09, +0x00,0x90,0x40,0x1b,0x03,0x11,0x07,0x08,0x07,0x08,0x11,0x02,0x03,0x02,0x42,0x08, +0x95,0x00,0x81,0x03,0x95,0x05,0x08,0x03,0x00,0x01,0x42,0x04,0x00,0x06,0x0a,0x10, +0xdc,0x4b,0xb0,0x09,0x54,0x4b,0xb0,0x0a,0x54,0x5b,0x58,0xb9,0x00,0x06,0xff,0xc0, +0x38,0x59,0xc4,0xd4,0xe4,0x11,0x39,0x39,0x31,0x00,0x2f,0xec,0xf4,0xec,0x30,0x4b, +0x53,0x58,0x07,0x10,0x05,0xed,0x07,0x10,0x05,0xed,0x59,0x22,0x01,0x40,0x40,0x05, +0x02,0x0a,0x07,0x18,0x07,0x29,0x02,0x26,0x07,0x38,0x07,0x48,0x02,0x47,0x07,0x48, +0x08,0x09,0x05,0x03,0x0b,0x08,0x00,0x0b,0x16,0x03,0x1a,0x08,0x10,0x0b,0x2f,0x0b, +0x35,0x03,0x39,0x08,0x3f,0x0b,0x47,0x03,0x4a,0x08,0x4f,0x0b,0x55,0x03,0x59,0x08, +0x66,0x03,0x69,0x08,0x6f,0x0b,0x77,0x03,0x78,0x08,0x7f,0x0b,0x9f,0x0b,0x16,0x5d, +0x00,0x5d,0x13,0x21,0x15,0x01,0x21,0x15,0x21,0x35,0x01,0x21,0x73,0x04,0x95,0xfc, +0x50,0x03,0xc7,0xfb,0x3d,0x03,0xb0,0xfc,0x67,0x05,0xd5,0x9a,0xfb,0x6f,0xaa,0x9a, +0x04,0x91,0x00,0x01,0x00,0xb0,0xfe,0xf2,0x02,0x58,0x06,0x14,0x00,0x07,0x00,0x3b, +0x40,0x0f,0x04,0xa9,0x06,0xb2,0x02,0xa9,0x00,0xb1,0x08,0x05,0x01,0x03,0x43,0x00, +0x08,0x10,0xdc,0x4b,0xb0,0x0c,0x54,0x58,0xb9,0x00,0x00,0x00,0x40,0x38,0x59,0x4b, +0xb0,0x12,0x54,0x4b,0xb0,0x13,0x54,0x5b,0x58,0xb9,0x00,0x00,0xff,0xc0,0x38,0x59, +0xfc,0xcc,0x32,0x31,0x00,0x10,0xfc,0xec,0xf4,0xec,0x30,0x13,0x21,0x15,0x23,0x11, +0x33,0x15,0x21,0xb0,0x01,0xa8,0xf0,0xf0,0xfe,0x58,0x06,0x14,0x8f,0xf9,0xfc,0x8f, +0x00,0x01,0x00,0x00,0xff,0x42,0x02,0xb2,0x05,0xd5,0x00,0x03,0x00,0x2d,0x40,0x14, +0x02,0x1a,0x01,0x01,0x00,0x00,0x1a,0x03,0x03,0x02,0x42,0x01,0x9f,0x00,0x81,0x04, +0x02,0x00,0x01,0x03,0x2f,0xc4,0x39,0x39,0x31,0x00,0x10,0xf4,0xec,0x30,0x4b,0x53, +0x58,0x07,0x10,0x05,0xed,0x07,0x10,0x05,0xed,0x59,0x22,0x13,0x01,0x23,0x01,0xaa, +0x02,0x08,0xaa,0xfd,0xf8,0x05,0xd5,0xf9,0x6d,0x06,0x93,0x00,0x00,0x01,0x00,0xc7, +0xfe,0xf2,0x02,0x6f,0x06,0x14,0x00,0x07,0x00,0x30,0x40,0x10,0x03,0xa9,0x01,0xb2, +0x05,0xa9,0x00,0xb1,0x08,0x00,0x43,0x04,0x06,0x02,0x04,0x08,0x10,0xfc,0x4b,0xb0, +0x0f,0x54,0x4b,0xb0,0x10,0x54,0x5b,0x58,0xb9,0x00,0x02,0x00,0x40,0x38,0x59,0x3c, +0xdc,0xec,0x31,0x00,0x10,0xfc,0xec,0xf4,0xec,0x30,0x01,0x11,0x21,0x35,0x33,0x11, +0x23,0x35,0x02,0x6f,0xfe,0x58,0xef,0xef,0x06,0x14,0xf8,0xde,0x8f,0x06,0x04,0x8f, +0x00,0x01,0x00,0xd9,0x03,0xa8,0x05,0xdb,0x05,0xd5,0x00,0x06,0x00,0x18,0x40,0x0a, +0x03,0x04,0x01,0x00,0x81,0x07,0x03,0x01,0x05,0x07,0x10,0xdc,0xcc,0x39,0x31,0x00, +0x10,0xf4,0xcc,0x32,0x39,0x30,0x09,0x01,0x23,0x09,0x01,0x23,0x01,0x03,0xbc,0x02, +0x1f,0xc9,0xfe,0x48,0xfe,0x48,0xc9,0x02,0x1f,0x05,0xd5,0xfd,0xd3,0x01,0x8b,0xfe, +0x75,0x02,0x2d,0x00,0x00,0x01,0xff,0xec,0xfe,0x1d,0x04,0x14,0xfe,0xac,0x00,0x03, +0x00,0x0f,0xb5,0x00,0xa9,0x01,0x00,0x02,0x04,0x10,0xc4,0xc4,0x31,0x00,0xd4,0xec, +0x30,0x01,0x15,0x21,0x35,0x04,0x14,0xfb,0xd8,0xfe,0xac,0x8f,0x8f,0x00,0x00,0x01, +0x00,0xaa,0x04,0xf0,0x02,0x89,0x06,0x66,0x00,0x03,0x00,0x31,0x40,0x09,0x01,0xb4, +0x00,0xb3,0x04,0x03,0x44,0x01,0x04,0x10,0xdc,0xec,0x31,0x00,0x10,0xf4,0xec,0x30, +0x00,0x4b,0xb0,0x09,0x54,0x4b,0xb0,0x0e,0x54,0x5b,0x58,0xbd,0x00,0x04,0xff,0xc0, +0x00,0x01,0x00,0x04,0x00,0x04,0x00,0x40,0x38,0x11,0x37,0x38,0x59,0x09,0x01,0x23, +0x01,0x01,0x6f,0x01,0x1a,0x99,0xfe,0xba,0x06,0x66,0xfe,0x8a,0x01,0x76,0x00,0x02, +0x00,0x7b,0xff,0xe3,0x04,0x2d,0x04,0x7b,0x00,0x0a,0x00,0x25,0x00,0xbc,0x40,0x27, +0x19,0x1f,0x0b,0x17,0x09,0x0e,0x00,0xa9,0x17,0x06,0xb9,0x0e,0x11,0x20,0x86,0x1f, +0xba,0x1c,0xb9,0x23,0xb8,0x11,0x8c,0x17,0x0c,0x00,0x17,0x03,0x18,0x0d,0x09,0x08, +0x0b,0x1f,0x03,0x08,0x14,0x45,0x26,0x10,0xfc,0xec,0xcc,0xd4,0xec,0x32,0x32,0x11, +0x39,0x39,0x31,0x00,0x2f,0xc4,0xe4,0xf4,0xfc,0xf4,0xec,0x10,0xc6,0xee,0x10,0xee, +0x11,0x39,0x11,0x39,0x12,0x39,0x30,0x40,0x6e,0x30,0x1d,0x30,0x1e,0x30,0x1f,0x30, +0x20,0x30,0x21,0x30,0x22,0x3f,0x27,0x40,0x1d,0x40,0x1e,0x40,0x1f,0x40,0x20,0x40, +0x21,0x40,0x22,0x50,0x1d,0x50,0x1e,0x50,0x1f,0x50,0x20,0x50,0x21,0x50,0x22,0x50, +0x27,0x70,0x27,0x85,0x1d,0x87,0x1e,0x87,0x1f,0x87,0x20,0x87,0x21,0x85,0x22,0x90, +0x27,0xa0,0x27,0xf0,0x27,0x1e,0x30,0x1e,0x30,0x1f,0x30,0x20,0x30,0x21,0x40,0x1e, +0x40,0x1f,0x40,0x20,0x40,0x21,0x50,0x1e,0x50,0x1f,0x50,0x20,0x50,0x21,0x60,0x1e, +0x60,0x1f,0x60,0x20,0x60,0x21,0x70,0x1e,0x70,0x1f,0x70,0x20,0x70,0x21,0x80,0x1e, +0x80,0x1f,0x80,0x20,0x80,0x21,0x18,0x5d,0x01,0x5d,0x01,0x22,0x06,0x15,0x14,0x16, +0x33,0x32,0x36,0x3d,0x01,0x37,0x11,0x23,0x35,0x0e,0x01,0x23,0x22,0x26,0x35,0x34, +0x36,0x33,0x21,0x35,0x34,0x26,0x23,0x22,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x16, +0x02,0xbe,0xdf,0xac,0x81,0x6f,0x99,0xb9,0xb8,0xb8,0x3f,0xbc,0x88,0xac,0xcb,0xfd, +0xfb,0x01,0x02,0xa7,0x97,0x60,0xb6,0x54,0x65,0xbe,0x5a,0xf3,0xf0,0x02,0x33,0x66, +0x7b,0x62,0x73,0xd9,0xb4,0x29,0x4c,0xfd,0x81,0xaa,0x66,0x61,0xc1,0xa2,0xbd,0xc0, +0x12,0x7f,0x8b,0x2e,0x2e,0xaa,0x27,0x27,0xfc,0x00,0x00,0x02,0x00,0xba,0xff,0xe3, +0x04,0xa4,0x06,0x14,0x00,0x0b,0x00,0x1c,0x00,0x38,0x40,0x19,0x03,0xb9,0x0c,0x0f, +0x09,0xb9,0x18,0x15,0x8c,0x0f,0xb8,0x1b,0x97,0x19,0x00,0x12,0x12,0x47,0x18,0x0c, +0x06,0x08,0x1a,0x46,0x1d,0x10,0xfc,0xec,0x32,0x32,0xf4,0xec,0x31,0x00,0x2f,0xec, +0xe4,0xf4,0xc4,0xec,0x10,0xc6,0xee,0x30,0xb6,0x60,0x1e,0x80,0x1e,0xa0,0x1e,0x03, +0x01,0x5d,0x01,0x34,0x26,0x23,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x01,0x3e, +0x01,0x33,0x32,0x00,0x11,0x10,0x02,0x23,0x22,0x26,0x27,0x15,0x23,0x11,0x33,0x03, +0xe5,0xa7,0x92,0x92,0xa7,0xa7,0x92,0x92,0xa7,0xfd,0x8e,0x3a,0xb1,0x7b,0xcc,0x00, +0xff,0xff,0xcc,0x7b,0xb1,0x3a,0xb9,0xb9,0x02,0x2f,0xcb,0xe7,0xe7,0xcb,0xcb,0xe7, +0xe7,0x02,0x52,0x64,0x61,0xfe,0xbc,0xfe,0xf8,0xfe,0xf8,0xfe,0xbc,0x61,0x64,0xa8, +0x06,0x14,0x00,0x01,0x00,0x71,0xff,0xe3,0x03,0xe7,0x04,0x7b,0x00,0x19,0x00,0x3f, +0x40,0x1b,0x00,0x86,0x01,0x88,0x04,0x0e,0x86,0x0d,0x88,0x0a,0xb9,0x11,0x04,0xb9, +0x17,0xb8,0x11,0x8c,0x1a,0x07,0x12,0x0d,0x00,0x48,0x14,0x45,0x1a,0x10,0xfc,0xe4, +0x32,0xec,0x31,0x00,0x10,0xe4,0xf4,0xec,0x10,0xfe,0xf4,0xee,0x10,0xf5,0xee,0x30, +0x40,0x0b,0x0f,0x1b,0x10,0x1b,0x80,0x1b,0x90,0x1b,0xa0,0x1b,0x05,0x01,0x5d,0x01, +0x15,0x2e,0x01,0x23,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x37,0x15,0x0e,0x01, +0x23,0x22,0x00,0x11,0x10,0x00,0x21,0x32,0x16,0x03,0xe7,0x4e,0x9d,0x50,0xb3,0xc6, +0xc6,0xb3,0x50,0x9d,0x4e,0x4d,0xa5,0x5d,0xfd,0xfe,0xd6,0x01,0x2d,0x01,0x06,0x55, +0xa2,0x04,0x35,0xac,0x2b,0x2b,0xe3,0xcd,0xcd,0xe3,0x2b,0x2b,0xaa,0x24,0x24,0x01, +0x3e,0x01,0x0e,0x01,0x12,0x01,0x3a,0x23,0x00,0x02,0x00,0x71,0xff,0xe3,0x04,0x5a, +0x06,0x14,0x00,0x10,0x00,0x1c,0x00,0x38,0x40,0x19,0x1a,0xb9,0x00,0x0e,0x14,0xb9, +0x05,0x08,0x8c,0x0e,0xb8,0x01,0x97,0x03,0x17,0x04,0x00,0x08,0x02,0x47,0x11,0x12, +0x0b,0x45,0x1d,0x10,0xfc,0xec,0xf4,0xec,0x32,0x32,0x31,0x00,0x2f,0xec,0xe4,0xf4, +0xc4,0xec,0x10,0xc4,0xee,0x30,0xb6,0x60,0x1e,0x80,0x1e,0xa0,0x1e,0x03,0x01,0x5d, +0x01,0x11,0x33,0x11,0x23,0x35,0x0e,0x01,0x23,0x22,0x02,0x11,0x10,0x00,0x33,0x32, +0x16,0x01,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x23,0x22,0x06,0x03,0xa2,0xb8, +0xb8,0x3a,0xb1,0x7c,0xcb,0xff,0x00,0xff,0xcb,0x7c,0xb1,0xfd,0xc7,0xa7,0x92,0x92, +0xa8,0xa8,0x92,0x92,0xa7,0x03,0xb6,0x02,0x5e,0xf9,0xec,0xa8,0x64,0x61,0x01,0x44, +0x01,0x08,0x01,0x08,0x01,0x44,0x61,0xfe,0x15,0xcb,0xe7,0xe7,0xcb,0xcb,0xe7,0xe7, +0x00,0x02,0x00,0x71,0xff,0xe3,0x04,0x7f,0x04,0x7b,0x00,0x14,0x00,0x1b,0x00,0x70, +0x40,0x24,0x00,0x15,0x01,0x09,0x86,0x08,0x88,0x05,0x15,0xa9,0x01,0x05,0xb9,0x0c, +0x01,0xbb,0x18,0xb9,0x12,0xb8,0x0c,0x8c,0x1c,0x1b,0x15,0x02,0x08,0x15,0x08,0x00, +0x4b,0x02,0x12,0x0f,0x45,0x1c,0x10,0xfc,0xec,0xf4,0xec,0xc4,0x11,0x12,0x39,0x31, +0x00,0x10,0xe4,0xf4,0xec,0xe4,0x10,0xee,0x10,0xee,0x10,0xf4,0xee,0x11,0x12,0x39, +0x30,0x40,0x29,0x3f,0x1d,0x70,0x1d,0xa0,0x1d,0xd0,0x1d,0xf0,0x1d,0x05,0x3f,0x00, +0x3f,0x01,0x3f,0x02,0x3f,0x15,0x3f,0x1b,0x05,0x2c,0x07,0x2f,0x08,0x2f,0x09,0x2c, +0x0a,0x6f,0x00,0x6f,0x01,0x6f,0x02,0x6f,0x15,0x6f,0x1b,0x09,0x5d,0x71,0x01,0x5d, +0x01,0x15,0x21,0x1e,0x01,0x33,0x32,0x36,0x37,0x15,0x0e,0x01,0x23,0x20,0x00,0x11, +0x10,0x00,0x33,0x32,0x00,0x07,0x2e,0x01,0x23,0x22,0x06,0x07,0x04,0x7f,0xfc,0xb2, +0x0c,0xcd,0xb7,0x6a,0xc7,0x62,0x63,0xd0,0x6b,0xfe,0xf4,0xfe,0xc7,0x01,0x29,0xfc, +0xe2,0x01,0x07,0xb8,0x02,0xa5,0x88,0x9a,0xb9,0x0e,0x02,0x5e,0x5a,0xbe,0xc7,0x34, +0x34,0xae,0x2a,0x2c,0x01,0x38,0x01,0x0a,0x01,0x13,0x01,0x43,0xfe,0xdd,0xc4,0x97, +0xb4,0xae,0x9e,0x00,0x00,0x01,0x00,0x2f,0x00,0x00,0x02,0xf8,0x06,0x14,0x00,0x13, +0x00,0x59,0x40,0x1c,0x05,0x10,0x01,0x0c,0x08,0xa9,0x06,0x01,0x87,0x00,0x97,0x0e, +0x06,0xbc,0x0a,0x02,0x13,0x07,0x00,0x07,0x09,0x05,0x08,0x0d,0x0f,0x0b,0x4c,0x14, +0x10,0xfc,0x4b,0xb0,0x0a,0x54,0x58,0xb9,0x00,0x0b,0x00,0x40,0x38,0x59,0x4b,0xb0, +0x0e,0x54,0x58,0xb9,0x00,0x0b,0xff,0xc0,0x38,0x59,0x3c,0xc4,0xfc,0x3c,0xc4,0xc4, +0x12,0x39,0x39,0x31,0x00,0x2f,0xe4,0x32,0xfc,0xec,0x10,0xee,0x32,0x12,0x39,0x39, +0x30,0x01,0xb6,0x40,0x15,0x50,0x15,0xa0,0x15,0x03,0x5d,0x01,0x15,0x23,0x22,0x06, +0x1d,0x01,0x21,0x15,0x21,0x11,0x23,0x11,0x23,0x35,0x33,0x35,0x34,0x36,0x33,0x02, +0xf8,0xb0,0x63,0x4d,0x01,0x2f,0xfe,0xd1,0xb9,0xb0,0xb0,0xae,0xbd,0x06,0x14,0x99, +0x50,0x68,0x63,0x8f,0xfc,0x2f,0x03,0xd1,0x8f,0x4e,0xbb,0xab,0x00,0x02,0x00,0x71, +0xfe,0x56,0x04,0x5a,0x04,0x7b,0x00,0x0b,0x00,0x28,0x00,0x4a,0x40,0x23,0x19,0x0c, +0x1d,0x09,0x12,0x86,0x13,0x16,0xb9,0x0f,0x03,0xb9,0x26,0x23,0xb8,0x27,0xbc,0x09, +0xb9,0x0f,0xbd,0x1a,0x1d,0x26,0x19,0x00,0x08,0x0c,0x47,0x06,0x12,0x12,0x20,0x45, +0x29,0x10,0xfc,0xc4,0xec,0xf4,0xec,0x32,0x32,0x31,0x00,0x2f,0xc4,0xe4,0xec,0xe4, +0xf4,0xc4,0xec,0x10,0xfe,0xd5,0xee,0x11,0x12,0x39,0x39,0x30,0xb6,0x60,0x2a,0x80, +0x2a,0xa0,0x2a,0x03,0x01,0x5d,0x01,0x34,0x26,0x23,0x22,0x06,0x15,0x14,0x16,0x33, +0x32,0x36,0x17,0x10,0x02,0x21,0x22,0x26,0x27,0x35,0x1e,0x01,0x33,0x32,0x36,0x3d, +0x01,0x0e,0x01,0x23,0x22,0x02,0x11,0x10,0x12,0x33,0x32,0x16,0x17,0x35,0x33,0x03, +0xa2,0xa5,0x95,0x94,0xa5,0xa5,0x94,0x95,0xa5,0xb8,0xfe,0xfe,0xfa,0x61,0xac,0x51, +0x51,0x9e,0x52,0xb5,0xb4,0x39,0xb2,0x7c,0xce,0xfc,0xfc,0xce,0x7c,0xb2,0x39,0xb8, +0x02,0x3d,0xc8,0xdc,0xdc,0xc8,0xc7,0xdc,0xdc,0xeb,0xfe,0xe2,0xfe,0xe9,0x1d,0x1e, +0xb3,0x2c,0x2a,0xbd,0xbf,0x5b,0x63,0x62,0x01,0x3a,0x01,0x03,0x01,0x04,0x01,0x3a, +0x62,0x63,0xaa,0x00,0x00,0x01,0x00,0xba,0x00,0x00,0x04,0x64,0x06,0x14,0x00,0x13, +0x00,0x34,0x40,0x19,0x03,0x09,0x00,0x03,0x0e,0x01,0x06,0x87,0x0e,0x11,0xb8,0x0c, +0x97,0x0a,0x01,0x02,0x08,0x00,0x4e,0x0d,0x09,0x08,0x0b,0x46,0x14,0x10,0xfc,0xec, +0x32,0xf4,0xec,0x31,0x00,0x2f,0x3c,0xec,0xf4,0xc4,0xec,0x11,0x12,0x17,0x39,0x30, +0xb2,0x60,0x15,0x01,0x01,0x5d,0x01,0x11,0x23,0x11,0x34,0x26,0x23,0x22,0x06,0x15, +0x11,0x23,0x11,0x33,0x11,0x3e,0x01,0x33,0x32,0x16,0x04,0x64,0xb8,0x7c,0x7c,0x95, +0xac,0xb9,0xb9,0x42,0xb3,0x75,0xc1,0xc6,0x02,0xa4,0xfd,0x5c,0x02,0x9e,0x9f,0x9e, +0xbe,0xa4,0xfd,0x87,0x06,0x14,0xfd,0x9e,0x65,0x64,0xef,0x00,0x00,0x02,0x00,0xc1, +0x00,0x00,0x01,0x79,0x06,0x14,0x00,0x03,0x00,0x07,0x00,0x2b,0x40,0x0e,0x06,0xbe, +0x04,0xb1,0x00,0xbc,0x02,0x05,0x01,0x08,0x04,0x00,0x46,0x08,0x10,0xfc,0x3c,0xec, +0x32,0x31,0x00,0x2f,0xe4,0xfc,0xec,0x30,0x40,0x0b,0x10,0x09,0x40,0x09,0x50,0x09, +0x60,0x09,0x70,0x09,0x05,0x01,0x5d,0x13,0x33,0x11,0x23,0x11,0x33,0x15,0x23,0xc1, +0xb8,0xb8,0xb8,0xb8,0x04,0x60,0xfb,0xa0,0x06,0x14,0xe9,0x00,0x00,0x02,0xff,0xdb, +0xfe,0x56,0x01,0x79,0x06,0x14,0x00,0x0b,0x00,0x0f,0x00,0x44,0x40,0x1c,0x0b,0x02, +0x07,0x00,0x0e,0xbe,0x0c,0x07,0x87,0x05,0xbd,0x00,0xbc,0x0c,0xb1,0x10,0x08,0x10, +0x05,0x06,0x4f,0x0d,0x01,0x08,0x0c,0x00,0x46,0x10,0x10,0xfc,0x3c,0xec,0x32,0xe4, +0x39,0x12,0x39,0x31,0x00,0x10,0xec,0xe4,0xf4,0xec,0x10,0xee,0x11,0x12,0x39,0x39, +0x30,0x40,0x0b,0x10,0x11,0x40,0x11,0x50,0x11,0x60,0x11,0x70,0x11,0x05,0x01,0x5d, +0x13,0x33,0x11,0x14,0x06,0x2b,0x01,0x35,0x33,0x32,0x36,0x35,0x11,0x33,0x15,0x23, +0xc1,0xb8,0xa3,0xb5,0x46,0x31,0x69,0x4c,0xb8,0xb8,0x04,0x60,0xfb,0x8c,0xd6,0xc0, +0x9c,0x61,0x99,0x06,0x28,0xe9,0x00,0x01,0x00,0xba,0x00,0x00,0x04,0x9c,0x06,0x14, +0x00,0x0a,0x00,0xbc,0x40,0x29,0x08,0x11,0x05,0x06,0x05,0x07,0x11,0x06,0x06,0x05, +0x03,0x11,0x04,0x05,0x04,0x02,0x11,0x05,0x05,0x04,0x42,0x08,0x05,0x02,0x03,0x03, +0xbc,0x00,0x97,0x09,0x06,0x05,0x01,0x04,0x06,0x08,0x01,0x08,0x00,0x46,0x0b,0x10, +0xfc,0xec,0x32,0xd4,0xc4,0x11,0x39,0x31,0x00,0x2f,0x3c,0xec,0xe4,0x17,0x39,0x30, +0x4b,0x53,0x58,0x07,0x10,0x04,0xed,0x07,0x10,0x05,0xed,0x07,0x10,0x05,0xed,0x07, +0x10,0x04,0xed,0x59,0x22,0xb2,0x10,0x0c,0x01,0x01,0x5d,0x40,0x5f,0x04,0x02,0x0a, +0x08,0x16,0x02,0x27,0x02,0x29,0x05,0x2b,0x08,0x56,0x02,0x66,0x02,0x67,0x08,0x73, +0x02,0x77,0x05,0x82,0x02,0x89,0x05,0x8e,0x08,0x93,0x02,0x96,0x05,0x97,0x08,0xa3, +0x02,0x12,0x09,0x05,0x09,0x06,0x02,0x0b,0x03,0x0a,0x07,0x28,0x03,0x27,0x04,0x28, +0x05,0x2b,0x06,0x2b,0x07,0x40,0x0c,0x68,0x03,0x60,0x0c,0x89,0x03,0x85,0x04,0x89, +0x05,0x8d,0x06,0x8f,0x07,0x9a,0x03,0x97,0x07,0xaa,0x03,0xa7,0x05,0xb6,0x07,0xc5, +0x07,0xd6,0x07,0xf7,0x03,0xf0,0x03,0xf7,0x04,0xf0,0x04,0x1a,0x5d,0x71,0x00,0x5d, +0x13,0x33,0x11,0x01,0x33,0x09,0x01,0x23,0x01,0x11,0x23,0xba,0xb9,0x02,0x25,0xeb, +0xfd,0xae,0x02,0x6b,0xf0,0xfd,0xc7,0xb9,0x06,0x14,0xfc,0x69,0x01,0xe3,0xfd,0xf4, +0xfd,0xac,0x02,0x23,0xfd,0xdd,0x00,0x01,0x00,0xc1,0x00,0x00,0x01,0x79,0x06,0x14, +0x00,0x03,0x00,0x22,0xb7,0x00,0x97,0x02,0x01,0x08,0x00,0x46,0x04,0x10,0xfc,0xec, +0x31,0x00,0x2f,0xec,0x30,0x40,0x0d,0x10,0x05,0x40,0x05,0x50,0x05,0x60,0x05,0x70, +0x05,0xf0,0x05,0x06,0x01,0x5d,0x13,0x33,0x11,0x23,0xc1,0xb8,0xb8,0x06,0x14,0xf9, +0xec,0x00,0x00,0x01,0x00,0xba,0x00,0x00,0x07,0x1d,0x04,0x7b,0x00,0x22,0x00,0x5a, +0x40,0x26,0x06,0x12,0x09,0x18,0x0f,0x00,0x06,0x1d,0x07,0x15,0x0c,0x87,0x1d,0x20, +0x03,0xb8,0x1b,0xbc,0x19,0x10,0x07,0x00,0x11,0x0f,0x08,0x08,0x06,0x50,0x11,0x08, +0x0f,0x50,0x1c,0x18,0x08,0x1a,0x46,0x23,0x10,0xfc,0xec,0x32,0xfc,0xfc,0xfc,0xec, +0x11,0x12,0x39,0x31,0x00,0x2f,0x3c,0x3c,0xe4,0xf4,0x3c,0xc4,0xec,0x32,0x11,0x12, +0x17,0x39,0x30,0x40,0x13,0x30,0x24,0x50,0x24,0x70,0x24,0x90,0x24,0xa0,0x24,0xa0, +0x24,0xbf,0x24,0xdf,0x24,0xff,0x24,0x09,0x01,0x5d,0x01,0x3e,0x01,0x33,0x32,0x16, +0x15,0x11,0x23,0x11,0x34,0x26,0x23,0x22,0x06,0x15,0x11,0x23,0x11,0x34,0x26,0x23, +0x22,0x06,0x15,0x11,0x23,0x11,0x33,0x15,0x3e,0x01,0x33,0x32,0x16,0x04,0x29,0x45, +0xc0,0x82,0xaf,0xbe,0xb9,0x72,0x75,0x8f,0xa6,0xb9,0x72,0x77,0x8d,0xa6,0xb9,0xb9, +0x3f,0xb0,0x79,0x7a,0xab,0x03,0x89,0x7c,0x76,0xf5,0xe2,0xfd,0x5c,0x02,0x9e,0xa1, +0x9c,0xbe,0xa4,0xfd,0x87,0x02,0x9e,0xa2,0x9b,0xbf,0xa3,0xfd,0x87,0x04,0x60,0xae, +0x67,0x62,0x7c,0x00,0x00,0x01,0x00,0xba,0x00,0x00,0x04,0x64,0x04,0x7b,0x00,0x13, +0x00,0x36,0x40,0x19,0x03,0x09,0x00,0x03,0x0e,0x01,0x06,0x87,0x0e,0x11,0xb8,0x0c, +0xbc,0x0a,0x01,0x02,0x08,0x00,0x4e,0x0d,0x09,0x08,0x0b,0x46,0x14,0x10,0xfc,0xec, +0x32,0xf4,0xec,0x31,0x00,0x2f,0x3c,0xe4,0xf4,0xc4,0xec,0x11,0x12,0x17,0x39,0x30, +0xb4,0x60,0x15,0xcf,0x15,0x02,0x01,0x5d,0x01,0x11,0x23,0x11,0x34,0x26,0x23,0x22, +0x06,0x15,0x11,0x23,0x11,0x33,0x15,0x3e,0x01,0x33,0x32,0x16,0x04,0x64,0xb8,0x7c, +0x7c,0x95,0xac,0xb9,0xb9,0x42,0xb3,0x75,0xc1,0xc6,0x02,0xa4,0xfd,0x5c,0x02,0x9e, +0x9f,0x9e,0xbe,0xa4,0xfd,0x87,0x04,0x60,0xae,0x65,0x64,0xef,0x00,0x02,0x00,0x71, +0xff,0xe3,0x04,0x75,0x04,0x7b,0x00,0x0b,0x00,0x17,0x00,0x4a,0x40,0x13,0x06,0xb9, +0x12,0x00,0xb9,0x0c,0xb8,0x12,0x8c,0x18,0x09,0x12,0x0f,0x51,0x03,0x12,0x15,0x45, +0x18,0x10,0xfc,0xec,0xf4,0xec,0x31,0x00,0x10,0xe4,0xf4,0xec,0x10,0xee,0x30,0x40, +0x23,0x3f,0x19,0x7b,0x00,0x7b,0x06,0x7f,0x07,0x7f,0x08,0x7f,0x09,0x7f,0x0a,0x7f, +0x0b,0x7b,0x0c,0x7f,0x0d,0x7f,0x0e,0x7f,0x0f,0x7f,0x10,0x7f,0x11,0x7b,0x12,0xa0, +0x19,0xf0,0x19,0x11,0x01,0x5d,0x01,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x35, +0x34,0x26,0x27,0x32,0x00,0x11,0x10,0x00,0x23,0x22,0x00,0x11,0x10,0x00,0x02,0x73, +0x94,0xac,0xab,0x95,0x93,0xac,0xac,0x93,0xf0,0x01,0x12,0xfe,0xee,0xf0,0xf1,0xfe, +0xef,0x01,0x11,0x03,0xdf,0xe7,0xc9,0xc9,0xe7,0xe8,0xc8,0xc7,0xe9,0x9c,0xfe,0xc8, +0xfe,0xec,0xfe,0xed,0xfe,0xc7,0x01,0x39,0x01,0x13,0x01,0x14,0x01,0x38,0x00,0x02, +0x00,0xba,0xfe,0x56,0x04,0xa4,0x04,0x7b,0x00,0x10,0x00,0x1c,0x00,0x3e,0x40,0x1b, +0x1a,0xb9,0x00,0x0e,0x14,0xb9,0x05,0x08,0xb8,0x0e,0x8c,0x01,0xbd,0x03,0xbc,0x1d, +0x11,0x12,0x0b,0x47,0x17,0x04,0x00,0x08,0x02,0x46,0x1d,0x10,0xfc,0xec,0x32,0x32, +0xf4,0xec,0x31,0x00,0x10,0xe4,0xe4,0xe4,0xf4,0xc4,0xec,0x10,0xc4,0xee,0x30,0x40, +0x09,0x60,0x1e,0x80,0x1e,0xa0,0x1e,0xe0,0x1e,0x04,0x01,0x5d,0x25,0x11,0x23,0x11, +0x33,0x15,0x3e,0x01,0x33,0x32,0x00,0x11,0x10,0x02,0x23,0x22,0x26,0x01,0x34,0x26, +0x23,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x01,0x73,0xb9,0xb9,0x3a,0xb1,0x7b, +0xcc,0x00,0xff,0xff,0xcc,0x7b,0xb1,0x02,0x38,0xa7,0x92,0x92,0xa7,0xa7,0x92,0x92, +0xa7,0xa8,0xfd,0xae,0x06,0x0a,0xaa,0x64,0x61,0xfe,0xbc,0xfe,0xf8,0xfe,0xf8,0xfe, +0xbc,0x61,0x01,0xeb,0xcb,0xe7,0xe7,0xcb,0xcb,0xe7,0xe7,0x00,0x00,0x02,0x00,0x71, +0xfe,0x56,0x04,0x5a,0x04,0x7b,0x00,0x0b,0x00,0x1c,0x00,0x3e,0x40,0x1b,0x03,0xb9, +0x0c,0x0f,0x09,0xb9,0x18,0x15,0xb8,0x0f,0x8c,0x1b,0xbd,0x19,0xbc,0x1d,0x18,0x0c, +0x06,0x08,0x1a,0x47,0x00,0x12,0x12,0x45,0x1d,0x10,0xfc,0xec,0xf4,0xec,0x32,0x32, +0x31,0x00,0x10,0xe4,0xe4,0xe4,0xf4,0xc4,0xec,0x10,0xc6,0xee,0x30,0x40,0x09,0x60, +0x1e,0x80,0x1e,0xa0,0x1e,0xe0,0x1e,0x04,0x01,0x5d,0x01,0x14,0x16,0x33,0x32,0x36, +0x35,0x34,0x26,0x23,0x22,0x06,0x01,0x0e,0x01,0x23,0x22,0x02,0x11,0x10,0x00,0x33, +0x32,0x16,0x17,0x35,0x33,0x11,0x23,0x01,0x2f,0xa7,0x92,0x92,0xa8,0xa8,0x92,0x92, +0xa7,0x02,0x73,0x3a,0xb1,0x7c,0xcb,0xff,0x00,0xff,0xcb,0x7c,0xb1,0x3a,0xb8,0xb8, +0x02,0x2f,0xcb,0xe7,0xe7,0xcb,0xcb,0xe7,0xe7,0xfd,0xae,0x64,0x61,0x01,0x44,0x01, +0x08,0x01,0x08,0x01,0x44,0x61,0x64,0xaa,0xf9,0xf6,0x00,0x01,0x00,0xba,0x00,0x00, +0x03,0x4a,0x04,0x7b,0x00,0x11,0x00,0x30,0x40,0x14,0x06,0x0b,0x07,0x00,0x11,0x0b, +0x03,0x87,0x0e,0xb8,0x09,0xbc,0x07,0x0a,0x06,0x08,0x00,0x08,0x46,0x12,0x10,0xfc, +0xc4,0xec,0x32,0x31,0x00,0x2f,0xe4,0xf4,0xec,0xc4,0xd4,0xcc,0x11,0x12,0x39,0x30, +0xb4,0x50,0x13,0x9f,0x13,0x02,0x01,0x5d,0x01,0x2e,0x01,0x23,0x22,0x06,0x15,0x11, +0x23,0x11,0x33,0x15,0x3e,0x01,0x33,0x32,0x16,0x17,0x03,0x4a,0x1f,0x49,0x2c,0x9c, +0xa7,0xb9,0xb9,0x3a,0xba,0x85,0x13,0x2e,0x1c,0x03,0xb4,0x12,0x11,0xcb,0xbe,0xfd, +0xb2,0x04,0x60,0xae,0x66,0x63,0x05,0x05,0x00,0x01,0x00,0x6f,0xff,0xe3,0x03,0xc7, +0x04,0x7b,0x00,0x27,0x00,0xe7,0x40,0x3c,0x0d,0x0c,0x02,0x0e,0x0b,0x53,0x1f,0x1e, +0x08,0x09,0x02,0x07,0x0a,0x53,0x1e,0x1f,0x1e,0x42,0x0a,0x0b,0x1e,0x1f,0x04,0x15, +0x00,0x86,0x01,0x89,0x04,0x14,0x86,0x15,0x89,0x18,0xb9,0x11,0x04,0xb9,0x25,0xb8, +0x11,0x8c,0x28,0x1e,0x0a,0x0b,0x1f,0x1b,0x07,0x00,0x52,0x1b,0x08,0x0e,0x07,0x08, +0x14,0x22,0x45,0x28,0x10,0xfc,0xc4,0xec,0xd4,0xec,0xe4,0x11,0x12,0x39,0x39,0x39, +0x39,0x31,0x00,0x10,0xe4,0xf4,0xec,0x10,0xfe,0xf5,0xee,0x10,0xf5,0xee,0x12,0x17, +0x39,0x30,0x4b,0x53,0x58,0x07,0x10,0x0e,0xed,0x11,0x17,0x39,0x07,0x0e,0xed,0x11, +0x17,0x39,0x59,0x22,0xb2,0x00,0x27,0x01,0x01,0x5d,0x40,0x6d,0x1c,0x0a,0x1c,0x0b, +0x1c,0x0c,0x2e,0x09,0x2c,0x0a,0x2c,0x0b,0x2c,0x0c,0x3b,0x09,0x3b,0x0a,0x3b,0x0b, +0x3b,0x0c,0x0b,0x20,0x00,0x20,0x01,0x24,0x02,0x28,0x0a,0x28,0x0b,0x2a,0x13,0x2f, +0x14,0x2f,0x15,0x2a,0x16,0x28,0x1e,0x28,0x1f,0x29,0x20,0x29,0x21,0x24,0x27,0x86, +0x0a,0x86,0x0b,0x86,0x0c,0x86,0x0d,0x12,0x00,0x00,0x00,0x01,0x02,0x02,0x06,0x0a, +0x06,0x0b,0x03,0x0c,0x03,0x0d,0x03,0x0e,0x03,0x0f,0x03,0x10,0x03,0x19,0x03,0x1a, +0x03,0x1b,0x03,0x1c,0x04,0x1d,0x09,0x27,0x2f,0x29,0x3f,0x29,0x5f,0x29,0x7f,0x29, +0x80,0x29,0x90,0x29,0xa0,0x29,0xf0,0x29,0x18,0x5d,0x00,0x5d,0x71,0x01,0x15,0x2e, +0x01,0x23,0x22,0x06,0x15,0x14,0x16,0x1f,0x01,0x1e,0x01,0x15,0x14,0x06,0x23,0x22, +0x26,0x27,0x35,0x1e,0x01,0x33,0x32,0x36,0x35,0x34,0x26,0x2f,0x01,0x2e,0x01,0x35, +0x34,0x36,0x33,0x32,0x16,0x03,0x8b,0x4e,0xa8,0x5a,0x89,0x89,0x62,0x94,0x3f,0xc4, +0xa5,0xf7,0xd8,0x5a,0xc3,0x6c,0x66,0xc6,0x61,0x82,0x8c,0x65,0xab,0x40,0xab,0x98, +0xe0,0xce,0x66,0xb4,0x04,0x3f,0xae,0x28,0x28,0x54,0x54,0x40,0x49,0x21,0x0e,0x2a, +0x99,0x89,0x9c,0xb6,0x23,0x23,0xbe,0x35,0x35,0x59,0x51,0x4b,0x50,0x25,0x0f,0x24, +0x95,0x82,0x9e,0xac,0x1e,0x00,0x00,0x01,0x00,0x37,0x00,0x00,0x02,0xf2,0x05,0x9e, +0x00,0x13,0x00,0x38,0x40,0x19,0x0e,0x05,0x08,0x0f,0x03,0xa9,0x00,0x11,0x01,0xbc, +0x08,0x87,0x0a,0x0b,0x08,0x09,0x02,0x04,0x00,0x08,0x10,0x12,0x0e,0x46,0x14,0x10, +0xfc,0x3c,0xc4,0xfc,0x3c,0xc4,0x32,0x39,0x39,0x31,0x00,0x2f,0xec,0xf4,0x3c,0xc4, +0xec,0x32,0x11,0x39,0x39,0x30,0xb2,0xaf,0x15,0x01,0x01,0x5d,0x01,0x11,0x21,0x15, +0x21,0x11,0x14,0x16,0x3b,0x01,0x15,0x23,0x22,0x26,0x35,0x11,0x23,0x35,0x33,0x11, +0x01,0x77,0x01,0x7b,0xfe,0x85,0x4b,0x73,0xbd,0xbd,0xd5,0xa2,0x87,0x87,0x05,0x9e, +0xfe,0xc2,0x8f,0xfd,0xa0,0x89,0x4e,0x9a,0x9f,0xd2,0x02,0x60,0x8f,0x01,0x3e,0x00, +0x00,0x01,0x00,0xae,0xff,0xe3,0x04,0x58,0x04,0x60,0x00,0x13,0x00,0x36,0x40,0x19, +0x03,0x09,0x00,0x03,0x0e,0x01,0x06,0x87,0x0e,0x11,0x8c,0x0a,0x01,0xbc,0x0c,0x0d, +0x09,0x08,0x0b,0x4e,0x02,0x08,0x00,0x46,0x14,0x10,0xfc,0xec,0xf4,0xec,0x32,0x31, +0x00,0x2f,0xe4,0x32,0xf4,0xc4,0xec,0x11,0x12,0x17,0x39,0x30,0xb4,0x60,0x15,0xcf, +0x15,0x02,0x01,0x5d,0x13,0x11,0x33,0x11,0x14,0x16,0x33,0x32,0x36,0x35,0x11,0x33, +0x11,0x23,0x35,0x0e,0x01,0x23,0x22,0x26,0xae,0xb8,0x7c,0x7c,0x95,0xad,0xb8,0xb8, +0x43,0xb1,0x75,0xc1,0xc8,0x01,0xba,0x02,0xa6,0xfd,0x61,0x9f,0x9f,0xbe,0xa4,0x02, +0x7b,0xfb,0xa0,0xac,0x66,0x63,0xf0,0x00,0x00,0x01,0x00,0x3d,0x00,0x00,0x04,0x7f, +0x04,0x60,0x00,0x06,0x00,0xfb,0x40,0x27,0x03,0x11,0x04,0x05,0x04,0x02,0x11,0x01, +0x02,0x05,0x05,0x04,0x02,0x11,0x03,0x02,0x06,0x00,0x06,0x01,0x11,0x00,0x00,0x06, +0x42,0x02,0x03,0x00,0xbf,0x05,0x06,0x05,0x03,0x02,0x01,0x05,0x04,0x00,0x07,0x10, +0xd4,0x4b,0xb0,0x0a,0x54,0x58,0xb9,0x00,0x00,0x00,0x40,0x38,0x59,0x4b,0xb0,0x14, +0x54,0x4b,0xb0,0x15,0x54,0x5b,0x58,0xb9,0x00,0x00,0xff,0xc0,0x38,0x59,0xc4,0x17, +0x39,0x31,0x00,0x2f,0xec,0x32,0x39,0x30,0x4b,0x53,0x58,0x07,0x10,0x05,0xed,0x07, +0x10,0x08,0xed,0x07,0x10,0x08,0xed,0x07,0x10,0x05,0xed,0x59,0x22,0x01,0x40,0x8e, +0x48,0x02,0x6a,0x02,0x7b,0x02,0x7f,0x02,0x86,0x02,0x80,0x02,0x91,0x02,0xa4,0x02, +0x08,0x06,0x00,0x06,0x01,0x09,0x03,0x09,0x04,0x15,0x00,0x15,0x01,0x1a,0x03,0x1a, +0x04,0x26,0x00,0x26,0x01,0x29,0x03,0x29,0x04,0x20,0x08,0x35,0x00,0x35,0x01,0x3a, +0x03,0x3a,0x04,0x30,0x08,0x46,0x00,0x46,0x01,0x49,0x03,0x49,0x04,0x46,0x05,0x48, +0x06,0x40,0x08,0x56,0x00,0x56,0x01,0x59,0x03,0x59,0x04,0x50,0x08,0x66,0x00,0x66, +0x01,0x69,0x03,0x69,0x04,0x67,0x05,0x68,0x06,0x60,0x08,0x75,0x00,0x74,0x01,0x7b, +0x03,0x7b,0x04,0x75,0x05,0x7a,0x06,0x85,0x00,0x85,0x01,0x89,0x03,0x89,0x04,0x89, +0x05,0x86,0x06,0x96,0x00,0x96,0x01,0x97,0x02,0x9a,0x03,0x98,0x04,0x98,0x05,0x97, +0x06,0xa8,0x05,0xa7,0x06,0xb0,0x08,0xc0,0x08,0xdf,0x08,0xff,0x08,0x3e,0x5d,0x00, +0x5d,0x13,0x33,0x09,0x01,0x33,0x01,0x23,0x3d,0xc3,0x01,0x5e,0x01,0x5e,0xc3,0xfe, +0x5c,0xfa,0x04,0x60,0xfc,0x54,0x03,0xac,0xfb,0xa0,0x00,0x01,0x00,0x56,0x00,0x00, +0x06,0x35,0x04,0x60,0x00,0x0c,0x01,0xeb,0x40,0x49,0x05,0x55,0x06,0x05,0x09,0x0a, +0x09,0x04,0x55,0x0a,0x09,0x03,0x55,0x0a,0x0b,0x0a,0x02,0x55,0x01,0x02,0x0b,0x0b, +0x0a,0x06,0x11,0x07,0x08,0x07,0x05,0x11,0x04,0x05,0x08,0x08,0x07,0x02,0x11,0x03, +0x02,0x0c,0x00,0x0c,0x01,0x11,0x00,0x00,0x0c,0x42,0x0a,0x05,0x02,0x03,0x06,0x03, +0x00,0xbf,0x0b,0x08,0x0c,0x0b,0x0a,0x09,0x08,0x06,0x05,0x04,0x03,0x02,0x01,0x0b, +0x07,0x00,0x0d,0x10,0xd4,0x4b,0xb0,0x0a,0x54,0x4b,0xb0,0x11,0x54,0x5b,0x4b,0xb0, +0x12,0x54,0x5b,0x4b,0xb0,0x13,0x54,0x5b,0x4b,0xb0,0x0b,0x54,0x5b,0x58,0xb9,0x00, +0x00,0x00,0x40,0x38,0x59,0x01,0x4b,0xb0,0x0c,0x54,0x4b,0xb0,0x0d,0x54,0x5b,0x4b, +0xb0,0x10,0x54,0x5b,0x58,0xb9,0x00,0x00,0xff,0xc0,0x38,0x59,0xcc,0x17,0x39,0x31, +0x00,0x2f,0x3c,0xec,0x32,0x32,0x17,0x39,0x30,0x4b,0x53,0x58,0x07,0x10,0x05,0xed, +0x07,0x10,0x08,0xed,0x07,0x10,0x08,0xed,0x07,0x10,0x05,0xed,0x07,0x10,0x08,0xed, +0x07,0x10,0x05,0xed,0x07,0x05,0xed,0x07,0x10,0x08,0xed,0x59,0x22,0x01,0x40,0xff, +0x05,0x02,0x16,0x02,0x16,0x05,0x22,0x0a,0x35,0x0a,0x49,0x02,0x49,0x05,0x46,0x0a, +0x40,0x0a,0x5b,0x02,0x5b,0x05,0x55,0x0a,0x50,0x0a,0x6e,0x02,0x6e,0x05,0x66,0x0a, +0x79,0x02,0x7f,0x02,0x79,0x05,0x7f,0x05,0x87,0x02,0x99,0x02,0x98,0x05,0x94,0x0a, +0xbc,0x02,0xbc,0x05,0xce,0x02,0xc7,0x03,0xcf,0x05,0x1d,0x05,0x02,0x09,0x03,0x06, +0x04,0x0b,0x05,0x0a,0x08,0x0b,0x09,0x04,0x0b,0x05,0x0c,0x15,0x02,0x19,0x03,0x16, +0x04,0x1a,0x05,0x1b,0x08,0x1b,0x09,0x14,0x0b,0x15,0x0c,0x25,0x00,0x25,0x01,0x23, +0x02,0x27,0x03,0x21,0x04,0x25,0x05,0x22,0x06,0x22,0x07,0x25,0x08,0x27,0x09,0x24, +0x0a,0x21,0x0b,0x23,0x0c,0x39,0x03,0x36,0x04,0x36,0x08,0x39,0x0c,0x30,0x0e,0x46, +0x02,0x48,0x03,0x46,0x04,0x40,0x04,0x42,0x05,0x40,0x06,0x40,0x07,0x40,0x08,0x44, +0x09,0x44,0x0a,0x44,0x0b,0x40,0x0e,0x40,0x0e,0x56,0x00,0x56,0x01,0x56,0x02,0x50, +0x04,0x51,0x05,0x52,0x06,0x52,0x07,0x50,0x08,0x53,0x09,0x54,0x0a,0x55,0x0b,0x63, +0x00,0x64,0x01,0x65,0x02,0x6a,0x03,0x65,0x04,0x6a,0x05,0x6a,0x06,0x6a,0x07,0x6e, +0x09,0x61,0x0b,0x67,0x0c,0x6f,0x0e,0x75,0x00,0x75,0x01,0x79,0x02,0x7d,0x03,0x78, +0x04,0x7d,0x05,0x7a,0x06,0x7f,0x06,0x7a,0x07,0x7f,0x07,0x78,0x08,0x79,0x09,0x7f, +0x09,0x7b,0x0a,0x76,0x0b,0x7d,0x0c,0x87,0x02,0x88,0x05,0x8f,0x0e,0x97,0x00,0x97, +0x01,0x94,0x02,0x93,0x03,0x9c,0x04,0x9b,0x05,0x98,0x06,0x98,0x07,0x99,0x08,0x40, +0x2f,0x96,0x0c,0x9f,0x0e,0xa6,0x00,0xa6,0x01,0xa4,0x02,0xa4,0x03,0xab,0x04,0xab, +0x05,0xa9,0x06,0xa9,0x07,0xab,0x08,0xa4,0x0c,0xaf,0x0e,0xb5,0x02,0xb1,0x03,0xbd, +0x04,0xbb,0x05,0xb8,0x09,0xbf,0x0e,0xc4,0x02,0xc3,0x03,0xcc,0x04,0xca,0x05,0x79, +0x5d,0x00,0x5d,0x13,0x33,0x1b,0x01,0x33,0x1b,0x01,0x33,0x01,0x23,0x0b,0x01,0x23, +0x56,0xb8,0xe6,0xe5,0xd9,0xe6,0xe5,0xb8,0xfe,0xdb,0xd9,0xf1,0xf2,0xd9,0x04,0x60, +0xfc,0x96,0x03,0x6a,0xfc,0x96,0x03,0x6a,0xfb,0xa0,0x03,0x96,0xfc,0x6a,0x00,0x01, +0x00,0x3b,0x00,0x00,0x04,0x79,0x04,0x60,0x00,0x0b,0x01,0x43,0x40,0x46,0x05,0x11, +0x06,0x07,0x06,0x04,0x11,0x03,0x04,0x07,0x07,0x06,0x04,0x11,0x05,0x04,0x01,0x02, +0x01,0x03,0x11,0x02,0x02,0x01,0x0b,0x11,0x00,0x01,0x00,0x0a,0x11,0x09,0x0a,0x01, +0x01,0x00,0x0a,0x11,0x0b,0x0a,0x07,0x08,0x07,0x09,0x11,0x08,0x08,0x07,0x42,0x0a, +0x07,0x04,0x01,0x04,0x08,0x00,0xbf,0x05,0x02,0x0a,0x07,0x04,0x01,0x04,0x08,0x00, +0x02,0x08,0x06,0x0c,0x10,0xd4,0x4b,0xb0,0x0a,0x54,0x4b,0xb0,0x0f,0x54,0x5b,0x4b, +0xb0,0x10,0x54,0x5b,0x4b,0xb0,0x11,0x54,0x5b,0x58,0xb9,0x00,0x06,0x00,0x40,0x38, +0x59,0x4b,0xb0,0x14,0x54,0x58,0xb9,0x00,0x06,0xff,0xc0,0x38,0x59,0xc4,0xd4,0xc4, +0x11,0x17,0x39,0x31,0x00,0x2f,0x3c,0xec,0x32,0x17,0x39,0x30,0x4b,0x53,0x58,0x07, +0x10,0x05,0xed,0x07,0x10,0x08,0xed,0x07,0x10,0x08,0xed,0x07,0x10,0x05,0xed,0x07, +0x10,0x05,0xed,0x07,0x10,0x08,0xed,0x07,0x10,0x08,0xed,0x07,0x10,0x05,0xed,0x59, +0x22,0x01,0x40,0x98,0x0a,0x04,0x04,0x0a,0x1a,0x04,0x15,0x0a,0x26,0x0a,0x3d,0x04, +0x31,0x0a,0x55,0x04,0x57,0x07,0x58,0x0a,0x66,0x0a,0x76,0x01,0x7a,0x04,0x76,0x07, +0x74,0x0a,0x8d,0x04,0x82,0x0a,0x99,0x04,0x9f,0x04,0x97,0x07,0x92,0x0a,0x90,0x0a, +0xa6,0x01,0xa9,0x04,0xaf,0x04,0xa5,0x07,0xa3,0x0a,0xa0,0x0a,0x1c,0x0a,0x03,0x04, +0x05,0x05,0x09,0x0a,0x0b,0x1a,0x03,0x15,0x05,0x15,0x09,0x1a,0x0b,0x29,0x03,0x26, +0x05,0x25,0x09,0x2a,0x0b,0x20,0x0d,0x3a,0x01,0x39,0x03,0x37,0x05,0x34,0x07,0x36, +0x09,0x39,0x0b,0x30,0x0d,0x49,0x03,0x46,0x05,0x45,0x09,0x4a,0x0b,0x40,0x0d,0x59, +0x00,0x56,0x01,0x59,0x02,0x59,0x03,0x57,0x05,0x56,0x06,0x59,0x07,0x56,0x08,0x56, +0x09,0x59,0x0b,0x50,0x0d,0x6f,0x0d,0x78,0x01,0x7f,0x0d,0x9b,0x01,0x94,0x07,0xab, +0x01,0xa4,0x07,0xb0,0x0d,0xcf,0x0d,0xdf,0x0d,0xff,0x0d,0x2f,0x5d,0x00,0x5d,0x09, +0x02,0x23,0x09,0x01,0x23,0x09,0x01,0x33,0x09,0x01,0x04,0x64,0xfe,0x6b,0x01,0xaa, +0xd9,0xfe,0xba,0xfe,0xba,0xd9,0x01,0xb3,0xfe,0x72,0xd9,0x01,0x29,0x01,0x29,0x04, +0x60,0xfd,0xdf,0xfd,0xc1,0x01,0xb8,0xfe,0x48,0x02,0x4a,0x02,0x16,0xfe,0x71,0x01, +0x8f,0x00,0x00,0x01,0x00,0x3d,0xfe,0x56,0x04,0x7f,0x04,0x60,0x00,0x0f,0x01,0x8b, +0x40,0x43,0x07,0x08,0x02,0x09,0x11,0x00,0x0f,0x0a,0x11,0x0b,0x0a,0x00,0x00,0x0f, +0x0e,0x11,0x0f,0x00,0x0f,0x0d,0x11,0x0c,0x0d,0x00,0x00,0x0f,0x0d,0x11,0x0e,0x0d, +0x0a,0x0b,0x0a,0x0c,0x11,0x0b,0x0b,0x0a,0x42,0x0d,0x0b,0x09,0x10,0x00,0x0b,0x05, +0x87,0x03,0xbd,0x0e,0x0b,0xbc,0x10,0x0e,0x0d,0x0c,0x0a,0x09,0x06,0x03,0x00,0x08, +0x0f,0x04,0x0f,0x0b,0x10,0x10,0xd4,0x4b,0xb0,0x0a,0x54,0x4b,0xb0,0x08,0x54,0x5b, +0x58,0xb9,0x00,0x0b,0x00,0x40,0x38,0x59,0x4b,0xb0,0x14,0x54,0x58,0xb9,0x00,0x0b, +0xff,0xc0,0x38,0x59,0xc4,0xc4,0x11,0x17,0x39,0x31,0x00,0x10,0xe4,0x32,0xf4,0xec, +0x11,0x39,0x11,0x39,0x12,0x39,0x30,0x4b,0x53,0x58,0x07,0x10,0x05,0xed,0x07,0x10, +0x08,0xed,0x07,0x10,0x08,0xed,0x07,0x10,0x05,0xed,0x07,0x10,0x08,0xed,0x07,0x05, +0xed,0x17,0x32,0x59,0x22,0x01,0x40,0xf0,0x06,0x00,0x05,0x08,0x06,0x09,0x03,0x0d, +0x16,0x0a,0x17,0x0d,0x10,0x0d,0x23,0x0d,0x35,0x0d,0x49,0x0a,0x4f,0x0a,0x4e,0x0d, +0x5a,0x09,0x5a,0x0a,0x6a,0x0a,0x87,0x0d,0x80,0x0d,0x93,0x0d,0x12,0x0a,0x00,0x0a, +0x09,0x06,0x0b,0x05,0x0c,0x0b,0x0e,0x0b,0x0f,0x17,0x01,0x15,0x02,0x10,0x04,0x10, +0x05,0x17,0x0a,0x14,0x0b,0x14,0x0c,0x1a,0x0e,0x1a,0x0f,0x27,0x00,0x24,0x01,0x24, +0x02,0x20,0x04,0x20,0x05,0x29,0x08,0x28,0x09,0x25,0x0a,0x24,0x0b,0x24,0x0c,0x27, +0x0d,0x2a,0x0e,0x2a,0x0f,0x20,0x11,0x37,0x00,0x35,0x01,0x35,0x02,0x30,0x04,0x30, +0x05,0x38,0x0a,0x36,0x0b,0x36,0x0c,0x38,0x0d,0x39,0x0e,0x39,0x0f,0x30,0x11,0x41, +0x00,0x40,0x01,0x40,0x02,0x40,0x03,0x40,0x04,0x40,0x05,0x40,0x06,0x40,0x07,0x40, +0x08,0x42,0x09,0x45,0x0a,0x47,0x0d,0x49,0x0e,0x49,0x0f,0x40,0x11,0x54,0x00,0x51, +0x01,0x51,0x02,0x55,0x03,0x50,0x04,0x50,0x05,0x56,0x06,0x55,0x07,0x56,0x08,0x57, +0x09,0x57,0x0a,0x55,0x0b,0x55,0x0c,0x59,0x0e,0x59,0x0f,0x50,0x11,0x66,0x01,0x66, +0x02,0x68,0x0a,0x69,0x0e,0x69,0x0f,0x60,0x11,0x7b,0x08,0x78,0x0e,0x78,0x0f,0x89, +0x00,0x8a,0x09,0x85,0x0b,0x85,0x0c,0x89,0x0d,0x89,0x0e,0x89,0x0f,0x99,0x09,0x95, +0x0b,0x95,0x0c,0x9a,0x0e,0x9a,0x0f,0xa4,0x0b,0xa4,0x0c,0xab,0x0e,0xab,0x0f,0xb0, +0x11,0xcf,0x11,0xdf,0x11,0xff,0x11,0x65,0x5d,0x00,0x5d,0x05,0x0e,0x01,0x2b,0x01, +0x35,0x33,0x32,0x36,0x3f,0x01,0x01,0x33,0x09,0x01,0x33,0x02,0x93,0x4e,0x94,0x7c, +0x93,0x6c,0x4c,0x54,0x33,0x21,0xfe,0x3b,0xc3,0x01,0x5e,0x01,0x5e,0xc3,0x68,0xc8, +0x7a,0x9a,0x48,0x86,0x54,0x04,0x4e,0xfc,0x94,0x03,0x6c,0x00,0x00,0x01,0x00,0x58, +0x00,0x00,0x03,0xdb,0x04,0x60,0x00,0x09,0x00,0x9d,0x40,0x1a,0x08,0x11,0x02,0x03, +0x02,0x03,0x11,0x07,0x08,0x07,0x42,0x08,0xa9,0x00,0xbc,0x03,0xa9,0x05,0x08,0x03, +0x01,0x00,0x04,0x01,0x06,0x0a,0x10,0xdc,0x4b,0xb0,0x0b,0x54,0x4b,0xb0,0x0c,0x54, +0x5b,0x58,0xb9,0x00,0x06,0xff,0xc0,0x38,0x59,0x4b,0xb0,0x13,0x54,0x58,0xb9,0x00, +0x06,0x00,0x40,0x38,0x59,0xc4,0x32,0xc4,0x11,0x39,0x39,0x31,0x00,0x2f,0xec,0xf4, +0xec,0x30,0x4b,0x53,0x58,0x07,0x10,0x05,0xed,0x07,0x10,0x05,0xed,0x59,0x22,0x01, +0x40,0x42,0x05,0x02,0x16,0x02,0x26,0x02,0x47,0x02,0x49,0x07,0x05,0x0b,0x08,0x0f, +0x0b,0x18,0x03,0x1b,0x08,0x2b,0x08,0x20,0x0b,0x36,0x03,0x39,0x08,0x30,0x0b,0x40, +0x01,0x40,0x02,0x45,0x03,0x40,0x04,0x40,0x05,0x43,0x08,0x57,0x03,0x59,0x08,0x5f, +0x0b,0x60,0x01,0x60,0x02,0x66,0x03,0x60,0x04,0x60,0x05,0x62,0x08,0x7f,0x0b,0x80, +0x0b,0xaf,0x0b,0x1b,0x5d,0x00,0x5d,0x13,0x21,0x15,0x01,0x21,0x15,0x21,0x35,0x01, +0x21,0x71,0x03,0x6a,0xfd,0x4c,0x02,0xb4,0xfc,0x7d,0x02,0xb4,0xfd,0x65,0x04,0x60, +0xa8,0xfc,0xdb,0x93,0xa8,0x03,0x25,0x00,0x00,0x01,0x01,0x00,0xfe,0xb2,0x04,0x17, +0x06,0x14,0x00,0x24,0x00,0x77,0x40,0x34,0x19,0x0f,0x15,0x0b,0x06,0x25,0x09,0x1a, +0x10,0x15,0x1d,0x0b,0x05,0x20,0x21,0x03,0x00,0x0b,0xa9,0x09,0x00,0xa9,0x01,0xc0, +0x09,0x15,0xa9,0x13,0xb1,0x25,0x0c,0x09,0x0a,0x05,0x24,0x16,0x19,0x00,0x1d,0x0a, +0x05,0x13,0x02,0x14,0x00,0x20,0x19,0x43,0x0a,0x0f,0x05,0x25,0x10,0xd4,0x4b,0xb0, +0x0c,0x54,0x58,0xb9,0x00,0x05,0x00,0x40,0x38,0x59,0x3c,0xc4,0xfc,0x3c,0xc4,0x32, +0x39,0x39,0x11,0x12,0x39,0x11,0x12,0x39,0x39,0x11,0x12,0x39,0x39,0x31,0x00,0x10, +0xfc,0xec,0xc4,0xf4,0xec,0x10,0xee,0x12,0x17,0x39,0x12,0x39,0x11,0x39,0x39,0x11, +0x12,0x39,0x11,0x12,0x39,0x39,0x30,0x01,0xb2,0x00,0x26,0x01,0x5d,0x05,0x15,0x23, +0x22,0x26,0x3d,0x01,0x34,0x26,0x2b,0x01,0x35,0x33,0x32,0x36,0x3d,0x01,0x34,0x36, +0x3b,0x01,0x15,0x23,0x22,0x06,0x1d,0x01,0x14,0x06,0x07,0x1e,0x01,0x1d,0x01,0x14, +0x16,0x33,0x04,0x17,0x3e,0xf9,0xa9,0x6c,0x8e,0x3d,0x3d,0x8f,0x6b,0xa9,0xf9,0x3e, +0x44,0x8d,0x56,0x5b,0x6e,0x6f,0x5a,0x56,0x8d,0xbe,0x90,0x94,0xdd,0xef,0x97,0x74, +0x8f,0x73,0x95,0xf0,0xdd,0x93,0x8f,0x58,0x8d,0xf8,0x9d,0x8e,0x19,0x1b,0x8e,0x9c, +0xf8,0x8d,0x58,0x00,0x00,0x01,0x01,0x04,0xfe,0x1d,0x01,0xae,0x06,0x1d,0x00,0x03, +0x00,0x12,0xb7,0x01,0x00,0xb1,0x04,0x00,0x05,0x02,0x04,0x10,0xd4,0xec,0x31,0x00, +0x10,0xfc,0xcc,0x30,0x01,0x11,0x23,0x11,0x01,0xae,0xaa,0x06,0x1d,0xf8,0x00,0x08, +0x00,0x00,0x00,0x01,0x01,0x00,0xfe,0xb2,0x04,0x17,0x06,0x14,0x00,0x24,0x00,0x87, +0x40,0x36,0x1f,0x25,0x1b,0x16,0x0c,0x0f,0x08,0x1b,0x0b,0x15,0x19,0x0f,0x04,0x05, +0x20,0x03,0x00,0x19,0xa9,0x1b,0x00,0xa9,0x23,0xc0,0x1b,0x0f,0xa9,0x11,0xb1,0x25, +0x1c,0x19,0x1a,0x15,0x0f,0x01,0x04,0x00,0x08,0x1a,0x15,0x23,0x12,0x04,0x00,0x1a, +0x1f,0x15,0x43,0x10,0x00,0x0b,0x04,0x25,0x10,0xd4,0x4b,0xb0,0x0a,0x54,0x58,0xb9, +0x00,0x04,0xff,0xc0,0x38,0x59,0x4b,0xb0,0x0e,0x54,0x58,0xb9,0x00,0x04,0x00,0x40, +0x38,0x59,0x3c,0xc4,0x32,0xfc,0x3c,0xc4,0x11,0x12,0x39,0x39,0x11,0x12,0x39,0x11, +0x12,0x39,0x39,0x11,0x12,0x39,0x39,0x31,0x00,0x10,0xfc,0xec,0xc4,0xf4,0xec,0x10, +0xee,0x12,0x17,0x39,0x11,0x12,0x39,0x39,0x11,0x39,0x11,0x39,0x39,0x11,0x12,0x39, +0x30,0x01,0xb2,0x00,0x26,0x01,0x5d,0x05,0x33,0x32,0x36,0x3d,0x01,0x34,0x36,0x37, +0x2e,0x01,0x3d,0x01,0x34,0x26,0x2b,0x01,0x35,0x33,0x32,0x16,0x1d,0x01,0x14,0x16, +0x3b,0x01,0x15,0x23,0x22,0x06,0x1d,0x01,0x14,0x06,0x2b,0x01,0x01,0x00,0x46,0x8c, +0x55,0x5a,0x6f,0x6f,0x5a,0x55,0x8c,0x46,0x3f,0xf9,0xa7,0x6c,0x8e,0x3e,0x3e,0x8e, +0x6c,0xa7,0xf9,0x3f,0xbe,0x56,0x8f,0xf8,0x9c,0x8e,0x1b,0x19,0x8e,0x9d,0xf8,0x8e, +0x57,0x8f,0x93,0xdd,0xf0,0x95,0x73,0x8f,0x74,0x97,0xef,0xdd,0x94,0x00,0x00,0x01, +0x00,0xd9,0x01,0xd3,0x05,0xdb,0x03,0x31,0x00,0x1d,0x00,0x23,0x40,0x10,0x01,0x10, +0x1b,0x0c,0x00,0x13,0x04,0x9c,0x1b,0x13,0x9c,0x0c,0x1e,0x00,0x0f,0x1e,0x10,0xd4, +0xc4,0x31,0x00,0x10,0xd4,0xfc,0xd4,0xec,0x10,0xc0,0x11,0x12,0x39,0x39,0x30,0x01, +0x15,0x0e,0x01,0x23,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x23,0x22,0x06,0x07,0x35, +0x3e,0x01,0x33,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x33,0x32,0x36,0x05,0xdb,0x69, +0xb3,0x61,0x6e,0x92,0x0b,0x05,0x07,0x0f,0x9b,0x5e,0x58,0xac,0x62,0x69,0xb3,0x61, +0x6e,0x93,0x0a,0x05,0x08,0x0e,0x9b,0x5e,0x56,0xa9,0x03,0x31,0xb2,0x4f,0x44,0x3b, +0x04,0x02,0x03,0x05,0x3e,0x4d,0x53,0xb2,0x4f,0x45,0x3c,0x04,0x02,0x03,0x05,0x3e, +0x4c,0x00,0x00,0x02,0x01,0x35,0x00,0x00,0x02,0x00,0x05,0xd5,0x00,0x03,0x00,0x09, +0x00,0x62,0x40,0x0f,0x07,0x00,0x83,0x02,0x81,0x04,0x08,0x07,0x04,0x00,0x03,0x05, +0x01,0x00,0x0a,0x10,0xfc,0x3c,0xec,0x32,0x39,0x39,0x31,0x00,0x2f,0xf4,0xfc,0xcc, +0x30,0x01,0x4b,0xb0,0x0b,0x54,0x58,0xbd,0x00,0x0a,0x00,0x40,0x00,0x01,0x00,0x0a, +0x00,0x0a,0xff,0xc0,0x38,0x11,0x37,0x38,0x59,0x01,0x4b,0xb0,0x0f,0x54,0x4b,0xb0, +0x10,0x54,0x5b,0x4b,0xb0,0x13,0x54,0x5b,0x58,0xbd,0x00,0x0a,0xff,0xc0,0x00,0x01, +0x00,0x0a,0x00,0x0a,0x00,0x40,0x38,0x11,0x37,0x38,0x59,0xb6,0x00,0x0b,0x20,0x0b, +0x50,0x0b,0x03,0x5d,0x01,0x23,0x35,0x33,0x11,0x23,0x11,0x13,0x33,0x13,0x02,0x00, +0xcb,0xcb,0xcb,0x15,0xa2,0x14,0x04,0xd7,0xfe,0xfa,0x2b,0x02,0x8f,0x01,0x65,0xfe, +0x9b,0x00,0x00,0x02,0x00,0xac,0xfe,0xc7,0x04,0x23,0x05,0x98,0x00,0x06,0x00,0x21, +0x00,0x51,0x40,0x2b,0x13,0x16,0x14,0x00,0x0f,0x0c,0x01,0x0b,0x07,0x86,0x08,0x88, +0x0b,0x10,0x86,0x0f,0x88,0x0c,0xb9,0x14,0x16,0x0b,0xb9,0x1d,0x1f,0x1c,0xb8,0x16, +0x8c,0x22,0x1c,0x15,0x00,0x09,0x1e,0x13,0x0b,0x0f,0x07,0x04,0x12,0x19,0x22,0x10, +0xdc,0xec,0xd4,0x3c,0xd4,0x3c,0x3c,0xec,0x32,0x32,0x31,0x00,0x10,0xe4,0xf4,0x3c, +0xc4,0xec,0x10,0xc4,0xfe,0xf4,0xee,0x10,0xf5,0xee,0x12,0x39,0x11,0x12,0x39,0x11, +0x12,0x39,0x30,0x25,0x11,0x0e,0x01,0x15,0x14,0x16,0x01,0x15,0x2e,0x01,0x27,0x03, +0x3e,0x01,0x37,0x15,0x0e,0x01,0x07,0x11,0x23,0x11,0x26,0x00,0x11,0x10,0x00,0x37, +0x11,0x33,0x13,0x1e,0x01,0x02,0xa6,0x93,0xa4,0xa4,0x02,0x10,0x4a,0x88,0x44,0x01, +0x46,0x89,0x48,0x41,0x89,0x4d,0x66,0xf1,0xfe,0xf7,0x01,0x09,0xf1,0x66,0x01,0x49, +0x89,0x83,0x03,0x58,0x12,0xe2,0xb8,0xb9,0xe2,0x03,0xa1,0xac,0x29,0x2a,0x03,0xfc, +0xa0,0x05,0x2a,0x27,0xaa,0x1e,0x23,0x07,0xfe,0xe4,0x01,0x20,0x14,0x01,0x33,0x01, +0x01,0x01,0x02,0x01,0x32,0x16,0x01,0x1f,0xfe,0xe1,0x04,0x21,0x00,0x01,0x00,0x81, +0x00,0x00,0x04,0x62,0x05,0xf0,0x00,0x1b,0x00,0x60,0x40,0x21,0x07,0x16,0x08,0x01, +0x86,0x00,0x12,0x0a,0xa9,0x14,0x08,0x0c,0x04,0xa0,0x00,0x94,0x19,0x91,0x10,0x0c, +0xa0,0x0e,0x00,0x0d,0x09,0x0b,0x07,0x1c,0x13,0x0f,0x15,0x11,0x1c,0x10,0xdc,0x3c, +0xcc,0xcc,0xfc,0x3c,0xc4,0xd4,0xc4,0x31,0x00,0x2f,0xec,0x32,0xf4,0xe4,0xec,0x10, +0xd4,0x3c,0xee,0x32,0x10,0xee,0x11,0x39,0x39,0x30,0x01,0x4b,0xb0,0x0c,0x54,0x58, +0xbd,0x00,0x1c,0xff,0xc0,0x00,0x01,0x00,0x1c,0x00,0x1c,0x00,0x40,0x38,0x11,0x37, +0x38,0x59,0xb4,0x36,0x01,0x36,0x02,0x02,0x00,0x5d,0x01,0x15,0x2e,0x01,0x23,0x22, +0x06,0x1d,0x01,0x21,0x15,0x21,0x11,0x21,0x15,0x21,0x35,0x33,0x11,0x23,0x35,0x33, +0x35,0x10,0x36,0x33,0x32,0x16,0x04,0x4e,0x4c,0x88,0x3d,0x94,0x74,0x01,0x87,0xfe, +0x79,0x02,0x2d,0xfc,0x1f,0xec,0xc7,0xc7,0xd6,0xe8,0x3d,0x97,0x05,0xb4,0xb6,0x29, +0x29,0x9b,0xd4,0xd7,0x8f,0xfe,0x2f,0xaa,0xaa,0x01,0xd1,0x8f,0xee,0x01,0x05,0xf3, +0x1f,0x00,0x00,0x02,0x00,0x5e,0x00,0x52,0x04,0xbc,0x04,0xb2,0x00,0x23,0x00,0x2f, +0x00,0x83,0x40,0x49,0x03,0x09,0x1b,0x15,0x04,0x2d,0x1e,0x00,0x27,0x1c,0x02,0x21, +0x1d,0x0c,0x12,0x2d,0x14,0x0b,0x0a,0x03,0x13,0x0f,0x01,0x1d,0x2d,0xb9,0x13,0xeb, +0x0f,0xec,0x27,0xb9,0x1d,0xeb,0x21,0x30,0x1e,0x0c,0x00,0x12,0x04,0x2a,0x24,0x14, +0x30,0x1c,0x15,0x1b,0x2a,0x1d,0x13,0x1c,0x18,0x09,0x03,0x24,0x0b,0x0a,0x01,0x03, +0x02,0x24,0x28,0x02,0x73,0x06,0x74,0x2a,0x28,0x1c,0x73,0x18,0x30,0x10,0xdc,0xe4, +0xec,0xf4,0xe4,0xec,0x12,0x17,0x39,0x12,0x39,0x39,0x11,0x12,0x39,0x39,0x12,0x39, +0x39,0x11,0x12,0x39,0x11,0x12,0x17,0x39,0x31,0x00,0x10,0xd4,0xe4,0xec,0xf4,0xe4, +0xec,0x10,0xc0,0x11,0x12,0x17,0x39,0x12,0x39,0x39,0x11,0x12,0x39,0x39,0x11,0x39, +0x39,0x12,0x17,0x39,0x30,0x01,0x37,0x17,0x07,0x1e,0x01,0x15,0x14,0x06,0x07,0x17, +0x07,0x27,0x0e,0x01,0x23,0x22,0x26,0x27,0x07,0x27,0x37,0x2e,0x01,0x35,0x34,0x36, +0x37,0x27,0x37,0x17,0x3e,0x01,0x33,0x32,0x16,0x13,0x34,0x26,0x23,0x22,0x06,0x15, +0x14,0x16,0x33,0x32,0x36,0x03,0x7b,0xcf,0x72,0xce,0x25,0x24,0x26,0x28,0xd1,0x72, +0xcf,0x3b,0x74,0x3d,0x3a,0x78,0x3d,0xcf,0x71,0xcf,0x25,0x25,0x26,0x26,0xcf,0x73, +0xcf,0x37,0x74,0x40,0x3c,0x75,0x5c,0x9b,0x72,0x70,0x9e,0x9d,0x71,0x71,0x9c,0x03, +0xe1,0xd1,0x73,0xce,0x3b,0x77,0x3e,0x3f,0x73,0x39,0xcf,0x71,0xcf,0x28,0x26,0x25, +0x25,0xcf,0x73,0xce,0x3e,0x76,0x3a,0x40,0x74,0x38,0xce,0x73,0xcf,0x27,0x25,0x24, +0xfe,0x7c,0x70,0x9a,0x9a,0x70,0x72,0x9c,0x9d,0x00,0x00,0x01,0x00,0x52,0x00,0x00, +0x04,0xc3,0x05,0xd5,0x00,0x18,0x00,0xc6,0x40,0x46,0x10,0x02,0x11,0x16,0x11,0x0f, +0x02,0x0e,0x0f,0x16,0x16,0x11,0x0f,0x02,0x10,0x0f,0x08,0x0d,0x08,0x0e,0x02,0x0d, +0x0d,0x08,0x42,0x0f,0x0b,0x09,0x04,0x00,0xd3,0x17,0x06,0x12,0x0b,0xd3,0x14,0x09, +0x10,0x0d,0x81,0x02,0x0c,0x09,0x0e,0x03,0x05,0x16,0x0f,0x03,0x15,0x12,0x10,0x03, +0x00,0x11,0x66,0x13,0x00,0x65,0x01,0x1c,0x0d,0x66,0x0a,0x05,0x65,0x07,0x03,0x19, +0x10,0xd4,0x3c,0xec,0x32,0xec,0xfc,0xec,0x32,0xec,0x12,0x17,0x39,0x12,0x39,0x39, +0x11,0x17,0x39,0x31,0x00,0x2f,0xe4,0x32,0xd4,0x3c,0xec,0x32,0xd4,0x3c,0xec,0x32, +0x11,0x12,0x39,0x30,0x4b,0x53,0x58,0x07,0x10,0x05,0xed,0x07,0x10,0x08,0xed,0x07, +0x10,0x08,0xed,0x07,0x10,0x05,0xed,0x59,0x22,0x01,0x4b,0xb0,0x0c,0x54,0x58,0xbd, +0x00,0x19,0xff,0xc0,0x00,0x01,0x00,0x19,0x00,0x19,0x00,0x40,0x38,0x11,0x37,0x38, +0x59,0x40,0x28,0x86,0x0f,0x90,0x0f,0xa6,0x0f,0xa0,0x0f,0xb5,0x0f,0x05,0x27,0x0c, +0x27,0x0d,0x27,0x0e,0x29,0x10,0x28,0x11,0x28,0x12,0x37,0x0e,0x39,0x10,0x87,0x0c, +0x88,0x12,0xa6,0x0d,0xa5,0x0e,0xaa,0x10,0xa9,0x11,0x0e,0x5d,0x00,0x5d,0x01,0x21, +0x11,0x23,0x11,0x21,0x35,0x21,0x35,0x27,0x21,0x35,0x21,0x01,0x33,0x09,0x01,0x33, +0x01,0x21,0x15,0x21,0x07,0x15,0x21,0x04,0x8d,0xfe,0x63,0xc9,0xfe,0x60,0x01,0xa0, +0x54,0xfe,0xb4,0x01,0x08,0xfe,0xc3,0xbe,0x01,0x7b,0x01,0x79,0xbf,0xfe,0xc2,0x01, +0x08,0xfe,0xb5,0x54,0x01,0x9f,0x01,0xc7,0xfe,0x39,0x01,0xc7,0x7b,0x33,0x9b,0x7b, +0x02,0x4a,0xfd,0x44,0x02,0xbc,0xfd,0xb6,0x7b,0x9b,0x33,0x00,0x00,0x02,0x01,0x04, +0xfe,0xa2,0x01,0xae,0x05,0x98,0x00,0x03,0x00,0x07,0x00,0x1c,0x40,0x0d,0x01,0xf5, +0x00,0x04,0xf5,0x05,0x08,0x04,0x00,0x05,0x06,0x02,0x08,0x10,0xdc,0x3c,0xec,0x32, +0x31,0x00,0x10,0xd4,0xec,0xd4,0xec,0x30,0x01,0x11,0x23,0x11,0x13,0x11,0x23,0x11, +0x01,0xae,0xaa,0xaa,0xaa,0x01,0x98,0xfd,0x0a,0x02,0xf6,0x04,0x00,0xfd,0x0a,0x02, +0xf6,0x00,0x00,0x02,0x00,0x5c,0xff,0x3d,0x03,0xa2,0x05,0xf0,0x00,0x0b,0x00,0x3e, +0x00,0x91,0x40,0x3c,0x2f,0x30,0x2a,0x06,0x00,0x17,0x1d,0x30,0x36,0x04,0x0d,0x27, +0x8a,0x26,0x0d,0x8a,0x0c,0x2a,0xc6,0x26,0xc5,0x23,0x10,0xc6,0x0c,0xc5,0x3c,0x91, +0x23,0x3f,0x2f,0x06,0x00,0x17,0x30,0x04,0x13,0x1d,0x2d,0x09,0x36,0x03,0x13,0x57, +0x39,0x2d,0x57,0x20,0x09,0x57,0x0c,0x22,0x1a,0x39,0x26,0x22,0x03,0x57,0x33,0x3f, +0x10,0xdc,0xec,0xe4,0xc4,0xd4,0xe4,0xec,0xd4,0xec,0x10,0xee,0x11,0x39,0x11,0x12, +0x39,0x11,0x17,0x39,0x39,0x31,0x00,0x10,0xc4,0xf4,0xe4,0xec,0x10,0xe6,0xee,0x10, +0xee,0x10,0xee,0x11,0x17,0x39,0x39,0x39,0x11,0x12,0x39,0x30,0x01,0x4b,0xb0,0x0a, +0x54,0x4b,0xb0,0x0b,0x54,0x5b,0x4b,0xb0,0x0c,0x54,0x5b,0x4b,0xb0,0x0e,0x54,0x5b, +0x58,0xbd,0x00,0x3f,0x00,0x40,0x00,0x01,0x00,0x3f,0x00,0x3f,0xff,0xc0,0x38,0x11, +0x37,0x38,0x59,0x01,0x0e,0x01,0x15,0x14,0x16,0x17,0x3e,0x01,0x35,0x34,0x26,0x13, +0x15,0x2e,0x01,0x23,0x22,0x06,0x15,0x14,0x17,0x16,0x17,0x1e,0x01,0x15,0x14,0x06, +0x07,0x1e,0x01,0x15,0x14,0x06,0x23,0x22,0x26,0x27,0x35,0x1e,0x01,0x33,0x32,0x36, +0x35,0x34,0x2f,0x01,0x2e,0x01,0x35,0x34,0x36,0x37,0x2e,0x01,0x35,0x34,0x36,0x33, +0x32,0x16,0x01,0x7b,0x3f,0x3e,0x8b,0xfa,0x3f,0x3e,0x8f,0xcc,0x53,0x8f,0x38,0x61, +0x6c,0xce,0x1a,0x0e,0xd3,0x83,0x5c,0x5d,0x3e,0x39,0xcc,0xad,0x49,0x9a,0x58,0x57, +0x94,0x3a,0x66,0x71,0xdd,0x19,0xd6,0x80,0x5d,0x5b,0x3b,0x3b,0xc8,0xa6,0x49,0x99, +0x03,0xa8,0x2e,0x5a,0x2e,0x4c,0x85,0x87,0x2d,0x5b,0x2e,0x4b,0x88,0x02,0x93,0xa4, +0x27,0x27,0x50,0x47,0x5a,0x73,0x0f,0x08,0x77,0x9a,0x65,0x5a,0x8c,0x35,0x34,0x6d, +0x40,0x8e,0xa8,0x1d,0x1d,0xa4,0x27,0x27,0x54,0x4c,0x66,0x7b,0x0e,0x78,0x99,0x66, +0x5b,0x8f,0x31,0x2c,0x70,0x45,0x82,0x9f,0x1d,0x00,0x00,0x02,0x00,0xd7,0x05,0x46, +0x03,0x29,0x06,0x10,0x00,0x03,0x00,0x07,0x00,0x92,0x40,0x0e,0x06,0x02,0xce,0x04, +0x00,0xcd,0x08,0x01,0x64,0x00,0x05,0x64,0x04,0x08,0x10,0xdc,0xfc,0xd4,0xec,0x31, +0x00,0x10,0xfc,0x3c,0xec,0x32,0x30,0x00,0x4b,0xb0,0x0a,0x54,0x4b,0xb0,0x0d,0x54, +0x5b,0x58,0xbd,0x00,0x08,0x00,0x40,0x00,0x01,0x00,0x08,0x00,0x08,0xff,0xc0,0x38, +0x11,0x37,0x38,0x59,0x01,0x4b,0xb0,0x0c,0x54,0x4b,0xb0,0x0d,0x54,0x5b,0x4b,0xb0, +0x0e,0x54,0x5b,0x4b,0xb0,0x17,0x54,0x5b,0x58,0xbd,0x00,0x08,0xff,0xc0,0x00,0x01, +0x00,0x08,0x00,0x08,0x00,0x40,0x38,0x11,0x37,0x38,0x59,0x01,0x4b,0xb0,0x0f,0x54, +0x4b,0xb0,0x19,0x54,0x5b,0x58,0xbd,0x00,0x08,0x00,0x40,0x00,0x01,0x00,0x08,0x00, +0x08,0xff,0xc0,0x38,0x11,0x37,0x38,0x59,0x40,0x11,0x60,0x01,0x60,0x02,0x60,0x05, +0x60,0x06,0x70,0x01,0x70,0x02,0x70,0x05,0x70,0x06,0x08,0x5d,0x01,0x33,0x15,0x23, +0x25,0x33,0x15,0x23,0x02,0x5e,0xcb,0xcb,0xfe,0x79,0xcb,0xcb,0x06,0x10,0xca,0xca, +0xca,0x00,0x00,0x03,0x01,0x1b,0x00,0x00,0x06,0xe5,0x05,0xcd,0x00,0x17,0x00,0x2f, +0x00,0x49,0x00,0x43,0x40,0x26,0x3d,0xcb,0x3e,0x3a,0xcc,0x41,0xca,0x24,0x31,0xcb, +0x30,0x34,0xcc,0x47,0xca,0x18,0xc9,0x00,0xc8,0x24,0xc9,0x0c,0x37,0x61,0x44,0x3d, +0x30,0x5e,0x2a,0x09,0x06,0x44,0x5e,0x1e,0x09,0x06,0x12,0x4a,0x10,0xdc,0xcc,0xfc, +0xec,0x10,0xfe,0xed,0x32,0x10,0xee,0x31,0x00,0x2f,0xee,0xf6,0xfe,0xfd,0xee,0xd6, +0xee,0x10,0xfd,0xee,0xd6,0xee,0x30,0x01,0x32,0x04,0x17,0x16,0x12,0x15,0x14,0x02, +0x07,0x06,0x04,0x23,0x22,0x24,0x27,0x26,0x02,0x35,0x34,0x12,0x37,0x36,0x24,0x17, +0x22,0x06,0x07,0x0e,0x01,0x15,0x14,0x16,0x17,0x1e,0x01,0x33,0x32,0x36,0x37,0x3e, +0x01,0x35,0x34,0x26,0x27,0x2e,0x01,0x17,0x15,0x2e,0x01,0x23,0x22,0x06,0x15,0x14, +0x16,0x33,0x32,0x36,0x37,0x15,0x0e,0x01,0x23,0x22,0x26,0x35,0x34,0x36,0x33,0x32, +0x16,0x04,0x00,0x98,0x01,0x07,0x6d,0x6d,0x6c,0x6c,0x6d,0x6d,0xfe,0xf9,0x98,0x98, +0xfe,0xf9,0x6d,0x6d,0x6c,0x6c,0x6d,0x6d,0x01,0x07,0x98,0x83,0xe2,0x5e,0x5e,0x60, +0x60,0x5e,0x5e,0xe2,0x83,0x84,0xe3,0x5e,0x5d,0x5d,0x5e,0x5c,0x5e,0xe3,0xa7,0x42, +0x82,0x42,0x95,0xa7,0xab,0x9b,0x40,0x7a,0x42,0x43,0x89,0x46,0xd8,0xfb,0xfb,0xd8, +0x49,0x88,0x05,0xcd,0x6e,0x6d,0x6d,0xfe,0xfa,0x9a,0x98,0xfe,0xfb,0x6d,0x6d,0x6e, +0x6e,0x6d,0x6d,0x01,0x05,0x98,0x9a,0x01,0x06,0x6d,0x6d,0x6e,0x67,0x5e,0x5e,0x5e, +0xe5,0x82,0x81,0xe3,0x5e,0x5e,0x5f,0x5f,0x5e,0x5d,0xe2,0x83,0x85,0xe3,0x5d,0x5e, +0x5e,0xf5,0x81,0x21,0x20,0xaf,0x9d,0x9f,0xae,0x1f,0x22,0x7f,0x1d,0x1c,0xf4,0xd0, +0xd1,0xf2,0x1c,0x00,0x00,0x03,0x00,0x73,0x01,0xd5,0x03,0x3b,0x05,0xf0,0x00,0x03, +0x00,0x1e,0x00,0x29,0x00,0x5f,0x40,0x33,0x28,0x07,0x25,0x04,0x1f,0x12,0x18,0x10, +0x02,0xe3,0x00,0x1f,0xdd,0x10,0x00,0xe1,0x25,0xdd,0x05,0x0a,0x19,0xdf,0x18,0xde, +0x15,0xdd,0x0a,0xe0,0x1c,0x91,0x2a,0x00,0x18,0x0d,0x1f,0x10,0x22,0x06,0x02,0x01, +0x28,0x11,0x06,0x6b,0x04,0x6c,0x18,0x22,0x6b,0x0d,0x2a,0x10,0xdc,0xec,0xcc,0xfc, +0xec,0x32,0x32,0xc0,0xc0,0x11,0x12,0x39,0x39,0x11,0x12,0x39,0x31,0x00,0x10,0xf4, +0xe4,0xfc,0xf4,0xec,0x10,0xc4,0xee,0xed,0xd6,0xee,0x10,0xee,0x11,0x12,0x39,0x12, +0x39,0x11,0x39,0x39,0x30,0x13,0x21,0x15,0x21,0x01,0x11,0x23,0x35,0x0e,0x01,0x23, +0x22,0x26,0x35,0x34,0x36,0x3b,0x01,0x35,0x34,0x26,0x23,0x22,0x06,0x07,0x35,0x3e, +0x01,0x33,0x32,0x16,0x05,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x3d,0x01,0x8b, +0x02,0xb0,0xfd,0x50,0x02,0xae,0x95,0x2c,0x90,0x5d,0x80,0x98,0xbf,0xbc,0xb6,0x75, +0x75,0x3e,0x88,0x44,0x49,0x91,0x45,0xb7,0xb3,0xfe,0xec,0xa1,0x7e,0x62,0x52,0x68, +0x82,0x02,0x50,0x7b,0x02,0xb8,0xfe,0x40,0x70,0x3f,0x44,0x87,0x71,0x87,0x8a,0x04, +0x5b,0x5b,0x22,0x22,0x7f,0x1c,0x1c,0xb0,0xf0,0x43,0x4f,0x40,0x4d,0x90,0x72,0x1d, +0x00,0x02,0x00,0x9e,0x00,0x8d,0x04,0x25,0x04,0x23,0x00,0x06,0x00,0x0d,0x00,0x86, +0x40,0x49,0x03,0xe8,0x04,0x05,0x04,0x02,0xe8,0x01,0x02,0x05,0x05,0x04,0x02,0xe8, +0x03,0x02,0x06,0x00,0x06,0x01,0xe8,0x00,0x00,0x06,0x0a,0xe8,0x0b,0x0c,0x0b,0x09, +0xe8,0x08,0x09,0x0c,0x0c,0x0b,0x09,0xe8,0x0a,0x09,0x0d,0x07,0x0d,0x08,0xe8,0x07, +0x07,0x0d,0x42,0x09,0x02,0x0b,0x04,0xe7,0x07,0x00,0xa6,0x0e,0x09,0x0c,0x05,0x02, +0x07,0x03,0x00,0x6f,0x05,0x0a,0x07,0x6f,0x0c,0x6e,0x0e,0x10,0xfc,0xfc,0x3c,0xd4, +0xec,0x32,0x11,0x39,0x11,0x12,0x39,0x31,0x00,0x10,0xf4,0x3c,0xec,0x32,0x39,0x39, +0x30,0x4b,0x53,0x58,0x07,0x10,0x04,0xed,0x07,0x10,0x08,0xed,0x07,0x10,0x08,0xed, +0x07,0x10,0x04,0xed,0x07,0x10,0x04,0xed,0x07,0x10,0x08,0xed,0x07,0x10,0x08,0xed, +0x07,0x10,0x04,0xed,0x59,0x22,0x01,0x15,0x09,0x01,0x15,0x01,0x35,0x13,0x15,0x09, +0x01,0x15,0x01,0x35,0x04,0x25,0xfe,0xd3,0x01,0x2d,0xfe,0x2b,0x23,0xfe,0xd3,0x01, +0x2d,0xfe,0x2b,0x04,0x23,0xbf,0xfe,0xf4,0xfe,0xf4,0xbf,0x01,0xa2,0x52,0x01,0xa2, +0xbf,0xfe,0xf4,0xfe,0xf4,0xbf,0x01,0xa2,0x52,0x00,0x00,0x01,0x00,0xd9,0x01,0x1f, +0x05,0xdb,0x03,0x5e,0x00,0x05,0x00,0x17,0x40,0x0a,0x04,0x9c,0x02,0x00,0x06,0x03, +0x17,0x01,0x00,0x06,0x10,0xdc,0xd4,0xec,0x31,0x00,0x10,0xd4,0xc4,0xec,0x30,0x13, +0x21,0x11,0x23,0x11,0x21,0xd9,0x05,0x02,0xa8,0xfb,0xa6,0x03,0x5e,0xfd,0xc1,0x01, +0x95,0x00,0x00,0x01,0x00,0x64,0x01,0xdf,0x02,0x7f,0x02,0x83,0x00,0x03,0x00,0x11, +0xb6,0x00,0x9c,0x02,0x04,0x01,0x00,0x04,0x10,0xdc,0xcc,0x31,0x00,0x10,0xd4,0xec, +0x30,0x13,0x21,0x15,0x21,0x64,0x02,0x1b,0xfd,0xe5,0x02,0x83,0xa4,0x00,0x00,0x04, +0x01,0x1b,0x00,0x00,0x06,0xe5,0x05,0xcd,0x00,0x17,0x00,0x2f,0x00,0x38,0x00,0x4c, +0x00,0x60,0x40,0x36,0x45,0x42,0x43,0x3f,0x32,0xc9,0x48,0x30,0xc9,0x39,0x4a,0x43, +0xca,0x0c,0x39,0xca,0x00,0xc9,0x18,0xc8,0x0c,0xc9,0x24,0x48,0x45,0x33,0x30,0x04, +0x31,0x42,0x3c,0x3f,0x39,0x36,0x49,0x31,0x60,0x4b,0x36,0x60,0x43,0x3c,0x5e,0x12, +0x09,0x1e,0x4b,0x5e,0x06,0x09,0x1e,0x5f,0x2a,0x4d,0x10,0xdc,0xe4,0xfc,0xec,0x10, +0xfe,0xfd,0xc4,0xee,0x10,0xee,0x32,0x11,0x39,0x39,0x12,0x39,0x12,0x17,0x39,0x31, +0x00,0x2f,0xee,0xf6,0xfe,0xed,0x10,0xed,0x32,0x10,0xee,0xd6,0xee,0x39,0x12,0x39, +0x39,0x30,0x01,0x22,0x06,0x07,0x0e,0x01,0x15,0x14,0x16,0x17,0x1e,0x01,0x33,0x32, +0x36,0x37,0x3e,0x01,0x35,0x34,0x26,0x27,0x2e,0x01,0x27,0x32,0x04,0x17,0x16,0x12, +0x15,0x14,0x02,0x07,0x06,0x04,0x23,0x22,0x24,0x27,0x26,0x02,0x35,0x34,0x12,0x37, +0x36,0x24,0x13,0x23,0x11,0x33,0x32,0x36,0x35,0x34,0x26,0x27,0x32,0x16,0x15,0x14, +0x06,0x07,0x1e,0x01,0x1f,0x01,0x23,0x27,0x2e,0x01,0x2b,0x01,0x11,0x23,0x11,0x04, +0x00,0x83,0xe2,0x5e,0x5e,0x60,0x60,0x5e,0x5e,0xe2,0x83,0x84,0xe3,0x5e,0x5d,0x5d, +0x5e,0x5c,0x5e,0xe3,0x84,0x98,0x01,0x07,0x6d,0x6d,0x6c,0x6c,0x6d,0x6d,0xfe,0xf9, +0x98,0x98,0xfe,0xf9,0x6d,0x6d,0x6c,0x6c,0x6d,0x6d,0x01,0x07,0x7d,0x7b,0x7b,0x6e, +0x57,0x58,0x66,0xb0,0xae,0x69,0x60,0x18,0x43,0x2e,0x89,0xac,0x81,0x3b,0x49,0x36, +0x42,0x9b,0x05,0x66,0x5e,0x5e,0x5e,0xe5,0x82,0x81,0xe3,0x5e,0x5e,0x5f,0x5f,0x5e, +0x5d,0xe2,0x83,0x85,0xe3,0x5d,0x5e,0x5e,0x67,0x6e,0x6d,0x6d,0xfe,0xfa,0x9a,0x98, +0xfe,0xfb,0x6d,0x6d,0x6e,0x6e,0x6d,0x6d,0x01,0x05,0x98,0x9a,0x01,0x06,0x6d,0x6d, +0x6e,0xfe,0x62,0xfe,0xec,0x3e,0x4b,0x4c,0x3f,0x67,0x77,0x79,0x56,0x70,0x11,0x08, +0x4d,0x49,0xdf,0xd1,0x60,0x33,0xfe,0x9c,0x03,0x44,0x00,0x01,0x00,0xd5,0x05,0x62, +0x03,0x2b,0x05,0xf6,0x00,0x03,0x00,0x2f,0xb7,0x02,0xef,0x00,0xee,0x04,0x01,0x00, +0x04,0x10,0xd4,0xcc,0x31,0x00,0x10,0xfc,0xec,0x30,0x00,0x4b,0xb0,0x09,0x54,0x4b, +0xb0,0x0e,0x54,0x5b,0x58,0xbd,0x00,0x04,0xff,0xc0,0x00,0x01,0x00,0x04,0x00,0x04, +0x00,0x40,0x38,0x11,0x37,0x38,0x59,0x13,0x21,0x15,0x21,0xd5,0x02,0x56,0xfd,0xaa, +0x05,0xf6,0x94,0x00,0x00,0x02,0x00,0xc3,0x03,0x75,0x03,0x3d,0x05,0xf0,0x00,0x0b, +0x00,0x1a,0x00,0x20,0x40,0x11,0x06,0xc3,0x15,0xc4,0x00,0xc3,0x0c,0x91,0x1b,0x09, +0x5a,0x12,0x5b,0x03,0x5a,0x18,0x1b,0x10,0xdc,0xec,0xfc,0xec,0x31,0x00,0x10,0xf4, +0xec,0xfc,0xec,0x30,0x01,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26, +0x27,0x32,0x16,0x17,0x1e,0x01,0x15,0x14,0x06,0x23,0x22,0x26,0x35,0x34,0x36,0x02, +0x00,0x50,0x6e,0x6e,0x50,0x50,0x6e,0x6f,0x4f,0x40,0x76,0x2b,0x2e,0x2e,0xb9,0x86, +0x87,0xb4,0xb8,0x05,0x6f,0x6f,0x50,0x4f,0x6d,0x6d,0x4f,0x4f,0x70,0x81,0x31,0x2e, +0x2d,0x72,0x42,0x84,0xb7,0xb4,0x87,0x86,0xba,0x00,0x00,0x02,0x00,0xd9,0x00,0x00, +0x05,0xdb,0x05,0x04,0x00,0x0b,0x00,0x0f,0x00,0x2e,0x40,0x18,0x05,0xd0,0x07,0x03, +0x9c,0x00,0xd0,0x09,0x01,0x0c,0x9c,0x0e,0x0d,0x02,0x15,0x04,0x00,0x17,0x0c,0x08, +0x15,0x0a,0x06,0x10,0x10,0xd4,0x3c,0xec,0x32,0xfc,0x3c,0xec,0x32,0x31,0x00,0x2f, +0xec,0xd4,0x3c,0xec,0xfc,0x3c,0xec,0x30,0x01,0x11,0x21,0x15,0x21,0x11,0x23,0x11, +0x21,0x35,0x21,0x11,0x01,0x21,0x15,0x21,0x03,0xae,0x02,0x2d,0xfd,0xd3,0xa8,0xfd, +0xd3,0x02,0x2d,0xfd,0xd3,0x05,0x02,0xfa,0xfe,0x05,0x04,0xfe,0x7d,0xaa,0xfe,0x7d, +0x01,0x83,0xaa,0x01,0x83,0xfb,0xa6,0xaa,0x00,0x01,0x00,0x5e,0x02,0x9c,0x02,0xb4, +0x05,0xf0,0x00,0x18,0x00,0x4a,0x40,0x24,0x00,0x7d,0x06,0x04,0x00,0x17,0x7d,0x06, +0x06,0x04,0x42,0x04,0x02,0x00,0x0e,0xdd,0x0f,0x00,0xdd,0x02,0xf7,0x0b,0xdd,0x0f, +0x12,0x91,0x19,0x00,0x0e,0x08,0x7e,0x01,0x15,0x0e,0x03,0x19,0x10,0xdc,0xc4,0xd4, +0xc4,0xec,0x11,0x39,0x31,0x00,0x10,0xf4,0xc4,0xec,0xfc,0xec,0x10,0xee,0x11,0x12, +0x39,0x30,0x4b,0x53,0x58,0x07,0x10,0x05,0xed,0x17,0x32,0x07,0x05,0xed,0x59,0x22, +0x01,0x21,0x15,0x21,0x35,0x36,0x37,0x00,0x35,0x34,0x26,0x23,0x22,0x06,0x07,0x35, +0x3e,0x01,0x33,0x32,0x16,0x15,0x14,0x01,0x06,0x01,0x0c,0x01,0xa8,0xfd,0xaa,0x22, +0x3f,0x01,0x58,0x68,0x55,0x34,0x7a,0x48,0x4d,0x85,0x39,0x91,0xae,0xfe,0xb5,0x38, +0x03,0x0e,0x72,0x6e,0x1f,0x38,0x01,0x31,0x5e,0x42,0x51,0x23,0x23,0x7b,0x1c,0x1c, +0x84,0x6c,0x8b,0xfe,0xe4,0x30,0x00,0x01,0x00,0x62,0x02,0x8d,0x02,0xcd,0x05,0xf0, +0x00,0x28,0x00,0x48,0x40,0x27,0x00,0x15,0x13,0x0a,0xdd,0x09,0x1f,0xdd,0x20,0x13, +0xdd,0x15,0x0d,0xdd,0x09,0xf8,0x06,0xf7,0x1c,0xdd,0x20,0xf8,0x23,0x91,0x29,0x16, +0x13,0x00,0x14,0x19,0x7e,0x26,0x10,0x7e,0x03,0x14,0x1f,0x09,0x29,0x10,0xdc,0xc4, +0xc4,0xd4,0xec,0xd4,0xec,0x11,0x39,0x39,0x39,0x31,0x00,0x10,0xf4,0xe4,0xec,0xfc, +0xe4,0xec,0xd4,0xec,0x10,0xee,0x10,0xee,0x11,0x12,0x39,0x30,0x01,0x1e,0x01,0x15, +0x14,0x06,0x23,0x22,0x26,0x27,0x35,0x1e,0x01,0x33,0x32,0x36,0x35,0x34,0x26,0x2b, +0x01,0x35,0x33,0x32,0x36,0x35,0x34,0x26,0x23,0x22,0x06,0x07,0x35,0x3e,0x01,0x33, +0x32,0x16,0x15,0x14,0x06,0x02,0x0c,0x5c,0x65,0xbe,0xb1,0x39,0x7d,0x46,0x34,0x77, +0x43,0x6d,0x78,0x6f,0x6c,0x56,0x5e,0x5e,0x61,0x64,0x5f,0x28,0x66,0x51,0x49,0x80, +0x37,0x90,0xa9,0x5a,0x04,0x60,0x12,0x6d,0x52,0x7c,0x86,0x15,0x14,0x79,0x1b,0x1a, +0x4f,0x46,0x4a,0x4c,0x6c,0x3f,0x3c,0x3a,0x3d,0x12,0x17,0x73,0x11,0x12,0x76,0x63, +0x45,0x60,0x00,0x01,0x01,0x73,0x04,0xee,0x03,0x52,0x06,0x66,0x00,0x03,0x00,0x31, +0x40,0x09,0x02,0xb4,0x00,0xb3,0x04,0x03,0x44,0x01,0x04,0x10,0xd4,0xec,0x31,0x00, +0x10,0xf4,0xec,0x30,0x00,0x4b,0xb0,0x09,0x54,0x4b,0xb0,0x0e,0x54,0x5b,0x58,0xbd, +0x00,0x04,0xff,0xc0,0x00,0x01,0x00,0x04,0x00,0x04,0x00,0x40,0x38,0x11,0x37,0x38, +0x59,0x01,0x33,0x01,0x23,0x02,0x8b,0xc7,0xfe,0xba,0x99,0x06,0x66,0xfe,0x88,0x00, +0x00,0x01,0x00,0xae,0xfe,0x56,0x04,0xe5,0x04,0x60,0x00,0x20,0x00,0x4d,0x40,0x25, +0x13,0x19,0x1f,0x03,0x16,0x06,0x03,0x09,0x0c,0x03,0x01,0x12,0x0f,0x06,0x87,0x1c, +0x16,0x8c,0x0a,0x01,0xbc,0x00,0xbd,0x21,0x19,0x09,0x12,0x09,0x08,0x0b,0x4e,0x1f, +0x02,0x08,0x00,0x46,0x21,0x10,0xfc,0xec,0x32,0xf4,0xec,0xc4,0x12,0x39,0x31,0x00, +0x10,0xe4,0xe4,0x32,0xf4,0x3c,0xec,0xdc,0xc4,0x11,0x17,0x39,0x11,0x12,0x17,0x39, +0x30,0xb6,0x1f,0x22,0x60,0x22,0xcf,0x22,0x03,0x01,0x5d,0x13,0x11,0x33,0x11,0x14, +0x16,0x33,0x32,0x36,0x35,0x11,0x33,0x11,0x14,0x16,0x33,0x32,0x36,0x37,0x15,0x0e, +0x01,0x23,0x22,0x26,0x27,0x0e,0x01,0x23,0x22,0x26,0x27,0x11,0xae,0xb8,0x8a,0x87, +0x94,0x95,0xb8,0x23,0x25,0x09,0x20,0x1c,0x29,0x49,0x23,0x45,0x52,0x0f,0x32,0x91, +0x62,0x66,0x8f,0x2a,0xfe,0x56,0x06,0x0a,0xfd,0x48,0x91,0x94,0xa8,0xa8,0x02,0x8d, +0xfc,0xa2,0x3c,0x39,0x0b,0x0c,0x94,0x17,0x16,0x4e,0x50,0x4f,0x4f,0x4e,0x4e,0xfd, +0xd7,0x00,0x00,0x01,0x00,0x9e,0xff,0x3b,0x04,0x39,0x05,0xd5,0x00,0x0d,0x00,0x25, +0x40,0x12,0x08,0x02,0x04,0xc1,0x00,0x81,0x06,0x02,0x0e,0x00,0x07,0x5d,0x05,0x03, +0x5d,0x01,0x0b,0x0e,0x10,0xd4,0xd4,0xfc,0xdc,0xec,0x39,0x31,0x00,0x10,0xc4,0x32, +0xf4,0xec,0x11,0x39,0x30,0x01,0x21,0x11,0x23,0x11,0x23,0x11,0x23,0x11,0x2e,0x01, +0x35,0x34,0x24,0x02,0x79,0x01,0xc0,0x8d,0xbe,0x8e,0xd7,0xeb,0x01,0x04,0x05,0xd5, +0xf9,0x66,0x06,0x1f,0xf9,0xe1,0x03,0x4e,0x11,0xdd,0xb8,0xbe,0xe8,0x00,0x00,0x01, +0x00,0xdb,0x02,0x48,0x01,0xae,0x03,0x46,0x00,0x03,0x00,0x12,0xb7,0x02,0x83,0x00, +0x04,0x01,0x19,0x00,0x04,0x10,0xd4,0xec,0x31,0x00,0x10,0xd4,0xec,0x30,0x13,0x33, +0x15,0x23,0xdb,0xd3,0xd3,0x03,0x46,0xfe,0x00,0x01,0x01,0x23,0xfe,0x75,0x02,0xc1, +0x00,0x00,0x00,0x13,0x00,0x1f,0x40,0x0e,0x09,0x06,0x0a,0x0d,0xf3,0x06,0x00,0x13, +0x00,0x10,0x27,0x03,0x09,0x14,0x10,0xdc,0xd4,0xec,0xd4,0xcc,0x31,0x00,0x2f,0xd4, +0xfc,0xc4,0x12,0x39,0x30,0x21,0x1e,0x01,0x15,0x14,0x06,0x23,0x22,0x26,0x27,0x35, +0x1e,0x01,0x33,0x32,0x36,0x35,0x34,0x26,0x27,0x02,0x54,0x37,0x36,0x78,0x76,0x2e, +0x57,0x2b,0x22,0x4a,0x2f,0x3b,0x3c,0x2b,0x2d,0x3e,0x69,0x30,0x59,0x5b,0x0c,0x0c, +0x83,0x11,0x0f,0x30,0x2e,0x1e,0x57,0x3d,0x00,0x01,0x00,0x89,0x02,0x9c,0x02,0xc5, +0x05,0xdf,0x00,0x0a,0x00,0x2c,0x40,0x18,0x07,0x00,0xdd,0x09,0x03,0xdd,0x04,0x02, +0xdd,0x09,0xf7,0x05,0x91,0x0b,0x08,0x7c,0x06,0x5d,0x03,0x7c,0x01,0x7c,0x00,0x0b, +0x10,0xdc,0xf4,0xe4,0xfc,0xe4,0x31,0x00,0x10,0xf4,0xec,0xec,0xd4,0xec,0x10,0xee, +0x32,0x30,0x13,0x33,0x11,0x07,0x35,0x37,0x33,0x11,0x33,0x15,0x21,0x9c,0xcc,0xdf, +0xe6,0x89,0xcd,0xfd,0xd7,0x03,0x0a,0x02,0x63,0x29,0x74,0x27,0xfd,0x2b,0x6e,0x00, +0x00,0x03,0x00,0x60,0x01,0xd5,0x03,0x64,0x05,0xf0,0x00,0x03,0x00,0x0f,0x00,0x1b, +0x00,0x2e,0x40,0x19,0x02,0xe3,0x00,0xe1,0x16,0xdd,0x0a,0xe0,0x10,0xdd,0x04,0x91, +0x1c,0x00,0x13,0x0d,0x01,0x19,0x6b,0x07,0x6c,0x13,0x6b,0x0d,0x1c,0x10,0xdc,0xec, +0xfc,0xec,0x39,0x11,0x12,0x39,0x31,0x00,0x10,0xf4,0xec,0xf4,0xec,0xfc,0xec,0x30, +0x13,0x21,0x15,0x21,0x01,0x32,0x16,0x15,0x14,0x06,0x23,0x22,0x26,0x35,0x34,0x36, +0x17,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x8b,0x02,0xb0,0xfd, +0x50,0x01,0x58,0xb3,0xce,0xce,0xb3,0xb3,0xd0,0xd0,0xb3,0x69,0x7e,0x7f,0x68,0x69, +0x7d,0x7c,0x02,0x50,0x7b,0x04,0x1b,0xdd,0xbf,0xbf,0xdb,0xdc,0xbe,0xbf,0xdd,0x73, +0xa1,0x88,0x85,0xa0,0xa0,0x85,0x89,0xa0,0x00,0x02,0x00,0xc1,0x00,0x8d,0x04,0x48, +0x04,0x23,0x00,0x06,0x00,0x0d,0x00,0x86,0x40,0x49,0x0c,0xe8,0x0d,0x0c,0x09,0x0a, +0x09,0x0b,0xe8,0x0a,0x0a,0x09,0x0d,0xe8,0x07,0x08,0x07,0x0c,0xe8,0x0b,0x0c,0x08, +0x08,0x07,0x05,0xe8,0x06,0x05,0x02,0x03,0x02,0x04,0xe8,0x03,0x03,0x02,0x06,0xe8, +0x00,0x01,0x00,0x05,0xe8,0x04,0x05,0x01,0x01,0x00,0x42,0x0c,0x05,0x0a,0x03,0xe7, +0x07,0x00,0xa6,0x0e,0x0c,0x08,0x01,0x05,0x00,0x08,0x6f,0x0a,0x07,0x01,0x6f,0x03, +0x00,0x70,0x0e,0x10,0xfc,0x3c,0xfc,0xd4,0x3c,0xec,0x12,0x39,0x11,0x12,0x39,0x31, +0x00,0x10,0xf4,0x3c,0xec,0x32,0x39,0x39,0x30,0x4b,0x53,0x58,0x07,0x10,0x08,0xed, +0x07,0x10,0x04,0xed,0x07,0x10,0x04,0xed,0x07,0x10,0x08,0xed,0x07,0x10,0x08,0xed, +0x07,0x10,0x04,0xed,0x07,0x10,0x04,0xed,0x07,0x10,0x08,0xed,0x59,0x22,0x13,0x01, +0x15,0x01,0x35,0x09,0x01,0x25,0x01,0x15,0x01,0x35,0x09,0x01,0xc1,0x01,0xd5,0xfe, +0x2b,0x01,0x2d,0xfe,0xd3,0x01,0xb2,0x01,0xd5,0xfe,0x2b,0x01,0x2d,0xfe,0xd3,0x04, +0x23,0xfe,0x5e,0x52,0xfe,0x5e,0xbf,0x01,0x0c,0x01,0x0c,0xbf,0xfe,0x5e,0x52,0xfe, +0x5e,0xbf,0x01,0x0c,0x01,0x0c,0xff,0xff,0x00,0x89,0xff,0xe3,0x07,0x7f,0x05,0xf0, +0x10,0x27,0x07,0xba,0x04,0x8b,0xfd,0x64,0x10,0x26,0x00,0x7b,0x00,0x00,0x10,0x07, +0x08,0x86,0x03,0x35,0x00,0x00,0xff,0xff,0x00,0x89,0xff,0xe3,0x07,0x3f,0x05,0xf0, +0x10,0x26,0x00,0x7b,0x00,0x00,0x10,0x27,0x08,0x86,0x03,0x35,0x00,0x00,0x10,0x07, +0x00,0x74,0x04,0x8b,0xfd,0x64,0xff,0xff,0x00,0x62,0xff,0xe3,0x07,0x7f,0x05,0xf0, +0x10,0x27,0x07,0xba,0x04,0x8b,0xfd,0x64,0x10,0x26,0x00,0x75,0x00,0x00,0x10,0x07, +0x08,0x86,0x03,0x35,0x00,0x00,0x00,0x02,0x00,0x8f,0xff,0xe3,0x03,0xac,0x05,0xd5, +0x00,0x20,0x00,0x24,0x00,0x86,0x40,0x2f,0x20,0x1a,0x05,0x02,0x04,0x06,0x19,0x00, +0x10,0x86,0x0f,0x88,0x0c,0x00,0x21,0x83,0x23,0x0c,0x95,0x13,0x8c,0x23,0x81,0x25, +0x06,0x22,0x19,0x16,0x09,0x05,0x01,0x00,0x1a,0x22,0x09,0x00,0x1c,0x01,0x22,0x1c, +0x21,0x26,0x0f,0x09,0x1c,0x16,0x25,0x10,0xdc,0xec,0xd4,0xfc,0xec,0xd4,0xec,0x11, +0x12,0x39,0x11,0x12,0x39,0x11,0x12,0x39,0x12,0x39,0x31,0x00,0x10,0xe4,0xf4,0xec, +0x10,0xfe,0xcd,0x10,0xf4,0xee,0x12,0x39,0x39,0x17,0x39,0x30,0x01,0x4b,0xb0,0x10, +0x54,0x4b,0xb0,0x12,0x54,0x5b,0x4b,0xb0,0x13,0x54,0x5b,0x58,0xbd,0x00,0x25,0xff, +0xc0,0x00,0x01,0x00,0x25,0x00,0x25,0x00,0x40,0x38,0x11,0x37,0x38,0x59,0x40,0x0b, +0x74,0x04,0x74,0x05,0x74,0x06,0x74,0x07,0x76,0x1c,0x05,0x5d,0x01,0x33,0x15,0x14, +0x06,0x0f,0x01,0x0e,0x01,0x15,0x14,0x16,0x33,0x32,0x36,0x37,0x15,0x0e,0x01,0x23, +0x22,0x26,0x35,0x34,0x36,0x3f,0x01,0x3e,0x01,0x37,0x3e,0x01,0x35,0x13,0x23,0x35, +0x33,0x01,0xf4,0xbe,0x37,0x5a,0x5a,0x3a,0x33,0x83,0x6d,0x4e,0xb4,0x60,0x5e,0xc0, +0x67,0xb8,0xe0,0x49,0x59,0x58,0x30,0x26,0x08,0x07,0x06,0xc4,0xca,0xca,0x04,0x44, +0x9c,0x65,0x82,0x57,0x58,0x35,0x5e,0x31,0x59,0x6e,0x46,0x43,0xbc,0x39,0x38,0xc2, +0x9f,0x4c,0x89,0x56,0x56,0x2f,0x35,0x19,0x15,0x3c,0x36,0x01,0x0e,0xfe,0xff,0xff, +0x00,0x10,0x00,0x00,0x05,0x68,0x07,0x6b,0x12,0x26,0x00,0x24,0x00,0x00,0x10,0x07, +0x0b,0xec,0x04,0xbc,0x01,0x75,0xff,0xff,0x00,0x10,0x00,0x00,0x05,0x68,0x07,0x6b, +0x12,0x26,0x00,0x24,0x00,0x00,0x10,0x07,0x0b,0xea,0x04,0xbc,0x01,0x75,0xff,0xff, +0x00,0x10,0x00,0x00,0x05,0x68,0x07,0x6d,0x12,0x26,0x00,0x24,0x00,0x00,0x11,0x07, +0x0b,0xed,0x04,0xbc,0x01,0x75,0x00,0x10,0xb4,0x05,0x0d,0x11,0x0a,0x07,0x2b,0x40, +0x05,0x0f,0x0d,0x00,0x11,0x02,0x5d,0x31,0xff,0xff,0x00,0x10,0x00,0x00,0x05,0x68, +0x07,0x5e,0x12,0x26,0x00,0x24,0x00,0x00,0x11,0x07,0x0b,0xeb,0x04,0xbc,0x01,0x75, +0x00,0x14,0xb4,0x0a,0x14,0x23,0x05,0x07,0x2b,0x40,0x09,0x40,0x14,0x4f,0x23,0x20, +0x14,0x2f,0x23,0x04,0x5d,0x31,0xff,0xff,0x00,0x10,0x00,0x00,0x05,0x68,0x07,0x4e, +0x12,0x26,0x00,0x24,0x00,0x00,0x11,0x07,0x0b,0xe9,0x04,0xbc,0x01,0x75,0x00,0x14, +0xb4,0x0a,0x12,0x0d,0x05,0x07,0x2b,0x40,0x09,0x30,0x12,0x3f,0x0d,0x00,0x12,0x0f, +0x0d,0x04,0x5d,0x31,0x00,0x03,0x00,0x10,0x00,0x00,0x05,0x68,0x07,0x6d,0x00,0x0b, +0x00,0x0e,0x00,0x21,0x00,0xcb,0x40,0x54,0x0c,0x11,0x0d,0x0c,0x1b,0x1c,0x1b,0x0e, +0x11,0x1c,0x1b,0x1e,0x11,0x1c,0x1b,0x1d,0x11,0x1c,0x1c,0x1b,0x0d,0x11,0x21,0x0f, +0x21,0x0c,0x11,0x0e,0x0c,0x0f,0x0f,0x21,0x20,0x11,0x0f,0x21,0x1f,0x11,0x21,0x0f, +0x21,0x42,0x0c,0x1b,0x0f,0x0d,0x09,0x03,0xc1,0x15,0x09,0x1e,0x95,0x0d,0x09,0x8e, +0x20,0x1c,0x1e,0x1d,0x1c,0x18,0x20,0x1f,0x21,0x0d,0x12,0x06,0x0e,0x18,0x0c,0x06, +0x1b,0x00,0x56,0x18,0x1c,0x0f,0x06,0x56,0x12,0x1c,0x21,0x22,0x10,0xd4,0xc4,0xd4, +0xec,0x32,0x10,0xd4,0xee,0x32,0x11,0x39,0x11,0x39,0x11,0x12,0x39,0x11,0x39,0x39, +0x11,0x12,0x39,0x39,0x31,0x00,0x2f,0x3c,0xe6,0xd6,0xee,0x10,0xd4,0xee,0x11,0x12, +0x39,0x39,0x39,0x30,0x4b,0x53,0x58,0x07,0x10,0x05,0xed,0x07,0x05,0xed,0x07,0x10, +0x08,0xed,0x07,0x10,0x05,0xed,0x07,0x10,0x05,0xed,0x07,0x05,0xed,0x07,0x05,0xed, +0x07,0x10,0x08,0xed,0x59,0x22,0xb2,0x20,0x23,0x01,0x01,0x5d,0x40,0x20,0x1a,0x0c, +0x73,0x0c,0x9b,0x0c,0x03,0x07,0x0f,0x08,0x1b,0x50,0x23,0x66,0x0d,0x69,0x0e,0x75, +0x0d,0x7b,0x0e,0x79,0x1c,0x79,0x1d,0x76,0x20,0x76,0x21,0x80,0x23,0x0c,0x5d,0x00, +0x5d,0x01,0x34,0x26,0x23,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x03,0x01,0x21, +0x01,0x2e,0x01,0x35,0x34,0x36,0x33,0x32,0x16,0x15,0x14,0x06,0x07,0x01,0x23,0x03, +0x21,0x03,0x23,0x03,0x54,0x59,0x3f,0x40,0x57,0x58,0x3f,0x3f,0x59,0x98,0xfe,0xf0, +0x02,0x21,0xfe,0x58,0x3d,0x3e,0x9f,0x73,0x72,0xa1,0x3f,0x3c,0x02,0x14,0xd2,0x88, +0xfd,0x5f,0x88,0xd5,0x06,0x5a,0x3f,0x59,0x57,0x41,0x3f,0x58,0x58,0xfe,0xf3,0xfd, +0x19,0x03,0x4e,0x29,0x73,0x49,0x73,0xa0,0xa1,0x72,0x46,0x76,0x29,0xfa,0x8b,0x01, +0x7f,0xfe,0x81,0x00,0x00,0x02,0x00,0x08,0x00,0x00,0x07,0x48,0x05,0xd5,0x00,0x0f, +0x00,0x13,0x00,0x87,0x40,0x39,0x11,0x11,0x0e,0x0f,0x0e,0x10,0x11,0x0f,0x0f,0x0e, +0x0d,0x11,0x0f,0x0e,0x0c,0x11,0x0e,0x0f,0x0e,0x42,0x05,0x95,0x03,0x0b,0x95,0x11, +0x01,0x95,0x10,0x95,0x00,0x81,0x11,0x07,0x95,0x03,0xad,0x0d,0x09,0x11,0x10,0x0f, +0x0d,0x0c,0x05,0x0e,0x0a,0x00,0x04,0x08,0x06,0x02,0x1c,0x12,0x0a,0x0e,0x14,0x10, +0xd4,0xd4,0x3c,0xec,0x32,0xd4,0xc4,0xc4,0x11,0x12,0x17,0x39,0x31,0x00,0x2f,0x3c, +0xec,0xec,0xc4,0xf4,0xec,0xec,0x10,0xee,0x10,0xee,0x30,0x4b,0x53,0x58,0x07,0x10, +0x05,0xed,0x07,0x05,0xed,0x07,0x10,0x05,0xed,0x07,0x10,0x05,0xed,0x59,0x22,0xb2, +0x80,0x15,0x01,0x01,0x5d,0x40,0x13,0x67,0x11,0x77,0x10,0x77,0x11,0x86,0x0c,0x85, +0x10,0x96,0x11,0x90,0x15,0xa0,0x15,0xbf,0x15,0x09,0x5d,0x01,0x15,0x21,0x11,0x21, +0x15,0x21,0x11,0x21,0x15,0x21,0x11,0x21,0x03,0x23,0x01,0x17,0x01,0x21,0x11,0x07, +0x35,0xfd,0x1b,0x02,0xc7,0xfd,0x39,0x02,0xf8,0xfc,0x3d,0xfd,0xf0,0xa0,0xcd,0x02, +0x71,0x8b,0xfe,0xb6,0x01,0xcb,0x05,0xd5,0xaa,0xfe,0x46,0xaa,0xfd,0xe3,0xaa,0x01, +0x7f,0xfe,0x81,0x05,0xd5,0x9e,0xfc,0xf0,0x03,0x10,0xff,0xff,0x00,0x73,0xfe,0x75, +0x05,0x27,0x05,0xf0,0x12,0x26,0x00,0x26,0x00,0x00,0x10,0x07,0x00,0x7a,0x01,0x2d, +0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x04,0x8b,0x07,0x6b,0x12,0x26,0x00,0x28, +0x00,0x00,0x10,0x07,0x0b,0xec,0x04,0x9e,0x01,0x75,0xff,0xff,0x00,0xc9,0x00,0x00, +0x04,0x8b,0x07,0x6b,0x12,0x26,0x00,0x28,0x00,0x00,0x10,0x07,0x0b,0xea,0x04,0x9e, +0x01,0x75,0xff,0xff,0x00,0xc9,0x00,0x00,0x04,0x8b,0x07,0x6d,0x12,0x26,0x00,0x28, +0x00,0x00,0x11,0x07,0x0b,0xed,0x04,0x9e,0x01,0x75,0x00,0x07,0x40,0x03,0x40,0x0c, +0x01,0x5d,0x31,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x04,0x8b,0x07,0x4e,0x12,0x26, +0x00,0x28,0x00,0x00,0x11,0x07,0x0b,0xe9,0x04,0x9e,0x01,0x75,0x00,0x09,0x40,0x05, +0x40,0x0c,0x40,0x10,0x02,0x5d,0x31,0x00,0xff,0xff,0x00,0x3b,0x00,0x00,0x01,0xba, +0x07,0x6b,0x12,0x26,0x00,0x2c,0x00,0x00,0x10,0x07,0x0b,0xec,0x03,0x2f,0x01,0x75, +0xff,0xff,0x00,0xa2,0x00,0x00,0x02,0x1f,0x07,0x6b,0x12,0x26,0x00,0x2c,0x00,0x00, +0x10,0x07,0x0b,0xea,0x03,0x2f,0x01,0x75,0xff,0xff,0xff,0xfe,0x00,0x00,0x02,0x60, +0x07,0x6d,0x12,0x26,0x00,0x2c,0x00,0x00,0x11,0x07,0x0b,0xed,0x03,0x2f,0x01,0x75, +0x00,0x08,0xb4,0x01,0x06,0x0a,0x00,0x07,0x2b,0x31,0xff,0xff,0x00,0x06,0x00,0x00, +0x02,0x58,0x07,0x4e,0x12,0x26,0x00,0x2c,0x00,0x00,0x11,0x07,0x0b,0xe9,0x03,0x2f, +0x01,0x75,0x00,0x08,0xb4,0x00,0x0a,0x07,0x01,0x07,0x2b,0x31,0x00,0x02,0x00,0x0a, +0x00,0x00,0x05,0xba,0x05,0xd5,0x00,0x0c,0x00,0x19,0x00,0x67,0x40,0x20,0x10,0x09, +0xa9,0x0b,0x0d,0x95,0x00,0x81,0x12,0x95,0x0e,0x0b,0x07,0x07,0x01,0x19,0x13,0x04, +0x0f,0x0d,0x16,0x19,0x04,0x32,0x0a,0x11,0x0d,0x1c,0x08,0x00,0x79,0x1a,0x10,0xf4, +0x3c,0xec,0x32,0xc4,0xf4,0xec,0x10,0xc4,0x17,0x39,0x31,0x00,0x2f,0xc6,0x32,0xee, +0xf6,0xee,0x10,0xee,0x32,0x30,0x40,0x28,0x20,0x1b,0x7f,0x1b,0xb0,0x1b,0x03,0x9f, +0x09,0x9f,0x0a,0x9f,0x0b,0x9f,0x0c,0x9f,0x0e,0x9f,0x0f,0x9f,0x10,0x9f,0x11,0xbf, +0x09,0xbf,0x0a,0xbf,0x0b,0xbf,0x0c,0xbf,0x0e,0xbf,0x0f,0xbf,0x10,0xbf,0x11,0x10, +0x5d,0x01,0x5d,0x13,0x21,0x20,0x00,0x11,0x10,0x00,0x29,0x01,0x11,0x23,0x35,0x33, +0x13,0x11,0x21,0x15,0x21,0x11,0x33,0x20,0x00,0x11,0x10,0x00,0x21,0xd3,0x01,0xa0, +0x01,0xb1,0x01,0x96,0xfe,0x69,0xfe,0x50,0xfe,0x60,0xc9,0xc9,0xcb,0x01,0x50,0xfe, +0xb0,0xf3,0x01,0x35,0x01,0x1f,0xfe,0xe1,0xfe,0xcb,0x05,0xd5,0xfe,0x97,0xfe,0x80, +0xfe,0x7e,0xfe,0x96,0x02,0xbc,0x90,0x01,0xe3,0xfe,0x1d,0x90,0xfd,0xea,0x01,0x18, +0x01,0x2e,0x01,0x2c,0x01,0x17,0xff,0xff,0x00,0xc9,0x00,0x00,0x05,0x33,0x07,0x5e, +0x12,0x26,0x00,0x31,0x00,0x00,0x11,0x07,0x0b,0xeb,0x04,0xfe,0x01,0x75,0x00,0x14, +0xb4,0x00,0x13,0x22,0x04,0x07,0x2b,0x40,0x09,0x30,0x13,0x3f,0x22,0x10,0x13,0x1f, +0x22,0x04,0x5d,0x31,0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0xd9,0x07,0x6b,0x12,0x26, +0x00,0x32,0x00,0x00,0x10,0x07,0x0b,0xec,0x05,0x27,0x01,0x75,0xff,0xff,0x00,0x73, +0xff,0xe3,0x05,0xd9,0x07,0x6b,0x12,0x26,0x00,0x32,0x00,0x00,0x10,0x07,0x0b,0xea, +0x05,0x27,0x01,0x75,0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0xd9,0x07,0x6d,0x12,0x26, +0x00,0x32,0x00,0x00,0x11,0x07,0x0b,0xed,0x05,0x27,0x01,0x75,0x00,0x10,0xb4,0x0f, +0x1a,0x1e,0x15,0x07,0x2b,0x40,0x05,0x1f,0x1a,0x10,0x1e,0x02,0x5d,0x31,0xff,0xff, +0x00,0x73,0xff,0xe3,0x05,0xd9,0x07,0x5e,0x12,0x26,0x00,0x32,0x00,0x00,0x11,0x07, +0x0b,0xeb,0x05,0x27,0x01,0x75,0x00,0x18,0xb4,0x03,0x21,0x30,0x09,0x07,0x2b,0x40, +0x0d,0x30,0x21,0x3f,0x30,0x20,0x21,0x2f,0x30,0x10,0x21,0x1f,0x30,0x06,0x5d,0x31, +0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0xd9,0x07,0x4e,0x12,0x26,0x00,0x32,0x00,0x00, +0x11,0x07,0x0b,0xe9,0x05,0x27,0x01,0x75,0x00,0x14,0xb4,0x03,0x1f,0x1a,0x09,0x07, +0x2b,0x40,0x09,0x40,0x1f,0x4f,0x1a,0x10,0x1f,0x1f,0x1a,0x04,0x5d,0x31,0x00,0x01, +0x01,0x19,0x00,0x3f,0x05,0x9c,0x04,0xc5,0x00,0x0b,0x00,0x85,0x40,0x4d,0x0a,0x9c, +0x0b,0x0a,0x07,0x08,0x07,0x09,0x9c,0x08,0x08,0x07,0x04,0x9c,0x03,0x04,0x07,0x07, +0x06,0x05,0x9c,0x06,0x07,0x06,0x04,0x9c,0x05,0x04,0x01,0x02,0x01,0x03,0x9c,0x02, +0x02,0x01,0x0b,0x9c,0x00,0x01,0x00,0x0a,0x9c,0x09,0x0a,0x01,0x01,0x00,0x42,0x0a, +0x08,0x07,0x06,0x04,0x02,0x01,0x00,0x08,0x05,0x03,0x0b,0x09,0x0c,0x0b,0x0a,0x09, +0x07,0x05,0x04,0x03,0x01,0x08,0x02,0x00,0x08,0x06,0x0c,0x10,0xd4,0x3c,0xcc,0x32, +0x17,0x39,0x31,0x00,0x10,0xd4,0x3c,0xcc,0x32,0x17,0x39,0x30,0x4b,0x53,0x58,0x07, +0x10,0x08,0xed,0x07,0x10,0x05,0xed,0x07,0x10,0x05,0xed,0x07,0x10,0x08,0xed,0x07, +0x10,0x05,0xed,0x07,0x10,0x08,0xed,0x07,0x10,0x05,0xed,0x07,0x10,0x08,0xed,0x59, +0x22,0x09,0x02,0x07,0x09,0x01,0x27,0x09,0x01,0x37,0x09,0x01,0x05,0x9c,0xfe,0x37, +0x01,0xc9,0x77,0xfe,0x35,0xfe,0x35,0x76,0x01,0xc8,0xfe,0x38,0x76,0x01,0xcb,0x01, +0xcb,0x04,0x4c,0xfe,0x35,0xfe,0x37,0x79,0x01,0xcb,0xfe,0x35,0x79,0x01,0xc9,0x01, +0xcb,0x79,0xfe,0x35,0x01,0xcb,0x00,0x03,0x00,0x66,0xff,0xba,0x05,0xe5,0x06,0x17, +0x00,0x09,0x00,0x13,0x00,0x2b,0x00,0x9e,0x40,0x3c,0x1d,0x1f,0x1a,0x0d,0x2b,0x2c, +0x13,0x0a,0x01,0x00,0x04,0x0d,0x29,0x26,0x20,0x14,0x0d,0x04,0x2a,0x26,0x1e,0x1a, +0x04,0x95,0x26,0x0d,0x95,0x1a,0x91,0x26,0x8c,0x2c,0x2b,0x2c,0x2a,0x14,0x17,0x10, +0x20,0x1e,0x23,0x13,0x0a,0x01,0x00,0x04,0x1d,0x29,0x10,0x07,0x1f,0x07,0x19,0x23, +0x33,0x10,0x19,0x17,0x10,0x2c,0x10,0xfc,0xec,0xfc,0xec,0xc0,0x11,0x12,0x39,0x39, +0x17,0x39,0x12,0x39,0x39,0x11,0x12,0x39,0x39,0x11,0x39,0x31,0x00,0x10,0xe4,0xf4, +0xec,0x10,0xee,0x10,0xc0,0x10,0xc0,0x11,0x12,0x39,0x39,0x12,0x39,0x12,0x17,0x39, +0x12,0x39,0x11,0x12,0x39,0x39,0x30,0x40,0x2a,0x57,0x00,0x5a,0x15,0x57,0x19,0x55, +0x21,0x6a,0x15,0x65,0x21,0x7b,0x15,0x76,0x1c,0x75,0x21,0x09,0x46,0x13,0x59,0x00, +0x56,0x13,0x6a,0x00,0x64,0x13,0x64,0x1c,0x6a,0x28,0x7c,0x00,0x73,0x13,0x76,0x1c, +0x7a,0x28,0x0b,0x5d,0x01,0x5d,0x09,0x01,0x1e,0x01,0x33,0x32,0x00,0x11,0x34,0x26, +0x27,0x2e,0x01,0x23,0x22,0x00,0x11,0x14,0x16,0x17,0x07,0x26,0x02,0x35,0x10,0x00, +0x21,0x32,0x16,0x17,0x37,0x17,0x07,0x16,0x12,0x15,0x10,0x00,0x21,0x22,0x26,0x27, +0x07,0x27,0x04,0xb6,0xfd,0x33,0x3e,0xa1,0x5f,0xdc,0x01,0x01,0x27,0x79,0x3d,0xa1, +0x5f,0xdc,0xfe,0xfd,0x27,0x27,0x86,0x4e,0x4f,0x01,0x79,0x01,0x3b,0x82,0xdd,0x57, +0xa2,0x66,0xaa,0x4e,0x50,0xfe,0x88,0xfe,0xc6,0x80,0xdd,0x5b,0xa2,0x67,0x04,0x58, +0xfc,0xb2,0x40,0x43,0x01,0x48,0x01,0x1a,0x70,0xb8,0xb8,0x40,0x43,0xfe,0xb8,0xfe, +0xe5,0x70,0xbc,0x44,0x9e,0x66,0x01,0x08,0xa0,0x01,0x62,0x01,0xa5,0x4d,0x4b,0xbf, +0x59,0xc6,0x67,0xfe,0xf6,0x9e,0xfe,0x9f,0xfe,0x5b,0x4b,0x4b,0xbf,0x58,0xff,0xff, +0x00,0xb2,0xff,0xe3,0x05,0x29,0x07,0x6b,0x12,0x26,0x00,0x38,0x00,0x00,0x10,0x07, +0x0b,0xec,0x04,0xee,0x01,0x75,0xff,0xff,0x00,0xb2,0xff,0xe3,0x05,0x29,0x07,0x6b, +0x12,0x26,0x00,0x38,0x00,0x00,0x10,0x07,0x0b,0xea,0x04,0xee,0x01,0x75,0xff,0xff, +0x00,0xb2,0xff,0xe3,0x05,0x29,0x07,0x6d,0x12,0x26,0x00,0x38,0x00,0x00,0x11,0x07, +0x0b,0xed,0x04,0xee,0x01,0x75,0x00,0x14,0xb4,0x0a,0x14,0x18,0x00,0x07,0x2b,0x40, +0x09,0x2f,0x14,0x20,0x18,0x1f,0x14,0x10,0x18,0x04,0x5d,0x31,0xff,0xff,0x00,0xb2, +0xff,0xe3,0x05,0x29,0x07,0x4e,0x12,0x26,0x00,0x38,0x00,0x00,0x11,0x07,0x0b,0xe9, +0x04,0xee,0x01,0x75,0x00,0x1c,0xb4,0x01,0x19,0x14,0x09,0x07,0x2b,0x40,0x11,0x50, +0x19,0x5f,0x14,0x40,0x19,0x4f,0x14,0x20,0x19,0x2f,0x14,0x10,0x19,0x1f,0x14,0x08, +0x5d,0x31,0xff,0xff,0xff,0xfc,0x00,0x00,0x04,0xe7,0x07,0x6b,0x12,0x26,0x00,0x3c, +0x00,0x00,0x10,0x07,0x0b,0xea,0x04,0x73,0x01,0x75,0x00,0x02,0x00,0xc9,0x00,0x00, +0x04,0x8d,0x05,0xd5,0x00,0x0c,0x00,0x15,0x00,0x3d,0x40,0x1b,0x0e,0x95,0x09,0x0d, +0x95,0x02,0xf6,0x00,0x81,0x0b,0x15,0x0f,0x09,0x03,0x04,0x01,0x12,0x19,0x06,0x3f, +0x0d,0x0a,0x01,0x1c,0x00,0x04,0x16,0x10,0xfc,0xec,0x32,0x32,0xfc,0xec,0x11,0x17, +0x39,0x31,0x00,0x2f,0xf4,0xfc,0xec,0xd4,0xec,0x30,0x40,0x09,0x0f,0x17,0x1f,0x17, +0x3f,0x17,0x5f,0x17,0x04,0x01,0x5d,0x13,0x33,0x11,0x33,0x32,0x04,0x15,0x14,0x04, +0x2b,0x01,0x11,0x23,0x13,0x11,0x33,0x32,0x36,0x35,0x34,0x26,0x23,0xc9,0xca,0xfe, +0xfb,0x01,0x01,0xfe,0xff,0xfb,0xfe,0xca,0xca,0xfe,0x8d,0x9a,0x99,0x8e,0x05,0xd5, +0xfe,0xf8,0xe1,0xdc,0xdc,0xe2,0xfe,0xae,0x04,0x27,0xfd,0xd1,0x92,0x86,0x86,0x91, +0x00,0x01,0x00,0xba,0xff,0xe3,0x04,0xac,0x06,0x14,0x00,0x2f,0x00,0x9a,0x40,0x30, +0x2d,0x27,0x21,0x0c,0x04,0x06,0x0d,0x20,0x00,0x04,0x2a,0x16,0x86,0x17,0x1a,0xb9, +0x13,0x2a,0xb9,0x03,0x97,0x13,0x8c,0x2e,0x0c,0x09,0x0d,0x1d,0x20,0x21,0x27,0x09, +0x08,0x24,0x27,0x08,0x06,0x1d,0x08,0x24,0x10,0x16,0x2d,0x08,0x10,0x00,0x46,0x30, +0x10,0xfc,0xc4,0xfc,0xcc,0x10,0xc6,0xee,0xd4,0xee,0x10,0xee,0x11,0x39,0x39,0x12, +0x39,0x12,0x39,0x31,0x00,0x2f,0xe4,0xfe,0xee,0x10,0xfe,0xd5,0xee,0x12,0x17,0x39, +0x17,0x39,0x30,0x40,0x40,0x0f,0x05,0x0f,0x06,0x0f,0x07,0x0f,0x27,0x0f,0x28,0x8a, +0x0c,0x8a,0x0d,0x07,0x0a,0x06,0x0a,0x07,0x0a,0x0b,0x0a,0x0c,0x0a,0x0d,0x0a,0x1f, +0x0d,0x20,0x0a,0x21,0x0c,0x22,0x04,0x26,0x19,0x0d,0x19,0x1f,0x19,0x20,0x3a,0x20, +0x3a,0x21,0x4d,0x1f,0x4d,0x20,0x49,0x21,0x49,0x22,0x6a,0x1f,0x6a,0x20,0xa5,0x06, +0xa5,0x07,0xa6,0x20,0x18,0x5d,0x01,0x5d,0x13,0x34,0x36,0x33,0x32,0x16,0x17,0x0e, +0x01,0x15,0x14,0x16,0x1f,0x01,0x1e,0x01,0x15,0x14,0x06,0x23,0x22,0x26,0x27,0x35, +0x1e,0x01,0x33,0x32,0x36,0x35,0x34,0x26,0x2f,0x01,0x2e,0x01,0x35,0x34,0x36,0x37, +0x2e,0x01,0x23,0x22,0x06,0x15,0x11,0x23,0xba,0xef,0xda,0xd0,0xdb,0x03,0x97,0xa8, +0x3a,0x41,0x39,0xa6,0x60,0xe1,0xd3,0x40,0x88,0x49,0x50,0x8c,0x41,0x74,0x78,0x3b, +0x65,0x5c,0x60,0x57,0xa7,0x97,0x08,0x83,0x71,0x82,0x88,0xbb,0x04,0x71,0xc8,0xdb, +0xe8,0xe0,0x08,0x73,0x60,0x2f,0x51,0x2a,0x25,0x6a,0x8e,0x64,0xac,0xb7,0x19,0x18, +0xa4,0x1e,0x1d,0x5f,0x5b,0x3f,0x54,0x3e,0x37,0x3b,0x87,0x5b,0x7f,0xac,0x1d,0x67, +0x70,0x8b,0x83,0xfb,0x93,0x00,0xff,0xff,0x00,0x7b,0xff,0xe3,0x04,0x2d,0x06,0x66, +0x12,0x26,0x00,0x44,0x00,0x00,0x11,0x06,0x00,0x43,0x52,0x00,0x00,0x0b,0x40,0x07, +0x3f,0x26,0x2f,0x26,0x1f,0x26,0x03,0x5d,0x31,0x00,0xff,0xff,0x00,0x7b,0xff,0xe3, +0x04,0x2d,0x06,0x66,0x12,0x26,0x00,0x44,0x00,0x00,0x11,0x06,0x00,0x76,0x52,0x00, +0x00,0x0b,0x40,0x07,0x3f,0x26,0x2f,0x26,0x1f,0x26,0x03,0x5d,0x31,0x00,0xff,0xff, +0x00,0x7b,0xff,0xe3,0x04,0x2d,0x06,0x66,0x12,0x26,0x00,0x44,0x00,0x00,0x11,0x06, +0x02,0x7a,0x52,0x00,0x00,0x08,0xb4,0x0b,0x28,0x2c,0x14,0x07,0x2b,0x31,0xff,0xff, +0x00,0x7b,0xff,0xe3,0x04,0x2d,0x06,0x37,0x12,0x26,0x00,0x44,0x00,0x00,0x11,0x06, +0x02,0x90,0x52,0x00,0x00,0x14,0xb4,0x14,0x2e,0x3c,0x0b,0x07,0x2b,0x40,0x09,0x20, +0x2e,0x2f,0x3c,0x10,0x2e,0x1f,0x3c,0x04,0x5d,0x31,0xff,0xff,0x00,0x7b,0xff,0xe3, +0x04,0x2d,0x06,0x10,0x12,0x26,0x00,0x44,0x00,0x00,0x11,0x06,0x00,0x6a,0x52,0x00, +0x00,0x20,0xb4,0x14,0x2d,0x28,0x0b,0x07,0x2b,0x40,0x15,0x7f,0x28,0x6f,0x28,0x50, +0x2d,0x5f,0x28,0x40,0x2d,0x4f,0x28,0x30,0x2d,0x3f,0x28,0x00,0x2d,0x0f,0x28,0x0a, +0x5d,0x31,0xff,0xff,0x00,0x7b,0xff,0xe3,0x04,0x2d,0x07,0x06,0x12,0x26,0x00,0x44, +0x00,0x00,0x11,0x06,0x02,0x8e,0x52,0x00,0x00,0x25,0x40,0x0e,0x26,0x2c,0x14,0x2c, +0x26,0x0b,0x07,0x32,0x38,0x14,0x38,0x32,0x0b,0x07,0x2b,0x10,0xc4,0x2b,0x10,0xc4, +0x31,0x00,0x40,0x09,0x3f,0x35,0x3f,0x2f,0x0f,0x35,0x0f,0x2f,0x04,0x5d,0x30,0x00, +0x00,0x03,0x00,0x7b,0xff,0xe3,0x07,0x6f,0x04,0x7b,0x00,0x06,0x00,0x33,0x00,0x3e, +0x01,0x03,0x40,0x43,0x27,0x2d,0x25,0x3d,0x0e,0x0d,0x00,0x34,0xa9,0x25,0x16,0x86, +0x15,0x88,0x12,0x00,0xa9,0x0e,0x3a,0x12,0xb9,0x1c,0x19,0x2e,0x86,0x2d,0xba,0x2a, +0x03,0xb9,0x0e,0xbb,0x07,0x31,0x0a,0xb8,0x1f,0x19,0x8c,0x25,0x3f,0x34,0x37,0x26, +0x06,0x0f,0x00,0x25,0x37,0x1c,0x07,0x26,0x0f,0x15,0x00,0x08,0x0d,0x3d,0x26,0x08, +0x0f,0x2d,0x37,0x08,0x22,0x45,0x3f,0x10,0xfc,0xec,0xcc,0xd4,0xfc,0x3c,0xd4,0xec, +0xc4,0x11,0x12,0x39,0x39,0x11,0x39,0x11,0x12,0x39,0x11,0x12,0x39,0x31,0x00,0x10, +0xc4,0xe4,0x32,0xf4,0x3c,0xc4,0xe4,0xfc,0x3c,0xf4,0xec,0x10,0xc4,0xee,0x32,0x10, +0xee,0x10,0xf4,0xee,0x10,0xee,0x11,0x39,0x11,0x39,0x11,0x12,0x39,0x30,0x40,0x81, +0x30,0x2b,0x30,0x2c,0x30,0x2d,0x30,0x2e,0x30,0x2f,0x30,0x30,0x40,0x2b,0x40,0x2c, +0x40,0x2d,0x40,0x2e,0x40,0x2f,0x40,0x30,0x50,0x2b,0x50,0x2c,0x50,0x2d,0x50,0x2e, +0x50,0x2f,0x50,0x30,0x85,0x2b,0x85,0x30,0x80,0x40,0x90,0x40,0xa0,0x40,0xb0,0x40, +0xc0,0x40,0xd0,0x40,0xe0,0x40,0xe0,0x40,0xf0,0x40,0x1d,0x3f,0x00,0x3f,0x06,0x3f, +0x0d,0x3f,0x0e,0x3f,0x0f,0x05,0x30,0x2c,0x30,0x2d,0x30,0x2e,0x30,0x2f,0x40,0x2c, +0x40,0x2d,0x40,0x2e,0x40,0x2f,0x50,0x2c,0x50,0x2d,0x50,0x2e,0x50,0x2f,0x6f,0x00, +0x6f,0x06,0x6f,0x0d,0x6f,0x0e,0x6f,0x0f,0x60,0x2c,0x60,0x2d,0x60,0x2e,0x60,0x2f, +0x70,0x2c,0x70,0x2d,0x70,0x2e,0x70,0x2f,0x80,0x2c,0x80,0x2d,0x80,0x2e,0x80,0x2f, +0x1d,0x5d,0x71,0x01,0x5d,0x01,0x2e,0x01,0x23,0x22,0x06,0x07,0x03,0x3e,0x01,0x33, +0x32,0x00,0x1d,0x01,0x21,0x1e,0x01,0x33,0x32,0x36,0x37,0x15,0x0e,0x01,0x23,0x22, +0x26,0x27,0x0e,0x01,0x23,0x22,0x26,0x35,0x34,0x36,0x33,0x21,0x35,0x34,0x26,0x23, +0x22,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x16,0x03,0x22,0x06,0x15,0x14,0x16,0x33, +0x32,0x36,0x3d,0x01,0x06,0xb6,0x01,0xa5,0x89,0x99,0xb9,0x0e,0x44,0x4a,0xd4,0x84, +0xe2,0x01,0x08,0xfc,0xb2,0x0c,0xcc,0xb7,0x68,0xc8,0x64,0x64,0xd0,0x6a,0xa7,0xf8, +0x4d,0x49,0xd8,0x8f,0xbd,0xd2,0xfd,0xfb,0x01,0x02,0xa7,0x97,0x60,0xb6,0x54,0x65, +0xbe,0x5a,0x8e,0xd5,0xef,0xdf,0xac,0x81,0x6f,0x99,0xb9,0x02,0x94,0x97,0xb4,0xae, +0x9e,0x01,0x30,0x5a,0x5e,0xfe,0xdd,0xfa,0x5a,0xbf,0xc8,0x35,0x35,0xae,0x2a,0x2c, +0x79,0x77,0x78,0x78,0xbb,0xa8,0xbd,0xc0,0x12,0x7f,0x8b,0x2e,0x2e,0xaa,0x27,0x27, +0x60,0xfe,0x18,0x66,0x7b,0x62,0x73,0xd9,0xb4,0x29,0xff,0xff,0x00,0x71,0xfe,0x75, +0x03,0xe7,0x04,0x7b,0x12,0x26,0x00,0x46,0x00,0x00,0x10,0x07,0x00,0x7a,0x00,0x8f, +0x00,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x7f,0x06,0x66,0x12,0x26,0x00,0x48, +0x00,0x00,0x10,0x07,0x00,0x43,0x00,0x8b,0x00,0x00,0xff,0xff,0x00,0x71,0xff,0xe3, +0x04,0x7f,0x06,0x66,0x12,0x26,0x00,0x48,0x00,0x00,0x10,0x07,0x00,0x76,0x00,0x8b, +0x00,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x7f,0x06,0x66,0x12,0x26,0x00,0x48, +0x00,0x00,0x11,0x07,0x02,0x7a,0x00,0x8b,0x00,0x00,0x00,0x08,0xb4,0x15,0x1e,0x22, +0x1b,0x07,0x2b,0x31,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x7f,0x06,0x10,0x12,0x26, +0x00,0x48,0x00,0x00,0x11,0x07,0x00,0x6a,0x00,0x8b,0x00,0x00,0x00,0x07,0x40,0x03, +0x40,0x20,0x01,0x5d,0x31,0x00,0xff,0xff,0xff,0xc7,0x00,0x00,0x01,0xa6,0x06,0x66, +0x12,0x26,0x00,0xf3,0x00,0x00,0x10,0x07,0x00,0x43,0xff,0x1d,0x00,0x00,0xff,0xff, +0x00,0x90,0x00,0x00,0x02,0x6f,0x06,0x66,0x12,0x26,0x00,0xf3,0x00,0x00,0x10,0x07, +0x00,0x76,0xff,0x1d,0x00,0x00,0xff,0xff,0xff,0xde,0x00,0x00,0x02,0x5c,0x06,0x66, +0x12,0x26,0x00,0xf3,0x00,0x00,0x11,0x07,0x02,0x7a,0xff,0x1d,0x00,0x00,0x00,0x08, +0xb4,0x01,0x06,0x0a,0x00,0x07,0x2b,0x31,0xff,0xff,0xff,0xf4,0x00,0x00,0x02,0x46, +0x06,0x10,0x12,0x26,0x00,0xf3,0x00,0x00,0x11,0x07,0x00,0x6a,0xff,0x1d,0x00,0x00, +0x00,0x08,0xb4,0x00,0x0a,0x07,0x01,0x07,0x2b,0x31,0x00,0x02,0x00,0x71,0xff,0xe3, +0x04,0x75,0x06,0x14,0x00,0x0e,0x00,0x28,0x01,0x27,0x40,0x5e,0x25,0x7b,0x26,0x25, +0x1e,0x23,0x1e,0x24,0x7b,0x23,0x23,0x1e,0x0f,0x7b,0x23,0x1e,0x28,0x7b,0x27,0x28, +0x1e,0x23,0x1e,0x26,0x27,0x28,0x27,0x25,0x24,0x25,0x28,0x28,0x27,0x22,0x23,0x22, +0x1f,0x20,0x1f,0x21,0x20,0x20,0x1f,0x42,0x28,0x27,0x26,0x25,0x22,0x21,0x20,0x1f, +0x08,0x23,0x1e,0x03,0x0f,0x23,0x03,0xb9,0x1b,0x09,0xb9,0x15,0x8c,0x1b,0x23,0xb1, +0x29,0x26,0x27,0x12,0x0c,0x21,0x20,0x18,0x28,0x25,0x23,0x22,0x1f,0x05,0x1e,0x0f, +0x06,0x0c,0x12,0x12,0x51,0x06,0x12,0x18,0x45,0x29,0x10,0xfc,0xec,0xf4,0xec,0x11, +0x39,0x39,0x17,0x39,0x12,0x39,0x39,0x11,0x12,0x39,0x39,0x31,0x00,0x10,0xec,0xc4, +0xf4,0xec,0x10,0xee,0x12,0x39,0x12,0x39,0x12,0x17,0x39,0x30,0x4b,0x53,0x58,0x07, +0x10,0x0e,0xc9,0x07,0x10,0x08,0xc9,0x07,0x10,0x08,0xc9,0x07,0x10,0x0e,0xc9,0x07, +0x10,0x08,0xed,0x07,0x0e,0xed,0x07,0x10,0x05,0xed,0x07,0x10,0x08,0xed,0x59,0x22, +0xb2,0x3f,0x2a,0x01,0x01,0x5d,0x40,0x76,0x16,0x25,0x2b,0x1f,0x28,0x22,0x2f,0x23, +0x2f,0x24,0x29,0x25,0x2d,0x26,0x2d,0x27,0x2a,0x28,0x36,0x25,0x46,0x25,0x58,0x20, +0x58,0x21,0x60,0x20,0x60,0x21,0x66,0x22,0x75,0x20,0x75,0x21,0x75,0x22,0x13,0x25, +0x23,0x25,0x24,0x26,0x26,0x26,0x27,0x27,0x28,0x36,0x24,0x36,0x25,0x46,0x24,0x45, +0x25,0x5a,0x20,0x5a,0x21,0x62,0x20,0x62,0x21,0x7f,0x00,0x7f,0x01,0x7f,0x02,0x7a, +0x03,0x7b,0x09,0x7f,0x0a,0x7f,0x0b,0x7f,0x0c,0x7f,0x0d,0x7f,0x0e,0x7f,0x0f,0x7f, +0x10,0x7f,0x11,0x7f,0x12,0x7f,0x13,0x7f,0x14,0x7b,0x15,0x7a,0x1b,0x7a,0x1c,0x7f, +0x1d,0x7f,0x1e,0x76,0x20,0x76,0x21,0x78,0x22,0xa0,0x2a,0xf0,0x2a,0x27,0x5d,0x00, +0x5d,0x01,0x2e,0x01,0x23,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26, +0x13,0x16,0x12,0x15,0x14,0x00,0x23,0x22,0x00,0x11,0x34,0x00,0x33,0x32,0x16,0x17, +0x27,0x05,0x27,0x25,0x27,0x33,0x17,0x25,0x17,0x05,0x03,0x46,0x32,0x58,0x29,0xa7, +0xb9,0xae,0x92,0x91,0xae,0x36,0x09,0x7e,0x72,0xfe,0xe4,0xe6,0xe7,0xfe,0xe5,0x01, +0x14,0xdd,0x12,0x34,0x2a,0x9f,0xfe,0xc1,0x21,0x01,0x19,0xb5,0xe4,0x7f,0x01,0x4d, +0x21,0xfe,0xd9,0x03,0x93,0x11,0x10,0xd8,0xc3,0xbc,0xde,0xde,0xbc,0x7a,0xbc,0x01, +0x26,0x8f,0xfe,0xe0,0xad,0xff,0xfe,0xc9,0x01,0x37,0x00,0xff,0xfa,0x01,0x37,0x05, +0x05,0xb4,0x6b,0x63,0x5c,0xcc,0x91,0x6f,0x61,0x62,0xff,0xff,0x00,0xba,0x00,0x00, +0x04,0x64,0x06,0x37,0x12,0x26,0x00,0x51,0x00,0x00,0x10,0x07,0x02,0x90,0x00,0x98, +0x00,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x75,0x06,0x66,0x12,0x26,0x00,0x52, +0x00,0x00,0x10,0x06,0x00,0x43,0x73,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x75, +0x06,0x66,0x12,0x26,0x00,0x52,0x00,0x00,0x10,0x06,0x00,0x76,0x73,0x00,0xff,0xff, +0x00,0x71,0xff,0xe3,0x04,0x75,0x06,0x66,0x12,0x26,0x00,0x52,0x00,0x00,0x11,0x06, +0x02,0x7a,0x73,0x00,0x00,0x08,0xb4,0x0f,0x1a,0x1e,0x15,0x07,0x2b,0x31,0xff,0xff, +0x00,0x71,0xff,0xe3,0x04,0x75,0x06,0x37,0x12,0x26,0x00,0x52,0x00,0x00,0x11,0x06, +0x02,0x90,0x73,0x00,0x00,0x14,0xb4,0x15,0x20,0x2e,0x0f,0x07,0x2b,0x40,0x09,0x20, +0x20,0x2f,0x2e,0x10,0x20,0x1f,0x2e,0x04,0x5d,0x31,0xff,0xff,0x00,0x71,0xff,0xe3, +0x04,0x75,0x06,0x10,0x12,0x26,0x00,0x52,0x00,0x00,0x11,0x06,0x00,0x6a,0x73,0x00, +0x00,0x14,0xb4,0x03,0x1f,0x1a,0x09,0x07,0x2b,0x40,0x09,0x40,0x1f,0x4f,0x1a,0x30, +0x1f,0x3f,0x1a,0x04,0x5d,0x31,0x00,0x03,0x00,0xd9,0x00,0x96,0x05,0xdb,0x04,0x6f, +0x00,0x03,0x00,0x07,0x00,0x0b,0x00,0x29,0x40,0x14,0x00,0xea,0x02,0x06,0xea,0x04, +0x02,0x08,0x9c,0x04,0x0a,0x0c,0x09,0x05,0x01,0x72,0x04,0x00,0x08,0x0c,0x10,0xdc, +0xd4,0x3c,0xfc,0x3c,0xc4,0x31,0x00,0x10,0xd4,0xc4,0xfc,0xc4,0x10,0xee,0x10,0xee, +0x30,0x01,0x33,0x15,0x23,0x11,0x33,0x15,0x23,0x01,0x21,0x15,0x21,0x02,0xdf,0xf6, +0xf6,0xf6,0xf6,0xfd,0xfa,0x05,0x02,0xfa,0xfe,0x04,0x6f,0xf6,0xfe,0x12,0xf5,0x02, +0x41,0xaa,0x00,0x03,0x00,0x48,0xff,0xa2,0x04,0x9c,0x04,0xbc,0x00,0x09,0x00,0x13, +0x00,0x2b,0x00,0xe4,0x40,0x3c,0x2b,0x2c,0x26,0x1f,0x1d,0x1a,0x13,0x0a,0x01,0x00, +0x04,0x0d,0x29,0x26,0x20,0x14,0x0d,0x04,0x2a,0x26,0x1e,0x1a,0x04,0xb9,0x26,0x0d, +0xb9,0x1a,0xb8,0x26,0x8c,0x2c,0x2b,0x2c,0x2a,0x14,0x17,0x10,0x20,0x1e,0x23,0x13, +0x0a,0x01,0x00,0x04,0x10,0x07,0x1f,0x1d,0x07,0x12,0x23,0x51,0x29,0x10,0x12,0x17, +0x45,0x2c,0x10,0xfc,0xec,0x32,0xf4,0xec,0x32,0xc0,0x11,0x12,0x17,0x39,0x12,0x39, +0x39,0x11,0x12,0x39,0x39,0x11,0x39,0x31,0x00,0x10,0xe4,0xf4,0xec,0x10,0xee,0x10, +0xc0,0x10,0xc0,0x11,0x12,0x39,0x39,0x12,0x39,0x12,0x17,0x39,0x11,0x39,0x39,0x11, +0x12,0x39,0x30,0x40,0x70,0x28,0x01,0x3f,0x2d,0x59,0x14,0x56,0x1c,0x55,0x1d,0x56, +0x20,0x6a,0x15,0x66,0x21,0x7f,0x00,0x7b,0x04,0x7f,0x05,0x7f,0x06,0x7f,0x07,0x7f, +0x08,0x7f,0x09,0x7f,0x0a,0x7f,0x0b,0x7f,0x0c,0x7b,0x0d,0x7a,0x15,0x7b,0x1a,0x7f, +0x1b,0x7f,0x1c,0x7f,0x1d,0x7f,0x1e,0x7f,0x1f,0x7f,0x20,0x7b,0x21,0x7f,0x22,0x7f, +0x23,0x7f,0x24,0x7f,0x25,0x7b,0x26,0x9b,0x19,0x95,0x25,0xa8,0x19,0xa0,0x2d,0xf0, +0x2d,0x26,0x59,0x00,0x56,0x13,0x55,0x1d,0x5a,0x28,0x69,0x00,0x66,0x13,0x65,0x1c, +0x6a,0x28,0x7a,0x00,0x74,0x13,0x76,0x1c,0x7a,0x28,0x89,0x1e,0x95,0x18,0x9a,0x24, +0xa2,0x18,0xad,0x24,0x11,0x5d,0x01,0x5d,0x09,0x01,0x1e,0x01,0x33,0x32,0x36,0x35, +0x34,0x26,0x27,0x2e,0x01,0x23,0x22,0x06,0x15,0x14,0x16,0x17,0x07,0x2e,0x01,0x35, +0x10,0x00,0x33,0x32,0x16,0x17,0x37,0x17,0x07,0x1e,0x01,0x15,0x10,0x00,0x23,0x22, +0x26,0x27,0x07,0x27,0x03,0x89,0xfe,0x19,0x29,0x67,0x41,0x93,0xac,0x14,0x5c,0x2a, +0x67,0x3e,0x97,0xa9,0x13,0x14,0x7d,0x36,0x36,0x01,0x11,0xf1,0x5d,0x9f,0x43,0x8b, +0x5f,0x92,0x35,0x36,0xfe,0xee,0xf0,0x60,0xa1,0x3f,0x8b,0x60,0x03,0x21,0xfd,0xb0, +0x2a,0x28,0xe8,0xc8,0x4f,0x75,0x9a,0x29,0x29,0xeb,0xd3,0x48,0x6e,0x2e,0x97,0x4d, +0xc5,0x77,0x01,0x14,0x01,0x38,0x33,0x34,0xa8,0x4f,0xb3,0x4d,0xc6,0x78,0xfe,0xed, +0xfe,0xc7,0x34,0x33,0xa8,0x4e,0xff,0xff,0x00,0xae,0xff,0xe3,0x04,0x58,0x06,0x66, +0x12,0x26,0x00,0x58,0x00,0x00,0x10,0x06,0x00,0x43,0x7b,0x00,0xff,0xff,0x00,0xae, +0xff,0xe3,0x04,0x58,0x06,0x66,0x12,0x26,0x00,0x58,0x00,0x00,0x10,0x06,0x00,0x76, +0x7b,0x00,0xff,0xff,0x00,0xae,0xff,0xe3,0x04,0x58,0x06,0x66,0x12,0x26,0x00,0x58, +0x00,0x00,0x11,0x06,0x02,0x7a,0x7b,0x00,0x00,0x08,0xb4,0x0b,0x16,0x1a,0x01,0x07, +0x2b,0x31,0xff,0xff,0x00,0xae,0xff,0xe3,0x04,0x58,0x06,0x10,0x12,0x26,0x00,0x58, +0x00,0x00,0x11,0x06,0x00,0x6a,0x7b,0x00,0x00,0x18,0xb4,0x02,0x1a,0x17,0x0a,0x07, +0x2b,0x40,0x0d,0x40,0x1a,0x4f,0x17,0x30,0x1a,0x3f,0x17,0x00,0x1a,0x0f,0x17,0x06, +0x5d,0x31,0xff,0xff,0x00,0x3d,0xfe,0x56,0x04,0x7f,0x06,0x66,0x12,0x26,0x00,0x5c, +0x00,0x00,0x10,0x06,0x00,0x76,0x5e,0x00,0x00,0x02,0x00,0xba,0xfe,0x56,0x04,0xa4, +0x06,0x14,0x00,0x10,0x00,0x1c,0x00,0x3e,0x40,0x1b,0x14,0xb9,0x05,0x08,0x1a,0xb9, +0x00,0x0e,0x8c,0x08,0xb8,0x01,0xbd,0x03,0x97,0x1d,0x11,0x12,0x0b,0x47,0x17,0x04, +0x00,0x08,0x02,0x46,0x1d,0x10,0xfc,0xec,0x32,0x32,0xf4,0xec,0x31,0x00,0x10,0xec, +0xe4,0xe4,0xf4,0xc4,0xec,0x10,0xc6,0xee,0x30,0x40,0x09,0x60,0x1e,0x80,0x1e,0xa0, +0x1e,0xe0,0x1e,0x04,0x01,0x5d,0x25,0x11,0x23,0x11,0x33,0x11,0x3e,0x01,0x33,0x32, +0x00,0x11,0x10,0x02,0x23,0x22,0x26,0x01,0x34,0x26,0x23,0x22,0x06,0x15,0x14,0x16, +0x33,0x32,0x36,0x01,0x73,0xb9,0xb9,0x3a,0xb1,0x7b,0xcc,0x00,0xff,0xff,0xcc,0x7b, +0xb1,0x02,0x38,0xa7,0x92,0x92,0xa7,0xa7,0x92,0x92,0xa7,0xa8,0xfd,0xae,0x07,0xbe, +0xfd,0xa2,0x64,0x61,0xfe,0xbc,0xfe,0xf8,0xfe,0xf8,0xfe,0xbc,0x61,0x01,0xeb,0xcb, +0xe7,0xe7,0xcb,0xcb,0xe7,0xe7,0xff,0xff,0x00,0x3d,0xfe,0x56,0x04,0x7f,0x06,0x10, +0x12,0x26,0x00,0x5c,0x00,0x00,0x11,0x06,0x00,0x6a,0x5e,0x00,0x00,0x16,0xb4,0x18, +0x17,0x12,0x19,0x07,0x2b,0x40,0x0b,0x30,0x17,0x3f,0x12,0x20,0x17,0x2f,0x12,0x1f, +0x12,0x05,0x5d,0x31,0xff,0xff,0x00,0x10,0x00,0x00,0x05,0x68,0x07,0x31,0x10,0x27, +0x00,0x71,0x00,0xbc,0x01,0x3b,0x13,0x06,0x00,0x24,0x00,0x00,0x00,0x10,0xb4,0x0e, +0x03,0x02,0x09,0x07,0x2b,0x40,0x05,0x40,0x03,0x4f,0x02,0x02,0x5d,0x31,0xff,0xff, +0x00,0x7b,0xff,0xe3,0x04,0x2d,0x05,0xf6,0x10,0x26,0x00,0x71,0x4a,0x00,0x13,0x06, +0x00,0x44,0x00,0x00,0x00,0x10,0xb4,0x18,0x03,0x02,0x0f,0x07,0x2b,0x40,0x05,0x6f, +0x02,0x7f,0x03,0x02,0x5d,0x31,0xff,0xff,0x00,0x10,0x00,0x00,0x05,0x68,0x07,0x92, +0x10,0x27,0x02,0x8c,0x00,0xce,0x01,0x4a,0x13,0x06,0x00,0x24,0x00,0x00,0x00,0x12, +0xb4,0x18,0x00,0x08,0x13,0x07,0x2b,0x31,0x00,0x40,0x05,0x6f,0x00,0x6f,0x08,0x02, +0x5d,0x30,0xff,0xff,0x00,0x7b,0xff,0xe3,0x04,0x2d,0x06,0x1f,0x10,0x26,0x02,0x8c, +0x4f,0xd7,0x13,0x06,0x00,0x44,0x00,0x00,0x00,0x08,0xb4,0x22,0x00,0x08,0x19,0x07, +0x2b,0x31,0xff,0xff,0x00,0x10,0xfe,0x75,0x05,0xa5,0x05,0xd5,0x10,0x27,0x02,0x8f, +0x02,0xe4,0x00,0x00,0x12,0x06,0x00,0x24,0x00,0x00,0xff,0xff,0x00,0x7b,0xfe,0x75, +0x04,0x80,0x04,0x7b,0x10,0x27,0x02,0x8f,0x01,0xbf,0x00,0x00,0x12,0x06,0x00,0x44, +0x00,0x00,0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0x27,0x07,0x6b,0x12,0x26,0x00,0x26, +0x00,0x00,0x10,0x07,0x0b,0xea,0x05,0x2d,0x01,0x75,0xff,0xff,0x00,0x71,0xff,0xe3, +0x03,0xe7,0x06,0x66,0x12,0x26,0x00,0x46,0x00,0x00,0x10,0x07,0x00,0x76,0x00,0x89, +0x00,0x00,0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0x27,0x07,0x6d,0x10,0x27,0x0b,0xed, +0x05,0x4c,0x01,0x75,0x13,0x06,0x00,0x26,0x00,0x00,0x00,0x09,0xb2,0x04,0x04,0x1e, +0x10,0x3c,0x3d,0x2f,0x31,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x03,0xe7,0x06,0x66, +0x10,0x27,0x02,0x7a,0x00,0xa4,0x00,0x00,0x12,0x06,0x00,0x46,0x00,0x00,0xff,0xff, +0x00,0x73,0xff,0xe3,0x05,0x27,0x07,0x50,0x10,0x27,0x0b,0xf1,0x05,0x4c,0x01,0x75, +0x12,0x06,0x00,0x26,0x00,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x03,0xe7,0x06,0x10, +0x10,0x27,0x02,0x8d,0x00,0xa4,0x00,0x00,0x12,0x06,0x00,0x46,0x00,0x00,0xff,0xff, +0x00,0x73,0xff,0xe3,0x05,0x27,0x07,0x6d,0x12,0x26,0x00,0x26,0x00,0x00,0x11,0x07, +0x0b,0xee,0x05,0x2d,0x01,0x75,0x00,0x07,0x40,0x03,0x1f,0x1d,0x01,0x5d,0x31,0x00, +0xff,0xff,0x00,0x71,0xff,0xe3,0x03,0xe7,0x06,0x66,0x12,0x26,0x00,0x46,0x00,0x00, +0x10,0x07,0x02,0x7b,0x00,0x89,0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x05,0xb0, +0x07,0x81,0x10,0x26,0x00,0x27,0x00,0x00,0x10,0x07,0x0b,0xee,0x04,0xec,0x01,0x89, +0xff,0xff,0x00,0x71,0xff,0xe3,0x05,0xdb,0x06,0x14,0x12,0x26,0x00,0x47,0x00,0x00, +0x11,0x07,0x0b,0xe8,0x05,0x14,0x00,0x00,0x00,0x0b,0x40,0x07,0x5f,0x1d,0x3f,0x1d, +0x1f,0x1d,0x03,0x5d,0x31,0x00,0x00,0x02,0x00,0x0a,0x00,0x00,0x05,0xba,0x05,0xd5, +0x00,0x0c,0x00,0x19,0x00,0x67,0x40,0x20,0x10,0x09,0xa9,0x0b,0x0d,0x95,0x00,0x81, +0x12,0x95,0x0e,0x0b,0x07,0x07,0x01,0x19,0x13,0x04,0x0f,0x0d,0x16,0x19,0x04,0x32, +0x0a,0x11,0x0d,0x1c,0x08,0x00,0x79,0x1a,0x10,0xf4,0x3c,0xec,0x32,0xc4,0xf4,0xec, +0x10,0xc4,0x17,0x39,0x31,0x00,0x2f,0xc6,0x32,0xee,0xf6,0xee,0x10,0xee,0x32,0x30, +0x40,0x28,0x20,0x1b,0x7f,0x1b,0xb0,0x1b,0x03,0x9f,0x09,0x9f,0x0a,0x9f,0x0b,0x9f, +0x0c,0x9f,0x0e,0x9f,0x0f,0x9f,0x10,0x9f,0x11,0xbf,0x09,0xbf,0x0a,0xbf,0x0b,0xbf, +0x0c,0xbf,0x0e,0xbf,0x0f,0xbf,0x10,0xbf,0x11,0x10,0x5d,0x01,0x5d,0x13,0x21,0x20, +0x00,0x11,0x10,0x00,0x29,0x01,0x11,0x23,0x35,0x33,0x13,0x11,0x21,0x15,0x21,0x11, +0x33,0x20,0x00,0x11,0x10,0x00,0x21,0xd3,0x01,0xa0,0x01,0xb1,0x01,0x96,0xfe,0x69, +0xfe,0x50,0xfe,0x60,0xc9,0xc9,0xcb,0x01,0x50,0xfe,0xb0,0xf3,0x01,0x35,0x01,0x1f, +0xfe,0xe1,0xfe,0xcb,0x05,0xd5,0xfe,0x97,0xfe,0x80,0xfe,0x7e,0xfe,0x96,0x02,0xbc, +0x90,0x01,0xe3,0xfe,0x1d,0x90,0xfd,0xea,0x01,0x18,0x01,0x2e,0x01,0x2c,0x01,0x17, +0x00,0x02,0x00,0x71,0xff,0xe3,0x04,0xf4,0x06,0x14,0x00,0x18,0x00,0x24,0x00,0x4a, +0x40,0x24,0x07,0x03,0xd3,0x09,0x01,0xf9,0x22,0xb9,0x00,0x16,0x1c,0xb9,0x0d,0x10, +0x8c,0x16,0xb8,0x05,0x97,0x0b,0x02,0x1f,0x0c,0x04,0x03,0x00,0x08,0x08,0x0a,0x06, +0x47,0x19,0x12,0x13,0x45,0x25,0x10,0xfc,0xec,0xf4,0x3c,0xc4,0xfc,0x17,0x3c,0xc4, +0x31,0x00,0x2f,0xec,0xe4,0xf4,0xc4,0xec,0x10,0xc4,0xee,0xfd,0x3c,0xee,0x32,0x30, +0xb6,0x60,0x26,0x80,0x26,0xa0,0x26,0x03,0x01,0x5d,0x01,0x11,0x21,0x35,0x21,0x35, +0x33,0x15,0x33,0x15,0x23,0x11,0x23,0x35,0x0e,0x01,0x23,0x22,0x02,0x11,0x10,0x00, +0x33,0x32,0x16,0x01,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x23,0x22,0x06,0x03, +0xa2,0xfe,0xba,0x01,0x46,0xb8,0x9a,0x9a,0xb8,0x3a,0xb1,0x7c,0xcb,0xff,0x00,0xff, +0xcb,0x7c,0xb1,0xfd,0xc7,0xa7,0x92,0x92,0xa8,0xa8,0x92,0x92,0xa7,0x03,0xb6,0x01, +0x4e,0x7d,0x93,0x93,0x7d,0xfa,0xfc,0xa8,0x64,0x61,0x01,0x44,0x01,0x08,0x01,0x08, +0x01,0x44,0x61,0xfe,0x15,0xcb,0xe7,0xe7,0xcb,0xcb,0xe7,0xe7,0xff,0xff,0x00,0xc9, +0x00,0x00,0x04,0x8b,0x07,0x33,0x10,0x27,0x00,0x71,0x00,0xa1,0x01,0x3d,0x12,0x06, +0x00,0x28,0x00,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x7f,0x05,0xf6,0x10,0x27, +0x00,0x71,0x00,0x96,0x00,0x00,0x13,0x06,0x00,0x48,0x00,0x00,0x00,0x07,0x40,0x03, +0x70,0x00,0x01,0x5d,0x31,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x04,0x8b,0x07,0x6d, +0x10,0x27,0x0b,0xf0,0x04,0xa1,0x01,0x75,0x13,0x06,0x00,0x28,0x00,0x00,0x00,0x07, +0x40,0x03,0x40,0x00,0x01,0x5d,0x31,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x7f, +0x06,0x48,0x10,0x27,0x02,0x8c,0x00,0x96,0x00,0x00,0x13,0x06,0x00,0x48,0x00,0x00, +0x00,0x07,0x40,0x03,0x70,0x00,0x01,0x5d,0x31,0x00,0xff,0xff,0x00,0xc9,0x00,0x00, +0x04,0x8b,0x07,0x50,0x10,0x27,0x0b,0xf1,0x04,0xa1,0x01,0x75,0x12,0x06,0x00,0x28, +0x00,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x7f,0x06,0x10,0x10,0x27,0x02,0x8d, +0x00,0x96,0x00,0x00,0x12,0x06,0x00,0x48,0x00,0x00,0xff,0xff,0x00,0xc9,0xfe,0x75, +0x04,0x8d,0x05,0xd5,0x10,0x27,0x02,0x8f,0x01,0xcc,0x00,0x00,0x12,0x06,0x00,0x28, +0x00,0x00,0xff,0xff,0x00,0x71,0xfe,0x75,0x04,0x7f,0x04,0x7b,0x10,0x27,0x02,0x8f, +0x01,0x78,0x00,0x00,0x12,0x06,0x00,0x48,0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00, +0x04,0x8b,0x07,0x67,0x12,0x26,0x00,0x28,0x00,0x00,0x11,0x07,0x0b,0xee,0x04,0xa6, +0x01,0x6f,0x00,0x07,0x40,0x03,0x40,0x0c,0x01,0x5d,0x31,0x00,0xff,0xff,0x00,0x71, +0xff,0xe3,0x04,0x7f,0x06,0x61,0x12,0x26,0x00,0x48,0x00,0x00,0x10,0x07,0x02,0x7b, +0x00,0x94,0xff,0xfb,0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0x8b,0x07,0x6d,0x10,0x27, +0x0b,0xed,0x05,0x5c,0x01,0x75,0x13,0x06,0x00,0x2a,0x00,0x00,0x00,0x09,0xb2,0x04, +0x04,0x15,0x10,0x3c,0x3d,0x2f,0x31,0x00,0xff,0xff,0x00,0x71,0xfe,0x56,0x04,0x5a, +0x06,0x66,0x10,0x26,0x02,0x7a,0x68,0x00,0x13,0x06,0x00,0x4a,0x00,0x00,0x00,0x09, +0xb2,0x04,0x04,0x0a,0x10,0x3c,0x3d,0x2f,0x31,0x00,0xff,0xff,0x00,0x73,0xff,0xe3, +0x05,0x8b,0x07,0x6d,0x12,0x26,0x00,0x2a,0x00,0x00,0x10,0x07,0x0b,0xf0,0x05,0x1b, +0x01,0x75,0xff,0xff,0x00,0x71,0xfe,0x56,0x04,0x5a,0x06,0x48,0x12,0x26,0x00,0x4a, +0x00,0x00,0x10,0x07,0x02,0x8c,0x00,0x8b,0x00,0x00,0xff,0xff,0x00,0x73,0xff,0xe3, +0x05,0x8b,0x07,0x50,0x10,0x27,0x0b,0xf1,0x05,0x5c,0x01,0x75,0x13,0x06,0x00,0x2a, +0x00,0x00,0x00,0x08,0x00,0x40,0x03,0x3f,0x00,0x01,0x5d,0x30,0xff,0xff,0x00,0x71, +0xfe,0x56,0x04,0x5a,0x06,0x10,0x10,0x26,0x02,0x8d,0x68,0x00,0x12,0x06,0x00,0x4a, +0x00,0x00,0xff,0xff,0x00,0x73,0xfe,0x01,0x05,0x8b,0x05,0xf0,0x10,0x27,0x02,0xc9, +0x05,0x5e,0xff,0xed,0x12,0x06,0x00,0x2a,0x00,0x00,0xff,0xff,0x00,0x71,0xfe,0x56, +0x04,0x5a,0x06,0x34,0x10,0x27,0x02,0xb5,0x03,0xe0,0x01,0x0c,0x12,0x06,0x00,0x4a, +0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x05,0x3b,0x07,0x6d,0x10,0x27,0x0b,0xed, +0x05,0x02,0x01,0x75,0x13,0x06,0x00,0x2b,0x00,0x00,0x00,0x14,0xb4,0x0c,0x02,0x06, +0x07,0x07,0x2b,0x40,0x09,0x2f,0x02,0x20,0x06,0x1f,0x02,0x10,0x06,0x04,0x5d,0x31, +0xff,0xff,0xff,0xe5,0x00,0x00,0x04,0x64,0x07,0x6d,0x10,0x27,0x0b,0xed,0x03,0x16, +0x01,0x75,0x13,0x06,0x00,0x4b,0x00,0x00,0x00,0x2a,0xb4,0x14,0x02,0x06,0x13,0x07, +0x2b,0x31,0x00,0x4b,0xb0,0x0e,0x51,0x58,0xbb,0x00,0x14,0xff,0xc0,0x00,0x13,0xff, +0xc0,0x38,0x38,0x59,0x40,0x0d,0x90,0x14,0x90,0x13,0x80,0x14,0x80,0x13,0x40,0x14, +0x40,0x13,0x06,0x5d,0x00,0x02,0x00,0xc9,0x00,0x00,0x06,0x8b,0x05,0xd5,0x00,0x13, +0x00,0x17,0x00,0x3a,0x40,0x1e,0x06,0x02,0x12,0x95,0x09,0x14,0x11,0x0c,0x95,0x15, +0xad,0x04,0x00,0x81,0x0e,0x0a,0x07,0x0c,0x17,0x04,0x1c,0x05,0x38,0x12,0x0d,0x14, +0x01,0x1c,0x00,0x18,0x10,0xdc,0xec,0x32,0x32,0xcc,0xfc,0xec,0x32,0x32,0xcc,0x31, +0x00,0x2f,0x3c,0xe4,0x32,0xfc,0xec,0xdc,0x32,0x32,0xec,0x32,0x32,0x30,0x01,0x33, +0x15,0x21,0x35,0x33,0x15,0x33,0x15,0x23,0x11,0x23,0x11,0x21,0x11,0x23,0x11,0x23, +0x35,0x33,0x17,0x15,0x21,0x35,0x01,0x71,0xca,0x02,0xde,0xca,0xa8,0xa8,0xca,0xfd, +0x22,0xca,0xa8,0xa8,0xca,0x02,0xde,0x05,0xd5,0xe0,0xe0,0xe0,0xa4,0xfb,0xaf,0x02, +0xc7,0xfd,0x39,0x04,0x51,0xa4,0xa4,0xe0,0xe0,0x00,0x00,0x01,0x00,0x78,0x00,0x00, +0x04,0x9f,0x06,0x14,0x00,0x1b,0x00,0x3e,0x40,0x21,0x03,0x09,0x00,0x03,0x16,0x01, +0x0e,0x12,0x87,0x0d,0x15,0x06,0x87,0x16,0x19,0xb8,0x10,0x97,0x0a,0x01,0x02,0x08, +0x00,0x4e,0x13,0x0e,0x11,0x15,0x09,0x08,0x10,0x0b,0x1c,0x10,0xdc,0x32,0xec,0x32, +0x32,0xcc,0xcc,0xf4,0xec,0x31,0x00,0x2f,0x3c,0xec,0xf4,0xc4,0xec,0xdc,0x32,0xec, +0x32,0x11,0x12,0x17,0x39,0x30,0x01,0x11,0x23,0x11,0x34,0x26,0x23,0x22,0x06,0x15, +0x11,0x23,0x11,0x23,0x35,0x33,0x35,0x33,0x15,0x21,0x15,0x21,0x11,0x3e,0x01,0x33, +0x32,0x16,0x04,0x9f,0xb8,0x7c,0x7c,0x95,0xac,0xb9,0x7d,0x7d,0xb9,0x01,0x60,0xfe, +0xa0,0x42,0xb3,0x75,0xc1,0xc6,0x02,0xa4,0xfd,0x5c,0x02,0x9e,0x9f,0x9e,0xbe,0xa4, +0xfd,0x87,0x04,0xf6,0xa4,0x7a,0x7a,0xa4,0xfe,0xbc,0x65,0x64,0xef,0x00,0xff,0xff, +0xff,0xe4,0x00,0x00,0x02,0x78,0x07,0x5e,0x10,0x27,0x0b,0xeb,0x03,0x2e,0x01,0x75, +0x13,0x06,0x00,0x2c,0x00,0x00,0x00,0x08,0xb4,0x1e,0x09,0x18,0x1f,0x07,0x2b,0x31, +0xff,0xff,0xff,0xd3,0x00,0x00,0x02,0x67,0x06,0x37,0x10,0x27,0x02,0x90,0xff,0x1d, +0x00,0x00,0x13,0x06,0x00,0xf3,0x00,0x00,0x00,0x08,0xb4,0x1c,0x08,0x16,0x1d,0x07, +0x2b,0x31,0xff,0xff,0x00,0x03,0x00,0x00,0x02,0x59,0x07,0x31,0x10,0x27,0x00,0x71, +0xff,0x2e,0x01,0x3b,0x13,0x06,0x00,0x2c,0x00,0x00,0x00,0x08,0xb4,0x04,0x03,0x02, +0x05,0x07,0x2b,0x31,0xff,0xff,0xff,0xf2,0x00,0x00,0x02,0x48,0x05,0xf5,0x10,0x27, +0x00,0x71,0xff,0x1d,0xff,0xff,0x13,0x06,0x00,0xf3,0x00,0x00,0x00,0x08,0xb4,0x04, +0x03,0x02,0x05,0x07,0x2b,0x31,0xff,0xff,0xff,0xf5,0x00,0x00,0x02,0x67,0x07,0x6d, +0x10,0x27,0x0b,0xf0,0x03,0x2e,0x01,0x75,0x13,0x06,0x00,0x2c,0x00,0x00,0x00,0x08, +0xb4,0x0e,0x00,0x08,0x0f,0x07,0x2b,0x31,0xff,0xff,0xff,0xe4,0x00,0x00,0x02,0x56, +0x06,0x48,0x10,0x27,0x02,0x8c,0xff,0x1d,0x00,0x00,0x13,0x06,0x00,0xf3,0x00,0x00, +0x00,0x08,0xb4,0x0e,0x00,0x08,0x0f,0x07,0x2b,0x31,0xff,0xff,0x00,0xb0,0xfe,0x75, +0x02,0x25,0x05,0xd5,0x10,0x27,0x02,0x8f,0xff,0x64,0x00,0x00,0x12,0x06,0x00,0x2c, +0x00,0x00,0xff,0xff,0x00,0x96,0xfe,0x75,0x02,0x0b,0x06,0x14,0x10,0x27,0x02,0x8f, +0xff,0x4a,0x00,0x00,0x12,0x06,0x00,0x4c,0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00, +0x01,0x95,0x07,0x50,0x12,0x26,0x00,0x2c,0x00,0x00,0x11,0x07,0x0b,0xf1,0x03,0x2f, +0x01,0x75,0x00,0x13,0xb3,0x06,0x01,0x07,0x00,0x10,0x3c,0x10,0x3c,0x31,0x00,0xb4, +0x3f,0x07,0x3f,0x06,0x02,0x5d,0x30,0x00,0x00,0x01,0x00,0xc1,0x00,0x00,0x01,0x79, +0x04,0x60,0x00,0x03,0x00,0x20,0xb7,0x00,0xbf,0x02,0x01,0x08,0x00,0x46,0x04,0x10, +0xfc,0xec,0x31,0x00,0x2f,0xec,0x30,0x40,0x0b,0x10,0x05,0x40,0x05,0x50,0x05,0x60, +0x05,0x70,0x05,0x05,0x01,0x5d,0x13,0x33,0x11,0x23,0xc1,0xb8,0xb8,0x04,0x60,0xfb, +0xa0,0x00,0xff,0xff,0x00,0xc9,0xfe,0x66,0x03,0xef,0x05,0xd5,0x10,0x27,0x00,0x2d, +0x02,0x5c,0x00,0x00,0x11,0x06,0x00,0x2c,0x00,0x00,0x00,0x08,0x40,0x03,0x11,0x04, +0x01,0x10,0xec,0x31,0xff,0xff,0x00,0xc1,0xfe,0x56,0x03,0xb1,0x06,0x14,0x10,0x27, +0x00,0x4d,0x02,0x38,0x00,0x00,0x11,0x06,0x00,0x4c,0x00,0x00,0x00,0x08,0x40,0x03, +0x19,0x46,0x01,0x10,0xec,0x31,0xff,0xff,0xff,0x96,0xfe,0x66,0x02,0x5f,0x07,0x6d, +0x10,0x27,0x0b,0xed,0x03,0x2e,0x01,0x75,0x13,0x06,0x00,0x2d,0x00,0x00,0x00,0x08, +0xb4,0x08,0x02,0x06,0x07,0x07,0x2b,0x31,0xff,0xff,0xff,0xdb,0xfe,0x56,0x02,0x5c, +0x06,0x66,0x10,0x27,0x02,0x7a,0xff,0x1d,0x00,0x00,0x13,0x06,0x01,0xf9,0x00,0x00, +0x00,0x08,0xb4,0x08,0x02,0x06,0x07,0x07,0x2b,0x31,0xff,0xff,0x00,0xc9,0xfe,0x1e, +0x05,0x6a,0x05,0xd5,0x10,0x27,0x02,0xc9,0x05,0x1b,0x00,0x0a,0x12,0x06,0x00,0x2e, +0x00,0x00,0xff,0xff,0x00,0xba,0xfe,0x1e,0x04,0x9c,0x06,0x14,0x10,0x27,0x02,0xc9, +0x04,0xac,0x00,0x0a,0x12,0x06,0x00,0x4e,0x00,0x00,0x00,0x01,0x00,0xba,0x00,0x00, +0x04,0x9c,0x04,0x60,0x00,0x0a,0x00,0xbb,0x40,0x28,0x08,0x11,0x05,0x06,0x05,0x07, +0x11,0x06,0x06,0x05,0x03,0x11,0x04,0x05,0x04,0x02,0x11,0x05,0x05,0x04,0x42,0x08, +0x05,0x02,0x03,0x03,0x00,0xbc,0x09,0x06,0x05,0x01,0x04,0x06,0x08,0x01,0x08,0x00, +0x46,0x0b,0x10,0xfc,0xec,0x32,0xd4,0xc4,0x11,0x39,0x31,0x00,0x2f,0x3c,0xec,0x32, +0x17,0x39,0x30,0x4b,0x53,0x58,0x07,0x10,0x04,0xed,0x07,0x10,0x05,0xed,0x07,0x10, +0x05,0xed,0x07,0x10,0x04,0xed,0x59,0x22,0xb2,0x10,0x0c,0x01,0x01,0x5d,0x40,0x5f, +0x04,0x02,0x0a,0x08,0x16,0x02,0x27,0x02,0x29,0x05,0x2b,0x08,0x56,0x02,0x66,0x02, +0x67,0x08,0x73,0x02,0x77,0x05,0x82,0x02,0x89,0x05,0x8e,0x08,0x93,0x02,0x96,0x05, +0x97,0x08,0xa3,0x02,0x12,0x09,0x05,0x09,0x06,0x02,0x0b,0x03,0x0a,0x07,0x28,0x03, +0x27,0x04,0x28,0x05,0x2b,0x06,0x2b,0x07,0x40,0x0c,0x68,0x03,0x60,0x0c,0x89,0x03, +0x85,0x04,0x89,0x05,0x8d,0x06,0x8f,0x07,0x9a,0x03,0x97,0x07,0xaa,0x03,0xa7,0x05, +0xb6,0x07,0xc5,0x07,0xd6,0x07,0xf7,0x03,0xf0,0x03,0xf7,0x04,0xf0,0x04,0x1a,0x5d, +0x71,0x00,0x5d,0x13,0x33,0x11,0x01,0x33,0x09,0x01,0x23,0x01,0x11,0x23,0xba,0xb9, +0x02,0x25,0xeb,0xfd,0xae,0x02,0x6b,0xf0,0xfd,0xc7,0xb9,0x04,0x60,0xfe,0x1b,0x01, +0xe5,0xfd,0xf2,0xfd,0xae,0x02,0x21,0xfd,0xdf,0x00,0xff,0xff,0x00,0xc9,0x00,0x00, +0x04,0x6a,0x07,0x6c,0x10,0x27,0x0b,0xea,0x03,0x6e,0x01,0x76,0x12,0x06,0x00,0x2f, +0x00,0x00,0xff,0xff,0x00,0xc1,0x00,0x00,0x02,0x4a,0x07,0x6c,0x10,0x27,0x0b,0xea, +0x03,0x5a,0x01,0x76,0x13,0x06,0x00,0x4f,0x00,0x00,0x00,0x1e,0xb1,0x03,0x04,0x10, +0x3c,0x31,0x00,0x4b,0xb0,0x0e,0x51,0x58,0xb9,0x00,0x00,0x00,0x40,0x38,0x59,0x40, +0x07,0x9f,0x00,0x8f,0x00,0x4f,0x00,0x03,0x5d,0x30,0xff,0xff,0x00,0xc9,0xfe,0x1e, +0x04,0x6a,0x05,0xd5,0x10,0x27,0x02,0xc9,0x04,0x9b,0x00,0x0a,0x12,0x06,0x00,0x2f, +0x00,0x00,0xff,0xff,0x00,0x88,0xfe,0x1e,0x01,0xae,0x06,0x14,0x10,0x27,0x02,0xc9, +0x03,0x1e,0x00,0x0a,0x13,0x06,0x00,0x4f,0x00,0x00,0x00,0x07,0x40,0x03,0x40,0x00, +0x01,0x5d,0x31,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x04,0x6a,0x05,0xd5,0x10,0x27, +0x0b,0xe8,0x02,0x9f,0xff,0xc3,0x12,0x06,0x00,0x2f,0x00,0x00,0xff,0xff,0x00,0xc1, +0x00,0x00,0x03,0x00,0x06,0x14,0x10,0x27,0x0b,0xe8,0x02,0x39,0x00,0x02,0x11,0x06, +0x00,0x4f,0x00,0x00,0x00,0x09,0x40,0x05,0x8f,0x00,0x1f,0x00,0x02,0x5d,0x31,0x00, +0xff,0xff,0x00,0xc9,0x00,0x00,0x04,0x6a,0x05,0xd5,0x10,0x27,0x00,0x79,0x02,0x31, +0x00,0x77,0x12,0x06,0x00,0x2f,0x00,0x00,0xff,0xff,0x00,0xc1,0x00,0x00,0x02,0x84, +0x06,0x14,0x10,0x27,0x00,0x79,0x00,0xd6,0x00,0x73,0x11,0x06,0x00,0x4f,0x00,0x00, +0x00,0x17,0x4b,0xb0,0x0d,0x51,0x4b,0xb0,0x11,0x53,0x4b,0xb0,0x18,0x51,0x5a,0x5b, +0x58,0xb9,0x00,0x00,0x00,0x40,0x38,0x59,0x31,0x00,0x00,0x01,0xff,0xf2,0x00,0x00, +0x04,0x75,0x05,0xd5,0x00,0x0d,0x00,0x3f,0x40,0x1e,0x0c,0x0b,0x0a,0x04,0x03,0x02, +0x06,0x00,0x06,0x95,0x00,0x81,0x08,0x03,0x04,0x01,0x0b,0x0e,0x00,0x04,0x05,0x01, +0x1c,0x0c,0x07,0x3a,0x09,0x00,0x79,0x0e,0x10,0xf4,0x3c,0xec,0xc4,0xfc,0x3c,0xc4, +0x11,0x12,0x39,0x11,0x12,0x39,0x31,0x00,0x2f,0xe4,0xec,0x11,0x17,0x39,0x30,0xb4, +0x30,0x0f,0x50,0x0f,0x02,0x01,0x5d,0x13,0x33,0x11,0x25,0x17,0x01,0x11,0x21,0x15, +0x21,0x11,0x07,0x27,0x37,0xd3,0xcb,0x01,0x39,0x50,0xfe,0x77,0x02,0xd7,0xfc,0x5e, +0x94,0x4d,0xe1,0x05,0xd5,0xfd,0x98,0xdb,0x6f,0xfe,0xee,0xfd,0xe3,0xaa,0x02,0x3b, +0x6a,0x6e,0x9e,0x00,0x00,0x01,0x00,0x02,0x00,0x00,0x02,0x48,0x06,0x14,0x00,0x0b, +0x00,0x5e,0x40,0x1a,0x0a,0x09,0x08,0x04,0x03,0x02,0x06,0x00,0x97,0x06,0x03,0x04, +0x01,0x09,0x0a,0x00,0x04,0x7a,0x05,0x01,0x08,0x0a,0x7a,0x07,0x00,0x0c,0x10,0xd4, +0x3c,0xe4,0xfc,0x3c,0xe4,0x11,0x12,0x39,0x11,0x12,0x39,0x31,0x00,0x2f,0xec,0x17, +0x39,0x30,0x01,0x4b,0xb0,0x10,0x54,0x58,0xbd,0x00,0x0c,0x00,0x40,0x00,0x01,0x00, +0x0c,0x00,0x0c,0xff,0xc0,0x38,0x11,0x37,0x38,0x59,0x40,0x13,0x10,0x0d,0x40,0x0d, +0x50,0x0d,0x60,0x0d,0x73,0x04,0x7a,0x0a,0x70,0x0d,0xe0,0x0d,0xf0,0x0d,0x09,0x5d, +0x13,0x33,0x11,0x37,0x17,0x07,0x11,0x23,0x11,0x07,0x27,0x37,0xc7,0xb8,0x7d,0x4c, +0xc9,0xb8,0x7b,0x4a,0xc5,0x06,0x14,0xfd,0xa6,0x5a,0x6a,0x8d,0xfc,0xe3,0x02,0x9a, +0x58,0x6a,0x8d,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x05,0x33,0x07,0x6c,0x10,0x27, +0x0b,0xea,0x04,0xc5,0x01,0x76,0x13,0x06,0x00,0x31,0x00,0x00,0x00,0x07,0x40,0x03, +0x4f,0x00,0x01,0x5d,0x31,0x00,0xff,0xff,0x00,0xba,0x00,0x00,0x04,0x64,0x06,0x6d, +0x10,0x26,0x00,0x76,0x42,0x07,0x13,0x06,0x00,0x51,0x00,0x00,0x00,0x09,0x40,0x05, +0x3f,0x00,0x4f,0x00,0x02,0x5d,0x31,0x00,0xff,0xff,0x00,0xc9,0xfe,0x1e,0x05,0x33, +0x05,0xd5,0x10,0x27,0x02,0xc9,0x05,0x00,0x00,0x0a,0x12,0x06,0x00,0x31,0x00,0x00, +0xff,0xff,0x00,0xba,0xfe,0x1e,0x04,0x64,0x04,0x7b,0x10,0x27,0x02,0xc9,0x04,0x90, +0x00,0x0a,0x12,0x06,0x00,0x51,0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x05,0x33, +0x07,0x5f,0x12,0x26,0x00,0x31,0x00,0x00,0x11,0x07,0x0b,0xee,0x04,0xf5,0x01,0x67, +0x00,0x14,0xb4,0x04,0x0f,0x0b,0x00,0x07,0x2b,0x40,0x09,0x2f,0x0f,0x20,0x0b,0x1f, +0x0f,0x10,0x0b,0x04,0x5d,0x31,0xff,0xff,0x00,0xba,0x00,0x00,0x04,0x64,0x06,0x66, +0x12,0x26,0x00,0x51,0x00,0x00,0x11,0x07,0x02,0x7b,0x00,0x8d,0x00,0x00,0x00,0x10, +0xb4,0x00,0x19,0x15,0x0c,0x07,0x2b,0x40,0x05,0x0f,0x19,0x00,0x15,0x02,0x5d,0x31, +0xff,0xff,0x00,0xcd,0x00,0x00,0x05,0xb9,0x05,0xd5,0x10,0x27,0x00,0x51,0x01,0x55, +0x00,0x00,0x10,0x06,0x02,0x70,0x1b,0x00,0x00,0x01,0x00,0xd5,0xfe,0x56,0x05,0x27, +0x05,0xd5,0x00,0x13,0x00,0x4a,0x40,0x21,0x11,0x11,0x01,0x02,0x01,0x02,0x11,0x10, +0x11,0x10,0x42,0x0b,0x95,0x0a,0x11,0x02,0x03,0x00,0xaf,0x10,0x13,0x0b,0x10,0x01, +0x11,0x02,0x1c,0x04,0x36,0x11,0x1c,0x00,0x14,0x10,0xdc,0xec,0xfc,0xec,0x11,0x39, +0x39,0xcc,0x31,0x00,0x2f,0x3c,0xec,0x32,0x39,0x39,0xdc,0xec,0x30,0x4b,0x53,0x58, +0x07,0x10,0x04,0xed,0x07,0x10,0x04,0xed,0x59,0x22,0xb2,0x1f,0x15,0x01,0x01,0x5d, +0x13,0x33,0x01,0x11,0x33,0x11,0x14,0x07,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36, +0x35,0x01,0x11,0x23,0xd5,0xb8,0x02,0xe2,0xb8,0x52,0x51,0xb5,0xfe,0xe9,0x69,0x26, +0x26,0xfd,0x1e,0xb8,0x05,0xd5,0xfb,0x83,0x04,0x7d,0xfa,0x17,0xd6,0x60,0x60,0x9c, +0x30,0x31,0xad,0x04,0x7d,0xfb,0x83,0x00,0x00,0x01,0x00,0xba,0xfe,0x56,0x04,0x64, +0x04,0x7b,0x00,0x1f,0x00,0x3b,0x40,0x1c,0x0d,0x13,0x00,0x03,0x18,0x15,0x07,0x87, +0x06,0x10,0x87,0x18,0x1c,0xb8,0x16,0xbc,0x15,0x07,0x0d,0x08,0x00,0x4e,0x13,0x17, +0x08,0x16,0x46,0x20,0x10,0xfc,0xec,0x32,0xf4,0xec,0xc4,0x31,0x00,0x2f,0xe4,0xf4, +0xc4,0xec,0xd4,0xec,0x11,0x12,0x17,0x39,0x30,0xb4,0x60,0x21,0xcf,0x21,0x02,0x01, +0x5d,0x01,0x11,0x14,0x07,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x35,0x11,0x34, +0x26,0x23,0x22,0x06,0x15,0x11,0x23,0x11,0x33,0x15,0x36,0x37,0x36,0x33,0x32,0x17, +0x16,0x04,0x64,0x52,0x51,0xb5,0xfe,0xe9,0x69,0x26,0x26,0x7c,0x7c,0x95,0xac,0xb9, +0xb9,0x42,0x59,0x5a,0x75,0xc1,0x63,0x63,0x02,0xa4,0xfd,0x48,0xd6,0x60,0x60,0x9c, +0x30,0x31,0x99,0x02,0xb2,0x9f,0x9e,0xbe,0xa4,0xfd,0x87,0x04,0x60,0xae,0x65,0x32, +0x32,0x77,0x78,0x00,0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0xd9,0x07,0x31,0x10,0x27, +0x00,0x71,0x01,0x27,0x01,0x3b,0x13,0x06,0x00,0x32,0x00,0x00,0x00,0x10,0xb4,0x0d, +0x02,0x03,0x07,0x07,0x2b,0x40,0x05,0x1f,0x02,0x10,0x03,0x02,0x5d,0x31,0xff,0xff, +0x00,0x71,0xff,0xe3,0x04,0x75,0x05,0xf5,0x10,0x26,0x00,0x71,0x73,0xff,0x13,0x06, +0x00,0x52,0x00,0x00,0x00,0x08,0xb4,0x13,0x02,0x03,0x19,0x07,0x2b,0x31,0xff,0xff, +0x00,0x73,0xff,0xe3,0x05,0xd9,0x07,0x6d,0x10,0x27,0x0b,0xf0,0x05,0x27,0x01,0x75, +0x13,0x06,0x00,0x32,0x00,0x00,0x00,0x10,0xb4,0x11,0x00,0x08,0x17,0x07,0x2b,0x40, +0x05,0x10,0x00,0x1f,0x08,0x02,0x5d,0x31,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x75, +0x06,0x48,0x10,0x26,0x02,0x8c,0x73,0x00,0x13,0x06,0x00,0x52,0x00,0x00,0x00,0x08, +0xb4,0x1d,0x08,0x00,0x23,0x07,0x2b,0x31,0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0xd9, +0x07,0x6b,0x10,0x27,0x0b,0xf2,0x05,0x27,0x01,0x75,0x12,0x06,0x00,0x32,0x00,0x00, +0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x75,0x06,0x66,0x10,0x27,0x02,0x91,0x00,0xa0, +0x00,0x00,0x12,0x06,0x00,0x52,0x00,0x00,0x00,0x02,0x00,0x73,0x00,0x00,0x08,0x0c, +0x05,0xd5,0x00,0x10,0x00,0x19,0x00,0x3b,0x40,0x1f,0x05,0x95,0x03,0x11,0x01,0x95, +0x00,0x81,0x18,0x07,0x95,0x03,0xad,0x09,0x18,0x12,0x10,0x0a,0x15,0x06,0x02,0x1c, +0x11,0x00,0x04,0x08,0x15,0x19,0x0d,0x10,0x1a,0x10,0xfc,0xec,0xd4,0xc4,0xc4,0xd4, +0xec,0x32,0x12,0x39,0x39,0x39,0x39,0x31,0x00,0x2f,0xec,0xec,0x32,0xf4,0xec,0x32, +0x10,0xee,0x30,0x01,0x15,0x21,0x11,0x21,0x15,0x21,0x11,0x21,0x15,0x21,0x20,0x00, +0x11,0x10,0x00,0x21,0x17,0x23,0x20,0x00,0x11,0x10,0x00,0x21,0x33,0x07,0xfa,0xfd, +0x1a,0x02,0xc7,0xfd,0x39,0x02,0xf8,0xfb,0xd7,0xfe,0x4f,0xfe,0x41,0x01,0xbf,0x01, +0xb1,0x67,0x81,0xfe,0xbf,0xfe,0xc0,0x01,0x40,0x01,0x41,0x81,0x05,0xd5,0xaa,0xfe, +0x46,0xaa,0xfd,0xe3,0xaa,0x01,0x7c,0x01,0x70,0x01,0x6d,0x01,0x7c,0xaa,0xfe,0xe1, +0xfe,0xe0,0xfe,0xdf,0xfe,0xdf,0x00,0x03,0x00,0x71,0xff,0xe3,0x07,0xc3,0x04,0x7b, +0x00,0x06,0x00,0x27,0x00,0x33,0x00,0x84,0x40,0x31,0x07,0x08,0x00,0x10,0x86,0x0f, +0x88,0x0c,0x00,0xa9,0x08,0x2e,0x0c,0xb9,0x16,0x13,0x28,0x03,0xb9,0x08,0xbb,0x22, +0x25,0x1f,0xb8,0x19,0x13,0x8c,0x34,0x06,0x00,0x16,0x22,0x31,0x09,0x0f,0x00,0x08, +0x07,0x4b,0x31,0x12,0x09,0x51,0x2b,0x12,0x1c,0x45,0x34,0x10,0xfc,0xec,0xf4,0xfc, +0xf4,0xec,0xc4,0x11,0x12,0x39,0x39,0x12,0x39,0x31,0x00,0x10,0xe4,0x32,0xf4,0x3c, +0xc4,0xe4,0xec,0x32,0x10,0xc4,0xee,0x32,0x10,0xee,0x10,0xf4,0xee,0x11,0x12,0x39, +0x30,0x40,0x25,0x3f,0x35,0x5f,0x35,0x70,0x35,0x9f,0x35,0xcf,0x35,0xd0,0x35,0xf0, +0x35,0x07,0x3f,0x00,0x3f,0x06,0x3f,0x07,0x3f,0x08,0x3f,0x09,0x05,0x6f,0x00,0x6f, +0x06,0x6f,0x07,0x6f,0x08,0x6f,0x09,0x05,0x5d,0x71,0x01,0x5d,0x01,0x2e,0x01,0x23, +0x22,0x06,0x07,0x05,0x15,0x21,0x1e,0x01,0x33,0x32,0x36,0x37,0x15,0x0e,0x01,0x23, +0x22,0x26,0x27,0x0e,0x01,0x23,0x22,0x00,0x11,0x10,0x00,0x33,0x32,0x16,0x17,0x3e, +0x01,0x33,0x32,0x00,0x25,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26, +0x07,0x0a,0x02,0xa4,0x89,0x99,0xb9,0x0e,0x03,0x48,0xfc,0xb2,0x0c,0xcc,0xb7,0x6a, +0xc8,0x62,0x64,0xd0,0x6a,0xa0,0xf2,0x51,0x47,0xd1,0x8c,0xf1,0xfe,0xef,0x01,0x11, +0xf1,0x8c,0xd3,0x42,0x4e,0xe8,0x8f,0xe2,0x01,0x08,0xfa,0xb0,0x94,0xac,0xab,0x95, +0x93,0xac,0xac,0x02,0x94,0x98,0xb3,0xae,0x9e,0x35,0x5a,0xbe,0xc7,0x34,0x34,0xae, +0x2a,0x2c,0x6e,0x6d,0x6e,0x6d,0x01,0x39,0x01,0x13,0x01,0x14,0x01,0x38,0x6f,0x6c, +0x6b,0x70,0xfe,0xdd,0x87,0xe7,0xc9,0xc9,0xe7,0xe8,0xc8,0xc7,0xe9,0x00,0xff,0xff, +0x00,0xc9,0x00,0x00,0x05,0x54,0x07,0x6c,0x10,0x27,0x0b,0xea,0x04,0x95,0x01,0x76, +0x12,0x06,0x00,0x35,0x00,0x00,0xff,0xff,0x00,0xba,0x00,0x00,0x03,0x95,0x06,0x6d, +0x10,0x26,0x00,0x76,0x42,0x07,0x12,0x06,0x00,0x55,0x00,0x00,0xff,0xff,0x00,0xc9, +0xfe,0x1e,0x05,0x54,0x05,0xd5,0x10,0x27,0x02,0xc9,0x05,0x10,0x00,0x0a,0x12,0x06, +0x00,0x35,0x00,0x00,0xff,0xff,0x00,0x82,0xfe,0x1e,0x03,0x4a,0x04,0x7b,0x10,0x27, +0x02,0xc9,0x03,0x18,0x00,0x0a,0x12,0x06,0x00,0x55,0x00,0x00,0xff,0xff,0x00,0xc9, +0x00,0x00,0x05,0x54,0x07,0x5f,0x12,0x26,0x00,0x35,0x00,0x00,0x11,0x07,0x0b,0xee, +0x04,0x7d,0x01,0x67,0x00,0x08,0x00,0x40,0x03,0x5f,0x1d,0x01,0x5d,0x30,0xff,0xff, +0x00,0xba,0x00,0x00,0x03,0x5a,0x06,0x66,0x12,0x26,0x00,0x55,0x00,0x00,0x10,0x06, +0x02,0x7b,0x1b,0x00,0xff,0xff,0x00,0x87,0xff,0xe3,0x04,0xa2,0x07,0x6c,0x10,0x27, +0x0b,0xea,0x04,0x95,0x01,0x76,0x12,0x06,0x00,0x36,0x00,0x00,0xff,0xff,0x00,0x6f, +0xff,0xe3,0x03,0xc7,0x06,0x6d,0x10,0x26,0x00,0x76,0x42,0x07,0x12,0x06,0x00,0x56, +0x00,0x00,0xff,0xff,0x00,0x87,0xff,0xe3,0x04,0xa2,0x07,0x6d,0x10,0x27,0x0b,0xed, +0x04,0x93,0x01,0x75,0x13,0x06,0x00,0x36,0x00,0x00,0x00,0x0b,0xb4,0x04,0x20,0x15, +0x29,0x29,0x10,0x49,0x63,0x3a,0x31,0x00,0xff,0xff,0x00,0x6f,0xff,0xe3,0x03,0xc7, +0x06,0x66,0x10,0x26,0x02,0x7a,0x25,0x00,0x13,0x06,0x00,0x56,0x00,0x00,0x00,0x0b, +0xb4,0x04,0x20,0x15,0x29,0x29,0x10,0x49,0x63,0x3a,0x31,0x00,0xff,0xff,0x00,0x87, +0xfe,0x75,0x04,0xa2,0x05,0xf0,0x12,0x26,0x00,0x36,0x00,0x00,0x10,0x07,0x00,0x7a, +0x00,0x8b,0x00,0x00,0xff,0xff,0x00,0x6f,0xfe,0x75,0x03,0xc7,0x04,0x7b,0x12,0x26, +0x00,0x56,0x00,0x00,0x10,0x06,0x00,0x7a,0x17,0x00,0xff,0xff,0x00,0x87,0xff,0xe3, +0x04,0xa2,0x07,0x6d,0x12,0x26,0x00,0x36,0x00,0x00,0x11,0x07,0x0b,0xee,0x04,0x8b, +0x01,0x75,0x00,0x0b,0xb4,0x2b,0x20,0x0e,0x22,0x22,0x10,0x49,0x63,0x3a,0x31,0x00, +0xff,0xff,0x00,0x6f,0xff,0xe3,0x03,0xc7,0x06,0x66,0x12,0x26,0x00,0x56,0x00,0x00, +0x11,0x06,0x02,0x7b,0x17,0x00,0x00,0x0b,0xb4,0x2b,0x20,0x0e,0x22,0x22,0x10,0x49, +0x63,0x3a,0x31,0x00,0xff,0xff,0xff,0xfa,0xfe,0x75,0x04,0xe9,0x05,0xd5,0x10,0x26, +0x00,0x7a,0x50,0x00,0x12,0x06,0x00,0x37,0x00,0x00,0xff,0xff,0x00,0x37,0xfe,0x75, +0x02,0xf2,0x05,0x9e,0x10,0x26,0x00,0x7a,0xe1,0x00,0x12,0x06,0x00,0x57,0x00,0x00, +0xff,0xff,0xff,0xfa,0x00,0x00,0x04,0xe9,0x07,0x5f,0x12,0x26,0x00,0x37,0x00,0x00, +0x11,0x07,0x0b,0xee,0x04,0x73,0x01,0x67,0x00,0x10,0xb4,0x01,0x0d,0x09,0x00,0x07, +0x2b,0x31,0x00,0x40,0x03,0x5f,0x08,0x01,0x5d,0x30,0xff,0xff,0x00,0x37,0x00,0x00, +0x02,0xfe,0x06,0x82,0x12,0x26,0x00,0x57,0x00,0x00,0x11,0x07,0x0b,0xe8,0x02,0x37, +0x00,0x70,0x00,0x07,0x40,0x03,0x8f,0x14,0x01,0x5d,0x31,0x00,0x00,0x01,0xff,0xfa, +0x00,0x00,0x04,0xe9,0x05,0xd5,0x00,0x0f,0x00,0x46,0x40,0x18,0x07,0x0b,0x95,0x04, +0x0c,0x09,0x03,0x0f,0x95,0x00,0x81,0x09,0x05,0x01,0x40,0x07,0x03,0x1c,0x0c,0x00, +0x40,0x0a,0x0e,0x10,0x10,0xd4,0x3c,0xe4,0xcc,0xfc,0x3c,0xe4,0xcc,0x31,0x00,0x2f, +0xf4,0xec,0x32,0x10,0xd4,0x3c,0xec,0x32,0x30,0x01,0x40,0x13,0x00,0x11,0x1f,0x00, +0x10,0x01,0x10,0x02,0x1f,0x0f,0x10,0x11,0x40,0x11,0x70,0x11,0x9f,0x11,0x09,0x5d, +0x03,0x21,0x15,0x21,0x11,0x21,0x15,0x21,0x11,0x23,0x11,0x21,0x35,0x21,0x11,0x21, +0x06,0x04,0xef,0xfd,0xee,0x01,0x09,0xfe,0xf7,0xcb,0xfe,0xf7,0x01,0x09,0xfd,0xee, +0x05,0xd5,0xaa,0xfd,0xc0,0xaa,0xfd,0xbf,0x02,0x41,0xaa,0x02,0x40,0x00,0x00,0x01, +0x00,0x37,0x00,0x00,0x02,0xf2,0x05,0x9e,0x00,0x1d,0x00,0x43,0x40,0x1f,0x08,0x16, +0xa9,0x05,0x17,0x04,0x1a,0xa9,0x00,0x01,0x1b,0xbc,0x0d,0x87,0x10,0x10,0x0d,0x0e, +0x02,0x06,0x08,0x04,0x00,0x08,0x17,0x1b,0x15,0x19,0x1d,0x46,0x1e,0x10,0xfc,0x3c, +0x3c,0xc4,0x32,0xfc,0x3c,0x3c,0xc4,0xc4,0x32,0x39,0x39,0x31,0x00,0x2f,0xec,0xf4, +0x3c,0xc4,0xfc,0x3c,0xdc,0x3c,0xec,0x32,0x30,0xb2,0xaf,0x1f,0x01,0x01,0x5d,0x01, +0x11,0x21,0x15,0x21,0x15,0x33,0x15,0x23,0x15,0x14,0x17,0x16,0x3b,0x01,0x15,0x23, +0x22,0x27,0x26,0x3d,0x01,0x23,0x35,0x33,0x35,0x23,0x35,0x33,0x11,0x01,0x77,0x01, +0x7b,0xfe,0x85,0xbe,0xbe,0x25,0x26,0x73,0xbd,0xbd,0xd5,0x51,0x51,0x87,0x87,0x87, +0x87,0x05,0x9e,0xfe,0xc2,0x8f,0xe9,0x8e,0xe9,0x89,0x27,0x27,0x9a,0x50,0x4f,0xd2, +0xe9,0x8e,0xe9,0x8f,0x01,0x3e,0xff,0xff,0x00,0xb2,0xff,0xe3,0x05,0x29,0x07,0x5e, +0x10,0x27,0x0b,0xeb,0x04,0xee,0x01,0x75,0x13,0x06,0x00,0x38,0x00,0x00,0x00,0x10, +0xb4,0x1f,0x09,0x18,0x27,0x07,0x2b,0x40,0x05,0x10,0x09,0x1f,0x18,0x02,0x5d,0x31, +0xff,0xff,0x00,0xae,0xff,0xe3,0x04,0x58,0x06,0x37,0x10,0x27,0x02,0x90,0x00,0x83, +0x00,0x00,0x13,0x06,0x00,0x58,0x00,0x00,0x00,0x08,0xb4,0x1e,0x08,0x16,0x26,0x07, +0x2b,0x31,0xff,0xff,0x00,0xb2,0xff,0xe3,0x05,0x29,0x07,0x31,0x10,0x27,0x00,0x71, +0x00,0xee,0x01,0x3b,0x13,0x06,0x00,0x38,0x00,0x00,0x00,0x14,0xb4,0x05,0x03,0x02, +0x0d,0x07,0x2b,0x40,0x09,0x2f,0x02,0x20,0x03,0x1f,0x02,0x10,0x03,0x04,0x5d,0x31, +0xff,0xff,0x00,0xae,0xff,0xe3,0x04,0x58,0x05,0xf5,0x10,0x27,0x00,0x71,0x00,0x83, +0xff,0xff,0x13,0x06,0x00,0x58,0x00,0x00,0x00,0x08,0xb4,0x06,0x03,0x02,0x0e,0x07, +0x2b,0x31,0xff,0xff,0x00,0xb2,0xff,0xe3,0x05,0x29,0x07,0x6d,0x10,0x27,0x0b,0xf0, +0x04,0xee,0x01,0x75,0x13,0x06,0x00,0x38,0x00,0x00,0x00,0x10,0xb4,0x0f,0x00,0x08, +0x17,0x07,0x2b,0x40,0x05,0x10,0x00,0x1f,0x08,0x02,0x5d,0x31,0xff,0xff,0x00,0xae, +0xff,0xe3,0x04,0x58,0x06,0x48,0x10,0x27,0x02,0x8c,0x00,0x83,0x00,0x00,0x13,0x06, +0x00,0x58,0x00,0x00,0x00,0x08,0xb4,0x10,0x00,0x08,0x18,0x07,0x2b,0x31,0xff,0xff, +0x00,0xb2,0xff,0xe3,0x05,0x29,0x08,0x4b,0x12,0x26,0x00,0x38,0x00,0x00,0x11,0x07, +0x02,0x8e,0x00,0xf0,0x01,0x45,0x00,0x09,0x40,0x05,0x40,0x1e,0x40,0x12,0x02,0x5d, +0x31,0x00,0xff,0xff,0x00,0xae,0xff,0xe3,0x04,0x58,0x06,0xca,0x12,0x26,0x00,0x58, +0x00,0x00,0x11,0x06,0x02,0x8e,0x7c,0xc4,0x00,0x09,0x40,0x05,0x40,0x14,0x40,0x20, +0x02,0x5d,0x31,0x00,0xff,0xff,0x00,0xb2,0xff,0xe3,0x05,0x29,0x07,0x6b,0x10,0x27, +0x0b,0xf2,0x04,0xee,0x01,0x75,0x12,0x06,0x00,0x38,0x00,0x00,0xff,0xff,0x00,0xae, +0xff,0xe3,0x04,0x5e,0x06,0x66,0x10,0x27,0x02,0x91,0x00,0xb0,0x00,0x00,0x12,0x06, +0x00,0x58,0x00,0x00,0xff,0xff,0x00,0xb2,0xfe,0x65,0x05,0x29,0x05,0xd5,0x12,0x26, +0x00,0x38,0x00,0x00,0x10,0x07,0x02,0x8f,0x00,0xfa,0xff,0xf0,0xff,0xff,0x00,0xae, +0xfe,0x75,0x04,0xe8,0x04,0x60,0x12,0x26,0x00,0x58,0x00,0x00,0x10,0x07,0x02,0x8f, +0x02,0x27,0x00,0x00,0xff,0xff,0x00,0x44,0x00,0x00,0x07,0xa6,0x07,0x74,0x10,0x27, +0x0b,0xed,0x05,0xf5,0x01,0x7c,0x13,0x06,0x00,0x3a,0x00,0x00,0x00,0x08,0xb4,0x15, +0x02,0x06,0x14,0x07,0x2b,0x31,0xff,0xff,0x00,0x56,0x00,0x00,0x06,0x35,0x06,0x6d, +0x10,0x27,0x02,0x7a,0x01,0x45,0x00,0x07,0x13,0x06,0x00,0x5a,0x00,0x00,0x00,0x08, +0xb4,0x15,0x02,0x06,0x14,0x07,0x2b,0x31,0xff,0xff,0xff,0xfc,0x00,0x00,0x04,0xe7, +0x07,0x74,0x10,0x27,0x0b,0xed,0x04,0x72,0x01,0x7c,0x13,0x06,0x00,0x3c,0x00,0x00, +0x00,0x08,0xb4,0x0b,0x02,0x06,0x07,0x07,0x2b,0x31,0xff,0xff,0x00,0x3d,0xfe,0x56, +0x04,0x7f,0x06,0x6d,0x10,0x26,0x02,0x7a,0x5e,0x07,0x13,0x06,0x00,0x5c,0x00,0x00, +0x00,0x08,0xb4,0x18,0x02,0x06,0x17,0x07,0x2b,0x31,0xff,0xff,0xff,0xfc,0x00,0x00, +0x04,0xe7,0x07,0x4e,0x12,0x26,0x00,0x3c,0x00,0x00,0x11,0x07,0x0b,0xe9,0x04,0x73, +0x01,0x75,0x00,0x08,0xb4,0x00,0x10,0x0b,0x04,0x07,0x2b,0x31,0xff,0xff,0x00,0x5c, +0x00,0x00,0x05,0x1f,0x07,0x6c,0x10,0x27,0x0b,0xea,0x04,0x95,0x01,0x76,0x12,0x06, +0x00,0x3d,0x00,0x00,0xff,0xff,0x00,0x58,0x00,0x00,0x03,0xdb,0x06,0x6d,0x10,0x26, +0x00,0x76,0x42,0x07,0x12,0x06,0x00,0x5d,0x00,0x00,0xff,0xff,0x00,0x5c,0x00,0x00, +0x05,0x1f,0x07,0x3d,0x10,0x27,0x0b,0xf1,0x04,0xa8,0x01,0x62,0x12,0x06,0x00,0x3d, +0x00,0x00,0xff,0xff,0x00,0x58,0x00,0x00,0x03,0xdb,0x06,0x10,0x10,0x26,0x02,0x8d, +0x00,0x00,0x12,0x06,0x00,0x5d,0x00,0x00,0xff,0xff,0x00,0x5c,0x00,0x00,0x05,0x1f, +0x07,0x6d,0x12,0x26,0x00,0x3d,0x00,0x00,0x10,0x07,0x0b,0xee,0x04,0xbe,0x01,0x75, +0xff,0xff,0x00,0x58,0x00,0x00,0x03,0xdb,0x06,0x66,0x12,0x26,0x00,0x5d,0x00,0x00, +0x10,0x06,0x02,0x7b,0x1b,0x00,0x00,0x01,0x00,0x2f,0x00,0x00,0x02,0xf8,0x06,0x14, +0x00,0x10,0x00,0x23,0x40,0x12,0x0b,0x87,0x0a,0x97,0x01,0x02,0xa9,0x05,0xbc,0x01, +0x0a,0x10,0x08,0x04,0x06,0x02,0x4c,0x11,0x10,0xfc,0x3c,0xcc,0xfc,0xcc,0x31,0x00, +0x2f,0xf4,0xec,0x10,0xf4,0xec,0x30,0x21,0x23,0x11,0x23,0x35,0x33,0x35,0x34,0x36, +0x3b,0x01,0x15,0x23,0x22,0x07,0x06,0x15,0x01,0x98,0xb9,0xb0,0xb0,0xae,0xbd,0xae, +0xb0,0x63,0x27,0x26,0x03,0xd1,0x8f,0x4e,0xbb,0xab,0x99,0x28,0x29,0x67,0x00,0x02, +0x00,0x20,0xff,0xe3,0x04,0xa4,0x06,0x14,0x00,0x0f,0x00,0x2c,0x00,0x44,0x40,0x25, +0x04,0xb9,0x10,0x14,0x0c,0xb9,0x20,0x1c,0x8c,0x14,0xb8,0x22,0x29,0x25,0xa9,0x2c, +0x24,0x27,0x97,0x22,0x2e,0x45,0x00,0x12,0x18,0x47,0x2a,0x20,0x06,0x2c,0x28,0x08, +0x25,0x23,0x27,0x46,0x2d,0x10,0xfc,0x3c,0xcc,0xec,0x32,0x32,0x32,0xcc,0xf4,0xec, +0xec,0x31,0x00,0x2f,0xf4,0xdc,0x3c,0xec,0x32,0x10,0xe4,0xf4,0xc4,0xec,0x10,0xc6, +0xee,0x30,0x01,0x34,0x27,0x26,0x23,0x22,0x07,0x06,0x15,0x14,0x17,0x16,0x33,0x32, +0x37,0x36,0x01,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x11,0x10,0x07,0x06,0x23,0x22, +0x27,0x26,0x27,0x15,0x23,0x11,0x23,0x35,0x33,0x35,0x33,0x15,0x21,0x15,0x21,0x03, +0xe5,0x53,0x54,0x92,0x92,0x54,0x53,0x53,0x54,0x92,0x92,0x54,0x53,0xfd,0x8e,0x3a, +0x59,0x58,0x7b,0xcc,0x7f,0x80,0x80,0x7f,0xcc,0x7b,0x58,0x59,0x3a,0xb9,0x9a,0x9a, +0xb9,0x01,0x45,0xfe,0xbb,0x02,0x2f,0xcb,0x74,0x73,0x73,0x74,0xcb,0xcb,0x74,0x73, +0x73,0x74,0x02,0x52,0x64,0x30,0x31,0xa2,0xa2,0xfe,0xf8,0xfe,0xf8,0xa2,0xa2,0x31, +0x30,0x64,0xa8,0x05,0x04,0x7d,0x93,0x93,0x7d,0x00,0x00,0x03,0xff,0x97,0x00,0x00, +0x05,0x50,0x05,0xd5,0x00,0x08,0x00,0x21,0x00,0x2a,0x00,0x00,0x01,0x11,0x21,0x32, +0x36,0x35,0x34,0x26,0x23,0x03,0x32,0x16,0x15,0x14,0x06,0x07,0x1e,0x01,0x15,0x14, +0x04,0x23,0x21,0x11,0x22,0x07,0x06,0x1d,0x01,0x23,0x35,0x34,0x36,0x33,0x17,0x11, +0x21,0x32,0x36,0x35,0x34,0x26,0x23,0x01,0xf7,0x01,0x44,0xa3,0x9d,0x9d,0xa3,0x0a, +0xe7,0xfa,0x80,0x7c,0x95,0xa5,0xfe,0xf0,0xfb,0xfd,0xe8,0x8e,0x3b,0x31,0x9c,0xc0, +0xd6,0xca,0x01,0x2b,0x94,0x91,0x91,0x94,0x02,0xc9,0xfd,0xdd,0x87,0x8b,0x8c,0x85, +0x03,0x0c,0xc0,0xb1,0x89,0xa2,0x14,0x20,0xcb,0x98,0xc8,0xda,0x05,0x2f,0x2f,0x26, +0x72,0x31,0x46,0xb5,0xa3,0xa6,0xfe,0x3e,0x6f,0x72,0x71,0x70,0xff,0xff,0x00,0xc9, +0x00,0x00,0x04,0xec,0x05,0xd5,0x10,0x06,0x03,0x89,0x00,0x00,0x00,0x02,0x00,0xba, +0xff,0xe3,0x04,0xa4,0x06,0x14,0x00,0x16,0x00,0x26,0x00,0x38,0x40,0x1f,0x1b,0xb9, +0x00,0x04,0x23,0xb9,0x10,0x0c,0x8c,0x04,0xb8,0x12,0x16,0xa9,0x13,0x97,0x12,0x28, +0x45,0x14,0x17,0x12,0x08,0x47,0x10,0x1f,0x16,0x08,0x13,0x46,0x27,0x10,0xfc,0xec, +0x32,0x32,0xf4,0xec,0xc4,0xec,0x31,0x00,0x2f,0xf4,0xec,0x10,0xe4,0xf4,0xc4,0xec, +0x10,0xc6,0xee,0x30,0x01,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x11,0x10,0x07,0x06, +0x23,0x22,0x27,0x26,0x27,0x15,0x23,0x11,0x21,0x15,0x25,0x01,0x34,0x27,0x26,0x23, +0x22,0x07,0x06,0x15,0x14,0x17,0x16,0x33,0x32,0x37,0x36,0x01,0x73,0x3a,0x59,0x58, +0x7b,0xcc,0x7f,0x80,0x80,0x7f,0xcc,0x7b,0x58,0x59,0x3a,0xb9,0x03,0x4e,0xfd,0x6b, +0x02,0x72,0x53,0x54,0x92,0x92,0x54,0x53,0x53,0x54,0x92,0x92,0x54,0x53,0x03,0xb6, +0x64,0x30,0x31,0xa2,0xa2,0xfe,0xf8,0xfe,0xf8,0xa2,0xa2,0x31,0x30,0x64,0xa8,0x06, +0x14,0xa6,0x01,0xfc,0xc0,0xcb,0x74,0x73,0x73,0x74,0xcb,0xcb,0x74,0x73,0x73,0x74, +0x00,0x02,0x00,0x00,0x00,0x00,0x04,0xec,0x05,0xd5,0x00,0x0a,0x00,0x16,0x00,0x00, +0x01,0x34,0x27,0x26,0x23,0x21,0x11,0x21,0x32,0x37,0x36,0x01,0x11,0x21,0x32,0x04, +0x15,0x14,0x04,0x23,0x21,0x11,0x23,0x04,0x17,0x4f,0x4e,0xa3,0xfe,0xbc,0x01,0x44, +0xa3,0x4e,0x4f,0xfd,0x7c,0x01,0x4e,0xfb,0x01,0x10,0xfe,0xf0,0xfb,0xfd,0xe8,0xc9, +0x01,0xb7,0x8b,0x44,0x43,0xfd,0xdd,0x44,0x43,0x04,0xa8,0xfd,0x9a,0xda,0xde,0xdd, +0xda,0x04,0x44,0x00,0x00,0x02,0x00,0x00,0xff,0xe3,0x04,0xa4,0x06,0x15,0x00,0x10, +0x00,0x18,0x00,0x00,0x01,0x3e,0x01,0x33,0x32,0x00,0x10,0x02,0x23,0x22,0x26,0x27, +0x15,0x23,0x11,0x23,0x01,0x00,0x10,0x26,0x20,0x06,0x10,0x16,0x20,0x01,0x73,0x3a, +0xb1,0x7b,0xcc,0x00,0xff,0xff,0xcc,0x7b,0xb1,0x3a,0xb9,0xba,0x01,0x73,0x02,0x72, +0xa7,0xfe,0xdc,0xa7,0xa7,0x01,0x24,0x03,0xb6,0x64,0x61,0xfe,0xbc,0xfd,0xf0,0xfe, +0xbc,0x61,0x64,0xa8,0x04,0x44,0x01,0xd1,0xfb,0x4f,0x01,0x96,0xe7,0xe7,0xfe,0x6a, +0xe7,0x00,0x00,0x01,0x00,0x73,0xff,0xe3,0x05,0x27,0x05,0xf0,0x00,0x19,0x00,0x30, +0x40,0x1b,0x19,0x86,0x00,0x88,0x16,0x95,0x03,0x91,0x1a,0x0d,0x86,0x0c,0x88,0x10, +0x95,0x09,0x8c,0x1a,0x1b,0x10,0x13,0x19,0x06,0x30,0x0d,0x00,0x1a,0x10,0xdc,0x3c, +0xf4,0xec,0xec,0x31,0x00,0x10,0xf4,0xec,0xf4,0xec,0x10,0xf4,0xec,0xf4,0xec,0x30, +0x13,0x3e,0x01,0x33,0x20,0x00,0x11,0x10,0x00,0x21,0x22,0x26,0x27,0x35,0x1e,0x01, +0x33,0x20,0x00,0x11,0x10,0x00,0x21,0x22,0x06,0x07,0x73,0x68,0xed,0x86,0x01,0x53, +0x01,0x86,0xfe,0x7a,0xfe,0xad,0x84,0xed,0x6a,0x66,0xe7,0x82,0x01,0x00,0x01,0x10, +0xfe,0xf0,0xff,0x00,0x82,0xe7,0x66,0x05,0x62,0x47,0x47,0xfe,0x61,0xfe,0x98,0xfe, +0x99,0xfe,0x61,0x48,0x48,0xd3,0x5f,0x5e,0x01,0x39,0x01,0x27,0x01,0x28,0x01,0x39, +0x5e,0x5f,0x00,0x01,0x00,0x73,0xff,0xe3,0x06,0x5a,0x07,0x64,0x00,0x24,0x00,0x00, +0x01,0x36,0x37,0x36,0x3b,0x01,0x15,0x23,0x22,0x06,0x1d,0x01,0x2e,0x01,0x23,0x20, +0x00,0x11,0x10,0x00,0x21,0x32,0x36,0x37,0x15,0x0e,0x01,0x23,0x20,0x00,0x11,0x10, +0x00,0x21,0x32,0x17,0x16,0x04,0x61,0x10,0x53,0x66,0xe3,0x4d,0x3f,0x86,0x6e,0x66, +0xe7,0x82,0xff,0x00,0xfe,0xf0,0x01,0x10,0x01,0x00,0x82,0xe7,0x66,0x6a,0xed,0x84, +0xfe,0xad,0xfe,0x7a,0x01,0x86,0x01,0x53,0x86,0x76,0x0d,0x05,0xc5,0xc3,0x62,0x7a, +0xaa,0x96,0xc2,0xd5,0x5f,0x5e,0xfe,0xc7,0xfe,0xd8,0xfe,0xd9,0xfe,0xc7,0x5e,0x5f, +0xd3,0x48,0x48,0x01,0x9f,0x01,0x67,0x01,0x68,0x01,0x9f,0x24,0x03,0x00,0x00,0x01, +0x00,0x71,0xff,0xe3,0x04,0xcd,0x05,0xcb,0x00,0x21,0x00,0x00,0x01,0x36,0x37,0x36, +0x3b,0x01,0x15,0x23,0x22,0x06,0x1d,0x01,0x2e,0x01,0x23,0x22,0x06,0x10,0x16,0x33, +0x32,0x36,0x37,0x15,0x0e,0x01,0x23,0x22,0x00,0x11,0x10,0x00,0x21,0x32,0x03,0x31, +0x09,0x46,0x52,0xb5,0x46,0x31,0x69,0x4c,0x4e,0x9d,0x50,0xb3,0xc6,0xc6,0xb3,0x50, +0x9d,0x4e,0x4d,0xa5,0x5d,0xfd,0xfe,0xd6,0x01,0x2d,0x01,0x06,0x48,0x04,0x6f,0xa9, +0x53,0x60,0x9c,0x61,0x99,0xac,0x2b,0x2b,0xe3,0xfe,0x66,0xe3,0x2b,0x2b,0xaa,0x24, +0x24,0x01,0x3e,0x01,0x0e,0x01,0x12,0x01,0x3a,0x00,0xff,0xff,0x00,0x0a,0x00,0x00, +0x05,0xba,0x05,0xd5,0x10,0x06,0x00,0x92,0x00,0x00,0x00,0x02,0xff,0x97,0x00,0x00, +0x06,0x14,0x05,0xd5,0x00,0x08,0x00,0x1b,0x00,0x00,0x01,0x11,0x33,0x20,0x00,0x11, +0x10,0x00,0x21,0x27,0x20,0x00,0x11,0x10,0x00,0x29,0x01,0x11,0x22,0x07,0x06,0x1d, +0x01,0x23,0x35,0x34,0x36,0x33,0x01,0xf7,0xf4,0x01,0x35,0x01,0x1f,0xfe,0xe1,0xfe, +0xcb,0x1f,0x01,0xb2,0x01,0x96,0xfe,0x68,0xfe,0x50,0xfe,0x61,0x8e,0x3b,0x31,0x9c, +0xc0,0xd6,0x05,0x2f,0xfb,0x77,0x01,0x18,0x01,0x2e,0x01,0x2c,0x01,0x17,0xa6,0xfe, +0x97,0xfe,0x80,0xfe,0x7e,0xfe,0x96,0x05,0x2f,0x2f,0x26,0x72,0x31,0x46,0xb5,0xa3, +0x00,0x02,0x00,0xc9,0x00,0x00,0x04,0xec,0x05,0xd5,0x00,0x0a,0x00,0x17,0x00,0x00, +0x01,0x14,0x17,0x16,0x33,0x21,0x11,0x21,0x22,0x07,0x06,0x11,0x21,0x11,0x21,0x22, +0x24,0x35,0x34,0x24,0x33,0x21,0x11,0x21,0x01,0x9e,0x4f,0x4e,0xa3,0x01,0x44,0xfe, +0xbc,0xa3,0x4e,0x4f,0x03,0x4e,0xfd,0xe8,0xfb,0xfe,0xf0,0x01,0x10,0xfb,0x01,0x4e, +0xfd,0x7c,0x01,0xb7,0x8a,0x43,0x44,0x02,0x23,0x43,0x44,0x03,0x93,0xfa,0x2b,0xda, +0xdd,0xde,0xda,0x01,0xc0,0x00,0x00,0x02,0x00,0x71,0xff,0xe3,0x04,0x5a,0x06,0x14, +0x00,0x11,0x00,0x19,0x00,0x00,0x01,0x11,0x05,0x35,0x21,0x11,0x23,0x35,0x0e,0x01, +0x23,0x22,0x02,0x10,0x00,0x33,0x32,0x16,0x00,0x10,0x16,0x20,0x36,0x10,0x26,0x20, +0x03,0xa2,0xfd,0x6b,0x03,0x4d,0xb8,0x3a,0xb1,0x7b,0xcc,0xff,0x00,0xff,0xcc,0x7b, +0xb1,0xfd,0xc8,0xa7,0x01,0x24,0xa7,0xa7,0xfe,0xdc,0x03,0xb6,0x01,0xb9,0x01,0xa6, +0xf9,0xec,0xa8,0x64,0x61,0x01,0x44,0x02,0x10,0x01,0x44,0x61,0xfe,0xe0,0xfe,0x6a, +0xe7,0xe7,0x01,0x96,0xe7,0x00,0x00,0x02,0x00,0x71,0xfe,0x56,0x04,0x75,0x04,0x63, +0x00,0x1c,0x00,0x2d,0x00,0x00,0x17,0x16,0x33,0x32,0x35,0x34,0x25,0x26,0x27,0x26, +0x11,0x10,0x37,0x36,0x33,0x32,0x17,0x16,0x11,0x14,0x07,0x06,0x07,0x16,0x15,0x10, +0x21,0x22,0x27,0x01,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x06,0x15,0x14, +0x17,0x16,0x17,0x16,0xfa,0x66,0xef,0xfd,0xfe,0xf8,0xd0,0x75,0x8e,0x89,0x89,0xf0, +0xef,0x8a,0x89,0x89,0x35,0x4b,0x9c,0xfe,0x47,0xdd,0x78,0x01,0xe8,0x44,0x37,0x56, +0x55,0x56,0x95,0x93,0xac,0x5b,0x61,0x7e,0x40,0xcb,0x46,0x75,0x5c,0x30,0x25,0x70, +0x87,0x01,0x15,0x01,0x09,0x9c,0x9d,0x9d,0x9c,0xfe,0xed,0xcc,0xa5,0x40,0x24,0x4f, +0x8d,0xfe,0xf0,0x46,0x01,0xd8,0x1d,0x49,0x71,0xcc,0xcb,0x72,0x73,0xe8,0xbe,0xc7, +0x60,0x67,0x0b,0x06,0x00,0x01,0x00,0xc9,0x00,0x00,0x04,0x8b,0x05,0xd5,0x00,0x0b, +0x00,0x00,0x01,0x11,0x21,0x35,0x21,0x11,0x21,0x35,0x21,0x11,0x21,0x35,0x04,0x8b, +0xfc,0x3e,0x02,0xf8,0xfd,0x39,0x02,0xc7,0xfd,0x1a,0x05,0xd5,0xfa,0x2b,0xaa,0x02, +0x1d,0xaa,0x01,0xba,0xaa,0x00,0x00,0x02,0x00,0x73,0xff,0xe3,0x05,0xd9,0x05,0xf0, +0x00,0x14,0x00,0x1c,0x00,0x00,0x01,0x21,0x12,0x17,0x16,0x21,0x20,0x00,0x11,0x10, +0x00,0x21,0x22,0x04,0x07,0x15,0x3e,0x01,0x33,0x20,0x00,0x03,0x06,0x07,0x06,0x20, +0x27,0x26,0x27,0x05,0x04,0xfb,0x6f,0x01,0xbc,0xb5,0x01,0x42,0x01,0x3a,0x01,0x78, +0xfe,0x75,0xfe,0xa2,0x92,0xfe,0xf9,0x6f,0x70,0xfc,0x8b,0x01,0x12,0x01,0x13,0x08, +0x17,0x61,0x81,0xfe,0x48,0x81,0x62,0x18,0x03,0x0c,0xfe,0x84,0xdb,0xd2,0x01,0xa5, +0x01,0x61,0x01,0x6e,0x01,0x99,0x48,0x46,0xd7,0x5f,0x60,0xfe,0xce,0xfe,0x4e,0xbf, +0x7c,0xa4,0xa4,0x7c,0xbf,0x00,0x00,0x01,0x00,0x9c,0xff,0xe3,0x04,0x73,0x05,0xf0, +0x00,0x28,0x00,0x40,0x40,0x24,0x0a,0x86,0x09,0x88,0x0d,0x95,0x06,0x91,0x29,0x00, +0x16,0x95,0x13,0xad,0x29,0x1f,0x86,0x20,0x88,0x1c,0x95,0x23,0x8c,0x29,0x2a,0x14, +0x09,0x1f,0x10,0x19,0x03,0x19,0x19,0x26,0x10,0x29,0x10,0xfc,0xec,0xd4,0xec,0xd4, +0xc4,0xc4,0xcc,0x31,0x00,0x10,0xf4,0xec,0xf4,0xec,0x10,0xf4,0xec,0x39,0x10,0xf4, +0xec,0xf4,0xec,0x30,0x01,0x2e,0x01,0x35,0x34,0x24,0x33,0x32,0x16,0x17,0x15,0x2e, +0x01,0x23,0x22,0x06,0x15,0x14,0x16,0x3b,0x01,0x15,0x23,0x22,0x06,0x15,0x14,0x16, +0x33,0x32,0x36,0x37,0x15,0x0e,0x01,0x23,0x20,0x24,0x35,0x34,0x36,0x01,0xd0,0x83, +0x8e,0x01,0x0c,0xe6,0x59,0xc9,0x73,0x72,0xbe,0x53,0x98,0xa3,0x9e,0x95,0xb6,0xae, +0xa5,0xb9,0xc7,0xbe,0x6d,0xc8,0x54,0x6a,0xc7,0x5e,0xfe,0xe8,0xfe,0xd0,0xa3,0x03, +0x25,0x21,0xab,0x7c,0xb2,0xd1,0x20,0x20,0xb4,0x26,0x24,0x7b,0x73,0x70,0x77,0xa6, +0x95,0x84,0x8f,0x96,0x32,0x31,0xc3,0x25,0x25,0xf2,0xdd,0x90,0xc4,0x00,0x00,0x01, +0xff,0x96,0xfe,0x66,0x04,0x23,0x05,0xd5,0x00,0x11,0x00,0x00,0x13,0x21,0x15,0x21, +0x11,0x21,0x15,0x21,0x11,0x10,0x06,0x2b,0x01,0x35,0x33,0x32,0x36,0x35,0xc9,0x03, +0x5a,0xfd,0x70,0x02,0x50,0xfd,0xb0,0xcd,0xe3,0x4d,0x3f,0x86,0x6e,0x05,0xd5,0xaa, +0xfe,0x48,0xaa,0xfd,0x9f,0xfe,0xf2,0xf4,0xaa,0x96,0xc2,0x00,0x00,0x01,0xff,0x7f, +0xfe,0x56,0x02,0xf8,0x06,0x14,0x00,0x1b,0x00,0x00,0x01,0x15,0x23,0x22,0x06,0x1d, +0x01,0x21,0x15,0x21,0x11,0x14,0x06,0x2b,0x01,0x35,0x33,0x32,0x36,0x35,0x11,0x23, +0x35,0x33,0x35,0x34,0x36,0x33,0x02,0xf8,0xb0,0x63,0x4d,0x01,0x2f,0xfe,0xd1,0xae, +0xbd,0xae,0xb0,0x63,0x4d,0xb0,0xb0,0xae,0xbd,0x06,0x14,0x99,0x50,0x68,0x63,0x8f, +0xfb,0xeb,0xbb,0xab,0x99,0x50,0x68,0x04,0x2a,0x8f,0x4e,0xbb,0xab,0x00,0x00,0x01, +0x00,0x73,0xff,0xe3,0x06,0x97,0x07,0x64,0x00,0x28,0x00,0x00,0x25,0x11,0x21,0x35, +0x21,0x11,0x06,0x04,0x23,0x20,0x00,0x11,0x10,0x00,0x21,0x32,0x17,0x16,0x17,0x36, +0x37,0x36,0x3b,0x01,0x15,0x23,0x22,0x06,0x1d,0x01,0x2e,0x01,0x23,0x20,0x00,0x11, +0x10,0x00,0x21,0x32,0x36,0x04,0xc3,0xfe,0xb6,0x02,0x12,0x75,0xfe,0xe6,0xa0,0xfe, +0xa2,0xfe,0x75,0x01,0x8b,0x01,0x5e,0x92,0x84,0x16,0x15,0x10,0x53,0x67,0xe3,0x4d, +0x3f,0x86,0x6e,0x70,0xfc,0x8b,0xfe,0xee,0xfe,0xed,0x01,0x13,0x01,0x12,0x6b,0xa8, +0xd5,0x01,0x91,0xa6,0xfd,0x7f,0x53,0x55,0x01,0x99,0x01,0x6d,0x01,0x6e,0x01,0x99, +0x24,0x06,0x07,0xc7,0x64,0x7a,0xaa,0x96,0xc2,0xd7,0x5f,0x60,0xfe,0xce,0xfe,0xd1, +0xfe,0xd2,0xfe,0xce,0x25,0x00,0x00,0x02,0x00,0x81,0xfe,0x52,0x05,0x1b,0x05,0x49, +0x00,0x0d,0x00,0x15,0x00,0x00,0x01,0x00,0x03,0x06,0x21,0x20,0x27,0x02,0x09,0x01, +0x33,0x09,0x01,0x33,0x01,0x02,0x13,0x16,0x33,0x32,0x27,0x02,0x03,0x40,0x01,0x47, +0x03,0x03,0xfe,0x63,0xfe,0x68,0x20,0x31,0x01,0x57,0xfe,0x2f,0xd9,0x01,0x73,0x01, +0x75,0xd9,0xfd,0xa3,0xce,0x07,0x03,0xd5,0xcd,0x01,0x03,0x02,0x8a,0xfe,0x3f,0xfe, +0x75,0xec,0xec,0x01,0x6e,0x01,0xe5,0x02,0xb8,0xfd,0xd5,0x02,0x2b,0xfc,0xa6,0xfe, +0xd3,0xfe,0xbc,0x8a,0x8a,0x01,0x4a,0x00,0x00,0x01,0x00,0xba,0x00,0x00,0x07,0x47, +0x06,0x14,0x00,0x43,0x00,0x00,0x01,0x34,0x26,0x23,0x22,0x06,0x07,0x11,0x23,0x11, +0x33,0x11,0x34,0x36,0x33,0x32,0x16,0x15,0x11,0x14,0x17,0x16,0x3b,0x01,0x32,0x3f, +0x01,0x35,0x33,0x3f,0x02,0x35,0x33,0x37,0x35,0x33,0x35,0x37,0x33,0x35,0x3f,0x02, +0x36,0x35,0x34,0x27,0x26,0x27,0x21,0x16,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14, +0x07,0x06,0x23,0x07,0x06,0x27,0x26,0x35,0x04,0x64,0xc6,0xc1,0x75,0xb3,0x42,0xb9, +0xb9,0xac,0x95,0x7c,0x7c,0x51,0x52,0xb5,0x46,0xe1,0x8e,0x01,0x01,0x01,0x01,0x01, +0x01,0x01,0x01,0x01,0x01,0x01,0x23,0x1e,0x42,0x36,0x38,0x72,0xfe,0xbe,0x2e,0x4c, +0x4d,0x37,0x0f,0x18,0x42,0x58,0x58,0x90,0x33,0x67,0x28,0x26,0x02,0xa4,0xe8,0xef, +0x64,0x65,0x02,0x62,0xf9,0xec,0x02,0x79,0xa4,0xbe,0x9e,0x9c,0xfe,0xf5,0xd6,0x60, +0x60,0x92,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x2a,0x2f, +0x77,0xa1,0x88,0x6e,0x71,0x64,0x0c,0x2c,0x2d,0x48,0x15,0x24,0x64,0x92,0x9e,0x62, +0x61,0x01,0x02,0x32,0x31,0x99,0x00,0x01,0x00,0xc9,0x00,0x00,0x02,0xc6,0x05,0xd5, +0x00,0x0b,0x00,0x00,0x13,0x11,0x33,0x11,0x14,0x16,0x3b,0x01,0x15,0x23,0x22,0x26, +0xc9,0xca,0x6e,0x86,0x3f,0x4d,0xe3,0xcd,0x02,0x02,0x03,0xd3,0xfc,0x2d,0xc2,0x96, +0xaa,0xf4,0x00,0x01,0x00,0x0a,0x00,0x00,0x02,0x52,0x05,0xd5,0x00,0x0b,0x00,0x00, +0x13,0x33,0x11,0x33,0x15,0x23,0x11,0x23,0x11,0x23,0x35,0x33,0xc9,0xca,0xbf,0xbf, +0xca,0xbf,0xbf,0x05,0xd5,0xfd,0x77,0x90,0xfd,0x44,0x02,0xbc,0x90,0x00,0x00,0x01, +0x00,0xc9,0x00,0x00,0x05,0xdd,0x05,0xde,0x00,0x12,0x00,0x00,0x01,0x36,0x1f,0x01, +0x37,0x27,0x26,0x07,0x06,0x07,0x01,0x11,0x23,0x11,0x33,0x11,0x01,0x21,0x01,0x04, +0x50,0x3e,0x3a,0xac,0x69,0xed,0x60,0x4c,0x35,0x47,0xfd,0xcb,0xca,0xca,0x02,0xcd, +0x01,0x0a,0xfc,0xe6,0x04,0xfe,0x3b,0x21,0x8d,0x74,0xb0,0x48,0x27,0x1b,0x43,0xfd, +0xec,0x02,0x77,0xfa,0x2b,0x02,0xcf,0xfd,0x31,0x03,0x1d,0x00,0x00,0x01,0x00,0xb9, +0x00,0x00,0x04,0x9c,0x06,0x14,0x00,0x13,0x00,0x00,0x13,0x26,0x37,0x36,0x3b,0x01, +0x15,0x23,0x22,0x06,0x15,0x03,0x01,0x33,0x09,0x01,0x23,0x01,0x11,0x23,0xba,0x01, +0x59,0x56,0xbe,0xae,0xb0,0x64,0x4c,0x01,0x02,0x25,0xeb,0xfd,0xae,0x02,0x6b,0xf0, +0xfd,0xc7,0xb9,0x04,0xae,0xba,0x56,0x56,0x99,0x50,0x68,0xfd,0xba,0x01,0xe3,0xfd, +0xf4,0xfd,0xac,0x02,0x23,0xfd,0xdd,0x00,0x00,0x01,0x00,0x0a,0x00,0x00,0x02,0x2a, +0x06,0x14,0x00,0x0b,0x00,0x00,0x13,0x33,0x11,0x33,0x15,0x23,0x11,0x23,0x11,0x23, +0x35,0x33,0xc1,0xb8,0xb1,0xb1,0xb8,0xb7,0xb7,0x06,0x14,0xfd,0x38,0x90,0xfd,0x44, +0x02,0xbc,0x90,0x00,0x00,0x01,0x00,0x3d,0x00,0x00,0x04,0x7f,0x06,0x14,0x00,0x0f, +0x00,0x00,0x33,0x01,0x27,0x05,0x27,0x25,0x27,0x33,0x17,0x25,0x17,0x05,0x01,0x23, +0x09,0x01,0x3d,0x01,0xeb,0x47,0xfe,0xd4,0x21,0x01,0x29,0x4b,0xc8,0x34,0x01,0x3a, +0x21,0xfe,0xc9,0x01,0xed,0xc3,0xfe,0xc6,0xfe,0x7e,0x04,0x32,0xbc,0x65,0x63,0x63, +0xc5,0x8a,0x68,0x61,0x68,0xfa,0xd7,0x03,0x3c,0xfc,0xc4,0x00,0x00,0x01,0x00,0xb2, +0xff,0xe3,0x07,0x27,0x05,0xd5,0x00,0x23,0x00,0x00,0x25,0x0e,0x01,0x23,0x22,0x26, +0x35,0x11,0x33,0x11,0x14,0x17,0x16,0x33,0x32,0x36,0x35,0x11,0x33,0x11,0x14,0x16, +0x33,0x32,0x36,0x35,0x11,0x33,0x11,0x23,0x35,0x0e,0x01,0x23,0x22,0x26,0x03,0xa6, +0x45,0xc0,0x82,0xaf,0xbe,0xcb,0x27,0x39,0x75,0x8f,0xa6,0xcb,0x72,0x77,0x7b,0xa6, +0xcb,0xcb,0x3f,0xb0,0x79,0x7a,0xab,0xd5,0x7c,0x76,0xf5,0xe2,0x04,0x1b,0xfb,0xef, +0xba,0x35,0x4e,0xbe,0xa4,0x03,0xec,0xfb,0xef,0xa2,0x9b,0xbf,0xa3,0x03,0xec,0xfa, +0x29,0xae,0x67,0x62,0x7c,0x00,0x00,0x01,0xff,0x96,0xfe,0x66,0x05,0x33,0x05,0xd5, +0x00,0x12,0x00,0x00,0x13,0x21,0x01,0x11,0x33,0x11,0x21,0x01,0x11,0x10,0x07,0x06, +0x2b,0x01,0x35,0x33,0x32,0x36,0x35,0xc9,0x01,0x10,0x02,0x96,0xc4,0xfe,0xf0,0xfd, +0x6a,0x61,0x69,0xe0,0x4d,0x3f,0x86,0x6e,0x05,0xd5,0xfb,0x1f,0x04,0xe1,0xfa,0x2b, +0x04,0xe1,0xfb,0x87,0xfe,0xee,0x74,0x7c,0xaa,0x96,0xc2,0x00,0xff,0xff,0x00,0xba, +0xfe,0x56,0x04,0x64,0x04,0x7b,0x10,0x06,0x03,0x30,0x00,0x00,0x00,0x03,0x00,0x73, +0xff,0xe3,0x05,0xd9,0x05,0xf0,0x00,0x0a,0x00,0x12,0x00,0x1a,0x00,0x00,0x01,0x20, +0x00,0x11,0x10,0x00,0x21,0x20,0x00,0x10,0x00,0x04,0x20,0x07,0x06,0x03,0x21,0x02, +0x27,0x01,0x16,0x17,0x16,0x20,0x37,0x36,0x37,0x03,0x27,0x01,0x3a,0x01,0x78,0xfe, +0x88,0xfe,0xc6,0xfe,0xc5,0xfe,0x87,0x01,0x79,0x02,0x17,0xfe,0x48,0x81,0x7a,0x07, +0x03,0xbb,0x08,0x78,0xfc,0xcc,0x18,0x62,0x81,0x01,0xb8,0x81,0x61,0x17,0x05,0xf0, +0xfe,0x5b,0xfe,0x9e,0xfe,0x9f,0xfe,0x5b,0x01,0xa4,0x02,0xc4,0x01,0xa5,0xa4,0xa4, +0x9a,0xfe,0xfe,0x01,0x02,0x9a,0xfd,0xbe,0xbf,0x7c,0xa4,0xa4,0x7c,0xbf,0xff,0xff, +0x00,0x67,0xff,0xe3,0x06,0xdb,0x05,0xf0,0x10,0x27,0x02,0xbe,0x06,0x4c,0x00,0x00, +0x10,0x06,0x00,0x32,0xf4,0x00,0xff,0xff,0x00,0x76,0xff,0xe3,0x05,0x74,0x04,0x7b, +0x10,0x27,0x02,0xbe,0x04,0xe5,0x00,0x00,0x10,0x06,0x00,0x52,0x05,0x00,0x00,0x02, +0x00,0x73,0xff,0xe3,0x06,0xcf,0x05,0xf0,0x00,0x0a,0x00,0x1e,0x00,0x00,0x01,0x22, +0x00,0x11,0x10,0x00,0x33,0x32,0x37,0x11,0x26,0x01,0x11,0x34,0x26,0x23,0x11,0x06, +0x21,0x20,0x00,0x10,0x00,0x21,0x32,0x17,0x21,0x32,0x16,0x19,0x01,0x03,0x27,0xdc, +0xfe,0xfd,0x01,0x03,0xdc,0xaf,0x80,0x8a,0x02,0x39,0x6e,0x7a,0xbc,0xfe,0xc6,0xfe, +0xc5,0xfe,0x87,0x01,0x79,0x01,0x3b,0x70,0x61,0x01,0x27,0xe3,0xcd,0x05,0x4c,0xfe, +0xb8,0xfe,0xe5,0xfe,0xe6,0xfe,0xb8,0xa4,0x03,0x7d,0xa4,0xfa,0xb4,0x03,0xd3,0xc2, +0x96,0xfb,0x8b,0xd3,0x01,0xa4,0x02,0xc4,0x01,0xa5,0x1b,0xf4,0xfe,0xf2,0xfc,0x2d, +0x00,0x02,0x00,0x71,0xfe,0x56,0x05,0x59,0x04,0x7b,0x00,0x09,0x00,0x1e,0x00,0x00, +0x01,0x26,0x07,0x06,0x10,0x16,0x20,0x37,0x11,0x26,0x01,0x11,0x34,0x26,0x23,0x11, +0x06,0x23,0x22,0x00,0x11,0x10,0x00,0x33,0x32,0x17,0x33,0x32,0x16,0x15,0x11,0x02, +0x73,0x93,0x57,0x56,0xab,0x01,0x2a,0x2c,0x2c,0x01,0x99,0x4c,0x69,0x89,0xf0,0xf1, +0xfe,0xef,0x01,0x11,0xf1,0x64,0x52,0xd8,0xb5,0xa3,0x03,0xdf,0x02,0x75,0x74,0xfe, +0x6e,0xe7,0x59,0x02,0xa8,0x5f,0xfa,0x77,0x04,0x74,0x99,0x61,0xfc,0xbc,0x9d,0x01, +0x39,0x01,0x13,0x01,0x14,0x01,0x38,0x1b,0xc0,0xd6,0xfb,0x8c,0x00,0x02,0xff,0x97, +0x00,0x00,0x04,0xf1,0x05,0xd5,0x00,0x08,0x00,0x1d,0x00,0x00,0x01,0x11,0x33,0x32, +0x36,0x35,0x34,0x26,0x23,0x35,0x32,0x04,0x15,0x14,0x04,0x2b,0x01,0x11,0x23,0x11, +0x22,0x07,0x06,0x1d,0x01,0x23,0x35,0x34,0x36,0x33,0x01,0xf7,0xfe,0x8d,0x9a,0x9a, +0x8d,0xfb,0x01,0x01,0xfe,0xff,0xfb,0xfe,0xca,0x80,0x49,0x31,0x9c,0xc0,0xd6,0x05, +0x2f,0xfd,0xcf,0x92,0x87,0x86,0x92,0xa6,0xe3,0xdb,0xdd,0xe2,0xfd,0xa8,0x05,0x2f, +0x38,0x26,0x69,0x31,0x46,0xb5,0xa3,0x00,0x00,0x02,0x00,0xb9,0xfe,0x56,0x04,0xa4, +0x06,0x14,0x00,0x07,0x00,0x21,0x00,0x00,0x00,0x10,0x26,0x20,0x06,0x10,0x16,0x20, +0x01,0x30,0x11,0x3e,0x01,0x33,0x32,0x00,0x10,0x02,0x23,0x22,0x26,0x27,0x11,0x23, +0x11,0x34,0x37,0x36,0x3b,0x01,0x15,0x23,0x22,0x06,0x03,0xe5,0xa7,0xfe,0xdc,0xa7, +0xa7,0x01,0x24,0xfe,0x35,0x3a,0xb1,0x7b,0xcc,0x00,0xff,0xff,0xcc,0x7b,0xb1,0x3a, +0xb9,0x57,0x57,0xbd,0xae,0xb0,0x63,0x4d,0x01,0x64,0x01,0x96,0xe7,0xe7,0xfe,0x6a, +0xe7,0x04,0x46,0xfe,0xf3,0x64,0x61,0xfe,0xbc,0xfd,0xf0,0xfe,0xbc,0x61,0x64,0xfd, +0xae,0x06,0x58,0xbb,0x55,0x56,0x99,0x50,0x00,0x02,0x00,0xc9,0xfe,0x56,0x04,0xa6, +0x05,0xd5,0x00,0x1d,0x00,0x26,0x00,0x00,0x13,0x33,0x11,0x33,0x32,0x04,0x10,0x07, +0x06,0x07,0x16,0x17,0x13,0x16,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x26,0x27, +0x03,0x26,0x2b,0x01,0x11,0x23,0x01,0x33,0x32,0x36,0x10,0x26,0x2b,0x01,0x11,0xc9, +0xca,0xfe,0xfb,0x01,0x01,0x81,0x65,0xb2,0x0a,0x09,0x90,0x36,0x27,0x2a,0x4c,0x3b, +0x62,0x7f,0x47,0x4a,0x4e,0x99,0x15,0x2e,0x77,0xca,0x01,0x02,0xc6,0x8d,0x9a,0x99, +0x8e,0xfe,0x05,0xd5,0xfe,0xf8,0xe1,0xfe,0x48,0x71,0x59,0x13,0x14,0x17,0xfe,0x92, +0x88,0x22,0x24,0x9a,0x3d,0x3f,0xc6,0x01,0x85,0x35,0xfe,0xae,0x01,0xf8,0x92,0x01, +0x0c,0x91,0xfd,0xd1,0x00,0x01,0x00,0x45,0xff,0xe3,0x04,0x60,0x05,0xf0,0x00,0x27, +0x00,0x00,0x13,0x3e,0x01,0x33,0x32,0x04,0x15,0x14,0x06,0x0f,0x01,0x0e,0x01,0x15, +0x14,0x16,0x33,0x32,0x36,0x37,0x15,0x0e,0x01,0x23,0x20,0x24,0x35,0x34,0x36,0x3f, +0x01,0x3e,0x01,0x35,0x34,0x26,0x23,0x22,0x06,0x07,0x9f,0x72,0xda,0x69,0xf5,0x01, +0x17,0xca,0xe2,0x7b,0x9a,0x87,0xbc,0xad,0x72,0xec,0x7b,0x80,0xef,0x6a,0xfe,0xe7, +0xfe,0xdd,0xd7,0xe2,0x7a,0xa6,0x77,0xb3,0xa5,0x5f,0xcc,0x73,0x05,0xa4,0x26,0x26, +0xe4,0xc6,0xab,0xc0,0x2d,0x18,0x1f,0x7c,0x6e,0x7e,0x88,0x46,0x45,0xd0,0x2f,0x30, +0xe0,0xd9,0xb6,0xd9,0x2b,0x19,0x1f,0x65,0x63,0x76,0x80,0x36,0x37,0x00,0x00,0x01, +0x00,0x47,0xff,0xe3,0x03,0x9f,0x04,0x7b,0x00,0x27,0x00,0x00,0x13,0x3e,0x01,0x33, +0x32,0x16,0x15,0x14,0x06,0x0f,0x01,0x0e,0x01,0x15,0x14,0x16,0x33,0x32,0x36,0x37, +0x15,0x0e,0x01,0x23,0x22,0x26,0x35,0x34,0x36,0x3f,0x01,0x3e,0x01,0x35,0x34,0x26, +0x23,0x22,0x06,0x07,0x83,0x4c,0xb4,0x66,0xce,0xe0,0x98,0xab,0x40,0xab,0x65,0x8c, +0x82,0x61,0xc6,0x66,0x6c,0xc3,0x5a,0xd8,0xf7,0xa5,0xc4,0x3f,0x94,0x62,0x89,0x89, +0x5a,0xa8,0x4e,0x04,0x3f,0x1e,0x1e,0xac,0x9e,0x82,0x95,0x24,0x0f,0x25,0x50,0x4b, +0x51,0x59,0x35,0x35,0xbe,0x23,0x23,0xb6,0x9c,0x89,0x99,0x2a,0x0e,0x21,0x49,0x40, +0x54,0x54,0x28,0x28,0xff,0xff,0x00,0xc9,0x00,0x00,0x04,0x8b,0x05,0xd5,0x10,0x06, +0x03,0x1c,0x00,0x00,0x00,0x02,0xfe,0xf2,0xfe,0x56,0x02,0xd7,0x06,0x14,0x00,0x08, +0x00,0x21,0x00,0x00,0x13,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x33,0x05,0x03,0x14, +0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x26,0x35,0x11,0x23,0x20,0x35,0x34,0x21, +0x32,0x17,0x16,0x17,0x33,0x15,0xb4,0x07,0x12,0x21,0x6e,0x7c,0x03,0x03,0x77,0x01, +0x78,0x02,0x27,0x25,0x64,0xb0,0xae,0xc3,0x51,0x57,0xbe,0xfe,0xf2,0x01,0x2f,0xb5, +0x52,0x35,0x12,0xbf,0x05,0x04,0x2d,0x17,0x30,0x41,0x33,0x9a,0xfb,0x3d,0x67,0x29, +0x28,0x99,0x56,0x5c,0xb4,0x04,0xae,0xd2,0xd8,0x60,0x40,0x6f,0x9b,0x00,0x00,0x01, +0x00,0x37,0xfe,0x56,0x02,0xf2,0x05,0x9e,0x00,0x1d,0x00,0x00,0x01,0x11,0x21,0x15, +0x21,0x11,0x14,0x16,0x3b,0x01,0x15,0x14,0x06,0x2b,0x01,0x35,0x33,0x32,0x36,0x3d, +0x01,0x23,0x22,0x26,0x35,0x11,0x23,0x35,0x33,0x11,0x01,0x77,0x01,0x7b,0xfe,0x85, +0x4b,0x73,0xbd,0xa4,0xb4,0x46,0x30,0x6a,0x4c,0x05,0xd5,0xa2,0x87,0x87,0x05,0x9e, +0xfe,0xc2,0x8f,0xfd,0xa0,0x89,0x4e,0xae,0xd6,0xc0,0x9c,0x61,0x99,0x14,0x9f,0xd2, +0x02,0x60,0x8f,0x01,0x3e,0x00,0x00,0x01,0x00,0x18,0x00,0x00,0x04,0xe9,0x05,0xd5, +0x00,0x10,0x00,0x00,0x01,0x33,0x11,0x33,0x11,0x21,0x35,0x21,0x22,0x06,0x1d,0x01, +0x33,0x35,0x34,0x37,0x36,0x01,0xae,0x5e,0xcb,0x02,0x12,0xfc,0xc5,0xd6,0xc0,0x9c, +0x30,0x45,0x05,0x2b,0xfa,0xd5,0x05,0x2b,0xaa,0xa3,0xb5,0x46,0x31,0x69,0x26,0x34, +0x00,0x01,0x00,0x37,0x00,0x00,0x02,0xf2,0x06,0x14,0x00,0x1c,0x00,0x00,0x13,0x34, +0x36,0x3b,0x01,0x15,0x23,0x22,0x07,0x06,0x1d,0x01,0x21,0x15,0x21,0x11,0x14,0x16, +0x3b,0x01,0x15,0x23,0x22,0x26,0x35,0x11,0x23,0x35,0x33,0xbe,0xae,0xbd,0xae,0xb0, +0x63,0x26,0x27,0x01,0x7b,0xfe,0x85,0x4b,0x73,0xbd,0xbd,0xd5,0xa2,0x87,0x87,0x04, +0xae,0xbb,0xab,0x99,0x28,0x29,0x67,0x63,0x8f,0xfd,0xa0,0x89,0x4e,0x9a,0x9f,0xd2, +0x02,0x60,0x8f,0x00,0x00,0x01,0xff,0xfa,0xfe,0x66,0x04,0xe9,0x05,0xd5,0x00,0x10, +0x00,0x00,0x01,0x21,0x35,0x21,0x15,0x21,0x11,0x14,0x17,0x16,0x3b,0x01,0x15,0x23, +0x22,0x26,0x11,0x02,0x0c,0xfd,0xee,0x04,0xef,0xfd,0xee,0x36,0x37,0x86,0x3f,0x4d, +0xe3,0xcd,0x05,0x2b,0xaa,0xaa,0xfb,0x3d,0xc3,0x4a,0x4b,0xaa,0xf4,0x01,0x0e,0x00, +0xff,0xff,0x00,0xad,0xff,0xf7,0x06,0x6a,0x05,0xe9,0x10,0x27,0x02,0xbe,0x05,0xdb, +0x00,0x00,0x10,0x06,0x00,0x38,0xfb,0x14,0xff,0xff,0x00,0xb0,0xff,0xe3,0x05,0xa1, +0x04,0x71,0x10,0x27,0x02,0xbe,0x05,0x12,0x00,0x00,0x10,0x06,0x00,0x58,0x02,0x00, +0x00,0x01,0x00,0x4e,0xff,0xe3,0x05,0xcf,0x05,0xca,0x00,0x1e,0x00,0x00,0x01,0x35, +0x21,0x15,0x16,0x12,0x15,0x14,0x00,0x20,0x00,0x35,0x34,0x12,0x37,0x35,0x21,0x15, +0x21,0x06,0x02,0x15,0x10,0x00,0x21,0x20,0x00,0x11,0x34,0x02,0x27,0x05,0xcf,0xfd, +0xa8,0xb1,0xc6,0xfe,0xf8,0xfe,0x50,0xfe,0xf7,0xc7,0xb2,0xfd,0xa8,0x01,0x3f,0x9e, +0x91,0x01,0x7f,0x01,0x31,0x01,0x2f,0x01,0x81,0x8e,0xa1,0x05,0x18,0xb2,0xb2,0x61, +0xfe,0xb4,0xca,0xf0,0xfe,0xde,0x01,0x23,0xef,0xca,0x01,0x4c,0x61,0xb2,0xb2,0x8b, +0xfe,0xd6,0xb8,0xfe,0xc2,0xfe,0x76,0x01,0x89,0x01,0x35,0xc2,0x01,0x28,0x8d,0x00, +0x00,0x01,0x00,0xc9,0xff,0xfe,0x05,0x76,0x05,0xd5,0x00,0x1a,0x00,0x00,0x25,0x23, +0x22,0x26,0x35,0x11,0x23,0x11,0x10,0x17,0x16,0x1f,0x01,0x20,0x00,0x11,0x34,0x02, +0x2f,0x01,0x15,0x16,0x17,0x16,0x15,0x14,0x00,0x02,0xc6,0x3f,0x86,0x6e,0xca,0x67, +0x61,0xe8,0x4d,0x01,0x2f,0x01,0x81,0x8e,0xa1,0xb3,0x6e,0x41,0x63,0xfe,0xf8,0xaa, +0x96,0xc2,0x03,0xd3,0xfc,0x2d,0xfe,0xf2,0x7a,0x74,0x06,0x02,0x01,0x89,0x01,0x35, +0xc2,0x01,0x28,0x8d,0x01,0x44,0x57,0x6d,0xa6,0xca,0xf0,0xfe,0xde,0x00,0x00,0x01, +0xff,0xfc,0x00,0x00,0x05,0xdc,0x05,0xed,0x00,0x10,0x00,0x00,0x09,0x01,0x36,0x37, +0x36,0x17,0x05,0x07,0x27,0x06,0x07,0x01,0x11,0x23,0x11,0x01,0x33,0x02,0x73,0x01, +0x48,0x34,0x31,0x42,0x6d,0x01,0x0d,0x4e,0xc6,0x55,0x26,0xfe,0x8a,0xcb,0xfd,0xf0, +0xd9,0x03,0x6f,0x01,0xeb,0x4e,0x28,0x36,0x31,0x7a,0x87,0x65,0x06,0x39,0xfd,0xcd, +0xfd,0x39,0x02,0xc7,0x03,0x0e,0x00,0x01,0x00,0x3d,0xfe,0x56,0x05,0x96,0x04,0x70, +0x00,0x17,0x00,0x00,0x05,0x0e,0x01,0x2b,0x01,0x35,0x33,0x32,0x36,0x3f,0x01,0x01, +0x33,0x09,0x01,0x36,0x37,0x36,0x1f,0x01,0x07,0x27,0x26,0x07,0x02,0x93,0x4e,0x94, +0x7c,0x93,0x6c,0x4c,0x54,0x33,0x21,0xfe,0x3b,0xc3,0x01,0x5e,0x01,0x17,0x32,0x51, +0x61,0x65,0xd7,0x35,0xc3,0x51,0x1c,0x68,0xc8,0x7a,0x9a,0x48,0x86,0x54,0x04,0x4e, +0xfc,0x94,0x02,0xbb,0x7e,0x29,0x32,0x30,0x65,0x93,0x5e,0x27,0x45,0x00,0x00,0x01, +0x00,0x5c,0x00,0x00,0x05,0x1f,0x05,0xd5,0x00,0x11,0x00,0x00,0x13,0x21,0x15,0x01, +0x21,0x15,0x21,0x01,0x21,0x15,0x21,0x35,0x01,0x21,0x35,0x21,0x01,0x21,0x73,0x04, +0x95,0xfe,0x70,0x01,0x19,0xfe,0x73,0xfe,0x54,0x03,0xc7,0xfb,0x3d,0x01,0xb9,0xfe, +0xd5,0x01,0x9f,0x01,0x83,0xfc,0x67,0x05,0xd5,0x9a,0xfe,0x11,0x90,0xfd,0xee,0xaa, +0x9a,0x02,0x22,0x90,0x01,0xdf,0x00,0x01,0x00,0x58,0x00,0x00,0x03,0xdb,0x04,0x60, +0x00,0x11,0x00,0x00,0x13,0x21,0x15,0x03,0x33,0x15,0x21,0x01,0x21,0x15,0x21,0x35, +0x01,0x23,0x35,0x21,0x01,0x21,0x71,0x03,0x6a,0xfb,0xc2,0xfe,0xc2,0xfe,0xc3,0x02, +0xb4,0xfc,0x7d,0x01,0x2b,0xd4,0x01,0x50,0x01,0x0d,0xfd,0x65,0x04,0x60,0xa8,0xfe, +0xdc,0x90,0xfe,0x8f,0x93,0xa8,0x01,0x5c,0x90,0x01,0x39,0x00,0x00,0x01,0x00,0xa0, +0xff,0xc1,0x04,0xf8,0x05,0xd5,0x00,0x25,0x00,0x00,0x25,0x32,0x37,0x36,0x35,0x34, +0x27,0x26,0x2b,0x01,0x35,0x01,0x21,0x35,0x21,0x15,0x01,0x32,0x17,0x16,0x17,0x16, +0x15,0x14,0x0f,0x01,0x06,0x07,0x06,0x21,0x22,0x27,0x26,0x27,0x35,0x16,0x17,0x16, +0x02,0xa8,0xc0,0x63,0x64,0x5c,0x5d,0xa5,0xae,0x01,0x81,0xfc,0xfc,0x04,0x00,0xfe, +0x65,0x6a,0x80,0x62,0x56,0x51,0x3b,0x1c,0x14,0x2d,0x98,0xfe,0xe8,0x77,0x7d,0x7e, +0x86,0x6a,0x7f,0x7e,0x6b,0x4b,0x4b,0x8f,0x86,0x49,0x4a,0xa6,0x01,0xdc,0xaa,0xa8, +0xfe,0x24,0x38,0x2a,0x6d,0x68,0x8a,0x97,0x55,0x29,0x1d,0x24,0x79,0x13,0x12,0x25, +0xc3,0x31,0x19,0x19,0x00,0x01,0x00,0x5c,0xff,0xc1,0x04,0xb4,0x05,0xd5,0x00,0x25, +0x00,0x00,0x25,0x32,0x37,0x36,0x37,0x15,0x06,0x07,0x06,0x23,0x20,0x27,0x26,0x2f, +0x01,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x33,0x01,0x35,0x21,0x15,0x21,0x01,0x15, +0x23,0x22,0x07,0x06,0x15,0x14,0x17,0x16,0x02,0xac,0x89,0x7e,0x7f,0x6a,0x86,0x7e, +0x7d,0x77,0xfe,0xe8,0x98,0x2d,0x14,0x1c,0x3b,0x51,0x56,0x62,0x80,0x6a,0xfe,0x65, +0x04,0x00,0xfc,0xfc,0x01,0x81,0xae,0xa5,0x5d,0x5c,0x64,0x63,0x6b,0x19,0x19,0x31, +0xc3,0x25,0x12,0x13,0x79,0x24,0x1d,0x29,0x55,0x97,0x8a,0x68,0x6d,0x2a,0x38,0x01, +0xdc,0xa8,0xaa,0xfe,0x24,0xa6,0x4a,0x49,0x86,0x8f,0x4b,0x4b,0x00,0x01,0x00,0x68, +0xfe,0x4c,0x04,0x3f,0x04,0x60,0x00,0x24,0x00,0x00,0x01,0x22,0x07,0x06,0x07,0x06, +0x15,0x14,0x1f,0x01,0x16,0x17,0x16,0x21,0x32,0x37,0x36,0x37,0x35,0x0e,0x01,0x23, +0x22,0x27,0x26,0x35,0x34,0x37,0x36,0x3b,0x01,0x35,0x01,0x21,0x35,0x21,0x15,0x02, +0x5b,0x6a,0x80,0x62,0x56,0x51,0x3b,0x1c,0x1c,0x25,0x98,0x01,0x18,0x5e,0x63,0x64, +0x6a,0x54,0xc8,0x6d,0xbe,0x63,0x64,0x5c,0x5d,0xa5,0xae,0xfe,0x52,0x02,0x9b,0xfc, +0x96,0x01,0xdc,0x38,0x2a,0x6d,0x68,0x8a,0x8a,0x62,0x29,0x24,0x1d,0x79,0x12,0x13, +0x25,0xc3,0x31,0x32,0x4b,0x4b,0x8f,0x84,0x4b,0x4a,0xa6,0x01,0xf3,0x93,0xa8,0x00, +0x00,0x01,0x00,0x71,0xfe,0x56,0x03,0xe8,0x04,0x60,0x00,0x1f,0x00,0x00,0x01,0x32, +0x37,0x36,0x37,0x15,0x06,0x07,0x06,0x23,0x20,0x11,0x34,0x25,0x24,0x35,0x34,0x23, +0x21,0x01,0x21,0x35,0x21,0x15,0x01,0x20,0x15,0x10,0x05,0x06,0x15,0x14,0x02,0x7f, +0x54,0x4d,0x4f,0x51,0x57,0x50,0x56,0x61,0xfe,0x20,0x01,0x96,0x01,0x1c,0xeb,0xfe, +0xde,0x01,0xe5,0xfd,0x65,0x03,0x6a,0xfe,0x9e,0x01,0x6f,0xfe,0x30,0xe2,0xfe,0xee, +0x15,0x15,0x2c,0xb3,0x20,0x0d,0x0e,0x01,0x19,0xee,0x35,0x25,0x62,0x7c,0x02,0x38, +0x93,0xa8,0xfe,0x64,0xe5,0xfe,0xec,0x31,0x18,0x61,0x8b,0x00,0x00,0x01,0x00,0x96, +0x00,0x00,0x04,0x4a,0x05,0xf0,0x00,0x22,0x00,0x00,0x25,0x21,0x15,0x21,0x35,0x01, +0x37,0x21,0x35,0x21,0x36,0x37,0x36,0x35,0x34,0x26,0x23,0x22,0x06,0x07,0x35,0x3e, +0x01,0x33,0x32,0x04,0x15,0x14,0x07,0x06,0x07,0x33,0x15,0x23,0x07,0x01,0x89,0x02, +0xc1,0xfc,0x4c,0x01,0x3a,0x73,0xfe,0xa7,0x01,0xe2,0x5f,0x25,0x27,0xa7,0x86,0x5f, +0xd3,0x78,0x7a,0xd4,0x58,0xe8,0x01,0x14,0x22,0x1f,0x4a,0x68,0xec,0x30,0xaa,0xaa, +0xaa,0x01,0x40,0x75,0x90,0x6d,0x48,0x4c,0x49,0x77,0x96,0x42,0x43,0xcc,0x31,0x32, +0xe8,0xc2,0x5c,0x52,0x49,0x60,0x90,0x31,0x00,0x01,0x00,0x5d,0xff,0xc1,0x04,0xf9, +0x05,0xd5,0x00,0x28,0x00,0x00,0x01,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x0f,0x01, +0x06,0x07,0x06,0x21,0x20,0x27,0x26,0x2f,0x01,0x26,0x35,0x33,0x14,0x17,0x16,0x20, +0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x21,0x15,0x23,0x11,0x21,0x15,0x21,0x11,0x03, +0x06,0x68,0x82,0x63,0x55,0x51,0x3b,0x1c,0x14,0x2d,0x98,0xfe,0xe8,0xfe,0xdc,0x98, +0x2d,0x14,0x1c,0x3b,0xc9,0x64,0x63,0x01,0x7c,0x63,0x64,0x5c,0x5d,0xa5,0xfe,0xc1, +0xca,0x03,0xa1,0xfd,0x29,0x03,0x51,0x38,0x2b,0x6c,0x68,0x8a,0x97,0x55,0x29,0x1d, +0x24,0x79,0x79,0x24,0x1d,0x29,0x55,0x97,0x8f,0x4b,0x4b,0x4b,0x4b,0x8f,0x86,0x49, +0x4a,0x01,0x03,0x2d,0xaa,0xfe,0x25,0x00,0x00,0x01,0x00,0x68,0xfe,0x4c,0x04,0x3f, +0x04,0x60,0x00,0x25,0x00,0x00,0x01,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x0f,0x01, +0x06,0x07,0x06,0x21,0x22,0x27,0x26,0x27,0x35,0x1e,0x01,0x33,0x32,0x37,0x36,0x35, +0x34,0x27,0x26,0x23,0x21,0x35,0x33,0x13,0x21,0x15,0x21,0x03,0x02,0x4c,0x69,0x81, +0x63,0x55,0x51,0x3b,0x1c,0x14,0x2d,0x98,0xfe,0xe8,0x5e,0x63,0x64,0x6a,0x54,0xc8, +0x6d,0xbe,0x63,0x64,0x5c,0x5d,0xa5,0xfe,0x9e,0x01,0x03,0x03,0x16,0xfd,0xa2,0x03, +0x01,0xdc,0x38,0x2b,0x6c,0x68,0x8a,0x97,0x55,0x29,0x1d,0x24,0x79,0x12,0x13,0x25, +0xc3,0x31,0x32,0x4b,0x4b,0x8f,0x86,0x49,0x4a,0xa8,0x02,0x84,0xaa,0xfe,0x26,0x00, +0x00,0x01,0x00,0x58,0xff,0xe3,0x03,0xa5,0x05,0x9e,0x00,0x24,0x00,0x00,0x01,0x07, +0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x21,0x22,0x27,0x26,0x27,0x35,0x16,0x17,0x16, +0x33,0x32,0x37,0x36,0x37,0x34,0x27,0x26,0x2b,0x01,0x13,0x23,0x35,0x33,0x11,0x33, +0x11,0x33,0x15,0x02,0x21,0x02,0xaa,0x70,0x6c,0x6e,0x89,0xfe,0xed,0x55,0x51,0x51, +0x4c,0x49,0x54,0x4e,0x50,0xb3,0x63,0x39,0x01,0x3a,0x56,0xc0,0x3e,0x02,0xe5,0xe5, +0xca,0xe7,0x03,0xe6,0x7d,0x1e,0x77,0x73,0xaa,0xba,0x7d,0x9d,0x12,0x11,0x23,0xac, +0x28,0x18,0x16,0x72,0x41,0x85,0x62,0x4c,0x72,0x01,0x0f,0xa4,0x01,0x14,0xfe,0xec, +0xa4,0x00,0x00,0x02,0x00,0xba,0xfe,0x56,0x04,0xa4,0x04,0x7b,0x00,0x0e,0x00,0x17, +0x00,0x00,0x05,0x11,0x23,0x11,0x33,0x15,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x15, +0x10,0x01,0x00,0x35,0x34,0x27,0x26,0x23,0x22,0x07,0x01,0x73,0xb9,0xb9,0x34,0x87, +0x51,0xd2,0xb8,0x4d,0x4e,0xfc,0xcf,0x02,0x72,0x39,0x38,0x78,0xdc,0xad,0x7a,0xfe, +0xd0,0x06,0x0a,0xaa,0x42,0x52,0x31,0x70,0x71,0x99,0xfe,0x57,0xfe,0xe4,0x01,0x90, +0xf9,0x85,0x42,0x41,0xef,0x00,0x00,0x01,0x00,0xc9,0xfe,0x56,0x01,0x93,0x05,0xd5, +0x00,0x03,0x00,0x00,0x13,0x33,0x11,0x23,0xc9,0xca,0xca,0x05,0xd5,0xf8,0x81,0x00, +0xff,0xff,0x00,0xc9,0xfe,0x56,0x03,0x27,0x05,0xd5,0x10,0x27,0x01,0x82,0x01,0x94, +0x00,0x00,0x10,0x06,0x01,0x82,0x00,0x00,0x00,0x01,0x00,0x14,0xfe,0x56,0x03,0x9c, +0x05,0xd5,0x00,0x13,0x00,0x00,0x01,0x33,0x11,0x21,0x15,0x21,0x15,0x21,0x15,0x21, +0x11,0x23,0x11,0x21,0x35,0x21,0x35,0x21,0x35,0x21,0x01,0x73,0xca,0x01,0x5f,0xfe, +0xa1,0x01,0x5f,0xfe,0xa1,0xca,0xfe,0xa1,0x01,0x5f,0xfe,0xa1,0x01,0x5f,0x05,0xd5, +0xfd,0x97,0xa8,0xf0,0xaa,0xfd,0x2c,0x02,0xd4,0xaa,0xf0,0xa8,0xff,0xff,0x00,0xc9, +0x00,0x00,0x01,0x94,0x05,0xd5,0x10,0x06,0x00,0x04,0x94,0x00,0xff,0xff,0x00,0xc9, +0x00,0x00,0x0a,0xd0,0x07,0x6d,0x10,0x27,0x01,0x3f,0x05,0xb1,0x00,0x00,0x10,0x06, +0x00,0x27,0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x09,0xb0,0x06,0x66,0x10,0x27, +0x01,0x40,0x05,0xd5,0x00,0x00,0x10,0x06,0x00,0x27,0x00,0x00,0xff,0xff,0x00,0x71, +0xff,0xe3,0x08,0x91,0x06,0x66,0x10,0x27,0x01,0x40,0x04,0xb6,0x00,0x00,0x10,0x06, +0x00,0x47,0x00,0x00,0xff,0xff,0x00,0xc9,0xfe,0x66,0x06,0x24,0x05,0xd5,0x10,0x27, +0x00,0x2d,0x04,0x91,0x00,0x00,0x10,0x06,0x00,0x2f,0x00,0x00,0xff,0xff,0x00,0xc9, +0xfe,0x56,0x05,0xde,0x06,0x14,0x10,0x27,0x00,0x4d,0x04,0x65,0x00,0x00,0x10,0x06, +0x00,0x2f,0x00,0x00,0xff,0xff,0x00,0xc1,0xfe,0x56,0x02,0xef,0x06,0x14,0x10,0x27, +0x00,0x4d,0x01,0x76,0x00,0x00,0x10,0x06,0x00,0x4f,0x00,0x00,0xff,0xff,0x00,0xc9, +0xfe,0x66,0x06,0xf2,0x05,0xd5,0x10,0x27,0x00,0x2d,0x05,0x5f,0x00,0x00,0x10,0x06, +0x00,0x31,0x00,0x00,0xff,0xff,0x00,0xc9,0xfe,0x56,0x06,0xb7,0x06,0x14,0x10,0x27, +0x00,0x4d,0x05,0x3e,0x00,0x00,0x10,0x06,0x00,0x31,0x00,0x00,0xff,0xff,0x00,0xba, +0xfe,0x56,0x05,0xde,0x06,0x14,0x10,0x27,0x00,0x4d,0x04,0x65,0x00,0x00,0x10,0x06, +0x00,0x51,0x00,0x00,0xff,0xff,0x00,0x10,0x00,0x00,0x05,0x68,0x07,0x6d,0x12,0x26, +0x00,0x24,0x00,0x00,0x11,0x07,0x0b,0xee,0x04,0xbe,0x01,0x75,0x00,0x06,0xb1,0x0e, +0x00,0x10,0x3c,0x31,0xff,0xff,0x00,0x7b,0xff,0xe3,0x04,0x2d,0x06,0x66,0x12,0x26, +0x00,0x44,0x00,0x00,0x10,0x06,0x02,0x7b,0x5a,0x00,0xff,0xff,0xff,0xfe,0x00,0x00, +0x02,0x60,0x07,0x6d,0x12,0x26,0x00,0x2c,0x00,0x00,0x11,0x07,0x0b,0xee,0x03,0x2f, +0x01,0x75,0x00,0x0b,0xb4,0x07,0x20,0x01,0x00,0x00,0x10,0x49,0x63,0x3a,0x31,0x00, +0xff,0xff,0xff,0xe0,0x00,0x00,0x02,0x5e,0x06,0x66,0x12,0x26,0x00,0xf3,0x00,0x00, +0x11,0x07,0x02,0x7b,0xff,0x1f,0x00,0x00,0x00,0x0b,0xb4,0x07,0x20,0x01,0x00,0x00, +0x10,0x49,0x63,0x3a,0x31,0x00,0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0xd9,0x07,0x6d, +0x12,0x26,0x00,0x32,0x00,0x00,0x10,0x07,0x0b,0xee,0x05,0x27,0x01,0x75,0xff,0xff, +0x00,0x71,0xff,0xe3,0x04,0x75,0x06,0x66,0x12,0x26,0x00,0x52,0x00,0x00,0x11,0x06, +0x02,0x7b,0x76,0x00,0x00,0x06,0xb1,0x1b,0x0c,0x10,0x3c,0x31,0xff,0xff,0x00,0xb2, +0xff,0xe3,0x05,0x29,0x07,0x6d,0x12,0x26,0x00,0x38,0x00,0x00,0x11,0x07,0x0b,0xee, +0x04,0xf6,0x01,0x75,0x00,0x06,0xb1,0x15,0x05,0x10,0x3c,0x31,0xff,0xff,0x00,0xae, +0xff,0xe3,0x04,0x58,0x06,0x66,0x12,0x26,0x00,0x58,0x00,0x00,0x11,0x06,0x02,0x7b, +0x76,0x00,0x00,0x0b,0xb4,0x17,0x20,0x0b,0x01,0x01,0x10,0x49,0x63,0x3a,0x31,0x00, +0xff,0xff,0x00,0xb2,0xff,0xe3,0x05,0x29,0x08,0x34,0x12,0x22,0x00,0x38,0x00,0x00, +0x10,0x02,0x0a,0xf5,0x32,0x00,0xff,0xff,0x00,0xae,0xff,0xe3,0x04,0x58,0x07,0x31, +0x10,0x27,0x00,0x71,0x00,0x7b,0x01,0x3b,0x12,0x06,0x00,0xbe,0x00,0x00,0xff,0xff, +0x00,0xb2,0xff,0xe3,0x05,0x29,0x08,0xe7,0x10,0x27,0x0b,0xea,0x04,0xee,0x02,0xf1, +0x10,0x06,0x00,0x9e,0x00,0x00,0xff,0xff,0x00,0xae,0xff,0xe3,0x04,0x58,0x07,0xff, +0x10,0x27,0x02,0xa4,0x04,0x7d,0x01,0x99,0x10,0x06,0x00,0xbe,0x00,0x00,0xff,0xff, +0x00,0xb2,0xff,0xe3,0x05,0x29,0x08,0xe9,0x10,0x27,0x0b,0xee,0x04,0xee,0x02,0xf1, +0x10,0x06,0x00,0x9e,0x00,0x00,0xff,0xff,0x00,0xae,0xff,0xe3,0x04,0x58,0x07,0xff, +0x10,0x27,0x02,0xaf,0x04,0x7d,0x01,0x99,0x10,0x06,0x00,0xbe,0x00,0x00,0xff,0xff, +0x00,0xb2,0xff,0xe3,0x05,0x29,0x08,0xe7,0x10,0x27,0x0b,0xec,0x04,0xee,0x02,0xf1, +0x10,0x06,0x00,0x9e,0x00,0x00,0xff,0xff,0x00,0xae,0xff,0xe3,0x04,0x58,0x07,0xff, +0x10,0x27,0x02,0xa3,0x04,0x7d,0x01,0x99,0x10,0x06,0x00,0xbe,0x00,0x00,0xff,0xff, +0x00,0x71,0xff,0xe3,0x04,0x7f,0x04,0x7b,0x10,0x06,0x02,0x0d,0x00,0x00,0xff,0xff, +0x00,0x10,0x00,0x00,0x05,0x68,0x08,0x34,0x12,0x22,0x00,0x24,0x00,0x00,0x10,0x02, +0x0a,0xf5,0x00,0x00,0xff,0xff,0x00,0x7b,0xff,0xe3,0x04,0x2d,0x07,0x31,0x10,0x27, +0x00,0x71,0x00,0x52,0x01,0x3b,0x12,0x06,0x00,0xa6,0x00,0x00,0xff,0xff,0x00,0x10, +0x00,0x00,0x05,0x68,0x08,0x34,0x12,0x22,0x00,0x24,0x00,0x00,0x10,0x02,0x0a,0xf7, +0x00,0x00,0xff,0xff,0x00,0x7b,0xff,0xe3,0x04,0x2d,0x06,0xf0,0x12,0x22,0x00,0x44, +0x00,0x00,0x10,0x03,0x0a,0xf7,0xff,0x92,0xfe,0xbc,0xff,0xff,0x00,0x08,0x00,0x00, +0x07,0x48,0x07,0x34,0x10,0x27,0x00,0x71,0x02,0xd7,0x01,0x3e,0x12,0x06,0x00,0x88, +0x00,0x00,0xff,0xff,0x00,0x7b,0xff,0xe3,0x07,0x6f,0x05,0xf2,0x10,0x27,0x00,0x71, +0x01,0xe8,0xff,0xfc,0x12,0x06,0x00,0xa8,0x00,0x00,0x00,0x01,0x00,0x73,0xff,0xe3, +0x06,0x04,0x05,0xf0,0x00,0x25,0x00,0x00,0x01,0x15,0x06,0x04,0x23,0x20,0x00,0x11, +0x10,0x00,0x21,0x32,0x04,0x17,0x15,0x2e,0x01,0x23,0x20,0x00,0x11,0x10,0x00,0x21, +0x32,0x36,0x37,0x35,0x23,0x35,0x33,0x35,0x21,0x35,0x21,0x11,0x33,0x15,0x05,0x8b, +0x75,0xfe,0xe6,0xa0,0xfe,0xa2,0xfe,0x75,0x01,0x8b,0x01,0x5e,0x92,0x01,0x07,0x6f, +0x70,0xfc,0x8b,0xfe,0xee,0xfe,0xed,0x01,0x13,0x01,0x12,0x6b,0xa8,0x43,0xfd,0xfd, +0xfe,0xb6,0x02,0x12,0x79,0x01,0x8a,0xff,0x53,0x55,0x01,0x99,0x01,0x6d,0x01,0x6e, +0x01,0x99,0x48,0x46,0xd7,0x5f,0x60,0xfe,0xce,0xfe,0xd1,0xfe,0xd2,0xfe,0xce,0x25, +0x27,0xb5,0x58,0x84,0xa6,0xfe,0xd6,0x58,0x00,0x02,0x00,0x71,0xfe,0x56,0x04,0xfa, +0x04,0x7b,0x00,0x0b,0x00,0x34,0x00,0x00,0x01,0x34,0x26,0x23,0x22,0x06,0x15,0x14, +0x16,0x33,0x32,0x36,0x03,0x36,0x3d,0x01,0x0e,0x01,0x23,0x22,0x02,0x11,0x10,0x12, +0x33,0x32,0x16,0x17,0x35,0x33,0x11,0x14,0x07,0x33,0x15,0x23,0x06,0x07,0x06,0x21, +0x22,0x26,0x27,0x35,0x1e,0x01,0x33,0x32,0x37,0x36,0x37,0x05,0x35,0x03,0xa2,0xa5, +0x95,0x94,0xa5,0xa5,0x94,0x95,0xa5,0x16,0x16,0x39,0xb2,0x7c,0xce,0xfc,0xfc,0xce, +0x7c,0xb2,0x39,0xb8,0x13,0xb3,0xc6,0x1f,0x3a,0x7f,0xfe,0xfa,0x61,0xac,0x51,0x51, +0x9e,0x52,0xb5,0x5a,0x15,0x11,0xfd,0x84,0x02,0x3d,0xc8,0xdc,0xdc,0xc8,0xc7,0xdc, +0xdc,0xfe,0x4f,0x47,0x5e,0x5b,0x63,0x62,0x01,0x3a,0x01,0x03,0x01,0x04,0x01,0x3a, +0x62,0x63,0xaa,0xfc,0x2b,0x6e,0x58,0x46,0x5d,0x40,0x8c,0x1d,0x1e,0xb3,0x2c,0x2a, +0x5f,0x17,0x1c,0x01,0x46,0x00,0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0x8b,0x07,0x6d, +0x12,0x22,0x00,0x2a,0x00,0x00,0x10,0x07,0x0b,0xee,0x05,0x4a,0x01,0x75,0xff,0xff, +0x00,0x71,0xfe,0x56,0x04,0x5a,0x06,0x63,0x10,0x22,0x02,0x7b,0x4a,0xfd,0x12,0x02, +0x00,0x4a,0x00,0x00,0xff,0xff,0x00,0x07,0x00,0x00,0x05,0x6a,0x07,0x6d,0x12,0x22, +0x00,0x2e,0x00,0x00,0x10,0x07,0x0b,0xee,0x03,0x38,0x01,0x75,0xff,0xff,0xff,0xe9, +0x00,0x00,0x04,0x9c,0x07,0x6d,0x12,0x22,0x00,0x4e,0x00,0x00,0x10,0x07,0x0b,0xee, +0x03,0x1a,0x01,0x75,0xff,0xff,0x00,0x73,0xfe,0x65,0x05,0xd9,0x05,0xf0,0x10,0x27, +0x02,0x8f,0x01,0x34,0xff,0xf0,0x12,0x06,0x00,0x32,0x00,0x00,0xff,0xff,0x00,0x71, +0xfe,0x65,0x04,0x75,0x04,0x7b,0x10,0x27,0x02,0x8f,0x00,0x80,0xff,0xf0,0x12,0x06, +0x00,0x52,0x00,0x00,0xff,0xff,0x00,0x73,0xfe,0x65,0x05,0xd9,0x07,0x31,0x10,0x27, +0x00,0x71,0x01,0x27,0x01,0x3b,0x12,0x06,0x01,0xac,0x00,0x00,0xff,0xff,0x00,0x71, +0xfe,0x65,0x04,0x75,0x05,0xf5,0x10,0x26,0x00,0x71,0x73,0xff,0x12,0x06,0x01,0xad, +0x00,0x00,0xff,0xff,0x00,0xa0,0xff,0xc1,0x04,0xf8,0x07,0x6d,0x10,0x27,0x0b,0xee, +0x04,0xbe,0x01,0x75,0x12,0x02,0x01,0x79,0x00,0x00,0xff,0xff,0x00,0x58,0xfe,0x4c, +0x04,0x2f,0x06,0x66,0x10,0x26,0x02,0x7b,0x1b,0x00,0x10,0x06,0x02,0x46,0x00,0x00, +0x00,0x02,0xff,0xdb,0xfe,0x56,0x02,0x64,0x06,0x66,0x00,0x0b,0x00,0x12,0x00,0x00, +0x13,0x33,0x11,0x14,0x06,0x2b,0x01,0x35,0x33,0x32,0x36,0x35,0x13,0x03,0x33,0x17, +0x37,0x33,0x03,0xc1,0xb8,0xa3,0xb5,0x46,0x31,0x69,0x4c,0x1a,0xf5,0x8b,0xb4,0xb4, +0x8b,0xf5,0x04,0x60,0xfb,0x8c,0xd6,0xc0,0x9c,0x61,0x99,0x05,0x02,0x01,0x78,0xf5, +0xf5,0xfe,0x88,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x0a,0xd0,0x05,0xd5,0x10,0x27, +0x00,0x3d,0x05,0xb1,0x00,0x00,0x10,0x06,0x00,0x27,0x00,0x00,0xff,0xff,0x00,0xc9, +0x00,0x00,0x09,0xb0,0x05,0xd5,0x10,0x27,0x00,0x5d,0x05,0xd5,0x00,0x00,0x10,0x06, +0x00,0x27,0x00,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x08,0x91,0x06,0x14,0x10,0x27, +0x00,0x5d,0x04,0xb6,0x00,0x00,0x10,0x06,0x00,0x47,0x00,0x00,0xff,0xff,0x00,0x73, +0xff,0xe3,0x05,0x8b,0x07,0x6b,0x12,0x22,0x00,0x2a,0x00,0x00,0x10,0x43,0x00,0x76, +0x01,0x16,0x02,0xf0,0x40,0x00,0x2c,0xcc,0xff,0xff,0x00,0x71,0xfe,0x56,0x04,0x5a, +0x06,0x63,0x12,0x22,0x00,0x4a,0x00,0x00,0x10,0x02,0x00,0x76,0x1b,0xfd,0x00,0x01, +0x00,0xc9,0xff,0xe3,0x08,0x2d,0x05,0xd5,0x00,0x1d,0x00,0x00,0x01,0x11,0x14,0x07, +0x06,0x21,0x20,0x27,0x26,0x35,0x11,0x21,0x11,0x23,0x11,0x33,0x11,0x21,0x11,0x33, +0x11,0x14,0x17,0x16,0x17,0x32,0x37,0x36,0x35,0x11,0x08,0x2d,0x64,0x60,0xfe,0xe6, +0xfe,0xed,0x67,0x64,0xfd,0x22,0xca,0xca,0x02,0xde,0xca,0x3e,0x3d,0x99,0x94,0x42, +0x3e,0x04,0x60,0xfd,0x5a,0xdf,0x80,0x78,0x78,0x76,0xe9,0x01,0x0d,0xfd,0x39,0x05, +0xd5,0xfd,0x9c,0x02,0x64,0xfb,0xec,0x9f,0x50,0x4e,0x01,0x4f,0x4b,0xa4,0x02,0x9f, +0x00,0x02,0x00,0xc9,0xfe,0x56,0x05,0x02,0x05,0xf0,0x00,0x0e,0x00,0x17,0x00,0x00, +0x25,0x11,0x23,0x11,0x33,0x15,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x15,0x10,0x01, +0x00,0x11,0x34,0x27,0x26,0x23,0x22,0x03,0x01,0x93,0xca,0xca,0x38,0x91,0x57,0xe2, +0xc6,0x53,0x54,0xfc,0x91,0x02,0xa1,0x3d,0x3c,0x81,0xed,0xba,0x9c,0xfd,0xba,0x07, +0x7f,0xb9,0x48,0x57,0x35,0x78,0x7a,0xa4,0xfe,0x37,0xfe,0xce,0x01,0xae,0x01,0x0c, +0x8f,0x47,0x46,0xfe,0xff,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x05,0x33,0x07,0x69, +0x12,0x22,0x00,0x31,0x00,0x00,0x10,0x43,0x00,0x43,0x01,0x6e,0x02,0xee,0x40,0x00, +0x2c,0xcc,0xff,0xff,0x00,0xba,0x00,0x00,0x04,0x64,0x06,0x64,0x12,0x22,0x00,0x51, +0x00,0x00,0x10,0x03,0x00,0x43,0x01,0x18,0xff,0xfe,0xff,0xff,0x00,0x10,0x00,0x00, +0x05,0x68,0x07,0xff,0x10,0x27,0x0b,0xea,0x06,0x5c,0x02,0x09,0x10,0x02,0x00,0x87, +0x00,0x00,0xff,0xff,0x00,0x7b,0xff,0xe3,0x05,0x2a,0x08,0x35,0x10,0x22,0x00,0xa7, +0x00,0x00,0x10,0x03,0x00,0x76,0x01,0xd8,0x01,0xcf,0xff,0xff,0x00,0x08,0x00,0x00, +0x07,0x48,0x07,0x6c,0x10,0x27,0x0b,0xea,0x06,0x5c,0x01,0x76,0x12,0x02,0x00,0x88, +0x00,0x00,0xff,0xff,0x00,0x7b,0xff,0xe3,0x07,0x6f,0x06,0x63,0x12,0x22,0x00,0xa8, +0x00,0x00,0x10,0x03,0x00,0x76,0x01,0x65,0xff,0xfd,0xff,0xff,0x00,0x66,0xff,0xba, +0x05,0xe5,0x07,0x6c,0x10,0x27,0x0b,0xea,0x04,0xfe,0x01,0x76,0x12,0x02,0x00,0x9a, +0x00,0x00,0xff,0xff,0x00,0x48,0xff,0xa2,0x04,0x9c,0x06,0x63,0x12,0x22,0x00,0xba, +0x00,0x00,0x10,0x02,0x00,0x76,0x1c,0xfd,0xff,0xff,0x00,0x10,0x00,0x00,0x05,0x68, +0x07,0x70,0x12,0x22,0x00,0x24,0x00,0x00,0x10,0x07,0x0b,0xf3,0x04,0xe5,0x01,0x7a, +0xff,0xff,0x00,0x7b,0xff,0xe3,0x04,0x2d,0x06,0x64,0x10,0x23,0x02,0xb2,0x04,0x98, +0xff,0xfe,0x12,0x02,0x00,0x44,0x00,0x00,0xff,0xff,0x00,0x10,0x00,0x00,0x05,0x68, +0x07,0x36,0x12,0x22,0x00,0x24,0x00,0x00,0x10,0x07,0x0b,0xef,0x04,0xbc,0x01,0x3e, +0xff,0xff,0x00,0x7b,0xff,0xe3,0x04,0x2d,0x06,0x48,0x10,0x23,0x02,0xb4,0x04,0x65, +0x00,0x00,0x12,0x06,0x00,0x44,0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x04,0x8b, +0x07,0x70,0x12,0x22,0x00,0x28,0x00,0x00,0x10,0x07,0x0b,0xf3,0x04,0xa5,0x01,0x7a, +0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x7f,0x06,0x63,0x10,0x23,0x02,0xb2,0x04,0xba, +0xff,0xfd,0x12,0x02,0x00,0x48,0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x04,0x8b, +0x07,0x36,0x12,0x22,0x00,0x28,0x00,0x00,0x10,0x07,0x0b,0xef,0x04,0xa6,0x01,0x3e, +0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x7f,0x06,0x48,0x10,0x23,0x02,0xb4,0x04,0xa9, +0x00,0x00,0x12,0x02,0x00,0x48,0x00,0x00,0xff,0xff,0xff,0xa7,0x00,0x00,0x02,0x73, +0x07,0x70,0x12,0x22,0x00,0x2c,0x00,0x00,0x10,0x07,0x0b,0xf3,0x03,0x59,0x01,0x7a, +0xff,0xff,0xff,0xc3,0x00,0x00,0x02,0x81,0x06,0x63,0x10,0x23,0x02,0xb2,0x03,0x66, +0xff,0xfd,0x12,0x02,0x00,0xf3,0x00,0x00,0xff,0xff,0x00,0x05,0x00,0x00,0x02,0x77, +0x07,0x36,0x12,0x22,0x00,0x2c,0x00,0x00,0x10,0x07,0x0b,0xef,0x03,0x3e,0x01,0x3e, +0xff,0xff,0xff,0xe3,0x00,0x00,0x02,0x56,0x06,0x48,0x10,0x23,0x02,0xb4,0x03,0x24, +0x00,0x00,0x12,0x02,0x00,0xf3,0x00,0x00,0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0xd9, +0x07,0x70,0x12,0x22,0x00,0x32,0x00,0x00,0x10,0x07,0x0b,0xf3,0x05,0x41,0x01,0x7a, +0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x75,0x06,0x64,0x10,0x23,0x02,0xb2,0x04,0x9f, +0xff,0xfe,0x12,0x02,0x00,0x52,0x00,0x00,0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0xd9, +0x07,0x36,0x12,0x22,0x00,0x32,0x00,0x00,0x10,0x07,0x0b,0xef,0x05,0x1c,0x01,0x3e, +0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x75,0x06,0x48,0x10,0x23,0x02,0xb4,0x04,0x98, +0x00,0x00,0x12,0x02,0x00,0x52,0x00,0x00,0xff,0xff,0x00,0xc7,0x00,0x00,0x05,0x54, +0x07,0x70,0x12,0x22,0x00,0x35,0x00,0x00,0x10,0x07,0x0b,0xf3,0x04,0x79,0x01,0x7a, +0xff,0xff,0x00,0x82,0x00,0x00,0x03,0x4a,0x06,0x63,0x10,0x23,0x02,0xb2,0x04,0x25, +0xff,0xfd,0x12,0x02,0x00,0x55,0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x05,0x54, +0x07,0x36,0x12,0x22,0x00,0x35,0x00,0x00,0x10,0x07,0x0b,0xef,0x04,0x80,0x01,0x3e, +0xff,0xff,0x00,0xba,0x00,0x00,0x03,0x5e,0x06,0x48,0x10,0x23,0x02,0xb4,0x04,0x2d, +0x00,0x00,0x12,0x02,0x00,0x55,0x00,0x00,0xff,0xff,0x00,0xb2,0xff,0xe3,0x05,0x29, +0x07,0x70,0x12,0x22,0x00,0x38,0x00,0x00,0x10,0x07,0x0b,0xf3,0x05,0x15,0x01,0x7a, +0xff,0xff,0x00,0xae,0xff,0xe3,0x04,0x58,0x06,0x64,0x10,0x23,0x02,0xb2,0x04,0xd4, +0xff,0xfe,0x12,0x02,0x00,0x58,0x00,0x00,0xff,0xff,0x00,0xb2,0xff,0xe3,0x05,0x29, +0x07,0x36,0x12,0x22,0x00,0x38,0x00,0x00,0x10,0x07,0x0b,0xef,0x04,0xec,0x01,0x3e, +0xff,0xff,0x00,0xae,0xff,0xe3,0x04,0x58,0x06,0x48,0x10,0x23,0x02,0xb4,0x04,0xab, +0x00,0x00,0x12,0x02,0x00,0x58,0x00,0x00,0xff,0xff,0x00,0x87,0xfe,0x14,0x04,0xa2, +0x05,0xf0,0x10,0x27,0x02,0xc9,0x04,0x76,0x00,0x00,0x12,0x06,0x00,0x36,0x00,0x00, +0xff,0xff,0x00,0x6f,0xfe,0x14,0x03,0xc7,0x04,0x7b,0x10,0x27,0x02,0xc9,0x04,0x2c, +0x00,0x00,0x12,0x06,0x00,0x56,0x00,0x00,0xff,0xff,0xff,0xfa,0xfe,0x14,0x04,0xe9, +0x05,0xd5,0x10,0x27,0x02,0xc9,0x04,0x53,0x00,0x00,0x12,0x06,0x00,0x37,0x00,0x00, +0xff,0xff,0x00,0x37,0xfe,0x14,0x02,0xf2,0x05,0x9e,0x10,0x27,0x02,0xc9,0x04,0x00, +0x00,0x00,0x12,0x06,0x00,0x57,0x00,0x00,0x00,0x01,0x00,0x9c,0xfe,0x52,0x04,0x73, +0x05,0xf0,0x00,0x31,0x00,0x00,0x13,0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x26,0x23, +0x22,0x0f,0x01,0x35,0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x07,0x22,0x07,0x06, +0x07,0x35,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x16,0x17, +0x16,0x15,0x14,0x07,0x06,0x05,0x06,0x07,0x9c,0xc7,0xc2,0xa5,0x7e,0x62,0x92,0x5b, +0x3f,0x46,0xf0,0xf8,0x8e,0x6a,0x4f,0x51,0x5f,0x63,0x69,0x71,0x59,0x78,0x77,0x60, +0x81,0x65,0xc0,0x84,0x86,0x47,0x52,0x78,0x8a,0x51,0x59,0x96,0x82,0xfe,0xd0,0xda, +0xb5,0xfe,0xf2,0x40,0x58,0x4b,0x79,0x5e,0x8e,0x71,0x86,0x1f,0x6a,0xab,0x6a,0x3d, +0x76,0x58,0x90,0x7b,0x35,0x3f,0x01,0x3a,0x2e,0x50,0xbe,0x42,0x2a,0x38,0x68,0x69, +0xb2,0xaa,0x63,0x71,0x4d,0x13,0x6d,0x77,0x71,0xda,0x8e,0x7b,0x81,0x5c,0x28,0x00, +0x00,0x01,0x00,0x47,0xfe,0x4f,0x03,0xbc,0x04,0x7b,0x00,0x32,0x00,0x00,0x13,0x36, +0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x0f,0x01,0x35,0x37,0x36,0x37, +0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x07,0x06,0x07,0x35,0x36,0x37,0x36,0x33,0x32, +0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x05,0x06, +0x07,0x47,0xb2,0xb0,0x94,0x72,0x58,0x42,0x41,0x52,0x39,0x3f,0xd8,0xdf,0x7c,0x63, +0x47,0x49,0x4e,0x60,0x5c,0x68,0x4f,0x6d,0x60,0x62,0x73,0x5b,0xab,0x79,0x78,0x40, +0x49,0x6c,0x7c,0x49,0x50,0x87,0x78,0xfe,0xf1,0xc4,0xa3,0xfe,0xd1,0x33,0x48,0x3c, +0x63,0x4c,0x73,0x5b,0x37,0x36,0x19,0x56,0x8b,0x55,0x2f,0x63,0x47,0x74,0x60,0x2f, +0x32,0x2f,0x23,0x43,0x9a,0x30,0x27,0x2e,0x55,0x55,0x90,0x89,0x51,0x5b,0x3f,0x0f, +0x58,0x61,0x5b,0xb1,0x73,0x66,0x66,0x4a,0x21,0x00,0xff,0xff,0x00,0xc9,0x00,0x00, +0x05,0x3b,0x07,0x6d,0x10,0x27,0x0b,0xee,0x05,0x04,0x01,0x75,0x12,0x02,0x00,0x2b, +0x00,0x00,0xff,0xff,0xff,0xf0,0x00,0x00,0x04,0x64,0x07,0x6d,0x10,0x27,0x0b,0xee, +0x03,0x21,0x01,0x75,0x12,0x02,0x00,0x4b,0x00,0x00,0x00,0x01,0x00,0xc9,0xfe,0x56, +0x05,0x19,0x05,0xf0,0x00,0x17,0x00,0x00,0x01,0x11,0x23,0x11,0x34,0x27,0x26,0x23, +0x22,0x07,0x06,0x15,0x11,0x23,0x11,0x33,0x15,0x36,0x37,0x36,0x33,0x32,0x17,0x16, +0x05,0x19,0xc9,0x4e,0x4c,0x99,0xb3,0x6d,0x6a,0xca,0xca,0x4e,0x69,0x69,0x9a,0xe3, +0x74,0x75,0x03,0x7d,0xfa,0xd9,0x05,0x29,0xd4,0x6d,0x6b,0x81,0x7e,0xde,0xfc,0xb2, +0x05,0xd5,0xf1,0x87,0x42,0x43,0x9f,0x9f,0x00,0x03,0x00,0x71,0xff,0x70,0x06,0x44, +0x06,0x14,0x00,0x07,0x00,0x28,0x00,0x34,0x00,0x00,0x25,0x16,0x33,0x32,0x35,0x34, +0x27,0x22,0x07,0x36,0x33,0x32,0x15,0x10,0x21,0x22,0x27,0x06,0x07,0x23,0x36,0x37, +0x26,0x35,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x10,0x37,0x36,0x33,0x32,0x17,0x16, +0x17,0x11,0x33,0x00,0x10,0x17,0x16,0x20,0x37,0x36,0x10,0x27,0x26,0x20,0x07,0x04, +0xb6,0x11,0x25,0xa0,0x34,0x34,0xca,0x6e,0x88,0xf4,0xfe,0xaa,0x49,0x35,0x22,0x18, +0xc4,0x1d,0x43,0x30,0x3a,0x58,0x59,0x7c,0xcb,0x80,0x7f,0x7f,0x80,0xcb,0x7c,0x59, +0x58,0x3a,0xb8,0xfc,0xd5,0x53,0x54,0x01,0x24,0x54,0x54,0x54,0x54,0xfe,0xdc,0x54, +0x82,0x05,0xaf,0x2d,0x01,0x20,0xb8,0xce,0xfe,0xbf,0x0f,0x48,0x3a,0x45,0x93,0x3c, +0x24,0x64,0x30,0x31,0xa2,0xa2,0x02,0x10,0xa2,0xa2,0x31,0x30,0x64,0x02,0x5e,0xfc, +0xe6,0xfe,0x6a,0x74,0x73,0x73,0x74,0x01,0x96,0x74,0x73,0x73,0x00,0x02,0x00,0x71, +0xff,0xe3,0x05,0x25,0x05,0xf0,0x00,0x0c,0x00,0x3b,0x00,0x00,0x01,0x22,0x07,0x06, +0x10,0x17,0x16,0x20,0x37,0x36,0x35,0x34,0x26,0x03,0x0e,0x01,0x15,0x14,0x17,0x16, +0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x35,0x32,0x17,0x16,0x15,0x14,0x06, +0x07,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x20,0x27,0x26,0x35,0x34,0x37,0x36,0x37, +0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x21,0x02,0xcb,0xb8,0x6a,0x6b,0x6b,0x6a,0x01, +0x70,0x6b,0x6b,0xd4,0xf4,0x82,0xaa,0x5f,0x3b,0xcc,0xa8,0x5f,0x60,0x4c,0x6d,0x82, +0xe4,0x96,0x8b,0xaa,0x98,0xac,0x5f,0x60,0x9c,0x9b,0xfd,0xba,0x9b,0x9c,0x60,0x61, +0xab,0xab,0x43,0x55,0x82,0x74,0x01,0x01,0x02,0xc5,0x4d,0x4d,0xfe,0xf2,0x4d,0x4d, +0x4d,0x4e,0x86,0x87,0x9a,0x02,0x27,0x03,0x7c,0x4f,0x45,0x48,0x2d,0x41,0x41,0x88, +0x9e,0x2b,0x4d,0x08,0x64,0x68,0x61,0xba,0x80,0xb2,0x20,0x22,0x63,0x63,0x8f,0xd9, +0x74,0x74,0x74,0x74,0xd9,0x8f,0x63,0x63,0x22,0x1f,0x46,0x59,0x58,0x82,0x53,0x4a, +0x00,0x02,0x00,0x71,0xff,0xe3,0x04,0x71,0x05,0x2f,0x00,0x0d,0x00,0x34,0x00,0x00, +0x01,0x22,0x07,0x06,0x10,0x17,0x16,0x20,0x37,0x36,0x35,0x34,0x27,0x26,0x13,0x16, +0x15,0x14,0x07,0x06,0x07,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x20,0x27,0x26,0x35, +0x34,0x36,0x37,0x26,0x27,0x26,0x35,0x34,0x37,0x17,0x06,0x14,0x17,0x16,0x33,0x32, +0x37,0x36,0x35,0x34,0x27,0x02,0x71,0x90,0x53,0x52,0x52,0x53,0x01,0x20,0x53,0x53, +0x53,0x52,0xfe,0x3a,0x34,0x49,0x81,0x92,0x52,0x51,0x85,0x84,0xfe,0x12,0x84,0x85, +0xa4,0x92,0x8e,0x3d,0x34,0x3f,0xa1,0x2b,0x49,0x48,0x83,0x82,0x49,0x4a,0x2c,0x02, +0xc5,0x4d,0x4d,0xfe,0xf2,0x4d,0x4d,0x4d,0x4e,0x86,0x87,0x4d,0x4d,0x02,0x6a,0x52, +0x70,0x99,0x40,0x59,0x20,0x22,0x63,0x63,0x8f,0xd9,0x74,0x74,0x74,0x74,0xd9,0x8f, +0xc6,0x22,0x23,0x56,0x4b,0x8e,0x6a,0x58,0x20,0x41,0xe8,0x41,0x41,0x41,0x41,0x74, +0x77,0x3e,0x00,0x01,0x00,0x5c,0xfe,0x56,0x05,0x1f,0x05,0xd5,0x00,0x15,0x00,0x00, +0x05,0x10,0x07,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x3d,0x01,0x21,0x35,0x01, +0x21,0x35,0x21,0x15,0x01,0x21,0x05,0x1f,0x9e,0x48,0x72,0xfe,0xe9,0x69,0x26,0x26, +0xfb,0xf5,0x03,0xb0,0xfc,0x67,0x04,0x95,0xfc,0x50,0x03,0xc7,0x14,0xfe,0xdf,0x50, +0x25,0x9c,0x30,0x31,0x99,0x14,0x9a,0x04,0x91,0xaa,0x9a,0xfb,0x6f,0x00,0x00,0x01, +0x00,0x58,0xfe,0x56,0x03,0xdb,0x04,0x60,0x00,0x15,0x00,0x00,0x05,0x10,0x07,0x06, +0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x3d,0x01,0x21,0x35,0x01,0x21,0x35,0x21,0x15, +0x01,0x21,0x03,0xdb,0x9e,0x48,0x72,0xfe,0xe9,0x69,0x26,0x26,0xfd,0x35,0x02,0xb4, +0xfd,0x65,0x03,0x6a,0xfd,0x4c,0x02,0xb4,0x14,0xfe,0xdf,0x50,0x25,0x9c,0x30,0x31, +0x99,0x14,0xa8,0x03,0x25,0x93,0xa8,0xfc,0xdb,0x00,0xff,0xff,0x00,0x10,0x00,0x00, +0x05,0x68,0x07,0x50,0x12,0x22,0x00,0x24,0x00,0x00,0x10,0x03,0x02,0x8d,0x00,0xc4, +0x01,0x40,0xff,0xff,0x00,0x7b,0xff,0xe3,0x04,0x2d,0x06,0x12,0x12,0x22,0x00,0x44, +0x00,0x00,0x10,0x02,0x02,0x8d,0x5f,0x02,0xff,0xff,0x00,0xc9,0xfe,0x75,0x04,0x8b, +0x05,0xd5,0x12,0x22,0x00,0x28,0x00,0x00,0x10,0x03,0x00,0x7a,0x00,0xa2,0x00,0x00, +0xff,0xff,0x00,0x71,0xfe,0x75,0x04,0x7f,0x04,0x7b,0x12,0x22,0x00,0x48,0x00,0x00, +0x10,0x02,0x00,0x7a,0x7b,0x00,0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0xd9,0x08,0x34, +0x12,0x22,0x00,0x32,0x00,0x00,0x10,0x02,0x0a,0xf5,0x6a,0x00,0xff,0xff,0x00,0x71, +0xff,0xe3,0x04,0x75,0x07,0x31,0x10,0x27,0x00,0x71,0x00,0x73,0x01,0x3b,0x12,0x06, +0x00,0xb8,0x00,0x00,0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0xd9,0x08,0x34,0x12,0x22, +0x00,0x32,0x00,0x00,0x10,0x02,0x0a,0xfd,0x6a,0x00,0xff,0xff,0x00,0x71,0xff,0xe3, +0x04,0x75,0x07,0x31,0x10,0x27,0x00,0x71,0x00,0x72,0x01,0x3b,0x12,0x06,0x00,0xb7, +0x00,0x00,0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0xd9,0x07,0x4f,0x10,0x27,0x0b,0xf1, +0x05,0x27,0x01,0x74,0x12,0x06,0x00,0x32,0x00,0x00,0xff,0xff,0x00,0x71,0xff,0xe3, +0x04,0x75,0x06,0x10,0x10,0x26,0x02,0x8d,0x73,0x00,0x12,0x06,0x00,0x52,0x00,0x00, +0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0xd9,0x08,0x34,0x12,0x22,0x00,0x32,0x00,0x00, +0x10,0x02,0x0a,0xf7,0x6a,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x75,0x07,0x31, +0x10,0x27,0x00,0x71,0x00,0x73,0x01,0x3b,0x12,0x06,0x01,0xf1,0x00,0x00,0xff,0xff, +0xff,0xfc,0x00,0x00,0x04,0xe7,0x07,0x31,0x10,0x27,0x00,0x71,0x00,0x72,0x01,0x3b, +0x12,0x06,0x00,0x3c,0x00,0x00,0xff,0xff,0x00,0x3d,0xfe,0x56,0x04,0x7f,0x05,0xf5, +0x10,0x26,0x00,0x71,0x5e,0xff,0x12,0x06,0x00,0x5c,0x00,0x00,0x00,0x02,0x00,0x8a, +0xff,0x70,0x03,0x5c,0x06,0x0e,0x00,0x07,0x00,0x19,0x00,0x00,0x25,0x16,0x33,0x32, +0x35,0x34,0x27,0x22,0x07,0x36,0x33,0x32,0x15,0x10,0x21,0x22,0x27,0x06,0x07,0x23, +0x36,0x37,0x26,0x37,0x11,0x33,0x01,0xce,0x11,0x25,0xa0,0x34,0x34,0xca,0x6e,0x88, +0xf4,0xfe,0xaa,0x49,0x35,0x22,0x18,0xc4,0x1d,0x43,0x31,0x01,0xb8,0x82,0x05,0xaf, +0x2d,0x01,0x20,0xb8,0xce,0xfe,0xbf,0x0f,0x48,0x3a,0x45,0x93,0x3c,0x5a,0x05,0x30, +0x00,0x02,0x00,0xba,0xff,0x70,0x06,0x4e,0x04,0x7b,0x00,0x07,0x00,0x2b,0x00,0x00, +0x25,0x16,0x33,0x32,0x35,0x34,0x27,0x22,0x07,0x36,0x33,0x32,0x15,0x10,0x21,0x22, +0x27,0x06,0x07,0x23,0x36,0x37,0x26,0x37,0x11,0x34,0x26,0x23,0x22,0x06,0x15,0x11, +0x23,0x11,0x33,0x15,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x15,0x04,0xc0,0x11,0x25, +0xa0,0x34,0x34,0xca,0x6e,0x88,0xf4,0xfe,0xaa,0x49,0x35,0x22,0x18,0xc4,0x1d,0x43, +0x31,0x01,0x7c,0x7c,0x95,0xac,0xb9,0xb9,0x42,0x59,0x5a,0x75,0xc1,0x63,0x63,0x82, +0x05,0xaf,0x2d,0x01,0x20,0xb8,0xce,0xfe,0xbf,0x0f,0x48,0x3a,0x45,0x93,0x3c,0x5a, +0x01,0xc0,0x9f,0x9e,0xbe,0xa4,0xfd,0x87,0x04,0x60,0xae,0x65,0x32,0x32,0x77,0x78, +0xe8,0x00,0x00,0x02,0x00,0x37,0xff,0x70,0x03,0x61,0x05,0x9e,0x00,0x07,0x00,0x21, +0x00,0x00,0x25,0x16,0x33,0x32,0x35,0x34,0x27,0x22,0x07,0x36,0x33,0x32,0x15,0x10, +0x21,0x22,0x27,0x06,0x07,0x23,0x36,0x37,0x26,0x35,0x11,0x23,0x35,0x33,0x11,0x33, +0x11,0x21,0x15,0x21,0x01,0xd3,0x11,0x25,0xa0,0x34,0x34,0xca,0x6e,0x88,0xf4,0xfe, +0xaa,0x49,0x36,0x21,0x18,0xc4,0x1d,0x43,0x31,0x87,0x87,0xb9,0x01,0x7b,0xfe,0x85, +0x82,0x05,0xaf,0x2d,0x01,0x20,0xb8,0xce,0xfe,0xbf,0x0f,0x48,0x3a,0x45,0x93,0x3c, +0x5a,0x02,0xf3,0x8f,0x01,0x3e,0xfe,0xc2,0x8f,0x00,0x00,0x01,0xff,0xdb,0xfe,0x56, +0x01,0x79,0x04,0x60,0x00,0x0b,0x00,0x38,0x40,0x15,0x0b,0x02,0x07,0x00,0x07,0x87, +0x05,0xbd,0x00,0xbc,0x0c,0x08,0x0c,0x05,0x06,0x4f,0x01,0x08,0x00,0x46,0x0c,0x10, +0xfc,0xec,0xe4,0x39,0x12,0x39,0x31,0x00,0x10,0xe4,0xf4,0xec,0x11,0x12,0x39,0x39, +0x30,0x40,0x0b,0x10,0x0d,0x40,0x0d,0x50,0x0d,0x60,0x0d,0x70,0x0d,0x05,0x01,0x5d, +0x13,0x33,0x11,0x14,0x06,0x2b,0x01,0x35,0x33,0x32,0x36,0x35,0xc1,0xb8,0xa3,0xb5, +0x46,0x31,0x69,0x4c,0x04,0x60,0xfb,0x8c,0xd6,0xc0,0x9c,0x61,0x99,0x00,0x00,0x03, +0x00,0x71,0xff,0xe3,0x07,0x8c,0x06,0x14,0x00,0x07,0x00,0x25,0x00,0x2d,0x00,0x00, +0x00,0x10,0x16,0x20,0x36,0x10,0x26,0x20,0x05,0x3e,0x01,0x33,0x32,0x00,0x10,0x02, +0x23,0x22,0x26,0x27,0x15,0x2b,0x01,0x35,0x0e,0x01,0x23,0x22,0x02,0x10,0x00,0x33, +0x32,0x16,0x17,0x11,0x3b,0x01,0x00,0x10,0x26,0x20,0x06,0x10,0x16,0x20,0x01,0x2f, +0xa7,0x01,0x24,0xa8,0xa8,0xfe,0xdc,0x02,0x85,0x3a,0xb1,0x7b,0xcc,0x00,0xff,0xff, +0xcc,0x7b,0xb1,0x3a,0x01,0xb8,0x3a,0xb1,0x7c,0xcb,0xff,0x00,0xff,0xcb,0x7c,0xb1, +0x3a,0xb8,0x01,0x02,0x72,0xa7,0xfe,0xdc,0xa7,0xa7,0x01,0x24,0x02,0xfa,0xfe,0x6a, +0xe7,0xe7,0x01,0x96,0xe7,0x2b,0x64,0x61,0xfe,0xbc,0xfd,0xf0,0xfe,0xbc,0x61,0x64, +0xa8,0xa8,0x64,0x61,0x01,0x44,0x02,0x10,0x01,0x44,0x61,0x64,0x02,0x5e,0xfb,0x50, +0x01,0x96,0xe7,0xe7,0xfe,0x6a,0xe7,0x00,0x00,0x03,0x00,0x71,0xfe,0x56,0x07,0x8c, +0x04,0x7b,0x00,0x07,0x00,0x25,0x00,0x2d,0x00,0x00,0x00,0x10,0x26,0x20,0x06,0x10, +0x16,0x20,0x25,0x11,0x2b,0x01,0x11,0x0e,0x01,0x23,0x22,0x02,0x10,0x00,0x33,0x32, +0x16,0x17,0x35,0x3b,0x01,0x15,0x3e,0x01,0x33,0x32,0x00,0x10,0x02,0x23,0x22,0x26, +0x00,0x10,0x16,0x20,0x36,0x10,0x26,0x20,0x06,0xcd,0xa7,0xfe,0xdc,0xa7,0xa7,0x01, +0x24,0xfe,0x35,0x01,0xb8,0x3a,0xb1,0x7c,0xcb,0xff,0x00,0xff,0xcb,0x7c,0xb1,0x3a, +0xb8,0x01,0x3a,0xb1,0x7b,0xcc,0x00,0xff,0xff,0xcc,0x7b,0xb1,0xfc,0x9a,0xa7,0x01, +0x24,0xa8,0xa8,0xfe,0xdc,0x01,0x64,0x01,0x96,0xe7,0xe7,0xfe,0x6a,0xe7,0x2b,0xfd, +0xae,0x02,0x52,0x64,0x61,0x01,0x44,0x02,0x10,0x01,0x44,0x61,0x64,0xaa,0xaa,0x64, +0x61,0xfe,0xbc,0xfd,0xf0,0xfe,0xbc,0x61,0x02,0xb6,0xfe,0x6a,0xe7,0xe7,0x01,0x96, +0xe7,0x00,0x00,0x03,0xff,0xfd,0xff,0xba,0x05,0x7c,0x06,0x17,0x00,0x12,0x00,0x16, +0x00,0x19,0x00,0x00,0x01,0x33,0x13,0x01,0x17,0x09,0x01,0x23,0x03,0x21,0x0f,0x01, +0x23,0x07,0x27,0x23,0x37,0x27,0x37,0x09,0x01,0x33,0x01,0x03,0x21,0x03,0x02,0x4a, +0xe5,0x86,0x01,0x61,0x66,0xfe,0x70,0x01,0x7c,0xd2,0x88,0xfd,0xd6,0xcd,0x32,0x46, +0x3b,0x52,0x02,0x01,0x14,0x2f,0x02,0x90,0xfe,0xee,0x16,0x01,0x6f,0xbd,0x01,0x5d, +0x6a,0x05,0xd5,0xfe,0xa1,0x01,0xa1,0x59,0xfe,0x27,0xfc,0x1b,0x01,0x7f,0xf1,0x8e, +0x46,0x46,0x01,0x11,0x38,0x04,0xc4,0xfd,0x19,0x01,0xb1,0xfe,0x4f,0x01,0x1f,0x00, +0x00,0x02,0x00,0x0b,0xff,0xba,0x05,0x8b,0x06,0x17,0x00,0x1f,0x00,0x28,0x00,0x00, +0x17,0x27,0x13,0x26,0x11,0x10,0x00,0x21,0x32,0x17,0x16,0x17,0x37,0x17,0x07,0x15, +0x26,0x27,0x01,0x16,0x17,0x16,0x21,0x32,0x36,0x37,0x15,0x0e,0x01,0x23,0x20,0x27, +0x13,0x01,0x23,0x26,0x23,0x20,0x00,0x11,0x14,0x72,0x66,0xdc,0x75,0x01,0x86,0x01, +0x53,0x86,0x76,0x3d,0x3a,0x65,0x66,0x63,0x2e,0x31,0xfc,0xf4,0x09,0x0b,0x88,0x01, +0x00,0x82,0xe7,0x66,0x6a,0xed,0x84,0xfe,0xb4,0xc2,0x39,0x02,0xd8,0x01,0x74,0x82, +0xff,0x00,0xfe,0xf0,0x46,0x58,0x01,0x05,0xbb,0x01,0x17,0x01,0x68,0x01,0x9f,0x24, +0x12,0x1b,0x78,0x59,0x76,0xbb,0x2b,0x21,0xfc,0x66,0x0d,0x0c,0x9d,0x5e,0x5f,0xd3, +0x48,0x48,0xc7,0x01,0x15,0x03,0x5c,0x2f,0xfe,0xc7,0xfe,0xd8,0xad,0x00,0x00,0x02, +0x00,0x09,0xff,0xa2,0x04,0x5d,0x04,0xbc,0x00,0x1f,0x00,0x27,0x00,0x00,0x17,0x27, +0x37,0x26,0x35,0x10,0x00,0x21,0x32,0x17,0x16,0x17,0x37,0x17,0x07,0x15,0x26,0x27, +0x01,0x16,0x17,0x16,0x33,0x32,0x36,0x37,0x15,0x0e,0x01,0x23,0x22,0x27,0x13,0x01, +0x26,0x23,0x22,0x06,0x15,0x14,0x69,0x60,0xbd,0x55,0x01,0x2d,0x01,0x06,0x55,0x51, +0x2e,0x2d,0x59,0x5f,0x76,0x19,0x18,0xfd,0xd3,0x07,0x06,0x63,0xb3,0x50,0x9d,0x4e, +0x4d,0xa5,0x5d,0xf0,0x93,0x37,0x01,0xee,0x47,0x47,0xb3,0xc6,0x5e,0x4e,0xe6,0x8d, +0xcc,0x01,0x12,0x01,0x3a,0x11,0x0a,0x10,0x6c,0x4f,0x8f,0x55,0x0e,0x0b,0xfd,0x5e, +0x08,0x08,0x71,0x2b,0x2b,0xaa,0x24,0x24,0x90,0x01,0x05,0x02,0x56,0x11,0xe3,0xcd, +0x67,0x00,0x00,0x01,0x00,0x0a,0x00,0x00,0x04,0x6a,0x05,0xd5,0x00,0x0d,0x00,0x00, +0x13,0x33,0x11,0x33,0x15,0x23,0x11,0x21,0x15,0x21,0x11,0x23,0x35,0x33,0xc9,0xca, +0xbf,0xbf,0x02,0xd7,0xfc,0x5f,0xbf,0xbf,0x05,0xd5,0xfd,0x77,0x90,0xfd,0xee,0xaa, +0x02,0xbc,0x90,0x00,0x00,0x02,0xff,0xb2,0xff,0xba,0x05,0x31,0x06,0x17,0x00,0x0f, +0x00,0x12,0x00,0x00,0x03,0x27,0x37,0x17,0x21,0x15,0x21,0x11,0x01,0x07,0x01,0x11, +0x23,0x11,0x01,0x23,0x01,0x11,0x21,0x06,0x48,0x66,0x38,0x04,0x99,0xfd,0xee,0x02, +0x5a,0x67,0xfe,0x0d,0xcb,0xfe,0x22,0x34,0x02,0x12,0xfe,0xd4,0x05,0x69,0x55,0x59, +0x42,0xaa,0xfd,0xae,0xfd,0x39,0x58,0x02,0x4d,0xfd,0xf9,0x02,0xf7,0x02,0x34,0xfe, +0x9e,0x01,0x62,0x00,0x00,0x01,0x00,0x6f,0xfe,0x10,0x04,0x19,0x04,0x7b,0x00,0x3a, +0x00,0x00,0x01,0x15,0x2e,0x01,0x23,0x22,0x06,0x15,0x14,0x16,0x1f,0x01,0x16,0x17, +0x16,0x15,0x14,0x07,0x06,0x07,0x1f,0x01,0x16,0x33,0x15,0x23,0x22,0x27,0x26,0x2f, +0x01,0x26,0x27,0x26,0x27,0x26,0x27,0x35,0x16,0x17,0x16,0x17,0x16,0x33,0x32,0x36, +0x35,0x34,0x26,0x2f,0x01,0x2e,0x01,0x35,0x34,0x36,0x33,0x32,0x16,0x03,0x8b,0x4e, +0xa8,0x5a,0x89,0x89,0x62,0x94,0x3f,0xc6,0x50,0x53,0x7b,0x57,0x84,0x9f,0x93,0x2a, +0x4c,0x27,0x54,0x72,0x47,0x59,0xed,0x1e,0x24,0x10,0x11,0x61,0x6c,0x5e,0x5b,0x60, +0x3f,0x1b,0x1a,0x82,0x8c,0x65,0xab,0x40,0xab,0x98,0xe0,0xce,0x66,0xb4,0x04,0x3f, +0xae,0x28,0x28,0x54,0x54,0x40,0x49,0x21,0x0e,0x2c,0x4b,0x4c,0x89,0x9c,0x5b,0x40, +0x13,0x9f,0x7e,0x24,0x9a,0x3d,0x26,0x5b,0xf3,0x1e,0x10,0x03,0x02,0x12,0x23,0xbe, +0x31,0x1a,0x02,0x1b,0x02,0x59,0x51,0x4b,0x50,0x25,0x0f,0x24,0x95,0x82,0x9e,0xac, +0x1e,0x00,0x00,0x01,0x00,0x58,0xfe,0x10,0x04,0x33,0x04,0x60,0x00,0x18,0x00,0x00, +0x13,0x21,0x15,0x01,0x16,0x17,0x01,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x26, +0x2f,0x01,0x26,0x2b,0x01,0x3d,0x01,0x01,0x21,0x71,0x03,0x6a,0xfd,0x4e,0x5c,0x31, +0x01,0x08,0x93,0x2a,0x4c,0x6c,0x93,0x54,0x72,0x47,0x59,0xed,0x3d,0x5a,0x5e,0x02, +0xb4,0xfd,0x65,0x04,0x60,0xa8,0xfc,0xdd,0x10,0x31,0xfe,0xf8,0x7e,0x24,0x9a,0x3d, +0x26,0x5b,0xf3,0x3f,0x9c,0x0c,0x03,0x25,0x00,0x01,0x00,0x50,0x00,0x00,0x04,0x8d, +0x05,0xd5,0x00,0x19,0x00,0x00,0x01,0x33,0x32,0x36,0x10,0x26,0x2b,0x01,0x22,0x07, +0x06,0x07,0x35,0x36,0x37,0x36,0x3b,0x01,0x32,0x04,0x10,0x04,0x2b,0x01,0x11,0x23, +0x01,0xa0,0xf1,0x8d,0x9a,0x99,0x8e,0xfe,0x45,0x5a,0x56,0x4e,0x4c,0x51,0x51,0x55, +0xfe,0xfb,0x01,0x01,0xfe,0xff,0xfb,0x27,0xca,0x03,0x00,0x92,0x01,0x0c,0x91,0x16, +0x15,0x2b,0xb6,0x23,0x11,0x12,0xe1,0xfe,0x48,0xe2,0xfd,0xa6,0x00,0x02,0x00,0x7b, +0xff,0xe3,0x04,0x2d,0x04,0x7b,0x00,0x0c,0x00,0x2c,0x00,0x00,0x01,0x32,0x36,0x35, +0x34,0x27,0x26,0x23,0x22,0x07,0x06,0x1d,0x01,0x07,0x11,0x33,0x15,0x36,0x37,0x36, +0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x23,0x21,0x15,0x14,0x17,0x16,0x33,0x32, +0x36,0x37,0x15,0x06,0x07,0x06,0x23,0x22,0x26,0x01,0xea,0xdf,0xac,0x41,0x40,0x6f, +0x99,0x5c,0x5d,0xb8,0xb8,0x3f,0x5e,0x5e,0x88,0xac,0x66,0x65,0x7f,0x7e,0xfb,0xfe, +0xfe,0x53,0x54,0x97,0x60,0xb6,0x54,0x65,0x5f,0x5f,0x5a,0xf3,0xf0,0x02,0x2b,0x66, +0x7b,0x62,0x3a,0x39,0x6d,0x6c,0xb4,0x29,0x4c,0x02,0x7f,0xaa,0x66,0x30,0x31,0x61, +0x60,0xa2,0xbd,0x60,0x60,0x12,0x7f,0x46,0x45,0x2e,0x2e,0xaa,0x27,0x14,0x13,0xfc, +0x00,0x02,0x00,0x71,0xff,0xe3,0x04,0x5a,0x04,0x7b,0x00,0x13,0x00,0x1f,0x00,0x00, +0x01,0x35,0x33,0x11,0x23,0x35,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x10,0x37,0x36, +0x33,0x32,0x17,0x16,0x00,0x10,0x17,0x16,0x20,0x37,0x36,0x10,0x27,0x26,0x20,0x07, +0x03,0xa2,0xb8,0xb8,0x3a,0x58,0x59,0x7c,0xcb,0x80,0x7f,0x7f,0x80,0xcb,0x7c,0x59, +0x58,0xfd,0xc7,0x53,0x54,0x01,0x24,0x54,0x54,0x54,0x54,0xfe,0xdc,0x54,0x03,0xb6, +0xaa,0xfb,0xa0,0xa8,0x64,0x30,0x31,0xa2,0xa2,0x02,0x10,0xa2,0xa2,0x31,0x30,0xfe, +0xe0,0xfe,0x6a,0x74,0x73,0x73,0x74,0x01,0x96,0x74,0x73,0x73,0x00,0x02,0x00,0x71, +0xff,0xe3,0x04,0x5a,0x04,0x7b,0x00,0x13,0x00,0x1f,0x00,0x00,0x25,0x15,0x23,0x11, +0x33,0x15,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x10,0x07,0x06,0x23,0x22,0x27,0x26, +0x00,0x10,0x27,0x26,0x20,0x07,0x06,0x10,0x17,0x16,0x20,0x37,0x01,0x29,0xb8,0xb8, +0x3a,0x59,0x58,0x7c,0xcb,0x7f,0x80,0x80,0x7f,0xcb,0x7c,0x58,0x59,0x02,0x39,0x54, +0x53,0xfe,0xdc,0x54,0x54,0x54,0x54,0x01,0x24,0x53,0xa8,0xaa,0x04,0x60,0xa8,0x64, +0x30,0x31,0xa2,0xa2,0xfd,0xf0,0xa2,0xa2,0x31,0x30,0x01,0x20,0x01,0x96,0x74,0x73, +0x73,0x74,0xfe,0x6a,0x74,0x73,0x73,0x00,0x00,0x02,0x00,0xba,0xff,0xe3,0x04,0xa4, +0x06,0x14,0x00,0x0b,0x00,0x2b,0x00,0x00,0x00,0x10,0x27,0x26,0x20,0x07,0x06,0x10, +0x17,0x16,0x20,0x37,0x01,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x10,0x07,0x06,0x23, +0x22,0x27,0x26,0x27,0x15,0x23,0x11,0x35,0x34,0x37,0x36,0x3b,0x01,0x15,0x23,0x22, +0x07,0x06,0x1d,0x01,0x03,0xe5,0x53,0x54,0xfe,0xdc,0x54,0x53,0x53,0x54,0x01,0x24, +0x54,0xfd,0xe0,0x3a,0x5a,0x58,0x7b,0xcc,0x7f,0x80,0x80,0x7f,0xcc,0x7b,0x58,0x59, +0x3a,0xb9,0x52,0x51,0xb5,0xfe,0xe9,0x6d,0x22,0x26,0x01,0x64,0x01,0x96,0x74,0x73, +0x73,0x74,0xfe,0x6a,0x74,0x73,0x73,0x02,0xc6,0x64,0x30,0x31,0xa2,0xa2,0xfd,0xf0, +0xa2,0xa2,0x31,0x30,0x64,0xa8,0x03,0xea,0x94,0xd6,0x60,0x60,0x9c,0x30,0x34,0x96, +0x94,0x00,0x00,0x01,0x00,0x71,0xff,0xe3,0x03,0xe7,0x04,0x7b,0x00,0x20,0x00,0x30, +0x40,0x1b,0x20,0x86,0x00,0x88,0x1c,0xb9,0x04,0xb8,0x21,0x10,0x86,0x0f,0x88,0x14, +0xb9,0x0b,0x8c,0x21,0x22,0x45,0x18,0x12,0x08,0x48,0x10,0x00,0x21,0x10,0xdc,0x3c, +0xf4,0xec,0xec,0x31,0x00,0x10,0xf4,0xec,0xf4,0xec,0x10,0xf4,0xec,0xf4,0xec,0x30, +0x13,0x36,0x37,0x36,0x33,0x20,0x17,0x16,0x11,0x10,0x00,0x23,0x22,0x27,0x26,0x27, +0x35,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x07,0x06, +0x07,0x71,0x4c,0x51,0x51,0x55,0x01,0x06,0x96,0x97,0xfe,0xd6,0xfd,0x5d,0x53,0x52, +0x4d,0x4e,0x4f,0x4e,0x50,0xb3,0x63,0x63,0x63,0x63,0xb3,0x50,0x4e,0x4f,0x4e,0x04, +0x35,0x23,0x12,0x11,0x9d,0x9d,0xfe,0xee,0xfe,0xf2,0xfe,0xc2,0x12,0x12,0x24,0xaa, +0x2b,0x16,0x15,0x71,0x72,0xcd,0xcd,0x72,0x71,0x15,0x16,0x2b,0x00,0x02,0x00,0x71, +0xff,0x70,0x03,0xe8,0x04,0x7b,0x00,0x07,0x00,0x2c,0x00,0x00,0x25,0x16,0x33,0x32, +0x35,0x26,0x23,0x22,0x03,0x06,0x15,0x07,0x34,0x37,0x26,0x27,0x26,0x11,0x10,0x37, +0x36,0x21,0x32,0x17,0x16,0x17,0x15,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x10,0x17, +0x16,0x17,0x36,0x33,0x20,0x17,0x16,0x21,0x22,0x02,0x25,0x3a,0x4d,0x92,0x02,0x82, +0x65,0x54,0x06,0x99,0x0c,0x39,0x2f,0x95,0x97,0x96,0x01,0x06,0x53,0x53,0x4e,0x4f, +0x4b,0x52,0x4e,0x50,0xb3,0x63,0x63,0x63,0x04,0x09,0x54,0xc4,0x01,0x2b,0x01,0x01, +0xfe,0xb2,0x50,0x92,0x13,0x39,0x4b,0xfe,0xed,0x39,0x44,0x03,0x68,0x54,0x23,0x33, +0xa1,0x01,0x0c,0x01,0x12,0x9d,0x9d,0x11,0x11,0x24,0xac,0x2a,0x17,0x15,0x71,0x72, +0xfe,0x66,0x72,0x05,0x09,0xb0,0xf6,0xbd,0x00,0x02,0x00,0x71,0xfe,0x56,0x05,0x40, +0x06,0x14,0x00,0x0b,0x00,0x2a,0x00,0x00,0x00,0x10,0x17,0x16,0x20,0x37,0x36,0x10, +0x27,0x26,0x20,0x07,0x25,0x11,0x33,0x11,0x14,0x17,0x16,0x3b,0x01,0x15,0x23,0x22, +0x27,0x26,0x3d,0x02,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x10,0x37,0x36,0x33,0x32, +0x17,0x16,0x01,0x2f,0x53,0x54,0x01,0x24,0x54,0x54,0x54,0x54,0xfe,0xdc,0x54,0x02, +0x20,0xb8,0x26,0x26,0x69,0x31,0x46,0xb5,0x51,0x52,0x3a,0x58,0x59,0x7c,0xcb,0x80, +0x7f,0x7f,0x80,0xcb,0x7c,0x59,0x58,0x02,0xfa,0xfe,0x6a,0x74,0x73,0x73,0x74,0x01, +0x96,0x74,0x73,0x73,0x48,0x02,0x5e,0xf9,0xd8,0x99,0x31,0x30,0x9c,0x60,0x60,0xd6, +0x94,0x28,0x64,0x30,0x31,0xa2,0xa2,0x02,0x10,0xa2,0xa2,0x31,0x30,0x00,0x00,0x02, +0x00,0x71,0xff,0xe3,0x05,0xf8,0x06,0x14,0x00,0x1f,0x00,0x2b,0x00,0x00,0x01,0x11, +0x23,0x35,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x10,0x37,0x36,0x33,0x32,0x17,0x16, +0x17,0x3d,0x01,0x34,0x37,0x36,0x3b,0x01,0x15,0x23,0x22,0x07,0x06,0x15,0x00,0x10, +0x17,0x16,0x20,0x37,0x36,0x10,0x27,0x26,0x20,0x07,0x04,0x5a,0xb8,0x3a,0x58,0x59, +0x7c,0xcb,0x80,0x7f,0x7f,0x80,0xcb,0x7c,0x59,0x58,0x3a,0x52,0x51,0xb5,0xfe,0xe9, +0x6d,0x22,0x26,0xfc,0xd5,0x53,0x54,0x01,0x24,0x54,0x54,0x54,0x54,0xfe,0xdc,0x54, +0x03,0xea,0xfc,0x16,0xa8,0x64,0x30,0x31,0xa2,0xa2,0x02,0x10,0xa2,0xa2,0x31,0x30, +0x64,0x34,0x94,0xd6,0x60,0x60,0x9c,0x30,0x34,0x96,0xfe,0x7c,0xfe,0x6a,0x74,0x73, +0x73,0x74,0x01,0x96,0x74,0x73,0x73,0x00,0x00,0x02,0x00,0x71,0xff,0xe3,0x04,0x7f, +0x04,0x7b,0x00,0x19,0x00,0x22,0x00,0x00,0x13,0x34,0x37,0x36,0x33,0x32,0x17,0x16, +0x11,0x10,0x07,0x06,0x21,0x22,0x26,0x27,0x35,0x16,0x17,0x16,0x33,0x32,0x37,0x36, +0x37,0x21,0x37,0x05,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x71,0x83,0x84,0xe2,0xfc, +0x94,0x95,0x9d,0x9c,0xfe,0xf4,0x6b,0xd0,0x63,0x62,0x64,0x63,0x6a,0xb7,0x66,0x67, +0x0c,0xfc,0xb2,0xb8,0x02,0x90,0x0e,0x5d,0x5c,0x9a,0x88,0x52,0x53,0x02,0x5e,0xfa, +0x92,0x91,0xa1,0xa2,0xfe,0xed,0xfe,0xf6,0x9c,0x9c,0x2c,0x2a,0xae,0x34,0x1a,0x1a, +0x63,0x64,0xbe,0x90,0x01,0x9e,0x57,0x57,0x5a,0x5a,0x00,0x02,0x00,0x71,0xff,0xe3, +0x04,0x7f,0x04,0x7b,0x00,0x19,0x00,0x22,0x00,0x00,0x13,0x35,0x21,0x26,0x27,0x26, +0x23,0x22,0x07,0x06,0x07,0x35,0x3e,0x01,0x33,0x20,0x17,0x16,0x11,0x10,0x07,0x06, +0x23,0x22,0x27,0x26,0x37,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x37,0x71,0x03,0x4e, +0x0c,0x67,0x66,0xb7,0x6a,0x63,0x64,0x62,0x63,0xd0,0x6b,0x01,0x0c,0x9c,0x9d,0x95, +0x94,0xfc,0xe2,0x84,0x83,0xb8,0x02,0x53,0x52,0x88,0x9a,0x5c,0x5d,0x0e,0x02,0x00, +0x5a,0xbe,0x64,0x63,0x1a,0x1a,0x34,0xae,0x2a,0x2c,0x9c,0x9c,0xfe,0xf6,0xfe,0xed, +0xa2,0xa1,0x91,0x92,0xc4,0x97,0x5a,0x5a,0x57,0x57,0x9e,0x00,0x00,0x02,0x00,0x7c, +0xff,0xe3,0x06,0x84,0x04,0x7b,0x00,0x0a,0x00,0x34,0x00,0x00,0x25,0x36,0x27,0x36, +0x27,0x01,0x16,0x17,0x16,0x33,0x32,0x01,0x16,0x15,0x10,0x07,0x06,0x23,0x22,0x27, +0x26,0x27,0x01,0x26,0x27,0x26,0x07,0x06,0x07,0x06,0x07,0x35,0x3e,0x01,0x33,0x20, +0x17,0x16,0x17,0x37,0x33,0x15,0x14,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x26, +0x35,0x03,0x4e,0x66,0x02,0x01,0x0a,0xfd,0x97,0x1e,0x20,0x52,0x88,0xa8,0x01,0x60, +0x1f,0x95,0x94,0xfc,0xe4,0x82,0x5c,0x1c,0x02,0xfe,0x13,0x1b,0x4c,0xd1,0x6c,0x61, +0x64,0x62,0x63,0xd0,0x6b,0x01,0x0c,0x9c,0x24,0x1b,0xcb,0xb8,0x26,0x26,0x69,0x2b, +0x40,0xaf,0x57,0x52,0xd6,0x8a,0xcf,0x3e,0x38,0xfe,0x9c,0x45,0x23,0x5a,0x02,0x90, +0x60,0x76,0xfe,0xed,0xa2,0xa1,0x91,0x67,0x9c,0x01,0xbb,0x27,0x23,0x64,0x01,0x01, +0x19,0x1a,0x34,0xae,0x2a,0x2c,0x9c,0x23,0x29,0x75,0x94,0x99,0x31,0x30,0x9c,0x60, +0x5a,0xc8,0xff,0xff,0x00,0x85,0xff,0xe3,0x03,0xc8,0x04,0x7c,0x10,0x06,0x03,0x2e, +0x00,0x00,0xff,0xff,0x00,0x85,0xff,0xe3,0x03,0xc8,0x04,0x7c,0x10,0x06,0x03,0xaf, +0x00,0x00,0x00,0x01,0x00,0x71,0xff,0xea,0x06,0x46,0x04,0x7b,0x00,0x42,0x00,0x00, +0x01,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x23,0x22,0x26,0x27,0x35,0x16,0x17,0x16, +0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x35, +0x34,0x27,0x26,0x23,0x22,0x07,0x06,0x07,0x35,0x36,0x37,0x36,0x33,0x32,0x17,0x16, +0x17,0x37,0x33,0x15,0x14,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x26,0x35,0x05, +0x27,0x07,0x06,0x02,0xd7,0x84,0x4a,0x4b,0x8b,0x8a,0xff,0x55,0xb6,0x60,0x4c,0x5b, +0x5b,0x64,0xad,0x5a,0x5b,0x55,0x54,0x96,0x9e,0xa5,0x88,0x48,0x48,0x4a,0x4b,0x8a, +0x4b,0x57,0x56,0x68,0x69,0x5b,0x5c,0x50,0xd2,0x7a,0x64,0x12,0xe2,0xb8,0x26,0x26, +0x69,0x2b,0x40,0xaf,0x57,0x52,0xfe,0xe8,0x01,0x06,0x41,0x02,0x5f,0x17,0x4a,0x4a, +0x6d,0xa6,0x5c,0x5b,0x1c,0x1c,0xad,0x22,0x11,0x12,0x34,0x35,0x62,0x51,0x37,0x37, +0x90,0x2c,0x2b,0x3d,0x4a,0x2b,0x2b,0x0c,0x0d,0x1b,0xa7,0x18,0x0c,0x0c,0x4f,0x41, +0x66,0x83,0x94,0x99,0x31,0x30,0x9c,0x60,0x5a,0xc8,0xa2,0x01,0x06,0x41,0x00,0x02, +0x00,0x71,0xff,0xd5,0x05,0x09,0x04,0x79,0x00,0x15,0x00,0x2b,0x00,0x00,0x01,0x20, +0x03,0x10,0x05,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x2b,0x01,0x35,0x33,0x32,0x37, +0x36,0x34,0x27,0x26,0x25,0x36,0x37,0x32,0x17,0x16,0x15,0x14,0x06,0x07,0x1e,0x01, +0x15,0x14,0x07,0x06,0x23,0x06,0x27,0x24,0x11,0x10,0x03,0x05,0xfe,0x3c,0x01,0x01, +0xc5,0x9d,0x49,0x55,0x4f,0x2b,0xb9,0xb6,0xb6,0xb9,0x2b,0x4f,0x55,0x4c,0xfe,0x41, +0x70,0xc7,0xe6,0x86,0x86,0x8e,0x83,0x83,0x8e,0x86,0x86,0xe6,0xc4,0x73,0xfe,0x91, +0x03,0xd8,0xfe,0x5e,0xfe,0x42,0x01,0x36,0x40,0x4a,0x4e,0x36,0x1e,0x9d,0x1e,0x37, +0x9a,0x3d,0x36,0x73,0x2d,0x01,0x56,0x57,0x94,0x67,0x8e,0x1b,0x1c,0x8e,0x67,0x94, +0x56,0x57,0x02,0x3e,0xc2,0x01,0x58,0x01,0x8d,0x00,0x00,0x01,0xff,0xdb,0xfe,0x56, +0x02,0x1c,0x04,0x60,0x00,0x13,0x00,0x00,0x13,0x33,0x11,0x33,0x15,0x23,0x11,0x14, +0x06,0x2b,0x01,0x35,0x33,0x32,0x36,0x35,0x11,0x23,0x35,0x33,0xc1,0xb8,0xa3,0xa3, +0xa3,0xb5,0x46,0x31,0x69,0x4c,0xb5,0xb5,0x04,0x60,0xfe,0x08,0xa4,0xfe,0x28,0xd6, +0xc0,0x9c,0x61,0x99,0x01,0xd8,0xa4,0x00,0x00,0x02,0x00,0x71,0xfe,0x56,0x05,0x40, +0x06,0x14,0x00,0x0d,0x00,0x37,0x00,0x00,0x01,0x11,0x21,0x22,0x07,0x06,0x15,0x14, +0x17,0x16,0x33,0x32,0x37,0x36,0x11,0x35,0x34,0x37,0x36,0x3b,0x01,0x15,0x23,0x22, +0x07,0x06,0x1d,0x02,0x11,0x10,0x07,0x06,0x21,0x22,0x27,0x26,0x27,0x35,0x1e,0x01, +0x33,0x32,0x37,0x36,0x3d,0x01,0x0e,0x01,0x23,0x22,0x02,0x11,0x34,0x12,0x33,0x03, +0xa2,0xfe,0xc6,0x94,0x52,0x53,0x53,0x52,0x94,0x95,0x53,0x52,0x52,0x51,0xb5,0x46, +0x31,0x69,0x26,0x26,0x7f,0x7f,0xfe,0xfa,0x61,0x56,0x56,0x51,0x51,0x9e,0x52,0xb5, +0x5a,0x5a,0x39,0xb2,0x7c,0xce,0xfc,0xfc,0xce,0x02,0x3d,0x01,0xa4,0x6e,0x6e,0xc8, +0xc7,0x6e,0x6e,0x6e,0x6e,0x02,0xea,0x1e,0xd6,0x60,0x60,0x9c,0x30,0x31,0x99,0x1e, +0x2b,0xfc,0x56,0xfe,0xe2,0x8b,0x8c,0x0e,0x0f,0x1e,0xb3,0x2c,0x2a,0x5e,0x5f,0xbf, +0x5b,0x63,0x62,0x01,0x3a,0x01,0x03,0xe9,0x01,0x3a,0x00,0x02,0x00,0x71,0xfe,0x56, +0x04,0x5a,0x04,0x60,0x00,0x0d,0x00,0x29,0x00,0x00,0x01,0x11,0x21,0x22,0x07,0x06, +0x15,0x14,0x17,0x16,0x33,0x32,0x37,0x36,0x13,0x11,0x10,0x07,0x06,0x21,0x22,0x27, +0x26,0x27,0x35,0x1e,0x01,0x33,0x32,0x37,0x36,0x3d,0x01,0x0e,0x01,0x23,0x22,0x02, +0x11,0x34,0x12,0x33,0x03,0xa2,0xfe,0xc6,0x94,0x52,0x53,0x53,0x52,0x94,0x95,0x53, +0x52,0xb8,0x7f,0x7f,0xfe,0xfa,0x61,0x56,0x56,0x51,0x51,0x9e,0x52,0xb5,0x5a,0x5a, +0x39,0xb2,0x7c,0xce,0xfc,0xfc,0xce,0x02,0x3d,0x01,0xa4,0x6e,0x6e,0xc8,0xc7,0x6e, +0x6e,0x6e,0x6e,0x02,0xea,0xfc,0x2b,0xfe,0xe2,0x8b,0x8c,0x0e,0x0f,0x1e,0xb3,0x2c, +0x2a,0x5e,0x5f,0xbf,0x5b,0x63,0x62,0x01,0x3a,0x01,0x03,0xe9,0x01,0x3a,0x00,0x01, +0x00,0x71,0x00,0x00,0x04,0x4f,0x04,0x98,0x00,0x21,0x00,0x00,0x25,0x11,0x23,0x35, +0x21,0x11,0x06,0x07,0x06,0x23,0x22,0x00,0x11,0x10,0x37,0x36,0x21,0x32,0x17,0x16, +0x17,0x15,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x10,0x17,0x16,0x33,0x32,0x03,0xa9, +0x9b,0x01,0x41,0x48,0x57,0x4e,0xca,0xfd,0xfe,0xd6,0x97,0x96,0x01,0x06,0x3e,0x68, +0x68,0x7f,0x78,0x6f,0x57,0x47,0xb3,0x63,0x63,0x63,0x63,0xb3,0xad,0xb2,0x01,0x1a, +0x8c,0xfd,0xf0,0x22,0x14,0x12,0x01,0x3e,0x01,0x0e,0x01,0x12,0x9d,0x9d,0x12,0x11, +0x4b,0xac,0x4d,0x1b,0x16,0x72,0x71,0xfe,0x66,0x71,0x72,0x00,0x00,0x02,0x00,0xce, +0xfe,0x51,0x04,0xd2,0x04,0x60,0x00,0x0d,0x00,0x15,0x00,0x00,0x01,0x00,0x11,0x14, +0x05,0x04,0x27,0x02,0x09,0x01,0x33,0x09,0x01,0x33,0x01,0x02,0x13,0x16,0x33,0x32, +0x37,0x36,0x03,0x49,0x01,0x1b,0xfe,0x80,0xfe,0x59,0x01,0x02,0x01,0x21,0xfe,0x73, +0xd9,0x01,0x2f,0x01,0x23,0xd9,0xfd,0xfe,0xdc,0x03,0x02,0xd6,0xcb,0x01,0x01,0x02, +0x3c,0xfe,0x42,0xfe,0xc0,0xe8,0x04,0x05,0xf1,0x01,0x56,0x01,0xaf,0x02,0x1d,0xfe, +0x70,0x01,0x90,0xfd,0x64,0xfe,0xcc,0xfe,0xee,0x8a,0x8a,0xfa,0x00,0x02,0x00,0x60, +0x00,0x00,0x04,0x64,0x04,0x60,0x00,0x0d,0x00,0x15,0x00,0x00,0x09,0x01,0x33,0x09, +0x01,0x33,0x01,0x16,0x15,0x16,0x21,0x20,0x35,0x34,0x25,0x06,0x15,0x14,0x33,0x32, +0x35,0x34,0x01,0xee,0xfe,0x72,0xd9,0x01,0x29,0x01,0x29,0xd9,0xfe,0x6b,0xb3,0x01, +0xfe,0xe1,0xfe,0xd2,0x01,0x24,0x76,0x7b,0x72,0x02,0x4a,0x02,0x16,0xfe,0x71,0x01, +0x8f,0xfd,0xdf,0xf1,0xa7,0xa7,0xa7,0xb1,0x60,0x9e,0x3b,0x68,0x68,0x3f,0x00,0x01, +0x00,0xae,0xfe,0x56,0x04,0x58,0x04,0x60,0x00,0x16,0x00,0x00,0x13,0x11,0x33,0x11, +0x14,0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x11,0x33,0x11,0x23,0x11,0x06,0x07,0x06, +0x23,0x22,0x26,0xae,0xb8,0x3e,0x3e,0x7c,0x95,0x57,0x56,0xb8,0xb8,0x43,0x59,0x58, +0x75,0xc1,0xc8,0x01,0xba,0x02,0xa6,0xfd,0x61,0x9f,0x50,0x4f,0x5f,0x5f,0xa4,0x02, +0x7b,0xf9,0xf6,0x02,0x56,0x66,0x32,0x31,0xf0,0x00,0x00,0x01,0x00,0xba,0x00,0x00, +0x04,0x64,0x06,0x14,0x00,0x21,0x00,0x00,0x01,0x33,0x36,0x37,0x36,0x33,0x32,0x17, +0x16,0x15,0x11,0x23,0x11,0x34,0x26,0x23,0x22,0x06,0x15,0x11,0x23,0x11,0x35,0x34, +0x37,0x36,0x3b,0x01,0x15,0x23,0x22,0x07,0x06,0x15,0x01,0x72,0x01,0x42,0x59,0x5a, +0x75,0xc1,0x63,0x63,0xb8,0x7c,0x7c,0x95,0xac,0xb9,0x52,0x51,0xb5,0xfe,0xe9,0x69, +0x26,0x26,0x03,0xb2,0x65,0x32,0x32,0x77,0x78,0xe8,0xfd,0x5c,0x02,0x9e,0x9f,0x9e, +0xbe,0xa4,0xfd,0x87,0x03,0xea,0x94,0xd6,0x60,0x60,0x9c,0x30,0x31,0x99,0x00,0x01, +0x00,0xba,0xfe,0x56,0x04,0x64,0x06,0x14,0x00,0x2b,0x00,0x00,0x01,0x33,0x36,0x37, +0x36,0x33,0x32,0x17,0x16,0x15,0x11,0x14,0x07,0x06,0x2b,0x01,0x35,0x33,0x32,0x37, +0x36,0x35,0x11,0x34,0x26,0x23,0x22,0x06,0x15,0x11,0x23,0x11,0x35,0x34,0x37,0x36, +0x3b,0x01,0x15,0x23,0x22,0x07,0x06,0x15,0x01,0x72,0x01,0x42,0x59,0x5a,0x75,0xc1, +0x63,0x63,0x52,0x51,0xb5,0xfe,0xe9,0x69,0x26,0x26,0x7c,0x7c,0x95,0xac,0xb9,0x52, +0x51,0xb5,0xfe,0xe9,0x69,0x26,0x26,0x03,0xb2,0x65,0x32,0x32,0x77,0x78,0xe8,0xfd, +0x48,0xd6,0x60,0x60,0x9c,0x30,0x31,0x99,0x02,0xb2,0x9f,0x9e,0xbe,0xa4,0xfd,0x87, +0x03,0xea,0x94,0xd6,0x60,0x60,0x9c,0x30,0x31,0x99,0x00,0x02,0x00,0x74,0x00,0x00, +0x02,0x85,0x06,0x14,0x00,0x0b,0x00,0x0f,0x00,0x00,0x13,0x35,0x33,0x11,0x33,0x11, +0x33,0x15,0x23,0x11,0x23,0x19,0x01,0x33,0x15,0x23,0x74,0xb4,0xb8,0xa4,0xa4,0xb8, +0xb8,0xb8,0x01,0xc4,0xa4,0x01,0xf8,0xfe,0x08,0xa4,0xfe,0x3c,0x01,0xc4,0x04,0x50, +0xe9,0x00,0x00,0x01,0x00,0xc1,0x00,0x00,0x02,0x5f,0x04,0x60,0x00,0x0d,0x00,0x00, +0x01,0x11,0x14,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x26,0x35,0x11,0x01,0x79, +0x26,0x26,0x69,0x31,0x46,0xb5,0x52,0x51,0x04,0x60,0xfd,0x36,0x99,0x31,0x30,0x9c, +0x60,0x60,0xd6,0x02,0xca,0x00,0x00,0x01,0x00,0x74,0x00,0x00,0x02,0x84,0x04,0x60, +0x00,0x0b,0x00,0x00,0x13,0x35,0x21,0x15,0x23,0x11,0x33,0x15,0x21,0x35,0x33,0x11, +0x74,0x02,0x10,0xa8,0xa8,0xfd,0xf0,0xb0,0x03,0xbc,0xa4,0xa4,0xfc,0xe8,0xa4,0xa4, +0x03,0x18,0x00,0x01,0x00,0xb0,0x00,0x00,0x03,0x44,0x06,0x14,0x00,0x23,0x00,0x00, +0x01,0x33,0x11,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x37,0x33,0x06,0x07,0x06,0x23, +0x22,0x27,0x11,0x23,0x11,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x07,0x23,0x36,0x37, +0x36,0x33,0x32,0x17,0x01,0xa2,0xb8,0x02,0x01,0x11,0x0d,0x26,0x12,0x12,0x02,0x7d, +0x02,0x33,0x33,0x5b,0x14,0x13,0xb8,0x06,0x05,0x11,0x0d,0x26,0x12,0x12,0x02,0x7d, +0x02,0x33,0x33,0x5b,0x19,0x16,0x06,0x14,0xfc,0xed,0x01,0x01,0x09,0x25,0x24,0x52, +0x87,0x49,0x4a,0x04,0xfd,0x85,0x03,0x02,0x04,0x03,0x09,0x25,0x24,0x52,0x87,0x49, +0x4a,0x06,0x00,0x02,0x00,0x4c,0x00,0x00,0x03,0x54,0x06,0x14,0x00,0x11,0x00,0x18, +0x00,0x00,0x01,0x33,0x11,0x33,0x15,0x23,0x11,0x23,0x11,0x34,0x27,0x23,0x20,0x37, +0x36,0x33,0x32,0x17,0x07,0x26,0x23,0x22,0x07,0x14,0x33,0x01,0xa2,0xb8,0xfa,0xfa, +0xb8,0x01,0x3d,0xfe,0xe8,0x01,0x01,0xf5,0x35,0x2a,0x10,0x17,0x37,0x4d,0x01,0x5c, +0x06,0x14,0xfc,0xfe,0xa0,0xfd,0x8e,0x02,0x54,0x0f,0x0f,0xbd,0xf6,0x19,0xfa,0x84, +0x4b,0x39,0x00,0x01,0x00,0xc1,0xfe,0x56,0x02,0x5f,0x06,0x14,0x00,0x0f,0x00,0x00, +0x37,0x11,0x33,0x11,0x15,0x14,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x26,0x35, +0xc1,0xb8,0x26,0x26,0x69,0x31,0x46,0xb5,0x51,0x52,0x80,0x05,0x94,0xfa,0x6c,0x94, +0x99,0x31,0x30,0x9c,0x60,0x60,0xd6,0x00,0x00,0x01,0x00,0xc1,0xfe,0x4c,0x05,0x36, +0x06,0x14,0x00,0x24,0x00,0x00,0x01,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x04,0x21, +0x22,0x27,0x26,0x27,0x35,0x1e,0x01,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x2b, +0x01,0x35,0x01,0x21,0x11,0x23,0x11,0x33,0x11,0x21,0x15,0x03,0x43,0x69,0x81,0x63, +0x55,0x51,0xfe,0xd0,0xfe,0xe8,0x5e,0x63,0x64,0x6a,0x54,0xc8,0x6d,0xbe,0x63,0x64, +0x5c,0x5b,0xa7,0xae,0x01,0xae,0xfd,0x6a,0xb8,0xb8,0x03,0x65,0x01,0xdc,0x38,0x2b, +0x6c,0x68,0x8a,0xdd,0xf2,0x12,0x13,0x25,0xc3,0x31,0x32,0x4b,0x4b,0x8f,0x84,0x4b, +0x4a,0xa6,0x01,0xf3,0xfc,0x33,0x06,0x14,0xfe,0x4c,0xa8,0x00,0x00,0x01,0x00,0xba, +0xff,0xe6,0x07,0x1d,0x04,0x62,0x00,0x26,0x00,0x00,0x25,0x06,0x07,0x06,0x23,0x22, +0x26,0x35,0x11,0x33,0x11,0x14,0x16,0x33,0x32,0x37,0x36,0x35,0x11,0x33,0x11,0x14, +0x16,0x33,0x32,0x36,0x35,0x11,0x33,0x11,0x23,0x35,0x06,0x07,0x06,0x23,0x22,0x27, +0x26,0x03,0xae,0x45,0x60,0x60,0x82,0xaf,0xbe,0xb9,0x72,0x75,0x8f,0x53,0x53,0xb9, +0x72,0x77,0x8d,0xa6,0xb9,0xb9,0x3f,0x58,0x58,0x79,0x7a,0x56,0x55,0xd8,0x7c,0x3a, +0x3c,0xf6,0xe2,0x02,0xa4,0xfd,0x62,0xa2,0x9c,0x60,0x5e,0xa4,0x02,0x7a,0xfd,0x62, +0xa2,0x9c,0xc0,0xa2,0x02,0x7a,0xfb,0xa0,0xae,0x68,0x30,0x32,0x3e,0x3e,0x00,0x01, +0x00,0xba,0xfe,0x56,0x07,0x1d,0x04,0x61,0x00,0x26,0x00,0x00,0x25,0x0e,0x01,0x23, +0x22,0x27,0x26,0x35,0x11,0x33,0x11,0x14,0x16,0x33,0x32,0x36,0x35,0x11,0x33,0x11, +0x14,0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x11,0x33,0x11,0x23,0x11,0x0e,0x01,0x23, +0x22,0x27,0x26,0x03,0xae,0x45,0xc0,0x82,0xaf,0x5f,0x5f,0xb9,0x72,0x75,0x8f,0xa6, +0xb9,0x39,0x39,0x77,0x8d,0x53,0x53,0xb9,0xb9,0x3f,0xb0,0x79,0x7a,0x56,0x55,0xd8, +0x7c,0x76,0x7a,0x7b,0xe2,0x02,0xa4,0xfd,0x62,0xa1,0x9c,0xbe,0xa4,0x02,0x79,0xfd, +0x62,0xa2,0x4d,0x4e,0x60,0x5f,0xa3,0x02,0x79,0xf9,0xf5,0x02,0x59,0x67,0x62,0x3e, +0x3e,0x00,0x00,0x01,0x00,0xba,0xfe,0x56,0x07,0x1d,0x04,0x7b,0x00,0x33,0x00,0x00, +0x01,0x3e,0x01,0x33,0x32,0x17,0x16,0x15,0x11,0x14,0x07,0x06,0x2b,0x01,0x35,0x33, +0x32,0x37,0x36,0x35,0x26,0x13,0x34,0x27,0x34,0x26,0x23,0x22,0x06,0x15,0x11,0x23, +0x11,0x34,0x27,0x26,0x23,0x22,0x07,0x06,0x15,0x11,0x23,0x11,0x33,0x15,0x3e,0x01, +0x33,0x32,0x17,0x16,0x04,0x29,0x45,0xc0,0x82,0xaf,0x5f,0x5f,0x52,0x51,0xb5,0xfe, +0xe9,0x69,0x26,0x26,0x02,0x02,0x01,0x72,0x75,0x8f,0xa6,0xb9,0x39,0x39,0x77,0x8d, +0x53,0x53,0xb9,0xb9,0x3f,0xb0,0x79,0x7a,0x55,0x56,0x03,0x89,0x7c,0x76,0x7b,0x7a, +0xe2,0xfd,0x48,0xd6,0x60,0x60,0x9c,0x30,0x31,0x99,0x56,0x01,0x9e,0x6e,0x50,0xa1, +0x9c,0xbe,0xa4,0xfd,0x87,0x02,0x9e,0xa2,0x4e,0x4d,0x5f,0x60,0xa3,0xfd,0x87,0x04, +0x60,0xae,0x67,0x62,0x3e,0x3e,0x00,0x01,0xff,0xdb,0xfe,0x56,0x04,0x6b,0x04,0x7b, +0x00,0x1f,0x00,0x00,0x05,0x14,0x07,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x35, +0x11,0x33,0x15,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x15,0x11,0x23,0x11,0x34,0x26, +0x23,0x22,0x06,0x15,0x01,0x79,0x51,0x52,0xb5,0x46,0x31,0x69,0x26,0x26,0xb9,0x42, +0x5a,0x59,0x75,0xc1,0x63,0x63,0xb8,0x7c,0x7c,0x95,0xac,0x14,0xd6,0x60,0x60,0x9c, +0x30,0x31,0x99,0x04,0x74,0xae,0x65,0x32,0x32,0x77,0x78,0xe8,0xfd,0x5c,0x02,0x9e, +0x9f,0x9e,0xbe,0xa4,0x00,0x01,0x00,0xba,0xfe,0x56,0x05,0x4a,0x04,0x7b,0x00,0x1f, +0x00,0x00,0x01,0x34,0x26,0x23,0x22,0x06,0x15,0x11,0x23,0x11,0x33,0x15,0x36,0x37, +0x36,0x33,0x32,0x17,0x16,0x15,0x11,0x14,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x27, +0x26,0x35,0x03,0xac,0x7c,0x7c,0x95,0xac,0xb9,0xb9,0x42,0x59,0x5a,0x75,0xc1,0x63, +0x63,0x26,0x26,0x69,0x31,0x46,0xb5,0x51,0x52,0x02,0x9e,0x9f,0x9e,0xbe,0xa4,0xfd, +0x87,0x04,0x60,0xae,0x65,0x32,0x32,0x77,0x78,0xe8,0xfd,0x48,0x99,0x31,0x30,0x9c, +0x60,0x60,0xd6,0x00,0x00,0x01,0x00,0xb3,0x00,0x00,0x04,0x64,0x04,0x60,0x00,0x09, +0x00,0x00,0x13,0x21,0x01,0x11,0x33,0x11,0x21,0x01,0x11,0x23,0xb3,0x01,0x10,0x01, +0xdd,0xc4,0xfe,0xf0,0xfe,0x23,0xc4,0x04,0x60,0xfc,0x79,0x03,0x87,0xfb,0xa0,0x03, +0x6c,0xfc,0x94,0x00,0x00,0x03,0x00,0x71,0xff,0xe3,0x04,0x75,0x04,0x7b,0x00,0x0e, +0x00,0x17,0x00,0x20,0x00,0x00,0x01,0x32,0x00,0x11,0x10,0x07,0x06,0x23,0x22,0x27, +0x26,0x11,0x10,0x37,0x36,0x17,0x22,0x07,0x06,0x07,0x21,0x26,0x27,0x26,0x13,0x21, +0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x02,0x73,0xf0,0x01,0x12,0x89,0x89,0xf0,0xf1, +0x88,0x89,0x89,0x88,0xf1,0x94,0x56,0x4b,0x09,0x02,0x7b,0x0a,0x4a,0x56,0xa4,0xfd, +0x91,0x11,0x3c,0x56,0x95,0x93,0x56,0x3c,0x04,0x7b,0xfe,0xc8,0xfe,0xec,0xfe,0xed, +0x9c,0x9d,0x9d,0x9c,0x01,0x13,0x01,0x14,0x9c,0x9c,0x9c,0x73,0x65,0xa4,0xa3,0x64, +0x75,0xfd,0xe0,0x7b,0x52,0x73,0x74,0x51,0x00,0x02,0x00,0x71,0x00,0x00,0x06,0x24, +0x04,0x60,0x00,0x12,0x00,0x1d,0x00,0x00,0x01,0x15,0x21,0x11,0x21,0x15,0x21,0x11, +0x21,0x15,0x21,0x20,0x27,0x26,0x11,0x10,0x37,0x36,0x21,0x17,0x23,0x22,0x07,0x06, +0x15,0x14,0x17,0x16,0x3b,0x01,0x06,0x16,0xfd,0xd4,0x02,0x15,0xfd,0xeb,0x02,0x3a, +0xfc,0xe1,0xfe,0xbb,0xa7,0xa8,0xa8,0xa7,0x01,0x45,0x2a,0x25,0xf0,0x78,0x78,0x78, +0x78,0xf0,0x25,0x04,0x60,0x9a,0xfe,0xdd,0x9b,0xfe,0x94,0x9c,0x8e,0x8f,0x01,0x14, +0x01,0x12,0x8e,0x8f,0x82,0x6c,0x6b,0xd8,0xd9,0x6c,0x6d,0x00,0x00,0x02,0x00,0x99, +0xff,0xe2,0x05,0x3e,0x04,0x7c,0x00,0x1e,0x00,0x37,0x00,0x00,0x01,0x06,0x07,0x06, +0x17,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x3d,0x01,0x33,0x15,0x14,0x17,0x16,0x33, +0x32,0x37,0x36,0x37,0x26,0x27,0x26,0x27,0x26,0x23,0x22,0x05,0x12,0x05,0x04,0x13, +0x16,0x17,0x16,0x15,0x14,0x02,0x23,0x22,0x26,0x27,0x0e,0x01,0x23,0x22,0x27,0x26, +0x37,0x36,0x37,0x36,0x01,0x8e,0x3b,0x03,0x18,0x04,0x09,0x2d,0x3c,0x4e,0x4d,0x37, +0x1e,0x9c,0x1e,0x37,0x4d,0x4b,0x3f,0x24,0x12,0x05,0x0f,0x03,0x3c,0x69,0xfe,0xf2, +0xfe,0xdd,0x5f,0x01,0xc0,0x01,0xa4,0x76,0x26,0x04,0x0e,0xae,0x93,0x67,0x8e,0x1c, +0x1c,0x8e,0x67,0x93,0x57,0x61,0x0a,0x03,0x0b,0x16,0x03,0x0c,0x60,0x14,0x70,0x42, +0xa7,0x3f,0x55,0x4f,0x2b,0xb9,0xb6,0xb6,0xb9,0x2b,0x4f,0x55,0x30,0xb6,0x4b,0x67, +0x17,0x5d,0xa0,0xa0,0x01,0x70,0x01,0x02,0xfe,0x93,0x78,0x02,0x65,0x59,0xe6,0xfe, +0xf4,0x8e,0x83,0x83,0x8e,0x86,0x95,0xd7,0x13,0xab,0x42,0x00,0x00,0x03,0x00,0x71, +0xfe,0x57,0x04,0x75,0x06,0x13,0x00,0x1d,0x00,0x26,0x00,0x2e,0x00,0x00,0x01,0x23, +0x35,0x21,0x15,0x23,0x15,0x16,0x17,0x16,0x11,0x10,0x07,0x06,0x07,0x15,0x33,0x15, +0x21,0x35,0x33,0x35,0x26,0x27,0x26,0x11,0x10,0x37,0x36,0x37,0x17,0x11,0x36,0x37, +0x36,0x35,0x34,0x27,0x26,0x01,0x11,0x06,0x07,0x06,0x10,0x17,0x16,0x02,0x14,0xf0, +0x02,0x98,0xf0,0xb2,0x6e,0x89,0x89,0x6e,0xb2,0xf0,0xfd,0x68,0xf0,0xae,0x6c,0x89, +0x89,0x6c,0xae,0xb8,0x56,0x3a,0x56,0x56,0x3a,0xfe,0xf2,0x53,0x38,0x56,0x55,0x38, +0x05,0x6f,0xa4,0xa4,0xfa,0x18,0x7e,0x9c,0xfe,0xec,0xfe,0xed,0x9c,0x7f,0x18,0xee, +0xa4,0xa4,0xef,0x19,0x7d,0x9c,0x01,0x13,0x01,0x14,0x9c,0x7c,0x19,0xa1,0xfc,0xb8, +0x1a,0x4e,0x74,0xc8,0xc7,0x74,0x4f,0xfc,0xd4,0x03,0x44,0x1a,0x4b,0x74,0xfe,0x6e, +0x74,0x4b,0x00,0x01,0x00,0x71,0xff,0xe5,0x03,0x01,0x04,0x60,0x00,0x15,0x00,0x00, +0x37,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x11,0x33,0x11,0x23,0x35,0x06,0x07, +0x06,0x23,0x22,0x27,0x26,0x27,0x71,0x1f,0x24,0x25,0x2c,0x9c,0x53,0x54,0xb9,0xb9, +0x3a,0x5d,0x5d,0x85,0x13,0x17,0x17,0x1c,0xac,0x12,0x08,0x09,0x65,0x66,0xbe,0x02, +0x4e,0xfb,0xa0,0xae,0x66,0x32,0x31,0x03,0x02,0x05,0x00,0x01,0x00,0x71,0xff,0xe5, +0x03,0x01,0x06,0x0a,0x00,0x15,0x00,0x00,0x37,0x16,0x17,0x16,0x33,0x32,0x37,0x36, +0x35,0x11,0x33,0x11,0x23,0x35,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x71,0x1f, +0x24,0x25,0x2c,0x9f,0x50,0x54,0xb9,0xb9,0x3a,0x5d,0x5d,0x85,0x13,0x17,0x17,0x1c, +0xac,0x12,0x08,0x09,0x65,0x69,0xbb,0x03,0xf8,0xf9,0xf6,0xae,0x66,0x32,0x31,0x03, +0x02,0x05,0x00,0x01,0x00,0x71,0xfe,0x56,0x03,0xe7,0x04,0x60,0x00,0x1f,0x00,0x00, +0x37,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x11,0x33,0x11,0x14,0x17,0x16,0x3b, +0x01,0x15,0x23,0x22,0x27,0x26,0x35,0x27,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27, +0x71,0x1f,0x24,0x25,0x2c,0x9c,0x53,0x54,0xb9,0x26,0x26,0x69,0x31,0x46,0xb5,0x51, +0x52,0x01,0x3a,0x5d,0x5d,0x85,0x13,0x17,0x17,0x1c,0xac,0x12,0x08,0x09,0x65,0x66, +0xbe,0x02,0x4e,0xfb,0x8c,0x99,0x31,0x30,0x9c,0x60,0x60,0xd6,0xc2,0x66,0x32,0x31, +0x03,0x02,0x05,0x00,0x00,0x01,0x00,0x71,0xfe,0x56,0x03,0x01,0x04,0x7b,0x00,0x15, +0x00,0x00,0x01,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x15,0x11,0x23,0x11,0x33,0x15, +0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x03,0x01,0x1f,0x24,0x25,0x2c,0x9c,0x53, +0x54,0xb9,0xb9,0x3a,0x5d,0x5d,0x85,0x13,0x17,0x17,0x1c,0x03,0xb4,0x12,0x08,0x09, +0x65,0x66,0xbe,0xfc,0x08,0x06,0x0a,0xae,0x66,0x32,0x31,0x03,0x02,0x05,0x00,0x01, +0x00,0x70,0xfe,0x56,0x03,0x01,0x04,0x7b,0x00,0x21,0x00,0x00,0x01,0x26,0x27,0x26, +0x23,0x22,0x07,0x06,0x15,0x11,0x23,0x15,0x14,0x17,0x16,0x3b,0x01,0x15,0x23,0x22, +0x27,0x26,0x35,0x11,0x33,0x15,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x03,0x01, +0x1f,0x24,0x25,0x2c,0x9c,0x53,0x54,0x02,0x26,0x26,0x69,0xe9,0xfe,0xb5,0x51,0x52, +0xba,0x3a,0x5d,0x5d,0x85,0x13,0x17,0x17,0x1c,0x03,0xb4,0x12,0x08,0x09,0x65,0x65, +0xbf,0xfd,0xb2,0x14,0x99,0x31,0x30,0x9c,0x60,0x60,0xd6,0x04,0x74,0xae,0x66,0x32, +0x31,0x03,0x02,0x05,0x00,0x01,0x00,0x74,0x00,0x00,0x03,0x7e,0x04,0x7b,0x00,0x12, +0x00,0x00,0x01,0x10,0x37,0x36,0x3b,0x01,0x15,0x23,0x22,0x07,0x06,0x1f,0x01,0x11, +0x33,0x15,0x21,0x35,0x33,0x01,0x28,0x9e,0x48,0x72,0xfe,0xe9,0x69,0x26,0x27,0x01, +0x01,0xa3,0xfd,0xf0,0xb4,0x02,0xe5,0x01,0x21,0x50,0x25,0x9c,0x30,0x32,0x98,0x97, +0xfe,0x56,0xa4,0xa4,0x00,0x01,0x00,0x74,0x00,0x00,0x03,0x7e,0x04,0x7b,0x00,0x12, +0x00,0x00,0x01,0x11,0x33,0x15,0x21,0x35,0x33,0x11,0x37,0x36,0x27,0x26,0x2b,0x01, +0x35,0x33,0x32,0x17,0x16,0x02,0xca,0xb4,0xfd,0xf0,0xa3,0x01,0x01,0x27,0x26,0x69, +0xe9,0xfe,0x72,0x48,0x9e,0x02,0xe5,0xfd,0xbf,0xa4,0xa4,0x01,0xaa,0x97,0x98,0x32, +0x30,0x9c,0x25,0x50,0x00,0x02,0x00,0x32,0x00,0x00,0x04,0x0f,0x04,0x60,0x00,0x16, +0x00,0x21,0x00,0x00,0x01,0x16,0x17,0x16,0x17,0x13,0x23,0x03,0x26,0x27,0x26,0x2b, +0x01,0x11,0x23,0x11,0x21,0x32,0x17,0x16,0x15,0x14,0x06,0x01,0x11,0x33,0x32,0x37, +0x36,0x35,0x34,0x27,0x26,0x23,0x02,0x8c,0x37,0x35,0x34,0x35,0xae,0xc3,0xa2,0x3f, +0x3b,0x3b,0x61,0xa9,0xb9,0x01,0x84,0xd9,0x6c,0x6b,0x70,0xfd,0xf5,0xc6,0x77,0x3f, +0x40,0x40,0x3f,0x77,0x02,0x0d,0x11,0x36,0x36,0x5e,0xfe,0xce,0x01,0x1f,0x71,0x24, +0x25,0xfe,0x27,0x04,0x60,0x50,0x51,0xa2,0x69,0x8c,0x01,0x9d,0xfe,0xaf,0x2b,0x2b, +0x53,0x54,0x2a,0x2a,0x00,0x02,0x00,0x32,0x00,0x00,0x04,0x0f,0x04,0x60,0x00,0x16, +0x00,0x21,0x00,0x00,0x01,0x1e,0x01,0x15,0x14,0x07,0x06,0x23,0x21,0x11,0x33,0x11, +0x33,0x32,0x37,0x36,0x37,0x13,0x33,0x03,0x06,0x07,0x06,0x01,0x33,0x32,0x37,0x36, +0x35,0x34,0x27,0x26,0x2b,0x01,0x02,0x8c,0x6a,0x70,0x6b,0x6c,0xd9,0xfe,0x7c,0xb9, +0xa9,0x61,0x3b,0x3b,0x3f,0xa2,0xc3,0xae,0x35,0x34,0x35,0xfe,0x28,0xc6,0x77,0x3f, +0x40,0x40,0x3f,0x77,0xc6,0x02,0x53,0x1b,0x8c,0x69,0xa2,0x51,0x50,0x04,0x60,0xfe, +0x27,0x25,0x24,0x71,0x01,0x1f,0xfe,0xce,0x5e,0x36,0x36,0xfe,0x37,0x2a,0x2a,0x54, +0x53,0x2b,0x2b,0x00,0x00,0x01,0x00,0x6f,0xfe,0x56,0x03,0xc7,0x04,0x7b,0x00,0x3c, +0x00,0x00,0x01,0x15,0x2e,0x01,0x23,0x22,0x07,0x06,0x15,0x14,0x17,0x16,0x1f,0x01, +0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x23,0x22,0x2f,0x01,0x15,0x14,0x17,0x16,0x3b, +0x01,0x15,0x23,0x22,0x27,0x26,0x3d,0x02,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x35, +0x34,0x27,0x26,0x2f,0x01,0x26,0x27,0x26,0x35,0x34,0x36,0x33,0x32,0x16,0x03,0x8b, +0x4e,0xa8,0x5a,0x89,0x44,0x45,0x31,0x31,0x94,0x3f,0xc4,0x52,0x53,0x7b,0x7c,0xd8, +0x5a,0x62,0x15,0x26,0x26,0x69,0xe9,0xfe,0xb5,0x51,0x52,0x66,0x63,0x63,0x61,0x82, +0x46,0x46,0x32,0x33,0xab,0x40,0xab,0x4c,0x4c,0xe0,0xce,0x66,0xb4,0x04,0x3f,0xae, +0x28,0x28,0x2a,0x2a,0x54,0x40,0x25,0x24,0x21,0x0e,0x2a,0x4d,0x4c,0x89,0x9c,0x5b, +0x5b,0x11,0x04,0x0c,0x99,0x31,0x30,0x9c,0x60,0x60,0xd6,0x3d,0xbe,0x35,0x1a,0x1b, +0x2d,0x2c,0x51,0x4b,0x28,0x28,0x25,0x0f,0x24,0x4a,0x4b,0x82,0x9e,0xac,0x1e,0x00, +0x00,0x01,0xff,0xdb,0xfe,0x56,0x02,0xd7,0x06,0x14,0x00,0x18,0x00,0x00,0x17,0x02, +0x03,0x34,0x37,0x36,0x3b,0x01,0x15,0x23,0x22,0x07,0x06,0x15,0x13,0x14,0x07,0x06, +0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0xc1,0x01,0x02,0x57,0x51,0xc3,0xae,0xb0,0x63, +0x26,0x27,0x02,0x51,0x52,0xb5,0x46,0x31,0x69,0x26,0x26,0x14,0x02,0x70,0x02,0x52, +0xb5,0x5b,0x56,0x99,0x28,0x28,0x68,0xfb,0x29,0xd6,0x60,0x60,0x9c,0x30,0x31,0x00, +0x00,0x01,0x00,0x37,0xfe,0x56,0x03,0x36,0x06,0x14,0x00,0x22,0x00,0x00,0x01,0x03, +0x14,0x06,0x2b,0x01,0x35,0x33,0x32,0x3f,0x01,0x36,0x35,0x11,0x23,0x35,0x33,0x11, +0x23,0x35,0x33,0x35,0x34,0x36,0x3b,0x01,0x15,0x23,0x22,0x07,0x06,0x15,0x11,0x33, +0x15,0x01,0xd6,0x01,0xa3,0xb5,0x46,0x31,0x69,0x26,0x0e,0x18,0xb5,0xb5,0xb0,0xb0, +0xae,0xbd,0xae,0xb0,0x63,0x27,0x26,0xa2,0x01,0xc4,0xfe,0x28,0xd6,0xc0,0x9c,0x30, +0x18,0x38,0x7a,0x01,0xd8,0xa4,0x01,0x69,0x8f,0x4e,0xbb,0xab,0x99,0x28,0x29,0x67, +0xfd,0xa5,0xa4,0x00,0x00,0x01,0x00,0x37,0xfe,0x56,0x03,0x33,0x04,0x65,0x00,0x18, +0x00,0x00,0x05,0x14,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x26,0x37,0x13,0x34, +0x27,0x26,0x2b,0x01,0x35,0x33,0x32,0x17,0x16,0x07,0x06,0x02,0x4d,0x26,0x26,0x69, +0x31,0x46,0xb5,0x52,0x52,0x01,0x02,0x27,0x26,0x63,0xb0,0xae,0xc3,0x51,0x5d,0x06, +0x03,0x14,0x99,0x31,0x30,0x9c,0x60,0x61,0xd5,0x03,0x28,0x68,0x28,0x28,0x99,0x56, +0x61,0xaf,0x59,0x00,0x00,0x02,0xfe,0xf2,0xfe,0x56,0x02,0xd7,0x06,0x14,0x00,0x08, +0x00,0x21,0x00,0x00,0x17,0x23,0x22,0x17,0x16,0x33,0x32,0x37,0x36,0x37,0x33,0x15, +0x23,0x06,0x07,0x06,0x23,0x20,0x35,0x34,0x21,0x33,0x11,0x34,0x37,0x36,0x3b,0x01, +0x15,0x23,0x22,0x07,0x06,0x15,0xb4,0xb3,0x77,0x03,0x03,0x7c,0x6e,0x21,0x12,0xcc, +0xb5,0xbf,0x12,0x35,0x52,0xb5,0xfe,0xd1,0x01,0x0e,0xbe,0x57,0x51,0xc3,0xae,0xb0, +0x64,0x25,0x27,0x9a,0x33,0x41,0x30,0x17,0xc7,0x9b,0x6f,0x40,0x60,0xd8,0xd2,0x04, +0xae,0xb4,0x5c,0x56,0x99,0x28,0x29,0x67,0x00,0x01,0x00,0x37,0xfe,0xc2,0x02,0xf2, +0x04,0x60,0x00,0x15,0x00,0x00,0x01,0x11,0x21,0x35,0x21,0x11,0x34,0x27,0x26,0x2b, +0x01,0x35,0x33,0x32,0x17,0x16,0x15,0x11,0x33,0x15,0x23,0x11,0x01,0xb2,0xfe,0x85, +0x01,0x7b,0x26,0x25,0x73,0xbd,0xbd,0xd5,0x51,0x51,0x87,0x87,0xfe,0xc2,0x01,0x3e, +0x8f,0x02,0x60,0x89,0x27,0x27,0x9a,0x50,0x4f,0xd2,0xfd,0xa0,0x8f,0xfe,0xc2,0x00, +0x00,0x01,0x00,0x37,0xfe,0x57,0x02,0xf2,0x05,0x9e,0x00,0x14,0x00,0x00,0x01,0x11, +0x21,0x15,0x21,0x11,0x14,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x26,0x35,0x11,0x23, +0x35,0x33,0x11,0x01,0x77,0x01,0x7b,0xfe,0x85,0x25,0x26,0x73,0xbd,0xbd,0xd5,0xa2, +0x87,0x87,0x05,0x9e,0xfe,0xc2,0x8f,0xfb,0xf7,0x89,0x27,0x27,0x9a,0x9e,0xd3,0x04, +0x09,0x8f,0x01,0x3e,0x00,0x02,0x00,0x00,0xff,0xe3,0x05,0x12,0x04,0x60,0x00,0x17, +0x00,0x21,0x00,0x00,0x11,0x35,0x33,0x11,0x33,0x11,0x21,0x11,0x33,0x11,0x33,0x15, +0x23,0x11,0x23,0x35,0x06,0x07,0x06,0x23,0x22,0x26,0x3d,0x01,0x29,0x01,0x15,0x14, +0x17,0x16,0x33,0x32,0x37,0x36,0xae,0xb8,0x02,0x3a,0xb8,0xba,0xba,0xb8,0x43,0x59, +0x58,0x75,0xc1,0xc8,0x02,0xf1,0xfd,0xc7,0x3e,0x3e,0x7c,0x95,0x57,0x4d,0x01,0xc4, +0xa4,0x01,0xf8,0xfe,0x08,0x01,0xf8,0xfe,0x08,0xa4,0xfe,0x3c,0xac,0x66,0x32,0x31, +0xf0,0xe7,0x0a,0x03,0x9f,0x50,0x4f,0x5f,0x55,0x00,0x00,0x01,0x00,0x71,0xff,0xe2, +0x04,0x84,0x04,0x60,0x00,0x23,0x00,0x00,0x13,0x35,0x21,0x15,0x06,0x07,0x06,0x15, +0x14,0x16,0x20,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x35,0x21,0x15,0x23,0x16,0x17, +0x16,0x15,0x14,0x00,0x20,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x71,0x01,0xba,0x6d, +0x3f,0x42,0xb0,0x01,0x20,0x58,0x58,0x42,0x47,0x64,0x01,0xb4,0xec,0x72,0x38,0x36, +0xfe,0xe4,0xfe,0x3e,0x8e,0x8e,0x34,0x35,0x77,0x03,0xbc,0xa4,0xdc,0x45,0x69,0x6f, +0x87,0x9f,0xc2,0x61,0x62,0x9e,0x92,0x64,0x6f,0x3f,0xdc,0xa4,0x64,0x71,0x6e,0x88, +0xeb,0xfe,0xdc,0x91,0x92,0xe4,0x93,0x6b,0x6d,0x68,0x00,0x01,0x00,0xc1,0x00,0x00, +0x04,0x5c,0x04,0x60,0x00,0x1f,0x00,0x00,0x01,0x21,0x31,0x16,0x17,0x16,0x15,0x14, +0x00,0x2b,0x01,0x22,0x27,0x26,0x35,0x11,0x33,0x11,0x14,0x17,0x16,0x3f,0x01,0x32, +0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x02,0x3a,0x01,0x42,0x72,0x38,0x36,0xfe, +0xe4,0xe1,0x46,0xb5,0x52,0x51,0xb8,0x26,0x28,0x67,0x33,0x90,0x58,0x58,0x42,0x4f, +0x5c,0x4c,0x03,0xda,0x64,0x71,0x6e,0x88,0xeb,0xfe,0xdc,0x60,0x60,0xd6,0x02,0xca, +0xfd,0x36,0x99,0x31,0x32,0x02,0x01,0x61,0x62,0x9e,0x92,0x64,0x77,0x37,0x2c,0x00, +0x00,0x01,0x00,0x3d,0x00,0x00,0x04,0x7f,0x04,0x60,0x00,0x06,0x00,0x00,0x21,0x23, +0x09,0x01,0x23,0x01,0x33,0x04,0x7f,0xc3,0xfe,0xa2,0xfe,0xa2,0xc3,0x01,0xa4,0xfa, +0x03,0xac,0xfc,0x54,0x04,0x60,0x00,0x01,0x00,0x56,0x00,0x00,0x06,0x35,0x04,0x60, +0x00,0x0c,0x00,0x00,0x21,0x23,0x0b,0x01,0x23,0x0b,0x01,0x23,0x01,0x33,0x1b,0x01, +0x33,0x06,0x35,0xb8,0xe6,0xe5,0xd9,0xe6,0xe5,0xb8,0x01,0x25,0xd9,0xf1,0xf2,0xd9, +0x03,0x6a,0xfc,0x96,0x03,0x6a,0xfc,0x96,0x04,0x60,0xfc,0x6a,0x03,0x96,0x00,0x01, +0x00,0x3d,0x00,0x00,0x04,0x7f,0x06,0x0a,0x00,0x0f,0x00,0x00,0x01,0x3e,0x01,0x3b, +0x01,0x15,0x23,0x22,0x06,0x0f,0x01,0x01,0x23,0x09,0x01,0x23,0x02,0x29,0x4e,0x94, +0x7c,0x93,0x6c,0x4c,0x54,0x33,0x21,0x01,0xc5,0xc3,0xfe,0xa2,0xfe,0xa2,0xc3,0x04, +0xc8,0xc8,0x7a,0x9a,0x48,0x86,0x54,0xfb,0xb2,0x03,0x6c,0xfc,0x94,0x00,0x00,0x01, +0x00,0x66,0x00,0x00,0x04,0x6b,0x04,0x60,0x00,0x08,0x00,0x00,0x13,0x33,0x09,0x01, +0x33,0x01,0x11,0x23,0x11,0x66,0xd9,0x01,0x25,0x01,0x2e,0xd9,0xfe,0x5d,0xcb,0x04, +0x60,0xfe,0x38,0x01,0xc8,0xfd,0x90,0xfe,0x10,0x01,0xf0,0x00,0x00,0x01,0x00,0x58, +0xfe,0x56,0x04,0xbf,0x04,0x60,0x00,0x17,0x00,0x00,0x13,0x21,0x15,0x01,0x21,0x15, +0x23,0x15,0x14,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x26,0x3d,0x01,0x21,0x35, +0x01,0x21,0x71,0x03,0x6a,0xfd,0x4c,0x02,0xb4,0x02,0x26,0x26,0x69,0x31,0x46,0xb5, +0x51,0x52,0xfd,0x37,0x02,0xb4,0xfd,0x65,0x04,0x60,0xa8,0xfc,0xdb,0x93,0x14,0x99, +0x31,0x30,0x9c,0x60,0x60,0xd6,0x14,0xa8,0x03,0x25,0x00,0x02,0x00,0x58,0xff,0x91, +0x03,0xdb,0x04,0x60,0x00,0x14,0x00,0x1b,0x00,0x00,0x21,0x06,0x15,0x23,0x34,0x37, +0x21,0x35,0x01,0x21,0x35,0x21,0x15,0x01,0x33,0x12,0x33,0x32,0x17,0x16,0x21,0x27, +0x33,0x32,0x35,0x34,0x23,0x06,0x02,0x5b,0x03,0x99,0x03,0xfe,0x96,0x02,0xb4,0xfd, +0x65,0x03,0x6a,0xfd,0x4c,0xaf,0x3c,0xdb,0xe3,0x01,0x01,0xfe,0xb2,0x14,0x14,0xae, +0x46,0x58,0x33,0x3c,0x3b,0x34,0xa8,0x03,0x25,0x93,0xa8,0xfc,0xdb,0x01,0x20,0xf6, +0xbd,0x93,0x36,0x5b,0x02,0x00,0x00,0x01,0x00,0x58,0xfe,0x4c,0x04,0x2f,0x04,0x60, +0x00,0x20,0x00,0x00,0x01,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x04,0x21,0x22,0x27, +0x26,0x27,0x35,0x1e,0x01,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x2b,0x01,0x35, +0x01,0x21,0x35,0x21,0x15,0x02,0x3c,0x6a,0x80,0x62,0x56,0x51,0xfe,0xd0,0xfe,0xe8, +0x5e,0x63,0x64,0x6a,0x54,0xc8,0x6d,0xbe,0x63,0x64,0x5c,0x5d,0xa5,0xae,0x01,0xae, +0xfd,0x65,0x03,0x6a,0x01,0xdc,0x38,0x2a,0x6d,0x68,0x8a,0xdd,0xf2,0x12,0x13,0x25, +0xc3,0x31,0x32,0x4b,0x4b,0x8f,0x84,0x4b,0x4a,0xa6,0x01,0xf3,0x93,0xa8,0x00,0x02, +0x00,0x6d,0xfe,0x4c,0x04,0x6c,0x04,0x60,0x00,0x23,0x00,0x2c,0x00,0x00,0x01,0x20, +0x37,0x36,0x05,0x16,0x17,0x36,0x35,0x34,0x27,0x26,0x2b,0x01,0x35,0x01,0x21,0x35, +0x21,0x15,0x01,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x16,0x15,0x23,0x34,0x27, +0x07,0x06,0x37,0x26,0x23,0x22,0x07,0x14,0x33,0x32,0x37,0x01,0xe7,0xfe,0xb1,0x02, +0x02,0x01,0x2a,0xf6,0x9e,0x0c,0x5c,0x5e,0xa4,0xae,0x01,0xae,0xfd,0x65,0x03,0x6a, +0xfe,0x65,0x69,0x81,0x64,0x54,0x51,0x27,0x64,0x99,0x28,0x14,0x97,0x09,0x7d,0xc5, +0x83,0x01,0x9e,0xbe,0x63,0xfe,0x4c,0xbd,0xfb,0x05,0x04,0x3b,0x2a,0x31,0x85,0x4a, +0x4a,0xa6,0x01,0xf3,0x93,0xa8,0xfe,0x24,0x38,0x2b,0x6c,0x67,0x8b,0x71,0x55,0x65, +0xa4,0x52,0x38,0x11,0x79,0xfa,0x2a,0x4b,0x2f,0x4b,0x00,0x01,0x00,0x58,0x00,0x00, +0x03,0xa5,0x06,0x12,0x00,0x1c,0x00,0x00,0x01,0x33,0x32,0x37,0x36,0x35,0x26,0x27, +0x26,0x23,0x22,0x07,0x06,0x07,0x35,0x36,0x37,0x36,0x33,0x20,0x17,0x16,0x15,0x14, +0x07,0x06,0x07,0x11,0x23,0x01,0x54,0x3f,0xc0,0x56,0x3a,0x01,0x39,0x63,0xb3,0x50, +0x4f,0x4e,0x4e,0x4c,0x51,0x51,0x55,0x01,0x13,0x8a,0x6d,0x6c,0x70,0xaa,0xca,0x03, +0x1e,0x72,0x4c,0x62,0x85,0x41,0x72,0x16,0x15,0x2b,0xac,0x23,0x11,0x12,0x9d,0x7d, +0xba,0xaa,0x73,0x77,0x1e,0xfd,0x74,0x00,0x00,0x01,0x00,0x58,0x00,0x00,0x03,0xa5, +0x06,0x12,0x00,0x1c,0x00,0x00,0x01,0x11,0x23,0x11,0x26,0x27,0x26,0x35,0x34,0x37, +0x36,0x21,0x32,0x17,0x16,0x17,0x15,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x07,0x14, +0x17,0x16,0x33,0x02,0xa8,0xca,0xaa,0x70,0x6c,0x6e,0x89,0x01,0x13,0x55,0x51,0x51, +0x4c,0x4e,0x4f,0x4e,0x50,0xb3,0x63,0x39,0x01,0x3a,0x56,0xc0,0x03,0x1e,0xfc,0xe2, +0x02,0x8c,0x1e,0x77,0x73,0xaa,0xba,0x7d,0x9d,0x12,0x11,0x23,0xac,0x2b,0x15,0x16, +0x72,0x41,0x85,0x62,0x4c,0x72,0x00,0x01,0x00,0x58,0x00,0x00,0x03,0xa5,0x06,0x12, +0x00,0x1c,0x00,0x00,0x01,0x13,0x33,0x11,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x21, +0x22,0x27,0x26,0x27,0x35,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x37,0x34,0x27,0x26, +0x23,0x01,0x54,0x01,0xca,0xaa,0x70,0x6c,0x6d,0x8a,0xfe,0xed,0x55,0x51,0x51,0x4c, +0x4e,0x4e,0x4f,0x50,0xb3,0x63,0x39,0x01,0x3a,0x56,0xc0,0x02,0xf4,0x03,0x1e,0xfd, +0x74,0x1e,0x77,0x73,0xaa,0xba,0x7d,0x9d,0x12,0x11,0x23,0xac,0x2b,0x15,0x16,0x72, +0x41,0x85,0x62,0x4c,0x72,0x00,0x00,0x01,0x00,0x58,0xfe,0x4c,0x03,0xa5,0x06,0x14, +0x00,0x23,0x00,0x00,0x13,0x34,0x37,0x36,0x21,0x32,0x17,0x16,0x17,0x15,0x26,0x27, +0x26,0x23,0x22,0x07,0x06,0x07,0x11,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x37,0x15, +0x06,0x07,0x06,0x23,0x20,0x27,0x26,0x35,0x58,0x6e,0x89,0x01,0x13,0x55,0x51,0x51, +0x4c,0x4e,0x4f,0x4e,0x50,0xb3,0x63,0x39,0x01,0x01,0x39,0x63,0xb3,0x50,0x4e,0x4f, +0x4e,0x4c,0x51,0x51,0x55,0xfe,0xed,0x89,0x6e,0x04,0x40,0xba,0x7d,0x9d,0x12,0x11, +0x23,0xac,0x2b,0x15,0x16,0x72,0x41,0x85,0xfb,0xe0,0x85,0x41,0x72,0x16,0x15,0x2b, +0xac,0x23,0x11,0x12,0x9d,0x7d,0xba,0x00,0x00,0x03,0x00,0x5e,0x00,0x2d,0x04,0x74, +0x04,0x42,0x00,0x0d,0x00,0x1b,0x00,0x29,0x00,0x00,0x01,0x14,0x17,0x16,0x20,0x36, +0x35,0x34,0x27,0x26,0x23,0x22,0x07,0x06,0x07,0x34,0x37,0x36,0x33,0x32,0x17,0x16, +0x15,0x14,0x00,0x20,0x27,0x26,0x25,0x34,0x37,0x36,0x33,0x32,0x17,0x16,0x15,0x14, +0x06,0x22,0x27,0x26,0x01,0x14,0x66,0x64,0x01,0x1a,0xc6,0x64,0x66,0x8a,0x8c,0x64, +0x66,0xb5,0x9a,0x9a,0xd8,0xd4,0x9a,0x9a,0xfe,0xd1,0xfe,0x4f,0x9a,0x9a,0x01,0x99, +0x22,0x20,0x30,0x2e,0x22,0x20,0x42,0x5e,0x20,0x22,0x02,0x36,0x8d,0x63,0x63,0xc6, +0x8d,0x8a,0x66,0x66,0x66,0x66,0x8b,0xd4,0x9c,0x9d,0x9d,0x9c,0xd4,0xd8,0xfe,0xd0, +0x98,0x98,0xda,0x2e,0x22,0x22,0x22,0x22,0x2e,0x2f,0x42,0x21,0x21,0x00,0xff,0xff, +0x00,0xba,0x00,0x00,0x04,0x3e,0x04,0x60,0x10,0x06,0x03,0xaa,0x00,0x00,0x00,0x02, +0x00,0x71,0xff,0xd5,0x05,0x09,0x04,0x79,0x00,0x15,0x00,0x2b,0x00,0x00,0x01,0x22, +0x07,0x06,0x14,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x07,0x06,0x15,0x14,0x17,0x16, +0x33,0x24,0x13,0x02,0x27,0x04,0x11,0x10,0x05,0x06,0x27,0x22,0x27,0x26,0x35,0x34, +0x36,0x37,0x2e,0x01,0x35,0x34,0x37,0x36,0x33,0x32,0x02,0x75,0x9a,0x4c,0x55,0x4f, +0x2b,0xb9,0xb6,0xb6,0xb9,0x2b,0x4f,0x55,0x49,0x9d,0x01,0xc4,0x01,0x01,0x9f,0x01, +0x6f,0xfe,0x91,0x73,0xc4,0xe6,0x86,0x86,0x8e,0x83,0x83,0x8e,0x86,0x86,0xe6,0xc8, +0x03,0xd8,0x36,0x3d,0x9a,0x37,0x1e,0x9d,0x1e,0x36,0x4e,0x4a,0x40,0x36,0x01,0x01, +0xbe,0x01,0xa2,0x73,0x97,0xfe,0x78,0xfe,0xa8,0xc2,0x3e,0x02,0x57,0x56,0x94,0x67, +0x8e,0x1c,0x1b,0x8e,0x67,0x94,0x57,0x56,0x00,0x01,0x00,0x71,0x00,0x00,0x05,0xd1, +0x06,0x12,0x00,0x30,0x00,0x00,0x25,0x11,0x23,0x35,0x21,0x11,0x06,0x07,0x06,0x23, +0x22,0x27,0x26,0x11,0x10,0x37,0x36,0x21,0x32,0x17,0x16,0x17,0x35,0x34,0x37,0x36, +0x3b,0x01,0x15,0x23,0x22,0x07,0x06,0x1d,0x01,0x23,0x15,0x26,0x27,0x26,0x23,0x22, +0x07,0x06,0x10,0x17,0x16,0x33,0x32,0x03,0xa9,0x9b,0x01,0x41,0x48,0x57,0x4e,0xca, +0xfe,0x94,0x95,0x97,0x96,0x01,0x06,0x3e,0x68,0x20,0x11,0x52,0x51,0xb5,0xfe,0xe9, +0x6a,0x25,0x26,0x02,0x79,0x6e,0x55,0x49,0xb3,0x63,0x63,0x63,0x63,0xb3,0xaf,0xb2, +0x01,0x1a,0x8c,0xfd,0xf0,0x22,0x14,0x12,0x9f,0xa0,0x01,0x0d,0x01,0x12,0x9d,0x9d, +0x12,0x06,0x05,0x01,0xd7,0x5f,0x60,0x9c,0x30,0x32,0x98,0x94,0x6a,0x4d,0x1b,0x16, +0x72,0x70,0xfe,0x64,0x70,0x72,0xff,0xff,0x00,0xc1,0x00,0x00,0x04,0x88,0x04,0x60, +0x10,0x06,0x03,0xb5,0x00,0x00,0x00,0x03,0xfe,0xf2,0xfe,0x56,0x02,0x2e,0x06,0x14, +0x00,0x03,0x00,0x12,0x00,0x1b,0x00,0x00,0x13,0x33,0x15,0x23,0x03,0x20,0x35,0x34, +0x21,0x33,0x11,0x33,0x11,0x33,0x15,0x23,0x06,0x07,0x06,0x03,0x23,0x22,0x17,0x16, +0x33,0x32,0x37,0x36,0xc1,0xb8,0xb8,0xa0,0xfe,0xd1,0x01,0x0e,0xc1,0xb8,0xb5,0xbf, +0x12,0x35,0x52,0x20,0xb5,0x77,0x03,0x04,0x7b,0x69,0x26,0x12,0x06,0x14,0xe9,0xf9, +0x2b,0xdd,0xcd,0x04,0x60,0xfb,0xa0,0x9b,0x70,0x3f,0x60,0x01,0x10,0x33,0x41,0x30, +0x17,0x00,0x00,0x01,0x00,0xba,0xfe,0x4c,0x04,0x9c,0x04,0x60,0x00,0x0a,0x00,0x00, +0x01,0x23,0x11,0x01,0x23,0x09,0x01,0x33,0x01,0x11,0x33,0x04,0x9c,0xb9,0xfd,0xdb, +0xeb,0x02,0x52,0xfd,0x95,0xf0,0x02,0x39,0xb9,0xfe,0x4c,0x03,0x97,0xfe,0x1d,0x02, +0x0c,0x02,0x54,0xfd,0xdd,0x02,0x23,0x00,0x00,0x01,0x00,0xb3,0x00,0x00,0x03,0xfc, +0x04,0x60,0x00,0x05,0x00,0x00,0x13,0x33,0x11,0x21,0x15,0x21,0xb3,0xca,0x02,0x7f, +0xfc,0xb7,0x04,0x60,0xfc,0x4a,0xaa,0x00,0x00,0x02,0x00,0x71,0xfe,0x56,0x05,0xf8, +0x06,0x12,0x00,0x21,0x00,0x2d,0x00,0x00,0x25,0x06,0x07,0x06,0x23,0x22,0x27,0x26, +0x10,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x3d,0x02,0x34,0x37,0x36,0x3b,0x01,0x15, +0x23,0x22,0x07,0x06,0x1d,0x02,0x11,0x23,0x00,0x10,0x17,0x16,0x20,0x37,0x36,0x10, +0x27,0x26,0x20,0x07,0x03,0xa2,0x3a,0x58,0x59,0x7c,0xcb,0x80,0x7f,0x7f,0x80,0xcb, +0x7c,0x59,0x58,0x3a,0x52,0x51,0xb5,0xfe,0xe9,0x69,0x26,0x26,0xb8,0xfd,0x8d,0x53, +0x54,0x01,0x24,0x54,0x54,0x54,0x54,0xfe,0xdc,0x54,0xa8,0x64,0x30,0x31,0xa2,0xa2, +0x02,0x10,0xa2,0xa2,0x31,0x30,0x64,0x32,0x78,0x1c,0xd6,0x60,0x60,0x9c,0x30,0x31, +0x99,0x1c,0x78,0xfa,0x6e,0x04,0xa4,0xfe,0x6a,0x74,0x73,0x73,0x74,0x01,0x96,0x74, +0x73,0x73,0x00,0x01,0x00,0x58,0x00,0x00,0x03,0xa5,0x06,0x12,0x00,0x24,0x00,0x00, +0x01,0x33,0x32,0x37,0x36,0x35,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x07,0x35,0x36, +0x37,0x36,0x33,0x20,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x15,0x33,0x15,0x23,0x11, +0x23,0x11,0x23,0x35,0x33,0x01,0x54,0x3f,0xc0,0x56,0x3a,0x01,0x39,0x63,0xb3,0x50, +0x4f,0x4e,0x4e,0x4c,0x51,0x51,0x55,0x01,0x13,0x8a,0x6d,0x6c,0x70,0xaa,0xe7,0xe7, +0xca,0xe5,0xe4,0x03,0x1e,0x72,0x4c,0x62,0x85,0x41,0x72,0x16,0x15,0x2b,0xac,0x23, +0x11,0x12,0x9d,0x7d,0xba,0xaa,0x73,0x77,0x1e,0xd4,0xa4,0xfe,0xec,0x01,0x14,0xa4, +0x00,0x01,0x00,0x58,0x00,0x00,0x03,0xa5,0x06,0x12,0x00,0x24,0x00,0x00,0x01,0x35, +0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x21,0x32,0x17,0x16,0x17,0x15,0x26,0x27,0x26, +0x23,0x22,0x07,0x06,0x07,0x14,0x17,0x16,0x3b,0x01,0x11,0x33,0x15,0x23,0x11,0x23, +0x11,0x23,0x35,0x01,0xde,0xaa,0x70,0x6c,0x6e,0x89,0x01,0x13,0x55,0x51,0x51,0x4c, +0x4e,0x4f,0x4e,0x50,0xb3,0x63,0x39,0x01,0x3a,0x56,0xc0,0x3e,0xe5,0xe5,0xca,0xe7, +0x01,0xb8,0xd4,0x1e,0x77,0x73,0xaa,0xba,0x7d,0x9d,0x12,0x11,0x23,0xac,0x2b,0x15, +0x16,0x72,0x41,0x85,0x62,0x4c,0x72,0xfe,0x9a,0xa4,0xfe,0xec,0x01,0x14,0xa4,0x00, +0x00,0x03,0x00,0x71,0xff,0xe3,0x07,0xc3,0x06,0x14,0x00,0x0b,0x00,0x26,0x00,0x29, +0x00,0x00,0x00,0x10,0x17,0x16,0x20,0x37,0x36,0x10,0x27,0x26,0x20,0x07,0x25,0x11, +0x33,0x11,0x21,0x15,0x01,0x21,0x15,0x21,0x2b,0x01,0x35,0x06,0x07,0x06,0x23,0x22, +0x27,0x26,0x10,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x11,0x01,0x01,0x2f,0x53,0x54, +0x01,0x24,0x54,0x54,0x54,0x54,0xfe,0xdc,0x54,0x02,0x20,0xb8,0x03,0x69,0xfd,0x4c, +0x02,0xb4,0xfc,0x97,0x1a,0x9e,0x3a,0x58,0x59,0x7c,0xcb,0x80,0x7f,0x7f,0x80,0xcb, +0x7c,0x59,0x58,0xf2,0x02,0x9a,0x02,0xfa,0xfe,0x6a,0x74,0x73,0x73,0x74,0x01,0x96, +0x74,0x73,0x73,0x48,0x02,0x5e,0xfe,0x4c,0xa8,0xfc,0xdb,0x93,0xa8,0x64,0x30,0x31, +0xa2,0xa2,0x02,0x10,0xa2,0xa2,0x31,0x30,0x4d,0xfc,0xf9,0x03,0x07,0x00,0x00,0x02, +0x00,0x71,0xfe,0x4c,0x08,0x1c,0x06,0x14,0x00,0x30,0x00,0x38,0x00,0x00,0x01,0x11, +0x23,0x35,0x0e,0x01,0x23,0x22,0x02,0x10,0x00,0x33,0x32,0x16,0x17,0x11,0x33,0x11, +0x21,0x15,0x01,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x04,0x21,0x22,0x27,0x26,0x27, +0x35,0x1e,0x01,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x2b,0x01,0x35,0x01,0x04, +0x10,0x16,0x20,0x36,0x10,0x26,0x20,0x04,0x5a,0xb8,0x3a,0xb1,0x7c,0xcb,0xff,0x00, +0xff,0xcb,0x7c,0xb1,0x3a,0xb8,0x03,0x6a,0xfe,0x65,0x6a,0x80,0x62,0x56,0x51,0xfe, +0xd0,0xfe,0xe8,0x5e,0x63,0x64,0x6a,0x54,0xc8,0x6d,0xbe,0x63,0x64,0x5c,0x5d,0xa5, +0xae,0x01,0xae,0xfa,0x3a,0xa7,0x01,0x24,0xa8,0xa8,0xfe,0xdc,0x03,0xcd,0xfc,0x33, +0xa8,0x64,0x61,0x01,0x44,0x02,0x10,0x01,0x44,0x61,0x64,0x02,0x5e,0xfe,0x4c,0xa8, +0xfe,0x24,0x38,0x2a,0x6d,0x68,0x8a,0xdd,0xf2,0x12,0x13,0x25,0xc3,0x31,0x32,0x4b, +0x4b,0x8f,0x84,0x4b,0x4a,0xa6,0x01,0xf3,0xd3,0xfe,0x6a,0xe7,0xe7,0x01,0x96,0xe7, +0x00,0x04,0x00,0x71,0xff,0x91,0x07,0xc2,0x06,0x14,0x00,0x07,0x00,0x0a,0x00,0x2b, +0x00,0x32,0x00,0x00,0x00,0x10,0x16,0x20,0x36,0x10,0x26,0x20,0x05,0x11,0x01,0x25, +0x21,0x15,0x01,0x33,0x12,0x33,0x32,0x17,0x16,0x21,0x23,0x06,0x15,0x23,0x34,0x37, +0x21,0x23,0x35,0x0e,0x01,0x23,0x22,0x02,0x10,0x00,0x33,0x32,0x16,0x17,0x11,0x33, +0x01,0x33,0x32,0x35,0x34,0x23,0x06,0x01,0x2f,0xa7,0x01,0x24,0xa8,0xa8,0xfe,0xdc, +0x02,0x84,0x02,0x99,0xfd,0x67,0x03,0x68,0xfd,0x4c,0xaf,0x3c,0xdb,0xe3,0x01,0x01, +0xfe,0xb2,0x29,0x03,0x99,0x03,0xfe,0x96,0x9d,0x3a,0xb1,0x7c,0xcb,0xff,0x00,0xff, +0xcb,0x7c,0xb1,0x3a,0xb8,0x01,0xfd,0x14,0xae,0x46,0x58,0x02,0xfa,0xfe,0x6a,0xe7, +0xe7,0x01,0x96,0xe7,0x14,0xfc,0xfa,0x03,0x06,0x93,0xa8,0xfc,0xdb,0x01,0x20,0xf6, +0xbd,0x33,0x3c,0x3b,0x34,0xa8,0x64,0x61,0x01,0x44,0x02,0x10,0x01,0x44,0x61,0x64, +0x02,0x5e,0xfa,0x7f,0x36,0x5b,0x02,0x00,0x00,0x01,0x00,0x37,0xff,0xe3,0x06,0x40, +0x05,0x9e,0x00,0x3f,0x00,0x00,0x01,0x15,0x2e,0x01,0x23,0x22,0x06,0x15,0x14,0x17, +0x16,0x1f,0x01,0x16,0x17,0x16,0x15,0x14,0x06,0x23,0x22,0x27,0x26,0x27,0x15,0x23, +0x22,0x26,0x35,0x11,0x23,0x35,0x33,0x11,0x33,0x11,0x21,0x15,0x21,0x11,0x14,0x16, +0x3b,0x01,0x35,0x1e,0x01,0x33,0x32,0x36,0x35,0x34,0x27,0x26,0x2f,0x01,0x2e,0x01, +0x35,0x34,0x36,0x33,0x32,0x16,0x06,0x04,0x4e,0xa8,0x5a,0x89,0x89,0x31,0x31,0x94, +0x3f,0xc6,0x51,0x52,0xf7,0xd8,0x5a,0x61,0x5d,0x67,0xbd,0xd5,0xa2,0x87,0x87,0xb9, +0x01,0x7b,0xfe,0x85,0x4b,0x73,0xb3,0x66,0xc6,0x61,0x82,0x8c,0x33,0x2c,0xb1,0x40, +0xab,0x98,0xe0,0xce,0x66,0xb4,0x04,0x3f,0xae,0x28,0x28,0x54,0x54,0x40,0x25,0x24, +0x21,0x0e,0x2c,0x4b,0x4c,0x89,0x9c,0xb6,0x11,0x11,0x21,0x26,0x9f,0xd2,0x02,0x60, +0x8f,0x01,0x3e,0xfe,0xc2,0x8f,0xfd,0xa0,0x89,0x4e,0x4d,0x35,0x35,0x59,0x51,0x4b, +0x28,0x24,0x29,0x0f,0x24,0x95,0x82,0x9e,0xac,0x1e,0x00,0x02,0x00,0x37,0xfe,0x56, +0x05,0x08,0x06,0x14,0x00,0x25,0x00,0x2d,0x00,0x00,0x01,0x11,0x21,0x34,0x35,0x34, +0x37,0x36,0x3b,0x01,0x15,0x23,0x22,0x07,0x06,0x15,0x13,0x14,0x07,0x06,0x2b,0x01, +0x35,0x33,0x32,0x37,0x36,0x3d,0x01,0x23,0x22,0x26,0x35,0x11,0x23,0x35,0x33,0x11, +0x01,0x02,0x11,0x21,0x11,0x14,0x16,0x33,0x01,0x77,0x01,0x78,0x57,0x51,0xc3,0xae, +0xb0,0x63,0x26,0x27,0x02,0x51,0x52,0xb5,0x46,0x31,0x69,0x26,0x26,0xbd,0xd5,0xa2, +0x87,0x87,0x02,0x33,0x02,0xfe,0x88,0x4b,0x73,0x05,0x9e,0xfe,0xc2,0x27,0x27,0xb5, +0x5b,0x56,0x99,0x28,0x28,0x68,0xfb,0x29,0xd6,0x60,0x60,0x9c,0x30,0x31,0x99,0x14, +0x9f,0xd2,0x02,0x60,0x8f,0x01,0x3e,0xfa,0xfc,0x01,0xa2,0x01,0x95,0xfd,0xa0,0x89, +0x4e,0x00,0x00,0x03,0x00,0x37,0xff,0x70,0x05,0xca,0x05,0x9e,0x00,0x2c,0x00,0x38, +0x00,0x42,0x00,0x00,0x01,0x11,0x21,0x15,0x36,0x21,0x32,0x17,0x16,0x17,0x15,0x26, +0x27,0x26,0x23,0x22,0x07,0x06,0x10,0x1f,0x01,0x36,0x33,0x20,0x17,0x14,0x07,0x06, +0x23,0x22,0x27,0x06,0x15,0x07,0x34,0x37,0x21,0x22,0x26,0x35,0x11,0x23,0x35,0x33, +0x11,0x01,0x16,0x33,0x32,0x37,0x36,0x27,0x26,0x23,0x22,0x07,0x06,0x05,0x26,0x35, +0x10,0x37,0x21,0x11,0x14,0x16,0x33,0x01,0x77,0x01,0x7b,0x95,0x00,0xff,0x55,0x51, +0x51,0x4c,0x4e,0x4f,0x4e,0x50,0xb3,0x63,0x63,0x63,0x08,0x4f,0xce,0x01,0x2b,0x01, +0x65,0x4b,0x9d,0x54,0x49,0x02,0x99,0x06,0xfe,0xeb,0xd5,0xa2,0x87,0x87,0x03,0x3b, +0x42,0x53,0x5f,0x15,0x1f,0x01,0x01,0x83,0x72,0x28,0x05,0xfe,0xd6,0x80,0x8b,0xfe, +0x99,0x4b,0x73,0x05,0x9e,0xfe,0xc2,0x7a,0x95,0x11,0x12,0x23,0xac,0x2b,0x16,0x15, +0x71,0x72,0xfe,0x66,0x72,0x09,0xab,0xf6,0x76,0x29,0x1e,0x12,0x32,0x4c,0x03,0x4f, +0x41,0x9f,0xd2,0x02,0x60,0x8f,0x01,0x3e,0xfa,0xf9,0x18,0x07,0x0b,0x27,0x4b,0x56, +0x0a,0x09,0x9d,0xf8,0x01,0x07,0x9b,0xfd,0xa0,0x89,0x4e,0x00,0x00,0x01,0x00,0x2f, +0xfe,0x56,0x06,0x6f,0x06,0x14,0x00,0x33,0x00,0x00,0x01,0x11,0x14,0x07,0x06,0x2b, +0x01,0x35,0x33,0x32,0x37,0x36,0x35,0x11,0x34,0x26,0x23,0x22,0x06,0x15,0x11,0x23, +0x11,0x21,0x11,0x23,0x11,0x23,0x35,0x33,0x35,0x34,0x36,0x3b,0x01,0x15,0x23,0x22, +0x06,0x1d,0x01,0x21,0x3b,0x01,0x15,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x06,0x6f, +0x52,0x51,0xb5,0xfe,0xe9,0x69,0x26,0x26,0x7c,0x7c,0x95,0xac,0xb9,0xfe,0xd3,0xb9, +0xb0,0xb0,0xae,0xbd,0xae,0xb0,0x63,0x4d,0x01,0x2d,0x02,0xb7,0x42,0x59,0x5a,0x75, +0xc1,0x63,0x63,0x02,0xa4,0xfd,0x48,0xd6,0x60,0x60,0x9c,0x30,0x31,0x99,0x02,0xb2, +0x9f,0x9e,0xbe,0xa4,0xfd,0x87,0x03,0xd1,0xfc,0x2f,0x03,0xd1,0x8f,0x4e,0xbb,0xab, +0x99,0x50,0x68,0x63,0xae,0x65,0x32,0x32,0x77,0x78,0x00,0x02,0x00,0xc1,0xff,0xe3, +0x04,0xc9,0x06,0x14,0x00,0x21,0x00,0x31,0x00,0x00,0x01,0x15,0x2e,0x01,0x23,0x22, +0x06,0x15,0x14,0x17,0x16,0x1f,0x01,0x16,0x17,0x16,0x15,0x14,0x06,0x23,0x22,0x27, +0x26,0x27,0x15,0x23,0x11,0x33,0x11,0x34,0x36,0x33,0x32,0x16,0x01,0x11,0x16,0x17, +0x16,0x33,0x32,0x36,0x35,0x34,0x27,0x26,0x2f,0x01,0x2e,0x01,0x04,0x8d,0x4e,0xa8, +0x5a,0x89,0x89,0x31,0x31,0x94,0x3f,0xc6,0x50,0x53,0xf7,0xd8,0x5a,0x62,0x5d,0x68, +0xb8,0xb8,0xe0,0xce,0x66,0xb4,0xfd,0x38,0x62,0x5f,0x63,0x61,0x82,0x8c,0x32,0x2d, +0xb1,0x40,0xab,0x98,0x04,0x3f,0xae,0x28,0x28,0x54,0x54,0x40,0x25,0x24,0x21,0x0e, +0x2c,0x4b,0x4c,0x89,0x9c,0xb6,0x11,0x11,0x21,0x26,0x06,0x14,0xfd,0x1d,0x9e,0xac, +0x1e,0xfe,0xd4,0xfd,0xb2,0x32,0x19,0x1b,0x59,0x51,0x4b,0x28,0x24,0x29,0x0f,0x24, +0x95,0x00,0x00,0x02,0x00,0xc1,0x00,0x00,0x04,0xe2,0x06,0x14,0x00,0x0a,0x00,0x0d, +0x00,0x00,0x13,0x33,0x11,0x21,0x15,0x01,0x21,0x15,0x21,0x2b,0x01,0x13,0x11,0x01, +0xc1,0xb8,0x03,0x69,0xfd,0x4c,0x02,0xb4,0xfc,0x97,0x1a,0x9e,0xb8,0x02,0x9a,0x06, +0x14,0xfe,0x4c,0xa8,0xfc,0xdb,0x93,0x03,0xcd,0xfc,0xf9,0x03,0x07,0x00,0x00,0x02, +0x00,0x36,0xff,0xe2,0x03,0xea,0x05,0x20,0x00,0x0c,0x00,0x19,0x00,0x00,0x13,0x33, +0x1b,0x01,0x33,0x1b,0x01,0x33,0x03,0x23,0x0b,0x01,0x23,0x03,0x33,0x1b,0x01,0x33, +0x1b,0x01,0x33,0x03,0x23,0x0b,0x01,0x23,0x36,0x74,0x91,0x90,0x89,0x91,0x90,0x74, +0xb9,0x88,0x98,0x99,0x88,0xb9,0x74,0x91,0x90,0x89,0x91,0x90,0x74,0xb9,0x88,0x98, +0x99,0x88,0x02,0x55,0xfe,0x17,0x01,0xe9,0xfe,0x17,0x01,0xe9,0xfd,0x8d,0x02,0x02, +0xfd,0xfe,0x05,0x3d,0xfe,0x17,0x01,0xe9,0xfe,0x17,0x01,0xe9,0xfd,0x8d,0x02,0x02, +0xfd,0xfe,0x00,0x02,0x00,0x36,0x00,0xad,0x03,0xe9,0x05,0x1f,0x00,0x07,0x00,0x0f, +0x00,0x00,0x13,0x21,0x11,0x23,0x11,0x21,0x11,0x23,0x11,0x21,0x11,0x23,0x11,0x21, +0x11,0x23,0x36,0x03,0xb3,0x8f,0xfd,0x6b,0x8f,0x03,0xb3,0x8f,0xfd,0x6b,0x8f,0x02, +0x55,0xfe,0x58,0x01,0x05,0xfe,0xfb,0x04,0x72,0xfe,0x58,0x01,0x05,0xfe,0xfb,0x00, +0x00,0x01,0x00,0x00,0xfe,0x4a,0x04,0x90,0x06,0x14,0x00,0x21,0x00,0x00,0x01,0x14, +0x16,0x33,0x32,0x36,0x35,0x11,0x33,0x11,0x23,0x11,0x06,0x07,0x06,0x23,0x22,0x27, +0x26,0x35,0x11,0x35,0x34,0x27,0x26,0x2b,0x01,0x35,0x33,0x32,0x17,0x16,0x1d,0x01, +0x01,0x9e,0x7c,0x7c,0x95,0xac,0xb9,0xb9,0x42,0x59,0x5a,0x75,0xc1,0x63,0x63,0x26, +0x26,0x69,0x31,0x46,0xb5,0x51,0x52,0x01,0xc0,0x9f,0x9e,0xbe,0xa4,0x02,0x79,0xf9, +0xec,0x02,0x62,0x65,0x32,0x32,0x77,0x78,0xe8,0x02,0xa4,0x20,0x99,0x31,0x30,0x9c, +0x60,0x60,0xd6,0x20,0x00,0x01,0x00,0x00,0xfe,0x56,0x05,0x76,0x06,0x14,0x00,0x2c, +0x00,0x00,0x21,0x35,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x35,0x11,0x35,0x34,0x27, +0x26,0x2b,0x01,0x35,0x33,0x32,0x17,0x16,0x1d,0x01,0x11,0x14,0x16,0x33,0x32,0x36, +0x35,0x11,0x33,0x11,0x06,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x26,0x27,0x03, +0xd7,0x42,0x59,0x5a,0x75,0xc1,0x63,0x63,0x26,0x26,0x69,0x31,0x46,0xb5,0x51,0x52, +0x7c,0x7c,0x95,0xac,0xb9,0x04,0x2a,0x26,0x68,0x32,0x46,0xb6,0x52,0x4b,0x05,0xac, +0x65,0x32,0x32,0x77,0x78,0xe8,0x02,0xa4,0x20,0x99,0x31,0x30,0x9c,0x60,0x60,0xd6, +0x20,0xfd,0x62,0x9f,0x9e,0xbe,0xa4,0x02,0x79,0xfb,0x8e,0x94,0x36,0x30,0x9c,0x60, +0x59,0xdd,0x00,0x01,0x00,0x75,0x02,0x9c,0x02,0xc4,0x06,0x03,0x00,0x17,0x00,0x00, +0x01,0x11,0x23,0x11,0x34,0x27,0x26,0x23,0x22,0x07,0x06,0x15,0x11,0x23,0x11,0x33, +0x11,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x02,0xc4,0x74,0x27,0x27,0x4e,0x5e,0x36, +0x36,0x75,0x75,0x29,0x39,0x38,0x4a,0x79,0x3f,0x3e,0x04,0x17,0xfe,0x85,0x01,0x77, +0x59,0x2c,0x2d,0x35,0x36,0x5c,0xfe,0x9e,0x03,0x67,0xfe,0xab,0x38,0x1c,0x1c,0x43, +0x43,0x00,0x00,0x01,0x00,0x75,0x02,0x9b,0x02,0xc4,0x06,0x02,0x00,0x21,0x00,0x00, +0x13,0x33,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x15,0x11,0x23,0x11,0x34,0x26,0x23, +0x22,0x06,0x15,0x11,0x23,0x11,0x35,0x34,0x37,0x36,0x3b,0x01,0x15,0x23,0x22,0x07, +0x06,0x15,0xe9,0x01,0x29,0x39,0x38,0x4a,0x79,0x3f,0x3e,0x74,0x4e,0x4e,0x5e,0x6c, +0x75,0x34,0x33,0x72,0xa0,0x93,0x42,0x18,0x18,0x04,0xac,0x39,0x1c,0x1c,0x43,0x43, +0x82,0xfe,0x86,0x01,0x77,0x59,0x58,0x6a,0x5c,0xfe,0x9e,0x02,0x31,0x53,0x77,0x36, +0x36,0x57,0x1b,0x1c,0x55,0x00,0x00,0x02,0xff,0xe9,0x01,0xad,0x00,0xee,0x06,0x03, +0x00,0x0d,0x00,0x11,0x00,0x23,0x40,0x07,0x13,0x0f,0x01,0x08,0x0e,0x00,0x12,0x10, +0xdc,0x3c,0xcc,0xdc,0x3c,0xcc,0x31,0x00,0x40,0x07,0x0e,0x11,0x00,0x08,0x07,0x00, +0x12,0x10,0xd4,0xd4,0xcc,0x10,0xdc,0xcc,0x30,0x13,0x33,0x11,0x14,0x07,0x06,0x2b, +0x01,0x35,0x33,0x32,0x37,0x36,0x35,0x11,0x33,0x15,0x23,0x7a,0x74,0x34,0x33,0x72, +0x2c,0x1f,0x42,0x18,0x18,0x74,0x74,0x05,0x0f,0xfd,0x82,0x78,0x36,0x36,0x58,0x1b, +0x1b,0x56,0x03,0x72,0x82,0x00,0x00,0x01,0x00,0x75,0x02,0x9c,0x02,0x12,0x05,0x1e, +0x00,0x15,0x00,0x00,0x01,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x15,0x11,0x23,0x11, +0x33,0x15,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x02,0x12,0x13,0x17,0x17,0x1c, +0x62,0x35,0x34,0x75,0x75,0x24,0x3b,0x3a,0x54,0x0c,0x0f,0x0e,0x12,0x04,0xaf,0x0a, +0x05,0x04,0x38,0x39,0x6b,0xfe,0xb6,0x02,0x73,0x61,0x39,0x1c,0x1b,0x01,0x01,0x03, +0x00,0x01,0x00,0x47,0x02,0x8d,0x01,0xe4,0x05,0x0f,0x00,0x15,0x00,0x00,0x13,0x16, +0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x11,0x33,0x11,0x23,0x35,0x06,0x07,0x06,0x23, +0x22,0x27,0x26,0x27,0x47,0x14,0x17,0x17,0x1b,0x63,0x34,0x35,0x74,0x74,0x25,0x3a, +0x3b,0x54,0x0c,0x0e,0x0f,0x11,0x02,0xfc,0x0a,0x05,0x04,0x39,0x38,0x6b,0x01,0x4a, +0xfd,0x8d,0x61,0x39,0x1b,0x1c,0x01,0x02,0x02,0x00,0x00,0x01,0x00,0x47,0x01,0xad, +0x02,0x75,0x05,0x0f,0x00,0x20,0x00,0x00,0x13,0x16,0x17,0x16,0x33,0x32,0x37,0x36, +0x35,0x11,0x33,0x11,0x15,0x14,0x16,0x3b,0x01,0x15,0x23,0x22,0x26,0x3d,0x01,0x23, +0x35,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x47,0x14,0x17,0x17,0x1b,0x63,0x34, +0x35,0x74,0x30,0x42,0x1f,0x2c,0x72,0x66,0x01,0x25,0x3a,0x3c,0x53,0x0c,0x0e,0x0f, +0x11,0x02,0xfc,0x0a,0x05,0x04,0x39,0x38,0x6b,0x01,0x4a,0xfd,0x8d,0x0b,0x56,0x36, +0x58,0x6c,0x78,0x0b,0x61,0x39,0x1b,0x1c,0x01,0x02,0x02,0x00,0x00,0x02,0x00,0x20, +0x02,0x9c,0x02,0x8f,0x05,0x0f,0x00,0x16,0x00,0x21,0x00,0x00,0x01,0x1e,0x01,0x15, +0x14,0x07,0x06,0x2b,0x01,0x11,0x33,0x11,0x33,0x32,0x37,0x36,0x3f,0x01,0x33,0x07, +0x06,0x07,0x06,0x01,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x2b,0x01,0x01,0x9b, +0x43,0x46,0x43,0x44,0x89,0xf4,0x74,0x6b,0x3d,0x25,0x25,0x28,0x66,0x7b,0x6e,0x21, +0x21,0x22,0xfe,0xd7,0x7d,0x4b,0x27,0x29,0x29,0x27,0x4b,0x7d,0x03,0xe9,0x0f,0x4e, +0x3b,0x5b,0x2d,0x2d,0x02,0x73,0xfe,0xf7,0x15,0x14,0x3f,0xa1,0xab,0x35,0x1e,0x1e, +0xff,0x00,0x17,0x18,0x2f,0x2e,0x18,0x19,0x00,0x01,0x00,0x36,0x02,0x9c,0x03,0xe9, +0x05,0x0f,0x00,0x0c,0x00,0x00,0x13,0x33,0x1b,0x01,0x33,0x1b,0x01,0x33,0x03,0x23, +0x0b,0x01,0x23,0x36,0x74,0x91,0x90,0x89,0x91,0x90,0x74,0xb9,0x88,0x98,0x99,0x88, +0x05,0x0f,0xfe,0x17,0x01,0xe9,0xfe,0x17,0x01,0xe9,0xfd,0x8d,0x02,0x02,0xfd,0xfe, +0x00,0x01,0x00,0x26,0x01,0xad,0x02,0xd5,0x05,0x0f,0x00,0x11,0x00,0x00,0x01,0x06, +0x07,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x3f,0x01,0x01,0x33,0x1b,0x01,0x33, +0x01,0x9f,0x31,0x2f,0x2e,0x4e,0x5d,0x44,0x30,0x1a,0x1b,0x20,0x15,0xfe,0xe2,0x7b, +0xdd,0xdc,0x7b,0x02,0x62,0x70,0x22,0x23,0x57,0x14,0x14,0x4b,0x2f,0x02,0x69,0xfe, +0x16,0x01,0xea,0x00,0xff,0xff,0x00,0xc5,0x03,0xaa,0x01,0x6f,0x05,0xd5,0x12,0x02, +0x00,0x0a,0x00,0x00,0xff,0xff,0x00,0xc5,0x03,0xaa,0x02,0xe9,0x05,0xd5,0x12,0x02, +0x00,0x05,0x00,0x00,0xff,0xff,0x00,0xae,0x03,0xe9,0x01,0xd3,0x05,0xd5,0x10,0x06, +0x07,0x79,0x00,0x00,0xff,0xff,0x00,0xb2,0x03,0xfe,0x01,0xd7,0x05,0xd5,0x10,0x06, +0x07,0x7a,0x00,0x00,0x00,0x01,0x00,0xc4,0x04,0xee,0x01,0xe9,0x06,0xda,0x00,0x05, +0x00,0x00,0x01,0x15,0x13,0x23,0x03,0x35,0x01,0x97,0x52,0x81,0xa4,0x06,0xda,0xac, +0xfe,0xc0,0x01,0x40,0xac,0x00,0x00,0x01,0x00,0x75,0x03,0xef,0x01,0x87,0x06,0x14, +0x00,0x10,0x00,0x00,0x13,0x34,0x35,0x32,0x36,0x35,0x34,0x26,0x23,0x34,0x35,0x32, +0x17,0x16,0x14,0x07,0x06,0x75,0x40,0x58,0x58,0x40,0x73,0x50,0x4f,0x4f,0x50,0x03, +0xef,0x3d,0x3e,0x58,0x40,0x3f,0x58,0x3d,0x3e,0x50,0x4f,0xe6,0x50,0x50,0x00,0x01, +0x00,0x75,0x03,0xef,0x01,0x87,0x06,0x14,0x00,0x10,0x00,0x00,0x01,0x22,0x27,0x26, +0x34,0x37,0x36,0x33,0x14,0x15,0x22,0x06,0x15,0x14,0x16,0x33,0x14,0x01,0x87,0x73, +0x50,0x4f,0x4f,0x50,0x73,0x40,0x58,0x58,0x40,0x03,0xef,0x50,0x50,0xe6,0x4f,0x50, +0x3e,0x3d,0x58,0x3f,0x40,0x58,0x3e,0x00,0x00,0x01,0x00,0x75,0x02,0x9c,0x02,0x89, +0x06,0x02,0x00,0x1c,0x00,0x00,0x01,0x33,0x32,0x37,0x36,0x35,0x26,0x27,0x26,0x23, +0x22,0x07,0x06,0x07,0x35,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x06, +0x07,0x11,0x23,0x01,0x14,0x27,0x79,0x37,0x24,0x01,0x23,0x3f,0x71,0x32,0x32,0x31, +0x31,0x30,0x33,0x33,0x35,0xae,0x57,0x44,0x44,0x46,0x6b,0x80,0x04,0x5b,0x40,0x2a, +0x37,0x4b,0x24,0x40,0x0c,0x0c,0x18,0x60,0x14,0x09,0x0a,0x58,0x46,0x68,0x5f,0x40, +0x43,0x11,0xfe,0x93,0x00,0x01,0x00,0x75,0x02,0x9c,0x02,0x89,0x06,0x02,0x00,0x1c, +0x00,0x00,0x01,0x11,0x23,0x11,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x33,0x32,0x17, +0x16,0x17,0x15,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x07,0x14,0x17,0x16,0x33,0x01, +0xea,0x7f,0x6b,0x47,0x44,0x45,0x57,0xad,0x35,0x33,0x33,0x30,0x31,0x32,0x31,0x32, +0x71,0x3e,0x24,0x01,0x25,0x36,0x79,0x04,0x5b,0xfe,0x41,0x01,0x6d,0x11,0x43,0x40, +0x5f,0x68,0x46,0x58,0x0a,0x09,0x14,0x60,0x18,0x0c,0x0c,0x40,0x24,0x4b,0x37,0x2a, +0x40,0x00,0x00,0x01,0x01,0x0b,0x04,0x32,0x02,0xf5,0x06,0xb0,0x00,0x06,0x00,0x00, +0x01,0x25,0x15,0x0d,0x01,0x15,0x25,0x01,0x0b,0x01,0xea,0xfe,0x99,0x01,0x67,0xfe, +0x16,0x05,0xbb,0xf5,0x8b,0xb4,0xb4,0x8b,0xf5,0x00,0x00,0x01,0x01,0x0b,0x04,0x32, +0x02,0xf5,0x06,0xb0,0x00,0x06,0x00,0x00,0x01,0x05,0x35,0x2d,0x01,0x35,0x05,0x02, +0xf5,0xfe,0x16,0x01,0x67,0xfe,0x99,0x01,0xea,0x05,0x27,0xf5,0x8b,0xb4,0xb4,0x8b, +0xf5,0x00,0x00,0x01,0x00,0xc1,0x04,0x7c,0x03,0x3f,0x06,0x66,0x00,0x06,0x00,0x00, +0x01,0x03,0x33,0x1b,0x01,0x33,0x03,0x01,0xb6,0xf5,0x8b,0xb4,0xb4,0x8b,0xf5,0x04, +0x7c,0x01,0xea,0xfe,0x99,0x01,0x67,0xfe,0x16,0x00,0x00,0x01,0x00,0xc1,0x04,0x7c, +0x03,0x3f,0x06,0x66,0x00,0x06,0x00,0x00,0x01,0x33,0x13,0x23,0x0b,0x01,0x23,0x01, +0xb6,0x94,0xf5,0x8b,0xb4,0xb4,0x8b,0x06,0x66,0xfe,0x16,0x01,0x67,0xfe,0x99,0x00, +0x00,0x01,0x00,0xc1,0x04,0xee,0x03,0x3f,0x06,0x66,0x00,0x06,0x00,0x37,0x40,0x0c, +0x04,0x05,0x02,0xb4,0x00,0xb3,0x07,0x04,0x02,0x75,0x06,0x07,0x10,0xdc,0xec,0x39, +0x31,0x00,0x10,0xf4,0xec,0x32,0x39,0x30,0x00,0x4b,0xb0,0x09,0x54,0x4b,0xb0,0x0e, +0x54,0x5b,0x58,0xbd,0x00,0x07,0xff,0xc0,0x00,0x01,0x00,0x07,0x00,0x07,0x00,0x40, +0x38,0x11,0x37,0x38,0x59,0x01,0x33,0x13,0x23,0x27,0x07,0x23,0x01,0xb6,0x94,0xf5, +0x8b,0xb4,0xb4,0x8b,0x06,0x66,0xfe,0x88,0xf5,0xf5,0x00,0x01,0x00,0xc1,0x04,0xee, +0x03,0x3f,0x06,0x66,0x00,0x06,0x00,0x37,0x40,0x0c,0x03,0x00,0xb4,0x04,0x01,0xb3, +0x07,0x03,0x05,0x75,0x01,0x07,0x10,0xdc,0xec,0x39,0x31,0x00,0x10,0xf4,0x3c,0xec, +0x39,0x30,0x00,0x4b,0xb0,0x09,0x54,0x4b,0xb0,0x0e,0x54,0x5b,0x58,0xbd,0x00,0x07, +0xff,0xc0,0x00,0x01,0x00,0x07,0x00,0x07,0x00,0x40,0x38,0x11,0x37,0x38,0x59,0x01, +0x03,0x33,0x17,0x37,0x33,0x03,0x01,0xb6,0xf5,0x8b,0xb4,0xb4,0x8b,0xf5,0x04,0xee, +0x01,0x78,0xf5,0xf5,0xfe,0x88,0x00,0x01,0x00,0xd6,0x03,0xe7,0x01,0x5e,0x06,0x12, +0x00,0x03,0x00,0x13,0x40,0x04,0x05,0x00,0x03,0x04,0x10,0xdc,0xdc,0xcc,0x31,0x00, +0x40,0x02,0x03,0x02,0x2f,0xc4,0x30,0x01,0x11,0x23,0x11,0x01,0x5e,0x88,0x06,0x12, +0xfd,0xd5,0x02,0x2b,0xff,0xff,0x00,0xd5,0x05,0x62,0x03,0x2b,0x05,0xf6,0x10,0x06, +0x00,0x71,0x00,0x00,0x00,0x01,0x01,0x73,0x04,0xee,0x03,0x52,0x06,0x66,0x00,0x03, +0x00,0x00,0x01,0x33,0x01,0x23,0x02,0x8b,0xc7,0xfe,0xba,0x99,0x06,0x66,0xfe,0x88, +0x00,0x01,0x00,0xaa,0x04,0xf0,0x02,0x89,0x06,0x66,0x00,0x03,0x00,0x00,0x09,0x01, +0x23,0x01,0x01,0x6f,0x01,0x1a,0x99,0xfe,0xba,0x06,0x66,0xfe,0x8a,0x01,0x76,0x00, +0x00,0x01,0x00,0xd6,0xfe,0xd1,0x01,0x5e,0x00,0xfc,0x00,0x03,0x00,0x13,0x40,0x04, +0x05,0x00,0x03,0x04,0x10,0xdc,0xdc,0xcc,0x31,0x00,0x40,0x02,0x03,0x02,0x2f,0xc4, +0x30,0x25,0x11,0x23,0x11,0x01,0x5e,0x88,0xfc,0xfd,0xd5,0x02,0x2b,0x00,0xff,0xff, +0x00,0xd5,0xfe,0xc0,0x03,0x2b,0xff,0x54,0x10,0x07,0x00,0x71,0x00,0x00,0xf9,0x5e, +0x00,0x01,0x00,0xaa,0xfe,0x1c,0x02,0x89,0xff,0x92,0x00,0x03,0x00,0x00,0x05,0x01, +0x23,0x01,0x01,0x6f,0x01,0x1a,0x99,0xfe,0xba,0x6e,0xfe,0x8a,0x01,0x76,0x00,0x01, +0x01,0x73,0xfe,0x1c,0x03,0x52,0xff,0x94,0x00,0x03,0x00,0x00,0x05,0x33,0x01,0x23, +0x02,0x8b,0xc7,0xfe,0xba,0x99,0x6c,0xfe,0x88,0x00,0x00,0x02,0x00,0x6f,0x00,0x00, +0x01,0xd4,0x04,0x23,0x00,0x02,0x00,0x05,0x00,0x00,0x01,0x03,0x21,0x03,0x13,0x21, +0x01,0x21,0xb2,0x01,0x65,0xb3,0xb3,0xfe,0x9b,0x02,0xd9,0x01,0x4a,0xfd,0x27,0xfe, +0xb6,0x00,0x00,0x01,0x00,0x6f,0x02,0xd8,0x01,0xd4,0x04,0x23,0x00,0x02,0x00,0x00, +0x01,0x03,0x21,0x01,0x21,0xb2,0x01,0x65,0x02,0xd9,0x01,0x4a,0xff,0xff,0x00,0x75, +0x01,0xfe,0x01,0x87,0x04,0x23,0x10,0x07,0x02,0x72,0x00,0x00,0xfe,0x0f,0xff,0xff, +0x00,0x75,0x01,0xfe,0x01,0x87,0x04,0x23,0x10,0x07,0x02,0x73,0x00,0x00,0xfe,0x0f, +0x00,0x01,0x01,0x1f,0x01,0xd4,0x02,0xe1,0x03,0x96,0x00,0x07,0x00,0x00,0x01,0x15, +0x21,0x35,0x33,0x11,0x33,0x11,0x02,0xe1,0xfe,0x3e,0x96,0x96,0x02,0x6a,0x96,0x96, +0x01,0x2c,0xfe,0xd4,0x00,0x01,0x01,0x1f,0x01,0xd4,0x02,0xe1,0x03,0x96,0x00,0x07, +0x00,0x00,0x01,0x35,0x21,0x15,0x23,0x11,0x23,0x11,0x01,0x1f,0x01,0xc2,0x96,0x96, +0x03,0x00,0x96,0x96,0xfe,0xd4,0x01,0x2c,0x00,0x01,0x00,0xc1,0x01,0x89,0x03,0x17, +0x03,0xdf,0x00,0x0b,0x00,0x00,0x01,0x35,0x33,0x15,0x33,0x15,0x23,0x15,0x23,0x35, +0x23,0x35,0x01,0xa2,0x94,0xe1,0xe1,0x94,0xe1,0x02,0xfe,0xe1,0xe1,0x94,0xe1,0xe1, +0x94,0x00,0x00,0x01,0x01,0x1f,0x02,0x6a,0x02,0xe1,0x03,0x00,0x00,0x03,0x00,0x00, +0x01,0x21,0x35,0x21,0x02,0xe1,0xfe,0x3e,0x01,0xc2,0x02,0x6a,0x96,0x00,0x00,0x01, +0x00,0xc7,0x05,0x29,0x03,0x39,0x06,0x48,0x00,0x0d,0x00,0x57,0x40,0x0e,0x0b,0xf0, +0x04,0x07,0x00,0xb3,0x0e,0x07,0x56,0x08,0x01,0x56,0x00,0x0e,0x10,0xdc,0xec,0xd4, +0xec,0x31,0x00,0x10,0xf4,0x3c,0xd4,0xec,0x30,0x00,0x4b,0xb0,0x09,0x54,0x58,0xbd, +0x00,0x0e,0xff,0xc0,0x00,0x01,0x00,0x0e,0x00,0x0e,0x00,0x40,0x38,0x11,0x37,0x38, +0x59,0x00,0x4b,0xb0,0x0f,0x54,0x4b,0xb0,0x10,0x54,0x5b,0x4b,0xb0,0x11,0x54,0x5b, +0x58,0xbd,0x00,0x0e,0x00,0x40,0x00,0x01,0x00,0x0e,0x00,0x0e,0xff,0xc0,0x38,0x11, +0x37,0x38,0x59,0x13,0x33,0x1e,0x01,0x33,0x32,0x36,0x37,0x33,0x0e,0x01,0x23,0x22, +0x26,0xc7,0x76,0x0b,0x61,0x57,0x56,0x60,0x0d,0x76,0x0a,0x9e,0x91,0x91,0x9e,0x06, +0x48,0x4b,0x4b,0x4a,0x4c,0x8f,0x90,0x90,0x00,0x01,0x01,0x9a,0x05,0x44,0x02,0x66, +0x06,0x10,0x00,0x03,0x00,0x2c,0x40,0x09,0x02,0xce,0x00,0xcd,0x04,0x01,0x64,0x00, +0x04,0x10,0xd4,0xec,0x31,0x00,0x10,0xfc,0xec,0x30,0x00,0x4b,0xb0,0x09,0x54,0x58, +0xbd,0x00,0x04,0xff,0xc0,0x00,0x01,0x00,0x04,0x00,0x04,0x00,0x40,0x38,0x11,0x37, +0x38,0x59,0x01,0x33,0x15,0x23,0x01,0x9a,0xcc,0xcc,0x06,0x10,0xcc,0x00,0x00,0x02, +0x00,0xee,0x04,0xe1,0x03,0x12,0x07,0x06,0x00,0x0b,0x00,0x17,0x00,0x20,0x40,0x11, +0x03,0xc1,0x15,0xf2,0x09,0xc1,0x0f,0xf1,0x18,0x00,0x56,0x0c,0x78,0x06,0x56,0x12, +0x18,0x10,0xd4,0xec,0xf4,0xec,0x31,0x00,0x10,0xf4,0xec,0xf4,0xec,0x30,0x01,0x34, +0x26,0x23,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x37,0x14,0x06,0x23,0x22,0x26, +0x35,0x34,0x36,0x33,0x32,0x16,0x02,0x98,0x58,0x40,0x41,0x57,0x57,0x41,0x40,0x58, +0x7a,0x9f,0x73,0x73,0x9f,0x9f,0x73,0x73,0x9f,0x05,0xf4,0x3f,0x58,0x57,0x40,0x41, +0x57,0x58,0x40,0x73,0xa0,0xa0,0x73,0x73,0x9f,0x9f,0x00,0x01,0x01,0x4c,0xfe,0x75, +0x02,0xc1,0x00,0x00,0x00,0x13,0x00,0x20,0x40,0x0f,0x0b,0x0e,0x0a,0x07,0xf3,0x0e, +0xf4,0x00,0x01,0x00,0x0a,0x04,0x27,0x11,0x14,0x10,0xd4,0xec,0xc4,0xd4,0xcc,0x31, +0x00,0x2f,0xfc,0xfc,0xc4,0x12,0x39,0x30,0x21,0x33,0x0e,0x01,0x15,0x14,0x16,0x33, +0x32,0x36,0x37,0x15,0x0e,0x01,0x23,0x22,0x26,0x35,0x34,0x36,0x01,0xb8,0x77,0x2d, +0x2b,0x37,0x36,0x20,0x3e,0x1f,0x26,0x44,0x1e,0x7a,0x73,0x35,0x3d,0x58,0x1f,0x2e, +0x2e,0x0f,0x0f,0x85,0x0a,0x0a,0x57,0x5d,0x30,0x69,0x00,0x01,0x00,0xb6,0x05,0x1d, +0x03,0x4a,0x06,0x37,0x00,0x1b,0x00,0x63,0x40,0x24,0x00,0x12,0x07,0x0e,0x0b,0x04, +0x01,0x12,0x07,0x0f,0x0b,0x04,0x12,0xc3,0x19,0x07,0x04,0xc3,0x15,0x0b,0xed,0x1c, +0x0f,0x01,0x0e,0x00,0x07,0x15,0x56,0x16,0x77,0x07,0x56,0x08,0x76,0x1c,0x10,0xf4, +0xec,0xfc,0xec,0x11,0x39,0x39,0x39,0x39,0x31,0x00,0x10,0xfc,0x3c,0xfc,0xd4,0x3c, +0xec,0x11,0x12,0x39,0x11,0x12,0x39,0x11,0x12,0x39,0x11,0x12,0x39,0x30,0x00,0x4b, +0xb0,0x09,0x54,0x4b,0xb0,0x0c,0x54,0x5b,0x58,0xbd,0x00,0x1c,0xff,0xc0,0x00,0x01, +0x00,0x1c,0x00,0x1c,0x00,0x40,0x38,0x11,0x37,0x38,0x59,0x01,0x27,0x2e,0x01,0x23, +0x22,0x06,0x07,0x23,0x3e,0x01,0x33,0x32,0x16,0x1f,0x01,0x1e,0x01,0x33,0x32,0x36, +0x37,0x33,0x0e,0x01,0x23,0x22,0x26,0x01,0xfc,0x39,0x16,0x21,0x0d,0x26,0x24,0x02, +0x7d,0x02,0x66,0x5b,0x26,0x40,0x25,0x39,0x16,0x21,0x0d,0x26,0x24,0x02,0x7d,0x02, +0x66,0x5b,0x26,0x40,0x05,0x5a,0x37,0x14,0x13,0x49,0x52,0x87,0x93,0x1c,0x21,0x37, +0x14,0x13,0x49,0x52,0x87,0x93,0x1c,0x00,0x00,0x02,0x00,0xf0,0x04,0xee,0x03,0xae, +0x06,0x66,0x00,0x03,0x00,0x07,0x00,0x42,0x40,0x11,0x06,0x02,0xb4,0x04,0x00,0xb3, +0x08,0x04,0x07,0x03,0x00,0x05,0x01,0x03,0x05,0x07,0x08,0x10,0xd4,0xdc,0xd4,0xcc, +0x11,0x39,0x11,0x12,0x39,0x31,0x00,0x10,0xf4,0x3c,0xec,0x32,0x30,0x00,0x4b,0xb0, +0x09,0x54,0x4b,0xb0,0x0e,0x54,0x5b,0x58,0xbd,0x00,0x08,0xff,0xc0,0x00,0x01,0x00, +0x08,0x00,0x08,0x00,0x40,0x38,0x11,0x37,0x38,0x59,0x01,0x33,0x03,0x23,0x03,0x33, +0x03,0x23,0x02,0xfc,0xb2,0xf8,0x87,0x81,0xaa,0xdf,0x89,0x06,0x66,0xfe,0x88,0x01, +0x78,0xfe,0x88,0x00,0x00,0x01,0xff,0xff,0x01,0xde,0x02,0xad,0x04,0x08,0x00,0x0f, +0x00,0x00,0x03,0x25,0x33,0x15,0x14,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x26, +0x35,0x05,0x01,0x01,0x16,0xb8,0x26,0x26,0x69,0x2b,0x40,0xaf,0x57,0x52,0xfe,0xeb, +0x03,0x64,0xa4,0x94,0x99,0x31,0x30,0x9c,0x60,0x5a,0xc8,0xa2,0x00,0x01,0x00,0xef, +0x04,0xee,0x03,0x10,0x06,0x66,0x00,0x0b,0x00,0x00,0x01,0x27,0x07,0x23,0x37,0x27, +0x33,0x17,0x37,0x33,0x07,0x17,0x02,0x5c,0x5c,0x5d,0xb4,0xb5,0xb5,0xb4,0x5d,0x5c, +0xb4,0xb6,0xb6,0x04,0xee,0x61,0x61,0xbb,0xbd,0x60,0x60,0xbd,0xbb,0x00,0x00,0x02, +0x00,0x75,0x01,0xaa,0x02,0xfd,0x05,0x0f,0x00,0x0d,0x00,0x15,0x00,0x00,0x01,0x16, +0x15,0x14,0x07,0x04,0x27,0x26,0x37,0x03,0x33,0x17,0x37,0x33,0x01,0x06,0x17,0x16, +0x33,0x32,0x37,0x34,0x02,0x05,0xb2,0xf2,0xfe,0xf6,0x01,0x01,0xb6,0xfa,0x89,0xbf, +0xb7,0x89,0xfe,0xbc,0x8c,0x03,0x02,0x86,0x80,0x01,0x03,0xdc,0xf9,0xb4,0x81,0x03, +0x03,0x87,0xc0,0xf1,0x01,0x2f,0xe0,0xe0,0xfe,0x8a,0xae,0x98,0x4d,0x4d,0x8c,0x00, +0x00,0x01,0x00,0x75,0x02,0x9c,0x00,0xe9,0x06,0x03,0x00,0x03,0x00,0x00,0x13,0x33, +0x11,0x23,0x75,0x74,0x74,0x06,0x03,0xfc,0x99,0x00,0x00,0x01,0x00,0x75,0x02,0x9c, +0x02,0x90,0x05,0x2f,0x00,0x32,0x00,0x00,0x01,0x15,0x26,0x27,0x26,0x23,0x22,0x07, +0x06,0x15,0x14,0x17,0x16,0x1f,0x01,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x23,0x22, +0x27,0x26,0x27,0x35,0x16,0x17,0x16,0x33,0x32,0x36,0x35,0x34,0x27,0x26,0x2f,0x01, +0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x33,0x32,0x17,0x16,0x02,0x6a,0x31,0x35,0x34, +0x39,0x57,0x2b,0x2b,0x1f,0x1f,0x5d,0x28,0x7d,0x32,0x34,0x4e,0x4d,0x88,0x39,0x3e, +0x3d,0x44,0x40,0x3f,0x3e,0x3d,0x52,0x58,0x20,0x1c,0x6f,0x28,0x6c,0x30,0x30,0x47, +0x46,0x82,0x40,0x39,0x39,0x05,0x0d,0x61,0x16,0x0b,0x0b,0x17,0x18,0x2f,0x24,0x14, +0x15,0x12,0x08,0x18,0x2a,0x2b,0x4d,0x57,0x33,0x33,0x0a,0x0a,0x13,0x6b,0x1e,0x0f, +0x0f,0x32,0x2d,0x2a,0x17,0x14,0x17,0x08,0x15,0x29,0x2a,0x49,0x58,0x30,0x31,0x09, +0x08,0x00,0x00,0x01,0x00,0x75,0x02,0x9c,0x03,0x21,0x05,0x0f,0x00,0x0b,0x00,0x00, +0x01,0x03,0x01,0x23,0x27,0x07,0x23,0x01,0x03,0x33,0x17,0x37,0x03,0x14,0xff,0x01, +0x0c,0x89,0xcd,0xcd,0x89,0x01,0x12,0xfb,0x89,0xbb,0xbb,0x05,0x0f,0xfe,0xcf,0xfe, +0xbe,0xf6,0xf6,0x01,0x48,0x01,0x2b,0xdf,0xdf,0x00,0x00,0x01,0x00,0x75,0x02,0x9c, +0x02,0x89,0x06,0x02,0x00,0x1c,0x00,0x00,0x01,0x11,0x23,0x11,0x26,0x27,0x26,0x35, +0x34,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x15,0x26,0x27,0x26,0x23,0x22,0x07,0x06, +0x07,0x14,0x17,0x16,0x33,0x01,0xea,0x7f,0x6b,0x47,0x44,0x45,0x57,0xad,0x35,0x33, +0x33,0x30,0x31,0x32,0x31,0x32,0x71,0x3e,0x24,0x01,0x25,0x36,0x79,0x04,0x5b,0xfe, +0x41,0x01,0x6d,0x11,0x43,0x40,0x5f,0x68,0x46,0x58,0x0a,0x09,0x14,0x60,0x18,0x0c, +0x0c,0x40,0x24,0x4b,0x37,0x2a,0x40,0x00,0x00,0x01,0x00,0xd6,0x00,0x00,0x03,0x1d, +0x05,0x58,0x00,0x05,0x00,0x00,0x21,0x11,0x21,0x35,0x21,0x11,0x02,0x95,0xfe,0x41, +0x02,0x47,0x04,0xd0,0x88,0xfa,0xa8,0x00,0x00,0x01,0x00,0xd6,0x00,0x00,0x03,0x1d, +0x05,0x58,0x00,0x07,0x00,0x00,0x21,0x11,0x21,0x35,0x21,0x11,0x33,0x11,0x02,0x95, +0xfe,0x41,0x01,0xbf,0x88,0x03,0x9c,0x88,0x01,0x34,0xfa,0xa8,0x00,0x01,0x00,0xd6, +0x00,0x00,0x03,0x1d,0x05,0x58,0x00,0x07,0x00,0x00,0x01,0x11,0x33,0x11,0x23,0x11, +0x21,0x35,0x02,0x95,0x88,0x88,0xfe,0x41,0x02,0xf0,0x02,0x68,0xfa,0xa8,0x02,0x68, +0x88,0x00,0x00,0x01,0x00,0xd6,0x00,0x00,0x03,0x1d,0x05,0x58,0x00,0x07,0x00,0x00, +0x01,0x11,0x33,0x11,0x23,0x11,0x21,0x35,0x02,0x95,0x88,0x88,0xfe,0x41,0x01,0xbc, +0x03,0x9c,0xfa,0xa8,0x01,0x34,0x88,0x00,0x00,0x01,0x00,0xd6,0x00,0x00,0x03,0x1d, +0x05,0x58,0x00,0x05,0x00,0x00,0x25,0x11,0x33,0x11,0x21,0x35,0x02,0x95,0x88,0xfd, +0xb9,0x88,0x04,0xd0,0xfa,0xa8,0x88,0x00,0xff,0xff,0x00,0xc1,0xfd,0xec,0x03,0x3f, +0xff,0xd6,0x10,0x03,0x02,0x78,0x00,0x00,0xf9,0x70,0xff,0xff,0x00,0xd5,0x04,0xe2, +0x03,0x2b,0x06,0x76,0x12,0x23,0x00,0x71,0x00,0x00,0x00,0x80,0x12,0x02,0x00,0x71, +0x00,0x80,0x00,0x02,0x01,0x15,0x04,0xee,0x02,0xeb,0x06,0x66,0x00,0x03,0x00,0x07, +0x00,0x00,0x01,0x33,0x11,0x23,0x01,0x33,0x11,0x23,0x01,0x15,0x96,0x96,0x01,0x40, +0x96,0x96,0x06,0x66,0xfe,0x88,0x01,0x78,0xfe,0x88,0xff,0xff,0x00,0xee,0xfd,0x2e, +0x03,0x12,0xff,0x53,0x10,0x07,0x02,0x8e,0x00,0x00,0xf8,0x4d,0x00,0x01,0x00,0xb6, +0xfe,0x76,0x03,0x4a,0xff,0x90,0x00,0x1b,0x00,0x00,0x01,0x27,0x2e,0x01,0x23,0x22, +0x06,0x07,0x23,0x3e,0x01,0x33,0x32,0x16,0x1f,0x01,0x1e,0x01,0x33,0x32,0x36,0x37, +0x33,0x0e,0x01,0x23,0x22,0x26,0x01,0xfc,0x39,0x16,0x21,0x0d,0x26,0x24,0x02,0x7d, +0x02,0x66,0x5b,0x26,0x40,0x25,0x39,0x16,0x21,0x0d,0x26,0x24,0x02,0x7d,0x02,0x66, +0x5b,0x26,0x40,0xfe,0xb3,0x37,0x14,0x13,0x49,0x52,0x87,0x93,0x1c,0x21,0x37,0x14, +0x13,0x49,0x52,0x87,0x93,0x1c,0xff,0xff,0xfc,0xa8,0x04,0xf0,0xfe,0x87,0x06,0x66, +0x10,0x07,0x00,0x43,0xfb,0xfe,0x00,0x00,0xff,0xff,0xfd,0x71,0x04,0xee,0xff,0x50, +0x06,0x66,0x10,0x07,0x00,0x76,0xfb,0xfe,0x00,0x00,0xff,0xff,0xfc,0xbf,0x04,0xee, +0xff,0x3d,0x06,0x66,0x10,0x07,0x02,0x7a,0xfb,0xfe,0x00,0x00,0xff,0xff,0xfc,0xb4, +0x05,0x1d,0xff,0x48,0x06,0x37,0x10,0x07,0x02,0x90,0xfb,0xfe,0x00,0x00,0xff,0xff, +0xfc,0xd9,0x05,0x62,0xff,0x2f,0x05,0xf6,0x10,0x07,0x00,0x71,0xfc,0x04,0x00,0x00, +0xff,0xff,0xfb,0xec,0x05,0x7c,0x00,0x14,0x06,0x0b,0x10,0x07,0x07,0x97,0xfc,0x00, +0x00,0x00,0xff,0xff,0xfc,0xbf,0x05,0x29,0xff,0x31,0x06,0x48,0x10,0x07,0x02,0x8c, +0xfb,0xf8,0x00,0x00,0xff,0xff,0xfd,0xa4,0x05,0x44,0xfe,0x70,0x06,0x10,0x10,0x07, +0x02,0x8d,0xfc,0x0a,0x00,0x00,0xff,0xff,0xfc,0xd5,0x05,0x46,0xff,0x27,0x06,0x10, +0x10,0x07,0x00,0x6a,0xfb,0xfe,0x00,0x00,0x00,0x01,0xfd,0x37,0x04,0xf2,0xfe,0xf7, +0x06,0x7b,0x00,0x18,0x00,0x00,0x01,0x36,0x32,0x16,0x15,0x14,0x0f,0x01,0x06,0x07, +0x06,0x15,0x23,0x35,0x34,0x36,0x3f,0x01,0x36,0x35,0x34,0x26,0x23,0x22,0x07,0xfd, +0x37,0x70,0xd1,0x7f,0x58,0x2c,0x23,0x04,0x07,0x77,0x1e,0x33,0x2d,0x2e,0x3e,0x47, +0x5a,0x64,0x06,0x48,0x33,0x55,0x43,0x3d,0x41,0x20,0x1a,0x09,0x10,0x20,0x0c,0x28, +0x36,0x25,0x22,0x22,0x28,0x15,0x24,0x34,0xff,0xff,0xfc,0xec,0x04,0xe1,0xff,0x10, +0x07,0x06,0x10,0x07,0x02,0x8e,0xfb,0xfe,0x00,0x00,0xff,0xff,0xfc,0xf4,0x04,0xee, +0xff,0xb2,0x06,0x66,0x10,0x07,0x02,0x91,0xfc,0x04,0x00,0x00,0xff,0xff,0xfc,0xc5, +0x04,0xee,0xff,0x43,0x06,0x66,0x10,0x07,0x02,0x7b,0xfc,0x04,0x00,0x00,0x00,0x01, +0xfd,0xbc,0x04,0xec,0xfe,0x44,0x06,0xa8,0x00,0x03,0x00,0x00,0x01,0x11,0x23,0x11, +0xfe,0x44,0x88,0x06,0xa8,0xfe,0x44,0x01,0xbc,0x00,0xff,0xff,0xfc,0xf0,0x04,0xec, +0xff,0x10,0x06,0xa8,0x10,0x27,0x02,0xb0,0xff,0x34,0x00,0x00,0x10,0x07,0x02,0xb0, +0x00,0xcc,0x00,0x00,0x00,0x02,0xfc,0x5d,0x04,0xee,0xff,0x1b,0x06,0x66,0x00,0x03, +0x00,0x07,0x00,0x00,0x01,0x13,0x23,0x03,0x21,0x13,0x23,0x03,0xfd,0x0f,0xcd,0x87, +0xf8,0x02,0x00,0xbe,0x89,0xdf,0x06,0x66,0xfe,0x88,0x01,0x78,0xfe,0x88,0x01,0x78, +0xff,0xff,0xfc,0xbf,0x05,0x29,0xff,0x31,0x06,0xd6,0x10,0x27,0x02,0x8d,0xfc,0x04, +0x00,0xc6,0x10,0x07,0x02,0x8c,0xfb,0xf8,0x00,0x00,0xff,0xff,0xfc,0xbf,0x05,0x29, +0xff,0x31,0x06,0x48,0x10,0x0f,0x02,0x8c,0xff,0xf8,0x0b,0x71,0xc0,0x00,0x00,0x01, +0xfe,0x1f,0x03,0xe9,0xff,0x44,0x05,0x28,0x00,0x03,0x00,0x0a,0x40,0x03,0x02,0x01, +0x04,0x00,0x10,0xd4,0xcc,0x30,0x01,0x23,0x13,0x33,0xfe,0xf2,0xd3,0xa4,0x81,0x03, +0xe9,0x01,0x3f,0x00,0x00,0x01,0xfd,0x90,0x04,0xc2,0xfe,0x82,0x06,0xc1,0x00,0x08, +0x00,0x00,0x01,0x10,0x23,0x35,0x16,0x35,0x23,0x35,0x33,0xfe,0x82,0xf2,0x70,0x70, +0xf2,0x05,0xc3,0xfe,0xff,0x7b,0x03,0x89,0xfe,0x00,0x00,0x01,0xfd,0x90,0x04,0xc2, +0xfe,0x82,0x06,0xc1,0x00,0x08,0x00,0x00,0x01,0x35,0x33,0x15,0x23,0x14,0x37,0x15, +0x22,0xfd,0x90,0xf1,0x6f,0x70,0xf2,0x05,0xc3,0xfe,0xfe,0x89,0x03,0x7b,0x00,0x01, +0xff,0x79,0x04,0x9a,0x00,0x87,0x06,0x12,0x00,0x03,0x00,0x00,0x03,0x33,0x03,0x23, +0x40,0xc7,0x75,0x99,0x06,0x12,0xfe,0x88,0xff,0xff,0xfc,0xa8,0xfd,0xdf,0xfe,0x87, +0xff,0x55,0x10,0x07,0x00,0x43,0xfb,0xfe,0xf8,0xef,0xff,0xff,0xfd,0x71,0xfd,0xdd, +0xff,0x50,0xff,0x55,0x10,0x07,0x00,0x76,0xfb,0xfe,0xf8,0xef,0x00,0x01,0xfd,0x0c, +0xfd,0x26,0xfe,0x44,0xff,0x10,0x00,0x07,0x00,0x00,0x01,0x35,0x33,0x11,0x23,0x35, +0x23,0x35,0xfd,0xbc,0x88,0x88,0xb0,0xfe,0x5f,0xb1,0xfe,0x16,0xb1,0x88,0x00,0x01, +0xfd,0xbc,0xfd,0x26,0xfe,0xf4,0xff,0x10,0x00,0x07,0x00,0x00,0x01,0x33,0x15,0x23, +0x15,0x23,0x11,0x33,0xfe,0x44,0xb0,0xb0,0x88,0x88,0xfe,0x5f,0x88,0xb1,0x01,0xea, +0x00,0x01,0xfe,0x55,0x05,0x86,0x00,0x3f,0x07,0x70,0x00,0x05,0x00,0x00,0x03,0x21, +0x35,0x21,0x11,0x23,0x49,0xfe,0x9e,0x01,0xea,0x88,0x06,0xe8,0x88,0xfe,0x16,0x00, +0x00,0x01,0xff,0x04,0x02,0xfc,0x00,0x8f,0x04,0x71,0x00,0x13,0x00,0x00,0x03,0x35, +0x1e,0x01,0x33,0x32,0x36,0x35,0x34,0x26,0x27,0x33,0x1e,0x01,0x15,0x14,0x06,0x23, +0x22,0x26,0xfc,0x3d,0x58,0x1f,0x2e,0x2e,0x0f,0x0f,0x85,0x0a,0x0a,0x57,0x5d,0x30, +0x69,0x03,0x68,0x77,0x2d,0x2b,0x37,0x36,0x20,0x3e,0x1f,0x26,0x44,0x1e,0x7a,0x73, +0x35,0x00,0x00,0x01,0xfd,0x81,0xfc,0xeb,0xfe,0x93,0xff,0x10,0x00,0x10,0x00,0x00, +0x05,0x14,0x15,0x22,0x06,0x15,0x14,0x16,0x33,0x14,0x15,0x22,0x27,0x26,0x34,0x37, +0x36,0xfe,0x93,0x40,0x58,0x58,0x40,0x73,0x50,0x4f,0x4f,0x50,0xf0,0x3e,0x3d,0x58, +0x40,0x3f,0x58,0x3e,0x3d,0x4f,0x50,0xe6,0x50,0x50,0x00,0x01,0xfd,0x0b,0xfd,0xd7, +0xfe,0xf5,0xff,0x10,0x00,0x07,0x00,0x00,0x01,0x33,0x15,0x21,0x35,0x33,0x35,0x33, +0xfe,0x44,0xb1,0xfe,0x16,0xb1,0x88,0xfe,0x5f,0x88,0x88,0xb1,0x00,0x01,0xfd,0x0b, +0xfd,0xd7,0xfe,0xf5,0xff,0x10,0x00,0x07,0x00,0x00,0x01,0x23,0x35,0x21,0x15,0x23, +0x15,0x23,0xfd,0xbc,0xb1,0x01,0xea,0xb1,0x88,0xfe,0x88,0x88,0x88,0xb1,0x00,0x01, +0xfd,0x0b,0xfd,0x26,0xfe,0xf5,0xff,0x10,0x00,0x0b,0x00,0x00,0x01,0x23,0x35,0x33, +0x35,0x33,0x15,0x33,0x15,0x23,0x15,0x23,0xfd,0xbc,0xb1,0xb1,0x88,0xb1,0xb1,0x88, +0xfd,0xd7,0x88,0xb1,0xb1,0x88,0xb1,0x00,0x00,0x01,0xfd,0x0b,0xfe,0x88,0xfe,0xf5, +0xff,0x10,0x00,0x03,0x00,0x00,0x01,0x35,0x21,0x15,0xfd,0x0b,0x01,0xea,0xfe,0x88, +0x88,0x88,0x00,0x01,0xfd,0x7a,0xfe,0x56,0xff,0xd0,0x00,0x80,0x00,0x0d,0x00,0x00, +0x27,0x15,0x14,0x07,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x3d,0x01,0x30,0x52, +0x51,0xb5,0xfe,0xe9,0x69,0x26,0x26,0x80,0x94,0xd6,0x60,0x60,0x9c,0x30,0x31,0x99, +0x94,0x00,0x00,0x01,0xfd,0x77,0xfe,0x56,0xff,0xcd,0x00,0x80,0x00,0x0d,0x00,0x00, +0x25,0x33,0x15,0x14,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x26,0x35,0xfd,0x77, +0xb8,0x26,0x26,0x69,0xe9,0xfe,0xb5,0x51,0x52,0x80,0x94,0x99,0x31,0x30,0x9c,0x60, +0x60,0xd6,0xff,0xff,0xfd,0x9a,0xfe,0x87,0xfe,0x66,0xff,0x53,0x10,0x07,0x02,0x8d, +0xfc,0x00,0xf9,0x43,0xff,0xff,0xfc,0xd5,0xfe,0x89,0xff,0x27,0xff,0x53,0x10,0x07, +0x00,0x6a,0xfb,0xfe,0xf9,0x43,0xff,0xff,0xfc,0xec,0xfd,0x2e,0xff,0x10,0xff,0x53, +0x10,0x07,0x02,0x8e,0xfb,0xfe,0xf8,0x4d,0x00,0x01,0xfd,0x6a,0xfe,0x14,0xfe,0x8f, +0xff,0x54,0x00,0x03,0x00,0x0a,0x40,0x03,0x03,0x00,0x04,0x00,0x10,0xd4,0xcc,0x30, +0x05,0x33,0x03,0x23,0xfd,0xbc,0xd3,0xa4,0x81,0xac,0xfe,0xc0,0xff,0xff,0xfd,0x23, +0xfe,0x75,0xfe,0xc1,0x00,0x00,0x10,0x07,0x00,0x7a,0xfc,0x00,0x00,0x00,0xff,0xff, +0xfd,0x4c,0xfe,0x75,0xfe,0xc1,0x00,0x00,0x10,0x07,0x02,0x8f,0xfc,0x00,0x00,0x00, +0x00,0x01,0xfd,0xbc,0xfd,0x98,0xfe,0x44,0xff,0x54,0x00,0x03,0x00,0x00,0x05,0x11, +0x23,0x11,0xfe,0x44,0x88,0xac,0xfe,0x44,0x01,0xbc,0x00,0x01,0xfc,0xf0,0xfe,0x0a, +0xff,0x17,0xff,0x54,0x00,0x07,0x00,0x00,0x07,0x11,0x23,0x35,0x21,0x15,0x23,0x11, +0xe9,0x89,0xfe,0xeb,0x89,0xac,0xfe,0xb6,0xc2,0xc2,0x01,0x4a,0x00,0x01,0xfc,0x63, +0xfe,0x39,0xff,0x98,0xff,0x58,0x00,0x14,0x00,0x00,0x01,0x06,0x23,0x22,0x03,0x34, +0x35,0x33,0x16,0x33,0x32,0x37,0x33,0x16,0x17,0x32,0x37,0x33,0x02,0x07,0x22,0xfd, +0xfe,0x3c,0x74,0xda,0x11,0x75,0x0e,0x68,0x65,0x0f,0x76,0x0c,0x69,0x66,0x0f,0x76, +0x0f,0xdc,0x74,0xfe,0x8b,0x52,0x01,0x1a,0x02,0x03,0x96,0x96,0x95,0x01,0x96,0xfe, +0xe2,0x01,0xff,0xff,0xfc,0xc5,0xfd,0xda,0xff,0x43,0xff,0x52,0x10,0x07,0x02,0x7b, +0xfc,0x04,0xf8,0xec,0xff,0xff,0xfc,0xbf,0xfd,0xdd,0xff,0x3d,0xff,0x55,0x10,0x07, +0x02,0x7a,0xfb,0xfe,0xf8,0xef,0xff,0xff,0xfc,0xbf,0xfe,0x39,0xff,0x31,0xff,0x58, +0x10,0x07,0x02,0x8c,0xfb,0xf8,0xf9,0x10,0xff,0xff,0xfc,0xbf,0xfe,0x36,0xff,0x31, +0xff,0x55,0x10,0x0f,0x02,0x8c,0xff,0xf8,0x04,0x7e,0xc0,0x00,0xff,0xff,0xfc,0xb4, +0xfe,0x39,0xff,0x48,0xff,0x53,0x10,0x07,0x02,0x90,0xfb,0xfe,0xf9,0x1c,0xff,0xff, +0xfc,0xd9,0xfe,0xc0,0xff,0x2f,0xff,0x54,0x10,0x07,0x02,0x81,0xfc,0x04,0x00,0x00, +0xff,0xff,0xfb,0xec,0xfe,0x1d,0x00,0x14,0xfe,0xac,0x10,0x07,0x00,0x42,0xfc,0x00, +0x00,0x00,0xff,0xff,0xfb,0xec,0xfe,0x1d,0x00,0x14,0xff,0xee,0x10,0x07,0x07,0x78, +0xfc,0x00,0x00,0x00,0x00,0x01,0xfb,0x8c,0x01,0xec,0xff,0xad,0x03,0x0c,0x00,0x1b, +0x00,0x00,0x03,0x15,0x0e,0x01,0x23,0x22,0x27,0x26,0x27,0x2e,0x01,0x23,0x22,0x06, +0x07,0x35,0x3e,0x01,0x33,0x32,0x16,0x17,0x16,0x17,0x16,0x33,0x32,0x36,0x53,0x4b, +0x8f,0x4f,0x5a,0x71,0x16,0x0b,0x4d,0x67,0x33,0x4f,0x8d,0x49,0x4e,0x92,0x53,0x35, +0x64,0x4a,0x0c,0x15,0x74,0x5d,0x46,0x89,0x03,0x0c,0xae,0x3b,0x37,0x33,0x0a,0x04, +0x21,0x18,0x3b,0x3f,0xae,0x3c,0x36,0x16,0x1f,0x05,0x0a,0x37,0x3d,0x00,0x00,0x01, +0xfd,0x77,0x01,0xc4,0xff,0x88,0x02,0x68,0x00,0x03,0x00,0x00,0x03,0x15,0x21,0x35, +0x78,0xfd,0xf0,0x02,0x68,0xa4,0xa4,0x00,0x00,0x01,0xfa,0xed,0x01,0xc4,0xff,0xff, +0x02,0x68,0x00,0x03,0x00,0x00,0x01,0x35,0x21,0x15,0xfa,0xed,0x05,0x12,0x01,0xc4, +0xa4,0xa4,0x00,0x01,0xfb,0x68,0xff,0xa2,0xff,0xbc,0x04,0xbc,0x00,0x03,0x00,0x00, +0x05,0x27,0x01,0x17,0xfb,0xc8,0x60,0x03,0xf5,0x5f,0x5e,0x4e,0x04,0xcc,0x4f,0x00, +0x00,0x01,0xfa,0x12,0xff,0xba,0xff,0x91,0x06,0x17,0x00,0x03,0x00,0x00,0x05,0x27, +0x01,0x17,0xfa,0x79,0x67,0x05,0x19,0x66,0x46,0x58,0x06,0x05,0x59,0x00,0xff,0xff, +0xfd,0xf9,0xfd,0x3b,0xff,0x0b,0xff,0x60,0x10,0x0f,0x02,0xbf,0xfc,0x8c,0xfc,0x4b, +0xc0,0x00,0xff,0xff,0xfc,0xf1,0xfe,0x5b,0xff,0x18,0xff,0xa5,0x10,0x0f,0x02,0xcd, +0xfc,0x08,0xfd,0xaf,0xc0,0x00,0x00,0x02,0xfc,0xf0,0xfd,0x2e,0xff,0x17,0xff,0x54, +0x00,0x03,0x00,0x07,0x00,0x00,0x07,0x11,0x21,0x11,0x01,0x11,0x21,0x11,0xe9,0xfd, +0xd9,0x01,0x9e,0xfe,0xeb,0xac,0xfd,0xda,0x02,0x26,0xfe,0x62,0x01,0x16,0xfe,0xea, +0x00,0x01,0xfc,0x63,0xfe,0x39,0xff,0x98,0xff,0x58,0x00,0x14,0x00,0x00,0x05,0x36, +0x33,0x32,0x13,0x14,0x15,0x23,0x26,0x23,0x22,0x07,0x23,0x26,0x27,0x22,0x07,0x23, +0x12,0x37,0x32,0xfd,0xfe,0x3b,0x74,0xda,0x11,0x76,0x0d,0x67,0x66,0x10,0x76,0x0b, +0x69,0x66,0x0f,0x76,0x0f,0xdc,0x74,0xfa,0x52,0xfe,0xe6,0x02,0x03,0x96,0x96,0x95, +0x01,0x96,0x01,0x1e,0x01,0x00,0x00,0x01,0xfd,0x2a,0x04,0xf2,0xfe,0xe6,0x06,0xae, +0x00,0x0b,0x00,0x00,0x01,0x07,0x27,0x37,0x27,0x37,0x17,0x37,0x17,0x07,0x17,0x07, +0xfe,0x08,0x7d,0x60,0x7d,0x7d,0x60,0x7d,0x7d,0x60,0x7d,0x7d,0x60,0x05,0x70,0x7d, +0x60,0x7d,0x7d,0x60,0x7d,0x7d,0x60,0x7d,0x7d,0x60,0x00,0x01,0xfe,0x06,0x04,0xc2, +0xff,0x20,0x06,0xd2,0x00,0x1d,0x00,0x00,0x01,0x2e,0x01,0x35,0x34,0x36,0x37,0x15, +0x0e,0x01,0x15,0x14,0x17,0x16,0x1f,0x01,0x1e,0x01,0x15,0x14,0x06,0x07,0x35,0x3e, +0x01,0x35,0x34,0x27,0x26,0x27,0xfe,0x43,0x21,0x1c,0x93,0x87,0x52,0x49,0x09,0x0c, +0x12,0x37,0x21,0x1c,0x93,0x87,0x52,0x49,0x09,0x0c,0x12,0x05,0xc7,0x1c,0x30,0x1c, +0x50,0x51,0x02,0x6e,0x02,0x1b,0x1c,0x0a,0x0c,0x0f,0x0e,0x2b,0x1c,0x30,0x1c,0x50, +0x51,0x02,0x6e,0x02,0x1b,0x1c,0x0a,0x0c,0x0f,0x0e,0xff,0xff,0xfb,0xec,0x04,0x3a, +0x00,0x14,0x06,0x0b,0x10,0x27,0x07,0x97,0xfc,0x00,0x00,0x00,0x10,0x07,0x07,0x97, +0xfc,0x00,0xfe,0xbe,0xff,0xff,0xfc,0xa8,0x04,0xf0,0xfe,0x87,0x06,0x66,0x10,0x07, +0x00,0x43,0xfb,0xfe,0x00,0x00,0xff,0xff,0xfd,0x71,0x04,0xee,0xff,0x50,0x06,0x66, +0x10,0x07,0x00,0x76,0xfb,0xfe,0x00,0x00,0xff,0xff,0xfc,0xb4,0x05,0x1d,0xff,0x48, +0x06,0x37,0x10,0x07,0x02,0x90,0xfb,0xfe,0x00,0x00,0xff,0xff,0xfd,0x84,0x04,0xc2, +0xfe,0x76,0x06,0x72,0x10,0x07,0x07,0x2d,0xfb,0xfe,0x00,0x00,0xff,0xff,0xfc,0xe7, +0x05,0x46,0xff,0x62,0x07,0xd2,0x10,0x07,0x03,0x01,0xfc,0x10,0x00,0x00,0xff,0xff, +0xfd,0xc6,0xfe,0x56,0xfe,0xa2,0xff,0xa4,0x10,0x07,0x02,0xfe,0xfc,0x10,0x00,0x00, +0x00,0x01,0xfc,0xd5,0x05,0x1d,0xff,0x2b,0x06,0x49,0x00,0x07,0x00,0x00,0x03,0x23, +0x35,0x21,0x15,0x23,0x11,0x21,0xd5,0x96,0xfe,0xd6,0x96,0x02,0x56,0x05,0x1d,0x96, +0x96,0x01,0x2c,0x00,0x00,0x02,0xfd,0x1f,0xfe,0x32,0xfe,0xe1,0xff,0xb8,0x00,0x03, +0x00,0x07,0x00,0x00,0x01,0x21,0x35,0x21,0x35,0x21,0x35,0x21,0xfe,0xe1,0xfe,0x3e, +0x01,0xc2,0xfe,0x3e,0x01,0xc2,0xfe,0x32,0x78,0x96,0x78,0x00,0x00,0x02,0xfd,0x15, +0xfe,0x14,0xfe,0xeb,0xff,0x8c,0x00,0x03,0x00,0x07,0x00,0x00,0x05,0x33,0x11,0x23, +0x01,0x33,0x11,0x23,0xfd,0x15,0x96,0x96,0x01,0x40,0x96,0x96,0x74,0xfe,0x88,0x01, +0x78,0xfe,0x88,0x00,0x00,0x01,0xfd,0x1f,0xfe,0x14,0xfe,0xe1,0xff,0xd6,0x00,0x05, +0x00,0x00,0x05,0x21,0x11,0x23,0x11,0x21,0xfd,0x1f,0x01,0xc2,0x96,0xfe,0xd4,0x2a, +0xfe,0x3e,0x01,0x2c,0x00,0x01,0xfc,0xb6,0x04,0xee,0xff,0x4a,0x06,0x66,0x00,0x27, +0x00,0x00,0x01,0x37,0x33,0x07,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x37,0x33,0x06, +0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x07,0x23,0x37,0x26,0x27,0x26,0x23,0x22,0x07, +0x06,0x07,0x23,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0xfd,0xff,0x42,0x6d,0x6b,0x0b, +0x16,0x10,0x0d,0x26,0x12,0x12,0x02,0x7d,0x02,0x33,0x33,0x5b,0x26,0x20,0x1e,0x21, +0x42,0x6e,0x6b,0x0d,0x14,0x10,0x0d,0x26,0x12,0x12,0x02,0x7d,0x02,0x33,0x33,0x5b, +0x26,0x20,0x1e,0x05,0xff,0x67,0xa9,0x09,0x0e,0x0a,0x24,0x25,0x52,0x87,0x4a,0x49, +0x0e,0x0d,0x1d,0x67,0xa8,0x0b,0x0d,0x0a,0x24,0x25,0x52,0x87,0x4a,0x49,0x0e,0x0d, +0x00,0x03,0xfc,0xb6,0x04,0x89,0xff,0x4a,0x06,0xcc,0x00,0x03,0x00,0x07,0x00,0x25, +0x00,0x00,0x01,0x33,0x15,0x23,0x13,0x33,0x15,0x23,0x07,0x27,0x2e,0x01,0x23,0x22, +0x06,0x1d,0x01,0x23,0x34,0x36,0x33,0x32,0x16,0x1f,0x01,0x1e,0x01,0x33,0x32,0x36, +0x3d,0x01,0x33,0x0e,0x01,0x23,0x22,0x26,0xfd,0x48,0x96,0x96,0xd2,0x96,0x96,0x1e, +0x39,0x19,0x1f,0x0c,0x24,0x28,0x7d,0x67,0x56,0x24,0x3d,0x30,0x39,0x17,0x22,0x0f, +0x20,0x28,0x7d,0x02,0x67,0x54,0x22,0x3b,0x05,0x1f,0x96,0x02,0x43,0x96,0xce,0x21, +0x0e,0x0b,0x32,0x2d,0x06,0x65,0x76,0x10,0x1b,0x1e,0x0d,0x0c,0x33,0x29,0x06,0x64, +0x77,0x10,0xff,0xff,0xfc,0xb6,0x04,0xc5,0xff,0x4a,0x06,0x90,0x10,0x22,0x0b,0xeb, +0x00,0xb7,0x10,0x03,0x0b,0xeb,0x00,0x00,0x00,0xa7,0x00,0x01,0xfc,0x63,0xfe,0x28, +0xff,0x9d,0xff,0xc2,0x00,0x0d,0x00,0x00,0x01,0x37,0x21,0x17,0x23,0x27,0x37,0x33, +0x07,0x21,0x27,0x33,0x17,0x07,0xfe,0x70,0x84,0xfe,0x19,0x84,0x7f,0xaf,0xaf,0x7f, +0x84,0x01,0xe7,0x84,0x7e,0xaf,0xaf,0xfe,0x28,0x9b,0x9b,0xcd,0xcd,0x9b,0x9b,0xcd, +0xcd,0x00,0x00,0x01,0xfd,0x33,0xfe,0x14,0xfe,0xcd,0xff,0xa4,0x00,0x08,0x00,0x00, +0x01,0x23,0x35,0x07,0x35,0x37,0x17,0x15,0x27,0xfe,0x32,0x64,0x9b,0xcd,0xcd,0x9b, +0xfe,0x14,0xe7,0x84,0x7e,0xaf,0xaf,0x7e,0x84,0x00,0x00,0x01,0xfd,0x78,0x04,0xe1, +0xfe,0x88,0x07,0x06,0x00,0x10,0x00,0x00,0x01,0x06,0x07,0x06,0x15,0x14,0x17,0x16, +0x17,0x15,0x26,0x27,0x26,0x34,0x37,0x36,0x37,0xfe,0x88,0x40,0x2a,0x2c,0x2c,0x2a, +0x40,0x72,0x4e,0x50,0x50,0x4e,0x72,0x06,0x8b,0x01,0x2a,0x2c,0x40,0x41,0x2b,0x2b, +0x01,0x7b,0x01,0x4f,0x50,0xe6,0x50,0x4e,0x01,0x00,0xff,0xff,0xfc,0xbf,0x05,0x29, +0xff,0x31,0x06,0xd8,0x10,0x27,0x02,0xb4,0x00,0x00,0x00,0x90,0x10,0x06,0x02,0xaa, +0x00,0xe5,0xff,0xff,0xfd,0x2a,0xfd,0x54,0xfe,0xe6,0xff,0x10,0x10,0x07,0x02,0xe0, +0x00,0x00,0xf8,0x62,0x00,0x01,0xfd,0x78,0x04,0xe1,0xfe,0x88,0x07,0x06,0x00,0x10, +0x00,0x00,0x01,0x35,0x16,0x17,0x16,0x14,0x07,0x06,0x07,0x35,0x36,0x37,0x36,0x35, +0x34,0x27,0x26,0xfd,0x78,0x72,0x4e,0x50,0x50,0x4e,0x72,0x40,0x2a,0x2c,0x2c,0x2a, +0x06,0x8b,0x7b,0x01,0x4e,0x50,0xe6,0x50,0x4f,0x01,0x7b,0x01,0x2b,0x2b,0x41,0x40, +0x2c,0x2a,0xff,0xff,0xff,0x2e,0x05,0x44,0xff,0xfa,0x06,0x10,0x10,0x07,0x02,0x8d, +0xfd,0x94,0x00,0x00,0xff,0xff,0xfc,0x70,0xfe,0x1b,0x03,0x90,0xff,0x85,0x10,0x07, +0x07,0x98,0xfc,0xc9,0x00,0x00,0xff,0xff,0xfc,0x70,0x06,0x6b,0x03,0x90,0x07,0xd5, +0x10,0x07,0x07,0x98,0xfc,0xc9,0x08,0x50,0x00,0x01,0xfd,0x2a,0x05,0x1d,0x02,0xd6, +0x06,0x37,0x00,0x23,0x00,0x00,0x03,0x27,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x07, +0x23,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x1f,0x01,0x16,0x17,0x16,0x33,0x32,0x37, +0x36,0x37,0x33,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x04,0x90,0x1c,0x4f,0x2c,0x24, +0x65,0x35,0x46,0x05,0xa2,0x04,0x71,0x70,0xc8,0x5b,0x3f,0x39,0x5a,0x90,0x1c,0x4f, +0x2c,0x24,0x61,0x39,0x47,0x04,0xa2,0x04,0x71,0x70,0xc8,0x5b,0x3f,0x39,0x05,0x5a, +0x37,0x0b,0x12,0x0a,0x24,0x30,0x47,0x87,0x4a,0x49,0x0e,0x0d,0x22,0x37,0x0b,0x12, +0x0a,0x24,0x2c,0x4b,0x87,0x4a,0x49,0x0e,0x0d,0x00,0xff,0xff,0xfc,0x70,0x06,0x04, +0x03,0x90,0x07,0x6e,0x10,0x07,0x07,0x99,0xfc,0xc9,0x00,0x00,0x00,0x01,0xfc,0x77, +0xfe,0x28,0x03,0x93,0xff,0xc2,0x00,0x08,0x00,0x00,0x01,0x35,0x21,0x27,0x33,0x17, +0x07,0x23,0x37,0xfc,0x77,0x06,0x73,0x84,0x7e,0xaf,0xaf,0x7e,0x84,0xfe,0xc3,0x64, +0x9b,0xcd,0xcd,0x9b,0x00,0x01,0x00,0xa0,0x04,0x74,0x01,0x9f,0x06,0x66,0x00,0x03, +0x00,0x11,0x40,0x06,0x01,0x00,0x04,0x02,0x00,0x04,0x10,0xd4,0xcc,0x31,0x00,0x10, +0xd4,0xcc,0x30,0x1b,0x01,0x33,0x03,0xa0,0x41,0xbe,0x6e,0x04,0x74,0x01,0xf2,0xfe, +0x0e,0x00,0x00,0x01,0x00,0xa0,0xfe,0x56,0x01,0x9f,0x00,0x48,0x00,0x03,0x00,0x11, +0x40,0x06,0x02,0x03,0x04,0x00,0x02,0x04,0x10,0xd4,0xcc,0x31,0x00,0x10,0xd4,0xcc, +0x30,0x25,0x03,0x23,0x13,0x01,0x9f,0x41,0xbe,0x6e,0x48,0xfe,0x0e,0x01,0xf2,0x00, +0x00,0x01,0x01,0xb6,0xfe,0x56,0x02,0x92,0xff,0xa4,0x00,0x09,0x00,0x00,0x01,0x23, +0x22,0x3d,0x01,0x33,0x15,0x14,0x3b,0x01,0x02,0x92,0x84,0x58,0x95,0x33,0x14,0xfe, +0x56,0xb7,0x97,0xa4,0x68,0x00,0xff,0xff,0x00,0x9e,0xff,0x12,0x01,0xc3,0x04,0x23, +0x12,0x06,0x00,0x1e,0x00,0x00,0x00,0x01,0x01,0x73,0x04,0xee,0x03,0x52,0x06,0x66, +0x00,0x03,0x00,0x31,0x40,0x09,0x02,0xb4,0x00,0xb3,0x04,0x03,0x44,0x01,0x04,0x10, +0xd4,0xec,0x31,0x00,0x10,0xf4,0xec,0x30,0x00,0x4b,0xb0,0x09,0x54,0x4b,0xb0,0x0e, +0x54,0x5b,0x58,0xbd,0x00,0x04,0xff,0xc0,0x00,0x01,0x00,0x04,0x00,0x04,0x00,0x40, +0x38,0x11,0x37,0x38,0x59,0x01,0x33,0x01,0x23,0x02,0x8b,0xc7,0xfe,0xba,0x99,0x06, +0x66,0xfe,0x88,0x00,0xff,0xff,0x00,0xd7,0x05,0x46,0x03,0x52,0x07,0xd2,0x12,0x26, +0x00,0x6a,0x00,0x00,0x11,0x07,0x03,0x00,0x00,0x00,0x01,0x6c,0x00,0x14,0x00,0x40, +0x07,0xaf,0x08,0x9f,0x08,0x5f,0x08,0x03,0x5d,0x40,0x05,0x5f,0x08,0x0f,0x08,0x02, +0x71,0x30,0xff,0xff,0x00,0x10,0x00,0x00,0x05,0x68,0x06,0x66,0x10,0x27,0x03,0x00, +0xfe,0xda,0x00,0x00,0x10,0x06,0x03,0x0b,0x00,0x00,0xff,0xff,0x00,0xdb,0x02,0x48, +0x01,0xae,0x03,0x46,0x12,0x06,0x00,0x79,0x00,0x00,0xff,0xff,0xff,0xe7,0x00,0x00, +0x05,0x75,0x06,0x66,0x10,0x27,0x03,0x00,0xfe,0x74,0x00,0x00,0x10,0x07,0x03,0x0f, +0x00,0xea,0x00,0x00,0xff,0xff,0xff,0xf3,0x00,0x00,0x06,0x1f,0x06,0x66,0x10,0x27, +0x03,0x00,0xfe,0x80,0x00,0x00,0x10,0x07,0x03,0x11,0x00,0xe4,0x00,0x00,0xff,0xff, +0xff,0xed,0x00,0x00,0x02,0x7d,0x06,0x66,0x10,0x27,0x03,0x00,0xfe,0x7a,0x00,0x00, +0x10,0x07,0x03,0x13,0x00,0xea,0x00,0x00,0xff,0xff,0xff,0xf2,0xff,0xe3,0x06,0x01, +0x06,0x66,0x10,0x27,0x03,0x00,0xfe,0x7f,0x00,0x00,0x10,0x06,0x03,0x19,0x28,0x00, +0xff,0xff,0xff,0xe1,0x00,0x00,0x06,0x91,0x06,0x66,0x10,0x27,0x03,0x00,0xfe,0x6e, +0x00,0x00,0x10,0x07,0x03,0x1e,0x01,0xaa,0x00,0x00,0xff,0xff,0xff,0xdb,0x00,0x00, +0x06,0x05,0x06,0x66,0x10,0x27,0x03,0x00,0xfe,0x68,0x00,0x00,0x10,0x06,0x03,0x22, +0x36,0x00,0xff,0xff,0x00,0x05,0x00,0x00,0x02,0x80,0x07,0xd2,0x10,0x27,0x03,0x01, +0xff,0x2e,0x00,0x00,0x12,0x06,0x03,0x32,0x0f,0x00,0xff,0xff,0x00,0x10,0x00,0x00, +0x05,0x68,0x05,0xd5,0x12,0x06,0x00,0x24,0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00, +0x04,0xec,0x05,0xd5,0x12,0x06,0x00,0x25,0x00,0x00,0x00,0x01,0x00,0xc9,0x00,0x00, +0x04,0x6a,0x05,0xd5,0x00,0x05,0x00,0x19,0x40,0x0c,0x04,0x95,0x01,0x81,0x00,0x07, +0x02,0x04,0x1c,0x01,0x04,0x06,0x10,0xfc,0xfc,0xcc,0xc4,0x31,0x00,0x2f,0xf4,0xec, +0x30,0x33,0x11,0x21,0x15,0x21,0x11,0xc9,0x03,0xa1,0xfd,0x29,0x05,0xd5,0xaa,0xfa, +0xd5,0x00,0x00,0x02,0x00,0x10,0x00,0x00,0x05,0x68,0x05,0xd5,0x00,0x02,0x00,0x06, +0x00,0x3d,0x40,0x0c,0x42,0x00,0x95,0x04,0x81,0x01,0x95,0x03,0x08,0x06,0x03,0x07, +0x10,0xd4,0xc4,0xc4,0x31,0x00,0x2f,0xec,0xf4,0xec,0x30,0x4b,0x53,0x58,0x40,0x12, +0x00,0x11,0x05,0x04,0x03,0x02,0x11,0x06,0x06,0x05,0x00,0x11,0x04,0x01,0x11,0x03, +0x03,0x04,0x05,0x07,0x10,0xec,0x10,0xec,0x07,0x10,0xec,0x08,0x10,0xec,0x59,0x09, +0x01,0x21,0x05,0x01,0x33,0x01,0x02,0xbc,0xfe,0x66,0x03,0x35,0xfb,0xb9,0x02,0x3a, +0xe5,0x02,0x39,0x05,0x0e,0xfb,0x9a,0xa8,0x05,0xd5,0xfa,0x2b,0xff,0xff,0x00,0xc9, +0x00,0x00,0x04,0x8b,0x05,0xd5,0x12,0x06,0x00,0x28,0x00,0x00,0xff,0xff,0x00,0x5c, +0x00,0x00,0x05,0x1f,0x05,0xd5,0x12,0x06,0x00,0x3d,0x00,0x00,0xff,0xff,0x00,0xc9, +0x00,0x00,0x05,0x3b,0x05,0xd5,0x12,0x06,0x00,0x2b,0x00,0x00,0x00,0x03,0x00,0x73, +0xff,0xe3,0x05,0xd9,0x05,0xf0,0x00,0x03,0x00,0x12,0x00,0x21,0x00,0x32,0x40,0x1c, +0x04,0x95,0x13,0x91,0x22,0x03,0x95,0x00,0xad,0x22,0x0b,0x95,0x1a,0x8c,0x22,0x23, +0x10,0x01,0x0f,0x19,0x16,0x33,0x00,0x08,0x19,0x1e,0x10,0x22,0x10,0xfc,0xec,0xc4, +0xf4,0xec,0xc4,0xec,0x31,0x00,0x10,0xf4,0xec,0x10,0xf4,0xec,0x10,0xf4,0xec,0x30, +0x01,0x21,0x15,0x21,0x01,0x22,0x07,0x06,0x11,0x10,0x00,0x33,0x32,0x37,0x36,0x11, +0x10,0x27,0x26,0x27,0x20,0x00,0x11,0x10,0x07,0x06,0x21,0x20,0x27,0x26,0x11,0x10, +0x37,0x36,0x01,0xc5,0x02,0xc2,0xfd,0x3e,0x01,0x62,0xdc,0x81,0x82,0x01,0x03,0xdc, +0xdc,0x81,0x80,0x80,0x81,0xdc,0x01,0x3a,0x01,0x78,0xbc,0xbc,0xfe,0xc6,0xfe,0xc5, +0xbc,0xbd,0xbd,0xbc,0x03,0x70,0xaa,0x02,0x86,0xa4,0xa4,0xfe,0xe5,0xfe,0xe6,0xfe, +0xb8,0xa4,0xa4,0x01,0x1a,0x01,0x1b,0xa4,0xa4,0xa4,0xfe,0x5b,0xfe,0x9e,0xfe,0x9f, +0xd2,0xd3,0xd2,0xd2,0x01,0x62,0x01,0x62,0xd3,0xd2,0xff,0xff,0x00,0xc9,0x00,0x00, +0x01,0x93,0x05,0xd5,0x12,0x06,0x00,0x2c,0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00, +0x05,0x6a,0x05,0xd5,0x12,0x06,0x00,0x2e,0x00,0x00,0x00,0x01,0x00,0x10,0x00,0x00, +0x05,0x68,0x05,0xd5,0x00,0x06,0x00,0x3c,0x40,0x0b,0x42,0x06,0x95,0x02,0x81,0x05, +0x01,0x08,0x04,0x01,0x07,0x10,0xd4,0xc4,0xc4,0x31,0x00,0x2f,0x3c,0xf4,0xec,0x30, +0x4b,0x53,0x58,0x40,0x12,0x06,0x11,0x03,0x02,0x01,0x05,0x11,0x04,0x04,0x03,0x06, +0x11,0x02,0x00,0x11,0x01,0x01,0x02,0x05,0x07,0x10,0xec,0x10,0xec,0x07,0x10,0xec, +0x08,0x10,0xec,0x59,0x33,0x23,0x01,0x33,0x01,0x23,0x01,0xe5,0xd5,0x02,0x3a,0xe5, +0x02,0x39,0xd2,0xfe,0x26,0x05,0xd5,0xfa,0x2b,0x05,0x0e,0x00,0xff,0xff,0x00,0xc9, +0x00,0x00,0x06,0x1f,0x05,0xd5,0x12,0x06,0x00,0x30,0x00,0x00,0xff,0xff,0x00,0xc9, +0x00,0x00,0x05,0x33,0x05,0xd5,0x12,0x06,0x00,0x31,0x00,0x00,0x00,0x03,0x00,0xc9, +0x00,0x00,0x04,0x62,0x05,0xd5,0x00,0x03,0x00,0x07,0x00,0x0b,0x00,0x2a,0x40,0x16, +0x07,0x95,0x04,0x81,0x0b,0x03,0x95,0x00,0xad,0x08,0x95,0x0b,0x0d,0x04,0x01,0x09, +0x05,0x00,0x08,0x04,0x04,0x0c,0x10,0xfc,0x3c,0xc4,0xd4,0x3c,0xc4,0xec,0x31,0x00, +0x2f,0xec,0xf4,0xec,0x10,0xf4,0xec,0x30,0x01,0x21,0x15,0x21,0x03,0x21,0x15,0x21, +0x11,0x21,0x15,0x21,0x01,0x32,0x02,0xc7,0xfd,0x39,0x69,0x03,0x99,0xfc,0x67,0x03, +0x99,0xfc,0x67,0x03,0x71,0xaa,0x03,0x0e,0xaa,0xfb,0x7f,0xaa,0xff,0xff,0x00,0x73, +0xff,0xe3,0x05,0xd9,0x05,0xf0,0x12,0x06,0x00,0x32,0x00,0x00,0xff,0xff,0x00,0xc9, +0x00,0x00,0x05,0x3b,0x05,0xd5,0x12,0x06,0x03,0x97,0x00,0x00,0xff,0xff,0x00,0xc9, +0x00,0x00,0x04,0x8d,0x05,0xd5,0x12,0x06,0x00,0x33,0x00,0x00,0x00,0x01,0x00,0xc9, +0x00,0x00,0x04,0x8b,0x05,0xd5,0x00,0x0b,0x00,0x46,0x40,0x11,0x42,0x0a,0x06,0x95, +0x07,0x81,0x00,0x04,0x95,0x03,0x0d,0x01,0x08,0x04,0x07,0x04,0x0c,0x10,0xfc,0x3c, +0xd4,0x3c,0xcc,0x31,0x00,0x2f,0xec,0x32,0xf4,0xec,0x32,0x30,0x4b,0x53,0x58,0x40, +0x12,0x0b,0x11,0x05,0x05,0x04,0x0a,0x11,0x06,0x06,0x05,0x0b,0x11,0x05,0x00,0x11, +0x04,0x05,0x04,0x05,0x07,0x10,0xec,0x10,0xec,0x07,0x10,0xec,0x08,0x10,0xec,0x59, +0x25,0x21,0x15,0x21,0x35,0x09,0x01,0x35,0x21,0x15,0x21,0x01,0x01,0xb1,0x02,0xda, +0xfc,0x3e,0x01,0xdf,0xfe,0x21,0x03,0xb0,0xfd,0x38,0x01,0xdf,0xaa,0xaa,0xaa,0x02, +0x70,0x02,0x11,0xaa,0xaa,0xfd,0xf3,0x00,0xff,0xff,0xff,0xfa,0x00,0x00,0x04,0xe9, +0x05,0xd5,0x12,0x06,0x00,0x37,0x00,0x00,0xff,0xff,0xff,0xfc,0x00,0x00,0x04,0xe7, +0x05,0xd5,0x12,0x06,0x00,0x3c,0x00,0x00,0xff,0xff,0x00,0x73,0x00,0x00,0x05,0xd9, +0x05,0xd5,0x12,0x06,0x03,0x9c,0x00,0x00,0xff,0xff,0x00,0x3d,0x00,0x00,0x05,0x3b, +0x05,0xd5,0x12,0x06,0x00,0x3b,0x00,0x00,0x00,0x01,0x00,0x73,0x00,0x00,0x05,0xdb, +0x05,0xd5,0x00,0x1d,0x00,0x2e,0x40,0x17,0x10,0x0d,0x95,0x1b,0x02,0x15,0x0e,0x07, +0x81,0x00,0x1f,0x15,0x1c,0x16,0x02,0x0e,0x1c,0x1b,0x0f,0x08,0x1c,0x07,0x1e,0x10, +0xdc,0xec,0xd4,0x3c,0xfc,0x3c,0xd4,0xec,0xcc,0x31,0x00,0x2f,0xe4,0x32,0x32,0xdc, +0x3c,0xec,0x32,0x30,0x21,0x36,0x27,0x22,0x27,0x26,0x03,0x11,0x33,0x11,0x10,0x17, +0x16,0x17,0x11,0x33,0x11,0x36,0x37,0x36,0x19,0x01,0x33,0x11,0x02,0x07,0x06,0x23, +0x06,0x17,0x02,0xc2,0x01,0x01,0xd6,0xbc,0xb8,0x05,0xd5,0x82,0x6e,0x8a,0xca,0x8a, +0x6e,0x82,0xd5,0x05,0xb8,0xbc,0xd6,0x01,0x01,0x86,0xb0,0xd2,0xcc,0x01,0x68,0x01, +0x99,0xfe,0x67,0xfe,0xe6,0xa4,0x8c,0x0e,0x03,0xf1,0xfc,0x0f,0x0e,0x8c,0xa4,0x01, +0x1a,0x01,0x99,0xfe,0x67,0xfe,0x98,0xcc,0xd2,0x48,0xee,0x00,0x00,0x01,0x00,0x4e, +0x00,0x00,0x05,0xcf,0x05,0xe7,0x00,0x26,0x00,0x33,0x40,0x1b,0x0b,0x95,0x1e,0x91, +0x26,0x03,0x12,0x15,0x95,0x02,0x14,0x03,0x07,0x19,0x28,0x10,0x00,0x22,0x33,0x1a, +0x12,0x0e,0x19,0x15,0x1a,0x10,0x27,0x10,0xfc,0xc4,0xfc,0xc4,0x10,0xf4,0xc4,0xec, +0xfc,0xc4,0x31,0x00,0x2f,0x3c,0xec,0x32,0x32,0x32,0xf4,0xec,0x30,0x25,0x15,0x21, +0x35,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x00,0x15,0x14,0x17,0x16,0x17, +0x15,0x21,0x35,0x21,0x26,0x27,0x26,0x35,0x10,0x37,0x36,0x21,0x20,0x17,0x16,0x11, +0x14,0x07,0x06,0x07,0x05,0xcf,0xfd,0xa8,0xb1,0x63,0x63,0x84,0x84,0xd8,0xd8,0xfe, +0xf7,0x63,0x64,0xb2,0xfd,0xa8,0x01,0x3f,0x9e,0x49,0x48,0xc0,0xbf,0x01,0x31,0x01, +0x2f,0xc1,0xc0,0x47,0x47,0xa1,0xb2,0xb2,0xb2,0x61,0xa6,0xa6,0xca,0xf0,0x91,0x91, +0xfe,0xdd,0xef,0xca,0xa6,0xa6,0x61,0xb2,0xb2,0x8b,0x95,0x95,0xb8,0x01,0x3e,0xc5, +0xc5,0xc5,0xc4,0xfe,0xcb,0xc2,0x94,0x94,0x8d,0x00,0xff,0xff,0x00,0x06,0x00,0x00, +0x02,0x58,0x07,0x4e,0x10,0x27,0x0b,0xe9,0x03,0x2f,0x01,0x75,0x13,0x06,0x03,0x13, +0x00,0x00,0x00,0x08,0xb4,0x09,0x03,0x06,0x08,0x07,0x2b,0x31,0xff,0xff,0xff,0xfc, +0x00,0x00,0x04,0xe7,0x07,0x4e,0x10,0x27,0x0b,0xe9,0x04,0x71,0x01,0x75,0x13,0x06, +0x03,0x1e,0x00,0x00,0x00,0x08,0xb4,0x0c,0x02,0x07,0x08,0x07,0x2b,0x31,0xff,0xff, +0x00,0x71,0xff,0xe6,0x04,0xe5,0x06,0x66,0x12,0x26,0x03,0x2a,0x00,0x00,0x10,0x06, +0x03,0x00,0x6e,0x00,0xff,0xff,0x00,0x85,0xff,0xe3,0x03,0xc8,0x06,0x66,0x10,0x26, +0x03,0x00,0x50,0x00,0x12,0x06,0x03,0x2e,0x00,0x00,0xff,0xff,0x00,0xba,0xfe,0x56, +0x04,0x64,0x06,0x66,0x10,0x27,0x03,0x00,0x00,0xc6,0x00,0x00,0x12,0x06,0x03,0x30, +0x00,0x00,0xff,0xff,0x00,0xa6,0x00,0x00,0x02,0x98,0x06,0x66,0x12,0x26,0x03,0x32, +0x00,0x00,0x10,0x07,0x03,0x00,0xff,0x46,0x00,0x00,0xff,0xff,0x00,0x95,0xff,0xff, +0x04,0x2a,0x07,0xd2,0x12,0x26,0x03,0x3e,0x00,0x00,0x10,0x06,0x03,0x01,0x1b,0x00, +0x00,0x02,0x00,0x71,0xff,0xe6,0x04,0xe5,0x04,0x7a,0x00,0x0d,0x00,0x2a,0x00,0x68, +0x40,0x0b,0x12,0x11,0x07,0x2c,0x10,0x17,0x07,0x12,0x25,0x45,0x2b,0x10,0xfc,0xec, +0xd4,0xc4,0xc4,0x12,0x39,0x39,0x40,0x0a,0x3f,0x10,0x2f,0x10,0x1f,0x10,0x03,0x8f, +0x10,0x01,0x5d,0x71,0x00,0x40,0x11,0x12,0x11,0x0b,0x03,0xb9,0x29,0xb8,0x19,0x0b, +0xb9,0x21,0x8c,0x0f,0xbc,0x16,0x87,0x19,0x2f,0xec,0xe4,0xf4,0xec,0x10,0xf4,0xec, +0x11,0x39,0x39,0x05,0x40,0x14,0x1d,0x11,0x00,0x11,0x0e,0x11,0x12,0x11,0x11,0x10, +0x0f,0x11,0x0e,0x11,0x00,0x11,0x1d,0x11,0x11,0x10,0x07,0x10,0x3c,0xec,0xec,0xec, +0x08,0x07,0x10,0x3c,0xec,0xec,0x31,0x30,0x01,0x27,0x26,0x27,0x26,0x07,0x06,0x15, +0x14,0x17,0x16,0x33,0x32,0x37,0x1b,0x01,0x33,0x03,0x17,0x16,0x17,0x16,0x3b,0x01, +0x15,0x23,0x22,0x27,0x26,0x27,0x06,0x07,0x06,0x27,0x26,0x27,0x26,0x11,0x10,0x37, +0x36,0x37,0x24,0x03,0x4e,0x2c,0x2d,0xb2,0x86,0x3d,0x4d,0x4b,0x4c,0x79,0x86,0x48, +0xa4,0x63,0xa4,0xcd,0x28,0x09,0x23,0x29,0x20,0x58,0x6e,0x5e,0x54,0x29,0x11,0x2c, +0x60,0x2c,0x8f,0xea,0x73,0x75,0x7f,0x8d,0xc6,0x01,0x37,0x02,0x09,0xe7,0xec,0x01, +0x01,0x6f,0x89,0xb7,0xdc,0x69,0x6b,0xd5,0x01,0xe7,0x01,0x25,0xfd,0xa1,0xdb,0x31, +0x29,0x30,0x9c,0x54,0x2a,0x58,0x6b,0x5b,0x2a,0x01,0x02,0x96,0x9c,0x01,0x14,0x01, +0x29,0x87,0x97,0x03,0x05,0x00,0x00,0x02,0x00,0xbf,0xfe,0x56,0x04,0x89,0x06,0x23, +0x00,0x0e,0x00,0x1c,0x00,0x37,0x40,0x0f,0x18,0x12,0x07,0x1e,0x45,0x13,0x12,0x0b, +0x16,0x00,0x1c,0x08,0x03,0x46,0x1d,0x10,0xfc,0xec,0x32,0xc4,0xd4,0xec,0xe4,0xd4, +0xec,0x31,0x00,0x40,0x0e,0x1a,0xb9,0x05,0x09,0x15,0xb9,0x16,0x11,0xb9,0x0d,0x8c, +0x02,0xbd,0x1d,0x10,0xec,0xf4,0xec,0xd4,0xfc,0x39,0xd4,0xec,0x30,0x25,0x11,0x23, +0x11,0x10,0x05,0x04,0x11,0x02,0x07,0x04,0x13,0x12,0x05,0x06,0x03,0x16,0x17,0x04, +0x11,0x10,0x05,0x35,0x04,0x11,0x34,0x27,0x24,0x11,0x01,0x79,0xb9,0x01,0xcd,0x01, +0x8f,0x01,0xab,0x01,0x16,0x02,0x04,0xfe,0x1a,0x82,0xab,0x51,0xe3,0x01,0x20,0xfe, +0x30,0x01,0x6b,0xea,0xfe,0xfb,0x45,0xfe,0x11,0x06,0x03,0x01,0xe7,0x1f,0x1b,0xfe, +0x9a,0xfe,0xec,0x62,0x36,0xfe,0xd1,0xfe,0x3d,0x17,0x06,0x01,0x71,0x8d,0x15,0x19, +0x01,0x27,0x01,0x1a,0x16,0xaa,0x06,0x01,0x30,0xbd,0x0d,0x0f,0xfe,0xe0,0x00,0x01, +0x00,0x20,0xfe,0x56,0x04,0x7f,0x04,0x60,0x00,0x0e,0x00,0x40,0x40,0x07,0x10,0x03, +0x07,0x08,0x04,0x0c,0x0f,0x10,0xd4,0xd4,0xfc,0xd4,0xc4,0x31,0x00,0x40,0x07,0x02, +0x0c,0xbf,0x06,0xbd,0x04,0x07,0x2f,0x3c,0xec,0xe4,0x32,0x30,0x05,0x40,0x12,0x01, +0x11,0x08,0x07,0x02,0x11,0x03,0x04,0x03,0x0e,0x0d,0x01,0x11,0x00,0x11,0x07,0x08, +0x07,0x07,0x10,0xec,0xec,0x39,0x39,0x07,0x10,0xec,0x08,0xec,0x01,0x13,0x01,0x33, +0x01,0x11,0x23,0x11,0x01,0x26,0x2b,0x01,0x35,0x33,0x32,0x01,0x69,0xf5,0x01,0x5e, +0xc3,0xfe,0x3b,0xb8,0xfe,0xda,0x2c,0x5f,0x31,0x46,0xc5,0x03,0xb0,0xfd,0x4c,0x03, +0x64,0xfb,0xa0,0xfe,0x56,0x01,0xaa,0x03,0x44,0x7e,0x9e,0x00,0x00,0x02,0x00,0x71, +0xff,0xe3,0x04,0x75,0x05,0xf0,0x00,0x1c,0x00,0x2d,0x00,0x54,0x40,0x14,0x06,0x05, +0x28,0x04,0x2f,0x45,0x1c,0x28,0x12,0x0a,0x51,0x12,0x04,0x12,0x18,0x21,0x12,0x12, +0x45,0x2e,0x10,0xfc,0xec,0xd4,0xec,0x10,0xf4,0xb2,0x7f,0x0a,0x01,0x5d,0xec,0xc4, +0xec,0x11,0x12,0x39,0x39,0x00,0x40,0x0e,0x06,0x05,0x25,0x02,0x1c,0x00,0x02,0xb9, +0x1a,0x25,0xb9,0x0e,0x8c,0x2e,0x10,0xf4,0xec,0xd4,0xfc,0xd4,0xcc,0x11,0x12,0x39, +0x39,0x40,0x06,0x16,0x1d,0x53,0x05,0x06,0x05,0x07,0x0e,0x10,0xec,0x39,0x31,0x30, +0x01,0x26,0x23,0x22,0x15,0x14,0x05,0x16,0x17,0x16,0x11,0x10,0x07,0x06,0x23,0x22, +0x27,0x26,0x11,0x34,0x37,0x36,0x37,0x26,0x35,0x10,0x21,0x32,0x17,0x01,0x06,0x07, +0x06,0x15,0x14,0x17,0x16,0x33,0x32,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x03,0xec, +0x66,0xef,0xfd,0x01,0x08,0xd0,0x75,0x8e,0x89,0x89,0xf0,0xef,0x8a,0x89,0x89,0x35, +0x4b,0x9c,0x01,0xb9,0xdd,0x78,0xfe,0x18,0x44,0x37,0x56,0x55,0x56,0x95,0x93,0xac, +0x5b,0x61,0x7e,0x40,0x05,0x11,0x46,0x75,0x5c,0x30,0x25,0x70,0x87,0xfe,0xeb,0xfe, +0xf7,0x9c,0x9d,0x9d,0x9c,0x01,0x13,0xcc,0xa5,0x40,0x24,0x4f,0x8d,0x01,0x10,0x46, +0xfe,0x28,0x1d,0x49,0x71,0xcc,0xcb,0x72,0x73,0xe8,0xbe,0xc7,0x60,0x67,0x0b,0x06, +0x00,0x01,0x00,0x85,0xff,0xe3,0x03,0xc8,0x04,0x7c,0x00,0x32,0x00,0x3d,0x40,0x22, +0x0c,0x86,0x0b,0x88,0x10,0xb9,0x08,0xb8,0x33,0x1b,0xa9,0x18,0x33,0x27,0x86,0x28, +0x88,0x23,0xb9,0x2c,0x8c,0x33,0x34,0x19,0x0b,0x27,0x14,0x08,0x04,0x1f,0x08,0x30, +0x45,0x33,0x10,0xfc,0xec,0xd4,0xec,0xd4,0xc4,0xc4,0xc4,0x31,0x00,0x10,0xf4,0xec, +0xf4,0xec,0x10,0xd4,0xec,0x10,0xf4,0xec,0xf4,0xec,0x30,0x01,0x26,0x27,0x26,0x35, +0x34,0x37,0x36,0x33,0x32,0x16,0x17,0x15,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x15, +0x14,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x07,0x06,0x15,0x14,0x17,0x16,0x33,0x32, +0x37,0x36,0x37,0x15,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x35,0x34,0x36,0x01,0x8b, +0x70,0x3c,0x3c,0x72,0x71,0xc4,0x4c,0xaa,0x62,0x61,0x50,0x51,0x47,0x77,0x45,0x46, +0x44,0x43,0x74,0x9b,0x94,0x89,0x48,0x4e,0x54,0x55,0x97,0x5d,0x55,0x55,0x47,0x5a, +0x54,0x55,0x50,0xee,0x81,0x81,0x8a,0x02,0x5c,0x18,0x41,0x40,0x5d,0x8d,0x4f,0x4e, +0x18,0x18,0xa7,0x1d,0x0d,0x0d,0x2e,0x2e,0x40,0x46,0x2d,0x2c,0x98,0x33,0x38,0x58, +0x5a,0x38,0x38,0x12,0x13,0x25,0xab,0x1c,0x0e,0x0e,0x5b,0x5b,0xad,0x6c,0x92,0x00, +0x00,0x01,0x00,0x6a,0xfe,0x52,0x03,0xf8,0x06,0x14,0x00,0x1d,0x00,0x3e,0x40,0x0b, +0x0a,0x0e,0x12,0x1f,0x04,0x19,0x18,0x1c,0x12,0x14,0x1e,0x10,0xd4,0xec,0xd4,0xd4, +0xd4,0xc4,0xfc,0xcc,0x4b,0xb0,0x10,0x51,0x58,0xb9,0x00,0x16,0x00,0x40,0x38,0x59, +0x31,0x00,0x40,0x0e,0x08,0xb9,0x0a,0x00,0xb9,0x12,0x8c,0x1e,0x1a,0x17,0x87,0x18, +0x97,0x1e,0x10,0xf4,0xec,0x32,0x10,0xf4,0xec,0xdc,0xec,0x30,0x25,0x16,0x17,0x16, +0x15,0x14,0x07,0x06,0x23,0x34,0x35,0x16,0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x20, +0x03,0x02,0x01,0x21,0x35,0x21,0x15,0x00,0x13,0x12,0x02,0xca,0x84,0x4f,0x54,0x4a, +0x50,0xa3,0x45,0x2a,0x20,0x20,0x1f,0x3a,0xfd,0xb5,0x14,0x11,0x02,0x4c,0xfd,0xec, +0x03,0x66,0xfc,0xfe,0x2e,0x2c,0x7f,0x01,0x4b,0x4f,0x78,0x73,0x50,0x57,0x4b,0x4c, +0x05,0x2c,0x23,0x25,0x35,0x2c,0x2a,0x02,0x33,0x01,0xe0,0x01,0x65,0xb9,0xb9,0xfe, +0x61,0xfe,0x5a,0xfe,0x69,0x00,0x00,0x01,0x00,0xba,0xfe,0x56,0x04,0x64,0x04,0x7b, +0x00,0x15,0x00,0x31,0x40,0x16,0x06,0x87,0x0e,0x12,0xb8,0x0c,0xbc,0x02,0xbd,0x0b, +0x17,0x46,0x03,0x08,0x00,0x4e,0x09,0x0d,0x08,0x0c,0x46,0x16,0x10,0xfc,0xec,0x32, +0xf4,0xec,0xec,0x31,0x00,0x2f,0xec,0xe4,0xf4,0xc4,0xec,0x30,0x40,0x05,0xa0,0x17, +0x80,0x17,0x02,0x01,0x5d,0x01,0x11,0x23,0x11,0x34,0x26,0x23,0x22,0x06,0x15,0x11, +0x23,0x11,0x33,0x15,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x04,0x64,0xb8,0x7c,0x7c, +0x95,0xac,0xb9,0xb9,0x42,0x59,0x5a,0x75,0xc1,0x63,0x63,0x02,0xa4,0xfb,0xb2,0x04, +0x48,0x9f,0x9e,0xbe,0xa4,0xfd,0x87,0x04,0x60,0xae,0x65,0x32,0x32,0x77,0x78,0x00, +0x00,0x03,0x00,0x71,0xff,0xe9,0x04,0x75,0x06,0x24,0x00,0x08,0x00,0x11,0x00,0x21, +0x00,0x3f,0x40,0x1b,0x0d,0xb9,0x12,0x97,0x22,0x01,0x95,0x11,0x22,0x05,0xb9,0x1a, +0x8c,0x22,0x23,0x45,0x00,0x09,0x12,0x16,0x51,0x01,0x11,0x12,0x1e,0x45,0x22,0x10, +0xfc,0xec,0x32,0xf4,0xb2,0x7f,0x16,0x01,0x5d,0xec,0x32,0xec,0x31,0x00,0x10,0xf4, +0xec,0x10,0xd4,0xec,0x10,0xf4,0xec,0x30,0x40,0x05,0xa0,0x23,0x80,0x23,0x02,0x01, +0x5d,0x01,0x21,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x13,0x26,0x27,0x26,0x23,0x22, +0x07,0x06,0x07,0x01,0x32,0x17,0x16,0x11,0x10,0x07,0x06,0x23,0x22,0x27,0x26,0x11, +0x10,0x37,0x36,0x03,0xb1,0xfd,0x83,0x09,0x4b,0x56,0x95,0x93,0x56,0x4c,0x06,0x0e, +0x44,0x56,0x93,0x94,0x56,0x45,0x0e,0x01,0x3d,0xf0,0x89,0x89,0x89,0x89,0xf0,0xf1, +0x88,0x89,0x89,0x88,0x02,0xc6,0xe4,0x89,0x9c,0x9d,0x8a,0x01,0x8c,0xc3,0x7f,0x9e, +0x9c,0x7e,0xc6,0x02,0xb4,0xd4,0xd3,0xfe,0x8a,0xfe,0x8b,0xd4,0xd5,0xd5,0xd4,0x01, +0x75,0x01,0x76,0xd3,0xd4,0x00,0x00,0x01,0x00,0xa6,0x00,0x00,0x02,0x6e,0x04,0x60, +0x00,0x0d,0x00,0x1b,0x40,0x07,0x0f,0x06,0x00,0x08,0x0d,0x46,0x0e,0x10,0xfc,0xfc, +0xd4,0xc4,0x31,0x00,0x40,0x05,0x0d,0xbc,0x05,0x87,0x08,0x2f,0xec,0xe4,0x30,0x01, +0x11,0x14,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x26,0x35,0x03,0x01,0x63,0x22, +0x24,0x6c,0x59,0x6f,0xb4,0x52,0x52,0x01,0x04,0x60,0xfd,0x2b,0x91,0x2e,0x30,0x9c, +0x60,0x62,0xd4,0x02,0xca,0x00,0x00,0x01,0x00,0xbf,0x00,0x00,0x04,0x85,0x04,0x60, +0x00,0x0b,0x00,0x49,0x40,0x09,0x0d,0x06,0x04,0x09,0x01,0x08,0x0b,0x46,0x0c,0x10, +0xfc,0xec,0x32,0xc4,0xd4,0xc4,0x31,0x00,0x40,0x05,0x03,0x00,0xbc,0x07,0x0b,0x2f, +0x3c,0xe4,0x32,0x30,0x40,0x16,0x08,0x11,0x09,0x04,0x05,0x07,0x11,0x06,0x06,0x05, +0x08,0x05,0x09,0x04,0x03,0x11,0x04,0x02,0x11,0x09,0x09,0x04,0x07,0x10,0x04,0xec, +0x10,0x05,0xec,0x09,0x3c,0x3c,0x07,0x10,0x05,0xec,0x10,0x08,0xec,0x13,0x33,0x11, +0x01,0x33,0x09,0x01,0x23,0x01,0x07,0x11,0x23,0xbf,0xbe,0x01,0xe3,0xe0,0xfe,0x47, +0x01,0xfe,0xe1,0xfe,0x62,0x89,0xbe,0x04,0x60,0xfe,0x2f,0x01,0xd1,0xfe,0x5a,0xfd, +0x46,0x02,0x42,0x81,0xfe,0x3f,0x00,0x01,0x00,0x3d,0x00,0x00,0x04,0x7f,0x06,0x15, +0x00,0x0d,0x00,0x46,0x40,0x05,0x0f,0x01,0x0b,0x05,0x0e,0x10,0xd4,0xc4,0xd4,0xc4, +0x31,0x00,0x40,0x06,0x0a,0x87,0x0b,0x97,0x02,0x05,0x2f,0x3c,0xf4,0xec,0x30,0x40, +0x18,0x03,0x11,0x01,0x00,0x06,0x04,0x11,0x05,0x06,0x05,0x07,0x11,0x06,0x11,0x03, +0x11,0x01,0x00,0x00,0x02,0x11,0x00,0x01,0x00,0x07,0x10,0x05,0xec,0x10,0x09,0xec, +0xec,0x05,0xec,0x07,0x10,0x05,0xec,0x10,0x08,0xec,0x09,0x01,0x23,0x09,0x01,0x23, +0x01,0x27,0x26,0x07,0x23,0x35,0x17,0x04,0x02,0x7a,0x02,0x05,0xc3,0xfe,0xc6,0xfe, +0x7e,0xc3,0x01,0xeb,0x4a,0x2f,0x9a,0x31,0x46,0x01,0x12,0x05,0x65,0xfa,0x9b,0x03, +0x3c,0xfc,0xc4,0x04,0x32,0xc6,0x7f,0x01,0x9e,0x02,0x07,0x00,0xff,0xff,0x00,0xae, +0xfe,0x56,0x04,0xe5,0x04,0x60,0x10,0x06,0x00,0x77,0x00,0x00,0x00,0x01,0x00,0x4a, +0x00,0x00,0x04,0x18,0x04,0x60,0x00,0x15,0x00,0x41,0x40,0x07,0x17,0x07,0x12,0x11, +0x00,0x01,0x16,0x10,0xd4,0xc4,0xd4,0xec,0xc4,0x31,0x40,0x04,0x0b,0x01,0xbc,0x00, +0x00,0x2f,0xe4,0x32,0x30,0x40,0x15,0x14,0x13,0x12,0x11,0x15,0x11,0x06,0x05,0x04, +0x03,0x07,0x03,0x11,0x01,0x00,0x00,0x02,0x11,0x01,0x01,0x00,0x07,0x10,0x05,0xec, +0x10,0x09,0xec,0x12,0x17,0x39,0x05,0xec,0x12,0x17,0x39,0x21,0x01,0x33,0x01,0x36, +0x37,0x36,0x37,0x36,0x27,0x26,0x27,0x33,0x31,0x16,0x17,0x16,0x15,0x14,0x07,0x06, +0x07,0x01,0xa0,0xfe,0xaa,0xc6,0x01,0x21,0x78,0x64,0x4c,0x04,0x02,0x18,0x1c,0x6a, +0xba,0x45,0x2e,0x2a,0x88,0xb1,0x7b,0x04,0x60,0xfc,0x54,0x7c,0xac,0x81,0x70,0x35, +0x64,0x77,0x83,0x59,0x7c,0x72,0x4e,0xc4,0xaf,0xe4,0x74,0x00,0x00,0x01,0x00,0x6b, +0xfe,0x52,0x04,0x01,0x06,0x14,0x00,0x26,0x00,0x40,0x40,0x0f,0x0a,0x0e,0x12,0x28, +0x04,0x22,0x1d,0x1c,0x20,0x12,0x18,0x25,0x12,0x14,0x27,0x10,0xd4,0xec,0xd4,0xec, +0xd4,0xd4,0xc4,0xd4,0xc4,0xfc,0xcc,0x31,0x40,0x12,0x08,0xb9,0x0a,0x00,0xb9,0x12, +0x8c,0x27,0x16,0x23,0x87,0x22,0x1e,0x1b,0x87,0x1c,0x97,0x27,0x00,0x10,0xf4,0xfc, +0x3c,0xd4,0xec,0x39,0x10,0xf4,0xec,0xdc,0xec,0x30,0x25,0x16,0x17,0x16,0x15,0x14, +0x07,0x06,0x23,0x34,0x35,0x16,0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x20,0x11,0x10, +0x25,0x24,0x11,0x34,0x37,0x23,0x35,0x21,0x15,0x20,0x11,0x14,0x05,0x15,0x24,0x13, +0x12,0x02,0xda,0x84,0x4f,0x54,0x4a,0x50,0xa3,0x45,0x2a,0x20,0x20,0x1f,0x3a,0xfd, +0x91,0x01,0x4d,0xfe,0xe8,0xdc,0xd0,0x03,0x15,0xfd,0x8b,0x02,0x10,0xfd,0xc6,0x02, +0x01,0x7f,0x01,0x4b,0x4f,0x78,0x73,0x50,0x57,0x4b,0x4c,0x05,0x2c,0x23,0x25,0x35, +0x2c,0x2a,0x01,0xb5,0x01,0x2c,0x58,0x24,0x01,0x04,0xc5,0x52,0xb9,0xb9,0xfe,0xdd, +0xbf,0x09,0xaa,0x16,0xfe,0xbc,0xfe,0xf1,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x75, +0x04,0x7b,0x12,0x06,0x00,0x52,0x00,0x00,0x00,0x01,0x00,0x4a,0xff,0xd9,0x04,0x98, +0x04,0x60,0x00,0x17,0x00,0x2f,0x40,0x0b,0x19,0x0a,0x01,0x12,0x08,0x03,0x13,0x08, +0x00,0x16,0x18,0x10,0xdc,0xc4,0xec,0xd4,0xec,0xc4,0xc4,0xcc,0x31,0x40,0x0c,0x07, +0x87,0x0e,0x8c,0x15,0x03,0x13,0x17,0x87,0x00,0xbc,0x15,0x00,0x2f,0xf4,0xec,0x32, +0x32,0x10,0xf4,0xec,0x30,0x13,0x21,0x15,0x23,0x11,0x14,0x16,0x33,0x32,0x36,0x37, +0x15,0x0e,0x01,0x23,0x22,0x26,0x35,0x11,0x21,0x11,0x23,0x11,0x23,0x4a,0x04,0x31, +0x8d,0x31,0x37,0x0f,0x2c,0x07,0x23,0x4a,0x25,0x78,0x5c,0xfe,0x63,0xbc,0x8f,0x04, +0x60,0xb8,0xfd,0x50,0x48,0x3f,0x05,0x01,0x85,0x0d,0x0c,0x83,0xb0,0x02,0x9c,0xfc, +0x58,0x03,0xa8,0x00,0x00,0x02,0x00,0xba,0xfe,0x56,0x04,0xa4,0x04,0x7b,0x00,0x11, +0x00,0x1d,0x00,0x31,0x40,0x19,0x15,0xb9,0x04,0xb8,0x1e,0x1b,0xb9,0x0a,0x8c,0x0f, +0xbd,0x1e,0x1f,0x45,0x12,0x12,0x07,0x51,0x0d,0x08,0x18,0x12,0x10,0x46,0x1e,0x10, +0xfc,0xec,0xec,0xf4,0xb2,0x7f,0x07,0x01,0x5d,0xec,0xec,0x31,0x00,0x10,0xec,0xf4, +0xec,0x10,0xf4,0xec,0x30,0x01,0x36,0x37,0x36,0x33,0x32,0x00,0x11,0x10,0x02,0x23, +0x22,0x26,0x27,0x11,0x23,0x11,0x34,0x05,0x34,0x26,0x23,0x22,0x06,0x15,0x14,0x16, +0x33,0x32,0x36,0x01,0x14,0x3d,0x97,0x3b,0xb6,0xcc,0x00,0xff,0xff,0xcc,0x7b,0xb1, +0x3a,0xb9,0x03,0x2b,0xa7,0x92,0x92,0xa7,0xa7,0x92,0x92,0xa7,0x03,0x98,0x66,0x5a, +0x23,0xfe,0xbc,0xfe,0xf8,0xfe,0xf8,0xfe,0xbc,0x61,0x64,0xfd,0xae,0x03,0xcf,0xe7, +0xdd,0xcb,0xe7,0xe7,0xcb,0xcb,0xe7,0xe7,0x00,0x01,0x00,0x71,0xfe,0x52,0x03,0xe7, +0x04,0x7b,0x00,0x24,0x00,0x36,0x40,0x0c,0x1d,0x21,0x12,0x17,0x26,0x09,0x48,0x10, +0x12,0x03,0x45,0x25,0x10,0xfc,0xec,0xf4,0xcc,0xd4,0xfc,0xc4,0x31,0x40,0x11,0x1b, +0xb9,0x1d,0x13,0xb9,0x00,0x8c,0x25,0x09,0x86,0x0a,0x88,0x0d,0xb9,0x06,0xb8,0x25, +0x00,0x10,0xf4,0xfc,0xf4,0xec,0x10,0xf4,0xec,0xdc,0xec,0x30,0x05,0x20,0x00,0x11, +0x10,0x00,0x21,0x32,0x16,0x17,0x15,0x2e,0x01,0x23,0x22,0x06,0x15,0x14,0x16,0x33, +0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x23,0x34,0x35,0x16,0x37,0x36,0x35,0x34,0x27, +0x26,0x02,0xa8,0xfe,0xf3,0xfe,0xd6,0x01,0x2d,0x01,0x06,0x55,0xa2,0x4c,0x4e,0x9d, +0x50,0xb3,0xc6,0xc6,0xaf,0x83,0x50,0x54,0x4a,0x50,0xa3,0x45,0x2a,0x20,0x20,0x1f, +0x1d,0x01,0x3e,0x01,0x0e,0x01,0x12,0x01,0x3a,0x23,0x23,0xac,0x2b,0x2b,0xe3,0xcd, +0xcd,0xe3,0x4c,0x4f,0x78,0x73,0x50,0x57,0x4b,0x4c,0x05,0x2c,0x23,0x25,0x35,0x2c, +0x2a,0x00,0x00,0x02,0x00,0x71,0xff,0xe3,0x04,0xd6,0x04,0x62,0x00,0x0d,0x00,0x1e, +0x00,0x31,0x40,0x0b,0x20,0x0f,0x0a,0x12,0x13,0x51,0x04,0x12,0x1b,0x45,0x1f,0x10, +0xfc,0xec,0xf4,0xb2,0x7f,0x13,0x01,0x5d,0xec,0xd4,0xc4,0x31,0x40,0x0c,0x07,0xb9, +0x17,0x8c,0x1f,0x11,0x87,0x00,0xb9,0x0e,0xbc,0x1f,0x00,0x10,0xf4,0xec,0xec,0x10, +0xf4,0xec,0x30,0x01,0x22,0x07,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x27, +0x26,0x27,0x05,0x15,0x23,0x16,0x15,0x10,0x07,0x06,0x23,0x22,0x27,0x26,0x11,0x10, +0x37,0x36,0x02,0x73,0x98,0x52,0x56,0xab,0x95,0x93,0xac,0x56,0x4f,0x9a,0x02,0x63, +0xce,0x6d,0x89,0x89,0xf0,0xf1,0x88,0x89,0x89,0x72,0x03,0xce,0x6e,0x73,0xbe,0xc9, +0xe7,0xe8,0xc8,0xb7,0x7a,0x6e,0x93,0x01,0xb8,0x9c,0xdd,0xfe,0xed,0x9c,0x9d,0x9d, +0x9c,0x01,0x13,0x01,0x14,0x9c,0x82,0x00,0x00,0x01,0x00,0x64,0x00,0x00,0x04,0x6d, +0x04,0x60,0x00,0x11,0x00,0x23,0x40,0x08,0x13,0x0d,0x03,0x0f,0x08,0x0c,0x0a,0x12, +0x10,0xd4,0xc4,0xfc,0xc4,0xc4,0xc4,0x31,0x00,0x40,0x08,0x0f,0x0b,0x87,0x0c,0xbc, +0x02,0xb9,0x05,0x2f,0xec,0xf4,0xec,0x32,0x30,0x25,0x16,0x3b,0x01,0x15,0x23,0x22, +0x27,0x26,0x35,0x11,0x21,0x35,0x21,0x15,0x21,0x11,0x14,0x02,0xe6,0x24,0x6c,0x59, +0x6f,0xb4,0x52,0x52,0xfe,0x5c,0x04,0x09,0xfe,0x57,0xcc,0x30,0x9c,0x60,0x62,0xd4, +0x02,0x12,0xb8,0xb8,0xfd,0xe3,0x91,0x00,0x00,0x01,0x00,0x95,0xff,0xff,0x04,0x2a, +0x04,0x60,0x00,0x1c,0x00,0x21,0x40,0x0a,0x1e,0x45,0x09,0x12,0x13,0x00,0x08,0x1c, +0x46,0x1d,0x10,0xfc,0xec,0xd4,0xec,0xec,0x31,0x00,0x40,0x06,0x0d,0x1c,0xbc,0x05, +0xb9,0x17,0x2f,0xec,0xf4,0x3c,0x30,0x01,0x11,0x14,0x17,0x16,0x33,0x32,0x37,0x36, +0x37,0x36,0x27,0x26,0x27,0x33,0x31,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x25,0x22, +0x27,0x26,0x35,0x03,0x01,0x52,0x32,0x2b,0x77,0xa5,0x5a,0x3b,0x0f,0x08,0x1e,0x1c, +0x6a,0xba,0x46,0x2d,0x2a,0x80,0x85,0xfe,0xeb,0xc6,0x52,0x62,0x01,0x04,0x60,0xfd, +0x2b,0x86,0x39,0x30,0xb3,0x76,0xbb,0x66,0x80,0x77,0x83,0x5a,0x7b,0x73,0x9a,0xe1, +0xcb,0xd3,0x01,0x60,0x76,0xc0,0x02,0xca,0x00,0x02,0x00,0x6f,0xfe,0x56,0x04,0xd2, +0x04,0x68,0x00,0x0a,0x00,0x29,0x00,0x3d,0x40,0x10,0x2b,0x45,0x07,0x12,0x0f,0x13, +0x02,0x08,0x1e,0x16,0x28,0x23,0x12,0x1a,0x45,0x2a,0x10,0xfc,0xec,0xd4,0x3c,0xcc, +0xfc,0x3c,0xd4,0xec,0xec,0x31,0x00,0x40,0x10,0x00,0x1f,0xb9,0x0b,0x1e,0xb8,0x2a, +0x03,0x27,0x87,0x13,0x16,0x8c,0x15,0xbd,0x2a,0x10,0xec,0xf4,0x3c,0xec,0x32,0x10, +0xf4,0x3c,0xec,0x32,0x30,0x01,0x22,0x15,0x11,0x32,0x37,0x36,0x27,0x26,0x27,0x26, +0x27,0x32,0x17,0x16,0x13,0x12,0x07,0x06,0x23,0x11,0x23,0x11,0x22,0x27,0x26,0x11, +0x02,0x37,0x36,0x37,0x15,0x06,0x07,0x06,0x17,0x16,0x17,0x16,0x33,0x11,0x10,0x03, +0x3d,0x41,0x5e,0x60,0x56,0x01,0x01,0x55,0x46,0x36,0x90,0x7b,0x85,0x04,0x04,0x8d, +0x85,0xc7,0xb7,0xc7,0x86,0x88,0x01,0x89,0x68,0xa4,0x42,0x3a,0x57,0x01,0x01,0x55, +0x4c,0x71,0x03,0xcb,0x91,0xfd,0x52,0x68,0x5d,0xdf,0xd0,0x70,0x5b,0x9d,0x84,0x8d, +0xfe,0xd9,0xfe,0xf1,0xa1,0x98,0xfe,0x6e,0x01,0x91,0x99,0x9c,0x01,0x13,0x01,0x1e, +0x92,0x6d,0x1c,0xa3,0x17,0x4e,0x73,0xbe,0xca,0x73,0x67,0x02,0xaf,0x01,0x2e,0x00, +0x00,0x01,0x00,0x3b,0xfe,0x55,0x04,0x64,0x04,0x61,0x00,0x17,0x00,0x76,0x40,0x0c, +0x11,0x10,0x05,0x04,0x04,0x09,0x19,0x14,0x0f,0x03,0x09,0x18,0x10,0xd4,0xc4,0xd4, +0xc4,0xc4,0x12,0x17,0x39,0x00,0x40,0x12,0x11,0x10,0x05,0x04,0x04,0x13,0x08,0x87, +0x0e,0x09,0xbc,0x18,0x13,0x87,0x16,0x03,0xbd,0x18,0x10,0xf4,0x3c,0xec,0x10,0xf4, +0x3c,0xec,0x11,0x17,0x39,0x05,0x40,0x14,0x0e,0x11,0x0f,0x10,0x0f,0x0c,0x11,0x05, +0x05,0x04,0x02,0x11,0x03,0x04,0x03,0x00,0x11,0x11,0x11,0x10,0x07,0x10,0xec,0x07, +0x10,0xec,0x07,0x10,0xec,0x07,0x10,0xec,0x40,0x14,0x10,0x11,0x0c,0x0f,0x02,0x0d, +0x11,0x0c,0x0e,0x03,0x04,0x0e,0x03,0x05,0x00,0x01,0x0f,0x02,0x05,0x00,0x0f,0x0f, +0x0f,0x0f,0x31,0x30,0x05,0x03,0x01,0x23,0x01,0x03,0x26,0x2b,0x01,0x35,0x17,0x04, +0x17,0x13,0x01,0x33,0x01,0x13,0x16,0x3b,0x01,0x15,0x27,0x24,0x02,0xdc,0x95,0xfe, +0xcd,0xd9,0x01,0xb2,0xb6,0x31,0x9a,0x31,0x46,0x01,0x02,0x41,0x94,0x01,0x33,0xd9, +0xfe,0x4e,0xb6,0x31,0x9a,0x31,0x46,0xfe,0xfe,0xfa,0x01,0x7f,0xfd,0xd0,0x03,0x18, +0x01,0xd7,0x7e,0x9e,0x02,0x07,0xa7,0xfe,0x81,0x02,0x30,0xfc,0xe8,0xfe,0x29,0x7e, +0x9e,0x02,0x07,0x00,0x00,0x01,0x00,0x70,0xfe,0x56,0x04,0xd1,0x04,0x60,0x00,0x1b, +0x00,0x36,0x40,0x0d,0x1d,0x13,0x08,0x14,0x19,0x0d,0x08,0x00,0x0c,0x06,0x08,0x05, +0x1c,0x10,0xdc,0xec,0xd4,0x3c,0xfc,0x3c,0xd4,0xec,0xcc,0x31,0x00,0x40,0x0e,0x13, +0x0c,0x05,0xbc,0x1c,0x0e,0x0b,0x87,0x19,0x00,0x8c,0x1b,0xbd,0x1c,0x10,0xec,0xf4, +0x3c,0xec,0x32,0x10,0xf4,0x3c,0x3c,0x30,0x05,0x26,0x27,0x26,0x35,0x11,0x33,0x11, +0x14,0x17,0x16,0x17,0x11,0x33,0x11,0x36,0x37,0x36,0x35,0x11,0x33,0x11,0x14,0x07, +0x06,0x07,0x11,0x23,0x02,0x45,0xe7,0x6b,0x83,0xba,0x55,0x4a,0x7c,0xb7,0x83,0x43, +0x55,0xba,0x83,0x76,0xdc,0xb7,0x19,0x25,0x61,0x77,0xf3,0x02,0x89,0xfd,0x7e,0xb7, +0x4c,0x42,0x0e,0x03,0xd5,0xfc,0x2c,0x0e,0x42,0x54,0xaf,0x02,0x81,0xfd,0x78,0xfc, +0x6e,0x63,0x23,0xfe,0x6e,0x00,0x00,0x01,0x00,0x87,0xff,0xff,0x06,0x28,0x04,0x60, +0x00,0x1a,0x00,0x38,0x40,0x14,0x12,0x12,0x13,0x1c,0x45,0x10,0x12,0x15,0x0b,0x08, +0x0c,0x07,0x12,0x02,0x05,0x12,0x04,0x02,0x45,0x1b,0x10,0xfc,0xdc,0xec,0x10,0xec, +0xd4,0xfc,0xd4,0xec,0xec,0xdc,0xec,0x31,0x00,0x40,0x09,0x0b,0x12,0x04,0xbc,0x0e, +0x09,0x87,0x17,0x00,0x2f,0x3c,0xec,0x32,0xf4,0x3c,0xc4,0x30,0x21,0x20,0x11,0x34, +0x13,0x33,0x02,0x15,0x02,0x17,0x16,0x03,0x33,0x02,0x37,0x36,0x11,0x34,0x03,0x33, +0x12,0x15,0x12,0x25,0x24,0x03,0x02,0x02,0x26,0xfe,0x61,0x87,0xda,0x8f,0x01,0xdf, +0xd0,0x05,0xaa,0x03,0xce,0xde,0x8f,0xda,0x87,0x01,0xfe,0x60,0xfe,0xed,0x1e,0x23, +0x02,0x35,0xeb,0x01,0x40,0xfe,0xc0,0xf0,0xfe,0x97,0x01,0x01,0x01,0xd4,0xfe,0x2b, +0x02,0x02,0x01,0x68,0xf0,0x01,0x40,0xfe,0xc0,0xeb,0xfd,0xca,0x01,0x01,0x01,0x0d, +0xfe,0xf2,0xff,0xff,0x00,0x05,0x00,0x00,0x02,0x7d,0x06,0x10,0x12,0x26,0x03,0x32, +0x0f,0x00,0x10,0x07,0x00,0x6a,0xff,0x2e,0x00,0x00,0xff,0xff,0x00,0x95,0xff,0xff, +0x04,0x2a,0x06,0x10,0x10,0x26,0x00,0x6a,0x1d,0x00,0x12,0x06,0x03,0x3e,0x00,0x00, +0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x75,0x06,0x66,0x10,0x26,0x03,0x00,0x7d,0x00, +0x12,0x06,0x03,0x38,0x00,0x00,0xff,0xff,0x00,0x95,0xff,0xff,0x04,0x2a,0x06,0x66, +0x10,0x26,0x03,0x00,0x22,0x00,0x12,0x06,0x03,0x3e,0x00,0x00,0xff,0xff,0x00,0x87, +0xff,0xff,0x06,0x28,0x06,0x66,0x12,0x26,0x03,0x42,0x00,0x00,0x10,0x07,0x03,0x00, +0x01,0x59,0x00,0x00,0x00,0x03,0x00,0xa6,0xff,0xe8,0x04,0x54,0x06,0x24,0x00,0x09, +0x00,0x19,0x00,0x23,0x00,0x00,0x01,0x20,0x37,0x36,0x27,0x26,0x07,0x06,0x07,0x06, +0x05,0x04,0x03,0x06,0x25,0x24,0x27,0x26,0x03,0x02,0x37,0x36,0x33,0x20,0x13,0x16, +0x05,0x06,0x27,0x12,0x17,0x16,0x37,0x36,0x37,0x36,0x01,0x6e,0x01,0x0c,0x4e,0x93, +0x1a,0x1f,0xac,0x8e,0x49,0x35,0x01,0xed,0x01,0x7c,0xc1,0x74,0xff,0x00,0xfe,0xed, +0x74,0x66,0x0a,0x09,0x80,0x86,0xd2,0x01,0x4d,0x32,0x1b,0xfe,0x8e,0x43,0xf0,0x06, +0x36,0x52,0xa5,0xaf,0x37,0x56,0x03,0x70,0x41,0x7b,0x89,0xa1,0x06,0x05,0xa5,0x7a, +0xfd,0xfa,0xfe,0x89,0xe1,0x0c,0x0f,0xc6,0xb2,0x01,0x97,0x01,0x7f,0xca,0xd4,0xfe, +0x82,0xcd,0xff,0x1e,0x0a,0xfe,0xfd,0x69,0xa1,0x04,0x04,0x98,0xf5,0x00,0x00,0x02, +0x00,0x6f,0xff,0xe9,0x04,0x76,0x06,0x24,0x00,0x09,0x00,0x24,0x00,0x00,0x01,0x36, +0x27,0x26,0x27,0x26,0x07,0x06,0x17,0x16,0x05,0x04,0x27,0x26,0x37,0x12,0x21,0x32, +0x17,0x16,0x03,0x02,0x07,0x06,0x23,0x22,0x27,0x26,0x13,0x17,0x12,0x17,0x16,0x33, +0x32,0x37,0x36,0x03,0xae,0x04,0x35,0x49,0x8e,0xac,0x1f,0x1a,0x93,0x4e,0x01,0x0f, +0xfe,0xb6,0x6d,0xf0,0x1d,0x2d,0x01,0x52,0xd2,0x86,0x80,0x09,0x09,0x80,0x89,0xf0, +0xdb,0x9e,0x96,0x0d,0xc3,0x07,0x4d,0x73,0x78,0x85,0x64,0x50,0x03,0x70,0xbc,0x7a, +0xa5,0x05,0x06,0xa1,0x89,0x7b,0x41,0xaa,0x0a,0x4b,0xa4,0xfb,0x01,0x7e,0xd4,0xc8, +0xfe,0x7f,0xfe,0x7d,0xc6,0xd5,0xd5,0xc8,0x01,0xeb,0x01,0xfe,0x53,0x6a,0x9c,0x9d, +0x7e,0x00,0x00,0x01,0x00,0x57,0x00,0x00,0x05,0x51,0x05,0xdf,0x00,0x1b,0x00,0x00, +0x01,0x06,0x03,0x06,0x15,0x11,0x23,0x11,0x34,0x27,0x02,0x27,0x26,0x07,0x35,0x36, +0x17,0x04,0x13,0x12,0x25,0x36,0x17,0x16,0x07,0x06,0x27,0x26,0x04,0x46,0xa0,0x52, +0x2a,0xcb,0x2a,0x52,0xa0,0x74,0x78,0x43,0xa0,0x01,0x43,0x48,0x6b,0x01,0x1f,0x6f, +0x40,0x78,0x36,0x21,0x75,0x56,0x05,0x11,0x48,0xfe,0xf3,0x8d,0xa5,0xfd,0x76,0x02, +0x8a,0xa5,0x8d,0x01,0x0d,0x48,0x34,0x1a,0xaa,0x15,0x18,0x30,0xfe,0x72,0x01,0x7b, +0x43,0x1a,0x31,0x5d,0x96,0x56,0x1a,0x12,0xff,0xff,0xff,0xe1,0x00,0x00,0x06,0xa1, +0x06,0x66,0x10,0x27,0x03,0x00,0xfe,0x6e,0x00,0x00,0x10,0x07,0x03,0x4a,0x01,0x50, +0x00,0x00,0xff,0xff,0x00,0x57,0x00,0x00,0x05,0x51,0x07,0x4e,0x10,0x27,0x0b,0xe9, +0x04,0xc5,0x01,0x75,0x12,0x06,0x03,0x4a,0x00,0x00,0x00,0x03,0x00,0x70,0xfe,0x56, +0x04,0xd1,0x06,0x14,0x00,0x13,0x00,0x1c,0x00,0x25,0x00,0x00,0x01,0x11,0x32,0x17, +0x16,0x10,0x07,0x06,0x23,0x11,0x23,0x11,0x22,0x27,0x26,0x10,0x37,0x36,0x33,0x11, +0x13,0x32,0x37,0x36,0x37,0x36,0x27,0x26,0x23,0x03,0x11,0x22,0x07,0x06,0x17,0x16, +0x17,0x16,0x02,0xfc,0xc7,0x85,0x89,0x89,0x85,0xc7,0xb7,0xc7,0x86,0x88,0x88,0x86, +0xc7,0xb7,0x71,0x4d,0x54,0x01,0x01,0x56,0x4d,0x71,0xb7,0x71,0x4c,0x57,0x01,0x01, +0x55,0x4c,0x06,0x14,0xfe,0x63,0x99,0x9c,0xfd,0xda,0x9c,0x99,0xfe,0x6f,0x01,0x91, +0x99,0x9c,0x02,0x26,0x9c,0x99,0x01,0x9d,0xfa,0x77,0x67,0x73,0xca,0xc8,0x75,0x67, +0xfc,0xb8,0x03,0x48,0x67,0x75,0xc8,0xca,0x73,0x67,0x00,0x02,0x00,0x41,0xff,0xff, +0x06,0x6d,0x04,0x60,0x00,0x0d,0x00,0x1e,0x00,0x00,0x01,0x06,0x07,0x02,0x17,0x16, +0x03,0x33,0x02,0x37,0x36,0x03,0x26,0x27,0x21,0x23,0x35,0x21,0x15,0x23,0x16,0x17, +0x12,0x25,0x24,0x03,0x02,0x21,0x20,0x13,0x36,0x01,0x79,0x1f,0x01,0x01,0xdf,0xd0, +0x05,0xaa,0x03,0xce,0xdf,0x01,0x01,0x21,0xfb,0x7f,0x71,0x06,0x2c,0x70,0x24,0x06, +0x0f,0xfe,0x52,0xfe,0xed,0x1e,0x23,0xfe,0xf2,0xfe,0x52,0x0f,0x06,0x03,0xa8,0x88, +0xf0,0xfe,0x97,0x01,0x01,0x01,0xd4,0xfe,0x2b,0x02,0x02,0x01,0x68,0xf0,0x88,0xb8, +0xb8,0x89,0xea,0xfd,0xc9,0x02,0x01,0x01,0x0d,0xfe,0xf2,0x02,0x35,0xe9,0x00,0x01, +0x00,0x6f,0xfe,0x5b,0x04,0xce,0x04,0x67,0x00,0x2f,0x00,0x00,0x05,0x26,0x27,0x26, +0x37,0x07,0x02,0x07,0x06,0x27,0x26,0x37,0x36,0x37,0x36,0x27,0x26,0x23,0x22,0x07, +0x35,0x36,0x17,0x16,0x17,0x16,0x07,0x37,0x12,0x37,0x36,0x17,0x16,0x07,0x06,0x07, +0x06,0x17,0x16,0x33,0x32,0x37,0x02,0x07,0x06,0x27,0x35,0x04,0x03,0xf9,0xf6,0x21, +0x15,0x18,0xbd,0x60,0xc8,0x8d,0x03,0x01,0x3d,0x60,0x88,0x5b,0x2b,0x1a,0x8e,0x39, +0x5b,0x52,0x7e,0xf6,0x21,0x13,0x2a,0xbd,0x60,0xc8,0x8d,0x03,0x01,0x3d,0x60,0x88, +0x5b,0x2b,0x1a,0x8e,0x39,0x5b,0x26,0xcd,0x98,0xad,0x01,0x37,0x0a,0x20,0xf0,0x9c, +0x63,0x6c,0xfe,0xf7,0x7c,0x59,0x91,0x44,0x54,0x84,0x7c,0xcb,0xa9,0x68,0x6c,0xe0, +0x3d,0x11,0x22,0xee,0x8c,0x70,0x6c,0x01,0x09,0x7c,0x59,0x91,0x44,0x54,0x84,0x7c, +0xcb,0xa9,0x68,0x6c,0xfd,0xe0,0x66,0x4d,0x5a,0xa0,0xa0,0x00,0x00,0x02,0x00,0x73, +0xfe,0x58,0x05,0xd9,0x05,0xf0,0x00,0x0f,0x00,0x19,0x00,0x00,0x05,0x11,0x23,0x11, +0x26,0x27,0x26,0x10,0x00,0x21,0x20,0x00,0x11,0x10,0x07,0x06,0x02,0x20,0x00,0x11, +0x10,0x00,0x20,0x00,0x11,0x10,0x03,0x84,0xb8,0xfc,0xa0,0xbd,0x01,0x79,0x01,0x3b, +0x01,0x3a,0x01,0x78,0xbc,0x9f,0x7b,0xfe,0x48,0xfe,0xfd,0x01,0x03,0x01,0xb8,0x01, +0x01,0x18,0xfe,0x70,0x01,0x90,0x1a,0xb3,0xd2,0x02,0xc4,0x01,0xa5,0xfe,0x5b,0xfe, +0x9e,0xfe,0x9f,0xd2,0xb3,0x05,0x49,0xfe,0xb8,0xfe,0xe5,0xfe,0xe6,0xfe,0xb8,0x01, +0x48,0x01,0x1a,0x01,0x1b,0x00,0x00,0x02,0x00,0x71,0xfe,0x56,0x04,0x75,0x04,0x7b, +0x00,0x0a,0x00,0x1b,0x00,0x00,0x01,0x22,0x06,0x10,0x16,0x33,0x32,0x36,0x35,0x34, +0x26,0x03,0x11,0x23,0x11,0x26,0x27,0x26,0x11,0x10,0x00,0x33,0x32,0x00,0x11,0x10, +0x07,0x06,0x02,0x73,0x94,0xac,0xab,0x95,0x93,0xac,0xac,0x39,0xaa,0xbe,0x6b,0x89, +0x01,0x11,0xf1,0xf0,0x01,0x12,0x89,0x6a,0x03,0xdf,0xe7,0xfe,0x6e,0xe7,0xe8,0xc8, +0xc7,0xe9,0xfc,0x09,0xfe,0x6e,0x01,0x92,0x1b,0x7d,0x9c,0x01,0x13,0x01,0x14,0x01, +0x38,0xfe,0xc8,0xfe,0xec,0xfe,0xed,0x9c,0x7b,0x00,0x00,0x01,0x00,0x8b,0xfe,0x52, +0x04,0xab,0x05,0xd5,0x00,0x24,0x00,0x00,0x01,0x20,0x07,0x06,0x11,0x10,0x17,0x16, +0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x23,0x34,0x35,0x16,0x37,0x36,0x35,0x34, +0x27,0x26,0x23,0x20,0x27,0x26,0x11,0x10,0x37,0x36,0x29,0x01,0x15,0x03,0x46,0xfe, +0xf1,0x5e,0x7b,0x71,0x58,0xc7,0x7a,0x59,0x54,0x4a,0x50,0xa3,0x45,0x2a,0x20,0x20, +0x1f,0x3a,0xfe,0xef,0xbd,0x95,0xb9,0x8a,0x01,0x78,0x01,0x65,0x05,0x2b,0x77,0x98, +0xfe,0xcd,0xfe,0xf9,0xc3,0x98,0x54,0x4f,0x78,0x73,0x50,0x57,0x4b,0x4c,0x05,0x2c, +0x23,0x25,0x35,0x2c,0x2a,0xcb,0x9e,0x01,0x9d,0x01,0x4e,0xed,0xb1,0xaa,0x00,0x01, +0x00,0x71,0xfe,0x52,0x04,0x51,0x04,0x61,0x00,0x22,0x00,0x00,0x01,0x22,0x07,0x06, +0x15,0x14,0x16,0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x23,0x34,0x35,0x16,0x37, +0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x00,0x11,0x34,0x37,0x36,0x05,0x21,0x15,0x02, +0xac,0xd8,0x3e,0x63,0xc6,0x6e,0x83,0x50,0x54,0x4a,0x50,0xa3,0x45,0x2a,0x20,0x20, +0x20,0x39,0xcc,0xfe,0xd6,0x97,0x68,0x01,0x34,0x01,0xad,0x03,0xa8,0x48,0x71,0xc0, +0xcd,0xe3,0x4c,0x4f,0x78,0x73,0x50,0x57,0x4b,0x4c,0x05,0x2c,0x23,0x25,0x35,0x2c, +0x2a,0x01,0x3e,0x01,0x0e,0xf3,0xbc,0x83,0x01,0xb8,0xff,0xff,0x00,0xc9,0x00,0x00, +0x04,0x23,0x05,0xd5,0x12,0x06,0x00,0x29,0x00,0x00,0x00,0x01,0xff,0x40,0xfe,0x56, +0x03,0x46,0x06,0x14,0x00,0x23,0x00,0x00,0x33,0x11,0x34,0x37,0x36,0x33,0x32,0x16, +0x17,0x15,0x2e,0x01,0x23,0x22,0x07,0x06,0x15,0x11,0x21,0x15,0x21,0x11,0x14,0x07, +0x06,0x23,0x22,0x26,0x27,0x35,0x1e,0x01,0x33,0x32,0x37,0x36,0xee,0x88,0x60,0xa9, +0x31,0x63,0x33,0x24,0x52,0x2c,0x78,0x3a,0x4b,0x01,0x41,0xfe,0xbf,0x8b,0x62,0xad, +0x39,0x66,0x2e,0x31,0x64,0x30,0x57,0x40,0x52,0x04,0x82,0xa0,0x8e,0x64,0x12,0x12, +0xa4,0x1c,0x1d,0x3e,0x51,0x6f,0xfe,0xc9,0x8f,0xfd,0x3f,0x92,0xa5,0x73,0x15,0x16, +0xa4,0x1f,0x21,0x4b,0x5f,0x00,0x00,0x01,0x00,0xb3,0xff,0xfc,0x04,0xd4,0x05,0xd5, +0x00,0x17,0x00,0x00,0x01,0x03,0x01,0x03,0x06,0x17,0x16,0x37,0x15,0x22,0x27,0x26, +0x37,0x13,0x01,0x13,0x36,0x27,0x26,0x07,0x35,0x32,0x17,0x16,0x02,0x36,0x6e,0x03, +0x0c,0xea,0x27,0x1b,0x42,0x83,0xe6,0x51,0x5f,0x13,0x9a,0xfd,0x06,0xac,0x27,0x1b, +0x42,0x83,0xe6,0x51,0x5f,0x04,0x87,0xfe,0x5b,0x01,0x7e,0xfd,0x2c,0x60,0x2a,0x6c, +0x23,0xbd,0x46,0x52,0xb6,0x01,0xda,0xfe,0x91,0x02,0x90,0x60,0x2a,0x6c,0x23,0xbd, +0x46,0x52,0x00,0x01,0x00,0xbf,0x00,0x00,0x04,0x88,0x06,0x13,0x00,0x07,0x00,0x00, +0x09,0x01,0x23,0x13,0x21,0x01,0x33,0x03,0x04,0x88,0xfe,0xe7,0xb8,0xe2,0xfd,0x26, +0x01,0x19,0xb8,0xe2,0x03,0x70,0xfc,0x90,0x02,0xc6,0x03,0x4d,0xfd,0x5d,0x00,0x01, +0x00,0x72,0xfe,0x56,0x06,0x60,0x05,0xf1,0x00,0x21,0x00,0x00,0x01,0x11,0x23,0x11, +0x06,0x07,0x35,0x36,0x05,0x04,0x13,0x12,0x11,0x10,0x03,0x23,0x00,0x11,0x10,0x27, +0x06,0x07,0x06,0x17,0x11,0x23,0x36,0x11,0x34,0x3f,0x01,0x26,0x25,0x26,0x02,0x51, +0xaa,0xcd,0x68,0xd0,0x01,0x82,0x01,0xd9,0xed,0xd6,0xf6,0xe1,0x01,0x04,0x52,0x38, +0x79,0x45,0x05,0xcd,0x02,0xb6,0xbb,0xd0,0xfe,0xa4,0x30,0x05,0x3a,0xfd,0x8c,0x02, +0x49,0x4b,0x69,0xc6,0xd7,0x08,0x0a,0xfe,0xd8,0xfe,0xf1,0xfd,0xbd,0xfe,0x58,0xfe, +0x92,0x01,0x4c,0x01,0xca,0x01,0xd1,0x7d,0x20,0x5c,0x34,0xd0,0xfd,0xc6,0x21,0x02, +0x14,0xf7,0x8f,0x8d,0xf9,0x0b,0x01,0x00,0x00,0x01,0x00,0x77,0xfe,0x90,0x04,0x96, +0x04,0x78,0x00,0x16,0x00,0x00,0x01,0x03,0x23,0x01,0x26,0x27,0x01,0x23,0x01,0x26, +0x27,0x26,0x23,0x35,0x20,0x17,0x16,0x13,0x12,0x11,0x23,0x10,0x27,0x03,0x6e,0xef, +0xb9,0x01,0x64,0x0e,0x32,0xfe,0x46,0xb9,0x02,0x1f,0x62,0x2e,0xbc,0xd3,0x01,0x2d, +0xf2,0xe0,0xac,0x74,0xa8,0x60,0x01,0x34,0xfe,0xcc,0x01,0xc0,0x23,0x4d,0xfd,0xd0, +0x02,0xb0,0x7f,0x21,0x84,0xa4,0xd8,0xc8,0xfe,0x50,0xfe,0xdf,0xfe,0x89,0x01,0x5e, +0xf6,0x00,0x00,0x01,0x00,0x73,0xfe,0x4b,0x07,0x05,0x05,0xd5,0x00,0x3d,0x00,0x00, +0x01,0x34,0x03,0x26,0x27,0x23,0x16,0x13,0x16,0x15,0x10,0x07,0x06,0x23,0x22,0x27, +0x26,0x3d,0x01,0x23,0x15,0x14,0x07,0x06,0x23,0x22,0x27,0x26,0x11,0x34,0x37,0x12, +0x37,0x23,0x06,0x07,0x02,0x15,0x10,0x17,0x16,0x33,0x32,0x37,0x36,0x37,0x16,0x17, +0x16,0x17,0x06,0x07,0x06,0x07,0x17,0x36,0x37,0x24,0x37,0x36,0x37,0x36,0x07,0x05, +0x64,0x38,0x5f,0xfa,0x54,0x87,0x43,0x47,0x41,0x86,0x74,0x46,0x46,0xc7,0x47,0x48, +0x72,0x7d,0x49,0x48,0x43,0x87,0x54,0xf9,0x5d,0x3b,0x64,0x7b,0x79,0xd3,0x92,0x65, +0x64,0x27,0x27,0x64,0x44,0x67,0xa4,0xcd,0x79,0x8a,0x61,0x8c,0x76,0x01,0x14,0xb4, +0xdb,0x44,0x3d,0x02,0xe0,0xc2,0x01,0x15,0x9c,0x82,0x46,0xfe,0xbf,0x9f,0xb7,0xfe, +0xd9,0x77,0x6d,0x69,0x68,0xc6,0xf1,0xf1,0xc6,0x68,0x69,0x6d,0x6b,0x01,0x33,0xb7, +0x9f,0x01,0x41,0x46,0x7f,0x9f,0xfe,0xf2,0xc9,0xfe,0x68,0xb4,0xb1,0x5e,0x5e,0xad, +0xad,0x5e,0x41,0x17,0x80,0x51,0x30,0x18,0x85,0x17,0x2a,0x64,0x88,0xa6,0xe6,0xcb, +0x00,0x01,0x00,0x87,0xfe,0x55,0x06,0x28,0x04,0x60,0x00,0x25,0x00,0x00,0x21,0x24, +0x03,0x02,0x21,0x20,0x11,0x34,0x13,0x33,0x02,0x15,0x02,0x17,0x16,0x03,0x33,0x02, +0x37,0x36,0x11,0x34,0x03,0x33,0x12,0x15,0x16,0x07,0x06,0x07,0x06,0x07,0x06,0x07, +0x27,0x36,0x37,0x36,0x04,0x88,0xfe,0xed,0x1e,0x23,0xfe,0xf2,0xfe,0x61,0x87,0xda, +0x8f,0x01,0xdf,0xd0,0x05,0xaa,0x03,0xce,0xde,0x8f,0xda,0x87,0x01,0x39,0x69,0xc5, +0x9a,0xd2,0x6b,0x70,0x5b,0x51,0x8b,0xc7,0x01,0x01,0x0d,0xfe,0xf2,0x02,0x35,0xeb, +0x01,0x40,0xfe,0xc0,0xf0,0xfe,0x97,0x01,0x01,0x01,0xd4,0xfe,0x2b,0x02,0x02,0x01, +0x68,0xf0,0x01,0x40,0xfe,0xc0,0xeb,0xd1,0x84,0xf4,0x9e,0x7b,0x49,0x25,0x10,0x6c, +0x0b,0x2b,0x3f,0x00,0x00,0x01,0x00,0x73,0xfe,0x56,0x05,0x48,0x05,0xf0,0x00,0x1d, +0x00,0x00,0x01,0x06,0x07,0x06,0x11,0x14,0x17,0x16,0x33,0x32,0x37,0x36,0x19,0x01, +0x33,0x11,0x23,0x11,0x06,0x07,0x06,0x23,0x20,0x27,0x26,0x11,0x10,0x13,0x36,0x25, +0x02,0xec,0xb4,0x60,0x85,0x6e,0x62,0xc3,0xc4,0x62,0x63,0xd9,0xd9,0x44,0x68,0x68, +0xaa,0xff,0x00,0x9c,0xa2,0xba,0x97,0x01,0x28,0x05,0x4a,0x12,0x84,0xb9,0xfe,0xee, +0xf9,0xab,0x98,0x98,0x99,0x01,0x0b,0x02,0xec,0xf8,0x81,0x02,0x90,0x84,0x40,0x3f, +0xd5,0xdd,0x01,0x47,0x01,0x36,0x01,0x08,0xd5,0x01,0x00,0x01,0x00,0x71,0xfe,0x56, +0x04,0x8c,0x04,0x7b,0x00,0x1a,0x00,0x00,0x01,0x06,0x07,0x06,0x15,0x14,0x17,0x16, +0x20,0x36,0x35,0x11,0x33,0x11,0x23,0x11,0x0e,0x01,0x23,0x22,0x27,0x26,0x35,0x34, +0x37,0x36,0x33,0x02,0x8b,0x9a,0x50,0x72,0x5e,0x53,0x01,0x4c,0xa8,0xb8,0xb8,0x3a, +0xb1,0x90,0xda,0x85,0x89,0x9e,0x7f,0xfd,0x03,0xfd,0x0e,0x63,0x8d,0xd0,0xbd,0x81, +0x74,0xe7,0xcb,0x02,0x31,0xf9,0xf6,0x02,0x52,0x64,0x61,0xa2,0xa8,0xf8,0xec,0xc8, +0xa2,0x00,0x00,0x01,0x00,0xc9,0xfe,0x4b,0x05,0xe2,0x05,0xd5,0x00,0x25,0x00,0x00, +0x01,0x20,0x17,0x16,0x11,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x07,0x27,0x36,0x37, +0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x07,0x06,0x15,0x11,0x23, +0x11,0x33,0x11,0x36,0x37,0x36,0x03,0x4c,0x01,0x27,0xb1,0xbe,0x3c,0x43,0xaa,0xc3, +0xf1,0xb9,0x49,0x61,0x86,0x7d,0xd9,0x98,0x88,0x2c,0x36,0x7e,0x73,0xcd,0xcb,0x73, +0x71,0xca,0xca,0x4e,0x69,0x69,0x04,0x7b,0xb3,0xc2,0xfe,0xfd,0xcc,0xa1,0xb2,0x80, +0x93,0x45,0x35,0x0c,0x85,0x16,0x32,0x57,0x7a,0x6d,0x68,0x7f,0xc0,0x9d,0x96,0x86, +0x81,0x7e,0xde,0xfe,0x27,0x05,0xd5,0xfd,0x9a,0x87,0x42,0x43,0x00,0x02,0x00,0x2d, +0xff,0xe3,0x04,0x92,0x04,0x9a,0x00,0x17,0x00,0x4d,0x00,0x00,0x01,0x26,0x23,0x22, +0x07,0x06,0x07,0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x33,0x32, +0x37,0x36,0x37,0x36,0x25,0x16,0x15,0x14,0x07,0x06,0x21,0x22,0x27,0x26,0x23,0x22, +0x07,0x27,0x36,0x33,0x32,0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x06,0x07, +0x06,0x07,0x06,0x27,0x26,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37, +0x36,0x37,0x36,0x33,0x32,0x17,0x36,0x37,0x17,0x06,0x03,0x2c,0x7f,0x8d,0x1f,0x37, +0x1d,0x25,0x1d,0x10,0x0e,0x0c,0x0f,0x18,0x1a,0x23,0x20,0x1e,0x19,0x47,0x3b,0x49, +0x24,0x01,0x0b,0x6c,0x7f,0x6f,0xfe,0xf7,0x8d,0x63,0x4b,0x35,0x41,0x51,0x54,0x87, +0x5f,0x82,0x52,0x3f,0x5b,0x9d,0x4f,0x4b,0x31,0x1b,0x1f,0x46,0x75,0x66,0x47,0x29, +0x48,0x32,0x40,0x30,0x29,0x1e,0x1d,0x1f,0x2e,0x3e,0x50,0x65,0x5e,0xd2,0x90,0x38, +0x2a,0x88,0x37,0x03,0x44,0x98,0x16,0x0b,0x21,0x1a,0x20,0x1b,0x21,0x20,0x15,0x1c, +0x11,0x14,0x06,0x05,0x19,0x14,0x31,0x18,0x32,0xc0,0xd4,0xb0,0x9c,0x88,0x2e,0x23, +0x41,0x93,0x4c,0x2e,0x23,0x5e,0x59,0x7f,0x8c,0x71,0x19,0x17,0x34,0x2b,0x26,0x02, +0x01,0x0a,0x07,0x22,0x1a,0x48,0x34,0x42,0x3b,0x3b,0x3d,0x2f,0x3f,0x22,0x2b,0x9f, +0x56,0x68,0x50,0x92,0x00,0x01,0x00,0x4f,0xfe,0x56,0x05,0x0b,0x05,0xf6,0x00,0x21, +0x00,0x00,0x05,0x04,0x21,0x20,0x01,0x00,0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x22, +0x07,0x06,0x07,0x23,0x36,0x37,0x36,0x21,0x20,0x17,0x16,0x15,0x14,0x07,0x00,0x01, +0x16,0x33,0x20,0x37,0x04,0xfa,0xff,0x00,0xfe,0xed,0xfe,0xaf,0xfe,0xb9,0x02,0xba, +0xb3,0x6c,0x6c,0x63,0xa4,0xb4,0x5e,0x23,0x18,0xf0,0x2c,0x56,0xa3,0x01,0x18,0x01, +0x13,0xa1,0xa2,0xa2,0xfe,0xf7,0xfe,0x18,0x9c,0xd5,0x01,0x29,0xe8,0xec,0xbe,0x01, +0xa3,0x01,0xf1,0xdb,0x84,0x9c,0x8d,0x65,0x5d,0x92,0x36,0x3f,0xa1,0x66,0xc2,0x90, +0x91,0xf1,0xd8,0xb6,0xfe,0xf2,0xfe,0x85,0xb5,0xb3,0x00,0x01,0x00,0x64,0xfe,0x56, +0x04,0x6a,0x04,0x7b,0x00,0x20,0x00,0x00,0x01,0x06,0x23,0x20,0x01,0x00,0x37,0x36, +0x35,0x34,0x27,0x26,0x23,0x22,0x07,0x06,0x07,0x23,0x36,0x37,0x36,0x33,0x32,0x04, +0x15,0x14,0x07,0x06,0x01,0x16,0x33,0x32,0x37,0x04,0x5c,0xda,0xea,0xfe,0xee,0xfe, +0xde,0x02,0x42,0xa7,0x5c,0x5c,0x54,0x8b,0x99,0x50,0x1e,0x14,0xcc,0x25,0x49,0x8b, +0xee,0xe8,0x01,0x14,0x8a,0xaf,0xfe,0x2f,0x91,0xa9,0xfd,0xc5,0xfe,0xef,0x99,0x01, +0x79,0x01,0x59,0xc2,0x6b,0x7d,0x6f,0x53,0x4b,0x75,0x2c,0x32,0x81,0x52,0x9c,0xe8, +0xc2,0xa4,0x9c,0xc5,0xfe,0xe0,0xba,0x90,0x00,0x02,0x00,0x73,0x00,0x00,0x05,0xb6, +0x05,0xef,0x00,0x02,0x00,0x35,0x00,0x00,0x25,0x21,0x09,0x03,0x26,0x27,0x26,0x23, +0x22,0x0f,0x01,0x35,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x09,0x01,0x36,0x37, +0x36,0x33,0x32,0x17,0x16,0x17,0x15,0x27,0x26,0x23,0x22,0x07,0x06,0x07,0x09,0x01, +0x16,0x17,0x16,0x3b,0x01,0x15,0x21,0x35,0x33,0x32,0x37,0x36,0x01,0xda,0x02,0x6e, +0xfe,0xcd,0xfe,0x14,0x01,0x80,0xfe,0xdc,0x13,0x1a,0x22,0x3f,0x19,0x16,0x45,0x21, +0x20,0x1f,0x1c,0x72,0x4b,0x2c,0x2f,0x01,0x02,0x01,0x09,0x34,0x27,0x4b,0x72,0x1d, +0x1e,0x20,0x21,0x44,0x17,0x18,0x3c,0x26,0x13,0x1a,0xfe,0xd2,0x01,0x74,0x06,0x07, +0x1d,0x45,0x47,0xfa,0xc3,0x47,0x48,0x1a,0x0c,0xaa,0x01,0xca,0xfe,0x68,0x02,0x3d, +0x01,0xbb,0x1d,0x1a,0x22,0x04,0x0a,0xbb,0x0b,0x05,0x05,0x43,0x28,0x46,0xfe,0x81, +0x01,0x7f,0x4b,0x23,0x43,0x05,0x05,0x0b,0xbb,0x0a,0x04,0x22,0x11,0x26,0xfe,0x45, +0xfd,0xc3,0x09,0x08,0x21,0xaa,0xaa,0x21,0x0f,0x00,0x00,0x03,0x00,0x36,0x00,0x00, +0x04,0xcb,0x04,0x7b,0x00,0x00,0x00,0x03,0x00,0x36,0x00,0x00,0x25,0x29,0x01,0x03, +0x09,0x01,0x03,0x26,0x27,0x26,0x23,0x22,0x0f,0x01,0x35,0x36,0x37,0x36,0x33,0x32, +0x17,0x16,0x17,0x1b,0x01,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x15,0x27,0x26, +0x23,0x22,0x07,0x06,0x07,0x03,0x01,0x16,0x17,0x16,0x3b,0x01,0x15,0x21,0x35,0x33, +0x32,0x37,0x36,0x04,0xcb,0xfc,0xcf,0x01,0xcc,0xe4,0xfe,0x5b,0x01,0x39,0xef,0x15, +0x11,0x1d,0x36,0x15,0x13,0x3a,0x1c,0x1b,0x1a,0x18,0x83,0x40,0x25,0x28,0xc5,0xc5, +0x28,0x25,0x40,0x83,0x18,0x1a,0x1b,0x1c,0x3a,0x13,0x15,0x36,0x1d,0x11,0x15,0xf6, +0x01,0x2d,0x06,0x05,0x19,0x3a,0x49,0xfb,0x6b,0x49,0x3a,0x19,0x05,0x9e,0x01,0x38, +0xfe,0xee,0x01,0xa4,0x01,0x3d,0x1c,0x0e,0x19,0x03,0x07,0x8d,0x08,0x04,0x04,0x33, +0x1e,0x35,0xfe,0xfa,0x01,0x06,0x35,0x1e,0x33,0x04,0x04,0x08,0x8d,0x07,0x03,0x19, +0x0e,0x1c,0xfe,0xb8,0xfe,0x67,0x08,0x05,0x19,0x9e,0x9e,0x19,0x05,0x00,0x00,0x02, +0x00,0x73,0xff,0xe3,0x05,0x25,0x06,0x10,0x00,0x1d,0x00,0x2b,0x00,0x00,0x01,0x24, +0x07,0x06,0x07,0x36,0x37,0x36,0x33,0x32,0x00,0x10,0x00,0x21,0x20,0x27,0x26,0x11, +0x10,0x37,0x36,0x21,0x32,0x37,0x36,0x37,0x15,0x06,0x07,0x06,0x12,0x10,0x26,0x23, +0x22,0x07,0x06,0x15,0x14,0x17,0x16,0x33,0x32,0x37,0x03,0x2a,0xfe,0xd6,0x57,0x38, +0x16,0x51,0x55,0x7b,0x82,0xf5,0x01,0x32,0xfe,0xce,0xfe,0xf9,0xfe,0xce,0xa4,0xa3, +0x8b,0x7c,0x01,0xb0,0x73,0x95,0xa0,0x4b,0x5e,0x97,0x6c,0x8e,0xc8,0xba,0xbc,0x68, +0x69,0x69,0x65,0xbf,0xbc,0x62,0x05,0x2d,0x02,0x73,0x4a,0xa0,0x56,0x22,0x31,0xfe, +0xbc,0xfd,0xf0,0xfe,0xbc,0x9c,0x9b,0x01,0x50,0x01,0xde,0xd2,0xbb,0x0a,0x0a,0x27, +0xb1,0x24,0x08,0x06,0xfc,0x41,0x01,0x82,0xe6,0x73,0x74,0xc0,0xbd,0x78,0x73,0x73, +0x00,0x02,0x00,0x71,0xff,0xe3,0x04,0x5b,0x06,0x10,0x00,0x1f,0x00,0x2f,0x00,0x00, +0x01,0x26,0x07,0x06,0x07,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x10,0x07,0x06,0x23, +0x22,0x27,0x26,0x11,0x10,0x37,0x36,0x21,0x32,0x37,0x36,0x37,0x15,0x06,0x07,0x06, +0x13,0x34,0x27,0x26,0x23,0x22,0x07,0x06,0x15,0x14,0x17,0x16,0x33,0x32,0x37,0x36, +0x02,0x9b,0xe3,0x49,0x2c,0x14,0x29,0x65,0x5b,0x78,0xcc,0x7f,0x80,0x80,0x7f,0xdb, +0xff,0x89,0x88,0x74,0x67,0x01,0x4f,0x5f,0x5c,0x53,0x47,0x5d,0x45,0x5a,0xa8,0x53, +0x54,0x92,0x95,0x56,0x58,0x58,0x54,0x97,0x94,0x52,0x53,0x05,0x37,0x02,0x78,0x4a, +0xa9,0x46,0x36,0x31,0xa2,0xa2,0xfd,0xf0,0xa2,0xa2,0x9c,0x9b,0x01,0x50,0x01,0xde, +0xd2,0xbb,0x0a,0x0a,0x27,0xa7,0x27,0x05,0x06,0xfc,0xf8,0xcd,0x72,0x73,0x73,0x74, +0xcb,0xc7,0x78,0x73,0x73,0x74,0x00,0x01,0x00,0x2c,0xfe,0x56,0x04,0xb7,0x05,0xd5, +0x00,0x0f,0x00,0x00,0x01,0x11,0x23,0x35,0x21,0x11,0x23,0x11,0x21,0x15,0x23,0x11, +0x21,0x11,0x33,0x11,0x04,0xb7,0xcb,0xfe,0xeb,0xcb,0xfe,0xeb,0xcb,0x01,0xe0,0xcb, +0x04,0x60,0xfe,0xf2,0x64,0xfa,0xa0,0x05,0x60,0x64,0x01,0x0e,0x01,0x75,0xfe,0x8b, +0x00,0x01,0x00,0x37,0xfe,0x55,0x04,0x14,0x05,0xcf,0x00,0x0f,0x00,0x00,0x01,0x11, +0x23,0x35,0x23,0x11,0x23,0x11,0x23,0x15,0x23,0x11,0x21,0x11,0x33,0x11,0x04,0x14, +0xad,0xe5,0xb9,0xe5,0xad,0x01,0x92,0xb9,0x04,0x5f,0xff,0x00,0x70,0xfa,0x86,0x05, +0x7a,0x70,0x01,0x00,0x01,0x70,0xfe,0x90,0x00,0x01,0x00,0x6f,0xff,0xf2,0x04,0xce, +0x04,0x67,0x00,0x2b,0x00,0x00,0x01,0x02,0x07,0x06,0x27,0x26,0x37,0x36,0x37,0x36, +0x27,0x26,0x23,0x22,0x07,0x35,0x36,0x17,0x16,0x17,0x16,0x07,0x37,0x12,0x37,0x36, +0x17,0x16,0x07,0x06,0x07,0x06,0x17,0x16,0x33,0x32,0x37,0x15,0x06,0x27,0x26,0x27, +0x26,0x37,0x02,0x28,0x60,0xc8,0x8d,0x03,0x01,0x3d,0x60,0x88,0x5b,0x2b,0x1a,0x8e, +0x39,0x5b,0x52,0x7e,0xf6,0x21,0x13,0x2a,0xbd,0x60,0xc8,0x8d,0x03,0x01,0x3d,0x60, +0x88,0x5b,0x2b,0x1a,0x8e,0x39,0x5b,0x52,0x7e,0xf6,0x21,0x13,0x2a,0x01,0x99,0xfe, +0xf7,0x7c,0x59,0x91,0x44,0x54,0x84,0x7c,0xcb,0xa9,0x68,0x6c,0xe0,0x3d,0x11,0x20, +0xf0,0x8c,0x70,0x6c,0x01,0x09,0x7c,0x59,0x91,0x44,0x54,0x84,0x7c,0xcb,0xa9,0x68, +0x6c,0xe0,0x3d,0x11,0x20,0xf0,0x8c,0x70,0x00,0x02,0x00,0xb7,0xfe,0x56,0x04,0xa4, +0x04,0x7b,0x00,0x15,0x00,0x1d,0x00,0x00,0x13,0x36,0x37,0x36,0x37,0x36,0x33,0x32, +0x00,0x10,0x02,0x23,0x22,0x26,0x27,0x12,0x29,0x01,0x15,0x21,0x20,0x13,0x24,0x10, +0x26,0x20,0x06,0x10,0x16,0x20,0xba,0x02,0x58,0x3d,0x97,0x3b,0xb6,0xcc,0x00,0xff, +0xff,0xcc,0x7b,0xb1,0x3a,0x05,0x01,0x20,0x01,0xf4,0xfe,0x1c,0xfe,0x0a,0x06,0x03, +0x2d,0xa7,0xfe,0xdc,0xa7,0xa7,0x01,0x24,0x02,0x25,0xcc,0xa7,0x66,0x5a,0x23,0xfe, +0xbc,0xfd,0xf0,0xfe,0xbc,0x61,0x64,0xfe,0x58,0xaa,0x02,0xda,0x34,0x01,0x96,0xe7, +0xe7,0xfe,0x6a,0xe7,0xff,0xff,0x00,0x71,0xff,0xe3,0x03,0xe7,0x04,0x7b,0x12,0x06, +0x00,0x46,0x00,0x00,0xff,0xff,0xff,0xdb,0xfe,0x56,0x01,0x79,0x06,0x14,0x12,0x06, +0x00,0x4d,0x00,0x00,0x00,0x03,0x00,0x73,0xff,0xe3,0x05,0xd9,0x05,0xf0,0x00,0x07, +0x00,0x0f,0x00,0x1a,0x00,0x00,0x01,0x21,0x12,0x17,0x16,0x20,0x37,0x36,0x13,0x26, +0x27,0x26,0x20,0x07,0x06,0x07,0x01,0x20,0x00,0x11,0x10,0x00,0x21,0x20,0x00,0x10, +0x00,0x05,0x03,0xfc,0x45,0x08,0x7a,0x81,0x01,0xb8,0x81,0x77,0x01,0x16,0x62,0x81, +0xfe,0x48,0x81,0x60,0x19,0x01,0xd6,0x01,0x3a,0x01,0x78,0xfe,0x88,0xfe,0xc6,0xfe, +0xc5,0xfe,0x87,0x01,0x79,0x02,0xc6,0xfe,0xff,0x9a,0xa4,0xa4,0x99,0x01,0xac,0xba, +0x7e,0xa4,0xa4,0x79,0xbf,0x02,0x80,0xfe,0x5b,0xfe,0x9e,0xfe,0x9f,0xfe,0x5b,0x01, +0xa4,0x02,0xc4,0x01,0xa5,0x00,0x00,0x01,0x00,0x71,0xff,0xe3,0x03,0xd8,0x04,0x7b, +0x00,0x21,0x00,0x00,0x01,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x07,0x21,0x15,0x21, +0x16,0x17,0x16,0x33,0x32,0x3f,0x01,0x15,0x07,0x06,0x23,0x20,0x27,0x26,0x10,0x37, +0x36,0x21,0x32,0x17,0x16,0x17,0x03,0xd8,0x25,0x25,0x63,0x6a,0xb7,0x66,0x5f,0x12, +0x02,0xa5,0xfd,0x5b,0x12,0x5f,0x66,0xb7,0x80,0x4d,0x4a,0x4f,0x68,0x6b,0xfe,0xf4, +0x9c,0x9d,0x9d,0x9c,0x01,0x0c,0x65,0x6e,0x28,0x27,0x03,0xae,0x0d,0x0a,0x1a,0x63, +0x5c,0xa9,0x90,0xa9,0x5c,0x63,0x1a,0x19,0xa7,0x12,0x16,0x9c,0x9c,0x02,0x28,0x9c, +0x9c,0x16,0x08,0x0c,0x00,0x01,0x00,0xc4,0xff,0xe3,0x04,0x2b,0x04,0x7b,0x00,0x21, +0x00,0x00,0x13,0x35,0x36,0x37,0x36,0x33,0x20,0x17,0x16,0x10,0x07,0x06,0x21,0x22, +0x2f,0x01,0x35,0x17,0x16,0x33,0x32,0x37,0x36,0x37,0x21,0x35,0x21,0x26,0x27,0x26, +0x23,0x22,0x07,0x06,0xc4,0x27,0x28,0x6e,0x65,0x01,0x0c,0x9c,0x9d,0x9d,0x9c,0xfe, +0xf4,0x6b,0x68,0x4f,0x4a,0x4d,0x80,0xb7,0x66,0x5f,0x12,0xfd,0x5b,0x02,0xa5,0x12, +0x5f,0x66,0xb7,0x6a,0x63,0x25,0x03,0xae,0xa3,0x0c,0x08,0x16,0x9c,0x9c,0xfd,0xd8, +0x9c,0x9c,0x16,0x12,0xa7,0x19,0x1a,0x63,0x5c,0xa9,0x90,0xa9,0x5c,0x63,0x1a,0x0a, +0xff,0xff,0x00,0xc9,0x00,0x00,0x04,0x8d,0x05,0xd5,0x12,0x06,0x00,0xa0,0x00,0x00, +0xff,0xff,0x00,0xba,0xfe,0x56,0x04,0xa4,0x06,0x14,0x12,0x06,0x00,0xc0,0x00,0x00, +0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0x27,0x05,0xf0,0x12,0x06,0x00,0x26,0x00,0x00, +0x00,0x01,0x00,0xc9,0x00,0x00,0x06,0x1f,0x05,0xd5,0x00,0x0c,0x00,0x00,0x13,0x21, +0x09,0x01,0x21,0x11,0x23,0x11,0x01,0x23,0x01,0x11,0x23,0xc9,0x01,0x2d,0x01,0x7d, +0x01,0x7f,0x01,0x2d,0xc5,0xfe,0x7f,0xcb,0xfe,0x7f,0xc4,0x05,0xd5,0xfe,0x21,0x01, +0xdf,0xfa,0x2b,0x05,0x1f,0xfe,0x19,0x01,0xe7,0xfa,0xe1,0x00,0x00,0x01,0x00,0x7f, +0xfe,0x56,0x04,0xb3,0x04,0x60,0x00,0x0c,0x00,0x00,0x13,0x21,0x13,0x01,0x21,0x11, +0x23,0x11,0x01,0x23,0x01,0x11,0x23,0x7f,0x01,0x1b,0xfe,0x01,0x00,0x01,0x1b,0xb9, +0xfe,0xec,0x99,0xfe,0xeb,0xb9,0x04,0x60,0xfe,0x7b,0x01,0x85,0xfb,0xa0,0x03,0xb2, +0xfe,0x60,0x01,0xa0,0xfa,0xa4,0x00,0x02,0x00,0x55,0xfe,0x56,0x04,0xa4,0x04,0x7b, +0x00,0x18,0x00,0x20,0x00,0x00,0x17,0x11,0x34,0x37,0x36,0x37,0x36,0x33,0x32,0x00, +0x10,0x02,0x23,0x22,0x26,0x27,0x11,0x21,0x15,0x21,0x15,0x23,0x35,0x23,0x35,0x00, +0x10,0x26,0x20,0x06,0x10,0x16,0x20,0xba,0x5a,0x3d,0x97,0x3b,0xb6,0xcc,0x00,0xff, +0xff,0xcc,0x7b,0xb1,0x3a,0x01,0xe5,0xfe,0x1b,0xb9,0x65,0x03,0x90,0xa7,0xfe,0xdc, +0xa7,0xa7,0x01,0x24,0x90,0x02,0xb5,0xe7,0x8c,0x66,0x5a,0x23,0xfe,0xbc,0xfd,0xf0, +0xfe,0xbc,0x61,0x64,0xfe,0xc8,0xaa,0x70,0x70,0xaa,0x01,0xf4,0x01,0x96,0xe7,0xe7, +0xfe,0x6a,0xe7,0x00,0x00,0x01,0x00,0x79,0xff,0xe3,0x05,0x2d,0x05,0xf0,0x00,0x19, +0x00,0x00,0x13,0x3e,0x01,0x33,0x20,0x00,0x11,0x10,0x00,0x21,0x22,0x26,0x27,0x35, +0x1e,0x01,0x33,0x20,0x00,0x11,0x10,0x00,0x21,0x22,0x06,0x07,0x79,0x68,0xed,0x86, +0x01,0x53,0x01,0x86,0xfe,0x7a,0xfe,0xad,0x84,0xed,0x6a,0x66,0xe7,0x82,0x01,0x00, +0x01,0x10,0xfe,0xf0,0xff,0x00,0x82,0xe7,0x66,0x05,0x62,0x47,0x47,0xfe,0x61,0xfe, +0x98,0xfe,0x99,0xfe,0x61,0x48,0x48,0xd3,0x5f,0x5e,0x01,0x39,0x01,0x27,0x01,0x28, +0x01,0x39,0x5e,0x5f,0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0x27,0x05,0xf0,0x12,0x26, +0x03,0x71,0x00,0x00,0x10,0x07,0x00,0x79,0x02,0x33,0x00,0x00,0xff,0xff,0x00,0x79, +0xff,0xe3,0x05,0x2d,0x05,0xf0,0x10,0x27,0x00,0x79,0x00,0xe4,0x00,0x00,0x10,0x06, +0x03,0x75,0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x04,0x8b,0x07,0x6b,0x12,0x26, +0x03,0x8d,0x00,0x00,0x10,0x07,0x0b,0xec,0x04,0xee,0x01,0x75,0xff,0xff,0x00,0xc9, +0x00,0x00,0x04,0x8b,0x07,0x4e,0x12,0x26,0x03,0x8d,0x00,0x00,0x10,0x07,0x0b,0xe9, +0x04,0xe5,0x01,0x75,0x00,0x01,0xff,0xfa,0xfe,0x66,0x05,0xac,0x05,0xd5,0x00,0x1d, +0x00,0x00,0x25,0x10,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x35,0x11,0x34,0x26, +0x23,0x21,0x11,0x23,0x11,0x21,0x35,0x21,0x15,0x21,0x11,0x21,0x32,0x17,0x16,0x15, +0x05,0xac,0xcc,0xe4,0x4c,0x3e,0x86,0x38,0x37,0x7c,0x7c,0xfe,0x88,0xcb,0xfe,0x52, +0x04,0x8b,0xfd,0xee,0x01,0xa1,0xba,0x71,0x6d,0x68,0xfe,0xf2,0xf4,0xaa,0x4b,0x4b, +0xc2,0x01,0x22,0x9f,0x9e,0xfd,0x39,0x05,0x2b,0xaa,0xaa,0xfe,0x46,0x77,0x72,0xee, +0xff,0xff,0x00,0xc9,0x00,0x00,0x04,0x6a,0x07,0x6b,0x12,0x26,0x03,0x8b,0x00,0x00, +0x10,0x07,0x0b,0xea,0x04,0xae,0x01,0x75,0x00,0x01,0x00,0x73,0xff,0xe3,0x05,0x27, +0x05,0xf0,0x00,0x24,0x00,0x3a,0x40,0x20,0x24,0x95,0x23,0xad,0x25,0x1a,0xa1,0x19, +0xae,0x1e,0x95,0x15,0x91,0x25,0x08,0xa1,0x09,0xae,0x04,0x95,0x0d,0x8c,0x25,0x26, +0x23,0x19,0x08,0x22,0x00,0x19,0x11,0x25,0x10,0xdc,0xec,0x32,0xd4,0x3c,0xcc,0xcc, +0x31,0x00,0x10,0xf4,0xec,0xf4,0xec,0x10,0xf4,0xec,0xf4,0xec,0x10,0xf4,0xec,0x30, +0x01,0x12,0x17,0x16,0x21,0x32,0x37,0x36,0x37,0x15,0x06,0x07,0x06,0x23,0x20,0x27, +0x26,0x11,0x10,0x37,0x36,0x21,0x32,0x17,0x16,0x17,0x15,0x26,0x27,0x26,0x23,0x20, +0x07,0x06,0x07,0x21,0x15,0x01,0x48,0x07,0x81,0x88,0x01,0x00,0x82,0x74,0x73,0x66, +0x6a,0x77,0x76,0x84,0xfe,0xad,0xc3,0xc3,0xc3,0xc3,0x01,0x53,0x86,0x76,0x77,0x68, +0x66,0x73,0x74,0x82,0xff,0x00,0x88,0x67,0x19,0x02,0xb2,0x02,0xc7,0xfe,0xf2,0x93, +0x9d,0x2f,0x2f,0x5f,0xd3,0x48,0x24,0x24,0xcf,0xd0,0x01,0x67,0x01,0x68,0xcf,0xd0, +0x24,0x23,0x47,0xd5,0x5f,0x2f,0x2f,0x9c,0x77,0xc6,0xaa,0x00,0xff,0xff,0x00,0x87, +0xff,0xe3,0x04,0xa2,0x05,0xf0,0x12,0x06,0x00,0x36,0x00,0x00,0xff,0xff,0x00,0xc9, +0x00,0x00,0x01,0x93,0x05,0xd5,0x12,0x06,0x00,0x2c,0x00,0x00,0xff,0xff,0x00,0x06, +0x00,0x00,0x02,0x58,0x07,0x4e,0x12,0x26,0x03,0x7e,0x00,0x00,0x11,0x07,0x0b,0xe9, +0x03,0x2f,0x01,0x75,0x00,0x08,0xb4,0x00,0x0a,0x07,0x01,0x07,0x2b,0x31,0xff,0xff, +0xff,0x96,0xfe,0x66,0x01,0x93,0x05,0xd5,0x12,0x06,0x00,0x2d,0x00,0x00,0x00,0x02, +0x00,0x36,0xff,0xe3,0x08,0x2f,0x05,0xd5,0x00,0x16,0x00,0x21,0x00,0x00,0x01,0x21, +0x15,0x10,0x03,0x06,0x05,0x35,0x36,0x37,0x12,0x19,0x01,0x21,0x11,0x33,0x32,0x04, +0x15,0x14,0x04,0x23,0x21,0x01,0x34,0x27,0x26,0x2b,0x01,0x11,0x33,0x32,0x37,0x36, +0x04,0x70,0xfe,0x1b,0x84,0x62,0xfe,0x91,0xd4,0x43,0x75,0x03,0x78,0xea,0xfb,0x01, +0x10,0xfe,0xf0,0xfb,0xfe,0x4c,0x02,0xea,0x4f,0x4e,0xa3,0xe0,0xe0,0xa1,0x50,0x4f, +0x05,0x2b,0xd5,0xfe,0x18,0xfe,0xaa,0xfd,0x38,0xa7,0x2e,0xa8,0x01,0x25,0x02,0x35, +0x01,0x1b,0xfd,0x9a,0xda,0xde,0xdd,0xda,0x01,0xb7,0x8b,0x44,0x43,0xfd,0xdd,0x44, +0x43,0x00,0x00,0x02,0x00,0xc9,0x00,0x00,0x07,0xcc,0x05,0xd5,0x00,0x12,0x00,0x1d, +0x00,0x00,0x21,0x11,0x21,0x11,0x23,0x11,0x33,0x11,0x21,0x11,0x33,0x11,0x33,0x32, +0x04,0x15,0x14,0x04,0x23,0x01,0x34,0x27,0x26,0x2b,0x01,0x11,0x33,0x32,0x37,0x36, +0x04,0x0d,0xfd,0x86,0xca,0xca,0x02,0x7a,0xca,0xea,0xfb,0x01,0x10,0xfe,0xf0,0xfb, +0x01,0x36,0x4f,0x4e,0xa3,0xe0,0xe0,0xa1,0x50,0x4f,0x02,0xc7,0xfd,0x39,0x05,0xd5, +0xfd,0x9c,0x02,0x64,0xfd,0x9a,0xda,0xde,0xdd,0xda,0x01,0xb7,0x8b,0x44,0x43,0xfd, +0xdd,0x44,0x43,0x00,0x00,0x01,0xff,0xfa,0x00,0x00,0x05,0xac,0x05,0xd5,0x00,0x14, +0x00,0x00,0x01,0x32,0x17,0x16,0x15,0x11,0x23,0x11,0x34,0x26,0x23,0x21,0x11,0x23, +0x11,0x21,0x35,0x21,0x15,0x21,0x11,0x04,0x14,0xba,0x71,0x6d,0xc9,0x7c,0x7c,0xfe, +0x88,0xcb,0xfe,0x52,0x04,0x8b,0xfd,0xee,0x03,0x71,0x77,0x72,0xee,0xfe,0x66,0x01, +0x8a,0x9f,0x9e,0xfd,0x39,0x05,0x2b,0xaa,0xaa,0xfe,0x46,0x00,0xff,0xff,0x00,0xc9, +0x00,0x00,0x05,0x6a,0x07,0x6b,0x12,0x26,0x03,0x92,0x00,0x00,0x10,0x07,0x0b,0xea, +0x04,0xee,0x01,0x75,0xff,0xff,0x00,0xc9,0x00,0x00,0x05,0x33,0x07,0x6b,0x12,0x26, +0x03,0x90,0x00,0x00,0x10,0x07,0x0b,0xec,0x04,0xe5,0x01,0x75,0xff,0xff,0x00,0x23, +0xff,0xe3,0x04,0xbd,0x07,0x6d,0x10,0x27,0x0b,0xf0,0x04,0x72,0x01,0x75,0x12,0x06, +0x03,0x9b,0x00,0x00,0x00,0x01,0x00,0xc9,0xfe,0x56,0x05,0x3b,0x05,0xd5,0x00,0x0b, +0x00,0x00,0x29,0x01,0x11,0x33,0x11,0x21,0x11,0x33,0x11,0x21,0x11,0x23,0x02,0xbc, +0xfe,0x0d,0xca,0x02,0xde,0xca,0xfe,0x4a,0xc9,0x05,0xd5,0xfa,0xd5,0x05,0x2b,0xfa, +0x2b,0xfe,0x56,0x00,0xff,0xff,0x00,0x10,0x00,0x00,0x05,0x68,0x05,0xd5,0x12,0x06, +0x00,0x24,0x00,0x00,0x00,0x02,0x00,0xc9,0x00,0x00,0x04,0xec,0x05,0xd5,0x00,0x0a, +0x00,0x17,0x00,0x2c,0x40,0x18,0x0d,0x95,0x17,0x81,0x16,0x05,0x95,0x0e,0xad,0x06, +0x95,0x16,0x19,0x0b,0x00,0x19,0x12,0x2e,0x05,0x0d,0x1c,0x17,0x04,0x18,0x10,0xfc, +0xec,0x32,0xf4,0xec,0xc4,0xcc,0x31,0x00,0x2f,0xec,0xf4,0xec,0x10,0xf4,0xec,0x30, +0x01,0x34,0x27,0x26,0x23,0x21,0x11,0x21,0x32,0x37,0x36,0x11,0x15,0x21,0x11,0x21, +0x32,0x04,0x15,0x14,0x04,0x23,0x21,0x11,0x04,0x17,0x4f,0x4e,0xa3,0xfe,0xbc,0x01, +0x44,0xa3,0x4e,0x4f,0xfd,0x7c,0x01,0x4e,0xfb,0x01,0x10,0xfe,0xf0,0xfb,0xfd,0xe8, +0x01,0xb7,0x8b,0x44,0x43,0xfd,0xdd,0x44,0x43,0x04,0xa8,0xa6,0xfe,0x40,0xda,0xde, +0xdd,0xda,0x05,0xd5,0xff,0xff,0x00,0xc9,0x00,0x00,0x04,0xec,0x05,0xd5,0x12,0x06, +0x00,0x25,0x00,0x00,0x00,0x01,0x00,0xc9,0x00,0x00,0x04,0x6a,0x05,0xd5,0x00,0x05, +0x00,0x19,0x40,0x0c,0x04,0x95,0x01,0x81,0x00,0x07,0x02,0x04,0x1c,0x01,0x04,0x06, +0x10,0xfc,0xfc,0xcc,0xc4,0x31,0x00,0x2f,0xf4,0xec,0x30,0x33,0x11,0x21,0x15,0x21, +0x11,0xc9,0x03,0xa1,0xfd,0x29,0x05,0xd5,0xaa,0xfa,0xd5,0x00,0x00,0x02,0x00,0x31, +0xfe,0x56,0x06,0x03,0x05,0xd5,0x00,0x07,0x00,0x17,0x00,0x35,0x40,0x0f,0x02,0x1c, +0x0e,0x19,0x13,0x1c,0x10,0x17,0x03,0x1c,0x0d,0x14,0x1c,0x17,0x18,0x10,0xdc,0xec, +0xd4,0xec,0x10,0xd4,0xec,0xcc,0xd4,0xec,0x31,0x00,0x40,0x0c,0x03,0x95,0x0d,0x81, +0x12,0x16,0xbd,0x0f,0x00,0x17,0x95,0x14,0x2f,0xec,0x32,0x32,0xec,0x32,0xf4,0xec, +0x30,0x25,0x21,0x11,0x21,0x15,0x10,0x03,0x06,0x05,0x36,0x37,0x12,0x19,0x01,0x21, +0x11,0x33,0x11,0x23,0x11,0x21,0x11,0x23,0x11,0x01,0xc8,0x02,0xa8,0xfe,0x1b,0x84, +0x18,0xfe,0xa8,0x84,0x32,0x75,0x03,0x78,0xc9,0xc9,0xfb,0xc0,0xc9,0xaa,0x04,0x81, +0xd4,0xfe,0x11,0xfe,0xb1,0x3d,0x32,0x39,0x7e,0x01,0x25,0x02,0x35,0x01,0x1a,0xfa, +0xd5,0xfd,0xac,0x01,0xaa,0xfe,0x56,0x02,0x54,0x00,0xff,0xff,0x00,0xc9,0x00,0x00, +0x04,0x8b,0x05,0xd5,0x12,0x06,0x00,0x28,0x00,0x00,0x00,0x01,0x00,0x3b,0x00,0x00, +0x06,0xad,0x05,0xd5,0x00,0x15,0x00,0x6e,0x40,0x16,0x42,0x02,0x14,0x10,0x81,0x0e, +0x08,0x0c,0x95,0x00,0x12,0xad,0x06,0x0a,0x0e,0x17,0x08,0x15,0x1c,0x0b,0x14,0x16, +0x10,0xd4,0x3c,0xfc,0x3c,0xc4,0x31,0x00,0x2f,0x3c,0x3c,0xf4,0x3c,0xec,0x32,0x10, +0xf4,0x3c,0x3c,0x30,0x4b,0x53,0x58,0x40,0x24,0x04,0x11,0x07,0x02,0x01,0x05,0x11, +0x06,0x07,0x06,0x04,0x11,0x01,0x03,0x11,0x02,0x02,0x01,0x0f,0x11,0x12,0x0d,0x0c, +0x10,0x11,0x11,0x12,0x11,0x0f,0x11,0x0c,0x0e,0x11,0x0d,0x0d,0x0c,0x05,0x07,0x10, +0xec,0x10,0xec,0x07,0x10,0xec,0x08,0x10,0xec,0x05,0x07,0x10,0xec,0x10,0xec,0x07, +0x10,0xec,0x08,0x10,0xec,0x59,0x01,0x33,0x01,0x33,0x09,0x01,0x23,0x01,0x23,0x11, +0x23,0x11,0x23,0x01,0x23,0x09,0x01,0x33,0x01,0x33,0x11,0x33,0x03,0xd9,0x95,0x01, +0x34,0xd9,0xfe,0xa2,0x01,0x90,0xd9,0xfe,0x9b,0x96,0xca,0x96,0xfe,0x9b,0xd9,0x01, +0x90,0xfe,0xa2,0xd9,0x01,0x34,0x95,0xca,0x03,0x71,0x02,0x64,0xfd,0x47,0xfc,0xe4, +0x02,0xc7,0xfd,0x39,0x02,0xc7,0xfd,0x39,0x03,0x1c,0x02,0xb9,0xfd,0x9c,0x02,0x64, +0xff,0xff,0x00,0x9c,0xff,0xe3,0x04,0x73,0x05,0xf0,0x12,0x06,0x00,0x16,0x00,0x00, +0x00,0x01,0x00,0xc9,0x00,0x00,0x05,0x33,0x05,0xd5,0x00,0x09,0x00,0x79,0x40,0x1e, +0x03,0x11,0x09,0x09,0x08,0x08,0x11,0x04,0x04,0x03,0x42,0x08,0x03,0x09,0x06,0xaf, +0x02,0x05,0x09,0x04,0x07,0x03,0x1c,0x00,0x36,0x07,0x1c,0x06,0x04,0x0a,0x10,0xfc, +0xec,0xfc,0xec,0x11,0x39,0x39,0x31,0x00,0x2f,0x3c,0xec,0x32,0x39,0x39,0x30,0x4b, +0x53,0x58,0x07,0x10,0x04,0xed,0x07,0x10,0x04,0xed,0x59,0x22,0xb2,0x1f,0x0b,0x01, +0x01,0x5d,0x40,0x30,0x36,0x08,0x38,0x03,0x48,0x08,0x47,0x03,0x69,0x08,0x66,0x03, +0x80,0x08,0x07,0x06,0x04,0x09,0x09,0x15,0x04,0x1a,0x09,0x46,0x04,0x49,0x09,0x57, +0x04,0x58,0x09,0x65,0x04,0x69,0x09,0x79,0x09,0x85,0x04,0x8a,0x09,0x95,0x04,0x9a, +0x09,0x9f,0x0b,0x10,0x5d,0x00,0x5d,0x01,0x11,0x23,0x11,0x01,0x21,0x11,0x33,0x11, +0x01,0x05,0x33,0xc4,0xfd,0x6a,0xfe,0xf0,0xc4,0x02,0x96,0x05,0xd5,0xfa,0x2b,0x04, +0xe1,0xfb,0x1f,0x05,0xd5,0xfb,0x1f,0x04,0xe1,0x00,0xff,0xff,0x00,0xc9,0x00,0x00, +0x05,0x33,0x07,0x6d,0x10,0x27,0x0b,0xf0,0x04,0xf5,0x01,0x75,0x12,0x06,0x03,0x90, +0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x05,0x6a,0x05,0xd5,0x12,0x06,0x00,0x2e, +0x00,0x00,0x00,0x01,0x00,0x36,0xff,0xe4,0x05,0x3a,0x05,0xd5,0x00,0x0f,0x00,0x26, +0x40,0x14,0x0b,0x95,0x06,0x81,0x09,0x01,0x95,0x00,0x8c,0x09,0x11,0x04,0x0a,0x1c, +0x07,0x0b,0x1c,0x06,0x01,0x10,0x10,0xd4,0xd4,0xec,0xd4,0xec,0xec,0x31,0x00,0x2f, +0xf4,0xec,0x10,0xf4,0xec,0x30,0x17,0x35,0x36,0x37,0x12,0x19,0x01,0x21,0x11,0x23, +0x11,0x21,0x15,0x10,0x03,0x06,0x36,0xd4,0x43,0x75,0x03,0x78,0xca,0xfe,0x1b,0x84, +0x62,0x1c,0xa7,0x2e,0xa8,0x01,0x25,0x02,0x35,0x01,0x1a,0xfa,0x2b,0x05,0x2b,0xd4, +0xfe,0x18,0xfe,0xaa,0xfd,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x06,0x1f,0x05,0xd5, +0x12,0x06,0x00,0x30,0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x05,0x3b,0x05,0xd5, +0x12,0x06,0x00,0x2b,0x00,0x00,0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0xd9,0x05,0xf0, +0x12,0x06,0x00,0x32,0x00,0x00,0x00,0x01,0x00,0xc9,0x00,0x00,0x05,0x3b,0x05,0xd5, +0x00,0x07,0x00,0x1f,0x40,0x10,0x04,0x95,0x07,0x81,0x02,0x06,0x09,0x04,0x03,0x1c, +0x00,0x04,0x1c,0x07,0x04,0x08,0x10,0xfc,0xec,0xd4,0xec,0xec,0x31,0x00,0x2f,0x3c, +0xf4,0xec,0x30,0x01,0x11,0x23,0x11,0x21,0x11,0x23,0x11,0x05,0x3b,0xca,0xfd,0x22, +0xca,0x05,0xd5,0xfa,0x2b,0x05,0x2b,0xfa,0xd5,0x05,0xd5,0x00,0xff,0xff,0x00,0xc9, +0x00,0x00,0x04,0x8d,0x05,0xd5,0x12,0x06,0x00,0x33,0x00,0x00,0xff,0xff,0x00,0x73, +0xff,0xe3,0x05,0x27,0x05,0xf0,0x12,0x06,0x00,0x26,0x00,0x00,0xff,0xff,0xff,0xfa, +0x00,0x00,0x04,0xe9,0x05,0xd5,0x12,0x06,0x00,0x37,0x00,0x00,0x00,0x01,0x00,0x23, +0xff,0xe3,0x04,0xbd,0x05,0xd5,0x00,0x11,0x00,0x41,0x40,0x0e,0x42,0x06,0x95,0x05, +0x8c,0x10,0x0d,0x81,0x12,0x13,0x11,0x06,0x0d,0x12,0x10,0xd4,0xc4,0xd4,0xc4,0x31, +0x00,0x10,0xe4,0x32,0xf4,0xec,0x30,0x4b,0x53,0x58,0x40,0x12,0x0f,0x11,0x00,0x0d, +0x0c,0x10,0x11,0x11,0x11,0x00,0x0f,0x11,0x0c,0x0e,0x11,0x0d,0x0d,0x0c,0x05,0x07, +0x10,0xec,0x10,0xec,0x07,0x10,0xec,0x08,0x10,0xec,0x59,0x25,0x06,0x07,0x06,0x2b, +0x01,0x35,0x33,0x32,0x37,0x36,0x3f,0x01,0x01,0x33,0x09,0x01,0x33,0x02,0x8f,0x16, +0x1f,0x67,0xe3,0x4d,0x3f,0x8c,0x31,0x0e,0x08,0x2d,0xfe,0x21,0xd9,0x01,0x73,0x01, +0x75,0xd9,0xb5,0x33,0x25,0x7a,0xaa,0x4b,0x16,0x12,0x6a,0x04,0x6b,0xfc,0x94,0x03, +0x6c,0x00,0x00,0x03,0x00,0x73,0x00,0x00,0x05,0xd9,0x05,0xd5,0x00,0x08,0x00,0x11, +0x00,0x27,0x00,0x3b,0x40,0x1f,0x11,0x00,0x95,0x1d,0x1a,0x1b,0x81,0x27,0x09,0x08, +0x95,0x25,0x12,0x27,0x29,0x10,0x0d,0x19,0x21,0x12,0x00,0x1b,0x1c,0x25,0x11,0x1c, +0x04,0x19,0x16,0x10,0x28,0x10,0xfc,0xec,0xd4,0x3c,0x3c,0xfc,0x3c,0x3c,0xd4,0xec, +0xec,0x31,0x00,0x2f,0xdc,0x3c,0xec,0x32,0x10,0xf4,0xdc,0x3c,0xec,0x32,0x30,0x01, +0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x33,0x36,0x37,0x36,0x35,0x34,0x27,0x26, +0x27,0x03,0x26,0x27,0x26,0x11,0x10,0x37,0x36,0x37,0x35,0x33,0x15,0x16,0x17,0x16, +0x11,0x10,0x07,0x06,0x07,0x15,0x23,0x02,0xc2,0x96,0x62,0x82,0x82,0x62,0x96,0xca, +0x96,0x62,0x80,0x80,0x62,0x96,0xca,0xf4,0x9e,0xbd,0xbd,0x9d,0xf5,0xca,0xf4,0x9d, +0xbc,0xbc,0x9d,0xf4,0xca,0x04,0x8e,0x15,0x57,0x73,0xc6,0xc5,0x73,0x57,0x15,0x15, +0x57,0x73,0xc5,0xc6,0x73,0x57,0x15,0xfc,0x10,0x16,0x86,0xa0,0x01,0x0f,0x01,0x0f, +0xa1,0x87,0x16,0x9f,0x9f,0x17,0x86,0xa1,0xfe,0xf1,0xfe,0xf2,0xa1,0x86,0x17,0x9d, +0xff,0xff,0x00,0x3d,0x00,0x00,0x05,0x3b,0x05,0xd5,0x12,0x06,0x00,0x3b,0x00,0x00, +0x00,0x01,0x00,0xc9,0xfe,0x56,0x06,0x04,0x05,0xd5,0x00,0x0b,0x00,0x28,0x40,0x15, +0x06,0x02,0x81,0x0b,0xbd,0x08,0x04,0x95,0x01,0x0d,0x00,0x1c,0x09,0x06,0x1c,0x07, +0x03,0x1c,0x02,0x04,0x0c,0x10,0xfc,0xec,0xd4,0xec,0xd4,0xec,0xcc,0x31,0x00,0x2f, +0xec,0x32,0xec,0xf4,0x3c,0x30,0x29,0x01,0x11,0x33,0x11,0x21,0x11,0x33,0x11,0x33, +0x11,0x23,0x05,0x3b,0xfb,0x8e,0xca,0x02,0xde,0xca,0xc9,0xc9,0x05,0xd5,0xfa,0xd5, +0x05,0x2b,0xfa,0xd5,0xfd,0xac,0x00,0x01,0x00,0xaf,0x00,0x00,0x04,0xb3,0x05,0xd5, +0x00,0x10,0x00,0x23,0x40,0x12,0x02,0x95,0x0c,0xad,0x0e,0x07,0x81,0x00,0x12,0x04, +0x01,0x0e,0x1c,0x0f,0x08,0x1c,0x07,0x11,0x10,0xdc,0xec,0xd4,0xec,0x32,0xec,0x31, +0x00,0x2f,0xe4,0x32,0xf4,0xec,0x30,0x21,0x11,0x21,0x22,0x27,0x26,0x35,0x11,0x33, +0x11,0x14,0x16,0x33,0x21,0x11,0x33,0x11,0x03,0xe8,0xfe,0x5f,0xba,0x71,0x6d,0xc9, +0x7c,0x7c,0x01,0x78,0xcb,0x02,0xc7,0x77,0x72,0xee,0x01,0x37,0xfe,0xd9,0x9f,0x9e, +0x02,0x64,0xfa,0x2b,0x00,0x01,0x00,0xc9,0x00,0x00,0x07,0x39,0x05,0xd5,0x00,0x0b, +0x00,0x28,0x40,0x15,0x0a,0x02,0x06,0x81,0x00,0x08,0x95,0x05,0x0d,0x04,0x02,0x1c, +0x03,0x0a,0x1c,0x0b,0x07,0x1c,0x06,0x04,0x0c,0x10,0xfc,0xec,0xd4,0xfc,0xd4,0xec, +0xec,0x31,0x00,0x2f,0xec,0x32,0xf4,0x3c,0xc4,0x30,0x25,0x21,0x11,0x33,0x11,0x21, +0x11,0x33,0x11,0x21,0x11,0x33,0x04,0x66,0x02,0x09,0xca,0xf9,0x90,0xca,0x02,0x09, +0xca,0xaa,0x05,0x2b,0xfa,0x2b,0x05,0xd5,0xfa,0xd5,0x04,0xdd,0x00,0x01,0x00,0xc9, +0xfe,0x56,0x08,0x02,0x05,0xd5,0x00,0x0f,0x00,0x31,0x40,0x1a,0x06,0x0a,0x02,0x81, +0x0f,0xbd,0x0c,0x08,0x04,0x95,0x01,0x11,0x00,0x1c,0x0d,0x0a,0x1c,0x0b,0x06,0x1c, +0x07,0x03,0x1c,0x02,0x04,0x10,0x10,0xfc,0xec,0xd4,0xfc,0xd4,0xec,0xd4,0xec,0xcc, +0x31,0x00,0x2f,0xec,0x32,0x32,0xec,0xf4,0x3c,0xc4,0x30,0x29,0x01,0x11,0x33,0x11, +0x21,0x11,0x33,0x11,0x21,0x11,0x33,0x11,0x33,0x11,0x23,0x07,0x39,0xf9,0x90,0xca, +0x02,0x09,0xca,0x02,0x09,0xca,0xc9,0xc9,0x05,0xd5,0xfa,0xd5,0x04,0xdd,0xfb,0x23, +0x05,0x2b,0xfa,0xd5,0xfd,0xac,0x00,0x02,0x00,0x32,0x00,0x00,0x06,0x18,0x05,0xd5, +0x00,0x0c,0x00,0x17,0x00,0x2a,0x40,0x16,0x02,0x95,0x03,0x81,0x00,0x12,0x95,0x05, +0xad,0x13,0x95,0x00,0x10,0x0d,0x19,0x09,0x12,0x04,0x1c,0x01,0x03,0x18,0x10,0xcc, +0xdc,0xec,0x32,0xd4,0xec,0xcc,0x31,0x00,0x2f,0xec,0xf4,0xec,0x10,0xf4,0xec,0x30, +0x21,0x11,0x21,0x35,0x21,0x11,0x21,0x32,0x04,0x15,0x14,0x04,0x23,0x01,0x34,0x27, +0x26,0x23,0x21,0x11,0x21,0x32,0x37,0x36,0x01,0xf5,0xfe,0x3d,0x02,0x8d,0x01,0x4e, +0xfb,0x01,0x10,0xfe,0xf0,0xfb,0x01,0x36,0x4f,0x4e,0xa3,0xfe,0xbc,0x01,0x44,0xa1, +0x50,0x4f,0x05,0x2b,0xaa,0xfd,0x9a,0xda,0xde,0xdd,0xda,0x01,0xb7,0x8b,0x44,0x43, +0xfd,0xdd,0x44,0x43,0xff,0xff,0x00,0xc9,0x00,0x00,0x06,0x46,0x05,0xd5,0x10,0x27, +0x00,0x2c,0x04,0xb3,0x00,0x00,0x11,0x06,0x03,0xa4,0x00,0x00,0x00,0x0d,0x40,0x06, +0x1b,0x04,0x01,0x1c,0x00,0x15,0x10,0xdc,0xfc,0xec,0x31,0x00,0x00,0x02,0x00,0xc9, +0x00,0x00,0x04,0xec,0x05,0xd5,0x00,0x0a,0x00,0x15,0x00,0x24,0x40,0x13,0x05,0x95, +0x0d,0xad,0x0b,0x81,0x06,0x95,0x15,0x17,0x00,0x19,0x11,0x05,0x0c,0x1c,0x0b,0x04, +0x16,0x10,0xfc,0xec,0x32,0xd4,0xec,0xcc,0x31,0x00,0x2f,0xec,0xe4,0xf4,0xec,0x30, +0x01,0x34,0x27,0x26,0x23,0x21,0x11,0x21,0x32,0x37,0x36,0x01,0x33,0x11,0x21,0x32, +0x04,0x15,0x14,0x04,0x23,0x21,0x04,0x17,0x4f,0x4e,0xa3,0xfe,0xbc,0x01,0x44,0xa3, +0x4e,0x4f,0xfc,0xb2,0xca,0x01,0x4e,0xfb,0x01,0x10,0xfe,0xf0,0xfb,0xfd,0xe8,0x01, +0xb7,0x8b,0x44,0x43,0xfd,0xdd,0x44,0x43,0x04,0xa8,0xfd,0x9a,0xda,0xde,0xdd,0xda, +0x00,0x01,0x00,0x6f,0xff,0xe3,0x05,0x23,0x05,0xf0,0x00,0x24,0x00,0x3a,0x40,0x20, +0x01,0x95,0x02,0xad,0x25,0x0b,0xa1,0x0c,0xae,0x07,0x95,0x10,0x91,0x25,0x1d,0xa1, +0x1c,0xae,0x21,0x95,0x18,0x8c,0x25,0x26,0x00,0x03,0x19,0x14,0x02,0x1d,0x0c,0x25, +0x10,0xdc,0x3c,0xcc,0xd4,0xec,0x32,0xcc,0x31,0x00,0x10,0xf4,0xec,0xf4,0xec,0x10, +0xf4,0xec,0xf4,0xec,0x10,0xf4,0xec,0x30,0x01,0x21,0x35,0x21,0x26,0x27,0x26,0x21, +0x22,0x07,0x06,0x07,0x35,0x36,0x37,0x36,0x33,0x20,0x17,0x16,0x11,0x10,0x07,0x06, +0x21,0x22,0x27,0x26,0x27,0x35,0x16,0x17,0x16,0x33,0x20,0x37,0x36,0x04,0x4e,0xfd, +0x46,0x02,0xb2,0x19,0x67,0x88,0xff,0x00,0x82,0x74,0x73,0x66,0x68,0x77,0x76,0x86, +0x01,0x53,0xc3,0xc3,0xc3,0xc3,0xfe,0xad,0x84,0x76,0x77,0x6a,0x66,0x73,0x74,0x82, +0x01,0x00,0x88,0x81,0x02,0xc7,0xaa,0xc6,0x77,0x9c,0x2f,0x2f,0x5f,0xd5,0x47,0x23, +0x24,0xd0,0xcf,0xfe,0x98,0xfe,0x99,0xd0,0xcf,0x24,0x24,0x48,0xd3,0x5f,0x2f,0x2f, +0x9d,0x93,0x00,0x02,0x00,0xd3,0xff,0xe3,0x07,0xcc,0x05,0xf0,0x00,0x0f,0x00,0x26, +0x00,0x38,0x40,0x1f,0x00,0x95,0x14,0x91,0x27,0x08,0x95,0x1c,0x8c,0x27,0x21,0x95, +0x26,0xad,0x24,0x81,0x23,0x28,0x0c,0x19,0x18,0x04,0x19,0x20,0x10,0x21,0x25,0x1c, +0x24,0x04,0x27,0x10,0xfc,0xec,0x32,0xd4,0x3c,0xec,0xd4,0xec,0xcc,0x31,0x00,0x2f, +0xe4,0xf4,0xec,0x10,0xf4,0xec,0x10,0xf4,0xec,0x30,0x01,0x22,0x07,0x06,0x11,0x10, +0x17,0x16,0x33,0x32,0x37,0x36,0x11,0x10,0x27,0x26,0x01,0x12,0x37,0x36,0x21,0x20, +0x17,0x16,0x11,0x10,0x07,0x06,0x21,0x20,0x27,0x26,0x03,0x23,0x11,0x23,0x11,0x33, +0x11,0x05,0x1a,0xdc,0x82,0x81,0x81,0x82,0xdc,0xdc,0x80,0x81,0x81,0x80,0xfc,0x77, +0x1e,0x97,0xbd,0x01,0x3b,0x01,0x3a,0xbc,0xbc,0xbc,0xbc,0xfe,0xc6,0xfe,0xc5,0xbd, +0xb3,0x09,0xc9,0xca,0xca,0x05,0x4c,0xa4,0xa4,0xfe,0xe5,0xfe,0xe6,0xa4,0xa4,0xa4, +0xa4,0x01,0x1a,0x01,0x1b,0xa4,0xa4,0xfe,0x25,0x01,0x05,0xa8,0xd2,0xd2,0xd3,0xfe, +0x9e,0xfe,0x9f,0xd2,0xd3,0xd2,0xc8,0x01,0x4a,0xfd,0x39,0x05,0xd5,0xfd,0x9c,0x00, +0x00,0x02,0x00,0x3b,0x00,0x00,0x04,0xc6,0x05,0xd5,0x00,0x13,0x00,0x1c,0x00,0x45, +0x40,0x16,0x42,0x15,0x95,0x06,0x81,0x10,0x0b,0x95,0x1b,0xad,0x09,0x10,0x1e,0x04, +0x0a,0x14,0x1c,0x07,0x18,0x19,0x03,0x1d,0x10,0xd4,0xec,0xd4,0xec,0x32,0xec,0x31, +0x00,0x2f,0x3c,0xf4,0xec,0x10,0xf4,0xec,0x30,0x4b,0x53,0x58,0x40,0x0d,0x0d,0x0c, +0x0b,0x03,0x0a,0x0e,0x11,0x11,0x0f,0x11,0x10,0x11,0x10,0x05,0x07,0x10,0xec,0x10, +0xec,0x11,0x17,0x39,0x59,0x01,0x2e,0x01,0x35,0x34,0x36,0x29,0x01,0x11,0x23,0x11, +0x23,0x22,0x06,0x07,0x03,0x23,0x13,0x3e,0x01,0x01,0x23,0x22,0x06,0x15,0x14,0x16, +0x3b,0x01,0x02,0x02,0x7d,0x83,0xfc,0x01,0x00,0x01,0xc8,0xca,0xdc,0x78,0x8b,0x4a, +0xbf,0xd9,0xcd,0x3e,0x7b,0x02,0x3b,0xfe,0x92,0x95,0x95,0x92,0xfe,0x02,0xbc,0x24, +0xba,0x8d,0xd8,0xd6,0xfa,0x2b,0x02,0x77,0x62,0x96,0xfe,0x81,0x01,0x98,0x7e,0x90, +0x02,0x89,0x85,0x83,0x83,0x87,0xff,0xff,0x00,0x7b,0xff,0xe3,0x04,0x2d,0x04,0x7b, +0x12,0x06,0x00,0x44,0x00,0x00,0x00,0x02,0x00,0x71,0xff,0xe3,0x04,0x75,0x05,0xf0, +0x00,0x1c,0x00,0x2d,0x00,0x49,0x40,0x28,0x1d,0x16,0x2c,0xb9,0x06,0x2e,0x00,0x86, +0x1c,0x88,0x02,0xb9,0x1a,0x2e,0x25,0xb9,0x0e,0x8c,0x2e,0x1d,0x28,0x16,0x21,0x04, +0x2f,0x45,0x1c,0x28,0x12,0x0a,0x51,0x12,0x04,0x12,0x18,0x21,0x12,0x12,0x45,0x2e, +0x10,0xfc,0xec,0xd4,0xec,0x10,0xf4,0xec,0xc4,0xec,0x11,0x12,0x39,0x12,0x39,0x31, +0x00,0x10,0xf4,0xec,0x10,0xd4,0xec,0xf4,0xec,0x10,0xd4,0xec,0x39,0x39,0x30,0x01, +0x26,0x23,0x22,0x15,0x14,0x05,0x16,0x17,0x16,0x11,0x10,0x07,0x06,0x23,0x22,0x27, +0x26,0x11,0x34,0x37,0x36,0x37,0x26,0x35,0x10,0x21,0x32,0x17,0x01,0x06,0x07,0x06, +0x15,0x14,0x17,0x16,0x33,0x32,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x03,0xec,0x66, +0xef,0xfd,0x01,0x08,0xd0,0x75,0x8e,0x89,0x89,0xf0,0xef,0x8a,0x89,0x89,0x35,0x4b, +0x9c,0x01,0xb9,0xdd,0x78,0xfe,0x18,0x44,0x37,0x56,0x55,0x56,0x95,0x93,0xac,0x5b, +0x61,0x7e,0x40,0x05,0x11,0x46,0x75,0x5c,0x30,0x25,0x70,0x87,0xfe,0xeb,0xfe,0xf7, +0x9c,0x9d,0x9d,0x9c,0x01,0x13,0xcc,0xa5,0x40,0x24,0x4f,0x8d,0x01,0x10,0x46,0xfe, +0x28,0x1d,0x49,0x71,0xcc,0xcb,0x72,0x73,0xe8,0xbe,0xc7,0x60,0x67,0x0b,0x06,0x00, +0x00,0x03,0x00,0xba,0x00,0x00,0x04,0x3e,0x04,0x60,0x00,0x0a,0x00,0x15,0x00,0x26, +0x00,0x2d,0x40,0x18,0x00,0xa9,0x0c,0x26,0x0b,0xa9,0x16,0xbc,0x01,0xa9,0x26,0x11, +0x12,0x1a,0x28,0x06,0x12,0x21,0x00,0x0b,0x08,0x16,0x46,0x27,0x10,0xfc,0xec,0x32, +0xd4,0xec,0xcc,0xd4,0xec,0x31,0x00,0x2f,0xec,0xf4,0xec,0x10,0xd4,0xec,0x30,0x01, +0x11,0x21,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x01,0x11,0x33,0x32,0x37,0x36, +0x35,0x34,0x27,0x26,0x23,0x25,0x21,0x32,0x16,0x15,0x14,0x07,0x06,0x07,0x1e,0x01, +0x15,0x14,0x07,0x06,0x23,0x21,0x01,0x72,0x01,0x06,0x81,0x42,0x3f,0x3f,0x45,0x7e, +0xfe,0xfa,0xf2,0x75,0x3d,0x3a,0x3a,0x3d,0x75,0xfe,0x56,0x01,0xb6,0xc5,0xd4,0x36, +0x36,0x6a,0x7f,0x8c,0x74,0x73,0xd6,0xfe,0x39,0x02,0x02,0xfe,0x97,0x2e,0x2c,0x5b, +0x5e,0x29,0x2d,0x01,0xc5,0xfe,0xda,0x26,0x24,0x4b,0x48,0x24,0x25,0x99,0x90,0x85, +0x67,0x3c,0x3d,0x0f,0x18,0x98,0x72,0x96,0x52,0x52,0x00,0x01,0x00,0xba,0x00,0x00, +0x03,0xd0,0x04,0x60,0x00,0x05,0x00,0x19,0x40,0x0c,0x04,0xa9,0x01,0xbc,0x00,0x07, +0x02,0x04,0x08,0x01,0x46,0x06,0x10,0xfc,0xfc,0xcc,0xc4,0x31,0x00,0x2f,0xf4,0xec, +0x30,0x33,0x11,0x21,0x15,0x21,0x11,0xba,0x03,0x16,0xfd,0xa2,0x04,0x60,0xaa,0xfc, +0x4a,0x00,0x00,0x02,0x00,0x32,0xfe,0x56,0x05,0x2e,0x04,0x60,0x00,0x07,0x00,0x17, +0x00,0x35,0x40,0x0f,0x02,0x08,0x0e,0x19,0x13,0x08,0x10,0x17,0x03,0x08,0x0d,0x14, +0x08,0x17,0x18,0x10,0xdc,0xec,0xd4,0xec,0x10,0xd4,0xec,0xcc,0xd4,0xec,0x31,0x00, +0x40,0x0c,0x03,0xa9,0x0d,0xbc,0x12,0x16,0xbd,0x0f,0x00,0x17,0xa9,0x14,0x2f,0xec, +0x32,0x32,0xec,0x32,0xf4,0xec,0x30,0x25,0x21,0x11,0x21,0x15,0x10,0x07,0x06,0x05, +0x36,0x37,0x36,0x11,0x35,0x21,0x11,0x33,0x11,0x23,0x11,0x21,0x11,0x23,0x11,0x01, +0xa6,0x02,0x18,0xfe,0x7b,0x76,0x14,0xfe,0xed,0x5b,0x28,0x62,0x02,0xf5,0xb8,0xb8, +0xfc,0x74,0xb8,0x99,0x03,0x2e,0x86,0xfe,0x6d,0xdf,0x11,0x25,0x28,0x55,0xd3,0x01, +0xa3,0xd4,0xfc,0x39,0xfd,0xbd,0x01,0xaa,0xfe,0x56,0x02,0x43,0xff,0xff,0x00,0x71, +0xff,0xe3,0x04,0x7f,0x04,0x7b,0x12,0x06,0x00,0x48,0x00,0x00,0x00,0x01,0x00,0x32, +0x00,0x00,0x05,0xad,0x04,0x60,0x00,0x15,0x00,0x6d,0x40,0x15,0x42,0x02,0x14,0x10, +0xbc,0x0e,0x08,0x0c,0xa9,0x00,0x12,0x06,0x0a,0x0e,0x17,0x08,0x15,0x08,0x0b,0x14, +0x16,0x10,0xd4,0x3c,0xfc,0x3c,0xc4,0x31,0x00,0x2f,0x3c,0x3c,0xd4,0x3c,0xec,0x32, +0x10,0xf4,0x3c,0x3c,0x30,0x4b,0x53,0x58,0x40,0x24,0x04,0x11,0x07,0x02,0x01,0x05, +0x11,0x06,0x07,0x06,0x04,0x11,0x01,0x03,0x11,0x02,0x02,0x01,0x0f,0x11,0x12,0x0d, +0x0c,0x10,0x11,0x11,0x12,0x11,0x0f,0x11,0x0c,0x0e,0x11,0x0d,0x0d,0x0c,0x05,0x07, +0x10,0xec,0x10,0xec,0x07,0x10,0xec,0x08,0x10,0xec,0x05,0x07,0x10,0xec,0x10,0xec, +0x07,0x10,0xec,0x08,0x10,0xec,0x59,0x01,0x33,0x01,0x33,0x09,0x01,0x23,0x01,0x23, +0x11,0x23,0x11,0x23,0x01,0x23,0x09,0x01,0x33,0x01,0x33,0x11,0x33,0x03,0x4b,0x71, +0x01,0x02,0xc4,0xfe,0xd7,0x01,0x54,0xc5,0xfe,0xd5,0x72,0xb7,0x72,0xfe,0xd5,0xc5, +0x01,0x54,0xfe,0xd7,0xc4,0x01,0x02,0x71,0xb7,0x02,0xa1,0x01,0xbf,0xfd,0xf5,0xfd, +0xab,0x02,0x09,0xfd,0xf7,0x02,0x09,0xfd,0xf7,0x02,0x55,0x02,0x0b,0xfe,0x41,0x01, +0xbf,0x00,0x00,0x01,0x00,0x85,0xff,0xe3,0x03,0xc8,0x04,0x7c,0x00,0x31,0x00,0x3c, +0x40,0x21,0x26,0x86,0x27,0x88,0x22,0xb9,0x2a,0xb8,0x32,0x18,0xa9,0x19,0x32,0x0b, +0x86,0x0a,0x88,0x0f,0xb9,0x06,0x8c,0x32,0x1e,0x12,0x2e,0x33,0x13,0x12,0x03,0x19, +0x27,0x0b,0x32,0x10,0xdc,0xc4,0xc4,0xd4,0xec,0xcc,0xd4,0xec,0x31,0x00,0x10,0xf4, +0xec,0xfc,0xec,0x10,0xd4,0xec,0x10,0xf4,0xec,0xfc,0xec,0x30,0x01,0x1e,0x01,0x15, +0x14,0x04,0x23,0x22,0x27,0x26,0x27,0x35,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x35, +0x34,0x27,0x26,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x22, +0x07,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x02,0xc2, +0x7c,0x8a,0xfe,0xfe,0xee,0x50,0x55,0x54,0x5a,0x47,0x55,0x55,0x5d,0x97,0x55,0x54, +0x4e,0x48,0x89,0x94,0x9b,0x74,0x43,0x44,0x46,0x45,0x77,0x47,0x51,0x50,0x61,0x62, +0xaa,0x4c,0xc4,0x71,0x72,0x3c,0x3c,0x02,0x5c,0x18,0x92,0x6c,0xad,0xb6,0x0e,0x0e, +0x1c,0xab,0x25,0x13,0x12,0x38,0x38,0x5a,0x58,0x38,0x33,0x98,0x2c,0x2d,0x46,0x40, +0x2e,0x2e,0x0d,0x0d,0x1d,0xa7,0x18,0x18,0x4e,0x4f,0x8d,0x5d,0x40,0x41,0x00,0x01, +0x00,0xc1,0x00,0x00,0x04,0x80,0x04,0x60,0x00,0x09,0x00,0x3f,0x40,0x15,0x42,0x08, +0x03,0x09,0x06,0xbc,0x02,0x05,0x0b,0x46,0x09,0x04,0x07,0x03,0x08,0x00,0x07,0x08, +0x06,0x46,0x0a,0x10,0xfc,0xec,0xd4,0xec,0x11,0x39,0x39,0xec,0x31,0x00,0x2f,0x3c, +0xe4,0x32,0x39,0x39,0x30,0x4b,0x53,0x58,0x40,0x0a,0x03,0x11,0x09,0x09,0x08,0x08, +0x11,0x04,0x04,0x03,0x07,0x10,0xec,0x07,0x10,0xec,0x59,0x01,0x11,0x23,0x11,0x01, +0x23,0x11,0x33,0x11,0x01,0x04,0x80,0xb7,0xfd,0xe4,0xec,0xb7,0x02,0x1b,0x04,0x60, +0xfb,0xa0,0x03,0x83,0xfc,0x7d,0x04,0x60,0xfc,0x7f,0x03,0x81,0xff,0xff,0x00,0xc1, +0x00,0x00,0x04,0x80,0x06,0x14,0x10,0x27,0x02,0x8c,0x00,0xa0,0xff,0xcc,0x12,0x06, +0x03,0xb0,0x00,0x00,0x00,0x01,0x00,0xbf,0x00,0x00,0x04,0xa1,0x04,0x60,0x00,0x0a, +0x00,0x46,0x40,0x11,0x42,0x03,0x00,0xbc,0x07,0x0a,0x0c,0x05,0x01,0x04,0x06,0x08, +0x01,0x08,0x00,0x46,0x0b,0x10,0xfc,0xec,0x32,0xd4,0xc4,0x11,0x39,0xc4,0x31,0x00, +0x2f,0x3c,0xe4,0x32,0x30,0x4b,0x53,0x58,0x40,0x10,0x07,0x11,0x06,0x08,0x11,0x05, +0x06,0x05,0x02,0x11,0x05,0x03,0x11,0x04,0x05,0x04,0x05,0x07,0x10,0xec,0x04,0x10, +0xec,0x07,0x10,0xec,0x05,0x10,0xec,0x59,0x13,0x33,0x11,0x01,0x33,0x09,0x01,0x23, +0x01,0x11,0x23,0xbf,0xb9,0x02,0x25,0xeb,0xfd,0xae,0x02,0x6b,0xf0,0xfd,0xc7,0xb9, +0x04,0x60,0xfe,0x1d,0x01,0xe3,0xfd,0xf4,0xfd,0xac,0x02,0x23,0xfd,0xdd,0x00,0x01, +0x00,0x2e,0xff,0xe3,0x04,0x73,0x04,0x60,0x00,0x0f,0x00,0x26,0x40,0x14,0x0b,0xa9, +0x06,0xbc,0x09,0x01,0xa9,0x00,0x8c,0x09,0x11,0x46,0x0a,0x08,0x07,0x0b,0x08,0x06, +0x01,0x10,0x10,0xd4,0xd4,0xec,0xd4,0xec,0xec,0x31,0x00,0x2f,0xf4,0xec,0x10,0xf4, +0xec,0x30,0x17,0x35,0x36,0x37,0x36,0x11,0x35,0x21,0x11,0x23,0x11,0x21,0x15,0x10, +0x03,0x06,0x2e,0xb3,0x3b,0x62,0x02,0xf5,0xb8,0xfe,0x7b,0x76,0x5e,0x1d,0x99,0x1b, +0x7f,0xcf,0x01,0xa7,0xd4,0xfb,0xa0,0x03,0xc7,0x86,0xfe,0x92,0xfe,0xfc,0xcf,0x00, +0x00,0x01,0x00,0xc1,0x00,0x00,0x05,0x48,0x04,0x60,0x00,0x0c,0x00,0x4d,0x40,0x16, +0x42,0x0a,0x07,0x02,0x03,0x08,0x03,0x00,0xbc,0x09,0x06,0x0c,0x0e,0x46,0x07,0x08, +0x04,0x0a,0x08,0x00,0x46,0x0d,0x10,0xfc,0xec,0xdc,0xec,0xec,0x31,0x00,0x2f,0x3c, +0xc4,0xec,0x32,0x11,0x17,0x39,0x30,0x4b,0x53,0x58,0x40,0x12,0x02,0x11,0x08,0x0a, +0x09,0x03,0x11,0x07,0x08,0x07,0x02,0x11,0x09,0x01,0x11,0x0a,0x0a,0x09,0x05,0x07, +0x10,0xed,0x10,0xed,0x07,0x10,0xed,0x08,0x10,0xed,0x59,0x13,0x21,0x09,0x01,0x21, +0x11,0x23,0x11,0x01,0x23,0x01,0x11,0x23,0xc1,0x01,0x06,0x01,0x3e,0x01,0x3f,0x01, +0x04,0xb2,0xfe,0xcb,0xb8,0xfe,0xca,0xb2,0x04,0x60,0xfd,0x12,0x02,0xee,0xfb,0xa0, +0x03,0xb0,0xfd,0x27,0x02,0xd9,0xfc,0x50,0x00,0x01,0x00,0xc1,0x00,0x00,0x04,0x88, +0x04,0x60,0x00,0x0b,0x00,0x27,0x40,0x14,0x09,0xa9,0x02,0x04,0x00,0xbc,0x07,0x0b, +0x0d,0x46,0x08,0x04,0x08,0x05,0x09,0x01,0x08,0x00,0x46,0x0c,0x10,0xfc,0xec,0x32, +0xdc,0xec,0x32,0xec,0x31,0x00,0x2f,0x3c,0xe4,0x32,0xdc,0xec,0x30,0x13,0x33,0x11, +0x21,0x11,0x33,0x11,0x23,0x11,0x21,0x11,0x23,0xc1,0xb8,0x02,0x57,0xb8,0xb8,0xfd, +0xa9,0xb8,0x04,0x60,0xfe,0x33,0x01,0xcd,0xfb,0xa0,0x02,0x04,0xfd,0xfc,0xff,0xff, +0x00,0x71,0xff,0xe3,0x04,0x75,0x04,0x7b,0x12,0x06,0x00,0x52,0x00,0x00,0x00,0x01, +0x00,0xc1,0x00,0x00,0x04,0x88,0x04,0x60,0x00,0x07,0x00,0x28,0x40,0x10,0x04,0xa9, +0x07,0xbc,0x02,0x06,0x03,0x08,0x09,0x46,0x00,0x04,0x08,0x07,0x46,0x08,0x10,0xfc, +0xec,0xd4,0xec,0xec,0x31,0x00,0x2f,0x3c,0xf4,0xec,0x30,0x40,0x05,0xa0,0x09,0x80, +0x09,0x02,0x01,0x5d,0x01,0x11,0x23,0x11,0x21,0x11,0x23,0x11,0x04,0x88,0xb8,0xfd, +0xa9,0xb8,0x04,0x60,0xfb,0xa0,0x03,0xc6,0xfc,0x3a,0x04,0x60,0xff,0xff,0x00,0xba, +0xfe,0x56,0x04,0xa4,0x04,0x7b,0x12,0x06,0x00,0x53,0x00,0x00,0xff,0xff,0x00,0x71, +0xff,0xe3,0x03,0xe7,0x04,0x7b,0x12,0x06,0x00,0x46,0x00,0x00,0x00,0x01,0x00,0x05, +0x00,0x00,0x04,0x36,0x04,0x60,0x00,0x07,0x00,0x25,0x40,0x0d,0x03,0x07,0xa9,0x00, +0xbc,0x05,0x09,0x01,0x03,0x08,0x00,0x06,0x08,0x10,0xd4,0xcc,0xfc,0xcc,0xcc,0x31, +0x00,0x2f,0xf4,0xec,0x32,0x30,0x40,0x05,0xa0,0x09,0x80,0x09,0x02,0x01,0x5d,0x13, +0x21,0x15,0x21,0x11,0x23,0x11,0x21,0x05,0x04,0x31,0xfe,0x42,0xb5,0xfe,0x42,0x04, +0x60,0xaa,0xfc,0x4a,0x03,0xb6,0xff,0xff,0x00,0x3d,0xfe,0x56,0x04,0x7f,0x04,0x60, +0x12,0x06,0x00,0x5c,0x00,0x00,0x00,0x03,0x00,0x71,0xfe,0x56,0x06,0xe4,0x05,0xd5, +0x00,0x0f,0x00,0x34,0x00,0x43,0x00,0x40,0x40,0x23,0x39,0x0c,0xb9,0x27,0x1c,0xb8, +0x21,0x97,0x44,0x40,0x04,0xb9,0x2f,0x15,0x8c,0x10,0xbd,0x44,0x45,0x45,0x35,0x12, +0x2b,0x11,0x08,0x21,0x08,0x33,0x3d,0x22,0x00,0x12,0x19,0x45,0x44,0x10,0xfc,0xec, +0xd4,0x3c,0x3c,0xfc,0x3c,0x3c,0xd4,0xec,0xec,0x31,0x00,0x10,0xec,0xf4,0x3c,0xec, +0x32,0x10,0xe4,0xf4,0x3c,0xec,0x32,0x30,0x01,0x14,0x17,0x16,0x33,0x32,0x37,0x36, +0x35,0x34,0x27,0x26,0x23,0x22,0x07,0x06,0x01,0x11,0x06,0x07,0x06,0x23,0x22,0x27, +0x26,0x11,0x10,0x12,0x33,0x32,0x17,0x16,0x17,0x11,0x33,0x11,0x36,0x37,0x36,0x33, +0x32,0x17,0x16,0x11,0x10,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x11,0x01,0x34,0x27, +0x26,0x23,0x22,0x07,0x06,0x15,0x14,0x16,0x33,0x32,0x37,0x36,0x01,0x34,0x44,0x43, +0x85,0x85,0x45,0x44,0x44,0x45,0x85,0x85,0x43,0x44,0x02,0x1a,0x2d,0x4d,0x4c,0x65, +0xc9,0x74,0x75,0xe8,0xca,0x64,0x4d,0x4c,0x2e,0xb9,0x2e,0x4d,0x4c,0x64,0xcb,0x73, +0x74,0x74,0x74,0xca,0x66,0x4c,0x4d,0x2c,0x02,0x1c,0x43,0x44,0x85,0x86,0x45,0x45, +0x8a,0x86,0x85,0x44,0x43,0x02,0x2f,0xd6,0x6d,0x6d,0x6d,0x6e,0xd5,0xd5,0x6e,0x6d, +0x6d,0x6d,0xfb,0x51,0x02,0x39,0x53,0x2c,0x2d,0x9b,0x9c,0x01,0x11,0x01,0x16,0x01, +0x3a,0x2b,0x2c,0x53,0x02,0x04,0xfd,0xfc,0x53,0x2c,0x2b,0x9d,0x9d,0xfe,0xea,0xfe, +0xef,0x9c,0x9b,0x2b,0x2c,0x53,0xfd,0xc9,0x03,0xd9,0xd6,0x6d,0x6d,0x6d,0x6e,0xd5, +0xd4,0xdc,0x6d,0x6d,0xff,0xff,0x00,0x3b,0x00,0x00,0x04,0x79,0x04,0x60,0x12,0x06, +0x00,0x5b,0x00,0x00,0x00,0x01,0x00,0xc1,0xfe,0x56,0x05,0x40,0x04,0x60,0x00,0x0b, +0x00,0x28,0x40,0x15,0x06,0x02,0xbc,0x0b,0xbd,0x08,0x04,0xa9,0x01,0x0d,0x00,0x08, +0x09,0x06,0x08,0x07,0x03,0x08,0x02,0x46,0x0c,0x10,0xfc,0xec,0xd4,0xec,0xd4,0xec, +0xcc,0x31,0x00,0x2f,0xec,0x32,0xec,0xf4,0x3c,0x30,0x29,0x01,0x11,0x33,0x11,0x21, +0x11,0x33,0x11,0x33,0x11,0x23,0x04,0x88,0xfc,0x39,0xb8,0x02,0x57,0xb8,0xb8,0xb8, +0x04,0x60,0xfc,0x39,0x03,0xc7,0xfc,0x39,0xfd,0xbd,0x00,0x01,0x00,0x96,0x00,0x00, +0x04,0x00,0x04,0x60,0x00,0x11,0x00,0x22,0x40,0x11,0x02,0xa9,0x0d,0x0f,0x07,0xbc, +0x00,0x13,0x46,0x01,0x0f,0x08,0x10,0x08,0x08,0x07,0x12,0x10,0xdc,0xec,0xd4,0xec, +0x32,0xec,0x31,0x00,0x2f,0xe4,0x32,0xd4,0xec,0x30,0x21,0x11,0x21,0x22,0x27,0x26, +0x3d,0x01,0x33,0x15,0x14,0x17,0x16,0x33,0x21,0x11,0x33,0x11,0x03,0x48,0xfe,0xa9, +0x99,0x66,0x5c,0xb8,0x34,0x35,0x68,0x01,0x29,0xb8,0x02,0x09,0x5f,0x56,0xb8,0xea, +0xd3,0x75,0x3b,0x3b,0x01,0xbe,0xfb,0xa0,0x00,0x01,0x00,0xc1,0x00,0x00,0x06,0x3a, +0x04,0x60,0x00,0x0b,0x00,0x28,0x40,0x15,0x0a,0x02,0x06,0xbc,0x00,0x08,0xa9,0x05, +0x0d,0x46,0x02,0x08,0x03,0x0a,0x08,0x0b,0x07,0x08,0x06,0x46,0x0c,0x10,0xfc,0xec, +0xd4,0xfc,0xd4,0xec,0xec,0x31,0x00,0x2f,0xec,0x32,0xf4,0x3c,0xc4,0x30,0x25,0x21, +0x11,0x33,0x11,0x21,0x11,0x33,0x11,0x21,0x11,0x33,0x03,0xd9,0x01,0xa9,0xb8,0xfa, +0x87,0xb8,0x01,0xa8,0xb8,0x99,0x03,0xc7,0xfb,0xa0,0x04,0x60,0xfc,0x39,0x03,0x8c, +0x00,0x01,0x00,0xc1,0xfe,0x56,0x06,0xf2,0x04,0x60,0x00,0x0f,0x00,0x31,0x40,0x1a, +0x06,0x0a,0x02,0xbc,0x0f,0xbd,0x0c,0x08,0x04,0xa9,0x01,0x11,0x00,0x08,0x0d,0x0a, +0x08,0x0b,0x06,0x08,0x07,0x03,0x08,0x02,0x46,0x10,0x10,0xfc,0xec,0xd4,0xfc,0xd4, +0xec,0xd4,0xec,0xcc,0x31,0x00,0x2f,0xec,0x32,0x32,0xec,0xf4,0x3c,0xc4,0x30,0x29, +0x01,0x11,0x33,0x11,0x21,0x11,0x33,0x11,0x21,0x11,0x33,0x11,0x33,0x11,0x23,0x06, +0x3a,0xfa,0x87,0xb8,0x01,0xa8,0xb8,0x01,0xa9,0xb8,0xb8,0xb8,0x04,0x60,0xfc,0x39, +0x03,0x8c,0xfc,0x74,0x03,0xc7,0xfc,0x39,0xfd,0xbd,0x00,0x02,0x00,0x2a,0x00,0x00, +0x05,0x2e,0x04,0x60,0x00,0x0a,0x00,0x19,0x00,0x2a,0x40,0x16,0x0c,0xa9,0x0d,0xbc, +0x19,0x05,0xa9,0x0f,0x06,0xa9,0x19,0x1b,0x45,0x00,0x12,0x14,0x05,0x0e,0x08,0x0b, +0x0d,0x1a,0x10,0xcc,0xdc,0xec,0x32,0xd4,0xec,0xec,0x31,0x00,0x2f,0xec,0xd4,0xec, +0x10,0xf4,0xec,0x30,0x01,0x34,0x27,0x26,0x23,0x21,0x11,0x21,0x32,0x37,0x36,0x01, +0x21,0x35,0x21,0x11,0x21,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x23,0x21,0x04,0x6a, +0x3e,0x43,0x80,0xfe,0xf9,0x01,0x07,0x81,0x42,0x3e,0xfd,0x40,0xfe,0x80,0x02,0x38, +0x01,0x0f,0xd0,0x79,0x74,0x74,0x73,0xd6,0xfe,0x39,0x01,0x4c,0x5e,0x2a,0x2e,0xfe, +0x97,0x2e,0x2b,0x02,0xd4,0x9a,0xfe,0x3b,0x55,0x52,0xa8,0xa8,0x52,0x52,0xff,0xff, +0x00,0xc1,0x00,0x00,0x05,0x69,0x04,0x60,0x10,0x26,0x03,0xc4,0x00,0x00,0x11,0x07, +0x00,0xf3,0x03,0xf0,0x00,0x00,0x00,0x0d,0x40,0x06,0x1d,0x46,0x19,0x08,0x18,0x12, +0x10,0xdc,0xfc,0xec,0x31,0x00,0x00,0x02,0x00,0xc1,0x00,0x00,0x04,0x45,0x04,0x60, +0x00,0x0a,0x00,0x17,0x00,0x24,0x40,0x13,0x05,0xa9,0x0d,0x0b,0xbc,0x06,0xa9,0x17, +0x19,0x45,0x00,0x12,0x12,0x05,0x0c,0x08,0x0b,0x46,0x18,0x10,0xfc,0xec,0x32,0xd4, +0xec,0xec,0x31,0x00,0x2f,0xec,0xe4,0xd4,0xec,0x30,0x01,0x34,0x27,0x26,0x23,0x21, +0x11,0x21,0x32,0x37,0x36,0x01,0x33,0x11,0x21,0x32,0x17,0x16,0x15,0x14,0x07,0x06, +0x23,0x21,0x03,0x81,0x3e,0x43,0x80,0xfe,0xf9,0x01,0x07,0x81,0x42,0x3e,0xfd,0x40, +0xb8,0x01,0x0f,0xd0,0x79,0x74,0x74,0x73,0xd6,0xfe,0x39,0x01,0x4c,0x5e,0x2a,0x2e, +0xfe,0x97,0x2e,0x2b,0x03,0x6e,0xfe,0x3b,0x55,0x52,0xa8,0xa8,0x52,0x52,0x00,0x01, +0x00,0x71,0xff,0xe3,0x03,0xe7,0x04,0x7b,0x00,0x1c,0x00,0x00,0x01,0x22,0x07,0x15, +0x36,0x33,0x32,0x17,0x16,0x17,0x21,0x15,0x21,0x06,0x07,0x06,0x23,0x22,0x27,0x15, +0x16,0x33,0x20,0x37,0x36,0x11,0x10,0x27,0x26,0x01,0xb4,0xa6,0x9d,0xa1,0x9a,0xe6, +0x5c,0x22,0x0c,0xfe,0x34,0x01,0xd4,0x0d,0x9e,0x55,0x78,0x9d,0x9e,0x93,0xbd,0x01, +0x0b,0x94,0x87,0x97,0x94,0x04,0x7b,0x46,0xac,0x56,0xb4,0x41,0x57,0x8f,0xf4,0x5e, +0x33,0x56,0xaa,0x48,0xac,0x9d,0x01,0x03,0x01,0x11,0x9d,0x9e,0x00,0x02,0x00,0xc1, +0xff,0xe3,0x06,0x10,0x04,0x7b,0x00,0x0e,0x00,0x24,0x00,0x38,0x40,0x1f,0x00,0xb9, +0x13,0xb8,0x25,0x08,0xb9,0x1a,0x8c,0x25,0x1f,0xa9,0x24,0x22,0xbc,0x21,0x26,0x45, +0x0b,0x12,0x16,0x04,0x12,0x1e,0x0f,0x1f,0x23,0x08,0x22,0x46,0x25,0x10,0xfc,0xec, +0x32,0xd4,0x3c,0xec,0xd4,0xec,0xec,0x31,0x00,0x2f,0xe4,0xd4,0xec,0x10,0xf4,0xec, +0x10,0xf4,0xec,0x30,0x01,0x22,0x07,0x06,0x15,0x14,0x17,0x16,0x33,0x32,0x36,0x35, +0x34,0x27,0x26,0x01,0x36,0x37,0x36,0x33,0x32,0x00,0x11,0x10,0x07,0x06,0x23,0x22, +0x27,0x26,0x27,0x23,0x11,0x23,0x11,0x33,0x11,0x04,0x0e,0x94,0x56,0x56,0x55,0x56, +0x95,0x93,0xac,0x56,0x56,0xfd,0x71,0x13,0x70,0x89,0xf0,0xf0,0x01,0x12,0x89,0x89, +0xf0,0xf1,0x88,0x7f,0x09,0x94,0xb8,0xb8,0x03,0xdf,0x73,0x74,0xc9,0xc9,0x74,0x73, +0xe8,0xc8,0xc7,0x74,0x75,0xfe,0xc2,0xbe,0x80,0x9c,0xfe,0xc8,0xfe,0xec,0xfe,0xed, +0x9c,0x9d,0x9d,0x91,0xf8,0xfd,0xf7,0x04,0x60,0xfe,0x41,0x00,0x00,0x02,0x00,0x32, +0x00,0x00,0x04,0x0f,0x04,0x60,0x00,0x16,0x00,0x21,0x00,0x44,0x40,0x15,0x42,0x18, +0xa9,0x07,0xbc,0x12,0x0c,0xa9,0x20,0x0a,0x12,0x23,0x46,0x0b,0x17,0x08,0x08,0x1c, +0x12,0x03,0x22,0x10,0xd4,0xec,0xd4,0xec,0x32,0xec,0x31,0x00,0x2f,0x3c,0xd4,0xec, +0x10,0xf4,0xec,0x30,0x4b,0x53,0x58,0x40,0x0d,0x0f,0x0e,0x0d,0x03,0x0c,0x10,0x11, +0x13,0x11,0x11,0x12,0x13,0x12,0x05,0x07,0x10,0xec,0x10,0xec,0x11,0x17,0x39,0x59, +0x01,0x2e,0x01,0x35,0x34,0x37,0x36,0x33,0x21,0x11,0x23,0x11,0x23,0x22,0x07,0x06, +0x07,0x03,0x23,0x13,0x36,0x37,0x36,0x01,0x23,0x22,0x07,0x06,0x15,0x14,0x17,0x16, +0x3b,0x01,0x01,0xb5,0x6a,0x70,0x6b,0x6c,0xd9,0x01,0x84,0xb9,0xa9,0x61,0x3b,0x3b, +0x3f,0xa2,0xc3,0xae,0x35,0x34,0x35,0x01,0xd8,0xc6,0x77,0x3f,0x40,0x40,0x3f,0x77, +0xc6,0x02,0x0d,0x1b,0x8c,0x69,0xa2,0x51,0x50,0xfb,0xa0,0x01,0xd9,0x25,0x24,0x71, +0xfe,0xe1,0x01,0x32,0x5e,0x36,0x36,0x01,0xc9,0x2a,0x2a,0x54,0x53,0x2b,0x2b,0x00, +0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x7f,0x06,0x6b,0x10,0x26,0x00,0x43,0x5a,0x05, +0x12,0x06,0x03,0xad,0x00,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x7f,0x06,0x10, +0x10,0x27,0x00,0x6a,0x00,0x96,0x00,0x00,0x12,0x06,0x03,0xad,0x00,0x00,0x00,0x01, +0x00,0x28,0xfe,0x56,0x04,0x6b,0x06,0x14,0x00,0x28,0x00,0x00,0x13,0x23,0x35,0x33, +0x35,0x33,0x15,0x21,0x15,0x21,0x11,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x15,0x11, +0x14,0x07,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x35,0x11,0x34,0x26,0x23,0x22, +0x07,0x06,0x15,0x11,0x23,0xc1,0x99,0x99,0xb9,0x01,0x46,0xfe,0xba,0x42,0x59,0x5a, +0x75,0xb9,0x6b,0x63,0x52,0x51,0xb5,0x46,0x31,0x6e,0x21,0x26,0x7c,0x7c,0x9a,0x51, +0x56,0xb9,0x05,0x04,0x7d,0x93,0x93,0x7d,0xfe,0x57,0x65,0x32,0x32,0x77,0x6e,0xf2, +0xfd,0x9f,0xd6,0x60,0x60,0x9c,0x30,0x37,0x93,0x02,0x5b,0x9f,0x9e,0x5f,0x65,0x9e, +0xfd,0xde,0xff,0xff,0x00,0xba,0x00,0x00,0x03,0xd8,0x06,0x6d,0x10,0x27,0x00,0x76, +0x00,0x86,0x00,0x07,0x12,0x06,0x03,0xab,0x00,0x00,0x00,0x01,0x00,0x71,0xff,0xe3, +0x03,0xe7,0x04,0x7b,0x00,0x1c,0x00,0x3a,0x40,0x21,0x02,0x86,0x03,0x88,0x05,0x13, +0x86,0x12,0x88,0x10,0xb9,0x15,0x0a,0xa9,0x0b,0xbb,0x05,0xb9,0x00,0xb8,0x15,0x8c, +0x1d,0x0a,0x0c,0x09,0x12,0x12,0x02,0x48,0x19,0x45,0x1d,0x10,0xfc,0xe4,0x32,0xfc, +0x32,0xcc,0x31,0x00,0x10,0xe4,0xf4,0xec,0xf4,0xee,0x10,0xfe,0xf4,0xee,0x10,0xf5, +0xee,0x30,0x01,0x32,0x17,0x15,0x26,0x23,0x22,0x07,0x06,0x07,0x21,0x15,0x21,0x16, +0x17,0x16,0x33,0x32,0x37,0x15,0x06,0x23,0x20,0x27,0x26,0x11,0x10,0x37,0x36,0x02, +0xa4,0xa6,0x9d,0xa1,0x9a,0xe6,0x5c,0x22,0x0c,0x01,0xcc,0xfe,0x2c,0x0d,0x9e,0x55, +0x78,0x9d,0x9e,0x93,0xbc,0xfe,0xf3,0x94,0x86,0x97,0x95,0x04,0x7b,0x46,0xac,0x56, +0xb4,0x41,0x57,0x8f,0xf4,0x5e,0x33,0x56,0xaa,0x48,0xad,0x9d,0x01,0x02,0x01,0x11, +0x9d,0x9e,0xff,0xff,0x00,0x6f,0xff,0xe3,0x03,0xc7,0x04,0x7b,0x12,0x06,0x00,0x56, +0x00,0x00,0xff,0xff,0x00,0xc1,0x00,0x00,0x01,0x79,0x06,0x14,0x12,0x06,0x00,0x4c, +0x00,0x00,0xff,0xff,0xff,0xf4,0x00,0x00,0x02,0x46,0x06,0x10,0x12,0x26,0x00,0xf3, +0x00,0x00,0x11,0x07,0x00,0x6a,0xff,0x1d,0x00,0x00,0x00,0x08,0xb4,0x00,0x0a,0x07, +0x01,0x07,0x2b,0x31,0xff,0xff,0xff,0xdb,0xfe,0x56,0x01,0x79,0x06,0x14,0x12,0x06, +0x00,0x4d,0x00,0x00,0x00,0x02,0x00,0x2e,0xff,0xe3,0x06,0xbe,0x04,0x60,0x00,0x17, +0x00,0x22,0x00,0x00,0x01,0x21,0x15,0x10,0x03,0x06,0x05,0x35,0x36,0x37,0x36,0x11, +0x35,0x21,0x11,0x33,0x32,0x17,0x16,0x10,0x07,0x06,0x23,0x21,0x01,0x34,0x27,0x26, +0x2b,0x01,0x11,0x33,0x32,0x37,0x36,0x03,0x9e,0xfe,0x98,0x76,0x5e,0xfe,0xcc,0xb3, +0x3b,0x62,0x02,0xd8,0xab,0xd0,0x79,0x74,0x74,0x73,0xd6,0xfe,0x9d,0x02,0x5c,0x3e, +0x43,0x80,0xa3,0xa3,0x81,0x42,0x3e,0x03,0xc7,0x86,0xfe,0x92,0xfe,0xfc,0xcf,0x1d, +0x99,0x1b,0x7f,0xcf,0x01,0xa7,0xd4,0xfe,0x3b,0x55,0x52,0xfe,0xb0,0x52,0x52,0x01, +0x4c,0x5e,0x2a,0x2e,0xfe,0x97,0x2e,0x2b,0x00,0x02,0x00,0xc1,0x00,0x00,0x06,0xbc, +0x04,0x60,0x00,0x0a,0x00,0x1e,0x00,0x00,0x01,0x34,0x27,0x26,0x2b,0x01,0x11,0x33, +0x32,0x37,0x36,0x05,0x11,0x21,0x11,0x23,0x11,0x33,0x11,0x21,0x11,0x33,0x11,0x33, +0x32,0x17,0x16,0x10,0x07,0x06,0x23,0x05,0xf8,0x3e,0x42,0x81,0xa3,0xa3,0x81,0x42, +0x3e,0xfd,0xa4,0xfd,0xdd,0xb8,0xb8,0x02,0x23,0xb8,0xab,0xd0,0x79,0x74,0x74,0x73, +0xd6,0x01,0x4c,0x5f,0x2a,0x2d,0xfe,0x97,0x2e,0x2b,0xf2,0x02,0x02,0xfd,0xfe,0x04, +0x60,0xfe,0x3b,0x01,0xc5,0xfe,0x3b,0x55,0x52,0xfe,0xb0,0x52,0x52,0x00,0x00,0x01, +0x00,0x28,0x00,0x00,0x04,0x6b,0x06,0x14,0x00,0x1e,0x00,0x00,0x13,0x23,0x35,0x33, +0x35,0x33,0x15,0x21,0x15,0x21,0x11,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x15,0x11, +0x23,0x11,0x34,0x26,0x23,0x22,0x07,0x06,0x15,0x11,0x23,0xc1,0x99,0x99,0xb9,0x01, +0x46,0xfe,0xba,0x42,0x59,0x5a,0x75,0xbd,0x67,0x63,0xb8,0x7c,0x7c,0x98,0x53,0x56, +0xb9,0x05,0x04,0x7d,0x93,0x93,0x7d,0xfe,0x57,0x65,0x32,0x32,0x77,0x73,0xed,0xfd, +0xb3,0x02,0x47,0x9f,0x9e,0x5f,0x62,0xa1,0xfd,0xde,0xff,0xff,0x00,0xbf,0x00,0x00, +0x04,0xa1,0x06,0x6d,0x10,0x27,0x00,0x76,0x00,0xe4,0x00,0x07,0x12,0x06,0x03,0xb2, +0x00,0x00,0xff,0xff,0x00,0xc1,0x00,0x00,0x04,0x80,0x06,0x6b,0x10,0x26,0x00,0x43, +0x64,0x05,0x12,0x06,0x03,0xb0,0x00,0x00,0xff,0xff,0x00,0x3d,0xfe,0x56,0x04,0x7f, +0x06,0x14,0x10,0x26,0x02,0x8c,0x5e,0xcc,0x12,0x06,0x03,0xbb,0x00,0x00,0x00,0x01, +0x00,0xc1,0xfe,0x56,0x04,0x88,0x04,0x60,0x00,0x0b,0x00,0x00,0x21,0x11,0x23,0x11, +0x21,0x11,0x33,0x11,0x21,0x11,0x33,0x11,0x02,0xff,0xb8,0xfe,0x7a,0xb8,0x02,0x57, +0xb8,0xfe,0x56,0x01,0xaa,0x04,0x60,0xfc,0x3a,0x03,0xc6,0xfb,0xa0,0x00,0x00,0x01, +0x00,0x73,0xff,0xe3,0x07,0x05,0x05,0xd5,0x00,0x34,0x00,0x00,0x01,0x16,0x33,0x32, +0x37,0x36,0x3d,0x01,0x33,0x15,0x14,0x17,0x16,0x33,0x32,0x37,0x36,0x11,0x34,0x27, +0x02,0x27,0x33,0x16,0x17,0x12,0x15,0x10,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x06, +0x07,0x06,0x23,0x22,0x27,0x26,0x11,0x34,0x13,0x36,0x37,0x33,0x06,0x03,0x06,0x15, +0x10,0x01,0x92,0x49,0x7d,0x72,0x48,0x47,0xc7,0x46,0x46,0x74,0x86,0x41,0x47,0x43, +0x87,0x54,0xfa,0x5f,0x38,0x64,0x7b,0x7b,0xd1,0x92,0x65,0x64,0x27,0x27,0x64,0x65, +0x92,0xd3,0x79,0x7b,0x64,0x3b,0x5d,0xf9,0x54,0x87,0x43,0x01,0x5a,0x6d,0x69,0x68, +0xc6,0xf1,0xf1,0xc6,0x68,0x69,0x6d,0x77,0x01,0x27,0xb7,0x9f,0x01,0x41,0x46,0x82, +0x9c,0xfe,0xe7,0xbe,0xfe,0x66,0xb2,0xb1,0x5e,0x5e,0xad,0xad,0x5e,0x5e,0xb1,0xb4, +0x01,0x98,0xc9,0x01,0x0e,0x9f,0x7f,0x46,0xfe,0xbf,0x9f,0xb7,0xfe,0xcd,0xff,0xff, +0x00,0x87,0xff,0xff,0x06,0x28,0x04,0x60,0x10,0x02,0x03,0x42,0x00,0x00,0xff,0xff, +0x00,0x21,0x00,0x00,0x04,0xec,0x05,0xd5,0x10,0x02,0x04,0x03,0x00,0x00,0x00,0x02, +0x00,0x3a,0x00,0x00,0x04,0x45,0x05,0xd5,0x00,0x13,0x00,0x1e,0x00,0x00,0x01,0x11, +0x21,0x32,0x17,0x16,0x10,0x07,0x06,0x23,0x21,0x11,0x23,0x35,0x33,0x11,0x33,0x11, +0x33,0x15,0x01,0x34,0x27,0x26,0x23,0x21,0x11,0x21,0x32,0x37,0x36,0x01,0x79,0x01, +0x0f,0xd0,0x79,0x74,0x74,0x73,0xd6,0xfe,0x39,0x87,0x87,0xb8,0xaf,0x01,0x59,0x3e, +0x43,0x80,0xfe,0xf9,0x01,0x07,0x81,0x42,0x3e,0x03,0xd1,0xfe,0xca,0x55,0x52,0xfe, +0xb0,0x52,0x52,0x03,0xd1,0x8f,0x01,0x75,0xfe,0x8b,0x8f,0xfd,0x7b,0x5e,0x2a,0x2e, +0xfe,0x97,0x2e,0x2b,0x00,0x01,0x00,0xd3,0xff,0xe3,0x07,0x1b,0x05,0xf0,0x00,0x2b, +0x00,0x00,0x01,0x11,0x23,0x11,0x33,0x11,0x33,0x12,0x37,0x36,0x21,0x32,0x17,0x16, +0x17,0x15,0x26,0x27,0x26,0x23,0x20,0x07,0x06,0x07,0x21,0x15,0x21,0x12,0x17,0x16, +0x21,0x32,0x37,0x36,0x37,0x15,0x06,0x07,0x06,0x23,0x20,0x27,0x26,0x03,0x01,0x9d, +0xca,0xca,0xd2,0x1e,0x9d,0xc3,0x01,0x53,0x86,0x76,0x77,0x68,0x66,0x73,0x74,0x82, +0xff,0x00,0x88,0x67,0x19,0x02,0xb2,0xfd,0x46,0x07,0x81,0x89,0x00,0xff,0x82,0x74, +0x73,0x66,0x6a,0x77,0x76,0x84,0xfe,0xad,0xc3,0xba,0x09,0x02,0xc7,0xfd,0x39,0x05, +0xd5,0xfd,0x9c,0x01,0x08,0xa7,0xd0,0x24,0x23,0x47,0xd5,0x5f,0x2f,0x2f,0x9c,0x77, +0xc6,0xaa,0xfe,0xf3,0x94,0x9d,0x2f,0x2f,0x5f,0xd3,0x48,0x24,0x24,0xcf,0xc6,0x01, +0x4f,0x00,0x00,0x01,0x00,0xc1,0xff,0xe3,0x05,0x81,0x04,0x7b,0x00,0x23,0x00,0x00, +0x01,0x32,0x17,0x15,0x26,0x23,0x22,0x07,0x06,0x07,0x21,0x15,0x21,0x16,0x17,0x16, +0x33,0x32,0x37,0x15,0x06,0x23,0x20,0x27,0x26,0x27,0x23,0x11,0x23,0x11,0x33,0x11, +0x33,0x36,0x37,0x36,0x04,0x3e,0xa6,0x9d,0xa1,0x9a,0xe6,0x5c,0x22,0x0c,0x01,0xcc, +0xfe,0x2c,0x0d,0x9e,0x55,0x78,0x9d,0x9e,0x93,0xbc,0xfe,0xf3,0x94,0x7b,0x0a,0x93, +0xb8,0xb8,0x98,0x17,0x7a,0x97,0x04,0x7b,0x46,0xac,0x56,0xb4,0x41,0x57,0x8f,0xf4, +0x5e,0x33,0x56,0xaa,0x48,0xad,0x90,0xe4,0xfd,0xfc,0x04,0x60,0xfe,0x33,0xca,0x80, +0x9e,0x00,0x00,0x02,0x00,0x10,0x00,0x00,0x06,0xf8,0x05,0xd5,0x00,0x03,0x00,0x0f, +0x00,0x00,0x01,0x0b,0x01,0x1f,0x01,0x11,0x23,0x11,0x27,0x01,0x23,0x01,0x33,0x01, +0x23,0x01,0x04,0x6a,0xe6,0xe7,0xe7,0x66,0xca,0xde,0xfe,0xaf,0xe1,0x03,0x02,0xe5, +0x03,0x01,0xe1,0xfe,0xaf,0x03,0x3f,0x01,0xc0,0xfe,0x40,0x77,0xac,0xfd,0xe4,0x02, +0x1b,0x72,0xfd,0x73,0x05,0xd5,0xfa,0x2b,0x02,0x8e,0x00,0x02,0x00,0x33,0x00,0x00, +0x06,0x11,0x04,0x60,0x00,0x03,0x00,0x0f,0x00,0x00,0x01,0x0b,0x01,0x1f,0x01,0x11, +0x23,0x11,0x27,0x01,0x23,0x01,0x33,0x01,0x23,0x01,0x03,0xe2,0xc0,0xc0,0xc0,0x5d, +0xb8,0xb3,0xfe,0xe2,0xc3,0x02,0x8e,0xc3,0x02,0x8d,0xc3,0xfe,0xe2,0x02,0x70,0x01, +0x4a,0xfe,0xb6,0x57,0x83,0xfe,0x6a,0x01,0x95,0x51,0xfe,0x1a,0x04,0x60,0xfb,0xa0, +0x01,0xe7,0x00,0x02,0x00,0xc9,0x00,0x00,0x09,0x14,0x05,0xd5,0x00,0x03,0x00,0x17, +0x00,0x00,0x01,0x0b,0x01,0x17,0x05,0x21,0x11,0x23,0x11,0x33,0x11,0x21,0x01,0x33, +0x01,0x23,0x01,0x07,0x11,0x23,0x11,0x27,0x01,0x23,0x06,0x86,0xe6,0xe7,0xe7,0xfd, +0xfb,0xfd,0xf8,0xca,0xca,0x02,0x5f,0x01,0x3c,0xe5,0x03,0x01,0xe1,0xfe,0xaf,0xdc, +0xca,0xde,0xfe,0xaf,0xe1,0x03,0x3f,0x01,0xc0,0xfe,0x40,0x77,0x01,0xfd,0x39,0x05, +0xd5,0xfd,0x9c,0x02,0x64,0xfa,0x2b,0x02,0x8e,0x72,0xfd,0xe4,0x02,0x1b,0x72,0xfd, +0x73,0x00,0x00,0x02,0x00,0xc1,0x00,0x00,0x07,0xd0,0x04,0x60,0x00,0x03,0x00,0x17, +0x00,0x00,0x01,0x0b,0x01,0x17,0x05,0x21,0x11,0x23,0x11,0x33,0x11,0x21,0x01,0x33, +0x01,0x23,0x01,0x07,0x11,0x23,0x11,0x27,0x01,0x23,0x05,0xa1,0xc0,0xc0,0xc0,0xfe, +0x2d,0xfe,0x6b,0xb8,0xb8,0x01,0xe9,0x01,0x1e,0xc3,0x02,0x8d,0xc3,0xfe,0xe2,0xb1, +0xb8,0xb3,0xfe,0xe2,0xc3,0x02,0x70,0x01,0x4a,0xfe,0xb6,0x57,0x32,0xfe,0x19,0x04, +0x60,0xfe,0x17,0x01,0xe9,0xfb,0xa0,0x01,0xe7,0x51,0xfe,0x6a,0x01,0x95,0x51,0xfe, +0x1a,0x00,0x00,0x02,0x00,0x73,0x00,0x00,0x05,0xd9,0x05,0xd5,0x00,0x17,0x00,0x1a, +0x00,0x00,0x01,0x11,0x23,0x11,0x06,0x07,0x06,0x11,0x23,0x10,0x37,0x36,0x37,0x01, +0x21,0x01,0x16,0x17,0x16,0x11,0x23,0x10,0x27,0x26,0x27,0x01,0x21,0x03,0x8b,0xca, +0x93,0x64,0x82,0xd5,0xbd,0x78,0xaa,0xfe,0x51,0x05,0x12,0xfe,0x50,0xa4,0x74,0xbc, +0xd5,0x80,0x60,0xf8,0x01,0x3e,0xfd,0x83,0x02,0x59,0xfd,0xa7,0x02,0x59,0x1c,0x7e, +0xa4,0xfe,0xe5,0x01,0x62,0xd2,0x86,0x31,0x02,0xea,0xfd,0x13,0x32,0x82,0xd2,0xfe, +0x9e,0x01,0x1e,0xa1,0x7a,0xca,0x02,0x28,0x00,0x02,0x00,0x6b,0x00,0x00,0x04,0x7b, +0x04,0x60,0x00,0x02,0x00,0x1a,0x00,0x00,0x01,0x21,0x13,0x09,0x01,0x16,0x17,0x16, +0x11,0x23,0x34,0x27,0x26,0x27,0x11,0x23,0x11,0x06,0x07,0x06,0x15,0x23,0x10,0x37, +0x36,0x37,0x01,0x03,0x45,0xfe,0x5d,0xd1,0x02,0x08,0xfe,0xbb,0x6b,0x4b,0x89,0xc3, +0x56,0x3a,0x56,0xb8,0x53,0x38,0x56,0xc2,0x89,0x4a,0x6c,0xfe,0xbb,0x03,0xb6,0xfe, +0x96,0x02,0x14,0xfd,0xcc,0x26,0x56,0x9c,0xfe,0xec,0xc7,0x74,0x4f,0x1a,0xfe,0x5c, +0x01,0xa2,0x1a,0x4b,0x74,0xc9,0x01,0x14,0x9c,0x55,0x27,0x02,0x34,0x00,0x00,0x02, +0x00,0xc9,0x00,0x00,0x07,0xc4,0x05,0xd5,0x00,0x1e,0x00,0x21,0x00,0x00,0x09,0x01, +0x21,0x01,0x16,0x17,0x16,0x11,0x23,0x10,0x27,0x26,0x27,0x11,0x23,0x11,0x06,0x07, +0x06,0x11,0x23,0x10,0x37,0x36,0x37,0x21,0x11,0x23,0x11,0x33,0x11,0x05,0x01,0x21, +0x03,0xef,0xfe,0x9f,0x05,0x12,0xfe,0x50,0xa4,0x74,0xbc,0xd5,0x80,0x60,0x99,0xca, +0x93,0x64,0x82,0xd5,0xbd,0x55,0x6e,0xfd,0xb5,0xca,0xca,0x03,0x84,0x01,0x3e,0xfd, +0x83,0x03,0x71,0x02,0x64,0xfd,0x13,0x32,0x82,0xd2,0xfe,0x9e,0x01,0x1e,0xa1,0x7a, +0x20,0xfd,0xa7,0x02,0x59,0x1c,0x7e,0xa4,0xfe,0xe5,0x01,0x62,0xd2,0x5f,0x34,0xfd, +0x39,0x05,0xd5,0xfd,0x9c,0x6e,0x02,0x28,0x00,0x02,0x00,0xc1,0x00,0x00,0x06,0x2e, +0x04,0x60,0x00,0x1e,0x00,0x21,0x00,0x00,0x09,0x01,0x21,0x01,0x16,0x17,0x16,0x11, +0x23,0x34,0x27,0x26,0x27,0x11,0x23,0x11,0x06,0x07,0x06,0x15,0x23,0x10,0x37,0x36, +0x37,0x21,0x11,0x23,0x11,0x33,0x11,0x01,0x21,0x13,0x03,0x37,0xfe,0xe7,0x04,0x10, +0xfe,0xbb,0x6b,0x4b,0x89,0xc3,0x56,0x3a,0x56,0xb8,0x53,0x38,0x56,0xc2,0x89,0x1b, +0x1f,0xfe,0x92,0xb8,0xb8,0x03,0x7f,0xfe,0x5d,0xd1,0x02,0x77,0x01,0xe9,0xfd,0xcc, +0x26,0x56,0x9c,0xfe,0xec,0xc7,0x74,0x4f,0x1a,0xfe,0x5c,0x01,0xa2,0x1a,0x4b,0x74, +0xc9,0x01,0x14,0x9c,0x1f,0x18,0xfe,0x19,0x04,0x60,0xfe,0x17,0x01,0x3f,0xfe,0x96, +0x00,0x02,0x00,0x73,0xfe,0x56,0x04,0x73,0x07,0x6d,0x00,0x4b,0x00,0x52,0x00,0x00, +0x05,0x32,0x17,0x16,0x17,0x15,0x26,0x27,0x26,0x23,0x20,0x27,0x26,0x35,0x34,0x37, +0x36,0x33,0x32,0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x2b,0x01,0x35, +0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x06,0x07,0x35,0x36,0x37,0x36, +0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x16,0x17,0x16,0x15,0x14,0x07,0x06, +0x23,0x22,0x27,0x26,0x23,0x22,0x07,0x06,0x15,0x14,0x17,0x16,0x13,0x03,0x33,0x17, +0x37,0x33,0x03,0x02,0xbb,0x3c,0x5b,0x60,0x56,0x47,0x67,0x86,0x19,0xfe,0xcd,0x72, +0xa3,0x3f,0x47,0x63,0x2e,0x84,0x49,0x64,0x5b,0x55,0x3f,0x5c,0x5b,0xa7,0xae,0xb6, +0x95,0x4f,0x4f,0x51,0x52,0x98,0x53,0xbe,0x72,0x73,0x64,0x65,0x59,0xe6,0x86,0x86, +0x47,0x47,0x83,0x93,0x50,0x51,0x73,0x98,0xc6,0x56,0x4c,0x55,0x2a,0x28,0x20,0x18, +0x75,0x5e,0x12,0xd3,0x8b,0xa6,0xa6,0x8b,0xd3,0xd1,0x06,0x06,0x26,0xa7,0x29,0x08, +0x0a,0x43,0x60,0x93,0x90,0x48,0x51,0x2d,0x19,0x5a,0x41,0x79,0x7a,0x4a,0x49,0xa6, +0x3b,0x3c,0x70,0x73,0x3d,0x3e,0x24,0x26,0xb4,0x20,0x10,0x10,0x68,0x69,0xb2,0x7c, +0x55,0x56,0x21,0x1f,0x60,0x62,0x86,0xd0,0x66,0x88,0x24,0x2a,0x24,0x1b,0x43,0x57, +0x27,0x20,0x07,0x35,0x01,0x0a,0xb2,0xb2,0xfe,0xf6,0x00,0x02,0x00,0x5b,0xfe,0x74, +0x03,0xc8,0x06,0x66,0x00,0x49,0x00,0x50,0x00,0x00,0x25,0x32,0x37,0x36,0x35,0x34, +0x27,0x26,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x07, +0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x1e,0x01, +0x15,0x14,0x06,0x27,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x15,0x14,0x17,0x16,0x33, +0x32,0x17,0x16,0x17,0x15,0x26,0x27,0x26,0x23,0x20,0x27,0x26,0x35,0x34,0x37,0x36, +0x33,0x32,0x17,0x16,0x0b,0x01,0x33,0x17,0x37,0x33,0x03,0x02,0x4b,0x57,0x3b,0x36, +0x4e,0x48,0x89,0x94,0x9b,0x74,0x43,0x44,0x46,0x45,0x77,0x47,0x51,0x50,0x61,0x62, +0xaa,0x4c,0xc4,0x71,0x72,0x3c,0x3c,0x70,0x7c,0x8a,0xee,0xa8,0x4e,0x3b,0x4b,0x20, +0x24,0x19,0x13,0x62,0x6a,0x8c,0x52,0x2e,0x5d,0x3b,0x3b,0x58,0x84,0x01,0xfe,0xfe, +0x60,0x89,0x34,0x3a,0x56,0x33,0x67,0x3e,0x3e,0xf5,0x8b,0xb4,0xb4,0x8b,0xf5,0x99, +0x31,0x2d,0x5b,0x4c,0x38,0x33,0x98,0x2c,0x2d,0x46,0x40,0x2e,0x2e,0x0d,0x0d,0x1d, +0xa7,0x18,0x18,0x4e,0x4f,0x8d,0x5d,0x40,0x41,0x18,0x18,0x92,0x60,0xa1,0xb6,0x05, +0x02,0x1c,0x23,0x1e,0x17,0x4c,0x63,0x19,0x1b,0x05,0x0b,0x1a,0x8b,0x22,0x06,0x09, +0x38,0x51,0x98,0x8d,0x3b,0x44,0x24,0x15,0x04,0x55,0x01,0x78,0xf5,0xf5,0xfe,0x88, +0xff,0xff,0x00,0x73,0x00,0x00,0x05,0xdb,0x05,0xd5,0x12,0x02,0x03,0x21,0x00,0x00, +0xff,0xff,0x00,0x70,0xfe,0x56,0x04,0xd1,0x04,0x60,0x12,0x02,0x03,0x41,0x00,0x00, +0x00,0x03,0x00,0x73,0xff,0xe3,0x05,0xd9,0x05,0xf0,0x00,0x09,0x00,0x14,0x00,0x23, +0x00,0x00,0x01,0x05,0x27,0x05,0x12,0x17,0x16,0x20,0x37,0x36,0x11,0x26,0x27,0x26, +0x23,0x22,0x07,0x06,0x07,0x25,0x17,0x03,0x20,0x17,0x16,0x11,0x10,0x07,0x06,0x21, +0x20,0x27,0x26,0x10,0x37,0x36,0x05,0x04,0xfe,0x68,0xe6,0xfe,0xc2,0x08,0x7a,0x81, +0x01,0xb8,0x81,0x78,0x19,0x5f,0x81,0xdc,0xda,0x83,0x62,0x18,0x01,0x90,0xe6,0x9f, +0x01,0x3a,0xbc,0xbc,0xbc,0xbc,0xfe,0xc6,0xfe,0xc5,0xbc,0xbd,0xbd,0xbc,0x02,0xc7, +0x6e,0xc8,0x5a,0xfe,0xff,0x9b,0xa4,0xa4,0x98,0x01,0xae,0xbd,0x7a,0xa4,0xa4,0x7b, +0xbc,0x6e,0xc8,0x02,0xd9,0xd2,0xd3,0xfe,0x9e,0xfe,0x9f,0xd2,0xd3,0xd2,0xd2,0x02, +0xc4,0xd3,0xd2,0x00,0x00,0x03,0x00,0x71,0xff,0xe3,0x04,0x75,0x04,0x7b,0x00,0x0a, +0x00,0x15,0x00,0x24,0x00,0x00,0x01,0x25,0x17,0x37,0x26,0x27,0x26,0x23,0x22,0x07, +0x06,0x03,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x37,0x05,0x27,0x13,0x32,0x00,0x11, +0x10,0x07,0x06,0x23,0x22,0x27,0x26,0x11,0x10,0x37,0x36,0x01,0x39,0x01,0x07,0x96, +0xd5,0x11,0x3e,0x56,0x93,0x95,0x55,0x3f,0x16,0x08,0x4c,0x56,0x95,0x93,0x56,0x4c, +0x09,0xfe,0xf3,0x96,0x65,0xf0,0x01,0x12,0x89,0x89,0xf0,0xf1,0x88,0x89,0x89,0x88, +0x02,0x94,0x46,0x78,0x32,0x81,0x55,0x75,0x73,0x55,0xfe,0xed,0xad,0x65,0x73,0x74, +0x67,0xaa,0x46,0x82,0x02,0x3b,0xfe,0xc8,0xfe,0xec,0xfe,0xed,0x9c,0x9d,0x9d,0x9c, +0x01,0x13,0x01,0x14,0x9c,0x9c,0x00,0x01,0x00,0x10,0x00,0x00,0x06,0x27,0x05,0xf0, +0x00,0x14,0x00,0x00,0x21,0x23,0x01,0x33,0x09,0x01,0x12,0x37,0x36,0x33,0x32,0x16, +0x17,0x15,0x27,0x26,0x23,0x22,0x07,0x06,0x07,0x03,0x2f,0xe5,0xfd,0xc6,0xd3,0x01, +0xd9,0x01,0x38,0x73,0x60,0x4e,0x94,0x1f,0x3e,0x21,0x44,0x16,0x19,0x49,0x22,0x47, +0x54,0x05,0xd5,0xfb,0x17,0x03,0x3d,0x01,0x32,0x52,0x43,0x0a,0x0b,0xbb,0x0a,0x04, +0x22,0x43,0xdd,0x00,0x00,0x01,0x00,0x32,0x00,0x00,0x05,0x1f,0x04,0x7b,0x00,0x15, +0x00,0x00,0x01,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x15,0x27,0x26,0x23,0x22, +0x07,0x06,0x07,0x01,0x23,0x01,0x33,0x01,0x03,0x3b,0x50,0x66,0x42,0x81,0x1a,0x1a, +0x1b,0x1c,0x3a,0x13,0x15,0x36,0x1d,0x41,0x3d,0xfe,0xe4,0xfa,0xfe,0x5c,0xc3,0x01, +0x5e,0x03,0x24,0xd5,0x4f,0x33,0x04,0x04,0x08,0x8d,0x07,0x03,0x19,0x37,0xa2,0xfd, +0x0a,0x04,0x60,0xfc,0x54,0x00,0x00,0x03,0x00,0x10,0x00,0x00,0x06,0x27,0x07,0x6c, +0x00,0x03,0x00,0x07,0x00,0x1c,0x00,0x00,0x01,0x13,0x23,0x03,0x25,0x13,0x23,0x03, +0x13,0x23,0x01,0x33,0x09,0x01,0x12,0x37,0x36,0x33,0x32,0x16,0x17,0x15,0x27,0x26, +0x23,0x22,0x07,0x06,0x07,0x01,0xfd,0x90,0x87,0xae,0x01,0xee,0x86,0x89,0x9d,0x89, +0xe5,0xfd,0xc6,0xd3,0x01,0xd9,0x01,0x38,0x73,0x60,0x4e,0x94,0x1f,0x3e,0x21,0x44, +0x16,0x19,0x49,0x22,0x47,0x54,0x07,0x6b,0xfe,0xf8,0x01,0x08,0x01,0xfe,0xf7,0x01, +0x09,0xf8,0x94,0x05,0xd5,0xfb,0x17,0x03,0x3d,0x01,0x32,0x52,0x43,0x0a,0x0b,0xbb, +0x0a,0x04,0x22,0x43,0xdd,0x00,0xff,0xff,0x00,0x32,0x00,0x00,0x05,0x1f,0x06,0x66, +0x10,0x23,0x02,0xb2,0x04,0xc2,0x00,0x00,0x12,0x02,0x03,0xed,0x00,0x00,0xff,0xff, +0x00,0x71,0xff,0xe3,0x05,0x25,0x05,0xf0,0x10,0x02,0x01,0xe4,0x00,0x00,0xff,0xff, +0x00,0x71,0xff,0xe3,0x04,0x71,0x05,0x2f,0x10,0x02,0x01,0xe5,0x00,0x00,0x00,0x02, +0x00,0x73,0xff,0xe3,0x07,0x2d,0x05,0xf0,0x00,0x29,0x00,0x52,0x00,0x00,0x25,0x33, +0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x2b,0x01,0x06,0x07,0x06,0x07,0x06,0x22,0x27, +0x26,0x27,0x26,0x27,0x23,0x22,0x07,0x06,0x15,0x14,0x17,0x16,0x3b,0x01,0x36,0x37, +0x36,0x37,0x36,0x32,0x17,0x16,0x17,0x16,0x07,0x23,0x20,0x27,0x26,0x10,0x37,0x36, +0x21,0x33,0x36,0x37,0x36,0x37,0x36,0x32,0x17,0x16,0x17,0x16,0x17,0x33,0x20,0x17, +0x16,0x11,0x10,0x07,0x06,0x21,0x23,0x06,0x07,0x06,0x07,0x06,0x22,0x27,0x26,0x27, +0x26,0x04,0x5d,0x1e,0xeb,0x72,0x80,0x80,0x72,0xeb,0x1e,0x0b,0x0f,0x16,0x1b,0x1a, +0x3e,0x1a,0x1b,0x16,0x10,0x0a,0x2e,0xeb,0x72,0x82,0x82,0x72,0xeb,0x2e,0x0a,0x10, +0x16,0x1b,0x1a,0x3e,0x1a,0x1b,0x16,0x10,0xfe,0x2e,0xfe,0xa1,0x98,0xbd,0xbd,0x98, +0x01,0x5f,0x2d,0x0b,0x10,0x16,0x1b,0x1a,0x3e,0x1a,0x1f,0x12,0x10,0x0b,0x1d,0x01, +0x5e,0x98,0xbc,0xbc,0x98,0xfe,0xa2,0x1d,0x0a,0x11,0x16,0x1b,0x1a,0x3e,0x1a,0x1f, +0x12,0x10,0xc2,0x91,0xa4,0xf2,0xf3,0xa4,0x91,0x14,0x0e,0x15,0x0c,0x0b,0x0b,0x0c, +0x15,0x10,0x12,0x91,0xa4,0xf3,0xf2,0xa4,0x91,0x12,0x10,0x15,0x0c,0x0b,0x0b,0x0c, +0x15,0x10,0xa1,0xaa,0xd2,0x02,0x74,0xd3,0xaa,0x15,0x0f,0x15,0x0c,0x0b,0x0b,0x0e, +0x13,0x11,0x13,0xaa,0xd3,0xfe,0xc6,0xfe,0xc7,0xd2,0xab,0x13,0x11,0x15,0x0c,0x0b, +0x0b,0x0e,0x13,0x11,0x00,0x02,0x00,0x71,0xff,0xe3,0x05,0xa1,0x04,0x7b,0x00,0x26, +0x00,0x50,0x00,0x00,0x25,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x2b,0x01,0x06, +0x07,0x0e,0x01,0x22,0x26,0x27,0x26,0x27,0x23,0x22,0x07,0x06,0x15,0x14,0x17,0x16, +0x3b,0x01,0x36,0x37,0x3e,0x01,0x32,0x17,0x16,0x17,0x16,0x07,0x23,0x20,0x27,0x26, +0x35,0x34,0x37,0x36,0x21,0x33,0x36,0x37,0x36,0x37,0x36,0x32,0x17,0x16,0x17,0x16, +0x17,0x33,0x20,0x17,0x16,0x15,0x14,0x07,0x06,0x21,0x23,0x06,0x07,0x06,0x07,0x06, +0x22,0x27,0x26,0x27,0x26,0x03,0x72,0x2d,0xa1,0x48,0x56,0x56,0x3f,0xaa,0x2d,0x07, +0x0a,0x12,0x2c,0x34,0x2c,0x12,0x0a,0x07,0x2d,0xa3,0x47,0x56,0x55,0x48,0xa3,0x2d, +0x07,0x0a,0x12,0x2c,0x34,0x16,0x1b,0x0d,0x09,0xc9,0x2e,0xfe,0xff,0x78,0x89,0x89, +0x74,0x01,0x05,0x2e,0x07,0x09,0x0d,0x1b,0x16,0x34,0x16,0x1b,0x0d,0x09,0x07,0x2e, +0x01,0x02,0x77,0x89,0x89,0x74,0xfe,0xfb,0x2e,0x07,0x09,0x0d,0x1b,0x16,0x34,0x16, +0x1b,0x0d,0x09,0xa4,0x60,0x74,0xb7,0xa7,0x83,0x61,0x0b,0x0a,0x11,0x14,0x14,0x11, +0x0a,0x0b,0x5f,0x74,0xb8,0xbc,0x70,0x5f,0x0b,0x0a,0x11,0x14,0x0a,0x0c,0x0f,0x0a, +0x93,0x89,0x9c,0xee,0xe9,0xa2,0x88,0x0a,0x0a,0x0f,0x0c,0x0a,0x0a,0x0c,0x0f,0x0a, +0x0a,0x88,0x9c,0xef,0xe8,0xa2,0x89,0x0a,0x0a,0x0f,0x0c,0x0a,0x0a,0x0c,0x0f,0x0a, +0xff,0xff,0x00,0x73,0xff,0xe3,0x07,0x05,0x07,0xb7,0x10,0x23,0x03,0xfb,0x06,0x2c, +0x01,0x3d,0x10,0x02,0x03,0xd8,0x00,0x00,0xff,0xff,0x00,0x87,0xff,0xff,0x06,0x28, +0x06,0x64,0x10,0x23,0x03,0xfb,0x05,0xc4,0xff,0xea,0x10,0x02,0x03,0xd9,0x00,0x00, +0x00,0x02,0x00,0x73,0xff,0xe3,0x07,0x05,0x07,0x33,0x00,0x0b,0x00,0x40,0x00,0x00, +0x01,0x07,0x23,0x27,0x23,0x07,0x23,0x27,0x23,0x07,0x23,0x27,0x03,0x16,0x33,0x32, +0x37,0x36,0x3d,0x01,0x33,0x15,0x14,0x17,0x16,0x33,0x32,0x37,0x36,0x11,0x34,0x27, +0x02,0x27,0x33,0x16,0x17,0x12,0x15,0x10,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x06, +0x07,0x06,0x23,0x22,0x27,0x26,0x11,0x34,0x13,0x36,0x37,0x33,0x06,0x03,0x06,0x15, +0x10,0x05,0x7e,0x64,0x32,0x32,0xaf,0x32,0x32,0x32,0xaf,0x32,0x32,0x64,0x68,0x49, +0x7d,0x72,0x48,0x47,0xc7,0x46,0x46,0x74,0x86,0x41,0x47,0x43,0x87,0x54,0xfa,0x5f, +0x38,0x64,0x7b,0x7b,0xd1,0x92,0x65,0x64,0x27,0x27,0x64,0x65,0x92,0xd3,0x79,0x7b, +0x64,0x3b,0x5d,0xf9,0x54,0x87,0x43,0x07,0x33,0xc8,0x64,0x64,0x64,0x64,0xc8,0xfa, +0x27,0x6d,0x69,0x68,0xc6,0xf1,0xf1,0xc6,0x68,0x69,0x6d,0x77,0x01,0x27,0xb7,0x9f, +0x01,0x41,0x46,0x82,0x9c,0xfe,0xe7,0xbe,0xfe,0x66,0xb2,0xb1,0x5e,0x5e,0xad,0xad, +0x5e,0x5e,0xb1,0xb4,0x01,0x98,0xc9,0x01,0x0e,0x9f,0x7f,0x46,0xfe,0xbf,0x9f,0xb7, +0xfe,0xcd,0x00,0x02,0x00,0x87,0xff,0xff,0x06,0x28,0x05,0xe0,0x00,0x0b,0x00,0x26, +0x00,0x00,0x01,0x07,0x23,0x27,0x23,0x07,0x23,0x27,0x23,0x07,0x23,0x27,0x13,0x20, +0x11,0x34,0x13,0x33,0x02,0x15,0x02,0x17,0x16,0x03,0x33,0x02,0x37,0x36,0x11,0x34, +0x03,0x33,0x12,0x15,0x12,0x25,0x24,0x03,0x02,0x05,0x1b,0x64,0x32,0x32,0xaf,0x32, +0x32,0x32,0xaf,0x32,0x32,0x64,0x8f,0xfe,0x61,0x87,0xda,0x8f,0x01,0xdf,0xd0,0x05, +0xaa,0x03,0xce,0xde,0x8f,0xda,0x87,0x01,0xfe,0x60,0xfe,0xed,0x1e,0x23,0x05,0xe0, +0xc8,0x64,0x64,0x64,0x64,0xc8,0xfa,0x20,0x02,0x35,0xeb,0x01,0x40,0xfe,0xc0,0xf0, +0xfe,0x97,0x01,0x01,0x01,0xd4,0xfe,0x2b,0x02,0x02,0x01,0x68,0xf0,0x01,0x40,0xfe, +0xc0,0xeb,0xfd,0xca,0x01,0x01,0x01,0x0d,0xfe,0xf2,0x00,0x01,0x00,0x73,0xfe,0x56, +0x05,0x27,0x05,0xf0,0x00,0x19,0x00,0x00,0x21,0x23,0x20,0x27,0x26,0x11,0x10,0x00, +0x21,0x32,0x16,0x17,0x15,0x2e,0x01,0x23,0x20,0x00,0x11,0x10,0x17,0x16,0x33,0x21, +0x11,0x23,0x03,0xfa,0xae,0xfe,0xa5,0xbb,0xc3,0x01,0x86,0x01,0x53,0x86,0xed,0x68, +0x66,0xe7,0x82,0xff,0x00,0xfe,0xf0,0x88,0x98,0xf0,0x01,0x6b,0xc9,0xc6,0xd0,0x01, +0x53,0x01,0x68,0x01,0x9f,0x47,0x47,0xd5,0x5f,0x5e,0xfe,0xc7,0xfe,0xd8,0xfe,0xd3, +0x82,0x94,0xfd,0xb0,0x00,0x01,0x00,0x71,0xfe,0x56,0x03,0xe7,0x04,0x7b,0x00,0x18, +0x00,0x00,0x21,0x20,0x27,0x26,0x35,0x10,0x00,0x21,0x32,0x16,0x17,0x15,0x2e,0x01, +0x23,0x22,0x06,0x15,0x14,0x16,0x3b,0x01,0x11,0x23,0x11,0x02,0x98,0xfe,0xfb,0x8d, +0x95,0x01,0x2d,0x01,0x06,0x55,0xa2,0x4c,0x4e,0x9d,0x50,0xb3,0xc6,0xc6,0xb3,0xf5, +0xc9,0x96,0x9f,0xfa,0x01,0x12,0x01,0x3a,0x23,0x23,0xac,0x2b,0x2b,0xe3,0xcd,0xb9, +0xe3,0xfd,0xc3,0x01,0xaa,0x00,0x00,0x01,0x00,0x32,0x00,0x34,0x04,0x8e,0x05,0xbc, +0x00,0x1b,0x00,0x00,0x01,0x37,0x27,0x37,0x17,0x37,0x17,0x07,0x17,0x07,0x27,0x07, +0x17,0x07,0x27,0x07,0x17,0x07,0x27,0x07,0x27,0x37,0x27,0x37,0x17,0x37,0x27,0x37, +0x02,0x3b,0x69,0xd8,0x64,0xd8,0x7d,0xae,0x7d,0xd8,0x64,0xd8,0x69,0xd8,0x64,0xd8, +0x69,0xd8,0x64,0xd8,0x7d,0xae,0x7d,0xd8,0x64,0xd8,0x69,0xd8,0x64,0x03,0x81,0xb5, +0x7d,0xae,0x7d,0xd8,0x64,0xd8,0x7d,0xae,0x7d,0xb5,0x7d,0xae,0x7d,0xb5,0x7d,0xae, +0x7d,0xd8,0x64,0xd8,0x7d,0xae,0x7d,0xb5,0x7d,0xae,0x00,0x01,0xfb,0xda,0x04,0xde, +0xff,0x42,0x06,0x7a,0x00,0x2f,0x00,0x00,0x01,0x21,0x14,0x07,0x06,0x07,0x06,0x07, +0x06,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x36, +0x33,0x21,0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x32,0x17,0x16,0x17,0x16,0x17,0x16, +0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0xfe,0xb9,0xfe,0x33,0x0a,0x0b,0x13,0x14, +0x19,0x18,0x38,0x18,0x19,0x14,0x13,0x0b,0x0a,0x0a,0x0b,0x13,0x14,0x19,0x18,0x1c, +0x01,0xcd,0x0a,0x0b,0x13,0x14,0x19,0x18,0x38,0x18,0x19,0x14,0x14,0x0a,0x0a,0x0a, +0x0b,0x13,0x14,0x19,0x18,0x05,0x67,0x1b,0x19,0x1b,0x12,0x13,0x0b,0x0a,0x0a,0x0b, +0x13,0x12,0x1b,0x19,0x1b,0x1c,0x19,0x1b,0x12,0x13,0x0b,0x0a,0x1b,0x19,0x1b,0x12, +0x13,0x0b,0x0a,0x0a,0x0b,0x13,0x15,0x18,0x19,0x1c,0x1b,0x19,0x1b,0x12,0x13,0x0b, +0x0a,0x00,0x00,0x01,0xfb,0xf7,0x05,0x29,0xfe,0xf9,0x06,0x4d,0x00,0x11,0x00,0x00, +0x01,0x36,0x33,0x32,0x17,0x16,0x17,0x33,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x07, +0x15,0x36,0xfd,0x12,0x5d,0x5b,0x46,0x38,0x30,0x0b,0x76,0x0a,0x4f,0x56,0x8a,0x7c, +0x78,0x48,0x8d,0x8a,0x05,0x95,0x2f,0x2a,0x24,0x4d,0x8f,0x48,0x4d,0x43,0x29,0x28, +0x86,0x17,0x00,0x01,0xfc,0x22,0x04,0xe3,0xfe,0xf8,0x06,0x75,0x00,0x07,0x00,0x00, +0x01,0x15,0x21,0x15,0x23,0x11,0x33,0x15,0xfe,0xf8,0xfd,0xc0,0x96,0x96,0x05,0xf7, +0x96,0x7e,0x01,0x92,0x7e,0x00,0x00,0x01,0xfc,0x22,0x04,0xe3,0xfe,0xf8,0x06,0x75, +0x00,0x07,0x00,0x00,0x01,0x21,0x35,0x33,0x11,0x23,0x35,0x21,0xfc,0x22,0x02,0x40, +0x96,0x96,0xfd,0xc0,0x05,0xf7,0x7e,0xfe,0x6e,0x7e,0xff,0xff,0xf7,0xd6,0xfe,0x90, +0x03,0x46,0x07,0x60,0x10,0x2b,0x02,0x8c,0xff,0x8e,0x04,0xd8,0xc0,0x00,0x10,0x2b, +0x02,0x8c,0xfb,0x0f,0x08,0xb1,0xc0,0x00,0x10,0x2b,0x02,0x8c,0x04,0x0d,0x08,0xb1, +0xc0,0x00,0x10,0x2b,0x02,0x8c,0xfc,0x60,0x05,0xf9,0xc0,0x00,0x10,0x2b,0x02,0x8c, +0x02,0xbc,0x05,0xf9,0xc0,0x00,0x10,0x2b,0x02,0x8c,0xfc,0x60,0x0b,0x69,0xc0,0x00, +0x10,0x2b,0x02,0x8c,0x02,0xbc,0x0b,0x69,0xc0,0x00,0x10,0x0b,0x02,0x8c,0xff,0x8e, +0x0c,0x89,0xc0,0x00,0x00,0x08,0xf8,0x58,0xfd,0xc3,0x02,0xc2,0x08,0x2d,0x00,0x05, +0x00,0x0b,0x00,0x11,0x00,0x17,0x00,0x1d,0x00,0x23,0x00,0x29,0x00,0x2f,0x00,0x00, +0x27,0x37,0x17,0x13,0x07,0x03,0x01,0x07,0x27,0x03,0x37,0x13,0x01,0x27,0x37,0x25, +0x17,0x05,0x01,0x17,0x07,0x05,0x27,0x25,0x01,0x35,0x33,0x05,0x15,0x2d,0x01,0x15, +0x23,0x25,0x35,0x05,0x01,0x23,0x35,0x13,0x33,0x0b,0x01,0x33,0x15,0x03,0x23,0x13, +0x6b,0x96,0x79,0x6f,0x5c,0xa9,0xfb,0x77,0x96,0x79,0x6f,0x5c,0xa9,0x05,0x1f,0x96, +0x7a,0x01,0x56,0x5c,0xfe,0xe3,0xfa,0x4c,0x95,0x79,0xfe,0xa9,0x5b,0x01,0x1c,0x06, +0x60,0xac,0x01,0x40,0xfe,0xc0,0xf8,0xc2,0xac,0xfe,0xc0,0x01,0x40,0x04,0x5f,0xd3, +0xa4,0x81,0x52,0xd3,0xd3,0xa4,0x81,0x52,0x5a,0x96,0x79,0xfe,0xa9,0x5c,0x01,0x1d, +0x05,0xb5,0x96,0x79,0x01,0x57,0x5c,0xfe,0xe3,0xfe,0xf1,0x95,0x7a,0x6e,0x5b,0xa9, +0xfb,0x77,0x96,0x79,0x6f,0x5c,0xa8,0x02,0x18,0xd4,0xa4,0x82,0x52,0xd4,0xd4,0xa4, +0x82,0x52,0x02,0xdf,0xac,0x01,0x40,0xfe,0xc0,0xf8,0xc2,0xac,0xfe,0xc0,0x01,0x40, +0x00,0x02,0x00,0xc9,0xfe,0x56,0x05,0xfc,0x07,0x6d,0x00,0x0e,0x00,0x1c,0x00,0x00, +0x21,0x23,0x11,0x01,0x21,0x11,0x33,0x11,0x01,0x21,0x11,0x33,0x15,0x01,0x23,0x01, +0x33,0x1e,0x01,0x33,0x32,0x36,0x37,0x33,0x0e,0x01,0x23,0x22,0x26,0x05,0x33,0xc4, +0xfd,0x6a,0xfe,0xf0,0xc4,0x02,0x96,0x01,0x10,0xc9,0xfe,0x92,0x86,0xfd,0xb4,0x76, +0x0d,0x63,0x53,0x52,0x61,0x10,0x76,0x0a,0xa0,0x8f,0x90,0x9f,0x04,0xe1,0xfb,0x1f, +0x05,0xd5,0xfb,0x1f,0x04,0xe1,0xfa,0xd5,0xaa,0xfe,0x56,0x09,0x17,0x36,0x39,0x37, +0x38,0x77,0x7b,0x7a,0x00,0x02,0x00,0xc1,0xfe,0x56,0x05,0x38,0x06,0x14,0x00,0x0e, +0x00,0x1c,0x00,0x00,0x21,0x23,0x11,0x01,0x23,0x11,0x33,0x11,0x01,0x33,0x11,0x33, +0x15,0x01,0x23,0x01,0x33,0x1e,0x01,0x33,0x32,0x36,0x37,0x33,0x0e,0x01,0x23,0x22, +0x26,0x04,0x80,0xb7,0xfd,0xe4,0xec,0xb7,0x02,0x1b,0xed,0xb8,0xfe,0xde,0x7b,0xfd, +0xcd,0x76,0x0a,0x62,0x56,0x56,0x60,0x0e,0x76,0x0a,0x9e,0x92,0x90,0x9e,0x03,0x83, +0xfc,0x7d,0x04,0x60,0xfc,0x7f,0x03,0x81,0xfc,0x39,0x99,0xfe,0x56,0x07,0xbe,0x4b, +0x4b,0x4a,0x4c,0x8f,0x90,0x90,0x00,0x02,0x00,0x21,0x00,0x00,0x04,0xec,0x05,0xd5, +0x00,0x12,0x00,0x1d,0x00,0x00,0x01,0x15,0x21,0x32,0x04,0x15,0x14,0x04,0x23,0x21, +0x11,0x23,0x35,0x33,0x35,0x33,0x15,0x33,0x15,0x01,0x34,0x27,0x26,0x23,0x21,0x11, +0x21,0x32,0x37,0x36,0x01,0x93,0x01,0x4e,0xfb,0x01,0x10,0xfe,0xf0,0xfb,0xfd,0xe8, +0xa8,0xa8,0xca,0xa8,0x01,0xdc,0x4f,0x4e,0xa3,0xfe,0xbc,0x01,0x44,0xa3,0x4e,0x4f, +0x04,0x51,0xe2,0xda,0xde,0xdd,0xda,0x04,0x51,0xa4,0xe0,0xe0,0xa4,0xfd,0x66,0x8b, +0x44,0x43,0xfd,0xdd,0x44,0x43,0x00,0x02,0x00,0x26,0x00,0x00,0x04,0x45,0x05,0x9e, +0x00,0x0a,0x00,0x1e,0x00,0x00,0x01,0x34,0x27,0x26,0x23,0x21,0x11,0x21,0x32,0x37, +0x36,0x01,0x11,0x21,0x32,0x17,0x16,0x10,0x07,0x06,0x23,0x21,0x11,0x23,0x35,0x33, +0x11,0x33,0x11,0x33,0x15,0x03,0x81,0x3e,0x43,0x80,0xfe,0xf9,0x01,0x07,0x81,0x42, +0x3e,0xfd,0xf8,0x01,0x0f,0xd0,0x79,0x74,0x74,0x73,0xd6,0xfe,0x39,0x9b,0x9b,0xb8, +0x9d,0x01,0x4c,0x5e,0x2a,0x2e,0xfe,0x97,0x2e,0x2b,0x02,0xdf,0xfe,0xca,0x55,0x52, +0xfe,0xb0,0x52,0x52,0x03,0xd1,0x8f,0x01,0x3e,0xfe,0xc2,0x8f,0x00,0x02,0x00,0xc9, +0x00,0x00,0x04,0xe1,0x05,0xd5,0x00,0x0e,0x00,0x1b,0x00,0x00,0x01,0x17,0x07,0x27, +0x06,0x2b,0x01,0x11,0x23,0x11,0x21,0x32,0x04,0x15,0x14,0x27,0x36,0x37,0x34,0x26, +0x2b,0x01,0x11,0x33,0x32,0x37,0x27,0x37,0x04,0x55,0x8c,0x6a,0x92,0x7e,0xd6,0xfe, +0xca,0x01,0xc8,0xfb,0x01,0x01,0xe2,0x0c,0x01,0x9a,0x8d,0xfe,0xfe,0x72,0x47,0xd7, +0x6a,0x03,0x23,0x75,0x7e,0x7b,0x53,0xfd,0xa8,0x05,0xd5,0xe3,0xdb,0x92,0x2d,0x2c, +0x39,0x86,0x92,0xfd,0xcf,0x2f,0xb4,0x7e,0x00,0x02,0x00,0xba,0xfe,0x56,0x04,0xa4, +0x04,0x7b,0x00,0x0d,0x00,0x23,0x00,0x00,0x25,0x27,0x37,0x17,0x36,0x35,0x34,0x26, +0x20,0x06,0x10,0x16,0x33,0x32,0x05,0x17,0x07,0x27,0x06,0x23,0x22,0x26,0x27,0x11, +0x23,0x11,0x33,0x15,0x3e,0x01,0x33,0x32,0x00,0x10,0x07,0x06,0x03,0x2a,0x8c,0x6e, +0x8a,0x4f,0xa7,0xfe,0xdc,0xa7,0xa7,0x92,0x46,0x01,0x1b,0x93,0x6f,0x95,0x57,0x6c, +0x7b,0xb1,0x3a,0xb9,0xb9,0x3a,0xb1,0x7b,0xcc,0x00,0xff,0x80,0x0c,0x98,0xa7,0x5d, +0xa5,0x73,0xc5,0xcb,0xe7,0xe7,0xfe,0x6a,0xe7,0x14,0xae,0x5d,0xb3,0x2e,0x61,0x64, +0xfd,0xae,0x06,0x0a,0xaa,0x64,0x61,0xfe,0xbc,0xfd,0xf0,0xa2,0x0f,0x00,0x00,0x01, +0x00,0xc9,0x00,0x00,0x04,0x6a,0x07,0x07,0x00,0x07,0x00,0x1b,0x40,0x0d,0x03,0x06, +0x95,0x01,0x81,0x00,0x03,0x04,0x06,0x1c,0x01,0x04,0x08,0x10,0xfc,0xfc,0xdc,0xcc, +0x31,0x00,0x2f,0xf4,0xec,0xcc,0x30,0x33,0x11,0x21,0x11,0x33,0x11,0x21,0x11,0xc9, +0x02,0xd8,0xc9,0xfd,0x29,0x05,0xd5,0x01,0x32,0xfe,0x24,0xfa,0xd5,0x00,0x00,0x01, +0x00,0xba,0x00,0x00,0x03,0xd0,0x05,0x9a,0x00,0x07,0x00,0x1b,0x40,0x0d,0x03,0x06, +0xa9,0x01,0xbc,0x00,0x03,0x04,0x06,0x08,0x01,0x46,0x08,0x10,0xfc,0xfc,0xdc,0xcc, +0x31,0x00,0x2f,0xf4,0xec,0xcc,0x30,0x33,0x11,0x21,0x11,0x33,0x11,0x21,0x11,0xba, +0x02,0x5e,0xb8,0xfd,0xa2,0x04,0x60,0x01,0x3a,0xfe,0x1c,0xfc,0x4a,0x00,0x00,0x01, +0x00,0x47,0x00,0x00,0x04,0x6a,0x05,0xd5,0x00,0x0d,0x00,0x00,0x13,0x33,0x11,0x21, +0x15,0x21,0x11,0x21,0x15,0x21,0x11,0x23,0x11,0x23,0x47,0x82,0x03,0xa1,0xfd,0x29, +0x02,0x23,0xfd,0xdd,0xca,0x82,0x03,0xe8,0x01,0xed,0xaa,0xfe,0xbd,0xaa,0xfc,0xc2, +0x03,0x3e,0x00,0x01,0x00,0x38,0x00,0x00,0x03,0xd0,0x04,0x60,0x00,0x0d,0x00,0x00, +0x33,0x11,0x23,0x35,0x33,0x11,0x21,0x15,0x21,0x11,0x21,0x15,0x21,0x11,0xba,0x82, +0x82,0x03,0x16,0xfd,0xa2,0x01,0xa0,0xfe,0x60,0x01,0xf4,0xaa,0x01,0xc2,0xaa,0xfe, +0xe8,0xaa,0xfe,0x0c,0x00,0x01,0x00,0xc9,0xfe,0x66,0x04,0xcc,0x05,0xd5,0x00,0x1b, +0x00,0x00,0x01,0x11,0x23,0x11,0x21,0x15,0x21,0x11,0x21,0x32,0x17,0x16,0x15,0x11, +0x10,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x35,0x11,0x34,0x26,0x23,0x01,0x93, +0xca,0x03,0xa1,0xfd,0x29,0x01,0xa1,0xba,0x71,0x6d,0xcc,0xe4,0x4c,0x3e,0x86,0x38, +0x37,0x7c,0x7c,0x02,0xc7,0xfd,0x39,0x05,0xd5,0xaa,0xfe,0x46,0x77,0x72,0xee,0xfe, +0xce,0xfe,0xf2,0xf4,0xaa,0x4b,0x4b,0xc2,0x01,0x22,0x9f,0x9e,0x00,0x01,0x00,0xba, +0xfe,0x56,0x04,0x0b,0x04,0x60,0x00,0x1d,0x00,0x00,0x01,0x11,0x23,0x11,0x21,0x15, +0x21,0x11,0x33,0x20,0x17,0x16,0x15,0x11,0x14,0x07,0x06,0x2b,0x01,0x35,0x33,0x32, +0x37,0x36,0x35,0x11,0x34,0x27,0x26,0x23,0x01,0x72,0xb8,0x03,0x16,0xfd,0xa2,0xfa, +0x01,0x07,0x46,0x52,0x52,0x51,0xb5,0xc1,0xac,0x6e,0x21,0x26,0x26,0x31,0x86,0x01, +0xe7,0xfe,0x19,0x04,0x60,0xaa,0xfe,0xc1,0x47,0x51,0xe5,0xfe,0xf2,0xd6,0x60,0x60, +0x9c,0x30,0x37,0x93,0x01,0x08,0xaa,0x20,0x29,0x00,0x00,0x01,0x00,0x3b,0xfe,0x56, +0x06,0xc2,0x05,0xd5,0x00,0x19,0x00,0x00,0x25,0x33,0x11,0x23,0x11,0x23,0x01,0x23, +0x11,0x23,0x11,0x23,0x01,0x23,0x09,0x01,0x33,0x01,0x33,0x11,0x33,0x11,0x33,0x01, +0x33,0x01,0x06,0x57,0x6b,0xc5,0x29,0xfe,0x9b,0x96,0xca,0x96,0xfe,0x9b,0xd9,0x01, +0x90,0xfe,0xa2,0xd9,0x01,0x34,0x95,0xca,0x95,0x01,0x34,0xd9,0xfe,0xa2,0xaa,0xfd, +0xac,0x01,0xaa,0x02,0xc7,0xfd,0x39,0x02,0xc7,0xfd,0x39,0x03,0x1c,0x02,0xb9,0xfd, +0x9c,0x02,0x64,0xfd,0x9c,0x02,0x64,0xfd,0x47,0x00,0x00,0x01,0x00,0x32,0xfe,0x56, +0x05,0xc1,0x04,0x60,0x00,0x19,0x00,0x00,0x25,0x33,0x11,0x23,0x11,0x23,0x01,0x23, +0x11,0x23,0x11,0x23,0x01,0x23,0x09,0x01,0x33,0x01,0x33,0x11,0x33,0x11,0x33,0x01, +0x33,0x01,0x05,0x55,0x6c,0xb8,0x21,0xfe,0xd5,0x72,0xb7,0x72,0xfe,0xd5,0xc5,0x01, +0x54,0xfe,0xd7,0xc4,0x01,0x02,0x71,0xb7,0x71,0x01,0x02,0xc4,0xfe,0xd7,0x99,0xfd, +0xbd,0x01,0xaa,0x02,0x09,0xfd,0xf7,0x02,0x09,0xfd,0xf7,0x02,0x55,0x02,0x0b,0xfe, +0x41,0x01,0xbf,0xfe,0x41,0x01,0xbf,0xfd,0xf5,0x00,0xff,0xff,0x00,0x9c,0xfe,0x75, +0x04,0x73,0x05,0xf0,0x10,0x26,0x00,0x7a,0x39,0x00,0x10,0x06,0x03,0x8f,0x00,0x00, +0xff,0xff,0x00,0x85,0xfe,0x75,0x03,0xc8,0x04,0x7c,0x10,0x26,0x00,0x7a,0xce,0x00, +0x10,0x06,0x03,0xaf,0x00,0x00,0x00,0x01,0x00,0xc9,0xfe,0x56,0x05,0x6a,0x05,0xd5, +0x00,0x0e,0x00,0x00,0x25,0x33,0x11,0x23,0x11,0x23,0x01,0x11,0x23,0x11,0x33,0x11, +0x01,0x21,0x01,0x04,0xc1,0xa9,0xc5,0x45,0xfd,0x33,0xca,0xca,0x02,0x9e,0x01,0x04, +0xfd,0x1b,0xaa,0xfd,0xac,0x01,0xaa,0x02,0xcf,0xfd,0x31,0x05,0xd5,0xfd,0x89,0x02, +0x77,0xfd,0x48,0x00,0x00,0x01,0x00,0xbf,0xfe,0x56,0x04,0xa1,0x04,0x60,0x00,0x0e, +0x00,0x00,0x25,0x33,0x11,0x23,0x11,0x23,0x01,0x11,0x23,0x11,0x33,0x11,0x01,0x33, +0x01,0x04,0x02,0x9f,0xb8,0x38,0xfd,0xc7,0xb9,0xb9,0x02,0x25,0xeb,0xfd,0xae,0x99, +0xfd,0xbd,0x01,0xaa,0x02,0x23,0xfd,0xdd,0x04,0x60,0xfe,0x1d,0x01,0xe3,0xfd,0xf4, +0x00,0x01,0x00,0xc9,0x00,0x00,0x05,0x6a,0x05,0xd5,0x00,0x12,0x00,0x00,0x01,0x27, +0x11,0x23,0x11,0x33,0x11,0x37,0x11,0x33,0x15,0x01,0x21,0x09,0x01,0x21,0x01,0x15, +0x23,0x01,0xe0,0x4d,0xca,0xca,0x4d,0x64,0x01,0xed,0x01,0x04,0xfd,0x1b,0x03,0x1a, +0xfe,0xf6,0xfd,0xe4,0x64,0x02,0x82,0x4d,0xfd,0x31,0x05,0xd5,0xfd,0x89,0x49,0x01, +0x51,0xf3,0x01,0xd0,0xfd,0x48,0xfc,0xe3,0x02,0x1e,0xf8,0x00,0x00,0x01,0x00,0xbf, +0x00,0x00,0x04,0xa1,0x04,0x60,0x00,0x12,0x00,0x00,0x01,0x15,0x23,0x35,0x27,0x11, +0x23,0x11,0x33,0x11,0x37,0x35,0x37,0x15,0x01,0x33,0x09,0x01,0x23,0x02,0x1d,0x65, +0x40,0xb9,0xb9,0x40,0x65,0x01,0x80,0xeb,0xfd,0xae,0x02,0x6b,0xf0,0x01,0x84,0x8a, +0xeb,0x3e,0xfd,0xdd,0x04,0x60,0xfe,0x1d,0x38,0xd9,0x02,0x82,0x01,0x52,0xfd,0xf4, +0xfd,0xac,0x00,0x01,0x00,0x21,0x00,0x00,0x05,0x6a,0x05,0xd5,0x00,0x12,0x00,0x00, +0x13,0x23,0x35,0x33,0x35,0x33,0x15,0x33,0x15,0x23,0x15,0x01,0x21,0x09,0x01,0x21, +0x01,0x11,0x23,0xc9,0xa8,0xa8,0xca,0xa8,0xa8,0x02,0x9e,0x01,0x04,0xfd,0x1b,0x03, +0x1a,0xfe,0xf6,0xfd,0x33,0xca,0x04,0x51,0xa4,0xe0,0xe0,0xa4,0xf3,0x02,0x77,0xfd, +0x48,0xfc,0xe3,0x02,0xcf,0xfd,0x31,0x00,0x00,0x01,0x00,0x3d,0x00,0x00,0x04,0x9c, +0x06,0x14,0x00,0x12,0x00,0x00,0x01,0x11,0x01,0x33,0x09,0x01,0x23,0x01,0x11,0x23, +0x11,0x23,0x35,0x33,0x35,0x33,0x15,0x21,0x15,0x01,0x73,0x02,0x25,0xeb,0xfd,0xae, +0x02,0x6b,0xf0,0xfd,0xc7,0xb9,0x7d,0x7d,0xb9,0x01,0x60,0x04,0xf6,0xfd,0x87,0x01, +0xe3,0xfd,0xf4,0xfd,0xac,0x02,0x23,0xfd,0xdd,0x04,0xf6,0xa4,0x7a,0x7a,0xa4,0x00, +0x00,0x01,0x00,0x32,0x00,0x00,0x06,0x96,0x05,0xd5,0x00,0x0c,0x00,0x00,0x01,0x21, +0x35,0x21,0x11,0x01,0x21,0x09,0x01,0x21,0x01,0x11,0x23,0x01,0xf5,0xfe,0x3d,0x02, +0x8d,0x02,0x9e,0x01,0x04,0xfd,0x1b,0x03,0x1a,0xfe,0xf6,0xfd,0x33,0xca,0x05,0x2b, +0xaa,0xfd,0x89,0x02,0x77,0xfd,0x48,0xfc,0xe3,0x02,0xcf,0xfd,0x31,0x00,0x00,0x01, +0x00,0x2a,0x00,0x00,0x05,0x8b,0x04,0x60,0x00,0x0c,0x00,0x00,0x01,0x21,0x35,0x21, +0x11,0x01,0x33,0x09,0x01,0x23,0x01,0x11,0x23,0x01,0xa9,0xfe,0x81,0x02,0x38,0x02, +0x25,0xeb,0xfd,0xae,0x02,0x6b,0xf0,0xfd,0xc7,0xb9,0x03,0xc6,0x9a,0xfe,0x1d,0x01, +0xe3,0xfd,0xf4,0xfd,0xac,0x02,0x23,0xfd,0xdd,0x00,0x00,0x01,0x00,0xc9,0xfe,0x56, +0x06,0x04,0x05,0xd5,0x00,0x0f,0x00,0x00,0x21,0x11,0x21,0x11,0x23,0x11,0x33,0x11, +0x21,0x11,0x33,0x11,0x33,0x11,0x23,0x11,0x04,0x71,0xfd,0x22,0xca,0xca,0x02,0xde, +0xca,0xc9,0xc9,0x02,0xc7,0xfd,0x39,0x05,0xd5,0xfd,0x9c,0x02,0x64,0xfa,0xd5,0xfd, +0xac,0x01,0xaa,0x00,0x00,0x01,0x00,0xc1,0xfe,0x56,0x05,0x40,0x04,0x60,0x00,0x0f, +0x00,0x00,0x25,0x33,0x11,0x23,0x11,0x23,0x11,0x21,0x11,0x23,0x11,0x33,0x11,0x21, +0x11,0x33,0x04,0x88,0xb8,0xb8,0xb8,0xfd,0xa9,0xb8,0xb8,0x02,0x57,0xb8,0x99,0xfd, +0xbd,0x01,0xaa,0x02,0x04,0xfd,0xfc,0x04,0x60,0xfe,0x33,0x01,0xcd,0x00,0x00,0x01, +0x00,0xc9,0x00,0x00,0x08,0x12,0x05,0xd5,0x00,0x0d,0x00,0x00,0x01,0x11,0x23,0x11, +0x21,0x11,0x23,0x11,0x33,0x11,0x21,0x11,0x21,0x15,0x05,0x3b,0xca,0xfd,0x22,0xca, +0xca,0x02,0xde,0x03,0xa1,0x05,0x2b,0xfa,0xd5,0x02,0xc7,0xfd,0x39,0x05,0xd5,0xfd, +0x9c,0x02,0x64,0xaa,0x00,0x01,0x00,0xc1,0x00,0x00,0x06,0xe6,0x04,0x60,0x00,0x0d, +0x00,0x00,0x01,0x11,0x23,0x11,0x21,0x11,0x23,0x11,0x33,0x11,0x21,0x11,0x21,0x15, +0x04,0x88,0xb8,0xfd,0xa9,0xb8,0xb8,0x02,0x57,0x03,0x16,0x03,0xb6,0xfc,0x4a,0x02, +0x04,0xfd,0xfc,0x04,0x60,0xfe,0x33,0x01,0xcd,0xaa,0x00,0x01,0x00,0xc9,0xfe,0x66, +0x08,0x74,0x05,0xd5,0x00,0x1d,0x00,0x00,0x01,0x11,0x23,0x11,0x21,0x11,0x23,0x11, +0x21,0x11,0x21,0x32,0x17,0x16,0x15,0x11,0x10,0x06,0x2b,0x01,0x35,0x33,0x32,0x37, +0x36,0x35,0x11,0x34,0x26,0x23,0x05,0x3b,0xca,0xfd,0x22,0xca,0x04,0x72,0x01,0xa1, +0xba,0x71,0x6d,0xcc,0xe4,0x4c,0x3e,0x86,0x38,0x37,0x7c,0x7c,0x02,0xc7,0xfd,0x39, +0x05,0x2b,0xfa,0xd5,0x05,0xd5,0xfd,0x9c,0x77,0x72,0xee,0xfe,0xce,0xfe,0xf2,0xf4, +0xaa,0x4b,0x4b,0xc2,0x01,0x22,0x9f,0x9e,0x00,0x01,0x00,0xc1,0xfe,0x56,0x07,0x21, +0x04,0x60,0x00,0x1f,0x00,0x00,0x01,0x11,0x23,0x11,0x21,0x11,0x23,0x11,0x21,0x11, +0x33,0x20,0x17,0x16,0x15,0x11,0x14,0x07,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36, +0x35,0x11,0x34,0x27,0x26,0x07,0x04,0x88,0xb8,0xfd,0xa9,0xb8,0x03,0xc7,0xfa,0x01, +0x07,0x46,0x52,0x52,0x51,0xb5,0xc1,0xac,0x6e,0x21,0x26,0x26,0x31,0x86,0x01,0xe7, +0xfe,0x19,0x03,0xc6,0xfc,0x3a,0x04,0x60,0xfe,0x17,0x47,0x51,0xe5,0xfe,0xf2,0xd6, +0x60,0x60,0x9c,0x30,0x37,0x93,0x01,0x08,0xa4,0x26,0x2e,0x05,0x00,0x02,0x00,0x73, +0xff,0x2d,0x06,0x27,0x05,0xf0,0x00,0x32,0x00,0x40,0x00,0x00,0x25,0x26,0x11,0x34, +0x37,0x36,0x33,0x32,0x16,0x15,0x14,0x07,0x06,0x07,0x16,0x33,0x32,0x37,0x15,0x06, +0x23,0x04,0x27,0x06,0x23,0x24,0x27,0x26,0x11,0x10,0x37,0x36,0x21,0x32,0x17,0x16, +0x17,0x15,0x26,0x27,0x26,0x23,0x20,0x07,0x06,0x11,0x10,0x17,0x16,0x33,0x32,0x37, +0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x07,0x06,0x15,0x10,0x03,0x45,0x64, +0x60,0x5f,0xa9,0xa8,0xc0,0x66,0x4a,0x78,0x75,0x8e,0x54,0x47,0x49,0x52,0xfe,0xe9, +0xbe,0x44,0x4c,0xfe,0xc5,0xbc,0xbd,0xc3,0xc3,0x01,0x53,0x75,0x87,0x81,0x5e,0x5c, +0x7d,0x7d,0x79,0xff,0x00,0x88,0x88,0x82,0x81,0xdc,0x0f,0xd9,0x49,0x30,0x61,0x2b, +0x2b,0x49,0x4a,0x2b,0x2b,0x88,0xb9,0x01,0x13,0xdc,0x7d,0x7d,0xfa,0xdc,0xd6,0x9d, +0x73,0x3f,0x5d,0x18,0xa6,0x16,0x01,0xc0,0x0a,0x01,0xd1,0xd2,0x01,0x62,0x01,0x68, +0xcf,0xd0,0x24,0x22,0x3e,0xb7,0x37,0x2f,0x2f,0x9c,0x9d,0xfe,0xd8,0xfe,0xe8,0xa6, +0xa4,0x2e,0x24,0x3f,0x7f,0xd6,0x78,0x45,0x47,0x45,0x46,0x79,0xfe,0xe4,0x00,0x02, +0x00,0x71,0xff,0x52,0x05,0x04,0x04,0x7b,0x00,0x0c,0x00,0x3f,0x00,0x00,0x25,0x36, +0x37,0x36,0x35,0x34,0x26,0x23,0x22,0x07,0x06,0x15,0x14,0x07,0x26,0x35,0x34,0x37, +0x36,0x33,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x16,0x33,0x32,0x37,0x15,0x06, +0x23,0x22,0x27,0x06,0x23,0x20,0x27,0x26,0x11,0x10,0x37,0x36,0x21,0x32,0x17,0x16, +0x17,0x15,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x15,0x14,0x17,0x16,0x33,0x03,0x57, +0x21,0x16,0x56,0x30,0x29,0x2c,0x18,0x1b,0x8f,0x33,0x4d,0x4e,0x83,0x84,0x4e,0x4d, +0x89,0x27,0x38,0x48,0x65,0x5a,0x3e,0x46,0x52,0xeb,0x89,0x35,0x3c,0xfe,0xfd,0x8a, +0x89,0x97,0x96,0x01,0x06,0x55,0x51,0x51,0x4c,0x43,0x5a,0x49,0x55,0xb3,0x63,0x63, +0x55,0x54,0xab,0xad,0x15,0x1d,0x71,0x87,0x48,0x54,0x2a,0x2e,0x4e,0xb3,0x9b,0x85, +0xc2,0x9b,0x57,0x58,0x01,0x58,0x57,0xa5,0xb5,0x9a,0x2c,0x1e,0x34,0x14,0x9e,0x12, +0x97,0x06,0x9d,0x9c,0x01,0x13,0x01,0x12,0x9d,0x9d,0x11,0x12,0x23,0x98,0x19,0x16, +0x13,0x71,0x72,0xcd,0xc9,0x74,0x73,0x00,0xff,0xff,0x00,0x73,0xfe,0x75,0x05,0x27, +0x05,0xf0,0x10,0x27,0x00,0x7a,0x01,0x2d,0x00,0x00,0x10,0x06,0x03,0x99,0x00,0x00, +0xff,0xff,0x00,0x71,0xfe,0x75,0x03,0xe7,0x04,0x7b,0x10,0x27,0x00,0x7a,0x00,0x8f, +0x00,0x00,0x10,0x06,0x03,0xb9,0x00,0x00,0x00,0x01,0xff,0xfa,0xfe,0x56,0x04,0xe9, +0x05,0xd5,0x00,0x0b,0x00,0x00,0x25,0x33,0x11,0x23,0x11,0x23,0x11,0x21,0x35,0x21, +0x15,0x21,0x02,0xd7,0xc9,0xc9,0xcb,0xfd,0xee,0x04,0xef,0xfd,0xee,0xaa,0xfd,0xac, +0x01,0xaa,0x05,0x2b,0xaa,0xaa,0x00,0x01,0x00,0x05,0xfe,0x56,0x04,0x36,0x04,0x60, +0x00,0x0b,0x00,0x00,0x25,0x33,0x11,0x23,0x11,0x23,0x11,0x21,0x35,0x21,0x15,0x21, +0x02,0x78,0xb8,0xb8,0xb5,0xfe,0x42,0x04,0x31,0xfe,0x42,0x99,0xfd,0xbd,0x01,0xaa, +0x03,0xb6,0xaa,0xaa,0xff,0xff,0xff,0xfc,0x00,0x00,0x04,0xe7,0x05,0xd5,0x12,0x06, +0x00,0x3c,0x00,0x00,0x00,0x01,0x00,0x3d,0xfe,0x56,0x04,0x7f,0x04,0x60,0x00,0x08, +0x00,0x00,0x25,0x11,0x23,0x11,0x01,0x33,0x09,0x01,0x33,0x02,0xc5,0xc3,0xfe,0x3b, +0xc3,0x01,0x5e,0x01,0x5e,0xc3,0x12,0xfe,0x44,0x01,0xbc,0x04,0x4e,0xfc,0x94,0x03, +0x6c,0x00,0x00,0x01,0xff,0xfc,0x00,0x00,0x04,0xe7,0x05,0xd5,0x00,0x0e,0x00,0x00, +0x09,0x01,0x33,0x09,0x01,0x33,0x01,0x21,0x15,0x21,0x11,0x23,0x11,0x21,0x35,0x02, +0x0c,0xfd,0xf0,0xd9,0x01,0x9e,0x01,0x9b,0xd9,0xfd,0xf0,0x02,0x0c,0xfd,0xf4,0xcb, +0xfd,0xf4,0x02,0xc7,0x03,0x0e,0xfd,0x9a,0x02,0x66,0xfc,0xf2,0xaa,0xfd,0xe3,0x02, +0x1d,0xaa,0x00,0x01,0x00,0x3d,0xfe,0x56,0x04,0x7f,0x04,0x60,0x00,0x0e,0x00,0x00, +0x05,0x11,0x23,0x11,0x21,0x35,0x21,0x01,0x33,0x09,0x01,0x33,0x01,0x21,0x15,0x02, +0xc5,0xc3,0xfe,0x3b,0x01,0xc5,0xfe,0x3b,0xc3,0x01,0x5e,0x01,0x5e,0xc3,0xfe,0x46, +0x01,0xba,0x7c,0xfe,0xd2,0x01,0x2e,0x8e,0x04,0x4e,0xfc,0x94,0x03,0x6c,0xfb,0xb2, +0x8e,0x00,0x00,0x01,0x00,0x3d,0xfe,0x56,0x05,0x3b,0x05,0xd5,0x00,0x0f,0x00,0x00, +0x25,0x33,0x11,0x23,0x11,0x23,0x09,0x01,0x23,0x09,0x01,0x33,0x09,0x01,0x33,0x01, +0x04,0xcb,0x70,0xc5,0x14,0xfe,0x5c,0xfe,0x59,0xda,0x02,0x15,0xfe,0x2f,0xd9,0x01, +0x73,0x01,0x75,0xd9,0xfe,0x20,0xaa,0xfd,0xac,0x01,0xaa,0x02,0x7b,0xfd,0x85,0x03, +0x1d,0x02,0xb8,0xfd,0xd5,0x02,0x2b,0xfd,0x33,0x00,0x00,0x01,0x00,0x3b,0xfe,0x56, +0x04,0x79,0x04,0x60,0x00,0x0f,0x00,0x00,0x25,0x33,0x11,0x23,0x11,0x23,0x09,0x01, +0x23,0x09,0x01,0x33,0x09,0x01,0x33,0x01,0x04,0x08,0x71,0xb8,0x21,0xfe,0xba,0xfe, +0xba,0xd9,0x01,0xb3,0xfe,0x72,0xd9,0x01,0x29,0x01,0x29,0xd9,0xfe,0x6b,0x99,0xfd, +0xbd,0x01,0xaa,0x01,0xb8,0xfe,0x48,0x02,0x4a,0x02,0x16,0xfe,0x71,0x01,0x8f,0xfd, +0xdf,0x00,0x00,0x01,0xff,0xfa,0xfe,0x56,0x07,0x47,0x05,0xd5,0x00,0x0f,0x00,0x00, +0x25,0x21,0x11,0x33,0x11,0x33,0x11,0x23,0x11,0x21,0x11,0x21,0x35,0x21,0x15,0x21, +0x02,0xd6,0x02,0xde,0xca,0xc9,0xc9,0xfb,0x8e,0xfd,0xee,0x04,0xef,0xfd,0xee,0xaa, +0x05,0x2b,0xfa,0xd5,0xfd,0xac,0x01,0xaa,0x05,0x2b,0xaa,0xaa,0x00,0x01,0x00,0x05, +0xfe,0x56,0x06,0x42,0x04,0x60,0x00,0x0f,0x00,0x00,0x25,0x21,0x11,0x33,0x11,0x33, +0x11,0x23,0x11,0x21,0x11,0x21,0x35,0x21,0x15,0x21,0x02,0x78,0x02,0x5a,0xb8,0xb8, +0xb8,0xfc,0x39,0xfe,0x42,0x04,0x31,0xfe,0x42,0x99,0x03,0xc7,0xfc,0x39,0xfd,0xbd, +0x01,0xaa,0x03,0xb6,0xaa,0xaa,0x00,0x01,0x00,0xaf,0xfe,0x56,0x05,0x7c,0x05,0xd5, +0x00,0x14,0x00,0x00,0x25,0x33,0x11,0x23,0x11,0x23,0x11,0x21,0x22,0x27,0x26,0x35, +0x11,0x33,0x11,0x14,0x16,0x33,0x21,0x11,0x33,0x04,0xb3,0xc9,0xc9,0xcb,0xfe,0x5f, +0xba,0x71,0x6d,0xc9,0x7c,0x7c,0x01,0x78,0xcb,0xaa,0xfd,0xac,0x01,0xaa,0x02,0xc7, +0x77,0x72,0xee,0x01,0x37,0xfe,0xd9,0x9f,0x9e,0x02,0x64,0x00,0x00,0x01,0x00,0x96, +0xfe,0x56,0x04,0xb8,0x04,0x60,0x00,0x15,0x00,0x00,0x25,0x33,0x11,0x23,0x11,0x23, +0x11,0x21,0x22,0x27,0x26,0x3d,0x01,0x33,0x15,0x14,0x17,0x16,0x33,0x21,0x11,0x33, +0x04,0x00,0xb8,0xb8,0xb8,0xfe,0xa9,0x99,0x66,0x5c,0xb8,0x34,0x35,0x68,0x01,0x29, +0xb8,0x99,0xfd,0xbd,0x01,0xaa,0x02,0x09,0x5f,0x56,0xb8,0xea,0xd3,0x75,0x3b,0x3b, +0x01,0xbe,0x00,0x01,0x00,0xaf,0x00,0x00,0x04,0xb3,0x05,0xd5,0x00,0x18,0x00,0x00, +0x01,0x23,0x22,0x27,0x26,0x35,0x11,0x33,0x11,0x14,0x16,0x3b,0x01,0x11,0x33,0x11, +0x33,0x11,0x33,0x11,0x23,0x11,0x23,0x11,0x23,0x02,0x82,0x3b,0xba,0x71,0x6d,0xc9, +0x7c,0x7c,0x12,0x90,0xd6,0xcb,0xcb,0xd6,0x90,0x02,0xc7,0x77,0x72,0xee,0x01,0x37, +0xfe,0xd9,0x9f,0x9e,0x01,0x39,0xfe,0xc7,0x02,0x64,0xfa,0x2b,0x02,0xc7,0xfe,0xcf, +0x00,0x01,0x00,0x96,0x00,0x00,0x04,0x00,0x04,0x60,0x00,0x18,0x00,0x00,0x01,0x35, +0x33,0x15,0x33,0x11,0x33,0x11,0x23,0x11,0x23,0x15,0x23,0x35,0x23,0x22,0x27,0x26, +0x3d,0x01,0x33,0x15,0x14,0x17,0x16,0x01,0xf9,0xa0,0xaf,0xb8,0xb8,0xaf,0xa0,0x08, +0x99,0x66,0x5c,0xb8,0x34,0x2b,0x02,0xa4,0xc2,0xc4,0x01,0xbe,0xfb,0xa0,0x02,0x09, +0xc4,0xc4,0x5f,0x56,0xb8,0xea,0xd3,0x75,0x3b,0x30,0x00,0x01,0x00,0xaf,0x00,0x00, +0x04,0xb3,0x05,0xd5,0x00,0x10,0x00,0x00,0x01,0x11,0x21,0x32,0x17,0x16,0x15,0x11, +0x23,0x11,0x34,0x26,0x23,0x21,0x11,0x23,0x11,0x01,0x7a,0x01,0xa1,0xba,0x71,0x6d, +0xc9,0x7c,0x7c,0xfe,0x88,0xcb,0x05,0xd5,0xfd,0x9c,0x77,0x72,0xee,0xfe,0x66,0x01, +0x8a,0x9f,0x9e,0xfd,0x39,0x05,0xd5,0x00,0xff,0xff,0x00,0xba,0x00,0x00,0x04,0x64, +0x06,0x14,0x10,0x06,0x00,0x4b,0x00,0x00,0x00,0x02,0x00,0x14,0xff,0xe3,0x07,0x14, +0x05,0xf0,0x00,0x21,0x00,0x29,0x00,0x00,0x01,0x12,0x37,0x36,0x21,0x20,0x17,0x16, +0x13,0x21,0x10,0x00,0x21,0x32,0x36,0x37,0x15,0x06,0x04,0x23,0x20,0x27,0x26,0x03, +0x06,0x27,0x26,0x3d,0x01,0x33,0x15,0x14,0x17,0x16,0x25,0x21,0x26,0x27,0x26,0x20, +0x07,0x06,0x01,0xb2,0x22,0x96,0xbc,0x01,0x3a,0x01,0x43,0xb5,0xbb,0x01,0xfb,0x70, +0x01,0x12,0x01,0x12,0x8b,0xfc,0x70,0x6f,0xfe,0xf9,0x92,0xfe,0xa2,0xc5,0xbc,0x0a, +0xaa,0x76,0x7a,0xaa,0x4b,0x42,0x01,0x40,0x03,0xad,0x18,0x62,0x82,0xfe,0x48,0x80, +0x61,0x03,0x6d,0x01,0x07,0xaa,0xd2,0xd2,0xdb,0xfe,0x84,0xfe,0xf4,0xfe,0xce,0x60, +0x5f,0xd7,0x46,0x48,0xcd,0xc2,0x01,0x55,0x01,0x67,0x6b,0xdf,0x4c,0x3e,0x9d,0x44, +0x39,0x02,0xbf,0x7c,0xa4,0xa4,0x7c,0x00,0x00,0x02,0x00,0x0f,0xff,0xe2,0x05,0x66, +0x04,0x7b,0x00,0x22,0x00,0x29,0x00,0x00,0x01,0x22,0x27,0x26,0x3d,0x01,0x33,0x15, +0x14,0x17,0x16,0x33,0x36,0x37,0x36,0x21,0x32,0x00,0x1d,0x01,0x21,0x1e,0x01,0x33, +0x32,0x36,0x37,0x15,0x06,0x07,0x06,0x27,0x24,0x27,0x26,0x01,0x2e,0x01,0x23,0x22, +0x06,0x07,0x01,0x58,0x90,0x59,0x60,0x9c,0x30,0x39,0x4a,0x1a,0x74,0x92,0x00,0xff, +0xe2,0x01,0x07,0xfc,0xb2,0x0c,0xcd,0xb7,0x6a,0xc7,0x62,0x63,0x68,0x6e,0x65,0xfe, +0xf3,0x9c,0x94,0x03,0x4e,0x02,0xa5,0x88,0x9a,0xb9,0x0e,0x02,0x04,0x52,0x5a,0xac, +0x46,0x31,0x97,0x21,0x26,0xc5,0x82,0xa1,0xfe,0xdd,0xfa,0x5a,0xbe,0xc7,0x34,0x34, +0xae,0x2a,0x16,0x17,0x01,0x05,0x97,0x90,0x01,0x85,0x97,0xb4,0xae,0x9e,0xff,0xff, +0x00,0x14,0xfe,0x75,0x07,0x14,0x05,0xf0,0x10,0x27,0x02,0x8f,0x02,0xbc,0x00,0x00, +0x10,0x06,0x04,0x33,0x00,0x00,0xff,0xff,0x00,0x0f,0xfe,0x75,0x05,0x66,0x04,0x7b, +0x10,0x27,0x02,0x8f,0x01,0xe7,0x00,0x00,0x10,0x06,0x04,0x34,0x00,0x00,0xff,0xff, +0x00,0xc1,0x00,0x00,0x01,0x79,0x06,0x14,0x10,0x06,0x00,0x4f,0x00,0x00,0xff,0xff, +0x00,0x3b,0x00,0x00,0x06,0xad,0x07,0x6d,0x10,0x27,0x0b,0xf0,0x05,0x74,0x01,0x75, +0x11,0x06,0x03,0x8e,0x00,0x00,0x00,0x08,0xb4,0x22,0x00,0x08,0x23,0x07,0x2b,0x31, +0xff,0xff,0x00,0x32,0x00,0x00,0x05,0xad,0x06,0x48,0x10,0x27,0x02,0x8c,0x00,0xf0, +0x00,0x00,0x13,0x06,0x03,0xae,0x00,0x00,0x00,0x08,0xb4,0x22,0x00,0x08,0x23,0x07, +0x2b,0x31,0x00,0x01,0x00,0xc9,0xfe,0x66,0x05,0x35,0x05,0xd5,0x00,0x1c,0x00,0x00, +0x01,0x33,0x32,0x17,0x16,0x15,0x11,0x10,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36, +0x35,0x11,0x34,0x26,0x23,0x21,0x11,0x23,0x11,0x33,0x11,0x01,0x21,0x02,0xa9,0x8b, +0xba,0x71,0x6d,0xcc,0xe4,0x4c,0x3e,0x86,0x38,0x37,0x7c,0x7c,0xfe,0x88,0xca,0xca, +0x02,0x9e,0x01,0x04,0x03,0x71,0x77,0x72,0xee,0xfe,0xce,0xfe,0xf2,0xf4,0xaa,0x4b, +0x4b,0xc2,0x01,0x22,0x9f,0x9e,0xfd,0x39,0x05,0xd5,0xfd,0x89,0x02,0x77,0x00,0x01, +0x00,0xbf,0xfe,0x56,0x04,0x88,0x04,0x60,0x00,0x1e,0x00,0x00,0x01,0x33,0x20,0x17, +0x16,0x15,0x11,0x14,0x07,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x35,0x11,0x34, +0x27,0x26,0x23,0x21,0x11,0x23,0x11,0x33,0x11,0x01,0x33,0x02,0x5e,0x14,0x01,0x05, +0x48,0x52,0x52,0x51,0xb5,0xc1,0xac,0x6e,0x21,0x26,0x26,0x2c,0x8b,0xfe,0xfc,0xb9, +0xb9,0x02,0x25,0xeb,0x02,0x77,0x47,0x51,0xe5,0xfe,0xf2,0xd6,0x60,0x60,0x9c,0x30, +0x37,0x93,0x01,0x08,0xa6,0x24,0x29,0xfe,0x19,0x04,0x60,0xfe,0x1d,0x01,0xe3,0x00, +0x00,0x01,0x00,0x36,0xfe,0x56,0x06,0x03,0x05,0xd5,0x00,0x14,0x00,0x00,0x21,0x23, +0x11,0x21,0x15,0x10,0x03,0x06,0x05,0x35,0x36,0x37,0x12,0x19,0x01,0x21,0x11,0x33, +0x15,0x01,0x23,0x05,0x3a,0xca,0xfe,0x1b,0x84,0x62,0xfe,0x91,0xd4,0x43,0x75,0x03, +0x78,0xc9,0xfe,0x92,0x86,0x05,0x2b,0xd4,0xfe,0x18,0xfe,0xaa,0xfd,0x38,0xa7,0x2e, +0xa8,0x01,0x25,0x02,0x35,0x01,0x1a,0xfa,0xd5,0xaa,0xfe,0x56,0x00,0x02,0x00,0x2e, +0xfe,0x56,0x05,0x2b,0x04,0x60,0x00,0x00,0x00,0x15,0x00,0x00,0x09,0x01,0x33,0x15, +0x01,0x23,0x13,0x23,0x11,0x21,0x15,0x10,0x03,0x06,0x05,0x35,0x36,0x37,0x36,0x11, +0x35,0x21,0xfd,0xb4,0x06,0xbf,0xb8,0xfe,0xde,0x7b,0xe5,0xb8,0xfe,0x7b,0x76,0x5e, +0xfe,0xcc,0xb3,0x3b,0x62,0x02,0xf5,0x08,0x00,0xf8,0x99,0x99,0xfe,0x56,0x01,0xaa, +0x03,0xc7,0x86,0xfe,0x92,0xfe,0xfc,0xcf,0x1d,0x99,0x1b,0x7f,0xcf,0x01,0xa7,0xd4, +0x00,0x01,0x00,0xc9,0xfe,0x66,0x05,0x3b,0x05,0xd5,0x00,0x15,0x00,0x00,0x25,0x11, +0x21,0x11,0x23,0x11,0x33,0x11,0x21,0x11,0x33,0x11,0x10,0x07,0x06,0x2b,0x01,0x35, +0x33,0x32,0x37,0x36,0x04,0x71,0xfd,0x22,0xca,0xca,0x02,0xde,0xca,0x67,0x67,0xe3, +0x4c,0x3e,0x86,0x38,0x37,0x68,0x02,0x5f,0xfd,0x39,0x05,0xd5,0xfd,0x9c,0x02,0x64, +0xfa,0x93,0xfe,0xf2,0x7a,0x7a,0xaa,0x4b,0x4b,0x00,0x00,0x01,0x00,0xc1,0xfe,0x56, +0x04,0x88,0x04,0x60,0x00,0x15,0x00,0x00,0x05,0x11,0x21,0x11,0x23,0x11,0x33,0x11, +0x21,0x11,0x33,0x11,0x14,0x07,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x03,0xd0, +0xfd,0xa9,0xb8,0xb8,0x02,0x57,0xb8,0x52,0x51,0xb5,0xc1,0xac,0x6e,0x21,0x26,0x14, +0x02,0x18,0xfd,0xfc,0x04,0x60,0xfe,0x33,0x01,0xcd,0xfb,0x8c,0xd6,0x60,0x60,0x9c, +0x30,0x37,0x00,0x01,0x00,0xc9,0xfe,0x56,0x06,0x04,0x05,0xd5,0x00,0x10,0x00,0x00, +0x21,0x23,0x11,0x21,0x11,0x23,0x11,0x33,0x11,0x21,0x11,0x33,0x11,0x33,0x15,0x01, +0x23,0x05,0x3b,0xca,0xfd,0x22,0xca,0xca,0x02,0xde,0xca,0xc9,0xfe,0x92,0x86,0x02, +0xc7,0xfd,0x39,0x05,0xd5,0xfd,0x9c,0x02,0x64,0xfa,0xd5,0xaa,0xfe,0x56,0x00,0x01, +0x00,0xc1,0xfe,0x56,0x05,0x40,0x04,0x60,0x00,0x10,0x00,0x00,0x21,0x23,0x11,0x21, +0x11,0x23,0x11,0x33,0x11,0x21,0x11,0x33,0x11,0x33,0x15,0x01,0x23,0x04,0x88,0xb8, +0xfd,0xa9,0xb8,0xb8,0x02,0x57,0xb8,0xb8,0xfe,0xde,0x7b,0x02,0x04,0xfd,0xfc,0x04, +0x60,0xfe,0x33,0x01,0xcd,0xfc,0x39,0x99,0xfe,0x56,0x00,0x01,0x00,0xaf,0xfe,0x56, +0x04,0xb3,0x05,0xd5,0x00,0x14,0x00,0x00,0x25,0x11,0x21,0x22,0x27,0x26,0x35,0x11, +0x33,0x11,0x14,0x16,0x33,0x21,0x11,0x33,0x11,0x23,0x11,0x23,0x11,0x03,0xe8,0xfe, +0x5f,0xba,0x71,0x6d,0xc9,0x7c,0x7c,0x01,0x78,0xcb,0xcb,0xc9,0xaa,0x02,0x1d,0x77, +0x72,0xee,0x01,0x37,0xfe,0xd9,0x9f,0x9e,0x02,0x64,0xfa,0x2b,0xfe,0x56,0x02,0x54, +0x00,0x01,0x00,0x96,0xfe,0x56,0x04,0x00,0x04,0x60,0x00,0x15,0x00,0x00,0x25,0x11, +0x21,0x22,0x27,0x26,0x3d,0x01,0x33,0x15,0x14,0x17,0x16,0x33,0x21,0x11,0x33,0x11, +0x23,0x11,0x23,0x11,0x03,0x48,0xfe,0xa9,0x99,0x66,0x5c,0xb8,0x34,0x35,0x68,0x01, +0x29,0xb8,0xb8,0xb8,0x99,0x01,0x70,0x5f,0x56,0xb8,0xea,0xd3,0x75,0x3b,0x3b,0x01, +0xbe,0xfb,0xa0,0xfe,0x56,0x02,0x43,0x00,0x00,0x01,0x00,0xc9,0xfe,0x56,0x06,0xe8, +0x05,0xd5,0x00,0x11,0x00,0x00,0x25,0x33,0x15,0x01,0x23,0x01,0x23,0x11,0x01,0x23, +0x01,0x11,0x23,0x11,0x21,0x09,0x01,0x21,0x06,0x1f,0xc9,0xfe,0x92,0x86,0x01,0x2b, +0xc5,0xfe,0x7f,0xcb,0xfe,0x7f,0xc4,0x01,0x2d,0x01,0x7d,0x01,0x7f,0x01,0x2d,0xaa, +0xaa,0xfe,0x56,0x01,0xaa,0x05,0x1f,0xfc,0x00,0x04,0x00,0xfa,0xe1,0x05,0xd5,0xfc, +0x08,0x03,0xf8,0x00,0x00,0x01,0x00,0xc1,0xfe,0x56,0x06,0x00,0x04,0x60,0x00,0x11, +0x00,0x00,0x25,0x33,0x15,0x01,0x23,0x13,0x23,0x11,0x01,0x23,0x01,0x11,0x23,0x11, +0x21,0x09,0x01,0x21,0x05,0x48,0xb8,0xfe,0xde,0x7b,0xe5,0xb2,0xfe,0xcb,0xb8,0xfe, +0xca,0xb2,0x01,0x06,0x01,0x3e,0x01,0x3f,0x01,0x04,0x99,0x99,0xfe,0x56,0x01,0xaa, +0x03,0xb0,0xfd,0x27,0x02,0xd9,0xfc,0x50,0x04,0x60,0xfd,0x12,0x02,0xee,0xff,0xff, +0x00,0x10,0x00,0x00,0x05,0x68,0x07,0x92,0x10,0x27,0x02,0x8c,0x00,0xce,0x01,0x4a, +0x11,0x06,0x03,0x88,0x00,0x00,0x00,0x12,0xb4,0x18,0x00,0x08,0x13,0x07,0x2b,0x31, +0x00,0x40,0x05,0x6f,0x00,0x6f,0x08,0x02,0x5d,0x30,0xff,0xff,0x00,0x7b,0xff,0xe3, +0x04,0x2d,0x06,0x1f,0x10,0x26,0x02,0x8c,0x4f,0xd7,0x13,0x06,0x03,0xa8,0x00,0x00, +0x00,0x08,0xb4,0x22,0x00,0x08,0x19,0x07,0x2b,0x31,0xff,0xff,0x00,0x10,0x00,0x00, +0x05,0x68,0x07,0x4e,0x10,0x26,0x03,0x88,0x00,0x00,0x11,0x07,0x0b,0xe9,0x04,0xbc, +0x01,0x75,0x00,0x14,0xb4,0x0a,0x12,0x0d,0x05,0x07,0x2b,0x40,0x09,0x30,0x12,0x3f, +0x0d,0x00,0x12,0x0f,0x0d,0x04,0x5d,0x31,0xff,0xff,0x00,0x7b,0xff,0xe3,0x04,0x2d, +0x06,0x10,0x12,0x26,0x03,0xa8,0x00,0x00,0x11,0x06,0x00,0x6a,0x52,0x00,0x00,0x20, +0xb4,0x14,0x2d,0x28,0x0b,0x07,0x2b,0x40,0x15,0x7f,0x28,0x6f,0x28,0x50,0x2d,0x5f, +0x28,0x40,0x2d,0x4f,0x28,0x30,0x2d,0x3f,0x28,0x00,0x2d,0x0f,0x28,0x0a,0x5d,0x31, +0xff,0xff,0x00,0x08,0x00,0x00,0x07,0x48,0x05,0xd5,0x12,0x06,0x00,0x88,0x00,0x00, +0xff,0xff,0x00,0x7b,0xff,0xe3,0x07,0x6f,0x04,0x7b,0x12,0x06,0x00,0xa8,0x00,0x00, +0xff,0xff,0x00,0xc9,0x00,0x00,0x04,0x8b,0x07,0x6d,0x10,0x27,0x0b,0xf0,0x04,0xa1, +0x01,0x75,0x11,0x06,0x03,0x8d,0x00,0x00,0x00,0x07,0x40,0x03,0x40,0x00,0x01,0x5d, +0x31,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x7f,0x06,0x48,0x10,0x27,0x02,0x8c, +0x00,0x96,0x00,0x00,0x13,0x06,0x03,0xad,0x00,0x00,0x00,0x07,0x40,0x03,0x70,0x00, +0x01,0x5d,0x31,0x00,0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0xd9,0x05,0xf0,0x10,0x06, +0x01,0x51,0x00,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x7f,0x04,0x7b,0x10,0x06, +0x02,0x0d,0x00,0x00,0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0xd9,0x07,0x4e,0x10,0x27, +0x0b,0xe9,0x05,0x20,0x01,0x75,0x10,0x06,0x04,0x4e,0x00,0x00,0xff,0xff,0x00,0x71, +0xff,0xe3,0x04,0x7f,0x06,0x10,0x10,0x26,0x00,0x6a,0x54,0x00,0x10,0x06,0x04,0x4f, +0x00,0x00,0xff,0xff,0x00,0x3b,0x00,0x00,0x06,0xad,0x07,0x4e,0x10,0x27,0x0b,0xe9, +0x05,0x74,0x01,0x75,0x11,0x06,0x03,0x8e,0x00,0x00,0x00,0x08,0xb4,0x1c,0x07,0x02, +0x1d,0x07,0x2b,0x31,0xff,0xff,0x00,0x32,0x00,0x00,0x05,0xad,0x06,0x10,0x10,0x27, +0x00,0x6a,0x00,0xf0,0x00,0x00,0x12,0x06,0x03,0xae,0x00,0x00,0xff,0xff,0x00,0x9c, +0xff,0xe3,0x04,0x73,0x07,0x4e,0x10,0x27,0x0b,0xe9,0x04,0x87,0x01,0x75,0x10,0x06, +0x03,0x8f,0x00,0x00,0xff,0xff,0x00,0x85,0xff,0xe3,0x03,0xc8,0x06,0x10,0x10,0x26, +0x00,0x6a,0x3a,0x00,0x10,0x06,0x03,0xaf,0x00,0x00,0xff,0xff,0x00,0xa0,0xff,0xc1, +0x04,0xf8,0x05,0xd5,0x10,0x06,0x01,0x79,0x00,0x00,0xff,0xff,0x00,0x58,0xfe,0x4c, +0x04,0x2f,0x04,0x60,0x10,0x06,0x02,0x46,0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00, +0x05,0x33,0x07,0x31,0x10,0x27,0x00,0x71,0x00,0xf5,0x01,0x3b,0x10,0x06,0x03,0x90, +0x00,0x00,0xff,0xff,0x00,0xc1,0x00,0x00,0x04,0x80,0x05,0xf5,0x10,0x27,0x00,0x71, +0x00,0x89,0xff,0xff,0x10,0x06,0x03,0xb0,0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00, +0x05,0x33,0x07,0x4e,0x10,0x27,0x0b,0xe9,0x04,0xf5,0x01,0x75,0x10,0x06,0x03,0x90, +0x00,0x00,0xff,0xff,0x00,0xc1,0x00,0x00,0x04,0x80,0x06,0x10,0x10,0x27,0x00,0x6a, +0x00,0x89,0x00,0x00,0x10,0x06,0x03,0xb0,0x00,0x00,0xff,0xff,0x00,0x73,0xff,0xe3, +0x05,0xd9,0x07,0x4e,0x10,0x26,0x03,0x96,0x00,0x00,0x11,0x07,0x0b,0xe9,0x05,0x27, +0x01,0x75,0x00,0x14,0xb4,0x03,0x1f,0x1a,0x09,0x07,0x2b,0x40,0x09,0x40,0x1f,0x4f, +0x1a,0x10,0x1f,0x1f,0x1a,0x04,0x5d,0x31,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x75, +0x06,0x10,0x12,0x26,0x03,0xb6,0x00,0x00,0x11,0x06,0x00,0x6a,0x73,0x00,0x00,0x14, +0xb4,0x03,0x1f,0x1a,0x09,0x07,0x2b,0x40,0x09,0x40,0x1f,0x4f,0x1a,0x30,0x1f,0x3f, +0x1a,0x04,0x5d,0x31,0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0xd9,0x05,0xf0,0x10,0x06, +0x03,0x6c,0x00,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x75,0x04,0x7b,0x10,0x06, +0x02,0x29,0x00,0x00,0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0xd9,0x07,0x4e,0x12,0x26, +0x04,0x5e,0x00,0x00,0x10,0x07,0x0b,0xe9,0x05,0x27,0x01,0x75,0xff,0xff,0x00,0x71, +0xff,0xe3,0x04,0x75,0x06,0x10,0x12,0x26,0x04,0x5f,0x00,0x00,0x10,0x06,0x00,0x6a, +0x73,0x00,0xff,0xff,0x00,0x6f,0xff,0xe3,0x05,0x23,0x07,0x4e,0x10,0x27,0x0b,0xe9, +0x04,0x67,0x01,0x75,0x10,0x06,0x03,0xa5,0x00,0x00,0xff,0xff,0x00,0x71,0xff,0xe3, +0x03,0xe7,0x06,0x10,0x10,0x26,0x00,0x6a,0xe2,0x00,0x10,0x06,0x03,0xc5,0x00,0x00, +0xff,0xff,0x00,0x23,0xff,0xe3,0x04,0xbd,0x07,0x31,0x10,0x27,0x00,0x71,0x00,0x72, +0x01,0x3b,0x10,0x06,0x03,0x9b,0x00,0x00,0xff,0xff,0x00,0x3d,0xfe,0x56,0x04,0x7f, +0x05,0xf5,0x10,0x26,0x00,0x71,0x5e,0xff,0x10,0x06,0x03,0xbb,0x00,0x00,0xff,0xff, +0x00,0x23,0xff,0xe3,0x04,0xbd,0x07,0x4e,0x10,0x27,0x0b,0xe9,0x04,0x72,0x01,0x75, +0x10,0x06,0x03,0x9b,0x00,0x00,0xff,0xff,0x00,0x3d,0xfe,0x56,0x04,0x7f,0x06,0x10, +0x10,0x26,0x00,0x6a,0x5e,0x00,0x10,0x06,0x03,0xbb,0x00,0x00,0xff,0xff,0x00,0x23, +0xff,0xe3,0x04,0xbd,0x07,0x6b,0x10,0x27,0x0b,0xf2,0x04,0x72,0x01,0x75,0x10,0x06, +0x03,0x9b,0x00,0x00,0xff,0xff,0x00,0x3d,0xfe,0x56,0x04,0x7f,0x06,0x66,0x10,0x26, +0x02,0x91,0x5e,0x00,0x10,0x06,0x03,0xbb,0x00,0x00,0xff,0xff,0x00,0xaf,0x00,0x00, +0x04,0xb3,0x07,0x4e,0x10,0x27,0x0b,0xe9,0x04,0xcc,0x01,0x75,0x10,0x06,0x03,0x9f, +0x00,0x00,0xff,0xff,0x00,0x96,0x00,0x00,0x04,0x00,0x06,0x10,0x10,0x26,0x00,0x6a, +0x5e,0x00,0x10,0x06,0x03,0xbf,0x00,0x00,0x00,0x01,0x00,0xc9,0xfe,0x56,0x04,0x6a, +0x05,0xd5,0x00,0x09,0x00,0x00,0x25,0x33,0x11,0x23,0x11,0x23,0x11,0x21,0x15,0x21, +0x01,0x93,0xc9,0xc9,0xca,0x03,0xa1,0xfd,0x29,0xaa,0xfd,0xac,0x01,0xaa,0x05,0xd5, +0xaa,0x00,0x00,0x01,0x00,0xba,0xfe,0x56,0x03,0xd0,0x04,0x60,0x00,0x09,0x00,0x00, +0x25,0x33,0x11,0x23,0x11,0x23,0x11,0x21,0x15,0x21,0x01,0x72,0xb8,0xb8,0xb8,0x03, +0x16,0xfd,0xa2,0x99,0xfd,0xbd,0x01,0xaa,0x04,0x60,0xaa,0x00,0xff,0xff,0x00,0xc9, +0x00,0x00,0x06,0x46,0x07,0x4e,0x10,0x27,0x0b,0xe9,0x05,0xb7,0x01,0x75,0x10,0x06, +0x03,0xa3,0x00,0x00,0xff,0xff,0x00,0xc1,0x00,0x00,0x05,0x69,0x06,0x10,0x10,0x26, +0x03,0xc3,0x00,0x00,0x10,0x07,0x00,0x6a,0x01,0x08,0x00,0x00,0x00,0x02,0x00,0x91, +0x00,0x00,0x04,0xb4,0x05,0xd5,0x00,0x0a,0x00,0x15,0x00,0x00,0x01,0x14,0x17,0x16, +0x33,0x21,0x11,0x21,0x22,0x07,0x06,0x01,0x11,0x21,0x22,0x24,0x35,0x34,0x24,0x33, +0x21,0x11,0x01,0x66,0x4f,0x4e,0xa3,0x01,0x44,0xfe,0xbc,0xa3,0x4e,0x4f,0x03,0x4e, +0xfd,0xe8,0xfb,0xfe,0xf0,0x01,0x10,0xfb,0x01,0x4e,0x01,0xb7,0x8a,0x43,0x44,0x02, +0x23,0x43,0x44,0x03,0x93,0xfa,0x2b,0xda,0xdd,0xde,0xda,0x02,0x66,0x00,0x00,0x02, +0x00,0x71,0x00,0x00,0x03,0xf5,0x04,0x60,0x00,0x0a,0x00,0x16,0x00,0x00,0x01,0x14, +0x17,0x16,0x33,0x21,0x11,0x21,0x22,0x07,0x06,0x01,0x11,0x21,0x22,0x27,0x26,0x10, +0x37,0x36,0x33,0x21,0x11,0x01,0x35,0x3e,0x42,0x81,0x01,0x07,0xfe,0xf9,0x80,0x43, +0x3e,0x02,0xc0,0xfe,0x39,0xd6,0x73,0x74,0x74,0x79,0xd0,0x01,0x0f,0x01,0x4c,0x5a, +0x2b,0x2e,0x01,0x69,0x2e,0x2a,0x02,0xb6,0xfb,0xa0,0x52,0x52,0x01,0x50,0x52,0x55, +0x01,0xc5,0x00,0x02,0x00,0x91,0xff,0xe3,0x07,0x43,0x05,0xd5,0x00,0x0c,0x00,0x30, +0x00,0x00,0x01,0x21,0x22,0x07,0x06,0x10,0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x13, +0x06,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x35,0x34,0x24,0x33,0x21,0x11,0x33, +0x03,0x14,0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x11,0x33,0x11,0x14,0x07,0x06,0x23, +0x22,0x27,0x26,0x03,0xea,0xfe,0xbc,0xa3,0x4e,0x4f,0x4f,0x5f,0x81,0xb4,0x4b,0x56, +0x21,0x0c,0x0e,0x33,0x6a,0x5e,0x6e,0xee,0x81,0x88,0x01,0x10,0xfb,0x01,0x4e,0xca, +0x01,0x3f,0x34,0x70,0x69,0x3b,0x3f,0xca,0x6e,0x68,0xd7,0xd9,0x66,0x31,0x02,0xc9, +0x43,0x44,0xfe,0xea,0x50,0x5f,0x6d,0x7d,0x9f,0xfe,0xdd,0x1d,0x1c,0x60,0x36,0x31, +0x81,0x89,0xca,0xde,0xda,0x02,0x66,0xfb,0xec,0x8f,0x5b,0x4a,0x4a,0x4f,0x9b,0x02, +0x9f,0xfd,0x5a,0xe0,0x7f,0x78,0x78,0x39,0x00,0x02,0x00,0x71,0xff,0xe3,0x06,0x73, +0x04,0x60,0x00,0x0c,0x00,0x2e,0x00,0x00,0x01,0x21,0x22,0x07,0x06,0x15,0x14,0x16, +0x33,0x32,0x37,0x36,0x35,0x13,0x06,0x07,0x06,0x23,0x22,0x26,0x35,0x34,0x37,0x36, +0x33,0x21,0x11,0x33,0x11,0x14,0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x11,0x33,0x11, +0x14,0x07,0x06,0x23,0x22,0x27,0x26,0x03,0x3d,0xfe,0xf9,0x80,0x43,0x3e,0x81,0x6a, +0x94,0x5c,0x2d,0x31,0x43,0x5d,0x5e,0x88,0xac,0xcb,0x74,0x79,0xd0,0x01,0x0f,0xb8, +0x3e,0x3c,0x6a,0x68,0x3c,0x3e,0xb8,0x64,0x68,0xce,0xd3,0x64,0x1f,0x02,0x02,0x2e, +0x2a,0x5e,0x5c,0x73,0x6d,0x34,0x9c,0xfe,0xf6,0x6c,0x30,0x31,0xc1,0xa6,0xaa,0x52, +0x55,0x01,0xc5,0xfd,0x61,0x9f,0x50,0x4f,0x4f,0x52,0x9d,0x01,0x41,0xfe,0xb8,0xec, +0x73,0x78,0x78,0x25,0x00,0x01,0x00,0xc9,0xff,0xe3,0x07,0x03,0x05,0xf0,0x00,0x37, +0x00,0x00,0x01,0x34,0x27,0x26,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x35,0x34,0x27, +0x26,0x23,0x22,0x06,0x07,0x35,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x15,0x14,0x07, +0x06,0x07,0x16,0x17,0x16,0x15,0x14,0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x11,0x33, +0x11,0x14,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x03,0xaa,0x5c,0x5d,0xa5,0xae, +0xb6,0x95,0x4f,0x4f,0x51,0x52,0x98,0x53,0xbe,0x72,0x73,0x64,0x65,0x59,0xe6,0x86, +0x86,0x47,0x47,0x83,0x91,0x52,0x51,0x3f,0x34,0x70,0x69,0x3b,0x3f,0xca,0x6e,0x68, +0xd7,0xd9,0x66,0x30,0x1c,0x21,0x01,0xb2,0x84,0x4a,0x4b,0xa6,0x3b,0x3c,0x70,0x73, +0x3d,0x3e,0x24,0x26,0xb4,0x20,0x10,0x10,0x68,0x69,0xb2,0x7c,0x55,0x56,0x21,0x1f, +0x62,0x62,0x90,0x80,0x5b,0x4a,0x4a,0x4f,0x9b,0x02,0x9f,0xfd,0x5a,0xe0,0x7f,0x78, +0x78,0x38,0x50,0x61,0x00,0x01,0x00,0xab,0xff,0xe3,0x06,0x46,0x04,0x7c,0x00,0x35, +0x00,0x00,0x01,0x34,0x27,0x26,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x35,0x34,0x27, +0x26,0x23,0x22,0x07,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x17,0x16,0x15,0x14,0x07, +0x06,0x07,0x16,0x17,0x16,0x15,0x14,0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x11,0x33, +0x11,0x14,0x07,0x06,0x23,0x22,0x27,0x26,0x03,0x13,0x4e,0x48,0x89,0x94,0x9b,0x74, +0x43,0x44,0x46,0x45,0x77,0x47,0x51,0x50,0x61,0x62,0xaa,0x4c,0xc4,0x71,0x72,0x3c, +0x3c,0x70,0x81,0x40,0x45,0x3e,0x3d,0x69,0x68,0x3c,0x3e,0xb8,0x64,0x68,0xce,0xc7, +0x70,0x62,0x01,0x38,0x66,0x38,0x33,0x98,0x2c,0x2d,0x46,0x40,0x2e,0x2e,0x0d,0x0d, +0x1d,0xa7,0x18,0x18,0x4e,0x4f,0x8d,0x5d,0x40,0x41,0x18,0x19,0x48,0x4f,0x48,0x58, +0x44,0x45,0x4f,0x52,0x9d,0x01,0x41,0xfe,0xb8,0xec,0x73,0x78,0x75,0x65,0x00,0x01, +0x00,0xc9,0xfe,0x56,0x05,0x3c,0x05,0xf0,0x00,0x29,0x00,0x00,0x21,0x23,0x11,0x34, +0x27,0x26,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x06, +0x07,0x35,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x16,0x17, +0x16,0x15,0x11,0x33,0x11,0x23,0x04,0x73,0xc9,0x5c,0x5d,0xa5,0xae,0xb6,0x95,0x4f, +0x4f,0x51,0x52,0x98,0x53,0xbe,0x72,0x73,0x64,0x65,0x59,0xe6,0x86,0x86,0x47,0x47, +0x83,0x91,0x52,0x51,0xc9,0xc9,0x01,0xb1,0x85,0x4a,0x4b,0xa6,0x3b,0x3c,0x70,0x73, +0x3d,0x3e,0x24,0x26,0xb4,0x20,0x10,0x10,0x68,0x69,0xb2,0x7c,0x55,0x56,0x21,0x1f, +0x62,0x61,0x92,0xfe,0xf9,0xfd,0xac,0x00,0x00,0x01,0x00,0xab,0xfe,0x56,0x04,0x83, +0x04,0x7c,0x00,0x29,0x00,0x00,0x25,0x33,0x11,0x23,0x11,0x23,0x11,0x34,0x27,0x26, +0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x07,0x06,0x07, +0x35,0x3e,0x01,0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x16,0x17,0x16,0x15, +0x03,0xc8,0xbb,0xb8,0xb8,0x4e,0x48,0x89,0x94,0x9b,0x74,0x43,0x44,0x46,0x45,0x77, +0x47,0x51,0x50,0x61,0x62,0xaa,0x4c,0xc4,0x71,0x72,0x3c,0x3c,0x70,0x7e,0x43,0x45, +0x99,0xfd,0xbd,0x01,0xaa,0x01,0x46,0x58,0x38,0x33,0x98,0x2c,0x2d,0x46,0x40,0x2e, +0x2e,0x0d,0x0d,0x1d,0xa7,0x18,0x18,0x4e,0x4f,0x8d,0x5d,0x40,0x41,0x18,0x18,0x49, +0x4b,0x6a,0x00,0x01,0x00,0x36,0xff,0xe3,0x07,0xca,0x05,0xd5,0x00,0x21,0x00,0x00, +0x01,0x11,0x14,0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x11,0x33,0x11,0x14,0x07,0x06, +0x23,0x22,0x27,0x26,0x35,0x11,0x21,0x15,0x10,0x03,0x06,0x05,0x35,0x36,0x37,0x12, +0x19,0x01,0x05,0x3a,0x3f,0x34,0x70,0x69,0x3b,0x3f,0xca,0x6e,0x68,0xd7,0xd6,0x69, +0x6e,0xfe,0x1b,0x84,0x62,0xfe,0x91,0xd4,0x43,0x75,0x05,0xd5,0xfb,0xec,0x8f,0x5b, +0x4a,0x4a,0x4f,0x9b,0x02,0x9f,0xfd,0x5a,0xe0,0x7f,0x78,0x78,0x7d,0xe2,0x03,0x71, +0xd4,0xfe,0x18,0xfe,0xaa,0xfd,0x38,0xa7,0x2e,0xa8,0x01,0x25,0x02,0x35,0x01,0x1a, +0x00,0x01,0x00,0x2e,0xff,0xe3,0x06,0xee,0x04,0x60,0x00,0x20,0x00,0x00,0x01,0x11, +0x14,0x16,0x33,0x32,0x37,0x36,0x35,0x11,0x33,0x11,0x14,0x07,0x06,0x23,0x22,0x27, +0x26,0x35,0x11,0x21,0x15,0x10,0x03,0x06,0x05,0x35,0x36,0x37,0x36,0x11,0x35,0x04, +0x73,0x7a,0x67,0x68,0x3c,0x3e,0xb8,0x64,0x68,0xce,0xc7,0x70,0x62,0xfe,0x7b,0x76, +0x5e,0xfe,0xcc,0xb3,0x3b,0x62,0x04,0x60,0xfd,0x04,0x57,0x8a,0x4f,0x52,0x9d,0x01, +0x41,0xfe,0xb8,0xec,0x73,0x78,0x75,0x65,0x7b,0x02,0x8f,0x86,0xfe,0x92,0xfe,0xfc, +0xcf,0x1d,0x99,0x1b,0x7f,0xcf,0x01,0xa7,0xd4,0x00,0xff,0xff,0x00,0xc9,0xff,0xe3, +0x08,0x2d,0x05,0xd5,0x10,0x02,0x01,0xb8,0x00,0x00,0x00,0x01,0x00,0xc1,0xff,0xe3, +0x07,0x03,0x04,0x60,0x00,0x1c,0x00,0x00,0x01,0x11,0x14,0x16,0x33,0x32,0x37,0x36, +0x35,0x11,0x33,0x11,0x14,0x07,0x06,0x23,0x22,0x27,0x26,0x3d,0x01,0x21,0x11,0x23, +0x11,0x33,0x11,0x21,0x11,0x04,0x88,0x7a,0x67,0x68,0x3c,0x3e,0xb8,0x64,0x68,0xce, +0xc7,0x70,0x62,0xfd,0xa9,0xb8,0xb8,0x02,0x57,0x04,0x60,0xfd,0x04,0x57,0x8a,0x4f, +0x52,0x9d,0x01,0x41,0xfe,0xb8,0xec,0x73,0x78,0x75,0x65,0x7b,0xcc,0xfd,0xfc,0x04, +0x60,0xfe,0x33,0x01,0xcd,0x00,0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0x8b,0x05,0xf0, +0x10,0x02,0x00,0x2a,0x00,0x00,0xff,0xff,0x00,0x71,0x00,0x00,0x04,0x4f,0x04,0x98, +0x10,0x02,0x02,0x16,0x00,0x00,0x00,0x01,0xff,0xfa,0xff,0xe3,0x05,0x66,0x05,0xd5, +0x00,0x19,0x00,0x00,0x01,0x11,0x14,0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x11,0x33, +0x11,0x14,0x07,0x06,0x23,0x22,0x27,0x26,0x35,0x11,0x21,0x35,0x21,0x15,0x02,0xd7, +0x3f,0x34,0x6f,0x69,0x3b,0x3f,0xca,0x6e,0x68,0xd7,0xd6,0x69,0x6e,0xfd,0xee,0x04, +0xef,0x05,0x2b,0xfc,0x96,0x8f,0x5b,0x4a,0x4a,0x4f,0x9b,0x02,0x9f,0xfd,0x5a,0xe0, +0x7f,0x78,0x78,0x7d,0xe2,0x03,0x71,0xaa,0xaa,0x00,0x00,0x01,0x00,0x05,0xff,0xe3, +0x04,0xf6,0x04,0x60,0x00,0x19,0x00,0x00,0x01,0x11,0x14,0x17,0x16,0x33,0x32,0x37, +0x36,0x35,0x11,0x33,0x11,0x14,0x07,0x06,0x23,0x22,0x27,0x26,0x35,0x11,0x21,0x35, +0x21,0x15,0x02,0x78,0x3e,0x3d,0x69,0x68,0x3c,0x3e,0xb8,0x64,0x68,0xce,0xc7,0x70, +0x62,0xfe,0x42,0x04,0x31,0x03,0xb6,0xfd,0xae,0x56,0x46,0x45,0x4f,0x52,0x9d,0x01, +0x41,0xfe,0xb8,0xec,0x73,0x78,0x75,0x65,0x7b,0x02,0x7e,0xaa,0xaa,0x00,0x00,0x01, +0x00,0xb2,0xff,0xe3,0x06,0xa0,0x05,0xd5,0x00,0x21,0x00,0x00,0x25,0x06,0x07,0x06, +0x21,0x20,0x00,0x19,0x01,0x33,0x11,0x14,0x16,0x33,0x32,0x36,0x35,0x11,0x33,0x11, +0x14,0x07,0x33,0x32,0x17,0x16,0x1d,0x01,0x23,0x35,0x34,0x27,0x26,0x23,0x04,0xef, +0x2a,0x2d,0x90,0xfe,0xe6,0xfe,0xe5,0xfe,0xdf,0xcb,0xae,0xc3,0xc2,0xae,0xcb,0x09, +0x2c,0x94,0x60,0x60,0x9c,0x30,0x37,0x51,0xf8,0x52,0x2e,0x95,0x01,0x2a,0x01,0x24, +0x03,0xa4,0xfc,0x75,0xf0,0xd3,0xd3,0xf0,0x03,0x8b,0xfc,0x5c,0x47,0x43,0x5b,0x5b, +0xab,0x46,0x31,0x6c,0x2a,0x31,0x00,0x01,0x00,0xb2,0x00,0x00,0x05,0x29,0x05,0xf2, +0x00,0x20,0x00,0x00,0x21,0x23,0x11,0x10,0x00,0x21,0x20,0x17,0x16,0x11,0x15,0x23, +0x35,0x34,0x26,0x23,0x22,0x06,0x1d,0x01,0x21,0x32,0x17,0x16,0x1d,0x01,0x23,0x35, +0x34,0x27,0x26,0x23,0x21,0x01,0x7d,0xcb,0x01,0x21,0x01,0x1b,0x01,0x17,0x93,0x91, +0xcb,0xae,0xc2,0xc3,0xae,0x02,0x58,0x95,0x5f,0x60,0x9c,0x30,0x37,0x51,0xfd,0xa8, +0x03,0xa4,0x01,0x24,0x01,0x2a,0x95,0x92,0xfe,0xd9,0x39,0x20,0xf0,0xd3,0xd3,0xf0, +0x9d,0x5b,0x5b,0xab,0x46,0x31,0x6c,0x2a,0x31,0x00,0x00,0x02,0x00,0xb2,0x00,0x00, +0x06,0xc4,0x05,0xf2,0x00,0x1c,0x00,0x28,0x00,0x00,0x01,0x33,0x32,0x17,0x16,0x1d, +0x01,0x23,0x35,0x34,0x27,0x26,0x2b,0x01,0x11,0x23,0x11,0x21,0x22,0x27,0x26,0x35, +0x34,0x37,0x36,0x21,0x20,0x00,0x11,0x03,0x11,0x34,0x26,0x23,0x22,0x06,0x15,0x14, +0x17,0x16,0x33,0x05,0x29,0x47,0x95,0x5f,0x60,0x9c,0x30,0x37,0x51,0x47,0xcb,0xfe, +0x2a,0xc9,0x9f,0x6e,0x90,0x98,0x01,0x13,0x01,0x1b,0x01,0x21,0xcb,0xae,0xc3,0xc2, +0xae,0x35,0x5a,0xa6,0x02,0x72,0x5b,0x5b,0xab,0x46,0x31,0x6c,0x2a,0x31,0xfe,0x3d, +0x01,0xc3,0xb3,0x7c,0xe0,0xfd,0x8e,0x95,0xfe,0xd6,0xfe,0xdc,0xfe,0xce,0x01,0x19, +0xf0,0xd3,0xd3,0xaf,0x95,0x49,0x7c,0x00,0x00,0x01,0x00,0xb2,0x00,0x00,0x06,0xc4, +0x05,0xf2,0x00,0x20,0x00,0x00,0x01,0x33,0x32,0x17,0x16,0x1d,0x01,0x23,0x35,0x34, +0x27,0x26,0x2b,0x01,0x11,0x23,0x11,0x34,0x26,0x23,0x22,0x07,0x06,0x1d,0x01,0x23, +0x35,0x10,0x00,0x21,0x20,0x17,0x16,0x05,0x17,0x59,0x95,0x5f,0x60,0x9c,0x30,0x37, +0x51,0x47,0xcb,0xae,0xc2,0xc3,0x57,0x57,0xcb,0x01,0x21,0x01,0x1b,0x01,0x1a,0x90, +0x5a,0x04,0x60,0x5b,0x5b,0xab,0x46,0x31,0x6c,0x2a,0x31,0xfc,0x4f,0x03,0x8b,0xf0, +0xd3,0x6a,0x6a,0xef,0x20,0x39,0x01,0x24,0x01,0x2a,0x95,0x5c,0x00,0x01,0x00,0xb2, +0xff,0xe3,0x05,0x29,0x05,0xd5,0x00,0x20,0x00,0x00,0x13,0x10,0x00,0x21,0x20,0x37, +0x36,0x3d,0x01,0x23,0x15,0x14,0x06,0x23,0x22,0x26,0x35,0x11,0x21,0x32,0x17,0x16, +0x1d,0x01,0x33,0x35,0x34,0x27,0x26,0x23,0x21,0x11,0x23,0xb2,0x01,0x21,0x01,0x1b, +0x01,0x17,0x93,0x91,0xcb,0xae,0xc2,0xc3,0xae,0x02,0x58,0x51,0x37,0x30,0x9c,0x60, +0x5f,0x95,0xfd,0xa8,0xcb,0x02,0x31,0xfe,0xdc,0xfe,0xd6,0x95,0x92,0xe3,0x39,0x20, +0xac,0xd3,0xd3,0xf0,0x01,0x67,0x31,0x2a,0x6c,0x31,0x46,0xab,0x5b,0x5b,0x01,0x75, +0x00,0x02,0x00,0x9b,0xff,0x08,0x04,0xba,0x05,0xf0,0x00,0x21,0x00,0x2b,0x00,0x00, +0x25,0x21,0x36,0x37,0x06,0x07,0x06,0x23,0x22,0x00,0x35,0x34,0x00,0x33,0x20,0x17, +0x16,0x03,0x02,0x03,0x32,0x17,0x16,0x1d,0x01,0x23,0x35,0x34,0x27,0x26,0x23,0x21, +0x11,0x33,0x12,0x20,0x36,0x35,0x34,0x26,0x20,0x06,0x15,0x14,0x01,0x66,0x01,0x0f, +0xe8,0x3c,0x30,0x1c,0x49,0x7c,0xe0,0xfe,0xfb,0x01,0x10,0xe2,0x01,0x08,0x83,0x9b, +0x3a,0x34,0xe7,0x95,0x5f,0x60,0x9c,0x30,0x37,0x51,0xfd,0x35,0xcb,0xa7,0x01,0x10, +0x9f,0x9f,0xfe,0xf0,0x9f,0xaf,0xe1,0xd0,0x27,0x11,0x2e,0x01,0x0f,0xeb,0xe6,0x01, +0x16,0xc6,0xea,0xfe,0xa9,0xfe,0xcf,0xfe,0xf7,0x5b,0x5b,0xab,0x46,0x31,0x6c,0x2a, +0x31,0x01,0x4c,0x01,0x4c,0xba,0xa2,0xa1,0xbb,0xbb,0xa1,0xa2,0x00,0x01,0x00,0xb2, +0xff,0x08,0x05,0x29,0x05,0xd5,0x00,0x1d,0x00,0x00,0x25,0x21,0x32,0x17,0x16,0x1d, +0x01,0x23,0x35,0x34,0x27,0x26,0x23,0x21,0x11,0x33,0x11,0x21,0x32,0x17,0x16,0x1d, +0x01,0x23,0x35,0x34,0x27,0x26,0x23,0x21,0x01,0x7d,0x01,0x85,0x95,0x5f,0x60,0x9c, +0x30,0x37,0x51,0xfd,0xb0,0xcb,0x02,0x58,0x95,0x5f,0x60,0x9c,0x30,0x37,0x51,0xfd, +0xa8,0xaf,0x5b,0x5b,0xab,0x46,0x31,0x6c,0x2a,0x31,0x05,0xd5,0xfe,0x8b,0x5b,0x5b, +0xab,0x46,0x31,0x6c,0x2a,0x31,0x00,0x01,0x00,0xb2,0xff,0x08,0x05,0x29,0x05,0xf2, +0x00,0x1f,0x00,0x00,0x33,0x11,0x10,0x00,0x21,0x20,0x17,0x16,0x11,0x15,0x23,0x35, +0x34,0x26,0x23,0x22,0x07,0x06,0x15,0x11,0x21,0x32,0x17,0x16,0x1d,0x01,0x23,0x35, +0x34,0x27,0x26,0x23,0xb2,0x01,0x21,0x01,0x1b,0x01,0x13,0x97,0x91,0xcb,0xae,0xc2, +0xc5,0x55,0x57,0x02,0x58,0x95,0x5f,0x60,0x9c,0x30,0x37,0x51,0x03,0xa4,0x01,0x24, +0x01,0x2a,0x95,0x8e,0xfe,0xd5,0x39,0x20,0xf0,0xd3,0x6a,0x6c,0xed,0xfd,0x24,0x5b, +0x5b,0xab,0x46,0x31,0x6c,0x2a,0x31,0x00,0x00,0x02,0x00,0xb2,0x00,0x00,0x06,0x8e, +0x05,0xf2,0x00,0x2b,0x00,0x38,0x00,0x00,0x01,0x23,0x15,0x14,0x07,0x06,0x07,0x06, +0x27,0x26,0x27,0x26,0x37,0x36,0x33,0x21,0x26,0x27,0x26,0x23,0x22,0x06,0x15,0x11, +0x23,0x11,0x10,0x00,0x21,0x20,0x17,0x16,0x17,0x33,0x32,0x17,0x16,0x1d,0x01,0x23, +0x35,0x34,0x27,0x26,0x21,0x23,0x22,0x15,0x14,0x17,0x16,0x33,0x32,0x37,0x36,0x35, +0x34,0x05,0x3a,0x11,0x67,0x69,0x98,0x92,0x6d,0x82,0x02,0x01,0x49,0x4e,0x4b,0x01, +0x28,0x16,0x2a,0x57,0xc2,0xc3,0xae,0xcb,0x01,0x21,0x01,0x1b,0x01,0x13,0x97,0x5c, +0x21,0x25,0x95,0x5f,0x60,0x9c,0x30,0x35,0xfe,0xd0,0xbb,0x99,0x39,0x3a,0x45,0x35, +0x3a,0x2e,0x03,0xb1,0x20,0xdf,0x72,0x73,0x0a,0x0a,0x54,0x66,0xbd,0x93,0x4c,0x51, +0x52,0x32,0x6a,0xd3,0xf0,0xfc,0x75,0x03,0xa4,0x01,0x24,0x01,0x2a,0x95,0x5b,0xa2, +0x5b,0x5b,0xab,0x46,0x31,0x6a,0x2c,0x31,0x87,0x69,0x2d,0x2d,0x51,0x40,0x93,0x11, +0x00,0x02,0x00,0xb2,0x00,0x00,0x06,0xc4,0x05,0xf2,0x00,0x1c,0x00,0x28,0x00,0x00, +0x01,0x23,0x11,0x10,0x00,0x21,0x20,0x27,0x26,0x11,0x34,0x37,0x36,0x33,0x21,0x11, +0x33,0x11,0x33,0x32,0x17,0x16,0x1d,0x01,0x23,0x35,0x34,0x27,0x26,0x29,0x01,0x22, +0x07,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x05,0x70,0x47,0xfe,0xdf,0xfe,0xe5, +0xfe,0xed,0x98,0x90,0x6e,0x9f,0xc9,0x01,0xd6,0xcb,0x47,0x95,0x5f,0x60,0x9c,0x30, +0x37,0xfe,0x9d,0xfe,0x54,0xa6,0x5a,0x35,0xae,0xc2,0xc3,0xae,0x03,0xb1,0xfe,0x9d, +0xfe,0xdc,0xfe,0xd6,0x95,0x8e,0x01,0x2e,0xe0,0x7c,0xb3,0x01,0x92,0xfe,0x6e,0x5b, +0x5b,0xab,0x46,0x31,0x6c,0x2a,0x31,0x7d,0x48,0x95,0xe0,0xd3,0xd3,0xf0,0x00,0x01, +0x00,0xb2,0x00,0x00,0x05,0x29,0x05,0xd5,0x00,0x14,0x00,0x00,0x13,0x33,0x11,0x36, +0x33,0x20,0x17,0x16,0x11,0x15,0x23,0x35,0x34,0x26,0x23,0x22,0x07,0x06,0x15,0x11, +0x23,0xb2,0xcb,0xa0,0xd1,0x01,0x13,0x97,0x91,0xcb,0xae,0xc2,0xc1,0x59,0x57,0xcb, +0x05,0xd5,0xfe,0x3b,0x64,0x95,0x8e,0xfe,0xd5,0x4b,0x32,0xf0,0xd3,0x6a,0x67,0xf2, +0xfd,0xf3,0x00,0x01,0x00,0xb2,0xff,0x08,0x04,0x56,0x05,0xd5,0x00,0x0f,0x00,0x00, +0x01,0x11,0x21,0x32,0x17,0x16,0x1d,0x01,0x23,0x35,0x34,0x27,0x26,0x23,0x21,0x11, +0x01,0x7d,0x01,0x85,0x95,0x5f,0x60,0x9c,0x30,0x37,0x51,0xfd,0xb0,0x05,0xd5,0xfa, +0xda,0x5b,0x5b,0xab,0x46,0x31,0x6c,0x2a,0x31,0x05,0xd5,0x00,0x00,0x01,0x00,0xb2, +0xff,0xe3,0x05,0xe7,0x05,0xd5,0x00,0x1b,0x00,0x00,0x01,0x11,0x10,0x17,0x16,0x33, +0x32,0x37,0x36,0x35,0x11,0x33,0x11,0x14,0x07,0x06,0x23,0x22,0x27,0x26,0x19,0x01, +0x21,0x11,0x23,0x11,0x33,0x11,0x03,0x7c,0x25,0x33,0x78,0x81,0x2a,0x25,0xcb,0x71, +0x58,0xd2,0xc6,0x64,0x71,0xfe,0xcc,0xcb,0xcb,0x04,0x60,0xfd,0xd7,0xfe,0xe5,0x3e, +0x57,0x57,0x4b,0x87,0x02,0xb0,0xfd,0x37,0xd5,0x7d,0x62,0x62,0x70,0x01,0x69,0x01, +0x93,0xfc,0x4f,0x05,0xd5,0xfe,0x8b,0x00,0x00,0x02,0x00,0x41,0xff,0xe3,0x07,0x99, +0x06,0xcd,0x00,0x22,0x00,0x2f,0x00,0x00,0x01,0x16,0x11,0x10,0x00,0x21,0x20,0x00, +0x11,0x10,0x37,0x23,0x06,0x27,0x26,0x3d,0x01,0x33,0x15,0x14,0x17,0x16,0x33,0x21, +0x32,0x17,0x16,0x1d,0x01,0x23,0x35,0x34,0x27,0x26,0x23,0x25,0x22,0x07,0x06,0x11, +0x10,0x00,0x20,0x00,0x11,0x10,0x27,0x26,0x05,0xd6,0xc9,0xfe,0x88,0xfe,0xc6,0xfe, +0xc5,0xfe,0x87,0xc3,0x67,0x94,0x60,0x60,0x9c,0x30,0x37,0x51,0x04,0xb0,0x95,0x5f, +0x60,0x9c,0x30,0x37,0x51,0xfd,0xa8,0xe1,0x7c,0x82,0x01,0x03,0x01,0xb8,0x01,0x01, +0x80,0x79,0x05,0x26,0xe1,0xfe,0xa4,0xfe,0x9f,0xfe,0x5b,0x01,0xa4,0x01,0x62,0x01, +0x63,0xda,0x01,0x5c,0x5b,0xab,0x46,0x31,0x6c,0x2a,0x31,0x5b,0x5b,0xab,0x46,0x31, +0x6c,0x2a,0x31,0x20,0x9e,0xa4,0xfe,0xe5,0xfe,0xe6,0xfe,0xb8,0x01,0x48,0x01,0x1a, +0x01,0x16,0xa9,0x9e,0x00,0x01,0x00,0xb2,0x00,0x00,0x05,0x29,0x05,0xd5,0x00,0x14, +0x00,0x00,0x21,0x23,0x11,0x06,0x23,0x20,0x27,0x26,0x19,0x01,0x33,0x11,0x14,0x16, +0x33,0x32,0x37,0x36,0x3d,0x01,0x33,0x05,0x29,0xcb,0xa0,0xd1,0xfe,0xed,0x98,0x90, +0xcb,0xae,0xc2,0xc1,0x59,0x57,0xcb,0x01,0xc5,0x64,0x95,0x8e,0x01,0x2b,0x02,0x26, +0xfd,0xf3,0xf0,0xd3,0x69,0x68,0xf2,0x98,0x00,0x01,0x00,0xb2,0xff,0x08,0x05,0x29, +0x05,0xd5,0x00,0x12,0x00,0x00,0x09,0x02,0x21,0x32,0x17,0x16,0x1d,0x01,0x23,0x35, +0x34,0x27,0x26,0x23,0x21,0x35,0x09,0x01,0x03,0x75,0x01,0x77,0xfc,0xc9,0x02,0x20, +0x95,0x5f,0x60,0x9c,0x30,0x37,0x51,0xfc,0xdd,0x03,0x31,0xfe,0x6b,0x05,0xd5,0xfe, +0xae,0xfc,0x2c,0x5b,0x5b,0xab,0x46,0x31,0x6c,0x2a,0x31,0xaf,0x03,0xc0,0x01,0x66, +0x00,0x03,0x00,0x8f,0xff,0xd2,0x04,0xc9,0x05,0xf0,0x00,0x26,0x00,0x2c,0x00,0x36, +0x00,0x00,0x25,0x06,0x23,0x22,0x27,0x26,0x37,0x36,0x33,0x32,0x17,0x36,0x37,0x06, +0x07,0x06,0x23,0x22,0x00,0x35,0x34,0x00,0x33,0x20,0x17,0x16,0x03,0x02,0x07,0x06, +0x07,0x16,0x37,0x36,0x37,0x15,0x06,0x07,0x06,0x25,0x26,0x07,0x06,0x17,0x16,0x12, +0x20,0x36,0x35,0x34,0x26,0x20,0x06,0x15,0x14,0x02,0xae,0x6e,0x56,0xac,0x49,0x67, +0x02,0x05,0xc9,0xb2,0x94,0x83,0x72,0x30,0x1c,0x49,0x7c,0xe0,0xfe,0xfb,0x01,0x10, +0xe2,0x01,0x08,0x83,0x9b,0x3a,0x37,0xbe,0x20,0x24,0x54,0x2e,0x81,0x7e,0x67,0x98, +0x9a,0xfe,0xce,0x5d,0x2a,0x56,0x1f,0x18,0xb5,0x01,0x10,0x9f,0x9f,0xfe,0xf0,0x9f, +0x1c,0x40,0x23,0x32,0x6e,0xf5,0x9a,0x77,0xef,0x27,0x11,0x2e,0x01,0x0f,0xeb,0xe6, +0x01,0x16,0xc6,0xea,0xfe,0xa9,0xfe,0xbf,0xcc,0x22,0x25,0x16,0x03,0x07,0x64,0xc0, +0x59,0x01,0x03,0xc6,0x51,0x04,0x08,0x3c,0x2d,0x02,0x26,0xba,0xa2,0xa1,0xbb,0xbb, +0xa1,0xa2,0x00,0x01,0x00,0xb2,0xff,0x08,0x06,0xc4,0x05,0xf2,0x00,0x1e,0x00,0x00, +0x21,0x11,0x34,0x26,0x23,0x22,0x07,0x06,0x1d,0x01,0x23,0x35,0x10,0x00,0x21,0x20, +0x00,0x19,0x01,0x33,0x32,0x17,0x16,0x1d,0x01,0x23,0x35,0x34,0x27,0x26,0x23,0x04, +0x5e,0xae,0xc2,0xc5,0x55,0x57,0xcb,0x01,0x21,0x01,0x1b,0x01,0x1a,0x01,0x21,0x47, +0x95,0x5f,0x60,0x9c,0x30,0x37,0x51,0x03,0x8b,0xf0,0xd3,0x6a,0x6a,0xef,0x20,0x39, +0x01,0x24,0x01,0x2a,0xfe,0xd6,0xfe,0xdc,0xfd,0x0b,0x5b,0x5b,0xab,0x46,0x31,0x6c, +0x2a,0x31,0x00,0x02,0x00,0x5c,0xff,0xe2,0x05,0x85,0x05,0xd5,0x00,0x0d,0x00,0x2b, +0x00,0x00,0x01,0x11,0x14,0x16,0x33,0x32,0x37,0x36,0x3d,0x01,0x34,0x27,0x26,0x23, +0x21,0x23,0x35,0x33,0x35,0x34,0x37,0x36,0x33,0x21,0x15,0x21,0x22,0x07,0x06,0x15, +0x21,0x32,0x17,0x16,0x15,0x11,0x23,0x35,0x06,0x23,0x20,0x27,0x26,0x11,0x01,0xd9, +0xae,0xc2,0xc1,0x59,0x57,0x30,0x37,0x51,0xfd,0x0c,0xb2,0xb2,0x60,0x5f,0x95,0x03, +0x23,0xfd,0x0c,0x51,0x37,0x30,0x02,0x58,0x95,0x5f,0x60,0xcb,0xa0,0xd1,0xfe,0xe7, +0x92,0x90,0x03,0xb1,0xfe,0x98,0xf0,0xd3,0x6a,0x67,0xf2,0xa1,0x6c,0x2a,0x31,0xaf, +0x14,0xab,0x5b,0x5b,0xaf,0x31,0x2a,0x6b,0x5b,0x5b,0xab,0xfd,0x01,0x46,0x64,0x95, +0x94,0x01,0x25,0x00,0x00,0x01,0x00,0xb2,0xff,0xe3,0x06,0xc4,0x05,0xd5,0x00,0x1d, +0x00,0x00,0x01,0x11,0x10,0x00,0x21,0x20,0x00,0x19,0x01,0x33,0x11,0x14,0x16,0x33, +0x32,0x36,0x35,0x11,0x21,0x32,0x17,0x16,0x1d,0x01,0x23,0x35,0x34,0x27,0x26,0x23, +0x05,0x29,0xfe,0xdf,0xfe,0xe6,0xfe,0xe5,0xfe,0xdf,0xcb,0xae,0xc3,0xc2,0xae,0x01, +0x12,0x95,0x5f,0x60,0x9c,0x30,0x37,0x51,0x05,0x26,0xfd,0x0b,0xfe,0xdc,0xfe,0xd6, +0x01,0x2a,0x01,0x24,0x03,0xa4,0xfc,0x75,0xf0,0xd3,0xd3,0xf0,0x03,0x8b,0x5b,0x5b, +0xab,0x46,0x31,0x6c,0x2a,0x31,0x00,0x01,0x00,0x8c,0xff,0xe3,0x05,0x53,0x05,0xf2, +0x00,0x2c,0x00,0x00,0x13,0x34,0x37,0x36,0x21,0x20,0x17,0x16,0x15,0x14,0x07,0x06, +0x07,0x1e,0x01,0x15,0x14,0x04,0x20,0x24,0x35,0x33,0x14,0x17,0x16,0x20,0x36,0x35, +0x34,0x26,0x23,0x21,0x35,0x21,0x32,0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x07,0x06, +0x07,0xad,0x9b,0x90,0x01,0x17,0x01,0x14,0x93,0x9b,0x49,0x49,0x81,0x92,0xa3,0xfe, +0xf7,0xfd,0x4a,0xfe,0xf8,0xca,0x52,0x53,0x01,0xe8,0xa6,0xa5,0xf5,0xfd,0xbf,0x02, +0x41,0xe6,0x93,0x63,0x61,0xb5,0xb5,0x61,0x57,0x0b,0x04,0xab,0x8f,0x60,0x58,0x58, +0x60,0x8f,0x80,0x5b,0x59,0x20,0x22,0xc6,0xaf,0xf5,0xe8,0xe7,0xf6,0xa2,0x4e,0x4d, +0x9b,0xa2,0xa7,0x9a,0x9f,0x82,0x74,0x59,0x31,0x30,0x30,0x2b,0x4a,0x00,0x00,0x01, +0x00,0x5c,0xff,0xe3,0x06,0x6e,0x06,0xcd,0x00,0x1e,0x00,0x00,0x01,0x11,0x14,0x16, +0x33,0x32,0x37,0x36,0x3d,0x01,0x33,0x15,0x10,0x00,0x21,0x20,0x00,0x19,0x01,0x23, +0x22,0x27,0x26,0x3d,0x01,0x33,0x15,0x14,0x17,0x16,0x33,0x02,0xc2,0xae,0xc2,0xc5, +0x55,0x57,0xcb,0xfe,0xdf,0xfe,0xe5,0xfe,0xe6,0xfe,0xdf,0x47,0x95,0x5f,0x60,0x9c, +0x30,0x37,0x51,0x05,0xd5,0xfc,0x75,0xf0,0xd3,0x69,0x6b,0xef,0x20,0x39,0xfe,0xdc, +0xfe,0xd6,0x01,0x2a,0x01,0x24,0x02,0xf5,0x5b,0x5b,0xab,0x46,0x31,0x6c,0x2a,0x31, +0x00,0x01,0x00,0xb2,0xff,0xe1,0x05,0x29,0x06,0x93,0x00,0x20,0x00,0x00,0x01,0x14, +0x17,0x16,0x33,0x32,0x37,0x36,0x3d,0x01,0x33,0x15,0x10,0x07,0x06,0x25,0x24,0x27, +0x26,0x35,0x10,0x37,0x36,0x25,0x37,0x25,0x35,0x05,0x15,0x05,0x04,0x07,0x06,0x01, +0x7a,0x5a,0x5b,0xbe,0xc3,0x57,0x57,0xcb,0x91,0x9f,0xfe,0xf4,0xfe,0xd0,0x7b,0x90, +0x3d,0x81,0x01,0x73,0x96,0xfd,0x39,0x04,0x11,0xfe,0xa4,0xfe,0x99,0x57,0x2f,0x02, +0x07,0xaf,0x68,0x69,0x69,0x6b,0xef,0x20,0x39,0xfe,0xdc,0x95,0xa5,0x10,0x12,0x83, +0x9b,0xea,0x01,0x26,0x64,0xe0,0xa1,0x41,0x8c,0xbe,0xbe,0xbe,0x9c,0xa1,0x9e,0x55, +0x00,0x01,0x00,0xb2,0x00,0x00,0x05,0x29,0x05,0xf2,0x00,0x11,0x00,0x00,0x33,0x11, +0x10,0x00,0x21,0x20,0x00,0x19,0x01,0x23,0x11,0x34,0x26,0x23,0x22,0x06,0x15,0x11, +0xb2,0x01,0x21,0x01,0x1b,0x01,0x1a,0x01,0x21,0xcb,0xae,0xc2,0xc3,0xae,0x03,0xa4, +0x01,0x24,0x01,0x2a,0xfe,0xd6,0xfe,0xdc,0xfc,0x5c,0x03,0x8b,0xf0,0xd3,0xd3,0xf0, +0xfc,0x75,0x00,0x01,0x00,0xb2,0xff,0x42,0x05,0x29,0x05,0xf4,0x00,0x20,0x00,0x00, +0x01,0x34,0x27,0x26,0x23,0x22,0x07,0x06,0x1d,0x01,0x23,0x35,0x10,0x37,0x36,0x05, +0x04,0x17,0x16,0x15,0x10,0x07,0x06,0x05,0x07,0x05,0x15,0x25,0x35,0x25,0x24,0x37, +0x36,0x04,0x61,0x5a,0x5b,0xbe,0xc3,0x57,0x57,0xcb,0x90,0xa0,0x01,0x0c,0x01,0x30, +0x7a,0x91,0x3d,0x81,0xfe,0x8d,0x96,0x02,0xc7,0xfb,0xef,0x01,0x5c,0x01,0x67,0x57, +0x2f,0x03,0xce,0xaf,0x67,0x6a,0x6a,0x6a,0xef,0x20,0x39,0x01,0x24,0x95,0xa5,0x10, +0x12,0x83,0x9b,0xea,0xfe,0xda,0x64,0xe0,0xa1,0x41,0x8c,0xbe,0xbe,0xbe,0x9c,0xa1, +0x9e,0x55,0x00,0x01,0x00,0xb2,0x00,0x00,0x05,0xa1,0x05,0xf2,0x00,0x18,0x00,0x00, +0x01,0x11,0x23,0x11,0x06,0x07,0x06,0x1d,0x01,0x23,0x35,0x10,0x37,0x36,0x21,0x20, +0x17,0x16,0x19,0x01,0x23,0x11,0x34,0x27,0x26,0x03,0x90,0xcb,0x88,0x4b,0x75,0xcb, +0xae,0x91,0x01,0x39,0x01,0x29,0x9f,0xaf,0xcb,0x75,0x42,0x05,0x47,0xfc,0x94,0x03, +0x6c,0x13,0x50,0x7c,0xdd,0x20,0x39,0x01,0x05,0xb4,0x95,0x95,0xa3,0xfe,0xea,0xfc, +0x5c,0x03,0x8b,0xcc,0x8d,0x50,0x00,0x02,0x00,0x9b,0xff,0x08,0x04,0xba,0x05,0xf0, +0x00,0x1d,0x00,0x2b,0x00,0x00,0x25,0x26,0x27,0x26,0x11,0x34,0x00,0x33,0x20,0x17, +0x16,0x03,0x02,0x03,0x32,0x17,0x16,0x1d,0x01,0x23,0x35,0x34,0x27,0x26,0x23,0x21, +0x11,0x33,0x15,0x21,0x37,0x36,0x37,0x36,0x27,0x26,0x27,0x26,0x20,0x06,0x15,0x14, +0x17,0x16,0x02,0xa2,0x45,0xf0,0xca,0x01,0x10,0xe2,0x01,0x08,0x83,0x9b,0x3a,0x34, +0xe7,0x95,0x5f,0x60,0x9c,0x30,0x37,0x51,0xfd,0x35,0xcb,0x01,0x14,0xab,0x65,0x0f, +0x3f,0x1c,0x19,0x37,0x4f,0xfe,0xf0,0x9f,0x97,0xa3,0xdc,0xdc,0xaa,0x8e,0x01,0x04, +0xe6,0x01,0x16,0xc6,0xea,0xfe,0xa9,0xfe,0xcf,0xfe,0xf7,0x5b,0x5b,0xab,0x46,0x31, +0x6c,0x2a,0x31,0x01,0x4c,0x9d,0xc3,0xc2,0x2c,0xbd,0xd7,0xbe,0x40,0x5e,0xbb,0xa1, +0xaa,0x74,0x7e,0x00,0x00,0x01,0x00,0xb2,0x00,0x00,0x06,0xc4,0x05,0xf2,0x00,0x1f, +0x00,0x00,0x01,0x33,0x32,0x17,0x16,0x1d,0x01,0x23,0x35,0x34,0x27,0x26,0x2b,0x01, +0x11,0x23,0x11,0x34,0x26,0x23,0x22,0x06,0x15,0x11,0x23,0x11,0x10,0x00,0x21,0x20, +0x17,0x16,0x05,0x17,0x59,0x95,0x5f,0x60,0x9c,0x30,0x37,0x51,0x47,0xcb,0xae,0xc2, +0xc3,0xae,0xcb,0x01,0x21,0x01,0x1b,0x01,0x1a,0x90,0x5a,0x04,0x60,0x5b,0x5b,0xab, +0x46,0x31,0x6c,0x2a,0x31,0xfc,0x4f,0x03,0x8b,0xf0,0xd3,0xd3,0xf0,0xfc,0x75,0x03, +0xa4,0x01,0x24,0x01,0x2a,0x95,0x5c,0x00,0xff,0xff,0x00,0xb2,0xff,0xe3,0x05,0x29, +0x05,0xd5,0x10,0x06,0x00,0x38,0x00,0x00,0x00,0x01,0x00,0xb2,0xff,0x08,0x06,0xc4, +0x05,0xd5,0x00,0x20,0x00,0x00,0x29,0x01,0x32,0x17,0x16,0x1d,0x01,0x33,0x35,0x34, +0x27,0x26,0x2b,0x01,0x11,0x23,0x11,0x14,0x07,0x06,0x23,0x22,0x26,0x3d,0x01,0x23, +0x15,0x10,0x17,0x16,0x21,0x32,0x37,0x04,0x5e,0x01,0x12,0x51,0x37,0x30,0x9c,0x60, +0x5f,0x95,0x47,0xcb,0x57,0x59,0xc1,0xc2,0xae,0xcb,0x90,0x98,0x01,0x13,0xd1,0xa0, +0x31,0x2a,0x6c,0x31,0x46,0xab,0x5b,0x5b,0x05,0x26,0xfd,0xf3,0xf2,0x68,0x69,0xd3, +0xf0,0x98,0xb1,0xfe,0xd7,0x90,0x95,0x64,0xff,0xff,0x00,0x87,0xff,0xe3,0x04,0xa2, +0x05,0xf0,0x10,0x06,0x00,0x36,0x00,0x00,0x00,0x01,0x00,0xb2,0x00,0x00,0x05,0x29, +0x05,0xf2,0x00,0x12,0x00,0x00,0x33,0x11,0x10,0x00,0x21,0x20,0x17,0x16,0x11,0x15, +0x23,0x35,0x34,0x26,0x23,0x22,0x06,0x15,0x11,0xb2,0x01,0x21,0x01,0x1b,0x01,0x13, +0x97,0x91,0xcb,0xae,0xc2,0xc3,0xae,0x03,0xa4,0x01,0x24,0x01,0x2a,0x95,0x8e,0xfe, +0xd5,0x39,0x20,0xf0,0xd3,0xd3,0xf0,0xfc,0x75,0x00,0x00,0x02,0x00,0x8c,0xff,0xe3, +0x05,0x53,0x05,0xf2,0x00,0x2b,0x00,0x39,0x00,0x00,0x01,0x1e,0x01,0x15,0x14,0x04, +0x20,0x24,0x35,0x33,0x14,0x17,0x16,0x20,0x36,0x35,0x34,0x26,0x23,0x22,0x07,0x06, +0x07,0x22,0x23,0x36,0x37,0x36,0x37,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x21,0x20, +0x17,0x16,0x15,0x14,0x07,0x06,0x01,0x22,0x07,0x06,0x15,0x14,0x16,0x33,0x32,0x36, +0x35,0x34,0x27,0x26,0x04,0x1e,0x92,0xa3,0xfe,0xf7,0xfd,0x4a,0xfe,0xf8,0xca,0x52, +0x53,0x01,0xe8,0xa6,0xa5,0xf5,0xe2,0x65,0x1f,0x05,0x66,0x67,0x03,0x23,0x52,0x92, +0x81,0x48,0x4a,0x9b,0x93,0x01,0x13,0x01,0x14,0x93,0x9b,0x49,0x49,0xfe,0x50,0xb4, +0x61,0x63,0x93,0xe5,0xe6,0x93,0x63,0x61,0x03,0x57,0x22,0xc6,0xaf,0xf5,0xe8,0xe7, +0xf6,0xa2,0x4e,0x4d,0x9b,0xa2,0xa7,0x9a,0x4d,0x1c,0x0c,0x1c,0x2a,0x63,0x22,0x20, +0x59,0x5b,0x80,0x8f,0x60,0x58,0x58,0x5e,0x91,0x80,0x5b,0x59,0x01,0xd9,0x30,0x31, +0x59,0x74,0x82,0x82,0x74,0x59,0x31,0x30,0x00,0x01,0x00,0xb2,0x00,0x00,0x06,0x0c, +0x05,0xd5,0x00,0x15,0x00,0x00,0x01,0x35,0x34,0x26,0x23,0x22,0x07,0x06,0x15,0x11, +0x23,0x11,0x33,0x11,0x36,0x33,0x20,0x17,0x16,0x17,0x33,0x15,0x04,0x5e,0xae,0xc2, +0xc1,0x59,0x57,0xcb,0xcb,0xa0,0xd1,0x01,0x13,0x97,0x75,0x18,0xe7,0x01,0xdb,0x32, +0xf0,0xd3,0x6a,0x67,0xf2,0xfd,0xf3,0x05,0xd5,0xfe,0x3b,0x64,0x95,0x73,0xe2,0xaf, +0xff,0xff,0x00,0x73,0x00,0x00,0x05,0xd9,0x05,0xd5,0x10,0x06,0x03,0x1f,0x00,0x00, +0x00,0x02,0x00,0x5c,0x00,0x00,0x05,0xe3,0x05,0xf2,0x00,0x2c,0x00,0x3c,0x00,0x00, +0x01,0x11,0x34,0x37,0x36,0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x23,0x22,0x27, +0x15,0x21,0x32,0x17,0x16,0x1d,0x01,0x23,0x35,0x34,0x27,0x26,0x23,0x21,0x11,0x23, +0x11,0x23,0x22,0x27,0x26,0x3d,0x01,0x33,0x15,0x14,0x17,0x16,0x33,0x01,0x06,0x07, +0x06,0x15,0x14,0x17,0x16,0x17,0x16,0x37,0x36,0x35,0x34,0x27,0x26,0x01,0xd0,0x92, +0x8d,0xeb,0xf4,0x84,0x91,0x91,0x84,0xf4,0xf6,0x49,0x01,0xf4,0x95,0x5f,0x60,0x9c, +0x30,0x37,0x51,0xfe,0x0c,0xcb,0x20,0x95,0x5f,0x60,0x9c,0x30,0x37,0x51,0x02,0x2a, +0x8a,0x5d,0x57,0x57,0x5d,0x8a,0x88,0x5f,0x57,0x57,0x5f,0x02,0x72,0x02,0x08,0x95, +0x73,0x70,0x70,0x7a,0x90,0x95,0x7a,0x70,0x53,0xda,0x5b,0x5b,0xab,0x46,0x31,0x6c, +0x2a,0x31,0xfe,0x3d,0x01,0xc3,0x5b,0x5b,0xab,0x46,0x31,0x6c,0x2a,0x31,0x02,0xdc, +0x01,0x41,0x3e,0x54,0x5d,0x3d,0x42,0x01,0x01,0x44,0x3d,0x5b,0x56,0x3e,0x43,0x00, +0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0xd9,0x05,0xf0,0x10,0x06,0x00,0x32,0x00,0x00, +0x00,0x03,0x00,0x87,0xff,0xe3,0x04,0xa2,0x05,0xf0,0x00,0x08,0x00,0x13,0x00,0x2e, +0x00,0x00,0x01,0x11,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x01,0x11,0x34,0x27,0x22, +0x07,0x06,0x15,0x14,0x17,0x16,0x05,0x17,0x1e,0x01,0x15,0x14,0x04,0x21,0x22,0x26, +0x27,0x35,0x16,0x17,0x16,0x17,0x11,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x33,0x32, +0x15,0x02,0xb9,0x71,0x47,0x5e,0x43,0x43,0xfe,0xbc,0x39,0x35,0x2b,0x1a,0x3c,0x26, +0x01,0x05,0x30,0xe2,0xd7,0xfe,0xdd,0xfe,0xe7,0x6a,0xef,0x80,0x7b,0x76,0x45,0x42, +0xbe,0x5b,0x65,0x4b,0x5b,0xa5,0xe7,0x02,0x94,0xfd,0xf8,0x0b,0x34,0x44,0x7e,0x6e, +0x3e,0x3d,0x01,0x12,0x01,0x84,0x3e,0x02,0x40,0x25,0x91,0x63,0x33,0x1f,0x41,0x0a, +0x2b,0xd9,0xb6,0xd9,0xe0,0x30,0x2f,0xd0,0x45,0x23,0x14,0x0a,0x02,0x2c,0x2c,0x57, +0x60,0xab,0xd7,0x61,0x72,0xc9,0xff,0xff,0x00,0x75,0x03,0xef,0x01,0x87,0x06,0x14, +0x10,0x06,0x02,0x73,0x00,0x00,0xff,0xff,0x00,0xb2,0x03,0xfe,0x01,0xd7,0x05,0xd5, +0x10,0x06,0x02,0x70,0x00,0x00,0x00,0x01,0x00,0x5e,0x04,0xf1,0x03,0xa9,0x06,0xc2, +0x00,0x03,0x00,0x00,0x01,0x23,0x01,0x33,0x01,0x33,0xd5,0x02,0x76,0xd5,0x04,0xf1, +0x01,0xd1,0x00,0x01,0x00,0x78,0x04,0xf1,0x03,0x86,0x07,0x25,0x00,0x11,0x00,0x00, +0x01,0x22,0x07,0x06,0x15,0x23,0x34,0x37,0x36,0x33,0x32,0x37,0x36,0x35,0x33,0x14, +0x07,0x06,0x01,0xff,0x5b,0x52,0x42,0x98,0x68,0x6a,0xb5,0x5b,0x52,0x42,0x98,0x68, +0x6a,0x05,0xcd,0x54,0x44,0x44,0x82,0x6a,0x6c,0x54,0x44,0x44,0x82,0x6a,0x6c,0x00, +0xff,0xff,0x00,0x9e,0x04,0xf0,0x02,0x7d,0x06,0x66,0x10,0x06,0x00,0x43,0xf4,0x00, +0x00,0x01,0x00,0x5e,0x04,0xe5,0x03,0xbd,0x07,0x37,0x00,0x15,0x00,0x00,0x13,0x23, +0x34,0x37,0x12,0x21,0x20,0x17,0x12,0x21,0x22,0x11,0x33,0x14,0x33,0x32,0x27,0x26, +0x27,0x26,0x07,0x06,0xfc,0x9e,0x20,0x71,0x01,0x33,0x01,0x55,0x37,0x4b,0xfe,0xc1, +0xfb,0x98,0x61,0x79,0x26,0x22,0xcd,0xce,0x39,0x19,0x04,0xf1,0xd3,0x53,0x01,0x20, +0xfc,0xfe,0xaa,0x01,0x08,0x7a,0x9e,0x8c,0x02,0x01,0xb3,0x4e,0x00,0x01,0x00,0x5a, +0x04,0xf1,0x03,0xb2,0x07,0x25,0x00,0x05,0x00,0x00,0x1b,0x01,0x33,0x03,0x21,0x15, +0x5a,0xaa,0xaa,0x7d,0x02,0x81,0x04,0xf1,0x02,0x34,0xfe,0x62,0x96,0x00,0x00,0x01, +0x00,0xba,0xff,0xe6,0x07,0x1d,0x04,0x62,0x00,0x26,0x00,0x00,0x25,0x06,0x07,0x06, +0x23,0x22,0x26,0x35,0x11,0x33,0x11,0x14,0x16,0x33,0x32,0x37,0x36,0x35,0x11,0x33, +0x11,0x14,0x16,0x33,0x32,0x36,0x35,0x11,0x33,0x11,0x23,0x35,0x06,0x07,0x06,0x23, +0x22,0x27,0x26,0x03,0xae,0x45,0x60,0x60,0x82,0xaf,0xbe,0xb9,0x72,0x75,0x8f,0x53, +0x53,0xb9,0x72,0x77,0x8d,0xa6,0xb9,0xb9,0x3f,0x58,0x58,0x79,0x7a,0x56,0x55,0xd8, +0x7c,0x3a,0x3c,0xf6,0xe2,0x02,0xa4,0xfd,0x62,0xa2,0x9c,0x60,0x5e,0xa4,0x02,0x7a, +0xfd,0x62,0xa2,0x9c,0xc0,0xa2,0x02,0x7a,0xfb,0xa0,0xae,0x68,0x30,0x32,0x3e,0x3e, +0x00,0x01,0x00,0xba,0xfe,0x56,0x04,0x64,0x04,0x7b,0x00,0x17,0x00,0x00,0x21,0x11, +0x23,0x11,0x33,0x15,0x3e,0x01,0x33,0x32,0x16,0x15,0x11,0x23,0x11,0x34,0x26,0x23, +0x22,0x06,0x15,0x11,0x21,0x15,0x01,0x73,0xb9,0xb9,0x42,0xb3,0x75,0xc1,0xc6,0xb8, +0x7c,0x7c,0x95,0xac,0x02,0xf1,0xfe,0x56,0x06,0x0a,0xae,0x65,0x64,0xef,0xe8,0xfe, +0x88,0x01,0x72,0x9f,0x9e,0xbe,0xa4,0xfe,0x36,0xaf,0x00,0x02,0x00,0x71,0xfe,0x56, +0x05,0x2f,0x04,0x7b,0x00,0x07,0x00,0x1b,0x00,0x00,0x00,0x10,0x16,0x20,0x36,0x10, +0x26,0x20,0x01,0x23,0x11,0x0e,0x01,0x23,0x22,0x02,0x10,0x00,0x33,0x32,0x16,0x17, +0x35,0x33,0x11,0x33,0x15,0x23,0x01,0x2f,0xa7,0x01,0x24,0xa8,0xa8,0xfe,0xdc,0x02, +0x84,0xb8,0x3a,0xb1,0x7c,0xcb,0xff,0x00,0xff,0xcb,0x7c,0xb1,0x3a,0xb8,0xd5,0xd5, +0x02,0xfa,0xfe,0x6a,0xe7,0xe7,0x01,0x96,0xe7,0xfa,0x75,0x02,0x52,0x64,0x61,0x01, +0x44,0x02,0x10,0x01,0x44,0x61,0x64,0xaa,0xfc,0x4f,0xaf,0x00,0x00,0x01,0x00,0xba, +0xfe,0x56,0x05,0x39,0x04,0x7b,0x00,0x17,0x00,0x00,0x21,0x11,0x23,0x11,0x34,0x26, +0x23,0x22,0x06,0x15,0x11,0x23,0x11,0x33,0x15,0x3e,0x01,0x33,0x32,0x16,0x15,0x11, +0x33,0x15,0x04,0x64,0xb8,0x7c,0x7c,0x95,0xac,0xb9,0xb9,0x42,0xb3,0x75,0xc1,0xc6, +0xd5,0xfe,0x56,0x04,0x48,0x9f,0x9e,0xbe,0xa4,0xfd,0x87,0x04,0x60,0xae,0x65,0x64, +0xef,0xe8,0xfe,0x0b,0xaf,0x00,0x00,0x01,0x00,0xae,0xff,0xe3,0x04,0x58,0x06,0x14, +0x00,0x18,0x00,0x00,0x01,0x11,0x14,0x16,0x33,0x32,0x37,0x36,0x35,0x11,0x33,0x11, +0x23,0x35,0x0e,0x01,0x23,0x22,0x26,0x35,0x11,0x33,0x11,0x21,0x15,0x01,0x66,0x7c, +0x7c,0x98,0x54,0x56,0xb8,0xb8,0x43,0xb1,0x75,0xc1,0xc8,0xb8,0x02,0xf2,0x03,0xb6, +0xfe,0x0b,0x9f,0x9f,0x5f,0x62,0xa1,0x01,0x3b,0xfc,0xe0,0xac,0x66,0x63,0xf0,0xe7, +0x04,0x5a,0xfe,0x4c,0xaa,0x00,0x00,0x02,0x00,0x71,0xfe,0x56,0x05,0x2f,0x04,0x7b, +0x00,0x11,0x00,0x19,0x00,0x00,0x01,0x33,0x15,0x21,0x11,0x0e,0x01,0x23,0x22,0x02, +0x10,0x00,0x33,0x32,0x16,0x17,0x35,0x33,0x00,0x10,0x16,0x20,0x36,0x10,0x26,0x20, +0x04,0x5a,0xd5,0xfe,0x73,0x3a,0xb1,0x7c,0xcb,0xff,0x00,0xff,0xcb,0x7c,0xb1,0x3a, +0xb8,0xfc,0xd5,0xa7,0x01,0x24,0xa8,0xa8,0xfe,0xdc,0xfe,0xf8,0xa2,0x02,0x52,0x64, +0x61,0x01,0x44,0x02,0x10,0x01,0x44,0x61,0x64,0xaa,0xfe,0x9a,0xfe,0x6a,0xe7,0xe7, +0x01,0x96,0xe7,0x00,0x00,0x01,0x00,0xae,0xff,0x1a,0x03,0xe0,0x06,0x14,0x00,0x13, +0x00,0x00,0x29,0x01,0x11,0x33,0x11,0x21,0x15,0x21,0x11,0x33,0x32,0x17,0x16,0x1d, +0x01,0x23,0x35,0x34,0x27,0x26,0x02,0x02,0xfe,0xac,0xb8,0x02,0x7a,0xfd,0x86,0x9c, +0xe9,0x4d,0x60,0x9c,0x30,0x31,0x06,0x14,0xfe,0x4c,0xaa,0xfc,0xf9,0x49,0x5b,0xab, +0x46,0x31,0x69,0x26,0x26,0x00,0x00,0x01,0x00,0xba,0xfe,0x56,0x04,0x64,0x04,0x7b, +0x00,0x15,0x00,0x00,0x13,0x11,0x33,0x15,0x3e,0x01,0x33,0x32,0x16,0x15,0x11,0x23, +0x11,0x34,0x26,0x23,0x22,0x06,0x15,0x11,0x21,0x15,0xba,0xb9,0x42,0xb3,0x75,0xc1, +0xc6,0xb8,0x7c,0x7c,0x95,0xac,0x02,0xf1,0xfe,0x56,0x06,0x0a,0xae,0x65,0x64,0xef, +0xe8,0xfd,0x5c,0x02,0x9e,0x9f,0x9e,0xbe,0xa4,0xfc,0x8c,0xaf,0x00,0x02,0x00,0xba, +0xfe,0x56,0x05,0x36,0x04,0x7b,0x00,0x1f,0x00,0x28,0x00,0x00,0x01,0x33,0x34,0x26, +0x20,0x06,0x15,0x11,0x23,0x11,0x33,0x15,0x3e,0x01,0x33,0x32,0x00,0x11,0x33,0x15, +0x23,0x06,0x07,0x06,0x07,0x22,0x27,0x26,0x35,0x34,0x37,0x36,0x05,0x23,0x22,0x17, +0x16,0x33,0x32,0x37,0x36,0x03,0x23,0xc2,0xa7,0xfe,0xdc,0xa7,0xb9,0xb9,0x3a,0xb1, +0x7b,0xcc,0x00,0xff,0x92,0xa2,0x26,0x38,0x79,0x87,0xa6,0x2e,0x78,0x42,0x64,0x01, +0x42,0x98,0x9f,0x05,0x05,0x8b,0x42,0x32,0x2c,0x02,0x2f,0xcb,0xe7,0xe7,0xcb,0xfc, +0x27,0x06,0x0a,0xaa,0x64,0x61,0xfe,0xbc,0xfe,0xf8,0xaf,0xb0,0x4b,0xa1,0x01,0x29, +0x6c,0x78,0x7b,0x4e,0x76,0xaf,0x90,0x71,0x71,0x64,0x00,0x02,0x00,0x71,0xff,0xe3, +0x05,0x2f,0x06,0x14,0x00,0x0c,0x00,0x1f,0x00,0x00,0x01,0x21,0x22,0x07,0x06,0x15, +0x14,0x16,0x33,0x32,0x37,0x36,0x35,0x13,0x11,0x10,0x05,0x06,0x23,0x22,0x02,0x11, +0x34,0x37,0x36,0x33,0x21,0x11,0x33,0x11,0x33,0x15,0x03,0xa2,0xfe,0xc6,0xa5,0x41, +0x53,0xa7,0x92,0x9a,0x4d,0x53,0xb8,0xfe,0xec,0x4b,0x95,0xf6,0xff,0x7f,0x71,0xda, +0x01,0x67,0xb8,0xd5,0x03,0xb6,0x5a,0x73,0xba,0xcb,0xe7,0x6b,0x73,0xd4,0x01,0x87, +0xfe,0x43,0xfe,0xaf,0x9a,0x2b,0x01,0x44,0x01,0x08,0xeb,0xae,0x98,0x01,0xb4,0xfe, +0x4c,0xaa,0x00,0x01,0x00,0xba,0xfe,0x56,0x04,0x64,0x06,0x14,0x00,0x13,0x00,0x00, +0x01,0x11,0x23,0x11,0x34,0x26,0x23,0x22,0x06,0x15,0x11,0x23,0x11,0x33,0x11,0x3e, +0x01,0x33,0x32,0x16,0x04,0x64,0xb8,0x7c,0x7c,0x95,0xac,0xb9,0xb9,0x42,0xb3,0x75, +0xc1,0xc6,0x02,0xa4,0xfd,0x5c,0x02,0x9e,0x9f,0x9e,0xbe,0xa4,0xfb,0xdd,0x07,0xbe, +0xfd,0x9e,0x65,0x64,0xef,0x00,0x00,0x01,0x00,0xc1,0xfe,0x56,0x02,0xd7,0x04,0x60, +0x00,0x05,0x00,0x00,0x01,0x21,0x15,0x21,0x11,0x33,0x01,0x79,0x01,0x5e,0xfd,0xea, +0xb8,0xfe,0xf8,0xa2,0x06,0x0a,0x00,0x01,0x00,0xba,0xfe,0x56,0x07,0x1c,0x06,0x14, +0x00,0x26,0x00,0x00,0x01,0x34,0x26,0x23,0x22,0x06,0x15,0x11,0x23,0x11,0x33,0x11, +0x36,0x37,0x36,0x33,0x32,0x16,0x1d,0x01,0x14,0x17,0x16,0x33,0x32,0x36,0x35,0x11, +0x33,0x11,0x23,0x35,0x0e,0x01,0x23,0x22,0x27,0x26,0x35,0x03,0x8f,0x7c,0x7c,0x78, +0xac,0xb9,0xb9,0x63,0x26,0x59,0x6b,0xc1,0xc6,0x3e,0x38,0x6e,0x8c,0xad,0xb8,0xb8, +0x43,0xb1,0x6c,0xaf,0x62,0x64,0x02,0x9e,0x9f,0x9e,0xbe,0xa4,0xfb,0xdd,0x07,0xbe, +0xfd,0x9e,0x81,0x16,0x32,0xef,0xe8,0xe3,0x97,0x58,0x4f,0xbe,0xa4,0x02,0x7b,0xfb, +0xa0,0xac,0x66,0x63,0x78,0x7b,0xe4,0x00,0x00,0x02,0x00,0x71,0xff,0xe2,0x04,0xbc, +0x06,0x14,0x00,0x0c,0x00,0x2a,0x00,0x00,0x01,0x23,0x22,0x07,0x06,0x15,0x14,0x16, +0x33,0x32,0x37,0x36,0x27,0x03,0x27,0x26,0x37,0x36,0x3b,0x01,0x15,0x23,0x26,0x17, +0x16,0x1f,0x01,0x21,0x15,0x21,0x17,0x12,0x07,0x06,0x27,0x26,0x27,0x26,0x11,0x34, +0x37,0x36,0x33,0x02,0xe9,0x81,0xa5,0x41,0x53,0xa7,0x92,0xa9,0x61,0x5b,0x3f,0xee, +0x18,0x4e,0x18,0x24,0xe4,0x39,0x2b,0x60,0x06,0x06,0x1d,0x32,0x01,0x59,0xfe,0xf1, +0x68,0x9e,0xe5,0x86,0xe2,0xf7,0x7f,0x7f,0x7f,0x71,0xda,0x03,0xb6,0x5a,0x73,0xba, +0xcb,0xe7,0x96,0x8e,0x94,0x02,0x2b,0x38,0xb2,0x50,0x7a,0xaf,0x01,0x29,0x27,0x42, +0x74,0xaa,0xf0,0xfe,0x95,0xee,0x8b,0x01,0x01,0xa1,0xa2,0x01,0x08,0xeb,0xae,0x98, +0x00,0x01,0x00,0xae,0xfe,0x56,0x04,0x58,0x06,0x14,0x00,0x13,0x00,0x00,0x13,0x11, +0x33,0x11,0x14,0x16,0x33,0x32,0x36,0x35,0x11,0x33,0x11,0x23,0x11,0x0e,0x01,0x23, +0x22,0x26,0xae,0xb8,0x7c,0x7c,0x95,0xad,0xb8,0xb8,0x43,0xb1,0x75,0xc1,0xc8,0x01, +0xba,0x04,0x5a,0xfb,0xad,0x9f,0x9f,0xbe,0xa4,0x02,0x7b,0xf9,0xf6,0x02,0x56,0x66, +0x63,0xf0,0xff,0xff,0x00,0xba,0x00,0x00,0x04,0x64,0x06,0x14,0x10,0x06,0x00,0x4b, +0x00,0x00,0x00,0x02,0x00,0x71,0xff,0xe3,0x04,0x5a,0x06,0x14,0x00,0x21,0x00,0x2d, +0x00,0x00,0x01,0x16,0x17,0x04,0x19,0x01,0x23,0x35,0x06,0x07,0x06,0x23,0x22,0x27, +0x26,0x11,0x10,0x37,0x36,0x37,0x36,0x37,0x36,0x2b,0x01,0x22,0x13,0x33,0x06,0x17, +0x33,0x32,0x07,0x06,0x00,0x10,0x17,0x16,0x20,0x37,0x36,0x10,0x27,0x26,0x20,0x07, +0x03,0x18,0x17,0x1f,0x01,0x0c,0xb8,0x3a,0x58,0x59,0x7c,0xcb,0x80,0x7f,0x7f,0x60, +0x79,0xdb,0x0d,0x15,0x59,0x5e,0xc9,0x7f,0xc2,0x36,0x2a,0x7b,0xa6,0x21,0x15,0xfd, +0xc9,0x53,0x54,0x01,0x24,0x54,0x54,0x54,0x54,0xfe,0xdc,0x54,0x04,0x65,0x08,0x13, +0xa7,0xfe,0x91,0xfd,0xcc,0xa8,0x64,0x30,0x31,0xa2,0xa2,0x01,0x08,0x01,0x10,0x9a, +0x75,0x1a,0x2e,0x22,0x36,0x01,0x26,0xa0,0x04,0x87,0x57,0xfe,0x68,0xfe,0x6a,0x74, +0x73,0x73,0x74,0x01,0x96,0x74,0x73,0x73,0x00,0x01,0x00,0xba,0xfe,0x56,0x05,0x39, +0x04,0x7b,0x00,0x15,0x00,0x00,0x01,0x21,0x11,0x34,0x26,0x23,0x22,0x06,0x15,0x11, +0x23,0x11,0x33,0x15,0x3e,0x01,0x33,0x32,0x16,0x15,0x11,0x33,0x05,0x39,0xfe,0x73, +0x7c,0x7c,0x95,0xac,0xb9,0xb9,0x42,0xb3,0x75,0xc1,0xc6,0xd5,0xfe,0x56,0x04,0x48, +0x9f,0x9e,0xbe,0xa4,0xfd,0x87,0x04,0x60,0xae,0x65,0x64,0xef,0xe8,0xfc,0x54,0x00, +0x00,0x02,0x00,0xae,0xff,0xe3,0x04,0x58,0x06,0x14,0x00,0x1a,0x00,0x29,0x00,0x00, +0x01,0x16,0x17,0x04,0x19,0x01,0x23,0x35,0x0e,0x01,0x23,0x22,0x27,0x26,0x3d,0x01, +0x10,0x37,0x26,0x23,0x35,0x32,0x17,0x36,0x25,0x15,0x04,0x01,0x06,0x11,0x15,0x14, +0x17,0x16,0x33,0x32,0x36,0x3d,0x01,0x34,0x27,0x26,0x02,0xa1,0x70,0x45,0x01,0x02, +0xb8,0x43,0xb1,0x75,0xc3,0x62,0x64,0xb5,0x4b,0x6a,0xaf,0x88,0xeb,0x01,0x88,0xfe, +0xfb,0xfe,0xc5,0xb2,0x3e,0x41,0x79,0x95,0xad,0xcd,0x44,0x04,0xa0,0x2d,0x37,0xc8, +0xfe,0xac,0xfd,0xe0,0xac,0x66,0x63,0x78,0x7b,0xe4,0x7e,0x01,0x03,0xfb,0x07,0xaf, +0x18,0xf7,0x49,0xaf,0x3a,0xfe,0xec,0xd8,0xfe,0xf9,0x77,0xa2,0x4d,0x4f,0xbe,0xa4, +0x3b,0xec,0xb1,0x3a,0x00,0x01,0x00,0xae,0xff,0xe3,0x05,0x0a,0x06,0x14,0x00,0x23, +0x00,0x00,0x01,0x23,0x26,0x15,0x14,0x1f,0x01,0x16,0x15,0x11,0x23,0x35,0x0e,0x01, +0x23,0x22,0x26,0x35,0x11,0x33,0x11,0x14,0x16,0x33,0x32,0x36,0x35,0x11,0x34,0x2f, +0x01,0x26,0x37,0x36,0x3b,0x01,0x05,0x0a,0xde,0x60,0x0e,0x4d,0x31,0xb8,0x43,0xb1, +0x75,0xc1,0xc8,0xb8,0x7c,0x7c,0x95,0xad,0x10,0x4d,0x4d,0x20,0x37,0xd1,0xec,0x05, +0x65,0x01,0x2c,0x27,0x22,0xbc,0x78,0x4d,0xfc,0x90,0xac,0x66,0x63,0xf0,0xe7,0x02, +0xa6,0xfd,0x61,0x9f,0x9f,0xbe,0xa4,0x01,0x91,0x3f,0x27,0xbc,0xbb,0x47,0x7a,0x00, +0xff,0xff,0xff,0xdb,0xfe,0x56,0x01,0x79,0x04,0x60,0x10,0x06,0x01,0xf9,0x00,0x00, +0x00,0x01,0x00,0x31,0xff,0xe3,0x05,0x5a,0x06,0x14,0x00,0x23,0x00,0x00,0x13,0x14, +0x3b,0x01,0x11,0x14,0x16,0x33,0x32,0x36,0x35,0x11,0x33,0x11,0x23,0x35,0x0e,0x01, +0x23,0x22,0x26,0x35,0x11,0x23,0x22,0x27,0x26,0x37,0x36,0x37,0x36,0x3b,0x01,0x15, +0x23,0x22,0xf2,0x83,0xf3,0x7c,0x7c,0x95,0xad,0xb8,0xb8,0x43,0xb1,0x75,0xc1,0xc8, +0x3b,0x95,0x5e,0x53,0x03,0x03,0x57,0x73,0x76,0x59,0x59,0x83,0x04,0xea,0x8a,0xfd, +0x61,0x9f,0x9f,0xbe,0xa4,0x02,0x7b,0xfb,0xa0,0xac,0x66,0x63,0xf0,0xe7,0x01,0xfc, +0x5e,0x53,0x91,0x83,0x42,0x57,0xaf,0x00,0x00,0x01,0x00,0x9f,0xfe,0x56,0x03,0x97, +0x04,0x7c,0x00,0x19,0x00,0x00,0x05,0x06,0x17,0x16,0x33,0x21,0x15,0x21,0x22,0x27, +0x26,0x37,0x01,0x36,0x27,0x26,0x07,0x06,0x07,0x35,0x36,0x17,0x16,0x17,0x12,0x07, +0x01,0x94,0x27,0x0a,0x0d,0x3c,0x01,0xd7,0xfd,0xe5,0x8d,0x33,0x3d,0x45,0x01,0xcd, +0x7c,0x69,0x43,0x8d,0x78,0xbc,0xbc,0xa1,0xe7,0x60,0x9f,0x93,0x90,0x38,0x1c,0x24, +0xa2,0x56,0x66,0x66,0x02,0xad,0xb9,0x8e,0x5a,0x01,0x01,0x78,0xc6,0x6a,0x01,0x01, +0xaa,0xfe,0xe9,0xd1,0xff,0xff,0x00,0xba,0x00,0x00,0x04,0x64,0x04,0x7b,0x10,0x06, +0x00,0x51,0x00,0x00,0x00,0x01,0x00,0x7a,0xfe,0x56,0x03,0x74,0x04,0x60,0x00,0x1f, +0x00,0x00,0x01,0x26,0x37,0x36,0x3b,0x01,0x15,0x23,0x26,0x07,0x06,0x1f,0x01,0x16, +0x17,0x16,0x07,0x01,0x06,0x17,0x16,0x33,0x21,0x15,0x21,0x22,0x27,0x26,0x37,0x01, +0x36,0x27,0x01,0x19,0x75,0x3f,0x34,0xd4,0x36,0x28,0x51,0x0f,0x0f,0x45,0x8e,0x46, +0x1a,0x16,0x3a,0xfe,0xd8,0x29,0x0c,0x0d,0x3c,0x01,0xd7,0xfd,0xe5,0x8d,0x33,0x41, +0x49,0x01,0x46,0x55,0x8e,0x02,0xd4,0x80,0x92,0x7a,0xaf,0x01,0x2c,0x2c,0x4b,0x9b, +0x4c,0x88,0x6f,0x49,0xfe,0x88,0x34,0x20,0x24,0xa2,0x56,0x6c,0x60,0x01,0xad,0x70, +0x9c,0x00,0x00,0x01,0x00,0xba,0xfe,0x56,0x07,0x1d,0x04,0x62,0x00,0x26,0x00,0x00, +0x25,0x06,0x07,0x06,0x23,0x22,0x26,0x35,0x11,0x33,0x11,0x14,0x16,0x33,0x32,0x37, +0x36,0x35,0x11,0x33,0x11,0x14,0x16,0x33,0x32,0x36,0x35,0x11,0x33,0x11,0x23,0x11, +0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x03,0xae,0x43,0x62,0x60,0x82,0xaf,0xbe,0xb9, +0x72,0x75,0x8f,0x53,0x53,0xb9,0x72,0x77,0x8d,0xa6,0xb9,0xb9,0x3d,0x5a,0x58,0x79, +0x7a,0x56,0x55,0xd8,0x79,0x3d,0x3c,0xf6,0xe2,0x02,0xa4,0xfd,0x62,0xa2,0x9c,0x60, +0x5e,0xa4,0x02,0x7a,0xfd,0x62,0xa2,0x9c,0xc0,0xa2,0x02,0x7a,0xf9,0xf4,0x02,0x5a, +0x65,0x33,0x32,0x3e,0x3e,0x00,0x00,0x02,0x00,0x78,0xfe,0x56,0x03,0x97,0x04,0x7c, +0x00,0x09,0x00,0x21,0x00,0x00,0x01,0x13,0x36,0x27,0x26,0x07,0x06,0x15,0x14,0x17, +0x0b,0x01,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x17,0x12,0x07,0x01,0x06,0x17,0x16, +0x33,0x21,0x15,0x21,0x22,0x27,0x26,0x37,0x01,0xd2,0xbf,0x7d,0x6a,0x46,0x8a,0xac, +0x30,0x03,0xbf,0x1e,0x5c,0x58,0xd1,0xe4,0x63,0x9f,0x93,0xfe,0x44,0x27,0x0a,0x0d, +0x3c,0x01,0xd7,0xfd,0xe5,0x8d,0x33,0x3d,0x45,0x01,0x0b,0x01,0x1a,0xb8,0x8f,0x5f, +0x06,0x08,0xbd,0x36,0x7e,0xfe,0x05,0x01,0xe4,0x4c,0x83,0xa8,0x68,0x64,0x03,0x03, +0xae,0xfe,0xe9,0xd1,0xfd,0x88,0x38,0x1c,0x24,0xa2,0x56,0x65,0x67,0x00,0x00,0x01, +0x00,0xba,0x00,0x00,0x04,0x74,0x04,0x7b,0x00,0x18,0x00,0x00,0x01,0x36,0x27,0x26, +0x23,0x22,0x06,0x15,0x11,0x23,0x11,0x33,0x15,0x3e,0x01,0x33,0x32,0x17,0x16,0x07, +0x03,0x21,0x15,0x21,0x35,0x03,0x71,0x7a,0x7d,0x3e,0x7c,0x95,0xac,0xb9,0xb9,0x42, +0xb3,0x75,0xe2,0x6a,0x74,0x5b,0xec,0x01,0x1e,0xfe,0x18,0x02,0x25,0xc8,0x9f,0x4f, +0xbe,0xa4,0xfd,0x87,0x04,0x60,0xae,0x65,0x64,0xd4,0xe9,0x93,0xfe,0x84,0xaf,0xaf, +0xff,0xff,0x00,0xae,0xff,0xe3,0x04,0x58,0x04,0x60,0x10,0x06,0x00,0x58,0x00,0x00, +0x00,0x01,0x00,0xae,0xfe,0x56,0x05,0x2d,0x06,0x14,0x00,0x15,0x00,0x00,0x01,0x11, +0x0e,0x01,0x23,0x22,0x26,0x35,0x11,0x33,0x11,0x14,0x16,0x33,0x32,0x36,0x35,0x11, +0x33,0x11,0x33,0x15,0x03,0xa0,0x43,0xb1,0x75,0xc1,0xc8,0xb8,0x7c,0x7c,0x95,0xad, +0xb8,0xd5,0xfe,0x56,0x02,0x56,0x66,0x63,0xf0,0xe7,0x02,0xa6,0xfd,0x61,0x9f,0x9f, +0xbe,0xa4,0x04,0x2f,0xf8,0xe4,0xa2,0x00,0x00,0x01,0x00,0xae,0xff,0xe3,0x07,0x1c, +0x04,0x7b,0x00,0x25,0x00,0x00,0x01,0x11,0x33,0x15,0x3e,0x01,0x33,0x32,0x16,0x15, +0x11,0x23,0x11,0x34,0x26,0x23,0x22,0x07,0x06,0x15,0x11,0x23,0x35,0x0e,0x01,0x23, +0x22,0x26,0x35,0x11,0x33,0x11,0x14,0x16,0x33,0x32,0x37,0x36,0x03,0x8f,0xb8,0x42, +0xb3,0x59,0xc1,0xc6,0xb8,0x7c,0x7c,0x7a,0x55,0x56,0xb8,0x43,0xb1,0x64,0xc1,0xc8, +0xb8,0x7c,0x7c,0x82,0x58,0x57,0x01,0xe5,0x02,0x7b,0xae,0x65,0x64,0xef,0xe8,0xfd, +0x5c,0x02,0x9e,0x9f,0x9e,0x5f,0x60,0xa3,0xfd,0x87,0xac,0x66,0x63,0xf0,0xe7,0x02, +0xa6,0xfd,0x61,0x9f,0x9f,0x5f,0x5c,0x00,0x00,0x01,0x00,0xba,0xfe,0x56,0x04,0x64, +0x04,0x7b,0x00,0x13,0x00,0x00,0x01,0x11,0x23,0x11,0x34,0x26,0x23,0x22,0x06,0x15, +0x11,0x23,0x11,0x33,0x15,0x3e,0x01,0x33,0x32,0x16,0x04,0x64,0xb8,0x7c,0x7c,0x95, +0xac,0xb9,0xb9,0x42,0xb3,0x75,0xc1,0xc6,0x02,0xa4,0xfd,0x5c,0x02,0x9e,0x9f,0x9e, +0xbe,0xa4,0xfb,0xdd,0x06,0x0a,0xae,0x65,0x64,0xef,0xff,0xff,0x00,0x71,0xfe,0x56, +0x04,0x5a,0x04,0x7b,0x10,0x06,0x00,0x4a,0x00,0x00,0x00,0x01,0x00,0xc1,0x00,0x00, +0x02,0xd7,0x04,0x60,0x00,0x05,0x00,0x00,0x25,0x21,0x15,0x21,0x11,0x33,0x01,0x79, +0x01,0x5e,0xfd,0xea,0xb8,0xaf,0xaf,0x04,0x60,0x00,0x00,0x01,0x00,0xae,0xfe,0x56, +0x07,0x1c,0x06,0x14,0x00,0x24,0x00,0x00,0x01,0x11,0x33,0x11,0x3e,0x01,0x33,0x32, +0x16,0x15,0x11,0x23,0x11,0x34,0x26,0x23,0x22,0x07,0x06,0x15,0x11,0x23,0x11,0x0e, +0x01,0x23,0x22,0x26,0x35,0x11,0x33,0x11,0x14,0x16,0x33,0x32,0x36,0x03,0x8f,0xb8, +0x42,0xb3,0x59,0xc1,0xc6,0xb8,0x7c,0x7c,0x7a,0x55,0x56,0xb8,0x43,0xb1,0x64,0xc1, +0xc8,0xb8,0x7c,0x7c,0x84,0xad,0x01,0xe5,0x04,0x2f,0xfd,0x9e,0x65,0x64,0xef,0xe8, +0xfd,0x5c,0x02,0x9e,0x9f,0x9e,0x5f,0x60,0xa3,0xfb,0xdd,0x02,0x56,0x66,0x63,0xf0, +0xe7,0x02,0xa6,0xfd,0x61,0x9f,0x9f,0xbe,0x00,0x02,0x00,0x00,0xfe,0x56,0x04,0xbf, +0x04,0x7b,0x00,0x17,0x00,0x1f,0x00,0x00,0x25,0x11,0x21,0x15,0x21,0x15,0x23,0x35, +0x23,0x35,0x33,0x11,0x33,0x15,0x3e,0x01,0x33,0x32,0x00,0x10,0x02,0x23,0x22,0x26, +0x00,0x10,0x26,0x20,0x06,0x10,0x16,0x20,0x01,0x8e,0x02,0xe9,0xfd,0x17,0xb9,0xd5, +0xd5,0xb9,0x3a,0xb1,0x7b,0xcc,0x00,0xff,0xff,0xcc,0x7b,0xb1,0x02,0x38,0xa7,0xfe, +0xdc,0xa7,0xa7,0x01,0x24,0xa8,0xfe,0xf4,0x96,0xb0,0xb0,0x96,0x04,0xc4,0xaa,0x64, +0x61,0xfe,0xbc,0xfd,0xf0,0xfe,0xbc,0x61,0x01,0x20,0x01,0x96,0xe7,0xe7,0xfe,0x6a, +0xe7,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x75,0x04,0x7b,0x10,0x06,0x00,0x52, +0x00,0x00,0x00,0x03,0x00,0x7a,0xfe,0x56,0x04,0x76,0x06,0x2b,0x00,0x22,0x00,0x2d, +0x00,0x35,0x00,0x00,0x05,0x26,0x27,0x26,0x27,0x35,0x16,0x17,0x16,0x17,0x11,0x26, +0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x17,0x16,0x15,0x11,0x17,0x16,0x17,0x16, +0x15,0x14,0x07,0x06,0x23,0x11,0x23,0x19,0x01,0x34,0x27,0x26,0x07,0x06,0x17,0x16, +0x17,0x16,0x05,0x11,0x32,0x37,0x36,0x10,0x27,0x26,0x02,0x0d,0x47,0x42,0x5c,0x9b, +0xc2,0x2f,0x4c,0x43,0xd6,0x58,0x65,0x78,0x5e,0x54,0x89,0x35,0x63,0x23,0xb9,0x69, +0x6c,0x92,0x6c,0xb3,0xb8,0x45,0x22,0x28,0x49,0x05,0x03,0x39,0x27,0x01,0x28,0x5f, +0x35,0x5e,0x43,0x45,0x18,0x04,0x0f,0x15,0x47,0xbb,0x58,0x10,0x1a,0x01,0x02,0x42, +0x2e,0x53,0x60,0xb2,0xdc,0x82,0x67,0x01,0x02,0x34,0x60,0x83,0xfe,0x48,0x07,0x2e, +0x6a,0x6c,0xb6,0xe1,0x79,0x5a,0xfe,0x6e,0x05,0x2c,0x01,0x93,0x5b,0x04,0x01,0x18, +0x2e,0xbb,0x80,0x34,0x24,0xef,0xfd,0xe2,0x2b,0x49,0x01,0x14,0x3e,0x3e,0x00,0x01, +0x00,0xae,0xff,0xe3,0x05,0x75,0x06,0x14,0x00,0x15,0x00,0x00,0x25,0x21,0x15,0x21, +0x35,0x0e,0x01,0x23,0x22,0x26,0x35,0x11,0x33,0x11,0x14,0x16,0x33,0x32,0x36,0x35, +0x11,0x33,0x04,0x58,0x01,0x1d,0xfe,0x2b,0x43,0xb1,0x75,0xc1,0xc8,0xb8,0x7c,0x7c, +0x95,0xad,0xb8,0xaf,0xaf,0xac,0x66,0x63,0xf0,0xe7,0x04,0x5a,0xfb,0xad,0x9f,0x9f, +0xbe,0xa4,0x02,0x7b,0x00,0x02,0x00,0xf0,0x00,0x00,0x01,0xc3,0x03,0x52,0x00,0x03, +0x00,0x07,0x00,0x00,0x37,0x33,0x15,0x23,0x11,0x33,0x15,0x23,0xf0,0xd3,0xd3,0xd3, +0xd3,0xfe,0xfe,0x03,0x52,0xfe,0x00,0x01,0x00,0x6c,0xff,0xe6,0x03,0xde,0x01,0x90, +0x00,0x0d,0x00,0x00,0x13,0x33,0x16,0x17,0x16,0x37,0x36,0x37,0x15,0x06,0x07,0x06, +0x27,0x26,0x6c,0xa7,0x2c,0x7d,0x71,0xcd,0x66,0x7e,0x9c,0xf2,0xc9,0x84,0x7c,0x01, +0x90,0xb9,0x31,0x2d,0x2a,0x15,0x4b,0xa8,0x5d,0x15,0x11,0x61,0x5b,0x00,0x00,0x01, +0x00,0xdb,0x00,0x00,0x02,0x00,0x01,0xec,0x00,0x05,0x00,0x00,0x21,0x23,0x35,0x13, +0x33,0x03,0x01,0xae,0xd3,0xa4,0x81,0x52,0xac,0x01,0x40,0xfe,0xc0,0x00,0x00,0x02, +0x00,0xfb,0x04,0xfc,0x03,0x06,0x06,0xf2,0x00,0x0a,0x00,0x1b,0x00,0x00,0x01,0x33, +0x32,0x37,0x36,0x35,0x34,0x27,0x06,0x07,0x06,0x17,0x2b,0x01,0x35,0x33,0x11,0x33, +0x11,0x36,0x37,0x36,0x17,0x16,0x15,0x14,0x07,0x06,0x01,0xcd,0x37,0x4d,0x17,0x35, +0x1e,0x0f,0x39,0x33,0x17,0xaf,0x70,0x51,0x66,0x24,0x68,0x3f,0x46,0x41,0x40,0x36, +0x05,0x62,0x0d,0x21,0x15,0x1f,0x10,0x04,0x16,0x14,0xa9,0x65,0x01,0x8f,0xfe,0xbf, +0x49,0x28,0x18,0x1a,0x19,0x52,0x5b,0x32,0x2a,0x00,0x00,0x02,0x00,0xdb,0x00,0x00, +0x02,0x00,0x05,0x11,0x00,0x05,0x00,0x09,0x00,0x00,0x01,0x23,0x35,0x13,0x33,0x0b, +0x01,0x33,0x15,0x23,0x01,0xae,0xd3,0xa4,0x81,0x52,0xd3,0xd3,0xd3,0x03,0x25,0xac, +0x01,0x40,0xfe,0xc0,0xfd,0x2d,0xfe,0x00,0x00,0x02,0x00,0x93,0x00,0x00,0x03,0xb0, +0x05,0xf0,0x00,0x03,0x00,0x24,0x00,0x00,0x25,0x15,0x23,0x35,0x37,0x35,0x34,0x26, +0x27,0x2e,0x01,0x2f,0x01,0x2e,0x01,0x35,0x34,0x36,0x33,0x32,0x16,0x17,0x15,0x2e, +0x01,0x23,0x22,0x06,0x15,0x14,0x16,0x1f,0x01,0x1e,0x01,0x1d,0x01,0x02,0xbc,0xcb, +0x06,0x06,0x06,0x08,0x27,0x2f,0x58,0x5a,0x48,0xdf,0xb8,0x67,0xc1,0x5e,0x61,0xb3, +0x4f,0x6c,0x83,0x33,0x39,0x5a,0x5a,0x38,0xfe,0xfe,0xfe,0x93,0x7b,0x34,0x3c,0x15, +0x19,0x35,0x2f,0x56,0x56,0x89,0x4c,0x9f,0xc2,0x38,0x39,0xbc,0x43,0x46,0x6e,0x59, +0x31,0x5e,0x35,0x59,0x56,0x82,0x65,0x9a,0x00,0x01,0x00,0xa3,0x00,0x55,0x03,0x1e, +0x03,0xde,0x00,0x22,0x00,0x00,0x37,0x35,0x36,0x37,0x36,0x37,0x26,0x27,0x26,0x35, +0x34,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x15,0x26,0x07,0x06,0x07,0x06,0x17,0x14, +0x17,0x16,0x37,0x36,0x37,0x15,0x06,0x07,0x06,0xa3,0x2f,0x53,0x44,0x34,0x8e,0x33, +0x35,0x15,0x1e,0x67,0x63,0x62,0x6e,0x5a,0x64,0x46,0x33,0x31,0x60,0x01,0xc8,0x39, +0x3a,0x48,0x3a,0x5a,0xcd,0xe7,0x55,0xb0,0x06,0x19,0x14,0x21,0x18,0x4c,0x4f,0x54, +0x41,0x4b,0x76,0x3f,0x3d,0x16,0xb9,0x1f,0x02,0x01,0x1a,0x30,0x70,0x73,0x32,0x0e, +0x0f,0x13,0x23,0xb9,0x3c,0x50,0x5a,0x00,0xff,0xff,0xff,0xb5,0x00,0x00,0x02,0x85, +0x07,0x83,0x10,0x27,0x05,0x07,0xff,0x1d,0x01,0xc2,0x10,0x06,0x04,0xe0,0x00,0x00, +0xff,0xff,0x00,0x6c,0x00,0x00,0x01,0xc4,0x07,0xfd,0x10,0x27,0x05,0x08,0xff,0x1d, +0x01,0x86,0x10,0x06,0x04,0xe0,0x00,0x00,0xff,0xff,0xff,0xab,0xfe,0x32,0x03,0x43, +0x06,0x13,0x10,0x26,0x05,0x08,0xc2,0x9c,0x10,0x06,0x04,0xfc,0x00,0x00,0xff,0xff, +0x00,0x6c,0xfe,0x0b,0x01,0xc4,0x06,0x14,0x10,0x27,0x05,0x09,0xff,0x1d,0x00,0x00, +0x10,0x06,0x04,0xe0,0x00,0x00,0xff,0xff,0x00,0x82,0xfe,0xf3,0x05,0xc0,0x04,0xb5, +0x10,0x27,0x05,0x08,0xff,0xf4,0xfe,0x3e,0x10,0x06,0x04,0xfd,0x00,0x00,0x00,0x01, +0x00,0xc1,0x00,0x00,0x01,0x79,0x06,0x14,0x00,0x03,0x00,0x00,0x13,0x33,0x11,0x23, +0xc1,0xb8,0xb8,0x06,0x14,0xf9,0xec,0x00,0xff,0xff,0x00,0x81,0xfe,0xa2,0x06,0xeb, +0x02,0x9d,0x10,0x26,0x05,0x18,0x00,0x00,0x10,0x07,0x0b,0xf4,0x03,0x39,0xfe,0xa2, +0xff,0xff,0x00,0x8b,0xff,0xc6,0x03,0xa0,0x04,0x1a,0x10,0x26,0x04,0xfb,0x00,0x00, +0x10,0x07,0x0b,0xf5,0x00,0xfa,0x03,0x84,0xff,0xff,0x00,0x81,0xff,0xeb,0x06,0xeb, +0x03,0x20,0x10,0x26,0x05,0x18,0x00,0x00,0x10,0x07,0x0b,0xf5,0x02,0xbc,0x02,0x8a, +0xff,0xff,0x00,0x81,0xff,0xeb,0x06,0xeb,0x04,0x1a,0x10,0x26,0x05,0x18,0x00,0x00, +0x10,0x07,0x0b,0xf6,0x02,0xbc,0x02,0x8a,0xff,0xff,0x00,0x9d,0xfe,0x0b,0x05,0x28, +0x03,0x67,0x10,0x26,0x04,0xe6,0x00,0x00,0x10,0x07,0x0b,0xf4,0x03,0x07,0x00,0x19, +0x00,0x01,0x00,0x9d,0xfe,0x0b,0x05,0x28,0x03,0x67,0x00,0x1e,0x00,0x00,0x13,0x24, +0x17,0x04,0x17,0x15,0x24,0x07,0x06,0x15,0x14,0x17,0x16,0x05,0x32,0x37,0x15,0x06, +0x07,0x04,0x27,0x26,0x35,0x10,0x37,0x36,0x37,0x26,0x07,0x06,0x07,0x9d,0x01,0x14, +0xc3,0x01,0x24,0xc4,0xfe,0xda,0xd7,0xe0,0x4a,0x7f,0x01,0x4b,0xc1,0xd4,0x96,0xfa, +0xfe,0x5e,0xa9,0x83,0xd4,0x60,0x89,0x65,0x9f,0x87,0x5f,0x03,0x27,0x40,0x01,0x01, +0x35,0x9a,0x0d,0xb4,0xbc,0xf7,0x8c,0x5b,0xa3,0x01,0x76,0xb8,0x62,0x01,0x02,0xc4, +0x98,0xde,0x01,0x02,0xdf,0x65,0x34,0x03,0x16,0x13,0x29,0x00,0xff,0xff,0x00,0x9d, +0xfe,0x0b,0x05,0x28,0x04,0xb0,0x10,0x26,0x04,0xe6,0x00,0x00,0x10,0x07,0x0b,0xf4, +0x02,0x3f,0x04,0x1a,0x00,0x01,0x00,0x7d,0xff,0xda,0x03,0x1b,0x03,0x52,0x00,0x19, +0x00,0x00,0x25,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x33,0x16,0x17,0x16,0x15, +0x14,0x07,0x06,0x05,0x06,0x23,0x22,0x27,0x35,0x16,0x33,0x32,0x01,0x87,0xac,0x23, +0x08,0x3c,0x42,0xad,0xe3,0x71,0x42,0x52,0x20,0x50,0xfe,0xfa,0x2e,0x2d,0x66,0x67, +0x73,0x54,0x21,0x97,0x31,0x70,0x1b,0x2a,0x4e,0x74,0x81,0x92,0x5b,0x7c,0x98,0x69, +0x63,0x4b,0xc2,0x29,0x07,0x26,0xb8,0x2a,0xff,0xff,0x00,0x7d,0xff,0xda,0x03,0x1b, +0x04,0xb0,0x10,0x26,0x04,0xe8,0x00,0x00,0x10,0x07,0x0b,0xf4,0x01,0x45,0x04,0x1a, +0x00,0x01,0xff,0xab,0xfe,0x0c,0x03,0x62,0x02,0x26,0x00,0x11,0x00,0x00,0x25,0x36, +0x35,0x34,0x27,0x33,0x16,0x15,0x14,0x07,0x02,0x05,0x04,0x21,0x35,0x20,0x37,0x36, +0x02,0xa3,0x0a,0x35,0xb8,0x32,0x08,0x2e,0xfe,0xdd,0xfe,0xe4,0xfe,0xbe,0x01,0x30, +0xcb,0xda,0x9e,0x3a,0x48,0x7e,0x88,0x76,0x84,0x52,0x3e,0xfe,0xa2,0x9b,0x97,0xb8, +0x80,0x8a,0xff,0xff,0xff,0xab,0xfe,0x0c,0x03,0x62,0x03,0xb6,0x10,0x26,0x04,0xea, +0x00,0x00,0x10,0x07,0x0b,0xf4,0x02,0x71,0x03,0x20,0x00,0x01,0x00,0x82,0xfe,0x0c, +0x09,0x1a,0x02,0xee,0x00,0x3f,0x00,0x00,0x25,0x06,0x07,0x06,0x07,0x06,0x23,0x26, +0x27,0x24,0x11,0x34,0x37,0x33,0x06,0x17,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x37, +0x36,0x27,0x26,0x2f,0x01,0x33,0x17,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x33, +0x14,0x17,0x16,0x33,0x32,0x19,0x01,0x33,0x11,0x14,0x07,0x06,0x07,0x06,0x23,0x22, +0x27,0x26,0x27,0x06,0x07,0x06,0x07,0x06,0x04,0xfc,0x18,0x54,0x85,0xc1,0x50,0x78, +0x80,0x6d,0xfe,0xed,0x69,0xb8,0x6c,0x01,0x01,0x93,0x5f,0x51,0x62,0x5f,0x79,0x5e, +0x40,0x01,0x01,0x10,0x40,0xb8,0x24,0x10,0x1c,0x3b,0x73,0x52,0x2c,0x25,0xb8,0x13, +0x40,0x6e,0x8e,0xb8,0x5c,0x4b,0x66,0x25,0x20,0x49,0x30,0x8a,0x11,0x31,0x5f,0x32, +0x46,0x84,0x2c,0xb3,0x6b,0xaa,0x3e,0x1a,0x01,0x1c,0x47,0x01,0x48,0xf6,0xb4,0xce, +0xdc,0xb3,0x26,0x18,0x25,0x30,0x9e,0x6c,0x8e,0x7d,0x3d,0xea,0x9c,0x4a,0x3c,0x81, +0x7a,0x67,0xc2,0xcd,0x32,0xa9,0x01,0x18,0x01,0x26,0xfe,0xaa,0xc7,0x71,0x5c,0x18, +0x09,0x19,0x46,0x7b,0x9f,0x1e,0x0f,0x03,0x06,0x00,0xff,0xff,0x00,0x82,0xfe,0x0c, +0x09,0x1a,0x04,0xb0,0x10,0x26,0x04,0xec,0x00,0x00,0x10,0x07,0x0b,0xf6,0x04,0xe2, +0x03,0x20,0x00,0x02,0x00,0x82,0xfe,0x0c,0x09,0x13,0x02,0xe6,0x00,0x32,0x00,0x3f, +0x00,0x00,0x05,0x06,0x07,0x06,0x23,0x26,0x27,0x24,0x11,0x34,0x37,0x33,0x06,0x17, +0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x33,0x06,0x17,0x16, +0x17,0x36,0x37,0x36,0x37,0x36,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x29,0x01, +0x22,0x27,0x26,0x37,0x14,0x01,0x22,0x07,0x06,0x07,0x33,0x32,0x37,0x36,0x27,0x26, +0x27,0x26,0x04,0x90,0x58,0xee,0x50,0x78,0x80,0x6d,0xfe,0xed,0x69,0xb8,0x6c,0x01, +0x01,0x93,0x5f,0x51,0x66,0x5b,0xa2,0x2b,0x21,0x27,0xab,0x01,0x0e,0x0a,0x28,0x73, +0x7b,0x7e,0x81,0x4f,0x51,0x7d,0x61,0xba,0xb8,0xca,0xfe,0xe4,0xfe,0xec,0x22,0x38, +0x33,0x06,0x02,0xa1,0x4c,0x7e,0xa8,0x91,0xbb,0xed,0x81,0xbb,0x01,0x02,0x89,0x25, +0xf2,0x9b,0x4d,0x1a,0x01,0x1c,0x47,0x01,0x48,0xf6,0xb4,0xce,0xdc,0xb3,0x26,0x18, +0x25,0x44,0x8a,0x6c,0x7f,0x93,0x8a,0x0f,0x37,0x28,0x32,0x92,0x6c,0x6e,0x36,0x22, +0x01,0x02,0x25,0x47,0xe9,0xa9,0x6d,0x78,0x1e,0x1b,0x0f,0xba,0x02,0xa9,0x51,0x6c, +0xc2,0x3f,0x5b,0x46,0x87,0x13,0x05,0x00,0xff,0xff,0x00,0x82,0xfe,0x0c,0x09,0x13, +0x03,0xb6,0x10,0x26,0x04,0xee,0x00,0x00,0x10,0x07,0x0b,0xf4,0x04,0xfb,0x03,0x20, +0x00,0x02,0x00,0x90,0x00,0x00,0x06,0xdc,0x06,0x14,0x00,0x0c,0x00,0x1f,0x00,0x00, +0x25,0x33,0x32,0x37,0x36,0x27,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x13,0x29,0x01, +0x35,0x21,0x11,0x33,0x11,0x12,0x25,0x36,0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x06, +0x03,0x41,0xbb,0xed,0x81,0xbb,0x01,0x02,0x89,0x25,0x30,0x50,0x7a,0xb1,0x75,0xfd, +0xc1,0xfe,0x91,0x01,0x6f,0xb8,0xd9,0x01,0x14,0x5c,0x44,0x78,0x66,0xba,0xb8,0xca, +0xb8,0x3f,0x5d,0x44,0x87,0x13,0x05,0x51,0x78,0xfe,0x92,0xb8,0x05,0x5c,0xfb,0x0e, +0x01,0x3f,0x63,0x21,0x27,0x45,0xeb,0xa9,0x6d,0x78,0xff,0xff,0x00,0x90,0x00,0x00, +0x06,0xdc,0x06,0x14,0x10,0x26,0x04,0xf0,0x00,0x00,0x10,0x07,0x0b,0xf4,0x03,0xcf, +0x03,0x52,0x00,0x01,0x00,0x74,0xfe,0x0b,0x04,0xb2,0x04,0x2b,0x00,0x28,0x00,0x00, +0x05,0x16,0x21,0x32,0x37,0x15,0x06,0x07,0x04,0x27,0x26,0x27,0x26,0x37,0x36,0x37, +0x26,0x27,0x26,0x37,0x36,0x37,0x36,0x17,0x15,0x26,0x07,0x06,0x15,0x14,0x17,0x16, +0x37,0x36,0x37,0x15,0x04,0x07,0x06,0x15,0x14,0x01,0x53,0x77,0x01,0x53,0xc1,0xd4, +0x96,0xfa,0xfe,0x59,0xa4,0x61,0x01,0x01,0x58,0x73,0x4b,0x32,0x30,0x59,0x01,0x02, +0xca,0x7c,0xfc,0xc3,0x74,0x5d,0x30,0x54,0x58,0x9e,0xfe,0xfe,0xef,0xec,0xd1,0xb1, +0x9e,0x76,0xb8,0x62,0x01,0x02,0xbe,0x70,0xc8,0xb1,0x65,0x84,0x18,0x04,0x1e,0x38, +0x82,0xc3,0x8c,0x55,0x08,0xa9,0x06,0x47,0x39,0x63,0x4b,0x19,0x2c,0x26,0x45,0x1d, +0xb8,0x1a,0x95,0x83,0xb9,0x75,0xff,0xff,0x00,0x74,0xfe,0x0b,0x04,0xb2,0x05,0x46, +0x10,0x26,0x04,0xf2,0x00,0x00,0x10,0x07,0x0b,0xf4,0x01,0x77,0x04,0xb0,0x00,0x01, +0xff,0xec,0x00,0x00,0x02,0x6c,0x00,0xb8,0x00,0x03,0x00,0x00,0x23,0x35,0x21,0x15, +0x14,0x02,0x80,0xb8,0xb8,0x00,0xff,0xff,0x00,0x81,0xff,0xa4,0x07,0x9f,0x05,0x14, +0x10,0x26,0x05,0x2c,0x00,0x00,0x10,0x07,0x0b,0xf4,0x05,0xf5,0x04,0x7e,0xff,0xff, +0x00,0x6b,0xfe,0x47,0x05,0x9b,0x05,0x14,0x10,0x26,0x05,0x19,0x00,0x00,0x10,0x07, +0x0b,0xf5,0x03,0x52,0x04,0x7e,0x00,0x02,0x00,0x90,0xff,0xc8,0x05,0xc7,0x06,0x14, +0x00,0x21,0x00,0x3d,0x00,0x00,0x01,0x15,0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x17, +0x16,0x15,0x14,0x07,0x06,0x23,0x22,0x27,0x35,0x16,0x33,0x32,0x37,0x36,0x35,0x34, +0x27,0x26,0x27,0x26,0x37,0x36,0x37,0x36,0x01,0x36,0x19,0x01,0x33,0x11,0x10,0x07, +0x06,0x07,0x06,0x27,0x26,0x27,0x24,0x35,0x34,0x37,0x33,0x06,0x15,0x16,0x17,0x16, +0x33,0x32,0x37,0x36,0x03,0xd0,0x4a,0x26,0x50,0x0e,0x0c,0x44,0x66,0x58,0x52,0x4e, +0x42,0x38,0x44,0x2d,0x3c,0x39,0x3c,0x4e,0x4a,0x12,0x20,0x01,0x02,0x4b,0x55,0x01, +0x66,0x4c,0xb8,0x6e,0x95,0xdd,0x88,0x76,0xcf,0x65,0xfe,0xdb,0x10,0xb8,0x0e,0x02, +0xa0,0x79,0x7f,0x8c,0x59,0x98,0x04,0x6f,0x52,0x04,0x0e,0x1e,0x21,0x1c,0x12,0x10, +0x0a,0x0f,0x58,0x6e,0x2a,0x27,0x0b,0x58,0x0a,0x1a,0x1a,0x1e,0x26,0x11,0x10,0x1c, +0x2f,0x2e,0x51,0x26,0x2b,0xfc,0xae,0x49,0x01,0x01,0x03,0xb1,0xfc,0x4f,0xfe,0xb9, +0x7b,0xa7,0x1f,0x13,0x01,0x02,0x1e,0x58,0xc3,0x4b,0x35,0x3a,0x2c,0x5c,0x2e,0x23, +0x1b,0x2f,0x00,0x01,0x00,0x8f,0xfe,0xc8,0x05,0x18,0x06,0x14,0x00,0x1b,0x00,0x00, +0x25,0x36,0x35,0x11,0x33,0x11,0x10,0x07,0x06,0x05,0x06,0x23,0x22,0x27,0x24,0x03, +0x26,0x37,0x33,0x06,0x15,0x14,0x17,0x16,0x33,0x32,0x37,0x36,0x04,0x12,0x4e,0xb8, +0x62,0x79,0xfe,0xfb,0x86,0x55,0x5f,0x49,0xfe,0xdc,0x01,0x01,0x40,0xb8,0x41,0xa6, +0x28,0x49,0x50,0x6d,0xae,0x49,0x7e,0xe3,0x04,0x6a,0xfb,0x96,0xfe,0xc3,0x90,0xb1, +0x42,0x22,0x16,0x5c,0x01,0x11,0x8a,0x5c,0x73,0x73,0x82,0x3e,0x10,0x22,0x35,0x00, +0x00,0x02,0x00,0x8c,0xfe,0x14,0x04,0x5e,0x02,0xf3,0x00,0x11,0x00,0x2e,0x00,0x00, +0x01,0x16,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x23,0x22,0x07,0x06, +0x15,0x14,0x07,0x26,0x07,0x06,0x15,0x11,0x23,0x11,0x34,0x37,0x36,0x33,0x26,0x35, +0x34,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x23,0x06,0x02, +0x62,0x7a,0x4c,0x2c,0x15,0x35,0x06,0x15,0x3b,0x28,0x2e,0x3b,0x1b,0x44,0x6e,0x32, +0x4b,0x19,0xc8,0x78,0x41,0x5a,0x02,0xa2,0x4d,0x5c,0x4d,0x4f,0xb6,0x1c,0x08,0x62, +0x78,0x58,0xb2,0x01,0x27,0x2a,0x16,0x39,0x3a,0x18,0x14,0x58,0x11,0x0c,0x1b,0x44, +0x44,0x28,0xc1,0x1c,0x4e,0x1a,0x4f,0xfe,0x14,0x01,0xec,0xad,0x66,0x37,0x2a,0x28, +0x94,0x84,0x3f,0x24,0x53,0xa7,0x2d,0x38,0x92,0x41,0x50,0x02,0xff,0xff,0x00,0x93, +0xfe,0xb5,0x05,0x49,0x03,0xb6,0x10,0x26,0x05,0x31,0x00,0x00,0x10,0x07,0x0b,0xf4, +0x02,0x3f,0x03,0x20,0x00,0x02,0x00,0x8b,0xff,0xc6,0x03,0xa0,0x02,0xde,0x00,0x0f, +0x00,0x1f,0x00,0x00,0x01,0x22,0x07,0x06,0x17,0x16,0x17,0x16,0x33,0x32,0x37,0x36, +0x35,0x34,0x27,0x26,0x27,0x32,0x17,0x16,0x15,0x06,0x07,0x06,0x23,0x22,0x27,0x26, +0x35,0x34,0x37,0x36,0x01,0xbb,0x42,0x21,0x1a,0x01,0x01,0x37,0x39,0x39,0x5b,0x5d, +0x4b,0x42,0x7b,0x98,0xc6,0xb6,0x8d,0x01,0x93,0xa5,0x84,0x60,0x51,0xa7,0x25,0x54, +0x02,0x2a,0x57,0x45,0x7b,0x52,0x2c,0x2c,0x39,0x2e,0x55,0x4d,0x41,0x78,0xb3,0xa0, +0x7c,0x94,0xc8,0x4b,0x55,0x23,0x4a,0xef,0xb5,0x4e,0xb9,0x00,0x00,0x02,0xff,0xab, +0xfe,0x32,0x03,0x43,0x03,0xd9,0x00,0x1c,0x00,0x2c,0x00,0x00,0x01,0x06,0x05,0x35, +0x36,0x37,0x24,0x11,0x06,0x23,0x22,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x33, +0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x03,0x36,0x35,0x34,0x27,0x26,0x07, +0x06,0x07,0x06,0x07,0x14,0x17,0x16,0x33,0x32,0x01,0xb8,0xb7,0xfe,0xaa,0xfa,0xa5, +0x01,0x4a,0x3f,0x7a,0x85,0x4b,0x62,0x08,0x17,0x96,0x4e,0x4c,0x63,0x39,0x5f,0x2f, +0x21,0x3c,0x5c,0x5b,0x29,0x42,0x1f,0x2c,0x34,0x28,0x28,0x01,0x37,0x28,0x2a,0x48, +0xfe,0xe6,0x8e,0x26,0xb8,0x1b,0x75,0xea,0x01,0x48,0x4b,0x43,0x57,0x81,0x34,0x2c, +0x94,0x45,0x24,0x32,0x52,0x7f,0x59,0xad,0xcc,0x8c,0xd5,0x02,0x76,0x2b,0x4d,0x3b, +0x33,0x19,0x01,0x01,0x2a,0x29,0x33,0x50,0x26,0x19,0x00,0x01,0x00,0x82,0xfe,0xf3, +0x05,0xc0,0x03,0x4a,0x00,0x36,0x00,0x00,0x25,0x06,0x05,0x06,0x23,0x22,0x27,0x24, +0x11,0x34,0x37,0x33,0x06,0x17,0x16,0x17,0x16,0x37,0x36,0x37,0x36,0x37,0x36,0x35, +0x34,0x27,0x26,0x27,0x26,0x27,0x26,0x27,0x34,0x37,0x36,0x32,0x17,0x16,0x17,0x23, +0x26,0x27,0x26,0x27,0x26,0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x05, +0x56,0x66,0xfe,0xa9,0xb1,0x78,0x81,0x48,0xfe,0xdb,0x3f,0xb8,0x42,0x01,0x02,0xa4, +0x61,0x3d,0x7e,0x81,0xb1,0x54,0x3b,0x7e,0x42,0x72,0x43,0x3a,0x40,0x01,0xbe,0x5f, +0xd0,0x60,0x8d,0x1b,0xb8,0x0d,0x42,0x28,0x45,0x4e,0x3e,0x3c,0x7d,0xf8,0x39,0x4d, +0x02,0x01,0x0c,0xaa,0x49,0x26,0x1a,0x68,0x01,0x05,0x75,0x71,0x83,0x63,0x93,0x2d, +0x1a,0x06,0x0b,0x18,0x21,0x50,0x38,0x35,0x4a,0x1d,0x0f,0x2e,0x1b,0x33,0x39,0x73, +0x96,0x4a,0x25,0x2a,0x3d,0xad,0x3d,0x21,0x14,0x02,0x02,0x27,0x26,0x22,0x37,0x2a, +0x53,0x40,0x55,0x59,0x44,0x00,0xff,0xff,0x00,0x82,0xfe,0x0c,0x05,0xc0,0x03,0x4a, +0x10,0x26,0x04,0xfd,0x00,0x00,0x10,0x07,0x0b,0xf5,0x01,0xf4,0xfe,0x0c,0x00,0x02, +0x00,0xdc,0x04,0xba,0x03,0x24,0x06,0x9a,0x00,0x03,0x00,0x07,0x00,0x00,0x13,0x35, +0x25,0x15,0x01,0x35,0x25,0x15,0xdc,0x02,0x48,0xfd,0xb8,0x02,0x48,0x05,0xaa,0x6e, +0x82,0x6e,0xfe,0x8e,0x6e,0x82,0x6e,0x00,0x00,0x02,0x00,0xdc,0x04,0xba,0x03,0x24, +0x06,0xfd,0x00,0x26,0x00,0x35,0x00,0x00,0x01,0x36,0x37,0x26,0x27,0x26,0x35,0x34, +0x37,0x36,0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x16,0x33,0x16,0x33,0x15,0x22,0x2f, +0x01,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x35,0x33,0x14,0x17,0x16,0x33,0x32,0x37, +0x36,0x37,0x36,0x35,0x34,0x26,0x23,0x22,0x07,0x06,0x15,0x14,0x17,0x16,0x02,0x0b, +0x25,0x15,0x21,0x17,0x6c,0x45,0x1c,0x3f,0x49,0x28,0x37,0x0c,0x13,0x0e,0x12,0x14, +0x2f,0x14,0x34,0x1a,0x4b,0x55,0x5e,0x72,0x38,0x0f,0x5a,0x0c,0x23,0x30,0x38,0x9f, +0x03,0x03,0x09,0x22,0x14,0x17,0x0b,0x12,0x2d,0x14,0x05,0x64,0x24,0x2a,0x07,0x0d, +0x39,0x5e,0x57,0x34,0x15,0x27,0x36,0x4f,0x27,0x26,0x01,0x01,0x6e,0x02,0x05,0x3d, +0x4e,0x56,0x9a,0x29,0x71,0x61,0x1a,0x4b,0xee,0x07,0x07,0x15,0x18,0x22,0x1c,0x09, +0x0d,0x1c,0x25,0x12,0x08,0x00,0x00,0x02,0x00,0xdc,0xfe,0x16,0x03,0x24,0xff,0xf6, +0x00,0x03,0x00,0x07,0x00,0x00,0x13,0x35,0x25,0x15,0x25,0x35,0x25,0x15,0xdc,0x02, +0x48,0xfd,0xb8,0x02,0x48,0xfe,0x16,0x6e,0x82,0x6e,0x6e,0x6e,0x82,0x6e,0x00,0x01, +0x00,0xdc,0x04,0xba,0x03,0x24,0x05,0xaa,0x00,0x03,0x00,0x00,0x13,0x35,0x25,0x15, +0xdc,0x02,0x48,0x04,0xba,0x6e,0x82,0x6e,0x00,0x02,0x00,0xdc,0x04,0xb9,0x03,0x24, +0x06,0xfd,0x00,0x1e,0x00,0x2d,0x00,0x00,0x01,0x26,0x27,0x26,0x35,0x34,0x37,0x36, +0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x1e,0x01,0x33,0x15,0x22,0x27,0x26,0x27,0x06, +0x07,0x06,0x23,0x35,0x32,0x37,0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x26,0x23,0x22, +0x07,0x06,0x15,0x14,0x17,0x16,0x02,0x29,0x09,0x13,0x6c,0x45,0x1c,0x3f,0x49,0x28, +0x37,0x0e,0x11,0x24,0x14,0x23,0x20,0x1e,0x1c,0x2b,0x45,0xc8,0x93,0x98,0x8b,0x17, +0x56,0x03,0x03,0x09,0x22,0x14,0x17,0x0b,0x12,0x2d,0x14,0x05,0xba,0x02,0x0a,0x38, +0x5f,0x57,0x34,0x15,0x27,0x36,0x4f,0x20,0x2d,0x01,0x01,0x6e,0x02,0x02,0x03,0x3d, +0x2a,0x7b,0x6e,0x6d,0x12,0x70,0x07,0x07,0x15,0x18,0x22,0x1c,0x09,0x0d,0x1c,0x25, +0x12,0x08,0x00,0x01,0x00,0xdc,0xfe,0xe8,0x03,0x24,0xff,0xd8,0x00,0x03,0x00,0x00, +0x13,0x35,0x25,0x15,0xdc,0x02,0x48,0xfe,0xe8,0x6e,0x82,0x6e,0x00,0x01,0x00,0xc8, +0x04,0xca,0x03,0x39,0x06,0xf4,0x00,0x28,0x00,0x00,0x01,0x06,0x07,0x06,0x07,0x06, +0x27,0x26,0x35,0x34,0x37,0x33,0x06,0x17,0x16,0x17,0x16,0x37,0x36,0x37,0x36,0x35, +0x33,0x06,0x17,0x16,0x37,0x36,0x35,0x34,0x27,0x33,0x16,0x07,0x06,0x07,0x06,0x07, +0x06,0x27,0x26,0x02,0x10,0x0f,0x21,0x39,0x45,0x4f,0x29,0x22,0x10,0x61,0x0d,0x02, +0x03,0x16,0x12,0x33,0x3d,0x04,0x02,0x60,0x01,0x04,0x0d,0x4c,0x47,0x0d,0x67,0x0f, +0x03,0x04,0x17,0x26,0x5a,0x47,0x1f,0x1b,0x05,0x84,0x4d,0x27,0x44,0x01,0x02,0x41, +0x32,0x6f,0x6d,0x62,0x7d,0x38,0x54,0x22,0x1c,0x17,0x1a,0xa8,0x52,0x59,0x24,0x36, +0xc5,0x02,0x01,0xad,0x73,0x39,0x49,0x74,0x85,0x36,0x58,0x0b,0x09,0x21,0x1e,0x00, +0x00,0x02,0x00,0xec,0x04,0xe1,0x03,0x10,0x07,0x06,0x00,0x0b,0x00,0x13,0x00,0x00, +0x01,0x34,0x26,0x23,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x3e,0x01,0x14,0x06,0x22, +0x26,0x34,0x36,0x32,0x02,0x96,0x58,0x40,0x41,0x57,0x57,0x41,0x40,0x58,0x7a,0x9f, +0xe6,0x9f,0x9f,0xe6,0x05,0xf4,0x3f,0x58,0x57,0x40,0x41,0x57,0x58,0xb3,0xe6,0xa0, +0xa0,0xe6,0x9f,0x00,0x00,0x01,0x00,0x98,0x04,0xb9,0x03,0x68,0x05,0xc1,0x00,0x13, +0x00,0x00,0x13,0x37,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x37,0x15,0x06,0x07,0x06, +0x23,0x22,0x27,0x26,0x27,0x07,0x98,0xa0,0x67,0x43,0x2a,0x36,0x3a,0x29,0x6b,0x58, +0x5a,0x5a,0x43,0x35,0x22,0x4c,0x4d,0x44,0xa5,0x05,0x36,0x7b,0x53,0x15,0x0d,0x10, +0x29,0x4c,0x7d,0x40,0x1d,0x16,0x11,0x11,0x46,0x80,0xff,0xff,0x01,0x4f,0x04,0xbe, +0x02,0xa7,0x06,0x77,0x10,0x07,0x05,0x1a,0x00,0xd5,0xff,0x8d,0xff,0xff,0x01,0x4f, +0xfe,0x0b,0x02,0xa7,0xff,0xc4,0x10,0x07,0x05,0x1a,0x00,0xd5,0xf8,0xda,0x00,0x01, +0x01,0xb8,0x01,0xc2,0x02,0x94,0x02,0xbc,0x00,0x03,0x00,0x00,0x01,0x33,0x15,0x23, +0x01,0xb8,0xdc,0xdc,0x02,0xbc,0xfa,0x00,0x00,0x01,0x01,0x16,0x00,0x00,0x02,0xbc, +0x05,0x14,0x00,0x09,0x00,0x00,0x21,0x23,0x10,0x27,0x02,0x03,0x33,0x12,0x13,0x16, +0x02,0xbc,0xb4,0x25,0x31,0x9c,0xc4,0x79,0x49,0x20,0x01,0xa9,0xdc,0x01,0x21,0x01, +0x6e,0xfe,0xdd,0xfe,0x94,0x9b,0x00,0x01,0x00,0x52,0x00,0x00,0x03,0xf0,0x05,0x14, +0x00,0x18,0x00,0x00,0x01,0x16,0x17,0x16,0x11,0x23,0x10,0x27,0x02,0x03,0x33,0x16, +0x17,0x16,0x33,0x16,0x37,0x36,0x37,0x33,0x06,0x07,0x02,0x23,0x22,0x01,0xa6,0x1b, +0x17,0x20,0xb4,0x25,0x31,0x9c,0xc7,0x42,0x03,0x52,0xb4,0x7b,0x36,0x1f,0x08,0xb4, +0x08,0x29,0x63,0xf3,0x6f,0x03,0x61,0x6a,0x72,0x9b,0xfe,0x16,0x01,0xa9,0xdc,0x01, +0x21,0x01,0x6e,0x9b,0x05,0x98,0x02,0x95,0x55,0x50,0x79,0x6d,0xfe,0xfa,0x00,0x01, +0x00,0x4c,0x00,0x00,0x04,0x12,0x05,0x14,0x00,0x25,0x00,0x00,0x01,0x16,0x17,0x16, +0x11,0x23,0x10,0x27,0x02,0x03,0x33,0x16,0x17,0x16,0x37,0x36,0x37,0x36,0x35,0x33, +0x14,0x17,0x16,0x17,0x16,0x37,0x36,0x35,0x33,0x10,0x07,0x06,0x23,0x22,0x27,0x06, +0x07,0x06,0x01,0xab,0x18,0x0f,0x20,0xb4,0x25,0x31,0x9c,0xc4,0x2f,0x28,0x14,0x2f, +0x48,0x08,0x06,0xb4,0x0e,0x16,0x2f,0x3b,0x0f,0x0d,0xb4,0x27,0x47,0x9b,0x85,0x20, +0x34,0x34,0x2e,0x03,0x35,0x57,0x59,0xbe,0xfe,0x39,0x01,0xa9,0xdc,0x01,0x21,0x01, +0x6e,0x72,0x7c,0x3e,0x08,0x0c,0x40,0x32,0xa6,0xde,0x19,0x25,0x02,0x02,0x2c,0x2a, +0xca,0xfe,0xcf,0x3b,0x6c,0x3e,0x33,0x0c,0x0a,0x00,0x00,0x01,0x00,0xaf,0xff,0xec, +0x03,0xa7,0x05,0x20,0x00,0x2a,0x00,0x00,0x01,0x15,0x06,0x07,0x06,0x15,0x14,0x17, +0x16,0x17,0x15,0x22,0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x32,0x37,0x36,0x37,0x15, +0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x26,0x27,0x26,0x27, +0x26,0x37,0x36,0x03,0x23,0x7a,0x66,0x88,0x5c,0x4d,0x4f,0x59,0x87,0x70,0x30,0x3b, +0x4a,0x63,0x58,0x7e,0x56,0x49,0x7c,0x65,0x65,0x95,0x70,0x64,0x6b,0x41,0x58,0x48, +0x2c,0x37,0x01,0x02,0xe2,0x70,0x05,0x20,0xa8,0x11,0x34,0x43,0x40,0x23,0x39,0x30, +0x04,0xa4,0x4c,0x40,0x72,0x52,0x3c,0x4a,0x01,0x17,0x21,0x2b,0xc4,0x25,0x1c,0x17, +0x7d,0x70,0xa5,0x86,0x80,0x4c,0x18,0x20,0x30,0x3a,0x3f,0x96,0x80,0x3f,0x00,0x02, +0x00,0x87,0xff,0xec,0x03,0xc5,0x05,0x25,0x00,0x0d,0x00,0x1c,0x00,0x00,0x00,0x22, +0x07,0x06,0x07,0x06,0x17,0x16,0x32,0x37,0x36,0x27,0x26,0x27,0x03,0x16,0x13,0x16, +0x15,0x10,0x07,0x06,0x20,0x27,0x26,0x11,0x34,0x37,0x12,0x02,0x69,0x86,0x56,0x4e, +0x04,0x04,0x47,0x29,0xfe,0x29,0x47,0x04,0x04,0x4e,0x99,0xbf,0x86,0x5a,0x55,0x69, +0xfe,0x3e,0x69,0x55,0x5a,0x87,0x04,0x68,0xd4,0xc0,0xae,0xc7,0x73,0x42,0x42,0x73, +0xc7,0xae,0xc0,0x01,0x90,0x01,0xfe,0xa1,0xeb,0xb3,0xfe,0xcb,0x75,0x90,0x90,0x75, +0x01,0x35,0xb3,0xeb,0x01,0x61,0x00,0x01,0x00,0x55,0x00,0x00,0x03,0xf2,0x05,0x14, +0x00,0x11,0x00,0x00,0x01,0x10,0x13,0x12,0x13,0x23,0x02,0x03,0x02,0x27,0x06,0x23, +0x22,0x27,0x35,0x16,0x33,0x32,0x03,0x4e,0x25,0x1d,0x62,0xc4,0x55,0x1f,0x1c,0x02, +0x60,0x8e,0xb2,0xa7,0xb4,0xa5,0xd2,0x05,0x14,0xfe,0xdc,0xfe,0x9f,0xfe,0xeb,0xfe, +0x86,0x01,0x44,0x01,0x4b,0x01,0x2a,0x91,0x1c,0x32,0xb4,0x32,0x00,0x01,0x00,0x3c, +0x00,0x00,0x04,0x10,0x05,0x14,0x00,0x12,0x00,0x00,0x21,0x26,0x03,0x02,0x27,0x33, +0x12,0x13,0x16,0x17,0x36,0x37,0x12,0x13,0x33,0x02,0x03,0x02,0x07,0x01,0xcc,0x11, +0x62,0x9f,0x7e,0xc4,0x9a,0x5a,0x30,0x02,0x02,0x30,0x5a,0x9a,0xc4,0xa5,0x78,0x55, +0x1e,0xf6,0x01,0x3a,0x01,0xfe,0xe6,0xfe,0xca,0xfe,0xc5,0xa8,0x0b,0x0b,0xa8,0x01, +0x3b,0x01,0x36,0xfe,0xd3,0xfe,0x49,0xfe,0xca,0xfa,0x00,0x01,0x00,0x3c,0x00,0x00, +0x04,0x10,0x05,0x14,0x00,0x12,0x00,0x00,0x01,0x33,0x16,0x13,0x12,0x13,0x23,0x02, +0x03,0x26,0x27,0x06,0x07,0x02,0x03,0x23,0x36,0x13,0x12,0x01,0xcc,0xb4,0x1e,0x55, +0x78,0xa5,0xc4,0x9a,0x5a,0x30,0x02,0x02,0x30,0x5a,0x9a,0xc4,0x7e,0x9f,0x62,0x05, +0x14,0xfa,0xfe,0xca,0xfe,0x49,0xfe,0xd3,0x01,0x36,0x01,0x3b,0xa8,0x0b,0x0b,0xa8, +0xfe,0xc5,0xfe,0xca,0xe6,0x01,0xfe,0x01,0x3a,0x00,0x00,0x02,0x00,0x63,0x00,0x00, +0x03,0xf2,0x05,0x1f,0x00,0x14,0x00,0x23,0x00,0x00,0x01,0x26,0x27,0x26,0x27,0x26, +0x27,0x26,0x37,0x36,0x17,0x16,0x17,0x16,0x17,0x16,0x17,0x12,0x13,0x23,0x02,0x03, +0x27,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x17,0x16,0x17,0x16,0x17,0x16,0x02,0xbf, +0xce,0x3d,0xa5,0x42,0x66,0x03,0x03,0x62,0x7f,0x91,0x9a,0x5c,0x81,0x0d,0x0a,0x12, +0x25,0x5a,0xc4,0x5b,0x24,0x08,0x0a,0x22,0x38,0x6b,0x4d,0x3b,0x39,0x01,0x01,0x3b, +0x22,0x4c,0x4f,0x02,0x55,0x03,0x0f,0x29,0x41,0x65,0x7b,0x8e,0x62,0x7e,0x01,0x01, +0x54,0x76,0xa7,0x87,0x96,0xfe,0xcd,0xfe,0xa4,0x01,0x9c,0x01,0x6e,0x57,0x6c,0x3c, +0x61,0x37,0x36,0x47,0x39,0x36,0x1f,0x0d,0x0e,0x00,0x00,0x03,0x00,0x85,0x00,0x00, +0x03,0xc7,0x05,0x14,0x00,0x03,0x00,0x07,0x00,0x0b,0x00,0x00,0x25,0x33,0x15,0x23, +0x01,0x33,0x15,0x23,0x25,0x33,0x01,0x23,0x03,0x04,0xb4,0xb4,0xfd,0x8f,0xb4,0xb4, +0x02,0x94,0xa0,0xfd,0x5e,0xa0,0xfa,0xfa,0x05,0x14,0xfa,0xfa,0xfa,0xec,0x00,0x01, +0x00,0x00,0xff,0x1f,0x02,0x66,0x02,0x8b,0x00,0x11,0x00,0x00,0x15,0x36,0x37,0x36, +0x37,0x36,0x35,0x34,0x27,0x33,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0xa9,0x70, +0x6b,0x2f,0x1a,0x16,0x96,0x19,0x4c,0x4f,0xa5,0x69,0xbd,0x46,0x05,0x71,0x6d,0x8f, +0x50,0x4f,0x60,0x60,0x4e,0x6f,0xaa,0xa0,0xa6,0x71,0x48,0x06,0x00,0x01,0x00,0xb2, +0x03,0xfe,0x01,0xd7,0x05,0xd5,0x00,0x05,0x00,0x00,0x01,0x33,0x15,0x03,0x23,0x13, +0x01,0x04,0xd3,0xa4,0x81,0x52,0x05,0xd5,0x98,0xfe,0xc1,0x01,0x3f,0x00,0x00,0x01, +0x00,0x57,0x00,0xce,0x04,0x05,0x04,0x4c,0x00,0x09,0x00,0x00,0x13,0x21,0x1b,0x01, +0x21,0x05,0x13,0x25,0x05,0x13,0x57,0x01,0x67,0x70,0x70,0x01,0x67,0xfe,0xde,0x6f, +0xfe,0xdc,0xfe,0xdc,0x6f,0x02,0xf7,0x01,0x55,0xfe,0xab,0xd4,0xfe,0xab,0xd3,0xd3, +0x01,0x55,0x00,0x01,0x00,0x81,0xff,0xeb,0x06,0xeb,0x02,0x9d,0x00,0x1d,0x00,0x00, +0x01,0x16,0x15,0x14,0x07,0x06,0x05,0x04,0x23,0x06,0x27,0x24,0x03,0x26,0x37,0x33, +0x06,0x15,0x14,0x17,0x16,0x33,0x32,0x25,0x24,0x37,0x36,0x35,0x26,0x27,0x06,0xdc, +0x0f,0x4c,0x80,0xfe,0xc3,0xfe,0xe3,0xb9,0xbf,0x81,0xfe,0xb7,0x01,0x01,0x40,0xb8, +0x41,0xcb,0x68,0x97,0xb9,0x01,0x09,0x00,0xff,0x43,0x37,0x01,0x18,0x02,0x9d,0x5a, +0x46,0x87,0x65,0xaa,0x41,0x3a,0x02,0x28,0x65,0x01,0x08,0x8a,0x5c,0x5e,0x88,0x7d, +0x43,0x22,0x39,0x36,0x71,0x5d,0x4b,0x3b,0x3d,0x00,0x00,0x02,0x00,0x6b,0xfe,0x47, +0x05,0x9b,0x03,0xd9,0x00,0x0f,0x00,0x38,0x00,0x00,0x01,0x36,0x35,0x34,0x27,0x26, +0x07,0x06,0x07,0x06,0x07,0x14,0x17,0x16,0x33,0x32,0x01,0x32,0x37,0x24,0x11,0x06, +0x23,0x22,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16, +0x15,0x14,0x07,0x06,0x07,0x06,0x25,0x26,0x27,0x26,0x35,0x34,0x37,0x33,0x06,0x07, +0x06,0x17,0x16,0x04,0xa8,0x29,0x42,0x1f,0x2c,0x34,0x28,0x28,0x01,0x37,0x28,0x2a, +0x48,0xfd,0x80,0xf0,0xa2,0x01,0x4a,0x3f,0x7a,0x85,0x4b,0x62,0x08,0x17,0x96,0x4e, +0x4c,0x63,0x39,0x67,0x27,0x21,0x3c,0x5c,0xf3,0xce,0xfe,0xce,0xd3,0x85,0x4d,0x52, +0xb7,0x55,0x03,0x01,0x0c,0x35,0x02,0x19,0x2b,0x4d,0x3b,0x33,0x19,0x01,0x01,0x2a, +0x29,0x33,0x50,0x26,0x19,0xfd,0x06,0x73,0xea,0x01,0x48,0x4b,0x43,0x57,0x81,0x34, +0x2c,0x94,0x45,0x24,0x32,0x5a,0x77,0x66,0xa0,0xcc,0x8c,0xd5,0xbd,0x9f,0x01,0x01, +0xbf,0x6e,0xae,0xb4,0xd8,0xb9,0x9b,0x3c,0x34,0xe5,0x00,0x01,0x00,0x7a,0x05,0x31, +0x01,0xd2,0x06,0xea,0x00,0x18,0x00,0x00,0x13,0x37,0x26,0x27,0x26,0x35,0x36,0x37, +0x36,0x17,0x16,0x17,0x15,0x26,0x23,0x22,0x07,0x06,0x15,0x14,0x17,0x16,0x37,0x15, +0x05,0x7a,0x4e,0x2c,0x10,0x10,0x03,0x35,0x38,0x5e,0x3e,0x34,0x32,0x40,0x42,0x11, +0x1d,0x5e,0x21,0x78,0xfe,0xa9,0x05,0x96,0x12,0x14,0x24,0x25,0x2d,0x5f,0x2c,0x2e, +0x01,0x01,0x20,0x64,0x21,0x12,0x20,0x1a,0x4d,0x1b,0x0a,0x1d,0x66,0x4d,0xff,0xff, +0x00,0x81,0xff,0xeb,0x06,0xeb,0x04,0x9a,0x10,0x26,0x05,0x18,0x00,0x00,0x10,0x07, +0x04,0xd7,0x01,0x84,0xfd,0xa8,0xff,0xff,0x00,0x81,0xff,0xeb,0x06,0xeb,0x04,0x1a, +0x10,0x26,0x05,0x18,0x00,0x00,0x10,0x07,0x0b,0xf8,0x03,0x39,0x03,0x84,0xff,0xff, +0x00,0x81,0xfe,0x0c,0x06,0xeb,0x02,0x9d,0x10,0x26,0x05,0x18,0x00,0x00,0x10,0x07, +0x0b,0xf8,0x03,0x39,0xff,0x06,0xff,0xff,0x00,0x81,0xfe,0x90,0x06,0xeb,0x03,0x20, +0x10,0x26,0x05,0x18,0x00,0x00,0x10,0x27,0x0b,0xf5,0x02,0xbc,0x02,0x8a,0x10,0x07, +0x0c,0x05,0x02,0xa9,0xfe,0x90,0xff,0xff,0x00,0x81,0xff,0xeb,0x06,0xeb,0x03,0xb6, +0x10,0x26,0x05,0x18,0x00,0x00,0x10,0x07,0x0b,0xf7,0x02,0xbc,0x03,0x20,0xff,0xff, +0x00,0x81,0xfe,0x0c,0x06,0xeb,0x02,0x9d,0x10,0x26,0x05,0x18,0x00,0x00,0x10,0x07, +0x0b,0xf7,0x02,0xbc,0xff,0x06,0xff,0xff,0x00,0x81,0xff,0xeb,0x06,0xeb,0x04,0x1a, +0x10,0x26,0x05,0x18,0x00,0x00,0x10,0x07,0x0b,0xf9,0x02,0xbc,0x03,0x84,0xff,0xff, +0x00,0x81,0xfe,0x0c,0x06,0xeb,0x02,0x9d,0x10,0x26,0x05,0x18,0x00,0x00,0x10,0x07, +0x0b,0xf9,0x02,0xbc,0xff,0x06,0xff,0xff,0x00,0x9d,0xfe,0x0b,0x05,0x28,0x05,0xaf, +0x10,0x26,0x04,0xe6,0x00,0x00,0x10,0x07,0x05,0x08,0x00,0x8a,0xff,0x38,0xff,0xff, +0x00,0x9d,0xfe,0x0b,0x05,0x28,0x05,0xaa,0x10,0x26,0x04,0xe6,0x00,0x00,0x10,0x07, +0x0b,0xf8,0x02,0x3f,0x05,0x14,0xff,0xff,0x00,0x9d,0xfe,0x0b,0x05,0x28,0x03,0x67, +0x10,0x26,0x04,0xe6,0x00,0x00,0x10,0x07,0x0b,0xf5,0x02,0x8a,0x00,0x19,0xff,0xff, +0x00,0x9d,0xfe,0x0b,0x05,0x28,0x03,0x67,0x10,0x26,0x04,0xe6,0x00,0x00,0x10,0x07, +0x0b,0xf8,0x03,0x07,0x00,0xaf,0xff,0xff,0x00,0x9d,0xfe,0x0b,0x05,0x28,0x05,0xaa, +0x10,0x26,0x04,0xe6,0x00,0x00,0x10,0x07,0x0b,0xf6,0x01,0xc2,0x04,0x1a,0xff,0xff, +0x00,0x9d,0xfe,0x0b,0x05,0x28,0x03,0x67,0x10,0x26,0x04,0xe6,0x00,0x00,0x10,0x07, +0x0b,0xf7,0x02,0x96,0x00,0x96,0xff,0xff,0x00,0x9d,0xfe,0x0b,0x05,0x28,0x03,0x67, +0x10,0x26,0x04,0xe6,0x00,0x00,0x10,0x07,0x0b,0xf9,0x02,0x96,0x00,0xaf,0xff,0xff, +0xff,0xab,0xfe,0x0c,0x03,0xc2,0x05,0x30,0x10,0x27,0x04,0xd7,0x00,0xbc,0xfe,0x3e, +0x10,0x06,0x04,0xea,0x00,0x00,0xff,0xff,0xff,0xab,0xfe,0x0c,0x03,0x84,0x04,0xb0, +0x10,0x26,0x04,0xea,0x00,0x00,0x10,0x07,0x0b,0xf6,0x01,0xf4,0x03,0x20,0x00,0x02, +0x00,0x81,0xff,0xa4,0x07,0x9f,0x03,0xd9,0x00,0x0f,0x00,0x3a,0x00,0x00,0x01,0x36, +0x35,0x34,0x27,0x26,0x07,0x06,0x07,0x06,0x07,0x14,0x17,0x16,0x33,0x32,0x13,0x06, +0x05,0x04,0x21,0x20,0x27,0x24,0x03,0x26,0x37,0x33,0x06,0x15,0x14,0x17,0x16,0x21, +0x20,0x37,0x36,0x37,0x36,0x37,0x06,0x23,0x22,0x27,0x26,0x35,0x34,0x37,0x36,0x37, +0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x07,0x06,0x06,0xb5,0x29,0x42,0x1f,0x2c,0x34, +0x28,0x28,0x01,0x37,0x28,0x2a,0x48,0xb3,0x6e,0xfe,0xc3,0xfe,0xef,0xfe,0xe1,0xfe, +0xd9,0x82,0xfe,0xb7,0x01,0x01,0x40,0xb8,0x41,0xcb,0x5a,0x01,0x18,0x01,0x41,0xd1, +0xd7,0x64,0x23,0x14,0x3f,0x7a,0x85,0x4b,0x62,0x08,0x17,0x96,0x4e,0x4c,0x5a,0x42, +0x60,0x2e,0x18,0x01,0x02,0x02,0x19,0x2b,0x4d,0x3b,0x33,0x19,0x01,0x01,0x2a,0x29, +0x33,0x50,0x26,0x19,0xfe,0xda,0xb4,0x46,0x3d,0x29,0x64,0x01,0x09,0x8a,0x5c,0x5e, +0x88,0x74,0x4c,0x22,0x39,0x3b,0x6c,0x26,0x4e,0x4b,0x43,0x57,0x81,0x34,0x2c,0x94, +0x45,0x24,0x32,0x48,0x66,0x36,0x89,0xe2,0xff,0xff,0x00,0x81,0xff,0xa4,0x07,0x9f, +0x06,0x0e,0x10,0x26,0x05,0x2c,0x00,0x00,0x10,0x07,0x0b,0xf6,0x05,0x78,0x04,0x7e, +0xff,0xff,0x00,0x81,0xff,0xa4,0x07,0x9f,0x06,0x0e,0x10,0x26,0x05,0x2c,0x00,0x00, +0x10,0x07,0x0b,0xf9,0x05,0x78,0x05,0x78,0x00,0x01,0x00,0x81,0xff,0xa6,0x07,0x29, +0x06,0x14,0x00,0x2d,0x00,0x00,0x25,0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x01, +0x26,0x35,0x34,0x37,0x36,0x37,0x01,0x15,0x05,0x06,0x07,0x06,0x15,0x14,0x17,0x01, +0x16,0x15,0x14,0x07,0x06,0x05,0x06,0x07,0x06,0x27,0x24,0x03,0x26,0x37,0x33,0x06, +0x15,0x14,0x17,0x16,0x03,0x02,0xb8,0xc2,0x9b,0x26,0x10,0x36,0xfe,0xca,0x32,0x0a, +0x23,0x64,0x02,0xe9,0xfd,0xad,0x47,0x15,0x06,0x1f,0x01,0x13,0x66,0x3e,0x36,0xfe, +0xf8,0xe3,0xa1,0xc0,0x80,0xfe,0xb7,0x01,0x01,0x40,0xb8,0x41,0xcb,0x68,0x58,0x02, +0x4e,0x3e,0x3a,0x1a,0x2e,0x45,0x42,0x01,0x7c,0x3d,0x51,0x23,0x21,0x77,0x2a,0x01, +0x36,0xba,0xfa,0x1e,0x28,0x0b,0x19,0x20,0x25,0xfe,0xb6,0x7b,0x7b,0x71,0x65,0x58, +0x53,0x47,0x02,0x02,0x28,0x65,0x01,0x08,0x8a,0x5c,0x5e,0x88,0x7d,0x43,0x23,0x00, +0xff,0xff,0x00,0x81,0xff,0xa6,0x07,0x29,0x07,0x2b,0x10,0x26,0x05,0x2f,0x00,0x00, +0x10,0x07,0x0c,0x18,0x03,0xca,0x00,0x00,0x00,0x01,0x00,0x93,0xfe,0xb5,0x05,0x49, +0x02,0xee,0x00,0x1d,0x00,0x00,0x01,0x16,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x24, +0x11,0x34,0x37,0x33,0x06,0x15,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x37,0x36,0x35, +0x34,0x27,0x33,0x16,0x05,0x48,0x01,0x65,0x70,0xf7,0x61,0x50,0x84,0x6d,0xfe,0xb8, +0x2f,0xb8,0x31,0x01,0xc8,0x5a,0x60,0x4c,0x47,0xc1,0x4c,0x22,0x66,0xb8,0x67,0x01, +0x38,0xad,0xb2,0xc5,0x44,0x1b,0x25,0x6a,0x01,0x64,0xeb,0x51,0x90,0xac,0xed,0x34, +0x18,0x14,0x35,0xde,0x62,0x60,0xb8,0xde,0x9c,0x00,0xff,0xff,0x00,0x9d,0xfe,0x0b, +0x05,0x28,0x04,0xb0,0x10,0x27,0x0b,0xf7,0x02,0x96,0x00,0x96,0x10,0x26,0x04,0xe6, +0x00,0x00,0x10,0x07,0x0b,0xf4,0x02,0x3f,0x04,0x1a,0xff,0xff,0x00,0x82,0xfe,0xf3, +0x05,0xc0,0x03,0x4a,0x10,0x06,0x04,0xfd,0x00,0x00,0xff,0xff,0x01,0xb8,0x01,0xc2, +0x02,0x94,0x02,0xbc,0x10,0x06,0x05,0x0a,0x00,0x00,0xff,0xff,0x01,0x16,0x00,0x00, +0x02,0xbc,0x05,0x14,0x10,0x06,0x05,0x0b,0x00,0x00,0xff,0xff,0x00,0x52,0x00,0x00, +0x03,0xf0,0x05,0x14,0x10,0x06,0x05,0x0c,0x00,0x00,0xff,0xff,0x00,0x4c,0x00,0x00, +0x04,0x12,0x05,0x14,0x10,0x06,0x05,0x0d,0x00,0x00,0x00,0x01,0x00,0x52,0x00,0x00, +0x03,0xc5,0x05,0x25,0x00,0x27,0x00,0x00,0x01,0x26,0x35,0x34,0x37,0x36,0x33,0x32, +0x17,0x15,0x26,0x07,0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x37,0x36,0x37,0x15,0x06, +0x23,0x22,0x27,0x16,0x17,0x16,0x11,0x23,0x10,0x27,0x02,0x03,0x33,0x16,0x17,0x16, +0x01,0xc8,0x04,0x58,0x5c,0x6c,0x54,0x58,0x5c,0x44,0x38,0x1e,0x1f,0x19,0x2f,0x30, +0x45,0x8d,0xc3,0x3d,0x8d,0x92,0x1b,0x17,0x20,0xb4,0x25,0x31,0x9c,0xc7,0x42,0x03, +0x1b,0x04,0x14,0x0f,0x13,0x78,0x3a,0x3d,0x19,0x9c,0x24,0x02,0x01,0x21,0x22,0x15, +0x34,0x15,0x27,0x02,0x02,0x11,0xb4,0x1a,0x51,0x6a,0x72,0x9b,0xfe,0x16,0x01,0xa9, +0xdc,0x01,0x21,0x01,0x6e,0x9b,0x05,0x38,0x00,0x02,0x00,0x6a,0xff,0xf4,0x03,0xe3, +0x05,0x24,0x00,0x14,0x00,0x28,0x00,0x00,0x01,0x16,0x33,0x32,0x37,0x36,0x35,0x34, +0x27,0x26,0x23,0x22,0x07,0x06,0x15,0x14,0x17,0x16,0x33,0x32,0x37,0x17,0x06,0x27, +0x26,0x27,0x26,0x35,0x10,0x37,0x12,0x33,0x32,0x13,0x16,0x13,0x16,0x07,0x06,0x07, +0x06,0x02,0x80,0x2d,0x32,0x21,0x13,0x1b,0x57,0x5a,0x57,0x58,0x5a,0x56,0x1b,0x0f, +0x25,0x32,0x2d,0x5a,0x28,0x91,0xa0,0x2e,0x35,0x5f,0xb3,0xaa,0xa1,0xbc,0x5e,0x01, +0x01,0x36,0x33,0x9b,0x91,0x01,0x5a,0xa1,0x4a,0x6b,0x56,0xd7,0xd8,0xe0,0xe0,0xd5, +0xda,0x3c,0x85,0x4a,0xa1,0xd0,0x97,0x02,0x02,0x9c,0xb5,0x7c,0x01,0x26,0xc4,0x01, +0x76,0xfe,0x8a,0xbb,0xfe,0xd1,0x8d,0xa4,0x9d,0x01,0x02,0x00,0x00,0x01,0x00,0xd0, +0x00,0x00,0x03,0x90,0x05,0x20,0x00,0x20,0x00,0x00,0x33,0x12,0x37,0x36,0x37,0x22, +0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x17,0x15,0x26,0x23,0x22,0x07,0x06,0x15, +0x14,0x17,0x16,0x33,0x32,0x37,0x15,0x06,0x07,0x06,0x07,0xd0,0x41,0x6f,0x44,0x64, +0x4e,0x2e,0x86,0x62,0x70,0x8c,0x78,0x58,0x57,0x73,0x3e,0x30,0x42,0x37,0x2c,0x67, +0x8c,0x60,0xe1,0x70,0x86,0x35,0x00,0xff,0xb5,0x6f,0x55,0x25,0x6d,0x97,0xaf,0x60, +0x6d,0x02,0x02,0x21,0xb4,0x33,0x2f,0x41,0x62,0x4d,0x33,0x29,0x29,0xb4,0x49,0x98, +0xb7,0xe1,0xff,0xff,0x00,0x3c,0x00,0x00,0x04,0x10,0x05,0x14,0x10,0x06,0x05,0x11, +0x00,0x00,0xff,0xff,0x00,0x3c,0x00,0x00,0x04,0x10,0x05,0x14,0x10,0x06,0x05,0x12, +0x00,0x00,0xff,0xff,0x00,0x63,0x00,0x00,0x03,0xf2,0x05,0x1f,0x10,0x06,0x05,0x13, +0x00,0x00,0x00,0x03,0x00,0x7b,0xff,0xe3,0x07,0x6f,0x04,0x7b,0x00,0x2c,0x00,0x33, +0x00,0x3e,0x00,0x00,0x25,0x0e,0x01,0x23,0x22,0x00,0x3d,0x01,0x21,0x2e,0x01,0x23, +0x22,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x16,0x17,0x3e,0x01,0x33,0x32,0x16,0x15, +0x14,0x06,0x23,0x21,0x15,0x14,0x16,0x33,0x32,0x36,0x37,0x15,0x0e,0x01,0x23,0x22, +0x26,0x01,0x1e,0x01,0x33,0x32,0x36,0x37,0x25,0x32,0x36,0x35,0x34,0x26,0x23,0x22, +0x06,0x1d,0x01,0x04,0x07,0x4a,0xd4,0x84,0xe2,0xfe,0xf8,0x03,0x4e,0x0c,0xcc,0xb7, +0x68,0xc8,0x64,0x64,0xd0,0x6a,0xa7,0xf8,0x4d,0x49,0xd8,0x8f,0xbd,0xd2,0xfd,0xfb, +0xfe,0xfe,0xa7,0x97,0x60,0xb6,0x54,0x65,0xbe,0x5a,0x8e,0xd5,0xfc,0xf7,0x01,0xa5, +0x89,0x99,0xb9,0x0e,0x01,0x69,0xdf,0xac,0x81,0x6f,0x99,0xb9,0x9b,0x5a,0x5e,0x01, +0x23,0xfa,0x5a,0xbf,0xc8,0x35,0x35,0xae,0x2a,0x2c,0x79,0x77,0x78,0x78,0xbb,0xa8, +0xbd,0xc0,0x12,0x7f,0x8b,0x2e,0x2e,0xaa,0x27,0x27,0x60,0x01,0x87,0x97,0xb4,0xae, +0x9e,0x60,0x66,0x7b,0x62,0x73,0xd9,0xb4,0x29,0x00,0x00,0x01,0x00,0x82,0xff,0xe3, +0x03,0xc5,0x04,0x7c,0x00,0x31,0x00,0x00,0x01,0x16,0x17,0x16,0x15,0x14,0x07,0x06, +0x23,0x22,0x26,0x27,0x35,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26, +0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x07,0x06,0x07, +0x35,0x36,0x37,0x36,0x33,0x32,0x04,0x15,0x14,0x06,0x02,0xbf,0x70,0x3c,0x3c,0x72, +0x71,0xc4,0x4c,0xaa,0x62,0x61,0x50,0x51,0x47,0x77,0x45,0x46,0x44,0x43,0x74,0x9b, +0x94,0x89,0x48,0x4e,0x54,0x55,0x97,0x5d,0x55,0x55,0x47,0x5a,0x54,0x55,0x50,0xee, +0x01,0x02,0x8a,0x02,0x03,0x18,0x41,0x40,0x5d,0x8d,0x4f,0x4e,0x18,0x18,0xa7,0x1d, +0x0d,0x0d,0x2e,0x2e,0x40,0x46,0x2d,0x2c,0x98,0x33,0x38,0x58,0x5a,0x38,0x38,0x12, +0x13,0x25,0xab,0x1c,0x0e,0x0e,0xb6,0xad,0x6c,0x92,0x00,0x02,0x00,0xc1,0xfe,0x4c, +0x01,0x79,0x04,0x60,0x00,0x03,0x00,0x07,0x00,0x00,0x13,0x33,0x11,0x23,0x11,0x35, +0x33,0x15,0xc1,0xb8,0xb8,0xb8,0x04,0x60,0xfb,0xa0,0xfe,0x4c,0xe9,0xe9,0x00,0x03, +0x00,0x71,0xff,0xe3,0x07,0xc3,0x04,0x7b,0x00,0x20,0x00,0x27,0x00,0x32,0x00,0x00, +0x13,0x35,0x21,0x2e,0x01,0x23,0x22,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x16,0x17, +0x3e,0x01,0x33,0x32,0x00,0x11,0x10,0x00,0x23,0x22,0x26,0x27,0x0e,0x01,0x23,0x22, +0x00,0x37,0x1e,0x01,0x33,0x32,0x36,0x37,0x01,0x32,0x36,0x10,0x26,0x23,0x22,0x06, +0x15,0x14,0x16,0x71,0x03,0x4e,0x0c,0xcc,0xb7,0x6a,0xc8,0x62,0x64,0xd0,0x6a,0xa0, +0xf2,0x51,0x47,0xd1,0x8c,0xf1,0x01,0x11,0xfe,0xef,0xf1,0x8c,0xd3,0x42,0x4e,0xe8, +0x8f,0xe2,0xfe,0xf8,0xb9,0x02,0xa4,0x89,0x99,0xb9,0x0e,0x02,0x08,0x94,0xac,0xab, +0x95,0x93,0xac,0xac,0x02,0x00,0x5a,0xbe,0xc7,0x34,0x34,0xae,0x2a,0x2c,0x6e,0x6d, +0x6e,0x6d,0xfe,0xc7,0xfe,0xed,0xfe,0xec,0xfe,0xc8,0x6f,0x6c,0x6b,0x70,0x01,0x23, +0xc4,0x98,0xb3,0xae,0x9e,0xfe,0xb4,0xe7,0x01,0x92,0xe7,0xe8,0xc8,0xc7,0xe9,0x00, +0x00,0x01,0x00,0x71,0x02,0x2f,0x04,0x75,0x04,0x7b,0x00,0x0d,0x00,0x00,0x01,0x34, +0x26,0x23,0x22,0x06,0x15,0x23,0x10,0x00,0x33,0x32,0x00,0x11,0x03,0xb2,0xac,0x93, +0x94,0xac,0xc2,0x01,0x11,0xf1,0xf0,0x01,0x12,0x02,0x2f,0xc7,0xe9,0xe7,0xc9,0x01, +0x14,0x01,0x38,0xfe,0xc8,0xfe,0xec,0x00,0x00,0x01,0x00,0x71,0xff,0xe3,0x04,0x75, +0x02,0x2f,0x00,0x0d,0x00,0x00,0x01,0x14,0x16,0x33,0x32,0x36,0x35,0x33,0x10,0x00, +0x23,0x22,0x00,0x11,0x01,0x34,0xac,0x93,0x94,0xac,0xc2,0xfe,0xef,0xf1,0xf0,0xfe, +0xee,0x02,0x2f,0xc7,0xe9,0xe7,0xc9,0xfe,0xec,0xfe,0xc8,0x01,0x38,0x01,0x14,0x00, +0x00,0x01,0x00,0xae,0x00,0x4c,0x05,0x2b,0x03,0xf7,0x00,0x13,0x00,0x00,0x25,0x21, +0x35,0x21,0x32,0x36,0x35,0x34,0x26,0x23,0x21,0x35,0x21,0x15,0x23,0x1e,0x01,0x15, +0x14,0x06,0x03,0x54,0xfd,0x5a,0x02,0x9f,0x9f,0x9f,0xbe,0xa4,0xfd,0x85,0x04,0x60, +0xac,0x66,0x63,0xf0,0x4c,0xb8,0x7c,0x7c,0x96,0xac,0xb8,0xb8,0x42,0xb2,0x74,0xc2, +0xc8,0x00,0x00,0x03,0x00,0xae,0x00,0x4d,0x06,0xdb,0x03,0xf8,0x00,0x03,0x00,0x07, +0x00,0x1b,0x00,0x00,0x13,0x35,0x33,0x15,0x03,0x35,0x33,0x15,0x05,0x21,0x35,0x21, +0x32,0x36,0x35,0x34,0x26,0x23,0x21,0x35,0x21,0x15,0x23,0x1e,0x01,0x15,0x14,0x06, +0xae,0xca,0xca,0xca,0x03,0x8c,0xfd,0x5a,0x02,0x9f,0x9f,0x9f,0xbe,0xa4,0xfd,0x85, +0x04,0x60,0xac,0x66,0x63,0xf0,0x02,0x78,0xcc,0xcc,0xfe,0x7a,0xca,0xca,0xa4,0xb8, +0x7c,0x7c,0x94,0xae,0xb8,0xb8,0x44,0xb0,0x76,0xc0,0xc8,0x00,0x00,0x01,0x00,0x2f, +0xfe,0x18,0x04,0xaa,0x04,0x7b,0x00,0x22,0x00,0x00,0x01,0x1e,0x01,0x15,0x14,0x06, +0x23,0x21,0x35,0x21,0x32,0x36,0x35,0x34,0x26,0x23,0x21,0x35,0x21,0x32,0x36,0x35, +0x34,0x26,0x23,0x21,0x35,0x21,0x15,0x23,0x1e,0x01,0x15,0x14,0x06,0x03,0xb8,0x7c, +0x76,0xf5,0xe2,0xfd,0x5c,0x02,0x9e,0xa1,0x9c,0xbe,0xa4,0xfd,0x87,0x02,0x9e,0xa2, +0x9b,0xbf,0xa3,0xfd,0x87,0x04,0x60,0xae,0x67,0x62,0x7c,0x01,0x0c,0x45,0xc0,0x82, +0xaf,0xbe,0xb9,0x72,0x75,0x8f,0xa6,0xb9,0x72,0x77,0x8d,0xa6,0xb9,0xb9,0x3f,0xb0, +0x79,0x7a,0xab,0x00,0x00,0x02,0x00,0x4d,0x02,0x8b,0x02,0xa2,0x05,0x1f,0x00,0x0a, +0x00,0x25,0x00,0x00,0x01,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x3d,0x01,0x37, +0x11,0x23,0x35,0x0e,0x01,0x23,0x22,0x26,0x35,0x34,0x36,0x3b,0x01,0x35,0x34,0x26, +0x23,0x22,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x16,0x01,0xba,0x8c,0x6d,0x52,0x46, +0x60,0x75,0x73,0x73,0x28,0x77,0x55,0x6d,0x80,0xa0,0x9e,0xa3,0x6a,0x5f,0x3c,0x73, +0x35,0x40,0x77,0x39,0x99,0x97,0x03,0xd7,0x39,0x45,0x37,0x40,0x7a,0x64,0x17,0x2b, +0xfe,0x9a,0x5f,0x39,0x36,0x6c,0x5b,0x69,0x6c,0x0a,0x47,0x4e,0x1a,0x1a,0x60,0x15, +0x16,0x8d,0x00,0x02,0x00,0x4d,0x02,0x8b,0x02,0xa2,0x05,0x1f,0x00,0x0c,0x00,0x2c, +0x00,0x00,0x01,0x32,0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x07,0x06,0x1d,0x01,0x07, +0x11,0x33,0x15,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x2b,0x01, +0x15,0x14,0x17,0x16,0x33,0x32,0x36,0x37,0x15,0x06,0x07,0x06,0x23,0x22,0x26,0x01, +0x35,0x8c,0x6d,0x29,0x29,0x46,0x60,0x3a,0x3b,0x74,0x74,0x28,0x3b,0x3c,0x55,0x6d, +0x40,0x3f,0x50,0x4f,0x9e,0xa3,0x35,0x35,0x5f,0x3c,0x73,0x35,0x40,0x3c,0x3c,0x38, +0x99,0x98,0x03,0xd3,0x39,0x45,0x37,0x20,0x20,0x3d,0x3c,0x65,0x17,0x2b,0x01,0x66, +0x5f,0x39,0x1b,0x1b,0x36,0x36,0x5a,0x6a,0x36,0x36,0x0a,0x47,0x27,0x27,0x1a,0x1a, +0x60,0x15,0x0c,0x0a,0x8d,0x00,0x00,0x02,0x00,0x47,0x02,0x8b,0x02,0xbe,0x05,0x1f, +0x00,0x13,0x00,0x1f,0x00,0x00,0x01,0x35,0x33,0x11,0x23,0x35,0x06,0x07,0x06,0x23, +0x22,0x27,0x26,0x10,0x37,0x36,0x33,0x32,0x17,0x16,0x04,0x14,0x17,0x16,0x32,0x37, +0x36,0x34,0x27,0x26,0x22,0x07,0x02,0x4a,0x74,0x74,0x25,0x37,0x38,0x4e,0x80,0x51, +0x50,0x50,0x51,0x80,0x4e,0x38,0x37,0xfe,0x9a,0x34,0x35,0xb8,0x35,0x35,0x35,0x35, +0xb8,0x35,0x04,0xb0,0x5f,0xfd,0x8d,0x5e,0x38,0x1b,0x1b,0x5a,0x5b,0x01,0x28,0x5b, +0x5a,0x1b,0x1b,0xa1,0xe4,0x41,0x40,0x40,0x41,0xe4,0x41,0x40,0x40,0x00,0x00,0x03, +0x00,0x4d,0x02,0x8b,0x04,0xaf,0x05,0x1f,0x00,0x2c,0x00,0x33,0x00,0x3e,0x00,0x00, +0x01,0x0e,0x01,0x23,0x22,0x26,0x3d,0x01,0x21,0x2e,0x01,0x23,0x22,0x06,0x07,0x35, +0x3e,0x01,0x33,0x32,0x16,0x17,0x3e,0x01,0x33,0x32,0x16,0x15,0x14,0x06,0x2b,0x01, +0x15,0x14,0x16,0x33,0x32,0x36,0x37,0x15,0x0e,0x01,0x23,0x22,0x26,0x25,0x1e,0x01, +0x33,0x32,0x36,0x3f,0x01,0x32,0x36,0x35,0x34,0x26,0x23,0x22,0x06,0x1d,0x01,0x02, +0x8a,0x2f,0x86,0x53,0x8e,0xa7,0x02,0x15,0x07,0x81,0x73,0x41,0x7e,0x3f,0x3f,0x83, +0x42,0x6a,0x9c,0x30,0x2e,0x88,0x5b,0x77,0x84,0x9f,0x9f,0xa2,0x69,0x5f,0x3d,0x72, +0x35,0x3f,0x78,0x39,0x59,0x86,0xfe,0x16,0x01,0x68,0x56,0x60,0x75,0x09,0xe3,0x8d, +0x6c,0x51,0x46,0x61,0x74,0x02,0xf3,0x33,0x34,0xa3,0x8c,0x32,0x6b,0x70,0x1e,0x1d, +0x61,0x18,0x18,0x43,0x43,0x43,0x43,0x68,0x5e,0x6a,0x6c,0x0a,0x47,0x4e,0x1a,0x1a, +0x60,0x15,0x16,0x36,0xda,0x54,0x65,0x62,0x58,0x36,0x39,0x45,0x37,0x40,0x79,0x65, +0x17,0x00,0x00,0x02,0x00,0x75,0x02,0x8b,0x02,0xed,0x06,0x04,0x00,0x07,0x00,0x17, +0x00,0x00,0x00,0x34,0x26,0x22,0x06,0x14,0x16,0x32,0x01,0x3e,0x01,0x33,0x32,0x16, +0x10,0x06,0x23,0x22,0x26,0x27,0x15,0x23,0x11,0x33,0x02,0x74,0x69,0xb8,0x69,0x69, +0xb8,0xfe,0xdf,0x24,0x70,0x4d,0x81,0xa0,0xa0,0x81,0x4d,0x70,0x24,0x75,0x75,0x03, +0x63,0xe4,0x81,0x81,0xe4,0x81,0x01,0xce,0x38,0x36,0xb5,0xfe,0xd8,0xb5,0x36,0x38, +0x5e,0x03,0x67,0x00,0x00,0x02,0x00,0x47,0x02,0x8b,0x02,0xbe,0x06,0x04,0x00,0x0f, +0x00,0x17,0x00,0x00,0x01,0x11,0x33,0x11,0x23,0x35,0x0e,0x01,0x23,0x22,0x26,0x10, +0x36,0x33,0x32,0x16,0x04,0x14,0x16,0x32,0x36,0x34,0x26,0x22,0x02,0x4a,0x74,0x74, +0x25,0x6f,0x4e,0x80,0xa1,0xa1,0x80,0x4e,0x6f,0xfe,0x9a,0x69,0xb8,0x6a,0x6a,0xb8, +0x04,0xb0,0x01,0x53,0xfc,0x99,0x5e,0x38,0x36,0xb5,0x01,0x28,0xb5,0x36,0xa1,0xe4, +0x81,0x81,0xe4,0x81,0x00,0x02,0x00,0x47,0x02,0x8b,0x02,0xd6,0x05,0x1f,0x00,0x14, +0x00,0x1b,0x00,0x00,0x01,0x15,0x21,0x1e,0x01,0x33,0x32,0x36,0x37,0x15,0x0e,0x01, +0x23,0x22,0x26,0x35,0x34,0x36,0x33,0x32,0x16,0x07,0x2e,0x01,0x23,0x22,0x06,0x07, +0x02,0xd5,0xfd,0xeb,0x08,0x81,0x73,0x43,0x7d,0x3e,0x3e,0x83,0x44,0xa9,0xc5,0xbb, +0x9f,0x8e,0xa6,0x74,0x01,0x68,0x56,0x61,0x74,0x09,0x03,0xef,0x32,0x6a,0x70,0x1d, +0x1d,0x61,0x18,0x18,0xae,0x95,0x9a,0xb5,0xa3,0x6d,0x54,0x65,0x61,0x59,0x00,0x02, +0x00,0x47,0x02,0x8b,0x02,0xd6,0x05,0x1f,0x00,0x19,0x00,0x22,0x00,0x00,0x13,0x35, +0x21,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x17,0x16, +0x15,0x14,0x07,0x06,0x23,0x22,0x27,0x26,0x37,0x16,0x17,0x16,0x33,0x32,0x37,0x36, +0x37,0x47,0x02,0x15,0x07,0x41,0x41,0x73,0x43,0x3e,0x3f,0x3e,0x3f,0x83,0x43,0xa9, +0x62,0x63,0x5e,0x5d,0x9f,0x8e,0x53,0x53,0x74,0x01,0x35,0x33,0x56,0x61,0x3a,0x3b, +0x08,0x03,0xbb,0x32,0x6b,0x38,0x37,0x0f,0x0e,0x1d,0x61,0x18,0x18,0x57,0x57,0x95, +0x9a,0x5b,0x5a,0x51,0x52,0x6d,0x54,0x32,0x33,0x31,0x31,0x58,0x00,0x01,0x00,0x53, +0x02,0x8b,0x02,0x62,0x05,0x1f,0x00,0x31,0x00,0x00,0x13,0x26,0x27,0x26,0x35,0x34, +0x37,0x36,0x33,0x32,0x16,0x17,0x15,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x15,0x14, +0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x07,0x06,0x15,0x14,0x17,0x16,0x33,0x32,0x37, +0x36,0x37,0x15,0x06,0x07,0x06,0x23,0x22,0x26,0x35,0x34,0x36,0xf9,0x47,0x26,0x25, +0x48,0x47,0x7b,0x30,0x6b,0x3e,0x3d,0x33,0x33,0x2c,0x4b,0x2c,0x2c,0x2b,0x2a,0x49, +0x62,0x5d,0x57,0x2d,0x31,0x35,0x35,0x5f,0x3b,0x36,0x35,0x2d,0x39,0x35,0x35,0x33, +0x96,0xa2,0x57,0x03,0xee,0x0e,0x24,0x24,0x34,0x4f,0x2c,0x2c,0x0e,0x0d,0x5e,0x11, +0x07,0x07,0x19,0x1a,0x24,0x27,0x19,0x19,0x55,0x1d,0x1f,0x31,0x33,0x1f,0x20,0x0b, +0x0a,0x15,0x60,0x10,0x07,0x08,0x66,0x61,0x3c,0x52,0x00,0x01,0x00,0x51,0x02,0x8b, +0x02,0x60,0x05,0x1f,0x00,0x31,0x00,0x00,0x01,0x16,0x17,0x16,0x15,0x14,0x07,0x06, +0x23,0x22,0x26,0x27,0x35,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26, +0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x07,0x06,0x07, +0x35,0x36,0x37,0x36,0x33,0x32,0x16,0x15,0x14,0x06,0x01,0xbb,0x46,0x26,0x26,0x48, +0x47,0x7b,0x30,0x6b,0x3e,0x3d,0x32,0x33,0x2d,0x4b,0x2c,0x2c,0x2b,0x2a,0x49,0x62, +0x5d,0x56,0x2e,0x31,0x35,0x36,0x5f,0x3a,0x36,0x35,0x2d,0x39,0x35,0x35,0x32,0x96, +0xa3,0x57,0x03,0xbc,0x0d,0x24,0x24,0x34,0x4f,0x2d,0x2b,0x0d,0x0e,0x5d,0x10,0x07, +0x08,0x1a,0x1a,0x24,0x27,0x19,0x19,0x55,0x1c,0x20,0x31,0x32,0x20,0x1f,0x0a,0x0b, +0x14,0x60,0x0f,0x08,0x08,0x66,0x61,0x3c,0x52,0x00,0x00,0x02,0x00,0x47,0x01,0xad, +0x02,0xbe,0x05,0x1f,0x00,0x0b,0x00,0x28,0x00,0x00,0x01,0x34,0x26,0x23,0x22,0x06, +0x15,0x14,0x16,0x33,0x32,0x36,0x17,0x14,0x06,0x23,0x22,0x26,0x27,0x35,0x1e,0x01, +0x33,0x32,0x36,0x3d,0x01,0x0e,0x01,0x23,0x22,0x26,0x35,0x34,0x36,0x33,0x32,0x16, +0x17,0x35,0x33,0x02,0x4a,0x68,0x5e,0x5d,0x68,0x68,0x5d,0x5e,0x68,0x74,0xa0,0xa5, +0x3d,0x6d,0x33,0x33,0x64,0x33,0x72,0x72,0x24,0x70,0x4e,0x82,0x9f,0x9f,0x82,0x4e, +0x70,0x24,0x74,0x03,0xdd,0x70,0x7b,0x7b,0x70,0x70,0x7b,0x7b,0x83,0xa0,0x9d,0x11, +0x10,0x65,0x19,0x17,0x69,0x6b,0x33,0x37,0x37,0xb0,0x91,0x91,0xb0,0x37,0x37,0x5f, +0x00,0x02,0x00,0x79,0x01,0xa7,0x00,0xee,0x05,0x10,0x00,0x03,0x00,0x07,0x00,0x00, +0x13,0x33,0x11,0x23,0x15,0x35,0x33,0x15,0x7a,0x74,0x74,0x74,0x05,0x0f,0xfd,0x8d, +0xf4,0x82,0x82,0x00,0x00,0x01,0x00,0x75,0x02,0x9c,0x02,0xe8,0x06,0x04,0x00,0x0a, +0x00,0x00,0x13,0x33,0x11,0x01,0x33,0x09,0x01,0x23,0x01,0x11,0x23,0x75,0x75,0x01, +0x5a,0x94,0xfe,0x89,0x01,0x86,0x97,0xfe,0x9a,0x75,0x06,0x03,0xfd,0xfe,0x01,0x0e, +0xfe,0xdb,0xfe,0xb2,0x01,0x32,0xfe,0xce,0x00,0x01,0x00,0x75,0x02,0x9c,0x04,0x7c, +0x05,0x1f,0x00,0x22,0x00,0x00,0x01,0x3e,0x01,0x33,0x32,0x16,0x15,0x11,0x23,0x11, +0x34,0x26,0x23,0x22,0x06,0x15,0x11,0x23,0x11,0x34,0x26,0x23,0x22,0x06,0x15,0x11, +0x23,0x11,0x33,0x15,0x3e,0x01,0x33,0x32,0x16,0x02,0x9f,0x2b,0x79,0x52,0x6f,0x77, +0x74,0x48,0x4a,0x5a,0x69,0x74,0x48,0x4b,0x59,0x68,0x75,0x75,0x27,0x6f,0x4d,0x4c, +0x6c,0x04,0x97,0x45,0x42,0x89,0x7e,0xfe,0x85,0x01,0x77,0x5a,0x58,0x6b,0x5c,0xfe, +0x9e,0x01,0x77,0x5b,0x57,0x6b,0x5c,0xfe,0x9e,0x02,0x73,0x61,0x39,0x37,0x45,0x00, +0x00,0x01,0x00,0x75,0x01,0xad,0x02,0xc5,0x05,0x1f,0x00,0x1f,0x00,0x00,0x01,0x11, +0x14,0x07,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x35,0x11,0x34,0x26,0x23,0x22, +0x06,0x15,0x11,0x23,0x11,0x33,0x15,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x02,0xc4, +0x34,0x33,0x72,0xa0,0x93,0x42,0x18,0x18,0x4e,0x4e,0x5e,0x6c,0x75,0x75,0x29,0x38, +0x39,0x4a,0x79,0x3f,0x3e,0x04,0x17,0xfe,0x7a,0x78,0x36,0x36,0x58,0x1b,0x1b,0x56, +0x01,0x82,0x59,0x59,0x6b,0x5c,0xfe,0x9e,0x02,0x73,0x61,0x38,0x1c,0x1c,0x42,0x44, +0x00,0x02,0x00,0x47,0x02,0x8b,0x02,0xcf,0x05,0x1f,0x00,0x0a,0x00,0x16,0x00,0x00, +0x01,0x22,0x06,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x27,0x32,0x16,0x15,0x14, +0x06,0x23,0x22,0x26,0x35,0x34,0x36,0x01,0x8b,0x5d,0x6d,0x6c,0x5e,0x5d,0x6c,0x6c, +0x5d,0x97,0xad,0xad,0x97,0x98,0xac,0xac,0x04,0xc7,0x81,0xe2,0x81,0x82,0x70,0x6f, +0x83,0x57,0xae,0x9b,0x9a,0xaf,0xaf,0x9a,0x9b,0xae,0x00,0x01,0x00,0x47,0x02,0x8b, +0x02,0x76,0x05,0x1f,0x00,0x1f,0x00,0x00,0x13,0x36,0x37,0x36,0x33,0x32,0x17,0x16, +0x15,0x14,0x06,0x23,0x22,0x27,0x26,0x27,0x35,0x16,0x17,0x16,0x33,0x32,0x37,0x36, +0x34,0x27,0x26,0x23,0x22,0x07,0x06,0x07,0x47,0x30,0x33,0x33,0x36,0xa5,0x5e,0x5f, +0xbb,0xa0,0x3a,0x35,0x33,0x31,0x31,0x32,0x31,0x33,0x70,0x3f,0x3e,0x3e,0x3f,0x70, +0x33,0x31,0x32,0x31,0x04,0xf7,0x14,0x0a,0x09,0x58,0x58,0x99,0x97,0xb2,0x0a,0x0a, +0x14,0x5f,0x18,0x0c,0x0c,0x3f,0x40,0xe6,0x40,0x3f,0x0c,0x0c,0x18,0x00,0x00,0x01, +0x00,0x47,0x03,0xd5,0x02,0xcf,0x05,0x1f,0x00,0x0d,0x00,0x00,0x01,0x34,0x26,0x23, +0x22,0x06,0x15,0x23,0x34,0x36,0x33,0x32,0x16,0x15,0x02,0x54,0x6c,0x5d,0x5d,0x6d, +0x7a,0xac,0x98,0x97,0xad,0x03,0xd5,0x6f,0x83,0x81,0x71,0x9b,0xae,0xae,0x9b,0x00, +0x00,0x01,0x00,0x47,0x02,0x8b,0x02,0xcf,0x03,0xd6,0x00,0x0d,0x00,0x00,0x13,0x14, +0x16,0x33,0x32,0x36,0x35,0x33,0x14,0x06,0x23,0x22,0x26,0x35,0xc2,0x6c,0x5d,0x5d, +0x6d,0x7a,0xac,0x98,0x97,0xad,0x03,0xd5,0x6f,0x83,0x81,0x71,0x9b,0xae,0xae,0x9b, +0x00,0x02,0x00,0x75,0x01,0xad,0x02,0xed,0x05,0x1f,0x00,0x0f,0x00,0x17,0x00,0x00, +0x13,0x11,0x23,0x11,0x33,0x15,0x3e,0x01,0x33,0x32,0x16,0x10,0x06,0x23,0x22,0x26, +0x24,0x34,0x26,0x22,0x06,0x14,0x16,0x32,0xea,0x75,0x75,0x24,0x70,0x4d,0x81,0xa0, +0xa0,0x81,0x4d,0x70,0x01,0x66,0x69,0xb8,0x69,0x69,0xb8,0x02,0xfa,0xfe,0xb3,0x03, +0x62,0x5f,0x38,0x36,0xb5,0xfe,0xd8,0xb5,0x36,0xa1,0xe4,0x81,0x81,0xe4,0x81,0x00, +0x00,0x01,0x00,0x22,0x02,0x9c,0x01,0xdc,0x05,0xc2,0x00,0x13,0x00,0x00,0x13,0x15, +0x33,0x15,0x23,0x11,0x14,0x16,0x3b,0x01,0x15,0x23,0x22,0x26,0x35,0x11,0x23,0x35, +0x33,0x35,0xec,0xef,0xef,0x30,0x48,0x77,0x77,0x86,0x66,0x55,0x55,0x05,0xc1,0xb2, +0x50,0xfe,0xac,0x4d,0x2c,0x56,0x59,0x76,0x01,0x54,0x50,0xb2,0x00,0x01,0x00,0x6d, +0x02,0x8b,0x02,0xbd,0x05,0x10,0x00,0x13,0x00,0x00,0x13,0x11,0x33,0x11,0x14,0x16, +0x33,0x32,0x36,0x35,0x11,0x33,0x11,0x23,0x35,0x0e,0x01,0x23,0x22,0x26,0x6e,0x74, +0x4e,0x4e,0x5e,0x6d,0x74,0x74,0x2b,0x6f,0x4a,0x79,0x7e,0x03,0x94,0x01,0x7b,0xfe, +0x88,0x59,0x59,0x6b,0x5c,0x01,0x63,0xfd,0x8d,0x60,0x39,0x37,0x86,0x00,0x00,0x01, +0x00,0x6d,0x02,0xc6,0x03,0x42,0x04,0xd5,0x00,0x13,0x00,0x00,0x01,0x21,0x35,0x21, +0x32,0x36,0x35,0x34,0x26,0x23,0x21,0x35,0x21,0x15,0x23,0x1e,0x01,0x15,0x14,0x06, +0x02,0x19,0xfe,0x55,0x01,0xa6,0x65,0x64,0x78,0x67,0xfe,0x70,0x02,0xc1,0x6c,0x40, +0x3e,0x97,0x02,0xc7,0x67,0x45,0x46,0x53,0x61,0x67,0x67,0x25,0x64,0x41,0x6c,0x70, +0x00,0x01,0x00,0x75,0x02,0x8d,0x04,0x7c,0x05,0x11,0x00,0x26,0x00,0x00,0x01,0x06, +0x07,0x06,0x23,0x22,0x26,0x35,0x11,0x33,0x11,0x14,0x16,0x33,0x32,0x37,0x36,0x35, +0x11,0x33,0x11,0x14,0x16,0x33,0x32,0x36,0x35,0x11,0x33,0x11,0x23,0x35,0x06,0x07, +0x06,0x23,0x22,0x27,0x26,0x02,0x51,0x2b,0x3c,0x3d,0x52,0x6e,0x78,0x75,0x48,0x49, +0x5a,0x35,0x34,0x74,0x48,0x4b,0x59,0x69,0x74,0x74,0x28,0x37,0x38,0x4c,0x4d,0x36, +0x36,0x03,0x15,0x45,0x21,0x22,0x8a,0x7f,0x01,0x7a,0xfe,0x89,0x5b,0x57,0x36,0x34, +0x5c,0x01,0x63,0xfe,0x89,0x5b,0x57,0x6c,0x5a,0x01,0x63,0xfd,0x8d,0x62,0x3b,0x1b, +0x1c,0x23,0x23,0x00,0x00,0x01,0x00,0x26,0x02,0x9c,0x02,0xd6,0x05,0x10,0x00,0x06, +0x00,0x00,0x13,0x33,0x1b,0x01,0x33,0x01,0x23,0x26,0x7b,0xdd,0xdc,0x7b,0xfe,0xf8, +0x9e,0x05,0x0f,0xfd,0xf2,0x02,0x0e,0xfd,0x8d,0x00,0x00,0x02,0x00,0xba,0xfe,0x56, +0x04,0xa3,0x04,0x7b,0x00,0x1c,0x00,0x28,0x00,0x00,0x13,0x10,0x12,0x21,0x32,0x16, +0x17,0x15,0x2e,0x01,0x23,0x22,0x06,0x1d,0x01,0x3e,0x01,0x33,0x32,0x12,0x11,0x10, +0x02,0x23,0x22,0x26,0x27,0x15,0x23,0x13,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26, +0x23,0x22,0x06,0xba,0xfe,0x01,0x06,0x61,0xac,0x51,0x51,0x9e,0x52,0xb5,0xb4,0x39, +0xb2,0x7c,0xce,0xfc,0xfc,0xce,0x7c,0xb2,0x39,0xb8,0xb8,0xa5,0x95,0x94,0xa5,0xa5, +0x94,0x95,0xa5,0x02,0x46,0x01,0x1e,0x01,0x17,0x1d,0x1e,0xb3,0x2c,0x2a,0xbd,0xbf, +0x5b,0x63,0x62,0xfe,0xc6,0xfe,0xfd,0xfe,0xfc,0xfe,0xc6,0x62,0x63,0xaa,0x02,0x23, +0xc8,0xdc,0xdc,0xc8,0xc7,0xdc,0xdc,0x00,0x00,0x01,0x00,0x74,0x00,0x00,0x02,0x85, +0x04,0x60,0x00,0x13,0x00,0x00,0x13,0x35,0x21,0x15,0x23,0x11,0x33,0x15,0x23,0x11, +0x33,0x15,0x21,0x35,0x33,0x11,0x23,0x35,0x33,0x11,0x74,0x02,0x10,0xa8,0xa8,0xa8, +0xa8,0xfd,0xf0,0xb0,0xb0,0xb0,0x03,0xbc,0xa4,0xa4,0xfe,0xac,0xa4,0xfe,0xe0,0xa4, +0xa4,0x01,0x20,0xa4,0x01,0x54,0x00,0x01,0x00,0x91,0xfe,0x56,0x02,0x2f,0x06,0x14, +0x00,0x10,0x00,0x00,0x25,0x15,0x14,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x27, +0x37,0x23,0x11,0x33,0x11,0x02,0x2f,0xa4,0xb4,0x46,0x30,0x6a,0x26,0x2a,0x04,0x02, +0xb8,0xb8,0x9a,0xae,0xd6,0xc0,0x9c,0x30,0x36,0x94,0x14,0x06,0x14,0xfa,0x86,0x00, +0x00,0x02,0x00,0x47,0x02,0x8b,0x02,0xbe,0x05,0x1f,0x00,0x13,0x00,0x1f,0x00,0x00, +0x13,0x15,0x23,0x11,0x33,0x15,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x10,0x07,0x06, +0x23,0x22,0x27,0x26,0x24,0x34,0x27,0x26,0x22,0x07,0x06,0x14,0x17,0x16,0x32,0x37, +0xbb,0x74,0x74,0x25,0x38,0x37,0x4e,0x80,0x50,0x51,0x51,0x50,0x80,0x4e,0x37,0x38, +0x01,0x66,0x35,0x34,0xb8,0x35,0x35,0x35,0x35,0xb8,0x34,0x02,0xfa,0x5f,0x02,0x73, +0x5e,0x38,0x1b,0x1b,0x5a,0x5b,0xfe,0xd8,0x5b,0x5a,0x1b,0x1b,0xa1,0xe4,0x41,0x40, +0x40,0x41,0xe4,0x41,0x40,0x40,0x00,0x01,0x00,0x47,0x02,0x8b,0x02,0x76,0x05,0x1f, +0x00,0x18,0x00,0x00,0x01,0x15,0x2e,0x01,0x23,0x22,0x06,0x14,0x16,0x33,0x32,0x36, +0x37,0x15,0x0e,0x01,0x23,0x22,0x26,0x35,0x34,0x36,0x33,0x32,0x16,0x02,0x75,0x31, +0x63,0x32,0x71,0x7d,0x7d,0x71,0x32,0x63,0x31,0x30,0x68,0x3b,0x9f,0xbc,0xbe,0xa5, +0x35,0x66,0x04,0xf7,0x60,0x18,0x18,0x7f,0xe6,0x7f,0x18,0x18,0x5f,0x14,0x14,0xb2, +0x97,0x99,0xb0,0x13,0x00,0x02,0x00,0x47,0x02,0x4b,0x02,0x76,0x05,0x1f,0x00,0x07, +0x00,0x2c,0x00,0x00,0x01,0x16,0x33,0x32,0x35,0x26,0x23,0x22,0x07,0x06,0x15,0x07, +0x34,0x37,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x15,0x26, +0x27,0x26,0x23,0x22,0x07,0x06,0x14,0x17,0x16,0x17,0x36,0x33,0x32,0x17,0x16,0x23, +0x22,0x01,0x5a,0x25,0x30,0x5c,0x01,0x52,0x40,0x35,0x04,0x60,0x08,0x24,0x1e,0x5e, +0x5f,0x5f,0xa5,0x34,0x34,0x31,0x32,0x2f,0x34,0x31,0x32,0x71,0x3e,0x3f,0x3f,0x02, +0x06,0x35,0x7b,0xbc,0x01,0x01,0xd2,0x33,0x02,0xee,0x0b,0x20,0x2a,0x9a,0x20,0x26, +0x02,0x3b,0x2f,0x13,0x1d,0x5a,0x96,0x99,0x58,0x58,0x09,0x0a,0x14,0x60,0x17,0x0d, +0x0c,0x3f,0x40,0xe6,0x40,0x02,0x05,0x62,0x8a,0x69,0x00,0x02,0x00,0x47,0x02,0x8b, +0x02,0xcf,0x06,0x04,0x00,0x0e,0x00,0x28,0x00,0x00,0x01,0x2e,0x01,0x23,0x22,0x06, +0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x37,0x1e,0x01,0x15,0x14,0x06,0x23, +0x22,0x26,0x35,0x34,0x36,0x33,0x32,0x16,0x17,0x27,0x07,0x27,0x37,0x27,0x33,0x17, +0x37,0x17,0x07,0x02,0x10,0x20,0x37,0x1a,0x69,0x75,0x6e,0x5c,0x5b,0x6e,0x22,0x06, +0x4f,0x48,0xb3,0x91,0x92,0xb2,0xae,0x8b,0x0c,0x20,0x1b,0x64,0xc9,0x15,0xb1,0x72, +0x90,0x50,0xd1,0x15,0xba,0x04,0x9c,0x0a,0x09,0x79,0x6d,0x6a,0x7c,0x7c,0x6a,0x44, +0x69,0xa5,0x50,0xa1,0x61,0x8f,0xae,0xae,0x8f,0x8c,0xae,0x03,0x03,0x65,0x3c,0x38, +0x33,0x72,0x51,0x3e,0x36,0x37,0x00,0x01,0x00,0x53,0x02,0x8b,0x02,0x62,0x05,0x1f, +0x00,0x31,0x00,0x00,0x01,0x1e,0x01,0x15,0x14,0x06,0x23,0x22,0x27,0x26,0x27,0x35, +0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x2b,0x01,0x35,0x33,0x32, +0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x07,0x06,0x07,0x35,0x3e,0x01,0x33,0x32, +0x17,0x16,0x15,0x14,0x07,0x06,0x01,0xbd,0x4e,0x57,0xa3,0x96,0x32,0x36,0x35,0x38, +0x2d,0x35,0x36,0x3a,0x5f,0x36,0x35,0x31,0x2e,0x56,0x5d,0x61,0x49,0x2b,0x2b,0x2d, +0x2b,0x4b,0x2d,0x33,0x32,0x3d,0x3d,0x6c,0x2f,0x7c,0x47,0x48,0x26,0x26,0x03,0xee, +0x0d,0x52,0x3c,0x61,0x66,0x08,0x07,0x10,0x60,0x15,0x0a,0x0b,0x20,0x1f,0x33,0x31, +0x1f,0x1d,0x55,0x19,0x19,0x27,0x24,0x1a,0x19,0x07,0x07,0x11,0x5e,0x0d,0x0e,0x2c, +0x2c,0x4f,0x34,0x24,0x24,0x00,0x00,0x01,0x00,0x1d,0x02,0x9c,0x01,0xdf,0x06,0x04, +0x00,0x13,0x00,0x00,0x01,0x15,0x23,0x22,0x06,0x1d,0x01,0x33,0x15,0x23,0x11,0x23, +0x11,0x23,0x35,0x33,0x35,0x34,0x36,0x33,0x01,0xdf,0x6f,0x3e,0x31,0xbf,0xbf,0x75, +0x6e,0x6e,0x6e,0x77,0x06,0x03,0x55,0x2d,0x3a,0x38,0x50,0xfd,0xdd,0x02,0x23,0x50, +0x2c,0x69,0x5f,0x00,0x00,0x01,0xff,0xe8,0x01,0xad,0x01,0x5d,0x05,0x10,0x00,0x17, +0x00,0x00,0x13,0x23,0x35,0x33,0x11,0x33,0x03,0x33,0x15,0x23,0x33,0x15,0x14,0x07, +0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x3d,0x01,0x7a,0x72,0x72,0x74,0x01,0x6f, +0x6f,0x01,0x34,0x33,0x72,0x2c,0x1f,0x42,0x18,0x18,0x02,0x9c,0x50,0x02,0x23,0xfd, +0xdd,0x50,0x0b,0x78,0x36,0x36,0x58,0x1b,0x1c,0x55,0x0b,0x00,0x00,0x02,0x00,0x47, +0x01,0xad,0x02,0xbe,0x05,0x10,0x00,0x0d,0x00,0x29,0x00,0x00,0x01,0x35,0x23,0x22, +0x07,0x06,0x15,0x14,0x17,0x16,0x33,0x32,0x37,0x36,0x13,0x11,0x14,0x07,0x06,0x23, +0x22,0x27,0x26,0x27,0x35,0x1e,0x01,0x33,0x32,0x37,0x36,0x3d,0x01,0x0e,0x01,0x23, +0x22,0x26,0x35,0x34,0x36,0x33,0x02,0x4a,0xc6,0x5d,0x34,0x34,0x34,0x34,0x5d,0x5e, +0x34,0x34,0x74,0x50,0x50,0xa5,0x3d,0x37,0x36,0x33,0x33,0x64,0x33,0x72,0x39,0x39, +0x24,0x70,0x4e,0x82,0x9f,0x9f,0x82,0x03,0xdd,0xeb,0x3e,0x3d,0x70,0x70,0x3d,0x3e, +0x3e,0x3d,0x01,0xa2,0xfd,0xdb,0xa0,0x4e,0x4f,0x08,0x09,0x10,0x65,0x19,0x17,0x34, +0x35,0x6b,0x33,0x37,0x37,0xb0,0x91,0x82,0xb0,0x00,0x00,0x01,0x00,0x6d,0x01,0xad, +0x02,0xbd,0x05,0x10,0x00,0x16,0x00,0x00,0x13,0x11,0x33,0x11,0x14,0x17,0x16,0x33, +0x32,0x37,0x36,0x35,0x11,0x33,0x11,0x23,0x11,0x06,0x07,0x06,0x23,0x22,0x26,0x6e, +0x74,0x27,0x27,0x4e,0x5e,0x36,0x37,0x74,0x74,0x2b,0x38,0x37,0x4a,0x79,0x7e,0x03, +0x94,0x01,0x7b,0xfe,0x88,0x59,0x2c,0x2d,0x36,0x35,0x5c,0x01,0x63,0xfc,0x9e,0x01, +0x4f,0x39,0x1c,0x1b,0x86,0x00,0x00,0x02,0x00,0x49,0x02,0x9c,0x01,0x97,0x06,0x04, +0x00,0x0b,0x00,0x0f,0x00,0x00,0x13,0x35,0x33,0x11,0x33,0x11,0x33,0x15,0x23,0x15, +0x23,0x35,0x11,0x33,0x15,0x23,0x49,0x72,0x74,0x67,0x67,0x74,0x74,0x74,0x03,0x99, +0x5c,0x01,0x1a,0xfe,0xe6,0x5c,0xfd,0xfd,0x02,0x6a,0x82,0x00,0x00,0x01,0x00,0x79, +0x02,0x9c,0x01,0x7f,0x05,0x10,0x00,0x0d,0x00,0x00,0x13,0x11,0x14,0x17,0x16,0x3b, +0x01,0x15,0x23,0x22,0x27,0x26,0x35,0x11,0xee,0x17,0x18,0x43,0x1e,0x2c,0x72,0x33, +0x33,0x05,0x0f,0xfe,0x70,0x55,0x1c,0x1b,0x57,0x36,0x36,0x77,0x01,0x90,0x00,0x01, +0x00,0x49,0x02,0x9c,0x01,0x96,0x05,0x10,0x00,0x0b,0x00,0x00,0x13,0x35,0x21,0x15, +0x23,0x11,0x33,0x15,0x21,0x35,0x33,0x11,0x49,0x01,0x4d,0x6a,0x6a,0xfe,0xb3,0x6f, +0x04,0xb3,0x5c,0x5c,0xfe,0x45,0x5c,0x5c,0x01,0xbb,0x00,0x02,0x00,0x49,0x02,0x9c, +0x01,0x97,0x05,0x10,0x00,0x03,0x00,0x0f,0x00,0x00,0x01,0x15,0x21,0x3d,0x02,0x21, +0x15,0x23,0x11,0x33,0x15,0x21,0x35,0x33,0x11,0x01,0x96,0xfe,0xb3,0x01,0x4d,0x6a, +0x6a,0xfe,0xb3,0x6f,0x03,0xf5,0x5c,0x5c,0xbe,0x5c,0x5c,0xfe,0x45,0x5c,0x5c,0x01, +0xbb,0x00,0x00,0x03,0xff,0x55,0x01,0xad,0x01,0x60,0x06,0x04,0x00,0x03,0x00,0x12, +0x00,0x1b,0x00,0x00,0x13,0x33,0x15,0x23,0x03,0x22,0x35,0x34,0x3b,0x01,0x11,0x33, +0x11,0x33,0x15,0x23,0x06,0x07,0x06,0x27,0x23,0x22,0x17,0x16,0x33,0x32,0x37,0x36, +0x7a,0x74,0x74,0x65,0xbf,0xaa,0x7a,0x74,0x72,0x79,0x0b,0x22,0x33,0x14,0x72,0x4b, +0x02,0x02,0x4e,0x42,0x18,0x0b,0x06,0x03,0x82,0xfc,0x2c,0x7c,0x73,0x02,0x73,0xfd, +0x8d,0x57,0x3f,0x23,0x35,0x98,0x1d,0x24,0x1b,0x0d,0x00,0x01,0x00,0x79,0x01,0xad, +0x01,0x7f,0x06,0x04,0x00,0x0f,0x00,0x00,0x13,0x11,0x33,0x11,0x15,0x14,0x17,0x16, +0x3b,0x01,0x15,0x23,0x22,0x27,0x26,0x35,0x7a,0x74,0x17,0x18,0x43,0x1e,0x2c,0x72, +0x33,0x33,0x02,0xe4,0x03,0x1f,0xfc,0xe1,0x53,0x56,0x1b,0x1b,0x58,0x36,0x36,0x78, +0x00,0x01,0x00,0x5b,0x01,0xad,0x01,0x61,0x06,0x04,0x00,0x10,0x00,0x00,0x01,0x15, +0x14,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x27,0x37,0x23,0x11,0x33,0x11,0x01, +0x60,0x67,0x72,0x2c,0x1f,0x42,0x18,0x1b,0x03,0x02,0x74,0x74,0x02,0xf2,0x61,0x78, +0x6c,0x58,0x1b,0x1e,0x53,0x0b,0x03,0x67,0xfc,0xef,0x00,0x01,0x00,0x70,0x02,0x9c, +0x02,0x83,0x05,0x1f,0x00,0x05,0x00,0x00,0x13,0x33,0x11,0x21,0x15,0x21,0x71,0x7f, +0x01,0x93,0xfd,0xee,0x05,0x1e,0xfd,0xdd,0x5f,0x00,0x00,0x01,0x00,0x75,0x01,0xad, +0x04,0x7c,0x05,0x1f,0x00,0x33,0x00,0x00,0x01,0x3e,0x01,0x33,0x32,0x17,0x16,0x15, +0x11,0x14,0x07,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x35,0x26,0x37,0x34,0x35, +0x34,0x26,0x23,0x22,0x06,0x15,0x11,0x23,0x11,0x34,0x27,0x26,0x23,0x22,0x07,0x06, +0x15,0x11,0x23,0x11,0x33,0x15,0x3e,0x01,0x33,0x32,0x17,0x16,0x02,0x9f,0x2b,0x79, +0x52,0x6f,0x3b,0x3c,0x33,0x33,0x72,0xa1,0x93,0x42,0x18,0x18,0x01,0x01,0x48,0x4a, +0x5a,0x69,0x74,0x24,0x24,0x4b,0x59,0x34,0x34,0x75,0x75,0x27,0x6f,0x4d,0x4c,0x36, +0x36,0x04,0x97,0x45,0x42,0x45,0x44,0x7e,0xfe,0x7a,0x78,0x36,0x36,0x58,0x1b,0x1b, +0x56,0x30,0xe8,0x3d,0x2d,0x5a,0x58,0x6b,0x5c,0xfe,0x9e,0x01,0x77,0x5b,0x2c,0x2b, +0x35,0x36,0x5c,0xfe,0x9e,0x02,0x73,0x61,0x39,0x37,0x22,0x23,0x00,0x01,0x00,0x75, +0x01,0xad,0x04,0x7c,0x05,0x10,0x00,0x26,0x00,0x00,0x01,0x0e,0x01,0x23,0x22,0x27, +0x26,0x35,0x11,0x33,0x11,0x14,0x16,0x33,0x32,0x36,0x35,0x11,0x33,0x11,0x14,0x17, +0x16,0x33,0x32,0x37,0x36,0x35,0x11,0x33,0x11,0x23,0x11,0x0e,0x01,0x23,0x22,0x27, +0x26,0x02,0x51,0x2b,0x79,0x52,0x6e,0x3c,0x3c,0x75,0x48,0x49,0x5a,0x69,0x74,0x24, +0x24,0x4b,0x59,0x34,0x35,0x74,0x74,0x28,0x6f,0x4c,0x4d,0x36,0x36,0x03,0x15,0x45, +0x43,0x45,0x45,0x7e,0x01,0x7b,0xfe,0x89,0x5b,0x57,0x6a,0x5c,0x01,0x63,0xfe,0x89, +0x5b,0x2b,0x2c,0x36,0x35,0x5b,0x01,0x63,0xfc,0x9d,0x01,0x51,0x3a,0x37,0x23,0x23, +0x00,0x01,0xff,0xe8,0x01,0xad,0x02,0xc9,0x05,0x1f,0x00,0x1f,0x00,0x00,0x13,0x14, +0x07,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x35,0x11,0x33,0x15,0x36,0x37,0x36, +0x33,0x32,0x17,0x16,0x15,0x11,0x23,0x11,0x34,0x26,0x23,0x22,0x06,0x15,0xee,0x34, +0x33,0x72,0x2c,0x1f,0x42,0x18,0x18,0x74,0x2a,0x38,0x38,0x4a,0x7a,0x3e,0x3f,0x74, +0x4f,0x4e,0x5e,0x6c,0x02,0x91,0x78,0x36,0x36,0x58,0x1b,0x1b,0x56,0x02,0x7e,0x61, +0x38,0x1c,0x1c,0x42,0x44,0x81,0xfe,0x85,0x01,0x77,0x59,0x59,0x6b,0x5c,0x00,0x01, +0x00,0x75,0x01,0xad,0x03,0x56,0x05,0x1f,0x00,0x1f,0x00,0x00,0x01,0x34,0x26,0x23, +0x22,0x06,0x15,0x11,0x23,0x11,0x33,0x15,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x15, +0x11,0x14,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x26,0x35,0x02,0x50,0x4e,0x4e, +0x5e,0x6c,0x75,0x75,0x29,0x38,0x39,0x4a,0x79,0x3f,0x3e,0x18,0x18,0x42,0x1f,0x2c, +0x72,0x33,0x34,0x04,0x13,0x59,0x59,0x6b,0x5c,0xfe,0x9e,0x02,0x73,0x61,0x38,0x1c, +0x1c,0x42,0x44,0x81,0xfe,0x7a,0x56,0x1b,0x1b,0x58,0x36,0x36,0x78,0x00,0x00,0x01, +0x00,0x70,0x02,0x9c,0x02,0xc5,0x05,0x1f,0x00,0x09,0x00,0x00,0x13,0x33,0x01,0x11, +0x33,0x11,0x23,0x01,0x11,0x23,0x71,0xab,0x01,0x2d,0x7b,0xab,0xfe,0xd3,0x7b,0x05, +0x1e,0xfe,0x07,0x01,0xf9,0xfd,0x7e,0x01,0xfa,0xfe,0x06,0x00,0x00,0x03,0x00,0x47, +0x02,0x8b,0x02,0xcf,0x05,0x1f,0x00,0x0e,0x00,0x17,0x00,0x20,0x00,0x00,0x01,0x32, +0x16,0x15,0x14,0x07,0x06,0x23,0x22,0x27,0x26,0x35,0x34,0x37,0x36,0x17,0x22,0x07, +0x06,0x07,0x21,0x26,0x27,0x26,0x13,0x21,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x01, +0x8b,0x97,0xad,0x56,0x57,0x97,0x98,0x55,0x57,0x57,0x55,0x98,0x5d,0x36,0x2f,0x07, +0x01,0x91,0x06,0x2f,0x36,0x67,0xfe,0x77,0x0b,0x26,0x36,0x5e,0x5d,0x36,0x26,0x05, +0x1e,0xae,0x9b,0x9a,0x57,0x58,0x58,0x57,0x9a,0x9b,0x57,0x57,0x57,0x40,0x39,0x5c, +0x5b,0x38,0x42,0xfe,0xcf,0x45,0x2d,0x41,0x41,0x2e,0x00,0x03,0x00,0x47,0x01,0xae, +0x02,0xcf,0x06,0x03,0x00,0x1d,0x00,0x26,0x00,0x2e,0x00,0x00,0x01,0x23,0x35,0x21, +0x15,0x23,0x15,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x15,0x33,0x15,0x21,0x35, +0x33,0x35,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x17,0x11,0x36,0x37,0x36,0x35, +0x34,0x27,0x26,0x03,0x11,0x06,0x07,0x06,0x14,0x17,0x16,0x01,0x4f,0x97,0x01,0xa2, +0x97,0x70,0x46,0x56,0x56,0x46,0x70,0x97,0xfe,0x5e,0x97,0x6e,0x43,0x57,0x57,0x43, +0x6e,0x74,0x36,0x25,0x36,0x36,0x25,0xaa,0x34,0x23,0x37,0x36,0x24,0x05,0xa7,0x5c, +0x5c,0x8c,0x0e,0x46,0x57,0x9b,0x9a,0x57,0x47,0x0e,0x85,0x5c,0x5c,0x86,0x0e,0x46, +0x57,0x9a,0x9b,0x57,0x45,0x0f,0x5b,0xfe,0x2a,0x0e,0x2c,0x41,0x70,0x6f,0x41,0x2d, +0xfe,0x39,0x01,0xd4,0x0e,0x2a,0x41,0xe2,0x40,0x2b,0x00,0x01,0x00,0x45,0x01,0xad, +0x02,0x62,0x05,0x1f,0x00,0x3c,0x00,0x00,0x01,0x15,0x2e,0x01,0x23,0x22,0x07,0x06, +0x15,0x14,0x17,0x16,0x1f,0x01,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x23,0x22,0x2f, +0x01,0x15,0x14,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x26,0x3d,0x02,0x16,0x17, +0x16,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x2f,0x01,0x26,0x27,0x26,0x35,0x34, +0x36,0x33,0x32,0x16,0x02,0x3b,0x31,0x6a,0x38,0x57,0x2a,0x2c,0x1f,0x1f,0x5d,0x28, +0x7b,0x34,0x34,0x4d,0x4e,0x88,0x39,0x3e,0x0d,0x18,0x18,0x42,0x93,0xa0,0x72,0x33, +0x34,0x40,0x3f,0x3e,0x3d,0x52,0x2c,0x2c,0x1f,0x20,0x6c,0x29,0x6b,0x30,0x30,0x8d, +0x82,0x40,0x72,0x04,0xfd,0x62,0x17,0x16,0x17,0x18,0x2f,0x24,0x15,0x14,0x12,0x08, +0x18,0x2b,0x2a,0x4d,0x57,0x33,0x33,0x09,0x03,0x07,0x56,0x1b,0x1b,0x58,0x36,0x36, +0x78,0x22,0x6a,0x1d,0x0f,0x0f,0x19,0x19,0x2d,0x2a,0x17,0x16,0x15,0x08,0x14,0x2a, +0x2a,0x49,0x58,0x60,0x10,0x00,0x00,0x01,0xff,0xe8,0x01,0xad,0x01,0xcb,0x06,0x04, +0x00,0x18,0x00,0x00,0x13,0x02,0x03,0x34,0x37,0x36,0x3b,0x01,0x15,0x23,0x22,0x07, +0x06,0x15,0x13,0x14,0x07,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x7a,0x01,0x01, +0x37,0x33,0x7a,0x6e,0x6f,0x3e,0x18,0x19,0x02,0x34,0x33,0x72,0x2c,0x1f,0x42,0x18, +0x18,0x02,0x91,0x01,0x5d,0x01,0x4d,0x65,0x33,0x30,0x55,0x17,0x16,0x3a,0xfd,0x4a, +0x78,0x36,0x36,0x58,0x1b,0x1b,0x00,0x01,0x00,0x22,0x01,0xad,0x01,0xdc,0x05,0xc2, +0x00,0x1d,0x00,0x00,0x13,0x15,0x33,0x15,0x23,0x11,0x14,0x16,0x3b,0x01,0x15,0x14, +0x06,0x2b,0x01,0x35,0x33,0x32,0x36,0x3d,0x01,0x23,0x22,0x26,0x35,0x11,0x23,0x35, +0x33,0x35,0xec,0xef,0xef,0x30,0x48,0x77,0x67,0x72,0x2c,0x1f,0x42,0x30,0x03,0x86, +0x66,0x55,0x55,0x05,0xc1,0xb2,0x50,0xfe,0xac,0x4d,0x2c,0x61,0x78,0x6c,0x58,0x36, +0x56,0x0b,0x59,0x76,0x01,0x54,0x50,0xb2,0x00,0x02,0x00,0x5e,0x02,0x8b,0x03,0x90, +0x05,0x10,0x00,0x17,0x00,0x21,0x00,0x00,0x13,0x35,0x33,0x11,0x33,0x11,0x21,0x11, +0x33,0x11,0x33,0x15,0x23,0x15,0x23,0x35,0x06,0x07,0x06,0x23,0x22,0x26,0x3d,0x01, +0x29,0x01,0x15,0x14,0x17,0x16,0x33,0x32,0x37,0x36,0x5e,0x6e,0x74,0x01,0x67,0x74, +0x75,0x75,0x74,0x2b,0x38,0x37,0x4a,0x79,0x7e,0x01,0xda,0xfe,0x9a,0x27,0x27,0x4e, +0x5e,0x36,0x31,0x03,0x99,0x5c,0x01,0x1a,0xfe,0xe6,0x01,0x1a,0xfe,0xe6,0x5c,0xfd, +0x60,0x39,0x1c,0x1b,0x86,0x82,0x05,0x02,0x59,0x2c,0x2d,0x36,0x2f,0x00,0x00,0x01, +0x00,0x47,0x02,0x8b,0x02,0xd9,0x05,0x10,0x00,0x23,0x00,0x00,0x13,0x35,0x21,0x15, +0x06,0x07,0x06,0x15,0x14,0x16,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x35,0x21, +0x15,0x23,0x16,0x17,0x16,0x15,0x14,0x06,0x20,0x27,0x26,0x35,0x34,0x37,0x36,0x37, +0x47,0x01,0x17,0x45,0x28,0x29,0x6f,0xb5,0x37,0x38,0x2a,0x2c,0x3f,0x01,0x12,0x94, +0x47,0x24,0x22,0xb3,0xfe,0xe4,0x59,0x5a,0x21,0x22,0x4a,0x04,0xb3,0x5c,0x7b,0x27, +0x3a,0x3f,0x4b,0x59,0x6d,0x36,0x37,0x59,0x52,0x38,0x3e,0x23,0x7b,0x5c,0x38,0x3f, +0x3e,0x4c,0x83,0xa4,0x51,0x52,0x80,0x52,0x3c,0x3d,0x3a,0x00,0x00,0x01,0x00,0x79, +0x02,0x9c,0x02,0xc0,0x05,0x10,0x00,0x1f,0x00,0x00,0x01,0x33,0x31,0x16,0x17,0x16, +0x15,0x14,0x06,0x2b,0x01,0x22,0x27,0x26,0x35,0x11,0x33,0x11,0x14,0x17,0x16,0x3f, +0x01,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x01,0x67,0xcb,0x48,0x23,0x22, +0xb3,0x8e,0x2c,0x72,0x33,0x33,0x74,0x17,0x1a,0x41,0x20,0x5a,0x38,0x37,0x29,0x32, +0x3a,0x30,0x04,0xc4,0x38,0x3f,0x3e,0x4c,0x83,0xa4,0x36,0x36,0x77,0x01,0x90,0xfe, +0x70,0x55,0x1c,0x1c,0x01,0x01,0x36,0x37,0x59,0x51,0x38,0x43,0x1f,0x18,0x00,0x01, +0x00,0x26,0x02,0x9c,0x02,0xd6,0x05,0x10,0x00,0x06,0x00,0x00,0x01,0x23,0x0b,0x01, +0x23,0x01,0x33,0x02,0xd5,0x7b,0xdc,0xdd,0x7b,0x01,0x09,0x9e,0x02,0x9c,0x02,0x0e, +0xfd,0xf2,0x02,0x73,0x00,0x01,0x00,0x37,0x02,0x9c,0x02,0x6e,0x05,0x10,0x00,0x09, +0x00,0x00,0x13,0x21,0x15,0x01,0x21,0x15,0x21,0x35,0x01,0x21,0x47,0x02,0x27,0xfe, +0x4c,0x01,0xb4,0xfd,0xc9,0x01,0xb4,0xfe,0x5c,0x05,0x0f,0x5e,0xfe,0x3d,0x52,0x5e, +0x01,0xc3,0x00,0x01,0x00,0x37,0x01,0xad,0x02,0xfe,0x05,0x10,0x00,0x17,0x00,0x00, +0x13,0x21,0x15,0x01,0x21,0x15,0x23,0x15,0x14,0x17,0x16,0x3b,0x01,0x15,0x23,0x22, +0x27,0x26,0x3d,0x01,0x21,0x35,0x01,0x21,0x47,0x02,0x27,0xfe,0x4c,0x01,0xb4,0x01, +0x17,0x18,0x43,0x1e,0x2c,0x72,0x33,0x33,0xfe,0x3e,0x01,0xb4,0xfe,0x5c,0x05,0x0f, +0x5e,0xfe,0x3d,0x52,0x0b,0x56,0x1b,0x1b,0x58,0x36,0x36,0x78,0x0b,0x5e,0x01,0xc3, +0x00,0x02,0x00,0x37,0x02,0x5d,0x02,0x6e,0x05,0x10,0x00,0x14,0x00,0x1b,0x00,0x00, +0x01,0x06,0x15,0x23,0x34,0x37,0x23,0x35,0x01,0x21,0x35,0x21,0x15,0x01,0x33,0x36, +0x33,0x32,0x17,0x14,0x23,0x27,0x33,0x32,0x35,0x34,0x23,0x06,0x01,0x7c,0x02,0x60, +0x02,0xe5,0x01,0xb4,0xfe,0x5c,0x02,0x27,0xfe,0x4c,0x6e,0x26,0x8a,0x8f,0x01,0xd2, +0x0d,0x0d,0x6d,0x2c,0x37,0x02,0x9c,0x1d,0x21,0x21,0x1d,0x5e,0x01,0xc3,0x52,0x5e, +0xfe,0x3d,0xa2,0x8a,0x6a,0x52,0x1f,0x33,0x01,0x00,0x00,0x01,0x00,0x37,0x01,0xa7, +0x02,0xa3,0x05,0x10,0x00,0x20,0x00,0x00,0x01,0x32,0x17,0x16,0x17,0x16,0x15,0x14, +0x06,0x23,0x22,0x27,0x26,0x27,0x35,0x1e,0x01,0x33,0x32,0x37,0x36,0x35,0x34,0x27, +0x26,0x2b,0x01,0x35,0x01,0x21,0x35,0x21,0x15,0x01,0x68,0x43,0x51,0x3e,0x36,0x33, +0xc0,0xb0,0x3b,0x3f,0x3f,0x43,0x35,0x7e,0x45,0x78,0x3e,0x3f,0x3a,0x3a,0x68,0x6e, +0x01,0x0f,0xfe,0x5c,0x02,0x26,0x03,0xa7,0x20,0x17,0x3d,0x3b,0x4d,0x7c,0x87,0x0a, +0x0b,0x14,0x6d,0x1b,0x1c,0x2a,0x2a,0x50,0x4a,0x2a,0x29,0x5d,0x01,0x18,0x52,0x5e, +0x00,0x03,0x00,0x47,0x02,0x8f,0x02,0xcf,0x06,0x0d,0x00,0x08,0x00,0x11,0x00,0x1d, +0x00,0x00,0x01,0x21,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x37,0x26,0x27,0x26,0x23, +0x22,0x07,0x06,0x07,0x13,0x32,0x16,0x15,0x14,0x06,0x23,0x22,0x26,0x35,0x34,0x36, +0x02,0x53,0xfe,0x6f,0x06,0x2f,0x36,0x5e,0x5d,0x36,0x2f,0x05,0x09,0x2b,0x36,0x5d, +0x5d,0x36,0x2c,0x08,0xc7,0x97,0xad,0xad,0x97,0x98,0xac,0xac,0x04,0x2a,0x80,0x4d, +0x57,0x58,0x4d,0xde,0x6d,0x47,0x59,0x58,0x46,0x6f,0x01,0x83,0xed,0xd1,0xd1,0xee, +0xee,0xd1,0xd1,0xed,0xff,0xff,0x00,0x10,0xfd,0x2e,0x05,0x68,0x05,0xd5,0x10,0x27, +0x02,0xa1,0x00,0xb7,0x00,0x00,0x12,0x02,0x00,0x24,0x00,0x00,0xff,0xff,0x00,0x7b, +0xfd,0x2e,0x04,0x2d,0x04,0x7b,0x10,0x26,0x02,0xa1,0x6b,0x00,0x12,0x02,0x00,0x44, +0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x04,0xec,0x07,0x50,0x12,0x22,0x00,0x25, +0x00,0x00,0x10,0x03,0x02,0x8d,0x00,0xad,0x01,0x40,0xff,0xff,0x00,0xba,0xff,0xe3, +0x04,0xa4,0x06,0x14,0x12,0x22,0x00,0x45,0x00,0x00,0x10,0x03,0x02,0x8d,0x00,0xe9, +0x00,0x00,0xff,0xff,0x00,0xc9,0xfe,0x87,0x04,0xec,0x05,0xd5,0x12,0x22,0x00,0x25, +0x00,0x00,0x10,0x03,0x02,0xc6,0x04,0xa5,0x00,0x00,0xff,0xff,0x00,0xba,0xfe,0x87, +0x04,0xa4,0x06,0x14,0x12,0x22,0x00,0x45,0x00,0x00,0x10,0x03,0x02,0xc6,0x04,0x9a, +0x00,0x00,0xff,0xff,0x00,0xc9,0xfe,0xc0,0x04,0xec,0x05,0xd5,0x12,0x22,0x00,0x25, +0x00,0x00,0x10,0x03,0x02,0x81,0x00,0x97,0x00,0x00,0xff,0xff,0x00,0xba,0xfe,0xc0, +0x04,0xa4,0x06,0x14,0x12,0x22,0x00,0x45,0x00,0x00,0x10,0x03,0x02,0x81,0x00,0x8f, +0x00,0x00,0xff,0xff,0x00,0x73,0xfe,0x75,0x05,0x27,0x07,0x6b,0x12,0x22,0x00,0x89, +0x00,0x00,0x10,0x43,0x00,0x76,0x00,0xfe,0x02,0xf0,0x40,0x00,0x2c,0xcc,0xff,0xff, +0x00,0x71,0xfe,0x75,0x03,0xe7,0x06,0x66,0x12,0x22,0x00,0xa9,0x00,0x00,0x10,0x02, +0x00,0x76,0x43,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x05,0xb0,0x07,0x50,0x12,0x22, +0x00,0x27,0x00,0x00,0x10,0x03,0x02,0x8d,0x00,0xfd,0x01,0x40,0xff,0xff,0x00,0x71, +0xff,0xe3,0x04,0x5a,0x06,0x14,0x12,0x22,0x00,0x47,0x00,0x00,0x10,0x02,0x02,0x8d, +0x2a,0x02,0xff,0xff,0x00,0xc9,0xfe,0x87,0x05,0xb0,0x05,0xd5,0x10,0x23,0x02,0xc6, +0x04,0xae,0x00,0x00,0x10,0x02,0x00,0x27,0x00,0x00,0xff,0xff,0x00,0x71,0xfe,0x87, +0x04,0x5a,0x06,0x14,0x10,0x23,0x02,0xc6,0x04,0x7a,0x00,0x00,0x10,0x02,0x00,0x47, +0x00,0x00,0xff,0xff,0x00,0xc9,0xfe,0xc0,0x05,0xb0,0x05,0xd5,0x12,0x22,0x00,0x27, +0x00,0x00,0x10,0x03,0x02,0x81,0x00,0xe8,0x00,0x00,0xff,0xff,0x00,0x71,0xfe,0xc0, +0x04,0x5a,0x06,0x14,0x12,0x22,0x00,0x47,0x00,0x00,0x10,0x02,0x02,0x81,0x4f,0x00, +0xff,0xff,0x00,0xc9,0xfe,0x77,0x05,0xb0,0x05,0xd5,0x12,0x22,0x00,0x27,0x00,0x00, +0x10,0x02,0x00,0x7a,0x5b,0x02,0xff,0xff,0x00,0x71,0xfe,0x75,0x04,0x5a,0x06,0x14, +0x12,0x22,0x00,0x47,0x00,0x00,0x10,0x02,0x00,0x7a,0xf6,0x00,0xff,0xff,0x00,0xc9, +0xfe,0x18,0x05,0xb0,0x05,0xd5,0x10,0x27,0x02,0x7a,0x00,0xa6,0xf9,0x2a,0x12,0x06, +0x00,0x27,0x00,0x00,0xff,0xff,0x00,0x71,0xfe,0x18,0x04,0x5a,0x06,0x14,0x10,0x27, +0x02,0x7a,0x00,0x5e,0xf9,0x2a,0x12,0x06,0x00,0x47,0x00,0x00,0xff,0xff,0x00,0xc9, +0x00,0x00,0x04,0x8b,0x08,0x57,0x12,0x22,0x00,0x28,0x00,0x00,0x10,0x02,0x0a,0xfc, +0xee,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x7f,0x07,0x13,0x12,0x22,0x00,0x48, +0x00,0x00,0x10,0x03,0x0a,0xfc,0xff,0xc8,0xfe,0xbc,0xff,0xff,0x00,0xc9,0x00,0x00, +0x04,0x8b,0x08,0x57,0x12,0x22,0x00,0x28,0x00,0x00,0x10,0x02,0x0a,0xfa,0xee,0x00, +0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x7f,0x07,0x13,0x12,0x22,0x00,0x48,0x00,0x00, +0x10,0x03,0x0a,0xfa,0xff,0xc8,0xfe,0xbc,0xff,0xff,0x00,0xc9,0xfd,0xdd,0x04,0x8b, +0x05,0xd5,0x12,0x22,0x00,0x28,0x00,0x00,0x10,0x03,0x02,0xd0,0x04,0xb1,0x00,0x00, +0xff,0xff,0x00,0x71,0xfd,0xdd,0x04,0x7f,0x04,0x7b,0x12,0x22,0x00,0x48,0x00,0x00, +0x10,0x03,0x02,0xd0,0x04,0xb0,0x00,0x00,0xff,0xff,0x00,0xc9,0xfe,0x76,0x04,0x8b, +0x05,0xd5,0x12,0x22,0x00,0x28,0x00,0x00,0x10,0x03,0x02,0xa2,0x00,0xb3,0x00,0x00, +0xff,0xff,0x00,0x71,0xfe,0x76,0x04,0x7f,0x04,0x7b,0x12,0x22,0x00,0x48,0x00,0x00, +0x10,0x03,0x02,0xa2,0x00,0x9b,0x00,0x00,0xff,0xff,0x00,0xc9,0xfe,0x75,0x04,0x8b, +0x07,0x66,0x12,0x22,0x00,0x28,0x00,0x00,0x10,0x63,0x02,0x8c,0x00,0xda,0x01,0xbe, +0x40,0x00,0x39,0x99,0x10,0x03,0x00,0x7a,0x00,0xbe,0x00,0x00,0xff,0xff,0x00,0x71, +0xfe,0x75,0x04,0x7f,0x06,0x48,0x12,0x22,0x00,0x48,0x00,0x00,0x10,0x23,0x02,0x8c, +0x00,0x87,0x00,0x00,0x10,0x02,0x00,0x7a,0x4b,0x00,0xff,0xff,0x00,0xc9,0x00,0x00, +0x04,0x23,0x07,0x50,0x12,0x22,0x00,0x29,0x00,0x00,0x10,0x03,0x02,0x8d,0x00,0x76, +0x01,0x40,0xff,0xff,0x00,0x2f,0x00,0x00,0x02,0xf8,0x07,0x50,0x12,0x22,0x00,0x49, +0x00,0x00,0x10,0x03,0x02,0x8d,0x00,0x0c,0x01,0x40,0xff,0xff,0x00,0x73,0xff,0xe3, +0x05,0x8b,0x07,0x18,0x12,0x22,0x00,0x2a,0x00,0x00,0x10,0x03,0x02,0x7d,0x01,0x32, +0x01,0x22,0xff,0xff,0x00,0x71,0xfe,0x56,0x04,0x5a,0x05,0xf6,0x12,0x22,0x00,0x4a, +0x00,0x00,0x10,0x02,0x02,0x7d,0x49,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x05,0x3b, +0x07,0x50,0x12,0x22,0x00,0x2b,0x00,0x00,0x10,0x03,0x02,0x8d,0x01,0x14,0x01,0x40, +0xff,0xff,0x00,0xba,0x00,0x00,0x04,0x64,0x06,0x14,0x12,0x22,0x00,0x4b,0x00,0x00, +0x10,0x03,0x02,0x8d,0x00,0xe9,0x00,0x00,0xff,0xff,0x00,0xc9,0xfe,0x87,0x05,0x3b, +0x05,0xd5,0x10,0x23,0x02,0xc6,0x05,0x02,0x00,0x00,0x10,0x02,0x00,0x2b,0x00,0x00, +0xff,0xff,0x00,0xba,0xfe,0x87,0x04,0x64,0x06,0x14,0x10,0x23,0x02,0xc6,0x04,0x8f, +0x00,0x00,0x10,0x02,0x00,0x4b,0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x05,0x3b, +0x07,0x50,0x12,0x22,0x00,0x2b,0x00,0x00,0x10,0x03,0x00,0x6a,0x01,0x08,0x01,0x40, +0xff,0xff,0x00,0xba,0x00,0x00,0x04,0x64,0x07,0x4e,0x12,0x22,0x00,0x4b,0x00,0x00, +0x10,0x03,0x00,0x6a,0x00,0xc0,0x01,0x3e,0xff,0xff,0x00,0x11,0xfe,0x74,0x05,0x3b, +0x05,0xd5,0x12,0x22,0x00,0x2b,0x00,0x00,0x10,0x03,0x00,0x7a,0xfe,0xee,0xff,0xff, +0xff,0xff,0x00,0x02,0xfe,0x74,0x04,0x64,0x06,0x14,0x12,0x22,0x00,0x4b,0x00,0x00, +0x10,0x03,0x00,0x7a,0xfe,0xdf,0xff,0xff,0xff,0xff,0x00,0xc9,0xfe,0x39,0x05,0x3b, +0x05,0xd5,0x12,0x22,0x00,0x2b,0x00,0x00,0x10,0x03,0x02,0xd1,0x05,0x97,0x00,0x00, +0xff,0xff,0x00,0xba,0xfe,0x39,0x04,0x64,0x06,0x14,0x12,0x22,0x00,0x4b,0x00,0x00, +0x10,0x03,0x02,0xd1,0x05,0x26,0x00,0x00,0xff,0xff,0x00,0x00,0xfe,0x76,0x02,0x94, +0x05,0xd5,0x12,0x22,0x00,0x2c,0x00,0x00,0x10,0x03,0x02,0xa2,0xff,0x4a,0x00,0x00, +0xff,0xff,0x00,0x27,0xfe,0x76,0x02,0x38,0x06,0x14,0x12,0x22,0x00,0x4c,0x00,0x00, +0x10,0x42,0x02,0xa2,0x96,0x00,0x33,0x33,0x40,0x00,0xff,0xff,0x00,0x08,0x00,0x00, +0x02,0xb7,0x08,0x57,0x12,0x22,0x00,0x2c,0x00,0x00,0x10,0x03,0x0a,0xf8,0xfe,0x75, +0x00,0x00,0xff,0xff,0xff,0xf4,0x00,0x00,0x02,0xa3,0x07,0x13,0x12,0x22,0x00,0xf3, +0x00,0x00,0x10,0x03,0x0a,0xf8,0xfe,0x61,0xfe,0xbc,0xff,0xff,0x00,0xc9,0x00,0x00, +0x05,0x6a,0x07,0x6b,0x12,0x22,0x00,0x2e,0x00,0x00,0x10,0x43,0x00,0x76,0x00,0xa4, +0x02,0xf0,0x40,0x00,0x2c,0xcc,0xff,0xff,0x00,0xba,0x00,0x00,0x04,0x9c,0x07,0x6b, +0x12,0x22,0x00,0x4e,0x00,0x00,0x10,0x43,0x00,0x76,0x00,0xbc,0x02,0xf0,0x40,0x00, +0x2c,0xcc,0xff,0xff,0x00,0xc9,0xfe,0x87,0x05,0x6a,0x05,0xd5,0x12,0x22,0x00,0x2e, +0x00,0x00,0x10,0x03,0x02,0xc6,0x04,0xdc,0x00,0x00,0xff,0xff,0x00,0xba,0xfe,0x87, +0x04,0x9c,0x06,0x14,0x12,0x22,0x00,0x4e,0x00,0x00,0x10,0x03,0x02,0xc6,0x04,0x91, +0x00,0x00,0xff,0xff,0x00,0xc9,0xfe,0xc0,0x05,0x6a,0x05,0xd5,0x12,0x22,0x00,0x2e, +0x00,0x00,0x10,0x03,0x02,0x81,0x01,0x0d,0x00,0x00,0xff,0xff,0x00,0xba,0xfe,0xc0, +0x04,0x9c,0x06,0x14,0x12,0x22,0x00,0x4e,0x00,0x00,0x10,0x02,0x02,0x81,0x76,0x00, +0xff,0xff,0x00,0xc9,0xfe,0x87,0x04,0x6a,0x05,0xd5,0x10,0x23,0x02,0xc6,0x04,0x9a, +0x00,0x00,0x10,0x02,0x00,0x2f,0x00,0x00,0xff,0xff,0x00,0xb6,0xfe,0x87,0x01,0x83, +0x06,0x14,0x10,0x23,0x02,0xc6,0x03,0x1c,0x00,0x00,0x10,0x02,0x00,0x4f,0x00,0x00, +0xff,0xff,0x00,0xc9,0xfe,0x87,0x04,0x6a,0x07,0x33,0x10,0x63,0x00,0x71,0x00,0x96, +0x01,0x32,0x40,0x00,0x40,0x6e,0x10,0x02,0x05,0xbd,0x00,0x00,0xff,0xff,0xff,0xf1, +0xfe,0x87,0x02,0x48,0x07,0x31,0x10,0x23,0x00,0x71,0xff,0x1c,0x01,0x3b,0x10,0x02, +0x05,0xbe,0x00,0x00,0xff,0xff,0x00,0xc9,0xfe,0xc0,0x04,0x6a,0x05,0xd5,0x12,0x22, +0x00,0x2f,0x00,0x00,0x10,0x03,0x02,0x81,0x00,0x8e,0x00,0x00,0xff,0xff,0x00,0x27, +0xfe,0xc0,0x02,0x07,0x06,0x14,0x12,0x22,0x00,0x4f,0x00,0x00,0x10,0x43,0x02,0x81, +0xff,0x7d,0x00,0x00,0x33,0x33,0x40,0x00,0xff,0xff,0x00,0xc9,0xfe,0x17,0x04,0x6a, +0x05,0xd5,0x10,0x27,0x02,0x7a,0x00,0x97,0xf9,0x29,0x12,0x06,0x00,0x2f,0x00,0x00, +0xff,0xff,0xff,0xde,0xfe,0x17,0x02,0x5c,0x06,0x14,0x10,0x27,0x02,0x7a,0xff,0x1d, +0xf9,0x29,0x12,0x06,0x00,0x4f,0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x06,0x1f, +0x07,0x6b,0x12,0x22,0x00,0x30,0x00,0x00,0x10,0x43,0x00,0x76,0x01,0x42,0x02,0xf0, +0x40,0x00,0x2c,0xcc,0xff,0xff,0x00,0xba,0x00,0x00,0x07,0x1d,0x06,0x66,0x12,0x22, +0x00,0x50,0x00,0x00,0x10,0x03,0x00,0x76,0x01,0x94,0x00,0x00,0xff,0xff,0x00,0xc9, +0x00,0x00,0x06,0x1f,0x07,0x50,0x12,0x22,0x00,0x30,0x00,0x00,0x10,0x03,0x02,0x8d, +0x01,0x77,0x01,0x40,0xff,0xff,0x00,0xba,0x00,0x00,0x07,0x1d,0x06,0x10,0x10,0x27, +0x02,0x8d,0x02,0x46,0x00,0x00,0x12,0x06,0x00,0x50,0x00,0x00,0xff,0xff,0x00,0xc9, +0xfe,0x87,0x06,0x1f,0x05,0xd5,0x10,0x23,0x02,0xc6,0x05,0x74,0x00,0x00,0x10,0x02, +0x00,0x30,0x00,0x00,0xff,0xff,0x00,0xba,0xfe,0x87,0x07,0x1d,0x04,0x7b,0x10,0x23, +0x02,0xc6,0x05,0xe6,0x00,0x00,0x10,0x02,0x00,0x50,0x00,0x00,0xff,0xff,0x00,0xc9, +0x00,0x00,0x05,0x33,0x07,0x37,0x10,0x27,0x0b,0xf1,0x04,0xfe,0x01,0x5c,0x12,0x06, +0x00,0x31,0x00,0x00,0xff,0xff,0x00,0xba,0x00,0x00,0x04,0x64,0x05,0xc1,0x10,0x27, +0x02,0x8d,0x00,0x8f,0xff,0xb1,0x12,0x06,0x00,0x51,0x00,0x00,0xff,0xff,0x00,0xc9, +0xfe,0x87,0x05,0x33,0x05,0xd5,0x10,0x23,0x02,0xc6,0x04,0xfe,0x00,0x00,0x10,0x02, +0x00,0x31,0x00,0x00,0xff,0xff,0x00,0xba,0xfe,0x87,0x04,0x64,0x04,0x7b,0x10,0x23, +0x02,0xc6,0x04,0x8f,0x00,0x00,0x10,0x02,0x00,0x51,0x00,0x00,0xff,0xff,0x00,0xc9, +0xfe,0xc0,0x05,0x33,0x05,0xd5,0x12,0x22,0x00,0x31,0x00,0x00,0x10,0x03,0x02,0x81, +0x00,0xf7,0x00,0x00,0xff,0xff,0x00,0xba,0xfe,0xc0,0x04,0x64,0x04,0x7b,0x12,0x22, +0x00,0x51,0x00,0x00,0x10,0x03,0x02,0x81,0x00,0x8c,0x00,0x00,0xff,0xff,0x00,0xc9, +0xfe,0x15,0x05,0x33,0x05,0xd5,0x10,0x27,0x02,0x7a,0x00,0xfe,0xf9,0x27,0x12,0x06, +0x00,0x31,0x00,0x00,0xff,0xff,0x00,0xba,0xfe,0x15,0x04,0x64,0x04,0x7b,0x10,0x27, +0x02,0x7a,0x00,0x95,0xf9,0x27,0x12,0x06,0x00,0x51,0x00,0x00,0xff,0xff,0x00,0x73, +0xff,0xe3,0x05,0xd9,0x08,0x57,0x12,0x22,0x00,0x32,0x00,0x00,0x10,0x02,0x0b,0x01, +0x6a,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x75,0x07,0x13,0x12,0x22,0x00,0x52, +0x00,0x00,0x10,0x03,0x0b,0x01,0xff,0xb6,0xfe,0xbc,0xff,0xff,0x00,0x73,0xff,0xe3, +0x05,0xd9,0x08,0x57,0x12,0x22,0x00,0x32,0x00,0x00,0x10,0x02,0x0a,0xff,0x6a,0x00, +0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x75,0x07,0x13,0x12,0x22,0x00,0x52,0x00,0x00, +0x10,0x03,0x0a,0xff,0xff,0xb6,0xfe,0xbc,0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0xd9, +0x08,0x57,0x12,0x22,0x00,0x32,0x00,0x00,0x10,0x02,0x0a,0xfc,0x6a,0x00,0xff,0xff, +0x00,0x71,0xff,0xe3,0x04,0x75,0x07,0x13,0x12,0x22,0x00,0x52,0x00,0x00,0x10,0x03, +0x0a,0xfc,0xff,0xb6,0xfe,0xbc,0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0xd9,0x08,0x57, +0x12,0x22,0x00,0x32,0x00,0x00,0x10,0x02,0x0a,0xfa,0x6a,0x00,0xff,0xff,0x00,0x71, +0xff,0xe3,0x04,0x75,0x07,0x13,0x12,0x22,0x00,0x52,0x00,0x00,0x10,0x03,0x0a,0xfa, +0xff,0xb6,0xfe,0xbc,0xff,0xff,0x00,0xc9,0x00,0x00,0x04,0x8d,0x07,0x6b,0x12,0x22, +0x00,0x33,0x00,0x00,0x10,0x43,0x00,0x76,0x00,0x41,0x02,0xf0,0x40,0x00,0x2c,0xcc, +0xff,0xff,0x00,0xba,0xfe,0x56,0x04,0xa4,0x06,0x66,0x12,0x22,0x00,0x53,0x00,0x00, +0x10,0x02,0x00,0x76,0x32,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x04,0x8d,0x07,0x50, +0x12,0x22,0x00,0x33,0x00,0x00,0x10,0x03,0x02,0x8d,0x00,0x84,0x01,0x40,0xff,0xff, +0x00,0xba,0xfe,0x56,0x04,0xa4,0x06,0x10,0x10,0x27,0x02,0x8d,0x00,0xd9,0x00,0x00, +0x12,0x06,0x00,0x53,0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x05,0x54,0x07,0x50, +0x12,0x22,0x00,0x35,0x00,0x00,0x10,0x03,0x02,0x8d,0x00,0x83,0x01,0x40,0xff,0xff, +0x00,0xba,0x00,0x00,0x03,0x4a,0x06,0x12,0x12,0x22,0x00,0x55,0x00,0x00,0x10,0x02, +0x02,0x8d,0x13,0x02,0xff,0xff,0x00,0xc9,0xfe,0x87,0x05,0x54,0x05,0xd5,0x10,0x23, +0x02,0xc6,0x04,0x7d,0x00,0x00,0x10,0x02,0x00,0x35,0x00,0x00,0xff,0xff,0x00,0xba, +0xfe,0x87,0x03,0x4a,0x04,0x7b,0x10,0x23,0x02,0xc6,0x03,0x20,0x00,0x00,0x10,0x02, +0x00,0x55,0x00,0x00,0xff,0xff,0x00,0xc9,0xfe,0x87,0x05,0x54,0x07,0x33,0x10,0x63, +0x00,0x71,0x00,0x7a,0x01,0x32,0x40,0x00,0x40,0x6e,0x10,0x02,0x05,0xe1,0x00,0x00, +0xff,0xff,0x00,0xba,0xfe,0x87,0x03,0x4a,0x05,0xf5,0x10,0x22,0x00,0x71,0x18,0xff, +0x10,0x02,0x05,0xe2,0x00,0x00,0xff,0xff,0x00,0xc9,0xfe,0xc0,0x05,0x54,0x05,0xd5, +0x12,0x22,0x00,0x35,0x00,0x00,0x10,0x03,0x02,0x81,0x00,0xe5,0x00,0x00,0xff,0xff, +0x00,0x54,0xfe,0xc0,0x03,0x4a,0x04,0x7b,0x12,0x22,0x00,0x55,0x00,0x00,0x10,0x03, +0x02,0x81,0xff,0x7f,0x00,0x00,0xff,0xff,0x00,0x87,0xff,0xe3,0x04,0xa2,0x07,0x50, +0x12,0x22,0x00,0x36,0x00,0x00,0x10,0x03,0x02,0x8d,0x00,0xb8,0x01,0x40,0xff,0xff, +0x00,0x6f,0xff,0xe3,0x03,0xc7,0x06,0x10,0x10,0x26,0x02,0x8d,0x25,0x00,0x12,0x06, +0x00,0x56,0x00,0x00,0xff,0xff,0x00,0x87,0xfe,0x87,0x04,0xa2,0x05,0xf0,0x10,0x23, +0x02,0xc6,0x04,0x8a,0x00,0x00,0x10,0x02,0x00,0x36,0x00,0x00,0xff,0xff,0x00,0x6f, +0xfe,0x87,0x03,0xc7,0x04,0x7b,0x10,0x23,0x02,0xc6,0x04,0x15,0x00,0x00,0x10,0x02, +0x00,0x56,0x00,0x00,0xff,0xff,0x00,0x87,0xff,0xe3,0x04,0xa2,0x07,0x6b,0x12,0x22, +0x00,0x36,0x00,0x00,0x10,0x23,0x02,0x8d,0xff,0xa4,0x01,0x5a,0x10,0x43,0x00,0x76, +0x00,0xf2,0x02,0xf0,0x40,0x00,0x2c,0xcc,0xff,0xff,0x00,0x6f,0xff,0xe3,0x03,0xe2, +0x06,0x66,0x12,0x22,0x00,0x56,0x00,0x00,0x10,0x22,0x02,0x8d,0x8c,0x56,0x10,0x03, +0x00,0x76,0x00,0x90,0x00,0x00,0xff,0xff,0x00,0x87,0xff,0xe3,0x04,0xa2,0x08,0x57, +0x12,0x22,0x00,0x36,0x00,0x00,0x10,0x02,0x0b,0x00,0xe4,0x00,0xff,0xff,0x00,0x6f, +0xff,0xe3,0x03,0xc7,0x06,0xe4,0x12,0x22,0x00,0x56,0x00,0x00,0x10,0x03,0x0b,0x00, +0xff,0x66,0xfe,0x8d,0xff,0xff,0x00,0x87,0xfe,0x87,0x04,0xa2,0x07,0x50,0x12,0x22, +0x05,0xe9,0x00,0x00,0x10,0x03,0x02,0x8d,0x00,0x9b,0x01,0x40,0xff,0xff,0x00,0x6f, +0xfe,0x87,0x03,0xc7,0x06,0x12,0x12,0x22,0x05,0xea,0x00,0x00,0x10,0x02,0x02,0x8d, +0x2a,0x02,0xff,0xff,0xff,0xfa,0x00,0x00,0x04,0xe9,0x07,0x50,0x12,0x22,0x00,0x37, +0x00,0x00,0x10,0x03,0x02,0x8d,0x00,0x72,0x01,0x40,0xff,0xff,0x00,0x37,0x00,0x00, +0x02,0xf2,0x07,0x2f,0x12,0x22,0x00,0x57,0x00,0x00,0x10,0x03,0x02,0x8d,0xff,0x23, +0x01,0x1f,0xff,0xff,0xff,0xfa,0xfe,0x87,0x04,0xe9,0x05,0xd5,0x10,0x23,0x02,0xc6, +0x04,0x71,0x00,0x00,0x10,0x02,0x00,0x37,0x00,0x00,0xff,0xff,0x00,0x37,0xfe,0x87, +0x02,0xf2,0x05,0x9e,0x10,0x23,0x02,0xc6,0x03,0xe8,0x00,0x00,0x10,0x02,0x00,0x57, +0x00,0x00,0xff,0xff,0xff,0xfa,0xfe,0xc0,0x04,0xe9,0x05,0xd5,0x12,0x22,0x00,0x37, +0x00,0x00,0x10,0x02,0x02,0x81,0x62,0x00,0xff,0xff,0x00,0x37,0xfe,0xc0,0x02,0xf2, +0x05,0x9e,0x12,0x22,0x00,0x57,0x00,0x00,0x10,0x42,0x02,0x81,0x3c,0x00,0x33,0x33, +0x40,0x00,0xff,0xff,0xff,0xfa,0xfe,0x15,0x04,0xe9,0x05,0xd5,0x10,0x27,0x02,0x7a, +0x00,0x72,0xf9,0x27,0x12,0x06,0x00,0x37,0x00,0x00,0xff,0xff,0x00,0x37,0xfe,0x14, +0x03,0x27,0x05,0x9e,0x10,0x27,0x02,0x7a,0xff,0xe8,0xf9,0x26,0x12,0x06,0x00,0x57, +0x00,0x00,0xff,0xff,0x00,0xb2,0xfe,0x89,0x05,0x29,0x05,0xd5,0x12,0x22,0x00,0x38, +0x00,0x00,0x10,0x03,0x02,0xc7,0x05,0x86,0x00,0x00,0xff,0xff,0x00,0xae,0xfe,0x89, +0x04,0x66,0x04,0x60,0x12,0x22,0x00,0x58,0x00,0x00,0x10,0x03,0x02,0xc7,0x05,0x3f, +0x00,0x00,0xff,0xff,0x00,0xb2,0xfe,0x76,0x05,0x29,0x05,0xd5,0x12,0x22,0x00,0x38, +0x00,0x00,0x10,0x03,0x02,0xa2,0x00,0xf2,0x00,0x00,0xff,0xff,0x00,0xae,0xfe,0x76, +0x04,0x58,0x04,0x60,0x12,0x22,0x00,0x58,0x00,0x00,0x10,0x03,0x02,0xa2,0x00,0x8f, +0x00,0x00,0xff,0xff,0x00,0xb2,0xfd,0xdd,0x05,0x29,0x05,0xd5,0x12,0x22,0x00,0x38, +0x00,0x00,0x10,0x03,0x02,0xd0,0x04,0xe0,0x00,0x00,0xff,0xff,0x00,0xae,0xfd,0xdd, +0x04,0x58,0x04,0x60,0x12,0x22,0x00,0x58,0x00,0x00,0x10,0x03,0x02,0xd0,0x04,0x75, +0x00,0x00,0xff,0xff,0x00,0xb2,0xff,0xe3,0x05,0x29,0x08,0x57,0x12,0x22,0x00,0x38, +0x00,0x00,0x10,0x02,0x0b,0x01,0x32,0x00,0xff,0xff,0x00,0xae,0xff,0xe3,0x04,0x5b, +0x07,0x6d,0x12,0x22,0x00,0x58,0x00,0x00,0x10,0x03,0x0b,0x01,0xff,0xc8,0xff,0x16, +0xff,0xff,0x00,0xb2,0xff,0xe3,0x05,0x29,0x08,0x34,0x12,0x22,0x00,0x38,0x00,0x00, +0x10,0x02,0x0a,0xf6,0x32,0x00,0xff,0xff,0x00,0xae,0xff,0xe3,0x04,0x58,0x06,0xf0, +0x12,0x22,0x00,0x58,0x00,0x00,0x10,0x03,0x0a,0xf6,0xff,0xc8,0xfe,0xbc,0xff,0xff, +0x00,0x10,0x00,0x00,0x05,0x68,0x07,0x7d,0x12,0x22,0x00,0x39,0x00,0x00,0x10,0x03, +0x02,0x90,0x00,0xed,0x01,0x46,0xff,0xff,0x00,0x3d,0x00,0x00,0x04,0x7f,0x06,0x37, +0x12,0x22,0x00,0x59,0x00,0x00,0x10,0x02,0x02,0x90,0x6d,0x00,0xff,0xff,0x00,0x10, +0xfe,0x87,0x05,0x68,0x05,0xd5,0x10,0x26,0x00,0x39,0x00,0x00,0x10,0x07,0x02,0xc6, +0x04,0xbc,0x00,0x00,0xff,0xff,0x00,0x3d,0xfe,0x87,0x04,0x7f,0x04,0x60,0x10,0x26, +0x00,0x59,0x00,0x00,0x10,0x07,0x02,0xc6,0x04,0x5e,0x00,0x00,0xff,0xff,0x00,0x44, +0x00,0x00,0x07,0xa6,0x07,0x72,0x10,0x27,0x0b,0xec,0x05,0xf5,0x01,0x7c,0x12,0x06, +0x00,0x3a,0x00,0x00,0xff,0xff,0x00,0x56,0x00,0x00,0x06,0x35,0x06,0x6b,0x10,0x27, +0x00,0x43,0x01,0x09,0x00,0x05,0x12,0x06,0x00,0x5a,0x00,0x00,0xff,0xff,0x00,0x44, +0x00,0x00,0x07,0xa6,0x07,0x72,0x10,0x27,0x0b,0xea,0x05,0xf5,0x01,0x7c,0x12,0x06, +0x00,0x3a,0x00,0x00,0xff,0xff,0x00,0x56,0x00,0x00,0x06,0x35,0x06,0x6d,0x10,0x27, +0x00,0x76,0x01,0x86,0x00,0x07,0x12,0x06,0x00,0x5a,0x00,0x00,0xff,0xff,0x00,0x44, +0x00,0x00,0x07,0xa6,0x07,0x34,0x10,0x27,0x00,0x6a,0x01,0xf5,0x01,0x24,0x12,0x06, +0x00,0x3a,0x00,0x00,0xff,0xff,0x00,0x56,0x00,0x00,0x06,0x35,0x05,0xbf,0x10,0x27, +0x00,0x6a,0x01,0x45,0xff,0xaf,0x12,0x06,0x00,0x5a,0x00,0x00,0xff,0xff,0x00,0x44, +0x00,0x00,0x07,0xa6,0x07,0x50,0x12,0x22,0x00,0x3a,0x00,0x00,0x10,0x03,0x02,0x8d, +0x01,0xf5,0x01,0x40,0xff,0xff,0x00,0x56,0x00,0x00,0x06,0x35,0x06,0x12,0x12,0x22, +0x00,0x5a,0x00,0x00,0x10,0x03,0x02,0x8d,0x01,0x47,0x00,0x02,0xff,0xff,0x00,0x44, +0xfe,0x87,0x07,0xa6,0x05,0xd5,0x12,0x22,0x00,0x3a,0x00,0x00,0x10,0x03,0x02,0xc6, +0x05,0xfb,0x00,0x00,0xff,0xff,0x00,0x56,0xfe,0x87,0x06,0x35,0x04,0x60,0x12,0x22, +0x00,0x5a,0x00,0x00,0x10,0x03,0x02,0xc6,0x05,0x4a,0x00,0x00,0xff,0xff,0x00,0x3d, +0x00,0x00,0x05,0x3b,0x07,0x50,0x12,0x22,0x00,0x3b,0x00,0x00,0x10,0x03,0x02,0x8d, +0x00,0xca,0x01,0x40,0xff,0xff,0x00,0x3b,0x00,0x00,0x04,0x79,0x06,0x12,0x12,0x22, +0x00,0x5b,0x00,0x00,0x10,0x02,0x02,0x8d,0x67,0x02,0xff,0xff,0x00,0x3d,0x00,0x00, +0x05,0x3b,0x07,0x4e,0x12,0x22,0x00,0x3b,0x00,0x00,0x10,0x03,0x00,0x6a,0x00,0xca, +0x01,0x3e,0xff,0xff,0x00,0x3b,0x00,0x00,0x04,0x79,0x06,0x10,0x12,0x22,0x00,0x5b, +0x00,0x00,0x10,0x02,0x00,0x6a,0x66,0x00,0xff,0xff,0xff,0xfc,0x00,0x00,0x04,0xe7, +0x07,0x50,0x12,0x22,0x00,0x3c,0x00,0x00,0x10,0x03,0x02,0x8d,0x00,0x70,0x01,0x40, +0xff,0xff,0x00,0x3d,0xfe,0x56,0x04,0x7f,0x06,0x10,0x12,0x22,0x00,0x5c,0x00,0x00, +0x10,0x02,0x02,0x8d,0x66,0x00,0xff,0xff,0x00,0x5c,0x00,0x00,0x05,0x1f,0x07,0x6b, +0x12,0x22,0x00,0x3d,0x00,0x00,0x10,0x43,0x02,0x7a,0x00,0xbe,0x02,0xf0,0x40,0x00, +0x2c,0xcc,0xff,0xff,0x00,0x58,0x00,0x00,0x03,0xdb,0x06,0x66,0x12,0x22,0x00,0x5d, +0x00,0x00,0x10,0x02,0x02,0x7a,0x1a,0x00,0xff,0xff,0x00,0x5c,0xfe,0x87,0x05,0x1f, +0x05,0xd5,0x12,0x22,0x00,0x3d,0x00,0x00,0x10,0x03,0x02,0xc6,0x04,0xd9,0x00,0x00, +0xff,0xff,0x00,0x58,0xfe,0x87,0x03,0xdb,0x04,0x60,0x12,0x22,0x00,0x5d,0x00,0x00, +0x10,0x03,0x02,0xc6,0x04,0x31,0x00,0x00,0xff,0xff,0x00,0x5c,0xfe,0xc0,0x05,0x1f, +0x05,0xd5,0x12,0x22,0x00,0x3d,0x00,0x00,0x10,0x03,0x02,0x81,0x00,0xc7,0x00,0x00, +0xff,0xff,0x00,0x58,0xfe,0xc0,0x03,0xdb,0x04,0x60,0x12,0x22,0x00,0x5d,0x00,0x00, +0x10,0x02,0x02,0x81,0x1b,0x00,0xff,0xff,0x00,0xba,0xfe,0xc0,0x04,0x64,0x06,0x14, +0x12,0x22,0x00,0x4b,0x00,0x00,0x10,0x02,0x02,0x81,0x66,0x00,0xff,0xff,0x00,0x04, +0x00,0x00,0x02,0xf2,0x07,0x4e,0x12,0x22,0x00,0x57,0x00,0x00,0x10,0x03,0x00,0x6a, +0xff,0x2d,0x01,0x3e,0xff,0xff,0x00,0x56,0x00,0x00,0x06,0x35,0x07,0x06,0x12,0x22, +0x00,0x5a,0x00,0x00,0x10,0x03,0x02,0x8e,0x01,0x42,0x00,0x00,0xff,0xff,0x00,0x3d, +0xfe,0x56,0x04,0x7f,0x07,0x06,0x12,0x22,0x00,0x5c,0x00,0x00,0x10,0x03,0x02,0x8e, +0x00,0x81,0x00,0x00,0xff,0xff,0x00,0x7b,0xff,0xe3,0x05,0x61,0x06,0x14,0x12,0x22, +0x00,0x44,0x00,0x00,0x10,0x03,0x02,0x72,0x03,0xda,0x00,0x00,0xff,0xff,0x00,0x2f, +0x00,0x00,0x02,0xf8,0x07,0x50,0x12,0x22,0x01,0x41,0x00,0x00,0x10,0x03,0x02,0x8d, +0xff,0xfd,0x01,0x40,0xff,0xff,0x00,0x10,0xfe,0x87,0x05,0x68,0x05,0xd5,0x12,0x22, +0x00,0x24,0x00,0x00,0x10,0x03,0x02,0xc6,0x04,0xb7,0x00,0x00,0xff,0xff,0x00,0x7b, +0xfe,0x87,0x04,0x2d,0x04,0x7b,0x12,0x22,0x00,0x44,0x00,0x00,0x10,0x03,0x02,0xc6, +0x04,0x21,0x00,0x00,0xff,0xff,0x00,0x10,0x00,0x00,0x05,0x68,0x07,0xee,0x12,0x22, +0x00,0x24,0x00,0x00,0x10,0x03,0x02,0xac,0x05,0x4c,0x01,0x73,0xff,0xff,0x00,0x7b, +0xff,0xe3,0x04,0x2d,0x06,0x7b,0x12,0x22,0x00,0x44,0x00,0x00,0x10,0x03,0x02,0xac, +0x04,0xd5,0x00,0x00,0xff,0xff,0x00,0x10,0x00,0x00,0x05,0x79,0x08,0x35,0x12,0x22, +0x00,0x24,0x00,0x00,0x10,0x02,0x0b,0x02,0x00,0x00,0xff,0xff,0x00,0x7b,0xff,0xe3, +0x05,0x01,0x06,0xc2,0x12,0x22,0x00,0x44,0x00,0x00,0x10,0x03,0x0b,0x02,0xff,0x88, +0xfe,0x8d,0xff,0xff,0xff,0xfe,0x00,0x00,0x05,0x68,0x08,0x35,0x12,0x22,0x00,0x24, +0x00,0x00,0x10,0x02,0x0b,0x03,0x00,0x00,0xff,0xff,0xff,0x86,0xff,0xe3,0x04,0x2d, +0x06,0xc2,0x12,0x22,0x00,0x44,0x00,0x00,0x10,0x03,0x0b,0x03,0xff,0x88,0xfe,0x8d, +0xff,0xff,0x00,0x10,0x00,0x00,0x05,0x68,0x08,0x57,0x12,0x22,0x00,0x24,0x00,0x00, +0x10,0x02,0x0b,0x09,0x00,0x00,0xff,0xff,0x00,0x7b,0xff,0xe3,0x04,0x90,0x06,0xe4, +0x12,0x22,0x00,0x44,0x00,0x00,0x10,0x03,0x0b,0x09,0xff,0x88,0xfe,0x8d,0xff,0xff, +0x00,0x10,0x00,0x00,0x05,0x68,0x08,0x57,0x12,0x22,0x00,0x24,0x00,0x00,0x10,0x02, +0x0b,0x04,0x00,0x00,0xff,0xff,0x00,0x7b,0xff,0xe3,0x04,0x2d,0x06,0xe4,0x12,0x22, +0x00,0x44,0x00,0x00,0x10,0x03,0x0b,0x04,0xff,0x88,0xfe,0x8d,0xff,0xff,0x00,0x10, +0xfe,0x87,0x05,0x68,0x07,0x6d,0x12,0x22,0x00,0x84,0x00,0x00,0x10,0x03,0x02,0xc6, +0x04,0xaf,0x00,0x00,0xff,0xff,0x00,0x7b,0xfe,0x87,0x04,0x2d,0x06,0x66,0x12,0x22, +0x00,0xa4,0x00,0x00,0x10,0x03,0x02,0xc6,0x04,0x22,0x00,0x00,0xff,0xff,0x00,0x10, +0x00,0x00,0x05,0x68,0x08,0x57,0x12,0x22,0x00,0x24,0x00,0x00,0x10,0x02,0x0b,0x06, +0x00,0x00,0xff,0xff,0x00,0x7b,0xff,0xe3,0x04,0x2d,0x06,0xe4,0x12,0x22,0x00,0x44, +0x00,0x00,0x10,0x03,0x0b,0x06,0xff,0x88,0xfe,0x8d,0xff,0xff,0x00,0x10,0x00,0x00, +0x05,0x68,0x08,0x57,0x12,0x22,0x00,0x24,0x00,0x00,0x10,0x02,0x0b,0x07,0x00,0x00, +0xff,0xff,0x00,0x7b,0xff,0xe3,0x04,0x2d,0x06,0xe4,0x12,0x22,0x00,0x44,0x00,0x00, +0x10,0x03,0x0b,0x07,0xff,0x88,0xfe,0x8d,0xff,0xff,0x00,0x10,0x00,0x00,0x05,0x68, +0x08,0x57,0x12,0x22,0x00,0x24,0x00,0x00,0x10,0x02,0x0b,0x08,0x00,0x00,0xff,0xff, +0x00,0x7b,0xff,0xe3,0x04,0x2d,0x06,0xe4,0x12,0x22,0x00,0x44,0x00,0x00,0x10,0x03, +0x0b,0x08,0xff,0x88,0xfe,0x8d,0xff,0xff,0x00,0x10,0x00,0x00,0x05,0x68,0x08,0x57, +0x12,0x22,0x00,0x24,0x00,0x00,0x10,0x02,0x0b,0x05,0x00,0x00,0xff,0xff,0x00,0x7b, +0xff,0xe3,0x04,0x2d,0x06,0xe4,0x12,0x22,0x00,0x44,0x00,0x00,0x10,0x03,0x0b,0x05, +0xff,0x88,0xfe,0x8d,0xff,0xff,0x00,0x10,0xfe,0x87,0x05,0x68,0x07,0x92,0x12,0x22, +0x00,0xc4,0x00,0x00,0x10,0x03,0x02,0xc6,0x04,0xc0,0x00,0x00,0xff,0xff,0x00,0x7b, +0xfe,0x87,0x04,0x2d,0x06,0x1f,0x12,0x22,0x00,0xc5,0x00,0x00,0x10,0x03,0x02,0xc6, +0x04,0x33,0x00,0x00,0xff,0xff,0x00,0xc9,0xfe,0x87,0x04,0x8b,0x05,0xd5,0x10,0x27, +0x02,0xc6,0x04,0x9e,0x00,0x00,0x10,0x06,0x00,0x28,0x00,0x00,0xff,0xff,0x00,0x71, +0xfe,0x87,0x04,0x7f,0x04,0x7b,0x10,0x27,0x02,0xc6,0x04,0x8b,0x00,0x00,0x10,0x06, +0x00,0x48,0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x04,0x8b,0x07,0xee,0x12,0x22, +0x00,0x28,0x00,0x00,0x10,0x03,0x02,0xac,0x05,0x35,0x01,0x73,0xff,0xff,0x00,0x71, +0xff,0xe3,0x04,0x7f,0x06,0x7b,0x12,0x22,0x00,0x48,0x00,0x00,0x10,0x03,0x02,0xac, +0x05,0x1f,0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x04,0x8b,0x07,0x45,0x12,0x22, +0x00,0x28,0x00,0x00,0x10,0x43,0x02,0x90,0x00,0xb9,0x02,0x4c,0x40,0x00,0x33,0x33, +0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x7f,0x06,0x37,0x12,0x22,0x00,0x48,0x00,0x00, +0x10,0x03,0x02,0x90,0x00,0x97,0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x05,0x67, +0x08,0x35,0x12,0x22,0x00,0x28,0x00,0x00,0x10,0x02,0x0b,0x02,0xee,0x00,0xff,0xff, +0x00,0x71,0xff,0xe3,0x05,0x41,0x06,0xc2,0x12,0x22,0x00,0x48,0x00,0x00,0x10,0x03, +0x0b,0x02,0xff,0xc8,0xfe,0x8d,0xff,0xff,0xff,0xec,0x00,0x00,0x04,0x8b,0x08,0x35, +0x12,0x22,0x00,0x28,0x00,0x00,0x10,0x02,0x0b,0x03,0xee,0x00,0xff,0xff,0xff,0xc6, +0xff,0xe3,0x04,0x7f,0x06,0xc2,0x12,0x22,0x00,0x48,0x00,0x00,0x10,0x03,0x0b,0x03, +0xff,0xc8,0xfe,0x8d,0xff,0xff,0x00,0xc9,0x00,0x00,0x04,0xf6,0x08,0x57,0x12,0x22, +0x00,0x28,0x00,0x00,0x10,0x02,0x0b,0x09,0xee,0x00,0xff,0xff,0x00,0x71,0xff,0xe3, +0x04,0xda,0x06,0xe4,0x12,0x22,0x00,0x48,0x00,0x00,0x10,0x03,0x0b,0x09,0xff,0xd2, +0xfe,0x8d,0xff,0xff,0x00,0xc9,0x00,0x00,0x04,0x8b,0x08,0x57,0x12,0x22,0x00,0x28, +0x00,0x00,0x10,0x02,0x0b,0x04,0xee,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x7f, +0x06,0xe4,0x12,0x22,0x00,0x48,0x00,0x00,0x10,0x03,0x0b,0x04,0xff,0xc8,0xfe,0x8d, +0xff,0xff,0x00,0xc9,0xfe,0x87,0x04,0x8b,0x07,0x6d,0x10,0x27,0x02,0xc6,0x04,0x9e, +0x00,0x00,0x12,0x02,0x00,0x8c,0x00,0x00,0xff,0xff,0x00,0x71,0xfe,0x87,0x04,0x7f, +0x06,0x66,0x10,0x27,0x02,0xc6,0x04,0x8b,0x00,0x00,0x12,0x02,0x00,0xac,0x00,0x00, +0xff,0xff,0x00,0xc9,0x00,0x00,0x02,0xb3,0x07,0xef,0x12,0x22,0x00,0x2c,0x00,0x00, +0x10,0x03,0x02,0xac,0x03,0xbc,0x01,0x74,0xff,0xff,0x00,0xc1,0x00,0x00,0x02,0xa1, +0x06,0x7b,0x12,0x22,0x00,0xf3,0x00,0x00,0x10,0x03,0x02,0xac,0x03,0xaa,0x00,0x00, +0xff,0xff,0x00,0xc8,0xfe,0x87,0x01,0x94,0x05,0xd5,0x10,0x27,0x02,0xc6,0x03,0x2e, +0x00,0x00,0x10,0x06,0x00,0x2c,0x00,0x00,0xff,0xff,0x00,0xb7,0xfe,0x87,0x01,0x83, +0x06,0x14,0x10,0x27,0x02,0xc6,0x03,0x1d,0x00,0x00,0x10,0x06,0x00,0x4c,0x00,0x00, +0xff,0xff,0x00,0x73,0xfe,0x87,0x05,0xd9,0x05,0xf0,0x10,0x27,0x02,0xc6,0x05,0x27, +0x00,0x00,0x10,0x06,0x00,0x32,0x00,0x00,0xff,0xff,0x00,0x71,0xfe,0x87,0x04,0x75, +0x04,0x7b,0x10,0x27,0x02,0xc6,0x04,0x73,0x00,0x00,0x10,0x06,0x00,0x52,0x00,0x00, +0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0xd9,0x07,0xee,0x12,0x22,0x00,0x32,0x00,0x00, +0x10,0x03,0x02,0xac,0x05,0xb3,0x01,0x73,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x75, +0x06,0x7b,0x12,0x22,0x00,0x52,0x00,0x00,0x10,0x03,0x02,0xac,0x04,0xfc,0x00,0x00, +0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0xe3,0x08,0x35,0x12,0x22,0x00,0x32,0x00,0x00, +0x10,0x02,0x0b,0x02,0x6a,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x05,0x2f,0x06,0xc2, +0x12,0x22,0x00,0x52,0x00,0x00,0x10,0x03,0x0b,0x02,0xff,0xb6,0xfe,0x8d,0xff,0xff, +0x00,0x68,0xff,0xe3,0x05,0xd9,0x08,0x35,0x12,0x22,0x00,0x32,0x00,0x00,0x10,0x02, +0x0b,0x03,0x6a,0x00,0xff,0xff,0xff,0xb4,0xff,0xe3,0x04,0x75,0x06,0xc2,0x12,0x22, +0x00,0x52,0x00,0x00,0x10,0x03,0x0b,0x03,0xff,0xb6,0xfe,0x8d,0xff,0xff,0x00,0x73, +0xff,0xe3,0x05,0xd9,0x08,0x57,0x12,0x22,0x00,0x32,0x00,0x00,0x10,0x02,0x0b,0x09, +0x6a,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0xbe,0x06,0xe4,0x12,0x22,0x00,0x52, +0x00,0x00,0x10,0x03,0x0b,0x09,0xff,0xb6,0xfe,0x8d,0xff,0xff,0x00,0x73,0xff,0xe3, +0x05,0xd9,0x08,0x57,0x12,0x22,0x00,0x32,0x00,0x00,0x10,0x02,0x0b,0x04,0x6a,0x00, +0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x75,0x06,0xe4,0x12,0x22,0x00,0x52,0x00,0x00, +0x10,0x03,0x0b,0x04,0xff,0xb6,0xfe,0x8d,0xff,0xff,0x00,0x73,0xfe,0x87,0x05,0xd9, +0x07,0x6d,0x10,0x27,0x02,0xc6,0x05,0x27,0x00,0x00,0x12,0x02,0x00,0x96,0x00,0x00, +0xff,0xff,0x00,0x71,0xfe,0x87,0x04,0x75,0x06,0x66,0x10,0x27,0x02,0xc6,0x04,0x73, +0x00,0x00,0x12,0x02,0x00,0xb6,0x00,0x00,0xff,0xff,0x00,0x67,0xff,0xe3,0x06,0xdb, +0x07,0x6b,0x12,0x22,0x01,0x62,0x00,0x00,0x10,0x43,0x00,0x76,0x00,0xa9,0x02,0xf0, +0x40,0x00,0x2c,0xcc,0xff,0xff,0x00,0x76,0xff,0xe3,0x05,0x74,0x06,0x66,0x12,0x22, +0x01,0x63,0x00,0x00,0x10,0x02,0x00,0x76,0x16,0x00,0xff,0xff,0x00,0x67,0xff,0xe3, +0x06,0xdb,0x07,0x6b,0x12,0x22,0x01,0x62,0x00,0x00,0x10,0x43,0x00,0x43,0x01,0x85, +0x02,0xf0,0x40,0x00,0x2c,0xcc,0xff,0xff,0x00,0x76,0xff,0xe3,0x05,0x74,0x06,0x66, +0x12,0x22,0x01,0x63,0x00,0x00,0x10,0x03,0x00,0x43,0x00,0xe6,0x00,0x00,0xff,0xff, +0x00,0x67,0xff,0xe3,0x06,0xdb,0x07,0xee,0x12,0x22,0x01,0x62,0x00,0x00,0x10,0x03, +0x02,0xac,0x05,0xb3,0x01,0x73,0xff,0xff,0x00,0x76,0xff,0xe3,0x05,0x74,0x06,0x7b, +0x12,0x22,0x01,0x63,0x00,0x00,0x10,0x03,0x02,0xac,0x04,0xfc,0x00,0x00,0xff,0xff, +0x00,0x67,0xff,0xe3,0x06,0xdb,0x07,0x45,0x12,0x22,0x01,0x62,0x00,0x00,0x10,0x43, +0x02,0x90,0x01,0x0a,0x02,0x4c,0x40,0x00,0x33,0x33,0xff,0xff,0x00,0x76,0xff,0xe3, +0x05,0x74,0x06,0x37,0x12,0x22,0x01,0x63,0x00,0x00,0x10,0x02,0x02,0x90,0x5e,0x00, +0xff,0xff,0x00,0x67,0xfe,0x87,0x06,0xdb,0x05,0xf0,0x10,0x27,0x02,0xc6,0x05,0x27, +0x00,0x00,0x12,0x02,0x01,0x62,0x00,0x00,0xff,0xff,0x00,0x76,0xfe,0x87,0x05,0x74, +0x04,0x7b,0x10,0x27,0x02,0xc6,0x04,0x73,0x00,0x00,0x12,0x02,0x01,0x63,0x00,0x00, +0xff,0xff,0x00,0xb2,0xfe,0x87,0x05,0x29,0x05,0xd5,0x10,0x27,0x02,0xc6,0x04,0xf5, +0x00,0x00,0x10,0x06,0x00,0x38,0x00,0x00,0xff,0xff,0x00,0xae,0xfe,0x87,0x04,0x58, +0x04,0x60,0x10,0x27,0x02,0xc6,0x04,0x7b,0x00,0x00,0x10,0x06,0x00,0x58,0x00,0x00, +0xff,0xff,0x00,0xb2,0xff,0xe3,0x05,0x29,0x07,0xee,0x12,0x22,0x00,0x38,0x00,0x00, +0x10,0x03,0x02,0xac,0x05,0x67,0x01,0x73,0xff,0xff,0x00,0xae,0xff,0xe3,0x04,0x58, +0x06,0x7b,0x12,0x22,0x00,0x58,0x00,0x00,0x10,0x03,0x02,0xac,0x05,0x14,0x00,0x00, +0xff,0xff,0x00,0xad,0xff,0xf7,0x06,0x6a,0x07,0x6b,0x12,0x22,0x01,0x71,0x00,0x00, +0x10,0x43,0x00,0x76,0x00,0xa3,0x02,0xf0,0x40,0x00,0x2c,0xcc,0xff,0xff,0x00,0xb0, +0xff,0xe3,0x05,0xa1,0x06,0x66,0x12,0x22,0x01,0x72,0x00,0x00,0x10,0x02,0x00,0x76, +0x1c,0x00,0xff,0xff,0x00,0xad,0xff,0xf7,0x06,0x6a,0x07,0x6b,0x12,0x22,0x01,0x71, +0x00,0x00,0x10,0x43,0x00,0x43,0x01,0x4b,0x02,0xf0,0x40,0x00,0x2c,0xcc,0xff,0xff, +0x00,0xb0,0xff,0xe3,0x05,0xa1,0x06,0x66,0x12,0x22,0x01,0x72,0x00,0x00,0x10,0x03, +0x00,0x43,0x00,0xbc,0x00,0x00,0xff,0xff,0x00,0xad,0xff,0xf7,0x06,0x6a,0x07,0xee, +0x12,0x22,0x01,0x71,0x00,0x00,0x10,0x03,0x02,0xac,0x05,0x67,0x01,0x73,0xff,0xff, +0x00,0xb0,0xff,0xe3,0x05,0xa1,0x06,0x7b,0x12,0x22,0x01,0x72,0x00,0x00,0x10,0x03, +0x02,0xac,0x05,0x14,0x00,0x00,0xff,0xff,0x00,0xad,0xff,0xf7,0x06,0x6a,0x07,0x45, +0x12,0x22,0x01,0x71,0x00,0x00,0x10,0x43,0x02,0x90,0x01,0x0c,0x02,0x4c,0x40,0x00, +0x33,0x33,0xff,0xff,0x00,0xb0,0xff,0xe3,0x05,0xa1,0x06,0x37,0x12,0x22,0x01,0x72, +0x00,0x00,0x10,0x03,0x02,0x90,0x00,0x80,0x00,0x00,0xff,0xff,0x00,0xad,0xfe,0x87, +0x06,0x6a,0x05,0xe9,0x10,0x27,0x02,0xc6,0x04,0xf5,0x00,0x00,0x12,0x02,0x01,0x71, +0x00,0x00,0xff,0xff,0x00,0xb0,0xfe,0x87,0x05,0xa1,0x04,0x71,0x10,0x27,0x02,0xc6, +0x04,0x7b,0x00,0x00,0x12,0x02,0x01,0x72,0x00,0x00,0xff,0xff,0xff,0xfc,0x00,0x00, +0x04,0xe7,0x07,0x72,0x10,0x27,0x0b,0xec,0x04,0x72,0x01,0x7c,0x12,0x06,0x00,0x3c, +0x00,0x00,0xff,0xff,0x00,0x3d,0xfe,0x56,0x04,0x7f,0x06,0x6b,0x10,0x26,0x00,0x43, +0x21,0x05,0x12,0x06,0x00,0x5c,0x00,0x00,0xff,0xff,0xff,0xfc,0xfe,0x82,0x04,0xe7, +0x05,0xd5,0x12,0x22,0x00,0x3c,0x00,0x00,0x10,0x03,0x02,0xc6,0x04,0x76,0xff,0xfb, +0xff,0xff,0x00,0x3d,0xfe,0x56,0x04,0x7f,0x04,0x60,0x12,0x22,0x00,0x5c,0x00,0x00, +0x10,0x03,0x02,0xc6,0x05,0x74,0x00,0x00,0xff,0xff,0xff,0xfc,0x00,0x00,0x04,0xe7, +0x07,0xee,0x12,0x22,0x00,0x3c,0x00,0x00,0x10,0x03,0x02,0xac,0x04,0xff,0x01,0x73, +0xff,0xff,0x00,0x3d,0xfe,0x56,0x04,0x7f,0x06,0x7b,0x12,0x22,0x00,0x5c,0x00,0x00, +0x10,0x03,0x02,0xac,0x04,0xf3,0x00,0x00,0xff,0xff,0xff,0xfc,0x00,0x00,0x04,0xe7, +0x07,0x45,0x12,0x22,0x00,0x3c,0x00,0x00,0x10,0x43,0x02,0x90,0x00,0x79,0x02,0x4c, +0x40,0x00,0x33,0x33,0xff,0xff,0x00,0x3d,0xfe,0x56,0x04,0x7f,0x06,0x37,0x12,0x22, +0x00,0x5c,0x00,0x00,0x10,0x02,0x02,0x90,0x77,0x00,0xff,0xff,0x00,0x71,0xff,0xe6, +0x04,0xe5,0x06,0x72,0x10,0x26,0x03,0x2a,0x00,0x00,0x10,0x06,0x07,0x2d,0x70,0x00, +0xff,0xff,0x00,0x71,0xff,0xe6,0x04,0xe5,0x06,0x72,0x10,0x26,0x03,0x2a,0x00,0x00, +0x10,0x06,0x07,0x65,0x48,0x00,0xff,0xff,0x00,0x71,0xff,0xe6,0x04,0xe5,0x06,0x72, +0x10,0x26,0x03,0x2a,0x00,0x00,0x10,0x07,0x07,0x3a,0x00,0x94,0x00,0x00,0xff,0xff, +0x00,0x71,0xff,0xe6,0x04,0xe5,0x06,0x72,0x10,0x26,0x03,0x2a,0x00,0x00,0x10,0x07, +0x07,0x47,0x00,0x84,0x00,0x00,0xff,0xff,0x00,0x71,0xff,0xe6,0x04,0xe5,0x06,0x72, +0x10,0x26,0x03,0x2a,0x00,0x00,0x10,0x07,0x07,0x3b,0x00,0x84,0x00,0x00,0xff,0xff, +0x00,0x71,0xff,0xe6,0x04,0xe5,0x06,0x72,0x10,0x26,0x03,0x2a,0x00,0x00,0x10,0x07, +0x07,0x48,0x00,0xa0,0x00,0x00,0xff,0xff,0x00,0x71,0xff,0xe6,0x04,0xe5,0x07,0xd0, +0x10,0x26,0x03,0x2a,0x00,0x00,0x10,0x06,0x07,0x3c,0x76,0x00,0xff,0xff,0x00,0x71, +0xff,0xe6,0x04,0xe5,0x07,0xd0,0x10,0x26,0x03,0x2a,0x00,0x00,0x10,0x06,0x07,0x49, +0x44,0x00,0xff,0xff,0x00,0x10,0x00,0x00,0x05,0x68,0x06,0x72,0x10,0x26,0x03,0x0b, +0x00,0x00,0x10,0x07,0x07,0x2d,0xff,0x23,0x00,0x00,0xff,0xff,0x00,0x10,0x00,0x00, +0x05,0x68,0x06,0x72,0x10,0x26,0x03,0x0b,0x00,0x00,0x10,0x07,0x07,0x65,0xfe,0xf3, +0x00,0x00,0xff,0xff,0x00,0x05,0x00,0x00,0x06,0xf4,0x06,0x72,0x10,0x27,0x03,0x0b, +0x01,0x8c,0x00,0x00,0x10,0x07,0x07,0x3a,0xff,0x7c,0x00,0x00,0xff,0xff,0x00,0x06, +0x00,0x00,0x06,0xf4,0x06,0x72,0x10,0x27,0x03,0x0b,0x01,0x8c,0x00,0x00,0x10,0x06, +0x07,0x47,0x88,0x00,0xff,0xff,0x00,0x07,0x00,0x00,0x06,0x16,0x06,0x72,0x10,0x27, +0x03,0x0b,0x00,0xae,0x00,0x00,0x10,0x07,0x07,0x3b,0xff,0x53,0x00,0x00,0xff,0xff, +0x00,0x04,0x00,0x00,0x06,0x58,0x06,0x72,0x10,0x27,0x03,0x0b,0x00,0xf0,0x00,0x00, +0x10,0x07,0x07,0x48,0xff,0x6f,0x00,0x00,0xff,0xff,0x00,0x07,0x00,0x00,0x05,0x99, +0x07,0xd0,0x10,0x26,0x03,0x0b,0x31,0x00,0x10,0x07,0x07,0x3c,0xff,0x51,0x00,0x00, +0xff,0xff,0x00,0x04,0x00,0x00,0x05,0xe0,0x07,0xd0,0x10,0x26,0x03,0x0b,0x78,0x00, +0x10,0x07,0x07,0x49,0xff,0x4e,0x00,0x00,0xff,0xff,0x00,0x85,0xff,0xe3,0x03,0xc8, +0x06,0x72,0x10,0x26,0x03,0x2e,0x00,0x00,0x10,0x06,0x07,0x2d,0x44,0x00,0xff,0xff, +0x00,0x85,0xff,0xe3,0x03,0xc8,0x06,0x72,0x10,0x26,0x03,0x2e,0x00,0x00,0x10,0x06, +0x07,0x65,0x39,0x00,0xff,0xff,0x00,0x85,0xff,0xe3,0x03,0xc8,0x06,0x72,0x10,0x26, +0x03,0x2e,0x00,0x00,0x10,0x06,0x07,0x3a,0x20,0x00,0xff,0xff,0x00,0x85,0xff,0xe3, +0x03,0xc8,0x06,0x72,0x10,0x26,0x03,0x2e,0x00,0x00,0x10,0x06,0x07,0x47,0x25,0x00, +0xff,0xff,0x00,0x85,0xff,0xe3,0x03,0xe3,0x06,0x72,0x10,0x26,0x03,0x2e,0x00,0x00, +0x10,0x06,0x07,0x3b,0x4f,0x00,0xff,0xff,0x00,0x85,0xff,0xe3,0x04,0x03,0x06,0x72, +0x10,0x26,0x03,0x2e,0x00,0x00,0x10,0x06,0x07,0x48,0x52,0x00,0xff,0xff,0x00,0x07, +0x00,0x00,0x05,0x2d,0x06,0x72,0x10,0x27,0x03,0x0f,0x00,0xa2,0x00,0x00,0x10,0x07, +0x07,0x2d,0xfe,0x81,0x00,0x00,0xff,0xff,0x00,0x07,0x00,0x00,0x05,0x2d,0x06,0x72, +0x10,0x27,0x03,0x0f,0x00,0xa2,0x00,0x00,0x10,0x07,0x07,0x65,0xfe,0x81,0x00,0x00, +0xff,0xff,0x00,0x05,0x00,0x00,0x07,0x37,0x06,0x72,0x10,0x27,0x03,0x0f,0x02,0xac, +0x00,0x00,0x10,0x07,0x07,0x3a,0xff,0x7c,0x00,0x00,0xff,0xff,0x00,0x06,0x00,0x00, +0x07,0x49,0x06,0x72,0x10,0x27,0x03,0x0f,0x02,0xbe,0x00,0x00,0x10,0x06,0x07,0x47, +0x88,0x00,0xff,0xff,0x00,0x07,0x00,0x00,0x06,0xad,0x06,0x72,0x10,0x27,0x03,0x0f, +0x02,0x22,0x00,0x00,0x10,0x07,0x07,0x3b,0xff,0x53,0x00,0x00,0xff,0xff,0x00,0x04, +0x00,0x00,0x06,0xe9,0x06,0x72,0x10,0x27,0x03,0x0f,0x02,0x5e,0x00,0x00,0x10,0x07, +0x07,0x48,0xff,0x6f,0x00,0x00,0xff,0xff,0x00,0xba,0xfe,0x56,0x04,0x64,0x06,0x72, +0x10,0x26,0x03,0x30,0x00,0x00,0x10,0x07,0x07,0x2d,0x00,0xa6,0x00,0x00,0xff,0xff, +0x00,0xba,0xfe,0x56,0x04,0x64,0x06,0x72,0x10,0x26,0x03,0x30,0x00,0x00,0x10,0x07, +0x07,0x65,0x00,0xa2,0x00,0x00,0xff,0xff,0x00,0xba,0xfe,0x56,0x04,0x64,0x06,0x72, +0x10,0x26,0x03,0x30,0x00,0x00,0x10,0x07,0x07,0x3a,0x00,0x80,0x00,0x00,0xff,0xff, +0x00,0xba,0xfe,0x56,0x04,0x64,0x06,0x72,0x10,0x26,0x03,0x30,0x00,0x00,0x10,0x06, +0x07,0x47,0x70,0x00,0xff,0xff,0x00,0xba,0xfe,0x56,0x04,0x64,0x06,0x72,0x10,0x26, +0x03,0x30,0x00,0x00,0x10,0x07,0x07,0x3b,0x00,0x84,0x00,0x00,0xff,0xff,0x00,0xba, +0xfe,0x56,0x04,0x64,0x06,0x72,0x10,0x26,0x03,0x30,0x00,0x00,0x10,0x07,0x07,0x48, +0x00,0xae,0x00,0x00,0xff,0xff,0x00,0xba,0xfe,0x56,0x04,0x64,0x07,0xd0,0x10,0x26, +0x03,0x30,0x00,0x00,0x10,0x07,0x07,0x3c,0x00,0x9c,0x00,0x00,0xff,0xff,0x00,0xba, +0xfe,0x56,0x04,0x64,0x07,0xd0,0x10,0x26,0x03,0x30,0x00,0x00,0x10,0x07,0x07,0x49, +0x00,0x87,0x00,0x00,0xff,0xff,0x00,0x07,0x00,0x00,0x05,0xe9,0x06,0x72,0x10,0x27, +0x03,0x11,0x00,0xae,0x00,0x00,0x10,0x07,0x07,0x2d,0xfe,0x81,0x00,0x00,0xff,0xff, +0x00,0x07,0x00,0x00,0x05,0xe6,0x06,0x72,0x10,0x27,0x03,0x11,0x00,0xab,0x00,0x00, +0x10,0x07,0x07,0x65,0xfe,0x81,0x00,0x00,0xff,0xff,0x00,0x05,0x00,0x00,0x07,0xe7, +0x06,0x72,0x10,0x27,0x03,0x11,0x02,0xac,0x00,0x00,0x10,0x07,0x07,0x3a,0xff,0x7c, +0x00,0x00,0xff,0xff,0x00,0x06,0x00,0x00,0x07,0xed,0x06,0x72,0x10,0x27,0x03,0x11, +0x02,0xb2,0x00,0x00,0x10,0x06,0x07,0x47,0x88,0x00,0xff,0xff,0x00,0x07,0x00,0x00, +0x07,0x6e,0x06,0x72,0x10,0x27,0x03,0x11,0x02,0x33,0x00,0x00,0x10,0x07,0x07,0x3b, +0xff,0x53,0x00,0x00,0xff,0xff,0x00,0x04,0x00,0x00,0x07,0x9f,0x06,0x72,0x10,0x27, +0x03,0x11,0x02,0x64,0x00,0x00,0x10,0x07,0x07,0x48,0xff,0x6f,0x00,0x00,0xff,0xff, +0x00,0x07,0x00,0x00,0x06,0xaf,0x07,0xd0,0x10,0x27,0x03,0x11,0x01,0x74,0x00,0x00, +0x10,0x07,0x07,0x3c,0xff,0x51,0x00,0x00,0xff,0xff,0x00,0x04,0x00,0x00,0x06,0xca, +0x07,0xd0,0x10,0x27,0x03,0x11,0x01,0x8f,0x00,0x00,0x10,0x07,0x07,0x49,0xff,0x4e, +0x00,0x00,0xff,0xff,0x00,0x9b,0x00,0x00,0x02,0x6e,0x06,0x72,0x10,0x26,0x03,0x32, +0x00,0x00,0x10,0x07,0x07,0x2d,0xff,0x15,0x00,0x00,0xff,0xff,0x00,0x91,0x00,0x00, +0x02,0x6e,0x06,0x72,0x10,0x26,0x03,0x32,0x00,0x00,0x10,0x07,0x07,0x65,0xff,0x0b, +0x00,0x00,0xff,0xff,0xff,0xb0,0x00,0x00,0x02,0xb9,0x06,0x72,0x10,0x26,0x03,0x32, +0x00,0x00,0x10,0x07,0x07,0x3a,0xff,0x27,0x00,0x00,0xff,0xff,0xff,0xba,0x00,0x00, +0x02,0xc7,0x06,0x72,0x10,0x26,0x03,0x32,0x00,0x00,0x10,0x07,0x07,0x47,0xff,0x3c, +0x00,0x00,0xff,0xff,0x00,0x05,0x00,0x00,0x02,0xe5,0x06,0x72,0x10,0x26,0x03,0x32, +0x00,0x00,0x10,0x07,0x07,0x3b,0xff,0x51,0x00,0x00,0xff,0xff,0xff,0xd2,0x00,0x00, +0x02,0xee,0x06,0x72,0x10,0x26,0x03,0x32,0x00,0x00,0x10,0x07,0x07,0x48,0xff,0x3d, +0x00,0x00,0xff,0xff,0xff,0xcb,0x00,0x00,0x02,0x6e,0x07,0xd0,0x10,0x26,0x03,0x32, +0x00,0x00,0x10,0x07,0x07,0x3c,0xff,0x15,0x00,0x00,0xff,0xff,0xff,0xc6,0x00,0x00, +0x02,0x6e,0x07,0xd0,0x10,0x26,0x03,0x32,0x00,0x00,0x10,0x07,0x07,0x49,0xff,0x10, +0x00,0x00,0xff,0xff,0x00,0x07,0x00,0x00,0x02,0x41,0x06,0x72,0x10,0x27,0x03,0x13, +0x00,0xae,0x00,0x00,0x10,0x07,0x07,0x2d,0xfe,0x81,0x00,0x00,0xff,0xff,0x00,0x07, +0x00,0x00,0x02,0x35,0x06,0x72,0x10,0x27,0x03,0x13,0x00,0xa2,0x00,0x00,0x10,0x07, +0x07,0x65,0xfe,0x81,0x00,0x00,0xff,0xff,0x00,0x05,0x00,0x00,0x04,0x4b,0x06,0x72, +0x10,0x27,0x03,0x13,0x02,0xb8,0x00,0x00,0x10,0x07,0x07,0x3a,0xff,0x7c,0x00,0x00, +0xff,0xff,0x00,0x06,0x00,0x00,0x04,0x4b,0x06,0x72,0x10,0x27,0x03,0x13,0x02,0xb8, +0x00,0x00,0x10,0x06,0x07,0x47,0x88,0x00,0xff,0xff,0x00,0x07,0x00,0x00,0x03,0xc7, +0x06,0x72,0x10,0x27,0x03,0x13,0x02,0x34,0x00,0x00,0x10,0x07,0x07,0x3b,0xff,0x53, +0x00,0x00,0xff,0xff,0x00,0x04,0x00,0x00,0x04,0x03,0x06,0x72,0x10,0x27,0x03,0x13, +0x02,0x70,0x00,0x00,0x10,0x07,0x07,0x48,0xff,0x6f,0x00,0x00,0xff,0xff,0x00,0x07, +0x00,0x00,0x03,0x22,0x07,0xd0,0x10,0x27,0x03,0x13,0x01,0x8f,0x00,0x00,0x10,0x07, +0x07,0x3c,0xff,0x51,0x00,0x00,0xff,0xff,0x00,0x04,0x00,0x00,0x03,0x29,0x07,0xd0, +0x10,0x27,0x03,0x13,0x01,0x96,0x00,0x00,0x10,0x07,0x07,0x49,0xff,0x4e,0x00,0x00, +0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x75,0x06,0x72,0x10,0x26,0x03,0x38,0x00,0x00, +0x10,0x06,0x07,0x2d,0x78,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x75,0x06,0x72, +0x10,0x26,0x03,0x38,0x00,0x00,0x10,0x06,0x07,0x65,0x6e,0x00,0xff,0xff,0x00,0x71, +0xff,0xe3,0x04,0x75,0x06,0x72,0x10,0x26,0x03,0x38,0x00,0x00,0x10,0x06,0x07,0x3a, +0x65,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x75,0x06,0x72,0x10,0x26,0x03,0x38, +0x00,0x00,0x10,0x06,0x07,0x47,0x54,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x75, +0x06,0x72,0x10,0x26,0x03,0x38,0x00,0x00,0x10,0x07,0x07,0x3b,0x00,0x88,0x00,0x00, +0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x75,0x06,0x72,0x10,0x26,0x03,0x38,0x00,0x00, +0x10,0x07,0x07,0x48,0x00,0x91,0x00,0x00,0xff,0xff,0x00,0x07,0xff,0xe3,0x05,0xfc, +0x06,0x72,0x10,0x26,0x03,0x19,0x23,0x00,0x10,0x07,0x07,0x2d,0xfe,0x81,0x00,0x00, +0xff,0xff,0x00,0x07,0xff,0xe3,0x06,0x56,0x06,0x72,0x10,0x26,0x03,0x19,0x7d,0x00, +0x10,0x07,0x07,0x65,0xfe,0x81,0x00,0x00,0xff,0xff,0x00,0x05,0xff,0xe3,0x08,0x4f, +0x06,0x72,0x10,0x27,0x03,0x19,0x02,0x76,0x00,0x00,0x10,0x07,0x07,0x3a,0xff,0x7c, +0x00,0x00,0xff,0xff,0x00,0x06,0xff,0xe3,0x08,0x59,0x06,0x72,0x10,0x27,0x03,0x19, +0x02,0x80,0x00,0x00,0x10,0x06,0x07,0x47,0x88,0x00,0xff,0xff,0x00,0x07,0xff,0xe3, +0x07,0x0f,0x06,0x72,0x10,0x27,0x03,0x19,0x01,0x36,0x00,0x00,0x10,0x07,0x07,0x3b, +0xff,0x53,0x00,0x00,0xff,0xff,0x00,0x04,0xff,0xe3,0x07,0x50,0x06,0x72,0x10,0x27, +0x03,0x19,0x01,0x77,0x00,0x00,0x10,0x07,0x07,0x48,0xff,0x6f,0x00,0x00,0xff,0xff, +0x00,0x95,0xff,0xff,0x04,0x2a,0x06,0x72,0x10,0x26,0x03,0x3e,0x00,0x00,0x10,0x06, +0x07,0x2d,0x3d,0x00,0xff,0xff,0x00,0x95,0xff,0xff,0x04,0x2a,0x06,0x72,0x10,0x26, +0x03,0x3e,0x00,0x00,0x10,0x06,0x07,0x65,0x1b,0x00,0xff,0xff,0x00,0x95,0xff,0xff, +0x04,0x2a,0x06,0x72,0x10,0x26,0x03,0x3e,0x00,0x00,0x10,0x06,0x07,0x3a,0x27,0x00, +0xff,0xff,0x00,0x95,0xff,0xff,0x04,0x2a,0x06,0x72,0x10,0x26,0x03,0x3e,0x00,0x00, +0x10,0x06,0x07,0x47,0x21,0x00,0xff,0xff,0x00,0x95,0xff,0xff,0x04,0x2a,0x06,0x72, +0x10,0x26,0x03,0x3e,0x00,0x00,0x10,0x06,0x07,0x3b,0x60,0x00,0xff,0xff,0x00,0x95, +0xff,0xff,0x04,0x2a,0x06,0x72,0x10,0x26,0x03,0x3e,0x00,0x00,0x10,0x06,0x07,0x48, +0x57,0x00,0xff,0xff,0x00,0x95,0xff,0xff,0x04,0x2a,0x07,0xd0,0x10,0x26,0x03,0x3e, +0x00,0x00,0x10,0x06,0x07,0x3c,0x38,0x00,0xff,0xff,0x00,0x95,0xff,0xff,0x04,0x2a, +0x07,0xd0,0x10,0x26,0x03,0x3e,0x00,0x00,0x10,0x06,0x07,0x49,0x18,0x00,0xff,0xff, +0x00,0x07,0x00,0x00,0x06,0x49,0x06,0x72,0x10,0x27,0x03,0x1e,0x01,0x62,0x00,0x00, +0x10,0x07,0x07,0x65,0xfe,0x81,0x00,0x00,0xff,0xff,0x00,0x06,0x00,0x00,0x07,0xff, +0x06,0x72,0x10,0x27,0x03,0x1e,0x03,0x18,0x00,0x00,0x10,0x06,0x07,0x47,0x88,0x00, +0xff,0xff,0x00,0x04,0x00,0x00,0x08,0x1d,0x06,0x72,0x10,0x27,0x03,0x1e,0x03,0x36, +0x00,0x00,0x10,0x07,0x07,0x48,0xff,0x6f,0x00,0x00,0xff,0xff,0x00,0x04,0x00,0x00, +0x07,0x33,0x07,0xd0,0x10,0x27,0x03,0x1e,0x02,0x4c,0x00,0x00,0x10,0x07,0x07,0x49, +0xff,0x4e,0x00,0x00,0xff,0xff,0x00,0x87,0xff,0xff,0x06,0x28,0x06,0x72,0x10,0x26, +0x03,0x42,0x00,0x00,0x10,0x07,0x07,0x2d,0x01,0x5e,0x00,0x00,0xff,0xff,0x00,0x87, +0xff,0xff,0x06,0x28,0x06,0x72,0x10,0x26,0x03,0x42,0x00,0x00,0x10,0x07,0x07,0x65, +0x01,0x54,0x00,0x00,0xff,0xff,0x00,0x87,0xff,0xff,0x06,0x28,0x06,0x72,0x10,0x26, +0x03,0x42,0x00,0x00,0x10,0x07,0x07,0x3a,0x01,0x59,0x00,0x00,0xff,0xff,0x00,0x87, +0xff,0xff,0x06,0x28,0x06,0x72,0x10,0x26,0x03,0x42,0x00,0x00,0x10,0x07,0x07,0x47, +0x01,0x5e,0x00,0x00,0xff,0xff,0x00,0x87,0xff,0xff,0x06,0x28,0x06,0x72,0x10,0x26, +0x03,0x42,0x00,0x00,0x10,0x07,0x07,0x3b,0x01,0xa4,0x00,0x00,0xff,0xff,0x00,0x87, +0xff,0xff,0x06,0x28,0x06,0x72,0x10,0x26,0x03,0x42,0x00,0x00,0x10,0x07,0x07,0x48, +0x01,0x8b,0x00,0x00,0xff,0xff,0x00,0x87,0xff,0xff,0x06,0x28,0x07,0xd0,0x10,0x26, +0x03,0x42,0x00,0x00,0x10,0x07,0x07,0x3c,0x01,0x63,0x00,0x00,0xff,0xff,0x00,0x87, +0xff,0xff,0x06,0x28,0x07,0xd0,0x10,0x26,0x03,0x42,0x00,0x00,0x10,0x07,0x07,0x49, +0x01,0x5e,0x00,0x00,0xff,0xff,0x00,0x07,0x00,0x00,0x06,0x1d,0x06,0x72,0x10,0x26, +0x03,0x22,0x4e,0x00,0x10,0x07,0x07,0x2d,0xfe,0x81,0x00,0x00,0xff,0xff,0x00,0x07, +0x00,0x00,0x06,0x71,0x06,0x72,0x10,0x27,0x03,0x22,0x00,0xa2,0x00,0x00,0x10,0x07, +0x07,0x65,0xfe,0x81,0x00,0x00,0xff,0xff,0x00,0x05,0x00,0x00,0x08,0x69,0x06,0x72, +0x10,0x27,0x03,0x22,0x02,0x9a,0x00,0x00,0x10,0x07,0x07,0x3a,0xff,0x7c,0x00,0x00, +0xff,0xff,0x00,0x06,0x00,0x00,0x08,0x75,0x06,0x72,0x10,0x27,0x03,0x22,0x02,0xa6, +0x00,0x00,0x10,0x06,0x07,0x47,0x88,0x00,0xff,0xff,0x00,0x07,0x00,0x00,0x07,0x43, +0x06,0x72,0x10,0x27,0x03,0x22,0x01,0x74,0x00,0x00,0x10,0x07,0x07,0x3b,0xff,0x53, +0x00,0x00,0xff,0xff,0x00,0x04,0x00,0x00,0x07,0x79,0x06,0x72,0x10,0x27,0x03,0x22, +0x01,0xaa,0x00,0x00,0x10,0x07,0x07,0x48,0xff,0x6f,0x00,0x00,0xff,0xff,0x00,0x07, +0x00,0x00,0x07,0x11,0x07,0xd0,0x10,0x27,0x03,0x22,0x01,0x42,0x00,0x00,0x10,0x07, +0x07,0x3c,0xff,0x51,0x00,0x00,0xff,0xff,0x00,0x04,0x00,0x00,0x07,0x50,0x07,0xd0, +0x10,0x27,0x03,0x22,0x01,0x81,0x00,0x00,0x10,0x07,0x07,0x49,0xff,0x4e,0x00,0x00, +0xff,0xff,0x00,0x71,0xff,0xe6,0x04,0xe5,0x06,0x66,0x10,0x26,0x03,0x2a,0x00,0x00, +0x10,0x06,0x07,0x59,0x74,0x00,0xff,0xff,0x00,0x71,0xff,0xe6,0x04,0xe5,0x06,0x66, +0x10,0x06,0x03,0x25,0x00,0x00,0xff,0xff,0x00,0x85,0xff,0xe3,0x03,0xc8,0x06,0x66, +0x10,0x26,0x03,0x2e,0x00,0x00,0x10,0x06,0x07,0x59,0x54,0x00,0xff,0xff,0x00,0x85, +0xff,0xe3,0x03,0xc8,0x06,0x66,0x10,0x06,0x03,0x26,0x00,0x00,0xff,0xff,0x00,0xba, +0xfe,0x56,0x04,0x64,0x06,0x66,0x10,0x26,0x03,0x30,0x00,0x00,0x10,0x07,0x07,0x59, +0x00,0xc6,0x00,0x00,0xff,0xff,0x00,0xba,0xfe,0x56,0x04,0x64,0x06,0x66,0x10,0x06, +0x03,0x27,0x00,0x00,0xff,0xff,0xff,0x8d,0x00,0x00,0x02,0x6e,0x06,0x66,0x10,0x26, +0x03,0x32,0x00,0x00,0x10,0x07,0x07,0x59,0xfe,0xe3,0x00,0x00,0xff,0xff,0x00,0xa6, +0x00,0x00,0x02,0x98,0x06,0x66,0x10,0x06,0x03,0x28,0x00,0x00,0xff,0xff,0x00,0x71, +0xff,0xe3,0x04,0x75,0x06,0x66,0x10,0x26,0x03,0x38,0x00,0x00,0x10,0x06,0x07,0x59, +0x7b,0x00,0xff,0xff,0x00,0x71,0xff,0xe3,0x04,0x75,0x06,0x66,0x10,0x06,0x03,0x45, +0x00,0x00,0xff,0xff,0x00,0x95,0xff,0xff,0x04,0x2a,0x06,0x66,0x10,0x26,0x03,0x3e, +0x00,0x00,0x10,0x06,0x07,0x59,0x30,0x00,0xff,0xff,0x00,0x95,0xff,0xff,0x04,0x2a, +0x06,0x66,0x10,0x06,0x03,0x46,0x00,0x00,0xff,0xff,0x00,0x87,0xff,0xff,0x06,0x28, +0x06,0x66,0x10,0x26,0x03,0x42,0x00,0x00,0x10,0x07,0x07,0x59,0x01,0x4d,0x00,0x00, +0xff,0xff,0x00,0x87,0xff,0xff,0x06,0x28,0x06,0x66,0x10,0x06,0x03,0x47,0x00,0x00, +0xff,0xff,0x00,0x71,0xfe,0x56,0x04,0xe5,0x06,0x72,0x10,0x26,0x06,0x7d,0x00,0x00, +0x10,0x06,0x02,0xfe,0x48,0x00,0xff,0xff,0x00,0x71,0xfe,0x56,0x04,0xe5,0x06,0x72, +0x10,0x26,0x06,0x7e,0x00,0x00,0x10,0x06,0x02,0xfe,0x48,0x00,0xff,0xff,0x00,0x71, +0xfe,0x56,0x04,0xe5,0x06,0x72,0x10,0x26,0x06,0x7f,0x00,0x00,0x10,0x06,0x02,0xfe, +0x48,0x00,0xff,0xff,0x00,0x71,0xfe,0x56,0x04,0xe5,0x06,0x72,0x10,0x26,0x06,0x80, +0x00,0x00,0x10,0x06,0x02,0xfe,0x48,0x00,0xff,0xff,0x00,0x71,0xfe,0x56,0x04,0xe5, +0x06,0x72,0x10,0x26,0x06,0x81,0x00,0x00,0x10,0x06,0x02,0xfe,0x48,0x00,0xff,0xff, +0x00,0x71,0xfe,0x56,0x04,0xe5,0x06,0x72,0x10,0x26,0x06,0x82,0x00,0x00,0x10,0x06, +0x02,0xfe,0x48,0x00,0xff,0xff,0x00,0x71,0xfe,0x56,0x04,0xe5,0x07,0xd0,0x10,0x26, +0x06,0x83,0x00,0x00,0x10,0x06,0x02,0xfe,0x48,0x00,0xff,0xff,0x00,0x71,0xfe,0x56, +0x04,0xe5,0x07,0xd0,0x10,0x26,0x06,0x84,0x00,0x00,0x10,0x06,0x02,0xfe,0x48,0x00, +0xff,0xff,0x00,0x10,0xfe,0x56,0x05,0x68,0x06,0x72,0x10,0x26,0x06,0x85,0x00,0x00, +0x10,0x07,0x07,0x2c,0x00,0xba,0x00,0x00,0xff,0xff,0x00,0x10,0xfe,0x56,0x05,0x68, +0x06,0x72,0x10,0x26,0x06,0x86,0x00,0x00,0x10,0x07,0x07,0x2c,0x00,0xba,0x00,0x00, +0xff,0xff,0x00,0x05,0xfe,0x56,0x06,0xf4,0x06,0x72,0x10,0x26,0x06,0x87,0x00,0x00, +0x10,0x07,0x07,0x2c,0x02,0x46,0x00,0x00,0xff,0xff,0x00,0x06,0xfe,0x56,0x06,0xf4, +0x06,0x72,0x10,0x26,0x06,0x88,0x00,0x00,0x10,0x07,0x07,0x2c,0x02,0x46,0x00,0x00, +0xff,0xff,0x00,0x07,0xfe,0x56,0x06,0x16,0x06,0x72,0x10,0x26,0x06,0x89,0x00,0x00, +0x10,0x07,0x07,0x2c,0x01,0x68,0x00,0x00,0xff,0xff,0x00,0x04,0xfe,0x56,0x06,0x58, +0x06,0x72,0x10,0x26,0x06,0x8a,0x00,0x00,0x10,0x07,0x07,0x2c,0x01,0xaa,0x00,0x00, +0xff,0xff,0x00,0x07,0xfe,0x56,0x05,0x99,0x07,0xd0,0x10,0x26,0x06,0x8b,0x00,0x00, +0x10,0x07,0x07,0x2c,0x00,0xeb,0x00,0x00,0xff,0xff,0x00,0x04,0xfe,0x56,0x05,0xe0, +0x07,0xd0,0x10,0x26,0x06,0x8c,0x00,0x00,0x10,0x07,0x07,0x2c,0x01,0x32,0x00,0x00, +0xff,0xff,0x00,0xba,0xfe,0x56,0x04,0x64,0x06,0x72,0x10,0x26,0x06,0x99,0x00,0x00, +0x10,0x07,0x02,0xfe,0xff,0x38,0x00,0x00,0xff,0xff,0x00,0xba,0xfe,0x56,0x04,0x64, +0x06,0x72,0x10,0x26,0x06,0x9a,0x00,0x00,0x10,0x07,0x02,0xfe,0xff,0x38,0x00,0x00, +0xff,0xff,0x00,0xba,0xfe,0x56,0x04,0x64,0x06,0x72,0x10,0x26,0x06,0x9b,0x00,0x00, +0x10,0x07,0x02,0xfe,0xff,0x38,0x00,0x00,0xff,0xff,0x00,0xba,0xfe,0x56,0x04,0x64, +0x06,0x72,0x10,0x26,0x06,0x9c,0x00,0x00,0x10,0x07,0x02,0xfe,0xff,0x38,0x00,0x00, +0xff,0xff,0x00,0xba,0xfe,0x56,0x04,0x64,0x06,0x72,0x10,0x26,0x06,0x9d,0x00,0x00, +0x10,0x07,0x02,0xfe,0xff,0x38,0x00,0x00,0xff,0xff,0x00,0xba,0xfe,0x56,0x04,0x64, +0x06,0x72,0x10,0x26,0x06,0x9e,0x00,0x00,0x10,0x07,0x02,0xfe,0xff,0x38,0x00,0x00, +0xff,0xff,0x00,0xba,0xfe,0x56,0x04,0x64,0x07,0xd0,0x10,0x26,0x06,0x9f,0x00,0x00, +0x10,0x07,0x02,0xfe,0xff,0x38,0x00,0x00,0xff,0xff,0x00,0xba,0xfe,0x56,0x04,0x64, +0x07,0xd0,0x10,0x26,0x06,0xa0,0x00,0x00,0x10,0x07,0x02,0xfe,0xff,0x38,0x00,0x00, +0xff,0xff,0x00,0x07,0xfe,0x56,0x05,0xe9,0x06,0x72,0x10,0x26,0x06,0xa1,0x00,0x00, +0x10,0x07,0x07,0x2c,0x01,0x9e,0x00,0x00,0xff,0xff,0x00,0x07,0xfe,0x56,0x05,0xe6, +0x06,0x72,0x10,0x26,0x06,0xa2,0x00,0x00,0x10,0x07,0x07,0x2c,0x01,0x9b,0x00,0x00, +0xff,0xff,0x00,0x05,0xfe,0x56,0x07,0xe7,0x06,0x72,0x10,0x26,0x06,0xa3,0x00,0x00, +0x10,0x07,0x07,0x2c,0x03,0x9c,0x00,0x00,0xff,0xff,0x00,0x06,0xfe,0x56,0x07,0xed, +0x06,0x72,0x10,0x26,0x06,0xa4,0x00,0x00,0x10,0x07,0x07,0x2c,0x03,0xa2,0x00,0x00, +0xff,0xff,0x00,0x07,0xfe,0x56,0x07,0x6e,0x06,0x72,0x10,0x26,0x06,0xa5,0x00,0x00, +0x10,0x07,0x07,0x2c,0x03,0x23,0x00,0x00,0xff,0xff,0x00,0x04,0xfe,0x56,0x07,0x9f, +0x06,0x72,0x10,0x26,0x06,0xa6,0x00,0x00,0x10,0x07,0x07,0x2c,0x03,0x54,0x00,0x00, +0xff,0xff,0x00,0x07,0xfe,0x56,0x06,0xaf,0x07,0xd0,0x10,0x26,0x06,0xa7,0x00,0x00, +0x10,0x07,0x07,0x2c,0x02,0x64,0x00,0x00,0xff,0xff,0x00,0x04,0xfe,0x56,0x06,0xca, +0x07,0xd0,0x10,0x26,0x06,0xa8,0x00,0x00,0x10,0x07,0x07,0x2c,0x02,0x7f,0x00,0x00, +0xff,0xff,0x00,0x87,0xfe,0x56,0x06,0x28,0x06,0x72,0x10,0x26,0x06,0xd1,0x00,0x00, +0x10,0x07,0x02,0xfe,0x01,0x59,0x00,0x00,0xff,0xff,0x00,0x87,0xfe,0x56,0x06,0x28, +0x06,0x72,0x10,0x26,0x06,0xd2,0x00,0x00,0x10,0x07,0x02,0xfe,0x01,0x59,0x00,0x00, +0xff,0xff,0x00,0x87,0xfe,0x56,0x06,0x28,0x06,0x72,0x10,0x26,0x06,0xd3,0x00,0x00, +0x10,0x07,0x02,0xfe,0x01,0x59,0x00,0x00,0xff,0xff,0x00,0x87,0xfe,0x56,0x06,0x28, +0x06,0x72,0x10,0x26,0x06,0xd4,0x00,0x00,0x10,0x07,0x02,0xfe,0x01,0x59,0x00,0x00, +0xff,0xff,0x00,0x87,0xfe,0x56,0x06,0x28,0x06,0x72,0x10,0x26,0x06,0xd5,0x00,0x00, +0x10,0x07,0x02,0xfe,0x01,0x59,0x00,0x00,0xff,0xff,0x00,0x87,0xfe,0x56,0x06,0x28, +0x06,0x72,0x10,0x26,0x06,0xd6,0x00,0x00,0x10,0x07,0x02,0xfe,0x01,0x59,0x00,0x00, +0xff,0xff,0x00,0x87,0xfe,0x56,0x06,0x28,0x07,0xd0,0x10,0x26,0x06,0xd7,0x00,0x00, +0x10,0x07,0x02,0xfe,0x01,0x59,0x00,0x00,0xff,0xff,0x00,0x87,0xfe,0x56,0x06,0x28, +0x07,0xd0,0x10,0x26,0x06,0xd8,0x00,0x00,0x10,0x07,0x02,0xfe,0x01,0x59,0x00,0x00, +0xff,0xff,0x00,0x07,0xfe,0x56,0x06,0x1d,0x06,0x72,0x10,0x26,0x06,0xd9,0x00,0x00, +0x10,0x07,0x07,0x2c,0x01,0x5c,0x00,0x00,0xff,0xff,0x00,0x07,0xfe,0x56,0x06,0x71, +0x06,0x72,0x10,0x26,0x06,0xda,0x00,0x00,0x10,0x07,0x07,0x2c,0x01,0xb0,0x00,0x00, +0xff,0xff,0x00,0x05,0xfe,0x56,0x08,0x69,0x06,0x72,0x10,0x26,0x06,0xdb,0x00,0x00, +0x10,0x07,0x07,0x2c,0x03,0xa8,0x00,0x00,0xff,0xff,0x00,0x06,0xfe,0x56,0x08,0x75, +0x06,0x72,0x10,0x26,0x06,0xdc,0x00,0x00,0x10,0x07,0x07,0x2c,0x03,0xb4,0x00,0x00, +0xff,0xff,0x00,0x07,0xfe,0x56,0x07,0x43,0x06,0x72,0x10,0x26,0x06,0xdd,0x00,0x00, +0x10,0x07,0x07,0x2c,0x02,0x82,0x00,0x00,0xff,0xff,0x00,0x04,0xfe,0x56,0x07,0x79, +0x06,0x72,0x10,0x26,0x06,0xde,0x00,0x00,0x10,0x07,0x07,0x2c,0x02,0xb8,0x00,0x00, +0xff,0xff,0x00,0x07,0xfe,0x56,0x07,0x11,0x07,0xd0,0x10,0x26,0x06,0xdf,0x00,0x00, +0x10,0x07,0x07,0x2c,0x02,0x50,0x00,0x00,0xff,0xff,0x00,0x04,0xfe,0x56,0x07,0x50, +0x07,0xd0,0x10,0x26,0x06,0xe0,0x00,0x00,0x10,0x07,0x07,0x2c,0x02,0x8f,0x00,0x00, +0xff,0xff,0x00,0x71,0xff,0xe6,0x04,0xe5,0x06,0x48,0x10,0x26,0x03,0x2a,0x00,0x00, +0x10,0x06,0x02,0x8c,0x7a,0x00,0xff,0xff,0x00,0x71,0xff,0xe6,0x04,0xe5,0x05,0xf6, +0x10,0x26,0x03,0x2a,0x00,0x00,0x10,0x06,0x00,0x71,0x79,0x00,0xff,0xff,0x00,0x71, +0xfe,0x56,0x04,0xe5,0x06,0x66,0x10,0x26,0x06,0xe1,0x00,0x00,0x10,0x06,0x02,0xfe, +0x48,0x00,0xff,0xff,0x00,0x71,0xfe,0x56,0x04,0xe5,0x04,0x7a,0x10,0x26,0x03,0x2a, +0x00,0x00,0x10,0x06,0x02,0xfe,0x48,0x00,0xff,0xff,0x00,0x71,0xfe,0x56,0x04,0xe5, +0x06,0x66,0x10,0x26,0x03,0x25,0x00,0x00,0x10,0x06,0x02,0xfe,0x48,0x00,0xff,0xff, +0x00,0x71,0xff,0xe6,0x04,0xe5,0x06,0x37,0x10,0x26,0x03,0x2a,0x00,0x00,0x10,0x06, +0x07,0x2e,0x6e,0x00,0xff,0xff,0x00,0x71,0xfe,0x56,0x04,0xe5,0x06,0x37,0x10,0x26, +0x07,0x24,0x00,0x00,0x10,0x06,0x02,0xfe,0x48,0x00,0xff,0xff,0x00,0x10,0x00,0x00, +0x05,0x68,0x07,0x6d,0x10,0x26,0x03,0x0b,0x00,0x00,0x10,0x07,0x0b,0xf0,0x04,0xba, +0x01,0x75,0xff,0xff,0x00,0x10,0x00,0x00,0x05,0x68,0x07,0x31,0x10,0x26,0x03,0x0b, +0x00,0x00,0x10,0x07,0x00,0x71,0x00,0xbc,0x01,0x3b,0xff,0xff,0xff,0xfc,0x00,0x00, +0x05,0xaa,0x06,0x66,0x10,0x26,0x03,0x0b,0x42,0x00,0x10,0x07,0x07,0x59,0xff,0x52, +0x00,0x00,0xff,0xff,0x00,0x10,0x00,0x00,0x05,0x68,0x06,0x66,0x10,0x06,0x03,0x02, +0x00,0x00,0xff,0xff,0x00,0x10,0xfe,0x56,0x05,0x68,0x05,0xd5,0x10,0x26,0x03,0x0b, +0x00,0x00,0x10,0x07,0x07,0x2c,0x00,0xba,0x00,0x00,0xff,0xff,0x01,0x86,0x04,0xc2, +0x02,0x78,0x06,0x72,0x10,0x06,0x07,0x2d,0x00,0x00,0xff,0xff,0x01,0xb6,0xfe,0x56, +0x02,0x92,0xff,0xa4,0x10,0x06,0x02,0xfe,0x00,0x00,0x00,0x01,0x01,0x86,0x04,0xc2, +0x02,0x78,0x06,0x72,0x00,0x08,0x00,0x00,0x01,0x10,0x23,0x35,0x16,0x35,0x23,0x35, +0x33,0x02,0x78,0xf2,0x70,0x6f,0xf1,0x05,0xc3,0xfe,0xff,0x7b,0x03,0x89,0xaf,0x00, +0xff,0xff,0x00,0xb6,0x05,0x1d,0x03,0x4a,0x06,0x37,0x10,0x06,0x02,0x90,0x00,0x00, +0xff,0xff,0x00,0xb6,0x05,0x46,0x03,0x4a,0x07,0x95,0x12,0x26,0x00,0x6a,0x00,0x00, +0x10,0x07,0x07,0x2e,0x00,0x00,0x01,0x5e,0xff,0xff,0x00,0xba,0xfe,0x56,0x04,0x64, +0x06,0x66,0x10,0x26,0x06,0xe5,0x00,0x00,0x10,0x07,0x02,0xfe,0xff,0x38,0x00,0x00, +0xff,0xff,0x00,0xba,0xfe,0x56,0x04,0x64,0x04,0x7b,0x10,0x26,0x03,0x30,0x00,0x00, +0x10,0x07,0x02,0xfe,0xff,0x38,0x00,0x00,0xff,0xff,0x00,0xba,0xfe,0x56,0x04,0x64, +0x06,0x66,0x10,0x26,0x03,0x27,0x00,0x00,0x10,0x07,0x02,0xfe,0xff,0x38,0x00,0x00, +0xff,0xff,0x00,0xba,0xfe,0x56,0x04,0x64,0x06,0x37,0x10,0x26,0x03,0x30,0x00,0x00, +0x10,0x07,0x07,0x2e,0x00,0x90,0x00,0x00,0xff,0xff,0x00,0xba,0xfe,0x56,0x04,0x64, +0x06,0x37,0x10,0x26,0x07,0x33,0x00,0x00,0x10,0x07,0x02,0xfe,0xff,0x38,0x00,0x00, +0xff,0xff,0xff,0xfc,0x00,0x00,0x05,0xed,0x06,0x66,0x10,0x27,0x03,0x0f,0x01,0x62, +0x00,0x00,0x10,0x07,0x07,0x59,0xff,0x52,0x00,0x00,0xff,0xff,0xff,0xe7,0x00,0x00, +0x05,0x75,0x06,0x66,0x10,0x06,0x03,0x04,0x00,0x00,0xff,0xff,0xff,0xfc,0x00,0x00, +0x06,0xa9,0x06,0x66,0x10,0x27,0x03,0x11,0x01,0x6e,0x00,0x00,0x10,0x07,0x07,0x59, +0xff,0x52,0x00,0x00,0xff,0xff,0xff,0xf3,0x00,0x00,0x06,0x1f,0x06,0x66,0x10,0x06, +0x03,0x05,0x00,0x00,0xff,0xff,0x00,0xc9,0xfe,0x56,0x05,0x3b,0x05,0xd5,0x10,0x26, +0x03,0x11,0x00,0x00,0x10,0x07,0x07,0x2c,0x00,0xff,0x00,0x00,0xff,0xff,0x00,0x89, +0x04,0xc2,0x03,0x92,0x06,0x72,0x10,0x27,0x07,0x2d,0xff,0x03,0x00,0x00,0x10,0x07, +0x07,0x59,0x01,0x09,0x00,0x00,0xff,0xff,0x00,0xb4,0x04,0xc2,0x03,0x94,0x06,0x72, +0x10,0x27,0x07,0x2d,0xff,0x2e,0x00,0x00,0x10,0x06,0x07,0x64,0x42,0x00,0xff,0xff, +0x00,0xb6,0x04,0xc2,0x03,0x4a,0x07,0xd0,0x10,0x26,0x07,0x2d,0x00,0x00,0x10,0x07, +0x07,0x2e,0x00,0x00,0x01,0x99,0xff,0xff,0xff,0xeb,0x00,0x00,0x02,0x6e,0x06,0x48, +0x10,0x26,0x03,0x32,0x00,0x00,0x10,0x07,0x02,0x8c,0xff,0x24,0x00,0x00,0xff,0xff, +0xff,0xe3,0x00,0x00,0x02,0x6e,0x05,0xf6,0x10,0x26,0x03,0x32,0x00,0x00,0x10,0x07, +0x00,0x71,0xff,0x0e,0x00,0x00,0xff,0xff,0xff,0xd8,0x00,0x00,0x02,0x6e,0x07,0xd2, +0x10,0x26,0x03,0x32,0x00,0x00,0x10,0x07,0x07,0x57,0xff,0x2e,0x00,0x00,0xff,0xff, +0x00,0x05,0x00,0x00,0x02,0x80,0x07,0xd2,0x10,0x06,0x03,0x0a,0x00,0x00,0xff,0xff, +0xff,0xe4,0x00,0x00,0x02,0x78,0x06,0x37,0x10,0x26,0x03,0x32,0x00,0x00,0x10,0x07, +0x07,0x2e,0xff,0x2e,0x00,0x00,0xff,0xff,0xff,0xe6,0x00,0x00,0x02,0x7a,0x07,0x95, +0x10,0x26,0x03,0x32,0x00,0x00,0x10,0x07,0x07,0x2f,0xff,0x30,0x00,0x00,0xff,0xff, +0xff,0xf5,0x00,0x00,0x02,0x67,0x07,0x6d,0x10,0x26,0x03,0x13,0x00,0x00,0x10,0x07, +0x0b,0xf0,0x03,0x2e,0x01,0x75,0xff,0xff,0x00,0x04,0x00,0x00,0x02,0x5b,0x07,0x31, +0x10,0x26,0x03,0x13,0x00,0x00,0x10,0x07,0x00,0x71,0xff,0x30,0x01,0x3b,0xff,0xff, +0xff,0xfc,0x00,0x00,0x03,0x04,0x06,0x66,0x10,0x27,0x03,0x13,0x01,0x71,0x00,0x00, +0x10,0x07,0x07,0x59,0xff,0x52,0x00,0x00,0xff,0xff,0xff,0xed,0x00,0x00,0x02,0x7d, +0x06,0x66,0x10,0x06,0x03,0x06,0x00,0x00,0xff,0xff,0x00,0x7e,0x04,0xc2,0x03,0x8b, +0x06,0x72,0x10,0x27,0x07,0x65,0xfe,0xf8,0x00,0x00,0x10,0x07,0x07,0x59,0x01,0x02, +0x00,0x00,0xff,0xff,0x00,0x95,0x04,0xc2,0x03,0xb1,0x06,0x72,0x10,0x27,0x07,0x65, +0xff,0x0f,0x00,0x00,0x10,0x06,0x07,0x64,0x5f,0x00,0xff,0xff,0x00,0xb6,0x04,0xc2, +0x03,0x4a,0x07,0xd0,0x10,0x26,0x07,0x65,0x00,0x00,0x10,0x07,0x07,0x2e,0x00,0x00, +0x01,0x99,0xff,0xff,0x00,0x95,0xff,0xff,0x04,0x2a,0x06,0x48,0x10,0x26,0x03,0x3e, +0x00,0x00,0x10,0x06,0x02,0x8c,0x27,0x00,0xff,0xff,0x00,0x95,0xff,0xff,0x04,0x2a, +0x05,0xf6,0x10,0x26,0x03,0x3e,0x00,0x00,0x10,0x06,0x00,0x71,0x24,0x00,0xff,0xff, +0x00,0x95,0xff,0xff,0x04,0x2a,0x07,0xd2,0x10,0x26,0x03,0x3e,0x00,0x00,0x10,0x06, +0x07,0x57,0x1b,0x00,0xff,0xff,0x00,0x95,0xff,0xff,0x04,0x2a,0x07,0xd2,0x10,0x06, +0x03,0x29,0x00,0x00,0xff,0xff,0x00,0xba,0xfe,0x56,0x04,0xa4,0x06,0x72,0x10,0x26, +0x03,0x3a,0x00,0x00,0x10,0x07,0x07,0x2d,0x00,0xbb,0x00,0x00,0xff,0xff,0x00,0xba, +0xfe,0x56,0x04,0xa4,0x06,0x72,0x10,0x26,0x03,0x3a,0x00,0x00,0x10,0x07,0x07,0x65, +0x00,0xb1,0x00,0x00,0xff,0xff,0x00,0x95,0xff,0xff,0x04,0x2a,0x06,0x37,0x10,0x26, +0x03,0x3e,0x00,0x00,0x10,0x06,0x07,0x2e,0x27,0x00,0xff,0xff,0x00,0x95,0xff,0xff, +0x04,0x2a,0x07,0x95,0x10,0x26,0x03,0x3e,0x00,0x00,0x10,0x06,0x07,0x2f,0x1a,0x00, +0xff,0xff,0xff,0xfc,0x00,0x00,0x04,0xe7,0x07,0x6d,0x10,0x26,0x03,0x1e,0x00,0x00, +0x10,0x07,0x0b,0xf0,0x04,0x76,0x01,0x75,0xff,0xff,0xff,0xfc,0x00,0x00,0x04,0xe7, +0x07,0x31,0x10,0x26,0x03,0x1e,0x00,0x00,0x10,0x07,0x00,0x71,0x00,0x80,0x01,0x3b, +0xff,0xff,0xff,0xfc,0x00,0x00,0x06,0xc7,0x06,0x66,0x10,0x27,0x03,0x1e,0x01,0xe0, +0x00,0x00,0x10,0x07,0x07,0x59,0xff,0x52,0x00,0x00,0xff,0xff,0xff,0xe1,0x00,0x00, +0x06,0x91,0x06,0x66,0x10,0x06,0x03,0x08,0x00,0x00,0xff,0xff,0x00,0x07,0x00,0x00, +0x05,0x35,0x06,0x72,0x10,0x27,0x03,0x1b,0x00,0xa8,0x00,0x00,0x10,0x07,0x07,0x65, +0xfe,0x81,0x00,0x00,0xff,0xff,0x00,0xaa,0x05,0x46,0x03,0x29,0x07,0xd2,0x12,0x26, +0x00,0x6a,0x00,0x00,0x10,0x07,0x07,0x59,0x00,0x00,0x01,0x6c,0xff,0xff,0x00,0xd7, +0x05,0x46,0x03,0x52,0x07,0xd2,0x10,0x06,0x03,0x01,0x00,0x00,0xff,0xff,0x00,0xaa, +0x04,0xf0,0x02,0x89,0x06,0x66,0x10,0x06,0x00,0x43,0x00,0x00,0xff,0xff,0x00,0x87, +0xfe,0x56,0x06,0x28,0x06,0x66,0x10,0x26,0x06,0xed,0x00,0x00,0x10,0x07,0x02,0xfe, +0x01,0x59,0x00,0x00,0xff,0xff,0x00,0x87,0xfe,0x56,0x06,0x28,0x04,0x60,0x10,0x26, +0x03,0x42,0x00,0x00,0x10,0x07,0x02,0xfe,0x01,0x59,0x00,0x00,0xff,0xff,0x00,0x87, +0xfe,0x56,0x06,0x28,0x06,0x66,0x10,0x26,0x03,0x47,0x00,0x00,0x10,0x07,0x02,0xfe, +0x01,0x59,0x00,0x00,0xff,0xff,0x00,0x87,0xff,0xff,0x06,0x28,0x06,0x37,0x10,0x26, +0x03,0x42,0x00,0x00,0x10,0x07,0x07,0x2e,0x01,0x4f,0x00,0x00,0xff,0xff,0x00,0x87, +0xfe,0x56,0x06,0x28,0x06,0x37,0x10,0x26,0x07,0x5d,0x00,0x00,0x10,0x07,0x02,0xfe, +0x01,0x59,0x00,0x00,0xff,0xff,0xff,0xfc,0xff,0xe3,0x07,0x14,0x06,0x66,0x10,0x27, +0x03,0x19,0x01,0x3b,0x00,0x00,0x10,0x07,0x07,0x59,0xff,0x52,0x00,0x00,0xff,0xff, +0xff,0xf2,0xff,0xe3,0x06,0x01,0x06,0x66,0x10,0x06,0x03,0x07,0x00,0x00,0xff,0xff, +0xff,0xfc,0x00,0x00,0x07,0x13,0x06,0x66,0x10,0x27,0x03,0x22,0x01,0x44,0x00,0x00, +0x10,0x07,0x07,0x59,0xff,0x52,0x00,0x00,0xff,0xff,0xff,0xdb,0x00,0x00,0x06,0x05, +0x06,0x66,0x10,0x06,0x03,0x09,0x00,0x00,0xff,0xff,0x00,0x4e,0xfe,0x56,0x05,0xcf, +0x05,0xe7,0x10,0x26,0x03,0x22,0x00,0x00,0x10,0x07,0x07,0x2c,0x01,0x0e,0x00,0x00, +0xff,0xff,0x01,0x73,0x04,0xee,0x03,0x52,0x06,0x66,0x10,0x06,0x00,0x76,0x00,0x00, +0x00,0x01,0x01,0x86,0x04,0xc2,0x02,0x78,0x06,0x72,0x00,0x08,0x00,0x00,0x01,0x35, +0x33,0x15,0x23,0x14,0x37,0x15,0x22,0x01,0x86,0xf2,0x70,0x70,0xf2,0x05,0xc3,0xaf, +0xaf,0x89,0x03,0x7b,0x00,0x01,0x00,0x64,0x01,0xdf,0x02,0x7f,0x02,0x83,0x00,0x03, +0x00,0x11,0xb6,0x00,0x9c,0x02,0x04,0x01,0x00,0x04,0x10,0xdc,0xcc,0x31,0x00,0x10, +0xd4,0xec,0x30,0x13,0x21,0x15,0x21,0x64,0x02,0x1b,0xfd,0xe5,0x02,0x83,0xa4,0x00, +0xff,0xff,0x00,0x64,0x01,0xdf,0x02,0x7f,0x02,0x83,0x12,0x06,0x07,0x71,0x00,0x00, +0x00,0x01,0x00,0x00,0x01,0xe9,0x04,0x00,0x02,0x79,0x00,0x03,0x00,0x10,0xb6,0x02, +0xa9,0x00,0xe9,0x04,0x01,0x00,0x2f,0xc6,0x31,0x00,0x10,0xfc,0xec,0x30,0x11,0x21, +0x15,0x21,0x04,0x00,0xfc,0x00,0x02,0x79,0x90,0x00,0x00,0x01,0x00,0x00,0x01,0xe9, +0x04,0x00,0x02,0x79,0x00,0x03,0x00,0x10,0xb6,0x02,0xa9,0x00,0xe9,0x04,0x01,0x00, +0x2f,0xc6,0x31,0x00,0x10,0xfc,0xec,0x30,0x11,0x21,0x15,0x21,0x04,0x00,0xfc,0x00, +0x02,0x79,0x90,0x00,0x00,0x01,0x00,0x00,0x01,0xe9,0x08,0x00,0x02,0x79,0x00,0x03, +0x00,0x0f,0xb5,0x02,0xa9,0x00,0x04,0x01,0x00,0x2f,0xcc,0x31,0x00,0x10,0xd4,0xec, +0x30,0x11,0x21,0x15,0x21,0x08,0x00,0xf8,0x00,0x02,0x79,0x90,0x00,0x01,0x00,0x00, +0x01,0xe9,0x08,0x00,0x02,0x79,0x00,0x03,0x00,0x0f,0xb5,0x02,0xa9,0x00,0x04,0x01, +0x00,0x2f,0xcc,0x31,0x00,0x10,0xd4,0xec,0x30,0x11,0x21,0x15,0x21,0x08,0x00,0xf8, +0x00,0x02,0x79,0x90,0xff,0xff,0x01,0x04,0xfe,0x1d,0x02,0xf8,0x06,0x1d,0x10,0x22, +0x00,0x5f,0x00,0x00,0x10,0x03,0x00,0x5f,0x01,0x4a,0x00,0x00,0xff,0xff,0xff,0xec, +0xfe,0x1d,0x04,0x14,0xff,0xee,0x10,0x26,0x00,0x42,0x00,0x00,0x10,0x07,0x00,0x42, +0x00,0x00,0x01,0x42,0x00,0x01,0x00,0xae,0x03,0xe9,0x01,0xd3,0x05,0xd5,0x00,0x05, +0x00,0x18,0x40,0x0b,0x00,0x9e,0x03,0x81,0x06,0x03,0x04,0x00,0x19,0x01,0x06,0x10, +0xdc,0xfc,0xd4,0xcc,0x31,0x00,0x10,0xf4,0xec,0x30,0x01,0x23,0x35,0x13,0x33,0x03, +0x01,0x81,0xd3,0xa4,0x81,0x52,0x03,0xe9,0xad,0x01,0x3f,0xfe,0xc1,0x00,0x00,0x01, +0x00,0xb2,0x03,0xfe,0x01,0xd7,0x05,0xd5,0x00,0x05,0x00,0x18,0x40,0x0b,0x03,0x9e, +0x00,0x81,0x06,0x03,0x04,0x01,0x19,0x00,0x06,0x10,0xdc,0xec,0xd4,0xcc,0x31,0x00, +0x10,0xf4,0xec,0x30,0x01,0x33,0x15,0x03,0x23,0x13,0x01,0x04,0xd3,0xa4,0x81,0x52, +0x05,0xd5,0x98,0xfe,0xc1,0x01,0x3f,0x00,0x00,0x01,0x00,0xae,0xff,0x12,0x01,0xd3, +0x00,0xfe,0x00,0x05,0x00,0x18,0x40,0x0b,0x03,0x9e,0x00,0x83,0x06,0x03,0x04,0x01, +0x19,0x00,0x06,0x10,0xd4,0xec,0xd4,0xcc,0x31,0x00,0x10,0xfc,0xec,0x30,0x25,0x33, +0x15,0x03,0x23,0x13,0x01,0x00,0xd3,0xa4,0x81,0x52,0xfe,0xac,0xfe,0xc0,0x01,0x40, +0x00,0x01,0x00,0xb2,0x03,0xfe,0x01,0xd7,0x05,0xd5,0x00,0x05,0x00,0x00,0x01,0x15, +0x13,0x23,0x03,0x35,0x01,0x85,0x52,0x81,0xa4,0x05,0xd5,0x98,0xfe,0xc1,0x01,0x3f, +0x98,0x00,0x00,0x02,0x00,0xae,0x03,0xe9,0x03,0x6d,0x05,0xd5,0x00,0x05,0x00,0x0b, +0x00,0x27,0x40,0x13,0x06,0x00,0x9e,0x09,0x03,0x81,0x0c,0x09,0x0a,0x06,0x19,0x07, +0x03,0x04,0x07,0x00,0x19,0x01,0x0c,0x10,0xdc,0xfc,0xcc,0xd4,0xcc,0x10,0xfe,0xd4, +0xce,0x31,0x00,0x10,0xf4,0x3c,0xec,0x32,0x30,0x01,0x23,0x35,0x13,0x33,0x03,0x05, +0x23,0x35,0x13,0x33,0x03,0x01,0x81,0xd3,0xa4,0x81,0x52,0x01,0x9a,0xd3,0xa4,0x81, +0x52,0x03,0xe9,0xad,0x01,0x3f,0xfe,0xc1,0xad,0xad,0x01,0x3f,0xfe,0xc1,0x00,0x02, +0x00,0xae,0x03,0xe9,0x03,0x6d,0x05,0xd5,0x00,0x05,0x00,0x0b,0x00,0x27,0x40,0x13, +0x09,0x03,0x9e,0x06,0x00,0x81,0x0c,0x09,0x0a,0x07,0x19,0x06,0x01,0x03,0x04,0x01, +0x19,0x00,0x0c,0x10,0xdc,0xec,0xd4,0xcc,0x10,0xdc,0xee,0xd4,0xce,0x31,0x00,0x10, +0xf4,0x3c,0xec,0x32,0x30,0x01,0x33,0x15,0x03,0x23,0x13,0x25,0x33,0x15,0x03,0x23, +0x13,0x01,0x00,0xd3,0xa4,0x81,0x52,0x01,0x9a,0xd3,0xa4,0x81,0x52,0x05,0xd5,0xac, +0xfe,0xc0,0x01,0x40,0xac,0xac,0xfe,0xc0,0x01,0x40,0x00,0x02,0x00,0xae,0xff,0x12, +0x03,0x6d,0x00,0xfe,0x00,0x05,0x00,0x0b,0x00,0x27,0x40,0x13,0x09,0x03,0x9e,0x06, +0x00,0x83,0x0c,0x03,0x04,0x01,0x19,0x00,0x07,0x09,0x0a,0x07,0x19,0x06,0x0c,0x10, +0xdc,0xec,0xd4,0xcc,0x10,0xdc,0xee,0xd4,0xce,0x31,0x00,0x10,0xfc,0x3c,0xec,0x32, +0x30,0x25,0x33,0x15,0x03,0x23,0x13,0x25,0x33,0x15,0x03,0x23,0x13,0x02,0x9a,0xd3, +0xa4,0x81,0x52,0xfe,0x66,0xd3,0xa4,0x81,0x52,0xfe,0xac,0xfe,0xc0,0x01,0x40,0xac, +0xac,0xfe,0xc0,0x01,0x40,0x00,0x00,0x02,0x00,0xae,0x03,0xe9,0x03,0x6d,0x05,0xd5, +0x00,0x05,0x00,0x0b,0x00,0x00,0x01,0x15,0x13,0x23,0x03,0x35,0x21,0x15,0x13,0x23, +0x03,0x35,0x01,0x81,0x52,0x81,0xa4,0x02,0x6d,0x52,0x81,0xa4,0x05,0xd5,0xad,0xfe, +0xc1,0x01,0x3f,0xad,0xad,0xfe,0xc1,0x01,0x3f,0xad,0x00,0x01,0x00,0x39,0xff,0x3b, +0x03,0xc7,0x05,0xd5,0x00,0x0b,0x00,0x27,0x40,0x14,0x08,0x04,0xb9,0x0a,0x02,0x00, +0x81,0x06,0xc2,0x0c,0x03,0x59,0x05,0x01,0x57,0x09,0x59,0x07,0x00,0x0c,0x10,0xd4, +0x3c,0xec,0xfc,0x3c,0xec,0x31,0x00,0x10,0xe4,0xf4,0xd4,0x3c,0xec,0x32,0x30,0x01, +0x33,0x11,0x21,0x15,0x21,0x11,0x23,0x11,0x21,0x35,0x21,0x01,0xa8,0xb0,0x01,0x6f, +0xfe,0x91,0xb0,0xfe,0x91,0x01,0x6f,0x05,0xd5,0xfe,0x5c,0x99,0xfb,0xa3,0x04,0x5d, +0x99,0x00,0x00,0x01,0x00,0x39,0xff,0x3b,0x03,0xc7,0x05,0xd5,0x00,0x13,0x00,0x3e, +0x40,0x20,0x12,0x06,0xb9,0x00,0x10,0x08,0xb9,0x0a,0x04,0x00,0x02,0x0e,0x0a,0x0c, +0x81,0x02,0xc2,0x14,0x0f,0x00,0x59,0x11,0x0d,0x01,0x57,0x09,0x05,0x59,0x0b,0x07, +0x03,0x14,0x10,0xd4,0x3c,0x3c,0xec,0x32,0xfc,0x3c,0x3c,0xec,0x32,0x31,0x00,0x10, +0xe4,0xf4,0xc4,0x32,0x10,0xc4,0x32,0x10,0xee,0x32,0x10,0xee,0x32,0x30,0x25,0x21, +0x11,0x23,0x11,0x21,0x35,0x21,0x11,0x21,0x35,0x21,0x11,0x33,0x11,0x21,0x15,0x21, +0x11,0x21,0x03,0xc7,0xfe,0x91,0xb0,0xfe,0x91,0x01,0x6f,0xfe,0x91,0x01,0x6f,0xb0, +0x01,0x6f,0xfe,0x91,0x01,0x6f,0xdf,0xfe,0x5c,0x01,0xa4,0x9a,0x02,0x1f,0x99,0x01, +0xa4,0xfe,0x5c,0x99,0xfd,0xe1,0x00,0x01,0x01,0x33,0x01,0xd1,0x03,0x85,0x04,0x21, +0x00,0x0b,0x00,0x12,0xb7,0x09,0xc7,0x03,0x0c,0x06,0x5c,0x00,0x0c,0x10,0xd4,0xec, +0x31,0x00,0x10,0xd4,0xec,0x30,0x01,0x34,0x36,0x33,0x32,0x16,0x15,0x14,0x06,0x23, +0x22,0x26,0x01,0x33,0xad,0x7e,0x7c,0xab,0xac,0x7d,0x7d,0xac,0x02,0xfa,0x7c,0xab, +0xab,0x7c,0x7d,0xac,0xac,0x00,0x00,0x01,0x01,0x33,0x01,0x81,0x03,0xd5,0x04,0x71, +0x00,0x02,0x00,0x00,0x01,0x11,0x01,0x01,0x33,0x02,0xa2,0x01,0x81,0x02,0xf0,0xfe, +0x88,0x00,0x00,0x01,0x00,0xec,0x00,0x00,0x01,0xc1,0x00,0xfe,0x00,0x03,0x00,0x00, +0x37,0x33,0x15,0x23,0xec,0xd5,0xd5,0xfe,0xfe,0x00,0x00,0x02,0x00,0xec,0x00,0x00, +0x04,0x6b,0x00,0xfe,0x00,0x03,0x00,0x07,0x00,0x00,0x25,0x33,0x15,0x23,0x25,0x33, +0x15,0x23,0x03,0x96,0xd5,0xd5,0xfd,0x56,0xd5,0xd5,0xfe,0xfe,0xfe,0xfe,0x00,0x03, +0x00,0xec,0x00,0x00,0x07,0x14,0x00,0xfe,0x00,0x03,0x00,0x07,0x00,0x0b,0x00,0x23, +0x40,0x11,0x08,0x04,0x00,0x83,0x0a,0x06,0x02,0x04,0x19,0x05,0x00,0x19,0x01,0x09, +0x19,0x08,0x0c,0x10,0xd4,0xfc,0xd4,0xec,0xd4,0xec,0x31,0x00,0x2f,0x3c,0x3c,0xec, +0x32,0x32,0x30,0x25,0x33,0x15,0x23,0x25,0x33,0x15,0x23,0x25,0x33,0x15,0x23,0x03, +0x96,0xd4,0xd4,0x02,0xa9,0xd5,0xd5,0xfa,0xad,0xd5,0xd5,0xfe,0xfe,0xfe,0xfe,0xfe, +0xfe,0x00,0x00,0x01,0x00,0xdc,0x02,0x6b,0x01,0xaf,0x03,0x69,0x00,0x03,0x00,0x00, +0x13,0x33,0x15,0x23,0xdc,0xd3,0xd3,0x03,0x69,0xfe,0x00,0x07,0x00,0x71,0xff,0xe3, +0x0a,0x4c,0x05,0xf0,0x00,0x0b,0x00,0x17,0x00,0x23,0x00,0x27,0x00,0x33,0x00,0x3f, +0x00,0x4b,0x00,0xae,0x40,0x44,0x24,0x0f,0x25,0x26,0x25,0x26,0x0f,0x27,0x24,0x27, +0x42,0x40,0x00,0x92,0x0c,0x2e,0x92,0x1e,0x8d,0x28,0x92,0x18,0x46,0x06,0x92,0x34, +0x0c,0x8d,0x3a,0x26,0x12,0x8c,0x24,0x18,0x91,0x4c,0x25,0x49,0x43,0x27,0x31,0x2b, +0x43,0x0d,0x3d,0x09,0x0d,0x0f,0x0e,0x03,0x0d,0x15,0x31,0x0d,0x1b,0x3d,0x0e,0x49, +0x0d,0x15,0x37,0x2b,0x0d,0x1b,0x0e,0x21,0x0b,0x4c,0x10,0xfc,0xe4,0xec,0xd4,0xc4, +0xec,0xe4,0x10,0xee,0x10,0xee,0xf6,0xee,0x10,0xee,0x11,0x12,0x39,0x11,0x12,0x39, +0x31,0x00,0x10,0xe4,0x32,0xf4,0x3c,0x3c,0xe4,0x32,0xec,0x32,0x10,0xee,0xf6,0xee, +0x10,0xee,0x32,0x30,0x4b,0x53,0x58,0x07,0x10,0x05,0xed,0x07,0x10,0x05,0xed,0x59, +0x22,0x01,0x4b,0xb0,0x14,0x54,0x4b,0xb0,0x09,0x54,0x5b,0x4b,0xb0,0x0b,0x54,0x5b, +0x4b,0xb0,0x0c,0x54,0x5b,0x4b,0xb0,0x0d,0x54,0x5b,0x4b,0xb0,0x0e,0x54,0x5b,0x58, +0xbd,0x00,0x4c,0x00,0x40,0x00,0x01,0x00,0x4c,0x00,0x4c,0xff,0xc0,0x38,0x11,0x37, +0x38,0x59,0x01,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x27,0x32, +0x16,0x15,0x14,0x06,0x23,0x22,0x26,0x35,0x34,0x36,0x01,0x32,0x16,0x15,0x14,0x06, +0x23,0x22,0x26,0x35,0x34,0x36,0x21,0x33,0x01,0x23,0x13,0x22,0x06,0x15,0x14,0x16, +0x33,0x32,0x36,0x35,0x34,0x26,0x01,0x32,0x16,0x15,0x14,0x06,0x23,0x22,0x26,0x35, +0x34,0x36,0x17,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x08,0xf4, +0x57,0x64,0x64,0x57,0x55,0x63,0x63,0x55,0x9e,0xba,0xbb,0x9d,0xa0,0xba,0xbb,0xf9, +0x74,0x9e,0xbc,0xbb,0x9f,0x9f,0xb9,0xba,0x04,0x25,0xa0,0xfc,0x5a,0xa0,0x1f,0x56, +0x63,0x62,0x57,0x57,0x63,0x64,0x03,0xb2,0x9e,0xba,0xbb,0x9d,0xa0,0xba,0xbb,0x9f, +0x57,0x63,0x63,0x57,0x55,0x63,0x63,0x02,0x91,0x94,0x84,0x82,0x95,0x95,0x82,0x83, +0x95,0x7f,0xdc,0xbb,0xbb,0xdb,0xdb,0xbb,0xbc,0xdb,0x02,0xe0,0xdb,0xbb,0xbd,0xda, +0xdb,0xbc,0xba,0xdc,0xf9,0xf3,0x05,0x8e,0x95,0x82,0x84,0x94,0x94,0x84,0x81,0x96, +0xfd,0x9f,0xdc,0xbb,0xbb,0xdb,0xdb,0xbb,0xbc,0xdb,0x7f,0x94,0x84,0x82,0x95,0x95, +0x82,0x83,0x95,0x00,0x00,0x09,0x00,0x71,0xff,0xe3,0x0d,0x72,0x05,0xf0,0x00,0x0b, +0x00,0x16,0x00,0x22,0x00,0x2d,0x00,0x37,0x00,0x3b,0x00,0x45,0x00,0x50,0x00,0x5c, +0x00,0x00,0x01,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x27,0x32, +0x16,0x10,0x06,0x23,0x22,0x26,0x35,0x34,0x36,0x05,0x22,0x06,0x15,0x14,0x16,0x33, +0x32,0x36,0x35,0x34,0x26,0x27,0x32,0x16,0x10,0x06,0x23,0x22,0x26,0x35,0x34,0x36, +0x00,0x20,0x16,0x15,0x14,0x06,0x20,0x26,0x35,0x34,0x25,0x33,0x01,0x23,0x12,0x22, +0x06,0x15,0x14,0x16,0x32,0x36,0x35,0x34,0x01,0x32,0x16,0x10,0x06,0x23,0x22,0x26, +0x35,0x34,0x36,0x17,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x0c, +0x1a,0x57,0x64,0x64,0x57,0x55,0x63,0x63,0x55,0x9e,0xba,0xbb,0x9d,0xa0,0xba,0xbb, +0xfd,0x79,0x57,0x64,0x64,0x57,0x55,0x63,0x63,0x55,0x9e,0xba,0xbb,0x9d,0xa0,0xba, +0xbb,0xf8,0xd6,0x01,0x3c,0xbc,0xbb,0xfe,0xc2,0xb9,0x04,0xdf,0xa0,0xfc,0x5a,0xa0, +0x75,0xac,0x63,0x62,0xae,0x63,0x03,0x4e,0x9e,0xba,0xbb,0x9d,0xa0,0xba,0xbb,0x9f, +0x57,0x63,0x63,0x57,0x55,0x63,0x63,0x02,0x91,0x94,0x84,0x82,0x95,0x95,0x82,0x83, +0x95,0x7f,0xdc,0xfe,0x8a,0xdb,0xdb,0xbb,0xbc,0xdb,0x7f,0x94,0x84,0x82,0x95,0x95, +0x82,0x83,0x95,0x7f,0xdc,0xfe,0x8a,0xdb,0xdb,0xbb,0xbc,0xdb,0x02,0xe0,0xdb,0xbb, +0xbd,0xda,0xdb,0xbc,0xba,0xdc,0xf9,0xf3,0x05,0x8e,0x95,0x82,0x84,0x94,0x94,0x84, +0x81,0xfe,0x35,0xdc,0xfe,0x8a,0xdb,0xdb,0xbb,0xbc,0xdb,0x7f,0x94,0x84,0x82,0x95, +0x95,0x82,0x83,0x95,0x00,0x01,0x00,0x6a,0x03,0x9d,0x01,0x9e,0x05,0xe2,0x00,0x03, +0x00,0x00,0x13,0x03,0x17,0x13,0xfa,0x90,0xa4,0x90,0x05,0xe2,0xfd,0xe7,0x2c,0x02, +0x19,0x00,0xff,0xff,0x00,0x6a,0x03,0x9d,0x02,0xe3,0x05,0xe2,0x10,0x26,0x07,0x8b, +0x00,0x00,0x10,0x07,0x07,0x8b,0x01,0x45,0x00,0x00,0xff,0xff,0x00,0x6a,0x03,0x9d, +0x04,0x28,0x05,0xe2,0x10,0x26,0x07,0x8b,0x00,0x00,0x10,0x27,0x07,0x8b,0x01,0x45, +0x00,0x00,0x10,0x07,0x07,0x8b,0x02,0x8a,0x00,0x00,0x00,0x01,0x00,0x80,0x03,0x9d, +0x01,0xb4,0x05,0xe2,0x00,0x03,0x00,0x00,0x01,0x13,0x07,0x03,0x01,0x24,0x90,0xa4, +0x90,0x05,0xe2,0xfd,0xe7,0x2c,0x02,0x19,0xff,0xff,0x00,0x80,0x03,0x9d,0x02,0xf9, +0x05,0xe2,0x10,0x27,0x07,0x8e,0x01,0x45,0x00,0x00,0x10,0x06,0x07,0x8e,0x00,0x00, +0xff,0xff,0x00,0x80,0x03,0x9d,0x04,0x3e,0x05,0xe2,0x10,0x26,0x07,0x8e,0x00,0x00, +0x10,0x27,0x07,0x8e,0x02,0x8a,0x00,0x00,0x10,0x07,0x07,0x8e,0x01,0x45,0x00,0x00, +0x00,0x01,0x00,0x0b,0xfe,0x1d,0x02,0xab,0xff,0xc3,0x00,0x05,0x00,0x00,0x01,0x23, +0x27,0x07,0x23,0x01,0x02,0xab,0x94,0xbb,0xbc,0x95,0x01,0x52,0xfe,0x1d,0xf9,0xf9, +0x01,0xa6,0x00,0x01,0x00,0x9e,0x00,0x8d,0x02,0x73,0x04,0x23,0x00,0x06,0x00,0x47, +0x40,0x25,0x03,0xe8,0x04,0x05,0x04,0x02,0xe8,0x01,0x02,0x05,0x05,0x04,0x02,0xe8, +0x03,0x02,0x06,0x00,0x06,0x01,0xe8,0x00,0x06,0x42,0x02,0x04,0xe7,0x00,0xa6,0x07, +0x02,0x03,0x00,0x6f,0x05,0x6e,0x07,0x10,0xfc,0xec,0x32,0x39,0x31,0x00,0x10,0xf4, +0xec,0x39,0x30,0x4b,0x53,0x58,0x07,0x04,0xed,0x07,0x10,0x08,0xed,0x07,0x10,0x08, +0xed,0x07,0x10,0x04,0xed,0x59,0x22,0x01,0x15,0x09,0x01,0x15,0x01,0x35,0x02,0x73, +0xfe,0xd3,0x01,0x2d,0xfe,0x2b,0x04,0x23,0xbf,0xfe,0xf4,0xfe,0xf4,0xbf,0x01,0xa2, +0x52,0x00,0x00,0x01,0x00,0xc1,0x00,0x8d,0x02,0x96,0x04,0x23,0x00,0x06,0x00,0x49, +0x40,0x26,0x05,0xe8,0x06,0x05,0x02,0x03,0x02,0x04,0xe8,0x03,0x03,0x02,0x06,0xe8, +0x00,0x01,0x00,0x05,0xe8,0x04,0x05,0x01,0x01,0x00,0x42,0x05,0x03,0xe7,0x00,0xa6, +0x07,0x05,0x01,0x6f,0x03,0x00,0x70,0x07,0x10,0xfc,0x3c,0xec,0x39,0x31,0x00,0x10, +0xf4,0xec,0x39,0x30,0x4b,0x53,0x58,0x07,0x10,0x08,0xed,0x07,0x10,0x04,0xed,0x07, +0x10,0x04,0xed,0x07,0x10,0x08,0xed,0x59,0x22,0x13,0x01,0x15,0x01,0x35,0x09,0x01, +0xc1,0x01,0xd5,0xfe,0x2b,0x01,0x2d,0xfe,0xd3,0x04,0x23,0xfe,0x5e,0x52,0xfe,0x5e, +0xbf,0x01,0x0c,0x01,0x0c,0x00,0xff,0xff,0x00,0xc3,0x00,0x04,0x05,0xeb,0x05,0xcc, +0x12,0x22,0x00,0x99,0x00,0x4b,0x10,0x23,0x00,0x11,0xff,0xe8,0x02,0x4e,0x10,0x23, +0x00,0x11,0x02,0x16,0x00,0x04,0x10,0x23,0x00,0x11,0x04,0x3d,0x02,0x4e,0x10,0x03, +0x00,0x11,0x02,0x16,0x04,0xce,0xff,0xff,0x00,0x93,0x00,0x00,0x03,0x4f,0x05,0xd5, +0x10,0x27,0x00,0x04,0xff,0x5e,0x00,0x00,0x10,0x07,0x00,0x04,0x01,0x4f,0x00,0x00, +0x00,0x03,0x00,0x93,0x00,0x00,0x03,0xb0,0x05,0xf0,0x00,0x17,0x00,0x1b,0x00,0x24, +0x00,0x00,0x01,0x23,0x11,0x06,0x07,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x16,0x15, +0x14,0x06,0x0f,0x01,0x0e,0x01,0x07,0x0e,0x01,0x15,0x03,0x33,0x15,0x23,0x13,0x11, +0x37,0x3e,0x01,0x35,0x34,0x27,0x26,0x02,0x4c,0xbf,0x1f,0x20,0x5a,0x61,0x5e,0xc1, +0x67,0xb8,0xdf,0x48,0x5a,0x58,0x2f,0x27,0x08,0x06,0x06,0xc5,0xcb,0xcb,0xc5,0x2d, +0x39,0x33,0x41,0x25,0x01,0x91,0x03,0xad,0x08,0x0d,0x23,0x43,0xbc,0x39,0x38,0xc2, +0x9f,0x4c,0x89,0x56,0x56,0x2f,0x35,0x19,0x15,0x3c,0x34,0xfe,0xf2,0xfe,0x05,0x42, +0xfe,0x52,0x2d,0x35,0x5e,0x31,0x59,0x37,0x1f,0x00,0xff,0xff,0xff,0xec,0x05,0x7c, +0x04,0x14,0x06,0x0b,0x10,0x07,0x00,0x42,0x00,0x00,0x07,0x5f,0x00,0x01,0xff,0xa7, +0xfe,0x1b,0x06,0xc7,0xff,0x85,0x00,0x0c,0x00,0x00,0x07,0x16,0x04,0x20,0x24,0x37, +0x15,0x06,0x04,0x23,0x22,0x24,0x27,0x59,0xe6,0x01,0xc2,0x01,0xce,0x01,0xc5,0xe5, +0xeb,0xfe,0x3a,0xe0,0xdf,0xfe,0x3c,0xec,0x7b,0x69,0x67,0x68,0x68,0x7e,0x76,0x76, +0x75,0x77,0x00,0x01,0xff,0xa7,0x06,0x04,0x06,0xc7,0x07,0x6e,0x00,0x0c,0x00,0x00, +0x03,0x36,0x24,0x20,0x04,0x17,0x35,0x26,0x24,0x23,0x22,0x04,0x07,0x59,0xe6,0x01, +0xc2,0x01,0xce,0x01,0xc5,0xe5,0xeb,0xfe,0x3a,0xe0,0xdf,0xfe,0x3c,0xec,0x06,0x04, +0x69,0x67,0x68,0x68,0x7e,0x76,0x76,0x75,0x77,0x00,0x00,0x01,0xff,0xaa,0xfe,0x1d, +0x02,0x49,0x01,0xd5,0x00,0x07,0x00,0x00,0x01,0x33,0x09,0x01,0x23,0x0b,0x01,0x23, +0x01,0xe7,0x62,0xfe,0xe2,0x01,0x1e,0x62,0xed,0xed,0x63,0x01,0xd5,0xfe,0x24,0xfe, +0x24,0x01,0x8a,0xfe,0x76,0x00,0xff,0xff,0x00,0x3d,0xff,0xc5,0x07,0xc3,0x06,0x83, +0x10,0x23,0x00,0x0d,0x00,0x00,0xfd,0x7b,0x10,0x23,0x00,0x0d,0x04,0x00,0xfd,0x7b, +0x10,0x03,0x00,0x0d,0x02,0x00,0x00,0x93,0xff,0xff,0x00,0xdd,0x02,0x81,0x03,0x33, +0x03,0x5f,0x12,0x43,0x02,0x7d,0x00,0x08,0xfa,0x6e,0x40,0x00,0x60,0x00,0x00,0x01, +0xfe,0x89,0xff,0xe3,0x02,0xcd,0x05,0xf0,0x00,0x03,0x00,0x2b,0x40,0x13,0x00,0x0f, +0x01,0x02,0x01,0x02,0x0f,0x03,0x00,0x03,0x42,0x02,0x8c,0x00,0x91,0x04,0x01,0x03, +0x04,0x10,0xd4,0xcc,0x31,0x00,0x10,0xe4,0xe4,0x30,0x4b,0x53,0x58,0x07,0x10,0x05, +0xed,0x07,0x10,0x05,0xed,0x59,0x22,0x01,0x33,0x01,0x23,0x02,0x2d,0xa0,0xfc,0x5c, +0xa0,0x05,0xf0,0xf9,0xf3,0x00,0x00,0x01,0x00,0xb0,0xfe,0xf2,0x02,0x58,0x06,0x14, +0x00,0x0b,0x00,0x00,0x01,0x11,0x33,0x15,0x21,0x11,0x21,0x15,0x23,0x11,0x33,0x15, +0x01,0x68,0xf0,0xfe,0x58,0x01,0xa8,0xf0,0xf0,0x02,0x5e,0xfd,0x23,0x8f,0x07,0x22, +0x8f,0xfd,0x23,0x4a,0x00,0x01,0x00,0xb0,0xfe,0xf2,0x02,0x58,0x06,0x14,0x00,0x0b, +0x00,0x00,0x13,0x35,0x33,0x11,0x23,0x35,0x21,0x11,0x21,0x35,0x33,0x11,0xb0,0xf0, +0xf0,0x01,0xa8,0xfe,0x58,0xf0,0x02,0x5e,0x4a,0x02,0xdd,0x8f,0xf8,0xde,0x8f,0x02, +0xdd,0x00,0xff,0xff,0x00,0x49,0x00,0x00,0x07,0x17,0x05,0xf0,0x10,0x26,0x00,0x22, +0xb6,0x00,0x10,0x07,0x00,0x22,0x03,0x66,0x00,0x00,0xff,0xff,0x00,0x93,0x00,0x00, +0x05,0x4a,0x05,0xf0,0x10,0x26,0x00,0x22,0x00,0x00,0x10,0x07,0x00,0x04,0x03,0x4a, +0x00,0x00,0xff,0xff,0x00,0x93,0x00,0x00,0x05,0x4a,0x05,0xf0,0x10,0x27,0x00,0x04, +0xff,0x5e,0x00,0x00,0x10,0x07,0x00,0x22,0x01,0x9a,0x00,0x00,0x00,0x01,0x00,0x6f, +0x00,0x00,0x03,0xa1,0x04,0x84,0x00,0x13,0x00,0x00,0x25,0x33,0x15,0x23,0x35,0x07, +0x23,0x13,0x23,0x35,0x21,0x13,0x21,0x35,0x21,0x15,0x03,0x33,0x15,0x23,0x01,0xfe, +0xa9,0xd1,0x03,0xb4,0xe0,0xf9,0x01,0x24,0xa8,0xfd,0x9d,0x03,0x32,0xc3,0xa5,0xd0, +0x66,0x66,0x07,0x07,0x02,0x0f,0x66,0x01,0x8b,0x84,0x43,0xfe,0x34,0x66,0x00,0x01, +0x00,0xec,0xff,0x3b,0x04,0x87,0x05,0xd5,0x00,0x0d,0x00,0x00,0x01,0x21,0x11,0x33, +0x11,0x33,0x11,0x33,0x11,0x3e,0x01,0x35,0x34,0x24,0x02,0xac,0xfe,0x40,0x8d,0xbe, +0x8e,0xd7,0xeb,0xfe,0xfc,0x05,0xd5,0xf9,0x66,0x06,0x1f,0xf9,0xe1,0x03,0x4e,0x11, +0xdd,0xb8,0xbe,0xe8,0x00,0x02,0x00,0xd8,0x01,0xc2,0x03,0x28,0x04,0x12,0x00,0x03, +0x00,0x0b,0x00,0x00,0x01,0x33,0x11,0x07,0x2b,0x01,0x22,0x26,0x35,0x34,0x36,0x33, +0x02,0x79,0xaf,0xaf,0x76,0x02,0x7d,0xac,0xad,0x7e,0x04,0x12,0xfd,0xb1,0x01,0xac, +0x7d,0x7c,0xab,0x00,0x00,0x02,0x00,0xd8,0x01,0xc2,0x03,0x28,0x04,0x12,0x00,0x03, +0x00,0x0b,0x00,0x00,0x01,0x27,0x11,0x3b,0x01,0x32,0x16,0x15,0x14,0x06,0x2b,0x01, +0x01,0x87,0xaf,0xaf,0x76,0x7e,0xad,0xac,0x7d,0x02,0x01,0xc2,0x01,0x02,0x4f,0xab, +0x7c,0x7d,0xac,0x00,0xff,0xff,0x00,0x3d,0xff,0xc5,0x03,0xc3,0x03,0x6b,0x12,0x03, +0x00,0x0d,0x00,0x00,0xfd,0x7b,0x00,0x02,0x01,0x1d,0xff,0x12,0x02,0x42,0x04,0x23, +0x00,0x03,0x00,0x09,0x00,0x00,0x01,0x23,0x15,0x33,0x11,0x23,0x15,0x13,0x33,0x03, +0x01,0xf0,0xd3,0xd3,0xd3,0xa4,0x81,0x52,0x04,0x23,0xfe,0xfd,0xd9,0xac,0xfe,0xc0, +0x01,0x40,0x00,0x02,0xff,0xa7,0xfe,0x1b,0x06,0xc7,0x07,0x6e,0x00,0x0c,0x00,0x19, +0x00,0x00,0x07,0x16,0x04,0x20,0x24,0x37,0x15,0x06,0x04,0x23,0x22,0x24,0x27,0x11, +0x36,0x24,0x20,0x04,0x17,0x35,0x26,0x24,0x23,0x22,0x04,0x07,0x59,0xe6,0x01,0xc2, +0x01,0xce,0x01,0xc5,0xe5,0xeb,0xfe,0x3a,0xe0,0xdf,0xfe,0x3c,0xec,0xe6,0x01,0xc2, +0x01,0xce,0x01,0xc5,0xe5,0xeb,0xfe,0x3a,0xe0,0xdf,0xfe,0x3c,0xec,0x7b,0x69,0x67, +0x68,0x68,0x7e,0x76,0x76,0x75,0x77,0x06,0xfd,0x69,0x67,0x68,0x68,0x7e,0x76,0x76, +0x75,0x77,0xff,0xff,0x00,0x3d,0xff,0xf2,0x03,0xc3,0x07,0x6f,0x12,0x23,0x00,0x0d, +0x00,0x00,0xfd,0xa8,0x10,0x03,0x00,0x0d,0x00,0x00,0x01,0x7f,0xff,0xff,0x00,0x91, +0xff,0x42,0x03,0x43,0x05,0xd5,0x10,0x23,0x00,0x12,0x00,0x91,0x00,0x00,0x10,0x23, +0x00,0x11,0x01,0x8e,0x00,0x00,0x10,0x03,0x00,0x11,0xff,0xd9,0x04,0x48,0xff,0xff, +0x00,0xd9,0x01,0xd3,0x05,0xdb,0x03,0x31,0x12,0x02,0x00,0x61,0x00,0x00,0xff,0xff, +0xff,0xa7,0xfe,0x14,0x06,0xc7,0xff,0x7e,0x10,0x07,0x07,0x99,0x00,0x00,0xf8,0x10, +0x00,0x01,0x01,0x38,0x00,0xc8,0x05,0x7c,0x05,0x0d,0x00,0x17,0x00,0x00,0x01,0x11, +0x23,0x11,0x07,0x27,0x37,0x21,0x35,0x21,0x27,0x37,0x17,0x11,0x33,0x11,0x37,0x17, +0x07,0x21,0x15,0x21,0x17,0x07,0x03,0xaa,0xa0,0xf9,0x71,0xf9,0xfe,0x9f,0x01,0x61, +0xfa,0x71,0xfa,0xa0,0xfa,0x71,0xfa,0x01,0x61,0xfe,0x9f,0xfa,0x71,0x02,0x29,0xfe, +0x9f,0x01,0x60,0xf9,0x72,0xf9,0xa0,0xfa,0x72,0xfb,0x01,0x62,0xfe,0x9e,0xfa,0x71, +0xfa,0xa0,0xf9,0x72,0x00,0x03,0x00,0xfa,0x01,0x32,0x03,0xb6,0x04,0xb6,0x00,0x03, +0x00,0x07,0x00,0x0b,0x00,0x00,0x13,0x35,0x33,0x15,0x01,0x35,0x33,0x15,0x03,0x35, +0x33,0x15,0xfa,0xc8,0x01,0x2c,0xc8,0xc8,0xc8,0x02,0x90,0xc8,0xc8,0xfe,0xa2,0xc8, +0xc8,0x02,0xbc,0xc8,0xc8,0x00,0x00,0x04,0x00,0x28,0x04,0x60,0x05,0x24,0x05,0xd5, +0x00,0x03,0x00,0x07,0x00,0x0b,0x00,0x0f,0x00,0x00,0x01,0x13,0x33,0x01,0x21,0x13, +0x33,0x01,0x21,0x13,0x33,0x01,0x21,0x13,0x33,0x01,0x03,0xac,0xad,0xcb,0xfe,0xdf, +0xfe,0x7d,0xad,0xcb,0xfe,0xdf,0xfe,0x7d,0xad,0xcb,0xfe,0xdf,0xfe,0x7d,0xad,0xcb, +0xfe,0xdf,0x04,0x60,0x01,0x75,0xfe,0x8b,0x01,0x75,0xfe,0x8b,0x01,0x75,0xfe,0x8b, +0x01,0x75,0xfe,0x8b,0x00,0x04,0x01,0x66,0x01,0x00,0x05,0x4e,0x04,0xe8,0x00,0x03, +0x00,0x07,0x00,0x0b,0x00,0x0f,0x00,0x00,0x01,0x35,0x33,0x15,0x21,0x35,0x33,0x15, +0x01,0x35,0x33,0x15,0x03,0x35,0x33,0x15,0x01,0x66,0xc8,0x02,0x58,0xc8,0xfd,0xa8, +0xc8,0xc8,0xc8,0x02,0x90,0xc8,0xc8,0xc8,0xc8,0xfe,0x70,0xc8,0xc8,0x03,0x20,0xc8, +0xc8,0x00,0x00,0x05,0x01,0x66,0x00,0xf6,0x05,0x4e,0x04,0xde,0x00,0x03,0x00,0x07, +0x00,0x0b,0x00,0x0f,0x00,0x13,0x00,0x00,0x01,0x35,0x33,0x15,0x13,0x35,0x33,0x15, +0x03,0x35,0x33,0x15,0x01,0x35,0x33,0x15,0x03,0x35,0x33,0x15,0x02,0xf6,0xc8,0xc8, +0xc8,0xc8,0xc8,0xfc,0x2c,0xc8,0xdc,0xc8,0x02,0x86,0xc8,0xc8,0xfe,0x70,0xc8,0xc8, +0x03,0x20,0xc8,0xc8,0xfc,0xf4,0xc8,0xc8,0x03,0x0c,0xc8,0xc8,0x00,0x02,0x00,0xdb, +0x00,0x00,0x01,0xae,0x05,0xd5,0x00,0x03,0x00,0x07,0x00,0x00,0x13,0x33,0x15,0x23, +0x11,0x33,0x15,0x23,0xdb,0xd3,0xd3,0xd3,0xd3,0x05,0xd5,0xfe,0xfc,0x27,0xfe,0x00, +0x00,0x04,0x00,0x64,0xfe,0xe5,0x05,0xfd,0x06,0xef,0x00,0x03,0x00,0x07,0x00,0x0b, +0x00,0x0f,0x00,0x00,0x13,0x33,0x15,0x23,0x25,0x33,0x15,0x23,0x01,0x33,0x15,0x23, +0x11,0x33,0x15,0x23,0x64,0xd3,0xd3,0x04,0xc6,0xd3,0xd3,0xfd,0x9d,0xd3,0xd3,0xd3, +0xd3,0x03,0x69,0xfe,0xfe,0xfe,0x04,0x84,0xfe,0xf9,0xf2,0xfe,0x00,0x05,0x00,0x70, +0x00,0x00,0x06,0x44,0x05,0xd5,0x00,0x03,0x00,0x07,0x00,0x0b,0x00,0x0f,0x00,0x1b, +0x00,0x00,0x25,0x35,0x33,0x15,0x03,0x35,0x33,0x15,0x01,0x35,0x33,0x15,0x03,0x35, +0x33,0x15,0x01,0x11,0x23,0x11,0x21,0x35,0x21,0x11,0x33,0x11,0x21,0x15,0x04,0x86, +0xc8,0xc8,0xc8,0xfc,0x2c,0xc8,0xdc,0xc8,0x01,0x7c,0xa0,0xfd,0x66,0x02,0x9a,0xa0, +0x02,0x9a,0xf6,0xc8,0xc8,0x03,0x20,0xc8,0xc8,0xfc,0xf4,0xc8,0xc8,0x03,0x0c,0xc8, +0xc8,0xfe,0x84,0xfd,0x66,0x02,0x9a,0xa0,0x02,0x9b,0xfd,0x65,0xa0,0x00,0x00,0x03, +0x00,0xdb,0x00,0x50,0x01,0xae,0x05,0x3e,0x00,0x03,0x00,0x07,0x00,0x0b,0x00,0x00, +0x13,0x33,0x15,0x23,0x11,0x33,0x15,0x23,0x11,0x33,0x15,0x23,0xdb,0xd3,0xd3,0xd3, +0xd3,0xd3,0xd3,0x05,0x3e,0xfe,0xfd,0x0e,0xfe,0x02,0xf6,0xfe,0x00,0x04,0x00,0xdb, +0x00,0x11,0x01,0xae,0x05,0x77,0x00,0x03,0x00,0x07,0x00,0x0b,0x00,0x0f,0x00,0x00, +0x13,0x33,0x15,0x23,0x11,0x33,0x15,0x23,0x11,0x33,0x15,0x23,0x11,0x33,0x15,0x23, +0xdb,0xd3,0xd3,0xd3,0xd3,0xd3,0xd3,0xd3,0xd3,0x02,0x89,0xfe,0x03,0xec,0xfe,0xfc, +0x96,0xfe,0x03,0xf0,0xfe,0x00,0x00,0x02,0x00,0x57,0x02,0x8d,0x02,0xee,0x05,0xf0, +0x00,0x0d,0x00,0x19,0x00,0x00,0x00,0x22,0x07,0x06,0x15,0x14,0x17,0x16,0x32,0x37, +0x36,0x35,0x34,0x2f,0x01,0x32,0x16,0x15,0x14,0x06,0x23,0x22,0x26,0x35,0x34,0x36, +0x02,0x08,0xca,0x32,0x33,0x33,0x32,0xca,0x32,0x33,0x33,0x97,0xa1,0xaa,0xaa,0xa1, +0xa2,0xaa,0xaa,0x05,0x97,0x56,0x56,0xac,0xad,0x56,0x56,0x56,0x56,0xad,0xac,0x56, +0xaf,0xde,0xd3,0xd4,0xde,0xde,0xd4,0xd3,0xde,0x00,0x00,0x02,0x00,0x7a,0x02,0x9c, +0x00,0xee,0x06,0x03,0x00,0x03,0x00,0x07,0x00,0x00,0x13,0x33,0x11,0x23,0x11,0x33, +0x15,0x23,0x7a,0x74,0x74,0x74,0x74,0x05,0x0f,0xfd,0x8d,0x03,0x67,0x82,0x00,0x02, +0x00,0x3f,0x02,0x9c,0x02,0xf4,0x05,0xdf,0x00,0x02,0x00,0x0d,0x00,0xd4,0x40,0x16, +0x00,0x03,0x0b,0x07,0xdd,0x05,0x01,0x09,0xf7,0x03,0x91,0x0e,0x01,0x0c,0x0a,0x00, +0x5d,0x06,0x08,0x04,0x0c,0x0e,0x10,0xdc,0xd4,0x3c,0xc4,0xec,0x32,0x11,0x39,0x31, +0x00,0x10,0xf4,0xfc,0xd4,0x3c,0xec,0x32,0x12,0x39,0x30,0x01,0x4b,0xb0,0x0e,0x54, +0x4b,0xb0,0x0f,0x54,0x5b,0x4b,0xb0,0x10,0x54,0x5b,0x4b,0xb0,0x11,0x54,0x5b,0x4b, +0xb0,0x0b,0x54,0x5b,0x4b,0xb0,0x0a,0x54,0x5b,0x58,0xbd,0x00,0x0e,0x00,0x40,0x00, +0x01,0x00,0x0e,0x00,0x0e,0xff,0xc0,0x38,0x11,0x37,0x38,0x59,0x00,0x4b,0xb0,0x11, +0x54,0x4b,0xb0,0x0e,0x54,0x5b,0x58,0xbd,0x00,0x0e,0xff,0xc0,0x00,0x01,0x00,0x0e, +0x00,0x0e,0x00,0x40,0x38,0x11,0x37,0x38,0x59,0x40,0x54,0x0b,0x01,0x1d,0x01,0x2f, +0x01,0x39,0x01,0x49,0x01,0x46,0x03,0x59,0x03,0x69,0x03,0x8b,0x03,0xab,0x03,0xbb, +0x03,0x0b,0x01,0x00,0x0f,0x01,0x0f,0x02,0x0f,0x05,0x0f,0x06,0x0f,0x07,0x0f,0x08, +0x0f,0x0b,0x0f,0x0c,0x0f,0x0d,0x13,0x00,0x1f,0x01,0x1f,0x02,0x1f,0x05,0x1f,0x06, +0x1f,0x07,0x1f,0x08,0x1f,0x0b,0x1f,0x0c,0x1f,0x0d,0x22,0x00,0x35,0x00,0x47,0x00, +0x4b,0x0d,0x53,0x00,0x5b,0x0d,0x65,0x00,0x84,0x00,0xa5,0x00,0xb5,0x00,0x1e,0x5d, +0x01,0x5d,0x09,0x01,0x21,0x03,0x33,0x11,0x33,0x15,0x23,0x15,0x23,0x35,0x21,0x35, +0x01,0xdd,0xfe,0xcb,0x01,0x35,0x16,0xa6,0x87,0x87,0x90,0xfe,0x62,0x05,0x66,0xfe, +0x5d,0x02,0x1c,0xfd,0xe4,0x6d,0xba,0xba,0x79,0x00,0x00,0x01,0x00,0x66,0x02,0x8d, +0x02,0xd3,0x05,0xdf,0x00,0x20,0x00,0x00,0x13,0x21,0x15,0x21,0x15,0x36,0x37,0x36, +0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x23,0x22,0x26,0x27,0x35,0x16,0x17,0x16, +0x33,0x32,0x36,0x34,0x26,0x23,0x22,0x06,0x07,0x8e,0x01,0xfe,0xfe,0x79,0x1c,0x1d, +0x1c,0x1c,0xa1,0x5e,0x5e,0x61,0x60,0xb0,0x3c,0x7e,0x42,0x39,0x3e,0x3e,0x45,0x6f, +0x82,0x82,0x6f,0x34,0x68,0x36,0x05,0xdf,0x5f,0xcc,0x09,0x04,0x04,0x4d,0x4c,0x83, +0x87,0x4b,0x4a,0x12,0x12,0x71,0x1b,0x0e,0x0d,0x66,0xae,0x66,0x14,0x15,0x00,0x02, +0x00,0x5c,0x02,0x8d,0x02,0xf3,0x05,0xf0,0x00,0x0f,0x00,0x2f,0x00,0x00,0x01,0x22, +0x07,0x06,0x15,0x14,0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x13,0x15, +0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x07,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x15, +0x14,0x07,0x06,0x23,0x22,0x26,0x35,0x34,0x37,0x36,0x33,0x32,0x17,0x16,0x01,0xb3, +0x58,0x33,0x33,0x33,0x33,0x58,0x57,0x33,0x33,0x33,0x33,0xab,0x31,0x32,0x32,0x31, +0x80,0x44,0x44,0x0a,0x26,0x39,0x3a,0x44,0x91,0x54,0x54,0x58,0x57,0x91,0xa7,0xb0, +0x6c,0x6c,0xb6,0x31,0x32,0x32,0x04,0x6d,0x34,0x35,0x5b,0x5a,0x34,0x35,0x35,0x34, +0x5a,0x5b,0x35,0x34,0x01,0x62,0x67,0x14,0x0a,0x0b,0x4b,0x4c,0x99,0x31,0x1a,0x1a, +0x4c,0x4d,0x84,0x7f,0x4f,0x4e,0xde,0xd4,0xc6,0x75,0x76,0x08,0x09,0x00,0x00,0x01, +0x00,0x6c,0x02,0x9c,0x02,0xd5,0x05,0xdf,0x00,0x06,0x00,0x00,0x13,0x21,0x15,0x01, +0x23,0x01,0x21,0x6c,0x02,0x69,0xfe,0xa4,0x88,0x01,0x48,0xfe,0x33,0x05,0xdf,0x30, +0xfc,0xed,0x02,0xe4,0x00,0x03,0x00,0x59,0x02,0x8d,0x02,0xec,0x05,0xf0,0x00,0x0c, +0x00,0x2a,0x00,0x3a,0x00,0x00,0x00,0x22,0x07,0x06,0x15,0x14,0x16,0x33,0x32,0x37, +0x36,0x34,0x27,0x25,0x26,0x27,0x26,0x35,0x34,0x36,0x20,0x17,0x16,0x15,0x14,0x07, +0x06,0x07,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x23,0x22,0x27,0x26,0x35,0x34,0x37, +0x36,0x37,0x14,0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x07, +0x06,0x02,0x00,0xba,0x35,0x35,0x6a,0x5d,0x5c,0x36,0x35,0x35,0xfe,0xec,0x54,0x2e, +0x2f,0xa4,0x01,0x1e,0x52,0x51,0x2e,0x2f,0x53,0x5a,0x38,0x35,0x55,0x56,0x9e,0x9f, +0x55,0x56,0x35,0x36,0x2d,0x2f,0x2e,0x55,0x51,0x31,0x30,0x30,0x2f,0x53,0x53,0x30, +0x2f,0x04,0x2a,0x2c,0x2b,0x4b,0x4c,0x56,0x2c,0x2b,0x96,0x2b,0x5d,0x12,0x31,0x32, +0x48,0x64,0x74,0x3a,0x3a,0x64,0x4a,0x30,0x31,0x12,0x12,0x3a,0x37,0x50,0x79,0x41, +0x41,0x41,0x41,0x79,0x4e,0x39,0x38,0xc6,0x3f,0x26,0x25,0x25,0x24,0x41,0x3f,0x26, +0x25,0x25,0x24,0x00,0x00,0x02,0x00,0x53,0x02,0x8d,0x02,0xe9,0x05,0xf0,0x00,0x1f, +0x00,0x2e,0x00,0x00,0x13,0x35,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x37,0x06,0x07, +0x06,0x23,0x22,0x26,0x35,0x34,0x37,0x36,0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x06, +0x23,0x22,0x27,0x26,0x13,0x32,0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x07,0x06,0x15, +0x14,0x17,0x16,0x91,0x31,0x32,0x32,0x30,0x81,0x44,0x43,0x0a,0x23,0x3c,0x39,0x45, +0x90,0xa8,0x57,0x58,0x91,0xa7,0x57,0x58,0x6b,0x6c,0xb6,0x31,0x32,0x32,0xcc,0x58, +0x66,0x33,0x33,0x58,0x55,0x35,0x34,0x34,0x33,0x02,0xae,0x67,0x14,0x0b,0x0a,0x4b, +0x4b,0x9a,0x2f,0x1b,0x1a,0x98,0x84,0x81,0x4d,0x4e,0x6f,0x6f,0xd4,0xc6,0x75,0x76, +0x08,0x09,0x01,0x72,0x68,0x5c,0x5a,0x34,0x35,0x35,0x34,0x5a,0x5c,0x34,0x34,0x00, +0x00,0x01,0x00,0x89,0x02,0x9c,0x03,0xb0,0x05,0x6b,0x00,0x0b,0x00,0x00,0x01,0x11, +0x21,0x15,0x21,0x11,0x23,0x11,0x21,0x35,0x21,0x11,0x02,0x51,0x01,0x5f,0xfe,0xa1, +0x69,0xfe,0xa1,0x01,0x5f,0x05,0x6b,0xfe,0xc8,0x5f,0xfe,0xc8,0x01,0x38,0x5f,0x01, +0x38,0x00,0x00,0x01,0x00,0x89,0x03,0xd4,0x03,0xb0,0x04,0x33,0x00,0x03,0x00,0x00, +0x13,0x21,0x15,0x21,0x89,0x03,0x27,0xfc,0xd9,0x04,0x33,0x5f,0x00,0x02,0x00,0x89, +0x03,0x61,0x03,0xb0,0x04,0xa5,0x00,0x03,0x00,0x07,0x00,0x00,0x13,0x21,0x15,0x21, +0x15,0x21,0x15,0x21,0x89,0x03,0x27,0xfc,0xd9,0x03,0x27,0xfc,0xd9,0x04,0xa5,0x5e, +0x87,0x5f,0x00,0x01,0x00,0x6f,0x02,0x05,0x01,0x90,0x06,0x02,0x00,0x0d,0x00,0x00, +0x01,0x0e,0x01,0x10,0x16,0x17,0x23,0x26,0x27,0x26,0x34,0x37,0x36,0x37,0x01,0x90, +0x54,0x52,0x52,0x54,0x65,0x5e,0x2f,0x2f,0x2f,0x2e,0x5f,0x06,0x02,0x81,0xfc,0xfe, +0xfe,0xfe,0x80,0x83,0x80,0x7f,0xfa,0x7f,0x7e,0x84,0x00,0x01,0x00,0x67,0x02,0x05, +0x01,0x88,0x06,0x02,0x00,0x0f,0x00,0x00,0x13,0x33,0x16,0x17,0x16,0x14,0x07,0x06, +0x07,0x23,0x36,0x37,0x36,0x10,0x27,0x26,0x67,0x65,0x5f,0x2f,0x2e,0x2e,0x2f,0x5f, +0x65,0x54,0x29,0x2a,0x2a,0x29,0x06,0x02,0x84,0x7e,0x7f,0xfa,0x7f,0x80,0x83,0x80, +0x7f,0x7f,0x01,0x02,0x7e,0x7e,0x00,0x01,0x00,0x75,0x02,0x9c,0x02,0xc5,0x05,0x1f, +0x00,0x13,0x00,0x00,0x01,0x11,0x23,0x11,0x34,0x26,0x23,0x22,0x06,0x15,0x11,0x23, +0x11,0x33,0x15,0x3e,0x01,0x33,0x32,0x16,0x02,0xc4,0x74,0x4e,0x4e,0x5e,0x6c,0x75, +0x75,0x29,0x71,0x4a,0x79,0x7d,0x04,0x17,0xfe,0x85,0x01,0x77,0x59,0x59,0x6b,0x5c, +0xfe,0x9e,0x02,0x73,0x61,0x38,0x38,0x86,0xff,0xff,0x00,0x57,0xff,0xf1,0x02,0xee, +0x03,0x54,0x10,0x07,0x07,0xb8,0x00,0x00,0xfd,0x64,0xff,0xff,0x00,0x89,0x00,0x00, +0x02,0xc5,0x03,0x43,0x10,0x07,0x00,0x7b,0x00,0x00,0xfd,0x64,0xff,0xff,0x00,0x5e, +0x00,0x00,0x02,0xb4,0x03,0x54,0x10,0x07,0x00,0x74,0x00,0x00,0xfd,0x64,0xff,0xff, +0x00,0x62,0xff,0xf1,0x02,0xcd,0x03,0x54,0x10,0x07,0x00,0x75,0x00,0x00,0xfd,0x64, +0xff,0xff,0x00,0x3f,0x00,0x00,0x02,0xf4,0x03,0x43,0x10,0x07,0x07,0xba,0x00,0x00, +0xfd,0x64,0xff,0xff,0x00,0x66,0xff,0xf1,0x02,0xd3,0x03,0x43,0x10,0x07,0x07,0xbb, +0x00,0x00,0xfd,0x64,0xff,0xff,0x00,0x5c,0xff,0xf1,0x02,0xf3,0x03,0x54,0x10,0x07, +0x07,0xbc,0x00,0x00,0xfd,0x64,0xff,0xff,0x00,0x6c,0x00,0x00,0x02,0xd5,0x03,0x43, +0x10,0x07,0x07,0xbd,0x00,0x00,0xfd,0x64,0xff,0xff,0x00,0x59,0xff,0xf1,0x02,0xec, +0x03,0x54,0x10,0x07,0x07,0xbe,0x00,0x00,0xfd,0x64,0xff,0xff,0x00,0x53,0xff,0xf1, +0x02,0xe9,0x03,0x54,0x10,0x07,0x07,0xbf,0x00,0x00,0xfd,0x64,0xff,0xff,0x00,0x89, +0x00,0x00,0x03,0xb0,0x02,0xcf,0x10,0x07,0x07,0xc0,0x00,0x00,0xfd,0x64,0xff,0xff, +0x00,0x89,0x01,0x38,0x03,0xb0,0x01,0x97,0x10,0x07,0x07,0xc1,0x00,0x00,0xfd,0x64, +0xff,0xff,0x00,0x89,0x00,0xc5,0x03,0xb0,0x02,0x09,0x10,0x07,0x07,0xc2,0x00,0x00, +0xfd,0x64,0xff,0xff,0x00,0x6f,0xff,0x69,0x01,0x90,0x03,0x66,0x10,0x07,0x07,0xc3, +0x00,0x00,0xfd,0x64,0xff,0xff,0x00,0x67,0xff,0x69,0x01,0x88,0x03,0x66,0x10,0x07, +0x07,0xc4,0x00,0x00,0xfd,0x64,0x00,0x01,0x00,0x56,0x00,0x00,0x06,0xae,0x05,0xd6, +0x00,0x23,0x00,0x00,0x01,0x0e,0x01,0x23,0x22,0x00,0x10,0x00,0x33,0x32,0x16,0x17, +0x15,0x2e,0x01,0x23,0x22,0x06,0x10,0x16,0x33,0x32,0x36,0x37,0x11,0x21,0x15,0x21, +0x11,0x21,0x15,0x21,0x11,0x21,0x15,0x21,0x03,0xdd,0x4f,0xb2,0x63,0xfe,0xfe,0xdb, +0x01,0x25,0xfe,0x65,0xb1,0x4e,0x4c,0xad,0x62,0xc0,0xcc,0xcc,0xc0,0x62,0xad,0x4c, +0x02,0xc4,0xfd,0xd3,0x02,0x16,0xfd,0xea,0x02,0x3a,0xfd,0x2f,0x01,0xb8,0x36,0x36, +0x01,0x37,0x02,0x1c,0x01,0x37,0x35,0x36,0x9f,0x47,0x46,0xea,0xfe,0x44,0xea,0x46, +0x47,0x02,0x0a,0x80,0xfe,0xb5,0x80,0xfe,0x6b,0x80,0x00,0x03,0x00,0x73,0xff,0xa6, +0x04,0xbe,0x06,0x39,0x00,0x27,0x00,0x2e,0x00,0x34,0x00,0x00,0x01,0x16,0x17,0x37, +0x33,0x07,0x16,0x17,0x15,0x26,0x27,0x01,0x33,0x32,0x36,0x37,0x15,0x0e,0x01,0x23, +0x22,0x27,0x07,0x23,0x37,0x26,0x27,0x07,0x23,0x37,0x26,0x27,0x26,0x11,0x10,0x37, +0x36,0x25,0x37,0x33,0x07,0x06,0x07,0x06,0x11,0x14,0x17,0x01,0x26,0x27,0x01,0x16, +0x17,0x03,0x68,0x41,0x3e,0x1e,0x9b,0x2f,0x28,0x25,0x3a,0x40,0xfe,0xc1,0x12,0x77, +0xd3,0x5d,0x61,0xd8,0x79,0x1b,0x1a,0x12,0x9b,0x19,0x41,0x39,0x26,0x9b,0x41,0x13, +0x11,0xb2,0xb2,0xa0,0x01,0x08,0x15,0x9c,0xe3,0x91,0x58,0x7d,0x52,0x02,0x34,0x3e, +0x43,0xfe,0xc1,0x35,0x41,0x05,0xeb,0x08,0x13,0x69,0xa5,0x16,0x1c,0xd5,0x3c,0x29, +0xfb,0x97,0x5e,0x5f,0xd3,0x48,0x48,0x02,0x3f,0x57,0x12,0x1e,0x87,0xe6,0x12,0x15, +0xcf,0x01,0x67,0x01,0x68,0xd0,0xb9,0x14,0x4b,0xfc,0x1f,0x70,0x9d,0xfe,0xd8,0xee, +0x94,0x03,0xcb,0x13,0x04,0xfb,0x95,0x28,0x15,0x00,0x00,0x01,0x00,0x60,0xff,0xe4, +0x04,0xb3,0x05,0xf0,0x00,0x2c,0x00,0x00,0x25,0x36,0x37,0x36,0x37,0x15,0x0e,0x01, +0x23,0x20,0x00,0x11,0x10,0x00,0x21,0x32,0x16,0x17,0x15,0x2e,0x01,0x23,0x22,0x02, +0x11,0x10,0x17,0x16,0x17,0x11,0x33,0x15,0x3e,0x01,0x33,0x32,0x16,0x1f,0x01,0x2e, +0x01,0x23,0x22,0x06,0x15,0x03,0x2e,0x61,0x58,0x6a,0x5d,0x61,0xd9,0x79,0xfe,0xca, +0xfe,0x9b,0x01,0x65,0x01,0x36,0x7b,0xd9,0x5f,0x5d,0xd4,0x77,0xea,0xf9,0x7c,0x5e, +0x99,0x98,0x30,0x9a,0x6e,0x0f,0x26,0x17,0x01,0x1a,0x3c,0x24,0x80,0x8b,0x8a,0x07, +0x27,0x2f,0x5f,0xd3,0x48,0x47,0x01,0x9e,0x01,0x67,0x01,0x68,0x01,0x9f,0x47,0x47, +0xd5,0x5f,0x5e,0xfe,0xc7,0xfe,0xd8,0xfe,0xd9,0x9c,0x75,0x1e,0x03,0x5d,0x9d,0x5c, +0x59,0x04,0x05,0xaa,0x10,0x0f,0xb6,0xab,0x00,0x01,0x00,0x85,0x00,0x00,0x04,0xcb, +0x05,0xd5,0x00,0x11,0x00,0x00,0x01,0x11,0x21,0x15,0x21,0x11,0x21,0x15,0x21,0x11, +0x33,0x15,0x23,0x11,0x23,0x11,0x23,0x35,0x01,0x71,0x03,0x5a,0xfd,0x70,0x02,0x50, +0xfd,0xb0,0xfa,0xfa,0xca,0xec,0x01,0x7e,0x04,0x57,0xaa,0xfe,0x48,0xaa,0xfe,0xb5, +0x45,0xfe,0xc7,0x01,0x39,0x45,0x00,0x01,0x00,0x81,0x00,0x00,0x04,0x62,0x05,0xf0, +0x00,0x23,0x00,0x00,0x01,0x11,0x21,0x15,0x21,0x35,0x33,0x11,0x23,0x35,0x33,0x35, +0x23,0x35,0x33,0x35,0x10,0x36,0x33,0x32,0x16,0x17,0x15,0x2e,0x01,0x23,0x22,0x06, +0x1d,0x01,0x21,0x15,0x21,0x15,0x21,0x15,0x02,0x35,0x02,0x2d,0xfc,0x1f,0xec,0xbf, +0xbf,0xc7,0xc7,0xd6,0xe8,0x3d,0x97,0x4f,0x4c,0x88,0x3d,0x94,0x74,0x01,0x87,0xfe, +0x79,0x01,0x8f,0x01,0xec,0xfe,0xbe,0xaa,0xaa,0x01,0x42,0x8f,0x8f,0x8f,0x5f,0x01, +0x05,0xf3,0x1f,0x1d,0xb6,0x29,0x29,0x9b,0xd4,0x48,0x8f,0x8f,0x8f,0x00,0x00,0x01, +0x00,0xba,0xff,0xbd,0x07,0x1d,0x04,0xab,0x00,0x2a,0x00,0x00,0x01,0x16,0x17,0x3e, +0x01,0x33,0x32,0x16,0x15,0x11,0x23,0x11,0x34,0x26,0x23,0x22,0x06,0x15,0x11,0x23, +0x11,0x34,0x27,0x01,0x23,0x01,0x26,0x23,0x22,0x06,0x15,0x11,0x23,0x11,0x33,0x15, +0x3e,0x01,0x33,0x32,0x17,0x37,0x33,0x03,0xcc,0x3d,0x20,0x45,0xc0,0x82,0xaf,0xbe, +0xb9,0x72,0x75,0x8f,0xa6,0xb9,0x0e,0xfe,0xf0,0x80,0x01,0x3b,0x35,0x51,0x8d,0xa6, +0xb9,0xb9,0x3f,0xb0,0x79,0x4a,0x3c,0x16,0x80,0x04,0x21,0x3b,0x5d,0x7c,0x76,0xf5, +0xe2,0xfd,0x5c,0x02,0x9e,0xa1,0x9c,0xbe,0xa4,0xfd,0x87,0x02,0x9e,0x52,0x3c,0xfc, +0x91,0x03,0xfa,0x24,0xbf,0xa3,0xfd,0x87,0x04,0x60,0xae,0x67,0x62,0x17,0x47,0x00, +0x00,0x05,0x00,0x75,0x00,0x00,0x05,0x87,0x05,0xd5,0x00,0x02,0x00,0x06,0x00,0x22, +0x00,0x26,0x00,0x29,0x00,0x00,0x01,0x27,0x15,0x13,0x27,0x23,0x15,0x03,0x21,0x13, +0x33,0x11,0x33,0x11,0x33,0x15,0x23,0x15,0x33,0x15,0x23,0x11,0x21,0x03,0x23,0x11, +0x23,0x11,0x23,0x35,0x33,0x35,0x23,0x35,0x33,0x05,0x17,0x33,0x35,0x03,0x17,0x35, +0x02,0x4b,0x4f,0xb6,0x38,0x7e,0xc4,0x01,0x10,0xd3,0xe5,0xc4,0xc3,0xc3,0xc3,0xc3, +0xfe,0xf0,0xd3,0xe5,0xc4,0xc3,0xc3,0xc3,0xc3,0x02,0x12,0x38,0x7e,0x4f,0x4f,0x03, +0xaf,0xce,0xce,0xfe,0xf2,0x93,0x93,0x03,0x34,0xfd,0xda,0x02,0x26,0xfd,0xda,0x7b, +0x93,0x7b,0xfd,0xda,0x02,0x26,0xfd,0xda,0x02,0x26,0x7b,0x93,0x7b,0x7b,0x93,0x93, +0xfe,0xf2,0xce,0xce,0x00,0x02,0x00,0xc9,0xff,0xe3,0x09,0xce,0x05,0xd5,0x00,0x08, +0x00,0x50,0x00,0x00,0x01,0x11,0x33,0x32,0x36,0x35,0x34,0x26,0x23,0x01,0x06,0x07, +0x06,0x2b,0x01,0x11,0x23,0x11,0x21,0x32,0x17,0x16,0x17,0x33,0x11,0x33,0x11,0x21, +0x15,0x21,0x11,0x14,0x16,0x3b,0x01,0x35,0x1e,0x01,0x33,0x32,0x36,0x35,0x34,0x26, +0x2f,0x01,0x2e,0x01,0x35,0x34,0x36,0x33,0x32,0x16,0x17,0x15,0x2e,0x01,0x23,0x22, +0x06,0x15,0x14,0x16,0x1f,0x01,0x1e,0x01,0x15,0x14,0x06,0x23,0x22,0x26,0x27,0x35, +0x23,0x22,0x26,0x35,0x11,0x01,0x87,0xef,0x85,0x91,0x91,0x85,0x01,0xdd,0x06,0x71, +0x7a,0xec,0xef,0xbe,0x01,0xad,0xec,0x7a,0x57,0x18,0x51,0xae,0x01,0x65,0xfe,0x9b, +0x47,0x6c,0xab,0x60,0xbb,0x5b,0x7a,0x84,0x5f,0xa1,0x3c,0xa1,0x8f,0xd3,0xc2,0x60, +0xa9,0x48,0x4a,0x9e,0x55,0x81,0x81,0x5d,0x8b,0x3b,0xb9,0x9b,0xe9,0xcb,0x55,0xb7, +0x66,0xab,0xc9,0x98,0x05,0x2f,0xfd,0xcf,0x92,0x87,0x86,0x92,0xfe,0xcc,0xc8,0x6a, +0x71,0xfd,0xa8,0x05,0xd5,0x71,0x52,0x88,0x01,0x3e,0xfe,0xc2,0x8f,0xfd,0xa0,0x89, +0x4e,0x23,0x35,0x35,0x59,0x51,0x4b,0x50,0x25,0x0f,0x24,0x95,0x82,0x9e,0xac,0x1e, +0x1e,0xae,0x28,0x28,0x54,0x54,0x40,0x49,0x21,0x0e,0x2a,0x99,0x89,0x9c,0xb6,0x23, +0x23,0x01,0x9f,0xd2,0x02,0x60,0x00,0x02,0x00,0xc9,0xff,0xe3,0x08,0x33,0x05,0xd5, +0x00,0x07,0x00,0x45,0x00,0x00,0x01,0x11,0x33,0x32,0x36,0x10,0x26,0x23,0x01,0x17, +0x23,0x03,0x2e,0x01,0x2b,0x01,0x11,0x23,0x11,0x21,0x20,0x16,0x15,0x14,0x06,0x07, +0x1e,0x01,0x1f,0x01,0x16,0x17,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x2f,0x01,0x2e, +0x01,0x35,0x34,0x36,0x33,0x32,0x16,0x17,0x15,0x2e,0x01,0x23,0x22,0x06,0x15,0x14, +0x16,0x1f,0x01,0x1e,0x01,0x15,0x14,0x06,0x23,0x22,0x27,0x26,0x01,0x93,0xfe,0x92, +0x95,0x95,0x92,0x02,0xbf,0x04,0xd9,0xbf,0x4a,0x8b,0x78,0xdc,0xca,0x01,0xc8,0x01, +0x00,0xfc,0x83,0x7d,0x41,0x7b,0x3e,0x5b,0x62,0x60,0x63,0x61,0x82,0x8c,0x65,0xab, +0x40,0xab,0x98,0xe0,0xce,0x66,0xb4,0x4c,0x4e,0xa8,0x5a,0x89,0x89,0x62,0x94,0x3f, +0xc4,0xa5,0xf7,0xd8,0x5a,0x61,0x2c,0x05,0x2f,0xfd,0xee,0x87,0x01,0x06,0x85,0xfa, +0xd8,0x07,0x01,0x7f,0x96,0x62,0xfd,0x89,0x05,0xd5,0xd6,0xd8,0x8d,0xba,0x24,0x16, +0x90,0x7e,0xb4,0x33,0x19,0x1b,0x59,0x51,0x4b,0x50,0x25,0x0f,0x24,0x95,0x82,0x9e, +0xac,0x1e,0x1e,0xae,0x28,0x28,0x54,0x54,0x40,0x49,0x21,0x0e,0x2a,0x99,0x89,0x9c, +0xb6,0x12,0x08,0x00,0x00,0x06,0x00,0x3b,0x00,0x00,0x07,0xae,0x05,0xd5,0x00,0x1f, +0x00,0x22,0x00,0x26,0x00,0x29,0x00,0x2d,0x00,0x31,0x00,0x00,0x13,0x27,0x23,0x35, +0x33,0x27,0x33,0x17,0x21,0x37,0x33,0x17,0x21,0x37,0x33,0x07,0x33,0x15,0x23,0x07, +0x33,0x15,0x23,0x03,0x23,0x03,0x23,0x03,0x23,0x03,0x23,0x35,0x05,0x1b,0x01,0x01, +0x17,0x21,0x37,0x01,0x1b,0x02,0x07,0x33,0x27,0x21,0x17,0x21,0x37,0xb6,0x1e,0x5d, +0x3a,0x31,0xcc,0x30,0x02,0x13,0x30,0xe3,0x30,0x02,0x13,0x30,0xcd,0x31,0x39,0x5d, +0x1d,0x7a,0x9e,0xe1,0xfe,0xda,0xc3,0xdc,0xfe,0xe0,0x9f,0x04,0xc0,0xa5,0xa5,0xfe, +0x75,0x1d,0x01,0x91,0x1d,0xfb,0x20,0xa5,0xa5,0xe5,0x1d,0x7d,0x1c,0xfd,0x4c,0x1d, +0x01,0x91,0x1d,0x04,0x0f,0x75,0x8f,0xc2,0xc2,0xc2,0xc2,0xc2,0xc2,0x8f,0x75,0x8f, +0xfc,0x80,0x03,0x80,0xfc,0x80,0x03,0x80,0x8f,0x8f,0xfd,0x67,0x02,0x99,0x01,0x04, +0x75,0x75,0xfe,0xfc,0xfd,0x67,0x02,0x99,0x01,0x04,0x75,0x75,0x75,0x75,0x00,0x02, +0x00,0x5f,0xff,0xe3,0x05,0xf1,0x05,0xd5,0x00,0x0d,0x00,0x1b,0x00,0x00,0x13,0x25, +0x20,0x00,0x19,0x01,0x23,0x11,0x34,0x26,0x23,0x21,0x11,0x23,0x29,0x01,0x22,0x00, +0x19,0x01,0x33,0x11,0x14,0x16,0x33,0x21,0x03,0x33,0x5f,0x02,0x07,0x00,0xff,0x01, +0x06,0xb8,0x9d,0xb0,0xfe,0xb1,0xb8,0x05,0x8e,0xfd,0xfd,0xff,0xfe,0xfa,0xb8,0x9d, +0xb0,0x01,0x53,0x04,0xb8,0x05,0xd2,0x03,0xfe,0xd6,0xfe,0xdc,0xfe,0x91,0x01,0x56, +0xf0,0xd3,0xfa,0xb2,0x01,0x2a,0x01,0x24,0x01,0x6f,0xfe,0xaa,0xf0,0xd3,0x05,0x4e, +0xff,0xff,0x00,0x81,0xfe,0xc0,0x05,0x04,0x06,0x14,0x12,0x22,0x00,0xd3,0x10,0x00, +0x10,0x03,0x02,0x81,0x00,0x8a,0x00,0x00,0x00,0x01,0x00,0x00,0xff,0xe3,0x04,0x8f, +0x05,0xf0,0x00,0x31,0x01,0x1c,0x40,0x3a,0x20,0x12,0xd3,0x22,0x10,0x2b,0x07,0xd3, +0x09,0x19,0xa1,0x1a,0xae,0x16,0x95,0x1d,0x01,0xa1,0x00,0xae,0x04,0x95,0x2f,0x91, +0x1d,0x8c,0x29,0x09,0x32,0x2b,0x22,0x21,0x29,0x23,0x26,0x12,0x10,0x0a,0x03,0x0d, +0x09,0x11,0x08,0x2c,0x20,0x26,0x13,0x07,0x11,0x08,0x11,0x0d,0x1c,0x19,0x00,0x26, +0x2a,0x21,0x2f,0x3c,0xd4,0xc4,0x32,0xfc,0xc4,0xc4,0x12,0x39,0x39,0x12,0x39,0x39, +0x11,0x12,0x39,0x11,0x17,0x39,0x12,0x39,0x39,0x11,0x39,0x39,0x31,0x00,0x10,0xc4, +0x32,0xe4,0xf4,0xec,0xf4,0xec,0x10,0xee,0xf6,0xee,0x10,0xee,0x32,0xdd,0x3c,0xee, +0x32,0x30,0x01,0x4b,0xb0,0x09,0x54,0x4b,0xb0,0x0c,0x54,0x5b,0x4b,0xb0,0x0d,0x54, +0x5b,0x4b,0xb0,0x0f,0x54,0x5b,0x4b,0xb0,0x17,0x54,0x5b,0x4b,0xb0,0x18,0x54,0x5b, +0x58,0xbd,0x00,0x32,0xff,0xc0,0x00,0x01,0x00,0x32,0x00,0x32,0x00,0x40,0x38,0x11, +0x37,0x38,0x59,0x40,0x7a,0x0e,0x00,0x0e,0x01,0x0b,0x02,0x0b,0x31,0x54,0x14,0x69, +0x0c,0x6c,0x0e,0x6e,0x0f,0x6f,0x10,0x6f,0x11,0x6f,0x12,0x6f,0x13,0x69,0x14,0x6b, +0x1f,0x6f,0x20,0x6f,0x21,0x6f,0x22,0x6f,0x23,0x6e,0x24,0x6c,0x25,0x69,0x27,0x69, +0x2d,0x9f,0x07,0x9f,0x08,0x9f,0x09,0x9f,0x0a,0x9f,0x0b,0x9f,0x0c,0x9f,0x0d,0x9f, +0x0e,0x9f,0x0f,0x9f,0x10,0x9f,0x11,0x9f,0x12,0x9f,0x13,0x96,0x1f,0x9f,0x20,0x9f, +0x21,0x9f,0x22,0x9f,0x23,0x9f,0x24,0x9f,0x25,0x9f,0x26,0x9f,0x27,0x9f,0x28,0x9f, +0x29,0x9f,0x2a,0x9f,0x2b,0x9f,0x2c,0x9d,0x2d,0x32,0x00,0x08,0x00,0x09,0x10,0x08, +0x10,0x09,0x20,0x08,0x20,0x09,0x55,0x15,0x53,0x1e,0x6a,0x15,0x67,0x1f,0x0a,0x5d, +0x00,0x5d,0x01,0x15,0x2e,0x01,0x23,0x22,0x06,0x07,0x21,0x07,0x21,0x0e,0x01,0x15, +0x14,0x16,0x17,0x21,0x07,0x21,0x1e,0x01,0x33,0x32,0x36,0x37,0x15,0x0e,0x01,0x23, +0x22,0x00,0x03,0x23,0x37,0x33,0x34,0x26,0x35,0x34,0x36,0x35,0x23,0x37,0x33,0x12, +0x00,0x33,0x32,0x16,0x04,0x8f,0x5b,0xa9,0x66,0x9d,0xca,0x20,0x02,0x41,0x37,0xfd, +0xe6,0x02,0x01,0x01,0x02,0x01,0xbe,0x38,0xfe,0x8a,0x20,0xca,0x9d,0x66,0xa9,0x5b, +0x59,0xb9,0x60,0xed,0xfe,0xcb,0x28,0xd3,0x37,0x8b,0x01,0x01,0xc2,0x37,0x9c,0x28, +0x01,0x36,0xec,0x62,0xb9,0x05,0x62,0xd5,0x69,0x5a,0xc8,0xbb,0x7b,0x18,0x2e,0x23, +0x20,0x2e,0x18,0x7b,0xbb,0xca,0x5a,0x69,0xd3,0x48,0x48,0x01,0x22,0x01,0x03,0x7b, +0x17,0x2f,0x20,0x23,0x2f,0x17,0x7b,0x01,0x01,0x01,0x22,0x47,0x00,0x01,0x00,0x28, +0x00,0x00,0x05,0x16,0x05,0xd5,0x00,0x11,0x00,0x00,0x13,0x11,0x33,0x11,0x01,0x33, +0x01,0x21,0x15,0x21,0x01,0x23,0x01,0x11,0x23,0x11,0x23,0x35,0xbf,0xbd,0x02,0x75, +0xf3,0xfd,0x80,0x01,0xaa,0xfe,0x58,0x02,0xb0,0xf9,0xfd,0x5f,0xbd,0x97,0x03,0x54, +0x02,0x81,0xfd,0x89,0x02,0x77,0xfd,0x7f,0x73,0xfd,0x1f,0x02,0xcf,0xfd,0x31,0x02, +0xe1,0x73,0x00,0x01,0x00,0x14,0x00,0x00,0x05,0x03,0x05,0xd5,0x00,0x17,0x00,0x00, +0x01,0x11,0x21,0x35,0x21,0x15,0x21,0x11,0x37,0x17,0x05,0x15,0x37,0x17,0x05,0x11, +0x23,0x11,0x07,0x27,0x25,0x35,0x07,0x27,0x02,0x26,0xfd,0xee,0x04,0xef,0xfd,0xee, +0xe5,0x50,0xfe,0xcb,0xe6,0x50,0xfe,0xca,0xcb,0xe7,0x4d,0x01,0x34,0xe8,0x4d,0x03, +0x8d,0x01,0x9e,0xaa,0xaa,0xfe,0xf1,0xa1,0x6f,0xd8,0x88,0xa2,0x6f,0xd9,0xfd,0xb8, +0x01,0xba,0xa1,0x6e,0xd9,0x88,0xa2,0x6e,0x00,0x04,0x00,0x1b,0xfe,0x75,0x08,0x5a, +0x05,0xc8,0x00,0x17,0x00,0x23,0x00,0x30,0x00,0x3b,0x00,0x00,0x33,0x37,0x33,0x36, +0x37,0x13,0x22,0x06,0x1d,0x01,0x07,0x10,0x37,0x36,0x21,0x33,0x32,0x00,0x15,0x10, +0x03,0x06,0x04,0x21,0x37,0x33,0x20,0x00,0x11,0x34,0x26,0x2b,0x01,0x03,0x02,0x06, +0x01,0x13,0x1a,0x01,0x33,0x20,0x11,0x10,0x00,0x23,0x22,0x27,0x03,0x13,0x16,0x33, +0x32,0x12,0x35,0x34,0x23,0x22,0x03,0x07,0x1c,0x94,0x38,0x74,0x2a,0xac,0x82,0x96, +0xc2,0xa0,0xa0,0x01,0x8a,0x40,0xe2,0x01,0x04,0xee,0x7c,0xfe,0xac,0xfe,0xd4,0x30, +0x76,0x01,0x18,0x01,0x44,0x96,0x80,0x50,0x86,0x34,0x4a,0x02,0x8c,0xa0,0x4a,0xe6, +0xc0,0x01,0x48,0xfe,0xb2,0xe0,0x34,0x5c,0x56,0x7c,0x4a,0x4a,0x84,0xb0,0x96,0x9c, +0x44,0x1a,0xa0,0x52,0xd3,0x03,0x5f,0xa6,0x91,0x18,0x5e,0x01,0x11,0x9f,0xa1,0xfe, +0xea,0xf1,0xfe,0x77,0xfe,0xda,0x98,0x7a,0xa0,0x01,0xa8,0x01,0x6e,0xae,0xd0,0xfd, +0x58,0xfe,0xff,0xa1,0xfd,0x8b,0x03,0x2c,0x01,0x73,0x01,0x42,0xfe,0xa5,0xfe,0xce, +0xfe,0x37,0x23,0xfe,0x52,0x02,0x6d,0x4e,0x01,0x43,0xf6,0xf5,0xfe,0xb9,0x82,0x00, +0x00,0x04,0x00,0x44,0x00,0x00,0x04,0xa2,0x05,0xd5,0x00,0x1d,0x00,0x24,0x00,0x2b, +0x00,0x31,0x00,0x00,0x13,0x35,0x23,0x35,0x33,0x11,0x21,0x32,0x17,0x16,0x17,0x33, +0x15,0x23,0x16,0x14,0x07,0x33,0x15,0x23,0x06,0x07,0x06,0x2b,0x01,0x11,0x23,0x11, +0x23,0x35,0x05,0x21,0x15,0x33,0x32,0x37,0x36,0x01,0x21,0x26,0x27,0x26,0x2b,0x01, +0x05,0x21,0x15,0x21,0x36,0x34,0x97,0x52,0x52,0x01,0xc8,0xfb,0x81,0x4c,0x1f,0x5c, +0x48,0x01,0x01,0x47,0x5a,0x1f,0x4d,0x81,0xfb,0xfe,0xca,0x53,0x03,0x1c,0xfe,0x01, +0xfe,0x8d,0x4d,0x17,0xfe,0x11,0x01,0xff,0x10,0x17,0x4d,0x8d,0xfe,0x02,0x23,0xfd, +0xdd,0x02,0x23,0x02,0x03,0xec,0x56,0x74,0x01,0x1f,0x71,0x44,0x6a,0x74,0x15,0x2c, +0x15,0x74,0x6b,0x44,0x71,0xfd,0xa8,0x03,0x78,0x74,0x74,0x7a,0x49,0x16,0x01,0x59, +0x1b,0x15,0x49,0xed,0x56,0x15,0x2c,0x00,0x00,0x01,0x00,0x75,0xff,0xe3,0x05,0xbc, +0x05,0xf0,0x00,0x36,0x00,0x00,0x01,0x36,0x37,0x36,0x37,0x21,0x35,0x21,0x36,0x37, +0x36,0x35,0x34,0x26,0x23,0x22,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x04,0x15,0x14, +0x07,0x33,0x15,0x21,0x06,0x0f,0x01,0x21,0x15,0x21,0x06,0x15,0x14,0x16,0x33,0x32, +0x36,0x37,0x15,0x0e,0x01,0x23,0x20,0x24,0x35,0x34,0x37,0x23,0x35,0x01,0x5c,0x04, +0x16,0x4a,0x80,0xfe,0x35,0x03,0x92,0x0c,0x0d,0x3b,0xb3,0xa5,0x5f,0xcc,0x73,0x72, +0xda,0x69,0xf5,0x01,0x17,0x19,0xaf,0xfe,0xfd,0x67,0xd8,0x43,0x02,0x85,0xfc,0x53, +0x31,0xbc,0xad,0x72,0xec,0x7b,0x80,0xef,0x6a,0xfe,0xe7,0xfe,0xdd,0x12,0xa8,0x02, +0xa1,0x07,0x16,0x4a,0x2c,0x7b,0x08,0x09,0x2b,0x6b,0x76,0x80,0x36,0x37,0xc5,0x26, +0x26,0xe4,0xc6,0x55,0x42,0x7b,0x5c,0x2a,0x0d,0x7b,0x3b,0x5e,0x7e,0x88,0x46,0x45, +0xd0,0x2f,0x30,0xe0,0xd9,0x4b,0x3f,0x7b,0x00,0x02,0x00,0xaa,0xfe,0xd3,0x04,0x77, +0x06,0x14,0x00,0x21,0x00,0x2c,0x00,0x00,0x01,0x15,0x26,0x27,0x26,0x23,0x11,0x32, +0x37,0x36,0x37,0x15,0x06,0x07,0x06,0x07,0x11,0x23,0x11,0x26,0x27,0x26,0x11,0x35, +0x10,0x37,0x36,0x37,0x35,0x37,0x15,0x16,0x17,0x16,0x01,0x03,0x06,0x07,0x06,0x07, +0x06,0x17,0x16,0x17,0x16,0x04,0x77,0x5b,0x54,0x55,0x65,0x65,0x55,0x54,0x5b,0x59, +0x5c,0x59,0x5b,0x64,0xb9,0x73,0xd4,0xd4,0x79,0xb2,0x65,0x5d,0x59,0x5c,0xfe,0x8a, +0x01,0x5b,0x43,0x76,0x0f,0x0e,0x0e,0x19,0x6c,0x43,0x04,0xa4,0xd5,0x69,0x2d,0x2d, +0xfb,0xf1,0x2d,0x2d,0x69,0xd3,0x48,0x24,0x22,0x02,0xfe,0xf0,0x01,0x15,0x17,0x75, +0xd6,0x01,0x39,0x11,0x01,0x42,0xcb,0x74,0x17,0xe6,0x02,0xe2,0x02,0x22,0x23,0xfb, +0xa3,0x03,0xf9,0x17,0x42,0x75,0xaa,0xa1,0x66,0xb4,0x6c,0x43,0x00,0x04,0x00,0x43, +0xff,0xcf,0x07,0xd8,0x06,0x04,0x00,0x0a,0x00,0x24,0x00,0x28,0x00,0x42,0x00,0x00, +0x01,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x3d,0x01,0x37,0x11,0x23,0x35,0x0e, +0x01,0x23,0x22,0x26,0x35,0x34,0x36,0x33,0x17,0x34,0x26,0x23,0x22,0x06,0x07,0x35, +0x3e,0x01,0x33,0x32,0x16,0x25,0x33,0x01,0x23,0x01,0x15,0x2e,0x01,0x23,0x22,0x06, +0x15,0x14,0x16,0x33,0x32,0x36,0x37,0x15,0x0e,0x01,0x23,0x22,0x26,0x35,0x34,0x36, +0x33,0x32,0x16,0x02,0x0f,0xa0,0x70,0x53,0x48,0x66,0x7f,0xbc,0xbc,0x03,0x99,0x6d, +0x8d,0xa6,0xcd,0xc6,0xa9,0x6f,0x67,0x44,0x81,0x63,0x5c,0x94,0x47,0xc2,0xc1,0x02, +0xb0,0xd8,0xfc,0x44,0xd8,0x05,0xa9,0x5e,0x6f,0x38,0x79,0x89,0x89,0x79,0x38,0x6f, +0x5e,0x49,0x82,0x49,0xca,0xec,0xee,0xd1,0x43,0x80,0x03,0xf6,0x42,0x52,0x43,0x49, +0x94,0x82,0x0a,0x4d,0xfe,0x0d,0x3e,0x05,0x4f,0x9e,0x81,0x96,0x9b,0x06,0x57,0x5c, +0x20,0x37,0xb2,0x24,0x1e,0xca,0xfa,0xf9,0xcb,0x03,0x84,0xb2,0x34,0x1e,0x9c,0x94, +0x93,0x9d,0x1f,0x34,0xb1,0x22,0x1b,0xfa,0xd1,0xd4,0xf9,0x1b,0xff,0xff,0x00,0xc3, +0xff,0xf0,0x08,0x8c,0x05,0xf0,0x10,0x26,0x00,0x72,0x00,0x00,0x10,0x47,0x00,0x26, +0x03,0x46,0x00,0x0c,0x41,0x75,0x3e,0x52,0x00,0x02,0xff,0xd6,0x00,0x00,0x05,0x18, +0x05,0xd5,0x00,0x08,0x00,0x2b,0x00,0x99,0xb8,0x00,0x2c,0x2f,0xb8,0x00,0x2d,0x2f, +0xb8,0x00,0x15,0xdc,0xb8,0x00,0x00,0xdc,0xb8,0x00,0x2c,0x10,0xb8,0x00,0x28,0xd0, +0xb8,0x00,0x28,0x2f,0xb8,0x00,0x04,0xdc,0x41,0x1b,0x00,0x16,0x00,0x04,0x00,0x26, +0x00,0x04,0x00,0x36,0x00,0x04,0x00,0x46,0x00,0x04,0x00,0x56,0x00,0x04,0x00,0x66, +0x00,0x04,0x00,0x76,0x00,0x04,0x00,0x86,0x00,0x04,0x00,0x96,0x00,0x04,0x00,0xa6, +0x00,0x04,0x00,0xb6,0x00,0x04,0x00,0xc6,0x00,0x04,0x00,0xd6,0x00,0x04,0x00,0x0d, +0x5d,0x41,0x05,0x00,0xe5,0x00,0x04,0x00,0xf5,0x00,0x04,0x00,0x02,0x5d,0xb8,0x00, +0x00,0x10,0xb8,0x00,0x09,0xd0,0xb8,0x00,0x15,0x10,0xb8,0x00,0x0b,0xd0,0xb8,0x00, +0x15,0x10,0xb8,0x00,0x1f,0xd0,0xb8,0x00,0x00,0x10,0xb8,0x00,0x23,0xd0,0x00,0xb8, +0x00,0x0a,0x2f,0xba,0x00,0x21,0x00,0x22,0x00,0x03,0x2b,0xb8,0x00,0x21,0x10,0x30, +0x31,0x01,0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x11,0x35,0x33,0x15,0x16,0x17, +0x16,0x17,0x15,0x26,0x27,0x26,0x27,0x11,0x36,0x37,0x36,0x37,0x15,0x06,0x07,0x06, +0x07,0x15,0x21,0x15,0x21,0x35,0x26,0x27,0x26,0x11,0x10,0x37,0x36,0x01,0x77,0x49, +0x33,0x63,0x63,0x33,0x49,0xca,0x38,0x36,0x51,0x4c,0x4e,0x4e,0x37,0x38,0x38,0x37, +0x4e,0x4e,0x4d,0x52,0x34,0x38,0x02,0xd7,0xfc,0x5f,0xa1,0x6b,0x95,0x97,0x69,0x04, +0xb3,0x1d,0x3a,0x72,0xcd,0xcd,0x71,0x3b,0x1d,0x03,0xd4,0x7a,0x6e,0x04,0x0b,0x12, +0x23,0xac,0x2b,0x16,0x0f,0x04,0xfc,0xa4,0x04,0x10,0x15,0x2b,0xaa,0x24,0x12,0x0b, +0x04,0x2a,0xaa,0xde,0x20,0x72,0x9f,0x01,0x0e,0x01,0x12,0x9d,0x6e,0x00,0x00,0x04, +0x00,0x3c,0xff,0xcf,0x07,0xe5,0x06,0x04,0x00,0x19,0x00,0x1d,0x00,0x28,0x00,0x32, +0x00,0x00,0x01,0x15,0x2e,0x01,0x23,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x37, +0x15,0x0e,0x01,0x23,0x22,0x26,0x35,0x34,0x36,0x33,0x32,0x16,0x25,0x33,0x01,0x23, +0x01,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x10,0x26,0x24,0x20,0x16,0x15,0x14, +0x06,0x20,0x26,0x35,0x34,0x03,0x06,0x5e,0x6f,0x38,0x79,0x89,0x89,0x79,0x38,0x6f, +0x5e,0x49,0x82,0x49,0xca,0xec,0xee,0xd1,0x43,0x80,0x02,0xdd,0xd8,0xfc,0x44,0xd8, +0x04,0x6b,0x61,0x76,0x76,0x61,0x60,0x77,0x77,0xfe,0xdf,0x01,0x82,0xda,0xda,0xfe, +0x7e,0xd9,0x05,0x97,0xb2,0x34,0x1e,0x9c,0x94,0x93,0x9d,0x1f,0x34,0xb1,0x22,0x1d, +0xfc,0xd1,0xd4,0xf9,0x1b,0x4b,0xf9,0xcb,0x03,0x04,0x9e,0x92,0x91,0x9f,0xa0,0x01, +0x20,0xa0,0x9d,0xf8,0xd5,0xd4,0xf8,0xf8,0xd4,0xd5,0x00,0x03,0x00,0x3c,0xff,0xcf, +0x08,0x4d,0x06,0x04,0x00,0x13,0x00,0x2d,0x00,0x31,0x00,0x00,0x01,0x11,0x33,0x11, +0x14,0x16,0x33,0x32,0x36,0x35,0x11,0x33,0x11,0x23,0x35,0x0e,0x01,0x23,0x22,0x26, +0x01,0x15,0x2e,0x01,0x23,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x37,0x15,0x0e, +0x01,0x23,0x22,0x26,0x35,0x34,0x36,0x33,0x32,0x16,0x25,0x33,0x01,0x23,0x05,0x5c, +0xbc,0x51,0x50,0x63,0x75,0xbc,0xbc,0x06,0x90,0x60,0x9e,0xa1,0xfd,0xaa,0x5e,0x6f, +0x38,0x79,0x89,0x89,0x79,0x38,0x6f,0x5e,0x49,0x82,0x49,0xca,0xec,0xee,0xd1,0x43, +0x80,0x02,0xdd,0xd8,0xfc,0x44,0xd8,0x01,0x4c,0x02,0x10,0xfd,0xf5,0x72,0x69,0x81, +0x75,0x01,0xf0,0xfc,0x90,0x44,0x09,0x50,0xc1,0x04,0xff,0xb2,0x34,0x1e,0x9c,0x94, +0x93,0x9d,0x1f,0x34,0xb1,0x22,0x1d,0xfc,0xd1,0xd4,0xf9,0x1b,0x4b,0xf9,0xcb,0x00, +0xff,0xff,0x00,0xc3,0x00,0x00,0x07,0x26,0x05,0xf0,0x10,0x22,0x00,0x72,0x00,0x00, +0x10,0x03,0x00,0x29,0x03,0x03,0x00,0x00,0x00,0x01,0x00,0x48,0x00,0x00,0x04,0x87, +0x06,0x14,0x00,0x19,0x00,0x00,0x01,0x03,0x23,0x13,0x3e,0x01,0x35,0x34,0x26,0x23, +0x22,0x06,0x07,0x03,0x23,0x01,0x33,0x03,0x3e,0x01,0x33,0x32,0x16,0x15,0x14,0x06, +0x04,0x75,0x83,0xb9,0x83,0x09,0x0a,0x6a,0x5f,0x94,0xd9,0x20,0x79,0xb8,0x01,0x2f, +0xb8,0x77,0x46,0xda,0x78,0x94,0xa3,0x09,0x02,0xa4,0xfd,0x5c,0x02,0x9d,0x2f,0x48, +0x15,0x54,0x5e,0xc8,0xa6,0xfd,0x93,0x06,0x14,0xfd,0x9c,0x5e,0x6d,0xa0,0x91,0x24, +0x52,0x00,0x00,0x01,0x00,0x22,0x00,0x00,0x04,0x62,0x06,0x14,0x00,0x1d,0x00,0x00, +0x01,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x07,0x03,0x23,0x13,0x36,0x26,0x23,0x22, +0x06,0x07,0x03,0x23,0x13,0x23,0x37,0x33,0x37,0x33,0x07,0x21,0x07,0x21,0x01,0x94, +0x55,0x63,0x64,0x75,0xc1,0x4c,0x4b,0x2d,0x83,0xb8,0x82,0x1f,0x5d,0x7c,0x95,0xd1, +0x20,0x7b,0xb9,0xf9,0x9a,0x19,0x9a,0x1c,0xb9,0x1c,0x02,0x40,0x19,0xfd,0xc0,0x03, +0xb2,0x65,0x32,0x32,0x77,0x78,0xe8,0xfd,0x5c,0x02,0x9e,0x9f,0x9e,0xbe,0xa4,0xfd, +0x87,0x05,0x04,0x7d,0x93,0x93,0x7d,0x00,0x00,0x02,0x00,0x6a,0xff,0xe3,0x05,0x46, +0x05,0xf0,0x00,0x21,0x00,0x32,0x00,0x00,0x3f,0x01,0x36,0x33,0x32,0x17,0x16,0x33, +0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x35,0x34,0x3f,0x01,0x06,0x15,0x14,0x17,0x16, +0x15,0x14,0x07,0x06,0x23,0x22,0x27,0x26,0x23,0x22,0x13,0x36,0x33,0x32,0x17,0x16, +0x33,0x32,0x37,0x07,0x06,0x23,0x22,0x26,0x23,0x22,0x07,0x6a,0x8c,0x6f,0x75,0x39, +0x84,0x90,0x21,0x79,0x64,0x47,0x3e,0x50,0x50,0xd5,0x50,0x50,0x35,0xca,0xba,0xf2, +0x36,0x81,0x85,0x38,0x5e,0x6e,0x6d,0x8d,0x7b,0x7f,0x7a,0x80,0x7d,0x7d,0xc8,0x8b, +0x6f,0x8f,0xd6,0x8f,0x7a,0x80,0x5a,0xa5,0x27,0x50,0x56,0x89,0x61,0x4b,0x7e,0x70, +0x92,0x6d,0x64,0xa0,0x8c,0x8b,0x79,0x6b,0x94,0x62,0xbc,0x5e,0xf2,0xde,0x4f,0x50, +0x05,0x36,0x38,0x31,0x2f,0x3a,0xaa,0x3a,0x62,0x3a,0x00,0x02,0xff,0xe4,0xff,0xe3, +0x02,0xd2,0x05,0xf0,0x00,0x1c,0x00,0x26,0x00,0x00,0x01,0x16,0x33,0x32,0x37,0x33, +0x06,0x07,0x06,0x23,0x22,0x27,0x07,0x23,0x36,0x37,0x26,0x35,0x34,0x37,0x12,0x37, +0x36,0x33,0x32,0x15,0x06,0x07,0x02,0x01,0x12,0x13,0x36,0x35,0x34,0x23,0x06,0x03, +0x06,0x01,0x30,0x29,0x57,0x3a,0x4b,0x85,0x3c,0x46,0x4c,0x46,0x9c,0x3f,0x4b,0x9c, +0x6c,0x50,0x0a,0x1f,0x75,0x68,0x48,0x7b,0x7d,0x01,0x12,0x48,0xfe,0xb8,0xbb,0x39, +0x1e,0x19,0x6d,0x61,0x1b,0x01,0x0c,0xc8,0x73,0x66,0x35,0x39,0x8b,0x6e,0x93,0x89, +0x4e,0x55,0x98,0x98,0x02,0x3b,0x75,0x51,0xad,0x4e,0x5d,0xfe,0x83,0xfe,0xf7,0x01, +0x5c,0x01,0x16,0x93,0x26,0x45,0x57,0xfd,0xfa,0x91,0xff,0xff,0x00,0xc9,0x00,0x00, +0x08,0xf0,0x05,0xf0,0x10,0x27,0x00,0x7c,0x05,0x8c,0x00,0x00,0x10,0x06,0x00,0x31, +0x00,0x00,0x00,0x04,0x01,0x1b,0x00,0x00,0x06,0xe5,0x05,0xca,0x00,0x0c,0x00,0x19, +0x00,0x22,0x00,0x2d,0x00,0x00,0x01,0x16,0x11,0x10,0x00,0x21,0x20,0x00,0x03,0x10, +0x00,0x21,0x20,0x06,0x21,0x20,0x00,0x11,0x12,0x00,0x21,0x20,0x00,0x11,0x10,0x27, +0x05,0x11,0x33,0x32,0x36,0x35,0x34,0x26,0x23,0x25,0x21,0x32,0x16,0x15,0x14,0x06, +0x2b,0x01,0x11,0x23,0x06,0x0b,0xda,0xfe,0x4a,0xfe,0xd1,0xfe,0xcf,0xfe,0x52,0x06, +0x01,0xb4,0x01,0x31,0x01,0x32,0x29,0xfe,0xf7,0xfe,0xfa,0xfe,0x86,0x05,0x01,0x75, +0x01,0x06,0x01,0x07,0x01,0x79,0xbb,0xfd,0xd3,0xb2,0x63,0x6b,0x6b,0x63,0xfe,0xc1, +0x01,0x3f,0xb0,0xb4,0xb4,0xb0,0xb2,0x8d,0x04,0xf1,0xdb,0xfe,0xce,0xfe,0xd0,0xfe, +0x4c,0x01,0xb4,0x01,0x30,0x01,0x30,0x01,0xb6,0x65,0xfe,0x85,0xfe,0xf9,0xfe,0xfb, +0xfe,0x87,0x01,0x79,0x01,0x05,0x01,0x09,0xbb,0x77,0xfe,0xaf,0x58,0x51,0x50,0x58, +0x64,0x89,0x83,0x85,0x87,0xfe,0x98,0x00,0x00,0x02,0x00,0x6e,0xfe,0x3b,0x05,0x43, +0x03,0xf6,0x00,0x30,0x00,0x3c,0x00,0x00,0x01,0x06,0x15,0x14,0x17,0x36,0x37,0x36, +0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x23,0x22,0x27,0x36,0x37,0x16,0x33,0x32, +0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x01,0x12,0x15,0x14,0x07,0x06,0x23,0x22, +0x27,0x26,0x35,0x10,0x37,0x26,0x35,0x34,0x37,0x03,0x06,0x15,0x14,0x17,0x16,0x17, +0x32,0x37,0x36,0x35,0x34,0x02,0x35,0x88,0x1f,0x5b,0xab,0xdb,0x84,0x83,0x46,0x49, +0x9c,0x79,0xae,0x65,0x4c,0x12,0x09,0x29,0x71,0x7a,0x5d,0x45,0x26,0x20,0x4a,0xbd, +0xfe,0x9f,0x87,0x45,0x59,0x83,0x71,0x3a,0x3f,0xdf,0x2e,0xe8,0x94,0x81,0x1f,0x30, +0x2e,0x41,0x1c,0x20,0x03,0xc6,0x82,0xbe,0x4d,0x6b,0x65,0x94,0xbd,0x4c,0x50,0xab, +0xda,0xd7,0xa7,0x3c,0x2b,0x1d,0x28,0x8c,0x68,0xc3,0x7c,0x48,0x3d,0xfe,0x79,0xfe, +0xde,0x7c,0x9d,0x6e,0x8e,0x3d,0x42,0x86,0x01,0x0b,0xfc,0x9e,0x7f,0xee,0xa4,0xfc, +0xef,0xc6,0x7b,0x75,0x2e,0x46,0x01,0x2f,0x34,0x5f,0x4e,0x00,0x00,0x02,0x00,0x53, +0xff,0xe3,0x06,0x6c,0x05,0xf1,0x00,0x49,0x00,0x58,0x00,0x00,0x05,0x26,0x35,0x34, +0x27,0x26,0x23,0x22,0x0f,0x01,0x15,0x14,0x07,0x06,0x23,0x22,0x27,0x26,0x35,0x16, +0x17,0x14,0x17,0x16,0x32,0x37,0x36,0x35,0x11,0x34,0x27,0x26,0x23,0x22,0x07,0x06, +0x14,0x17,0x16,0x33,0x17,0x22,0x27,0x26,0x35,0x34,0x37,0x36,0x33,0x32,0x17,0x16, +0x17,0x37,0x36,0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x32,0x17,0x16,0x17, +0x16,0x15,0x14,0x17,0x37,0x17,0x01,0x16,0x15,0x11,0x37,0x36,0x37,0x36,0x35,0x34, +0x27,0x26,0x23,0x22,0x07,0x05,0x02,0x52,0x16,0x28,0x4f,0x2a,0x5c,0x78,0x67,0x67, +0x8c,0x8d,0x66,0x67,0x2d,0x2e,0x40,0x40,0x90,0x3f,0x40,0x40,0x3f,0x5c,0x51,0x41, +0x40,0x40,0x40,0x53,0x36,0x97,0x66,0x67,0x67,0x66,0x97,0xa2,0x65,0x1e,0x10,0xd3, +0xbb,0x70,0x2f,0x24,0x7e,0x41,0x42,0x7d,0x3a,0x31,0x24,0x1b,0x20,0x2d,0x90,0x2a, +0xfc,0xa4,0x15,0x9a,0x90,0x4d,0x4a,0x4a,0x18,0x1f,0x40,0x66,0x1d,0xb7,0x9f,0x8c, +0x5b,0xa6,0x2b,0x38,0xc7,0xce,0x76,0x75,0x75,0x76,0xb0,0x0c,0x0c,0x7a,0x56,0x57, +0x57,0x57,0x96,0x02,0x9b,0x95,0x58,0x57,0x57,0x56,0xca,0x56,0x57,0x5c,0x75,0x76, +0x9c,0x9d,0x75,0x75,0x75,0x23,0x20,0x62,0x57,0x0e,0x31,0xb1,0x57,0x7b,0x7c,0x5e, +0x31,0x24,0x68,0x7b,0x83,0x80,0x76,0x43,0x5b,0x04,0x53,0x4b,0x5c,0xfe,0x95,0x47, +0x43,0x68,0x66,0x79,0x97,0x20,0x0a,0x2f,0x00,0x05,0x00,0x76,0x00,0x00,0x05,0xe1, +0x05,0xd5,0x00,0x07,0x00,0x1b,0x00,0x1f,0x00,0x27,0x00,0x30,0x00,0x00,0x01,0x16, +0x17,0x13,0x33,0x03,0x26,0x27,0x20,0x2b,0x01,0x11,0x21,0x11,0x21,0x20,0x16,0x15, +0x14,0x06,0x07,0x1e,0x01,0x17,0x13,0x21,0x03,0x26,0x01,0x11,0x33,0x11,0x01,0x11, +0x26,0x23,0x21,0x11,0x21,0x32,0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x03, +0x2e,0x4e,0x66,0x8e,0xc8,0x8e,0x60,0x5a,0xfe,0xa4,0x78,0x14,0xfe,0x6e,0x02,0xa8, +0x01,0x00,0xfc,0x84,0x7c,0x40,0x7c,0x3e,0xcc,0xfe,0x48,0xbe,0x4a,0xfd,0xba,0xc6, +0x01,0xee,0x22,0x26,0xfe,0xc2,0x01,0x3e,0x26,0x8a,0x3a,0x28,0x5e,0x5e,0x26,0x3c, +0x02,0x77,0x2f,0xc9,0xfe,0xe5,0x01,0x1b,0xc0,0x38,0xfd,0x89,0x05,0xd5,0xd6,0xd8, +0x8d,0xba,0x24,0x16,0x90,0x7e,0xfe,0x68,0x01,0x7f,0x96,0x03,0x5c,0xfa,0xf3,0x05, +0x0d,0xfd,0x6e,0x02,0x8e,0x04,0xfd,0x6a,0x1b,0x15,0x25,0x54,0xa4,0x9e,0x58,0x24, +0x14,0x00,0x00,0x02,0x00,0xa9,0x00,0x00,0x06,0x83,0x05,0xd5,0x00,0x08,0x00,0x1f, +0x00,0xa7,0xb8,0x00,0x20,0x2f,0xb8,0x00,0x21,0x2f,0xb8,0x00,0x20,0x10,0xb8,0x00, +0x0e,0xd0,0xb8,0x00,0x0e,0x2f,0xb8,0x00,0x0d,0xdc,0xb8,0x00,0x00,0xd0,0xb8,0x00, +0x21,0x10,0xb8,0x00,0x13,0xdc,0xb8,0x00,0x05,0xdc,0x41,0x05,0x00,0xea,0x00,0x05, +0x00,0xfa,0x00,0x05,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x05,0x00,0x29,0x00, +0x05,0x00,0x39,0x00,0x05,0x00,0x49,0x00,0x05,0x00,0x59,0x00,0x05,0x00,0x69,0x00, +0x05,0x00,0x79,0x00,0x05,0x00,0x89,0x00,0x05,0x00,0x99,0x00,0x05,0x00,0xa9,0x00, +0x05,0x00,0xb9,0x00,0x05,0x00,0xc9,0x00,0x05,0x00,0xd9,0x00,0x05,0x00,0x0d,0x5d, +0xb8,0x00,0x09,0xd0,0xb8,0x00,0x09,0x2f,0xba,0x00,0x1e,0x00,0x0e,0x00,0x13,0x11, +0x12,0x39,0x00,0xb8,0x00,0x0d,0x2f,0xb8,0x00,0x1a,0x2f,0xb8,0x00,0x1d,0x2f,0xba, +0x00,0x0f,0x00,0x00,0x00,0x03,0x2b,0xb8,0x00,0x0f,0x10,0xba,0x00,0x02,0x00,0x0b, +0x00,0x03,0x2b,0xb8,0x00,0x02,0x10,0x30,0x31,0x01,0x11,0x33,0x32,0x36,0x35,0x34, +0x26,0x23,0x01,0x06,0x2b,0x01,0x11,0x23,0x11,0x21,0x32,0x04,0x15,0x14,0x07,0x17, +0x37,0x33,0x09,0x01,0x23,0x0b,0x01,0x23,0x01,0x01,0x73,0xfe,0x8d,0x9a,0x9a,0x8d, +0x01,0x20,0x73,0xad,0xfe,0xca,0x01,0xc8,0xfb,0x01,0x01,0x4e,0xae,0xbe,0xe8,0xfe, +0xcd,0x01,0x43,0xe9,0xcf,0xd4,0xe8,0x01,0x49,0x05,0x2f,0xfd,0xcf,0x92,0x87,0x86, +0x92,0xfd,0x5f,0x36,0xfd,0xa8,0x05,0xd5,0xe3,0xdb,0xac,0x6b,0xdb,0xea,0xfe,0x86, +0xfe,0x6b,0x01,0x04,0xfe,0xfc,0x01,0x95,0x00,0x02,0x01,0x03,0x03,0x8b,0x06,0x28, +0x05,0xd8,0x00,0x27,0x00,0x34,0x00,0x00,0x01,0x15,0x2e,0x01,0x23,0x22,0x06,0x15, +0x14,0x16,0x1f,0x01,0x1e,0x01,0x15,0x14,0x06,0x23,0x22,0x26,0x27,0x35,0x1e,0x01, +0x33,0x32,0x36,0x35,0x34,0x26,0x2f,0x01,0x2e,0x01,0x35,0x34,0x36,0x33,0x32,0x16, +0x37,0x33,0x1b,0x01,0x33,0x11,0x23,0x11,0x03,0x23,0x03,0x11,0x23,0x02,0xe6,0x55, +0x57,0x27,0x41,0x47,0x2f,0x45,0x38,0x70,0x69,0x90,0x8c,0x34,0x73,0x47,0x5b,0x64, +0x2f,0x45,0x4b,0x37,0x3f,0x38,0x70,0x63,0x8a,0x7c,0x33,0x69,0xd0,0xb8,0xa1,0xa2, +0xb8,0x8a,0x8c,0x87,0x8d,0x89,0x05,0xb7,0x59,0x22,0x13,0x2a,0x2f,0x28,0x20,0x0b, +0x09,0x12,0x56,0x41,0x4f,0x5b,0x13,0x15,0x60,0x2a,0x18,0x2c,0x32,0x2c,0x2a,0x0a, +0x09,0x12,0x4d,0x3d,0x48,0x5c,0x0f,0x05,0xfe,0xac,0x01,0x54,0xfd,0xc8,0x01,0x94, +0xfe,0xd8,0x01,0x28,0xfe,0x6c,0x00,0x03,0xff,0xfc,0x00,0x00,0x08,0x30,0x04,0x60, +0x00,0x07,0x00,0x13,0x00,0x19,0x00,0x00,0x03,0x21,0x15,0x21,0x11,0x23,0x11,0x21, +0x05,0x21,0x15,0x21,0x11,0x21,0x15,0x21,0x11,0x21,0x15,0x21,0x01,0x33,0x11,0x21, +0x15,0x21,0x04,0x03,0xb3,0xfe,0x72,0x98,0xfe,0x73,0x02,0xe0,0x02,0x6f,0xfe,0x16, +0x01,0xd5,0xfe,0x2b,0x01,0xf6,0xfd,0x85,0x02,0xef,0x85,0x01,0xe0,0xfd,0x9b,0x04, +0x60,0x80,0xfc,0x20,0x03,0xe0,0x60,0x66,0xfe,0xf7,0x66,0xfe,0xbb,0x66,0x03,0x80, +0xfc,0xe6,0x66,0x00,0x00,0x02,0x01,0x27,0x03,0x93,0x06,0x46,0x05,0xd5,0x00,0x0c, +0x00,0x14,0x00,0x3e,0x40,0x21,0x01,0x06,0x07,0x10,0x0a,0x04,0x12,0x0e,0x09,0x03, +0x06,0xc9,0x0d,0x02,0x00,0x81,0x15,0x01,0x09,0x05,0x62,0x03,0x09,0x62,0x0b,0x0d, +0x63,0x0f,0x62,0x13,0x63,0x11,0x15,0x10,0xd4,0xe4,0xfc,0xe4,0xd4,0xec,0xd4,0xec, +0x11,0x39,0x31,0x00,0x10,0xf4,0x3c,0x3c,0xec,0x17,0x32,0xd4,0x3c,0x3c,0xc4,0x11, +0x39,0x30,0x01,0x1b,0x01,0x33,0x11,0x23,0x11,0x03,0x23,0x03,0x11,0x23,0x11,0x23, +0x15,0x23,0x11,0x23,0x11,0x23,0x35,0x04,0x4a,0xae,0xa4,0xaa,0x71,0xc3,0x37,0xcb, +0x72,0x71,0xcb,0x72,0xc9,0x05,0xd5,0xff,0x00,0x01,0x00,0xfd,0xbe,0x01,0xe4,0xfe, +0xd1,0x01,0x2f,0xfe,0x1c,0x02,0x42,0x5e,0xfe,0x1c,0x01,0xe4,0x5e,0x00,0xff,0xff, +0x00,0x4e,0x00,0x00,0x05,0xcf,0x05,0xe7,0x10,0x06,0x03,0x22,0x00,0x00,0x00,0x01, +0x00,0x4e,0xff,0xe3,0x05,0xcf,0x05,0xca,0x00,0x1e,0x00,0x00,0x01,0x35,0x21,0x15, +0x16,0x12,0x15,0x14,0x00,0x20,0x00,0x35,0x34,0x12,0x37,0x35,0x21,0x15,0x21,0x06, +0x02,0x15,0x10,0x00,0x21,0x20,0x00,0x11,0x34,0x02,0x27,0x05,0xcf,0xfd,0xa8,0xb1, +0xc6,0xfe,0xf8,0xfe,0x50,0xfe,0xf7,0xc7,0xb2,0xfd,0xa8,0x01,0x3f,0x9e,0x91,0x01, +0x7f,0x01,0x31,0x01,0x2f,0x01,0x81,0x8e,0xa1,0x05,0x18,0xb2,0xb2,0x61,0xfe,0xb4, +0xca,0xf0,0xfe,0xde,0x01,0x23,0xef,0xca,0x01,0x4c,0x61,0xb2,0xb2,0x8b,0xfe,0xd6, +0xb8,0xfe,0xc2,0xfe,0x76,0x01,0x89,0x01,0x35,0xc2,0x01,0x28,0x8d,0x00,0xff,0xff, +0x00,0xc9,0x00,0x00,0x05,0x6a,0x05,0xd5,0x10,0x06,0x00,0x2e,0x00,0x00,0xff,0xff, +0x00,0x10,0x00,0x00,0x05,0x68,0x07,0x6d,0x10,0x06,0x00,0x87,0x00,0x00,0x00,0x02, +0x00,0x7d,0xff,0xe7,0x06,0x59,0x05,0x2d,0x00,0x1a,0x00,0x29,0x00,0x00,0x25,0x16, +0x17,0x16,0x20,0x37,0x36,0x37,0x33,0x06,0x07,0x06,0x20,0x24,0x02,0x35,0x34,0x12, +0x24,0x33,0x32,0x04,0x12,0x15,0x21,0x22,0x15,0x35,0x14,0x33,0x21,0x32,0x35,0x11, +0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x07,0x01,0x90,0x43,0x5d,0x96,0x01,0x4a,0x98, +0x6a,0x4d,0x6f,0x5f,0x8e,0xb3,0xfe,0x7a,0xfe,0x9b,0xc6,0xc9,0x01,0x67,0xbe,0xbd, +0x01,0x67,0xca,0xfb,0x4a,0x13,0x13,0x03,0x90,0x14,0x46,0x5f,0x98,0x9f,0xa0,0x98, +0x5f,0x44,0xe4,0x4d,0x33,0x54,0x54,0x3c,0x60,0x78,0x47,0x5a,0xb3,0x01,0x41,0xaf, +0xb0,0x01,0x45,0xae,0xae,0xfe,0xbb,0xb0,0x13,0x49,0x13,0x13,0x01,0x70,0x50,0x33, +0x52,0x51,0x34,0x4f,0x00,0x01,0x00,0xc9,0x00,0x00,0x04,0x23,0x05,0xd5,0x00,0x09, +0x00,0x00,0x29,0x01,0x35,0x21,0x11,0x21,0x35,0x21,0x11,0x33,0x04,0x23,0xfc,0xa6, +0x02,0x90,0xfd,0xb0,0x02,0x50,0xca,0xaa,0x01,0xb8,0xaa,0x02,0xc9,0x00,0x00,0x02, +0x00,0x68,0xff,0xe7,0x03,0x4a,0x03,0x29,0x00,0x0b,0x00,0x17,0x00,0x00,0x01,0x34, +0x26,0x23,0x22,0x02,0x15,0x14,0x16,0x33,0x32,0x12,0x03,0x32,0x16,0x15,0x14,0x02, +0x23,0x22,0x26,0x35,0x34,0x12,0x02,0xa9,0x57,0x4f,0x6d,0x8d,0x56,0x50,0x6d,0x8d, +0xc2,0x98,0xcb,0xdd,0xa2,0x98,0xcb,0xdd,0x01,0xf7,0x74,0x7d,0xfe,0xfe,0xcf,0x74, +0x7b,0x01,0x04,0x01,0xfd,0xd8,0xa3,0xc6,0xfe,0xff,0xd8,0xa3,0xc6,0x01,0x01,0x00, +0x00,0x01,0x00,0x67,0xff,0xe3,0x05,0xb2,0x05,0xf0,0x00,0x36,0x00,0x00,0x09,0x01, +0x16,0x15,0x14,0x07,0x34,0x27,0x01,0x07,0x06,0x1f,0x01,0x16,0x15,0x14,0x07,0x06, +0x2b,0x01,0x35,0x36,0x35,0x34,0x2f,0x01,0x26,0x35,0x34,0x3f,0x01,0x27,0x26,0x35, +0x34,0x37,0x14,0x17,0x09,0x01,0x27,0x26,0x35,0x34,0x37,0x14,0x1f,0x01,0x16,0x15, +0x14,0x07,0x34,0x2f,0x01,0x03,0xc4,0x01,0x8b,0x63,0x90,0x32,0xfc,0xfb,0x9b,0x3e, +0x42,0xac,0x64,0x3d,0x56,0x45,0xf5,0xc4,0x2f,0x62,0x35,0x8c,0x9a,0xf1,0x63,0x90, +0x32,0x02,0x6c,0x01,0x19,0x74,0x63,0x90,0x32,0xb6,0x63,0x90,0x32,0x12,0x02,0xd0, +0xfe,0x75,0x63,0x31,0x82,0x4c,0x53,0x32,0x03,0x05,0x9c,0x3f,0x42,0xac,0x64,0x6a, +0x6c,0x2c,0x3e,0x38,0x3f,0x5d,0x1d,0x2f,0x63,0x36,0x67,0x55,0x8d,0x9b,0xf1,0x63, +0x31,0x82,0x4c,0x53,0x32,0xfd,0x96,0x01,0x19,0x74,0x63,0x31,0x82,0x4c,0x53,0x32, +0xb6,0x63,0x31,0x82,0x4c,0x53,0x32,0x12,0x00,0x04,0x00,0x97,0x00,0x00,0x09,0x4c, +0x04,0x60,0x00,0x09,0x00,0x0c,0x00,0x14,0x00,0x20,0x00,0x00,0x13,0x21,0x15,0x21, +0x11,0x21,0x15,0x21,0x11,0x23,0x01,0x03,0x21,0x01,0x33,0x01,0x23,0x27,0x21,0x07, +0x23,0x01,0x33,0x1b,0x01,0x33,0x09,0x01,0x23,0x09,0x01,0x23,0x01,0x97,0x02,0x83, +0xfe,0x14,0x01,0xbc,0xfe,0x44,0x97,0x03,0x83,0xb5,0x01,0x6a,0xff,0x00,0x97,0x01, +0x77,0x8a,0x5a,0xfe,0x44,0x5a,0x8c,0x03,0xd6,0x8f,0xf5,0xf6,0x90,0xfe,0xc3,0x01, +0x52,0x90,0xfe,0xeb,0xfe,0xe9,0x90,0x01,0x60,0x04,0x60,0x80,0xfe,0xb6,0x7f,0xfd, +0xe9,0x03,0x08,0xfe,0x43,0x02,0x35,0xfc,0x80,0xe6,0xe6,0x03,0x80,0xfe,0xb3,0x01, +0x4d,0xfe,0x52,0xfe,0x2e,0x01,0x7d,0xfe,0x83,0x01,0xde,0x00,0x00,0x02,0x00,0x3b, +0xff,0xe3,0x05,0xb8,0x05,0xf0,0x00,0x26,0x00,0x30,0x00,0x00,0x09,0x01,0x0e,0x01, +0x07,0x23,0x36,0x12,0x37,0x01,0x33,0x17,0x3e,0x01,0x33,0x32,0x00,0x15,0x14,0x06, +0x07,0x1e,0x01,0x15,0x14,0x06,0x23,0x22,0x26,0x27,0x35,0x1e,0x01,0x33,0x32,0x36, +0x35,0x34,0x26,0x37,0x3e,0x01,0x35,0x34,0x26,0x23,0x22,0x06,0x07,0x03,0xba,0xfe, +0x04,0x3b,0x42,0x06,0xba,0x0c,0x68,0x5d,0xfe,0xe9,0xfc,0x8f,0x68,0xe4,0x83,0xf1, +0x01,0x32,0x86,0x86,0x30,0x32,0xde,0xb8,0x53,0xa5,0x55,0x57,0x9e,0x44,0x69,0x83, +0x3b,0x32,0x5b,0x55,0xd4,0xa0,0x5f,0xa6,0x49,0x02,0x40,0x02,0x08,0x59,0xcb,0x72, +0x84,0x01,0x02,0x7e,0x01,0x1d,0x93,0x59,0x57,0xfe,0xed,0xd7,0x80,0xe1,0x63,0x3f, +0x7d,0x3c,0xa2,0xc5,0x24,0x24,0xb6,0x2f,0x31,0x6f,0x58,0x33,0x67,0xce,0x51,0xa1, +0x58,0x92,0xc2,0x3f,0x40,0x00,0xff,0xff,0x00,0x89,0xff,0xe3,0x07,0x58,0x05,0xf0, +0x10,0x22,0x00,0x7b,0x00,0x00,0x10,0x27,0x08,0x86,0x03,0x35,0x00,0x00,0x10,0x03, +0x00,0x75,0x04,0x8b,0xfd,0x64,0xff,0xff,0x00,0x5e,0xff,0xe3,0x07,0x58,0x05,0xf0, +0x10,0x22,0x00,0x74,0x00,0x00,0x10,0x27,0x08,0x86,0x03,0x35,0x00,0x00,0x10,0x03, +0x00,0x75,0x04,0x8b,0xfd,0x64,0xff,0xff,0x00,0x89,0xff,0xe3,0x07,0x5e,0x05,0xf0, +0x10,0x22,0x00,0x7b,0x00,0x00,0x10,0x27,0x08,0x86,0x03,0x35,0x00,0x00,0x10,0x03, +0x07,0xbb,0x04,0x8b,0xfd,0x64,0xff,0xff,0x00,0x5e,0xff,0xe3,0x07,0x5e,0x05,0xf0, +0x10,0x22,0x00,0x74,0x00,0x00,0x10,0x27,0x08,0x86,0x03,0x35,0x00,0x00,0x10,0x03, +0x07,0xbb,0x04,0x8b,0xfd,0x64,0xff,0xff,0x00,0x62,0xff,0xe3,0x07,0x5e,0x05,0xf0, +0x10,0x22,0x00,0x75,0x00,0x00,0x10,0x27,0x08,0x86,0x03,0x35,0x00,0x00,0x10,0x03, +0x07,0xbb,0x04,0x8b,0xfd,0x64,0xff,0xff,0x00,0x3f,0xff,0xe3,0x07,0x5e,0x05,0xf0, +0x10,0x22,0x07,0xba,0x00,0x00,0x10,0x27,0x08,0x86,0x03,0x35,0x00,0x00,0x10,0x03, +0x07,0xbb,0x04,0x8b,0xfd,0x64,0xff,0xff,0x00,0x89,0xff,0xe3,0x07,0x7e,0x05,0xf0, +0x10,0x22,0x00,0x7b,0x00,0x00,0x10,0x27,0x08,0x86,0x03,0x35,0x00,0x00,0x10,0x03, +0x07,0xbc,0x04,0x8b,0xfd,0x64,0xff,0xff,0x00,0x66,0xff,0xe3,0x07,0x7e,0x05,0xf0, +0x10,0x22,0x07,0xbb,0x00,0x00,0x10,0x27,0x08,0x86,0x03,0x35,0x00,0x00,0x10,0x03, +0x07,0xbc,0x04,0x8b,0xfd,0x64,0xff,0xff,0x00,0x89,0xff,0xe3,0x07,0x77,0x05,0xf0, +0x10,0x22,0x00,0x7b,0x00,0x00,0x10,0x27,0x08,0x86,0x03,0x35,0x00,0x00,0x10,0x03, +0x07,0xbe,0x04,0x8b,0xfd,0x64,0xff,0xff,0x00,0x62,0xff,0xe3,0x07,0x77,0x05,0xf0, +0x10,0x22,0x00,0x75,0x00,0x00,0x10,0x27,0x08,0x86,0x03,0x35,0x00,0x00,0x10,0x03, +0x07,0xbe,0x04,0x8b,0xfd,0x64,0xff,0xff,0x00,0x66,0xff,0xe3,0x07,0x77,0x05,0xf0, +0x10,0x22,0x07,0xbb,0x00,0x00,0x10,0x27,0x08,0x86,0x03,0x35,0x00,0x00,0x10,0x03, +0x07,0xbe,0x04,0x8b,0xfd,0x64,0xff,0xff,0x00,0x6c,0xff,0xe3,0x07,0x77,0x05,0xf0, +0x10,0x22,0x07,0xbd,0x00,0x00,0x10,0x27,0x08,0x86,0x03,0x35,0x00,0x00,0x10,0x03, +0x07,0xbe,0x04,0x8b,0xfd,0x64,0xff,0xff,0x00,0x89,0xff,0xe3,0x06,0x02,0x05,0xf0, +0x10,0x22,0x00,0x7b,0x00,0x00,0x10,0x07,0x08,0x86,0x03,0x35,0x00,0x00,0xff,0xff, +0x00,0xc9,0x00,0x00,0x01,0x93,0x05,0xd5,0x10,0x06,0x00,0x2c,0x00,0x00,0xff,0xff, +0x00,0xc9,0x00,0x00,0x03,0x27,0x05,0xd5,0x10,0x26,0x00,0x2c,0x00,0x00,0x10,0x07, +0x00,0x2c,0x01,0x94,0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x04,0xbb,0x05,0xd5, +0x10,0x26,0x00,0x2c,0x00,0x00,0x10,0x27,0x00,0x2c,0x01,0x94,0x00,0x00,0x10,0x07, +0x00,0x2c,0x03,0x28,0x00,0x00,0xff,0xff,0x00,0xc9,0x00,0x00,0x07,0x51,0x05,0xd5, +0x10,0x26,0x00,0x2c,0x00,0x00,0x10,0x07,0x00,0x39,0x01,0xe9,0x00,0x00,0xff,0xff, +0x00,0x10,0x00,0x00,0x05,0x68,0x05,0xd5,0x10,0x06,0x00,0x39,0x00,0x00,0xff,0xff, +0x00,0x10,0x00,0x00,0x06,0x98,0x05,0xd5,0x10,0x26,0x00,0x39,0x00,0x00,0x10,0x07, +0x00,0x2c,0x05,0x05,0x00,0x00,0xff,0xff,0x00,0x10,0x00,0x00,0x08,0x2c,0x05,0xd5, +0x10,0x26,0x00,0x39,0x00,0x00,0x10,0x27,0x00,0x2c,0x05,0x05,0x00,0x00,0x10,0x07, +0x00,0x2c,0x06,0x99,0x00,0x00,0xff,0xff,0x00,0x10,0x00,0x00,0x09,0xc0,0x05,0xd5, +0x10,0x26,0x00,0x39,0x00,0x00,0x10,0x27,0x00,0x2c,0x05,0x05,0x00,0x00,0x10,0x27, +0x00,0x2c,0x06,0x99,0x00,0x00,0x10,0x07,0x00,0x2c,0x08,0x2d,0x00,0x00,0xff,0xff, +0x00,0xc9,0x00,0x00,0x07,0x17,0x05,0xd5,0x10,0x26,0x00,0x2c,0x00,0x00,0x10,0x07, +0x00,0x3b,0x01,0xdc,0x00,0x00,0xff,0xff,0x00,0x3d,0x00,0x00,0x05,0x3b,0x05,0xd5, +0x10,0x06,0x00,0x3b,0x00,0x00,0xff,0xff,0x00,0x3d,0x00,0x00,0x06,0xae,0x05,0xd5, +0x10,0x26,0x00,0x3b,0x00,0x00,0x10,0x07,0x00,0x2c,0x05,0x1b,0x00,0x00,0xff,0xff, +0x00,0x3d,0x00,0x00,0x08,0x42,0x05,0xd5,0x10,0x26,0x00,0x3b,0x00,0x00,0x10,0x27, +0x00,0x2c,0x05,0x1b,0x00,0x00,0x10,0x07,0x00,0x2c,0x06,0xaf,0x00,0x00,0xff,0xff, +0x00,0xc9,0x00,0x00,0x04,0x6a,0x05,0xd5,0x10,0x06,0x00,0x2f,0x00,0x00,0xff,0xff, +0x00,0x73,0xff,0xe3,0x05,0x27,0x05,0xf0,0x10,0x06,0x00,0x26,0x00,0x00,0xff,0xff, +0x00,0xc9,0x00,0x00,0x05,0xb0,0x05,0xd5,0x10,0x06,0x00,0x27,0x00,0x00,0xff,0xff, +0x00,0xc9,0x00,0x00,0x06,0x1f,0x05,0xd5,0x10,0x06,0x00,0x30,0x00,0x00,0xff,0xff, +0x00,0xc1,0x00,0x00,0x01,0x79,0x06,0x14,0x10,0x06,0x00,0x4c,0x00,0x00,0xff,0xff, +0x00,0xc1,0x00,0x00,0x02,0xe9,0x06,0x14,0x10,0x26,0x00,0x4c,0x00,0x00,0x10,0x07, +0x00,0x4c,0x01,0x70,0x00,0x00,0xff,0xff,0x00,0xc1,0x00,0x00,0x04,0x59,0x06,0x14, +0x10,0x26,0x00,0x4c,0x00,0x00,0x10,0x27,0x00,0x4c,0x01,0x70,0x00,0x00,0x10,0x07, +0x00,0x4c,0x02,0xe0,0x00,0x00,0xff,0xff,0x00,0xc1,0x00,0x00,0x06,0x41,0x06,0x14, +0x10,0x26,0x00,0x4c,0x00,0x00,0x10,0x07,0x00,0x59,0x01,0xc2,0x00,0x00,0xff,0xff, +0x00,0x3d,0x00,0x00,0x04,0x7f,0x04,0x60,0x10,0x06,0x00,0x59,0x00,0x00,0xff,0xff, +0x00,0x3d,0x00,0x00,0x05,0xbd,0x06,0x14,0x10,0x26,0x00,0x59,0x00,0x00,0x10,0x07, +0x00,0x4c,0x04,0x44,0x00,0x00,0xff,0xff,0x00,0x3d,0x00,0x00,0x07,0x2d,0x06,0x14, +0x10,0x26,0x00,0x59,0x00,0x00,0x10,0x27,0x00,0x4c,0x04,0x44,0x00,0x00,0x10,0x07, +0x00,0x4c,0x05,0xb4,0x00,0x00,0xff,0xff,0x00,0x3d,0x00,0x00,0x08,0x9d,0x06,0x14, +0x10,0x26,0x00,0x59,0x00,0x00,0x10,0x27,0x00,0x4c,0x04,0x44,0x00,0x00,0x10,0x27, +0x00,0x4c,0x05,0xb4,0x00,0x00,0x10,0x07,0x00,0x4c,0x07,0x24,0x00,0x00,0xff,0xff, +0x00,0xc1,0x00,0x00,0x06,0x4a,0x06,0x14,0x10,0x26,0x00,0x4c,0x00,0x00,0x10,0x07, +0x00,0x5b,0x01,0xd1,0x00,0x00,0xff,0xff,0x00,0x3b,0x00,0x00,0x04,0x79,0x04,0x60, +0x10,0x06,0x00,0x5b,0x00,0x00,0xff,0xff,0x00,0x3b,0x00,0x00,0x05,0xd4,0x06,0x14, +0x10,0x26,0x00,0x5b,0x00,0x00,0x10,0x07,0x00,0x4c,0x04,0x5b,0x00,0x00,0xff,0xff, +0x00,0x3b,0x00,0x00,0x07,0x44,0x06,0x14,0x10,0x26,0x00,0x5b,0x00,0x00,0x10,0x27, +0x00,0x4c,0x04,0x5b,0x00,0x00,0x10,0x07,0x00,0x4c,0x05,0xcb,0x00,0x00,0xff,0xff, +0x00,0xc1,0x00,0x00,0x01,0x79,0x06,0x14,0x10,0x06,0x00,0x4f,0x00,0x00,0xff,0xff, +0x00,0x71,0xff,0xe3,0x03,0xe7,0x04,0x7b,0x10,0x06,0x00,0x46,0x00,0x00,0xff,0xff, +0x00,0x71,0xff,0xe3,0x04,0x5a,0x06,0x14,0x10,0x06,0x00,0x47,0x00,0x00,0xff,0xff, +0x00,0xba,0x00,0x00,0x07,0x1d,0x04,0x7b,0x10,0x06,0x00,0x50,0x00,0x00,0x00,0x03, +0x00,0x79,0xff,0xff,0x09,0x7d,0x05,0xd5,0x00,0x0d,0x00,0x16,0x00,0x1f,0x00,0x00, +0x01,0x20,0x00,0x11,0x10,0x00,0x29,0x01,0x20,0x00,0x11,0x10,0x00,0x21,0x01,0x33, +0x20,0x00,0x11,0x10,0x00,0x21,0x23,0x03,0x11,0x23,0x20,0x00,0x11,0x10,0x00,0x21, +0x06,0x35,0x01,0xb2,0x01,0x96,0xfe,0x68,0xfe,0x50,0xfd,0x8c,0xfe,0x50,0xfe,0x68, +0x01,0x96,0x01,0xb2,0x01,0x9f,0xf4,0x01,0x35,0x01,0x1f,0xfe,0xe1,0xfe,0xcb,0xf4, +0xca,0xf4,0xfe,0xcb,0xfe,0xe1,0x01,0x1f,0x01,0x35,0x05,0xd5,0xfe,0x97,0xfe,0x80, +0xfe,0x7e,0xfe,0x96,0x01,0x6a,0x01,0x82,0x01,0x80,0x01,0x69,0xfa,0xd1,0x01,0x18, +0x01,0x2e,0x01,0x2c,0x01,0x17,0xfb,0x77,0x04,0x89,0xfe,0xe9,0xfe,0xd4,0xfe,0xd2, +0xfe,0xe8,0x00,0x03,0x00,0xc9,0x00,0x00,0x05,0xb0,0x05,0xd5,0x00,0x11,0x00,0x1a, +0x00,0x23,0x00,0xfb,0xba,0x00,0x09,0x00,0x1b,0x00,0x03,0x2b,0xb8,0x00,0x09,0x10, +0xba,0x00,0x0e,0x00,0x17,0x00,0x03,0x2b,0xb8,0x00,0x0e,0x10,0xba,0x00,0x1f,0x00, +0x05,0x00,0x03,0x2b,0xb8,0x00,0x1f,0x10,0xb8,0x00,0x09,0x10,0xb8,0x00,0x00,0xd0, +0x41,0x05,0x00,0xea,0x00,0x05,0x00,0xfa,0x00,0x05,0x00,0x02,0x5d,0x41,0x1b,0x00, +0x19,0x00,0x05,0x00,0x29,0x00,0x05,0x00,0x39,0x00,0x05,0x00,0x49,0x00,0x05,0x00, +0x59,0x00,0x05,0x00,0x69,0x00,0x05,0x00,0x79,0x00,0x05,0x00,0x89,0x00,0x05,0x00, +0x99,0x00,0x05,0x00,0xa9,0x00,0x05,0x00,0xb9,0x00,0x05,0x00,0xc9,0x00,0x05,0x00, +0xd9,0x00,0x05,0x00,0x0d,0x5d,0xb8,0x00,0x09,0x10,0xb8,0x00,0x12,0xd0,0x41,0x05, +0x00,0xea,0x00,0x17,0x00,0xfa,0x00,0x17,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00, +0x17,0x00,0x29,0x00,0x17,0x00,0x39,0x00,0x17,0x00,0x49,0x00,0x17,0x00,0x59,0x00, +0x17,0x00,0x69,0x00,0x17,0x00,0x79,0x00,0x17,0x00,0x89,0x00,0x17,0x00,0x99,0x00, +0x17,0x00,0xa9,0x00,0x17,0x00,0xb9,0x00,0x17,0x00,0xc9,0x00,0x17,0x00,0xd9,0x00, +0x17,0x00,0x0d,0x5d,0xb8,0x00,0x1f,0x10,0xb8,0x00,0x25,0xdc,0x00,0xba,0x00,0x02, +0x00,0x22,0x00,0x03,0x2b,0xb8,0x00,0x02,0x10,0xba,0x00,0x1c,0x00,0x08,0x00,0x03, +0x2b,0xb8,0x00,0x1c,0x10,0xba,0x00,0x13,0x00,0x00,0x00,0x03,0x2b,0xb8,0x00,0x13, +0x10,0xba,0x00,0x0a,0x00,0x12,0x00,0x03,0x2b,0xb8,0x00,0x0a,0x10,0x30,0x31,0x01, +0x15,0x33,0x20,0x00,0x11,0x10,0x00,0x21,0x23,0x15,0x33,0x20,0x16,0x15,0x14,0x06, +0x23,0x03,0x11,0x33,0x32,0x36,0x35,0x34,0x26,0x23,0x01,0x21,0x20,0x00,0x11,0x10, +0x00,0x29,0x01,0x01,0x93,0xf4,0x01,0x35,0x01,0x1f,0xfe,0xe1,0xfe,0xcb,0xf4,0x48, +0x01,0x00,0xf0,0xf1,0xff,0x48,0x4e,0x9f,0x93,0x93,0x9f,0xfe,0xe8,0x01,0x9f,0x01, +0xb2,0x01,0x96,0xfe,0x68,0xfe,0x50,0xfe,0x61,0x01,0x59,0xb3,0x01,0x18,0x01,0x2e, +0x01,0x2c,0x01,0x17,0xb2,0xc2,0xcf,0xd0,0xc3,0x02,0x9e,0xfd,0xe8,0x81,0x8c,0x8a, +0x81,0x01,0xde,0xfe,0x97,0xfe,0x80,0xfe,0x7e,0xfe,0x96,0x00,0x00,0x05,0x00,0x79, +0xff,0xff,0x09,0x7d,0x05,0xd5,0x00,0x11,0x00,0x1a,0x00,0x28,0x00,0x31,0x00,0x43, +0x00,0x00,0x01,0x33,0x20,0x00,0x11,0x10,0x00,0x21,0x23,0x35,0x33,0x20,0x36,0x35, +0x34,0x26,0x21,0x23,0x19,0x01,0x33,0x32,0x16,0x15,0x14,0x06,0x23,0x13,0x20,0x00, +0x11,0x10,0x00,0x29,0x01,0x20,0x00,0x11,0x10,0x00,0x21,0x13,0x23,0x22,0x26,0x35, +0x34,0x36,0x3b,0x01,0x35,0x23,0x20,0x06,0x15,0x14,0x16,0x21,0x33,0x15,0x23,0x20, +0x00,0x11,0x10,0x00,0x21,0x33,0x05,0x60,0xf4,0x01,0x35,0x01,0x1f,0xfe,0xe1,0xfe, +0xcb,0xf4,0x48,0x00,0xff,0xf1,0xf0,0xff,0x00,0x48,0x4e,0x9f,0x93,0x93,0x9f,0x87, +0x01,0xb0,0x01,0x98,0xfe,0x6a,0xfe,0x4e,0xfd,0x8c,0xfe,0x4e,0xfe,0x6a,0x01,0x98, +0x01,0xb0,0xd5,0x4e,0x9f,0x93,0x93,0x9f,0x4e,0x48,0xff,0x00,0xf0,0xf1,0x00,0xff, +0x48,0xf4,0xfe,0xcb,0xfe,0xe1,0x01,0x1f,0x01,0x35,0xf4,0x05,0x2f,0xfe,0xe9,0xfe, +0xd4,0xfe,0xd2,0xfe,0xe8,0xb3,0xc3,0xd0,0xcf,0xc2,0xfd,0x62,0x02,0x18,0x81,0x8a, +0x8c,0x81,0xfe,0x21,0x01,0x6a,0x01,0x82,0x01,0x80,0x01,0x69,0xfe,0x97,0xfe,0x80, +0xfe,0x7e,0xfe,0x96,0x01,0xdf,0x81,0x8c,0x8a,0x81,0x86,0xc2,0xcf,0xd0,0xc3,0xb3, +0x01,0x18,0x01,0x2e,0x01,0x2c,0x01,0x17,0xff,0xff,0x00,0x73,0xff,0xe3,0x05,0x27, +0x05,0xf0,0x10,0x06,0x01,0x48,0x00,0x00,0x00,0x01,0x00,0x78,0x00,0xdf,0x06,0x12, +0x02,0xdf,0x00,0x06,0x00,0x00,0x25,0x09,0x01,0x07,0x21,0x15,0x21,0x01,0x78,0xff, +0x00,0x01,0x00,0x40,0x04,0xda,0xfb,0x26,0xdf,0x01,0x00,0x01,0x00,0xc0,0x80,0x00, +0x00,0x01,0x00,0xfa,0x00,0x00,0x02,0xfa,0x05,0x9a,0x00,0x06,0x00,0x00,0x13,0x09, +0x01,0x27,0x11,0x23,0x11,0xfa,0x01,0x00,0x01,0x00,0xc0,0x80,0x04,0x9a,0x01,0x00, +0xff,0x00,0x40,0xfb,0x26,0x04,0xda,0x00,0x00,0x01,0x00,0x78,0x00,0xdf,0x06,0x12, +0x02,0xdf,0x00,0x06,0x00,0x00,0x01,0x21,0x35,0x21,0x27,0x09,0x01,0x05,0x51,0xfb, +0x27,0x04,0xd9,0x40,0x01,0x01,0xfe,0xff,0x01,0x9f,0x80,0xc0,0xff,0x00,0xff,0x00, +0x00,0x01,0x00,0xfa,0x00,0x00,0x02,0xfa,0x05,0x9a,0x00,0x06,0x00,0x00,0x25,0x11, +0x33,0x11,0x37,0x09,0x01,0x01,0xba,0x80,0xc0,0xff,0x00,0xff,0x00,0xc1,0x04,0xd9, +0xfb,0x27,0x40,0xfe,0xff,0x01,0x01,0x00,0x00,0x01,0x00,0x78,0x00,0xdf,0x06,0x12, +0x02,0xdf,0x00,0x09,0x00,0x00,0x01,0x17,0x09,0x01,0x07,0x21,0x27,0x09,0x01,0x37, +0x01,0x38,0x40,0xff,0x00,0x01,0x00,0x40,0x04,0x19,0x40,0x01,0x01,0xfe,0xff,0x40, +0x01,0x9f,0xc0,0x01,0x00,0x01,0x00,0xc0,0xc0,0xff,0x00,0xff,0x00,0xc0,0x00,0x01, +0x00,0xfa,0x00,0x00,0x02,0xfa,0x05,0x9a,0x00,0x09,0x00,0x00,0x25,0x37,0x09,0x01, +0x17,0x11,0x07,0x09,0x01,0x27,0x02,0x3a,0xc0,0xff,0x00,0xff,0x00,0xc0,0xc0,0x01, +0x00,0x01,0x00,0xc0,0xc1,0x40,0xfe,0xff,0x01,0x01,0x40,0x04,0x19,0x40,0x01,0x00, +0xff,0x00,0x40,0x00,0x00,0x01,0x01,0x33,0x00,0xbb,0x05,0x57,0x04,0xdf,0x00,0x06, +0x00,0x00,0x01,0x03,0x05,0x07,0x01,0x07,0x01,0x01,0x34,0x01,0x01,0x6b,0xb5,0x03, +0x6e,0x5b,0xfc,0x92,0x03,0x74,0x01,0x6b,0x01,0x5a,0xfc,0x92,0x5b,0x03,0x6e,0x00, +0x00,0x01,0x01,0x33,0x00,0xbb,0x05,0x57,0x04,0xdf,0x00,0x06,0x00,0x00,0x01,0x25, +0x03,0x27,0x01,0x27,0x01,0x03,0xec,0x01,0x6b,0x01,0x5a,0xfc,0x92,0x5b,0x03,0x6e, +0x04,0xde,0x01,0xfe,0x95,0xb5,0xfc,0x92,0x5b,0x03,0x6e,0x00,0x00,0x01,0x01,0x33, +0x00,0xbb,0x05,0x57,0x04,0xdf,0x00,0x06,0x00,0x00,0x09,0x01,0x37,0x01,0x37,0x13, +0x25,0x04,0xa1,0xfc,0x92,0x5b,0x03,0x6e,0x5a,0x01,0xfe,0x95,0x01,0x16,0x03,0x6e, +0x5b,0xfc,0x92,0xb5,0xfe,0x95,0x01,0x00,0x00,0x01,0x01,0x33,0x00,0xbb,0x05,0x57, +0x04,0xdf,0x00,0x06,0x00,0x00,0x09,0x01,0x17,0x01,0x17,0x05,0x13,0x01,0x8e,0x03, +0x6e,0x5b,0xfc,0x92,0xb5,0xfe,0x95,0x01,0x01,0x71,0x03,0x6e,0x5b,0xfc,0x92,0x5a, +0x01,0x01,0x6b,0x00,0x00,0x01,0x00,0x78,0x00,0x57,0x06,0x12,0x03,0x67,0x00,0x0e, +0x00,0x00,0x01,0x21,0x17,0x09,0x01,0x07,0x21,0x13,0x33,0x03,0x21,0x15,0x21,0x03, +0x23,0x02,0xf0,0xfe,0x48,0x40,0xff,0x00,0x01,0x00,0x40,0x01,0xe2,0x6b,0x80,0x6b, +0x02,0x78,0xfd,0x5e,0x6b,0x80,0x01,0x9f,0xc0,0x01,0x00,0x01,0x00,0xc0,0x01,0x48, +0xfe,0xb8,0x80,0xfe,0xb8,0x00,0x00,0x01,0x00,0x78,0x00,0x57,0x06,0x12,0x03,0x67, +0x00,0x0e,0x00,0x00,0x01,0x21,0x27,0x09,0x01,0x37,0x21,0x03,0x23,0x13,0x21,0x35, +0x21,0x13,0x33,0x03,0x9a,0x01,0xb7,0x40,0x01,0x01,0xfe,0xff,0x40,0xfe,0x1f,0x6b, +0x80,0x6b,0xfd,0x88,0x02,0xa2,0x6b,0x80,0x02,0x1f,0xc0,0xff,0x00,0xff,0x00,0xc0, +0xfe,0xb8,0x01,0x48,0x80,0x01,0x48,0x00,0x00,0x01,0x00,0xcd,0x01,0x01,0x05,0xbd, +0x02,0xbd,0x00,0x14,0x00,0x00,0x01,0x03,0x25,0x07,0x17,0x16,0x00,0x37,0x16,0x1f, +0x01,0x07,0x27,0x26,0x07,0x26,0x04,0x07,0x26,0x2f,0x01,0x01,0x2b,0x5e,0x01,0x5e, +0x98,0x87,0xbb,0x01,0x50,0xaa,0x49,0x35,0x70,0x40,0x49,0x2d,0x5f,0x5f,0xfe,0xf8, +0x8a,0x80,0x5d,0x87,0x01,0x01,0x01,0x5e,0x5e,0x87,0x4d,0x65,0x01,0x11,0x01,0x01, +0x19,0x43,0x6f,0x2c,0x1a,0x01,0x01,0xd2,0x01,0x0a,0x33,0x4e,0x00,0x01,0x00,0xcd, +0x01,0x01,0x05,0xbd,0x02,0xbd,0x00,0x14,0x00,0x00,0x01,0x07,0x06,0x07,0x26,0x24, +0x07,0x26,0x0f,0x01,0x27,0x37,0x36,0x37,0x16,0x00,0x3f,0x01,0x27,0x05,0x03,0x05, +0x37,0x87,0x5d,0x80,0x8a,0xfe,0xf8,0x5f,0x5f,0x2d,0x49,0x40,0x70,0x35,0x49,0xaa, +0x01,0x50,0xbb,0x87,0x98,0x01,0x5e,0x5e,0x01,0xc8,0x4e,0x33,0x0a,0x01,0xd2,0x01, +0x01,0x1a,0x2c,0x6f,0x43,0x19,0x01,0x01,0xfe,0xef,0x65,0x4d,0x87,0x5e,0xfe,0xa2, +0x00,0x01,0x00,0x78,0x00,0xdf,0x06,0x12,0x02,0xdf,0x00,0x0c,0x00,0x00,0x01,0x33, +0x37,0x07,0x21,0x15,0x21,0x17,0x27,0x23,0x17,0x09,0x01,0x01,0x38,0x22,0xc0,0x40, +0x04,0x38,0xfb,0xc8,0x40,0xc0,0x22,0x40,0xff,0x00,0x01,0x00,0x02,0x1f,0xc0,0xc0, +0x80,0xc0,0xc0,0xc0,0x01,0x00,0x01,0x00,0x00,0x01,0x00,0xfa,0x00,0x00,0x02,0xfa, +0x05,0x9a,0x00,0x0c,0x00,0x00,0x01,0x15,0x17,0x27,0x11,0x23,0x11,0x07,0x37,0x35, +0x07,0x09,0x01,0x02,0x3a,0xc0,0xc0,0x80,0xc0,0xc0,0xc0,0x01,0x00,0x01,0x00,0x04, +0xda,0x22,0xc0,0x40,0xfb,0xc8,0x04,0x38,0x40,0xc0,0x22,0x40,0x01,0x00,0xff,0x00, +0x00,0x01,0x00,0x78,0x00,0xdf,0x06,0x12,0x02,0xdf,0x00,0x0c,0x00,0x00,0x01,0x23, +0x07,0x37,0x21,0x35,0x21,0x27,0x17,0x33,0x27,0x09,0x01,0x05,0x52,0x22,0xc0,0x40, +0xfb,0xc8,0x04,0x38,0x40,0xc0,0x22,0x40,0x01,0x00,0xff,0x00,0x01,0x9f,0xc0,0xc0, +0x80,0xc0,0xc0,0xc0,0xff,0x00,0xff,0x00,0x00,0x01,0x00,0xfa,0x00,0x00,0x02,0xfa, +0x05,0x9a,0x00,0x0c,0x00,0x00,0x25,0x35,0x27,0x17,0x11,0x33,0x11,0x37,0x07,0x15, +0x37,0x09,0x01,0x01,0xba,0xc0,0xc0,0x80,0xc0,0xc0,0xc0,0xff,0x00,0xff,0x00,0xc0, +0x22,0xc0,0x40,0x04,0x38,0xfb,0xc8,0x40,0xc0,0x22,0x40,0xff,0x00,0x01,0x00,0x00, +0x00,0x01,0x00,0x78,0x00,0xdf,0x06,0x3b,0x02,0xdf,0x00,0x0b,0x00,0x00,0x01,0x21, +0x17,0x09,0x01,0x07,0x21,0x37,0x33,0x07,0x13,0x23,0x05,0x24,0xfc,0x14,0x40,0xff, +0x00,0x01,0x00,0x40,0x03,0xec,0x97,0x80,0xc8,0xc8,0x80,0x01,0x9f,0xc0,0x01,0x00, +0x01,0x00,0xc0,0xc0,0xfe,0xfe,0xfe,0x00,0x00,0x01,0x00,0x78,0x00,0xdf,0x06,0x3b, +0x02,0xdf,0x00,0x0b,0x00,0x00,0x37,0x23,0x13,0x27,0x33,0x17,0x21,0x27,0x09,0x01, +0x37,0x21,0xf8,0x80,0xc8,0xc8,0x80,0x97,0x03,0xec,0x40,0x01,0x00,0xff,0x00,0x40, +0xfc,0x14,0xdf,0x01,0x02,0xfe,0xc0,0xc0,0xff,0x00,0xff,0x00,0xc0,0x00,0x00,0x01, +0x00,0x78,0x00,0xdf,0x06,0x12,0x02,0xdf,0x00,0x0a,0x00,0x00,0x01,0x35,0x33,0x11, +0x23,0x35,0x21,0x17,0x09,0x01,0x07,0x05,0xd2,0x40,0x40,0xfb,0x66,0x40,0xff,0x00, +0x01,0x00,0x40,0x02,0x1f,0x80,0xfe,0x80,0x80,0xc0,0x01,0x00,0x01,0x00,0xc0,0x00, +0x00,0x01,0x00,0xf8,0x00,0x00,0x02,0xf8,0x05,0x9a,0x00,0x0a,0x00,0x00,0x25,0x33, +0x15,0x21,0x35,0x33,0x11,0x07,0x09,0x01,0x27,0x02,0x38,0x80,0xfe,0x80,0x80,0xc0, +0x01,0x00,0x01,0x00,0xc0,0x40,0x40,0x40,0x04,0x9a,0x40,0x01,0x00,0xff,0x00,0x40, +0x00,0x01,0x00,0x78,0x00,0xdf,0x06,0x12,0x02,0xdf,0x00,0x0a,0x00,0x00,0x01,0x35, +0x33,0x11,0x23,0x35,0x21,0x17,0x09,0x01,0x07,0x05,0xd2,0x40,0x40,0xfb,0x66,0x40, +0xff,0x00,0x01,0x00,0x40,0x02,0x1f,0x80,0xfe,0x80,0x80,0xc0,0x01,0x00,0x01,0x00, +0xc0,0x00,0x00,0x01,0x00,0xf8,0x00,0x00,0x02,0xf8,0x05,0x9a,0x00,0x0a,0x00,0x00, +0x01,0x23,0x35,0x21,0x15,0x23,0x11,0x37,0x09,0x01,0x17,0x01,0xb8,0x80,0x01,0x80, +0x80,0xc0,0xff,0x00,0xff,0x00,0xc0,0x05,0x5a,0x40,0x40,0xfb,0x66,0x40,0xff,0x00, +0x01,0x00,0x40,0x00,0x00,0x02,0x00,0x78,0x00,0x00,0x03,0x74,0x05,0x9a,0x00,0x03, +0x00,0x0d,0x00,0x00,0x37,0x21,0x15,0x21,0x01,0x37,0x09,0x01,0x17,0x11,0x07,0x09, +0x01,0x27,0x78,0x02,0xfc,0xfd,0x04,0x01,0xc2,0xc0,0xff,0x00,0xff,0x00,0xc0,0xc0, +0x01,0x00,0x01,0x00,0xc0,0x64,0x64,0x01,0x63,0x40,0xfe,0xff,0x01,0x01,0x40,0x03, +0x77,0x40,0x01,0x00,0xff,0x00,0x40,0x00,0x00,0x01,0x00,0x78,0x00,0x00,0x03,0x5e, +0x05,0x98,0x00,0x08,0x00,0x00,0x01,0x21,0x17,0x09,0x01,0x07,0x25,0x11,0x23,0x02, +0xde,0xfe,0x5a,0x40,0xff,0x00,0x01,0x00,0x40,0x02,0x26,0x80,0x04,0x58,0xc0,0x01, +0x00,0x01,0x00,0xc0,0x01,0xfb,0x27,0x00,0x00,0x01,0x00,0x96,0x00,0x00,0x03,0x7c, +0x05,0x98,0x00,0x08,0x00,0x00,0x21,0x23,0x11,0x05,0x27,0x09,0x01,0x37,0x21,0x01, +0x16,0x80,0x02,0x26,0x40,0x01,0x00,0xff,0x00,0x40,0xfe,0x5a,0x04,0xd9,0x01,0xc0, +0xff,0x00,0xff,0x00,0xc0,0x00,0x00,0x01,0x00,0x78,0x00,0x00,0x03,0x5e,0x05,0x98, +0x00,0x08,0x00,0x00,0x01,0x33,0x11,0x25,0x17,0x09,0x01,0x07,0x21,0x02,0xde,0x80, +0xfd,0xda,0x40,0xff,0x00,0x01,0x00,0x40,0x01,0xa6,0x05,0x98,0xfb,0x27,0x01,0xc0, +0x01,0x00,0x01,0x00,0xc0,0x00,0x00,0x01,0x00,0x96,0x00,0x00,0x03,0x7c,0x05,0x98, +0x00,0x08,0x00,0x00,0x01,0x21,0x27,0x09,0x01,0x37,0x05,0x11,0x33,0x01,0x16,0x01, +0xa6,0x40,0x01,0x00,0xff,0x00,0x40,0xfd,0xda,0x80,0x01,0x40,0xc0,0xff,0x00,0xff, +0x00,0xc0,0x01,0x04,0xd9,0x00,0x00,0x01,0x00,0x78,0x00,0x03,0x03,0x8a,0x05,0x9a, +0x00,0x08,0x00,0x00,0x13,0x35,0x21,0x03,0x37,0x09,0x01,0x17,0x11,0x78,0x02,0x53, +0x01,0xc0,0xff,0x00,0xff,0x00,0xc0,0x05,0x1a,0x80,0xfb,0x29,0x40,0xff,0x00,0x01, +0x00,0x40,0x04,0x57,0x00,0x01,0x00,0x78,0x00,0x00,0x05,0x87,0x05,0x98,0x00,0x08, +0x00,0x00,0x01,0x33,0x11,0x25,0x17,0x09,0x01,0x07,0x21,0x05,0x07,0x80,0xfb,0xb1, +0x40,0xff,0x00,0x01,0x00,0x40,0x03,0xcf,0x05,0x98,0xfb,0x27,0x01,0xc0,0x01,0x00, +0x01,0x00,0xc0,0x00,0x00,0x01,0x00,0x48,0x02,0xcc,0x06,0x42,0x05,0xae,0x00,0x19, +0x00,0x00,0x01,0x26,0x27,0x26,0x24,0x27,0x26,0x07,0x06,0x07,0x06,0x07,0x37,0x07, +0x03,0x17,0x36,0x37,0x36,0x37,0x36,0x0c,0x01,0x17,0x16,0x17,0x05,0xbd,0x04,0x48, +0x4a,0xfe,0xea,0xa9,0xa6,0x89,0x87,0x57,0x2c,0x16,0x64,0xd8,0x5d,0x52,0x1a,0x34, +0x6b,0xa8,0xa8,0x01,0x98,0x01,0x51,0x59,0x59,0x04,0x02,0xce,0xa0,0x84,0x86,0xb2, +0x01,0x02,0x4a,0x4c,0x8e,0x49,0x4e,0x05,0xab,0x01,0x05,0x39,0x5b,0x55,0xae,0x5d, +0x5c,0x03,0xd8,0xa2,0xa0,0xc4,0x00,0x01,0x00,0x48,0x02,0xcc,0x06,0x42,0x05,0xae, +0x00,0x19,0x00,0x00,0x13,0x36,0x37,0x36,0x2c,0x01,0x17,0x16,0x17,0x16,0x17,0x37, +0x03,0x27,0x17,0x26,0x27,0x26,0x27,0x26,0x07,0x06,0x04,0x07,0x06,0x07,0x48,0x03, +0x59,0x59,0x01,0x51,0x01,0x98,0xa8,0xa8,0x6b,0x34,0x1a,0x53,0x5e,0xd8,0x64,0x16, +0x2c,0x57,0x87,0x89,0xa6,0xa9,0xfe,0xea,0x4a,0x48,0x03,0x02,0xce,0xc4,0xa0,0xa2, +0xd8,0x03,0x5c,0x5d,0xae,0x55,0x5b,0x39,0xfe,0xfb,0xab,0x05,0x4e,0x49,0x8e,0x4c, +0x4a,0x02,0x01,0xb2,0x86,0x84,0xa0,0x00,0x00,0x02,0x01,0x33,0x00,0x00,0x05,0x57, +0x05,0x9a,0x00,0x06,0x00,0x0a,0x00,0x00,0x01,0x03,0x05,0x07,0x01,0x07,0x01,0x03, +0x21,0x15,0x21,0x01,0x34,0x01,0x01,0x6b,0xb5,0x03,0x6e,0x5b,0xfc,0x92,0x5b,0x04, +0x24,0xfb,0xdc,0x02,0xb9,0x01,0x6b,0x01,0x5a,0xfc,0x92,0x5b,0x03,0x6e,0x02,0x2c, +0x80,0x00,0x00,0x04,0x00,0x78,0x00,0x00,0x06,0x12,0x03,0xfb,0x00,0x06,0x00,0x0a, +0x00,0x11,0x00,0x15,0x00,0x00,0x09,0x02,0x07,0x21,0x15,0x21,0x05,0x11,0x33,0x11, +0x01,0x21,0x35,0x21,0x27,0x09,0x01,0x05,0x11,0x33,0x11,0x02,0x0d,0xff,0x00,0x01, +0x00,0x40,0x04,0x45,0xfb,0xbb,0xfe,0xab,0x64,0x03,0xe1,0xfb,0xbb,0x04,0x45,0x40, +0x01,0x00,0xff,0x00,0x01,0x31,0x64,0x01,0xfb,0x01,0x00,0x01,0x00,0xc0,0x80,0xc1, +0x02,0x00,0xfe,0x00,0xfe,0xc7,0x80,0xc0,0xff,0x00,0xff,0x00,0x01,0x02,0x00,0xfe, +0x00,0x00,0x00,0x01,0x00,0x59,0xff,0xeb,0x06,0x1b,0x05,0x5f,0x00,0x22,0x00,0x00, +0x13,0x06,0x17,0x16,0x17,0x16,0x04,0x37,0x36,0x24,0x37,0x36,0x27,0x26,0x27,0x26, +0x27,0x07,0x03,0x21,0x07,0x16,0x17,0x16,0x17,0x16,0x02,0x04,0x07,0x06,0x24,0x02, +0x27,0x26,0x35,0xda,0x01,0x08,0x1a,0x67,0x68,0x01,0x39,0x98,0x97,0x01,0x05,0x3a, +0x3a,0x18,0x1a,0x68,0x35,0x42,0x1e,0x58,0x01,0x15,0x51,0x4d,0x3e,0x80,0x1f,0x1e, +0x8c,0xfe,0xc3,0xb7,0xb8,0xfe,0x86,0xfd,0x1e,0x0a,0x02,0xce,0x32,0x31,0x99,0x82, +0x84,0x6d,0x19,0x19,0xc9,0x9e,0x9d,0x99,0x99,0x82,0x42,0x2f,0x60,0x01,0x05,0x3b, +0x37,0x4d,0xa0,0xbe,0xbd,0xfe,0x81,0xf4,0x1d,0x1e,0x83,0x01,0x3f,0xbd,0x3c,0x3c, +0x00,0x01,0x00,0x6e,0xff,0xeb,0x06,0x30,0x05,0x5f,0x00,0x22,0x00,0x00,0x01,0x14, +0x07,0x06,0x02,0x04,0x27,0x26,0x24,0x02,0x37,0x36,0x37,0x36,0x37,0x27,0x21,0x03, +0x27,0x06,0x07,0x06,0x07,0x06,0x17,0x16,0x04,0x17,0x16,0x24,0x37,0x36,0x37,0x36, +0x27,0x06,0x30,0x0a,0x1e,0xfd,0xfe,0x86,0xb8,0xb7,0xfe,0xc3,0x8c,0x1e,0x1f,0x80, +0x3e,0x4d,0x51,0x01,0x15,0x58,0x1e,0x42,0x35,0x68,0x1a,0x18,0x3a,0x3a,0x01,0x05, +0x97,0x98,0x01,0x39,0x68,0x67,0x1a,0x08,0x01,0x02,0xce,0x3c,0x3c,0xbd,0xfe,0xc1, +0x83,0x1e,0x1d,0xf4,0x01,0x7f,0xbd,0xbe,0xa0,0x4d,0x37,0x3b,0xfe,0xfb,0x60,0x2f, +0x42,0x82,0x99,0x99,0x9d,0x9e,0xc9,0x19,0x19,0x6d,0x84,0x82,0x99,0x31,0x32,0x00, +0x00,0x01,0x00,0x78,0x02,0x20,0x06,0x12,0x03,0x60,0x00,0x04,0x00,0x00,0x13,0x01, +0x07,0x21,0x15,0x78,0x01,0x40,0x40,0x04,0x9a,0x02,0x20,0x01,0x40,0xc0,0x80,0x00, +0x00,0x01,0x00,0x78,0x00,0xdf,0x06,0x12,0x02,0x1f,0x00,0x04,0x00,0x00,0x01,0x15, +0x21,0x17,0x01,0x06,0x12,0xfb,0x66,0x40,0xfe,0xc0,0x02,0x1f,0x80,0xc0,0x01,0x40, +0x00,0x01,0x01,0xc0,0x00,0x00,0x03,0x00,0x05,0x9a,0x00,0x04,0x00,0x00,0x09,0x01, +0x27,0x11,0x23,0x01,0xc0,0x01,0x40,0xc0,0x80,0x05,0x9a,0xfe,0xc0,0x40,0xfb,0x66, +0x00,0x01,0x01,0x00,0x00,0x00,0x02,0x40,0x05,0x9a,0x00,0x04,0x00,0x00,0x09,0x01, +0x11,0x23,0x11,0x01,0x00,0x01,0x40,0x80,0x04,0x5a,0x01,0x40,0xfa,0x66,0x04,0x9a, +0x00,0x01,0x00,0x78,0x02,0x1d,0x06,0x12,0x03,0x5d,0x00,0x04,0x00,0x00,0x13,0x35, +0x21,0x27,0x01,0x78,0x04,0x99,0x40,0x01,0x41,0x02,0x1d,0x80,0xc0,0xfe,0xc0,0x00, +0x00,0x01,0x00,0x78,0x00,0xdf,0x06,0x12,0x02,0x1f,0x00,0x04,0x00,0x00,0x01,0x21, +0x35,0x21,0x01,0x05,0x11,0xfb,0x67,0x05,0x9a,0xfe,0xbf,0x01,0x9f,0x80,0xfe,0xc0, +0x00,0x01,0x01,0xc0,0x00,0x00,0x03,0x00,0x05,0x9a,0x00,0x04,0x00,0x00,0x01,0x33, +0x11,0x37,0x01,0x01,0xc0,0x80,0xc0,0xfe,0xc0,0x05,0x9a,0xfb,0x67,0x40,0xfe,0xbf, +0x00,0x01,0x01,0x00,0x00,0x00,0x02,0x40,0x05,0x9a,0x00,0x04,0x00,0x00,0x01,0x11, +0x33,0x11,0x01,0x01,0xc0,0x80,0xfe,0xc0,0x01,0x01,0x04,0x99,0xfa,0x66,0x01,0x41, +0x00,0x02,0x00,0x77,0xff,0xf6,0x06,0x12,0x03,0xbf,0x00,0x06,0x00,0x0d,0x00,0x00, +0x05,0x09,0x01,0x07,0x21,0x15,0x21,0x01,0x21,0x35,0x21,0x27,0x09,0x01,0x01,0x77, +0xff,0x00,0x01,0x00,0x40,0x04,0xda,0xfb,0x26,0x04,0x1b,0xfb,0x26,0x04,0xda,0x40, +0x01,0x00,0xff,0x00,0x0a,0x00,0xff,0x01,0x00,0xc0,0x80,0x01,0xca,0x80,0xc0,0xff, +0x00,0xff,0x00,0x00,0x00,0x02,0x01,0x4a,0x00,0x00,0x05,0x40,0x05,0x9b,0x00,0x06, +0x00,0x0d,0x00,0x00,0x09,0x02,0x27,0x11,0x23,0x11,0x01,0x11,0x33,0x11,0x37,0x09, +0x01,0x01,0x4a,0x01,0x00,0x01,0x00,0xc0,0x80,0x01,0xf6,0x80,0xc0,0xff,0x00,0xff, +0x00,0x04,0x9a,0x01,0x00,0xff,0x00,0x40,0xfb,0x26,0x04,0xda,0xfb,0xe7,0x04,0xda, +0xfb,0x26,0x40,0xff,0x00,0x01,0x00,0x00,0x00,0x02,0x00,0x77,0xff,0xf6,0x06,0x12, +0x03,0xbf,0x00,0x06,0x00,0x0d,0x00,0x00,0x25,0x21,0x35,0x21,0x27,0x01,0x05,0x09, +0x02,0x07,0x21,0x15,0x21,0x05,0x52,0xfb,0x26,0x04,0xda,0x40,0x01,0x00,0xff,0x00, +0xfc,0x65,0xff,0x00,0x01,0x00,0x40,0x04,0xda,0xfb,0x26,0xb5,0x80,0xc0,0xff,0x00, +0xff,0x01,0xc9,0x01,0x00,0x01,0x00,0xc0,0x80,0x00,0x00,0x02,0x00,0x77,0x00,0x36, +0x06,0x12,0x03,0x7f,0x00,0x06,0x00,0x0d,0x00,0x00,0x01,0x21,0x15,0x21,0x17,0x2d, +0x01,0x03,0x21,0x15,0x21,0x17,0x2d,0x01,0x01,0x3e,0x04,0xd3,0xfb,0x2d,0x39,0xff, +0x00,0x01,0x00,0x38,0x04,0xd3,0xfb,0x2d,0x39,0xff,0x00,0x01,0x00,0x02,0xff,0x80, +0x80,0xc0,0xc0,0xfd,0xb6,0x80,0x7f,0xbf,0xc1,0x00,0x00,0x02,0x01,0xa0,0x00,0x00, +0x04,0xe9,0x05,0x9a,0x00,0x06,0x00,0x0d,0x00,0x00,0x01,0x11,0x23,0x11,0x07,0x1b, +0x01,0x25,0x11,0x23,0x11,0x07,0x1b,0x01,0x04,0x69,0x80,0x80,0xc0,0xc0,0xfd,0xb6, +0x80,0x7f,0xbf,0xc1,0x04,0xd3,0xfb,0x2d,0x04,0xd3,0x39,0x01,0x00,0xff,0x00,0x38, +0xfb,0x2e,0x04,0xd2,0x39,0x01,0x00,0xff,0x00,0x00,0x00,0x02,0x00,0x77,0x00,0x36, +0x06,0x12,0x03,0x7f,0x00,0x06,0x00,0x0d,0x00,0x00,0x01,0x0d,0x01,0x37,0x21,0x35, +0x21,0x03,0x0d,0x01,0x37,0x21,0x35,0x21,0x05,0x12,0x01,0x00,0xff,0x00,0x39,0xfb, +0x2d,0x04,0xd3,0x3a,0x01,0x00,0xff,0x00,0x39,0xfb,0x2d,0x04,0xd3,0x03,0x7f,0xc0, +0xc0,0x80,0x80,0xfe,0xb7,0xc1,0xbf,0x7f,0x80,0x00,0x00,0x02,0x01,0xa0,0x00,0x00, +0x04,0xe9,0x05,0x9a,0x00,0x06,0x00,0x0d,0x00,0x00,0x01,0x07,0x03,0x17,0x11,0x33, +0x11,0x25,0x0b,0x01,0x17,0x11,0x33,0x11,0x04,0xe9,0xc0,0xc0,0x80,0x80,0xfe,0xb7, +0xc1,0xbf,0x7f,0x80,0x00,0xff,0xff,0x00,0xff,0x39,0x04,0xd3,0xfb,0x2d,0x3a,0xff, +0x00,0x01,0x00,0x39,0x04,0xd3,0xfb,0x2d,0x00,0x02,0x00,0x78,0x00,0x9f,0x06,0x12, +0x03,0xa0,0x00,0x04,0x00,0x09,0x00,0x00,0x09,0x01,0x37,0x21,0x3d,0x01,0x01,0x07, +0x21,0x15,0x06,0x12,0xfe,0xc0,0x40,0xfb,0x66,0x01,0x40,0x40,0x04,0x9a,0x01,0xdf, +0xfe,0xc0,0xc0,0x80,0x81,0x01,0x40,0xc0,0x80,0x00,0x00,0x02,0x00,0x78,0x00,0x9f, +0x06,0x12,0x03,0xa0,0x00,0x04,0x00,0x09,0x00,0x00,0x01,0x15,0x21,0x17,0x01,0x3d, +0x01,0x21,0x27,0x01,0x06,0x12,0xfb,0x66,0x40,0xfe,0xc0,0x04,0x9a,0x40,0x01,0x40, +0x01,0xdf,0x80,0xc0,0x01,0x40,0x81,0x80,0xc0,0xfe,0xc0,0x00,0x00,0x01,0x00,0x64, +0x00,0xcc,0x06,0x3f,0x04,0x38,0x00,0x0e,0x00,0x00,0x01,0x21,0x15,0x21,0x17,0x07, +0x01,0x35,0x01,0x17,0x07,0x21,0x15,0x21,0x07,0x01,0x90,0x04,0xaf,0xfb,0xc9,0x5d, +0x78,0xfe,0x77,0x01,0x89,0x78,0x5d,0x04,0x37,0xfb,0x51,0x69,0x02,0x19,0x78,0x5d, +0x78,0x01,0x89,0x5a,0x01,0x89,0x78,0x5d,0x78,0x69,0x00,0x01,0x01,0xa5,0x00,0x00, +0x05,0x11,0x05,0xdc,0x00,0x0e,0x00,0x00,0x01,0x11,0x23,0x11,0x07,0x27,0x01,0x33, +0x01,0x07,0x27,0x11,0x23,0x11,0x27,0x02,0xf1,0x78,0x5c,0x78,0x01,0x88,0x5a,0x01, +0x8a,0x78,0x5e,0x78,0x68,0x04,0xb0,0xfb,0x50,0x04,0x38,0x5e,0x78,0x01,0x8a,0xfe, +0x76,0x78,0x5e,0xfb,0xc8,0x04,0xb0,0x68,0x00,0x01,0x00,0x75,0x00,0xcc,0x06,0x50, +0x04,0x38,0x00,0x0e,0x00,0x00,0x01,0x37,0x27,0x21,0x35,0x21,0x27,0x37,0x01,0x15, +0x01,0x27,0x37,0x21,0x35,0x05,0x24,0x69,0x69,0xfb,0x51,0x04,0x37,0x5d,0x78,0x01, +0x89,0xfe,0x77,0x78,0x5d,0xfb,0xc9,0x02,0x19,0x69,0x69,0x78,0x5d,0x78,0xfe,0x77, +0x5a,0xfe,0x77,0x78,0x5d,0x78,0x00,0x01,0x01,0xa5,0x00,0x00,0x05,0x11,0x05,0xdc, +0x00,0x0e,0x00,0x00,0x01,0x17,0x37,0x11,0x33,0x11,0x37,0x17,0x01,0x23,0x01,0x37, +0x17,0x11,0x33,0x02,0xf1,0x6a,0x68,0x78,0x5e,0x78,0xfe,0x76,0x5a,0xfe,0x78,0x78, +0x5c,0x78,0x01,0x2c,0x68,0x68,0x04,0xb0,0xfb,0xc8,0x5e,0x78,0xfe,0x76,0x01,0x8a, +0x78,0x5e,0x04,0x38,0x00,0x02,0x00,0x64,0x00,0xcc,0x06,0x50,0x04,0x38,0x00,0x05, +0x00,0x15,0x00,0x00,0x01,0x21,0x37,0x27,0x21,0x07,0x05,0x21,0x17,0x07,0x01,0x35, +0x01,0x17,0x07,0x21,0x27,0x37,0x01,0x15,0x01,0x27,0x01,0x90,0x03,0x94,0x69,0x69, +0xfc,0x6c,0x69,0x03,0x85,0xfd,0x5c,0x5d,0x78,0xfe,0x77,0x01,0x89,0x78,0x5d,0x02, +0xa4,0x5d,0x78,0x01,0x89,0xfe,0x77,0x78,0x02,0x19,0x69,0x69,0x69,0xe1,0x5d,0x78, +0x01,0x89,0x5a,0x01,0x89,0x78,0x5d,0x5d,0x78,0xfe,0x77,0x5a,0xfe,0x77,0x78,0x00, +0x00,0x02,0x00,0x10,0x00,0x00,0x05,0x68,0x05,0xd5,0x00,0x02,0x00,0x0a,0x00,0x00, +0x25,0x01,0x21,0x13,0x01,0x33,0x13,0x21,0x13,0x33,0x01,0x02,0xbc,0x01,0x13,0xfd, +0xdb,0xa0,0xfd,0xc6,0xd5,0x88,0x02,0xa1,0x88,0xd2,0xfd,0xc7,0xc7,0x02,0xe7,0xfc, +0x52,0x05,0xd5,0xfe,0x81,0x01,0x7f,0xfa,0x2b,0x00,0x00,0x01,0x00,0x87,0xff,0xe3, +0x04,0x6e,0x05,0xf0,0x00,0x1d,0x00,0x6d,0xba,0x00,0x0f,0x00,0x00,0x00,0x03,0x2b, +0xb8,0x00,0x0f,0x10,0x41,0x1b,0x00,0x16,0x00,0x0f,0x00,0x26,0x00,0x0f,0x00,0x36, +0x00,0x0f,0x00,0x46,0x00,0x0f,0x00,0x56,0x00,0x0f,0x00,0x66,0x00,0x0f,0x00,0x76, +0x00,0x0f,0x00,0x86,0x00,0x0f,0x00,0x96,0x00,0x0f,0x00,0xa6,0x00,0x0f,0x00,0xb6, +0x00,0x0f,0x00,0xc6,0x00,0x0f,0x00,0xd6,0x00,0x0f,0x00,0x0d,0x5d,0x41,0x05,0x00, +0xe5,0x00,0x0f,0x00,0xf5,0x00,0x0f,0x00,0x02,0x5d,0x00,0xba,0x00,0x12,0x00,0x1b, +0x00,0x03,0x2b,0xb8,0x00,0x12,0x10,0xba,0x00,0x03,0x00,0x0c,0x00,0x03,0x2b,0xb8, +0x00,0x03,0x10,0x30,0x31,0x13,0x10,0x00,0x33,0x32,0x17,0x16,0x17,0x23,0x26,0x27, +0x26,0x23,0x22,0x02,0x11,0x10,0x12,0x33,0x32,0x37,0x36,0x37,0x33,0x06,0x07,0x06, +0x23,0x22,0x00,0x87,0x01,0x09,0xfb,0xfb,0x85,0x42,0x21,0xca,0x12,0x1b,0x4f,0x9d, +0x9c,0x9d,0x9d,0x9c,0x9d,0x4f,0x1b,0x12,0xca,0x21,0x42,0x85,0xfb,0xfb,0xfe,0xf7, +0x02,0xe9,0x01,0x7a,0x01,0x8d,0xc6,0x63,0x90,0x49,0x37,0x99,0xfe,0xcd,0xfe,0xcc, +0xfe,0xcc,0xfe,0xcd,0x99,0x37,0x49,0x90,0x63,0xc5,0x01,0x8c,0x00,0x02,0x00,0x68, +0xff,0xe7,0x03,0xc1,0x05,0x2d,0x00,0x1d,0x00,0x29,0x00,0x62,0x40,0x19,0x00,0x27, +0x21,0x09,0x1b,0x06,0x27,0x15,0x06,0x0f,0x21,0x1b,0x0f,0x15,0xd5,0x2a,0x0c,0x24, +0x03,0x00,0x1e,0x12,0x24,0x18,0x2a,0x10,0xd4,0xcc,0xdc,0xcc,0x39,0x39,0x11,0x39, +0x31,0x00,0x10,0xe4,0xcc,0xdc,0xcc,0x10,0xce,0x10,0xce,0x11,0x12,0x39,0x11,0x12, +0x39,0x30,0x01,0x4b,0xb0,0x0c,0x54,0x4b,0xb0,0x0b,0x54,0x5b,0x4b,0xb0,0x0e,0x54, +0x5b,0x4b,0xb0,0x10,0x54,0x5b,0x4b,0xb0,0x14,0x54,0x5b,0x58,0xbd,0x00,0x2a,0x00, +0x40,0x00,0x01,0x00,0x2a,0x00,0x2a,0xff,0xc0,0x38,0x11,0x37,0x38,0x59,0x01,0x3e, +0x01,0x35,0x34,0x26,0x23,0x22,0x06,0x23,0x22,0x26,0x35,0x34,0x36,0x33,0x32,0x12, +0x11,0x10,0x00,0x23,0x22,0x26,0x35,0x34,0x12,0x33,0x32,0x16,0x07,0x34,0x26,0x23, +0x22,0x02,0x15,0x14,0x16,0x33,0x32,0x12,0x02,0xf4,0x0f,0x0f,0x49,0x48,0x37,0x90, +0x24,0x24,0x30,0x90,0x65,0xb4,0xd6,0xfe,0xdf,0xd5,0x98,0xcb,0xdd,0xa2,0x65,0x82, +0x0b,0x57,0x4f,0x6d,0x8d,0x56,0x50,0x6d,0x8d,0x02,0x6d,0x57,0xa3,0x4b,0x81,0x83, +0x74,0x2c,0x1f,0x3e,0x62,0xfe,0xca,0xfe,0xf9,0xfe,0xb1,0xfe,0x46,0xd8,0xa3,0xc6, +0x01,0x01,0x5b,0xe0,0x74,0x7d,0xfe,0xfe,0xcf,0x74,0x7b,0x01,0x04,0x00,0x00,0x01, +0x00,0xc9,0x00,0x00,0x04,0x8b,0x05,0xd5,0x00,0x0b,0x00,0x00,0x01,0x11,0x21,0x35, +0x21,0x11,0x21,0x35,0x21,0x11,0x21,0x35,0x04,0x8b,0xfc,0x3e,0x02,0xf8,0xfd,0x39, +0x02,0xc7,0xfd,0x1a,0x05,0xd5,0xfa,0x2b,0xaa,0x02,0x1d,0xaa,0x01,0xba,0xaa,0x00, +0x00,0x03,0x00,0x9f,0xff,0xa2,0x04,0x61,0x06,0x35,0x00,0x13,0x00,0x17,0x00,0x1b, +0x00,0x00,0x01,0x33,0x11,0x21,0x07,0x23,0x37,0x23,0x35,0x33,0x13,0x23,0x35,0x21, +0x13,0x21,0x35,0x21,0x37,0x33,0x01,0x21,0x11,0x21,0x37,0x21,0x11,0x23,0x03,0x68, +0xf9,0xfd,0x3a,0x1d,0xaa,0x1d,0x40,0x75,0x88,0xde,0x01,0x13,0xa7,0xfe,0x15,0x02, +0x1f,0x1e,0xaa,0xfe,0x4a,0x01,0xc7,0xfe,0xc1,0x35,0x01,0x0a,0x63,0x05,0xd5,0xfa, +0x2b,0x5e,0x5e,0xaa,0x01,0xba,0xaa,0x02,0x1d,0xaa,0x60,0xfa,0x75,0x01,0xba,0xaa, +0x02,0x1d,0x00,0x03,0x00,0x9b,0xff,0xec,0x06,0x5d,0x05,0xae,0x00,0x1b,0x00,0x28, +0x00,0x36,0x00,0x00,0x01,0x37,0x33,0x07,0x16,0x17,0x16,0x10,0x02,0x04,0x23,0x22, +0x27,0x26,0x27,0x07,0x23,0x37,0x26,0x27,0x26,0x10,0x12,0x24,0x33,0x32,0x17,0x16, +0x09,0x01,0x27,0x26,0x23,0x22,0x04,0x07,0x06,0x07,0x16,0x17,0x16,0x09,0x01,0x16, +0x17,0x16,0x33,0x32,0x24,0x37,0x36,0x37,0x26,0x27,0x26,0x05,0x08,0x59,0x6a,0x80, +0x69,0x45,0x64,0xc8,0xfe,0xa0,0xb9,0xbb,0xb0,0x38,0x30,0x7e,0x69,0xaa,0x3f,0x2f, +0x63,0xc6,0x01,0x60,0xbb,0xb9,0xb0,0x12,0xfc,0xc9,0x02,0xf4,0x0e,0x91,0x99,0x9a, +0xfe,0xdd,0x52,0x51,0x01,0x01,0x51,0x24,0x03,0x67,0xfd,0x05,0x27,0x2d,0x91,0x9a, +0x99,0x01,0x22,0x53,0x52,0x01,0x01,0x52,0x3a,0x05,0x3b,0x6e,0x9d,0x53,0x7a,0xb2, +0xfe,0x80,0xfe,0x9d,0xbe,0x5f,0x1e,0x27,0x9c,0xd2,0x42,0x54,0xb1,0x01,0x80,0x01, +0x63,0xbe,0x5f,0x0a,0xfb,0xe9,0x03,0xa5,0x08,0x4e,0x9d,0x93,0x91,0x9b,0x9b,0x91, +0x40,0x03,0x44,0xfc,0x52,0x1f,0x18,0x4f,0x9d,0x93,0x91,0x9b,0x9b,0x91,0x67,0x00, +0x00,0x02,0xff,0xfa,0x00,0x00,0x05,0x60,0x05,0xc1,0x00,0x02,0x00,0x06,0x00,0x38, +0x40,0x0f,0x00,0x03,0x01,0x03,0x05,0x04,0x03,0x02,0x01,0x00,0x05,0x07,0x05,0x06, +0x07,0x10,0xd4,0xcc,0x11,0x17,0x39,0x31,0x00,0x2f,0xc4,0xcc,0x11,0x39,0x30,0x40, +0x14,0x63,0x01,0x6d,0x02,0x70,0x01,0x78,0x02,0x7f,0x02,0x79,0x05,0x76,0x06,0x07, +0x6e,0x00,0x7f,0x00,0x02,0x5d,0x01,0x5d,0x09,0x01,0x21,0x01,0x33,0x01,0x21,0x02, +0xac,0xfe,0x5e,0x03,0x44,0xfd,0xef,0xe0,0x02,0x43,0xfa,0x9a,0x04,0xee,0xfb,0xc4, +0x05,0x0f,0xfa,0x3f,0x00,0x02,0xff,0xfa,0x00,0x00,0x05,0x60,0x05,0xc1,0x00,0x02, +0x00,0x06,0x00,0x00,0x25,0x01,0x21,0x09,0x01,0x21,0x01,0x02,0xac,0x01,0xa2,0xfc, +0xbc,0x01,0x33,0xfd,0xbd,0x05,0x66,0xfd,0xbd,0xd3,0x04,0x3c,0xfa,0xf1,0x05,0xc1, +0xfa,0x3f,0x00,0x01,0x00,0xaf,0xff,0xec,0x06,0x49,0x05,0xae,0x00,0x1c,0x00,0x00, +0x01,0x16,0x17,0x16,0x17,0x16,0x17,0x21,0x15,0x21,0x22,0x24,0x02,0x35,0x34,0x12, +0x24,0x33,0x21,0x15,0x21,0x06,0x07,0x06,0x07,0x06,0x07,0x21,0x15,0x01,0x39,0x0e, +0x3c,0x4e,0x93,0x91,0x9b,0x02,0xb9,0xfd,0x47,0xc0,0xfe,0x9d,0xbe,0xbe,0x01,0x63, +0xc0,0x02,0xb9,0xfd,0x47,0x9b,0x91,0x93,0x4e,0x41,0x0c,0x05,0x13,0x02,0x83,0x73, +0x6e,0x92,0x52,0x51,0x01,0x80,0xc6,0x01,0x60,0xbb,0xb9,0x01,0x60,0xc8,0x80,0x01, +0x52,0x53,0x91,0x77,0x7d,0x80,0x00,0x03,0x00,0xaf,0xff,0x72,0x06,0x49,0x06,0x05, +0x00,0x1c,0x00,0x25,0x00,0x2d,0x00,0x63,0x00,0xb8,0x00,0x1b,0x2f,0xba,0x00,0x16, +0x00,0x17,0x00,0x03,0x2b,0xb8,0x00,0x16,0x10,0xba,0x00,0x0c,0x00,0x10,0x00,0x03, +0x2b,0xb8,0x00,0x0c,0x10,0xba,0x00,0x12,0x00,0x13,0x00,0x03,0x2b,0xb8,0x00,0x12, +0x10,0xb8,0x00,0x10,0x10,0xb8,0x00,0x0e,0xdc,0xb8,0x00,0x09,0xd0,0xb8,0x00,0x17, +0x10,0xb8,0x00,0x1a,0xd0,0xb8,0x00,0x1a,0x2f,0xb8,0x00,0x10,0x10,0xb8,0x00,0x1d, +0xd0,0xb8,0x00,0x0f,0x10,0xb8,0x00,0x1e,0xd0,0xb8,0x00,0x12,0x10,0xb8,0x00,0x24, +0xd0,0xb8,0x00,0x13,0x10,0xb8,0x00,0x26,0xd0,0x30,0x31,0x25,0x26,0x27,0x26,0x02, +0x35,0x34,0x12,0x24,0x33,0x21,0x37,0x33,0x07,0x21,0x15,0x21,0x03,0x21,0x15,0x21, +0x03,0x21,0x15,0x21,0x22,0x27,0x07,0x23,0x01,0x23,0x06,0x07,0x06,0x07,0x06,0x07, +0x21,0x07,0x21,0x16,0x17,0x16,0x17,0x16,0x17,0x02,0xda,0x60,0x5b,0xb2,0xbe,0xbe, +0x01,0x63,0xc0,0x01,0x0a,0x1b,0xaa,0x1b,0x01,0x05,0xfe,0xd4,0xac,0x01,0xd8,0xfe, +0x01,0xa6,0x02,0xa5,0xfd,0x47,0x0a,0x09,0x26,0xaa,0x01,0xc6,0xe3,0x9b,0x91,0x93, +0x4e,0x41,0x0c,0x02,0x91,0x27,0xfd,0x99,0x0e,0x3c,0x4e,0x93,0x4d,0x4f,0x03,0x19, +0x33,0x63,0x01,0x60,0xbb,0xb9,0x01,0x60,0xc8,0x57,0x57,0x80,0xfd,0xd5,0x80,0xfd, +0xe9,0x80,0x01,0x7b,0x05,0xbc,0x01,0x52,0x53,0x91,0x77,0x7d,0x80,0x73,0x6e,0x92, +0x52,0x2b,0x14,0x00,0x00,0x01,0x00,0xd9,0x00,0x9b,0x05,0x7b,0x04,0x67,0x00,0x16, +0x00,0x00,0x25,0x20,0x24,0x35,0x34,0x24,0x29,0x01,0x15,0x21,0x22,0x07,0x06,0x07, +0x21,0x15,0x21,0x16,0x17,0x16,0x33,0x21,0x15,0x03,0x2b,0xfe,0xd8,0xfe,0xd6,0x01, +0x2a,0x01,0x28,0x02,0x50,0xfd,0xc9,0xf4,0x6a,0x4b,0x16,0x03,0xf6,0xfc,0x0a,0x15, +0x4c,0x6a,0xf4,0x02,0x37,0x9b,0xf6,0xf0,0xf0,0xf6,0xad,0x4a,0x35,0x64,0xaa,0x66, +0x35,0x4a,0xad,0x00,0x00,0x01,0x00,0xaf,0xff,0xf6,0x06,0x49,0x05,0xb8,0x00,0x1c, +0x00,0x00,0x13,0x35,0x21,0x26,0x27,0x26,0x27,0x26,0x27,0x21,0x35,0x21,0x32,0x04, +0x12,0x15,0x14,0x02,0x04,0x23,0x21,0x35,0x21,0x36,0x37,0x36,0x37,0x36,0x37,0xaf, +0x05,0x13,0x0c,0x40,0x4f,0x93,0x91,0x9b,0xfd,0x47,0x02,0xb9,0xc0,0x01,0x63,0xbe, +0xbe,0xfe,0x9d,0xc0,0xfd,0x47,0x02,0xb9,0x9b,0x91,0x93,0x4f,0x3b,0x0e,0x02,0x8d, +0x80,0x7d,0x77,0x91,0x53,0x52,0x01,0x80,0xc8,0xfe,0xa0,0xb9,0xbb,0xfe,0xa0,0xc6, +0x80,0x01,0x51,0x52,0x92,0x6e,0x73,0x00,0x00,0x03,0x00,0xaf,0xff,0x73,0x06,0x49, +0x06,0x05,0x00,0x1e,0x00,0x27,0x00,0x2f,0x00,0x77,0x00,0xb8,0x00,0x01,0x2f,0xba, +0x00,0x20,0x00,0x0e,0x00,0x03,0x2b,0xb8,0x00,0x20,0x10,0xba,0x00,0x21,0x00,0x0c, +0x00,0x03,0x2b,0xb8,0x00,0x21,0x10,0xba,0x00,0x1d,0x00,0x1a,0x00,0x03,0x2b,0xb8, +0x00,0x1d,0x10,0xba,0x00,0x17,0x00,0x14,0x00,0x03,0x2b,0xb8,0x00,0x17,0x10,0xb8, +0x00,0x1d,0x10,0xb8,0x00,0x00,0xd0,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x0c,0x10,0xb8, +0x00,0x10,0xd0,0xb8,0x00,0x20,0x10,0xb8,0x00,0x12,0xd0,0xb8,0x00,0x21,0x10,0xb8, +0x00,0x13,0xd0,0xb8,0x00,0x1a,0x10,0xb8,0x00,0x18,0xd0,0xb8,0x00,0x18,0x2f,0xb8, +0x00,0x14,0x10,0xb8,0x00,0x1f,0xd0,0xb8,0x00,0x17,0x10,0xb8,0x00,0x29,0xd0,0x30, +0x31,0x01,0x37,0x33,0x07,0x16,0x17,0x16,0x12,0x15,0x14,0x02,0x04,0x2b,0x01,0x07, +0x23,0x37,0x21,0x35,0x21,0x13,0x21,0x35,0x21,0x13,0x26,0x23,0x21,0x35,0x21,0x32, +0x0b,0x01,0x33,0x36,0x37,0x36,0x37,0x36,0x37,0x01,0x03,0x21,0x26,0x27,0x26,0x27, +0x26,0x03,0xbb,0x19,0xaa,0x25,0x41,0x40,0xb1,0xbe,0xbe,0xfe,0x9d,0xc0,0xca,0x28, +0xaa,0x28,0xfe,0xbb,0x01,0x6d,0xa5,0xfd,0xee,0x02,0x3a,0xab,0x16,0x16,0xfd,0x47, +0x02,0xb9,0x2a,0x27,0xa5,0xa2,0x9b,0x91,0x93,0x4f,0x3b,0x0e,0xfe,0x74,0xa0,0x02, +0x2f,0x0c,0x40,0x4f,0x93,0x30,0x05,0xb3,0x52,0x77,0x16,0x24,0x64,0xfe,0xa0,0xb9, +0xbb,0xfe,0xa0,0xc6,0x83,0x83,0x80,0x02,0x17,0x80,0x02,0x29,0x02,0x80,0xfc,0xd5, +0xfd,0xe9,0x01,0x51,0x52,0x92,0x6e,0x73,0x02,0x85,0xfd,0xfb,0x7d,0x77,0x91,0x53, +0x1b,0x00,0x00,0x01,0x00,0xd9,0x00,0x9b,0x05,0x7b,0x04,0x67,0x00,0x16,0x00,0x00, +0x25,0x21,0x35,0x21,0x32,0x37,0x36,0x37,0x21,0x35,0x21,0x26,0x27,0x26,0x23,0x21, +0x35,0x21,0x20,0x04,0x15,0x14,0x04,0x03,0x29,0xfd,0xb0,0x02,0x37,0xf4,0x6a,0x4c, +0x15,0xfc,0x0a,0x03,0xf6,0x16,0x4b,0x6a,0xf4,0xfd,0xc9,0x02,0x50,0x01,0x28,0x01, +0x2a,0xfe,0xd6,0x9b,0xad,0x4a,0x35,0x66,0xaa,0x64,0x35,0x4a,0xad,0xf6,0xf0,0xf0, +0xf6,0x00,0x00,0x01,0x01,0x2c,0x00,0x00,0x03,0xeb,0x03,0xe2,0x00,0x03,0x00,0x0b, +0x00,0xb8,0x00,0x01,0x2f,0xb8,0x00,0x00,0x2f,0x30,0x31,0x21,0x11,0x21,0x11,0x01, +0x2c,0x02,0xbf,0x03,0xe2,0xfc,0x1e,0x00,0x00,0x01,0x00,0x9c,0xfe,0x77,0x05,0x71, +0x05,0xc1,0x00,0x07,0x00,0x1e,0x40,0x0f,0x06,0x02,0xd7,0x04,0xd6,0x00,0xaf,0x08, +0x03,0x67,0x01,0x05,0x67,0x00,0x08,0x10,0xd4,0xec,0xd4,0xec,0x31,0x00,0x10,0xfc, +0xec,0xec,0x32,0x30,0x13,0x21,0x11,0x23,0x11,0x21,0x11,0x23,0x9c,0x04,0xd5,0xf0, +0xfd,0x0a,0xef,0x05,0xc1,0xf8,0xb6,0x06,0x7d,0xf9,0x83,0x00,0x00,0x01,0x00,0x9c, +0xfe,0x77,0x05,0x71,0x05,0xc1,0x00,0x07,0x00,0x00,0x13,0x21,0x11,0x23,0x11,0x21, +0x11,0x23,0x9c,0x04,0xd5,0xf0,0xfd,0x0a,0xef,0xfe,0x77,0x07,0x4a,0xf9,0x83,0x06, +0x7d,0x00,0x00,0x01,0x00,0x19,0xfe,0x77,0x05,0x3b,0x05,0xc1,0x00,0x0b,0x00,0x5d, +0x40,0x14,0x0a,0x04,0x0c,0x02,0x05,0x07,0x02,0x00,0x07,0x0c,0x0a,0x05,0x04,0x03, +0x01,0x00,0x06,0x06,0x08,0x0c,0x10,0xd4,0xc4,0x17,0x39,0x31,0x00,0x10,0xc4,0xd4, +0xcc,0x10,0xce,0x11,0x12,0x39,0x39,0x30,0x40,0x30,0x51,0x03,0x56,0x05,0x50,0x05, +0x5a,0x0a,0x73,0x03,0x70,0x03,0x76,0x04,0x75,0x05,0x70,0x05,0x7a,0x0a,0x80,0x03, +0x80,0x05,0x0c,0x5a,0x09,0x7f,0x02,0x7f,0x03,0x70,0x05,0x70,0x06,0x7b,0x09,0x74, +0x0b,0x8f,0x02,0x8f,0x03,0x80,0x05,0x80,0x06,0x0b,0x5d,0x01,0x5d,0x13,0x21,0x15, +0x21,0x09,0x01,0x21,0x15,0x21,0x35,0x09,0x01,0x37,0x04,0xea,0xfc,0x41,0x02,0xa0, +0xfd,0x4a,0x03,0xef,0xfa,0xde,0x02,0xd5,0xfd,0x49,0x05,0xc1,0xc1,0xfd,0x33,0xfd, +0x04,0xc0,0x95,0x03,0x21,0x02,0xe3,0x00,0x00,0x01,0x00,0xd9,0x02,0x2d,0x05,0xdb, +0x02,0xd7,0x00,0x03,0x00,0x11,0xb6,0x00,0x9c,0x02,0x04,0x01,0x00,0x04,0x10,0xd4, +0xc4,0x31,0x00,0x10,0xd4,0xec,0x30,0x13,0x21,0x15,0x21,0xd9,0x05,0x02,0xfa,0xfe, +0x02,0xd7,0xaa,0x00,0x00,0x02,0x00,0xd9,0x00,0x00,0x05,0xdb,0x05,0x04,0x00,0x0b, +0x00,0x0f,0x00,0x00,0x21,0x23,0x11,0x21,0x35,0x21,0x11,0x33,0x11,0x21,0x15,0x21, +0x01,0x35,0x21,0x15,0x03,0xae,0xa8,0xfd,0xd3,0x02,0x2d,0xa8,0x02,0x2d,0xfd,0xd3, +0xfd,0x2b,0x05,0x02,0x01,0x83,0xaa,0x01,0x83,0xfe,0x7d,0xaa,0x02,0xd7,0xaa,0xaa, +0x00,0x02,0x00,0xd9,0x00,0x00,0x05,0xdb,0x05,0xd5,0x00,0x0b,0x00,0x0f,0x00,0x57, +0xba,0x00,0x05,0x00,0x06,0x00,0x03,0x2b,0xb8,0x00,0x05,0x10,0xb8,0x00,0x00,0xd0, +0xb8,0x00,0x06,0x10,0xb8,0x00,0x0a,0xd0,0xb8,0x00,0x06,0x10,0xb8,0x00,0x0c,0xd0, +0xb8,0x00,0x05,0x10,0xb8,0x00,0x0d,0xd0,0x00,0xb8,0x00,0x05,0x2f,0xba,0x00,0x0d, +0x00,0x0e,0x00,0x03,0x2b,0xb8,0x00,0x0d,0x10,0xba,0x00,0x02,0x00,0x03,0x00,0x03, +0x2b,0xb8,0x00,0x02,0x10,0xb8,0x00,0x03,0x10,0xb8,0x00,0x07,0xd0,0xb8,0x00,0x02, +0x10,0xb8,0x00,0x09,0xd0,0x30,0x31,0x01,0x11,0x21,0x15,0x21,0x11,0x23,0x11,0x21, +0x35,0x21,0x19,0x01,0x33,0x15,0x23,0x03,0xae,0x02,0x2d,0xfd,0xd3,0xa8,0xfd,0xd3, +0x02,0x2d,0xa8,0xa8,0x04,0xa0,0xfe,0x05,0xaa,0xfe,0x05,0x01,0xfb,0xaa,0x01,0xfb, +0x01,0x35,0xcc,0x00,0x00,0x01,0xfe,0x89,0xff,0xe3,0x02,0xcd,0x05,0xf0,0x00,0x03, +0x00,0x2b,0x40,0x13,0x00,0x0f,0x01,0x02,0x01,0x02,0x0f,0x03,0x00,0x03,0x42,0x02, +0x8c,0x00,0x91,0x04,0x01,0x03,0x04,0x10,0xd4,0xcc,0x31,0x00,0x10,0xe4,0xe4,0x30, +0x4b,0x53,0x58,0x07,0x10,0x05,0xed,0x07,0x10,0x05,0xed,0x59,0x22,0x01,0x33,0x01, +0x23,0x02,0x2d,0xa0,0xfc,0x5c,0xa0,0x05,0xf0,0xf9,0xf3,0x00,0xff,0xff,0x01,0x8a, +0xff,0x92,0x04,0x3c,0x06,0x25,0x10,0x03,0x00,0x3f,0x01,0x8a,0x00,0x50,0xff,0xff, +0x00,0xbe,0x00,0xaf,0x04,0x44,0x04,0x55,0x10,0x07,0x00,0x0d,0x00,0x81,0xfe,0x65, +0xff,0xff,0x01,0x44,0x01,0x47,0x03,0xbe,0x03,0xc2,0x10,0x07,0x00,0x72,0x00,0x81, +0xfd,0xd2,0x00,0x01,0x00,0xdb,0x02,0x48,0x01,0xae,0x03,0x46,0x00,0x03,0x00,0x12, +0xb7,0x02,0x83,0x00,0x04,0x01,0x19,0x00,0x04,0x10,0xd4,0xec,0x31,0x00,0x10,0xd4, +0xec,0x30,0x13,0x33,0x15,0x23,0xdb,0xd3,0xd3,0x03,0x46,0xfe,0x00,0x01,0x00,0x3d, +0xff,0xd7,0x05,0x19,0x06,0x7d,0x00,0x0a,0x00,0x2a,0x40,0x18,0x0a,0x09,0x08,0x07, +0x06,0x05,0x0b,0x02,0x04,0x02,0x00,0x0b,0x0a,0x09,0x07,0x06,0x05,0x04,0x03,0x00, +0x08,0x01,0x08,0x0b,0x10,0xd4,0xcc,0x17,0x39,0x31,0x00,0x10,0xd4,0xcc,0xc4,0x11, +0x12,0x17,0x39,0x30,0x01,0x33,0x15,0x23,0x01,0x23,0x01,0x07,0x27,0x25,0x01,0x04, +0x5c,0xbd,0x73,0xfd,0xae,0x42,0xfe,0xc1,0x7d,0x19,0x01,0x1b,0x01,0x00,0x06,0x7d, +0x60,0xf9,0xba,0x03,0x73,0x2d,0x50,0x62,0xfd,0x3b,0xff,0xff,0x00,0x3d,0xff,0xd7, +0x05,0x19,0x07,0xd0,0x12,0x22,0x08,0x8b,0x00,0x00,0x10,0x03,0x00,0x75,0x00,0x73, +0x01,0xe0,0xff,0xff,0x00,0x3d,0xff,0xd7,0x05,0x19,0x07,0xbf,0x12,0x22,0x08,0x8b, +0x00,0x00,0x10,0x03,0x07,0xba,0x00,0x73,0x01,0xe0,0x00,0x02,0x00,0xdd,0x00,0xdd, +0x04,0x8d,0x03,0xee,0x00,0x0b,0x00,0x25,0x00,0x00,0x01,0x2e,0x01,0x23,0x22,0x06, +0x15,0x14,0x16,0x33,0x32,0x36,0x01,0x22,0x26,0x27,0x0e,0x01,0x23,0x22,0x26,0x35, +0x34,0x36,0x33,0x32,0x16,0x17,0x3e,0x01,0x33,0x15,0x22,0x06,0x07,0x1e,0x01,0x33, +0x03,0x19,0x31,0x85,0x55,0x66,0x7f,0x76,0x59,0x52,0x86,0x01,0xbd,0x49,0x95,0x4f, +0x46,0x9d,0x5e,0x88,0xba,0xa7,0x86,0x5f,0x99,0x48,0x44,0x9e,0x61,0x2b,0x85,0x4a, +0x31,0x86,0x43,0x02,0x9a,0x58,0x58,0x84,0x6a,0x65,0x86,0x88,0xfe,0xe8,0x77,0x8b, +0x87,0x7f,0xdf,0xa6,0xaf,0xd8,0x7e,0x8a,0x8a,0x83,0x96,0x87,0xa2,0x58,0x5a,0x00, +0x00,0x03,0x00,0xdd,0x00,0xdd,0x05,0xcf,0x03,0xee,0x00,0x0b,0x00,0x17,0x00,0x2f, +0x00,0xff,0x40,0x1d,0x2d,0x1b,0x15,0x09,0x21,0x03,0x00,0x24,0x18,0x04,0x15,0x0f, +0x27,0x21,0x15,0x1b,0x0f,0x21,0x30,0x0c,0x00,0x24,0x18,0x12,0x06,0x2a,0x12,0x1e, +0x30,0x10,0xd4,0xc4,0xd4,0xc4,0x11,0x39,0x39,0x39,0x39,0x31,0x00,0x10,0xd4,0xc4, +0xd4,0xc4,0x10,0xc0,0x11,0x12,0x17,0x39,0x12,0x39,0x11,0x12,0x39,0x30,0x40,0xbe, +0x05,0x02,0x05,0x03,0x05,0x04,0x00,0x05,0x00,0x06,0x00,0x07,0x05,0x08,0x05,0x09, +0x05,0x0a,0x0a,0x10,0x0f,0x11,0x0f,0x12,0x0f,0x13,0x0a,0x14,0x15,0x02,0x15,0x03, +0x15,0x04,0x10,0x05,0x10,0x06,0x10,0x07,0x15,0x08,0x15,0x09,0x15,0x0a,0x1a,0x0e, +0x1a,0x0f,0x1a,0x10,0x1f,0x11,0x1f,0x12,0x1f,0x13,0x1a,0x14,0x1a,0x15,0x1a,0x16, +0x24,0x02,0x24,0x03,0x24,0x04,0x20,0x05,0x20,0x06,0x20,0x07,0x24,0x08,0x24,0x09, +0x24,0x0a,0x2a,0x0e,0x2a,0x0f,0x2a,0x10,0x2f,0x11,0x2f,0x12,0x2f,0x13,0x2a,0x14, +0x2a,0x15,0x2a,0x16,0x35,0x02,0x35,0x03,0x35,0x04,0x30,0x05,0x30,0x06,0x30,0x07, +0x35,0x08,0x35,0x09,0x35,0x0a,0x3a,0x0e,0x3a,0x0f,0x3a,0x10,0x3f,0x11,0x3f,0x12, +0x3f,0x13,0x3a,0x14,0x3a,0x15,0x3a,0x16,0x45,0x02,0x45,0x03,0x45,0x04,0x40,0x05, +0x40,0x06,0x40,0x07,0x45,0x08,0x45,0x09,0x45,0x0a,0x4a,0x0e,0x4a,0x0f,0x4a,0x10, +0x4f,0x11,0x4f,0x12,0x4f,0x13,0x4a,0x14,0x4a,0x15,0x4a,0x16,0x56,0xb4,0x1f,0xb0, +0x20,0xb0,0x21,0xb0,0x22,0xb0,0x26,0xb0,0x27,0xb0,0x28,0xb4,0x29,0x08,0x5d,0x01, +0x5d,0x01,0x1e,0x01,0x33,0x32,0x36,0x35,0x34,0x26,0x23,0x22,0x06,0x07,0x2e,0x01, +0x23,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x17,0x0e,0x01,0x23,0x22,0x26,0x35, +0x34,0x36,0x33,0x32,0x16,0x17,0x3e,0x01,0x33,0x32,0x16,0x15,0x14,0x06,0x23,0x22, +0x26,0x03,0x93,0x31,0x86,0x54,0x65,0x80,0x76,0x59,0x52,0x85,0xc4,0x31,0x85,0x55, +0x66,0x7f,0x76,0x59,0x52,0x86,0x90,0x46,0x9d,0x5e,0x88,0xba,0xa7,0x86,0x5f,0x99, +0x48,0x44,0x9e,0x61,0x86,0xbc,0xa7,0x86,0x5e,0x95,0x02,0x2f,0x58,0x5a,0x87,0x69, +0x65,0x86,0x87,0x37,0x58,0x58,0x84,0x6a,0x65,0x86,0x88,0x16,0x87,0x7f,0xdf,0xa6, +0xaf,0xd8,0x7e,0x8a,0x8a,0x83,0xe1,0xa7,0xaf,0xd6,0x77,0x00,0x00,0x01,0x01,0x1b, +0x00,0xcb,0x05,0x99,0x05,0x49,0x00,0x05,0x00,0x00,0x25,0x21,0x11,0x33,0x11,0x21, +0x05,0x99,0xfb,0x82,0xaa,0x03,0xd4,0xcb,0x04,0x7e,0xfc,0x2c,0x00,0x01,0x01,0x1b, +0x00,0xcb,0x05,0x99,0x05,0x49,0x00,0x05,0x00,0x00,0x25,0x21,0x01,0x33,0x01,0x21, +0x05,0x99,0xfb,0x82,0x03,0xc0,0xaa,0xfc,0xcd,0x03,0x47,0xcb,0x04,0x7e,0xfc,0x2c, +0x00,0x02,0x00,0xaf,0xff,0x94,0x06,0x49,0x05,0xd5,0x00,0x05,0x00,0x1b,0x00,0x41, +0x00,0xb8,0x00,0x07,0x2f,0xb8,0x00,0x12,0x2f,0xba,0x00,0x0e,0x00,0x0f,0x00,0x03, +0x2b,0xb8,0x00,0x0e,0x10,0xb8,0x00,0x00,0xd0,0xba,0x00,0x04,0x00,0x12,0x00,0x07, +0x11,0x12,0x39,0xba,0x00,0x05,0x00,0x12,0x00,0x07,0x11,0x12,0x39,0xb8,0x00,0x0f, +0x10,0xb8,0x00,0x15,0xd0,0xba,0x00,0x16,0x00,0x12,0x00,0x07,0x11,0x12,0x39,0x30, +0x31,0x25,0x26,0x27,0x26,0x27,0x01,0x13,0x01,0x33,0x01,0x16,0x17,0x16,0x17,0x21, +0x15,0x21,0x16,0x15,0x23,0x34,0x27,0x21,0x01,0x26,0x27,0x37,0x16,0x04,0x60,0x27, +0x4a,0x41,0x57,0xfe,0xce,0xe3,0x01,0x60,0xf2,0xfe,0x4c,0x71,0x52,0x5d,0x2b,0x01, +0x58,0xfe,0xc9,0x04,0x8c,0x05,0xfc,0x2a,0x02,0x0d,0x1e,0x1f,0x50,0x1d,0xca,0x8b, +0x86,0x73,0x5e,0xfe,0x1e,0x02,0xe3,0x02,0x28,0xfd,0x52,0x73,0x93,0xa7,0xb0,0xca, +0x35,0x37,0x37,0x35,0x03,0x36,0x15,0x14,0x75,0x13,0x00,0x02,0x00,0xed,0xff,0xfa, +0x05,0xdc,0x05,0xd1,0x00,0x17,0x00,0x1d,0x00,0x35,0xba,0x00,0x0d,0x00,0x1c,0x00, +0x03,0x2b,0xb8,0x00,0x0d,0x10,0x00,0xb8,0x00,0x09,0x2f,0xb8,0x00,0x12,0x2f,0xba, +0x00,0x05,0x00,0x12,0x00,0x09,0x11,0x12,0x39,0xba,0x00,0x16,0x00,0x12,0x00,0x09, +0x11,0x12,0x39,0xba,0x00,0x19,0x00,0x12,0x00,0x09,0x11,0x12,0x39,0x30,0x31,0x09, +0x01,0x37,0x01,0x26,0x27,0x37,0x16,0x17,0x25,0x15,0x05,0x16,0x07,0x15,0x06,0x07, +0x05,0x15,0x25,0x06,0x07,0x27,0x36,0x13,0x09,0x01,0x36,0x37,0x36,0x03,0x72,0xfd, +0x7b,0x02,0x02,0x8e,0x19,0x1d,0x8b,0x1d,0x19,0x01,0xd4,0xfe,0x8a,0x45,0x06,0x07, +0x47,0x01,0x85,0xfe,0x25,0x1c,0x1e,0x86,0x1f,0x79,0xfd,0xdd,0x02,0x1a,0x34,0x04, +0x07,0x01,0x34,0x01,0x52,0xc0,0x01,0x57,0x21,0x1e,0x4c,0x21,0x24,0xee,0xd2,0xbe, +0xb3,0xc6,0x09,0xa1,0x93,0xbf,0xd2,0xf1,0x26,0x21,0x4c,0x20,0x02,0xe9,0xfe,0xe7, +0xfe,0xf0,0x7b,0x81,0x9e,0x00,0x00,0x01,0x01,0xb0,0xfe,0x4a,0x02,0x50,0x06,0x2b, +0x00,0x03,0x00,0x00,0x01,0x33,0x11,0x23,0x01,0xb0,0xa0,0xa0,0x06,0x2b,0xf8,0x1f, +0x00,0x01,0x00,0x66,0xfe,0x4a,0x03,0x9b,0x06,0x2b,0x00,0x0b,0x00,0x37,0xba,0x00, +0x06,0x00,0x00,0x00,0x03,0x2b,0xb8,0x00,0x06,0x10,0xb8,0x00,0x02,0xd0,0xb8,0x00, +0x00,0x10,0xb8,0x00,0x08,0xd0,0x00,0xb8,0x00,0x01,0x2f,0xb8,0x00,0x07,0x2f,0xba, +0x00,0x03,0x00,0x07,0x00,0x01,0x11,0x12,0x39,0xba,0x00,0x09,0x00,0x07,0x00,0x01, +0x11,0x12,0x39,0x30,0x31,0x01,0x11,0x33,0x11,0x37,0x17,0x05,0x11,0x23,0x11,0x07, +0x27,0x01,0xb0,0xa0,0xfb,0x50,0xfe,0xb5,0xa0,0xfd,0x4d,0x02,0x56,0x03,0xd5,0xfc, +0x9c,0xb0,0x6f,0xe7,0xfc,0x29,0x03,0x67,0xb1,0x6e,0x00,0x02,0x01,0x10,0xfe,0x4a, +0x02,0xf0,0x06,0x2b,0x00,0x03,0x00,0x07,0x00,0x00,0x01,0x33,0x11,0x23,0x01,0x33, +0x11,0x23,0x01,0x10,0xa0,0xa0,0x01,0x40,0xa0,0xa0,0x06,0x2b,0xf8,0x1f,0x07,0xe1, +0xf8,0x1f,0x00,0x01,0x00,0x66,0xfe,0x4a,0x03,0x9b,0x06,0x2b,0x00,0x13,0x00,0x7b, +0xb8,0x00,0x14,0x2f,0xb8,0x00,0x15,0x2f,0xb8,0x00,0x14,0x10,0xb8,0x00,0x00,0xd0, +0xb8,0x00,0x00,0x2f,0xb8,0x00,0x0e,0xdc,0xb8,0x00,0x02,0xd0,0xb8,0x00,0x15,0x10, +0xb8,0x00,0x0a,0xdc,0xb8,0x00,0x04,0xdc,0xb8,0x00,0x0a,0x10,0xb8,0x00,0x06,0xd0, +0xb8,0x00,0x04,0x10,0xb8,0x00,0x0c,0xd0,0xb8,0x00,0x00,0x10,0xb8,0x00,0x10,0xd0, +0x00,0xb8,0x00,0x01,0x2f,0xb8,0x00,0x05,0x2f,0xb8,0x00,0x0b,0x2f,0xb8,0x00,0x0f, +0x2f,0xba,0x00,0x03,0x00,0x0b,0x00,0x01,0x11,0x12,0x39,0xba,0x00,0x07,0x00,0x0b, +0x00,0x01,0x11,0x12,0x39,0xba,0x00,0x0d,0x00,0x0b,0x00,0x01,0x11,0x12,0x39,0xba, +0x00,0x11,0x00,0x0b,0x00,0x01,0x11,0x12,0x39,0x30,0x31,0x01,0x11,0x33,0x11,0x37, +0x11,0x33,0x11,0x37,0x17,0x07,0x11,0x23,0x11,0x07,0x11,0x23,0x11,0x07,0x27,0x01, +0x10,0xa0,0xa0,0xa0,0x5b,0x50,0xab,0xa0,0xa0,0xa0,0x5d,0x4d,0x01,0xe6,0x04,0x45, +0xfc,0x2b,0x71,0x03,0x64,0xfd,0x0c,0x40,0x6f,0x78,0xfb,0xba,0x03,0xd7,0x70,0xfc, +0x99,0x02,0xf7,0x41,0x6e,0x00,0x00,0x01,0x01,0x07,0x00,0x00,0x04,0xd4,0x04,0xa2, +0x00,0x06,0x00,0x00,0x21,0x01,0x33,0x01,0x23,0x09,0x01,0x01,0x08,0x01,0x69,0xfa, +0x01,0x68,0xc3,0xfe,0xde,0xfe,0xdd,0x04,0xa2,0xfb,0x5e,0x03,0xac,0xfc,0x54,0x00, +0x00,0x01,0x01,0x07,0x00,0x00,0x04,0xd4,0x04,0xa2,0x00,0x06,0x00,0x00,0x01,0x33, +0x09,0x01,0x33,0x01,0x23,0x01,0x08,0xc3,0x01,0x23,0x01,0x22,0xc3,0xfe,0x98,0xfa, +0x04,0xa2,0xfc,0x54,0x03,0xac,0xfb,0x5e,0x00,0x01,0x01,0x07,0x00,0x00,0x04,0xd4, +0x04,0xa2,0x00,0x11,0x00,0x00,0x01,0x10,0x12,0x33,0x32,0x12,0x19,0x01,0x23,0x11, +0x34,0x26,0x23,0x22,0x06,0x15,0x11,0x23,0x01,0x08,0xf5,0xf1,0xf0,0xf5,0xac,0x94, +0xa5,0xa6,0x94,0xac,0x02,0x50,0x01,0x28,0x01,0x2a,0xfe,0xd6,0xfe,0xd8,0xfd,0xb0, +0x02,0x37,0xf4,0xd3,0xd3,0xf4,0xfd,0xc9,0x00,0x01,0x01,0x07,0x00,0x00,0x04,0xd4, +0x04,0xa2,0x00,0x11,0x00,0x00,0x01,0x11,0x33,0x11,0x14,0x16,0x33,0x32,0x36,0x35, +0x11,0x33,0x11,0x10,0x02,0x23,0x22,0x02,0x01,0x08,0xac,0x94,0xa6,0xa5,0x94,0xac, +0xf5,0xf0,0xf1,0xf5,0x02,0x52,0x02,0x50,0xfd,0xc9,0xf4,0xd3,0xd3,0xf4,0x02,0x37, +0xfd,0xb0,0xfe,0xd8,0xfe,0xd6,0x01,0x2a,0x00,0x01,0x00,0x2f,0xfe,0x8d,0x03,0xfa, +0x06,0x0e,0x00,0x25,0x00,0x26,0x40,0x14,0x20,0xdb,0x00,0x1a,0x0d,0xdb,0x13,0x1a, +0xdc,0x07,0xb1,0x26,0x0a,0x69,0x17,0x6a,0x1d,0x69,0x04,0x26,0x10,0xdc,0xec,0xfc, +0xec,0x31,0x00,0x10,0xfc,0xec,0xdc,0xe4,0x10,0xde,0xe4,0x30,0x01,0x32,0x13,0x36, +0x37,0x1a,0x01,0x33,0x32,0x16,0x15,0x14,0x06,0x23,0x22,0x26,0x27,0x2e,0x01,0x23, +0x22,0x03,0x06,0x07,0x0a,0x01,0x23,0x22,0x26,0x35,0x34,0x36,0x33,0x32,0x16,0x17, +0x1e,0x01,0x01,0x37,0x6a,0x0e,0x02,0x01,0x0c,0xbe,0xca,0x50,0x64,0x40,0x37,0x2a, +0x38,0x0c,0x06,0x09,0x10,0x6b,0x0e,0x04,0x04,0x11,0xbd,0xc4,0x4f,0x65,0x44,0x3d, +0x21,0x30,0x0f,0x0a,0x0a,0xfe,0xfa,0x02,0xb0,0x6c,0x39,0x02,0x03,0x01,0xbc,0x54, +0x41,0x36,0x3f,0x26,0x23,0x0f,0x48,0xfd,0x95,0xc1,0x6e,0xfe,0x21,0xfe,0x62,0x53, +0x41,0x38,0x3f,0x1d,0x1c,0x12,0x53,0x00,0xff,0xff,0x00,0x2f,0xfe,0x8d,0x06,0x9f, +0x06,0x0e,0x10,0x26,0x08,0x9c,0x00,0x00,0x10,0x07,0x08,0x9c,0x02,0xa5,0x00,0x00, +0xff,0xff,0x00,0x2f,0xfe,0x8d,0x09,0x44,0x06,0x0e,0x10,0x26,0x08,0x9c,0x00,0x00, +0x10,0x27,0x08,0x9c,0x02,0xa5,0x00,0x00,0x10,0x07,0x08,0x9c,0x05,0x4a,0x00,0x00, +0xff,0xff,0x00,0x79,0x00,0xcd,0x04,0x9e,0x04,0xd5,0x10,0x27,0x08,0x8a,0xff,0x9e, +0xfe,0x85,0x10,0x27,0x08,0x8a,0x02,0xf0,0xfe,0x85,0x10,0x07,0x08,0x8a,0x01,0x47, +0x01,0x8f,0xff,0xff,0x00,0x79,0x00,0xcd,0x04,0x9e,0x04,0xd5,0x10,0x27,0x08,0x8a, +0x01,0x47,0xfe,0x85,0x10,0x27,0x08,0x8a,0x02,0xf0,0x01,0x8f,0x10,0x07,0x08,0x8a, +0xff,0x9e,0x01,0x8f,0xff,0xff,0x00,0xa1,0x00,0xcd,0x01,0x74,0x04,0xd6,0x10,0x27, +0x08,0x8a,0xff,0xc6,0x01,0x90,0x10,0x07,0x08,0x8a,0xff,0xc6,0xfe,0x85,0xff,0xff, +0x00,0x79,0x00,0xcd,0x04,0x9e,0x04,0xd5,0x10,0x27,0x08,0x8a,0x02,0xf0,0x01,0x8f, +0x10,0x27,0x08,0x8a,0xff,0x9e,0x01,0x8f,0x10,0x27,0x08,0x8a,0x02,0xf0,0xfe,0x85, +0x10,0x07,0x08,0x8a,0xff,0x9e,0xfe,0x85,0xff,0xff,0x00,0xd9,0x02,0x2d,0x05,0xdb, +0x04,0x6a,0x10,0x27,0x08,0x8a,0x02,0x14,0x01,0x24,0x10,0x06,0x08,0x83,0x00,0x00, +0x00,0x03,0x00,0xd9,0x00,0x9f,0x05,0xdc,0x04,0x6a,0x00,0x03,0x00,0x07,0x00,0x0b, +0x00,0x00,0x13,0x21,0x15,0x21,0x01,0x33,0x15,0x23,0x03,0x33,0x15,0x23,0xd9,0x03, +0x58,0xfc,0xa8,0x04,0x30,0xd3,0xd3,0x01,0xd3,0xd3,0x02,0xd7,0xaa,0x02,0x3d,0xfe, +0xfe,0x31,0xfe,0x00,0xff,0xff,0x00,0xd8,0x00,0x9f,0x05,0xdc,0x04,0x6a,0x10,0x26, +0x08,0x83,0x00,0x00,0x10,0x27,0x08,0x8a,0xff,0xfd,0xfe,0x57,0x10,0x27,0x08,0x8a, +0xff,0xfe,0x01,0x24,0x10,0x27,0x08,0x8a,0x04,0x2d,0xfe,0x57,0x10,0x07,0x08,0x8a, +0x04,0x2e,0x01,0x24,0xff,0xff,0x00,0xd9,0x00,0x9f,0x05,0xdb,0x04,0x6a,0x10,0x26, +0x08,0xa7,0x00,0x00,0x10,0x27,0x08,0x8a,0x02,0x13,0xfe,0x57,0x10,0x07,0x08,0x8a, +0x02,0x14,0x01,0x24,0x00,0x01,0x00,0xd9,0x01,0xd3,0x05,0xdb,0x03,0x32,0x00,0x1d, +0x00,0x00,0x01,0x15,0x0e,0x01,0x23,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x23,0x22, +0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x33,0x32,0x36, +0x05,0xdb,0x69,0xb3,0x61,0x6e,0x92,0x0a,0x07,0x06,0x0f,0x9b,0x5e,0x58,0xac,0x62, +0x69,0xb3,0x61,0x6e,0x93,0x0b,0x05,0x06,0x0f,0x9b,0x5e,0x56,0xa9,0x03,0x32,0xb3, +0x4e,0x45,0x3b,0x04,0x03,0x02,0x06,0x3d,0x4c,0x54,0xb3,0x4e,0x45,0x3b,0x05,0x02, +0x02,0x06,0x3d,0x4b,0x00,0x01,0x00,0xd9,0x01,0xd3,0x05,0xdb,0x03,0x32,0x00,0x1d, +0x00,0x00,0x13,0x1e,0x01,0x33,0x32,0x37,0x36,0x37,0x36,0x37,0x36,0x33,0x32,0x16, +0x17,0x15,0x2e,0x01,0x23,0x22,0x07,0x06,0x07,0x06,0x07,0x06,0x23,0x22,0x26,0x27, +0xd9,0x67,0xa9,0x56,0x5e,0x9b,0x0f,0x06,0x05,0x0b,0x93,0x6e,0x61,0xb3,0x69,0x62, +0xac,0x58,0x5e,0x9b,0x0f,0x06,0x07,0x0a,0x92,0x6e,0x61,0xb3,0x69,0x03,0x32,0x55, +0x4b,0x3d,0x06,0x02,0x02,0x05,0x3b,0x45,0x4e,0xb3,0x54,0x4c,0x3d,0x06,0x02,0x03, +0x04,0x3b,0x45,0x4e,0x00,0x01,0x00,0xd9,0x00,0x98,0x05,0xdb,0x04,0x6e,0x00,0x1b, +0x00,0x00,0x01,0x26,0x23,0x22,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x17,0x13,0x17, +0x03,0x16,0x33,0x32,0x36,0x37,0x15,0x0e,0x01,0x23,0x22,0x27,0x03,0x27,0x02,0xde, +0x5e,0x41,0x58,0xac,0x62,0x69,0xb3,0x61,0x5a,0x72,0xa9,0xae,0xa3,0x5e,0x41,0x56, +0xa9,0x67,0x69,0xb3,0x61,0x5a,0x73,0xa8,0xae,0x02,0x56,0x1d,0x4c,0x54,0xb3,0x4e, +0x45,0x27,0x01,0x7c,0x4d,0xfe,0x8e,0x1d,0x4b,0x55,0xb3,0x4e,0x45,0x28,0xfe,0x84, +0x4c,0x00,0x00,0x02,0x00,0xd9,0x01,0x10,0x05,0xdb,0x03,0xa2,0x00,0x1c,0x00,0x20, +0x00,0x00,0x01,0x15,0x0e,0x01,0x23,0x22,0x2f,0x01,0x26,0x27,0x26,0x23,0x22,0x06, +0x07,0x35,0x3e,0x01,0x33,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x33,0x32,0x36,0x01, +0x21,0x15,0x21,0x05,0xdb,0x69,0xb3,0x61,0x6e,0x92,0x11,0x06,0x0f,0x9b,0x5e,0x58, +0xac,0x62,0x69,0xb3,0x61,0x6e,0x93,0x0b,0x05,0x06,0x0f,0x9b,0x5e,0x56,0xa9,0xfb, +0x65,0x05,0x02,0xfa,0xfe,0x02,0x6f,0xb3,0x4e,0x45,0x3b,0x07,0x02,0x06,0x3d,0x4c, +0x54,0xb3,0x4e,0x45,0x3b,0x05,0x02,0x02,0x06,0x3d,0x4b,0x01,0x88,0xa8,0x00,0x02, +0x00,0xd9,0x01,0x60,0x05,0xdb,0x03,0xf4,0x00,0x1a,0x00,0x1e,0x00,0x00,0x01,0x15, +0x0e,0x01,0x23,0x22,0x2f,0x01,0x26,0x27,0x26,0x23,0x22,0x06,0x07,0x35,0x3e,0x01, +0x33,0x32,0x1f,0x02,0x16,0x33,0x32,0x36,0x01,0x21,0x15,0x21,0x05,0xdb,0x69,0xb3, +0x61,0x6e,0x92,0x11,0x06,0x0f,0x9b,0x5e,0x58,0xac,0x62,0x69,0xb3,0x61,0x6e,0x93, +0x0f,0x16,0x9b,0x5e,0x56,0xa9,0xfb,0x65,0x05,0x02,0xfa,0xfe,0x03,0xf4,0xb2,0x4f, +0x45,0x3b,0x07,0x02,0x06,0x3d,0x4c,0x53,0xb2,0x4e,0x45,0x3b,0x06,0x09,0x3d,0x4b, +0xfe,0x6b,0xaa,0x00,0x00,0x02,0x00,0xd9,0x00,0x61,0x05,0xdb,0x04,0xd3,0x00,0x24, +0x00,0x25,0x00,0x00,0x01,0x03,0x16,0x37,0x36,0x37,0x15,0x0e,0x01,0x23,0x22,0x27, +0x07,0x21,0x15,0x21,0x07,0x27,0x37,0x21,0x35,0x21,0x37,0x26,0x23,0x22,0x06,0x07, +0x35,0x3e,0x01,0x33,0x32,0x1f,0x02,0x13,0x01,0x05,0x03,0xcb,0x5e,0x8a,0xaf,0x0c, +0x69,0xb3,0x61,0x42,0x50,0x90,0x02,0x9f,0xfc,0xef,0xb9,0x89,0x6c,0xfe,0xe5,0x01, +0x99,0xb8,0x91,0x5a,0x58,0xac,0x62,0x69,0xb3,0x61,0x6e,0x93,0x0f,0x24,0xef,0xfd, +0x7d,0x04,0x6f,0xfe,0xe9,0x22,0x44,0x58,0x22,0xb2,0x4f,0x45,0x16,0xba,0xaa,0xfe, +0x64,0x9a,0xaa,0xf3,0x38,0x4c,0x53,0xb2,0x4e,0x45,0x3b,0x06,0x10,0x01,0x49,0xfc, +0x8d,0x00,0x00,0x03,0x00,0xd9,0x00,0xb8,0x05,0xdb,0x04,0xc1,0x00,0x1a,0x00,0x1e, +0x00,0x22,0x00,0x00,0x01,0x15,0x0e,0x01,0x23,0x22,0x2f,0x01,0x26,0x27,0x26,0x23, +0x22,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x1f,0x02,0x16,0x33,0x32,0x36,0x01,0x21, +0x15,0x21,0x15,0x21,0x15,0x21,0x05,0xdb,0x69,0xb3,0x61,0x6e,0x92,0x11,0x06,0x0f, +0x9b,0x5e,0x58,0xac,0x62,0x69,0xb3,0x61,0x6e,0x93,0x0f,0x16,0x9b,0x5e,0x56,0xa9, +0xfb,0x65,0x05,0x02,0xfa,0xfe,0x05,0x02,0xfa,0xfe,0x04,0xc1,0xb2,0x4f,0x45,0x3b, +0x07,0x02,0x06,0x3d,0x4c,0x53,0xb2,0x4e,0x45,0x3b,0x06,0x07,0x3f,0x4b,0xfe,0x6b, +0xaa,0xcb,0xaa,0x00,0x00,0x02,0x00,0xd9,0x00,0x17,0x05,0xdb,0x04,0xc1,0x00,0x1a, +0x00,0x2e,0x00,0x00,0x01,0x15,0x0e,0x01,0x23,0x22,0x2f,0x01,0x26,0x27,0x26,0x23, +0x22,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x1f,0x02,0x16,0x33,0x32,0x36,0x01,0x23, +0x35,0x21,0x37,0x21,0x35,0x21,0x37,0x17,0x07,0x21,0x15,0x21,0x07,0x21,0x15,0x21, +0x07,0x27,0x05,0xdb,0x69,0xb3,0x61,0x6e,0x92,0x11,0x06,0x0f,0x9b,0x5e,0x58,0xac, +0x62,0x69,0xb3,0x61,0x6e,0x93,0x0f,0x16,0x9b,0x5e,0x56,0xa9,0xfc,0x4c,0xe7,0x01, +0x95,0xd1,0xfd,0x9a,0x03,0x19,0x8c,0x6f,0x13,0x01,0x01,0xfe,0x4b,0xd0,0x02,0x85, +0xfc,0xc9,0xa6,0x6f,0x04,0xc1,0xb2,0x4f,0x45,0x3b,0x07,0x02,0x06,0x3d,0x4c,0x53, +0xb2,0x4e,0x45,0x3b,0x06,0x07,0x3f,0x4b,0xfc,0x4c,0xaa,0xcb,0xaa,0x8a,0x73,0x17, +0xaa,0xcb,0xaa,0xa0,0x73,0x00,0x00,0x01,0x00,0xd9,0xff,0xf5,0x05,0xdb,0x05,0x43, +0x00,0x33,0x00,0x00,0x01,0x16,0x33,0x32,0x36,0x37,0x15,0x0e,0x01,0x23,0x22,0x27, +0x07,0x21,0x15,0x21,0x07,0x21,0x15,0x21,0x07,0x27,0x37,0x23,0x35,0x21,0x37,0x21, +0x35,0x21,0x37,0x2f,0x01,0x26,0x27,0x26,0x23,0x22,0x06,0x07,0x35,0x3e,0x01,0x33, +0x32,0x1f,0x02,0x16,0x17,0x37,0x17,0x04,0x62,0x0a,0x09,0x56,0xa9,0x67,0x69,0xb3, +0x61,0x27,0x2b,0x5c,0x02,0x2b,0xfd,0x7a,0x6c,0x02,0xf2,0xfc,0xb3,0x68,0x92,0x3e, +0xf9,0x01,0x54,0x6d,0xfe,0x3f,0x02,0x1c,0x75,0x0c,0x11,0x06,0x0f,0x9b,0x5e,0x58, +0xac,0x62,0x69,0xb3,0x61,0x6e,0x93,0x0f,0x16,0x20,0x1e,0x86,0x92,0x04,0x22,0x01, +0x4b,0x55,0xb2,0x4f,0x45,0x07,0xab,0xaa,0xcb,0xaa,0xc2,0x4e,0x74,0xaa,0xcb,0xaa, +0xda,0x05,0x07,0x02,0x06,0x3d,0x4c,0x53,0xb2,0x4e,0x45,0x3b,0x06,0x07,0x0d,0x0b, +0xfa,0x4e,0x00,0x02,0x00,0xd9,0x01,0x10,0x05,0xdb,0x03,0xf4,0x00,0x1d,0x00,0x3b, +0x00,0x3f,0x40,0x1f,0x2e,0x1f,0x39,0x2a,0x00,0x2d,0x22,0x13,0x01,0x10,0x1b,0x0c, +0x1e,0x2a,0x9c,0x31,0x39,0x9c,0x22,0x04,0x9c,0x1b,0x0c,0x9c,0x13,0x3c,0x1e,0x00, +0x2d,0x0f,0x3c,0x10,0xd4,0x3c,0xc4,0x32,0x31,0x00,0x10,0xd4,0xec,0xd4,0xec,0xdc, +0xfc,0xd4,0xec,0xc0,0x11,0x12,0x39,0x39,0x11,0x12,0x39,0x39,0x11,0x12,0x39,0x39, +0x30,0x01,0x15,0x0e,0x01,0x23,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x23,0x22,0x06, +0x07,0x35,0x3e,0x01,0x33,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x33,0x32,0x36,0x13, +0x15,0x0e,0x01,0x23,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x23,0x22,0x06,0x07,0x35, +0x3e,0x01,0x33,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x33,0x32,0x36,0x05,0xdb,0x69, +0xb3,0x61,0x6e,0x92,0x0a,0x07,0x06,0x0f,0x9b,0x5e,0x58,0xac,0x62,0x69,0xb3,0x61, +0x6e,0x93,0x0b,0x05,0x06,0x0f,0x9b,0x5e,0x56,0xa9,0x67,0x69,0xb3,0x61,0x6e,0x92, +0x0a,0x07,0x06,0x0f,0x9b,0x5e,0x58,0xac,0x62,0x69,0xb3,0x61,0x6e,0x93,0x0a,0x05, +0x07,0x0f,0x9b,0x5e,0x56,0xa9,0x02,0x6f,0xb3,0x4e,0x45,0x3b,0x04,0x03,0x02,0x06, +0x3d,0x4c,0x54,0xb3,0x4e,0x45,0x3b,0x05,0x02,0x02,0x06,0x3d,0x4b,0x01,0xda,0xb2, +0x4f,0x45,0x3b,0x04,0x03,0x02,0x06,0x3d,0x4c,0x53,0xb2,0x4e,0x45,0x3b,0x04,0x02, +0x03,0x06,0x3d,0x4b,0x00,0x01,0x00,0xd9,0x00,0x05,0x05,0xdb,0x04,0xff,0x00,0x34, +0x00,0x00,0x01,0x16,0x33,0x32,0x36,0x37,0x15,0x0e,0x01,0x23,0x22,0x27,0x07,0x16, +0x33,0x32,0x36,0x37,0x15,0x0e,0x01,0x23,0x22,0x2f,0x01,0x03,0x27,0x13,0x26,0x23, +0x22,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x17,0x37,0x26,0x23,0x22,0x06,0x07,0x35, +0x3e,0x01,0x32,0x1f,0x01,0x13,0x17,0x04,0x11,0x39,0x2b,0x56,0xa9,0x67,0x69,0xb3, +0x61,0x40,0x4c,0x4a,0x93,0x5a,0x56,0xa9,0x67,0x69,0xb3,0x61,0x83,0x7d,0x13,0x8d, +0xa4,0x89,0x39,0x2b,0x58,0xac,0x62,0x69,0xb3,0x61,0x40,0x4d,0x48,0x92,0x5a,0x58, +0xac,0x62,0x69,0xb3,0xc2,0xa0,0x12,0x8d,0xa4,0x03,0x61,0x0d,0x4b,0x55,0xb2,0x4f, +0x45,0x14,0xbb,0x38,0x4b,0x55,0xb3,0x4e,0x45,0x3b,0x09,0xfe,0x98,0x40,0x01,0x5e, +0x0d,0x4c,0x54,0xb3,0x4e,0x45,0x14,0xbb,0x38,0x4c,0x53,0xb2,0x4e,0x45,0x3b,0x07, +0x01,0x66,0x40,0x00,0x00,0x03,0x00,0xd9,0x00,0xb8,0x05,0xdb,0x04,0xc9,0x00,0x1a, +0x00,0x35,0x00,0x39,0x00,0x00,0x01,0x15,0x0e,0x01,0x23,0x22,0x2f,0x01,0x26,0x27, +0x26,0x23,0x22,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x1f,0x02,0x16,0x33,0x32,0x36, +0x13,0x15,0x0e,0x01,0x23,0x22,0x2f,0x01,0x26,0x27,0x26,0x23,0x22,0x06,0x07,0x35, +0x3e,0x01,0x33,0x32,0x1f,0x02,0x16,0x33,0x32,0x36,0x01,0x21,0x15,0x21,0x05,0xdb, +0x69,0xb3,0x61,0x6e,0x92,0x11,0x06,0x0f,0x9b,0x5e,0x58,0xac,0x62,0x69,0xb3,0x61, +0x6e,0x93,0x0f,0x16,0x9b,0x5e,0x56,0xa9,0x67,0x69,0xb3,0x61,0x71,0x8f,0x11,0x06, +0x0f,0x9b,0x5e,0x58,0xac,0x62,0x69,0xb3,0x61,0x6e,0x93,0x0f,0x16,0xc6,0x33,0x56, +0xa9,0xfb,0x65,0x05,0x02,0xfa,0xfe,0x03,0x4c,0xb2,0x4f,0x45,0x3b,0x07,0x02,0x06, +0x3d,0x4c,0x53,0xb2,0x4e,0x45,0x3b,0x06,0x07,0x3f,0x4b,0x01,0xd2,0xb2,0x4f,0x45, +0x3b,0x07,0x02,0x06,0x3d,0x4c,0x53,0xb2,0x4e,0x45,0x3b,0x06,0x07,0x3f,0x4b,0xfc, +0xee,0xaa,0x00,0x03,0x00,0xd9,0x00,0x79,0x05,0xdb,0x04,0xd1,0x00,0x1a,0x00,0x35, +0x00,0x50,0x00,0x00,0x01,0x15,0x0e,0x01,0x23,0x22,0x2f,0x01,0x26,0x27,0x26,0x23, +0x22,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x1f,0x02,0x16,0x33,0x32,0x36,0x13,0x15, +0x0e,0x01,0x23,0x22,0x2f,0x01,0x26,0x27,0x26,0x23,0x22,0x06,0x07,0x35,0x3e,0x01, +0x33,0x32,0x1f,0x02,0x16,0x33,0x32,0x36,0x13,0x15,0x0e,0x01,0x23,0x22,0x2f,0x01, +0x26,0x27,0x26,0x23,0x22,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x1f,0x02,0x16,0x33, +0x32,0x36,0x05,0xdb,0x69,0xb3,0x61,0x6e,0x92,0x11,0x06,0x0f,0x9b,0x5e,0x58,0xac, +0x62,0x69,0xb3,0x61,0x6e,0x93,0x0f,0x16,0x9b,0x5e,0x56,0xa9,0x67,0x69,0xb3,0x61, +0x6e,0x92,0x11,0x06,0x0f,0x9b,0x5e,0x58,0xac,0x62,0x69,0xb3,0x61,0x6e,0x93,0x0f, +0x16,0x9b,0x5e,0x56,0xa9,0x67,0x69,0xb3,0x61,0x71,0x8f,0x11,0x06,0x0f,0x9b,0x5e, +0x58,0xac,0x62,0x69,0xb3,0x61,0x6e,0x93,0x0f,0x16,0xc6,0x33,0x56,0xa9,0x01,0xd7, +0xb2,0x4f,0x45,0x3b,0x07,0x02,0x06,0x3d,0x4c,0x53,0xb2,0x4e,0x45,0x3b,0x06,0x07, +0x3f,0x4b,0x01,0xd2,0xb2,0x4f,0x45,0x3b,0x07,0x02,0x06,0x3d,0x4c,0x53,0xb2,0x4e, +0x45,0x3b,0x06,0x07,0x3f,0x4b,0x01,0xd2,0xb2,0x4f,0x45,0x3b,0x07,0x02,0x06,0x3d, +0x4c,0x53,0xb2,0x4e,0x45,0x3b,0x06,0x07,0x3f,0x4b,0x00,0x03,0x00,0xd9,0x00,0xb8, +0x05,0xdb,0x04,0xc1,0x00,0x1a,0x00,0x1e,0x00,0x22,0x00,0x00,0x13,0x1e,0x01,0x33, +0x32,0x3f,0x02,0x36,0x33,0x32,0x16,0x17,0x15,0x2e,0x01,0x23,0x22,0x07,0x06,0x0f, +0x01,0x06,0x23,0x22,0x26,0x27,0x01,0x15,0x21,0x35,0x01,0x15,0x21,0x35,0xd9,0x67, +0xa9,0x56,0x5e,0x9b,0x16,0x0f,0x93,0x6e,0x61,0xb3,0x69,0x62,0xac,0x58,0x5e,0x9b, +0x0f,0x06,0x11,0x92,0x6e,0x61,0xb3,0x69,0x05,0x02,0xfa,0xfe,0x05,0x02,0xfa,0xfe, +0x04,0xc1,0x55,0x4b,0x3f,0x07,0x06,0x3b,0x45,0x4e,0xb2,0x53,0x4c,0x3d,0x06,0x02, +0x07,0x3b,0x45,0x4f,0xfe,0xc8,0xaa,0xaa,0xfe,0x8b,0xaa,0xaa,0x00,0x02,0x00,0xd8, +0x00,0xd7,0x05,0xdb,0x04,0x2b,0x00,0x09,0x00,0x13,0x00,0x00,0x01,0x20,0x25,0x35, +0x04,0x05,0x20,0x25,0x15,0x04,0x05,0x20,0x05,0x15,0x24,0x25,0x04,0x05,0x35,0x24, +0x03,0x5b,0xfe,0xe1,0xfe,0x9c,0x01,0x67,0x01,0x1c,0x01,0x26,0x01,0x59,0xfe,0xa2, +0xfe,0xe0,0x01,0x25,0x01,0x5a,0xfe,0xa3,0xfe,0xde,0xfe,0xe0,0xfe,0x9d,0x01,0x68, +0x02,0xd3,0xa6,0xb2,0x95,0x11,0xa6,0xb2,0x97,0xb3,0xa6,0xb2,0x97,0x0f,0x02,0xa4, +0xb2,0x97,0x00,0x02,0x00,0xd9,0x01,0x60,0x05,0xdb,0x04,0xce,0x00,0x1c,0x00,0x20, +0x00,0x00,0x01,0x06,0x07,0x06,0x07,0x06,0x07,0x21,0x35,0x21,0x36,0x37,0x36,0x37, +0x36,0x32,0x17,0x16,0x17,0x16,0x17,0x21,0x15,0x21,0x26,0x27,0x26,0x27,0x26,0x01, +0x21,0x15,0x21,0x03,0x5b,0x43,0x2e,0x38,0x1e,0x1b,0x04,0xfe,0x64,0x01,0x0a,0x0c, +0x1e,0x36,0x57,0x59,0xce,0x59,0x56,0x37,0x1c,0x0e,0x01,0x0a,0xfe,0x65,0x04,0x1b, +0x1e,0x38,0x2d,0xfd,0x3b,0x05,0x02,0xfa,0xfe,0x04,0x2b,0x04,0x1e,0x2b,0x44,0x44, +0x5c,0xa8,0x39,0x33,0x5b,0x32,0x33,0x33,0x32,0x5b,0x30,0x3c,0xa8,0x5b,0x45,0x43, +0x2c,0x1e,0xfd,0xe3,0xaa,0x00,0x00,0x02,0x00,0xd9,0x00,0x36,0x05,0xdb,0x04,0xce, +0x00,0x1c,0x00,0x39,0x00,0x00,0x25,0x36,0x37,0x36,0x37,0x36,0x37,0x21,0x15,0x21, +0x06,0x07,0x06,0x07,0x06,0x22,0x27,0x26,0x27,0x26,0x27,0x21,0x35,0x21,0x16,0x17, +0x16,0x17,0x16,0x13,0x06,0x07,0x06,0x07,0x06,0x07,0x21,0x35,0x21,0x36,0x37,0x36, +0x37,0x36,0x32,0x17,0x16,0x17,0x16,0x17,0x21,0x15,0x21,0x26,0x27,0x26,0x27,0x26, +0x03,0x5b,0x43,0x2d,0x38,0x1e,0x1b,0x04,0x01,0x9b,0xfe,0xf6,0x0e,0x1c,0x37,0x56, +0x59,0xce,0x59,0x57,0x36,0x1e,0x0c,0xfe,0xf6,0x01,0x9c,0x04,0x1b,0x1e,0x38,0x2e, +0x43,0x43,0x2e,0x38,0x1e,0x1b,0x04,0xfe,0x64,0x01,0x0a,0x0c,0x1e,0x36,0x57,0x59, +0xce,0x59,0x56,0x37,0x1c,0x0e,0x01,0x0a,0xfe,0x65,0x04,0x1b,0x1e,0x38,0x2d,0xd9, +0x04,0x1e,0x2c,0x43,0x45,0x5b,0xa8,0x3c,0x30,0x5b,0x32,0x33,0x33,0x32,0x5b,0x33, +0x39,0xa8,0x5c,0x44,0x44,0x2b,0x1e,0x03,0x4e,0x04,0x1e,0x2b,0x44,0x44,0x5c,0xa8, +0x39,0x33,0x5b,0x32,0x33,0x33,0x32,0x5b,0x30,0x3c,0xa8,0x5b,0x45,0x43,0x2c,0x1e, +0xff,0xff,0x00,0xd9,0x01,0x60,0x05,0xdb,0x04,0xff,0x10,0x27,0x08,0x8a,0x02,0x15, +0x01,0xb9,0x10,0x06,0x00,0x20,0x00,0x00,0xff,0xff,0x00,0xd9,0x00,0x02,0x05,0xdb, +0x04,0xff,0x10,0x27,0x08,0x8a,0x02,0x13,0xfd,0xba,0x10,0x26,0x00,0x20,0x00,0x00, +0x10,0x07,0x08,0x8a,0x02,0x14,0x01,0xb9,0xff,0xff,0x00,0xd6,0x00,0x05,0x05,0xdc, +0x04,0xff,0x10,0x27,0x08,0x8a,0xff,0xfc,0x01,0xb9,0x10,0x26,0x00,0x20,0xfe,0x00, +0x10,0x07,0x08,0x8a,0x04,0x2e,0xfd,0xbd,0xff,0xff,0x00,0xd5,0x00,0x05,0x05,0xda, +0x04,0xff,0x10,0x27,0x08,0x8a,0xff,0xfa,0xfd,0xbd,0x10,0x26,0x00,0x20,0xfe,0x00, +0x10,0x07,0x08,0x8a,0x04,0x2a,0x01,0xb9,0xff,0xff,0x00,0xce,0x01,0x36,0x07,0x32, +0x03,0xcf,0x10,0x27,0x08,0x8a,0xff,0xf4,0xfe,0xee,0x10,0x27,0x08,0x8a,0xff,0xf4, +0x00,0x89,0x10,0x07,0x00,0x20,0x01,0x56,0x00,0x00,0xff,0xff,0x00,0xcd,0x01,0x36, +0x07,0x33,0x03,0xcc,0x10,0x26,0x00,0x20,0xf4,0x00,0x10,0x27,0x08,0x8a,0x05,0x85, +0x00,0x86,0x10,0x07,0x08,0x8a,0x05,0x85,0xfe,0xee,0x00,0x02,0x00,0xd9,0x01,0x60, +0x05,0xdb,0x03,0xa2,0x00,0x09,0x00,0x1b,0x00,0x00,0x01,0x06,0x15,0x14,0x17,0x33, +0x36,0x35,0x34,0x27,0x17,0x21,0x15,0x21,0x35,0x21,0x26,0x35,0x34,0x37,0x21,0x35, +0x21,0x15,0x21,0x16,0x17,0x14,0x02,0xe6,0x34,0x34,0xf2,0x33,0x34,0x8d,0x01,0x77, +0xfa,0xfe,0x01,0x7e,0x19,0x1b,0xfe,0x80,0x05,0x02,0xfe,0x89,0x1a,0x01,0x02,0xfa, +0x30,0x49,0x47,0x30,0x30,0x47,0x47,0x32,0xf0,0xaa,0xaa,0x3f,0x38,0x3e,0x3b,0xa8, +0xa8,0x1a,0x5f,0x38,0x00,0x04,0x00,0xd9,0x01,0x60,0x05,0xdb,0x06,0x15,0x00,0x09, +0x00,0x18,0x00,0x1c,0x00,0x20,0x00,0x00,0x01,0x22,0x06,0x15,0x14,0x16,0x32,0x36, +0x34,0x26,0x27,0x32,0x16,0x17,0x1e,0x01,0x15,0x14,0x06,0x23,0x22,0x26,0x35,0x34, +0x36,0x01,0x21,0x15,0x21,0x15,0x21,0x15,0x21,0x03,0x5e,0x48,0x64,0x64,0x91,0x64, +0x65,0x48,0x3b,0x6b,0x27,0x2a,0x2a,0xa8,0x7a,0x7b,0xa4,0xa7,0xfd,0xf4,0x05,0x02, +0xfa,0xfe,0x05,0x02,0xfa,0xfe,0x05,0xa4,0x62,0x46,0x45,0x60,0x60,0x8b,0x62,0x71, +0x2b,0x28,0x28,0x64,0x3a,0x73,0xa1,0x9e,0x76,0x76,0xa3,0xfd,0x8d,0xa8,0xf0,0xaa, +0x00,0x03,0x00,0xd9,0x01,0x60,0x05,0xdb,0x05,0x4b,0x00,0x09,0x00,0x0d,0x00,0x11, +0x00,0x00,0x01,0x20,0x17,0x15,0x26,0x21,0x06,0x07,0x35,0x36,0x01,0x21,0x15,0x21, +0x15,0x21,0x15,0x21,0x03,0x5b,0x01,0x00,0xe1,0xe0,0xfe,0xff,0xfe,0xe6,0xe9,0xfe, +0x79,0x05,0x02,0xfa,0xfe,0x05,0x02,0xfa,0xfe,0x05,0x4b,0x97,0xb2,0x97,0x02,0x95, +0xb2,0x97,0xfe,0x57,0xa8,0xf0,0xaa,0x00,0x00,0x03,0x00,0xd9,0x01,0x60,0x05,0xdb, +0x06,0x7f,0x00,0x06,0x00,0x0a,0x00,0x0e,0x00,0x00,0x09,0x01,0x33,0x01,0x23,0x0b, +0x01,0x05,0x21,0x15,0x21,0x15,0x21,0x15,0x21,0x01,0xfd,0x01,0x04,0xb4,0x01,0x03, +0x9f,0xbe,0xb8,0xfe,0x36,0x05,0x02,0xfa,0xfe,0x05,0x02,0xfa,0xfe,0x03,0xe2,0x02, +0x9d,0xfd,0x63,0x01,0xd9,0xfe,0x27,0x40,0xa8,0xf0,0xaa,0x00,0x00,0x03,0x00,0xd9, +0x01,0x60,0x05,0xdb,0x06,0x7f,0x00,0x06,0x00,0x0a,0x00,0x0e,0x00,0x00,0x01,0x33, +0x1b,0x01,0x33,0x01,0x23,0x05,0x21,0x15,0x21,0x15,0x21,0x15,0x21,0x01,0xfd,0xa6, +0xb8,0xbe,0x9f,0xfe,0xfd,0xb4,0xfd,0xd8,0x05,0x02,0xfa,0xfe,0x05,0x02,0xfa,0xfe, +0x06,0x7f,0xfe,0x27,0x01,0xd9,0xfd,0x63,0x40,0xa8,0xf0,0xaa,0x00,0x03,0x00,0xd9, +0x01,0x60,0x05,0xdb,0x06,0xca,0x00,0x09,0x00,0x0d,0x00,0x11,0x00,0x00,0x01,0x21, +0x1b,0x01,0x21,0x07,0x13,0x27,0x07,0x13,0x01,0x21,0x15,0x21,0x15,0x21,0x15,0x21, +0x01,0xd3,0x01,0x2b,0x5d,0x5e,0x01,0x2a,0xf2,0x5e,0xf4,0xf3,0x5d,0xfe,0x14,0x05, +0x02,0xfa,0xfe,0x05,0x02,0xfa,0xfe,0x05,0xae,0x01,0x1c,0xfe,0xe4,0xb0,0xfe,0xe4, +0xb0,0xb0,0x01,0x1c,0xfe,0xa4,0xa8,0xf0,0xaa,0x00,0x00,0x04,0x00,0xd9,0x01,0x60, +0x05,0xdb,0x06,0xd4,0x00,0x02,0x00,0x06,0x00,0x0a,0x00,0x0e,0x00,0x00,0x01,0x03, +0x21,0x03,0x33,0x01,0x21,0x05,0x21,0x15,0x21,0x15,0x21,0x15,0x21,0x03,0x5b,0xa6, +0x01,0x4e,0xdf,0x70,0x01,0x21,0xfd,0x4e,0xfe,0xd6,0x05,0x02,0xfa,0xfe,0x05,0x02, +0xfa,0xfe,0x06,0x20,0xfe,0x4e,0x02,0x66,0xfd,0x1f,0x51,0xa8,0xf0,0xaa,0x00,0x07, +0x00,0xd9,0x01,0x60,0x05,0xdb,0x06,0x1d,0x00,0x13,0x00,0x28,0x00,0x2f,0x00,0x3f, +0x00,0x47,0x00,0x4b,0x00,0x4f,0x00,0x00,0x01,0x15,0x23,0x22,0x06,0x1d,0x01,0x33, +0x15,0x23,0x11,0x23,0x11,0x23,0x35,0x33,0x35,0x34,0x36,0x33,0x03,0x15,0x21,0x1e, +0x01,0x33,0x32,0x36,0x37,0x15,0x0e,0x01,0x23,0x22,0x26,0x35,0x34,0x36,0x33,0x32, +0x16,0x07,0x34,0x26,0x23,0x22,0x06,0x07,0x27,0x35,0x33,0x11,0x23,0x35,0x0e,0x01, +0x23,0x22,0x26,0x34,0x36,0x33,0x32,0x16,0x06,0x14,0x16,0x32,0x36,0x34,0x26,0x22, +0x03,0x21,0x15,0x21,0x15,0x21,0x15,0x21,0x05,0x7d,0x3f,0x24,0x1b,0x6d,0x6d,0x43, +0x3f,0x3f,0x3f,0x44,0xed,0xfe,0xcf,0x04,0x4a,0x42,0x26,0x48,0x23,0x24,0x4a,0x27, +0x60,0x71,0x6b,0x5b,0x51,0x5f,0x43,0x3c,0x31,0x37,0x43,0x05,0xc6,0x42,0x42,0x15, +0x40,0x2c,0x49,0x5c,0x5c,0x49,0x2c,0x40,0xcd,0x3c,0x69,0x3d,0x3d,0x69,0xde,0x05, +0x02,0xfa,0xfe,0x05,0x02,0xfa,0xfe,0x06,0x1c,0x37,0x1d,0x25,0x24,0x33,0xfe,0xa0, +0x01,0x60,0x33,0x1c,0x44,0x3d,0xfe,0xaa,0x20,0x44,0x48,0x13,0x12,0x3e,0x0f,0x10, +0x70,0x60,0x63,0x74,0x69,0x46,0x36,0x41,0x3f,0x39,0x69,0xda,0xfd,0xd0,0x3d,0x24, +0x23,0x74,0xbe,0x75,0x23,0x67,0x93,0x53,0x53,0x93,0x53,0xfe,0x50,0xa8,0xf0,0xaa, +0x00,0x03,0x00,0xd9,0x01,0x60,0x05,0xdb,0x06,0x14,0x00,0x22,0x00,0x26,0x00,0x2a, +0x00,0x00,0x01,0x3e,0x01,0x33,0x32,0x16,0x15,0x11,0x23,0x11,0x34,0x26,0x23,0x22, +0x06,0x15,0x11,0x23,0x11,0x34,0x26,0x23,0x22,0x06,0x15,0x11,0x23,0x11,0x33,0x15, +0x3e,0x01,0x33,0x32,0x16,0x01,0x21,0x15,0x21,0x15,0x21,0x15,0x21,0x03,0x78,0x21, +0x5d,0x3f,0x55,0x5c,0x5a,0x37,0x39,0x45,0x50,0x5a,0x37,0x3a,0x44,0x50,0x5a,0x5a, +0x1e,0x56,0x3a,0x3b,0x53,0xfd,0x75,0x05,0x02,0xfa,0xfe,0x05,0x02,0xfa,0xfe,0x05, +0x9d,0x3d,0x3a,0x78,0x6f,0xfe,0xb5,0x01,0x48,0x4f,0x4d,0x5d,0x51,0xfe,0xca,0x01, +0x48,0x50,0x4c,0x5e,0x50,0xfe,0xca,0x02,0x25,0x55,0x32,0x30,0x3d,0xfd,0xcb,0xa8, +0xf0,0xaa,0x00,0x04,0x00,0xd9,0x01,0x60,0x05,0xdb,0x06,0xda,0x00,0x03,0x00,0x24, +0x00,0x28,0x00,0x2c,0x00,0x00,0x01,0x33,0x15,0x23,0x37,0x23,0x35,0x34,0x36,0x3f, +0x01,0x3e,0x01,0x35,0x34,0x26,0x23,0x22,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x16, +0x15,0x14,0x06,0x0f,0x01,0x0e,0x01,0x07,0x0e,0x01,0x15,0x01,0x21,0x15,0x21,0x15, +0x21,0x15,0x21,0x03,0x0d,0x65,0x65,0x62,0x5f,0x1c,0x2d,0x2d,0x1c,0x1a,0x42,0x36, +0x27,0x5a,0x30,0x2f,0x60,0x34,0x5c,0x6f,0x24,0x2d,0x2c,0x17,0x14,0x04,0x03,0x03, +0xfd,0x6a,0x05,0x02,0xfa,0xfe,0x05,0x02,0xfa,0xfe,0x04,0x61,0x7f,0xc8,0x4e,0x32, +0x41,0x2b,0x2c,0x1b,0x2f,0x18,0x2d,0x37,0x23,0x21,0x5e,0x1c,0x1c,0x61,0x4f,0x26, +0x45,0x2b,0x2b,0x17,0x1b,0x0d,0x0a,0x1e,0x1a,0xfe,0xba,0xa8,0xf0,0xaa,0x00,0x01, +0x00,0xd9,0x00,0x27,0x05,0xdb,0x04,0xdd,0x00,0x13,0x00,0x3e,0x40,0x22,0x0d,0x0c, +0x0a,0x03,0x02,0xcf,0x04,0x00,0x9c,0x06,0x0c,0xcf,0x0e,0x0a,0x9c,0x12,0x06,0x10, +0x08,0x14,0x12,0x0e,0x0d,0x0c,0x08,0x04,0x03,0x02,0x08,0x09,0x05,0x0f,0x00,0x14, +0x10,0xdc,0x3c,0xc4,0x32,0x17,0x39,0x31,0x00,0x10,0xd4,0x3c,0xcc,0x32,0xfc,0x3c, +0xec,0x10,0xfe,0x3c,0xec,0x39,0x11,0x12,0x39,0x30,0x13,0x21,0x01,0x17,0x07,0x21, +0x15,0x21,0x07,0x21,0x15,0x21,0x01,0x27,0x37,0x21,0x35,0x21,0x37,0x21,0xd9,0x03, +0x04,0x01,0x00,0x7d,0xae,0x01,0x2f,0xfe,0x48,0xc3,0x02,0x7b,0xfc,0xfa,0xfe,0xfe, +0x7d,0xae,0xfe,0xd5,0x01,0xb6,0xc3,0xfd,0x87,0x03,0xa2,0x01,0x3b,0x66,0xd5,0xa8, +0xf0,0xaa,0xfe,0xc7,0x66,0xd3,0xaa,0xf0,0x00,0x03,0x00,0xd9,0x00,0xb8,0x05,0xdb, +0x04,0x4a,0x00,0x03,0x00,0x07,0x00,0x0b,0x00,0x00,0x13,0x21,0x15,0x21,0x11,0x21, +0x15,0x21,0x11,0x21,0x15,0x21,0xd9,0x05,0x02,0xfa,0xfe,0x05,0x02,0xfa,0xfe,0x05, +0x02,0xfa,0xfe,0x02,0xd7,0xaa,0x02,0x1d,0xa8,0xfd,0xc0,0xaa,0x00,0x01,0x00,0xd9, +0xff,0xce,0x05,0xdb,0x05,0x34,0x00,0x1b,0x00,0x00,0x01,0x21,0x35,0x21,0x37,0x17, +0x07,0x21,0x15,0x21,0x07,0x21,0x15,0x21,0x07,0x21,0x15,0x21,0x07,0x27,0x37,0x21, +0x35,0x21,0x37,0x21,0x35,0x21,0x03,0x95,0xfd,0x44,0x03,0x17,0x81,0x99,0x52,0x01, +0x23,0xfe,0x81,0x72,0x01,0xf1,0xfd,0xb5,0x6e,0x02,0xb9,0xfc,0xe9,0x81,0x99,0x52, +0xfe,0xdd,0x01,0x81,0x6f,0xfe,0x10,0x02,0x4c,0x03,0xa2,0xa8,0xea,0x54,0x96,0xa8, +0xcb,0xaa,0xcb,0xaa,0xea,0x54,0x96,0xaa,0xcb,0xaa,0x00,0x04,0x00,0xd9,0xff,0xc6, +0x05,0xdb,0x05,0x3c,0x00,0x03,0x00,0x07,0x00,0x0b,0x00,0x0f,0x00,0x00,0x37,0x21, +0x15,0x21,0x11,0x21,0x15,0x21,0x15,0x21,0x15,0x21,0x15,0x21,0x15,0x21,0xd9,0x05, +0x02,0xfa,0xfe,0x05,0x02,0xfa,0xfe,0x05,0x02,0xfa,0xfe,0x05,0x02,0xfa,0xfe,0x70, +0xaa,0x05,0x76,0xa8,0xf2,0xa8,0xf0,0xaa,0x00,0x02,0x00,0xd9,0x00,0x00,0x05,0xdb, +0x04,0xa8,0x00,0x06,0x00,0x0a,0x00,0x54,0x40,0x2e,0x02,0x9c,0x03,0x04,0x03,0x01, +0x9c,0x00,0x01,0x04,0x04,0x03,0x01,0x9c,0x02,0x01,0x05,0x06,0x05,0x00,0x9c,0x06, +0x05,0x42,0x05,0x04,0x02,0x01,0x00,0x05,0x03,0xd1,0x06,0xa7,0x07,0x9c,0x09,0x01, +0x08,0x02,0x00,0x24,0x07,0x04,0x23,0x0b,0x10,0xfc,0x3c,0xec,0x32,0x32,0x39,0x31, +0x00,0x2f,0xec,0xf4,0xec,0x17,0x39,0x30,0x4b,0x53,0x58,0x07,0x04,0xed,0x07,0x10, +0x08,0xed,0x07,0x10,0x08,0xed,0x07,0x10,0x04,0xed,0x59,0x22,0x09,0x02,0x15,0x01, +0x35,0x09,0x01,0x21,0x15,0x21,0x05,0xdb,0xfc,0x40,0x03,0xc0,0xfa,0xfe,0x05,0x02, +0xfa,0xfe,0x05,0x02,0xfa,0xfe,0x03,0xf8,0xfe,0xeb,0xfe,0xee,0xb2,0x01,0x70,0xaa, +0x01,0x6f,0xfc,0x02,0xaa,0x00,0x00,0x02,0x00,0xd9,0x00,0x00,0x05,0xdb,0x04,0xa8, +0x00,0x06,0x00,0x0a,0x00,0x56,0x40,0x2f,0x06,0x9c,0x00,0x06,0x03,0x04,0x03,0x05, +0x9c,0x04,0x04,0x03,0x00,0x9c,0x01,0x02,0x01,0x06,0x9c,0x05,0x06,0x02,0x02,0x01, +0x42,0x06,0x05,0x03,0x02,0x00,0x05,0x04,0xd1,0x01,0xa7,0x07,0x9c,0x08,0x06,0x07, +0x02,0x24,0x09,0x04,0x00,0x23,0x0b,0x10,0xfc,0x3c,0x3c,0xec,0x32,0x39,0x31,0x00, +0x2f,0xec,0xf4,0xec,0x17,0x39,0x30,0x4b,0x53,0x58,0x07,0x10,0x08,0xed,0x07,0x10, +0x04,0xed,0x07,0x10,0x04,0xed,0x07,0x10,0x08,0xed,0x59,0x22,0x13,0x35,0x01,0x15, +0x01,0x35,0x09,0x01,0x15,0x21,0x35,0xd9,0x05,0x02,0xfa,0xfe,0x03,0xc1,0x01,0x41, +0xfa,0xfe,0x03,0xf8,0xb0,0xfe,0x91,0xaa,0xfe,0x90,0xb2,0x01,0x12,0xfd,0xc7,0xaa, +0xaa,0x00,0x00,0x03,0x00,0xda,0xff,0x56,0x05,0xdc,0x05,0x1b,0x00,0x03,0x00,0x0a, +0x00,0x0e,0x00,0x00,0x33,0x21,0x15,0x21,0x09,0x02,0x15,0x01,0x35,0x09,0x01,0x21, +0x15,0x21,0xda,0x05,0x02,0xfa,0xfe,0x05,0x02,0xfc,0x40,0x03,0xc0,0xfa,0xfe,0x05, +0x02,0xfa,0xfe,0x05,0x02,0xfa,0xfe,0xaa,0x05,0x15,0xfe,0xeb,0xfe,0xee,0xb2,0x01, +0x70,0xaa,0x01,0x6f,0xfc,0x02,0xaa,0x00,0x00,0x03,0x00,0xda,0xff,0x56,0x05,0xdc, +0x05,0x1b,0x00,0x03,0x00,0x0a,0x00,0x0e,0x00,0x00,0x21,0x15,0x21,0x35,0x11,0x35, +0x01,0x15,0x01,0x35,0x09,0x01,0x15,0x21,0x35,0x05,0xdc,0xfa,0xfe,0x05,0x02,0xfa, +0xfe,0x03,0xc0,0x01,0x42,0xfa,0xfe,0xaa,0xaa,0x04,0x6b,0xb0,0xfe,0x91,0xaa,0xfe, +0x90,0xb2,0x01,0x12,0xfd,0xc7,0xaa,0xaa,0x00,0x02,0x00,0xda,0xfe,0xb1,0x05,0xdc, +0x05,0x1b,0x00,0x13,0x00,0x1a,0x00,0x00,0x05,0x21,0x35,0x21,0x37,0x21,0x35,0x21, +0x37,0x17,0x07,0x21,0x15,0x21,0x07,0x21,0x15,0x21,0x07,0x27,0x09,0x02,0x15,0x01, +0x35,0x01,0x02,0x27,0xfe,0xb3,0x01,0xda,0x60,0xfd,0xc6,0x02,0xc8,0x89,0x8a,0x29, +0x01,0x50,0xfe,0x22,0x5f,0x02,0x3d,0xfd,0x36,0x8a,0x8a,0x03,0xde,0xfc,0x40,0x03, +0xc0,0xfa,0xfe,0x05,0x02,0xaa,0xaa,0x73,0xaa,0xa4,0x73,0x31,0xaa,0x73,0xaa,0xa5, +0x74,0x05,0x46,0xfe,0xeb,0xfe,0xee,0xb2,0x01,0x70,0xaa,0x01,0x6f,0x00,0x00,0x02, +0x00,0xda,0xfe,0xb1,0x05,0xdc,0x05,0x1b,0x00,0x13,0x00,0x1a,0x00,0x00,0x05,0x21, +0x35,0x21,0x37,0x21,0x35,0x21,0x37,0x17,0x07,0x21,0x15,0x21,0x07,0x21,0x15,0x21, +0x07,0x27,0x01,0x35,0x01,0x15,0x01,0x35,0x01,0x02,0x27,0xfe,0xb3,0x01,0xda,0x60, +0xfd,0xc6,0x02,0xc8,0x89,0x8a,0x29,0x01,0x50,0xfe,0x22,0x5f,0x02,0x3d,0xfd,0x36, +0x8a,0x8a,0xfe,0xdc,0x05,0x02,0xfa,0xfe,0x03,0xc0,0xaa,0xaa,0x73,0xaa,0xa4,0x73, +0x31,0xaa,0x73,0xaa,0xa5,0x74,0x05,0x46,0xb0,0xfe,0x91,0xaa,0xfe,0x90,0xb2,0x01, +0x12,0x00,0x00,0x02,0x00,0x94,0x00,0x2e,0x07,0xcc,0x04,0xdf,0x00,0x06,0x00,0x0d, +0x00,0x00,0x09,0x02,0x15,0x01,0x35,0x01,0x05,0x09,0x01,0x15,0x01,0x35,0x01,0x07, +0xcc,0xfc,0xc6,0x03,0x3a,0xfb,0xca,0x04,0x36,0xfc,0xfe,0xfc,0xc6,0x03,0x3a,0xfb, +0xca,0x04,0x36,0x04,0x11,0xfe,0x70,0xfe,0x72,0xc5,0x02,0x08,0x9f,0x02,0x0a,0xce, +0xfe,0x70,0xfe,0x72,0xc5,0x02,0x08,0x9f,0x02,0x0a,0x00,0x02,0x00,0x94,0x00,0x2e, +0x07,0xcc,0x04,0xdf,0x00,0x06,0x00,0x0d,0x00,0x00,0x13,0x35,0x01,0x15,0x01,0x35, +0x01,0x03,0x35,0x01,0x15,0x01,0x35,0x01,0x94,0x04,0x36,0xfb,0xca,0x03,0x3a,0x38, +0x04,0x36,0xfb,0xca,0x03,0x3a,0x04,0x11,0xce,0xfd,0xf6,0x9f,0xfd,0xf8,0xc5,0x01, +0x8e,0x01,0x90,0xce,0xfd,0xf6,0x9f,0xfd,0xf8,0xc5,0x01,0x8e,0x00,0x01,0x00,0xd8, +0x00,0x1a,0x05,0xdc,0x04,0xe8,0x00,0x1b,0x00,0x00,0x01,0x06,0x07,0x35,0x24,0x3f, +0x01,0x24,0x25,0x35,0x04,0x25,0x13,0x17,0x07,0x36,0x37,0x15,0x04,0x0f,0x01,0x04, +0x05,0x15,0x24,0x05,0x03,0x27,0x02,0x57,0xb4,0xc9,0x01,0x09,0xdf,0x65,0xfe,0xf6, +0xfe,0xbb,0x01,0xb2,0x01,0x00,0xc4,0x94,0x87,0xb7,0xc8,0xfe,0xfb,0xe4,0x64,0x01, +0x10,0x01,0x3f,0xfe,0x4e,0xff,0x00,0xc4,0x94,0x01,0x5d,0x29,0x5d,0xb2,0x6f,0x26, +0xb6,0x0e,0x97,0xb2,0xaf,0x0a,0x01,0x62,0x52,0xf4,0x29,0x60,0xb2,0x71,0x25,0xb5, +0x0d,0x98,0xb2,0xaf,0x0b,0xfe,0x9f,0x52,0x00,0x02,0x00,0xd9,0x00,0x05,0x05,0xdb, +0x05,0x64,0x00,0x0f,0x00,0x12,0x00,0x00,0x01,0x05,0x15,0x25,0x03,0x27,0x13,0x25, +0x35,0x01,0x13,0x17,0x07,0x25,0x15,0x05,0x07,0x0d,0x01,0x03,0x9d,0x02,0x3e,0xfd, +0x7a,0x99,0x87,0x93,0xfe,0x11,0x03,0x1b,0xad,0x88,0x6d,0x01,0x1f,0xfe,0x7a,0xc8, +0xfe,0x46,0x01,0x3c,0x01,0xdf,0xcb,0xb6,0xea,0xfe,0xbd,0x40,0x01,0x36,0xb4,0xa6, +0x01,0x20,0x01,0x6f,0x40,0xe6,0x68,0xb6,0x8b,0x47,0x9d,0x70,0x00,0x02,0x00,0xd9, +0xff,0xa0,0x05,0xdb,0x04,0xff,0x00,0x0f,0x00,0x12,0x00,0x00,0x01,0x25,0x35,0x05, +0x13,0x17,0x03,0x05,0x15,0x01,0x03,0x27,0x37,0x05,0x35,0x25,0x37,0x2d,0x01,0x03, +0x17,0xfd,0xc2,0x02,0x86,0x99,0x87,0x93,0x01,0xef,0xfc,0xe5,0xad,0x88,0x6d,0xfe, +0xe1,0x01,0x86,0xc8,0x01,0xba,0xfe,0xc4,0x03,0x25,0xcb,0xb6,0xea,0x01,0x43,0x40, +0xfe,0xca,0xb4,0xa6,0xfe,0xe0,0xfe,0x91,0x40,0xe6,0x68,0xb6,0x8b,0x47,0x9d,0x70, +0x00,0x02,0x00,0xd9,0xff,0x2f,0x05,0xdb,0x05,0x56,0x00,0x02,0x00,0x1a,0x00,0x00, +0x01,0x0d,0x01,0x03,0x21,0x35,0x21,0x13,0x25,0x35,0x25,0x13,0x17,0x07,0x25,0x15, +0x05,0x03,0x05,0x15,0x25,0x03,0x21,0x15,0x21,0x07,0x27,0x03,0x92,0xfe,0x89,0x01, +0x2f,0xf4,0xfe,0x83,0x01,0xbd,0x78,0xfd,0xcb,0x03,0x03,0x76,0xa4,0x48,0x01,0x2d, +0xfe,0x89,0x72,0x01,0xe9,0xfd,0xdb,0x66,0x02,0x8b,0xfd,0x35,0x4c,0xa4,0x03,0x4f, +0x6c,0x55,0xfd,0x72,0xaa,0x01,0x43,0xa2,0xaa,0xdd,0x01,0x40,0x3d,0xc7,0x56,0xb0, +0x6c,0xfe,0xd1,0x8c,0xb2,0x9e,0xfe,0xed,0xaa,0xd1,0x3d,0x00,0x00,0x02,0x00,0xd9, +0xff,0x2f,0x05,0xdb,0x05,0x56,0x00,0x02,0x00,0x1a,0x00,0x00,0x01,0x25,0x27,0x01, +0x21,0x35,0x21,0x37,0x05,0x35,0x25,0x37,0x25,0x35,0x05,0x13,0x17,0x03,0x05,0x15, +0x05,0x03,0x21,0x15,0x21,0x07,0x27,0x03,0x91,0x01,0x09,0xd6,0xfe,0x1d,0xfe,0xf8, +0x01,0x47,0x57,0xfe,0x62,0x01,0xe8,0x5b,0xfd,0xbd,0x02,0x7f,0x84,0xa4,0x7f,0x01, +0xda,0xfd,0x6d,0x6d,0x03,0x00,0xfc,0xc1,0x4e,0xa4,0x02,0x97,0x4c,0x3e,0xfc,0xdf, +0xaa,0xec,0x77,0xb2,0x8b,0xf5,0xa7,0xb0,0xb7,0x01,0x65,0x3d,0xfe,0xa8,0x88,0xaa, +0xbd,0xfe,0xd8,0xaa,0xd1,0x3d,0x00,0x02,0x00,0xd9,0xff,0x90,0x05,0xdc,0x04,0xa8, +0x00,0x1d,0x00,0x24,0x00,0x00,0x25,0x15,0x0e,0x01,0x23,0x22,0x27,0x26,0x27,0x26, +0x27,0x26,0x23,0x22,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x17,0x16,0x17,0x16,0x17, +0x16,0x33,0x32,0x36,0x13,0x09,0x01,0x15,0x01,0x35,0x01,0x05,0xdc,0x6a,0xb2,0x62, +0x6e,0x92,0x0a,0x06,0x06,0x10,0x9a,0x5e,0x58,0xac,0x62,0x68,0xb4,0x60,0x6e,0x94, +0x0a,0x06,0x06,0x0e,0x9c,0x5e,0x56,0xa8,0x67,0xfc,0x40,0x03,0xc0,0xfa,0xfe,0x05, +0x02,0xf0,0xb4,0x4e,0x44,0x3a,0x04,0x04,0x02,0x06,0x3c,0x4c,0x54,0xb4,0x4e,0x44, +0x3a,0x06,0x02,0x02,0x06,0x3c,0x4a,0x03,0x5e,0xfe,0xeb,0xfe,0xee,0xb2,0x01,0x70, +0xaa,0x01,0x6f,0x00,0x00,0x02,0x00,0xd9,0xff,0xaf,0x05,0xdc,0x04,0xa8,0x00,0x1d, +0x00,0x24,0x00,0x00,0x01,0x15,0x0e,0x01,0x23,0x22,0x27,0x26,0x27,0x26,0x27,0x26, +0x23,0x22,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x33, +0x32,0x36,0x01,0x35,0x01,0x15,0x01,0x35,0x01,0x05,0xdc,0x6a,0xb2,0x62,0x6e,0x92, +0x0a,0x06,0x06,0x10,0x9a,0x5e,0x58,0xac,0x62,0x68,0xb4,0x60,0x6e,0x94,0x0a,0x06, +0x06,0x0e,0x9c,0x5e,0x56,0xa8,0xfb,0x65,0x05,0x02,0xfa,0xfe,0x03,0xc1,0x01,0x0e, +0xb2,0x4e,0x46,0x3c,0x04,0x02,0x02,0x06,0x3e,0x4c,0x54,0xb2,0x4e,0x46,0x3c,0x04, +0x02,0x02,0x06,0x3e,0x4c,0x03,0x3e,0xb0,0xfe,0x91,0xaa,0xfe,0x90,0xb2,0x01,0x12, +0x00,0x02,0x00,0xd9,0xff,0x29,0x05,0xdc,0x05,0x50,0x00,0x31,0x00,0x34,0x00,0x00, +0x25,0x26,0x23,0x22,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x17,0x13,0x25,0x35,0x25, +0x13,0x17,0x07,0x25,0x15,0x05,0x03,0x05,0x15,0x25,0x03,0x17,0x16,0x17,0x16,0x17, +0x16,0x33,0x32,0x36,0x37,0x15,0x0e,0x01,0x23,0x22,0x27,0x26,0x27,0x26,0x2f,0x01, +0x07,0x27,0x01,0x0d,0x01,0x02,0x6b,0x1e,0x0d,0x58,0xac,0x62,0x68,0xb4,0x60,0x27, +0x2b,0x6b,0xfd,0xc6,0x03,0x08,0x75,0xa5,0x45,0x01,0x25,0xfe,0x8f,0x73,0x01,0xe4, +0xfd,0xe1,0x6b,0x07,0x0a,0x06,0x06,0x0e,0x9c,0x5e,0x56,0xa8,0x68,0x6a,0xb2,0x62, +0x6e,0x92,0x0a,0x06,0x06,0x10,0x22,0x50,0xa5,0x01,0x76,0xfe,0x84,0x01,0x31,0x2d, +0x03,0x4c,0x54,0xb4,0x4e,0x44,0x07,0x01,0x1d,0xa3,0xaa,0xde,0x01,0x39,0x41,0xbb, +0x54,0xb0,0x6a,0xfe,0xcd,0x8a,0xb2,0x9c,0xfe,0xe3,0x02,0x06,0x02,0x02,0x06,0x3c, +0x4a,0x56,0xb4,0x4e,0x44,0x3a,0x04,0x04,0x02,0x06,0x0d,0xd8,0x3c,0x03,0xec,0x6e, +0x57,0x00,0x00,0x02,0x00,0xd9,0xff,0x2f,0x05,0xdc,0x05,0x56,0x00,0x31,0x00,0x34, +0x00,0x00,0x01,0x05,0x15,0x05,0x07,0x16,0x17,0x16,0x17,0x16,0x17,0x16,0x33,0x32, +0x36,0x37,0x15,0x0e,0x01,0x23,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x27,0x03,0x27, +0x37,0x06,0x07,0x06,0x07,0x35,0x36,0x37,0x36,0x3f,0x01,0x05,0x35,0x25,0x37,0x25, +0x35,0x05,0x13,0x17,0x03,0x25,0x27,0x04,0x08,0x01,0xd3,0xfd,0x75,0x5e,0x30,0x36, +0x0a,0x06,0x06,0x0e,0x9c,0x5e,0x56,0xa8,0x68,0x6a,0xb2,0x62,0x6e,0x92,0x0a,0x06, +0x06,0x10,0x47,0x3b,0x68,0xa4,0x56,0x38,0x36,0x56,0x62,0x68,0x5a,0x4d,0x53,0x3c, +0xfe,0x61,0x01,0xe9,0x5e,0xfd,0xb9,0x02,0x83,0x80,0xa4,0xe8,0x01,0x02,0xce,0x03, +0xbf,0x86,0xaa,0xbb,0xf7,0x0d,0x16,0x04,0x02,0x02,0x06,0x3e,0x4c,0x54,0xb2,0x4e, +0x46,0x3c,0x04,0x02,0x02,0x06,0x1d,0x0f,0xfe,0xf1,0x3d,0xdf,0x09,0x18,0x26,0x54, +0xb2,0x4e,0x23,0x1e,0x04,0xa1,0x77,0xb2,0x8b,0xf4,0xa8,0xb0,0xb8,0x01,0x66,0x3d, +0xfd,0x80,0x4a,0x3b,0x00,0x02,0x00,0xd0,0xff,0x4e,0x05,0xdc,0x05,0x7d,0x00,0x06, +0x00,0x0d,0x00,0x00,0x13,0x35,0x01,0x15,0x01,0x35,0x09,0x03,0x15,0x01,0x35,0x01, +0xda,0x05,0x02,0xfa,0xfe,0x03,0xc0,0x01,0x38,0xfc,0x40,0x03,0xc0,0xfa,0xfe,0x05, +0x02,0x02,0x27,0xb0,0xfe,0x91,0xaa,0xfe,0x90,0xb2,0x01,0x12,0x03,0xbb,0xfe,0xeb, +0xfe,0xee,0xb2,0x01,0x70,0xaa,0x01,0x6f,0x00,0x02,0x00,0xd0,0xff,0x4e,0x05,0xdc, +0x05,0x7d,0x00,0x06,0x00,0x0d,0x00,0x00,0x09,0x02,0x15,0x01,0x35,0x09,0x01,0x35, +0x01,0x15,0x01,0x35,0x01,0x05,0xd2,0xfc,0x40,0x03,0xc0,0xfa,0xfe,0x05,0x02,0xfb, +0x08,0x05,0x02,0xfa,0xfe,0x03,0xc0,0x02,0x27,0xfe,0xeb,0xfe,0xee,0xb2,0x01,0x70, +0xaa,0x01,0x6f,0x01,0xf6,0xb0,0xfe,0x91,0xaa,0xfe,0x90,0xb2,0x01,0x12,0x00,0x03, +0x00,0xd0,0xfe,0x6d,0x05,0xdc,0x06,0x60,0x00,0x02,0x00,0x1e,0x00,0x21,0x00,0x00, +0x2d,0x02,0x03,0x25,0x35,0x25,0x13,0x17,0x03,0x25,0x15,0x05,0x03,0x05,0x15,0x25, +0x07,0x05,0x15,0x05,0x03,0x27,0x13,0x05,0x35,0x25,0x13,0x25,0x35,0x05,0x13,0x0d, +0x01,0x03,0x4d,0x01,0x4d,0xfe,0xdc,0x60,0xfd,0xba,0x02,0xc2,0x5a,0xa6,0x44,0x01, +0x84,0xfe,0x4f,0x41,0x01,0xf2,0xfd,0xe8,0x1e,0x02,0x40,0xfd,0x46,0x5a,0xa6,0x44, +0xfe,0x74,0x01,0xb8,0x40,0xfe,0x08,0x02,0x1f,0x6d,0xfe,0xac,0x01,0x2a,0xb3,0x5f, +0x54,0x01,0x57,0xa7,0xaa,0xca,0x01,0x88,0x26,0xfe,0xd4,0x6f,0xb0,0x7d,0xfe,0xe4, +0x8e,0xb2,0x9a,0x81,0xa5,0xaa,0xc8,0xfe,0x77,0x26,0x01,0x2d,0x72,0xb2,0x7e,0x01, +0x18,0x91,0xb0,0x9b,0x01,0xde,0x62,0x55,0x00,0x03,0x00,0xd0,0xfe,0x6d,0x05,0xdc, +0x06,0x60,0x00,0x02,0x00,0x05,0x00,0x21,0x00,0x00,0x01,0x07,0x17,0x01,0x37,0x2f, +0x01,0x25,0x35,0x05,0x13,0x17,0x03,0x05,0x15,0x05,0x07,0x25,0x15,0x05,0x07,0x05, +0x15,0x25,0x03,0x27,0x13,0x25,0x35,0x25,0x37,0x05,0x35,0x25,0x02,0xc0,0xae,0x98, +0x01,0x4a,0xa6,0x92,0xa4,0xfd,0x76,0x02,0xb1,0x61,0xa6,0x64,0x01,0xae,0xfd,0xec, +0x22,0x02,0x2c,0xfd,0xa9,0x2c,0x02,0x83,0xfd,0x56,0x60,0xa6,0x62,0xfe,0x4c,0x02, +0x1c,0x22,0xfd,0xcc,0x02,0x5f,0x01,0x44,0x32,0x2c,0x02,0xa3,0x2f,0x2a,0x2f,0xbc, +0xb0,0xc5,0x01,0xa8,0x26,0xfe,0x4f,0x7b,0xaa,0x98,0x94,0x9f,0xb0,0xad,0xc2,0xb8, +0xb2,0xc4,0xfe,0x5b,0x26,0x01,0xae,0x7d,0xaa,0x9a,0x94,0xa2,0xb2,0xad,0x00,0x01, +0x00,0xd9,0xff,0xb2,0x05,0xdb,0x05,0x50,0x00,0x0a,0x00,0x00,0x01,0x00,0x05,0x04, +0x01,0x15,0x00,0x25,0x35,0x24,0x01,0x05,0xdb,0xfe,0x72,0xfd,0xf3,0x02,0x09,0x01, +0x92,0xfe,0x6f,0xfc,0x8f,0x03,0x73,0x01,0x8f,0x04,0x61,0xfe,0x81,0x61,0x5e,0xfe, +0x7e,0xef,0x02,0x00,0x7c,0xa6,0x7c,0x02,0x00,0x00,0x00,0x01,0x00,0xd9,0xff,0xb2, +0x05,0xdb,0x05,0x50,0x00,0x0a,0x00,0x00,0x13,0x35,0x00,0x05,0x15,0x04,0x01,0x35, +0x00,0x25,0x24,0xd9,0x01,0x8f,0x03,0x73,0xfc,0x8f,0xfe,0x6f,0x01,0x92,0x02,0x09, +0xfd,0xf3,0x04,0x61,0xef,0xfe,0x00,0x7c,0xa6,0x7c,0xfe,0x00,0xef,0x01,0x82,0x5e, +0x61,0x00,0x00,0x02,0x00,0xd9,0xff,0x29,0x05,0xdb,0x05,0x57,0x00,0x05,0x00,0x10, +0x00,0x00,0x21,0x15,0x00,0x25,0x35,0x04,0x01,0x00,0x05,0x04,0x01,0x15,0x00,0x25, +0x35,0x24,0x01,0x05,0xdb,0xfe,0x67,0xfc,0x97,0x03,0x56,0x01,0xac,0xfe,0x81,0xfe, +0x24,0x01,0xdc,0x01,0x7f,0xfe,0x81,0xfc,0x7d,0x03,0x83,0x01,0x7f,0xd7,0x01,0xbe, +0x91,0xae,0x85,0x02,0xdf,0xfe,0xe5,0x5d,0x5d,0xfe,0xe5,0xd7,0x01,0x78,0x84,0xa6, +0x7c,0x01,0x80,0x00,0x00,0x02,0x00,0xd9,0xff,0x29,0x05,0xdb,0x05,0x57,0x00,0x05, +0x00,0x10,0x00,0x00,0x33,0x00,0x25,0x15,0x04,0x01,0x11,0x35,0x00,0x05,0x15,0x04, +0x01,0x35,0x00,0x25,0x24,0xd9,0x01,0xac,0x03,0x56,0xfc,0x97,0xfe,0x67,0x01,0x7f, +0x03,0x83,0xfc,0x7d,0xfe,0x81,0x01,0x7f,0x01,0xdc,0xfe,0x24,0x01,0xa1,0x85,0xae, +0x91,0xfe,0x42,0x05,0x57,0xd7,0xfe,0x80,0x7c,0xa6,0x84,0xfe,0x88,0xd7,0x01,0x1b, +0x5d,0x5d,0x00,0x02,0x00,0xd9,0xff,0x52,0x05,0xdb,0x05,0x57,0x00,0x1d,0x00,0x28, +0x00,0x00,0x25,0x15,0x0e,0x01,0x23,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x23,0x22, +0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x33,0x32,0x36, +0x13,0x00,0x05,0x04,0x01,0x15,0x00,0x25,0x35,0x24,0x01,0x05,0xdb,0x69,0xb3,0x61, +0x6e,0x92,0x0a,0x07,0x06,0x0f,0x9b,0x5e,0x58,0xac,0x62,0x69,0xb3,0x61,0x6e,0x93, +0x0b,0x05,0x06,0x0f,0x9b,0x5e,0x56,0xa9,0x67,0xfe,0x81,0xfe,0x24,0x01,0xdc,0x01, +0x7f,0xfe,0x81,0xfc,0x7d,0x03,0x83,0x01,0x7f,0xb1,0xb3,0x4e,0x45,0x3b,0x04,0x03, +0x02,0x06,0x3d,0x4c,0x54,0xb3,0x4e,0x45,0x3b,0x05,0x02,0x02,0x06,0x3d,0x4b,0x04, +0x24,0xfe,0xe5,0x5d,0x5d,0xfe,0xe5,0xd7,0x01,0x78,0x84,0xa6,0x7c,0x01,0x80,0x00, +0x00,0x02,0x00,0xd9,0xff,0x52,0x05,0xdb,0x05,0x57,0x00,0x1d,0x00,0x28,0x00,0x00, +0x25,0x15,0x0e,0x01,0x23,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x23,0x22,0x06,0x07, +0x35,0x3e,0x01,0x33,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x33,0x32,0x36,0x01,0x00, +0x05,0x04,0x01,0x15,0x00,0x25,0x35,0x24,0x01,0x05,0xdb,0x69,0xb3,0x61,0x6e,0x92, +0x0a,0x07,0x06,0x0f,0x9b,0x5e,0x58,0xac,0x62,0x69,0xb3,0x61,0x6e,0x93,0x0b,0x05, +0x06,0x0f,0x9b,0x5e,0x56,0xa9,0xfb,0x65,0x01,0x7f,0x01,0xdc,0xfe,0x24,0xfe,0x81, +0x01,0x7f,0x03,0x83,0xfc,0x7d,0xfe,0x81,0xb1,0xb3,0x4e,0x45,0x3b,0x04,0x03,0x02, +0x06,0x3d,0x4c,0x54,0xb3,0x4e,0x45,0x3b,0x05,0x02,0x02,0x06,0x3d,0x4b,0x04,0x24, +0xfe,0xe5,0x5d,0x5d,0xfe,0xe5,0xd7,0x01,0x78,0x84,0xa6,0x7c,0x01,0x80,0x00,0x02, +0x00,0xd9,0xff,0x83,0x05,0xdb,0x06,0x1d,0x00,0x15,0x00,0x1a,0x00,0x00,0x01,0x26, +0x25,0x35,0x24,0x25,0x01,0x17,0x03,0x36,0x37,0x15,0x06,0x07,0x03,0x04,0x17,0x15, +0x02,0x25,0x03,0x27,0x01,0x06,0x07,0x16,0x17,0x02,0xee,0xf0,0xfe,0xdb,0x01,0xc3, +0x01,0x45,0x01,0x1e,0x83,0xb9,0x9e,0x74,0xba,0xd6,0x8b,0x01,0x24,0xf7,0xe3,0xfe, +0x82,0xeb,0x82,0x01,0x6b,0x97,0xa1,0x7d,0x75,0x01,0xb0,0x55,0x29,0xa6,0x3f,0xa5, +0x02,0x65,0x4b,0xfe,0x74,0x75,0x95,0xef,0xb3,0x75,0xfe,0xd4,0x7f,0xed,0xef,0x01, +0x22,0xa6,0xfe,0x09,0x4b,0x03,0x0a,0x39,0x1e,0x17,0x27,0x00,0x00,0x02,0x00,0xd9, +0xfe,0xe5,0x05,0xdb,0x05,0x7f,0x00,0x15,0x00,0x1a,0x00,0x00,0x01,0x16,0x05,0x15, +0x04,0x05,0x01,0x27,0x13,0x06,0x07,0x35,0x36,0x37,0x13,0x24,0x27,0x35,0x12,0x05, +0x13,0x17,0x01,0x36,0x37,0x26,0x27,0x03,0xc6,0xf0,0x01,0x25,0xfe,0x3d,0xfe,0xbb, +0xfe,0xe2,0x83,0xb9,0x9e,0x74,0xba,0xd6,0x8b,0xfe,0xdc,0xf7,0xe3,0x01,0x7e,0xeb, +0x82,0xfe,0x95,0x97,0xa1,0x7d,0x75,0x03,0x52,0x55,0x29,0xa6,0x3f,0xa5,0xfd,0x9b, +0x4b,0x01,0x8c,0x75,0x95,0xef,0xb3,0x75,0x01,0x2c,0x7f,0xed,0xef,0xfe,0xde,0xa6, +0x01,0xf7,0x4b,0xfc,0xf6,0x39,0x1e,0x17,0x27,0x00,0x00,0x01,0x00,0xcb,0x00,0xa3, +0x05,0xe9,0x04,0x5f,0x00,0x14,0x00,0x00,0x25,0x21,0x22,0x27,0x26,0x35,0x34,0x37, +0x36,0x33,0x21,0x15,0x21,0x22,0x06,0x15,0x14,0x17,0x16,0x33,0x21,0x05,0xe8,0xfc, +0xc2,0xca,0x8a,0x8a,0x8a,0x8a,0xc8,0x03,0x40,0xfc,0xc0,0x88,0xbe,0x5e,0x60,0x88, +0x03,0x40,0xa3,0x8b,0x8b,0xc8,0xc6,0x8d,0x8b,0x96,0xc0,0x88,0x8a,0x5e,0x60,0x00, +0x00,0x01,0x00,0xcb,0x00,0xa3,0x05,0xe9,0x04,0x5f,0x00,0x14,0x00,0x00,0x37,0x35, +0x21,0x32,0x37,0x36,0x35,0x34,0x26,0x23,0x21,0x35,0x21,0x32,0x17,0x16,0x15,0x14, +0x07,0x06,0x23,0xcc,0x03,0x40,0x88,0x60,0x5e,0xbe,0x88,0xfc,0xc0,0x03,0x40,0xc8, +0x8a,0x8a,0x8a,0x8a,0xca,0xa3,0x96,0x60,0x5e,0x8a,0x88,0xc0,0x96,0x8b,0x8d,0xc6, +0xc8,0x8b,0x8b,0x00,0x00,0x02,0x00,0xcb,0xff,0x3b,0x05,0xe9,0x05,0xcf,0x00,0x09, +0x00,0x1e,0x00,0x00,0x01,0x23,0x22,0x06,0x15,0x14,0x17,0x16,0x3b,0x01,0x1b,0x01, +0x33,0x03,0x21,0x15,0x21,0x03,0x21,0x15,0x21,0x03,0x23,0x13,0x22,0x00,0x35,0x34, +0x37,0x36,0x33,0x03,0xa2,0xfa,0x88,0xbe,0x5e,0x60,0x88,0x30,0xf8,0x72,0xaa,0x72, +0x01,0x6e,0xfe,0x64,0xca,0x02,0x66,0xfd,0x6c,0x70,0xaa,0x70,0xc8,0xfe,0xea,0x8a, +0x8a,0xc8,0x03,0xc9,0xc0,0x88,0x8a,0x5e,0x60,0x03,0x26,0x01,0x70,0xfe,0x90,0x96, +0xfd,0x70,0x96,0xfe,0x98,0x01,0x68,0x01,0x16,0xc8,0xc6,0x8d,0x8b,0x00,0x00,0x02, +0x00,0xcb,0xff,0x33,0x05,0xe9,0x05,0xc7,0x00,0x09,0x00,0x1e,0x00,0x00,0x01,0x33, +0x32,0x36,0x35,0x34,0x27,0x26,0x2b,0x01,0x0b,0x01,0x23,0x13,0x21,0x35,0x21,0x13, +0x21,0x35,0x21,0x13,0x33,0x03,0x32,0x00,0x15,0x14,0x07,0x06,0x23,0x03,0x12,0xfa, +0x88,0xbe,0x5e,0x60,0x88,0x30,0xf8,0x72,0xaa,0x72,0xfe,0x92,0x01,0x9c,0xca,0xfd, +0x9a,0x02,0x94,0x70,0xaa,0x70,0xc8,0x01,0x16,0x8a,0x8a,0xc8,0x01,0x39,0xc0,0x88, +0x8a,0x5e,0x60,0xfc,0xda,0xfe,0x90,0x01,0x70,0x96,0x02,0x90,0x96,0x01,0x68,0xfe, +0x98,0xfe,0xea,0xc8,0xc6,0x8d,0x8b,0x00,0x00,0x02,0x00,0xbe,0x00,0x00,0x05,0xdb, +0x04,0xe8,0x00,0x03,0x00,0x18,0x00,0x00,0x37,0x21,0x15,0x21,0x01,0x21,0x22,0x27, +0x26,0x35,0x34,0x37,0x36,0x33,0x21,0x15,0x21,0x22,0x06,0x15,0x14,0x17,0x16,0x33, +0x21,0xf2,0x04,0xe9,0xfb,0x17,0x04,0xe9,0xfc,0xc1,0xc9,0x8a,0x8b,0x8b,0x8a,0xc8, +0x03,0x40,0xfc,0xc0,0x89,0xbe,0x5f,0x60,0x88,0x03,0x40,0x96,0x96,0x01,0x2c,0x8b, +0x8b,0xc8,0xc6,0x8d,0x8b,0x96,0xc0,0x88,0x8a,0x5e,0x60,0x00,0x00,0x02,0x00,0xd9, +0x00,0x00,0x05,0xf6,0x04,0xe8,0x00,0x03,0x00,0x18,0x00,0x00,0x37,0x21,0x15,0x21, +0x11,0x35,0x21,0x32,0x37,0x36,0x35,0x34,0x26,0x23,0x21,0x35,0x21,0x32,0x17,0x16, +0x15,0x14,0x07,0x06,0x23,0xd9,0x04,0xe9,0xfb,0x17,0x03,0x40,0x88,0x60,0x5f,0xbe, +0x89,0xfc,0xc0,0x03,0x40,0xc8,0x8a,0x8b,0x8b,0x8a,0xc9,0x96,0x96,0x01,0x2c,0x96, +0x60,0x5e,0x8a,0x88,0xc0,0x96,0x8b,0x8d,0xc6,0xc8,0x8b,0x8b,0x00,0x02,0x00,0xbe, +0xff,0x13,0x05,0xdb,0x05,0xd7,0x00,0x09,0x00,0x27,0x00,0x00,0x01,0x21,0x22,0x06, +0x15,0x14,0x17,0x16,0x3b,0x02,0x21,0x15,0x21,0x07,0x21,0x15,0x21,0x07,0x27,0x37, +0x21,0x35,0x21,0x37,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x33,0x21,0x37,0x17,0x07, +0x21,0x15,0x21,0x03,0xd1,0xfe,0xca,0x89,0xbe,0x5f,0x60,0x88,0x27,0x9c,0x02,0x7d, +0xfd,0x45,0x3d,0x02,0xf8,0xfc,0xc9,0x61,0x86,0x4c,0xfe,0xe9,0x01,0x54,0x3e,0xb9, +0x82,0x8b,0x8b,0x8a,0xc8,0x01,0x73,0x63,0x86,0x4c,0x01,0x30,0xfe,0x92,0x04,0x52, +0xc0,0x88,0x8a,0x5e,0x60,0x96,0x96,0x96,0xed,0x35,0xb8,0x96,0x96,0x08,0x83,0x8b, +0xc8,0xc6,0x8d,0x8b,0xef,0x37,0xb8,0x96,0x00,0x02,0x00,0xd9,0xff,0x13,0x05,0xf6, +0x05,0xd7,0x00,0x09,0x00,0x27,0x00,0x00,0x01,0x33,0x32,0x37,0x36,0x35,0x34,0x27, +0x26,0x2f,0x01,0x21,0x35,0x21,0x37,0x17,0x07,0x16,0x17,0x16,0x15,0x14,0x07,0x06, +0x2b,0x01,0x07,0x21,0x15,0x21,0x07,0x27,0x37,0x21,0x35,0x21,0x37,0x21,0x35,0x21, +0x03,0x5e,0xbb,0x88,0x60,0x5f,0x5f,0x42,0x56,0x99,0xfd,0x09,0x03,0x35,0x63,0x86, +0x54,0x70,0x58,0x8b,0x8b,0x8a,0xc9,0xf7,0x3f,0x02,0xe0,0xfc,0xe3,0x62,0x86,0x4c, +0xfe,0xd0,0x01,0x6d,0x3e,0xfe,0x55,0x01,0xe9,0x01,0xc2,0x60,0x5e,0x8a,0x88,0x60, +0x43,0x14,0x09,0x96,0xef,0x37,0xcb,0x20,0x58,0x8d,0xc6,0xc8,0x8b,0x8b,0x96,0x96, +0xed,0x35,0xb8,0x96,0x96,0x96,0x00,0x02,0x00,0xbe,0xff,0x6a,0x05,0xdb,0x04,0xe8, +0x00,0x0b,0x00,0x20,0x00,0x00,0x29,0x01,0x35,0x21,0x37,0x17,0x07,0x21,0x15,0x21, +0x07,0x27,0x01,0x21,0x22,0x27,0x26,0x35,0x34,0x37,0x36,0x33,0x21,0x15,0x21,0x22, +0x06,0x15,0x14,0x17,0x16,0x33,0x21,0x02,0xc4,0xfe,0x2e,0x02,0x42,0x71,0x78,0x2d, +0x01,0xeb,0xfd,0xa5,0x71,0x78,0x03,0x44,0xfc,0xc1,0xc9,0x8a,0x8b,0x8b,0x8a,0xc8, +0x03,0x40,0xfc,0xc0,0x89,0xbe,0x5f,0x60,0x88,0x03,0x40,0x96,0x96,0x5a,0x3c,0x96, +0x96,0x5a,0x01,0x68,0x8b,0x8b,0xc8,0xc6,0x8d,0x8b,0x96,0xc0,0x88,0x8a,0x5e,0x60, +0x00,0x02,0x00,0xbe,0xff,0x6a,0x05,0xdb,0x04,0xe8,0x00,0x0b,0x00,0x20,0x00,0x00, +0x29,0x01,0x35,0x21,0x37,0x17,0x07,0x21,0x15,0x21,0x07,0x27,0x01,0x35,0x21,0x32, +0x37,0x36,0x35,0x34,0x26,0x23,0x21,0x35,0x21,0x32,0x17,0x16,0x15,0x14,0x07,0x06, +0x23,0x02,0xc4,0xfe,0x2e,0x02,0x42,0x71,0x78,0x2d,0x01,0xeb,0xfd,0xa5,0x71,0x78, +0xfe,0x27,0x03,0x40,0x88,0x60,0x5f,0xbe,0x89,0xfc,0xc0,0x03,0x40,0xc8,0x8a,0x8b, +0x8b,0x8a,0xc9,0x96,0x96,0x5a,0x3c,0x96,0x96,0x5a,0x01,0x68,0x96,0x60,0x5e,0x8a, +0x88,0xc0,0x96,0x8b,0x8d,0xc6,0xc8,0x8b,0x8b,0x00,0x00,0x03,0x00,0xbb,0xff,0xe3, +0x05,0xf9,0x05,0x24,0x00,0x19,0x00,0x33,0x00,0x3f,0x00,0x00,0x00,0x22,0x07,0x06, +0x07,0x0e,0x01,0x15,0x14,0x16,0x17,0x16,0x17,0x16,0x32,0x37,0x36,0x37,0x3e,0x01, +0x35,0x34,0x26,0x27,0x26,0x27,0x24,0x20,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07, +0x06,0x07,0x0e,0x01,0x20,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36, +0x05,0x11,0x21,0x15,0x21,0x11,0x23,0x11,0x21,0x35,0x21,0x11,0x03,0xc5,0xd6,0x5d, +0x5c,0x4c,0x4d,0x4c,0x4c,0x4d,0x4c,0x5c,0x5d,0xd6,0x5d,0x5c,0x4c,0x4d,0x4c,0x4c, +0x4d,0x4c,0x5c,0xfe,0xae,0x01,0x14,0xee,0x62,0x63,0x31,0x31,0x31,0x31,0x63,0x62, +0xee,0xfe,0xec,0xee,0x62,0x63,0x31,0x31,0x31,0x31,0x63,0x62,0x01,0xcd,0x01,0x64, +0xfe,0x9c,0xaa,0xfe,0x9c,0x01,0x64,0x04,0x8e,0x27,0x27,0x4c,0x4d,0xb8,0x6d,0x6a, +0xb8,0x4d,0x4c,0x27,0x27,0x27,0x27,0x4c,0x4d,0xb8,0x6a,0x6d,0xb8,0x4d,0x4c,0x27, +0xbd,0x64,0x62,0x63,0x77,0x76,0x8c,0x89,0x77,0x76,0x63,0x62,0x64,0x64,0x62,0x63, +0x76,0x77,0x89,0x8c,0x76,0x77,0x63,0x62,0x84,0xfe,0x9b,0xaa,0xfe,0x9b,0x01,0x65, +0xaa,0x01,0x65,0x00,0x00,0x03,0x00,0xbb,0xff,0xe3,0x05,0xf9,0x05,0x24,0x00,0x03, +0x00,0x1d,0x00,0x37,0x00,0x00,0x01,0x21,0x15,0x21,0x00,0x22,0x07,0x06,0x07,0x0e, +0x01,0x15,0x14,0x16,0x17,0x16,0x17,0x16,0x32,0x37,0x36,0x37,0x3e,0x01,0x35,0x34, +0x26,0x27,0x26,0x27,0x24,0x20,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07, +0x0e,0x01,0x20,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x01,0xa1, +0x03,0x72,0xfc,0x8e,0x02,0x24,0xd6,0x5d,0x5c,0x4c,0x4d,0x4c,0x4c,0x4d,0x4c,0x5c, +0x5d,0xd6,0x5d,0x5c,0x4c,0x4d,0x4c,0x4c,0x4d,0x4c,0x5c,0xfe,0xae,0x01,0x14,0xee, +0x62,0x63,0x31,0x31,0x31,0x31,0x63,0x62,0xee,0xfe,0xec,0xee,0x62,0x63,0x31,0x31, +0x31,0x31,0x63,0x62,0x02,0xd7,0xaa,0x02,0x61,0x27,0x27,0x4c,0x4d,0xb8,0x6d,0x6a, +0xb8,0x4d,0x4c,0x27,0x27,0x27,0x27,0x4c,0x4d,0xb8,0x6a,0x6d,0xb8,0x4d,0x4c,0x27, +0xbd,0x64,0x62,0x63,0x77,0x76,0x8c,0x89,0x77,0x76,0x63,0x62,0x64,0x64,0x62,0x63, +0x76,0x77,0x89,0x8c,0x76,0x77,0x63,0x62,0x00,0x03,0x00,0xbb,0xff,0xe3,0x05,0xf9, +0x05,0x24,0x00,0x19,0x00,0x33,0x00,0x3f,0x00,0x00,0x00,0x22,0x07,0x06,0x07,0x0e, +0x01,0x15,0x14,0x16,0x17,0x16,0x17,0x16,0x32,0x37,0x36,0x37,0x3e,0x01,0x35,0x34, +0x26,0x27,0x26,0x27,0x24,0x20,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07, +0x0e,0x01,0x20,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x01,0x07, +0x17,0x07,0x27,0x07,0x27,0x37,0x27,0x37,0x17,0x37,0x03,0xc5,0xd6,0x5d,0x5c,0x4c, +0x4d,0x4c,0x4c,0x4d,0x4c,0x5c,0x5d,0xd6,0x5d,0x5c,0x4c,0x4d,0x4c,0x4c,0x4d,0x4c, +0x5c,0xfe,0xae,0x01,0x14,0xee,0x62,0x63,0x31,0x31,0x31,0x31,0x63,0x62,0xee,0xfe, +0xec,0xee,0x62,0x63,0x31,0x31,0x31,0x31,0x63,0x62,0x02,0xed,0xfd,0xfc,0x78,0xfc, +0xfc,0x79,0xfd,0xfc,0x78,0xfc,0xfc,0x04,0x8e,0x27,0x27,0x4c,0x4d,0xb8,0x6d,0x6a, +0xb8,0x4d,0x4c,0x27,0x27,0x27,0x27,0x4c,0x4d,0xb8,0x6a,0x6d,0xb8,0x4d,0x4c,0x27, +0xbd,0x64,0x62,0x63,0x77,0x76,0x8c,0x89,0x77,0x76,0x63,0x62,0x64,0x64,0x62,0x63, +0x76,0x77,0x89,0x8c,0x76,0x77,0x63,0x62,0xfe,0xbe,0xfc,0xfc,0x78,0xfc,0xfd,0x79, +0xfc,0xfc,0x78,0xfc,0xfd,0x00,0x00,0x03,0x00,0xbb,0xff,0xe3,0x05,0xf9,0x05,0x24, +0x00,0x03,0x00,0x1d,0x00,0x37,0x00,0x00,0x09,0x01,0x17,0x01,0x00,0x22,0x07,0x06, +0x07,0x0e,0x01,0x15,0x14,0x16,0x17,0x16,0x17,0x16,0x32,0x37,0x36,0x37,0x3e,0x01, +0x35,0x34,0x26,0x27,0x26,0x27,0x24,0x20,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07, +0x06,0x07,0x0e,0x01,0x20,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36, +0x01,0xe6,0x02,0x70,0x78,0xfd,0x90,0x01,0x67,0xd6,0x5d,0x5c,0x4c,0x4d,0x4c,0x4c, +0x4d,0x4c,0x5c,0x5d,0xd6,0x5d,0x5c,0x4c,0x4d,0x4c,0x4c,0x4d,0x4c,0x5c,0xfe,0xae, +0x01,0x14,0xee,0x62,0x63,0x31,0x31,0x31,0x31,0x63,0x62,0xee,0xfe,0xec,0xee,0x62, +0x63,0x31,0x31,0x31,0x31,0x63,0x62,0x01,0x86,0x02,0x70,0x78,0xfd,0x90,0x03,0x80, +0x27,0x27,0x4c,0x4d,0xb8,0x6d,0x6a,0xb8,0x4d,0x4c,0x27,0x27,0x27,0x27,0x4c,0x4d, +0xb8,0x6a,0x6d,0xb8,0x4d,0x4c,0x27,0xbd,0x64,0x62,0x63,0x77,0x76,0x8c,0x89,0x77, +0x76,0x63,0x62,0x64,0x64,0x62,0x63,0x76,0x77,0x89,0x8c,0x76,0x77,0x63,0x62,0x00, +0x00,0x01,0x00,0xaf,0x00,0x00,0x06,0x49,0x05,0x9a,0x00,0x07,0x00,0x00,0x01,0x11, +0x33,0x11,0x21,0x35,0x21,0x15,0x03,0x3c,0x80,0x02,0x8d,0xfa,0x66,0x05,0x1b,0xfa, +0xe5,0x05,0x1b,0x7f,0x7f,0x00,0x00,0x01,0x00,0xaf,0x00,0x00,0x06,0x49,0x05,0x9a, +0x00,0x07,0x00,0x00,0x25,0x11,0x33,0x11,0x21,0x15,0x21,0x35,0x03,0x3c,0x80,0x02, +0x8d,0xfa,0x66,0x7f,0x05,0x1b,0xfa,0xe5,0x7f,0x7f,0xff,0xff,0x00,0x06,0xfe,0x23, +0x03,0xee,0x06,0x75,0x12,0x02,0x09,0x65,0x00,0x00,0xff,0xff,0x00,0xdb,0x02,0x48, +0x01,0xae,0x03,0x46,0x10,0x06,0x08,0x8a,0x00,0x00,0x00,0x01,0x00,0xf9,0x01,0x31, +0x04,0x09,0x04,0x19,0x00,0x09,0x00,0x00,0x13,0x21,0x1b,0x01,0x21,0x07,0x13,0x27, +0x07,0x13,0xf9,0x01,0x2b,0x5d,0x5e,0x01,0x2a,0xf2,0x5e,0xf4,0xf3,0x5d,0x02,0xfd, +0x01,0x1c,0xfe,0xe4,0xb0,0xfe,0xe4,0xb0,0xb0,0x01,0x1c,0x00,0x00,0x02,0x00,0x92, +0x00,0x00,0x04,0x82,0x04,0xc4,0x00,0x04,0x00,0x09,0x00,0x00,0x33,0x11,0x09,0x01, +0x11,0x25,0x21,0x11,0x09,0x01,0x92,0x01,0xf8,0x01,0xf8,0xfc,0xb6,0x02,0xa4,0xfe, +0xae,0xfe,0xae,0x02,0xa0,0x02,0x24,0xfd,0xdc,0xfd,0x60,0xaa,0x01,0xd5,0x01,0x79, +0xfe,0x87,0x00,0x03,0x00,0x64,0x00,0x00,0x06,0x94,0x05,0x9a,0x00,0x05,0x00,0x09, +0x00,0x0d,0x00,0x00,0x21,0x09,0x01,0x27,0x09,0x02,0x35,0x21,0x15,0x05,0x35,0x21, +0x15,0x05,0xf2,0xfd,0x88,0xfd,0x85,0x9b,0x03,0x18,0x03,0x18,0xfa,0x1b,0x05,0x9a, +0xfa,0x66,0x05,0x9a,0x03,0x03,0xfc,0xfd,0x01,0x03,0xbd,0xfc,0x42,0x05,0x1a,0x80, +0x80,0xe2,0x80,0x80,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0x90,0x06,0x14,0x00,0x05, +0x00,0x00,0x01,0x21,0x11,0x23,0x11,0x21,0x01,0x90,0xfe,0xfe,0x8e,0x01,0x90,0x05, +0x85,0xfa,0x7b,0x06,0x14,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0x90,0x06,0x14, +0x00,0x05,0x00,0x00,0x11,0x35,0x21,0x11,0x23,0x11,0x01,0x90,0x8e,0x05,0x85,0x8f, +0xf9,0xec,0x05,0x85,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0x90,0x06,0x14,0x00,0x05, +0x00,0x00,0x25,0x15,0x21,0x11,0x33,0x11,0x01,0x90,0xfe,0x70,0x8e,0x8f,0x8f,0x06, +0x14,0xfa,0x7b,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0x90,0x06,0x14,0x00,0x05, +0x00,0x00,0x35,0x21,0x11,0x33,0x11,0x21,0x01,0x02,0x8e,0xfe,0x70,0x8f,0x05,0x85, +0xf9,0xec,0x00,0x01,0x00,0xd9,0x01,0x1f,0x05,0xdb,0x03,0x5e,0x00,0x05,0x00,0x00, +0x01,0x15,0x21,0x11,0x23,0x11,0x05,0xdb,0xfb,0xa6,0xa8,0x03,0x5e,0xaa,0xfe,0x6b, +0x02,0x3f,0x00,0x02,0x00,0x06,0x01,0x02,0x04,0x15,0x05,0x12,0x00,0x07,0x00,0x0f, +0x00,0x00,0x13,0x24,0x05,0x02,0x13,0x04,0x25,0x12,0x01,0x12,0x03,0x04,0x25,0x02, +0x13,0x24,0x8c,0x01,0x81,0x01,0x81,0x89,0x89,0xfe,0x7f,0xfe,0x7f,0x89,0xfe,0xf1, +0xb8,0xb8,0x02,0x07,0x02,0x08,0xb8,0xb8,0xfd,0xf8,0x01,0x8a,0x89,0x89,0x01,0x80, +0x01,0x82,0x8a,0x8a,0xfe,0x7e,0xfd,0xf8,0x01,0xf4,0x02,0x1c,0xb1,0xb1,0xfe,0x0c, +0xfd,0xe5,0xb1,0x00,0x00,0x06,0x00,0xf7,0x00,0x01,0x07,0x09,0x06,0x13,0x00,0x03, +0x00,0x31,0x00,0x3b,0x00,0x46,0x00,0x4f,0x00,0x59,0x00,0x00,0x01,0x21,0x11,0x21, +0x11,0x15,0x14,0x06,0x20,0x26,0x35,0x34,0x36,0x3b,0x01,0x11,0x23,0x22,0x26,0x35, +0x34,0x36,0x20,0x16,0x1d,0x01,0x21,0x35,0x34,0x36,0x33,0x32,0x16,0x15,0x14,0x06, +0x2b,0x01,0x11,0x33,0x32,0x16,0x15,0x14,0x06,0x23,0x22,0x26,0x3d,0x01,0x01,0x35, +0x34,0x26,0x23,0x22,0x06,0x14,0x16,0x33,0x13,0x23,0x22,0x06,0x15,0x14,0x16,0x33, +0x32,0x36,0x35,0x01,0x33,0x32,0x36,0x34,0x26,0x22,0x06,0x15,0x11,0x15,0x14,0x16, +0x32,0x36,0x35,0x34,0x26,0x23,0x03,0x6c,0x01,0x28,0xfe,0xd8,0xb9,0xfe,0xfc,0xb8, +0xb8,0x7f,0xaa,0xaa,0x7f,0xb8,0xb8,0x01,0x04,0xb9,0x01,0x28,0xb9,0x82,0x83,0xb7, +0xb7,0x80,0xaa,0xaa,0x80,0xb7,0xb7,0x83,0x82,0xb9,0xfe,0x44,0x62,0x45,0x44,0x62, +0x62,0x45,0xa6,0xa6,0x45,0x62,0x62,0x45,0x44,0x62,0x02,0x50,0xa7,0x44,0x62,0x61, +0x8a,0x62,0x62,0x8a,0x61,0x62,0x44,0x02,0x76,0x01,0x28,0xfe,0x44,0xaa,0x80,0xb7, +0xb8,0x83,0x80,0xba,0x01,0x28,0xba,0x81,0x82,0xb8,0xb7,0x80,0xaa,0xaa,0x80,0xb7, +0xb8,0x82,0x81,0xba,0xfe,0xd8,0xba,0x80,0x83,0xb8,0xb7,0x80,0xaa,0x02,0x50,0xa7, +0x45,0x61,0x61,0x8a,0x62,0xfd,0xb0,0x62,0x44,0x45,0x62,0x62,0x44,0x02,0xf7,0x62, +0x8a,0x61,0x61,0x45,0xfd,0x09,0xa7,0x44,0x62,0x62,0x45,0x44,0x62,0x00,0x00,0x01, +0x00,0xd9,0x01,0x1f,0x05,0xdb,0x03,0x5e,0x00,0x05,0x00,0x00,0x01,0x21,0x11,0x33, +0x11,0x21,0x05,0xdb,0xfa,0xfe,0xa8,0x04,0x5a,0x01,0x1f,0x02,0x3f,0xfe,0x6b,0x00, +0x00,0x01,0x01,0xaf,0xfe,0x00,0x03,0xfa,0x06,0x0e,0x00,0x18,0x00,0x00,0x01,0x11, +0x36,0x37,0x1a,0x01,0x33,0x32,0x16,0x15,0x14,0x06,0x23,0x22,0x27,0x26,0x27,0x2e, +0x01,0x23,0x22,0x03,0x06,0x07,0x11,0x01,0xaf,0x02,0x01,0x0c,0xbe,0xca,0x50,0x64, +0x40,0x37,0x2a,0x1c,0x19,0x0f,0x06,0x09,0x10,0x6c,0x0d,0x04,0x04,0xfe,0x00,0x03, +0xaa,0x6c,0x39,0x02,0x03,0x01,0xbc,0x54,0x41,0x36,0x3f,0x13,0x11,0x25,0x0f,0x48, +0xfd,0x95,0xc1,0x6e,0xfb,0xf6,0x00,0x01,0x00,0x2a,0xfe,0x1a,0x02,0x75,0x06,0x28, +0x00,0x18,0x00,0x00,0x01,0x11,0x06,0x07,0x0a,0x01,0x23,0x22,0x26,0x35,0x34,0x36, +0x33,0x32,0x17,0x16,0x17,0x1e,0x01,0x33,0x32,0x13,0x36,0x37,0x11,0x02,0x75,0x02, +0x01,0x0c,0xbe,0xca,0x50,0x64,0x40,0x37,0x2a,0x1c,0x19,0x0f,0x06,0x09,0x10,0x6c, +0x0d,0x04,0x04,0x06,0x28,0xfc,0x56,0x6c,0x39,0xfd,0xfd,0xfe,0x44,0x54,0x41,0x36, +0x3f,0x13,0x11,0x25,0x0f,0x48,0x02,0x6b,0xc1,0x6e,0x04,0x0a,0x00,0x02,0x00,0xac, +0x00,0x00,0x07,0x54,0x05,0xc8,0x00,0x07,0x00,0x0b,0x00,0x00,0x13,0x21,0x01,0x21, +0x15,0x21,0x01,0x21,0x25,0x21,0x15,0x21,0xac,0x02,0x42,0x02,0x9a,0x01,0xcc,0xfd, +0xbc,0xfd,0x66,0xfe,0x36,0x03,0xf4,0x02,0xb4,0xfd,0x4c,0x05,0xc8,0xfa,0xcc,0x94, +0x05,0x34,0x94,0x94,0x00,0x2b,0x00,0x78,0x00,0x00,0x0b,0x14,0x05,0xd5,0x00,0x0b, +0x00,0x17,0x00,0x23,0x00,0x2f,0x00,0x3b,0x00,0x47,0x00,0x53,0x00,0x5f,0x00,0x6b, +0x00,0x77,0x00,0x83,0x00,0x8f,0x00,0x9b,0x00,0xa7,0x00,0xb3,0x00,0xbf,0x00,0xcb, +0x00,0xd7,0x00,0xe3,0x00,0xef,0x00,0xfb,0x01,0x07,0x01,0x13,0x01,0x1f,0x01,0x2b, +0x01,0x37,0x01,0x43,0x01,0x4f,0x01,0x5b,0x01,0x67,0x01,0x73,0x01,0x7f,0x01,0x8b, +0x01,0x97,0x01,0xa3,0x01,0xaf,0x01,0xbb,0x01,0xc7,0x01,0xd3,0x01,0xe4,0x01,0xf0, +0x01,0xfc,0x02,0x08,0x03,0x7b,0xba,0x00,0x0d,0x00,0x09,0x00,0x03,0x2b,0xb8,0x00, +0x0d,0x10,0xba,0x01,0x5d,0x01,0x62,0x00,0x03,0x2b,0xb8,0x01,0x5d,0x10,0xba,0x00, +0x25,0x00,0x2a,0x00,0x03,0x2b,0xb8,0x00,0x25,0x10,0xba,0x00,0x91,0x00,0x96,0x00, +0x03,0x2b,0xb8,0x00,0x91,0x10,0xba,0x00,0x04,0x00,0x12,0x00,0x03,0x2b,0xb8,0x00, +0x04,0x10,0xb8,0x01,0x5d,0x10,0xb8,0x00,0x18,0xd0,0xb8,0x00,0x18,0x2f,0xb8,0x01, +0x62,0x10,0xb8,0x00,0x1e,0xd0,0xb8,0x00,0x1e,0x2f,0xb8,0x00,0x2a,0x10,0xb8,0x00, +0x9c,0xd0,0xb8,0x00,0x9c,0x2f,0xb8,0x00,0x25,0x10,0xb8,0x01,0x68,0xd0,0xb8,0x00, +0x2a,0x10,0xb8,0x01,0x6e,0xd0,0xb8,0x00,0x91,0x10,0xb8,0x01,0xc8,0xd0,0xb8,0x00, +0x91,0x10,0xb8,0x01,0xd6,0xd0,0xb8,0x00,0x96,0x10,0xb8,0x01,0xdc,0xd0,0xb8,0x00, +0x91,0x10,0xb8,0x01,0xf1,0xd0,0xb8,0x01,0xf1,0x2f,0xb8,0x00,0x04,0x10,0xb8,0x02, +0x0a,0xdc,0x00,0xba,0x00,0x10,0x00,0x06,0x00,0x03,0x2b,0xb8,0x00,0x10,0x10,0xba, +0x00,0x01,0x00,0x15,0x00,0x03,0x2b,0xb8,0x00,0x01,0x10,0xba,0x00,0x22,0x00,0x1b, +0x00,0x03,0x2b,0xb8,0x00,0x22,0x10,0xba,0x01,0x66,0x01,0x5f,0x00,0x03,0x2b,0xb8, +0x01,0x66,0x10,0xba,0x00,0x3a,0x00,0x33,0x00,0x03,0x2b,0xb8,0x00,0x3a,0x10,0xba, +0x01,0xd4,0x01,0xdf,0x00,0x03,0x2b,0xb8,0x01,0xd4,0x10,0xba,0x00,0xfa,0x01,0xda, +0x00,0x03,0x2b,0xb8,0x00,0xfa,0x10,0xb8,0x00,0x1b,0x10,0xb8,0x00,0x27,0xd0,0xb8, +0x00,0x22,0x10,0xb8,0x00,0x2d,0xd0,0xb8,0x00,0x33,0x10,0xb8,0x00,0x3f,0xd0,0xb8, +0x00,0x3a,0x10,0xb8,0x00,0x45,0xd0,0xb8,0x00,0x33,0x10,0xb8,0x00,0x4b,0xd0,0xb8, +0x00,0x3a,0x10,0xb8,0x00,0x51,0xd0,0xb8,0x00,0x33,0x10,0xb8,0x00,0x57,0xd0,0xb8, +0x00,0x3a,0x10,0xb8,0x00,0x5d,0xd0,0xb8,0x00,0x33,0x10,0xb8,0x00,0x63,0xd0,0xb8, +0x00,0x3a,0x10,0xb8,0x00,0x69,0xd0,0xb8,0x00,0x33,0x10,0xb8,0x00,0x6f,0xd0,0xb8, +0x00,0x3a,0x10,0xb8,0x00,0x75,0xd0,0xb8,0x00,0x33,0x10,0xb8,0x00,0x7b,0xd0,0xb8, +0x00,0x3a,0x10,0xb8,0x00,0x81,0xd0,0xb8,0x00,0x33,0x10,0xb8,0x00,0x87,0xd0,0xb8, +0x00,0x3a,0x10,0xb8,0x00,0x8d,0xd0,0xb8,0x00,0x33,0x10,0xb8,0x00,0x93,0xd0,0xb8, +0x00,0x3a,0x10,0xb8,0x00,0x99,0xd0,0xb8,0x01,0xda,0x10,0xb8,0x00,0x9f,0xd0,0xb8, +0x00,0x9f,0x2f,0xb8,0x00,0xfa,0x10,0xb8,0x00,0xa5,0xd0,0xb8,0x01,0xda,0x10,0xb8, +0x00,0xab,0xd0,0xb8,0x00,0xab,0x2f,0xb8,0x00,0xfa,0x10,0xb8,0x00,0xb1,0xd0,0xb8, +0x01,0xda,0x10,0xb8,0x00,0xb7,0xd0,0xb8,0x00,0xb7,0x2f,0xb8,0x00,0xfa,0x10,0xb8, +0x00,0xbd,0xd0,0xb8,0x01,0xda,0x10,0xb8,0x00,0xc3,0xd0,0xb8,0x00,0xc3,0x2f,0xb8, +0x00,0xfa,0x10,0xb8,0x00,0xc9,0xd0,0xb8,0x01,0xda,0x10,0xb8,0x00,0xcf,0xd0,0xb8, +0x00,0xcf,0x2f,0xb8,0x00,0xfa,0x10,0xb8,0x00,0xd5,0xd0,0xb8,0x01,0xda,0x10,0xb8, +0x00,0xdb,0xd0,0xb8,0x00,0xdb,0x2f,0xb8,0x00,0xfa,0x10,0xb8,0x00,0xe1,0xd0,0xb8, +0x01,0xda,0x10,0xb8,0x00,0xe7,0xd0,0xb8,0x00,0xe7,0x2f,0xb8,0x00,0xfa,0x10,0xb8, +0x00,0xed,0xd0,0xb8,0x01,0xda,0x10,0xb8,0x00,0xf3,0xd0,0xb8,0x00,0xf3,0x2f,0xb8, +0x01,0xdf,0x10,0xb8,0x00,0xff,0xd0,0xb8,0x01,0xd4,0x10,0xb8,0x01,0x05,0xd0,0xb8, +0x01,0x05,0x2f,0xb8,0x01,0xdf,0x10,0xb8,0x01,0x0b,0xd0,0xb8,0x01,0xd4,0x10,0xb8, +0x01,0x11,0xd0,0xb8,0x01,0x11,0x2f,0xb8,0x01,0xdf,0x10,0xb8,0x01,0x17,0xd0,0xb8, +0x01,0xd4,0x10,0xb8,0x01,0x1d,0xd0,0xb8,0x01,0x1d,0x2f,0xb8,0x01,0xdf,0x10,0xb8, +0x01,0x23,0xd0,0xb8,0x01,0xd4,0x10,0xb8,0x01,0x29,0xd0,0xb8,0x01,0x29,0x2f,0xb8, +0x01,0xdf,0x10,0xb8,0x01,0x2f,0xd0,0xb8,0x01,0xd4,0x10,0xb8,0x01,0x35,0xd0,0xb8, +0x01,0x35,0x2f,0xb8,0x01,0xdf,0x10,0xb8,0x01,0x3b,0xd0,0xb8,0x01,0xd4,0x10,0xb8, +0x01,0x41,0xd0,0xb8,0x01,0x41,0x2f,0xb8,0x01,0xdf,0x10,0xb8,0x01,0x47,0xd0,0xb8, +0x01,0xd4,0x10,0xb8,0x01,0x4d,0xd0,0xb8,0x01,0x4d,0x2f,0xb8,0x01,0xdf,0x10,0xb8, +0x01,0x53,0xd0,0xb8,0x01,0xd4,0x10,0xb8,0x01,0x59,0xd0,0xb8,0x01,0x59,0x2f,0xb8, +0x01,0x5f,0x10,0xb8,0x01,0x6b,0xd0,0xb8,0x01,0x66,0x10,0xb8,0x01,0x71,0xd0,0xb8, +0x01,0x5f,0x10,0xb8,0x01,0x77,0xd0,0xb8,0x01,0x66,0x10,0xb8,0x01,0x7d,0xd0,0xb8, +0x01,0x5f,0x10,0xb8,0x01,0x83,0xd0,0xb8,0x01,0x66,0x10,0xb8,0x01,0x89,0xd0,0xb8, +0x01,0x5f,0x10,0xb8,0x01,0x8f,0xd0,0xb8,0x01,0x66,0x10,0xb8,0x01,0x95,0xd0,0xb8, +0x01,0x5f,0x10,0xb8,0x01,0x9b,0xd0,0xb8,0x01,0x66,0x10,0xb8,0x01,0xa1,0xd0,0xb8, +0x01,0x5f,0x10,0xb8,0x01,0xa7,0xd0,0xb8,0x01,0x66,0x10,0xb8,0x01,0xad,0xd0,0xb8, +0x01,0x5f,0x10,0xb8,0x01,0xb3,0xd0,0xb8,0x01,0x66,0x10,0xb8,0x01,0xb9,0xd0,0xb8, +0x01,0x5f,0x10,0xb8,0x01,0xbf,0xd0,0xb8,0x01,0x66,0x10,0xb8,0x01,0xc5,0xd0,0xb8, +0x01,0x5f,0x10,0xb8,0x01,0xcb,0xd0,0xb8,0x01,0x66,0x10,0xb8,0x01,0xd1,0xd0,0xb8, +0x00,0x1b,0x10,0xb8,0x01,0xe8,0xd0,0xb8,0x00,0x22,0x10,0xb8,0x01,0xee,0xd0,0xb8, +0x00,0x1b,0x10,0xb8,0x01,0xf4,0xd0,0xb8,0x00,0x22,0x10,0xb8,0x01,0xfa,0xd0,0xb8, +0x00,0x1b,0x10,0xb8,0x01,0xfd,0xd0,0xb8,0x00,0x22,0x10,0xb8,0x02,0x02,0xd0,0x30, +0x31,0x01,0x21,0x32,0x15,0x11,0x14,0x23,0x21,0x22,0x35,0x11,0x34,0x17,0x11,0x14, +0x33,0x21,0x32,0x35,0x11,0x34,0x23,0x21,0x22,0x01,0x15,0x14,0x2b,0x01,0x22,0x3d, +0x01,0x34,0x3b,0x01,0x32,0x17,0x15,0x14,0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01, +0x32,0x25,0x15,0x14,0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01,0x32,0x05,0x15,0x14, +0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01,0x32,0x17,0x15,0x14,0x2b,0x01,0x22,0x3d, +0x01,0x34,0x3b,0x01,0x32,0x05,0x15,0x14,0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01, +0x32,0x17,0x15,0x14,0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01,0x32,0x17,0x15,0x14, +0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01,0x32,0x17,0x15,0x14,0x2b,0x01,0x22,0x3d, +0x01,0x34,0x3b,0x01,0x32,0x17,0x15,0x14,0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01, +0x32,0x05,0x15,0x14,0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01,0x32,0x25,0x15,0x14, +0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01,0x32,0x17,0x15,0x14,0x2b,0x01,0x22,0x3d, +0x01,0x34,0x3b,0x01,0x32,0x17,0x15,0x14,0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01, +0x32,0x17,0x15,0x14,0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01,0x32,0x17,0x15,0x14, +0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01,0x32,0x17,0x15,0x14,0x2b,0x01,0x22,0x3d, +0x01,0x34,0x3b,0x01,0x32,0x17,0x15,0x14,0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01, +0x32,0x17,0x15,0x14,0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01,0x32,0x27,0x15,0x14, +0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01,0x32,0x07,0x15,0x14,0x2b,0x01,0x22,0x3d, +0x01,0x34,0x3b,0x01,0x32,0x07,0x15,0x14,0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01, +0x32,0x07,0x15,0x14,0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01,0x32,0x07,0x15,0x14, +0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01,0x32,0x07,0x15,0x14,0x2b,0x01,0x22,0x3d, +0x01,0x34,0x3b,0x01,0x32,0x07,0x15,0x14,0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01, +0x32,0x07,0x15,0x14,0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01,0x32,0x27,0x15,0x14, +0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01,0x32,0x17,0x15,0x14,0x2b,0x01,0x22,0x3d, +0x01,0x34,0x3b,0x01,0x32,0x17,0x15,0x14,0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01, +0x32,0x17,0x15,0x14,0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01,0x32,0x17,0x15,0x14, +0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01,0x32,0x17,0x15,0x14,0x2b,0x01,0x22,0x3d, +0x01,0x34,0x3b,0x01,0x32,0x17,0x15,0x14,0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01, +0x32,0x17,0x15,0x14,0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01,0x32,0x17,0x15,0x14, +0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01,0x32,0x05,0x15,0x14,0x2b,0x01,0x22,0x3d, +0x01,0x34,0x3b,0x01,0x32,0x07,0x32,0x15,0x11,0x14,0x2b,0x01,0x22,0x3d,0x01,0x34, +0x23,0x22,0x3d,0x01,0x34,0x33,0x13,0x15,0x14,0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b, +0x01,0x32,0x17,0x15,0x14,0x2b,0x01,0x22,0x3d,0x01,0x34,0x3b,0x01,0x32,0x05,0x22, +0x3d,0x01,0x34,0x33,0x21,0x32,0x1d,0x01,0x14,0x23,0x01,0x55,0x08,0xe2,0xdd,0xdd, +0xf7,0x1e,0xdd,0x93,0x4a,0x08,0xe2,0x49,0x49,0xf7,0x1e,0x4a,0x01,0x03,0x25,0x4a, +0x25,0x25,0x4a,0x25,0xdf,0x25,0x4b,0x24,0x24,0x4b,0x25,0x01,0x4a,0x25,0x4a,0x25, +0x25,0x4a,0x25,0xfe,0x46,0x25,0x4a,0x25,0x25,0x4a,0x25,0xdd,0x25,0x4a,0x25,0x25, +0x4a,0x25,0x01,0xb9,0x25,0x4a,0x25,0x25,0x4a,0x25,0xdd,0x25,0x4a,0x25,0x25,0x4a, +0x25,0xdd,0x25,0x4a,0x25,0x25,0x4a,0x25,0xdd,0x25,0x4a,0x25,0x25,0x4a,0x25,0xdd, +0x25,0x4a,0x25,0x25,0x4a,0x25,0x01,0x8e,0x25,0xfb,0x25,0x25,0xfb,0x25,0xf8,0x43, +0x25,0x4a,0x25,0x25,0x4a,0x25,0xdd,0x25,0x4a,0x25,0x25,0x4a,0x25,0xdd,0x25,0x4a, +0x25,0x25,0x4a,0x25,0xdc,0x25,0x4a,0x25,0x25,0x4a,0x25,0xdd,0x25,0x4a,0x25,0x25, +0x4a,0x25,0xdd,0x25,0x4a,0x25,0x25,0x4a,0x25,0xdd,0x25,0x4a,0x25,0x25,0x4a,0x25, +0xdd,0x25,0x4a,0x25,0x25,0x4a,0x25,0x24,0x25,0x4a,0x25,0x25,0x4a,0x25,0xdd,0x25, +0x4a,0x25,0x25,0x4a,0x25,0xdd,0x25,0x4a,0x25,0x25,0x4a,0x25,0xdd,0x25,0x4a,0x25, +0x25,0x4a,0x25,0xdc,0x25,0x4a,0x25,0x25,0x4a,0x25,0xdd,0x25,0x4a,0x25,0x25,0x4a, +0x25,0xdd,0x25,0x4a,0x25,0x25,0x4a,0x25,0xdd,0x25,0x4a,0x25,0x25,0x4a,0x25,0x24, +0x25,0x4a,0x25,0x25,0x4a,0x25,0xdd,0x25,0x4a,0x25,0x25,0x4a,0x25,0xdd,0x25,0x4a, +0x25,0x25,0x4a,0x25,0xdd,0x25,0x4a,0x25,0x25,0x4a,0x25,0xdc,0x25,0x4a,0x25,0x25, +0x4a,0x25,0xdd,0x25,0x4a,0x25,0x25,0x4a,0x25,0xdd,0x25,0x4a,0x25,0x25,0x4a,0x25, +0xdd,0x25,0x4a,0x25,0x25,0x4a,0x25,0xdd,0x25,0x4a,0x25,0x25,0x4a,0x25,0x01,0x1e, +0x25,0x8b,0x25,0x25,0x8b,0x25,0x25,0x25,0x25,0xf6,0x2a,0x24,0x25,0x25,0x94,0x25, +0x4a,0x25,0x25,0x4a,0x25,0xdf,0x25,0x4b,0x24,0x24,0x4b,0x25,0xf9,0xa5,0x25,0x25, +0x04,0x04,0x25,0x25,0x05,0xd5,0xdd,0xfb,0xe5,0xdd,0xdd,0x04,0x1b,0xdd,0xdd,0xfb, +0xe5,0x4a,0x4a,0x04,0x1b,0x4a,0xfc,0x1c,0x49,0x25,0x25,0x49,0x26,0x25,0x4a,0x25, +0x25,0x4a,0x25,0xb7,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25, +0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a, +0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25, +0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0xb7,0x4a,0x25,0x25,0x4a,0x25,0x25, +0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a, +0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25, +0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0xb7,0x4a,0x25,0x25,0x4a,0x25,0x25, +0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a, +0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25, +0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0xb4,0x4a,0x25,0x25,0x4a,0x25,0x25, +0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a, +0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25, +0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25, +0x4a,0x25,0x25,0x4a,0x25,0xdb,0x25,0xfe,0xde,0x25,0x25,0x95,0x20,0x25,0x49,0x25, +0xfd,0x48,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x25,0x4a,0x25,0x94,0x25,0x4a, +0x25,0x25,0x4a,0x25,0x00,0x01,0x00,0xb7,0xfe,0xf2,0x02,0x7b,0x06,0x12,0x00,0x05, +0x00,0x00,0x13,0x01,0x33,0x09,0x01,0x23,0xb7,0x01,0x1a,0xaa,0xfe,0xe6,0x01,0x1a, +0xaa,0x02,0x82,0xfc,0x70,0x03,0x90,0x03,0x90,0x00,0x00,0x01,0x00,0xa4,0xfe,0xf2, +0x02,0x68,0x06,0x12,0x00,0x05,0x00,0x00,0x09,0x01,0x23,0x09,0x01,0x33,0x02,0x68, +0xfe,0xe6,0xaa,0x01,0x1a,0xfe,0xe6,0xaa,0x02,0x82,0xfc,0x70,0x03,0x90,0x03,0x90, +0x00,0x01,0x00,0x1a,0xfe,0x2e,0x05,0xf5,0x00,0xd0,0x00,0x0b,0x00,0x00,0x01,0x21, +0x11,0x21,0x15,0x23,0x11,0x21,0x11,0x23,0x35,0x21,0x01,0xb8,0x02,0xa0,0x01,0x9d, +0xf5,0xfc,0x10,0xf6,0x01,0x9e,0xfe,0xd8,0x01,0xf8,0xaa,0xfe,0x08,0x01,0xf8,0xaa, +0x00,0x01,0x01,0xaf,0xfe,0x00,0x02,0x75,0x06,0x28,0x00,0x03,0x00,0x00,0x01,0x11, +0x33,0x11,0x01,0xaf,0xc6,0xfe,0x00,0x08,0x28,0xf7,0xd8,0x00,0x00,0x02,0x00,0x06, +0x00,0x00,0x06,0x21,0x04,0xc4,0x00,0x02,0x00,0x06,0x00,0x00,0x01,0x21,0x09,0x01, +0x21,0x11,0x21,0x06,0x21,0xf9,0xe5,0x03,0x0d,0x03,0x0e,0xf9,0xe5,0x06,0x1b,0x02, +0xa0,0x02,0x24,0xfb,0x3c,0x01,0xf8,0x00,0x00,0x02,0xff,0x82,0xff,0xe3,0x04,0xa4, +0x06,0x14,0x00,0x17,0x00,0x1f,0x00,0x00,0x01,0x3e,0x01,0x33,0x32,0x00,0x10,0x02, +0x23,0x22,0x26,0x27,0x15,0x23,0x11,0x05,0x27,0x25,0x35,0x33,0x15,0x25,0x17,0x05, +0x00,0x10,0x26,0x20,0x06,0x10,0x16,0x20,0x01,0x73,0x3a,0xb1,0x7b,0xcc,0x00,0xff, +0xff,0xcc,0x7b,0xb1,0x3a,0xb9,0xfe,0xe9,0x21,0x01,0x38,0xb9,0x01,0x23,0x21,0xfe, +0xbc,0x02,0x72,0xa7,0xfe,0xdc,0xa7,0xa7,0x01,0x24,0x03,0xb6,0x64,0x61,0xfe,0xbc, +0xfd,0xf0,0xfe,0xbc,0x61,0x64,0xa8,0x04,0xe6,0x5d,0x63,0x68,0xc0,0x83,0x61,0x61, +0x6d,0xfc,0x40,0x01,0x96,0xe7,0xe7,0xfe,0x6a,0xe7,0x00,0x01,0x00,0x92,0xfe,0x2e, +0x04,0x82,0x00,0xd0,0x00,0x07,0x00,0x00,0x01,0x21,0x11,0x33,0x11,0x21,0x11,0x33, +0x01,0x3a,0x02,0xa0,0xa8,0xfc,0x10,0xa8,0xfe,0xd8,0x01,0xf8,0xfd,0x5e,0x02,0xa2, +0x00,0x03,0x00,0x98,0xff,0xec,0x06,0x94,0x05,0xe8,0x00,0x0d,0x00,0x1b,0x00,0x26, +0x00,0xdb,0xba,0x00,0x0e,0x00,0x06,0x00,0x03,0x2b,0xb8,0x00,0x0e,0x10,0xba,0x00, +0x23,0x00,0x1d,0x00,0x03,0x2b,0xb8,0x00,0x23,0x10,0xba,0x00,0x00,0x00,0x14,0x00, +0x03,0x2b,0xb8,0x00,0x00,0x10,0x41,0x1b,0x00,0x16,0x00,0x0e,0x00,0x26,0x00,0x0e, +0x00,0x36,0x00,0x0e,0x00,0x46,0x00,0x0e,0x00,0x56,0x00,0x0e,0x00,0x66,0x00,0x0e, +0x00,0x76,0x00,0x0e,0x00,0x86,0x00,0x0e,0x00,0x96,0x00,0x0e,0x00,0xa6,0x00,0x0e, +0x00,0xb6,0x00,0x0e,0x00,0xc6,0x00,0x0e,0x00,0xd6,0x00,0x0e,0x00,0x0d,0x5d,0x41, +0x05,0x00,0xe5,0x00,0x0e,0x00,0xf5,0x00,0x0e,0x00,0x02,0x5d,0x41,0x05,0x00,0xea, +0x00,0x14,0x00,0xfa,0x00,0x14,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x14,0x00, +0x29,0x00,0x14,0x00,0x39,0x00,0x14,0x00,0x49,0x00,0x14,0x00,0x59,0x00,0x14,0x00, +0x69,0x00,0x14,0x00,0x79,0x00,0x14,0x00,0x89,0x00,0x14,0x00,0x99,0x00,0x14,0x00, +0xa9,0x00,0x14,0x00,0xb9,0x00,0x14,0x00,0xc9,0x00,0x14,0x00,0xd9,0x00,0x14,0x00, +0x0d,0x5d,0x00,0xba,0x00,0x11,0x00,0x03,0x00,0x03,0x2b,0xb8,0x00,0x11,0x10,0xba, +0x00,0x0a,0x00,0x18,0x00,0x03,0x2b,0xb8,0x00,0x0a,0x10,0xba,0x00,0x24,0x00,0x25, +0x00,0x03,0x2b,0xb8,0x00,0x24,0x10,0xb8,0x00,0x1c,0xd0,0x30,0x31,0x01,0x10,0x00, +0x21,0x20,0x00,0x11,0x34,0x12,0x24,0x33,0x32,0x04,0x12,0x05,0x10,0x00,0x21,0x20, +0x00,0x11,0x34,0x02,0x24,0x23,0x22,0x04,0x02,0x01,0x33,0x11,0x07,0x35,0x25,0x33, +0x11,0x33,0x15,0x21,0x06,0x94,0xfe,0x3f,0xfe,0xc2,0xfe,0xc4,0xfe,0x3f,0xce,0x01, +0x71,0xbe,0xc1,0x01,0x71,0xcd,0xfa,0x57,0x01,0x8f,0x01,0x1c,0x01,0x1c,0x01,0x8f, +0xb6,0xfe,0xb8,0xad,0xad,0xfe,0xb8,0xb6,0x01,0x7c,0xd9,0xec,0x01,0x01,0xa1,0xda, +0xfd,0x97,0x02,0xea,0xfe,0xc1,0xfe,0x41,0x01,0xbf,0x01,0x3f,0xc6,0x01,0x72,0xc6, +0xc6,0xfe,0x90,0xc8,0xfe,0xe4,0xfe,0x70,0x01,0x90,0x01,0x1c,0xb3,0x01,0x47,0xb1, +0xb1,0xfe,0xb9,0xfd,0xff,0x02,0x7e,0x2b,0x98,0x2f,0xfc,0xe6,0x8e,0x00,0x00,0x03, +0x00,0x98,0xff,0xec,0x06,0x94,0x05,0xe8,0x00,0x0d,0x00,0x1b,0x00,0x38,0x01,0x3f, +0xba,0x00,0x0e,0x00,0x06,0x00,0x03,0x2b,0xb8,0x00,0x0e,0x10,0xba,0x00,0x33,0x00, +0x26,0x00,0x03,0x2b,0xb8,0x00,0x33,0x10,0xba,0x00,0x00,0x00,0x14,0x00,0x03,0x2b, +0xb8,0x00,0x00,0x10,0x41,0x1b,0x00,0x16,0x00,0x0e,0x00,0x26,0x00,0x0e,0x00,0x36, +0x00,0x0e,0x00,0x46,0x00,0x0e,0x00,0x56,0x00,0x0e,0x00,0x66,0x00,0x0e,0x00,0x76, +0x00,0x0e,0x00,0x86,0x00,0x0e,0x00,0x96,0x00,0x0e,0x00,0xa6,0x00,0x0e,0x00,0xb6, +0x00,0x0e,0x00,0xc6,0x00,0x0e,0x00,0xd6,0x00,0x0e,0x00,0x0d,0x5d,0x41,0x05,0x00, +0xe5,0x00,0x0e,0x00,0xf5,0x00,0x0e,0x00,0x02,0x5d,0x41,0x05,0x00,0xea,0x00,0x14, +0x00,0xfa,0x00,0x14,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x14,0x00,0x29,0x00, +0x14,0x00,0x39,0x00,0x14,0x00,0x49,0x00,0x14,0x00,0x59,0x00,0x14,0x00,0x69,0x00, +0x14,0x00,0x79,0x00,0x14,0x00,0x89,0x00,0x14,0x00,0x99,0x00,0x14,0x00,0xa9,0x00, +0x14,0x00,0xb9,0x00,0x14,0x00,0xc9,0x00,0x14,0x00,0xd9,0x00,0x14,0x00,0x0d,0x5d, +0xb8,0x00,0x33,0x10,0xb8,0x00,0x1d,0xd0,0xb8,0x00,0x1d,0x2f,0x41,0x05,0x00,0xea, +0x00,0x26,0x00,0xfa,0x00,0x26,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x26,0x00, +0x29,0x00,0x26,0x00,0x39,0x00,0x26,0x00,0x49,0x00,0x26,0x00,0x59,0x00,0x26,0x00, +0x69,0x00,0x26,0x00,0x79,0x00,0x26,0x00,0x89,0x00,0x26,0x00,0x99,0x00,0x26,0x00, +0xa9,0x00,0x26,0x00,0xb9,0x00,0x26,0x00,0xc9,0x00,0x26,0x00,0xd9,0x00,0x26,0x00, +0x0d,0x5d,0xba,0x00,0x2c,0x00,0x06,0x00,0x00,0x11,0x12,0x39,0x00,0xba,0x00,0x11, +0x00,0x03,0x00,0x03,0x2b,0xb8,0x00,0x11,0x10,0xba,0x00,0x0a,0x00,0x18,0x00,0x03, +0x2b,0xb8,0x00,0x0a,0x10,0xba,0x00,0x1d,0x00,0x1e,0x00,0x03,0x2b,0xb8,0x00,0x1d, +0x10,0xba,0x00,0x30,0x00,0x29,0x00,0x03,0x2b,0xb8,0x00,0x30,0x10,0x30,0x31,0x01, +0x10,0x00,0x21,0x20,0x00,0x11,0x34,0x12,0x24,0x33,0x32,0x04,0x12,0x05,0x10,0x00, +0x21,0x20,0x00,0x11,0x34,0x02,0x24,0x23,0x22,0x04,0x02,0x01,0x21,0x15,0x21,0x35, +0x36,0x24,0x37,0x3e,0x01,0x35,0x34,0x26,0x23,0x22,0x06,0x07,0x35,0x3e,0x01,0x33, +0x32,0x16,0x15,0x14,0x06,0x07,0x0e,0x01,0x06,0x94,0xfe,0x3f,0xfe,0xc2,0xfe,0xc4, +0xfe,0x3f,0xce,0x01,0x71,0xbe,0xc1,0x01,0x71,0xcd,0xfa,0x57,0x01,0x8f,0x01,0x1c, +0x01,0x1c,0x01,0x8f,0xb6,0xfe,0xb8,0xad,0xad,0xfe,0xb8,0xb6,0x02,0x4f,0x01,0xb4, +0xfd,0x5c,0x52,0x01,0x06,0x21,0x3e,0x2f,0x5f,0x4e,0x3b,0x84,0x73,0x61,0x91,0x3d, +0xa3,0xc5,0x30,0x3e,0x11,0xb2,0x02,0xea,0xfe,0xc1,0xfe,0x41,0x01,0xbf,0x01,0x3f, +0xc6,0x01,0x72,0xc6,0xc6,0xfe,0x90,0xc8,0xfe,0xe4,0xfe,0x70,0x01,0x90,0x01,0x1c, +0xb3,0x01,0x47,0xb1,0xb1,0xfe,0xb9,0xfd,0xff,0x8e,0x81,0x4d,0xf1,0x22,0x3f,0x55, +0x28,0x3f,0x4e,0x26,0x3a,0xab,0x24,0x1f,0x97,0x7d,0x3a,0x69,0x46,0x12,0xa7,0x00, +0x00,0x03,0x00,0x98,0xff,0xec,0x06,0x94,0x05,0xe8,0x00,0x0d,0x00,0x1b,0x00,0x44, +0x01,0xb5,0xba,0x00,0x0e,0x00,0x06,0x00,0x03,0x2b,0xb8,0x00,0x0e,0x10,0xba,0x00, +0x42,0x00,0x35,0x00,0x03,0x2b,0xb8,0x00,0x42,0x10,0xba,0x00,0x00,0x00,0x14,0x00, +0x03,0x2b,0xb8,0x00,0x00,0x10,0x41,0x1b,0x00,0x16,0x00,0x0e,0x00,0x26,0x00,0x0e, +0x00,0x36,0x00,0x0e,0x00,0x46,0x00,0x0e,0x00,0x56,0x00,0x0e,0x00,0x66,0x00,0x0e, +0x00,0x76,0x00,0x0e,0x00,0x86,0x00,0x0e,0x00,0x96,0x00,0x0e,0x00,0xa6,0x00,0x0e, +0x00,0xb6,0x00,0x0e,0x00,0xc6,0x00,0x0e,0x00,0xd6,0x00,0x0e,0x00,0x0d,0x5d,0x41, +0x05,0x00,0xe5,0x00,0x0e,0x00,0xf5,0x00,0x0e,0x00,0x02,0x5d,0x41,0x05,0x00,0xea, +0x00,0x14,0x00,0xfa,0x00,0x14,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x14,0x00, +0x29,0x00,0x14,0x00,0x39,0x00,0x14,0x00,0x49,0x00,0x14,0x00,0x59,0x00,0x14,0x00, +0x69,0x00,0x14,0x00,0x79,0x00,0x14,0x00,0x89,0x00,0x14,0x00,0x99,0x00,0x14,0x00, +0xa9,0x00,0x14,0x00,0xb9,0x00,0x14,0x00,0xc9,0x00,0x14,0x00,0xd9,0x00,0x14,0x00, +0x0d,0x5d,0x41,0x05,0x00,0xea,0x00,0x35,0x00,0xfa,0x00,0x35,0x00,0x02,0x5d,0x41, +0x1b,0x00,0x19,0x00,0x35,0x00,0x29,0x00,0x35,0x00,0x39,0x00,0x35,0x00,0x49,0x00, +0x35,0x00,0x59,0x00,0x35,0x00,0x69,0x00,0x35,0x00,0x79,0x00,0x35,0x00,0x89,0x00, +0x35,0x00,0x99,0x00,0x35,0x00,0xa9,0x00,0x35,0x00,0xb9,0x00,0x35,0x00,0xc9,0x00, +0x35,0x00,0xd9,0x00,0x35,0x00,0x0d,0x5d,0xba,0x00,0x1c,0x00,0x35,0x00,0x42,0x11, +0x12,0x39,0xba,0x00,0x2c,0x00,0x35,0x00,0x42,0x11,0x12,0x39,0xb8,0x00,0x2c,0x2f, +0x41,0x05,0x00,0xea,0x00,0x2c,0x00,0xfa,0x00,0x2c,0x00,0x02,0x5d,0x41,0x1b,0x00, +0x19,0x00,0x2c,0x00,0x29,0x00,0x2c,0x00,0x39,0x00,0x2c,0x00,0x49,0x00,0x2c,0x00, +0x59,0x00,0x2c,0x00,0x69,0x00,0x2c,0x00,0x79,0x00,0x2c,0x00,0x89,0x00,0x2c,0x00, +0x99,0x00,0x2c,0x00,0xa9,0x00,0x2c,0x00,0xb9,0x00,0x2c,0x00,0xc9,0x00,0x2c,0x00, +0xd9,0x00,0x2c,0x00,0x0d,0x5d,0xb8,0x00,0x1f,0xdc,0xba,0x00,0x26,0x00,0x06,0x00, +0x00,0x11,0x12,0x39,0xba,0x00,0x3b,0x00,0x06,0x00,0x00,0x11,0x12,0x39,0x00,0xba, +0x00,0x11,0x00,0x03,0x00,0x03,0x2b,0xb8,0x00,0x11,0x10,0xba,0x00,0x0a,0x00,0x18, +0x00,0x03,0x2b,0xb8,0x00,0x0a,0x10,0xba,0x00,0x29,0x00,0x22,0x00,0x03,0x2b,0xb8, +0x00,0x29,0x10,0xba,0x00,0x3f,0x00,0x38,0x00,0x03,0x2b,0xb8,0x00,0x3f,0x10,0xba, +0x00,0x32,0x00,0x2f,0x00,0x03,0x2b,0xb8,0x00,0x32,0x10,0xba,0x00,0x1c,0x00,0x2f, +0x00,0x32,0x11,0x12,0x39,0x30,0x31,0x01,0x10,0x00,0x21,0x20,0x00,0x11,0x34,0x12, +0x24,0x33,0x32,0x04,0x12,0x05,0x10,0x00,0x21,0x20,0x00,0x11,0x34,0x02,0x24,0x23, +0x22,0x04,0x02,0x05,0x1e,0x01,0x15,0x14,0x06,0x23,0x22,0x26,0x27,0x35,0x1e,0x01, +0x33,0x32,0x36,0x35,0x34,0x26,0x2b,0x01,0x35,0x33,0x32,0x36,0x35,0x34,0x26,0x23, +0x22,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x16,0x15,0x14,0x06,0x06,0x94,0xfe,0x3f, +0xfe,0xc2,0xfe,0xc4,0xfe,0x3f,0xce,0x01,0x71,0xbe,0xc1,0x01,0x71,0xcd,0xfa,0x57, +0x01,0x8f,0x01,0x1c,0x01,0x1c,0x01,0x8f,0xb6,0xfe,0xb8,0xad,0xad,0xfe,0xb8,0xb6, +0x03,0xb9,0x0d,0x76,0xd8,0xc3,0x40,0x88,0x58,0x5b,0x7d,0x44,0x75,0x73,0x6b,0x63, +0x8c,0x91,0x5a,0x58,0x5c,0x5b,0x34,0x79,0x6b,0x5f,0x88,0x3d,0xa1,0xc1,0x68,0x02, +0xea,0xfe,0xc1,0xfe,0x41,0x01,0xbf,0x01,0x3f,0xc6,0x01,0x72,0xc6,0xc6,0xfe,0x90, +0xc8,0xfe,0xe4,0xfe,0x70,0x01,0x90,0x01,0x1c,0xb3,0x01,0x47,0xb1,0xb1,0xfe,0xb9, +0x96,0x03,0x81,0x5d,0x8d,0x9c,0x17,0x1b,0xa8,0x30,0x1c,0x4f,0x4c,0x47,0x4e,0x8c, +0x3c,0x3a,0x3c,0x3f,0x15,0x20,0x97,0x18,0x14,0x89,0x73,0x51,0x72,0x00,0x00,0x04, +0x00,0x98,0xff,0xec,0x06,0x94,0x05,0xe8,0x00,0x0d,0x00,0x1b,0x00,0x1e,0x00,0x29, +0x00,0xf3,0xba,0x00,0x0e,0x00,0x06,0x00,0x03,0x2b,0xb8,0x00,0x0e,0x10,0xba,0x00, +0x20,0x00,0x1c,0x00,0x03,0x2b,0xb8,0x00,0x20,0x10,0xba,0x00,0x00,0x00,0x14,0x00, +0x03,0x2b,0xb8,0x00,0x00,0x10,0x41,0x1b,0x00,0x16,0x00,0x0e,0x00,0x26,0x00,0x0e, +0x00,0x36,0x00,0x0e,0x00,0x46,0x00,0x0e,0x00,0x56,0x00,0x0e,0x00,0x66,0x00,0x0e, +0x00,0x76,0x00,0x0e,0x00,0x86,0x00,0x0e,0x00,0x96,0x00,0x0e,0x00,0xa6,0x00,0x0e, +0x00,0xb6,0x00,0x0e,0x00,0xc6,0x00,0x0e,0x00,0xd6,0x00,0x0e,0x00,0x0d,0x5d,0x41, +0x05,0x00,0xe5,0x00,0x0e,0x00,0xf5,0x00,0x0e,0x00,0x02,0x5d,0x41,0x05,0x00,0xea, +0x00,0x14,0x00,0xfa,0x00,0x14,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x14,0x00, +0x29,0x00,0x14,0x00,0x39,0x00,0x14,0x00,0x49,0x00,0x14,0x00,0x59,0x00,0x14,0x00, +0x69,0x00,0x14,0x00,0x79,0x00,0x14,0x00,0x89,0x00,0x14,0x00,0x99,0x00,0x14,0x00, +0xa9,0x00,0x14,0x00,0xb9,0x00,0x14,0x00,0xc9,0x00,0x14,0x00,0xd9,0x00,0x14,0x00, +0x0d,0x5d,0xb8,0x00,0x20,0x10,0xb8,0x00,0x24,0xd0,0xb8,0x00,0x1c,0x10,0xb8,0x00, +0x26,0xd0,0x00,0xba,0x00,0x11,0x00,0x03,0x00,0x03,0x2b,0xb8,0x00,0x11,0x10,0xba, +0x00,0x0a,0x00,0x18,0x00,0x03,0x2b,0xb8,0x00,0x0a,0x10,0xba,0x00,0x22,0x00,0x23, +0x00,0x03,0x2b,0xb8,0x00,0x22,0x10,0xb8,0x00,0x1d,0xd0,0xb8,0x00,0x23,0x10,0xb8, +0x00,0x27,0xd0,0x30,0x31,0x01,0x10,0x00,0x21,0x20,0x00,0x11,0x34,0x12,0x24,0x33, +0x32,0x04,0x12,0x05,0x10,0x00,0x21,0x20,0x00,0x11,0x34,0x02,0x24,0x23,0x22,0x04, +0x02,0x25,0x01,0x21,0x03,0x33,0x11,0x33,0x15,0x23,0x15,0x23,0x35,0x21,0x35,0x06, +0x94,0xfe,0x3f,0xfe,0xc2,0xfe,0xc4,0xfe,0x3f,0xce,0x01,0x71,0xbe,0xc1,0x01,0x71, +0xcd,0xfa,0x57,0x01,0x8f,0x01,0x1c,0x01,0x1c,0x01,0x8f,0xb6,0xfe,0xb8,0xad,0xad, +0xfe,0xb8,0xb6,0x02,0xbf,0xfe,0xf3,0x01,0x0d,0x18,0xce,0x8d,0x8d,0xb6,0xfe,0x43, +0x02,0xea,0xfe,0xc1,0xfe,0x41,0x01,0xbf,0x01,0x3f,0xc6,0x01,0x72,0xc6,0xc6,0xfe, +0x90,0xc8,0xfe,0xe4,0xfe,0x70,0x01,0x90,0x01,0x1c,0xb3,0x01,0x47,0xb1,0xb1,0xfe, +0xb9,0x4f,0xfe,0x82,0x02,0x48,0xfd,0xb8,0x8d,0xd3,0xd3,0x8e,0x00,0x03,0x00,0x98, +0xff,0xec,0x06,0x94,0x05,0xe8,0x00,0x0d,0x00,0x1b,0x00,0x39,0x01,0x4b,0xba,0x00, +0x0e,0x00,0x06,0x00,0x03,0x2b,0xb8,0x00,0x0e,0x10,0xba,0x00,0x1f,0x00,0x1c,0x00, +0x03,0x2b,0xb8,0x00,0x1f,0x10,0xba,0x00,0x26,0x00,0x33,0x00,0x03,0x2b,0xb8,0x00, +0x26,0x10,0xba,0x00,0x00,0x00,0x14,0x00,0x03,0x2b,0xb8,0x00,0x00,0x10,0x41,0x1b, +0x00,0x16,0x00,0x0e,0x00,0x26,0x00,0x0e,0x00,0x36,0x00,0x0e,0x00,0x46,0x00,0x0e, +0x00,0x56,0x00,0x0e,0x00,0x66,0x00,0x0e,0x00,0x76,0x00,0x0e,0x00,0x86,0x00,0x0e, +0x00,0x96,0x00,0x0e,0x00,0xa6,0x00,0x0e,0x00,0xb6,0x00,0x0e,0x00,0xc6,0x00,0x0e, +0x00,0xd6,0x00,0x0e,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x0e,0x00,0xf5,0x00, +0x0e,0x00,0x02,0x5d,0x41,0x05,0x00,0xea,0x00,0x14,0x00,0xfa,0x00,0x14,0x00,0x02, +0x5d,0x41,0x1b,0x00,0x19,0x00,0x14,0x00,0x29,0x00,0x14,0x00,0x39,0x00,0x14,0x00, +0x49,0x00,0x14,0x00,0x59,0x00,0x14,0x00,0x69,0x00,0x14,0x00,0x79,0x00,0x14,0x00, +0x89,0x00,0x14,0x00,0x99,0x00,0x14,0x00,0xa9,0x00,0x14,0x00,0xb9,0x00,0x14,0x00, +0xc9,0x00,0x14,0x00,0xd9,0x00,0x14,0x00,0x0d,0x5d,0xba,0x00,0x2d,0x00,0x06,0x00, +0x00,0x11,0x12,0x39,0x41,0x05,0x00,0xea,0x00,0x33,0x00,0xfa,0x00,0x33,0x00,0x02, +0x5d,0x41,0x1b,0x00,0x19,0x00,0x33,0x00,0x29,0x00,0x33,0x00,0x39,0x00,0x33,0x00, +0x49,0x00,0x33,0x00,0x59,0x00,0x33,0x00,0x69,0x00,0x33,0x00,0x79,0x00,0x33,0x00, +0x89,0x00,0x33,0x00,0x99,0x00,0x33,0x00,0xa9,0x00,0x33,0x00,0xb9,0x00,0x33,0x00, +0xc9,0x00,0x33,0x00,0xd9,0x00,0x33,0x00,0x0d,0x5d,0x00,0xba,0x00,0x11,0x00,0x03, +0x00,0x03,0x2b,0xb8,0x00,0x11,0x10,0xba,0x00,0x0a,0x00,0x18,0x00,0x03,0x2b,0xb8, +0x00,0x0a,0x10,0xba,0x00,0x30,0x00,0x29,0x00,0x03,0x2b,0xb8,0x00,0x30,0x10,0xba, +0x00,0x1d,0x00,0x1e,0x00,0x03,0x2b,0xb8,0x00,0x1d,0x10,0xba,0x00,0x23,0x00,0x36, +0x00,0x03,0x2b,0xb8,0x00,0x23,0x10,0x30,0x31,0x01,0x10,0x00,0x21,0x20,0x00,0x11, +0x34,0x12,0x24,0x33,0x32,0x04,0x12,0x05,0x10,0x00,0x21,0x20,0x00,0x11,0x34,0x02, +0x24,0x23,0x22,0x04,0x02,0x01,0x21,0x15,0x21,0x15,0x06,0x36,0x33,0x32,0x16,0x15, +0x14,0x06,0x23,0x22,0x26,0x27,0x35,0x1e,0x01,0x33,0x32,0x36,0x35,0x34,0x26,0x23, +0x22,0x06,0x07,0x06,0x94,0xfe,0x3f,0xfe,0xc2,0xfe,0xc4,0xfe,0x3f,0xce,0x01,0x71, +0xbe,0xc1,0x01,0x71,0xcd,0xfa,0x57,0x01,0x8f,0x01,0x1c,0x01,0x1c,0x01,0x8f,0xb6, +0xfe,0xb8,0xad,0xad,0xfe,0xb8,0xb6,0x01,0x98,0x02,0x3d,0xfe,0x6f,0x03,0x3f,0x1f, +0xb0,0xcf,0xd5,0xbe,0x40,0x85,0x58,0x5f,0x77,0x44,0x68,0x76,0x76,0x68,0x32,0x65, +0x59,0x02,0xea,0xfe,0xc1,0xfe,0x41,0x01,0xbf,0x01,0x3f,0xc6,0x01,0x72,0xc6,0xc6, +0xfe,0x90,0xc8,0xfe,0xe4,0xfe,0x70,0x01,0x90,0x01,0x1c,0xb3,0x01,0x47,0xb1,0xb1, +0xfe,0xb9,0x01,0x19,0x8e,0xab,0x01,0x0a,0xb0,0x95,0x98,0xac,0x14,0x18,0xac,0x2f, +0x1b,0x61,0x55,0x56,0x61,0x14,0x25,0x00,0x00,0x04,0x00,0x98,0xff,0xec,0x06,0x94, +0x05,0xe8,0x00,0x0d,0x00,0x1b,0x00,0x27,0x00,0x40,0x01,0x91,0xba,0x00,0x0e,0x00, +0x06,0x00,0x03,0x2b,0xb8,0x00,0x0e,0x10,0xba,0x00,0x1f,0x00,0x3b,0x00,0x03,0x2b, +0xb8,0x00,0x1f,0x10,0xba,0x00,0x35,0x00,0x25,0x00,0x03,0x2b,0xb8,0x00,0x35,0x10, +0xba,0x00,0x00,0x00,0x14,0x00,0x03,0x2b,0xb8,0x00,0x00,0x10,0x41,0x1b,0x00,0x16, +0x00,0x0e,0x00,0x26,0x00,0x0e,0x00,0x36,0x00,0x0e,0x00,0x46,0x00,0x0e,0x00,0x56, +0x00,0x0e,0x00,0x66,0x00,0x0e,0x00,0x76,0x00,0x0e,0x00,0x86,0x00,0x0e,0x00,0x96, +0x00,0x0e,0x00,0xa6,0x00,0x0e,0x00,0xb6,0x00,0x0e,0x00,0xc6,0x00,0x0e,0x00,0xd6, +0x00,0x0e,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x0e,0x00,0xf5,0x00,0x0e,0x00, +0x02,0x5d,0x41,0x05,0x00,0xea,0x00,0x14,0x00,0xfa,0x00,0x14,0x00,0x02,0x5d,0x41, +0x1b,0x00,0x19,0x00,0x14,0x00,0x29,0x00,0x14,0x00,0x39,0x00,0x14,0x00,0x49,0x00, +0x14,0x00,0x59,0x00,0x14,0x00,0x69,0x00,0x14,0x00,0x79,0x00,0x14,0x00,0x89,0x00, +0x14,0x00,0x99,0x00,0x14,0x00,0xa9,0x00,0x14,0x00,0xb9,0x00,0x14,0x00,0xc9,0x00, +0x14,0x00,0xd9,0x00,0x14,0x00,0x0d,0x5d,0x41,0x1b,0x00,0x16,0x00,0x1f,0x00,0x26, +0x00,0x1f,0x00,0x36,0x00,0x1f,0x00,0x46,0x00,0x1f,0x00,0x56,0x00,0x1f,0x00,0x66, +0x00,0x1f,0x00,0x76,0x00,0x1f,0x00,0x86,0x00,0x1f,0x00,0x96,0x00,0x1f,0x00,0xa6, +0x00,0x1f,0x00,0xb6,0x00,0x1f,0x00,0xc6,0x00,0x1f,0x00,0xd6,0x00,0x1f,0x00,0x0d, +0x5d,0x41,0x05,0x00,0xe5,0x00,0x1f,0x00,0xf5,0x00,0x1f,0x00,0x02,0x5d,0x41,0x05, +0x00,0xea,0x00,0x25,0x00,0xfa,0x00,0x25,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00, +0x25,0x00,0x29,0x00,0x25,0x00,0x39,0x00,0x25,0x00,0x49,0x00,0x25,0x00,0x59,0x00, +0x25,0x00,0x69,0x00,0x25,0x00,0x79,0x00,0x25,0x00,0x89,0x00,0x25,0x00,0x99,0x00, +0x25,0x00,0xa9,0x00,0x25,0x00,0xb9,0x00,0x25,0x00,0xc9,0x00,0x25,0x00,0xd9,0x00, +0x25,0x00,0x0d,0x5d,0xba,0x00,0x29,0x00,0x25,0x00,0x35,0x11,0x12,0x39,0x00,0xba, +0x00,0x11,0x00,0x03,0x00,0x03,0x2b,0xb8,0x00,0x11,0x10,0xba,0x00,0x0a,0x00,0x18, +0x00,0x03,0x2b,0xb8,0x00,0x0a,0x10,0xba,0x00,0x22,0x00,0x38,0x00,0x03,0x2b,0xb8, +0x00,0x22,0x10,0xba,0x00,0x3e,0x00,0x2c,0x00,0x03,0x2b,0xb8,0x00,0x3e,0x10,0xba, +0x00,0x32,0x00,0x1c,0x00,0x03,0x2b,0xb8,0x00,0x32,0x10,0x30,0x31,0x01,0x10,0x00, +0x21,0x20,0x00,0x11,0x34,0x12,0x24,0x33,0x32,0x04,0x12,0x05,0x10,0x00,0x21,0x20, +0x00,0x11,0x34,0x02,0x24,0x23,0x22,0x04,0x02,0x05,0x22,0x06,0x15,0x14,0x16,0x33, +0x32,0x36,0x35,0x34,0x26,0x13,0x15,0x2e,0x01,0x23,0x22,0x06,0x07,0x06,0x36,0x33, +0x32,0x16,0x15,0x14,0x06,0x23,0x22,0x26,0x35,0x34,0x12,0x33,0x32,0x16,0x06,0x94, +0xfe,0x3f,0xfe,0xc2,0xfe,0xc4,0xfe,0x3f,0xce,0x01,0x71,0xbe,0xc1,0x01,0x71,0xcd, +0xfa,0x57,0x01,0x8f,0x01,0x1c,0x01,0x1c,0x01,0x8f,0xb6,0xfe,0xb8,0xad,0xad,0xfe, +0xb8,0xb6,0x02,0xa1,0x4e,0x5c,0x5c,0x4e,0x4e,0x5c,0x5c,0xd4,0x54,0x61,0x2f,0x77, +0x7f,0x05,0x09,0x80,0x4e,0xa0,0xba,0xc2,0xa0,0xb9,0xc0,0xea,0xc8,0x35,0x6a,0x02, +0xea,0xfe,0xc1,0xfe,0x41,0x01,0xbf,0x01,0x3f,0xc6,0x01,0x72,0xc6,0xc6,0xfe,0x90, +0xc8,0xfe,0xe4,0xfe,0x70,0x01,0x90,0x01,0x1c,0xb3,0x01,0x47,0xb1,0xb1,0xfe,0xb9, +0x9f,0x62,0x5b,0x5a,0x62,0x62,0x5a,0x5b,0x62,0x01,0x9d,0x9c,0x23,0x16,0x94,0x50, +0x0b,0x3d,0xb1,0x94,0x91,0xb3,0xfd,0xe7,0xda,0x01,0x0b,0x13,0x00,0x03,0x00,0x98, +0xff,0xec,0x06,0x94,0x05,0xe8,0x00,0x0d,0x00,0x1b,0x00,0x22,0x00,0xeb,0xb8,0x00, +0x23,0x2f,0xb8,0x00,0x24,0x2f,0xb8,0x00,0x00,0xdc,0xb8,0x00,0x23,0x10,0xb8,0x00, +0x06,0xd0,0xb8,0x00,0x06,0x2f,0xb8,0x00,0x0e,0xdc,0x41,0x1b,0x00,0x16,0x00,0x0e, +0x00,0x26,0x00,0x0e,0x00,0x36,0x00,0x0e,0x00,0x46,0x00,0x0e,0x00,0x56,0x00,0x0e, +0x00,0x66,0x00,0x0e,0x00,0x76,0x00,0x0e,0x00,0x86,0x00,0x0e,0x00,0x96,0x00,0x0e, +0x00,0xa6,0x00,0x0e,0x00,0xb6,0x00,0x0e,0x00,0xc6,0x00,0x0e,0x00,0xd6,0x00,0x0e, +0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x0e,0x00,0xf5,0x00,0x0e,0x00,0x02,0x5d, +0xb8,0x00,0x00,0x10,0xb8,0x00,0x14,0xdc,0x41,0x05,0x00,0xea,0x00,0x14,0x00,0xfa, +0x00,0x14,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x14,0x00,0x29,0x00,0x14,0x00, +0x39,0x00,0x14,0x00,0x49,0x00,0x14,0x00,0x59,0x00,0x14,0x00,0x69,0x00,0x14,0x00, +0x79,0x00,0x14,0x00,0x89,0x00,0x14,0x00,0x99,0x00,0x14,0x00,0xa9,0x00,0x14,0x00, +0xb9,0x00,0x14,0x00,0xc9,0x00,0x14,0x00,0xd9,0x00,0x14,0x00,0x0d,0x5d,0xba,0x00, +0x20,0x00,0x06,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x21,0x00,0x06,0x00,0x00,0x11, +0x12,0x39,0x00,0xba,0x00,0x11,0x00,0x03,0x00,0x03,0x2b,0xb8,0x00,0x11,0x10,0xba, +0x00,0x0a,0x00,0x18,0x00,0x03,0x2b,0xb8,0x00,0x0a,0x10,0xba,0x00,0x1d,0x00,0x21, +0x00,0x03,0x2b,0xb8,0x00,0x1d,0x10,0x30,0x31,0x01,0x10,0x00,0x21,0x20,0x00,0x11, +0x34,0x12,0x24,0x33,0x32,0x04,0x12,0x05,0x10,0x00,0x21,0x20,0x00,0x11,0x34,0x02, +0x24,0x23,0x22,0x04,0x02,0x01,0x21,0x15,0x01,0x23,0x01,0x21,0x06,0x94,0xfe,0x3f, +0xfe,0xc2,0xfe,0xc4,0xfe,0x3f,0xce,0x01,0x71,0xbe,0xc1,0x01,0x71,0xcd,0xfa,0x57, +0x01,0x8f,0x01,0x1c,0x01,0x1c,0x01,0x8f,0xb6,0xfe,0xb8,0xad,0xad,0xfe,0xb8,0xb6, +0x01,0x6b,0x02,0xab,0xfe,0x94,0xc1,0x01,0x51,0xfe,0x31,0x02,0xea,0xfe,0xc1,0xfe, +0x41,0x01,0xbf,0x01,0x3f,0xc6,0x01,0x72,0xc6,0xc6,0xfe,0x90,0xc8,0xfe,0xe4,0xfe, +0x70,0x01,0x90,0x01,0x1c,0xb3,0x01,0x47,0xb1,0xb1,0xfe,0xb9,0x01,0x19,0x4b,0xfc, +0xa3,0x03,0x1a,0x00,0x00,0x05,0x00,0x98,0xff,0xec,0x06,0x94,0x05,0xe8,0x00,0x0d, +0x00,0x1b,0x00,0x27,0x00,0x3f,0x00,0x4b,0x02,0x0d,0xba,0x00,0x0e,0x00,0x06,0x00, +0x03,0x2b,0xb8,0x00,0x0e,0x10,0xba,0x00,0x1f,0x00,0x3d,0x00,0x03,0x2b,0xb8,0x00, +0x1f,0x10,0xba,0x00,0x31,0x00,0x46,0x00,0x03,0x2b,0xb8,0x00,0x31,0x10,0xba,0x00, +0x00,0x00,0x14,0x00,0x03,0x2b,0xb8,0x00,0x00,0x10,0x41,0x1b,0x00,0x16,0x00,0x0e, +0x00,0x26,0x00,0x0e,0x00,0x36,0x00,0x0e,0x00,0x46,0x00,0x0e,0x00,0x56,0x00,0x0e, +0x00,0x66,0x00,0x0e,0x00,0x76,0x00,0x0e,0x00,0x86,0x00,0x0e,0x00,0x96,0x00,0x0e, +0x00,0xa6,0x00,0x0e,0x00,0xb6,0x00,0x0e,0x00,0xc6,0x00,0x0e,0x00,0xd6,0x00,0x0e, +0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x0e,0x00,0xf5,0x00,0x0e,0x00,0x02,0x5d, +0x41,0x05,0x00,0xea,0x00,0x14,0x00,0xfa,0x00,0x14,0x00,0x02,0x5d,0x41,0x1b,0x00, +0x19,0x00,0x14,0x00,0x29,0x00,0x14,0x00,0x39,0x00,0x14,0x00,0x49,0x00,0x14,0x00, +0x59,0x00,0x14,0x00,0x69,0x00,0x14,0x00,0x79,0x00,0x14,0x00,0x89,0x00,0x14,0x00, +0x99,0x00,0x14,0x00,0xa9,0x00,0x14,0x00,0xb9,0x00,0x14,0x00,0xc9,0x00,0x14,0x00, +0xd9,0x00,0x14,0x00,0x0d,0x5d,0x41,0x1b,0x00,0x16,0x00,0x1f,0x00,0x26,0x00,0x1f, +0x00,0x36,0x00,0x1f,0x00,0x46,0x00,0x1f,0x00,0x56,0x00,0x1f,0x00,0x66,0x00,0x1f, +0x00,0x76,0x00,0x1f,0x00,0x86,0x00,0x1f,0x00,0x96,0x00,0x1f,0x00,0xa6,0x00,0x1f, +0x00,0xb6,0x00,0x1f,0x00,0xc6,0x00,0x1f,0x00,0xd6,0x00,0x1f,0x00,0x0d,0x5d,0x41, +0x05,0x00,0xe5,0x00,0x1f,0x00,0xf5,0x00,0x1f,0x00,0x02,0x5d,0x41,0x05,0x00,0xea, +0x00,0x46,0x00,0xfa,0x00,0x46,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x46,0x00, +0x29,0x00,0x46,0x00,0x39,0x00,0x46,0x00,0x49,0x00,0x46,0x00,0x59,0x00,0x46,0x00, +0x69,0x00,0x46,0x00,0x79,0x00,0x46,0x00,0x89,0x00,0x46,0x00,0x99,0x00,0x46,0x00, +0xa9,0x00,0x46,0x00,0xb9,0x00,0x46,0x00,0xc9,0x00,0x46,0x00,0xd9,0x00,0x46,0x00, +0x0d,0x5d,0xba,0x00,0x25,0x00,0x46,0x00,0x31,0x11,0x12,0x39,0xb8,0x00,0x25,0x2f, +0x41,0x05,0x00,0xea,0x00,0x25,0x00,0xfa,0x00,0x25,0x00,0x02,0x5d,0x41,0x1b,0x00, +0x19,0x00,0x25,0x00,0x29,0x00,0x25,0x00,0x39,0x00,0x25,0x00,0x49,0x00,0x25,0x00, +0x59,0x00,0x25,0x00,0x69,0x00,0x25,0x00,0x79,0x00,0x25,0x00,0x89,0x00,0x25,0x00, +0x99,0x00,0x25,0x00,0xa9,0x00,0x25,0x00,0xb9,0x00,0x25,0x00,0xc9,0x00,0x25,0x00, +0xd9,0x00,0x25,0x00,0x0d,0x5d,0xba,0x00,0x2b,0x00,0x3d,0x00,0x1f,0x11,0x12,0x39, +0xb8,0x00,0x2b,0x2f,0xba,0x00,0x34,0x00,0x46,0x00,0x31,0x11,0x12,0x39,0xb8,0x00, +0x25,0x10,0xb8,0x00,0x37,0xdc,0xb8,0x00,0x2b,0x10,0xb8,0x00,0x40,0xdc,0x00,0xba, +0x00,0x11,0x00,0x03,0x00,0x03,0x2b,0xb8,0x00,0x11,0x10,0xba,0x00,0x0a,0x00,0x18, +0x00,0x03,0x2b,0xb8,0x00,0x0a,0x10,0xba,0x00,0x22,0x00,0x3a,0x00,0x03,0x2b,0xb8, +0x00,0x22,0x10,0xba,0x00,0x2e,0x00,0x49,0x00,0x03,0x2b,0xb8,0x00,0x2e,0x10,0xba, +0x00,0x43,0x00,0x1c,0x00,0x03,0x2b,0xb8,0x00,0x43,0x10,0xba,0x00,0x34,0x00,0x1c, +0x00,0x43,0x11,0x12,0x39,0x30,0x31,0x01,0x10,0x00,0x21,0x20,0x00,0x11,0x34,0x12, +0x24,0x33,0x32,0x04,0x12,0x05,0x10,0x00,0x21,0x20,0x00,0x11,0x34,0x02,0x24,0x23, +0x22,0x04,0x02,0x05,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x25, +0x2e,0x01,0x35,0x34,0x36,0x33,0x32,0x16,0x15,0x14,0x06,0x07,0x1e,0x01,0x15,0x14, +0x06,0x23,0x22,0x26,0x35,0x34,0x36,0x37,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26, +0x23,0x22,0x06,0x06,0x94,0xfe,0x3f,0xfe,0xc2,0xfe,0xc4,0xfe,0x3f,0xce,0x01,0x71, +0xbe,0xc1,0x01,0x71,0xcd,0xfa,0x57,0x01,0x8f,0x01,0x1c,0x01,0x1c,0x01,0x8f,0xb6, +0xfe,0xb8,0xad,0xad,0xfe,0xb8,0xb6,0x02,0xaf,0x54,0x5f,0x5f,0x54,0x54,0x5f,0x5f, +0xfe,0xc6,0x04,0x6a,0xb7,0x9d,0x9d,0xb6,0x69,0x04,0x0f,0x76,0xbe,0xad,0xad,0xbe, +0x76,0x57,0x51,0x4d,0x4b,0x52,0x52,0x4b,0x4d,0x51,0x02,0xea,0xfe,0xc1,0xfe,0x41, +0x01,0xbf,0x01,0x3f,0xc6,0x01,0x72,0xc6,0xc6,0xfe,0x90,0xc8,0xfe,0xe4,0xfe,0x70, +0x01,0x90,0x01,0x1c,0xb3,0x01,0x47,0xb1,0xb1,0xfe,0xb9,0xe6,0x50,0x49,0x49,0x50, +0x51,0x48,0x49,0x50,0x49,0x01,0x76,0x53,0x74,0x88,0x88,0x74,0x53,0x76,0x01,0x03, +0x83,0x5c,0x8a,0x97,0x97,0x8a,0x5c,0x83,0xc1,0x3d,0x42,0x42,0x3d,0x3e,0x42,0x42, +0x00,0x04,0x00,0x98,0xff,0xec,0x06,0x94,0x05,0xe8,0x00,0x0d,0x00,0x1b,0x00,0x34, +0x00,0x40,0x01,0x91,0xba,0x00,0x0e,0x00,0x06,0x00,0x03,0x2b,0xb8,0x00,0x0e,0x10, +0xba,0x00,0x3e,0x00,0x29,0x00,0x03,0x2b,0xb8,0x00,0x3e,0x10,0xba,0x00,0x00,0x00, +0x14,0x00,0x03,0x2b,0xb8,0x00,0x00,0x10,0xba,0x00,0x2f,0x00,0x38,0x00,0x03,0x2b, +0xb8,0x00,0x2f,0x10,0x41,0x1b,0x00,0x16,0x00,0x0e,0x00,0x26,0x00,0x0e,0x00,0x36, +0x00,0x0e,0x00,0x46,0x00,0x0e,0x00,0x56,0x00,0x0e,0x00,0x66,0x00,0x0e,0x00,0x76, +0x00,0x0e,0x00,0x86,0x00,0x0e,0x00,0x96,0x00,0x0e,0x00,0xa6,0x00,0x0e,0x00,0xb6, +0x00,0x0e,0x00,0xc6,0x00,0x0e,0x00,0xd6,0x00,0x0e,0x00,0x0d,0x5d,0x41,0x05,0x00, +0xe5,0x00,0x0e,0x00,0xf5,0x00,0x0e,0x00,0x02,0x5d,0x41,0x05,0x00,0xea,0x00,0x14, +0x00,0xfa,0x00,0x14,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x14,0x00,0x29,0x00, +0x14,0x00,0x39,0x00,0x14,0x00,0x49,0x00,0x14,0x00,0x59,0x00,0x14,0x00,0x69,0x00, +0x14,0x00,0x79,0x00,0x14,0x00,0x89,0x00,0x14,0x00,0x99,0x00,0x14,0x00,0xa9,0x00, +0x14,0x00,0xb9,0x00,0x14,0x00,0xc9,0x00,0x14,0x00,0xd9,0x00,0x14,0x00,0x0d,0x5d, +0x41,0x1b,0x00,0x16,0x00,0x3e,0x00,0x26,0x00,0x3e,0x00,0x36,0x00,0x3e,0x00,0x46, +0x00,0x3e,0x00,0x56,0x00,0x3e,0x00,0x66,0x00,0x3e,0x00,0x76,0x00,0x3e,0x00,0x86, +0x00,0x3e,0x00,0x96,0x00,0x3e,0x00,0xa6,0x00,0x3e,0x00,0xb6,0x00,0x3e,0x00,0xc6, +0x00,0x3e,0x00,0xd6,0x00,0x3e,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x3e,0x00, +0xf5,0x00,0x3e,0x00,0x02,0x5d,0xba,0x00,0x1d,0x00,0x29,0x00,0x3e,0x11,0x12,0x39, +0x41,0x05,0x00,0xea,0x00,0x38,0x00,0xfa,0x00,0x38,0x00,0x02,0x5d,0x41,0x1b,0x00, +0x19,0x00,0x38,0x00,0x29,0x00,0x38,0x00,0x39,0x00,0x38,0x00,0x49,0x00,0x38,0x00, +0x59,0x00,0x38,0x00,0x69,0x00,0x38,0x00,0x79,0x00,0x38,0x00,0x89,0x00,0x38,0x00, +0x99,0x00,0x38,0x00,0xa9,0x00,0x38,0x00,0xb9,0x00,0x38,0x00,0xc9,0x00,0x38,0x00, +0xd9,0x00,0x38,0x00,0x0d,0x5d,0x00,0xba,0x00,0x11,0x00,0x03,0x00,0x03,0x2b,0xb8, +0x00,0x11,0x10,0xba,0x00,0x0a,0x00,0x18,0x00,0x03,0x2b,0xb8,0x00,0x0a,0x10,0xba, +0x00,0x20,0x00,0x32,0x00,0x03,0x2b,0xb8,0x00,0x20,0x10,0xba,0x00,0x2c,0x00,0x3b, +0x00,0x03,0x2b,0xb8,0x00,0x2c,0x10,0xba,0x00,0x35,0x00,0x26,0x00,0x03,0x2b,0xb8, +0x00,0x35,0x10,0x30,0x31,0x01,0x10,0x00,0x21,0x20,0x00,0x11,0x34,0x12,0x24,0x33, +0x32,0x04,0x12,0x05,0x10,0x00,0x21,0x20,0x00,0x11,0x34,0x02,0x24,0x23,0x22,0x04, +0x02,0x01,0x35,0x1e,0x01,0x33,0x32,0x36,0x37,0x36,0x06,0x23,0x22,0x26,0x35,0x34, +0x36,0x33,0x32,0x16,0x15,0x14,0x02,0x23,0x22,0x26,0x13,0x32,0x36,0x35,0x34,0x26, +0x23,0x22,0x06,0x15,0x14,0x16,0x06,0x94,0xfe,0x3f,0xfe,0xc2,0xfe,0xc4,0xfe,0x3f, +0xce,0x01,0x71,0xbe,0xc1,0x01,0x71,0xcd,0xfa,0x57,0x01,0x8f,0x01,0x1c,0x01,0x1c, +0x01,0x8f,0xb6,0xfe,0xb8,0xad,0xad,0xfe,0xb8,0xb6,0x01,0x90,0x55,0x61,0x2e,0x77, +0x7f,0x05,0x0a,0x80,0x4f,0x9f,0xba,0xc2,0xa0,0xb9,0xbf,0xe9,0xc8,0x35,0x6b,0xd9, +0x4e,0x5b,0x5b,0x4e,0x4e,0x5c,0x5c,0x02,0xea,0xfe,0xc1,0xfe,0x41,0x01,0xbf,0x01, +0x3f,0xc6,0x01,0x72,0xc6,0xc6,0xfe,0x90,0xc8,0xfe,0xe4,0xfe,0x70,0x01,0x90,0x01, +0x1c,0xb3,0x01,0x47,0xb1,0xb1,0xfe,0xb9,0xfd,0x8b,0x9c,0x24,0x15,0x93,0x4f,0x0d, +0x3c,0xaf,0x94,0x91,0xb4,0xfd,0xe8,0xda,0xfe,0xf6,0x13,0x01,0xb4,0x62,0x5b,0x5b, +0x62,0x62,0x5b,0x5b,0x62,0x00,0x00,0x05,0x00,0x98,0xff,0xec,0x06,0x94,0x05,0xe8, +0x00,0x0d,0x00,0x1b,0x00,0x26,0x00,0x32,0x00,0x3e,0x01,0x9b,0xba,0x00,0x0e,0x00, +0x06,0x00,0x03,0x2b,0xb8,0x00,0x0e,0x10,0xba,0x00,0x23,0x00,0x1d,0x00,0x03,0x2b, +0xb8,0x00,0x23,0x10,0xba,0x00,0x2a,0x00,0x3c,0x00,0x03,0x2b,0xb8,0x00,0x2a,0x10, +0xba,0x00,0x36,0x00,0x30,0x00,0x03,0x2b,0xb8,0x00,0x36,0x10,0xba,0x00,0x00,0x00, +0x14,0x00,0x03,0x2b,0xb8,0x00,0x00,0x10,0x41,0x1b,0x00,0x16,0x00,0x0e,0x00,0x26, +0x00,0x0e,0x00,0x36,0x00,0x0e,0x00,0x46,0x00,0x0e,0x00,0x56,0x00,0x0e,0x00,0x66, +0x00,0x0e,0x00,0x76,0x00,0x0e,0x00,0x86,0x00,0x0e,0x00,0x96,0x00,0x0e,0x00,0xa6, +0x00,0x0e,0x00,0xb6,0x00,0x0e,0x00,0xc6,0x00,0x0e,0x00,0xd6,0x00,0x0e,0x00,0x0d, +0x5d,0x41,0x05,0x00,0xe5,0x00,0x0e,0x00,0xf5,0x00,0x0e,0x00,0x02,0x5d,0x41,0x05, +0x00,0xea,0x00,0x14,0x00,0xfa,0x00,0x14,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00, +0x14,0x00,0x29,0x00,0x14,0x00,0x39,0x00,0x14,0x00,0x49,0x00,0x14,0x00,0x59,0x00, +0x14,0x00,0x69,0x00,0x14,0x00,0x79,0x00,0x14,0x00,0x89,0x00,0x14,0x00,0x99,0x00, +0x14,0x00,0xa9,0x00,0x14,0x00,0xb9,0x00,0x14,0x00,0xc9,0x00,0x14,0x00,0xd9,0x00, +0x14,0x00,0x0d,0x5d,0x41,0x05,0x00,0xea,0x00,0x30,0x00,0xfa,0x00,0x30,0x00,0x02, +0x5d,0x41,0x1b,0x00,0x19,0x00,0x30,0x00,0x29,0x00,0x30,0x00,0x39,0x00,0x30,0x00, +0x49,0x00,0x30,0x00,0x59,0x00,0x30,0x00,0x69,0x00,0x30,0x00,0x79,0x00,0x30,0x00, +0x89,0x00,0x30,0x00,0x99,0x00,0x30,0x00,0xa9,0x00,0x30,0x00,0xb9,0x00,0x30,0x00, +0xc9,0x00,0x30,0x00,0xd9,0x00,0x30,0x00,0x0d,0x5d,0x41,0x05,0x00,0xea,0x00,0x3c, +0x00,0xfa,0x00,0x3c,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x3c,0x00,0x29,0x00, +0x3c,0x00,0x39,0x00,0x3c,0x00,0x49,0x00,0x3c,0x00,0x59,0x00,0x3c,0x00,0x69,0x00, +0x3c,0x00,0x79,0x00,0x3c,0x00,0x89,0x00,0x3c,0x00,0x99,0x00,0x3c,0x00,0xa9,0x00, +0x3c,0x00,0xb9,0x00,0x3c,0x00,0xc9,0x00,0x3c,0x00,0xd9,0x00,0x3c,0x00,0x0d,0x5d, +0x00,0xba,0x00,0x11,0x00,0x03,0x00,0x03,0x2b,0xb8,0x00,0x11,0x10,0xba,0x00,0x0a, +0x00,0x18,0x00,0x03,0x2b,0xb8,0x00,0x0a,0x10,0xba,0x00,0x2d,0x00,0x39,0x00,0x03, +0x2b,0xb8,0x00,0x2d,0x10,0xba,0x00,0x24,0x00,0x25,0x00,0x03,0x2b,0xb8,0x00,0x24, +0x10,0xba,0x00,0x33,0x00,0x27,0x00,0x03,0x2b,0xb8,0x00,0x33,0x10,0xb8,0x00,0x24, +0x10,0xb8,0x00,0x1c,0xd0,0x30,0x31,0x01,0x10,0x00,0x21,0x20,0x00,0x11,0x34,0x12, +0x24,0x33,0x32,0x04,0x12,0x05,0x10,0x00,0x21,0x20,0x00,0x11,0x34,0x02,0x24,0x23, +0x22,0x04,0x02,0x13,0x33,0x11,0x07,0x35,0x37,0x33,0x11,0x33,0x15,0x21,0x01,0x22, +0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x27,0x32,0x16,0x15,0x14,0x06, +0x23,0x22,0x26,0x35,0x34,0x36,0x06,0x94,0xfe,0x3f,0xfe,0xc2,0xfe,0xc4,0xfe,0x3f, +0xce,0x01,0x71,0xbe,0xc1,0x01,0x71,0xcd,0xfa,0x57,0x01,0x8f,0x01,0x1c,0x01,0x1c, +0x01,0x8f,0xb6,0xfe,0xb8,0xad,0xad,0xfe,0xb8,0xb6,0xcd,0x9e,0xac,0xbc,0x75,0x9f, +0xfe,0x3e,0x03,0x04,0x40,0x45,0x45,0x40,0x3f,0x46,0x46,0x3f,0x82,0x88,0x88,0x82, +0x83,0x88,0x88,0x02,0xea,0xfe,0xc1,0xfe,0x41,0x01,0xbf,0x01,0x3f,0xc6,0x01,0x72, +0xc6,0xc6,0xfe,0x90,0xc8,0xfe,0xe4,0xfe,0x70,0x01,0x90,0x01,0x1c,0xb3,0x01,0x47, +0xb1,0xb1,0xfe,0xb9,0xfe,0x3e,0x02,0x3e,0x27,0x89,0x2a,0xfd,0x36,0x80,0x02,0xde, +0x97,0xa3,0xa2,0x97,0x97,0xa2,0xa3,0x97,0x7b,0xe4,0xd1,0xd0,0xe4,0xe4,0xd0,0xd1, +0xe4,0x00,0xff,0xff,0xff,0xec,0x02,0x14,0x06,0x3b,0x06,0x28,0x10,0x07,0x09,0x1f, +0x00,0x00,0x04,0x14,0x00,0x01,0xff,0xec,0xfe,0x00,0x06,0x3b,0xff,0x05,0x00,0x03, +0x00,0x00,0x03,0x11,0x21,0x11,0x14,0x06,0x4f,0xfe,0x00,0x01,0x05,0xfe,0xfb,0x00, +0x00,0x01,0xff,0xec,0xfe,0x00,0x06,0x3b,0xff,0xf6,0x00,0x03,0x00,0x00,0x03,0x11, +0x21,0x11,0x14,0x06,0x4f,0xfe,0x00,0x01,0xf6,0xfe,0x0a,0x00,0x00,0x01,0xff,0xec, +0xfe,0x00,0x06,0x3b,0x01,0x0f,0x00,0x03,0x00,0x00,0x03,0x11,0x21,0x11,0x14,0x06, +0x4f,0xfe,0x00,0x03,0x0f,0xfc,0xf1,0x00,0x00,0x01,0xff,0xec,0xfe,0x00,0x06,0x3b, +0x02,0x14,0x00,0x03,0x00,0x00,0x03,0x11,0x21,0x11,0x14,0x06,0x4f,0xfe,0x00,0x04, +0x14,0xfb,0xec,0x00,0x00,0x01,0xff,0xec,0xfe,0x00,0x06,0x3b,0x03,0x19,0x00,0x03, +0x00,0x00,0x03,0x11,0x21,0x11,0x14,0x06,0x4f,0xfe,0x00,0x05,0x19,0xfa,0xe7,0x00, +0x00,0x01,0xff,0xec,0xfe,0x00,0x06,0x3b,0x04,0x1e,0x00,0x03,0x00,0x00,0x03,0x11, +0x21,0x11,0x14,0x06,0x4f,0xfe,0x00,0x06,0x1e,0xf9,0xe2,0x00,0x00,0x01,0xff,0xec, +0xfe,0x00,0x06,0x3b,0x05,0x23,0x00,0x03,0x00,0x00,0x03,0x11,0x21,0x11,0x14,0x06, +0x4f,0xfe,0x00,0x07,0x23,0xf8,0xdd,0x00,0x00,0x01,0xff,0xec,0xfe,0x00,0x06,0x3b, +0x06,0x28,0x00,0x03,0x00,0x00,0x03,0x11,0x21,0x11,0x14,0x06,0x4f,0xfe,0x00,0x08, +0x28,0xf7,0xd8,0x00,0x00,0x01,0xff,0xec,0xfe,0x00,0x05,0x71,0x06,0x28,0x00,0x03, +0x00,0x00,0x03,0x11,0x21,0x11,0x14,0x05,0x85,0xfe,0x00,0x08,0x28,0xf7,0xd8,0x00, +0x00,0x01,0xff,0xec,0xfe,0x00,0x04,0xa7,0x06,0x28,0x00,0x03,0x00,0x00,0x03,0x11, +0x21,0x11,0x14,0x04,0xbb,0xfe,0x00,0x08,0x28,0xf7,0xd8,0x00,0x00,0x01,0xff,0xec, +0xfe,0x00,0x03,0xdd,0x06,0x28,0x00,0x03,0x00,0x00,0x03,0x11,0x21,0x11,0x14,0x03, +0xf1,0xfe,0x00,0x08,0x28,0xf7,0xd8,0x00,0x00,0x01,0xff,0xec,0xfe,0x00,0x03,0x13, +0x06,0x28,0x00,0x03,0x00,0x00,0x03,0x11,0x21,0x11,0x14,0x03,0x27,0xfe,0x00,0x08, +0x28,0xf7,0xd8,0x00,0x00,0x01,0xff,0xec,0xfe,0x00,0x02,0x49,0x06,0x28,0x00,0x03, +0x00,0x00,0x03,0x11,0x21,0x11,0x14,0x02,0x5d,0xfe,0x00,0x08,0x28,0xf7,0xd8,0x00, +0x00,0x01,0xff,0xec,0xfe,0x00,0x01,0x7f,0x06,0x28,0x00,0x03,0x00,0x00,0x03,0x11, +0x21,0x11,0x14,0x01,0x93,0xfe,0x00,0x08,0x28,0xf7,0xd8,0x00,0x00,0x01,0xff,0xec, +0xfe,0x00,0x00,0xb5,0x06,0x28,0x00,0x03,0x00,0x00,0x03,0x11,0x33,0x11,0x14,0xc9, +0xfe,0x00,0x08,0x28,0xf7,0xd8,0xff,0xff,0x03,0x13,0xfe,0x00,0x06,0x3a,0x06,0x28, +0x10,0x07,0x09,0x27,0x03,0x27,0x00,0x00,0x00,0x0c,0xff,0xec,0xfe,0x00,0x05,0x71, +0x06,0x28,0x00,0x03,0x00,0x07,0x00,0x0b,0x00,0x0f,0x00,0x13,0x00,0x17,0x00,0x1b, +0x00,0x1f,0x00,0x23,0x00,0x27,0x00,0x2b,0x00,0x2f,0x00,0x00,0x01,0x11,0x33,0x11, +0x21,0x11,0x33,0x11,0x13,0x11,0x33,0x11,0x21,0x11,0x33,0x11,0x01,0x11,0x33,0x11, +0x21,0x11,0x33,0x11,0x13,0x11,0x33,0x11,0x21,0x11,0x33,0x11,0x01,0x11,0x33,0x11, +0x21,0x11,0x33,0x11,0x13,0x11,0x33,0x11,0x21,0x11,0x33,0x11,0x04,0xa7,0xca,0xfc, +0x0e,0xca,0xca,0xca,0xfc,0x0f,0xc9,0x03,0xf2,0xca,0xfc,0x0e,0xca,0xca,0xca,0xfc, +0x0f,0xc9,0x03,0xf2,0xca,0xfc,0x0e,0xca,0xca,0xca,0xfc,0x0f,0xc9,0xfe,0x00,0x01, +0x05,0xfe,0xfb,0x01,0x05,0xfe,0xfb,0x01,0x6d,0x01,0x05,0xfe,0xfb,0x01,0x05,0xfe, +0xfb,0x01,0x6e,0x01,0x05,0xfe,0xfb,0x01,0x05,0xfe,0xfb,0x01,0x6d,0x01,0x05,0xfe, +0xfb,0x01,0x05,0xfe,0xfb,0x01,0x6e,0x01,0x05,0xfe,0xfb,0x01,0x05,0xfe,0xfb,0x01, +0x6d,0x01,0x05,0xfe,0xfb,0x01,0x05,0xfe,0xfb,0x00,0x00,0x04,0xff,0xec,0xfe,0x00, +0x06,0x3b,0x06,0x28,0x00,0x12,0x00,0x25,0x00,0x38,0x00,0x4b,0x00,0x00,0x01,0x11, +0x23,0x11,0x21,0x11,0x31,0x21,0x11,0x21,0x11,0x21,0x11,0x21,0x11,0x21,0x11,0x21, +0x11,0x21,0x11,0x23,0x11,0x21,0x11,0x31,0x21,0x11,0x21,0x11,0x21,0x11,0x21,0x11, +0x21,0x11,0x21,0x11,0x21,0x11,0x23,0x11,0x21,0x11,0x31,0x21,0x11,0x21,0x11,0x21, +0x11,0x21,0x11,0x21,0x11,0x21,0x11,0x21,0x11,0x23,0x11,0x21,0x11,0x31,0x21,0x11, +0x21,0x11,0x21,0x11,0x21,0x11,0x21,0x11,0x21,0x11,0x05,0x71,0xca,0x01,0x94,0xfe, +0x6c,0x01,0x94,0xfe,0x6c,0x01,0x94,0xfe,0x6c,0x01,0x94,0xfd,0xa2,0xca,0x01,0x94, +0xfe,0x6c,0x01,0x94,0xfe,0x6c,0x01,0x94,0xfe,0x6c,0x01,0x94,0xfd,0xa2,0xca,0x01, +0x94,0xfe,0x6c,0x01,0x94,0xfe,0x6c,0x01,0x94,0xfe,0x6c,0x01,0x94,0xfd,0xa2,0xc9, +0x01,0x93,0xfe,0x6d,0x01,0x93,0xfe,0x6d,0x01,0x93,0xfe,0x6d,0x01,0x93,0xfe,0x00, +0x08,0x28,0xfe,0xfb,0xfe,0xfb,0xfe,0xfb,0xfe,0xfb,0xfe,0xfb,0xfe,0xfb,0xfe,0xfb, +0xfe,0xfb,0x08,0x28,0xfe,0xfb,0xfe,0xfb,0xfe,0xfb,0xfe,0xfb,0xfe,0xfb,0xfe,0xfb, +0xfe,0xfb,0xfe,0xfb,0x08,0x28,0xfe,0xfb,0xfe,0xfb,0xfe,0xfb,0xfe,0xfb,0xfe,0xfb, +0xfe,0xfb,0xfe,0xfb,0xfe,0xfb,0x08,0x28,0xfe,0xfb,0xfe,0xfb,0xfe,0xfb,0xfe,0xfb, +0xfe,0xfb,0xfe,0xfb,0xfe,0xfb,0xfe,0xfb,0x00,0x07,0xff,0xec,0xfe,0x00,0x06,0x3b, +0x06,0x28,0x00,0x19,0x00,0x1d,0x00,0x21,0x00,0x25,0x00,0x29,0x00,0x2d,0x00,0x31, +0x00,0x00,0x03,0x11,0x33,0x11,0x23,0x11,0x33,0x11,0x23,0x11,0x33,0x11,0x21,0x11, +0x33,0x11,0x21,0x11,0x23,0x11,0x23,0x11,0x21,0x11,0x23,0x19,0x01,0x33,0x11,0x23, +0x01,0x33,0x11,0x23,0x01,0x33,0x11,0x23,0x01,0x33,0x11,0x23,0x01,0x33,0x11,0x23, +0x01,0x33,0x11,0x23,0x14,0xc9,0xc9,0xc9,0xc9,0xc9,0x02,0x5e,0xca,0x02,0x5e,0xca, +0xca,0xfd,0xa2,0xca,0xca,0xca,0x03,0x28,0xca,0xca,0xfe,0x6c,0xca,0xca,0xfe,0x6c, +0xca,0xca,0x03,0x28,0xca,0xca,0xfe,0x6c,0xca,0xca,0xfe,0x00,0x01,0x6d,0x01,0x05, +0x01,0xd6,0x01,0x05,0x01,0xd6,0x01,0x05,0xfe,0xfb,0x01,0x05,0xf7,0xd8,0x01,0x05, +0xfe,0xfb,0x01,0x05,0xfe,0xfb,0x05,0xb6,0x01,0x05,0xfe,0xfb,0x01,0x05,0xfd,0x8d, +0x01,0x05,0xfd,0x8e,0x01,0x05,0xfe,0xfb,0x01,0x05,0xfd,0x8d,0x01,0x05,0xff,0xff, +0xff,0xec,0x05,0x23,0x06,0x3b,0x06,0x28,0x10,0x07,0x09,0x1c,0x00,0x00,0x07,0x23, +0xff,0xff,0x05,0x71,0xfe,0x00,0x06,0x3a,0x06,0x28,0x10,0x07,0x09,0x2a,0x05,0x85, +0x00,0x00,0x00,0x01,0xff,0xec,0xfe,0x00,0x03,0x12,0x02,0x14,0x00,0x03,0x00,0x00, +0x03,0x11,0x21,0x11,0x14,0x03,0x26,0xfe,0x00,0x04,0x14,0xfb,0xec,0x00,0xff,0xff, +0x03,0x13,0xfe,0x00,0x06,0x39,0x02,0x14,0x10,0x07,0x09,0x31,0x03,0x27,0x00,0x00, +0xff,0xff,0xff,0xec,0x02,0x14,0x03,0x12,0x06,0x28,0x10,0x07,0x09,0x31,0x00,0x00, +0x04,0x14,0xff,0xff,0xff,0xec,0xfe,0x00,0x06,0x39,0x06,0x28,0x10,0x26,0x09,0x31, +0x00,0x00,0x10,0x26,0x09,0x32,0x00,0x00,0x10,0x06,0x09,0x33,0x00,0x00,0xff,0xff, +0xff,0xec,0xfe,0x00,0x06,0x39,0x06,0x28,0x10,0x26,0x09,0x32,0x00,0x00,0x10,0x06, +0x09,0x33,0x00,0x00,0xff,0xff,0xff,0xec,0xfe,0x00,0x06,0x39,0x06,0x28,0x10,0x26, +0x09,0x31,0x00,0x00,0x10,0x26,0x09,0x33,0x00,0x00,0x10,0x06,0x09,0x38,0x00,0x00, +0xff,0xff,0xff,0xec,0xfe,0x00,0x06,0x39,0x06,0x28,0x10,0x26,0x09,0x32,0x00,0x00, +0x10,0x26,0x09,0x33,0x00,0x00,0x10,0x06,0x09,0x38,0x00,0x00,0xff,0xff,0x03,0x13, +0x02,0x14,0x06,0x39,0x06,0x28,0x10,0x07,0x09,0x31,0x03,0x27,0x04,0x14,0xff,0xff, +0xff,0xec,0xfe,0x00,0x06,0x39,0x06,0x28,0x10,0x26,0x09,0x31,0x00,0x00,0x10,0x06, +0x09,0x38,0x00,0x00,0xff,0xff,0xff,0xec,0xfe,0x00,0x06,0x39,0x06,0x28,0x10,0x26, +0x09,0x31,0x00,0x00,0x10,0x26,0x09,0x32,0x00,0x00,0x10,0x06,0x09,0x38,0x00,0x00, +0x00,0x01,0x00,0xba,0xff,0x03,0x06,0xd5,0x05,0x25,0x00,0x03,0x00,0x00,0x17,0x11, +0x21,0x11,0xba,0x06,0x1b,0xfc,0x06,0x20,0xf9,0xe0,0x00,0x02,0x00,0xba,0xff,0x03, +0x06,0xd5,0x05,0x25,0x00,0x03,0x00,0x07,0x00,0x00,0x05,0x21,0x11,0x21,0x03,0x11, +0x21,0x11,0x01,0x2c,0x05,0x37,0xfa,0xc9,0x72,0x06,0x1b,0x8a,0x05,0x3c,0xfa,0x52, +0x06,0x20,0xf9,0xe0,0x00,0x02,0x00,0xba,0xff,0x03,0x06,0xd5,0x05,0x25,0x00,0x0b, +0x00,0x17,0x00,0x00,0x25,0x14,0x33,0x21,0x32,0x35,0x11,0x34,0x23,0x21,0x22,0x15, +0x03,0x11,0x10,0x29,0x01,0x20,0x19,0x01,0x10,0x29,0x01,0x20,0x01,0x2c,0xe4,0x03, +0x6f,0xe4,0xe4,0xfc,0x91,0xe4,0x72,0x01,0x56,0x03,0x6f,0x01,0x56,0xfe,0xaa,0xfc, +0x91,0xfe,0xaa,0x5a,0xe4,0xe4,0x03,0x74,0xe4,0xe4,0xfc,0x8c,0x03,0x74,0x01,0x56, +0xfe,0xaa,0xfc,0x8c,0xfe,0xaa,0xff,0xff,0x00,0xba,0xff,0x03,0x06,0xd5,0x05,0x25, +0x10,0x27,0x09,0x45,0x01,0x11,0x00,0x00,0x10,0x06,0x09,0x3c,0x00,0x00,0x00,0x06, +0x00,0xba,0xff,0x03,0x06,0xd5,0x05,0x25,0x00,0x03,0x00,0x07,0x00,0x0b,0x00,0x0f, +0x00,0x13,0x00,0x17,0x00,0x00,0x17,0x11,0x21,0x11,0x25,0x21,0x35,0x21,0x35,0x21, +0x35,0x21,0x35,0x21,0x35,0x21,0x35,0x21,0x35,0x21,0x35,0x21,0x35,0x21,0xba,0x06, +0x1b,0xfa,0x57,0x05,0x37,0xfa,0xc9,0x05,0x37,0xfa,0xc9,0x05,0x37,0xfa,0xc9,0x05, +0x37,0xfa,0xc9,0x05,0x37,0xfa,0xc9,0xfc,0x06,0x20,0xf9,0xe0,0x72,0xb0,0x72,0xb2, +0x72,0xb0,0x72,0xb2,0x72,0xb0,0x00,0x06,0x00,0xba,0xff,0x03,0x06,0xd5,0x05,0x25, +0x00,0x03,0x00,0x07,0x00,0x0b,0x00,0x0f,0x00,0x13,0x00,0x17,0x00,0x00,0x17,0x11, +0x21,0x11,0x25,0x33,0x11,0x23,0x01,0x33,0x11,0x23,0x01,0x33,0x11,0x23,0x01,0x33, +0x11,0x23,0x01,0x33,0x11,0x23,0xba,0x06,0x1b,0xfe,0xe1,0xb0,0xb0,0xfe,0xdc,0xb2, +0xb2,0xfe,0xde,0xb0,0xb0,0xfe,0xdc,0xb2,0xb2,0xfe,0xde,0xb0,0xb0,0xfc,0x06,0x20, +0xf9,0xe0,0x74,0x05,0x38,0xfa,0xc8,0x05,0x38,0xfa,0xc8,0x05,0x38,0xfa,0xc8,0x05, +0x38,0xfa,0xc8,0x05,0x38,0x00,0x00,0x1a,0x00,0xba,0xff,0x03,0x06,0xd5,0x05,0x25, +0x00,0x03,0x00,0x07,0x00,0x0b,0x00,0x0f,0x00,0x13,0x00,0x17,0x00,0x1b,0x00,0x1f, +0x00,0x23,0x00,0x27,0x00,0x2b,0x00,0x2f,0x00,0x33,0x00,0x37,0x00,0x3b,0x00,0x3f, +0x00,0x43,0x00,0x47,0x00,0x4b,0x00,0x4f,0x00,0x53,0x00,0x57,0x00,0x5b,0x00,0x5f, +0x00,0x63,0x00,0x67,0x00,0x00,0x05,0x33,0x35,0x23,0x05,0x33,0x35,0x23,0x05,0x33, +0x35,0x23,0x01,0x33,0x35,0x23,0x11,0x33,0x35,0x23,0x11,0x33,0x35,0x23,0x11,0x33, +0x35,0x23,0x11,0x33,0x35,0x23,0x01,0x33,0x35,0x23,0x11,0x33,0x35,0x23,0x11,0x33, +0x35,0x23,0x11,0x33,0x35,0x23,0x01,0x33,0x35,0x23,0x11,0x33,0x35,0x23,0x11,0x33, +0x35,0x23,0x11,0x33,0x35,0x23,0x01,0x33,0x35,0x23,0x11,0x33,0x35,0x23,0x11,0x33, +0x35,0x23,0x11,0x33,0x35,0x23,0x01,0x33,0x35,0x23,0x11,0x33,0x35,0x23,0x11,0x33, +0x35,0x23,0x11,0x33,0x35,0x23,0x11,0x33,0x35,0x23,0x01,0x11,0x21,0x11,0x02,0x4c, +0xb2,0xb2,0x01,0x24,0xb0,0xb0,0x01,0x22,0xb2,0xb2,0xfc,0x9a,0xae,0xae,0xae,0xae, +0xae,0xae,0xae,0xae,0xae,0xae,0x01,0x20,0xb2,0xb2,0xb2,0xb2,0xb2,0xb2,0xb2,0xb2, +0x01,0x24,0xb0,0xb0,0xb0,0xb0,0xb0,0xb0,0xb0,0xb0,0x01,0x22,0xb2,0xb2,0xb2,0xb2, +0xb2,0xb2,0xb2,0xb2,0x01,0x24,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad, +0xfb,0x04,0x06,0x1b,0x88,0xae,0xae,0xae,0xae,0xae,0x03,0xdc,0xae,0xfe,0x2e,0xb2, +0xfe,0x2c,0xb0,0xfe,0x2c,0xb2,0xfe,0x2e,0xae,0x03,0xdc,0xae,0xfe,0x2e,0xb2,0xfe, +0x2c,0xb0,0xfe,0x2c,0xb2,0x02,0xb8,0xae,0xfe,0x2e,0xb2,0xfe,0x2c,0xb0,0xfe,0x2c, +0xb2,0x02,0xb8,0xae,0xfe,0x2e,0xb2,0xfe,0x2c,0xb0,0xfe,0x2c,0xb2,0x02,0xb8,0xae, +0xfe,0x2e,0xb2,0xfe,0x2c,0xb0,0xfe,0x2c,0xb2,0xfe,0x2e,0xae,0xfe,0xde,0x06,0x20, +0xf9,0xe0,0x00,0x08,0x00,0xba,0xff,0x03,0x06,0xd5,0x05,0x25,0x00,0x03,0x00,0x06, +0x00,0x0a,0x00,0x0e,0x00,0x14,0x00,0x18,0x00,0x1c,0x00,0x1f,0x00,0x00,0x17,0x11, +0x21,0x11,0x01,0x15,0x33,0x03,0x15,0x01,0x33,0x01,0x15,0x01,0x37,0x01,0x15,0x01, +0x37,0x35,0x01,0x33,0x01,0x35,0x01,0x33,0x01,0x35,0x01,0x33,0x17,0x35,0xba,0x06, +0x1b,0xfa,0x57,0xe2,0xe2,0x01,0x84,0xfb,0xfd,0x81,0x03,0x21,0xfb,0xfb,0xe4,0x04, +0xbe,0x79,0xfb,0x42,0xa2,0x04,0x1c,0xfc,0xdf,0xa2,0x02,0x7f,0xfe,0x7c,0xa2,0xe2, +0xfc,0x06,0x20,0xf9,0xe0,0x01,0x54,0xe2,0x02,0x7f,0xfc,0xfe,0x7d,0x04,0x1c,0xfc, +0xfc,0xdf,0x01,0x05,0x3c,0x7f,0xfb,0x42,0x01,0x7f,0x04,0xbd,0xfb,0xe4,0xfc,0x03, +0x20,0xfd,0x81,0xfc,0x01,0x83,0xe2,0xe2,0x00,0x08,0x00,0xba,0xff,0x03,0x06,0xd5, +0x05,0x25,0x00,0x03,0x00,0x06,0x00,0x0a,0x00,0x0e,0x00,0x14,0x00,0x18,0x00,0x1c, +0x00,0x1f,0x00,0x00,0x17,0x11,0x21,0x11,0x25,0x33,0x35,0x05,0x33,0x01,0x35,0x01, +0x17,0x01,0x35,0x01,0x17,0x01,0x35,0x23,0x01,0x35,0x01,0x23,0x01,0x35,0x01,0x23, +0x01,0x35,0x37,0x23,0xba,0x06,0x1b,0xfe,0xac,0xe2,0xfd,0x81,0xfb,0x01,0x84,0xfb, +0xe4,0xfb,0x03,0x21,0xfa,0xc9,0x79,0x04,0xbe,0x79,0xfb,0x42,0x04,0x1c,0xfb,0xfc, +0xdf,0x02,0x7f,0xfb,0xfe,0x7c,0xe2,0xe2,0xfc,0x06,0x20,0xf9,0xe0,0x72,0xe2,0xe2, +0x01,0x83,0xfc,0xfd,0x81,0x01,0x03,0x21,0xfc,0xfb,0xe4,0x01,0x04,0xbe,0x7f,0xfb, +0x43,0xa1,0x04,0x1c,0xfc,0xe0,0xa1,0x02,0x7f,0xfe,0x7d,0xa1,0xe2,0x00,0x00,0x1a, +0x00,0xba,0xff,0x03,0x06,0xd5,0x05,0x25,0x00,0x04,0x00,0x09,0x00,0x0e,0x00,0x12, +0x00,0x17,0x00,0x1c,0x00,0x20,0x00,0x24,0x00,0x28,0x00,0x2d,0x00,0x31,0x00,0x35, +0x00,0x39,0x00,0x3d,0x00,0x41,0x00,0x46,0x00,0x4b,0x00,0x4f,0x00,0x53,0x00,0x57, +0x00,0x5c,0x00,0x61,0x00,0x65,0x00,0x6a,0x00,0x6f,0x00,0x73,0x00,0x00,0x01,0x17, +0x37,0x27,0x23,0x11,0x17,0x37,0x27,0x07,0x01,0x17,0x37,0x27,0x23,0x01,0x17,0x37, +0x27,0x03,0x17,0x37,0x27,0x07,0x01,0x17,0x37,0x27,0x23,0x01,0x17,0x37,0x27,0x01, +0x17,0x37,0x27,0x01,0x17,0x37,0x27,0x01,0x17,0x37,0x35,0x23,0x01,0x17,0x37,0x27, +0x01,0x17,0x37,0x27,0x01,0x17,0x37,0x27,0x01,0x17,0x37,0x27,0x01,0x17,0x37,0x27, +0x01,0x33,0x37,0x27,0x07,0x01,0x17,0x37,0x35,0x27,0x01,0x17,0x37,0x27,0x01,0x17, +0x37,0x27,0x01,0x17,0x37,0x27,0x01,0x17,0x33,0x37,0x27,0x01,0x17,0x37,0x35,0x27, +0x01,0x17,0x37,0x27,0x01,0x17,0x33,0x37,0x27,0x05,0x17,0x33,0x35,0x27,0x01,0x11, +0x21,0x11,0x01,0x2c,0x32,0x7c,0x35,0x79,0x32,0x7e,0x7e,0x32,0x01,0x4f,0x7e,0x7e, +0x35,0x92,0xfe,0xfe,0x7e,0x7c,0x7e,0xfe,0x32,0x7e,0x7e,0x32,0x02,0xec,0x7e,0x7e, +0x35,0x92,0xfe,0xfd,0x7e,0x7d,0x7d,0xfe,0xb5,0x7d,0x7d,0x7e,0xfe,0xb5,0x7e,0x7e, +0x7e,0x03,0x89,0x7d,0x31,0x79,0xfe,0xfd,0x7c,0x7e,0x7c,0xfe,0xb3,0x7c,0x7e,0x7c, +0xfe,0xb5,0x7d,0x7c,0x7c,0xfe,0xb5,0x7c,0x7e,0x7c,0xfe,0xb3,0x7d,0x7d,0x7c,0xff, +0x00,0x7a,0x34,0x7c,0x32,0x04,0x88,0x7e,0x31,0x32,0xfe,0xb4,0x7e,0x7e,0x7e,0xfe, +0xb5,0x7e,0x7c,0x7e,0xfe,0xb6,0x7e,0x7e,0x7e,0xfe,0xb3,0x35,0x93,0x34,0x7e,0x02, +0xbb,0x7d,0x32,0x32,0xfe,0xb5,0x7e,0x7d,0x7e,0xfe,0xb5,0x34,0x93,0x35,0x7e,0x01, +0x1f,0x34,0x7a,0x32,0xfa,0x89,0x06,0x1b,0x04,0x33,0x31,0x7c,0x34,0xfd,0xe4,0x32, +0x7e,0x7e,0x31,0x01,0x4f,0x7e,0x7e,0x34,0xfe,0xff,0x7e,0x7c,0x7e,0xfc,0xcc,0x31, +0x7e,0x7d,0x31,0x02,0xec,0x7e,0x7e,0x34,0xfe,0xfd,0x7d,0x7d,0x7e,0xfe,0xb5,0x7e, +0x7d,0x7d,0xfe,0xb6,0x7e,0x7e,0x7e,0x01,0xec,0x7c,0x31,0x7f,0xfe,0xfd,0x7c,0x7e, +0x7c,0xfe,0xb4,0x7d,0x7e,0x7c,0xfe,0xb6,0x7c,0x7c,0x7c,0xfe,0xb5,0x7c,0x7e,0x7c, +0xfe,0xb4,0x7c,0x7d,0x7d,0xfe,0x81,0x34,0x7c,0x31,0x02,0xed,0x7e,0x32,0x99,0x31, +0xfe,0xb4,0x7e,0x7e,0x7e,0xfe,0xb5,0x7e,0x7c,0x7e,0xfe,0xb5,0x7e,0x7e,0x7e,0xfe, +0xb4,0x34,0x34,0x7e,0x01,0x1e,0x7e,0x31,0x99,0x31,0xfe,0xb5,0x7d,0x7c,0x7e,0xfe, +0xb5,0x34,0x34,0x7e,0x7e,0x34,0x7f,0x31,0xfe,0xde,0x06,0x20,0xf9,0xe0,0x00,0x01, +0x00,0xba,0x00,0x16,0x04,0xb2,0x04,0x12,0x00,0x03,0x00,0x00,0x37,0x11,0x21,0x11, +0xba,0x03,0xf8,0x16,0x03,0xfc,0xfc,0x04,0x00,0x02,0x00,0xba,0x00,0x16,0x04,0xb2, +0x04,0x12,0x00,0x03,0x00,0x07,0x00,0x00,0x25,0x21,0x11,0x21,0x03,0x11,0x21,0x11, +0x01,0x2c,0x03,0x14,0xfc,0xec,0x72,0x03,0xf8,0x88,0x03,0x18,0xfc,0x76,0x03,0xfc, +0xfc,0x04,0x00,0x01,0x00,0xba,0x00,0x9a,0x06,0xd5,0x03,0x8e,0x00,0x03,0x00,0x00, +0x25,0x21,0x11,0x21,0x06,0xd5,0xf9,0xe5,0x06,0x1b,0x9a,0x02,0xf4,0x00,0x00,0x02, +0x00,0xba,0x00,0x9a,0x06,0xd5,0x03,0x8e,0x00,0x03,0x00,0x07,0x00,0x00,0x01,0x11, +0x21,0x11,0x05,0x21,0x11,0x21,0x06,0x63,0xfa,0xc9,0x05,0xa9,0xf9,0xe5,0x06,0x1b, +0x01,0x0c,0x02,0x10,0xfd,0xf0,0x72,0x02,0xf4,0x00,0x00,0x01,0x00,0xba,0xff,0x06, +0x03,0xad,0x05,0x22,0x00,0x03,0x00,0x00,0x17,0x11,0x21,0x11,0xba,0x02,0xf3,0xfa, +0x06,0x1c,0xf9,0xe4,0x00,0x02,0x00,0xba,0xff,0x06,0x03,0xad,0x05,0x22,0x00,0x03, +0x00,0x07,0x00,0x00,0x05,0x21,0x11,0x21,0x03,0x11,0x21,0x11,0x01,0x2c,0x02,0x0f, +0xfd,0xf1,0x72,0x02,0xf3,0x88,0x05,0x38,0xfa,0x56,0x06,0x1c,0xf9,0xe4,0x00,0x01, +0x00,0x06,0x00,0x9a,0x06,0x21,0x03,0x8e,0x00,0x03,0x00,0x00,0x25,0x21,0x01,0x21, +0x04,0x98,0xfb,0x6e,0x01,0x8a,0x04,0x91,0x9a,0x02,0xf4,0x00,0x00,0x02,0x00,0x06, +0x00,0x9a,0x06,0x21,0x03,0x8e,0x00,0x03,0x00,0x07,0x00,0x00,0x09,0x01,0x21,0x01, +0x05,0x21,0x01,0x21,0x04,0x62,0x01,0x10,0xfc,0x53,0xfe,0xef,0x03,0xe4,0xfb,0x6e, +0x01,0x8a,0x04,0x91,0x01,0x0c,0x02,0x10,0xfd,0xf0,0x72,0x02,0xf4,0x00,0x00,0x01, +0x00,0x06,0xff,0x03,0x06,0x21,0x05,0x25,0x00,0x02,0x00,0x00,0x17,0x09,0x01,0x06, +0x03,0x0d,0x03,0x0e,0xfc,0x06,0x20,0xf9,0xe0,0x00,0x00,0x02,0x00,0x06,0xff,0x03, +0x06,0x21,0x05,0x25,0x00,0x02,0x00,0x05,0x00,0x00,0x17,0x21,0x09,0x03,0xb1,0x04, +0xc5,0xfd,0x9d,0xfc,0xf3,0x03,0x0d,0x03,0x0e,0x8a,0x04,0xca,0xfa,0xc4,0x06,0x20, +0xf9,0xe0,0x00,0x01,0x00,0x06,0x00,0x16,0x03,0xfe,0x04,0x12,0x00,0x02,0x00,0x00, +0x37,0x09,0x01,0x06,0x01,0xfc,0x01,0xfc,0x16,0x03,0xfc,0xfc,0x04,0x00,0x00,0x02, +0x00,0x06,0x00,0x16,0x03,0xfe,0x04,0x12,0x00,0x02,0x00,0x05,0x00,0x00,0x37,0x21, +0x09,0x03,0xb1,0x02,0xa2,0xfe,0xaf,0xfe,0x04,0x01,0xfc,0x01,0xfc,0x88,0x02,0xa6, +0xfc,0xe8,0x03,0xfc,0xfc,0x04,0x00,0x01,0x00,0x06,0xff,0x03,0x06,0x21,0x05,0x25, +0x00,0x02,0x00,0x00,0x17,0x11,0x01,0x06,0x06,0x1b,0xfc,0x06,0x20,0xfc,0xf0,0x00, +0x00,0x02,0x00,0x06,0xff,0x03,0x06,0x21,0x05,0x25,0x00,0x02,0x00,0x05,0x00,0x00, +0x17,0x09,0x01,0x03,0x11,0x01,0x78,0x04,0xc5,0xfb,0x3b,0x72,0x06,0x1b,0x52,0x02, +0x66,0x02,0x66,0xfa,0x8a,0x06,0x20,0xfc,0xf0,0x00,0x00,0x01,0x00,0x06,0x00,0x16, +0x03,0xfe,0x04,0x12,0x00,0x02,0x00,0x00,0x37,0x11,0x01,0x06,0x03,0xf8,0x16,0x03, +0xfc,0xfe,0x02,0x00,0x00,0x02,0x00,0x06,0x00,0x16,0x03,0xfe,0x04,0x12,0x00,0x02, +0x00,0x05,0x00,0x00,0x37,0x09,0x01,0x03,0x11,0x01,0x78,0x02,0xa2,0xfd,0x5e,0x72, +0x03,0xf8,0xc1,0x01,0x53,0x01,0x53,0xfc,0xaf,0x03,0xfc,0xfe,0x02,0x00,0x00,0x01, +0x00,0x06,0x00,0x16,0x06,0x21,0x04,0x12,0x00,0x02,0x00,0x00,0x37,0x11,0x01,0x06, +0x06,0x1b,0x16,0x03,0xfc,0xfe,0x02,0x00,0x00,0x02,0x00,0x06,0x00,0x16,0x06,0x21, +0x04,0x12,0x00,0x02,0x00,0x05,0x00,0x00,0x37,0x09,0x01,0x03,0x11,0x01,0x78,0x04, +0x8c,0xfb,0x74,0x72,0x06,0x1b,0xc1,0x01,0x53,0x01,0x53,0xfc,0xaf,0x03,0xfc,0xfe, +0x02,0x00,0x00,0x01,0x00,0x06,0xff,0x03,0x06,0x21,0x05,0x25,0x00,0x02,0x00,0x00, +0x13,0x21,0x01,0x06,0x06,0x1b,0xfc,0xf2,0x05,0x24,0xf9,0xe0,0x00,0x02,0x00,0x06, +0xff,0x03,0x06,0x21,0x05,0x25,0x00,0x02,0x00,0x05,0x00,0x00,0x13,0x09,0x01,0x25, +0x21,0x01,0xb1,0x02,0x62,0x02,0x63,0xfa,0x90,0x06,0x1b,0xfc,0xf2,0x04,0xb2,0xfb, +0x36,0x04,0xca,0x72,0xf9,0xe0,0x00,0x01,0x00,0x06,0x00,0x16,0x03,0xfe,0x04,0x12, +0x00,0x02,0x00,0x00,0x13,0x21,0x01,0x06,0x03,0xf8,0xfe,0x04,0x04,0x12,0xfc,0x04, +0x00,0x02,0x00,0x06,0x00,0x16,0x03,0xfe,0x04,0x12,0x00,0x02,0x00,0x05,0x00,0x00, +0x13,0x09,0x01,0x25,0x21,0x01,0xb1,0x01,0x51,0x01,0x51,0xfc,0xb3,0x03,0xf8,0xfe, +0x04,0x03,0xa0,0xfd,0x5a,0x02,0xa6,0x72,0xfc,0x04,0x00,0x01,0x00,0x06,0xff,0x03, +0x06,0x21,0x05,0x25,0x00,0x02,0x00,0x00,0x13,0x01,0x11,0x06,0x06,0x1b,0x02,0x14, +0x03,0x10,0xf9,0xe0,0x00,0x02,0x00,0x06,0xff,0x03,0x06,0x21,0x05,0x25,0x00,0x02, +0x00,0x05,0x00,0x00,0x13,0x01,0x11,0x09,0x01,0x11,0xea,0x04,0xc5,0xfa,0x57,0x06, +0x1b,0x02,0x14,0xfd,0x9a,0x04,0xcc,0xfd,0x9a,0x03,0x10,0xf9,0xe0,0x00,0x00,0x01, +0x00,0x06,0x00,0x16,0x03,0xfe,0x04,0x12,0x00,0x02,0x00,0x00,0x13,0x01,0x11,0x06, +0x03,0xf8,0x02,0x14,0x01,0xfe,0xfc,0x04,0x00,0x02,0x00,0x06,0x00,0x16,0x03,0xfe, +0x04,0x12,0x00,0x02,0x00,0x05,0x00,0x00,0x13,0x01,0x11,0x09,0x01,0x11,0xea,0x02, +0xa2,0xfc,0x7a,0x03,0xf8,0x02,0x14,0xfe,0xad,0x02,0xa6,0xfe,0xad,0x01,0xfe,0xfc, +0x04,0x00,0x00,0x01,0x00,0x06,0x00,0x16,0x06,0x21,0x04,0x12,0x00,0x02,0x00,0x00, +0x13,0x01,0x11,0x06,0x06,0x1b,0x02,0x14,0x01,0xfe,0xfc,0x04,0x00,0x02,0x00,0x06, +0x00,0x16,0x06,0x21,0x04,0x12,0x00,0x02,0x00,0x05,0x00,0x00,0x09,0x01,0x11,0x09, +0x01,0x11,0x01,0x23,0x04,0x8c,0xfa,0x57,0x06,0x1b,0x02,0x14,0xfe,0xad,0x02,0xa6, +0xfe,0xad,0x01,0xfe,0xfc,0x04,0x00,0x01,0x00,0x06,0xff,0x03,0x06,0x21,0x05,0x25, +0x00,0x03,0x00,0x00,0x13,0x09,0x02,0x06,0x03,0x0d,0x03,0x0e,0xfc,0xf2,0x02,0x14, +0x03,0x10,0xfc,0xf0,0xfc,0xf0,0x00,0x02,0x00,0x06,0xff,0x03,0x06,0x21,0x05,0x25, +0x00,0x03,0x00,0x07,0x00,0x00,0x13,0x09,0x06,0x9e,0x02,0x75,0x02,0x76,0xfd,0x8a, +0xfc,0xf3,0x03,0x0d,0x03,0x0e,0xfc,0xf2,0x02,0x14,0xfd,0x88,0x02,0x78,0x02,0x78, +0xfd,0x88,0x03,0x10,0xfc,0xf0,0xfc,0xf0,0x00,0x03,0x00,0x06,0xff,0x03,0x06,0x21, +0x05,0x25,0x00,0x03,0x00,0x07,0x00,0x0b,0x00,0x00,0x09,0x0b,0x01,0x3e,0x01,0xd5, +0x01,0xd5,0xfe,0x2b,0xfd,0x8b,0x02,0x75,0x02,0x76,0xfd,0x8a,0xfc,0xf3,0x03,0x0d, +0x03,0x0e,0xfc,0xf2,0x02,0x14,0x01,0xd7,0xfe,0x29,0xfe,0x29,0x01,0xd7,0xfd,0x88, +0x02,0x78,0x02,0x78,0xfd,0x88,0x03,0x10,0xfc,0xf0,0xfc,0xf0,0x00,0x03,0x00,0x70, +0xfe,0xff,0x06,0x8b,0x05,0x29,0x00,0x0d,0x00,0x1b,0x00,0x29,0x00,0x00,0x24,0x10, +0x37,0x36,0x33,0x32,0x17,0x16,0x10,0x07,0x06,0x23,0x22,0x27,0x00,0x10,0x05,0x16, +0x33,0x32,0x37,0x24,0x10,0x25,0x26,0x23,0x22,0x07,0x00,0x10,0x25,0x36,0x33,0x32, +0x17,0x04,0x10,0x05,0x06,0x23,0x22,0x27,0x01,0x82,0xfe,0x7e,0x7f,0x80,0x7e,0xfe, +0xfe,0x7e,0x80,0x7f,0x7e,0xfe,0x65,0x01,0x4d,0xa5,0xa6,0xa7,0xa5,0x01,0x4d,0xfe, +0xb3,0xa5,0xa7,0xa6,0xa5,0xfe,0x3e,0x01,0x87,0xc3,0xc3,0xc4,0xc3,0x01,0x87,0xfe, +0x79,0xc3,0xc4,0xc3,0xc3,0xef,0x02,0x4a,0x92,0x4a,0x4a,0x92,0xfd,0xb6,0x92,0x4a, +0x4a,0x03,0x36,0xfd,0x02,0xc0,0x60,0x60,0xc0,0x02,0xfe,0xc0,0x60,0x60,0xfb,0xff, +0x03,0x84,0xe2,0x71,0x71,0xe2,0xfc,0x7c,0xe2,0x71,0x71,0x00,0x00,0x02,0x00,0x06, +0xfe,0x23,0x03,0xee,0x06,0x75,0x00,0x03,0x00,0x07,0x00,0x22,0x40,0x11,0x02,0x06, +0x00,0x08,0x04,0x06,0x08,0x06,0x04,0x03,0x02,0x01,0x00,0x06,0x05,0x07,0x08,0x10, +0xd4,0xcc,0x17,0x39,0x31,0x00,0x10,0xd4,0xcc,0x11,0x39,0x12,0x39,0x30,0x09,0x07, +0x01,0xfa,0xfe,0x7f,0x01,0x81,0x01,0x81,0xfe,0x7f,0x01,0xf4,0xfe,0x0c,0xfe,0x0c, +0x05,0x81,0xfc,0xcf,0xfc,0xc7,0x03,0x39,0x04,0x25,0xfb,0xdb,0xfb,0xd3,0x04,0x2d, +0x00,0x02,0x00,0x70,0xfe,0xff,0x06,0x8b,0x05,0x29,0x00,0x0d,0x00,0x1b,0x00,0x00, +0x12,0x10,0x05,0x16,0x33,0x32,0x37,0x24,0x10,0x25,0x26,0x23,0x22,0x07,0x00,0x10, +0x25,0x36,0x33,0x32,0x17,0x04,0x10,0x05,0x06,0x23,0x22,0x27,0xe5,0x01,0x4d,0xa5, +0xa6,0xa7,0xa5,0x01,0x4d,0xfe,0xb3,0xa5,0xa7,0xa6,0xa5,0xfe,0x3e,0x01,0x87,0xc3, +0xc3,0xc4,0xc3,0x01,0x87,0xfe,0x79,0xc3,0xc4,0xc3,0xc3,0x03,0x93,0xfd,0x02,0xc0, +0x60,0x60,0xc0,0x02,0xfe,0xc0,0x60,0x60,0xfb,0xff,0x03,0x84,0xe2,0x71,0x71,0xe2, +0xfc,0x7c,0xe2,0x71,0x71,0x00,0x00,0x08,0x00,0x72,0xff,0x01,0x06,0x89,0x05,0x27, +0x00,0x09,0x00,0x13,0x00,0x1d,0x00,0x27,0x00,0x2f,0x00,0x37,0x00,0x3f,0x00,0x47, +0x00,0x00,0x25,0x16,0x17,0x16,0x17,0x07,0x26,0x27,0x26,0x27,0x05,0x36,0x37,0x36, +0x37,0x17,0x06,0x07,0x06,0x07,0x13,0x26,0x27,0x26,0x27,0x37,0x16,0x17,0x16,0x17, +0x25,0x06,0x07,0x06,0x07,0x27,0x36,0x37,0x36,0x37,0x13,0x16,0x32,0x37,0x17,0x06, +0x22,0x27,0x01,0x36,0x34,0x27,0x37,0x16,0x14,0x07,0x01,0x26,0x22,0x07,0x27,0x36, +0x32,0x17,0x01,0x06,0x14,0x17,0x07,0x26,0x34,0x37,0x01,0x5c,0x2b,0x3b,0x2e,0x38, +0x31,0x46,0x39,0x4b,0x35,0x03,0xda,0x38,0x2e,0x34,0x32,0x64,0x3b,0x45,0x39,0x47, +0x9c,0x2c,0x3a,0x2e,0x38,0x30,0x47,0x39,0x4a,0x36,0xfc,0x26,0x38,0x2e,0x3b,0x2b, +0x64,0x31,0x4f,0x39,0x46,0xed,0x4c,0x9a,0x4c,0x26,0x5f,0xc0,0x60,0x03,0x4a,0x10, +0x10,0x6e,0x14,0x14,0xfd,0xa1,0x4c,0x9a,0x4c,0x27,0x60,0xc0,0x5f,0xfc,0xb8,0x10, +0x10,0x6e,0x14,0x14,0x8f,0x3c,0x31,0x26,0x20,0x6a,0x28,0x30,0x3d,0x4a,0x75,0x20, +0x26,0x2c,0x41,0x3d,0x4e,0x3a,0x30,0x28,0x04,0x27,0x3c,0x31,0x26,0x20,0x6a,0x28, +0x30,0x3d,0x4a,0x75,0x20,0x26,0x31,0x3c,0x3e,0x45,0x42,0x30,0x28,0xfa,0xd4,0x16, +0x16,0x6e,0x1b,0x1b,0x02,0x5f,0x49,0xa0,0x49,0x27,0x5b,0xca,0x5b,0x03,0x4a,0x16, +0x16,0x6e,0x1b,0x1b,0xfd,0xa1,0x49,0xa0,0x49,0x27,0x5b,0xca,0x5b,0x00,0x00,0x06, +0x00,0x70,0xfe,0xff,0x06,0x8b,0x05,0x29,0x00,0x0d,0x00,0x17,0x00,0x1b,0x00,0x25, +0x00,0x2f,0x00,0x33,0x00,0x00,0x36,0x10,0x25,0x36,0x33,0x32,0x17,0x04,0x10,0x05, +0x06,0x23,0x22,0x27,0x13,0x11,0x16,0x17,0x16,0x17,0x11,0x06,0x07,0x06,0x07,0x06, +0x10,0x17,0x01,0x11,0x16,0x33,0x32,0x37,0x11,0x26,0x23,0x22,0x17,0x11,0x36,0x37, +0x36,0x37,0x11,0x26,0x27,0x26,0x17,0x11,0x36,0x10,0x70,0x01,0x87,0xc3,0xc3,0xc4, +0xc3,0x01,0x87,0xfe,0x79,0xc3,0xc4,0xc3,0xc3,0x0b,0x17,0x19,0x41,0x41,0x41,0x41, +0x19,0x89,0xab,0xab,0x01,0x96,0x2c,0x2b,0x2d,0x2c,0x2c,0x2d,0x2b,0xf6,0x41,0x40, +0x1a,0x17,0x17,0x1a,0x40,0xe3,0xaa,0x52,0x03,0x84,0xe2,0x71,0x71,0xe2,0xfc,0x7c, +0xe2,0x71,0x71,0x04,0xc5,0xfb,0xbe,0x0f,0x0f,0x25,0x17,0x04,0xf6,0x17,0x25,0x0f, +0x6d,0xb1,0xfd,0xdc,0xb1,0x04,0x5b,0xfa,0xd0,0x07,0x07,0x05,0x30,0x07,0x24,0xfb, +0x0a,0x17,0x25,0x0f,0x10,0x04,0x40,0x10,0x0f,0x25,0xa2,0xfc,0x7c,0xb1,0x02,0x22, +0x00,0x04,0x00,0x70,0xfe,0xff,0x06,0x8b,0x05,0x29,0x00,0x0d,0x00,0x1b,0x00,0x29, +0x00,0x37,0x00,0x00,0x00,0x10,0x17,0x16,0x33,0x32,0x37,0x36,0x10,0x27,0x26,0x23, +0x22,0x07,0x02,0x10,0x37,0x36,0x33,0x32,0x17,0x16,0x10,0x07,0x06,0x23,0x22,0x27, +0x00,0x10,0x05,0x16,0x33,0x32,0x37,0x24,0x10,0x25,0x26,0x23,0x22,0x07,0x00,0x10, +0x25,0x36,0x33,0x32,0x17,0x04,0x10,0x05,0x06,0x23,0x22,0x27,0x02,0x99,0x72,0x39, +0x39,0x3a,0x39,0x72,0x72,0x39,0x3a,0x39,0x39,0xed,0xb0,0x58,0x57,0x58,0x58,0xb0, +0xb0,0x58,0x58,0x57,0x58,0xfe,0x17,0x01,0x4d,0xa5,0xa6,0xa7,0xa5,0x01,0x4d,0xfe, +0xb3,0xa5,0xa7,0xa6,0xa5,0xfe,0x3e,0x01,0x87,0xc3,0xc3,0xc4,0xc3,0x01,0x87,0xfe, +0x79,0xc3,0xc4,0xc3,0xc3,0x02,0x98,0xfe,0xf8,0x42,0x21,0x21,0x42,0x01,0x08,0x42, +0x21,0x21,0xfe,0x6f,0x01,0x96,0x65,0x33,0x33,0x65,0xfe,0x6a,0x65,0x33,0x33,0x02, +0xaf,0xfd,0x02,0xc0,0x60,0x60,0xc0,0x02,0xfe,0xc0,0x60,0x60,0xfb,0xff,0x03,0x84, +0xe2,0x71,0x71,0xe2,0xfc,0x7c,0xe2,0x71,0x71,0x00,0x00,0x01,0x00,0x70,0xff,0x04, +0x06,0x8b,0x05,0x20,0x00,0x17,0x00,0x13,0x40,0x07,0x06,0x12,0x18,0x19,0x0c,0x00, +0x18,0x10,0xdc,0xd4,0xcc,0x31,0x00,0x10,0xd4,0xc4,0x30,0x13,0x34,0x37,0x36,0x37, +0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x23,0x22,0x27, +0x26,0x27,0x26,0x70,0x69,0x68,0xb6,0xb5,0xd2,0xd1,0xb5,0xb6,0x68,0x69,0x69,0x68, +0xb6,0xb5,0xd1,0xd2,0xb5,0xb6,0x68,0x69,0x02,0x12,0xd1,0xb6,0xb5,0x69,0x69,0x69, +0x69,0xb5,0xb6,0xd1,0xd1,0xb6,0xb5,0x69,0x69,0x69,0x69,0xb5,0xb6,0x00,0x00,0x02, +0x00,0x70,0xff,0x04,0x06,0x8b,0x05,0x20,0x00,0x0b,0x00,0x13,0x00,0x00,0x12,0x10, +0x12,0x24,0x20,0x04,0x12,0x10,0x02,0x04,0x20,0x24,0x05,0x32,0x37,0x24,0x10,0x25, +0x26,0x23,0x70,0xd1,0x01,0x6b,0x01,0xa3,0x01,0x6b,0xd1,0xd1,0xfe,0x95,0xfe,0x5d, +0xfe,0x95,0x02,0x3c,0xa7,0xa5,0x01,0x4d,0xfe,0xb3,0xa5,0xa7,0x01,0x41,0x01,0xa2, +0x01,0x6b,0xd2,0xd2,0xfe,0x95,0xfe,0x5e,0xfe,0x95,0xd2,0xd2,0x61,0x60,0xc0,0x02, +0xfe,0xc0,0x60,0x00,0x00,0x02,0x00,0x70,0xff,0x04,0x06,0x8b,0x05,0x20,0x00,0x0b, +0x00,0x13,0x00,0x00,0x12,0x10,0x12,0x24,0x20,0x04,0x12,0x10,0x02,0x04,0x20,0x24, +0x01,0x22,0x07,0x04,0x10,0x05,0x16,0x33,0x70,0xd1,0x01,0x6b,0x01,0xa3,0x01,0x6b, +0xd1,0xd1,0xfe,0x95,0xfe,0x5d,0xfe,0x95,0x02,0x3c,0xa6,0xa5,0xfe,0xb3,0x01,0x4d, +0xa5,0xa6,0x01,0x41,0x01,0xa2,0x01,0x6b,0xd2,0xd2,0xfe,0x95,0xfe,0x5e,0xfe,0x95, +0xd2,0xd2,0x04,0xdd,0x60,0xc0,0xfd,0x02,0xc0,0x60,0x00,0x02,0x00,0x70,0xff,0x04, +0x06,0x8b,0x05,0x20,0x00,0x0b,0x00,0x14,0x00,0x00,0x12,0x10,0x12,0x24,0x20,0x04, +0x12,0x10,0x02,0x04,0x20,0x24,0x03,0x10,0x05,0x16,0x33,0x32,0x37,0x24,0x11,0x70, +0xd1,0x01,0x6b,0x01,0xa3,0x01,0x6b,0xd1,0xd1,0xfe,0x95,0xfe,0x5d,0xfe,0x95,0x5c, +0x01,0x4d,0xa5,0xa6,0xa7,0xa5,0x01,0x4d,0x01,0x41,0x01,0xa2,0x01,0x6b,0xd2,0xd2, +0xfe,0x95,0xfe,0x5e,0xfe,0x95,0xd2,0xd2,0x02,0x3e,0xfe,0x81,0xc0,0x60,0x60,0xc0, +0x01,0x7f,0x00,0x02,0x00,0x70,0xff,0x04,0x06,0x8b,0x05,0x20,0x00,0x0b,0x00,0x14, +0x00,0x00,0x12,0x10,0x12,0x24,0x20,0x04,0x12,0x10,0x02,0x04,0x20,0x24,0x01,0x10, +0x25,0x26,0x23,0x22,0x07,0x04,0x11,0x70,0xd1,0x01,0x6b,0x01,0xa3,0x01,0x6b,0xd1, +0xd1,0xfe,0x95,0xfe,0x5d,0xfe,0x95,0x04,0xd5,0xfe,0xb3,0xa5,0xa7,0xa6,0xa5,0xfe, +0xb3,0x01,0x41,0x01,0xa2,0x01,0x6b,0xd2,0xd2,0xfe,0x95,0xfe,0x5e,0xfe,0x95,0xd2, +0xd2,0x02,0x3e,0x01,0x7f,0xc0,0x60,0x60,0xc0,0xfe,0x81,0x00,0x00,0x02,0x00,0x70, +0xff,0x04,0x06,0x8b,0x05,0x20,0x00,0x0b,0x00,0x18,0x00,0x00,0x12,0x10,0x12,0x24, +0x20,0x04,0x12,0x10,0x02,0x04,0x20,0x24,0x01,0x22,0x07,0x04,0x10,0x05,0x16,0x33, +0x32,0x37,0x24,0x11,0x21,0x70,0xd1,0x01,0x6b,0x01,0xa3,0x01,0x6b,0xd1,0xd1,0xfe, +0x95,0xfe,0x5d,0xfe,0x95,0x02,0x3c,0xa6,0xa5,0xfe,0xb3,0x01,0x4d,0xa5,0xa6,0xa7, +0xa5,0x01,0x4d,0xfd,0x67,0x01,0x41,0x01,0xa2,0x01,0x6b,0xd2,0xd2,0xfe,0x95,0xfe, +0x5e,0xfe,0x95,0xd2,0xd2,0x04,0xdd,0x60,0xc0,0xfd,0x02,0xc0,0x60,0x60,0xc0,0x01, +0x7f,0x00,0x00,0x02,0x00,0x70,0xff,0x04,0x06,0x8b,0x05,0x20,0x00,0x0b,0x00,0x11, +0x00,0x00,0x12,0x10,0x12,0x24,0x20,0x04,0x12,0x10,0x02,0x04,0x20,0x24,0x01,0x22, +0x07,0x04,0x11,0x21,0x70,0xd1,0x01,0x6b,0x01,0xa3,0x01,0x6b,0xd1,0xd1,0xfe,0x95, +0xfe,0x5d,0xfe,0x95,0x02,0x3c,0xa6,0xa5,0xfe,0xb3,0x02,0x98,0x01,0x41,0x01,0xa2, +0x01,0x6b,0xd2,0xd2,0xfe,0x95,0xfe,0x5e,0xfe,0x95,0xd2,0xd2,0x04,0xdd,0x60,0xc0, +0xfe,0x81,0x00,0x01,0x00,0x70,0xfe,0xff,0x03,0x7d,0x05,0x29,0x00,0x07,0x00,0x00, +0x36,0x10,0x25,0x36,0x33,0x11,0x22,0x27,0x70,0x01,0x87,0xc3,0xc3,0xc3,0xc3,0x52, +0x03,0x84,0xe2,0x71,0xf9,0xd6,0x71,0x00,0x00,0x01,0x00,0xba,0xfe,0xff,0x03,0xc7, +0x05,0x29,0x00,0x07,0x00,0x00,0x00,0x10,0x05,0x06,0x23,0x11,0x32,0x17,0x03,0xc7, +0xfe,0x79,0xc3,0xc3,0xc3,0xc3,0x03,0xd6,0xfc,0x7c,0xe2,0x71,0x06,0x2a,0x71,0x00, +0x00,0x02,0x00,0xba,0xff,0xec,0x05,0x9a,0x06,0x28,0x00,0x0a,0x00,0x0e,0x00,0x00, +0x01,0x14,0x16,0x32,0x36,0x35,0x34,0x26,0x23,0x22,0x06,0x01,0x11,0x21,0x11,0x02, +0x01,0xac,0xfa,0xac,0xab,0x7c,0x7e,0xad,0xfe,0xb9,0x04,0xe0,0x02,0xfa,0x7d,0xac, +0xac,0x7d,0x7c,0xab,0xab,0xfc,0x76,0x06,0x3c,0xf9,0xc4,0x00,0x00,0x03,0x00,0xba, +0xfe,0x00,0x07,0x09,0x06,0x28,0x00,0x0d,0x00,0x1b,0x00,0x1f,0x00,0x00,0x00,0x10, +0x05,0x16,0x33,0x32,0x37,0x24,0x10,0x25,0x26,0x23,0x22,0x07,0x04,0x10,0x05,0x16, +0x33,0x32,0x37,0x24,0x10,0x25,0x26,0x23,0x22,0x07,0x01,0x11,0x21,0x11,0x01,0x49, +0x01,0x4d,0xa5,0xa6,0xa7,0xa5,0x01,0x4d,0xfe,0xb3,0xa5,0xa7,0xa6,0xa5,0xfe,0x3e, +0x01,0x87,0xc3,0xc3,0xc4,0xc3,0x01,0x87,0xfe,0x79,0xc3,0xc4,0xc3,0xc3,0xfe,0x5f, +0x06,0x4f,0x03,0x93,0xfd,0x02,0xc0,0x60,0x60,0xc0,0x02,0xfe,0xc0,0x60,0x60,0x7d, +0xfc,0x7c,0xe2,0x71,0x71,0xe2,0x03,0x84,0xe2,0x71,0x71,0xf9,0x48,0x08,0x28,0xf7, +0xd8,0x00,0x00,0x02,0x00,0xba,0x02,0x14,0x07,0x09,0x06,0x28,0x00,0x0c,0x00,0x15, +0x00,0x00,0x13,0x11,0x21,0x11,0x23,0x10,0x25,0x26,0x23,0x22,0x07,0x04,0x11,0x29, +0x01,0x10,0x25,0x36,0x33,0x32,0x17,0x04,0xba,0x06,0x4f,0x1a,0xfe,0x79,0xc3,0xc4, +0xc3,0xc3,0xfe,0x79,0x05,0xa6,0xfa,0xcf,0x01,0x4d,0xa6,0xa5,0xa6,0xa6,0x01,0x4d, +0x02,0x14,0x04,0x14,0xfb,0xec,0x01,0xc2,0xe2,0x71,0x71,0xe2,0xfe,0x3e,0x01,0x7e, +0xc1,0x60,0x60,0xc1,0x00,0x02,0x00,0xba,0xfe,0x00,0x07,0x09,0x02,0x14,0x00,0x0c, +0x00,0x15,0x00,0x00,0x13,0x11,0x33,0x10,0x05,0x16,0x33,0x32,0x37,0x24,0x11,0x33, +0x11,0x01,0x21,0x10,0x05,0x06,0x23,0x22,0x27,0x24,0xba,0x1a,0x01,0x87,0xc3,0xc3, +0xc4,0xc3,0x01,0x87,0x1a,0xfa,0x40,0x05,0x31,0xfe,0xb3,0xa6,0xa6,0xa5,0xa6,0xfe, +0xb3,0xfe,0x00,0x04,0x14,0xfe,0x3e,0xe2,0x71,0x71,0xe2,0x01,0xc2,0xfb,0xec,0x04, +0x14,0xfe,0x82,0xc1,0x60,0x60,0xc1,0x00,0x00,0x01,0x00,0x06,0x02,0x14,0x03,0x14, +0x05,0x29,0x00,0x09,0x00,0x00,0x13,0x10,0x25,0x36,0x33,0x15,0x22,0x07,0x04,0x11, +0x06,0x01,0x87,0xc3,0xc3,0xa6,0xa5,0xfe,0xb3,0x02,0x14,0x01,0xc2,0xe2,0x71,0x76, +0x60,0xc0,0xfe,0x81,0x00,0x01,0x00,0x06,0x02,0x14,0x03,0x13,0x05,0x29,0x00,0x09, +0x00,0x00,0x13,0x32,0x17,0x04,0x11,0x23,0x10,0x25,0x26,0x23,0x06,0xc3,0xc3,0x01, +0x87,0x75,0xfe,0xb3,0xa5,0xa6,0x05,0x29,0x71,0xe2,0xfe,0x3e,0x01,0x7f,0xc0,0x60, +0x00,0x01,0x00,0x06,0xfe,0xff,0x03,0x13,0x02,0x14,0x00,0x09,0x00,0x00,0x13,0x35, +0x32,0x37,0x24,0x11,0x33,0x10,0x05,0x06,0x06,0xa6,0xa5,0x01,0x4d,0x75,0xfe,0x79, +0xc3,0xfe,0xff,0x76,0x60,0xc0,0x01,0x7f,0xfe,0x3e,0xe2,0x71,0x00,0x01,0x00,0x06, +0xfe,0xff,0x03,0x14,0x02,0x14,0x00,0x09,0x00,0x00,0x01,0x22,0x27,0x24,0x11,0x33, +0x10,0x05,0x16,0x33,0x03,0x13,0xc3,0xc3,0xfe,0x79,0x75,0x01,0x4d,0xa5,0xa6,0xfe, +0xff,0x71,0xe2,0x01,0xc2,0xfe,0x81,0xc0,0x60,0x00,0x00,0x01,0x00,0x70,0x02,0x14, +0x06,0x8b,0x05,0x29,0x00,0x11,0x00,0x00,0x13,0x10,0x25,0x36,0x33,0x32,0x17,0x04, +0x11,0x23,0x10,0x25,0x26,0x23,0x22,0x07,0x04,0x11,0x70,0x01,0x87,0xc3,0xc3,0xc4, +0xc3,0x01,0x87,0x75,0xfe,0xb3,0xa5,0xa7,0xa6,0xa5,0xfe,0xb3,0x02,0x14,0x01,0xc2, +0xe2,0x71,0x71,0xe2,0xfe,0x3e,0x01,0x7f,0xc0,0x60,0x60,0xc0,0xfe,0x81,0x00,0x01, +0x00,0x70,0xfe,0xff,0x06,0x8b,0x02,0x14,0x00,0x11,0x00,0x00,0x13,0x33,0x10,0x05, +0x16,0x33,0x32,0x37,0x24,0x11,0x33,0x10,0x05,0x06,0x23,0x22,0x27,0x24,0x70,0x75, +0x01,0x4d,0xa5,0xa6,0xa7,0xa5,0x01,0x4d,0x75,0xfe,0x79,0xc3,0xc4,0xc3,0xc3,0xfe, +0x79,0x02,0x14,0xfe,0x81,0xc0,0x60,0x60,0xc0,0x01,0x7f,0xfe,0x3e,0xe2,0x71,0x71, +0xe2,0x00,0x00,0x01,0x00,0x06,0xff,0x03,0x06,0x21,0x05,0x25,0x00,0x02,0x00,0x00, +0x17,0x01,0x11,0x06,0x06,0x1b,0xfc,0x06,0x20,0xf9,0xe0,0x00,0x00,0x01,0x00,0x06, +0xff,0x03,0x06,0x21,0x05,0x25,0x00,0x02,0x00,0x00,0x17,0x11,0x01,0x06,0x06,0x1b, +0xfc,0x06,0x20,0xf9,0xe0,0x00,0x00,0x01,0x00,0x06,0xff,0x03,0x06,0x21,0x05,0x25, +0x00,0x02,0x00,0x00,0x17,0x11,0x21,0x06,0x06,0x1b,0xfc,0x06,0x20,0x00,0x00,0x01, +0x00,0x06,0xff,0x03,0x06,0x21,0x05,0x25,0x00,0x02,0x00,0x00,0x13,0x21,0x11,0x06, +0x06,0x1b,0x05,0x24,0xf9,0xe0,0x00,0x02,0x01,0x33,0x01,0xd1,0x03,0x85,0x04,0x21, +0x00,0x0a,0x00,0x15,0x00,0x00,0x01,0x14,0x16,0x32,0x36,0x35,0x34,0x26,0x23,0x22, +0x06,0x07,0x34,0x36,0x33,0x32,0x16,0x15,0x14,0x06,0x22,0x26,0x01,0x6e,0x8a,0xc8, +0x8a,0x89,0x63,0x65,0x8b,0x3b,0xad,0x7e,0x7c,0xab,0xac,0xfa,0xac,0x02,0xfa,0x64, +0x8a,0x8a,0x64,0x63,0x89,0x89,0x63,0x7c,0xab,0xab,0x7c,0x7d,0xac,0xac,0x00,0x02, +0x00,0xba,0xff,0x03,0x06,0xd5,0x05,0x25,0x00,0x03,0x00,0x07,0x00,0x00,0x17,0x11, +0x21,0x11,0x25,0x21,0x11,0x21,0xba,0x06,0x1b,0xfc,0xf2,0x02,0x9c,0xfd,0x64,0xfc, +0x06,0x20,0xf9,0xe0,0x72,0x05,0x3c,0x00,0x00,0x02,0x00,0xba,0xff,0x03,0x06,0xd5, +0x05,0x25,0x00,0x03,0x00,0x07,0x00,0x00,0x17,0x11,0x21,0x11,0x25,0x21,0x11,0x21, +0xba,0x06,0x1b,0xfa,0x57,0x02,0x9b,0xfd,0x65,0xfc,0x06,0x20,0xf9,0xe0,0x72,0x05, +0x3c,0x00,0x00,0x02,0x00,0xba,0xff,0x03,0x06,0xd5,0x05,0x25,0x00,0x03,0x00,0x06, +0x00,0x00,0x17,0x11,0x21,0x11,0x25,0x21,0x11,0xba,0x06,0x1b,0xfa,0x57,0x05,0x37, +0xfc,0x06,0x20,0xf9,0xe0,0x72,0x05,0x3c,0x00,0x02,0x00,0xba,0xff,0x03,0x06,0xd5, +0x05,0x25,0x00,0x03,0x00,0x06,0x00,0x00,0x17,0x11,0x21,0x11,0x25,0x01,0x21,0xba, +0x06,0x1b,0xfa,0x57,0x05,0x37,0xfa,0xc9,0xfc,0x06,0x20,0xf9,0xe0,0x72,0x05,0x3c, +0x00,0x03,0x00,0xba,0xff,0x03,0x06,0xd5,0x05,0x25,0x00,0x03,0x00,0x07,0x00,0x0b, +0x00,0x00,0x17,0x11,0x21,0x11,0x25,0x21,0x11,0x21,0x01,0x21,0x11,0x21,0xba,0x06, +0x1b,0xfd,0x2b,0x02,0x63,0xfd,0x9d,0xfd,0x2c,0x02,0x62,0xfd,0x9e,0xfc,0x06,0x20, +0xf9,0xe0,0x72,0x05,0x3c,0xfa,0xc4,0x05,0x3c,0x00,0x00,0x03,0x00,0x06,0xff,0x03, +0x06,0x21,0x05,0x25,0x00,0x0a,0x00,0x0d,0x00,0x10,0x00,0x00,0x01,0x34,0x36,0x33, +0x32,0x16,0x15,0x14,0x06,0x22,0x26,0x01,0x21,0x09,0x03,0x02,0x7f,0x57,0x3e,0x3e, +0x56,0x56,0x7d,0x56,0xfe,0x32,0x04,0xc5,0xfd,0x9d,0xfc,0xf3,0x03,0x0d,0x03,0x0e, +0x01,0x6a,0x3e,0x56,0x56,0x3e,0x3e,0x56,0x56,0xfe,0x4a,0x04,0xca,0xfa,0xc4,0x06, +0x20,0xf9,0xe0,0x00,0x00,0x02,0x00,0x06,0xff,0x03,0x06,0x21,0x05,0x25,0x00,0x02, +0x00,0x05,0x00,0x00,0x05,0x21,0x09,0x03,0x03,0x13,0x02,0x63,0xfd,0x9d,0xfc,0xf3, +0x03,0x0d,0x03,0x0e,0x8a,0x04,0xca,0xfa,0xc4,0x06,0x20,0xf9,0xe0,0x00,0x00,0x02, +0x00,0x06,0xff,0x03,0x06,0x21,0x05,0x25,0x00,0x02,0x00,0x05,0x00,0x00,0x17,0x21, +0x11,0x09,0x02,0xb1,0x02,0x62,0xfc,0xf3,0x03,0x0d,0x03,0x0e,0x8a,0x04,0xca,0xfa, +0xc4,0x06,0x20,0xf9,0xe0,0x00,0x00,0x02,0x00,0x70,0xfe,0x00,0x08,0x84,0x06,0x28, +0x00,0x0b,0x00,0x17,0x00,0x00,0x12,0x10,0x01,0x16,0x20,0x37,0x00,0x10,0x01,0x26, +0x20,0x07,0x00,0x10,0x01,0x24,0x20,0x05,0x00,0x10,0x01,0x04,0x20,0x25,0xf1,0x01, +0xc5,0xe2,0x01,0xc4,0xe2,0x01,0xc5,0xfe,0x3b,0xe2,0xfe,0x3c,0xe2,0xfd,0xba,0x02, +0x05,0x01,0x03,0x02,0x04,0x01,0x03,0x02,0x05,0xfd,0xfb,0xfe,0xfd,0xfd,0xfc,0xfe, +0xfd,0x04,0x1e,0xfb,0xec,0xfe,0xfb,0x83,0x83,0x01,0x05,0x04,0x14,0x01,0x05,0x83, +0x83,0xfa,0x9d,0x04,0xa8,0x01,0x2a,0x96,0x96,0xfe,0xd6,0xfb,0x58,0xfe,0xd6,0x96, +0x96,0x00,0x00,0x03,0x00,0xba,0xff,0x03,0x06,0xd5,0x05,0x25,0x00,0x05,0x00,0x09, +0x00,0x0d,0x00,0x00,0x05,0x21,0x11,0x21,0x11,0x21,0x03,0x11,0x21,0x11,0x01,0x21, +0x11,0x21,0x01,0x2c,0x05,0x37,0xfd,0x9d,0xfd,0x2c,0x72,0x06,0x1b,0xfa,0x57,0x02, +0x62,0xfd,0x9e,0x8a,0x05,0x3c,0xfd,0x29,0xfd,0x29,0x06,0x20,0xf9,0xe0,0x03,0x49, +0x02,0x65,0x00,0x03,0x00,0xba,0xff,0x03,0x06,0xd5,0x05,0x25,0x00,0x05,0x00,0x09, +0x00,0x0d,0x00,0x00,0x01,0x21,0x11,0x21,0x11,0x21,0x03,0x11,0x21,0x11,0x25,0x21, +0x11,0x21,0x01,0x2c,0x02,0xd4,0x02,0x63,0xfa,0xc9,0x72,0x06,0x1b,0xfa,0x57,0x02, +0x62,0xfd,0x9e,0x02,0x4d,0xfd,0x29,0x05,0x3c,0xfa,0x52,0x06,0x20,0xf9,0xe0,0x72, +0x02,0x65,0x00,0x03,0x00,0xba,0xff,0x03,0x06,0xd5,0x05,0x25,0x00,0x05,0x00,0x09, +0x00,0x0d,0x00,0x00,0x05,0x21,0x11,0x21,0x11,0x21,0x03,0x11,0x21,0x11,0x25,0x21, +0x11,0x21,0x01,0x2c,0x02,0x62,0x02,0xd5,0xfa,0xc9,0x72,0x06,0x1b,0xfd,0x2b,0x02, +0x63,0xfd,0x9d,0x8a,0x02,0xd7,0x02,0x65,0xfa,0x52,0x06,0x20,0xf9,0xe0,0x72,0x02, +0x65,0x00,0x00,0x03,0x00,0xba,0xff,0x03,0x06,0xd5,0x05,0x25,0x00,0x05,0x00,0x09, +0x00,0x0d,0x00,0x00,0x05,0x21,0x11,0x21,0x11,0x21,0x03,0x11,0x21,0x11,0x01,0x21, +0x11,0x21,0x01,0x2c,0x05,0x37,0xfd,0x2b,0xfd,0x9e,0x72,0x06,0x1b,0xfd,0x2b,0x02, +0x63,0xfd,0x9d,0x8a,0x02,0x65,0x02,0xd7,0xfa,0x52,0x06,0x20,0xf9,0xe0,0x03,0x49, +0x02,0x65,0x00,0x03,0x00,0x70,0xff,0x04,0x06,0x8b,0x05,0x20,0x00,0x0b,0x00,0x11, +0x00,0x1e,0x00,0x00,0x12,0x10,0x12,0x24,0x20,0x04,0x12,0x10,0x02,0x04,0x20,0x24, +0x01,0x06,0x07,0x04,0x03,0x21,0x05,0x12,0x05,0x16,0x33,0x32,0x37,0x24,0x10,0x25, +0x26,0x27,0x11,0x70,0xd1,0x01,0x6b,0x01,0xa3,0x01,0x6b,0xd1,0xd1,0xfe,0x95,0xfe, +0x5d,0xfe,0x95,0x02,0x03,0x89,0x89,0xfe,0xcc,0x17,0x02,0x5d,0xfd,0xa3,0x17,0x01, +0x34,0xa6,0xa5,0xa6,0xa6,0x01,0x4d,0xfe,0xb3,0x89,0x8a,0x01,0x41,0x01,0xa2,0x01, +0x6b,0xd2,0xd2,0xfe,0x95,0xfe,0x5e,0xfe,0x95,0xd2,0xd2,0x04,0xda,0x0e,0x4f,0xb2, +0xfe,0xac,0x72,0xfe,0xac,0xb2,0x60,0x60,0xc1,0x02,0xfc,0xc1,0x4f,0x0e,0xfd,0x2b, +0x00,0x03,0x00,0x70,0xff,0x04,0x06,0x8b,0x05,0x20,0x00,0x0b,0x00,0x18,0x00,0x1e, +0x00,0x00,0x12,0x10,0x12,0x24,0x20,0x04,0x12,0x10,0x02,0x04,0x20,0x24,0x05,0x36, +0x37,0x24,0x10,0x25,0x26,0x23,0x22,0x07,0x04,0x03,0x21,0x05,0x12,0x05,0x16,0x17, +0x11,0x70,0xd1,0x01,0x6b,0x01,0xa3,0x01,0x6b,0xd1,0xd1,0xfe,0x95,0xfe,0x5d,0xfe, +0x95,0x02,0x75,0x8a,0x89,0x01,0x4d,0xfe,0xb3,0xa6,0xa6,0xa5,0xa6,0xfe,0xcc,0x17, +0x02,0xcf,0xfd,0x31,0x17,0x01,0x34,0x89,0x89,0x01,0x41,0x01,0xa2,0x01,0x6b,0xd2, +0xd2,0xfe,0x95,0xfe,0x5e,0xfe,0x95,0xd2,0xd2,0x5e,0x0e,0x4f,0xc1,0x02,0xfc,0xc1, +0x60,0x60,0xb2,0xfe,0xac,0x72,0xfe,0xac,0xb2,0x4f,0x0e,0x02,0x63,0x00,0x00,0x03, +0x00,0x70,0xff,0x04,0x06,0x8b,0x05,0x20,0x00,0x0b,0x00,0x18,0x00,0x1e,0x00,0x00, +0x12,0x10,0x12,0x24,0x20,0x04,0x12,0x10,0x02,0x04,0x20,0x24,0x02,0x10,0x05,0x16, +0x17,0x11,0x21,0x02,0x25,0x26,0x23,0x22,0x07,0x01,0x36,0x37,0x24,0x13,0x21,0x70, +0xd1,0x01,0x6b,0x01,0xa3,0x01,0x6b,0xd1,0xd1,0xfe,0x95,0xfe,0x5d,0xfe,0x95,0x5c, +0x01,0x4d,0x89,0x89,0x02,0xd0,0x17,0xfe,0xcc,0xa6,0xa6,0xa5,0xa6,0x01,0x84,0x8a, +0x89,0x01,0x34,0x17,0xfd,0xa2,0x01,0x41,0x01,0xa2,0x01,0x6b,0xd2,0xd2,0xfe,0x95, +0xfe,0x5e,0xfe,0x95,0xd2,0xd2,0x03,0xbc,0xfd,0x04,0xc1,0x4f,0x0e,0x02,0xd5,0x01, +0x54,0xb2,0x60,0x60,0xfb,0x25,0x0e,0x4f,0xb2,0x01,0x54,0x00,0x00,0x03,0x00,0x70, +0xff,0x04,0x06,0x8b,0x05,0x20,0x00,0x0b,0x00,0x18,0x00,0x1e,0x00,0x00,0x12,0x10, +0x12,0x24,0x20,0x04,0x12,0x10,0x02,0x04,0x20,0x24,0x02,0x10,0x05,0x16,0x33,0x32, +0x37,0x24,0x13,0x21,0x11,0x06,0x07,0x01,0x02,0x25,0x26,0x27,0x11,0x70,0xd1,0x01, +0x6b,0x01,0xa3,0x01,0x6b,0xd1,0xd1,0xfe,0x95,0xfe,0x5d,0xfe,0x95,0x5c,0x01,0x4d, +0xa6,0xa5,0xa6,0xa6,0x01,0x34,0x17,0xfd,0x30,0x89,0x89,0x03,0xe2,0x17,0xfe,0xcc, +0x89,0x8a,0x01,0x41,0x01,0xa2,0x01,0x6b,0xd2,0xd2,0xfe,0x95,0xfe,0x5e,0xfe,0x95, +0xd2,0xd2,0x03,0xbc,0xfd,0x04,0xc1,0x60,0x60,0xb2,0x01,0x54,0x02,0xd5,0x0e,0x4f, +0xfd,0xfa,0x01,0x54,0xb2,0x4f,0x0e,0xfd,0x9d,0x00,0x00,0x02,0x00,0x06,0xff,0x03, +0x06,0x21,0x05,0x25,0x00,0x02,0x00,0x05,0x00,0x00,0x37,0x01,0x21,0x03,0x11,0x21, +0x78,0x04,0x8c,0xfb,0x74,0x72,0x06,0x1b,0x20,0x04,0x92,0xfa,0x52,0x06,0x20,0x00, +0x00,0x02,0x00,0x06,0xff,0x03,0x06,0x21,0x05,0x25,0x00,0x02,0x00,0x05,0x00,0x00, +0x09,0x01,0x11,0x25,0x21,0x11,0x01,0x23,0x04,0x8c,0xfa,0x57,0x06,0x1b,0x04,0xb2, +0xfb,0x6e,0x04,0x92,0x72,0xf9,0xe0,0x00,0x00,0x02,0x00,0x06,0xff,0x03,0x06,0x21, +0x05,0x25,0x00,0x02,0x00,0x05,0x00,0x00,0x17,0x21,0x01,0x03,0x11,0x01,0x78,0x04, +0x8c,0xfb,0x74,0x72,0x06,0x1b,0x8a,0x04,0x92,0xfa,0xfc,0x06,0x20,0xf9,0xe0,0x00, +0x00,0x02,0x00,0xba,0xff,0x79,0x05,0xea,0x04,0xaf,0x00,0x03,0x00,0x07,0x00,0x00, +0x05,0x21,0x11,0x21,0x03,0x11,0x21,0x11,0x01,0x2c,0x04,0x4c,0xfb,0xb4,0x72,0x05, +0x30,0x15,0x04,0x52,0xfb,0x3c,0x05,0x36,0xfa,0xca,0x00,0x01,0x00,0xba,0xff,0x79, +0x05,0xea,0x04,0xaf,0x00,0x03,0x00,0x00,0x17,0x11,0x21,0x11,0xba,0x05,0x30,0x87, +0x05,0x36,0xfa,0xca,0x00,0x02,0x00,0xba,0xff,0xdd,0x05,0x22,0x04,0x4b,0x00,0x03, +0x00,0x07,0x00,0x00,0x25,0x21,0x11,0x21,0x03,0x11,0x21,0x11,0x01,0x2c,0x03,0x84, +0xfc,0x7c,0x72,0x04,0x68,0x4f,0x03,0x8a,0xfc,0x04,0x04,0x6e,0xfb,0x92,0x00,0x01, +0x00,0xba,0xff,0xdd,0x05,0x22,0x04,0x4b,0x00,0x03,0x00,0x00,0x17,0x11,0x21,0x11, +0xba,0x04,0x68,0x23,0x04,0x6e,0xfb,0x92,0x00,0x02,0x00,0x06,0xff,0x03,0x06,0x21, +0x05,0x25,0x00,0x02,0x00,0x05,0x00,0x00,0x05,0x21,0x11,0x09,0x01,0x11,0x01,0x23, +0x04,0x8c,0xfa,0x57,0x06,0x1b,0x8a,0x04,0x92,0xfa,0xfc,0x06,0x20,0xf9,0xe0,0x00, +0x00,0x09,0x00,0xab,0x00,0x00,0x06,0x80,0x05,0xd5,0x00,0x07,0x00,0x0c,0x00,0x13, +0x00,0x22,0x00,0x2a,0x00,0x32,0x00,0x3a,0x00,0x41,0x00,0x49,0x00,0x43,0xba,0x00, +0x03,0x00,0x06,0x00,0x03,0x2b,0xb8,0x00,0x03,0x10,0xb8,0x00,0x44,0xd0,0xb8,0x00, +0x06,0x10,0xb8,0x00,0x48,0xd0,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x02,0x2f,0xb8, +0x00,0x46,0x2f,0xb8,0x00,0x48,0x2f,0xba,0x00,0x24,0x00,0x27,0x00,0x03,0x2b,0xb8, +0x00,0x24,0x10,0xb8,0x00,0x2b,0xd0,0xb8,0x00,0x27,0x10,0xb8,0x00,0x2f,0xd0,0x30, +0x31,0x01,0x33,0x17,0x11,0x07,0x23,0x27,0x11,0x05,0x17,0x15,0x07,0x27,0x25,0x17, +0x07,0x23,0x26,0x27,0x35,0x05,0x32,0x1f,0x01,0x14,0x07,0x06,0x23,0x22,0x27,0x26, +0x35,0x34,0x37,0x36,0x01,0x21,0x17,0x15,0x07,0x21,0x27,0x35,0x25,0x21,0x17,0x15, +0x07,0x21,0x27,0x35,0x03,0x33,0x16,0x17,0x15,0x07,0x27,0x35,0x25,0x33,0x17,0x15, +0x07,0x27,0x35,0x25,0x33,0x17,0x11,0x07,0x23,0x27,0x11,0x03,0x73,0x4d,0x06,0x06, +0x4d,0x06,0x02,0x37,0x3a,0xf8,0x3d,0xfc,0xfd,0xfc,0x3d,0x03,0xc8,0x2d,0x02,0x30, +0xd0,0x59,0x0d,0xbe,0x47,0x2e,0xaf,0x62,0x23,0xb7,0x43,0xfd,0x4b,0x01,0x53,0x06, +0x06,0xfe,0xad,0x06,0x04,0x75,0x01,0x59,0x07,0x07,0xfe,0xa7,0x06,0x47,0x03,0x86, +0x72,0x3d,0xf8,0xfd,0xb5,0x03,0x3b,0xf6,0x3e,0x02,0x1b,0x4d,0x06,0x06,0x4d,0x06, +0x05,0xd5,0x06,0xfe,0xa2,0x06,0x06,0x01,0x5e,0x9b,0x3f,0x03,0xfe,0x3f,0xee,0xfe, +0x40,0xc7,0x37,0x04,0xb5,0xe1,0x60,0xbd,0x64,0x17,0xa7,0x3f,0x5c,0xb5,0x67,0x1b, +0xfe,0xed,0x06,0x4f,0x06,0x06,0x4f,0x06,0x06,0x4f,0x06,0x06,0x4f,0xfe,0xe8,0x82, +0x79,0x03,0x3e,0xfd,0x04,0x2a,0x3c,0x03,0xfe,0x3f,0x04,0x76,0x06,0xfe,0xa2,0x06, +0x06,0x01,0x5e,0x00,0x00,0x01,0x00,0x68,0xff,0xfb,0x07,0x97,0x02,0xe1,0x00,0x22, +0x00,0x2d,0x00,0xb8,0x00,0x0f,0x2f,0xb8,0x00,0x11,0x2f,0xb8,0x00,0x00,0x2f,0xba, +0x00,0x04,0x00,0x0f,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x0a,0x00,0x0f,0x00,0x00, +0x11,0x12,0x39,0xba,0x00,0x1b,0x00,0x0f,0x00,0x00,0x11,0x12,0x39,0x30,0x31,0x01, +0x33,0x32,0x1f,0x01,0x36,0x33,0x16,0x15,0x14,0x07,0x16,0x1d,0x01,0x06,0x23,0x21, +0x35,0x32,0x37,0x36,0x3b,0x01,0x27,0x34,0x3f,0x01,0x17,0x27,0x34,0x3f,0x01,0x32, +0x17,0x36,0x04,0xf5,0x16,0xd9,0x75,0x15,0x27,0x36,0x87,0x22,0x67,0x12,0x50,0xf9, +0x33,0x39,0x86,0x2e,0x34,0x21,0x0c,0xa0,0x27,0x2a,0x05,0xcc,0x43,0x30,0x2e,0x78, +0x02,0xe1,0xe8,0x56,0x23,0x1b,0x6d,0x31,0x34,0x17,0x48,0x1a,0x65,0x09,0xae,0x27, +0x31,0x6c,0x31,0x04,0x04,0x0c,0x93,0x5a,0x08,0x2b,0x64,0x00,0x00,0x01,0x00,0x64, +0x00,0x00,0x06,0xc8,0x05,0xd5,0x00,0x3f,0x00,0x37,0xba,0x00,0x18,0x00,0x29,0x00, +0x03,0x2b,0xb8,0x00,0x18,0x10,0xb8,0x00,0x02,0xd0,0xb8,0x00,0x02,0x2f,0x00,0xb8, +0x00,0x00,0x2f,0xb8,0x00,0x02,0x2f,0xb8,0x00,0x1b,0x2f,0xba,0x00,0x0a,0x00,0x1b, +0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x3a,0x00,0x1b,0x00,0x00,0x11,0x12,0x39,0x30, +0x31,0x01,0x33,0x17,0x15,0x33,0x20,0x01,0x16,0x1d,0x01,0x23,0x26,0x27,0x26,0x2b, +0x01,0x22,0x07,0x15,0x14,0x07,0x27,0x26,0x23,0x11,0x14,0x0f,0x01,0x22,0x2f,0x01, +0x35,0x37,0x33,0x17,0x15,0x16,0x3b,0x01,0x32,0x3f,0x01,0x11,0x22,0x07,0x06,0x23, +0x27,0x35,0x37,0x23,0x26,0x27,0x23,0x22,0x0f,0x01,0x23,0x35,0x36,0x37,0x36,0x21, +0x35,0x03,0x8b,0x3a,0x06,0x02,0x01,0xb8,0x01,0x18,0x2b,0x02,0x16,0x13,0x23,0x39, +0x2c,0x96,0x70,0x08,0x21,0x97,0x88,0x6a,0x1e,0x5b,0x25,0x02,0x06,0x2b,0x05,0x0b, +0x3e,0x0a,0x37,0x14,0x06,0xd3,0x56,0x11,0x0e,0x07,0x07,0x04,0x43,0xc5,0x43,0x63, +0x22,0x14,0x03,0x3a,0xc0,0xef,0x01,0x38,0x05,0xd5,0x06,0x7d,0xfe,0x1a,0x56,0x0d, +0x08,0x0f,0x2e,0x18,0x65,0x33,0x0f,0x02,0x42,0x3d,0xfd,0x53,0x65,0x18,0x02,0x60, +0x1c,0x1a,0x06,0x06,0x0c,0x65,0x39,0x2a,0x02,0xa4,0x3d,0x39,0x06,0x0c,0x33,0x40, +0x1b,0x3d,0x12,0x02,0x90,0xda,0xdf,0x7d,0x00,0x1a,0x00,0xaa,0xff,0xff,0x06,0x82, +0x07,0x6b,0x00,0x09,0x00,0x11,0x00,0x19,0x00,0x21,0x00,0x3d,0x00,0x5d,0x00,0x89, +0x00,0xb5,0x00,0xe1,0x01,0x0d,0x01,0x39,0x01,0x65,0x01,0x91,0x01,0xbd,0x01,0xe9, +0x02,0x15,0x02,0x41,0x02,0x6d,0x02,0x75,0x02,0x7d,0x02,0x85,0x02,0xb1,0x02,0xdd, +0x03,0x09,0x03,0x35,0x03,0x61,0x01,0xc7,0xba,0x00,0x4d,0x00,0x2a,0x00,0x03,0x2b, +0xb8,0x00,0x4d,0x10,0x41,0x05,0x00,0xea,0x00,0x2a,0x00,0xfa,0x00,0x2a,0x00,0x02, +0x5d,0x41,0x1b,0x00,0x19,0x00,0x2a,0x00,0x29,0x00,0x2a,0x00,0x39,0x00,0x2a,0x00, +0x49,0x00,0x2a,0x00,0x59,0x00,0x2a,0x00,0x69,0x00,0x2a,0x00,0x79,0x00,0x2a,0x00, +0x89,0x00,0x2a,0x00,0x99,0x00,0x2a,0x00,0xa9,0x00,0x2a,0x00,0xb9,0x00,0x2a,0x00, +0xc9,0x00,0x2a,0x00,0xd9,0x00,0x2a,0x00,0x0d,0x5d,0xb8,0x00,0x2a,0x10,0xb8,0x00, +0xb7,0xd0,0xba,0x00,0xbd,0x00,0x2a,0x00,0x4d,0x11,0x12,0x39,0xb8,0x00,0x4d,0x10, +0xb8,0x00,0xc2,0xd0,0xb8,0x00,0xc2,0x2f,0xba,0x00,0xc5,0x00,0x2a,0x00,0x4d,0x11, +0x12,0x39,0xb8,0x00,0x4d,0x10,0xb8,0x00,0xc8,0xd0,0xb8,0x00,0xc8,0x2f,0xba,0x00, +0xcd,0x00,0x2a,0x00,0x4d,0x11,0x12,0x39,0xb8,0x00,0x2a,0x10,0xb8,0x00,0xd2,0xd0, +0xb8,0x00,0xd2,0x2f,0xb8,0x00,0x4d,0x10,0xb8,0x03,0x63,0xdc,0x00,0xb8,0x01,0x10, +0x2f,0xb8,0x01,0x12,0x2f,0xb8,0x01,0x14,0x2f,0xba,0x00,0x27,0x00,0x50,0x00,0x03, +0x2b,0xb8,0x00,0x27,0x10,0xba,0x00,0x16,0x00,0x05,0x00,0x03,0x2b,0xb8,0x00,0x16, +0x10,0xb8,0x00,0x12,0xdc,0xb8,0x00,0x0a,0xd0,0xb8,0x00,0x0a,0x2f,0xb8,0x00,0x16, +0x10,0xb8,0x00,0x0e,0xd0,0xb8,0x00,0x0e,0x2f,0xba,0x00,0x8b,0x00,0x05,0x00,0x16, +0x11,0x12,0x39,0xba,0x00,0x91,0x00,0x05,0x00,0x16,0x11,0x12,0x39,0xb8,0x00,0x12, +0x10,0xb8,0x00,0x94,0xd0,0xb8,0x00,0x94,0x2f,0xba,0x00,0x99,0x00,0x05,0x00,0x16, +0x11,0x12,0x39,0xba,0x00,0xa1,0x00,0x05,0x00,0x16,0x11,0x12,0x39,0xb8,0x00,0x05, +0x10,0xb8,0x00,0xa4,0xd0,0xb8,0x00,0xa4,0x2f,0xba,0x00,0xa7,0x00,0x05,0x00,0x16, +0x11,0x12,0x39,0xba,0x00,0xaf,0x00,0x05,0x00,0x16,0x11,0x12,0x39,0xb8,0x00,0x12, +0x10,0xb8,0x00,0xb4,0xd0,0xb8,0x00,0xb4,0x2f,0xba,0x00,0xb7,0x00,0x05,0x00,0x16, +0x11,0x12,0x39,0xba,0x00,0xbd,0x00,0x05,0x00,0x16,0x11,0x12,0x39,0xba,0x00,0xc5, +0x00,0x05,0x00,0x16,0x11,0x12,0x39,0xba,0x00,0xcd,0x00,0x05,0x00,0x16,0x11,0x12, +0x39,0xba,0x00,0xd3,0x00,0x05,0x00,0x16,0x11,0x12,0x39,0xba,0x00,0xdb,0x00,0x05, +0x00,0x16,0x11,0x12,0x39,0xb8,0x00,0x16,0x10,0xb8,0x00,0xfc,0xd0,0xb8,0x00,0xfc, +0x2f,0xba,0x02,0xdf,0x00,0x05,0x00,0x16,0x11,0x12,0x39,0xba,0x02,0xe5,0x00,0x05, +0x00,0x16,0x11,0x12,0x39,0xba,0x02,0xed,0x00,0x05,0x00,0x16,0x11,0x12,0x39,0xba, +0x02,0xf5,0x00,0x05,0x00,0x16,0x11,0x12,0x39,0xba,0x02,0xfb,0x00,0x05,0x00,0x16, +0x11,0x12,0x39,0xba,0x03,0x03,0x00,0x05,0x00,0x16,0x11,0x12,0x39,0x30,0x31,0x01, +0x16,0x37,0x33,0x06,0x07,0x26,0x27,0x33,0x16,0x37,0x26,0x27,0x36,0x37,0x16,0x17, +0x06,0x05,0x26,0x27,0x36,0x37,0x16,0x17,0x06,0x03,0x26,0x27,0x36,0x37,0x16,0x17, +0x06,0x27,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x27,0x26,0x27,0x16,0x37, +0x36,0x35,0x34,0x26,0x23,0x22,0x06,0x15,0x14,0x17,0x16,0x33,0x06,0x13,0x36,0x37, +0x32,0x1f,0x01,0x16,0x15,0x14,0x07,0x06,0x07,0x16,0x17,0x16,0x15,0x14,0x04,0x23, +0x22,0x24,0x35,0x34,0x37,0x36,0x37,0x26,0x27,0x26,0x35,0x34,0x37,0x01,0x17,0x27, +0x26,0x33,0x32,0x0f,0x01,0x37,0x36,0x33,0x32,0x15,0x14,0x0f,0x01,0x17,0x16,0x15, +0x14,0x23,0x22,0x2f,0x01,0x17,0x16,0x23,0x22,0x35,0x37,0x07,0x06,0x23,0x22,0x35, +0x34,0x3f,0x01,0x27,0x26,0x35,0x34,0x33,0x32,0x01,0x17,0x27,0x26,0x33,0x32,0x0f, +0x01,0x37,0x36,0x33,0x32,0x15,0x14,0x0f,0x01,0x17,0x16,0x15,0x14,0x23,0x22,0x2f, +0x01,0x17,0x16,0x23,0x22,0x35,0x37,0x07,0x06,0x23,0x22,0x35,0x34,0x3f,0x01,0x27, +0x26,0x35,0x34,0x33,0x32,0x05,0x17,0x27,0x26,0x33,0x32,0x0f,0x01,0x37,0x36,0x33, +0x32,0x15,0x14,0x0f,0x01,0x17,0x16,0x15,0x14,0x23,0x22,0x2f,0x01,0x17,0x16,0x23, +0x22,0x35,0x37,0x07,0x06,0x23,0x22,0x35,0x34,0x3f,0x01,0x27,0x26,0x35,0x34,0x33, +0x32,0x13,0x17,0x27,0x26,0x33,0x32,0x0f,0x01,0x37,0x36,0x33,0x32,0x15,0x14,0x0f, +0x01,0x17,0x16,0x15,0x14,0x23,0x22,0x2f,0x01,0x17,0x16,0x23,0x22,0x35,0x37,0x07, +0x06,0x23,0x22,0x35,0x34,0x3f,0x01,0x27,0x26,0x35,0x34,0x33,0x32,0x01,0x17,0x27, +0x26,0x33,0x32,0x0f,0x01,0x37,0x36,0x33,0x32,0x15,0x14,0x0f,0x01,0x17,0x16,0x15, +0x14,0x23,0x22,0x2f,0x01,0x17,0x14,0x23,0x22,0x35,0x37,0x07,0x06,0x23,0x22,0x35, +0x34,0x3f,0x01,0x27,0x26,0x35,0x34,0x33,0x32,0x01,0x17,0x27,0x26,0x33,0x32,0x0f, +0x01,0x37,0x36,0x33,0x32,0x15,0x14,0x0f,0x01,0x17,0x16,0x15,0x14,0x23,0x22,0x2f, +0x01,0x17,0x14,0x23,0x22,0x35,0x37,0x07,0x06,0x23,0x22,0x35,0x34,0x3f,0x01,0x27, +0x26,0x35,0x34,0x33,0x32,0x05,0x17,0x27,0x34,0x33,0x32,0x15,0x07,0x37,0x36,0x33, +0x32,0x15,0x14,0x0f,0x01,0x17,0x16,0x15,0x14,0x23,0x22,0x2f,0x01,0x17,0x16,0x23, +0x22,0x35,0x37,0x07,0x06,0x23,0x22,0x35,0x34,0x3f,0x01,0x27,0x26,0x35,0x34,0x33, +0x32,0x03,0x17,0x27,0x26,0x33,0x32,0x0f,0x01,0x37,0x36,0x33,0x32,0x15,0x14,0x0f, +0x01,0x17,0x16,0x15,0x14,0x23,0x22,0x2f,0x01,0x17,0x16,0x23,0x22,0x35,0x37,0x07, +0x06,0x23,0x22,0x35,0x34,0x3f,0x01,0x27,0x26,0x35,0x34,0x33,0x32,0x05,0x17,0x27, +0x26,0x33,0x32,0x0f,0x01,0x37,0x36,0x33,0x32,0x15,0x14,0x0f,0x01,0x17,0x16,0x15, +0x14,0x23,0x22,0x2f,0x01,0x17,0x16,0x23,0x22,0x35,0x37,0x07,0x06,0x23,0x22,0x35, +0x34,0x3f,0x01,0x27,0x26,0x35,0x34,0x33,0x32,0x1f,0x01,0x27,0x26,0x33,0x32,0x0f, +0x01,0x37,0x36,0x33,0x32,0x15,0x14,0x0f,0x01,0x17,0x16,0x15,0x14,0x23,0x22,0x2f, +0x01,0x17,0x14,0x23,0x22,0x35,0x37,0x07,0x06,0x23,0x22,0x35,0x34,0x3f,0x01,0x27, +0x26,0x35,0x34,0x33,0x32,0x37,0x17,0x27,0x34,0x33,0x32,0x0f,0x01,0x37,0x36,0x33, +0x32,0x15,0x14,0x0f,0x01,0x17,0x16,0x15,0x14,0x23,0x22,0x2f,0x01,0x17,0x16,0x23, +0x22,0x35,0x37,0x07,0x06,0x23,0x22,0x35,0x34,0x3f,0x01,0x27,0x26,0x35,0x34,0x33, +0x32,0x37,0x17,0x27,0x26,0x33,0x32,0x0f,0x01,0x37,0x36,0x33,0x32,0x15,0x14,0x0f, +0x01,0x17,0x16,0x15,0x14,0x23,0x22,0x2f,0x01,0x17,0x16,0x23,0x22,0x35,0x37,0x07, +0x06,0x23,0x22,0x35,0x34,0x3f,0x01,0x27,0x26,0x35,0x34,0x33,0x32,0x13,0x26,0x27, +0x36,0x37,0x16,0x17,0x06,0x05,0x26,0x27,0x36,0x37,0x16,0x17,0x06,0x17,0x26,0x27, +0x36,0x37,0x16,0x17,0x06,0x01,0x17,0x27,0x26,0x33,0x32,0x0f,0x01,0x37,0x36,0x33, +0x32,0x15,0x14,0x0f,0x01,0x17,0x16,0x15,0x14,0x23,0x22,0x2f,0x01,0x17,0x16,0x23, +0x22,0x35,0x37,0x07,0x06,0x23,0x22,0x35,0x34,0x3f,0x01,0x27,0x26,0x35,0x34,0x33, +0x32,0x01,0x17,0x27,0x26,0x33,0x32,0x0f,0x01,0x37,0x36,0x33,0x32,0x15,0x14,0x0f, +0x01,0x17,0x16,0x15,0x14,0x23,0x22,0x2f,0x01,0x17,0x14,0x23,0x22,0x35,0x37,0x07, +0x06,0x23,0x22,0x35,0x34,0x3f,0x01,0x27,0x26,0x35,0x34,0x33,0x32,0x05,0x17,0x27, +0x26,0x33,0x32,0x0f,0x01,0x37,0x36,0x33,0x32,0x15,0x14,0x0f,0x01,0x17,0x16,0x15, +0x14,0x23,0x22,0x2f,0x01,0x17,0x16,0x23,0x22,0x35,0x37,0x07,0x06,0x23,0x22,0x35, +0x34,0x3f,0x01,0x27,0x26,0x35,0x34,0x33,0x32,0x01,0x17,0x27,0x26,0x33,0x32,0x0f, +0x01,0x37,0x36,0x33,0x32,0x15,0x14,0x0f,0x01,0x17,0x16,0x15,0x14,0x23,0x22,0x2f, +0x01,0x17,0x16,0x23,0x22,0x35,0x37,0x07,0x06,0x23,0x22,0x35,0x34,0x3f,0x01,0x27, +0x26,0x35,0x34,0x33,0x32,0x01,0x17,0x27,0x26,0x33,0x32,0x0f,0x01,0x37,0x36,0x33, +0x32,0x15,0x14,0x0f,0x01,0x17,0x16,0x15,0x14,0x23,0x22,0x2f,0x01,0x17,0x16,0x23, +0x22,0x35,0x37,0x07,0x06,0x23,0x22,0x35,0x34,0x3f,0x01,0x27,0x26,0x35,0x34,0x33, +0x32,0x03,0xfc,0x4f,0x1c,0x19,0x05,0x80,0x7e,0x09,0x18,0x29,0xb9,0x2a,0x01,0x03, +0x2b,0x27,0x03,0x03,0xfe,0xeb,0x29,0x03,0x03,0x2b,0x28,0x03,0x03,0x40,0x26,0x02, +0x03,0x27,0x24,0x02,0x02,0xca,0x7c,0xf7,0xaf,0xae,0xf8,0x7c,0x65,0x8b,0x3f,0x2f, +0x41,0x7d,0x5d,0x5c,0x8a,0x42,0x2d,0x37,0x90,0x15,0x1a,0x93,0x84,0x31,0x02,0x53, +0x4c,0x14,0x18,0x6f,0x57,0x8e,0xfe,0xe4,0xcb,0xcb,0xfe,0xe3,0x8f,0x5c,0x76,0x15, +0x13,0x4c,0x4c,0xfd,0xa9,0x29,0x06,0x01,0x0f,0x11,0x02,0x06,0x28,0x04,0x04,0x10, +0x08,0x30,0x2f,0x09,0x10,0x04,0x04,0x28,0x06,0x01,0x10,0x0e,0x05,0x28,0x03,0x05, +0x0e,0x09,0x2e,0x31,0x07,0x0f,0x05,0x01,0x28,0x25,0x06,0x02,0x0f,0x0f,0x02,0x06, +0x25,0x04,0x04,0x0e,0x07,0x2c,0x2a,0x07,0x0c,0x05,0x03,0x23,0x04,0x01,0x0e,0x0d, +0x05,0x24,0x03,0x04,0x0d,0x08,0x29,0x2a,0x08,0x0e,0x04,0x03,0x66,0x24,0x05,0x02, +0x0e,0x10,0x02,0x06,0x25,0x03,0x05,0x0d,0x07,0x2b,0x29,0x08,0x0c,0x06,0x02,0x24, +0x05,0x01,0x0f,0x0c,0x04,0x23,0x04,0x03,0x0e,0x08,0x2a,0x2b,0x08,0x0f,0x03,0x66, +0x25,0x06,0x02,0x0f,0x0f,0x02,0x06,0x25,0x04,0x04,0x0e,0x07,0x2c,0x2a,0x07,0x0c, +0x06,0x02,0x24,0x05,0x01,0x0e,0x0d,0x05,0x24,0x03,0x04,0x0d,0x08,0x29,0x2a,0x08, +0x0e,0x04,0xfb,0xcb,0x13,0x02,0x01,0x07,0x08,0x01,0x03,0x14,0x01,0x02,0x08,0x03, +0x18,0x17,0x04,0x08,0x02,0x01,0x13,0x02,0x07,0x06,0x02,0x13,0x02,0x03,0x06,0x04, +0x17,0x18,0x03,0x08,0x01,0x03,0x17,0x15,0x03,0x01,0x09,0x09,0x01,0x04,0x16,0x02, +0x02,0x09,0x04,0x1a,0x18,0x05,0x08,0x02,0x02,0x16,0x04,0x08,0x08,0x03,0x15,0x02, +0x02,0x08,0x04,0x19,0x1a,0x04,0x09,0x02,0xfc,0xbb,0x13,0x04,0x07,0x08,0x04,0x13, +0x03,0x02,0x08,0x05,0x16,0x16,0x04,0x07,0x02,0x03,0x13,0x03,0x01,0x08,0x07,0x04, +0x13,0x03,0x02,0x07,0x04,0x16,0x16,0x05,0x08,0x02,0x5c,0x14,0x04,0x01,0x08,0x08, +0x01,0x03,0x13,0x03,0x02,0x07,0x04,0x17,0x16,0x05,0x07,0x02,0x03,0x13,0x03,0x01, +0x08,0x07,0x03,0x13,0x02,0x02,0x08,0x05,0x16,0x16,0x05,0x08,0x02,0x01,0x1c,0x13, +0x02,0x01,0x08,0x08,0x01,0x03,0x13,0x01,0x03,0x08,0x04,0x17,0x16,0x05,0x08,0x03, +0x01,0x13,0x03,0x01,0x08,0x07,0x02,0x13,0x02,0x01,0x08,0x05,0x16,0x17,0x04,0x08, +0x01,0x6f,0x13,0x02,0x02,0x08,0x08,0x01,0x03,0x14,0x01,0x02,0x08,0x04,0x17,0x17, +0x04,0x08,0x02,0x01,0x13,0x02,0x07,0x06,0x02,0x13,0x02,0x03,0x06,0x04,0x16,0x17, +0x03,0x06,0x03,0xf7,0x15,0x03,0x07,0x09,0x01,0x03,0x16,0x01,0x04,0x08,0x05,0x1a, +0x19,0x06,0x08,0x04,0x02,0x14,0x02,0x01,0x09,0x07,0x03,0x15,0x03,0x02,0x08,0x05, +0x18,0x19,0x04,0x08,0x02,0x5b,0x16,0x03,0x01,0x09,0x09,0x01,0x04,0x16,0x02,0x02, +0x08,0x03,0x1a,0x18,0x05,0x08,0x02,0x02,0x16,0x03,0x01,0x08,0x08,0x02,0x15,0x01, +0x03,0x08,0x05,0x19,0x1a,0x04,0x09,0x02,0xae,0x25,0x02,0x02,0x29,0x23,0x03,0x03, +0xfe,0xb7,0x26,0x02,0x03,0x27,0x25,0x01,0x01,0xfc,0x26,0x02,0x02,0x29,0x23,0x03, +0x03,0x01,0x60,0x23,0x05,0x01,0x0e,0x0f,0x01,0x06,0x24,0x03,0x05,0x0d,0x07,0x2a, +0x29,0x08,0x0d,0x05,0x03,0x24,0x04,0x02,0x0e,0x0d,0x05,0x23,0x04,0x04,0x0e,0x08, +0x2b,0x2c,0x07,0x0e,0x04,0xfc,0x55,0x15,0x03,0x01,0x09,0x09,0x01,0x04,0x15,0x03, +0x02,0x09,0x05,0x19,0x18,0x05,0x08,0x02,0x03,0x15,0x04,0x08,0x08,0x03,0x15,0x02, +0x02,0x08,0x04,0x19,0x1a,0x04,0x09,0x02,0xfe,0x51,0x17,0x04,0x01,0x09,0x09,0x01, +0x03,0x15,0x02,0x02,0x08,0x03,0x1a,0x19,0x04,0x08,0x02,0x02,0x15,0x02,0x01,0x08, +0x08,0x04,0x17,0x01,0x02,0x09,0x06,0x18,0x1a,0x04,0x09,0x02,0x04,0x30,0x17,0x04, +0x01,0x09,0x09,0x01,0x03,0x15,0x02,0x02,0x08,0x03,0x1a,0x19,0x04,0x08,0x02,0x02, +0x15,0x02,0x01,0x08,0x08,0x03,0x16,0x01,0x03,0x08,0x06,0x18,0x19,0x05,0x09,0x02, +0xfc,0x45,0x25,0x05,0x02,0x0e,0x10,0x03,0x05,0x25,0x03,0x05,0x0d,0x07,0x2b,0x29, +0x08,0x0c,0x06,0x02,0x24,0x04,0x02,0x0f,0x0c,0x04,0x24,0x03,0x03,0x0e,0x08,0x2a, +0x2b,0x08,0x0f,0x03,0x03,0x89,0x05,0x2a,0x45,0x05,0x07,0x43,0x2a,0x5a,0x02,0x2a, +0x2c,0x03,0x03,0x29,0x2d,0x04,0x02,0x29,0x2d,0x03,0x03,0x2a,0x2c,0xfe,0x12,0x02, +0x25,0x26,0x02,0x02,0x25,0x26,0x9e,0x66,0x93,0x91,0xd0,0xd0,0x91,0x93,0x66,0x55, +0x20,0x02,0x35,0x48,0x68,0x66,0x65,0x65,0x66,0x68,0x48,0x32,0x1e,0x01,0xd9,0x70, +0x18,0x75,0x13,0x5e,0x74,0x74,0x51,0x18,0x10,0x1c,0x46,0x73,0xa5,0xa3,0xe6,0xe6, +0xa3,0xa5,0x73,0x4b,0x1a,0x0f,0x16,0x51,0x74,0x74,0x47,0xfd,0x68,0x21,0x39,0x0f, +0x0f,0x39,0x21,0x04,0x11,0x0b,0x03,0x15,0x16,0x03,0x0c,0x0f,0x02,0x21,0x37,0x10, +0x10,0x37,0x21,0x02,0x0f,0x0c,0x03,0x16,0x15,0x03,0x0b,0x11,0x01,0xd1,0x1f,0x34, +0x0d,0x0d,0x34,0x1f,0x03,0x10,0x07,0x05,0x14,0x13,0x03,0x09,0x0e,0x02,0x1e,0x32, +0x0f,0x0f,0x32,0x1e,0x02,0x0e,0x09,0x03,0x13,0x14,0x05,0x07,0x10,0x4b,0x1f,0x34, +0x0e,0x0e,0x34,0x1f,0x03,0x10,0x07,0x03,0x15,0x13,0x04,0x09,0x0e,0x02,0x1e,0x32, +0x0e,0x0e,0x32,0x1e,0x02,0x0e,0x09,0x04,0x13,0x15,0x03,0x07,0x10,0x01,0x1b,0x1e, +0x32,0x0e,0x0e,0x32,0x1e,0x02,0x0e,0x09,0x04,0x13,0x14,0x03,0x09,0x0f,0x03,0x1d, +0x31,0x0e,0x0e,0x31,0x1d,0x03,0x0f,0x09,0x03,0x14,0x13,0x04,0x09,0x0e,0x02,0x9a, +0x10,0x1c,0x06,0x06,0x1c,0x10,0x01,0x07,0x06,0x02,0x09,0x0b,0x02,0x04,0x08,0x02, +0x0e,0x19,0x07,0x07,0x19,0x0e,0x02,0x08,0x04,0x02,0x0b,0x09,0x02,0x06,0x07,0xfe, +0xe3,0x11,0x1d,0x0a,0x0a,0x1d,0x11,0x03,0x0a,0x05,0x01,0x0d,0x0a,0x03,0x06,0x07, +0x01,0x11,0x1e,0x07,0x07,0x1e,0x11,0x01,0x07,0x06,0x03,0x0a,0x0d,0x01,0x05,0x0a, +0xa8,0x10,0x1c,0x07,0x07,0x1c,0x10,0x02,0x07,0x06,0x02,0x09,0x0b,0x02,0x05,0x08, +0x02,0x0f,0x1a,0x08,0x08,0x1a,0x0f,0x02,0x08,0x05,0x02,0x0b,0x09,0x02,0x06,0x07, +0x01,0x18,0x10,0x1c,0x06,0x06,0x1c,0x10,0x02,0x08,0x04,0x03,0x0a,0x0a,0x02,0x05, +0x07,0x01,0x0f,0x19,0x08,0x08,0x19,0x0f,0x01,0x07,0x05,0x02,0x0a,0x0a,0x03,0x04, +0x08,0x18,0x0f,0x1b,0x07,0x07,0x1b,0x0f,0x02,0x08,0x05,0x01,0x0a,0x0b,0x01,0x06, +0x07,0x01,0x10,0x1b,0x08,0x08,0x1b,0x10,0x01,0x07,0x06,0x01,0x0b,0x0a,0x01,0x06, +0x07,0xa1,0x0f,0x1b,0x07,0x07,0x1b,0x0f,0x01,0x07,0x04,0x01,0x0c,0x0a,0x01,0x06, +0x06,0x01,0x0f,0x1b,0x07,0x07,0x1b,0x0f,0x01,0x06,0x06,0x01,0x0a,0x0c,0x01,0x04, +0x07,0x37,0x12,0x1f,0x07,0x07,0x1f,0x12,0x01,0x08,0x05,0x02,0x0c,0x0c,0x02,0x05, +0x08,0x01,0x12,0x1d,0x0a,0x0a,0x1d,0x12,0x01,0x08,0x05,0x02,0x0c,0x0c,0x02,0x05, +0x08,0xd9,0x12,0x1f,0x07,0x07,0x1f,0x12,0x01,0x08,0x05,0x02,0x0b,0x0c,0x02,0x05, +0x0a,0x03,0x10,0x1c,0x09,0x09,0x1c,0x10,0x03,0x0a,0x05,0x02,0x0c,0x0b,0x02,0x06, +0x07,0xfa,0xe0,0x02,0x25,0x26,0x02,0x02,0x25,0x26,0xe2,0x02,0x25,0x27,0x02,0x03, +0x25,0x26,0x02,0x02,0x25,0x27,0x02,0x03,0x25,0x26,0x01,0x81,0x1d,0x32,0x0e,0x0e, +0x32,0x1d,0x03,0x0f,0x09,0x03,0x13,0x14,0x03,0x0a,0x0e,0x04,0x1b,0x2f,0x0f,0x0f, +0x2f,0x1b,0x04,0x0e,0x0a,0x03,0x14,0x13,0x03,0x09,0x0f,0x02,0x67,0x12,0x1e,0x08, +0x08,0x1e,0x12,0x01,0x0a,0x04,0x02,0x0b,0x0c,0x02,0x06,0x08,0x02,0x11,0x1d,0x09, +0x09,0x1d,0x11,0x02,0x08,0x06,0x02,0x0c,0x0b,0x02,0x04,0x0a,0xfb,0x12,0x1f,0x07, +0x07,0x1f,0x12,0x01,0x08,0x05,0x03,0x0b,0x0c,0x02,0x05,0x09,0x01,0x12,0x1c,0x0a, +0x0a,0x1c,0x12,0x01,0x09,0x05,0x02,0x0c,0x0b,0x03,0x05,0x08,0x01,0x82,0x11,0x1e, +0x08,0x08,0x1e,0x11,0x02,0x08,0x07,0x01,0x0b,0x0c,0x02,0x05,0x09,0x01,0x11,0x1c, +0x09,0x09,0x1c,0x11,0x01,0x09,0x05,0x02,0x0c,0x0b,0x01,0x07,0x08,0xfd,0x7f,0x1f, +0x34,0x0e,0x0e,0x34,0x1f,0x03,0x10,0x07,0x04,0x14,0x13,0x03,0x0a,0x0e,0x03,0x1d, +0x32,0x0e,0x0e,0x32,0x1d,0x03,0x0e,0x0a,0x03,0x13,0x14,0x04,0x07,0x10,0x00,0x0f, +0x00,0x83,0x00,0x00,0x06,0xa9,0x07,0x0b,0x00,0x13,0x00,0x21,0x00,0x32,0x00,0x43, +0x00,0x54,0x00,0x65,0x00,0x76,0x00,0x87,0x00,0x98,0x00,0xa9,0x00,0xba,0x00,0xcb, +0x00,0xdc,0x00,0xed,0x00,0xfe,0x00,0x17,0x00,0xb8,0x00,0x55,0x2f,0xb8,0x00,0x64, +0x2f,0xb8,0x00,0xaa,0x2f,0xb8,0x00,0xb9,0x2f,0xb8,0x00,0x07,0x2f,0x30,0x31,0x01, +0x16,0x07,0x06,0x0f,0x01,0x06,0x2b,0x01,0x26,0x27,0x26,0x35,0x34,0x3f,0x02,0x36, +0x17,0x16,0x05,0x06,0x17,0x16,0x1f,0x01,0x16,0x3f,0x01,0x36,0x2f,0x01,0x26,0x07, +0x13,0x32,0x17,0x16,0x1d,0x01,0x14,0x07,0x06,0x23,0x22,0x2f,0x01,0x35,0x34,0x37, +0x36,0x13,0x32,0x17,0x16,0x1d,0x01,0x14,0x07,0x06,0x23,0x22,0x2f,0x01,0x35,0x34, +0x37,0x36,0x13,0x32,0x17,0x16,0x1d,0x01,0x14,0x07,0x06,0x23,0x22,0x2f,0x01,0x35, +0x34,0x37,0x36,0x13,0x32,0x17,0x16,0x1d,0x01,0x14,0x07,0x06,0x23,0x22,0x2f,0x01, +0x35,0x34,0x37,0x36,0x13,0x32,0x17,0x16,0x1d,0x01,0x14,0x07,0x06,0x23,0x22,0x2f, +0x01,0x35,0x34,0x37,0x36,0x03,0x32,0x17,0x16,0x1d,0x01,0x14,0x07,0x06,0x23,0x22, +0x2f,0x01,0x35,0x34,0x37,0x36,0x01,0x32,0x17,0x16,0x1d,0x01,0x14,0x07,0x06,0x23, +0x22,0x2f,0x01,0x35,0x34,0x37,0x36,0x37,0x32,0x17,0x16,0x1d,0x01,0x14,0x07,0x06, +0x23,0x22,0x2f,0x01,0x35,0x34,0x37,0x36,0x13,0x32,0x17,0x16,0x1d,0x01,0x14,0x07, +0x06,0x23,0x22,0x2f,0x01,0x35,0x34,0x37,0x36,0x01,0x32,0x17,0x16,0x1d,0x01,0x14, +0x07,0x06,0x23,0x22,0x2f,0x01,0x35,0x34,0x37,0x36,0x25,0x32,0x17,0x16,0x1d,0x01, +0x14,0x07,0x06,0x23,0x22,0x2f,0x01,0x35,0x34,0x37,0x36,0x25,0x32,0x17,0x16,0x1d, +0x01,0x14,0x07,0x06,0x23,0x22,0x2f,0x01,0x35,0x34,0x37,0x36,0x25,0x32,0x17,0x16, +0x1d,0x01,0x14,0x07,0x06,0x23,0x22,0x2f,0x01,0x35,0x34,0x37,0x36,0x02,0x44,0x51, +0x3d,0x14,0x32,0x15,0x60,0x7b,0x16,0x34,0x26,0x2f,0x3c,0x29,0x0c,0x67,0x8d,0x3e, +0xfe,0xfa,0x69,0x23,0x05,0x0e,0x0e,0x40,0x86,0x33,0x65,0x17,0x20,0x45,0x8d,0xf7, +0x1d,0x0f,0x07,0x1a,0x0b,0x0d,0x24,0x0d,0x01,0x1a,0x0d,0xa8,0x1d,0x0f,0x07,0x1a, +0x0b,0x0d,0x24,0x0d,0x01,0x1a,0x0d,0x8a,0x1c,0x0f,0x07,0x1a,0x0a,0x0e,0x23,0x0e, +0x01,0x1a,0x0d,0x9b,0x1c,0x0f,0x07,0x1a,0x0a,0x0e,0x23,0x0e,0x01,0x1a,0x0d,0x03, +0x1c,0x0f,0x07,0x1a,0x0a,0x0e,0x23,0x0e,0x01,0x1a,0x0d,0xbd,0x1d,0x0f,0x07,0x1a, +0x0b,0x0d,0x24,0x0d,0x01,0x1a,0x0d,0x01,0x8a,0x1c,0x0f,0x07,0x1a,0x0a,0x0e,0x23, +0x0e,0x01,0x1a,0x0d,0xc2,0x1d,0x0f,0x07,0x1a,0x0b,0x0d,0x24,0x0d,0x01,0x1a,0x0d, +0xc2,0x1d,0x0f,0x07,0x1a,0x0b,0x0d,0x24,0x0d,0x01,0x1a,0x0d,0xfd,0x55,0x1d,0x0f, +0x07,0x1a,0x0b,0x0d,0x24,0x0d,0x01,0x1a,0x0d,0x01,0x12,0x1c,0x0f,0x07,0x1a,0x0a, +0x0e,0x23,0x0e,0x01,0x1a,0x0d,0x01,0x22,0x1d,0x0f,0x07,0x1a,0x0b,0x0d,0x24,0x0d, +0x01,0x1a,0x0d,0x01,0x03,0x1c,0x0f,0x07,0x1a,0x0a,0x0e,0x23,0x0e,0x01,0x1a,0x0d, +0x02,0x20,0x61,0xaf,0x47,0x3c,0x1a,0x73,0x07,0x2d,0x38,0x50,0x5a,0x79,0x39,0x0e, +0x7d,0x03,0x0c,0x80,0x7f,0x89,0x16,0x10,0x12,0x4b,0x57,0x32,0x7b,0x92,0x30,0x52, +0x5e,0x01,0x6a,0x1f,0x0c,0x0f,0x06,0x1f,0x12,0x07,0x2c,0x0e,0x03,0x1f,0x14,0x08, +0x01,0x3a,0x1e,0x0c,0x0f,0x07,0x1e,0x13,0x08,0x2e,0x0c,0x05,0x1e,0x14,0x08,0x01, +0x34,0x1f,0x0c,0x0e,0x07,0x1e,0x14,0x07,0x2e,0x0c,0x05,0x1e,0x14,0x08,0x01,0x3d, +0x1f,0x0c,0x0f,0x06,0x1f,0x12,0x07,0x2c,0x0d,0x04,0x1f,0x14,0x08,0xfd,0x02,0x1f, +0x0c,0x0f,0x06,0x1f,0x12,0x07,0x2c,0x0e,0x03,0x20,0x13,0x08,0xfe,0xfc,0x1f,0x0c, +0x0e,0x06,0x20,0x12,0x07,0x2d,0x0d,0x04,0x1f,0x13,0x08,0x02,0x07,0x1e,0x0c,0x0f, +0x07,0x1e,0x13,0x07,0x2d,0x0c,0x05,0x1e,0x15,0x07,0xfa,0x1e,0x0c,0x0f,0x07,0x1e, +0x13,0x07,0x2d,0x0c,0x05,0x1e,0x15,0x07,0x01,0x04,0x20,0x0c,0x0e,0x06,0x1f,0x12, +0x08,0x2d,0x0d,0x04,0x1f,0x13,0x09,0xfb,0x0c,0x1e,0x0c,0x0f,0x07,0x1e,0x13,0x08, +0x2e,0x0c,0x05,0x1e,0x14,0x08,0xd3,0x1e,0x0c,0x0e,0x07,0x1e,0x14,0x07,0x2e,0x0c, +0x05,0x1e,0x14,0x07,0xe7,0x1f,0x0c,0x0e,0x06,0x20,0x12,0x07,0x2c,0x0e,0x03,0x20, +0x13,0x08,0xca,0x1f,0x0c,0x0e,0x06,0x20,0x12,0x07,0x2d,0x0d,0x03,0x20,0x13,0x08, +0x00,0x01,0x00,0x85,0xff,0xf7,0x06,0xa7,0x05,0xc9,0x00,0x09,0x00,0x23,0x00,0xb8, +0x00,0x02,0x2f,0xb8,0x00,0x06,0x2f,0xb8,0x00,0x08,0x2f,0xba,0x00,0x00,0x00,0x06, +0x00,0x02,0x11,0x12,0x39,0xba,0x00,0x04,0x00,0x06,0x00,0x02,0x11,0x12,0x39,0x30, +0x31,0x13,0x21,0x1b,0x01,0x21,0x01,0x13,0x09,0x01,0x13,0x85,0x02,0x57,0xba,0xbb, +0x02,0x56,0xfe,0x1c,0xba,0xfe,0x19,0xfe,0x1a,0xb9,0x03,0x90,0x02,0x39,0xfd,0xc7, +0xfe,0x9f,0xfd,0xc8,0x01,0x60,0xfe,0xa0,0x02,0x38,0x00,0x02,0x00,0x85,0xff,0xf7, +0x06,0xa7,0x05,0xc9,0x00,0x09,0x00,0x13,0x00,0x4f,0x00,0xb8,0x00,0x06,0x2f,0xb8, +0x00,0x08,0x2f,0xb8,0x00,0x02,0x2f,0xba,0x00,0x04,0x00,0x0f,0x00,0x03,0x2b,0xb8, +0x00,0x04,0x10,0xb8,0x00,0x00,0xd0,0xba,0x00,0x0b,0x00,0x06,0x00,0x02,0x11,0x12, +0x39,0xba,0x00,0x0d,0x00,0x06,0x00,0x02,0x11,0x12,0x39,0xba,0x00,0x11,0x00,0x06, +0x00,0x02,0x11,0x12,0x39,0xb8,0x00,0x0f,0x10,0xb8,0x00,0x12,0xd0,0xba,0x00,0x13, +0x00,0x06,0x00,0x02,0x11,0x12,0x39,0x30,0x31,0x13,0x21,0x1b,0x01,0x21,0x01,0x13, +0x09,0x01,0x13,0x37,0x03,0x09,0x01,0x03,0x01,0x21,0x0b,0x01,0x21,0x85,0x02,0x57, +0xba,0xbb,0x02,0x56,0xfe,0x1c,0xba,0xfe,0x19,0xfe,0x1a,0xb9,0x44,0x8c,0x01,0x75, +0x01,0x80,0x98,0x01,0x8f,0xfe,0x1a,0x91,0x8e,0xfe,0x18,0x03,0x90,0x02,0x39,0xfd, +0xc7,0xfe,0x9f,0xfd,0xc8,0x01,0x60,0xfe,0xa0,0x02,0x38,0x15,0xfe,0x4e,0x01,0x0c, +0xfe,0xe6,0x01,0xc2,0x01,0x18,0x01,0xb7,0xfe,0x49,0x00,0x01,0x00,0xaa,0x00,0x04, +0x03,0xeb,0x05,0xd5,0x00,0x11,0x00,0x37,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x10, +0x2f,0xb8,0x00,0x08,0x2f,0xba,0x00,0x06,0x00,0x08,0x00,0x00,0x11,0x12,0x39,0xba, +0x00,0x07,0x00,0x08,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x09,0x00,0x08,0x00,0x00, +0x11,0x12,0x39,0xba,0x00,0x0a,0x00,0x08,0x00,0x00,0x11,0x12,0x39,0x30,0x31,0x01, +0x16,0x17,0x14,0x07,0x09,0x01,0x37,0x13,0x25,0x37,0x01,0x26,0x35,0x34,0x37,0x01, +0x36,0x03,0xb0,0x39,0x02,0x09,0xfd,0x7d,0x01,0xee,0x56,0x26,0xfe,0x37,0xe0,0xfd, +0xdd,0x13,0x41,0x02,0x93,0x0b,0x05,0xd5,0x02,0x36,0x24,0x0c,0xfd,0x85,0xfd,0xf4, +0xe6,0xfe,0x38,0x27,0x5e,0x02,0x34,0x17,0x17,0x1b,0x3f,0x02,0x86,0x0a,0x00,0x01, +0x00,0xaa,0x00,0x00,0x06,0x81,0x05,0xd9,0x00,0x19,0x00,0x27,0xba,0x00,0x13,0x00, +0x17,0x00,0x03,0x2b,0xb8,0x00,0x13,0x10,0x00,0xb8,0x00,0x15,0x2f,0xba,0x00,0x01, +0x00,0x05,0x00,0x03,0x2b,0xb8,0x00,0x01,0x10,0xb8,0x00,0x05,0x10,0xb8,0x00,0x11, +0xd0,0x30,0x31,0x13,0x21,0x32,0x15,0x14,0x07,0x09,0x01,0x37,0x13,0x25,0x37,0x01, +0x26,0x35,0x34,0x37,0x01,0x21,0x11,0x06,0x07,0x26,0x27,0x11,0x36,0xed,0x05,0x49, +0x40,0x1b,0xfd,0xc1,0x01,0xe7,0x59,0x25,0xfe,0x31,0xe7,0xfd,0xef,0x0f,0x34,0x01, +0xe5,0xfb,0xa8,0x01,0x48,0x46,0x01,0x01,0x05,0xd9,0x53,0x22,0x1b,0xfd,0xc5,0xfe, +0x1b,0xd5,0xfe,0x3d,0x22,0x6c,0x02,0x16,0x10,0x2d,0x1c,0x32,0x01,0xdf,0xfa,0xfc, +0x44,0x01,0x01,0x43,0x05,0x5b,0x39,0x00,0x00,0x03,0x00,0xaa,0x00,0x00,0x06,0x82, +0x05,0xd8,0x00,0x0d,0x00,0x1b,0x00,0x29,0x01,0x11,0xba,0x00,0x0e,0x00,0x06,0x00, +0x03,0x2b,0xb8,0x00,0x0e,0x10,0xba,0x00,0x1c,0x00,0x22,0x00,0x03,0x2b,0xb8,0x00, +0x1c,0x10,0xba,0x00,0x00,0x00,0x14,0x00,0x03,0x2b,0xb8,0x00,0x00,0x10,0x41,0x1b, +0x00,0x16,0x00,0x0e,0x00,0x26,0x00,0x0e,0x00,0x36,0x00,0x0e,0x00,0x46,0x00,0x0e, +0x00,0x56,0x00,0x0e,0x00,0x66,0x00,0x0e,0x00,0x76,0x00,0x0e,0x00,0x86,0x00,0x0e, +0x00,0x96,0x00,0x0e,0x00,0xa6,0x00,0x0e,0x00,0xb6,0x00,0x0e,0x00,0xc6,0x00,0x0e, +0x00,0xd6,0x00,0x0e,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x0e,0x00,0xf5,0x00, +0x0e,0x00,0x02,0x5d,0x41,0x05,0x00,0xea,0x00,0x14,0x00,0xfa,0x00,0x14,0x00,0x02, +0x5d,0x41,0x1b,0x00,0x19,0x00,0x14,0x00,0x29,0x00,0x14,0x00,0x39,0x00,0x14,0x00, +0x49,0x00,0x14,0x00,0x59,0x00,0x14,0x00,0x69,0x00,0x14,0x00,0x79,0x00,0x14,0x00, +0x89,0x00,0x14,0x00,0x99,0x00,0x14,0x00,0xa9,0x00,0x14,0x00,0xb9,0x00,0x14,0x00, +0xc9,0x00,0x14,0x00,0xd9,0x00,0x14,0x00,0x0d,0x5d,0x41,0x1b,0x00,0x16,0x00,0x1c, +0x00,0x26,0x00,0x1c,0x00,0x36,0x00,0x1c,0x00,0x46,0x00,0x1c,0x00,0x56,0x00,0x1c, +0x00,0x66,0x00,0x1c,0x00,0x76,0x00,0x1c,0x00,0x86,0x00,0x1c,0x00,0x96,0x00,0x1c, +0x00,0xa6,0x00,0x1c,0x00,0xb6,0x00,0x1c,0x00,0xc6,0x00,0x1c,0x00,0xd6,0x00,0x1c, +0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x1c,0x00,0xf5,0x00,0x1c,0x00,0x02,0x5d, +0x00,0xba,0x00,0x11,0x00,0x03,0x00,0x03,0x2b,0xb8,0x00,0x11,0x10,0xba,0x00,0x0a, +0x00,0x18,0x00,0x03,0x2b,0xb8,0x00,0x0a,0x10,0x30,0x31,0x01,0x10,0x00,0x21,0x20, +0x00,0x11,0x34,0x12,0x24,0x33,0x32,0x04,0x12,0x05,0x10,0x00,0x21,0x20,0x00,0x11, +0x34,0x02,0x24,0x23,0x22,0x04,0x02,0x05,0x14,0x06,0x23,0x22,0x26,0x35,0x34,0x3e, +0x01,0x33,0x32,0x1e,0x01,0x06,0x82,0xfe,0x4a,0xfe,0xc9,0xfe,0xcb,0xfe,0x4a,0xc9, +0x01,0x68,0xba,0xbd,0x01,0x68,0xc8,0xfa,0x71,0x01,0x8a,0x01,0x18,0x01,0x18,0x01, +0x8a,0xb4,0xfe,0xbc,0xaa,0xaa,0xfe,0xbc,0xb4,0x03,0x5e,0x6d,0x4e,0x4d,0x6e,0x32, +0x5a,0x2f,0x2f,0x5a,0x32,0x02,0xec,0xfe,0xc9,0xfe,0x4b,0x01,0xb5,0x01,0x37,0xc2, +0x01,0x69,0xc1,0xc1,0xfe,0x99,0xc4,0xfe,0xe8,0xfe,0x77,0x01,0x89,0x01,0x18,0xb1, +0x01,0x42,0xae,0xae,0xfe,0xbe,0xb1,0x4e,0x6d,0x6d,0x4e,0x31,0x5a,0x30,0x30,0x5a, +0x00,0x03,0x00,0x7d,0x00,0x00,0x06,0x9f,0x05,0xd1,0x00,0x0b,0x00,0x17,0x00,0x47, +0x00,0xff,0xb8,0x00,0x48,0x2f,0xb8,0x00,0x49,0x2f,0xb8,0x00,0x46,0xdc,0xb8,0x00, +0x28,0xdc,0x41,0x05,0x00,0xea,0x00,0x28,0x00,0xfa,0x00,0x28,0x00,0x02,0x5d,0x41, +0x1b,0x00,0x19,0x00,0x28,0x00,0x29,0x00,0x28,0x00,0x39,0x00,0x28,0x00,0x49,0x00, +0x28,0x00,0x59,0x00,0x28,0x00,0x69,0x00,0x28,0x00,0x79,0x00,0x28,0x00,0x89,0x00, +0x28,0x00,0x99,0x00,0x28,0x00,0xa9,0x00,0x28,0x00,0xb9,0x00,0x28,0x00,0xc9,0x00, +0x28,0x00,0xd9,0x00,0x28,0x00,0x0d,0x5d,0xb8,0x00,0x48,0x10,0xb8,0x00,0x40,0xd0, +0xb8,0x00,0x40,0x2f,0xb8,0x00,0x2e,0xdc,0x41,0x1b,0x00,0x16,0x00,0x2e,0x00,0x26, +0x00,0x2e,0x00,0x36,0x00,0x2e,0x00,0x46,0x00,0x2e,0x00,0x56,0x00,0x2e,0x00,0x66, +0x00,0x2e,0x00,0x76,0x00,0x2e,0x00,0x86,0x00,0x2e,0x00,0x96,0x00,0x2e,0x00,0xa6, +0x00,0x2e,0x00,0xb6,0x00,0x2e,0x00,0xc6,0x00,0x2e,0x00,0xd6,0x00,0x2e,0x00,0x0d, +0x5d,0x41,0x05,0x00,0xe5,0x00,0x2e,0x00,0xf5,0x00,0x2e,0x00,0x02,0x5d,0xb8,0x00, +0x40,0x10,0xb8,0x00,0x3a,0xd0,0xb8,0x00,0x3a,0x2f,0x00,0xb8,0x00,0x1f,0x2f,0xb8, +0x00,0x37,0x2f,0xba,0x00,0x43,0x00,0x2b,0x00,0x03,0x2b,0xb8,0x00,0x43,0x10,0xba, +0x00,0x30,0x00,0x0c,0x00,0x03,0x2b,0xb8,0x00,0x30,0x10,0xb8,0x00,0x0c,0x10,0xb8, +0x00,0x00,0xd0,0xb8,0x00,0x37,0x10,0xb8,0x00,0x12,0xdc,0xb8,0x00,0x06,0xd0,0xb8, +0x00,0x06,0x2f,0xb8,0x00,0x30,0x10,0xb8,0x00,0x26,0xd0,0xb8,0x00,0x26,0x2f,0x30, +0x31,0x01,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x21,0x22,0x06, +0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x25,0x16,0x17,0x16,0x15,0x14,0x06, +0x23,0x22,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x35,0x34,0x24,0x23,0x22,0x04,0x15, +0x14,0x17,0x16,0x17,0x16,0x15,0x14,0x06,0x23,0x22,0x26,0x35,0x34,0x37,0x36,0x37, +0x26,0x35,0x34,0x00,0x21,0x20,0x00,0x15,0x14,0x05,0x67,0x4a,0x67,0x67,0x4a,0x49, +0x68,0x67,0xfc,0x03,0x49,0x68,0x68,0x49,0x4a,0x67,0x67,0x04,0x17,0x19,0x16,0x5b, +0xb6,0x82,0x81,0xb6,0x5a,0x51,0x6f,0x79,0xfe,0xb1,0xf0,0xf0,0xfe,0xb1,0x79,0x7d, +0x57,0x5a,0xb6,0x82,0x80,0xb7,0x5b,0x12,0x13,0x7a,0x01,0xc0,0x01,0x41,0x01,0x44, +0x01,0xc0,0x01,0xe9,0x67,0x4a,0x49,0x67,0x67,0x49,0x4a,0x67,0x67,0x4a,0x49,0x68, +0x68,0x49,0x4a,0x67,0x55,0x11,0x16,0x5c,0x82,0x81,0xb7,0xb7,0x81,0x82,0x5c,0x51, +0x09,0x73,0x99,0xb4,0xfd,0xfd,0xb4,0x99,0x72,0x04,0x57,0x5c,0x82,0x82,0xb7,0xb7, +0x82,0x82,0x5c,0x11,0x0f,0x8e,0xb6,0xf8,0x01,0x5e,0xfe,0xa2,0xf8,0xb1,0x00,0x03, +0x00,0x7d,0x00,0x00,0x06,0x9f,0x05,0xc9,0x00,0x0b,0x00,0x17,0x00,0x47,0x01,0x03, +0xb8,0x00,0x48,0x2f,0xb8,0x00,0x49,0x2f,0xb8,0x00,0x18,0xdc,0xb8,0x00,0x48,0x10, +0xb8,0x00,0x24,0xd0,0xb8,0x00,0x24,0x2f,0xb8,0x00,0x1e,0xd0,0xb8,0x00,0x1e,0x2f, +0xb8,0x00,0x24,0x10,0xb8,0x00,0x30,0xdc,0x41,0x1b,0x00,0x16,0x00,0x30,0x00,0x26, +0x00,0x30,0x00,0x36,0x00,0x30,0x00,0x46,0x00,0x30,0x00,0x56,0x00,0x30,0x00,0x66, +0x00,0x30,0x00,0x76,0x00,0x30,0x00,0x86,0x00,0x30,0x00,0x96,0x00,0x30,0x00,0xa6, +0x00,0x30,0x00,0xb6,0x00,0x30,0x00,0xc6,0x00,0x30,0x00,0xd6,0x00,0x30,0x00,0x0d, +0x5d,0x41,0x05,0x00,0xe5,0x00,0x30,0x00,0xf5,0x00,0x30,0x00,0x02,0x5d,0xb8,0x00, +0x18,0x10,0xb8,0x00,0x36,0xdc,0x41,0x05,0x00,0xea,0x00,0x36,0x00,0xfa,0x00,0x36, +0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x36,0x00,0x29,0x00,0x36,0x00,0x39,0x00, +0x36,0x00,0x49,0x00,0x36,0x00,0x59,0x00,0x36,0x00,0x69,0x00,0x36,0x00,0x79,0x00, +0x36,0x00,0x89,0x00,0x36,0x00,0x99,0x00,0x36,0x00,0xa9,0x00,0x36,0x00,0xb9,0x00, +0x36,0x00,0xc9,0x00,0x36,0x00,0xd9,0x00,0x36,0x00,0x0d,0x5d,0x00,0xba,0x00,0x33, +0x00,0x1b,0x00,0x03,0x2b,0xb8,0x00,0x33,0x10,0xba,0x00,0x3f,0x00,0x03,0x00,0x03, +0x2b,0xb8,0x00,0x3f,0x10,0xba,0x00,0x15,0x00,0x2e,0x00,0x03,0x2b,0xb8,0x00,0x15, +0x10,0xb8,0x00,0x09,0xd0,0xb8,0x00,0x09,0x2f,0xb8,0x00,0x03,0x10,0xb8,0x00,0x0f, +0xd0,0xb8,0x00,0x3f,0x10,0xb8,0x00,0x27,0xd0,0xb8,0x00,0x2e,0x10,0xb8,0x00,0x38, +0xd0,0x30,0x31,0x01,0x34,0x26,0x23,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x25, +0x34,0x26,0x23,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x01,0x14,0x00,0x21,0x20, +0x00,0x35,0x34,0x37,0x26,0x27,0x26,0x35,0x34,0x36,0x33,0x32,0x16,0x15,0x14,0x07, +0x06,0x07,0x06,0x15,0x14,0x04,0x33,0x32,0x24,0x35,0x34,0x27,0x26,0x27,0x26,0x35, +0x34,0x36,0x33,0x32,0x16,0x15,0x14,0x07,0x06,0x07,0x16,0x06,0x18,0x68,0x49,0x4a, +0x67,0x67,0x4a,0x4a,0x67,0xfc,0x4d,0x67,0x4a,0x49,0x68,0x68,0x49,0x4a,0x67,0x04, +0x23,0xfe,0x40,0xfe,0xbc,0xfe,0xbf,0xfe,0x40,0x7a,0x13,0x12,0x5b,0xb7,0x80,0x82, +0xb6,0x5a,0x57,0x7d,0x79,0x01,0x4f,0xf0,0xf0,0x01,0x4f,0x79,0x6f,0x51,0x5a,0xb6, +0x81,0x82,0xb6,0x5b,0x16,0x19,0x73,0x04,0x91,0x49,0x68,0x68,0x49,0x4a,0x67,0x67, +0x4a,0x4a,0x67,0x67,0x4a,0x49,0x67,0x67,0xfe,0x0c,0xf7,0xfe,0xa3,0x01,0x5d,0xf7, +0xb4,0x8d,0x0f,0x12,0x5b,0x81,0x81,0xb6,0xb6,0x81,0x81,0x5b,0x58,0x03,0x72,0x97, +0xb4,0xfb,0xfb,0xb4,0x98,0x71,0x09,0x51,0x5c,0x81,0x81,0xb6,0xb6,0x81,0x81,0x5c, +0x16,0x11,0x8b,0x00,0x00,0x02,0x00,0x7d,0xff,0xfd,0x04,0xe2,0x05,0xc6,0x00,0x0b, +0x00,0x1d,0x00,0xd7,0xb8,0x00,0x1e,0x2f,0xb8,0x00,0x1f,0x2f,0xb8,0x00,0x1e,0x10, +0xb8,0x00,0x16,0xd0,0xb8,0x00,0x16,0x2f,0xb8,0x00,0x03,0xdc,0x41,0x1b,0x00,0x16, +0x00,0x03,0x00,0x26,0x00,0x03,0x00,0x36,0x00,0x03,0x00,0x46,0x00,0x03,0x00,0x56, +0x00,0x03,0x00,0x66,0x00,0x03,0x00,0x76,0x00,0x03,0x00,0x86,0x00,0x03,0x00,0x96, +0x00,0x03,0x00,0xa6,0x00,0x03,0x00,0xb6,0x00,0x03,0x00,0xc6,0x00,0x03,0x00,0xd6, +0x00,0x03,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x03,0x00,0xf5,0x00,0x03,0x00, +0x02,0x5d,0xb8,0x00,0x1f,0x10,0xb8,0x00,0x10,0xdc,0xb8,0x00,0x09,0xdc,0x41,0x05, +0x00,0xea,0x00,0x09,0x00,0xfa,0x00,0x09,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00, +0x09,0x00,0x29,0x00,0x09,0x00,0x39,0x00,0x09,0x00,0x49,0x00,0x09,0x00,0x59,0x00, +0x09,0x00,0x69,0x00,0x09,0x00,0x79,0x00,0x09,0x00,0x89,0x00,0x09,0x00,0x99,0x00, +0x09,0x00,0xa9,0x00,0x09,0x00,0xb9,0x00,0x09,0x00,0xc9,0x00,0x09,0x00,0xd9,0x00, +0x09,0x00,0x0d,0x5d,0xb8,0x00,0x0c,0xd0,0xb8,0x00,0x0c,0x2f,0x00,0xb8,0x00,0x1c, +0x2f,0xba,0x00,0x06,0x00,0x13,0x00,0x03,0x2b,0xb8,0x00,0x06,0x10,0xba,0x00,0x19, +0x00,0x00,0x00,0x03,0x2b,0xb8,0x00,0x19,0x10,0x30,0x31,0x01,0x22,0x06,0x15,0x14, +0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x37,0x16,0x17,0x16,0x15,0x14,0x00,0x23,0x22, +0x00,0x35,0x34,0x00,0x33,0x32,0x17,0x01,0x17,0x02,0x86,0x8f,0xc9,0xc9,0x8f,0x8e, +0xc9,0xc7,0xbe,0x13,0x12,0x98,0xfe,0xce,0xd9,0xd7,0xfe,0xce,0x01,0x2f,0xda,0x60, +0x54,0x01,0x0e,0x9a,0x03,0x5f,0xc8,0x90,0x8e,0xc9,0xc9,0x8e,0x90,0xc8,0x3b,0x10, +0x13,0x99,0xd8,0xd8,0xfe,0xcf,0x01,0x31,0xd8,0xd8,0x01,0x32,0x1d,0x01,0xd3,0x59, +0x00,0x03,0x00,0x7d,0x00,0x01,0x07,0x9e,0x05,0xc9,0x00,0x0b,0x00,0x17,0x00,0x37, +0x01,0x7f,0xba,0x00,0x03,0x00,0x20,0x00,0x03,0x2b,0xb8,0x00,0x03,0x10,0xba,0x00, +0x1a,0x00,0x09,0x00,0x03,0x2b,0xb8,0x00,0x1a,0x10,0xba,0x00,0x0f,0x00,0x2a,0x00, +0x03,0x2b,0xb8,0x00,0x0f,0x10,0xba,0x00,0x30,0x00,0x15,0x00,0x03,0x2b,0xb8,0x00, +0x30,0x10,0x41,0x1b,0x00,0x16,0x00,0x03,0x00,0x26,0x00,0x03,0x00,0x36,0x00,0x03, +0x00,0x46,0x00,0x03,0x00,0x56,0x00,0x03,0x00,0x66,0x00,0x03,0x00,0x76,0x00,0x03, +0x00,0x86,0x00,0x03,0x00,0x96,0x00,0x03,0x00,0xa6,0x00,0x03,0x00,0xb6,0x00,0x03, +0x00,0xc6,0x00,0x03,0x00,0xd6,0x00,0x03,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00, +0x03,0x00,0xf5,0x00,0x03,0x00,0x02,0x5d,0x41,0x05,0x00,0xea,0x00,0x15,0x00,0xfa, +0x00,0x15,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x15,0x00,0x29,0x00,0x15,0x00, +0x39,0x00,0x15,0x00,0x49,0x00,0x15,0x00,0x59,0x00,0x15,0x00,0x69,0x00,0x15,0x00, +0x79,0x00,0x15,0x00,0x89,0x00,0x15,0x00,0x99,0x00,0x15,0x00,0xa9,0x00,0x15,0x00, +0xb9,0x00,0x15,0x00,0xc9,0x00,0x15,0x00,0xd9,0x00,0x15,0x00,0x0d,0x5d,0x41,0x1b, +0x00,0x16,0x00,0x1a,0x00,0x26,0x00,0x1a,0x00,0x36,0x00,0x1a,0x00,0x46,0x00,0x1a, +0x00,0x56,0x00,0x1a,0x00,0x66,0x00,0x1a,0x00,0x76,0x00,0x1a,0x00,0x86,0x00,0x1a, +0x00,0x96,0x00,0x1a,0x00,0xa6,0x00,0x1a,0x00,0xb6,0x00,0x1a,0x00,0xc6,0x00,0x1a, +0x00,0xd6,0x00,0x1a,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x1a,0x00,0xf5,0x00, +0x1a,0x00,0x02,0x5d,0x41,0x05,0x00,0xea,0x00,0x2a,0x00,0xfa,0x00,0x2a,0x00,0x02, +0x5d,0x41,0x1b,0x00,0x19,0x00,0x2a,0x00,0x29,0x00,0x2a,0x00,0x39,0x00,0x2a,0x00, +0x49,0x00,0x2a,0x00,0x59,0x00,0x2a,0x00,0x69,0x00,0x2a,0x00,0x79,0x00,0x2a,0x00, +0x89,0x00,0x2a,0x00,0x99,0x00,0x2a,0x00,0xa9,0x00,0x2a,0x00,0xb9,0x00,0x2a,0x00, +0xc9,0x00,0x2a,0x00,0xd9,0x00,0x2a,0x00,0x0d,0x5d,0xb8,0x00,0x39,0xdc,0x00,0xba, +0x00,0x06,0x00,0x1d,0x00,0x03,0x2b,0xb8,0x00,0x06,0x10,0xba,0x00,0x2d,0x00,0x0c, +0x00,0x03,0x2b,0xb8,0x00,0x2d,0x10,0xba,0x00,0x12,0x00,0x33,0x00,0x03,0x2b,0xb8, +0x00,0x12,0x10,0xba,0x00,0x23,0x00,0x00,0x00,0x03,0x2b,0xb8,0x00,0x23,0x10,0x30, +0x31,0x01,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x01,0x22,0x06, +0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x01,0x16,0x15,0x14,0x00,0x23,0x22, +0x00,0x35,0x34,0x00,0x33,0x32,0x17,0x16,0x17,0x37,0x26,0x35,0x34,0x00,0x33,0x32, +0x00,0x15,0x14,0x00,0x23,0x22,0x27,0x26,0x27,0x02,0x33,0x78,0xa9,0xa9,0x78,0x78, +0xa9,0xa8,0x03,0x3a,0x79,0xa8,0xa8,0x79,0x78,0xa9,0xa8,0xfd,0x66,0x26,0xfe,0xff, +0xb7,0xb5,0xfe,0xff,0x00,0xff,0xb7,0xb9,0x80,0x02,0x02,0xdc,0x1c,0x00,0xff,0xb7, +0xb8,0x01,0x00,0xfe,0xff,0xb7,0xb5,0x81,0x0b,0x0b,0x02,0xda,0xa9,0x78,0x78,0xa9, +0xa9,0x78,0x78,0xa9,0x02,0x5a,0xa9,0x78,0x78,0xa9,0xa9,0x78,0x78,0xa9,0xfd,0x3b, +0x54,0x64,0xb5,0xfe,0xff,0x01,0x01,0xb5,0xb7,0x01,0x01,0x80,0x03,0x02,0x89,0x49, +0x55,0xb7,0x01,0x01,0xfe,0xff,0xb7,0xb5,0xfe,0xff,0x81,0x0b,0x0c,0x00,0x00,0x0e, +0x00,0x8c,0x00,0x00,0x09,0x6b,0x05,0xd5,0x00,0x17,0x00,0x29,0x00,0x35,0x00,0x41, +0x00,0x4d,0x00,0x59,0x00,0x65,0x00,0x71,0x00,0x7d,0x00,0x89,0x00,0x95,0x00,0xa1, +0x00,0xad,0x00,0xb9,0x00,0x85,0xba,0x00,0x42,0x00,0x48,0x00,0x03,0x2b,0xb8,0x00, +0x42,0x10,0x41,0x05,0x00,0xea,0x00,0x48,0x00,0xfa,0x00,0x48,0x00,0x02,0x5d,0x41, +0x1b,0x00,0x19,0x00,0x48,0x00,0x29,0x00,0x48,0x00,0x39,0x00,0x48,0x00,0x49,0x00, +0x48,0x00,0x59,0x00,0x48,0x00,0x69,0x00,0x48,0x00,0x79,0x00,0x48,0x00,0x89,0x00, +0x48,0x00,0x99,0x00,0x48,0x00,0xa9,0x00,0x48,0x00,0xb9,0x00,0x48,0x00,0xc9,0x00, +0x48,0x00,0xd9,0x00,0x48,0x00,0x0d,0x5d,0xb8,0x00,0x4e,0xd0,0xb8,0x00,0x48,0x10, +0xb8,0x00,0x54,0xd0,0x00,0xba,0x00,0x2d,0x00,0x21,0x00,0x03,0x2b,0xb8,0x00,0x2d, +0x10,0xba,0x00,0x01,0x00,0x0c,0x00,0x03,0x2b,0xb8,0x00,0x01,0x10,0xba,0x00,0x29, +0x00,0x33,0x00,0x03,0x2b,0xb8,0x00,0x29,0x10,0x30,0x31,0x01,0x33,0x04,0x05,0x04, +0x15,0x06,0x27,0x25,0x26,0x37,0x36,0x27,0x21,0x06,0x17,0x16,0x07,0x05,0x06,0x27, +0x34,0x25,0x24,0x01,0x35,0x33,0x15,0x14,0x17,0x16,0x19,0x01,0x21,0x11,0x10,0x37, +0x36,0x3d,0x01,0x33,0x15,0x03,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x23,0x22, +0x06,0x05,0x14,0x06,0x23,0x22,0x26,0x35,0x34,0x36,0x33,0x32,0x16,0x27,0x14,0x06, +0x23,0x22,0x26,0x35,0x34,0x36,0x33,0x32,0x16,0x11,0x14,0x06,0x23,0x22,0x26,0x35, +0x34,0x36,0x33,0x32,0x16,0x03,0x16,0x06,0x07,0x06,0x26,0x27,0x26,0x36,0x37,0x36, +0x16,0x01,0x16,0x06,0x07,0x06,0x26,0x27,0x26,0x36,0x37,0x36,0x16,0x01,0x1e,0x01, +0x07,0x0e,0x01,0x27,0x2e,0x01,0x37,0x3e,0x01,0x05,0x1e,0x01,0x07,0x0e,0x01,0x27, +0x2e,0x01,0x37,0x3e,0x01,0x05,0x36,0x16,0x17,0x16,0x06,0x07,0x06,0x26,0x27,0x26, +0x36,0x25,0x36,0x16,0x17,0x16,0x06,0x07,0x06,0x26,0x27,0x26,0x36,0x01,0x3e,0x01, +0x17,0x1e,0x01,0x07,0x0e,0x01,0x27,0x2e,0x01,0x01,0x3e,0x01,0x17,0x1e,0x01,0x07, +0x0e,0x01,0x27,0x2e,0x01,0x04,0xf7,0x09,0x02,0x5b,0x01,0x01,0x01,0x0f,0x26,0x72, +0xfe,0x69,0x58,0x28,0x74,0x52,0xfb,0x9c,0x53,0x75,0x28,0x59,0xfe,0x69,0x71,0x27, +0x01,0x10,0x01,0x00,0x03,0x4c,0x90,0xf1,0xe7,0xf9,0x57,0xe8,0xf0,0x91,0xab,0xec, +0xa5,0xa8,0xea,0xe9,0xa9,0xa7,0xea,0x02,0x72,0x83,0x5e,0x5d,0x83,0x83,0x5d,0x5e, +0x83,0x9f,0x20,0x18,0x17,0x21,0x21,0x17,0x18,0x20,0x20,0x18,0x17,0x21,0x21,0x17, +0x18,0x20,0xc4,0x0d,0x06,0x13,0x13,0x2e,0x0e,0x0e,0x08,0x13,0x13,0x2e,0x01,0x7f, +0x0f,0x07,0x14,0x13,0x2d,0x0f,0x0d,0x07,0x13,0x13,0x2e,0xfe,0x0c,0x18,0x14,0x07, +0x07,0x2a,0x16,0x16,0x16,0x07,0x08,0x29,0x02,0x6e,0x16,0x15,0x07,0x08,0x29,0x16, +0x16,0x15,0x07,0x08,0x29,0xfd,0x9c,0x16,0x2a,0x07,0x07,0x14,0x16,0x18,0x29,0x08, +0x07,0x16,0x02,0x6d,0x16,0x29,0x08,0x07,0x15,0x16,0x16,0x2b,0x06,0x07,0x15,0xfe, +0x15,0x0e,0x2e,0x13,0x13,0x08,0x0f,0x0d,0x2e,0x13,0x13,0x08,0x01,0x80,0x0f,0x2d, +0x13,0x14,0x07,0x0f,0x0d,0x2e,0x13,0x13,0x07,0x05,0xd5,0x11,0x9b,0xa4,0xaa,0xa2, +0x0a,0x8c,0x1a,0x4f,0x79,0x08,0x08,0x79,0x4f,0x1a,0x8c,0x0a,0xa2,0xaa,0xa4,0x99, +0xfe,0x76,0x4b,0x98,0x4b,0x39,0x5f,0xfe,0xe2,0xfe,0x16,0x01,0xea,0x01,0x1e,0x5f, +0x39,0x4b,0x98,0x4b,0xfd,0xdd,0xa7,0xea,0xea,0xa7,0xa6,0xec,0xec,0xa5,0x5d,0x84, +0x84,0x5d,0x5f,0x83,0x83,0xde,0x16,0x22,0x22,0x16,0x18,0x22,0x22,0xfd,0x73,0x18, +0x21,0x21,0x18,0x17,0x22,0x22,0x02,0x44,0x13,0x2e,0x0d,0x0f,0x07,0x13,0x14,0x2d, +0x0f,0x0d,0x07,0xfd,0xf0,0x13,0x2e,0x0f,0x0d,0x07,0x14,0x13,0x2d,0x0e,0x0d,0x06, +0x01,0x61,0x08,0x29,0x16,0x16,0x15,0x06,0x07,0x2a,0x17,0x16,0x15,0xca,0x07,0x2a, +0x16,0x16,0x15,0x08,0x07,0x29,0x17,0x16,0x14,0x07,0x07,0x14,0x16,0x18,0x29,0x08, +0x06,0x15,0x16,0x16,0x2a,0xca,0x07,0x15,0x16,0x16,0x29,0x08,0x07,0x15,0x16,0x16, +0x29,0xfe,0x94,0x12,0x07,0x0d,0x0e,0x2f,0x11,0x14,0x07,0x0d,0x0f,0x2e,0x02,0x10, +0x13,0x07,0x0d,0x0f,0x2d,0x14,0x13,0x07,0x0f,0x0d,0x2e,0x00,0x00,0x10,0x00,0x91, +0x00,0x00,0x09,0x70,0x05,0xd5,0x00,0x11,0x00,0x1d,0x00,0x29,0x00,0x35,0x00,0x41, +0x00,0x4d,0x00,0x59,0x00,0x65,0x00,0x71,0x00,0x7d,0x00,0x89,0x00,0x95,0x00,0xa1, +0x00,0xb3,0x00,0xce,0x00,0xe8,0x01,0x05,0xba,0x00,0x08,0x00,0xab,0x00,0x03,0x2b, +0xb8,0x00,0x08,0x10,0xba,0x00,0x21,0x00,0x1b,0x00,0x03,0x2b,0xb8,0x00,0x21,0x10, +0xba,0x00,0xa5,0x00,0x27,0x00,0x03,0x2b,0xb8,0x00,0xa5,0x10,0xba,0x00,0xaa,0x00, +0x09,0x00,0x03,0x2b,0xb8,0x00,0xaa,0x10,0xb8,0x00,0x27,0x10,0xb8,0x00,0x15,0xdc, +0x41,0x1b,0x00,0x16,0x00,0x21,0x00,0x26,0x00,0x21,0x00,0x36,0x00,0x21,0x00,0x46, +0x00,0x21,0x00,0x56,0x00,0x21,0x00,0x66,0x00,0x21,0x00,0x76,0x00,0x21,0x00,0x86, +0x00,0x21,0x00,0x96,0x00,0x21,0x00,0xa6,0x00,0x21,0x00,0xb6,0x00,0x21,0x00,0xc6, +0x00,0x21,0x00,0xd6,0x00,0x21,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x21,0x00, +0xf5,0x00,0x21,0x00,0x02,0x5d,0xb8,0x00,0x27,0x10,0xb8,0x00,0xa2,0xd0,0xb8,0x00, +0xa2,0x2f,0xb8,0x00,0x21,0x10,0xb8,0x00,0xb0,0xdc,0xb8,0x00,0x21,0x10,0xb8,0x00, +0xb2,0xd0,0xb8,0x00,0xb2,0x2f,0xb8,0x00,0xaa,0x10,0xb8,0x00,0xea,0xdc,0x00,0xb8, +0x00,0xbf,0x2f,0xb8,0x00,0xc1,0x2f,0xb8,0x00,0xc3,0x2f,0xba,0x00,0x09,0x00,0xaa, +0x00,0x03,0x2b,0xb8,0x00,0x09,0x10,0xba,0x00,0x24,0x00,0x18,0x00,0x03,0x2b,0xb8, +0x00,0x24,0x10,0xba,0x00,0xb2,0x00,0x00,0x00,0x03,0x2b,0xb8,0x00,0xb2,0x10,0xba, +0x00,0x12,0x00,0x1e,0x00,0x03,0x2b,0xb8,0x00,0x12,0x10,0xb8,0x00,0xb2,0x10,0xb8, +0x00,0xa3,0xd0,0xb8,0x00,0x00,0x10,0xb8,0x00,0xb3,0xdc,0xb8,0x00,0xbf,0x10,0xb8, +0x00,0xb4,0xdc,0xb8,0x00,0x00,0x10,0xb8,0x00,0xe8,0xdc,0x30,0x31,0x01,0x35,0x23, +0x15,0x06,0x07,0x06,0x15,0x11,0x21,0x11,0x34,0x27,0x26,0x27,0x35,0x23,0x15,0x05, +0x32,0x16,0x15,0x14,0x06,0x23,0x22,0x26,0x35,0x34,0x36,0x17,0x22,0x06,0x15,0x14, +0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x27,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36, +0x35,0x34,0x26,0x03,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x03, +0x0e,0x01,0x17,0x1e,0x01,0x37,0x3e,0x01,0x27,0x2e,0x01,0x01,0x0e,0x01,0x17,0x1e, +0x01,0x37,0x3e,0x01,0x27,0x2e,0x01,0x01,0x06,0x16,0x17,0x16,0x36,0x37,0x36,0x26, +0x27,0x26,0x06,0x05,0x06,0x16,0x17,0x16,0x36,0x37,0x36,0x26,0x27,0x26,0x06,0x05, +0x1e,0x01,0x37,0x3e,0x01,0x27,0x2e,0x01,0x07,0x0e,0x01,0x25,0x1e,0x01,0x37,0x3e, +0x01,0x27,0x2e,0x01,0x07,0x0e,0x01,0x01,0x16,0x36,0x37,0x36,0x26,0x27,0x26,0x06, +0x07,0x06,0x16,0x01,0x16,0x36,0x37,0x36,0x26,0x27,0x26,0x06,0x07,0x06,0x16,0x13, +0x35,0x33,0x15,0x14,0x17,0x16,0x19,0x01,0x21,0x11,0x10,0x37,0x36,0x3d,0x01,0x33, +0x15,0x25,0x06,0x17,0x16,0x07,0x05,0x06,0x27,0x36,0x37,0x36,0x25,0x16,0x33,0x32, +0x37,0x04,0x17,0x16,0x17,0x06,0x27,0x25,0x26,0x37,0x36,0x27,0x37,0x16,0x07,0x06, +0x17,0x05,0x16,0x37,0x26,0x27,0x24,0x25,0x27,0x15,0x23,0x04,0x05,0x06,0x07,0x16, +0x37,0x25,0x36,0x27,0x26,0x37,0x03,0xec,0x31,0x0f,0xcb,0xc3,0x05,0x9d,0xc4,0xca, +0x08,0x38,0xfe,0xfa,0xa6,0xe5,0xe6,0xa5,0xa3,0xe7,0xe6,0xa4,0x5c,0x81,0x81,0x5c, +0x5c,0x81,0x81,0x52,0x17,0x20,0x20,0x17,0x17,0x20,0x20,0x17,0x17,0x20,0x20,0x17, +0x17,0x20,0x20,0xee,0x12,0x08,0x0d,0x0f,0x2d,0x13,0x12,0x06,0x0d,0x0d,0x2d,0x01, +0x59,0x13,0x07,0x0d,0x0e,0x2d,0x13,0x13,0x07,0x0e,0x0d,0x2d,0xfd,0xfc,0x07,0x16, +0x15,0x16,0x29,0x07,0x07,0x14,0x17,0x16,0x29,0x02,0x47,0x07,0x14,0x16,0x15,0x29, +0x07,0x07,0x14,0x16,0x15,0x29,0xfd,0xab,0x07,0x29,0x17,0x16,0x14,0x07,0x07,0x29, +0x16,0x15,0x16,0x02,0x55,0x06,0x2a,0x15,0x16,0x14,0x07,0x07,0x29,0x15,0x16,0x14, +0xfe,0x3e,0x13,0x2d,0x0d,0x0f,0x08,0x12,0x13,0x2d,0x0f,0x0d,0x08,0x01,0x7e,0x13, +0x2d,0x0d,0x0e,0x07,0x13,0x13,0x2d,0x0e,0x0d,0x07,0x56,0x86,0xe1,0xd8,0xf9,0xc9, +0xd8,0xe1,0x86,0xfe,0xa9,0x46,0x77,0x44,0x63,0xfe,0x8a,0x80,0x44,0x0d,0xf8,0xf8, +0x02,0x43,0x18,0x18,0x18,0x18,0x02,0x42,0xf8,0xf8,0x0d,0x44,0x7f,0xfe,0x89,0x63, +0x44,0x77,0x45,0x19,0x54,0x63,0x3d,0x3d,0x01,0x46,0x5c,0x4a,0x0a,0xec,0xfe,0xc7, +0xfe,0x24,0x30,0x36,0xfe,0x23,0xfe,0xc7,0xeb,0x0a,0x4a,0x5c,0x01,0x46,0x3d,0x3d, +0x63,0x53,0x03,0xc2,0x40,0x8e,0x40,0x31,0x41,0xf1,0xfe,0x65,0x01,0x9b,0xf1,0x41, +0x31,0x40,0x8e,0x40,0x48,0xe7,0xa3,0xa4,0xe6,0xe6,0xa4,0xa3,0xe7,0xad,0x81,0x5c, +0x5c,0x80,0x80,0x5c,0x5c,0x81,0x93,0x20,0x17,0x17,0x20,0x20,0x17,0x17,0x20,0xfd, +0x95,0x20,0x17,0x17,0x20,0x20,0x17,0x17,0x20,0x02,0x25,0x0d,0x2d,0x13,0x12,0x08, +0x0d,0x0f,0x2d,0x13,0x11,0x07,0xfd,0xff,0x0e,0x2d,0x13,0x13,0x07,0x0f,0x0d,0x2c, +0x13,0x13,0x07,0x01,0x31,0x16,0x29,0x07,0x07,0x14,0x17,0x16,0x29,0x07,0x07,0x16, +0xd5,0x15,0x29,0x07,0x07,0x15,0x16,0x16,0x28,0x08,0x07,0x14,0x39,0x17,0x14,0x07, +0x07,0x29,0x15,0x16,0x16,0x07,0x08,0x28,0xa9,0x15,0x16,0x07,0x07,0x29,0x16,0x15, +0x16,0x07,0x07,0x29,0xfe,0x75,0x0f,0x07,0x13,0x13,0x2d,0x0d,0x0e,0x07,0x13,0x13, +0x2c,0x01,0xe6,0x0d,0x08,0x12,0x13,0x2d,0x0d,0x0f,0x08,0x12,0x13,0x2d,0x01,0x20, +0x47,0x9c,0x37,0x37,0x57,0xfe,0xf5,0xfe,0x36,0x01,0xca,0x01,0x0b,0x57,0x37,0x37, +0x9c,0x47,0xe5,0x10,0x6c,0x5e,0x13,0xa5,0x09,0xd4,0xc7,0x65,0x8b,0x11,0x01,0x01, +0x11,0x8b,0x65,0xc7,0xd4,0x09,0xa5,0x13,0x5e,0x6c,0x10,0x1c,0x28,0x71,0x2c,0x26, +0x88,0x24,0xb5,0x9d,0x70,0x81,0x19,0x01,0x01,0x19,0x81,0x70,0x9d,0xb5,0x24,0x88, +0x26,0x2c,0x71,0x28,0x00,0x02,0x00,0xb8,0x00,0x00,0x06,0x75,0x05,0xd5,0x00,0x07, +0x00,0x0b,0x00,0x53,0xb8,0x00,0x0c,0x2f,0xb8,0x00,0x0d,0x2f,0xb8,0x00,0x0c,0x10, +0xb8,0x00,0x06,0xd0,0xb8,0x00,0x06,0x2f,0xb8,0x00,0x00,0xd0,0xb8,0x00,0x00,0x2f, +0xb8,0x00,0x0d,0x10,0xb8,0x00,0x03,0xdc,0xb8,0x00,0x01,0xd0,0xb8,0x00,0x01,0x2f, +0xb8,0x00,0x06,0x10,0xb8,0x00,0x09,0xdc,0xb8,0x00,0x03,0x10,0xb8,0x00,0x0a,0xdc, +0x00,0xba,0x00,0x0a,0x00,0x04,0x00,0x03,0x2b,0xba,0x00,0x00,0x00,0x08,0x00,0x03, +0x2b,0xb8,0x00,0x00,0x10,0x30,0x31,0x13,0x21,0x17,0x11,0x07,0x21,0x27,0x11,0x17, +0x11,0x21,0x11,0xbe,0x05,0xb0,0x07,0x07,0xfa,0x50,0x06,0x6e,0x04,0xe0,0x05,0xd5, +0x07,0xfa,0x38,0x06,0x06,0x05,0xc8,0x68,0xfb,0x08,0x04,0xf8,0x00,0x03,0x00,0xb7, +0x00,0x00,0x06,0x76,0x05,0xd5,0x00,0x07,0x00,0x0b,0x00,0x22,0x00,0x67,0xb8,0x00, +0x23,0x2f,0xb8,0x00,0x24,0x2f,0xb8,0x00,0x23,0x10,0xb8,0x00,0x06,0xd0,0xb8,0x00, +0x06,0x2f,0xb8,0x00,0x00,0xd0,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x24,0x10,0xb8,0x00, +0x03,0xdc,0xb8,0x00,0x01,0xd0,0xb8,0x00,0x01,0x2f,0xb8,0x00,0x06,0x10,0xb8,0x00, +0x09,0xdc,0xb8,0x00,0x03,0x10,0xb8,0x00,0x0a,0xdc,0xba,0x00,0x0d,0x00,0x06,0x00, +0x03,0x11,0x12,0x39,0xba,0x00,0x1d,0x00,0x06,0x00,0x03,0x11,0x12,0x39,0x00,0xba, +0x00,0x0a,0x00,0x04,0x00,0x03,0x2b,0xba,0x00,0x00,0x00,0x08,0x00,0x03,0x2b,0xb8, +0x00,0x00,0x10,0x30,0x31,0x13,0x21,0x17,0x11,0x07,0x21,0x27,0x11,0x17,0x11,0x21, +0x11,0x07,0x15,0x06,0x07,0x00,0x03,0x06,0x23,0x06,0x23,0x02,0x2b,0x01,0x35,0x37, +0x32,0x17,0x33,0x36,0x37,0x36,0x37,0x36,0xbd,0x05,0xb3,0x06,0x06,0xfa,0x4d,0x06, +0x6f,0x04,0xe0,0x87,0x4c,0x29,0xfe,0xb9,0x3e,0x06,0x10,0x75,0x0d,0x65,0xcd,0x17, +0xa2,0x97,0x49,0x06,0x33,0x3f,0x62,0x9b,0x61,0x05,0xd5,0x06,0xfa,0x38,0x07,0x07, +0x05,0xc8,0x68,0xfb,0x08,0x04,0xf8,0x9e,0x06,0x41,0x3a,0xfe,0x46,0xfe,0xbd,0x3b, +0x2f,0x01,0x02,0x07,0x49,0x83,0xa6,0x74,0xb3,0xbb,0x78,0x00,0x00,0x03,0x00,0xb7, +0x00,0x00,0x06,0x76,0x05,0xd5,0x00,0x07,0x00,0x0b,0x00,0x1a,0x00,0x53,0xb8,0x00, +0x1b,0x2f,0xb8,0x00,0x1c,0x2f,0xb8,0x00,0x1b,0x10,0xb8,0x00,0x06,0xd0,0xb8,0x00, +0x06,0x2f,0xb8,0x00,0x00,0xd0,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x1c,0x10,0xb8,0x00, +0x03,0xdc,0xb8,0x00,0x01,0xd0,0xb8,0x00,0x01,0x2f,0xb8,0x00,0x06,0x10,0xb8,0x00, +0x09,0xdc,0xb8,0x00,0x03,0x10,0xb8,0x00,0x0a,0xdc,0x00,0xba,0x00,0x0a,0x00,0x04, +0x00,0x03,0x2b,0xba,0x00,0x00,0x00,0x08,0x00,0x03,0x2b,0xb8,0x00,0x00,0x10,0x30, +0x31,0x13,0x21,0x17,0x11,0x07,0x21,0x27,0x11,0x17,0x11,0x21,0x11,0x05,0x09,0x01, +0x17,0x09,0x01,0x15,0x07,0x01,0x23,0x01,0x23,0x27,0x09,0x01,0xbd,0x05,0xb3,0x06, +0x06,0xfa,0x4d,0x06,0x6f,0x04,0xe0,0xfb,0xf7,0x01,0x9b,0x01,0x97,0x5f,0xfe,0x68, +0x01,0x98,0x5b,0xfe,0x65,0x04,0xfe,0x69,0x04,0x5b,0x01,0x97,0xfe,0x69,0x05,0xd5, +0x06,0xfa,0x38,0x07,0x07,0x05,0xc8,0x68,0xfb,0x08,0x04,0xf8,0x86,0xfe,0x69,0x01, +0x97,0x5b,0xfe,0x65,0xfe,0x66,0x03,0x5b,0x01,0x97,0xfe,0x6c,0x5b,0x01,0x9a,0x01, +0x9b,0x00,0x00,0x01,0x00,0x9a,0x00,0xa0,0x03,0xa7,0x05,0x40,0x00,0x14,0x00,0x1d, +0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x06,0x2f,0xb8,0x00,0x0c,0x2f,0xb8,0x00,0x0f, +0x2f,0xba,0x00,0x0e,0x00,0x0c,0x00,0x00,0x11,0x12,0x39,0x30,0x31,0x13,0x33,0x01, +0x36,0x01,0x32,0x37,0x33,0x17,0x09,0x01,0x15,0x07,0x01,0x23,0x01,0x23,0x27,0x01, +0x00,0x35,0xf1,0x05,0x01,0x29,0x0b,0x01,0x1a,0x04,0x06,0x04,0x55,0xfe,0xd2,0x01, +0x2e,0x57,0xfe,0xd4,0x02,0xfe,0xd2,0x03,0x57,0x01,0x31,0xfe,0xcf,0x05,0x40,0xfe, +0x0b,0x08,0x01,0xde,0x0f,0x55,0xfe,0x04,0xfe,0x07,0x03,0x53,0x01,0xf7,0xfe,0x0b, +0x56,0x01,0xf9,0x01,0xf5,0x07,0x00,0x08,0x00,0x64,0x00,0x00,0x06,0xf5,0x07,0x76, +0x00,0x08,0x00,0x11,0x00,0x1a,0x00,0x23,0x00,0x2c,0x00,0x35,0x00,0x3e,0x00,0x7e, +0x00,0x87,0xba,0x00,0x57,0x00,0x68,0x00,0x03,0x2b,0xb8,0x00,0x57,0x10,0xb8,0x00, +0x41,0xd0,0xb8,0x00,0x41,0x2f,0x00,0xb8,0x00,0x5a,0x2f,0xb8,0x00,0x12,0x2f,0xba, +0x00,0x1f,0x00,0x43,0x00,0x03,0x2b,0xb8,0x00,0x1f,0x10,0xba,0x00,0x01,0x00,0x5a, +0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x0a,0x00,0x5a,0x00,0x12,0x11,0x12,0x39,0xba, +0x00,0x1c,0x00,0x5a,0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x25,0x00,0x5a,0x00,0x12, +0x11,0x12,0x39,0xba,0x00,0x2e,0x00,0x5a,0x00,0x12,0x11,0x12,0x39,0xb8,0x00,0x30, +0xd0,0xba,0x00,0x37,0x00,0x43,0x00,0x1f,0x11,0x12,0x39,0xba,0x00,0x49,0x00,0x5a, +0x00,0x12,0x11,0x12,0x39,0xba,0x00,0x79,0x00,0x5a,0x00,0x12,0x11,0x12,0x39,0xb8, +0x00,0x43,0x10,0xb8,0x00,0x7d,0xd0,0x30,0x31,0x01,0x33,0x06,0x2b,0x01,0x26,0x3d, +0x01,0x34,0x01,0x33,0x06,0x2b,0x01,0x26,0x3d,0x01,0x34,0x25,0x33,0x06,0x2b,0x01, +0x26,0x3d,0x01,0x34,0x17,0x33,0x06,0x2b,0x01,0x26,0x3d,0x01,0x34,0x01,0x33,0x06, +0x2b,0x01,0x26,0x3d,0x01,0x34,0x05,0x33,0x06,0x2b,0x01,0x26,0x3d,0x01,0x34,0x17, +0x33,0x06,0x2b,0x01,0x26,0x3d,0x01,0x34,0x25,0x33,0x17,0x15,0x33,0x20,0x01,0x16, +0x1d,0x01,0x23,0x26,0x27,0x26,0x2b,0x01,0x22,0x07,0x15,0x14,0x07,0x27,0x26,0x23, +0x11,0x14,0x0f,0x01,0x22,0x2f,0x01,0x35,0x37,0x33,0x17,0x15,0x16,0x3b,0x01,0x32, +0x3f,0x01,0x11,0x22,0x07,0x06,0x23,0x27,0x35,0x37,0x23,0x26,0x27,0x23,0x22,0x0f, +0x01,0x23,0x35,0x36,0x37,0x36,0x21,0x35,0x01,0xd6,0x03,0x1e,0x5c,0x06,0x3a,0x02, +0x56,0x02,0x1d,0x5c,0x07,0x39,0x02,0x1e,0x03,0x1e,0x5c,0x06,0x3a,0xf7,0x04,0x1e, +0x5c,0x06,0x3a,0x02,0x1e,0x03,0x1d,0x5d,0x06,0x3a,0x01,0x26,0x02,0x1c,0x5d,0x07, +0x39,0x5b,0x03,0x1e,0x5c,0x06,0x3a,0xfd,0xab,0x3a,0x06,0x02,0x01,0xb8,0x01,0x18, +0x2b,0x02,0x16,0x13,0x23,0x39,0x2c,0x96,0x70,0x08,0x21,0x97,0x88,0x6a,0x1e,0x5b, +0x25,0x02,0x06,0x2b,0x05,0x0b,0x3e,0x0a,0x37,0x14,0x06,0xd3,0x56,0x11,0x0e,0x07, +0x07,0x04,0x43,0xc5,0x43,0x63,0x22,0x14,0x03,0x3a,0xc0,0xef,0x01,0x38,0x06,0x01, +0xcf,0x0a,0x23,0x02,0x38,0x01,0x64,0xcf,0x08,0x23,0x03,0x37,0xe3,0xcf,0x08,0x24, +0x03,0x36,0xb9,0xcf,0x08,0x24,0x02,0x38,0x01,0x3b,0xce,0x07,0x24,0x03,0x37,0x69, +0xcf,0x07,0x24,0x03,0x37,0xeb,0xcf,0x09,0x23,0x02,0x39,0x9a,0x05,0x70,0xfe,0x50, +0x4c,0x0c,0x07,0x0d,0x29,0x16,0x5a,0x2e,0x0d,0x02,0x3b,0x36,0xfd,0x9f,0x5a,0x15, +0x02,0x56,0x18,0x17,0x06,0x06,0x0a,0x5a,0x33,0x25,0x02,0x59,0x36,0x33,0x05,0x0b, +0x2e,0x38,0x19,0x37,0x10,0x02,0x80,0xc2,0xc6,0x70,0x00,0x09,0x00,0x98,0x00,0x00, +0x06,0x93,0x05,0xd9,0x00,0x09,0x00,0x0f,0x00,0x18,0x00,0x2f,0x00,0x3e,0x00,0x45, +0x00,0x71,0x00,0x77,0x00,0x86,0x00,0x67,0x00,0xb8,0x00,0x30,0x2f,0xba,0x00,0x46, +0x00,0x51,0x00,0x03,0x2b,0xb8,0x00,0x46,0x10,0xba,0x00,0x0d,0x00,0x43,0x00,0x03, +0x2b,0xb8,0x00,0x0d,0x10,0xba,0x00,0x74,0x00,0x0a,0x00,0x03,0x2b,0xb8,0x00,0x74, +0x10,0xba,0x00,0x63,0x00,0x72,0x00,0x03,0x2b,0xb8,0x00,0x63,0x10,0xb8,0x00,0x72, +0x10,0xb8,0x00,0x02,0xdc,0xb8,0x00,0x0d,0x10,0xb8,0x00,0x12,0xd0,0xb8,0x00,0x46, +0x10,0xb8,0x00,0x3f,0xd0,0xb8,0x00,0x46,0x10,0xb8,0x00,0x41,0xd0,0xb8,0x00,0x41, +0x2f,0xb8,0x00,0x46,0x10,0xb8,0x00,0x5f,0xd0,0xb8,0x00,0x5f,0x2f,0x30,0x31,0x01, +0x06,0x17,0x21,0x36,0x37,0x34,0x23,0x21,0x06,0x13,0x16,0x17,0x21,0x36,0x3f,0x01, +0x06,0x07,0x36,0x37,0x36,0x27,0x26,0x23,0x27,0x06,0x07,0x33,0x32,0x15,0x14,0x07, +0x06,0x07,0x06,0x07,0x33,0x32,0x37,0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x23,0x01, +0x33,0x14,0x06,0x07,0x14,0x16,0x17,0x23,0x26,0x27,0x26,0x27,0x26,0x36,0x01,0x04, +0x25,0x36,0x37,0x21,0x16,0x05,0x36,0x37,0x32,0x17,0x15,0x14,0x05,0x07,0x17,0x14, +0x07,0x21,0x26,0x3d,0x01,0x37,0x35,0x24,0x2f,0x01,0x35,0x36,0x33,0x16,0x17,0x26, +0x11,0x34,0x33,0x21,0x16,0x15,0x33,0x32,0x15,0x14,0x07,0x06,0x07,0x06,0x2b,0x01, +0x27,0x01,0x16,0x17,0x21,0x36,0x37,0x01,0x06,0x07,0x06,0x07,0x23,0x3e,0x01,0x35, +0x34,0x26,0x35,0x33,0x1e,0x01,0x01,0x23,0x02,0x11,0x04,0x81,0x0b,0x03,0x1e,0xfb, +0xa0,0x1c,0x3f,0x05,0x10,0x03,0xf4,0x0d,0x09,0x49,0x09,0x3a,0x57,0x30,0x1f,0x02, +0x01,0x20,0x39,0x02,0x01,0x36,0x3b,0x45,0x2c,0x51,0x20,0x32,0x07,0x3a,0x26,0x13, +0x6c,0x36,0x1d,0x18,0x78,0xfd,0x30,0x09,0x62,0x01,0x88,0x04,0x08,0x13,0x6d,0x21, +0x0a,0x03,0x72,0xfe,0xdb,0x01,0x61,0x01,0x73,0x22,0x5c,0xfc,0x3e,0x25,0x03,0x45, +0xfe,0x66,0x12,0x06,0xfe,0x99,0x7e,0x02,0x10,0xfd,0xf1,0x11,0x04,0xfe,0x65,0x32, +0x03,0x04,0x12,0x55,0xd6,0xc9,0x36,0x04,0x67,0x21,0x36,0x8f,0x56,0x23,0x70,0x35, +0x43,0x07,0x11,0xfc,0x2b,0x06,0x0a,0x04,0x43,0x0b,0x04,0xfe,0x98,0x06,0x13,0x3f, +0x0b,0x06,0x03,0x50,0x39,0x05,0x0a,0x42,0x02,0xb4,0x3b,0x51,0x34,0x58,0x16,0x04, +0xfe,0xcd,0x1a,0x12,0x16,0x16,0xc7,0x6d,0x86,0x01,0x4d,0x3b,0x59,0x11,0x56,0x1c, +0x20,0x2f,0x82,0x4d,0x28,0x01,0x3d,0x48,0x3a,0x0d,0x1f,0x2c,0x71,0x4c,0x55,0x44, +0x03,0x29,0x38,0x88,0x57,0x71,0x6b,0xb1,0x92,0x65,0x2d,0x50,0x6d,0x7b,0xfa,0xf3, +0x18,0x16,0x10,0x97,0x4e,0x57,0x18,0x0a,0x0a,0x0a,0x10,0x3d,0x24,0x0a,0x0f,0x08, +0x07,0x10,0x06,0x02,0x02,0x55,0x12,0x0d,0x04,0x0b,0x09,0x14,0xfe,0x01,0x2f,0x30, +0x02,0x18,0x63,0x9b,0x99,0x29,0x16,0x48,0x04,0x01,0x3f,0x1a,0x12,0x13,0x19,0x01, +0xf5,0x32,0x1c,0x40,0x5b,0x6e,0x44,0x46,0x38,0x54,0x24,0x2e,0x4c,0x00,0x00,0x02, +0x00,0xac,0x00,0x01,0x06,0x81,0x05,0xd9,0x00,0x07,0x00,0x0c,0x00,0x13,0x00,0xb8, +0x00,0x00,0x2f,0xba,0x00,0x0a,0x00,0x03,0x00,0x03,0x2b,0xb8,0x00,0x0a,0x10,0x30, +0x31,0x09,0x01,0x13,0x07,0x21,0x27,0x13,0x09,0x01,0x03,0x21,0x03,0x01,0x03,0x9e, +0x02,0x8f,0x54,0x03,0xfa,0x34,0x06,0x58,0x02,0x97,0xfd,0xcd,0x4b,0x04,0xf3,0x47, +0xfd,0xcf,0x05,0xd9,0xfe,0x77,0xfb,0xb4,0x03,0x06,0x04,0x4c,0x01,0x86,0xfe,0x35, +0xfc,0x5f,0x03,0xa1,0x01,0x4b,0x00,0x01,0x00,0xac,0x00,0x00,0x06,0x81,0x05,0xd0, +0x00,0x09,0x00,0x13,0x00,0xb8,0x00,0x02,0x2f,0xb8,0x00,0x04,0x2f,0xb8,0x00,0x06, +0x2f,0xb8,0x00,0x00,0x2f,0x30,0x31,0x09,0x01,0x13,0x17,0x07,0x21,0x27,0x13,0x00, +0x37,0x03,0x9b,0x02,0x8c,0x57,0x03,0x03,0xfa,0x34,0x06,0x5a,0x02,0x7e,0x14,0x05, +0xd0,0xfe,0x77,0xfb,0xbf,0x03,0x03,0x06,0x04,0x44,0x01,0x80,0x06,0x00,0x00,0x01, +0x00,0x9f,0x00,0x00,0x06,0x8d,0x05,0xd4,0x00,0x42,0x00,0x37,0x00,0xb8,0x00,0x07, +0x2f,0xb8,0x00,0x0b,0x2f,0xb8,0x00,0x2a,0x2f,0xba,0x00,0x00,0x00,0x2a,0x00,0x07, +0x11,0x12,0x39,0xba,0x00,0x12,0x00,0x2a,0x00,0x07,0x11,0x12,0x39,0xba,0x00,0x28, +0x00,0x2a,0x00,0x07,0x11,0x12,0x39,0xba,0x00,0x2d,0x00,0x2a,0x00,0x07,0x11,0x12, +0x39,0x30,0x31,0x01,0x03,0x26,0x35,0x34,0x37,0x36,0x33,0x32,0x16,0x36,0x33,0x32, +0x17,0x16,0x15,0x14,0x07,0x03,0x25,0x36,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x0e, +0x01,0x16,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x03,0x12,0x03,0x23,0x12, +0x0b,0x01,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x36,0x26,0x27,0x26,0x35, +0x34,0x37,0x36,0x37,0x36,0x17,0x03,0x78,0xd8,0x4a,0x58,0x25,0x26,0x58,0x57,0x58, +0x3a,0x5c,0x38,0x0d,0x5b,0xc7,0x01,0x45,0x89,0x7a,0x23,0x23,0x46,0x07,0x12,0x84, +0x4d,0x1c,0x0b,0x21,0x39,0x40,0x21,0x23,0x6a,0x4c,0xcf,0x29,0x90,0x5f,0xb3,0x28, +0xce,0x4d,0x69,0x23,0x22,0x3f,0x38,0x22,0x0c,0x1b,0x4d,0x84,0x12,0x07,0x46,0x23, +0x23,0x79,0x8a,0x03,0x08,0x01,0x34,0x68,0x6f,0x6b,0x40,0x16,0x6d,0x6d,0x72,0x2a, +0x25,0x7f,0x74,0xfe,0xeb,0x65,0x32,0x27,0x0c,0x1b,0x42,0x42,0x15,0x15,0x39,0x30, +0x74,0x55,0x25,0x1b,0x29,0x0c,0x22,0x66,0x01,0x16,0xfe,0x74,0xfe,0xd7,0x01,0x28, +0x01,0x8d,0xfe,0xea,0x66,0x22,0x0c,0x29,0x1b,0x25,0x55,0x74,0x30,0x39,0x15,0x14, +0x43,0x42,0x1b,0x0c,0x27,0x32,0x00,0x02,0x00,0xab,0x01,0x1e,0x06,0x81,0x04,0x98, +0x00,0x39,0x00,0x3e,0x00,0x2d,0x00,0xb8,0x00,0x0e,0x2f,0xb8,0x00,0x1f,0x2f,0xb8, +0x00,0x00,0x2f,0xba,0x00,0x06,0x00,0x1f,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x31, +0x00,0x1f,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x3d,0x00,0x1f,0x00,0x00,0x11,0x12, +0x39,0x30,0x31,0x01,0x16,0x17,0x14,0x07,0x06,0x07,0x04,0x13,0x33,0x17,0x07,0x23, +0x06,0x07,0x22,0x27,0x34,0x33,0x16,0x37,0x32,0x37,0x24,0x27,0x23,0x22,0x07,0x16, +0x15,0x06,0x05,0x24,0x03,0x34,0x37,0x16,0x17,0x15,0x07,0x14,0x17,0x32,0x37,0x12, +0x25,0x16,0x07,0x14,0x07,0x36,0x37,0x32,0x35,0x36,0x37,0x36,0x26,0x03,0x06,0x17, +0x35,0x26,0x05,0xa7,0x6f,0x14,0x4a,0xb0,0x14,0x01,0x00,0x37,0x1b,0x13,0x2e,0x03, +0x11,0x98,0x62,0x19,0x14,0x10,0x3c,0x4d,0x0d,0xfe,0xfa,0x07,0x03,0x83,0x44,0x86, +0x09,0xfe,0xb2,0xfd,0x99,0x2c,0x42,0x33,0x08,0x0d,0x71,0x59,0x0d,0x35,0x01,0x2a, +0xc9,0x05,0x2a,0x5d,0x64,0x3d,0x48,0x4e,0x4e,0x3a,0x87,0x0f,0xf3,0x20,0x04,0x98, +0x05,0x73,0x57,0x19,0x24,0x2c,0x1b,0xfe,0xf0,0x4a,0x0d,0xae,0x09,0x5d,0x54,0x2e, +0x01,0x4d,0x4d,0xf1,0x6d,0x40,0x65,0xf6,0x10,0x03,0x01,0x64,0x3a,0x09,0x03,0x2c, +0x17,0x27,0x5a,0x0c,0x4d,0x01,0xde,0x14,0x06,0xa8,0x27,0x63,0x4d,0x14,0x26,0x54, +0x29,0x32,0x5f,0xfe,0xa5,0x91,0x4d,0x03,0xb5,0x00,0x00,0x01,0x00,0xac,0x00,0xe7, +0x06,0x81,0x04,0x8d,0x00,0x32,0x00,0x53,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x2e, +0x2f,0xba,0x00,0x15,0x00,0x0b,0x00,0x03,0x2b,0xb8,0x00,0x15,0x10,0xba,0x00,0x2a, +0x00,0x21,0x00,0x03,0x2b,0xb8,0x00,0x2a,0x10,0xba,0x00,0x20,0x00,0x16,0x00,0x03, +0x2b,0xb8,0x00,0x20,0x10,0xb8,0x00,0x0b,0x10,0xb8,0x00,0x09,0xd0,0xb8,0x00,0x09, +0x2f,0xb8,0x00,0x15,0x10,0xb8,0x00,0x17,0xd0,0xb8,0x00,0x17,0x2f,0xb8,0x00,0x21, +0x10,0xb8,0x00,0x1f,0xd0,0xb8,0x00,0x1f,0x2f,0x30,0x31,0x25,0x21,0x22,0x26,0x35, +0x34,0x36,0x37,0x36,0x37,0x33,0x37,0x23,0x26,0x27,0x26,0x35,0x34,0x3e,0x01,0x3b, +0x01,0x37,0x21,0x22,0x26,0x35,0x34,0x36,0x37,0x36,0x37,0x21,0x37,0x21,0x22,0x26, +0x35,0x34,0x3e,0x01,0x33,0x21,0x36,0x37,0x36,0x33,0x21,0x32,0x16,0x15,0x06,0x36, +0xfd,0x50,0x2b,0x3d,0x1c,0x19,0x12,0x13,0x36,0x04,0x88,0x2f,0x19,0x1f,0x1d,0x32, +0x1a,0xb4,0x01,0xfe,0xff,0x44,0x3e,0x1d,0x19,0x14,0x16,0x01,0x52,0x02,0xfd,0x03, +0x2b,0x3e,0x1d,0x32,0x1a,0x03,0x2c,0x08,0x10,0x1f,0x2b,0x01,0x76,0x2a,0x3e,0xe7, +0x3e,0x2b,0x1b,0x32,0x0d,0x0a,0x03,0x0c,0x02,0x1a,0x1e,0x2c,0x1b,0x32,0x1c,0x0a, +0x3d,0x2c,0x1a,0x32,0x0e,0x0b,0x02,0x0a,0x3d,0x2c,0x1b,0x33,0x1a,0x16,0x11,0x1f, +0x3e,0x2c,0x00,0x01,0x00,0xac,0x00,0xe7,0x06,0x81,0x04,0x8d,0x00,0x32,0x00,0x4b, +0x00,0xb8,0x00,0x03,0x2f,0xb8,0x00,0x31,0x2f,0xba,0x00,0x1e,0x00,0x26,0x00,0x03, +0x2b,0xb8,0x00,0x1e,0x10,0xba,0x00,0x09,0x00,0x10,0x00,0x03,0x2b,0xb8,0x00,0x09, +0x10,0xb8,0x00,0x10,0x10,0xb8,0x00,0x12,0xd0,0xb8,0x00,0x12,0x2f,0xb8,0x00,0x1e, +0x10,0xb8,0x00,0x1b,0xd0,0xb8,0x00,0x1b,0x2f,0xb8,0x00,0x13,0xdc,0xb8,0x00,0x26, +0x10,0xb8,0x00,0x28,0xd0,0xb8,0x00,0x28,0x2f,0x30,0x31,0x13,0x34,0x36,0x33,0x21, +0x32,0x17,0x16,0x17,0x21,0x32,0x1e,0x01,0x15,0x14,0x06,0x23,0x21,0x17,0x21,0x16, +0x17,0x1e,0x01,0x15,0x14,0x06,0x23,0x21,0x17,0x33,0x32,0x1e,0x01,0x15,0x14,0x07, +0x06,0x07,0x23,0x17,0x33,0x16,0x17,0x1e,0x01,0x15,0x14,0x06,0x23,0x21,0xac,0x3e, +0x2a,0x01,0x76,0x2b,0x1e,0x11,0x08,0x03,0x2c,0x1a,0x31,0x1e,0x3e,0x2b,0xfd,0x03, +0x02,0x01,0x52,0x16,0x14,0x19,0x1c,0x3d,0x44,0xfe,0xff,0x01,0xb3,0x1b,0x32,0x1c, +0x1e,0x19,0x30,0x87,0x04,0x36,0x13,0x12,0x18,0x1d,0x3d,0x2b,0xfd,0x50,0x04,0x23, +0x2c,0x3e,0x1f,0x11,0x16,0x1a,0x33,0x1b,0x2c,0x3d,0x0a,0x02,0x0b,0x0e,0x32,0x1a, +0x2c,0x3d,0x0a,0x1c,0x32,0x1b,0x2c,0x1e,0x1a,0x02,0x0c,0x03,0x0a,0x0d,0x32,0x1b, +0x2b,0x3e,0x00,0x02,0x00,0xb2,0x00,0xd4,0x06,0x7b,0x04,0x8d,0x00,0x21,0x00,0x43, +0x00,0x5f,0x00,0xba,0x00,0x1a,0x00,0x22,0x00,0x03,0x2b,0xb8,0x00,0x1a,0x10,0xba, +0x00,0x3f,0x00,0x04,0x00,0x03,0x2b,0xb8,0x00,0x3f,0x10,0xba,0x00,0x3c,0x00,0x36, +0x00,0x03,0x2b,0xb8,0x00,0x3c,0x10,0xba,0x00,0x0d,0x00,0x0e,0x00,0x03,0x2b,0xb8, +0x00,0x0d,0x10,0xba,0x00,0x14,0x00,0x15,0x00,0x03,0x2b,0xb8,0x00,0x14,0x10,0xba, +0x00,0x35,0x00,0x2f,0x00,0x03,0x2b,0xb8,0x00,0x35,0x10,0xb8,0x00,0x22,0x10,0xb8, +0x00,0x26,0xdc,0xb8,0x00,0x28,0xd0,0xb8,0x00,0x28,0x2f,0xb8,0x00,0x2e,0xdc,0x30, +0x31,0x25,0x13,0x34,0x26,0x23,0x21,0x22,0x07,0x21,0x26,0x15,0x14,0x33,0x21,0x07, +0x21,0x22,0x15,0x14,0x33,0x21,0x07,0x23,0x22,0x15,0x14,0x3b,0x01,0x07,0x23,0x22, +0x15,0x14,0x33,0x07,0x26,0x27,0x36,0x37,0x33,0x37,0x23,0x26,0x27,0x36,0x37,0x33, +0x37,0x21,0x22,0x27,0x36,0x37,0x21,0x37,0x21,0x26,0x27,0x36,0x33,0x21,0x36,0x37, +0x21,0x32,0x16,0x15,0x03,0x06,0x08,0x49,0x30,0x21,0xfe,0x9f,0x36,0x17,0xfc,0xd9, +0x53,0x53,0x02,0xff,0x0d,0xfe,0x9e,0x53,0x53,0x01,0x3a,0x09,0xdd,0x53,0x53,0xae, +0x13,0x3e,0x53,0x53,0x1c,0x5d,0x01,0x01,0x5d,0x4a,0x04,0xab,0x5d,0x01,0x01,0x5d, +0xe4,0x02,0xfe,0xc6,0x5d,0x01,0x01,0x5d,0x01,0x68,0x04,0xfd,0x04,0x5c,0x01,0x01, +0x5c,0x03,0x2c,0x20,0x42,0x01,0x76,0x2a,0x3e,0x4b,0xf1,0x03,0x15,0x25,0x33,0x39, +0x02,0x4b,0x49,0x4c,0x4b,0x49,0x4f,0x4b,0x48,0x4c,0x4b,0x49,0x1d,0x01,0x68,0x67, +0x01,0x0e,0x01,0x68,0x67,0x01,0x13,0x68,0x67,0x01,0x0f,0x01,0x68,0x67,0x45,0x02, +0x3f,0x2d,0xfc,0xb3,0x00,0x02,0x00,0x93,0x00,0x00,0x04,0x4c,0x05,0xca,0x00,0x21, +0x00,0x44,0x00,0xa3,0xba,0x00,0x27,0x00,0x43,0x00,0x03,0x2b,0xb8,0x00,0x27,0x10, +0xba,0x00,0x14,0x00,0x15,0x00,0x03,0x2b,0xb8,0x00,0x14,0x10,0xba,0x00,0x0d,0x00, +0x0e,0x00,0x03,0x2b,0xb8,0x00,0x0d,0x10,0xba,0x00,0x3f,0x00,0x04,0x00,0x03,0x2b, +0xb8,0x00,0x3f,0x10,0xb8,0x00,0x43,0x10,0xb8,0x00,0x1b,0xdc,0xb8,0x00,0x43,0x10, +0xb8,0x00,0x22,0xd0,0xb8,0x00,0x22,0x2f,0xb8,0x00,0x27,0x10,0xb8,0x00,0x29,0xd0, +0xb8,0x00,0x29,0x2f,0xb8,0x00,0x27,0x10,0xb8,0x00,0x2e,0xdc,0xba,0x00,0x2f,0x00, +0x15,0x00,0x14,0x11,0x12,0x39,0xb8,0x00,0x2f,0x2f,0xb8,0x00,0x35,0xdc,0xba,0x00, +0x36,0x00,0x0e,0x00,0x0d,0x11,0x12,0x39,0xb8,0x00,0x36,0x2f,0xb8,0x00,0x3c,0xdc, +0xb8,0x00,0x3f,0x10,0xb8,0x00,0x46,0xdc,0x00,0xb8,0x00,0x39,0x2f,0xb8,0x00,0x42, +0x2f,0xba,0x00,0x28,0x00,0x42,0x00,0x39,0x11,0x12,0x39,0xba,0x00,0x36,0x00,0x42, +0x00,0x39,0x11,0x12,0x39,0x30,0x31,0x37,0x05,0x32,0x36,0x35,0x11,0x34,0x27,0x11, +0x36,0x23,0x22,0x15,0x11,0x27,0x11,0x34,0x23,0x22,0x15,0x11,0x27,0x35,0x34,0x23, +0x22,0x1d,0x01,0x27,0x35,0x34,0x23,0x22,0x15,0x27,0x36,0x37,0x16,0x17,0x15,0x17, +0x35,0x36,0x37,0x16,0x17,0x15,0x17,0x11,0x34,0x37,0x16,0x17,0x11,0x17,0x11,0x36, +0x37,0x16,0x15,0x11,0x16,0x17,0x11,0x14,0x06,0x23,0x25,0x13,0xb1,0x03,0x15,0x24, +0x34,0x3a,0x02,0x4a,0x49,0x4c,0x4c,0x48,0x4f,0x4b,0x48,0x4c,0x4b,0x49,0x1d,0x01, +0x68,0x67,0x01,0x0e,0x01,0x68,0x67,0x01,0x12,0x69,0x67,0x01,0x0f,0x01,0x68,0x67, +0x44,0x02,0x3e,0x2d,0xfc,0xb2,0x01,0x73,0x4a,0x31,0x20,0x01,0x62,0x36,0x16,0x03, +0x27,0x53,0x53,0xfd,0x02,0x0d,0x01,0x63,0x52,0x52,0xfe,0xc4,0x09,0xdf,0x53,0x53, +0xae,0x12,0x3f,0x53,0x53,0x1c,0x5c,0x01,0x01,0x5c,0x4b,0x04,0xac,0x5c,0x01,0x01, +0x5c,0xe4,0x03,0x01,0x3b,0x5c,0x01,0x01,0x5c,0xfe,0x96,0x04,0x02,0xfd,0x5d,0x01, +0x01,0x5d,0xfc,0xd4,0x21,0x41,0xfe,0x8a,0x2a,0x3e,0x4b,0x02,0x9b,0x00,0x00,0x02, +0x00,0xb1,0x00,0xd3,0x06,0x7b,0x04,0x8d,0x00,0x21,0x00,0x43,0x00,0x75,0x00,0xba, +0x00,0x06,0x00,0x43,0x00,0x03,0x2b,0xb8,0x00,0x06,0x10,0xba,0x00,0x27,0x00,0x1c, +0x00,0x03,0x2b,0xb8,0x00,0x27,0x10,0xba,0x00,0x2a,0x00,0x2e,0x00,0x03,0x2b,0xb8, +0x00,0x2a,0x10,0xba,0x00,0x14,0x00,0x13,0x00,0x03,0x2b,0xb8,0x00,0x14,0x10,0xba, +0x00,0x0e,0x00,0x0b,0x00,0x03,0x2b,0xb8,0x00,0x0e,0x10,0xba,0x00,0x31,0x00,0x35, +0x00,0x03,0x2b,0xb8,0x00,0x31,0x10,0xb8,0x00,0x43,0x10,0xb8,0x00,0x3e,0xdc,0xb8, +0x00,0x3c,0xd0,0xb8,0x00,0x3c,0x2f,0xb8,0x00,0x38,0xdc,0xba,0x00,0x3d,0x00,0x43, +0x00,0x06,0x11,0x12,0x39,0xb8,0x00,0x3c,0x10,0xb8,0x00,0x3f,0xd0,0xb8,0x00,0x3f, +0x2f,0x30,0x31,0x25,0x32,0x35,0x34,0x2b,0x01,0x27,0x33,0x32,0x35,0x34,0x2b,0x01, +0x27,0x21,0x32,0x35,0x34,0x23,0x21,0x27,0x21,0x32,0x35,0x34,0x07,0x21,0x26,0x23, +0x21,0x22,0x06,0x15,0x13,0x07,0x03,0x34,0x36,0x33,0x21,0x16,0x17,0x21,0x32,0x17, +0x06,0x07,0x21,0x17,0x21,0x16,0x17,0x06,0x23,0x21,0x17,0x33,0x16,0x17,0x06,0x07, +0x23,0x17,0x33,0x16,0x17,0x06,0x07,0x03,0xc1,0x53,0x53,0x3f,0x12,0xae,0x53,0x53, +0xdf,0x09,0x01,0x3c,0x52,0x52,0xfe,0x9d,0x0d,0x02,0xfe,0x53,0x53,0xfc,0xd9,0x16, +0x36,0xfe,0x9e,0x20,0x31,0x4a,0x28,0x4b,0x3e,0x2a,0x01,0x76,0x41,0x21,0x03,0x2c, +0x5d,0x01,0x01,0x5d,0xfd,0x03,0x04,0x01,0x6a,0x5c,0x01,0x01,0x5c,0xfe,0xc5,0x03, +0xe4,0x5c,0x01,0x01,0x5c,0xac,0x04,0x4b,0x5c,0x01,0x01,0x5c,0xf1,0x49,0x4b,0x4c, +0x48,0x4b,0x4f,0x49,0x4b,0x4c,0x49,0x4b,0x02,0x39,0x33,0x25,0xfc,0xeb,0x1e,0x03, +0x4e,0x2d,0x3f,0x02,0x45,0x67,0x68,0x01,0x0f,0x01,0x67,0x68,0x13,0x01,0x67,0x68, +0x01,0x0e,0x01,0x67,0x69,0x01,0x00,0x02,0x00,0x93,0xff,0xf9,0x04,0x4c,0x05,0xc2, +0x00,0x21,0x00,0x43,0x00,0xab,0xba,0x00,0x3e,0x00,0x22,0x00,0x03,0x2b,0xb8,0x00, +0x3e,0x10,0xba,0x00,0x0e,0x00,0x0b,0x00,0x03,0x2b,0xb8,0x00,0x0e,0x10,0xba,0x00, +0x14,0x00,0x13,0x00,0x03,0x2b,0xb8,0x00,0x14,0x10,0xba,0x00,0x27,0x00,0x1c,0x00, +0x03,0x2b,0xb8,0x00,0x27,0x10,0xb8,0x00,0x22,0x10,0xb8,0x00,0x06,0xdc,0xba,0x00, +0x2e,0x00,0x13,0x00,0x14,0x11,0x12,0x39,0xb8,0x00,0x2e,0x2f,0xb8,0x00,0x2a,0xdc, +0xba,0x00,0x2f,0x00,0x13,0x00,0x14,0x11,0x12,0x39,0xba,0x00,0x35,0x00,0x0b,0x00, +0x0e,0x11,0x12,0x39,0xb8,0x00,0x35,0x2f,0xb8,0x00,0x31,0xdc,0xb8,0x00,0x3e,0x10, +0xb8,0x00,0x38,0xdc,0xb8,0x00,0x3e,0x10,0xb8,0x00,0x3c,0xd0,0xb8,0x00,0x3c,0x2f, +0xb8,0x00,0x27,0x10,0xb8,0x00,0x45,0xdc,0x00,0xb8,0x00,0x23,0x2f,0xb8,0x00,0x2c, +0x2f,0xba,0x00,0x06,0x00,0x2c,0x00,0x23,0x11,0x12,0x39,0xba,0x00,0x2f,0x00,0x2c, +0x00,0x23,0x11,0x12,0x39,0xba,0x00,0x3d,0x00,0x2c,0x00,0x23,0x11,0x12,0x39,0x30, +0x31,0x13,0x14,0x33,0x32,0x3d,0x01,0x37,0x15,0x14,0x33,0x32,0x3d,0x01,0x37,0x11, +0x14,0x33,0x32,0x35,0x11,0x37,0x11,0x14,0x33,0x32,0x27,0x11,0x36,0x35,0x11,0x34, +0x26,0x23,0x05,0x27,0x25,0x32,0x16,0x15,0x11,0x06,0x07,0x11,0x14,0x07,0x26,0x27, +0x11,0x07,0x11,0x06,0x07,0x26,0x35,0x11,0x07,0x15,0x06,0x07,0x26,0x27,0x35,0x07, +0x15,0x06,0x07,0x26,0x27,0xb1,0x49,0x4b,0x4c,0x48,0x4b,0x4f,0x48,0x4c,0x4c,0x49, +0x4a,0x02,0x3a,0x34,0x24,0xfc,0xeb,0x1e,0x03,0x4e,0x2d,0x3e,0x02,0x44,0x67,0x68, +0x01,0x0f,0x01,0x67,0x69,0x12,0x01,0x67,0x68,0x01,0x0e,0x01,0x67,0x68,0x01,0x02, +0xb3,0x53,0x53,0x3d,0x14,0xae,0x53,0x53,0xdd,0x09,0xfe,0xc6,0x53,0x53,0x01,0x62, +0x0d,0xfd,0x01,0x53,0x53,0x03,0x27,0x17,0x36,0x01,0x61,0x21,0x30,0x4a,0x29,0x4b, +0x3e,0x2a,0xfe,0x8a,0x42,0x20,0xfc,0xd4,0x5c,0x01,0x01,0x5c,0x02,0xfc,0x04,0xfe, +0x98,0x5d,0x01,0x01,0x5d,0x01,0x3a,0x02,0xe4,0x5d,0x01,0x01,0x5d,0xab,0x04,0x4a, +0x5d,0x01,0x01,0x5d,0x00,0x1d,0x00,0x7d,0x00,0x00,0x06,0xaf,0x05,0xd8,0x00,0x4f, +0x00,0x80,0x00,0x88,0x00,0x90,0x00,0x9f,0x00,0xae,0x00,0xb5,0x00,0xbc,0x00,0xcd, +0x00,0xd3,0x00,0xda,0x00,0xde,0x00,0xe2,0x00,0xe6,0x00,0xea,0x00,0xee,0x00,0xf2, +0x00,0xf6,0x00,0xfa,0x00,0xfe,0x01,0x02,0x01,0x11,0x01,0x1d,0x01,0x21,0x01,0x25, +0x01,0x29,0x01,0x2d,0x01,0x31,0x01,0x35,0x03,0x23,0xba,0x00,0x50,0x00,0x4c,0x00, +0x03,0x2b,0xb8,0x00,0x50,0x10,0xba,0x00,0xf1,0x00,0xe5,0x00,0x03,0x2b,0xb8,0x00, +0xf1,0x10,0xba,0x00,0x05,0x00,0x77,0x00,0x03,0x2b,0xb8,0x00,0x05,0x10,0xba,0x00, +0x0c,0x00,0x4c,0x00,0x05,0x11,0x12,0x39,0xba,0x00,0x48,0x00,0x4c,0x00,0x05,0x11, +0x12,0x39,0x41,0x1b,0x00,0x16,0x00,0x50,0x00,0x26,0x00,0x50,0x00,0x36,0x00,0x50, +0x00,0x46,0x00,0x50,0x00,0x56,0x00,0x50,0x00,0x66,0x00,0x50,0x00,0x76,0x00,0x50, +0x00,0x86,0x00,0x50,0x00,0x96,0x00,0x50,0x00,0xa6,0x00,0x50,0x00,0xb6,0x00,0x50, +0x00,0xc6,0x00,0x50,0x00,0xd6,0x00,0x50,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00, +0x50,0x00,0xf5,0x00,0x50,0x00,0x02,0x5d,0xba,0x00,0x75,0x00,0x4c,0x00,0x05,0x11, +0x12,0x39,0xba,0x00,0x92,0x00,0x4c,0x00,0x05,0x11,0x12,0x39,0xba,0x00,0xa8,0x00, +0x4c,0x00,0x05,0x11,0x12,0x39,0xb8,0x00,0xf1,0x10,0xb8,0x00,0xb0,0xd0,0xb8,0x00, +0xf1,0x10,0xb8,0x00,0xbb,0xd0,0xb8,0x00,0xbb,0x2f,0xb8,0x00,0xb1,0xd0,0xb8,0x00, +0xb1,0x2f,0xb8,0x00,0xe5,0x10,0xb8,0x00,0xb4,0xd0,0xb8,0x00,0xb4,0x2f,0xb8,0x00, +0xf1,0x10,0xb8,0x01,0x2e,0xdc,0xb8,0x00,0xb8,0xd0,0xb8,0x00,0xb8,0x2f,0xba,0x00, +0xc3,0x00,0x4c,0x00,0x05,0x11,0x12,0x39,0xba,0x00,0xcc,0x00,0x4c,0x00,0x05,0x11, +0x12,0x39,0xba,0x00,0xce,0x00,0x4c,0x00,0x05,0x11,0x12,0x39,0xba,0x00,0xd1,0x00, +0x4c,0x00,0x05,0x11,0x12,0x39,0xba,0x00,0xd8,0x00,0x4c,0x00,0x05,0x11,0x12,0x39, +0xba,0x00,0xdb,0x00,0x4c,0x00,0x05,0x11,0x12,0x39,0xba,0x00,0xdd,0x00,0x4c,0x00, +0x05,0x11,0x12,0x39,0xba,0x00,0xe0,0x00,0x4c,0x00,0x05,0x11,0x12,0x39,0xba,0x00, +0xe2,0x00,0x4c,0x00,0x05,0x11,0x12,0x39,0xb8,0x01,0x2e,0x10,0xb8,0x00,0xe7,0xd0, +0xb8,0x00,0xe7,0x2f,0xba,0x00,0xe8,0x00,0x4c,0x00,0x05,0x11,0x12,0x39,0xb8,0x00, +0xbb,0x10,0xb8,0x00,0xf3,0xd0,0xb8,0x00,0xf3,0x2f,0xb8,0x00,0xe5,0x10,0xb8,0x00, +0xf9,0xd0,0xb8,0x00,0xbb,0x10,0xb8,0x00,0xfb,0xd0,0xb8,0x00,0xfb,0x2f,0xba,0x00, +0xfe,0x00,0xf1,0x01,0x2e,0x11,0x12,0x39,0xb8,0x00,0xf1,0x10,0xb8,0x01,0x01,0xd0, +0xb8,0x00,0xbb,0x10,0xb8,0x01,0x02,0xd0,0xb8,0x01,0x02,0x2f,0xba,0x01,0x10,0x00, +0x4c,0x00,0x05,0x11,0x12,0x39,0xb8,0x00,0xe5,0x10,0xb8,0x01,0x1f,0xd0,0xb8,0x01, +0x1f,0x2f,0xba,0x01,0x22,0x00,0xe5,0x00,0xf1,0x11,0x12,0x39,0xba,0x01,0x28,0x00, +0x4c,0x00,0x05,0x11,0x12,0x39,0xba,0x01,0x33,0x00,0x4c,0x00,0x05,0x11,0x12,0x39, +0xb8,0x00,0x05,0x10,0xb8,0x01,0x37,0xdc,0x00,0xb8,0x00,0x24,0x2f,0xb8,0x00,0x30, +0x2f,0xba,0x00,0x00,0x00,0x7c,0x00,0x03,0x2b,0xb8,0x00,0x00,0x10,0xba,0x00,0xbf, +0x00,0x2a,0x00,0x03,0x2b,0xb8,0x00,0xbf,0x10,0xba,0x00,0xa5,0x00,0x35,0x00,0x03, +0x2b,0xb8,0x00,0xa5,0x10,0xba,0x00,0x44,0x00,0x18,0x00,0x03,0x2b,0xb8,0x00,0x44, +0x10,0xba,0x00,0x81,0x00,0x85,0x00,0x03,0x2b,0xb8,0x00,0x81,0x10,0xba,0x00,0x0c, +0x00,0x18,0x00,0x44,0x11,0x12,0x39,0xb8,0x00,0x44,0x10,0xb8,0x00,0x10,0xd0,0xb8, +0x00,0x10,0x2f,0xb8,0x00,0x18,0x10,0xb8,0x00,0x3b,0xd0,0xb8,0x00,0x3b,0x2f,0xba, +0x00,0x48,0x00,0x18,0x00,0x44,0x11,0x12,0x39,0xba,0x00,0x75,0x00,0x85,0x00,0x81, +0x11,0x12,0x39,0xb8,0x00,0x81,0x10,0xb8,0x00,0x89,0xd0,0xb8,0x00,0x85,0x10,0xb8, +0x00,0x8d,0xd0,0xba,0x00,0x92,0x00,0x35,0x00,0xa5,0x11,0x12,0x39,0xb8,0x00,0xa5, +0x10,0xb8,0x00,0x94,0xd0,0xb8,0x00,0x94,0x2f,0xb8,0x00,0x18,0x10,0xb8,0x00,0x95, +0xdc,0xba,0x00,0xa8,0x00,0x35,0x00,0xa5,0x11,0x12,0x39,0xb8,0x00,0x18,0x10,0xb8, +0x00,0xba,0xd0,0xba,0x00,0xc3,0x00,0x35,0x00,0xa5,0x11,0x12,0x39,0xba,0x00,0xcc, +0x00,0x35,0x00,0xa5,0x11,0x12,0x39,0xba,0x00,0xce,0x00,0x35,0x00,0xa5,0x11,0x12, +0x39,0xba,0x00,0xd1,0x00,0x35,0x00,0xa5,0x11,0x12,0x39,0xb8,0x00,0x18,0x10,0xb8, +0x00,0xd8,0xd0,0xba,0x00,0xdb,0x00,0x35,0x00,0xa5,0x11,0x12,0x39,0xba,0x00,0xdd, +0x00,0x35,0x00,0xa5,0x11,0x12,0x39,0xba,0x00,0xe0,0x00,0x35,0x00,0xa5,0x11,0x12, +0x39,0xba,0x00,0xe2,0x00,0x35,0x00,0xa5,0x11,0x12,0x39,0xba,0x00,0xe8,0x00,0x35, +0x00,0xa5,0x11,0x12,0x39,0xba,0x00,0xfe,0x00,0x35,0x00,0xa5,0x11,0x12,0x39,0xb8, +0x00,0x35,0x10,0xb8,0x01,0x03,0xd0,0xba,0x01,0x10,0x00,0x35,0x00,0xa5,0x11,0x12, +0x39,0xb8,0x00,0x35,0x10,0xb8,0x01,0x1c,0xd0,0xb8,0x01,0x1c,0x2f,0xba,0x01,0x22, +0x00,0x35,0x00,0xa5,0x11,0x12,0x39,0xba,0x01,0x28,0x00,0x35,0x00,0xa5,0x11,0x12, +0x39,0xba,0x01,0x33,0x00,0x35,0x00,0xa5,0x11,0x12,0x39,0x30,0x31,0x01,0x20,0x17, +0x16,0x1d,0x01,0x14,0x07,0x17,0x15,0x14,0x07,0x33,0x36,0x35,0x36,0x3b,0x01,0x32, +0x15,0x16,0x1d,0x01,0x06,0x23,0x27,0x06,0x07,0x15,0x17,0x37,0x16,0x15,0x14,0x07, +0x14,0x2b,0x01,0x22,0x2f,0x01,0x06,0x23,0x22,0x27,0x06,0x15,0x06,0x2b,0x01,0x22, +0x35,0x26,0x35,0x34,0x37,0x17,0x37,0x35,0x25,0x07,0x22,0x27,0x35,0x34,0x37,0x36, +0x3b,0x01,0x32,0x1f,0x01,0x35,0x27,0x37,0x26,0x35,0x36,0x25,0x36,0x01,0x14,0x17, +0x33,0x35,0x26,0x35,0x36,0x3b,0x01,0x17,0x07,0x17,0x15,0x07,0x15,0x14,0x17,0x16, +0x1d,0x01,0x17,0x33,0x37,0x34,0x37,0x36,0x35,0x27,0x37,0x35,0x27,0x37,0x16,0x1d, +0x01,0x07,0x17,0x36,0x3d,0x01,0x34,0x27,0x26,0x2b,0x01,0x20,0x07,0x06,0x05,0x16, +0x07,0x06,0x27,0x22,0x27,0x34,0x21,0x16,0x17,0x06,0x23,0x22,0x27,0x26,0x13,0x33, +0x24,0x33,0x17,0x36,0x35,0x26,0x35,0x26,0x23,0x06,0x07,0x06,0x15,0x25,0x06,0x23, +0x06,0x15,0x17,0x37,0x16,0x17,0x35,0x34,0x27,0x26,0x35,0x26,0x05,0x17,0x15,0x07, +0x26,0x35,0x34,0x37,0x16,0x15,0x14,0x07,0x27,0x35,0x01,0x16,0x33,0x36,0x37,0x26, +0x37,0x06,0x07,0x06,0x2b,0x01,0x26,0x27,0x26,0x27,0x16,0x37,0x16,0x17,0x33,0x35, +0x26,0x05,0x15,0x32,0x3f,0x01,0x22,0x07,0x05,0x15,0x17,0x35,0x25,0x15,0x37,0x35, +0x05,0x15,0x17,0x35,0x33,0x15,0x37,0x27,0x07,0x15,0x37,0x27,0x07,0x15,0x33,0x35, +0x33,0x15,0x33,0x35,0x07,0x15,0x17,0x35,0x17,0x15,0x33,0x35,0x07,0x15,0x33,0x35, +0x05,0x27,0x07,0x15,0x16,0x15,0x16,0x33,0x32,0x37,0x36,0x37,0x26,0x35,0x06,0x25, +0x07,0x16,0x15,0x14,0x17,0x32,0x3f,0x01,0x26,0x23,0x07,0x25,0x07,0x17,0x35,0x07, +0x15,0x17,0x35,0x27,0x15,0x17,0x35,0x17,0x15,0x37,0x35,0x37,0x15,0x37,0x35,0x37, +0x15,0x37,0x35,0x03,0xa7,0x01,0x31,0x92,0x3a,0x65,0x06,0x19,0x06,0xa0,0x2c,0x24, +0x08,0x3f,0x46,0x1a,0x3f,0x59,0xf8,0x3e,0xea,0x46,0x5f,0x4c,0x41,0x06,0x33,0x45, +0xbe,0x4c,0xac,0xaf,0x48,0xd1,0x33,0x2c,0x0e,0x38,0x4c,0x59,0x4c,0xe4,0xfe,0xd0, +0x6c,0x45,0x07,0x46,0x04,0x27,0x21,0x30,0x3c,0x85,0x19,0x0c,0x6b,0x23,0x01,0x07, +0x67,0xfe,0x9a,0x46,0x07,0x1f,0x0b,0x0d,0x0d,0x13,0x0d,0x20,0x13,0x99,0x45,0x65, +0x59,0x7f,0xc4,0x21,0x1a,0x21,0x0d,0x1f,0x19,0x1f,0x06,0x47,0xe0,0x80,0x70,0x26, +0xfe,0xad,0x69,0x14,0x01,0x71,0x39,0x0d,0x3a,0x5e,0x4e,0x24,0x01,0xcf,0xcb,0x06, +0x25,0x60,0x42,0x43,0x02,0xed,0x06,0x01,0x18,0x18,0x66,0x20,0x46,0x07,0x14,0x1c, +0x34,0xf9,0xfc,0x22,0x11,0x0e,0x34,0x2e,0x5f,0x3f,0xf1,0x65,0xcb,0x19,0x02,0x65, +0x0e,0x33,0x26,0x7b,0x45,0x28,0x31,0xfe,0xf5,0x2d,0xd6,0xd9,0x2b,0x06,0x21,0x24, +0x1c,0x4b,0x74,0x38,0xbf,0x0c,0x07,0x2d,0x1c,0x0a,0x14,0x19,0x06,0x09,0x01,0x87, +0x0f,0x03,0x19,0x0d,0x18,0xfe,0x96,0x12,0x01,0x24,0x1a,0xfe,0xd6,0x19,0xcc,0x1b, +0x02,0x47,0x17,0x03,0x73,0x20,0x14,0x19,0xa5,0x19,0x73,0x19,0x4d,0x20,0xfd,0xf9, +0x72,0x07,0x45,0x06,0x0e,0x13,0x46,0x9b,0x22,0x13,0xba,0x03,0x0f,0x12,0xe3,0x32, +0x15,0x0c,0x3e,0x06,0x1f,0x5f,0xfd,0xa3,0x03,0x1d,0x19,0x19,0x70,0x19,0xcc,0x1b, +0x0f,0x19,0x14,0x1a,0x05,0xd8,0xc1,0x6c,0x54,0x45,0x72,0x66,0x5e,0x06,0x35,0x2e, +0x3e,0x3d,0x39,0x7c,0x35,0x22,0x18,0x2d,0x07,0x6c,0x29,0x12,0x64,0x0d,0x12,0x2c, +0x26,0x3e,0x76,0x76,0x5d,0x63,0x63,0x63,0x19,0x57,0x70,0x43,0x2d,0x2b,0x0d,0x0d, +0x64,0x12,0x95,0x07,0x38,0x0d,0x1b,0x42,0x70,0x70,0x3e,0x06,0x57,0x5d,0x6f,0xd8, +0xe6,0x61,0x1d,0xfe,0x78,0x76,0x75,0x50,0x70,0x38,0x32,0x13,0x2c,0x8e,0x44,0xa8, +0x0c,0x5e,0x1e,0x38,0x2c,0x18,0x0d,0x1a,0x5e,0x42,0x24,0x4b,0xbb,0x9c,0x12,0x2b, +0x14,0x0b,0x22,0x31,0xae,0x18,0x52,0x5b,0x2b,0xd2,0x65,0x2a,0xf1,0x3b,0xd0,0x10, +0x47,0xa0,0x05,0x9b,0x57,0x0a,0x51,0x97,0x9b,0x55,0xfe,0x12,0x82,0x05,0x08,0x0a, +0x49,0x26,0x3f,0x09,0x67,0x70,0x13,0xeb,0x6f,0x25,0x19,0x0b,0x05,0x12,0x77,0x0d, +0x5e,0x19,0x53,0x41,0x24,0x0d,0x07,0x9f,0x32,0x0c,0x39,0x69,0x2d,0x35,0x6e,0x30, +0x08,0x32,0xa2,0xfe,0x86,0xc7,0x0e,0xbf,0x44,0x7c,0x26,0xae,0x49,0x16,0x59,0x5e, +0x50,0x77,0x5e,0x25,0x88,0x5c,0x3f,0x3f,0x5c,0x4f,0x57,0x43,0x0d,0x2c,0x05,0x2c, +0x05,0x31,0x0a,0x2f,0x0f,0x32,0x05,0x31,0x31,0x08,0x2f,0x06,0x3d,0x02,0x3b,0x06, +0x37,0x37,0x37,0x37,0x3d,0x33,0x05,0x32,0x0e,0x31,0x38,0x07,0x31,0x31,0x7b,0x05, +0x05,0x13,0x39,0x30,0x38,0x68,0x4e,0x1d,0x25,0x1e,0x62,0x5c,0x44,0x68,0x2c,0x0f, +0x29,0x68,0x3f,0x12,0x05,0xcc,0x31,0x06,0x37,0x49,0x32,0x06,0x31,0x21,0x31,0x07, +0x32,0x18,0x32,0x06,0x32,0x04,0x32,0x05,0x33,0x0a,0x32,0x07,0x31,0x00,0x00,0x01, +0x00,0xac,0x00,0x00,0x06,0x81,0x05,0xd8,0x00,0x26,0x00,0x0b,0x00,0xb8,0x00,0x00, +0x2f,0xb8,0x00,0x11,0x2f,0x30,0x31,0x01,0x32,0x17,0x16,0x15,0x14,0x07,0x01,0x07, +0x14,0x17,0x25,0x32,0x17,0x15,0x14,0x23,0x05,0x22,0x27,0x26,0x3d,0x01,0x34,0x37, +0x00,0x37,0x36,0x35,0x34,0x27,0x23,0x05,0x22,0x27,0x35,0x34,0x37,0x33,0x04,0x42, +0x8f,0x71,0x34,0x7c,0xfd,0x6c,0x0b,0x61,0x03,0x6e,0x4e,0x09,0x69,0xfc,0xa1,0xa1, +0x6c,0x1b,0x8b,0x02,0x6d,0x14,0x0b,0x62,0x0b,0xfc,0xb5,0x39,0x0b,0x62,0x0e,0x05, +0xd8,0x8d,0x4d,0x4f,0x8a,0x62,0xfd,0xa0,0x3e,0x59,0x1a,0xd1,0x61,0x03,0x59,0xc6, +0xae,0x35,0x38,0x18,0x8a,0x6c,0x02,0x37,0x1b,0x1b,0x16,0x50,0x20,0xcc,0x50,0x1e, +0x40,0x0c,0x00,0x06,0x00,0xaa,0x00,0x00,0x06,0x82,0x05,0xd8,0x00,0x11,0x00,0x24, +0x00,0x30,0x00,0x3c,0x00,0x46,0x00,0x58,0x00,0x3f,0xb8,0x00,0x59,0x2f,0xb8,0x00, +0x5a,0x2f,0xb8,0x00,0x04,0xdc,0xb8,0x00,0x59,0x10,0xb8,0x00,0x0d,0xd0,0xb8,0x00, +0x0d,0x2f,0xb8,0x00,0x18,0xdc,0xb8,0x00,0x04,0x10,0xb8,0x00,0x20,0xdc,0x00,0xba, +0x00,0x1c,0x00,0x09,0x00,0x03,0x2b,0xb8,0x00,0x1c,0x10,0xba,0x00,0x00,0x00,0x14, +0x00,0x03,0x2b,0xb8,0x00,0x00,0x10,0x30,0x31,0x01,0x20,0x01,0x16,0x15,0x10,0x05, +0x06,0x2b,0x01,0x20,0x01,0x26,0x3d,0x01,0x10,0x01,0x36,0x05,0x26,0x23,0x20,0x03, +0x06,0x15,0x10,0x05,0x16,0x33,0x20,0x13,0x36,0x3d,0x01,0x02,0x25,0x26,0x01,0x23, +0x22,0x27,0x13,0x16,0x3b,0x01,0x32,0x37,0x13,0x06,0x01,0x06,0x1d,0x01,0x21,0x35, +0x10,0x25,0x36,0x37,0x13,0x06,0x25,0x16,0x17,0x21,0x26,0x27,0x26,0x27,0x13,0x16, +0x01,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x2b,0x01,0x22,0x27,0x26,0x3d,0x01,0x34, +0x37,0x36,0x03,0x89,0x01,0x7f,0x01,0x08,0x72,0xfe,0xc3,0xc2,0xd4,0x20,0xfe,0x84, +0xfe,0xfa,0x63,0x01,0x52,0xb9,0x02,0x1e,0xa6,0xa7,0xfe,0xd4,0xeb,0x7e,0x01,0x17, +0xb2,0xdf,0x01,0x55,0xea,0x59,0x01,0xfe,0xad,0x05,0xfe,0xd4,0x1c,0xa8,0x8d,0xd1, +0x30,0x38,0x08,0x32,0x2e,0xd4,0x8d,0xfe,0xe0,0x5f,0xfe,0x57,0x01,0x1f,0x12,0x13, +0xd2,0x07,0x02,0x86,0x5f,0x03,0xfe,0x56,0x01,0x1f,0x22,0x2b,0xd2,0x7d,0xfe,0x49, +0x52,0x38,0x19,0x44,0x29,0x2e,0x07,0x50,0x39,0x14,0x48,0x27,0x05,0xd8,0xfe,0x8d, +0xaf,0xd6,0xfe,0xb0,0xfd,0x93,0x01,0x83,0xae,0xb2,0x1c,0x01,0x53,0x01,0x02,0x84, +0xac,0x5d,0xfe,0xd9,0xb1,0xc2,0xfe,0xc4,0xe2,0x8a,0x01,0x5a,0x96,0xa6,0x0f,0x01, +0x59,0xe0,0x04,0xfb,0x48,0x59,0x01,0x6f,0x1f,0x1d,0xfe,0x92,0x58,0x03,0x28,0x49, +0x5f,0x05,0x10,0x01,0x20,0xdb,0x0d,0x0c,0xfe,0x92,0x04,0x8f,0x91,0xb0,0x3b,0x2e, +0x32,0x19,0x01,0x6c,0x4f,0xfe,0xcf,0x50,0x25,0x2e,0x47,0x36,0x1f,0x52,0x25,0x26, +0x05,0x49,0x38,0x1c,0x00,0x06,0x00,0x64,0x00,0x00,0x06,0xc8,0x05,0xd8,0x00,0x09, +0x00,0x13,0x00,0x1d,0x00,0x38,0x00,0x50,0x00,0x69,0x00,0x5d,0x00,0xb8,0x00,0x39, +0x2f,0xb8,0x00,0x5c,0x2f,0xb8,0x00,0x20,0x2f,0xb8,0x00,0x22,0x2f,0xb8,0x00,0x29, +0x2f,0xba,0x00,0x57,0x00,0x67,0x00,0x03,0x2b,0xb8,0x00,0x57,0x10,0xba,0x00,0x1e, +0x00,0x20,0x00,0x39,0x11,0x12,0x39,0xba,0x00,0x25,0x00,0x20,0x00,0x39,0x11,0x12, +0x39,0xba,0x00,0x2b,0x00,0x20,0x00,0x39,0x11,0x12,0x39,0xb8,0x00,0x3d,0xd0,0xb8, +0x00,0x3d,0x2f,0xba,0x00,0x43,0x00,0x20,0x00,0x39,0x11,0x12,0x39,0xba,0x00,0x51, +0x00,0x20,0x00,0x39,0x11,0x12,0x39,0x30,0x31,0x01,0x3e,0x01,0x27,0x36,0x37,0x16, +0x06,0x07,0x26,0x03,0x26,0x06,0x07,0x26,0x27,0x36,0x16,0x17,0x06,0x01,0x14,0x16, +0x17,0x06,0x07,0x2e,0x01,0x37,0x16,0x01,0x06,0x23,0x22,0x27,0x26,0x27,0x07,0x06, +0x07,0x06,0x23,0x22,0x27,0x16,0x24,0x37,0x36,0x27,0x37,0x16,0x37,0x17,0x06,0x17, +0x1e,0x01,0x01,0x16,0x17,0x16,0x07,0x33,0x16,0x17,0x16,0x11,0x15,0x2e,0x01,0x23, +0x06,0x07,0x27,0x36,0x27,0x35,0x36,0x37,0x36,0x26,0x01,0x26,0x35,0x34,0x37,0x36, +0x17,0x27,0x26,0x27,0x12,0x25,0x06,0x02,0x17,0x16,0x1f,0x01,0x06,0x17,0x07,0x26, +0x07,0x26,0x06,0x04,0x38,0x44,0x4e,0x07,0x24,0x24,0x0d,0x84,0x55,0x10,0x08,0x45, +0xa8,0x3e,0x21,0x15,0x5d,0xfa,0x4a,0x19,0xfe,0x28,0x5b,0x46,0x03,0x10,0x68,0x79, +0x0c,0x2a,0x03,0xc1,0x6d,0xa6,0x2e,0x32,0xa4,0x5c,0x01,0x3d,0x77,0x5c,0x60,0x7c, +0x80,0x8f,0x01,0x05,0x3a,0x53,0x3f,0x45,0x44,0x3a,0x40,0x40,0x5d,0x3f,0xdc,0xfe, +0xff,0xa2,0x5d,0x31,0x66,0x04,0x69,0x78,0xc3,0x0d,0xd2,0x70,0xb7,0x82,0x46,0x07, +0x46,0xb6,0x54,0x44,0x27,0xfb,0x86,0x04,0x79,0x72,0xc1,0x02,0x2c,0x02,0x11,0x01, +0x14,0xb1,0x34,0x38,0x65,0xbf,0x01,0x4c,0x0c,0x40,0x76,0xaf,0x85,0xb4,0x01,0x91, +0x28,0x96,0x4e,0x0e,0x05,0x72,0xd5,0x25,0x26,0x02,0x26,0x26,0x07,0x2b,0x16,0x1c, +0x46,0x09,0x37,0x21,0xfe,0xea,0x4e,0x8f,0x20,0x26,0x22,0x2e,0xdd,0x5c,0x06,0xfd, +0xb2,0x53,0x06,0x24,0xaa,0x02,0x58,0x45,0x2f,0x4b,0x43,0x5c,0x61,0xa3,0xba,0x2a, +0x30,0x2f,0x27,0xac,0x97,0x72,0x53,0x05,0xb6,0x43,0xd9,0x9f,0xa5,0x0a,0x43,0x82, +0xfe,0xff,0x0a,0x9d,0xb6,0x0a,0x93,0x28,0x52,0x1b,0x4b,0x1f,0x9c,0x70,0xe8,0xfc, +0x46,0x18,0x19,0x95,0xa1,0x7c,0x06,0x02,0x62,0x89,0x01,0x0e,0x70,0x68,0xfe,0xef, +0x63,0x98,0x27,0x52,0x22,0x4a,0x24,0x8e,0x06,0x02,0x95,0x00,0x00,0x17,0x00,0x64, +0xff,0xfc,0x04,0xf6,0x05,0xd1,0x00,0x03,0x00,0x13,0x00,0x19,0x00,0x1d,0x00,0x31, +0x00,0x46,0x00,0x5b,0x00,0x71,0x00,0x8b,0x00,0x95,0x00,0x9a,0x00,0x9f,0x00,0xa4, +0x00,0xa9,0x00,0xae,0x00,0xb3,0x00,0xb8,0x00,0xbd,0x00,0xc2,0x00,0xc7,0x00,0xcc, +0x00,0xd1,0x00,0xfd,0x04,0x11,0xba,0x00,0x47,0x00,0x5e,0x00,0x03,0x2b,0xb8,0x00, +0x47,0x10,0xb8,0x00,0x24,0xdc,0xb8,0x00,0x67,0xdc,0xb8,0x00,0x04,0xd0,0xb8,0x00, +0x04,0x2f,0xba,0x00,0x08,0x00,0x24,0x00,0x67,0x11,0x12,0x39,0xba,0x00,0x09,0x00, +0x24,0x00,0x67,0x11,0x12,0x39,0xba,0x00,0x0a,0x00,0x24,0x00,0x67,0x11,0x12,0x39, +0xba,0x00,0x12,0x00,0x24,0x00,0x67,0x11,0x12,0x39,0xba,0x00,0x14,0x00,0x5e,0x00, +0x47,0x11,0x12,0x39,0xb8,0x00,0x47,0x10,0xb8,0x00,0x1e,0xd0,0xb8,0x00,0xf2,0x10, +0xb8,0x00,0x1f,0xd0,0xb8,0x00,0x71,0x10,0xb8,0x00,0x23,0xd0,0xb8,0x00,0x47,0x10, +0xb8,0x00,0xcb,0xdc,0xb8,0x00,0x26,0xd0,0xb8,0x00,0x26,0x2f,0xba,0x00,0x2a,0x00, +0x5e,0x00,0x47,0x11,0x12,0x39,0xb8,0x00,0x47,0x10,0xb8,0x00,0x32,0xd0,0xb8,0x00, +0xf2,0x10,0xb8,0x00,0x33,0xd0,0xb8,0x00,0x24,0x10,0xb8,0x00,0x34,0xd0,0xb8,0x00, +0x71,0x10,0xb8,0x00,0x35,0xd0,0xb8,0x00,0x5e,0x10,0xb8,0x00,0x37,0xd0,0xb8,0x00, +0x37,0x2f,0xba,0x00,0x3b,0x00,0x5e,0x00,0x47,0x11,0x12,0x39,0xb8,0x00,0xcb,0x10, +0xb8,0x00,0x3d,0xd0,0xb8,0x00,0x3d,0x2f,0xb8,0x00,0x24,0x10,0xb8,0x00,0xaa,0xdc, +0xb8,0x00,0x40,0xd0,0xb8,0x00,0x40,0x2f,0xba,0x00,0x43,0x00,0x24,0x00,0x67,0x11, +0x12,0x39,0xb8,0x00,0x24,0x10,0xb8,0x00,0x49,0xd0,0xb8,0x00,0x71,0x10,0xb8,0x00, +0x4a,0xd0,0xba,0x00,0x50,0x00,0x5e,0x00,0x47,0x11,0x12,0x39,0xb8,0x00,0x67,0x10, +0xb8,0x00,0x55,0xd0,0xb8,0x00,0x55,0x2f,0xba,0x00,0x58,0x00,0x24,0x00,0x67,0x11, +0x12,0x39,0xb8,0x00,0xaa,0x10,0xb8,0x00,0x5a,0xd0,0xb8,0x00,0x5a,0x2f,0xb8,0x00, +0x24,0x10,0xb8,0x00,0x5c,0xd0,0xba,0x00,0x62,0x00,0x5e,0x00,0x47,0x11,0x12,0x39, +0xb8,0x00,0xcb,0x10,0xb8,0x00,0x64,0xd0,0xb8,0x00,0x64,0x2f,0xba,0x00,0x6b,0x00, +0x24,0x00,0x67,0x11,0x12,0x39,0xb8,0x00,0x47,0x10,0xb8,0x00,0x6f,0xd0,0xb8,0x00, +0xf2,0x10,0xb8,0x00,0x70,0xd0,0xb8,0x00,0x47,0x10,0xb8,0x00,0x72,0xd0,0xb8,0x00, +0xf2,0x10,0xb8,0x00,0x73,0xd0,0xb8,0x00,0x24,0x10,0xb8,0x00,0x74,0xd0,0xb8,0x00, +0x71,0x10,0xb8,0x00,0x75,0xd0,0xba,0x00,0x7b,0x00,0x5e,0x00,0x47,0x11,0x12,0x39, +0xba,0x00,0x7c,0x00,0x5e,0x00,0x47,0x11,0x12,0x39,0xba,0x00,0x7d,0x00,0x5e,0x00, +0x47,0x11,0x12,0x39,0xb8,0x00,0x5e,0x10,0xb8,0x00,0x81,0xd0,0xb8,0x00,0x81,0x2f, +0xba,0x00,0x88,0x00,0x24,0x00,0x67,0x11,0x12,0x39,0xb8,0x00,0x67,0x10,0xb8,0x00, +0x8a,0xd0,0xb8,0x00,0x8a,0x2f,0xba,0x00,0x90,0x00,0x5e,0x00,0x47,0x11,0x12,0x39, +0xba,0x00,0x92,0x00,0x5e,0x00,0x47,0x11,0x12,0x39,0xba,0x00,0x9b,0x00,0x24,0x00, +0x67,0x11,0x12,0x39,0xba,0x00,0xa0,0x00,0x24,0x00,0x67,0x11,0x12,0x39,0xba,0x00, +0xa5,0x00,0x24,0x00,0x67,0x11,0x12,0x39,0xba,0x00,0xaf,0x00,0x24,0x00,0x67,0x11, +0x12,0x39,0xba,0x00,0xb1,0x00,0x24,0x00,0x67,0x11,0x12,0x39,0xba,0x00,0xbc,0x00, +0x5e,0x00,0x37,0x11,0x12,0x39,0xba,0x00,0xc1,0x00,0x5e,0x00,0x47,0x11,0x12,0x39, +0xba,0x00,0xc6,0x00,0x5e,0x00,0x47,0x11,0x12,0x39,0xba,0x00,0xce,0x00,0x5e,0x00, +0x47,0x11,0x12,0x39,0xba,0x00,0xd0,0x00,0x5e,0x00,0x47,0x11,0x12,0x39,0xb8,0x00, +0x47,0x10,0xb8,0x00,0xd2,0xd0,0xb8,0x00,0xf2,0x10,0xb8,0x00,0xd3,0xd0,0xb8,0x00, +0x24,0x10,0xb8,0x00,0xd4,0xd0,0xb8,0x00,0x71,0x10,0xb8,0x00,0xd5,0xd0,0xb8,0x00, +0x24,0x10,0xb8,0x00,0xdf,0xd0,0xb8,0x00,0x71,0x10,0xb8,0x00,0xe0,0xd0,0xb8,0x00, +0x47,0x10,0xb8,0x00,0xf5,0xd0,0xb8,0x00,0xf2,0x10,0xb8,0x00,0xf6,0xd0,0x00,0xb8, +0x00,0x92,0x2f,0xb8,0x00,0xe9,0x2f,0xb8,0x00,0x16,0x2f,0xb8,0x00,0x21,0x2f,0xb8, +0x00,0x2f,0x2f,0xba,0x00,0xdb,0x00,0xd7,0x00,0x03,0x2b,0xb8,0x00,0xdb,0x10,0xba, +0x00,0x79,0x00,0x75,0x00,0x03,0x2b,0xb8,0x00,0x79,0x10,0xba,0x00,0x08,0x00,0x75, +0x00,0x79,0x11,0x12,0x39,0xba,0x00,0x09,0x00,0x75,0x00,0x79,0x11,0x12,0x39,0xba, +0x00,0x0a,0x00,0x75,0x00,0x79,0x11,0x12,0x39,0xb8,0x00,0x0c,0xd0,0xb8,0x00,0x0c, +0x2f,0xba,0x00,0x12,0x00,0x75,0x00,0x79,0x11,0x12,0x39,0xba,0x00,0x14,0x00,0x2f, +0x00,0xe9,0x11,0x12,0x39,0xba,0x00,0x1e,0x00,0x2f,0x00,0xe9,0x11,0x12,0x39,0xba, +0x00,0x2a,0x00,0x2f,0x00,0xe9,0x11,0x12,0x39,0xba,0x00,0x3b,0x00,0x2f,0x00,0xe9, +0x11,0x12,0x39,0xba,0x00,0x43,0x00,0x2f,0x00,0xe9,0x11,0x12,0x39,0xb8,0x00,0x75, +0x10,0xb8,0x00,0x50,0xd0,0xb8,0x00,0x50,0x2f,0xba,0x00,0x58,0x00,0x2f,0x00,0xe9, +0x11,0x12,0x39,0xba,0x00,0x62,0x00,0x2f,0x00,0xe9,0x11,0x12,0x39,0xba,0x00,0x6b, +0x00,0x2f,0x00,0xe9,0x11,0x12,0x39,0xb8,0x00,0x75,0x10,0xb8,0x00,0x72,0xd0,0xb8, +0x00,0x72,0x2f,0xba,0x00,0x7b,0x00,0x75,0x00,0x79,0x11,0x12,0x39,0xba,0x00,0x7c, +0x00,0x75,0x00,0x79,0x11,0x12,0x39,0xba,0x00,0x7d,0x00,0x75,0x00,0x79,0x11,0x12, +0x39,0xba,0x00,0x88,0x00,0x2f,0x00,0xe9,0x11,0x12,0x39,0xba,0x00,0x90,0x00,0xd7, +0x00,0xdb,0x11,0x12,0x39,0xba,0x00,0x96,0x00,0xd7,0x00,0xdb,0x11,0x12,0x39,0xba, +0x00,0x9b,0x00,0xd7,0x00,0xdb,0x11,0x12,0x39,0xba,0x00,0xa0,0x00,0xd7,0x00,0xdb, +0x11,0x12,0x39,0xba,0x00,0xa5,0x00,0xd7,0x00,0xdb,0x11,0x12,0x39,0xba,0x00,0xaa, +0x00,0xd7,0x00,0xdb,0x11,0x12,0x39,0xba,0x00,0xaf,0x00,0xd7,0x00,0xdb,0x11,0x12, +0x39,0xba,0x00,0xb1,0x00,0xd7,0x00,0xdb,0x11,0x12,0x39,0xba,0x00,0xb7,0x00,0xd7, +0x00,0xdb,0x11,0x12,0x39,0xba,0x00,0xbc,0x00,0xd7,0x00,0xdb,0x11,0x12,0x39,0xba, +0x00,0xc1,0x00,0xd7,0x00,0xdb,0x11,0x12,0x39,0xba,0x00,0xc6,0x00,0xd7,0x00,0xdb, +0x11,0x12,0x39,0xba,0x00,0xcb,0x00,0xd7,0x00,0xdb,0x11,0x12,0x39,0xba,0x00,0xce, +0x00,0xd7,0x00,0xdb,0x11,0x12,0x39,0xba,0x00,0xd0,0x00,0xd7,0x00,0xdb,0x11,0x12, +0x39,0xba,0x00,0xdf,0x00,0xd7,0x00,0xdb,0x11,0x12,0x39,0xba,0x00,0xf6,0x00,0xd7, +0x00,0xdb,0x11,0x12,0x39,0xb8,0x00,0xdb,0x10,0xb8,0x00,0xf8,0xd0,0xb8,0x00,0xd7, +0x10,0xb8,0x00,0xfc,0xd0,0x30,0x31,0x01,0x06,0x37,0x26,0x17,0x26,0x07,0x06,0x27, +0x37,0x27,0x36,0x17,0x16,0x17,0x06,0x07,0x26,0x27,0x24,0x01,0x06,0x07,0x23,0x26, +0x37,0x03,0x16,0x27,0x26,0x13,0x15,0x06,0x23,0x22,0x27,0x35,0x26,0x37,0x36,0x37, +0x16,0x17,0x06,0x07,0x06,0x04,0x07,0x23,0x26,0x27,0x15,0x27,0x35,0x24,0x27,0x36, +0x37,0x16,0x17,0x06,0x07,0x06,0x04,0x17,0x16,0x07,0x27,0x36,0x27,0x36,0x03,0x15, +0x27,0x35,0x24,0x27,0x36,0x37,0x16,0x17,0x06,0x17,0x06,0x04,0x17,0x06,0x07,0x27, +0x36,0x35,0x36,0x07,0x24,0x27,0x36,0x37,0x16,0x17,0x06,0x15,0x14,0x04,0x17,0x06, +0x07,0x26,0x27,0x36,0x27,0x26,0x27,0x15,0x27,0x13,0x15,0x27,0x35,0x24,0x37,0x36, +0x37,0x36,0x17,0x07,0x17,0x06,0x27,0x26,0x07,0x06,0x04,0x17,0x06,0x07,0x26,0x27, +0x24,0x27,0x36,0x01,0x14,0x1e,0x01,0x33,0x26,0x37,0x22,0x0e,0x01,0x05,0x16,0x17, +0x37,0x26,0x27,0x16,0x17,0x37,0x26,0x27,0x16,0x17,0x37,0x26,0x27,0x16,0x07,0x37, +0x26,0x27,0x16,0x07,0x17,0x36,0x27,0x06,0x07,0x17,0x36,0x25,0x17,0x36,0x37,0x06, +0x07,0x17,0x36,0x37,0x06,0x07,0x17,0x36,0x37,0x06,0x1f,0x01,0x26,0x37,0x06,0x17, +0x37,0x26,0x37,0x06,0x17,0x37,0x26,0x27,0x06,0x17,0x15,0x27,0x35,0x26,0x07,0x20, +0x27,0x36,0x25,0x16,0x17,0x16,0x33,0x35,0x26,0x27,0x2e,0x01,0x35,0x34,0x3e,0x01, +0x33,0x32,0x1e,0x01,0x15,0x14,0x06,0x07,0x06,0x07,0x33,0x14,0x23,0x15,0x36,0x37, +0x04,0x17,0x06,0x21,0x26,0x03,0x57,0x11,0x3d,0x0a,0x79,0x0a,0x2f,0x5f,0x49,0x5b, +0x6c,0x2a,0x4f,0xcc,0x0d,0x02,0x8d,0x46,0x9d,0x01,0x17,0xfe,0x83,0x5f,0x1f,0x0f, +0x01,0x56,0x68,0x42,0x15,0x22,0xef,0x0b,0x1a,0x22,0x03,0xaf,0x01,0x04,0x40,0x2e, +0x2c,0x3c,0x01,0x03,0x01,0x39,0x02,0x0f,0x1a,0x74,0x4a,0xfe,0xe8,0x04,0x02,0x80, +0x34,0x56,0xaa,0x04,0x05,0x01,0xb5,0x06,0x04,0x74,0x31,0x50,0x0d,0x01,0x51,0x4a, +0xfe,0x93,0x03,0x05,0x71,0x4d,0x69,0xdb,0x0e,0x0a,0x02,0x76,0x02,0x05,0x96,0x68, +0xa3,0x02,0xff,0xfe,0xf3,0x05,0x01,0x70,0x48,0x49,0xa3,0x02,0x15,0x03,0x04,0xae, +0x21,0x3a,0xb4,0x05,0x02,0xbb,0x4a,0x4a,0x4a,0xfe,0x80,0x01,0x0d,0xcd,0x42,0x37, +0x6d,0x5c,0x4a,0x5f,0x2f,0x0a,0x04,0x02,0xd6,0x06,0x07,0xae,0x3f,0x6f,0x01,0x07, +0x02,0x0c,0xfe,0x76,0x12,0x21,0x12,0x1e,0x1e,0x11,0x22,0x12,0x01,0xba,0x74,0x2c, +0x1b,0x60,0x97,0x73,0x26,0x2a,0x5f,0x7e,0x50,0x11,0x31,0x3e,0x81,0x35,0x01,0x3d, +0x27,0x67,0x03,0x19,0x3d,0x02,0x40,0x32,0x34,0x3c,0x31,0xfd,0x0d,0x1b,0x2d,0x73, +0x5b,0x2c,0x2a,0x26,0x73,0x64,0x14,0x31,0x11,0x50,0x54,0x10,0x3e,0x02,0x35,0x4a, +0x40,0x3d,0x19,0x03,0x29,0x6a,0x3c,0x34,0x32,0x07,0xeb,0x4a,0x43,0x7f,0xfe,0xf5, +0x59,0x54,0x01,0x5f,0x17,0x59,0x02,0x01,0x03,0x02,0x14,0x17,0x17,0x29,0x15,0x15, +0x29,0x17,0x16,0x14,0x03,0x03,0x01,0x01,0x58,0x18,0x01,0x5e,0x54,0x59,0xfe,0xf5, +0x7b,0x04,0x20,0x23,0x18,0x14,0x6d,0x37,0x0b,0x22,0x0f,0x17,0x19,0x4a,0x0e,0x04, +0x7d,0x3e,0x20,0x11,0x09,0x14,0xfc,0xce,0x22,0x3c,0x48,0x23,0x03,0xa6,0x1a,0x25, +0x09,0xfc,0x2d,0x38,0x1a,0x38,0x29,0x1e,0x37,0x30,0x18,0x0d,0x06,0x15,0x13,0x2a, +0x37,0x66,0x38,0xad,0x5a,0x0d,0x5c,0x2b,0x48,0x44,0x20,0x13,0x09,0x19,0x26,0x2b, +0x3e,0x48,0x31,0x0e,0x0b,0x14,0x24,0x17,0x01,0x99,0x8c,0x0d,0x89,0x26,0x62,0x35, +0x16,0x14,0x07,0x10,0x20,0x34,0x43,0x55,0x45,0x20,0x1b,0x27,0x19,0x28,0xa4,0x21, +0x60,0x39,0x1e,0x0c,0x07,0x21,0x2c,0x28,0x4d,0x54,0x45,0x15,0x0f,0x0b,0x1f,0x2b, +0x1f,0x1d,0x85,0x0c,0x02,0x04,0x7f,0x08,0x7d,0x15,0x72,0x7d,0x04,0x04,0x41,0x18, +0x17,0x0f,0x22,0x0b,0x37,0x2c,0x29,0x66,0x5b,0x14,0x10,0x0f,0x1c,0x34,0x1f,0x02, +0x66,0x12,0x20,0x11,0x41,0x44,0x11,0x20,0x3c,0x40,0x30,0x26,0x39,0x15,0x63,0x3f, +0x22,0x56,0x2b,0x80,0x47,0x13,0x6f,0x4d,0x93,0x4b,0x08,0x7e,0x61,0x9c,0x47,0x0b, +0x84,0x67,0x89,0x39,0x19,0x73,0x0b,0x26,0x30,0x40,0x11,0x6b,0x22,0x3f,0x63,0x2a, +0x89,0x13,0x47,0x80,0x45,0x89,0x08,0x4b,0x93,0x58,0x8d,0x0b,0x47,0x9c,0x6a,0x74, +0x19,0x39,0x89,0x68,0xb9,0xce,0x06,0xc2,0x4e,0x26,0xa5,0x5c,0x06,0x36,0x1e,0x01, +0x18,0x01,0x02,0x0a,0x27,0x16,0x15,0x27,0x16,0x16,0x27,0x15,0x16,0x27,0x0a,0x02, +0x01,0x01,0x16,0x1e,0x36,0x06,0x5c,0xa5,0x25,0x00,0x00,0x02,0x00,0xaa,0x00,0x00, +0x05,0x4e,0x05,0xd9,0x00,0x07,0x00,0x24,0x00,0x91,0xb8,0x00,0x25,0x2f,0xb8,0x00, +0x0a,0xd0,0xb8,0x00,0x0a,0x2f,0xb8,0x00,0x08,0xdc,0x41,0x03,0x00,0xff,0x00,0x08, +0x00,0x01,0x5d,0xb8,0x00,0x00,0xdc,0x41,0x03,0x00,0xff,0x00,0x00,0x00,0x01,0x5d, +0xb8,0x00,0x0a,0x10,0xb8,0x00,0x04,0xdc,0xb8,0x00,0x00,0x10,0xb8,0x00,0x0e,0xdc, +0xb8,0x00,0x08,0x10,0xb8,0x00,0x10,0xdc,0xb8,0x00,0x18,0xd0,0xba,0x00,0x1a,0x00, +0x00,0x00,0x0e,0x11,0x12,0x39,0xba,0x00,0x1b,0x00,0x0a,0x00,0x08,0x11,0x12,0x39, +0xb8,0x00,0x08,0x10,0xb8,0x00,0x1d,0xd0,0xb8,0x00,0x0e,0x10,0xb8,0x00,0x26,0xdc, +0x00,0xb8,0x00,0x1a,0x2f,0xba,0x00,0x0c,0x00,0x02,0x00,0x03,0x2b,0xb8,0x00,0x0c, +0x10,0xba,0x00,0x11,0x00,0x16,0x00,0x03,0x2b,0xb8,0x00,0x11,0x10,0xb8,0x00,0x08, +0xd0,0xb8,0x00,0x16,0x10,0xb8,0x00,0x1e,0xd0,0x30,0x31,0x01,0x26,0x27,0x06,0x07, +0x16,0x17,0x36,0x07,0x26,0x27,0x36,0x37,0x16,0x17,0x16,0x07,0x33,0x32,0x37,0x11, +0x26,0x07,0x23,0x11,0x14,0x17,0x21,0x36,0x35,0x11,0x23,0x26,0x07,0x11,0x16,0x33, +0x03,0x79,0x02,0x79,0x79,0x02,0x08,0x73,0x7e,0xc8,0x77,0x0c,0x03,0xca,0xca,0x03, +0x05,0x88,0xa3,0xb5,0xae,0xac,0xb6,0xa4,0x63,0xfe,0xa6,0x63,0xa8,0xb6,0xac,0xae, +0xb5,0x04,0xde,0xb1,0x02,0x02,0xb1,0x8e,0x71,0x5a,0x72,0x65,0xb8,0xf3,0x02,0x02, +0xf3,0xc2,0x5b,0x63,0xfe,0xf7,0x37,0x01,0xfe,0x0c,0xb5,0xae,0xae,0xb5,0x01,0xf4, +0x01,0x37,0x01,0x09,0x63,0x00,0x00,0x03,0x00,0xaa,0xff,0xfd,0x04,0x88,0x05,0xd9, +0x00,0x03,0x00,0x20,0x00,0x2c,0x01,0x0b,0xba,0x00,0x21,0x00,0x17,0x00,0x03,0x2b, +0xb8,0x00,0x21,0x10,0xba,0x00,0x10,0x00,0x22,0x00,0x03,0x2b,0xb8,0x00,0x10,0x10, +0xb8,0x00,0x02,0xd0,0xb8,0x00,0x02,0x2f,0xb8,0x00,0x21,0x10,0xb8,0x00,0x19,0xdc, +0xb8,0x00,0x04,0xd0,0xb8,0x00,0x04,0x2f,0xb8,0x00,0x16,0x10,0xb8,0x00,0x05,0xd0, +0xb8,0x00,0x05,0x2f,0xb8,0x00,0x10,0x10,0xb8,0x00,0x06,0xd0,0xb8,0x00,0x10,0x10, +0xb8,0x00,0x0a,0xd0,0xb8,0x00,0x19,0x10,0xb8,0x00,0x11,0xdc,0xb8,0x00,0x10,0x10, +0xb8,0x00,0x13,0xd0,0xb8,0x00,0x13,0x2f,0xb8,0x00,0x19,0x10,0xb8,0x00,0x15,0xd0, +0xb8,0x00,0x15,0x2f,0xb8,0x00,0x16,0x10,0xb8,0x00,0x1a,0xd0,0xb8,0x00,0x19,0x10, +0xb8,0x00,0x1d,0xd0,0xb8,0x00,0x1d,0x2f,0xb8,0x00,0x16,0x10,0xb8,0x00,0x1e,0xd0, +0xb8,0x00,0x1e,0x2f,0xb8,0x00,0x22,0x10,0xb8,0x00,0x26,0xd0,0xb8,0x00,0x21,0x10, +0xb8,0x00,0x28,0xd0,0x00,0xb8,0x00,0x14,0x2f,0xba,0x00,0x04,0x00,0x00,0x00,0x03, +0x2b,0xb8,0x00,0x04,0x10,0xba,0x00,0x02,0x00,0x0a,0x00,0x03,0x2b,0xb8,0x00,0x02, +0x10,0xba,0x00,0x0c,0x00,0x26,0x00,0x03,0x2b,0xb8,0x00,0x0c,0x10,0xba,0x00,0x24, +0x00,0x0e,0x00,0x03,0x2b,0xb8,0x00,0x24,0x10,0xb8,0x00,0x00,0x10,0xb8,0x00,0x05, +0xdc,0xb8,0x00,0x04,0x10,0xb8,0x00,0x07,0xd0,0xb8,0x00,0x0e,0x10,0xb8,0x00,0x1a, +0xd0,0xb8,0x00,0x0c,0x10,0xb8,0x00,0x1c,0xd0,0xb8,0x00,0x0a,0x10,0xb8,0x00,0x1e, +0xd0,0xb8,0x00,0x26,0x10,0xb8,0x00,0x29,0xd0,0xb8,0x00,0x24,0x10,0xb8,0x00,0x2b, +0xd0,0x30,0x31,0x01,0x15,0x33,0x35,0x27,0x35,0x33,0x15,0x33,0x15,0x23,0x15,0x33, +0x05,0x15,0x21,0x11,0x17,0x15,0x27,0x03,0x23,0x03,0x27,0x35,0x17,0x11,0x21,0x35, +0x21,0x35,0x23,0x35,0x13,0x33,0x11,0x21,0x35,0x21,0x35,0x23,0x15,0x21,0x15,0x21, +0x02,0x2d,0xca,0xb7,0xab,0x7d,0x7d,0x09,0x01,0x94,0xfe,0x63,0x8f,0x88,0x01,0xb1, +0x01,0x86,0x86,0xfe,0x6b,0x01,0x96,0x76,0xa4,0x47,0x01,0x0c,0xfe,0xf4,0x47,0xfe, +0xf5,0x01,0x0b,0x05,0x40,0x3c,0x3c,0x33,0x66,0x66,0xa2,0x58,0x01,0xaf,0xfd,0xe8, +0x8b,0x9c,0x85,0xfe,0xee,0x01,0xbc,0x86,0x9b,0x82,0x01,0x71,0xb0,0x58,0xa2,0xfc, +0xcf,0x01,0xbb,0x47,0x63,0x63,0x47,0x00,0x00,0x02,0x00,0xaa,0x00,0x00,0x05,0x9b, +0x07,0x4a,0x00,0x08,0x00,0x21,0x00,0xbd,0xb8,0x00,0x22,0x2f,0xb8,0x00,0x23,0x2f, +0xb8,0x00,0x22,0x10,0xb8,0x00,0x09,0xd0,0xb8,0x00,0x09,0x2f,0xb8,0x00,0x13,0xdc, +0xb8,0x00,0x00,0xd0,0xb8,0x00,0x23,0x10,0xb8,0x00,0x0e,0xdc,0xb8,0x00,0x05,0xdc, +0x41,0x05,0x00,0xea,0x00,0x05,0x00,0xfa,0x00,0x05,0x00,0x02,0x5d,0x41,0x1b,0x00, +0x19,0x00,0x05,0x00,0x29,0x00,0x05,0x00,0x39,0x00,0x05,0x00,0x49,0x00,0x05,0x00, +0x59,0x00,0x05,0x00,0x69,0x00,0x05,0x00,0x79,0x00,0x05,0x00,0x89,0x00,0x05,0x00, +0x99,0x00,0x05,0x00,0xa9,0x00,0x05,0x00,0xb9,0x00,0x05,0x00,0xc9,0x00,0x05,0x00, +0xd9,0x00,0x05,0x00,0x0d,0x5d,0xb8,0x00,0x15,0xd0,0xb8,0x00,0x15,0x2f,0xb8,0x00, +0x05,0x10,0xb8,0x00,0x17,0xd0,0xb8,0x00,0x17,0x2f,0xb8,0x00,0x13,0x10,0xb8,0x00, +0x19,0xd0,0xb8,0x00,0x19,0x2f,0xb8,0x00,0x09,0x10,0xb8,0x00,0x1b,0xd0,0x00,0xb8, +0x00,0x17,0x2f,0xb8,0x00,0x1a,0x2f,0xb8,0x00,0x1d,0x2f,0xba,0x00,0x0a,0x00,0x00, +0x00,0x03,0x2b,0xb8,0x00,0x0a,0x10,0xba,0x00,0x02,0x00,0x11,0x00,0x03,0x2b,0xb8, +0x00,0x02,0x10,0x30,0x31,0x01,0x11,0x33,0x32,0x36,0x35,0x34,0x26,0x23,0x01,0x11, +0x21,0x32,0x16,0x15,0x14,0x06,0x2b,0x01,0x11,0x37,0x33,0x09,0x01,0x23,0x03,0x11, +0x23,0x11,0x03,0x23,0x09,0x01,0x33,0x03,0x28,0xd1,0x74,0x7f,0x7f,0x74,0xfe,0x8a, +0x01,0x76,0xce,0xd4,0xd4,0xce,0xd1,0xda,0xdc,0xfe,0x67,0x01,0xae,0xdb,0xef,0xa6, +0xfe,0xdb,0x01,0xb7,0xfe,0x6e,0xdc,0x06,0xa7,0xfd,0xd8,0x90,0x84,0x84,0x90,0xfc, +0x04,0x04,0x9f,0xdf,0xd8,0xd9,0xde,0xfe,0xcd,0xed,0xfe,0x42,0xfe,0x28,0x01,0x06, +0xfe,0xfa,0x01,0x17,0xfe,0xe9,0x01,0xe1,0x01,0xb5,0x00,0x01,0x00,0xaa,0x00,0x00, +0x03,0xb2,0x05,0xd7,0x00,0x1f,0x00,0x73,0xba,0x00,0x0f,0x00,0x12,0x00,0x03,0x2b, +0xb8,0x00,0x0f,0x10,0xb8,0x00,0x02,0xd0,0xb8,0x00,0x0f,0x10,0xb8,0x00,0x08,0xd0, +0xb8,0x00,0x12,0x10,0xb8,0x00,0x18,0xd0,0xb8,0x00,0x12,0x10,0xb8,0x00,0x1e,0xd0, +0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x02,0x2f,0xb8,0x00,0x10,0x2f,0xb8,0x00,0x12, +0x2f,0xba,0x00,0x04,0x00,0x07,0x00,0x03,0x2b,0xb8,0x00,0x04,0x10,0xba,0x00,0x0a, +0x00,0x0d,0x00,0x03,0x2b,0xb8,0x00,0x0a,0x10,0xb8,0x00,0x0d,0x10,0xb8,0x00,0x13, +0xd0,0xb8,0x00,0x0a,0x10,0xb8,0x00,0x17,0xd0,0xb8,0x00,0x07,0x10,0xb8,0x00,0x19, +0xd0,0xb8,0x00,0x04,0x10,0xb8,0x00,0x1d,0xd0,0x30,0x31,0x01,0x33,0x17,0x15,0x33, +0x17,0x15,0x07,0x23,0x15,0x21,0x17,0x15,0x07,0x21,0x11,0x07,0x23,0x27,0x11,0x21, +0x27,0x35,0x37,0x21,0x35,0x23,0x27,0x35,0x37,0x33,0x35,0x01,0xd7,0xab,0x06,0xa5, +0x05,0x05,0xa5,0x01,0x24,0x06,0x06,0xfe,0xdc,0x06,0xab,0x06,0xfe,0xde,0x05,0x05, +0x01,0x22,0xa3,0x05,0x05,0xa3,0x05,0xd7,0x05,0x9b,0x06,0x94,0x06,0x71,0x06,0x98, +0x05,0xfc,0x82,0x05,0x05,0x03,0x7e,0x05,0x98,0x06,0x71,0x06,0x94,0x06,0x9b,0x00, +0x00,0x01,0x00,0xaa,0xff,0xfd,0x06,0x82,0x05,0xd5,0x00,0x2b,0x00,0x93,0xba,0x00, +0x1e,0x00,0x21,0x00,0x03,0x2b,0xb8,0x00,0x1e,0x10,0xba,0x00,0x12,0x00,0x1b,0x00, +0x03,0x2b,0xb8,0x00,0x12,0x10,0xba,0x00,0x0b,0x00,0x08,0x00,0x03,0x2b,0xb8,0x00, +0x0b,0x10,0xb8,0x00,0x12,0x10,0xb8,0x00,0x05,0xd0,0xb8,0x00,0x08,0x10,0xb8,0x00, +0x0f,0xd0,0xb8,0x00,0x1e,0x10,0xb8,0x00,0x25,0xd0,0xb8,0x00,0x1b,0x10,0xb8,0x00, +0x27,0xd0,0xb8,0x00,0x0b,0x10,0xb8,0x00,0x2d,0xdc,0x00,0xba,0x00,0x13,0x00,0x16, +0x00,0x03,0x2b,0xb8,0x00,0x13,0x10,0xba,0x00,0x01,0x00,0x04,0x00,0x03,0x2b,0xb8, +0x00,0x01,0x10,0xba,0x00,0x07,0x00,0x10,0x00,0x03,0x2b,0xb8,0x00,0x07,0x10,0xb8, +0x00,0x13,0x10,0xb8,0x00,0x1a,0xd0,0xb8,0x00,0x10,0x10,0xb8,0x00,0x1c,0xd0,0xb8, +0x00,0x07,0x10,0xb8,0x00,0x26,0xd0,0xb8,0x00,0x04,0x10,0xb8,0x00,0x28,0xd0,0x30, +0x31,0x01,0x21,0x17,0x15,0x07,0x23,0x11,0x21,0x35,0x37,0x33,0x17,0x11,0x07,0x23, +0x27,0x35,0x21,0x11,0x33,0x17,0x15,0x07,0x21,0x27,0x35,0x37,0x33,0x11,0x21,0x15, +0x07,0x23,0x27,0x11,0x37,0x33,0x17,0x15,0x21,0x11,0x23,0x27,0x35,0x02,0xbb,0x01, +0xb6,0x06,0x06,0xa0,0x02,0x3b,0x06,0x6a,0x06,0x06,0x6a,0x06,0xfd,0xc5,0xa0,0x06, +0x06,0xfe,0x4a,0x06,0x06,0xaa,0xfd,0xc4,0x06,0x73,0x06,0x06,0x73,0x06,0x02,0x3c, +0xaa,0x06,0x05,0xd5,0x06,0x77,0x06,0xfd,0xd1,0xa1,0x06,0x06,0xfe,0x49,0x06,0x06, +0x9e,0xfd,0xc8,0x06,0x6a,0x06,0x06,0x6a,0x06,0x02,0x38,0x9e,0x06,0x06,0x01,0xb7, +0x06,0x06,0xa1,0x02,0x2f,0x06,0x77,0x00,0x00,0x02,0x00,0xb2,0x00,0x00,0x06,0x7b, +0x05,0xd8,0x00,0x1b,0x00,0x2c,0x00,0x69,0xba,0x00,0x09,0x00,0x18,0x00,0x03,0x2b, +0xb8,0x00,0x09,0x10,0x41,0x1b,0x00,0x16,0x00,0x09,0x00,0x26,0x00,0x09,0x00,0x36, +0x00,0x09,0x00,0x46,0x00,0x09,0x00,0x56,0x00,0x09,0x00,0x66,0x00,0x09,0x00,0x76, +0x00,0x09,0x00,0x86,0x00,0x09,0x00,0x96,0x00,0x09,0x00,0xa6,0x00,0x09,0x00,0xb6, +0x00,0x09,0x00,0xc6,0x00,0x09,0x00,0xd6,0x00,0x09,0x00,0x0d,0x5d,0x41,0x05,0x00, +0xe5,0x00,0x09,0x00,0xf5,0x00,0x09,0x00,0x02,0x5d,0x00,0xb8,0x00,0x11,0x2f,0xb8, +0x00,0x13,0x2f,0xba,0x00,0x01,0x00,0x05,0x00,0x03,0x2b,0xb8,0x00,0x01,0x10,0x30, +0x31,0x01,0x33,0x32,0x17,0x23,0x27,0x20,0x03,0x06,0x15,0x10,0x05,0x16,0x33,0x25, +0x15,0x06,0x07,0x06,0x2b,0x01,0x20,0x03,0x26,0x35,0x10,0x25,0x36,0x01,0x33,0x32, +0x17,0x33,0x15,0x07,0x16,0x15,0x27,0x07,0x23,0x35,0x37,0x27,0x35,0x33,0x03,0x9c, +0x15,0xdd,0xd2,0x06,0xef,0xfe,0xa9,0xd1,0x5e,0x01,0x56,0x88,0x9c,0x01,0x01,0xa0, +0x8a,0x51,0x36,0x1c,0xfe,0x91,0xee,0x84,0x01,0x86,0xac,0x02,0x7f,0x03,0x06,0x3e, +0xd1,0xa8,0x41,0xb1,0xa9,0x03,0x42,0xac,0xd5,0x05,0xd8,0x92,0x36,0xfe,0xca,0x9e, +0xb9,0xfe,0x92,0xd6,0x47,0x32,0x06,0x6b,0x1a,0x0b,0x01,0x3e,0xc0,0xe9,0x01,0xaa, +0xee,0x59,0xfe,0x33,0xc9,0x03,0x7e,0xbb,0x11,0x7c,0x7c,0x03,0xc9,0x7e,0x03,0x00, +0x00,0x04,0x00,0xaa,0x00,0x00,0x06,0x83,0x05,0xd9,0x00,0x16,0x00,0x4f,0x00,0x62, +0x00,0x73,0x02,0x7f,0xba,0x00,0x55,0x00,0x5d,0x00,0x03,0x2b,0xb8,0x00,0x55,0x10, +0xba,0x00,0x48,0x00,0x42,0x00,0x03,0x2b,0xb8,0x00,0x48,0x10,0xba,0x00,0x1a,0x00, +0x13,0x00,0x03,0x2b,0xb8,0x00,0x1a,0x10,0xba,0x00,0x25,0x00,0x20,0x00,0x03,0x2b, +0xb8,0x00,0x25,0x10,0xba,0x00,0x68,0x00,0x71,0x00,0x03,0x2b,0xb8,0x00,0x68,0x10, +0x41,0x05,0x00,0xea,0x00,0x13,0x00,0xfa,0x00,0x13,0x00,0x02,0x5d,0x41,0x1b,0x00, +0x19,0x00,0x13,0x00,0x29,0x00,0x13,0x00,0x39,0x00,0x13,0x00,0x49,0x00,0x13,0x00, +0x59,0x00,0x13,0x00,0x69,0x00,0x13,0x00,0x79,0x00,0x13,0x00,0x89,0x00,0x13,0x00, +0x99,0x00,0x13,0x00,0xa9,0x00,0x13,0x00,0xb9,0x00,0x13,0x00,0xc9,0x00,0x13,0x00, +0xd9,0x00,0x13,0x00,0x0d,0x5d,0xba,0x00,0x04,0x00,0x13,0x00,0x1a,0x11,0x12,0x39, +0xba,0x00,0x0a,0x00,0x5d,0x00,0x68,0x11,0x12,0x39,0xba,0x00,0x11,0x00,0x13,0x00, +0x1a,0x11,0x12,0x39,0xba,0x00,0x18,0x00,0x13,0x00,0x1a,0x11,0x12,0x39,0xb8,0x00, +0x1a,0x10,0xb8,0x00,0x1c,0xd0,0xb8,0x00,0x1c,0x2f,0xba,0x00,0x1e,0x00,0x5d,0x00, +0x68,0x11,0x12,0x39,0xba,0x00,0x23,0x00,0x5d,0x00,0x68,0x11,0x12,0x39,0xba,0x00, +0x2b,0x00,0x5d,0x00,0x68,0x11,0x12,0x39,0xba,0x00,0x2f,0x00,0x20,0x00,0x25,0x11, +0x12,0x39,0xba,0x00,0x34,0x00,0x13,0x00,0x1a,0x11,0x12,0x39,0x41,0x1b,0x00,0x16, +0x00,0x48,0x00,0x26,0x00,0x48,0x00,0x36,0x00,0x48,0x00,0x46,0x00,0x48,0x00,0x56, +0x00,0x48,0x00,0x66,0x00,0x48,0x00,0x76,0x00,0x48,0x00,0x86,0x00,0x48,0x00,0x96, +0x00,0x48,0x00,0xa6,0x00,0x48,0x00,0xb6,0x00,0x48,0x00,0xc6,0x00,0x48,0x00,0xd6, +0x00,0x48,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x48,0x00,0xf5,0x00,0x48,0x00, +0x02,0x5d,0xba,0x00,0x39,0x00,0x42,0x00,0x48,0x11,0x12,0x39,0xba,0x00,0x3d,0x00, +0x5d,0x00,0x68,0x11,0x12,0x39,0xba,0x00,0x46,0x00,0x5d,0x00,0x68,0x11,0x12,0x39, +0xb8,0x00,0x13,0x10,0xb8,0x00,0x4b,0xd0,0xb8,0x00,0x4b,0x2f,0xb8,0x00,0x13,0x10, +0xb8,0x00,0x4c,0xd0,0xb8,0x00,0x4c,0x2f,0xb8,0x00,0x13,0x10,0xb8,0x00,0x4e,0xd0, +0xb8,0x00,0x4e,0x2f,0xba,0x00,0x51,0x00,0x5d,0x00,0x68,0x11,0x12,0x39,0x41,0x1b, +0x00,0x16,0x00,0x55,0x00,0x26,0x00,0x55,0x00,0x36,0x00,0x55,0x00,0x46,0x00,0x55, +0x00,0x56,0x00,0x55,0x00,0x66,0x00,0x55,0x00,0x76,0x00,0x55,0x00,0x86,0x00,0x55, +0x00,0x96,0x00,0x55,0x00,0xa6,0x00,0x55,0x00,0xb6,0x00,0x55,0x00,0xc6,0x00,0x55, +0x00,0xd6,0x00,0x55,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x55,0x00,0xf5,0x00, +0x55,0x00,0x02,0x5d,0xba,0x00,0x59,0x00,0x42,0x00,0x48,0x11,0x12,0x39,0xb8,0x00, +0x68,0x10,0xb8,0x00,0x75,0xdc,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x08,0x2f,0xb8, +0x00,0x0a,0x2f,0xb8,0x00,0x34,0x2f,0xba,0x00,0x06,0x00,0x0f,0x00,0x03,0x2b,0xb8, +0x00,0x06,0x10,0xb8,0x00,0x02,0xd0,0xba,0x00,0x04,0x00,0x34,0x00,0x00,0x11,0x12, +0x39,0xba,0x00,0x11,0x00,0x0f,0x00,0x06,0x11,0x12,0x39,0xb8,0x00,0x0f,0x10,0xb8, +0x00,0x13,0xd0,0xba,0x00,0x18,0x00,0x34,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x1e, +0x00,0x34,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x23,0x00,0x34,0x00,0x00,0x11,0x12, +0x39,0xba,0x00,0x2b,0x00,0x34,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x2f,0x00,0x34, +0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x39,0x00,0x34,0x00,0x00,0x11,0x12,0x39,0xba, +0x00,0x3d,0x00,0x34,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x46,0x00,0x34,0x00,0x00, +0x11,0x12,0x39,0xba,0x00,0x4b,0x00,0x34,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x51, +0x00,0x34,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x59,0x00,0x34,0x00,0x00,0x11,0x12, +0x39,0x30,0x31,0x01,0x16,0x33,0x32,0x37,0x16,0x33,0x32,0x37,0x35,0x33,0x17,0x15, +0x14,0x0f,0x01,0x22,0x27,0x06,0x23,0x22,0x27,0x34,0x17,0x33,0x16,0x17,0x32,0x15, +0x03,0x33,0x24,0x11,0x34,0x27,0x35,0x16,0x11,0x15,0x10,0x07,0x06,0x07,0x15,0x16, +0x3b,0x01,0x15,0x06,0x2b,0x01,0x22,0x07,0x27,0x23,0x22,0x27,0x35,0x33,0x32,0x37, +0x35,0x27,0x26,0x27,0x26,0x35,0x10,0x3f,0x01,0x15,0x06,0x15,0x10,0x05,0x35,0x03, +0x35,0x37,0x32,0x25,0x15,0x06,0x07,0x06,0x15,0x14,0x17,0x15,0x23,0x26,0x27,0x26, +0x35,0x10,0x25,0x36,0x33,0x34,0x25,0x16,0x17,0x16,0x1d,0x01,0x14,0x07,0x06,0x07, +0x34,0x37,0x36,0x3d,0x01,0x10,0x25,0x02,0xea,0x1b,0x40,0x2e,0x21,0x25,0x2c,0x42, +0x15,0x05,0x02,0x45,0x1e,0x2c,0x23,0x21,0x2d,0x51,0x10,0xb2,0x02,0x32,0x22,0x08, +0x0a,0x02,0x01,0x24,0x6e,0xde,0xe0,0x4c,0x2f,0x50,0xa5,0x1a,0x75,0x48,0x81,0x16, +0x45,0x44,0x90,0x38,0x88,0x3c,0x79,0x56,0x58,0x7d,0x24,0x63,0xc7,0x21,0x75,0x01, +0x26,0x12,0x03,0x23,0xff,0x00,0x5f,0x41,0x86,0x92,0x02,0x9e,0x5d,0x26,0x01,0x0c, +0x79,0x23,0x02,0x7b,0x84,0x82,0xb0,0xa6,0x59,0x1f,0x36,0x5c,0xfe,0xd6,0x05,0xd9, +0x4b,0x30,0x30,0x44,0x07,0x28,0x05,0x3b,0x1b,0x04,0x2c,0x2c,0x65,0x22,0x87,0x40, +0x0b,0x05,0xfc,0x20,0xe4,0x01,0x70,0xc2,0xcf,0x03,0xd7,0xfe,0xeb,0x24,0xfe,0xf1, +0xdd,0x42,0x16,0x05,0x28,0x05,0x21,0x63,0x63,0x1c,0x05,0x2a,0x03,0x40,0x72,0x4a, +0xb1,0xb1,0x01,0x01,0xe6,0x1f,0x05,0xc0,0xe2,0xfe,0xa7,0xf5,0x02,0x03,0x26,0x16, +0xa9,0x2a,0x06,0x45,0x63,0xcc,0xef,0xe9,0xd6,0x02,0x4a,0xe9,0x6b,0x67,0x01,0x0c, +0xcd,0x46,0x04,0x02,0x1e,0x70,0xb7,0xd8,0x2f,0xd4,0xb6,0x51,0x06,0x07,0x52,0xaf, +0xbf,0x02,0x01,0x6d,0xf4,0x00,0x00,0x03,0x00,0xaa,0x00,0x00,0x05,0x05,0x05,0xd9, +0x00,0x54,0x00,0x5f,0x00,0x67,0x02,0x1b,0xba,0x00,0x46,0x00,0x40,0x00,0x03,0x2b, +0xb8,0x00,0x46,0x10,0xba,0x00,0x55,0x00,0x4f,0x00,0x03,0x2b,0xb8,0x00,0x55,0x10, +0xba,0x00,0x62,0x00,0x5a,0x00,0x03,0x2b,0xb8,0x00,0x62,0x10,0xba,0x00,0x08,0x00, +0x66,0x00,0x03,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00,0x17,0x00,0x11,0x00,0x03,0x2b, +0xb8,0x00,0x17,0x10,0x41,0x1b,0x00,0x16,0x00,0x62,0x00,0x26,0x00,0x62,0x00,0x36, +0x00,0x62,0x00,0x46,0x00,0x62,0x00,0x56,0x00,0x62,0x00,0x66,0x00,0x62,0x00,0x76, +0x00,0x62,0x00,0x86,0x00,0x62,0x00,0x96,0x00,0x62,0x00,0xa6,0x00,0x62,0x00,0xb6, +0x00,0x62,0x00,0xc6,0x00,0x62,0x00,0xd6,0x00,0x62,0x00,0x0d,0x5d,0x41,0x05,0x00, +0xe5,0x00,0x62,0x00,0xf5,0x00,0x62,0x00,0x02,0x5d,0xba,0x00,0x30,0x00,0x5a,0x00, +0x62,0x11,0x12,0x39,0xb8,0x00,0x30,0x2f,0xb8,0x00,0x28,0xdc,0xb8,0x00,0x0c,0xd0, +0x41,0x05,0x00,0xea,0x00,0x11,0x00,0xfa,0x00,0x11,0x00,0x02,0x5d,0x41,0x1b,0x00, +0x19,0x00,0x11,0x00,0x29,0x00,0x11,0x00,0x39,0x00,0x11,0x00,0x49,0x00,0x11,0x00, +0x59,0x00,0x11,0x00,0x69,0x00,0x11,0x00,0x79,0x00,0x11,0x00,0x89,0x00,0x11,0x00, +0x99,0x00,0x11,0x00,0xa9,0x00,0x11,0x00,0xb9,0x00,0x11,0x00,0xc9,0x00,0x11,0x00, +0xd9,0x00,0x11,0x00,0x0d,0x5d,0xba,0x00,0x19,0x00,0x40,0x00,0x17,0x11,0x12,0x39, +0xba,0x00,0x27,0x00,0x5a,0x00,0x62,0x11,0x12,0x39,0xba,0x00,0x31,0x00,0x5a,0x00, +0x62,0x11,0x12,0x39,0xba,0x00,0x3e,0x00,0x40,0x00,0x17,0x11,0x12,0x39,0x41,0x1b, +0x00,0x16,0x00,0x46,0x00,0x26,0x00,0x46,0x00,0x36,0x00,0x46,0x00,0x46,0x00,0x46, +0x00,0x56,0x00,0x46,0x00,0x66,0x00,0x46,0x00,0x76,0x00,0x46,0x00,0x86,0x00,0x46, +0x00,0x96,0x00,0x46,0x00,0xa6,0x00,0x46,0x00,0xb6,0x00,0x46,0x00,0xc6,0x00,0x46, +0x00,0xd6,0x00,0x46,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x46,0x00,0xf5,0x00, +0x46,0x00,0x02,0x5d,0xb8,0x00,0x30,0x10,0xb8,0x00,0x4a,0xd0,0x41,0x1b,0x00,0x16, +0x00,0x55,0x00,0x26,0x00,0x55,0x00,0x36,0x00,0x55,0x00,0x46,0x00,0x55,0x00,0x56, +0x00,0x55,0x00,0x66,0x00,0x55,0x00,0x76,0x00,0x55,0x00,0x86,0x00,0x55,0x00,0x96, +0x00,0x55,0x00,0xa6,0x00,0x55,0x00,0xb6,0x00,0x55,0x00,0xc6,0x00,0x55,0x00,0xd6, +0x00,0x55,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x55,0x00,0xf5,0x00,0x55,0x00, +0x02,0x5d,0x41,0x05,0x00,0xea,0x00,0x66,0x00,0xfa,0x00,0x66,0x00,0x02,0x5d,0x41, +0x1b,0x00,0x19,0x00,0x66,0x00,0x29,0x00,0x66,0x00,0x39,0x00,0x66,0x00,0x49,0x00, +0x66,0x00,0x59,0x00,0x66,0x00,0x69,0x00,0x66,0x00,0x79,0x00,0x66,0x00,0x89,0x00, +0x66,0x00,0x99,0x00,0x66,0x00,0xa9,0x00,0x66,0x00,0xb9,0x00,0x66,0x00,0xc9,0x00, +0x66,0x00,0xd9,0x00,0x66,0x00,0x0d,0x5d,0xb8,0x00,0x17,0x10,0xb8,0x00,0x69,0xdc, +0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x2c,0x2f,0xba,0x00,0x19,0x00,0x2c,0x00,0x00, +0x11,0x12,0x39,0xba,0x00,0x27,0x00,0x2c,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x31, +0x00,0x2c,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x3e,0x00,0x2c,0x00,0x00,0x11,0x12, +0x39,0x30,0x31,0x01,0x32,0x17,0x0f,0x01,0x16,0x17,0x16,0x15,0x14,0x07,0x17,0x23, +0x15,0x32,0x37,0x36,0x35,0x34,0x27,0x37,0x33,0x16,0x11,0x10,0x03,0x26,0x23,0x22, +0x15,0x14,0x17,0x16,0x07,0x06,0x23,0x06,0x27,0x26,0x27,0x15,0x06,0x17,0x14,0x23, +0x22,0x35,0x36,0x3d,0x01,0x06,0x15,0x06,0x27,0x22,0x27,0x34,0x36,0x27,0x34,0x23, +0x22,0x07,0x02,0x11,0x34,0x37,0x33,0x17,0x06,0x15,0x14,0x17,0x16,0x17,0x35,0x23, +0x35,0x26,0x35,0x34,0x37,0x2f,0x01,0x36,0x03,0x14,0x17,0x33,0x36,0x35,0x34,0x27, +0x06,0x07,0x06,0x25,0x06,0x15,0x14,0x17,0x36,0x35,0x34,0x02,0xd8,0x42,0x52,0x13, +0x0f,0x7f,0x33,0x38,0xcd,0x01,0x78,0x79,0x8e,0x87,0x7d,0x15,0x05,0xea,0x95,0x78, +0x4f,0x38,0x78,0x20,0x02,0x0d,0x2a,0x40,0x07,0x3b,0x5e,0x04,0x54,0x68,0x6f,0x50, +0x9a,0x07,0x3f,0x29,0x0e,0x9a,0x04,0x2e,0x52,0x74,0x9a,0xe4,0x05,0x15,0x7d,0xd6, +0x3f,0x79,0x77,0xcc,0xee,0x18,0x10,0x57,0xce,0x87,0x04,0x46,0x1d,0x59,0x33,0x28, +0x01,0x70,0x22,0x41,0x90,0x05,0xd9,0x4b,0x0f,0x7c,0x2e,0x50,0x51,0x55,0xc7,0x62, +0x4b,0x78,0x81,0x9d,0xc6,0xb0,0x72,0x13,0xa5,0xfe,0xfe,0xfe,0xe0,0xfe,0xc9,0xae, +0x2d,0x1c,0x93,0x28,0x2d,0x3b,0x09,0x29,0xee,0x31,0x96,0x48,0x76,0x3b,0x3c,0x74, +0x4d,0x92,0x5d,0xbf,0x25,0x02,0x3b,0x40,0xa8,0x21,0x28,0xad,0x01,0x21,0x01,0x4d, +0xe9,0xa6,0x13,0x79,0xae,0xfb,0xa3,0x2f,0x12,0x78,0x4b,0x5c,0xcc,0xbe,0x67,0x7c, +0x12,0x48,0xfd,0xff,0x92,0x4a,0x69,0x8b,0x53,0x7e,0x19,0x4a,0x3f,0xa2,0x73,0x63, +0x89,0x66,0x3d,0xa8,0x98,0x00,0x00,0x01,0x00,0xab,0x00,0x00,0x06,0x81,0x05,0xd7, +0x00,0x32,0x00,0x2f,0xba,0x00,0x04,0x00,0x29,0x00,0x03,0x2b,0xb8,0x00,0x04,0x10, +0xb8,0x00,0x34,0xdc,0x00,0xb8,0x00,0x10,0x2f,0xba,0x00,0x00,0x00,0x2e,0x00,0x03, +0x2b,0xb8,0x00,0x00,0x10,0xba,0x00,0x19,0x00,0x0c,0x00,0x03,0x2b,0xb8,0x00,0x19, +0x10,0x30,0x31,0x01,0x32,0x17,0x16,0x15,0x14,0x07,0x17,0x07,0x23,0x27,0x06,0x23, +0x22,0x27,0x15,0x01,0x23,0x26,0x27,0x36,0x01,0x36,0x33,0x16,0x33,0x32,0x37,0x27, +0x07,0x23,0x26,0x27,0x13,0x04,0x15,0x07,0x16,0x17,0x35,0x36,0x3d,0x01,0x34,0x27, +0x26,0x2b,0x01,0x22,0x07,0x36,0x03,0xe8,0xed,0xd1,0x96,0x7d,0xc2,0x8c,0x03,0xb9, +0xa5,0xd9,0xaa,0x8f,0xfe,0xfc,0x03,0xcc,0x04,0x1a,0x01,0x59,0x18,0x07,0x71,0x9e, +0xbf,0x97,0xd9,0x6c,0x06,0xbb,0x09,0xe9,0x01,0x1b,0x7e,0xe6,0x1d,0x42,0xfb,0x89, +0x77,0x25,0x62,0x78,0xaa,0x05,0xd7,0xbd,0x9b,0xd7,0xc9,0x8a,0x94,0x83,0xaa,0x6e, +0x58,0x03,0xfe,0x31,0x8d,0x07,0x19,0x01,0x98,0x1d,0x55,0x68,0xc6,0x73,0x74,0x0c, +0x01,0x02,0x0e,0x05,0x9f,0xaf,0x0e,0x02,0x5a,0x7c,0x24,0xfe,0x65,0x45,0x37,0x8f, +0x00,0x05,0x00,0xaa,0x00,0x00,0x06,0x82,0x05,0xd8,0x00,0x0b,0x00,0x12,0x00,0x16, +0x00,0x1a,0x00,0x21,0x00,0xff,0xba,0x00,0x0c,0x00,0x00,0x00,0x03,0x2b,0xb8,0x00, +0x0c,0x10,0xba,0x00,0x17,0x00,0x15,0x00,0x03,0x2b,0xb8,0x00,0x17,0x10,0xba,0x00, +0x06,0x00,0x1d,0x00,0x03,0x2b,0xb8,0x00,0x06,0x10,0x41,0x1b,0x00,0x16,0x00,0x0c, +0x00,0x26,0x00,0x0c,0x00,0x36,0x00,0x0c,0x00,0x46,0x00,0x0c,0x00,0x56,0x00,0x0c, +0x00,0x66,0x00,0x0c,0x00,0x76,0x00,0x0c,0x00,0x86,0x00,0x0c,0x00,0x96,0x00,0x0c, +0x00,0xa6,0x00,0x0c,0x00,0xb6,0x00,0x0c,0x00,0xc6,0x00,0x0c,0x00,0xd6,0x00,0x0c, +0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x0c,0x00,0xf5,0x00,0x0c,0x00,0x02,0x5d, +0xb8,0x00,0x15,0x10,0xb8,0x00,0x0f,0xd0,0xb8,0x00,0x0f,0x2f,0x41,0x05,0x00,0xea, +0x00,0x1d,0x00,0xfa,0x00,0x1d,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x1d,0x00, +0x29,0x00,0x1d,0x00,0x39,0x00,0x1d,0x00,0x49,0x00,0x1d,0x00,0x59,0x00,0x1d,0x00, +0x69,0x00,0x1d,0x00,0x79,0x00,0x1d,0x00,0x89,0x00,0x1d,0x00,0x99,0x00,0x1d,0x00, +0xa9,0x00,0x1d,0x00,0xb9,0x00,0x1d,0x00,0xc9,0x00,0x1d,0x00,0xd9,0x00,0x1d,0x00, +0x0d,0x5d,0xb8,0x00,0x17,0x10,0xb8,0x00,0x20,0xd0,0xb8,0x00,0x20,0x2f,0xb8,0x00, +0x06,0x10,0xb8,0x00,0x23,0xdc,0x00,0xba,0x00,0x17,0x00,0x09,0x00,0x03,0x2b,0xb8, +0x00,0x17,0x10,0xba,0x00,0x03,0x00,0x20,0x00,0x03,0x2b,0xb8,0x00,0x03,0x10,0xb8, +0x00,0x20,0x10,0xb8,0x00,0x10,0xd0,0xb8,0x00,0x17,0x10,0xb8,0x00,0x15,0xd0,0xb8, +0x00,0x15,0x2f,0x30,0x31,0x13,0x10,0x00,0x21,0x20,0x00,0x11,0x10,0x00,0x21,0x20, +0x00,0x13,0x14,0x17,0x01,0x03,0x06,0x00,0x13,0x16,0x17,0x1b,0x01,0x36,0x37,0x09, +0x01,0x36,0x35,0x34,0x00,0x27,0x11,0xaa,0x01,0xb6,0x01,0x36,0x01,0x37,0x01,0xb5, +0xfe,0x4b,0xfe,0xc9,0xfe,0xca,0xfe,0x4a,0x98,0x79,0x01,0xaa,0x02,0xc4,0xfe,0xa3, +0xad,0xb0,0xc0,0x02,0x5f,0xcd,0xaa,0xfe,0x89,0x01,0xbb,0x71,0xfe,0xa1,0xd3,0x02, +0xea,0x01,0x37,0x01,0xb7,0xfe,0x49,0xfe,0xc9,0xfe,0xca,0xfe,0x4c,0x01,0xb4,0x01, +0x36,0xe5,0x78,0x01,0xf5,0x01,0xc2,0x04,0xfe,0xa3,0xfd,0x62,0xb1,0x06,0x02,0x68, +0xfd,0x96,0x08,0xa4,0x01,0xb6,0xfe,0x97,0x70,0xf5,0xf9,0x01,0x5d,0x04,0xfe,0x42, +0x00,0x04,0x00,0xaa,0x00,0x00,0x06,0x82,0x05,0xd8,0x00,0x12,0x00,0x1e,0x00,0x2a, +0x00,0x36,0x00,0xcf,0xba,0x00,0x0d,0x00,0x31,0x00,0x03,0x2b,0xb8,0x00,0x0d,0x10, +0xba,0x00,0x2b,0x00,0x07,0x00,0x03,0x2b,0xb8,0x00,0x2b,0x10,0x41,0x05,0x00,0xea, +0x00,0x07,0x00,0xfa,0x00,0x07,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x07,0x00, +0x29,0x00,0x07,0x00,0x39,0x00,0x07,0x00,0x49,0x00,0x07,0x00,0x59,0x00,0x07,0x00, +0x69,0x00,0x07,0x00,0x79,0x00,0x07,0x00,0x89,0x00,0x07,0x00,0x99,0x00,0x07,0x00, +0xa9,0x00,0x07,0x00,0xb9,0x00,0x07,0x00,0xc9,0x00,0x07,0x00,0xd9,0x00,0x07,0x00, +0x0d,0x5d,0x41,0x1b,0x00,0x16,0x00,0x0d,0x00,0x26,0x00,0x0d,0x00,0x36,0x00,0x0d, +0x00,0x46,0x00,0x0d,0x00,0x56,0x00,0x0d,0x00,0x66,0x00,0x0d,0x00,0x76,0x00,0x0d, +0x00,0x86,0x00,0x0d,0x00,0x96,0x00,0x0d,0x00,0xa6,0x00,0x0d,0x00,0xb6,0x00,0x0d, +0x00,0xc6,0x00,0x0d,0x00,0xd6,0x00,0x0d,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00, +0x0d,0x00,0xf5,0x00,0x0d,0x00,0x02,0x5d,0xb8,0x00,0x31,0x10,0xb8,0x00,0x25,0xdc, +0xb8,0x00,0x2b,0x10,0xb8,0x00,0x38,0xdc,0x00,0xba,0x00,0x04,0x00,0x2e,0x00,0x03, +0x2b,0xb8,0x00,0x04,0x10,0xba,0x00,0x34,0x00,0x0a,0x00,0x03,0x2b,0xb8,0x00,0x34, +0x10,0x30,0x31,0x01,0x15,0x1e,0x01,0x33,0x32,0x36,0x35,0x10,0x00,0x21,0x20,0x00, +0x03,0x3e,0x01,0x33,0x32,0x16,0x05,0x14,0x06,0x23,0x22,0x26,0x35,0x34,0x36,0x33, +0x32,0x16,0x05,0x34,0x26,0x23,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x25,0x10, +0x00,0x21,0x20,0x00,0x11,0x10,0x00,0x21,0x20,0x00,0x03,0x96,0x0a,0xc5,0x90,0x92, +0xc9,0xfe,0x62,0xfe,0xe4,0xfe,0xde,0xfe,0x7b,0x14,0x18,0xb1,0x95,0x8f,0xc6,0x01, +0xca,0x3d,0x26,0x2a,0x3c,0x3c,0x2a,0x28,0x3b,0xfd,0x45,0x3b,0x29,0x29,0x3a,0x3a, +0x29,0x29,0x3b,0x03,0xe5,0xfe,0x4b,0xfe,0xc9,0xfe,0xca,0xfe,0x4a,0x01,0xb6,0x01, +0x36,0x01,0x37,0x01,0xb5,0x02,0xf8,0x1a,0x8e,0xc1,0xcf,0x9a,0x01,0x16,0x01,0x98, +0xfe,0x7b,0xfe,0xc9,0xac,0xb2,0xc0,0x9e,0x29,0x3a,0x3a,0x29,0x2a,0x3c,0x3c,0x2a, +0x2a,0x3c,0x3c,0x2a,0x29,0x3a,0x3c,0x27,0xfe,0xca,0xfe,0x4c,0x01,0xb4,0x01,0x36, +0x01,0x37,0x01,0xb7,0xfe,0x49,0xff,0xff,0x00,0xaa,0x00,0x00,0x06,0x82,0x05,0xd5, +0x12,0x22,0x0a,0x25,0x00,0x00,0x10,0x23,0x0a,0x25,0x00,0x00,0x02,0x86,0x10,0x03, +0x0a,0x25,0x00,0x00,0x05,0x0d,0xff,0xff,0x00,0xaa,0x00,0x00,0x06,0x83,0x05,0xd4, +0x12,0x22,0x0a,0x25,0x00,0x00,0x10,0x23,0x0a,0x25,0x00,0x01,0x02,0x85,0x10,0x03, +0x0a,0x26,0x00,0x00,0x05,0x0c,0xff,0xff,0x00,0xaa,0x00,0x00,0x06,0x82,0x05,0xd5, +0x12,0x22,0x0a,0x25,0x00,0x00,0x10,0x23,0x0a,0x26,0x00,0x00,0x02,0x85,0x10,0x03, +0x0a,0x25,0x00,0x00,0x05,0x0d,0xff,0xff,0x00,0xaa,0x00,0x00,0x06,0x82,0x05,0xd5, +0x12,0x22,0x0a,0x25,0x00,0x00,0x10,0x23,0x0a,0x26,0x00,0x00,0x02,0x85,0x10,0x03, +0x0a,0x26,0x00,0x00,0x05,0x0d,0xff,0xff,0x00,0xaa,0x00,0x00,0x06,0x82,0x05,0xd5, +0x12,0x22,0x0a,0x26,0x00,0x00,0x10,0x23,0x0a,0x25,0x00,0x00,0x02,0x85,0x10,0x03, +0x0a,0x25,0x00,0x00,0x05,0x0d,0xff,0xff,0x00,0xaa,0x00,0x00,0x06,0x82,0x05,0xd5, +0x12,0x22,0x0a,0x26,0x00,0x00,0x10,0x23,0x0a,0x25,0x00,0x00,0x02,0x85,0x10,0x03, +0x0a,0x26,0x00,0x00,0x05,0x0d,0xff,0xff,0x00,0xaa,0x00,0x00,0x06,0x82,0x05,0xd5, +0x12,0x22,0x0a,0x26,0x00,0x00,0x10,0x23,0x0a,0x26,0x00,0x00,0x02,0x85,0x10,0x03, +0x0a,0x25,0x00,0x00,0x05,0x0d,0xff,0xff,0x00,0xaa,0x00,0x00,0x06,0x82,0x05,0xd5, +0x12,0x22,0x0a,0x26,0x00,0x00,0x10,0x23,0x0a,0x26,0x00,0x00,0x02,0x85,0x10,0x03, +0x0a,0x26,0x00,0x00,0x05,0x0d,0x00,0x0a,0x00,0x87,0xff,0xea,0x06,0xa5,0x05,0xe1, +0x00,0x0c,0x00,0x3c,0x00,0x42,0x00,0x48,0x00,0x4e,0x00,0x54,0x00,0x5a,0x00,0x60, +0x00,0x66,0x00,0x6c,0x00,0x00,0x00,0x14,0x17,0x16,0x33,0x32,0x36,0x34,0x27,0x26, +0x23,0x22,0x07,0x05,0x26,0x37,0x33,0x36,0x37,0x27,0x36,0x37,0x17,0x36,0x37,0x35, +0x36,0x17,0x15,0x16,0x17,0x37,0x16,0x17,0x07,0x16,0x17,0x33,0x16,0x07,0x23,0x06, +0x07,0x17,0x06,0x07,0x27,0x06,0x07,0x15,0x06,0x27,0x35,0x26,0x27,0x07,0x26,0x27, +0x37,0x26,0x27,0x01,0x36,0x37,0x03,0x06,0x07,0x05,0x16,0x17,0x37,0x26,0x27,0x01, +0x36,0x37,0x27,0x06,0x07,0x25,0x16,0x17,0x25,0x26,0x27,0x01,0x26,0x27,0x05,0x16, +0x17,0x25,0x06,0x07,0x17,0x36,0x37,0x05,0x06,0x07,0x13,0x36,0x37,0x25,0x26,0x27, +0x07,0x16,0x17,0x02,0xf4,0x30,0x2f,0x43,0x42,0x5e,0x30,0x2f,0x41,0x43,0x2f,0xfd, +0x7f,0x38,0x38,0x70,0x1b,0x6b,0x54,0x0f,0x63,0x52,0x7c,0xc2,0x4e,0x4f,0xb6,0x89, +0x4f,0x66,0x11,0x55,0x69,0x1c,0x70,0x38,0x38,0x70,0x14,0x71,0x55,0x11,0x66,0x4f, +0x8a,0xb6,0x4e,0x4e,0xb5,0x8a,0x51,0x61,0x11,0x51,0x68,0x1b,0x01,0xfb,0x21,0x24, +0x0c,0x8e,0x62,0x01,0x80,0x29,0x1d,0xb7,0x64,0x8c,0xfe,0xaf,0x08,0x16,0xcb,0x4c, +0x17,0x02,0xf7,0x18,0x06,0x01,0x12,0x13,0x51,0xfd,0x6b,0x14,0x0a,0xfe,0xf0,0x16, +0x4b,0x02,0xb4,0x08,0x16,0xcc,0x52,0x11,0xfe,0x74,0x21,0x25,0x0c,0x8d,0x63,0xfe, +0x7f,0x1d,0x27,0xb8,0x64,0x8d,0x03,0x26,0x84,0x2f,0x2f,0x5e,0x84,0x30,0x30,0x30, +0xc3,0x4e,0x4e,0xb7,0x7c,0x50,0x5f,0x10,0x50,0x66,0x1e,0x70,0x38,0x38,0x70,0x16, +0x6f,0x51,0x0f,0x60,0x51,0x79,0xb9,0x4e,0x4e,0xb0,0x83,0x50,0x5c,0x0b,0x51,0x67, +0x1d,0x70,0x38,0x38,0x70,0x17,0x6d,0x51,0x0b,0x5c,0x50,0x79,0xba,0x01,0x2c,0x13, +0x0a,0x01,0x0d,0x16,0x4d,0xaa,0x0a,0x13,0xc6,0x4e,0x15,0xfe,0x3e,0x26,0x1a,0xab, +0x60,0x82,0x37,0x1e,0x22,0x0a,0x7f,0x62,0xfe,0x4b,0x1e,0x2a,0x11,0x8c,0x56,0xf4, +0x26,0x22,0xac,0x67,0x7b,0x89,0x12,0x0b,0xfe,0xf0,0x1e,0x4d,0xa5,0x09,0x14,0xc2, +0x4d,0x1e,0x00,0x05,0x00,0xaa,0x00,0x00,0x06,0x82,0x05,0xd8,0x00,0x0b,0x00,0x17, +0x00,0x21,0x00,0x29,0x00,0x31,0x01,0x61,0xba,0x00,0x0c,0x00,0x00,0x00,0x03,0x2b, +0xb8,0x00,0x0c,0x10,0xba,0x00,0x30,0x00,0x2c,0x00,0x03,0x2b,0xb8,0x00,0x30,0x10, +0xba,0x00,0x1f,0x00,0x24,0x00,0x03,0x2b,0xb8,0x00,0x1f,0x10,0xba,0x00,0x06,0x00, +0x12,0x00,0x03,0x2b,0xb8,0x00,0x06,0x10,0x41,0x1b,0x00,0x16,0x00,0x0c,0x00,0x26, +0x00,0x0c,0x00,0x36,0x00,0x0c,0x00,0x46,0x00,0x0c,0x00,0x56,0x00,0x0c,0x00,0x66, +0x00,0x0c,0x00,0x76,0x00,0x0c,0x00,0x86,0x00,0x0c,0x00,0x96,0x00,0x0c,0x00,0xa6, +0x00,0x0c,0x00,0xb6,0x00,0x0c,0x00,0xc6,0x00,0x0c,0x00,0xd6,0x00,0x0c,0x00,0x0d, +0x5d,0x41,0x05,0x00,0xe5,0x00,0x0c,0x00,0xf5,0x00,0x0c,0x00,0x02,0x5d,0x41,0x05, +0x00,0xea,0x00,0x12,0x00,0xfa,0x00,0x12,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00, +0x12,0x00,0x29,0x00,0x12,0x00,0x39,0x00,0x12,0x00,0x49,0x00,0x12,0x00,0x59,0x00, +0x12,0x00,0x69,0x00,0x12,0x00,0x79,0x00,0x12,0x00,0x89,0x00,0x12,0x00,0x99,0x00, +0x12,0x00,0xa9,0x00,0x12,0x00,0xb9,0x00,0x12,0x00,0xc9,0x00,0x12,0x00,0xd9,0x00, +0x12,0x00,0x0d,0x5d,0xb8,0x00,0x2c,0x10,0xb8,0x00,0x1b,0xd0,0xb8,0x00,0x1f,0x10, +0xb8,0x00,0x28,0xd0,0xb8,0x00,0x28,0x2f,0x41,0x1b,0x00,0x16,0x00,0x30,0x00,0x26, +0x00,0x30,0x00,0x36,0x00,0x30,0x00,0x46,0x00,0x30,0x00,0x56,0x00,0x30,0x00,0x66, +0x00,0x30,0x00,0x76,0x00,0x30,0x00,0x86,0x00,0x30,0x00,0x96,0x00,0x30,0x00,0xa6, +0x00,0x30,0x00,0xb6,0x00,0x30,0x00,0xc6,0x00,0x30,0x00,0xd6,0x00,0x30,0x00,0x0d, +0x5d,0x41,0x05,0x00,0xe5,0x00,0x30,0x00,0xf5,0x00,0x30,0x00,0x02,0x5d,0xb8,0x00, +0x06,0x10,0xb8,0x00,0x33,0xdc,0x00,0xba,0x00,0x0f,0x00,0x09,0x00,0x03,0x2b,0xb8, +0x00,0x0f,0x10,0xba,0x00,0x03,0x00,0x15,0x00,0x03,0x2b,0xb8,0x00,0x03,0x10,0xba, +0x00,0x1d,0x00,0x18,0x00,0x03,0x2b,0xb8,0x00,0x1d,0x10,0xba,0x00,0x26,0x00,0x22, +0x00,0x03,0x2b,0xb8,0x00,0x26,0x10,0xb8,0x00,0x22,0x10,0xb8,0x00,0x2a,0xd0,0xb8, +0x00,0x26,0x10,0xb8,0x00,0x2e,0xd0,0x30,0x31,0x13,0x10,0x00,0x21,0x20,0x00,0x11, +0x10,0x00,0x21,0x20,0x00,0x13,0x14,0x00,0x33,0x32,0x00,0x35,0x34,0x00,0x23,0x22, +0x00,0x01,0x26,0x03,0x23,0x12,0x25,0x04,0x13,0x23,0x02,0x37,0x26,0x27,0x36,0x37, +0x16,0x17,0x06,0x05,0x26,0x27,0x36,0x37,0x16,0x17,0x06,0xaa,0x01,0xb6,0x01,0x36, +0x01,0x37,0x01,0xb5,0xfe,0x4b,0xfe,0xc9,0xfe,0xca,0xfe,0x4a,0x98,0x01,0x5d,0xf7, +0xf7,0x01,0x5f,0xfe,0xa1,0xf7,0xf7,0xfe,0xa3,0x02,0x56,0xd2,0x4e,0x45,0x13,0x01, +0x57,0x01,0x4d,0x13,0x43,0x65,0x32,0x6e,0x04,0x06,0x74,0x6a,0x06,0x06,0xfd,0xac, +0x6e,0x04,0x06,0x74,0x69,0x07,0x07,0x02,0xea,0x01,0x37,0x01,0xb7,0xfe,0x49,0xfe, +0xc9,0xfe,0xca,0xfe,0x4c,0x01,0xb4,0x01,0x36,0xf5,0xfe,0x9f,0x01,0x61,0xf5,0xf9, +0x01,0x5d,0xfe,0xa3,0xfe,0x8d,0x0d,0xfe,0xfa,0x01,0x5d,0x12,0x18,0xfe,0xab,0x01, +0x02,0xe0,0x06,0x70,0x75,0x07,0x09,0x6f,0x74,0x06,0x06,0x70,0x75,0x07,0x09,0x6f, +0x74,0x00,0x00,0x05,0x00,0xaa,0x00,0x00,0x06,0x82,0x05,0xd8,0x00,0x0b,0x00,0x17, +0x00,0x21,0x00,0x29,0x00,0x31,0x01,0x61,0xba,0x00,0x0c,0x00,0x00,0x00,0x03,0x2b, +0xb8,0x00,0x0c,0x10,0xba,0x00,0x30,0x00,0x2c,0x00,0x03,0x2b,0xb8,0x00,0x30,0x10, +0xba,0x00,0x1b,0x00,0x24,0x00,0x03,0x2b,0xb8,0x00,0x1b,0x10,0xba,0x00,0x06,0x00, +0x12,0x00,0x03,0x2b,0xb8,0x00,0x06,0x10,0x41,0x1b,0x00,0x16,0x00,0x0c,0x00,0x26, +0x00,0x0c,0x00,0x36,0x00,0x0c,0x00,0x46,0x00,0x0c,0x00,0x56,0x00,0x0c,0x00,0x66, +0x00,0x0c,0x00,0x76,0x00,0x0c,0x00,0x86,0x00,0x0c,0x00,0x96,0x00,0x0c,0x00,0xa6, +0x00,0x0c,0x00,0xb6,0x00,0x0c,0x00,0xc6,0x00,0x0c,0x00,0xd6,0x00,0x0c,0x00,0x0d, +0x5d,0x41,0x05,0x00,0xe5,0x00,0x0c,0x00,0xf5,0x00,0x0c,0x00,0x02,0x5d,0x41,0x05, +0x00,0xea,0x00,0x12,0x00,0xfa,0x00,0x12,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00, +0x12,0x00,0x29,0x00,0x12,0x00,0x39,0x00,0x12,0x00,0x49,0x00,0x12,0x00,0x59,0x00, +0x12,0x00,0x69,0x00,0x12,0x00,0x79,0x00,0x12,0x00,0x89,0x00,0x12,0x00,0x99,0x00, +0x12,0x00,0xa9,0x00,0x12,0x00,0xb9,0x00,0x12,0x00,0xc9,0x00,0x12,0x00,0xd9,0x00, +0x12,0x00,0x0d,0x5d,0xb8,0x00,0x2c,0x10,0xb8,0x00,0x1f,0xd0,0xb8,0x00,0x1b,0x10, +0xb8,0x00,0x28,0xd0,0xb8,0x00,0x28,0x2f,0x41,0x1b,0x00,0x16,0x00,0x30,0x00,0x26, +0x00,0x30,0x00,0x36,0x00,0x30,0x00,0x46,0x00,0x30,0x00,0x56,0x00,0x30,0x00,0x66, +0x00,0x30,0x00,0x76,0x00,0x30,0x00,0x86,0x00,0x30,0x00,0x96,0x00,0x30,0x00,0xa6, +0x00,0x30,0x00,0xb6,0x00,0x30,0x00,0xc6,0x00,0x30,0x00,0xd6,0x00,0x30,0x00,0x0d, +0x5d,0x41,0x05,0x00,0xe5,0x00,0x30,0x00,0xf5,0x00,0x30,0x00,0x02,0x5d,0xb8,0x00, +0x06,0x10,0xb8,0x00,0x33,0xdc,0x00,0xba,0x00,0x0f,0x00,0x09,0x00,0x03,0x2b,0xb8, +0x00,0x0f,0x10,0xba,0x00,0x03,0x00,0x15,0x00,0x03,0x2b,0xb8,0x00,0x03,0x10,0xba, +0x00,0x18,0x00,0x1d,0x00,0x03,0x2b,0xb8,0x00,0x18,0x10,0xba,0x00,0x26,0x00,0x22, +0x00,0x03,0x2b,0xb8,0x00,0x26,0x10,0xb8,0x00,0x22,0x10,0xb8,0x00,0x2a,0xd0,0xb8, +0x00,0x26,0x10,0xb8,0x00,0x2e,0xd0,0x30,0x31,0x13,0x10,0x00,0x21,0x20,0x00,0x11, +0x10,0x00,0x21,0x20,0x00,0x13,0x14,0x00,0x33,0x32,0x00,0x35,0x34,0x00,0x23,0x22, +0x00,0x01,0x16,0x13,0x33,0x02,0x05,0x24,0x03,0x33,0x12,0x01,0x26,0x27,0x36,0x37, +0x16,0x17,0x06,0x05,0x26,0x27,0x36,0x37,0x16,0x17,0x06,0xaa,0x01,0xb6,0x01,0x36, +0x01,0x37,0x01,0xb5,0xfe,0x4b,0xfe,0xc9,0xfe,0xca,0xfe,0x4a,0x98,0x01,0x5d,0xf7, +0xf7,0x01,0x5f,0xfe,0xa1,0xf7,0xf7,0xfe,0xa3,0x02,0x54,0xd4,0x4e,0x45,0x13,0xfe, +0xa8,0xfe,0xb4,0x13,0x41,0x67,0x01,0xac,0x6e,0x04,0x06,0x74,0x6a,0x06,0x06,0xfd, +0xac,0x6e,0x04,0x06,0x74,0x69,0x07,0x07,0x02,0xea,0x01,0x37,0x01,0xb7,0xfe,0x49, +0xfe,0xc9,0xfe,0xca,0xfe,0x4c,0x01,0xb4,0x01,0x36,0xf5,0xfe,0x9f,0x01,0x61,0xf5, +0xf9,0x01,0x5d,0xfe,0xa3,0xfe,0x09,0x0c,0x01,0x06,0xfe,0xa3,0x12,0x18,0x01,0x55, +0xfe,0xfe,0x01,0x79,0x06,0x70,0x75,0x07,0x09,0x6f,0x74,0x06,0x06,0x70,0x75,0x07, +0x09,0x6f,0x74,0x00,0x00,0x04,0x00,0xaa,0x00,0x00,0x06,0x82,0x05,0xd8,0x00,0x0b, +0x00,0x15,0x00,0x1d,0x00,0x25,0x00,0xcd,0xba,0x00,0x0d,0x00,0x00,0x00,0x03,0x2b, +0xb8,0x00,0x0d,0x10,0xba,0x00,0x1a,0x00,0x1e,0x00,0x03,0x2b,0xb8,0x00,0x1a,0x10, +0xba,0x00,0x06,0x00,0x11,0x00,0x03,0x2b,0xb8,0x00,0x06,0x10,0xb8,0x00,0x11,0x10, +0xb8,0x00,0x16,0xd0,0xb8,0x00,0x16,0x2f,0x41,0x05,0x00,0xea,0x00,0x1e,0x00,0xfa, +0x00,0x1e,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x1e,0x00,0x29,0x00,0x1e,0x00, +0x39,0x00,0x1e,0x00,0x49,0x00,0x1e,0x00,0x59,0x00,0x1e,0x00,0x69,0x00,0x1e,0x00, +0x79,0x00,0x1e,0x00,0x89,0x00,0x1e,0x00,0x99,0x00,0x1e,0x00,0xa9,0x00,0x1e,0x00, +0xb9,0x00,0x1e,0x00,0xc9,0x00,0x1e,0x00,0xd9,0x00,0x1e,0x00,0x0d,0x5d,0xb8,0x00, +0x0d,0x10,0xb8,0x00,0x22,0xd0,0xb8,0x00,0x22,0x2f,0xb8,0x00,0x06,0x10,0xb8,0x00, +0x27,0xdc,0x00,0xba,0x00,0x0f,0x00,0x09,0x00,0x03,0x2b,0xb8,0x00,0x0f,0x10,0xba, +0x00,0x03,0x00,0x20,0x00,0x03,0x2b,0xb8,0x00,0x03,0x10,0xba,0x00,0x1c,0x00,0x11, +0x00,0x03,0x2b,0xb8,0x00,0x1c,0x10,0xb8,0x00,0x11,0x10,0xb8,0x00,0x0c,0xd0,0xb8, +0x00,0x0c,0x2f,0xb8,0x00,0x20,0x10,0xb8,0x00,0x18,0xd0,0xb8,0x00,0x1c,0x10,0xb8, +0x00,0x24,0xd0,0x30,0x31,0x13,0x10,0x00,0x21,0x20,0x00,0x11,0x10,0x00,0x21,0x20, +0x00,0x01,0x23,0x12,0x05,0x24,0x13,0x27,0x02,0x27,0x06,0x01,0x26,0x27,0x06,0x07, +0x16,0x17,0x36,0x25,0x26,0x27,0x06,0x07,0x16,0x17,0x36,0xaa,0x01,0xb6,0x01,0x36, +0x01,0x37,0x01,0xb5,0xfe,0x4b,0xfe,0xc9,0xfe,0xca,0xfe,0x4a,0x01,0x8b,0x4f,0x17, +0x01,0x93,0x01,0xa0,0x17,0x52,0x60,0xff,0xe5,0x02,0x98,0x08,0x7f,0x8c,0x08,0x06, +0x84,0x89,0xfd,0xc1,0x06,0x80,0x8d,0x07,0x05,0x85,0x8a,0x02,0xea,0x01,0x37,0x01, +0xb7,0xfe,0x49,0xfe,0xc9,0xfe,0xca,0xfe,0x4c,0x01,0xb4,0x01,0x30,0xfe,0x63,0x1d, +0x16,0x01,0xa6,0x02,0xfe,0xc2,0x0e,0x0c,0x02,0x5a,0x89,0x0a,0x08,0x8f,0x86,0x09, +0x09,0x8c,0x87,0x0a,0x08,0x8f,0x86,0x09,0x09,0x00,0x00,0x0a,0x00,0xaa,0x00,0x00, +0x06,0x82,0x05,0xd8,0x00,0x07,0x00,0x0c,0x00,0x13,0x00,0x22,0x00,0x2a,0x00,0x32, +0x00,0x3a,0x00,0x41,0x00,0x49,0x00,0x58,0x00,0xe9,0xb8,0x00,0x59,0x2f,0xb8,0x00, +0x5a,0x2f,0xb8,0x00,0x03,0xdc,0xb8,0x00,0x06,0xdc,0xb8,0x00,0x00,0xd0,0xb8,0x00, +0x00,0x2f,0xb8,0x00,0x03,0x10,0xb8,0x00,0x01,0xd0,0xb8,0x00,0x01,0x2f,0xb8,0x00, +0x59,0x10,0xb8,0x00,0x1f,0xd0,0xb8,0x00,0x1f,0x2f,0xb8,0x00,0x0f,0xd0,0xb8,0x00, +0x0f,0x2f,0xb8,0x00,0x06,0x10,0xb8,0x00,0x42,0xd0,0xb8,0x00,0x42,0x2f,0xb8,0x00, +0x03,0x10,0xb8,0x00,0x43,0xd0,0xb8,0x00,0x43,0x2f,0xb8,0x00,0x03,0x10,0xb8,0x00, +0x45,0xd0,0xb8,0x00,0x06,0x10,0xb8,0x00,0x47,0xd0,0xb8,0x00,0x47,0x2f,0xb8,0x00, +0x1f,0x10,0xb8,0x00,0x4c,0xdc,0x41,0x1b,0x00,0x16,0x00,0x4c,0x00,0x26,0x00,0x4c, +0x00,0x36,0x00,0x4c,0x00,0x46,0x00,0x4c,0x00,0x56,0x00,0x4c,0x00,0x66,0x00,0x4c, +0x00,0x76,0x00,0x4c,0x00,0x86,0x00,0x4c,0x00,0x96,0x00,0x4c,0x00,0xa6,0x00,0x4c, +0x00,0xb6,0x00,0x4c,0x00,0xc6,0x00,0x4c,0x00,0xd6,0x00,0x4c,0x00,0x0d,0x5d,0x41, +0x05,0x00,0xe5,0x00,0x4c,0x00,0xf5,0x00,0x4c,0x00,0x02,0x5d,0x00,0xb8,0x00,0x46, +0x2f,0xb8,0x00,0x48,0x2f,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x02,0x2f,0xba,0x00,0x14, +0x00,0x57,0x00,0x03,0x2b,0xb8,0x00,0x14,0x10,0xba,0x00,0x24,0x00,0x27,0x00,0x03, +0x2b,0xb8,0x00,0x24,0x10,0xb8,0x00,0x2b,0xd0,0xb8,0x00,0x27,0x10,0xb8,0x00,0x2f, +0xd0,0x30,0x31,0x01,0x33,0x17,0x11,0x07,0x23,0x27,0x11,0x05,0x17,0x15,0x07,0x27, +0x25,0x17,0x07,0x23,0x26,0x27,0x35,0x05,0x32,0x1f,0x01,0x14,0x07,0x06,0x23,0x22, +0x27,0x26,0x35,0x34,0x37,0x36,0x01,0x21,0x17,0x15,0x07,0x21,0x27,0x35,0x25,0x21, +0x17,0x15,0x07,0x21,0x27,0x35,0x03,0x33,0x16,0x17,0x15,0x07,0x27,0x35,0x25,0x33, +0x17,0x15,0x07,0x27,0x35,0x25,0x33,0x17,0x11,0x07,0x23,0x27,0x11,0x03,0x06,0x15, +0x14,0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x27,0x26,0x23,0x22,0x03,0x73,0x4e,0x06, +0x06,0x4e,0x06,0x02,0x39,0x39,0xf8,0x3d,0xfc,0xfb,0xfd,0x3e,0x03,0xc8,0x2d,0x02, +0x31,0xd7,0x5c,0x0d,0xc4,0x48,0x30,0xb5,0x65,0x25,0xbd,0x46,0xfd,0x4b,0x01,0x53, +0x06,0x06,0xfe,0xad,0x06,0x04,0x77,0x01,0x5a,0x07,0x07,0xfe,0xa6,0x06,0x47,0x03, +0x86,0x72,0x3d,0xf8,0xfd,0xb4,0x03,0x3b,0xf7,0x3d,0x02,0x1b,0x4e,0x06,0x06,0x4e, +0x06,0x24,0x82,0x19,0x45,0x7c,0x20,0x31,0x86,0x09,0x3f,0x92,0x27,0x05,0xd8,0x06, +0xfe,0xa1,0x06,0x06,0x01,0x5f,0x9c,0x3e,0x03,0xff,0x3f,0xee,0xfe,0x40,0xc7,0x37, +0x04,0xb5,0xe2,0x60,0xbd,0x64,0x18,0xa8,0x40,0x5c,0xb4,0x68,0x1b,0xfe,0xed,0x06, +0x50,0x06,0x06,0x50,0x06,0x06,0x50,0x06,0x06,0x50,0xfe,0xe7,0x82,0x79,0x03,0x3f, +0xfd,0x04,0x2b,0x3c,0x03,0xfe,0x3e,0x04,0x77,0x06,0xfe,0xa1,0x06,0x06,0x01,0x5f, +0x02,0x56,0x47,0x7b,0x3f,0x2c,0x72,0x11,0x43,0x82,0x41,0x9a,0x00,0x02,0x02,0xdd, +0x00,0x00,0x06,0x83,0x05,0xd7,0x00,0x17,0x00,0x2b,0x00,0x93,0xb8,0x00,0x2c,0x2f, +0xb8,0x00,0x2d,0x2f,0xb8,0x00,0x04,0xdc,0xb8,0x00,0x2c,0x10,0xb8,0x00,0x10,0xd0, +0xb8,0x00,0x10,0x2f,0xb8,0x00,0x1b,0xdc,0x41,0x1b,0x00,0x16,0x00,0x1b,0x00,0x26, +0x00,0x1b,0x00,0x36,0x00,0x1b,0x00,0x46,0x00,0x1b,0x00,0x56,0x00,0x1b,0x00,0x66, +0x00,0x1b,0x00,0x76,0x00,0x1b,0x00,0x86,0x00,0x1b,0x00,0x96,0x00,0x1b,0x00,0xa6, +0x00,0x1b,0x00,0xb6,0x00,0x1b,0x00,0xc6,0x00,0x1b,0x00,0xd6,0x00,0x1b,0x00,0x0d, +0x5d,0x41,0x05,0x00,0xe5,0x00,0x1b,0x00,0xf5,0x00,0x1b,0x00,0x02,0x5d,0xb8,0x00, +0x04,0x10,0xb8,0x00,0x26,0xdc,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x08,0x2f,0xba, +0x00,0x0c,0x00,0x08,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x19,0x00,0x08,0x00,0x00, +0x11,0x12,0x39,0xba,0x00,0x20,0x00,0x08,0x00,0x00,0x11,0x12,0x39,0x30,0x31,0x01, +0x20,0x01,0x16,0x15,0x10,0x01,0x06,0x2b,0x01,0x22,0x27,0x35,0x24,0x37,0x36,0x11, +0x10,0x25,0x26,0x27,0x35,0x34,0x37,0x17,0x15,0x04,0x11,0x10,0x05,0x07,0x15,0x33, +0x32,0x37,0x36,0x37,0x36,0x3d,0x01,0x10,0x01,0x26,0x23,0x03,0x7e,0x01,0x8b,0x01, +0x10,0x6a,0xfe,0x74,0xb3,0xb0,0x31,0x2f,0x51,0x01,0x15,0x7d,0x9b,0xfe,0xb2,0x88, +0x5d,0x95,0x28,0x01,0xc9,0xfe,0xaf,0x2b,0x06,0x56,0x9e,0xe9,0x52,0x1d,0xfe,0xa5, +0xa3,0x9e,0x05,0xd7,0xfe,0x87,0xad,0xc6,0xfe,0x78,0xfe,0xff,0x62,0x0f,0x06,0x4f, +0xb1,0xca,0x01,0x0c,0x01,0x90,0xe0,0x50,0x10,0x03,0x0b,0x0e,0x3e,0x03,0xc5,0xfe, +0x14,0xfe,0x6e,0xe8,0x18,0x04,0x53,0x98,0xf4,0x5d,0x5d,0x09,0x01,0x3d,0x01,0x05, +0x66,0x00,0x00,0x02,0x00,0xaa,0x00,0x00,0x04,0x50,0x05,0xd8,0x00,0x17,0x00,0x2b, +0x00,0x8d,0xb8,0x00,0x2c,0x2f,0xb8,0x00,0x2d,0x2f,0xb8,0x00,0x2c,0x10,0xb8,0x00, +0x04,0xd0,0xb8,0x00,0x04,0x2f,0xb8,0x00,0x2d,0x10,0xb8,0x00,0x10,0xdc,0xb8,0x00, +0x1b,0xdc,0x41,0x05,0x00,0xea,0x00,0x1b,0x00,0xfa,0x00,0x1b,0x00,0x02,0x5d,0x41, +0x1b,0x00,0x19,0x00,0x1b,0x00,0x29,0x00,0x1b,0x00,0x39,0x00,0x1b,0x00,0x49,0x00, +0x1b,0x00,0x59,0x00,0x1b,0x00,0x69,0x00,0x1b,0x00,0x79,0x00,0x1b,0x00,0x89,0x00, +0x1b,0x00,0x99,0x00,0x1b,0x00,0xa9,0x00,0x1b,0x00,0xb9,0x00,0x1b,0x00,0xc9,0x00, +0x1b,0x00,0xd9,0x00,0x1b,0x00,0x0d,0x5d,0xb8,0x00,0x04,0x10,0xb8,0x00,0x26,0xdc, +0x00,0xb8,0x00,0x08,0x2f,0xb8,0x00,0x00,0x2f,0xba,0x00,0x19,0x00,0x00,0x00,0x08, +0x11,0x12,0x39,0xba,0x00,0x20,0x00,0x00,0x00,0x08,0x11,0x12,0x39,0x30,0x31,0x21, +0x20,0x01,0x26,0x35,0x10,0x01,0x36,0x3b,0x01,0x32,0x17,0x15,0x04,0x07,0x06,0x11, +0x10,0x05,0x16,0x17,0x15,0x14,0x07,0x27,0x35,0x24,0x11,0x10,0x25,0x37,0x35,0x23, +0x22,0x07,0x06,0x07,0x06,0x1d,0x01,0x10,0x01,0x16,0x33,0x03,0xaf,0xfe,0x75,0xfe, +0xef,0x69,0x01,0x8c,0xb3,0xb1,0x31,0x2e,0x50,0xfe,0xec,0x7e,0x9a,0x01,0x4e,0x88, +0x5d,0x95,0x28,0xfe,0x37,0x01,0x50,0x2c,0x06,0x56,0x9f,0xe8,0x53,0x1c,0x01,0x5a, +0xa4,0x9e,0x01,0x79,0xad,0xc6,0x01,0x88,0x01,0x01,0x63,0x0f,0x07,0x4f,0xb1,0xcb, +0xfe,0xf5,0xfe,0x70,0xe1,0x4f,0x10,0x04,0x0a,0x0e,0x3e,0x03,0xc5,0x01,0xed,0x01, +0x91,0xe8,0x18,0x03,0x53,0x96,0xf5,0x5c,0x5e,0x09,0xfe,0xc2,0xfe,0xfc,0x66,0x00, +0x00,0x02,0x00,0xaf,0xff,0x30,0x04,0x3a,0x05,0xdb,0x00,0x31,0x00,0x40,0x01,0x21, +0xba,0x00,0x37,0x00,0x17,0x00,0x03,0x2b,0xb8,0x00,0x37,0x10,0xba,0x00,0x09,0x00, +0x0f,0x00,0x03,0x2b,0xb8,0x00,0x09,0x10,0xba,0x00,0x2e,0x00,0x2b,0x00,0x03,0x2b, +0xb8,0x00,0x2e,0x10,0xba,0x00,0x00,0x00,0x17,0x00,0x2e,0x11,0x12,0x39,0xb8,0x00, +0x04,0xd0,0xb8,0x00,0x09,0x10,0xb8,0x00,0x0c,0xd0,0xb8,0x00,0x0c,0x2f,0xb8,0x00, +0x0f,0x10,0xb8,0x00,0x12,0xd0,0xba,0x00,0x1b,0x00,0x17,0x00,0x2e,0x11,0x12,0x39, +0xb8,0x00,0x17,0x10,0xb8,0x00,0x1f,0xd0,0x41,0x1b,0x00,0x16,0x00,0x37,0x00,0x26, +0x00,0x37,0x00,0x36,0x00,0x37,0x00,0x46,0x00,0x37,0x00,0x56,0x00,0x37,0x00,0x66, +0x00,0x37,0x00,0x76,0x00,0x37,0x00,0x86,0x00,0x37,0x00,0x96,0x00,0x37,0x00,0xa6, +0x00,0x37,0x00,0xb6,0x00,0x37,0x00,0xc6,0x00,0x37,0x00,0xd6,0x00,0x37,0x00,0x0d, +0x5d,0x41,0x05,0x00,0xe5,0x00,0x37,0x00,0xf5,0x00,0x37,0x00,0x02,0x5d,0xb8,0x00, +0x37,0x10,0xb8,0x00,0x21,0xd0,0xb8,0x00,0x2b,0x10,0xb8,0x00,0x3d,0xd0,0xb8,0x00, +0x2e,0x10,0xb8,0x00,0x42,0xdc,0x00,0xb8,0x00,0x20,0x2f,0xb8,0x00,0x22,0x2f,0xb8, +0x00,0x2b,0x2f,0xb8,0x00,0x2d,0x2f,0xb8,0x00,0x0d,0x2f,0xba,0x00,0x0a,0x00,0x0b, +0x00,0x03,0x2b,0xb8,0x00,0x0a,0x10,0xba,0x00,0x27,0x00,0x32,0x00,0x03,0x2b,0xb8, +0x00,0x27,0x10,0xba,0x00,0x3a,0x00,0x13,0x00,0x03,0x2b,0xb8,0x00,0x3a,0x10,0xba, +0x00,0x00,0x00,0x32,0x00,0x27,0x11,0x12,0x39,0xb8,0x00,0x13,0x10,0xb8,0x00,0x08, +0xd0,0xb8,0x00,0x0b,0x10,0xb8,0x00,0x0f,0xd0,0xb8,0x00,0x0a,0x10,0xb8,0x00,0x11, +0xd0,0xb8,0x00,0x11,0x2f,0xba,0x00,0x1b,0x00,0x32,0x00,0x27,0x11,0x12,0x39,0x30, +0x31,0x01,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x15,0x37,0x15,0x07,0x17,0x23, +0x27,0x23,0x35,0x33,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x26,0x27,0x26, +0x3d,0x01,0x33,0x15,0x14,0x17,0x16,0x17,0x33,0x36,0x37,0x36,0x3d,0x01,0x33,0x15, +0x14,0x07,0x06,0x05,0x23,0x06,0x07,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34, +0x27,0x26,0x03,0x69,0x28,0x24,0x85,0x84,0x6c,0x8f,0xd8,0xdc,0x01,0x81,0x01,0xca, +0xca,0x02,0x93,0x6d,0x85,0x85,0x24,0x28,0x28,0x24,0x85,0x8e,0x5b,0x55,0x75,0x26, +0x74,0x55,0x5b,0x8e,0x85,0x24,0xfe,0xf7,0x26,0x75,0x55,0x5b,0xb7,0x82,0x7f,0xb7, +0x5b,0x55,0x04,0x56,0x1a,0x24,0x83,0xbd,0xbc,0x7c,0x64,0x0e,0xd1,0x02,0x64,0x01, +0xca,0xcb,0x62,0xd1,0x0d,0x65,0x7c,0xbc,0xbd,0x83,0x24,0x1a,0x19,0x25,0x83,0xbc, +0x08,0x0a,0x82,0x5a,0x53,0x07,0x07,0x53,0x5a,0x82,0x0a,0x08,0xbc,0x83,0x25,0x5f, +0x06,0x54,0x59,0x82,0x82,0xaa,0xaa,0x82,0x82,0x59,0x54,0x00,0x00,0x02,0x00,0xaf, +0xfe,0xff,0x05,0x2a,0x05,0xda,0x00,0x0b,0x00,0x24,0x01,0x13,0xba,0x00,0x06,0x00, +0x0e,0x00,0x03,0x2b,0xb8,0x00,0x06,0x10,0xba,0x00,0x19,0x00,0x1f,0x00,0x03,0x2b, +0xb8,0x00,0x19,0x10,0xba,0x00,0x14,0x00,0x00,0x00,0x03,0x2b,0xb8,0x00,0x14,0x10, +0x41,0x05,0x00,0xea,0x00,0x00,0x00,0xfa,0x00,0x00,0x00,0x02,0x5d,0x41,0x1b,0x00, +0x19,0x00,0x00,0x00,0x29,0x00,0x00,0x00,0x39,0x00,0x00,0x00,0x49,0x00,0x00,0x00, +0x59,0x00,0x00,0x00,0x69,0x00,0x00,0x00,0x79,0x00,0x00,0x00,0x89,0x00,0x00,0x00, +0x99,0x00,0x00,0x00,0xa9,0x00,0x00,0x00,0xb9,0x00,0x00,0x00,0xc9,0x00,0x00,0x00, +0xd9,0x00,0x00,0x00,0x0d,0x5d,0x41,0x1b,0x00,0x16,0x00,0x06,0x00,0x26,0x00,0x06, +0x00,0x36,0x00,0x06,0x00,0x46,0x00,0x06,0x00,0x56,0x00,0x06,0x00,0x66,0x00,0x06, +0x00,0x76,0x00,0x06,0x00,0x86,0x00,0x06,0x00,0x96,0x00,0x06,0x00,0xa6,0x00,0x06, +0x00,0xb6,0x00,0x06,0x00,0xc6,0x00,0x06,0x00,0xd6,0x00,0x06,0x00,0x0d,0x5d,0x41, +0x05,0x00,0xe5,0x00,0x06,0x00,0xf5,0x00,0x06,0x00,0x02,0x5d,0xb8,0x00,0x19,0x10, +0xb8,0x00,0x1c,0xd0,0xb8,0x00,0x1c,0x2f,0xb8,0x00,0x1f,0x10,0xb8,0x00,0x22,0xd0, +0xb8,0x00,0x14,0x10,0xb8,0x00,0x26,0xdc,0x00,0xb8,0x00,0x1d,0x2f,0xba,0x00,0x11, +0x00,0x03,0x00,0x03,0x2b,0xb8,0x00,0x11,0x10,0xba,0x00,0x1a,0x00,0x1b,0x00,0x03, +0x2b,0xb8,0x00,0x1a,0x10,0xba,0x00,0x09,0x00,0x23,0x00,0x03,0x2b,0xb8,0x00,0x09, +0x10,0xb8,0x00,0x23,0x10,0xb8,0x00,0x18,0xd0,0xb8,0x00,0x1b,0x10,0xb8,0x00,0x1f, +0xd0,0xb8,0x00,0x1a,0x10,0xb8,0x00,0x21,0xd0,0xb8,0x00,0x21,0x2f,0x30,0x31,0x01, +0x34,0x26,0x23,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x05,0x26,0x35,0x34,0x00, +0x33,0x32,0x00,0x15,0x14,0x07,0x06,0x07,0x11,0x25,0x15,0x05,0x17,0x23,0x03,0x23, +0x35,0x21,0x03,0x26,0x04,0x77,0xe8,0xa1,0xa4,0xe7,0xe7,0xa4,0xa1,0xe8,0xfc,0xe1, +0xa9,0x01,0x50,0xef,0xec,0x01,0x50,0xa7,0x89,0xb3,0x01,0x10,0xfe,0xea,0x02,0xa4, +0x02,0xff,0x00,0xff,0x02,0xba,0x03,0xa2,0xa4,0xe4,0xe4,0xa4,0xa3,0xd8,0xd8,0xeb, +0x9d,0xee,0xef,0x01,0x4c,0xfe,0xb4,0xef,0xee,0x9d,0x7e,0x12,0xfe,0xf7,0x02,0x7e, +0x02,0xfe,0x01,0x00,0x7c,0x01,0x09,0x10,0x00,0x02,0x00,0xaf,0xfe,0xff,0x05,0x2a, +0x05,0xda,0x00,0x0b,0x00,0x24,0x01,0x1b,0xba,0x00,0x03,0x00,0x21,0x00,0x03,0x2b, +0xb8,0x00,0x03,0x10,0xba,0x00,0x17,0x00,0x0c,0x00,0x03,0x2b,0xb8,0x00,0x17,0x10, +0xba,0x00,0x1b,0x00,0x09,0x00,0x03,0x2b,0xb8,0x00,0x1b,0x10,0x41,0x1b,0x00,0x16, +0x00,0x03,0x00,0x26,0x00,0x03,0x00,0x36,0x00,0x03,0x00,0x46,0x00,0x03,0x00,0x56, +0x00,0x03,0x00,0x66,0x00,0x03,0x00,0x76,0x00,0x03,0x00,0x86,0x00,0x03,0x00,0x96, +0x00,0x03,0x00,0xa6,0x00,0x03,0x00,0xb6,0x00,0x03,0x00,0xc6,0x00,0x03,0x00,0xd6, +0x00,0x03,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x03,0x00,0xf5,0x00,0x03,0x00, +0x02,0x5d,0x41,0x05,0x00,0xea,0x00,0x09,0x00,0xfa,0x00,0x09,0x00,0x02,0x5d,0x41, +0x1b,0x00,0x19,0x00,0x09,0x00,0x29,0x00,0x09,0x00,0x39,0x00,0x09,0x00,0x49,0x00, +0x09,0x00,0x59,0x00,0x09,0x00,0x69,0x00,0x09,0x00,0x79,0x00,0x09,0x00,0x89,0x00, +0x09,0x00,0x99,0x00,0x09,0x00,0xa9,0x00,0x09,0x00,0xb9,0x00,0x09,0x00,0xc9,0x00, +0x09,0x00,0xd9,0x00,0x09,0x00,0x0d,0x5d,0xb8,0x00,0x0c,0x10,0xb8,0x00,0x10,0xd0, +0xb8,0x00,0x10,0x2f,0xb8,0x00,0x17,0x10,0xb8,0x00,0x12,0xd0,0xb8,0x00,0x12,0x2f, +0xb8,0x00,0x1b,0x10,0xb8,0x00,0x26,0xdc,0x00,0xb8,0x00,0x11,0x2f,0xba,0x00,0x06, +0x00,0x1e,0x00,0x03,0x2b,0xb8,0x00,0x06,0x10,0xba,0x00,0x10,0x00,0x0d,0x00,0x03, +0x2b,0xb8,0x00,0x10,0x10,0xba,0x00,0x0c,0x00,0x00,0x00,0x03,0x2b,0xb8,0x00,0x0c, +0x10,0xb8,0x00,0x10,0x10,0xb8,0x00,0x13,0xd0,0xb8,0x00,0x13,0x2f,0xb8,0x00,0x0d, +0x10,0xb8,0x00,0x15,0xd0,0xb8,0x00,0x15,0x2f,0xb8,0x00,0x0c,0x10,0xb8,0x00,0x17, +0xd0,0x30,0x31,0x01,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x27, +0x13,0x23,0x35,0x21,0x13,0x33,0x07,0x05,0x15,0x25,0x11,0x16,0x17,0x16,0x15,0x14, +0x00,0x23,0x22,0x00,0x35,0x34,0x37,0x36,0x02,0xee,0xa4,0xe7,0xe7,0xa4,0xa1,0xe8, +0xe8,0xf4,0x02,0xff,0x00,0xff,0x02,0xa4,0x02,0x01,0x16,0xfe,0xf0,0xb3,0x89,0xa7, +0xfe,0xb0,0xec,0xef,0xfe,0xb0,0xa9,0x89,0x02,0xb1,0xd7,0xa4,0xa4,0xe3,0xe3,0xa4, +0xa4,0xd7,0xa3,0x01,0x09,0x7c,0x01,0x01,0xff,0x02,0x7e,0x02,0xfe,0xf7,0x12,0x7e, +0x9d,0xee,0xee,0xfe,0xb4,0x01,0x4c,0xee,0xee,0x9d,0x80,0x00,0x00,0x02,0x00,0xaf, +0xff,0xf5,0x06,0xa5,0x05,0xd5,0x00,0x0b,0x00,0x23,0x00,0x1f,0xba,0x00,0x1e,0x00, +0x1f,0x00,0x03,0x2b,0xb8,0x00,0x1e,0x10,0xb8,0x00,0x25,0xdc,0x00,0xba,0x00,0x1c, +0x00,0x1a,0x00,0x03,0x2b,0xb8,0x00,0x1c,0x10,0x30,0x31,0x01,0x26,0x24,0x07,0x06, +0x10,0x17,0x16,0x04,0x37,0x36,0x02,0x13,0x06,0x2b,0x01,0x22,0x27,0x26,0x35,0x27, +0x34,0x37,0x36,0x04,0x17,0x01,0x25,0x37,0x21,0x11,0x07,0x11,0x01,0x16,0x12,0x03, +0xf4,0x74,0xfe,0xc6,0x74,0x73,0x73,0x74,0x01,0x45,0x75,0x73,0x0b,0x15,0xa8,0xe9, +0x02,0xed,0xa6,0xa6,0x02,0xa8,0xa6,0x01,0xc8,0x70,0x01,0x69,0xfe,0x8d,0x8c,0x01, +0xee,0x8f,0xfe,0x98,0x64,0x10,0x03,0x35,0x73,0x0a,0x71,0x74,0xfe,0xba,0x74,0x72, +0x02,0x74,0x74,0x01,0x3c,0xfd,0xd6,0xa4,0xa4,0xa5,0xeb,0x03,0xea,0xa7,0xa6,0x11, +0x67,0x01,0x5c,0x02,0x8c,0xfe,0x14,0x8f,0x01,0x75,0xfe,0xa2,0x6c,0xfe,0x39,0x00, +0x00,0x01,0x01,0x53,0x00,0x00,0x05,0xd7,0x05,0xd8,0x00,0x1c,0x00,0x9f,0xb8,0x00, +0x1d,0x2f,0xb8,0x00,0x1e,0x2f,0xb8,0x00,0x1d,0x10,0xb8,0x00,0x04,0xd0,0xb8,0x00, +0x04,0x2f,0xb8,0x00,0x12,0xdc,0x41,0x1b,0x00,0x16,0x00,0x12,0x00,0x26,0x00,0x12, +0x00,0x36,0x00,0x12,0x00,0x46,0x00,0x12,0x00,0x56,0x00,0x12,0x00,0x66,0x00,0x12, +0x00,0x76,0x00,0x12,0x00,0x86,0x00,0x12,0x00,0x96,0x00,0x12,0x00,0xa6,0x00,0x12, +0x00,0xb6,0x00,0x12,0x00,0xc6,0x00,0x12,0x00,0xd6,0x00,0x12,0x00,0x0d,0x5d,0x41, +0x05,0x00,0xe5,0x00,0x12,0x00,0xf5,0x00,0x12,0x00,0x02,0x5d,0xba,0x00,0x14,0x00, +0x04,0x00,0x12,0x11,0x12,0x39,0xb8,0x00,0x1e,0x10,0xb8,0x00,0x18,0xdc,0xb8,0x00, +0x19,0xdc,0xb8,0x00,0x15,0xd0,0x00,0xb8,0x00,0x18,0x2f,0xb8,0x00,0x16,0x2f,0xba, +0x00,0x0f,0x00,0x07,0x00,0x03,0x2b,0xb8,0x00,0x0f,0x10,0xba,0x00,0x15,0x00,0x1a, +0x00,0x03,0x2b,0xb8,0x00,0x15,0x10,0xb8,0x00,0x00,0xd0,0x30,0x31,0x01,0x35,0x32, +0x36,0x35,0x34,0x26,0x23,0x22,0x06,0x1d,0x01,0x23,0x34,0x00,0x33,0x32,0x00,0x15, +0x14,0x07,0x33,0x11,0x33,0x11,0x23,0x11,0x21,0x35,0x03,0x0d,0x7a,0xaa,0xa9,0x7b, +0x79,0xab,0x96,0x01,0x02,0xb8,0xbb,0x01,0x02,0x6d,0xe3,0x97,0x97,0xfc,0x13,0x02, +0x13,0x01,0xab,0x79,0x79,0xab,0xab,0x79,0x02,0xb9,0x01,0x04,0xfe,0xfc,0xb9,0xa8, +0x7b,0x03,0xc5,0xfa,0x28,0x01,0x7c,0x97,0x00,0x01,0x01,0xc0,0x00,0x00,0x05,0x6a, +0x05,0xd8,0x00,0x1f,0x00,0xc7,0xb8,0x00,0x20,0x2f,0xb8,0x00,0x21,0x2f,0xb8,0x00, +0x20,0x10,0xb8,0x00,0x00,0xd0,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x03,0xd0,0xb8,0x00, +0x00,0x10,0xb8,0x00,0x09,0xdc,0xb8,0x00,0x05,0xd0,0xb8,0x00,0x21,0x10,0xb8,0x00, +0x0f,0xdc,0xb8,0x00,0x17,0xdc,0x41,0x05,0x00,0xea,0x00,0x17,0x00,0xfa,0x00,0x17, +0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x17,0x00,0x29,0x00,0x17,0x00,0x39,0x00, +0x17,0x00,0x49,0x00,0x17,0x00,0x59,0x00,0x17,0x00,0x69,0x00,0x17,0x00,0x79,0x00, +0x17,0x00,0x89,0x00,0x17,0x00,0x99,0x00,0x17,0x00,0xa9,0x00,0x17,0x00,0xb9,0x00, +0x17,0x00,0xc9,0x00,0x17,0x00,0xd9,0x00,0x17,0x00,0x0d,0x5d,0xb8,0x00,0x12,0xd0, +0xb8,0x00,0x12,0x2f,0xb8,0x00,0x09,0x10,0xb8,0x00,0x1d,0xd0,0x00,0xb8,0x00,0x13, +0x2f,0xb8,0x00,0x1e,0x2f,0xb8,0x00,0x04,0x2f,0xba,0x00,0x03,0x00,0x00,0x00,0x03, +0x2b,0xb8,0x00,0x03,0x10,0xba,0x00,0x0c,0x00,0x1a,0x00,0x03,0x2b,0xb8,0x00,0x0c, +0x10,0xb8,0x00,0x03,0x10,0xb8,0x00,0x06,0xd0,0xb8,0x00,0x00,0x10,0xb8,0x00,0x08, +0xd0,0xba,0x00,0x0a,0x00,0x1a,0x00,0x0c,0x11,0x12,0x39,0x30,0x31,0x01,0x23,0x35, +0x33,0x35,0x33,0x15,0x33,0x15,0x23,0x11,0x36,0x33,0x32,0x12,0x15,0x14,0x06,0x1d, +0x01,0x23,0x34,0x36,0x35,0x34,0x26,0x23,0x22,0x06,0x15,0x11,0x23,0x02,0x2a,0x6a, +0x6a,0x98,0xb2,0xb2,0x6f,0x98,0xb2,0xef,0x8c,0x97,0x8d,0x9b,0x6f,0x6e,0x9a,0x98, +0x04,0x8d,0x97,0xb4,0xb4,0x97,0xfe,0x7d,0x6d,0xfe,0xfe,0xbb,0x5a,0xe5,0x79,0x02, +0x84,0xee,0x48,0x7b,0xa9,0xaa,0x7a,0xfe,0x46,0x00,0x00,0x02,0x00,0xf8,0x00,0x00, +0x06,0x32,0x05,0xd8,0x00,0x0b,0x00,0x34,0x00,0xcb,0xba,0x00,0x1d,0x00,0x1e,0x00, +0x03,0x2b,0xb8,0x00,0x1d,0x10,0xba,0x00,0x0c,0x00,0x1a,0x00,0x03,0x2b,0xb8,0x00, +0x0c,0x10,0xba,0x00,0x2e,0x00,0x2b,0x00,0x03,0x2b,0xb8,0x00,0x2e,0x10,0xb8,0x00, +0x1d,0x10,0xb8,0x00,0x20,0xdc,0xb8,0x00,0x1e,0x10,0xb8,0x00,0x22,0xd0,0xb8,0x00, +0x1d,0x10,0xb8,0x00,0x24,0xd0,0xb8,0x00,0x1a,0x10,0xb8,0x00,0x26,0xd0,0xb8,0x00, +0x0c,0x10,0xb8,0x00,0x28,0xd0,0xb8,0x00,0x2b,0x10,0xb8,0x00,0x2d,0xdc,0xb8,0x00, +0x30,0xd0,0xb8,0x00,0x2b,0x10,0xb8,0x00,0x32,0xd0,0xb8,0x00,0x2e,0x10,0xb8,0x00, +0x36,0xdc,0x00,0xb8,0x00,0x13,0x2f,0xba,0x00,0x24,0x00,0x21,0x00,0x03,0x2b,0xb8, +0x00,0x24,0x10,0xba,0x00,0x20,0x00,0x1d,0x00,0x03,0x2b,0xb8,0x00,0x20,0x10,0xba, +0x00,0x26,0x00,0x1b,0x00,0x03,0x2b,0xb8,0x00,0x26,0x10,0xb8,0x00,0x24,0x10,0xb8, +0x00,0x27,0xd0,0xb8,0x00,0x26,0x10,0xb8,0x00,0x29,0xd0,0xb8,0x00,0x24,0x10,0xb8, +0x00,0x2b,0xd0,0xb8,0x00,0x21,0x10,0xb8,0x00,0x2d,0xd0,0xb8,0x00,0x20,0x10,0xb8, +0x00,0x2f,0xd0,0xb8,0x00,0x1d,0x10,0xb8,0x00,0x31,0xd0,0xb8,0x00,0x1b,0x10,0xb8, +0x00,0x33,0xd0,0x30,0x31,0x01,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34, +0x26,0x37,0x16,0x17,0x16,0x15,0x14,0x06,0x23,0x22,0x26,0x35,0x34,0x37,0x36,0x37, +0x11,0x21,0x11,0x21,0x35,0x33,0x11,0x23,0x35,0x21,0x11,0x21,0x11,0x33,0x11,0x21, +0x11,0x21,0x15,0x23,0x11,0x33,0x15,0x21,0x11,0x21,0x03,0x95,0x38,0x4f,0x4f,0x38, +0x37,0x4f,0x4e,0x14,0x3d,0x30,0x4c,0x98,0x6d,0x6b,0x99,0x4c,0x2f,0x3e,0xfe,0xe0, +0xfe,0xce,0x9b,0x9b,0x01,0x32,0x01,0x20,0x97,0x01,0x20,0x01,0x31,0x99,0x99,0xfe, +0xcf,0xfe,0xe0,0x01,0x8c,0x4f,0x37,0x39,0x4e,0x4e,0x39,0x37,0x4f,0x73,0x12,0x30, +0x4c,0x6c,0x6c,0x99,0x99,0x6c,0x6c,0x4c,0x31,0x11,0x01,0x8c,0xfe,0x4b,0x97,0x02, +0xd3,0x98,0xfe,0x4a,0x01,0xb6,0xfe,0x4a,0x01,0xb6,0x98,0xfd,0x2d,0x97,0x01,0xb5, +0x00,0x01,0x01,0x04,0x00,0x00,0x06,0x27,0x05,0xd8,0x00,0x3c,0x01,0x83,0xba,0x00, +0x14,0x00,0x0b,0x00,0x03,0x2b,0xb8,0x00,0x14,0x10,0xba,0x00,0x01,0x00,0x02,0x00, +0x03,0x2b,0xb8,0x00,0x01,0x10,0xba,0x00,0x34,0x00,0x29,0x00,0x03,0x2b,0xb8,0x00, +0x34,0x10,0xb8,0x00,0x02,0x10,0xb8,0x00,0x06,0xd0,0xba,0x00,0x12,0x00,0x0b,0x00, +0x34,0x11,0x12,0x39,0xb8,0x00,0x14,0x10,0xb8,0x00,0x17,0xd0,0xb8,0x00,0x02,0x10, +0xb8,0x00,0x1b,0xd0,0xba,0x00,0x1c,0x00,0x0b,0x00,0x34,0x11,0x12,0x39,0xba,0x00, +0x1d,0x00,0x0b,0x00,0x34,0x11,0x12,0x39,0xba,0x00,0x22,0x00,0x0b,0x00,0x34,0x11, +0x12,0x39,0xb8,0x00,0x01,0x10,0xb8,0x00,0x23,0xd0,0x41,0x05,0x00,0xea,0x00,0x29, +0x00,0xfa,0x00,0x29,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x29,0x00,0x29,0x00, +0x29,0x00,0x39,0x00,0x29,0x00,0x49,0x00,0x29,0x00,0x59,0x00,0x29,0x00,0x69,0x00, +0x29,0x00,0x79,0x00,0x29,0x00,0x89,0x00,0x29,0x00,0x99,0x00,0x29,0x00,0xa9,0x00, +0x29,0x00,0xb9,0x00,0x29,0x00,0xc9,0x00,0x29,0x00,0xd9,0x00,0x29,0x00,0x0d,0x5d, +0xb8,0x00,0x29,0x10,0xb8,0x00,0x2b,0xd0,0xb8,0x00,0x2b,0x2f,0xba,0x00,0x2c,0x00, +0x0b,0x00,0x34,0x11,0x12,0x39,0xb8,0x00,0x34,0x10,0xb8,0x00,0x32,0xd0,0xb8,0x00, +0x32,0x2f,0xb8,0x00,0x01,0x10,0xb8,0x00,0x39,0xd0,0xb8,0x00,0x34,0x10,0xb8,0x00, +0x3e,0xdc,0x00,0xb8,0x00,0x1f,0x2f,0xb8,0x00,0x01,0x2f,0xba,0x00,0x3a,0x00,0x00, +0x00,0x03,0x2b,0xb8,0x00,0x3a,0x10,0xb8,0x00,0x00,0x10,0xb8,0x00,0x03,0xd0,0xb8, +0x00,0x3a,0x10,0xb8,0x00,0x05,0xd0,0xba,0x00,0x0c,0x00,0x01,0x00,0x1f,0x11,0x12, +0x39,0xba,0x00,0x0d,0x00,0x01,0x00,0x1f,0x11,0x12,0x39,0xba,0x00,0x12,0x00,0x01, +0x00,0x1f,0x11,0x12,0x39,0xba,0x00,0x13,0x00,0x01,0x00,0x1f,0x11,0x12,0x39,0xba, +0x00,0x1c,0x00,0x01,0x00,0x1f,0x11,0x12,0x39,0xba,0x00,0x1d,0x00,0x01,0x00,0x1f, +0x11,0x12,0x39,0xba,0x00,0x22,0x00,0x01,0x00,0x1f,0x11,0x12,0x39,0xba,0x00,0x23, +0x00,0x01,0x00,0x1f,0x11,0x12,0x39,0xba,0x00,0x2b,0x00,0x01,0x00,0x1f,0x11,0x12, +0x39,0xba,0x00,0x2c,0x00,0x01,0x00,0x1f,0x11,0x12,0x39,0xba,0x00,0x31,0x00,0x01, +0x00,0x1f,0x11,0x12,0x39,0xba,0x00,0x32,0x00,0x01,0x00,0x1f,0x11,0x12,0x39,0x30, +0x31,0x25,0x15,0x23,0x35,0x23,0x35,0x33,0x35,0x26,0x27,0x26,0x27,0x35,0x07,0x27, +0x37,0x33,0x17,0x15,0x27,0x15,0x33,0x15,0x23,0x16,0x17,0x16,0x17,0x11,0x07,0x27, +0x37,0x33,0x17,0x15,0x27,0x11,0x36,0x37,0x36,0x3d,0x01,0x33,0x35,0x07,0x27,0x37, +0x33,0x17,0x15,0x27,0x15,0x33,0x15,0x06,0x07,0x06,0x07,0x15,0x33,0x15,0x03,0xe2, +0x97,0xb0,0xb0,0xa5,0x7a,0x96,0x01,0x90,0x01,0x91,0x98,0x90,0x90,0x02,0x02,0x01, +0x68,0x4e,0x67,0x91,0x01,0x92,0x97,0x91,0x91,0x65,0x4d,0x6a,0x01,0x90,0x01,0x91, +0x98,0x90,0x90,0x01,0x01,0x96,0x7a,0xa5,0xaf,0xbb,0xbb,0xbb,0x97,0x8b,0x16,0x7a, +0x96,0xd7,0x54,0x8e,0x8c,0x99,0x99,0x8c,0x8e,0x54,0x02,0x97,0x68,0x4f,0x14,0x02, +0xca,0x8d,0x8b,0x9a,0x9a,0x8b,0x8d,0xfd,0x37,0x14,0x4e,0x6a,0x96,0x01,0x59,0x8e, +0x8c,0x99,0x99,0x8c,0x8e,0x59,0x04,0xd3,0x96,0x79,0x17,0x8b,0x97,0x00,0x00,0x02, +0x01,0xec,0x00,0x00,0x05,0x3f,0x05,0xd8,0x00,0x12,0x00,0x1d,0x00,0xa5,0xb8,0x00, +0x1e,0x2f,0xb8,0x00,0x1f,0x2f,0xb8,0x00,0x1e,0x10,0xb8,0x00,0x11,0xd0,0xb8,0x00, +0x11,0x2f,0xb8,0x00,0x00,0xd0,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x1f,0x10,0xb8,0x00, +0x05,0xdc,0xb8,0x00,0x11,0x10,0xb8,0x00,0x0b,0xdc,0xb8,0x00,0x13,0xd0,0xb8,0x00, +0x05,0x10,0xb8,0x00,0x19,0xdc,0x41,0x05,0x00,0xea,0x00,0x19,0x00,0xfa,0x00,0x19, +0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x19,0x00,0x29,0x00,0x19,0x00,0x39,0x00, +0x19,0x00,0x49,0x00,0x19,0x00,0x59,0x00,0x19,0x00,0x69,0x00,0x19,0x00,0x79,0x00, +0x19,0x00,0x89,0x00,0x19,0x00,0x99,0x00,0x19,0x00,0xa9,0x00,0x19,0x00,0xb9,0x00, +0x19,0x00,0xc9,0x00,0x19,0x00,0xd9,0x00,0x19,0x00,0x0d,0x5d,0x00,0xba,0x00,0x0c, +0x00,0x0f,0x00,0x03,0x2b,0xb8,0x00,0x0c,0x10,0xba,0x00,0x00,0x00,0x13,0x00,0x03, +0x2b,0xb8,0x00,0x00,0x10,0xba,0x00,0x15,0x00,0x09,0x00,0x03,0x2b,0xb8,0x00,0x15, +0x10,0x30,0x31,0x01,0x21,0x20,0x17,0x16,0x15,0x10,0x07,0x06,0x23,0x21,0x11,0x21, +0x17,0x15,0x07,0x21,0x27,0x11,0x17,0x11,0x21,0x32,0x37,0x36,0x37,0x34,0x27,0x26, +0x23,0x01,0xf4,0x01,0x99,0x01,0x2e,0x64,0x20,0xfb,0x3b,0x36,0xfe,0xaa,0x02,0x7a, +0x08,0x08,0xfc,0xfd,0x08,0x91,0x01,0x46,0x82,0x48,0x10,0x08,0xa2,0x25,0x51,0x05, +0xd8,0xd0,0x4d,0x5f,0xfe,0xf6,0x5c,0x11,0xfd,0xad,0x08,0x82,0x08,0x08,0x05,0xc7, +0x83,0xfe,0x24,0x82,0x1a,0x50,0xa4,0x3c,0x10,0x00,0x00,0x01,0x00,0x5d,0x00,0x00, +0x06,0xce,0x05,0xda,0x00,0x20,0x00,0x35,0xba,0x00,0x20,0x00,0x00,0x00,0x03,0x2b, +0xb8,0x00,0x20,0x10,0xba,0x00,0x10,0x00,0x00,0x00,0x20,0x11,0x12,0x39,0x00,0xb8, +0x00,0x00,0x2f,0xba,0x00,0x0c,0x00,0x03,0x00,0x03,0x2b,0xb8,0x00,0x0c,0x10,0xb8, +0x00,0x14,0xd0,0xb8,0x00,0x03,0x10,0xb8,0x00,0x1d,0xd0,0x30,0x31,0x21,0x10,0x00, +0x23,0x22,0x02,0x17,0x23,0x26,0x35,0x34,0x36,0x33,0x20,0x13,0x16,0x17,0x36,0x37, +0x12,0x21,0x32,0x16,0x15,0x14,0x07,0x23,0x36,0x02,0x23,0x22,0x00,0x11,0x03,0x56, +0xfe,0xe2,0xa9,0x81,0x39,0x6b,0x86,0x5d,0xa3,0x92,0x01,0x74,0x83,0x08,0x05,0x04, +0x08,0x84,0x01,0x73,0x93,0xa2,0x5d,0x86,0x6b,0x38,0x82,0xa8,0xfe,0xe2,0x02,0x58, +0x03,0x05,0xfe,0xbb,0xa2,0x84,0xa1,0x84,0xbb,0xfc,0xfb,0x31,0x28,0x28,0x31,0x03, +0x05,0xbb,0x84,0xa1,0x84,0xa2,0x01,0x45,0xfc,0xfb,0xfd,0xa8,0x00,0x02,0x00,0xb7, +0x00,0x00,0x06,0x75,0x05,0xd8,0x00,0x0b,0x00,0x31,0x01,0x23,0xb8,0x00,0x32,0x2f, +0xb8,0x00,0x33,0x2f,0xb8,0x00,0x32,0x10,0xb8,0x00,0x22,0xd0,0xb8,0x00,0x22,0x2f, +0xb8,0x00,0x03,0xdc,0x41,0x1b,0x00,0x16,0x00,0x03,0x00,0x26,0x00,0x03,0x00,0x36, +0x00,0x03,0x00,0x46,0x00,0x03,0x00,0x56,0x00,0x03,0x00,0x66,0x00,0x03,0x00,0x76, +0x00,0x03,0x00,0x86,0x00,0x03,0x00,0x96,0x00,0x03,0x00,0xa6,0x00,0x03,0x00,0xb6, +0x00,0x03,0x00,0xc6,0x00,0x03,0x00,0xd6,0x00,0x03,0x00,0x0d,0x5d,0x41,0x05,0x00, +0xe5,0x00,0x03,0x00,0xf5,0x00,0x03,0x00,0x02,0x5d,0xb8,0x00,0x33,0x10,0xb8,0x00, +0x1c,0xdc,0xb8,0x00,0x09,0xdc,0x41,0x05,0x00,0xea,0x00,0x09,0x00,0xfa,0x00,0x09, +0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x09,0x00,0x29,0x00,0x09,0x00,0x39,0x00, +0x09,0x00,0x49,0x00,0x09,0x00,0x59,0x00,0x09,0x00,0x69,0x00,0x09,0x00,0x79,0x00, +0x09,0x00,0x89,0x00,0x09,0x00,0x99,0x00,0x09,0x00,0xa9,0x00,0x09,0x00,0xb9,0x00, +0x09,0x00,0xc9,0x00,0x09,0x00,0xd9,0x00,0x09,0x00,0x0d,0x5d,0xba,0x00,0x18,0x00, +0x22,0x00,0x1c,0x11,0x12,0x39,0xb8,0x00,0x1a,0xd0,0xb8,0x00,0x1a,0x2f,0xb8,0x00, +0x03,0x10,0xb8,0x00,0x24,0xd0,0xb8,0x00,0x24,0x2f,0xba,0x00,0x26,0x00,0x22,0x00, +0x1c,0x11,0x12,0x39,0x00,0xba,0x00,0x06,0x00,0x1f,0x00,0x03,0x2b,0xb8,0x00,0x06, +0x10,0xba,0x00,0x12,0x00,0x13,0x00,0x03,0x2b,0xb8,0x00,0x12,0x10,0xba,0x00,0x0c, +0x00,0x00,0x00,0x03,0x2b,0xb8,0x00,0x0c,0x10,0xba,0x00,0x18,0x00,0x00,0x00,0x0c, +0x11,0x12,0x39,0xba,0x00,0x26,0x00,0x00,0x00,0x0c,0x11,0x12,0x39,0xb8,0x00,0x13, +0x10,0xb8,0x00,0x2b,0xd0,0xb8,0x00,0x12,0x10,0xb8,0x00,0x2c,0xd0,0x30,0x31,0x01, +0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x27,0x36,0x37,0x3e,0x02, +0x33,0x15,0x22,0x02,0x07,0x06,0x07,0x16,0x17,0x16,0x15,0x14,0x00,0x23,0x22,0x00, +0x35,0x34,0x37,0x36,0x37,0x26,0x27,0x26,0x02,0x23,0x35,0x32,0x1e,0x01,0x17,0x16, +0x03,0x95,0x93,0xce,0xce,0x93,0x93,0xcf,0xcd,0x95,0x83,0x4c,0x56,0x61,0xa1,0xb9, +0x7b,0xa7,0x83,0x15,0x17,0x2e,0x2b,0x92,0xfe,0xd9,0xd3,0xd0,0xfe,0xd8,0x94,0x29, +0x30,0x18,0x15,0x81,0xab,0x7a,0xb9,0xba,0x48,0x55,0x4d,0x03,0x5c,0xcf,0x93,0x93, +0xce,0xce,0x93,0x93,0xcf,0x96,0x05,0x3d,0x42,0xb4,0xae,0x6c,0xfe,0xc8,0x6c,0x13, +0x0f,0x1e,0x29,0x95,0xd2,0xd1,0xfe,0xd9,0x01,0x27,0xd1,0xd2,0x95,0x2a,0x1e,0x0e, +0x13,0x6c,0x01,0x38,0x6c,0xae,0xb4,0x42,0x3d,0x00,0x00,0x02,0x00,0xc0,0x00,0x00, +0x06,0x6a,0x05,0xda,0x00,0x13,0x00,0x19,0x00,0x3b,0xb8,0x00,0x1a,0x2f,0xb8,0x00, +0x1b,0x2f,0xb8,0x00,0x1a,0x10,0xb8,0x00,0x00,0xd0,0xb8,0x00,0x00,0x2f,0xb8,0x00, +0x1b,0x10,0xb8,0x00,0x0a,0xdc,0xb8,0x00,0x16,0xdc,0xb8,0x00,0x00,0x10,0xb8,0x00, +0x19,0xdc,0x00,0xb8,0x00,0x03,0x2f,0xb8,0x00,0x06,0x2f,0xb8,0x00,0x0d,0x2f,0xb8, +0x00,0x10,0x2f,0x30,0x31,0x01,0x26,0x27,0x35,0x04,0x20,0x25,0x15,0x06,0x07,0x11, +0x16,0x17,0x15,0x24,0x20,0x05,0x35,0x36,0x3f,0x01,0x36,0x17,0x11,0x06,0x27,0x02, +0x12,0xa8,0xaa,0x01,0x5b,0x02,0xf8,0x01,0x57,0xb0,0xa6,0xa6,0xb0,0xfe,0xa9,0xfd, +0x08,0xfe,0xa5,0xaa,0xa8,0x98,0xe9,0xe9,0xe9,0xe9,0x04,0xfc,0x16,0x34,0x94,0x5a, +0x5a,0x97,0x2f,0x18,0xfb,0xe2,0x17,0x2f,0x98,0x5b,0x5b,0x94,0x35,0x15,0x0c,0x1a, +0x1a,0x04,0x07,0x1a,0x1a,0x00,0x00,0x04,0x00,0xe7,0x00,0x40,0x06,0x45,0x05,0x6f, +0x00,0x0b,0x00,0x1f,0x00,0x2b,0x00,0x3f,0x01,0x81,0xba,0x00,0x29,0x00,0x3b,0x00, +0x03,0x2b,0xb8,0x00,0x29,0x10,0xba,0x00,0x35,0x00,0x23,0x00,0x03,0x2b,0xb8,0x00, +0x35,0x10,0xba,0x00,0x1b,0x00,0x09,0x00,0x03,0x2b,0xb8,0x00,0x1b,0x10,0x41,0x1b, +0x00,0x16,0x00,0x35,0x00,0x26,0x00,0x35,0x00,0x36,0x00,0x35,0x00,0x46,0x00,0x35, +0x00,0x56,0x00,0x35,0x00,0x66,0x00,0x35,0x00,0x76,0x00,0x35,0x00,0x86,0x00,0x35, +0x00,0x96,0x00,0x35,0x00,0xa6,0x00,0x35,0x00,0xb6,0x00,0x35,0x00,0xc6,0x00,0x35, +0x00,0xd6,0x00,0x35,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x35,0x00,0xf5,0x00, +0x35,0x00,0x02,0x5d,0xba,0x00,0x15,0x00,0x23,0x00,0x35,0x11,0x12,0x39,0xb8,0x00, +0x15,0x2f,0x41,0x05,0x00,0xea,0x00,0x15,0x00,0xfa,0x00,0x15,0x00,0x02,0x5d,0x41, +0x1b,0x00,0x19,0x00,0x15,0x00,0x29,0x00,0x15,0x00,0x39,0x00,0x15,0x00,0x49,0x00, +0x15,0x00,0x59,0x00,0x15,0x00,0x69,0x00,0x15,0x00,0x79,0x00,0x15,0x00,0x89,0x00, +0x15,0x00,0x99,0x00,0x15,0x00,0xa9,0x00,0x15,0x00,0xb9,0x00,0x15,0x00,0xc9,0x00, +0x15,0x00,0xd9,0x00,0x15,0x00,0x0d,0x5d,0xb8,0x00,0x03,0xdc,0x41,0x05,0x00,0xea, +0x00,0x09,0x00,0xfa,0x00,0x09,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x09,0x00, +0x29,0x00,0x09,0x00,0x39,0x00,0x09,0x00,0x49,0x00,0x09,0x00,0x59,0x00,0x09,0x00, +0x69,0x00,0x09,0x00,0x79,0x00,0x09,0x00,0x89,0x00,0x09,0x00,0x99,0x00,0x09,0x00, +0xa9,0x00,0x09,0x00,0xb9,0x00,0x09,0x00,0xc9,0x00,0x09,0x00,0xd9,0x00,0x09,0x00, +0x0d,0x5d,0xb8,0x00,0x3b,0x10,0xb8,0x00,0x0f,0xd0,0x41,0x1b,0x00,0x16,0x00,0x29, +0x00,0x26,0x00,0x29,0x00,0x36,0x00,0x29,0x00,0x46,0x00,0x29,0x00,0x56,0x00,0x29, +0x00,0x66,0x00,0x29,0x00,0x76,0x00,0x29,0x00,0x86,0x00,0x29,0x00,0x96,0x00,0x29, +0x00,0xa6,0x00,0x29,0x00,0xb6,0x00,0x29,0x00,0xc6,0x00,0x29,0x00,0xd6,0x00,0x29, +0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x29,0x00,0xf5,0x00,0x29,0x00,0x02,0x5d, +0xb8,0x00,0x1b,0x10,0xb8,0x00,0x2f,0xd0,0xb8,0x00,0x1b,0x10,0xb8,0x00,0x41,0xdc, +0x00,0xba,0x00,0x20,0x00,0x38,0x00,0x03,0x2b,0xb8,0x00,0x20,0x10,0xba,0x00,0x18, +0x00,0x00,0x00,0x03,0x2b,0xb8,0x00,0x18,0x10,0x30,0x31,0x01,0x22,0x06,0x15,0x14, +0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x01,0x2c,0x01,0x27,0x35,0x16,0x04,0x27,0x26, +0x35,0x34,0x36,0x33,0x32,0x16,0x15,0x14,0x07,0x0e,0x01,0x01,0x32,0x36,0x35,0x34, +0x26,0x23,0x22,0x06,0x15,0x14,0x16,0x01,0x0c,0x01,0x17,0x15,0x26,0x24,0x17,0x16, +0x15,0x14,0x06,0x23,0x22,0x26,0x35,0x34,0x37,0x3e,0x01,0x04,0xe3,0x5f,0x84,0x84, +0x5f,0x5e,0x85,0x84,0xfe,0xe2,0xfe,0xc8,0xfe,0x94,0x99,0xfd,0x02,0x2d,0x0c,0x83, +0xcd,0x93,0x95,0xce,0x68,0x49,0xf6,0xfd,0xab,0x5e,0x85,0x85,0x5e,0x5e,0x86,0x85, +0x01,0x1d,0x01,0x39,0x01,0x6c,0x99,0xfd,0xfd,0xd4,0x0b,0x83,0xcd,0x93,0x95,0xce, +0x68,0x49,0xf5,0x02,0xb8,0x84,0x5f,0x5f,0x85,0x85,0x5f,0x5f,0x84,0xfd,0x88,0x02, +0x28,0x2b,0x7c,0x54,0x21,0x25,0x6c,0xa7,0x93,0xcf,0xcf,0x93,0x93,0x67,0x4d,0x4c, +0x02,0xb6,0x84,0x5f,0x5f,0x84,0x84,0x5f,0x5f,0x84,0x02,0x78,0x02,0x29,0x2b,0x7b, +0x54,0x21,0x26,0x6c,0xa6,0x94,0xcf,0xcf,0x94,0x92,0x67,0x4d,0x4d,0x00,0x00,0x02, +0x01,0x1e,0x00,0x00,0x06,0x0d,0x05,0xd8,0x00,0x0b,0x00,0x3d,0x01,0x15,0xba,0x00, +0x28,0x00,0x0c,0x00,0x03,0x2b,0xb8,0x00,0x28,0x10,0xba,0x00,0x15,0x00,0x1f,0x00, +0x03,0x2b,0xb8,0x00,0x15,0x10,0xba,0x00,0x12,0x00,0x22,0x00,0x03,0x2b,0xb8,0x00, +0x12,0x10,0x41,0x05,0x00,0xea,0x00,0x1f,0x00,0xfa,0x00,0x1f,0x00,0x02,0x5d,0x41, +0x1b,0x00,0x19,0x00,0x1f,0x00,0x29,0x00,0x1f,0x00,0x39,0x00,0x1f,0x00,0x49,0x00, +0x1f,0x00,0x59,0x00,0x1f,0x00,0x69,0x00,0x1f,0x00,0x79,0x00,0x1f,0x00,0x89,0x00, +0x1f,0x00,0x99,0x00,0x1f,0x00,0xa9,0x00,0x1f,0x00,0xb9,0x00,0x1f,0x00,0xc9,0x00, +0x1f,0x00,0xd9,0x00,0x1f,0x00,0x0d,0x5d,0x41,0x05,0x00,0xea,0x00,0x22,0x00,0xfa, +0x00,0x22,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x22,0x00,0x29,0x00,0x22,0x00, +0x39,0x00,0x22,0x00,0x49,0x00,0x22,0x00,0x59,0x00,0x22,0x00,0x69,0x00,0x22,0x00, +0x79,0x00,0x22,0x00,0x89,0x00,0x22,0x00,0x99,0x00,0x22,0x00,0xa9,0x00,0x22,0x00, +0xb9,0x00,0x22,0x00,0xc9,0x00,0x22,0x00,0xd9,0x00,0x22,0x00,0x0d,0x5d,0x41,0x1b, +0x00,0x16,0x00,0x28,0x00,0x26,0x00,0x28,0x00,0x36,0x00,0x28,0x00,0x46,0x00,0x28, +0x00,0x56,0x00,0x28,0x00,0x66,0x00,0x28,0x00,0x76,0x00,0x28,0x00,0x86,0x00,0x28, +0x00,0x96,0x00,0x28,0x00,0xa6,0x00,0x28,0x00,0xb6,0x00,0x28,0x00,0xc6,0x00,0x28, +0x00,0xd6,0x00,0x28,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x28,0x00,0xf5,0x00, +0x28,0x00,0x02,0x5d,0xb8,0x00,0x3f,0xdc,0x00,0xba,0x00,0x17,0x00,0x1c,0x00,0x03, +0x2b,0xb8,0x00,0x17,0x10,0xba,0x00,0x0f,0x00,0x25,0x00,0x03,0x2b,0xb8,0x00,0x0f, +0x10,0x30,0x31,0x01,0x3e,0x01,0x27,0x2e,0x01,0x07,0x0e,0x01,0x17,0x1e,0x01,0x13, +0x34,0x36,0x33,0x32,0x16,0x15,0x14,0x00,0x15,0x16,0x17,0x32,0x37,0x17,0x06,0x23, +0x22,0x26,0x35,0x34,0x00,0x35,0x34,0x26,0x23,0x22,0x06,0x15,0x14,0x16,0x17,0x1e, +0x01,0x07,0x06,0x07,0x06,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x17,0x36, +0x26,0x02,0x94,0x4b,0x41,0x1d,0x1d,0x94,0x4b,0x4b,0x40,0x1d,0x1e,0x92,0x57,0xdf, +0xb4,0xac,0xda,0xfe,0xde,0x04,0x86,0x47,0x64,0x41,0x7f,0x6f,0x63,0x90,0x01,0x1f, +0xa4,0x84,0x7f,0x96,0x2e,0x19,0x25,0x0f,0x26,0x33,0x74,0x75,0xe4,0x2f,0x16,0x1b, +0x33,0x75,0x84,0x80,0x18,0x5d,0x01,0x8c,0x1d,0x94,0x4a,0x4b,0x41,0x1d,0x1e,0x92, +0x4b,0x4c,0x40,0x02,0xff,0xa1,0xc9,0xdd,0xb0,0xbb,0xfe,0x0a,0xb4,0x7c,0x03,0x58, +0x48,0x77,0x79,0x6f,0xc7,0x01,0xe1,0xc2,0x86,0xa5,0x9b,0x81,0x3c,0x91,0x3e,0x62, +0xdb,0x51,0x73,0x2d,0x2e,0x63,0x78,0x36,0x38,0x3c,0x3c,0x72,0x2e,0x33,0x47,0x01, +0xde,0x00,0x00,0x02,0x00,0x6d,0xfe,0x8f,0x06,0xbe,0x05,0xd8,0x00,0x36,0x00,0x3f, +0x00,0xe9,0xba,0x00,0x2d,0x00,0x2e,0x00,0x03,0x2b,0xb8,0x00,0x2d,0x10,0xba,0x00, +0x24,0x00,0x25,0x00,0x03,0x2b,0xb8,0x00,0x24,0x10,0xba,0x00,0x38,0x00,0x1d,0x00, +0x03,0x2b,0xb8,0x00,0x38,0x10,0xba,0x00,0x10,0x00,0x3a,0x00,0x03,0x2b,0xb8,0x00, +0x10,0x10,0xb8,0x00,0x24,0x10,0xb8,0x00,0x03,0xd0,0xb8,0x00,0x03,0x2f,0xb8,0x00, +0x38,0x10,0xb8,0x00,0x09,0xd0,0xba,0x00,0x0a,0x00,0x2e,0x00,0x10,0x11,0x12,0x39, +0xba,0x00,0x14,0x00,0x2e,0x00,0x10,0x11,0x12,0x39,0xb8,0x00,0x24,0x10,0xb8,0x00, +0x19,0xd0,0xb8,0x00,0x19,0x2f,0xba,0x00,0x34,0x00,0x2e,0x00,0x2d,0x11,0x12,0x39, +0x41,0x05,0x00,0xea,0x00,0x3a,0x00,0xfa,0x00,0x3a,0x00,0x02,0x5d,0x41,0x1b,0x00, +0x19,0x00,0x3a,0x00,0x29,0x00,0x3a,0x00,0x39,0x00,0x3a,0x00,0x49,0x00,0x3a,0x00, +0x59,0x00,0x3a,0x00,0x69,0x00,0x3a,0x00,0x79,0x00,0x3a,0x00,0x89,0x00,0x3a,0x00, +0x99,0x00,0x3a,0x00,0xa9,0x00,0x3a,0x00,0xb9,0x00,0x3a,0x00,0xc9,0x00,0x3a,0x00, +0xd9,0x00,0x3a,0x00,0x0d,0x5d,0xb8,0x00,0x10,0x10,0xb8,0x00,0x41,0xdc,0x00,0xb8, +0x00,0x14,0x2f,0xba,0x00,0x06,0x00,0x20,0x00,0x03,0x2b,0xb8,0x00,0x06,0x10,0xb8, +0x00,0x00,0xd0,0xb8,0x00,0x20,0x10,0xb8,0x00,0x29,0xd0,0xb8,0x00,0x29,0x2f,0xba, +0x00,0x31,0x00,0x20,0x00,0x06,0x11,0x12,0x39,0x30,0x31,0x01,0x32,0x16,0x15,0x3e, +0x01,0x33,0x32,0x16,0x1d,0x01,0x3e,0x01,0x33,0x32,0x16,0x11,0x10,0x01,0x16,0x17, +0x23,0x26,0x27,0x06,0x07,0x35,0x36,0x37,0x27,0x11,0x12,0x27,0x0e,0x01,0x07,0x11, +0x23,0x11,0x10,0x26,0x07,0x26,0x06,0x07,0x11,0x23,0x11,0x34,0x27,0x33,0x16,0x17, +0x3e,0x01,0x01,0x11,0x24,0x13,0x34,0x26,0x07,0x22,0x06,0x02,0xa8,0x3f,0x77,0x28, +0xc6,0x4b,0x3e,0x52,0x30,0x83,0x44,0x3c,0x64,0xfe,0x83,0x01,0x92,0xa8,0x2e,0x4a, +0xa7,0xaf,0xbf,0x7c,0x09,0x03,0x31,0x3a,0x85,0x3f,0x97,0x1f,0x24,0x29,0xb4,0x13, +0x95,0x98,0x8e,0x76,0x24,0x17,0xb7,0x02,0xc4,0x01,0x02,0x18,0x2f,0x1e,0x1e,0x8f, +0x05,0xd8,0xc6,0x80,0x77,0xcf,0xa7,0xdb,0xca,0x7d,0x77,0xe8,0xfe,0xef,0xfe,0x68, +0xfe,0xbf,0x5e,0xc1,0x29,0xa1,0x65,0x07,0x74,0x1c,0x57,0xd9,0x03,0x57,0x01,0x3c, +0x01,0x01,0xd9,0xc8,0xfc,0x61,0x03,0x9a,0x01,0x41,0x6b,0x01,0x01,0xe3,0xd7,0xfc, +0x74,0x04,0x41,0xbe,0xbf,0x4f,0xb0,0x5d,0xbc,0xfc,0x92,0xfd,0xd0,0xfa,0x01,0x52, +0xc1,0x90,0x05,0xce,0x00,0x02,0x00,0xab,0x00,0x6b,0x06,0x81,0x05,0x39,0x00,0x03, +0x00,0x24,0x00,0xff,0xb8,0x00,0x25,0x2f,0xb8,0x00,0x26,0x2f,0xb8,0x00,0x25,0x10, +0xb8,0x00,0x09,0xd0,0xb8,0x00,0x09,0x2f,0xb8,0x00,0x20,0xdc,0x41,0x1b,0x00,0x16, +0x00,0x20,0x00,0x26,0x00,0x20,0x00,0x36,0x00,0x20,0x00,0x46,0x00,0x20,0x00,0x56, +0x00,0x20,0x00,0x66,0x00,0x20,0x00,0x76,0x00,0x20,0x00,0x86,0x00,0x20,0x00,0x96, +0x00,0x20,0x00,0xa6,0x00,0x20,0x00,0xb6,0x00,0x20,0x00,0xc6,0x00,0x20,0x00,0xd6, +0x00,0x20,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x20,0x00,0xf5,0x00,0x20,0x00, +0x02,0x5d,0xba,0x00,0x07,0x00,0x09,0x00,0x20,0x11,0x12,0x39,0xb8,0x00,0x26,0x10, +0xb8,0x00,0x0f,0xdc,0xb8,0x00,0x1a,0xdc,0x41,0x05,0x00,0xea,0x00,0x1a,0x00,0xfa, +0x00,0x1a,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x1a,0x00,0x29,0x00,0x1a,0x00, +0x39,0x00,0x1a,0x00,0x49,0x00,0x1a,0x00,0x59,0x00,0x1a,0x00,0x69,0x00,0x1a,0x00, +0x79,0x00,0x1a,0x00,0x89,0x00,0x1a,0x00,0x99,0x00,0x1a,0x00,0xa9,0x00,0x1a,0x00, +0xb9,0x00,0x1a,0x00,0xc9,0x00,0x1a,0x00,0xd9,0x00,0x1a,0x00,0x0d,0x5d,0xba,0x00, +0x11,0x00,0x0f,0x00,0x1a,0x11,0x12,0x39,0x00,0xba,0x00,0x01,0x00,0x02,0x00,0x03, +0x2b,0xb8,0x00,0x01,0x10,0xba,0x00,0x0c,0x00,0x1d,0x00,0x03,0x2b,0xb8,0x00,0x0c, +0x10,0xba,0x00,0x24,0x00,0x04,0x00,0x03,0x2b,0xb8,0x00,0x24,0x10,0xb8,0x00,0x06, +0xd0,0xb8,0x00,0x24,0x10,0xb8,0x00,0x11,0xd0,0xb8,0x00,0x04,0x10,0xb8,0x00,0x13, +0xd0,0x30,0x31,0x13,0x21,0x15,0x21,0x01,0x21,0x35,0x21,0x26,0x35,0x34,0x00,0x33, +0x32,0x00,0x15,0x14,0x07,0x21,0x15,0x21,0x35,0x23,0x36,0x37,0x36,0x35,0x34,0x26, +0x23,0x22,0x06,0x15,0x14,0x17,0x16,0x17,0xab,0x05,0xd6,0xfa,0x2a,0x02,0x2d,0xfd, +0xd3,0x01,0x62,0x43,0x01,0x01,0xb9,0xba,0x01,0x03,0x44,0x01,0x84,0xfd,0xaf,0x01, +0x12,0x11,0x56,0xaa,0x7a,0x7a,0xaa,0x55,0x10,0x13,0x01,0x03,0x98,0x01,0x8f,0x98, +0x68,0x83,0xb9,0x01,0x03,0xfe,0xfd,0xb9,0x83,0x68,0x98,0x98,0x0d,0x11,0x55,0x79, +0x7a,0xaa,0xaa,0x7a,0x79,0x55,0x11,0x0d,0x00,0x01,0x00,0x45,0xff,0x3c,0x06,0xe8, +0x05,0xd8,0x00,0x34,0x00,0xab,0xba,0x00,0x1f,0x00,0x20,0x00,0x03,0x2b,0xb8,0x00, +0x1f,0x10,0xba,0x00,0x16,0x00,0x17,0x00,0x03,0x2b,0xb8,0x00,0x16,0x10,0xba,0x00, +0x32,0x00,0x2f,0x00,0x03,0x2b,0xb8,0x00,0x32,0x10,0xb8,0x00,0x00,0xd0,0xb8,0x00, +0x00,0x2f,0xb8,0x00,0x32,0x10,0xb8,0x00,0x05,0xdc,0xb8,0x00,0x09,0xd0,0xb8,0x00, +0x2f,0x10,0xb8,0x00,0x0f,0xd0,0xb8,0x00,0x0f,0x2f,0xb8,0x00,0x2f,0x10,0xb8,0x00, +0x10,0xd0,0xb8,0x00,0x10,0x2f,0xb8,0x00,0x1f,0x10,0xb8,0x00,0x18,0xdc,0xba,0x00, +0x26,0x00,0x20,0x00,0x1f,0x11,0x12,0x39,0xb8,0x00,0x16,0x10,0xb8,0x00,0x2c,0xd0, +0xb8,0x00,0x2c,0x2f,0x00,0xb8,0x00,0x08,0x2f,0xba,0x00,0x04,0x00,0x0a,0x00,0x03, +0x2b,0xb8,0x00,0x04,0x10,0xba,0x00,0x2f,0x00,0x12,0x00,0x03,0x2b,0xb8,0x00,0x2f, +0x10,0xb8,0x00,0x12,0x10,0xb8,0x00,0x1b,0xd0,0xb8,0x00,0x1b,0x2f,0xba,0x00,0x23, +0x00,0x12,0x00,0x2f,0x11,0x12,0x39,0xb8,0x00,0x2f,0x10,0xb8,0x00,0x29,0xd0,0x30, +0x31,0x01,0x14,0x16,0x17,0x33,0x35,0x33,0x17,0x07,0x27,0x35,0x23,0x22,0x27,0x26, +0x27,0x03,0x12,0x27,0x0e,0x01,0x07,0x11,0x23,0x11,0x10,0x26,0x07,0x26,0x06,0x07, +0x11,0x23,0x11,0x34,0x27,0x33,0x16,0x17,0x3e,0x01,0x33,0x32,0x16,0x15,0x3e,0x01, +0x33,0x32,0x16,0x1d,0x01,0x13,0x05,0x00,0x67,0x59,0x59,0x04,0xcb,0xcb,0x04,0x59, +0xcb,0x44,0x2c,0x08,0x15,0x03,0x31,0x3a,0x85,0x3f,0x97,0x1f,0x24,0x29,0xb4,0x13, +0x95,0x98,0x8e,0x76,0x24,0x17,0xb7,0x45,0x3f,0x77,0x28,0xc6,0x4b,0x3e,0x52,0x01, +0x01,0x0f,0x6f,0x7d,0x01,0x76,0xad,0xaf,0x04,0x76,0x78,0x4a,0x76,0x03,0x16,0x01, +0x3c,0x01,0x01,0xd9,0xc8,0xfc,0x61,0x03,0x9a,0x01,0x41,0x6b,0x01,0x01,0xe3,0xd7, +0xfc,0x74,0x04,0x41,0xbe,0xbf,0x4f,0xb0,0x5d,0xbc,0xc6,0x80,0x77,0xcf,0xa7,0xdb, +0xca,0xfd,0x84,0x00,0x00,0x01,0x00,0xa9,0x00,0x00,0x06,0x83,0x05,0xd8,0x00,0x13, +0x00,0x65,0xb8,0x00,0x14,0x2f,0xb8,0x00,0x15,0x2f,0xb8,0x00,0x14,0x10,0xb8,0x00, +0x0c,0xd0,0xb8,0x00,0x0c,0x2f,0xb8,0x00,0x15,0x10,0xb8,0x00,0x07,0xdc,0xb8,0x00, +0x05,0xd0,0xb8,0x00,0x05,0x2f,0xba,0x00,0x00,0x00,0x0c,0x00,0x05,0x11,0x12,0x39, +0xb8,0x00,0x07,0x10,0xb8,0x00,0x03,0xd0,0xb8,0x00,0x07,0x10,0xb8,0x00,0x08,0xdc, +0xb8,0x00,0x0c,0x10,0xb8,0x00,0x0b,0xdc,0x00,0xb8,0x00,0x0e,0x2f,0xba,0x00,0x03, +0x00,0x00,0x00,0x03,0x2b,0xb8,0x00,0x03,0x10,0xba,0x00,0x13,0x00,0x10,0x00,0x03, +0x2b,0xb8,0x00,0x13,0x10,0x30,0x31,0x01,0x21,0x35,0x21,0x15,0x33,0x07,0x11,0x23, +0x11,0x01,0x11,0x23,0x11,0x01,0x27,0x01,0x21,0x35,0x21,0x05,0x7e,0xfd,0xd2,0x03, +0x32,0x01,0x01,0x98,0xfe,0xff,0x98,0xfc,0xc3,0x6b,0x03,0x3c,0xfd,0xd2,0x02,0xc6, +0x05,0x40,0x98,0x69,0x01,0xfd,0x38,0x02,0x30,0xfe,0xff,0xfd,0x38,0x02,0x30,0xfc, +0xc3,0x6b,0x03,0x3c,0x98,0x00,0x00,0x02,0x00,0xc0,0x00,0x00,0x06,0x6a,0x05,0xd8, +0x00,0x27,0x00,0x2f,0x00,0xa5,0xb8,0x00,0x30,0x2f,0xb8,0x00,0x31,0x2f,0xb8,0x00, +0x08,0xdc,0xb8,0x00,0x30,0x10,0xb8,0x00,0x1c,0xd0,0xb8,0x00,0x1c,0x2f,0xba,0x00, +0x0d,0x00,0x1c,0x00,0x08,0x11,0x12,0x39,0xb8,0x00,0x1b,0xdc,0xba,0x00,0x23,0x00, +0x1c,0x00,0x1b,0x11,0x12,0x39,0xb8,0x00,0x25,0xd0,0xb8,0x00,0x25,0x2f,0xb8,0x00, +0x08,0x10,0xb8,0x00,0x2c,0xdc,0x41,0x05,0x00,0xea,0x00,0x2c,0x00,0xfa,0x00,0x2c, +0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x2c,0x00,0x29,0x00,0x2c,0x00,0x39,0x00, +0x2c,0x00,0x49,0x00,0x2c,0x00,0x59,0x00,0x2c,0x00,0x69,0x00,0x2c,0x00,0x79,0x00, +0x2c,0x00,0x89,0x00,0x2c,0x00,0x99,0x00,0x2c,0x00,0xa9,0x00,0x2c,0x00,0xb9,0x00, +0x2c,0x00,0xc9,0x00,0x2c,0x00,0xd9,0x00,0x2c,0x00,0x0d,0x5d,0x00,0xb8,0x00,0x00, +0x2f,0xba,0x00,0x12,0x00,0x11,0x00,0x03,0x2b,0xb8,0x00,0x12,0x10,0xba,0x00,0x2a, +0x00,0x0b,0x00,0x03,0x2b,0xb8,0x00,0x2a,0x10,0x30,0x31,0x01,0x32,0x12,0x37,0x36, +0x33,0x32,0x16,0x15,0x14,0x06,0x23,0x22,0x27,0x0e,0x01,0x07,0x23,0x35,0x37,0x36, +0x13,0x26,0x02,0x23,0x22,0x02,0x17,0x07,0x34,0x02,0x27,0x35,0x32,0x16,0x13,0x36, +0x37,0x3e,0x01,0x01,0x16,0x33,0x32,0x37,0x26,0x27,0x22,0x03,0x53,0x6b,0x51,0x19, +0x6d,0xc3,0x79,0x99,0x8f,0x8e,0x9b,0x7a,0x2c,0x7e,0x8a,0xa8,0x9a,0x7a,0x69,0x32, +0x40,0x3a,0x24,0xa0,0x06,0x9e,0x8d,0x84,0x93,0xa1,0x28,0x2e,0x2d,0x29,0x7a,0x01, +0x57,0x5d,0x82,0xa1,0x09,0x07,0x9f,0x98,0x05,0xd8,0xfc,0x9e,0x04,0xdd,0xbe,0x67, +0x91,0xab,0x85,0xa0,0xd7,0x04,0x76,0x01,0x04,0x01,0x78,0x10,0x03,0x15,0xfe,0x1c, +0xcf,0x02,0xfd,0x01,0xf0,0x06,0x61,0xde,0xfe,0xed,0xc9,0x58,0x5b,0x96,0xfc,0x26, +0x91,0xc5,0x9d,0x13,0x00,0x02,0x00,0xb0,0x01,0x39,0x06,0x7b,0x04,0xa2,0x00,0x21, +0x00,0x43,0x00,0x0f,0x00,0xb8,0x00,0x2a,0x2f,0xb8,0x00,0x11,0x2f,0xb8,0x00,0x20, +0x2f,0x30,0x31,0x13,0x00,0x33,0x32,0x17,0x16,0x37,0x36,0x33,0x32,0x17,0x16,0x37, +0x36,0x33,0x32,0x13,0x07,0x02,0x07,0x06,0x23,0x22,0x27,0x26,0x07,0x06,0x23,0x22, +0x27,0x26,0x00,0x23,0x27,0x11,0x00,0x33,0x32,0x17,0x16,0x37,0x36,0x33,0x32,0x17, +0x16,0x37,0x36,0x33,0x32,0x13,0x07,0x02,0x07,0x06,0x23,0x22,0x27,0x26,0x07,0x06, +0x23,0x22,0x27,0x26,0x00,0x23,0x27,0xb0,0x01,0x45,0x73,0x2d,0x0d,0x31,0xad,0x56, +0x38,0x36,0x18,0x35,0xad,0x2b,0x29,0x7c,0x6d,0x5e,0x61,0xac,0x56,0x38,0x38,0x19, +0x35,0xac,0x57,0x37,0x38,0x19,0x30,0xfe,0xa9,0x05,0x35,0x01,0x44,0x74,0x2c,0x0e, +0x31,0xac,0x57,0x37,0x37,0x17,0x36,0xac,0x2b,0x29,0x7d,0x6d,0x5e,0x61,0xac,0x57, +0x37,0x38,0x1a,0x34,0xad,0x56,0x38,0x37,0x19,0x30,0xfe,0xa9,0x05,0x35,0x01,0x9d, +0x01,0x0f,0x28,0x8e,0x8e,0x47,0x47,0x8e,0x8e,0x24,0xfe,0xc4,0x33,0x01,0x1c,0x98, +0x4c,0x4b,0x97,0x8c,0x47,0x48,0x8d,0xfe,0xe4,0x62,0x01,0xd9,0x01,0x0d,0x27,0x8d, +0x8d,0x48,0x48,0x8d,0x8d,0x23,0xfe,0xc5,0x32,0x01,0x1c,0x99,0x4d,0x4c,0x97,0x8d, +0x47,0x48,0x8f,0xfe,0xe4,0x61,0x00,0x01,0x01,0x41,0x00,0x00,0x05,0xea,0x05,0xd8, +0x00,0x1c,0x00,0x83,0xb8,0x00,0x1d,0x2f,0xb8,0x00,0x1e,0x2f,0xb8,0x00,0x17,0xdc, +0xb8,0x00,0x0f,0xdc,0xb8,0x00,0x00,0xd0,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x1d,0x10, +0xb8,0x00,0x06,0xd0,0xb8,0x00,0x06,0x2f,0xb8,0x00,0x01,0xdc,0xb8,0x00,0x06,0x10, +0xb8,0x00,0x09,0xd0,0xb8,0x00,0x01,0x10,0xb8,0x00,0x0e,0xd0,0xb8,0x00,0x17,0x10, +0xb8,0x00,0x14,0xd0,0xb8,0x00,0x14,0x2f,0x00,0xb8,0x00,0x04,0x2f,0xb8,0x00,0x19, +0x2f,0xb8,0x00,0x0b,0x2f,0xb8,0x00,0x11,0x2f,0xba,0x00,0x0e,0x00,0x01,0x00,0x03, +0x2b,0xb8,0x00,0x0e,0x10,0xb8,0x00,0x01,0x10,0xb8,0x00,0x06,0xd0,0xb8,0x00,0x0e, +0x10,0xb8,0x00,0x08,0xd0,0xb8,0x00,0x0e,0x10,0xb8,0x00,0x14,0xd0,0xb8,0x00,0x01, +0x10,0xb8,0x00,0x16,0xd0,0x30,0x31,0x01,0x07,0x02,0x01,0x07,0x00,0x13,0x21,0x35, +0x21,0x02,0x01,0x17,0x00,0x13,0x33,0x12,0x01,0x37,0x00,0x03,0x21,0x07,0x21,0x12, +0x01,0x27,0x00,0x03,0x04,0x0e,0xf1,0x20,0xfe,0xea,0xa5,0x01,0x33,0x1b,0xfe,0xd8, +0x01,0x28,0x1c,0xfe,0xcd,0xa6,0x01,0x16,0x20,0xf2,0x1f,0x01,0x17,0xa5,0xfe,0xcd, +0x1b,0x01,0x27,0x01,0xfe,0xd8,0x1d,0x01,0x33,0xa6,0xfe,0xe9,0x1f,0x02,0x99,0x03, +0xfe,0xae,0xfe,0xbf,0x03,0x01,0x5f,0x01,0x37,0xac,0x01,0x36,0x01,0x60,0x03,0xfe, +0xc0,0xfe,0xad,0x01,0x53,0x01,0x40,0x03,0xfe,0xa0,0xfe,0xca,0xac,0xfe,0xc9,0xfe, +0xa1,0x03,0x01,0x41,0x01,0x52,0x00,0x05,0x00,0xc9,0x00,0x00,0x06,0x63,0x05,0xd8, +0x00,0x10,0x00,0x21,0x00,0x25,0x00,0x55,0x00,0x65,0x01,0x53,0xba,0x00,0x0a,0x00, +0x2c,0x00,0x03,0x2b,0xb8,0x00,0x0a,0x10,0xba,0x00,0x23,0x00,0x26,0x00,0x03,0x2b, +0xb8,0x00,0x23,0x10,0xba,0x00,0x21,0x00,0x00,0x00,0x03,0x2b,0xb8,0x00,0x21,0x10, +0xba,0x00,0x55,0x00,0x24,0x00,0x03,0x2b,0xb8,0x00,0x55,0x10,0xba,0x00,0x4f,0x00, +0x17,0x00,0x03,0x2b,0xb8,0x00,0x4f,0x10,0x41,0x1b,0x00,0x16,0x00,0x0a,0x00,0x26, +0x00,0x0a,0x00,0x36,0x00,0x0a,0x00,0x46,0x00,0x0a,0x00,0x56,0x00,0x0a,0x00,0x66, +0x00,0x0a,0x00,0x76,0x00,0x0a,0x00,0x86,0x00,0x0a,0x00,0x96,0x00,0x0a,0x00,0xa6, +0x00,0x0a,0x00,0xb6,0x00,0x0a,0x00,0xc6,0x00,0x0a,0x00,0xd6,0x00,0x0a,0x00,0x0d, +0x5d,0x41,0x05,0x00,0xe5,0x00,0x0a,0x00,0xf5,0x00,0x0a,0x00,0x02,0x5d,0x41,0x05, +0x00,0xea,0x00,0x17,0x00,0xfa,0x00,0x17,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00, +0x17,0x00,0x29,0x00,0x17,0x00,0x39,0x00,0x17,0x00,0x49,0x00,0x17,0x00,0x59,0x00, +0x17,0x00,0x69,0x00,0x17,0x00,0x79,0x00,0x17,0x00,0x89,0x00,0x17,0x00,0x99,0x00, +0x17,0x00,0xa9,0x00,0x17,0x00,0xb9,0x00,0x17,0x00,0xc9,0x00,0x17,0x00,0xd9,0x00, +0x17,0x00,0x0d,0x5d,0xba,0x00,0x33,0x00,0x2c,0x00,0x4f,0x11,0x12,0x39,0xba,0x00, +0x49,0x00,0x2c,0x00,0x4f,0x11,0x12,0x39,0xb8,0x00,0x67,0xdc,0x00,0xb8,0x00,0x3d, +0x2f,0xba,0x00,0x23,0x00,0x26,0x00,0x03,0x2b,0xb8,0x00,0x23,0x10,0xba,0x00,0x3c, +0x00,0x39,0x00,0x03,0x2b,0xb8,0x00,0x3c,0x10,0xba,0x00,0x0f,0x00,0x22,0x00,0x03, +0x2b,0xb8,0x00,0x0f,0x10,0xba,0x00,0x30,0x00,0x06,0x00,0x03,0x2b,0xb8,0x00,0x30, +0x10,0xb8,0x00,0x0f,0x10,0xb8,0x00,0x11,0xd0,0xb8,0x00,0x06,0x10,0xb8,0x00,0x1b, +0xd0,0xba,0x00,0x33,0x00,0x06,0x00,0x30,0x11,0x12,0x39,0xb8,0x00,0x3c,0x10,0xb8, +0x00,0x3f,0xd0,0xb8,0x00,0x39,0x10,0xb8,0x00,0x41,0xd0,0xba,0x00,0x49,0x00,0x06, +0x00,0x30,0x11,0x12,0x39,0xb8,0x00,0x30,0x10,0xb8,0x00,0x4b,0xd0,0x30,0x31,0x01, +0x36,0x37,0x26,0x27,0x26,0x23,0x22,0x0e,0x01,0x15,0x14,0x16,0x17,0x16,0x17,0x21, +0x33,0x21,0x36,0x37,0x3e,0x01,0x35,0x34,0x2e,0x01,0x23,0x22,0x07,0x06,0x07,0x16, +0x17,0x01,0x11,0x21,0x11,0x01,0x11,0x26,0x27,0x2e,0x01,0x35,0x34,0x3e,0x01,0x33, +0x32,0x17,0x35,0x34,0x36,0x37,0x36,0x37,0x35,0x23,0x35,0x33,0x35,0x33,0x15,0x33, +0x15,0x23,0x15,0x16,0x17,0x1e,0x01,0x1d,0x01,0x36,0x33,0x32,0x1e,0x01,0x15,0x14, +0x06,0x07,0x06,0x07,0x11,0x01,0x14,0x1e,0x01,0x33,0x32,0x3e,0x01,0x35,0x34,0x2e, +0x01,0x23,0x22,0x0e,0x01,0x03,0x50,0x01,0x02,0x23,0x33,0x4a,0x4e,0x4e,0x93,0x54, +0x52,0x4a,0x16,0x17,0x01,0x57,0x8d,0x01,0x56,0x18,0x16,0x4a,0x51,0x53,0x93,0x4f, +0x4d,0x4a,0x34,0x22,0x02,0x01,0xfe,0x3f,0x02,0xf5,0xfc,0xb9,0x2a,0x26,0x45,0x6c, +0x6e,0xc6,0x68,0x50,0x4c,0x24,0x20,0x0d,0x10,0x6c,0x6c,0x69,0x6c,0x6c,0x10,0x0d, +0x1f,0x25,0x4c,0x4f,0x68,0xc6,0x6e,0x6c,0x44,0x27,0x29,0xfd,0xd6,0x19,0x2d,0x17, +0x18,0x2d,0x18,0x18,0x2d,0x18,0x17,0x2d,0x19,0x03,0xc7,0x03,0x03,0x2b,0x1c,0x29, +0x51,0x95,0x50,0x51,0x92,0x28,0x0e,0x08,0x08,0x0e,0x28,0x92,0x51,0x50,0x95,0x51, +0x29,0x1c,0x2b,0x03,0x03,0xfd,0xb8,0xfe,0xd1,0x01,0x2f,0xfe,0x81,0x01,0x7f,0x0d, +0x16,0x36,0xc4,0x6b,0x6c,0xc5,0x6a,0x1f,0x02,0x24,0x3f,0x12,0x07,0x04,0x36,0x46, +0x57,0x57,0x46,0x36,0x04,0x07,0x12,0x3f,0x24,0x02,0x1f,0x6a,0xc5,0x6c,0x6b,0xc4, +0x36,0x16,0x0d,0xfe,0x81,0x04,0x7d,0x19,0x2b,0x19,0x19,0x2b,0x19,0x18,0x2d,0x17, +0x17,0x2d,0x00,0x08,0x00,0xe2,0x00,0x00,0x06,0x4a,0x05,0xd8,0x00,0x48,0x00,0x4e, +0x00,0x52,0x00,0x68,0x00,0x7e,0x00,0x94,0x00,0xa9,0x00,0xbf,0x00,0xf5,0xb8,0x00, +0xc0,0x2f,0xb8,0x00,0xc1,0x2f,0xb8,0x00,0xc0,0x10,0xb8,0x00,0x47,0xd0,0xb8,0x00, +0x47,0x2f,0xb8,0x00,0x10,0xd0,0xb8,0x00,0x10,0x2f,0xb8,0x00,0xc1,0x10,0xb8,0x00, +0x46,0xdc,0xba,0x00,0x0d,0x00,0x10,0x00,0x46,0x11,0x12,0x39,0xba,0x00,0x1b,0x00, +0x10,0x00,0x46,0x11,0x12,0x39,0xba,0x00,0x29,0x00,0x10,0x00,0x46,0x11,0x12,0x39, +0xba,0x00,0x37,0x00,0x10,0x00,0x46,0x11,0x12,0x39,0xb8,0x00,0x51,0xdc,0xb8,0x00, +0x49,0xd0,0xba,0x00,0x4a,0x00,0x10,0x00,0x46,0x11,0x12,0x39,0xb8,0x00,0x47,0x10, +0xb8,0x00,0x50,0xdc,0xb8,0x00,0x4d,0xd0,0xba,0x00,0x54,0x00,0x10,0x00,0x46,0x11, +0x12,0x39,0xba,0x00,0x6a,0x00,0x10,0x00,0x46,0x11,0x12,0x39,0xba,0x00,0x7f,0x00, +0x10,0x00,0x46,0x11,0x12,0x39,0xb8,0x00,0x46,0x10,0xb8,0x00,0x87,0xd0,0xb8,0x00, +0x87,0x2f,0xba,0x00,0xaa,0x00,0x10,0x00,0x46,0x11,0x12,0x39,0x00,0xba,0x00,0x51, +0x00,0x46,0x00,0x03,0x2b,0xb8,0x00,0x51,0x10,0xba,0x00,0x4e,0x00,0x4f,0x00,0x03, +0x2b,0xb8,0x00,0x4e,0x10,0xba,0x00,0x3e,0x00,0x44,0x00,0x03,0x2b,0xb8,0x00,0x3e, +0x10,0xb8,0x00,0x44,0x10,0xb8,0x00,0x00,0xd0,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x3e, +0x10,0xb8,0x00,0x06,0xd0,0xb8,0x00,0x06,0x2f,0xb8,0x00,0x3e,0x10,0xb8,0x00,0x0e, +0xd0,0xb8,0x00,0x0e,0x2f,0xb8,0x00,0x3e,0x10,0xb8,0x00,0x36,0xd0,0xb8,0x00,0x36, +0x2f,0x30,0x31,0x01,0x26,0x27,0x34,0x3e,0x01,0x33,0x32,0x1e,0x01,0x15,0x06,0x07, +0x13,0x03,0x22,0x27,0x34,0x3e,0x01,0x33,0x32,0x1e,0x01,0x15,0x06,0x07,0x1b,0x01, +0x26,0x27,0x34,0x3e,0x01,0x33,0x32,0x1e,0x01,0x15,0x06,0x07,0x1b,0x01,0x26,0x35, +0x34,0x3e,0x01,0x33,0x32,0x1e,0x01,0x15,0x06,0x07,0x03,0x01,0x26,0x35,0x34,0x3e, +0x01,0x33,0x32,0x1e,0x01,0x15,0x06,0x23,0x03,0x11,0x21,0x11,0x01,0x35,0x07,0x21, +0x27,0x1d,0x02,0x21,0x35,0x01,0x17,0x03,0x36,0x37,0x3e,0x01,0x35,0x34,0x2e,0x01, +0x23,0x22,0x0e,0x01,0x15,0x14,0x1e,0x01,0x33,0x32,0x37,0x01,0x17,0x03,0x36,0x37, +0x3e,0x01,0x35,0x34,0x2e,0x01,0x23,0x22,0x0e,0x01,0x15,0x14,0x1e,0x01,0x33,0x32, +0x37,0x01,0x37,0x13,0x16,0x33,0x32,0x3e,0x01,0x35,0x34,0x2e,0x01,0x23,0x22,0x0e, +0x01,0x15,0x14,0x16,0x17,0x16,0x17,0x01,0x33,0x03,0x32,0x37,0x3e,0x01,0x35,0x34, +0x2e,0x01,0x23,0x22,0x0e,0x01,0x15,0x14,0x16,0x17,0x16,0x17,0x01,0x37,0x13,0x16, +0x33,0x32,0x3e,0x01,0x35,0x34,0x2e,0x01,0x23,0x22,0x0e,0x01,0x15,0x14,0x16,0x17, +0x16,0x17,0x01,0x4d,0x5f,0x0c,0x1d,0x36,0x1d,0x1c,0x36,0x1c,0x04,0x39,0xef,0x34, +0x53,0x12,0x1d,0x35,0x1f,0x1c,0x35,0x1d,0x02,0x2e,0xbd,0x2b,0x43,0x02,0x1e,0x35, +0x1b,0x1d,0x35,0x1e,0x03,0x43,0x26,0xb9,0x2e,0x1d,0x36,0x1b,0x1e,0x36,0x1d,0x0b, +0x56,0x5c,0x01,0x01,0x2b,0x1d,0x35,0x1c,0x1e,0x35,0x1d,0x0d,0x63,0xa0,0xfc,0xa3, +0x03,0x24,0xb5,0xfe,0x95,0xb7,0x02,0xd7,0xfc,0xff,0x4d,0xe7,0x07,0x07,0x12,0x14, +0x14,0x23,0x14,0x12,0x23,0x15,0x14,0x24,0x12,0x07,0x09,0x01,0x36,0x88,0xbb,0x06, +0x05,0x11,0x13,0x13,0x24,0x12,0x13,0x23,0x14,0x13,0x24,0x13,0x07,0x08,0x01,0xad, +0x73,0x60,0x05,0x05,0x13,0x25,0x13,0x15,0x23,0x13,0x12,0x24,0x14,0x14,0x12,0x08, +0x07,0xfe,0x9a,0x64,0x30,0x13,0x10,0x11,0x15,0x16,0x22,0x13,0x12,0x25,0x13,0x13, +0x13,0x0e,0x0f,0x01,0x29,0x68,0xa6,0x0b,0x0b,0x13,0x23,0x14,0x15,0x22,0x13,0x14, +0x23,0x13,0x13,0x12,0x04,0x03,0x03,0xfb,0x02,0x5f,0x1c,0x33,0x1c,0x1c,0x33,0x1c, +0x40,0x16,0xfe,0x06,0x02,0xbe,0x5d,0x1c,0x32,0x1c,0x1c,0x32,0x1c,0x2d,0x22,0xfd, +0x14,0x03,0x34,0x1e,0x30,0x1c,0x34,0x1a,0x1a,0x34,0x1c,0x36,0x18,0xfc,0xca,0x02, +0xe4,0x2f,0x2a,0x1b,0x33,0x1c,0x1c,0x33,0x1b,0x55,0x10,0xfd,0x4a,0x02,0x03,0x22, +0x2b,0x1c,0x33,0x1b,0x1b,0x33,0x1c,0x5e,0xfe,0x31,0xfd,0xd1,0x02,0x2f,0xfe,0xdf, +0xe1,0x4b,0x3d,0xd3,0x30,0xa4,0xa4,0x01,0x54,0x2a,0x02,0x0e,0x03,0x04,0x0a,0x23, +0x13,0x14,0x23,0x14,0x14,0x23,0x14,0x13,0x23,0x14,0x01,0xfd,0xf8,0x20,0x02,0xf9, +0x02,0x03,0x0a,0x23,0x13,0x13,0x24,0x13,0x13,0x24,0x13,0x13,0x23,0x14,0x01,0xfd, +0x13,0x1b,0x02,0xd1,0x01,0x14,0x23,0x13,0x13,0x24,0x13,0x13,0x24,0x13,0x13,0x23, +0x0a,0x05,0x02,0xfd,0x0a,0x03,0x42,0x0a,0x0a,0x23,0x14,0x13,0x23,0x14,0x14,0x23, +0x13,0x14,0x23,0x0a,0x08,0x02,0xfc,0xda,0x2a,0x01,0xea,0x03,0x15,0x22,0x14,0x13, +0x24,0x13,0x13,0x24,0x13,0x14,0x22,0x0b,0x02,0x02,0x00,0x05,0x01,0x55,0xff,0xfe, +0x05,0xd6,0x05,0xd6,0x00,0x1d,0x00,0x21,0x00,0x27,0x00,0x2d,0x00,0x32,0x01,0x67, +0xba,0x00,0x28,0x00,0x10,0x00,0x03,0x2b,0xb8,0x00,0x28,0x10,0xba,0x00,0x01,0x00, +0x00,0x00,0x03,0x2b,0xb8,0x00,0x01,0x10,0xba,0x00,0x06,0x00,0x03,0x00,0x03,0x2b, +0xb8,0x00,0x06,0x10,0xba,0x00,0x2b,0x00,0x03,0x00,0x06,0x11,0x12,0x39,0xb8,0x00, +0x2b,0x2f,0xb8,0x00,0x0c,0xdc,0xb8,0x00,0x07,0xd0,0xb8,0x00,0x03,0x10,0xb8,0x00, +0x0a,0xdc,0xb8,0x00,0x06,0x10,0xb8,0x00,0x0d,0xd0,0xba,0x00,0x11,0x00,0x10,0x00, +0x28,0x11,0x12,0x39,0xb8,0x00,0x11,0x2f,0xb8,0x00,0x28,0x10,0xb8,0x00,0x14,0xdc, +0xb8,0x00,0x11,0x10,0xb8,0x00,0x17,0xd0,0xb8,0x00,0x10,0x10,0xb8,0x00,0x19,0xd0, +0xb8,0x00,0x28,0x10,0xb8,0x00,0x1b,0xd0,0xb8,0x00,0x1b,0x2f,0xb8,0x00,0x32,0x10, +0xb8,0x00,0x1c,0xd0,0xb8,0x00,0x1c,0x2f,0xb8,0x00,0x2b,0x10,0xb8,0x00,0x23,0xd0, +0xb8,0x00,0x23,0x2f,0xb8,0x00,0x11,0x10,0xb8,0x00,0x2a,0xdc,0xb8,0x00,0x25,0xd0, +0xb8,0x00,0x25,0x2f,0xb8,0x00,0x03,0x10,0xb8,0x00,0x2e,0xd0,0xb8,0x00,0x2e,0x2f, +0xb8,0x00,0x28,0x10,0xb8,0x00,0x31,0xd0,0xb8,0x00,0x06,0x10,0xb8,0x00,0x34,0xdc, +0x00,0xba,0x00,0x1e,0x00,0x0e,0x00,0x03,0x2b,0xb8,0x00,0x1e,0x10,0xba,0x00,0x2b, +0x00,0x1f,0x00,0x03,0x2b,0xb8,0x00,0x2b,0x10,0xba,0x00,0x05,0x00,0x06,0x00,0x03, +0x2b,0xb8,0x00,0x05,0x10,0xba,0x00,0x03,0x00,0x24,0x00,0x03,0x2b,0xb8,0x00,0x03, +0x10,0xba,0x00,0x32,0x00,0x28,0x00,0x03,0x2b,0xb8,0x00,0x32,0x10,0xba,0x00,0x22, +0x00,0x30,0x00,0x03,0x2b,0xb8,0x00,0x22,0x10,0xb8,0x00,0x05,0x10,0xb8,0x00,0x00, +0xd0,0xb8,0x00,0x06,0x10,0xb8,0x00,0x02,0xd0,0xb8,0x00,0x02,0x2f,0xb8,0x00,0x2b, +0x10,0xb8,0x00,0x0c,0xd0,0xb8,0x00,0x0c,0x2f,0xb8,0x00,0x2b,0x10,0xb8,0x00,0x10, +0xd0,0xb8,0x00,0x10,0x2f,0xb8,0x00,0x06,0x10,0xb8,0x00,0x18,0xd0,0xb8,0x00,0x03, +0x10,0xb8,0x00,0x19,0xd0,0xb8,0x00,0x19,0x2f,0xb8,0x00,0x05,0x10,0xb8,0x00,0x1a, +0xd0,0xb8,0x00,0x06,0x10,0xb8,0x00,0x1c,0xd0,0xb8,0x00,0x1c,0x2f,0xb8,0x00,0x03, +0x10,0xb8,0x00,0x1d,0xd0,0x30,0x31,0x01,0x21,0x15,0x33,0x35,0x21,0x15,0x23,0x15, +0x07,0x11,0x17,0x15,0x33,0x15,0x21,0x35,0x33,0x35,0x37,0x33,0x11,0x23,0x27,0x35, +0x23,0x35,0x21,0x15,0x33,0x01,0x35,0x21,0x15,0x01,0x37,0x35,0x21,0x15,0x17,0x11, +0x07,0x15,0x21,0x35,0x27,0x35,0x11,0x37,0x21,0x11,0x03,0x08,0x01,0x15,0xab,0x01, +0x0e,0x73,0x5c,0x5c,0x73,0xfb,0x7f,0x73,0x5d,0x01,0x01,0x5d,0x73,0x01,0x09,0xaa, +0x02,0x97,0xfb,0xee,0x03,0x4a,0x52,0xfc,0xda,0x52,0x49,0x03,0x14,0x4a,0x01,0xfd, +0x7e,0x05,0xd6,0x9b,0x9b,0xa2,0x90,0x96,0xfd,0xb7,0x95,0x8f,0xa3,0xa3,0x8f,0x98, +0x02,0x45,0x97,0x90,0xa2,0x9b,0xfa,0xfb,0x37,0x37,0x03,0xea,0x83,0x5f,0x5f,0x83, +0xfd,0x76,0x74,0x80,0x80,0x74,0x34,0x02,0x21,0x02,0xfd,0xdd,0x00,0x04,0x01,0xb6, +0x00,0x00,0x05,0x76,0x05,0xd8,0x00,0x37,0x00,0x43,0x00,0x52,0x00,0x62,0x01,0x57, +0xb8,0x00,0x63,0x2f,0xb8,0x00,0x64,0x2f,0xb8,0x00,0x63,0x10,0xb8,0x00,0x15,0xd0, +0xb8,0x00,0x15,0x2f,0xb8,0x00,0x0f,0xd0,0xb8,0x00,0x0f,0x2f,0xb8,0x00,0x15,0x10, +0xb8,0x00,0x53,0xdc,0x41,0x1b,0x00,0x16,0x00,0x53,0x00,0x26,0x00,0x53,0x00,0x36, +0x00,0x53,0x00,0x46,0x00,0x53,0x00,0x56,0x00,0x53,0x00,0x66,0x00,0x53,0x00,0x76, +0x00,0x53,0x00,0x86,0x00,0x53,0x00,0x96,0x00,0x53,0x00,0xa6,0x00,0x53,0x00,0xb6, +0x00,0x53,0x00,0xc6,0x00,0x53,0x00,0xd6,0x00,0x53,0x00,0x0d,0x5d,0x41,0x05,0x00, +0xe5,0x00,0x53,0x00,0xf5,0x00,0x53,0x00,0x02,0x5d,0xb8,0x00,0x11,0xd0,0xb8,0x00, +0x11,0x2f,0xb8,0x00,0x64,0x10,0xb8,0x00,0x1d,0xdc,0xb8,0x00,0x5b,0xdc,0x41,0x05, +0x00,0xea,0x00,0x5b,0x00,0xfa,0x00,0x5b,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00, +0x5b,0x00,0x29,0x00,0x5b,0x00,0x39,0x00,0x5b,0x00,0x49,0x00,0x5b,0x00,0x59,0x00, +0x5b,0x00,0x69,0x00,0x5b,0x00,0x79,0x00,0x5b,0x00,0x89,0x00,0x5b,0x00,0x99,0x00, +0x5b,0x00,0xa9,0x00,0x5b,0x00,0xb9,0x00,0x5b,0x00,0xc9,0x00,0x5b,0x00,0xd9,0x00, +0x5b,0x00,0x0d,0x5d,0xb8,0x00,0x21,0xd0,0xb8,0x00,0x21,0x2f,0xb8,0x00,0x1d,0x10, +0xb8,0x00,0x23,0xd0,0xb8,0x00,0x23,0x2f,0xb8,0x00,0x5b,0x10,0xb8,0x00,0x44,0xd0, +0xb8,0x00,0x44,0x2f,0xb8,0x00,0x1d,0x10,0xb8,0x00,0x46,0xd0,0xb8,0x00,0x46,0x2f, +0xb8,0x00,0x15,0x10,0xb8,0x00,0x4e,0xd0,0xb8,0x00,0x53,0x10,0xb8,0x00,0x50,0xd0, +0xb8,0x00,0x50,0x2f,0x00,0xba,0x00,0x52,0x00,0x35,0x00,0x03,0x2b,0xb8,0x00,0x52, +0x10,0xba,0x00,0x19,0x00,0x5f,0x00,0x03,0x2b,0xb8,0x00,0x19,0x10,0xba,0x00,0x57, +0x00,0x3c,0x00,0x03,0x2b,0xb8,0x00,0x57,0x10,0xba,0x00,0x42,0x00,0x4a,0x00,0x03, +0x2b,0xb8,0x00,0x42,0x10,0xba,0x00,0x11,0x00,0x3c,0x00,0x57,0x11,0x12,0x39,0xba, +0x00,0x21,0x00,0x3c,0x00,0x57,0x11,0x12,0x39,0xb8,0x00,0x39,0xd0,0xb8,0x00,0x3c, +0x10,0xb8,0x00,0x3f,0xd0,0x30,0x31,0x01,0x26,0x35,0x34,0x37,0x36,0x37,0x26,0x27, +0x26,0x27,0x35,0x36,0x37,0x36,0x37,0x36,0x37,0x26,0x27,0x26,0x35,0x34,0x3e,0x01, +0x33,0x32,0x1e,0x01,0x15,0x14,0x07,0x06,0x07,0x16,0x17,0x16,0x17,0x16,0x17,0x15, +0x06,0x07,0x06,0x07,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x01,0x21,0x09,0x01, +0x35,0x33,0x35,0x23,0x35,0x23,0x15,0x23,0x15,0x33,0x15,0x13,0x36,0x35,0x34,0x2e, +0x01,0x23,0x22,0x0e,0x01,0x15,0x14,0x17,0x03,0x21,0x01,0x14,0x1e,0x01,0x33,0x32, +0x3e,0x01,0x35,0x34,0x2e,0x01,0x23,0x22,0x0e,0x01,0x02,0xcb,0x1f,0x20,0x08,0x0b, +0x3c,0x24,0x29,0x01,0x01,0x29,0x2b,0x4e,0x1c,0x1e,0x1a,0x11,0x16,0x2d,0x4e,0x2a, +0x29,0x4e,0x2d,0x15,0x10,0x1a,0x1c,0x1d,0x4d,0x2c,0x2a,0x01,0x01,0x2a,0x25,0x3a, +0x0b,0x08,0x1f,0x20,0x02,0x02,0x01,0x1a,0xfc,0x40,0x01,0x0f,0x01,0x0c,0xac,0xac, +0x76,0xac,0xac,0xa2,0x3c,0x2d,0x4d,0x2a,0x2a,0x4d,0x2d,0x3f,0xde,0x02,0x8a,0xfe, +0x4b,0x1d,0x35,0x1d,0x1d,0x36,0x1d,0x1e,0x36,0x1c,0x1d,0x34,0x1e,0x01,0x94,0x35, +0x39,0x3c,0x35,0x11,0x0e,0x26,0x3f,0x48,0x50,0x04,0x50,0x49,0x4b,0x2a,0x0e,0x0a, +0x12,0x1d,0x27,0x29,0x2b,0x4b,0x2a,0x2a,0x4b,0x2b,0x29,0x27,0x1d,0x13,0x09,0x0e, +0x2a,0x4b,0x49,0x50,0x04,0x50,0x48,0x3e,0x26,0x0f,0x11,0x35,0x3c,0x3a,0x36,0x03, +0x04,0xfe,0x75,0x01,0x94,0x01,0x4e,0x7c,0x6c,0x7c,0x7c,0x6c,0x7c,0xfe,0xb2,0x2d, +0x49,0x2b,0x4e,0x29,0x29,0x4e,0x2b,0x40,0x36,0xfe,0xac,0x04,0xfc,0x1d,0x35,0x1c, +0x1c,0x35,0x1d,0x1d,0x35,0x1b,0x1b,0x35,0x00,0x04,0x01,0x51,0x00,0x00,0x05,0xdb, +0x05,0xd8,0x00,0x1e,0x00,0x2a,0x00,0x33,0x00,0x56,0x01,0x15,0xb8,0x00,0x57,0x2f, +0xb8,0x00,0x58,0x2f,0xb8,0x00,0x07,0xdc,0xb8,0x00,0x57,0x10,0xb8,0x00,0x17,0xd0, +0xb8,0x00,0x17,0x2f,0xba,0x00,0x0d,0x00,0x17,0x00,0x07,0x11,0x12,0x39,0xba,0x00, +0x22,0x00,0x17,0x00,0x07,0x11,0x12,0x39,0xb8,0x00,0x3b,0xdc,0x41,0x1b,0x00,0x16, +0x00,0x3b,0x00,0x26,0x00,0x3b,0x00,0x36,0x00,0x3b,0x00,0x46,0x00,0x3b,0x00,0x56, +0x00,0x3b,0x00,0x66,0x00,0x3b,0x00,0x76,0x00,0x3b,0x00,0x86,0x00,0x3b,0x00,0x96, +0x00,0x3b,0x00,0xa6,0x00,0x3b,0x00,0xb6,0x00,0x3b,0x00,0xc6,0x00,0x3b,0x00,0xd6, +0x00,0x3b,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x3b,0x00,0xf5,0x00,0x3b,0x00, +0x02,0x5d,0xb8,0x00,0x2e,0xd0,0xb8,0x00,0x2e,0x2f,0xb8,0x00,0x17,0x10,0xb8,0x00, +0x31,0xd0,0xb8,0x00,0x31,0x2f,0xba,0x00,0x40,0x00,0x17,0x00,0x07,0x11,0x12,0x39, +0xba,0x00,0x41,0x00,0x17,0x00,0x07,0x11,0x12,0x39,0xba,0x00,0x45,0x00,0x17,0x00, +0x07,0x11,0x12,0x39,0xb8,0x00,0x07,0x10,0xb8,0x00,0x4b,0xdc,0xba,0x00,0x50,0x00, +0x17,0x00,0x07,0x11,0x12,0x39,0xba,0x00,0x53,0x00,0x17,0x00,0x07,0x11,0x12,0x39, +0x00,0xb8,0x00,0x03,0x2f,0xb8,0x00,0x07,0x2f,0xba,0x00,0x0d,0x00,0x07,0x00,0x03, +0x11,0x12,0x39,0xba,0x00,0x22,0x00,0x07,0x00,0x03,0x11,0x12,0x39,0xba,0x00,0x40, +0x00,0x07,0x00,0x03,0x11,0x12,0x39,0xba,0x00,0x41,0x00,0x07,0x00,0x03,0x11,0x12, +0x39,0xba,0x00,0x45,0x00,0x07,0x00,0x03,0x11,0x12,0x39,0xba,0x00,0x50,0x00,0x07, +0x00,0x03,0x11,0x12,0x39,0xba,0x00,0x53,0x00,0x07,0x00,0x03,0x11,0x12,0x39,0x30, +0x31,0x01,0x36,0x26,0x37,0x16,0x07,0x00,0x13,0x21,0x26,0x35,0x34,0x00,0x27,0x06, +0x07,0x06,0x07,0x27,0x07,0x26,0x27,0x12,0x27,0x36,0x37,0x2e,0x01,0x37,0x16,0x17, +0x03,0x36,0x3b,0x01,0x06,0x15,0x14,0x2b,0x01,0x22,0x27,0x35,0x03,0x17,0x14,0x07, +0x23,0x22,0x3d,0x01,0x36,0x13,0x26,0x27,0x06,0x16,0x07,0x06,0x07,0x16,0x07,0x16, +0x17,0x37,0x07,0x36,0x37,0x36,0x37,0x16,0x00,0x17,0x14,0x17,0x25,0x02,0x01,0x32, +0x35,0x23,0x36,0x26,0x27,0x06,0x16,0x07,0x03,0x1e,0x0d,0x33,0x5a,0x9a,0x28,0x01, +0xea,0x2d,0xfc,0x36,0x0d,0x01,0x93,0x09,0x5a,0x38,0x2e,0x9e,0x09,0x2c,0x8b,0x1f, +0x5a,0x0e,0x30,0x48,0x15,0x0c,0x26,0x68,0x36,0xa2,0x25,0x60,0x06,0x2b,0x45,0x15, +0x08,0x04,0x06,0x07,0x48,0x0a,0x1c,0x29,0xd8,0x23,0x4d,0x2b,0x3d,0x19,0x3b,0x2c, +0x14,0x5a,0x19,0x67,0x61,0x23,0x87,0x1d,0x69,0x52,0x36,0xfe,0x55,0x02,0x0c,0x03, +0x6b,0x27,0xfe,0x12,0x01,0x04,0x27,0x15,0x4d,0x2e,0x2b,0x12,0x04,0xe8,0x18,0x60, +0x78,0x83,0x81,0xfe,0xbd,0xfc,0x6f,0x38,0x3a,0xa0,0x01,0x2e,0x40,0x73,0x03,0x8e, +0x12,0x16,0x1e,0x2e,0x50,0x01,0x20,0xd3,0x6d,0x7a,0x20,0x22,0x7f,0x1b,0x78,0xfe, +0xeb,0x3f,0x2e,0x23,0x31,0x1e,0x0f,0xfe,0x70,0x23,0x34,0x0f,0x1e,0x17,0x31,0x02, +0xa7,0x60,0x26,0x6a,0x44,0x22,0x61,0x63,0xf2,0xeb,0x4c,0x18,0x48,0x4a,0x0a,0x90, +0x04,0xad,0x95,0xfe,0xcc,0x7e,0x34,0x34,0x01,0x03,0x37,0x01,0x7c,0x01,0x0d,0x83, +0x4a,0x6c,0x4c,0x22,0x00,0x04,0x01,0x30,0xff,0xff,0x05,0xfb,0x05,0xd7,0x00,0x0f, +0x00,0x1f,0x00,0x54,0x00,0x5f,0x01,0x01,0xba,0x00,0x00,0x00,0x2f,0x00,0x03,0x2b, +0xba,0x00,0x40,0x00,0x38,0x00,0x03,0x2b,0xb8,0x00,0x40,0x10,0x41,0x1b,0x00,0x16, +0x00,0x00,0x00,0x26,0x00,0x00,0x00,0x36,0x00,0x00,0x00,0x46,0x00,0x00,0x00,0x56, +0x00,0x00,0x00,0x66,0x00,0x00,0x00,0x76,0x00,0x00,0x00,0x86,0x00,0x00,0x00,0x96, +0x00,0x00,0x00,0xa6,0x00,0x00,0x00,0xb6,0x00,0x00,0x00,0xc6,0x00,0x00,0x00,0xd6, +0x00,0x00,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x00,0x00,0xf5,0x00,0x00,0x00, +0x02,0x5d,0xba,0x00,0x2b,0x00,0x2f,0x00,0x00,0x11,0x12,0x39,0x41,0x1b,0x00,0x16, +0x00,0x40,0x00,0x26,0x00,0x40,0x00,0x36,0x00,0x40,0x00,0x46,0x00,0x40,0x00,0x56, +0x00,0x40,0x00,0x66,0x00,0x40,0x00,0x76,0x00,0x40,0x00,0x86,0x00,0x40,0x00,0x96, +0x00,0x40,0x00,0xa6,0x00,0x40,0x00,0xb6,0x00,0x40,0x00,0xc6,0x00,0x40,0x00,0xd6, +0x00,0x40,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x40,0x00,0xf5,0x00,0x40,0x00, +0x02,0x5d,0xba,0x00,0x34,0x00,0x38,0x00,0x40,0x11,0x12,0x39,0xba,0x00,0x44,0x00, +0x38,0x00,0x40,0x11,0x12,0x39,0x00,0xba,0x00,0x55,0x00,0x21,0x00,0x03,0x2b,0xb8, +0x00,0x55,0x10,0xba,0x00,0x04,0x00,0x5a,0x00,0x03,0x2b,0xb8,0x00,0x04,0x10,0xb8, +0x00,0x21,0x10,0xb8,0x00,0x23,0xd0,0xb8,0x00,0x23,0x2f,0xba,0x00,0x2b,0x00,0x5a, +0x00,0x04,0x11,0x12,0x39,0xba,0x00,0x4d,0x00,0x5a,0x00,0x04,0x11,0x12,0x39,0xb8, +0x00,0x21,0x10,0xb8,0x00,0x54,0xd0,0x30,0x31,0x01,0x14,0x1e,0x01,0x33,0x32,0x3e, +0x01,0x35,0x34,0x2e,0x01,0x23,0x22,0x0e,0x01,0x13,0x14,0x1e,0x01,0x33,0x32,0x3e, +0x01,0x35,0x34,0x2e,0x01,0x23,0x22,0x0e,0x01,0x01,0x15,0x21,0x35,0x07,0x26,0x35, +0x34,0x12,0x37,0x36,0x37,0x26,0x27,0x26,0x35,0x34,0x36,0x37,0x36,0x37,0x26,0x27, +0x26,0x35,0x34,0x3e,0x01,0x33,0x32,0x1e,0x01,0x15,0x14,0x07,0x06,0x07,0x16,0x17, +0x1e,0x01,0x15,0x14,0x07,0x06,0x07,0x16,0x17,0x16,0x12,0x15,0x14,0x07,0x27,0x26, +0x27,0x2e,0x01,0x23,0x22,0x06,0x07,0x06,0x07,0x02,0xbf,0x3a,0x65,0x37,0x39,0x65, +0x38,0x39,0x66,0x37,0x36,0x65,0x3b,0x9b,0x10,0x1c,0x0f,0x10,0x1c,0x10,0x10,0x1d, +0x0f,0x0e,0x1d,0x10,0x02,0x5b,0xfb,0xd9,0x53,0x0b,0xa5,0x92,0x26,0x28,0x1e,0x15, +0x2a,0x55,0x4d,0x1b,0x1d,0x1a,0x0f,0x17,0x2c,0x4e,0x29,0x28,0x4e,0x2d,0x15,0x11, +0x19,0x1b,0x1e,0x4b,0x56,0x29,0x16,0x1e,0x26,0x26,0x93,0xa6,0x0c,0x5c,0x04,0x40, +0x45,0xf5,0x80,0x81,0xf5,0x43,0x41,0x04,0x03,0x89,0x38,0x64,0x38,0x38,0x64,0x38, +0x38,0x67,0x36,0x36,0x67,0x01,0x75,0x10,0x1b,0x0f,0x0f,0x1b,0x10,0x0f,0x1c,0x10, +0x10,0x1c,0xfa,0xbb,0x01,0x01,0x01,0x39,0x3a,0xa0,0x01,0x25,0x4e,0x15,0x0f,0x1d, +0x26,0x4b,0x52,0x53,0x97,0x2a,0x0e,0x0a,0x13,0x1d,0x27,0x2a,0x2a,0x4d,0x2a,0x2a, +0x4d,0x2a,0x2a,0x27,0x1d,0x14,0x09,0x0e,0x2a,0x97,0x53,0x52,0x4b,0x26,0x1d,0x10, +0x14,0x4e,0xfe,0xdb,0xa0,0x3a,0x39,0x84,0x7d,0x71,0x79,0x83,0x83,0x79,0x71,0x7d, +0x00,0x08,0x00,0xc9,0x00,0x00,0x06,0x63,0x05,0xd8,0x00,0x10,0x00,0x21,0x00,0x25, +0x00,0x55,0x00,0x65,0x00,0x69,0x00,0x7a,0x00,0x8b,0x01,0x5f,0xba,0x00,0x0a,0x00, +0x2c,0x00,0x03,0x2b,0xb8,0x00,0x0a,0x10,0xba,0x00,0x23,0x00,0x26,0x00,0x03,0x2b, +0xb8,0x00,0x23,0x10,0xba,0x00,0x21,0x00,0x00,0x00,0x03,0x2b,0xb8,0x00,0x21,0x10, +0xba,0x00,0x55,0x00,0x24,0x00,0x03,0x2b,0xb8,0x00,0x55,0x10,0xba,0x00,0x4f,0x00, +0x17,0x00,0x03,0x2b,0xb8,0x00,0x4f,0x10,0x41,0x1b,0x00,0x16,0x00,0x0a,0x00,0x26, +0x00,0x0a,0x00,0x36,0x00,0x0a,0x00,0x46,0x00,0x0a,0x00,0x56,0x00,0x0a,0x00,0x66, +0x00,0x0a,0x00,0x76,0x00,0x0a,0x00,0x86,0x00,0x0a,0x00,0x96,0x00,0x0a,0x00,0xa6, +0x00,0x0a,0x00,0xb6,0x00,0x0a,0x00,0xc6,0x00,0x0a,0x00,0xd6,0x00,0x0a,0x00,0x0d, +0x5d,0x41,0x05,0x00,0xe5,0x00,0x0a,0x00,0xf5,0x00,0x0a,0x00,0x02,0x5d,0x41,0x05, +0x00,0xea,0x00,0x17,0x00,0xfa,0x00,0x17,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00, +0x17,0x00,0x29,0x00,0x17,0x00,0x39,0x00,0x17,0x00,0x49,0x00,0x17,0x00,0x59,0x00, +0x17,0x00,0x69,0x00,0x17,0x00,0x79,0x00,0x17,0x00,0x89,0x00,0x17,0x00,0x99,0x00, +0x17,0x00,0xa9,0x00,0x17,0x00,0xb9,0x00,0x17,0x00,0xc9,0x00,0x17,0x00,0xd9,0x00, +0x17,0x00,0x0d,0x5d,0xba,0x00,0x33,0x00,0x2c,0x00,0x4f,0x11,0x12,0x39,0xba,0x00, +0x49,0x00,0x2c,0x00,0x4f,0x11,0x12,0x39,0xb8,0x00,0x8d,0xdc,0x00,0xb8,0x00,0x3d, +0x2f,0xba,0x00,0x23,0x00,0x26,0x00,0x03,0x2b,0xb8,0x00,0x23,0x10,0xba,0x00,0x66, +0x00,0x67,0x00,0x03,0x2b,0xb8,0x00,0x66,0x10,0xba,0x00,0x3c,0x00,0x39,0x00,0x03, +0x2b,0xb8,0x00,0x3c,0x10,0xba,0x00,0x0f,0x00,0x22,0x00,0x03,0x2b,0xb8,0x00,0x0f, +0x10,0xba,0x00,0x30,0x00,0x06,0x00,0x03,0x2b,0xb8,0x00,0x30,0x10,0xb8,0x00,0x0f, +0x10,0xb8,0x00,0x11,0xd0,0xb8,0x00,0x06,0x10,0xb8,0x00,0x1b,0xd0,0xba,0x00,0x33, +0x00,0x06,0x00,0x30,0x11,0x12,0x39,0xb8,0x00,0x3c,0x10,0xb8,0x00,0x3f,0xd0,0xb8, +0x00,0x39,0x10,0xb8,0x00,0x41,0xd0,0xba,0x00,0x49,0x00,0x06,0x00,0x30,0x11,0x12, +0x39,0xb8,0x00,0x30,0x10,0xb8,0x00,0x4b,0xd0,0x30,0x31,0x01,0x36,0x37,0x26,0x27, +0x26,0x23,0x22,0x0e,0x01,0x15,0x14,0x16,0x17,0x16,0x17,0x21,0x33,0x21,0x36,0x37, +0x3e,0x01,0x35,0x34,0x2e,0x01,0x23,0x22,0x07,0x06,0x07,0x16,0x17,0x01,0x11,0x21, +0x11,0x01,0x11,0x26,0x27,0x2e,0x01,0x35,0x34,0x3e,0x01,0x33,0x32,0x17,0x35,0x34, +0x36,0x37,0x36,0x37,0x35,0x23,0x35,0x33,0x35,0x33,0x15,0x33,0x15,0x23,0x15,0x16, +0x17,0x1e,0x01,0x1d,0x01,0x36,0x33,0x32,0x1e,0x01,0x15,0x14,0x06,0x07,0x06,0x07, +0x11,0x01,0x14,0x1e,0x01,0x33,0x32,0x3e,0x01,0x35,0x34,0x2e,0x01,0x23,0x22,0x0e, +0x01,0x01,0x15,0x21,0x35,0x37,0x21,0x26,0x27,0x2e,0x01,0x35,0x34,0x3e,0x01,0x33, +0x32,0x17,0x16,0x17,0x06,0x15,0x33,0x34,0x27,0x36,0x37,0x36,0x33,0x32,0x1e,0x01, +0x15,0x14,0x06,0x07,0x06,0x07,0x21,0x03,0x50,0x01,0x02,0x23,0x33,0x4a,0x4e,0x4e, +0x93,0x54,0x52,0x4a,0x16,0x17,0x01,0x57,0x8d,0x01,0x56,0x18,0x16,0x4a,0x51,0x53, +0x93,0x4f,0x4d,0x4a,0x34,0x22,0x02,0x01,0xfe,0x3f,0x02,0xf5,0xfc,0xb9,0x2a,0x26, +0x45,0x6c,0x6e,0xc6,0x68,0x50,0x4c,0x24,0x20,0x0d,0x10,0x6c,0x6c,0x69,0x6c,0x6c, +0x10,0x0d,0x1f,0x25,0x4c,0x4f,0x68,0xc6,0x6e,0x6c,0x44,0x27,0x29,0xfd,0xd6,0x19, +0x2d,0x17,0x18,0x2d,0x18,0x18,0x2d,0x18,0x17,0x2d,0x19,0x01,0xa4,0xfd,0x73,0xce, +0xfe,0xe8,0x12,0x11,0x3d,0x42,0x44,0x77,0x40,0x3e,0x3d,0x29,0x1d,0x02,0xf1,0x02, +0x1d,0x29,0x3d,0x3d,0x41,0x77,0x44,0x42,0x3d,0x12,0x12,0xfe,0xe9,0x03,0xc7,0x03, +0x03,0x2b,0x1c,0x29,0x51,0x95,0x50,0x51,0x92,0x28,0x0e,0x08,0x08,0x0e,0x28,0x92, +0x51,0x50,0x95,0x51,0x29,0x1c,0x2b,0x03,0x03,0xfd,0xb8,0xfe,0xd1,0x01,0x2f,0xfe, +0x81,0x01,0x7f,0x0d,0x16,0x36,0xc4,0x6b,0x6c,0xc5,0x6a,0x1f,0x02,0x24,0x3f,0x12, +0x07,0x04,0x36,0x46,0x57,0x57,0x46,0x36,0x04,0x07,0x12,0x3f,0x24,0x02,0x1f,0x6a, +0xc5,0x6c,0x6b,0xc4,0x36,0x16,0x0d,0xfe,0x81,0x04,0x7d,0x19,0x2b,0x19,0x19,0x2b, +0x19,0x18,0x2d,0x17,0x17,0x2d,0xfc,0xb6,0xc8,0xc8,0xce,0x07,0x0c,0x21,0x79,0x43, +0x42,0x7b,0x43,0x21,0x17,0x24,0x03,0x02,0x02,0x03,0x24,0x17,0x21,0x43,0x7b,0x42, +0x43,0x79,0x21,0x0c,0x07,0x00,0x00,0x03,0x00,0xe2,0x00,0x00,0x06,0x4a,0x05,0xd8, +0x00,0x48,0x00,0x4c,0x00,0x50,0x00,0xb7,0xb8,0x00,0x51,0x2f,0xb8,0x00,0x52,0x2f, +0xb8,0x00,0x51,0x10,0xb8,0x00,0x47,0xd0,0xb8,0x00,0x47,0x2f,0xb8,0x00,0x10,0xd0, +0xb8,0x00,0x10,0x2f,0xb8,0x00,0x52,0x10,0xb8,0x00,0x45,0xdc,0xba,0x00,0x0d,0x00, +0x10,0x00,0x45,0x11,0x12,0x39,0xba,0x00,0x1b,0x00,0x10,0x00,0x45,0x11,0x12,0x39, +0xba,0x00,0x29,0x00,0x10,0x00,0x45,0x11,0x12,0x39,0xba,0x00,0x37,0x00,0x10,0x00, +0x45,0x11,0x12,0x39,0xb8,0x00,0x4a,0xdc,0xb8,0x00,0x47,0x10,0xb8,0x00,0x50,0xdc, +0xb8,0x00,0x4b,0xd0,0xb8,0x00,0x4a,0x10,0xb8,0x00,0x4d,0xd0,0x00,0xba,0x00,0x4d, +0x00,0x46,0x00,0x03,0x2b,0xba,0x00,0x49,0x00,0x4e,0x00,0x03,0x2b,0xb8,0x00,0x49, +0x10,0xba,0x00,0x3e,0x00,0x44,0x00,0x03,0x2b,0xb8,0x00,0x3e,0x10,0xb8,0x00,0x44, +0x10,0xb8,0x00,0x00,0xd0,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x3e,0x10,0xb8,0x00,0x06, +0xd0,0xb8,0x00,0x06,0x2f,0xb8,0x00,0x3e,0x10,0xb8,0x00,0x0e,0xd0,0xb8,0x00,0x0e, +0x2f,0xb8,0x00,0x3e,0x10,0xb8,0x00,0x36,0xd0,0xb8,0x00,0x36,0x2f,0x30,0x31,0x01, +0x26,0x27,0x34,0x3e,0x01,0x33,0x32,0x1e,0x01,0x15,0x06,0x07,0x13,0x03,0x22,0x27, +0x34,0x3e,0x01,0x33,0x32,0x1e,0x01,0x15,0x06,0x07,0x1b,0x01,0x26,0x27,0x34,0x3e, +0x01,0x33,0x32,0x1e,0x01,0x15,0x06,0x07,0x1b,0x01,0x26,0x35,0x34,0x3e,0x01,0x33, +0x32,0x1e,0x01,0x15,0x06,0x07,0x03,0x01,0x26,0x35,0x34,0x3e,0x01,0x33,0x32,0x1e, +0x01,0x15,0x06,0x23,0x03,0x11,0x21,0x11,0x05,0x35,0x21,0x15,0x01,0x35,0x21,0x15, +0x01,0x4d,0x5f,0x0c,0x1d,0x36,0x1d,0x1c,0x36,0x1c,0x04,0x39,0xef,0x34,0x53,0x12, +0x1d,0x35,0x1f,0x1c,0x35,0x1d,0x02,0x2e,0xbd,0x2b,0x43,0x02,0x1e,0x35,0x1b,0x1d, +0x35,0x1e,0x03,0x43,0x26,0xb9,0x2e,0x1d,0x36,0x1b,0x1e,0x36,0x1d,0x0b,0x56,0x5c, +0x01,0x01,0x2b,0x1d,0x35,0x1c,0x1e,0x35,0x1d,0x0d,0x63,0xa0,0xfc,0xa3,0x03,0x24, +0xfd,0x29,0x02,0xd7,0xfd,0x29,0x03,0xfb,0x02,0x5f,0x1c,0x33,0x1c,0x1c,0x33,0x1c, +0x40,0x16,0xfe,0x06,0x02,0xbe,0x5d,0x1c,0x32,0x1c,0x1c,0x32,0x1c,0x2d,0x22,0xfd, +0x14,0x03,0x34,0x1e,0x30,0x1c,0x34,0x1a,0x1a,0x34,0x1c,0x36,0x18,0xfc,0xca,0x02, +0xe4,0x2f,0x2a,0x1b,0x33,0x1c,0x1c,0x33,0x1b,0x55,0x10,0xfd,0x4a,0x02,0x03,0x22, +0x2b,0x1c,0x33,0x1b,0x1b,0x33,0x1c,0x5e,0xfe,0x31,0xfd,0xd1,0x02,0x2f,0xcb,0x4e, +0x4e,0xfe,0xd6,0x4f,0x4f,0x00,0x00,0x04,0x01,0x55,0xff,0xfe,0x05,0xd6,0x05,0xd6, +0x00,0x03,0x00,0x07,0x00,0x25,0x00,0x29,0x00,0xe3,0xba,0x00,0x24,0x00,0x21,0x00, +0x03,0x2b,0xb8,0x00,0x24,0x10,0xba,0x00,0x09,0x00,0x08,0x00,0x03,0x2b,0xb8,0x00, +0x09,0x10,0xba,0x00,0x0e,0x00,0x0b,0x00,0x03,0x2b,0xb8,0x00,0x0e,0x10,0xb8,0x00, +0x0b,0x10,0xb8,0x00,0x00,0xd0,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x24,0x10,0xb8,0x00, +0x02,0xd0,0xb8,0x00,0x02,0x2f,0xb8,0x00,0x0e,0x10,0xb8,0x00,0x15,0xd0,0xb8,0x00, +0x21,0x10,0xb8,0x00,0x17,0xd0,0xb8,0x00,0x24,0x10,0xb8,0x00,0x20,0xdc,0xb8,0x00, +0x19,0xd0,0xb8,0x00,0x0e,0x10,0xb8,0x00,0x2b,0xdc,0x00,0xba,0x00,0x26,0x00,0x16, +0x00,0x03,0x2b,0xb8,0x00,0x26,0x10,0xba,0x00,0x04,0x00,0x27,0x00,0x03,0x2b,0xb8, +0x00,0x04,0x10,0xba,0x00,0x0d,0x00,0x0e,0x00,0x03,0x2b,0xb8,0x00,0x0d,0x10,0xba, +0x00,0x0b,0x00,0x01,0x00,0x03,0x2b,0xb8,0x00,0x0b,0x10,0xb8,0x00,0x0d,0x10,0xb8, +0x00,0x08,0xd0,0xb8,0x00,0x0e,0x10,0xb8,0x00,0x0a,0xd0,0xb8,0x00,0x0a,0x2f,0xb8, +0x00,0x27,0x10,0xb8,0x00,0x15,0xdc,0xb8,0x00,0x18,0xd0,0xb8,0x00,0x0e,0x10,0xb8, +0x00,0x20,0xd0,0xb8,0x00,0x0b,0x10,0xb8,0x00,0x21,0xd0,0xb8,0x00,0x21,0x2f,0xb8, +0x00,0x0d,0x10,0xb8,0x00,0x22,0xd0,0xb8,0x00,0x0e,0x10,0xb8,0x00,0x24,0xd0,0xb8, +0x00,0x24,0x2f,0xb8,0x00,0x0b,0x10,0xb8,0x00,0x25,0xd0,0x30,0x31,0x01,0x35,0x21, +0x15,0x01,0x35,0x21,0x15,0x13,0x21,0x15,0x33,0x35,0x21,0x15,0x23,0x15,0x07,0x11, +0x17,0x15,0x33,0x15,0x21,0x35,0x33,0x35,0x37,0x33,0x11,0x23,0x27,0x35,0x23,0x35, +0x21,0x15,0x33,0x01,0x35,0x21,0x15,0x04,0xd6,0xfd,0x80,0x02,0xca,0xfc,0xec,0xfc, +0x01,0x15,0xab,0x01,0x0e,0x73,0x5c,0x5c,0x73,0xfb,0x7f,0x73,0x5d,0x01,0x01,0x5d, +0x73,0x01,0x09,0xaa,0x02,0x97,0xfb,0xee,0x04,0x84,0x5e,0x5e,0xfc,0x2f,0x6f,0x6f, +0x05,0x23,0x9b,0x9b,0xa2,0x90,0x96,0xfd,0xb7,0x95,0x8f,0xa3,0xa3,0x8f,0x98,0x02, +0x45,0x97,0x90,0xa2,0x9b,0xfa,0xfb,0x37,0x37,0x00,0x00,0x02,0x01,0xb6,0x00,0x00, +0x05,0x76,0x05,0xd8,0x00,0x34,0x00,0x40,0x00,0x6d,0xba,0x00,0x1b,0x00,0x13,0x00, +0x03,0x2b,0xb8,0x00,0x1b,0x10,0x41,0x1b,0x00,0x16,0x00,0x1b,0x00,0x26,0x00,0x1b, +0x00,0x36,0x00,0x1b,0x00,0x46,0x00,0x1b,0x00,0x56,0x00,0x1b,0x00,0x66,0x00,0x1b, +0x00,0x76,0x00,0x1b,0x00,0x86,0x00,0x1b,0x00,0x96,0x00,0x1b,0x00,0xa6,0x00,0x1b, +0x00,0xb6,0x00,0x1b,0x00,0xc6,0x00,0x1b,0x00,0xd6,0x00,0x1b,0x00,0x0d,0x5d,0x41, +0x05,0x00,0xe5,0x00,0x1b,0x00,0xf5,0x00,0x1b,0x00,0x02,0x5d,0xba,0x00,0x0f,0x00, +0x13,0x00,0x1b,0x11,0x12,0x39,0xba,0x00,0x1f,0x00,0x13,0x00,0x1b,0x11,0x12,0x39, +0x00,0xb8,0x00,0x31,0x2f,0x30,0x31,0x01,0x34,0x37,0x36,0x37,0x26,0x27,0x26,0x27, +0x35,0x36,0x37,0x36,0x37,0x36,0x37,0x26,0x27,0x26,0x35,0x34,0x3e,0x01,0x33,0x32, +0x1e,0x01,0x15,0x14,0x07,0x06,0x07,0x16,0x17,0x16,0x17,0x16,0x17,0x15,0x06,0x07, +0x06,0x07,0x16,0x17,0x16,0x15,0x14,0x07,0x01,0x21,0x01,0x26,0x01,0x35,0x33,0x35, +0x23,0x35,0x23,0x15,0x23,0x15,0x33,0x15,0x02,0xac,0x20,0x08,0x0b,0x3c,0x24,0x29, +0x01,0x01,0x29,0x2b,0x4e,0x1c,0x1e,0x1a,0x11,0x16,0x2d,0x4e,0x2a,0x29,0x4e,0x2d, +0x15,0x10,0x1a,0x1c,0x1d,0x4d,0x2c,0x2a,0x01,0x01,0x2a,0x25,0x3a,0x0b,0x08,0x1f, +0x20,0x01,0x16,0xfc,0x40,0x01,0x0f,0x19,0x01,0x25,0xac,0xac,0x76,0xac,0xac,0x02, +0x02,0x3c,0x35,0x11,0x0e,0x26,0x3f,0x48,0x50,0x04,0x50,0x49,0x4b,0x2a,0x0e,0x0a, +0x12,0x1d,0x27,0x29,0x2b,0x4b,0x2a,0x2a,0x4b,0x2b,0x29,0x27,0x1d,0x13,0x09,0x0e, +0x2a,0x4b,0x49,0x50,0x04,0x50,0x48,0x3e,0x26,0x0f,0x11,0x35,0x3c,0x3a,0x36,0xfe, +0x6e,0x01,0x94,0x35,0x01,0x19,0x7c,0x6c,0x7c,0x7c,0x6c,0x7c,0x00,0x04,0x01,0x4c, +0x00,0x00,0x05,0xe0,0x05,0xd8,0x00,0x22,0x00,0x2e,0x00,0x37,0x00,0x3d,0x00,0x57, +0xba,0x00,0x0b,0x00,0x3c,0x00,0x03,0x2b,0xb8,0x00,0x0b,0x10,0xb8,0x00,0x3f,0xdc, +0x00,0xb8,0x00,0x03,0x2f,0xb8,0x00,0x0b,0x2f,0xba,0x00,0x09,0x00,0x0b,0x00,0x03, +0x11,0x12,0x39,0xba,0x00,0x11,0x00,0x0b,0x00,0x03,0x11,0x12,0x39,0xba,0x00,0x15, +0x00,0x0b,0x00,0x03,0x11,0x12,0x39,0xba,0x00,0x16,0x00,0x0b,0x00,0x03,0x11,0x12, +0x39,0xba,0x00,0x2c,0x00,0x0b,0x00,0x03,0x11,0x12,0x39,0xba,0x00,0x38,0x00,0x0b, +0x00,0x03,0x11,0x12,0x39,0x30,0x31,0x01,0x36,0x26,0x37,0x1e,0x01,0x07,0x33,0x14, +0x23,0x00,0x13,0x21,0x26,0x35,0x34,0x00,0x27,0x06,0x27,0x06,0x27,0x37,0x07,0x26, +0x27,0x12,0x27,0x36,0x37,0x36,0x26,0x37,0x16,0x17,0x07,0x15,0x16,0x3b,0x01,0x32, +0x35,0x34,0x37,0x23,0x22,0x07,0x03,0x15,0x14,0x3b,0x01,0x36,0x35,0x27,0x22,0x01, +0x17,0x00,0x13,0x33,0x02,0x03,0x16,0x3d,0x51,0x55,0x55,0x18,0x2b,0x04,0x02,0x02, +0x18,0x2d,0xfc,0x36,0x0d,0x01,0xa2,0x0e,0x45,0x7c,0x5d,0x6b,0x30,0x6b,0x72,0x1b, +0x64,0x0e,0x30,0x63,0x0b,0x47,0x26,0x68,0x38,0xaa,0x04,0x08,0x15,0x45,0x2b,0x06, +0x60,0x25,0x73,0x1c,0x0a,0x48,0x07,0x3e,0x01,0xc9,0x34,0x01,0x77,0x06,0x4d,0x2d, +0x04,0xe6,0x27,0x9f,0x2c,0x51,0x92,0x0f,0x01,0xfe,0xac,0xfc,0x6f,0x38,0x3a,0xa0, +0x01,0x24,0x77,0xae,0x07,0x97,0x05,0x68,0x50,0x1c,0x53,0x01,0x05,0xd3,0x6d,0x68, +0x2a,0x2a,0x7f,0x1b,0x7a,0xff,0x10,0x1e,0x31,0x22,0x30,0x40,0xfe,0x29,0x18,0x1d, +0x0f,0x35,0x22,0x02,0x40,0x59,0xfe,0xf3,0xfd,0x04,0x03,0x52,0x00,0x01,0x01,0x30, +0xff,0xff,0x05,0xfb,0x05,0xd7,0x00,0x30,0x00,0x6d,0xba,0x00,0x1c,0x00,0x14,0x00, +0x03,0x2b,0xb8,0x00,0x1c,0x10,0x41,0x1b,0x00,0x16,0x00,0x1c,0x00,0x26,0x00,0x1c, +0x00,0x36,0x00,0x1c,0x00,0x46,0x00,0x1c,0x00,0x56,0x00,0x1c,0x00,0x66,0x00,0x1c, +0x00,0x76,0x00,0x1c,0x00,0x86,0x00,0x1c,0x00,0x96,0x00,0x1c,0x00,0xa6,0x00,0x1c, +0x00,0xb6,0x00,0x1c,0x00,0xc6,0x00,0x1c,0x00,0xd6,0x00,0x1c,0x00,0x0d,0x5d,0x41, +0x05,0x00,0xe5,0x00,0x1c,0x00,0xf5,0x00,0x1c,0x00,0x02,0x5d,0xba,0x00,0x10,0x00, +0x14,0x00,0x1c,0x11,0x12,0x39,0xba,0x00,0x20,0x00,0x14,0x00,0x1c,0x11,0x12,0x39, +0x00,0xb8,0x00,0x00,0x2f,0x30,0x31,0x05,0x26,0x35,0x34,0x12,0x37,0x36,0x37,0x26, +0x27,0x26,0x35,0x34,0x36,0x37,0x36,0x37,0x26,0x27,0x26,0x35,0x34,0x3e,0x01,0x33, +0x32,0x1e,0x01,0x15,0x14,0x07,0x06,0x07,0x16,0x17,0x1e,0x01,0x15,0x14,0x07,0x06, +0x07,0x16,0x17,0x16,0x12,0x15,0x14,0x07,0x01,0x3b,0x0b,0xa5,0x92,0x26,0x28,0x1e, +0x15,0x2a,0x55,0x4d,0x1b,0x1d,0x1a,0x0f,0x17,0x2c,0x4e,0x29,0x28,0x4e,0x2d,0x15, +0x11,0x19,0x1b,0x1e,0x4b,0x56,0x29,0x16,0x1e,0x26,0x26,0x93,0xa6,0x0c,0x01,0x39, +0x3a,0xa0,0x01,0x25,0x4e,0x15,0x0f,0x1d,0x26,0x4b,0x52,0x53,0x97,0x2a,0x0e,0x0a, +0x13,0x1d,0x27,0x2a,0x2a,0x4d,0x2a,0x2a,0x4d,0x2a,0x2a,0x27,0x1d,0x14,0x09,0x0e, +0x2a,0x97,0x53,0x52,0x4b,0x26,0x1d,0x10,0x14,0x4e,0xfe,0xdb,0xa0,0x3a,0x39,0x00, +0x00,0x01,0x01,0x43,0x00,0x00,0x05,0xe8,0x05,0xd4,0x00,0x23,0x00,0x1f,0xba,0x00, +0x0e,0x00,0x15,0x00,0x03,0x2b,0xb8,0x00,0x0e,0x10,0x00,0xb8,0x00,0x11,0x2f,0xb8, +0x00,0x13,0x2f,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x22,0x2f,0x30,0x31,0x01,0x16,0x13, +0x12,0x17,0x16,0x1d,0x01,0x14,0x07,0x06,0x23,0x22,0x27,0x23,0x15,0x10,0x17,0x23, +0x35,0x36,0x11,0x27,0x23,0x07,0x06,0x23,0x22,0x2f,0x01,0x35,0x34,0x37,0x00,0x3f, +0x01,0x03,0x98,0x5e,0xd8,0xed,0x06,0x27,0xa2,0x35,0x40,0x9a,0x5f,0x2a,0x53,0xd7, +0x55,0x03,0x26,0x2f,0x55,0x7f,0xbb,0x4c,0x09,0xbb,0x01,0x3b,0x59,0x03,0x05,0xd4, +0xa7,0xfe,0xec,0xfe,0xea,0x39,0x55,0x50,0x28,0xa7,0x60,0x16,0xdd,0x0c,0xfe,0xe5, +0x96,0x06,0x97,0x01,0x1d,0x03,0x58,0x85,0xd1,0x49,0x2e,0xb7,0xcb,0x01,0x82,0xa5, +0x03,0x00,0x00,0x02,0x00,0xb9,0x00,0x01,0x06,0x73,0x05,0xd1,0x00,0x18,0x00,0x32, +0x00,0x51,0xb8,0x00,0x33,0x2f,0xb8,0x00,0x34,0x2f,0xb8,0x00,0x0d,0xdc,0xb8,0x00, +0x21,0xdc,0xb8,0x00,0x0a,0xd0,0xb8,0x00,0x0a,0x2f,0xb8,0x00,0x33,0x10,0xb8,0x00, +0x15,0xd0,0xb8,0x00,0x15,0x2f,0xb8,0x00,0x1a,0xdc,0xba,0x00,0x2b,0x00,0x15,0x00, +0x0d,0x11,0x12,0x39,0x00,0xb8,0x00,0x11,0x2f,0xba,0x00,0x08,0x00,0x26,0x00,0x03, +0x2b,0xb8,0x00,0x08,0x10,0xb8,0x00,0x00,0xd0,0xb8,0x00,0x26,0x10,0xb8,0x00,0x2f, +0xd0,0x30,0x31,0x01,0x32,0x13,0x16,0x15,0x32,0x37,0x12,0x33,0x32,0x17,0x16,0x1d, +0x01,0x10,0x07,0x00,0x07,0x23,0x01,0x26,0x35,0x34,0x37,0x36,0x03,0x15,0x14,0x17, +0x01,0x33,0x01,0x36,0x3d,0x01,0x34,0x27,0x26,0x23,0x20,0x03,0x06,0x15,0x23,0x34, +0x27,0x26,0x23,0x22,0x07,0x06,0x02,0x2a,0xda,0x74,0x1c,0x06,0x0d,0x70,0xeb,0xd1, +0x7a,0x26,0xdd,0xfe,0x3d,0x3c,0x06,0xfd,0xa0,0x78,0xc7,0x51,0xe5,0xd0,0x01,0xdb, +0x03,0x02,0x3e,0x68,0xbd,0x47,0x3a,0xfe,0xf8,0x56,0x0a,0x06,0x48,0x65,0xbd,0xae, +0x6b,0x25,0x05,0xd1,0xfe,0xed,0x50,0x18,0x46,0x01,0x35,0xd3,0x4e,0x50,0x0d,0xfe, +0xfe,0xe7,0xfd,0xd9,0x42,0x02,0xed,0xb2,0xb6,0xd2,0x7c,0x2d,0xfe,0x8f,0x10,0xdb, +0xe4,0xfd,0xbc,0x02,0xbb,0xa1,0x97,0x26,0xac,0x70,0x1c,0xfe,0x41,0x26,0x1a,0x4e, +0xd1,0xe0,0xb1,0x46,0x00,0x02,0x01,0x58,0x00,0x00,0x05,0xd2,0x05,0xd4,0x00,0x08, +0x00,0x0d,0x00,0x15,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x04,0x2f,0xba,0x00,0x0b, +0x00,0x04,0x00,0x00,0x11,0x12,0x39,0x30,0x31,0x09,0x01,0x15,0x00,0x07,0x26,0x01, +0x26,0x35,0x09,0x04,0x03,0x96,0x02,0x3c,0xfd,0xe3,0x1f,0x0f,0xfe,0x17,0x46,0x02, +0x3a,0xfe,0x03,0x02,0x01,0x02,0x01,0xfe,0x5e,0x05,0xd4,0xfd,0x1a,0x07,0xfd,0x3b, +0x22,0x0b,0x02,0x80,0x56,0x0d,0x02,0x96,0xfd,0x67,0xfd,0x64,0x02,0x9c,0x02,0x1e, +0x00,0x01,0x00,0xe4,0x00,0x00,0x06,0x47,0x05,0xd4,0x00,0x37,0x00,0x43,0xba,0x00, +0x16,0x00,0x1e,0x00,0x03,0x2b,0xb8,0x00,0x16,0x10,0x00,0xb8,0x00,0x1a,0x2f,0xb8, +0x00,0x1c,0x2f,0xb8,0x00,0x00,0x2f,0xba,0x00,0x08,0x00,0x1a,0x00,0x00,0x11,0x12, +0x39,0xba,0x00,0x16,0x00,0x1a,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x20,0x00,0x1a, +0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x2f,0x00,0x1a,0x00,0x00,0x11,0x12,0x39,0x30, +0x31,0x01,0x32,0x17,0x16,0x17,0x14,0x0f,0x01,0x33,0x36,0x3b,0x01,0x32,0x17,0x16, +0x15,0x14,0x07,0x06,0x07,0x22,0x03,0x23,0x15,0x10,0x17,0x15,0x23,0x27,0x36,0x11, +0x35,0x23,0x02,0x23,0x22,0x27,0x26,0x35,0x34,0x37,0x36,0x3b,0x01,0x32,0x17,0x33, +0x35,0x26,0x27,0x26,0x3d,0x01,0x34,0x37,0x36,0x03,0x97,0xd6,0x65,0x0d,0x03,0x78, +0x3c,0x03,0x4a,0x54,0x13,0xee,0x60,0x17,0xd1,0x28,0x47,0xf2,0x65,0x03,0x52,0xd0, +0x06,0x55,0x03,0x64,0xf5,0xbf,0x66,0x19,0xf6,0x42,0x33,0x09,0x56,0x4e,0x03,0x54, +0x1d,0x3c,0xd7,0x47,0x05,0xd4,0xe3,0x34,0x38,0x75,0xa0,0x3c,0x1c,0xca,0x42,0x3c, +0xcd,0x68,0x0c,0x06,0x01,0x12,0x09,0xfe,0xa9,0x6d,0x06,0x06,0x80,0x01,0x4d,0x03, +0xfe,0xeb,0xc9,0x44,0x3a,0xe9,0x53,0x0c,0x1c,0x03,0x47,0x45,0x6e,0x51,0x0e,0xc9, +0x68,0x13,0x00,0x03,0x01,0x42,0x00,0x01,0x05,0xea,0x05,0xd5,0x00,0x22,0x00,0x3c, +0x00,0x42,0x00,0xad,0xba,0x00,0x27,0x00,0x1e,0x00,0x03,0x2b,0xb8,0x00,0x27,0x10, +0xba,0x00,0x0d,0x00,0x14,0x00,0x03,0x2b,0xb8,0x00,0x0d,0x10,0xba,0x00,0x05,0x00, +0x38,0x00,0x03,0x2b,0xb8,0x00,0x05,0x10,0xba,0x00,0x00,0x00,0x14,0x00,0x0d,0x11, +0x12,0x39,0xba,0x00,0x10,0x00,0x1e,0x00,0x05,0x11,0x12,0x39,0xba,0x00,0x12,0x00, +0x1e,0x00,0x05,0x11,0x12,0x39,0xba,0x00,0x23,0x00,0x14,0x00,0x0d,0x11,0x12,0x39, +0xba,0x00,0x3d,0x00,0x1e,0x00,0x05,0x11,0x12,0x39,0xba,0x00,0x3e,0x00,0x1e,0x00, +0x05,0x11,0x12,0x39,0xb8,0x00,0x44,0xdc,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x10, +0x2f,0xb8,0x00,0x12,0x2f,0xba,0x00,0x34,0x00,0x09,0x00,0x03,0x2b,0xb8,0x00,0x34, +0x10,0xb8,0x00,0x09,0x10,0xb8,0x00,0x18,0xd0,0xba,0x00,0x23,0x00,0x10,0x00,0x00, +0x11,0x12,0x39,0xb8,0x00,0x34,0x10,0xb8,0x00,0x2b,0xd0,0xba,0x00,0x3d,0x00,0x10, +0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x3e,0x00,0x10,0x00,0x00,0x11,0x12,0x39,0x30, +0x31,0x01,0x16,0x01,0x16,0x1d,0x01,0x14,0x07,0x06,0x2b,0x01,0x22,0x27,0x23,0x15, +0x10,0x17,0x23,0x35,0x36,0x11,0x23,0x07,0x06,0x2b,0x01,0x22,0x27,0x26,0x35,0x37, +0x35,0x34,0x37,0x00,0x37,0x06,0x01,0x06,0x15,0x16,0x17,0x16,0x3b,0x01,0x32,0x37, +0x33,0x32,0x17,0x16,0x3b,0x01,0x32,0x37,0x36,0x3d,0x01,0x34,0x27,0x02,0x03,0x33, +0x26,0x27,0x22,0x07,0x03,0x97,0x7e,0x01,0x7f,0x56,0xb5,0x22,0x30,0x16,0x91,0x62, +0x2a,0x53,0xd7,0x56,0x2a,0x38,0x55,0x69,0x16,0xa0,0x51,0x19,0x03,0xce,0x01,0x22, +0x5f,0x7c,0xfe,0xae,0x51,0x0a,0x94,0x16,0x29,0x10,0x77,0x60,0xb7,0x07,0x1f,0x53, +0x67,0x13,0x89,0x41,0x0a,0xcb,0xe6,0x8e,0x3f,0x0d,0x0f,0x06,0x10,0x05,0xd5,0xe1, +0xfe,0x36,0x8b,0x86,0x03,0xd1,0x4e,0x10,0xda,0x0d,0xfe,0xe8,0x9b,0x06,0x97,0x01, +0x23,0x65,0x75,0xae,0x42,0x3f,0x0d,0x03,0xc8,0xd4,0x01,0x67,0x49,0xc7,0xfe,0x6f, +0x82,0x85,0xbb,0x35,0x09,0xda,0x46,0x94,0xa7,0x28,0x1e,0x1f,0xb0,0xcf,0x01,0x1f, +0xfb,0x70,0x17,0x5a,0x52,0x00,0x00,0x01,0x00,0xb6,0x00,0x00,0x06,0x77,0x05,0xd4, +0x00,0x17,0x00,0x19,0x00,0xb8,0x00,0x10,0x2f,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x09, +0x2f,0xba,0x00,0x05,0x00,0x10,0x00,0x00,0x11,0x12,0x39,0x30,0x31,0x01,0x32,0x17, +0x16,0x17,0x33,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x01,0x23,0x01, +0x26,0x35,0x34,0x37,0x36,0x02,0x28,0xcb,0x74,0x2a,0x02,0x03,0x23,0x5c,0x6c,0x87, +0xd1,0x7e,0x20,0xd0,0xfd,0xef,0x06,0xfd,0xce,0xa8,0xc7,0x54,0x05,0xd4,0xeb,0x5d, +0x31,0xa2,0x6b,0x6c,0xe0,0x53,0x49,0xfa,0xe3,0xfd,0x85,0x02,0xb1,0xcd,0xda,0xd3, +0x7c,0x2d,0x00,0x01,0x01,0x58,0x00,0x00,0x05,0xd2,0x05,0xd4,0x00,0x08,0x00,0x0b, +0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x04,0x2f,0x30,0x31,0x09,0x01,0x16,0x15,0x01, +0x26,0x01,0x34,0x37,0x03,0x96,0x01,0xf7,0x45,0xfd,0xc4,0x0c,0xfd,0xce,0x6f,0x05, +0xd4,0xfd,0x73,0x55,0x0d,0xfd,0x1b,0x08,0x02,0xdd,0x0e,0x8a,0x00,0x03,0x00,0xe4, +0x00,0x00,0x06,0x48,0x05,0xdc,0x00,0x32,0x00,0x60,0x00,0x67,0x01,0x1d,0xba,0x00, +0x15,0x00,0x1d,0x00,0x03,0x2b,0xb8,0x00,0x15,0x10,0xba,0x00,0x04,0x00,0x5a,0x00, +0x03,0x2b,0xb8,0x00,0x04,0x10,0xba,0x00,0x0e,0x00,0x4e,0x00,0x03,0x2b,0xb8,0x00, +0x0e,0x10,0xba,0x00,0x07,0x00,0x1d,0x00,0x0e,0x11,0x12,0x39,0xba,0x00,0x19,0x00, +0x1d,0x00,0x0e,0x11,0x12,0x39,0xba,0x00,0x56,0x00,0x1d,0x00,0x0e,0x11,0x12,0x39, +0x41,0x05,0x00,0xea,0x00,0x5a,0x00,0xfa,0x00,0x5a,0x00,0x02,0x5d,0x41,0x1b,0x00, +0x19,0x00,0x5a,0x00,0x29,0x00,0x5a,0x00,0x39,0x00,0x5a,0x00,0x49,0x00,0x5a,0x00, +0x59,0x00,0x5a,0x00,0x69,0x00,0x5a,0x00,0x79,0x00,0x5a,0x00,0x89,0x00,0x5a,0x00, +0x99,0x00,0x5a,0x00,0xa9,0x00,0x5a,0x00,0xb9,0x00,0x5a,0x00,0xc9,0x00,0x5a,0x00, +0xd9,0x00,0x5a,0x00,0x0d,0x5d,0xb8,0x00,0x69,0xdc,0x00,0xb8,0x00,0x19,0x2f,0xb8, +0x00,0x1b,0x2f,0xba,0x00,0x00,0x00,0x5e,0x00,0x03,0x2b,0xb8,0x00,0x00,0x10,0xba, +0x00,0x4a,0x00,0x12,0x00,0x03,0x2b,0xb8,0x00,0x4a,0x10,0xba,0x00,0x29,0x00,0x3a, +0x00,0x03,0x2b,0xb8,0x00,0x29,0x10,0xb8,0x00,0x07,0xd0,0xb8,0x00,0x07,0x2f,0xb8, +0x00,0x29,0x10,0xb8,0x00,0x09,0xd0,0xb8,0x00,0x12,0x10,0xb8,0x00,0x21,0xd0,0xb8, +0x00,0x29,0x10,0xb8,0x00,0x2c,0xd0,0xb8,0x00,0x2c,0x2f,0xb8,0x00,0x3a,0x10,0xb8, +0x00,0x37,0xd0,0xb8,0x00,0x37,0x2f,0xb8,0x00,0x4a,0x10,0xb8,0x00,0x41,0xd0,0xb8, +0x00,0x3a,0x10,0xb8,0x00,0x51,0xd0,0xb8,0x00,0x51,0x2f,0xb8,0x00,0x3a,0x10,0xb8, +0x00,0x53,0xd0,0xb8,0x00,0x3a,0x10,0xb8,0x00,0x55,0xd0,0xb8,0x00,0x55,0x2f,0xba, +0x00,0x56,0x00,0x3a,0x00,0x37,0x11,0x12,0x39,0x30,0x31,0x01,0x32,0x17,0x16,0x15, +0x14,0x0f,0x01,0x36,0x3b,0x01,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x22,0x03, +0x23,0x15,0x10,0x17,0x15,0x23,0x27,0x36,0x11,0x35,0x23,0x02,0x23,0x22,0x27,0x26, +0x35,0x34,0x37,0x36,0x3b,0x01,0x32,0x17,0x26,0x27,0x35,0x34,0x37,0x36,0x03,0x14, +0x1f,0x01,0x15,0x26,0x2b,0x01,0x22,0x0f,0x01,0x14,0x17,0x16,0x33,0x32,0x13,0x36, +0x37,0x33,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x3d,0x01,0x34,0x2f,0x01,0x23,0x22, +0x07,0x35,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x07,0x01,0x14,0x07,0x33, +0x35,0x26,0x35,0x03,0x9b,0xcb,0x68,0x19,0x72,0x16,0x1f,0x3d,0x29,0xf8,0x5c,0x10, +0xd2,0x22,0x49,0xf1,0x66,0x03,0x52,0xd1,0x06,0x55,0x03,0x64,0xf6,0xc0,0x67,0x19, +0xf7,0x43,0x33,0x26,0x3d,0x1f,0x63,0x1c,0xd8,0x47,0xf0,0xa9,0x0c,0x6b,0x76,0x09, +0xf3,0x3d,0x07,0x88,0x3d,0x4e,0xd2,0x72,0x10,0x16,0x07,0x25,0x53,0x5a,0x9e,0xa8, +0x55,0x0c,0xfd,0x36,0x06,0x76,0x6b,0x81,0x20,0x1a,0xbb,0x36,0x29,0xb8,0x53,0x01, +0x07,0x1c,0x3c,0x1c,0x05,0xdc,0xce,0x46,0x39,0x84,0xa6,0x17,0x06,0xd7,0x38,0x3a, +0xd3,0x64,0x0c,0x07,0x01,0x14,0x09,0xfe,0xa7,0x6d,0x06,0x06,0x80,0x01,0x4f,0x04, +0xfe,0xe8,0xcb,0x45,0x3a,0xeb,0x52,0x0c,0x06,0x70,0xb1,0x26,0xcb,0x69,0x13,0xfe, +0xb3,0x9b,0xcc,0x0c,0x03,0x09,0xd4,0x43,0x94,0x5d,0x26,0x01,0x27,0x1b,0x41,0x78, +0x86,0x85,0xbe,0x2e,0x2b,0x06,0xde,0x30,0x03,0x09,0x03,0x89,0x6e,0x4d,0x2c,0xb6, +0x57,0x10,0xc8,0xfb,0xce,0x1c,0x60,0x03,0x63,0x16,0x00,0x04,0x00,0xd8,0xff,0xfe, +0x06,0x54,0x05,0xd4,0x00,0x0e,0x00,0x1d,0x00,0x2c,0x00,0x4c,0x01,0x23,0xba,0x00, +0x40,0x00,0x38,0x00,0x03,0x2b,0xb8,0x00,0x40,0x10,0xba,0x00,0x13,0x00,0x1b,0x00, +0x03,0x2b,0xb8,0x00,0x13,0x10,0xba,0x00,0x30,0x00,0x48,0x00,0x03,0x2b,0xb8,0x00, +0x30,0x10,0x41,0x1b,0x00,0x16,0x00,0x13,0x00,0x26,0x00,0x13,0x00,0x36,0x00,0x13, +0x00,0x46,0x00,0x13,0x00,0x56,0x00,0x13,0x00,0x66,0x00,0x13,0x00,0x76,0x00,0x13, +0x00,0x86,0x00,0x13,0x00,0x96,0x00,0x13,0x00,0xa6,0x00,0x13,0x00,0xb6,0x00,0x13, +0x00,0xc6,0x00,0x13,0x00,0xd6,0x00,0x13,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00, +0x13,0x00,0xf5,0x00,0x13,0x00,0x02,0x5d,0xb8,0x00,0x1b,0x10,0xb8,0x00,0x22,0xdc, +0xba,0x00,0x3c,0x00,0x38,0x00,0x30,0x11,0x12,0x39,0x41,0x1b,0x00,0x16,0x00,0x40, +0x00,0x26,0x00,0x40,0x00,0x36,0x00,0x40,0x00,0x46,0x00,0x40,0x00,0x56,0x00,0x40, +0x00,0x66,0x00,0x40,0x00,0x76,0x00,0x40,0x00,0x86,0x00,0x40,0x00,0x96,0x00,0x40, +0x00,0xa6,0x00,0x40,0x00,0xb6,0x00,0x40,0x00,0xc6,0x00,0x40,0x00,0xd6,0x00,0x40, +0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x40,0x00,0xf5,0x00,0x40,0x00,0x02,0x5d, +0x41,0x05,0x00,0xea,0x00,0x48,0x00,0xfa,0x00,0x48,0x00,0x02,0x5d,0x41,0x1b,0x00, +0x19,0x00,0x48,0x00,0x29,0x00,0x48,0x00,0x39,0x00,0x48,0x00,0x49,0x00,0x48,0x00, +0x59,0x00,0x48,0x00,0x69,0x00,0x48,0x00,0x79,0x00,0x48,0x00,0x89,0x00,0x48,0x00, +0x99,0x00,0x48,0x00,0xa9,0x00,0x48,0x00,0xb9,0x00,0x48,0x00,0xc9,0x00,0x48,0x00, +0xd9,0x00,0x48,0x00,0x0d,0x5d,0xb8,0x00,0x30,0x10,0xb8,0x00,0x4e,0xdc,0x00,0xb8, +0x00,0x0f,0x2f,0xba,0x00,0x44,0x00,0x34,0x00,0x03,0x2b,0xb8,0x00,0x44,0x10,0x30, +0x31,0x01,0x33,0x14,0x06,0x07,0x14,0x16,0x17,0x23,0x26,0x27,0x26,0x27,0x26,0x36, +0x25,0x33,0x14,0x06,0x07,0x14,0x16,0x13,0x23,0x26,0x27,0x26,0x27,0x26,0x36,0x05, +0x33,0x14,0x06,0x07,0x14,0x16,0x17,0x23,0x26,0x27,0x26,0x27,0x26,0x36,0x13,0x1e, +0x01,0x15,0x14,0x06,0x04,0x23,0x22,0x24,0x26,0x35,0x34,0x36,0x37,0x33,0x06,0x07, +0x06,0x15,0x14,0x16,0x04,0x33,0x32,0x24,0x36,0x35,0x34,0x27,0x26,0x27,0x02,0x76, +0x0d,0x91,0x02,0xcc,0x07,0x0d,0x1d,0xa3,0x30,0x0f,0x05,0xaa,0x01,0x41,0x0d,0x92, +0x02,0xcd,0x06,0x0d,0x1d,0xa2,0x31,0x0f,0x04,0xaa,0x01,0x59,0x0d,0x92,0x02,0xcd, +0x06,0x0d,0x1c,0xa3,0x31,0x0f,0x04,0xaa,0x2c,0xa8,0xbe,0xb9,0xfe,0xb1,0xb6,0xb6, +0xfe,0xb1,0xb9,0xbd,0xa8,0x03,0x83,0x4b,0x56,0xa7,0x01,0x2e,0xa5,0xa5,0x01,0x2f, +0xa6,0x56,0x4c,0x83,0x05,0x39,0x3f,0x9b,0x63,0x82,0x79,0xc9,0xa6,0x74,0x33,0x5a, +0x7c,0x8c,0xed,0x60,0xed,0x97,0xc5,0xbb,0xfe,0xce,0xfb,0xb2,0x4e,0x8b,0xbd,0xd6, +0x5b,0x4f,0xc4,0x7d,0xa1,0x9a,0xfd,0xd0,0x91,0x42,0x72,0x9b,0xb1,0xfe,0x1e,0x31, +0xb1,0x61,0x60,0xb0,0x62,0x62,0xb0,0x60,0x61,0xb1,0x31,0x29,0x45,0x4d,0x54,0x54, +0x98,0x55,0x55,0x98,0x54,0x54,0x4d,0x45,0x29,0x00,0x00,0x01,0x00,0xac,0xff,0xf6, +0x02,0xb7,0x05,0xd5,0x00,0x11,0x00,0x25,0xba,0x00,0x03,0x00,0x10,0x00,0x03,0x2b, +0xb8,0x00,0x03,0x10,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x02,0x2f,0xb8,0x00,0x06, +0x2f,0xba,0x00,0x10,0x00,0x06,0x00,0x00,0x11,0x12,0x39,0x30,0x31,0x01,0x33,0x17, +0x11,0x14,0x0f,0x01,0x23,0x22,0x2f,0x01,0x34,0x3f,0x01,0x32,0x17,0x33,0x11,0x02, +0x68,0x48,0x07,0xc4,0x30,0x23,0xd4,0x1c,0x04,0xd3,0x21,0x63,0x5a,0x04,0x05,0xd5, +0x08,0xfa,0xfd,0xa3,0x2d,0x04,0x85,0x1f,0x82,0x18,0x05,0x40,0x04,0xd4,0x00,0x01, +0x00,0xac,0xff,0xf6,0x04,0x6f,0x05,0xd5,0x00,0x1d,0x00,0x33,0xba,0x00,0x12,0x00, +0x1c,0x00,0x03,0x2b,0xb8,0x00,0x12,0x10,0xb8,0x00,0x02,0xd0,0x00,0xb8,0x00,0x00, +0x2f,0xb8,0x00,0x02,0x2f,0xb8,0x00,0x14,0x2f,0xba,0x00,0x11,0x00,0x14,0x00,0x00, +0x11,0x12,0x39,0xba,0x00,0x1c,0x00,0x14,0x00,0x00,0x11,0x12,0x39,0x30,0x31,0x01, +0x33,0x17,0x15,0x16,0x17,0x16,0x15,0x14,0x07,0x23,0x27,0x36,0x35,0x34,0x27,0x26, +0x27,0x11,0x14,0x07,0x23,0x22,0x35,0x34,0x37,0x33,0x32,0x17,0x11,0x02,0x58,0x57, +0x08,0x1b,0xad,0xf0,0x7a,0x04,0x1e,0x3d,0xe4,0x5c,0x19,0xe0,0x39,0xf2,0xd4,0x17, +0x60,0x59,0x05,0xd5,0x07,0x27,0x36,0x3f,0x46,0x8a,0x92,0x60,0x20,0x31,0x54,0x46, +0x47,0x2a,0x1a,0xfb,0xd6,0x99,0x2d,0xa8,0x83,0x17,0x40,0x04,0xd6,0x00,0x00,0x01, +0x01,0x78,0xff,0x2f,0x05,0xb3,0x05,0xd5,0x00,0x1e,0x00,0x65,0xb8,0x00,0x1f,0x2f, +0xb8,0x00,0x20,0x2f,0xb8,0x00,0x1f,0x10,0xb8,0x00,0x1d,0xd0,0xb8,0x00,0x1d,0x2f, +0xb8,0x00,0x00,0xd0,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x20,0x10,0xb8,0x00,0x03,0xdc, +0xb8,0x00,0x01,0xd0,0xb8,0x00,0x01,0x2f,0xb8,0x00,0x03,0x10,0xb8,0x00,0x0e,0xdc, +0xb8,0x00,0x1d,0x10,0xb8,0x00,0x11,0xdc,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x05, +0x2f,0xba,0x00,0x0e,0x00,0x05,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x10,0x00,0x05, +0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x1d,0x00,0x05,0x00,0x00,0x11,0x12,0x39,0x30, +0x31,0x01,0x05,0x17,0x11,0x14,0x07,0x23,0x22,0x3d,0x01,0x34,0x3f,0x01,0x32,0x17, +0x11,0x25,0x11,0x14,0x0f,0x01,0x23,0x22,0x3d,0x01,0x34,0x3f,0x01,0x32,0x17,0x11, +0x02,0xfd,0x02,0xb3,0x03,0xc0,0x36,0xd5,0xb1,0x27,0x56,0x51,0xfd,0xdc,0x96,0x43, +0x1a,0xd8,0xaa,0x2b,0x59,0x50,0x05,0xd5,0xca,0x04,0xfa,0xed,0x9b,0x2a,0xa4,0x04, +0x7e,0x16,0x03,0x3a,0x04,0x0b,0xa9,0xfb,0xdb,0x89,0x38,0x08,0x9b,0x07,0x7a,0x22, +0x04,0x43,0x04,0xd3,0x00,0x02,0x00,0xbc,0xff,0xf6,0x06,0x6f,0x05,0xd5,0x00,0x18, +0x00,0x1c,0x00,0x8b,0xb8,0x00,0x1d,0x2f,0xb8,0x00,0x1e,0x2f,0xb8,0x00,0x02,0xdc, +0xb8,0x00,0x00,0xd0,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x02,0x10,0xb8,0x00,0x0b,0xdc, +0xb8,0x00,0x1d,0x10,0xb8,0x00,0x17,0xd0,0xb8,0x00,0x17,0x2f,0xb8,0x00,0x0e,0xdc, +0xb8,0x00,0x19,0xd0,0xb8,0x00,0x0b,0x10,0xb8,0x00,0x1b,0xd0,0x00,0xba,0x00,0x15, +0x00,0x11,0x00,0x03,0x2b,0xb8,0x00,0x15,0x10,0xba,0x00,0x18,0x00,0x19,0x00,0x03, +0x2b,0xb8,0x00,0x18,0x10,0xba,0x00,0x1b,0x00,0x0c,0x00,0x03,0x2b,0xb8,0x00,0x1b, +0x10,0xb8,0x00,0x11,0x10,0xb8,0x00,0x04,0xd0,0xb8,0x00,0x04,0x2f,0xb8,0x00,0x15, +0x10,0xb8,0x00,0x08,0xd0,0xb8,0x00,0x08,0x2f,0xba,0x00,0x0b,0x00,0x11,0x00,0x15, +0x11,0x12,0x39,0xba,0x00,0x17,0x00,0x11,0x00,0x15,0x11,0x12,0x39,0x30,0x31,0x01, +0x17,0x11,0x14,0x05,0x22,0x27,0x34,0x37,0x32,0x17,0x33,0x11,0x21,0x11,0x06,0x07, +0x23,0x20,0x35,0x34,0x37,0x32,0x17,0x11,0x17,0x15,0x21,0x35,0x06,0x6b,0x04,0xfe, +0xfb,0xe9,0x12,0xe9,0x6d,0x4f,0x03,0xfc,0xa5,0x08,0xf2,0x04,0xfe,0xfe,0xec,0x64, +0x58,0x58,0x03,0x5b,0x05,0xd5,0x04,0xfb,0x12,0xd5,0x15,0xa4,0x8a,0x0e,0x3b,0x02, +0x95,0xfd,0x5a,0xcf,0x24,0xb1,0x7d,0x10,0x40,0x04,0xe1,0xcf,0x9c,0x9c,0x00,0x02, +0x00,0xb5,0xff,0xfa,0x03,0x22,0x05,0xd9,0x00,0x0c,0x00,0x13,0x00,0x9d,0xba,0x00, +0x0e,0x00,0x0b,0x00,0x03,0x2b,0xb8,0x00,0x0e,0x10,0xba,0x00,0x08,0x00,0x10,0x00, +0x03,0x2b,0xb8,0x00,0x08,0x10,0xb8,0x00,0x0e,0x10,0xb8,0x00,0x02,0xd0,0xba,0x00, +0x04,0x00,0x0b,0x00,0x08,0x11,0x12,0x39,0x41,0x05,0x00,0xea,0x00,0x10,0x00,0xfa, +0x00,0x10,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x10,0x00,0x29,0x00,0x10,0x00, +0x39,0x00,0x10,0x00,0x49,0x00,0x10,0x00,0x59,0x00,0x10,0x00,0x69,0x00,0x10,0x00, +0x79,0x00,0x10,0x00,0x89,0x00,0x10,0x00,0x99,0x00,0x10,0x00,0xa9,0x00,0x10,0x00, +0xb9,0x00,0x10,0x00,0xc9,0x00,0x10,0x00,0xd9,0x00,0x10,0x00,0x0d,0x5d,0xb8,0x00, +0x08,0x10,0xb8,0x00,0x15,0xdc,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x02,0x2f,0xb8, +0x00,0x0a,0x2f,0xba,0x00,0x06,0x00,0x12,0x00,0x03,0x2b,0xb8,0x00,0x06,0x10,0xba, +0x00,0x04,0x00,0x0a,0x00,0x00,0x11,0x12,0x39,0x30,0x31,0x13,0x33,0x17,0x11,0x33, +0x36,0x33,0x16,0x13,0x02,0x05,0x27,0x11,0x13,0x11,0x24,0x11,0x36,0x27,0x22,0xbb, +0x2d,0x05,0x03,0xaa,0x91,0xe3,0x14,0x1d,0xfd,0xb3,0x03,0x38,0x01,0xa2,0x0d,0xa1, +0x77,0x05,0xd9,0x06,0xfc,0x3f,0xed,0x03,0xfe,0xff,0xfe,0x57,0x58,0x03,0x05,0xd6, +0xfb,0xd4,0xfe,0x9d,0x63,0x01,0x31,0xac,0x09,0x00,0x00,0x02,0x00,0xac,0x00,0x00, +0x02,0x30,0x05,0xd9,0x00,0x0d,0x00,0x13,0x00,0xab,0xb8,0x00,0x14,0x2f,0xb8,0x00, +0x15,0x2f,0xb8,0x00,0x14,0x10,0xb8,0x00,0x0c,0xd0,0xb8,0x00,0x0c,0x2f,0xb8,0x00, +0x00,0xd0,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x0c,0x10,0xb8,0x00,0x0f,0xdc,0xb8,0x00, +0x01,0xd0,0xb8,0x00,0x01,0x2f,0xb8,0x00,0x0f,0x10,0xb8,0x00,0x03,0xd0,0xb8,0x00, +0x15,0x10,0xb8,0x00,0x06,0xdc,0xb8,0x00,0x04,0xd0,0xb8,0x00,0x04,0x2f,0xb8,0x00, +0x06,0x10,0xb8,0x00,0x09,0xdc,0xb8,0x00,0x11,0xd0,0xb8,0x00,0x09,0x10,0xb8,0x00, +0x13,0xd0,0xb8,0x00,0x13,0x2f,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x02,0x2f,0xb8, +0x00,0x07,0x2f,0xb8,0x00,0x09,0x2f,0xba,0x00,0x03,0x00,0x07,0x00,0x00,0x11,0x12, +0x39,0xba,0x00,0x05,0x00,0x07,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x0a,0x00,0x07, +0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x0c,0x00,0x07,0x00,0x00,0x11,0x12,0x39,0xba, +0x00,0x10,0x00,0x07,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x13,0x00,0x07,0x00,0x00, +0x11,0x12,0x39,0x30,0x31,0x13,0x33,0x17,0x11,0x25,0x17,0x11,0x07,0x23,0x27,0x11, +0x05,0x23,0x11,0x13,0x11,0x33,0x25,0x11,0x23,0xb1,0x29,0x06,0x01,0x4e,0x02,0x04, +0x28,0x05,0xfe,0xaf,0x02,0x34,0x02,0x01,0x1d,0x02,0x05,0xd9,0x05,0xfe,0x2f,0xa1, +0x02,0xfb,0x63,0x05,0x05,0x01,0xe5,0xa0,0x04,0x8a,0xfd,0x99,0xfe,0x7d,0x90,0x01, +0x7f,0x00,0x00,0x02,0x00,0xad,0x00,0x00,0x03,0x34,0x05,0xd9,0x00,0x28,0x00,0x2c, +0x01,0x3d,0xba,0x00,0x13,0x00,0x1a,0x00,0x03,0x2b,0xb8,0x00,0x13,0x10,0xba,0x00, +0x0e,0x00,0x11,0x00,0x03,0x2b,0xb8,0x00,0x0e,0x10,0xb8,0x00,0x02,0xd0,0xb8,0x00, +0x11,0x10,0xb8,0x00,0x0b,0xdc,0xba,0x00,0x03,0x00,0x11,0x00,0x0b,0x11,0x12,0x39, +0xb8,0x00,0x05,0xd0,0xb8,0x00,0x0e,0x10,0xb8,0x00,0x08,0xd0,0xba,0x00,0x09,0x00, +0x11,0x00,0x0b,0x11,0x12,0x39,0xb8,0x00,0x13,0x10,0xb8,0x00,0x17,0xdc,0xba,0x00, +0x18,0x00,0x1a,0x00,0x13,0x11,0x12,0x39,0xb8,0x00,0x1c,0xd0,0xba,0x00,0x1e,0x00, +0x1a,0x00,0x13,0x11,0x12,0x39,0xb8,0x00,0x1a,0x10,0xb8,0x00,0x1f,0xd0,0xb8,0x00, +0x17,0x10,0xb8,0x00,0x21,0xd0,0xb8,0x00,0x13,0x10,0xb8,0x00,0x25,0xd0,0xb8,0x00, +0x14,0x10,0xb8,0x00,0x26,0xd0,0xb8,0x00,0x11,0x10,0xb8,0x00,0x27,0xd0,0xb8,0x00, +0x11,0x10,0xb8,0x00,0x2b,0xd0,0xb8,0x00,0x28,0xd0,0xb8,0x00,0x13,0x10,0xb8,0x00, +0x29,0xd0,0xb8,0x00,0x14,0x10,0xb8,0x00,0x2a,0xd0,0xba,0x00,0x2c,0x00,0x1a,0x00, +0x0b,0x11,0x12,0x39,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x02,0x2f,0xb8,0x00,0x15, +0x2f,0xb8,0x00,0x17,0x2f,0xba,0x00,0x03,0x00,0x15,0x00,0x00,0x11,0x12,0x39,0xba, +0x00,0x05,0x00,0x15,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x09,0x00,0x15,0x00,0x00, +0x11,0x12,0x39,0xba,0x00,0x0a,0x00,0x15,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x12, +0x00,0x15,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x18,0x00,0x15,0x00,0x00,0x11,0x12, +0x39,0xba,0x00,0x19,0x00,0x15,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x1e,0x00,0x15, +0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x1f,0x00,0x15,0x00,0x00,0x11,0x12,0x39,0xba, +0x00,0x26,0x00,0x15,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x2a,0x00,0x15,0x00,0x00, +0x11,0x12,0x39,0xba,0x00,0x2c,0x00,0x15,0x00,0x00,0x11,0x12,0x39,0x30,0x31,0x01, +0x33,0x17,0x11,0x37,0x17,0x15,0x06,0x07,0x11,0x37,0x15,0x06,0x07,0x11,0x07,0x23, +0x27,0x11,0x05,0x11,0x07,0x23,0x27,0x11,0x07,0x35,0x34,0x37,0x11,0x23,0x07,0x35, +0x37,0x11,0x37,0x33,0x17,0x11,0x25,0x11,0x01,0x11,0x25,0x11,0x02,0x87,0x2e,0x05, +0x77,0x03,0x03,0x77,0x7a,0x01,0x79,0x05,0x2e,0x05,0xfe,0xe0,0x05,0x2a,0x05,0x81, +0x81,0x02,0x7f,0x81,0x05,0x2a,0x05,0x01,0x20,0xfe,0xe0,0x01,0x20,0x05,0xd9,0x05, +0xfe,0xd0,0x3c,0x02,0x8d,0x07,0x3c,0xfe,0x8b,0x37,0x87,0x04,0x43,0xfe,0xd7,0x04, +0x04,0x01,0x11,0x8c,0xfe,0xa6,0x04,0x04,0x01,0x41,0x3c,0x8e,0x06,0x3c,0x01,0x7b, +0x38,0x8b,0x41,0x01,0x1f,0x04,0x04,0xfe,0xfa,0x86,0x01,0x4d,0xfd,0x96,0xfe,0x87, +0x8b,0x01,0x74,0x00,0x00,0x01,0x00,0xac,0x00,0x00,0x05,0x50,0x05,0xd9,0x00,0x47, +0x00,0x63,0xba,0x00,0x36,0x00,0x00,0x00,0x03,0x2b,0xb8,0x00,0x36,0x10,0xb8,0x00, +0x00,0x10,0xb8,0x00,0x12,0xd0,0xb8,0x00,0x36,0x10,0xb8,0x00,0x23,0xd0,0x00,0xb8, +0x00,0x18,0x2f,0xb8,0x00,0x1d,0x2f,0xb8,0x00,0x3c,0x2f,0xb8,0x00,0x41,0x2f,0xba, +0x00,0x0f,0x00,0x03,0x00,0x03,0x2b,0xb8,0x00,0x0f,0x10,0xba,0x00,0x12,0x00,0x00, +0x00,0x03,0x2b,0xb8,0x00,0x12,0x10,0xb8,0x00,0x24,0xd0,0xb8,0x00,0x0f,0x10,0xb8, +0x00,0x27,0xd0,0xb8,0x00,0x03,0x10,0xb8,0x00,0x32,0xd0,0xb8,0x00,0x00,0x10,0xb8, +0x00,0x35,0xd0,0x30,0x31,0x01,0x23,0x26,0x07,0x23,0x22,0x27,0x35,0x36,0x35,0x34, +0x27,0x35,0x36,0x37,0x33,0x16,0x3b,0x01,0x35,0x34,0x27,0x35,0x36,0x37,0x33,0x16, +0x33,0x32,0x37,0x33,0x16,0x17,0x15,0x06,0x1d,0x01,0x33,0x32,0x37,0x33,0x16,0x17, +0x15,0x06,0x15,0x14,0x17,0x15,0x06,0x2b,0x01,0x26,0x07,0x23,0x11,0x14,0x17,0x15, +0x06,0x07,0x23,0x26,0x23,0x22,0x07,0x23,0x26,0x27,0x35,0x36,0x35,0x02,0xb6,0xa8, +0xb6,0x51,0x38,0x18,0x0b,0x63,0x63,0x02,0x20,0x39,0x53,0xb5,0xa7,0x83,0x03,0x1d, +0x3a,0x2d,0x46,0x46,0x2d,0x3a,0x1d,0x03,0x83,0xa3,0xb5,0x53,0x38,0x21,0x02,0x63, +0x63,0x0b,0x19,0x37,0x51,0xb6,0xa4,0x83,0x03,0x1d,0x3a,0x2d,0x46,0x46,0x2d,0x3a, +0x1d,0x03,0x83,0x03,0x11,0x01,0x5b,0x23,0x3b,0x31,0x37,0x46,0x2d,0x3a,0x1d,0x03, +0x83,0xaf,0xb5,0x53,0x38,0x21,0x02,0x63,0x63,0x02,0x21,0x38,0x53,0xb5,0xaf,0x83, +0x03,0x1d,0x3a,0x2d,0x46,0x37,0x31,0x3b,0x23,0x5b,0x01,0xfe,0x52,0xb5,0x53,0x39, +0x20,0x02,0x63,0x63,0x02,0x20,0x39,0x53,0xb5,0x00,0x00,0x06,0x00,0x84,0x00,0x00, +0x05,0x9c,0x05,0xd9,0x00,0x06,0x00,0x0d,0x00,0x14,0x00,0x1b,0x00,0x3b,0x00,0x47, +0x01,0x29,0xb8,0x00,0x48,0x2f,0xb8,0x00,0x49,0x2f,0xb8,0x00,0x25,0xdc,0xb8,0x00, +0x0e,0xd0,0xb8,0x00,0x0e,0x2f,0xb8,0x00,0x48,0x10,0xb8,0x00,0x2b,0xd0,0xb8,0x00, +0x2b,0x2f,0xb8,0x00,0x12,0xd0,0xb8,0x00,0x12,0x2f,0xb8,0x00,0x2b,0x10,0xb8,0x00, +0x41,0xdc,0xb8,0x00,0x13,0xd0,0xb8,0x00,0x13,0x2f,0xb8,0x00,0x25,0x10,0xb8,0x00, +0x42,0xdc,0xb8,0x00,0x14,0xd0,0xb8,0x00,0x14,0x2f,0xb8,0x00,0x42,0x10,0xb8,0x00, +0x15,0xd0,0xb8,0x00,0x15,0x2f,0xb8,0x00,0x41,0x10,0xb8,0x00,0x16,0xd0,0xb8,0x00, +0x16,0x2f,0xb8,0x00,0x2b,0x10,0xb8,0x00,0x17,0xd0,0xb8,0x00,0x17,0x2f,0xb8,0x00, +0x25,0x10,0xb8,0x00,0x1b,0xd0,0xb8,0x00,0x1b,0x2f,0xb8,0x00,0x25,0x10,0xb8,0x00, +0x1c,0xd0,0xb8,0x00,0x2b,0x10,0xb8,0x00,0x34,0xd0,0xb8,0x00,0x41,0x10,0xb8,0x00, +0x3c,0xd0,0xb8,0x00,0x42,0x10,0xb8,0x00,0x46,0xd0,0x00,0xb8,0x00,0x38,0x2f,0xb8, +0x00,0x28,0x2f,0xba,0x00,0x33,0x00,0x06,0x00,0x03,0x2b,0xb8,0x00,0x33,0x10,0xba, +0x00,0x44,0x00,0x24,0x00,0x03,0x2b,0xb8,0x00,0x44,0x10,0xb8,0x00,0x33,0x10,0xb8, +0x00,0x1c,0xd0,0xba,0x00,0x1e,0x00,0x28,0x00,0x38,0x11,0x12,0x39,0xba,0x00,0x22, +0x00,0x28,0x00,0x38,0x11,0x12,0x39,0xba,0x00,0x26,0x00,0x28,0x00,0x38,0x11,0x12, +0x39,0xba,0x00,0x2a,0x00,0x28,0x00,0x38,0x11,0x12,0x39,0xb8,0x00,0x24,0x10,0xb8, +0x00,0x2c,0xd0,0xba,0x00,0x2e,0x00,0x28,0x00,0x38,0x11,0x12,0x39,0xba,0x00,0x36, +0x00,0x28,0x00,0x38,0x11,0x12,0x39,0xba,0x00,0x3a,0x00,0x28,0x00,0x38,0x11,0x12, +0x39,0xb8,0x00,0x06,0x10,0xb8,0x00,0x3d,0xd0,0xb8,0x00,0x44,0x10,0xb8,0x00,0x3f, +0xd0,0xb8,0x00,0x06,0x10,0xb8,0x00,0x45,0xd0,0x30,0x31,0x01,0x06,0x07,0x16,0x17, +0x37,0x35,0x05,0x15,0x17,0x36,0x37,0x26,0x27,0x01,0x26,0x27,0x06,0x07,0x17,0x33, +0x03,0x23,0x07,0x16,0x17,0x36,0x37,0x03,0x33,0x37,0x16,0x17,0x06,0x07,0x27,0x23, +0x11,0x17,0x06,0x07,0x26,0x27,0x37,0x11,0x23,0x07,0x26,0x27,0x36,0x37,0x17,0x33, +0x35,0x27,0x36,0x37,0x16,0x17,0x0f,0x01,0x15,0x23,0x15,0x33,0x11,0x33,0x11,0x33, +0x35,0x23,0x35,0x01,0x3b,0x16,0x30,0x2f,0x17,0x5f,0x02,0xed,0x5e,0x17,0x2f,0x2f, +0x17,0xfe,0x86,0x2c,0x2f,0x2c,0x2d,0x44,0x2d,0x01,0x2d,0x43,0x2d,0x2c,0x2e,0x2d, +0x07,0xe4,0xd0,0x0a,0x7a,0x7a,0x0a,0xd0,0xe4,0x7e,0x6a,0x69,0x68,0x68,0x7e,0xe4, +0xd0,0x0b,0x7a,0x7a,0x0b,0xd0,0xe4,0x7e,0x68,0x69,0x68,0x6a,0x7e,0x6e,0x74,0x74, +0x36,0x74,0x74,0x03,0xb4,0x2d,0x2e,0x2c,0x2d,0x43,0x2e,0x01,0x2e,0x43,0x2e,0x2c, +0x2e,0x2d,0x01,0x6e,0x17,0x2f,0x2f,0x17,0x5f,0xfc,0x52,0x5f,0x17,0x2f,0x2f,0x17, +0x02,0xf7,0x7e,0x69,0x6a,0x68,0x68,0x7e,0xfe,0x4e,0xd0,0x0b,0x79,0x79,0x0b,0xd0, +0x01,0xb2,0x7e,0x68,0x69,0x69,0x69,0x7e,0xd6,0xd1,0x0b,0x7a,0x7a,0x0b,0xd1,0x73, +0x9f,0x2e,0xfe,0x80,0x01,0x80,0x2e,0x9f,0x00,0x0c,0x00,0xac,0x00,0x00,0x06,0x81, +0x05,0xac,0x00,0x14,0x00,0x23,0x00,0x2e,0x00,0x36,0x00,0x43,0x00,0x4d,0x00,0x68, +0x00,0x77,0x00,0x8c,0x00,0x97,0x00,0xa6,0x00,0xaf,0x00,0x9d,0xba,0x00,0x8f,0x00, +0xae,0x00,0x03,0x2b,0xb8,0x00,0x8f,0x10,0x00,0xb8,0x00,0x88,0x2f,0xba,0x00,0x00, +0x00,0x24,0x00,0x03,0x2b,0xb8,0x00,0x00,0x10,0xba,0x00,0x16,0x00,0x33,0x00,0x03, +0x2b,0xb8,0x00,0x16,0x10,0xba,0x00,0x9f,0x00,0x85,0x00,0x03,0x2b,0xb8,0x00,0x9f, +0x10,0xba,0x00,0x7c,0x00,0xa2,0x00,0x03,0x2b,0xb8,0x00,0x7c,0x10,0xba,0x00,0x29, +0x00,0x09,0x00,0x03,0x2b,0xb8,0x00,0x29,0x10,0xba,0x00,0x46,0x00,0x3f,0x00,0x03, +0x2b,0xb8,0x00,0x46,0x10,0xb8,0x00,0x7c,0x10,0xb8,0x00,0x8d,0xd0,0xb8,0x00,0x85, +0x10,0xb8,0x00,0x90,0xd0,0xb8,0x00,0x7c,0x10,0xb8,0x00,0x98,0xd0,0xb8,0x00,0x98, +0x2f,0xb8,0x00,0x85,0x10,0xb8,0x00,0x9a,0xd0,0xb8,0x00,0x9a,0x2f,0xba,0x00,0x9b, +0x00,0x85,0x00,0x9f,0x11,0x12,0x39,0xb8,0x00,0xa2,0x10,0xb8,0x00,0xa7,0xd0,0xb8, +0x00,0x9f,0x10,0xb8,0x00,0xad,0xd0,0x30,0x31,0x01,0x21,0x32,0x1f,0x01,0x37,0x33, +0x32,0x15,0x03,0x21,0x27,0x35,0x36,0x37,0x35,0x02,0x27,0x26,0x3d,0x01,0x07,0x33, +0x32,0x17,0x16,0x15,0x02,0x07,0x23,0x24,0x27,0x35,0x12,0x37,0x36,0x05,0x15,0x13, +0x07,0x15,0x33,0x37,0x07,0x26,0x2f,0x01,0x01,0x17,0x13,0x26,0x2b,0x01,0x22,0x07, +0x01,0x16,0x13,0x17,0x15,0x14,0x07,0x06,0x2b,0x01,0x26,0x03,0x35,0x17,0x13,0x33, +0x32,0x3f,0x01,0x34,0x2f,0x01,0x06,0x25,0x33,0x32,0x17,0x16,0x15,0x07,0x23,0x27, +0x02,0x0f,0x01,0x17,0x07,0x23,0x26,0x03,0x26,0x3d,0x01,0x34,0x3f,0x01,0x23,0x27, +0x35,0x37,0x17,0x15,0x17,0x33,0x15,0x14,0x07,0x15,0x16,0x17,0x13,0x33,0x17,0x35, +0x27,0x01,0x33,0x17,0x15,0x21,0x32,0x37,0x33,0x17,0x15,0x06,0x03,0x06,0x2b,0x01, +0x15,0x07,0x23,0x02,0x3d,0x01,0x27,0x17,0x11,0x07,0x21,0x22,0x2f,0x01,0x35,0x34, +0x37,0x05,0x07,0x17,0x33,0x35,0x34,0x3b,0x01,0x32,0x3f,0x01,0x21,0x26,0x3d,0x01, +0x05,0x06,0x07,0x15,0x14,0x1f,0x01,0x21,0x11,0x03,0x28,0x01,0x8b,0x3a,0x1d,0x4d, +0x62,0x08,0x05,0xad,0xfe,0xa4,0x05,0x12,0x52,0xbb,0x10,0x2e,0x71,0x17,0x70,0x37, +0x1e,0xb0,0x10,0x03,0xfe,0xd3,0x04,0x9e,0x11,0x2c,0x01,0x12,0xca,0x16,0xca,0x5f, +0x1c,0x71,0x10,0x14,0xfd,0x1e,0xf0,0xa0,0x3e,0x4d,0x1c,0x54,0x2c,0x03,0x9b,0x12, +0x95,0x05,0x50,0x17,0x24,0x92,0x0c,0xb4,0x36,0x9c,0x85,0x36,0x24,0x02,0x30,0x5f, +0xe4,0xfd,0x13,0x14,0x09,0x75,0x33,0x05,0x05,0x64,0xb4,0x0f,0x03,0x05,0x07,0x03, +0x16,0xad,0x14,0x55,0x14,0x02,0x64,0x05,0x80,0x12,0x03,0x74,0x01,0x9c,0xc8,0x02, +0x1c,0x5f,0x02,0x7d,0x05,0x05,0x01,0x73,0x2a,0x24,0x02,0x05,0x06,0xc4,0x19,0x22, +0xc3,0x05,0x08,0xac,0x52,0x08,0x05,0xfe,0xd6,0x74,0x30,0x06,0x58,0x02,0x58,0x5f, +0x5f,0x05,0x08,0xe7,0x16,0x2f,0x69,0xfe,0x6b,0x08,0xfd,0xb8,0x3d,0x06,0x5a,0x1e, +0x01,0x0e,0x05,0xac,0x47,0x86,0x38,0x07,0xfe,0xd4,0x05,0x05,0x11,0x2a,0x05,0x01, +0x46,0x14,0x16,0x04,0x05,0x0d,0x80,0x31,0x0a,0xfe,0xc6,0x11,0xac,0x08,0x02,0x01, +0x1a,0x08,0x2e,0x17,0x02,0xfe,0x9d,0x0f,0x03,0xad,0x0d,0xc5,0x0d,0x05,0xfe,0xd1, +0x8a,0x01,0x17,0x90,0x66,0xfe,0xf5,0x11,0xfe,0xef,0x29,0x14,0x4d,0x43,0x12,0x0b, +0x01,0x3d,0x05,0x0f,0xfe,0xea,0x67,0x1a,0x39,0x45,0xa2,0x81,0x6b,0xd7,0x4f,0x0d, +0x05,0x39,0xfe,0xcb,0x21,0x15,0x28,0x05,0x1b,0x01,0x2d,0x1a,0x1f,0x07,0x1c,0x83, +0x29,0x3b,0x05,0x05,0x26,0x05,0x0d,0x02,0x08,0xc6,0x0a,0x1a,0xfe,0x01,0x5d,0x08, +0x03,0xac,0xfe,0xd4,0x05,0x74,0x21,0x05,0x02,0x15,0xfe,0xb1,0x1d,0x79,0x05,0x01, +0x22,0x0d,0x03,0xb3,0x07,0xfe,0xa5,0x05,0x86,0x26,0x0d,0x32,0x7c,0x0c,0xac,0xaa, +0x08,0x1c,0x62,0xb3,0x01,0x14,0x08,0x1d,0x61,0x24,0x0a,0x55,0x2b,0x06,0x01,0x15, +0x00,0x04,0x00,0x9c,0x00,0x20,0x06,0x8f,0x05,0xd9,0x00,0x0a,0x00,0x1f,0x00,0x32, +0x00,0x45,0x00,0x8b,0x00,0xb8,0x00,0x33,0x2f,0xb8,0x00,0x24,0x2f,0xba,0x00,0x1a, +0x00,0x1b,0x00,0x03,0x2b,0xb8,0x00,0x1a,0x10,0xba,0x00,0x08,0x00,0x09,0x00,0x03, +0x2b,0xb8,0x00,0x08,0x10,0xb8,0x00,0x00,0xd0,0xba,0x00,0x11,0x00,0x24,0x00,0x33, +0x11,0x12,0x39,0xba,0x00,0x12,0x00,0x24,0x00,0x33,0x11,0x12,0x39,0xba,0x00,0x13, +0x00,0x24,0x00,0x33,0x11,0x12,0x39,0xb8,0x00,0x1b,0x10,0xb8,0x00,0x22,0xd0,0xba, +0x00,0x25,0x00,0x1b,0x00,0x1a,0x11,0x12,0x39,0xba,0x00,0x26,0x00,0x24,0x00,0x33, +0x11,0x12,0x39,0xb8,0x00,0x1a,0x10,0xb8,0x00,0x27,0xd0,0xb8,0x00,0x27,0x2f,0xba, +0x00,0x37,0x00,0x24,0x00,0x33,0x11,0x12,0x39,0xba,0x00,0x38,0x00,0x24,0x00,0x33, +0x11,0x12,0x39,0xba,0x00,0x39,0x00,0x24,0x00,0x33,0x11,0x12,0x39,0x30,0x31,0x01, +0x33,0x11,0x07,0x35,0x37,0x33,0x11,0x33,0x15,0x21,0x05,0x26,0x35,0x34,0x3f,0x01, +0x27,0x37,0x13,0x27,0x07,0x06,0x17,0x16,0x37,0x21,0x15,0x21,0x22,0x27,0x26,0x25, +0x06,0x07,0x23,0x15,0x27,0x37,0x15,0x33,0x36,0x37,0x36,0x27,0x03,0x37,0x13,0x16, +0x15,0x14,0x01,0x16,0x1f,0x01,0x37,0x03,0x27,0x37,0x27,0x26,0x07,0x06,0x07,0x03, +0x27,0x13,0x36,0x37,0x36,0x02,0xd5,0xab,0xba,0xca,0x7f,0xab,0xfe,0x1b,0xfd,0xf3, +0x2c,0x26,0x54,0x3e,0xeb,0x18,0x3d,0x63,0x14,0x24,0x28,0x77,0x01,0x96,0xfe,0x1c, +0x4b,0x39,0x2e,0x05,0x8b,0x55,0xaf,0xa7,0xd2,0xd2,0xc6,0x3a,0x19,0x19,0x43,0xca, +0x88,0xf3,0x25,0xfc,0xe6,0xa9,0x60,0x54,0x3f,0x19,0xea,0x3c,0x63,0x26,0x3e,0x3f, +0x35,0xcc,0x88,0xf1,0x27,0x38,0x2f,0x01,0xea,0x01,0x9a,0x1a,0x61,0x1e,0xfe,0x01, +0x5c,0xb8,0x4d,0x4f,0x48,0x4b,0x92,0x24,0x6b,0xfe,0xff,0x24,0xac,0x38,0x32,0x33, +0x08,0x9f,0x21,0x1b,0x61,0x93,0x0a,0x49,0x97,0x95,0x46,0x0b,0x37,0x3d,0x63,0x01, +0x60,0x4f,0xfe,0x5d,0x42,0x41,0x36,0x04,0x9e,0x01,0x92,0x91,0x24,0xfe,0xff,0x6b, +0x23,0xac,0x2d,0x06,0x09,0x6b,0xfe,0xa1,0x4e,0x01,0xa4,0x41,0x21,0x1b,0x00,0x04, +0x00,0x9c,0x00,0x20,0x06,0x8f,0x05,0xd9,0x00,0x1c,0x00,0x31,0x00,0x44,0x00,0x57, +0x00,0x9d,0x00,0xb8,0x00,0x45,0x2f,0xb8,0x00,0x36,0x2f,0xba,0x00,0x2c,0x00,0x2d, +0x00,0x03,0x2b,0xb8,0x00,0x2c,0x10,0xba,0x00,0x01,0x00,0x02,0x00,0x03,0x2b,0xb8, +0x00,0x01,0x10,0xba,0x00,0x14,0x00,0x0d,0x00,0x03,0x2b,0xb8,0x00,0x14,0x10,0xba, +0x00,0x10,0x00,0x36,0x00,0x45,0x11,0x12,0x39,0xba,0x00,0x23,0x00,0x36,0x00,0x45, +0x11,0x12,0x39,0xba,0x00,0x24,0x00,0x36,0x00,0x45,0x11,0x12,0x39,0xba,0x00,0x25, +0x00,0x36,0x00,0x45,0x11,0x12,0x39,0xb8,0x00,0x2d,0x10,0xb8,0x00,0x34,0xd0,0xba, +0x00,0x37,0x00,0x2d,0x00,0x2c,0x11,0x12,0x39,0xba,0x00,0x38,0x00,0x36,0x00,0x45, +0x11,0x12,0x39,0xb8,0x00,0x2c,0x10,0xb8,0x00,0x39,0xd0,0xb8,0x00,0x39,0x2f,0xba, +0x00,0x49,0x00,0x36,0x00,0x45,0x11,0x12,0x39,0xba,0x00,0x4a,0x00,0x0d,0x00,0x14, +0x11,0x12,0x39,0xba,0x00,0x4b,0x00,0x36,0x00,0x45,0x11,0x12,0x39,0x30,0x31,0x01, +0x21,0x15,0x21,0x35,0x3e,0x01,0x37,0x3e,0x01,0x35,0x34,0x26,0x23,0x22,0x06,0x07, +0x35,0x3e,0x01,0x33,0x32,0x16,0x15,0x14,0x06,0x07,0x0e,0x01,0x01,0x26,0x35,0x34, +0x3f,0x01,0x27,0x37,0x13,0x27,0x07,0x06,0x17,0x16,0x37,0x21,0x15,0x21,0x22,0x27, +0x26,0x25,0x06,0x07,0x23,0x15,0x27,0x37,0x15,0x33,0x36,0x37,0x36,0x27,0x03,0x37, +0x13,0x16,0x15,0x14,0x01,0x16,0x1f,0x01,0x37,0x03,0x27,0x37,0x27,0x26,0x07,0x06, +0x07,0x03,0x27,0x13,0x36,0x37,0x36,0x03,0x5d,0x01,0x54,0xfd,0xf1,0x40,0xcd,0x19, +0x31,0x24,0x4a,0x3c,0x2f,0x67,0x59,0x4c,0x70,0x30,0x7f,0x9a,0x26,0x30,0x0e,0x8b, +0xfd,0x0a,0x2c,0x26,0x54,0x3e,0xeb,0x18,0x3d,0x63,0x14,0x24,0x28,0x77,0x01,0x96, +0xfe,0x1c,0x4b,0x39,0x2e,0x05,0x8b,0x55,0xaf,0xa7,0xd2,0xd2,0xc6,0x3a,0x19,0x19, +0x43,0xca,0x88,0xf3,0x25,0xfc,0xe6,0xa9,0x60,0x54,0x3f,0x19,0xea,0x3c,0x63,0x26, +0x3e,0x3f,0x35,0xcc,0x88,0xf1,0x27,0x38,0x2f,0x01,0xd2,0x5d,0x55,0x31,0x9e,0x15, +0x29,0x38,0x1a,0x28,0x33,0x18,0x26,0x6e,0x19,0x14,0x63,0x51,0x26,0x44,0x2d,0x0d, +0x6d,0xfe,0xba,0x4d,0x4f,0x48,0x4b,0x92,0x24,0x6b,0xfe,0xff,0x24,0xac,0x38,0x32, +0x33,0x08,0x9f,0x21,0x1b,0x61,0x93,0x0a,0x49,0x97,0x95,0x46,0x0b,0x37,0x3d,0x63, +0x01,0x60,0x4f,0xfe,0x5d,0x42,0x41,0x36,0x04,0x9e,0x01,0x92,0x91,0x24,0xfe,0xff, +0x6b,0x23,0xac,0x2d,0x06,0x09,0x6b,0xfe,0xa1,0x4e,0x01,0xa4,0x41,0x21,0x1b,0x00, +0x00,0x04,0x00,0x9c,0x00,0x20,0x06,0x8f,0x05,0xd9,0x00,0x28,0x00,0x3d,0x00,0x50, +0x00,0x63,0x00,0xb3,0x00,0xb8,0x00,0x51,0x2f,0xb8,0x00,0x42,0x2f,0xba,0x00,0x38, +0x00,0x39,0x00,0x03,0x2b,0xb8,0x00,0x38,0x10,0xba,0x00,0x0d,0x00,0x06,0x00,0x03, +0x2b,0xb8,0x00,0x0d,0x10,0xba,0x00,0x23,0x00,0x1c,0x00,0x03,0x2b,0xb8,0x00,0x23, +0x10,0xba,0x00,0x16,0x00,0x13,0x00,0x03,0x2b,0xb8,0x00,0x16,0x10,0xba,0x00,0x00, +0x00,0x13,0x00,0x16,0x11,0x12,0x39,0xba,0x00,0x0a,0x00,0x42,0x00,0x51,0x11,0x12, +0x39,0xba,0x00,0x2f,0x00,0x13,0x00,0x16,0x11,0x12,0x39,0xba,0x00,0x30,0x00,0x42, +0x00,0x51,0x11,0x12,0x39,0xba,0x00,0x31,0x00,0x42,0x00,0x51,0x11,0x12,0x39,0xb8, +0x00,0x39,0x10,0xb8,0x00,0x40,0xd0,0xba,0x00,0x43,0x00,0x39,0x00,0x38,0x11,0x12, +0x39,0xba,0x00,0x44,0x00,0x42,0x00,0x51,0x11,0x12,0x39,0xb8,0x00,0x38,0x10,0xb8, +0x00,0x45,0xd0,0xb8,0x00,0x45,0x2f,0xba,0x00,0x55,0x00,0x42,0x00,0x51,0x11,0x12, +0x39,0xba,0x00,0x56,0x00,0x1c,0x00,0x23,0x11,0x12,0x39,0xba,0x00,0x57,0x00,0x42, +0x00,0x51,0x11,0x12,0x39,0x30,0x31,0x01,0x1e,0x01,0x15,0x14,0x06,0x23,0x22,0x26, +0x27,0x35,0x1e,0x01,0x33,0x32,0x36,0x35,0x34,0x26,0x2b,0x01,0x35,0x33,0x32,0x36, +0x35,0x34,0x26,0x23,0x22,0x06,0x07,0x35,0x3e,0x01,0x33,0x32,0x16,0x15,0x14,0x06, +0x01,0x26,0x35,0x34,0x3f,0x01,0x27,0x37,0x13,0x27,0x07,0x06,0x17,0x16,0x37,0x21, +0x15,0x21,0x22,0x27,0x26,0x25,0x06,0x07,0x23,0x15,0x27,0x37,0x15,0x33,0x36,0x37, +0x36,0x27,0x03,0x37,0x13,0x16,0x15,0x14,0x01,0x16,0x1f,0x01,0x37,0x03,0x27,0x37, +0x27,0x26,0x07,0x06,0x07,0x03,0x27,0x13,0x36,0x37,0x36,0x04,0x5a,0x0b,0x5f,0xad, +0x9d,0x33,0x6c,0x46,0x48,0x65,0x35,0x5e,0x5c,0x56,0x4f,0x6f,0x73,0x48,0x47,0x4a, +0x49,0x29,0x60,0x56,0x4b,0x6d,0x31,0x81,0x9a,0x53,0xfc,0x6a,0x2c,0x26,0x54,0x3e, +0xeb,0x18,0x3d,0x63,0x14,0x24,0x28,0x77,0x01,0x96,0xfe,0x1c,0x4b,0x39,0x2e,0x05, +0x8b,0x55,0xaf,0xa7,0xd2,0xd2,0xc6,0x3a,0x19,0x19,0x43,0xca,0x88,0xf3,0x25,0xfc, +0xe6,0xa9,0x60,0x54,0x3f,0x19,0xea,0x3c,0x63,0x26,0x3e,0x3f,0x35,0xcc,0x88,0xf1, +0x27,0x38,0x2f,0x02,0xbe,0x02,0x53,0x3c,0x5c,0x65,0x0e,0x12,0x6c,0x1e,0x12,0x32, +0x33,0x2d,0x32,0x5b,0x27,0x26,0x27,0x29,0x0e,0x14,0x62,0x0f,0x0d,0x59,0x4b,0x34, +0x4a,0xfe,0x18,0x4d,0x4f,0x48,0x4b,0x92,0x24,0x6b,0xfe,0xff,0x24,0xac,0x38,0x32, +0x33,0x08,0x9f,0x21,0x1b,0x61,0x93,0x0a,0x49,0x97,0x95,0x46,0x0b,0x37,0x3d,0x63, +0x01,0x60,0x4f,0xfe,0x5d,0x42,0x41,0x36,0x04,0x9e,0x01,0x92,0x91,0x24,0xfe,0xff, +0x6b,0x23,0xac,0x2d,0x06,0x09,0x6b,0xfe,0xa1,0x4e,0x01,0xa4,0x41,0x21,0x1b,0x00, +0x00,0x05,0x00,0x9c,0x00,0x20,0x06,0x8f,0x05,0xd9,0x00,0x02,0x00,0x0d,0x00,0x22, +0x00,0x35,0x00,0x48,0x00,0x9d,0x00,0xb8,0x00,0x36,0x2f,0xb8,0x00,0x27,0x2f,0xba, +0x00,0x1d,0x00,0x1e,0x00,0x03,0x2b,0xb8,0x00,0x1d,0x10,0xba,0x00,0x06,0x00,0x07, +0x00,0x03,0x2b,0xb8,0x00,0x06,0x10,0xba,0x00,0x00,0x00,0x27,0x00,0x36,0x11,0x12, +0x39,0xb8,0x00,0x01,0xd0,0xb8,0x00,0x07,0x10,0xb8,0x00,0x0b,0xd0,0xba,0x00,0x14, +0x00,0x27,0x00,0x36,0x11,0x12,0x39,0xba,0x00,0x15,0x00,0x27,0x00,0x36,0x11,0x12, +0x39,0xba,0x00,0x16,0x00,0x07,0x00,0x06,0x11,0x12,0x39,0xb8,0x00,0x1e,0x10,0xb8, +0x00,0x25,0xd0,0xba,0x00,0x28,0x00,0x1e,0x00,0x1d,0x11,0x12,0x39,0xba,0x00,0x29, +0x00,0x27,0x00,0x36,0x11,0x12,0x39,0xb8,0x00,0x1d,0x10,0xb8,0x00,0x2a,0xd0,0xb8, +0x00,0x2a,0x2f,0xba,0x00,0x3a,0x00,0x27,0x00,0x36,0x11,0x12,0x39,0xba,0x00,0x3b, +0x00,0x27,0x00,0x36,0x11,0x12,0x39,0xba,0x00,0x3c,0x00,0x27,0x00,0x36,0x11,0x12, +0x39,0x30,0x31,0x01,0x03,0x33,0x03,0x33,0x11,0x33,0x15,0x23,0x15,0x23,0x35,0x21, +0x35,0x01,0x26,0x35,0x34,0x3f,0x01,0x27,0x37,0x13,0x27,0x07,0x06,0x17,0x16,0x37, +0x21,0x15,0x21,0x22,0x27,0x26,0x25,0x06,0x07,0x23,0x15,0x27,0x37,0x15,0x33,0x36, +0x37,0x36,0x27,0x03,0x37,0x13,0x16,0x15,0x14,0x01,0x16,0x1f,0x01,0x37,0x03,0x27, +0x37,0x27,0x26,0x07,0x06,0x07,0x03,0x27,0x13,0x36,0x37,0x36,0x03,0xb6,0xe6,0xe6, +0x14,0xb1,0x79,0x79,0x9d,0xfe,0x82,0xfe,0x90,0x2c,0x26,0x54,0x3e,0xeb,0x18,0x3d, +0x63,0x14,0x24,0x28,0x77,0x01,0x96,0xfe,0x1c,0x4b,0x39,0x2e,0x05,0x8b,0x55,0xaf, +0xa7,0xd2,0xd2,0xc6,0x3a,0x19,0x19,0x43,0xca,0x88,0xf3,0x25,0xfc,0xe6,0xa9,0x60, +0x54,0x3f,0x19,0xea,0x3c,0x63,0x26,0x3e,0x3f,0x35,0xcc,0x88,0xf1,0x27,0x38,0x2f, +0x03,0x52,0xfe,0xff,0x01,0x8a,0xfe,0x76,0x5f,0x8e,0x8e,0x60,0xfe,0x84,0x4d,0x4f, +0x48,0x4b,0x92,0x24,0x6b,0xfe,0xff,0x24,0xac,0x38,0x32,0x33,0x08,0x9f,0x21,0x1b, +0x61,0x93,0x0a,0x49,0x97,0x95,0x46,0x0b,0x37,0x3d,0x63,0x01,0x60,0x4f,0xfe,0x5d, +0x42,0x41,0x36,0x04,0x9e,0x01,0x92,0x91,0x24,0xfe,0xff,0x6b,0x23,0xac,0x2d,0x06, +0x09,0x6b,0xfe,0xa1,0x4e,0x01,0xa4,0x41,0x21,0x1b,0x00,0x04,0x00,0x9c,0x00,0x20, +0x06,0x8f,0x05,0xd9,0x00,0x1d,0x00,0x32,0x00,0x45,0x00,0x58,0x00,0xab,0x00,0xb8, +0x00,0x46,0x2f,0xb8,0x00,0x37,0x2f,0xba,0x00,0x2d,0x00,0x2e,0x00,0x03,0x2b,0xb8, +0x00,0x2d,0x10,0xba,0x00,0x14,0x00,0x0d,0x00,0x03,0x2b,0xb8,0x00,0x14,0x10,0xba, +0x00,0x01,0x00,0x02,0x00,0x03,0x2b,0xb8,0x00,0x01,0x10,0xba,0x00,0x11,0x00,0x37, +0x00,0x46,0x11,0x12,0x39,0xb8,0x00,0x1a,0xdc,0xba,0x00,0x1d,0x00,0x37,0x00,0x46, +0x11,0x12,0x39,0xba,0x00,0x24,0x00,0x01,0x00,0x1a,0x11,0x12,0x39,0xba,0x00,0x25, +0x00,0x01,0x00,0x1a,0x11,0x12,0x39,0xba,0x00,0x26,0x00,0x37,0x00,0x46,0x11,0x12, +0x39,0xb8,0x00,0x2e,0x10,0xb8,0x00,0x35,0xd0,0xba,0x00,0x38,0x00,0x2e,0x00,0x2d, +0x11,0x12,0x39,0xba,0x00,0x39,0x00,0x37,0x00,0x46,0x11,0x12,0x39,0xb8,0x00,0x2d, +0x10,0xb8,0x00,0x3a,0xd0,0xb8,0x00,0x3a,0x2f,0xba,0x00,0x4a,0x00,0x37,0x00,0x46, +0x11,0x12,0x39,0xba,0x00,0x4b,0x00,0x37,0x00,0x46,0x11,0x12,0x39,0xba,0x00,0x4c, +0x00,0x37,0x00,0x46,0x11,0x12,0x39,0x30,0x31,0x01,0x21,0x15,0x21,0x15,0x06,0x36, +0x33,0x32,0x16,0x15,0x14,0x06,0x23,0x22,0x26,0x27,0x35,0x1e,0x01,0x33,0x32,0x36, +0x35,0x34,0x26,0x23,0x22,0x06,0x07,0x01,0x26,0x35,0x34,0x3f,0x01,0x27,0x37,0x13, +0x27,0x07,0x06,0x17,0x16,0x37,0x21,0x15,0x21,0x22,0x27,0x26,0x25,0x06,0x07,0x23, +0x15,0x27,0x37,0x15,0x33,0x36,0x37,0x36,0x27,0x03,0x37,0x13,0x16,0x15,0x14,0x01, +0x16,0x1f,0x01,0x37,0x03,0x27,0x37,0x27,0x26,0x07,0x06,0x07,0x03,0x27,0x13,0x36, +0x37,0x36,0x02,0xbb,0x01,0xc3,0xfe,0xc5,0x02,0x31,0x18,0x8b,0xa2,0xa7,0x96,0x32, +0x68,0x46,0x4c,0x5d,0x35,0x52,0x5d,0x5d,0x52,0x27,0x50,0x46,0xfe,0x0d,0x2c,0x26, +0x54,0x3e,0xeb,0x18,0x3d,0x63,0x14,0x24,0x28,0x77,0x01,0x96,0xfe,0x1c,0x4b,0x39, +0x2e,0x05,0x8b,0x55,0xaf,0xa7,0xd2,0xd2,0xc6,0x3a,0x19,0x19,0x43,0xca,0x88,0xf3, +0x25,0xfc,0xe6,0xa9,0x60,0x54,0x3f,0x19,0xea,0x3c,0x63,0x26,0x3e,0x3f,0x35,0xcc, +0x88,0xf1,0x27,0x38,0x2f,0x03,0xd0,0x5f,0x70,0x01,0x07,0x74,0x63,0x64,0x72,0x0e, +0x0f,0x72,0x1f,0x12,0x40,0x38,0x39,0x40,0x0d,0x19,0xfe,0x53,0x4d,0x4f,0x48,0x4b, +0x92,0x24,0x6b,0xfe,0xff,0x24,0xac,0x38,0x32,0x33,0x08,0x9f,0x21,0x1b,0x61,0x93, +0x0a,0x49,0x97,0x95,0x46,0x0b,0x37,0x3d,0x63,0x01,0x60,0x4f,0xfe,0x5d,0x42,0x41, +0x36,0x04,0x9e,0x01,0x92,0x91,0x24,0xfe,0xff,0x6b,0x23,0xac,0x2d,0x06,0x09,0x6b, +0xfe,0xa1,0x4e,0x01,0xa4,0x41,0x21,0x1b,0x00,0x05,0x00,0x9c,0x00,0x20,0x06,0x8f, +0x05,0xd9,0x00,0x0b,0x00,0x24,0x00,0x39,0x00,0x4c,0x00,0x5f,0x01,0x0d,0xba,0x00, +0x09,0x00,0x03,0x00,0x03,0x2b,0xb8,0x00,0x09,0x10,0x41,0x1b,0x00,0x16,0x00,0x09, +0x00,0x26,0x00,0x09,0x00,0x36,0x00,0x09,0x00,0x46,0x00,0x09,0x00,0x56,0x00,0x09, +0x00,0x66,0x00,0x09,0x00,0x76,0x00,0x09,0x00,0x86,0x00,0x09,0x00,0x96,0x00,0x09, +0x00,0xa6,0x00,0x09,0x00,0xb6,0x00,0x09,0x00,0xc6,0x00,0x09,0x00,0xd6,0x00,0x09, +0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x09,0x00,0xf5,0x00,0x09,0x00,0x02,0x5d, +0xb8,0x00,0x03,0x10,0xb8,0x00,0x13,0xd0,0xb8,0x00,0x13,0x2f,0xba,0x00,0x3f,0x00, +0x03,0x00,0x09,0x11,0x12,0x39,0x00,0xb8,0x00,0x4d,0x2f,0xb8,0x00,0x3e,0x2f,0xba, +0x00,0x34,0x00,0x35,0x00,0x03,0x2b,0xb8,0x00,0x34,0x10,0xba,0x00,0x06,0x00,0x1c, +0x00,0x03,0x2b,0xb8,0x00,0x06,0x10,0xba,0x00,0x22,0x00,0x00,0x00,0x03,0x2b,0xb8, +0x00,0x22,0x10,0xba,0x00,0x0d,0x00,0x00,0x00,0x22,0x11,0x12,0x39,0xb8,0x00,0x00, +0x10,0xb8,0x00,0x16,0xdc,0xba,0x00,0x2b,0x00,0x3e,0x00,0x4d,0x11,0x12,0x39,0xba, +0x00,0x2c,0x00,0x00,0x00,0x22,0x11,0x12,0x39,0xba,0x00,0x2d,0x00,0x3e,0x00,0x4d, +0x11,0x12,0x39,0xb8,0x00,0x35,0x10,0xb8,0x00,0x3c,0xd0,0xba,0x00,0x3f,0x00,0x35, +0x00,0x34,0x11,0x12,0x39,0xba,0x00,0x40,0x00,0x3e,0x00,0x4d,0x11,0x12,0x39,0xb8, +0x00,0x34,0x10,0xb8,0x00,0x41,0xd0,0xb8,0x00,0x41,0x2f,0xba,0x00,0x51,0x00,0x3e, +0x00,0x4d,0x11,0x12,0x39,0xba,0x00,0x52,0x00,0x00,0x00,0x22,0x11,0x12,0x39,0xba, +0x00,0x53,0x00,0x3e,0x00,0x4d,0x11,0x12,0x39,0x30,0x31,0x01,0x22,0x06,0x15,0x14, +0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x13,0x15,0x2e,0x01,0x23,0x22,0x06,0x07,0x06, +0x36,0x33,0x32,0x16,0x15,0x14,0x06,0x23,0x22,0x26,0x35,0x34,0x36,0x33,0x32,0x16, +0x01,0x26,0x35,0x34,0x3f,0x01,0x27,0x37,0x13,0x27,0x07,0x06,0x17,0x16,0x37,0x21, +0x15,0x21,0x22,0x27,0x26,0x25,0x06,0x07,0x23,0x15,0x27,0x37,0x15,0x33,0x36,0x37, +0x36,0x27,0x03,0x37,0x13,0x16,0x15,0x14,0x01,0x16,0x1f,0x01,0x37,0x03,0x27,0x37, +0x27,0x26,0x07,0x06,0x07,0x03,0x27,0x13,0x36,0x37,0x36,0x03,0x86,0x37,0x44,0x44, +0x37,0x3a,0x42,0x42,0x99,0x3d,0x46,0x22,0x57,0x5c,0x03,0x07,0x5d,0x38,0x75,0x87, +0x8d,0x75,0x85,0x8c,0xa9,0x92,0x26,0x4d,0xfc,0xa5,0x2c,0x26,0x54,0x3e,0xeb,0x18, +0x3d,0x63,0x14,0x24,0x28,0x77,0x01,0x96,0xfe,0x1c,0x4b,0x39,0x2e,0x05,0x8b,0x55, +0xaf,0xa7,0xd2,0xd2,0xc6,0x3a,0x19,0x19,0x43,0xca,0x88,0xf3,0x25,0xfc,0xe6,0xa9, +0x60,0x54,0x3f,0x19,0xea,0x3c,0x63,0x26,0x3e,0x3f,0x35,0xcc,0x88,0xf1,0x27,0x38, +0x2f,0x02,0xbc,0x41,0x3b,0x3b,0x40,0x40,0x3b,0x3b,0x41,0x01,0x0e,0x66,0x16,0x0e, +0x60,0x35,0x07,0x28,0x73,0x61,0x5f,0x74,0xa5,0x96,0x8f,0xae,0x0c,0xfc,0xfd,0x4d, +0x4f,0x48,0x4b,0x92,0x24,0x6b,0xfe,0xff,0x24,0xac,0x38,0x32,0x33,0x08,0x9f,0x21, +0x1b,0x61,0x93,0x0a,0x49,0x97,0x95,0x46,0x0b,0x37,0x3d,0x63,0x01,0x60,0x4f,0xfe, +0x5d,0x42,0x41,0x36,0x04,0x9e,0x01,0x92,0x91,0x24,0xfe,0xff,0x6b,0x23,0xac,0x2d, +0x06,0x09,0x6b,0xfe,0xa1,0x4e,0x01,0xa4,0x41,0x21,0x1b,0x00,0x00,0x04,0x00,0x9c, +0x00,0x20,0x06,0x8f,0x05,0xd9,0x00,0x06,0x00,0x1b,0x00,0x2e,0x00,0x41,0x00,0x87, +0x00,0xb8,0x00,0x2f,0x2f,0xb8,0x00,0x20,0x2f,0xba,0x00,0x16,0x00,0x17,0x00,0x03, +0x2b,0xb8,0x00,0x16,0x10,0xba,0x00,0x01,0x00,0x05,0x00,0x03,0x2b,0xb8,0x00,0x01, +0x10,0xba,0x00,0x0d,0x00,0x20,0x00,0x2f,0x11,0x12,0x39,0xba,0x00,0x0e,0x00,0x20, +0x00,0x2f,0x11,0x12,0x39,0xba,0x00,0x0f,0x00,0x20,0x00,0x2f,0x11,0x12,0x39,0xb8, +0x00,0x17,0x10,0xb8,0x00,0x1e,0xd0,0xba,0x00,0x21,0x00,0x17,0x00,0x16,0x11,0x12, +0x39,0xba,0x00,0x22,0x00,0x20,0x00,0x2f,0x11,0x12,0x39,0xb8,0x00,0x16,0x10,0xb8, +0x00,0x23,0xd0,0xb8,0x00,0x23,0x2f,0xba,0x00,0x33,0x00,0x20,0x00,0x2f,0x11,0x12, +0x39,0xba,0x00,0x34,0x00,0x20,0x00,0x2f,0x11,0x12,0x39,0xba,0x00,0x35,0x00,0x20, +0x00,0x2f,0x11,0x12,0x39,0x30,0x31,0x01,0x21,0x15,0x01,0x23,0x13,0x21,0x01,0x26, +0x35,0x34,0x3f,0x01,0x27,0x37,0x13,0x27,0x07,0x06,0x17,0x16,0x37,0x21,0x15,0x21, +0x22,0x27,0x26,0x25,0x06,0x07,0x23,0x15,0x27,0x37,0x15,0x33,0x36,0x37,0x36,0x27, +0x03,0x37,0x13,0x16,0x15,0x14,0x01,0x16,0x1f,0x01,0x37,0x03,0x27,0x37,0x27,0x26, +0x07,0x06,0x07,0x03,0x27,0x13,0x36,0x37,0x36,0x02,0xa2,0x02,0x02,0xfe,0xf0,0x93, +0xfe,0xfe,0xa3,0xfe,0x26,0x2c,0x26,0x54,0x3e,0xeb,0x18,0x3d,0x63,0x14,0x24,0x28, +0x77,0x01,0x96,0xfe,0x1c,0x4b,0x39,0x2e,0x05,0x8b,0x55,0xaf,0xa7,0xd2,0xd2,0xc6, +0x3a,0x19,0x19,0x43,0xca,0x88,0xf3,0x25,0xfc,0xe6,0xa9,0x60,0x54,0x3f,0x19,0xea, +0x3c,0x63,0x26,0x3e,0x3f,0x35,0xcc,0x88,0xf1,0x27,0x38,0x2f,0x03,0xba,0x32,0xfd, +0xb9,0x02,0x1a,0xfd,0x7b,0x4d,0x4f,0x48,0x4b,0x92,0x24,0x6b,0xfe,0xff,0x24,0xac, +0x38,0x32,0x33,0x08,0x9f,0x21,0x1b,0x61,0x93,0x0a,0x49,0x97,0x95,0x46,0x0b,0x37, +0x3d,0x63,0x01,0x60,0x4f,0xfe,0x5d,0x42,0x41,0x36,0x04,0x9e,0x01,0x92,0x91,0x24, +0xfe,0xff,0x6b,0x23,0xac,0x2d,0x06,0x09,0x6b,0xfe,0xa1,0x4e,0x01,0xa4,0x41,0x21, +0x1b,0x00,0x00,0x03,0x00,0x9c,0x00,0x20,0x06,0x8f,0x05,0xd9,0x00,0x14,0x00,0x27, +0x00,0x3a,0x00,0x7b,0x00,0xb8,0x00,0x28,0x2f,0xb8,0x00,0x19,0x2f,0xba,0x00,0x0f, +0x00,0x10,0x00,0x03,0x2b,0xb8,0x00,0x0f,0x10,0xba,0x00,0x06,0x00,0x19,0x00,0x28, +0x11,0x12,0x39,0xba,0x00,0x07,0x00,0x19,0x00,0x28,0x11,0x12,0x39,0xba,0x00,0x08, +0x00,0x19,0x00,0x28,0x11,0x12,0x39,0xb8,0x00,0x10,0x10,0xb8,0x00,0x17,0xd0,0xba, +0x00,0x1a,0x00,0x10,0x00,0x0f,0x11,0x12,0x39,0xba,0x00,0x1b,0x00,0x19,0x00,0x28, +0x11,0x12,0x39,0xb8,0x00,0x0f,0x10,0xb8,0x00,0x1c,0xd0,0xb8,0x00,0x1c,0x2f,0xba, +0x00,0x2c,0x00,0x19,0x00,0x28,0x11,0x12,0x39,0xba,0x00,0x2d,0x00,0x19,0x00,0x28, +0x11,0x12,0x39,0xba,0x00,0x2e,0x00,0x19,0x00,0x28,0x11,0x12,0x39,0x30,0x31,0x37, +0x26,0x35,0x34,0x3f,0x01,0x27,0x37,0x13,0x27,0x07,0x06,0x17,0x16,0x37,0x21,0x15, +0x21,0x22,0x27,0x26,0x25,0x06,0x07,0x23,0x15,0x27,0x37,0x15,0x33,0x36,0x37,0x36, +0x27,0x03,0x37,0x13,0x16,0x15,0x14,0x01,0x16,0x1f,0x01,0x37,0x03,0x27,0x37,0x27, +0x26,0x07,0x06,0x07,0x03,0x27,0x13,0x36,0x37,0x36,0xc8,0x2c,0x26,0x54,0x3e,0xeb, +0x18,0x3d,0x63,0x14,0x24,0x28,0x77,0x01,0x96,0xfe,0x1c,0x4b,0x39,0x2e,0x05,0x8b, +0x55,0xaf,0xa7,0xd2,0xd2,0xc6,0x3a,0x19,0x19,0x43,0xca,0x88,0xf3,0x25,0xfc,0xe6, +0xa9,0x60,0x54,0x3f,0x19,0xea,0x3c,0x63,0x26,0x3e,0x3f,0x35,0xcc,0x88,0xf1,0x27, +0x38,0x2f,0xd6,0x4d,0x4f,0x48,0x4b,0x92,0x24,0x6b,0xfe,0xff,0x24,0xac,0x38,0x32, +0x33,0x08,0x9f,0x21,0x1b,0x61,0x93,0x0a,0x49,0x97,0x95,0x46,0x0b,0x37,0x3d,0x63, +0x01,0x60,0x4f,0xfe,0x5d,0x42,0x41,0x36,0x04,0x9e,0x01,0x92,0x91,0x24,0xfe,0xff, +0x6b,0x23,0xac,0x2d,0x06,0x09,0x6b,0xfe,0xa1,0x4e,0x01,0xa4,0x41,0x21,0x1b,0x00, +0x00,0x06,0x00,0xac,0x00,0x00,0x06,0x7f,0x05,0xa1,0x00,0x10,0x00,0x1a,0x00,0x27, +0x00,0x39,0x00,0x48,0x00,0x52,0x00,0x6d,0x00,0xb8,0x00,0x00,0x2f,0xb8,0x00,0x11, +0x2f,0xb8,0x00,0x46,0x2f,0xba,0x00,0x3d,0x00,0x44,0x00,0x03,0x2b,0xb8,0x00,0x3d, +0x10,0xba,0x00,0x07,0x00,0x46,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x0b,0x00,0x46, +0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x2a,0x00,0x46,0x00,0x00,0x11,0x12,0x39,0xba, +0x00,0x30,0x00,0x44,0x00,0x3d,0x11,0x12,0x39,0xba,0x00,0x38,0x00,0x46,0x00,0x00, +0x11,0x12,0x39,0xba,0x00,0x3b,0x00,0x46,0x00,0x00,0x11,0x12,0x39,0xba,0x00,0x40, +0x00,0x46,0x00,0x00,0x11,0x12,0x39,0xb8,0x00,0x49,0xd0,0xb8,0x00,0x44,0x10,0xb8, +0x00,0x4c,0xd0,0x30,0x31,0x01,0x21,0x32,0x1f,0x01,0x37,0x33,0x15,0x02,0x07,0x21, +0x35,0x36,0x37,0x03,0x26,0x23,0x07,0x32,0x1f,0x01,0x03,0x24,0x27,0x12,0x37,0x36, +0x01,0x12,0x15,0x17,0x14,0x07,0x06,0x2b,0x01,0x26,0x03,0x36,0x37,0x05,0x12,0x17, +0x27,0x02,0x0f,0x01,0x17,0x23,0x03,0x27,0x36,0x37,0x36,0x35,0x27,0x35,0x33,0x01, +0x33,0x15,0x21,0x32,0x37,0x33,0x14,0x03,0x06,0x2b,0x01,0x15,0x23,0x03,0x27,0x17, +0x11,0x07,0x21,0x22,0x2f,0x01,0x34,0x37,0x03,0x2a,0x01,0x86,0x3a,0x21,0x4a,0x63, +0x06,0x9d,0x10,0xfe,0xa9,0x61,0x05,0xc6,0x23,0x0d,0x66,0x69,0x2a,0x31,0xc1,0xfe, +0xf5,0x1b,0x95,0x16,0x31,0x03,0x5a,0xa6,0x02,0x61,0x0f,0x28,0x7d,0x0e,0xaf,0x18, +0xc9,0xfc,0x79,0xab,0x02,0x70,0xc0,0x04,0x03,0x05,0x05,0xc9,0x08,0x04,0x50,0x1a, +0x64,0xe4,0x02,0xd8,0x02,0x01,0x8a,0x21,0x1e,0x03,0xc9,0x18,0x1f,0xcc,0x05,0xa8, +0x5e,0x05,0x05,0xfe,0xde,0x74,0x2f,0x05,0x54,0x05,0xa1,0x54,0x7d,0x37,0x02,0xfe, +0xed,0x15,0x05,0x35,0x09,0x01,0x62,0x1a,0x05,0x5c,0x56,0xfe,0xb6,0x9a,0x13,0x01, +0x04,0x1c,0x2f,0xfe,0x56,0xfe,0xea,0x17,0x27,0x66,0x3a,0x08,0x0f,0x01,0x3a,0x17, +0x70,0x1b,0xfe,0xe0,0x0d,0x3f,0xfe,0xb6,0x10,0x29,0x1d,0x01,0x5c,0x20,0x1f,0x80, +0x29,0x0b,0x39,0x03,0xfe,0xa5,0x73,0x1a,0x09,0xfe,0xa4,0x17,0x73,0x01,0x25,0xb0, +0x06,0xfe,0xa9,0x05,0x80,0x30,0x30,0x82,0x00,0x07,0x00,0xaa,0x00,0x00,0x06,0x83, +0x05,0xd9,0x00,0x13,0x00,0x25,0x00,0x32,0x00,0x3c,0x00,0x4a,0x00,0x5c,0x00,0x65, +0x00,0x39,0x00,0xba,0x00,0x64,0x00,0x0b,0x00,0x03,0x2b,0xb8,0x00,0x64,0x10,0xba, +0x00,0x00,0x00,0x14,0x00,0x03,0x2b,0xb8,0x00,0x00,0x10,0xb8,0x00,0x14,0x10,0xb8, +0x00,0x2e,0xd0,0xb8,0x00,0x2e,0x2f,0xba,0x00,0x4f,0x00,0x0b,0x00,0x64,0x11,0x12, +0x39,0xb8,0x00,0x64,0x10,0xb8,0x00,0x51,0xd0,0x30,0x31,0x01,0x33,0x20,0x13,0x16, +0x1d,0x01,0x10,0x05,0x06,0x2b,0x01,0x20,0x03,0x26,0x3d,0x01,0x10,0x25,0x36,0x17, +0x15,0x32,0x1f,0x01,0x15,0x06,0x07,0x15,0x21,0x36,0x37,0x23,0x07,0x26,0x27,0x26, +0x23,0x01,0x16,0x33,0x36,0x13,0x26,0x23,0x26,0x23,0x22,0x07,0x06,0x07,0x05,0x15, +0x13,0x33,0x32,0x37,0x34,0x2f,0x01,0x22,0x05,0x17,0x06,0x07,0x14,0x1f,0x01,0x33, +0x34,0x3f,0x01,0x33,0x17,0x27,0x01,0x07,0x16,0x17,0x33,0x35,0x37,0x33,0x32,0x3f, +0x01,0x35,0x23,0x06,0x23,0x21,0x27,0x35,0x05,0x06,0x1d,0x01,0x14,0x1f,0x01,0x33, +0x11,0x03,0x89,0x1b,0x01,0x8b,0xf3,0x61,0xfe,0x6f,0xa3,0xb7,0x03,0xfe,0x50,0xe8, +0x53,0x01,0x3c,0xbe,0x89,0x26,0x33,0x79,0x1b,0x3a,0x01,0x18,0x0a,0x84,0x03,0x53, +0x4f,0x12,0x15,0x1a,0xfd,0x88,0xf2,0x09,0x04,0x95,0x42,0x17,0x1d,0x32,0x5f,0x35, +0x4e,0x0d,0x02,0x81,0x99,0x76,0x62,0x1a,0x65,0x29,0x0e,0xfb,0xcd,0x50,0x4b,0x0b, +0x8b,0x1d,0x03,0x1b,0x8e,0x09,0x4c,0x8b,0x01,0xf9,0x87,0x06,0x81,0x03,0x06,0xac, +0x24,0x3d,0x6a,0x03,0x16,0x22,0xfe,0xc4,0x06,0xfd,0xea,0x41,0x6a,0x1a,0xfc,0x05, +0xd9,0xfe,0x92,0xae,0xcf,0x06,0xfe,0x4f,0xeb,0x4c,0x01,0x86,0xa8,0xa3,0x35,0x01, +0x5f,0xf1,0x83,0x93,0x03,0x6b,0xce,0x03,0x16,0x1f,0x03,0x08,0xf0,0x2c,0x89,0x16, +0x0c,0xfe,0xdf,0x8b,0x0f,0x01,0x01,0x7e,0x12,0x79,0x7d,0x1f,0xde,0x03,0xfe,0xf4, +0x8a,0x2f,0x9d,0x4d,0x3c,0x34,0x7b,0x31,0x16,0xe8,0x3b,0x43,0x19,0xf8,0x2c,0xf1, +0xfe,0xe5,0xfb,0x03,0xec,0x5b,0x06,0x80,0xb1,0x03,0x10,0x06,0x5f,0x65,0x69,0x27, +0x0c,0x5b,0x29,0x04,0x01,0x24,0x00,0x08,0x00,0xaa,0x00,0x00,0x06,0x83,0x05,0xd9, +0x00,0x0f,0x00,0x20,0x00,0x2f,0x00,0x3a,0x00,0x42,0x00,0x52,0x00,0x60,0x00,0x6a, +0x01,0x5f,0xb8,0x00,0x6b,0x2f,0xb8,0x00,0x6c,0x2f,0xb8,0x00,0x04,0xdc,0xb8,0x00, +0x6b,0x10,0xb8,0x00,0x0c,0xd0,0xb8,0x00,0x0c,0x2f,0xb8,0x00,0x10,0xdc,0x41,0x1b, +0x00,0x16,0x00,0x10,0x00,0x26,0x00,0x10,0x00,0x36,0x00,0x10,0x00,0x46,0x00,0x10, +0x00,0x56,0x00,0x10,0x00,0x66,0x00,0x10,0x00,0x76,0x00,0x10,0x00,0x86,0x00,0x10, +0x00,0x96,0x00,0x10,0x00,0xa6,0x00,0x10,0x00,0xb6,0x00,0x10,0x00,0xc6,0x00,0x10, +0x00,0xd6,0x00,0x10,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x10,0x00,0xf5,0x00, +0x10,0x00,0x02,0x5d,0xb8,0x00,0x04,0x10,0xb8,0x00,0x19,0xdc,0x41,0x05,0x00,0xea, +0x00,0x19,0x00,0xfa,0x00,0x19,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x19,0x00, +0x29,0x00,0x19,0x00,0x39,0x00,0x19,0x00,0x49,0x00,0x19,0x00,0x59,0x00,0x19,0x00, +0x69,0x00,0x19,0x00,0x79,0x00,0x19,0x00,0x89,0x00,0x19,0x00,0x99,0x00,0x19,0x00, +0xa9,0x00,0x19,0x00,0xb9,0x00,0x19,0x00,0xc9,0x00,0x19,0x00,0xd9,0x00,0x19,0x00, +0x0d,0x5d,0xba,0x00,0x27,0x00,0x0c,0x00,0x04,0x11,0x12,0x39,0xba,0x00,0x2b,0x00, +0x0c,0x00,0x04,0x11,0x12,0x39,0xba,0x00,0x47,0x00,0x0c,0x00,0x04,0x11,0x12,0x39, +0xba,0x00,0x4c,0x00,0x0c,0x00,0x04,0x11,0x12,0x39,0xba,0x00,0x54,0x00,0x0c,0x00, +0x04,0x11,0x12,0x39,0xba,0x00,0x59,0x00,0x0c,0x00,0x04,0x11,0x12,0x39,0xba,0x00, +0x5f,0x00,0x0c,0x00,0x04,0x11,0x12,0x39,0x00,0xba,0x00,0x14,0x00,0x08,0x00,0x03, +0x2b,0xb8,0x00,0x14,0x10,0xba,0x00,0x00,0x00,0x1d,0x00,0x03,0x2b,0xb8,0x00,0x00, +0x10,0xba,0x00,0x56,0x00,0x5b,0x00,0x03,0x2b,0xb8,0x00,0x56,0x10,0xba,0x00,0x22, +0x00,0x29,0x00,0x03,0x2b,0xb8,0x00,0x22,0x10,0xba,0x00,0x27,0x00,0x29,0x00,0x22, +0x11,0x12,0x39,0xba,0x00,0x2b,0x00,0x29,0x00,0x22,0x11,0x12,0x39,0xb8,0x00,0x30, +0xd0,0xb8,0x00,0x30,0x2f,0xba,0x00,0x4c,0x00,0x5b,0x00,0x56,0x11,0x12,0x39,0xb8, +0x00,0x56,0x10,0xb8,0x00,0x61,0xd0,0xb8,0x00,0x5b,0x10,0xb8,0x00,0x65,0xd0,0x30, +0x31,0x01,0x20,0x13,0x16,0x15,0x10,0x05,0x06,0x23,0x20,0x03,0x26,0x35,0x10,0x25, +0x36,0x01,0x10,0x05,0x16,0x3b,0x01,0x20,0x13,0x36,0x35,0x10,0x25,0x26,0x23,0x20, +0x03,0x06,0x01,0x21,0x32,0x1f,0x01,0x37,0x15,0x06,0x07,0x21,0x35,0x37,0x26,0x2f, +0x01,0x23,0x32,0x1f,0x01,0x03,0x23,0x26,0x27,0x36,0x37,0x36,0x01,0x16,0x1d,0x01, +0x06,0x2b,0x01,0x03,0x25,0x21,0x17,0x07,0x23,0x27,0x23,0x02,0x07,0x15,0x26,0x03, +0x27,0x34,0x37,0x27,0x01,0x33,0x15,0x21,0x32,0x37,0x15,0x03,0x07,0x23,0x07,0x15, +0x23,0x27,0x25,0x21,0x17,0x11,0x07,0x23,0x22,0x2f,0x01,0x36,0x03,0x98,0x01,0x97, +0xed,0x67,0xfe,0x84,0xa4,0xd1,0xfe,0x5e,0xe7,0x5f,0x01,0x88,0xaa,0xfd,0xf9,0x01, +0x62,0x9d,0xaa,0x30,0x01,0x68,0xe5,0x5c,0xfe,0x96,0xa0,0xb8,0xfe,0x7b,0xdf,0x5c, +0x02,0x5b,0x01,0x3a,0x35,0x18,0x3a,0x51,0x6d,0x1b,0xfe,0xf0,0x4d,0x92,0x1a,0x1b, +0x4d,0x5b,0x1e,0x2d,0x9a,0x03,0xe3,0x12,0x77,0x1c,0x2c,0x02,0xa3,0x89,0x15,0x6c, +0x64,0x9c,0xfc,0xd8,0x01,0x14,0x91,0x03,0x03,0x4e,0x03,0xa6,0x06,0x0c,0x9c,0x02, +0x56,0x4e,0x02,0xfd,0x06,0x01,0x47,0x14,0x18,0xad,0x17,0xa9,0x06,0x06,0x87,0xfe, +0x8a,0x01,0x2b,0x06,0x06,0xf5,0x51,0x27,0x06,0x01,0x05,0xd9,0xfe,0x97,0xb2,0xd4, +0xfe,0x58,0xe9,0x59,0x01,0x74,0xa2,0xdb,0x01,0xa9,0xeb,0x54,0xfd,0x12,0xfe,0x70, +0xd8,0x58,0x01,0x59,0xa5,0xc5,0x01,0x8c,0xe0,0x53,0xfe,0xa6,0x9f,0x01,0x6d,0x45, +0x62,0x2c,0x03,0xcc,0x23,0x03,0x34,0xfe,0x27,0x0c,0x46,0x56,0xfe,0xfe,0x7f,0x10, +0xd5,0x1a,0x20,0xfe,0xa7,0xe2,0x21,0x17,0x82,0x01,0x09,0x59,0xf4,0x03,0x31,0xfe, +0xea,0x15,0x1a,0x0b,0x01,0x12,0x11,0x1c,0x8d,0x31,0xfe,0xec,0x5f,0x14,0x06,0xfe, +0xdc,0x09,0x06,0x55,0xee,0x8c,0x05,0xfe,0xeb,0x05,0x67,0x2c,0x31,0x00,0x00,0x05, +0x00,0xaa,0x00,0x00,0x06,0x83,0x05,0xd9,0x00,0x07,0x00,0x17,0x00,0x1f,0x00,0x37, +0x00,0x48,0x01,0xb3,0xba,0x00,0x38,0x00,0x14,0x00,0x03,0x2b,0xb8,0x00,0x38,0x10, +0xba,0x00,0x00,0x00,0x27,0x00,0x03,0x2b,0xb8,0x00,0x00,0x10,0xba,0x00,0x31,0x00, +0x1e,0x00,0x03,0x2b,0xb8,0x00,0x31,0x10,0xba,0x00,0x0c,0x00,0x41,0x00,0x03,0x2b, +0xb8,0x00,0x0c,0x10,0x41,0x1b,0x00,0x16,0x00,0x00,0x00,0x26,0x00,0x00,0x00,0x36, +0x00,0x00,0x00,0x46,0x00,0x00,0x00,0x56,0x00,0x00,0x00,0x66,0x00,0x00,0x00,0x76, +0x00,0x00,0x00,0x86,0x00,0x00,0x00,0x96,0x00,0x00,0x00,0xa6,0x00,0x00,0x00,0xb6, +0x00,0x00,0x00,0xc6,0x00,0x00,0x00,0xd6,0x00,0x00,0x00,0x0d,0x5d,0x41,0x05,0x00, +0xe5,0x00,0x00,0x00,0xf5,0x00,0x00,0x00,0x02,0x5d,0x41,0x05,0x00,0xea,0x00,0x1e, +0x00,0xfa,0x00,0x1e,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x1e,0x00,0x29,0x00, +0x1e,0x00,0x39,0x00,0x1e,0x00,0x49,0x00,0x1e,0x00,0x59,0x00,0x1e,0x00,0x69,0x00, +0x1e,0x00,0x79,0x00,0x1e,0x00,0x89,0x00,0x1e,0x00,0x99,0x00,0x1e,0x00,0xa9,0x00, +0x1e,0x00,0xb9,0x00,0x1e,0x00,0xc9,0x00,0x1e,0x00,0xd9,0x00,0x1e,0x00,0x0d,0x5d, +0xba,0x00,0x20,0x00,0x14,0x00,0x0c,0x11,0x12,0x39,0xba,0x00,0x2c,0x00,0x14,0x00, +0x0c,0x11,0x12,0x39,0x41,0x1b,0x00,0x16,0x00,0x38,0x00,0x26,0x00,0x38,0x00,0x36, +0x00,0x38,0x00,0x46,0x00,0x38,0x00,0x56,0x00,0x38,0x00,0x66,0x00,0x38,0x00,0x76, +0x00,0x38,0x00,0x86,0x00,0x38,0x00,0x96,0x00,0x38,0x00,0xa6,0x00,0x38,0x00,0xb6, +0x00,0x38,0x00,0xc6,0x00,0x38,0x00,0xd6,0x00,0x38,0x00,0x0d,0x5d,0x41,0x05,0x00, +0xe5,0x00,0x38,0x00,0xf5,0x00,0x38,0x00,0x02,0x5d,0x41,0x05,0x00,0xea,0x00,0x41, +0x00,0xfa,0x00,0x41,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x41,0x00,0x29,0x00, +0x41,0x00,0x39,0x00,0x41,0x00,0x49,0x00,0x41,0x00,0x59,0x00,0x41,0x00,0x69,0x00, +0x41,0x00,0x79,0x00,0x41,0x00,0x89,0x00,0x41,0x00,0x99,0x00,0x41,0x00,0xa9,0x00, +0x41,0x00,0xb9,0x00,0x41,0x00,0xc9,0x00,0x41,0x00,0xd9,0x00,0x41,0x00,0x0d,0x5d, +0xb8,0x00,0x4a,0xdc,0x00,0xba,0x00,0x3c,0x00,0x10,0x00,0x03,0x2b,0xb8,0x00,0x3c, +0x10,0xba,0x00,0x08,0x00,0x45,0x00,0x03,0x2b,0xb8,0x00,0x08,0x10,0xba,0x00,0x02, +0x00,0x24,0x00,0x03,0x2b,0xb8,0x00,0x02,0x10,0xba,0x00,0x2a,0x00,0x06,0x00,0x03, +0x2b,0xb8,0x00,0x2a,0x10,0xb8,0x00,0x06,0x10,0xb8,0x00,0x18,0xd0,0xb8,0x00,0x02, +0x10,0xb8,0x00,0x1c,0xd0,0xb8,0x00,0x2a,0x10,0xb8,0x00,0x2e,0xd0,0xb8,0x00,0x24, +0x10,0xb8,0x00,0x34,0xd0,0x30,0x31,0x01,0x16,0x17,0x32,0x37,0x26,0x27,0x06,0x01, +0x20,0x13,0x16,0x15,0x10,0x05,0x06,0x23,0x20,0x03,0x26,0x35,0x10,0x25,0x36,0x01, +0x06,0x07,0x16,0x33,0x36,0x37,0x26,0x01,0x15,0x23,0x06,0x27,0x2e,0x01,0x37,0x26, +0x36,0x37,0x32,0x17,0x36,0x33,0x1e,0x01,0x07,0x16,0x06,0x07,0x06,0x27,0x23,0x25, +0x10,0x05,0x16,0x3b,0x01,0x20,0x13,0x36,0x35,0x10,0x25,0x26,0x23,0x20,0x03,0x06, +0x01,0xc2,0x02,0xb7,0x90,0x61,0x57,0xa2,0xaf,0x01,0xd4,0x01,0x97,0xed,0x67,0xfe, +0x84,0xa4,0xd1,0xfe,0x5e,0xe7,0x5f,0x01,0x88,0xaa,0x01,0xe1,0xa2,0x57,0x61,0x90, +0xb7,0x02,0x02,0xfe,0x2b,0x03,0x7b,0xbb,0x8c,0x7f,0x06,0x03,0x9e,0x87,0x9d,0x7f, +0x80,0x9e,0x87,0x9e,0x03,0x06,0x7f,0x8c,0xbb,0x7c,0x02,0xfd,0x3c,0x01,0x62,0x9d, +0xaa,0x30,0x01,0x68,0xe5,0x5c,0xfe,0x96,0xa0,0xb8,0xfe,0x7b,0xdf,0x5c,0x02,0xf4, +0xcd,0x02,0xcb,0xc2,0x04,0x03,0x02,0x26,0xfe,0x97,0xb2,0xd4,0xfe,0x58,0xe9,0x59, +0x01,0x74,0xa2,0xdb,0x01,0xa9,0xeb,0x54,0xfd,0xdd,0x04,0xc2,0xcb,0x02,0xcd,0xbf, +0xfe,0xf3,0x1c,0xc5,0x08,0x0f,0xc1,0x57,0x7a,0x9c,0x01,0xaa,0xaa,0x01,0x9c,0x7a, +0x57,0xc1,0x0f,0x08,0xc5,0x61,0xfe,0x70,0xd8,0x58,0x01,0x59,0xa5,0xc5,0x01,0x8c, +0xe0,0x53,0xfe,0xa6,0x9f,0x00,0x00,0x02,0x01,0x31,0x00,0x02,0x05,0xfa,0x05,0xd9, +0x00,0x18,0x00,0x2f,0x00,0x35,0x00,0xb8,0x00,0x00,0x2f,0xba,0x00,0x2a,0x00,0x1b, +0x00,0x03,0x2b,0xb8,0x00,0x2a,0x10,0xba,0x00,0x0c,0x00,0x14,0x00,0x03,0x2b,0xb8, +0x00,0x0c,0x10,0xba,0x00,0x06,0x00,0x09,0x00,0x03,0x2b,0xb8,0x00,0x06,0x10,0xba, +0x00,0x23,0x00,0x09,0x00,0x06,0x11,0x12,0x39,0x30,0x31,0x01,0x32,0x15,0x06,0x07, +0x17,0x21,0x32,0x17,0x07,0x21,0x17,0x21,0x16,0x13,0x37,0x17,0x06,0x05,0x26,0x03, +0x21,0x22,0x03,0x34,0x01,0x06,0x23,0x22,0x2e,0x01,0x35,0x34,0x37,0x36,0x37,0x17, +0x06,0x07,0x14,0x1e,0x01,0x33,0x32,0x36,0x37,0x17,0x06,0x02,0x9a,0x99,0x01,0x80, +0x18,0x01,0x13,0x0c,0x10,0x04,0xfe,0xed,0x0c,0x01,0xbd,0x0c,0x8d,0x86,0x30,0x05, +0xfe,0xee,0x10,0x95,0xfe,0x23,0x0c,0x55,0x01,0xf8,0x71,0x7b,0x7c,0xe2,0x7d,0x40, +0x21,0x2f,0x28,0x19,0x02,0x53,0x98,0x53,0x53,0x97,0x2a,0x45,0x2e,0x05,0xd9,0x8e, +0xa3,0x02,0xe6,0x92,0x04,0x65,0x06,0xfe,0x72,0x28,0x8d,0x08,0x59,0x18,0x01,0xad, +0x03,0x24,0x85,0xfa,0x68,0x3f,0x7d,0xe1,0x7d,0x7c,0x72,0x3c,0x2e,0xd9,0x3c,0x43, +0x53,0x98,0x53,0x53,0x4c,0xa9,0x32,0x00,0x00,0x03,0x00,0x96,0x00,0x00,0x06,0x60, +0x05,0xcd,0x00,0x17,0x00,0x1b,0x00,0x1f,0x00,0x00,0x01,0x34,0x37,0x36,0x37,0x36, +0x33,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x26, +0x27,0x26,0x01,0x11,0x21,0x11,0x25,0x21,0x11,0x21,0x02,0xef,0x13,0x14,0x1f,0x1b, +0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1c,0x2a,0x2a,0x1c,0x1e,0x15,0x13, +0xfd,0xa7,0x05,0xca,0xfa,0xdb,0x04,0x80,0xfb,0x80,0x02,0xe9,0x2a,0x1c,0x1e,0x15, +0x13,0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0xfd, +0x42,0x05,0xcd,0xfa,0x33,0xa5,0x04,0x83,0x00,0x04,0x00,0x96,0x00,0x00,0x06,0x60, +0x05,0xcd,0x00,0x17,0x00,0x2f,0x00,0x33,0x00,0x37,0x00,0x00,0x01,0x34,0x37,0x36, +0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x23,0x22, +0x27,0x26,0x27,0x26,0x01,0x34,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16, +0x15,0x14,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x01,0x11,0x21,0x11, +0x25,0x21,0x11,0x21,0x01,0xb9,0x13,0x14,0x1f,0x1c,0x2a,0x2a,0x1c,0x1e,0x15,0x13, +0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x02,0x6c,0x13,0x14,0x1f,0x1b, +0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1c,0x2a,0x2a,0x1c,0x1e,0x15,0x13, +0xfc,0x71,0x05,0xca,0xfa,0xdb,0x04,0x80,0xfb,0x80,0x01,0xae,0x2a,0x1c,0x1e,0x15, +0x13,0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0x02, +0x9c,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13, +0x13,0x14,0x1f,0x1b,0xfc,0x0c,0x05,0xcd,0xfa,0x33,0xa5,0x04,0x83,0x00,0x00,0x05, +0x00,0x96,0x00,0x00,0x06,0x60,0x05,0xcd,0x00,0x17,0x00,0x2f,0x00,0x47,0x00,0x4b, +0x00,0x4f,0x00,0x00,0x01,0x34,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16, +0x15,0x14,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x01,0x34,0x37,0x36, +0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x23,0x22, +0x27,0x26,0x27,0x26,0x01,0x34,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16, +0x15,0x14,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x01,0x11,0x21,0x11, +0x25,0x21,0x11,0x21,0x01,0xb9,0x13,0x14,0x1f,0x1c,0x2a,0x2a,0x1c,0x1e,0x15,0x13, +0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x01,0x36,0x13,0x14,0x1f,0x1b, +0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1c,0x2a,0x2a,0x1c,0x1e,0x15,0x13, +0x01,0x36,0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1c, +0x2a,0x2a,0x1c,0x1e,0x15,0x13,0xfc,0x71,0x05,0xca,0xfa,0xdb,0x04,0x80,0xfb,0x80, +0x01,0xae,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15, +0x13,0x13,0x14,0x1f,0x1b,0x01,0x66,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b, +0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0x01,0x61,0x2a,0x1c,0x1e,0x15, +0x13,0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0xfc, +0x0c,0x05,0xcd,0xfa,0x33,0xa5,0x04,0x83,0x00,0x06,0x00,0x96,0x00,0x00,0x06,0x60, +0x05,0xcd,0x00,0x17,0x00,0x2f,0x00,0x47,0x00,0x5f,0x00,0x63,0x00,0x67,0x00,0x00, +0x01,0x34,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06, +0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x01,0x34,0x37,0x36,0x37,0x36,0x33,0x32, +0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26, +0x25,0x34,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06, +0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x01,0x34,0x37,0x36,0x37,0x36,0x33,0x32, +0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26, +0x01,0x11,0x21,0x11,0x25,0x21,0x11,0x21,0x01,0xb9,0x13,0x14,0x1f,0x1c,0x2a,0x2a, +0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x02,0x6c, +0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1c,0x2a,0x2a, +0x1c,0x1e,0x15,0x13,0xfd,0x94,0x13,0x14,0x1f,0x1c,0x2a,0x2a,0x1c,0x1e,0x15,0x13, +0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x02,0x6c,0x13,0x14,0x1f,0x1b, +0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1c,0x2a,0x2a,0x1c,0x1e,0x15,0x13, +0xfc,0x71,0x05,0xca,0xfa,0xdb,0x04,0x80,0xfb,0x80,0x04,0x1f,0x2a,0x1c,0x1e,0x15, +0x13,0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0xfd, +0xba,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13, +0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0x2b,0x2a, +0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0x02,0x9c,0x2a,0x1c,0x1e,0x15,0x13,0x13, +0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0xfc,0x0c,0x05, +0xcd,0xfa,0x33,0xa5,0x04,0x83,0x00,0x07,0x00,0x96,0x00,0x00,0x06,0x60,0x05,0xcd, +0x00,0x17,0x00,0x2f,0x00,0x47,0x00,0x5f,0x00,0x77,0x00,0x7b,0x00,0x7f,0x00,0x00, +0x01,0x34,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06, +0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x01,0x34,0x37,0x36,0x37,0x36,0x33,0x32, +0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26, +0x25,0x34,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06, +0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x01,0x34,0x37,0x36,0x37,0x36,0x33,0x32, +0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26, +0x01,0x34,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06, +0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x01,0x11,0x21,0x11,0x25,0x21,0x11,0x21, +0x01,0xb9,0x13,0x14,0x1f,0x1c,0x2a,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b, +0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x02,0x6c,0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e, +0x15,0x13,0x13,0x14,0x1f,0x1c,0x2a,0x2a,0x1c,0x1e,0x15,0x13,0xfd,0x94,0x13,0x14, +0x1f,0x1c,0x2a,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e, +0x15,0x13,0x02,0x6c,0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14, +0x1f,0x1c,0x2a,0x2a,0x1c,0x1e,0x15,0x13,0xfe,0xca,0x13,0x14,0x1f,0x1b,0x2b,0x2a, +0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1c,0x2a,0x2a,0x1c,0x1e,0x15,0x13,0xfd,0xa7, +0x05,0xca,0xfa,0xdb,0x04,0x80,0xfb,0x80,0x04,0x1f,0x2a,0x1c,0x1e,0x15,0x13,0x13, +0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0xfd,0xba,0x2a, +0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14, +0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e, +0x15,0x13,0x13,0x14,0x1f,0x1b,0x02,0x9c,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f, +0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0xfe,0xf5,0x2a,0x1c,0x1e, +0x15,0x13,0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b, +0xfd,0x42,0x05,0xcd,0xfa,0x33,0xa5,0x04,0x83,0x00,0x00,0x08,0x00,0x96,0x00,0x00, +0x06,0x60,0x05,0xcd,0x00,0x17,0x00,0x2f,0x00,0x47,0x00,0x5f,0x00,0x77,0x00,0x8f, +0x00,0x93,0x00,0x97,0x00,0x00,0x01,0x34,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16, +0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x25,0x34, +0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06, +0x23,0x22,0x27,0x26,0x27,0x26,0x11,0x34,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16, +0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x01,0x34, +0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06, +0x23,0x22,0x27,0x26,0x27,0x26,0x25,0x34,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16, +0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x01,0x34, +0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06, +0x23,0x22,0x27,0x26,0x27,0x26,0x01,0x11,0x21,0x11,0x25,0x21,0x11,0x21,0x04,0x24, +0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0x2b,0x2a, +0x1c,0x1e,0x15,0x13,0xfd,0x95,0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13, +0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1c,0x2a,0x2a, +0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x02,0x6c, +0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1c,0x2a,0x2a, +0x1c,0x1e,0x15,0x13,0xfd,0x94,0x13,0x14,0x1f,0x1c,0x2a,0x2a,0x1c,0x1e,0x15,0x13, +0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x02,0x6c,0x13,0x14,0x1f,0x1b, +0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1c,0x2a,0x2a,0x1c,0x1e,0x15,0x13, +0xfc,0x71,0x05,0xca,0xfa,0xdb,0x04,0x80,0xfb,0x80,0x02,0xe9,0x2a,0x1c,0x1e,0x15, +0x13,0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0x2b, +0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13, +0x14,0x1f,0x1b,0x01,0x93,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0x2b,0x2a, +0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0xfd,0x56,0x2a,0x1c,0x1e,0x15,0x13,0x13, +0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c, +0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f, +0x1b,0x03,0x00,0x2a,0x1c,0x1e,0x15,0x13,0x13,0x14,0x1f,0x1b,0x2b,0x2a,0x1c,0x1e, +0x15,0x13,0x13,0x14,0x1f,0x1b,0xfb,0xda,0x05,0xcd,0xfa,0x33,0xa5,0x04,0x83,0x00, +0x00,0x03,0x00,0xaa,0x00,0x01,0x06,0x82,0x05,0xd9,0x00,0x0f,0x00,0x1f,0x00,0x2f, +0x01,0x21,0xba,0x00,0x10,0x00,0x0c,0x00,0x03,0x2b,0xb8,0x00,0x10,0x10,0xba,0x00, +0x28,0x00,0x20,0x00,0x03,0x2b,0xb8,0x00,0x28,0x10,0xba,0x00,0x04,0x00,0x18,0x00, +0x03,0x2b,0xb8,0x00,0x04,0x10,0x41,0x1b,0x00,0x16,0x00,0x10,0x00,0x26,0x00,0x10, +0x00,0x36,0x00,0x10,0x00,0x46,0x00,0x10,0x00,0x56,0x00,0x10,0x00,0x66,0x00,0x10, +0x00,0x76,0x00,0x10,0x00,0x86,0x00,0x10,0x00,0x96,0x00,0x10,0x00,0xa6,0x00,0x10, +0x00,0xb6,0x00,0x10,0x00,0xc6,0x00,0x10,0x00,0xd6,0x00,0x10,0x00,0x0d,0x5d,0x41, +0x05,0x00,0xe5,0x00,0x10,0x00,0xf5,0x00,0x10,0x00,0x02,0x5d,0x41,0x05,0x00,0xea, +0x00,0x18,0x00,0xfa,0x00,0x18,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x18,0x00, +0x29,0x00,0x18,0x00,0x39,0x00,0x18,0x00,0x49,0x00,0x18,0x00,0x59,0x00,0x18,0x00, +0x69,0x00,0x18,0x00,0x79,0x00,0x18,0x00,0x89,0x00,0x18,0x00,0x99,0x00,0x18,0x00, +0xa9,0x00,0x18,0x00,0xb9,0x00,0x18,0x00,0xc9,0x00,0x18,0x00,0xd9,0x00,0x18,0x00, +0x0d,0x5d,0x41,0x05,0x00,0xea,0x00,0x20,0x00,0xfa,0x00,0x20,0x00,0x02,0x5d,0x41, +0x1b,0x00,0x19,0x00,0x20,0x00,0x29,0x00,0x20,0x00,0x39,0x00,0x20,0x00,0x49,0x00, +0x20,0x00,0x59,0x00,0x20,0x00,0x69,0x00,0x20,0x00,0x79,0x00,0x20,0x00,0x89,0x00, +0x20,0x00,0x99,0x00,0x20,0x00,0xa9,0x00,0x20,0x00,0xb9,0x00,0x20,0x00,0xc9,0x00, +0x20,0x00,0xd9,0x00,0x20,0x00,0x0d,0x5d,0xb8,0x00,0x31,0xdc,0x00,0xba,0x00,0x14, +0x00,0x08,0x00,0x03,0x2b,0xb8,0x00,0x14,0x10,0xba,0x00,0x00,0x00,0x1c,0x00,0x03, +0x2b,0xb8,0x00,0x00,0x10,0xba,0x00,0x24,0x00,0x2c,0x00,0x03,0x2b,0xb8,0x00,0x24, +0x10,0x30,0x31,0x01,0x32,0x04,0x12,0x15,0x14,0x02,0x04,0x23,0x22,0x24,0x02,0x35, +0x34,0x12,0x24,0x01,0x14,0x12,0x04,0x33,0x32,0x24,0x12,0x35,0x34,0x02,0x24,0x23, +0x22,0x04,0x02,0x05,0x34,0x3e,0x01,0x33,0x32,0x1e,0x01,0x15,0x14,0x0e,0x01,0x23, +0x22,0x2e,0x01,0x03,0x96,0xbc,0x01,0x65,0xcb,0xc5,0xfe,0x9b,0xc2,0xc2,0xfe,0x9b, +0xc5,0xc9,0x01,0x65,0xfe,0x28,0xae,0x01,0x3c,0xac,0xac,0x01,0x3c,0xae,0xb3,0xfe, +0xc4,0xa7,0xa8,0xfe,0xc3,0xb1,0x03,0x93,0x22,0x3c,0x21,0x20,0x3c,0x22,0x23,0x3c, +0x1f,0x21,0x3b,0x23,0x05,0xd9,0xc1,0xfe,0x98,0xc3,0xc3,0xfe,0x9d,0xc6,0xc6,0x01, +0x63,0xc3,0xc3,0x01,0x68,0xc1,0xfd,0x14,0xad,0xfe,0xc5,0xae,0xae,0x01,0x3b,0xad, +0xac,0x01,0x3f,0xab,0xab,0xfe,0xc1,0xac,0x21,0x3c,0x21,0x21,0x3c,0x21,0x21,0x3d, +0x20,0x20,0x3d,0x00,0x00,0x04,0x00,0xaa,0x00,0x01,0x06,0x82,0x05,0xd9,0x00,0x0f, +0x00,0x1f,0x00,0x2f,0x00,0x3f,0x01,0x7f,0xba,0x00,0x10,0x00,0x0c,0x00,0x03,0x2b, +0xb8,0x00,0x10,0x10,0xba,0x00,0x34,0x00,0x3c,0x00,0x03,0x2b,0xb8,0x00,0x34,0x10, +0xba,0x00,0x28,0x00,0x20,0x00,0x03,0x2b,0xb8,0x00,0x28,0x10,0xba,0x00,0x04,0x00, +0x18,0x00,0x03,0x2b,0xb8,0x00,0x04,0x10,0x41,0x1b,0x00,0x16,0x00,0x10,0x00,0x26, +0x00,0x10,0x00,0x36,0x00,0x10,0x00,0x46,0x00,0x10,0x00,0x56,0x00,0x10,0x00,0x66, +0x00,0x10,0x00,0x76,0x00,0x10,0x00,0x86,0x00,0x10,0x00,0x96,0x00,0x10,0x00,0xa6, +0x00,0x10,0x00,0xb6,0x00,0x10,0x00,0xc6,0x00,0x10,0x00,0xd6,0x00,0x10,0x00,0x0d, +0x5d,0x41,0x05,0x00,0xe5,0x00,0x10,0x00,0xf5,0x00,0x10,0x00,0x02,0x5d,0x41,0x05, +0x00,0xea,0x00,0x18,0x00,0xfa,0x00,0x18,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00, +0x18,0x00,0x29,0x00,0x18,0x00,0x39,0x00,0x18,0x00,0x49,0x00,0x18,0x00,0x59,0x00, +0x18,0x00,0x69,0x00,0x18,0x00,0x79,0x00,0x18,0x00,0x89,0x00,0x18,0x00,0x99,0x00, +0x18,0x00,0xa9,0x00,0x18,0x00,0xb9,0x00,0x18,0x00,0xc9,0x00,0x18,0x00,0xd9,0x00, +0x18,0x00,0x0d,0x5d,0x41,0x05,0x00,0xea,0x00,0x20,0x00,0xfa,0x00,0x20,0x00,0x02, +0x5d,0x41,0x1b,0x00,0x19,0x00,0x20,0x00,0x29,0x00,0x20,0x00,0x39,0x00,0x20,0x00, +0x49,0x00,0x20,0x00,0x59,0x00,0x20,0x00,0x69,0x00,0x20,0x00,0x79,0x00,0x20,0x00, +0x89,0x00,0x20,0x00,0x99,0x00,0x20,0x00,0xa9,0x00,0x20,0x00,0xb9,0x00,0x20,0x00, +0xc9,0x00,0x20,0x00,0xd9,0x00,0x20,0x00,0x0d,0x5d,0x41,0x1b,0x00,0x16,0x00,0x34, +0x00,0x26,0x00,0x34,0x00,0x36,0x00,0x34,0x00,0x46,0x00,0x34,0x00,0x56,0x00,0x34, +0x00,0x66,0x00,0x34,0x00,0x76,0x00,0x34,0x00,0x86,0x00,0x34,0x00,0x96,0x00,0x34, +0x00,0xa6,0x00,0x34,0x00,0xb6,0x00,0x34,0x00,0xc6,0x00,0x34,0x00,0xd6,0x00,0x34, +0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x34,0x00,0xf5,0x00,0x34,0x00,0x02,0x5d, +0xb8,0x00,0x41,0xdc,0x00,0xba,0x00,0x14,0x00,0x08,0x00,0x03,0x2b,0xb8,0x00,0x14, +0x10,0xba,0x00,0x00,0x00,0x1c,0x00,0x03,0x2b,0xb8,0x00,0x00,0x10,0xba,0x00,0x24, +0x00,0x2c,0x00,0x03,0x2b,0xb8,0x00,0x24,0x10,0xb8,0x00,0x30,0xd0,0xb8,0x00,0x2c, +0x10,0xb8,0x00,0x38,0xd0,0x30,0x31,0x01,0x32,0x04,0x12,0x15,0x14,0x02,0x04,0x23, +0x22,0x24,0x02,0x35,0x34,0x12,0x24,0x01,0x14,0x12,0x04,0x33,0x32,0x24,0x12,0x35, +0x34,0x02,0x24,0x23,0x22,0x04,0x02,0x05,0x34,0x3e,0x01,0x33,0x32,0x1e,0x01,0x15, +0x14,0x0e,0x01,0x23,0x22,0x2e,0x01,0x25,0x32,0x1e,0x01,0x15,0x14,0x0e,0x01,0x23, +0x22,0x2e,0x01,0x35,0x34,0x3e,0x01,0x03,0x96,0xbc,0x01,0x65,0xcb,0xc5,0xfe,0x9b, +0xc2,0xc2,0xfe,0x9b,0xc5,0xc9,0x01,0x65,0xfe,0x28,0xae,0x01,0x3c,0xac,0xac,0x01, +0x3c,0xae,0xb3,0xfe,0xc4,0xa7,0xa8,0xfe,0xc3,0xb1,0x03,0x93,0x22,0x3c,0x21,0x20, +0x3c,0x22,0x23,0x3c,0x1f,0x21,0x3b,0x23,0xfd,0x81,0x20,0x3c,0x23,0x22,0x3c,0x21, +0x20,0x3c,0x22,0x23,0x3b,0x05,0xd9,0xc1,0xfe,0x98,0xc3,0xc3,0xfe,0x9d,0xc6,0xc6, +0x01,0x63,0xc3,0xc3,0x01,0x68,0xc1,0xfd,0x14,0xad,0xfe,0xc5,0xae,0xae,0x01,0x3b, +0xad,0xac,0x01,0x3f,0xab,0xab,0xfe,0xc1,0xac,0x21,0x3c,0x21,0x21,0x3c,0x21,0x21, +0x3d,0x20,0x20,0x3d,0x9f,0x20,0x3d,0x21,0x21,0x3c,0x21,0x21,0x3c,0x21,0x21,0x3d, +0x20,0x00,0x00,0x02,0x00,0xaa,0x00,0x01,0x06,0x82,0x05,0xd9,0x00,0x0f,0x00,0x1f, +0x00,0x61,0xba,0x00,0x04,0x00,0x14,0x00,0x03,0x2b,0xb8,0x00,0x04,0x10,0x41,0x05, +0x00,0xea,0x00,0x14,0x00,0xfa,0x00,0x14,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00, +0x14,0x00,0x29,0x00,0x14,0x00,0x39,0x00,0x14,0x00,0x49,0x00,0x14,0x00,0x59,0x00, +0x14,0x00,0x69,0x00,0x14,0x00,0x79,0x00,0x14,0x00,0x89,0x00,0x14,0x00,0x99,0x00, +0x14,0x00,0xa9,0x00,0x14,0x00,0xb9,0x00,0x14,0x00,0xc9,0x00,0x14,0x00,0xd9,0x00, +0x14,0x00,0x0d,0x5d,0xb8,0x00,0x21,0xdc,0x00,0xb8,0x00,0x08,0x2f,0xb8,0x00,0x00, +0x2f,0x30,0x31,0x01,0x32,0x04,0x12,0x15,0x14,0x02,0x04,0x23,0x22,0x24,0x02,0x35, +0x34,0x12,0x24,0x01,0x32,0x3e,0x01,0x35,0x34,0x2e,0x01,0x23,0x22,0x0e,0x01,0x15, +0x14,0x1e,0x01,0x03,0x96,0xbc,0x01,0x65,0xcb,0xc5,0xfe,0x9b,0xc2,0xc2,0xfe,0x9b, +0xc5,0xc9,0x01,0x65,0x02,0x3a,0x1f,0x3c,0x23,0x22,0x3c,0x20,0x21,0x3c,0x22,0x23, +0x3b,0x05,0xd9,0xc1,0xfe,0x98,0xc3,0xc3,0xfe,0x9d,0xc6,0xc6,0x01,0x63,0xc3,0xc3, +0x01,0x68,0xc1,0xfc,0x96,0x20,0x3d,0x21,0x21,0x3c,0x21,0x21,0x3c,0x21,0x21,0x3d, +0x20,0x00,0x00,0x03,0x00,0xaa,0x00,0x01,0x06,0x82,0x05,0xd9,0x00,0x0f,0x00,0x1f, +0x00,0x2f,0x00,0xbf,0xb8,0x00,0x30,0x2f,0xb8,0x00,0x31,0x2f,0xb8,0x00,0x04,0xdc, +0xb8,0x00,0x30,0x10,0xb8,0x00,0x0c,0xd0,0xb8,0x00,0x0c,0x2f,0xb8,0x00,0x04,0x10, +0xb8,0x00,0x14,0xdc,0x41,0x05,0x00,0xea,0x00,0x14,0x00,0xfa,0x00,0x14,0x00,0x02, +0x5d,0x41,0x1b,0x00,0x19,0x00,0x14,0x00,0x29,0x00,0x14,0x00,0x39,0x00,0x14,0x00, +0x49,0x00,0x14,0x00,0x59,0x00,0x14,0x00,0x69,0x00,0x14,0x00,0x79,0x00,0x14,0x00, +0x89,0x00,0x14,0x00,0x99,0x00,0x14,0x00,0xa9,0x00,0x14,0x00,0xb9,0x00,0x14,0x00, +0xc9,0x00,0x14,0x00,0xd9,0x00,0x14,0x00,0x0d,0x5d,0xb8,0x00,0x0c,0x10,0xb8,0x00, +0x20,0xdc,0x41,0x1b,0x00,0x16,0x00,0x20,0x00,0x26,0x00,0x20,0x00,0x36,0x00,0x20, +0x00,0x46,0x00,0x20,0x00,0x56,0x00,0x20,0x00,0x66,0x00,0x20,0x00,0x76,0x00,0x20, +0x00,0x86,0x00,0x20,0x00,0x96,0x00,0x20,0x00,0xa6,0x00,0x20,0x00,0xb6,0x00,0x20, +0x00,0xc6,0x00,0x20,0x00,0xd6,0x00,0x20,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00, +0x20,0x00,0xf5,0x00,0x20,0x00,0x02,0x5d,0x00,0xb8,0x00,0x08,0x2f,0xb8,0x00,0x00, +0x2f,0x30,0x31,0x01,0x32,0x04,0x12,0x15,0x14,0x02,0x04,0x23,0x22,0x24,0x02,0x35, +0x34,0x12,0x24,0x01,0x32,0x3e,0x01,0x35,0x34,0x2e,0x01,0x23,0x22,0x0e,0x01,0x15, +0x14,0x1e,0x01,0x25,0x14,0x1e,0x01,0x33,0x32,0x3e,0x01,0x35,0x34,0x2e,0x01,0x23, +0x22,0x0e,0x01,0x03,0x96,0xbc,0x01,0x65,0xcb,0xc5,0xfe,0x9b,0xc2,0xc2,0xfe,0x9b, +0xc5,0xc9,0x01,0x65,0x02,0x3a,0x1f,0x3c,0x23,0x22,0x3c,0x20,0x21,0x3c,0x22,0x23, +0x3b,0xfc,0xa5,0x22,0x3c,0x20,0x21,0x3c,0x22,0x23,0x3c,0x20,0x20,0x3b,0x23,0x05, +0xd9,0xc1,0xfe,0x98,0xc3,0xc3,0xfe,0x9d,0xc6,0xc6,0x01,0x63,0xc3,0xc3,0x01,0x68, +0xc1,0xfc,0x96,0x20,0x3d,0x21,0x21,0x3c,0x21,0x21,0x3c,0x21,0x21,0x3d,0x20,0x7e, +0x21,0x3c,0x21,0x21,0x3c,0x21,0x21,0x3d,0x20,0x20,0x3d,0x00,0x00,0x01,0x00,0xaa, +0x00,0x00,0x06,0x82,0x00,0xc8,0x00,0x03,0x00,0x0f,0x00,0xba,0x00,0x01,0x00,0x02, +0x00,0x03,0x2b,0xb8,0x00,0x01,0x10,0x30,0x31,0x37,0x21,0x15,0x21,0xaa,0x05,0xd8, +0xfa,0x28,0xc8,0xc8,0x00,0x02,0x00,0xaa,0x00,0x00,0x06,0x82,0x00,0xc8,0x00,0x03, +0x00,0x07,0x00,0x1b,0x00,0xba,0x00,0x01,0x00,0x02,0x00,0x03,0x2b,0xb8,0x00,0x01, +0x10,0xb8,0x00,0x04,0xd0,0xb8,0x00,0x02,0x10,0xb8,0x00,0x06,0xd0,0x30,0x31,0x37, +0x21,0x15,0x21,0x25,0x21,0x15,0x21,0xaa,0x02,0x60,0xfd,0xa0,0x03,0x78,0x02,0x60, +0xfd,0xa0,0xc8,0xc8,0xc8,0xc8,0xff,0xff,0x00,0xaa,0x00,0x00,0x06,0x82,0x03,0x4d, +0x12,0x22,0x0a,0x25,0x00,0x00,0x10,0x03,0x0a,0x25,0x00,0x00,0x02,0x85,0xff,0xff, +0x00,0xaa,0x00,0x00,0x06,0x82,0x03,0x4d,0x12,0x22,0x0a,0x25,0x00,0x00,0x10,0x03, +0x0a,0x26,0x00,0x00,0x02,0x85,0xff,0xff,0x00,0xaa,0x00,0x00,0x06,0x82,0x03,0x4e, +0x12,0x22,0x0a,0x26,0x00,0x00,0x10,0x03,0x0a,0x25,0x00,0x00,0x02,0x86,0xff,0xff, +0x00,0xaa,0x00,0x00,0x06,0x82,0x03,0x4e,0x12,0x22,0x0a,0x26,0x00,0x00,0x10,0x03, +0x0a,0x26,0x00,0x00,0x02,0x86,0x00,0x02,0x01,0x58,0x00,0x06,0x05,0xd2,0x05,0xd9, +0x00,0x09,0x00,0x1a,0x00,0x43,0xb8,0x00,0x1b,0x2f,0xb8,0x00,0x1c,0x2f,0xb8,0x00, +0x15,0xdc,0xb8,0x00,0x03,0xdc,0xb8,0x00,0x1b,0x10,0xb8,0x00,0x0a,0xd0,0xb8,0x00, +0x0a,0x2f,0xb8,0x00,0x09,0xdc,0xb8,0x00,0x18,0xd0,0xb8,0x00,0x18,0x2f,0x00,0xb8, +0x00,0x19,0x2f,0xba,0x00,0x0c,0x00,0x0b,0x00,0x03,0x2b,0xb8,0x00,0x0c,0x10,0xb8, +0x00,0x0b,0x10,0xb8,0x00,0x0e,0xd0,0x30,0x31,0x01,0x36,0x04,0x25,0x11,0x06,0x27, +0x26,0x05,0x2f,0x01,0x23,0x27,0x21,0x15,0x23,0x15,0x36,0x17,0x16,0x37,0x11,0x04, +0x24,0x07,0x11,0x23,0x02,0x07,0xa6,0x01,0xd8,0x01,0x09,0xd7,0xea,0xb0,0xfe,0xfe, +0x14,0x63,0x4b,0x01,0x01,0x0e,0x4c,0xfd,0xd8,0xfb,0xe8,0xfe,0xe4,0xfe,0x02,0xb4, +0x60,0x02,0x9f,0x35,0xe6,0x2b,0x02,0x62,0x28,0x7d,0x9f,0x2a,0x02,0x5d,0x35,0x35, +0x1a,0x28,0x98,0x89,0x42,0xfd,0x0d,0x4a,0xf8,0x4e,0xfd,0xc6,0x00,0x01,0x01,0x58, +0x00,0x06,0x05,0xd2,0x05,0xd9,0x00,0x10,0x00,0x27,0xba,0x00,0x0e,0x00,0x10,0x00, +0x03,0x2b,0xb8,0x00,0x0e,0x10,0x00,0xb8,0x00,0x0f,0x2f,0xba,0x00,0x02,0x00,0x01, +0x00,0x03,0x2b,0xb8,0x00,0x02,0x10,0xb8,0x00,0x01,0x10,0xb8,0x00,0x04,0xd0,0x30, +0x31,0x01,0x23,0x27,0x21,0x15,0x23,0x15,0x36,0x17,0x16,0x37,0x11,0x04,0x24,0x07, +0x11,0x23,0x01,0xa4,0x4b,0x01,0x01,0x0e,0x4c,0xfd,0xd8,0xfb,0xe8,0xfe,0xe4,0xfe, +0x02,0xb4,0x60,0x05,0xa4,0x35,0x35,0x1a,0x28,0x98,0x89,0x42,0xfd,0x0d,0x4a,0xf8, +0x4e,0xfd,0xc6,0x00,0x00,0x01,0x00,0x6a,0x00,0x01,0x06,0xc1,0x05,0xda,0x00,0x1f, +0x00,0x1d,0x00,0xb8,0x00,0x08,0x2f,0xb8,0x00,0x0e,0x2f,0xb8,0x00,0x19,0x2f,0xb8, +0x00,0x1d,0x2f,0xba,0x00,0x14,0x00,0x19,0x00,0x08,0x11,0x12,0x39,0x30,0x31,0x09, +0x01,0x07,0x27,0x37,0x27,0x37,0x17,0x37,0x17,0x07,0x09,0x01,0x27,0x37,0x17,0x37, +0x17,0x07,0x16,0x13,0x09,0x01,0x17,0x01,0x07,0x01,0x27,0x07,0x01,0x27,0x01,0x03, +0x36,0xfe,0xb3,0xb9,0xc6,0xba,0x2e,0x8a,0x2b,0xb9,0xc5,0xb8,0x01,0x4d,0x01,0x4d, +0xb8,0xc6,0xb8,0x2c,0x88,0x2c,0x45,0x23,0xfe,0xd3,0xfe,0xb3,0xb2,0x01,0x3f,0xb9, +0xfe,0xf2,0xb3,0xb2,0xfe,0xf2,0xb8,0x01,0x3d,0x02,0x7e,0x01,0x51,0xbb,0xc7,0xbb, +0x2c,0x8a,0x2c,0xba,0xc8,0xba,0xfe,0xb0,0x01,0x4f,0xbb,0xc8,0xbb,0x2d,0x8a,0x2c, +0x71,0xfe,0x74,0x01,0x35,0xfe,0xaf,0xb3,0xfe,0xf0,0xb9,0x01,0x40,0xb4,0xb4,0xfe, +0xc0,0xb9,0x01,0x10,0x00,0x02,0x00,0xc6,0xff,0xec,0x06,0x65,0x05,0xdb,0x00,0x0f, +0x00,0x53,0x01,0x03,0xba,0x00,0x00,0x00,0x33,0x00,0x03,0x2b,0xba,0x00,0x45,0x00, +0x29,0x00,0x03,0x2b,0xb8,0x00,0x45,0x10,0xba,0x00,0x3b,0x00,0x08,0x00,0x03,0x2b, +0xb8,0x00,0x3b,0x10,0x41,0x1b,0x00,0x16,0x00,0x00,0x00,0x26,0x00,0x00,0x00,0x36, +0x00,0x00,0x00,0x46,0x00,0x00,0x00,0x56,0x00,0x00,0x00,0x66,0x00,0x00,0x00,0x76, +0x00,0x00,0x00,0x86,0x00,0x00,0x00,0x96,0x00,0x00,0x00,0xa6,0x00,0x00,0x00,0xb6, +0x00,0x00,0x00,0xc6,0x00,0x00,0x00,0xd6,0x00,0x00,0x00,0x0d,0x5d,0x41,0x05,0x00, +0xe5,0x00,0x00,0x00,0xf5,0x00,0x00,0x00,0x02,0x5d,0x41,0x05,0x00,0xea,0x00,0x08, +0x00,0xfa,0x00,0x08,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x08,0x00,0x29,0x00, +0x08,0x00,0x39,0x00,0x08,0x00,0x49,0x00,0x08,0x00,0x59,0x00,0x08,0x00,0x69,0x00, +0x08,0x00,0x79,0x00,0x08,0x00,0x89,0x00,0x08,0x00,0x99,0x00,0x08,0x00,0xa9,0x00, +0x08,0x00,0xb9,0x00,0x08,0x00,0xc9,0x00,0x08,0x00,0xd9,0x00,0x08,0x00,0x0d,0x5d, +0xb8,0x00,0x29,0x10,0xb8,0x00,0x2d,0xd0,0xb8,0x00,0x45,0x10,0xb8,0x00,0x40,0xd0, +0x00,0xb8,0x00,0x10,0x2f,0xb8,0x00,0x12,0x2f,0xb8,0x00,0x14,0x2f,0xb8,0x00,0x16, +0x2f,0xb8,0x00,0x18,0x2f,0xb8,0x00,0x1a,0x2f,0xba,0x00,0x37,0x00,0x0c,0x00,0x03, +0x2b,0xb8,0x00,0x37,0x10,0xba,0x00,0x04,0x00,0x2a,0x00,0x03,0x2b,0xb8,0x00,0x04, +0x10,0xb8,0x00,0x2a,0x10,0xb8,0x00,0x2d,0xdc,0xb8,0x00,0x41,0xd0,0xb8,0x00,0x2a, +0x10,0xb8,0x00,0x43,0xd0,0x30,0x31,0x01,0x14,0x1e,0x01,0x33,0x32,0x3e,0x01,0x35, +0x34,0x2e,0x01,0x23,0x22,0x0e,0x01,0x13,0x15,0x23,0x06,0x23,0x22,0x27,0x35,0x23, +0x15,0x23,0x22,0x24,0x27,0x26,0x27,0x07,0x03,0x05,0x07,0x17,0x16,0x17,0x16,0x17, +0x11,0x21,0x35,0x21,0x35,0x26,0x27,0x2e,0x01,0x35,0x34,0x3e,0x01,0x33,0x32,0x1e, +0x01,0x15,0x14,0x06,0x07,0x06,0x07,0x15,0x21,0x15,0x21,0x11,0x36,0x37,0x36,0x37, +0x36,0x37,0x27,0x25,0x03,0x27,0x06,0x07,0x06,0x07,0x06,0x03,0x10,0x27,0x48,0x26, +0x28,0x47,0x28,0x29,0x47,0x27,0x25,0x48,0x28,0xe3,0x08,0x25,0x27,0x03,0x03,0x07, +0x07,0xa9,0xfe,0xcb,0x56,0x10,0x0d,0x57,0x1d,0x01,0x33,0x57,0x06,0x49,0x84,0x6d, +0x75,0xfe,0x89,0x01,0x77,0x1a,0x19,0x3e,0x44,0x45,0x7d,0x41,0x42,0x7c,0x47,0x45, +0x3d,0x1b,0x1a,0x01,0x6d,0xfe,0x93,0x64,0x5e,0x84,0x4a,0x02,0x03,0x57,0x01,0x34, +0x1e,0x57,0x0c,0x11,0x56,0x9b,0x73,0x04,0xd6,0x27,0x48,0x27,0x27,0x48,0x27,0x28, +0x48,0x27,0x27,0x48,0xfa,0xf2,0x01,0x03,0x01,0x02,0x02,0x60,0x58,0x11,0x10,0x41, +0x01,0x4b,0x7c,0x40,0x06,0x58,0x31,0x28,0x07,0x02,0xd4,0x81,0x33,0x08,0x0e,0x22, +0x7c,0x44,0x44,0x7d,0x44,0x44,0x7d,0x44,0x44,0x7c,0x22,0x0e,0x09,0x32,0x81,0xfd, +0x2f,0x0a,0x22,0x31,0x58,0x03,0x03,0x40,0x7c,0xfe,0xb5,0x41,0x10,0x11,0x58,0x31, +0x23,0x00,0x00,0x04,0x01,0x0d,0x00,0x00,0x06,0x1f,0x05,0xd6,0x00,0x04,0x00,0x09, +0x00,0x39,0x00,0x59,0x00,0x77,0x00,0xb8,0x00,0x16,0x2f,0xb8,0x00,0x28,0x2f,0xb8, +0x00,0x36,0x2f,0xb8,0x00,0x38,0x2f,0xba,0x00,0x00,0x00,0x16,0x00,0x36,0x11,0x12, +0x39,0xba,0x00,0x02,0x00,0x16,0x00,0x36,0x11,0x12,0x39,0xba,0x00,0x06,0x00,0x16, +0x00,0x36,0x11,0x12,0x39,0xba,0x00,0x08,0x00,0x16,0x00,0x36,0x11,0x12,0x39,0xba, +0x00,0x1c,0x00,0x16,0x00,0x36,0x11,0x12,0x39,0xba,0x00,0x22,0x00,0x16,0x00,0x36, +0x11,0x12,0x39,0xba,0x00,0x3e,0x00,0x16,0x00,0x36,0x11,0x12,0x39,0xba,0x00,0x40, +0x00,0x16,0x00,0x36,0x11,0x12,0x39,0xba,0x00,0x46,0x00,0x16,0x00,0x36,0x11,0x12, +0x39,0xba,0x00,0x56,0x00,0x16,0x00,0x36,0x11,0x12,0x39,0x30,0x31,0x25,0x26,0x27, +0x07,0x16,0x25,0x17,0x36,0x37,0x26,0x09,0x01,0x36,0x37,0x33,0x06,0x07,0x17,0x16, +0x17,0x0e,0x01,0x07,0x26,0x2f,0x01,0x06,0x07,0x27,0x36,0x37,0x0b,0x01,0x16,0x17, +0x07,0x26,0x27,0x07,0x06,0x07,0x22,0x26,0x27,0x36,0x3f,0x01,0x26,0x27,0x33,0x16, +0x17,0x09,0x01,0x27,0x09,0x01,0x07,0x01,0x15,0x27,0x01,0x37,0x09,0x01,0x17,0x09, +0x01,0x26,0x2f,0x01,0x1e,0x01,0x17,0x37,0x26,0x27,0x01,0x17,0x07,0x01,0x06,0x07, +0x17,0x3e,0x01,0x37,0x07,0x06,0x07,0x05,0xc8,0x30,0x14,0x09,0x04,0xfb,0x96,0x09, +0x13,0x31,0x4a,0x02,0xca,0x01,0x16,0x4b,0x1b,0x5b,0x19,0x5d,0x9c,0x3e,0x02,0x06, +0x3c,0x2b,0x47,0x04,0x9d,0x67,0x5b,0x27,0x66,0x42,0xf4,0xf2,0x42,0x65,0x26,0x5c, +0x68,0x9c,0x01,0x3f,0x28,0x4b,0x04,0x01,0x3f,0x9c,0x5d,0x1a,0x5c,0x1b,0x4b,0x01, +0x16,0xfd,0xe3,0x20,0x02,0x88,0x02,0x8a,0x21,0xfd,0xc6,0x20,0x02,0x52,0x04,0xfd, +0x9b,0xfd,0x9c,0x04,0x02,0x54,0xfe,0xc1,0x58,0x31,0x16,0x29,0xa2,0xb1,0x08,0x7b, +0x56,0x01,0x38,0x23,0x01,0x01,0x10,0x55,0x77,0x09,0xb1,0xa1,0x29,0x16,0x2f,0x5e, +0x10,0x0e,0x40,0x08,0x52,0x3f,0x08,0x3f,0x0e,0x0c,0x02,0x29,0xfe,0xd0,0x3b,0x3c, +0x75,0x49,0xb6,0x03,0x40,0x2a,0x22,0x01,0x04,0x4f,0xa8,0x38,0x08,0x42,0x11,0x31, +0x01,0x22,0xfe,0xde,0x31,0x11,0x42,0x08,0x38,0xa8,0x48,0x0b,0x1d,0x24,0x4c,0x03, +0xb6,0x49,0x75,0x3c,0x3b,0x01,0x30,0x02,0x84,0x95,0xfd,0x3a,0x02,0xc6,0x95,0xfd, +0x59,0x01,0x25,0x02,0xc0,0x0e,0xfd,0x43,0x02,0xbd,0x0e,0xfd,0x45,0xfe,0x99,0x3a, +0x5c,0x02,0x4c,0x85,0x42,0x10,0x26,0x37,0x01,0x65,0x28,0x01,0xfe,0xc1,0x35,0x25, +0x10,0x42,0x85,0x4c,0x02,0x59,0x41,0x00,0x00,0x05,0x00,0x7d,0xff,0xec,0x03,0xd5, +0x05,0xdb,0x00,0x03,0x00,0x16,0x00,0x2a,0x00,0x43,0x00,0x54,0x01,0x0d,0xba,0x00, +0x2c,0x00,0x19,0x00,0x03,0x2b,0xb8,0x00,0x2c,0x10,0xb8,0x00,0x04,0xd0,0xb8,0x00, +0x2c,0x10,0xb8,0x00,0x0a,0xdc,0xb8,0x00,0x17,0xd0,0xb8,0x00,0x09,0xd0,0xb8,0x00, +0x0a,0x10,0xb8,0x00,0x21,0xdc,0xb8,0x00,0x2c,0x10,0xb8,0x00,0x28,0xd0,0xb8,0x00, +0x04,0x10,0xb8,0x00,0x29,0xd0,0xb8,0x00,0x0a,0x10,0xb8,0x00,0x2d,0xd0,0xb8,0x00, +0x17,0x10,0xb8,0x00,0x2e,0xd0,0xba,0x00,0x34,0x00,0x19,0x00,0x2c,0x11,0x12,0x39, +0xba,0x00,0x35,0x00,0x19,0x00,0x2c,0x11,0x12,0x39,0xba,0x00,0x36,0x00,0x19,0x00, +0x2c,0x11,0x12,0x39,0xb8,0x00,0x19,0x10,0xb8,0x00,0x3a,0xd0,0xb8,0x00,0x3a,0x2f, +0xb8,0x00,0x2c,0x10,0xb8,0x00,0x3f,0xd0,0xb8,0x00,0x3f,0x2f,0xb8,0x00,0x04,0x10, +0xb8,0x00,0x40,0xd0,0xb8,0x00,0x40,0x2f,0xb8,0x00,0x21,0x10,0xb8,0x00,0x42,0xd0, +0xb8,0x00,0x42,0x2f,0xb8,0x00,0x2c,0x10,0xb8,0x00,0x44,0xd0,0xb8,0x00,0x0a,0x10, +0xb8,0x00,0x45,0xd0,0xb8,0x00,0x17,0x10,0xb8,0x00,0x46,0xd0,0xb8,0x00,0x46,0x2f, +0xb8,0x00,0x04,0x10,0xb8,0x00,0x54,0xd0,0xb8,0x00,0x54,0x2f,0x00,0xb8,0x00,0x4d, +0x2f,0xb8,0x00,0x07,0x2f,0xb8,0x00,0x14,0x2f,0xba,0x00,0x32,0x00,0x2e,0x00,0x03, +0x2b,0xb8,0x00,0x32,0x10,0xba,0x00,0x04,0x00,0x14,0x00,0x4d,0x11,0x12,0x39,0xb8, +0x00,0x2e,0x10,0xb8,0x00,0x2b,0xd0,0xb8,0x00,0x2b,0x2f,0xba,0x00,0x34,0x00,0x2e, +0x00,0x32,0x11,0x12,0x39,0xba,0x00,0x35,0x00,0x2e,0x00,0x32,0x11,0x12,0x39,0xba, +0x00,0x36,0x00,0x2e,0x00,0x32,0x11,0x12,0x39,0x30,0x31,0x01,0x16,0x27,0x26,0x13, +0x15,0x06,0x23,0x22,0x27,0x35,0x26,0x37,0x36,0x37,0x17,0x06,0x07,0x06,0x04,0x07, +0x23,0x26,0x03,0x24,0x27,0x26,0x25,0x15,0x06,0x15,0x14,0x04,0x17,0x06,0x05,0x27, +0x36,0x27,0x26,0x27,0x11,0x27,0x13,0x11,0x27,0x11,0x24,0x27,0x36,0x37,0x36,0x17, +0x07,0x17,0x06,0x27,0x26,0x07,0x06,0x04,0x17,0x06,0x05,0x35,0x24,0x27,0x36,0x25, +0x27,0x03,0x2e,0x01,0x35,0x34,0x3e,0x01,0x33,0x32,0x1e,0x01,0x15,0x14,0x06,0x07, +0x01,0x54,0x44,0x15,0x24,0xf9,0x0c,0x1b,0x23,0x03,0xb6,0x01,0x07,0x9d,0x01,0x40, +0x01,0x03,0x01,0x46,0x02,0x0f,0x1c,0xc5,0xfe,0xe8,0x06,0x02,0x01,0x10,0xab,0x02, +0x2c,0x03,0x04,0xfe,0xed,0x01,0xbb,0x05,0x02,0xc3,0x4d,0x4d,0x4d,0xfe,0x76,0x04, +0x0d,0xd5,0x45,0x38,0x70,0x5f,0x4c,0x63,0x31,0x0b,0x04,0x02,0xf3,0x06,0x07,0xfe, +0x96,0x01,0x12,0x02,0x0d,0xfe,0xd7,0x4d,0x05,0x15,0x18,0x18,0x2a,0x16,0x17,0x2a, +0x18,0x17,0x15,0x04,0xa4,0x1e,0x2b,0x0b,0xfb,0x94,0x42,0x1d,0x40,0x30,0x22,0x41, +0x52,0x19,0x2f,0x18,0x16,0x30,0x3f,0x77,0x41,0x01,0xb7,0x25,0x6f,0x64,0x2f,0x44, +0x26,0x33,0x2e,0x59,0x61,0x51,0x2f,0x35,0x23,0x33,0x24,0x22,0xfe,0xb4,0x13,0x03, +0x01,0xfe,0x81,0x10,0x01,0x75,0x13,0x8a,0x90,0x05,0x04,0x49,0x1e,0x19,0x12,0x27, +0x0d,0x40,0x33,0x2f,0x75,0x8a,0x10,0x3d,0x20,0x3d,0x23,0x6e,0x07,0x01,0x2d,0x0b, +0x2e,0x18,0x19,0x2e,0x18,0x18,0x2e,0x19,0x18,0x2e,0x0b,0x00,0x00,0x03,0x00,0x79, +0xff,0xec,0x06,0xb2,0x05,0xdb,0x00,0x03,0x00,0x07,0x00,0x34,0x00,0x75,0x00,0xb8, +0x00,0x31,0x2f,0xb8,0x00,0x15,0x2f,0xb8,0x00,0x20,0x2f,0xba,0x00,0x09,0x00,0x0e, +0x00,0x03,0x2b,0xb8,0x00,0x09,0x10,0xba,0x00,0x01,0x00,0x15,0x00,0x31,0x11,0x12, +0x39,0xba,0x00,0x05,0x00,0x15,0x00,0x31,0x11,0x12,0x39,0xb8,0x00,0x0e,0x10,0xb8, +0x00,0x1a,0xd0,0xba,0x00,0x1b,0x00,0x15,0x00,0x31,0x11,0x12,0x39,0xb8,0x00,0x0e, +0x10,0xb8,0x00,0x26,0xd0,0xb8,0x00,0x09,0x10,0xb8,0x00,0x2c,0xd0,0xba,0x00,0x2e, +0x00,0x15,0x00,0x31,0x11,0x12,0x39,0xb8,0x00,0x09,0x10,0xb8,0x00,0x2f,0xd0,0xb8, +0x00,0x09,0x10,0xb8,0x00,0x32,0xd0,0xba,0x00,0x34,0x00,0x15,0x00,0x31,0x11,0x12, +0x39,0x30,0x31,0x25,0x09,0x01,0x04,0x25,0x09,0x01,0x04,0x01,0x33,0x32,0x1d,0x01, +0x14,0x2b,0x01,0x01,0x06,0x07,0x0e,0x01,0x23,0x22,0x2e,0x01,0x37,0x01,0x21,0x01, +0x16,0x0e,0x01,0x23,0x22,0x26,0x27,0x26,0x27,0x01,0x23,0x26,0x3d,0x01,0x34,0x3b, +0x01,0x37,0x17,0x33,0x1b,0x01,0x33,0x37,0x06,0x5f,0xfe,0xec,0xfe,0xec,0x01,0x15, +0xfd,0xaf,0xfe,0xed,0xfe,0xec,0x01,0x14,0x03,0x93,0xd6,0x38,0x29,0xc2,0x01,0x14, +0x02,0x30,0x2f,0xad,0x5f,0x5e,0xab,0x61,0x03,0x01,0x10,0xfd,0x4d,0x01,0x12,0x02, +0x60,0xac,0x5e,0x5e,0xad,0x31,0x2f,0x01,0x01,0x13,0xcc,0x20,0x39,0xd7,0x35,0x33, +0xfc,0x81,0x81,0xfc,0x34,0xed,0x03,0x3c,0xfc,0xc4,0x4c,0x4c,0x03,0x3c,0xfc,0xc4, +0x4c,0x03,0xf7,0x2a,0x19,0x28,0xfc,0xc7,0x44,0x3e,0x3f,0x47,0x47,0x7e,0x46,0x03, +0x36,0xfc,0xca,0x46,0x7e,0x47,0x47,0x3f,0x3e,0x44,0x03,0x39,0x11,0x1c,0x0f,0x2f, +0x9b,0x9b,0x01,0x43,0xfe,0xbd,0x9b,0x00,0x00,0x02,0x00,0x7d,0x00,0x00,0x06,0xae, +0x05,0xdb,0x00,0x16,0x00,0x22,0x00,0x37,0xba,0x00,0x1b,0x00,0x1e,0x00,0x03,0x2b, +0xb8,0x00,0x1b,0x10,0x00,0xb8,0x00,0x02,0x2f,0xb8,0x00,0x04,0x2f,0xb8,0x00,0x18, +0x2f,0xb8,0x00,0x1c,0x2f,0xb8,0x00,0x20,0x2f,0xba,0x00,0x17,0x00,0x1a,0x00,0x03, +0x2b,0xb8,0x00,0x17,0x10,0xb8,0x00,0x1a,0x10,0xb8,0x00,0x1e,0xd0,0x30,0x31,0x01, +0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x26,0x27,0x2e, +0x01,0x07,0x06,0x03,0x27,0x12,0x01,0x13,0x23,0x03,0x21,0x11,0x23,0x03,0x21,0x03, +0x23,0x13,0x02,0xd2,0xb8,0x9e,0x36,0x32,0xc9,0x4b,0x23,0x11,0x2b,0x7e,0x7e,0xe0, +0x52,0x21,0x4e,0x8f,0xa3,0xc7,0x78,0xe5,0x04,0xed,0x5f,0x7f,0x54,0xfe,0xe2,0x8a, +0x01,0xfe,0xe3,0x56,0x7f,0x5f,0x05,0x87,0x54,0x09,0x27,0xa6,0x4e,0x51,0x39,0x3b, +0x8d,0x3a,0x3b,0x50,0xb3,0x48,0x69,0x3f,0x43,0xfe,0xdf,0x44,0x01,0x99,0xfd,0x7c, +0xfd,0xa6,0x01,0xd7,0xfe,0x29,0x01,0xd7,0xfe,0x29,0x02,0x5a,0x00,0x02,0x01,0x29, +0x00,0x00,0x06,0x01,0x05,0xdb,0x00,0x0f,0x00,0x36,0x00,0xd7,0xba,0x00,0x00,0x00, +0x2a,0x00,0x03,0x2b,0xba,0x00,0x1a,0x00,0x24,0x00,0x03,0x2b,0xb8,0x00,0x1a,0x10, +0xba,0x00,0x32,0x00,0x08,0x00,0x03,0x2b,0xb8,0x00,0x32,0x10,0x41,0x1b,0x00,0x16, +0x00,0x00,0x00,0x26,0x00,0x00,0x00,0x36,0x00,0x00,0x00,0x46,0x00,0x00,0x00,0x56, +0x00,0x00,0x00,0x66,0x00,0x00,0x00,0x76,0x00,0x00,0x00,0x86,0x00,0x00,0x00,0x96, +0x00,0x00,0x00,0xa6,0x00,0x00,0x00,0xb6,0x00,0x00,0x00,0xc6,0x00,0x00,0x00,0xd6, +0x00,0x00,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x00,0x00,0xf5,0x00,0x00,0x00, +0x02,0x5d,0x41,0x05,0x00,0xea,0x00,0x08,0x00,0xfa,0x00,0x08,0x00,0x02,0x5d,0x41, +0x1b,0x00,0x19,0x00,0x08,0x00,0x29,0x00,0x08,0x00,0x39,0x00,0x08,0x00,0x49,0x00, +0x08,0x00,0x59,0x00,0x08,0x00,0x69,0x00,0x08,0x00,0x79,0x00,0x08,0x00,0x89,0x00, +0x08,0x00,0x99,0x00,0x08,0x00,0xa9,0x00,0x08,0x00,0xb9,0x00,0x08,0x00,0xc9,0x00, +0x08,0x00,0xd9,0x00,0x08,0x00,0x0d,0x5d,0xb8,0x00,0x1a,0x10,0xb8,0x00,0x10,0xd0, +0xb8,0x00,0x10,0x2f,0xb8,0x00,0x24,0x10,0xb8,0x00,0x1d,0xd0,0xb8,0x00,0x1d,0x2f, +0x00,0xb8,0x00,0x1a,0x2f,0xba,0x00,0x2e,0x00,0x0c,0x00,0x03,0x2b,0xb8,0x00,0x2e, +0x10,0x30,0x31,0x01,0x14,0x1e,0x01,0x33,0x32,0x3e,0x01,0x35,0x34,0x2e,0x01,0x23, +0x22,0x0e,0x01,0x13,0x15,0x33,0x16,0x36,0x37,0x14,0x04,0x07,0x06,0x07,0x23,0x26, +0x37,0x26,0x24,0x03,0x1e,0x01,0x37,0x33,0x35,0x26,0x27,0x2e,0x01,0x35,0x34,0x3e, +0x01,0x33,0x32,0x1e,0x01,0x15,0x14,0x06,0x07,0x06,0x02,0xe6,0x32,0x5b,0x30,0x32, +0x5b,0x32,0x34,0x5a,0x31,0x2f,0x5b,0x33,0xee,0x06,0x98,0xe2,0xad,0xfe,0x29,0x27, +0x35,0x02,0x2a,0x2e,0x03,0x05,0xfe,0x0f,0x58,0xc7,0xf7,0x90,0x06,0x41,0x3c,0x4e, +0x57,0x58,0x9d,0x53,0x53,0x9e,0x5a,0x58,0x4e,0x39,0x04,0x92,0x32,0x59,0x32,0x32, +0x59,0x32,0x32,0x5b,0x30,0x30,0x5b,0xfe,0x88,0x9c,0x01,0xc0,0x26,0xe7,0x9a,0x97, +0x88,0xf5,0xb3,0xa3,0x84,0x8f,0x01,0x31,0x02,0xf5,0x0d,0x9b,0x07,0x23,0x2b,0x9c, +0x56,0x56,0x9e,0x55,0x55,0x9e,0x56,0x56,0x9c,0x2b,0x20,0x00,0x00,0x03,0x00,0xa9, +0x00,0x00,0x06,0x84,0x05,0xdb,0x00,0x0f,0x00,0x1f,0x00,0x5f,0x01,0x1f,0xb8,0x00, +0x60,0x2f,0xb8,0x00,0x61,0x2f,0xb8,0x00,0x60,0x10,0xb8,0x00,0x00,0xd0,0xb8,0x00, +0x00,0x2f,0xb8,0x00,0x61,0x10,0xb8,0x00,0x08,0xdc,0xb8,0x00,0x14,0xdc,0x41,0x05, +0x00,0xea,0x00,0x14,0x00,0xfa,0x00,0x14,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00, +0x14,0x00,0x29,0x00,0x14,0x00,0x39,0x00,0x14,0x00,0x49,0x00,0x14,0x00,0x59,0x00, +0x14,0x00,0x69,0x00,0x14,0x00,0x79,0x00,0x14,0x00,0x89,0x00,0x14,0x00,0x99,0x00, +0x14,0x00,0xa9,0x00,0x14,0x00,0xb9,0x00,0x14,0x00,0xc9,0x00,0x14,0x00,0xd9,0x00, +0x14,0x00,0x0d,0x5d,0xb8,0x00,0x00,0x10,0xb8,0x00,0x1c,0xdc,0x41,0x1b,0x00,0x16, +0x00,0x1c,0x00,0x26,0x00,0x1c,0x00,0x36,0x00,0x1c,0x00,0x46,0x00,0x1c,0x00,0x56, +0x00,0x1c,0x00,0x66,0x00,0x1c,0x00,0x76,0x00,0x1c,0x00,0x86,0x00,0x1c,0x00,0x96, +0x00,0x1c,0x00,0xa6,0x00,0x1c,0x00,0xb6,0x00,0x1c,0x00,0xc6,0x00,0x1c,0x00,0xd6, +0x00,0x1c,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x1c,0x00,0xf5,0x00,0x1c,0x00, +0x02,0x5d,0xb8,0x00,0x14,0x10,0xb8,0x00,0x26,0xd0,0xb8,0x00,0x26,0x2f,0xb8,0x00, +0x1c,0x10,0xb8,0x00,0x2b,0xd0,0xb8,0x00,0x2b,0x2f,0xb8,0x00,0x00,0x10,0xb8,0x00, +0x33,0xd0,0xb8,0x00,0x33,0x2f,0xb8,0x00,0x1c,0x10,0xb8,0x00,0x46,0xd0,0xb8,0x00, +0x46,0x2f,0xb8,0x00,0x14,0x10,0xb8,0x00,0x4b,0xd0,0xb8,0x00,0x4b,0x2f,0xb8,0x00, +0x08,0x10,0xb8,0x00,0x53,0xd0,0xb8,0x00,0x53,0x2f,0x00,0xb8,0x00,0x48,0x2f,0xb8, +0x00,0x28,0x2f,0xba,0x00,0x18,0x00,0x04,0x00,0x03,0x2b,0xb8,0x00,0x18,0x10,0xba, +0x00,0x0c,0x00,0x10,0x00,0x03,0x2b,0xb8,0x00,0x0c,0x10,0x30,0x31,0x01,0x14,0x1e, +0x01,0x33,0x32,0x3e,0x01,0x35,0x34,0x2e,0x01,0x23,0x22,0x0e,0x01,0x25,0x32,0x1e, +0x01,0x15,0x14,0x0e,0x01,0x23,0x22,0x2e,0x01,0x35,0x34,0x3e,0x01,0x01,0x07,0x27, +0x07,0x17,0x07,0x27,0x0f,0x01,0x23,0x2f,0x01,0x07,0x27,0x37,0x27,0x07,0x27,0x37, +0x27,0x07,0x27,0x37,0x2f,0x01,0x35,0x3f,0x01,0x27,0x37,0x17,0x37,0x27,0x37,0x17, +0x37,0x27,0x37,0x17,0x3f,0x01,0x33,0x1f,0x01,0x37,0x17,0x07,0x17,0x37,0x17,0x07, +0x17,0x37,0x17,0x07,0x1f,0x01,0x15,0x0f,0x01,0x17,0x07,0x27,0x07,0x01,0x86,0x8c, +0xfb,0x89,0x8a,0xfb,0x8c,0x90,0xfc,0x85,0x86,0xfc,0x8e,0x02,0x10,0x27,0x48,0x29, +0x28,0x48,0x28,0x27,0x48,0x28,0x28,0x49,0x02,0x5c,0x48,0x73,0x3d,0x11,0x5d,0x53, +0x48,0x24,0x65,0x24,0x48,0x52,0x5e,0x0f,0x3c,0x72,0x48,0x40,0x28,0x86,0x27,0x6a, +0x0e,0x7f,0x7e,0x0d,0x68,0x28,0x83,0x29,0x3f,0x48,0x73,0x3c,0x10,0x5d,0x54,0x48, +0x23,0x65,0x24,0x48,0x52,0x5e,0x10,0x3c,0x73,0x48,0x41,0x29,0x86,0x26,0x6a,0x0f, +0x7f,0x7e,0x0e,0x68,0x27,0x83,0x2a,0x02,0xed,0x89,0xfb,0x8b,0x8b,0xfb,0x89,0x8a, +0xfe,0x89,0x89,0xfe,0x0e,0x27,0x49,0x28,0x27,0x48,0x28,0x28,0x48,0x27,0x28,0x49, +0x27,0xfd,0x7b,0x48,0x40,0x28,0x86,0x27,0x6b,0x0e,0x80,0x7f,0x0d,0x69,0x28,0x83, +0x29,0x3f,0x48,0x73,0x3c,0x10,0x5d,0x53,0x48,0x24,0x65,0x24,0x48,0x52,0x5e,0x0f, +0x3b,0x73,0x48,0x41,0x29,0x86,0x26,0x6a,0x0e,0x80,0x7f,0x0e,0x69,0x27,0x84,0x2a, +0x41,0x48,0x73,0x3c,0x10,0x5d,0x53,0x48,0x24,0x65,0x24,0x48,0x52,0x5e,0x0f,0x3b, +0x00,0x0f,0x01,0x06,0xff,0xed,0x06,0x25,0x05,0xdd,0x00,0x09,0x00,0x0e,0x00,0x13, +0x00,0x18,0x00,0x1d,0x00,0x22,0x00,0x27,0x00,0x2c,0x00,0x31,0x00,0x36,0x00,0x3b, +0x00,0x40,0x00,0x45,0x00,0x51,0x00,0x94,0x01,0x0b,0xba,0x00,0x7c,0x00,0x52,0x00, +0x03,0x2b,0xb8,0x00,0x7c,0x10,0xba,0x00,0x04,0x00,0x52,0x00,0x7c,0x11,0x12,0x39, +0xba,0x00,0x06,0x00,0x52,0x00,0x7c,0x11,0x12,0x39,0xb8,0x00,0x68,0xd0,0xb8,0x00, +0x68,0x2f,0xb8,0x00,0x52,0x10,0xb8,0x00,0x81,0xd0,0xb8,0x00,0x81,0x2f,0xb8,0x00, +0x52,0x10,0xb8,0x00,0x83,0xd0,0x00,0xb8,0x00,0x7f,0x2f,0xb8,0x00,0x06,0x2f,0xb8, +0x00,0x5c,0x2f,0xba,0x00,0x8f,0x00,0x8b,0x00,0x03,0x2b,0xb8,0x00,0x8f,0x10,0xba, +0x00,0x04,0x00,0x8b,0x00,0x8f,0x11,0x12,0x39,0xba,0x00,0x0a,0x00,0x8b,0x00,0x8f, +0x11,0x12,0x39,0xba,0x00,0x0f,0x00,0x8b,0x00,0x8f,0x11,0x12,0x39,0xba,0x00,0x14, +0x00,0x8b,0x00,0x8f,0x11,0x12,0x39,0xba,0x00,0x19,0x00,0x8b,0x00,0x8f,0x11,0x12, +0x39,0xba,0x00,0x1e,0x00,0x8b,0x00,0x8f,0x11,0x12,0x39,0xba,0x00,0x23,0x00,0x8b, +0x00,0x8f,0x11,0x12,0x39,0xba,0x00,0x25,0x00,0x8b,0x00,0x8f,0x11,0x12,0x39,0xba, +0x00,0x2b,0x00,0x8b,0x00,0x8f,0x11,0x12,0x39,0xba,0x00,0x30,0x00,0x8b,0x00,0x8f, +0x11,0x12,0x39,0xba,0x00,0x35,0x00,0x8b,0x00,0x8f,0x11,0x12,0x39,0xba,0x00,0x3a, +0x00,0x8b,0x00,0x8f,0x11,0x12,0x39,0xba,0x00,0x3f,0x00,0x8b,0x00,0x8f,0x11,0x12, +0x39,0xba,0x00,0x42,0x00,0x8b,0x00,0x8f,0x11,0x12,0x39,0xba,0x00,0x44,0x00,0x8b, +0x00,0x8f,0x11,0x12,0x39,0xb8,0x00,0x6f,0xd0,0xb8,0x00,0x6f,0x2f,0xb8,0x00,0x8b, +0x10,0xb8,0x00,0x73,0xd0,0xb8,0x00,0x73,0x2f,0xba,0x00,0x91,0x00,0x8b,0x00,0x8f, +0x11,0x12,0x39,0x30,0x31,0x01,0x14,0x1e,0x01,0x33,0x26,0x37,0x22,0x0e,0x01,0x05, +0x16,0x17,0x37,0x26,0x27,0x16,0x17,0x37,0x26,0x27,0x16,0x17,0x37,0x26,0x27,0x16, +0x07,0x37,0x26,0x27,0x16,0x07,0x17,0x36,0x27,0x06,0x07,0x17,0x36,0x25,0x17,0x36, +0x37,0x06,0x07,0x17,0x36,0x37,0x06,0x07,0x17,0x36,0x37,0x06,0x1f,0x01,0x26,0x37, +0x06,0x17,0x37,0x26,0x37,0x06,0x17,0x37,0x26,0x27,0x06,0x05,0x22,0x06,0x15,0x14, +0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x27,0x35,0x26,0x27,0x2e,0x01,0x35,0x34,0x3e, +0x01,0x33,0x32,0x1e,0x01,0x15,0x14,0x06,0x07,0x06,0x07,0x33,0x14,0x23,0x15,0x16, +0x17,0x16,0x17,0x36,0x37,0x04,0x17,0x06,0x23,0x26,0x07,0x16,0x15,0x14,0x07,0x06, +0x07,0x03,0x15,0x06,0x23,0x22,0x2f,0x01,0x03,0x26,0x27,0x26,0x35,0x34,0x37,0x26, +0x07,0x22,0x27,0x36,0x25,0x16,0x17,0x36,0x37,0x36,0x03,0x56,0x11,0x1f,0x12,0x1d, +0x1d,0x11,0x20,0x11,0x02,0x04,0x6e,0x2a,0x1a,0x5b,0x91,0x6e,0x25,0x27,0x5a,0x78, +0x4c,0x10,0x30,0x3c,0x7b,0x32,0x01,0x3b,0x26,0x62,0x03,0x18,0x3b,0x02,0x3e,0x2f, +0x32,0x3a,0x2e,0xfc,0x6d,0x1a,0x2a,0x6e,0x57,0x29,0x27,0x24,0x6f,0x60,0x14,0x30, +0x10,0x4c,0x50,0x0f,0x3b,0x01,0x32,0x46,0x3c,0x3b,0x19,0x04,0x28,0x65,0x3a,0x32, +0x2f,0x07,0x01,0x22,0x37,0x4c,0x4c,0x37,0x35,0x4d,0x4c,0x5a,0x03,0x02,0x13,0x15, +0x15,0x27,0x15,0x14,0x26,0x16,0x15,0x13,0x02,0x03,0x01,0x01,0x34,0x29,0x03,0x03, +0x50,0x16,0x01,0x4e,0x50,0x55,0xfe,0x51,0x37,0x04,0x34,0x28,0x34,0x01,0x0b,0x17, +0x19,0x08,0x01,0x02,0x33,0x28,0x34,0x03,0x3a,0x58,0xfe,0x55,0x50,0x01,0x4e,0x15, +0x52,0x07,0x09,0x28,0x05,0x8f,0x11,0x1f,0x12,0x40,0x44,0x11,0x20,0x56,0x3e,0x30, +0x26,0x38,0x14,0x61,0x3e,0x21,0x55,0x2a,0x7e,0x45,0x13,0x6d,0x4c,0x91,0x4b,0x08, +0x7d,0x60,0x9a,0x47,0x0a,0x82,0x66,0x88,0x37,0x1a,0x72,0x0a,0x26,0x30,0x3e,0x10, +0x6a,0x21,0x3e,0x61,0x29,0x86,0x13,0x45,0x7e,0x43,0x88,0x08,0x4b,0x91,0x57,0x8b, +0x0a,0x47,0x9a,0x69,0x73,0x1a,0x37,0x88,0x67,0x3a,0x4d,0x35,0x37,0x4c,0x4c,0x37, +0x35,0x4d,0x2d,0x5a,0x01,0x02,0x0a,0x27,0x15,0x15,0x27,0x15,0x15,0x27,0x15,0x15, +0x27,0x0a,0x02,0x01,0x01,0x59,0x09,0x28,0x03,0x04,0x80,0x35,0x06,0x5b,0xa3,0x18, +0x18,0x14,0x15,0x4a,0x35,0x28,0x09,0xfc,0xd6,0x5c,0x16,0x1c,0x64,0x03,0x1c,0x09, +0x28,0x35,0x4a,0x12,0x11,0x20,0x1b,0xa3,0x5b,0x06,0x34,0x8c,0x0a,0x09,0x27,0x00, +0x00,0x0f,0x01,0x05,0x00,0x00,0x06,0x27,0x05,0xd3,0x00,0x0f,0x00,0x1b,0x00,0x27, +0x00,0x2f,0x00,0x47,0x00,0x53,0x00,0x8b,0x00,0x97,0x00,0x9f,0x00,0xa7,0x00,0xb3, +0x00,0xbb,0x00,0xc3,0x00,0xcb,0x00,0xd7,0x02,0x6d,0xb8,0x00,0xd8,0x2f,0xb8,0x00, +0xd9,0x2f,0xb8,0x00,0xd8,0x10,0xb8,0x00,0xba,0xd0,0xb8,0x00,0xba,0x2f,0xb8,0x00, +0x10,0xd0,0xb8,0x00,0x10,0x2f,0xb8,0x00,0xd9,0x10,0xb8,0x00,0x4a,0xdc,0xb8,0x00, +0x1c,0xd0,0xb8,0x00,0x4a,0x10,0xb8,0x00,0x28,0xd0,0xb8,0x00,0x28,0x2f,0xb8,0x00, +0x4a,0x10,0xb8,0x00,0x2a,0xd0,0xb8,0x00,0x2a,0x2f,0xb8,0x00,0x4a,0x10,0xb8,0x00, +0x2c,0xd0,0xb8,0x00,0x2c,0x2f,0xb8,0x00,0x4a,0x10,0xb8,0x00,0x9e,0xdc,0x41,0x05, +0x00,0xea,0x00,0x9e,0x00,0xfa,0x00,0x9e,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00, +0x9e,0x00,0x29,0x00,0x9e,0x00,0x39,0x00,0x9e,0x00,0x49,0x00,0x9e,0x00,0x59,0x00, +0x9e,0x00,0x69,0x00,0x9e,0x00,0x79,0x00,0x9e,0x00,0x89,0x00,0x9e,0x00,0x99,0x00, +0x9e,0x00,0xa9,0x00,0x9e,0x00,0xb9,0x00,0x9e,0x00,0xc9,0x00,0x9e,0x00,0xd9,0x00, +0x9e,0x00,0x0d,0x5d,0xb8,0x00,0x30,0xd0,0xb8,0x00,0x30,0x2f,0xb8,0x00,0xba,0x10, +0xb8,0x00,0xbc,0xdc,0x41,0x1b,0x00,0x16,0x00,0xbc,0x00,0x26,0x00,0xbc,0x00,0x36, +0x00,0xbc,0x00,0x46,0x00,0xbc,0x00,0x56,0x00,0xbc,0x00,0x66,0x00,0xbc,0x00,0x76, +0x00,0xbc,0x00,0x86,0x00,0xbc,0x00,0x96,0x00,0xbc,0x00,0xa6,0x00,0xbc,0x00,0xb6, +0x00,0xbc,0x00,0xc6,0x00,0xbc,0x00,0xd6,0x00,0xbc,0x00,0x0d,0x5d,0x41,0x05,0x00, +0xe5,0x00,0xbc,0x00,0xf5,0x00,0xbc,0x00,0x02,0x5d,0xb8,0x00,0x38,0xd0,0xb8,0x00, +0x38,0x2f,0xb8,0x00,0xbc,0x10,0xb8,0x00,0x3a,0xd0,0xb8,0x00,0x3a,0x2f,0xb8,0x00, +0xbc,0x10,0xb8,0x00,0x3c,0xd0,0xb8,0x00,0x3c,0x2f,0xb8,0x00,0x9e,0x10,0xb8,0x00, +0x44,0xd0,0xb8,0x00,0x44,0x2f,0xb8,0x00,0x9e,0x10,0xb8,0x00,0x46,0xd0,0xb8,0x00, +0x46,0x2f,0xb8,0x00,0x9e,0x10,0xb8,0x00,0x98,0xd0,0xb8,0x00,0x98,0x2f,0xba,0x00, +0x9a,0x00,0xba,0x00,0x2a,0x11,0x12,0x39,0xb8,0x00,0xbc,0x10,0xb8,0x00,0xa0,0xd0, +0xb8,0x00,0xa0,0x2f,0xb8,0x00,0xbc,0x10,0xb8,0x00,0xa2,0xd0,0xba,0x00,0xa6,0x00, +0xba,0x00,0x2a,0x11,0x12,0x39,0xb8,0x00,0xba,0x10,0xb8,0x00,0xb2,0xd0,0xb8,0x00, +0xb2,0x2f,0xb8,0x00,0xba,0x10,0xb8,0x00,0xb4,0xd0,0xb8,0x00,0xb4,0x2f,0xb8,0x00, +0xba,0x10,0xb8,0x00,0xb8,0xd0,0xb8,0x00,0xb8,0x2f,0xb8,0x00,0xbc,0x10,0xb8,0x00, +0xbe,0xd0,0xb8,0x00,0xbe,0x2f,0xba,0x00,0xc0,0x00,0xba,0x00,0x2a,0x11,0x12,0x39, +0xba,0x00,0xc4,0x00,0xba,0x00,0x2a,0x11,0x12,0x39,0xb8,0x00,0x9e,0x10,0xb8,0x00, +0xc6,0xd0,0xb8,0x00,0xc6,0x2f,0xb8,0x00,0x9e,0x10,0xb8,0x00,0xc8,0xd0,0x00,0xb8, +0x00,0x58,0x2f,0xb8,0x00,0x75,0x2f,0xba,0x00,0x5e,0x00,0x52,0x00,0x03,0x2b,0xb8, +0x00,0x5e,0x10,0xba,0x00,0x28,0x00,0x75,0x00,0x58,0x11,0x12,0x39,0xba,0x00,0x2c, +0x00,0x75,0x00,0x58,0x11,0x12,0x39,0xb8,0x00,0x8a,0xd0,0xba,0x00,0x98,0x00,0x75, +0x00,0x58,0x11,0x12,0x39,0xba,0x00,0x9a,0x00,0x75,0x00,0x58,0x11,0x12,0x39,0xba, +0x00,0x9e,0x00,0x75,0x00,0x58,0x11,0x12,0x39,0xba,0x00,0xa2,0x00,0x75,0x00,0x58, +0x11,0x12,0x39,0xba,0x00,0xa6,0x00,0x75,0x00,0x58,0x11,0x12,0x39,0xb8,0x00,0x52, +0x10,0xb8,0x00,0xaa,0xd0,0xba,0x00,0xb4,0x00,0x75,0x00,0x58,0x11,0x12,0x39,0xba, +0x00,0xb8,0x00,0x75,0x00,0x58,0x11,0x12,0x39,0xba,0x00,0xbc,0x00,0x75,0x00,0x58, +0x11,0x12,0x39,0xba,0x00,0xbe,0x00,0x75,0x00,0x58,0x11,0x12,0x39,0xba,0x00,0xc0, +0x00,0x75,0x00,0x58,0x11,0x12,0x39,0xba,0x00,0xc4,0x00,0x75,0x00,0x58,0x11,0x12, +0x39,0xba,0x00,0xc6,0x00,0x75,0x00,0x58,0x11,0x12,0x39,0xba,0x00,0xc8,0x00,0x75, +0x00,0x58,0x11,0x12,0x39,0x30,0x31,0x01,0x32,0x1e,0x01,0x15,0x14,0x0e,0x01,0x23, +0x22,0x2e,0x01,0x35,0x34,0x3e,0x01,0x07,0x26,0x27,0x06,0x07,0x06,0x17,0x16,0x37, +0x36,0x37,0x26,0x25,0x06,0x07,0x16,0x17,0x16,0x37,0x36,0x27,0x26,0x27,0x06,0x27, +0x16,0x15,0x14,0x07,0x36,0x37,0x26,0x27,0x26,0x27,0x26,0x27,0x06,0x07,0x06,0x07, +0x06,0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x13, +0x16,0x17,0x16,0x17,0x36,0x37,0x36,0x27,0x26,0x07,0x06,0x05,0x37,0x3e,0x01,0x33, +0x32,0x16,0x17,0x15,0x36,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x17,0x16, +0x17,0x16,0x15,0x14,0x07,0x0e,0x01,0x27,0x23,0x06,0x07,0x06,0x23,0x22,0x27,0x26, +0x27,0x06,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x26,0x27,0x26,0x35,0x34,0x37, +0x36,0x37,0x36,0x05,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x07,0x16,0x17,0x36,0x17, +0x06,0x07,0x16,0x17,0x16,0x17,0x26,0x25,0x06,0x07,0x36,0x37,0x36,0x37,0x26,0x27, +0x26,0x27,0x26,0x07,0x06,0x17,0x16,0x17,0x36,0x37,0x36,0x07,0x06,0x07,0x16,0x17, +0x26,0x35,0x34,0x17,0x16,0x17,0x36,0x37,0x26,0x27,0x26,0x17,0x16,0x17,0x36,0x37, +0x06,0x07,0x06,0x07,0x06,0x07,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x37,0x26,0x03, +0x96,0x13,0x24,0x14,0x14,0x24,0x13,0x14,0x24,0x14,0x14,0x24,0xe1,0x4f,0x47,0x7f, +0x33,0x36,0x19,0x19,0x65,0x63,0x98,0x0e,0x01,0xe2,0x06,0x0e,0x99,0x63,0x65,0x19, +0x1a,0x37,0x34,0x7f,0x47,0x4c,0x02,0x02,0x39,0x34,0x34,0x6d,0x2f,0x31,0x32,0x32, +0x31,0x30,0x32,0x2f,0x02,0x02,0x2e,0x33,0x30,0x33,0x31,0x31,0x32,0x2e,0x03,0x19, +0x0f,0x06,0x4f,0x46,0x7d,0x36,0x38,0x1a,0x1a,0x67,0x65,0xfd,0xb4,0x01,0x22,0x77, +0x3f,0x3e,0x76,0x22,0xa9,0x72,0x74,0x20,0x0c,0x23,0x38,0x88,0x01,0x8a,0x37,0x21, +0x0c,0x1f,0xe2,0xac,0x01,0x22,0x3a,0x3b,0x40,0x41,0x3c,0x3a,0x22,0xab,0xe3,0x1f, +0x0b,0x21,0x36,0x8a,0x88,0x36,0x23,0x0b,0x20,0x73,0x72,0x02,0x2a,0x1b,0x2e,0x2f, +0x31,0x33,0x2f,0x2e,0x1b,0x55,0x56,0x54,0x5c,0x3c,0x3e,0x22,0x24,0x21,0x21,0x05, +0xfe,0x95,0x09,0x05,0x21,0x22,0x23,0x22,0x3e,0x6b,0x95,0x63,0x67,0x19,0x1b,0x38, +0x36,0x7c,0x46,0x4f,0x06,0x09,0x39,0x33,0x33,0x39,0x01,0x39,0x05,0x09,0x3c,0x3e, +0x23,0x22,0x23,0xd6,0x3e,0x3c,0x09,0x05,0x20,0x22,0x24,0x5a,0x54,0x55,0x1a,0x2e, +0x2f,0x34,0x33,0x2e,0x2e,0x1a,0x56,0x03,0x35,0x13,0x24,0x15,0x14,0x23,0x14,0x14, +0x23,0x14,0x15,0x24,0x13,0xd9,0x35,0x39,0x67,0x54,0x56,0x2b,0x2b,0x04,0x04,0x39, +0x5a,0x5e,0x5e,0x5a,0x39,0x04,0x04,0x2b,0x2b,0x56,0x54,0x67,0x39,0xa7,0x27,0x28, +0x27,0x27,0x26,0x28,0x29,0x49,0x1e,0x1c,0x1c,0x1a,0x1a,0x1c,0x1c,0x1e,0x38,0x3a, +0x39,0x38,0x1e,0x1c,0x1d,0x1a,0x1a,0x1d,0x1c,0x1e,0x38,0x39,0x3a,0x01,0x0c,0x5a, +0x5f,0x35,0x39,0x65,0x55,0x56,0x2d,0x2c,0x05,0x05,0x09,0x02,0xb3,0xc0,0xc0,0xb3, +0x02,0x3c,0x02,0x02,0x38,0x14,0x1b,0x2e,0x3e,0x65,0x75,0x01,0x76,0x63,0x3e,0x2d, +0x1b,0x14,0x37,0x06,0x3d,0xb0,0x62,0x63,0x63,0x62,0xb0,0x3e,0x07,0x37,0x14,0x1a, +0x2d,0x3f,0x63,0x77,0x75,0x64,0x3f,0x2f,0x1a,0x14,0x38,0x02,0x02,0x4d,0xa2,0x57, +0x5a,0x5a,0x57,0xa2,0x20,0x2a,0x2a,0x10,0x19,0x1d,0x12,0x14,0x15,0x14,0x44,0x40, +0x40,0x44,0x14,0x15,0x14,0x12,0x1d,0x2b,0x38,0x05,0x05,0x2c,0x2d,0x56,0x54,0x65, +0x39,0x35,0x5e,0x9d,0x26,0x29,0x28,0x26,0x27,0x27,0x28,0xd6,0x44,0x41,0x19,0x1d, +0x12,0x14,0x14,0x3a,0x1d,0x19,0x41,0x44,0x15,0x14,0x14,0x2e,0x2a,0x21,0x9e,0x59, +0x5b,0x5b,0x59,0x9e,0x21,0x00,0x00,0x07,0x01,0x05,0x00,0x00,0x06,0x26,0x05,0xd6, +0x00,0x0b,0x00,0x14,0x00,0x1d,0x00,0x29,0x00,0x72,0x00,0x82,0x00,0x92,0x02,0x61, +0xba,0x00,0x11,0x00,0x6f,0x00,0x03,0x2b,0xb8,0x00,0x11,0x10,0xba,0x00,0x3e,0x00, +0x38,0x00,0x03,0x2b,0xb8,0x00,0x3e,0x10,0xba,0x00,0x51,0x00,0x19,0x00,0x03,0x2b, +0xb8,0x00,0x51,0x10,0x41,0x05,0x00,0xea,0x00,0x38,0x00,0xfa,0x00,0x38,0x00,0x02, +0x5d,0x41,0x1b,0x00,0x19,0x00,0x38,0x00,0x29,0x00,0x38,0x00,0x39,0x00,0x38,0x00, +0x49,0x00,0x38,0x00,0x59,0x00,0x38,0x00,0x69,0x00,0x38,0x00,0x79,0x00,0x38,0x00, +0x89,0x00,0x38,0x00,0x99,0x00,0x38,0x00,0xa9,0x00,0x38,0x00,0xb9,0x00,0x38,0x00, +0xc9,0x00,0x38,0x00,0xd9,0x00,0x38,0x00,0x0d,0x5d,0xba,0x00,0x1e,0x00,0x38,0x00, +0x3e,0x11,0x12,0x39,0xb8,0x00,0x1e,0x2f,0x41,0x05,0x00,0xea,0x00,0x1e,0x00,0xfa, +0x00,0x1e,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x1e,0x00,0x29,0x00,0x1e,0x00, +0x39,0x00,0x1e,0x00,0x49,0x00,0x1e,0x00,0x59,0x00,0x1e,0x00,0x69,0x00,0x1e,0x00, +0x79,0x00,0x1e,0x00,0x89,0x00,0x1e,0x00,0x99,0x00,0x1e,0x00,0xa9,0x00,0x1e,0x00, +0xb9,0x00,0x1e,0x00,0xc9,0x00,0x1e,0x00,0xd9,0x00,0x1e,0x00,0x0d,0x5d,0xb8,0x00, +0x00,0xdc,0xba,0x00,0x06,0x00,0x38,0x00,0x3e,0x11,0x12,0x39,0xb8,0x00,0x06,0x2f, +0x41,0x05,0x00,0xea,0x00,0x06,0x00,0xfa,0x00,0x06,0x00,0x02,0x5d,0x41,0x1b,0x00, +0x19,0x00,0x06,0x00,0x29,0x00,0x06,0x00,0x39,0x00,0x06,0x00,0x49,0x00,0x06,0x00, +0x59,0x00,0x06,0x00,0x69,0x00,0x06,0x00,0x79,0x00,0x06,0x00,0x89,0x00,0x06,0x00, +0x99,0x00,0x06,0x00,0xa9,0x00,0x06,0x00,0xb9,0x00,0x06,0x00,0xc9,0x00,0x06,0x00, +0xd9,0x00,0x06,0x00,0x0d,0x5d,0x41,0x1b,0x00,0x16,0x00,0x11,0x00,0x26,0x00,0x11, +0x00,0x36,0x00,0x11,0x00,0x46,0x00,0x11,0x00,0x56,0x00,0x11,0x00,0x66,0x00,0x11, +0x00,0x76,0x00,0x11,0x00,0x86,0x00,0x11,0x00,0x96,0x00,0x11,0x00,0xa6,0x00,0x11, +0x00,0xb6,0x00,0x11,0x00,0xc6,0x00,0x11,0x00,0xd6,0x00,0x11,0x00,0x0d,0x5d,0x41, +0x05,0x00,0xe5,0x00,0x11,0x00,0xf5,0x00,0x11,0x00,0x02,0x5d,0xb8,0x00,0x11,0x10, +0xb8,0x00,0x24,0xdc,0xb8,0x00,0x0c,0xdc,0xba,0x00,0x0f,0x00,0x11,0x00,0x24,0x11, +0x12,0x39,0xba,0x00,0x13,0x00,0x11,0x00,0x24,0x11,0x12,0x39,0xb8,0x00,0x06,0x10, +0xb8,0x00,0x15,0xdc,0xba,0x00,0x17,0x00,0x6f,0x00,0x51,0x11,0x12,0x39,0x41,0x05, +0x00,0xea,0x00,0x19,0x00,0xfa,0x00,0x19,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00, +0x19,0x00,0x29,0x00,0x19,0x00,0x39,0x00,0x19,0x00,0x49,0x00,0x19,0x00,0x59,0x00, +0x19,0x00,0x69,0x00,0x19,0x00,0x79,0x00,0x19,0x00,0x89,0x00,0x19,0x00,0x99,0x00, +0x19,0x00,0xa9,0x00,0x19,0x00,0xb9,0x00,0x19,0x00,0xc9,0x00,0x19,0x00,0xd9,0x00, +0x19,0x00,0x0d,0x5d,0xba,0x00,0x1c,0x00,0x6f,0x00,0x51,0x11,0x12,0x39,0xba,0x00, +0x3c,0x00,0x38,0x00,0x3e,0x11,0x12,0x39,0xb8,0x00,0x19,0x10,0xb8,0x00,0x87,0xd0, +0xb8,0x00,0x87,0x2f,0xb8,0x00,0x11,0x10,0xb8,0x00,0x8f,0xd0,0xb8,0x00,0x8f,0x2f, +0x00,0xb8,0x00,0x3b,0x2f,0xb8,0x00,0x5f,0x2f,0xba,0x00,0x8b,0x00,0x77,0x00,0x03, +0x2b,0xb8,0x00,0x8b,0x10,0xba,0x00,0x32,0x00,0x2e,0x00,0x03,0x2b,0xb8,0x00,0x32, +0x10,0xba,0x00,0x0f,0x00,0x5f,0x00,0x3b,0x11,0x12,0x39,0xba,0x00,0x13,0x00,0x5f, +0x00,0x3b,0x11,0x12,0x39,0xba,0x00,0x17,0x00,0x5f,0x00,0x3b,0x11,0x12,0x39,0xba, +0x00,0x1c,0x00,0x5f,0x00,0x3b,0x11,0x12,0x39,0xba,0x00,0x3c,0x00,0x5f,0x00,0x3b, +0x11,0x12,0x39,0xb8,0x00,0x45,0xd0,0xb8,0x00,0x2e,0x10,0xb8,0x00,0x49,0xd0,0x30, +0x31,0x01,0x14,0x17,0x36,0x37,0x26,0x27,0x36,0x37,0x26,0x27,0x06,0x05,0x34,0x26, +0x15,0x06,0x15,0x16,0x17,0x36,0x25,0x06,0x17,0x36,0x37,0x2e,0x01,0x27,0x06,0x05, +0x34,0x27,0x06,0x07,0x16,0x17,0x06,0x07,0x16,0x17,0x36,0x01,0x26,0x07,0x06,0x07, +0x26,0x27,0x36,0x37,0x16,0x17,0x36,0x37,0x26,0x35,0x34,0x3f,0x01,0x15,0x16,0x15, +0x14,0x07,0x1e,0x01,0x17,0x36,0x37,0x16,0x17,0x06,0x07,0x26,0x27,0x26,0x07,0x16, +0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x16,0x17,0x06,0x23,0x26,0x27,0x06,0x07,0x06, +0x07,0x23,0x26,0x27,0x35,0x26,0x27,0x06,0x07,0x22,0x27,0x36,0x37,0x26,0x27,0x26, +0x35,0x34,0x37,0x36,0x07,0x14,0x1e,0x01,0x33,0x32,0x3e,0x01,0x35,0x34,0x2e,0x01, +0x23,0x22,0x0e,0x01,0x01,0x32,0x1e,0x01,0x15,0x14,0x0e,0x01,0x23,0x22,0x2e,0x01, +0x35,0x34,0x3e,0x01,0x03,0xce,0x27,0x37,0x2c,0x33,0x09,0x03,0x33,0x25,0x2f,0x30, +0xfe,0xdc,0x29,0x2c,0x08,0x37,0x15,0x01,0xdf,0x06,0x16,0x3d,0x03,0x03,0x2a,0x01, +0x27,0xfe,0xdb,0x30,0x2a,0x2b,0x33,0x03,0x0e,0x2e,0x32,0x32,0x27,0xfe,0xf7,0x51, +0x1e,0x20,0x59,0x66,0x02,0x02,0xb7,0xa9,0x54,0x2c,0x31,0x27,0xa5,0x01,0xa4,0x27, +0x29,0x2e,0x05,0x55,0xa8,0xb8,0x01,0x02,0x66,0x59,0x20,0x15,0x5a,0x1a,0x14,0x39, +0x38,0x18,0x20,0x22,0x32,0x01,0x0d,0x42,0x32,0x3b,0x46,0x5f,0x19,0x20,0x20,0x58, +0x42,0x3f,0x32,0x43,0x0d,0x01,0x33,0x22,0x20,0x17,0x38,0x39,0x14,0x34,0x69,0xbc, +0x68,0x67,0xbc,0x69,0x6b,0xbe,0x63,0x65,0xbd,0x6b,0x01,0x8d,0x53,0x9f,0x5b,0x58, +0x9f,0x56,0x57,0x9f,0x58,0x5a,0x9f,0x02,0x84,0xa3,0xa7,0x0f,0x23,0x65,0x8d,0xaa, +0x6a,0x1c,0x0f,0x70,0xcd,0x4d,0x63,0x01,0x4e,0x54,0x76,0x4a,0x4b,0x72,0x80,0x3f, +0x56,0x6c,0x4c,0x57,0x02,0x57,0x37,0xa9,0x70,0x0d,0x1e,0x6a,0xaa,0x85,0x6b,0x25, +0x0f,0xa7,0x01,0x6e,0x5e,0x2a,0x56,0x02,0x02,0x7b,0x77,0x02,0x06,0x77,0x19,0x11, +0x5b,0x31,0x87,0xf4,0x01,0x01,0xf4,0x87,0x31,0x5b,0x0d,0x1a,0x03,0x77,0x06,0x02, +0x77,0x7b,0x02,0x02,0x56,0x29,0x5c,0x1e,0x23,0x66,0x6e,0x6e,0x64,0x2d,0x23,0x4a, +0x4d,0x0c,0x37,0x42,0x2f,0x15,0x22,0x89,0x89,0x22,0x01,0x14,0x30,0x43,0x37,0x0c, +0x4e,0x4b,0x22,0x2c,0x64,0x6e,0x6e,0x66,0x23,0xef,0x67,0xbd,0x68,0x68,0xbd,0x67, +0x67,0xbf,0x67,0x67,0xbf,0x01,0x10,0x55,0xa0,0x57,0x57,0x9d,0x58,0x58,0x9d,0x57, +0x57,0xa0,0x55,0x00,0x00,0x04,0x00,0x64,0x00,0x00,0x06,0xc8,0x05,0xd4,0x00,0x07, +0x00,0x0d,0x00,0x15,0x00,0x25,0x00,0x99,0xba,0x00,0x10,0x00,0x14,0x00,0x03,0x2b, +0xb8,0x00,0x10,0x10,0x41,0x05,0x00,0xea,0x00,0x14,0x00,0xfa,0x00,0x14,0x00,0x02, +0x5d,0x41,0x1b,0x00,0x19,0x00,0x14,0x00,0x29,0x00,0x14,0x00,0x39,0x00,0x14,0x00, +0x49,0x00,0x14,0x00,0x59,0x00,0x14,0x00,0x69,0x00,0x14,0x00,0x79,0x00,0x14,0x00, +0x89,0x00,0x14,0x00,0x99,0x00,0x14,0x00,0xa9,0x00,0x14,0x00,0xb9,0x00,0x14,0x00, +0xc9,0x00,0x14,0x00,0xd9,0x00,0x14,0x00,0x0d,0x5d,0xba,0x00,0x08,0x00,0x14,0x00, +0x10,0x11,0x12,0x39,0xb8,0x00,0x1a,0xd0,0xb8,0x00,0x1a,0x2f,0xb8,0x00,0x14,0x10, +0xb8,0x00,0x22,0xd0,0xb8,0x00,0x22,0x2f,0x00,0xb8,0x00,0x00,0x2f,0xba,0x00,0x0b, +0x00,0x03,0x00,0x03,0x2b,0xb8,0x00,0x0b,0x10,0xb8,0x00,0x03,0x10,0xb8,0x00,0x05, +0xd0,0xb8,0x00,0x05,0x2f,0xba,0x00,0x06,0x00,0x03,0x00,0x0b,0x11,0x12,0x39,0x30, +0x31,0x01,0x33,0x01,0x15,0x21,0x27,0x23,0x00,0x17,0x01,0x15,0x21,0x35,0x00,0x07, +0x32,0x15,0x02,0x23,0x22,0x03,0x36,0x13,0x32,0x1e,0x01,0x15,0x14,0x0e,0x01,0x23, +0x22,0x2e,0x01,0x35,0x34,0x3e,0x01,0x03,0x9f,0x07,0x03,0x22,0xf9,0xad,0x08,0x09, +0x03,0x1b,0x17,0xfd,0x68,0x05,0x39,0xfd,0x7c,0x14,0x4d,0x34,0x19,0x17,0x36,0x19, +0x33,0x13,0x25,0x15,0x14,0x26,0x13,0x14,0x24,0x15,0x15,0x24,0x05,0xd4,0xfa,0x35, +0x09,0x09,0x05,0xaa,0x9b,0xfb,0x4f,0x11,0x09,0x04,0x9d,0xc2,0x44,0xfd,0x9b,0x02, +0x6e,0x3b,0xfd,0x0d,0x14,0x24,0x15,0x14,0x24,0x14,0x14,0x24,0x14,0x15,0x24,0x14, +0x00,0x01,0x00,0xaa,0x00,0x04,0x04,0xf4,0x05,0xd8,0x00,0x13,0x00,0x0b,0x00,0xb8, +0x00,0x00,0x2f,0xb8,0x00,0x0a,0x2f,0x30,0x31,0x01,0x33,0x17,0x15,0x01,0x14,0x33, +0x04,0x15,0x17,0x01,0x27,0x35,0x00,0x35,0x34,0x23,0x24,0x2f,0x01,0x04,0xd1,0x0e, +0x15,0xfd,0x8e,0x5b,0x01,0x83,0x07,0xfc,0x51,0x0e,0x02,0x87,0x77,0xfe,0x93,0x10, +0x07,0x05,0xd8,0x15,0x07,0xfd,0xe2,0x47,0x53,0x0e,0x47,0xfd,0x55,0x15,0x07,0x02, +0x57,0x0d,0x47,0x4a,0x11,0x47,0x00,0x01,0x00,0xaa,0x01,0x77,0x06,0x82,0x04,0x63, +0x00,0x05,0x00,0x0b,0x00,0xb8,0x00,0x02,0x2f,0xb8,0x00,0x05,0x2f,0x30,0x31,0x13, +0x11,0x25,0x05,0x11,0x05,0xaa,0x01,0x77,0x04,0x61,0xfb,0x9f,0x02,0x32,0x01,0x75, +0xbc,0xbc,0xfe,0x8b,0xbb,0x00,0x00,0x01,0x00,0xaa,0x00,0x00,0x04,0x74,0x05,0xd9, +0x00,0x13,0x00,0x1f,0x00,0xb8,0x00,0x05,0x2f,0xba,0x00,0x10,0x00,0x12,0x00,0x03, +0x2b,0xb8,0x00,0x10,0x10,0xb8,0x00,0x12,0x10,0xb8,0x00,0x0d,0xd0,0xb8,0x00,0x0d, +0x2f,0x30,0x31,0x01,0x16,0x15,0x14,0x07,0x03,0x21,0x03,0x26,0x35,0x34,0x37,0x36, +0x27,0x23,0x35,0x21,0x17,0x07,0x16,0x03,0x7e,0xf6,0x08,0xee,0xfe,0x22,0xed,0x09, +0xf6,0x7f,0x07,0x75,0x01,0xda,0x01,0x77,0x01,0x04,0xe0,0x42,0xb3,0x20,0x24,0xfc, +0x59,0x03,0xa7,0x26,0x22,0xaf,0x42,0x1a,0x86,0x59,0x59,0x01,0x87,0x00,0x00,0x03, +0x00,0x16,0x01,0x85,0x06,0x6c,0x05,0x14,0x00,0x5a,0x00,0x79,0x00,0x99,0x00,0x00, +0x01,0x27,0x23,0x22,0x27,0x26,0x07,0x06,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06, +0x23,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x36, +0x33,0x32,0x1f,0x01,0x16,0x33,0x32,0x37,0x36,0x37,0x36,0x37,0x36,0x27,0x26,0x27, +0x26,0x27,0x26,0x2f,0x01,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36, +0x37,0x36,0x32,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06, +0x17,0x16,0x1f,0x01,0x21,0x32,0x17,0x16,0x17,0x21,0x17,0x25,0x16,0x33,0x32,0x37, +0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x27,0x26,0x23,0x22,0x07, +0x06,0x07,0x06,0x07,0x06,0x15,0x14,0x17,0x1e,0x01,0x01,0x26,0x23,0x22,0x07,0x06, +0x07,0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x33,0x32,0x37,0x36, +0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x03,0xcd,0xd6,0x73,0xae,0x1c, +0x2a,0x03,0x02,0x09,0x0d,0x19,0x17,0x24,0x1c,0x2b,0x24,0x24,0x24,0x1a,0x15,0x17, +0x12,0x0c,0x0d,0x18,0x19,0x23,0x1d,0x2a,0x23,0x25,0x3e,0x61,0x5a,0x25,0x0e,0x16, +0x12,0x13,0x03,0x03,0x04,0x03,0x0d,0x0c,0x16,0x4e,0x54,0x3e,0x25,0x19,0x1c,0x0f, +0x13,0x0c,0x0d,0x19,0x1b,0x20,0x23,0x48,0x48,0x1a,0x1f,0x0d,0x12,0x0c,0x09,0x0d, +0x11,0x03,0x05,0x22,0x29,0x6d,0x52,0x01,0x8b,0xe8,0x4f,0x65,0x11,0xfd,0x62,0xd5, +0xfc,0x0d,0x15,0x14,0x18,0x10,0x15,0x0d,0x10,0x05,0x05,0x0c,0x0a,0x0f,0x11,0x13, +0x19,0x11,0x14,0x14,0x15,0x0d,0x0d,0x07,0x06,0x0d,0x0a,0x1e,0x01,0x30,0x12,0x17, +0x1c,0x0c,0x15,0x0d,0x11,0x04,0x05,0x0c,0x0a,0x0f,0x0f,0x15,0x16,0x14,0x17,0x11, +0x15,0x0d,0x0f,0x05,0x06,0x0d,0x0a,0x0f,0x0b,0x01,0x85,0xcd,0x06,0x08,0x0d,0x08, +0x17,0x12,0x17,0x20,0x18,0x16,0x0d,0x0b,0x0f,0x0e,0x19,0x15,0x24,0x1d,0x26,0x24, +0x1e,0x20,0x17,0x17,0x0d,0x0b,0x0f,0x19,0x27,0x03,0x05,0x0d,0x0f,0x07,0x08,0x18, +0x16,0x13,0x13,0x13,0x44,0x22,0x19,0x0f,0x18,0x1b,0x1e,0x26,0x1d,0x25,0x1d,0x20, +0x18,0x19,0x0a,0x0b,0x1e,0x18,0x1e,0x1c,0x24,0x20,0x23,0x1e,0x17,0x0c,0x11,0x07, +0x0d,0x16,0x1a,0x6d,0x52,0x20,0x29,0x4b,0xcf,0x79,0x09,0x05,0x07,0x0b,0x0d,0x10, +0x11,0x12,0x0d,0x17,0x12,0x0d,0x10,0x07,0x09,0x06,0x06,0x0b,0x0c,0x11,0x11,0x12, +0x0e,0x16,0x12,0x1c,0x02,0xb5,0x09,0x05,0x07,0x0b,0x0e,0x0f,0x11,0x12,0x0f,0x15, +0x12,0x0e,0x0d,0x09,0x09,0x05,0x07,0x0b,0x0e,0x0e,0x12,0x12,0x0e,0x16,0x12,0x0e, +0x09,0x00,0x00,0x03,0x00,0x56,0x01,0x21,0x06,0x45,0x04,0xb5,0x00,0x19,0x00,0x72, +0x00,0x8c,0x00,0x00,0x12,0x32,0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x27, +0x2e,0x01,0x22,0x06,0x07,0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x16,0x01,0x05, +0x06,0x23,0x22,0x27,0x25,0x07,0x0e,0x01,0x15,0x14,0x17,0x16,0x15,0x14,0x07,0x06, +0x07,0x06,0x07,0x06,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37, +0x36,0x37,0x36,0x3b,0x01,0x32,0x37,0x3e,0x01,0x37,0x36,0x34,0x27,0x2e,0x01,0x27, +0x26,0x2b,0x01,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36, +0x37,0x36,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x15,0x14,0x16, +0x1f,0x01,0x25,0x36,0x33,0x32,0x17,0x24,0x22,0x06,0x07,0x06,0x07,0x06,0x15,0x14, +0x17,0x16,0x17,0x1e,0x01,0x32,0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x27, +0x26,0xfd,0x2e,0x26,0x10,0x11,0x08,0x08,0x08,0x08,0x11,0x10,0x26,0x2e,0x26,0x10, +0x11,0x08,0x08,0x08,0x08,0x11,0x10,0x03,0x01,0x02,0x6d,0x2c,0x6d,0x51,0xdb,0xfe, +0x91,0x6a,0x96,0x50,0x0a,0x07,0x0e,0x0e,0x1c,0x16,0x28,0x21,0x4e,0x21,0x22,0x1c, +0x1a,0x10,0x0e,0x0e,0x0e,0x1c,0x16,0x28,0x21,0x27,0x43,0x56,0x66,0x1b,0x26,0x0b, +0x0d,0x0d,0x0b,0x26,0x1b,0x62,0x5a,0x43,0x27,0x21,0x28,0x16,0x1c,0x0e,0x0e,0x0e, +0x10,0x1a,0x1c,0x22,0x21,0x4e,0x21,0x28,0x16,0x1c,0x0e,0x0e,0x07,0x0a,0x50,0x96, +0x6a,0x01,0x6f,0xdb,0x51,0x6d,0x2c,0xfa,0xe6,0x2e,0x26,0x10,0x11,0x08,0x08,0x08, +0x08,0x11,0x10,0x26,0x2e,0x26,0x10,0x11,0x08,0x08,0x08,0x08,0x11,0x10,0x01,0x71, +0x0e,0x0d,0x0e,0x0f,0x10,0x13,0x12,0x10,0x0f,0x0e,0x0d,0x0e,0x0e,0x0d,0x0e,0x0f, +0x10,0x12,0x13,0x10,0x0f,0x0e,0x0d,0x01,0x6c,0xfc,0x3f,0x57,0x92,0x2c,0x3e,0x0e, +0x0e,0x08,0x16,0x10,0x19,0x23,0x1f,0x1d,0x1a,0x15,0x10,0x0d,0x0d,0x0e,0x17,0x15, +0x22,0x1f,0x23,0x22,0x1f,0x1d,0x1a,0x15,0x10,0x0d,0x22,0x09,0x1a,0x13,0x15,0x10, +0x15,0x13,0x1a,0x09,0x22,0x0d,0x10,0x15,0x1a,0x1d,0x1f,0x22,0x23,0x1f,0x22,0x15, +0x17,0x0e,0x0d,0x0d,0x10,0x15,0x1a,0x1d,0x1f,0x23,0x19,0x10,0x16,0x08,0x0e,0x0e, +0x3e,0x2c,0x92,0x57,0x3f,0x7e,0x0e,0x0d,0x0e,0x0f,0x10,0x13,0x12,0x10,0x0f,0x0e, +0x0d,0x0e,0x0e,0x0d,0x0e,0x0f,0x10,0x12,0x13,0x10,0x0f,0x0e,0x0d,0x00,0x00,0x03, +0x00,0x16,0x00,0xc0,0x06,0x6c,0x04,0x4f,0x00,0x59,0x00,0x78,0x00,0x97,0x00,0x00, +0x01,0x33,0x07,0x21,0x06,0x07,0x06,0x23,0x21,0x07,0x06,0x07,0x06,0x15,0x14,0x17, +0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x0e,0x01,0x22,0x27,0x26,0x27,0x26,0x27, +0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x3f,0x01,0x36,0x37,0x36,0x37,0x36,0x37,0x36, +0x27,0x26,0x27,0x26,0x27,0x26,0x23,0x22,0x0f,0x01,0x06,0x23,0x22,0x27,0x26,0x27, +0x26,0x27,0x26,0x35,0x34,0x37,0x3e,0x01,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16, +0x17,0x16,0x15,0x14,0x17,0x16,0x37,0x36,0x3b,0x01,0x25,0x06,0x07,0x06,0x07,0x06, +0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x33,0x32,0x36,0x37,0x36,0x37,0x36,0x35, +0x34,0x27,0x26,0x27,0x26,0x27,0x26,0x23,0x22,0x01,0x36,0x37,0x36,0x37,0x36,0x35, +0x34,0x27,0x26,0x27,0x26,0x27,0x26,0x23,0x22,0x06,0x07,0x06,0x07,0x06,0x15,0x14, +0x17,0x16,0x17,0x16,0x17,0x16,0x33,0x32,0x03,0xcd,0xd6,0xd5,0x02,0x9e,0x11,0x65, +0x4f,0xe8,0xfe,0x75,0x52,0x64,0x32,0x1d,0x14,0x0d,0x09,0x0c,0x12,0x0d,0x1f,0x1a, +0x48,0x48,0x23,0x20,0x1b,0x1c,0x0a,0x0c,0x13,0x0c,0x1f,0x19,0x25,0x3e,0x54,0x4e, +0x16,0x0c,0x0d,0x03,0x04,0x03,0x03,0x13,0x0a,0x1e,0x08,0x2b,0x5a,0x61,0x3e,0x25, +0x23,0x2b,0x1c,0x24,0x18,0x18,0x0d,0x0c,0x12,0x12,0x34,0x24,0x24,0x24,0x2b,0x1c, +0x24,0x17,0x19,0x0d,0x09,0x02,0x06,0x27,0x19,0xb1,0x73,0xfd,0xb9,0x15,0x0f,0x09, +0x10,0x0d,0x06,0x07,0x0d,0x0a,0x18,0x11,0x17,0x15,0x2a,0x0f,0x0f,0x0a,0x0d,0x06, +0x07,0x0e,0x08,0x1a,0x11,0x17,0x14,0x01,0x06,0x15,0x0f,0x09,0x10,0x0d,0x06,0x07, +0x0d,0x0f,0x13,0x12,0x16,0x15,0x2a,0x0f,0x0f,0x0a,0x0c,0x05,0x07,0x0e,0x10,0x12, +0x14,0x14,0x0e,0x04,0x4f,0xcf,0x4b,0x29,0x20,0x52,0x64,0x23,0x14,0x0f,0x06,0x12, +0x0c,0x17,0x21,0x23,0x1b,0x26,0x1c,0x1e,0x18,0x1e,0x0b,0x0a,0x19,0x1a,0x1e,0x22, +0x1f,0x1a,0x2a,0x1b,0x1e,0x18,0x0f,0x19,0x22,0x44,0x13,0x13,0x13,0x16,0x18,0x08, +0x07,0x0f,0x07,0x0b,0x03,0x27,0x19,0x0f,0x0b,0x0e,0x16,0x17,0x20,0x20,0x22,0x22, +0x21,0x20,0x32,0x0e,0x0f,0x0b,0x0d,0x16,0x18,0x20,0x17,0x12,0x1a,0x05,0x0e,0x09, +0x06,0x54,0x08,0x0e,0x08,0x18,0x13,0x11,0x14,0x0f,0x11,0x0c,0x09,0x08,0x06,0x12, +0x0e,0x0d,0x12,0x16,0x12,0x11,0x0e,0x12,0x0b,0x0a,0x08,0x05,0xfd,0x3a,0x09,0x0d, +0x08,0x18,0x13,0x10,0x16,0x0f,0x10,0x0c,0x0d,0x05,0x05,0x12,0x0d,0x0e,0x12,0x13, +0x12,0x16,0x0c,0x11,0x0c,0x0d,0x05,0x05,0x00,0x09,0x00,0x49,0x00,0xf4,0x06,0x98, +0x04,0xe8,0x00,0x5a,0x00,0x78,0x00,0x96,0x00,0xb4,0x00,0xd2,0x00,0xfe,0x01,0x2d, +0x01,0x34,0x01,0x48,0x00,0x00,0x01,0x36,0x37,0x26,0x27,0x26,0x27,0x26,0x2b,0x01, +0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x33,0x32, +0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x16,0x1f,0x01,0x25,0x36,0x33,0x32, +0x17,0x16,0x15,0x14,0x07,0x0d,0x01,0x16,0x15,0x14,0x07,0x06,0x23,0x22,0x27,0x25, +0x07,0x06,0x07,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x26, +0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x3b,0x01,0x32,0x37, +0x36,0x00,0x32,0x37,0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x27, +0x26,0x22,0x07,0x06,0x07,0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x12, +0x32,0x37,0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x27,0x26,0x22, +0x07,0x06,0x07,0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x12,0x22,0x27, +0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x32,0x17,0x16, +0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x02,0x22,0x27,0x26,0x27, +0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x32,0x17,0x16,0x17,0x16, +0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x05,0x27,0x26,0x27,0x26,0x27,0x26, +0x35,0x34,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x27,0x26,0x22,0x07,0x06,0x07, +0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x3b,0x01,0x32,0x17,0x16, +0x17,0x16,0x17,0x37,0x36,0x03,0x2d,0x01,0x26,0x23,0x22,0x07,0x05,0x06,0x07,0x06, +0x07,0x06,0x07,0x06,0x2b,0x01,0x22,0x07,0x06,0x07,0x06,0x07,0x06,0x15,0x14,0x17, +0x16,0x17,0x16,0x17,0x16,0x32,0x37,0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x26, +0x35,0x34,0x37,0x36,0x25,0x05,0x16,0x33,0x32,0x37,0x25,0x26,0x14,0x07,0x06,0x07, +0x06,0x22,0x27,0x26,0x27,0x26,0x34,0x37,0x36,0x37,0x36,0x32,0x17,0x16,0x17,0x02, +0x49,0x0b,0x07,0x07,0x0b,0x09,0x19,0x51,0x5c,0x43,0x2d,0x2d,0x25,0x28,0x22,0x13, +0x12,0x12,0x10,0x28,0x1b,0x2f,0x2a,0x30,0x2e,0x2c,0x2b,0x22,0x28,0x0d,0x12,0x06, +0x2f,0x8e,0x58,0x01,0x5d,0xe2,0x5c,0x88,0x39,0x08,0x1e,0xfe,0x02,0x01,0xfe,0x1e, +0x08,0x3c,0x85,0x5c,0xe2,0xfe,0xa3,0x58,0x8e,0x2f,0x06,0x12,0x13,0x22,0x24,0x29, +0x30,0x2a,0x33,0x27,0x29,0x22,0x2a,0x0d,0x12,0x12,0x10,0x25,0x1c,0x31,0x2a,0x30, +0x43,0x52,0x5b,0x17,0xfe,0xeb,0x1c,0x0b,0x0c,0x09,0x0a,0x03,0x03,0x03,0x03,0x0a, +0x09,0x0c,0x0b,0x1c,0x0b,0x0c,0x09,0x0a,0x03,0x03,0x03,0x03,0x0a,0x09,0x0c,0x0b, +0x1c,0x0b,0x0c,0x09,0x0a,0x03,0x03,0x03,0x03,0x0a,0x09,0x0c,0x0b,0x1c,0x0b,0x0c, +0x09,0x0a,0x03,0x03,0x03,0x03,0x0a,0x09,0x0c,0x32,0x32,0x15,0x15,0x11,0x13,0x09, +0x09,0x09,0x09,0x13,0x11,0x15,0x15,0x32,0x15,0x15,0x11,0x13,0x09,0x09,0x09,0x09, +0x13,0x11,0x15,0x15,0x32,0x15,0x15,0x11,0x13,0x09,0x09,0x09,0x09,0x13,0x11,0x15, +0x15,0x32,0x15,0x15,0x11,0x13,0x09,0x09,0x09,0x09,0x13,0x11,0x15,0x01,0x86,0x25, +0x95,0x27,0x16,0x0b,0x10,0x0b,0x06,0x0d,0x0d,0x1b,0x14,0x26,0x1f,0x4a,0x1f,0x20, +0x1b,0x18,0x0f,0x0d,0x0d,0x0d,0x1b,0x14,0x26,0x1f,0x25,0x43,0x5c,0x64,0x1e,0x12, +0x17,0x07,0x23,0x1c,0xbd,0x01,0xed,0x02,0x5f,0x2a,0x5d,0x4f,0xd9,0xfe,0x91,0x94, +0x12,0x11,0x17,0x14,0x1c,0x68,0x58,0x43,0x25,0x1f,0x26,0x14,0x1b,0x0d,0x0d,0x0d, +0x0f,0x18,0x1b,0x20,0x1f,0x4a,0x1f,0x26,0x14,0x1b,0x0d,0x0d,0x06,0x0b,0x10,0x0c, +0x01,0x93,0x01,0x1f,0xd9,0x4f,0x5d,0x2a,0xfd,0xdd,0xd9,0x05,0x06,0x09,0x09,0x16, +0x09,0x09,0x06,0x05,0x05,0x06,0x09,0x09,0x16,0x09,0x09,0x06,0x02,0xd9,0x08,0x0d, +0x0e,0x07,0x06,0x0a,0x20,0x10,0x0d,0x22,0x1c,0x29,0x26,0x60,0x26,0x22,0x27,0x1a, +0x12,0x10,0x10,0x10,0x1f,0x24,0x22,0x2f,0x27,0x1d,0x12,0x09,0x3c,0x25,0x8b,0x5a, +0x53,0x0d,0x11,0x1f,0x0c,0xcf,0xcf,0x0c,0x25,0x0d,0x0b,0x53,0x5a,0x8b,0x25,0x3c, +0x09,0x18,0x17,0x2f,0x27,0x2a,0x1d,0x20,0x0e,0x10,0x10,0x11,0x1c,0x22,0x25,0x35, +0x22,0x2d,0x28,0x24,0x23,0x1b,0x13,0x10,0x20,0x09,0xfe,0xd2,0x04,0x05,0x08,0x07, +0x07,0x04,0x08,0x07,0x05,0x06,0x08,0x07,0x05,0x04,0x04,0x05,0x08,0x07,0x07,0x04, +0x07,0x08,0x05,0x06,0x08,0x07,0x05,0x02,0x3b,0x04,0x05,0x08,0x07,0x07,0x04,0x07, +0x08,0x05,0x06,0x08,0x07,0x05,0x04,0x04,0x05,0x08,0x07,0x07,0x04,0x08,0x07,0x05, +0x06,0x08,0x07,0x05,0xfd,0x82,0x07,0x08,0x0e,0x10,0x11,0x12,0x16,0x15,0x12,0x11, +0x10,0x0e,0x08,0x07,0x07,0x08,0x0e,0x10,0x11,0x12,0x15,0x16,0x12,0x11,0x10,0x0e, +0x08,0x02,0x38,0x07,0x08,0x0e,0x10,0x11,0x12,0x15,0x16,0x12,0x11,0x10,0x0e,0x08, +0x07,0x07,0x08,0x0e,0x10,0x11,0x12,0x16,0x15,0x12,0x11,0x10,0x0e,0x08,0x5c,0x0f, +0x3d,0x07,0x04,0x06,0x08,0x0e,0x0a,0x18,0x0e,0x17,0x21,0x1c,0x1b,0x19,0x13,0x10, +0x0c,0x0c,0x0e,0x16,0x13,0x20,0x1c,0x21,0x20,0x1c,0x1b,0x19,0x13,0x10,0x0c,0x22, +0x0a,0x0e,0x11,0x08,0x18,0x11,0xfe,0xf2,0xc2,0xf7,0x2f,0x56,0x92,0x43,0x1e,0x1e, +0x0f,0x0e,0x0a,0x22,0x0c,0x10,0x13,0x19,0x1b,0x1c,0x20,0x21,0x1c,0x20,0x13,0x16, +0x0e,0x0c,0x0c,0x10,0x13,0x19,0x1b,0x1c,0x21,0x17,0x0d,0x19,0x0a,0x14,0x02,0x02, +0x5b,0x75,0x56,0x2f,0xe1,0x2b,0x16,0x09,0x09,0x06,0x05,0x05,0x06,0x09,0x09,0x16, +0x09,0x09,0x06,0x05,0x05,0x06,0x09,0x00,0x00,0x03,0x00,0x56,0xff,0xe3,0x06,0x5e, +0x05,0xf0,0x00,0x6e,0x00,0x80,0x00,0x92,0x00,0x00,0x01,0x06,0x07,0x06,0x15,0x14, +0x17,0x16,0x17,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x37,0x36,0x37,0x36,0x35,0x34, +0x27,0x26,0x27,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x07,0x06,0x07,0x06,0x15,0x14, +0x17,0x16,0x17,0x15,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x33, +0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x23, +0x22,0x27,0x2e,0x02,0x35,0x34,0x37,0x36,0x37,0x26,0x35,0x34,0x37,0x12,0x33,0x32, +0x17,0x16,0x15,0x14,0x07,0x06,0x23,0x22,0x07,0x06,0x07,0x06,0x15,0x14,0x17,0x16, +0x15,0x14,0x07,0x06,0x07,0x06,0x23,0x22,0x17,0x36,0x37,0x36,0x37,0x36,0x37,0x16, +0x17,0x16,0x07,0x06,0x07,0x06,0x07,0x06,0x27,0x26,0x01,0x16,0x17,0x16,0x15,0x14, +0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x36,0x37,0x36,0x35,0x34,0x02,0x13,0x03,0x02, +0x0a,0x0a,0x0b,0x13,0x14,0x18,0x6f,0x93,0x88,0x7a,0x77,0x62,0x64,0x30,0x31,0x31, +0x2e,0x66,0x5f,0x7a,0x78,0x8a,0x86,0x7c,0x77,0x62,0x64,0x30,0x31,0x31,0x1c,0x2c, +0x6b,0x39,0x39,0x39,0x35,0x75,0x6c,0x8d,0x8c,0x9c,0x9a,0x8e,0x86,0x73,0x70,0x3a, +0x39,0x39,0x35,0x75,0x6e,0x8b,0x8d,0x9b,0x9e,0x8a,0x2a,0x44,0x24,0x12,0x0e,0x1c, +0x04,0x6c,0xb5,0xa9,0x51,0x06,0x10,0x24,0x22,0x09,0x36,0x2a,0x1f,0x44,0x3f,0x10, +0x12,0x16,0x22,0x35,0x27,0x12,0x10,0x4b,0x18,0x28,0x32,0x19,0x17,0x03,0x2d,0x06, +0x12,0x02,0x0a,0x13,0x1b,0x23,0x25,0x14,0x1b,0x01,0x9e,0x3e,0x16,0x10,0x15,0x0d, +0x1e,0x0a,0x1c,0x0a,0x3a,0x11,0x1d,0x1e,0x01,0x37,0x06,0x06,0x18,0x1b,0x1c,0x18, +0x1a,0x12,0x13,0x0b,0x33,0x33,0x31,0x63,0x64,0x76,0x77,0x88,0x8d,0x77,0x71,0x69, +0x60,0x34,0x33,0x33,0x31,0x63,0x64,0x76,0x77,0x8d,0x87,0x78,0x44,0x3e,0x98,0x6d, +0x87,0x89,0x9c,0x9d,0x8d,0x83,0x77,0x6e,0x3c,0x3b,0x3b,0x38,0x72,0x6f,0x8b,0x89, +0xa1,0x98,0x8d,0x83,0x77,0x70,0x3a,0x3b,0x3b,0x12,0x42,0x56,0x30,0x2f,0x2b,0x22, +0x1f,0x10,0x0f,0xcd,0xef,0x01,0x90,0x08,0x14,0x38,0x3a,0x44,0x40,0x2a,0x1f,0x7c, +0x73,0x61,0x20,0x16,0x1b,0x1e,0x09,0x2d,0x46,0x28,0x1c,0x37,0x0c,0x22,0x2a,0x3d, +0x38,0x19,0x26,0x08,0x15,0x0f,0x30,0x21,0x32,0x1d,0x20,0x05,0x06,0x04,0x20,0x16, +0x11,0x0c,0x31,0x2d,0x35,0x24,0x26,0x0c,0x0a,0x12,0x36,0x3a,0x42,0x34,0x00,0x06, +0x00,0x56,0xff,0xe3,0x06,0x5e,0x05,0xf0,0x00,0x0f,0x00,0x1c,0x00,0x2c,0x00,0x4a, +0x00,0x69,0x00,0x89,0x00,0x00,0x01,0x26,0x27,0x26,0x27,0x25,0x06,0x15,0x14,0x17, +0x16,0x17,0x16,0x17,0x16,0x17,0x13,0x26,0x27,0x26,0x22,0x07,0x06,0x07,0x13,0x36, +0x33,0x32,0x17,0x13,0x05,0x06,0x07,0x06,0x07,0x25,0x36,0x37,0x36,0x37,0x36,0x37, +0x36,0x35,0x34,0x24,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07, +0x06,0x07,0x06,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36, +0x37,0x13,0x22,0x07,0x06,0x07,0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x1e,0x01, +0x33,0x32,0x37,0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x27,0x26, +0x27,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06, +0x23,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x36, +0x01,0xa9,0x3f,0x21,0x06,0x05,0x01,0x2a,0x08,0x13,0x13,0x24,0x20,0x31,0x14,0x08, +0xf3,0x24,0x2d,0x2b,0x68,0x2b,0x2d,0x24,0x46,0x33,0x37,0x38,0x32,0x88,0x01,0x2a, +0x02,0x09,0x21,0x3f,0xfe,0x92,0x0e,0x0e,0x31,0x20,0x24,0x13,0x13,0xfe,0xe7,0x3e, +0x1a,0x1b,0x16,0x16,0x0b,0x0b,0x0b,0x0b,0x16,0x16,0x1b,0x1a,0x3e,0x1a,0x1b,0x16, +0x16,0x0b,0x0b,0x0b,0x0b,0x16,0x16,0x1b,0x39,0x86,0x7c,0x77,0x62,0x64,0x30,0x31, +0x31,0x31,0x63,0x60,0xf2,0x89,0x88,0x7a,0x77,0x62,0x64,0x30,0x31,0x31,0x2e,0x66, +0x5f,0x7a,0x78,0x8a,0x9a,0x8e,0x86,0x73,0x70,0x3a,0x39,0x39,0x35,0x75,0x6e,0x8b, +0x8d,0x9b,0x9a,0x8e,0x86,0x73,0x70,0x3a,0x39,0x39,0x35,0x75,0x6c,0x8d,0x8c,0x01, +0x77,0x49,0x50,0x0f,0x0f,0xfd,0x1e,0x22,0x32,0x2d,0x2e,0x24,0x20,0x16,0x09,0x01, +0x01,0xa3,0x22,0x14,0x13,0x13,0x14,0x22,0x01,0x83,0x09,0x09,0xfe,0x0b,0xfd,0x07, +0x17,0x50,0x49,0x83,0x04,0x06,0x16,0x20,0x24,0x2e,0x2d,0x32,0x21,0x76,0x0b,0x0c, +0x15,0x17,0x1a,0x1b,0x1f,0x1e,0x1b,0x1a,0x17,0x15,0x0c,0x0b,0x0b,0x0c,0x15,0x17, +0x1a,0x1b,0x1e,0x1f,0x1b,0x1a,0x17,0x15,0x0c,0x02,0x15,0x33,0x31,0x63,0x64,0x76, +0x77,0x8d,0x85,0x7a,0x77,0x63,0x61,0x66,0x33,0x31,0x63,0x64,0x76,0x77,0x88,0x8d, +0x77,0x71,0x69,0x60,0x34,0x33,0x64,0x3b,0x38,0x72,0x6f,0x8b,0x89,0xa1,0x98,0x8d, +0x83,0x77,0x70,0x3a,0x3b,0x3b,0x38,0x72,0x6f,0x8b,0x89,0x9c,0x9d,0x8d,0x83,0x77, +0x6e,0x3c,0x3b,0x00,0x00,0x01,0x00,0x78,0x00,0x2c,0x06,0x41,0x05,0xaa,0x00,0x2d, +0x00,0x00,0x13,0x35,0x37,0x27,0x33,0x17,0x36,0x25,0x02,0x03,0x33,0x17,0x33,0x15, +0x23,0x17,0x33,0x15,0x23,0x17,0x21,0x32,0x17,0x16,0x14,0x07,0x06,0x23,0x21,0x07, +0x33,0x15,0x23,0x07,0x33,0x15,0x23,0x07,0x23,0x12,0x13,0x24,0x27,0x07,0x23,0x37, +0x94,0x24,0x40,0x64,0x92,0x92,0x01,0x1e,0x35,0xab,0x7b,0x73,0x94,0x56,0x64,0x9a, +0x5d,0x98,0x01,0x08,0x46,0x30,0x20,0x20,0x30,0x46,0xfe,0xf8,0x98,0x5d,0x9a,0x64, +0x56,0x94,0x73,0x7b,0xab,0x35,0xfe,0xe2,0x92,0x92,0x64,0x40,0x02,0xd7,0x28,0x05, +0xda,0xc9,0x0d,0x0a,0x01,0x14,0x01,0x6a,0x96,0x50,0x82,0x50,0xc6,0x1a,0x11,0x2c, +0x11,0x1a,0xc6,0x50,0x82,0x50,0x96,0x01,0x60,0x01,0x1e,0x0b,0x0c,0xc9,0xda,0x00, +0x00,0x05,0x00,0x84,0x00,0xdc,0x06,0x30,0x04,0xf9,0x00,0x0d,0x00,0x14,0x00,0x22, +0x00,0x29,0x00,0x2d,0x00,0x00,0x09,0x01,0x21,0x01,0x36,0x37,0x36,0x37,0x36,0x32, +0x17,0x16,0x17,0x16,0x17,0x01,0x11,0x01,0x16,0x15,0x14,0x05,0x01,0x21,0x01,0x06, +0x07,0x06,0x07,0x06,0x22,0x27,0x26,0x27,0x26,0x27,0x01,0x11,0x01,0x26,0x35,0x34, +0x01,0x11,0x21,0x11,0x03,0xf6,0x01,0xb8,0xfb,0x58,0x01,0xb8,0x07,0x08,0x1d,0x24, +0x23,0x52,0x23,0x2b,0x16,0x08,0x2f,0x01,0xae,0xfe,0x52,0x03,0xfe,0x9f,0xfe,0x46, +0x04,0xa8,0xfe,0x46,0x06,0x07,0x1d,0x24,0x23,0x52,0x23,0x24,0x1d,0x07,0x31,0xfe, +0x53,0x01,0xad,0x03,0xfd,0xf2,0x05,0xac,0x03,0x68,0x01,0x2c,0xfe,0xd4,0x09,0x08, +0x1c,0x10,0x0f,0x0f,0x13,0x19,0x09,0xaa,0xfe,0xde,0x02,0x8d,0xfe,0xdd,0x11,0x12, +0x13,0x6b,0xfe,0xd3,0x01,0x2d,0x08,0x07,0x1c,0x10,0x0f,0x0f,0x10,0x1c,0x07,0xaa, +0x01,0x22,0xfd,0x73,0x01,0x21,0x13,0x13,0x12,0xfd,0xdf,0x04,0x1d,0xfb,0xe3,0x00, +0x00,0x04,0x01,0xb3,0x00,0x00,0x04,0x7c,0x05,0xef,0x00,0x4b,0x00,0xc6,0x00,0xd9, +0x00,0xe9,0x00,0x00,0x01,0x34,0x37,0x36,0x3f,0x01,0x36,0x37,0x36,0x33,0x17,0x26, +0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x1f,0x01, +0x16,0x17,0x36,0x37,0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x37,0x36,0x33, +0x32,0x17,0x16,0x17,0x16,0x07,0x03,0x06,0x1f,0x01,0x16,0x15,0x14,0x07,0x17,0x14, +0x07,0x06,0x15,0x14,0x17,0x21,0x35,0x34,0x27,0x26,0x27,0x26,0x37,0x36,0x27,0x26, +0x01,0x26,0x23,0x22,0x0f,0x01,0x06,0x0f,0x01,0x06,0x0f,0x01,0x27,0x26,0x2f,0x01, +0x26,0x27,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x15,0x14,0x17,0x16,0x1f,0x02,0x16, +0x17,0x16,0x15,0x14,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x2f,0x01,0x26,0x27, +0x26,0x23,0x22,0x07,0x06,0x07,0x16,0x17,0x16,0x17,0x16,0x17,0x16,0x17,0x14,0x07, +0x06,0x07,0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x26,0x27,0x26, +0x27,0x26,0x3f,0x01,0x36,0x27,0x26,0x27,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x23, +0x22,0x17,0x16,0x17,0x16,0x1f,0x01,0x16,0x15,0x07,0x21,0x27,0x34,0x37,0x36,0x2f, +0x01,0x36,0x35,0x34,0x27,0x26,0x37,0x13,0x36,0x27,0x01,0x07,0x16,0x17,0x16,0x17, +0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x07,0x06,0x07, +0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x2f,0x01,0x01,0xb3,0x25, +0x16,0x12,0x34,0x15,0x26,0x02,0x02,0x04,0x1a,0x29,0x1e,0x14,0x22,0x17,0x1b,0x24, +0x10,0x12,0x30,0x11,0x4a,0x4b,0x26,0x0f,0x0e,0x13,0x06,0x05,0x0a,0x05,0x0c,0x05, +0x01,0x06,0x24,0x1b,0x29,0x37,0x1d,0x0d,0x01,0x0c,0x03,0x09,0x01,0x03,0x02,0x04, +0x01,0x03,0x15,0x03,0x01,0xfd,0xde,0x05,0x09,0x25,0x31,0x01,0x02,0x1d,0x12,0x02, +0x87,0x03,0x27,0x23,0x04,0x05,0x01,0x0a,0x23,0x05,0x16,0x36,0x19,0x09,0x2b,0x11, +0x2d,0x4c,0x1a,0x14,0x11,0x0e,0x11,0x08,0x07,0x1d,0x0d,0x13,0x5f,0x88,0x5f,0x5e, +0x04,0x14,0x05,0x04,0x16,0x12,0x06,0x03,0x2f,0x73,0x34,0x07,0x2a,0x1e,0x13,0x0c, +0x07,0x05,0x03,0x08,0x31,0x28,0x0d,0x08,0x2e,0x32,0x01,0x15,0x0f,0x01,0x36,0x17, +0x18,0x36,0x09,0x03,0x1c,0x7c,0x2f,0x06,0x07,0x0e,0x02,0x07,0x02,0x07,0x07,0x0f, +0x1c,0x28,0x0e,0x0f,0x18,0x11,0x31,0x09,0x04,0x02,0x0a,0x07,0x04,0x0a,0x5c,0x01, +0x01,0x01,0xab,0x01,0x0c,0x0e,0x01,0x02,0x03,0x09,0x06,0x01,0x0c,0x01,0x03,0xfd, +0xfe,0x11,0x23,0x3a,0x37,0x11,0x04,0x01,0x11,0x0a,0x0b,0x04,0x02,0x0c,0x05,0x06, +0x6c,0x80,0x0f,0x03,0x53,0x26,0x0f,0x0b,0x10,0x08,0x04,0x0c,0x08,0x0b,0x78,0x02, +0xeb,0x37,0x31,0x07,0x1f,0x5d,0x25,0x0a,0x01,0x01,0x2f,0x7e,0x5b,0x23,0x3c,0x24, +0x1c,0x1b,0x20,0x05,0x0c,0x1a,0x6f,0xbb,0x5f,0x25,0x15,0x11,0x3f,0x2c,0x1f,0x10, +0x86,0x3a,0x06,0x0b,0x0a,0x2a,0x28,0x1e,0x3b,0x1a,0x12,0x96,0x59,0xfe,0xd4,0x1c, +0x29,0x16,0x24,0x58,0x24,0x2b,0x7c,0x1d,0x85,0x13,0x8d,0x3d,0x4c,0xb6,0x12,0x21, +0x36,0x43,0x58,0x26,0x50,0x59,0x38,0x02,0xb9,0x39,0x44,0x6f,0x1e,0x36,0xc2,0x1d, +0x06,0x0f,0x0b,0x0d,0x62,0x27,0x6e,0x95,0x32,0x0f,0x0c,0x0b,0x06,0x0b,0x1f,0x38, +0x1a,0x33,0xfe,0x65,0x46,0x5d,0x0c,0x08,0x13,0x04,0x01,0x14,0x06,0x07,0x34,0x54, +0x26,0x03,0x1f,0x16,0x0a,0x07,0x0c,0x16,0x26,0x20,0x12,0x0c,0x2f,0x35,0x30,0x24, +0x3f,0x2d,0x20,0x02,0x31,0x40,0x1b,0x11,0x26,0x11,0x06,0x05,0x10,0x09,0x33,0x6c, +0x0f,0x0a,0x17,0x17,0x4b,0x0f,0x0b,0x0a,0x05,0x19,0x03,0x05,0x0d,0x43,0x04,0x22, +0x50,0x31,0x16,0xd6,0x09,0x0b,0x9f,0xb7,0x3a,0x30,0x37,0x40,0x44,0x3a,0x35,0x58, +0x49,0x36,0x2e,0x01,0x44,0x11,0x33,0xfe,0x5b,0x14,0x2b,0x2d,0x31,0x3a,0x0d,0x0c, +0x11,0x10,0x09,0x09,0x15,0x17,0x09,0x05,0x71,0x12,0x14,0x2f,0x41,0x38,0x09,0x12, +0x0a,0x0a,0x12,0x11,0x0b,0x06,0x67,0x00,0x00,0x08,0x00,0x2b,0x00,0xa9,0x06,0x6a, +0x05,0x6c,0x00,0x06,0x00,0x39,0x00,0x4c,0x00,0x70,0x00,0x7b,0x00,0x7f,0x00,0x89, +0x00,0x8d,0x00,0x00,0x13,0x16,0x37,0x36,0x35,0x34,0x27,0x01,0x22,0x27,0x26,0x23, +0x22,0x07,0x06,0x2b,0x01,0x22,0x27,0x07,0x05,0x13,0x26,0x35,0x34,0x3f,0x01,0x36, +0x37,0x36,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x37,0x36,0x33,0x32,0x17,0x16,0x15, +0x07,0x17,0x16,0x33,0x32,0x37,0x33,0x16,0x15,0x14,0x07,0x23,0x35,0x06,0x25,0x36, +0x37,0x36,0x37,0x01,0x27,0x26,0x23,0x22,0x07,0x06,0x0f,0x01,0x16,0x15,0x14,0x07, +0x36,0x01,0x22,0x2f,0x01,0x07,0x14,0x07,0x36,0x37,0x16,0x15,0x14,0x07,0x06,0x23, +0x22,0x07,0x16,0x15,0x14,0x07,0x32,0x37,0x36,0x33,0x32,0x17,0x16,0x33,0x32,0x37, +0x36,0x35,0x34,0x27,0x06,0x37,0x16,0x15,0x14,0x07,0x15,0x33,0x36,0x35,0x34,0x27, +0x05,0x36,0x37,0x0f,0x01,0x06,0x15,0x14,0x17,0x16,0x17,0x36,0x35,0x34,0x05,0x07, +0x37,0x26,0xd8,0x1b,0x14,0x0f,0x10,0x03,0x70,0x2f,0x6c,0x30,0x1d,0x26,0x96,0x4a, +0x21,0x63,0x53,0x25,0x59,0xfe,0xf8,0x81,0x06,0x0e,0x45,0x1c,0x19,0x5d,0x7b,0x40, +0x43,0x22,0x24,0x34,0x3e,0x99,0x2d,0x3b,0x25,0x1e,0x0d,0xbe,0xcc,0x2c,0x28,0x36, +0x06,0xe1,0x59,0x3e,0xf8,0x6d,0xfc,0xbc,0x21,0x1e,0x08,0x05,0x01,0x4e,0x24,0x11, +0x1f,0x58,0xec,0x36,0x22,0x14,0x2f,0x2c,0x28,0x03,0xab,0x34,0x19,0xf2,0x73,0x53, +0x3f,0x58,0x0f,0x24,0x55,0x81,0x3e,0x18,0x22,0x14,0x73,0x4a,0x3f,0x4b,0x28,0x60, +0x2e,0x2f,0x34,0x89,0x2b,0x32,0x19,0x4b,0x32,0x2e,0x9e,0x30,0x3e,0xfc,0xb0,0x53, +0x0d,0xa2,0x5a,0x70,0x30,0x1f,0x2b,0x17,0xfe,0xa0,0x31,0x5e,0x07,0x01,0xf0,0x03, +0x27,0x1f,0x1f,0x20,0x10,0xfe,0xc7,0x0e,0x05,0x10,0x08,0x3b,0x63,0x73,0x01,0x0c, +0x12,0x20,0x1a,0x2f,0xe8,0x5e,0x22,0x7c,0x59,0x2f,0x1a,0x0d,0x34,0xab,0x32,0x38, +0x19,0x1d,0xdb,0x87,0x1d,0x1e,0x83,0xb4,0xcf,0x95,0x6c,0x25,0xe9,0x25,0x6f,0x1d, +0x0f,0x01,0x74,0x1e,0x0e,0xe9,0x35,0x6f,0x41,0x3d,0x27,0x59,0x24,0x09,0x01,0x61, +0x10,0x9d,0x85,0xa3,0x54,0x02,0x2a,0x0d,0x16,0x12,0x10,0x27,0x01,0x27,0x47,0x2b, +0x2d,0x0d,0x0b,0x0c,0x06,0x25,0x5f,0x6b,0x6a,0x7e,0x07,0x1d,0x72,0x8d,0x7d,0x6a, +0x4c,0x60,0xd0,0x86,0x7c,0xef,0x5c,0x67,0xc3,0x4b,0x1a,0x40,0x2f,0x1e,0x14,0x03, +0x2e,0x38,0x35,0x96,0x63,0x28,0x24,0x00,0x00,0x07,0x00,0xb6,0x00,0x9a,0x05,0xcb, +0x05,0xaf,0x00,0x15,0x00,0x1b,0x00,0x22,0x00,0x29,0x00,0x33,0x00,0x53,0x00,0x5a, +0x00,0x00,0x01,0x36,0x37,0x36,0x35,0x34,0x2f,0x01,0x06,0x23,0x14,0x07,0x06,0x23, +0x14,0x07,0x17,0x16,0x33,0x32,0x37,0x36,0x01,0x3f,0x01,0x0f,0x02,0x13,0x25,0x01, +0x13,0x25,0x01,0x13,0x05,0x01,0x16,0x35,0x34,0x27,0x01,0x00,0x36,0x35,0x34,0x27, +0x01,0x07,0x01,0x16,0x33,0x01,0x36,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x15, +0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x35, +0x34,0x37,0x36,0x37,0x36,0x17,0x07,0x01,0x16,0x33,0x32,0x27,0x05,0x25,0x08,0x05, +0x07,0x02,0x3b,0x17,0x1e,0x36,0x36,0x49,0x16,0xed,0x08,0x07,0x0a,0x0f,0x0b,0xfc, +0x80,0x99,0x0d,0x92,0x99,0x0d,0x83,0x01,0x09,0x02,0x7d,0xb8,0xfd,0x67,0xfd,0x84, +0x11,0x01,0xbd,0x02,0x0d,0x41,0x02,0xfd,0xc2,0x01,0xa4,0x36,0x06,0xfd,0xfb,0x71, +0x02,0x05,0x11,0x0f,0xfd,0x6e,0x0d,0x10,0x0f,0x10,0x0d,0x0a,0x0e,0x09,0x08,0x05, +0x06,0x09,0x0a,0x0e,0x0e,0x0f,0x0e,0x11,0x0e,0x09,0x0e,0x09,0x07,0x04,0x05,0x0a, +0x0a,0x2d,0x7f,0x02,0x3e,0x0b,0x0a,0x39,0x01,0x01,0x40,0x08,0x0c,0x10,0x0a,0x05, +0x08,0xee,0x17,0x48,0x36,0x37,0x1c,0x18,0x3b,0x02,0x06,0x05,0x02,0xf9,0x98,0x92, +0x0d,0x98,0x92,0x01,0x7a,0x12,0xfd,0x83,0xfd,0x68,0xb8,0x02,0x7c,0x01,0x09,0x14, +0xfd,0xf3,0x01,0x39,0x0a,0x0c,0x02,0x3e,0xfc,0xb6,0x36,0x21,0x0f,0x11,0x02,0x06, +0x71,0xfd,0xfa,0x06,0x02,0xea,0x0d,0x0b,0x0a,0x05,0x04,0x08,0x09,0x0d,0x0a,0x0e, +0x10,0x0e,0x11,0x0d,0x0e,0x0a,0x0a,0x05,0x04,0x08,0x06,0x10,0x0b,0x0d,0x10,0x0e, +0x10,0xf4,0x0e,0xfd,0xc2,0x02,0x42,0x00,0x00,0x07,0x00,0x35,0x01,0x96,0x06,0x8e, +0x04,0x3e,0x00,0x13,0x00,0x19,0x00,0x20,0x00,0x27,0x00,0x2d,0x00,0x45,0x00,0x4c, +0x00,0x00,0x00,0x34,0x27,0x26,0x27,0x26,0x2f,0x01,0x14,0x07,0x16,0x14,0x07,0x16, +0x15,0x37,0x36,0x37,0x36,0x37,0x05,0x35,0x27,0x07,0x15,0x17,0x03,0x37,0x21,0x09, +0x01,0x21,0x27,0x01,0x21,0x36,0x35,0x34,0x27,0x21,0x00,0x34,0x27,0x21,0x15,0x21, +0x24,0x34,0x37,0x36,0x37,0x3e,0x01,0x32,0x16,0x17,0x16,0x17,0x16,0x14,0x07,0x06, +0x07,0x0e,0x01,0x22,0x26,0x27,0x26,0x27,0x17,0x07,0x21,0x36,0x35,0x34,0x27,0x05, +0xa3,0x04,0x03,0x07,0x05,0x0a,0xd2,0x15,0x33,0x33,0x15,0xd2,0x0a,0x05,0x07,0x03, +0xfb,0xa3,0x5e,0x5e,0x5e,0xaf,0xaf,0x03,0x52,0x02,0x58,0xfd,0xa8,0xfc,0xae,0xaf, +0x01,0x49,0x02,0xb4,0x19,0x23,0xfd,0x06,0x03,0x4a,0x32,0xfd,0x56,0x02,0xaa,0xfc, +0x6c,0x04,0x03,0x08,0x07,0x12,0x14,0x12,0x07,0x08,0x03,0x04,0x04,0x03,0x08,0x07, +0x12,0x14,0x12,0x07,0x08,0x03,0xc8,0x50,0x02,0xfa,0x23,0x19,0x02,0xde,0x18,0x0b, +0x0a,0x09,0x07,0x06,0x7e,0x21,0x14,0x38,0x90,0x38,0x14,0x21,0x7e,0x06,0x07,0x09, +0x0a,0x55,0xd8,0x70,0x70,0xd8,0x70,0x01,0x68,0xc8,0xfe,0xac,0xfe,0xac,0xc8,0x01, +0x2c,0x19,0x17,0x1b,0x19,0xfe,0xc4,0x70,0x18,0xa0,0x3c,0x28,0x12,0x11,0x0f,0x0e, +0x10,0x10,0x0e,0x0f,0x11,0x12,0x28,0x12,0x11,0x0f,0x0e,0x10,0x10,0x0e,0x0f,0x11, +0x7a,0x64,0x19,0x1b,0x17,0x19,0x00,0x07,0x00,0xb6,0x00,0x9a,0x05,0xcb,0x05,0xaf, +0x00,0x15,0x00,0x1b,0x00,0x22,0x00,0x29,0x00,0x33,0x00,0x53,0x00,0x5a,0x00,0x00, +0x01,0x26,0x27,0x26,0x23,0x22,0x0f,0x01,0x16,0x15,0x32,0x17,0x16,0x15,0x32,0x17, +0x37,0x36,0x35,0x34,0x27,0x26,0x01,0x27,0x1f,0x02,0x27,0x07,0x27,0x03,0x01,0x25, +0x03,0x01,0x27,0x17,0x01,0x36,0x35,0x34,0x07,0x2e,0x01,0x23,0x22,0x07,0x01,0x17, +0x01,0x36,0x35,0x01,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x33,0x32,0x17, +0x16,0x17,0x16,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x23,0x22,0x27, +0x26,0x27,0x26,0x13,0x01,0x36,0x23,0x22,0x07,0x01,0x05,0x25,0x09,0x0b,0x0f,0x0a, +0x07,0x08,0xed,0x16,0x49,0x36,0x36,0x1e,0x17,0x3b,0x02,0x07,0x05,0xfc,0x6f,0x92, +0x0d,0x99,0x92,0x0d,0xa8,0xc6,0x11,0x02,0x7c,0x02,0x99,0xb8,0xfd,0x83,0x12,0x0e, +0x02,0x3e,0x02,0x41,0x25,0x36,0x21,0x0f,0x11,0xfd,0xfb,0x71,0x02,0x05,0x06,0xfd, +0x17,0x0e,0x0a,0x0a,0x05,0x04,0x07,0x09,0x0e,0x09,0x0e,0x11,0x0e,0x0f,0x0e,0x0e, +0x0a,0x09,0x06,0x05,0x08,0x09,0x0e,0x0a,0x0d,0x10,0x0f,0x10,0x12,0x02,0x0c,0x01, +0x39,0x0a,0x0b,0xfd,0xc2,0x05,0x09,0x09,0x05,0x06,0x02,0x3b,0x18,0x1c,0x37,0x36, +0x48,0x17,0xee,0x08,0x05,0x0a,0x10,0x0c,0xfd,0x18,0x0d,0x92,0x98,0x0d,0x92,0xd5, +0xc6,0x01,0x09,0x02,0x7c,0xb8,0xfd,0x68,0xfd,0x83,0xec,0x7f,0x02,0x3e,0x0c,0x0a, +0x39,0x01,0x88,0x36,0x06,0xfd,0xfa,0x71,0x02,0x06,0x11,0x0f,0xfd,0x6d,0x0e,0x10, +0x0e,0x10,0x0d,0x0b,0x10,0x06,0x08,0x04,0x05,0x0a,0x0a,0x0e,0x0d,0x11,0x0e,0x10, +0x0e,0x0a,0x0d,0x09,0x08,0x04,0x05,0x0a,0x0b,0x01,0x0f,0x02,0x0c,0x42,0x02,0xfd, +0xc2,0x00,0x00,0x02,0x00,0x58,0x01,0x7b,0x06,0x0e,0x04,0x5b,0x00,0x23,0x00,0x43, +0x00,0x00,0x12,0x10,0x27,0x04,0x25,0x01,0x15,0x25,0x2e,0x01,0x27,0x26,0x22,0x07, +0x06,0x07,0x06,0x07,0x06,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x32,0x37,0x3e,0x01, +0x37,0x25,0x15,0x01,0x24,0x05,0x12,0x14,0x07,0x36,0x05,0x25,0x05,0x06,0x07,0x06, +0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x32,0x17, +0x16,0x17,0x05,0x25,0x04,0x27,0x8a,0x32,0x01,0x26,0x02,0x25,0x02,0x6b,0xfd,0xbf, +0x05,0x0e,0x12,0x0d,0x1e,0x0d,0x0e,0x0b,0x0a,0x06,0x06,0x06,0x08,0x08,0x0b,0x0e, +0x0d,0x1e,0x0d,0x12,0x0e,0x05,0x02,0x41,0xfd,0x95,0xfd,0xdb,0xfe,0xda,0x99,0x17, +0xac,0x02,0x1d,0x01,0xb7,0xfe,0x9c,0x16,0x1b,0x1a,0x3e,0x1a,0x1b,0x16,0x16,0x0b, +0x0b,0x0b,0x0b,0x16,0x16,0x1b,0x1a,0x3e,0x1a,0x1b,0x16,0x01,0x64,0xfe,0x49,0xfd, +0xe3,0xac,0x02,0x49,0x01,0x44,0x60,0x03,0x71,0xfe,0xed,0x53,0x1c,0x08,0x10,0x08, +0x06,0x06,0x06,0x0a,0x09,0x10,0x0d,0x20,0x0d,0x12,0x07,0x0a,0x06,0x06,0x06,0x08, +0x10,0x08,0x1c,0x53,0xfe,0xed,0x71,0x03,0x01,0x47,0x8a,0x59,0x03,0x71,0xb9,0x18, +0x15,0x0c,0x0b,0x0b,0x0c,0x15,0x17,0x1a,0x1b,0x3e,0x1b,0x1a,0x17,0x15,0x0c,0x0b, +0x0b,0x0c,0x15,0x18,0xb9,0x71,0x03,0x00,0x00,0x01,0x00,0x8a,0x01,0xad,0x06,0x0e, +0x04,0x29,0x00,0x26,0x00,0x00,0x01,0x25,0x15,0x01,0x24,0x07,0x36,0x34,0x27,0x16, +0x25,0x01,0x15,0x25,0x26,0x27,0x26,0x27,0x26,0x22,0x07,0x06,0x07,0x06,0x07,0x06, +0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x32,0x37,0x36,0x37,0x36,0x03,0xe8,0x02, +0x26,0xfd,0x95,0xfd,0xde,0xf7,0x32,0x32,0xf7,0x02,0x22,0x02,0x6b,0xfd,0xda,0x07, +0x0f,0x0e,0x12,0x11,0x2a,0x11,0x12,0x0e,0x0f,0x07,0x08,0x08,0x07,0x0f,0x0e,0x12, +0x11,0x2a,0x11,0x12,0x0e,0x0f,0x02,0xc5,0x1c,0x21,0xfe,0xed,0x71,0x03,0x60,0xe0, +0x60,0x03,0x71,0xfe,0xed,0x21,0x1d,0x11,0x0f,0x0e,0x08,0x08,0x08,0x08,0x0e,0x0f, +0x11,0x12,0x15,0x14,0x12,0x11,0x0f,0x0e,0x08,0x08,0x08,0x08,0x0e,0x0f,0x00,0x01, +0x01,0x33,0x00,0xc6,0x05,0x57,0x05,0x0a,0x00,0x1c,0x00,0x00,0x01,0x32,0x17,0x16, +0x33,0x32,0x37,0x00,0x13,0x36,0x33,0x32,0x16,0x15,0x14,0x07,0x00,0x01,0x06,0x23, +0x22,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x01,0xc5,0x27,0x14,0x28,0x11,0x0d, +0x0e,0x01,0x19,0xef,0x3e,0x87,0x20,0x16,0x21,0xfe,0x7e,0xfe,0xb6,0x17,0x47,0x48, +0x0d,0x22,0x2e,0x34,0x46,0x2b,0x02,0x8e,0x40,0x78,0x14,0x01,0xc2,0x01,0x16,0x48, +0x0c,0x09,0x0e,0x29,0xfe,0x30,0xfd,0xfc,0x24,0x06,0x0f,0x8a,0x99,0x27,0x2a,0x27, +0x18,0x00,0x00,0x01,0x00,0xed,0x00,0xb2,0x05,0xc5,0x05,0x0c,0x00,0x1d,0x00,0x00, +0x01,0x32,0x17,0x16,0x37,0x32,0x37,0x00,0x37,0x36,0x33,0x32,0x17,0x16,0x15,0x14, +0x07,0x00,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x01,0xc5, +0x27,0x14,0x28,0x11,0x0d,0x0e,0x01,0x19,0xef,0x65,0x60,0x7f,0x1a,0x0b,0x17,0xfd, +0x7d,0x7b,0x2a,0x98,0x32,0x37,0x17,0x39,0x48,0x46,0x62,0x03,0x1a,0x40,0x79,0x01, +0x14,0x01,0x9d,0xaf,0x4a,0x08,0x03,0x16,0x12,0x1b,0xfd,0x1e,0xde,0x4c,0x1a,0x0c, +0x8d,0xb2,0x86,0x31,0x20,0x2d,0x00,0x01,0x01,0x03,0x00,0x94,0x05,0xb1,0x05,0x41, +0x00,0x0b,0x00,0x00,0x09,0x01,0x07,0x09,0x01,0x27,0x09,0x01,0x37,0x09,0x01,0x17, +0x03,0xe7,0x01,0xc9,0x8e,0xfe,0x38,0xfe,0x37,0x8e,0x01,0xc9,0xfe,0x37,0x8e,0x01, +0xc9,0x01,0xc9,0x8e,0x02,0xea,0xfe,0x37,0x8d,0x01,0xc9,0xfe,0x37,0x8d,0x01,0xc9, +0x01,0xc9,0x8d,0xfe,0x38,0x01,0xc9,0x8d,0x00,0x01,0x00,0xaf,0x00,0x3f,0x06,0x05, +0x05,0x96,0x00,0x0b,0x00,0x00,0x09,0x0b,0x04,0x91,0x01,0x74,0xfe,0xc9,0xfe,0x8c, +0xfe,0x8c,0xfe,0xc9,0x01,0x74,0xfe,0x8c,0x01,0x37,0x01,0x74,0x01,0x74,0x01,0x37, +0x02,0xea,0xfe,0x8c,0xfe,0xc9,0x01,0x74,0xfe,0x8c,0x01,0x37,0x01,0x74,0x01,0x74, +0x01,0x37,0xfe,0x8c,0x01,0x75,0xfe,0xc9,0x00,0x01,0x00,0xf1,0xff,0xee,0x05,0x9c, +0x05,0xdc,0x00,0x42,0x00,0x00,0x01,0x32,0x17,0x16,0x17,0x36,0x33,0x32,0x17,0x16, +0x15,0x14,0x07,0x06,0x03,0x16,0x17,0x16,0x15,0x14,0x0f,0x01,0x16,0x15,0x14,0x07, +0x06,0x23,0x22,0x27,0x26,0x27,0x06,0x03,0x06,0x23,0x22,0x27,0x26,0x35,0x34,0x37, +0x36,0x37,0x12,0x13,0x02,0x27,0x26,0x35,0x34,0x37,0x36,0x33,0x32,0x17,0x36,0x37, +0x36,0x33,0x32,0x17,0x16,0x17,0x36,0x37,0x36,0x04,0xf8,0x0a,0x10,0x11,0x12,0x1d, +0x11,0x0f,0x1a,0x10,0x16,0xd0,0xc4,0x51,0x8f,0x0c,0x1e,0x20,0x04,0x16,0x1a,0x0c, +0x1a,0x14,0x78,0x80,0xac,0xde,0x20,0x4c,0x24,0x04,0x33,0x0b,0x05,0x1b,0xcc,0xe4, +0x7a,0x28,0x09,0x12,0x13,0x10,0x0f,0x17,0x09,0x0d,0x12,0x1c,0x20,0x0a,0x36,0x58, +0x8e,0xcc,0x18,0x05,0xdc,0x10,0x10,0x1a,0x33,0x1b,0x11,0x15,0x1b,0x17,0xe2,0xfe, +0xf1,0xc6,0xef,0x14,0x0c,0x17,0x19,0x16,0x0c,0x14,0x1e,0x10,0x12,0x1a,0x9a,0xd0, +0xe0,0xfe,0x8a,0x36,0x2a,0x1c,0x3d,0x50,0x1f,0x0e,0x2a,0x01,0x3e,0x01,0x0a,0x01, +0x22,0x9d,0x23,0x0a,0x0e,0x1a,0x1a,0x1d,0x11,0x0c,0x10,0x1e,0xa8,0x98,0xb8,0xcc, +0x18,0x00,0x00,0x01,0x00,0xfc,0xff,0xff,0x06,0x08,0x05,0xea,0x00,0x51,0x00,0x00, +0x01,0x32,0x17,0x16,0x17,0x36,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x03,0x16, +0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x06,0x07,0x06, +0x23,0x22,0x27,0x26,0x27,0x02,0x07,0x06,0x23,0x06,0x27,0x26,0x27,0x06,0x23,0x22, +0x27,0x26,0x35,0x34,0x37,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x26,0x03,0x26, +0x35,0x34,0x37,0x36,0x33,0x32,0x17,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x12, +0x37,0x36,0x05,0x54,0x1d,0x1b,0x14,0x08,0x1a,0x0a,0x20,0x0e,0x0e,0x10,0xf1,0xeb, +0x94,0x94,0x11,0x1e,0x14,0x25,0x02,0x0e,0x18,0x20,0x24,0x1e,0x08,0x0e,0x24,0x1b, +0x17,0x1a,0x59,0x79,0xe6,0x58,0x11,0x15,0x13,0x12,0x0f,0x02,0x14,0x12,0x19,0x1d, +0x24,0x1e,0x09,0x09,0x12,0x18,0x82,0xc4,0x7a,0x63,0x16,0x17,0x10,0x16,0x1a,0x30, +0x01,0x0b,0x17,0x11,0x2b,0x0d,0x6a,0x96,0xe7,0xf9,0x0c,0x05,0xea,0x1e,0x16,0x3a, +0x01,0x05,0x0c,0x0e,0x0d,0x15,0x28,0x10,0xdb,0xfe,0xc7,0xcc,0xa2,0x12,0x18,0x31, +0x1a,0x11,0x02,0x11,0x23,0x3a,0x18,0x12,0x0b,0x1b,0x1c,0x5f,0xbf,0xfe,0xfb,0x87, +0x1a,0x02,0x26,0x1f,0x0d,0x0c,0x1e,0x23,0x11,0x1b,0x2d,0x03,0x0d,0x18,0x18,0x15, +0x1f,0xb0,0xd4,0xbd,0x01,0x0b,0x3d,0x1c,0x1a,0x31,0x20,0x27,0x0e,0x19,0x32,0x1a, +0xc4,0xba,0x01,0x08,0xda,0x0c,0x00,0x03,0x00,0x70,0x00,0x00,0x06,0x44,0x05,0xd5, +0x00,0x0b,0x00,0x17,0x00,0x23,0x00,0x00,0x01,0x11,0x21,0x11,0x21,0x11,0x21,0x11, +0x21,0x11,0x21,0x11,0x25,0x21,0x11,0x21,0x11,0x21,0x11,0x21,0x11,0x21,0x11,0x21, +0x03,0x21,0x15,0x21,0x11,0x23,0x11,0x21,0x35,0x21,0x11,0x33,0x04,0x36,0xfe,0x48, +0xfe,0x56,0x01,0xaa,0x01,0xb8,0x01,0xaa,0xfe,0xa6,0x01,0xbe,0xfe,0x42,0xfd,0xa8, +0xfe,0x42,0x01,0xbe,0x02,0x58,0xc8,0x01,0xbe,0xfe,0x42,0xc8,0xfe,0x42,0x01,0xbe, +0xc8,0x03,0xc6,0x01,0xab,0xfe,0x55,0xfe,0x48,0xfe,0x56,0x01,0xaa,0x01,0xb8,0x50, +0xfd,0xa8,0xfe,0x42,0x01,0xbe,0x02,0x58,0x01,0xbf,0xfd,0x79,0xc8,0xfe,0x42,0x01, +0xbe,0xc8,0x01,0xbf,0x00,0x01,0x00,0x70,0x00,0x00,0x06,0x44,0x05,0xd5,0x00,0x0b, +0x00,0x00,0x01,0x21,0x11,0x21,0x11,0x21,0x11,0x21,0x11,0x21,0x11,0x21,0x04,0x22, +0x02,0x22,0xfd,0xde,0xfe,0x70,0xfd,0xde,0x02,0x22,0x01,0x90,0x03,0xb2,0xfe,0x70, +0xfd,0xde,0x02,0x22,0x01,0x90,0x02,0x23,0x00,0x02,0x00,0x70,0x00,0x00,0x06,0x44, +0x05,0xd5,0x00,0x03,0x00,0x0f,0x00,0x00,0x01,0x33,0x35,0x23,0x37,0x21,0x15,0x21, +0x11,0x23,0x11,0x21,0x35,0x21,0x11,0x33,0x02,0xe3,0xee,0xee,0xef,0x02,0x72,0xfd, +0x8e,0xf0,0xfd,0x8e,0x02,0x72,0xf0,0x02,0x73,0xee,0x01,0xf0,0xfd,0x8e,0x02,0x72, +0xf0,0x02,0x73,0x00,0x00,0x02,0x00,0x70,0x00,0x00,0x06,0x44,0x05,0xd5,0x00,0x03, +0x00,0x0f,0x00,0x00,0x01,0x21,0x11,0x21,0x25,0x21,0x11,0x21,0x11,0x21,0x11,0x21, +0x11,0x21,0x11,0x21,0x02,0x93,0x01,0x8e,0xfe,0x72,0x01,0x8f,0x02,0x22,0xfd,0xde, +0xfe,0x70,0xfd,0xde,0x02,0x22,0x01,0x90,0x02,0x23,0x01,0x8e,0x01,0xfe,0x70,0xfd, +0xde,0x02,0x22,0x01,0x90,0x02,0x23,0x00,0x00,0x01,0x01,0x52,0x00,0x00,0x05,0x62, +0x05,0xd5,0x00,0x0b,0x00,0x00,0x01,0x21,0x15,0x21,0x11,0x23,0x11,0x21,0x35,0x21, +0x11,0x33,0x03,0xd2,0x01,0x90,0xfe,0x70,0xf0,0xfe,0x70,0x01,0x90,0xf0,0x04,0x45, +0xf0,0xfc,0xab,0x03,0x55,0xf0,0x01,0x90,0x00,0x02,0x01,0x0c,0x00,0x00,0x05,0x6c, +0x05,0xd5,0x00,0x0f,0x00,0x1b,0x00,0x00,0x01,0x33,0x17,0x11,0x21,0x11,0x21,0x27, +0x11,0x23,0x27,0x11,0x21,0x11,0x21,0x17,0x07,0x11,0x23,0x11,0x21,0x15,0x21,0x11, +0x33,0x11,0x21,0x35,0x04,0x40,0x96,0x96,0xfe,0xd4,0xfe,0x8e,0x96,0x96,0x96,0x01, +0x2c,0x01,0x72,0x96,0xc8,0xdc,0xfe,0xd4,0x01,0x2c,0xdc,0x01,0x2c,0x04,0xa9,0x96, +0xfe,0x8e,0xfd,0x5f,0x96,0x02,0x0b,0x96,0x01,0x72,0x01,0x2c,0x96,0xfa,0x01,0x2c, +0xfe,0xd4,0xdc,0xfd,0x5f,0x02,0xa1,0xdc,0x00,0x03,0x01,0x3e,0x00,0x00,0x05,0x76, +0x05,0xd5,0x00,0x0b,0x00,0x17,0x00,0x23,0x00,0x00,0x01,0x11,0x21,0x11,0x21,0x11, +0x21,0x11,0x21,0x11,0x21,0x11,0x27,0x21,0x11,0x21,0x11,0x21,0x11,0x21,0x11,0x21, +0x11,0x21,0x03,0x21,0x15,0x21,0x11,0x23,0x11,0x21,0x35,0x21,0x11,0x33,0x04,0x0e, +0xfe,0x98,0xfe,0xe8,0x01,0x18,0x01,0x68,0x01,0x18,0xc8,0x01,0x18,0xfe,0xe8,0xfd, +0xf8,0xfe,0xe8,0x01,0x18,0x02,0x08,0xa0,0x01,0x18,0xfe,0xe8,0xc8,0xfe,0xe8,0x01, +0x18,0xc8,0x04,0x6d,0x01,0x18,0xfe,0xe8,0xfe,0x84,0xfd,0x5f,0x02,0xa1,0x01,0x7c, +0x50,0xfd,0xe4,0xfd,0x5f,0x02,0xa1,0x02,0x1c,0x01,0x18,0xfe,0x48,0xdc,0xfd,0x5f, +0x02,0xa1,0xdc,0x01,0x18,0x00,0x00,0x01,0x00,0x70,0x00,0x00,0x06,0x44,0x05,0xd5, +0x00,0x51,0x00,0x00,0x01,0x23,0x22,0x07,0x06,0x07,0x06,0x07,0x06,0x15,0x23,0x11, +0x33,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x3b,0x01,0x35,0x34,0x27,0x26,0x27,0x26, +0x27,0x26,0x23,0x35,0x21,0x15,0x22,0x07,0x06,0x07,0x0e,0x01,0x1d,0x01,0x33,0x32, +0x37,0x36,0x37,0x36,0x37,0x36,0x35,0x33,0x11,0x23,0x34,0x27,0x26,0x27,0x26,0x27, +0x26,0x2b,0x01,0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x33,0x15,0x21,0x35,0x32, +0x37,0x36,0x37,0x3e,0x01,0x35,0x03,0x0f,0x7b,0x64,0x5a,0x59,0x49,0x42,0x2c,0x24, +0x32,0x32,0x24,0x2a,0x44,0x45,0x5d,0x56,0x68,0x7b,0x25,0x27,0x47,0x43,0x5f,0x52, +0x6c,0x04,0x7c,0x6c,0x52,0x5f,0x43,0x49,0x4a,0x7b,0x68,0x56,0x5d,0x45,0x44,0x2a, +0x24,0x32,0x32,0x24,0x2c,0x42,0x46,0x5c,0x5a,0x64,0x7b,0x25,0x27,0x47,0x43,0x5f, +0x52,0x6c,0xfb,0x84,0x6c,0x52,0x5f,0x43,0x49,0x4a,0x02,0xa0,0x26,0x25,0x49,0x42, +0x60,0x4f,0x6f,0x04,0x7c,0x6f,0x4f,0x5c,0x46,0x47,0x27,0x24,0x7a,0x64,0x5a,0x5c, +0x47,0x42,0x2b,0x25,0x32,0x32,0x25,0x2b,0x42,0x49,0xb4,0x64,0x7a,0x24,0x27,0x47, +0x46,0x5c,0x4f,0x6f,0xfb,0x84,0x6f,0x4f,0x60,0x42,0x48,0x26,0x26,0x7b,0x64,0x5a, +0x5c,0x47,0x42,0x2b,0x25,0x32,0x32,0x25,0x2b,0x42,0x49,0xb4,0x64,0x00,0x00,0x08, +0x00,0xbb,0xff,0xe5,0x05,0xf9,0x05,0xf3,0x00,0x0b,0x00,0x11,0x00,0x14,0x00,0x17, +0x00,0x1a,0x00,0x1d,0x00,0x20,0x00,0x23,0x00,0x00,0x01,0x13,0x21,0x03,0x13,0x21, +0x0b,0x01,0x21,0x13,0x03,0x21,0x17,0x03,0x13,0x21,0x13,0x0b,0x01,0x07,0x33,0x1f, +0x01,0x37,0x03,0x07,0x33,0x05,0x23,0x17,0x01,0x27,0x07,0x13,0x37,0x23,0x03,0x5a, +0xe0,0x01,0xbf,0xe0,0xe0,0xfe,0x41,0xe0,0xe0,0xfe,0x41,0xe0,0xe0,0x01,0xbf,0x3a, +0xa6,0xa6,0x01,0x4c,0xa6,0xa6,0xa6,0x6c,0xd8,0xad,0x6d,0x6c,0x6c,0x6d,0xd9,0xfe, +0x7a,0xd8,0x6c,0xfe,0xe7,0x6d,0x6c,0x6c,0x6d,0xd9,0x05,0xf3,0xfe,0x7c,0xfe,0x7d, +0xfe,0x7d,0xfe,0x7c,0x01,0x84,0x01,0x83,0x01,0x83,0x64,0xfe,0xe1,0xfe,0xe0,0x01, +0x20,0x01,0x1f,0x01,0x1f,0xbb,0x64,0xbb,0xbb,0xfe,0x7d,0xbc,0x63,0xbc,0x01,0x1f, +0xbc,0xbc,0x01,0x84,0xbb,0x00,0x00,0x01,0x00,0x54,0xff,0xe3,0x06,0x60,0x05,0xf0, +0x00,0x43,0x00,0x00,0x01,0x35,0x34,0x27,0x26,0x35,0x34,0x37,0x36,0x32,0x17,0x16, +0x15,0x14,0x07,0x06,0x1d,0x01,0x33,0x32,0x37,0x36,0x33,0x32,0x17,0x16,0x14,0x07, +0x06,0x23,0x22,0x27,0x26,0x2b,0x01,0x15,0x14,0x17,0x16,0x15,0x14,0x07,0x06,0x22, +0x27,0x26,0x35,0x34,0x37,0x36,0x3d,0x01,0x23,0x22,0x07,0x06,0x23,0x22,0x27,0x26, +0x34,0x37,0x36,0x33,0x32,0x17,0x16,0x33,0x03,0x28,0x4c,0x2c,0x36,0x38,0x78,0x38, +0x36,0x2c,0x4c,0x20,0xba,0x7a,0x46,0x76,0x64,0x30,0x30,0x30,0x30,0x64,0x76,0x46, +0x7a,0xba,0x20,0x4c,0x2c,0x36,0x38,0x78,0x38,0x36,0x2c,0x4c,0x20,0xba,0x7a,0x46, +0x76,0x64,0x30,0x30,0x30,0x30,0x64,0x76,0x46,0x7a,0xba,0x03,0x1c,0x20,0xba,0x7a, +0x46,0x76,0x64,0x30,0x30,0x30,0x30,0x64,0x76,0x46,0x7a,0xba,0x20,0x4c,0x2c,0x36, +0x38,0x78,0x38,0x36,0x2c,0x4c,0x20,0xbb,0x79,0x46,0x76,0x64,0x30,0x31,0x31,0x30, +0x64,0x76,0x46,0x79,0xbb,0x20,0x4c,0x2c,0x36,0x38,0x78,0x38,0x36,0x2c,0x4c,0x00, +0x00,0x01,0x00,0x56,0xff,0xe7,0x06,0x5e,0x05,0xf0,0x00,0x83,0x00,0x00,0x01,0x26, +0x27,0x23,0x06,0x07,0x06,0x07,0x0e,0x01,0x23,0x22,0x26,0x27,0x26,0x27,0x26,0x34, +0x37,0x36,0x37,0x3e,0x01,0x33,0x32,0x16,0x17,0x16,0x17,0x16,0x17,0x33,0x36,0x37, +0x36,0x37,0x35,0x26,0x27,0x26,0x27,0x2e,0x01,0x35,0x34,0x36,0x37,0x36,0x37,0x36, +0x32,0x17,0x16,0x17,0x1e,0x01,0x15,0x14,0x06,0x07,0x06,0x07,0x06,0x07,0x15,0x16, +0x17,0x16,0x17,0x33,0x36,0x37,0x36,0x37,0x3e,0x01,0x33,0x32,0x16,0x17,0x16,0x17, +0x16,0x14,0x07,0x06,0x07,0x0e,0x01,0x23,0x22,0x26,0x27,0x26,0x27,0x26,0x27,0x23, +0x06,0x07,0x06,0x07,0x15,0x16,0x17,0x16,0x17,0x1e,0x01,0x15,0x14,0x06,0x07,0x06, +0x07,0x06,0x22,0x27,0x26,0x27,0x2e,0x01,0x35,0x34,0x36,0x37,0x36,0x37,0x36,0x37, +0x35,0x26,0x03,0x02,0x10,0x0a,0xd4,0x02,0x0a,0x14,0x1d,0x20,0x52,0x2e,0x2d,0x52, +0x20,0x1f,0x12,0x11,0x11,0x12,0x1f,0x20,0x52,0x2d,0x2e,0x52,0x20,0x22,0x0f,0x09, +0x03,0xd4,0x0a,0x10,0x11,0x15,0x10,0x14,0x2a,0x1e,0x21,0x22,0x22,0x21,0x20,0x28, +0x28,0x5c,0x28,0x28,0x20,0x21,0x22,0x22,0x21,0x23,0x25,0x17,0x0d,0x15,0x11,0x10, +0x0a,0xd4,0x03,0x09,0x0f,0x22,0x20,0x52,0x2e,0x2d,0x52,0x20,0x1f,0x12,0x11,0x11, +0x12,0x1f,0x20,0x52,0x2d,0x2e,0x52,0x20,0x1d,0x14,0x0a,0x02,0xd4,0x0a,0x10,0x11, +0x15,0x0d,0x17,0x25,0x23,0x21,0x22,0x22,0x21,0x20,0x28,0x28,0x5c,0x28,0x28,0x20, +0x21,0x22,0x22,0x21,0x1e,0x2a,0x14,0x10,0x15,0x02,0x93,0x11,0x15,0x10,0x14,0x2a, +0x1e,0x21,0x22,0x22,0x21,0x20,0x28,0x28,0x5c,0x28,0x28,0x20,0x21,0x22,0x22,0x21, +0x23,0x25,0x17,0x0d,0x15,0x11,0x10,0x0a,0xd5,0x02,0x0a,0x14,0x1d,0x20,0x52,0x2e, +0x2d,0x52,0x20,0x1f,0x12,0x11,0x11,0x12,0x1f,0x20,0x52,0x2d,0x2e,0x52,0x20,0x22, +0x0f,0x09,0x03,0xd5,0x0a,0x10,0x11,0x15,0x0d,0x17,0x25,0x23,0x21,0x22,0x22,0x21, +0x20,0x28,0x28,0x5c,0x28,0x28,0x20,0x21,0x22,0x22,0x21,0x1e,0x2a,0x14,0x10,0x15, +0x11,0x10,0x0a,0xd4,0x03,0x09,0x0f,0x22,0x20,0x52,0x2e,0x2d,0x52,0x20,0x1f,0x12, +0x11,0x11,0x12,0x1f,0x20,0x52,0x2d,0x2e,0x52,0x20,0x1d,0x14,0x0a,0x02,0xd4,0x0a, +0x00,0x01,0x00,0x53,0xff,0xe3,0x06,0x61,0x05,0xf0,0x00,0x9b,0x00,0x00,0x01,0x34, +0x27,0x26,0x27,0x26,0x27,0x26,0x27,0x2e,0x01,0x35,0x34,0x37,0x36,0x37,0x36,0x37, +0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07, +0x06,0x07,0x06,0x07,0x06,0x15,0x32,0x37,0x36,0x37,0x36,0x37,0x36,0x37,0x36,0x37, +0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x14,0x07,0x06,0x07,0x06,0x07,0x06, +0x23,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x27,0x26,0x27,0x26,0x23,0x14,0x17,0x16, +0x17,0x16,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06, +0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x37, +0x36,0x37,0x36,0x35,0x22,0x07,0x06,0x07,0x06,0x07,0x06,0x07,0x0e,0x01,0x23,0x22, +0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x33,0x32, +0x17,0x16,0x17,0x16,0x17,0x16,0x17,0x16,0x17,0x16,0x03,0x28,0x14,0x18,0x24,0x0e, +0x10,0x18,0x0a,0x28,0x28,0x14,0x16,0x26,0x20,0x3a,0x2e,0x3a,0x38,0x30,0x36,0x24, +0x26,0x16,0x14,0x14,0x16,0x26,0x0a,0x1a,0x08,0x14,0x29,0x13,0x14,0x44,0x2b,0x3a, +0x21,0x0d,0x0c,0x12,0x0a,0x27,0x32,0x32,0x38,0x3a,0x2f,0x33,0x26,0x24,0x18,0x15, +0x15,0x18,0x24,0x26,0x33,0x2f,0x3a,0x38,0x32,0x32,0x27,0x0a,0x12,0x0c,0x0d,0x29, +0x32,0x2f,0x40,0x14,0x1b,0x21,0x0d,0x10,0x19,0x0a,0x27,0x15,0x14,0x14,0x16,0x26, +0x24,0x36,0x2f,0x72,0x2f,0x36,0x24,0x26,0x16,0x14,0x14,0x15,0x27,0x0a,0x19,0x10, +0x0d,0x27,0x15,0x14,0x3f,0x30,0x33,0x27,0x0e,0x0c,0x12,0x0a,0x26,0x64,0x38,0x3a, +0x30,0x32,0x26,0x21,0x1b,0x16,0x16,0x18,0x24,0x26,0x32,0x30,0x3a,0x3d,0x2d,0x32, +0x26,0x0a,0x12,0x06,0x14,0x28,0x32,0x30,0x03,0x1c,0x43,0x2c,0x37,0x22,0x0e,0x0c, +0x12,0x0a,0x26,0x64,0x38,0x3a,0x30,0x32,0x26,0x20,0x1c,0x16,0x16,0x18,0x24,0x26, +0x32,0x30,0x3a,0x3d,0x2d,0x32,0x26,0x0a,0x12,0x06,0x14,0x28,0x31,0x30,0x3f,0x14, +0x1b,0x21,0x0d,0x10,0x19,0x0a,0x27,0x15,0x14,0x14,0x16,0x26,0x24,0x36,0x2f,0x72, +0x2f,0x36,0x24,0x26,0x16,0x14,0x14,0x15,0x27,0x0a,0x19,0x10,0x0d,0x27,0x15,0x14, +0x44,0x2b,0x3a,0x21,0x0d,0x0c,0x12,0x0a,0x27,0x32,0x32,0x38,0x3a,0x2f,0x33,0x26, +0x24,0x18,0x15,0x15,0x18,0x24,0x26,0x33,0x2f,0x3a,0x38,0x32,0x32,0x27,0x0a,0x12, +0x0c,0x0d,0x29,0x32,0x2f,0x40,0x14,0x15,0x27,0x0e,0x10,0x18,0x0a,0x28,0x28,0x14, +0x16,0x26,0x20,0x3a,0x2e,0x3a,0x38,0x30,0x36,0x24,0x26,0x16,0x14,0x14,0x16,0x26, +0x0a,0x1a,0x08,0x14,0x28,0x14,0x14,0x00,0x00,0x01,0x00,0x54,0xff,0xe5,0x06,0x60, +0x05,0xf2,0x01,0x30,0x00,0x00,0x01,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14, +0x07,0x06,0x07,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14, +0x07,0x0e,0x01,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x27,0x11,0x21,0x26,0x27, +0x26,0x27,0x26,0x35,0x34,0x36,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16, +0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16, +0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x16, +0x17,0x16,0x15,0x14,0x06,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x27, +0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x21,0x11,0x36,0x37,0x36,0x37,0x36,0x33, +0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x23, +0x22,0x27,0x26,0x27,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x22, +0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x06,0x07,0x06,0x23,0x22, +0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x33,0x32, +0x16,0x17,0x16,0x17,0x11,0x21,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07, +0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37, +0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x34,0x37,0x36,0x37,0x36, +0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36, +0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06, +0x07,0x21,0x11,0x06,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x2e,0x01,0x27,0x26,0x35, +0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x26,0x27,0x26,0x35, +0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x03,0x5a,0x1e,0x17,0x1b,0x12,0x14,0x0b,0x0a, +0x0a,0x0b,0x14,0x0b,0x14,0x19,0x1c,0x1e,0x18,0x1a,0x13,0x14,0x0b,0x0a,0x0a,0x0b, +0x28,0x19,0x19,0x1d,0x1e,0x17,0x19,0x14,0x0e,0x0a,0x01,0x26,0x11,0x0e,0x13,0x0b, +0x0b,0x16,0x13,0x14,0x1a,0x19,0x1c,0x1d,0x19,0x1a,0x14,0x13,0x0b,0x0b,0x0b,0x08, +0x09,0x14,0x19,0x19,0x1c,0x20,0x17,0x19,0x14,0x13,0x0c,0x0a,0x0a,0x0c,0x13,0x16, +0x17,0x1a,0x1d,0x1c,0x19,0x19,0x14,0x09,0x08,0x0b,0x16,0x13,0x11,0x1d,0x19,0x1d, +0x18,0x1d,0x1a,0x14,0x13,0x0b,0x0b,0x0b,0x0b,0x13,0x0e,0x11,0xfe,0xdb,0x09,0x0e, +0x11,0x1d,0x17,0x1e,0x1d,0x18,0x1a,0x13,0x14,0x0b,0x0a,0x0a,0x0b,0x14,0x12,0x1b, +0x17,0x1e,0x19,0x1c,0x14,0x0b,0x13,0x0b,0x0b,0x0b,0x0b,0x14,0x12,0x1b,0x17,0x3c, +0x17,0x1b,0x12,0x14,0x0b,0x0b,0x0b,0x0b,0x13,0x0b,0x14,0x18,0x1d,0x1e,0x17,0x1b, +0x12,0x14,0x0b,0x0a,0x0a,0x0b,0x14,0x13,0x1a,0x18,0x1d,0x1b,0x34,0x14,0x0e,0x09, +0xfe,0xdb,0x11,0x0d,0x16,0x09,0x0a,0x0a,0x0b,0x14,0x16,0x17,0x1a,0x1b,0x1e,0x19, +0x19,0x14,0x13,0x0c,0x0a,0x0a,0x08,0x0a,0x16,0x17,0x1a,0x1c,0x1d,0x19,0x1a,0x14, +0x12,0x0c,0x0a,0x0a,0x0c,0x12,0x11,0x1d,0x19,0x1d,0x1c,0x1a,0x19,0x14,0x0a,0x08, +0x0a,0x0a,0x0c,0x13,0x13,0x1a,0x19,0x1e,0x1b,0x1a,0x19,0x14,0x14,0x0b,0x0a,0x0a, +0x0c,0x13,0x0d,0x11,0x01,0x25,0x0a,0x0e,0x14,0x19,0x17,0x1e,0x1d,0x18,0x1a,0x28, +0x0a,0x0b,0x0b,0x0a,0x14,0x13,0x1b,0x17,0x1e,0x1d,0x18,0x14,0x0b,0x14,0x0b,0x0a, +0x0a,0x0b,0x14,0x13,0x1a,0x17,0x05,0xf2,0x0b,0x0c,0x12,0x14,0x1a,0x19,0x1d,0x1c, +0x19,0x1a,0x14,0x0a,0x08,0x0a,0x0a,0x0c,0x12,0x14,0x1a,0x19,0x1d,0x1f,0x17,0x19, +0x28,0x0b,0x0a,0x0a,0x0c,0x13,0x0d,0x11,0xfe,0xdb,0x0a,0x0e,0x14,0x19,0x17,0x1e, +0x1d,0x32,0x14,0x14,0x0b,0x0a,0x0a,0x0b,0x14,0x13,0x1a,0x18,0x1e,0x1c,0x19,0x14, +0x0b,0x14,0x0b,0x0a,0x0a,0x0b,0x14,0x12,0x1b,0x18,0x1d,0x1e,0x18,0x1b,0x12,0x16, +0x09,0x0a,0x0a,0x0b,0x14,0x0b,0x14,0x19,0x1c,0x1a,0x36,0x13,0x11,0x0d,0x0b,0x0b, +0x0a,0x14,0x14,0x1a,0x18,0x1d,0x1e,0x17,0x19,0x14,0x0e,0x0a,0xfe,0xda,0x12,0x0d, +0x10,0x0e,0x0b,0x0b,0x0b,0x13,0x14,0x1a,0x19,0x1c,0x1d,0x19,0x1a,0x14,0x12,0x0c, +0x0b,0x0b,0x08,0x09,0x13,0x1a,0x19,0x1c,0x1d,0x1a,0x19,0x14,0x13,0x0c,0x0a,0x0a, +0x0c,0x13,0x14,0x19,0x1a,0x1d,0x1c,0x19,0x1a,0x13,0x09,0x08,0x0b,0x0b,0x0c,0x12, +0x14,0x1a,0x19,0x1d,0x1c,0x19,0x1a,0x14,0x13,0x0b,0x0b,0x16,0x13,0x0d,0x12,0x01, +0x25,0x09,0x0e,0x17,0x16,0x18,0x1e,0x1c,0x19,0x1a,0x13,0x16,0x09,0x0a,0x0a,0x0b, +0x14,0x12,0x1b,0x17,0x1e,0x1d,0x19,0x13,0x0c,0x16,0x09,0x0a,0x0a,0x0b,0x14,0x12, +0x1b,0x17,0x3c,0x17,0x1b,0x13,0x11,0x0d,0x0b,0x0b,0x0a,0x14,0x0b,0x14,0x18,0x1d, +0x1e,0x17,0x1b,0x12,0x14,0x0b,0x0b,0x0b,0x0b,0x14,0x13,0x1a,0x18,0x1d,0x1e,0x17, +0x1a,0x13,0x0e,0x0a,0x01,0x25,0x11,0x0d,0x13,0x0c,0x0a,0x0a,0x0b,0x28,0x19,0x1a, +0x1c,0x19,0x1d,0x1a,0x14,0x12,0x0c,0x0a,0x0a,0x08,0x0a,0x14,0x1a,0x19,0x1c,0x1d, +0x19,0x1a,0x14,0x12,0x0c,0x0b,0x00,0x01,0x00,0x57,0xff,0xe3,0x06,0x5f,0x05,0xf5, +0x00,0x1f,0x00,0x00,0x13,0x32,0x37,0x36,0x37,0x36,0x37,0x36,0x35,0x14,0x17,0x16, +0x17,0x16,0x17,0x16,0x33,0x22,0x07,0x06,0x07,0x06,0x07,0x06,0x15,0x34,0x27,0x26, +0x27,0x26,0x27,0x26,0x57,0x9b,0x8d,0x86,0x73,0x70,0x3a,0x39,0x39,0x35,0x75,0x6c, +0x8d,0x8c,0x9c,0x9c,0x8c,0x8d,0x6c,0x75,0x35,0x39,0x39,0x3a,0x70,0x73,0x86,0x8d, +0x02,0xec,0x3b,0x38,0x72,0x6f,0x8b,0x89,0xa1,0x9d,0x8d,0x83,0x77,0x6e,0x3c,0x3b, +0x3b,0x3c,0x6e,0x77,0x83,0x8d,0x9d,0xa1,0x89,0x8b,0x6f,0x72,0x38,0x3b,0x00,0x02, +0x00,0x57,0xff,0xe3,0x06,0x5f,0x05,0xf5,0x00,0x1f,0x00,0x3f,0x00,0x00,0x01,0x32, +0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x33,0x22, +0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x21,0x32, +0x37,0x36,0x37,0x36,0x37,0x36,0x35,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x33,0x22, +0x07,0x06,0x07,0x06,0x07,0x06,0x15,0x34,0x27,0x26,0x27,0x26,0x27,0x26,0x01,0x65, +0x65,0x5c,0x57,0x4a,0x49,0x26,0x25,0x25,0x22,0x4d,0x46,0x5b,0x5b,0x66,0x66,0x5b, +0x5b,0x46,0x4d,0x22,0x25,0x25,0x26,0x49,0x4a,0x57,0x5c,0xfe,0x8d,0x9b,0x8d,0x86, +0x73,0x70,0x3a,0x39,0x39,0x35,0x75,0x6c,0x8d,0x8c,0x9c,0x9c,0x8c,0x8d,0x6c,0x75, +0x35,0x39,0x39,0x3a,0x70,0x73,0x86,0x8d,0x02,0xec,0x26,0x25,0x4a,0x48,0x5a,0x59, +0x69,0x66,0x5c,0x55,0x4d,0x48,0x27,0x26,0x26,0x27,0x48,0x4d,0x55,0x5c,0x66,0x69, +0x59,0x5a,0x48,0x4a,0x25,0x26,0x3b,0x38,0x72,0x6f,0x8b,0x89,0xa1,0x9d,0x8d,0x83, +0x77,0x6e,0x3c,0x3b,0x3b,0x3c,0x6e,0x77,0x83,0x8d,0x9d,0xa1,0x89,0x8b,0x6f,0x72, +0x38,0x3b,0x00,0x02,0x00,0x30,0xff,0xed,0x06,0x84,0x05,0xf2,0x00,0x09,0x00,0x13, +0x00,0x00,0x13,0x25,0x09,0x01,0x05,0x01,0x13,0x25,0x05,0x13,0x01,0x03,0x21,0x01, +0x03,0x09,0x01,0x03,0x01,0x21,0x30,0x02,0x0c,0x01,0x1e,0x01,0x1e,0x02,0x0c,0xfe, +0xa7,0x24,0xfe,0x0b,0xfe,0x0b,0x24,0x01,0xd1,0xbf,0xfd,0x95,0x01,0xf4,0xbf,0x01, +0xf5,0x01,0xf5,0xbf,0x01,0xf4,0xfd,0x95,0x03,0xa5,0x83,0x01,0xca,0xfe,0x36,0x83, +0xfe,0x61,0xfd,0xe7,0xc9,0xc9,0x02,0x19,0x03,0xec,0xfd,0xb3,0xfe,0x94,0xfd,0xb4, +0x01,0x6c,0xfe,0x94,0x02,0x4c,0x01,0x6c,0x00,0x02,0x00,0x56,0xff,0xe3,0x06,0x5e, +0x05,0xf0,0x00,0x09,0x00,0x29,0x00,0x00,0x01,0x03,0x21,0x01,0x03,0x09,0x01,0x03, +0x01,0x21,0x03,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06, +0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36, +0x37,0x36,0x03,0x5a,0xac,0xfd,0xd3,0x01,0xc2,0xac,0x01,0xc3,0x01,0xc3,0xac,0x01, +0xc2,0xfd,0xd3,0xac,0x9a,0x8e,0x86,0x73,0x70,0x3a,0x39,0x39,0x35,0x75,0x6e,0x8b, +0x8d,0x9b,0x9a,0x8e,0x86,0x73,0x70,0x3a,0x39,0x39,0x35,0x75,0x6c,0x8d,0x8c,0x05, +0xea,0xfd,0xee,0xfe,0xb8,0xfd,0xef,0x01,0x48,0xfe,0xb8,0x02,0x11,0x01,0x48,0x02, +0x18,0x3b,0x38,0x72,0x6f,0x8b,0x89,0xa1,0x98,0x8d,0x83,0x77,0x70,0x3a,0x3b,0x3b, +0x38,0x72,0x6f,0x8b,0x89,0x9c,0x9d,0x8d,0x83,0x77,0x6e,0x3c,0x3b,0x00,0x00,0x02, +0x00,0x30,0xff,0xed,0x06,0x84,0x05,0xf2,0x00,0x1d,0x00,0x27,0x00,0x00,0x00,0x22, +0x07,0x06,0x07,0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x32,0x37, +0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x27,0x03,0x13,0x21,0x01, +0x13,0x09,0x01,0x13,0x01,0x21,0x03,0x9d,0x86,0x39,0x39,0x30,0x30,0x17,0x18,0x18, +0x17,0x30,0x30,0x39,0x39,0x86,0x39,0x39,0x30,0x30,0x17,0x18,0x18,0x17,0x30,0x30, +0x39,0x7c,0xbf,0x02,0x6b,0xfe,0x0c,0xbf,0xfe,0x0b,0xfe,0x0b,0xbf,0xfe,0x0c,0x02, +0x6b,0x03,0xe4,0x18,0x1a,0x2d,0x32,0x38,0x3b,0x42,0x41,0x3b,0x38,0x32,0x2d,0x1a, +0x18,0x18,0x1a,0x2d,0x32,0x38,0x3b,0x41,0x42,0x3b,0x38,0x32,0x2d,0x1a,0x02,0x26, +0xfd,0xb3,0xfe,0x94,0xfd,0xb4,0x01,0x6c,0xfe,0x94,0x02,0x4c,0x01,0x6c,0x00,0x03, +0x00,0x30,0xff,0xed,0x06,0x84,0x05,0xf2,0x00,0x09,0x00,0x27,0x00,0x31,0x00,0x00, +0x13,0x25,0x09,0x01,0x05,0x01,0x13,0x25,0x05,0x13,0x00,0x32,0x17,0x16,0x17,0x16, +0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x22,0x27,0x26,0x27,0x26,0x27, +0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x13,0x03,0x21,0x01,0x03,0x09,0x01,0x03, +0x01,0x21,0x30,0x02,0x0c,0x01,0x1e,0x01,0x1e,0x02,0x0c,0xfe,0xa7,0x24,0xfe,0x0b, +0xfe,0x0b,0x24,0x01,0x8e,0x86,0x39,0x39,0x30,0x30,0x17,0x18,0x18,0x17,0x30,0x30, +0x39,0x39,0x86,0x39,0x39,0x30,0x30,0x17,0x18,0x18,0x17,0x30,0x30,0x39,0x7c,0xbf, +0xfd,0x95,0x01,0xf4,0xbf,0x01,0xf5,0x01,0xf5,0xbf,0x01,0xf4,0xfd,0x95,0x03,0xa5, +0x83,0x01,0xca,0xfe,0x36,0x83,0xfe,0x61,0xfd,0xe7,0xc9,0xc9,0x02,0x19,0x01,0xde, +0x18,0x1a,0x2d,0x32,0x38,0x3b,0x42,0x41,0x3b,0x38,0x32,0x2d,0x1a,0x18,0x18,0x1a, +0x2d,0x32,0x38,0x3b,0x41,0x42,0x3b,0x38,0x32,0x2d,0x1a,0x02,0x26,0xfd,0xb3,0xfe, +0x94,0xfd,0xb4,0x01,0x6c,0xfe,0x94,0x02,0x4c,0x01,0x6c,0x00,0x00,0x03,0x00,0x30, +0xff,0xed,0x06,0x84,0x05,0xf2,0x00,0x09,0x00,0x13,0x00,0x1d,0x00,0x00,0x01,0x13, +0x21,0x07,0x13,0x27,0x07,0x13,0x27,0x21,0x13,0x03,0x21,0x01,0x03,0x09,0x01,0x03, +0x01,0x21,0x03,0x13,0x21,0x01,0x13,0x09,0x01,0x13,0x01,0x21,0x03,0x5a,0x60,0x01, +0x35,0xfa,0x5f,0xfa,0xfa,0x5f,0xfa,0x01,0x35,0x60,0x8f,0xfe,0x2f,0x01,0x78,0x90, +0x01,0x78,0x01,0x78,0x90,0x01,0x78,0xfe,0x2f,0x8f,0xbf,0x02,0x6b,0xfe,0x0c,0xbf, +0xfe,0x0b,0xfe,0x0b,0xbf,0xfe,0x0c,0x02,0x6b,0x04,0x49,0xfe,0xd9,0xb6,0xfe,0xda, +0xb6,0xb6,0x01,0x26,0xb6,0x01,0xfb,0xfe,0x47,0xfe,0xef,0xfe,0x47,0x01,0x11,0xfe, +0xef,0x01,0xb9,0x01,0x11,0x02,0x8e,0xfd,0xb3,0xfe,0x94,0xfd,0xb4,0x01,0x6c,0xfe, +0x94,0x02,0x4c,0x01,0x6c,0x00,0x00,0x03,0x00,0x30,0xff,0xed,0x06,0x84,0x05,0xf2, +0x00,0x09,0x00,0x13,0x00,0x1d,0x00,0x00,0x01,0x17,0x33,0x07,0x17,0x27,0x07,0x37, +0x27,0x33,0x1b,0x01,0x21,0x01,0x13,0x09,0x01,0x13,0x01,0x21,0x37,0x03,0x21,0x05, +0x03,0x25,0x05,0x03,0x25,0x21,0x03,0x5a,0x26,0x7c,0x64,0x26,0x64,0x64,0x26,0x64, +0x7c,0x26,0xbf,0x02,0x6b,0xfe,0x0c,0xbf,0xfe,0x0b,0xfe,0x0b,0xbf,0xfe,0x0c,0x02, +0x6b,0xbf,0x73,0xfe,0x8a,0x01,0x2f,0x75,0x01,0x2f,0x01,0x2f,0x75,0x01,0x2f,0xfe, +0x8a,0x03,0x49,0x76,0x49,0x76,0x49,0x49,0x76,0x49,0x03,0x1f,0xfd,0xb3,0xfe,0x94, +0xfd,0xb4,0x01,0x6c,0xfe,0x94,0x02,0x4c,0x01,0x6c,0xfb,0xfe,0x9d,0xdb,0xfe,0x9d, +0xdb,0xdb,0x01,0x63,0xdb,0x00,0x00,0x06,0x00,0x30,0xff,0xed,0x06,0x84,0x05,0xf2, +0x00,0x02,0x00,0x05,0x00,0x08,0x00,0x0b,0x00,0x0e,0x00,0x18,0x00,0x00,0x25,0x01, +0x35,0x25,0x01,0x37,0x01,0x03,0x27,0x25,0x21,0x07,0x11,0x03,0x17,0x11,0x13,0x21, +0x01,0x13,0x09,0x01,0x13,0x01,0x21,0x01,0xe2,0x01,0x78,0xfd,0xa0,0x01,0x78,0xe8, +0x01,0x78,0x90,0xe8,0x02,0x60,0xfe,0x2f,0x8f,0x8f,0x8f,0xbf,0x02,0x6b,0xfe,0x0c, +0xbf,0xfe,0x0b,0xfe,0x0b,0xbf,0xfe,0x0c,0x02,0x6b,0x9a,0x01,0x11,0xf3,0xc6,0xfe, +0xef,0x4b,0xfd,0xfc,0x01,0xb9,0x4b,0xc6,0xc6,0x02,0x7f,0xfe,0x47,0xc6,0x03,0x54, +0xfd,0xb3,0xfe,0x94,0xfd,0xb4,0x01,0x6c,0xfe,0x94,0x02,0x4c,0x01,0x6c,0x00,0x02, +0x00,0x32,0x00,0x18,0x06,0x86,0x05,0xb7,0x00,0x0d,0x00,0x17,0x00,0x00,0x09,0x01, +0x13,0x27,0x25,0x01,0x27,0x13,0x01,0x21,0x13,0x17,0x13,0x21,0x01,0x03,0x21,0x05, +0x03,0x01,0x05,0x03,0x01,0x21,0x06,0x86,0xfe,0x3e,0xac,0xa2,0xfe,0xb2,0xfe,0x6a, +0xa2,0xac,0xfe,0x3e,0x02,0x2d,0xac,0xa2,0x9b,0x01,0x9c,0xfd,0x27,0x86,0xfe,0x4f, +0x01,0x5e,0x86,0x01,0x5f,0x01,0x5f,0x86,0x01,0x5e,0xfe,0x4f,0x03,0x71,0xfe,0xb8, +0xfd,0xef,0x34,0xf3,0xfe,0xd9,0x34,0x02,0x11,0x01,0x48,0x02,0x12,0x34,0xfe,0x22, +0x01,0x68,0xfe,0x64,0xff,0xfe,0x64,0x00,0xff,0xff,0x01,0x9c,0x00,0xff,0x00,0x01, +0x00,0x84,0x00,0x00,0x06,0x30,0x05,0xd5,0x00,0x11,0x00,0x00,0x01,0x11,0x21,0x11, +0x25,0x13,0x0d,0x01,0x03,0x25,0x11,0x21,0x11,0x05,0x03,0x2d,0x01,0x13,0x02,0xba, +0x01,0x40,0x01,0x96,0xa0,0xfe,0x6a,0x01,0x96,0xa0,0xfe,0x6a,0xfe,0xc0,0xfe,0x6a, +0xa0,0x01,0x95,0xfe,0x6b,0xa0,0x04,0x00,0x01,0xd5,0xfe,0x2a,0xeb,0xfe,0xeb,0xea, +0xeb,0xfe,0xeb,0xeb,0xfe,0x2a,0x01,0xd6,0xeb,0x01,0x15,0xeb,0xea,0x01,0x15,0x00, +0x00,0x02,0x00,0x98,0x00,0x00,0x06,0x1c,0x05,0xd5,0x00,0x05,0x00,0x17,0x00,0x00, +0x01,0x07,0x17,0x33,0x37,0x27,0x05,0x01,0x37,0x01,0x11,0x17,0x11,0x01,0x17,0x09, +0x01,0x07,0x01,0x11,0x23,0x11,0x01,0x27,0x02,0xe2,0x78,0x78,0xf0,0x78,0x78,0xfe, +0x98,0xfe,0x2e,0x78,0x01,0xd2,0xf0,0x01,0xd2,0x78,0xfe,0x2e,0x01,0xd2,0x78,0xfe, +0x2e,0xf0,0xfe,0x2e,0x78,0x03,0xba,0xcf,0xd1,0xd1,0xcf,0xcf,0x01,0x0d,0xd0,0xfe, +0xf2,0x02,0x1b,0x01,0xfd,0xe6,0x01,0x0e,0xd0,0xfe,0xf3,0xfe,0xf2,0xd0,0x01,0x0d, +0xfd,0xe6,0x02,0x1a,0xfe,0xf3,0xd0,0x00,0x00,0x01,0x00,0x70,0x00,0x00,0x06,0x44, +0x05,0xd5,0x00,0x17,0x00,0x00,0x09,0x01,0x07,0x01,0x11,0x23,0x11,0x01,0x27,0x01, +0x21,0x35,0x21,0x01,0x37,0x01,0x11,0x33,0x11,0x01,0x17,0x01,0x21,0x15,0x03,0xd4, +0x01,0xb9,0x47,0xfe,0x46,0x64,0xfe,0x46,0x47,0x01,0xba,0xfd,0x8f,0x02,0x72,0xfe, +0x45,0x47,0x01,0xba,0x64,0x01,0xba,0x47,0xfe,0x45,0x02,0x72,0x02,0xb8,0xfe,0x46, +0x47,0x01,0xbb,0xfd,0x8e,0x02,0x71,0xfe,0x46,0x47,0x01,0xba,0x64,0x01,0xbb,0x47, +0xfe,0x46,0x02,0x71,0xfd,0x8f,0x01,0xba,0x47,0xfe,0x45,0x64,0x00,0x01,0x00,0x40, +0xff,0xe3,0x06,0x4c,0x05,0xf0,0x00,0x0f,0x00,0x00,0x01,0x13,0x09,0x01,0x0d,0x01, +0x09,0x01,0x0b,0x01,0x09,0x01,0x2d,0x01,0x09,0x01,0x03,0x46,0x4f,0x01,0xd4,0xfe, +0x9d,0x02,0x46,0xfd,0xba,0x01,0x63,0xfe,0x2c,0x4f,0x4f,0xfe,0x2c,0x01,0x63,0xfd, +0xba,0x02,0x46,0xfe,0x9d,0x01,0xd4,0x05,0xf0,0xfd,0xb9,0x01,0x64,0xfe,0x2c,0x50, +0x4f,0xfe,0x2c,0x01,0x64,0xfd,0xb9,0x02,0x47,0xfe,0x9c,0x01,0xd4,0x4f,0x50,0x01, +0xd4,0xfe,0x9c,0x00,0x00,0x09,0x00,0x54,0xff,0xe3,0x06,0x60,0x05,0xf0,0x00,0x02, +0x00,0x05,0x00,0x08,0x00,0x0b,0x00,0x0e,0x00,0x11,0x00,0x14,0x00,0x17,0x00,0x27, +0x00,0x00,0x01,0x05,0x03,0x21,0x25,0x05,0x01,0x03,0x25,0x11,0x13,0x03,0x01,0x25, +0x13,0x21,0x05,0x25,0x01,0x13,0x05,0x11,0x03,0x13,0x11,0x13,0x25,0x03,0x0d,0x01, +0x13,0x25,0x0b,0x01,0x05,0x13,0x2d,0x01,0x03,0x05,0x04,0xf4,0xfe,0xdd,0x77,0x02, +0x44,0xfe,0xdb,0xfe,0xe1,0x01,0x9a,0x7b,0xfe,0xe1,0x77,0x77,0xfe,0x66,0x01,0x23, +0x77,0xfd,0xbc,0x01,0x25,0x01,0x1f,0xfe,0x66,0x7b,0x01,0x1f,0x77,0x77,0x9f,0x01, +0x84,0xa4,0x01,0x87,0xfe,0x79,0xa4,0xfe,0x7c,0x9f,0x9f,0xfe,0x7c,0xa4,0xfe,0x79, +0x01,0x87,0xa4,0x01,0x84,0x04,0x84,0x7b,0xfe,0xe0,0x78,0x78,0xfe,0x66,0x01,0x23, +0x77,0xfd,0xbc,0x01,0x25,0x01,0x1f,0xfe,0x66,0x7b,0x01,0x1f,0x77,0x77,0x01,0x9b, +0xfe,0xdd,0x78,0x02,0x45,0xfe,0xdb,0xfe,0xe0,0x03,0x07,0xfe,0x79,0xa4,0xfe,0x7c, +0xa0,0x9f,0xfe,0x7c,0xa4,0xfe,0x79,0x01,0x87,0xa4,0x01,0x84,0x9f,0xa0,0x01,0x84, +0xa4,0x00,0x00,0x01,0x00,0xbb,0xff,0xe3,0x05,0xf9,0x05,0xf0,0x00,0x0b,0x00,0x00, +0x01,0x13,0x25,0x09,0x01,0x25,0x0b,0x01,0x05,0x09,0x01,0x05,0x03,0x5a,0x70,0x02, +0x2f,0xfe,0x41,0x01,0xbf,0xfd,0xd1,0x70,0x70,0xfd,0xd1,0x01,0xbf,0xfe,0x41,0x02, +0x2f,0x05,0xf0,0xfd,0xbc,0xc1,0xfe,0x7d,0xfe,0x7d,0xc1,0xfd,0xbb,0x02,0x45,0xc1, +0x01,0x83,0x01,0x83,0xc1,0x00,0x00,0x01,0x00,0x54,0xff,0xe3,0x06,0x60,0x05,0xf0, +0x00,0x0f,0x00,0x00,0x01,0x13,0x09,0x01,0x0d,0x01,0x09,0x01,0x0b,0x01,0x09,0x01, +0x2d,0x01,0x09,0x01,0x03,0x5a,0x71,0x01,0xb2,0xfe,0xef,0x01,0xf4,0xfe,0x0c,0x01, +0x11,0xfe,0x4e,0x71,0x71,0xfe,0x4e,0x01,0x11,0xfe,0x0c,0x01,0xf4,0xfe,0xef,0x01, +0xb2,0x05,0xf0,0xfe,0x0b,0x01,0x12,0xfe,0x4e,0x72,0x71,0xfe,0x4e,0x01,0x12,0xfe, +0x0b,0x01,0xf5,0xfe,0xee,0x01,0xb2,0x71,0x72,0x01,0xb2,0xfe,0xee,0x00,0x00,0x01, +0x00,0x54,0xff,0xe3,0x06,0x60,0x05,0xf0,0x00,0x0f,0x00,0x00,0x01,0x13,0x25,0x03, +0x0d,0x01,0x13,0x25,0x0b,0x01,0x05,0x13,0x2d,0x01,0x03,0x05,0x03,0x5a,0xaa,0x01, +0x79,0x89,0x01,0x6c,0xfe,0x94,0x89,0xfe,0x87,0xaa,0xaa,0xfe,0x87,0x89,0xfe,0x94, +0x01,0x6c,0x89,0x01,0x79,0x05,0xf0,0xfe,0x94,0x89,0xfe,0x87,0xab,0xaa,0xfe,0x87, +0x89,0xfe,0x94,0x01,0x6c,0x89,0x01,0x79,0xaa,0xab,0x01,0x79,0x89,0x00,0x00,0x01, +0x00,0x54,0xff,0xe3,0x06,0x60,0x05,0xf0,0x00,0x17,0x00,0x00,0x01,0x13,0x25,0x03, +0x25,0x03,0x0d,0x01,0x13,0x25,0x13,0x25,0x0b,0x01,0x05,0x13,0x05,0x13,0x2d,0x01, +0x03,0x05,0x03,0x05,0x03,0x5a,0x74,0x01,0x0f,0x47,0x01,0x63,0xef,0x01,0x56,0xfe, +0xaa,0xef,0xfe,0x9d,0x47,0xfe,0xf1,0x74,0x74,0xfe,0xf1,0x47,0xfe,0x9d,0xef,0xfe, +0xaa,0x01,0x56,0xef,0x01,0x63,0x47,0x01,0x0f,0x05,0xf0,0xfe,0xa9,0xef,0xfe,0x9d, +0x47,0xfe,0xf1,0x73,0x74,0xfe,0xf1,0x47,0xfe,0x9d,0xef,0xfe,0xa9,0x01,0x57,0xef, +0x01,0x63,0x47,0x01,0x0f,0x74,0x73,0x01,0x0f,0x47,0x01,0x63,0xef,0x00,0x00,0x01, +0x00,0x70,0x00,0x00,0x06,0x44,0x05,0xd5,0x00,0x2f,0x00,0x00,0x01,0x11,0x33,0x11, +0x13,0x17,0x03,0x01,0x17,0x01,0x25,0x17,0x05,0x21,0x15,0x21,0x05,0x07,0x25,0x01, +0x07,0x01,0x13,0x07,0x03,0x11,0x23,0x11,0x03,0x27,0x13,0x01,0x27,0x01,0x05,0x27, +0x25,0x21,0x35,0x21,0x25,0x37,0x05,0x01,0x37,0x01,0x03,0x37,0x03,0x1e,0x78,0xaa, +0x6f,0xaa,0x01,0x3a,0x55,0xfe,0xc5,0x01,0x9c,0x2e,0xfe,0x63,0x01,0xbe,0xfe,0x46, +0x01,0x99,0x2e,0xfe,0x64,0x01,0x3b,0x55,0xfe,0xc7,0xa9,0x6f,0xaa,0x78,0xaa,0x6f, +0xaa,0xfe,0xc6,0x55,0x01,0x3a,0xfe,0x65,0x2e,0x01,0x9a,0xfe,0x45,0x01,0xbe,0xfe, +0x63,0x2e,0x01,0x99,0xfe,0xc8,0x55,0x01,0x39,0xa9,0x6f,0x04,0x17,0x01,0xbe,0xfe, +0x45,0x01,0x99,0x2e,0xfe,0x66,0x01,0x3a,0x55,0xfe,0xc5,0xab,0x6f,0xab,0x78,0xaa, +0x6f,0xac,0xfe,0xc4,0x55,0x01,0x39,0xfe,0x67,0x2e,0x01,0x98,0xfe,0x46,0x01,0xbc, +0xfe,0x66,0x2e,0x01,0x9b,0xfe,0xc5,0x55,0x01,0x3a,0xaa,0x6f,0xaa,0x78,0xab,0x6f, +0xa9,0x01,0x39,0x55,0xfe,0xc7,0x01,0x99,0x2e,0x00,0x00,0x01,0x00,0xa7,0xff,0xe3, +0x06,0x0d,0x05,0xf0,0x00,0x9f,0x00,0x00,0x01,0x35,0x34,0x27,0x26,0x35,0x34,0x37, +0x36,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x1d,0x01,0x17,0x16,0x17,0x37,0x36,0x37, +0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x23, +0x22,0x23,0x22,0x23,0x22,0x0f,0x01,0x16,0x15,0x14,0x07,0x17,0x16,0x33,0x32,0x33, +0x32,0x33,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x23,0x22,0x27, +0x26,0x27,0x26,0x2f,0x01,0x06,0x0f,0x01,0x15,0x14,0x17,0x16,0x15,0x14,0x07,0x06, +0x22,0x27,0x26,0x35,0x34,0x37,0x36,0x3d,0x01,0x26,0x27,0x26,0x27,0x07,0x06,0x07, +0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x33, +0x32,0x33,0x32,0x33,0x32,0x3f,0x01,0x26,0x35,0x34,0x37,0x27,0x26,0x23,0x22,0x23, +0x22,0x23,0x22,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x33,0x32,0x17, +0x16,0x17,0x16,0x1f,0x01,0x36,0x37,0x36,0x03,0x27,0x4b,0x2c,0x36,0x38,0x78,0x38, +0x36,0x2c,0x4c,0x10,0x1f,0x18,0x0a,0x71,0x41,0x27,0x43,0x3c,0x34,0x16,0x15,0x47, +0x1e,0x14,0x05,0x0e,0x57,0x3e,0x4c,0x06,0x06,0x0b,0x0a,0x83,0x64,0x0c,0x04,0x05, +0x0c,0x66,0x82,0x0b,0x0a,0x06,0x06,0x4c,0x3e,0x57,0x0e,0x05,0x14,0x1e,0x47,0x15, +0x16,0x34,0x3c,0x43,0x27,0x43,0x6e,0x0e,0x1b,0x19,0x10,0x4c,0x2c,0x36,0x38,0x78, +0x38,0x36,0x2c,0x4d,0x09,0x08,0x1d,0x17,0x0e,0x6e,0x43,0x27,0x43,0x3c,0x34,0x16, +0x15,0x47,0x1e,0x14,0x05,0x0e,0x57,0x3e,0x4c,0x06,0x06,0x0b,0x0a,0x84,0x64,0x0c, +0x05,0x04,0x0c,0x64,0x83,0x0a,0x0b,0x06,0x06,0x4c,0x3e,0x57,0x0e,0x05,0x14,0x1e, +0x47,0x15,0x16,0x34,0x3c,0x43,0x27,0x45,0x6c,0x0b,0x1a,0x1d,0x08,0x03,0x94,0x0c, +0x80,0x77,0x46,0x4e,0x64,0x30,0x31,0x31,0x30,0x64,0x4e,0x46,0x79,0x7e,0x0c,0x06, +0x0e,0x17,0x06,0x44,0x7a,0x49,0x27,0x23,0x07,0x18,0x34,0x23,0x2c,0x16,0x18,0x47, +0x32,0x24,0x3a,0x07,0x13,0x14,0x15,0x14,0x07,0x3b,0x24,0x32,0x47,0x18,0x16,0x2c, +0x23,0x34,0x18,0x07,0x23,0x27,0x49,0x7e,0x3f,0x08,0x19,0x09,0x06,0x0f,0x7f,0x79, +0x46,0x4e,0x64,0x30,0x31,0x31,0x30,0x64,0x4e,0x46,0x79,0x7f,0x0f,0x03,0x03,0x0d, +0x15,0x08,0x3f,0x7e,0x49,0x27,0x23,0x07,0x18,0x34,0x23,0x2c,0x16,0x18,0x47,0x32, +0x24,0x3a,0x07,0x14,0x16,0x14,0x13,0x07,0x3a,0x24,0x32,0x47,0x18,0x16,0x2c,0x23, +0x34,0x18,0x07,0x23,0x27,0x49,0x82,0x3b,0x06,0x19,0x0b,0x03,0x00,0x02,0x00,0xa7, +0xff,0xe3,0x06,0x0d,0x05,0xf0,0x00,0x1d,0x00,0xb9,0x00,0x00,0x00,0x22,0x07,0x06, +0x07,0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x32,0x37,0x36,0x37, +0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x2f,0x01,0x35,0x34,0x27,0x26,0x35, +0x34,0x37,0x36,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x1d,0x01,0x17,0x16,0x17,0x37, +0x36,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07, +0x06,0x2b,0x01,0x22,0x23,0x22,0x0f,0x01,0x16,0x15,0x14,0x07,0x17,0x16,0x33,0x32, +0x3b,0x01,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x23,0x22,0x27, +0x26,0x27,0x26,0x2f,0x01,0x06,0x0f,0x01,0x15,0x14,0x17,0x16,0x15,0x14,0x07,0x06, +0x22,0x27,0x26,0x35,0x34,0x37,0x36,0x3d,0x01,0x26,0x27,0x26,0x27,0x07,0x06,0x07, +0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x3b, +0x01,0x32,0x33,0x32,0x3f,0x01,0x26,0x35,0x34,0x37,0x27,0x26,0x23,0x22,0x2b,0x01, +0x22,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17, +0x16,0x1f,0x01,0x36,0x37,0x36,0x03,0x6f,0x2a,0x11,0x12,0x0e,0x0f,0x07,0x08,0x08, +0x07,0x0f,0x0e,0x12,0x11,0x2a,0x11,0x12,0x0e,0x0f,0x07,0x08,0x08,0x07,0x0f,0x0e, +0x12,0x59,0x4b,0x2c,0x36,0x38,0x78,0x38,0x36,0x2c,0x4c,0x10,0x1f,0x18,0x0a,0x71, +0x41,0x27,0x43,0x3c,0x34,0x16,0x15,0x47,0x1e,0x14,0x05,0x0e,0x57,0x3e,0x4c,0x0c, +0x0b,0x0a,0x83,0x64,0x0c,0x04,0x05,0x0c,0x66,0x82,0x0b,0x0a,0x0c,0x4c,0x3e,0x57, +0x0e,0x05,0x14,0x1e,0x47,0x15,0x16,0x34,0x3c,0x43,0x27,0x43,0x6e,0x0e,0x1b,0x19, +0x10,0x4c,0x2c,0x36,0x38,0x78,0x38,0x36,0x2c,0x4d,0x09,0x08,0x1d,0x17,0x0e,0x6e, +0x43,0x27,0x43,0x3c,0x34,0x16,0x15,0x47,0x1e,0x14,0x05,0x0e,0x57,0x3e,0x4c,0x0c, +0x0b,0x0a,0x84,0x64,0x0c,0x05,0x04,0x0c,0x64,0x83,0x0a,0x0b,0x0c,0x4c,0x3e,0x57, +0x0e,0x05,0x14,0x1e,0x47,0x15,0x16,0x34,0x3c,0x43,0x27,0x45,0x6c,0x0b,0x1a,0x1d, +0x08,0x03,0x50,0x08,0x08,0x0e,0x0f,0x11,0x12,0x15,0x14,0x12,0x11,0x0f,0x0e,0x08, +0x08,0x08,0x08,0x0e,0x0f,0x11,0x12,0x14,0x15,0x12,0x11,0x0f,0x0e,0x08,0x4c,0x0c, +0x80,0x77,0x46,0x4e,0x64,0x30,0x31,0x31,0x30,0x64,0x4e,0x46,0x79,0x7e,0x0c,0x06, +0x0e,0x17,0x06,0x44,0x7a,0x49,0x27,0x23,0x07,0x18,0x34,0x23,0x2c,0x16,0x18,0x47, +0x32,0x24,0x3a,0x07,0x13,0x14,0x15,0x14,0x07,0x3b,0x24,0x32,0x47,0x18,0x16,0x2c, +0x23,0x34,0x18,0x07,0x23,0x27,0x49,0x7e,0x3f,0x08,0x19,0x09,0x06,0x0f,0x7f,0x79, +0x46,0x4e,0x64,0x30,0x31,0x31,0x30,0x64,0x4e,0x46,0x79,0x7f,0x0f,0x03,0x03,0x0d, +0x15,0x08,0x3f,0x7e,0x49,0x27,0x23,0x07,0x18,0x34,0x23,0x2c,0x16,0x18,0x47,0x32, +0x24,0x3a,0x07,0x14,0x16,0x14,0x13,0x07,0x3a,0x24,0x32,0x47,0x18,0x16,0x2c,0x23, +0x34,0x18,0x07,0x23,0x27,0x49,0x82,0x3b,0x06,0x19,0x0b,0x03,0x00,0x01,0x00,0xa1, +0xff,0xe3,0x06,0x13,0x05,0xf0,0x00,0x6a,0x00,0x00,0x01,0x27,0x26,0x07,0x06,0x27, +0x26,0x27,0x26,0x37,0x36,0x37,0x36,0x17,0x16,0x17,0x16,0x1f,0x01,0x35,0x34,0x27, +0x26,0x35,0x34,0x37,0x36,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x1d,0x01,0x37,0x36, +0x37,0x36,0x37,0x36,0x17,0x16,0x17,0x16,0x07,0x06,0x07,0x06,0x27,0x26,0x0f,0x01, +0x17,0x16,0x37,0x36,0x17,0x16,0x17,0x16,0x07,0x06,0x07,0x06,0x27,0x26,0x27,0x26, +0x2f,0x01,0x15,0x14,0x17,0x16,0x15,0x14,0x07,0x06,0x23,0x22,0x27,0x26,0x35,0x34, +0x37,0x36,0x3d,0x01,0x07,0x06,0x07,0x06,0x07,0x06,0x27,0x26,0x27,0x26,0x37,0x36, +0x37,0x36,0x17,0x16,0x37,0x02,0xf5,0x2f,0x31,0xb8,0x6f,0x53,0x5c,0x12,0x1c,0x2a, +0x2a,0x6e,0x48,0x5c,0x57,0x2b,0x47,0x38,0x30,0x6a,0x40,0x36,0x52,0xa8,0x52,0x36, +0x40,0x6a,0x30,0x2f,0x50,0x31,0x51,0x5c,0x48,0x6e,0x2a,0x2a,0x1c,0x12,0x5c,0x57, +0x6b,0xb0,0x39,0x30,0x30,0x30,0xb9,0x6f,0x53,0x5c,0x12,0x1c,0x2a,0x2c,0x6c,0x4c, +0x58,0x57,0x2b,0x47,0x38,0x30,0x6a,0x40,0x36,0x52,0x54,0x58,0x4e,0x36,0x40,0x6a, +0x30,0x33,0x4c,0x2f,0x53,0x5c,0x48,0x6e,0x2a,0x2b,0x1d,0x13,0x5b,0x57,0x6b,0xb3, +0x36,0x02,0xea,0x1b,0x1c,0x10,0x09,0x30,0x35,0x48,0x6f,0x49,0x48,0x20,0x15,0x35, +0x33,0x63,0xa2,0x21,0x1c,0x37,0x37,0x99,0x5c,0x60,0x6a,0x34,0x4f,0x4f,0x34,0x6a, +0x66,0x56,0x8f,0x41,0x37,0x1c,0x1c,0xa7,0x67,0x2f,0x35,0x15,0x20,0x48,0x49,0x6f, +0x48,0x35,0x33,0x0c,0x14,0x20,0x1b,0x1c,0x1c,0x10,0x09,0x30,0x35,0x48,0x6f,0x49, +0x4c,0x1c,0x14,0x34,0x33,0x63,0xa2,0x21,0x1c,0x37,0x37,0x99,0x5c,0x60,0x6a,0x34, +0x4f,0x4f,0x37,0x67,0x66,0x56,0x8f,0x41,0x37,0x1c,0x1e,0xa5,0x66,0x30,0x35,0x15, +0x20,0x48,0x4c,0x6c,0x48,0x35,0x33,0x0c,0x14,0x20,0x00,0x04,0x00,0xa1,0xff,0xe3, +0x06,0x13,0x05,0xf0,0x00,0x0e,0x00,0x99,0x00,0xb1,0x00,0xc9,0x00,0x00,0x01,0x36, +0x37,0x36,0x35,0x34,0x27,0x26,0x22,0x07,0x06,0x15,0x14,0x17,0x16,0x13,0x17,0x16, +0x33,0x32,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06, +0x23,0x22,0x27,0x26,0x27,0x26,0x2f,0x01,0x15,0x14,0x17,0x16,0x15,0x14,0x07,0x06, +0x23,0x22,0x27,0x26,0x35,0x34,0x37,0x36,0x3d,0x01,0x07,0x06,0x07,0x06,0x07,0x06, +0x23,0x22,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16, +0x33,0x32,0x3f,0x01,0x27,0x26,0x23,0x22,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26, +0x35,0x34,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x1f,0x01,0x35,0x34, +0x27,0x26,0x35,0x34,0x37,0x36,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x1d,0x01,0x37, +0x36,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07, +0x06,0x23,0x22,0x27,0x26,0x23,0x22,0x07,0x05,0x06,0x23,0x22,0x27,0x26,0x23,0x22, +0x07,0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x37,0x36, +0x25,0x16,0x17,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x26, +0x27,0x26,0x23,0x22,0x07,0x06,0x23,0x22,0x03,0x5a,0x1c,0x38,0x25,0x1e,0x31,0x54, +0x31,0x1e,0x25,0x38,0xa8,0x12,0x35,0x65,0x20,0x25,0x12,0x10,0x5a,0x46,0x5c,0x12, +0x0b,0x19,0x2b,0x6d,0x14,0x16,0x38,0x42,0x53,0x2f,0x3f,0x4a,0x12,0x56,0x40,0x36, +0x52,0x54,0x58,0x4e,0x36,0x40,0x56,0x12,0x47,0x42,0x31,0x51,0x42,0x38,0x16,0x14, +0x6e,0x2a,0x19,0x0b,0x12,0x5c,0x46,0x5a,0x10,0x12,0x25,0x20,0x65,0x35,0x12,0x12, +0x33,0x65,0x21,0x26,0x12,0x10,0x5a,0x46,0x5a,0x14,0x0c,0x1a,0x2a,0x6e,0x14,0x16, +0x38,0x42,0x53,0x2f,0x3f,0x4a,0x12,0x56,0x40,0x36,0x52,0xa8,0x52,0x36,0x40,0x56, +0x12,0x47,0x42,0x31,0x51,0x42,0x38,0x16,0x14,0x6d,0x2b,0x19,0x0b,0x12,0x5c,0x46, +0x5a,0x10,0x12,0x26,0x21,0x65,0x33,0xfe,0x98,0x44,0x41,0x1e,0x1d,0x09,0x0a,0x35, +0x3c,0x3b,0x07,0x05,0x0d,0x15,0x3e,0x0a,0x0c,0x1f,0x2b,0x46,0x19,0x24,0x01,0xdc, +0x48,0x24,0x19,0x46,0x2b,0x1f,0x0c,0x0a,0x3e,0x15,0x0d,0x05,0x07,0x3b,0x3c,0x35, +0x0a,0x09,0x1d,0x1e,0x41,0x03,0xd3,0x63,0x4a,0x32,0x51,0x44,0x1a,0x2b,0x2b,0x1a, +0x44,0x51,0x32,0x4a,0xfe,0xb4,0x0b,0x20,0x03,0x01,0x28,0x35,0x48,0x2c,0x27,0x39, +0x2c,0x4a,0x1e,0x06,0x26,0x30,0x66,0x89,0x29,0x0a,0x14,0x54,0x7c,0x5c,0x60,0x6a, +0x34,0x4f,0x4f,0x37,0x67,0x60,0x5c,0x7c,0x54,0x14,0x0a,0x27,0x8b,0x67,0x2f,0x26, +0x06,0x20,0x48,0x2c,0x39,0x27,0x2c,0x49,0x34,0x28,0x01,0x03,0x20,0x0b,0x0b,0x1f, +0x03,0x01,0x28,0x33,0x4a,0x2c,0x26,0x39,0x2d,0x48,0x20,0x06,0x26,0x30,0x66,0x89, +0x29,0x0a,0x14,0x54,0x7c,0x5c,0x60,0x6a,0x34,0x4f,0x4f,0x34,0x6a,0x60,0x5c,0x7c, +0x54,0x14,0x0a,0x27,0x8b,0x67,0x2f,0x26,0x06,0x1e,0x4a,0x2c,0x39,0x27,0x2c,0x48, +0x35,0x28,0x01,0x03,0x1f,0x80,0x12,0x04,0x01,0x22,0x22,0x27,0x18,0x15,0x21,0x17, +0x24,0x15,0x04,0x19,0x28,0x3a,0x55,0x4a,0x4a,0x55,0x3a,0x28,0x19,0x04,0x15,0x24, +0x17,0x21,0x15,0x18,0x27,0x22,0x22,0x01,0x04,0x00,0x00,0x02,0x00,0x6e,0x00,0x00, +0x06,0x46,0x05,0xad,0x00,0x1d,0x00,0x8d,0x00,0x00,0x00,0x22,0x07,0x06,0x07,0x06, +0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x32,0x37,0x36,0x37,0x36,0x37, +0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x27,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16, +0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x16, +0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x26, +0x27,0x26,0x27,0x26,0x27,0x06,0x07,0x06,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x26, +0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x06,0x23,0x22,0x27,0x26, +0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16, +0x17,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16, +0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x03,0xa2,0x90,0x3d,0x3e,0x33,0x34,0x19, +0x1a,0x1a,0x19,0x34,0x33,0x3e,0x3d,0x90,0x3d,0x3e,0x33,0x34,0x19,0x1a,0x1a,0x19, +0x34,0x33,0x3e,0x78,0x3e,0x25,0x38,0x35,0x36,0x37,0x30,0x2d,0x29,0x17,0x15,0x15, +0x13,0x2d,0x25,0x38,0x2f,0x3e,0x1d,0x1b,0x30,0x21,0x2d,0x13,0x15,0x15,0x17,0x29, +0x2d,0x30,0x32,0x3b,0x3e,0x2f,0x38,0x25,0x30,0x10,0x0d,0x05,0x05,0x0e,0x17,0x29, +0x2d,0x30,0x32,0x3b,0x3e,0x2f,0x38,0x25,0x2d,0x13,0x15,0x15,0x19,0x27,0x26,0x24, +0x17,0x19,0x3e,0x2f,0x3a,0x23,0x2d,0x13,0x15,0x15,0x17,0x29,0x2d,0x30,0x32,0x3b, +0x3e,0x2f,0x3b,0x29,0x08,0x06,0x15,0x15,0x17,0x29,0x2d,0x30,0x32,0x3b,0x3e,0x2f, +0x38,0x25,0x2d,0x13,0x15,0x15,0x06,0x04,0x0b,0x1a,0x1c,0x30,0x36,0x3c,0x3f,0x49, +0x46,0x3f,0x3c,0x36,0x30,0x1c,0x1a,0x1a,0x1c,0x30,0x36,0x3c,0x3f,0x46,0x49,0x3f, +0x3c,0x36,0x30,0x1c,0x13,0x35,0x10,0x17,0x17,0x14,0x2b,0x27,0x36,0x31,0x3e,0x3a, +0x34,0x2f,0x2e,0x26,0x19,0x15,0x05,0x17,0x22,0x2e,0x2f,0x34,0x3b,0x3d,0x31,0x36, +0x27,0x2b,0x14,0x15,0x15,0x19,0x26,0x31,0x2c,0x22,0x25,0x26,0x21,0x36,0x27,0x2b, +0x14,0x15,0x15,0x19,0x26,0x2e,0x2f,0x34,0x3a,0x3e,0x31,0x3a,0x23,0x22,0x15,0x04, +0x15,0x1b,0x24,0x2e,0x2f,0x34,0x3a,0x3e,0x31,0x36,0x27,0x2b,0x14,0x15,0x15,0x19, +0x2c,0x0e,0x0e,0x34,0x3a,0x3e,0x31,0x36,0x27,0x2b,0x14,0x15,0x15,0x19,0x26,0x2e, +0x2f,0x34,0x3b,0x3d,0x31,0x0e,0x00,0x06,0x00,0x6e,0x00,0x00,0x06,0x46,0x05,0xad, +0x00,0x6e,0x00,0x8a,0x00,0xa3,0x00,0xbf,0x00,0xd8,0x00,0xf4,0x00,0x00,0x25,0x06, +0x07,0x06,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34, +0x37,0x36,0x37,0x36,0x37,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34, +0x37,0x36,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x26,0x27,0x26,0x35,0x34, +0x37,0x36,0x37,0x36,0x37,0x36,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07, +0x06,0x07,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07, +0x06,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07, +0x06,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x02,0x32,0x17, +0x16,0x17,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x27,0x26,0x22,0x07,0x06,0x07, +0x06,0x07,0x06,0x15,0x14,0x1f,0x01,0x36,0x37,0x13,0x26,0x27,0x26,0x27,0x26,0x27, +0x07,0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x32,0x37,0x36,0x37, +0x36,0x37,0x03,0x26,0x35,0x34,0x37,0x36,0x37,0x27,0x26,0x27,0x26,0x23,0x22,0x07, +0x06,0x07,0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x17,0x01,0x17, +0x16,0x17,0x16,0x17,0x16,0x32,0x37,0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x26, +0x2f,0x01,0x06,0x07,0x06,0x07,0x06,0x13,0x37,0x36,0x37,0x36,0x37,0x36,0x37,0x36, +0x35,0x34,0x27,0x26,0x27,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x0f,0x01,0x16,0x17, +0x16,0x15,0x14,0x03,0x5a,0x05,0x0d,0x10,0x30,0x25,0x38,0x2f,0x3e,0x3b,0x32,0x30, +0x2d,0x29,0x17,0x15,0x15,0x13,0x2d,0x21,0x30,0x1b,0x1d,0x3e,0x2f,0x38,0x25,0x2d, +0x13,0x15,0x15,0x17,0x29,0x30,0x2d,0x3c,0x31,0x3a,0x33,0x25,0x3e,0x07,0x06,0x15, +0x15,0x13,0x2d,0x25,0x38,0x2f,0x7c,0x2f,0x38,0x25,0x2d,0x13,0x15,0x15,0x06,0x07, +0x3e,0x25,0x38,0x35,0x36,0x37,0x30,0x2d,0x29,0x17,0x15,0x15,0x13,0x2d,0x25,0x38, +0x2f,0x3e,0x1d,0x1b,0x30,0x21,0x2d,0x13,0x15,0x15,0x17,0x29,0x2d,0x30,0x32,0x3b, +0x3e,0x2f,0x38,0x25,0x30,0x10,0x0d,0x4d,0x90,0x3d,0x08,0x07,0x12,0x09,0x0d,0x0c, +0x1b,0x19,0x20,0x1e,0x48,0x1e,0x20,0x19,0x1b,0x0c,0x0d,0x09,0x12,0x07,0x08,0x43, +0x23,0x20,0x42,0x2f,0x1e,0x1b,0x67,0x18,0x0f,0x0d,0x0d,0x0c,0x1b,0x19,0x20,0x1e, +0x48,0x1e,0x20,0x19,0x18,0x0f,0xe1,0x03,0x1a,0x15,0x2a,0x78,0x08,0x07,0x23,0x1f, +0x24,0x1e,0x20,0x19,0x18,0x0f,0x0d,0x0d,0x0c,0x1b,0x19,0x20,0x15,0x0f,0x02,0x2d, +0x37,0x0f,0x18,0x19,0x20,0x1e,0x48,0x1e,0x20,0x19,0x1b,0x0c,0x0d,0x0d,0x0f,0x18, +0x67,0x1b,0x1e,0x2f,0x42,0x20,0xf5,0x91,0x0f,0x15,0x20,0x19,0x1b,0x0c,0x0d,0x0d, +0x0f,0x18,0x19,0x20,0x1e,0x24,0x1f,0x23,0x07,0x08,0x78,0x2a,0x15,0x1a,0xf8,0x25, +0x22,0x2c,0x31,0x26,0x19,0x15,0x15,0x14,0x2b,0x27,0x36,0x31,0x3d,0x3b,0x34,0x2f, +0x2e,0x22,0x17,0x05,0x15,0x19,0x26,0x2e,0x2f,0x34,0x3a,0x3e,0x31,0x36,0x27,0x2e, +0x11,0x17,0x17,0x10,0x35,0x0d,0x0e,0x31,0x3d,0x3b,0x34,0x2f,0x2e,0x26,0x19,0x15, +0x15,0x19,0x26,0x2e,0x2f,0x34,0x3b,0x3d,0x31,0x0e,0x0d,0x35,0x10,0x17,0x17,0x14, +0x2b,0x27,0x36,0x31,0x3e,0x3a,0x34,0x2f,0x2e,0x26,0x19,0x15,0x05,0x17,0x22,0x2e, +0x2f,0x34,0x3b,0x3d,0x31,0x36,0x27,0x2b,0x14,0x15,0x15,0x19,0x26,0x31,0x2c,0x22, +0x03,0x38,0x1a,0x03,0x04,0x5f,0x2f,0x14,0x24,0x20,0x1e,0x1b,0x18,0x0e,0x0d,0x0d, +0x0e,0x18,0x1b,0x1e,0x20,0x24,0x14,0x2f,0x5f,0x04,0x03,0xfd,0x63,0x06,0x0e,0x1e, +0x2e,0x1e,0x2c,0x62,0x17,0x22,0x20,0x24,0x23,0x20,0x1e,0x1b,0x18,0x0e,0x0d,0x0d, +0x0e,0x18,0x18,0x21,0x01,0xa2,0x16,0x17,0x49,0x3f,0x33,0x30,0x43,0x04,0x03,0x0d, +0x0d,0x0e,0x18,0x18,0x21,0x1d,0x27,0x23,0x20,0x1e,0x1b,0x18,0x0e,0x09,0x02,0xfe, +0xc4,0x78,0x21,0x18,0x18,0x0e,0x0d,0x0d,0x0e,0x18,0x1b,0x1e,0x20,0x23,0x24,0x20, +0x22,0x17,0x62,0x2c,0x1e,0x2e,0x1e,0x0e,0x01,0x24,0x12,0x02,0x09,0x0e,0x18,0x1b, +0x1e,0x20,0x23,0x27,0x1d,0x21,0x18,0x18,0x0e,0x0d,0x0d,0x03,0x04,0x43,0x30,0x33, +0x3f,0x49,0x17,0x00,0x00,0x0a,0x00,0x54,0xff,0xe3,0x06,0x60,0x05,0xf0,0x00,0x2d, +0x00,0x5b,0x00,0xd5,0x01,0x04,0x01,0x33,0x01,0x62,0x01,0x91,0x01,0xaf,0x01,0xdd, +0x02,0x0b,0x00,0x00,0x01,0x26,0x27,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x27, +0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x33,0x32,0x1f,0x01,0x36,0x37,0x27, +0x26,0x23,0x22,0x06,0x07,0x06,0x07,0x06,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x33, +0x32,0x37,0x25,0x06,0x07,0x17,0x16,0x33,0x32,0x37,0x36,0x37,0x36,0x37,0x36,0x34, +0x27,0x26,0x27,0x2e,0x01,0x23,0x22,0x0f,0x01,0x16,0x17,0x37,0x36,0x33,0x32,0x17, +0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x23,0x22,0x27, +0x01,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16, +0x17,0x34,0x36,0x37,0x36,0x37,0x36,0x32,0x17,0x16,0x17,0x1e,0x01,0x15,0x36,0x37, +0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x32,0x17, +0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x23,0x16,0x17, +0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x14,0x06, +0x07,0x06,0x07,0x06,0x22,0x27,0x26,0x27,0x2e,0x01,0x35,0x06,0x07,0x06,0x23,0x22, +0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x22,0x27,0x26,0x27,0x26, +0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x01,0x26,0x27,0x07,0x06,0x07, +0x06,0x07,0x06,0x07,0x26,0x27,0x26,0x27,0x26,0x27,0x26,0x27,0x36,0x37,0x36,0x37, +0x36,0x3f,0x01,0x26,0x27,0x07,0x06,0x07,0x06,0x07,0x06,0x15,0x16,0x17,0x16,0x17, +0x1e,0x01,0x33,0x32,0x37,0x36,0x37,0x36,0x37,0x01,0x16,0x17,0x37,0x36,0x37,0x36, +0x37,0x36,0x35,0x26,0x27,0x26,0x27,0x2e,0x01,0x23,0x22,0x07,0x06,0x07,0x06,0x0f, +0x01,0x16,0x17,0x37,0x36,0x37,0x36,0x37,0x36,0x37,0x16,0x17,0x16,0x17,0x16,0x17, +0x16,0x17,0x06,0x07,0x06,0x07,0x06,0x07,0x03,0x06,0x07,0x17,0x16,0x17,0x16,0x17, +0x16,0x17,0x06,0x07,0x06,0x07,0x06,0x07,0x06,0x07,0x26,0x27,0x26,0x27,0x26,0x2f, +0x01,0x06,0x07,0x17,0x16,0x17,0x16,0x17,0x16,0x33,0x32,0x36,0x37,0x36,0x37,0x36, +0x37,0x34,0x27,0x26,0x27,0x26,0x27,0x01,0x36,0x37,0x27,0x26,0x27,0x26,0x27,0x26, +0x23,0x22,0x06,0x07,0x06,0x07,0x06,0x07,0x14,0x17,0x16,0x17,0x16,0x1f,0x01,0x36, +0x37,0x27,0x26,0x27,0x26,0x27,0x26,0x27,0x36,0x37,0x36,0x37,0x36,0x37,0x36,0x37, +0x16,0x17,0x16,0x17,0x16,0x17,0x04,0x22,0x07,0x06,0x07,0x06,0x07,0x06,0x15,0x14, +0x17,0x16,0x17,0x16,0x17,0x16,0x32,0x37,0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x27, +0x26,0x27,0x26,0x27,0x13,0x06,0x07,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07, +0x06,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x3f,0x01,0x26,0x27,0x07,0x06, +0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x32,0x37,0x36,0x37,0x36,0x37,0x36,0x35, +0x34,0x27,0x03,0x16,0x17,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x27,0x26,0x22, +0x07,0x06,0x07,0x06,0x07,0x06,0x15,0x14,0x1f,0x01,0x36,0x37,0x27,0x26,0x35,0x34, +0x37,0x36,0x37,0x36,0x37,0x36,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07, +0x02,0x3a,0x06,0x02,0xe4,0x11,0x09,0x0a,0x0e,0x0c,0x0a,0x08,0x06,0x04,0x04,0x06, +0x08,0x0a,0x0c,0x0c,0x0c,0x09,0x11,0xe4,0x02,0x06,0xce,0x24,0x14,0x1c,0x34,0x16, +0x14,0x0c,0x0a,0x0a,0x0c,0x14,0x16,0x1a,0x1a,0x1c,0x14,0x24,0x03,0x1a,0x02,0x06, +0xca,0x24,0x12,0x1e,0x1a,0x1a,0x16,0x14,0x0c,0x0a,0x0a,0x0c,0x14,0x16,0x34,0x1e, +0x12,0x24,0xca,0x06,0x02,0xe0,0x11,0x07,0x10,0x0a,0x0c,0x0a,0x08,0x06,0x04,0x04, +0x06,0x08,0x0c,0x0a,0x0e,0x0c,0x07,0x11,0xfb,0xd6,0x25,0x11,0x11,0x11,0x10,0x20, +0x21,0x28,0x29,0x2d,0x2b,0x2c,0x29,0x24,0x22,0x21,0x20,0x28,0x28,0x5c,0x28,0x28, +0x20,0x21,0x22,0x26,0x27,0x2c,0x2b,0x2d,0x29,0x28,0x21,0x1c,0x14,0x11,0x11,0x0f, +0x27,0x37,0x27,0x26,0x22,0x23,0x0f,0x10,0x10,0x12,0x20,0x1c,0x2c,0x2a,0x32,0x25, +0x0f,0x11,0x11,0x10,0x20,0x21,0x28,0x29,0x2d,0x2e,0x29,0x29,0x24,0x22,0x21,0x20, +0x28,0x28,0x5c,0x28,0x28,0x20,0x21,0x22,0x28,0x25,0x2a,0x2d,0x2c,0x2a,0x28,0x21, +0x20,0x10,0x11,0x11,0x11,0x23,0x32,0x2a,0x26,0x22,0x23,0x0f,0x10,0x10,0x12,0x20, +0x22,0x26,0x27,0x01,0xc1,0x14,0x10,0x8e,0x0b,0x06,0x07,0x0d,0x0c,0x0e,0x0d,0x0b, +0x0c,0x0a,0x09,0x05,0x04,0x01,0x01,0x05,0x04,0x09,0x06,0x0e,0xb4,0x0e,0x0b,0xb8, +0x21,0x0e,0x15,0x0a,0x0b,0x01,0x0a,0x0a,0x15,0x15,0x34,0x1d,0x20,0x18,0x1a,0x15, +0x0e,0x13,0x01,0xeb,0x0f,0x0a,0xb5,0x21,0x0d,0x16,0x0a,0x0b,0x01,0x0a,0x0a,0x15, +0x15,0x34,0x1d,0x20,0x18,0x1a,0x16,0x0d,0x13,0x67,0x14,0x11,0x8b,0x0b,0x05,0x0a, +0x0b,0x0c,0x0e,0x0d,0x0b,0x0c,0x0a,0x09,0x05,0x04,0x01,0x01,0x05,0x06,0x08,0x05, +0x0e,0x9b,0x0b,0x0e,0xb4,0x0e,0x06,0x07,0x06,0x05,0x01,0x01,0x04,0x05,0x09,0x0a, +0x0c,0x0b,0x0d,0x0e,0x0c,0x0b,0x09,0x06,0x0b,0x8e,0x11,0x13,0x69,0x13,0x0e,0x15, +0x1a,0x18,0x20,0x1d,0x34,0x15,0x15,0x0a,0x0a,0x01,0x0b,0x0a,0x15,0x0e,0x21,0xfd, +0x89,0x12,0x13,0x67,0x13,0x0d,0x16,0x1a,0x18,0x20,0x1d,0x34,0x15,0x15,0x0a,0x0a, +0x01,0x0b,0x0a,0x16,0x0d,0x21,0xb5,0x0b,0x0e,0xb1,0x0e,0x05,0x0a,0x04,0x05,0x01, +0x01,0x04,0x05,0x09,0x0a,0x0c,0x0b,0x0d,0x11,0x09,0x0d,0x08,0x05,0x0b,0x01,0x6f, +0x52,0x23,0x24,0x1d,0x1d,0x0f,0x0f,0x0f,0x0f,0x1d,0x1d,0x24,0x23,0x52,0x23,0x24, +0x1d,0x1d,0x0f,0x0f,0x0f,0x0f,0x1d,0x1d,0x24,0x03,0x16,0x15,0x1b,0x02,0x05,0x05, +0x09,0x0a,0x0b,0x0c,0x1a,0x0c,0x0b,0x0a,0x09,0x05,0x05,0x02,0x1b,0x16,0x15,0x38, +0x0a,0x0b,0x0a,0x16,0x15,0x1a,0x19,0x3c,0x19,0x1a,0x15,0x16,0x0a,0x0b,0x0a,0x63, +0x17,0x15,0x37,0x0a,0x0b,0x0a,0x16,0x15,0x1a,0x19,0x3c,0x19,0x1a,0x15,0x16,0x0a, +0x0b,0x0a,0x37,0x16,0x16,0x1b,0x02,0x05,0x05,0x09,0x0a,0x0b,0x0c,0x1a,0x0c,0x0b, +0x0a,0x0b,0x03,0x05,0x02,0x02,0x9a,0x16,0x16,0x1c,0x02,0x06,0x04,0x0a,0x0a,0x0a, +0x0c,0x0e,0x0c,0x0c,0x0c,0x0a,0x08,0x06,0x04,0x02,0x1a,0x16,0x14,0x38,0x0a,0x14, +0x16,0x16,0x1a,0x18,0x3c,0x1a,0x1a,0x14,0x16,0x0a,0x0c,0x0a,0x64,0x18,0x14,0x38, +0x0a,0x0c,0x0a,0x16,0x14,0x1a,0x1a,0x3c,0x18,0x1a,0x16,0x16,0x14,0x0a,0x36,0x17, +0x15,0x1a,0x02,0x04,0x06,0x08,0x0a,0x0c,0x0c,0x0c,0x0e,0x0c,0x0a,0x0a,0x0c,0x02, +0x06,0x02,0x01,0x20,0x25,0x29,0x2c,0x2b,0x2b,0x2a,0x29,0x20,0x21,0x10,0x10,0x10, +0x11,0x24,0x33,0x52,0x20,0x1f,0x12,0x11,0x11,0x12,0x1f,0x20,0x52,0x33,0x26,0x0f, +0x10,0x10,0x10,0x21,0x1c,0x2d,0x28,0x2d,0x25,0x32,0x28,0x26,0x10,0x10,0x22,0x23, +0x25,0x28,0x2e,0x32,0x24,0x28,0x20,0x1e,0x14,0x12,0x26,0x27,0x2c,0x2b,0x2c,0x29, +0x29,0x20,0x21,0x10,0x10,0x10,0x11,0x24,0x33,0x52,0x20,0x1f,0x12,0x11,0x11,0x12, +0x1f,0x20,0x52,0x33,0x27,0x0e,0x10,0x10,0x10,0x21,0x20,0x29,0x29,0x2c,0x2c,0x2b, +0x29,0x24,0x12,0x10,0x22,0x23,0x25,0x28,0x2e,0x32,0x24,0x28,0x20,0x22,0x10,0x10, +0xfe,0x1c,0x0b,0x0d,0xb4,0x0d,0x06,0x08,0x05,0x05,0x01,0x01,0x04,0x05,0x09,0x09, +0x0c,0x0c,0x0d,0x0d,0x0c,0x0c,0x09,0x06,0x0a,0x8e,0x11,0x13,0x69,0x13,0x0e,0x14, +0x1a,0x19,0x1f,0x1d,0x1b,0x19,0x16,0x15,0x14,0x0a,0x0b,0x14,0x0e,0x21,0x02,0x78, +0x12,0x13,0x67,0x13,0x0d,0x15,0x1a,0x19,0x1f,0x1d,0x1b,0x19,0x16,0x15,0x14,0x0a, +0x0b,0x15,0x0d,0x21,0xb5,0x0c,0x0e,0xb2,0x0d,0x05,0x0b,0x03,0x05,0x01,0x01,0x04, +0x05,0x09,0x09,0x0c,0x0c,0x0d,0x10,0x09,0x0d,0x09,0x05,0x0a,0xfe,0x25,0x13,0x11, +0x8e,0x0a,0x06,0x08,0x0d,0x0c,0x0d,0x0d,0x0c,0x0c,0x09,0x09,0x05,0x04,0x01,0x01, +0x05,0x04,0x09,0x06,0x0d,0xb4,0x0e,0x0a,0xb9,0x21,0x0e,0x14,0x0b,0x0a,0x14,0x15, +0x16,0x19,0x1b,0x1d,0x1f,0x19,0x1a,0x14,0x0e,0x13,0x01,0xeb,0x0f,0x0b,0xb5,0x21, +0x0d,0x15,0x0b,0x0a,0x14,0x15,0x16,0x19,0x1b,0x1d,0x1f,0x19,0x1a,0x15,0x0d,0x13, +0x67,0x13,0x12,0x8b,0x0a,0x05,0x0b,0x0b,0x0c,0x0d,0x0d,0x0c,0x0c,0x09,0x09,0x05, +0x04,0x01,0x01,0x05,0x05,0x09,0x05,0x0d,0xd5,0x0f,0x10,0x1c,0x1f,0x22,0x24,0x29, +0x28,0x24,0x23,0x1e,0x1c,0x10,0x0f,0x0f,0x10,0x1c,0x1e,0x23,0x24,0x28,0x29,0x24, +0x22,0x1f,0x1c,0x10,0xfe,0x24,0x06,0x02,0xe4,0x11,0x08,0x0b,0x0d,0x0c,0x0a,0x09, +0x05,0x05,0x05,0x05,0x09,0x0a,0x0c,0x0b,0x0d,0x08,0x11,0xe4,0x02,0x06,0xcd,0x25, +0x13,0x1d,0x1a,0x19,0x16,0x14,0x0c,0x0b,0x0b,0x0c,0x14,0x16,0x19,0x1a,0x1d,0x13, +0x25,0x03,0x1a,0x02,0x06,0xc9,0x25,0x12,0x1e,0x1a,0x19,0x16,0x14,0x0c,0x0b,0x0b, +0x0c,0x14,0x16,0x19,0x1a,0x1e,0x12,0x25,0xc9,0x06,0x02,0xe0,0x11,0x07,0x0f,0x0a, +0x0c,0x0a,0x09,0x05,0x05,0x05,0x05,0x09,0x0c,0x0a,0x0d,0x0c,0x07,0x11,0x00,0x04, +0x00,0x56,0xff,0xe3,0x06,0x5e,0x05,0xf0,0x00,0x1d,0x00,0x3c,0x00,0x5c,0x00,0x6c, +0x00,0x00,0x00,0x22,0x07,0x06,0x07,0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x16, +0x17,0x16,0x32,0x37,0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x2f, +0x01,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06, +0x23,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x13, +0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x23, +0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x17, +0x03,0x25,0x13,0x0d,0x01,0x03,0x25,0x1b,0x01,0x05,0x03,0x2d,0x01,0x13,0x05,0x03, +0x97,0x7a,0x33,0x35,0x2b,0x2b,0x16,0x15,0x15,0x16,0x2b,0x2b,0x35,0x33,0x7a,0x33, +0x35,0x2b,0x2b,0x16,0x15,0x15,0x16,0x2b,0x2b,0x35,0x70,0x57,0x44,0x4d,0x36,0x39, +0x20,0x1f,0x1f,0x1e,0x3b,0x39,0x4a,0x48,0x53,0x57,0x44,0x4d,0x36,0x39,0x20,0x1f, +0x1f,0x1e,0x3b,0x39,0x4a,0x48,0x53,0x9a,0x8e,0x86,0x73,0x70,0x3a,0x39,0x39,0x35, +0x75,0x6e,0x8b,0x8d,0x9b,0x9a,0x8e,0x86,0x73,0x70,0x3a,0x39,0x39,0x35,0x75,0x6c, +0x8d,0x8c,0x9c,0x9d,0xfe,0x7f,0xa3,0xfe,0x7d,0x01,0x83,0xa3,0x01,0x81,0x9d,0x9d, +0x01,0x81,0xa3,0x01,0x83,0xfe,0x7d,0xa3,0xfe,0x7f,0x04,0x13,0x16,0x18,0x28,0x2e, +0x33,0x35,0x3c,0x3b,0x35,0x33,0x2e,0x28,0x18,0x16,0x16,0x18,0x28,0x2e,0x33,0x35, +0x3b,0x3c,0x35,0x33,0x2e,0x28,0x18,0x86,0x1f,0x22,0x36,0x38,0x4d,0x49,0x54,0x4e, +0x4c,0x4a,0x3b,0x39,0x1f,0x1f,0x1f,0x22,0x36,0x38,0x4d,0x49,0xa2,0x4c,0x4a,0x3b, +0x39,0x1f,0x1f,0x01,0x6d,0x3b,0x38,0x72,0x6f,0x8b,0x89,0xa1,0x98,0x8d,0x83,0x77, +0x70,0x3a,0x3b,0x3b,0x38,0x72,0x6f,0x8b,0x89,0x9c,0x9d,0x8d,0x83,0x77,0x6e,0x3c, +0x3b,0x08,0xfe,0x7d,0xa3,0xfe,0x7f,0x9e,0x9d,0xfe,0x7f,0xa3,0xfe,0x7d,0x01,0x83, +0xa3,0x01,0x81,0x9d,0x9e,0x01,0x81,0xa3,0x00,0x07,0x00,0xa1,0xff,0xe3,0x06,0x13, +0x05,0xf0,0x00,0x08,0x00,0x93,0x00,0x9c,0x00,0xa7,0x00,0xb2,0x00,0xc1,0x00,0xd0, +0x00,0x00,0x01,0x11,0x22,0x07,0x06,0x15,0x14,0x17,0x16,0x13,0x17,0x16,0x33,0x32, +0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x23,0x22, +0x27,0x26,0x27,0x26,0x2f,0x01,0x15,0x14,0x17,0x16,0x15,0x14,0x07,0x06,0x23,0x22, +0x27,0x26,0x35,0x34,0x37,0x36,0x3d,0x01,0x07,0x06,0x07,0x06,0x07,0x06,0x23,0x22, +0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x33,0x32, +0x3f,0x01,0x27,0x26,0x23,0x22,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x35,0x34, +0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x1f,0x01,0x35,0x34,0x27,0x26, +0x35,0x34,0x37,0x36,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x1d,0x01,0x37,0x36,0x37, +0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x23, +0x22,0x27,0x26,0x23,0x22,0x0f,0x01,0x11,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x13, +0x25,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x07,0x06,0x01,0x05,0x16,0x17,0x16,0x33, +0x32,0x37,0x36,0x37,0x36,0x13,0x25,0x06,0x15,0x14,0x17,0x16,0x17,0x16,0x33,0x32, +0x37,0x36,0x33,0x32,0x0d,0x01,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x23,0x22,0x07, +0x06,0x23,0x22,0x03,0x5a,0x2a,0x31,0x1e,0x25,0x38,0xa8,0x12,0x35,0x65,0x20,0x25, +0x12,0x10,0x5a,0x46,0x5c,0x12,0x0b,0x19,0x2b,0x6d,0x14,0x16,0x38,0x42,0x53,0x2f, +0x3f,0x4a,0x12,0x56,0x40,0x36,0x52,0x54,0x58,0x4e,0x36,0x40,0x56,0x12,0x47,0x42, +0x31,0x51,0x42,0x38,0x16,0x14,0x6e,0x2a,0x19,0x0b,0x12,0x5c,0x46,0x5a,0x10,0x12, +0x25,0x20,0x65,0x35,0x12,0x12,0x33,0x65,0x21,0x26,0x12,0x10,0x5a,0x46,0x5a,0x14, +0x0c,0x1a,0x2a,0x6e,0x14,0x16,0x38,0x42,0x53,0x2f,0x3f,0x4a,0x12,0x56,0x40,0x36, +0x52,0xa8,0x52,0x36,0x40,0x56,0x12,0x47,0x42,0x31,0x51,0x42,0x38,0x16,0x14,0x6d, +0x2b,0x19,0x0b,0x12,0x5c,0x46,0x5a,0x10,0x12,0x26,0x21,0x65,0x33,0x9e,0x2a,0x31, +0x1e,0x25,0x38,0xae,0x01,0x7e,0x15,0x3e,0x0a,0x0c,0x1f,0x2b,0x46,0x19,0x24,0xfe, +0x24,0xfe,0x82,0x15,0x3e,0x0a,0x0c,0x1f,0x2b,0x46,0x19,0x24,0x48,0xfe,0x82,0x0d, +0x05,0x07,0x3b,0x3c,0x35,0x0a,0x09,0x1d,0x1e,0x41,0x01,0xd8,0x01,0x7e,0x0d,0x05, +0x07,0x3b,0x3c,0x35,0x0a,0x09,0x1d,0x1e,0x41,0x03,0xd3,0x01,0xb9,0x2b,0x1a,0x44, +0x51,0x32,0x4a,0xfe,0xb4,0x0b,0x20,0x03,0x01,0x28,0x35,0x48,0x2c,0x27,0x39,0x2c, +0x4a,0x1e,0x06,0x26,0x30,0x66,0x89,0x29,0x0a,0x14,0x54,0x7c,0x5c,0x60,0x6a,0x34, +0x4f,0x4f,0x37,0x67,0x60,0x5c,0x7c,0x54,0x14,0x0a,0x27,0x8b,0x67,0x2f,0x26,0x06, +0x20,0x48,0x2c,0x39,0x27,0x2c,0x49,0x34,0x28,0x01,0x03,0x20,0x0b,0x0b,0x1f,0x03, +0x01,0x28,0x33,0x4a,0x2c,0x26,0x39,0x2d,0x48,0x20,0x06,0x26,0x30,0x66,0x89,0x29, +0x0a,0x14,0x54,0x7c,0x5c,0x60,0x6a,0x34,0x4f,0x4f,0x34,0x6a,0x60,0x5c,0x7c,0x54, +0x14,0x0a,0x27,0x8b,0x67,0x2f,0x26,0x06,0x1e,0x4a,0x2c,0x39,0x27,0x2c,0x48,0x35, +0x28,0x01,0x03,0x1f,0xf5,0xfe,0x47,0x2b,0x1a,0x44,0x51,0x32,0x4a,0x01,0xc1,0xdd, +0x24,0x15,0x04,0x19,0x28,0x3a,0x55,0xfe,0xcd,0xdd,0x24,0x15,0x04,0x19,0x28,0x3a, +0x55,0x01,0x33,0xdd,0x17,0x21,0x15,0x18,0x27,0x22,0x22,0x01,0x04,0xfb,0xdd,0x17, +0x21,0x15,0x18,0x27,0x22,0x22,0x01,0x04,0x00,0x01,0x00,0xb6,0x00,0x00,0x05,0xfe, +0x05,0xd5,0x00,0x41,0x00,0x00,0x01,0x27,0x07,0x27,0x37,0x27,0x37,0x17,0x35,0x33, +0x15,0x17,0x11,0x27,0x37,0x17,0x35,0x33,0x15,0x37,0x17,0x07,0x11,0x37,0x35,0x33, +0x15,0x37,0x17,0x07,0x17,0x07,0x27,0x07,0x17,0x37,0x17,0x07,0x17,0x07,0x27,0x15, +0x23,0x35,0x27,0x11,0x17,0x07,0x27,0x15,0x23,0x35,0x07,0x27,0x37,0x11,0x07,0x15, +0x23,0x35,0x07,0x27,0x37,0x27,0x37,0x17,0x02,0xe2,0xf0,0xc2,0x3c,0x86,0xc4,0x3c, +0xc4,0x78,0xf0,0xc2,0x3c,0x86,0x78,0x86,0x3c,0xc2,0xf0,0x78,0xc4,0x3c,0xc4,0x86, +0x3c,0xc2,0xf0,0xf0,0xc2,0x3c,0x86,0xc4,0x3c,0xc4,0x78,0xf0,0xc2,0x3c,0x86,0x78, +0x86,0x3c,0xc2,0xf0,0x78,0xc4,0x3c,0xc4,0x86,0x3c,0xc2,0x02,0xeb,0x8a,0x70,0x68, +0x4d,0x72,0x68,0x72,0x9b,0xe0,0x8b,0x01,0x16,0x6f,0x68,0x4d,0xe3,0xe3,0x4d,0x68, +0x6f,0xfe,0xeb,0x8a,0xe0,0x9b,0x72,0x68,0x72,0x4d,0x68,0x70,0x8a,0x8b,0x70,0x68, +0x4d,0x72,0x68,0x72,0x9b,0xe0,0x8b,0xfe,0xea,0x6f,0x68,0x4d,0xe3,0xe3,0x4d,0x68, +0x6f,0x01,0x16,0x8b,0xe0,0x9b,0x72,0x68,0x72,0x4d,0x68,0x70,0x00,0x07,0x00,0x9c, +0x00,0x00,0x06,0x18,0x05,0xd5,0x00,0x1d,0x00,0x21,0x00,0x25,0x00,0x29,0x00,0x2d, +0x00,0x31,0x00,0x35,0x00,0x00,0x01,0x33,0x11,0x25,0x11,0x25,0x17,0x0d,0x03,0x07, +0x25,0x11,0x25,0x11,0x23,0x11,0x05,0x11,0x05,0x27,0x2d,0x03,0x37,0x05,0x11,0x05, +0x07,0x15,0x17,0x35,0x25,0x07,0x15,0x37,0x05,0x07,0x17,0x37,0x25,0x07,0x17,0x37, +0x05,0x07,0x15,0x3f,0x01,0x15,0x17,0x35,0x03,0x1e,0x78,0x01,0x23,0x01,0x09,0x3c, +0xfe,0xf6,0x01,0x24,0xfe,0xdd,0x01,0x09,0x3c,0xfe,0xf7,0xfe,0xdd,0x78,0xfe,0xdd, +0xfe,0xf7,0x3c,0x01,0x09,0xfe,0xdd,0x01,0x24,0xfe,0xf6,0x3c,0x01,0x09,0x01,0x23, +0xab,0xab,0x01,0x23,0xab,0xab,0xfd,0xf7,0xac,0xab,0xab,0x01,0x9a,0xaa,0xab,0xab, +0xfd,0xf6,0xab,0xab,0x78,0xab,0x05,0xd5,0xfe,0xcc,0xa9,0xfe,0xb0,0x9a,0x68,0x9a, +0xa8,0xa8,0x99,0x68,0x9a,0xfe,0xaf,0xa9,0xfe,0xcd,0x01,0x33,0xa9,0x01,0x51,0x9a, +0x68,0x99,0xa8,0xa8,0x9a,0x68,0x9a,0x01,0x50,0xa9,0x27,0xc5,0x63,0xc5,0x63,0x63, +0xc5,0x63,0x68,0x63,0x62,0x62,0x63,0x63,0x62,0x62,0x67,0x63,0xc6,0x63,0xc6,0xc6, +0x63,0xc6,0x00,0x01,0x00,0x82,0x00,0x04,0x06,0x30,0x05,0xd5,0x00,0x41,0x00,0x00, +0x01,0x33,0x15,0x37,0x17,0x07,0x11,0x25,0x11,0x33,0x15,0x37,0x17,0x07,0x17,0x07, +0x27,0x0d,0x01,0x37,0x17,0x07,0x17,0x07,0x27,0x15,0x23,0x11,0x25,0x11,0x17,0x07, +0x27,0x15,0x23,0x35,0x07,0x27,0x37,0x11,0x05,0x11,0x23,0x35,0x07,0x27,0x37,0x27, +0x37,0x17,0x2d,0x01,0x07,0x27,0x37,0x27,0x37,0x17,0x35,0x33,0x11,0x05,0x11,0x27, +0x37,0x17,0x03,0x1e,0x78,0x8c,0x64,0xf0,0x01,0x0c,0xc8,0x58,0x3c,0x5b,0x8c,0x64, +0xf0,0xfe,0xf6,0x01,0x0b,0xf0,0x64,0x8c,0x59,0x3c,0x5c,0xc8,0xfe,0xf9,0xf0,0x64, +0x8c,0x78,0x8c,0x64,0xf0,0xfe,0xf7,0xc8,0x5b,0x3c,0x58,0x8c,0x64,0xf0,0x01,0x0b, +0xfe,0xf7,0xf0,0x64,0x8c,0x5c,0x3c,0x59,0xc8,0x01,0x0d,0xf0,0x64,0x8c,0x05,0xd5, +0x68,0x51,0xad,0x8b,0xfe,0xce,0x9b,0x01,0x15,0xa2,0x34,0x68,0x35,0x51,0xad,0x8a, +0x99,0x9b,0x8b,0xad,0x51,0x34,0x68,0x35,0xa1,0x01,0x15,0x98,0xfe,0xd0,0x8b,0xad, +0x51,0x68,0x65,0x51,0xad,0x8b,0x01,0x35,0x99,0xfe,0xeb,0xa1,0x35,0x68,0x33,0x51, +0xae,0x8b,0x9a,0x99,0x8b,0xad,0x51,0x35,0x68,0x33,0xa1,0xfe,0xeb,0x9b,0x01,0x36, +0x8b,0xad,0x51,0x00,0x00,0x01,0x00,0xa1,0xff,0xe5,0x06,0x13,0x05,0xf0,0x00,0x87, +0x00,0x00,0x01,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x07, +0x17,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06, +0x23,0x22,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x27,0x11,0x16,0x17,0x1e,0x01,0x14, +0x0e,0x01,0x22,0x2e,0x01,0x34,0x36,0x37,0x36,0x37,0x11,0x07,0x16,0x15,0x14,0x07, +0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x32, +0x17,0x16,0x17,0x37,0x27,0x06,0x07,0x06,0x23,0x22,0x2e,0x01,0x34,0x37,0x36,0x37, +0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x17,0x11,0x26,0x27,0x2e,0x01, +0x34,0x36,0x37,0x36,0x33,0x32,0x1e,0x01,0x14,0x06,0x07,0x06,0x07,0x11,0x37,0x26, +0x35,0x34,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x05,0xf8,0x1b,0x1b,0x1b,0x2e, +0x2f,0x35,0x36,0x2e,0x13,0x11,0xf1,0xf1,0x11,0x13,0x2e,0x36,0x35,0x2f,0x2e,0x1b, +0x1b,0x1b,0x1c,0x2d,0x2f,0x35,0x33,0x31,0x2f,0x1b,0x1a,0x04,0xf1,0x15,0x13,0x2e, +0x36,0x36,0x5c,0x6c,0x5c,0x36,0x36,0x2e,0x13,0x15,0xf1,0x04,0x1a,0x1b,0x2f,0x2f, +0x35,0x36,0x2e,0x2e,0x1b,0x1b,0x1b,0x1b,0x2e,0x2f,0x6a,0x2f,0x13,0x11,0xf1,0xf1, +0x10,0x14,0x31,0x33,0x36,0x5c,0x36,0x1b,0x1b,0x2e,0x2f,0x35,0x33,0x31,0x2f,0x1b, +0x1a,0x04,0xf1,0x15,0x13,0x2e,0x36,0x36,0x2e,0x2f,0x35,0x36,0x5c,0x36,0x36,0x2e, +0x13,0x15,0xf1,0x04,0x1a,0x1a,0x30,0x2e,0x36,0x35,0x2f,0x33,0x04,0x6d,0x36,0x2e, +0x35,0x2f,0x2e,0x1b,0x1b,0x1b,0x0b,0x0f,0x8b,0x8c,0x0f,0x0b,0x1b,0x1b,0x1b,0x2e, +0x2f,0x35,0x34,0x2f,0x2f,0x1b,0x1b,0x1b,0x1a,0x2f,0x2e,0x36,0x16,0x15,0x8c,0xfe, +0xe9,0x07,0x0b,0x1b,0x5c,0x6c,0x5c,0x36,0x36,0x5c,0x6c,0x5c,0x1b,0x0b,0x07,0x01, +0x17,0x8c,0x15,0x16,0x36,0x2e,0x2f,0x1a,0x1b,0x1b,0x1a,0x2f,0x2e,0x36,0x35,0x2f, +0x2e,0x1b,0x1b,0x1b,0x0b,0x0f,0x8c,0x8b,0x0f,0x0b,0x1b,0x36,0x5c,0x6c,0x2e,0x2f, +0x1a,0x1b,0x1b,0x1a,0x2f,0x2e,0x36,0x16,0x15,0x8c,0x01,0x17,0x07,0x0b,0x1b,0x5c, +0x6c,0x5c,0x1b,0x1b,0x36,0x5c,0x6c,0x5c,0x1b,0x0b,0x07,0xfe,0xe9,0x8c,0x15,0x16, +0x36,0x2e,0x2d,0x1c,0x1b,0x1b,0x1e,0x00,0x00,0x09,0x00,0x61,0xff,0xe5,0x06,0x53, +0x05,0xd7,0x00,0x07,0x00,0x0b,0x00,0x0f,0x00,0x13,0x00,0x17,0x00,0x2e,0x00,0x45, +0x00,0x5c,0x00,0x73,0x00,0x00,0x00,0x14,0x06,0x22,0x26,0x34,0x36,0x32,0x09,0x01, +0x37,0x09,0x02,0x37,0x09,0x02,0x27,0x09,0x02,0x27,0x01,0x13,0x26,0x27,0x26,0x27, +0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06, +0x07,0x06,0x03,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x22,0x27, +0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x03,0x06,0x07,0x06,0x07,0x06,0x23, +0x22,0x27,0x26,0x27,0x26,0x34,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16, +0x05,0x36,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x14,0x07,0x06,0x07, +0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x03,0xf0,0x58,0x7c,0x58,0x58,0x7c,0x01,0xa7, +0xfe,0x7d,0x55,0x01,0x83,0xfd,0x0d,0xfe,0x7f,0x55,0x01,0x81,0x02,0x9e,0xfe,0x7d, +0x55,0x01,0x83,0xfd,0xb7,0xfe,0x7f,0x55,0x01,0x81,0xb9,0x39,0x0f,0x17,0x04,0x01, +0x02,0x03,0x0f,0x17,0x72,0x17,0x0f,0x03,0x02,0x01,0x04,0x17,0x0f,0x39,0x39,0x0f, +0x17,0x04,0x01,0x02,0x03,0x0f,0x17,0x72,0x17,0x0f,0x03,0x02,0x01,0x04,0x17,0x0f, +0x9f,0x3c,0x18,0x25,0x44,0x1d,0x52,0x45,0x1e,0x41,0x20,0x31,0x31,0x20,0x41,0x1e, +0x45,0x52,0x1d,0x44,0x25,0x18,0x01,0xec,0x3c,0x18,0x25,0x44,0x1d,0x52,0x45,0x1e, +0x41,0x20,0x31,0x31,0x20,0x41,0x1e,0x45,0x52,0x1d,0x44,0x25,0x18,0x03,0x2c,0x7c, +0x58,0x58,0x7c,0x58,0xfd,0x2e,0x01,0x84,0x55,0xfe,0x7c,0x02,0x4a,0x01,0x81,0x55, +0xfe,0x7e,0x01,0x2d,0xfe,0x7c,0x55,0x01,0x84,0xfd,0x0d,0xfe,0x7e,0x55,0x01,0x81, +0x01,0x2e,0x3c,0x18,0x25,0x44,0x1d,0x52,0x45,0x1e,0x41,0x20,0x31,0x31,0x20,0x41, +0x1e,0x45,0x52,0x1d,0x44,0x25,0x18,0xfe,0x14,0x3c,0x18,0x25,0x44,0x1d,0x52,0x45, +0x1e,0x41,0x20,0x31,0x31,0x20,0x41,0x1e,0x45,0x52,0x1d,0x44,0x25,0x18,0x01,0x14, +0x39,0x0f,0x17,0x04,0x01,0x02,0x03,0x0f,0x17,0x72,0x17,0x0f,0x03,0x02,0x01,0x04, +0x17,0x0f,0x39,0x39,0x0f,0x17,0x04,0x01,0x02,0x03,0x0f,0x17,0x72,0x17,0x0f,0x03, +0x02,0x01,0x04,0x17,0x0f,0x00,0x00,0x09,0x00,0x61,0xff,0xe5,0x06,0x53,0x05,0xd7, +0x00,0x07,0x00,0x0b,0x00,0x0f,0x00,0x13,0x00,0x17,0x00,0x2b,0x00,0x3f,0x00,0x53, +0x00,0x67,0x00,0x00,0x00,0x14,0x06,0x22,0x26,0x34,0x36,0x32,0x09,0x01,0x17,0x09, +0x02,0x17,0x09,0x02,0x07,0x09,0x02,0x07,0x01,0x02,0x14,0x07,0x06,0x07,0x06,0x22, +0x27,0x26,0x27,0x26,0x34,0x37,0x36,0x37,0x36,0x32,0x17,0x16,0x17,0x12,0x14,0x07, +0x06,0x07,0x06,0x22,0x27,0x26,0x27,0x26,0x34,0x37,0x36,0x37,0x36,0x32,0x17,0x16, +0x17,0x00,0x32,0x17,0x16,0x17,0x16,0x14,0x07,0x06,0x07,0x06,0x22,0x27,0x26,0x27, +0x26,0x34,0x37,0x36,0x37,0x24,0x32,0x17,0x16,0x17,0x16,0x14,0x07,0x06,0x07,0x06, +0x22,0x27,0x26,0x27,0x26,0x34,0x37,0x36,0x37,0x04,0x3b,0x84,0xba,0x84,0x84,0xba, +0xfd,0x69,0x01,0x29,0x55,0xfe,0xd7,0x02,0xa1,0x01,0x29,0x55,0xfe,0xd7,0xfd,0x0a, +0x01,0x29,0x55,0xfe,0xd7,0x03,0x4b,0x01,0x29,0x55,0xfe,0xd7,0x08,0x13,0x15,0x27, +0x2e,0x6e,0x2e,0x27,0x15,0x13,0x13,0x15,0x27,0x2e,0x6e,0x2e,0x27,0x15,0x13,0x13, +0x15,0x27,0x2e,0x6e,0x2e,0x27,0x15,0x13,0x13,0x15,0x27,0x2e,0x6e,0x2e,0x27,0x15, +0xfd,0x19,0x70,0x31,0x37,0x23,0x28,0x28,0x23,0x37,0x31,0x70,0x31,0x37,0x23,0x28, +0x28,0x23,0x37,0x04,0x4d,0x70,0x31,0x37,0x23,0x28,0x28,0x23,0x37,0x31,0x70,0x31, +0x37,0x23,0x28,0x28,0x23,0x37,0x03,0x4b,0xba,0x84,0x84,0xba,0x84,0xfd,0x38,0x01, +0x29,0x55,0xfe,0xd7,0x03,0x4c,0x01,0x29,0x55,0xfe,0xd7,0x01,0x7e,0xfe,0xd7,0x55, +0x01,0x29,0xfd,0x5e,0xfe,0xd7,0x55,0x01,0x29,0x03,0x49,0x70,0x31,0x37,0x23,0x28, +0x28,0x23,0x37,0x31,0x70,0x31,0x37,0x23,0x28,0x28,0x23,0x37,0xfb,0xb3,0x70,0x31, +0x37,0x23,0x28,0x28,0x23,0x37,0x31,0x70,0x31,0x37,0x23,0x28,0x28,0x23,0x37,0x02, +0x59,0x13,0x15,0x27,0x2e,0x6e,0x2e,0x27,0x15,0x13,0x13,0x15,0x27,0x2e,0x6e,0x2e, +0x27,0x15,0x13,0x13,0x15,0x27,0x2e,0x6e,0x2e,0x27,0x15,0x13,0x13,0x15,0x27,0x2e, +0x6e,0x2e,0x27,0x15,0x00,0x09,0x00,0x54,0xff,0xe5,0x06,0x60,0x05,0xf2,0x00,0x0c, +0x00,0x19,0x00,0x26,0x00,0x33,0x00,0x40,0x00,0x4d,0x00,0x59,0x00,0x61,0x00,0x6d, +0x00,0x00,0x01,0x14,0x07,0x06,0x2b,0x01,0x25,0x35,0x25,0x33,0x32,0x17,0x16,0x05, +0x34,0x37,0x36,0x3b,0x01,0x05,0x15,0x05,0x23,0x22,0x27,0x26,0x01,0x16,0x15,0x14, +0x0f,0x01,0x01,0x27,0x01,0x37,0x36,0x33,0x32,0x01,0x26,0x35,0x34,0x3f,0x01,0x01, +0x17,0x01,0x07,0x06,0x23,0x22,0x03,0x36,0x33,0x32,0x1f,0x01,0x01,0x07,0x01,0x27, +0x26,0x35,0x34,0x01,0x06,0x23,0x22,0x2f,0x01,0x01,0x37,0x01,0x17,0x16,0x15,0x14, +0x00,0x32,0x17,0x16,0x1d,0x01,0x03,0x23,0x03,0x35,0x34,0x37,0x12,0x14,0x06,0x22, +0x26,0x34,0x36,0x32,0x02,0x22,0x27,0x26,0x3d,0x01,0x13,0x33,0x13,0x15,0x14,0x07, +0x06,0x60,0x1c,0x1c,0x28,0x0a,0xfe,0x60,0x01,0xa0,0x0a,0x26,0x1e,0x1c,0xf9,0xf4, +0x1c,0x1c,0x28,0x0a,0x01,0xa0,0xfe,0x60,0x0a,0x26,0x1e,0x1c,0x05,0x2a,0x1d,0x1b, +0x07,0xfe,0xb7,0x47,0x01,0x02,0x07,0x1c,0x29,0x2a,0xfb,0xd5,0x1d,0x1b,0x07,0x01, +0x49,0x47,0xfe,0xfe,0x07,0x1c,0x29,0x28,0x1f,0x1d,0x2a,0x28,0x1d,0x07,0x01,0x02, +0x47,0xfe,0xb7,0x07,0x1b,0x04,0x65,0x1e,0x29,0x29,0x1c,0x07,0xfe,0xfe,0x47,0x01, +0x49,0x07,0x1b,0xfd,0x96,0x52,0x1e,0x1d,0x32,0x64,0x32,0x1d,0xdd,0x58,0x7c,0x58, +0x58,0x7c,0x15,0x52,0x1e,0x1d,0x32,0x64,0x32,0x1d,0x02,0xec,0x2a,0x1e,0x1c,0x32, +0x64,0x32,0x1e,0x1e,0x28,0x28,0x1e,0x1e,0x32,0x64,0x32,0x1c,0x1e,0x02,0x4d,0x1d, +0x2a,0x27,0x1d,0x07,0xfe,0xfe,0x46,0x01,0x49,0x07,0x1c,0xfb,0x9b,0x1d,0x2a,0x27, +0x1d,0x07,0x01,0x02,0x46,0xfe,0xb7,0x07,0x1c,0x04,0x65,0x1e,0x1c,0x07,0xfe,0xb7, +0x46,0x01,0x02,0x07,0x1b,0x29,0x2a,0xfb,0xd6,0x1e,0x1c,0x07,0x01,0x49,0x46,0xfe, +0xfe,0x07,0x1b,0x29,0x2a,0x05,0x0d,0x1d,0x1c,0x28,0x0a,0xfe,0x61,0x01,0x9f,0x0a, +0x27,0x1d,0xfd,0x55,0x7c,0x58,0x58,0x7c,0x58,0xfc,0x63,0x1d,0x1c,0x28,0x0a,0x01, +0x9f,0xfe,0x61,0x0a,0x27,0x1d,0x00,0x01,0x00,0x54,0xff,0xe5,0x06,0x60,0x05,0xf2, +0x00,0x6c,0x00,0x00,0x01,0x32,0x17,0x16,0x15,0x14,0x07,0x03,0x01,0x36,0x37,0x36, +0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x01,0x25,0x36,0x33,0x32,0x17,0x16, +0x14,0x07,0x06,0x23,0x22,0x27,0x25,0x01,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x23, +0x22,0x27,0x26,0x27,0x01,0x13,0x16,0x15,0x14,0x07,0x06,0x22,0x27,0x26,0x35,0x34, +0x37,0x13,0x01,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x01, +0x05,0x06,0x23,0x22,0x27,0x26,0x34,0x37,0x36,0x33,0x32,0x17,0x05,0x01,0x26,0x27, +0x26,0x35,0x34,0x37,0x36,0x33,0x16,0x17,0x16,0x17,0x01,0x03,0x26,0x35,0x34,0x37, +0x36,0x03,0x5a,0x2b,0x2f,0x23,0x05,0x4e,0x01,0x1c,0x15,0x02,0x34,0x32,0x42,0x1f, +0x1e,0x34,0x0a,0x19,0xfe,0x7b,0x01,0xdf,0x19,0x0c,0x4c,0x22,0x2e,0x2e,0x24,0x4a, +0x07,0x25,0xfe,0x28,0x01,0x8a,0x1c,0x02,0x34,0x1e,0x1f,0x42,0x2b,0x3b,0x0a,0x12, +0xfe,0xe9,0x4e,0x05,0x23,0x2f,0x56,0x2f,0x23,0x05,0x4e,0xfe,0xe9,0x12,0x0a,0x34, +0x32,0x42,0x1f,0x1e,0x34,0x02,0x1c,0x01,0x8a,0xfe,0x28,0x25,0x07,0x4a,0x24,0x2e, +0x2e,0x22,0x4c,0x0c,0x19,0x01,0xdf,0xfe,0x7b,0x19,0x0a,0x34,0x1e,0x1f,0x42,0x24, +0x42,0x02,0x15,0x01,0x1c,0x4e,0x05,0x23,0x2e,0x05,0xf2,0x2f,0x23,0x4a,0x07,0x1f, +0xfe,0x22,0x01,0x89,0x1d,0x01,0x35,0x1f,0x1e,0x43,0x37,0x2f,0x09,0x12,0xfe,0xe9, +0x4e,0x04,0x22,0x2e,0x58,0x2e,0x24,0x06,0x4d,0xfe,0xe5,0x16,0x01,0x35,0x31,0x43, +0x1e,0x1f,0x35,0x09,0x19,0x01,0x85,0xfe,0x22,0x1f,0x07,0x4a,0x23,0x2f,0x2f,0x23, +0x4a,0x0e,0x1e,0x01,0xd8,0xfe,0x7b,0x19,0x09,0x35,0x1f,0x1e,0x43,0x4c,0x1a,0x01, +0x16,0x01,0x1b,0x4d,0x06,0x24,0x2e,0x58,0x2e,0x22,0x04,0x4e,0x01,0x17,0x12,0x09, +0x35,0x31,0x43,0x1e,0x1f,0x14,0x21,0x01,0x1d,0xfe,0x77,0x01,0xd8,0x1e,0x0e,0x4a, +0x23,0x2f,0x00,0x02,0x00,0x66,0xff,0xec,0x06,0xc6,0x05,0xe8,0x00,0x0d,0x00,0x23, +0x00,0xe7,0xba,0x00,0x00,0x00,0x13,0x00,0x03,0x2b,0xba,0x00,0x1f,0x00,0x06,0x00, +0x03,0x2b,0xb8,0x00,0x1f,0x10,0x41,0x1b,0x00,0x16,0x00,0x00,0x00,0x26,0x00,0x00, +0x00,0x36,0x00,0x00,0x00,0x46,0x00,0x00,0x00,0x56,0x00,0x00,0x00,0x66,0x00,0x00, +0x00,0x76,0x00,0x00,0x00,0x86,0x00,0x00,0x00,0x96,0x00,0x00,0x00,0xa6,0x00,0x00, +0x00,0xb6,0x00,0x00,0x00,0xc6,0x00,0x00,0x00,0xd6,0x00,0x00,0x00,0x0d,0x5d,0x41, +0x05,0x00,0xe5,0x00,0x00,0x00,0xf5,0x00,0x00,0x00,0x02,0x5d,0x41,0x05,0x00,0xea, +0x00,0x06,0x00,0xfa,0x00,0x06,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x06,0x00, +0x29,0x00,0x06,0x00,0x39,0x00,0x06,0x00,0x49,0x00,0x06,0x00,0x59,0x00,0x06,0x00, +0x69,0x00,0x06,0x00,0x79,0x00,0x06,0x00,0x89,0x00,0x06,0x00,0x99,0x00,0x06,0x00, +0xa9,0x00,0x06,0x00,0xb9,0x00,0x06,0x00,0xc9,0x00,0x06,0x00,0xd9,0x00,0x06,0x00, +0x0d,0x5d,0xb8,0x00,0x25,0xdc,0x00,0xba,0x00,0x03,0x00,0x10,0x00,0x03,0x2b,0xb8, +0x00,0x03,0x10,0xba,0x00,0x17,0x00,0x0a,0x00,0x03,0x2b,0xb8,0x00,0x17,0x10,0xb8, +0x00,0x10,0x10,0xb8,0x00,0x0e,0xd0,0xb8,0x00,0x0e,0x2f,0xb8,0x00,0x17,0x10,0xb8, +0x00,0x19,0xd0,0xb8,0x00,0x19,0x2f,0xb8,0x00,0x17,0x10,0xb8,0x00,0x1b,0xd0,0xb8, +0x00,0x10,0x10,0xb8,0x00,0x22,0xd0,0x30,0x31,0x13,0x10,0x00,0x21,0x20,0x00,0x11, +0x34,0x02,0x24,0x23,0x22,0x04,0x02,0x01,0x06,0x23,0x20,0x00,0x11,0x34,0x12,0x24, +0x33,0x32,0x17,0x36,0x33,0x32,0x04,0x12,0x15,0x10,0x00,0x21,0x22,0xb9,0x01,0x8f, +0x01,0x1c,0x01,0x1c,0x01,0x8f,0xb6,0xfe,0xb8,0xad,0xad,0xfe,0xb8,0xb6,0x02,0xdc, +0x19,0x19,0xfe,0xc4,0xfe,0x3f,0xce,0x01,0x71,0xbe,0x19,0x19,0x19,0x19,0xc1,0x01, +0x71,0xcd,0xfe,0x3f,0xfe,0xc2,0x19,0x02,0xea,0xfe,0xe4,0xfe,0x70,0x01,0x90,0x01, +0x1c,0xb3,0x01,0x47,0xb1,0xb1,0xfe,0xb9,0xfc,0x51,0x02,0x01,0xbf,0x01,0x3f,0xc6, +0x01,0x72,0xc6,0x02,0x02,0xc6,0xfe,0x90,0xc8,0xfe,0xc1,0xfe,0x41,0x00,0x00,0x02, +0x00,0x7a,0xff,0x9c,0x06,0xb2,0x05,0xd4,0x00,0x03,0x00,0x0b,0x00,0x37,0xba,0x00, +0x03,0x00,0x05,0x00,0x03,0x2b,0xb8,0x00,0x03,0x10,0xba,0x00,0x0a,0x00,0x00,0x00, +0x03,0x2b,0xb8,0x00,0x0a,0x10,0xb8,0x00,0x0d,0xdc,0x00,0xba,0x00,0x00,0x00,0x0a, +0x00,0x03,0x2b,0xb8,0x00,0x00,0x10,0xba,0x00,0x07,0x00,0x01,0x00,0x03,0x2b,0xb8, +0x00,0x07,0x10,0x30,0x31,0x25,0x11,0x21,0x11,0x17,0x23,0x11,0x21,0x15,0x33,0x11, +0x21,0x05,0xfb,0xfa,0xd2,0x11,0x64,0x05,0xd4,0x64,0xfa,0x2c,0x53,0x05,0x2e,0xfa, +0xd2,0x53,0x05,0xd4,0x64,0xfa,0x2c,0x00,0x00,0x02,0x00,0x7a,0x00,0x00,0x06,0xb2, +0x06,0x38,0x00,0x03,0x00,0x0b,0x00,0x37,0xba,0x00,0x03,0x00,0x06,0x00,0x03,0x2b, +0xb8,0x00,0x03,0x10,0xba,0x00,0x0b,0x00,0x00,0x00,0x03,0x2b,0xb8,0x00,0x0b,0x10, +0xb8,0x00,0x0d,0xdc,0x00,0xba,0x00,0x00,0x00,0x05,0x00,0x03,0x2b,0xb8,0x00,0x00, +0x10,0xba,0x00,0x0a,0x00,0x01,0x00,0x03,0x2b,0xb8,0x00,0x0a,0x10,0x30,0x31,0x25, +0x11,0x21,0x11,0x25,0x15,0x21,0x11,0x33,0x35,0x21,0x11,0x05,0xfb,0xfa,0xd2,0x05, +0x81,0xfa,0x2c,0x64,0x05,0xd4,0x53,0x05,0x2e,0xfa,0xd2,0x11,0x64,0x05,0xd4,0x64, +0xfa,0x2c,0x00,0x02,0x00,0x7a,0xff,0x9c,0x06,0xb2,0x05,0xd4,0x00,0x03,0x00,0x09, +0x00,0x37,0xba,0x00,0x03,0x00,0x04,0x00,0x03,0x2b,0xb8,0x00,0x03,0x10,0xba,0x00, +0x08,0x00,0x00,0x00,0x03,0x2b,0xb8,0x00,0x08,0x10,0xb8,0x00,0x0b,0xdc,0x00,0xba, +0x00,0x00,0x00,0x08,0x00,0x03,0x2b,0xb8,0x00,0x00,0x10,0xba,0x00,0x06,0x00,0x01, +0x00,0x03,0x2b,0xb8,0x00,0x06,0x10,0x30,0x31,0x25,0x11,0x21,0x11,0x07,0x11,0x21, +0x17,0x11,0x21,0x05,0xfb,0xfa,0xd2,0x53,0x05,0xd4,0x64,0xfa,0x4a,0x53,0x05,0x2e, +0xfa,0xd2,0x53,0x05,0xd4,0x82,0xfa,0x4a,0x00,0x02,0x00,0x7a,0x00,0x00,0x06,0xb2, +0x06,0x38,0x00,0x03,0x00,0x09,0x00,0x37,0xba,0x00,0x03,0x00,0x05,0x00,0x03,0x2b, +0xb8,0x00,0x03,0x10,0xba,0x00,0x09,0x00,0x00,0x00,0x03,0x2b,0xb8,0x00,0x09,0x10, +0xb8,0x00,0x0b,0xdc,0x00,0xba,0x00,0x00,0x00,0x04,0x00,0x03,0x2b,0xb8,0x00,0x00, +0x10,0xba,0x00,0x08,0x00,0x01,0x00,0x03,0x2b,0xb8,0x00,0x08,0x10,0x30,0x31,0x25, +0x11,0x21,0x11,0x05,0x21,0x11,0x37,0x21,0x11,0x05,0xfb,0xfa,0xd2,0x05,0x81,0xfa, +0x2c,0x82,0x05,0xb6,0x53,0x05,0x2e,0xfa,0xd2,0x53,0x05,0xd4,0x64,0xfa,0x4a,0x00, +0x00,0x04,0x00,0xaa,0xff,0xfb,0x06,0x82,0x05,0xd3,0x00,0x03,0x00,0x07,0x00,0x0b, +0x00,0x0f,0x00,0x0b,0x00,0xb8,0x00,0x09,0x2f,0xb8,0x00,0x0f,0x2f,0x30,0x31,0x13, +0x09,0x0e,0xaa,0x01,0x53,0x01,0x53,0xfe,0xad,0x01,0xdf,0x01,0x54,0x01,0x52,0xfe, +0xae,0xfd,0x15,0x01,0x53,0x01,0x53,0xfe,0xad,0xfe,0xad,0x01,0x53,0x01,0x53,0xfe, +0xad,0x02,0xe9,0x01,0x53,0xfe,0xad,0xfe,0xad,0x01,0x53,0x01,0x52,0xfe,0xae,0xfe, +0xab,0x02,0xea,0x01,0x55,0xfe,0xab,0xfe,0xae,0xfe,0x22,0x01,0x53,0xfe,0xad,0xfe, +0xad,0x00,0x00,0x01,0x03,0x05,0xfe,0x14,0x03,0xaf,0x06,0x14,0x00,0x03,0x00,0x00, +0x01,0x11,0x23,0x11,0x03,0xaf,0xaa,0x06,0x14,0xf8,0x00,0x08,0x00,0x00,0x00,0x01, +0x02,0xb0,0xfe,0x14,0x04,0x04,0x06,0x14,0x00,0x03,0x00,0x00,0x01,0x11,0x21,0x11, +0x04,0x04,0xfe,0xac,0x06,0x14,0xf8,0x00,0x08,0x00,0x00,0x01,0x02,0x06,0xfe,0x14, +0x04,0xae,0x06,0x14,0x00,0x03,0x00,0x00,0x01,0x11,0x21,0x11,0x04,0xae,0xfd,0x58, +0x06,0x14,0xf8,0x00,0x08,0x00,0x00,0x01,0x00,0xae,0x03,0x28,0x02,0x1c,0x05,0xd5, +0x00,0x06,0x00,0x1b,0xba,0x00,0x00,0x00,0x01,0x00,0x03,0x2b,0x00,0xb8,0x00,0x03, +0x2f,0xba,0x00,0x06,0x00,0x00,0x00,0x03,0x2b,0xb8,0x00,0x06,0x10,0x30,0x31,0x01, +0x21,0x11,0x13,0x33,0x03,0x33,0x02,0x1c,0xfe,0x92,0xa4,0x81,0x52,0x9b,0x03,0x28, +0x01,0x6e,0x01,0x3f,0xfe,0xc1,0x00,0x01,0x00,0x78,0x03,0x28,0x01,0xe6,0x05,0xd5, +0x00,0x06,0x00,0x27,0xba,0x00,0x01,0x00,0x00,0x00,0x03,0x2b,0xb8,0x00,0x01,0x10, +0x00,0xb8,0x00,0x03,0x2f,0xba,0x00,0x01,0x00,0x02,0x00,0x03,0x2b,0xb8,0x00,0x01, +0x10,0xb8,0x00,0x02,0x10,0xb8,0x00,0x05,0xd0,0x30,0x31,0x13,0x21,0x11,0x03,0x23, +0x13,0x23,0x78,0x01,0x6e,0xa4,0x81,0x52,0x9b,0x05,0xd5,0xfe,0x92,0xfe,0xc1,0x01, +0x3f,0x00,0xff,0xff,0x00,0xae,0x03,0x28,0x03,0xd6,0x05,0xd5,0x10,0x22,0x0a,0x8c, +0x00,0x00,0x10,0x03,0x0a,0x8c,0x01,0xba,0x00,0x00,0xff,0xff,0x00,0x78,0x03,0x28, +0x03,0xa0,0x05,0xd5,0x10,0x22,0x0a,0x8d,0x00,0x00,0x10,0x03,0x0a,0x8d,0x01,0xba, +0x00,0x00,0x00,0x02,0x01,0x3e,0xff,0x42,0x06,0x2d,0x06,0xcf,0x00,0x4f,0x00,0x53, +0x00,0x00,0x01,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06, +0x07,0x06,0x23,0x22,0x07,0x06,0x07,0x06,0x07,0x06,0x14,0x17,0x16,0x17,0x16,0x17, +0x16,0x33,0x32,0x37,0x36,0x37,0x36,0x37,0x36,0x35,0x11,0x21,0x22,0x27,0x26,0x35, +0x34,0x24,0x33,0x21,0x35,0x37,0x15,0x21,0x07,0x23,0x11,0x14,0x07,0x06,0x07,0x06, +0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36, +0x37,0x36,0x01,0x11,0x23,0x11,0x02,0xdd,0x1f,0x1a,0x1b,0x16,0x15,0x0c,0x0b,0x0b, +0x0c,0x15,0x16,0x1b,0x1a,0x1a,0x1c,0x13,0x13,0x10,0x11,0x08,0x08,0x09,0x0a,0x10, +0x14,0x10,0x18,0x20,0x3f,0x3e,0x49,0x2d,0x37,0x19,0x1b,0xfe,0xcd,0xde,0x87,0x76, +0x01,0x04,0xd7,0x01,0x33,0x8d,0x01,0x54,0x8c,0xc8,0x25,0x2b,0x3e,0x43,0x50,0x4e, +0x48,0x69,0x44,0x47,0x2d,0x32,0x16,0x18,0x18,0x19,0x2f,0x26,0x44,0x39,0x01,0xa8, +0xbe,0x01,0xd0,0x0b,0x0c,0x15,0x14,0x1d,0x1b,0x1f,0x1e,0x1b,0x1d,0x14,0x15,0x0c, +0x0b,0x09,0x08,0x10,0x10,0x13,0x14,0x2e,0x14,0x16,0x0e,0x12,0x06,0x09,0x1b,0x21, +0x2d,0x38,0x3d,0x44,0x44,0x01,0x5f,0x7f,0x6f,0xb8,0xbe,0xe8,0xc8,0x32,0xfa,0x7b, +0xfb,0xdb,0x6a,0x54,0x63,0x40,0x46,0x27,0x25,0x19,0x1a,0x2e,0x33,0x36,0x3c,0x40, +0x4d,0x31,0x33,0x37,0x2b,0x1d,0x18,0x01,0x34,0x02,0x56,0xfd,0xaa,0x00,0x00,0x02, +0x01,0x9e,0xff,0xdd,0x05,0x16,0x05,0xf0,0x00,0x17,0x00,0x35,0x00,0x00,0x01,0x32, +0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x26,0x27,0x26,0x35,0x34, +0x37,0x36,0x37,0x36,0x37,0x36,0x12,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14, +0x07,0x06,0x07,0x06,0x07,0x06,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37, +0x36,0x37,0x36,0x37,0x03,0x5a,0xa0,0x79,0x2a,0x2c,0x26,0x13,0x14,0x88,0xb2,0x82, +0x86,0xae,0x88,0x14,0x13,0x26,0x25,0x31,0x5d,0x7e,0x7c,0x34,0x35,0x2c,0x2d,0x15, +0x16,0x16,0x15,0x2d,0x2c,0x35,0x34,0x7c,0x34,0x35,0x2c,0x2d,0x15,0x16,0x16,0x15, +0x2d,0x2c,0x35,0x05,0xf0,0x28,0x0e,0x2b,0x26,0x30,0x31,0x34,0x7c,0x64,0x83,0xce, +0xce,0x83,0x66,0x7a,0x34,0x31,0x30,0x26,0x24,0x15,0x28,0xfc,0x46,0x16,0x18,0x2a, +0x2e,0x34,0x36,0x3d,0x3c,0x36,0x34,0x2e,0x2a,0x18,0x16,0x16,0x18,0x2a,0x2e,0x34, +0x36,0x3c,0x3d,0x36,0x34,0x2e,0x2a,0x18,0x00,0x02,0x01,0x4e,0xff,0xdd,0x05,0x66, +0x05,0xf0,0x00,0x25,0x00,0x43,0x00,0x00,0x01,0x26,0x25,0x26,0x35,0x34,0x37,0x36, +0x37,0x36,0x37,0x36,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x34,0x37,0x36,0x37, +0x36,0x37,0x36,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x04,0x02,0x32, +0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x22,0x27, +0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x03,0x5a,0x7b,0xfe, +0xf7,0x88,0x14,0x13,0x26,0x25,0x31,0x2d,0x6c,0x2e,0x2f,0x26,0x25,0x14,0x14,0x14, +0x14,0x25,0x26,0x2f,0x2e,0x6c,0x2d,0x31,0x25,0x26,0x13,0x14,0x88,0xfe,0xf6,0xb8, +0x7c,0x34,0x35,0x2c,0x2d,0x15,0x16,0x16,0x15,0x2d,0x2c,0x35,0x34,0x7c,0x34,0x35, +0x2c,0x2d,0x15,0x16,0x16,0x15,0x2d,0x2c,0x35,0x02,0xad,0xc4,0xa1,0x53,0x83,0x34, +0x31,0x30,0x26,0x24,0x15,0x14,0x14,0x14,0x25,0x25,0x31,0x2f,0x36,0x36,0x2f,0x31, +0x25,0x25,0x14,0x14,0x14,0x15,0x24,0x26,0x30,0x31,0x34,0x84,0x52,0xa1,0xfe,0xc5, +0x16,0x18,0x2a,0x2e,0x34,0x36,0x3d,0x3c,0x36,0x34,0x2e,0x2a,0x18,0x16,0x16,0x18, +0x2a,0x2e,0x34,0x36,0x3c,0x3d,0x36,0x34,0x2e,0x2a,0x18,0x00,0x00,0x01,0x00,0x6e, +0x00,0xab,0x06,0x46,0x05,0x28,0x00,0x25,0x00,0x00,0x25,0x26,0x25,0x26,0x35,0x34, +0x37,0x36,0x37,0x36,0x37,0x36,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x34,0x37, +0x36,0x37,0x36,0x37,0x36,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x04, +0x03,0x5a,0x89,0xfe,0x5f,0xc2,0x1c,0x1b,0x37,0x35,0x45,0x41,0x9a,0x41,0x44,0x36, +0x35,0x1d,0x1c,0x1c,0x1d,0x35,0x36,0x44,0x41,0x9a,0x41,0x45,0x35,0x37,0x1b,0x1c, +0xc2,0xfe,0x5f,0xab,0xef,0xf2,0x71,0xb2,0x4b,0x46,0x44,0x36,0x34,0x1e,0x1c,0x1c, +0x1d,0x35,0x34,0x46,0x43,0x4e,0x4e,0x43,0x46,0x34,0x35,0x1d,0x1c,0x1c,0x1e,0x34, +0x36,0x44,0x46,0x4b,0xb4,0x6f,0xf2,0x00,0x00,0x01,0x01,0x58,0xff,0xfe,0x05,0xd4, +0x05,0xd6,0x00,0x27,0x00,0x00,0x01,0x06,0x03,0x06,0x23,0x22,0x27,0x26,0x27,0x26, +0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x33,0x22,0x27,0x26,0x27,0x26, +0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x12,0x05,0xd4, +0xee,0xf2,0x72,0xb2,0x4a,0x46,0x44,0x36,0x34,0x1e,0x1c,0x1c,0x1c,0x36,0x34,0x46, +0x42,0x4e,0x4e,0x42,0x46,0x34,0x36,0x1c,0x1c,0x1c,0x1e,0x34,0x36,0x44,0x46,0x4a, +0xb4,0x70,0xf2,0x02,0xea,0x8a,0xfe,0x60,0xc2,0x1c,0x1a,0x38,0x34,0x46,0x40,0x4e, +0x4c,0x42,0x44,0x36,0x34,0x1e,0x1c,0x1c,0x1c,0x36,0x36,0x44,0x40,0x4e,0x4c,0x42, +0x44,0x36,0x36,0x1c,0x1c,0xc2,0xfe,0x5e,0x00,0x02,0x00,0x7e,0x00,0x2a,0x05,0xcb, +0x05,0x9e,0x00,0x0d,0x00,0x69,0x00,0x00,0x01,0x36,0x35,0x34,0x27,0x26,0x23,0x22, +0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x06,0x07,0x36,0x33,0x32,0x17,0x16,0x15,0x14, +0x05,0x06,0x15,0x14,0x33,0x32,0x37,0x36,0x33,0x32,0x15,0x14,0x21,0x22,0x27,0x26, +0x35,0x10,0x21,0x32,0x17,0x36,0x37,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x15,0x14, +0x16,0x15,0x14,0x07,0x06,0x23,0x22,0x27,0x26,0x35,0x34,0x37,0x36,0x33,0x32,0x1f, +0x01,0x34,0x37,0x36,0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x16,0x33,0x32,0x37,0x36, +0x35,0x34,0x27,0x26,0x35,0x34,0x37,0x36,0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x06, +0x23,0x22,0x03,0x97,0x0a,0x1d,0x18,0x36,0x1e,0x16,0x13,0x2b,0x4a,0x6f,0x15,0x2e, +0x5e,0x56,0x7c,0x3b,0x2d,0xfe,0xcb,0x99,0x69,0x74,0x10,0x33,0x36,0x3f,0xfe,0xc5, +0xcc,0xba,0xc6,0x01,0x05,0x66,0x51,0x4d,0x10,0x65,0xe6,0x45,0x4a,0x53,0x3f,0x28, +0x2a,0x1a,0x24,0x14,0x20,0x19,0x0e,0x73,0x5d,0x76,0x68,0x32,0x4b,0x29,0x2a,0x4e, +0x4c,0x31,0x33,0x10,0x3c,0x56,0x4c,0x2a,0x2d,0x15,0x2a,0x15,0x1f,0x38,0x41,0x2a, +0x14,0x8f,0x5f,0x78,0x41,0x04,0x67,0x30,0x2c,0x3f,0x29,0x21,0x12,0x0f,0x1b,0x3a, +0x22,0x39,0x8c,0x4a,0x4f,0x43,0x51,0x3e,0x5e,0xda,0x76,0x3a,0x4d,0x63,0x2a,0x84, +0x5a,0x9c,0x99,0xa3,0xfe,0x01,0x65,0x8d,0x97,0x43,0x30,0xaa,0x33,0x4e,0x33,0x35, +0x25,0x26,0x1d,0x17,0x14,0x1c,0x2d,0x19,0x4b,0x74,0x5c,0x4b,0x25,0x39,0x53,0x1f, +0x20,0x3e,0x42,0x57,0x4e,0x3d,0x11,0x21,0x24,0x1f,0x3f,0x12,0x24,0x15,0x38,0x1c, +0x28,0x46,0x21,0x35,0x7b,0x5e,0x3f,0x00,0x00,0x02,0x00,0xa0,0x01,0x5a,0x06,0x13, +0x04,0x84,0x00,0x07,0x00,0x4e,0x00,0x00,0x01,0x06,0x07,0x06,0x07,0x36,0x37,0x36, +0x01,0x20,0x35,0x34,0x37,0x26,0x27,0x26,0x07,0x16,0x07,0x06,0x07,0x16,0x33,0x32, +0x37,0x16,0x15,0x14,0x23,0x22,0x27,0x23,0x35,0x33,0x36,0x37,0x36,0x37,0x26,0x27, +0x26,0x27,0x26,0x35,0x34,0x33,0x06,0x15,0x14,0x17,0x16,0x17,0x32,0x17,0x16,0x17, +0x26,0x35,0x34,0x37,0x36,0x33,0x32,0x13,0x16,0x33,0x32,0x35,0x34,0x27,0x26,0x35, +0x34,0x33,0x32,0x15,0x14,0x07,0x06,0x01,0xdf,0x3f,0x2d,0x42,0x1b,0x4f,0x3e,0x42, +0x01,0xf9,0xfe,0x8b,0x76,0x30,0x36,0x28,0x27,0x02,0x4b,0x60,0x64,0x19,0x43,0x2b, +0x28,0x08,0x91,0x6b,0x14,0x24,0x27,0x1e,0x65,0x4d,0x3f,0x0f,0x24,0x23,0x3d,0x48, +0x62,0x0c,0x8f,0x42,0x04,0x3d,0x29,0x2b,0x38,0x1f,0x3d,0x2e,0x6d,0xd8,0x39,0x18, +0x65,0x62,0x0c,0x0b,0x50,0x42,0xf7,0xb0,0x03,0x3e,0x0e,0x24,0x33,0x67,0x1d,0x3a, +0x3d,0xfe,0x54,0xfe,0x45,0x42,0x37,0x1c,0x15,0x01,0x57,0x50,0x66,0x0f,0x47,0x2b, +0x1e,0x31,0x4b,0xab,0x48,0x8e,0x50,0x3c,0x02,0x12,0x12,0x12,0x0e,0x11,0x46,0x66, +0x1d,0x23,0x26,0x54,0x27,0x19,0x13,0x14,0x30,0x50,0x2b,0x41,0x27,0x1d,0xfe,0x93, +0x9a,0x3c,0x1e,0x12,0x11,0x1b,0x3c,0x51,0xad,0x62,0x46,0x00,0x00,0x01,0x01,0x91, +0xfe,0xe4,0x05,0x2f,0x06,0x27,0x00,0x20,0x00,0x00,0x01,0x22,0x27,0x26,0x27,0x26, +0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x33,0x15,0x22,0x07,0x06,0x02, +0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x33,0x05,0x2f,0xba,0xa9,0xa1, +0x8a,0x86,0x46,0x44,0x44,0x40,0x8c,0x84,0xa7,0xa9,0xba,0x6d,0x68,0x60,0xa6,0x28, +0x28,0x28,0x28,0x53,0x4e,0x65,0x63,0x72,0xfe,0xe4,0x47,0x43,0x89,0x85,0xa7,0xa4, +0xbb,0xbd,0xa9,0x9d,0x8f,0x86,0x46,0x47,0x2f,0x43,0x3e,0xfe,0xfa,0x9b,0x9c,0xb8, +0xb1,0x9c,0x9b,0x83,0x7d,0x44,0x43,0x00,0x00,0x01,0x01,0x91,0xfe,0xe4,0x05,0x2f, +0x06,0x27,0x00,0x20,0x00,0x00,0x01,0x35,0x32,0x37,0x36,0x37,0x36,0x37,0x36,0x35, +0x34,0x27,0x26,0x02,0x27,0x26,0x23,0x35,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x15, +0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x01,0x91,0x72,0x63,0x65,0x4e,0x53,0x28,0x28, +0x28,0x28,0xa6,0x60,0x68,0x6d,0xba,0xa9,0xa7,0x84,0x8c,0x40,0x44,0x44,0x46,0x86, +0x8a,0xa1,0xa9,0xfe,0xe4,0x2f,0x43,0x44,0x7d,0x83,0x9b,0x9c,0xb1,0xb8,0x9c,0x9b, +0x01,0x06,0x3e,0x43,0x2f,0x47,0x46,0x86,0x8f,0x9d,0xa9,0xbd,0xbb,0xa4,0xa7,0x85, +0x89,0x43,0x47,0x00,0x00,0x01,0x02,0x1d,0xfe,0xf1,0x04,0x98,0x06,0x11,0x00,0x0c, +0x00,0x00,0x01,0x06,0x02,0x10,0x12,0x17,0x21,0x26,0x02,0x35,0x34,0x12,0x37,0x04, +0x98,0x86,0x82,0x83,0x85,0xfe,0xb0,0x96,0x95,0x94,0x97,0x06,0x11,0xe6,0xfe,0x3e, +0xfe,0x32,0xfe,0x3b,0xe5,0xeb,0x01,0xc6,0xe0,0xdf,0x01,0xc4,0xec,0x00,0x00,0x01, +0x02,0x1d,0xfe,0xf1,0x04,0x98,0x06,0x11,0x00,0x0e,0x00,0x00,0x01,0x21,0x16,0x12, +0x15,0x14,0x07,0x06,0x07,0x21,0x36,0x37,0x36,0x10,0x02,0x02,0x1d,0x01,0x50,0x97, +0x94,0x4a,0x4b,0x96,0xfe,0xb0,0x85,0x42,0x41,0x82,0x06,0x11,0xec,0xfe,0x3c,0xdf, +0xe0,0xe3,0xe3,0xeb,0xe5,0xe2,0xe3,0x01,0xce,0x01,0xc2,0x00,0x00,0x01,0x01,0xb9, +0xfe,0x14,0x04,0xdb,0x06,0x14,0x00,0x05,0x00,0x00,0x01,0x21,0x09,0x01,0x21,0x01, +0x04,0xdb,0xfe,0xdc,0xfe,0x02,0x01,0xfe,0x01,0x24,0xfe,0x00,0xfe,0x14,0x04,0x00, +0x04,0x00,0xfc,0x00,0x00,0x01,0x01,0xdb,0xfe,0x14,0x04,0xfc,0x06,0x14,0x00,0x05, +0x00,0x00,0x09,0x02,0x21,0x09,0x01,0x01,0xdb,0x01,0xff,0xfe,0x02,0x01,0x22,0x01, +0xfe,0xfe,0x02,0xfe,0x14,0x04,0x00,0x04,0x00,0xfc,0x00,0xfc,0x00,0x00,0x00,0x01, +0x01,0x23,0xfe,0x14,0x05,0x7b,0x06,0x14,0x00,0x05,0x00,0x00,0x01,0x21,0x09,0x01, +0x21,0x01,0x05,0x7b,0xfe,0x3c,0xfd,0x6c,0x02,0x94,0x01,0xc4,0xfd,0x60,0xfe,0x14, +0x04,0x00,0x04,0x00,0xfc,0x00,0x00,0x01,0x01,0x39,0xfe,0x14,0x05,0x91,0x06,0x14, +0x00,0x05,0x00,0x00,0x09,0x02,0x21,0x09,0x01,0x01,0x39,0x02,0xa0,0xfd,0x60,0x01, +0xc4,0x02,0x94,0xfd,0x6c,0xfe,0x14,0x04,0x00,0x04,0x00,0xfc,0x00,0xfc,0x00,0x00, +0x00,0x01,0x01,0x55,0xfe,0x14,0x05,0x3f,0x06,0x14,0x00,0x05,0x00,0x00,0x01,0x21, +0x09,0x01,0x21,0x01,0x05,0x3f,0xfe,0x14,0xfe,0x02,0x01,0xfe,0x01,0xec,0xfe,0x00, +0xfe,0x14,0x04,0x00,0x04,0x00,0xfc,0x00,0x00,0x01,0x01,0x77,0xfe,0x14,0x05,0x60, +0x06,0x14,0x00,0x05,0x00,0x00,0x09,0x02,0x21,0x09,0x01,0x01,0x77,0x01,0xff,0xfe, +0x02,0x01,0xea,0x01,0xfe,0xfe,0x02,0xfe,0x14,0x04,0x00,0x04,0x00,0xfc,0x00,0xfc, +0x00,0x00,0x00,0x01,0x02,0xc4,0xfe,0x13,0x04,0x48,0x06,0x14,0x00,0x07,0x00,0x00, +0x05,0x17,0x07,0x01,0x11,0x01,0x17,0x07,0x03,0x5a,0xee,0x6a,0xfe,0xe6,0x01,0x1a, +0x6a,0xee,0x95,0xee,0x6a,0x01,0x1a,0x05,0xcd,0x01,0x1a,0x6a,0xee,0x00,0x00,0x01, +0x02,0x6c,0xfe,0x13,0x03,0xf0,0x06,0x14,0x00,0x07,0x00,0x00,0x01,0x27,0x37,0x01, +0x11,0x01,0x27,0x37,0x03,0x5a,0xee,0x6a,0x01,0x1a,0xfe,0xe6,0x6a,0xee,0x04,0xbc, +0xee,0x6a,0xfe,0xe6,0xfa,0x33,0xfe,0xe6,0x6a,0xee,0x00,0x01,0x01,0x66,0xfe,0xb2, +0x05,0x13,0x06,0x14,0x00,0x24,0x00,0x00,0x05,0x15,0x23,0x22,0x26,0x3d,0x01,0x34, +0x26,0x2b,0x01,0x35,0x33,0x32,0x36,0x3d,0x01,0x34,0x36,0x3b,0x01,0x15,0x23,0x22, +0x06,0x1d,0x01,0x14,0x06,0x07,0x1e,0x01,0x1d,0x01,0x14,0x16,0x33,0x05,0x13,0xd4, +0xf9,0xa9,0x6c,0x8e,0x3d,0x3d,0x8f,0x6b,0xa9,0xf9,0xd4,0x44,0x8d,0x56,0x5b,0x6e, +0x6f,0x5a,0x56,0x8d,0xbe,0x90,0x94,0xdd,0xef,0x97,0x74,0x8f,0x73,0x95,0xf0,0xdd, +0x93,0x8f,0x58,0x8d,0xf8,0x9d,0x8e,0x19,0x1b,0x8e,0x9c,0xf8,0x8d,0x58,0x00,0x01, +0x01,0xa1,0xfe,0xb2,0x05,0x4e,0x06,0x14,0x00,0x28,0x00,0x00,0x05,0x33,0x32,0x36, +0x3d,0x01,0x34,0x36,0x37,0x26,0x27,0x26,0x3d,0x01,0x34,0x26,0x2b,0x01,0x35,0x33, +0x32,0x17,0x16,0x1d,0x01,0x14,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x06,0x1d,0x01, +0x14,0x07,0x06,0x2b,0x01,0x01,0xa1,0x44,0x8d,0x56,0x5a,0x6f,0x6e,0x2e,0x2d,0x56, +0x8d,0x44,0xd4,0xf9,0x55,0x54,0x36,0x35,0x8f,0x3d,0x3d,0x8e,0x6c,0x54,0x55,0xf9, +0xd4,0xbe,0x58,0x8d,0xf8,0x9c,0x8e,0x1b,0x19,0x47,0x47,0x9d,0xf8,0x8d,0x58,0x8f, +0x4a,0x49,0xdd,0xf0,0x95,0x39,0x3a,0x8f,0x74,0x97,0xef,0xdd,0x4a,0x4a,0x00,0x02, +0x00,0x98,0xff,0xec,0x06,0x94,0x05,0xe8,0x00,0x0d,0x00,0x18,0x00,0x1b,0x00,0xba, +0x00,0x0e,0x00,0x03,0x00,0x03,0x2b,0xb8,0x00,0x0e,0x10,0xba,0x00,0x0a,0x00,0x13, +0x00,0x03,0x2b,0xb8,0x00,0x0a,0x10,0x30,0x31,0x01,0x10,0x00,0x21,0x20,0x00,0x11, +0x34,0x12,0x24,0x33,0x32,0x04,0x12,0x01,0x21,0x35,0x23,0x11,0x23,0x05,0x15,0x37, +0x11,0x23,0x06,0x94,0xfe,0x3f,0xfe,0xc2,0xfe,0xc4,0xfe,0x3f,0xce,0x01,0x71,0xbe, +0xc1,0x01,0x71,0xcd,0xfb,0xd3,0x02,0x69,0xda,0xa1,0xfe,0xff,0xec,0xd9,0x02,0xea, +0xfe,0xc1,0xfe,0x41,0x01,0xbf,0x01,0x3f,0xc6,0x01,0x72,0xc6,0xc6,0xfe,0x90,0xfd, +0x5c,0x8e,0x03,0x1a,0x2f,0x98,0x2b,0xfd,0x82,0x00,0x00,0x02,0x00,0x98,0xff,0xec, +0x06,0x94,0x05,0xe8,0x00,0x0d,0x00,0x2a,0x00,0x1b,0x00,0xba,0x00,0x25,0x00,0x03, +0x00,0x03,0x2b,0xb8,0x00,0x25,0x10,0xba,0x00,0x0a,0x00,0x14,0x00,0x03,0x2b,0xb8, +0x00,0x0a,0x10,0x30,0x31,0x01,0x10,0x00,0x21,0x20,0x00,0x11,0x34,0x12,0x24,0x33, +0x32,0x04,0x12,0x05,0x3e,0x01,0x35,0x34,0x26,0x23,0x22,0x06,0x07,0x15,0x3e,0x01, +0x33,0x32,0x16,0x15,0x14,0x06,0x07,0x06,0x04,0x07,0x15,0x21,0x35,0x21,0x3e,0x01, +0x06,0x94,0xfe,0x3f,0xfe,0xc2,0xfe,0xc4,0xfe,0x3f,0xce,0x01,0x71,0xbe,0xc1,0x01, +0x71,0xcd,0xfd,0xe6,0x3e,0x30,0xc5,0xa3,0x3d,0x91,0x61,0x73,0x84,0x3b,0x4e,0x5f, +0x2f,0x3e,0x21,0xfe,0xfa,0x52,0x02,0xa4,0xfe,0x4c,0x7d,0xb2,0x02,0xea,0xfe,0xc1, +0xfe,0x41,0x01,0xbf,0x01,0x3f,0xc6,0x01,0x72,0xc6,0xc6,0xfe,0x90,0xe9,0x46,0x69, +0x3a,0x7d,0x97,0x1f,0x24,0xab,0x3a,0x26,0x4e,0x3f,0x28,0x55,0x3f,0x22,0xf1,0x4d, +0x81,0x8e,0x74,0xa7,0x00,0x02,0x00,0x98,0xff,0xec,0x06,0x94,0x05,0xe8,0x00,0x0d, +0x00,0x36,0x00,0x99,0xba,0x00,0x00,0x00,0x0e,0x00,0x03,0x2b,0x41,0x05,0x00,0xea, +0x00,0x0e,0x00,0xfa,0x00,0x0e,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x0e,0x00, +0x29,0x00,0x0e,0x00,0x39,0x00,0x0e,0x00,0x49,0x00,0x0e,0x00,0x59,0x00,0x0e,0x00, +0x69,0x00,0x0e,0x00,0x79,0x00,0x0e,0x00,0x89,0x00,0x0e,0x00,0x99,0x00,0x0e,0x00, +0xa9,0x00,0x0e,0x00,0xb9,0x00,0x0e,0x00,0xc9,0x00,0x0e,0x00,0xd9,0x00,0x0e,0x00, +0x0d,0x5d,0xb8,0x00,0x31,0xdc,0x00,0xba,0x00,0x2e,0x00,0x03,0x00,0x03,0x2b,0xb8, +0x00,0x2e,0x10,0xba,0x00,0x0a,0x00,0x11,0x00,0x03,0x2b,0xb8,0x00,0x0a,0x10,0xba, +0x00,0x21,0x00,0x27,0x00,0x03,0x2b,0xb8,0x00,0x21,0x10,0xba,0x00,0x18,0x00,0x1e, +0x00,0x03,0x2b,0xb8,0x00,0x18,0x10,0xba,0x00,0x15,0x00,0x1e,0x00,0x18,0x11,0x12, +0x39,0xba,0x00,0x2a,0x00,0x27,0x00,0x21,0x11,0x12,0x39,0x30,0x31,0x01,0x10,0x00, +0x21,0x20,0x00,0x11,0x34,0x12,0x24,0x33,0x32,0x04,0x12,0x25,0x34,0x26,0x23,0x22, +0x06,0x07,0x15,0x3e,0x01,0x33,0x32,0x16,0x15,0x14,0x06,0x2b,0x01,0x15,0x33,0x32, +0x16,0x15,0x14,0x06,0x23,0x22,0x26,0x27,0x15,0x1e,0x01,0x33,0x32,0x36,0x35,0x34, +0x26,0x27,0x32,0x36,0x06,0x94,0xfe,0x3f,0xfe,0xc2,0xfe,0xc4,0xfe,0x3f,0xce,0x01, +0x71,0xbe,0xc1,0x01,0x71,0xcd,0xfe,0x7c,0xc1,0xa1,0x3d,0x88,0x5f,0x6b,0x79,0x34, +0x5b,0x5c,0x58,0x5a,0x91,0x8c,0x63,0x6b,0x73,0x75,0x44,0x7d,0x5b,0x58,0x88,0x40, +0xc3,0xd8,0x76,0x0d,0x04,0x68,0x02,0xea,0xfe,0xc1,0xfe,0x41,0x01,0xbf,0x01,0x3f, +0xc6,0x01,0x72,0xc6,0xc6,0xfe,0x90,0x18,0x73,0x89,0x14,0x18,0x97,0x20,0x15,0x3f, +0x3c,0x3a,0x3c,0x8c,0x4e,0x47,0x4c,0x4f,0x1c,0x30,0xa8,0x1b,0x17,0x9c,0x8d,0x5d, +0x81,0x03,0x72,0x00,0x00,0x03,0x00,0x98,0xff,0xec,0x06,0x94,0x05,0xe8,0x00,0x0d, +0x00,0x10,0x00,0x1b,0x00,0x1b,0x00,0xba,0x00,0x14,0x00,0x03,0x00,0x03,0x2b,0xb8, +0x00,0x14,0x10,0xba,0x00,0x0a,0x00,0x1b,0x00,0x03,0x2b,0xb8,0x00,0x0a,0x10,0x30, +0x31,0x01,0x10,0x00,0x21,0x20,0x00,0x11,0x34,0x12,0x24,0x33,0x32,0x04,0x12,0x01, +0x21,0x09,0x01,0x15,0x21,0x15,0x33,0x35,0x33,0x35,0x23,0x11,0x23,0x06,0x94,0xfe, +0x3f,0xfe,0xc2,0xfe,0xc4,0xfe,0x3f,0xce,0x01,0x71,0xbe,0xc1,0x01,0x71,0xcd,0xfd, +0x16,0xfe,0xf3,0x01,0x0d,0xfe,0x43,0x01,0xbd,0xb6,0x8d,0x8d,0xce,0x02,0xea,0xfe, +0xc1,0xfe,0x41,0x01,0xbf,0x01,0x3f,0xc6,0x01,0x72,0xc6,0xc6,0xfe,0x90,0xfe,0xbc, +0x01,0x7e,0xfe,0x83,0x8e,0xd3,0xd3,0x8d,0x02,0x48,0x00,0x02,0x00,0x98,0xff,0xec, +0x06,0x94,0x05,0xe8,0x00,0x0d,0x00,0x2b,0x00,0x8b,0xba,0x00,0x00,0x00,0x21,0x00, +0x03,0x2b,0x41,0x05,0x00,0xea,0x00,0x21,0x00,0xfa,0x00,0x21,0x00,0x02,0x5d,0x41, +0x1b,0x00,0x19,0x00,0x21,0x00,0x29,0x00,0x21,0x00,0x39,0x00,0x21,0x00,0x49,0x00, +0x21,0x00,0x59,0x00,0x21,0x00,0x69,0x00,0x21,0x00,0x79,0x00,0x21,0x00,0x89,0x00, +0x21,0x00,0x99,0x00,0x21,0x00,0xa9,0x00,0x21,0x00,0xb9,0x00,0x21,0x00,0xc9,0x00, +0x21,0x00,0xd9,0x00,0x21,0x00,0x0d,0x5d,0x00,0xba,0x00,0x1e,0x00,0x03,0x00,0x03, +0x2b,0xb8,0x00,0x1e,0x10,0xba,0x00,0x0a,0x00,0x2b,0x00,0x03,0x2b,0xb8,0x00,0x0a, +0x10,0xba,0x00,0x11,0x00,0x17,0x00,0x03,0x2b,0xb8,0x00,0x11,0x10,0xba,0x00,0x28, +0x00,0x24,0x00,0x03,0x2b,0xb8,0x00,0x28,0x10,0xba,0x00,0x1a,0x00,0x17,0x00,0x11, +0x11,0x12,0x39,0x30,0x31,0x01,0x10,0x00,0x21,0x20,0x00,0x11,0x34,0x12,0x24,0x33, +0x32,0x04,0x12,0x05,0x3e,0x01,0x33,0x32,0x16,0x15,0x14,0x06,0x23,0x22,0x26,0x27, +0x15,0x1e,0x01,0x33,0x32,0x36,0x35,0x34,0x26,0x23,0x22,0x06,0x37,0x35,0x21,0x35, +0x21,0x06,0x94,0xfe,0x3f,0xfe,0xc2,0xfe,0xc4,0xfe,0x3f,0xce,0x01,0x71,0xbe,0xc1, +0x01,0x71,0xcd,0xfb,0xef,0x59,0x65,0x32,0x68,0x76,0x76,0x68,0x44,0x77,0x5f,0x58, +0x85,0x40,0xbe,0xd5,0xcf,0xb0,0x1f,0x3f,0x03,0x01,0x91,0xfd,0xc3,0x02,0xea,0xfe, +0xc1,0xfe,0x41,0x01,0xbf,0x01,0x3f,0xc6,0x01,0x72,0xc6,0xc6,0xfe,0x90,0xf3,0x25, +0x14,0x61,0x56,0x55,0x61,0x1b,0x2f,0xac,0x18,0x14,0xac,0x98,0x95,0xb0,0x0a,0x01, +0xab,0x8e,0x00,0x03,0x00,0x98,0xff,0xec,0x06,0x94,0x05,0xe8,0x00,0x0d,0x00,0x19, +0x00,0x32,0x00,0xf1,0xb8,0x00,0x33,0x2f,0xb8,0x00,0x34,0x2f,0xb8,0x00,0x33,0x10, +0xb8,0x00,0x06,0xd0,0xb8,0x00,0x06,0x2f,0xb8,0x00,0x34,0x10,0xb8,0x00,0x0e,0xdc, +0xb8,0x00,0x14,0xdc,0x41,0x05,0x00,0xea,0x00,0x14,0x00,0xfa,0x00,0x14,0x00,0x02, +0x5d,0x41,0x1b,0x00,0x19,0x00,0x14,0x00,0x29,0x00,0x14,0x00,0x39,0x00,0x14,0x00, +0x49,0x00,0x14,0x00,0x59,0x00,0x14,0x00,0x69,0x00,0x14,0x00,0x79,0x00,0x14,0x00, +0x89,0x00,0x14,0x00,0x99,0x00,0x14,0x00,0xa9,0x00,0x14,0x00,0xb9,0x00,0x14,0x00, +0xc9,0x00,0x14,0x00,0xd9,0x00,0x14,0x00,0x0d,0x5d,0xb8,0x00,0x06,0x10,0xb8,0x00, +0x1d,0xdc,0x41,0x1b,0x00,0x16,0x00,0x1d,0x00,0x26,0x00,0x1d,0x00,0x36,0x00,0x1d, +0x00,0x46,0x00,0x1d,0x00,0x56,0x00,0x1d,0x00,0x66,0x00,0x1d,0x00,0x76,0x00,0x1d, +0x00,0x86,0x00,0x1d,0x00,0x96,0x00,0x1d,0x00,0xa6,0x00,0x1d,0x00,0xb6,0x00,0x1d, +0x00,0xc6,0x00,0x1d,0x00,0xd6,0x00,0x1d,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00, +0x1d,0x00,0xf5,0x00,0x1d,0x00,0x02,0x5d,0x00,0xba,0x00,0x20,0x00,0x03,0x00,0x03, +0x2b,0xb8,0x00,0x20,0x10,0xba,0x00,0x0a,0x00,0x1a,0x00,0x03,0x2b,0xb8,0x00,0x0a, +0x10,0xba,0x00,0x17,0x00,0x11,0x00,0x03,0x2b,0xb8,0x00,0x17,0x10,0xba,0x00,0x2c, +0x00,0x26,0x00,0x03,0x2b,0xb8,0x00,0x2c,0x10,0xba,0x00,0x2f,0x00,0x26,0x00,0x2c, +0x11,0x12,0x39,0x30,0x31,0x01,0x10,0x00,0x21,0x20,0x00,0x11,0x34,0x12,0x24,0x33, +0x32,0x04,0x12,0x01,0x14,0x06,0x23,0x22,0x26,0x35,0x34,0x36,0x33,0x32,0x16,0x03, +0x22,0x02,0x15,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x23,0x22,0x06,0x37,0x3e, +0x01,0x33,0x32,0x16,0x17,0x35,0x2e,0x01,0x06,0x94,0xfe,0x3f,0xfe,0xc2,0xfe,0xc4, +0xfe,0x3f,0xce,0x01,0x71,0xbe,0xc1,0x01,0x71,0xcd,0xfd,0xa2,0x5c,0x4e,0x4e,0x5c, +0x5c,0x4e,0x4e,0x5c,0x71,0xc8,0xea,0xc0,0xb9,0xa0,0xc2,0xba,0xa0,0x4e,0x80,0x09, +0x05,0x7f,0x77,0x2f,0x61,0x54,0x4a,0x6a,0x02,0xea,0xfe,0xc1,0xfe,0x41,0x01,0xbf, +0x01,0x3f,0xc6,0x01,0x72,0xc6,0xc6,0xfe,0x90,0xfe,0x8f,0x5a,0x62,0x62,0x5a,0x5b, +0x62,0x62,0x02,0x2a,0xfe,0xf5,0xda,0xe7,0xfd,0xb3,0x91,0x94,0xb1,0x3d,0x0b,0x50, +0x94,0x16,0x23,0x9c,0x18,0x13,0x00,0x02,0x00,0x98,0xff,0xec,0x06,0x94,0x05,0xe8, +0x00,0x0d,0x00,0x14,0x00,0x1b,0x00,0xba,0x00,0x11,0x00,0x03,0x00,0x03,0x2b,0xb8, +0x00,0x11,0x10,0xba,0x00,0x0a,0x00,0x14,0x00,0x03,0x2b,0xb8,0x00,0x0a,0x10,0x30, +0x31,0x01,0x10,0x00,0x21,0x20,0x00,0x11,0x34,0x12,0x24,0x33,0x32,0x04,0x12,0x25, +0x21,0x01,0x33,0x01,0x35,0x21,0x06,0x94,0xfe,0x3f,0xfe,0xc2,0xfe,0xc4,0xfe,0x3f, +0xce,0x01,0x71,0xbe,0xc1,0x01,0x71,0xcd,0xfb,0xc2,0x01,0xcf,0xfe,0xaf,0xc1,0x01, +0x6c,0xfd,0x55,0x02,0xea,0xfe,0xc1,0xfe,0x41,0x01,0xbf,0x01,0x3f,0xc6,0x01,0x72, +0xc6,0xc6,0xfe,0x90,0x76,0xfc,0xe6,0x03,0x5d,0x4b,0x00,0x04,0x00,0x98,0xff,0xec, +0x06,0x94,0x05,0xe8,0x00,0x0d,0x00,0x19,0x00,0x31,0x00,0x3d,0x01,0x8b,0xba,0x00, +0x1a,0x00,0x06,0x00,0x03,0x2b,0xb8,0x00,0x1a,0x10,0xba,0x00,0x0e,0x00,0x14,0x00, +0x03,0x2b,0xb8,0x00,0x0e,0x10,0xba,0x00,0x00,0x00,0x20,0x00,0x03,0x2b,0xb8,0x00, +0x00,0x10,0x41,0x05,0x00,0xea,0x00,0x14,0x00,0xfa,0x00,0x14,0x00,0x02,0x5d,0x41, +0x1b,0x00,0x19,0x00,0x14,0x00,0x29,0x00,0x14,0x00,0x39,0x00,0x14,0x00,0x49,0x00, +0x14,0x00,0x59,0x00,0x14,0x00,0x69,0x00,0x14,0x00,0x79,0x00,0x14,0x00,0x89,0x00, +0x14,0x00,0x99,0x00,0x14,0x00,0xa9,0x00,0x14,0x00,0xb9,0x00,0x14,0x00,0xc9,0x00, +0x14,0x00,0xd9,0x00,0x14,0x00,0x0d,0x5d,0x41,0x1b,0x00,0x16,0x00,0x1a,0x00,0x26, +0x00,0x1a,0x00,0x36,0x00,0x1a,0x00,0x46,0x00,0x1a,0x00,0x56,0x00,0x1a,0x00,0x66, +0x00,0x1a,0x00,0x76,0x00,0x1a,0x00,0x86,0x00,0x1a,0x00,0x96,0x00,0x1a,0x00,0xa6, +0x00,0x1a,0x00,0xb6,0x00,0x1a,0x00,0xc6,0x00,0x1a,0x00,0xd6,0x00,0x1a,0x00,0x0d, +0x5d,0x41,0x05,0x00,0xe5,0x00,0x1a,0x00,0xf5,0x00,0x1a,0x00,0x02,0x5d,0x41,0x05, +0x00,0xea,0x00,0x20,0x00,0xfa,0x00,0x20,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00, +0x20,0x00,0x29,0x00,0x20,0x00,0x39,0x00,0x20,0x00,0x49,0x00,0x20,0x00,0x59,0x00, +0x20,0x00,0x69,0x00,0x20,0x00,0x79,0x00,0x20,0x00,0x89,0x00,0x20,0x00,0x99,0x00, +0x20,0x00,0xa9,0x00,0x20,0x00,0xb9,0x00,0x20,0x00,0xc9,0x00,0x20,0x00,0xd9,0x00, +0x20,0x00,0x0d,0x5d,0xba,0x00,0x2f,0x00,0x06,0x00,0x00,0x11,0x12,0x39,0xba,0x00, +0x3b,0x00,0x14,0x00,0x0e,0x11,0x12,0x39,0xb8,0x00,0x3b,0x2f,0x41,0x05,0x00,0xea, +0x00,0x3b,0x00,0xfa,0x00,0x3b,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x3b,0x00, +0x29,0x00,0x3b,0x00,0x39,0x00,0x3b,0x00,0x49,0x00,0x3b,0x00,0x59,0x00,0x3b,0x00, +0x69,0x00,0x3b,0x00,0x79,0x00,0x3b,0x00,0x89,0x00,0x3b,0x00,0x99,0x00,0x3b,0x00, +0xa9,0x00,0x3b,0x00,0xb9,0x00,0x3b,0x00,0xc9,0x00,0x3b,0x00,0xd9,0x00,0x3b,0x00, +0x0d,0x5d,0xb8,0x00,0x35,0xdc,0x00,0xba,0x00,0x1d,0x00,0x03,0x00,0x03,0x2b,0xb8, +0x00,0x1d,0x10,0xba,0x00,0x0a,0x00,0x29,0x00,0x03,0x2b,0xb8,0x00,0x0a,0x10,0xba, +0x00,0x17,0x00,0x11,0x00,0x03,0x2b,0xb8,0x00,0x17,0x10,0xba,0x00,0x32,0x00,0x38, +0x00,0x03,0x2b,0xb8,0x00,0x32,0x10,0x30,0x31,0x01,0x10,0x00,0x21,0x20,0x00,0x11, +0x34,0x12,0x24,0x33,0x32,0x04,0x12,0x01,0x14,0x06,0x23,0x22,0x26,0x35,0x34,0x36, +0x33,0x32,0x16,0x05,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x27,0x3e,0x01,0x35, +0x34,0x26,0x23,0x22,0x06,0x15,0x14,0x16,0x17,0x0e,0x01,0x01,0x32,0x16,0x15,0x14, +0x06,0x23,0x22,0x26,0x35,0x34,0x36,0x06,0x94,0xfe,0x3f,0xfe,0xc2,0xfe,0xc4,0xfe, +0x3f,0xce,0x01,0x71,0xbe,0xc1,0x01,0x71,0xcd,0xfd,0xb9,0x5f,0x54,0x54,0x5f,0x5f, +0x54,0x54,0x5f,0xfd,0xe2,0xbe,0xad,0xad,0xbe,0x76,0x0f,0x04,0x69,0xb6,0x9d,0x9d, +0xb7,0x6a,0x04,0x0f,0x76,0x01,0x6b,0x4b,0x52,0x52,0x4b,0x4d,0x51,0x51,0x02,0xea, +0xfe,0xc1,0xfe,0x41,0x01,0xbf,0x01,0x3f,0xc6,0x01,0x72,0xc6,0xc6,0xfe,0x90,0xfe, +0x6c,0x48,0x51,0x50,0x49,0x49,0x50,0x50,0x49,0x8a,0x97,0x97,0x8a,0x5c,0x83,0x03, +0x01,0x76,0x53,0x74,0x88,0x88,0x74,0x53,0x76,0x01,0x03,0x83,0x01,0xc4,0x42,0x3e, +0x3d,0x42,0x42,0x3d,0x3e,0x42,0x00,0x03,0x00,0x98,0xff,0xec,0x06,0x94,0x05,0xe8, +0x00,0x0d,0x00,0x26,0x00,0x32,0x00,0xe9,0xb8,0x00,0x33,0x2f,0xb8,0x00,0x34,0x2f, +0xb8,0x00,0x00,0xdc,0xb8,0x00,0x11,0xdc,0x41,0x05,0x00,0xea,0x00,0x11,0x00,0xfa, +0x00,0x11,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x11,0x00,0x29,0x00,0x11,0x00, +0x39,0x00,0x11,0x00,0x49,0x00,0x11,0x00,0x59,0x00,0x11,0x00,0x69,0x00,0x11,0x00, +0x79,0x00,0x11,0x00,0x89,0x00,0x11,0x00,0x99,0x00,0x11,0x00,0xa9,0x00,0x11,0x00, +0xb9,0x00,0x11,0x00,0xc9,0x00,0x11,0x00,0xd9,0x00,0x11,0x00,0x0d,0x5d,0xb8,0x00, +0x33,0x10,0xb8,0x00,0x27,0xd0,0xb8,0x00,0x27,0x2f,0xb8,0x00,0x2d,0xdc,0x41,0x1b, +0x00,0x16,0x00,0x2d,0x00,0x26,0x00,0x2d,0x00,0x36,0x00,0x2d,0x00,0x46,0x00,0x2d, +0x00,0x56,0x00,0x2d,0x00,0x66,0x00,0x2d,0x00,0x76,0x00,0x2d,0x00,0x86,0x00,0x2d, +0x00,0x96,0x00,0x2d,0x00,0xa6,0x00,0x2d,0x00,0xb6,0x00,0x2d,0x00,0xc6,0x00,0x2d, +0x00,0xd6,0x00,0x2d,0x00,0x0d,0x5d,0x41,0x05,0x00,0xe5,0x00,0x2d,0x00,0xf5,0x00, +0x2d,0x00,0x02,0x5d,0x00,0xba,0x00,0x0e,0x00,0x03,0x00,0x03,0x2b,0xb8,0x00,0x0e, +0x10,0xba,0x00,0x0a,0x00,0x14,0x00,0x03,0x2b,0xb8,0x00,0x0a,0x10,0xba,0x00,0x1a, +0x00,0x20,0x00,0x03,0x2b,0xb8,0x00,0x1a,0x10,0xba,0x00,0x2a,0x00,0x30,0x00,0x03, +0x2b,0xb8,0x00,0x2a,0x10,0xba,0x00,0x23,0x00,0x20,0x00,0x1a,0x11,0x12,0x39,0x30, +0x31,0x01,0x10,0x00,0x21,0x20,0x00,0x11,0x34,0x12,0x24,0x33,0x32,0x04,0x12,0x01, +0x32,0x12,0x35,0x34,0x26,0x23,0x22,0x06,0x15,0x14,0x16,0x33,0x32,0x36,0x07,0x0e, +0x01,0x23,0x22,0x26,0x27,0x15,0x1e,0x01,0x03,0x34,0x36,0x33,0x32,0x16,0x15,0x14, +0x06,0x23,0x22,0x26,0x06,0x94,0xfe,0x3f,0xfe,0xc2,0xfe,0xc4,0xfe,0x3f,0xce,0x01, +0x71,0xbe,0xc1,0x01,0x71,0xcd,0xfc,0xd1,0xc8,0xe9,0xbf,0xb9,0xa0,0xc2,0xba,0x9f, +0x4f,0x80,0x0a,0x05,0x7f,0x77,0x2e,0x61,0x55,0x4a,0x6b,0x3c,0x5c,0x4e,0x4e,0x5b, +0x5b,0x4e,0x4e,0x5c,0x02,0xea,0xfe,0xc1,0xfe,0x41,0x01,0xbf,0x01,0x3f,0xc6,0x01, +0x72,0xc6,0xc6,0xfe,0x90,0xfd,0x4b,0x01,0x0a,0xda,0xe8,0xfd,0xb4,0x91,0x94,0xaf, +0x3c,0x0d,0x4f,0x93,0x15,0x24,0x9c,0x18,0x13,0x02,0x84,0x5b,0x62,0x62,0x5b,0x5b, +0x62,0x62,0x00,0x04,0x00,0x98,0xff,0xec,0x06,0x94,0x05,0xe8,0x00,0x0d,0x00,0x18, +0x00,0x24,0x00,0x30,0x00,0xd3,0xba,0x00,0x25,0x00,0x11,0x00,0x03,0x2b,0xb8,0x00, +0x25,0x10,0xba,0x00,0x19,0x00,0x1f,0x00,0x03,0x2b,0xb8,0x00,0x19,0x10,0xba,0x00, +0x00,0x00,0x2b,0x00,0x03,0x2b,0xb8,0x00,0x00,0x10,0x41,0x05,0x00,0xea,0x00,0x1f, +0x00,0xfa,0x00,0x1f,0x00,0x02,0x5d,0x41,0x1b,0x00,0x19,0x00,0x1f,0x00,0x29,0x00, +0x1f,0x00,0x39,0x00,0x1f,0x00,0x49,0x00,0x1f,0x00,0x59,0x00,0x1f,0x00,0x69,0x00, +0x1f,0x00,0x79,0x00,0x1f,0x00,0x89,0x00,0x1f,0x00,0x99,0x00,0x1f,0x00,0xa9,0x00, +0x1f,0x00,0xb9,0x00,0x1f,0x00,0xc9,0x00,0x1f,0x00,0xd9,0x00,0x1f,0x00,0x0d,0x5d, +0x41,0x05,0x00,0xea,0x00,0x2b,0x00,0xfa,0x00,0x2b,0x00,0x02,0x5d,0x41,0x1b,0x00, +0x19,0x00,0x2b,0x00,0x29,0x00,0x2b,0x00,0x39,0x00,0x2b,0x00,0x49,0x00,0x2b,0x00, +0x59,0x00,0x2b,0x00,0x69,0x00,0x2b,0x00,0x79,0x00,0x2b,0x00,0x89,0x00,0x2b,0x00, +0x99,0x00,0x2b,0x00,0xa9,0x00,0x2b,0x00,0xb9,0x00,0x2b,0x00,0xc9,0x00,0x2b,0x00, +0xd9,0x00,0x2b,0x00,0x0d,0x5d,0x00,0xba,0x00,0x0f,0x00,0x03,0x00,0x03,0x2b,0xb8, +0x00,0x0f,0x10,0xba,0x00,0x0a,0x00,0x2e,0x00,0x03,0x2b,0xb8,0x00,0x0a,0x10,0xb8, +0x00,0x03,0x10,0xb8,0x00,0x28,0xdc,0x30,0x31,0x01,0x10,0x00,0x21,0x20,0x00,0x11, +0x34,0x12,0x24,0x33,0x32,0x04,0x12,0x01,0x21,0x35,0x23,0x11,0x23,0x07,0x15,0x37, +0x11,0x23,0x01,0x14,0x06,0x23,0x22,0x26,0x35,0x34,0x36,0x33,0x32,0x16,0x05,0x14, +0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x23,0x22,0x06,0x06,0x94,0xfe,0x3f,0xfe,0xc2, +0xfe,0xc4,0xfe,0x3f,0xce,0x01,0x71,0xbe,0xc1,0x01,0x71,0xcd,0xfb,0x24,0x01,0xc2, +0x9f,0x75,0xbc,0xac,0x9e,0x03,0x89,0x46,0x3f,0x40,0x45,0x45,0x40,0x3f,0x46,0xfe, +0x70,0x88,0x83,0x82,0x88,0x88,0x82,0x83,0x88,0x02,0xea,0xfe,0xc1,0xfe,0x41,0x01, +0xbf,0x01,0x3f,0xc6,0x01,0x72,0xc6,0xc6,0xfe,0x90,0xfd,0xa9,0x80,0x02,0xca,0x2a, +0x89,0x27,0xfd,0xc2,0x01,0x24,0xa2,0x97,0x97,0xa2,0xa3,0x97,0x97,0xa3,0xd0,0xe4, +0xe4,0xd0,0xd1,0xe4,0xe4,0x00,0x00,0x03,0x00,0x09,0xff,0x96,0x06,0xab,0x06,0x3d, +0x00,0x1d,0x00,0x28,0x00,0x46,0x00,0x00,0x00,0x20,0x07,0x06,0x07,0x06,0x07,0x06, +0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x20,0x37,0x36,0x37,0x36,0x37,0x36,0x35, +0x34,0x27,0x26,0x27,0x26,0x27,0x01,0x21,0x11,0x05,0x35,0x25,0x33,0x11,0x21,0x15, +0x21,0x12,0x20,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07, +0x06,0x20,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x03, +0xf4,0xfe,0xcc,0x86,0x84,0x6d,0x6f,0x35,0x38,0x38,0x35,0x6f,0x6d,0x84,0x86,0x01, +0x34,0x86,0x84,0x6d,0x6f,0x35,0x38,0x38,0x35,0x6f,0x6d,0x84,0xfd,0xa5,0x01,0x08, +0xfe,0xe1,0x01,0x1e,0xa1,0x01,0x08,0xfd,0x50,0x8d,0x01,0x5c,0x98,0x96,0x7c,0x7e, +0x3c,0x3f,0x3f,0x3c,0x7e,0x7c,0x96,0x98,0xfe,0xa4,0x98,0x96,0x7c,0x7e,0x3c,0x3f, +0x3f,0x3c,0x7e,0x7c,0x96,0x05,0xd9,0x39,0x36,0x6f,0x6f,0x83,0x86,0x9c,0x97,0x86, +0x83,0x6f,0x6f,0x36,0x39,0x39,0x36,0x6f,0x6f,0x83,0x86,0x97,0x9c,0x86,0x83,0x6f, +0x6f,0x36,0xfb,0x7d,0x03,0x8f,0x39,0x93,0x3a,0xfb,0xdd,0x88,0x05,0xa8,0x40,0x3e, +0x7d,0x7e,0x95,0x97,0xb1,0xac,0x97,0x95,0x7e,0x7d,0x3e,0x40,0x40,0x3e,0x7d,0x7e, +0x95,0x97,0xac,0xb1,0x97,0x95,0x7e,0x7d,0x3e,0x00,0x00,0x03,0x00,0x09,0xff,0x96, +0x06,0xab,0x06,0x3d,0x00,0x1d,0x00,0x41,0x00,0x5f,0x00,0x00,0x00,0x20,0x07,0x06, +0x07,0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x20,0x37,0x36,0x37, +0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x27,0x01,0x21,0x15,0x21,0x35,0x36, +0x37,0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x07,0x06,0x07,0x35, +0x3e,0x01,0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x02,0x20, +0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x20,0x27, +0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x03,0xf4,0xfe,0xcc, +0x86,0x84,0x6d,0x6f,0x35,0x38,0x38,0x35,0x6f,0x6d,0x84,0x86,0x01,0x34,0x86,0x84, +0x6d,0x6f,0x35,0x38,0x38,0x35,0x6f,0x6d,0x84,0xfe,0x29,0x02,0x34,0xfd,0x0a,0x5c, +0x9f,0x9e,0x29,0x4e,0x1f,0x1e,0x42,0x43,0x6b,0x50,0x51,0x54,0x60,0x61,0xaa,0x46, +0xba,0x6e,0x6f,0x1c,0x1b,0x49,0x14,0x6b,0x6c,0xba,0x01,0x5c,0x98,0x96,0x7c,0x7e, +0x3c,0x3f,0x3f,0x3c,0x7e,0x7c,0x96,0x98,0xfe,0xa4,0x98,0x96,0x7c,0x7e,0x3c,0x3f, +0x3f,0x3c,0x7e,0x7c,0x96,0x05,0xd9,0x39,0x36,0x6f,0x6f,0x83,0x86,0x9c,0x97,0x86, +0x83,0x6f,0x6f,0x36,0x39,0x39,0x36,0x6f,0x6f,0x83,0x86,0x97,0x9c,0x86,0x83,0x6f, +0x6f,0x36,0xfb,0x80,0x88,0x88,0x5f,0xa1,0xa0,0x2e,0x58,0x3c,0x3c,0x3b,0x5f,0x3c, +0x3c,0x1a,0x1b,0x35,0xa3,0x27,0x28,0x5d,0x5d,0x9b,0x49,0x42,0x42,0x5a,0x17,0x6f, +0x6f,0x04,0x56,0x40,0x3e,0x7d,0x7e,0x95,0x97,0xb1,0xac,0x97,0x95,0x7e,0x7d,0x3e, +0x40,0x40,0x3e,0x7d,0x7e,0x95,0x97,0xac,0xb1,0x97,0x95,0x7e,0x7d,0x3e,0x00,0x03, +0x00,0x09,0xff,0x96,0x06,0xab,0x06,0x3d,0x00,0x1d,0x00,0x4f,0x00,0x6d,0x00,0x00, +0x00,0x20,0x07,0x06,0x07,0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x16, +0x20,0x37,0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x27,0x03,0x16, +0x17,0x16,0x15,0x14,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x35,0x1e,0x01,0x33,0x32, +0x37,0x36,0x35,0x34,0x27,0x26,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x35,0x34,0x26, +0x23,0x22,0x07,0x06,0x07,0x35,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x15,0x14,0x06, +0x00,0x20,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06, +0x20,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x03,0xf4, +0xfe,0xcc,0x86,0x84,0x6d,0x6f,0x35,0x38,0x38,0x35,0x6f,0x6d,0x84,0x86,0x01,0x34, +0x86,0x84,0x6d,0x6f,0x35,0x38,0x38,0x35,0x6f,0x6d,0x84,0x74,0x74,0x42,0x41,0x7a, +0x79,0xe0,0x4c,0x4f,0x50,0x55,0x44,0xa0,0x57,0x98,0x4f,0x50,0x4a,0x4a,0x84,0x8b, +0x91,0x78,0x3f,0x3f,0x82,0x7a,0x42,0x4c,0x4c,0x5c,0x52,0x5b,0x50,0x47,0xba,0x6a, +0x6b,0x72,0xfe,0x3d,0x01,0x5c,0x98,0x96,0x7c,0x7e,0x3c,0x3f,0x3f,0x3c,0x7e,0x7c, +0x96,0x98,0xfe,0xa4,0x98,0x96,0x7c,0x7e,0x3c,0x3f,0x3f,0x3c,0x7e,0x7c,0x96,0x05, +0xd9,0x39,0x36,0x6f,0x6f,0x83,0x86,0x9c,0x97,0x86,0x83,0x6f,0x6f,0x36,0x39,0x39, +0x36,0x6f,0x6f,0x83,0x86,0x97,0x9c,0x86,0x83,0x6f,0x6f,0x36,0xfd,0x79,0x19,0x4e, +0x4e,0x74,0xb0,0x61,0x61,0x0f,0x0f,0x1d,0x9c,0x27,0x28,0x3c,0x3c,0x72,0x6a,0x3c, +0x3b,0x85,0x30,0x2f,0x5a,0x5c,0x62,0x0e,0x0f,0x1e,0x90,0x17,0x0f,0x0d,0x53,0x54, +0x8e,0x64,0x88,0x03,0x09,0x40,0x3e,0x7d,0x7e,0x95,0x97,0xb1,0xac,0x97,0x95,0x7e, +0x7d,0x3e,0x40,0x40,0x3e,0x7d,0x7e,0x95,0x97,0xac,0xb1,0x97,0x95,0x7e,0x7d,0x3e, +0x00,0x04,0x00,0x09,0xff,0x96,0x06,0xab,0x06,0x3d,0x00,0x1d,0x00,0x20,0x00,0x2b, +0x00,0x49,0x00,0x00,0x00,0x20,0x07,0x06,0x07,0x06,0x07,0x06,0x15,0x14,0x17,0x16, +0x17,0x16,0x17,0x16,0x20,0x37,0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x27, +0x26,0x27,0x07,0x01,0x21,0x03,0x33,0x11,0x33,0x15,0x23,0x11,0x23,0x11,0x21,0x35, +0x00,0x20,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06, +0x20,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x03,0xf4, +0xfe,0xcc,0x86,0x84,0x6d,0x6f,0x35,0x38,0x38,0x35,0x6f,0x6d,0x84,0x86,0x01,0x34, +0x86,0x84,0x6d,0x6f,0x35,0x38,0x38,0x35,0x6f,0x6d,0x84,0xde,0xfe,0x68,0x01,0x98, +0x2a,0xcb,0xaa,0xaa,0xa1,0xfd,0xe5,0x01,0x2b,0x01,0x5c,0x98,0x96,0x7c,0x7e,0x3c, +0x3f,0x3f,0x3c,0x7e,0x7c,0x96,0x98,0xfe,0xa4,0x98,0x96,0x7c,0x7e,0x3c,0x3f,0x3f, +0x3c,0x7e,0x7c,0x96,0x05,0xd9,0x39,0x36,0x6f,0x6f,0x83,0x86,0x9c,0x97,0x86,0x83, +0x6f,0x6f,0x36,0x39,0x39,0x36,0x6f,0x6f,0x83,0x86,0x97,0x9c,0x86,0x83,0x6f,0x6f, +0x36,0xed,0xfd,0x82,0x03,0x0b,0xfc,0xf5,0x86,0xfe,0xe6,0x01,0x1a,0x9c,0x03,0xf2, +0x40,0x3e,0x7d,0x7e,0x95,0x97,0xb1,0xac,0x97,0x95,0x7e,0x7d,0x3e,0x40,0x40,0x3e, +0x7d,0x7e,0x95,0x97,0xac,0xb1,0x97,0x95,0x7e,0x7d,0x3e,0x00,0x00,0x03,0x00,0x09, +0xff,0x96,0x06,0xab,0x06,0x3d,0x00,0x1d,0x00,0x3f,0x00,0x5d,0x00,0x00,0x00,0x20, +0x07,0x06,0x07,0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x20,0x37, +0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x27,0x05,0x21,0x15,0x21, +0x11,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x15,0x14,0x06,0x23,0x22,0x26,0x27,0x35, +0x16,0x17,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x23,0x22,0x07,0x06,0x07,0x12,0x20, +0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x20,0x27, +0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x03,0xf4,0xfe,0xcc, +0x86,0x84,0x6d,0x6f,0x35,0x38,0x38,0x35,0x6f,0x6d,0x84,0x86,0x01,0x34,0x86,0x84, +0x6d,0x6f,0x35,0x38,0x38,0x35,0x6f,0x6d,0x84,0xfd,0xa3,0x02,0x7a,0xfe,0x1a,0x23, +0x23,0x24,0x23,0xc8,0x75,0x74,0xf0,0xda,0x4b,0x9c,0x53,0x4c,0x48,0x4d,0x56,0x8a, +0xa2,0xa2,0x8a,0x41,0x40,0x41,0x43,0x8f,0x01,0x5c,0x98,0x96,0x7c,0x7e,0x3c,0x3f, +0x3f,0x3c,0x7e,0x7c,0x96,0x98,0xfe,0xa4,0x98,0x96,0x7c,0x7e,0x3c,0x3f,0x3f,0x3c, +0x7e,0x7c,0x96,0x05,0xd9,0x39,0x36,0x6f,0x6f,0x83,0x86,0x9c,0x97,0x86,0x83,0x6f, +0x6f,0x36,0x39,0x39,0x36,0x6f,0x6f,0x83,0x86,0x97,0x9c,0x86,0x83,0x6f,0x6f,0x36, +0x63,0x88,0xfe,0xdb,0x0c,0x06,0x06,0x6e,0x6d,0xbb,0xc1,0xd6,0x1a,0x19,0xa3,0x29, +0x12,0x13,0x92,0x7d,0x7c,0x92,0x0e,0x0f,0x1e,0x03,0x58,0x40,0x3e,0x7d,0x7e,0x95, +0x97,0xb1,0xac,0x97,0x95,0x7e,0x7d,0x3e,0x40,0x40,0x3e,0x7d,0x7e,0x95,0x97,0xac, +0xb1,0x97,0x95,0x7e,0x7d,0x3e,0x00,0x04,0x00,0x09,0xff,0x96,0x06,0xab,0x06,0x3d, +0x00,0x1d,0x00,0x2c,0x00,0x4a,0x00,0x68,0x00,0x00,0x00,0x20,0x07,0x06,0x07,0x06, +0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x20,0x37,0x36,0x37,0x36,0x37, +0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x27,0x01,0x22,0x07,0x06,0x15,0x14,0x16,0x33, +0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x13,0x15,0x2e,0x01,0x23,0x22,0x07,0x06,0x07, +0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x15,0x14,0x06,0x23,0x22,0x27,0x26,0x11,0x10, +0x37,0x36,0x33,0x32,0x16,0x00,0x20,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07, +0x06,0x07,0x06,0x07,0x06,0x20,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36, +0x37,0x36,0x37,0x03,0xf4,0xfe,0xcc,0x86,0x84,0x6d,0x6f,0x35,0x38,0x38,0x35,0x6f, +0x6d,0x84,0x86,0x01,0x34,0x86,0x84,0x6d,0x6f,0x35,0x38,0x38,0x35,0x6f,0x6d,0x84, +0xfe,0xd6,0x6c,0x40,0x40,0x80,0x6c,0x6d,0x40,0x3f,0x3f,0x40,0xd4,0x3d,0x7c,0x3c, +0xa0,0x55,0x54,0x0c,0x2f,0x47,0x47,0x56,0xb4,0x68,0x69,0xda,0xb5,0xcf,0x6d,0x6e, +0x86,0x87,0xe2,0x3d,0x7c,0xfe,0x5e,0x01,0x5c,0x98,0x96,0x7c,0x7e,0x3c,0x3f,0x3f, +0x3c,0x7e,0x7c,0x96,0x98,0xfe,0xa4,0x98,0x96,0x7c,0x7e,0x3c,0x3f,0x3f,0x3c,0x7e, +0x7c,0x96,0x05,0xd9,0x39,0x36,0x6f,0x6f,0x83,0x86,0x9c,0x97,0x86,0x83,0x6f,0x6f, +0x36,0x39,0x39,0x36,0x6f,0x6f,0x83,0x86,0x97,0x9c,0x86,0x83,0x6f,0x6f,0x36,0xfd, +0x8b,0x4b,0x4a,0x82,0x80,0x96,0x4b,0x4b,0x80,0x82,0x4a,0x4b,0x01,0xfa,0x93,0x1d, +0x1e,0x6c,0x6c,0xda,0x45,0x26,0x25,0x6d,0x6e,0xbc,0xb8,0xde,0x9f,0x9f,0x01,0x2d, +0x01,0x1d,0xa7,0xa8,0x18,0x01,0x00,0x40,0x3e,0x7d,0x7e,0x95,0x97,0xb1,0xac,0x97, +0x95,0x7e,0x7d,0x3e,0x40,0x40,0x3e,0x7d,0x7e,0x95,0x97,0xac,0xb1,0x97,0x95,0x7e, +0x7d,0x3e,0x00,0x03,0x00,0x09,0xff,0x96,0x06,0xab,0x06,0x3d,0x00,0x1d,0x00,0x24, +0x00,0x42,0x00,0x00,0x00,0x20,0x07,0x06,0x07,0x06,0x07,0x06,0x15,0x14,0x17,0x16, +0x17,0x16,0x17,0x16,0x20,0x37,0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x27, +0x26,0x27,0x05,0x21,0x15,0x01,0x23,0x01,0x21,0x12,0x20,0x17,0x16,0x17,0x16,0x17, +0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x20,0x27,0x26,0x27,0x26,0x27,0x26, +0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x03,0xf4,0xfe,0xcc,0x86,0x84,0x6d,0x6f,0x35, +0x38,0x38,0x35,0x6f,0x6d,0x84,0x86,0x01,0x34,0x86,0x84,0x6d,0x6f,0x35,0x38,0x38, +0x35,0x6f,0x6d,0x84,0xfd,0x5c,0x03,0x00,0xfe,0x4e,0xa8,0x01,0x98,0xfd,0xc2,0xd6, +0x01,0x5c,0x98,0x96,0x7c,0x7e,0x3c,0x3f,0x3f,0x3c,0x7e,0x7c,0x96,0x98,0xfe,0xa4, +0x98,0x96,0x7c,0x7e,0x3c,0x3f,0x3f,0x3c,0x7e,0x7c,0x96,0x05,0xd9,0x39,0x36,0x6f, +0x6f,0x83,0x86,0x9c,0x97,0x86,0x83,0x6f,0x6f,0x36,0x39,0x39,0x36,0x6f,0x6f,0x83, +0x86,0x97,0x9c,0x86,0x83,0x6f,0x6f,0x36,0x60,0x45,0xfb,0x9a,0x04,0x23,0x01,0x85, +0x40,0x3e,0x7d,0x7e,0x95,0x97,0xb1,0xac,0x97,0x95,0x7e,0x7d,0x3e,0x40,0x40,0x3e, +0x7d,0x7e,0x95,0x97,0xac,0xb1,0x97,0x95,0x7e,0x7d,0x3e,0x00,0x00,0x05,0x00,0x09, +0xff,0x96,0x06,0xab,0x06,0x3d,0x00,0x1d,0x00,0x2b,0x00,0x42,0x00,0x4e,0x00,0x6c, +0x00,0x00,0x00,0x20,0x07,0x06,0x07,0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x16, +0x17,0x16,0x20,0x37,0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x27, +0x01,0x22,0x07,0x06,0x14,0x17,0x16,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x25,0x2e, +0x01,0x35,0x34,0x36,0x20,0x16,0x15,0x14,0x06,0x07,0x16,0x17,0x16,0x15,0x14,0x06, +0x20,0x26,0x35,0x34,0x36,0x13,0x14,0x16,0x33,0x32,0x36,0x35,0x34,0x26,0x23,0x22, +0x06,0x12,0x20,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07, +0x06,0x20,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x03, +0xf4,0xfe,0xcc,0x86,0x84,0x6d,0x6f,0x35,0x38,0x38,0x35,0x6f,0x6d,0x84,0x86,0x01, +0x34,0x86,0x84,0x6d,0x6f,0x35,0x38,0x38,0x35,0x6f,0x6d,0x84,0xfe,0xdf,0x73,0x42, +0x42,0x42,0x42,0xe6,0x43,0x42,0x42,0x42,0xfe,0xea,0x68,0x74,0xcc,0x01,0x64,0xcc, +0x74,0x68,0x75,0x41,0x42,0xd4,0xfe,0x74,0xd4,0x84,0x39,0x74,0x69,0x68,0x76,0x76, +0x68,0x69,0x74,0x30,0x01,0x5c,0x98,0x96,0x7c,0x7e,0x3c,0x3f,0x3f,0x3c,0x7e,0x7c, +0x96,0x98,0xfe,0xa4,0x98,0x96,0x7c,0x7e,0x3c,0x3f,0x3f,0x3c,0x7e,0x7c,0x96,0x05, +0xd9,0x39,0x36,0x6f,0x6f,0x83,0x86,0x9c,0x97,0x86,0x83,0x6f,0x6f,0x36,0x39,0x39, +0x36,0x6f,0x6f,0x83,0x86,0x97,0x9c,0x86,0x83,0x6f,0x6f,0x36,0xfd,0x2c,0x3d,0x3e, +0xd8,0x3d,0x3e,0x3e,0x3e,0x6b,0x6c,0x3e,0x3d,0x45,0x1a,0x8e,0x67,0x8f,0xa6,0xa6, +0x8f,0x67,0x8e,0x1a,0x1b,0x4f,0x4f,0x73,0xad,0xba,0xba,0xad,0x73,0x9e,0x01,0x1a, +0x5c,0x68,0x68,0x5c,0x5d,0x68,0x68,0x01,0xd0,0x40,0x3e,0x7d,0x7e,0x95,0x97,0xb1, +0xac,0x97,0x95,0x7e,0x7d,0x3e,0x40,0x40,0x3e,0x7d,0x7e,0x95,0x97,0xac,0xb1,0x97, +0x95,0x7e,0x7d,0x3e,0x00,0x04,0x00,0x09,0xff,0x96,0x06,0xab,0x06,0x3d,0x00,0x1d, +0x00,0x3c,0x00,0x4c,0x00,0x6a,0x00,0x00,0x00,0x20,0x07,0x06,0x07,0x06,0x07,0x06, +0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x20,0x37,0x36,0x37,0x36,0x37,0x36,0x35, +0x34,0x27,0x26,0x27,0x26,0x27,0x01,0x35,0x1e,0x01,0x33,0x32,0x37,0x36,0x37,0x06, +0x07,0x06,0x23,0x22,0x27,0x26,0x35,0x34,0x36,0x33,0x32,0x17,0x16,0x11,0x10,0x07, +0x06,0x23,0x22,0x27,0x26,0x13,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x07, +0x06,0x15,0x14,0x17,0x16,0x02,0x20,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07, +0x06,0x07,0x06,0x07,0x06,0x20,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36, +0x37,0x36,0x37,0x03,0xf4,0xfe,0xcc,0x86,0x84,0x6d,0x6f,0x35,0x38,0x38,0x35,0x6f, +0x6d,0x84,0x86,0x01,0x34,0x86,0x84,0x6d,0x6f,0x35,0x38,0x38,0x35,0x6f,0x6d,0x84, +0xfd,0xa7,0x3d,0x7c,0x3c,0xa0,0x55,0x54,0x0c,0x2e,0x47,0x48,0x56,0xb5,0x67,0x68, +0xda,0xb4,0xd0,0x6d,0x6d,0x86,0x86,0xe2,0x3d,0x3f,0x3e,0xfe,0x6d,0x40,0x3f,0x3f, +0x40,0x6d,0x6c,0x40,0x40,0x40,0x40,0x4a,0x01,0x5c,0x98,0x96,0x7c,0x7e,0x3c,0x3f, +0x3f,0x3c,0x7e,0x7c,0x96,0x98,0xfe,0xa4,0x98,0x96,0x7c,0x7e,0x3c,0x3f,0x3f,0x3c, +0x7e,0x7c,0x96,0x05,0xd9,0x39,0x36,0x6f,0x6f,0x83,0x86,0x9c,0x97,0x86,0x83,0x6f, +0x6f,0x36,0x39,0x39,0x36,0x6f,0x6f,0x83,0x86,0x97,0x9c,0x86,0x83,0x6f,0x6f,0x36, +0xfb,0x0e,0x93,0x1d,0x1e,0x6c,0x6b,0xdb,0x44,0x25,0x25,0x6c,0x6d,0xbc,0xb8,0xde, +0x9f,0x9e,0xfe,0xd1,0xfe,0xe6,0xa9,0xa8,0x0c,0x0c,0x02,0x12,0x4b,0x4a,0x82,0x81, +0x4a,0x4b,0x4b,0x4a,0x81,0x82,0x4a,0x4b,0x03,0x95,0x40,0x3e,0x7d,0x7e,0x95,0x97, +0xb1,0xac,0x97,0x95,0x7e,0x7d,0x3e,0x40,0x40,0x3e,0x7d,0x7e,0x95,0x97,0xac,0xb1, +0x97,0x95,0x7e,0x7d,0x3e,0x00,0x00,0x05,0x00,0x09,0xff,0x96,0x06,0xab,0x06,0x3d, +0x00,0x1d,0x00,0x2b,0x00,0x38,0x00,0x43,0x00,0x61,0x00,0x00,0x00,0x20,0x07,0x06, +0x07,0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x16,0x17,0x16,0x20,0x37,0x36,0x37, +0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x27,0x07,0x22,0x07,0x06,0x15,0x14, +0x16,0x33,0x32,0x36,0x35,0x34,0x27,0x2e,0x01,0x20,0x17,0x16,0x11,0x10,0x07,0x06, +0x20,0x02,0x11,0x10,0x37,0x01,0x15,0x21,0x35,0x23,0x11,0x23,0x07,0x15,0x37,0x11, +0x12,0x20,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06, +0x20,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x03,0xf4, +0xfe,0xcc,0x86,0x84,0x6d,0x6f,0x35,0x38,0x38,0x35,0x6f,0x6d,0x84,0x86,0x01,0x34, +0x86,0x84,0x6d,0x6f,0x35,0x38,0x38,0x35,0x6f,0x6d,0x84,0x1d,0x54,0x2c,0x2b,0x56, +0x55,0x56,0x56,0x2b,0x2b,0xef,0x01,0x32,0x51,0x50,0x50,0x51,0xfe,0xce,0xa0,0x50, +0xfe,0x33,0x01,0x90,0x83,0x81,0x95,0x96,0x78,0x01,0x5c,0x98,0x96,0x7c,0x7e,0x3c, +0x3f,0x3f,0x3c,0x7e,0x7c,0x96,0x98,0xfe,0xa4,0x98,0x96,0x7c,0x7e,0x3c,0x3f,0x3f, +0x3c,0x7e,0x7c,0x96,0x05,0xd9,0x39,0x36,0x6f,0x6f,0x83,0x86,0x9c,0x97,0x86,0x83, +0x6f,0x6f,0x36,0x39,0x39,0x36,0x6f,0x6f,0x83,0x86,0x97,0x9c,0x86,0x83,0x6f,0x6f, +0x36,0xcb,0x7b,0x7a,0xf7,0xf5,0xf6,0xf6,0xf5,0xf3,0x7e,0x7b,0x80,0x9f,0x9e,0xfe, +0xd1,0xfe,0xd3,0x9f,0x9f,0x01,0x3e,0x01,0x2d,0x01,0x2c,0xa1,0xfc,0x67,0x88,0x88, +0x04,0x23,0x26,0x93,0x25,0xfc,0x71,0x05,0x20,0x40,0x3e,0x7d,0x7e,0x95,0x97,0xb1, +0xac,0x97,0x95,0x7e,0x7d,0x3e,0x40,0x40,0x3e,0x7d,0x7e,0x95,0x97,0xac,0xb1,0x97, +0x95,0x7e,0x7d,0x3e,0x00,0x02,0x00,0x09,0xff,0x96,0x06,0xab,0x06,0x3d,0x00,0x0a, +0x00,0x28,0x00,0x00,0x01,0x15,0x21,0x35,0x21,0x11,0x23,0x05,0x15,0x25,0x11,0x02, +0x20,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x20, +0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x02,0x1f,0x02, +0xb0,0xfe,0xf8,0xa1,0xfe,0xe2,0x01,0x1f,0x7b,0x01,0x5c,0x98,0x96,0x7c,0x7e,0x3c, +0x3f,0x3f,0x3c,0x7e,0x7c,0x96,0x98,0xfe,0xa4,0x98,0x96,0x7c,0x7e,0x3c,0x3f,0x3f, +0x3c,0x7e,0x7c,0x96,0x01,0x1d,0x88,0x88,0x04,0x23,0x3a,0x93,0x39,0xfc,0x71,0x05, +0x20,0x40,0x3e,0x7d,0x7e,0x95,0x97,0xb1,0xac,0x97,0x95,0x7e,0x7d,0x3e,0x40,0x40, +0x3e,0x7d,0x7e,0x95,0x97,0xac,0xb1,0x97,0x95,0x7e,0x7d,0x3e,0x00,0x02,0x00,0x09, +0xff,0x96,0x06,0xab,0x06,0x3d,0x00,0x23,0x00,0x41,0x00,0x00,0x01,0x36,0x37,0x36, +0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x06,0x07,0x15,0x36,0x37,0x36, +0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x07,0x15,0x21,0x35, +0x00,0x20,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06, +0x20,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x02,0xa3, +0xc3,0x6c,0x6b,0x14,0x49,0x1b,0x1c,0x6f,0x6e,0xba,0x46,0xaa,0x61,0x60,0x54,0x55, +0x4c,0x6b,0x43,0x42,0x1e,0x1f,0x4e,0x29,0x9e,0x9f,0x5c,0x02,0xf6,0xfd,0xd5,0x01, +0x5c,0x98,0x96,0x7c,0x7e,0x3c,0x3f,0x3f,0x3c,0x7e,0x7c,0x96,0x98,0xfe,0xa4,0x98, +0x96,0x7c,0x7e,0x3c,0x3f,0x3f,0x3c,0x7e,0x7c,0x96,0x01,0x20,0xc7,0x6f,0x6f,0x17, +0x5a,0x42,0x42,0x49,0x9b,0x5d,0x5d,0x28,0x27,0xa3,0x35,0x1b,0x1a,0x3c,0x3c,0x5f, +0x3b,0x3c,0x3c,0x58,0x2e,0xa0,0xa1,0x5f,0x88,0x88,0x05,0x1d,0x40,0x3e,0x7d,0x7e, +0x95,0x97,0xb1,0xac,0x97,0x95,0x7e,0x7d,0x3e,0x40,0x40,0x3e,0x7d,0x7e,0x95,0x97, +0xac,0xb1,0x97,0x95,0x7e,0x7d,0x3e,0x00,0x00,0x02,0x00,0x09,0xff,0x96,0x06,0xab, +0x06,0x3d,0x00,0x31,0x00,0x4f,0x00,0x00,0x01,0x3e,0x01,0x35,0x34,0x27,0x26,0x23, +0x22,0x07,0x06,0x07,0x15,0x36,0x37,0x36,0x33,0x32,0x16,0x15,0x14,0x07,0x06,0x2b, +0x01,0x15,0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x23,0x22,0x26,0x27,0x15,0x16, +0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x00,0x20,0x17,0x16,0x17,0x16, +0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x20,0x27,0x26,0x27,0x26,0x27, +0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x04,0x06,0x69,0x72,0x6b,0x6c,0xb8,0x47, +0x50,0x51,0x5c,0x5c,0x4c,0x4c,0x42,0x7a,0x82,0x3f,0x3f,0x78,0x91,0x8b,0x84,0x4a, +0x4a,0x50,0x4f,0x98,0x57,0xa0,0x44,0x55,0x50,0x4f,0x4c,0xe0,0x79,0x7a,0x41,0x42, +0xfe,0x32,0x01,0x5c,0x98,0x96,0x7c,0x7e,0x3c,0x3f,0x3f,0x3c,0x7e,0x7c,0x96,0x98, +0xfe,0xa4,0x98,0x96,0x7c,0x7e,0x3c,0x3f,0x3f,0x3c,0x7e,0x7c,0x96,0x03,0x19,0x1b, +0x88,0x64,0x8e,0x54,0x53,0x0d,0x0c,0x1a,0x90,0x1e,0x0f,0x0e,0x62,0x5c,0x5a,0x2f, +0x30,0x85,0x3b,0x3c,0x6a,0x72,0x3c,0x3c,0x28,0x27,0x9c,0x1d,0x0f,0x0f,0x61,0x61, +0xb0,0x74,0x4e,0x4e,0x03,0x3d,0x40,0x3e,0x7d,0x7e,0x95,0x97,0xb1,0xac,0x97,0x95, +0x7e,0x7d,0x3e,0x40,0x40,0x3e,0x7d,0x7e,0x95,0x97,0xac,0xb1,0x97,0x95,0x7e,0x7d, +0x3e,0x00,0x00,0x03,0x00,0x09,0xff,0x96,0x06,0xab,0x06,0x3d,0x00,0x02,0x00,0x0d, +0x00,0x2b,0x00,0x00,0x01,0x11,0x21,0x09,0x01,0x15,0x21,0x11,0x33,0x11,0x33,0x35, +0x23,0x11,0x24,0x20,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06, +0x07,0x06,0x20,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37, +0x03,0x9c,0xfe,0x68,0x01,0x6e,0xfe,0x0f,0x02,0x1b,0xa1,0xaa,0xaa,0xfe,0x6f,0x01, +0x5c,0x98,0x96,0x7c,0x7e,0x3c,0x3f,0x3f,0x3c,0x7e,0x7c,0x96,0x98,0xfe,0xa4,0x98, +0x96,0x7c,0x7e,0x3c,0x3f,0x3f,0x3c,0x7e,0x7c,0x96,0x04,0xb3,0xfd,0x82,0x03,0x0b, +0xfd,0x0b,0x9c,0xfe,0xe6,0x01,0x1a,0x86,0x03,0x0b,0xfd,0x40,0x3e,0x7d,0x7e,0x95, +0x97,0xb1,0xac,0x97,0x95,0x7e,0x7d,0x3e,0x40,0x40,0x3e,0x7d,0x7e,0x95,0x97,0xac, +0xb1,0x97,0x95,0x7e,0x7d,0x3e,0x00,0x02,0x00,0x09,0xff,0x96,0x06,0xab,0x06,0x3d, +0x00,0x21,0x00,0x3f,0x00,0x00,0x01,0x11,0x36,0x37,0x36,0x33,0x32,0x16,0x15,0x14, +0x06,0x23,0x22,0x27,0x26,0x27,0x15,0x1e,0x01,0x33,0x32,0x36,0x35,0x34,0x27,0x26, +0x23,0x22,0x07,0x06,0x07,0x11,0x21,0x35,0x00,0x20,0x17,0x16,0x17,0x16,0x17,0x16, +0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x20,0x27,0x26,0x27,0x26,0x27,0x26,0x35, +0x34,0x37,0x36,0x37,0x36,0x37,0x02,0x1d,0x43,0x41,0x40,0x41,0x8a,0xa2,0xa2,0x8a, +0x56,0x4d,0x4c,0x48,0x53,0x9c,0x4b,0xda,0xf0,0x74,0x75,0xc8,0x23,0x24,0x23,0x23, +0x01,0xe6,0xfe,0x15,0x01,0x5c,0x98,0x96,0x7c,0x7e,0x3c,0x3f,0x3f,0x3c,0x7e,0x7c, +0x96,0x98,0xfe,0xa4,0x98,0x96,0x7c,0x7e,0x3c,0x3f,0x3f,0x3c,0x7e,0x7c,0x96,0x05, +0x3d,0xfd,0xa8,0x1e,0x0f,0x0e,0x92,0x7c,0x7d,0x92,0x13,0x14,0x27,0xa3,0x19,0x1a, +0xd6,0xc1,0xbb,0x6d,0x6e,0x06,0x06,0x0c,0x01,0x25,0x88,0x01,0x00,0x40,0x3e,0x7d, +0x7e,0x95,0x97,0xb1,0xac,0x97,0x95,0x7e,0x7d,0x3e,0x40,0x40,0x3e,0x7d,0x7e,0x95, +0x97,0xac,0xb1,0x97,0x95,0x7e,0x7d,0x3e,0x00,0x03,0x00,0x09,0xff,0x96,0x06,0xab, +0x06,0x3d,0x00,0x0e,0x00,0x2c,0x00,0x4a,0x00,0x00,0x01,0x32,0x17,0x16,0x15,0x14, +0x07,0x06,0x23,0x22,0x26,0x35,0x34,0x37,0x36,0x01,0x2e,0x01,0x23,0x22,0x07,0x06, +0x11,0x10,0x17,0x16,0x33,0x32,0x36,0x35,0x34,0x27,0x26,0x23,0x22,0x07,0x06,0x07, +0x36,0x37,0x36,0x33,0x32,0x16,0x17,0x00,0x20,0x17,0x16,0x17,0x16,0x17,0x16,0x15, +0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x20,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34, +0x37,0x36,0x37,0x36,0x37,0x03,0x50,0x6d,0x40,0x3f,0x3f,0x40,0x6d,0x6c,0x80,0x40, +0x40,0x01,0xad,0x43,0x7c,0x3d,0xe2,0x87,0x86,0x6e,0x6d,0xcf,0xb5,0xda,0x69,0x68, +0xb4,0x56,0x47,0x47,0x2f,0x0c,0x54,0x55,0xa0,0x3c,0x7c,0x3d,0xfe,0x1b,0x01,0x5c, +0x98,0x96,0x7c,0x7e,0x3c,0x3f,0x3f,0x3c,0x7e,0x7c,0x96,0x98,0xfe,0xa4,0x98,0x96, +0x7c,0x7e,0x3c,0x3f,0x3f,0x3c,0x7e,0x7c,0x96,0x03,0x2b,0x4b,0x4a,0x82,0x80,0x4b, +0x4b,0x96,0x80,0x82,0x4a,0x4b,0x01,0xfa,0x18,0x18,0xa8,0xa9,0xfe,0xe5,0xfe,0xd3, +0x9f,0x9f,0xde,0xb8,0xbc,0x6e,0x6d,0x25,0x26,0x45,0xda,0x6c,0x6c,0x1e,0x1d,0x01, +0xab,0x40,0x3e,0x7d,0x7e,0x95,0x97,0xb1,0xac,0x97,0x95,0x7e,0x7d,0x3e,0x40,0x40, +0x3e,0x7d,0x7e,0x95,0x97,0xac,0xb1,0x97,0x95,0x7e,0x7d,0x3e,0x00,0x02,0x00,0x09, +0xff,0x96,0x06,0xab,0x06,0x3d,0x00,0x06,0x00,0x24,0x00,0x00,0x01,0x15,0x21,0x01, +0x33,0x01,0x35,0x24,0x20,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07, +0x06,0x07,0x06,0x20,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36, +0x37,0x01,0xd6,0x02,0x3e,0xfe,0x68,0xa8,0x01,0xb2,0xfd,0xd6,0x01,0x5c,0x98,0x96, +0x7c,0x7e,0x3c,0x3f,0x3f,0x3c,0x7e,0x7c,0x96,0x98,0xfe,0xa4,0x98,0x96,0x7c,0x7e, +0x3c,0x3f,0x3f,0x3c,0x7e,0x7c,0x96,0x05,0x40,0x88,0xfb,0xdd,0x04,0x66,0x45,0xfd, +0x40,0x3e,0x7d,0x7e,0x95,0x97,0xb1,0xac,0x97,0x95,0x7e,0x7d,0x3e,0x40,0x40,0x3e, +0x7d,0x7e,0x95,0x97,0xac,0xb1,0x97,0x95,0x7e,0x7d,0x3e,0x00,0x00,0x04,0x00,0x09, +0xff,0x96,0x06,0xab,0x06,0x3d,0x00,0x0d,0x00,0x24,0x00,0x30,0x00,0x4e,0x00,0x00, +0x01,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x22,0x27,0x26,0x34,0x37,0x36,0x27,0x0e, +0x01,0x15,0x14,0x16,0x20,0x36,0x35,0x34,0x27,0x26,0x27,0x3e,0x01,0x35,0x34,0x26, +0x20,0x06,0x15,0x14,0x16,0x37,0x34,0x36,0x33,0x32,0x16,0x15,0x14,0x06,0x23,0x22, +0x26,0x12,0x20,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07, +0x06,0x20,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x03, +0x59,0x74,0x42,0x42,0x42,0x43,0xe6,0x42,0x42,0x42,0x42,0x2f,0x74,0x84,0xd4,0x01, +0x8c,0xd4,0x42,0x41,0x75,0x68,0x74,0xcc,0xfe,0x9c,0xcc,0x74,0x2d,0x74,0x69,0x68, +0x76,0x76,0x68,0x69,0x74,0x30,0x01,0x5c,0x98,0x96,0x7c,0x7e,0x3c,0x3f,0x3f,0x3c, +0x7e,0x7c,0x96,0x98,0xfe,0xa4,0x98,0x96,0x7c,0x7e,0x3c,0x3f,0x3f,0x3c,0x7e,0x7c, +0x96,0x02,0xcc,0x3d,0x3e,0x6c,0x6b,0x3e,0x3e,0x3e,0x3d,0xd8,0x3e,0x3d,0x45,0x1b, +0x9e,0x73,0xad,0xba,0xba,0xad,0x73,0x4f,0x4f,0x1b,0x1a,0x8e,0x67,0x8f,0xa6,0xa6, +0x8f,0x67,0x8e,0xe5,0x5d,0x68,0x68,0x5d,0x5c,0x68,0x68,0x02,0x89,0x40,0x3e,0x7d, +0x7e,0x95,0x97,0xb1,0xac,0x97,0x95,0x7e,0x7d,0x3e,0x40,0x40,0x3e,0x7d,0x7e,0x95, +0x97,0xac,0xb1,0x97,0x95,0x7e,0x7d,0x3e,0x00,0x03,0x00,0x09,0xff,0x96,0x06,0xab, +0x06,0x3d,0x00,0x1e,0x00,0x2e,0x00,0x4c,0x00,0x00,0x25,0x16,0x17,0x16,0x33,0x32, +0x37,0x36,0x11,0x10,0x27,0x26,0x23,0x22,0x06,0x15,0x14,0x17,0x16,0x33,0x32,0x37, +0x36,0x37,0x06,0x07,0x06,0x23,0x22,0x26,0x27,0x01,0x22,0x27,0x26,0x35,0x34,0x37, +0x36,0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x00,0x20,0x17,0x16,0x17,0x16,0x17, +0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x20,0x27,0x26,0x27,0x26,0x27,0x26, +0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x02,0x21,0x43,0x3e,0x3f,0x3d,0xe2,0x86,0x86, +0x6d,0x6d,0xd0,0xb4,0xda,0x68,0x69,0xb3,0x56,0x48,0x47,0x2e,0x0c,0x54,0x55,0xa0, +0x3c,0x7c,0x3d,0x01,0x41,0x6c,0x40,0x40,0x40,0x40,0x6c,0x6d,0x40,0x3f,0x3f,0x40, +0xfe,0xdd,0x01,0x5c,0x98,0x96,0x7c,0x7e,0x3c,0x3f,0x3f,0x3c,0x7e,0x7c,0x96,0x98, +0xfe,0xa4,0x98,0x96,0x7c,0x7e,0x3c,0x3f,0x3f,0x3c,0x7e,0x7c,0x96,0xae,0x18,0x0c, +0x0c,0xa8,0xa9,0x01,0x1a,0x01,0x2f,0x9e,0x9f,0xde,0xb8,0xbc,0x6d,0x6c,0x25,0x25, +0x44,0xdb,0x6b,0x6c,0x1e,0x1d,0x01,0x67,0x4b,0x4a,0x82,0x81,0x4a,0x4b,0x4b,0x4a, +0x81,0x82,0x4a,0x4b,0x03,0x95,0x40,0x3e,0x7d,0x7e,0x95,0x97,0xb1,0xac,0x97,0x95, +0x7e,0x7d,0x3e,0x40,0x40,0x3e,0x7d,0x7e,0x95,0x97,0xac,0xb1,0x97,0x95,0x7e,0x7d, +0x3e,0x00,0x00,0x04,0x00,0x09,0xff,0x96,0x06,0xab,0x06,0x3d,0x00,0x0d,0x00,0x1a, +0x00,0x25,0x00,0x43,0x00,0x00,0x01,0x32,0x17,0x16,0x15,0x14,0x06,0x23,0x22,0x26, +0x35,0x34,0x37,0x36,0x24,0x20,0x07,0x06,0x11,0x10,0x17,0x16,0x20,0x12,0x11,0x10, +0x27,0x01,0x15,0x21,0x35,0x23,0x11,0x23,0x07,0x15,0x37,0x11,0x12,0x20,0x17,0x16, +0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x07,0x06,0x20,0x27,0x26,0x27, +0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x37,0x04,0x99,0x65,0x32,0x32,0x64, +0x65,0x64,0x64,0x32,0x32,0x01,0x05,0xfe,0xbe,0x54,0x55,0x55,0x54,0x01,0x42,0xaa, +0x55,0xfb,0xe6,0x01,0xc2,0xa1,0x81,0xb3,0xb4,0x96,0x01,0x5c,0x98,0x96,0x7c,0x7e, +0x3c,0x3f,0x3f,0x3c,0x7e,0x7c,0x96,0x98,0xfe,0xa4,0x98,0x96,0x7c,0x7e,0x3c,0x3f, +0x3f,0x3c,0x7e,0x7c,0x96,0x04,0xd5,0x7b,0x7a,0xf7,0xf5,0xf6,0xf6,0xf5,0xf7,0x7a, +0x7b,0x80,0x9f,0x9e,0xfe,0xd1,0xfe,0xd3,0x9f,0x9f,0x01,0x3e,0x01,0x2d,0x01,0x2f, +0x9e,0xfc,0x67,0x88,0x88,0x04,0x23,0x26,0x93,0x25,0xfc,0x71,0x05,0x20,0x40,0x3e, +0x7d,0x7e,0x95,0x97,0xb1,0xac,0x97,0x95,0x7e,0x7d,0x3e,0x40,0x40,0x3e,0x7d,0x7e, +0x95,0x97,0xac,0xb1,0x97,0x95,0x7e,0x7d,0x3e,0x00,0x00,0x01,0x00,0x75,0x00,0x9a, +0x06,0x50,0x04,0x6a,0x00,0x08,0x00,0x00,0x09,0x01,0x21,0x01,0x21,0x35,0x21,0x01, +0x21,0x06,0x50,0xfe,0x18,0xfe,0xc0,0x01,0x70,0xfb,0xdd,0x04,0x23,0xfe,0x90,0x01, +0x40,0x02,0x82,0xfe,0x18,0x01,0x70,0xf0,0x01,0x70,0x00,0x01,0x00,0xfc,0x00,0x70, +0x05,0x74,0x04,0xe9,0x00,0x06,0x00,0x00,0x09,0x01,0x37,0x01,0x1b,0x01,0x25,0x03, +0xf7,0xfd,0x05,0xa9,0x02,0xb5,0xd4,0x46,0xfd,0x4e,0x01,0x8b,0x02,0xb4,0xaa,0xfd, +0x05,0x01,0x34,0xfd,0x4e,0x47,0x00,0x01,0x00,0x75,0x00,0xcc,0x06,0x50,0x04,0x38, +0x00,0x06,0x00,0x00,0x01,0x05,0x35,0x05,0x03,0x09,0x01,0x04,0x7a,0xfb,0xfb,0x04, +0x05,0x44,0x02,0x1a,0xfd,0xe6,0x02,0x3c,0x32,0xf0,0x32,0x01,0x70,0xfe,0x4a,0xfe, +0x4a,0x00,0x00,0x01,0x00,0xfc,0x00,0x1b,0x05,0x74,0x04,0x94,0x00,0x06,0x00,0x00, +0x09,0x01,0x27,0x01,0x2d,0x01,0x03,0x04,0x5a,0xfd,0x4b,0xa9,0x02,0xfb,0xfe,0xcb, +0x02,0xb2,0x46,0x03,0x16,0xfd,0x05,0xaa,0x02,0xb4,0xd4,0x47,0xfd,0x4e,0x00,0x01, +0x00,0x75,0x01,0x08,0x06,0x50,0x03,0xfc,0x00,0x08,0x00,0x00,0x13,0x21,0x03,0x04, +0x05,0x04,0x05,0x13,0x21,0x75,0x02,0xbb,0xa8,0x01,0x5c,0x02,0x6c,0xfd,0x94,0xfe, +0xa4,0xa8,0xfd,0x45,0x02,0xbe,0x01,0x3e,0xfc,0x7e,0x7e,0xfc,0x01,0x3e,0x00,0x01, +0x00,0x75,0x00,0x75,0x06,0x1d,0x04,0x8f,0x00,0x32,0x00,0x00,0x00,0x14,0x07,0x06, +0x07,0x01,0x06,0x07,0x06,0x22,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x3f, +0x01,0x21,0x22,0x2e,0x01,0x27,0x26,0x34,0x37,0x3e,0x02,0x33,0x21,0x27,0x26,0x27, +0x26,0x35,0x34,0x37,0x36,0x37,0x3e,0x01,0x32,0x17,0x16,0x17,0x01,0x16,0x06,0x1d, +0x09,0x0b,0x11,0xfe,0x70,0x10,0x18,0x16,0x34,0x2c,0x12,0x12,0x0a,0x09,0x09,0x0b, +0x11,0xba,0xfc,0x80,0x1a,0x2c,0x24,0x0a,0x09,0x09,0x0a,0x24,0x2c,0x1a,0x03,0x80, +0xba,0x11,0x0b,0x09,0x09,0x0a,0x12,0x12,0x2c,0x34,0x16,0x18,0x10,0x01,0x90,0x13, +0x02,0x9b,0x32,0x16,0x18,0x11,0xfe,0x70,0x10,0x0b,0x0a,0x14,0x11,0x13,0x16,0x16, +0x19,0x1a,0x16,0x18,0x11,0xba,0x14,0x22,0x18,0x16,0x32,0x16,0x18,0x22,0x14,0xba, +0x11,0x18,0x16,0x1a,0x19,0x16,0x16,0x13,0x11,0x14,0x0a,0x0b,0x10,0xfe,0x70,0x13, +0x00,0x01,0x00,0x75,0x00,0xcc,0x06,0x50,0x04,0x38,0x00,0x06,0x00,0x00,0x01,0x21, +0x35,0x21,0x11,0x09,0x01,0x04,0x9a,0xfb,0xdb,0x04,0x25,0x01,0xb6,0xfe,0x4a,0x02, +0x5a,0x50,0x01,0x8e,0xfe,0x4a,0xfe,0x4a,0x00,0x01,0x00,0x75,0x00,0xcc,0x06,0x50, +0x04,0x38,0x00,0x06,0x00,0x00,0x01,0x21,0x35,0x21,0x11,0x09,0x01,0x04,0x9a,0xfb, +0xdb,0x04,0x25,0x01,0xb6,0xfe,0x4a,0x02,0x14,0xdc,0x01,0x48,0xfe,0x4a,0xfe,0x4a, +0x00,0x04,0x00,0x75,0x00,0xcc,0x06,0x50,0x04,0x38,0x00,0x03,0x00,0x07,0x00,0x0b, +0x00,0x12,0x00,0x00,0x01,0x23,0x11,0x33,0x01,0x23,0x11,0x33,0x03,0x23,0x11,0x33, +0x01,0x21,0x11,0x21,0x35,0x09,0x01,0x02,0xb9,0xf0,0xf0,0xfe,0xc0,0x78,0x78,0xc8, +0x3c,0x3c,0x03,0xe9,0xfe,0x6f,0x01,0x91,0x01,0xb6,0xfe,0x4a,0x01,0xba,0x01,0x90, +0xfe,0x70,0x01,0x90,0xfe,0x70,0x01,0x90,0xfe,0x70,0x01,0x90,0xee,0xfe,0x4a,0xfe, +0x4a,0x00,0x00,0x04,0x00,0x75,0x00,0xcc,0x06,0x50,0x04,0x38,0x00,0x08,0x00,0x0c, +0x00,0x10,0x00,0x14,0x00,0x00,0x01,0x35,0x12,0x17,0x06,0x03,0x35,0x21,0x11,0x03, +0x23,0x11,0x33,0x01,0x23,0x11,0x33,0x03,0x23,0x11,0x33,0x04,0x9a,0xb8,0xfe,0xfe, +0xb8,0xfe,0x6f,0x50,0xf0,0xf0,0xfe,0xc0,0x78,0x78,0xc8,0x3c,0x3c,0x03,0xae,0x8a, +0xfe,0xce,0x84,0x84,0xfe,0xce,0x8a,0x02,0x58,0xfd,0xa8,0x02,0x58,0xfd,0xa8,0x02, +0x58,0xfd,0xa8,0x02,0x58,0x00,0x00,0x01,0x00,0x75,0x00,0xcc,0x06,0x50,0x04,0x38, +0x00,0x06,0x00,0x00,0x01,0x21,0x11,0x21,0x35,0x09,0x01,0x04,0x9a,0xfb,0xdb,0x04, +0x25,0x01,0xb6,0xfe,0x4a,0x01,0xba,0x01,0x90,0xee,0xfe,0x4a,0xfe,0x4a,0x00,0x02, +0x00,0xe4,0x00,0xc0,0x06,0x50,0x04,0x44,0x00,0x02,0x00,0x06,0x00,0x00,0x01,0x21, +0x01,0x13,0x09,0x02,0x03,0x1e,0x02,0x36,0xfc,0xbc,0x96,0xfe,0x3e,0x05,0x6c,0xfa, +0x94,0x02,0x82,0x01,0x0f,0xfe,0xf1,0x01,0xc2,0xfe,0x3e,0xfe,0x3e,0x00,0x00,0x02, +0x00,0xe4,0x00,0xc0,0x06,0x50,0x04,0x44,0x00,0x02,0x00,0x06,0x00,0x00,0x09,0x02, +0x21,0x09,0x02,0x03,0x1e,0xfe,0xf2,0x03,0x44,0xfd,0x52,0xfe,0x3e,0x05,0x6c,0xfa, +0x94,0x02,0x82,0xfe,0xf1,0x01,0x0f,0x01,0xc2,0xfe,0x3e,0xfe,0x3e,0x00,0x00,0x01, +0x00,0xe4,0xff,0xf8,0x06,0x50,0x05,0x0c,0x00,0x03,0x00,0x00,0x09,0x03,0x02,0x42, +0xfe,0xa2,0x05,0x6c,0xfa,0x94,0x02,0x82,0x02,0x8a,0xfd,0x76,0xfd,0x76,0x00,0x01, +0x00,0x75,0x00,0xcc,0x06,0x50,0x04,0x62,0x00,0x16,0x00,0x00,0x13,0x11,0x14,0x17, +0x16,0x17,0x16,0x17,0x16,0x33,0x21,0x35,0x09,0x01,0x35,0x21,0x22,0x27,0x26,0x27, +0x26,0x27,0x26,0x75,0x12,0x12,0x23,0x23,0x2b,0x2a,0x31,0x03,0x35,0x01,0xb6,0xfe, +0x4a,0xfc,0xcb,0x31,0x2a,0x2b,0x23,0x23,0x12,0x12,0x02,0x82,0x01,0xe0,0x30,0x2b, +0x2a,0x25,0x21,0x13,0x12,0xc6,0xfe,0x4a,0xfe,0x4a,0xc6,0x12,0x13,0x21,0x25,0x2a, +0x2b,0x00,0x00,0x01,0x00,0x75,0x00,0xa2,0x06,0x50,0x04,0x38,0x00,0x16,0x00,0x00, +0x13,0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x33,0x21,0x35,0x09,0x01,0x35,0x21,0x22, +0x07,0x06,0x07,0x06,0x07,0x06,0x15,0x75,0x12,0x12,0x23,0x23,0x2b,0x2a,0x31,0x03, +0x35,0x01,0xb6,0xfe,0x4a,0xfc,0xcb,0x31,0x2a,0x2b,0x23,0x23,0x12,0x12,0x02,0x82, +0x30,0x2b,0x2a,0x25,0x21,0x13,0x12,0xc6,0xfe,0x4a,0xfe,0x4a,0xc6,0x12,0x13,0x21, +0x25,0x2a,0x2b,0x30,0x00,0x01,0x01,0xec,0xff,0xf1,0x04,0xd9,0x05,0x13,0x00,0x06, +0x00,0x00,0x01,0x21,0x11,0x21,0x11,0x09,0x01,0x03,0x5e,0xfe,0x8e,0x01,0x72,0x01, +0x7b,0xfe,0x85,0x01,0x56,0x02,0x58,0x01,0x65,0xfd,0x6f,0xfd,0x6f,0x00,0x00,0x01, +0x00,0x75,0x00,0xcc,0x06,0x50,0x04,0x38,0x00,0x08,0x00,0x00,0x01,0x35,0x12,0x05, +0x04,0x03,0x35,0x21,0x11,0x04,0x04,0x90,0x01,0xbc,0xfe,0x44,0x90,0xfc,0x71,0x03, +0x9a,0x9e,0xfe,0xce,0x84,0x84,0xfe,0xce,0x9e,0x02,0x30,0x00,0x00,0x02,0x00,0x75, +0x00,0x9a,0x06,0x1e,0x04,0x6a,0x00,0x08,0x00,0x0f,0x00,0x00,0x25,0x35,0x21,0x11, +0x21,0x35,0x33,0x09,0x01,0x03,0x15,0x09,0x01,0x15,0x21,0x11,0x03,0x3c,0xfd,0x39, +0x02,0xc7,0xfa,0x01,0xe8,0xfe,0x18,0xaa,0x01,0x98,0xfe,0x68,0xfd,0x39,0x9a,0xee, +0x01,0xf4,0xee,0xfe,0x18,0xfe,0x18,0x01,0x3e,0xee,0x01,0x98,0x01,0x98,0xee,0xfe, +0xac,0x00,0x00,0x02,0x00,0x75,0x00,0x9a,0x06,0x1e,0x04,0x6a,0x00,0x08,0x00,0x0f, +0x00,0x00,0x25,0x35,0x21,0x11,0x21,0x35,0x33,0x09,0x01,0x03,0x15,0x09,0x01,0x15, +0x21,0x11,0x03,0x3c,0xfd,0x39,0x02,0xc7,0xfa,0x01,0xe8,0xfe,0x18,0x14,0x01,0x98, +0xfe,0x68,0xfd,0x39,0x9a,0xee,0x01,0xf4,0xee,0xfe,0x18,0xfe,0x18,0x01,0x3e,0xee, +0x01,0x98,0x01,0x98,0xee,0xfe,0xac,0x00,0x00,0x02,0x00,0x2b,0x00,0x18,0x06,0x5a, +0x04,0xb0,0x00,0x0b,0x00,0x12,0x00,0x00,0x13,0x01,0x21,0x37,0x33,0x13,0x15,0x01, +0x23,0x35,0x37,0x21,0x01,0x07,0x01,0x03,0x07,0x21,0x03,0x2b,0x01,0x20,0x03,0x49, +0x8a,0x64,0xd8,0xfd,0x26,0x96,0x16,0xfd,0x2b,0x03,0xd1,0x8a,0x02,0x84,0xac,0x8a, +0xfc,0xb7,0xc4,0x01,0xce,0x01,0xf4,0xee,0xfd,0xfe,0xc8,0xfe,0x32,0xc8,0x26,0x01, +0x18,0xee,0x01,0x98,0x01,0x98,0xee,0xfe,0xac,0x00,0x00,0x02,0x00,0x2b,0x00,0x18, +0x06,0x5a,0x04,0xb0,0x00,0x0b,0x00,0x12,0x00,0x00,0x13,0x35,0x21,0x27,0x35,0x33, +0x01,0x15,0x03,0x23,0x27,0x21,0x01,0x21,0x13,0x21,0x17,0x13,0x01,0x2b,0x02,0xd5, +0x16,0x96,0x02,0xda,0xd8,0x64,0x8a,0xfc,0xb7,0x02,0xb1,0xfc,0xb7,0xc4,0x03,0x49, +0x8a,0xac,0xfd,0x7c,0x02,0xfa,0xc8,0x26,0xc8,0xfe,0x32,0xc8,0xfd,0xfe,0xee,0x01, +0xa4,0xfe,0xac,0xee,0x01,0x98,0x01,0x98,0x00,0x02,0x01,0x15,0x00,0x00,0x06,0x32, +0x04,0x98,0x00,0x0a,0x00,0x11,0x00,0x00,0x21,0x27,0x21,0x27,0x11,0x21,0x35,0x33, +0x01,0x17,0x01,0x03,0x15,0x09,0x01,0x15,0x21,0x11,0x03,0xdc,0x4f,0xfd,0xec,0x64, +0x02,0x63,0x6e,0x01,0xe8,0x64,0xfe,0x18,0x82,0x01,0x98,0xfe,0x68,0xfd,0x9d,0x9e, +0xc8,0x02,0x94,0x9e,0xfe,0x18,0xc8,0xfe,0x18,0x01,0xb6,0x9e,0x01,0x98,0x01,0x98, +0x9e,0xfe,0x0c,0x00,0x00,0x02,0x01,0x15,0x00,0x00,0x06,0x32,0x04,0x98,0x00,0x0a, +0x00,0x11,0x00,0x00,0x01,0x33,0x01,0x07,0x01,0x23,0x35,0x21,0x11,0x37,0x21,0x13, +0x21,0x11,0x21,0x15,0x09,0x01,0x03,0xdc,0x6e,0x01,0xe8,0x64,0xfe,0x18,0x6e,0xfd, +0x9d,0x64,0x02,0x14,0x3b,0xfd,0x9d,0x02,0x63,0x01,0x98,0xfe,0x68,0x04,0x98,0xfe, +0x18,0xc8,0xfe,0x18,0x9e,0x02,0x94,0xc8,0xfe,0xe8,0xfe,0x0c,0x9e,0x01,0x98,0x01, +0x98,0x00,0x00,0x02,0x00,0x7f,0x00,0x64,0x06,0x64,0x04,0x98,0x00,0x0c,0x00,0x14, +0x00,0x00,0x01,0x03,0x21,0x35,0x33,0x01,0x17,0x01,0x23,0x27,0x35,0x21,0x27,0x13, +0x07,0x21,0x15,0x09,0x01,0x15,0x21,0x01,0x15,0x96,0x03,0x5d,0x6e,0x01,0xe8,0x32, +0xfe,0x18,0x6e,0x32,0xfc,0xd5,0x32,0xf2,0x72,0x03,0x2d,0x01,0x98,0xfe,0x68,0xfc, +0xd3,0x02,0xb0,0x01,0x4a,0x9e,0xfe,0x18,0x64,0xfe,0x18,0x63,0x3b,0x64,0x01,0x4a, +0xfa,0x9e,0x01,0x98,0x01,0x98,0x9e,0x00,0x00,0x02,0x00,0x7f,0x00,0x64,0x06,0x64, +0x04,0x98,0x00,0x0c,0x00,0x14,0x00,0x00,0x01,0x03,0x37,0x21,0x35,0x37,0x33,0x01, +0x07,0x01,0x23,0x35,0x21,0x13,0x07,0x21,0x15,0x09,0x01,0x15,0x21,0x01,0x15,0x96, +0x32,0x03,0x2b,0x32,0x6e,0x01,0xe8,0x32,0xfe,0x18,0x6e,0xfc,0xa3,0xf2,0x72,0x03, +0x2d,0x01,0x98,0xfe,0x68,0xfc,0xd3,0x02,0x4c,0x01,0x4a,0x64,0x3b,0x63,0xfe,0x18, +0x64,0xfe,0x18,0x9e,0x01,0x4a,0xfa,0x9e,0x01,0x98,0x01,0x98,0x9e,0x00,0x00,0x01, +0x01,0x3c,0xff,0xd8,0x05,0xc4,0x04,0xaf,0x00,0x21,0x00,0x00,0x01,0x36,0x37,0x36, +0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06, +0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x26,0x27,0x21,0x15,0x09,0x01,0x15,0x01,0x3c, +0x27,0x43,0x5a,0x6d,0x6f,0x7e,0x79,0x74,0x69,0x5e,0x5a,0x2e,0x2e,0x2e,0x2a,0x5e, +0x56,0x71,0x6f,0x7e,0x79,0x74,0x69,0x5e,0x3f,0x29,0x02,0x58,0x01,0xca,0xfe,0x36, +0x03,0x6e,0x47,0x43,0x5a,0x2e,0x2f,0x2f,0x2b,0x5d,0x59,0x6f,0x6e,0x80,0x7a,0x71, +0x69,0x5f,0x58,0x30,0x2f,0x2f,0x2b,0x5d,0x3e,0x49,0x9e,0x01,0xca,0x01,0xca,0x9e, +0x00,0x09,0x00,0x82,0x01,0x42,0x06,0x50,0x03,0xc2,0x00,0x03,0x00,0x07,0x00,0x0b, +0x00,0x0f,0x00,0x1e,0x00,0x22,0x00,0x26,0x00,0x2a,0x00,0x2e,0x00,0x00,0x01,0x07, +0x33,0x37,0x23,0x07,0x33,0x37,0x23,0x07,0x33,0x37,0x23,0x07,0x33,0x37,0x23,0x35, +0x03,0x21,0x13,0x21,0x11,0x16,0x17,0x06,0x07,0x11,0x21,0x03,0x21,0x01,0x33,0x27, +0x23,0x17,0x33,0x27,0x23,0x17,0x33,0x27,0x23,0x17,0x33,0x27,0x23,0x02,0xe1,0xa0, +0x3c,0xa0,0xb4,0xa0,0x3c,0xa0,0xb4,0xa0,0x3c,0xa0,0xb4,0xa0,0x3c,0xa0,0x78,0xbb, +0x02,0x1c,0xbb,0x01,0x87,0xad,0xc3,0xc3,0xad,0xfe,0x79,0xbb,0xfd,0xe4,0x02,0x5f, +0x3c,0xa0,0x3c,0x28,0x3c,0xa0,0x3c,0x28,0x3c,0xa0,0x3c,0x28,0x3c,0xa0,0x3c,0x02, +0x5a,0xf0,0xf0,0xf0,0xf0,0xf0,0xf0,0xf0,0xf0,0x50,0x01,0x18,0xfe,0xe8,0x01,0x16, +0xbc,0x82,0x82,0xbc,0x01,0x16,0xfe,0xe8,0x01,0x68,0xf0,0xf0,0xf0,0xf0,0xf0,0xf0, +0xf0,0x00,0x00,0x03,0x00,0xa5,0x00,0x70,0x05,0x74,0x05,0x3e,0x00,0x0c,0x00,0x10, +0x00,0x14,0x00,0x00,0x01,0x37,0x06,0x15,0x14,0x17,0x26,0x23,0x22,0x07,0x37,0x27, +0x37,0x09,0x01,0x21,0x01,0x25,0x11,0x01,0x11,0x04,0xa2,0xaf,0x07,0x2a,0x8e,0xa4, +0x42,0x46,0xaf,0xfe,0x38,0xfe,0x1d,0x01,0xa9,0xfe,0xe5,0xfe,0x57,0x01,0x55,0x01, +0xa8,0x01,0x7b,0xb0,0x46,0x43,0xa3,0x8f,0x2a,0x07,0xb0,0xfe,0x39,0x01,0x6f,0xfe, +0x58,0x01,0xa8,0x3a,0x01,0x1b,0xfe,0x57,0xfe,0xe6,0x00,0x03,0x00,0x75,0x01,0x62, +0x06,0x50,0x03,0xa2,0x00,0x08,0x00,0x0c,0x00,0x10,0x00,0x00,0x01,0x35,0x16,0x17, +0x06,0x07,0x35,0x21,0x35,0x05,0x21,0x07,0x21,0x13,0x27,0x21,0x17,0x04,0xfe,0x9a, +0xb8,0xb8,0x9a,0xfe,0x98,0xfd,0xa7,0x02,0x58,0xc8,0xfd,0xa8,0xc8,0xc8,0x02,0x58, +0xc8,0x02,0xaa,0xf8,0xbc,0x64,0x64,0xbc,0xf8,0x50,0x52,0xc8,0x01,0x1a,0xc8,0xc8, +0x00,0x03,0x00,0xa7,0xff,0xc5,0x05,0x74,0x04,0x94,0x00,0x0c,0x00,0x10,0x00,0x14, +0x00,0x00,0x01,0x27,0x16,0x33,0x32,0x37,0x06,0x15,0x14,0x17,0x27,0x07,0x27,0x09, +0x01,0x11,0x01,0x03,0x21,0x01,0x21,0x04,0x69,0xaf,0x46,0x42,0xa4,0x8e,0x2a,0x07, +0xaf,0xff,0x38,0xfe,0x91,0x01,0xa8,0xfe,0x58,0x3a,0xfe,0xe5,0x01,0xa8,0x01,0x1b, +0x03,0xc1,0xb0,0x07,0x2a,0x90,0xa2,0x43,0x46,0xb0,0xff,0x39,0xfe,0x1d,0x01,0xa8, +0xfe,0xe5,0xfe,0x58,0x01,0x55,0x01,0xa8,0x00,0x01,0x00,0xa7,0x00,0x70,0x05,0x74, +0x05,0x3e,0x00,0x32,0x00,0x00,0x25,0x26,0x23,0x22,0x07,0x36,0x37,0x36,0x37,0x01, +0x26,0x27,0x26,0x22,0x07,0x06,0x07,0x01,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17, +0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x01,0x06,0x07,0x06,0x15,0x14,0x17,0x16, +0x17,0x01,0x36,0x37,0x36,0x37,0x06,0x15,0x14,0x05,0x74,0x8f,0xa5,0x42,0x45,0x48, +0x59,0x27,0x18,0xfe,0xd1,0x1d,0x23,0x26,0x4e,0x27,0x24,0x1c,0xfe,0x58,0x24,0x29, +0x2e,0x2f,0x2c,0x30,0x2b,0x22,0x22,0x11,0x13,0x13,0x11,0x22,0x01,0xa8,0x20,0x0b, +0x0e,0x0e,0x0f,0x1c,0x01,0x2f,0x04,0x10,0x25,0x48,0x07,0x70,0x2a,0x07,0x47,0x26, +0x10,0x03,0x01,0x2f,0x1d,0x0e,0x0f,0x0f,0x0f,0x1c,0x01,0xa8,0x24,0x10,0x12,0x12, +0x11,0x23,0x23,0x2a,0x30,0x2c,0x30,0x2e,0x2b,0x22,0xfe,0x57,0x21,0x1f,0x27,0x26, +0x27,0x26,0x23,0x1d,0xfe,0xd1,0x17,0x27,0x5a,0x47,0x47,0x43,0xa3,0x00,0x00,0x01, +0x00,0x75,0x01,0x61,0x06,0x50,0x03,0xa3,0x00,0x2f,0x00,0x00,0x01,0x06,0x07,0x34, +0x37,0x36,0x37,0x21,0x22,0x07,0x06,0x07,0x06,0x07,0x06,0x15,0x21,0x34,0x37,0x36, +0x37,0x36,0x37,0x36,0x33,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x21,0x14,0x17, +0x16,0x17,0x16,0x17,0x16,0x33,0x21,0x26,0x27,0x26,0x35,0x16,0x06,0x50,0xb7,0x9b, +0x25,0x10,0x0e,0xfe,0x54,0x29,0x23,0x24,0x1d,0x1c,0x10,0x0f,0xfd,0xa8,0x12,0x13, +0x22,0x1f,0x2f,0x2a,0x31,0x31,0x2a,0x2f,0x1f,0x22,0x13,0x12,0x02,0x58,0x0f,0x10, +0x1c,0x1d,0x24,0x23,0x29,0x01,0xac,0x0e,0x10,0x25,0x9b,0x02,0x82,0x65,0xbc,0x65, +0x5a,0x27,0x13,0x0f,0x10,0x1c,0x1b,0x26,0x24,0x28,0x30,0x2b,0x2e,0x21,0x1f,0x15, +0x12,0x12,0x15,0x1f,0x22,0x2d,0x2b,0x30,0x28,0x24,0x26,0x1b,0x1c,0x10,0x0f,0x13, +0x27,0x5a,0x65,0xbc,0x00,0x01,0x00,0xa7,0xff,0xc6,0x05,0x74,0x04,0x94,0x00,0x32, +0x00,0x00,0x01,0x06,0x15,0x14,0x17,0x26,0x27,0x26,0x27,0x01,0x06,0x07,0x06,0x15, +0x14,0x17,0x16,0x17,0x01,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x06,0x07,0x06, +0x23,0x22,0x27,0x26,0x27,0x01,0x16,0x17,0x16,0x32,0x37,0x36,0x37,0x01,0x26,0x27, +0x26,0x27,0x16,0x33,0x32,0x05,0x74,0x29,0x07,0x48,0x25,0x10,0x04,0xfe,0xd1,0x1f, +0x0c,0x0e,0x0e,0x0f,0x1c,0xfe,0x58,0x22,0x11,0x13,0x13,0x11,0x22,0x22,0x2b,0x30, +0x2c,0x30,0x2d,0x2b,0x22,0x01,0xa8,0x1c,0x24,0x27,0x4e,0x26,0x23,0x1d,0x01,0x2f, +0x18,0x27,0x59,0x48,0x45,0x42,0xa5,0x04,0x94,0x8e,0xa3,0x43,0x47,0x47,0x5a,0x27, +0x17,0xfe,0xd1,0x21,0x1f,0x26,0x27,0x26,0x27,0x24,0x1c,0xfe,0x57,0x22,0x2b,0x2e, +0x30,0x2c,0x30,0x2a,0x23,0x23,0x11,0x12,0x12,0x12,0x22,0x01,0xa8,0x1c,0x0f,0x0f, +0x0f,0x0e,0x1d,0x01,0x2f,0x03,0x10,0x26,0x47,0x07,0x00,0x03,0x00,0x73,0x00,0xac, +0x06,0x50,0x04,0x58,0x00,0x16,0x00,0x2b,0x00,0x42,0x00,0x00,0x01,0x36,0x25,0x06, +0x03,0x06,0x07,0x06,0x07,0x06,0x22,0x27,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37, +0x36,0x37,0x36,0x24,0x34,0x37,0x36,0x37,0x36,0x37,0x36,0x32,0x17,0x04,0x05,0x04, +0x05,0x06,0x22,0x27,0x26,0x27,0x26,0x27,0x01,0x26,0x27,0x26,0x27,0x26,0x35,0x34, +0x37,0x36,0x37,0x36,0x37,0x36,0x32,0x17,0x16,0x17,0x16,0x17,0x12,0x17,0x24,0x04, +0x2f,0xf6,0x01,0x2b,0xe3,0x7a,0x0c,0x15,0x16,0x1b,0x1a,0x3e,0x1a,0x1b,0x16,0x15, +0x0c,0x0b,0x0b,0x0c,0x15,0x16,0xfc,0x5f,0x0f,0x11,0x1b,0x1d,0x24,0x23,0x52,0x23, +0x01,0x61,0x03,0x66,0xfc,0x82,0xfe,0xb7,0x23,0x52,0x23,0x29,0x18,0x1d,0x0f,0x03, +0xad,0x1b,0x16,0x15,0x0c,0x0b,0x0b,0x0c,0x15,0x16,0x1b,0x1a,0x3e,0x1a,0x1b,0x16, +0x12,0x0f,0x78,0xe5,0xfe,0x94,0x01,0xce,0x62,0x51,0x75,0xfe,0xfd,0x1d,0x14,0x15, +0x0c,0x0b,0x0b,0x0c,0x15,0x14,0x1d,0x1b,0x1f,0x1e,0x1b,0x1d,0x14,0x15,0x97,0x52, +0x24,0x27,0x1a,0x1c,0x10,0x0f,0x0e,0x85,0x36,0x38,0x83,0x0e,0x0f,0x12,0x1a,0x1f, +0x22,0x01,0x01,0x0c,0x15,0x14,0x1d,0x1b,0x1e,0x1f,0x1b,0x1d,0x14,0x15,0x0c,0x0b, +0x0b,0x0c,0x15,0x11,0x20,0xfe,0xfe,0x76,0x63,0x00,0x00,0x02,0x00,0x96,0x01,0x1f, +0x06,0x3c,0x03,0xe5,0x00,0x1a,0x00,0x2e,0x00,0x00,0x13,0x36,0x37,0x36,0x37,0x36, +0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x05,0x04,0x07,0x0e,0x01,0x23,0x22,0x27, +0x26,0x27,0x26,0x27,0x26,0x25,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x16,0x17, +0x06,0x07,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x96,0x41,0x1e,0x20,0x14,0x27,0x27, +0x2b,0x2f,0x35,0x34,0x3c,0x33,0xa2,0x01,0x91,0xfe,0x6f,0xa2,0x38,0x6e,0x32,0x33, +0x27,0x39,0x15,0x1d,0x17,0x1d,0x04,0x06,0x25,0x12,0x13,0x13,0x12,0x25,0x62,0xfc, +0xfc,0x62,0x25,0x12,0x13,0x13,0x12,0x02,0x82,0x26,0x3a,0x3f,0x13,0x24,0x12,0x13, +0x13,0x16,0x20,0x66,0x4c,0x4c,0x66,0x23,0x26,0x13,0x1d,0x19,0x23,0x2f,0x3a,0x26, +0x27,0x2b,0x2d,0x32,0x33,0x2d,0x2b,0x27,0xf1,0x72,0x72,0xf1,0x27,0x2b,0x2d,0x33, +0x32,0x2d,0x2b,0x00,0x00,0x01,0x00,0xa2,0x01,0x56,0x06,0x32,0x03,0xae,0x00,0x65, +0x00,0x00,0x00,0x14,0x06,0x0f,0x01,0x06,0x07,0x06,0x22,0x27,0x26,0x27,0x2e,0x01, +0x35,0x34,0x3f,0x01,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x27,0x26,0x23,0x21,0x22, +0x07,0x06,0x07,0x06,0x0f,0x01,0x06,0x07,0x06,0x07,0x06,0x23,0x21,0x22,0x2e,0x02, +0x34,0x3f,0x01,0x36,0x34,0x2f,0x01,0x26,0x34,0x36,0x37,0x36,0x37,0x36,0x33,0x21, +0x32,0x17,0x16,0x17,0x16,0x1f,0x01,0x16,0x17,0x16,0x17,0x16,0x33,0x21,0x32,0x37, +0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x2f,0x01,0x26,0x35,0x34,0x36,0x37,0x36,0x37, +0x36,0x32,0x17,0x16,0x1f,0x01,0x16,0x06,0x32,0x06,0x06,0xf0,0x04,0x09,0x07,0x10, +0x07,0x07,0x06,0x06,0x06,0x03,0x1b,0x03,0x03,0x03,0x06,0x05,0x08,0x08,0x07,0xfe, +0xe6,0x08,0x07,0x07,0x06,0x05,0x04,0x5a,0x05,0x03,0x06,0x08,0x06,0x08,0xfd,0x9c, +0x08,0x0e,0x0c,0x06,0x03,0x72,0x03,0x03,0x72,0x03,0x06,0x06,0x06,0x07,0x07,0x08, +0x02,0x64,0x08,0x06,0x09,0x05,0x03,0x05,0x5a,0x04,0x05,0x06,0x07,0x07,0x08,0x01, +0x1a,0x07,0x08,0x08,0x05,0x06,0x03,0x03,0x03,0x1b,0x03,0x06,0x06,0x06,0x07,0x07, +0x10,0x07,0x09,0x04,0xf0,0x06,0x02,0x8b,0x12,0x0e,0x06,0xf0,0x04,0x05,0x03,0x03, +0x04,0x05,0x06,0x0e,0x09,0x04,0x0b,0x63,0x0b,0x05,0x07,0x07,0x08,0x06,0x05,0x03, +0x04,0x03,0x04,0x05,0x05,0x08,0xb4,0x0a,0x03,0x05,0x04,0x03,0x06,0x0c,0x0e,0x12, +0x06,0xe4,0x06,0x14,0x06,0xe4,0x06,0x12,0x0e,0x06,0x05,0x04,0x03,0x03,0x03,0x06, +0x03,0x0a,0xb4,0x08,0x05,0x05,0x04,0x03,0x04,0x03,0x05,0x06,0x08,0x07,0x07,0x05, +0x0b,0x63,0x0b,0x04,0x09,0x0e,0x06,0x05,0x04,0x03,0x03,0x05,0x04,0xf0,0x06,0x00, +0x00,0x01,0x00,0xa2,0x00,0xf1,0x06,0x32,0x04,0x13,0x00,0x67,0x00,0x00,0x00,0x14, +0x07,0x06,0x07,0x01,0x06,0x07,0x06,0x22,0x27,0x26,0x27,0x2e,0x01,0x35,0x34,0x3f, +0x01,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x27,0x26,0x2b,0x01,0x22,0x07,0x06,0x07, +0x06,0x0f,0x01,0x06,0x07,0x06,0x07,0x06,0x23,0x21,0x22,0x2e,0x02,0x34,0x37,0x13, +0x36,0x34,0x27,0x03,0x26,0x34,0x36,0x37,0x36,0x37,0x36,0x33,0x21,0x32,0x17,0x16, +0x17,0x16,0x17,0x13,0x16,0x17,0x16,0x17,0x16,0x3b,0x01,0x32,0x37,0x36,0x37,0x36, +0x37,0x36,0x35,0x34,0x2f,0x01,0x26,0x35,0x34,0x36,0x37,0x36,0x37,0x36,0x32,0x17, +0x16,0x17,0x01,0x16,0x17,0x06,0x32,0x03,0x03,0x06,0xfe,0x70,0x05,0x08,0x07,0x10, +0x07,0x07,0x06,0x06,0x06,0x03,0x57,0x03,0x03,0x03,0x06,0x05,0x08,0x08,0x07,0x5c, +0x08,0x07,0x07,0x06,0x05,0x04,0x78,0x05,0x03,0x06,0x08,0x06,0x08,0xfd,0x6a,0x08, +0x0e,0x0c,0x06,0x03,0x90,0x03,0x03,0x9a,0x03,0x06,0x06,0x06,0x07,0x07,0x08,0x02, +0x96,0x08,0x06,0x09,0x05,0x03,0x05,0x82,0x04,0x05,0x06,0x07,0x07,0x08,0x5c,0x07, +0x08,0x08,0x05,0x06,0x03,0x03,0x03,0x57,0x03,0x06,0x06,0x06,0x07,0x07,0x10,0x07, +0x08,0x05,0x01,0x90,0x06,0x03,0x02,0x8b,0x12,0x07,0x08,0x05,0xfe,0x98,0x05,0x04, +0x03,0x03,0x04,0x05,0x06,0x0e,0x09,0x07,0x08,0xdb,0x08,0x08,0x07,0x07,0x08,0x06, +0x05,0x03,0x04,0x03,0x04,0x05,0x05,0x08,0xf0,0x0a,0x03,0x05,0x04,0x03,0x06,0x0c, +0x0e,0x12,0x06,0x01,0x20,0x06,0x14,0x06,0x01,0x34,0x06,0x12,0x0e,0x06,0x05,0x04, +0x03,0x03,0x03,0x06,0x03,0x0a,0xfe,0xfc,0x08,0x05,0x05,0x04,0x03,0x04,0x03,0x05, +0x06,0x08,0x07,0x07,0x08,0x08,0xdb,0x08,0x07,0x09,0x0e,0x06,0x05,0x04,0x03,0x03, +0x04,0x05,0xfe,0x98,0x05,0x08,0x00,0x03,0x00,0x75,0x00,0xa6,0x06,0x50,0x04,0x5e, +0x00,0x13,0x00,0x1f,0x00,0x2b,0x00,0x00,0x01,0x06,0x07,0x06,0x07,0x23,0x37,0x36, +0x37,0x36,0x37,0x26,0x27,0x26,0x2f,0x01,0x33,0x16,0x17,0x16,0x01,0x23,0x36,0x37, +0x36,0x37,0x21,0x35,0x21,0x06,0x07,0x06,0x03,0x16,0x17,0x16,0x17,0x21,0x35,0x21, +0x26,0x27,0x26,0x27,0x06,0x50,0x88,0x53,0x8c,0x4a,0x6c,0x0a,0x52,0xa0,0x26,0x47, +0x47,0x26,0xa0,0x52,0x0a,0x6c,0x48,0x8e,0x53,0xfd,0xcc,0x69,0x13,0x18,0x1f,0x2a, +0xfc,0xd6,0x03,0xe5,0x6e,0x3a,0x11,0x0d,0x0d,0x11,0x3a,0x6e,0xfc,0x1b,0x03,0x2a, +0x2a,0x1f,0x18,0x13,0x02,0x82,0x4f,0x55,0x8f,0xa9,0x18,0xc3,0xa4,0x27,0x36,0x36, +0x27,0xa4,0xc3,0x18,0xa4,0x94,0x55,0xfd,0xd5,0x3d,0x3b,0x4a,0x48,0x64,0x8e,0x8e, +0x29,0x03,0x8f,0x29,0x29,0x8e,0x8e,0x64,0x48,0x4a,0x3b,0x3d,0x00,0x03,0x00,0x06, +0xfe,0x23,0x03,0xee,0x06,0x75,0x00,0x03,0x00,0x06,0x00,0x09,0x00,0x00,0x09,0x05, +0x21,0x09,0x01,0x21,0x01,0xf9,0x01,0xf5,0xfe,0x0b,0xfe,0x0d,0x01,0xf3,0xfe,0x98, +0x02,0xd2,0xfe,0x96,0x01,0x6a,0xfd,0x2e,0x06,0x75,0xfb,0xdb,0xfb,0xd3,0x04,0x2d, +0x03,0x31,0xfd,0x08,0xfc,0x8e,0x03,0x00,0xff,0xff,0x00,0xb7,0xfe,0xf2,0x02,0x7b, +0x06,0x12,0x10,0x06,0x09,0x0a,0x00,0x00,0xff,0xff,0x00,0xa4,0xfe,0xf2,0x02,0x68, +0x06,0x12,0x10,0x06,0x09,0x0b,0x00,0x00,0xff,0xff,0x00,0xb7,0xfe,0xf2,0x03,0xcf, +0x06,0x12,0x10,0x27,0x09,0x0a,0x01,0x54,0x00,0x00,0x10,0x06,0x09,0x0a,0x00,0x00, +0xff,0xff,0x00,0xa4,0xfe,0xf2,0x03,0xbc,0x06,0x12,0x10,0x27,0x09,0x0b,0x01,0x54, +0x00,0x00,0x10,0x06,0x09,0x0b,0x00,0x00,0x00,0x01,0x00,0x06,0xfe,0x23,0x03,0xee, +0x06,0x75,0x00,0x03,0x00,0x00,0x09,0x03,0x01,0xfa,0x01,0xf4,0xfe,0x0c,0xfe,0x0c, +0x06,0x75,0xfb,0xdb,0xfb,0xd3,0x04,0x2d,0xff,0xff,0x00,0x2f,0xfe,0x8d,0x0b,0xe9, +0x06,0x0e,0x10,0x27,0x08,0x9c,0x07,0xef,0x00,0x00,0x10,0x26,0x08,0x9c,0x00,0x00, +0x10,0x27,0x08,0x9c,0x02,0xa5,0x00,0x00,0x10,0x07,0x08,0x9c,0x05,0x4a,0x00,0x00, +0x00,0x01,0x00,0x2f,0xfe,0x8d,0x03,0xfa,0x06,0x0e,0x00,0x2d,0x00,0x00,0x01,0x32, +0x13,0x37,0x21,0x35,0x21,0x12,0x37,0x36,0x33,0x32,0x16,0x15,0x14,0x06,0x23,0x22, +0x26,0x27,0x2e,0x01,0x23,0x22,0x03,0x07,0x21,0x15,0x21,0x14,0x07,0x02,0x07,0x06, +0x23,0x22,0x26,0x35,0x34,0x36,0x33,0x32,0x16,0x17,0x1e,0x01,0x01,0x37,0x6a,0x0e, +0x02,0xfe,0xff,0x01,0x07,0x14,0x52,0x5f,0xca,0x50,0x64,0x40,0x37,0x2a,0x38,0x0c, +0x06,0x09,0x10,0x6b,0x0e,0x02,0x01,0x08,0xfe,0xf3,0x01,0x11,0x5e,0x5f,0xc4,0x4f, +0x65,0x44,0x3d,0x21,0x30,0x0f,0x0a,0x0a,0xfe,0xfa,0x02,0xb0,0x82,0xaa,0x01,0x9a, +0xc0,0xde,0x54,0x41,0x36,0x3f,0x26,0x23,0x0f,0x48,0xfd,0x95,0x63,0xaa,0x12,0x10, +0xfe,0x21,0xcf,0xcf,0x53,0x41,0x38,0x3f,0x1d,0x1c,0x12,0x53,0x00,0x01,0x00,0x2f, +0xfe,0x8d,0x03,0xfa,0x06,0x0e,0x00,0x34,0x00,0x00,0x01,0x02,0x07,0x06,0x23,0x22, +0x26,0x35,0x34,0x36,0x33,0x32,0x16,0x17,0x1e,0x01,0x33,0x32,0x13,0x23,0x35,0x21, +0x37,0x36,0x37,0x21,0x35,0x21,0x12,0x37,0x36,0x33,0x32,0x16,0x15,0x14,0x06,0x23, +0x22,0x26,0x27,0x2e,0x01,0x23,0x22,0x03,0x21,0x15,0x21,0x06,0x07,0x21,0x15,0x02, +0x6c,0x1a,0x4c,0x5f,0xc4,0x4f,0x65,0x44,0x3d,0x21,0x30,0x0f,0x0a,0x0a,0x13,0x64, +0x12,0xfd,0x01,0x01,0x01,0x02,0x05,0xfe,0xf7,0x01,0x16,0x1b,0x3c,0x5f,0xca,0x50, +0x64,0x40,0x37,0x2a,0x38,0x0c,0x06,0x09,0x10,0x62,0x14,0x01,0x03,0xfe,0xf9,0x04, +0x03,0x01,0x0e,0x01,0x60,0xfe,0xa4,0xa8,0xcf,0x53,0x41,0x38,0x3f,0x1d,0x1c,0x12, +0x53,0x02,0x66,0xaa,0x45,0x5a,0x51,0xa8,0x01,0x02,0x8c,0xde,0x54,0x41,0x36,0x3f, +0x26,0x23,0x0f,0x48,0xfd,0xfe,0xa8,0xa3,0x4d,0xaa,0x00,0x02,0x00,0x06,0xff,0x03, +0x06,0x21,0x05,0x25,0x00,0x03,0x00,0x07,0x00,0x00,0x17,0x11,0x21,0x11,0x25,0x21, +0x11,0x21,0x06,0x06,0x1b,0xfa,0x57,0x05,0x37,0xfa,0xc9,0xfc,0x06,0x20,0xf9,0xe0, +0x72,0x02,0x9e,0x00,0x00,0x02,0x00,0x06,0xff,0x03,0x06,0x21,0x05,0x25,0x00,0x03, +0x00,0x07,0x00,0x00,0x17,0x11,0x21,0x11,0x01,0x21,0x11,0x21,0x06,0x06,0x1b,0xfa, +0x57,0x05,0x37,0xfa,0xc9,0xfc,0x06,0x20,0xf9,0xe0,0x03,0x10,0x02,0x9e,0x00,0x03, +0x01,0x91,0x06,0x63,0x03,0xe7,0x08,0x34,0x00,0x03,0x00,0x07,0x00,0x0b,0x00,0x00, +0x01,0x33,0x15,0x23,0x25,0x33,0x15,0x23,0x03,0x21,0x15,0x21,0x03,0x1a,0xcb,0xcb, +0xfe,0x79,0xcb,0xcb,0x02,0x02,0x56,0xfd,0xaa,0x07,0x2d,0xca,0xca,0xca,0x01,0xd1, +0x94,0x00,0x00,0x03,0x01,0x91,0x06,0x63,0x03,0xe7,0x08,0x34,0x00,0x03,0x00,0x07, +0x00,0x0b,0x00,0x00,0x01,0x21,0x15,0x21,0x01,0x33,0x15,0x23,0x25,0x33,0x15,0x23, +0x01,0x91,0x02,0x56,0xfd,0xaa,0x01,0x89,0xcb,0xcb,0xfe,0x79,0xcb,0xcb,0x06,0xf7, +0x94,0x01,0xd1,0xca,0xca,0xca,0x00,0x02,0x01,0x91,0x06,0x63,0x03,0xe7,0x08,0x34, +0x00,0x03,0x00,0x07,0x00,0x00,0x01,0x33,0x15,0x23,0x03,0x21,0x15,0x21,0x02,0x56, +0xcc,0xcc,0xc5,0x02,0x56,0xfd,0xaa,0x07,0x2f,0xcc,0x01,0xd1,0x94,0x00,0x00,0x03, +0x01,0x93,0x06,0x63,0x04,0x42,0x08,0x57,0x00,0x03,0x00,0x07,0x00,0x0b,0x00,0x00, +0x01,0x33,0x15,0x23,0x25,0x33,0x15,0x23,0x01,0x33,0x01,0x23,0x03,0x1a,0xcb,0xcb, +0xfe,0x79,0xcb,0xcb,0x01,0xe8,0xc7,0xfe,0xba,0x99,0x07,0x2d,0xca,0xca,0xca,0x01, +0xf4,0xfe,0xf8,0x00,0x00,0x03,0x01,0x2d,0x06,0x63,0x03,0xe5,0x08,0x57,0x00,0x03, +0x00,0x07,0x00,0x0b,0x00,0x00,0x01,0x33,0x15,0x23,0x25,0x33,0x15,0x23,0x13,0x01, +0x23,0x01,0x03,0x1a,0xcb,0xcb,0xfe,0x79,0xcb,0xcb,0x5f,0x01,0x1a,0x99,0xfe,0xba, +0x07,0x2d,0xca,0xca,0xca,0x01,0xf4,0xfe,0xfa,0x01,0x06,0x00,0x00,0x02,0x01,0x91, +0x06,0x63,0x04,0x42,0x08,0x57,0x00,0x03,0x00,0x07,0x00,0x00,0x01,0x21,0x15,0x21, +0x01,0x33,0x01,0x23,0x01,0x91,0x02,0x56,0xfd,0xaa,0x01,0xea,0xc7,0xfe,0xba,0x99, +0x06,0xf7,0x94,0x01,0xf4,0xfe,0xf8,0x00,0x00,0x03,0x01,0xe5,0x05,0xb3,0x05,0x42, +0x08,0x57,0x00,0x0a,0x00,0x12,0x00,0x16,0x00,0x00,0x00,0x34,0x26,0x23,0x22,0x06, +0x15,0x14,0x16,0x33,0x32,0x36,0x14,0x06,0x22,0x26,0x34,0x36,0x32,0x25,0x33,0x01, +0x23,0x03,0x3a,0x46,0x33,0x34,0x46,0x46,0x34,0x33,0xa8,0x7f,0xb8,0x80,0x80,0xb8, +0x01,0x5e,0xc7,0xfe,0xba,0x99,0x06,0x5c,0x66,0x46,0x46,0x33,0x34,0x45,0xd5,0xb8, +0x80,0x80,0xb8,0x7f,0xed,0xfe,0xf8,0x00,0x00,0x02,0x01,0x2d,0x06,0x63,0x03,0xe7, +0x08,0x57,0x00,0x03,0x00,0x07,0x00,0x00,0x01,0x21,0x15,0x21,0x13,0x01,0x23,0x01, +0x01,0x91,0x02,0x56,0xfd,0xaa,0x61,0x01,0x1a,0x99,0xfe,0xba,0x06,0xf7,0x94,0x01, +0xf4,0xfe,0xfa,0x01,0x06,0x00,0x00,0x02,0x01,0x72,0x06,0x63,0x04,0x06,0x08,0x34, +0x00,0x1b,0x00,0x1f,0x00,0x00,0x01,0x27,0x2e,0x01,0x23,0x22,0x06,0x07,0x23,0x3e, +0x01,0x33,0x32,0x16,0x1f,0x01,0x1e,0x01,0x33,0x32,0x36,0x37,0x33,0x0e,0x01,0x23, +0x22,0x26,0x01,0x21,0x15,0x21,0x02,0xb8,0x39,0x16,0x21,0x0d,0x26,0x24,0x02,0x7d, +0x02,0x66,0x5b,0x26,0x40,0x25,0x39,0x16,0x21,0x0d,0x26,0x24,0x02,0x7d,0x02,0x66, +0x5b,0x26,0x40,0xfe,0xb4,0x02,0x56,0xfd,0xaa,0x06,0x94,0x2c,0x10,0x0f,0x3a,0x42, +0x6c,0x76,0x17,0x1a,0x2c,0x10,0x0f,0x3a,0x42,0x6c,0x76,0x17,0x01,0xba,0x94,0x00, +0x00,0x03,0x01,0x7d,0x06,0x63,0x03,0xfb,0x08,0x58,0x00,0x03,0x00,0x07,0x00,0x0e, +0x00,0x00,0x01,0x33,0x15,0x23,0x25,0x33,0x15,0x23,0x37,0x03,0x33,0x17,0x37,0x33, +0x03,0x03,0x1a,0xcb,0xcb,0xfe,0x79,0xcb,0xcb,0xdf,0xf5,0x8b,0xb4,0xb4,0x8b,0xf5, +0x07,0x2d,0xca,0xca,0xca,0xed,0x01,0x08,0xac,0xac,0xfe,0xf8,0x00,0x03,0x01,0x72, +0x06,0x63,0x04,0x06,0x08,0x57,0x00,0x1b,0x00,0x1f,0x00,0x23,0x00,0x00,0x01,0x27, +0x2e,0x01,0x23,0x22,0x06,0x07,0x23,0x3e,0x01,0x33,0x32,0x16,0x1f,0x01,0x1e,0x01, +0x33,0x32,0x36,0x37,0x33,0x0e,0x01,0x23,0x22,0x26,0x13,0x33,0x15,0x23,0x25,0x33, +0x15,0x23,0x02,0xb8,0x39,0x16,0x21,0x0d,0x26,0x24,0x02,0x7d,0x02,0x66,0x5b,0x26, +0x40,0x25,0x39,0x16,0x21,0x0d,0x26,0x24,0x02,0x7d,0x02,0x66,0x5b,0x26,0x40,0x3d, +0xcb,0xcb,0xfe,0x79,0xcb,0xcb,0x06,0x94,0x2c,0x10,0x0f,0x3a,0x42,0x6c,0x76,0x17, +0x1a,0x2c,0x10,0x0f,0x3a,0x42,0x6c,0x76,0x17,0x01,0xdd,0xca,0xca,0xca,0x00,0x02, +0x01,0x7d,0x06,0x63,0x03,0xfb,0x08,0x57,0x00,0x06,0x00,0x0a,0x00,0x00,0x01,0x03, +0x33,0x17,0x37,0x33,0x0b,0x01,0x33,0x15,0x23,0x02,0x72,0xf5,0x8b,0xb4,0xb4,0x8b, +0xf5,0xb0,0xcc,0xcc,0x06,0x63,0x01,0x08,0xac,0xac,0xfe,0xf8,0x01,0xf4,0xcc,0x00, +0x00,0x02,0x01,0x72,0x06,0x63,0x04,0x93,0x08,0x57,0x00,0x1b,0x00,0x1f,0x00,0x00, +0x01,0x27,0x2e,0x01,0x23,0x22,0x06,0x07,0x23,0x3e,0x01,0x33,0x32,0x16,0x1f,0x01, +0x1e,0x01,0x33,0x32,0x36,0x37,0x33,0x0e,0x01,0x23,0x22,0x26,0x13,0x33,0x01,0x23, +0x02,0xb8,0x39,0x16,0x21,0x0d,0x26,0x24,0x02,0x7d,0x02,0x66,0x5b,0x26,0x40,0x25, +0x39,0x16,0x21,0x0d,0x26,0x24,0x02,0x7d,0x02,0x66,0x5b,0x26,0x40,0xef,0xc7,0xfe, +0xba,0x99,0x06,0x94,0x2c,0x10,0x0f,0x3a,0x42,0x6c,0x76,0x17,0x1a,0x2c,0x10,0x0f, +0x3a,0x42,0x6c,0x76,0x17,0x01,0xdd,0xfe,0xf8,0x00,0x00,0x02,0x01,0x7d,0x06,0x63, +0x05,0x79,0x08,0x35,0x00,0x06,0x00,0x0a,0x00,0x00,0x01,0x33,0x13,0x23,0x27,0x07, +0x23,0x01,0x33,0x01,0x23,0x02,0x72,0x94,0xf5,0x8b,0xb4,0xb4,0x8b,0x03,0x35,0xc7, +0xfe,0xba,0x99,0x07,0x6b,0xfe,0xf8,0xac,0xac,0x01,0xd2,0xfe,0xf8,0x00,0x00,0x02, +0xff,0xfe,0x06,0x63,0x03,0xfb,0x08,0x35,0x00,0x06,0x00,0x0a,0x00,0x00,0x01,0x33, +0x13,0x23,0x27,0x07,0x23,0x03,0x01,0x23,0x01,0x02,0x72,0x94,0xf5,0x8b,0xb4,0xb4, +0x8b,0xba,0x01,0x1a,0x99,0xfe,0xba,0x07,0x6b,0xfe,0xf8,0xac,0xac,0x01,0xd2,0xfe, +0xfa,0x01,0x06,0x00,0x00,0x02,0x01,0x72,0x06,0x62,0x04,0x06,0x08,0x57,0x00,0x06, +0x00,0x22,0x00,0x00,0x01,0x33,0x17,0x23,0x27,0x07,0x23,0x01,0x27,0x2e,0x01,0x23, +0x22,0x06,0x07,0x23,0x3e,0x01,0x33,0x32,0x16,0x1f,0x01,0x1e,0x01,0x33,0x32,0x36, +0x37,0x33,0x0e,0x01,0x23,0x22,0x26,0x02,0x72,0x94,0xf5,0x8b,0xb4,0xb4,0x8b,0x01, +0x3b,0x39,0x16,0x21,0x0d,0x26,0x24,0x02,0x7d,0x02,0x66,0x5b,0x26,0x40,0x25,0x39, +0x16,0x21,0x0d,0x26,0x24,0x02,0x7d,0x02,0x66,0x5b,0x26,0x40,0x07,0x57,0xf5,0xa0, +0xa0,0x01,0x50,0x29,0x0f,0x0e,0x37,0x3d,0x65,0x6e,0x15,0x18,0x2a,0x0f,0x0e,0x37, +0x3d,0x65,0x6e,0x15,0x00,0x02,0x01,0x72,0x06,0x63,0x04,0x06,0x08,0x57,0x00,0x0c, +0x00,0x28,0x00,0x00,0x01,0x33,0x1e,0x01,0x33,0x32,0x36,0x37,0x33,0x0e,0x01,0x20, +0x26,0x25,0x27,0x2e,0x01,0x23,0x22,0x06,0x07,0x23,0x3e,0x01,0x33,0x32,0x16,0x1f, +0x01,0x1e,0x01,0x33,0x32,0x36,0x37,0x33,0x0e,0x01,0x23,0x22,0x26,0x01,0x83,0x76, +0x0b,0x61,0x57,0x56,0x60,0x0d,0x76,0x0a,0x9e,0xfe,0xde,0x9e,0x01,0x2b,0x39,0x16, +0x21,0x0d,0x26,0x24,0x02,0x7d,0x02,0x66,0x5b,0x26,0x40,0x25,0x39,0x16,0x21,0x0d, +0x26,0x24,0x02,0x7d,0x02,0x66,0x5b,0x26,0x40,0x07,0x3a,0x38,0x38,0x37,0x39,0x6b, +0x6c,0x6c,0xe3,0x29,0x0f,0x0e,0x37,0x3d,0x65,0x6e,0x15,0x18,0x2a,0x0f,0x0e,0x37, +0x3d,0x65,0x6e,0x15,0x00,0x02,0x01,0x83,0x06,0x63,0x04,0x3a,0x08,0x57,0x00,0x0c, +0x00,0x10,0x00,0x00,0x01,0x33,0x1e,0x01,0x33,0x32,0x36,0x37,0x33,0x0e,0x01,0x20, +0x26,0x01,0x33,0x01,0x23,0x01,0x83,0x76,0x0b,0x61,0x57,0x56,0x60,0x0d,0x76,0x0a, +0x9e,0xfe,0xde,0x9e,0x01,0xe6,0xc7,0xfe,0xba,0x99,0x07,0x48,0x3c,0x3c,0x3c,0x3c, +0x72,0x73,0x73,0x01,0x81,0xfe,0xf8,0x00,0x00,0x02,0x01,0x38,0x06,0x63,0x03,0xf5, +0x08,0x57,0x00,0x0c,0x00,0x10,0x00,0x00,0x01,0x33,0x1e,0x01,0x33,0x32,0x36,0x37, +0x33,0x0e,0x01,0x20,0x26,0x13,0x01,0x23,0x01,0x01,0x83,0x76,0x0b,0x61,0x57,0x56, +0x60,0x0d,0x76,0x0a,0x9e,0xfe,0xde,0x9e,0x70,0x01,0x1a,0x99,0xfe,0xba,0x07,0x48, +0x3c,0x3c,0x3c,0x3c,0x72,0x73,0x73,0x01,0x81,0xfe,0xfa,0x01,0x06,0x00,0x00,0x02, +0x01,0x83,0x06,0x63,0x03,0xf5,0x08,0x57,0x00,0x0c,0x00,0x2d,0x00,0x00,0x01,0x33, +0x1e,0x01,0x33,0x32,0x36,0x37,0x33,0x0e,0x01,0x20,0x26,0x25,0x23,0x35,0x34,0x36, +0x3f,0x01,0x3e,0x01,0x35,0x34,0x26,0x23,0x22,0x06,0x07,0x35,0x3e,0x01,0x33,0x32, +0x16,0x15,0x14,0x06,0x0f,0x01,0x0e,0x01,0x07,0x0e,0x01,0x15,0x01,0x83,0x76,0x0b, +0x61,0x57,0x56,0x60,0x0d,0x76,0x0a,0x9e,0xfe,0xde,0x9e,0x01,0x79,0x91,0x20,0x31, +0x2d,0x1a,0x14,0x31,0x2e,0x22,0x53,0x55,0x3e,0x67,0x37,0x65,0x7f,0x28,0x30,0x2c, +0x16,0x10,0x03,0x02,0x03,0x07,0x48,0x3c,0x3c,0x3c,0x3c,0x72,0x73,0x73,0x2b,0x3a, +0x1e,0x2a,0x1a,0x19,0x0e,0x15,0x0a,0x12,0x18,0x12,0x21,0x57,0x15,0x11,0x3f,0x32, +0x18,0x2c,0x1a,0x18,0x0c,0x0c,0x05,0x04,0x10,0x0d,0x00,0x02,0x01,0x7d,0x06,0x63, +0x05,0x08,0x08,0x57,0x00,0x06,0x00,0x27,0x00,0x00,0x01,0x33,0x13,0x23,0x27,0x07, +0x23,0x25,0x23,0x35,0x34,0x36,0x3f,0x01,0x3e,0x01,0x35,0x34,0x26,0x23,0x22,0x06, +0x07,0x35,0x3e,0x01,0x33,0x32,0x16,0x15,0x14,0x06,0x0f,0x01,0x0e,0x01,0x07,0x0e, +0x01,0x15,0x02,0x72,0x94,0xf5,0x8b,0xb4,0xb4,0x8b,0x02,0xd9,0x91,0x20,0x31,0x2d, +0x1a,0x14,0x31,0x2e,0x22,0x53,0x55,0x3e,0x67,0x37,0x65,0x7f,0x28,0x30,0x2c,0x16, +0x10,0x03,0x02,0x03,0x07,0x6b,0xfe,0xf8,0xac,0xac,0x9e,0x3a,0x1e,0x2a,0x1a,0x19, +0x0e,0x15,0x0a,0x12,0x18,0x12,0x21,0x57,0x15,0x11,0x3f,0x32,0x18,0x2c,0x1a,0x18, +0x0c,0x0c,0x05,0x04,0x10,0x0d,0x00,0x01,0x00,0x2f,0x00,0x00,0x05,0xaa,0x06,0x14, +0x00,0x24,0x00,0x48,0x40,0x13,0x26,0x00,0x07,0x09,0x05,0x08,0x0c,0x21,0x18,0x0d, +0x1e,0x08,0x11,0x0c,0x21,0x10,0x14,0x4c,0x25,0x10,0xfc,0x3c,0xc4,0x32,0xc4,0xfc, +0x3c,0xc4,0x10,0x3c,0xfc,0x3c,0xc4,0xc4,0xc4,0x31,0x00,0x40,0x11,0x09,0x0d,0x11, +0xa9,0x12,0x02,0x1a,0x87,0x00,0x18,0x97,0x06,0x1f,0x12,0xbc,0x0b,0x0f,0x2f,0x3c, +0xe6,0x32,0x32,0xfe,0x3c,0xee,0x32,0x10,0xee,0x32,0x32,0x30,0x01,0x15,0x23,0x22, +0x06,0x1d,0x01,0x21,0x15,0x21,0x11,0x23,0x11,0x21,0x11,0x23,0x11,0x23,0x35,0x33, +0x35,0x34,0x36,0x3b,0x01,0x15,0x23,0x22,0x07,0x06,0x1d,0x01,0x21,0x35,0x34,0x36, +0x33,0x05,0xaa,0xb0,0x63,0x4d,0x01,0x2f,0xfe,0xd1,0xb9,0xfe,0x07,0xb9,0xb0,0xb0, +0xae,0xbd,0xae,0xb0,0x63,0x27,0x26,0x01,0xf9,0xae,0xbd,0x06,0x14,0x99,0x50,0x68, +0x63,0x8f,0xfc,0x2f,0x03,0xd1,0xfc,0x2f,0x03,0xd1,0x8f,0x4e,0xbb,0xab,0x99,0x28, +0x28,0x68,0x63,0x4e,0xbb,0xab,0x00,0x02,0x00,0x2f,0x00,0x00,0x04,0x4a,0x06,0x14, +0x00,0x15,0x00,0x19,0x00,0x43,0x40,0x11,0x1b,0x46,0x00,0x17,0x08,0x16,0x0f,0x14, +0x04,0x08,0x08,0x03,0x16,0x0a,0x06,0x4c,0x1a,0x10,0xfc,0x3c,0xc4,0x32,0xc4,0xfc, +0x3c,0xc4,0x10,0xfe,0x3c,0xec,0x31,0x00,0x40,0x12,0x08,0x03,0xa9,0x00,0x10,0x87, +0x0e,0x18,0xbe,0x16,0xb1,0x0e,0x97,0x09,0x00,0xbc,0x05,0x01,0x2f,0x3c,0xe6,0x32, +0xee,0xfe,0xee,0x10,0xee,0x10,0xee,0x32,0x30,0x01,0x11,0x23,0x11,0x21,0x11,0x23, +0x11,0x23,0x35,0x33,0x35,0x34,0x36,0x3b,0x01,0x15,0x23,0x22,0x06,0x1d,0x01,0x01, +0x33,0x15,0x23,0x04,0x4a,0xb9,0xfe,0x07,0xb9,0xb0,0xb0,0xad,0xb3,0xb9,0xb0,0x63, +0x4d,0x01,0xf9,0xb9,0xb9,0x04,0x60,0xfb,0xa0,0x03,0xd1,0xfc,0x2f,0x03,0xd1,0x8f, +0x4e,0xb7,0xaf,0x99,0x50,0x68,0x63,0x01,0xb2,0xe9,0x00,0x01,0x00,0x2f,0x00,0x00, +0x04,0x4a,0x06,0x14,0x00,0x15,0x00,0x37,0x40,0x0f,0x17,0x46,0x01,0x08,0x04,0x0a, +0x0c,0x08,0x08,0x10,0x04,0x12,0x0e,0x4c,0x16,0x10,0xfc,0x3c,0xc4,0xc4,0xfc,0x3c, +0xc4,0x10,0xfe,0xec,0x31,0x00,0x40,0x0d,0x0f,0x0b,0xa9,0x09,0x04,0x87,0x00,0x97, +0x11,0x09,0xbc,0x0d,0x02,0x2f,0x3c,0xe6,0x32,0xfe,0xee,0x10,0xee,0x32,0x30,0x01, +0x21,0x11,0x23,0x11,0x21,0x22,0x06,0x1d,0x01,0x21,0x15,0x21,0x11,0x23,0x11,0x23, +0x35,0x33,0x35,0x34,0x36,0x02,0x4a,0x02,0x00,0xb9,0xfe,0xb7,0x63,0x4d,0x01,0x2f, +0xfe,0xd1,0xb9,0xb0,0xb0,0xae,0x06,0x14,0xf9,0xec,0x05,0x7b,0x50,0x68,0x63,0x8f, +0xfc,0x2f,0x03,0xd1,0x8f,0x4e,0xbb,0xab,0x00,0x02,0x00,0x2f,0x00,0x00,0x06,0xfc, +0x06,0x14,0x00,0x29,0x00,0x2d,0x00,0x5a,0x40,0x18,0x2f,0x46,0x17,0x2b,0x08,0x2a, +0x10,0x1b,0x15,0x08,0x1a,0x2a,0x09,0x00,0x1f,0x06,0x08,0x24,0x1e,0x09,0x22,0x26, +0x4c,0x2e,0x10,0xfc,0x3c,0xc4,0x32,0xc4,0xfc,0x3c,0xc4,0x10,0xc4,0x32,0xfc,0x3c, +0xc4,0x10,0xfc,0x3c,0xec,0x31,0x00,0x40,0x17,0x1b,0x1f,0x23,0xa9,0x24,0x11,0x01, +0x87,0x00,0x2d,0xbe,0x2a,0xb1,0x10,0x00,0x97,0x16,0x07,0x24,0xbc,0x19,0x1d,0x21, +0x2f,0x3c,0x3c,0xe4,0x32,0x32,0xe4,0x32,0xf4,0xec,0x10,0xec,0x32,0x10,0xec,0x32, +0x32,0x30,0x01,0x15,0x23,0x22,0x07,0x06,0x1d,0x01,0x21,0x35,0x34,0x37,0x36,0x37, +0x36,0x3b,0x01,0x15,0x23,0x22,0x06,0x1d,0x01,0x21,0x11,0x23,0x11,0x21,0x11,0x23, +0x11,0x21,0x11,0x23,0x11,0x23,0x35,0x33,0x35,0x34,0x36,0x33,0x05,0x33,0x15,0x23, +0x02,0xf8,0xb0,0x63,0x27,0x26,0x01,0xf9,0x57,0x1c,0x27,0x4e,0x83,0xae,0xb0,0x63, +0x4d,0x02,0xb2,0xb9,0xfe,0x07,0xb9,0xfe,0x07,0xb9,0xb0,0xb0,0xae,0xbd,0x03,0xf9, +0xb9,0xb9,0x06,0x14,0x99,0x28,0x28,0x68,0x63,0x4e,0xbb,0x55,0x1c,0x13,0x27,0x99, +0x50,0x68,0x63,0xfb,0xa0,0x03,0xd1,0xfc,0x2f,0x03,0xd1,0xfc,0x2f,0x03,0xd1,0x8f, +0x4e,0xbb,0xab,0x02,0xe9,0x00,0x00,0x01,0x00,0x2f,0x00,0x00,0x06,0xfc,0x06,0x14, +0x00,0x26,0x00,0x4e,0x40,0x16,0x28,0x46,0x0d,0x08,0x10,0x16,0x18,0x14,0x08,0x10, +0x09,0x00,0x1c,0x06,0x08,0x21,0x1b,0x09,0x1f,0x23,0x4c,0x27,0x10,0xfc,0x3c,0xc4, +0x32,0xc4,0xfc,0x3c,0xc4,0x10,0xc4,0xfc,0x3c,0xc4,0x10,0xfc,0xec,0x31,0x00,0x40, +0x12,0x18,0x1c,0x20,0xa9,0x21,0x11,0x02,0x87,0x0c,0x26,0x97,0x15,0x07,0x21,0xbc, +0x0f,0x1a,0x1e,0x2f,0x3c,0x3c,0xe4,0x32,0x32,0xf4,0x3c,0xec,0x32,0x10,0xec,0x32, +0x32,0x30,0x01,0x15,0x23,0x22,0x07,0x06,0x1d,0x01,0x21,0x35,0x34,0x36,0x33,0x21, +0x11,0x23,0x11,0x21,0x22,0x06,0x1d,0x01,0x21,0x15,0x21,0x11,0x23,0x11,0x21,0x11, +0x23,0x11,0x23,0x35,0x33,0x35,0x34,0x36,0x33,0x02,0xf8,0xb0,0x63,0x27,0x26,0x01, +0xf9,0xae,0xbd,0x02,0x00,0xb9,0xfe,0xb7,0x63,0x4d,0x01,0x2f,0xfe,0xd1,0xb9,0xfe, +0x07,0xb9,0xb0,0xb0,0xae,0xbd,0x06,0x14,0x99,0x28,0x28,0x68,0x63,0x4e,0xbb,0xab, +0xf9,0xec,0x05,0x7b,0x50,0x68,0x63,0x8f,0xfc,0x2f,0x03,0xd1,0xfc,0x2f,0x03,0xd1, +0x8f,0x4e,0xbb,0xab,0x00,0x01,0x00,0x2f,0x00,0x00,0x05,0x4c,0x06,0x14,0x00,0x2d, +0x00,0x00,0x01,0x35,0x34,0x27,0x26,0x2b,0x01,0x22,0x07,0x06,0x15,0x11,0x23,0x11, +0x23,0x35,0x33,0x35,0x34,0x37,0x36,0x3b,0x01,0x32,0x17,0x16,0x1d,0x01,0x21,0x15, +0x21,0x11,0x14,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x26,0x35,0x11,0x23,0x35, +0x03,0x18,0x24,0x25,0x65,0x22,0x63,0x27,0x26,0xb9,0xb0,0xb0,0x57,0x57,0xbd,0x1e, +0xbd,0x57,0x55,0x01,0x7b,0xfe,0x85,0x25,0x26,0x73,0xbd,0xbd,0xd5,0x51,0x51,0x87, +0x04,0x60,0x63,0x68,0x28,0x28,0x28,0x28,0x68,0xfb,0x3d,0x03,0xd1,0x8f,0x4e,0xbb, +0x55,0x56,0x56,0x53,0xbd,0x4e,0x8f,0xfd,0xa0,0x89,0x27,0x27,0x9a,0x50,0x4f,0xd2, +0x02,0x60,0x8f,0x00,0x00,0x01,0x00,0x6f,0xff,0xe3,0x06,0xb2,0x05,0xf0,0x00,0x59, +0x00,0x00,0x01,0x15,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x15,0x14,0x17,0x16,0x1f, +0x01,0x1e,0x01,0x15,0x14,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x35,0x16,0x17,0x16, +0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x2f,0x01,0x26,0x27,0x26,0x35,0x34,0x37, +0x36,0x33,0x32,0x17,0x26,0x35,0x34,0x37,0x36,0x37,0x32,0x17,0x16,0x1d,0x01,0x21, +0x15,0x21,0x11,0x14,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x26,0x35,0x11,0x23, +0x35,0x33,0x35,0x34,0x27,0x26,0x07,0x22,0x07,0x06,0x15,0x14,0x03,0x51,0x56,0x49, +0x54,0x46,0x75,0x3f,0x3b,0x31,0x31,0x94,0x3f,0xc3,0xa6,0x7b,0x7c,0xd8,0x60,0x5c, +0x61,0x6c,0x66,0x63,0x63,0x61,0x82,0x46,0x46,0x32,0x2d,0xb1,0x40,0xab,0x4c,0x4c, +0x66,0x70,0xb5,0x48,0x4d,0x05,0x5c,0x5b,0xa2,0x8c,0x62,0x5e,0x01,0x7b,0xfe,0x85, +0x25,0x26,0x73,0xbd,0xbd,0xd5,0x51,0x51,0x87,0x87,0x30,0x36,0x44,0x45,0x36,0x34, +0x04,0x3f,0xae,0x2b,0x11,0x14,0x2a,0x27,0x57,0x40,0x25,0x24,0x21,0x0e,0x2b,0x98, +0x89,0x9c,0x5b,0x5b,0x11,0x12,0x23,0xbe,0x35,0x1a,0x1b,0x2d,0x2c,0x51,0x4b,0x28, +0x23,0x2a,0x0f,0x24,0x4a,0x4b,0x82,0xa6,0x4e,0x56,0x0b,0x1d,0x1f,0x87,0x5f,0x5d, +0x01,0x60,0x5c,0x88,0x4c,0x8f,0xfd,0xa0,0x89,0x27,0x27,0x9a,0x50,0x4f,0xd2,0x02, +0x60,0x8f,0x4e,0x41,0x2b,0x32,0x01,0x31,0x30,0x40,0x3d,0x00,0x00,0x01,0x00,0xaa, +0xff,0xe3,0x08,0xe3,0x06,0x14,0x00,0x4a,0x00,0x00,0x01,0x16,0x15,0x11,0x23,0x35, +0x0e,0x01,0x23,0x22,0x26,0x35,0x11,0x33,0x11,0x14,0x16,0x33,0x32,0x36,0x35,0x11, +0x34,0x27,0x21,0x22,0x27,0x26,0x37,0x36,0x37,0x36,0x3b,0x01,0x15,0x23,0x22,0x15, +0x14,0x33,0x21,0x27,0x26,0x37,0x36,0x3b,0x01,0x15,0x23,0x26,0x15,0x14,0x1f,0x01, +0x21,0x03,0x14,0x17,0x16,0x33,0x32,0x36,0x35,0x11,0x33,0x11,0x23,0x35,0x0e,0x01, +0x23,0x22,0x26,0x35,0x11,0x04,0x4f,0x09,0xb8,0x43,0xb1,0x75,0xc1,0xc8,0xb8,0x7c, +0x7c,0x95,0xad,0x05,0xfe,0x53,0x95,0x5e,0x53,0x03,0x03,0x57,0x73,0x76,0x59,0x59, +0x83,0x83,0x01,0x6c,0x17,0x4d,0x20,0x37,0xd1,0xec,0xde,0x60,0x0e,0x3b,0x01,0xdd, +0x01,0x3e,0x3e,0x7c,0x95,0xad,0xb8,0xb8,0x43,0xb1,0x75,0xc1,0xc8,0x03,0xb6,0x25, +0x21,0xfc,0x90,0xac,0x66,0x63,0xf0,0xe7,0x01,0x66,0xfe,0xa1,0x9f,0x9f,0xbe,0xa4, +0x01,0x91,0x24,0x1c,0x5e,0x53,0x91,0x83,0x42,0x57,0xaf,0x7b,0x8a,0x38,0xba,0x48, +0x7a,0xaf,0x01,0x2c,0x27,0x22,0x91,0xfd,0x61,0xa0,0x4f,0x4f,0xbe,0xa4,0x02,0x7b, +0xfb,0xa0,0xac,0x66,0x63,0xf0,0xe7,0x01,0xfc,0x00,0x00,0x01,0x00,0xae,0xff,0xe3, +0x08,0xe3,0x06,0x14,0x00,0x3a,0x00,0x00,0x01,0x21,0x26,0x15,0x14,0x1f,0x01,0x16, +0x15,0x11,0x23,0x35,0x0e,0x01,0x23,0x22,0x26,0x35,0x11,0x33,0x11,0x14,0x16,0x33, +0x32,0x36,0x35,0x11,0x34,0x2f,0x01,0x26,0x37,0x36,0x33,0x21,0x11,0x21,0x15,0x21, +0x11,0x14,0x16,0x33,0x32,0x37,0x36,0x35,0x11,0x33,0x11,0x23,0x35,0x0e,0x01,0x23, +0x22,0x26,0x35,0x05,0x39,0xfe,0xf3,0x60,0x0e,0x4d,0x31,0xb8,0x43,0xb1,0x75,0xc1, +0xc8,0xb8,0x7c,0x7c,0x95,0xad,0x10,0x4d,0x4d,0x20,0x37,0xd1,0x01,0xd3,0x02,0xf2, +0xfd,0x0e,0x7c,0x7c,0x98,0x53,0x57,0xb8,0xb8,0x43,0xb1,0x75,0xc1,0xc8,0x05,0x65, +0x01,0x2c,0x27,0x22,0xbc,0x78,0x4d,0xfc,0x90,0xac,0x66,0x63,0xf0,0xe7,0x02,0xa6, +0xfd,0x61,0x9f,0x9f,0xbe,0xa4,0x01,0x91,0x3f,0x27,0xbc,0xbb,0x47,0x7a,0xfe,0x4c, +0xaa,0xfe,0x0b,0x9f,0x9f,0x5f,0x62,0xa1,0x01,0x3b,0xfc,0xe0,0xac,0x66,0x63,0xf0, +0xe7,0x00,0x00,0x01,0x00,0xae,0xfe,0x56,0x08,0xe3,0x06,0x14,0x00,0x35,0x00,0x00, +0x01,0x21,0x26,0x15,0x14,0x1f,0x01,0x16,0x15,0x11,0x23,0x35,0x0e,0x01,0x23,0x22, +0x26,0x35,0x11,0x33,0x11,0x14,0x16,0x33,0x32,0x36,0x35,0x11,0x34,0x2f,0x01,0x26, +0x37,0x36,0x33,0x21,0x11,0x3e,0x01,0x33,0x32,0x16,0x15,0x11,0x23,0x11,0x34,0x26, +0x23,0x22,0x06,0x15,0x11,0x23,0x05,0x39,0xfe,0xf3,0x60,0x0e,0x4d,0x31,0xb8,0x43, +0xb1,0x75,0xc1,0xc8,0xb8,0x7c,0x7c,0x95,0xad,0x10,0x4d,0x4d,0x20,0x37,0xd1,0x01, +0xd4,0x42,0xb3,0x75,0xc1,0xc6,0xb8,0x7c,0x7c,0x95,0xac,0xb9,0x05,0x65,0x01,0x2c, +0x27,0x22,0xbc,0x78,0x4d,0xfc,0x90,0xac,0x66,0x63,0xf0,0xe7,0x02,0xa6,0xfd,0x61, +0x9f,0x9f,0xbe,0xa4,0x01,0x91,0x3f,0x27,0xbc,0xbb,0x47,0x7a,0xfd,0x9e,0x65,0x64, +0xef,0xe8,0xfd,0x5c,0x02,0x9e,0x9f,0x9e,0xbe,0xa4,0xfb,0xdd,0x00,0x02,0x00,0xae, +0xfe,0x56,0x08,0xe3,0x06,0x14,0x00,0x35,0x00,0x3c,0x00,0x00,0x01,0x21,0x22,0x27, +0x26,0x37,0x36,0x37,0x36,0x33,0x21,0x11,0x21,0x11,0x14,0x16,0x33,0x32,0x36,0x35, +0x11,0x33,0x11,0x23,0x35,0x0e,0x01,0x23,0x22,0x26,0x35,0x11,0x23,0x11,0x33,0x15, +0x21,0x11,0x0e,0x01,0x23,0x22,0x26,0x35,0x11,0x33,0x11,0x14,0x16,0x33,0x32,0x37, +0x36,0x35,0x19,0x01,0x21,0x22,0x15,0x14,0x33,0x03,0xa0,0xfe,0xdb,0x95,0x5e,0x53, +0x03,0x03,0x57,0x73,0x76,0x01,0xdd,0x01,0x99,0x7c,0x7c,0x95,0xad,0xb8,0xb8,0x43, +0xb1,0x75,0xc1,0xc8,0xe1,0xd5,0xfe,0x73,0x43,0xb1,0x75,0xc1,0xc8,0xb8,0x7c,0x7c, +0x95,0x57,0x56,0xfe,0xdb,0x83,0x83,0x03,0xb6,0x5e,0x53,0x91,0x83,0x42,0x57,0xfe, +0x4c,0xfd,0x61,0x9f,0x9f,0xbe,0xa4,0x02,0x7b,0xfb,0xa0,0xac,0x66,0x63,0xf0,0xe7, +0x01,0xfc,0xfb,0x42,0xa2,0x02,0x56,0x66,0x63,0xf0,0xe7,0x01,0x66,0xfe,0xa1,0x9f, +0x9f,0x5f,0x5f,0xa4,0x02,0x7b,0x01,0x05,0x7b,0x8a,0x00,0x01,0x00,0xae,0xfe,0x56, +0x0b,0x9b,0x06,0x14,0x00,0x48,0x00,0x00,0x01,0x21,0x26,0x15,0x14,0x1f,0x01,0x16, +0x15,0x11,0x23,0x35,0x0e,0x01,0x23,0x22,0x26,0x35,0x11,0x33,0x11,0x14,0x16,0x33, +0x32,0x36,0x35,0x11,0x34,0x2f,0x01,0x26,0x37,0x36,0x33,0x21,0x11,0x36,0x37,0x36, +0x33,0x32,0x16,0x1d,0x01,0x14,0x17,0x16,0x33,0x32,0x36,0x35,0x11,0x33,0x11,0x23, +0x35,0x0e,0x01,0x23,0x22,0x27,0x26,0x3d,0x01,0x34,0x26,0x23,0x22,0x06,0x15,0x11, +0x23,0x05,0x39,0xfe,0xf3,0x60,0x0e,0x4d,0x31,0xb8,0x43,0xb1,0x75,0xc1,0xc8,0xb8, +0x7c,0x7c,0x95,0xad,0x10,0x4d,0x4d,0x20,0x37,0xd1,0x01,0xd4,0x63,0x25,0x5a,0x6b, +0xc1,0xc6,0x3e,0x38,0x6e,0x8c,0xad,0xb8,0xb8,0x43,0xb1,0x6c,0xaf,0x62,0x64,0x7c, +0x7c,0x78,0xac,0xb9,0x05,0x65,0x01,0x2c,0x27,0x22,0xbc,0x78,0x4d,0xfc,0x90,0xac, +0x66,0x63,0xf0,0xe7,0x02,0xa6,0xfd,0x61,0x9f,0x9f,0xbe,0xa4,0x01,0x91,0x3f,0x27, +0xbc,0xbb,0x47,0x7a,0xfd,0x9e,0x81,0x16,0x32,0xef,0xe8,0xe3,0x97,0x58,0x4f,0xbe, +0xa4,0x02,0x7b,0xfb,0xa0,0xac,0x66,0x63,0x78,0x7b,0xe4,0xe4,0x9f,0x9e,0xbe,0xa4, +0xfb,0xdd,0xff,0xff,0x00,0x81,0xfe,0x0c,0x06,0xeb,0x02,0x9d,0x10,0x27,0x0b,0xf8, +0x03,0x39,0xff,0x06,0x10,0x06,0x05,0x18,0x00,0x00,0xff,0xff,0x00,0x81,0xfe,0x0c, +0x07,0xef,0x02,0x9d,0x10,0x27,0x0b,0xf8,0x03,0x39,0xff,0x06,0x10,0x06,0x0b,0xfa, +0x00,0x00,0xff,0xff,0xff,0xec,0xfe,0x0c,0x01,0x87,0x02,0x58,0x10,0x26,0x0b,0xfb, +0x00,0x00,0x10,0x07,0x0b,0xf8,0x00,0xe0,0xff,0x06,0xff,0xff,0xff,0xec,0xfe,0x0c, +0x02,0x7e,0x02,0x58,0x10,0x27,0x0b,0xf8,0x00,0xe0,0xff,0x06,0x10,0x06,0x0b,0xfc, +0x00,0x00,0xff,0xff,0x00,0x81,0xfe,0x0c,0x06,0xeb,0x02,0x9d,0x10,0x27,0x0b,0xf7, +0x02,0xbc,0xff,0x06,0x10,0x06,0x05,0x18,0x00,0x00,0xff,0xff,0x00,0x81,0xfe,0x0c, +0x07,0xef,0x02,0x9d,0x10,0x27,0x0b,0xf7,0x02,0xbc,0xff,0x06,0x10,0x06,0x0b,0xfa, +0x00,0x00,0xff,0xff,0xff,0xec,0xfe,0x0c,0x01,0xf3,0x02,0x58,0x10,0x26,0x0b,0xfb, +0x00,0x00,0x10,0x07,0x0b,0xf7,0x00,0x63,0xff,0x06,0xff,0xff,0xff,0xec,0xfe,0x0c, +0x02,0x7e,0x02,0x58,0x10,0x26,0x0b,0xfc,0x00,0x00,0x10,0x07,0x0b,0xf7,0x00,0x63, +0xff,0x06,0xff,0xff,0x00,0x81,0xfe,0x0c,0x06,0xeb,0x02,0x9d,0x10,0x27,0x0b,0xf9, +0x02,0xbc,0xff,0x06,0x10,0x06,0x05,0x18,0x00,0x00,0xff,0xff,0x00,0x81,0xfe,0x0c, +0x07,0xef,0x02,0x9d,0x10,0x27,0x0b,0xf9,0x02,0xbc,0xff,0x06,0x10,0x06,0x0b,0xfa, +0x00,0x00,0xff,0xff,0xff,0xec,0xfe,0x0c,0x01,0xf3,0x02,0x58,0x10,0x26,0x0b,0xfb, +0x00,0x00,0x10,0x07,0x0b,0xf9,0x00,0x63,0xff,0x06,0xff,0xff,0xff,0xec,0xfe,0x0c, +0x02,0x7e,0x02,0x58,0x10,0x26,0x0b,0xfc,0x00,0x00,0x10,0x07,0x0b,0xf9,0x00,0x63, +0xff,0x06,0xff,0xff,0x00,0x81,0xff,0xeb,0x06,0xeb,0x04,0x1a,0x10,0x27,0x0b,0xf8, +0x03,0x39,0x03,0x84,0x10,0x06,0x05,0x18,0x00,0x00,0xff,0xff,0x00,0x81,0xff,0xec, +0x07,0xef,0x04,0x1a,0x10,0x27,0x0b,0xf8,0x03,0x39,0x03,0x84,0x10,0x06,0x0b,0xfa, +0x00,0x00,0xff,0xff,0xff,0xec,0x00,0x00,0x01,0x87,0x04,0xe2,0x10,0x26,0x0b,0xfb, +0x00,0x00,0x10,0x07,0x0b,0xf8,0x00,0xe0,0x04,0x4c,0xff,0xff,0xff,0xec,0x00,0x00, +0x02,0x7e,0x04,0xe2,0x10,0x26,0x0b,0xfc,0x00,0x00,0x10,0x07,0x0b,0xf8,0x00,0xe0, +0x04,0x4c,0xff,0xff,0x00,0x81,0xff,0xeb,0x06,0xeb,0x04,0x1a,0x10,0x27,0x0b,0xf9, +0x02,0xbc,0x03,0x84,0x10,0x06,0x05,0x18,0x00,0x00,0xff,0xff,0x00,0x81,0xff,0xec, +0x07,0xef,0x04,0x1a,0x10,0x26,0x0b,0xfa,0x00,0x00,0x10,0x07,0x0b,0xf9,0x02,0xbc, +0x03,0x84,0xff,0xff,0xff,0xec,0x00,0x00,0x01,0xf3,0x04,0xe2,0x10,0x26,0x0b,0xfb, +0x00,0x00,0x10,0x07,0x0b,0xf9,0x00,0x63,0x04,0x4c,0xff,0xff,0xff,0xec,0x00,0x00, +0x02,0x7e,0x04,0xe2,0x10,0x26,0x0b,0xfc,0x00,0x00,0x10,0x07,0x0b,0xf9,0x00,0x63, +0x04,0x4c,0xff,0xff,0x00,0x81,0xff,0xeb,0x06,0xeb,0x04,0x9a,0x10,0x27,0x04,0xd7, +0x01,0x84,0xfd,0xa8,0x10,0x06,0x05,0x18,0x00,0x00,0xff,0xff,0x00,0x81,0xff,0xec, +0x07,0xef,0x04,0x9a,0x10,0x26,0x0b,0xfa,0x00,0x00,0x10,0x07,0x04,0xd7,0x01,0x84, +0xfd,0xa8,0xff,0xff,0xff,0xec,0x00,0x00,0x02,0x31,0x05,0x62,0x10,0x26,0x0b,0xfb, +0x00,0x00,0x10,0x07,0x04,0xd7,0xff,0x2b,0xfe,0x70,0xff,0xff,0xff,0xec,0x00,0x00, +0x02,0x7e,0x05,0x62,0x10,0x26,0x0b,0xfc,0x00,0x00,0x10,0x07,0x04,0xd7,0xff,0x2b, +0xfe,0x70,0xff,0xff,0x00,0x81,0xff,0xa4,0x07,0x9f,0x06,0x0e,0x10,0x27,0x0b,0xf6, +0x05,0x78,0x04,0x7e,0x10,0x06,0x05,0x2c,0x00,0x00,0xff,0xff,0x00,0x81,0xff,0xa5, +0x08,0x5c,0x05,0x46,0x10,0x26,0x0b,0xfd,0x00,0x00,0x10,0x07,0x0b,0xf6,0x05,0x78, +0x03,0xb6,0xff,0xff,0xff,0xec,0x00,0x00,0x03,0x3f,0x06,0x0e,0x10,0x26,0x0b,0xfe, +0x00,0x00,0x10,0x07,0x0b,0xf6,0x01,0x2c,0x04,0x7e,0xff,0xff,0xff,0xec,0x00,0x00, +0x04,0x20,0x05,0x78,0x10,0x26,0x0b,0xff,0x00,0x00,0x10,0x07,0x0b,0xf6,0x01,0x3e, +0x03,0xe8,0xff,0xff,0x00,0x81,0xff,0xa4,0x07,0x9f,0x06,0x0e,0x10,0x27,0x0b,0xf9, +0x05,0x78,0x05,0x78,0x10,0x06,0x05,0x2c,0x00,0x00,0xff,0xff,0x00,0x81,0xff,0xa5, +0x08,0x5c,0x05,0x46,0x10,0x26,0x0b,0xfd,0x00,0x00,0x10,0x07,0x0b,0xf9,0x05,0x78, +0x04,0xb0,0xff,0xff,0xff,0xec,0x00,0x00,0x03,0x3f,0x06,0x0e,0x10,0x26,0x0b,0xfe, +0x00,0x00,0x10,0x07,0x0b,0xf9,0x01,0x2c,0x05,0x78,0xff,0xff,0xff,0xec,0x00,0x00, +0x04,0x20,0x05,0x78,0x10,0x26,0x0b,0xff,0x00,0x00,0x10,0x07,0x0b,0xf9,0x01,0x3e, +0x04,0xe2,0xff,0xff,0x00,0x9d,0xfe,0x0b,0x05,0x28,0x03,0x67,0x10,0x27,0x0b,0xf8, +0x03,0x07,0x00,0xaf,0x10,0x06,0x04,0xe6,0x00,0x00,0xff,0xff,0x00,0x9d,0xfe,0x0b, +0x05,0x3e,0x03,0x67,0x10,0x27,0x0b,0xf8,0x02,0xa3,0x00,0x7d,0x10,0x06,0x0b,0x8b, +0x00,0x00,0xff,0xff,0xff,0xec,0xfe,0x3e,0x04,0x5c,0x03,0x2f,0x10,0x26,0x0b,0x8c, +0x00,0x00,0x10,0x07,0x0b,0xf8,0x02,0x0d,0xff,0x38,0xff,0xff,0xff,0xec,0xfe,0x3e, +0x05,0x3e,0x03,0x2f,0x10,0x26,0x0b,0x8d,0x00,0x00,0x10,0x07,0x0b,0xf8,0x02,0x0d, +0xff,0x38,0xff,0xff,0x00,0x9d,0xfe,0x0b,0x05,0x28,0x03,0x67,0x10,0x27,0x0b,0xf5, +0x02,0x8a,0x00,0x19,0x10,0x06,0x04,0xe6,0x00,0x00,0xff,0xff,0x00,0x9d,0xfe,0x0b, +0x05,0x3e,0x03,0x67,0x10,0x27,0x0b,0xf5,0x02,0x26,0xff,0xe7,0x10,0x06,0x0b,0x8b, +0x00,0x00,0xff,0xff,0xff,0xec,0xff,0x38,0x04,0x5c,0x03,0x2f,0x10,0x26,0x0b,0x8c, +0x00,0x00,0x10,0x07,0x0b,0xf5,0x01,0x90,0xff,0x38,0xff,0xff,0xff,0xec,0xff,0x38, +0x05,0x3e,0x03,0x2f,0x10,0x26,0x0b,0x8d,0x00,0x00,0x10,0x07,0x0b,0xf5,0x01,0x90, +0xff,0x38,0xff,0xff,0x00,0x9d,0xfe,0x0b,0x05,0x28,0x03,0x67,0x10,0x27,0x0b,0xf7, +0x02,0x96,0x00,0x96,0x10,0x06,0x04,0xe6,0x00,0x00,0xff,0xff,0x00,0x9d,0xfe,0x0b, +0x05,0x3e,0x03,0x67,0x10,0x27,0x0b,0xf7,0x02,0x19,0x00,0x32,0x10,0x06,0x0b,0x8b, +0x00,0x00,0xff,0xff,0xff,0xec,0xfe,0x3e,0x04,0x5c,0x03,0x2f,0x10,0x26,0x0b,0x8c, +0x00,0x00,0x10,0x07,0x0b,0xf7,0x01,0x90,0xff,0x38,0xff,0xff,0xff,0xec,0xfe,0x3e, +0x05,0x3e,0x03,0x2f,0x10,0x26,0x0b,0x8d,0x00,0x00,0x10,0x07,0x0b,0xf7,0x01,0x90, +0xff,0x38,0xff,0xff,0x00,0x9d,0xfe,0x0b,0x05,0x28,0x03,0x67,0x10,0x27,0x0b,0xf9, +0x02,0x96,0x00,0xaf,0x10,0x06,0x04,0xe6,0x00,0x00,0xff,0xff,0x00,0x9d,0xfe,0x0b, +0x05,0x3e,0x03,0x67,0x10,0x27,0x0b,0xf9,0x02,0x19,0x00,0x32,0x10,0x06,0x0b,0x8b, +0x00,0x00,0xff,0xff,0xff,0xec,0xfe,0x3e,0x04,0x5c,0x03,0x2f,0x10,0x26,0x0b,0x8c, +0x00,0x00,0x10,0x07,0x0b,0xf9,0x01,0x90,0xff,0x38,0xff,0xff,0xff,0xec,0xfe,0x3e, +0x05,0x3e,0x03,0x2f,0x10,0x26,0x0b,0x8d,0x00,0x00,0x10,0x07,0x0b,0xf9,0x01,0x90, +0xff,0x38,0xff,0xff,0xff,0xab,0xfe,0x0c,0x03,0x84,0x04,0xb0,0x10,0x27,0x0b,0xf6, +0x01,0xf4,0x03,0x20,0x10,0x06,0x04,0xea,0x00,0x00,0xff,0xff,0xff,0xab,0xfe,0x0c, +0x04,0x7e,0x04,0xb0,0x10,0x26,0x0b,0x97,0x00,0x00,0x10,0x07,0x0b,0xf6,0x01,0xf4, +0x03,0x20,0xff,0xff,0xff,0xab,0xfe,0x0c,0x03,0xc2,0x05,0x30,0x10,0x26,0x04,0xea, +0x00,0x00,0x10,0x07,0x04,0xd7,0x00,0xbc,0xfe,0x3e,0xff,0xff,0xff,0xab,0xfe,0x0c, +0x04,0x7e,0x05,0x30,0x10,0x26,0x0b,0x97,0x00,0x00,0x10,0x07,0x04,0xd7,0x00,0xbc, +0xfe,0x3e,0xff,0xff,0x00,0x81,0xff,0xa6,0x07,0x29,0x06,0x14,0x10,0x06,0x05,0x2f, +0x00,0x00,0x00,0x01,0x00,0x81,0xff,0xa6,0x07,0xd9,0x06,0x14,0x00,0x37,0x00,0x00, +0x25,0x06,0x07,0x06,0x07,0x06,0x27,0x24,0x03,0x26,0x37,0x33,0x06,0x15,0x14,0x17, +0x16,0x37,0x36,0x37,0x36,0x37,0x36,0x35,0x34,0x27,0x01,0x26,0x35,0x34,0x37,0x36, +0x37,0x01,0x15,0x05,0x06,0x07,0x06,0x15,0x14,0x17,0x01,0x16,0x17,0x16,0x3b,0x01, +0x15,0x23,0x22,0x27,0x26,0x2f,0x01,0x06,0x05,0x9c,0x66,0xa6,0xcd,0xb7,0xc0,0x80, +0xfe,0xb7,0x01,0x01,0x40,0xb8,0x41,0xcb,0x68,0x97,0xb8,0xc2,0x9d,0x24,0x10,0x36, +0xfe,0xca,0x32,0x0a,0x23,0x64,0x02,0xe9,0xfd,0xad,0x47,0x15,0x06,0x1f,0x02,0x47, +0x16,0x26,0x2b,0x40,0x58,0x84,0x41,0x3a,0x67,0x21,0x61,0x19,0x78,0x4e,0x3a,0x47, +0x02,0x02,0x28,0x65,0x01,0x08,0x8a,0x5c,0x5e,0x88,0x7d,0x43,0x23,0x01,0x02,0x4e, +0x3f,0x39,0x1a,0x2e,0x45,0x42,0x01,0x7c,0x3d,0x51,0x23,0x21,0x77,0x2a,0x01,0x36, +0xba,0xfa,0x1e,0x28,0x0b,0x19,0x20,0x25,0xfd,0x3f,0x1a,0x0e,0x10,0xb8,0x18,0x2b, +0x29,0x78,0x40,0x00,0xff,0xff,0xff,0xec,0x00,0x00,0x03,0xcf,0x06,0x14,0x10,0x06, +0x0b,0xc4,0x00,0x00,0xff,0xff,0xff,0xec,0x00,0x00,0x04,0x7f,0x06,0x14,0x10,0x06, +0x0b,0xc5,0x00,0x00,0xff,0xff,0x00,0x81,0xff,0xa6,0x07,0x29,0x07,0x2b,0x10,0x27, +0x0c,0x18,0x03,0xca,0x00,0x00,0x10,0x06,0x05,0x2f,0x00,0x00,0xff,0xff,0x00,0x81, +0xff,0xa6,0x07,0xd9,0x07,0x2b,0x10,0x26,0x0b,0x4b,0x00,0x00,0x10,0x07,0x0c,0x18, +0x03,0xca,0x00,0x00,0xff,0xff,0xff,0xec,0x00,0x00,0x03,0xcf,0x07,0x2b,0x10,0x26, +0x0b,0x4c,0x00,0x00,0x10,0x06,0x0c,0x18,0x70,0x00,0xff,0xff,0xff,0xec,0x00,0x00, +0x04,0x7f,0x07,0x2b,0x10,0x26,0x0b,0x4d,0x00,0x00,0x10,0x06,0x0c,0x18,0x70,0x00, +0xff,0xff,0x00,0x93,0xfe,0xb5,0x05,0x49,0x02,0xee,0x10,0x06,0x05,0x31,0x00,0x00, +0x00,0x01,0x00,0x93,0xfe,0x0c,0x06,0x2b,0x02,0x45,0x00,0x26,0x00,0x00,0x01,0x16, +0x17,0x16,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x06,0x07,0x06,0x07,0x06,0x23, +0x22,0x27,0x24,0x11,0x34,0x37,0x33,0x06,0x15,0x14,0x17,0x16,0x33,0x32,0x37,0x36, +0x37,0x36,0x35,0x34,0x27,0x04,0xe0,0x2c,0x1b,0x16,0x32,0x35,0x3c,0x4b,0x82,0x47, +0x22,0x03,0x59,0x78,0xef,0x61,0x5c,0x74,0x71,0xfe,0xb8,0x2f,0xb8,0x31,0xc9,0x5a, +0x4c,0x58,0x4f,0xc2,0x4b,0x21,0x65,0x02,0x45,0x61,0x60,0x50,0x3c,0x40,0xb8,0x30, +0x6d,0x93,0xc7,0x42,0x1b,0x25,0x6b,0x01,0x63,0xaf,0x8d,0x89,0xb3,0xec,0x35,0x18, +0x14,0x30,0xe3,0x65,0x70,0xb8,0xcb,0x00,0x00,0x01,0xff,0xec,0x00,0x00,0x01,0x87, +0x02,0x58,0x00,0x0d,0x00,0x00,0x25,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x3d, +0x01,0x33,0x15,0x14,0x01,0x2b,0x48,0x9d,0x5a,0x23,0x63,0x2c,0x31,0xb8,0x56,0x56, +0xb8,0x2c,0x31,0x6a,0xd9,0xd9,0xbb,0x00,0x00,0x01,0xff,0xec,0x00,0x00,0x02,0x7e, +0x02,0x58,0x00,0x14,0x00,0x00,0x25,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x3d, +0x01,0x33,0x15,0x14,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x01,0x2b,0x4d,0x98,0x5a, +0x23,0x63,0x2c,0x31,0xb8,0x31,0x2c,0x63,0x37,0x6e,0x96,0x56,0x56,0xb8,0x2c,0x31, +0x6a,0xd9,0xd9,0x6a,0x31,0x2c,0xb8,0x00,0xff,0xff,0x00,0x82,0xfe,0xf3,0x05,0xc0, +0x03,0x4a,0x10,0x06,0x04,0xfd,0x00,0x00,0xff,0xff,0x00,0x82,0xfe,0xf0,0x06,0xbf, +0x02,0x02,0x10,0x06,0x0b,0xd9,0x00,0x00,0xff,0xff,0xff,0xec,0xfe,0xd4,0x01,0xf3, +0x02,0x58,0x10,0x26,0x0b,0x54,0x00,0x00,0x10,0x07,0x0b,0xf5,0x00,0x63,0xfe,0xd4, +0xff,0xff,0xff,0xec,0xfe,0xd4,0x02,0x7e,0x02,0x58,0x10,0x26,0x0b,0x55,0x00,0x00, +0x10,0x07,0x0b,0xf5,0x00,0x63,0xfe,0xd4,0xff,0xff,0x00,0x08,0x04,0xba,0x02,0x50, +0x06,0x9a,0x10,0x07,0x04,0xff,0xff,0x2c,0x00,0x00,0xff,0xff,0xff,0xec,0x00,0x00, +0x02,0x6c,0x06,0x9a,0x10,0x26,0x04,0xf4,0x00,0x00,0x10,0x07,0x04,0xff,0xff,0x2c, +0x00,0x00,0xff,0xff,0x00,0x08,0x04,0xba,0x02,0x50,0x06,0xfd,0x10,0x07,0x05,0x00, +0xff,0x2c,0x00,0x00,0x00,0x01,0x00,0x69,0x00,0x00,0x02,0x2c,0x01,0x6b,0x00,0x0d, +0x00,0x00,0x01,0x14,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x26,0x3d,0x01,0x33, +0x01,0x21,0x31,0x2c,0x63,0x4b,0x82,0x8e,0x5c,0x57,0xb8,0x01,0x4c,0x37,0x31,0x2c, +0xb8,0x5c,0x57,0x8d,0x2b,0x00,0xff,0xff,0x00,0x08,0xfe,0x16,0x02,0x50,0xff,0xf6, +0x10,0x07,0x05,0x01,0xff,0x2c,0x00,0x00,0xff,0xff,0x00,0x08,0x04,0xba,0x02,0x50, +0x05,0xaa,0x10,0x07,0x05,0x02,0xff,0x2c,0x00,0x00,0xff,0xff,0xff,0xec,0x00,0x00, +0x02,0x6c,0x05,0xaa,0x10,0x27,0x05,0x02,0xff,0x2c,0x00,0x00,0x10,0x06,0x04,0xf4, +0x00,0x00,0xff,0xff,0x00,0x08,0x04,0xb9,0x02,0x50,0x06,0xfd,0x10,0x07,0x05,0x03, +0xff,0x2c,0x00,0x00,0xff,0xff,0xff,0xec,0x00,0x00,0x02,0x6c,0x06,0xfd,0x10,0x27, +0x05,0x03,0xff,0x2c,0x00,0x00,0x10,0x06,0x04,0xf4,0x00,0x00,0xff,0xff,0x00,0x08, +0xfe,0xe8,0x02,0x50,0xff,0xd8,0x10,0x07,0x05,0x04,0xff,0x2c,0x00,0x00,0xff,0xff, +0xff,0xec,0xfe,0xe8,0x02,0x6c,0x00,0xb8,0x10,0x27,0x05,0x04,0xff,0x2c,0x00,0x00, +0x10,0x06,0x04,0xf4,0x00,0x00,0xff,0xff,0xff,0xf4,0x04,0xca,0x02,0x65,0x06,0xf4, +0x10,0x07,0x05,0x05,0xff,0x2c,0x00,0x00,0xff,0xff,0xff,0xec,0x00,0x00,0x02,0x6c, +0x06,0xf4,0x10,0x27,0x05,0x05,0xff,0x2c,0x00,0x00,0x10,0x06,0x04,0xf4,0x00,0x00, +0xff,0xff,0x00,0x18,0x04,0xe1,0x02,0x3c,0x07,0x06,0x10,0x07,0x05,0x06,0xff,0x2c, +0x00,0x00,0xff,0xff,0xff,0xec,0x00,0x00,0x02,0x6c,0x07,0x06,0x10,0x26,0x04,0xf4, +0x00,0x00,0x10,0x07,0x05,0x06,0xff,0x2c,0x00,0x00,0xff,0xff,0x00,0xa3,0x00,0x55, +0x03,0x1e,0x03,0xde,0x10,0x06,0x04,0xda,0x00,0x00,0xff,0xff,0xff,0xb5,0x00,0x00, +0x02,0x85,0x07,0x83,0x10,0x27,0x05,0x07,0xff,0x1d,0x01,0xc2,0x10,0x06,0x04,0xe0, +0x00,0x00,0xff,0xff,0xff,0xb5,0x00,0x00,0x02,0x85,0x07,0x83,0x10,0x26,0x0b,0x77, +0x00,0x00,0x10,0x07,0x05,0x07,0xff,0x1d,0x01,0xc2,0xff,0xff,0x00,0x6c,0x00,0x00, +0x01,0xc4,0x08,0x39,0x10,0x27,0x05,0x08,0xff,0x1d,0x01,0xc2,0x10,0x06,0x04,0xe0, +0x00,0x00,0xff,0xff,0x00,0x6c,0x00,0x00,0x02,0x84,0x08,0x39,0x10,0x26,0x0b,0x77, +0x00,0x00,0x10,0x07,0x05,0x08,0xff,0x1d,0x01,0xc2,0xff,0xff,0xff,0xab,0xfe,0x32, +0x03,0x43,0x06,0x13,0x10,0x26,0x04,0xfc,0x00,0x00,0x10,0x06,0x05,0x08,0xc2,0x9c, +0xff,0xff,0xff,0xab,0xfe,0x0c,0x04,0x36,0x04,0xb5,0x10,0x26,0x0b,0xd7,0x00,0x00, +0x10,0x07,0x05,0x08,0xff,0xc2,0xfe,0x3e,0xff,0xff,0x00,0x6c,0xfe,0x0b,0x01,0xc4, +0x06,0x14,0x10,0x27,0x05,0x09,0xff,0x1d,0x00,0x00,0x10,0x06,0x04,0xe0,0x00,0x00, +0xff,0xff,0x00,0x6c,0xfe,0x0b,0x02,0x84,0x06,0x14,0x10,0x26,0x0b,0x77,0x00,0x00, +0x10,0x07,0x05,0x09,0xff,0x1d,0x00,0x00,0xff,0xff,0x00,0x82,0xfe,0xf3,0x05,0xc0, +0x04,0xb5,0x10,0x27,0x05,0x08,0xff,0xf4,0xfe,0x3e,0x10,0x06,0x04,0xfd,0x00,0x00, +0xff,0xff,0x00,0x82,0xfe,0xf0,0x06,0xbf,0x03,0xbb,0x10,0x26,0x0b,0xd9,0x00,0x00, +0x10,0x07,0x05,0x08,0x00,0x58,0xfd,0x44,0xff,0xff,0xff,0xec,0x00,0x00,0x01,0xd2, +0x04,0xe7,0x10,0x26,0x0b,0x54,0x00,0x00,0x10,0x07,0x05,0x08,0xff,0x2b,0xfe,0x70, +0xff,0xff,0xff,0xec,0x00,0x00,0x02,0x7e,0x04,0xe7,0x10,0x26,0x0b,0x55,0x00,0x00, +0x10,0x07,0x05,0x08,0xff,0x2b,0xfe,0x70,0xff,0xff,0x00,0xc1,0x00,0x00,0x01,0x79, +0x06,0x14,0x10,0x06,0x04,0xe0,0x00,0x00,0x00,0x01,0x00,0xc1,0x00,0x00,0x02,0x84, +0x06,0x14,0x00,0x0d,0x00,0x00,0x13,0x11,0x33,0x11,0x14,0x17,0x16,0x3b,0x01,0x15, +0x23,0x22,0x27,0x26,0xc1,0xb8,0x31,0x2c,0x63,0x4b,0x82,0x9a,0x50,0x57,0x01,0x73, +0x04,0xa1,0xfb,0x6b,0x6a,0x31,0x2c,0xb8,0x5c,0x65,0xff,0xff,0x00,0x81,0xfe,0xa2, +0x06,0xeb,0x02,0x9d,0x10,0x27,0x0b,0xf4,0x03,0x39,0xfe,0xa2,0x10,0x06,0x05,0x18, +0x00,0x00,0xff,0xff,0x00,0x81,0xfe,0xa2,0x07,0xef,0x02,0x9d,0x10,0x26,0x0b,0xfa, +0x00,0x00,0x10,0x07,0x0b,0xf4,0x03,0x39,0xfe,0xa2,0xff,0xff,0xff,0xec,0xfe,0xd4, +0x01,0x87,0x02,0x58,0x10,0x26,0x0b,0xfb,0x00,0x00,0x10,0x07,0x0b,0xf4,0x00,0xe0, +0xfe,0xd4,0xff,0xff,0xff,0xec,0xfe,0xd4,0x02,0x7e,0x02,0x58,0x10,0x26,0x0b,0xfc, +0x00,0x00,0x10,0x07,0x0b,0xf4,0x00,0xe0,0xfe,0xd4,0xff,0xff,0x00,0x8b,0xff,0xc6, +0x03,0xa0,0x04,0x1a,0x10,0x27,0x0b,0xf5,0x00,0xfa,0x03,0x84,0x10,0x06,0x04,0xfb, +0x00,0x00,0xff,0xff,0x00,0x91,0x00,0x00,0x04,0x5e,0x04,0x1a,0x10,0x26,0x0b,0xd3, +0x00,0x00,0x10,0x07,0x0b,0xf5,0x01,0x5e,0x03,0x84,0xff,0xff,0x00,0x81,0xff,0xeb, +0x06,0xeb,0x03,0x20,0x10,0x27,0x0b,0xf5,0x02,0xbc,0x02,0x8a,0x10,0x06,0x05,0x18, +0x00,0x00,0xff,0xff,0x00,0x81,0xff,0xec,0x07,0xef,0x03,0x20,0x10,0x26,0x0b,0xfa, +0x00,0x00,0x10,0x07,0x0b,0xf5,0x02,0xbc,0x02,0x8a,0xff,0xff,0xff,0xec,0x00,0x00, +0x01,0xf3,0x03,0xe8,0x10,0x26,0x0b,0xfb,0x00,0x00,0x10,0x07,0x0b,0xf5,0x00,0x63, +0x03,0x52,0xff,0xff,0xff,0xec,0x00,0x00,0x02,0x7e,0x03,0xe8,0x10,0x26,0x0b,0xfc, +0x00,0x00,0x10,0x07,0x0b,0xf5,0x00,0x63,0x03,0x52,0xff,0xff,0x00,0x81,0xff,0xeb, +0x06,0xeb,0x04,0x1a,0x10,0x27,0x0b,0xf6,0x02,0xbc,0x02,0x8a,0x10,0x06,0x05,0x18, +0x00,0x00,0xff,0xff,0x00,0x81,0xff,0xec,0x07,0xef,0x04,0x1a,0x10,0x26,0x0b,0xfa, +0x00,0x00,0x10,0x07,0x0b,0xf6,0x02,0xbc,0x02,0x8a,0xff,0xff,0xff,0xec,0x00,0x00, +0x01,0xf3,0x04,0xe2,0x10,0x26,0x0b,0xfb,0x00,0x00,0x10,0x07,0x0b,0xf6,0x00,0x63, +0x03,0x52,0xff,0xff,0xff,0xec,0x00,0x00,0x02,0x7e,0x04,0xe2,0x10,0x26,0x0b,0xfc, +0x00,0x00,0x10,0x07,0x0b,0xf6,0x00,0x63,0x03,0x52,0xff,0xff,0x00,0x9d,0xfe,0x0b, +0x05,0x28,0x03,0x67,0x10,0x27,0x0b,0xf4,0x03,0x07,0x00,0x19,0x10,0x06,0x04,0xe6, +0x00,0x00,0xff,0xff,0x00,0x9d,0xfe,0x0b,0x05,0x3e,0x03,0x67,0x10,0x26,0x0b,0x8b, +0x00,0x00,0x10,0x07,0x0b,0xf4,0x02,0xbc,0xff,0xce,0xff,0xff,0xff,0xec,0xfe,0xd4, +0x04,0x5c,0x03,0x2f,0x10,0x26,0x0b,0x8c,0x00,0x00,0x10,0x07,0x0b,0xf4,0x02,0x0d, +0xfe,0xd4,0xff,0xff,0xff,0xec,0xfe,0xd4,0x05,0x3e,0x03,0x2f,0x10,0x26,0x0b,0x8d, +0x00,0x00,0x10,0x07,0x0b,0xf4,0x02,0x0d,0xfe,0xd4,0xff,0xff,0x00,0x9d,0xfe,0x0b, +0x05,0x28,0x03,0x67,0x10,0x06,0x04,0xe6,0x00,0x00,0x00,0x01,0x00,0x9d,0xfe,0x0b, +0x05,0x3e,0x03,0x67,0x00,0x2e,0x00,0x00,0x25,0x33,0x15,0x23,0x22,0x27,0x26,0x27, +0x26,0x27,0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x05,0x32,0x37,0x15,0x06,0x07,0x04, +0x27,0x26,0x35,0x10,0x37,0x36,0x37,0x26,0x07,0x06,0x07,0x35,0x24,0x17,0x04,0x17, +0x15,0x06,0x07,0x17,0x16,0x17,0x16,0x05,0x16,0x28,0x31,0x81,0x7b,0x52,0x3d,0x06, +0x49,0x72,0x62,0xe0,0x4a,0x81,0x01,0x49,0xc1,0xd4,0x96,0xfa,0xfe,0x5e,0xa9,0x83, +0xd4,0x60,0x89,0x65,0x9f,0x87,0x5f,0x01,0x14,0xc3,0x01,0x24,0xc4,0x6d,0x1f,0x1d, +0x33,0x48,0x5a,0xb8,0xb8,0x96,0x64,0x9c,0x0f,0xb2,0x18,0x50,0xb7,0xfc,0x8a,0x5d, +0xa3,0x01,0x76,0xb8,0x62,0x01,0x02,0xc4,0x98,0xde,0x01,0x02,0xdf,0x65,0x34,0x03, +0x16,0x13,0x29,0xb8,0x40,0x01,0x01,0x35,0x9a,0x03,0x0a,0x5b,0xa0,0x5f,0x77,0x00, +0x00,0x01,0xff,0xec,0x00,0x00,0x04,0x5c,0x03,0x2f,0x00,0x1e,0x00,0x00,0x01,0x26, +0x27,0x26,0x27,0x26,0x07,0x35,0x36,0x37,0x32,0x17,0x04,0x17,0x15,0x06,0x07,0x06, +0x07,0x06,0x07,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x37,0x36,0x03,0x53,0x53, +0x67,0x55,0xb4,0x52,0xa1,0x48,0x4b,0xa2,0xac,0x01,0x02,0xdc,0x4c,0x58,0xa6,0x4a, +0x91,0x4b,0xdd,0xa3,0x80,0x64,0xe3,0x81,0x68,0x74,0x5e,0x02,0x1d,0x17,0x17,0x13, +0x10,0x07,0x06,0xb8,0x07,0x01,0x23,0x34,0x62,0x9a,0x18,0x34,0x62,0x42,0x81,0x1b, +0x50,0xb8,0x48,0x3a,0x6a,0x56,0x00,0x01,0xff,0xec,0x00,0x00,0x05,0x3e,0x03,0x2f, +0x00,0x29,0x00,0x00,0x01,0x04,0x17,0x15,0x06,0x07,0x16,0x17,0x16,0x3b,0x01,0x15, +0x23,0x22,0x27,0x26,0x27,0x06,0x07,0x06,0x07,0x06,0x2b,0x01,0x35,0x33,0x32,0x37, +0x36,0x37,0x36,0x37,0x26,0x27,0x26,0x27,0x26,0x07,0x35,0x36,0x37,0x32,0x02,0x7e, +0x01,0x02,0xdc,0x41,0x49,0x32,0x1e,0x68,0x72,0x42,0x56,0xd1,0x7e,0x28,0x3b,0x45, +0x29,0x91,0x4b,0xdd,0xa3,0x80,0x64,0xe3,0x81,0x68,0x74,0x5e,0x65,0x53,0x67,0x55, +0xb4,0x52,0xa1,0x48,0x4b,0xa2,0x03,0x0c,0x34,0x62,0x9a,0x14,0x29,0x4e,0x22,0x77, +0xb8,0xa8,0x36,0x61,0x2e,0x25,0x81,0x1b,0x50,0xb8,0x48,0x3a,0x6a,0x56,0x23,0x17, +0x17,0x13,0x10,0x07,0x06,0xb8,0x07,0x01,0xff,0xff,0x00,0x9d,0xfe,0x0b,0x05,0x28, +0x04,0xb0,0x10,0x27,0x0b,0xf4,0x02,0x3f,0x04,0x1a,0x10,0x06,0x04,0xe6,0x00,0x00, +0xff,0xff,0x00,0x9d,0xfe,0x0b,0x05,0x3e,0x04,0xb0,0x10,0x26,0x0b,0x8b,0x00,0x00, +0x10,0x07,0x0b,0xf4,0x02,0x3f,0x04,0x1a,0xff,0xff,0xff,0xec,0x00,0x00,0x04,0x5c, +0x04,0x4c,0x10,0x26,0x0b,0x8c,0x00,0x00,0x10,0x07,0x0b,0xf4,0x02,0x0d,0x03,0xb6, +0xff,0xff,0xff,0xec,0x00,0x00,0x05,0x3e,0x04,0x4c,0x10,0x26,0x0b,0x8d,0x00,0x00, +0x10,0x07,0x0b,0xf4,0x02,0x0d,0x03,0xb6,0xff,0xff,0x00,0x7d,0xff,0xda,0x03,0x1b, +0x03,0x52,0x10,0x06,0x04,0xe8,0x00,0x00,0x00,0x01,0x00,0x7d,0xff,0xda,0x04,0x47, +0x03,0x52,0x00,0x20,0x00,0x00,0x01,0x26,0x27,0x33,0x16,0x17,0x16,0x15,0x14,0x17, +0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x06,0x07,0x06,0x23,0x22,0x27,0x35,0x16,0x33, +0x32,0x37,0x36,0x37,0x36,0x35,0x34,0x02,0x22,0x39,0xb6,0xe3,0x61,0x52,0x51,0x53, +0x2c,0x63,0x4b,0x82,0x93,0x61,0x5d,0xcf,0x2e,0x2d,0x66,0x67,0x73,0x54,0x21,0x22, +0xac,0x23,0x08,0x02,0x3f,0x7a,0x99,0x4e,0x89,0x86,0x75,0x49,0x53,0x2c,0xb8,0x82, +0x80,0x21,0x07,0x26,0xb8,0x2a,0x09,0x31,0x70,0x1b,0x2a,0x44,0xff,0xff,0x00,0x7d, +0xff,0xda,0x03,0x1b,0x04,0xb0,0x10,0x27,0x0b,0xf4,0x01,0x45,0x04,0x1a,0x10,0x06, +0x04,0xe8,0x00,0x00,0xff,0xff,0x00,0x7d,0xff,0xda,0x04,0x47,0x04,0xb0,0x10,0x26, +0x0b,0x93,0x00,0x00,0x10,0x07,0x0b,0xf4,0x01,0x45,0x04,0x1a,0xff,0xff,0xff,0xab, +0xfe,0x0c,0x03,0x62,0x02,0x26,0x10,0x06,0x04,0xea,0x00,0x00,0x00,0x01,0xff,0xab, +0xfe,0x0c,0x04,0x7e,0x02,0x26,0x00,0x18,0x00,0x00,0x01,0x33,0x16,0x17,0x16,0x17, +0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x02,0x07,0x04,0x21,0x35,0x20,0x37,0x36,0x37, +0x36,0x35,0x34,0x02,0x78,0xb8,0x1e,0x03,0x0a,0x49,0x2a,0x65,0x4b,0x82,0x82,0x32, +0x44,0xfb,0xfe,0xe4,0xfe,0xbe,0x01,0x30,0xcb,0xda,0x23,0x0a,0x02,0x26,0x70,0x1e, +0x67,0x4d,0x2c,0xb8,0x3e,0xfe,0xea,0x85,0x97,0xb8,0x80,0x8a,0xd0,0x3a,0x48,0x7e, +0xff,0xff,0xff,0xab,0xfe,0x0c,0x03,0x62,0x03,0xb6,0x10,0x27,0x0b,0xf4,0x02,0x71, +0x03,0x20,0x10,0x06,0x04,0xea,0x00,0x00,0xff,0xff,0xff,0xab,0xfe,0x0c,0x04,0x7e, +0x03,0xb6,0x10,0x26,0x0b,0x97,0x00,0x00,0x10,0x07,0x0b,0xf4,0x02,0x71,0x03,0x20, +0xff,0xff,0x00,0x82,0xfe,0x0c,0x09,0x1a,0x02,0xee,0x10,0x06,0x04,0xec,0x00,0x00, +0x00,0x01,0x00,0x82,0xfe,0x0c,0x0a,0x47,0x02,0xee,0x00,0x46,0x00,0x00,0x25,0x16, +0x37,0x36,0x35,0x33,0x14,0x17,0x16,0x33,0x32,0x19,0x01,0x33,0x11,0x14,0x17,0x16, +0x3b,0x01,0x15,0x23,0x22,0x27,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x06,0x07, +0x06,0x27,0x26,0x27,0x06,0x07,0x06,0x07,0x06,0x23,0x26,0x27,0x24,0x11,0x34,0x37, +0x33,0x06,0x17,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x37,0x36,0x27,0x26,0x2f,0x01, +0x33,0x17,0x16,0x17,0x16,0x05,0xb8,0x4e,0x30,0x25,0xb8,0x13,0x40,0x6e,0x8e,0xb8, +0x53,0x2c,0x63,0x4b,0x82,0x91,0x76,0x44,0x6d,0x25,0x20,0x49,0x30,0x8a,0x11,0x31, +0x5f,0x40,0x38,0x89,0x27,0x18,0x54,0x85,0xc1,0x50,0x78,0x80,0x6d,0xfe,0xed,0x69, +0xb8,0x6c,0x01,0x01,0x93,0x5f,0x51,0x62,0x5f,0x79,0x5e,0x40,0x01,0x01,0x10,0x40, +0xb8,0x24,0x10,0x1c,0x3a,0xb5,0x02,0x7c,0x5f,0xca,0xcd,0x32,0xa9,0x01,0x18,0x01, +0x26,0xfe,0xaa,0x61,0x53,0x2c,0xb8,0x60,0x5b,0x19,0x09,0x19,0x46,0x7b,0x9f,0x1e, +0x14,0x02,0x02,0x3c,0xb3,0x6b,0xaa,0x3e,0x1a,0x01,0x1c,0x47,0x01,0x48,0xf6,0xb4, +0xce,0xdc,0xb3,0x26,0x18,0x25,0x30,0x9e,0x6c,0x8e,0x7d,0x3d,0xea,0x9c,0x4a,0x3c, +0x7e,0x00,0x00,0x01,0xff,0xec,0xff,0xe3,0x06,0x0a,0x02,0xee,0x00,0x31,0x00,0x00, +0x25,0x06,0x07,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x3d,0x01,0x33,0x15,0x14, +0x17,0x16,0x33,0x32,0x37,0x36,0x35,0x33,0x14,0x17,0x16,0x37,0x36,0x19,0x01,0x33, +0x11,0x14,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x06,0x07,0x06,0x23,0x22, +0x27,0x26,0x01,0x80,0x2b,0x38,0x4c,0x63,0x82,0x4b,0x63,0x2c,0x50,0xb8,0x2c,0x2b, +0x68,0x6d,0x2c,0x25,0xb8,0x13,0x40,0x6e,0x8e,0xb8,0x5c,0x4b,0x66,0x25,0x23,0x3f, +0x37,0x89,0x12,0x30,0x60,0x44,0x41,0x62,0x48,0x3c,0x8a,0x3b,0x21,0x2e,0xb8,0x2c, +0x50,0x64,0xc0,0x9c,0x40,0x64,0x63,0x7a,0x67,0xc2,0xcd,0x32,0xaa,0x01,0x02,0x01, +0x16,0x01,0x26,0xfe,0xaa,0xc7,0x71,0x5c,0x18,0x09,0x19,0x3d,0x84,0x9c,0x21,0x18, +0x31,0x28,0x00,0x01,0xff,0xec,0xff,0xe3,0x07,0x37,0x02,0xee,0x00,0x38,0x00,0x00, +0x05,0x06,0x23,0x22,0x27,0x26,0x27,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x27,0x06, +0x07,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x3d,0x01,0x33,0x15,0x14,0x17,0x16, +0x33,0x32,0x37,0x36,0x35,0x33,0x14,0x17,0x16,0x37,0x36,0x19,0x01,0x33,0x11,0x14, +0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x06,0x04,0xfd,0x25,0x23,0x3f,0x37,0x89, +0x12,0x30,0x60,0x44,0x41,0x62,0x48,0x3c,0x29,0x2b,0x38,0x4c,0x63,0x82,0x4b,0x63, +0x2c,0x50,0xb8,0x2c,0x2b,0x68,0x6d,0x2c,0x25,0xb8,0x13,0x40,0x6e,0x8e,0xb8,0x53, +0x2c,0x63,0x4b,0x82,0x91,0x76,0x44,0x14,0x09,0x19,0x3d,0x84,0x9c,0x21,0x18,0x31, +0x28,0x49,0x3b,0x21,0x2e,0xb8,0x2c,0x50,0x64,0xc0,0x9c,0x40,0x64,0x63,0x7a,0x67, +0xc2,0xcd,0x32,0xaa,0x01,0x02,0x01,0x16,0x01,0x26,0xfe,0xaa,0x61,0x53,0x2c,0xb8, +0x60,0x5a,0xff,0xff,0x00,0x82,0xfe,0x0c,0x09,0x1a,0x04,0xb0,0x10,0x27,0x0b,0xf6, +0x04,0xe2,0x03,0x20,0x10,0x06,0x04,0xec,0x00,0x00,0xff,0xff,0x00,0x82,0xfe,0x0c, +0x0a,0x47,0x04,0xb0,0x10,0x26,0x0b,0x9b,0x00,0x00,0x10,0x07,0x0b,0xf6,0x04,0xe2, +0x03,0x20,0xff,0xff,0xff,0xec,0xff,0xe3,0x06,0x0a,0x04,0xb0,0x10,0x26,0x0b,0x9c, +0x00,0x00,0x10,0x07,0x0b,0xf6,0x02,0x8a,0x03,0x20,0xff,0xff,0xff,0xec,0xff,0xe3, +0x07,0x37,0x04,0xb0,0x10,0x26,0x0b,0x9d,0x00,0x00,0x10,0x07,0x0b,0xf6,0x02,0x8a, +0x03,0x20,0xff,0xff,0x00,0x82,0xfe,0x0c,0x09,0x13,0x02,0xe6,0x10,0x06,0x04,0xee, +0x00,0x00,0x00,0x02,0x00,0x82,0xfe,0x0c,0x09,0xe1,0x02,0xe6,0x00,0x3c,0x00,0x49, +0x00,0x00,0x29,0x01,0x22,0x27,0x26,0x37,0x14,0x07,0x06,0x07,0x06,0x23,0x26,0x27, +0x24,0x11,0x34,0x37,0x33,0x06,0x17,0x16,0x17,0x16,0x33,0x32,0x37,0x36,0x37,0x36, +0x35,0x34,0x27,0x33,0x06,0x17,0x16,0x17,0x36,0x37,0x36,0x37,0x36,0x17,0x16,0x17, +0x16,0x15,0x14,0x07,0x16,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x2f,0x01,0x06,0x03, +0x22,0x07,0x06,0x07,0x33,0x32,0x37,0x36,0x27,0x26,0x27,0x26,0x06,0x75,0xfe,0xec, +0x22,0x38,0x33,0x06,0x4a,0x58,0xee,0x50,0x78,0x80,0x6d,0xfe,0xed,0x69,0xb8,0x6c, +0x01,0x01,0x93,0x5f,0x51,0x66,0x5b,0xa2,0x2b,0x21,0x27,0xab,0x01,0x0e,0x0a,0x28, +0x73,0x7b,0x6c,0x93,0x48,0x58,0x7d,0x61,0xba,0x2a,0x0e,0x10,0x3d,0x52,0x4b,0x82, +0x83,0x67,0x1c,0xcc,0x12,0x4c,0x7e,0xa8,0x91,0xbb,0xed,0x81,0xbb,0x01,0x02,0x89, +0x25,0x1e,0x1b,0x0f,0xba,0x80,0x9b,0x4d,0x1a,0x01,0x1c,0x47,0x01,0x48,0xf6,0xb4, +0xce,0xdc,0xb3,0x26,0x18,0x25,0x44,0x8a,0x6c,0x7f,0x93,0x8a,0x0f,0x37,0x28,0x32, +0x92,0x6c,0x5e,0x46,0x22,0x01,0x02,0x25,0x47,0xe9,0x4d,0x46,0x0c,0x0b,0x2c,0xb8, +0x5c,0x1a,0x76,0x02,0x37,0x51,0x6c,0xc2,0x3f,0x5b,0x46,0x87,0x13,0x05,0x00,0x02, +0xff,0xec,0x00,0x00,0x06,0x32,0x02,0xe6,0x00,0x0c,0x00,0x2e,0x00,0x00,0x01,0x06, +0x07,0x33,0x32,0x37,0x36,0x27,0x26,0x27,0x26,0x23,0x22,0x03,0x21,0x22,0x27,0x26, +0x27,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x3d,0x01,0x33,0x15,0x14,0x16,0x17, +0x36,0x37,0x36,0x37,0x36,0x37,0x36,0x17,0x16,0x15,0x14,0x07,0x06,0x03,0xd0,0xa8, +0x91,0xbb,0xed,0x81,0xbb,0x01,0x02,0x89,0x25,0x30,0x4c,0xba,0xfe,0xec,0x4a,0x4e, +0x41,0x27,0x66,0xac,0x82,0x4b,0x63,0x2c,0x50,0xb8,0x12,0x2d,0x65,0x5f,0xa0,0x89, +0x4b,0x55,0x73,0x6b,0xba,0xb8,0xca,0x01,0xe6,0x6c,0xc2,0x3f,0x5b,0x46,0x87,0x13, +0x05,0xfd,0xc9,0x2a,0x23,0x3d,0x8a,0xb8,0x2c,0x50,0x64,0x72,0x4e,0x18,0x50,0x32, +0x86,0x54,0x8f,0x39,0x20,0x01,0x02,0x29,0x47,0xe9,0xa9,0x6d,0x78,0x00,0x00,0x02, +0xff,0xec,0x00,0x00,0x07,0x04,0x02,0xe6,0x00,0x2b,0x00,0x38,0x00,0x00,0x29,0x01, +0x22,0x27,0x26,0x27,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x3d,0x01,0x33,0x15, +0x14,0x16,0x17,0x36,0x37,0x36,0x37,0x36,0x37,0x36,0x17,0x16,0x17,0x16,0x07,0x16, +0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x2f,0x01,0x06,0x03,0x06,0x07,0x33,0x32,0x37, +0x36,0x27,0x26,0x27,0x26,0x23,0x22,0x03,0x98,0xfe,0xe8,0x4a,0x4e,0x41,0x27,0x66, +0xac,0x82,0x4b,0x63,0x2c,0x50,0xb8,0x12,0x2d,0x65,0x5f,0xa0,0x89,0x4b,0x55,0x73, +0x6b,0xba,0x04,0x01,0x2b,0x0e,0x10,0x3d,0x52,0x4b,0x82,0x83,0x67,0x1c,0xcc,0xe0, +0xa8,0x91,0xbb,0xed,0x81,0xbb,0x01,0x02,0x89,0x25,0x30,0x4c,0x2a,0x23,0x3d,0x8a, +0xb8,0x2c,0x50,0x64,0x72,0x4e,0x18,0x50,0x32,0x86,0x54,0x8f,0x39,0x20,0x01,0x02, +0x29,0x46,0xea,0x4b,0x48,0x0c,0x0b,0x2c,0xb8,0x5c,0x1a,0x76,0x01,0xe6,0x6c,0xc2, +0x3f,0x5b,0x46,0x87,0x13,0x05,0xff,0xff,0x00,0x82,0xfe,0x0c,0x09,0x13,0x03,0xb6, +0x10,0x27,0x0b,0xf4,0x04,0xfb,0x03,0x20,0x10,0x06,0x04,0xee,0x00,0x00,0xff,0xff, +0x00,0x82,0xfe,0x0c,0x09,0xe1,0x03,0xb6,0x10,0x26,0x0b,0xa3,0x00,0x00,0x10,0x07, +0x0b,0xf4,0x04,0xfb,0x03,0x20,0xff,0xff,0xff,0xec,0x00,0x00,0x06,0x32,0x03,0xb6, +0x10,0x26,0x0b,0xa4,0x00,0x00,0x10,0x07,0x0b,0xf4,0x01,0xdb,0x03,0x20,0xff,0xff, +0xff,0xec,0x00,0x00,0x07,0x04,0x03,0xb6,0x10,0x26,0x0b,0xa5,0x00,0x00,0x10,0x07, +0x0b,0xf4,0x01,0xdb,0x03,0x20,0xff,0xff,0x00,0x90,0x00,0x00,0x06,0xdc,0x06,0x14, +0x10,0x06,0x04,0xf0,0x00,0x00,0x00,0x02,0x00,0x90,0x00,0x00,0x07,0xac,0x06,0x14, +0x00,0x1c,0x00,0x29,0x00,0x00,0x29,0x02,0x35,0x21,0x11,0x33,0x11,0x12,0x25,0x36, +0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x16,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x2f, +0x01,0x06,0x25,0x33,0x32,0x37,0x36,0x27,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x04, +0x40,0xfd,0xbf,0xfe,0x91,0x01,0x6f,0xb8,0xd9,0x01,0x14,0x5c,0x44,0x75,0x69,0xbc, +0x2a,0x0e,0x10,0x3d,0x52,0x4b,0x82,0x83,0x67,0x1c,0xcc,0xfd,0xe9,0xbb,0xed,0x81, +0xbb,0x01,0x02,0x89,0x25,0x30,0x50,0x7a,0xb1,0xb8,0x05,0x5c,0xfb,0x0e,0x01,0x3f, +0x63,0x21,0x27,0x45,0xeb,0x4d,0x46,0x0c,0x0b,0x2c,0xb8,0x5c,0x1a,0x76,0xb8,0x3f, +0x5d,0x44,0x87,0x13,0x05,0x51,0x78,0x00,0x00,0x02,0xff,0xec,0x00,0x00,0x05,0xd4, +0x06,0x14,0x00,0x0c,0x00,0x1f,0x00,0x00,0x25,0x33,0x32,0x37,0x36,0x27,0x26,0x27, +0x26,0x23,0x22,0x07,0x06,0x13,0x29,0x01,0x35,0x21,0x11,0x33,0x11,0x12,0x25,0x36, +0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x06,0x02,0x39,0xbb,0xed,0x81,0xbb,0x01,0x02, +0x89,0x25,0x30,0x50,0x7a,0xb1,0x75,0xfd,0xc1,0xfe,0xf5,0x01,0x0b,0xb8,0xd9,0x01, +0x14,0x5c,0x44,0x75,0x69,0xba,0xb8,0xca,0xb8,0x3f,0x5d,0x44,0x87,0x13,0x05,0x51, +0x78,0xfe,0x92,0xb8,0x05,0x5c,0xfb,0x0e,0x01,0x3f,0x63,0x21,0x27,0x45,0xeb,0xa9, +0x6d,0x78,0x00,0x02,0xff,0xec,0x00,0x00,0x06,0xa4,0x06,0x14,0x00,0x1c,0x00,0x29, +0x00,0x00,0x29,0x02,0x35,0x21,0x11,0x33,0x11,0x12,0x25,0x36,0x33,0x32,0x17,0x16, +0x15,0x14,0x07,0x16,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x2f,0x01,0x06,0x25,0x33, +0x32,0x37,0x36,0x27,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x03,0x38,0xfd,0xbf,0xfe, +0xf5,0x01,0x0b,0xb8,0xd9,0x01,0x14,0x5c,0x44,0x75,0x69,0xbc,0x2a,0x0e,0x10,0x3d, +0x52,0x4b,0x82,0x83,0x67,0x1c,0xcc,0xfd,0xe9,0xbb,0xed,0x81,0xbb,0x01,0x02,0x89, +0x25,0x30,0x50,0x7a,0xb1,0xb8,0x05,0x5c,0xfb,0x0e,0x01,0x3f,0x63,0x21,0x27,0x45, +0xeb,0x4d,0x46,0x0c,0x0b,0x2c,0xb8,0x5c,0x1a,0x76,0xb8,0x3f,0x5d,0x44,0x87,0x13, +0x05,0x51,0x78,0x00,0xff,0xff,0x00,0x90,0x00,0x00,0x06,0xdc,0x06,0x14,0x10,0x27, +0x0b,0xf4,0x03,0xcf,0x03,0x52,0x10,0x06,0x04,0xf0,0x00,0x00,0xff,0xff,0x00,0x90, +0x00,0x00,0x07,0xac,0x06,0x14,0x10,0x26,0x0b,0xab,0x00,0x00,0x10,0x07,0x0b,0xf4, +0x03,0xcf,0x03,0x52,0xff,0xff,0xff,0xec,0x00,0x00,0x05,0xd4,0x06,0x14,0x10,0x26, +0x0b,0xac,0x00,0x00,0x10,0x07,0x0b,0xf4,0x02,0xc7,0x03,0x52,0xff,0xff,0xff,0xec, +0x00,0x00,0x06,0xa4,0x06,0x14,0x10,0x26,0x0b,0xad,0x00,0x00,0x10,0x07,0x0b,0xf4, +0x02,0xc7,0x03,0x52,0xff,0xff,0x00,0x74,0xfe,0x0b,0x04,0xb2,0x04,0x2b,0x10,0x06, +0x04,0xf2,0x00,0x00,0x00,0x02,0x00,0x75,0xfe,0x0b,0x04,0xb2,0x03,0x0e,0x00,0x2c, +0x00,0x37,0x00,0x00,0x33,0x34,0x37,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36, +0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x16,0x17,0x16,0x3b,0x01,0x15, +0x23,0x20,0x27,0x06,0x15,0x14,0x17,0x16,0x21,0x32,0x37,0x15,0x06,0x07,0x04,0x27, +0x26,0x00,0x22,0x07,0x06,0x15,0x14,0x17,0x36,0x37,0x36,0x27,0x75,0xbb,0x3d,0x26, +0x1e,0x0d,0x10,0x68,0x59,0xee,0x59,0x65,0x13,0x0d,0x45,0x76,0x37,0x44,0x57,0x5f, +0x55,0xa0,0x90,0xfe,0xf6,0xf8,0x9a,0x29,0x6b,0x01,0x5f,0xc1,0xd4,0x96,0xfa,0xfe, +0x54,0x9f,0x62,0x01,0xa9,0x34,0x1e,0x2f,0x46,0x86,0x02,0x01,0x30,0xd4,0x8c,0x32, +0x48,0x39,0x1b,0x1f,0x29,0x37,0x34,0x2d,0x2d,0x33,0x38,0x26,0x22,0x3e,0x38,0x60, +0x13,0x40,0x25,0x28,0xb8,0xe4,0x81,0x6a,0x6d,0x3d,0x9e,0x76,0xb8,0x62,0x01,0x02, +0xbe,0x7a,0x03,0x13,0x07,0x0c,0x20,0x24,0x41,0x37,0x2e,0x20,0x0c,0x00,0x00,0x01, +0xff,0xec,0x00,0x00,0x03,0xf8,0x04,0x2b,0x00,0x1d,0x00,0x00,0x25,0x36,0x37,0x26, +0x27,0x26,0x37,0x36,0x37,0x36,0x17,0x15,0x26,0x06,0x15,0x14,0x17,0x16,0x37,0x36, +0x37,0x25,0x15,0x05,0x04,0x2b,0x01,0x35,0x33,0x32,0x01,0x07,0x61,0x3f,0x4b,0x34, +0x59,0x01,0x02,0xca,0x7c,0xfc,0xda,0xba,0x3e,0x5f,0x4f,0x3a,0x32,0x01,0x20,0xfe, +0x5c,0xfe,0xa2,0xb2,0x58,0x50,0x64,0xd9,0x1f,0x1d,0x18,0x3b,0x64,0x8c,0xfa,0x8b, +0x55,0x08,0xa9,0x07,0x90,0x8a,0x75,0x34,0x50,0x0c,0x09,0x16,0x81,0xb8,0xc5,0xa4, +0xb8,0x00,0x00,0x02,0xff,0xec,0x00,0x00,0x03,0xf0,0x03,0x0e,0x00,0x24,0x00,0x2f, +0x00,0x00,0x25,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x37,0x26,0x27,0x26,0x35, +0x34,0x37,0x36,0x37,0x36,0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x16, +0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x02,0x22,0x07,0x06,0x15,0x14,0x17,0x36,0x35, +0x34,0x27,0x01,0xee,0xc2,0xca,0x76,0x60,0x6b,0x42,0x3b,0x28,0x61,0x44,0x1e,0x0d, +0x10,0x68,0x59,0xee,0x59,0x68,0x10,0x0d,0x1e,0x4d,0x58,0x1f,0x44,0x3d,0x70,0x60, +0x76,0xca,0xa8,0x34,0x1e,0x2f,0x67,0x67,0x2f,0xb9,0xb9,0xb8,0x28,0x24,0x27,0x55, +0x5a,0x27,0x2d,0x1f,0x29,0x37,0x34,0x2d,0x2d,0x34,0x37,0x29,0x1f,0x2d,0x27,0x62, +0x4d,0x1f,0x2c,0x28,0xb8,0x02,0x55,0x07,0x0c,0x20,0x1d,0x5f,0x5f,0x1d,0x20,0x0c, +0xff,0xff,0x00,0x74,0xfe,0x0b,0x04,0xb2,0x05,0x46,0x10,0x27,0x0b,0xf4,0x01,0x77, +0x04,0xb0,0x10,0x06,0x04,0xf2,0x00,0x00,0xff,0xff,0x00,0x75,0xfe,0x0b,0x04,0xb2, +0x04,0x4c,0x10,0x26,0x0b,0xb3,0x00,0x00,0x10,0x07,0x0b,0xf4,0x01,0xa9,0x03,0xb6, +0xff,0xff,0xff,0xec,0x00,0x00,0x03,0xf8,0x05,0x46,0x10,0x26,0x0b,0xb4,0x00,0x00, +0x10,0x07,0x0b,0xf4,0x01,0x77,0x04,0xb0,0xff,0xff,0xff,0xec,0x00,0x00,0x03,0xf0, +0x04,0x4c,0x10,0x26,0x0b,0xb5,0x00,0x00,0x10,0x07,0x0b,0xf4,0x01,0xa3,0x03,0xb6, +0xff,0xff,0x00,0x81,0xff,0xa4,0x07,0x9f,0x05,0x14,0x10,0x27,0x0b,0xf4,0x05,0xf5, +0x04,0x7e,0x10,0x06,0x05,0x2c,0x00,0x00,0xff,0xff,0x00,0x81,0xff,0xa5,0x08,0x5c, +0x04,0x4c,0x10,0x26,0x0b,0xfd,0x00,0x00,0x10,0x07,0x0b,0xf4,0x05,0xf5,0x03,0xb6, +0xff,0xff,0xff,0xec,0x00,0x00,0x03,0x3f,0x05,0x14,0x10,0x26,0x0b,0xfe,0x00,0x00, +0x10,0x07,0x0b,0xf4,0x01,0xa9,0x04,0x7e,0xff,0xff,0xff,0xec,0x00,0x00,0x04,0x20, +0x04,0x7e,0x10,0x26,0x0b,0xff,0x00,0x00,0x10,0x07,0x0b,0xf4,0x01,0xbb,0x03,0xe8, +0xff,0xff,0x00,0x6b,0xfe,0x47,0x05,0x9b,0x05,0x14,0x10,0x27,0x0b,0xf5,0x03,0x52, +0x04,0x7e,0x10,0x06,0x05,0x19,0x00,0x00,0xff,0xff,0x00,0x6b,0xfe,0x0b,0x06,0xc0, +0x04,0x01,0x10,0x26,0x0c,0x00,0x00,0x00,0x10,0x07,0x0b,0xf5,0x03,0x84,0x03,0x6b, +0xff,0xff,0xff,0xec,0x00,0x00,0x03,0x3f,0x05,0x14,0x10,0x26,0x0c,0x01,0x00,0x00, +0x10,0x07,0x0b,0xf5,0x01,0x2c,0x04,0x7e,0xff,0xff,0xff,0xec,0x00,0x00,0x04,0x20, +0x04,0x7e,0x10,0x26,0x0c,0x02,0x00,0x00,0x10,0x07,0x0b,0xf5,0x01,0x38,0x03,0xe8, +0xff,0xff,0x00,0x90,0xff,0xc8,0x05,0xc7,0x06,0x14,0x10,0x06,0x04,0xf7,0x00,0x00, +0x00,0x02,0x00,0x90,0xff,0xc8,0x06,0xd2,0x06,0x14,0x00,0x21,0x00,0x44,0x00,0x00, +0x01,0x15,0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x23, +0x22,0x27,0x35,0x16,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x37,0x36, +0x37,0x36,0x13,0x06,0x27,0x26,0x27,0x24,0x35,0x34,0x37,0x33,0x06,0x15,0x16,0x17, +0x16,0x33,0x32,0x37,0x36,0x37,0x36,0x19,0x01,0x33,0x11,0x14,0x17,0x16,0x3b,0x01, +0x15,0x23,0x22,0x27,0x06,0x03,0xd0,0x4a,0x26,0x50,0x0e,0x0c,0x44,0x66,0x58,0x52, +0x4e,0x42,0x38,0x44,0x2d,0x3c,0x39,0x3c,0x4e,0x4a,0x12,0x20,0x01,0x02,0x4b,0x55, +0x8a,0x6d,0x91,0xcf,0x65,0xfe,0xdb,0x10,0xb8,0x0e,0x02,0xa0,0x79,0x7f,0x8c,0x59, +0x98,0x62,0x4c,0xb8,0x31,0x2c,0x63,0x4b,0x82,0x99,0x71,0x9e,0x04,0x6f,0x52,0x04, +0x0e,0x1e,0x21,0x1c,0x12,0x10,0x0a,0x0f,0x58,0x6e,0x2a,0x27,0x0b,0x58,0x0a,0x1a, +0x1a,0x1e,0x26,0x11,0x10,0x1c,0x2f,0x2e,0x51,0x26,0x2b,0xfb,0x70,0x14,0x02,0x02, +0x1e,0x58,0xc3,0x4b,0x35,0x3a,0x2c,0x5c,0x2e,0x23,0x1b,0x2f,0x5e,0x49,0x01,0x01, +0x03,0xb1,0xfb,0x6b,0x6a,0x31,0x2c,0xb8,0x7b,0x7e,0x00,0x01,0xff,0xec,0x00,0x00, +0x03,0xcf,0x06,0x14,0x00,0x1f,0x00,0x00,0x29,0x01,0x35,0x21,0x32,0x37,0x36,0x35, +0x34,0x27,0x01,0x26,0x35,0x34,0x37,0x36,0x37,0x01,0x15,0x05,0x06,0x07,0x06,0x15, +0x14,0x17,0x01,0x16,0x15,0x14,0x07,0x06,0x01,0x36,0xfe,0xb6,0x01,0x36,0x94,0x2d, +0x10,0x36,0xfe,0xca,0x32,0x0a,0x1f,0x68,0x02,0xe9,0xfd,0xad,0x47,0x15,0x06,0x1f, +0x01,0x13,0x66,0x3e,0x5f,0xb8,0x68,0x24,0x24,0x45,0x42,0x01,0x7c,0x3d,0x51,0x23, +0x21,0x76,0x2b,0x01,0x36,0xba,0xfa,0x1e,0x28,0x0b,0x19,0x20,0x25,0xfe,0xb6,0x7b, +0x7b,0x71,0x65,0x9b,0x00,0x01,0xff,0xec,0x00,0x00,0x04,0x7f,0x06,0x14,0x00,0x29, +0x00,0x00,0x29,0x01,0x35,0x21,0x32,0x37,0x36,0x35,0x34,0x27,0x01,0x26,0x35,0x34, +0x37,0x36,0x37,0x01,0x15,0x05,0x06,0x07,0x06,0x15,0x14,0x17,0x01,0x16,0x17,0x16, +0x3b,0x01,0x15,0x23,0x22,0x27,0x26,0x2f,0x01,0x06,0x07,0x06,0x01,0x36,0xfe,0xb6, +0x01,0x36,0x94,0x2d,0x10,0x36,0xfe,0xca,0x32,0x0a,0x1f,0x68,0x02,0xe9,0xfd,0xad, +0x47,0x15,0x06,0x1f,0x02,0x47,0x16,0x26,0x2b,0x40,0x58,0x84,0x41,0x3a,0x67,0x21, +0x61,0x15,0x11,0x5f,0xb8,0x68,0x24,0x24,0x45,0x42,0x01,0x7c,0x3d,0x51,0x23,0x21, +0x76,0x2b,0x01,0x36,0xba,0xfa,0x1e,0x28,0x0b,0x19,0x20,0x25,0xfd,0x3f,0x1a,0x0e, +0x10,0xb8,0x18,0x2b,0x29,0x78,0x2e,0x1b,0x9b,0x00,0xff,0xff,0x00,0x8f,0xfe,0xc8, +0x05,0x18,0x06,0x14,0x10,0x06,0x04,0xf8,0x00,0x00,0x00,0x01,0x00,0x8f,0xfe,0xc8, +0x06,0x23,0x06,0x14,0x00,0x24,0x00,0x00,0x25,0x36,0x35,0x11,0x33,0x11,0x14,0x17, +0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x06,0x07,0x06,0x05,0x06,0x23,0x22,0x27,0x24, +0x03,0x26,0x37,0x33,0x06,0x15,0x14,0x17,0x16,0x33,0x32,0x37,0x36,0x04,0x12,0x4e, +0xb8,0x31,0x2c,0x63,0x4b,0x82,0x70,0x4e,0x12,0x1b,0x79,0xfe,0xfb,0x86,0x55,0x63, +0x45,0xfe,0xdc,0x01,0x01,0x40,0xb8,0x41,0xa6,0x28,0x49,0x50,0x6d,0xae,0x49,0x7e, +0xe3,0x04,0x6a,0xfb,0x6b,0x6a,0x31,0x2c,0xb8,0x33,0x2e,0x28,0xb1,0x42,0x22,0x16, +0x5b,0x01,0x12,0x8a,0x5c,0x73,0x73,0x7e,0x42,0x10,0x22,0x35,0x00,0x01,0xff,0xec, +0x00,0x00,0x01,0xaf,0x06,0x14,0x00,0x0d,0x00,0x00,0x01,0x14,0x07,0x06,0x2b,0x01, +0x35,0x33,0x32,0x37,0x36,0x35,0x11,0x33,0x01,0xaf,0x57,0x50,0x9a,0x82,0x4b,0x63, +0x2c,0x31,0xb8,0x01,0x73,0xb2,0x65,0x5c,0xb8,0x2c,0x31,0x6a,0x04,0x95,0x00,0x01, +0xff,0xec,0x00,0x00,0x02,0xba,0x06,0x14,0x00,0x14,0x00,0x00,0x25,0x06,0x2b,0x01, +0x35,0x33,0x32,0x37,0x36,0x35,0x11,0x33,0x11,0x14,0x17,0x16,0x3b,0x01,0x15,0x23, +0x22,0x01,0x53,0x4d,0x98,0x82,0x4b,0x63,0x2c,0x31,0xb8,0x31,0x2c,0x63,0x4b,0x82, +0x96,0x56,0x56,0xb8,0x2c,0x31,0x6a,0x04,0x95,0xfb,0x6b,0x6a,0x31,0x2c,0xb8,0x00, +0xff,0xff,0x00,0x8c,0xfe,0x14,0x04,0x5e,0x02,0xf3,0x10,0x06,0x04,0xf9,0x00,0x00, +0x00,0x02,0x00,0x8c,0xfe,0x14,0x05,0x67,0x02,0x74,0x00,0x11,0x00,0x35,0x00,0x00, +0x25,0x16,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x23,0x22,0x07,0x06, +0x15,0x14,0x05,0x06,0x07,0x06,0x23,0x22,0x27,0x26,0x07,0x06,0x15,0x11,0x23,0x11, +0x34,0x37,0x36,0x33,0x26,0x35,0x34,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x17, +0x16,0x3b,0x01,0x15,0x23,0x22,0x02,0x62,0x7a,0x4c,0x2c,0x15,0x35,0x06,0x15,0x3b, +0x28,0x2e,0x3b,0x1b,0x44,0x01,0xc0,0x0f,0x0d,0x85,0x4b,0xb5,0x8d,0x32,0x4b,0x19, +0xc8,0x78,0x41,0x5a,0x02,0xa2,0x4d,0x5c,0x48,0x54,0xaa,0x28,0x0f,0x28,0x26,0x69, +0x4b,0x82,0xaf,0xa8,0x2a,0x16,0x39,0x3a,0x18,0x14,0x58,0x11,0x0c,0x1b,0x44,0x44, +0x28,0xa9,0x0e,0x08,0x50,0x4e,0x1c,0x4e,0x1a,0x4f,0xfe,0x93,0x01,0x6d,0xad,0x66, +0x37,0x2a,0x28,0x94,0x84,0x3f,0x24,0x47,0xb3,0x43,0x2c,0x2c,0xb8,0x00,0x00,0x02, +0xff,0xec,0xff,0xcd,0x03,0xa6,0x02,0x6d,0x00,0x18,0x00,0x2a,0x00,0x00,0x25,0x06, +0x07,0x06,0x27,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x37,0x36,0x37,0x36,0x33, +0x32,0x17,0x16,0x17,0x16,0x15,0x14,0x25,0x16,0x33,0x32,0x37,0x36,0x35,0x34,0x27, +0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x07,0x06,0x03,0x64,0x60,0x8c,0xd4,0x70,0x40, +0x68,0xa0,0x74,0x34,0x2c,0x2b,0x05,0x14,0x87,0x5e,0x5d,0x45,0x45,0xbd,0x15,0x04, +0xfd,0xf0,0x3e,0x9f,0x2f,0x13,0x34,0x05,0x16,0x3a,0x27,0x27,0x35,0x29,0x32,0x0f, +0x07,0x34,0x65,0x01,0x02,0x64,0x30,0xb8,0x24,0x23,0x31,0xb5,0x50,0x38,0x1d,0x4f, +0xab,0x24,0x2a,0x8e,0x4d,0x45,0x12,0x35,0x45,0x13,0x12,0x58,0x11,0x0c,0x1b,0x21, +0x61,0x25,0x00,0x02,0xff,0xec,0xff,0xce,0x04,0xb4,0x02,0x6d,0x00,0x1d,0x00,0x2f, +0x00,0x00,0x25,0x06,0x23,0x22,0x27,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x36,0x37, +0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x3b,0x01,0x15,0x23,0x22, +0x25,0x16,0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x23,0x22,0x07,0x06, +0x07,0x06,0x03,0x64,0x61,0x8b,0xd6,0x6e,0x40,0x68,0xa0,0x74,0x34,0x2c,0x2b,0x05, +0x14,0x87,0x5e,0x5d,0x48,0x42,0xc1,0x11,0x05,0x33,0x24,0x6b,0x4b,0x82,0xb0,0xfe, +0x14,0x3e,0x9f,0x2f,0x13,0x34,0x05,0x16,0x3a,0x27,0x27,0x35,0x29,0x32,0x0f,0x07, +0x34,0x66,0x62,0x30,0xb8,0x24,0x23,0x31,0xb5,0x50,0x38,0x1d,0x53,0xa7,0x31,0x3e, +0x2c,0xb8,0xc4,0x45,0x12,0x35,0x45,0x13,0x12,0x58,0x11,0x0c,0x1b,0x21,0x61,0x25, +0xff,0xff,0x00,0x93,0xfe,0xb5,0x05,0x49,0x03,0xb6,0x10,0x27,0x0b,0xf4,0x02,0x3f, +0x03,0x20,0x10,0x06,0x05,0x31,0x00,0x00,0xff,0xff,0x00,0x93,0xfe,0x0c,0x06,0x2b, +0x02,0xbc,0x10,0x26,0x0b,0x53,0x00,0x00,0x10,0x07,0x0b,0xf4,0x02,0x3f,0x02,0x26, +0xff,0xff,0xff,0xec,0x00,0x00,0x01,0x87,0x03,0xe8,0x10,0x27,0x0b,0xf4,0x00,0xe0, +0x03,0x52,0x10,0x06,0x0b,0xfb,0x00,0x00,0xff,0xff,0xff,0xec,0x00,0x00,0x02,0x7e, +0x03,0xe8,0x10,0x27,0x0b,0xf4,0x00,0xe0,0x03,0x52,0x10,0x06,0x0b,0xfc,0x00,0x00, +0xff,0xff,0x00,0x8b,0xff,0xc6,0x03,0xa0,0x02,0xde,0x10,0x06,0x04,0xfb,0x00,0x00, +0x00,0x02,0x00,0x91,0x00,0x00,0x04,0x5e,0x02,0xee,0x00,0x0a,0x00,0x24,0x00,0x00, +0x01,0x26,0x27,0x26,0x27,0x06,0x07,0x06,0x17,0x1e,0x01,0x13,0x26,0x27,0x33,0x16, +0x17,0x16,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x26,0x27,0x06,0x23,0x22,0x27, +0x26,0x35,0x34,0x37,0x36,0x02,0xa4,0x0f,0x0d,0x0d,0x0c,0x78,0x52,0x6f,0x02,0x01, +0xb4,0x74,0x04,0x03,0xb8,0x01,0x24,0x15,0x38,0x1f,0x70,0x4b,0x82,0x5a,0x49,0x2d, +0x26,0x8a,0x9c,0x38,0x3a,0xbd,0xcc,0x6d,0x01,0x1a,0x2a,0x31,0x32,0x65,0x0c,0x43, +0x59,0x3e,0x29,0x32,0x01,0xd1,0x27,0x2b,0xa8,0xae,0x65,0x4f,0x2c,0xb8,0x33,0x1f, +0x3b,0x49,0x0f,0x30,0x9a,0xad,0x7f,0x44,0x00,0x03,0xff,0xec,0xff,0xbd,0x03,0xbd, +0x03,0xe5,0x00,0x0f,0x00,0x2d,0x00,0x3d,0x00,0x00,0x01,0x36,0x37,0x36,0x35,0x34, +0x27,0x26,0x23,0x22,0x07,0x06,0x15,0x14,0x17,0x16,0x07,0x32,0x37,0x26,0x27,0x26, +0x35,0x34,0x37,0x36,0x17,0x26,0x27,0x35,0x16,0x17,0x04,0x17,0x16,0x15,0x14,0x07, +0x06,0x23,0x22,0x27,0x06,0x2b,0x01,0x35,0x01,0x16,0x15,0x14,0x07,0x06,0x07,0x16, +0x33,0x32,0x37,0x36,0x35,0x34,0x27,0x26,0x01,0x94,0x24,0x22,0x27,0x0f,0x16,0x3a, +0x41,0x17,0x16,0x07,0x15,0xf9,0x34,0x4e,0x2d,0x0f,0x12,0x2d,0x30,0x4d,0x2c,0x51, +0xdf,0xd8,0x01,0x00,0x40,0x0e,0x28,0x4a,0xaf,0x83,0x9a,0x78,0x92,0x89,0x02,0xab, +0x06,0x62,0x0c,0x11,0x34,0x31,0x7d,0x11,0x07,0x21,0x1d,0x01,0x0d,0x1b,0x40,0x48, +0x3d,0x2e,0x25,0x34,0x2d,0x2b,0x23,0x1e,0x25,0x76,0x88,0x0b,0x69,0x45,0x4e,0x40, +0x54,0x53,0x5a,0x09,0x27,0x0e,0xb9,0x44,0xb3,0xd1,0xde,0x34,0x39,0x67,0x3d,0x71, +0x6c,0x29,0xb8,0x01,0x44,0x25,0x27,0x93,0x69,0x0e,0x13,0x2e,0x43,0x1e,0x21,0x3c, +0x4e,0x45,0x00,0x03,0xff,0xec,0xfe,0x0d,0x03,0xc4,0x02,0xab,0x00,0x0a,0x00,0x24, +0x00,0x2f,0x00,0x00,0x25,0x33,0x32,0x37,0x36,0x35,0x34,0x23,0x22,0x07,0x06,0x07, +0x12,0x37,0x36,0x33,0x32,0x17,0x16,0x15,0x14,0x07,0x21,0x15,0x21,0x16,0x15,0x14, +0x07,0x06,0x23,0x22,0x27,0x26,0x03,0x23,0x35,0x05,0x14,0x17,0x16,0x33,0x32,0x35, +0x34,0x27,0x26,0x23,0x01,0x53,0x13,0x2a,0x60,0x72,0x54,0x4b,0x4a,0x26,0xb8,0x09, +0x81,0x6c,0x81,0x8a,0x45,0x2e,0xa3,0x01,0x58,0xfe,0xa8,0xa3,0x2e,0x45,0x8a,0x81, +0x6c,0x81,0x09,0xaf,0x01,0x67,0x26,0x4a,0x4b,0x54,0x72,0x60,0x2a,0xb8,0x4c,0x5a, +0x34,0x70,0x8d,0x48,0x75,0x01,0x0a,0x7e,0x6b,0x63,0x43,0x72,0x6f,0x6c,0xb8,0x6c, +0x6f,0x72,0x43,0x63,0x6b,0x80,0x01,0x08,0xb8,0xb8,0x75,0x48,0x8d,0x70,0x34,0x5a, +0x4c,0x00,0xff,0xff,0xff,0xab,0xfe,0x32,0x03,0x43,0x03,0xd9,0x10,0x06,0x04,0xfc, +0x00,0x00,0x00,0x02,0xff,0xab,0xfe,0x0c,0x04,0x36,0x02,0x87,0x00,0x0b,0x00,0x2c, +0x00,0x00,0x25,0x34,0x27,0x26,0x27,0x26,0x07,0x06,0x07,0x06,0x17,0x16,0x05,0x33, +0x15,0x23,0x27,0x06,0x07,0x06,0x07,0x06,0x21,0x35,0x20,0x37,0x36,0x37,0x26,0x27, +0x26,0x27,0x26,0x27,0x26,0x37,0x36,0x37,0x36,0x17,0x16,0x17,0x16,0x17,0x16,0x02, +0x8d,0x10,0x18,0x2e,0x3c,0x3c,0x43,0x0d,0x11,0x40,0x2f,0x01,0x73,0xf6,0xc2,0x46, +0x19,0x81,0x53,0x69,0xc0,0xfe,0x93,0x01,0x69,0x84,0xa8,0x3e,0x76,0x2d,0x8b,0x33, +0x6a,0x0a,0x02,0x0a,0x1b,0xb0,0x3b,0x41,0x57,0x45,0x85,0x16,0x0d,0xb8,0x4c,0x39, +0x50,0x1e,0x29,0x1a,0x1d,0x38,0x4b,0x36,0x28,0x04,0xb8,0x01,0x9c,0x81,0x53,0x2f, +0x56,0xb8,0x4c,0x5f,0x94,0x03,0x07,0x18,0x2b,0x59,0x87,0x1f,0x39,0x9b,0x4b,0x19, +0x01,0x02,0x31,0x5c,0x8d,0x53,0xff,0xff,0x00,0x82,0xfe,0xf3,0x05,0xc0,0x03,0x4a, +0x10,0x06,0x04,0xfd,0x00,0x00,0x00,0x01,0x00,0x82,0xfe,0xf0,0x06,0xbf,0x02,0x02, +0x00,0x37,0x00,0x00,0x05,0x36,0x35,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36, +0x37,0x36,0x33,0x32,0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x26,0x23,0x22,0x07, +0x06,0x15,0x14,0x17,0x16,0x17,0x16,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x24,0x11, +0x34,0x37,0x33,0x06,0x15,0x14,0x17,0x16,0x33,0x32,0x37,0x36,0x04,0x4c,0x5b,0x01, +0x2f,0x1d,0x1e,0x2c,0x34,0x50,0x54,0x1e,0x2a,0x75,0x57,0x80,0x20,0x23,0x23,0x72, +0x70,0x6c,0x1a,0x24,0x0f,0x2d,0x41,0x49,0x03,0x03,0x71,0x80,0xda,0x59,0x68,0xbc, +0x75,0xfe,0xdb,0x3f,0xb8,0x41,0xa6,0x42,0xb3,0x5b,0x4d,0x95,0x21,0x33,0x21,0x2b, +0x0d,0x08,0x28,0x3b,0x3d,0x41,0x3c,0x5e,0x0e,0x06,0x86,0xc4,0xb8,0xac,0xa5,0x06, +0x11,0x23,0x30,0x1b,0x1e,0x7b,0x62,0x56,0x60,0x1f,0x0c,0x29,0x67,0x01,0x06,0x99, +0x5a,0x5a,0x99,0x72,0x4e,0x1f,0x08,0x0f,0xff,0xff,0x00,0x82,0xfe,0x0c,0x05,0xc0, +0x03,0x4a,0x10,0x27,0x0b,0xf5,0x01,0xf4,0xfe,0x0c,0x10,0x06,0x04,0xfd,0x00,0x00, +0xff,0xff,0x00,0x82,0xfe,0x0c,0x06,0xbf,0x02,0x02,0x10,0x27,0x0b,0xf5,0x01,0xf4, +0xfe,0x0c,0x10,0x06,0x0b,0xd9,0x00,0x00,0xff,0xff,0xff,0xec,0xfe,0xd4,0x01,0xf3, +0x02,0x58,0x10,0x26,0x0b,0x54,0x00,0x00,0x10,0x07,0x0b,0xf5,0x00,0x63,0xfe,0xd4, +0xff,0xff,0xff,0xec,0xfe,0xd4,0x02,0x7e,0x02,0x58,0x10,0x26,0x0b,0x55,0x00,0x00, +0x10,0x07,0x0b,0xf5,0x00,0x63,0xfe,0xd4,0xff,0xff,0xff,0x2e,0xff,0xec,0x03,0xbf, +0x06,0xed,0x10,0x26,0x0b,0xe4,0x00,0x00,0x10,0x07,0x05,0x07,0xfe,0x96,0x01,0x2c, +0xff,0xff,0xff,0x2e,0xff,0xec,0x04,0xda,0x06,0xed,0x10,0x26,0x0b,0xe5,0x00,0x00, +0x10,0x07,0x05,0x07,0xfe,0x96,0x01,0x2c,0xff,0xff,0xff,0xe5,0xff,0xec,0x03,0xbf, +0x07,0xa3,0x10,0x26,0x0b,0xe4,0x00,0x00,0x10,0x07,0x05,0x08,0xfe,0x96,0x01,0x2c, +0xff,0xff,0xff,0xe5,0xff,0xec,0x04,0xda,0x07,0xa3,0x10,0x26,0x0b,0xe5,0x00,0x00, +0x10,0x07,0x05,0x08,0xfe,0x96,0x01,0x2c,0xff,0xff,0x00,0x17,0xfe,0x0b,0x03,0xbf, +0x06,0x14,0x10,0x26,0x0b,0xe4,0x00,0x00,0x10,0x07,0x05,0x09,0xfe,0xc8,0x00,0x00, +0xff,0xff,0x00,0x17,0xfe,0x0b,0x04,0xda,0x06,0x14,0x10,0x26,0x0b,0xe5,0x00,0x00, +0x10,0x07,0x05,0x09,0xfe,0xc8,0x00,0x00,0x00,0x01,0x00,0x54,0xff,0xec,0x03,0xbf, +0x06,0x14,0x00,0x16,0x00,0x00,0x01,0x10,0x07,0x06,0x07,0x06,0x23,0x22,0x27,0x35, +0x16,0x33,0x32,0x37,0x01,0x33,0x01,0x36,0x37,0x36,0x35,0x11,0x33,0x03,0xbf,0x8b, +0x37,0x4d,0xcd,0x9e,0x6a,0x4b,0x60,0x55,0x71,0x88,0xfe,0x16,0xb3,0x01,0xaa,0x1d, +0x14,0x25,0xb8,0x03,0x42,0xfe,0xd4,0xda,0x55,0x47,0xb4,0x20,0xb8,0x20,0x98,0x04, +0x46,0xfc,0x41,0x2b,0x37,0x89,0xb8,0x02,0xae,0x00,0x00,0x01,0x00,0x54,0xff,0xec, +0x04,0xda,0x06,0x14,0x00,0x1f,0x00,0x00,0x01,0x06,0x07,0x06,0x23,0x22,0x27,0x35, +0x16,0x33,0x32,0x37,0x01,0x33,0x01,0x36,0x37,0x36,0x35,0x11,0x33,0x11,0x14,0x17, +0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x26,0x03,0x34,0x3b,0x49,0xca,0xa1,0x6a,0x4b, +0x60,0x55,0x71,0x88,0xfe,0x16,0xb3,0x01,0xaa,0x1d,0x14,0x25,0xb8,0x22,0x40,0x50, +0x69,0x81,0xaf,0x66,0x11,0x01,0x3c,0x5b,0x41,0xb4,0x20,0xb8,0x20,0x98,0x04,0x46, +0xfc,0x41,0x2b,0x37,0x89,0xb8,0x02,0xae,0xfc,0x44,0xae,0x54,0x9e,0xb8,0xf3,0x29, +0x00,0x03,0x00,0x1e,0xff,0x54,0x08,0x16,0x07,0x4c,0x00,0x03,0x00,0x07,0x00,0x2a, +0x00,0x00,0x09,0x04,0x15,0x33,0x35,0x27,0x35,0x34,0x36,0x37,0x36,0x37,0x36,0x3f, +0x01,0x36,0x37,0x36,0x35,0x34,0x26,0x23,0x22,0x06,0x07,0x15,0x3e,0x01,0x33,0x32, +0x16,0x15,0x14,0x06,0x0f,0x01,0x0e,0x01,0x1d,0x01,0x04,0x1a,0x03,0xfc,0xfc,0x04, +0xfc,0x04,0x03,0x96,0xcb,0x06,0x06,0x06,0x08,0x13,0x17,0x2c,0x58,0x5c,0x22,0x24, +0xdf,0xb8,0x67,0xc1,0x5e,0x61,0xb3,0x4f,0x6c,0x83,0x33,0x39,0x5a,0x5a,0x38,0x07, +0x4c,0xfc,0x04,0xfc,0x04,0x03,0xfc,0xfd,0xae,0xfe,0xfe,0x93,0x7b,0x34,0x3c,0x15, +0x19,0x1a,0x1f,0x2b,0x56,0x5a,0x40,0x45,0x4c,0x9f,0xc2,0x38,0x39,0xbc,0x43,0x46, +0x6e,0x59,0x31,0x5e,0x35,0x59,0x56,0x82,0x65,0x9a,0x00,0x01,0xff,0xb9,0x04,0x9a, +0x00,0xc7,0x06,0x12,0x00,0x03,0x00,0x0a,0x40,0x03,0x00,0x03,0x04,0x00,0x10,0xd4, +0xcc,0x30,0x11,0x33,0x03,0x23,0xc7,0x75,0x99,0x06,0x12,0xfe,0x88,0x00,0x00,0x02, +0xfc,0xd7,0x05,0x0e,0xff,0x29,0x05,0xd9,0x00,0x03,0x00,0x07,0x00,0xa5,0x40,0x0d, +0x04,0x00,0xce,0x06,0x02,0x08,0x01,0x64,0x00,0x05,0x64,0x04,0x08,0x10,0xd4,0xfc, +0xdc,0xec,0x31,0x00,0x10,0xd4,0x3c,0xec,0x32,0x30,0x00,0x4b,0xb0,0x0e,0x54,0x4b, +0xb0,0x11,0x54,0x5b,0x58,0xbd,0x00,0x08,0x00,0x40,0x00,0x01,0x00,0x08,0x00,0x08, +0xff,0xc0,0x38,0x11,0x37,0x38,0x59,0x01,0x4b,0xb0,0x0e,0x54,0x4b,0xb0,0x0d,0x54, +0x5b,0x4b,0xb0,0x17,0x54,0x5b,0x58,0xbd,0x00,0x08,0xff,0xc0,0x00,0x01,0x00,0x08, +0x00,0x08,0x00,0x40,0x38,0x11,0x37,0x38,0x59,0x01,0x4b,0xb0,0x11,0x54,0x4b,0xb0, +0x19,0x54,0x5b,0x58,0xbd,0x00,0x08,0x00,0x40,0x00,0x01,0x00,0x08,0x00,0x08,0xff, +0xc0,0x38,0x11,0x37,0x38,0x59,0x00,0x4b,0xb0,0x18,0x54,0x58,0xbd,0x00,0x08,0xff, +0xc0,0x00,0x01,0x00,0x08,0x00,0x08,0x00,0x40,0x38,0x11,0x37,0x38,0x59,0x40,0x11, +0x60,0x01,0x60,0x02,0x60,0x05,0x60,0x06,0x70,0x01,0x70,0x02,0x70,0x05,0x70,0x06, +0x08,0x01,0x5d,0x01,0x33,0x15,0x23,0x25,0x33,0x15,0x23,0xfe,0x5e,0xcb,0xcb,0xfe, +0x79,0xcb,0xcb,0x05,0xd9,0xcb,0xcb,0xcb,0x00,0x01,0xfd,0x73,0x04,0xee,0xfe,0xf0, +0x05,0xf6,0x00,0x03,0x00,0x7f,0x40,0x11,0x02,0x03,0x00,0x03,0x01,0x00,0x00,0x03, +0x42,0x00,0x02,0xfa,0x04,0x01,0x03,0x03,0x04,0x10,0xc4,0x10,0xc0,0x31,0x00,0x10, +0xf4,0xcc,0x30,0x4b,0x53,0x58,0x07,0x10,0x05,0xc9,0x07,0x10,0x05,0xc9,0x59,0x22, +0x00,0x4b,0xb0,0x0c,0x54,0x58,0xbd,0x00,0x04,0xff,0xc0,0x00,0x01,0x00,0x04,0x00, +0x04,0x00,0x40,0x38,0x11,0x37,0x38,0x59,0x00,0x4b,0xb0,0x0e,0x54,0x58,0xbd,0x00, +0x04,0x00,0x40,0x00,0x01,0x00,0x04,0x00,0x04,0xff,0xc0,0x38,0x11,0x37,0x38,0x59, +0x40,0x20,0x06,0x02,0x15,0x02,0x25,0x01,0x25,0x02,0x36,0x02,0x46,0x02,0x56,0x02, +0x6a,0x01,0x67,0x02,0x09,0x0f,0x00,0x0f,0x01,0x1f,0x00,0x1f,0x01,0x2f,0x00,0x2f, +0x01,0x06,0x5d,0x01,0x5d,0x01,0x33,0x03,0x23,0xfe,0x37,0xb9,0xe4,0x99,0x05,0xf6, +0xfe,0xf8,0x00,0x01,0xfc,0xb6,0x05,0x0e,0xff,0x4a,0x05,0xe9,0x00,0x1d,0x00,0x75, +0x40,0x21,0x16,0x10,0x0f,0x03,0x13,0x0c,0x07,0x01,0x00,0x03,0x08,0x17,0x0c,0xc3, +0x04,0x13,0xc3,0x1b,0x08,0xfa,0x1e,0x10,0x01,0x0f,0x00,0x07,0x16,0x56,0x18,0x07, +0x56,0x09,0x1e,0x10,0xd4,0xec,0xd4,0xec,0x11,0x39,0x39,0x39,0x39,0x31,0x00,0x10, +0xf4,0x3c,0xec,0xd4,0xec,0x32,0x12,0x17,0x39,0x11,0x12,0x17,0x39,0x30,0x00,0x4b, +0xb0,0x0c,0x54,0x58,0xbd,0x00,0x1e,0xff,0xc0,0x00,0x01,0x00,0x1e,0x00,0x1e,0x00, +0x40,0x38,0x11,0x37,0x38,0x59,0x00,0x4b,0xb0,0x0e,0x54,0x58,0xbd,0x00,0x1e,0x00, +0x40,0x00,0x01,0x00,0x1e,0x00,0x1e,0xff,0xc0,0x38,0x11,0x37,0x38,0x59,0xb4,0x10, +0x0b,0x1f,0x1a,0x02,0x5d,0x01,0x27,0x2e,0x01,0x23,0x22,0x06,0x1d,0x01,0x23,0x34, +0x36,0x33,0x32,0x16,0x1f,0x01,0x1e,0x01,0x33,0x32,0x36,0x3d,0x01,0x33,0x0e,0x01, +0x23,0x22,0x26,0xfd,0xfc,0x39,0x19,0x1f,0x0c,0x24,0x28,0x7d,0x67,0x56,0x24,0x3d, +0x30,0x39,0x17,0x22,0x0f,0x20,0x28,0x7d,0x02,0x67,0x54,0x22,0x3b,0x05,0x39,0x21, +0x0e,0x0b,0x32,0x2d,0x06,0x65,0x76,0x10,0x1b,0x1e,0x0d,0x0c,0x33,0x29,0x06,0x64, +0x77,0x10,0x00,0x01,0xfd,0x0c,0x04,0xee,0xfe,0x8b,0x05,0xf6,0x00,0x03,0x00,0x89, +0x40,0x11,0x01,0x02,0x03,0x02,0x00,0x03,0x03,0x02,0x42,0x00,0x01,0xfa,0x04,0x01, +0x03,0x03,0x04,0x10,0xc4,0x10,0xc0,0x31,0x00,0x10,0xf4,0xcc,0x30,0x4b,0x53,0x58, +0x07,0x10,0x05,0xc9,0x07,0x10,0x05,0xc9,0x59,0x22,0x00,0x4b,0xb0,0x0c,0x54,0x58, +0xbd,0x00,0x04,0xff,0xc0,0x00,0x01,0x00,0x04,0x00,0x04,0x00,0x40,0x38,0x11,0x37, +0x38,0x59,0x00,0x4b,0xb0,0x0e,0x54,0x58,0xbd,0x00,0x04,0x00,0x40,0x00,0x01,0x00, +0x04,0x00,0x04,0xff,0xc0,0x38,0x11,0x37,0x38,0x59,0x40,0x2a,0x06,0x00,0x06,0x01, +0x16,0x00,0x12,0x01,0x24,0x00,0x24,0x01,0x35,0x01,0x43,0x01,0x55,0x00,0x55,0x01, +0x9f,0x00,0x9f,0x01,0xaf,0x00,0xaf,0x01,0x0e,0x0f,0x00,0x0f,0x03,0x1f,0x00,0x1f, +0x03,0x2f,0x00,0x2f,0x03,0x06,0x5d,0x01,0x5d,0x01,0x13,0x23,0x03,0xfd,0xc7,0xc4, +0x99,0xe6,0x05,0xf6,0xfe,0xf8,0x01,0x08,0x00,0x01,0xfc,0xcf,0x04,0xee,0xff,0x31, +0x05,0xf8,0x00,0x06,0x00,0x77,0x40,0x0a,0x04,0x00,0x05,0x02,0xfa,0x07,0x04,0x02, +0x06,0x07,0x10,0xd4,0xc4,0x39,0x31,0x00,0x10,0xf4,0x3c,0xc4,0x39,0x30,0x00,0x4b, +0xb0,0x0c,0x54,0x58,0xbd,0x00,0x07,0xff,0xc0,0x00,0x01,0x00,0x07,0x00,0x07,0x00, +0x40,0x38,0x11,0x37,0x38,0x59,0x00,0x4b,0xb0,0x0e,0x54,0x58,0xbd,0x00,0x07,0x00, +0x40,0x00,0x01,0x00,0x07,0x00,0x07,0xff,0xc0,0x38,0x11,0x37,0x38,0x59,0x01,0x4b, +0xb0,0x0e,0x54,0x58,0xbd,0x00,0x07,0xff,0xc0,0x00,0x01,0x00,0x07,0x00,0x07,0x00, +0x40,0x38,0x11,0x37,0x38,0x59,0x40,0x13,0x0f,0x00,0x0f,0x01,0x0c,0x04,0x1f,0x00, +0x1f,0x01,0x1d,0x04,0x2f,0x00,0x2f,0x01,0x2d,0x04,0x09,0x00,0x5d,0x01,0x33,0x13, +0x23,0x27,0x07,0x23,0xfd,0xa2,0xbc,0xd3,0x8b,0xa6,0xa6,0x8b,0x05,0xf8,0xfe,0xf6, +0xb2,0xb2,0x00,0x01,0xfc,0xcf,0x04,0xee,0xff,0x31,0x05,0xf8,0x00,0x06,0x00,0x86, +0x40,0x0a,0x03,0x04,0x01,0x00,0xfa,0x07,0x03,0x05,0x01,0x07,0x10,0xd4,0xc4,0x39, +0x31,0x00,0x10,0xf4,0xc4,0x32,0x39,0x30,0x00,0x4b,0xb0,0x0c,0x54,0x4b,0xb0,0x09, +0x54,0x5b,0x4b,0xb0,0x0a,0x54,0x5b,0x4b,0xb0,0x0b,0x54,0x5b,0x58,0xbd,0x00,0x07, +0xff,0xc0,0x00,0x01,0x00,0x07,0x00,0x07,0x00,0x40,0x38,0x11,0x37,0x38,0x59,0x00, +0x4b,0xb0,0x0e,0x54,0x58,0xbd,0x00,0x07,0x00,0x40,0x00,0x01,0x00,0x07,0x00,0x07, +0xff,0xc0,0x38,0x11,0x37,0x38,0x59,0x01,0x4b,0xb0,0x0e,0x54,0x58,0xbd,0x00,0x07, +0xff,0xc0,0x00,0x01,0x00,0x07,0x00,0x07,0x00,0x40,0x38,0x11,0x37,0x38,0x59,0x40, +0x13,0x00,0x00,0x03,0x03,0x00,0x06,0x10,0x00,0x12,0x03,0x10,0x06,0x20,0x00,0x22, +0x03,0x20,0x06,0x09,0x00,0x5d,0x01,0x03,0x33,0x17,0x37,0x33,0x03,0xfd,0xa2,0xd3, +0x8b,0xa6,0xa6,0x8b,0xd3,0x04,0xee,0x01,0x0a,0xb2,0xb2,0xfe,0xf6,0x00,0x00,0x01, +0xfc,0xc7,0x05,0x06,0xff,0x39,0x05,0xf8,0x00,0x0d,0x00,0x00,0x03,0x23,0x2e,0x01, +0x23,0x22,0x06,0x07,0x23,0x3e,0x01,0x33,0x32,0x16,0xc7,0x76,0x0d,0x63,0x53,0x52, +0x61,0x10,0x76,0x0a,0xa0,0x8f,0x90,0x9f,0x05,0x06,0x36,0x39,0x37,0x38,0x77,0x7b, +0x7a,0x00,0x00,0x01,0xfc,0xc7,0x05,0x06,0xff,0x39,0x05,0xf8,0x00,0x0d,0x00,0x6a, +0x40,0x0e,0x07,0x00,0x04,0xc3,0x0b,0xfa,0x0e,0x07,0x56,0x08,0x01,0x56,0x00,0x0e, +0x10,0xd4,0xec,0xd4,0xec,0x31,0x00,0x10,0xf4,0xfc,0xc4,0x32,0x30,0x00,0x4b,0xb0, +0x0c,0x54,0x58,0xbd,0x00,0x0e,0xff,0xc0,0x00,0x01,0x00,0x0e,0x00,0x0e,0x00,0x40, +0x38,0x11,0x37,0x38,0x59,0x00,0x4b,0xb0,0x0e,0x54,0x58,0xbd,0x00,0x0e,0x00,0x40, +0x00,0x01,0x00,0x0e,0x00,0x0e,0xff,0xc0,0x38,0x11,0x37,0x38,0x59,0x01,0x4b,0xb0, +0x0e,0x54,0x4b,0xb0,0x0f,0x54,0x5b,0x58,0xbd,0x00,0x0e,0xff,0xc0,0x00,0x01,0x00, +0x0e,0x00,0x0e,0x00,0x40,0x38,0x11,0x37,0x38,0x59,0x01,0x33,0x1e,0x01,0x33,0x32, +0x36,0x37,0x33,0x0e,0x01,0x23,0x22,0x26,0xfc,0xc7,0x76,0x0d,0x63,0x53,0x52,0x61, +0x10,0x76,0x0a,0xa0,0x8f,0x90,0x9f,0x05,0xf8,0x36,0x39,0x37,0x38,0x77,0x7b,0x7a, +0x00,0x01,0xfd,0x9a,0x05,0x0e,0xfe,0x66,0x05,0xdb,0x00,0x03,0x00,0x11,0xb6,0x00, +0x02,0xfa,0x04,0x01,0x00,0x04,0x10,0xd4,0xcc,0x31,0x00,0x10,0xf4,0xcc,0x30,0x01, +0x33,0x15,0x23,0xfd,0x9a,0xcc,0xcc,0x05,0xdb,0xcd,0x00,0x02,0xfc,0xe6,0x04,0xee, +0xff,0xb2,0x05,0xf6,0x00,0x03,0x00,0x07,0x00,0x13,0x40,0x07,0x00,0x04,0x03,0x07, +0x08,0x00,0x04,0x10,0xcc,0x31,0x00,0x10,0xd4,0x3c,0xcc,0x32,0x30,0x01,0x33,0x03, +0x23,0x03,0x33,0x03,0x23,0xfe,0xf9,0xb9,0xe4,0x99,0x8b,0xb9,0xe4,0x99,0x05,0xf6, +0xfe,0xf8,0x01,0x08,0xfe,0xf8,0x00,0x02,0xfc,0x4e,0x04,0xee,0xff,0x1a,0x05,0xf6, +0x00,0x03,0x00,0x07,0x00,0x00,0x01,0x13,0x23,0x03,0x21,0x13,0x23,0x03,0xfd,0x07, +0xc4,0x99,0xe4,0x02,0x08,0xc4,0x99,0xe4,0x05,0xf6,0xfe,0xf8,0x01,0x08,0xfe,0xf8, +0x01,0x08,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x96,0x00,0x96,0x00,0x03,0x00,0x00, +0x35,0x33,0x15,0x23,0x96,0x96,0x96,0x96,0x00,0x02,0x00,0x00,0x00,0x00,0x01,0x90, +0x00,0x96,0x00,0x03,0x00,0x07,0x00,0x00,0x37,0x33,0x15,0x23,0x27,0x33,0x15,0x23, +0xfa,0x96,0x96,0xfa,0x96,0x96,0x96,0x96,0x96,0x96,0x00,0x03,0x00,0x00,0x00,0x00, +0x01,0x90,0x01,0x90,0x00,0x03,0x00,0x07,0x00,0x0b,0x00,0x00,0x13,0x33,0x15,0x23, +0x17,0x33,0x15,0x23,0x27,0x33,0x15,0x23,0x7d,0x96,0x96,0x7d,0x96,0x96,0xfa,0x96, +0x96,0x01,0x90,0x96,0x64,0x96,0x96,0x96,0x00,0x03,0x00,0x00,0xff,0x06,0x01,0x90, +0x00,0x96,0x00,0x03,0x00,0x07,0x00,0x0b,0x00,0x00,0x17,0x33,0x15,0x23,0x13,0x33, +0x15,0x23,0x27,0x33,0x15,0x23,0x7d,0x96,0x96,0x7d,0x96,0x96,0xfa,0x96,0x96,0x64, +0x96,0x01,0x90,0x96,0x96,0x96,0x00,0x02,0x00,0x00,0xff,0x06,0x00,0x96,0x00,0x96, +0x00,0x03,0x00,0x07,0x00,0x00,0x15,0x33,0x15,0x23,0x11,0x33,0x15,0x23,0x96,0x96, +0x96,0x96,0x64,0x96,0x01,0x90,0x96,0x00,0x00,0x04,0x00,0x00,0xff,0x06,0x01,0x90, +0x00,0x96,0x00,0x03,0x00,0x07,0x00,0x0b,0x00,0x0f,0x00,0x00,0x17,0x33,0x15,0x23, +0x11,0x33,0x15,0x23,0x07,0x33,0x15,0x23,0x11,0x33,0x15,0x23,0xfa,0x96,0x96,0x96, +0x96,0xfa,0x96,0x96,0x96,0x96,0x64,0x96,0x01,0x90,0x96,0x64,0x96,0x01,0x90,0x96, +0x00,0x01,0x00,0x81,0xff,0xec,0x07,0xef,0x02,0x9d,0x00,0x26,0x00,0x00,0x01,0x14, +0x17,0x16,0x3b,0x01,0x15,0x23,0x22,0x27,0x26,0x27,0x06,0x07,0x04,0x23,0x22,0x27, +0x24,0x03,0x26,0x37,0x33,0x06,0x15,0x14,0x17,0x16,0x33,0x24,0x37,0x36,0x37,0x36, +0x35,0x34,0x27,0x33,0x16,0x06,0xef,0x46,0x3f,0x3f,0x3c,0x66,0x74,0x47,0x50,0x18, +0x9b,0xe9,0xfe,0xfd,0xd3,0xc4,0x7c,0xfe,0xb7,0x01,0x01,0x40,0xb8,0x41,0xcb,0x68, +0x97,0x01,0x04,0xbe,0xc7,0x7b,0x3b,0x1d,0xb8,0x13,0x01,0xf8,0xd0,0x3b,0x35,0xb8, +0x49,0x53,0x42,0x83,0x35,0x3a,0x26,0x65,0x01,0x08,0x8a,0x5c,0x5e,0x88,0x7d,0x43, +0x22,0x02,0x37,0x3a,0x6d,0x34,0x77,0x3e,0x37,0x4b,0xff,0xff,0xff,0xec,0x00,0x00, +0x01,0x87,0x02,0x58,0x10,0x06,0x0b,0x54,0x00,0x00,0xff,0xff,0xff,0xec,0x00,0x00, +0x02,0x7e,0x02,0x58,0x10,0x06,0x0b,0x55,0x00,0x00,0x00,0x02,0x00,0x81,0xff,0xa5, +0x08,0x5c,0x03,0x11,0x00,0x2c,0x00,0x3e,0x00,0x00,0x25,0x06,0x07,0x04,0x21,0x24, +0x27,0x24,0x03,0x26,0x37,0x33,0x06,0x15,0x14,0x17,0x16,0x21,0x32,0x25,0x37,0x26, +0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x33,0x32,0x17,0x16,0x17,0x16,0x15,0x14, +0x07,0x16,0x33,0x21,0x15,0x21,0x22,0x27,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x23, +0x22,0x07,0x06,0x07,0x06,0x15,0x14,0x17,0x16,0x06,0x78,0x68,0x6e,0xfe,0xe8,0xfe, +0xf0,0xfe,0xcf,0x7d,0xfe,0xb7,0x01,0x01,0x40,0xb8,0x41,0xcb,0x51,0x01,0x2b,0xe8, +0x01,0x1d,0x1c,0x22,0x1d,0x52,0x04,0x16,0xbc,0x3a,0x34,0x52,0x51,0x89,0x12,0x04, +0x50,0x09,0x07,0x01,0x07,0xfe,0xf4,0x69,0x6f,0x68,0x05,0x0e,0x34,0x22,0x28,0x18, +0x16,0x3d,0x13,0x06,0x29,0x31,0x24,0x2b,0x18,0x3c,0x01,0x27,0x67,0x01,0x06,0x8a, +0x5c,0x5e,0x88,0x73,0x4d,0x1f,0x36,0x04,0x1b,0x2c,0x7c,0x79,0x1f,0x24,0x9b,0x4b, +0x17,0x32,0x53,0x96,0x25,0x1e,0x90,0x6a,0x01,0xb8,0xdf,0x41,0x7a,0x14,0x1b,0x47, +0x27,0x19,0x0a,0x19,0x3c,0x13,0x12,0x38,0x42,0x4e,0x00,0x02,0xff,0xec,0x00,0x00, +0x03,0x3f,0x03,0xd9,0x00,0x0f,0x00,0x30,0x00,0x00,0x01,0x36,0x35,0x34,0x27,0x26, +0x07,0x06,0x07,0x06,0x07,0x14,0x17,0x16,0x33,0x32,0x01,0x33,0x32,0x37,0x36,0x37, +0x36,0x37,0x06,0x07,0x06,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36,0x33,0x32,0x17, +0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x06,0x23,0x21,0x02,0x56,0x29,0x42,0x1f, +0x2c,0x34,0x28,0x28,0x01,0x37,0x28,0x2a,0x48,0xfd,0xae,0xf1,0x54,0x97,0x4f,0x3c, +0x1f,0x0f,0x3f,0x61,0x82,0x4e,0x62,0x08,0x17,0x96,0x4e,0x4c,0x5a,0x42,0x60,0x2e, +0x17,0x4e,0x4a,0x7c,0x6d,0x91,0xfe,0xbf,0x02,0x19,0x2b,0x4d,0x3b,0x33,0x19,0x01, +0x01,0x2a,0x29,0x33,0x50,0x26,0x19,0xfe,0xb7,0x17,0x0c,0x5d,0x30,0x32,0x37,0x02, +0x02,0x45,0x57,0x81,0x34,0x2c,0x94,0x45,0x24,0x32,0x48,0x66,0x33,0x8c,0xd0,0x8f, +0x88,0x2c,0x27,0x00,0x00,0x02,0xff,0xec,0x00,0x00,0x04,0x20,0x03,0x08,0x00,0x21, +0x00,0x35,0x00,0x00,0x01,0x16,0x17,0x16,0x15,0x14,0x07,0x06,0x07,0x16,0x3b,0x01, +0x15,0x23,0x22,0x27,0x06,0x2b,0x01,0x35,0x33,0x32,0x37,0x26,0x27,0x26,0x35,0x34, +0x37,0x36,0x37,0x36,0x33,0x32,0x07,0x22,0x07,0x06,0x07,0x06,0x15,0x14,0x17,0x16, +0x17,0x36,0x37,0x36,0x35,0x34,0x27,0x26,0x27,0x26,0x02,0x66,0xb7,0x18,0x08,0x15, +0x1d,0x24,0x27,0x93,0x7f,0xd9,0x88,0xb9,0xb9,0x88,0xd9,0x7f,0x93,0x27,0x1d,0x24, +0x15,0x08,0x17,0xb9,0x1e,0x41,0x3f,0x3f,0x0f,0x12,0x38,0x18,0x0a,0x18,0x1f,0x44, +0x3f,0x24,0x19,0x0b,0x17,0x39,0x13,0x02,0xfa,0x50,0x96,0x32,0x2a,0x49,0x31,0x43, +0x32,0x11,0xb8,0x39,0x39,0xb8,0x11,0x28,0x4d,0x2e,0x4c,0x2c,0x30,0x8f,0x57,0x0e, +0xb8,0x0a,0x20,0x35,0x15,0x1d,0x2b,0x35,0x44,0x16,0x15,0x45,0x32,0x2e,0x18,0x1a, +0x34,0x21,0x0a,0x00,0x00,0x02,0x00,0x6b,0xfe,0x0b,0x06,0xc0,0x02,0xe4,0x00,0x2e, +0x00,0x40,0x00,0x00,0x25,0x26,0x27,0x26,0x27,0x26,0x35,0x34,0x37,0x36,0x37,0x36, +0x33,0x32,0x17,0x16,0x17,0x16,0x17,0x16,0x33,0x21,0x15,0x21,0x23,0x06,0x07,0x06, +0x07,0x06,0x27,0x24,0x27,0x26,0x35,0x34,0x37,0x33,0x06,0x15,0x14,0x17,0x16,0x21, +0x32,0x37,0x36,0x13,0x36,0x27,0x26,0x27,0x26,0x23,0x22,0x07,0x06,0x07,0x06,0x15, +0x14,0x17,0x16,0x17,0x16,0x04,0xb8,0x42,0x2e,0x79,0x39,0x93,0x06,0x28,0x93,0x29, +0x57,0x70,0x38,0x63,0x32,0x14,0x06,0x1a,0x04,0x01,0x07,0xfe,0xf4,0x30,0x2d,0x3d, +0x80,0x9e,0xaf,0xcd,0xfe,0x8e,0x5e,0x45,0x3e,0xb8,0x3e,0x1b,0x3c,0x01,0x06,0x8c, +0x96,0xd5,0x6c,0x04,0x16,0x13,0x2f,0x22,0x27,0x22,0x15,0x33,0x15,0x0a,0x39,0x4c, +0x64,0x2f,0x0a,0x05,0x0d,0x23,0x2b,0x6d,0xb9,0x3d,0x1a,0xa5,0x45,0x13,0x32,0x58, +0x91,0x3a,0xd6,0x01,0xb8,0x7a,0x46,0x91,0x4e,0x56,0x01,0x02,0xbe,0x8a,0x7d,0xa6, +0x60,0x6b,0x9b,0x4c,0x3a,0x82,0x44,0x62,0x01,0x5a,0x7a,0x57,0x4b,0x23,0x19,0x0a, +0x1b,0x3a,0x1e,0x19,0x3c,0x2c,0x3b,0x14,0x09,0x00,0xff,0xff,0xff,0xec,0x00,0x00, +0x03,0x3f,0x03,0xd9,0x10,0x06,0x0b,0xfe,0x00,0x00,0xff,0xff,0xff,0xec,0x00,0x00, +0x04,0x20,0x03,0x08,0x10,0x06,0x0b,0xff,0x00,0x00,0xff,0xff,0xff,0xec,0x00,0x00, +0x01,0x87,0x03,0xe8,0x10,0x26,0x0b,0xfb,0x00,0x00,0x10,0x07,0x0b,0xf4,0x00,0xe0, +0x03,0x52,0xff,0xff,0xff,0xec,0x00,0x00,0x02,0x7e,0x03,0xe8,0x10,0x26,0x0b,0xfc, +0x00,0x00,0x10,0x07,0x0b,0xf4,0x00,0xe0,0x03,0x52,0x00,0x02,0x00,0x00,0x00,0x00, +0x01,0xb6,0x01,0xb7,0x00,0x0b,0x00,0x17,0x00,0x00,0x25,0x34,0x27,0x26,0x22,0x06, +0x15,0x14,0x17,0x16,0x32,0x3e,0x01,0x14,0x07,0x06,0x22,0x27,0x26,0x34,0x37,0x36, +0x32,0x17,0x01,0x3c,0x1c,0x1c,0x52,0x38,0x1c,0x1c,0x52,0x38,0x7a,0x3f,0x40,0xb8, +0x3f,0x40,0x40,0x3f,0xb8,0x40,0xdc,0x28,0x1c,0x1d,0x38,0x29,0x2a,0x1c,0x1b,0x38, +0x85,0xb8,0x40,0x40,0x40,0x40,0xb8,0x40,0x3f,0x3f,0xff,0xff,0x00,0x81,0xfe,0x90, +0x07,0xef,0x03,0x20,0x10,0x27,0x0b,0xf5,0x02,0xbc,0x02,0x8a,0x10,0x27,0x0c,0x05, +0x02,0xa9,0xfe,0x90,0x10,0x06,0x0b,0xfa,0x00,0x00,0xff,0xff,0xff,0xec,0xfe,0xf4, +0x02,0x06,0x03,0xe8,0x10,0x26,0x0b,0xfb,0x00,0x00,0x10,0x27,0x0b,0xf5,0x00,0x63, +0x03,0x52,0x10,0x07,0x0c,0x05,0x00,0x50,0xfe,0xf4,0xff,0xff,0xff,0xec,0xfe,0xf4, +0x02,0x7e,0x03,0xe8,0x10,0x26,0x0b,0xfc,0x00,0x00,0x10,0x27,0x0b,0xf5,0x00,0x63, +0x03,0x52,0x10,0x07,0x0c,0x05,0x00,0x50,0xfe,0xf4,0xff,0xff,0x00,0x81,0xff,0xec, +0x07,0xef,0x03,0xb6,0x10,0x27,0x0b,0xf7,0x02,0xbc,0x03,0x20,0x10,0x06,0x0b,0xfa, +0x00,0x00,0xff,0xff,0xff,0xec,0x00,0x00,0x01,0xf3,0x04,0xe2,0x10,0x26,0x0b,0xfb, +0x00,0x00,0x10,0x07,0x0b,0xf7,0x00,0x63,0x04,0x4c,0xff,0xff,0xff,0xec,0x00,0x00, +0x02,0x7e,0x04,0xe2,0x10,0x26,0x0b,0xfc,0x00,0x00,0x10,0x07,0x0b,0xf7,0x00,0x63, +0x04,0x4c,0xff,0xff,0x00,0x9d,0xfe,0x0b,0x05,0x3e,0x05,0xaf,0x10,0x26,0x0b,0x8b, +0x00,0x00,0x10,0x07,0x05,0x08,0x00,0x8a,0xff,0x38,0xff,0xff,0xff,0xec,0x00,0x00, +0x04,0x5c,0x05,0x4b,0x10,0x26,0x0b,0x8c,0x00,0x00,0x10,0x07,0x05,0x08,0x00,0x58, +0xfe,0xd4,0xff,0xff,0xff,0xec,0x00,0x00,0x05,0x3e,0x05,0x4b,0x10,0x26,0x0b,0x8d, +0x00,0x00,0x10,0x07,0x05,0x08,0x00,0x58,0xfe,0xd4,0xff,0xff,0x00,0x9d,0xfe,0x0b, +0x05,0x3e,0x05,0xaa,0x10,0x26,0x0b,0x8b,0x00,0x00,0x10,0x07,0x0b,0xf8,0x02,0x3f, +0x05,0x14,0xff,0xff,0xff,0xec,0x00,0x00,0x04,0x5c,0x05,0x46,0x10,0x26,0x0b,0x8c, +0x00,0x00,0x10,0x07,0x0b,0xf8,0x02,0x0d,0x04,0xb0,0xff,0xff,0xff,0xec,0x00,0x00, +0x05,0x3e,0x05,0x46,0x10,0x26,0x0b,0x8d,0x00,0x00,0x10,0x07,0x0b,0xf8,0x02,0x0d, +0x04,0xb0,0xff,0xff,0x00,0x9d,0xfe,0x0b,0x05,0x3e,0x05,0xaa,0x10,0x26,0x0b,0x8b, +0x00,0x00,0x10,0x07,0x0b,0xf6,0x01,0xc2,0x04,0x1a,0xff,0xff,0xff,0xec,0x00,0x00, +0x04,0x5c,0x05,0x46,0x10,0x26,0x0b,0x8c,0x00,0x00,0x10,0x07,0x0b,0xf6,0x01,0x90, +0x03,0xb6,0xff,0xff,0xff,0xec,0x00,0x00,0x05,0x3e,0x05,0x46,0x10,0x26,0x0b,0x8d, +0x00,0x00,0x10,0x07,0x0b,0xf6,0x01,0x90,0x03,0xb6,0xff,0xff,0x00,0x9d,0xfe,0x0b, +0x05,0x3e,0x04,0xb0,0x10,0x26,0x0b,0x8b,0x00,0x00,0x10,0x27,0x0b,0xf4,0x02,0x3f, +0x04,0x1a,0x10,0x07,0x0b,0xf7,0x01,0xe7,0x00,0x19,0xff,0xff,0xff,0xec,0xfe,0x3e, +0x04,0x5c,0x04,0x4c,0x10,0x26,0x0b,0x8c,0x00,0x00,0x10,0x27,0x0b,0xf7,0x01,0x90, +0xff,0x38,0x10,0x07,0x0b,0xf4,0x02,0x0d,0x03,0xb6,0xff,0xff,0xff,0xec,0xfe,0x3e, +0x05,0x3e,0x04,0x4c,0x10,0x26,0x0b,0x8d,0x00,0x00,0x10,0x27,0x0b,0xf7,0x01,0x9c, +0xff,0x38,0x10,0x07,0x0b,0xf4,0x02,0x0d,0x03,0xb6,0x00,0x01,0x00,0x00,0x05,0x33, +0x03,0x5f,0x07,0x2b,0x00,0x03,0x00,0x00,0x09,0x01,0x35,0x01,0x03,0x5f,0xfc,0xa1, +0x03,0x5f,0x06,0x95,0xfe,0x9e,0x96,0x01,0x62,0x00,0x00,0x01,0x00,0xc9,0xfe,0x56, +0x05,0x19,0x05,0xf0,0x00,0x1c,0x00,0x00,0x01,0x10,0x21,0x22,0x06,0x15,0x11,0x23, +0x11,0x33,0x15,0x36,0x37,0x36,0x33,0x32,0x12,0x19,0x01,0x14,0x07,0x06,0x2b,0x01, +0x35,0x33,0x32,0x36,0x35,0x04,0x50,0xfe,0xcd,0xb3,0xd7,0xca,0xca,0x4e,0x69,0x6a, +0x99,0xe3,0xe9,0x51,0x52,0xb5,0x57,0x31,0x66,0x4f,0x03,0x7f,0x01,0xac,0xff,0xde, +0xfc,0xb2,0x05,0xd5,0xf1,0x86,0x43,0x43,0xfe,0xc1,0xfe,0xcc,0xfc,0x6f,0xd5,0x61, +0x60,0x9c,0x5a,0xa0,0x00,0x01,0x00,0x74,0x00,0x00,0x02,0x85,0x04,0x60,0x00,0x0b, +0x00,0x00,0x13,0x35,0x33,0x11,0x33,0x11,0x33,0x15,0x23,0x11,0x23,0x11,0x74,0xb4, +0xb8,0xa4,0xa4,0xb8,0x01,0xc4,0xa4,0x01,0xf8,0xfe,0x08,0xa4,0xfe,0x3c,0x01,0xc4, +0x00,0x02,0xfe,0xf2,0xfe,0x56,0x02,0x2e,0x04,0x60,0x00,0x0e,0x00,0x17,0x00,0x00, +0x13,0x20,0x35,0x34,0x21,0x33,0x11,0x33,0x11,0x33,0x15,0x23,0x06,0x07,0x06,0x03, +0x23,0x22,0x17,0x16,0x33,0x32,0x37,0x36,0x21,0xfe,0xd1,0x01,0x0e,0xc1,0xb8,0xb5, +0xbf,0x12,0x35,0x52,0x20,0xb5,0x77,0x03,0x04,0x7b,0x69,0x26,0x12,0xfe,0x56,0xdd, +0xcd,0x04,0x60,0xfb,0xa0,0x9b,0x70,0x3f,0x60,0x01,0x10,0x33,0x41,0x30,0x17,0x00, +0xff,0xff,0x01,0x92,0x06,0x63,0x03,0xe8,0x08,0x33,0x10,0x27,0x0b,0xe9,0x04,0xbc, +0x01,0x55,0x10,0x07,0x00,0x71,0x00,0xbd,0x02,0x3d,0xff,0xff,0x01,0x92,0x06,0x61, +0x03,0xe8,0x08,0x34,0x10,0x27,0x0b,0xe9,0x04,0xbc,0x02,0x5b,0x10,0x07,0x00,0x71, +0x00,0xbd,0x00,0xff,0xff,0xff,0x01,0x92,0x06,0x5e,0x03,0xe8,0x08,0x33,0x10,0x27, +0x00,0x71,0x00,0xbd,0x02,0x3d,0x10,0x07,0x0b,0xf1,0x04,0xbc,0x01,0x50,0xff,0xff, +0x01,0x93,0x06,0x63,0x03,0xe5,0x08,0x5a,0x10,0x27,0x0b,0xe9,0x04,0xbc,0x01,0x55, +0x10,0x07,0x0b,0xea,0x04,0xf0,0x02,0x64,0xff,0xff,0x01,0x93,0x06,0x63,0x03,0xe5, +0x08,0x5a,0x10,0x27,0x0b,0xe9,0x04,0xbc,0x01,0x55,0x10,0x07,0x0b,0xec,0x04,0x8c, +0x02,0x64,0xff,0xff,0x01,0x92,0x06,0x61,0x03,0xe8,0x08,0x5a,0x10,0x27,0x00,0x71, +0x00,0xbd,0x00,0xff,0x10,0x07,0x0b,0xea,0x04,0xf0,0x02,0x64,0xff,0xff,0x01,0x92, +0x06,0x61,0x03,0xe8,0x08,0x5a,0x10,0x27,0x00,0x71,0x00,0xbd,0x00,0xff,0x10,0x07, +0x0b,0xec,0x04,0x8c,0x02,0x64,0xff,0xff,0x01,0x76,0x06,0x6a,0x04,0x0a,0x08,0x33, +0x10,0x27,0x00,0x71,0x00,0xbd,0x02,0x3d,0x10,0x07,0x0b,0xeb,0x04,0xc0,0x01,0x5c, +0xff,0xff,0x01,0x8b,0x06,0x63,0x03,0xed,0x08,0x5a,0x10,0x27,0x0b,0xe9,0x04,0xbc, +0x01,0x55,0x10,0x07,0x0b,0xee,0x04,0xbc,0x02,0x62,0xff,0xff,0x01,0x76,0x06,0x6a, +0x04,0x0a,0x08,0x56,0x10,0x27,0x0b,0xeb,0x04,0xc0,0x01,0x5c,0x10,0x07,0x0b,0xe9, +0x04,0xbc,0x02,0x7d,0xff,0xff,0x01,0x8b,0x06,0x63,0x03,0xed,0x08,0x57,0x10,0x27, +0x0b,0xf1,0x04,0xbc,0x02,0x7c,0x10,0x07,0x0b,0xee,0x04,0xbc,0x01,0x75,0xff,0xff, +0x01,0x76,0x06,0x6a,0x04,0x30,0x08,0x5a,0x10,0x27,0x0b,0xeb,0x04,0xc0,0x01,0x5c, +0x10,0x07,0x0b,0xea,0x05,0x40,0x02,0x64,0xff,0xff,0x01,0x8b,0x06,0x63,0x05,0x18, +0x08,0x3a,0x10,0x27,0x0b,0xea,0x06,0x28,0x02,0x44,0x10,0x07,0x0b,0xed,0x04,0xbc, +0x01,0x75,0xff,0xff,0x00,0x5c,0x06,0x63,0x03,0xed,0x08,0x3a,0x10,0x27,0x0b,0xed, +0x04,0xbc,0x01,0x75,0x10,0x07,0x0b,0xec,0x03,0x50,0x02,0x44,0xff,0xff,0x01,0x76, +0x06,0x63,0x04,0x0a,0x08,0x59,0x10,0x27,0x0b,0xeb,0x04,0xc0,0x02,0x70,0x10,0x07, +0x0b,0xed,0x04,0xbc,0x01,0x75,0xff,0xff,0x01,0x76,0x06,0x56,0x04,0x0a,0x08,0x59, +0x10,0x27,0x0b,0xeb,0x04,0xc0,0x02,0x70,0x10,0x07,0x0b,0xf0,0x04,0xbc,0x01,0x50, +0xff,0xff,0x01,0x83,0x06,0x56,0x03,0xf5,0x08,0x5a,0x10,0x27,0x0b,0xea,0x04,0xf0, +0x02,0x64,0x10,0x07,0x0b,0xf0,0x04,0xbc,0x01,0x50,0xff,0xff,0x01,0x83,0x06,0x56, +0x03,0xf5,0x08,0x5a,0x10,0x27,0x0b,0xec,0x04,0x8c,0x02,0x64,0x10,0x07,0x0b,0xf0, +0x04,0xbc,0x01,0x50,0xff,0xff,0x01,0x83,0x06,0x56,0x03,0xf5,0x08,0x8b,0x10,0x27, +0x0b,0xf0,0x04,0xbc,0x01,0x50,0x10,0x07,0x02,0xac,0x04,0xc3,0x02,0x10,0xff,0xff, +0x01,0x8b,0x06,0x63,0x05,0x07,0x08,0x5b,0x10,0x27,0x0b,0xed,0x04,0xbc,0x01,0x75, +0x10,0x07,0x02,0xac,0x06,0x10,0x01,0xe0,0xff,0xff,0xfc,0x9c,0x04,0xee,0xff,0x50, +0x06,0x6a,0x10,0x27,0x02,0xaa,0xfe,0xf8,0x00,0x5a,0x10,0x06,0x02,0xa4,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x02,0x80,0x00,0x05,0xde,0xc5,0x71, +0x5f,0x0f,0x3c,0xf5,0x00,0x1f,0x08,0x00,0x00,0x00,0x00,0x00,0xc0,0x71,0x79,0xf6, +0x00,0x00,0x00,0x00,0xc0,0x71,0x79,0xf6,0xf7,0xd6,0xfc,0xeb,0x0d,0x72,0x08,0xe9, +0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00, +0x07,0x6d,0xfe,0x1d,0x00,0x00,0x0d,0xe2,0xf7,0xd6,0xfc,0x6d,0x0d,0x72,0x00,0x01, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0c,0x31, +0x04,0xcd,0x00,0x66,0x00,0x00,0x00,0x00,0x02,0xaa,0x00,0x00,0x02,0x8b,0x00,0x00, +0x03,0x35,0x01,0x35,0x03,0xae,0x00,0xc5,0x06,0xb4,0x00,0x9e,0x05,0x17,0x00,0xaa, +0x07,0x9a,0x00,0x71,0x06,0x3d,0x00,0x81,0x02,0x33,0x00,0xc5,0x03,0x1f,0x00,0xb0, +0x03,0x1f,0x00,0xa4,0x04,0x00,0x00,0x3d,0x06,0xb4,0x00,0xd9,0x02,0x8b,0x00,0x9e, +0x02,0xe3,0x00,0x64,0x02,0x8b,0x00,0xdb,0x02,0xb2,0x00,0x00,0x05,0x17,0x00,0x87, +0x05,0x17,0x00,0xe1,0x05,0x17,0x00,0x96,0x05,0x17,0x00,0x9c,0x05,0x17,0x00,0x64, +0x05,0x17,0x00,0x9e,0x05,0x17,0x00,0x8f,0x05,0x17,0x00,0xa8,0x05,0x17,0x00,0x8b, +0x05,0x17,0x00,0x81,0x02,0xb2,0x00,0xf0,0x02,0xb2,0x00,0x9e,0x06,0xb4,0x00,0xd9, +0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9,0x04,0x3f,0x00,0x93,0x08,0x00,0x00,0x87, +0x05,0x79,0x00,0x10,0x05,0x7d,0x00,0xc9,0x05,0x96,0x00,0x73,0x06,0x29,0x00,0xc9, +0x05,0x0e,0x00,0xc9,0x04,0x9a,0x00,0xc9,0x06,0x33,0x00,0x73,0x06,0x04,0x00,0xc9, +0x02,0x5c,0x00,0xc9,0x02,0x5c,0xff,0x96,0x05,0x3f,0x00,0xc9,0x04,0x75,0x00,0xc9, +0x06,0xe7,0x00,0xc9,0x05,0xfc,0x00,0xc9,0x06,0x4c,0x00,0x73,0x04,0xd3,0x00,0xc9, +0x06,0x4c,0x00,0x73,0x05,0x8f,0x00,0xc9,0x05,0x14,0x00,0x87,0x04,0xe3,0xff,0xfa, +0x05,0xdb,0x00,0xb2,0x05,0x79,0x00,0x10,0x07,0xe9,0x00,0x44,0x05,0x7b,0x00,0x3d, +0x04,0xe3,0xff,0xfc,0x05,0x7b,0x00,0x5c,0x03,0x1f,0x00,0xb0,0x02,0xb2,0x00,0x00, +0x03,0x1f,0x00,0xc7,0x06,0xb4,0x00,0xd9,0x04,0x00,0xff,0xec,0x04,0x00,0x00,0xaa, +0x04,0xe7,0x00,0x7b,0x05,0x14,0x00,0xba,0x04,0x66,0x00,0x71,0x05,0x14,0x00,0x71, +0x04,0xec,0x00,0x71,0x02,0xd1,0x00,0x2f,0x05,0x14,0x00,0x71,0x05,0x12,0x00,0xba, +0x02,0x39,0x00,0xc1,0x02,0x39,0xff,0xdb,0x04,0xa2,0x00,0xba,0x02,0x39,0x00,0xc1, +0x07,0xcb,0x00,0xba,0x05,0x12,0x00,0xba,0x04,0xe5,0x00,0x71,0x05,0x14,0x00,0xba, +0x05,0x14,0x00,0x71,0x03,0x4a,0x00,0xba,0x04,0x2b,0x00,0x6f,0x03,0x23,0x00,0x37, +0x05,0x12,0x00,0xae,0x04,0xbc,0x00,0x3d,0x06,0x8b,0x00,0x56,0x04,0xbc,0x00,0x3b, +0x04,0xbc,0x00,0x3d,0x04,0x33,0x00,0x58,0x05,0x17,0x01,0x00,0x02,0xb2,0x01,0x04, +0x05,0x17,0x01,0x00,0x06,0xb4,0x00,0xd9,0x05,0x17,0x00,0x00,0x03,0x35,0x01,0x35, +0x05,0x17,0x00,0xac,0x05,0x17,0x00,0x81,0x05,0x17,0x00,0x5e,0x05,0x17,0x00,0x52, +0x02,0xb2,0x01,0x04,0x04,0x00,0x00,0x5c,0x04,0x00,0x00,0xd7,0x08,0x00,0x01,0x1b, +0x03,0xc5,0x00,0x73,0x04,0xe5,0x00,0x9e,0x06,0xb4,0x00,0xd9,0x02,0xe3,0x00,0x64, +0x08,0x00,0x01,0x1b,0x04,0x00,0x00,0xd5,0x04,0x00,0x00,0xc3,0x06,0xb4,0x00,0xd9, +0x03,0x35,0x00,0x5e,0x03,0x35,0x00,0x62,0x04,0x00,0x01,0x73,0x05,0x17,0x00,0xae, +0x05,0x17,0x00,0x9e,0x02,0x8b,0x00,0xdb,0x04,0x00,0x01,0x23,0x03,0x35,0x00,0x89, +0x03,0xc5,0x00,0x60,0x04,0xe5,0x00,0xc1,0x07,0xc1,0x00,0x89,0x07,0xc1,0x00,0x89, +0x07,0xc1,0x00,0x62,0x04,0x3f,0x00,0x8f,0x05,0x79,0x00,0x10,0x05,0x79,0x00,0x10, +0x05,0x79,0x00,0x10,0x05,0x79,0x00,0x10,0x05,0x79,0x00,0x10,0x05,0x79,0x00,0x10, +0x07,0xcb,0x00,0x08,0x05,0x96,0x00,0x73,0x05,0x0e,0x00,0xc9,0x05,0x0e,0x00,0xc9, +0x05,0x0e,0x00,0xc9,0x05,0x0e,0x00,0xc9,0x02,0x5c,0x00,0x3b,0x02,0x5c,0x00,0xa2, +0x02,0x5c,0xff,0xfe,0x02,0x5c,0x00,0x06,0x06,0x33,0x00,0x0a,0x05,0xfc,0x00,0xc9, +0x06,0x4c,0x00,0x73,0x06,0x4c,0x00,0x73,0x06,0x4c,0x00,0x73,0x06,0x4c,0x00,0x73, +0x06,0x4c,0x00,0x73,0x06,0xb4,0x01,0x19,0x06,0x4c,0x00,0x66,0x05,0xdb,0x00,0xb2, +0x05,0xdb,0x00,0xb2,0x05,0xdb,0x00,0xb2,0x05,0xdb,0x00,0xb2,0x04,0xe3,0xff,0xfc, +0x04,0xd7,0x00,0xc9,0x05,0x0a,0x00,0xba,0x04,0xe7,0x00,0x7b,0x04,0xe7,0x00,0x7b, +0x04,0xe7,0x00,0x7b,0x04,0xe7,0x00,0x7b,0x04,0xe7,0x00,0x7b,0x04,0xe7,0x00,0x7b, +0x07,0xdb,0x00,0x7b,0x04,0x66,0x00,0x71,0x04,0xec,0x00,0x71,0x04,0xec,0x00,0x71, +0x04,0xec,0x00,0x71,0x04,0xec,0x00,0x71,0x02,0x39,0xff,0xc7,0x02,0x39,0x00,0x90, +0x02,0x39,0xff,0xde,0x02,0x39,0xff,0xf4,0x04,0xe5,0x00,0x71,0x05,0x12,0x00,0xba, +0x04,0xe5,0x00,0x71,0x04,0xe5,0x00,0x71,0x04,0xe5,0x00,0x71,0x04,0xe5,0x00,0x71, +0x04,0xe5,0x00,0x71,0x06,0xb4,0x00,0xd9,0x04,0xe5,0x00,0x48,0x05,0x12,0x00,0xae, +0x05,0x12,0x00,0xae,0x05,0x12,0x00,0xae,0x05,0x12,0x00,0xae,0x04,0xbc,0x00,0x3d, +0x05,0x14,0x00,0xba,0x04,0xbc,0x00,0x3d,0x05,0x79,0x00,0x10,0x04,0xe7,0x00,0x7b, +0x05,0x79,0x00,0x10,0x04,0xe7,0x00,0x7b,0x05,0x79,0x00,0x10,0x04,0xe7,0x00,0x7b, +0x05,0x96,0x00,0x73,0x04,0x66,0x00,0x71,0x05,0x96,0x00,0x73,0x04,0x66,0x00,0x71, +0x05,0x96,0x00,0x73,0x04,0x66,0x00,0x71,0x05,0x96,0x00,0x73,0x04,0x66,0x00,0x71, +0x06,0x29,0x00,0xc9,0x05,0x14,0x00,0x71,0x06,0x33,0x00,0x0a,0x05,0x14,0x00,0x71, +0x05,0x0e,0x00,0xc9,0x04,0xec,0x00,0x71,0x05,0x0e,0x00,0xc9,0x04,0xec,0x00,0x71, +0x05,0x0e,0x00,0xc9,0x04,0xec,0x00,0x71,0x05,0x0e,0x00,0xc9,0x04,0xec,0x00,0x71, +0x05,0x0e,0x00,0xc9,0x04,0xec,0x00,0x71,0x06,0x33,0x00,0x73,0x05,0x14,0x00,0x71, +0x06,0x33,0x00,0x73,0x05,0x14,0x00,0x71,0x06,0x33,0x00,0x73,0x05,0x14,0x00,0x71, +0x06,0x33,0x00,0x73,0x05,0x14,0x00,0x71,0x06,0x04,0x00,0xc9,0x05,0x12,0xff,0xe5, +0x07,0x54,0x00,0xc9,0x05,0x8f,0x00,0x78,0x02,0x5c,0xff,0xe4,0x02,0x39,0xff,0xd3, +0x02,0x5c,0x00,0x03,0x02,0x39,0xff,0xf2,0x02,0x5c,0xff,0xf5,0x02,0x39,0xff,0xe4, +0x02,0x5c,0x00,0xb0,0x02,0x39,0x00,0x96,0x02,0x5c,0x00,0xc9,0x02,0x39,0x00,0xc1, +0x04,0xb8,0x00,0xc9,0x04,0x72,0x00,0xc1,0x02,0x5c,0xff,0x96,0x02,0x39,0xff,0xdb, +0x05,0x3f,0x00,0xc9,0x04,0xa2,0x00,0xba,0x04,0xa2,0x00,0xba,0x04,0x75,0x00,0xc9, +0x02,0x58,0x00,0xc1,0x04,0x75,0x00,0xc9,0x02,0x39,0x00,0x88,0x04,0x75,0x00,0xc9, +0x03,0x00,0x00,0xc1,0x04,0x75,0x00,0xc9,0x02,0xbc,0x00,0xc1,0x04,0x7f,0xff,0xf2, +0x02,0x46,0x00,0x02,0x05,0xfc,0x00,0xc9,0x05,0x12,0x00,0xba,0x05,0xfc,0x00,0xc9, +0x05,0x12,0x00,0xba,0x05,0xfc,0x00,0xc9,0x05,0x12,0x00,0xba,0x06,0x82,0x00,0xcd, +0x05,0xfc,0x00,0xd5,0x05,0x12,0x00,0xba,0x06,0x4c,0x00,0x73,0x04,0xe5,0x00,0x71, +0x06,0x4c,0x00,0x73,0x04,0xe5,0x00,0x71,0x06,0x4c,0x00,0x73,0x04,0xe5,0x00,0x71, +0x08,0x8f,0x00,0x73,0x08,0x2f,0x00,0x71,0x05,0x8f,0x00,0xc9,0x03,0x4a,0x00,0xba, +0x05,0x8f,0x00,0xc9,0x03,0x4a,0x00,0x82,0x05,0x8f,0x00,0xc9,0x03,0x4a,0x00,0xba, +0x05,0x14,0x00,0x87,0x04,0x2b,0x00,0x6f,0x05,0x14,0x00,0x87,0x04,0x2b,0x00,0x6f, +0x05,0x14,0x00,0x87,0x04,0x2b,0x00,0x6f,0x05,0x14,0x00,0x87,0x04,0x2b,0x00,0x6f, +0x04,0xe3,0xff,0xfa,0x03,0x23,0x00,0x37,0x04,0xe3,0xff,0xfa,0x03,0x23,0x00,0x37, +0x04,0xe3,0xff,0xfa,0x03,0x23,0x00,0x37,0x05,0xdb,0x00,0xb2,0x05,0x12,0x00,0xae, +0x05,0xdb,0x00,0xb2,0x05,0x12,0x00,0xae,0x05,0xdb,0x00,0xb2,0x05,0x12,0x00,0xae, +0x05,0xdb,0x00,0xb2,0x05,0x12,0x00,0xae,0x05,0xdb,0x00,0xb2,0x05,0x12,0x00,0xae, +0x05,0xdb,0x00,0xb2,0x05,0x12,0x00,0xae,0x07,0xe9,0x00,0x44,0x06,0x8b,0x00,0x56, +0x04,0xe3,0xff,0xfc,0x04,0xbc,0x00,0x3d,0x04,0xe3,0xff,0xfc,0x05,0x7b,0x00,0x5c, +0x04,0x33,0x00,0x58,0x05,0x7b,0x00,0x5c,0x04,0x33,0x00,0x58,0x05,0x7b,0x00,0x5c, +0x04,0x33,0x00,0x58,0x02,0xd1,0x00,0x2f,0x05,0x14,0x00,0x20,0x05,0xe1,0xff,0x97, +0x05,0x7d,0x00,0xc9,0x05,0x14,0x00,0xba,0x05,0x7d,0x00,0x00,0x05,0x14,0x00,0x00, +0x05,0x96,0x00,0x73,0x05,0x96,0x00,0x73,0x04,0x66,0x00,0x71,0x06,0x33,0x00,0x0a, +0x06,0x97,0xff,0x97,0x05,0x7d,0x00,0xc9,0x05,0x14,0x00,0x71,0x04,0xe5,0x00,0x71, +0x05,0x0e,0x00,0xc9,0x06,0x4c,0x00,0x73,0x05,0x17,0x00,0x9c,0x04,0x9a,0xff,0x96, +0x02,0xd1,0xff,0x7f,0x06,0x33,0x00,0x73,0x05,0x7b,0x00,0x81,0x07,0xb4,0x00,0xba, +0x02,0xd4,0x00,0xc9,0x02,0x5c,0x00,0x0a,0x05,0x85,0x00,0xc9,0x04,0xa2,0x00,0xb9, +0x02,0x39,0x00,0x0a,0x04,0xbc,0x00,0x3d,0x07,0xcb,0x00,0xb2,0x05,0xfc,0xff,0x96, +0x05,0x12,0x00,0xba,0x06,0x4c,0x00,0x73,0x06,0x4c,0x00,0x67,0x04,0xe5,0x00,0x76, +0x07,0x82,0x00,0x73,0x05,0xe5,0x00,0x71,0x05,0x37,0xff,0x97,0x05,0x14,0x00,0xb9, +0x04,0xd7,0x00,0xc9,0x05,0x14,0x00,0x45,0x04,0x2b,0x00,0x47,0x05,0x0e,0x00,0xc9, +0x02,0xb0,0xfe,0xf2,0x03,0x23,0x00,0x37,0x04,0xe3,0x00,0x18,0x03,0x23,0x00,0x37, +0x04,0xe3,0xff,0xfa,0x05,0xdb,0x00,0xad,0x05,0x12,0x00,0xb0,0x06,0x1d,0x00,0x4e, +0x05,0xc4,0x00,0xc9,0x05,0x91,0xff,0xfc,0x06,0x70,0x00,0x3d,0x05,0x7b,0x00,0x5c, +0x04,0x33,0x00,0x58,0x05,0x54,0x00,0xa0,0x05,0x54,0x00,0x5c,0x04,0x9f,0x00,0x68, +0x04,0x33,0x00,0x71,0x05,0x17,0x00,0x96,0x05,0x54,0x00,0x5d,0x04,0x9f,0x00,0x68, +0x04,0x15,0x00,0x58,0x05,0x14,0x00,0xba,0x02,0x5c,0x00,0xc9,0x03,0xf0,0x00,0xc9, +0x03,0xac,0x00,0x14,0x02,0x5d,0x00,0xc9,0x0b,0x60,0x00,0xc9,0x0a,0x64,0x00,0xc9, +0x09,0x3c,0x00,0x71,0x06,0xaf,0x00,0xc9,0x06,0x4b,0x00,0xc9,0x03,0xa7,0x00,0xc1, +0x07,0x73,0x00,0xc9,0x07,0x64,0x00,0xc9,0x06,0x61,0x00,0xba,0x05,0x79,0x00,0x10, +0x04,0xe7,0x00,0x7b,0x02,0x5c,0xff,0xfe,0x02,0x39,0xff,0xe0,0x06,0x4c,0x00,0x73, +0x04,0xe5,0x00,0x71,0x05,0xdb,0x00,0xb2,0x05,0x12,0x00,0xae,0x05,0xdb,0x00,0xb2, +0x05,0x12,0x00,0xae,0x05,0xdb,0x00,0xb2,0x05,0x12,0x00,0xae,0x05,0xdb,0x00,0xb2, +0x05,0x12,0x00,0xae,0x05,0xdb,0x00,0xb2,0x05,0x12,0x00,0xae,0x04,0xec,0x00,0x71, +0x05,0x79,0x00,0x10,0x04,0xe7,0x00,0x7b,0x05,0x79,0x00,0x10,0x04,0xe7,0x00,0x7b, +0x07,0xcb,0x00,0x08,0x07,0xdb,0x00,0x7b,0x06,0x33,0x00,0x73,0x05,0x14,0x00,0x71, +0x06,0x33,0x00,0x73,0x05,0x14,0x00,0x71,0x05,0x3f,0x00,0x07,0x04,0xa2,0xff,0xe9, +0x06,0x4c,0x00,0x73,0x04,0xe5,0x00,0x71,0x06,0x4c,0x00,0x73,0x04,0xe5,0x00,0x71, +0x05,0x54,0x00,0xa0,0x04,0x9f,0x00,0x58,0x02,0x39,0xff,0xdb,0x0b,0x60,0x00,0xc9, +0x0a,0x64,0x00,0xc9,0x09,0x3c,0x00,0x71,0x06,0x33,0x00,0x73,0x05,0x14,0x00,0x71, +0x08,0xe7,0x00,0xc9,0x05,0x75,0x00,0xc9,0x05,0xfc,0x00,0xc9,0x05,0x12,0x00,0xba, +0x05,0x79,0x00,0x10,0x04,0xe7,0x00,0x7b,0x07,0xcb,0x00,0x08,0x07,0xdb,0x00,0x7b, +0x06,0x4c,0x00,0x66,0x04,0xe5,0x00,0x48,0x05,0x79,0x00,0x10,0x04,0xe7,0x00,0x7b, +0x05,0x79,0x00,0x10,0x04,0xe7,0x00,0x7b,0x05,0x0e,0x00,0xc9,0x04,0xec,0x00,0x71, +0x05,0x0e,0x00,0xc9,0x04,0xec,0x00,0x71,0x02,0x5c,0xff,0xa7,0x02,0x39,0xff,0xc3, +0x02,0x5c,0x00,0x05,0x02,0x39,0xff,0xe4,0x06,0x4c,0x00,0x73,0x04,0xe5,0x00,0x71, +0x06,0x4c,0x00,0x73,0x04,0xe5,0x00,0x71,0x05,0x8f,0x00,0xc7,0x03,0x4a,0x00,0x82, +0x05,0x8f,0x00,0xc9,0x03,0x4a,0x00,0xba,0x05,0xdb,0x00,0xb2,0x05,0x12,0x00,0xae, +0x05,0xdb,0x00,0xb2,0x05,0x12,0x00,0xae,0x05,0x14,0x00,0x87,0x04,0x2b,0x00,0x6f, +0x04,0xe3,0xff,0xfa,0x03,0x23,0x00,0x37,0x05,0x04,0x00,0x9c,0x04,0x2c,0x00,0x47, +0x06,0x04,0x00,0xc9,0x05,0x12,0xff,0xf0,0x05,0xe2,0x00,0xc9,0x06,0xb4,0x00,0x71, +0x05,0x96,0x00,0x71,0x04,0xe2,0x00,0x71,0x05,0x7b,0x00,0x5c,0x04,0x33,0x00,0x58, +0x05,0x79,0x00,0x10,0x04,0xe7,0x00,0x7b,0x05,0x0e,0x00,0xc9,0x04,0xec,0x00,0x71, +0x06,0x4c,0x00,0x73,0x04,0xe5,0x00,0x71,0x06,0x4c,0x00,0x73,0x04,0xe5,0x00,0x71, +0x06,0x4c,0x00,0x73,0x04,0xe5,0x00,0x71,0x06,0x4c,0x00,0x73,0x04,0xe5,0x00,0x71, +0x04,0xe3,0xff,0xfc,0x04,0xbc,0x00,0x3d,0x03,0xcc,0x00,0x8a,0x06,0xbe,0x00,0xba, +0x03,0xd1,0x00,0x37,0x02,0x39,0xff,0xdb,0x07,0xfc,0x00,0x71,0x07,0xfc,0x00,0x71, +0x05,0x79,0xff,0xfd,0x05,0x96,0x00,0x0b,0x04,0x66,0x00,0x09,0x04,0x75,0x00,0x0a, +0x04,0xe3,0xff,0xb2,0x04,0x2b,0x00,0x6f,0x04,0x33,0x00,0x58,0x04,0x15,0x00,0x50, +0x04,0xe7,0x00,0x7b,0x05,0x14,0x00,0x71,0x05,0x14,0x00,0x71,0x05,0x14,0x00,0xba, +0x04,0x66,0x00,0x71,0x04,0x66,0x00,0x71,0x05,0x14,0x00,0x71,0x05,0xd1,0x00,0x71, +0x04,0xec,0x00,0x71,0x04,0xec,0x00,0x71,0x06,0x5d,0x00,0x7c,0x04,0x53,0x00,0x85, +0x04,0x53,0x00,0x85,0x06,0x1f,0x00,0x71,0x05,0x74,0x00,0x71,0x02,0x9c,0xff,0xdb, +0x05,0x19,0x00,0x71,0x05,0x14,0x00,0x71,0x05,0x09,0x00,0x71,0x05,0x7b,0x00,0xce, +0x04,0xbc,0x00,0x60,0x05,0x12,0x00,0xae,0x05,0x12,0x00,0xba,0x05,0x12,0x00,0xba, +0x02,0xf9,0x00,0x74,0x03,0x19,0x00,0xc1,0x02,0xf9,0x00,0x74,0x03,0xe6,0x00,0xb0, +0x03,0xe6,0x00,0x4c,0x02,0x3a,0x00,0xc1,0x05,0xa6,0x00,0xc1,0x07,0xcb,0x00,0xba, +0x07,0xcb,0x00,0xba,0x07,0xcb,0x00,0xba,0x05,0x2b,0xff,0xdb,0x05,0x23,0x00,0xba, +0x05,0x12,0x00,0xb3,0x04,0xe5,0x00,0x71,0x06,0xdd,0x00,0x71,0x05,0xd3,0x00,0x99, +0x04,0xe5,0x00,0x71,0x03,0xc1,0x00,0x71,0x03,0xc1,0x00,0x71,0x03,0xc0,0x00,0x71, +0x03,0xc1,0x00,0x71,0x03,0xc1,0x00,0x70,0x04,0x3e,0x00,0x74,0x04,0x3e,0x00,0x74, +0x04,0xd0,0x00,0x32,0x04,0xd0,0x00,0x32,0x04,0x2b,0x00,0x6f,0x02,0xb0,0xff,0xdb, +0x03,0x0c,0x00,0x37,0x03,0xb1,0x00,0x37,0x02,0xb0,0xfe,0xf2,0x03,0x23,0x00,0x37, +0x03,0x23,0x00,0x37,0x05,0x12,0x00,0x00,0x04,0xf1,0x00,0x71,0x04,0xc9,0x00,0xc1, +0x04,0xbc,0x00,0x3d,0x06,0x8b,0x00,0x56,0x04,0xbc,0x00,0x3d,0x04,0xe3,0x00,0x66, +0x04,0x33,0x00,0x58,0x04,0x33,0x00,0x58,0x04,0x9f,0x00,0x58,0x04,0x9f,0x00,0x6d, +0x04,0x15,0x00,0x58,0x04,0x15,0x00,0x58,0x04,0x15,0x00,0x58,0x04,0x15,0x00,0x58, +0x04,0xd2,0x00,0x5e,0x04,0xa3,0x00,0xba,0x05,0x74,0x00,0x71,0x05,0xaa,0x00,0x71, +0x05,0x49,0x00,0xc1,0x02,0xee,0xfe,0xf2,0x05,0x56,0x00,0xba,0x04,0xaa,0x00,0xb3, +0x05,0xd1,0x00,0x71,0x04,0x15,0x00,0x58,0x04,0x15,0x00,0x58,0x08,0x1d,0x00,0x71, +0x08,0x76,0x00,0x71,0x08,0x1a,0x00,0x71,0x06,0x98,0x00,0x37,0x04,0xe1,0x00,0x37, +0x06,0x3a,0x00,0x37,0x06,0xc9,0x00,0x2f,0x05,0x20,0x00,0xc1,0x05,0x3c,0x00,0xc1, +0x04,0x1f,0x00,0x36,0x04,0x1f,0x00,0x36,0x04,0x90,0x00,0x00,0x05,0x4f,0x00,0x00, +0x03,0x31,0x00,0x75,0x03,0x31,0x00,0x75,0x01,0x66,0xff,0xe9,0x02,0x12,0x00,0x75, +0x02,0x5d,0x00,0x47,0x02,0x5e,0x00,0x47,0x03,0x08,0x00,0x20,0x04,0x1f,0x00,0x36, +0x02,0xfb,0x00,0x26,0x02,0x33,0x00,0xc5,0x03,0xae,0x00,0xc5,0x02,0x8b,0x00,0xae, +0x02,0x8b,0x00,0xb2,0x02,0x8b,0x00,0xc4,0x02,0x75,0x00,0x75,0x02,0x75,0x00,0x75, +0x02,0xf5,0x00,0x75,0x02,0xf5,0x00,0x75,0x04,0x00,0x01,0x0b,0x04,0x00,0x01,0x0b, +0x04,0x00,0x00,0xc1,0x04,0x00,0x00,0xc1,0x04,0x00,0x00,0xc1,0x04,0x00,0x00,0xc1, +0x02,0x33,0x00,0xd6,0x04,0x00,0x00,0xd5,0x04,0x00,0x01,0x73,0x04,0x00,0x00,0xaa, +0x02,0x33,0x00,0xd6,0x04,0x00,0x00,0xd5,0x04,0x00,0x00,0xaa,0x04,0x00,0x01,0x73, +0x02,0xb2,0x00,0x6f,0x02,0xb2,0x00,0x6f,0x02,0x75,0x00,0x75,0x02,0x75,0x00,0x75, +0x04,0x00,0x01,0x1f,0x04,0x00,0x01,0x1f,0x03,0x4d,0x00,0xc1,0x04,0x00,0x01,0x1f, +0x04,0x00,0x00,0xc7,0x04,0x00,0x01,0x9a,0x04,0x00,0x00,0xee,0x04,0x00,0x01,0x4c, +0x04,0x00,0x00,0xb6,0x04,0x00,0x00,0xf0,0x02,0x86,0xff,0xff,0x04,0x00,0x00,0xef, +0x03,0x68,0x00,0x75,0x01,0x54,0x00,0x75,0x02,0xfc,0x00,0x75,0x03,0x8d,0x00,0x75, +0x02,0xf5,0x00,0x75,0x03,0xf2,0x00,0xd6,0x03,0xf2,0x00,0xd6,0x03,0xf2,0x00,0xd6, +0x03,0xf2,0x00,0xd6,0x03,0xf2,0x00,0xd6,0x04,0x00,0x00,0xc1,0x04,0x00,0x00,0xd5, +0x04,0x00,0x01,0x15,0x04,0x00,0x00,0xee,0x04,0x00,0x00,0xb6,0x00,0x00,0xfc,0xa8, +0x00,0x00,0xfd,0x71,0x00,0x00,0xfc,0xbf,0x00,0x00,0xfc,0xb4,0x00,0x00,0xfc,0xd9, +0x00,0x00,0xfb,0xec,0x00,0x00,0xfc,0xbf,0x00,0x00,0xfd,0xa4,0x00,0x00,0xfc,0xd5, +0x00,0x00,0xfd,0x37,0x00,0x00,0xfc,0xec,0x00,0x00,0xfc,0xf4,0x00,0x00,0xfc,0xc5, +0x00,0x00,0xfd,0xbc,0x00,0x00,0xfc,0xf0,0x00,0x00,0xfc,0x5d,0x00,0x00,0xfc,0xbf, +0x00,0x00,0xfc,0xbf,0x00,0x00,0xfe,0x1f,0x00,0x00,0xfd,0x90,0x00,0x00,0xfd,0x90, +0x00,0x00,0xff,0x79,0x00,0x00,0xfc,0xa8,0x00,0x00,0xfd,0x71,0x00,0x00,0xfd,0x0c, +0x00,0x00,0xfd,0xbc,0x00,0x00,0xfe,0x55,0x00,0x00,0xff,0x04,0x00,0x00,0xfd,0x81, +0x00,0x00,0xfd,0x0b,0x00,0x00,0xfd,0x0b,0x00,0x00,0xfd,0x0b,0x00,0x00,0xfd,0x0b, +0x00,0x00,0xfd,0x7a,0x00,0x00,0xfd,0x77,0x00,0x00,0xfd,0x9a,0x00,0x00,0xfc,0xd5, +0x00,0x00,0xfc,0xec,0x00,0x00,0xfd,0x6a,0x00,0x00,0xfd,0x23,0x00,0x00,0xfd,0x4c, +0x00,0x00,0xfd,0xbc,0x00,0x00,0xfc,0xf0,0x00,0x00,0xfc,0x63,0x00,0x00,0xfc,0xc5, +0x00,0x00,0xfc,0xbf,0x00,0x00,0xfc,0xbf,0x00,0x00,0xfc,0xbf,0x00,0x00,0xfc,0xb4, +0x00,0x00,0xfc,0xd9,0x00,0x00,0xfb,0xec,0x00,0x00,0xfb,0xec,0x00,0x00,0xfb,0x8c, +0x00,0x00,0xfd,0x78,0x00,0x00,0xfa,0xed,0x00,0x00,0xfb,0x68,0x00,0x00,0xfa,0x12, +0x00,0x00,0xfd,0xf9,0x00,0x00,0xfc,0xf1,0x00,0x00,0xfc,0xf0,0x00,0x00,0xfc,0x63, +0x00,0x00,0xfd,0x2b,0x00,0x00,0xfe,0x06,0x00,0x00,0xfb,0xec,0x00,0x00,0xfc,0xa8, +0x00,0x00,0xfd,0x71,0x00,0x00,0xfc,0xb4,0x00,0x00,0xfd,0x85,0x00,0x00,0xfc,0xe7, +0x00,0x00,0xfd,0xc6,0x00,0x00,0xfc,0xd5,0x00,0x00,0xfd,0x1f,0x00,0x00,0xfd,0x15, +0x00,0x00,0xfd,0x1f,0x00,0x00,0xfc,0xb6,0x00,0x00,0xfc,0xb6,0x00,0x00,0xfc,0xb6, +0x00,0x00,0xfc,0x63,0x00,0x00,0xfd,0x33,0x00,0x00,0xfd,0x78,0x00,0x00,0xfc,0xbf, +0x00,0x00,0xfd,0x2b,0x00,0x00,0xfd,0x78,0x00,0x00,0xff,0x2e,0x00,0x00,0xfc,0x70, +0x00,0x00,0xfc,0x70,0x00,0x00,0xfd,0x2a,0x00,0x00,0xfc,0x70,0x00,0x00,0xfc,0x77, +0x02,0x3a,0x00,0xa0,0x02,0x3a,0x00,0xa0,0x04,0x00,0x01,0xb6,0x02,0xb2,0x00,0x9e, +0x04,0x00,0x01,0x73,0x04,0x00,0x00,0xd7,0x05,0x8a,0x00,0x10,0x02,0x8b,0x00,0xdb, +0x05,0xf8,0xff,0xe7,0x06,0xf8,0xff,0xf3,0x03,0x44,0xff,0xed,0x06,0x80,0xff,0xf2, +0x06,0x99,0xff,0xe1,0x06,0x9b,0xff,0xdb,0x02,0xb5,0x00,0x05,0x05,0x79,0x00,0x10, +0x05,0x7d,0x00,0xc9,0x04,0x75,0x00,0xc9,0x05,0x79,0x00,0x10,0x05,0x0e,0x00,0xc9, +0x05,0x7b,0x00,0x5c,0x06,0x04,0x00,0xc9,0x06,0x4c,0x00,0x73,0x02,0x5c,0x00,0xc9, +0x05,0x3f,0x00,0xc9,0x05,0x79,0x00,0x10,0x06,0xe7,0x00,0xc9,0x05,0xfc,0x00,0xc9, +0x05,0x0e,0x00,0xc9,0x06,0x4c,0x00,0x73,0x06,0x04,0x00,0xc9,0x04,0xd3,0x00,0xc9, +0x05,0x0e,0x00,0xc9,0x04,0xe3,0xff,0xfa,0x04,0xe3,0xff,0xfc,0x06,0x4c,0x00,0x73, +0x05,0x7b,0x00,0x3d,0x06,0x4c,0x00,0x73,0x06,0x1d,0x00,0x4e,0x02,0x5c,0x00,0x06, +0x04,0xe3,0xff,0xfc,0x05,0x46,0x00,0x71,0x04,0x63,0x00,0x85,0x05,0x3c,0x00,0xba, +0x02,0xb5,0x00,0xa6,0x04,0xa1,0x00,0x95,0x05,0x46,0x00,0x71,0x05,0x1b,0x00,0xbf, +0x04,0xbc,0x00,0x20,0x04,0xe5,0x00,0x71,0x04,0x53,0x00,0x85,0x04,0x5a,0x00,0x6a, +0x05,0x12,0x00,0xba,0x04,0xe5,0x00,0x71,0x02,0xb5,0x00,0xa6,0x04,0xb7,0x00,0xbf, +0x04,0xbc,0x00,0x3d,0x05,0x17,0x00,0xae,0x04,0x78,0x00,0x4a,0x04,0x76,0x00,0x6b, +0x04,0xe5,0x00,0x71,0x04,0xd1,0x00,0x4a,0x05,0x14,0x00,0xba,0x04,0xb2,0x00,0x71, +0x05,0x12,0x00,0x71,0x04,0xd1,0x00,0x64,0x04,0xa1,0x00,0x95,0x05,0x47,0x00,0x6f, +0x04,0x9f,0x00,0x3b,0x05,0x47,0x00,0x70,0x06,0xb3,0x00,0x87,0x02,0xb5,0x00,0x05, +0x04,0xa1,0x00,0x95,0x04,0xe5,0x00,0x71,0x04,0xa1,0x00,0x95,0x06,0xb3,0x00,0x87, +0x04,0xea,0x00,0xa6,0x04,0xf4,0x00,0x6f,0x05,0x97,0x00,0x57,0x06,0xbd,0xff,0xe1, +0x05,0x97,0x00,0x57,0x05,0x47,0x00,0x70,0x06,0xb3,0x00,0x41,0x05,0x4f,0x00,0x6f, +0x06,0x4c,0x00,0x73,0x04,0xe5,0x00,0x71,0x05,0x30,0x00,0x8b,0x04,0xb2,0x00,0x71, +0x04,0x9a,0x00,0xc9,0x03,0xab,0xff,0x40,0x05,0x47,0x00,0xb3,0x05,0x47,0x00,0xbf, +0x06,0xec,0x00,0x72,0x05,0x05,0x00,0x77,0x07,0x78,0x00,0x73,0x06,0xb3,0x00,0x87, +0x06,0x11,0x00,0x73,0x05,0x46,0x00,0x71,0x06,0x55,0x00,0xc9,0x04,0xeb,0x00,0x2d, +0x05,0x7e,0x00,0x4f,0x04,0xdb,0x00,0x64,0x06,0x24,0x00,0x73,0x05,0x00,0x00,0x36, +0x05,0x98,0x00,0x73,0x04,0xe5,0x00,0x71,0x04,0xe3,0x00,0x2c,0x04,0x4a,0x00,0x37, +0x05,0x4f,0x00,0x6f,0x05,0x14,0x00,0xb7,0x04,0x66,0x00,0x71,0x02,0x39,0xff,0xdb, +0x06,0x4c,0x00,0x73,0x04,0xec,0x00,0x71,0x04,0xec,0x00,0xc4,0x04,0xd7,0x00,0xc9, +0x05,0x14,0x00,0xba,0x05,0x96,0x00,0x73,0x06,0xe7,0x00,0xc9,0x05,0x35,0x00,0x7f, +0x05,0x14,0x00,0x55,0x05,0x96,0x00,0x79,0x05,0x96,0x00,0x73,0x05,0x96,0x00,0x79, +0x05,0x0e,0x00,0xc9,0x05,0x0e,0x00,0xc9,0x06,0x4a,0xff,0xfa,0x04,0x75,0x00,0xc9, +0x05,0x96,0x00,0x73,0x05,0x14,0x00,0x87,0x02,0x5c,0x00,0xc9,0x02,0x5c,0x00,0x06, +0x02,0x5c,0xff,0x96,0x08,0xc0,0x00,0x36,0x08,0x5c,0x00,0xc9,0x06,0x4a,0xff,0xfa, +0x05,0x3f,0x00,0xc9,0x05,0xfc,0x00,0xc9,0x04,0xe0,0x00,0x23,0x06,0x04,0x00,0xc9, +0x05,0x79,0x00,0x10,0x05,0x7d,0x00,0xc9,0x05,0x7d,0x00,0xc9,0x04,0x75,0x00,0xc9, +0x06,0x36,0x00,0x31,0x05,0x0e,0x00,0xc9,0x06,0xe8,0x00,0x3b,0x05,0x17,0x00,0x9c, +0x05,0xfc,0x00,0xc9,0x05,0xfc,0x00,0xc9,0x05,0x3f,0x00,0xc9,0x06,0x04,0x00,0x36, +0x06,0xe7,0x00,0xc9,0x06,0x04,0x00,0xc9,0x06,0x4c,0x00,0x73,0x06,0x04,0x00,0xc9, +0x04,0xd3,0x00,0xc9,0x05,0x96,0x00,0x73,0x04,0xe3,0xff,0xfa,0x04,0xe0,0x00,0x23, +0x06,0x4c,0x00,0x73,0x05,0x7b,0x00,0x3d,0x06,0x36,0x00,0xc9,0x05,0x7c,0x00,0xaf, +0x08,0x06,0x00,0xc9,0x08,0x34,0x00,0xc9,0x06,0xa9,0x00,0x32,0x07,0x0f,0x00,0xc9, +0x05,0x7d,0x00,0xc9,0x05,0x96,0x00,0x6f,0x08,0x3f,0x00,0xd3,0x05,0x8f,0x00,0x3b, +0x04,0xe7,0x00,0x7b,0x04,0xe5,0x00,0x71,0x04,0xb0,0x00,0xba,0x03,0xee,0x00,0xba, +0x05,0x60,0x00,0x32,0x04,0xec,0x00,0x71,0x05,0xde,0x00,0x32,0x04,0x53,0x00,0x85, +0x05,0x41,0x00,0xc1,0x05,0x41,0x00,0xc1,0x04,0xd5,0x00,0xbf,0x05,0x1d,0x00,0x2e, +0x06,0x09,0x00,0xc1,0x05,0x49,0x00,0xc1,0x04,0xe5,0x00,0x71,0x05,0x47,0x00,0xc1, +0x05,0x14,0x00,0xba,0x04,0x66,0x00,0x71,0x04,0x3b,0x00,0x05,0x04,0xbc,0x00,0x3d, +0x07,0x55,0x00,0x71,0x04,0xbc,0x00,0x3b,0x05,0x72,0x00,0xc1,0x04,0xba,0x00,0x96, +0x06,0xfb,0x00,0xc1,0x07,0x24,0x00,0xc1,0x05,0xa0,0x00,0x2a,0x06,0x1f,0x00,0xc1, +0x04,0xb7,0x00,0xc1,0x04,0x64,0x00,0x71,0x06,0x80,0x00,0xc1,0x04,0xd0,0x00,0x32, +0x04,0xec,0x00,0x71,0x04,0xec,0x00,0x71,0x05,0x27,0x00,0x28,0x03,0xee,0x00,0xba, +0x04,0x64,0x00,0x71,0x04,0x2b,0x00,0x6f,0x02,0x39,0x00,0xc1,0x02,0x39,0xff,0xf4, +0x02,0x39,0xff,0xdb,0x07,0x30,0x00,0x2e,0x07,0x22,0x00,0xc1,0x05,0x19,0x00,0x28, +0x04,0xd5,0x00,0xbf,0x05,0x41,0x00,0xc1,0x04,0xbc,0x00,0x3d,0x05,0x4c,0x00,0xc1, +0x07,0x78,0x00,0x73,0x06,0xb3,0x00,0x87,0x05,0x7d,0x00,0x21,0x04,0xb7,0x00,0x3a, +0x07,0x8a,0x00,0xd3,0x05,0xfe,0x00,0xc1,0x07,0x09,0x00,0x10,0x06,0x44,0x00,0x33, +0x09,0x47,0x00,0xc9,0x08,0x03,0x00,0xc1,0x06,0x4c,0x00,0x73,0x04,0xe5,0x00,0x6b, +0x08,0x37,0x00,0xc9,0x06,0x98,0x00,0xc1,0x05,0x17,0x00,0x73,0x04,0x53,0x00,0x5b, +0x06,0x4c,0x00,0x73,0x05,0x47,0x00,0x70,0x06,0x4c,0x00,0x73,0x04,0xe5,0x00,0x71, +0x06,0x40,0x00,0x10,0x05,0x52,0x00,0x32,0x06,0x40,0x00,0x10,0x05,0x52,0x00,0x32, +0x05,0x96,0x00,0x71,0x04,0xe2,0x00,0x71,0x07,0xa0,0x00,0x73,0x06,0x11,0x00,0x71, +0x07,0x78,0x00,0x73,0x06,0xb3,0x00,0x87,0x07,0x78,0x00,0x73,0x06,0xb3,0x00,0x87, +0x05,0x96,0x00,0x73,0x04,0x66,0x00,0x71,0x04,0xc0,0x00,0x32,0x00,0x00,0xfb,0xda, +0x00,0x00,0xfb,0xf7,0x00,0x00,0xfc,0x22,0x00,0x00,0xfc,0x22,0x03,0x58,0xf7,0xd6, +0x03,0x58,0xf8,0x58,0x06,0x2e,0x00,0xc9,0x05,0x6a,0x00,0xc1,0x05,0x7d,0x00,0x21, +0x04,0xb7,0x00,0x26,0x04,0xd3,0x00,0xc9,0x05,0x14,0x00,0xba,0x04,0x75,0x00,0xc9, +0x03,0xee,0x00,0xba,0x04,0x75,0x00,0x47,0x03,0xee,0x00,0x38,0x04,0xfe,0x00,0xc9, +0x04,0x3d,0x00,0xba,0x06,0xe8,0x00,0x3b,0x05,0xde,0x00,0x32,0x05,0x17,0x00,0x9c, +0x04,0x53,0x00,0x85,0x05,0x3f,0x00,0xc9,0x04,0xd5,0x00,0xbf,0x05,0x3f,0x00,0xc9, +0x04,0xd5,0x00,0xbf,0x05,0x3f,0x00,0x21,0x04,0xa2,0x00,0x3d,0x06,0x6b,0x00,0x32, +0x05,0xbf,0x00,0x2a,0x06,0x04,0x00,0xc9,0x05,0x49,0x00,0xc1,0x08,0x1d,0x00,0xc9, +0x07,0x04,0x00,0xc1,0x08,0xa6,0x00,0xc9,0x07,0x53,0x00,0xc1,0x06,0x5e,0x00,0x73, +0x05,0x36,0x00,0x71,0x05,0x96,0x00,0x73,0x04,0x66,0x00,0x71,0x04,0xe3,0xff,0xfa, +0x04,0x3b,0x00,0x05,0x04,0xe3,0xff,0xfc,0x04,0xbc,0x00,0x3d,0x04,0xe3,0xff,0xfc, +0x04,0xbc,0x00,0x3d,0x05,0x7b,0x00,0x3d,0x04,0xbc,0x00,0x3b,0x07,0x79,0xff,0xfa, +0x06,0x74,0x00,0x05,0x05,0x7c,0x00,0xaf,0x04,0xba,0x00,0x96,0x05,0x7c,0x00,0xaf, +0x04,0xba,0x00,0x96,0x05,0x7c,0x00,0xaf,0x05,0x12,0x00,0xba,0x07,0x87,0x00,0x14, +0x05,0xd3,0x00,0x0f,0x07,0x87,0x00,0x14,0x05,0xd3,0x00,0x0f,0x02,0x39,0x00,0xc1, +0x06,0xe8,0x00,0x3b,0x05,0xde,0x00,0x32,0x05,0x3f,0x00,0xc9,0x04,0xd5,0x00,0xbf, +0x06,0x35,0x00,0x36,0x05,0x5d,0x00,0x2e,0x06,0x04,0x00,0xc9,0x05,0x49,0x00,0xc1, +0x06,0x36,0x00,0xc9,0x05,0x72,0x00,0xc1,0x05,0x7c,0x00,0xaf,0x04,0xba,0x00,0x96, +0x07,0x1a,0x00,0xc9,0x06,0x32,0x00,0xc1,0x05,0x79,0x00,0x10,0x04,0xe7,0x00,0x7b, +0x05,0x79,0x00,0x10,0x04,0xe7,0x00,0x7b,0x07,0xcb,0x00,0x08,0x07,0xdb,0x00,0x7b, +0x05,0x0e,0x00,0xc9,0x04,0xec,0x00,0x71,0x06,0x4c,0x00,0x73,0x04,0xec,0x00,0x71, +0x06,0x4c,0x00,0x73,0x04,0xec,0x00,0x71,0x06,0xe8,0x00,0x3b,0x05,0xde,0x00,0x32, +0x05,0x17,0x00,0x9c,0x04,0x53,0x00,0x85,0x05,0x54,0x00,0xa0,0x04,0x9f,0x00,0x58, +0x05,0xfc,0x00,0xc9,0x05,0x41,0x00,0xc1,0x05,0xfc,0x00,0xc9,0x05,0x41,0x00,0xc1, +0x06,0x4c,0x00,0x73,0x04,0xe5,0x00,0x71,0x06,0x4c,0x00,0x73,0x04,0xe5,0x00,0x71, +0x06,0x4c,0x00,0x73,0x04,0xe5,0x00,0x71,0x05,0x96,0x00,0x6f,0x04,0x64,0x00,0x71, +0x04,0xe0,0x00,0x23,0x04,0xbc,0x00,0x3d,0x04,0xe0,0x00,0x23,0x04,0xbc,0x00,0x3d, +0x04,0xe0,0x00,0x23,0x04,0xbc,0x00,0x3d,0x05,0x7c,0x00,0xaf,0x04,0xba,0x00,0x96, +0x04,0x75,0x00,0xc9,0x03,0xee,0x00,0xba,0x07,0x0f,0x00,0xc9,0x06,0x1f,0x00,0xc1, +0x05,0x7d,0x00,0x91,0x04,0xb7,0x00,0x71,0x08,0x0c,0x00,0x91,0x07,0x2d,0x00,0x71, +0x07,0xcc,0x00,0xc9,0x06,0xf4,0x00,0xab,0x05,0x6e,0x00,0xc9,0x04,0xb5,0x00,0xab, +0x08,0x93,0x00,0x36,0x07,0xa8,0x00,0x2e,0x08,0x94,0x00,0xc9,0x07,0xbd,0x00,0xc1, +0x06,0x33,0x00,0x73,0x05,0x47,0x00,0x71,0x06,0x2f,0xff,0xfa,0x05,0xb0,0x00,0x05, +0x06,0xef,0x00,0xb2,0x05,0xdb,0x00,0xb2,0x07,0x0f,0x00,0xb2,0x07,0x0f,0x00,0xb2, +0x05,0xdb,0x00,0xb2,0x05,0x26,0x00,0x9b,0x05,0xdb,0x00,0xb2,0x05,0xdb,0x00,0xb2, +0x06,0xce,0x00,0xb2,0x07,0x0f,0x00,0xb2,0x05,0xdb,0x00,0xb2,0x05,0x08,0x00,0xb2, +0x06,0x97,0x00,0xb2,0x07,0xe4,0x00,0x41,0x05,0xdb,0x00,0xb2,0x05,0xa8,0x00,0xb2, +0x05,0x26,0x00,0x8f,0x07,0x0f,0x00,0xb2,0x06,0x37,0x00,0x5c,0x07,0x0f,0x00,0xb2, +0x05,0xdb,0x00,0x8c,0x06,0xb9,0x00,0x5c,0x05,0xdb,0x00,0xb2,0x05,0xdb,0x00,0xb2, +0x05,0xdb,0x00,0xb2,0x06,0x53,0x00,0xb2,0x05,0x26,0x00,0x9b,0x07,0x0f,0x00,0xb2, +0x05,0xdb,0x00,0xb2,0x07,0x0f,0x00,0xb2,0x05,0x14,0x00,0x87,0x05,0xdb,0x00,0xb2, +0x05,0xdb,0x00,0x8c,0x06,0x65,0x00,0xb2,0x06,0x4c,0x00,0x73,0x06,0x52,0x00,0x5c, +0x06,0x4c,0x00,0x73,0x05,0x14,0x00,0x87,0x02,0x75,0x00,0x75,0x02,0x8b,0x00,0xb2, +0x04,0x00,0x00,0x5e,0x04,0x00,0x00,0x78,0x03,0x22,0x00,0x9e,0x04,0x36,0x00,0x5e, +0x04,0x00,0x00,0x5a,0x07,0xcb,0x00,0xba,0x05,0x12,0x00,0xba,0x05,0x4c,0x00,0x71, +0x05,0x56,0x00,0xba,0x05,0x12,0x00,0xae,0x05,0x4c,0x00,0x71,0x04,0x68,0x00,0xae, +0x05,0x12,0x00,0xba,0x05,0x78,0x00,0xba,0x05,0x64,0x00,0x71,0x05,0x12,0x00,0xba, +0x03,0x00,0x00,0xc1,0x07,0xbd,0x00,0xba,0x05,0x0f,0x00,0x71,0x05,0x12,0x00,0xae, +0x05,0x12,0x00,0xba,0x05,0x14,0x00,0x71,0x05,0x56,0x00,0xba,0x05,0x12,0x00,0xae, +0x05,0x46,0x00,0xae,0x02,0x39,0xff,0xdb,0x06,0x14,0x00,0x31,0x04,0x20,0x00,0x9f, +0x05,0x12,0x00,0xba,0x03,0x94,0x00,0x7a,0x07,0xcb,0x00,0xba,0x04,0x20,0x00,0x78, +0x05,0x12,0x00,0xba,0x05,0x12,0x00,0xae,0x05,0x4a,0x00,0xae,0x07,0xca,0x00,0xae, +0x05,0x12,0x00,0xba,0x05,0x14,0x00,0x71,0x03,0x00,0x00,0xc1,0x07,0xca,0x00,0xae, +0x05,0x2c,0x00,0x00,0x04,0xe5,0x00,0x71,0x04,0xe8,0x00,0x7a,0x05,0x92,0x00,0xae, +0x02,0xb2,0x00,0xf0,0x04,0x3d,0x00,0x6c,0x02,0x95,0x00,0xdb,0x00,0x00,0x00,0xfb, +0x02,0x8b,0x00,0xdb,0x04,0x3f,0x00,0x93,0x03,0xc3,0x00,0xa3,0x02,0x39,0xff,0xb5, +0x02,0x39,0x00,0x6c,0x03,0xdd,0xff,0xab,0x02,0x39,0x00,0x6c,0x06,0x43,0x00,0x82, +0x02,0x39,0x00,0xc1,0x07,0x88,0x00,0x81,0x04,0x31,0x00,0x8b,0x07,0x88,0x00,0x81, +0x07,0x88,0x00,0x81,0x05,0x2a,0x00,0x9d,0x05,0x2a,0x00,0x9d,0x05,0x2a,0x00,0x9d, +0x03,0x90,0x00,0x7d,0x03,0x90,0x00,0x7d,0x03,0xdd,0xff,0xab,0x03,0xdd,0xff,0xab, +0x09,0xc4,0x00,0x82,0x09,0xc4,0x00,0x82,0x09,0xac,0x00,0x82,0x09,0xac,0x00,0x82, +0x07,0x66,0x00,0x90,0x07,0x66,0x00,0x90,0x04,0xc6,0x00,0x74,0x04,0xc6,0x00,0x74, +0x02,0x58,0xff,0xec,0x08,0x4b,0x00,0x81,0x06,0x35,0x00,0x6b,0x06,0x98,0x00,0x90, +0x05,0xd0,0x00,0x8f,0x04,0xf4,0x00,0x8c,0x05,0xe0,0x00,0x93,0x04,0x31,0x00,0x8b, +0x03,0xdd,0xff,0xab,0x06,0x43,0x00,0x82,0x06,0x43,0x00,0x82,0x00,0x00,0x00,0xdc, +0x00,0x00,0x00,0xdc,0x00,0x00,0x00,0xdc,0x00,0x00,0x00,0xdc,0x00,0x00,0x00,0xdc, +0x00,0x00,0x00,0xdc,0x00,0x00,0x00,0xc8,0x00,0x00,0x00,0xec,0x00,0x00,0x00,0x98, +0x00,0x00,0x01,0x4f,0x00,0x00,0x01,0x4f,0x04,0x4c,0x01,0xb8,0x04,0x4c,0x01,0x16, +0x04,0x4c,0x00,0x52,0x04,0x4c,0x00,0x4c,0x04,0x4c,0x00,0xaf,0x04,0x4c,0x00,0x87, +0x04,0x4c,0x00,0x55,0x04,0x4c,0x00,0x3c,0x04,0x4c,0x00,0x3c,0x04,0x4c,0x00,0x63, +0x04,0x4c,0x00,0x85,0x02,0x99,0x00,0x00,0x02,0x8b,0x00,0xb2,0x04,0x5c,0x00,0x57, +0x07,0x88,0x00,0x81,0x06,0x35,0x00,0x6b,0x02,0x56,0x00,0x7a,0x07,0x88,0x00,0x81, +0x07,0x88,0x00,0x81,0x07,0x88,0x00,0x81,0x07,0x88,0x00,0x81,0x07,0x88,0x00,0x81, +0x07,0x88,0x00,0x81,0x07,0x88,0x00,0x81,0x07,0x88,0x00,0x81,0x05,0x2a,0x00,0x9d, +0x05,0x2a,0x00,0x9d,0x05,0x2a,0x00,0x9d,0x05,0x2a,0x00,0x9d,0x05,0x2a,0x00,0x9d, +0x05,0x2a,0x00,0x9d,0x05,0x2a,0x00,0x9d,0x03,0xdd,0xff,0xab,0x03,0xdd,0xff,0xab, +0x08,0x4b,0x00,0x81,0x08,0x4b,0x00,0x81,0x08,0x4b,0x00,0x81,0x07,0x29,0x00,0x81, +0x07,0x29,0x00,0x81,0x05,0xe0,0x00,0x93,0x05,0x2a,0x00,0x9d,0x06,0x43,0x00,0x82, +0x04,0x4c,0x01,0xb8,0x04,0x4c,0x01,0x16,0x04,0x4c,0x00,0x52,0x04,0x4c,0x00,0x4c, +0x04,0x4c,0x00,0x52,0x04,0x4c,0x00,0x6a,0x04,0x4c,0x00,0xd0,0x04,0x4c,0x00,0x3c, +0x04,0x4c,0x00,0x3c,0x04,0x4c,0x00,0x63,0x07,0xdb,0x00,0x7b,0x04,0x53,0x00,0x82, +0x02,0x39,0x00,0xc1,0x08,0x2f,0x00,0x71,0x04,0xe5,0x00,0x71,0x04,0xe5,0x00,0x71, +0x05,0xe5,0x00,0xae,0x07,0x95,0x00,0xae,0x05,0x1a,0x00,0x2f,0x03,0x22,0x00,0x4d, +0x03,0x22,0x00,0x4d,0x03,0x3e,0x00,0x47,0x05,0x2f,0x00,0x4d,0x03,0x6d,0x00,0x75, +0x03,0x3e,0x00,0x47,0x03,0x56,0x00,0x47,0x03,0x56,0x00,0x47,0x02,0xe2,0x00,0x53, +0x02,0xe0,0x00,0x51,0x03,0x3e,0x00,0x47,0x01,0x6e,0x00,0x79,0x03,0x68,0x00,0x75, +0x04,0xfc,0x00,0x75,0x03,0x45,0x00,0x75,0x03,0x4f,0x00,0x47,0x02,0xf6,0x00,0x47, +0x03,0x4f,0x00,0x47,0x03,0x4f,0x00,0x47,0x03,0x6d,0x00,0x75,0x02,0x5c,0x00,0x22, +0x03,0x3d,0x00,0x6d,0x03,0xc2,0x00,0x6d,0x04,0xfc,0x00,0x75,0x03,0x56,0x00,0x26, +0x05,0x14,0x00,0xba,0x02,0xf9,0x00,0x74,0x02,0x39,0x00,0x91,0x03,0x3e,0x00,0x47, +0x02,0xf6,0x00,0x47,0x02,0xf6,0x00,0x47,0x03,0x4f,0x00,0x47,0x02,0xe2,0x00,0x53, +0x02,0x5f,0x00,0x1d,0x01,0xdd,0xff,0xe9,0x03,0x3e,0x00,0x47,0x03,0x3d,0x00,0x6d, +0x02,0x17,0x00,0x49,0x01,0xff,0x00,0x79,0x02,0x16,0x00,0x49,0x02,0x17,0x00,0x49, +0x01,0xe0,0xff,0x56,0x01,0xff,0x00,0x79,0x01,0xe1,0x00,0x5b,0x03,0x03,0x00,0x70, +0x04,0xfc,0x00,0x75,0x04,0xfc,0x00,0x75,0x03,0x49,0xff,0xe9,0x03,0xd6,0x00,0x75, +0x03,0x45,0x00,0x70,0x03,0x4f,0x00,0x47,0x03,0x4f,0x00,0x47,0x02,0xe2,0x00,0x45, +0x02,0x4b,0xff,0xe9,0x02,0x5c,0x00,0x22,0x04,0x10,0x00,0x5e,0x03,0x59,0x00,0x47, +0x03,0x40,0x00,0x79,0x03,0x56,0x00,0x26,0x02,0xee,0x00,0x37,0x03,0x7e,0x00,0x37, +0x02,0xee,0x00,0x37,0x03,0x23,0x00,0x37,0x03,0x4f,0x00,0x47,0x05,0x79,0x00,0x10, +0x04,0xe7,0x00,0x7b,0x05,0x7d,0x00,0xc9,0x05,0x14,0x00,0xba,0x05,0x7d,0x00,0xc9, +0x05,0x14,0x00,0xba,0x05,0x7d,0x00,0xc9,0x05,0x14,0x00,0xba,0x05,0x96,0x00,0x73, +0x04,0x66,0x00,0x71,0x06,0x29,0x00,0xc9,0x05,0x14,0x00,0x71,0x06,0x29,0x00,0xc9, +0x05,0x14,0x00,0x71,0x06,0x29,0x00,0xc9,0x05,0x14,0x00,0x71,0x06,0x29,0x00,0xc9, +0x05,0x14,0x00,0x71,0x06,0x29,0x00,0xc9,0x05,0x14,0x00,0x71,0x05,0x0e,0x00,0xc9, +0x04,0xec,0x00,0x71,0x05,0x0e,0x00,0xc9,0x04,0xec,0x00,0x71,0x05,0x0e,0x00,0xc9, +0x04,0xec,0x00,0x71,0x05,0x0e,0x00,0xc9,0x04,0xec,0x00,0x71,0x05,0x0e,0x00,0xc9, +0x04,0xec,0x00,0x71,0x04,0x9a,0x00,0xc9,0x02,0xd1,0x00,0x2f,0x06,0x33,0x00,0x73, +0x05,0x14,0x00,0x71,0x06,0x04,0x00,0xc9,0x05,0x12,0x00,0xba,0x06,0x04,0x00,0xc9, +0x05,0x12,0x00,0xba,0x06,0x04,0x00,0xc9,0x05,0x12,0x00,0xba,0x06,0x04,0x00,0x11, +0x05,0x12,0x00,0x02,0x06,0x04,0x00,0xc9,0x05,0x12,0x00,0xba,0x02,0x5c,0x00,0x00, +0x02,0x39,0x00,0x27,0x02,0x5c,0x00,0x08,0x02,0x39,0xff,0xf4,0x05,0x3f,0x00,0xc9, +0x04,0xa2,0x00,0xba,0x05,0x3f,0x00,0xc9,0x04,0xa2,0x00,0xba,0x05,0x3f,0x00,0xc9, +0x04,0xa2,0x00,0xba,0x04,0x75,0x00,0xc9,0x02,0x39,0x00,0xb6,0x04,0x75,0x00,0xc9, +0x02,0x39,0xff,0xf2,0x04,0x75,0x00,0xc9,0x02,0x39,0x00,0x27,0x04,0x75,0x00,0xc9, +0x02,0x39,0xff,0xde,0x06,0xe7,0x00,0xc9,0x07,0xcb,0x00,0xba,0x06,0xe7,0x00,0xc9, +0x07,0xcb,0x00,0xba,0x06,0xe7,0x00,0xc9,0x07,0xcb,0x00,0xba,0x05,0xfc,0x00,0xc9, +0x05,0x12,0x00,0xba,0x05,0xfc,0x00,0xc9,0x05,0x12,0x00,0xba,0x05,0xfc,0x00,0xc9, +0x05,0x12,0x00,0xba,0x05,0xfc,0x00,0xc9,0x05,0x12,0x00,0xba,0x06,0x4c,0x00,0x73, +0x04,0xe5,0x00,0x71,0x06,0x4c,0x00,0x73,0x04,0xe5,0x00,0x71,0x06,0x4c,0x00,0x73, +0x04,0xe5,0x00,0x71,0x06,0x4c,0x00,0x73,0x04,0xe5,0x00,0x71,0x04,0xd3,0x00,0xc9, +0x05,0x14,0x00,0xba,0x04,0xd3,0x00,0xc9,0x05,0x14,0x00,0xba,0x05,0x8f,0x00,0xc9, +0x03,0x4a,0x00,0xba,0x05,0x8f,0x00,0xc9,0x03,0x4a,0x00,0xba,0x05,0x8f,0x00,0xc9, +0x03,0x4a,0x00,0xba,0x05,0x8f,0x00,0xc9,0x03,0x4a,0x00,0x54,0x05,0x14,0x00,0x87, +0x04,0x2b,0x00,0x6f,0x05,0x14,0x00,0x87,0x04,0x2b,0x00,0x6f,0x05,0x14,0x00,0x87, +0x04,0x2b,0x00,0x6f,0x05,0x14,0x00,0x87,0x04,0x2b,0x00,0x6f,0x05,0x14,0x00,0x87, +0x04,0x2b,0x00,0x6f,0x04,0xe3,0xff,0xfa,0x03,0x23,0x00,0x37,0x04,0xe3,0xff,0xfa, +0x03,0x23,0x00,0x37,0x04,0xe3,0xff,0xfa,0x03,0x23,0x00,0x37,0x04,0xe3,0xff,0xfa, +0x03,0x23,0x00,0x37,0x05,0xdb,0x00,0xb2,0x05,0x12,0x00,0xae,0x05,0xdb,0x00,0xb2, +0x05,0x12,0x00,0xae,0x05,0xdb,0x00,0xb2,0x05,0x12,0x00,0xae,0x05,0xdb,0x00,0xb2, +0x05,0x12,0x00,0xae,0x05,0xdb,0x00,0xb2,0x05,0x12,0x00,0xae,0x05,0x79,0x00,0x10, +0x04,0xbc,0x00,0x3d,0x05,0x79,0x00,0x10,0x04,0xbc,0x00,0x3d,0x07,0xe9,0x00,0x44, +0x06,0x8b,0x00,0x56,0x07,0xe9,0x00,0x44,0x06,0x8b,0x00,0x56,0x07,0xe9,0x00,0x44, +0x06,0x8b,0x00,0x56,0x07,0xe9,0x00,0x44,0x06,0x8b,0x00,0x56,0x07,0xe9,0x00,0x44, +0x06,0x8b,0x00,0x56,0x05,0x7b,0x00,0x3d,0x04,0xbc,0x00,0x3b,0x05,0x7b,0x00,0x3d, +0x04,0xbc,0x00,0x3b,0x04,0xe3,0xff,0xfc,0x04,0xbc,0x00,0x3d,0x05,0x7b,0x00,0x5c, +0x04,0x33,0x00,0x58,0x05,0x7b,0x00,0x5c,0x04,0x33,0x00,0x58,0x05,0x7b,0x00,0x5c, +0x04,0x33,0x00,0x58,0x05,0x12,0x00,0xba,0x03,0x23,0x00,0x04,0x06,0x8b,0x00,0x56, +0x04,0xbc,0x00,0x3d,0x06,0x4f,0x00,0x7b,0x02,0xd1,0x00,0x2f,0x05,0x79,0x00,0x10, +0x04,0xe7,0x00,0x7b,0x05,0x79,0x00,0x10,0x04,0xe7,0x00,0x7b,0x05,0x79,0x00,0x10, +0x04,0xe7,0x00,0x7b,0x05,0x79,0xff,0xfe,0x04,0xe7,0xff,0x86,0x05,0x79,0x00,0x10, +0x04,0xe7,0x00,0x7b,0x05,0x79,0x00,0x10,0x04,0xe7,0x00,0x7b,0x05,0x79,0x00,0x10, +0x04,0xe7,0x00,0x7b,0x05,0x79,0x00,0x10,0x04,0xe7,0x00,0x7b,0x05,0x79,0x00,0x10, +0x04,0xe7,0x00,0x7b,0x05,0x79,0x00,0x10,0x04,0xe7,0x00,0x7b,0x05,0x79,0x00,0x10, +0x04,0xe7,0x00,0x7b,0x05,0x79,0x00,0x10,0x04,0xe7,0x00,0x7b,0x05,0x0e,0x00,0xc9, +0x04,0xec,0x00,0x71,0x05,0x0e,0x00,0xc9,0x04,0xec,0x00,0x71,0x05,0x0e,0x00,0xc9, +0x04,0xec,0x00,0x71,0x05,0x0e,0x00,0xc9,0x04,0xec,0x00,0x71,0x05,0x0e,0xff,0xec, +0x04,0xec,0xff,0xc6,0x05,0x0e,0x00,0xc9,0x04,0xec,0x00,0x71,0x05,0x0e,0x00,0xc9, +0x04,0xec,0x00,0x71,0x05,0x0e,0x00,0xc9,0x04,0xec,0x00,0x71,0x02,0x5c,0x00,0xc9, +0x02,0x39,0x00,0xc1,0x02,0x5c,0x00,0xc8,0x02,0x39,0x00,0xb7,0x06,0x4c,0x00,0x73, +0x04,0xe5,0x00,0x71,0x06,0x4c,0x00,0x73,0x04,0xe5,0x00,0x71,0x06,0x4c,0x00,0x73, +0x04,0xe5,0x00,0x71,0x06,0x4c,0x00,0x68,0x04,0xe5,0xff,0xb4,0x06,0x4c,0x00,0x73, +0x04,0xe5,0x00,0x71,0x06,0x4c,0x00,0x73,0x04,0xe5,0x00,0x71,0x06,0x4c,0x00,0x73, +0x04,0xe5,0x00,0x71,0x06,0x4c,0x00,0x67,0x04,0xe5,0x00,0x76,0x06,0x4c,0x00,0x67, +0x04,0xe5,0x00,0x76,0x06,0x4c,0x00,0x67,0x04,0xe5,0x00,0x76,0x06,0x4c,0x00,0x67, +0x04,0xe5,0x00,0x76,0x06,0x4c,0x00,0x67,0x04,0xe5,0x00,0x76,0x05,0xdb,0x00,0xb2, +0x05,0x12,0x00,0xae,0x05,0xdb,0x00,0xb2,0x05,0x12,0x00,0xae,0x05,0xdb,0x00,0xad, +0x05,0x12,0x00,0xb0,0x05,0xdb,0x00,0xad,0x05,0x12,0x00,0xb0,0x05,0xdb,0x00,0xad, +0x05,0x12,0x00,0xb0,0x05,0xdb,0x00,0xad,0x05,0x12,0x00,0xb0,0x05,0xdb,0x00,0xad, +0x05,0x12,0x00,0xb0,0x04,0xe3,0xff,0xfc,0x04,0xbc,0x00,0x3d,0x04,0xe3,0xff,0xfc, +0x04,0xbc,0x00,0x3d,0x04,0xe3,0xff,0xfc,0x04,0xbc,0x00,0x3d,0x04,0xe3,0xff,0xfc, +0x04,0xbc,0x00,0x3d,0x05,0x46,0x00,0x71,0x05,0x46,0x00,0x71,0x05,0x46,0x00,0x71, +0x05,0x46,0x00,0x71,0x05,0x46,0x00,0x71,0x05,0x46,0x00,0x71,0x05,0x46,0x00,0x71, +0x05,0x46,0x00,0x71,0x05,0x79,0x00,0x10,0x05,0x79,0x00,0x10,0x07,0x05,0x00,0x05, +0x07,0x05,0x00,0x06,0x06,0x27,0x00,0x07,0x06,0x69,0x00,0x04,0x05,0xaa,0x00,0x07, +0x05,0xf1,0x00,0x04,0x04,0x53,0x00,0x85,0x04,0x53,0x00,0x85,0x04,0x53,0x00,0x85, +0x04,0x53,0x00,0x85,0x04,0x53,0x00,0x85,0x04,0x53,0x00,0x85,0x05,0xb0,0x00,0x07, +0x05,0xb0,0x00,0x07,0x07,0xba,0x00,0x05,0x07,0xcc,0x00,0x06,0x07,0x30,0x00,0x07, +0x07,0x6c,0x00,0x04,0x05,0x12,0x00,0xba,0x05,0x12,0x00,0xba,0x05,0x12,0x00,0xba, +0x05,0x12,0x00,0xba,0x05,0x12,0x00,0xba,0x05,0x12,0x00,0xba,0x05,0x12,0x00,0xba, +0x05,0x12,0x00,0xba,0x06,0xb2,0x00,0x07,0x06,0xaf,0x00,0x07,0x08,0xb0,0x00,0x05, +0x08,0xb6,0x00,0x06,0x08,0x37,0x00,0x07,0x08,0x68,0x00,0x04,0x07,0x78,0x00,0x07, +0x07,0x93,0x00,0x04,0x02,0xb5,0x00,0x9b,0x02,0xb5,0x00,0x91,0x02,0xb5,0xff,0xb1, +0x02,0xb5,0xff,0xbb,0x02,0xb5,0x00,0x05,0x02,0xb5,0xff,0xd3,0x02,0xb5,0xff,0xcb, +0x02,0xb5,0xff,0xc6,0x03,0x0a,0x00,0x07,0x02,0xfe,0x00,0x07,0x05,0x14,0x00,0x05, +0x05,0x14,0x00,0x06,0x04,0x90,0x00,0x07,0x04,0xcc,0x00,0x04,0x03,0xea,0x00,0x07, +0x03,0xf1,0x00,0x04,0x04,0xe5,0x00,0x71,0x04,0xe5,0x00,0x71,0x04,0xe5,0x00,0x71, +0x04,0xe5,0x00,0x71,0x04,0xe5,0x00,0x71,0x04,0xe5,0x00,0x71,0x06,0x6f,0x00,0x07, +0x06,0xc9,0x00,0x07,0x08,0xc2,0x00,0x05,0x08,0xcc,0x00,0x06,0x07,0x82,0x00,0x07, +0x07,0xc3,0x00,0x04,0x04,0xa1,0x00,0x95,0x04,0xa1,0x00,0x95,0x04,0xa1,0x00,0x95, +0x04,0xa1,0x00,0x95,0x04,0xa1,0x00,0x95,0x04,0xa1,0x00,0x95,0x04,0xa1,0x00,0x95, +0x04,0xa1,0x00,0x95,0x06,0x45,0x00,0x07,0x07,0xfb,0x00,0x06,0x08,0x19,0x00,0x04, +0x07,0x2e,0x00,0x04,0x06,0xb3,0x00,0x87,0x06,0xb3,0x00,0x87,0x06,0xb3,0x00,0x87, +0x06,0xb3,0x00,0x87,0x06,0xb3,0x00,0x87,0x06,0xb3,0x00,0x87,0x06,0xb3,0x00,0x87, +0x06,0xb3,0x00,0x87,0x06,0x6b,0x00,0x07,0x06,0xbf,0x00,0x07,0x08,0xb7,0x00,0x05, +0x08,0xc3,0x00,0x06,0x07,0x91,0x00,0x07,0x07,0xc7,0x00,0x04,0x07,0x5f,0x00,0x07, +0x07,0x9e,0x00,0x04,0x05,0x46,0x00,0x71,0x05,0x46,0x00,0x71,0x04,0x53,0x00,0x85, +0x04,0x63,0x00,0x85,0x05,0x12,0x00,0xba,0x05,0x3c,0x00,0xba,0x02,0xb5,0xff,0x8d, +0x02,0xb5,0x00,0xa6,0x04,0xe5,0x00,0x71,0x04,0xe5,0x00,0x71,0x04,0xa1,0x00,0x95, +0x04,0xa1,0x00,0x95,0x06,0xb3,0x00,0x87,0x06,0xb3,0x00,0x87,0x05,0x46,0x00,0x71, +0x05,0x46,0x00,0x71,0x05,0x46,0x00,0x71,0x05,0x46,0x00,0x71,0x05,0x46,0x00,0x71, +0x05,0x46,0x00,0x71,0x05,0x46,0x00,0x71,0x05,0x46,0x00,0x71,0x05,0x79,0x00,0x10, +0x05,0x79,0x00,0x10,0x07,0x05,0x00,0x05,0x07,0x05,0x00,0x06,0x06,0x27,0x00,0x07, +0x06,0x69,0x00,0x04,0x05,0xaa,0x00,0x07,0x05,0xf1,0x00,0x04,0x05,0x12,0x00,0xba, +0x05,0x12,0x00,0xba,0x05,0x12,0x00,0xba,0x05,0x12,0x00,0xba,0x05,0x12,0x00,0xba, +0x05,0x12,0x00,0xba,0x05,0x12,0x00,0xba,0x05,0x12,0x00,0xba,0x06,0xb2,0x00,0x07, +0x06,0xaf,0x00,0x07,0x08,0xb0,0x00,0x05,0x08,0xb6,0x00,0x06,0x08,0x37,0x00,0x07, +0x08,0x68,0x00,0x04,0x07,0x78,0x00,0x07,0x07,0x93,0x00,0x04,0x06,0xb3,0x00,0x87, +0x06,0xb3,0x00,0x87,0x06,0xb3,0x00,0x87,0x06,0xb3,0x00,0x87,0x06,0xb3,0x00,0x87, +0x06,0xb3,0x00,0x87,0x06,0xb3,0x00,0x87,0x06,0xb3,0x00,0x87,0x06,0x6b,0x00,0x07, +0x06,0xbf,0x00,0x07,0x08,0xb7,0x00,0x05,0x08,0xc3,0x00,0x06,0x07,0x91,0x00,0x07, +0x07,0xc7,0x00,0x04,0x07,0x5f,0x00,0x07,0x07,0x9e,0x00,0x04,0x05,0x46,0x00,0x71, +0x05,0x46,0x00,0x71,0x05,0x46,0x00,0x71,0x05,0x46,0x00,0x71,0x05,0x46,0x00,0x71, +0x05,0x46,0x00,0x71,0x05,0x46,0x00,0x71,0x05,0x79,0x00,0x10,0x05,0x79,0x00,0x10, +0x05,0xbb,0xff,0xfc,0x05,0x8a,0x00,0x10,0x05,0x79,0x00,0x10,0x04,0x00,0x01,0x86, +0x04,0x00,0x01,0xb6,0x04,0x00,0x01,0x86,0x04,0x00,0x00,0xb6,0x04,0x00,0x00,0xb6, +0x05,0x12,0x00,0xba,0x05,0x12,0x00,0xba,0x05,0x3c,0x00,0xba,0x05,0x12,0x00,0xba, +0x05,0x12,0x00,0xba,0x06,0x70,0xff,0xfc,0x05,0xf8,0xff,0xe7,0x07,0x72,0xff,0xfc, +0x06,0xf8,0xff,0xf3,0x06,0x04,0x00,0xc9,0x04,0x00,0x00,0x89,0x04,0x00,0x00,0xb4, +0x04,0x00,0x00,0xb6,0x02,0xb5,0xff,0xeb,0x02,0xb5,0xff,0xe3,0x02,0xb5,0xff,0xd8, +0x02,0xb5,0x00,0x05,0x02,0xb5,0xff,0xe4,0x02,0xb5,0xff,0xe6,0x02,0x5c,0xff,0xf5, +0x02,0x5c,0x00,0x04,0x03,0xcd,0xff,0xfc,0x03,0x44,0xff,0xed,0x04,0x00,0x00,0x7e, +0x04,0x00,0x00,0x95,0x04,0x00,0x00,0xb6,0x04,0xa1,0x00,0x95,0x04,0xa1,0x00,0x95, +0x04,0xa1,0x00,0x95,0x04,0xa1,0x00,0x95,0x05,0x14,0x00,0xba,0x05,0x14,0x00,0xba, +0x04,0xa1,0x00,0x95,0x04,0xa1,0x00,0x95,0x04,0xe3,0xff,0xfc,0x04,0xe3,0xff,0xfc, +0x06,0xc3,0xff,0xfc,0x06,0x99,0xff,0xe1,0x05,0x7b,0x00,0x07,0x04,0x00,0x00,0xaa, +0x04,0x00,0x00,0xd7,0x04,0x00,0x00,0xaa,0x06,0xb3,0x00,0x87,0x06,0xb3,0x00,0x87, +0x06,0xb3,0x00,0x87,0x06,0xb3,0x00,0x87,0x06,0xb3,0x00,0x87,0x07,0x87,0xff,0xfc, +0x06,0x80,0xff,0xf2,0x07,0x61,0xff,0xfc,0x06,0x9b,0xff,0xdb,0x06,0x1d,0x00,0x4e, +0x04,0x00,0x01,0x73,0x04,0x00,0x01,0x86,0x04,0x00,0x00,0x00,0x08,0x00,0x00,0x00, +0x04,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x02,0xa3,0x00,0x00,0x02,0x00,0x00,0x00, +0x01,0x56,0x00,0x00,0x05,0x17,0x00,0x00,0x02,0x8b,0x00,0x00,0x01,0x99,0x00,0x00, +0x00,0xcc,0x00,0x00,0x02,0xe3,0x00,0x64,0x02,0xe3,0x00,0x64,0x04,0x00,0x00,0x00, +0x04,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x04,0x00,0x01,0x04, +0x04,0x00,0xff,0xec,0x02,0x8b,0x00,0xae,0x02,0x8b,0x00,0xb2,0x02,0x8b,0x00,0xae, +0x02,0x8b,0x00,0xb2,0x04,0x25,0x00,0xae,0x04,0x25,0x00,0xae,0x04,0x25,0x00,0xae, +0x04,0x25,0x00,0xae,0x04,0x00,0x00,0x39,0x04,0x00,0x00,0x39,0x04,0xb8,0x01,0x33, +0x04,0xb8,0x01,0x33,0x02,0xad,0x00,0xec,0x05,0x57,0x00,0xec,0x08,0x00,0x00,0xec, +0x02,0x8b,0x00,0xdc,0x0a,0xbc,0x00,0x71,0x0d,0xe2,0x00,0x71,0x02,0x33,0x00,0x6a, +0x03,0x78,0x00,0x6a,0x04,0xbd,0x00,0x6a,0x02,0x33,0x00,0x80,0x03,0x78,0x00,0x80, +0x04,0xbd,0x00,0x80,0x02,0xb6,0x00,0x0b,0x03,0x33,0x00,0x9e,0x03,0x33,0x00,0xc1, +0x06,0xb4,0x00,0xc3,0x03,0xe2,0x00,0x93,0x04,0x3f,0x00,0x93,0x04,0x00,0xff,0xec, +0x06,0x6e,0xff,0xa7,0x06,0x6e,0xff,0xa7,0x02,0x00,0xff,0xaa,0x08,0x00,0x00,0x3d, +0x04,0x00,0x00,0xdd,0x01,0x56,0xfe,0x89,0x03,0x1f,0x00,0xb0,0x03,0x1f,0x00,0xb0, +0x07,0x60,0x00,0x49,0x05,0xdd,0x00,0x93,0x05,0xdd,0x00,0x93,0x03,0xf0,0x00,0x6f, +0x05,0x17,0x00,0xec,0x04,0x00,0x00,0xd8,0x04,0x00,0x00,0xd8,0x04,0x00,0x00,0x3d, +0x02,0xb2,0x01,0x1d,0x06,0x6e,0xff,0xa7,0x04,0x00,0x00,0x3d,0x03,0x99,0x00,0x91, +0x06,0xb4,0x00,0xd9,0x06,0x6e,0xff,0xa7,0x06,0xb4,0x01,0x38,0x04,0xb0,0x00,0xfa, +0x05,0x4e,0x00,0x28,0x06,0xb4,0x01,0x66,0x06,0xb4,0x01,0x66,0x02,0x8b,0x00,0xdb, +0x06,0x61,0x00,0x64,0x06,0xb4,0x00,0x70,0x02,0x8b,0x00,0xdb,0x02,0x8b,0x00,0xdb, +0x03,0x35,0x00,0x57,0x01,0x6e,0x00,0x7a,0x03,0x35,0x00,0x3f,0x03,0x35,0x00,0x66, +0x03,0x35,0x00,0x5c,0x03,0x35,0x00,0x6c,0x03,0x35,0x00,0x59,0x03,0x35,0x00,0x53, +0x04,0x39,0x00,0x89,0x04,0x39,0x00,0x89,0x04,0x39,0x00,0x89,0x01,0xf7,0x00,0x6f, +0x01,0xf7,0x00,0x67,0x03,0x31,0x00,0x75,0x03,0x35,0x00,0x57,0x03,0x35,0x00,0x89, +0x03,0x35,0x00,0x5e,0x03,0x35,0x00,0x62,0x03,0x35,0x00,0x3f,0x03,0x35,0x00,0x66, +0x03,0x35,0x00,0x5c,0x03,0x35,0x00,0x6c,0x03,0x35,0x00,0x59,0x03,0x35,0x00,0x53, +0x04,0x39,0x00,0x89,0x04,0x39,0x00,0x89,0x04,0x39,0x00,0x89,0x01,0xf7,0x00,0x6f, +0x01,0xf7,0x00,0x67,0x07,0x04,0x00,0x56,0x05,0x17,0x00,0x73,0x05,0x17,0x00,0x60, +0x05,0x17,0x00,0x85,0x05,0x17,0x00,0x81,0x07,0xcb,0x00,0xba,0x05,0xfc,0x00,0x75, +0x0a,0x2e,0x00,0xc9,0x08,0x97,0x00,0xc9,0x07,0xe9,0x00,0x3b,0x06,0x46,0x00,0x5f, +0x05,0x17,0x00,0x81,0x05,0x17,0x00,0x00,0x05,0x17,0x00,0x28,0x05,0x17,0x00,0x14, +0x08,0x75,0x00,0x1b,0x05,0x17,0x00,0x44,0x06,0x31,0x00,0x75,0x05,0x21,0x00,0xaa, +0x08,0x26,0x00,0x43,0x08,0xfc,0x00,0xc3,0x05,0x23,0xff,0xd6,0x08,0x26,0x00,0x3c, +0x08,0x89,0x00,0x3c,0x07,0x9d,0x00,0xc3,0x05,0x12,0x00,0x48,0x05,0x12,0x00,0x22, +0x05,0x94,0x00,0x6a,0x03,0x4e,0xff,0xe4,0x09,0x51,0x00,0xc9,0x08,0x00,0x01,0x1b, +0x05,0x94,0x00,0x6e,0x06,0x83,0x00,0x53,0x06,0x57,0x00,0x76,0x07,0x2c,0x00,0xa9, +0x08,0x28,0x01,0x03,0x08,0x98,0xff,0xfc,0x08,0x00,0x01,0x27,0x06,0x1d,0x00,0x4e, +0x06,0x1d,0x00,0x4e,0x05,0x3f,0x00,0xc9,0x05,0x79,0x00,0x10,0x06,0xd6,0x00,0x7d, +0x04,0x9a,0x00,0xc9,0x03,0xb2,0x00,0x68,0x05,0xf6,0x00,0x67,0x09,0x8d,0x00,0x97, +0x06,0x3d,0x00,0x3b,0x07,0xc1,0x00,0x89,0x07,0xc1,0x00,0x5e,0x07,0xc1,0x00,0x89, +0x07,0xc1,0x00,0x5e,0x07,0xc1,0x00,0x62,0x07,0xc1,0x00,0x3f,0x07,0xc1,0x00,0x89, +0x07,0xc1,0x00,0x66,0x07,0xc1,0x00,0x89,0x07,0xc1,0x00,0x62,0x07,0xc1,0x00,0x66, +0x07,0xc1,0x00,0x6c,0x04,0x8b,0x00,0x89,0x02,0x5c,0x00,0xc9,0x03,0xf0,0x00,0xc9, +0x05,0x84,0x00,0xc9,0x07,0x62,0x00,0xc9,0x05,0x79,0x00,0x10,0x07,0x61,0x00,0x10, +0x08,0xf5,0x00,0x10,0x0a,0x89,0x00,0x10,0x07,0x57,0x00,0xc9,0x05,0x7b,0x00,0x3d, +0x07,0x77,0x00,0x3d,0x09,0x0d,0x00,0x3d,0x04,0x75,0x00,0xc9,0x05,0x96,0x00,0x73, +0x06,0x29,0x00,0xc9,0x06,0xe7,0x00,0xc9,0x02,0x39,0x00,0xc1,0x03,0xa9,0x00,0xc1, +0x05,0x19,0x00,0xc1,0x06,0x7e,0x00,0xc1,0x04,0xbc,0x00,0x3d,0x06,0x7d,0x00,0x3d, +0x07,0xed,0x00,0x3d,0x09,0x5d,0x00,0x3d,0x06,0x8d,0x00,0xc1,0x04,0xbc,0x00,0x3b, +0x06,0x94,0x00,0x3b,0x08,0x04,0x00,0x3b,0x02,0x39,0x00,0xc1,0x04,0x66,0x00,0x71, +0x05,0x14,0x00,0x71,0x07,0xcb,0x00,0xba,0x09,0xf6,0x00,0x79,0x06,0x29,0x00,0xc9, +0x09,0xf6,0x00,0x79,0x05,0x96,0x00,0x73,0x06,0x8a,0x00,0x78,0x03,0xf4,0x00,0xfa, +0x06,0x8a,0x00,0x78,0x03,0xf4,0x00,0xfa,0x06,0x8a,0x00,0x78,0x03,0xf4,0x00,0xfa, +0x06,0x8a,0x01,0x33,0x06,0x8a,0x01,0x33,0x06,0x8a,0x01,0x33,0x06,0x8a,0x01,0x33, +0x06,0x8a,0x00,0x78,0x06,0x8a,0x00,0x78,0x06,0x8a,0x00,0xcd,0x06,0x8a,0x00,0xcd, +0x06,0x8a,0x00,0x78,0x03,0xf4,0x00,0xfa,0x06,0x8a,0x00,0x78,0x03,0xf4,0x00,0xfa, +0x06,0x8a,0x00,0x78,0x06,0x8a,0x00,0x78,0x06,0x8a,0x00,0x78,0x03,0xf4,0x00,0xf8, +0x06,0x8a,0x00,0x78,0x03,0xf4,0x00,0xf8,0x03,0xf4,0x00,0x78,0x03,0xf4,0x00,0x78, +0x03,0xf4,0x00,0x96,0x03,0xf4,0x00,0x78,0x03,0xf4,0x00,0x96,0x03,0xf4,0x00,0x78, +0x06,0x8a,0x00,0x78,0x06,0x8a,0x00,0x48,0x06,0x8a,0x00,0x48,0x06,0x8a,0x01,0x33, +0x06,0x8a,0x00,0x78,0x06,0x8a,0x00,0x59,0x06,0x8a,0x00,0x6e,0x06,0x8a,0x00,0x78, +0x06,0x8a,0x00,0x78,0x04,0x00,0x01,0xc0,0x04,0x00,0x01,0x00,0x06,0x8a,0x00,0x78, +0x06,0x8a,0x00,0x78,0x04,0x00,0x01,0xc0,0x04,0x00,0x01,0x00,0x06,0x8a,0x00,0x77, +0x06,0x8a,0x01,0x4a,0x06,0x8a,0x00,0x77,0x06,0x8a,0x00,0x77,0x06,0x8a,0x01,0xa0, +0x06,0x8a,0x00,0x77,0x06,0x8a,0x01,0xa0,0x06,0x8a,0x00,0x78,0x06,0x8a,0x00,0x78, +0x06,0xb4,0x00,0x64,0x06,0xb4,0x01,0xa5,0x06,0xb4,0x00,0x75,0x06,0xb4,0x01,0xa5, +0x06,0xb4,0x00,0x64,0x05,0x79,0x00,0x10,0x05,0x17,0x00,0x87,0x04,0x23,0x00,0x68, +0x05,0x0e,0x00,0xc9,0x05,0x0e,0x00,0x9f,0x06,0xf8,0x00,0x9b,0x05,0x5a,0xff,0xfa, +0x05,0x5a,0xff,0xfa,0x06,0xf8,0x00,0xaf,0x06,0xf8,0x00,0xaf,0x06,0x54,0x00,0xd9, +0x06,0xf8,0x00,0xaf,0x06,0xf8,0x00,0xaf,0x06,0x54,0x00,0xd9,0x05,0x17,0x01,0x2c, +0x06,0x0e,0x00,0x9c,0x06,0x0e,0x00,0x9c,0x05,0x64,0x00,0x19,0x06,0xb4,0x00,0xd9, +0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9,0x01,0x56,0xfe,0x89,0x05,0x18,0x01,0x8a, +0x05,0x02,0x00,0xbe,0x05,0x02,0x01,0x44,0x02,0x8b,0x00,0xdb,0x05,0x19,0x00,0x3d, +0x05,0x19,0x00,0x3d,0x05,0x19,0x00,0x3d,0x05,0x6a,0x00,0xdd,0x06,0xaa,0x00,0xdd, +0x06,0xb4,0x01,0x1b,0x06,0xb4,0x01,0x1b,0x07,0x2c,0x00,0xaf,0x06,0xb4,0x00,0xed, +0x04,0x00,0x01,0xb0,0x04,0x00,0x00,0x66,0x04,0x00,0x01,0x10,0x04,0x00,0x00,0x66, +0x05,0xdb,0x01,0x07,0x05,0xdb,0x01,0x07,0x05,0xdb,0x01,0x07,0x05,0xdb,0x01,0x07, +0x04,0x2b,0x00,0x2f,0x06,0xd0,0x00,0x2f,0x09,0x75,0x00,0x2f,0x05,0x17,0x00,0x79, +0x05,0x17,0x00,0x79,0x02,0x15,0x00,0xa1,0x05,0x17,0x00,0x79,0x06,0xb4,0x00,0xd9, +0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd8,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9, +0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9, +0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9, +0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9, +0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd8,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9, +0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd6,0x06,0xb4,0x00,0xd5, +0x08,0x00,0x00,0xce,0x08,0x00,0x00,0xcd,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9, +0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9, +0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9, +0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9, +0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xda,0x06,0xb4,0x00,0xda, +0x06,0xb4,0x00,0xda,0x06,0xb4,0x00,0xda,0x08,0x60,0x00,0x94,0x08,0x60,0x00,0x94, +0x06,0xb4,0x00,0xd8,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9, +0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9, +0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd0,0x06,0xb4,0x00,0xd0,0x06,0xb4,0x00,0xd0, +0x06,0xb4,0x00,0xd0,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9, +0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xd9, +0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xcb,0x06,0xb4,0x00,0xcb,0x06,0xb4,0x00,0xcb, +0x06,0xb4,0x00,0xcb,0x06,0xb4,0x00,0xbe,0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xbe, +0x06,0xb4,0x00,0xd9,0x06,0xb4,0x00,0xbe,0x06,0xb4,0x00,0xbe,0x06,0xb4,0x00,0xbb, +0x06,0xb4,0x00,0xbb,0x06,0xb4,0x00,0xbb,0x06,0xb4,0x00,0xbb,0x06,0xf8,0x00,0xaf, +0x06,0xf8,0x00,0xaf,0x03,0xf4,0x00,0x06,0x02,0x8b,0x00,0xdb,0x05,0x02,0x00,0xf9, +0x05,0x14,0x00,0x92,0x06,0xf8,0x00,0x64,0x01,0x90,0x00,0x00,0x01,0x90,0x00,0x00, +0x01,0x90,0x00,0x00,0x01,0x90,0x00,0x00,0x06,0xb4,0x00,0xd9,0x04,0x1b,0x00,0x06, +0x08,0x00,0x00,0xf7,0x06,0xb4,0x00,0xd9,0x04,0x2b,0x01,0xaf,0x04,0x2b,0x00,0x2a, +0x08,0x00,0x00,0xac,0x0b,0x8c,0x00,0x78,0x03,0x1f,0x00,0xb7,0x03,0x1f,0x00,0xa4, +0x06,0x0f,0x00,0x1a,0x04,0x2b,0x01,0xaf,0x06,0x27,0x00,0x06,0x05,0x14,0xff,0x83, +0x05,0x14,0x00,0x92,0x07,0x2c,0x00,0x98,0x07,0x2c,0x00,0x98,0x07,0x2c,0x00,0x98, +0x07,0x2c,0x00,0x98,0x07,0x2c,0x00,0x98,0x07,0x2c,0x00,0x98,0x07,0x2c,0x00,0x98, +0x07,0x2c,0x00,0x98,0x07,0x2c,0x00,0x98,0x07,0x2c,0x00,0x98,0x06,0x27,0xff,0xec, +0x06,0x27,0xff,0xec,0x06,0x27,0xff,0xec,0x06,0x27,0xff,0xec,0x06,0x27,0xff,0xec, +0x06,0x27,0xff,0xec,0x06,0x27,0xff,0xec,0x06,0x27,0xff,0xec,0x06,0x27,0xff,0xec, +0x06,0x27,0xff,0xec,0x06,0x27,0xff,0xec,0x06,0x27,0xff,0xec,0x06,0x27,0xff,0xec, +0x06,0x27,0xff,0xec,0x06,0x27,0xff,0xec,0x06,0x27,0xff,0xec,0x06,0x27,0x03,0x13, +0x06,0x27,0xff,0xec,0x06,0x27,0xff,0xec,0x06,0x27,0xff,0xec,0x06,0x27,0xff,0xec, +0x06,0x27,0x05,0x71,0x06,0x27,0xff,0xec,0x06,0x27,0x03,0x13,0x06,0x27,0xff,0xec, +0x06,0x27,0xff,0xec,0x06,0x27,0xff,0xec,0x06,0x27,0xff,0xec,0x06,0x27,0xff,0xec, +0x06,0x27,0x03,0x13,0x06,0x27,0xff,0xec,0x06,0x27,0xff,0xec,0x07,0x8f,0x00,0xba, +0x07,0x8f,0x00,0xba,0x07,0x8f,0x00,0xba,0x07,0x8f,0x00,0xba,0x07,0x8f,0x00,0xba, +0x07,0x8f,0x00,0xba,0x07,0x8f,0x00,0xba,0x07,0x8f,0x00,0xba,0x07,0x8f,0x00,0xba, +0x07,0x8f,0x00,0xba,0x05,0x6c,0x00,0xba,0x05,0x6c,0x00,0xba,0x07,0x8f,0x00,0xba, +0x07,0x8f,0x00,0xba,0x04,0x67,0x00,0xba,0x04,0x67,0x00,0xba,0x06,0x27,0x00,0x06, +0x06,0x27,0x00,0x06,0x06,0x27,0x00,0x06,0x06,0x27,0x00,0x06,0x04,0x04,0x00,0x06, +0x04,0x04,0x00,0x06,0x06,0x27,0x00,0x06,0x06,0x27,0x00,0x06,0x04,0x04,0x00,0x06, +0x04,0x04,0x00,0x06,0x06,0x27,0x00,0x06,0x06,0x27,0x00,0x06,0x06,0x27,0x00,0x06, +0x06,0x27,0x00,0x06,0x04,0x04,0x00,0x06,0x04,0x04,0x00,0x06,0x06,0x27,0x00,0x06, +0x06,0x27,0x00,0x06,0x04,0x04,0x00,0x06,0x04,0x04,0x00,0x06,0x06,0x27,0x00,0x06, +0x06,0x27,0x00,0x06,0x06,0x27,0x00,0x06,0x06,0x27,0x00,0x06,0x06,0x27,0x00,0x06, +0x06,0xfb,0x00,0x70,0x03,0xf4,0x00,0x06,0x06,0xfb,0x00,0x70,0x06,0xfb,0x00,0x72, +0x06,0xfb,0x00,0x70,0x06,0xfb,0x00,0x70,0x06,0xfb,0x00,0x70,0x06,0xfb,0x00,0x70, +0x06,0xfb,0x00,0x70,0x06,0xfb,0x00,0x70,0x06,0xfb,0x00,0x70,0x06,0xfb,0x00,0x70, +0x06,0xfb,0x00,0x70,0x04,0x37,0x00,0x70,0x04,0x37,0x00,0xba,0x06,0x54,0x00,0xba, +0x07,0xc3,0x00,0xba,0x07,0xc3,0x00,0xba,0x07,0xc3,0x00,0xba,0x03,0x19,0x00,0x06, +0x03,0x19,0x00,0x06,0x03,0x19,0x00,0x06,0x03,0x19,0x00,0x06,0x06,0xfb,0x00,0x70, +0x06,0xfb,0x00,0x70,0x06,0x27,0x00,0x06,0x06,0x27,0x00,0x06,0x06,0x27,0x00,0x06, +0x06,0x27,0x00,0x06,0x04,0xb8,0x01,0x33,0x07,0x8f,0x00,0xba,0x07,0x8f,0x00,0xba, +0x07,0x8f,0x00,0xba,0x07,0x8f,0x00,0xba,0x07,0x8f,0x00,0xba,0x06,0x27,0x00,0x06, +0x06,0x27,0x00,0x06,0x06,0x27,0x00,0x06,0x08,0xf4,0x00,0x70,0x07,0x8f,0x00,0xba, +0x07,0x8f,0x00,0xba,0x07,0x8f,0x00,0xba,0x07,0x8f,0x00,0xba,0x06,0xfb,0x00,0x70, +0x06,0xfb,0x00,0x70,0x06,0xfb,0x00,0x70,0x06,0xfb,0x00,0x70,0x06,0x27,0x00,0x06, +0x06,0x27,0x00,0x06,0x06,0x27,0x00,0x06,0x06,0xa4,0x00,0xba,0x06,0xa4,0x00,0xba, +0x05,0xdc,0x00,0xba,0x05,0xdc,0x00,0xba,0x06,0x27,0x00,0x06,0x07,0x2c,0x00,0xab, +0x08,0x00,0x00,0x68,0x07,0x2c,0x00,0x64,0x07,0x2c,0x00,0xaa,0x07,0x2c,0x00,0x83, +0x07,0x2c,0x00,0x85,0x07,0x2c,0x00,0x85,0x04,0x95,0x00,0xaa,0x07,0x2b,0x00,0xaa, +0x07,0x2c,0x00,0xaa,0x07,0x1b,0x00,0x7d,0x07,0x1b,0x00,0x7d,0x05,0x5f,0x00,0x7d, +0x08,0x1a,0x00,0x7d,0x09,0xf7,0x00,0x8c,0x0a,0x01,0x00,0x91,0x07,0x2c,0x00,0xb8, +0x07,0x2c,0x00,0xb7,0x07,0x2c,0x00,0xb7,0x04,0x42,0x00,0x9a,0x07,0x2c,0x00,0x64, +0x07,0x2c,0x00,0x98,0x07,0x2c,0x00,0xac,0x07,0x2c,0x00,0xac,0x07,0x2c,0x00,0x9f, +0x07,0x2c,0x00,0xab,0x07,0x2c,0x00,0xac,0x07,0x2c,0x00,0xac,0x07,0x2c,0x00,0xb2, +0x04,0xdf,0x00,0x93,0x07,0x2c,0x00,0xb1,0x04,0xdf,0x00,0x93,0x07,0x2c,0x00,0x7d, +0x07,0x2c,0x00,0xac,0x07,0x2c,0x00,0xaa,0x07,0x2c,0x00,0x64,0x05,0x5a,0x00,0x64, +0x05,0xf8,0x00,0xaa,0x05,0x32,0x00,0xaa,0x06,0x45,0x00,0xaa,0x04,0x5c,0x00,0xaa, +0x07,0x2c,0x00,0xaa,0x07,0x2c,0x00,0xb2,0x07,0x2c,0x00,0xaa,0x05,0xaf,0x00,0xaa, +0x07,0x2c,0x00,0xab,0x07,0x2c,0x00,0xaa,0x07,0x2c,0x00,0xaa,0x07,0x2c,0x00,0xaa, +0x07,0x2c,0x00,0xaa,0x07,0x2c,0x00,0xaa,0x07,0x2c,0x00,0xaa,0x07,0x2c,0x00,0xaa, +0x07,0x2c,0x00,0xaa,0x07,0x2c,0x00,0xaa,0x07,0x2c,0x00,0xaa,0x07,0x2c,0x00,0x87, +0x07,0x2c,0x00,0xaa,0x07,0x2c,0x00,0xaa,0x07,0x2c,0x00,0xaa,0x07,0x2c,0x00,0xaa, +0x07,0x2c,0x02,0xdd,0x07,0x2c,0x00,0xaa,0x04,0xe9,0x00,0xaf,0x05,0xd9,0x00,0xaf, +0x05,0xd9,0x00,0xaf,0x07,0x2c,0x00,0xaf,0x07,0x2c,0x01,0x53,0x07,0x2c,0x01,0xc0, +0x07,0x2c,0x00,0xf8,0x07,0x2c,0x01,0x04,0x07,0x2c,0x01,0xec,0x07,0x2c,0x00,0x5d, +0x07,0x2c,0x00,0xb7,0x07,0x2c,0x00,0xc0,0x07,0x2c,0x00,0xe7,0x07,0x2c,0x01,0x1e, +0x07,0x2c,0x00,0x6d,0x07,0x2c,0x00,0xab,0x07,0x2c,0x00,0x45,0x07,0x2c,0x00,0xa9, +0x07,0x2c,0x00,0xc0,0x07,0x2c,0x00,0xb0,0x07,0x2c,0x01,0x41,0x07,0x2c,0x00,0xc9, +0x07,0x2c,0x00,0xe2,0x07,0x2c,0x01,0x55,0x07,0x2c,0x01,0xb6,0x07,0x2c,0x01,0x51, +0x07,0x2c,0x01,0x30,0x07,0x2c,0x00,0xc9,0x07,0x2c,0x00,0xe2,0x07,0x2c,0x01,0x55, +0x07,0x2c,0x01,0xb6,0x07,0x2c,0x01,0x4c,0x07,0x2c,0x01,0x30,0x07,0x2c,0x01,0x43, +0x07,0x2c,0x00,0xb9,0x07,0x2c,0x01,0x58,0x07,0x2c,0x00,0xe4,0x07,0x2c,0x01,0x42, +0x07,0x2c,0x00,0xb6,0x07,0x2c,0x01,0x58,0x07,0x2c,0x00,0xe4,0x07,0x2c,0x00,0xd8, +0x03,0xc6,0x00,0xac,0x05,0x1b,0x00,0xac,0x07,0x2c,0x01,0x78,0x07,0x2c,0x00,0xbc, +0x03,0xc6,0x00,0xb5,0x02,0xdc,0x00,0xac,0x03,0xdf,0x00,0xad,0x05,0xfc,0x00,0xac, +0x06,0x20,0x00,0x84,0x07,0x2c,0x00,0xac,0x07,0x2c,0x00,0x9c,0x07,0x2c,0x00,0x9c, +0x07,0x2c,0x00,0x9c,0x07,0x2c,0x00,0x9c,0x07,0x2c,0x00,0x9c,0x07,0x2c,0x00,0x9c, +0x07,0x2c,0x00,0x9c,0x07,0x2c,0x00,0x9c,0x07,0x2c,0x00,0xac,0x07,0x2c,0x00,0xaa, +0x07,0x2c,0x00,0xaa,0x07,0x2c,0x00,0xaa,0x07,0x2c,0x01,0x31,0x06,0xf4,0x00,0x96, +0x06,0xf4,0x00,0x96,0x06,0xf4,0x00,0x96,0x06,0xf4,0x00,0x96,0x06,0xf4,0x00,0x96, +0x06,0xf4,0x00,0x96,0x07,0x2c,0x00,0xaa,0x07,0x2c,0x00,0xaa,0x07,0x2c,0x00,0xaa, +0x07,0x2c,0x00,0xaa,0x07,0x2c,0x00,0xaa,0x07,0x2c,0x00,0xaa,0x07,0x2c,0x00,0xaa, +0x07,0x2c,0x00,0xaa,0x07,0x2c,0x00,0xaa,0x07,0x2c,0x00,0xaa,0x07,0x2c,0x01,0x58, +0x07,0x2c,0x01,0x58,0x07,0x2c,0x00,0x6a,0x07,0x2c,0x00,0xc6,0x07,0x2c,0x01,0x0d, +0x04,0x54,0x00,0x7d,0x07,0x2c,0x00,0x79,0x07,0x2c,0x00,0x7d,0x07,0x2c,0x01,0x29, +0x07,0x2c,0x00,0xa9,0x07,0x2c,0x01,0x06,0x07,0x2c,0x01,0x05,0x07,0x2c,0x01,0x05, +0x07,0x2c,0x00,0x64,0x05,0x9e,0x00,0xaa,0x07,0x2c,0x00,0xaa,0x05,0x1e,0x00,0xaa, +0x06,0xb4,0x00,0x16,0x06,0xb4,0x00,0x56,0x06,0xb4,0x00,0x16,0x06,0xb4,0x00,0x49, +0x06,0xb4,0x00,0x56,0x06,0xb4,0x00,0x56,0x06,0xb4,0x00,0x78,0x06,0xb4,0x00,0x84, +0x06,0xb4,0x01,0xb3,0x06,0xb4,0x00,0x2b,0x06,0xb4,0x00,0xb6,0x06,0xb4,0x00,0x35, +0x06,0xb4,0x00,0xb6,0x06,0xb4,0x00,0x58,0x06,0xb4,0x00,0x8a,0x06,0xb4,0x01,0x33, +0x06,0xb4,0x00,0xed,0x06,0xb4,0x01,0x03,0x06,0xb4,0x00,0xaf,0x06,0xb4,0x00,0xf1, +0x06,0xb4,0x00,0xfc,0x06,0xb4,0x00,0x70,0x06,0xb4,0x00,0x70,0x06,0xb4,0x00,0x70, +0x06,0xb4,0x00,0x70,0x06,0xb4,0x01,0x52,0x06,0xb4,0x01,0x0c,0x06,0xb4,0x01,0x3e, +0x06,0xb4,0x00,0x70,0x06,0xb4,0x00,0xbb,0x06,0xb4,0x00,0x54,0x06,0xb4,0x00,0x56, +0x06,0xb4,0x00,0x53,0x06,0xb4,0x00,0x54,0x06,0xb4,0x00,0x57,0x06,0xb4,0x00,0x57, +0x06,0xb4,0x00,0x30,0x06,0xb4,0x00,0x56,0x06,0xb4,0x00,0x30,0x06,0xb4,0x00,0x30, +0x06,0xb4,0x00,0x30,0x06,0xb4,0x00,0x30,0x06,0xb4,0x00,0x30,0x06,0xb4,0x00,0x32, +0x06,0xb4,0x00,0x84,0x06,0xb4,0x00,0x98,0x06,0xb4,0x00,0x70,0x06,0xb4,0x00,0x40, +0x06,0xb4,0x00,0x54,0x06,0xb4,0x00,0xbb,0x06,0xb4,0x00,0x54,0x06,0xb4,0x00,0x54, +0x06,0xb4,0x00,0x54,0x06,0xb4,0x00,0x70,0x06,0xb4,0x00,0xa7,0x06,0xb4,0x00,0xa7, +0x06,0xb4,0x00,0xa1,0x06,0xb4,0x00,0xa1,0x06,0xb4,0x00,0x6e,0x06,0xb4,0x00,0x6e, +0x06,0xb4,0x00,0x54,0x06,0xb4,0x00,0x56,0x06,0xb4,0x00,0xa1,0x06,0xb4,0x00,0xb6, +0x06,0xb4,0x00,0x9c,0x06,0xb4,0x00,0x82,0x06,0xb4,0x00,0xa1,0x06,0xb4,0x00,0x61, +0x06,0xb4,0x00,0x61,0x06,0xb4,0x00,0x54,0x06,0xb4,0x00,0x54,0x07,0x2c,0x00,0x66, +0x07,0x2c,0x00,0x7a,0x07,0x2c,0x00,0x7a,0x07,0x2c,0x00,0x7a,0x07,0x2c,0x00,0x7a, +0x07,0x2c,0x00,0xaa,0x06,0xb4,0x03,0x05,0x06,0xb4,0x02,0xb0,0x06,0xb4,0x02,0x06, +0x02,0x94,0x00,0xae,0x02,0x94,0x00,0x78,0x04,0x4e,0x00,0xae,0x04,0x4e,0x00,0x78, +0x06,0xb4,0x01,0x3e,0x06,0xb4,0x01,0x9e,0x06,0xb4,0x01,0x4e,0x06,0xb4,0x00,0x6e, +0x06,0xb4,0x01,0x58,0x06,0xb4,0x00,0x7e,0x06,0xb4,0x00,0xa0,0x06,0xb4,0x01,0x91, +0x06,0xb4,0x01,0x91,0x06,0xb4,0x02,0x1d,0x06,0xb4,0x02,0x1d,0x06,0xb4,0x01,0xb9, +0x06,0xb4,0x01,0xdb,0x06,0xb4,0x01,0x23,0x06,0xb4,0x01,0x39,0x06,0xb4,0x01,0x55, +0x06,0xb4,0x01,0x77,0x06,0xb4,0x02,0xc4,0x06,0xb4,0x02,0x6c,0x06,0xb4,0x01,0x66, +0x06,0xb4,0x01,0xa1,0x07,0x2c,0x00,0x98,0x07,0x2c,0x00,0x98,0x07,0x2c,0x00,0x98, +0x07,0x2c,0x00,0x98,0x07,0x2c,0x00,0x98,0x07,0x2c,0x00,0x98,0x07,0x2c,0x00,0x98, +0x07,0x2c,0x00,0x98,0x07,0x2c,0x00,0x98,0x07,0x2c,0x00,0x98,0x06,0xb4,0x00,0x09, +0x06,0xb4,0x00,0x09,0x06,0xb4,0x00,0x09,0x06,0xb4,0x00,0x09,0x06,0xb4,0x00,0x09, +0x06,0xb4,0x00,0x09,0x06,0xb4,0x00,0x09,0x06,0xb4,0x00,0x09,0x06,0xb4,0x00,0x09, +0x06,0xb4,0x00,0x09,0x06,0xb4,0x00,0x09,0x06,0xb4,0x00,0x09,0x06,0xb4,0x00,0x09, +0x06,0xb4,0x00,0x09,0x06,0xb4,0x00,0x09,0x06,0xb4,0x00,0x09,0x06,0xb4,0x00,0x09, +0x06,0xb4,0x00,0x09,0x06,0xb4,0x00,0x09,0x06,0xb4,0x00,0x09,0x06,0xb4,0x00,0x75, +0x06,0xb4,0x00,0xfc,0x06,0xb4,0x00,0x75,0x06,0xb4,0x00,0xfc,0x06,0xb4,0x00,0x75, +0x06,0xb4,0x00,0x75,0x06,0xb4,0x00,0x75,0x06,0xb4,0x00,0x75,0x06,0xb4,0x00,0x75, +0x06,0xb4,0x00,0x75,0x06,0xb4,0x00,0x75,0x06,0xb4,0x00,0xe4,0x06,0xb4,0x00,0xe4, +0x06,0xb4,0x00,0xe4,0x06,0xb4,0x00,0x75,0x06,0xb4,0x00,0x75,0x06,0xb4,0x01,0xec, +0x06,0xb4,0x00,0x75,0x06,0xb4,0x00,0x75,0x06,0xb4,0x00,0x75,0x06,0xb4,0x00,0x2b, +0x06,0xb4,0x00,0x2b,0x06,0xb4,0x01,0x15,0x06,0xb4,0x01,0x15,0x06,0xb4,0x00,0x7f, +0x06,0xb4,0x00,0x7f,0x06,0xb4,0x01,0x3c,0x06,0xb4,0x00,0x82,0x06,0xb4,0x00,0xa5, +0x06,0xb4,0x00,0x75,0x06,0xb4,0x00,0xa7,0x06,0xb4,0x00,0xa7,0x06,0xb4,0x00,0x75, +0x06,0xb4,0x00,0xa7,0x06,0xb4,0x00,0x73,0x06,0xb4,0x00,0x96,0x06,0xb4,0x00,0xa2, +0x06,0xb4,0x00,0xa2,0x06,0xb4,0x00,0x75,0x03,0xf4,0x00,0x06,0x03,0x1f,0x00,0xb7, +0x03,0x1f,0x00,0xa4,0x04,0x73,0x00,0xb7,0x04,0x73,0x00,0xa4,0x03,0xf4,0x00,0x06, +0x0c,0x1a,0x00,0x2f,0x04,0x2b,0x00,0x2f,0x04,0x2b,0x00,0x2f,0x06,0x27,0x00,0x06, +0x06,0x27,0x00,0x06,0x05,0x78,0x01,0x91,0x05,0x78,0x01,0x91,0x05,0x78,0x01,0x91, +0x05,0x78,0x01,0x93,0x05,0x78,0x01,0x2d,0x05,0x78,0x01,0x91,0x05,0x78,0x01,0xe5, +0x05,0x78,0x01,0x2d,0x05,0x78,0x01,0x72,0x05,0x78,0x01,0x7d,0x05,0x78,0x01,0x72, +0x05,0x78,0x01,0x7d,0x05,0x78,0x01,0x72,0x05,0x78,0x01,0x7d,0x05,0x78,0xff,0xfe, +0x05,0x78,0x01,0x72,0x05,0x78,0x01,0x72,0x05,0x78,0x01,0x83,0x05,0x78,0x01,0x38, +0x05,0x78,0x01,0x83,0x05,0x78,0x01,0x7d,0x05,0x83,0x00,0x2f,0x05,0x0a,0x00,0x2f, +0x05,0x0a,0x00,0x2f,0x07,0xbc,0x00,0x2f,0x07,0xbc,0x00,0x2f,0x05,0x7d,0x00,0x2f, +0x06,0xe3,0x00,0x6f,0x09,0x9d,0x00,0xaa,0x09,0x9d,0x00,0xae,0x09,0x91,0x00,0xae, +0x09,0x7d,0x00,0xae,0x0c,0x3c,0x00,0xae,0x07,0x88,0x00,0x81,0x07,0xdb,0x00,0x81, +0x02,0x3a,0xff,0xec,0x02,0x6a,0xff,0xec,0x07,0x88,0x00,0x81,0x07,0xdb,0x00,0x81, +0x02,0x3a,0xff,0xec,0x02,0x6a,0xff,0xec,0x07,0x88,0x00,0x81,0x07,0xdb,0x00,0x81, +0x02,0x3a,0xff,0xec,0x02,0x6a,0xff,0xec,0x07,0x88,0x00,0x81,0x07,0xdb,0x00,0x81, +0x02,0x3a,0xff,0xec,0x02,0x6a,0xff,0xec,0x07,0x88,0x00,0x81,0x07,0xdb,0x00,0x81, +0x02,0x3a,0xff,0xec,0x02,0x6a,0xff,0xec,0x07,0x88,0x00,0x81,0x07,0xdb,0x00,0x81, +0x02,0x3a,0xff,0xec,0x02,0x6a,0xff,0xec,0x08,0x4b,0x00,0x81,0x08,0x48,0x00,0x81, +0x03,0xd3,0xff,0xec,0x04,0x0c,0xff,0xec,0x08,0x4b,0x00,0x81,0x08,0x48,0x00,0x81, +0x03,0xd3,0xff,0xec,0x04,0x0c,0xff,0xec,0x05,0x2a,0x00,0x9d,0x05,0x2a,0x00,0x9d, +0x04,0xf2,0xff,0xec,0x05,0x2a,0xff,0xec,0x05,0x2a,0x00,0x9d,0x05,0x2a,0x00,0x9d, +0x04,0xf2,0xff,0xec,0x05,0x2a,0xff,0xec,0x05,0x2a,0x00,0x9d,0x05,0x2a,0x00,0x9d, +0x04,0xf2,0xff,0xec,0x05,0x2a,0xff,0xec,0x05,0x2a,0x00,0x9d,0x05,0x2a,0x00,0x9d, +0x04,0xf2,0xff,0xec,0x05,0x2a,0xff,0xec,0x03,0xdd,0xff,0xab,0x04,0x6a,0xff,0xab, +0x03,0xdd,0xff,0xab,0x04,0x6a,0xff,0xab,0x07,0x29,0x00,0x81,0x07,0x29,0x00,0x81, +0x03,0xcf,0xff,0xec,0x04,0x6b,0xff,0xec,0x07,0x29,0x00,0x81,0x07,0x29,0x00,0x81, +0x03,0xcf,0xff,0xec,0x04,0x6b,0xff,0xec,0x05,0xe0,0x00,0x93,0x06,0x17,0x00,0x93, +0x02,0x3a,0xff,0xec,0x02,0x6a,0xff,0xec,0x06,0x43,0x00,0x82,0x06,0xab,0x00,0x82, +0x02,0x3a,0xff,0xec,0x02,0x6a,0xff,0xec,0x02,0x58,0x00,0x08,0x02,0x58,0xff,0xec, +0x02,0x58,0x00,0x08,0x02,0x18,0x00,0x69,0x02,0x58,0x00,0x08,0x02,0x58,0x00,0x08, +0x02,0x58,0xff,0xec,0x02,0x58,0x00,0x08,0x02,0x58,0xff,0xec,0x02,0x58,0x00,0x08, +0x02,0x58,0xff,0xec,0x02,0x58,0xff,0xf4,0x02,0x58,0xff,0xec,0x02,0x58,0x00,0x18, +0x02,0x58,0xff,0xec,0x03,0xc3,0x00,0xa3,0x02,0x39,0xff,0xb5,0x02,0x70,0xff,0xb5, +0x02,0x39,0x00,0x6c,0x02,0x70,0x00,0x6c,0x03,0xdd,0xff,0xab,0x04,0x22,0xff,0xab, +0x02,0x39,0x00,0x6c,0x02,0x70,0x00,0x6c,0x06,0x43,0x00,0x82,0x06,0xab,0x00,0x82, +0x02,0x3a,0xff,0xec,0x02,0x6a,0xff,0xec,0x02,0x39,0x00,0xc1,0x02,0x70,0x00,0xc1, +0x07,0x88,0x00,0x81,0x07,0xdb,0x00,0x81,0x02,0x3a,0xff,0xec,0x02,0x6a,0xff,0xec, +0x04,0x31,0x00,0x8b,0x04,0x4a,0x00,0x91,0x07,0x88,0x00,0x81,0x07,0xdb,0x00,0x81, +0x02,0x3a,0xff,0xec,0x02,0x6a,0xff,0xec,0x07,0x88,0x00,0x81,0x07,0xdb,0x00,0x81, +0x02,0x3a,0xff,0xec,0x02,0x6a,0xff,0xec,0x05,0x2a,0x00,0x9d,0x05,0x2a,0x00,0x9d, +0x04,0xf2,0xff,0xec,0x05,0x2a,0xff,0xec,0x05,0x2a,0x00,0x9d,0x05,0x2a,0x00,0x9d, +0x04,0xf2,0xff,0xec,0x05,0x2a,0xff,0xec,0x05,0x2a,0x00,0x9d,0x05,0x2a,0x00,0x9d, +0x04,0xf2,0xff,0xec,0x05,0x2a,0xff,0xec,0x03,0x90,0x00,0x7d,0x04,0x33,0x00,0x7d, +0x03,0x90,0x00,0x7d,0x04,0x33,0x00,0x7d,0x03,0xdd,0xff,0xab,0x04,0x6a,0xff,0xab, +0x03,0xdd,0xff,0xab,0x04,0x6a,0xff,0xab,0x09,0xc4,0x00,0x82,0x0a,0x33,0x00,0x82, +0x06,0xb4,0xff,0xec,0x07,0x23,0xff,0xec,0x09,0xc4,0x00,0x82,0x0a,0x33,0x00,0x82, +0x06,0xb4,0xff,0xec,0x07,0x23,0xff,0xec,0x09,0xac,0x00,0x82,0x09,0xcd,0x00,0x82, +0x06,0xcb,0xff,0xec,0x06,0xf0,0xff,0xec,0x09,0xac,0x00,0x82,0x09,0xcd,0x00,0x82, +0x06,0xcb,0xff,0xec,0x06,0xf0,0xff,0xec,0x07,0x66,0x00,0x90,0x07,0x98,0x00,0x90, +0x06,0x5e,0xff,0xec,0x06,0x90,0xff,0xec,0x07,0x66,0x00,0x90,0x07,0x98,0x00,0x90, +0x06,0x5e,0xff,0xec,0x06,0x90,0xff,0xec,0x04,0xc6,0x00,0x74,0x04,0x42,0x00,0x75, +0x04,0xc6,0xff,0xec,0x03,0xdc,0xff,0xec,0x04,0xc6,0x00,0x74,0x04,0x42,0x00,0x75, +0x04,0x2f,0xff,0xec,0x03,0xdc,0xff,0xec,0x08,0x4b,0x00,0x81,0x08,0x48,0x00,0x81, +0x03,0xd3,0xff,0xec,0x04,0x0c,0xff,0xec,0x06,0x35,0x00,0x6b,0x06,0xac,0x00,0x6b, +0x03,0xd3,0xff,0xec,0x04,0x0c,0xff,0xec,0x06,0x98,0x00,0x90,0x06,0xbe,0x00,0x90, +0x03,0xcf,0xff,0xec,0x04,0x6b,0xff,0xec,0x05,0xd0,0x00,0x8f,0x06,0x0f,0x00,0x8f, +0x02,0x70,0xff,0xec,0x02,0xa6,0xff,0xec,0x04,0xf4,0x00,0x8c,0x05,0x53,0x00,0x8c, +0x04,0x49,0xff,0xec,0x04,0xa0,0xff,0xec,0x05,0xe0,0x00,0x93,0x06,0x17,0x00,0x93, +0x02,0x3a,0xff,0xec,0x02,0x6a,0xff,0xec,0x04,0x31,0x00,0x8b,0x04,0x4a,0x00,0x91, +0x04,0x38,0xff,0xec,0x03,0xb0,0xff,0xec,0x03,0xdd,0xff,0xab,0x04,0x22,0xff,0xab, +0x06,0x43,0x00,0x82,0x06,0xab,0x00,0x82,0x06,0x43,0x00,0x82,0x06,0xab,0x00,0x82, +0x02,0x3a,0xff,0xec,0x02,0x6a,0xff,0xec,0x04,0x90,0xff,0x2e,0x04,0xc6,0xff,0x2e, +0x04,0x90,0xff,0xe6,0x04,0xc6,0xff,0xe6,0x04,0x90,0x00,0x17,0x04,0xc6,0x00,0x17, +0x04,0x90,0x00,0x54,0x04,0xc6,0x00,0x54,0x00,0x00,0x00,0x00,0x08,0x34,0x00,0x1e, +0x00,0x00,0xff,0xb9,0x00,0x00,0xfc,0xd7,0x00,0x00,0xfd,0x73,0x00,0x00,0xfc,0xb6, +0x00,0x00,0xfd,0x0c,0x00,0x00,0xfc,0xcf,0x00,0x00,0xfc,0xcf,0x00,0x00,0xfc,0xc7, +0x00,0x00,0xfc,0xc7,0x00,0x00,0xfd,0x9a,0x00,0x00,0xfc,0xe6,0x00,0x00,0xfc,0x4e, +0x00,0x96,0x00,0x00,0x01,0x90,0x00,0x00,0x01,0x90,0x00,0x00,0x01,0x90,0x00,0x00, +0x00,0x96,0x00,0x00,0x01,0x90,0x00,0x00,0x07,0xdb,0x00,0x81,0x02,0x3a,0xff,0xec, +0x02,0x6a,0xff,0xec,0x08,0x48,0x00,0x81,0x03,0xd3,0xff,0xec,0x04,0x0c,0xff,0xec, +0x06,0xac,0x00,0x6b,0x03,0xd3,0xff,0xec,0x04,0x0c,0xff,0xec,0x02,0x3a,0xff,0xec, +0x02,0x6a,0xff,0xec,0x01,0xb6,0x00,0x00,0x07,0xdb,0x00,0x81,0x02,0x3a,0xff,0xec, +0x02,0x6a,0xff,0xec,0x07,0xdb,0x00,0x81,0x02,0x3a,0xff,0xec,0x02,0x6a,0xff,0xec, +0x05,0x2a,0x00,0x9d,0x04,0xf2,0xff,0xec,0x05,0x2a,0xff,0xec,0x05,0x2a,0x00,0x9d, +0x04,0xf2,0xff,0xec,0x05,0x2a,0xff,0xec,0x05,0x2a,0x00,0x9d,0x04,0xf2,0xff,0xec, +0x05,0x2a,0xff,0xec,0x05,0x2a,0x00,0x9d,0x04,0xf2,0xff,0xec,0x05,0x2a,0xff,0xec, +0x03,0x5f,0x00,0x00,0x05,0xfc,0x00,0xc9,0x02,0xf9,0x00,0x74,0x02,0xee,0xfe,0xf2, +0x05,0x78,0x01,0x92,0x05,0x78,0x01,0x92,0x05,0x78,0x01,0x92,0x05,0x78,0x01,0x93, +0x05,0x78,0x01,0x93,0x05,0x78,0x01,0x92,0x05,0x78,0x01,0x92,0x05,0x78,0x01,0x76, +0x05,0x78,0x01,0x8b,0x05,0x78,0x01,0x76,0x05,0x78,0x01,0x8b,0x05,0x78,0x01,0x76, +0x05,0x78,0x01,0x8b,0x05,0x78,0x00,0x5c,0x05,0x78,0x01,0x76,0x05,0x78,0x01,0x76, +0x05,0x78,0x01,0x83,0x05,0x78,0x01,0x83,0x05,0x78,0x01,0x83,0x05,0x78,0x01,0x8b, +0x00,0x00,0xfc,0x9c,0x00,0x00,0x00,0x01,0x00,0x00,0x3c,0x02,0x00,0x01,0x09,0xfe, +0x30,0x00,0x00,0x0b,0x0b,0xf4,0x00,0x10,0x00,0x24,0xff,0xd3,0x00,0x10,0x00,0x25, +0xff,0xb7,0x00,0x10,0x00,0x2a,0x00,0x4b,0x00,0x10,0x00,0x2d,0x00,0x72,0x00,0x10, +0x00,0x32,0x00,0x39,0x00,0x10,0x00,0x34,0x00,0x4b,0x00,0x10,0x00,0x37,0xff,0x44, +0x00,0x10,0x00,0x39,0xff,0x88,0x00,0x10,0x00,0x3a,0xff,0xad,0x00,0x10,0x00,0x3b, +0xff,0x9a,0x00,0x10,0x00,0x3c,0xff,0x0d,0x00,0x10,0x00,0x52,0x00,0x26,0x00,0x10, +0x00,0x59,0xff,0xc9,0x00,0x10,0x00,0x5c,0xff,0xdc,0x00,0x10,0x00,0x82,0xff,0xd3, +0x00,0x10,0x00,0x83,0xff,0xd3,0x00,0x10,0x00,0x84,0xff,0xd3,0x00,0x10,0x00,0x85, +0xff,0xd3,0x00,0x10,0x00,0x86,0xff,0xd3,0x00,0x10,0x00,0x94,0x00,0x39,0x00,0x10, +0x00,0x95,0x00,0x39,0x00,0x10,0x00,0x96,0x00,0x39,0x00,0x10,0x00,0x97,0x00,0x39, +0x00,0x10,0x00,0x98,0x00,0x39,0x00,0x10,0x00,0x9f,0xff,0x0d,0x00,0x10,0x00,0xb4, +0x00,0x26,0x00,0x10,0x00,0xb5,0x00,0x26,0x00,0x10,0x00,0xb6,0x00,0x26,0x00,0x10, +0x00,0xb7,0x00,0x26,0x00,0x10,0x00,0xb8,0x00,0x26,0x00,0x10,0x00,0xbf,0xff,0xdc, +0x00,0x10,0x00,0xc1,0xff,0xdc,0x00,0x10,0x00,0xc2,0xff,0xd3,0x00,0x10,0x00,0xc4, +0xff,0xd3,0x00,0x10,0x00,0xc6,0xff,0xd3,0x00,0x10,0x00,0xe0,0x00,0x4b,0x00,0x10, +0x01,0x26,0xff,0x44,0x00,0x10,0x01,0x3a,0xff,0x0d,0x00,0x24,0x00,0x10,0xff,0xd3, +0x00,0x24,0x00,0x11,0xff,0xdc,0x00,0x24,0x00,0x1d,0xff,0xdc,0x00,0x24,0x00,0x24, +0x00,0x39,0x00,0x24,0x00,0x26,0xff,0xdc,0x00,0x24,0x00,0x2a,0xff,0xdc,0x00,0x24, +0x00,0x32,0xff,0xdc,0x00,0x24,0x00,0x34,0xff,0xdc,0x00,0x24,0x00,0x37,0xff,0x61, +0x00,0x24,0x00,0x39,0xff,0x7d,0x00,0x24,0x00,0x3a,0xff,0x90,0x00,0x24,0x00,0x3c, +0xff,0x61,0x00,0x24,0x00,0x46,0xff,0xdc,0x00,0x24,0x00,0x47,0xff,0xdc,0x00,0x24, +0x00,0x48,0xff,0xdc,0x00,0x24,0x00,0x49,0xff,0xb7,0x00,0x24,0x00,0x52,0xff,0xdc, +0x00,0x24,0x00,0x54,0xff,0xdc,0x00,0x24,0x00,0x57,0xff,0xdc,0x00,0x24,0x00,0x59, +0xff,0x88,0x00,0x24,0x00,0x5a,0xff,0xad,0x00,0x24,0x00,0x5c,0xff,0x75,0x00,0x24, +0x00,0x6d,0xff,0xb7,0x00,0x24,0x00,0x82,0x00,0x39,0x00,0x24,0x00,0x83,0x00,0x39, +0x00,0x24,0x00,0x84,0x00,0x39,0x00,0x24,0x00,0x85,0x00,0x39,0x00,0x24,0x00,0x86, +0x00,0x39,0x00,0x24,0x00,0x89,0xff,0xdc,0x00,0x24,0x00,0x94,0xff,0xdc,0x00,0x24, +0x00,0x95,0xff,0xdc,0x00,0x24,0x00,0x96,0xff,0xdc,0x00,0x24,0x00,0x97,0xff,0xdc, +0x00,0x24,0x00,0x98,0xff,0xdc,0x00,0x24,0x00,0x9f,0xff,0x61,0x00,0x24,0x00,0xa9, +0xff,0xdc,0x00,0x24,0x00,0xaa,0xff,0xdc,0x00,0x24,0x00,0xab,0xff,0xdc,0x00,0x24, +0x00,0xac,0xff,0xdc,0x00,0x24,0x00,0xad,0xff,0xdc,0x00,0x24,0x00,0xb4,0xff,0xdc, +0x00,0x24,0x00,0xb5,0xff,0xdc,0x00,0x24,0x00,0xb6,0xff,0xdc,0x00,0x24,0x00,0xb7, +0xff,0xdc,0x00,0x24,0x00,0xb8,0xff,0xdc,0x00,0x24,0x00,0xbf,0xff,0x75,0x00,0x24, +0x00,0xc1,0xff,0x75,0x00,0x24,0x00,0xc2,0x00,0x39,0x00,0x24,0x00,0xc4,0x00,0x39, +0x00,0x24,0x00,0xc6,0x00,0x39,0x00,0x24,0x00,0xc8,0xff,0xdc,0x00,0x24,0x00,0xc9, +0xff,0xdc,0x00,0x24,0x00,0xca,0xff,0xdc,0x00,0x24,0x00,0xcb,0xff,0xdc,0x00,0x24, +0x00,0xcc,0xff,0xdc,0x00,0x24,0x00,0xcd,0xff,0xdc,0x00,0x24,0x00,0xce,0xff,0xdc, +0x00,0x24,0x00,0xcf,0xff,0xdc,0x00,0x24,0x00,0xd1,0xff,0xdc,0x00,0x24,0x00,0xd3, +0xff,0xdc,0x00,0x24,0x00,0xd5,0xff,0xdc,0x00,0x24,0x00,0xd7,0xff,0xdc,0x00,0x24, +0x00,0xd9,0xff,0xdc,0x00,0x24,0x00,0xdb,0xff,0xdc,0x00,0x24,0x00,0xdd,0xff,0xdc, +0x00,0x24,0x00,0xde,0xff,0xdc,0x00,0x24,0x00,0xe0,0xff,0xdc,0x00,0x24,0x00,0xe2, +0xff,0xdc,0x00,0x24,0x01,0x0e,0xff,0xdc,0x00,0x24,0x01,0x0f,0xff,0xdc,0x00,0x24, +0x01,0x10,0xff,0xdc,0x00,0x24,0x01,0x11,0xff,0xdc,0x00,0x24,0x01,0x12,0xff,0xdc, +0x00,0x24,0x01,0x13,0xff,0xdc,0x00,0x24,0x01,0x24,0xff,0x61,0x00,0x24,0x01,0x25, +0xff,0xdc,0x00,0x24,0x01,0x26,0xff,0x61,0x00,0x24,0x01,0x27,0xff,0xdc,0x00,0x24, +0x01,0x36,0xff,0x90,0x00,0x24,0x01,0x37,0xff,0xad,0x00,0x24,0x01,0x38,0xff,0x61, +0x00,0x24,0x01,0x39,0xff,0x75,0x00,0x24,0x01,0x3a,0xff,0x61,0x00,0x24,0x01,0x88, +0xff,0xdc,0x00,0x24,0x01,0xac,0xff,0xdc,0x00,0x24,0x01,0xad,0xff,0xdc,0x00,0x24, +0x01,0xae,0xff,0xdc,0x00,0x24,0x01,0xaf,0xff,0xdc,0x00,0x24,0x01,0xdc,0xff,0x61, +0x00,0x24,0x01,0xdd,0xff,0xdc,0x00,0x24,0x01,0xf0,0xff,0xdc,0x00,0x24,0x01,0xf3, +0xff,0xdc,0x00,0x24,0x01,0xf4,0xff,0x61,0x00,0x24,0x01,0xf5,0xff,0x75,0x00,0x24, +0x06,0x07,0xff,0x90,0x00,0x24,0x06,0x08,0xff,0xad,0x00,0x24,0x06,0x09,0xff,0x90, +0x00,0x24,0x06,0x0a,0xff,0xad,0x00,0x24,0x06,0x0b,0xff,0x90,0x00,0x24,0x06,0x0c, +0xff,0xad,0x00,0x24,0x06,0x75,0xff,0x61,0x00,0x24,0x06,0x76,0xff,0x75,0x00,0x24, +0x07,0x7d,0xfe,0xf8,0x00,0x24,0x07,0x7e,0xff,0x03,0x00,0x24,0x07,0x7f,0x00,0x2f, +0x00,0x25,0x00,0x26,0xff,0xdc,0x00,0x25,0x00,0x2a,0xff,0xdc,0x00,0x25,0x00,0x32, +0xff,0xdc,0x00,0x25,0x00,0x36,0xff,0xdc,0x00,0x25,0x00,0x39,0xff,0xc1,0x00,0x25, +0x00,0x3a,0xff,0xb7,0x00,0x25,0x00,0x3c,0xff,0x90,0x00,0x25,0x00,0x6d,0xff,0xc1, +0x00,0x25,0x00,0x7d,0xff,0xdc,0x00,0x25,0x00,0x89,0xff,0xdc,0x00,0x25,0x00,0x94, +0xff,0xdc,0x00,0x25,0x00,0x95,0xff,0xdc,0x00,0x25,0x00,0x96,0xff,0xdc,0x00,0x25, +0x00,0x97,0xff,0xdc,0x00,0x25,0x00,0x98,0xff,0xdc,0x00,0x25,0x00,0x9f,0xff,0x90, +0x00,0x25,0x00,0xc8,0xff,0xdc,0x00,0x25,0x00,0xca,0xff,0xdc,0x00,0x25,0x00,0xcc, +0xff,0xdc,0x00,0x25,0x00,0xce,0xff,0xdc,0x00,0x25,0x00,0xde,0xff,0xdc,0x00,0x25, +0x00,0xe0,0xff,0xdc,0x00,0x25,0x00,0xe2,0xff,0xdc,0x00,0x25,0x00,0xe4,0xff,0xdc, +0x00,0x25,0x01,0x0e,0xff,0xdc,0x00,0x25,0x01,0x10,0xff,0xdc,0x00,0x25,0x01,0x12, +0xff,0xdc,0x00,0x25,0x01,0x1c,0xff,0xdc,0x00,0x25,0x01,0x1e,0xff,0xdc,0x00,0x25, +0x01,0x20,0xff,0xdc,0x00,0x25,0x01,0x22,0xff,0xdc,0x00,0x25,0x01,0x36,0xff,0xb7, +0x00,0x25,0x01,0x38,0xff,0x90,0x00,0x25,0x01,0x3a,0xff,0x90,0x00,0x25,0x01,0xac, +0xff,0xdc,0x00,0x25,0x01,0xae,0xff,0xdc,0x00,0x25,0x01,0xda,0xff,0xdc,0x00,0x25, +0x01,0xf0,0xff,0xdc,0x00,0x25,0x06,0x07,0xff,0xb7,0x00,0x25,0x06,0x09,0xff,0xb7, +0x00,0x25,0x06,0x0b,0xff,0xb7,0x00,0x25,0x06,0x75,0xff,0x90,0x00,0x25,0x07,0x7d, +0xff,0x90,0x00,0x25,0x07,0x7e,0xff,0x90,0x00,0x25,0x07,0x7f,0xff,0xad,0x00,0x26, +0x00,0x3c,0xff,0xdc,0x00,0x26,0x00,0x6d,0xff,0xdc,0x00,0x26,0x00,0x7d,0xff,0xdc, +0x00,0x26,0x00,0x9f,0xff,0xdc,0x00,0x26,0x01,0x38,0xff,0xdc,0x00,0x26,0x01,0x3a, +0xff,0xdc,0x00,0x26,0x01,0xf4,0xff,0xdc,0x00,0x26,0x06,0x75,0xff,0xdc,0x00,0x26, +0x07,0x7e,0x00,0x26,0x00,0x27,0x00,0x24,0xff,0xdc,0x00,0x27,0x00,0x39,0xff,0xdc, +0x00,0x27,0x00,0x3c,0xff,0x90,0x00,0x27,0x00,0x6d,0xff,0xdc,0x00,0x27,0x00,0x7d, +0xff,0xdc,0x00,0x27,0x00,0x82,0xff,0xdc,0x00,0x27,0x00,0x83,0xff,0xdc,0x00,0x27, +0x00,0x84,0xff,0xdc,0x00,0x27,0x00,0x85,0xff,0xdc,0x00,0x27,0x00,0x86,0xff,0xdc, +0x00,0x27,0x00,0x9f,0xff,0x90,0x00,0x27,0x00,0xc2,0xff,0xdc,0x00,0x27,0x00,0xc4, +0xff,0xdc,0x00,0x27,0x00,0xc6,0xff,0xdc,0x00,0x27,0x01,0x38,0xff,0x90,0x00,0x27, +0x01,0x3a,0xff,0x90,0x00,0x27,0x01,0xf4,0xff,0x90,0x00,0x27,0x06,0x75,0xff,0x90, +0x00,0x27,0x07,0x7d,0xff,0xd3,0x00,0x27,0x07,0x7e,0xff,0xc9,0x00,0x27,0x07,0x7f, +0xff,0x44,0x00,0x29,0x00,0x11,0xfe,0xb7,0x00,0x29,0x00,0x1d,0xff,0x61,0x00,0x29, +0x00,0x24,0xff,0x44,0x00,0x29,0x00,0x36,0xff,0xdc,0x00,0x29,0x00,0x37,0xff,0xdc, +0x00,0x29,0x00,0x44,0xff,0x44,0x00,0x29,0x00,0x48,0xff,0x90,0x00,0x29,0x00,0x4c, +0xff,0x6b,0x00,0x29,0x00,0x52,0xff,0xb7,0x00,0x29,0x00,0x55,0xff,0x6b,0x00,0x29, +0x00,0x58,0xff,0x90,0x00,0x29,0x00,0x5c,0xff,0x44,0x00,0x29,0x00,0x82,0xff,0x44, +0x00,0x29,0x00,0x83,0xff,0x44,0x00,0x29,0x00,0x84,0xff,0x44,0x00,0x29,0x00,0x85, +0xff,0x44,0x00,0x29,0x00,0x86,0xff,0x44,0x00,0x29,0x00,0xa2,0xff,0x44,0x00,0x29, +0x00,0xa3,0xff,0x44,0x00,0x29,0x00,0xa4,0xff,0x44,0x00,0x29,0x00,0xa5,0xff,0x44, +0x00,0x29,0x00,0xa6,0xff,0x44,0x00,0x29,0x00,0xa7,0xff,0x44,0x00,0x29,0x00,0xaa, +0xff,0x90,0x00,0x29,0x00,0xab,0xff,0x90,0x00,0x29,0x00,0xac,0xff,0x90,0x00,0x29, +0x00,0xad,0xff,0x90,0x00,0x29,0x00,0xb4,0xff,0xb7,0x00,0x29,0x00,0xb5,0xff,0xb7, +0x00,0x29,0x00,0xb6,0xff,0xb7,0x00,0x29,0x00,0xb7,0xff,0xb7,0x00,0x29,0x00,0xb8, +0xff,0xb7,0x00,0x29,0x00,0xbb,0xff,0x90,0x00,0x29,0x00,0xbc,0xff,0x90,0x00,0x29, +0x00,0xbd,0xff,0x90,0x00,0x29,0x00,0xbe,0xff,0x90,0x00,0x29,0x00,0xbf,0xff,0x44, +0x00,0x29,0x00,0xc1,0xff,0x44,0x00,0x29,0x00,0xc2,0xff,0x44,0x00,0x29,0x00,0xc3, +0xff,0x44,0x00,0x29,0x00,0xc4,0xff,0x44,0x00,0x29,0x00,0xc5,0xff,0x44,0x00,0x29, +0x00,0xc6,0xff,0x44,0x00,0x29,0x00,0xc7,0xff,0x44,0x00,0x29,0x00,0xd5,0xff,0x90, +0x00,0x29,0x00,0xd7,0xff,0x90,0x00,0x29,0x00,0xd9,0xff,0x90,0x00,0x29,0x00,0xdb, +0xff,0x90,0x00,0x29,0x00,0xdd,0xff,0x90,0x00,0x29,0x00,0xf1,0xff,0x6b,0x00,0x29, +0x00,0xf5,0xff,0x6b,0x00,0x29,0x01,0x0f,0xff,0xb7,0x00,0x29,0x01,0x11,0xff,0xb7, +0x00,0x29,0x01,0x13,0xff,0xb7,0x00,0x29,0x01,0x17,0xff,0x6b,0x00,0x29,0x01,0x19, +0xff,0x6b,0x00,0x29,0x01,0x1b,0xff,0x6b,0x00,0x29,0x01,0x1c,0xff,0xdc,0x00,0x29, +0x01,0x1e,0xff,0xdc,0x00,0x29,0x01,0x20,0xff,0xdc,0x00,0x29,0x01,0x22,0xff,0xdc, +0x00,0x29,0x01,0x24,0xff,0xdc,0x00,0x29,0x01,0x26,0xff,0xdc,0x00,0x29,0x01,0x28, +0xff,0xdc,0x00,0x29,0x01,0x2b,0xff,0x90,0x00,0x29,0x01,0x2d,0xff,0x90,0x00,0x29, +0x01,0x2f,0xff,0x90,0x00,0x29,0x01,0x31,0xff,0x90,0x00,0x29,0x01,0x33,0xff,0x90, +0x00,0x29,0x01,0x35,0xff,0x90,0x00,0x29,0x01,0x39,0xff,0x44,0x00,0x29,0x01,0xad, +0xff,0xb7,0x00,0x29,0x01,0xaf,0xff,0xb7,0x00,0x29,0x01,0xda,0xff,0xdc,0x00,0x29, +0x01,0xdc,0xff,0xdc,0x00,0x29,0x01,0xf1,0xff,0xb7,0x00,0x29,0x01,0xf5,0xff,0x44, +0x00,0x29,0x06,0x76,0xff,0x44,0x00,0x29,0x07,0x7d,0xff,0xd3,0x00,0x29,0x07,0x7f, +0xfe,0x88,0x00,0x2a,0x00,0x37,0xff,0xb7,0x00,0x2a,0x00,0x3c,0xff,0x9a,0x00,0x2a, +0x00,0x6d,0xff,0xdc,0x00,0x2a,0x00,0x7d,0xff,0xdc,0x00,0x2a,0x00,0x9f,0xff,0x9a, +0x00,0x2a,0x01,0x26,0xff,0xb7,0x00,0x2a,0x01,0x3a,0xff,0x9a,0x00,0x2a,0x07,0x7d, +0xff,0xd3,0x00,0x2a,0x07,0x7e,0xff,0xd3,0x00,0x2a,0x07,0x7f,0xff,0xc9,0x00,0x2b, +0x00,0x11,0xff,0xdc,0x00,0x2b,0x07,0x7d,0xff,0xb7,0x00,0x2b,0x07,0x7e,0xff,0xc1, +0x00,0x2b,0x07,0x7f,0xff,0xb7,0x00,0x2d,0x00,0x10,0xff,0xb7,0x00,0x2d,0x00,0x24, +0xff,0xdc,0x00,0x2d,0x00,0x6d,0xff,0xdc,0x00,0x2d,0x00,0x7d,0xff,0xdc,0x00,0x2d, +0x00,0x82,0xff,0xdc,0x00,0x2d,0x00,0x83,0xff,0xdc,0x00,0x2d,0x00,0x84,0xff,0xdc, +0x00,0x2d,0x00,0x85,0xff,0xdc,0x00,0x2d,0x00,0x86,0xff,0xdc,0x00,0x2d,0x07,0x7d, +0xff,0xb7,0x00,0x2d,0x07,0x7e,0xff,0xc1,0x00,0x2d,0x07,0x7f,0xff,0x90,0x00,0x2e, +0x00,0x10,0xff,0x29,0x00,0x2e,0x00,0x24,0xff,0xdc,0x00,0x2e,0x00,0x26,0xff,0x90, +0x00,0x2e,0x00,0x32,0xff,0x90,0x00,0x2e,0x00,0x37,0xff,0x61,0x00,0x2e,0x00,0x38, +0xff,0xc9,0x00,0x2e,0x00,0x3a,0xff,0xb7,0x00,0x2e,0x00,0x3c,0xff,0xb7,0x00,0x2e, +0x00,0x44,0xff,0xdc,0x00,0x2e,0x00,0x48,0xff,0x9a,0x00,0x2e,0x00,0x52,0xff,0x9a, +0x00,0x2e,0x00,0x58,0xff,0x9a,0x00,0x2e,0x00,0x5c,0xff,0x6b,0x00,0x2e,0x00,0x6d, +0xff,0x7d,0x00,0x2e,0x00,0x82,0xff,0xdc,0x00,0x2e,0x00,0x83,0xff,0xdc,0x00,0x2e, +0x00,0x84,0xff,0xdc,0x00,0x2e,0x00,0x85,0xff,0xdc,0x00,0x2e,0x00,0x86,0xff,0xdc, +0x00,0x2e,0x00,0x89,0xff,0x90,0x00,0x2e,0x00,0x94,0xff,0x90,0x00,0x2e,0x00,0x95, +0xff,0x90,0x00,0x2e,0x00,0x96,0xff,0x90,0x00,0x2e,0x00,0x97,0xff,0x90,0x00,0x2e, +0x00,0x98,0xff,0x90,0x00,0x2e,0x00,0x9b,0xff,0xc9,0x00,0x2e,0x00,0x9c,0xff,0xc9, +0x00,0x2e,0x00,0x9d,0xff,0xc9,0x00,0x2e,0x00,0x9e,0xff,0xc9,0x00,0x2e,0x00,0x9f, +0xff,0xb7,0x00,0x2e,0x00,0xa2,0xff,0xdc,0x00,0x2e,0x00,0xa3,0xff,0xdc,0x00,0x2e, +0x00,0xa4,0xff,0xdc,0x00,0x2e,0x00,0xa5,0xff,0xdc,0x00,0x2e,0x00,0xa6,0xff,0xdc, +0x00,0x2e,0x00,0xa7,0xff,0xdc,0x00,0x2e,0x00,0xaa,0xff,0x9a,0x00,0x2e,0x00,0xab, +0xff,0x9a,0x00,0x2e,0x00,0xac,0xff,0x9a,0x00,0x2e,0x00,0xad,0xff,0x9a,0x00,0x2e, +0x00,0xb4,0xff,0x9a,0x00,0x2e,0x00,0xb5,0xff,0x9a,0x00,0x2e,0x00,0xb6,0xff,0x9a, +0x00,0x2e,0x00,0xb7,0xff,0x9a,0x00,0x2e,0x00,0xb8,0xff,0x9a,0x00,0x2e,0x00,0xbb, +0xff,0x9a,0x00,0x2e,0x00,0xbc,0xff,0x9a,0x00,0x2e,0x00,0xbd,0xff,0x9a,0x00,0x2e, +0x00,0xbe,0xff,0x9a,0x00,0x2e,0x00,0xbf,0xff,0x6b,0x00,0x2e,0x00,0xc1,0xff,0x6b, +0x00,0x2e,0x00,0xc8,0xff,0x90,0x00,0x2e,0x00,0xce,0xff,0x90,0x00,0x2e,0x00,0xdd, +0xff,0x9a,0x00,0x2e,0x01,0x26,0xff,0x61,0x00,0x2e,0x01,0x30,0xff,0xc9,0x00,0x2e, +0x01,0x31,0xff,0x9a,0x00,0x2e,0x01,0x3a,0xff,0xb7,0x00,0x2e,0x07,0x7d,0xff,0xc1, +0x00,0x2e,0x07,0x7e,0xff,0xc1,0x00,0x2f,0x00,0x10,0xff,0xdc,0x00,0x2f,0x00,0x24, +0x00,0x2f,0x00,0x2f,0x00,0x32,0xff,0xb7,0x00,0x2f,0x00,0x37,0xfe,0xe6,0x00,0x2f, +0x00,0x38,0xff,0x9a,0x00,0x2f,0x00,0x39,0xff,0x1f,0x00,0x2f,0x00,0x3a,0xff,0x44, +0x00,0x2f,0x00,0x3c,0xfe,0xf0,0x00,0x2f,0x00,0x48,0xff,0xdc,0x00,0x2f,0x00,0x52, +0xff,0xdc,0x00,0x2f,0x00,0x58,0xff,0xdc,0x00,0x2f,0x00,0x5c,0xff,0x44,0x00,0x2f, +0x00,0x82,0x00,0x2f,0x00,0x2f,0x00,0x83,0x00,0x2f,0x00,0x2f,0x00,0x84,0x00,0x2f, +0x00,0x2f,0x00,0x85,0x00,0x2f,0x00,0x2f,0x00,0x86,0x00,0x2f,0x00,0x2f,0x00,0x94, +0xff,0xb7,0x00,0x2f,0x00,0x95,0xff,0xb7,0x00,0x2f,0x00,0x96,0xff,0xb7,0x00,0x2f, +0x00,0x97,0xff,0xb7,0x00,0x2f,0x00,0x98,0xff,0xb7,0x00,0x2f,0x00,0x9b,0xff,0x9a, +0x00,0x2f,0x00,0x9c,0xff,0x9a,0x00,0x2f,0x00,0x9d,0xff,0x9a,0x00,0x2f,0x00,0x9e, +0xff,0x9a,0x00,0x2f,0x00,0x9f,0xfe,0xf0,0x00,0x2f,0x00,0xaa,0xff,0xdc,0x00,0x2f, +0x00,0xab,0xff,0xdc,0x00,0x2f,0x00,0xac,0xff,0xdc,0x00,0x2f,0x00,0xad,0xff,0xdc, +0x00,0x2f,0x00,0xb4,0xff,0xdc,0x00,0x2f,0x00,0xb5,0xff,0xdc,0x00,0x2f,0x00,0xb6, +0xff,0xdc,0x00,0x2f,0x00,0xb7,0xff,0xdc,0x00,0x2f,0x00,0xb8,0xff,0xdc,0x00,0x2f, +0x00,0xbb,0xff,0xdc,0x00,0x2f,0x00,0xbc,0xff,0xdc,0x00,0x2f,0x00,0xbd,0xff,0xdc, +0x00,0x2f,0x00,0xbe,0xff,0xdc,0x00,0x2f,0x00,0xbf,0xff,0x44,0x00,0x2f,0x00,0xc1, +0xff,0x44,0x00,0x2f,0x00,0xdd,0xff,0xdc,0x00,0x2f,0x01,0x26,0xfe,0xe6,0x00,0x2f, +0x01,0x30,0xff,0x9a,0x00,0x2f,0x01,0x31,0xff,0xdc,0x00,0x2f,0x01,0x3a,0xfe,0xf0, +0x00,0x2f,0x07,0x7d,0xfe,0x61,0x00,0x2f,0x07,0x7e,0xfd,0xe6,0x00,0x32,0x00,0x10, +0x00,0x39,0x00,0x32,0x00,0x11,0xff,0xad,0x00,0x32,0x00,0x1d,0xff,0xdc,0x00,0x32, +0x00,0x24,0xff,0xdc,0x00,0x32,0x00,0x39,0xff,0xdc,0x00,0x32,0x00,0x3b,0xff,0x7d, +0x00,0x32,0x00,0x3c,0xff,0x90,0x00,0x32,0x00,0x6d,0xff,0xdc,0x00,0x32,0x00,0x82, +0xff,0xdc,0x00,0x32,0x00,0x83,0xff,0xdc,0x00,0x32,0x00,0x84,0xff,0xdc,0x00,0x32, +0x00,0x85,0xff,0xdc,0x00,0x32,0x00,0x86,0xff,0xdc,0x00,0x32,0x00,0x9f,0xff,0x90, +0x00,0x32,0x01,0x3a,0xff,0x90,0x00,0x32,0x07,0x7d,0xff,0xd3,0x00,0x32,0x07,0x7e, +0xff,0xdc,0x00,0x32,0x07,0x7f,0xff,0x44,0x00,0x33,0x00,0x10,0xff,0xd3,0x00,0x33, +0x00,0x11,0xfe,0xc1,0x00,0x33,0x00,0x24,0xff,0x7d,0x00,0x33,0x00,0x3c,0xff,0xd3, +0x00,0x33,0x00,0x44,0xff,0xa4,0x00,0x33,0x00,0x48,0xff,0xb7,0x00,0x33,0x00,0x4c, +0xff,0xd3,0x00,0x33,0x00,0x51,0xff,0xdc,0x00,0x33,0x00,0x52,0xff,0xb7,0x00,0x33, +0x00,0x55,0xff,0xdc,0x00,0x33,0x00,0x56,0xff,0xdc,0x00,0x33,0x00,0x58,0xff,0xdc, +0x00,0x33,0x00,0x6d,0xff,0xdc,0x00,0x33,0x00,0x82,0xff,0x7d,0x00,0x33,0x00,0x83, +0xff,0x7d,0x00,0x33,0x00,0x84,0xff,0x7d,0x00,0x33,0x00,0x85,0xff,0x7d,0x00,0x33, +0x00,0x86,0xff,0x7d,0x00,0x33,0x00,0x9f,0xff,0xd3,0x00,0x33,0x00,0xa2,0xff,0xa4, +0x00,0x33,0x00,0xa3,0xff,0xa4,0x00,0x33,0x00,0xa4,0xff,0xa4,0x00,0x33,0x00,0xa5, +0xff,0xa4,0x00,0x33,0x00,0xa6,0xff,0xa4,0x00,0x33,0x00,0xa7,0xff,0xa4,0x00,0x33, +0x00,0xaa,0xff,0xb7,0x00,0x33,0x00,0xab,0xff,0xb7,0x00,0x33,0x00,0xac,0xff,0xb7, +0x00,0x33,0x00,0xad,0xff,0xb7,0x00,0x33,0x00,0xb3,0xff,0xdc,0x00,0x33,0x00,0xb4, +0xff,0xb7,0x00,0x33,0x00,0xb5,0xff,0xb7,0x00,0x33,0x00,0xb6,0xff,0xb7,0x00,0x33, +0x00,0xb7,0xff,0xb7,0x00,0x33,0x00,0xb8,0xff,0xb7,0x00,0x33,0x00,0xbb,0xff,0xdc, +0x00,0x33,0x00,0xbc,0xff,0xdc,0x00,0x33,0x00,0xbd,0xff,0xdc,0x00,0x33,0x00,0xbe, +0xff,0xdc,0x00,0x33,0x00,0xdd,0xff,0xb7,0x00,0x33,0x01,0x0a,0xff,0xdc,0x00,0x33, +0x01,0x17,0xff,0xdc,0x00,0x33,0x01,0x1b,0xff,0xdc,0x00,0x33,0x01,0x21,0xff,0xdc, +0x00,0x33,0x01,0x23,0xff,0xdc,0x00,0x33,0x01,0x31,0xff,0xdc,0x00,0x33,0x01,0x3a, +0xff,0xd3,0x00,0x33,0x07,0x7d,0x00,0x26,0x00,0x33,0x07,0x7e,0x00,0x26,0x00,0x33, +0x07,0x7f,0xfe,0xb7,0x00,0x34,0x00,0x10,0x00,0x39,0x00,0x34,0x07,0x7d,0xff,0xd3, +0x00,0x34,0x07,0x7e,0xff,0xdc,0x00,0x34,0x07,0x7f,0xff,0x7d,0x00,0x35,0x00,0x10, +0xff,0xad,0x00,0x35,0x00,0x11,0xff,0xb7,0x00,0x35,0x00,0x1d,0xff,0xc1,0x00,0x35, +0x00,0x24,0xff,0xad,0x00,0x35,0x00,0x26,0xff,0x9a,0x00,0x35,0x00,0x37,0xff,0x6b, +0x00,0x35,0x00,0x39,0xff,0x90,0x00,0x35,0x00,0x3a,0xff,0xad,0x00,0x35,0x00,0x3c, +0xff,0x7d,0x00,0x35,0x00,0x44,0xff,0xd3,0x00,0x35,0x00,0x48,0xff,0xa4,0x00,0x35, +0x00,0x52,0xff,0xa4,0x00,0x35,0x00,0x58,0xff,0xa4,0x00,0x35,0x00,0x5c,0xff,0x90, +0x00,0x35,0x00,0x6d,0xff,0x90,0x00,0x35,0x00,0x7d,0xff,0xdc,0x00,0x35,0x00,0x82, +0xff,0xad,0x00,0x35,0x00,0x83,0xff,0xad,0x00,0x35,0x00,0x84,0xff,0xad,0x00,0x35, +0x00,0x85,0xff,0xad,0x00,0x35,0x00,0x86,0xff,0xad,0x00,0x35,0x00,0x89,0xff,0x9a, +0x00,0x35,0x00,0x9f,0xff,0x7d,0x00,0x35,0x00,0xa2,0xff,0xd3,0x00,0x35,0x00,0xa3, +0xff,0xd3,0x00,0x35,0x00,0xa4,0xff,0xd3,0x00,0x35,0x00,0xa5,0xff,0xd3,0x00,0x35, +0x00,0xa6,0xff,0xd3,0x00,0x35,0x00,0xa7,0xff,0xd3,0x00,0x35,0x00,0xaa,0xff,0xa4, +0x00,0x35,0x00,0xab,0xff,0xa4,0x00,0x35,0x00,0xac,0xff,0xa4,0x00,0x35,0x00,0xad, +0xff,0xa4,0x00,0x35,0x00,0xb4,0xff,0xa4,0x00,0x35,0x00,0xb5,0xff,0xa4,0x00,0x35, +0x00,0xb6,0xff,0xa4,0x00,0x35,0x00,0xb7,0xff,0xa4,0x00,0x35,0x00,0xb8,0xff,0xa4, +0x00,0x35,0x00,0xbb,0xff,0xa4,0x00,0x35,0x00,0xbc,0xff,0xa4,0x00,0x35,0x00,0xbd, +0xff,0xa4,0x00,0x35,0x00,0xbe,0xff,0xa4,0x00,0x35,0x00,0xbf,0xff,0x90,0x00,0x35, +0x00,0xc1,0xff,0x90,0x00,0x35,0x00,0xc8,0xff,0x9a,0x00,0x35,0x00,0xce,0xff,0x9a, +0x00,0x35,0x00,0xdd,0xff,0xa4,0x00,0x35,0x01,0x26,0xff,0x6b,0x00,0x35,0x01,0x31, +0xff,0xa4,0x00,0x35,0x01,0x3a,0xff,0x7d,0x00,0x35,0x07,0x7d,0xff,0x6b,0x00,0x35, +0x07,0x7e,0xff,0x7d,0x00,0x35,0x07,0x7f,0xff,0xdc,0x00,0x36,0x00,0x24,0x00,0x26, +0x00,0x36,0x00,0x82,0x00,0x26,0x00,0x36,0x00,0x83,0x00,0x26,0x00,0x36,0x00,0x84, +0x00,0x26,0x00,0x36,0x00,0x85,0x00,0x26,0x00,0x36,0x00,0x86,0x00,0x26,0x00,0x37, +0x00,0x10,0xff,0x44,0x00,0x37,0x00,0x11,0xff,0x0d,0x00,0x37,0x00,0x1d,0xff,0x1f, +0x00,0x37,0x00,0x24,0xff,0x61,0x00,0x37,0x00,0x26,0xff,0x88,0x00,0x37,0x00,0x37, +0xff,0xdc,0x00,0x37,0x00,0x44,0xfe,0xad,0x00,0x37,0x00,0x46,0xfe,0xa4,0x00,0x37, +0x00,0x48,0xfe,0xa4,0x00,0x37,0x00,0x4c,0xff,0xc1,0x00,0x37,0x00,0x52,0xfe,0xa4, +0x00,0x37,0x00,0x55,0xfe,0xd3,0x00,0x37,0x00,0x56,0xfe,0xad,0x00,0x37,0x00,0x58, +0xfe,0xc9,0x00,0x37,0x00,0x5a,0xfe,0xad,0x00,0x37,0x00,0x5c,0xfe,0xc1,0x00,0x37, +0x00,0x6d,0xff,0x44,0x00,0x37,0x00,0x7d,0xff,0x90,0x00,0x37,0x00,0x82,0xff,0x61, +0x00,0x37,0x00,0x83,0xff,0x61,0x00,0x37,0x00,0x84,0xff,0x61,0x00,0x37,0x00,0x85, +0xff,0x61,0x00,0x37,0x00,0x86,0xff,0x61,0x00,0x37,0x00,0x89,0xff,0x88,0x00,0x37, +0x00,0xa2,0xfe,0xad,0x00,0x37,0x00,0xa3,0xfe,0xad,0x00,0x37,0x00,0xa4,0xfe,0xad, +0x00,0x37,0x00,0xa5,0xfe,0xad,0x00,0x37,0x00,0xa6,0xfe,0xad,0x00,0x37,0x00,0xa7, +0xfe,0xad,0x00,0x37,0x00,0xa9,0xfe,0xa4,0x00,0x37,0x00,0xaa,0xfe,0xa4,0x00,0x37, +0x00,0xab,0xfe,0xa4,0x00,0x37,0x00,0xac,0xfe,0xa4,0x00,0x37,0x00,0xad,0xfe,0xa4, +0x00,0x37,0x00,0xb4,0xfe,0xa4,0x00,0x37,0x00,0xb5,0xfe,0xa4,0x00,0x37,0x00,0xb6, +0xfe,0xa4,0x00,0x37,0x00,0xb7,0xfe,0xa4,0x00,0x37,0x00,0xb8,0xfe,0xa4,0x00,0x37, +0x00,0xbb,0xfe,0xc9,0x00,0x37,0x00,0xbc,0xfe,0xc9,0x00,0x37,0x00,0xbd,0xfe,0xc9, +0x00,0x37,0x00,0xbe,0xfe,0xc9,0x00,0x37,0x00,0xbf,0xfe,0xc1,0x00,0x37,0x00,0xc1, +0xfe,0xc1,0x00,0x37,0x00,0xc8,0xff,0x88,0x00,0x37,0x00,0xc9,0xfe,0xa4,0x00,0x37, +0x00,0xce,0xff,0x88,0x00,0x37,0x00,0xcf,0xfe,0xa4,0x00,0x37,0x00,0xdd,0xfe,0xa4, +0x00,0x37,0x01,0x17,0xfe,0xd3,0x00,0x37,0x01,0x1b,0xfe,0xd3,0x00,0x37,0x01,0x21, +0xfe,0xad,0x00,0x37,0x01,0x23,0xfe,0xad,0x00,0x37,0x01,0x26,0xff,0xdc,0x00,0x37, +0x01,0x31,0xfe,0xc9,0x00,0x37,0x07,0x7e,0xff,0xd3,0x00,0x37,0x07,0x7f,0xfe,0xf8, +0x00,0x38,0x00,0x3d,0xff,0xdc,0x00,0x38,0x01,0x3f,0xff,0xdc,0x00,0x39,0x00,0x10, +0xff,0x88,0x00,0x39,0x00,0x11,0xfe,0xf8,0x00,0x39,0x00,0x1d,0xff,0x59,0x00,0x39, +0x00,0x24,0xff,0x7d,0x00,0x39,0x00,0x32,0xff,0xdc,0x00,0x39,0x00,0x44,0xff,0x61, +0x00,0x39,0x00,0x48,0xff,0x61,0x00,0x39,0x00,0x4c,0xff,0xd3,0x00,0x39,0x00,0x52, +0xff,0x61,0x00,0x39,0x00,0x58,0xff,0x75,0x00,0x39,0x00,0x5c,0xff,0xc9,0x00,0x39, +0x00,0x6d,0xff,0x4e,0x00,0x39,0x00,0x7d,0xff,0x90,0x00,0x39,0x00,0x82,0xff,0x7d, +0x00,0x39,0x00,0x83,0xff,0x7d,0x00,0x39,0x00,0x84,0xff,0x7d,0x00,0x39,0x00,0x85, +0xff,0x7d,0x00,0x39,0x00,0x86,0xff,0x7d,0x00,0x39,0x00,0x94,0xff,0xdc,0x00,0x39, +0x00,0x95,0xff,0xdc,0x00,0x39,0x00,0x96,0xff,0xdc,0x00,0x39,0x00,0x97,0xff,0xdc, +0x00,0x39,0x00,0x98,0xff,0xdc,0x00,0x39,0x00,0xa2,0xff,0x61,0x00,0x39,0x00,0xa3, +0xff,0x61,0x00,0x39,0x00,0xa4,0xff,0x61,0x00,0x39,0x00,0xa5,0xff,0x61,0x00,0x39, +0x00,0xa6,0xff,0x61,0x00,0x39,0x00,0xa7,0xff,0x61,0x00,0x39,0x00,0xaa,0xff,0x61, +0x00,0x39,0x00,0xab,0xff,0x61,0x00,0x39,0x00,0xac,0xff,0x61,0x00,0x39,0x00,0xad, +0xff,0x61,0x00,0x39,0x00,0xb4,0xff,0x61,0x00,0x39,0x00,0xb5,0xff,0x61,0x00,0x39, +0x00,0xb6,0xff,0x61,0x00,0x39,0x00,0xb7,0xff,0x61,0x00,0x39,0x00,0xb8,0xff,0x61, +0x00,0x39,0x00,0xbb,0xff,0x75,0x00,0x39,0x00,0xbc,0xff,0x75,0x00,0x39,0x00,0xbd, +0xff,0x75,0x00,0x39,0x00,0xbe,0xff,0x75,0x00,0x39,0x00,0xbf,0xff,0xc9,0x00,0x39, +0x00,0xc1,0xff,0xc9,0x00,0x39,0x00,0xdd,0xff,0x61,0x00,0x39,0x01,0x31,0xff,0x75, +0x00,0x39,0x07,0x7f,0xfe,0xe6,0x00,0x3a,0x00,0x10,0xff,0xad,0x00,0x3a,0x00,0x11, +0xff,0x15,0x00,0x3a,0x00,0x1d,0xff,0x88,0x00,0x3a,0x00,0x24,0xff,0x90,0x00,0x3a, +0x00,0x44,0xff,0x7d,0x00,0x3a,0x00,0x48,0xff,0x88,0x00,0x3a,0x00,0x4c,0xff,0xd3, +0x00,0x3a,0x00,0x52,0xff,0x88,0x00,0x3a,0x00,0x55,0xff,0xa4,0x00,0x3a,0x00,0x58, +0xff,0xb7,0x00,0x3a,0x00,0x5c,0xff,0xdc,0x00,0x3a,0x00,0x6d,0xff,0x90,0x00,0x3a, +0x00,0x7d,0xff,0xdc,0x00,0x3a,0x00,0x82,0xff,0x90,0x00,0x3a,0x00,0x83,0xff,0x90, +0x00,0x3a,0x00,0x84,0xff,0x90,0x00,0x3a,0x00,0x85,0xff,0x90,0x00,0x3a,0x00,0x86, +0xff,0x90,0x00,0x3a,0x00,0xa2,0xff,0x7d,0x00,0x3a,0x00,0xa3,0xff,0x7d,0x00,0x3a, +0x00,0xa4,0xff,0x7d,0x00,0x3a,0x00,0xa5,0xff,0x7d,0x00,0x3a,0x00,0xa6,0xff,0x7d, +0x00,0x3a,0x00,0xa7,0xff,0x7d,0x00,0x3a,0x00,0xaa,0xff,0x88,0x00,0x3a,0x00,0xab, +0xff,0x88,0x00,0x3a,0x00,0xac,0xff,0x88,0x00,0x3a,0x00,0xad,0xff,0x88,0x00,0x3a, +0x00,0xb4,0xff,0x88,0x00,0x3a,0x00,0xb5,0xff,0x88,0x00,0x3a,0x00,0xb6,0xff,0x88, +0x00,0x3a,0x00,0xb7,0xff,0x88,0x00,0x3a,0x00,0xb8,0xff,0x88,0x00,0x3a,0x00,0xbb, +0xff,0xb7,0x00,0x3a,0x00,0xbc,0xff,0xb7,0x00,0x3a,0x00,0xbd,0xff,0xb7,0x00,0x3a, +0x00,0xbe,0xff,0xb7,0x00,0x3a,0x00,0xbf,0xff,0xdc,0x00,0x3a,0x00,0xc1,0xff,0xdc, +0x00,0x3a,0x00,0xdd,0xff,0x88,0x00,0x3a,0x01,0x17,0xff,0xa4,0x00,0x3a,0x01,0x1b, +0xff,0xa4,0x00,0x3a,0x01,0x31,0xff,0xb7,0x00,0x3a,0x07,0x7d,0xff,0xdc,0x00,0x3a, +0x07,0x7f,0xfe,0xf8,0x00,0x3b,0x00,0x10,0xff,0x9a,0x00,0x3b,0x00,0x26,0xff,0x6b, +0x00,0x3b,0x00,0x32,0xff,0x7d,0x00,0x3b,0x00,0x37,0xff,0xdc,0x00,0x3b,0x00,0x48, +0xff,0xa4,0x00,0x3b,0x00,0x6d,0xff,0x90,0x00,0x3b,0x00,0x89,0xff,0x6b,0x00,0x3b, +0x00,0x94,0xff,0x7d,0x00,0x3b,0x00,0x95,0xff,0x7d,0x00,0x3b,0x00,0x96,0xff,0x7d, +0x00,0x3b,0x00,0x97,0xff,0x7d,0x00,0x3b,0x00,0x98,0xff,0x7d,0x00,0x3b,0x00,0xaa, +0xff,0xa4,0x00,0x3b,0x00,0xab,0xff,0xa4,0x00,0x3b,0x00,0xac,0xff,0xa4,0x00,0x3b, +0x00,0xad,0xff,0xa4,0x00,0x3b,0x00,0xc8,0xff,0x6b,0x00,0x3b,0x00,0xce,0xff,0x6b, +0x00,0x3b,0x00,0xdd,0xff,0xa4,0x00,0x3b,0x01,0x26,0xff,0xdc,0x00,0x3b,0x07,0x7d, +0xff,0x61,0x00,0x3b,0x07,0x7e,0xff,0xad,0x00,0x3b,0x07,0x7f,0xff,0xd3,0x00,0x3c, +0x00,0x10,0xff,0x0d,0x00,0x3c,0x00,0x11,0xfe,0x61,0x00,0x3c,0x00,0x1d,0xfe,0xf0, +0x00,0x3c,0x00,0x24,0xff,0x61,0x00,0x3c,0x00,0x26,0xff,0x90,0x00,0x3c,0x00,0x32, +0xff,0x90,0x00,0x3c,0x00,0x44,0xfe,0xe6,0x00,0x3c,0x00,0x48,0xfe,0xf0,0x00,0x3c, +0x00,0x4c,0xff,0xb7,0x00,0x3c,0x00,0x52,0xfe,0xf0,0x00,0x3c,0x00,0x58,0xff,0x15, +0x00,0x3c,0x00,0x6d,0xff,0x1f,0x00,0x3c,0x00,0x7d,0xff,0x6b,0x00,0x3c,0x00,0x82, +0xff,0x61,0x00,0x3c,0x00,0x83,0xff,0x61,0x00,0x3c,0x00,0x84,0xff,0x61,0x00,0x3c, +0x00,0x85,0xff,0x61,0x00,0x3c,0x00,0x86,0xff,0x61,0x00,0x3c,0x00,0x89,0xff,0x90, +0x00,0x3c,0x00,0x94,0xff,0x90,0x00,0x3c,0x00,0x95,0xff,0x90,0x00,0x3c,0x00,0x96, +0xff,0x90,0x00,0x3c,0x00,0x97,0xff,0x90,0x00,0x3c,0x00,0x98,0xff,0x90,0x00,0x3c, +0x00,0xa2,0xfe,0xe6,0x00,0x3c,0x00,0xa3,0xfe,0xe6,0x00,0x3c,0x00,0xa4,0xfe,0xe6, +0x00,0x3c,0x00,0xa5,0xfe,0xe6,0x00,0x3c,0x00,0xa6,0xfe,0xe6,0x00,0x3c,0x00,0xa7, +0xfe,0xe6,0x00,0x3c,0x00,0xaa,0xfe,0xf0,0x00,0x3c,0x00,0xab,0xfe,0xf0,0x00,0x3c, +0x00,0xac,0xfe,0xf0,0x00,0x3c,0x00,0xad,0xfe,0xf0,0x00,0x3c,0x00,0xb4,0xfe,0xf0, +0x00,0x3c,0x00,0xb5,0xfe,0xf0,0x00,0x3c,0x00,0xb6,0xfe,0xf0,0x00,0x3c,0x00,0xb7, +0xfe,0xf0,0x00,0x3c,0x00,0xb8,0xfe,0xf0,0x00,0x3c,0x00,0xbb,0xff,0x15,0x00,0x3c, +0x00,0xbc,0xff,0x15,0x00,0x3c,0x00,0xbd,0xff,0x15,0x00,0x3c,0x00,0xbe,0xff,0x15, +0x00,0x3c,0x00,0xc8,0xff,0x90,0x00,0x3c,0x00,0xce,0xff,0x90,0x00,0x3c,0x00,0xdd, +0xfe,0xf0,0x00,0x3c,0x01,0x31,0xff,0x15,0x00,0x3c,0x07,0x7d,0xff,0x90,0x00,0x3c, +0x07,0x7e,0xff,0xdc,0x00,0x3c,0x07,0x7f,0xfe,0xf8,0x00,0x3d,0x00,0x10,0xff,0xdc, +0x00,0x3d,0x07,0x7d,0xff,0xdc,0x00,0x3d,0x07,0x7e,0xff,0xdc,0x00,0x3d,0x07,0x7f, +0xff,0xdc,0x00,0x48,0x00,0x5b,0xff,0xdc,0x00,0x49,0x00,0x10,0xff,0x90,0x00,0x49, +0x00,0x11,0xff,0x6b,0x00,0x49,0x00,0x1d,0xff,0xb7,0x00,0x49,0x00,0x57,0xff,0xdc, +0x00,0x49,0x00,0x5a,0xff,0xdc,0x00,0x49,0x00,0x5c,0xff,0xdc,0x00,0x49,0x00,0x6d, +0xff,0xb7,0x00,0x49,0x00,0x7d,0xff,0xdc,0x00,0x49,0x00,0xbf,0xff,0xdc,0x00,0x49, +0x00,0xc1,0xff,0xdc,0x00,0x49,0x01,0x27,0xff,0xdc,0x00,0x49,0x07,0x7d,0x00,0x41, +0x00,0x49,0x07,0x7f,0xff,0x15,0x00,0x4e,0x00,0x44,0xff,0xdc,0x00,0x4e,0x00,0x48, +0xff,0xb7,0x00,0x4e,0x00,0x52,0xff,0xb7,0x00,0x4e,0x00,0x58,0xff,0xc1,0x00,0x4e, +0x00,0x5c,0xff,0xb7,0x00,0x4e,0x00,0xa2,0xff,0xdc,0x00,0x4e,0x00,0xa3,0xff,0xdc, +0x00,0x4e,0x00,0xa4,0xff,0xdc,0x00,0x4e,0x00,0xa5,0xff,0xdc,0x00,0x4e,0x00,0xa6, +0xff,0xdc,0x00,0x4e,0x00,0xa7,0xff,0xdc,0x00,0x4e,0x00,0xaa,0xff,0xb7,0x00,0x4e, +0x00,0xab,0xff,0xb7,0x00,0x4e,0x00,0xac,0xff,0xb7,0x00,0x4e,0x00,0xad,0xff,0xb7, +0x00,0x4e,0x00,0xb4,0xff,0xb7,0x00,0x4e,0x00,0xb5,0xff,0xb7,0x00,0x4e,0x00,0xb6, +0xff,0xb7,0x00,0x4e,0x00,0xb7,0xff,0xb7,0x00,0x4e,0x00,0xb8,0xff,0xb7,0x00,0x4e, +0x00,0xbb,0xff,0xc1,0x00,0x4e,0x00,0xbc,0xff,0xc1,0x00,0x4e,0x00,0xbd,0xff,0xc1, +0x00,0x4e,0x00,0xbe,0xff,0xc1,0x00,0x4e,0x00,0xbf,0xff,0xb7,0x00,0x4e,0x00,0xc1, +0xff,0xb7,0x00,0x4e,0x00,0xdd,0xff,0xb7,0x00,0x4e,0x01,0x31,0xff,0xc1,0x00,0x51, +0x07,0x7d,0xff,0x6b,0x00,0x51,0x07,0x7e,0xff,0x90,0x00,0x51,0x07,0x7f,0xff,0xa4, +0x00,0x52,0x00,0x10,0x00,0x26,0x00,0x52,0x00,0x11,0xff,0xdc,0x00,0x52,0x00,0x5b, +0xff,0xc1,0x00,0x52,0x07,0x7d,0xff,0x6b,0x00,0x52,0x07,0x7e,0xff,0xb7,0x00,0x52, +0x07,0x7f,0xff,0x7d,0x00,0x55,0x00,0x10,0xff,0x7d,0x00,0x55,0x00,0x11,0xff,0x44, +0x00,0x55,0x00,0x1d,0xff,0xdc,0x00,0x55,0x00,0x46,0xff,0xd3,0x00,0x55,0x00,0x47, +0xff,0xdc,0x00,0x55,0x00,0x48,0xff,0xd3,0x00,0x55,0x00,0x4a,0xff,0xdc,0x00,0x55, +0x00,0x4b,0xff,0xdc,0x00,0x55,0x00,0x50,0xff,0xdc,0x00,0x55,0x00,0x51,0xff,0xdc, +0x00,0x55,0x00,0x52,0xff,0xd3,0x00,0x55,0x00,0x54,0xff,0xdc,0x00,0x55,0x00,0x55, +0xff,0xdc,0x00,0x55,0x00,0x5b,0xff,0xc9,0x00,0x55,0x00,0x6d,0xff,0xb7,0x00,0x55, +0x00,0xa9,0xff,0xd3,0x00,0x55,0x00,0xaa,0xff,0xd3,0x00,0x55,0x00,0xab,0xff,0xd3, +0x00,0x55,0x00,0xac,0xff,0xd3,0x00,0x55,0x00,0xad,0xff,0xd3,0x00,0x55,0x00,0xb3, +0xff,0xdc,0x00,0x55,0x00,0xb4,0xff,0xd3,0x00,0x55,0x00,0xb5,0xff,0xd3,0x00,0x55, +0x00,0xb6,0xff,0xd3,0x00,0x55,0x00,0xb7,0xff,0xd3,0x00,0x55,0x00,0xb8,0xff,0xd3, +0x00,0x55,0x00,0xc9,0xff,0xd3,0x00,0x55,0x00,0xcf,0xff,0xd3,0x00,0x55,0x00,0xd1, +0x00,0x48,0x00,0x55,0x00,0xdd,0xff,0xd3,0x00,0x55,0x00,0xe1,0xff,0xdc,0x00,0x55, +0x01,0x0a,0xff,0xdc,0x00,0x55,0x01,0x17,0xff,0xdc,0x00,0x55,0x01,0x1b,0xff,0xdc, +0x00,0x55,0x07,0x7e,0x00,0x56,0x00,0x55,0x07,0x7f,0xfe,0xc9,0x00,0x59,0x00,0x10, +0xff,0xc9,0x00,0x59,0x00,0x11,0xff,0x61,0x00,0x59,0x00,0x1d,0xff,0x90,0x00,0x59, +0x00,0x6d,0xff,0xdc,0x00,0x59,0x00,0x7d,0xff,0xdc,0x00,0x59,0x07,0x7e,0xff,0xdc, +0x00,0x59,0x07,0x7f,0xfe,0xf0,0x00,0x5a,0x00,0x11,0xff,0x44,0x00,0x5a,0x00,0x1d, +0xff,0x90,0x00,0x5a,0x00,0x6d,0xff,0xdc,0x00,0x5a,0x00,0x7d,0xff,0xdc,0x00,0x5a, +0x07,0x7f,0xff,0x29,0x00,0x5b,0x00,0x46,0xff,0xdc,0x00,0x5b,0x00,0x48,0xff,0xc1, +0x00,0x5b,0x00,0x52,0xff,0xc1,0x00,0x5b,0x00,0xa9,0xff,0xdc,0x00,0x5b,0x00,0xaa, +0xff,0xc1,0x00,0x5b,0x00,0xab,0xff,0xc1,0x00,0x5b,0x00,0xac,0xff,0xc1,0x00,0x5b, +0x00,0xad,0xff,0xc1,0x00,0x5b,0x00,0xb4,0xff,0xc1,0x00,0x5b,0x00,0xb5,0xff,0xc1, +0x00,0x5b,0x00,0xb6,0xff,0xc1,0x00,0x5b,0x00,0xb7,0xff,0xc1,0x00,0x5b,0x00,0xb8, +0xff,0xc1,0x00,0x5b,0x00,0xc9,0xff,0xdc,0x00,0x5b,0x00,0xcf,0xff,0xdc,0x00,0x5b, +0x00,0xdd,0xff,0xc1,0x00,0x5c,0x00,0x10,0xff,0xdc,0x00,0x5c,0x00,0x11,0xfe,0xdc, +0x00,0x5c,0x00,0x1d,0xff,0x6b,0x00,0x5c,0x00,0x6d,0xff,0xdc,0x00,0x5c,0x00,0x7d, +0xff,0xdc,0x00,0x5c,0x07,0x7f,0xfe,0xd3,0x00,0x6d,0x00,0x25,0xff,0xdc,0x00,0x6d, +0x00,0x26,0xff,0xdc,0x00,0x6d,0x00,0x27,0xff,0xdc,0x00,0x6d,0x00,0x2a,0xff,0xdc, +0x00,0x6d,0x00,0x2d,0xff,0xdc,0x00,0x6d,0x00,0x37,0xff,0x90,0x00,0x6d,0x00,0x39, +0xff,0x90,0x00,0x6d,0x00,0x3a,0xff,0xdc,0x00,0x6d,0x00,0x3c,0xff,0x6b,0x00,0x6d, +0x00,0x59,0xff,0xdc,0x00,0x6d,0x00,0x5a,0xff,0xdc,0x00,0x6d,0x00,0x5c,0xff,0xdc, +0x00,0x6d,0x00,0x88,0x00,0x97,0x00,0x6d,0x00,0x89,0xff,0xdc,0x00,0x6d,0x00,0x9f, +0xff,0x6b,0x00,0x6d,0x00,0xbf,0xff,0xdc,0x00,0x6d,0x00,0xc1,0xff,0xdc,0x00,0x6d, +0x00,0xc8,0xff,0xdc,0x00,0x6d,0x00,0xce,0xff,0xdc,0x00,0x6d,0x00,0xd0,0xff,0xdc, +0x00,0x6d,0x00,0xe0,0xff,0xdc,0x00,0x6d,0x01,0x26,0xff,0x90,0x00,0x6d,0x01,0x3a, +0xff,0x6b,0x00,0x7d,0x00,0x24,0xff,0xb7,0x00,0x7d,0x00,0x25,0xff,0xb7,0x00,0x7d, +0x00,0x26,0xff,0xdc,0x00,0x7d,0x00,0x27,0xff,0xdc,0x00,0x7d,0x00,0x2d,0xff,0xdc, +0x00,0x7d,0x00,0x32,0xff,0xdc,0x00,0x7d,0x00,0x37,0xff,0x44,0x00,0x7d,0x00,0x39, +0xff,0x4e,0x00,0x7d,0x00,0x3a,0xff,0x90,0x00,0x7d,0x00,0x3b,0xff,0x90,0x00,0x7d, +0x00,0x3c,0xff,0x1f,0x00,0x7d,0x00,0x59,0xff,0xdc,0x00,0x7d,0x00,0x5a,0xff,0xdc, +0x00,0x7d,0x00,0x5c,0xff,0xdc,0x00,0x7d,0x00,0x82,0xff,0xb7,0x00,0x7d,0x00,0x83, +0xff,0xb7,0x00,0x7d,0x00,0x84,0xff,0xb7,0x00,0x7d,0x00,0x85,0xff,0xb7,0x00,0x7d, +0x00,0x86,0xff,0xb7,0x00,0x7d,0x00,0x89,0xff,0xdc,0x00,0x7d,0x00,0x94,0xff,0xdc, +0x00,0x7d,0x00,0x95,0xff,0xdc,0x00,0x7d,0x00,0x96,0xff,0xdc,0x00,0x7d,0x00,0x97, +0xff,0xdc,0x00,0x7d,0x00,0x98,0xff,0xdc,0x00,0x7d,0x00,0x9f,0xff,0x1f,0x00,0x7d, +0x00,0xbf,0xff,0xdc,0x00,0x7d,0x00,0xc1,0xff,0xdc,0x00,0x7d,0x00,0xc8,0xff,0xdc, +0x00,0x7d,0x00,0xce,0xff,0xdc,0x00,0x7d,0x00,0xd0,0xff,0xdc,0x00,0x7d,0x01,0x26, +0xff,0x44,0x00,0x7d,0x01,0x3a,0xff,0x1f,0x00,0x82,0x00,0x10,0xff,0xd3,0x00,0x82, +0x00,0x11,0xff,0xdc,0x00,0x82,0x00,0x1d,0xff,0xdc,0x00,0x82,0x00,0x24,0x00,0x39, +0x00,0x82,0x00,0x26,0xff,0xdc,0x00,0x82,0x00,0x2a,0xff,0xdc,0x00,0x82,0x00,0x32, +0xff,0xdc,0x00,0x82,0x00,0x34,0xff,0xdc,0x00,0x82,0x00,0x37,0xff,0x61,0x00,0x82, +0x00,0x39,0xff,0x7d,0x00,0x82,0x00,0x3a,0xff,0x90,0x00,0x82,0x00,0x3c,0xff,0x61, +0x00,0x82,0x00,0x46,0xff,0xdc,0x00,0x82,0x00,0x47,0xff,0xdc,0x00,0x82,0x00,0x48, +0xff,0xdc,0x00,0x82,0x00,0x49,0xff,0xb7,0x00,0x82,0x00,0x52,0xff,0xdc,0x00,0x82, +0x00,0x54,0xff,0xdc,0x00,0x82,0x00,0x57,0xff,0xdc,0x00,0x82,0x00,0x59,0xff,0x88, +0x00,0x82,0x00,0x5a,0xff,0xad,0x00,0x82,0x00,0x5c,0xff,0x75,0x00,0x82,0x00,0x6d, +0xff,0xb7,0x00,0x82,0x00,0x82,0x00,0x39,0x00,0x82,0x00,0x83,0x00,0x39,0x00,0x82, +0x00,0x84,0x00,0x39,0x00,0x82,0x00,0x85,0x00,0x39,0x00,0x82,0x00,0x86,0x00,0x39, +0x00,0x82,0x00,0x89,0xff,0xdc,0x00,0x82,0x00,0x94,0xff,0xdc,0x00,0x82,0x00,0x95, +0xff,0xdc,0x00,0x82,0x00,0x96,0xff,0xdc,0x00,0x82,0x00,0x97,0xff,0xdc,0x00,0x82, +0x00,0x98,0xff,0xdc,0x00,0x82,0x00,0x9f,0xff,0x61,0x00,0x82,0x00,0xa9,0xff,0xdc, +0x00,0x82,0x00,0xaa,0xff,0xdc,0x00,0x82,0x00,0xab,0xff,0xdc,0x00,0x82,0x00,0xac, +0xff,0xdc,0x00,0x82,0x00,0xad,0xff,0xdc,0x00,0x82,0x00,0xb4,0xff,0xdc,0x00,0x82, +0x00,0xb5,0xff,0xdc,0x00,0x82,0x00,0xb6,0xff,0xdc,0x00,0x82,0x00,0xb7,0xff,0xdc, +0x00,0x82,0x00,0xb8,0xff,0xdc,0x00,0x82,0x00,0xbf,0xff,0x75,0x00,0x82,0x00,0xc1, +0xff,0x75,0x00,0x82,0x00,0xc2,0x00,0x39,0x00,0x82,0x00,0xc4,0x00,0x39,0x00,0x82, +0x00,0xc6,0x00,0x39,0x00,0x82,0x00,0xc8,0xff,0xdc,0x00,0x82,0x00,0xc9,0xff,0xdc, +0x00,0x82,0x00,0xca,0xff,0xdc,0x00,0x82,0x00,0xcc,0xff,0xdc,0x00,0x82,0x00,0xcd, +0xff,0xdc,0x00,0x82,0x00,0xce,0xff,0xdc,0x00,0x82,0x00,0xcf,0xff,0xdc,0x00,0x82, +0x00,0xd1,0xff,0xdc,0x00,0x82,0x00,0xd5,0xff,0xdc,0x00,0x82,0x00,0xd7,0xff,0xdc, +0x00,0x82,0x00,0xd9,0xff,0xdc,0x00,0x82,0x00,0xdb,0xff,0xdc,0x00,0x82,0x00,0xdd, +0xff,0xdc,0x00,0x82,0x00,0xde,0xff,0xdc,0x00,0x82,0x00,0xe0,0xff,0xdc,0x00,0x82, +0x00,0xe2,0xff,0xdc,0x00,0x82,0x01,0x0e,0xff,0xdc,0x00,0x82,0x01,0x0f,0xff,0xdc, +0x00,0x82,0x01,0x10,0xff,0xdc,0x00,0x82,0x01,0x11,0xff,0xdc,0x00,0x82,0x01,0x12, +0xff,0xdc,0x00,0x82,0x01,0x13,0xff,0xdc,0x00,0x82,0x01,0x24,0xff,0x61,0x00,0x82, +0x01,0x25,0xff,0xdc,0x00,0x82,0x01,0x26,0xff,0x61,0x00,0x82,0x01,0x27,0xff,0xdc, +0x00,0x82,0x01,0x36,0xff,0x90,0x00,0x82,0x01,0x37,0xff,0xad,0x00,0x82,0x01,0x38, +0xff,0x61,0x00,0x82,0x01,0x39,0xff,0x75,0x00,0x82,0x01,0x3a,0xff,0x61,0x00,0x82, +0x01,0xf0,0xff,0xdc,0x00,0x82,0x01,0xf1,0xff,0xdc,0x00,0x82,0x06,0x07,0xff,0x90, +0x00,0x82,0x06,0x0a,0xff,0xad,0x00,0x82,0x06,0x0b,0xff,0x90,0x00,0x82,0x06,0x0c, +0xff,0xad,0x00,0x82,0x06,0x75,0xff,0x61,0x00,0x82,0x06,0x76,0xff,0x75,0x00,0x82, +0x07,0x7d,0xfe,0xf8,0x00,0x82,0x07,0x7e,0xff,0x03,0x00,0x82,0x07,0x7f,0x00,0x2f, +0x00,0x83,0x00,0x10,0xff,0xd3,0x00,0x83,0x00,0x11,0xff,0xdc,0x00,0x83,0x00,0x1d, +0xff,0xdc,0x00,0x83,0x00,0x24,0x00,0x39,0x00,0x83,0x00,0x26,0xff,0xdc,0x00,0x83, +0x00,0x2a,0xff,0xdc,0x00,0x83,0x00,0x32,0xff,0xdc,0x00,0x83,0x00,0x34,0xff,0xdc, +0x00,0x83,0x00,0x37,0xff,0x61,0x00,0x83,0x00,0x39,0xff,0x7d,0x00,0x83,0x00,0x3a, +0xff,0x90,0x00,0x83,0x00,0x3c,0xff,0x61,0x00,0x83,0x00,0x46,0xff,0xdc,0x00,0x83, +0x00,0x47,0xff,0xdc,0x00,0x83,0x00,0x48,0xff,0xdc,0x00,0x83,0x00,0x49,0xff,0xb7, +0x00,0x83,0x00,0x52,0xff,0xdc,0x00,0x83,0x00,0x54,0xff,0xdc,0x00,0x83,0x00,0x57, +0xff,0xdc,0x00,0x83,0x00,0x59,0xff,0x88,0x00,0x83,0x00,0x5a,0xff,0xad,0x00,0x83, +0x00,0x5c,0xff,0x75,0x00,0x83,0x00,0x6d,0xff,0xb7,0x00,0x83,0x00,0x82,0x00,0x39, +0x00,0x83,0x00,0x83,0x00,0x39,0x00,0x83,0x00,0x84,0x00,0x39,0x00,0x83,0x00,0x85, +0x00,0x39,0x00,0x83,0x00,0x86,0x00,0x39,0x00,0x83,0x00,0x89,0xff,0xdc,0x00,0x83, +0x00,0x94,0xff,0xdc,0x00,0x83,0x00,0x95,0xff,0xdc,0x00,0x83,0x00,0x96,0xff,0xdc, +0x00,0x83,0x00,0x97,0xff,0xdc,0x00,0x83,0x00,0x98,0xff,0xdc,0x00,0x83,0x00,0x9f, +0xff,0x61,0x00,0x83,0x00,0xa9,0xff,0xdc,0x00,0x83,0x00,0xaa,0xff,0xdc,0x00,0x83, +0x00,0xab,0xff,0xdc,0x00,0x83,0x00,0xac,0xff,0xdc,0x00,0x83,0x00,0xad,0xff,0xdc, +0x00,0x83,0x00,0xb4,0xff,0xdc,0x00,0x83,0x00,0xb5,0xff,0xdc,0x00,0x83,0x00,0xb6, +0xff,0xdc,0x00,0x83,0x00,0xb7,0xff,0xdc,0x00,0x83,0x00,0xb8,0xff,0xdc,0x00,0x83, +0x00,0xbf,0xff,0x75,0x00,0x83,0x00,0xc1,0xff,0x75,0x00,0x83,0x00,0xc2,0x00,0x39, +0x00,0x83,0x00,0xc4,0x00,0x39,0x00,0x83,0x00,0xc6,0x00,0x39,0x00,0x83,0x00,0xc8, +0xff,0xdc,0x00,0x83,0x00,0xc9,0xff,0xdc,0x00,0x83,0x00,0xca,0xff,0xdc,0x00,0x83, +0x00,0xcc,0xff,0xdc,0x00,0x83,0x00,0xcd,0xff,0xdc,0x00,0x83,0x00,0xce,0xff,0xdc, +0x00,0x83,0x00,0xcf,0xff,0xdc,0x00,0x83,0x00,0xd1,0xff,0xdc,0x00,0x83,0x00,0xd5, +0xff,0xdc,0x00,0x83,0x00,0xd7,0xff,0xdc,0x00,0x83,0x00,0xd9,0xff,0xdc,0x00,0x83, +0x00,0xdb,0xff,0xdc,0x00,0x83,0x00,0xdd,0xff,0xdc,0x00,0x83,0x00,0xde,0xff,0xdc, +0x00,0x83,0x00,0xe0,0xff,0xdc,0x00,0x83,0x00,0xe2,0xff,0xdc,0x00,0x83,0x01,0x0e, +0xff,0xdc,0x00,0x83,0x01,0x0f,0xff,0xdc,0x00,0x83,0x01,0x10,0xff,0xdc,0x00,0x83, +0x01,0x11,0xff,0xdc,0x00,0x83,0x01,0x12,0xff,0xdc,0x00,0x83,0x01,0x13,0xff,0xdc, +0x00,0x83,0x01,0x24,0xff,0x61,0x00,0x83,0x01,0x25,0xff,0xdc,0x00,0x83,0x01,0x26, +0xff,0x61,0x00,0x83,0x01,0x27,0xff,0xdc,0x00,0x83,0x01,0x36,0xff,0x90,0x00,0x83, +0x01,0x37,0xff,0xad,0x00,0x83,0x01,0x38,0xff,0x61,0x00,0x83,0x01,0x39,0xff,0x75, +0x00,0x83,0x01,0x3a,0xff,0x61,0x00,0x83,0x01,0xf0,0xff,0xdc,0x00,0x83,0x01,0xf1, +0xff,0xdc,0x00,0x83,0x06,0x07,0xff,0x90,0x00,0x83,0x06,0x09,0xff,0x90,0x00,0x83, +0x06,0x0a,0xff,0xad,0x00,0x83,0x06,0x0b,0xff,0x90,0x00,0x83,0x06,0x0c,0xff,0xad, +0x00,0x83,0x06,0x75,0xff,0x61,0x00,0x83,0x06,0x76,0xff,0x75,0x00,0x83,0x07,0x7d, +0xfe,0xf8,0x00,0x83,0x07,0x7e,0xff,0x03,0x00,0x83,0x07,0x7f,0x00,0x2f,0x00,0x84, +0x00,0x10,0xff,0xd3,0x00,0x84,0x00,0x11,0xff,0xdc,0x00,0x84,0x00,0x1d,0xff,0xdc, +0x00,0x84,0x00,0x24,0x00,0x39,0x00,0x84,0x00,0x26,0xff,0xdc,0x00,0x84,0x00,0x2a, +0xff,0xdc,0x00,0x84,0x00,0x32,0xff,0xdc,0x00,0x84,0x00,0x34,0xff,0xdc,0x00,0x84, +0x00,0x37,0xff,0x61,0x00,0x84,0x00,0x39,0xff,0x7d,0x00,0x84,0x00,0x3a,0xff,0x90, +0x00,0x84,0x00,0x3c,0xff,0x61,0x00,0x84,0x00,0x46,0xff,0xdc,0x00,0x84,0x00,0x47, +0xff,0xdc,0x00,0x84,0x00,0x48,0xff,0xdc,0x00,0x84,0x00,0x49,0xff,0xb7,0x00,0x84, +0x00,0x52,0xff,0xdc,0x00,0x84,0x00,0x54,0xff,0xdc,0x00,0x84,0x00,0x57,0xff,0xdc, +0x00,0x84,0x00,0x59,0xff,0x88,0x00,0x84,0x00,0x5a,0xff,0xad,0x00,0x84,0x00,0x5c, +0xff,0x75,0x00,0x84,0x00,0x6d,0xff,0xb7,0x00,0x84,0x00,0x82,0x00,0x39,0x00,0x84, +0x00,0x83,0x00,0x39,0x00,0x84,0x00,0x84,0x00,0x39,0x00,0x84,0x00,0x85,0x00,0x39, +0x00,0x84,0x00,0x86,0x00,0x39,0x00,0x84,0x00,0x89,0xff,0xdc,0x00,0x84,0x00,0x94, +0xff,0xdc,0x00,0x84,0x00,0x95,0xff,0xdc,0x00,0x84,0x00,0x96,0xff,0xdc,0x00,0x84, +0x00,0x97,0xff,0xdc,0x00,0x84,0x00,0x98,0xff,0xdc,0x00,0x84,0x00,0x9f,0xff,0x61, +0x00,0x84,0x00,0xa9,0xff,0xdc,0x00,0x84,0x00,0xaa,0xff,0xdc,0x00,0x84,0x00,0xab, +0xff,0xdc,0x00,0x84,0x00,0xac,0xff,0xdc,0x00,0x84,0x00,0xad,0xff,0xdc,0x00,0x84, +0x00,0xb4,0xff,0xdc,0x00,0x84,0x00,0xb5,0xff,0xdc,0x00,0x84,0x00,0xb6,0xff,0xdc, +0x00,0x84,0x00,0xb7,0xff,0xdc,0x00,0x84,0x00,0xb8,0xff,0xdc,0x00,0x84,0x00,0xbf, +0xff,0x75,0x00,0x84,0x00,0xc1,0xff,0x75,0x00,0x84,0x00,0xc2,0x00,0x39,0x00,0x84, +0x00,0xc4,0x00,0x39,0x00,0x84,0x00,0xc6,0x00,0x39,0x00,0x84,0x00,0xc8,0xff,0xdc, +0x00,0x84,0x00,0xc9,0xff,0xdc,0x00,0x84,0x00,0xca,0xff,0xdc,0x00,0x84,0x00,0xcc, +0xff,0xdc,0x00,0x84,0x00,0xcd,0xff,0xdc,0x00,0x84,0x00,0xce,0xff,0xdc,0x00,0x84, +0x00,0xcf,0xff,0xdc,0x00,0x84,0x00,0xd1,0xff,0xdc,0x00,0x84,0x00,0xd5,0xff,0xdc, +0x00,0x84,0x00,0xd7,0xff,0xdc,0x00,0x84,0x00,0xd9,0xff,0xdc,0x00,0x84,0x00,0xdb, +0xff,0xdc,0x00,0x84,0x00,0xdd,0xff,0xdc,0x00,0x84,0x00,0xde,0xff,0xdc,0x00,0x84, +0x00,0xe0,0xff,0xdc,0x00,0x84,0x00,0xe2,0xff,0xdc,0x00,0x84,0x01,0x0e,0xff,0xdc, +0x00,0x84,0x01,0x0f,0xff,0xdc,0x00,0x84,0x01,0x10,0xff,0xdc,0x00,0x84,0x01,0x11, +0xff,0xdc,0x00,0x84,0x01,0x12,0xff,0xdc,0x00,0x84,0x01,0x13,0xff,0xdc,0x00,0x84, +0x01,0x24,0xff,0x61,0x00,0x84,0x01,0x25,0xff,0xdc,0x00,0x84,0x01,0x26,0xff,0x61, +0x00,0x84,0x01,0x27,0xff,0xdc,0x00,0x84,0x01,0x36,0xff,0x90,0x00,0x84,0x01,0x37, +0xff,0xad,0x00,0x84,0x01,0x38,0xff,0x61,0x00,0x84,0x01,0x39,0xff,0x75,0x00,0x84, +0x01,0x3a,0xff,0x61,0x00,0x84,0x01,0xf0,0xff,0xdc,0x00,0x84,0x01,0xf1,0xff,0xdc, +0x00,0x84,0x06,0x07,0xff,0x90,0x00,0x84,0x06,0x09,0xff,0x90,0x00,0x84,0x06,0x0a, +0xff,0xad,0x00,0x84,0x06,0x0b,0xff,0x90,0x00,0x84,0x06,0x0c,0xff,0xad,0x00,0x84, +0x06,0x75,0xff,0x61,0x00,0x84,0x06,0x76,0xff,0x75,0x00,0x84,0x07,0x7d,0xfe,0xf8, +0x00,0x84,0x07,0x7e,0xff,0x03,0x00,0x84,0x07,0x7f,0x00,0x2f,0x00,0x85,0x00,0x10, +0xff,0xd3,0x00,0x85,0x00,0x11,0xff,0xdc,0x00,0x85,0x00,0x1d,0xff,0xdc,0x00,0x85, +0x00,0x24,0x00,0x39,0x00,0x85,0x00,0x26,0xff,0xdc,0x00,0x85,0x00,0x2a,0xff,0xdc, +0x00,0x85,0x00,0x32,0xff,0xdc,0x00,0x85,0x00,0x34,0xff,0xdc,0x00,0x85,0x00,0x37, +0xff,0x61,0x00,0x85,0x00,0x39,0xff,0x7d,0x00,0x85,0x00,0x3a,0xff,0x90,0x00,0x85, +0x00,0x3c,0xff,0x61,0x00,0x85,0x00,0x46,0xff,0xdc,0x00,0x85,0x00,0x47,0xff,0xdc, +0x00,0x85,0x00,0x48,0xff,0xdc,0x00,0x85,0x00,0x49,0xff,0xb7,0x00,0x85,0x00,0x52, +0xff,0xdc,0x00,0x85,0x00,0x54,0xff,0xdc,0x00,0x85,0x00,0x57,0xff,0xdc,0x00,0x85, +0x00,0x59,0xff,0x88,0x00,0x85,0x00,0x5a,0xff,0xad,0x00,0x85,0x00,0x5c,0xff,0x75, +0x00,0x85,0x00,0x6d,0xff,0xb7,0x00,0x85,0x00,0x82,0x00,0x39,0x00,0x85,0x00,0x83, +0x00,0x39,0x00,0x85,0x00,0x84,0x00,0x39,0x00,0x85,0x00,0x85,0x00,0x39,0x00,0x85, +0x00,0x86,0x00,0x39,0x00,0x85,0x00,0x89,0xff,0xdc,0x00,0x85,0x00,0x94,0xff,0xdc, +0x00,0x85,0x00,0x95,0xff,0xdc,0x00,0x85,0x00,0x96,0xff,0xdc,0x00,0x85,0x00,0x97, +0xff,0xdc,0x00,0x85,0x00,0x98,0xff,0xdc,0x00,0x85,0x00,0x9f,0xff,0x61,0x00,0x85, +0x00,0xa9,0xff,0xdc,0x00,0x85,0x00,0xaa,0xff,0xdc,0x00,0x85,0x00,0xab,0xff,0xdc, +0x00,0x85,0x00,0xac,0xff,0xdc,0x00,0x85,0x00,0xad,0xff,0xdc,0x00,0x85,0x00,0xb4, +0xff,0xdc,0x00,0x85,0x00,0xb5,0xff,0xdc,0x00,0x85,0x00,0xb6,0xff,0xdc,0x00,0x85, +0x00,0xb7,0xff,0xdc,0x00,0x85,0x00,0xb8,0xff,0xdc,0x00,0x85,0x00,0xbf,0xff,0x75, +0x00,0x85,0x00,0xc1,0xff,0x75,0x00,0x85,0x00,0xc2,0x00,0x39,0x00,0x85,0x00,0xc4, +0x00,0x39,0x00,0x85,0x00,0xc6,0x00,0x39,0x00,0x85,0x00,0xc8,0xff,0xdc,0x00,0x85, +0x00,0xc9,0xff,0xdc,0x00,0x85,0x00,0xca,0xff,0xdc,0x00,0x85,0x00,0xcc,0xff,0xdc, +0x00,0x85,0x00,0xcd,0xff,0xdc,0x00,0x85,0x00,0xce,0xff,0xdc,0x00,0x85,0x00,0xcf, +0xff,0xdc,0x00,0x85,0x00,0xd1,0xff,0xdc,0x00,0x85,0x00,0xd5,0xff,0xdc,0x00,0x85, +0x00,0xd7,0xff,0xdc,0x00,0x85,0x00,0xd9,0xff,0xdc,0x00,0x85,0x00,0xdb,0xff,0xdc, +0x00,0x85,0x00,0xdd,0xff,0xdc,0x00,0x85,0x00,0xde,0xff,0xdc,0x00,0x85,0x00,0xe0, +0xff,0xdc,0x00,0x85,0x00,0xe2,0xff,0xdc,0x00,0x85,0x01,0x0e,0xff,0xdc,0x00,0x85, +0x01,0x0f,0xff,0xdc,0x00,0x85,0x01,0x10,0xff,0xdc,0x00,0x85,0x01,0x11,0xff,0xdc, +0x00,0x85,0x01,0x12,0xff,0xdc,0x00,0x85,0x01,0x13,0xff,0xdc,0x00,0x85,0x01,0x24, +0xff,0x61,0x00,0x85,0x01,0x25,0xff,0xdc,0x00,0x85,0x01,0x26,0xff,0x61,0x00,0x85, +0x01,0x27,0xff,0xdc,0x00,0x85,0x01,0x36,0xff,0x90,0x00,0x85,0x01,0x37,0xff,0xad, +0x00,0x85,0x01,0x38,0xff,0x61,0x00,0x85,0x01,0x39,0xff,0x75,0x00,0x85,0x01,0x3a, +0xff,0x61,0x00,0x85,0x01,0xf0,0xff,0xdc,0x00,0x85,0x06,0x07,0xff,0x90,0x00,0x85, +0x06,0x09,0xff,0x90,0x00,0x85,0x06,0x0a,0xff,0xad,0x00,0x85,0x06,0x0b,0xff,0x90, +0x00,0x85,0x06,0x0c,0xff,0xad,0x00,0x85,0x06,0x75,0xff,0x61,0x00,0x85,0x06,0x76, +0xff,0x75,0x00,0x85,0x07,0x7d,0xfe,0xf8,0x00,0x85,0x07,0x7e,0xff,0x03,0x00,0x85, +0x07,0x7f,0x00,0x2f,0x00,0x86,0x00,0x10,0xff,0xd3,0x00,0x86,0x00,0x11,0xff,0xdc, +0x00,0x86,0x00,0x1d,0xff,0xdc,0x00,0x86,0x00,0x24,0x00,0x39,0x00,0x86,0x00,0x26, +0xff,0xdc,0x00,0x86,0x00,0x2a,0xff,0xdc,0x00,0x86,0x00,0x32,0xff,0xdc,0x00,0x86, +0x00,0x34,0xff,0xdc,0x00,0x86,0x00,0x37,0xff,0x61,0x00,0x86,0x00,0x39,0xff,0x7d, +0x00,0x86,0x00,0x3a,0xff,0x90,0x00,0x86,0x00,0x3c,0xff,0x61,0x00,0x86,0x00,0x46, +0xff,0xdc,0x00,0x86,0x00,0x47,0xff,0xdc,0x00,0x86,0x00,0x48,0xff,0xdc,0x00,0x86, +0x00,0x49,0xff,0xb7,0x00,0x86,0x00,0x52,0xff,0xdc,0x00,0x86,0x00,0x54,0xff,0xdc, +0x00,0x86,0x00,0x57,0xff,0xdc,0x00,0x86,0x00,0x59,0xff,0x88,0x00,0x86,0x00,0x5a, +0xff,0xad,0x00,0x86,0x00,0x5c,0xff,0x75,0x00,0x86,0x00,0x6d,0xff,0xb7,0x00,0x86, +0x00,0x82,0x00,0x39,0x00,0x86,0x00,0x83,0x00,0x39,0x00,0x86,0x00,0x84,0x00,0x39, +0x00,0x86,0x00,0x85,0x00,0x39,0x00,0x86,0x00,0x86,0x00,0x39,0x00,0x86,0x00,0x89, +0xff,0xdc,0x00,0x86,0x00,0x94,0xff,0xdc,0x00,0x86,0x00,0x95,0xff,0xdc,0x00,0x86, +0x00,0x96,0xff,0xdc,0x00,0x86,0x00,0x97,0xff,0xdc,0x00,0x86,0x00,0x98,0xff,0xdc, +0x00,0x86,0x00,0x9f,0xff,0x61,0x00,0x86,0x00,0xa9,0xff,0xdc,0x00,0x86,0x00,0xaa, +0xff,0xdc,0x00,0x86,0x00,0xab,0xff,0xdc,0x00,0x86,0x00,0xac,0xff,0xdc,0x00,0x86, +0x00,0xad,0xff,0xdc,0x00,0x86,0x00,0xb4,0xff,0xdc,0x00,0x86,0x00,0xb5,0xff,0xdc, +0x00,0x86,0x00,0xb6,0xff,0xdc,0x00,0x86,0x00,0xb7,0xff,0xdc,0x00,0x86,0x00,0xb8, +0xff,0xdc,0x00,0x86,0x00,0xbf,0xff,0x75,0x00,0x86,0x00,0xc1,0xff,0x75,0x00,0x86, +0x00,0xc2,0x00,0x39,0x00,0x86,0x00,0xc4,0x00,0x39,0x00,0x86,0x00,0xc6,0x00,0x39, +0x00,0x86,0x00,0xc8,0xff,0xdc,0x00,0x86,0x00,0xc9,0xff,0xdc,0x00,0x86,0x00,0xca, +0xff,0xdc,0x00,0x86,0x00,0xcc,0xff,0xdc,0x00,0x86,0x00,0xcd,0xff,0xdc,0x00,0x86, +0x00,0xce,0xff,0xdc,0x00,0x86,0x00,0xcf,0xff,0xdc,0x00,0x86,0x00,0xd1,0xff,0xdc, +0x00,0x86,0x00,0xd5,0xff,0xdc,0x00,0x86,0x00,0xd7,0xff,0xdc,0x00,0x86,0x00,0xd9, +0xff,0xdc,0x00,0x86,0x00,0xdb,0xff,0xdc,0x00,0x86,0x00,0xdd,0xff,0xdc,0x00,0x86, +0x00,0xde,0xff,0xdc,0x00,0x86,0x00,0xe0,0xff,0xdc,0x00,0x86,0x00,0xe2,0xff,0xdc, +0x00,0x86,0x01,0x0e,0xff,0xdc,0x00,0x86,0x01,0x0f,0xff,0xdc,0x00,0x86,0x01,0x10, +0xff,0xdc,0x00,0x86,0x01,0x11,0xff,0xdc,0x00,0x86,0x01,0x12,0xff,0xdc,0x00,0x86, +0x01,0x13,0xff,0xdc,0x00,0x86,0x01,0x24,0xff,0x61,0x00,0x86,0x01,0x25,0xff,0xdc, +0x00,0x86,0x01,0x26,0xff,0x61,0x00,0x86,0x01,0x27,0xff,0xdc,0x00,0x86,0x01,0x36, +0xff,0x90,0x00,0x86,0x01,0x37,0xff,0xad,0x00,0x86,0x01,0x38,0xff,0x61,0x00,0x86, +0x01,0x39,0xff,0x75,0x00,0x86,0x01,0x3a,0xff,0x61,0x00,0x86,0x01,0xf0,0xff,0xdc, +0x00,0x86,0x01,0xf1,0xff,0xdc,0x00,0x86,0x06,0x07,0xff,0x90,0x00,0x86,0x06,0x09, +0xff,0x90,0x00,0x86,0x06,0x0a,0xff,0xad,0x00,0x86,0x06,0x0b,0xff,0x90,0x00,0x86, +0x06,0x0c,0xff,0xad,0x00,0x86,0x06,0x75,0xff,0x61,0x00,0x86,0x06,0x76,0xff,0x75, +0x00,0x86,0x07,0x7d,0xfe,0xf8,0x00,0x86,0x07,0x7e,0xff,0x03,0x00,0x86,0x07,0x7f, +0x00,0x2f,0x00,0x88,0x07,0x7d,0xff,0xad,0x00,0x88,0x07,0x7e,0xff,0xa4,0x00,0x88, +0x07,0x7f,0xff,0x90,0x00,0x89,0x00,0x3c,0xff,0xdc,0x00,0x89,0x00,0x6d,0xff,0xdc, +0x00,0x89,0x00,0x7d,0xff,0xdc,0x00,0x89,0x00,0x9f,0xff,0xdc,0x00,0x89,0x01,0x3a, +0xff,0xdc,0x00,0x89,0x07,0x7e,0x00,0x26,0x00,0x92,0x00,0x24,0xff,0xdc,0x00,0x92, +0x00,0x39,0xff,0xdc,0x00,0x92,0x00,0x3c,0xff,0x90,0x00,0x92,0x00,0x6d,0xff,0xdc, +0x00,0x92,0x00,0x7d,0xff,0xdc,0x00,0x92,0x00,0x82,0xff,0xdc,0x00,0x92,0x00,0x83, +0xff,0xdc,0x00,0x92,0x00,0x84,0xff,0xdc,0x00,0x92,0x00,0x85,0xff,0xdc,0x00,0x92, +0x00,0x86,0xff,0xdc,0x00,0x92,0x00,0x9f,0xff,0x90,0x00,0x92,0x00,0xc2,0xff,0xdc, +0x00,0x92,0x00,0xc4,0xff,0xdc,0x00,0x92,0x00,0xc6,0xff,0xdc,0x00,0x92,0x01,0x38, +0xff,0x90,0x00,0x92,0x01,0x3a,0xff,0x90,0x00,0x92,0x01,0xf4,0xff,0x90,0x00,0x92, +0x06,0x75,0xff,0x90,0x00,0x92,0x07,0x7d,0xff,0xd3,0x00,0x92,0x07,0x7e,0xff,0xc9, +0x00,0x92,0x07,0x7f,0xff,0x44,0x00,0x94,0x00,0x10,0x00,0x39,0x00,0x94,0x00,0x11, +0xff,0xad,0x00,0x94,0x00,0x1d,0xff,0xdc,0x00,0x94,0x00,0x24,0xff,0xdc,0x00,0x94, +0x00,0x39,0xff,0xdc,0x00,0x94,0x00,0x3b,0xff,0x7d,0x00,0x94,0x00,0x3c,0xff,0x90, +0x00,0x94,0x00,0x6d,0xff,0xdc,0x00,0x94,0x00,0x82,0xff,0xdc,0x00,0x94,0x00,0x83, +0xff,0xdc,0x00,0x94,0x00,0x84,0xff,0xdc,0x00,0x94,0x00,0x85,0xff,0xdc,0x00,0x94, +0x00,0x86,0xff,0xdc,0x00,0x94,0x00,0x9f,0xff,0x90,0x00,0x94,0x01,0x3a,0xff,0x90, +0x00,0x94,0x07,0x7d,0xff,0xd3,0x00,0x94,0x07,0x7e,0xff,0xdc,0x00,0x94,0x07,0x7f, +0xff,0x44,0x00,0x95,0x00,0x10,0x00,0x39,0x00,0x95,0x00,0x11,0xff,0xad,0x00,0x95, +0x00,0x1d,0xff,0xdc,0x00,0x95,0x00,0x24,0xff,0xdc,0x00,0x95,0x00,0x39,0xff,0xdc, +0x00,0x95,0x00,0x3b,0xff,0x7d,0x00,0x95,0x00,0x3c,0xff,0x90,0x00,0x95,0x00,0x6d, +0xff,0xdc,0x00,0x95,0x00,0x82,0xff,0xdc,0x00,0x95,0x00,0x83,0xff,0xdc,0x00,0x95, +0x00,0x84,0xff,0xdc,0x00,0x95,0x00,0x85,0xff,0xdc,0x00,0x95,0x00,0x86,0xff,0xdc, +0x00,0x95,0x00,0x9f,0xff,0x90,0x00,0x95,0x01,0x3a,0xff,0x90,0x00,0x95,0x07,0x7d, +0xff,0xd3,0x00,0x95,0x07,0x7e,0xff,0xdc,0x00,0x95,0x07,0x7f,0xff,0x44,0x00,0x96, +0x00,0x10,0x00,0x39,0x00,0x96,0x00,0x11,0xff,0xad,0x00,0x96,0x00,0x1d,0xff,0xdc, +0x00,0x96,0x00,0x24,0xff,0xdc,0x00,0x96,0x00,0x39,0xff,0xdc,0x00,0x96,0x00,0x3b, +0xff,0x7d,0x00,0x96,0x00,0x3c,0xff,0x90,0x00,0x96,0x00,0x6d,0xff,0xdc,0x00,0x96, +0x00,0x82,0xff,0xdc,0x00,0x96,0x00,0x83,0xff,0xdc,0x00,0x96,0x00,0x84,0xff,0xdc, +0x00,0x96,0x00,0x85,0xff,0xdc,0x00,0x96,0x00,0x86,0xff,0xdc,0x00,0x96,0x00,0x9f, +0xff,0x90,0x00,0x96,0x01,0x3a,0xff,0x90,0x00,0x96,0x07,0x7d,0xff,0xd3,0x00,0x96, +0x07,0x7e,0xff,0xdc,0x00,0x96,0x07,0x7f,0xff,0x44,0x00,0x97,0x00,0x10,0x00,0x39, +0x00,0x97,0x00,0x11,0xff,0xad,0x00,0x97,0x00,0x1d,0xff,0xdc,0x00,0x97,0x00,0x24, +0xff,0xdc,0x00,0x97,0x00,0x39,0xff,0xdc,0x00,0x97,0x00,0x3b,0xff,0x7d,0x00,0x97, +0x00,0x3c,0xff,0x90,0x00,0x97,0x00,0x6d,0xff,0xdc,0x00,0x97,0x00,0x82,0xff,0xdc, +0x00,0x97,0x00,0x83,0xff,0xdc,0x00,0x97,0x00,0x84,0xff,0xdc,0x00,0x97,0x00,0x85, +0xff,0xdc,0x00,0x97,0x00,0x86,0xff,0xdc,0x00,0x97,0x00,0x9f,0xff,0x90,0x00,0x97, +0x01,0x3a,0xff,0x90,0x00,0x97,0x07,0x7d,0xff,0xd3,0x00,0x97,0x07,0x7e,0xff,0xdc, +0x00,0x97,0x07,0x7f,0xff,0x44,0x00,0x98,0x00,0x10,0x00,0x39,0x00,0x98,0x00,0x11, +0xff,0xad,0x00,0x98,0x00,0x1d,0xff,0xdc,0x00,0x98,0x00,0x24,0xff,0xdc,0x00,0x98, +0x00,0x39,0xff,0xdc,0x00,0x98,0x00,0x3b,0xff,0x7d,0x00,0x98,0x00,0x3c,0xff,0x90, +0x00,0x98,0x00,0x6d,0xff,0xdc,0x00,0x98,0x00,0x82,0xff,0xdc,0x00,0x98,0x00,0x83, +0xff,0xdc,0x00,0x98,0x00,0x84,0xff,0xdc,0x00,0x98,0x00,0x85,0xff,0xdc,0x00,0x98, +0x00,0x86,0xff,0xdc,0x00,0x98,0x00,0x9f,0xff,0x90,0x00,0x98,0x01,0x3a,0xff,0x90, +0x00,0x98,0x07,0x7d,0xff,0xd3,0x00,0x98,0x07,0x7e,0xff,0xdc,0x00,0x98,0x07,0x7f, +0xff,0x44,0x00,0x9b,0x00,0x3d,0xff,0xdc,0x00,0x9b,0x01,0x3f,0xff,0xdc,0x00,0x9c, +0x00,0x3d,0xff,0xdc,0x00,0x9c,0x01,0x3f,0xff,0xdc,0x00,0x9d,0x00,0x3d,0xff,0xdc, +0x00,0x9d,0x01,0x3f,0xff,0xdc,0x00,0x9e,0x00,0x3d,0xff,0xdc,0x00,0x9e,0x01,0x3f, +0xff,0xdc,0x00,0x9f,0x00,0x10,0xff,0x0d,0x00,0x9f,0x00,0x11,0xfe,0x61,0x00,0x9f, +0x00,0x1d,0xfe,0xf0,0x00,0x9f,0x00,0x24,0xff,0x61,0x00,0x9f,0x00,0x26,0xff,0x90, +0x00,0x9f,0x00,0x32,0xff,0x90,0x00,0x9f,0x00,0x44,0xfe,0xe6,0x00,0x9f,0x00,0x48, +0xfe,0xf0,0x00,0x9f,0x00,0x4c,0xff,0xb7,0x00,0x9f,0x00,0x52,0xfe,0xf0,0x00,0x9f, +0x00,0x58,0xff,0x15,0x00,0x9f,0x00,0x6d,0xff,0x1f,0x00,0x9f,0x00,0x7d,0xff,0x6b, +0x00,0x9f,0x00,0x82,0xff,0x61,0x00,0x9f,0x00,0x83,0xff,0x61,0x00,0x9f,0x00,0x84, +0xff,0x61,0x00,0x9f,0x00,0x85,0xff,0x61,0x00,0x9f,0x00,0x86,0xff,0x61,0x00,0x9f, +0x00,0x89,0xff,0x90,0x00,0x9f,0x00,0x94,0xff,0x90,0x00,0x9f,0x00,0x95,0xff,0x90, +0x00,0x9f,0x00,0x96,0xff,0x90,0x00,0x9f,0x00,0x97,0xff,0x90,0x00,0x9f,0x00,0x98, +0xff,0x90,0x00,0x9f,0x00,0xa2,0xfe,0xe6,0x00,0x9f,0x00,0xa3,0xfe,0xe6,0x00,0x9f, +0x00,0xa4,0xfe,0xe6,0x00,0x9f,0x00,0xa5,0xfe,0xe6,0x00,0x9f,0x00,0xa6,0xfe,0xe6, +0x00,0x9f,0x00,0xa7,0xfe,0xe6,0x00,0x9f,0x00,0xaa,0xfe,0xf0,0x00,0x9f,0x00,0xab, +0xfe,0xf0,0x00,0x9f,0x00,0xac,0xfe,0xf0,0x00,0x9f,0x00,0xad,0xfe,0xf0,0x00,0x9f, +0x00,0xb4,0xfe,0xf0,0x00,0x9f,0x00,0xb5,0xfe,0xf0,0x00,0x9f,0x00,0xb6,0xfe,0xf0, +0x00,0x9f,0x00,0xb7,0xfe,0xf0,0x00,0x9f,0x00,0xb8,0xfe,0xf0,0x00,0x9f,0x00,0xbb, +0xff,0x15,0x00,0x9f,0x00,0xbc,0xff,0x15,0x00,0x9f,0x00,0xbd,0xff,0x15,0x00,0x9f, +0x00,0xbe,0xff,0x15,0x00,0x9f,0x00,0xc8,0xff,0x90,0x00,0x9f,0x00,0xce,0xff,0x90, +0x00,0x9f,0x00,0xdd,0xfe,0xf0,0x00,0x9f,0x01,0x31,0xff,0x15,0x00,0x9f,0x07,0x7d, +0xff,0x90,0x00,0x9f,0x07,0x7e,0xff,0xdc,0x00,0x9f,0x07,0x7f,0xfe,0xf8,0x00,0xa0, +0x00,0x11,0xff,0x6b,0x00,0xa0,0x00,0x1d,0xff,0xb7,0x00,0xa0,0x07,0x7d,0xff,0xdc, +0x00,0xa0,0x07,0x7f,0xff,0x44,0x00,0xa1,0x00,0x10,0x00,0x26,0x00,0xa1,0x07,0x7d, +0xff,0x90,0x00,0xa1,0x07,0x7e,0xff,0x90,0x00,0xa1,0x07,0x7f,0xff,0xad,0x00,0xaa, +0x00,0x5b,0xff,0xdc,0x00,0xab,0x00,0x5b,0xff,0xdc,0x00,0xac,0x00,0x5b,0xff,0xdc, +0x00,0xad,0x00,0x5b,0xff,0xdc,0x00,0xb2,0x07,0x7d,0xff,0xa4,0x00,0xb2,0x07,0x7e, +0xff,0x90,0x00,0xb2,0x07,0x7f,0xff,0xb7,0x00,0xb3,0x07,0x7d,0xff,0x6b,0x00,0xb3, +0x07,0x7e,0xff,0x90,0x00,0xb3,0x07,0x7f,0xff,0xa4,0x00,0xb4,0x00,0x10,0x00,0x26, +0x00,0xb4,0x00,0x11,0xff,0xdc,0x00,0xb4,0x00,0x5b,0xff,0xc1,0x00,0xb4,0x07,0x7d, +0xff,0x6b,0x00,0xb4,0x07,0x7e,0xff,0xb7,0x00,0xb4,0x07,0x7f,0xff,0x7d,0x00,0xb5, +0x00,0x10,0x00,0x26,0x00,0xb5,0x00,0x11,0xff,0xdc,0x00,0xb5,0x00,0x5b,0xff,0xc1, +0x00,0xb5,0x07,0x7d,0xff,0x6b,0x00,0xb5,0x07,0x7e,0xff,0xb7,0x00,0xb5,0x07,0x7f, +0xff,0x7d,0x00,0xb6,0x00,0x10,0x00,0x26,0x00,0xb6,0x00,0x11,0xff,0xdc,0x00,0xb6, +0x00,0x5b,0xff,0xc1,0x00,0xb6,0x07,0x7d,0xff,0x6b,0x00,0xb6,0x07,0x7e,0xff,0xb7, +0x00,0xb6,0x07,0x7f,0xff,0x7d,0x00,0xb7,0x00,0x10,0x00,0x26,0x00,0xb7,0x00,0x11, +0xff,0xdc,0x00,0xb7,0x00,0x5b,0xff,0xc1,0x00,0xb7,0x07,0x7d,0xff,0x6b,0x00,0xb7, +0x07,0x7e,0xff,0xb7,0x00,0xb7,0x07,0x7f,0xff,0x7d,0x00,0xb8,0x00,0x10,0x00,0x26, +0x00,0xb8,0x00,0x11,0xff,0xdc,0x00,0xb8,0x00,0x5b,0xff,0xc1,0x00,0xb8,0x07,0x7d, +0xff,0x6b,0x00,0xb8,0x07,0x7e,0xff,0xb7,0x00,0xb8,0x07,0x7f,0xff,0x7d,0x00,0xbf, +0x00,0x10,0xff,0xdc,0x00,0xbf,0x00,0x11,0xfe,0xdc,0x00,0xbf,0x00,0x1d,0xff,0x6b, +0x00,0xbf,0x00,0x6d,0xff,0xdc,0x00,0xbf,0x00,0x7d,0xff,0xdc,0x00,0xbf,0x07,0x7f, +0xfe,0xd3,0x00,0xc1,0x00,0x10,0xff,0xdc,0x00,0xc1,0x00,0x11,0xfe,0xdc,0x00,0xc1, +0x00,0x1d,0xff,0x6b,0x00,0xc1,0x00,0x6d,0xff,0xdc,0x00,0xc1,0x00,0x7d,0xff,0xdc, +0x00,0xc1,0x07,0x7f,0xfe,0xd3,0x00,0xc2,0x00,0x10,0xff,0xd3,0x00,0xc2,0x00,0x11, +0xff,0xdc,0x00,0xc2,0x00,0x1d,0xff,0xdc,0x00,0xc2,0x00,0x24,0x00,0x39,0x00,0xc2, +0x00,0x26,0xff,0xdc,0x00,0xc2,0x00,0x2a,0xff,0xdc,0x00,0xc2,0x00,0x32,0xff,0xdc, +0x00,0xc2,0x00,0x34,0xff,0xdc,0x00,0xc2,0x00,0x37,0xff,0x61,0x00,0xc2,0x00,0x39, +0xff,0x7d,0x00,0xc2,0x00,0x3a,0xff,0x90,0x00,0xc2,0x00,0x3c,0xff,0x61,0x00,0xc2, +0x00,0x46,0xff,0xdc,0x00,0xc2,0x00,0x47,0xff,0xdc,0x00,0xc2,0x00,0x48,0xff,0xdc, +0x00,0xc2,0x00,0x49,0xff,0xb7,0x00,0xc2,0x00,0x52,0xff,0xdc,0x00,0xc2,0x00,0x54, +0xff,0xdc,0x00,0xc2,0x00,0x57,0xff,0xdc,0x00,0xc2,0x00,0x59,0xff,0x88,0x00,0xc2, +0x00,0x5a,0xff,0xad,0x00,0xc2,0x00,0x5c,0xff,0x75,0x00,0xc2,0x00,0x6d,0xff,0xb7, +0x00,0xc2,0x00,0x82,0x00,0x39,0x00,0xc2,0x00,0x83,0x00,0x39,0x00,0xc2,0x00,0x84, +0x00,0x39,0x00,0xc2,0x00,0x85,0x00,0x39,0x00,0xc2,0x00,0x86,0x00,0x39,0x00,0xc2, +0x00,0x94,0xff,0xdc,0x00,0xc2,0x00,0x95,0xff,0xdc,0x00,0xc2,0x00,0x96,0xff,0xdc, +0x00,0xc2,0x00,0x97,0xff,0xdc,0x00,0xc2,0x00,0x98,0xff,0xdc,0x00,0xc2,0x00,0x9f, +0xff,0x61,0x00,0xc2,0x00,0xa9,0xff,0xdc,0x00,0xc2,0x00,0xaa,0xff,0xdc,0x00,0xc2, +0x00,0xab,0xff,0xdc,0x00,0xc2,0x00,0xac,0xff,0xdc,0x00,0xc2,0x00,0xad,0xff,0xdc, +0x00,0xc2,0x00,0xb4,0xff,0xdc,0x00,0xc2,0x00,0xb5,0xff,0xdc,0x00,0xc2,0x00,0xb6, +0xff,0xdc,0x00,0xc2,0x00,0xb7,0xff,0xdc,0x00,0xc2,0x00,0xb8,0xff,0xdc,0x00,0xc2, +0x00,0xbf,0xff,0x75,0x00,0xc2,0x00,0xc1,0xff,0x75,0x00,0xc2,0x00,0xc2,0x00,0x39, +0x00,0xc2,0x00,0xc4,0x00,0x39,0x00,0xc2,0x00,0xc6,0x00,0x39,0x00,0xc2,0x00,0xc8, +0xff,0xdc,0x00,0xc2,0x00,0xca,0xff,0xdc,0x00,0xc2,0x00,0xcc,0xff,0xdc,0x00,0xc2, +0x00,0xcd,0xff,0xdc,0x00,0xc2,0x00,0xce,0xff,0xdc,0x00,0xc2,0x00,0xd1,0xff,0xdc, +0x00,0xc2,0x00,0xd3,0xff,0xdc,0x00,0xc2,0x00,0xd5,0xff,0xdc,0x00,0xc2,0x00,0xd7, +0xff,0xdc,0x00,0xc2,0x00,0xd9,0xff,0xdc,0x00,0xc2,0x00,0xdb,0xff,0xdc,0x00,0xc2, +0x00,0xdd,0xff,0xdc,0x00,0xc2,0x00,0xde,0xff,0xdc,0x00,0xc2,0x00,0xe2,0xff,0xdc, +0x00,0xc2,0x01,0x0e,0xff,0xdc,0x00,0xc2,0x01,0x0f,0xff,0xdc,0x00,0xc2,0x01,0x10, +0xff,0xdc,0x00,0xc2,0x01,0x11,0xff,0xdc,0x00,0xc2,0x01,0x12,0xff,0xdc,0x00,0xc2, +0x01,0x13,0xff,0xdc,0x00,0xc2,0x01,0x24,0xff,0x61,0x00,0xc2,0x01,0x25,0xff,0xdc, +0x00,0xc2,0x01,0x26,0xff,0x61,0x00,0xc2,0x01,0x27,0xff,0xdc,0x00,0xc2,0x01,0x36, +0xff,0x90,0x00,0xc2,0x01,0x37,0xff,0xad,0x00,0xc2,0x01,0x38,0xff,0x61,0x00,0xc2, +0x01,0x39,0xff,0x75,0x00,0xc2,0x01,0x3a,0xff,0x61,0x00,0xc2,0x01,0xf0,0xff,0xdc, +0x00,0xc2,0x01,0xf1,0xff,0xdc,0x00,0xc2,0x06,0x07,0xff,0x90,0x00,0xc2,0x06,0x09, +0xff,0x90,0x00,0xc2,0x06,0x0a,0xff,0xad,0x00,0xc2,0x06,0x0b,0xff,0x90,0x00,0xc2, +0x06,0x0c,0xff,0xad,0x00,0xc2,0x06,0x75,0xff,0x61,0x00,0xc2,0x06,0x76,0xff,0x75, +0x00,0xc2,0x07,0x7d,0xfe,0xf8,0x00,0xc2,0x07,0x7e,0xff,0x02,0x00,0xc2,0x07,0x7f, +0x00,0x2f,0x00,0xc4,0x00,0x10,0xff,0xd3,0x00,0xc4,0x00,0x11,0xff,0xdc,0x00,0xc4, +0x00,0x1d,0xff,0xdc,0x00,0xc4,0x00,0x24,0x00,0x39,0x00,0xc4,0x00,0x26,0xff,0xdc, +0x00,0xc4,0x00,0x2a,0xff,0xdc,0x00,0xc4,0x00,0x32,0xff,0xdc,0x00,0xc4,0x00,0x34, +0xff,0xdc,0x00,0xc4,0x00,0x37,0xff,0x61,0x00,0xc4,0x00,0x39,0xff,0x7d,0x00,0xc4, +0x00,0x3a,0xff,0x90,0x00,0xc4,0x00,0x3c,0xff,0x61,0x00,0xc4,0x00,0x46,0xff,0xdc, +0x00,0xc4,0x00,0x47,0xff,0xdc,0x00,0xc4,0x00,0x48,0xff,0xdc,0x00,0xc4,0x00,0x49, +0xff,0xb7,0x00,0xc4,0x00,0x52,0xff,0xdc,0x00,0xc4,0x00,0x54,0xff,0xdc,0x00,0xc4, +0x00,0x57,0xff,0xdc,0x00,0xc4,0x00,0x59,0xff,0x88,0x00,0xc4,0x00,0x5a,0xff,0xad, +0x00,0xc4,0x00,0x5c,0xff,0x75,0x00,0xc4,0x00,0x6d,0xff,0xb7,0x00,0xc4,0x00,0x82, +0x00,0x39,0x00,0xc4,0x00,0x83,0x00,0x39,0x00,0xc4,0x00,0x84,0x00,0x39,0x00,0xc4, +0x00,0x85,0x00,0x39,0x00,0xc4,0x00,0x86,0x00,0x39,0x00,0xc4,0x00,0x94,0xff,0xdc, +0x00,0xc4,0x00,0x95,0xff,0xdc,0x00,0xc4,0x00,0x96,0xff,0xdc,0x00,0xc4,0x00,0x97, +0xff,0xdc,0x00,0xc4,0x00,0x98,0xff,0xdc,0x00,0xc4,0x00,0x9f,0xff,0x61,0x00,0xc4, +0x00,0xa9,0xff,0xdc,0x00,0xc4,0x00,0xaa,0xff,0xdc,0x00,0xc4,0x00,0xab,0xff,0xdc, +0x00,0xc4,0x00,0xac,0xff,0xdc,0x00,0xc4,0x00,0xad,0xff,0xdc,0x00,0xc4,0x00,0xb4, +0xff,0xdc,0x00,0xc4,0x00,0xb5,0xff,0xdc,0x00,0xc4,0x00,0xb6,0xff,0xdc,0x00,0xc4, +0x00,0xb7,0xff,0xdc,0x00,0xc4,0x00,0xb8,0xff,0xdc,0x00,0xc4,0x00,0xbf,0xff,0x75, +0x00,0xc4,0x00,0xc1,0xff,0x75,0x00,0xc4,0x00,0xc2,0x00,0x39,0x00,0xc4,0x00,0xc4, +0x00,0x39,0x00,0xc4,0x00,0xc6,0x00,0x39,0x00,0xc4,0x00,0xc8,0xff,0xdc,0x00,0xc4, +0x00,0xca,0xff,0xdc,0x00,0xc4,0x00,0xcc,0xff,0xdc,0x00,0xc4,0x00,0xcd,0xff,0xdc, +0x00,0xc4,0x00,0xce,0xff,0xdc,0x00,0xc4,0x00,0xd1,0xff,0xdc,0x00,0xc4,0x00,0xd3, +0xff,0xdc,0x00,0xc4,0x00,0xd5,0xff,0xdc,0x00,0xc4,0x00,0xd7,0xff,0xdc,0x00,0xc4, +0x00,0xd9,0xff,0xdc,0x00,0xc4,0x00,0xdb,0xff,0xdc,0x00,0xc4,0x00,0xdd,0xff,0xdc, +0x00,0xc4,0x00,0xde,0xff,0xdc,0x00,0xc4,0x00,0xe2,0xff,0xdc,0x00,0xc4,0x01,0x0e, +0xff,0xdc,0x00,0xc4,0x01,0x0f,0xff,0xdc,0x00,0xc4,0x01,0x10,0xff,0xdc,0x00,0xc4, +0x01,0x11,0xff,0xdc,0x00,0xc4,0x01,0x12,0xff,0xdc,0x00,0xc4,0x01,0x13,0xff,0xdc, +0x00,0xc4,0x01,0x24,0xff,0x61,0x00,0xc4,0x01,0x25,0xff,0xdc,0x00,0xc4,0x01,0x26, +0xff,0x61,0x00,0xc4,0x01,0x27,0xff,0xdc,0x00,0xc4,0x01,0x36,0xff,0x90,0x00,0xc4, +0x01,0x37,0xff,0xad,0x00,0xc4,0x01,0x38,0xff,0x61,0x00,0xc4,0x01,0x39,0xff,0x75, +0x00,0xc4,0x01,0x3a,0xff,0x61,0x00,0xc4,0x01,0xf0,0xff,0xdc,0x00,0xc4,0x01,0xf1, +0xff,0xdc,0x00,0xc4,0x06,0x07,0xff,0x90,0x00,0xc4,0x06,0x09,0xff,0x90,0x00,0xc4, +0x06,0x0a,0xff,0xad,0x00,0xc4,0x06,0x0b,0xff,0x90,0x00,0xc4,0x06,0x0c,0xff,0xad, +0x00,0xc4,0x06,0x75,0xff,0x61,0x00,0xc4,0x06,0x76,0xff,0x75,0x00,0xc4,0x07,0x7d, +0xfe,0xf8,0x00,0xc4,0x07,0x7e,0xff,0x02,0x00,0xc4,0x07,0x7f,0x00,0x2f,0x00,0xc6, +0x00,0x10,0xff,0xd3,0x00,0xc6,0x00,0x11,0xff,0xdc,0x00,0xc6,0x00,0x1d,0xff,0xdc, +0x00,0xc6,0x00,0x24,0x00,0x39,0x00,0xc6,0x00,0x26,0xff,0xdc,0x00,0xc6,0x00,0x2a, +0xff,0xdc,0x00,0xc6,0x00,0x32,0xff,0xdc,0x00,0xc6,0x00,0x34,0xff,0xdc,0x00,0xc6, +0x00,0x37,0xff,0x61,0x00,0xc6,0x00,0x39,0xff,0x7d,0x00,0xc6,0x00,0x3a,0xff,0x90, +0x00,0xc6,0x00,0x3c,0xff,0x61,0x00,0xc6,0x00,0x46,0xff,0xdc,0x00,0xc6,0x00,0x47, +0xff,0xdc,0x00,0xc6,0x00,0x48,0xff,0xdc,0x00,0xc6,0x00,0x49,0xff,0xb7,0x00,0xc6, +0x00,0x52,0xff,0xdc,0x00,0xc6,0x00,0x54,0xff,0xdc,0x00,0xc6,0x00,0x57,0xff,0xdc, +0x00,0xc6,0x00,0x59,0xff,0x88,0x00,0xc6,0x00,0x5a,0xff,0xad,0x00,0xc6,0x00,0x6d, +0xff,0xb7,0x00,0xc6,0x00,0x82,0x00,0x39,0x00,0xc6,0x00,0x83,0x00,0x39,0x00,0xc6, +0x00,0x84,0x00,0x39,0x00,0xc6,0x00,0x85,0x00,0x39,0x00,0xc6,0x00,0x86,0x00,0x39, +0x00,0xc6,0x00,0x94,0xff,0xdc,0x00,0xc6,0x00,0x95,0xff,0xdc,0x00,0xc6,0x00,0x96, +0xff,0xdc,0x00,0xc6,0x00,0x97,0xff,0xdc,0x00,0xc6,0x00,0x98,0xff,0xdc,0x00,0xc6, +0x00,0x9f,0xff,0x61,0x00,0xc6,0x00,0xa9,0xff,0xdc,0x00,0xc6,0x00,0xaa,0xff,0xdc, +0x00,0xc6,0x00,0xab,0xff,0xdc,0x00,0xc6,0x00,0xac,0xff,0xdc,0x00,0xc6,0x00,0xad, +0xff,0xdc,0x00,0xc6,0x00,0xb4,0xff,0xdc,0x00,0xc6,0x00,0xb5,0xff,0xdc,0x00,0xc6, +0x00,0xb6,0xff,0xdc,0x00,0xc6,0x00,0xb7,0xff,0xdc,0x00,0xc6,0x00,0xb8,0xff,0xdc, +0x00,0xc6,0x00,0xc2,0x00,0x39,0x00,0xc6,0x00,0xc4,0x00,0x39,0x00,0xc6,0x00,0xc6, +0x00,0x39,0x00,0xc6,0x00,0xc8,0xff,0xdc,0x00,0xc6,0x00,0xca,0xff,0xdc,0x00,0xc6, +0x00,0xcc,0xff,0xdc,0x00,0xc6,0x00,0xcd,0xff,0xdc,0x00,0xc6,0x00,0xce,0xff,0xdc, +0x00,0xc6,0x00,0xd1,0xff,0xdc,0x00,0xc6,0x00,0xd3,0xff,0xdc,0x00,0xc6,0x00,0xd5, +0xff,0xdc,0x00,0xc6,0x00,0xd7,0xff,0xdc,0x00,0xc6,0x00,0xd9,0xff,0xdc,0x00,0xc6, +0x00,0xdb,0xff,0xdc,0x00,0xc6,0x00,0xdd,0xff,0xdc,0x00,0xc6,0x00,0xde,0xff,0xdc, +0x00,0xc6,0x00,0xe2,0xff,0xdc,0x00,0xc6,0x01,0x0e,0xff,0xdc,0x00,0xc6,0x01,0x0f, +0xff,0xdc,0x00,0xc6,0x01,0x10,0xff,0xdc,0x00,0xc6,0x01,0x11,0xff,0xdc,0x00,0xc6, +0x01,0x13,0xff,0xdc,0x00,0xc6,0x01,0x24,0xff,0x61,0x00,0xc6,0x01,0x25,0xff,0xdc, +0x00,0xc6,0x01,0x26,0xff,0x61,0x00,0xc6,0x01,0x27,0xff,0xdc,0x00,0xc6,0x01,0x36, +0xff,0x90,0x00,0xc6,0x01,0x37,0xff,0xad,0x00,0xc6,0x01,0x38,0xff,0x61,0x00,0xc6, +0x01,0x3a,0xff,0x61,0x00,0xc6,0x01,0xf0,0xff,0xdc,0x00,0xc6,0x01,0xf1,0xff,0xdc, +0x00,0xc6,0x06,0x07,0xff,0x90,0x00,0xc6,0x06,0x09,0xff,0x90,0x00,0xc6,0x06,0x0a, +0xff,0xad,0x00,0xc6,0x06,0x0b,0xff,0x90,0x00,0xc6,0x06,0x0c,0xff,0xad,0x00,0xc6, +0x06,0x75,0xff,0x61,0x00,0xc6,0x07,0x7d,0xfe,0xf8,0x00,0xc6,0x07,0x7e,0xff,0x02, +0x00,0xc6,0x07,0x7f,0x00,0x2f,0x00,0xc8,0x00,0x3c,0xff,0xdc,0x00,0xc8,0x00,0x6d, +0xff,0xdc,0x00,0xc8,0x00,0x7d,0xff,0xdc,0x00,0xc8,0x00,0x9f,0xff,0xdc,0x00,0xc8, +0x01,0x3a,0xff,0xdc,0x00,0xc8,0x07,0x7e,0x00,0x26,0x00,0xce,0x00,0x3c,0xff,0xdc, +0x00,0xce,0x00,0x6d,0xff,0xdc,0x00,0xce,0x00,0x7d,0xff,0xdc,0x00,0xce,0x00,0x9f, +0xff,0xdc,0x00,0xce,0x01,0x3a,0xff,0xdc,0x00,0xce,0x07,0x7e,0x00,0x26,0x00,0xd0, +0x00,0x24,0xff,0xdc,0x00,0xd0,0x00,0x39,0xff,0xdc,0x00,0xd0,0x00,0x3c,0xff,0x90, +0x00,0xd0,0x00,0x6d,0xff,0xdc,0x00,0xd0,0x00,0x7d,0xff,0xdc,0x00,0xd0,0x00,0x82, +0xff,0xdc,0x00,0xd0,0x00,0x83,0xff,0xdc,0x00,0xd0,0x00,0x84,0xff,0xdc,0x00,0xd0, +0x00,0x85,0xff,0xdc,0x00,0xd0,0x00,0x86,0xff,0xdc,0x00,0xd0,0x00,0x9f,0xff,0x90, +0x00,0xd0,0x00,0xc2,0xff,0xdc,0x00,0xd0,0x00,0xc4,0xff,0xdc,0x00,0xd0,0x00,0xc6, +0xff,0xdc,0x00,0xd0,0x01,0x38,0xff,0x90,0x00,0xd0,0x01,0x3a,0xff,0x90,0x00,0xd0, +0x01,0xf4,0xff,0x90,0x00,0xd0,0x06,0x75,0xff,0x90,0x00,0xd0,0x07,0x7d,0xff,0xd3, +0x00,0xd0,0x07,0x7e,0xff,0xc9,0x00,0xd0,0x07,0x7f,0xff,0x44,0x00,0xd2,0x00,0x24, +0xff,0xdc,0x00,0xd2,0x00,0x39,0xff,0xdc,0x00,0xd2,0x00,0x3c,0xff,0x90,0x00,0xd2, +0x00,0x6d,0xff,0xdc,0x00,0xd2,0x00,0x7d,0xff,0xdc,0x00,0xd2,0x00,0x82,0xff,0xdc, +0x00,0xd2,0x00,0x83,0xff,0xdc,0x00,0xd2,0x00,0x84,0xff,0xdc,0x00,0xd2,0x00,0x85, +0xff,0xdc,0x00,0xd2,0x00,0x86,0xff,0xdc,0x00,0xd2,0x00,0x9f,0xff,0x90,0x00,0xd2, +0x01,0x3a,0xff,0x90,0x00,0xd2,0x07,0x7d,0xff,0xd3,0x00,0xd2,0x07,0x7e,0xff,0xc9, +0x00,0xd2,0x07,0x7f,0xff,0x44,0x00,0xdd,0x00,0x5b,0xff,0xdc,0x00,0xe0,0x00,0x37, +0xff,0xb7,0x00,0xe0,0x00,0x3c,0xff,0x9a,0x00,0xe0,0x00,0x6d,0xff,0xdc,0x00,0xe0, +0x00,0x7d,0xff,0xdc,0x00,0xe0,0x00,0x9f,0xff,0x9a,0x00,0xe0,0x01,0x26,0xff,0xb7, +0x00,0xe0,0x01,0x3a,0xff,0x9a,0x00,0xe0,0x07,0x7d,0xff,0xd3,0x00,0xe0,0x07,0x7e, +0xff,0xd3,0x00,0xe0,0x07,0x7f,0xff,0xc9,0x00,0xfb,0x00,0x10,0xff,0xdc,0x00,0xfb, +0x00,0x24,0x00,0x2f,0x00,0xfb,0x00,0x32,0xff,0xb7,0x00,0xfb,0x00,0x37,0xfe,0xe6, +0x00,0xfb,0x00,0x38,0xff,0x9a,0x00,0xfb,0x00,0x39,0xff,0x1f,0x00,0xfb,0x00,0x3a, +0xff,0x44,0x00,0xfb,0x00,0x3c,0xfe,0xf0,0x00,0xfb,0x00,0x48,0xff,0xdc,0x00,0xfb, +0x00,0x52,0xff,0xdc,0x00,0xfb,0x00,0x58,0xff,0xdc,0x00,0xfb,0x00,0x5c,0xff,0x44, +0x00,0xfb,0x00,0x82,0x00,0x2f,0x00,0xfb,0x00,0x83,0x00,0x2f,0x00,0xfb,0x00,0x84, +0x00,0x2f,0x00,0xfb,0x00,0x85,0x00,0x2f,0x00,0xfb,0x00,0x86,0x00,0x2f,0x00,0xfb, +0x00,0x94,0xff,0xb7,0x00,0xfb,0x00,0x95,0xff,0xb7,0x00,0xfb,0x00,0x96,0xff,0xb7, +0x00,0xfb,0x00,0x97,0xff,0xb7,0x00,0xfb,0x00,0x98,0xff,0xb7,0x00,0xfb,0x00,0x9b, +0xff,0x9a,0x00,0xfb,0x00,0x9c,0xff,0x9a,0x00,0xfb,0x00,0x9d,0xff,0x9a,0x00,0xfb, +0x00,0x9e,0xff,0x9a,0x00,0xfb,0x00,0x9f,0xfe,0xf0,0x00,0xfb,0x00,0xaa,0xff,0xdc, +0x00,0xfb,0x00,0xab,0xff,0xdc,0x00,0xfb,0x00,0xac,0xff,0xdc,0x00,0xfb,0x00,0xad, +0xff,0xdc,0x00,0xfb,0x00,0xb4,0xff,0xdc,0x00,0xfb,0x00,0xb5,0xff,0xdc,0x00,0xfb, +0x00,0xb6,0xff,0xdc,0x00,0xfb,0x00,0xb7,0xff,0xdc,0x00,0xfb,0x00,0xb8,0xff,0xdc, +0x00,0xfb,0x00,0xbb,0xff,0xdc,0x00,0xfb,0x00,0xbc,0xff,0xdc,0x00,0xfb,0x00,0xbd, +0xff,0xdc,0x00,0xfb,0x00,0xbe,0xff,0xdc,0x00,0xfb,0x00,0xbf,0xff,0x44,0x00,0xfb, +0x00,0xc1,0xff,0x44,0x00,0xfb,0x00,0xdd,0xff,0xdc,0x00,0xfb,0x01,0x26,0xfe,0xe6, +0x00,0xfb,0x01,0x30,0xff,0x9a,0x00,0xfb,0x01,0x31,0xff,0xdc,0x00,0xfb,0x01,0x3a, +0xfe,0xf0,0x00,0xfb,0x07,0x7d,0xfe,0x61,0x00,0xfb,0x07,0x7e,0xfd,0xe6,0x00,0xff, +0x00,0x10,0xff,0xdc,0x00,0xff,0x00,0x24,0x00,0x2f,0x00,0xff,0x00,0x32,0xff,0xb7, +0x00,0xff,0x00,0x37,0xfe,0xe6,0x00,0xff,0x00,0x38,0xff,0x9a,0x00,0xff,0x00,0x39, +0xff,0x1f,0x00,0xff,0x00,0x3a,0xff,0x44,0x00,0xff,0x00,0x3c,0xfe,0xf0,0x00,0xff, +0x00,0x48,0xff,0xdc,0x00,0xff,0x00,0x52,0xff,0xdc,0x00,0xff,0x00,0x58,0xff,0xdc, +0x00,0xff,0x00,0x5c,0xff,0x44,0x00,0xff,0x00,0x82,0x00,0x2f,0x00,0xff,0x00,0x83, +0x00,0x2f,0x00,0xff,0x00,0x84,0x00,0x2f,0x00,0xff,0x00,0x85,0x00,0x2f,0x00,0xff, +0x00,0x86,0x00,0x2f,0x00,0xff,0x00,0x94,0xff,0xb7,0x00,0xff,0x00,0x95,0xff,0xb7, +0x00,0xff,0x00,0x96,0xff,0xb7,0x00,0xff,0x00,0x97,0xff,0xb7,0x00,0xff,0x00,0x98, +0xff,0xb7,0x00,0xff,0x00,0x9b,0xff,0x9a,0x00,0xff,0x00,0x9c,0xff,0x9a,0x00,0xff, +0x00,0x9d,0xff,0x9a,0x00,0xff,0x00,0x9e,0xff,0x9a,0x00,0xff,0x00,0x9f,0xfe,0xf0, +0x00,0xff,0x00,0xaa,0xff,0xdc,0x00,0xff,0x00,0xab,0xff,0xdc,0x00,0xff,0x00,0xac, +0xff,0xdc,0x00,0xff,0x00,0xad,0xff,0xdc,0x00,0xff,0x00,0xb4,0xff,0xdc,0x00,0xff, +0x00,0xb5,0xff,0xdc,0x00,0xff,0x00,0xb6,0xff,0xdc,0x00,0xff,0x00,0xb7,0xff,0xdc, +0x00,0xff,0x00,0xb8,0xff,0xdc,0x00,0xff,0x00,0xbb,0xff,0xdc,0x00,0xff,0x00,0xbc, +0xff,0xdc,0x00,0xff,0x00,0xbd,0xff,0xdc,0x00,0xff,0x00,0xbe,0xff,0xdc,0x00,0xff, +0x00,0xbf,0xff,0x44,0x00,0xff,0x00,0xc1,0xff,0x44,0x00,0xff,0x00,0xdd,0xff,0xdc, +0x00,0xff,0x01,0x26,0xfe,0xe6,0x00,0xff,0x01,0x30,0xff,0x9a,0x00,0xff,0x01,0x31, +0xff,0xdc,0x00,0xff,0x01,0x3a,0xfe,0xf0,0x00,0xff,0x07,0x7d,0xfe,0x61,0x00,0xff, +0x07,0x7e,0xfd,0xe6,0x01,0x02,0x00,0x4f,0xff,0x3f,0x01,0x0a,0x07,0x7d,0xff,0x6b, +0x01,0x0a,0x07,0x7e,0xff,0x90,0x01,0x0a,0x07,0x7f,0xff,0xa4,0x01,0x16,0x00,0x10, +0xff,0xad,0x01,0x16,0x00,0x11,0xff,0xb7,0x01,0x16,0x00,0x1d,0xff,0xc1,0x01,0x16, +0x00,0x24,0xff,0xad,0x01,0x16,0x00,0x26,0xff,0x9a,0x01,0x16,0x00,0x37,0xff,0x6b, +0x01,0x16,0x00,0x39,0xff,0x90,0x01,0x16,0x00,0x3a,0xff,0xad,0x01,0x16,0x00,0x3c, +0xff,0x7d,0x01,0x16,0x00,0x44,0xff,0xd3,0x01,0x16,0x00,0x48,0xff,0xa4,0x01,0x16, +0x00,0x52,0xff,0xa4,0x01,0x16,0x00,0x58,0xff,0xa4,0x01,0x16,0x00,0x5c,0xff,0x90, +0x01,0x16,0x00,0x6d,0xff,0x90,0x01,0x16,0x00,0x7d,0xff,0xdc,0x01,0x16,0x00,0x82, +0xff,0xad,0x01,0x16,0x00,0x83,0xff,0xad,0x01,0x16,0x00,0x84,0xff,0xad,0x01,0x16, +0x00,0x85,0xff,0xad,0x01,0x16,0x00,0x86,0xff,0xad,0x01,0x16,0x00,0x89,0xff,0x9a, +0x01,0x16,0x00,0x9f,0xff,0x7d,0x01,0x16,0x00,0xa2,0xff,0xd3,0x01,0x16,0x00,0xa3, +0xff,0xd3,0x01,0x16,0x00,0xa4,0xff,0xd3,0x01,0x16,0x00,0xa5,0xff,0xd3,0x01,0x16, +0x00,0xa6,0xff,0xd3,0x01,0x16,0x00,0xa7,0xff,0xd3,0x01,0x16,0x00,0xaa,0xff,0xa4, +0x01,0x16,0x00,0xab,0xff,0xa4,0x01,0x16,0x00,0xac,0xff,0xa4,0x01,0x16,0x00,0xad, +0xff,0xa4,0x01,0x16,0x00,0xb4,0xff,0xa4,0x01,0x16,0x00,0xb5,0xff,0xa4,0x01,0x16, +0x00,0xb6,0xff,0xa4,0x01,0x16,0x00,0xb7,0xff,0xa4,0x01,0x16,0x00,0xb8,0xff,0xa4, +0x01,0x16,0x00,0xbb,0xff,0xa4,0x01,0x16,0x00,0xbc,0xff,0xa4,0x01,0x16,0x00,0xbd, +0xff,0xa4,0x01,0x16,0x00,0xbe,0xff,0xa4,0x01,0x16,0x00,0xbf,0xff,0x90,0x01,0x16, +0x00,0xc1,0xff,0x90,0x01,0x16,0x00,0xc8,0xff,0x9a,0x01,0x16,0x00,0xce,0xff,0x9a, +0x01,0x16,0x00,0xdd,0xff,0xa4,0x01,0x16,0x01,0x26,0xff,0x6b,0x01,0x16,0x01,0x31, +0xff,0xa4,0x01,0x16,0x01,0x3a,0xff,0x7d,0x01,0x16,0x07,0x7d,0xff,0x6b,0x01,0x16, +0x07,0x7e,0xff,0x7d,0x01,0x16,0x07,0x7f,0xff,0xdc,0x01,0x17,0x00,0x10,0xff,0x7d, +0x01,0x17,0x00,0x11,0xff,0x44,0x01,0x17,0x00,0x1d,0xff,0xdc,0x01,0x17,0x00,0x46, +0xff,0xd3,0x01,0x17,0x00,0x47,0xff,0xdc,0x01,0x17,0x00,0x48,0xff,0xd3,0x01,0x17, +0x00,0x4a,0xff,0xdc,0x01,0x17,0x00,0x4b,0xff,0xdc,0x01,0x17,0x00,0x50,0xff,0xdc, +0x01,0x17,0x00,0x51,0xff,0xdc,0x01,0x17,0x00,0x52,0xff,0xd3,0x01,0x17,0x00,0x54, +0xff,0xdc,0x01,0x17,0x00,0x55,0xff,0xdc,0x01,0x17,0x00,0x5b,0xff,0xc9,0x01,0x17, +0x00,0x6d,0xff,0xb7,0x01,0x17,0x00,0xa9,0xff,0xd3,0x01,0x17,0x00,0xaa,0xff,0xd3, +0x01,0x17,0x00,0xab,0xff,0xd3,0x01,0x17,0x00,0xac,0xff,0xd3,0x01,0x17,0x00,0xad, +0xff,0xd3,0x01,0x17,0x00,0xb3,0xff,0xdc,0x01,0x17,0x00,0xb4,0xff,0xd3,0x01,0x17, +0x00,0xb5,0xff,0xd3,0x01,0x17,0x00,0xb6,0xff,0xd3,0x01,0x17,0x00,0xb7,0xff,0xd3, +0x01,0x17,0x00,0xb8,0xff,0xd3,0x01,0x17,0x00,0xc9,0xff,0xd3,0x01,0x17,0x00,0xcf, +0xff,0xd3,0x01,0x17,0x00,0xd1,0x00,0x48,0x01,0x17,0x00,0xdd,0xff,0xd3,0x01,0x17, +0x00,0xe1,0xff,0xdc,0x01,0x17,0x01,0x0a,0xff,0xdc,0x01,0x17,0x01,0x17,0xff,0xdc, +0x01,0x17,0x01,0x1b,0xff,0xdc,0x01,0x17,0x07,0x7e,0x00,0x56,0x01,0x17,0x07,0x7f, +0xfe,0xc9,0x01,0x1a,0x00,0x10,0xff,0xad,0x01,0x1a,0x00,0x11,0xff,0xb7,0x01,0x1a, +0x00,0x1d,0xff,0xc1,0x01,0x1a,0x00,0x24,0xff,0xad,0x01,0x1a,0x00,0x26,0xff,0x9a, +0x01,0x1a,0x00,0x37,0xff,0x6b,0x01,0x1a,0x00,0x39,0xff,0x90,0x01,0x1a,0x00,0x3a, +0xff,0xad,0x01,0x1a,0x00,0x3c,0xff,0x7d,0x01,0x1a,0x00,0x44,0xff,0xd3,0x01,0x1a, +0x00,0x48,0xff,0xa4,0x01,0x1a,0x00,0x52,0xff,0xa4,0x01,0x1a,0x00,0x58,0xff,0xa4, +0x01,0x1a,0x00,0x5c,0xff,0x90,0x01,0x1a,0x00,0x6d,0xff,0x90,0x01,0x1a,0x00,0x7d, +0xff,0xdc,0x01,0x1a,0x00,0x82,0xff,0xad,0x01,0x1a,0x00,0x83,0xff,0xad,0x01,0x1a, +0x00,0x84,0xff,0xad,0x01,0x1a,0x00,0x85,0xff,0xad,0x01,0x1a,0x00,0x86,0xff,0xad, +0x01,0x1a,0x00,0x89,0xff,0x9a,0x01,0x1a,0x00,0x9f,0xff,0x7d,0x01,0x1a,0x00,0xa2, +0xff,0xd3,0x01,0x1a,0x00,0xa3,0xff,0xd3,0x01,0x1a,0x00,0xa4,0xff,0xd3,0x01,0x1a, +0x00,0xa5,0xff,0xd3,0x01,0x1a,0x00,0xa6,0xff,0xd3,0x01,0x1a,0x00,0xa7,0xff,0xd3, +0x01,0x1a,0x00,0xaa,0xff,0xa4,0x01,0x1a,0x00,0xab,0xff,0xa4,0x01,0x1a,0x00,0xac, +0xff,0xa4,0x01,0x1a,0x00,0xad,0xff,0xa4,0x01,0x1a,0x00,0xb4,0xff,0xa4,0x01,0x1a, +0x00,0xb5,0xff,0xa4,0x01,0x1a,0x00,0xb6,0xff,0xa4,0x01,0x1a,0x00,0xb7,0xff,0xa4, +0x01,0x1a,0x00,0xb8,0xff,0xa4,0x01,0x1a,0x00,0xbb,0xff,0xa4,0x01,0x1a,0x00,0xbc, +0xff,0xa4,0x01,0x1a,0x00,0xbd,0xff,0xa4,0x01,0x1a,0x00,0xbe,0xff,0xa4,0x01,0x1a, +0x00,0xbf,0xff,0x90,0x01,0x1a,0x00,0xc1,0xff,0x90,0x01,0x1a,0x00,0xc8,0xff,0x9a, +0x01,0x1a,0x00,0xce,0xff,0x9a,0x01,0x1a,0x00,0xdd,0xff,0xa4,0x01,0x1a,0x01,0x26, +0xff,0x6b,0x01,0x1a,0x01,0x31,0xff,0xa4,0x01,0x1a,0x01,0x3a,0xff,0x7d,0x01,0x1a, +0x07,0x7d,0xff,0x6b,0x01,0x1a,0x07,0x7e,0xff,0x7d,0x01,0x1a,0x07,0x7f,0xff,0xdc, +0x01,0x1b,0x00,0x10,0xff,0x7d,0x01,0x1b,0x00,0x11,0xff,0x44,0x01,0x1b,0x00,0x1d, +0xff,0xdc,0x01,0x1b,0x00,0x46,0xff,0xd3,0x01,0x1b,0x00,0x47,0xff,0xdc,0x01,0x1b, +0x00,0x48,0xff,0xd3,0x01,0x1b,0x00,0x4a,0xff,0xdc,0x01,0x1b,0x00,0x4b,0xff,0xdc, +0x01,0x1b,0x00,0x50,0xff,0xdc,0x01,0x1b,0x00,0x51,0xff,0xdc,0x01,0x1b,0x00,0x52, +0xff,0xd3,0x01,0x1b,0x00,0x54,0xff,0xdc,0x01,0x1b,0x00,0x55,0xff,0xdc,0x01,0x1b, +0x00,0x5b,0xff,0xc9,0x01,0x1b,0x00,0x6d,0xff,0xb7,0x01,0x1b,0x00,0xa9,0xff,0xd3, +0x01,0x1b,0x00,0xaa,0xff,0xd3,0x01,0x1b,0x00,0xab,0xff,0xd3,0x01,0x1b,0x00,0xac, +0xff,0xd3,0x01,0x1b,0x00,0xad,0xff,0xd3,0x01,0x1b,0x00,0xb3,0xff,0xdc,0x01,0x1b, +0x00,0xb4,0xff,0xd3,0x01,0x1b,0x00,0xb5,0xff,0xd3,0x01,0x1b,0x00,0xb6,0xff,0xd3, +0x01,0x1b,0x00,0xb7,0xff,0xd3,0x01,0x1b,0x00,0xb8,0xff,0xd3,0x01,0x1b,0x00,0xc9, +0xff,0xd3,0x01,0x1b,0x00,0xcf,0xff,0xd3,0x01,0x1b,0x00,0xd1,0xff,0xdc,0x01,0x1b, +0x00,0xdd,0xff,0xd3,0x01,0x1b,0x00,0xe1,0xff,0xdc,0x01,0x1b,0x01,0x0a,0xff,0xdc, +0x01,0x1b,0x01,0x17,0xff,0xdc,0x01,0x1b,0x01,0x1b,0xff,0xdc,0x01,0x1b,0x07,0x7e, +0x00,0x56,0x01,0x1b,0x07,0x7f,0xfe,0xc9,0x01,0x20,0x00,0x24,0x00,0x26,0x01,0x20, +0x00,0x82,0x00,0x26,0x01,0x20,0x00,0x83,0x00,0x26,0x01,0x20,0x00,0x84,0x00,0x26, +0x01,0x20,0x00,0x85,0x00,0x26,0x01,0x20,0x00,0x86,0x00,0x26,0x01,0x22,0x00,0x24, +0x00,0x26,0x01,0x22,0x00,0x82,0x00,0x26,0x01,0x22,0x00,0x83,0x00,0x26,0x01,0x22, +0x00,0x84,0x00,0x26,0x01,0x22,0x00,0x85,0x00,0x26,0x01,0x22,0x00,0x86,0x00,0x26, +0x01,0x26,0x00,0x10,0xff,0x44,0x01,0x26,0x00,0x11,0xff,0x0d,0x01,0x26,0x00,0x1d, +0xff,0x1f,0x01,0x26,0x00,0x24,0xff,0x61,0x01,0x26,0x00,0x26,0xff,0x88,0x01,0x26, +0x00,0x37,0xff,0xdc,0x01,0x26,0x00,0x44,0xfe,0xad,0x01,0x26,0x00,0x46,0xfe,0xa4, +0x01,0x26,0x00,0x48,0xfe,0xa4,0x01,0x26,0x00,0x4c,0xff,0xc1,0x01,0x26,0x00,0x52, +0xfe,0xa4,0x01,0x26,0x00,0x55,0xfe,0xd3,0x01,0x26,0x00,0x56,0xfe,0xad,0x01,0x26, +0x00,0x58,0xfe,0xc9,0x01,0x26,0x00,0x5a,0xfe,0xad,0x01,0x26,0x00,0x5c,0xfe,0xc1, +0x01,0x26,0x00,0x6d,0xff,0x44,0x01,0x26,0x00,0x7d,0xff,0x90,0x01,0x26,0x00,0x82, +0xff,0x61,0x01,0x26,0x00,0x83,0xff,0x61,0x01,0x26,0x00,0x84,0xff,0x61,0x01,0x26, +0x00,0x85,0xff,0x61,0x01,0x26,0x00,0x86,0xff,0x61,0x01,0x26,0x00,0x89,0xff,0x88, +0x01,0x26,0x00,0xa2,0xfe,0xad,0x01,0x26,0x00,0xa3,0xfe,0xad,0x01,0x26,0x00,0xa4, +0xfe,0xad,0x01,0x26,0x00,0xa5,0xfe,0xad,0x01,0x26,0x00,0xa6,0xfe,0xad,0x01,0x26, +0x00,0xa7,0xfe,0xad,0x01,0x26,0x00,0xa9,0xfe,0xa4,0x01,0x26,0x00,0xaa,0xfe,0xa4, +0x01,0x26,0x00,0xab,0xfe,0xa4,0x01,0x26,0x00,0xac,0xfe,0xa4,0x01,0x26,0x00,0xad, +0xfe,0xa4,0x01,0x26,0x00,0xb4,0xfe,0xa4,0x01,0x26,0x00,0xb5,0xfe,0xa4,0x01,0x26, +0x00,0xb6,0xfe,0xa4,0x01,0x26,0x00,0xb7,0xfe,0xa4,0x01,0x26,0x00,0xb8,0xfe,0xa4, +0x01,0x26,0x00,0xbb,0xfe,0xc9,0x01,0x26,0x00,0xbc,0xfe,0xc9,0x01,0x26,0x00,0xbd, +0xfe,0xc9,0x01,0x26,0x00,0xbe,0xfe,0xc9,0x01,0x26,0x00,0xbf,0xfe,0xc1,0x01,0x26, +0x00,0xc1,0xfe,0xc1,0x01,0x26,0x00,0xc8,0xff,0x88,0x01,0x26,0x00,0xc9,0xfe,0xa4, +0x01,0x26,0x00,0xce,0xff,0x88,0x01,0x26,0x00,0xcf,0xfe,0xa4,0x01,0x26,0x00,0xdd, +0xfe,0xa4,0x01,0x26,0x01,0x17,0xfe,0xd3,0x01,0x26,0x01,0x1b,0xfe,0xd3,0x01,0x26, +0x01,0x21,0xfe,0xad,0x01,0x26,0x01,0x23,0xfe,0xad,0x01,0x26,0x01,0x26,0xff,0xdc, +0x01,0x26,0x01,0x31,0xfe,0xc9,0x01,0x26,0x07,0x7e,0xff,0xd3,0x01,0x26,0x07,0x7f, +0xfe,0xf8,0x01,0x30,0x00,0x3d,0xff,0xdc,0x01,0x30,0x01,0x3f,0xff,0xdc,0x01,0x3a, +0x00,0x10,0xff,0x0d,0x01,0x3a,0x00,0x11,0xfe,0x61,0x01,0x3a,0x00,0x1d,0xfe,0xf0, +0x01,0x3a,0x00,0x24,0xff,0x61,0x01,0x3a,0x00,0x26,0xff,0x90,0x01,0x3a,0x00,0x32, +0xff,0x90,0x01,0x3a,0x00,0x44,0xfe,0xe6,0x01,0x3a,0x00,0x48,0xfe,0xf0,0x01,0x3a, +0x00,0x4c,0xff,0xb7,0x01,0x3a,0x00,0x52,0xfe,0xf0,0x01,0x3a,0x00,0x58,0xff,0x15, +0x01,0x3a,0x00,0x6d,0xff,0x1f,0x01,0x3a,0x00,0x7d,0xff,0x6b,0x01,0x3a,0x00,0x82, +0xff,0x61,0x01,0x3a,0x00,0x83,0xff,0x61,0x01,0x3a,0x00,0x84,0xff,0x61,0x01,0x3a, +0x00,0x85,0xff,0x61,0x01,0x3a,0x00,0x86,0xff,0x61,0x01,0x3a,0x00,0x89,0xff,0x90, +0x01,0x3a,0x00,0x94,0xff,0x90,0x01,0x3a,0x00,0x95,0xff,0x90,0x01,0x3a,0x00,0x96, +0xff,0x90,0x01,0x3a,0x00,0x97,0xff,0x90,0x01,0x3a,0x00,0x98,0xff,0x90,0x01,0x3a, +0x00,0xa2,0xfe,0xe6,0x01,0x3a,0x00,0xa3,0xfe,0xe6,0x01,0x3a,0x00,0xa4,0xfe,0xe6, +0x01,0x3a,0x00,0xa5,0xfe,0xe6,0x01,0x3a,0x00,0xa6,0xfe,0xe6,0x01,0x3a,0x00,0xa7, +0xfe,0xe6,0x01,0x3a,0x00,0xaa,0xfe,0xf0,0x01,0x3a,0x00,0xab,0xfe,0xf0,0x01,0x3a, +0x00,0xac,0xfe,0xf0,0x01,0x3a,0x00,0xad,0xfe,0xf0,0x01,0x3a,0x00,0xb4,0xfe,0xf0, +0x01,0x3a,0x00,0xb5,0xfe,0xf0,0x01,0x3a,0x00,0xb6,0xfe,0xf0,0x01,0x3a,0x00,0xb7, +0xfe,0xf0,0x01,0x3a,0x00,0xb8,0xfe,0xf0,0x01,0x3a,0x00,0xbb,0xff,0x15,0x01,0x3a, +0x00,0xbc,0xff,0x15,0x01,0x3a,0x00,0xbd,0xff,0x15,0x01,0x3a,0x00,0xbe,0xff,0x15, +0x01,0x3a,0x00,0xc8,0xff,0x90,0x01,0x3a,0x00,0xce,0xff,0x90,0x01,0x3a,0x00,0xdd, +0xfe,0xf0,0x01,0x3a,0x01,0x31,0xff,0x15,0x01,0x3a,0x07,0x7d,0xff,0x90,0x01,0x3a, +0x07,0x7e,0xff,0xdc,0x01,0x3a,0x07,0x7f,0xfe,0xf8,0x01,0x3f,0x00,0x10,0xff,0xdc, +0x01,0x3f,0x07,0x7d,0xff,0xdc,0x01,0x3f,0x07,0x7e,0xff,0xdc,0x01,0x3f,0x07,0x7f, +0xff,0xdc,0x07,0x71,0x00,0x24,0xff,0xd3,0x07,0x71,0x00,0x25,0xff,0xb7,0x07,0x71, +0x00,0x2a,0x00,0x4b,0x07,0x71,0x00,0x2d,0x00,0x72,0x07,0x71,0x00,0x32,0x00,0x39, +0x07,0x71,0x00,0x34,0x00,0x4b,0x07,0x71,0x00,0x37,0xff,0x44,0x07,0x71,0x00,0x39, +0xff,0x88,0x07,0x71,0x00,0x3a,0xff,0xad,0x07,0x71,0x00,0x3b,0xff,0x9a,0x07,0x71, +0x00,0x3c,0xff,0x0d,0x07,0x71,0x00,0x52,0x00,0x26,0x07,0x71,0x00,0x59,0xff,0xc9, +0x07,0x71,0x00,0x5c,0xff,0xdc,0x07,0x71,0x00,0x82,0xff,0xd3,0x07,0x71,0x00,0x83, +0xff,0xd3,0x07,0x71,0x00,0x84,0xff,0xd3,0x07,0x71,0x00,0x85,0xff,0xd3,0x07,0x71, +0x00,0x86,0xff,0xd3,0x07,0x71,0x00,0x94,0x00,0x39,0x07,0x71,0x00,0x95,0x00,0x39, +0x07,0x71,0x00,0x96,0x00,0x39,0x07,0x71,0x00,0x97,0x00,0x39,0x07,0x71,0x00,0x98, +0x00,0x39,0x07,0x71,0x00,0x9f,0xff,0x0d,0x07,0x71,0x00,0xb4,0x00,0x26,0x07,0x71, +0x00,0xb5,0x00,0x26,0x07,0x71,0x00,0xb6,0x00,0x26,0x07,0x71,0x00,0xb7,0x00,0x26, +0x07,0x71,0x00,0xb8,0x00,0x26,0x07,0x71,0x00,0xbf,0xff,0xdc,0x07,0x71,0x00,0xc1, +0xff,0xdc,0x07,0x71,0x00,0xe0,0x00,0x4b,0x07,0x71,0x01,0x26,0xff,0x44,0x07,0x71, +0x01,0x3a,0xff,0x0d,0x07,0x7d,0x00,0x24,0xfe,0xf8,0x07,0x7d,0x00,0x25,0xff,0xc1, +0x07,0x7d,0x00,0x26,0xff,0xb7,0x07,0x7d,0x00,0x27,0xff,0xc1,0x07,0x7d,0x00,0x29, +0xff,0xc1,0x07,0x7d,0x00,0x2a,0xff,0xb7,0x07,0x7d,0x00,0x2b,0xff,0xc1,0x07,0x7d, +0x00,0x2d,0xff,0xc1,0x07,0x7d,0x00,0x2e,0xff,0xc1,0x07,0x7d,0x00,0x2f,0xff,0xc1, +0x07,0x7d,0x00,0x32,0xff,0xb7,0x07,0x7d,0x00,0x33,0xff,0xc1,0x07,0x7d,0x00,0x34, +0xff,0xb7,0x07,0x7d,0x00,0x35,0xff,0xc1,0x07,0x7d,0x00,0x3b,0xff,0x88,0x07,0x7d, +0x00,0x3d,0xff,0xdc,0x07,0x7d,0x00,0x49,0xff,0xb7,0x07,0x7d,0x00,0x51,0xff,0x90, +0x07,0x7d,0x00,0x52,0xff,0x6b,0x07,0x7d,0x00,0x55,0xff,0x90,0x07,0x7d,0x00,0x59, +0xff,0xb7,0x07,0x7d,0x00,0x5a,0xff,0xb7,0x07,0x7d,0x00,0x5c,0xff,0xb7,0x07,0x7d, +0x00,0x82,0xfe,0xf8,0x07,0x7d,0x00,0x83,0xfe,0xf8,0x07,0x7d,0x00,0x84,0xfe,0xf8, +0x07,0x7d,0x00,0x85,0xfe,0xf8,0x07,0x7d,0x00,0x86,0xfe,0xf8,0x07,0x7d,0x00,0x88, +0xfe,0x7d,0x07,0x7d,0x00,0x89,0xff,0xb7,0x07,0x7d,0x00,0x94,0xff,0xb7,0x07,0x7d, +0x00,0x95,0xff,0xb7,0x07,0x7d,0x00,0x96,0xff,0xb7,0x07,0x7d,0x00,0x97,0xff,0xb7, +0x07,0x7d,0x00,0x98,0xff,0xb7,0x07,0x7d,0x00,0xa0,0xff,0xc1,0x07,0x7d,0x00,0xa1, +0xff,0xc1,0x07,0x7d,0x00,0xb2,0xff,0xb7,0x07,0x7d,0x00,0xb3,0xff,0x90,0x07,0x7d, +0x00,0xb4,0xff,0x6b,0x07,0x7d,0x00,0xb5,0xff,0x6b,0x07,0x7d,0x00,0xb6,0xff,0x6b, +0x07,0x7d,0x00,0xb7,0xff,0x6b,0x07,0x7d,0x00,0xb8,0xff,0x6b,0x07,0x7d,0x00,0xbf, +0xff,0xb7,0x07,0x7d,0x00,0xc1,0xff,0xb7,0x07,0x7d,0x00,0xc8,0xff,0xb7,0x07,0x7d, +0x00,0xce,0xff,0xb7,0x07,0x7d,0x00,0xd0,0xff,0xc1,0x07,0x7d,0x00,0xe0,0xff,0xb7, +0x07,0x7d,0x00,0xfb,0xff,0xc1,0x07,0x7d,0x00,0xff,0xff,0xc1,0x07,0x7d,0x01,0x0a, +0xff,0x90,0x07,0x7d,0x01,0x16,0xff,0xc1,0x07,0x7d,0x01,0x17,0xff,0x90,0x07,0x7d, +0x01,0x1a,0xff,0xc1,0x07,0x7d,0x01,0x1b,0xff,0x90,0x07,0x7d,0x01,0x3f,0xff,0xdc, +0x07,0x7f,0x00,0x24,0x00,0x26,0x07,0x7f,0x00,0x25,0xff,0xb7,0x07,0x7f,0x00,0x26, +0xff,0x90,0x07,0x7f,0x00,0x27,0xff,0xb7,0x07,0x7f,0x00,0x29,0xff,0xb7,0x07,0x7f, +0x00,0x2a,0xff,0xb7,0x07,0x7f,0x00,0x2b,0xff,0xb7,0x07,0x7f,0x00,0x2d,0x00,0x2f, +0x07,0x7f,0x00,0x2e,0xff,0xb7,0x07,0x7f,0x00,0x2f,0xff,0xb7,0x07,0x7f,0x00,0x32, +0xff,0x90,0x07,0x7f,0x00,0x33,0xff,0xb7,0x07,0x7f,0x00,0x34,0xff,0x90,0x07,0x7f, +0x00,0x35,0xff,0xb7,0x07,0x7f,0x00,0x37,0xfe,0xe6,0x07,0x7f,0x00,0x39,0xfe,0x88, +0x07,0x7f,0x00,0x3a,0xff,0x03,0x07,0x7f,0x00,0x3b,0xff,0xb7,0x07,0x7f,0x00,0x3c, +0xfe,0x88,0x07,0x7f,0x00,0x49,0xff,0xdc,0x07,0x7f,0x00,0x51,0xff,0xb7,0x07,0x7f, +0x00,0x52,0xff,0xb7,0x07,0x7f,0x00,0x55,0xff,0xb7,0x07,0x7f,0x00,0x59,0xff,0x15, +0x07,0x7f,0x00,0x5a,0xff,0x3c,0x07,0x7f,0x00,0x5c,0xff,0x90,0x07,0x7f,0x00,0x82, +0x00,0x26,0x07,0x7f,0x00,0x83,0x00,0x26,0x07,0x7f,0x00,0x84,0x00,0x26,0x07,0x7f, +0x00,0x85,0x00,0x26,0x07,0x7f,0x00,0x86,0x00,0x26,0x07,0x7f,0x00,0x88,0x00,0x26, +0x07,0x7f,0x00,0x89,0xff,0x90,0x07,0x7f,0x00,0x94,0xff,0x90,0x07,0x7f,0x00,0x95, +0xff,0x90,0x07,0x7f,0x00,0x96,0xff,0x90,0x07,0x7f,0x00,0x97,0xff,0x90,0x07,0x7f, +0x00,0x98,0xff,0x90,0x07,0x7f,0x00,0x9f,0xfe,0x88,0x07,0x7f,0x00,0xa0,0xff,0xb7, +0x07,0x7f,0x00,0xa1,0xff,0xb7,0x07,0x7f,0x00,0xb2,0xff,0xb7,0x07,0x7f,0x00,0xb3, +0xff,0xb7,0x07,0x7f,0x00,0xb4,0xff,0xb7,0x07,0x7f,0x00,0xb5,0xff,0xb7,0x07,0x7f, +0x00,0xb6,0xff,0xb7,0x07,0x7f,0x00,0xb7,0xff,0xb7,0x07,0x7f,0x00,0xb8,0xff,0xb7, +0x07,0x7f,0x00,0xbf,0xff,0x90,0x07,0x7f,0x00,0xc1,0xff,0x90,0x07,0x7f,0x00,0xc8, +0xff,0x90,0x07,0x7f,0x00,0xce,0xff,0x90,0x07,0x7f,0x00,0xd0,0xff,0xb7,0x07,0x7f, +0x00,0xe0,0xff,0xb7,0x07,0x7f,0x00,0xfb,0xff,0xb7,0x07,0x7f,0x00,0xff,0xff,0xb7, +0x07,0x7f,0x01,0x0a,0xff,0xb7,0x07,0x7f,0x01,0x16,0xff,0xb7,0x07,0x7f,0x01,0x17, +0xff,0xb7,0x07,0x7f,0x01,0x1a,0xff,0xb7,0x07,0x7f,0x01,0x1b,0xff,0xb7,0x07,0x7f, +0x01,0x26,0xfe,0xe6,0x07,0x7f,0x01,0x3a,0xfe,0x88,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44, +0x00,0x00,0x00,0xa6,0x00,0x00,0x01,0x10,0x00,0x00,0x01,0xe8,0x00,0x00,0x03,0x3e, +0x00,0x00,0x04,0x64,0x00,0x00,0x06,0xcc,0x00,0x00,0x07,0x1e,0x00,0x00,0x07,0x8e, +0x00,0x00,0x07,0xe4,0x00,0x00,0x08,0x7e,0x00,0x00,0x08,0xd2,0x00,0x00,0x09,0x0a, +0x00,0x00,0x09,0x36,0x00,0x00,0x09,0x5e,0x00,0x00,0x09,0xa8,0x00,0x00,0x0a,0x2c, +0x00,0x00,0x0a,0x9a,0x00,0x00,0x0b,0x94,0x00,0x00,0x0c,0x7c,0x00,0x00,0x0d,0x36, +0x00,0x00,0x0d,0xf4,0x00,0x00,0x0e,0xca,0x00,0x00,0x0f,0x54,0x00,0x00,0x10,0x26, +0x00,0x00,0x10,0xfa,0x00,0x00,0x11,0x38,0x00,0x00,0x11,0x88,0x00,0x00,0x12,0x00, +0x00,0x00,0x12,0x42,0x00,0x00,0x12,0xb8,0x00,0x00,0x13,0x8e,0x00,0x00,0x15,0x0e, +0x00,0x00,0x16,0x00,0x00,0x00,0x16,0xb0,0x00,0x00,0x17,0x46,0x00,0x00,0x17,0xc4, +0x00,0x00,0x18,0x22,0x00,0x00,0x18,0x76,0x00,0x00,0x19,0x1c,0x00,0x00,0x19,0x78, +0x00,0x00,0x19,0xc0,0x00,0x00,0x1a,0x2e,0x00,0x00,0x1b,0x54,0x00,0x00,0x1b,0x98, +0x00,0x00,0x1c,0x92,0x00,0x00,0x1d,0x3a,0x00,0x00,0x1d,0xc4,0x00,0x00,0x1e,0x44, +0x00,0x00,0x1f,0x10,0x00,0x00,0x20,0x24,0x00,0x00,0x21,0x1c,0x00,0x00,0x21,0x8c, +0x00,0x00,0x22,0x10,0x00,0x00,0x22,0xf0,0x00,0x00,0x24,0xaa,0x00,0x00,0x25,0x4e, +0x00,0x00,0x26,0x10,0x00,0x00,0x26,0xce,0x00,0x00,0x27,0x2c,0x00,0x00,0x27,0x78, +0x00,0x00,0x27,0xcc,0x00,0x00,0x28,0x10,0x00,0x00,0x28,0x3a,0x00,0x00,0x28,0x8a, +0x00,0x00,0x29,0xb6,0x00,0x00,0x2a,0x4e,0x00,0x00,0x2a,0xe4,0x00,0x00,0x2b,0x7c, +0x00,0x00,0x2c,0x50,0x00,0x00,0x2c,0xe8,0x00,0x00,0x2d,0xb0,0x00,0x00,0x2e,0x28, +0x00,0x00,0x2e,0x78,0x00,0x00,0x2e,0xf2,0x00,0x00,0x2f,0xe2,0x00,0x00,0x30,0x1e, +0x00,0x00,0x30,0xe0,0x00,0x00,0x31,0x58,0x00,0x00,0x31,0xfa,0x00,0x00,0x32,0x98, +0x00,0x00,0x33,0x36,0x00,0x00,0x33,0xa4,0x00,0x00,0x35,0x02,0x00,0x00,0x35,0x7c, +0x00,0x00,0x35,0xf4,0x00,0x00,0x37,0x16,0x00,0x00,0x39,0x3a,0x00,0x00,0x3a,0xbe, +0x00,0x00,0x3c,0x88,0x00,0x00,0x3d,0x54,0x00,0x00,0x3e,0x30,0x00,0x00,0x3e,0x5e, +0x00,0x00,0x3f,0x4a,0x00,0x00,0x3f,0xce,0x00,0x00,0x3f,0xce,0x00,0x00,0x40,0x5e, +0x00,0x00,0x41,0x28,0x00,0x00,0x41,0xde,0x00,0x00,0x42,0xf6,0x00,0x00,0x44,0x18, +0x00,0x00,0x44,0x5e,0x00,0x00,0x45,0xa6,0x00,0x00,0x46,0x5e,0x00,0x00,0x47,0x80, +0x00,0x00,0x48,0x5c,0x00,0x00,0x49,0x26,0x00,0x00,0x49,0x5e,0x00,0x00,0x49,0x8a, +0x00,0x00,0x4a,0xd6,0x00,0x00,0x4b,0x20,0x00,0x00,0x4b,0x96,0x00,0x00,0x4c,0x04, +0x00,0x00,0x4c,0xa2,0x00,0x00,0x4d,0x5e,0x00,0x00,0x4d,0xac,0x00,0x00,0x4e,0x5e, +0x00,0x00,0x4e,0xba,0x00,0x00,0x4e,0xe4,0x00,0x00,0x4f,0x44,0x00,0x00,0x4f,0x9c, +0x00,0x00,0x50,0x24,0x00,0x00,0x50,0xf2,0x00,0x00,0x51,0x12,0x00,0x00,0x51,0x32, +0x00,0x00,0x51,0x52,0x00,0x00,0x52,0x4a,0x00,0x00,0x52,0x62,0x00,0x00,0x52,0x7a, +0x00,0x00,0x52,0xa4,0x00,0x00,0x52,0xd2,0x00,0x00,0x53,0x00,0x00,0x00,0x54,0x40, +0x00,0x00,0x55,0x16,0x00,0x00,0x55,0x2e,0x00,0x00,0x55,0x46,0x00,0x00,0x55,0x5e, +0x00,0x00,0x55,0x80,0x00,0x00,0x55,0xa4,0x00,0x00,0x55,0xbc,0x00,0x00,0x55,0xd4, +0x00,0x00,0x55,0xf6,0x00,0x00,0x56,0x18,0x00,0x00,0x56,0xe2,0x00,0x00,0x57,0x10, +0x00,0x00,0x57,0x28,0x00,0x00,0x57,0x40,0x00,0x00,0x57,0x6a,0x00,0x00,0x57,0x9c, +0x00,0x00,0x57,0xca,0x00,0x00,0x58,0x92,0x00,0x00,0x59,0xca,0x00,0x00,0x59,0xe2, +0x00,0x00,0x59,0xfa,0x00,0x00,0x5a,0x28,0x00,0x00,0x5a,0x5e,0x00,0x00,0x5a,0x76, +0x00,0x00,0x5a,0xfc,0x00,0x00,0x5c,0x22,0x00,0x00,0x5c,0x46,0x00,0x00,0x5c,0x6a, +0x00,0x00,0x5c,0x8a,0x00,0x00,0x5c,0xb6,0x00,0x00,0x5c,0xee,0x00,0x00,0x5d,0x2c, +0x00,0x00,0x5e,0xe6,0x00,0x00,0x5e,0xfe,0x00,0x00,0x5f,0x16,0x00,0x00,0x5f,0x2e, +0x00,0x00,0x5f,0x50,0x00,0x00,0x5f,0x72,0x00,0x00,0x5f,0x8a,0x00,0x00,0x5f,0xa2, +0x00,0x00,0x5f,0xc4,0x00,0x00,0x5f,0xe6,0x00,0x00,0x61,0x96,0x00,0x00,0x61,0xae, +0x00,0x00,0x61,0xc4,0x00,0x00,0x61,0xda,0x00,0x00,0x61,0xfa,0x00,0x00,0x62,0x26, +0x00,0x00,0x62,0x52,0x00,0x00,0x62,0xae,0x00,0x00,0x64,0x22,0x00,0x00,0x64,0x38, +0x00,0x00,0x64,0x4e,0x00,0x00,0x64,0x6e,0x00,0x00,0x64,0x9e,0x00,0x00,0x64,0xb4, +0x00,0x00,0x65,0x52,0x00,0x00,0x65,0x80,0x00,0x00,0x65,0xaa,0x00,0x00,0x65,0xd2, +0x00,0x00,0x65,0xfe,0x00,0x00,0x66,0x1e,0x00,0x00,0x66,0x36,0x00,0x00,0x66,0x4e, +0x00,0x00,0x66,0x66,0x00,0x00,0x66,0x7e,0x00,0x00,0x66,0xa2,0x00,0x00,0x66,0xba, +0x00,0x00,0x66,0xd2,0x00,0x00,0x66,0xea,0x00,0x00,0x67,0x0c,0x00,0x00,0x67,0x24, +0x00,0x00,0x67,0x3c,0x00,0x00,0x67,0x62,0x00,0x00,0x68,0x2c,0x00,0x00,0x68,0xe8, +0x00,0x00,0x69,0x00,0x00,0x00,0x69,0x22,0x00,0x00,0x69,0x44,0x00,0x00,0x69,0x66, +0x00,0x00,0x69,0x7e,0x00,0x00,0x69,0x96,0x00,0x00,0x69,0xae,0x00,0x00,0x69,0xc6, +0x00,0x00,0x69,0xe8,0x00,0x00,0x6a,0x00,0x00,0x00,0x6a,0x24,0x00,0x00,0x6a,0x46, +0x00,0x00,0x6a,0x5e,0x00,0x00,0x6a,0x76,0x00,0x00,0x6a,0x98,0x00,0x00,0x6a,0xae, +0x00,0x00,0x6a,0xc6,0x00,0x00,0x6a,0xde,0x00,0x00,0x6b,0x0c,0x00,0x00,0x6b,0x50, +0x00,0x00,0x6b,0xd6,0x00,0x00,0x6c,0x6a,0x00,0x00,0x6c,0x8c,0x00,0x00,0x6c,0xae, +0x00,0x00,0x6c,0xd0,0x00,0x00,0x6c,0xf2,0x00,0x00,0x6d,0x14,0x00,0x00,0x6d,0x36, +0x00,0x00,0x6d,0x4e,0x00,0x00,0x6d,0x66,0x00,0x00,0x6d,0x94,0x00,0x00,0x6d,0xce, +0x00,0x00,0x6d,0xf0,0x00,0x00,0x6e,0x12,0x00,0x00,0x6e,0x34,0x00,0x00,0x6e,0x56, +0x00,0x00,0x6e,0x6e,0x00,0x00,0x6e,0x86,0x00,0x00,0x6f,0x76,0x00,0x00,0x6f,0x8e, +0x00,0x00,0x6f,0xc6,0x00,0x00,0x6f,0xde,0x00,0x00,0x70,0x00,0x00,0x00,0x70,0x18, +0x00,0x00,0x70,0x3c,0x00,0x00,0x70,0x54,0x00,0x00,0x70,0x86,0x00,0x00,0x71,0x00, +0x00,0x00,0x71,0x90,0x00,0x00,0x71,0xb2,0x00,0x00,0x71,0xd4,0x00,0x00,0x71,0xec, +0x00,0x00,0x72,0x04,0x00,0x00,0x72,0x32,0x00,0x00,0x72,0x5c,0x00,0x00,0x72,0x74, +0x00,0x00,0x73,0x04,0x00,0x00,0x73,0xa0,0x00,0x00,0x73,0xca,0x00,0x00,0x73,0xea, +0x00,0x00,0x74,0x14,0x00,0x00,0x74,0x34,0x00,0x00,0x74,0x4c,0x00,0x00,0x74,0x64, +0x00,0x00,0x75,0x02,0x00,0x00,0x76,0x2a,0x00,0x00,0x76,0x42,0x00,0x00,0x76,0x58, +0x00,0x00,0x76,0x70,0x00,0x00,0x76,0x88,0x00,0x00,0x76,0xaa,0x00,0x00,0x76,0xc0, +0x00,0x00,0x76,0xd8,0x00,0x00,0x76,0xee,0x00,0x00,0x77,0x14,0x00,0x00,0x77,0x38, +0x00,0x00,0x77,0x50,0x00,0x00,0x77,0x66,0x00,0x00,0x77,0x8c,0x00,0x00,0x77,0xb0, +0x00,0x00,0x77,0xc6,0x00,0x00,0x77,0xdc,0x00,0x00,0x78,0x06,0x00,0x00,0x78,0x28, +0x00,0x00,0x78,0xaa,0x00,0x00,0x79,0x42,0x00,0x00,0x79,0x6c,0x00,0x00,0x79,0x8e, +0x00,0x00,0x79,0xbc,0x00,0x00,0x79,0xde,0x00,0x00,0x7a,0x08,0x00,0x00,0x7a,0x2a, +0x00,0x00,0x7a,0x4e,0x00,0x00,0x7a,0x70,0x00,0x00,0x7a,0x88,0x00,0x00,0x7a,0xa0, +0x00,0x00,0x7a,0xb8,0x00,0x00,0x7a,0xd0,0x00,0x00,0x7a,0xf2,0x00,0x00,0x7b,0x14, +0x00,0x00,0x7b,0x36,0x00,0x00,0x7b,0x56,0x00,0x00,0x7b,0x78,0x00,0x00,0x7b,0x90, +0x00,0x00,0x7b,0xa6,0x00,0x00,0x7b,0xbe,0x00,0x00,0x7b,0xd4,0x00,0x00,0x7b,0xec, +0x00,0x00,0x7c,0x02,0x00,0x00,0x7c,0x5a,0x00,0x00,0x7d,0x26,0x00,0x00,0x7d,0xa8, +0x00,0x00,0x7d,0xb8,0x00,0x00,0x7e,0x6c,0x00,0x00,0x7e,0xc0,0x00,0x00,0x7f,0x1e, +0x00,0x00,0x7f,0xae,0x00,0x00,0x80,0x2a,0x00,0x00,0x80,0x96,0x00,0x00,0x80,0xa6, +0x00,0x00,0x81,0x0c,0x00,0x00,0x81,0x62,0x00,0x00,0x81,0xc2,0x00,0x00,0x82,0x50, +0x00,0x00,0x82,0x82,0x00,0x00,0x82,0xf2,0x00,0x00,0x83,0xaa,0x00,0x00,0x83,0xe8, +0x00,0x00,0x84,0x3a,0x00,0x00,0x84,0xc2,0x00,0x00,0x85,0x24,0x00,0x00,0x85,0xe2, +0x00,0x00,0x86,0x0e,0x00,0x00,0x86,0x3a,0x00,0x00,0x86,0x88,0x00,0x00,0x86,0xd4, +0x00,0x00,0x87,0x00,0x00,0x00,0x87,0x48,0x00,0x00,0x87,0xb2,0x00,0x00,0x87,0xf8, +0x00,0x00,0x88,0x08,0x00,0x00,0x88,0x7a,0x00,0x00,0x88,0x92,0x00,0x00,0x88,0xaa, +0x00,0x00,0x89,0x1c,0x00,0x00,0x89,0x88,0x00,0x00,0x89,0xe4,0x00,0x00,0x8a,0x54, +0x00,0x00,0x8a,0xd0,0x00,0x00,0x8b,0x4a,0x00,0x00,0x8b,0xc0,0x00,0x00,0x8b,0xd0, +0x00,0x00,0x8c,0x3a,0x00,0x00,0x8c,0x92,0x00,0x00,0x8c,0xcc,0x00,0x00,0x8d,0x20, +0x00,0x00,0x8d,0x5c,0x00,0x00,0x8d,0x74,0x00,0x00,0x8d,0x8c,0x00,0x00,0x8d,0xfc, +0x00,0x00,0x8e,0x5a,0x00,0x00,0x8e,0xa2,0x00,0x00,0x8e,0xfa,0x00,0x00,0x8f,0x42, +0x00,0x00,0x8f,0x88,0x00,0x00,0x90,0x00,0x00,0x00,0x90,0x78,0x00,0x00,0x90,0xec, +0x00,0x00,0x91,0x58,0x00,0x00,0x91,0xc4,0x00,0x00,0x92,0x44,0x00,0x00,0x92,0xbc, +0x00,0x00,0x93,0x2e,0x00,0x00,0x93,0x82,0x00,0x00,0x93,0x9c,0x00,0x00,0x93,0xb4, +0x00,0x00,0x93,0xf8,0x00,0x00,0x94,0x08,0x00,0x00,0x94,0x20,0x00,0x00,0x94,0x38, +0x00,0x00,0x94,0x50,0x00,0x00,0x94,0x68,0x00,0x00,0x94,0x80,0x00,0x00,0x94,0x98, +0x00,0x00,0x94,0xb0,0x00,0x00,0x94,0xc8,0x00,0x00,0x94,0xe0,0x00,0x00,0x95,0x00, +0x00,0x00,0x95,0x16,0x00,0x00,0x95,0x3c,0x00,0x00,0x95,0x62,0x00,0x00,0x95,0x7a, +0x00,0x00,0x95,0x98,0x00,0x00,0x95,0xb8,0x00,0x00,0x95,0xdc,0x00,0x00,0x95,0xf2, +0x00,0x00,0x96,0x0a,0x00,0x00,0x96,0x22,0x00,0x00,0x96,0x3a,0x00,0x00,0x96,0x52, +0x00,0x00,0x96,0x6a,0x00,0x00,0x96,0x82,0x00,0x00,0x96,0x9a,0x00,0x00,0x96,0xaa, +0x00,0x00,0x96,0xc0,0x00,0x00,0x96,0xd8,0x00,0x00,0x96,0xee,0x00,0x00,0x97,0x06, +0x00,0x00,0x97,0x1e,0x00,0x00,0x97,0x36,0x00,0x00,0x97,0xb4,0x00,0x00,0x98,0x52, +0x00,0x00,0x98,0x6a,0x00,0x00,0x98,0x80,0x00,0x00,0x98,0x98,0x00,0x00,0x98,0xb0, +0x00,0x00,0x98,0xc8,0x00,0x00,0x98,0xe0,0x00,0x00,0x98,0xf8,0x00,0x00,0x99,0x0e, +0x00,0x00,0x99,0x26,0x00,0x00,0x99,0x3c,0x00,0x00,0x99,0x80,0x00,0x00,0x99,0x98, +0x00,0x00,0x99,0xb0,0x00,0x00,0x99,0xc8,0x00,0x00,0x99,0xe4,0x00,0x00,0x99,0xfa, +0x00,0x00,0x9a,0x5c,0x00,0x00,0x9a,0xb2,0x00,0x00,0x9a,0xce,0x00,0x00,0x9a,0xe6, +0x00,0x00,0x9a,0xfe,0x00,0x00,0x9b,0x16,0x00,0x00,0x9b,0x2e,0x00,0x00,0x9b,0x46, +0x00,0x00,0x9b,0x5e,0x00,0x00,0x9b,0x74,0x00,0x00,0x9b,0x8c,0x00,0x00,0x9b,0xa4, +0x00,0x00,0x9b,0xbc,0x00,0x00,0x9b,0xd4,0x00,0x00,0x9b,0xec,0x00,0x00,0x9c,0x04, +0x00,0x00,0x9c,0x1c,0x00,0x00,0x9c,0x34,0x00,0x00,0x9c,0x4c,0x00,0x00,0x9c,0x64, +0x00,0x00,0x9c,0x7c,0x00,0x00,0x9c,0x94,0x00,0x00,0x9c,0xac,0x00,0x00,0x9c,0xc4, +0x00,0x00,0x9c,0xdc,0x00,0x00,0x9c,0xf4,0x00,0x00,0x9d,0x0c,0x00,0x00,0x9d,0x24, +0x00,0x00,0x9d,0x3c,0x00,0x00,0x9d,0x54,0x00,0x00,0x9d,0x6c,0x00,0x00,0x9d,0x84, +0x00,0x00,0x9d,0x9c,0x00,0x00,0x9d,0xb4,0x00,0x00,0x9d,0xcc,0x00,0x00,0x9d,0xe4, +0x00,0x00,0x9d,0xfc,0x00,0x00,0x9e,0x14,0x00,0x00,0x9e,0xac,0x00,0x00,0x9f,0x46, +0x00,0x00,0x9f,0x5e,0x00,0x00,0x9f,0x76,0x00,0x00,0x9f,0xc4,0x00,0x00,0xa0,0x68, +0x00,0x00,0xa1,0x1c,0x00,0x00,0xa1,0xbe,0x00,0x00,0xa2,0x0a,0x00,0x00,0xa2,0x56, +0x00,0x00,0xa2,0x6e,0x00,0x00,0xa2,0x84,0x00,0x00,0xa2,0x9c,0x00,0x00,0xa2,0xb2, +0x00,0x00,0xa2,0xc8,0x00,0x00,0xa2,0xe0,0x00,0x00,0xa2,0xf6,0x00,0x00,0xa3,0x0e, +0x00,0x00,0xa3,0x26,0x00,0x00,0xa3,0x3c,0x00,0x00,0xa3,0x52,0x00,0x00,0xa3,0x6a, +0x00,0x00,0xa3,0x82,0x00,0x00,0xa3,0x98,0x00,0x00,0xa3,0xec,0x00,0x00,0xa4,0x6e, +0x00,0x00,0xa4,0xd6,0x00,0x00,0xa5,0x3a,0x00,0x00,0xa5,0xd4,0x00,0x00,0xa6,0x6e, +0x00,0x00,0xa6,0xdc,0x00,0x00,0xa7,0x6a,0x00,0x00,0xa7,0xee,0x00,0x00,0xa8,0x20, +0x00,0x00,0xa8,0x70,0x00,0x00,0xa9,0x1e,0x00,0x00,0xa9,0x74,0x00,0x00,0xa9,0xc8, +0x00,0x00,0xaa,0x4c,0x00,0x00,0xaa,0xb8,0x00,0x00,0xab,0x24,0x00,0x00,0xab,0xae, +0x00,0x00,0xac,0x48,0x00,0x00,0xac,0xd4,0x00,0x00,0xad,0x5a,0x00,0x00,0xad,0xe4, +0x00,0x00,0xae,0x56,0x00,0x00,0xae,0xc8,0x00,0x00,0xaf,0x6e,0x00,0x00,0xaf,0x7e, +0x00,0x00,0xaf,0x8e,0x00,0x00,0xb0,0x4a,0x00,0x00,0xb0,0xd6,0x00,0x00,0xb1,0x14, +0x00,0x00,0xb1,0xb6,0x00,0x00,0xb2,0x3a,0x00,0x00,0xb2,0xa8,0x00,0x00,0xb3,0x08, +0x00,0x00,0xb3,0x5a,0x00,0x00,0xb3,0xa6,0x00,0x00,0xb4,0x0a,0x00,0x00,0xb4,0x86, +0x00,0x00,0xb4,0xbe,0x00,0x00,0xb4,0xf2,0x00,0x00,0xb5,0x1e,0x00,0x00,0xb5,0x8e, +0x00,0x00,0xb5,0xde,0x00,0x00,0xb6,0x14,0x00,0x00,0xb6,0x88,0x00,0x00,0xb6,0xfa, +0x00,0x00,0xb7,0x6e,0x00,0x00,0xb8,0x02,0x00,0x00,0xb8,0x60,0x00,0x00,0xb8,0xc0, +0x00,0x00,0xb8,0xf0,0x00,0x00,0xb9,0x64,0x00,0x00,0xb9,0xc8,0x00,0x00,0xba,0x78, +0x00,0x00,0xbb,0x0e,0x00,0x00,0xbb,0x56,0x00,0x00,0xbb,0x9e,0x00,0x00,0xbc,0x00, +0x00,0x00,0xbc,0x4a,0x00,0x00,0xbc,0xb0,0x00,0x00,0xbc,0xf0,0x00,0x00,0xbd,0x30, +0x00,0x00,0xbd,0xa0,0x00,0x00,0xbe,0x10,0x00,0x00,0xbe,0xbc,0x00,0x00,0xbf,0x0c, +0x00,0x00,0xbf,0x70,0x00,0x00,0xbf,0xc0,0x00,0x00,0xc0,0x24,0x00,0x00,0xc0,0x6c, +0x00,0x00,0xc0,0xb0,0x00,0x00,0xc1,0x16,0x00,0x00,0xc1,0x86,0x00,0x00,0xc1,0xec, +0x00,0x00,0xc2,0x12,0x00,0x00,0xc2,0x4a,0x00,0x00,0xc2,0x8a,0x00,0x00,0xc2,0xb8, +0x00,0x00,0xc3,0x06,0x00,0x00,0xc3,0x62,0x00,0x00,0xc3,0xca,0x00,0x00,0xc4,0x56, +0x00,0x00,0xc4,0xb4,0x00,0x00,0xc5,0x12,0x00,0x00,0xc5,0x72,0x00,0x00,0xc5,0xe4, +0x00,0x00,0xc6,0x6a,0x00,0x00,0xc6,0x7a,0x00,0x00,0xc7,0x04,0x00,0x00,0xc7,0x92, +0x00,0x00,0xc7,0xa2,0x00,0x00,0xc7,0xfe,0x00,0x00,0xc8,0x34,0x00,0x00,0xc8,0x54, +0x00,0x00,0xc8,0xde,0x00,0x00,0xc9,0x4c,0x00,0x00,0xc9,0xbc,0x00,0x00,0xca,0x4a, +0x00,0x00,0xca,0xfc,0x00,0x00,0xcb,0xa4,0x00,0x00,0xcc,0x56,0x00,0x00,0xcc,0xde, +0x00,0x00,0xcd,0xa8,0x00,0x00,0xce,0x36,0x00,0x00,0xce,0xce,0x00,0x00,0xcf,0x0a, +0x00,0x00,0xcf,0x6e,0x00,0x00,0xcf,0xac,0x00,0x00,0xd0,0x10,0x00,0x00,0xd0,0x8e, +0x00,0x00,0xd0,0xde,0x00,0x00,0xd1,0x42,0x00,0x00,0xd1,0xa2,0x00,0x00,0xd1,0xec, +0x00,0x00,0xd2,0x36,0x00,0x00,0xd2,0x98,0x00,0x00,0xd3,0x04,0x00,0x00,0xd3,0x3c, +0x00,0x00,0xd3,0x80,0x00,0x00,0xd3,0x90,0x00,0x00,0xd3,0xa0,0x00,0x00,0xd3,0xb0, +0x00,0x00,0xd3,0xc0,0x00,0x00,0xd3,0xe2,0x00,0x00,0xd4,0x1a,0x00,0x00,0xd4,0x54, +0x00,0x00,0xd4,0xb0,0x00,0x00,0xd5,0x0e,0x00,0x00,0xd5,0x36,0x00,0x00,0xd5,0x5e, +0x00,0x00,0xd5,0x86,0x00,0x00,0xd5,0xac,0x00,0x00,0xd6,0x06,0x00,0x00,0xd6,0x62, +0x00,0x00,0xd6,0x90,0x00,0x00,0xd6,0xa0,0x00,0x00,0xd6,0xbc,0x00,0x00,0xd6,0xdc, +0x00,0x00,0xd7,0x0a,0x00,0x00,0xd7,0x1c,0x00,0x00,0xd7,0x3a,0x00,0x00,0xd7,0x56, +0x00,0x00,0xd7,0x7e,0x00,0x00,0xd7,0x98,0x00,0x00,0xd7,0xaa,0x00,0x00,0xd7,0xbc, +0x00,0x00,0xd7,0xe0,0x00,0x00,0xd8,0x04,0x00,0x00,0xd8,0x2e,0x00,0x00,0xd8,0x4a, +0x00,0x00,0xd8,0xd4,0x00,0x00,0xd9,0x1a,0x00,0x00,0xd9,0x86,0x00,0x00,0xd9,0xe6, +0x00,0x00,0xda,0xa4,0x00,0x00,0xdb,0x10,0x00,0x00,0xdb,0x48,0x00,0x00,0xdb,0x7a, +0x00,0x00,0xdb,0xcc,0x00,0x00,0xdb,0xe6,0x00,0x00,0xdc,0x7e,0x00,0x00,0xdc,0xb6, +0x00,0x00,0xdd,0x14,0x00,0x00,0xdd,0x34,0x00,0x00,0xdd,0x58,0x00,0x00,0xdd,0x7e, +0x00,0x00,0xdd,0xa4,0x00,0x00,0xdd,0xc4,0x00,0x00,0xdd,0xd6,0x00,0x00,0xdd,0xee, +0x00,0x00,0xde,0x16,0x00,0x00,0xde,0x28,0x00,0x00,0xde,0x82,0x00,0x00,0xde,0x94, +0x00,0x00,0xde,0xa6,0x00,0x00,0xde,0xb8,0x00,0x00,0xde,0xca,0x00,0x00,0xde,0xdc, +0x00,0x00,0xde,0xee,0x00,0x00,0xdf,0x00,0x00,0x00,0xdf,0x12,0x00,0x00,0xdf,0x24, +0x00,0x00,0xdf,0x74,0x00,0x00,0xdf,0x86,0x00,0x00,0xdf,0x98,0x00,0x00,0xdf,0xaa, +0x00,0x00,0xdf,0xc6,0x00,0x00,0xdf,0xe0,0x00,0x00,0xe0,0x0c,0x00,0x00,0xe0,0x26, +0x00,0x00,0xe0,0x3a,0x00,0x00,0xe0,0x60,0x00,0x00,0xe0,0x86,0x00,0x00,0xe0,0xaa, +0x00,0x00,0xe0,0xc4,0x00,0x00,0xe0,0xd6,0x00,0x00,0xe0,0xe8,0x00,0x00,0xe1,0x0a, +0x00,0x00,0xe1,0x2c,0x00,0x00,0xe1,0x4c,0x00,0x00,0xe1,0x8e,0x00,0x00,0xe1,0xc6, +0x00,0x00,0xe1,0xe8,0x00,0x00,0xe2,0x0a,0x00,0x00,0xe2,0x34,0x00,0x00,0xe2,0x4e, +0x00,0x00,0xe2,0x7e,0x00,0x00,0xe2,0xae,0x00,0x00,0xe2,0xc0,0x00,0x00,0xe2,0xd2, +0x00,0x00,0xe2,0xe4,0x00,0x00,0xe3,0x08,0x00,0x00,0xe3,0x1a,0x00,0x00,0xe3,0x2c, +0x00,0x00,0xe3,0x46,0x00,0x00,0xe3,0x68,0x00,0x00,0xe3,0xae,0x00,0x00,0xe3,0xc0, +0x00,0x00,0xe3,0xd2,0x00,0x00,0xe3,0xe4,0x00,0x00,0xe3,0xf8,0x00,0x00,0xe4,0x0a, +0x00,0x00,0xe4,0x1c,0x00,0x00,0xe4,0x2e,0x00,0x00,0xe4,0x40,0x00,0x00,0xe4,0x9a, +0x00,0x00,0xe4,0xb4,0x00,0x00,0xe4,0xce,0x00,0x00,0xe4,0xec,0x00,0x00,0xe5,0x0a, +0x00,0x00,0xe5,0x1e,0x00,0x00,0xe5,0x32,0x00,0x00,0xe5,0x5c,0x00,0x00,0xe5,0xa2, +0x00,0x00,0xe5,0xd6,0x00,0x00,0xe6,0x36,0x00,0x00,0xe6,0x50,0x00,0x00,0xe6,0x62, +0x00,0x00,0xe6,0x74,0x00,0x00,0xe6,0x86,0x00,0x00,0xe6,0x98,0x00,0x00,0xe6,0xaa, +0x00,0x00,0xe6,0xbc,0x00,0x00,0xe6,0xe0,0x00,0x00,0xe7,0x08,0x00,0x00,0xe7,0x30, +0x00,0x00,0xe7,0x50,0x00,0x00,0xe7,0xcc,0x00,0x00,0xe8,0x3e,0x00,0x00,0xe8,0x56, +0x00,0x00,0xe8,0x8e,0x00,0x00,0xe8,0xb6,0x00,0x00,0xe8,0xf6,0x00,0x00,0xe9,0x0e, +0x00,0x00,0xe9,0x20,0x00,0x00,0xe9,0x5e,0x00,0x00,0xe9,0x70,0x00,0x00,0xe9,0x82, +0x00,0x00,0xe9,0x94,0x00,0x00,0xea,0x06,0x00,0x00,0xea,0x18,0x00,0x00,0xea,0x40, +0x00,0x00,0xea,0x6e,0x00,0x00,0xea,0x9c,0x00,0x00,0xea,0xc2,0x00,0x00,0xea,0xd2, +0x00,0x00,0xeb,0x20,0x00,0x00,0xeb,0x4e,0x00,0x00,0xeb,0x66,0x00,0x00,0xeb,0x76, +0x00,0x00,0xeb,0x90,0x00,0x00,0xeb,0xaa,0x00,0x00,0xeb,0xc4,0x00,0x00,0xeb,0xdc, +0x00,0x00,0xeb,0xf6,0x00,0x00,0xec,0x0e,0x00,0x00,0xec,0x26,0x00,0x00,0xec,0x36, +0x00,0x00,0xec,0x46,0x00,0x00,0xec,0x7e,0x00,0x00,0xec,0xe8,0x00,0x00,0xec,0xf8, +0x00,0x00,0xed,0x08,0x00,0x00,0xed,0x18,0x00,0x00,0xed,0xc6,0x00,0x00,0xed,0xd6, +0x00,0x00,0xed,0xe6,0x00,0x00,0xee,0x48,0x00,0x00,0xee,0x58,0x00,0x00,0xee,0x68, +0x00,0x00,0xee,0xc8,0x00,0x00,0xee,0xd8,0x00,0x00,0xee,0xe8,0x00,0x00,0xee,0xf8, +0x00,0x00,0xef,0x74,0x00,0x00,0xef,0x84,0x00,0x00,0xef,0x94,0x00,0x00,0xef,0xa4, +0x00,0x00,0xef,0xb4,0x00,0x00,0xf0,0x48,0x00,0x00,0xf0,0xf6,0x00,0x00,0xf1,0x18, +0x00,0x00,0xf1,0x3a,0x00,0x00,0xf1,0x50,0x00,0x00,0xf1,0x66,0x00,0x00,0xf1,0x7e, +0x00,0x00,0xf1,0x96,0x00,0x00,0xf1,0xac,0x00,0x00,0xf2,0xa2,0x00,0x00,0xf3,0x4a, +0x00,0x00,0xf3,0xc8,0x00,0x00,0xf4,0xac,0x00,0x00,0xf5,0x7c,0x00,0x00,0xf6,0x22, +0x00,0x00,0xf6,0x9c,0x00,0x00,0xf7,0x52,0x00,0x00,0xf7,0xa2,0x00,0x00,0xf8,0x22, +0x00,0x00,0xf8,0xa8,0x00,0x00,0xf8,0xb8,0x00,0x00,0xf9,0x48,0x00,0x00,0xfa,0x04, +0x00,0x00,0xfa,0x14,0x00,0x00,0xfa,0x90,0x00,0x00,0xfb,0x24,0x00,0x00,0xfb,0xce, +0x00,0x00,0xfc,0x64,0x00,0x00,0xfc,0xc4,0x00,0x00,0xfd,0x44,0x00,0x00,0xfe,0x0c, +0x00,0x00,0xfe,0xe0,0x00,0x00,0xff,0x72,0x00,0x01,0x00,0x0e,0x00,0x01,0x00,0x26, +0x00,0x01,0x00,0x3c,0x00,0x01,0x00,0x52,0x00,0x01,0x00,0x68,0x00,0x01,0x00,0x80, +0x00,0x01,0x01,0x0a,0x00,0x01,0x01,0x8e,0x00,0x01,0x01,0xf4,0x00,0x01,0x02,0x0e, +0x00,0x01,0x02,0x26,0x00,0x01,0x02,0xa6,0x00,0x01,0x03,0x1a,0x00,0x01,0x03,0xb8, +0x00,0x01,0x04,0x22,0x00,0x01,0x04,0x86,0x00,0x01,0x04,0xfa,0x00,0x01,0x05,0x66, +0x00,0x01,0x05,0x76,0x00,0x01,0x05,0xe2,0x00,0x01,0x06,0x3e,0x00,0x01,0x06,0x6a, +0x00,0x01,0x06,0xe4,0x00,0x01,0x07,0x3e,0x00,0x01,0x07,0xfc,0x00,0x01,0x08,0x80, +0x00,0x01,0x08,0xe6,0x00,0x01,0x09,0x3e,0x00,0x01,0x09,0xb8,0x00,0x01,0x0a,0xa0, +0x00,0x01,0x0b,0x16,0x00,0x01,0x0b,0x84,0x00,0x01,0x0c,0x36,0x00,0x01,0x0c,0xea, +0x00,0x01,0x0d,0x7c,0x00,0x01,0x0e,0x12,0x00,0x01,0x0e,0x4c,0x00,0x01,0x0e,0x84, +0x00,0x01,0x0f,0x14,0x00,0x01,0x0f,0x80,0x00,0x01,0x0f,0x90,0x00,0x01,0x0f,0xa0, +0x00,0x01,0x10,0x12,0x00,0x01,0x10,0x80,0x00,0x01,0x10,0xec,0x00,0x01,0x10,0xfc, +0x00,0x01,0x11,0x0c,0x00,0x01,0x11,0x1c,0x00,0x01,0x11,0x58,0x00,0x01,0x11,0x92, +0x00,0x01,0x12,0x00,0x00,0x01,0x12,0x60,0x00,0x01,0x12,0x78,0x00,0x01,0x12,0x90, +0x00,0x01,0x12,0xa8,0x00,0x01,0x12,0xc0,0x00,0x01,0x13,0x1c,0x00,0x01,0x13,0x34, +0x00,0x01,0x13,0xe8,0x00,0x01,0x13,0xf8,0x00,0x01,0x14,0x08,0x00,0x01,0x14,0x2a, +0x00,0x01,0x14,0x3a,0x00,0x01,0x14,0xae,0x00,0x01,0x15,0x10,0x00,0x01,0x15,0x58, +0x00,0x01,0x15,0x70,0x00,0x01,0x15,0x88,0x00,0x01,0x15,0xa0,0x00,0x01,0x15,0xd0, +0x00,0x01,0x15,0xe0,0x00,0x01,0x16,0x60,0x00,0x01,0x16,0x70,0x00,0x01,0x16,0xa8, +0x00,0x01,0x17,0x36,0x00,0x01,0x17,0x46,0x00,0x01,0x18,0x0c,0x00,0x01,0x18,0x1c, +0x00,0x01,0x18,0xc6,0x00,0x01,0x18,0xde,0x00,0x01,0x18,0xee,0x00,0x01,0x19,0x52, +0x00,0x01,0x19,0x62,0x00,0x01,0x19,0x72,0x00,0x01,0x19,0x82,0x00,0x01,0x19,0xc8, +0x00,0x01,0x19,0xd8,0x00,0x01,0x19,0xe8,0x00,0x01,0x19,0xf8,0x00,0x01,0x1a,0x7e, +0x00,0x01,0x1b,0x3c,0x00,0x01,0x1b,0x4c,0x00,0x01,0x1b,0xa2,0x00,0x01,0x1c,0x00, +0x00,0x01,0x1c,0x58,0x00,0x01,0x1c,0xc2,0x00,0x01,0x1d,0x40,0x00,0x01,0x1d,0x68, +0x00,0x01,0x1d,0xdc,0x00,0x01,0x1e,0x8e,0x00,0x01,0x1f,0x4c,0x00,0x01,0x1f,0xf2, +0x00,0x01,0x20,0x02,0x00,0x01,0x20,0xdc,0x00,0x01,0x21,0x86,0x00,0x01,0x21,0xbe, +0x00,0x01,0x22,0x48,0x00,0x01,0x22,0x58,0x00,0x01,0x23,0x1e,0x00,0x01,0x23,0xea, +0x00,0x01,0x24,0x58,0x00,0x01,0x24,0x70,0x00,0x01,0x24,0xea,0x00,0x01,0x25,0x4c, +0x00,0x01,0x25,0xd4,0x00,0x01,0x26,0x2a,0x00,0x01,0x26,0x3a,0x00,0x01,0x26,0x88, +0x00,0x01,0x26,0x98,0x00,0x01,0x26,0xa8,0x00,0x01,0x26,0xf2,0x00,0x01,0x27,0x02, +0x00,0x01,0x28,0x10,0x00,0x01,0x28,0x20,0x00,0x01,0x28,0x76,0x00,0x01,0x28,0xd4, +0x00,0x01,0x29,0x2c,0x00,0x01,0x29,0x96,0x00,0x01,0x2a,0x1a,0x00,0x01,0x2a,0x42, +0x00,0x01,0x2a,0xba,0x00,0x01,0x2b,0x18,0x00,0x01,0x2b,0xc8,0x00,0x01,0x2c,0x7c, +0x00,0x01,0x2c,0x92,0x00,0x01,0x2c,0xaa,0x00,0x01,0x2d,0x1e,0x00,0x01,0x2d,0x36, +0x00,0x01,0x2d,0xce,0x00,0x01,0x2d,0xde,0x00,0x01,0x2d,0xee,0x00,0x01,0x2e,0x10, +0x00,0x01,0x2e,0x20,0x00,0x01,0x2e,0x94,0x00,0x01,0x2e,0xfa,0x00,0x01,0x2f,0x56, +0x00,0x01,0x2f,0x6e,0x00,0x01,0x2f,0x84,0x00,0x01,0x2f,0x9a,0x00,0x01,0x2f,0xca, +0x00,0x01,0x30,0x6a,0x00,0x01,0x30,0x7a,0x00,0x01,0x30,0x8a,0x00,0x01,0x30,0xf0, +0x00,0x01,0x31,0x7e,0x00,0x01,0x31,0xee,0x00,0x01,0x32,0x36,0x00,0x01,0x32,0x7e, +0x00,0x01,0x32,0xde,0x00,0x01,0x33,0x3e,0x00,0x01,0x33,0xa4,0x00,0x01,0x34,0x0a, +0x00,0x01,0x34,0x84,0x00,0x01,0x34,0xfc,0x00,0x01,0x35,0xe6,0x00,0x01,0x36,0xcc, +0x00,0x01,0x36,0xdc,0x00,0x01,0x36,0xec,0x00,0x01,0x37,0x70,0x00,0x01,0x37,0xf2, +0x00,0x01,0x38,0x40,0x00,0x01,0x38,0x92,0x00,0x01,0x39,0x02,0x00,0x01,0x39,0x1a, +0x00,0x01,0x39,0x2a,0x00,0x01,0x39,0x3a,0x00,0x01,0x3a,0x30,0x00,0x01,0x3b,0x1c, +0x00,0x01,0x3b,0x34,0x00,0x01,0x3b,0x4c,0x00,0x01,0x3c,0x0e,0x00,0x01,0x3c,0x96, +0x00,0x01,0x3c,0xf0,0x00,0x01,0x3d,0x42,0x00,0x01,0x3d,0xa6,0x00,0x01,0x3e,0x3e, +0x00,0x01,0x3e,0x7e,0x00,0x01,0x3e,0xa2,0x00,0x01,0x3e,0xc6,0x00,0x01,0x3f,0x20, +0x00,0x01,0x3f,0xdc,0x00,0x01,0x40,0x40,0x00,0x01,0x40,0xa2,0x00,0x01,0x41,0x02, +0x00,0x01,0x41,0x68,0x00,0x01,0x41,0xc4,0x00,0x01,0x42,0x3a,0x00,0x01,0x42,0x7a, +0x00,0x01,0x42,0xba,0x00,0x01,0x42,0xee,0x00,0x01,0x43,0x20,0x00,0x01,0x43,0x78, +0x00,0x01,0x43,0xd6,0x00,0x01,0x44,0x36,0x00,0x01,0x44,0x96,0x00,0x01,0x44,0xac, +0x00,0x01,0x44,0xc2,0x00,0x01,0x45,0x00,0x00,0x01,0x45,0x3c,0x00,0x01,0x45,0x88, +0x00,0x01,0x45,0xce,0x00,0x01,0x46,0x14,0x00,0x01,0x46,0x5c,0x00,0x01,0x46,0x9a, +0x00,0x01,0x46,0xd6,0x00,0x01,0x47,0x10,0x00,0x01,0x47,0x4a,0x00,0x01,0x47,0x80, +0x00,0x01,0x47,0xb6,0x00,0x01,0x48,0x14,0x00,0x01,0x48,0x78,0x00,0x01,0x49,0x3a, +0x00,0x01,0x49,0xf4,0x00,0x01,0x4a,0x0c,0x00,0x01,0x4a,0x24,0x00,0x01,0x4a,0x52, +0x00,0x01,0x4a,0x80,0x00,0x01,0x4a,0x90,0x00,0x01,0x4a,0xbe,0x00,0x01,0x4a,0xfe, +0x00,0x01,0x4b,0x3e,0x00,0x01,0x4b,0x86,0x00,0x01,0x4b,0xce,0x00,0x01,0x4c,0x08, +0x00,0x01,0x4c,0x42,0x00,0x01,0x4c,0x88,0x00,0x01,0x4c,0xce,0x00,0x01,0x4d,0x1c, +0x00,0x01,0x4d,0x66,0x00,0x01,0x4d,0xa4,0x00,0x01,0x4d,0xb4,0x00,0x01,0x4e,0x44, +0x00,0x01,0x4e,0xca,0x00,0x01,0x4e,0xe2,0x00,0x01,0x4e,0xfa,0x00,0x01,0x4f,0x0a, +0x00,0x01,0x4f,0x2c,0x00,0x01,0x4f,0x4e,0x00,0x01,0x4f,0xaa,0x00,0x01,0x50,0x0c, +0x00,0x01,0x50,0x58,0x00,0x01,0x50,0xac,0x00,0x01,0x50,0xf6,0x00,0x01,0x51,0x3e, +0x00,0x01,0x51,0x7a,0x00,0x01,0x51,0xb6,0x00,0x01,0x51,0xfc,0x00,0x01,0x52,0x44, +0x00,0x01,0x52,0x90,0x00,0x01,0x52,0xda,0x00,0x01,0x53,0x06,0x00,0x01,0x53,0x26, +0x00,0x01,0x53,0x54,0x00,0x01,0x53,0x8c,0x00,0x01,0x53,0x9c,0x00,0x01,0x53,0xac, +0x00,0x01,0x53,0xce,0x00,0x01,0x53,0xf0,0x00,0x01,0x54,0x00,0x00,0x01,0x54,0x10, +0x00,0x01,0x54,0x28,0x00,0x01,0x54,0x3e,0x00,0x01,0x54,0x60,0x00,0x01,0x54,0x78, +0x00,0x01,0x54,0x90,0x00,0x01,0x54,0xa6,0x00,0x01,0x54,0xb6,0x00,0x01,0x54,0xc6, +0x00,0x01,0x54,0xde,0x00,0x01,0x54,0xf6,0x00,0x01,0x55,0x0e,0x00,0x01,0x55,0x26, +0x00,0x01,0x55,0x54,0x00,0x01,0x55,0x80,0x00,0x01,0x55,0x90,0x00,0x01,0x55,0xa0, +0x00,0x01,0x55,0xb8,0x00,0x01,0x55,0xce,0x00,0x01,0x55,0xe6,0x00,0x01,0x55,0xfc, +0x00,0x01,0x56,0x14,0x00,0x01,0x56,0x2a,0x00,0x01,0x56,0x42,0x00,0x01,0x56,0x58, +0x00,0x01,0x56,0x70,0x00,0x01,0x56,0x86,0x00,0x01,0x56,0x9e,0x00,0x01,0x56,0xb4, +0x00,0x01,0x56,0xde,0x00,0x01,0x57,0x08,0x00,0x01,0x57,0x20,0x00,0x01,0x57,0x38, +0x00,0x01,0x57,0x8a,0x00,0x01,0x57,0xde,0x00,0x01,0x58,0x74,0x00,0x01,0x59,0x00, +0x00,0x01,0x59,0xa0,0x00,0x01,0x5a,0x3a,0x00,0x01,0x5a,0xb4,0x00,0x01,0x5b,0x2e, +0x00,0x01,0x5b,0x9c,0x00,0x01,0x5c,0x06,0x00,0x01,0x5c,0x16,0x00,0x01,0x5c,0x72, +0x00,0x01,0x5c,0x82,0x00,0x01,0x5c,0x92,0x00,0x01,0x5c,0xe6,0x00,0x01,0x5d,0x3a, +0x00,0x01,0x5d,0xa2,0x00,0x01,0x5e,0x06,0x00,0x01,0x5e,0x84,0x00,0x01,0x5e,0xe8, +0x00,0x01,0x5f,0x4c,0x00,0x01,0x5f,0xd8,0x00,0x01,0x60,0x32,0x00,0x01,0x60,0x94, +0x00,0x01,0x61,0x3c,0x00,0x01,0x61,0xba,0x00,0x01,0x61,0xfe,0x00,0x01,0x62,0x38, +0x00,0x01,0x62,0x94,0x00,0x01,0x63,0x30,0x00,0x01,0x63,0x74,0x00,0x01,0x63,0xbc, +0x00,0x01,0x64,0x6e,0x00,0x01,0x64,0xce,0x00,0x01,0x65,0x50,0x00,0x01,0x65,0xb2, +0x00,0x01,0x66,0x3a,0x00,0x01,0x66,0x9c,0x00,0x01,0x67,0x0c,0x00,0x01,0x67,0x4e, +0x00,0x01,0x67,0xbe,0x00,0x01,0x68,0x12,0x00,0x01,0x68,0xa0,0x00,0x01,0x69,0x04, +0x00,0x01,0x69,0x14,0x00,0x01,0x69,0x74,0x00,0x01,0x69,0x84,0x00,0x01,0x69,0xc6, +0x00,0x01,0x6a,0x74,0x00,0x01,0x6a,0xbc,0x00,0x01,0x6a,0xcc,0x00,0x01,0x6b,0x7c, +0x00,0x01,0x6b,0x8c,0x00,0x01,0x6c,0x22,0x00,0x01,0x6c,0x32,0x00,0x01,0x6c,0x42, +0x00,0x01,0x6c,0x5e,0x00,0x01,0x6c,0x9c,0x00,0x01,0x6c,0xac,0x00,0x01,0x6c,0xf8, +0x00,0x01,0x6d,0x1a,0x00,0x01,0x6d,0x8c,0x00,0x01,0x6d,0xd6,0x00,0x01,0x6e,0x38, +0x00,0x01,0x6e,0x82,0x00,0x01,0x6e,0xd2,0x00,0x01,0x6f,0x30,0x00,0x01,0x6f,0x72, +0x00,0x01,0x6f,0xb8,0x00,0x01,0x70,0x36,0x00,0x01,0x70,0x9e,0x00,0x01,0x70,0xe2, +0x00,0x01,0x71,0x02,0x00,0x01,0x71,0x74,0x00,0x01,0x71,0xfc,0x00,0x01,0x72,0x3e, +0x00,0x01,0x72,0x4e,0x00,0x01,0x72,0xe4,0x00,0x01,0x73,0x2c,0x00,0x01,0x73,0xb0, +0x00,0x01,0x74,0x1c,0x00,0x01,0x74,0x2c,0x00,0x01,0x74,0x94,0x00,0x01,0x74,0xf0, +0x00,0x01,0x75,0x00,0x00,0x01,0x75,0x6e,0x00,0x01,0x75,0xe2,0x00,0x01,0x76,0x5a, +0x00,0x01,0x76,0xac,0x00,0x01,0x76,0xbc,0x00,0x01,0x77,0x04,0x00,0x01,0x77,0x74, +0x00,0x01,0x77,0xb6,0x00,0x01,0x77,0xc6,0x00,0x01,0x77,0xe6,0x00,0x01,0x78,0x54, +0x00,0x01,0x78,0xbe,0x00,0x01,0x78,0xce,0x00,0x01,0x79,0x7a,0x00,0x01,0x79,0xc0, +0x00,0x01,0x79,0xe2,0x00,0x01,0x7a,0x1a,0x00,0x01,0x7a,0x3a,0x00,0x01,0x7a,0x96, +0x00,0x01,0x7a,0xc4,0x00,0x01,0x7b,0x34,0x00,0x01,0x7b,0xa4,0x00,0x01,0x7b,0xbc, +0x00,0x01,0x7b,0xd4,0x00,0x01,0x7b,0xea,0x00,0x01,0x7c,0x02,0x00,0x01,0x7c,0x1a, +0x00,0x01,0x7c,0x34,0x00,0x01,0x7c,0x4c,0x00,0x01,0x7c,0x64,0x00,0x01,0x7c,0x7c, +0x00,0x01,0x7c,0x94,0x00,0x01,0x7c,0xac,0x00,0x01,0x7d,0x18,0x00,0x01,0x7d,0x30, +0x00,0x01,0x7d,0x84,0x00,0x01,0x7d,0x9c,0x00,0x01,0x7d,0xde,0x00,0x01,0x7d,0xf6, +0x00,0x01,0x7e,0xb6,0x00,0x01,0x7e,0xce,0x00,0x01,0x7f,0x94,0x00,0x01,0x7f,0xac, +0x00,0x01,0x80,0x16,0x00,0x01,0x80,0x2e,0x00,0x01,0x80,0xb2,0x00,0x01,0x80,0xca, +0x00,0x01,0x80,0xe2,0x00,0x01,0x80,0xfa,0x00,0x01,0x81,0x12,0x00,0x01,0x81,0xce, +0x00,0x01,0x82,0x2c,0x00,0x01,0x82,0xb8,0x00,0x01,0x82,0xd0,0x00,0x01,0x83,0x38, +0x00,0x01,0x83,0xc6,0x00,0x01,0x84,0x72,0x00,0x01,0x84,0x8a,0x00,0x01,0x84,0xb4, +0x00,0x01,0x85,0x52,0x00,0x01,0x85,0x7a,0x00,0x01,0x85,0x94,0x00,0x01,0x86,0x1e, +0x00,0x01,0x86,0x38,0x00,0x01,0x86,0xbc,0x00,0x01,0x87,0x00,0x00,0x01,0x87,0x46, +0x00,0x01,0x87,0x58,0x00,0x01,0x87,0x6a,0x00,0x01,0x87,0x84,0x00,0x01,0x87,0xb2, +0x00,0x01,0x88,0x0a,0x00,0x01,0x88,0x86,0x00,0x01,0x89,0x0a,0x00,0x01,0x89,0x72, +0x00,0x01,0x89,0xb8,0x00,0x01,0x8a,0x06,0x00,0x01,0x8a,0x56,0x00,0x01,0x8a,0xd6, +0x00,0x01,0x8b,0x0a,0x00,0x01,0x8b,0x48,0x00,0x01,0x8b,0x6a,0x00,0x01,0x8b,0x9e, +0x00,0x01,0x8c,0x06,0x00,0x01,0x8c,0xb6,0x00,0x01,0x8d,0x0a,0x00,0x01,0x8d,0x22, +0x00,0x01,0x8d,0x3a,0x00,0x01,0x8d,0x52,0x00,0x01,0x8d,0x72,0x00,0x01,0x8d,0x8a, +0x00,0x01,0x8d,0xa2,0x00,0x01,0x8d,0xba,0x00,0x01,0x8d,0xd2,0x00,0x01,0x8d,0xea, +0x00,0x01,0x8e,0x02,0x00,0x01,0x8e,0x1a,0x00,0x01,0x8e,0x32,0x00,0x01,0x8e,0x4a, +0x00,0x01,0x8e,0x62,0x00,0x01,0x8e,0x7a,0x00,0x01,0x8e,0x92,0x00,0x01,0x8e,0xaa, +0x00,0x01,0x8f,0x64,0x00,0x01,0x8f,0x7c,0x00,0x01,0x8f,0x94,0x00,0x01,0x90,0x2c, +0x00,0x01,0x90,0x44,0x00,0x01,0x90,0xa6,0x00,0x01,0x90,0xc6,0x00,0x01,0x90,0xd6, +0x00,0x01,0x90,0xe6,0x00,0x01,0x90,0xf6,0x00,0x01,0x91,0x06,0x00,0x01,0x91,0x16, +0x00,0x01,0x91,0x94,0x00,0x01,0x92,0x18,0x00,0x01,0x92,0x7e,0x00,0x01,0x92,0x8e, +0x00,0x01,0x92,0x9e,0x00,0x01,0x92,0xae,0x00,0x01,0x93,0x66,0x00,0x01,0x93,0xf6, +0x00,0x01,0x94,0x1a,0x00,0x01,0x94,0xbc,0x00,0x01,0x94,0xf4,0x00,0x01,0x95,0x2c, +0x00,0x01,0x95,0x6e,0x00,0x01,0x95,0xc8,0x00,0x01,0x96,0x30,0x00,0x01,0x96,0x9e, +0x00,0x01,0x97,0x22,0x00,0x01,0x97,0x8a,0x00,0x01,0x98,0x3e,0x00,0x01,0x98,0x90, +0x00,0x01,0x98,0xe0,0x00,0x01,0x99,0x3a,0x00,0x01,0x99,0xa8,0x00,0x01,0x9a,0x36, +0x00,0x01,0x9a,0xc6,0x00,0x01,0x9b,0x3c,0x00,0x01,0x9b,0x60,0x00,0x01,0x9b,0x94, +0x00,0x01,0x9b,0xfc,0x00,0x01,0x9c,0x5c,0x00,0x01,0x9c,0xa6,0x00,0x01,0x9d,0x0a, +0x00,0x01,0x9d,0x3c,0x00,0x01,0x9d,0x6c,0x00,0x01,0x9d,0xbc,0x00,0x01,0x9d,0xf8, +0x00,0x01,0x9e,0x3a,0x00,0x01,0x9e,0x7c,0x00,0x01,0x9e,0xf0,0x00,0x01,0x9f,0x16, +0x00,0x01,0x9f,0x94,0x00,0x01,0x9f,0xd2,0x00,0x01,0xa0,0x0c,0x00,0x01,0xa0,0x72, +0x00,0x01,0xa0,0xc0,0x00,0x01,0xa1,0x46,0x00,0x01,0xa1,0xc2,0x00,0x01,0xa2,0x52, +0x00,0x01,0xa2,0x90,0x00,0x01,0xa2,0xd8,0x00,0x01,0xa3,0x56,0x00,0x01,0xa3,0xa2, +0x00,0x01,0xa3,0xd8,0x00,0x01,0xa4,0x0a,0x00,0x01,0xa4,0x36,0x00,0x01,0xa4,0x6e, +0x00,0x01,0xa4,0xc6,0x00,0x01,0xa4,0xfc,0x00,0x01,0xa5,0x36,0x00,0x01,0xa5,0x56, +0x00,0x01,0xa5,0xe8,0x00,0x01,0xa6,0x5c,0x00,0x01,0xa6,0xba,0x00,0x01,0xa7,0x1a, +0x00,0x01,0xa7,0x48,0x00,0x01,0xa7,0xb6,0x00,0x01,0xa8,0x46,0x00,0x01,0xa8,0xf2, +0x00,0x01,0xa9,0x42,0x00,0x01,0xa9,0x94,0x00,0x01,0xa9,0xfa,0x00,0x01,0xaa,0x68, +0x00,0x01,0xaa,0xca,0x00,0x01,0xaa,0xf0,0x00,0x01,0xab,0x1e,0x00,0x01,0xab,0x6c, +0x00,0x01,0xab,0xc6,0x00,0x01,0xac,0x2c,0x00,0x01,0xac,0x90,0x00,0x01,0xac,0xa8, +0x00,0x01,0xac,0xbe,0x00,0x01,0xac,0xd6,0x00,0x01,0xac,0xee,0x00,0x01,0xad,0x06, +0x00,0x01,0xad,0x1e,0x00,0x01,0xad,0x36,0x00,0x01,0xad,0x4e,0x00,0x01,0xad,0x6a, +0x00,0x01,0xad,0x80,0x00,0x01,0xad,0x98,0x00,0x01,0xad,0xae,0x00,0x01,0xad,0xc6, +0x00,0x01,0xad,0xde,0x00,0x01,0xad,0xf6,0x00,0x01,0xae,0x0c,0x00,0x01,0xae,0x22, +0x00,0x01,0xae,0x38,0x00,0x01,0xae,0x50,0x00,0x01,0xae,0x68,0x00,0x01,0xae,0x7e, +0x00,0x01,0xae,0x96,0x00,0x01,0xae,0xac,0x00,0x01,0xae,0xc4,0x00,0x01,0xae,0xdc, +0x00,0x01,0xae,0xf4,0x00,0x01,0xaf,0x0c,0x00,0x01,0xaf,0x24,0x00,0x01,0xaf,0x48, +0x00,0x01,0xaf,0x66,0x00,0x01,0xaf,0x7e,0x00,0x01,0xaf,0x96,0x00,0x01,0xaf,0xae, +0x00,0x01,0xaf,0xc4,0x00,0x01,0xaf,0xdc,0x00,0x01,0xaf,0xf4,0x00,0x01,0xb0,0x0c, +0x00,0x01,0xb0,0x24,0x00,0x01,0xb0,0x3c,0x00,0x01,0xb0,0x54,0x00,0x01,0xb0,0x6c, +0x00,0x01,0xb0,0x84,0x00,0x01,0xb0,0x9c,0x00,0x01,0xb0,0xb4,0x00,0x01,0xb0,0xcc, +0x00,0x01,0xb0,0xe6,0x00,0x01,0xb0,0xfe,0x00,0x01,0xb1,0x16,0x00,0x01,0xb1,0x32, +0x00,0x01,0xb1,0x4e,0x00,0x01,0xb1,0x66,0x00,0x01,0xb1,0x7e,0x00,0x01,0xb1,0x96, +0x00,0x01,0xb1,0xac,0x00,0x01,0xb1,0xc4,0x00,0x01,0xb1,0xdc,0x00,0x01,0xb1,0xf8, +0x00,0x01,0xb2,0x10,0x00,0x01,0xb2,0x28,0x00,0x01,0xb2,0x44,0x00,0x01,0xb2,0x5c, +0x00,0x01,0xb2,0x74,0x00,0x01,0xb2,0x90,0x00,0x01,0xb2,0xa8,0x00,0x01,0xb2,0xc0, +0x00,0x01,0xb2,0xd8,0x00,0x01,0xb2,0xf0,0x00,0x01,0xb3,0x08,0x00,0x01,0xb3,0x20, +0x00,0x01,0xb3,0x38,0x00,0x01,0xb3,0x50,0x00,0x01,0xb3,0x68,0x00,0x01,0xb3,0x80, +0x00,0x01,0xb3,0x98,0x00,0x01,0xb3,0xb0,0x00,0x01,0xb3,0xc8,0x00,0x01,0xb3,0xde, +0x00,0x01,0xb3,0xf6,0x00,0x01,0xb4,0x0c,0x00,0x01,0xb4,0x24,0x00,0x01,0xb4,0x3a, +0x00,0x01,0xb4,0x52,0x00,0x01,0xb4,0x68,0x00,0x01,0xb4,0x80,0x00,0x01,0xb4,0x9c, +0x00,0x01,0xb4,0xb2,0x00,0x01,0xb4,0xca,0x00,0x01,0xb4,0xe2,0x00,0x01,0xb4,0xfa, +0x00,0x01,0xb5,0x10,0x00,0x01,0xb5,0x28,0x00,0x01,0xb5,0x40,0x00,0x01,0xb5,0x5c, +0x00,0x01,0xb5,0x72,0x00,0x01,0xb5,0x8a,0x00,0x01,0xb5,0xa2,0x00,0x01,0xb5,0xba, +0x00,0x01,0xb5,0xd0,0x00,0x01,0xb5,0xe8,0x00,0x01,0xb6,0x00,0x00,0x01,0xb6,0x24, +0x00,0x01,0xb6,0x42,0x00,0x01,0xb6,0x58,0x00,0x01,0xb6,0x70,0x00,0x01,0xb6,0x88, +0x00,0x01,0xb6,0x9e,0x00,0x01,0xb6,0xb6,0x00,0x01,0xb6,0xce,0x00,0x01,0xb6,0xe6, +0x00,0x01,0xb6,0xfe,0x00,0x01,0xb7,0x14,0x00,0x01,0xb7,0x2e,0x00,0x01,0xb7,0x46, +0x00,0x01,0xb7,0x5e,0x00,0x01,0xb7,0x76,0x00,0x01,0xb7,0x8e,0x00,0x01,0xb7,0xa6, +0x00,0x01,0xb7,0xbe,0x00,0x01,0xb7,0xd6,0x00,0x01,0xb7,0xee,0x00,0x01,0xb8,0x04, +0x00,0x01,0xb8,0x1c,0x00,0x01,0xb8,0x32,0x00,0x01,0xb8,0x4a,0x00,0x01,0xb8,0x62, +0x00,0x01,0xb8,0x78,0x00,0x01,0xb8,0x90,0x00,0x01,0xb8,0xa8,0x00,0x01,0xb8,0xc0, +0x00,0x01,0xb8,0xd8,0x00,0x01,0xb8,0xf0,0x00,0x01,0xb9,0x08,0x00,0x01,0xb9,0x20, +0x00,0x01,0xb9,0x38,0x00,0x01,0xb9,0x50,0x00,0x01,0xb9,0x68,0x00,0x01,0xb9,0x80, +0x00,0x01,0xb9,0x98,0x00,0x01,0xb9,0xb0,0x00,0x01,0xb9,0xc6,0x00,0x01,0xb9,0xde, +0x00,0x01,0xb9,0xf4,0x00,0x01,0xba,0x0c,0x00,0x01,0xba,0x22,0x00,0x01,0xba,0x3e, +0x00,0x01,0xba,0x54,0x00,0x01,0xba,0x6c,0x00,0x01,0xba,0x84,0x00,0x01,0xba,0x9c, +0x00,0x01,0xba,0xb2,0x00,0x01,0xba,0xc8,0x00,0x01,0xba,0xe0,0x00,0x01,0xba,0xf8, +0x00,0x01,0xbb,0x10,0x00,0x01,0xbb,0x28,0x00,0x01,0xbb,0x40,0x00,0x01,0xbb,0x58, +0x00,0x01,0xbb,0x70,0x00,0x01,0xbb,0x88,0x00,0x01,0xbb,0xa0,0x00,0x01,0xbb,0xb6, +0x00,0x01,0xbb,0xce,0x00,0x01,0xbb,0xe4,0x00,0x01,0xbb,0xfc,0x00,0x01,0xbc,0x12, +0x00,0x01,0xbc,0x2a,0x00,0x01,0xbc,0x40,0x00,0x01,0xbc,0x58,0x00,0x01,0xbc,0x70, +0x00,0x01,0xbc,0x88,0x00,0x01,0xbc,0x9e,0x00,0x01,0xbc,0xb6,0x00,0x01,0xbc,0xcc, +0x00,0x01,0xbc,0xe4,0x00,0x01,0xbc,0xfa,0x00,0x01,0xbd,0x12,0x00,0x01,0xbd,0x28, +0x00,0x01,0xbd,0x40,0x00,0x01,0xbd,0x58,0x00,0x01,0xbd,0x70,0x00,0x01,0xbd,0x88, +0x00,0x01,0xbd,0xa0,0x00,0x01,0xbd,0xb8,0x00,0x01,0xbd,0xd0,0x00,0x01,0xbd,0xec, +0x00,0x01,0xbe,0x04,0x00,0x01,0xbe,0x1a,0x00,0x01,0xbe,0x32,0x00,0x01,0xbe,0x48, +0x00,0x01,0xbe,0x60,0x00,0x01,0xbe,0x76,0x00,0x01,0xbe,0x8e,0x00,0x01,0xbe,0xa4, +0x00,0x01,0xbe,0xbc,0x00,0x01,0xbe,0xd4,0x00,0x01,0xbe,0xec,0x00,0x01,0xbf,0x04, +0x00,0x01,0xbf,0x1c,0x00,0x01,0xbf,0x34,0x00,0x01,0xbf,0x4c,0x00,0x01,0xbf,0x64, +0x00,0x01,0xbf,0x7c,0x00,0x01,0xbf,0x94,0x00,0x01,0xbf,0xac,0x00,0x01,0xbf,0xc2, +0x00,0x01,0xbf,0xda,0x00,0x01,0xbf,0xf0,0x00,0x01,0xc0,0x08,0x00,0x01,0xc0,0x1e, +0x00,0x01,0xc0,0x36,0x00,0x01,0xc0,0x4c,0x00,0x01,0xc0,0x64,0x00,0x01,0xc0,0x7c, +0x00,0x01,0xc0,0x94,0x00,0x01,0xc0,0xb0,0x00,0x01,0xc0,0xc6,0x00,0x01,0xc0,0xe2, +0x00,0x01,0xc0,0xfa,0x00,0x01,0xc1,0x12,0x00,0x01,0xc1,0x2a,0x00,0x01,0xc1,0x46, +0x00,0x01,0xc1,0x5c,0x00,0x01,0xc1,0x74,0x00,0x01,0xc1,0x8c,0x00,0x01,0xc1,0xa4, +0x00,0x01,0xc1,0xbc,0x00,0x01,0xc1,0xd4,0x00,0x01,0xc1,0xec,0x00,0x01,0xc2,0x08, +0x00,0x01,0xc2,0x1e,0x00,0x01,0xc2,0x3a,0x00,0x01,0xc2,0x52,0x00,0x01,0xc2,0x6a, +0x00,0x01,0xc2,0x82,0x00,0x01,0xc2,0x9e,0x00,0x01,0xc2,0xb6,0x00,0x01,0xc2,0xce, +0x00,0x01,0xc2,0xe6,0x00,0x01,0xc2,0xfe,0x00,0x01,0xc3,0x14,0x00,0x01,0xc3,0x2c, +0x00,0x01,0xc3,0x44,0x00,0x01,0xc3,0x5c,0x00,0x01,0xc3,0x74,0x00,0x01,0xc3,0x90, +0x00,0x01,0xc3,0xa6,0x00,0x01,0xc3,0xbc,0x00,0x01,0xc3,0xd2,0x00,0x01,0xc3,0xea, +0x00,0x01,0xc4,0x02,0x00,0x01,0xc4,0x1a,0x00,0x01,0xc4,0x32,0x00,0x01,0xc4,0x48, +0x00,0x01,0xc4,0x5e,0x00,0x01,0xc4,0x76,0x00,0x01,0xc4,0x8e,0x00,0x01,0xc4,0xa8, +0x00,0x01,0xc4,0xc0,0x00,0x01,0xc4,0xda,0x00,0x01,0xc4,0xf4,0x00,0x01,0xc5,0x0c, +0x00,0x01,0xc5,0x24,0x00,0x01,0xc5,0x3a,0x00,0x01,0xc5,0x50,0x00,0x01,0xc5,0x66, +0x00,0x01,0xc5,0x7c,0x00,0x01,0xc5,0x92,0x00,0x01,0xc5,0xa8,0x00,0x01,0xc5,0xc2, +0x00,0x01,0xc5,0xdc,0x00,0x01,0xc5,0xf6,0x00,0x01,0xc6,0x0e,0x00,0x01,0xc6,0x28, +0x00,0x01,0xc6,0x42,0x00,0x01,0xc6,0x5a,0x00,0x01,0xc6,0x72,0x00,0x01,0xc6,0x8a, +0x00,0x01,0xc6,0xa0,0x00,0x01,0xc6,0xb8,0x00,0x01,0xc6,0xd0,0x00,0x01,0xc6,0xe8, +0x00,0x01,0xc7,0x00,0x00,0x01,0xc7,0x1a,0x00,0x01,0xc7,0x34,0x00,0x01,0xc7,0x4e, +0x00,0x01,0xc7,0x66,0x00,0x01,0xc7,0x80,0x00,0x01,0xc7,0x9a,0x00,0x01,0xc7,0xb4, +0x00,0x01,0xc7,0xce,0x00,0x01,0xc7,0xe6,0x00,0x01,0xc7,0xfe,0x00,0x01,0xc8,0x16, +0x00,0x01,0xc8,0x2e,0x00,0x01,0xc8,0x46,0x00,0x01,0xc8,0x5e,0x00,0x01,0xc8,0x76, +0x00,0x01,0xc8,0x8e,0x00,0x01,0xc8,0xa8,0x00,0x01,0xc8,0xc2,0x00,0x01,0xc8,0xdc, +0x00,0x01,0xc8,0xf4,0x00,0x01,0xc9,0x0e,0x00,0x01,0xc9,0x28,0x00,0x01,0xc9,0x42, +0x00,0x01,0xc9,0x5c,0x00,0x01,0xc9,0x72,0x00,0x01,0xc9,0x88,0x00,0x01,0xc9,0x9e, +0x00,0x01,0xc9,0xb4,0x00,0x01,0xc9,0xcc,0x00,0x01,0xc9,0xe4,0x00,0x01,0xc9,0xfc, +0x00,0x01,0xca,0x14,0x00,0x01,0xca,0x2e,0x00,0x01,0xca,0x46,0x00,0x01,0xca,0x60, +0x00,0x01,0xca,0x7a,0x00,0x01,0xca,0x90,0x00,0x01,0xca,0xa6,0x00,0x01,0xca,0xbc, +0x00,0x01,0xca,0xd2,0x00,0x01,0xca,0xe8,0x00,0x01,0xca,0xfe,0x00,0x01,0xcb,0x14, +0x00,0x01,0xcb,0x2a,0x00,0x01,0xcb,0x44,0x00,0x01,0xcb,0x5c,0x00,0x01,0xcb,0x76, +0x00,0x01,0xcb,0x90,0x00,0x01,0xcb,0xa8,0x00,0x01,0xcb,0xc0,0x00,0x01,0xcb,0xd8, +0x00,0x01,0xcb,0xf0,0x00,0x01,0xcc,0x08,0x00,0x01,0xcc,0x20,0x00,0x01,0xcc,0x38, +0x00,0x01,0xcc,0x50,0x00,0x01,0xcc,0x68,0x00,0x01,0xcc,0x82,0x00,0x01,0xcc,0x9c, +0x00,0x01,0xcc,0xb4,0x00,0x01,0xcc,0xce,0x00,0x01,0xcc,0xe8,0x00,0x01,0xcd,0x02, +0x00,0x01,0xcd,0x1c,0x00,0x01,0xcd,0x32,0x00,0x01,0xcd,0x42,0x00,0x01,0xcd,0x58, +0x00,0x01,0xcd,0x68,0x00,0x01,0xcd,0x80,0x00,0x01,0xcd,0x90,0x00,0x01,0xcd,0xa8, +0x00,0x01,0xcd,0xb8,0x00,0x01,0xcd,0xce,0x00,0x01,0xcd,0xde,0x00,0x01,0xcd,0xf4, +0x00,0x01,0xce,0x04,0x00,0x01,0xce,0x1c,0x00,0x01,0xce,0x2c,0x00,0x01,0xce,0x42, +0x00,0x01,0xce,0x58,0x00,0x01,0xce,0x6e,0x00,0x01,0xce,0x84,0x00,0x01,0xce,0x9a, +0x00,0x01,0xce,0xb0,0x00,0x01,0xce,0xc6,0x00,0x01,0xce,0xdc,0x00,0x01,0xce,0xf4, +0x00,0x01,0xcf,0x0c,0x00,0x01,0xcf,0x24,0x00,0x01,0xcf,0x3c,0x00,0x01,0xcf,0x54, +0x00,0x01,0xcf,0x6c,0x00,0x01,0xcf,0x84,0x00,0x01,0xcf,0x9c,0x00,0x01,0xcf,0xb4, +0x00,0x01,0xcf,0xcc,0x00,0x01,0xcf,0xe4,0x00,0x01,0xcf,0xfc,0x00,0x01,0xd0,0x14, +0x00,0x01,0xd0,0x2c,0x00,0x01,0xd0,0x44,0x00,0x01,0xd0,0x5c,0x00,0x01,0xd0,0x74, +0x00,0x01,0xd0,0x8c,0x00,0x01,0xd0,0xa4,0x00,0x01,0xd0,0xbc,0x00,0x01,0xd0,0xd4, +0x00,0x01,0xd0,0xec,0x00,0x01,0xd1,0x04,0x00,0x01,0xd1,0x1c,0x00,0x01,0xd1,0x34, +0x00,0x01,0xd1,0x4c,0x00,0x01,0xd1,0x64,0x00,0x01,0xd1,0x7c,0x00,0x01,0xd1,0x94, +0x00,0x01,0xd1,0xac,0x00,0x01,0xd1,0xc4,0x00,0x01,0xd1,0xdc,0x00,0x01,0xd1,0xf4, +0x00,0x01,0xd2,0x0c,0x00,0x01,0xd2,0x24,0x00,0x01,0xd2,0x3c,0x00,0x01,0xd2,0x54, +0x00,0x01,0xd2,0x6c,0x00,0x01,0xd2,0x84,0x00,0x01,0xd2,0x9c,0x00,0x01,0xd2,0xb2, +0x00,0x01,0xd2,0xc8,0x00,0x01,0xd2,0xde,0x00,0x01,0xd2,0xf4,0x00,0x01,0xd3,0x0a, +0x00,0x01,0xd3,0x20,0x00,0x01,0xd3,0x36,0x00,0x01,0xd3,0x4e,0x00,0x01,0xd3,0x66, +0x00,0x01,0xd3,0x7e,0x00,0x01,0xd3,0x8e,0x00,0x01,0xd3,0xa6,0x00,0x01,0xd3,0xb6, +0x00,0x01,0xd3,0xc6,0x00,0x01,0xd3,0xec,0x00,0x01,0xd3,0xfc,0x00,0x01,0xd4,0x14, +0x00,0x01,0xd4,0x2c,0x00,0x01,0xd4,0x44,0x00,0x01,0xd4,0x5c,0x00,0x01,0xd4,0x74, +0x00,0x01,0xd4,0x8c,0x00,0x01,0xd4,0xa6,0x00,0x01,0xd4,0xb6,0x00,0x01,0xd4,0xd0, +0x00,0x01,0xd4,0xe0,0x00,0x01,0xd4,0xf8,0x00,0x01,0xd5,0x12,0x00,0x01,0xd5,0x2a, +0x00,0x01,0xd5,0x42,0x00,0x01,0xd5,0x5a,0x00,0x01,0xd5,0x72,0x00,0x01,0xd5,0x8a, +0x00,0x01,0xd5,0x9a,0x00,0x01,0xd5,0xb2,0x00,0x01,0xd5,0xca,0x00,0x01,0xd5,0xe2, +0x00,0x01,0xd5,0xfa,0x00,0x01,0xd6,0x14,0x00,0x01,0xd6,0x24,0x00,0x01,0xd6,0x3e, +0x00,0x01,0xd6,0x56,0x00,0x01,0xd6,0x6e,0x00,0x01,0xd6,0x84,0x00,0x01,0xd6,0x9a, +0x00,0x01,0xd6,0xb0,0x00,0x01,0xd6,0xc0,0x00,0x01,0xd6,0xd8,0x00,0x01,0xd6,0xf0, +0x00,0x01,0xd7,0x06,0x00,0x01,0xd7,0x1c,0x00,0x01,0xd7,0x34,0x00,0x01,0xd7,0x4c, +0x00,0x01,0xd7,0x66,0x00,0x01,0xd7,0x76,0x00,0x01,0xd7,0x90,0x00,0x01,0xd7,0xa8, +0x00,0x01,0xd7,0xb8,0x00,0x01,0xd7,0xc8,0x00,0x01,0xd7,0xe0,0x00,0x01,0xd7,0xf8, +0x00,0x01,0xd8,0x10,0x00,0x01,0xd8,0x28,0x00,0x01,0xd8,0x40,0x00,0x01,0xd8,0x5a, +0x00,0x01,0xd8,0x6a,0x00,0x01,0xd8,0x84,0x00,0x01,0xd8,0x94,0x00,0x01,0xd8,0xac, +0x00,0x01,0xd8,0xbc,0x00,0x01,0xd8,0xe0,0x00,0x01,0xd8,0xe0,0x00,0x01,0xd8,0xe0, +0x00,0x01,0xd8,0xe0,0x00,0x01,0xd8,0xe0,0x00,0x01,0xd8,0xe0,0x00,0x01,0xd8,0xe0, +0x00,0x01,0xd8,0xe0,0x00,0x01,0xd8,0xe0,0x00,0x01,0xd8,0xe0,0x00,0x01,0xd8,0xe0, +0x00,0x01,0xd8,0xe0,0x00,0x01,0xd9,0x0c,0x00,0x01,0xd9,0x1c,0x00,0x01,0xd9,0x46, +0x00,0x01,0xd9,0x70,0x00,0x01,0xd9,0x98,0x00,0x01,0xd9,0xc0,0x00,0x01,0xd9,0xd8, +0x00,0x01,0xd9,0xf0,0x00,0x01,0xda,0x2a,0x00,0x01,0xda,0x64,0x00,0x01,0xda,0x9c, +0x00,0x01,0xda,0xbe,0x00,0x01,0xdb,0x1a,0x00,0x01,0xdb,0x76,0x00,0x01,0xdb,0xd2, +0x00,0x01,0xdc,0x06,0x00,0x01,0xdc,0x5e,0x00,0x01,0xdc,0xe2,0x00,0x01,0xdd,0x22, +0x00,0x01,0xdd,0x3e,0x00,0x01,0xdd,0x56,0x00,0x01,0xdd,0x7a,0x00,0x01,0xdd,0xce, +0x00,0x01,0xdd,0xe6,0x00,0x01,0xdf,0x70,0x00,0x01,0xe0,0x80,0x00,0x01,0xe0,0x9e, +0x00,0x01,0xe0,0xb6,0x00,0x01,0xe0,0xd6,0x00,0x01,0xe0,0xf4,0x00,0x01,0xe1,0x0c, +0x00,0x01,0xe1,0x2c,0x00,0x01,0xe1,0x4e,0x00,0x01,0xe1,0xbe,0x00,0x01,0xe2,0x32, +0x00,0x01,0xe2,0x62,0x00,0x01,0xe2,0x7c,0x00,0x01,0xe2,0xf6,0x00,0x01,0xe3,0x08, +0x00,0x01,0xe3,0x3e,0x00,0x01,0xe3,0x76,0x00,0x01,0xe3,0xa2,0x00,0x01,0xe3,0xc4, +0x00,0x01,0xe3,0xda,0x00,0x01,0xe4,0x22,0x00,0x01,0xe4,0x50,0x00,0x01,0xe4,0x7e, +0x00,0x01,0xe4,0x96,0x00,0x01,0xe4,0xae,0x00,0x01,0xe4,0xc8,0x00,0x01,0xe5,0x0a, +0x00,0x01,0xe5,0x40,0x00,0x01,0xe5,0x70,0x00,0x01,0xe5,0xa0,0x00,0x01,0xe5,0xb2, +0x00,0x01,0xe5,0xde,0x00,0x01,0xe6,0x3e,0x00,0x01,0xe6,0x58,0x00,0x01,0xe6,0x7a, +0x00,0x01,0xe6,0x8a,0x00,0x01,0xe6,0x9c,0x00,0x01,0xe6,0xf0,0x00,0x01,0xe7,0x22, +0x00,0x01,0xe7,0x70,0x00,0x01,0xe7,0xae,0x00,0x01,0xe7,0xf8,0x00,0x01,0xe8,0x1c, +0x00,0x01,0xe8,0x58,0x00,0x01,0xe8,0xba,0x00,0x01,0xe8,0xe8,0x00,0x01,0xe9,0x22, +0x00,0x01,0xe9,0x76,0x00,0x01,0xe9,0x9a,0x00,0x01,0xea,0xa6,0x00,0x01,0xeb,0x0a, +0x00,0x01,0xeb,0x9a,0x00,0x01,0xeb,0xc0,0x00,0x01,0xec,0x70,0x00,0x01,0xec,0xfc, +0x00,0x01,0xed,0x2e,0x00,0x01,0xed,0x48,0x00,0x01,0xed,0x6e,0x00,0x01,0xed,0xa6, +0x00,0x01,0xed,0xe2,0x00,0x01,0xee,0x24,0x00,0x01,0xee,0x36,0x00,0x01,0xee,0x48, +0x00,0x01,0xee,0x5a,0x00,0x01,0xee,0x6c,0x00,0x01,0xee,0x7e,0x00,0x01,0xee,0x90, +0x00,0x01,0xee,0xa2,0x00,0x01,0xee,0xb4,0x00,0x01,0xee,0xc6,0x00,0x01,0xee,0xd8, +0x00,0x01,0xee,0xea,0x00,0x01,0xee,0xfc,0x00,0x01,0xef,0x0e,0x00,0x01,0xef,0x20, +0x00,0x01,0xef,0x32,0x00,0x01,0xef,0xa6,0x00,0x01,0xf0,0x56,0x00,0x01,0xf0,0xe4, +0x00,0x01,0xf1,0x22,0x00,0x01,0xf1,0x8a,0x00,0x01,0xf2,0x0c,0x00,0x01,0xf2,0x90, +0x00,0x01,0xf3,0x72,0x00,0x01,0xf4,0x40,0x00,0x01,0xf4,0xea,0x00,0x01,0xf5,0x4c, +0x00,0x01,0xf5,0x64,0x00,0x01,0xf7,0x18,0x00,0x01,0xf7,0x5e,0x00,0x01,0xf7,0xb4, +0x00,0x01,0xf8,0x7c,0x00,0x01,0xf9,0x14,0x00,0x01,0xf9,0xb4,0x00,0x01,0xfa,0x48, +0x00,0x01,0xfb,0x08,0x00,0x01,0xfb,0x24,0x00,0x01,0xfc,0x4a,0x00,0x01,0xfc,0xe6, +0x00,0x01,0xfd,0x7c,0x00,0x01,0xfd,0x94,0x00,0x01,0xfd,0xee,0x00,0x01,0xfe,0x54, +0x00,0x01,0xfe,0xe6,0x00,0x01,0xff,0x66,0x00,0x01,0xff,0x7e,0x00,0x02,0x00,0x24, +0x00,0x02,0x00,0xd8,0x00,0x02,0x01,0xd4,0x00,0x02,0x02,0x7e,0x00,0x02,0x03,0x94, +0x00,0x02,0x04,0x32,0x00,0x02,0x04,0x90,0x00,0x02,0x05,0x1a,0x00,0x02,0x05,0x2a, +0x00,0x02,0x05,0x9a,0x00,0x02,0x05,0xaa,0x00,0x02,0x05,0xba,0x00,0x02,0x06,0x40, +0x00,0x02,0x06,0x6a,0x00,0x02,0x06,0xbc,0x00,0x02,0x07,0x64,0x00,0x02,0x07,0xe8, +0x00,0x02,0x08,0x82,0x00,0x02,0x08,0xa2,0x00,0x02,0x08,0xc2,0x00,0x02,0x08,0xe2, +0x00,0x02,0x09,0x02,0x00,0x02,0x09,0x22,0x00,0x02,0x09,0x42,0x00,0x02,0x09,0x62, +0x00,0x02,0x09,0x82,0x00,0x02,0x09,0xa2,0x00,0x02,0x09,0xc2,0x00,0x02,0x09,0xe2, +0x00,0x02,0x0a,0x02,0x00,0x02,0x0a,0x1a,0x00,0x02,0x0a,0x2a,0x00,0x02,0x0a,0x42, +0x00,0x02,0x0a,0x62,0x00,0x02,0x0a,0x7a,0x00,0x02,0x0a,0x8a,0x00,0x02,0x0a,0xa2, +0x00,0x02,0x0a,0xc2,0x00,0x02,0x0a,0xea,0x00,0x02,0x0b,0x02,0x00,0x02,0x0b,0x12, +0x00,0x02,0x0b,0x2a,0x00,0x02,0x0b,0x4a,0x00,0x02,0x0b,0x5a,0x00,0x02,0x0b,0x6a, +0x00,0x02,0x0b,0x7a,0x00,0x02,0x0b,0x8a,0x00,0x02,0x0b,0x9a,0x00,0x02,0x0b,0xb2, +0x00,0x02,0x0b,0xd2,0x00,0x02,0x0b,0xea,0x00,0x02,0x0b,0xfa,0x00,0x02,0x0c,0x12, +0x00,0x02,0x0c,0x32,0x00,0x02,0x0c,0x5a,0x00,0x02,0x0c,0x72,0x00,0x02,0x0c,0x82, +0x00,0x02,0x0c,0x9a,0x00,0x02,0x0c,0xba,0x00,0x02,0x0c,0xca,0x00,0x02,0x0c,0xda, +0x00,0x02,0x0c,0xea,0x00,0x02,0x0c,0xfa,0x00,0x02,0x0d,0x7e,0x00,0x02,0x0e,0xf8, +0x00,0x02,0x0f,0xd4,0x00,0x02,0x0f,0xe4,0x00,0x02,0x10,0x0c,0x00,0x02,0x10,0x34, +0x00,0x02,0x10,0x5c,0x00,0x02,0x10,0x84,0x00,0x02,0x10,0xba,0x00,0x02,0x10,0xf0, +0x00,0x02,0x11,0x1c,0x00,0x02,0x11,0x48,0x00,0x02,0x11,0x74,0x00,0x02,0x11,0xa0, +0x00,0x02,0x11,0xe2,0x00,0x02,0x12,0x24,0x00,0x02,0x12,0x78,0x00,0x02,0x12,0xcc, +0x00,0x02,0x13,0x04,0x00,0x02,0x13,0x3c,0x00,0x02,0x13,0x74,0x00,0x02,0x13,0xac, +0x00,0x02,0x13,0xe4,0x00,0x02,0x14,0x1a,0x00,0x02,0x14,0x4c,0x00,0x02,0x14,0x7c, +0x00,0x02,0x14,0xae,0x00,0x02,0x14,0xe0,0x00,0x02,0x15,0x24,0x00,0x02,0x15,0x54, +0x00,0x02,0x15,0x82,0x00,0x02,0x15,0xb2,0x00,0x02,0x15,0xe2,0x00,0x02,0x16,0x10, +0x00,0x02,0x16,0x40,0x00,0x02,0x16,0xa2,0x00,0x02,0x17,0x04,0x00,0x02,0x17,0x3e, +0x00,0x02,0x17,0x9e,0x00,0x02,0x18,0x1c,0x00,0x02,0x18,0x9c,0x00,0x02,0x18,0xbc, +0x00,0x02,0x18,0xdc,0x00,0x02,0x18,0xfc,0x00,0x02,0x19,0x1c,0x00,0x02,0x19,0x3c, +0x00,0x02,0x19,0x5c,0x00,0x02,0x19,0x7c,0x00,0x02,0x19,0x9c,0x00,0x02,0x19,0xe0, +0x00,0x02,0x1a,0x24,0x00,0x02,0x1a,0x66,0x00,0x02,0x1a,0xa6,0x00,0x02,0x1a,0xe6, +0x00,0x02,0x1b,0x26,0x00,0x02,0x1b,0x64,0x00,0x02,0x1b,0x96,0x00,0x02,0x1b,0xc8, +0x00,0x02,0x1c,0x06,0x00,0x02,0x1c,0x44,0x00,0x02,0x1c,0x82,0x00,0x02,0x1c,0xc0, +0x00,0x02,0x1d,0x1c,0x00,0x02,0x1d,0x56,0x00,0x02,0x1e,0x28,0x00,0x02,0x1f,0x0a, +0x00,0x02,0x1f,0x3c,0x00,0x02,0x1f,0x9e,0x00,0x02,0x20,0x5c,0x00,0x02,0x20,0xc0, +0x00,0x02,0x20,0xee,0x00,0x02,0x21,0x52,0x00,0x02,0x22,0x50,0x00,0x02,0x22,0xa0, +0x00,0x02,0x23,0x04,0x00,0x02,0x24,0x1e,0x00,0x02,0x24,0x6e,0x00,0x02,0x24,0x94, +0x00,0x02,0x24,0xd8,0x00,0x02,0x24,0xfe,0x00,0x02,0x25,0x94,0x00,0x02,0x25,0xc0, +0x00,0x02,0x25,0xfc,0x00,0x02,0x26,0x90,0x00,0x02,0x26,0xd8,0x00,0x02,0x26,0xea, +0x00,0x02,0x26,0xfc,0x00,0x02,0x27,0x0e,0x00,0x02,0x27,0x38,0x00,0x02,0x27,0x96, +0x00,0x02,0x27,0xae,0x00,0x02,0x27,0xc6,0x00,0x02,0x28,0x3c,0x00,0x02,0x29,0xc8, +0x00,0x02,0x29,0xe8,0x00,0x02,0x2a,0x0c,0x00,0x02,0x2a,0xb6,0x00,0x02,0x2b,0x62, +0x00,0x02,0x2b,0x7c,0x00,0x02,0x2b,0xe6,0x00,0x02,0x2c,0x0e,0x00,0x02,0x2c,0xd2, +0x00,0x02,0x2c,0xfc,0x00,0x02,0x2d,0x24,0x00,0x02,0x2d,0x64,0x00,0x02,0x2d,0xa4, +0x00,0x02,0x2e,0x44,0x00,0x02,0x2e,0x5c,0x00,0x02,0x2e,0x7c,0x00,0x02,0x2e,0x9e, +0x00,0x02,0x2e,0xc0,0x00,0x02,0x2e,0xda,0x00,0x02,0x2f,0x04,0x00,0x02,0x2f,0x1c, +0x00,0x02,0x2f,0x50,0x00,0x02,0x2f,0x80,0x00,0x02,0x2f,0xa0,0x00,0x02,0x30,0x00, +0x00,0x02,0x30,0x60,0x00,0x02,0x30,0xbe,0x00,0x02,0x31,0x2a,0x00,0x02,0x31,0x90, +0x00,0x02,0x32,0x0e,0x00,0x02,0x32,0x80,0x00,0x02,0x33,0x12,0x00,0x02,0x33,0xae, +0x00,0x02,0x34,0xa0,0x00,0x02,0x35,0x40,0x00,0x02,0x35,0xee,0x00,0x02,0x36,0xd6, +0x00,0x02,0x37,0x48,0x00,0x02,0x37,0x9e,0x00,0x02,0x38,0x12,0x00,0x02,0x38,0xcc, +0x00,0x02,0x38,0xe4,0x00,0x02,0x39,0x04,0x00,0x02,0x39,0x24,0x00,0x02,0x39,0x44, +0x00,0x02,0x39,0x66,0x00,0x02,0x39,0x86,0x00,0x02,0x39,0xe0,0x00,0x02,0x3a,0x4c, +0x00,0x02,0x3a,0x94,0x00,0x02,0x3a,0xd8,0x00,0x02,0x3b,0x18,0x00,0x02,0x3b,0x66, +0x00,0x02,0x3b,0xaa,0x00,0x02,0x3c,0x8c,0x00,0x02,0x3d,0x0e,0x00,0x02,0x3d,0x9a, +0x00,0x02,0x3e,0x24,0x00,0x02,0x3e,0x58,0x00,0x02,0x3e,0xb6,0x00,0x02,0x3e,0xf4, +0x00,0x02,0x3f,0x82,0x00,0x02,0x40,0x0e,0x00,0x02,0x40,0x54,0x00,0x02,0x40,0x94, +0x00,0x02,0x40,0xfa,0x00,0x02,0x41,0x5e,0x00,0x02,0x41,0xa6,0x00,0x02,0x41,0xe8, +0x00,0x02,0x42,0x54,0x00,0x02,0x42,0xa8,0x00,0x02,0x42,0xfc,0x00,0x02,0x43,0x68, +0x00,0x02,0x43,0xd2,0x00,0x02,0x44,0x50,0x00,0x02,0x44,0xcc,0x00,0x02,0x45,0x7e, +0x00,0x02,0x46,0x30,0x00,0x02,0x46,0x74,0x00,0x02,0x46,0xba,0x00,0x02,0x47,0x44, +0x00,0x02,0x47,0xca,0x00,0x02,0x48,0x06,0x00,0x02,0x48,0x3e,0x00,0x02,0x48,0x90, +0x00,0x02,0x48,0xde,0x00,0x02,0x49,0x6c,0x00,0x02,0x49,0xfa,0x00,0x02,0x4a,0x68, +0x00,0x02,0x4a,0xd6,0x00,0x02,0x4b,0x1c,0x00,0x02,0x4b,0x60,0x00,0x02,0x4b,0xca, +0x00,0x02,0x4c,0x34,0x00,0x02,0x4c,0x88,0x00,0x02,0x4c,0xd8,0x00,0x02,0x4d,0x54, +0x00,0x02,0x4d,0xd2,0x00,0x02,0x4e,0x3c,0x00,0x02,0x4e,0xa6,0x00,0x02,0x4f,0x70, +0x00,0x02,0x50,0x24,0x00,0x02,0x50,0xf2,0x00,0x02,0x51,0xac,0x00,0x02,0x51,0xd2, +0x00,0x02,0x51,0xf6,0x00,0x02,0x52,0x06,0x00,0x02,0x52,0x16,0x00,0x02,0x52,0x48, +0x00,0x02,0x52,0x7e,0x00,0x02,0x52,0xc0,0x00,0x02,0x52,0xe2,0x00,0x02,0x53,0x00, +0x00,0x02,0x53,0x20,0x00,0x02,0x53,0x3e,0x00,0x02,0x53,0x5e,0x00,0x02,0x53,0xb0, +0x00,0x02,0x54,0xaa,0x00,0x02,0x54,0xcc,0x00,0x02,0x55,0x22,0x00,0x02,0x55,0x78, +0x00,0x02,0x55,0xb0,0x00,0x02,0x5d,0xe0,0x00,0x02,0x5e,0x06,0x00,0x02,0x5e,0x2c, +0x00,0x02,0x5e,0x5c,0x00,0x02,0x5e,0x78,0x00,0x02,0x5e,0xa4,0x00,0x02,0x5f,0x16, +0x00,0x02,0x5f,0x3c,0x00,0x02,0x60,0xaa,0x00,0x02,0x62,0xac,0x00,0x02,0x65,0x3a, +0x00,0x02,0x66,0xc8,0x00,0x02,0x68,0xd4,0x00,0x02,0x6b,0x38,0x00,0x02,0x6c,0xb0, +0x00,0x02,0x6f,0xac,0x00,0x02,0x72,0x12,0x00,0x02,0x74,0x7e,0x00,0x02,0x74,0x90, +0x00,0x02,0x74,0xac,0x00,0x02,0x74,0xc8,0x00,0x02,0x74,0xe4,0x00,0x02,0x75,0x00, +0x00,0x02,0x75,0x1c,0x00,0x02,0x75,0x38,0x00,0x02,0x75,0x54,0x00,0x02,0x75,0x70, +0x00,0x02,0x75,0x8c,0x00,0x02,0x75,0xa8,0x00,0x02,0x75,0xc4,0x00,0x02,0x75,0xe0, +0x00,0x02,0x75,0xfc,0x00,0x02,0x76,0x18,0x00,0x02,0x76,0x32,0x00,0x02,0x76,0x44, +0x00,0x02,0x76,0xf6,0x00,0x02,0x77,0xe4,0x00,0x02,0x78,0x8a,0x00,0x02,0x78,0x9c, +0x00,0x02,0x78,0xae,0x00,0x02,0x78,0xca,0x00,0x02,0x78,0xdc,0x00,0x02,0x78,0xee, +0x00,0x02,0x79,0x0a,0x00,0x02,0x79,0x20,0x00,0x02,0x79,0x3c,0x00,0x02,0x79,0x58, +0x00,0x02,0x79,0x6a,0x00,0x02,0x79,0x80,0x00,0x02,0x79,0x9c,0x00,0x02,0x79,0xb6, +0x00,0x02,0x79,0xe0,0x00,0x02,0x7a,0x32,0x00,0x02,0x7a,0x4a,0x00,0x02,0x7a,0xa2, +0x00,0x02,0x7b,0x02,0x00,0x02,0x7c,0x3e,0x00,0x02,0x7c,0xc4,0x00,0x02,0x7d,0x4a, +0x00,0x02,0x7f,0x0a,0x00,0x02,0x7f,0x24,0x00,0x02,0x7f,0x4e,0x00,0x02,0x7f,0x6a, +0x00,0x02,0x7f,0x96,0x00,0x02,0x7f,0xb0,0x00,0x02,0x7f,0xda,0x00,0x02,0x7f,0xf8, +0x00,0x02,0x80,0x2a,0x00,0x02,0x80,0x46,0x00,0x02,0x80,0x6e,0x00,0x02,0x80,0x8a, +0x00,0x02,0x80,0xb2,0x00,0x02,0x80,0xcc,0x00,0x02,0x80,0xf6,0x00,0x02,0x81,0x10, +0x00,0x02,0x81,0x3a,0x00,0x02,0x81,0x54,0x00,0x02,0x81,0x7e,0x00,0x02,0x81,0x98, +0x00,0x02,0x81,0xc2,0x00,0x02,0x81,0xdc,0x00,0x02,0x82,0x06,0x00,0x02,0x82,0x20, +0x00,0x02,0x82,0x4a,0x00,0x02,0x82,0x64,0x00,0x02,0x82,0x8e,0x00,0x02,0x82,0xa8, +0x00,0x02,0x82,0xd2,0x00,0x02,0x82,0xf2,0x00,0x02,0x83,0x24,0x00,0x02,0x83,0x68, +0x00,0x02,0x83,0xf8,0x00,0x02,0x84,0x4c,0x00,0x02,0x84,0xb2,0x00,0x02,0x85,0xaa, +0x00,0x02,0x86,0x5c,0x00,0x02,0x87,0x16,0x00,0x02,0x87,0x7a,0x00,0x02,0x87,0xd0, +0x00,0x02,0x88,0x26,0x00,0x02,0x88,0x7e,0x00,0x02,0x88,0xd8,0x00,0x02,0x89,0x3e, +0x00,0x02,0x89,0x8e,0x00,0x02,0x89,0xb4,0x00,0x02,0x89,0xdc,0x00,0x02,0x8a,0x18, +0x00,0x02,0x8a,0x8e,0x00,0x02,0x8a,0xe0,0x00,0x02,0x8b,0x34,0x00,0x02,0x8b,0x60, +0x00,0x02,0x8b,0x8c,0x00,0x02,0x8b,0xb8,0x00,0x02,0x8b,0xe6,0x00,0x02,0x8c,0x2a, +0x00,0x02,0x8c,0x6e,0x00,0x02,0x8c,0x88,0x00,0x02,0x8c,0xa2,0x00,0x02,0x8c,0xba, +0x00,0x02,0x8c,0xd2,0x00,0x02,0x8d,0x1a,0x00,0x02,0x8d,0x44,0x00,0x02,0x8d,0x6e, +0x00,0x02,0x8d,0x94,0x00,0x02,0x8d,0xbc,0x00,0x02,0x8d,0xf6,0x00,0x02,0x8e,0x40, +0x00,0x02,0x8e,0x6a,0x00,0x02,0x8e,0x92,0x00,0x02,0x8e,0xfe,0x00,0x02,0x8f,0x3e, +0x00,0x02,0x8f,0x7e,0x00,0x02,0x8f,0xbe,0x00,0x02,0x8f,0xfe,0x00,0x02,0x90,0x7c, +0x00,0x02,0x90,0xfa,0x00,0x02,0x91,0x78,0x00,0x02,0x91,0xf6,0x00,0x02,0x92,0x1c, +0x00,0x02,0x92,0x44,0x00,0x02,0x92,0x6c,0x00,0x02,0x92,0x96,0x00,0x02,0x92,0xb0, +0x00,0x02,0x92,0xda,0x00,0x02,0x92,0xf4,0x00,0x02,0x93,0x1c,0x00,0x02,0x94,0x50, +0x00,0x02,0x94,0xe8,0x00,0x02,0x95,0xd4,0x00,0x02,0xa0,0x9a,0x00,0x02,0xa3,0x7c, +0x00,0x02,0xa3,0xd6,0x00,0x02,0xa4,0x86,0x00,0x02,0xa5,0x0a,0x00,0x02,0xa5,0x94, +0x00,0x02,0xa7,0x3c,0x00,0x02,0xa9,0x0a,0x00,0x02,0xaa,0xe0,0x00,0x02,0xac,0x1c, +0x00,0x02,0xae,0x4a,0x00,0x02,0xb1,0x18,0x00,0x02,0xb4,0xf0,0x00,0x02,0xb5,0x78, +0x00,0x02,0xb6,0x58,0x00,0x02,0xb7,0x1e,0x00,0x02,0xb7,0x92,0x00,0x02,0xb9,0x76, +0x00,0x02,0xbb,0x7a,0x00,0x02,0xbb,0xd2,0x00,0x02,0xbc,0x1a,0x00,0x02,0xbd,0x22, +0x00,0x02,0xbe,0x16,0x00,0x02,0xbe,0xfe,0x00,0x02,0xbf,0xde,0x00,0x02,0xc1,0x00, +0x00,0x02,0xc2,0x6a,0x00,0x02,0xc3,0xa2,0x00,0x02,0xc5,0x10,0x00,0x02,0xcb,0xaa, +0x00,0x02,0xcc,0x2e,0x00,0x02,0xcd,0x90,0x00,0x02,0xcf,0x48,0x00,0x02,0xd6,0x86, +0x00,0x02,0xd7,0x92,0x00,0x02,0xd9,0x24,0x00,0x02,0xda,0x56,0x00,0x02,0xdb,0x2c, +0x00,0x02,0xdc,0x44,0x00,0x02,0xdd,0x3c,0x00,0x02,0xe1,0x02,0x00,0x02,0xe4,0x42, +0x00,0x02,0xe5,0x0c,0x00,0x02,0xe6,0x9c,0x00,0x02,0xe8,0x22,0x00,0x02,0xe8,0x42, +0x00,0x02,0xe8,0x62,0x00,0x02,0xe8,0x82,0x00,0x02,0xe8,0xa2,0x00,0x02,0xe8,0xc2, +0x00,0x02,0xe8,0xe2,0x00,0x02,0xe9,0x02,0x00,0x02,0xe9,0x22,0x00,0x02,0xea,0x8e, +0x00,0x02,0xec,0xae,0x00,0x02,0xee,0xd0,0x00,0x02,0xf0,0x36,0x00,0x02,0xf2,0x38, +0x00,0x02,0xf3,0x5e,0x00,0x02,0xf4,0x7c,0x00,0x02,0xf6,0x58,0x00,0x02,0xf7,0xe4, +0x00,0x02,0xf9,0x78,0x00,0x02,0xfa,0x1c,0x00,0x02,0xfb,0x14,0x00,0x02,0xfc,0x36, +0x00,0x02,0xfd,0x9c,0x00,0x02,0xff,0xca,0x00,0x03,0x00,0xd6,0x00,0x03,0x01,0x78, +0x00,0x03,0x03,0x36,0x00,0x03,0x03,0xd2,0x00,0x03,0x06,0x1a,0x00,0x03,0x07,0xee, +0x00,0x03,0x09,0xa0,0x00,0x03,0x0b,0x14,0x00,0x03,0x0c,0x60,0x00,0x03,0x0d,0x12, +0x00,0x03,0x0e,0x50,0x00,0x03,0x0f,0x32,0x00,0x03,0x10,0x32,0x00,0x03,0x12,0xae, +0x00,0x03,0x15,0xd6,0x00,0x03,0x17,0xd8,0x00,0x03,0x1a,0x54,0x00,0x03,0x1c,0x80, +0x00,0x03,0x1e,0x9c,0x00,0x03,0x21,0x92,0x00,0x03,0x23,0x42,0x00,0x03,0x24,0xa6, +0x00,0x03,0x25,0xd8,0x00,0x03,0x26,0xf8,0x00,0x03,0x27,0xfc,0x00,0x03,0x28,0x8e, +0x00,0x03,0x29,0x80,0x00,0x03,0x29,0xdc,0x00,0x03,0x2a,0xbe,0x00,0x03,0x2c,0x32, +0x00,0x03,0x2c,0x9e,0x00,0x03,0x2c,0xd8,0x00,0x03,0x2f,0x16,0x00,0x03,0x31,0x26, +0x00,0x03,0x31,0x8a,0x00,0x03,0x32,0x1a,0x00,0x03,0x32,0xe0,0x00,0x03,0x33,0xca, +0x00,0x03,0x34,0xb6,0x00,0x03,0x35,0xae,0x00,0x03,0x37,0x80,0x00,0x03,0x38,0xa6, +0x00,0x03,0x3a,0xb4,0x00,0x03,0x3d,0x5c,0x00,0x03,0x3e,0xca,0x00,0x03,0x40,0x7c, +0x00,0x03,0x42,0x5c,0x00,0x03,0x43,0xe6,0x00,0x03,0x45,0xa4,0x00,0x03,0x47,0xd8, +0x00,0x03,0x49,0x3e,0x00,0x03,0x4a,0x7c,0x00,0x03,0x4b,0xf4,0x00,0x03,0x4d,0x62, +0x00,0x03,0x50,0x1a,0x00,0x03,0x52,0xc2,0x00,0x03,0x53,0x94,0x00,0x03,0x54,0x04, +0x00,0x03,0x54,0xba,0x00,0x03,0x55,0xb4,0x00,0x03,0x56,0xf2,0x00,0x03,0x58,0x76, +0x00,0x03,0x5a,0x3c,0x00,0x03,0x5c,0x00,0x00,0x03,0x5e,0x4e,0x00,0x03,0x5f,0x1e, +0x00,0x03,0x60,0x78,0x00,0x03,0x60,0xa0,0x00,0x03,0x60,0xe2,0x00,0x03,0x60,0xfa, +0x00,0x03,0x61,0x12,0x00,0x03,0x61,0x2a,0x00,0x03,0x61,0x42,0x00,0x03,0x61,0xe8, +0x00,0x03,0x62,0x50,0x00,0x03,0x62,0xf0,0x00,0x03,0x64,0xee,0x00,0x03,0x66,0xa4, +0x00,0x03,0x68,0xc8,0x00,0x03,0x69,0xf4,0x00,0x03,0x6a,0xa8,0x00,0x03,0x6c,0x28, +0x00,0x03,0x6e,0x6c,0x00,0x03,0x71,0x4c,0x00,0x03,0x76,0x52,0x00,0x03,0x7a,0x70, +0x00,0x03,0x7b,0x8c,0x00,0x03,0x7b,0xe2,0x00,0x03,0x7c,0x12,0x00,0x03,0x7c,0x7a, +0x00,0x03,0x7e,0x3e,0x00,0x03,0x7f,0xda,0x00,0x03,0x81,0x94,0x00,0x03,0x85,0x54, +0x00,0x03,0x86,0xfa,0x00,0x03,0x88,0xa0,0x00,0x03,0x89,0x2c,0x00,0x03,0x89,0xdc, +0x00,0x03,0x8c,0x84,0x00,0x03,0x8e,0x24,0x00,0x03,0x8f,0x54,0x00,0x03,0x90,0x52, +0x00,0x03,0x91,0x7e,0x00,0x03,0x92,0x64,0x00,0x03,0x92,0xea,0x00,0x03,0x93,0x4e, +0x00,0x03,0x93,0xb2,0x00,0x03,0x93,0xf4,0x00,0x03,0x94,0x34,0x00,0x03,0x94,0xfe, +0x00,0x03,0x95,0xf2,0x00,0x03,0x96,0x70,0x00,0x03,0x96,0xa4,0x00,0x03,0x96,0xe0, +0x00,0x03,0x97,0x24,0x00,0x03,0x97,0x54,0x00,0x03,0x97,0xb4,0x00,0x03,0x98,0x32, +0x00,0x03,0x99,0x1a,0x00,0x03,0x99,0xb2,0x00,0x03,0x9a,0x6c,0x00,0x03,0x9b,0xec, +0x00,0x03,0x9d,0xb4,0x00,0x03,0xa1,0x12,0x00,0x03,0xa1,0x7a,0x00,0x03,0xa2,0x3e, +0x00,0x03,0xa2,0xa4,0x00,0x03,0xa3,0x3a,0x00,0x03,0xa3,0xca,0x00,0x03,0xa4,0x88, +0x00,0x03,0xa5,0x12,0x00,0x03,0xa5,0x92,0x00,0x03,0xa6,0x0a,0x00,0x03,0xa6,0x7a, +0x00,0x03,0xa6,0xcc,0x00,0x03,0xa7,0x34,0x00,0x03,0xa7,0x98,0x00,0x03,0xa7,0xf0, +0x00,0x03,0xa8,0xae,0x00,0x03,0xa8,0xf2,0x00,0x03,0xa9,0x4a,0x00,0x03,0xa9,0x9a, +0x00,0x03,0xaa,0x0a,0x00,0x03,0xaa,0xc6,0x00,0x03,0xac,0x78,0x00,0x03,0xae,0x78, +0x00,0x03,0xaf,0xb6,0x00,0x03,0xb1,0xe6,0x00,0x03,0xb3,0x82,0x00,0x03,0xb6,0x50, +0x00,0x03,0xbc,0x4a,0x00,0x03,0xbd,0xa4,0x00,0x03,0xbf,0xf4,0x00,0x03,0xc0,0xb8, +0x00,0x03,0xc1,0x7e,0x00,0x03,0xc2,0x50,0x00,0x03,0xc3,0xd4,0x00,0x03,0xc5,0x52, +0x00,0x03,0xc6,0xb0,0x00,0x03,0xc8,0x12,0x00,0x03,0xc9,0x5e,0x00,0x03,0xca,0xca, +0x00,0x03,0xcb,0x34,0x00,0x03,0xcb,0x9e,0x00,0x03,0xcc,0x04,0x00,0x03,0xcc,0x6c, +0x00,0x03,0xcc,0xce,0x00,0x03,0xcc,0xea,0x00,0x03,0xcd,0x06,0x00,0x03,0xcd,0x22, +0x00,0x03,0xcd,0x62,0x00,0x03,0xcd,0xae,0x00,0x03,0xcd,0xc6,0x00,0x03,0xcd,0xde, +0x00,0x03,0xce,0xda,0x00,0x03,0xcf,0x84,0x00,0x03,0xd0,0x58,0x00,0x03,0xd0,0xd4, +0x00,0x03,0xd1,0x54,0x00,0x03,0xd2,0x74,0x00,0x03,0xd3,0x58,0x00,0x03,0xd3,0xc4, +0x00,0x03,0xd4,0x30,0x00,0x03,0xd4,0x6a,0x00,0x03,0xd4,0xa8,0x00,0x03,0xd4,0xd0, +0x00,0x03,0xd4,0xfa,0x00,0x03,0xd5,0x22,0x00,0x03,0xd5,0x4c,0x00,0x03,0xd5,0x74, +0x00,0x03,0xd5,0x9e,0x00,0x03,0xd5,0xca,0x00,0x03,0xd5,0xf6,0x00,0x03,0xd6,0x5a, +0x00,0x03,0xd6,0xca,0x00,0x03,0xd7,0x46,0x00,0x03,0xd7,0xf0,0x00,0x03,0xd9,0x30, +0x00,0x03,0xd9,0xb6,0x00,0x03,0xda,0xce,0x00,0x03,0xdc,0x62,0x00,0x03,0xdc,0xd6, +0x00,0x03,0xdf,0x22,0x00,0x03,0xe0,0xae,0x00,0x03,0xe2,0x22,0x00,0x03,0xe3,0x06, +0x00,0x03,0xe4,0x2a,0x00,0x03,0xe5,0x6c,0x00,0x03,0xe6,0x58,0x00,0x03,0xe7,0x72, +0x00,0x03,0xe8,0xae,0x00,0x03,0xe9,0x88,0x00,0x03,0xea,0xd0,0x00,0x03,0xec,0x12, +0x00,0x03,0xed,0x40,0x00,0x03,0xed,0xc8,0x00,0x03,0xee,0x94,0x00,0x03,0xef,0x7e, +0x00,0x03,0xf0,0x12,0x00,0x03,0xf0,0xd4,0x00,0x03,0xf1,0xb8,0x00,0x03,0xf2,0x38, +0x00,0x03,0xf3,0x24,0x00,0x03,0xf4,0x0e,0x00,0x03,0xf4,0xe6,0x00,0x03,0xf5,0x16, +0x00,0x03,0xf5,0x42,0x00,0x03,0xf5,0x6e,0x00,0x03,0xf5,0x9a,0x00,0x03,0xf5,0xca, +0x00,0x03,0xf6,0x6c,0x00,0x03,0xf6,0x94,0x00,0x03,0xf6,0xbc,0x00,0x03,0xf7,0x0e, +0x00,0x03,0xf7,0x62,0x00,0x03,0xf7,0x8a,0x00,0x03,0xf7,0xba,0x00,0x03,0xf7,0xea, +0x00,0x03,0xf8,0x0a,0x00,0x03,0xf8,0x5e,0x00,0x03,0xf8,0xb0,0x00,0x03,0xf8,0xda, +0x00,0x03,0xf9,0x08,0x00,0x03,0xf9,0x4e,0x00,0x03,0xf9,0x94,0x00,0x03,0xf9,0xe6, +0x00,0x03,0xfa,0x34,0x00,0x03,0xfa,0x80,0x00,0x03,0xfa,0xce,0x00,0x03,0xfb,0x24, +0x00,0x03,0xfb,0x7a,0x00,0x03,0xfb,0xec,0x00,0x03,0xfc,0x8e,0x00,0x03,0xfc,0xe6, +0x00,0x03,0xfd,0x2c,0x00,0x03,0xfd,0x84,0x00,0x03,0xfe,0x2a,0x00,0x03,0xfe,0xc0, +0x00,0x03,0xff,0x66,0x00,0x04,0x00,0x46,0x00,0x04,0x00,0xe0,0x00,0x04,0x02,0x0c, +0x00,0x04,0x03,0x42,0x00,0x04,0x03,0xd8,0x00,0x04,0x04,0x14,0x00,0x04,0x04,0x24, +0x00,0x04,0x04,0x34,0x00,0x04,0x04,0x4c,0x00,0x04,0x04,0x64,0x00,0x04,0x04,0x84, +0x00,0x04,0x04,0xac,0x00,0x04,0x05,0x38,0x00,0x04,0x05,0xd6,0x00,0x04,0x06,0x00, +0x00,0x04,0x06,0x2a,0x00,0x04,0x06,0x5e,0x00,0x04,0x06,0x92,0x00,0x04,0x06,0xba, +0x00,0x04,0x06,0xf0,0x00,0x04,0x07,0x28,0x00,0x04,0x07,0x54,0x00,0x04,0x07,0xa4, +0x00,0x04,0x07,0xd2,0x00,0x04,0x08,0x3c,0x00,0x04,0x08,0x78,0x00,0x04,0x08,0xea, +0x00,0x04,0x09,0x1c,0x00,0x04,0x09,0x86,0x00,0x04,0x09,0xba,0x00,0x04,0x09,0xf0, +0x00,0x04,0x0a,0x60,0x00,0x04,0x0a,0xe0,0x00,0x04,0x0b,0x24,0x00,0x04,0x0b,0x6a, +0x00,0x04,0x0b,0xf6,0x00,0x04,0x0c,0x72,0x00,0x04,0x0d,0x22,0x00,0x04,0x0d,0xb6, +0x00,0x04,0x0e,0x34,0x00,0x04,0x0f,0x12,0x00,0x04,0x0f,0xd0,0x00,0x04,0x10,0x50, +0x00,0x04,0x11,0x48,0x00,0x04,0x12,0x16,0x00,0x04,0x12,0xbe,0x00,0x04,0x13,0x58, +0x00,0x04,0x14,0x06,0x00,0x04,0x14,0xce,0x00,0x04,0x14,0xe6,0x00,0x04,0x14,0xfe, +0x00,0x04,0x15,0x16,0x00,0x04,0x15,0x2e,0x00,0x04,0x15,0x46,0x00,0x04,0x15,0x5e, +0x00,0x04,0x15,0x76,0x00,0x04,0x15,0x8e,0x00,0x04,0x15,0xa6,0x00,0x04,0x15,0xbe, +0x00,0x04,0x15,0xd6,0x00,0x04,0x15,0xee,0x00,0x04,0x16,0x06,0x00,0x04,0x16,0x1e, +0x00,0x04,0x16,0x36,0x00,0x04,0x16,0x4e,0x00,0x04,0x16,0x66,0x00,0x04,0x16,0x7e, +0x00,0x04,0x16,0x96,0x00,0x04,0x16,0xae,0x00,0x04,0x16,0xc6,0x00,0x04,0x16,0xde, +0x00,0x04,0x16,0xf6,0x00,0x04,0x17,0x0e,0x00,0x04,0x17,0x26,0x00,0x04,0x17,0x3e, +0x00,0x04,0x17,0x56,0x00,0x04,0x17,0x6e,0x00,0x04,0x17,0x86,0x00,0x04,0x17,0x9e, +0x00,0x04,0x17,0xb6,0x00,0x04,0x17,0xce,0x00,0x04,0x17,0xe6,0x00,0x04,0x17,0xfe, +0x00,0x04,0x18,0x16,0x00,0x04,0x18,0x2e,0x00,0x04,0x18,0x46,0x00,0x04,0x18,0x5e, +0x00,0x04,0x18,0x76,0x00,0x04,0x18,0x8e,0x00,0x04,0x18,0xa6,0x00,0x04,0x18,0xbe, +0x00,0x04,0x18,0xd6,0x00,0x04,0x18,0xee,0x00,0x04,0x19,0x06,0x00,0x04,0x19,0x1e, +0x00,0x04,0x19,0x36,0x00,0x04,0x19,0x4e,0x00,0x04,0x19,0x66,0x00,0x04,0x19,0x7e, +0x00,0x04,0x19,0x96,0x00,0x04,0x19,0xae,0x00,0x04,0x19,0xbe,0x00,0x04,0x1a,0x70, +0x00,0x04,0x1a,0x80,0x00,0x04,0x1a,0x90,0x00,0x04,0x1a,0xa8,0x00,0x04,0x1a,0xc0, +0x00,0x04,0x1a,0xd6,0x00,0x04,0x1a,0xec,0x00,0x04,0x1a,0xfc,0x00,0x04,0x1b,0x74, +0x00,0x04,0x1b,0xa4,0x00,0x04,0x1b,0xe4,0x00,0x04,0x1b,0xf4,0x00,0x04,0x1c,0x04, +0x00,0x04,0x1c,0x1c,0x00,0x04,0x1c,0x34,0x00,0x04,0x1c,0x46,0x00,0x04,0x1c,0x5e, +0x00,0x04,0x1c,0x70,0x00,0x04,0x1c,0xa2,0x00,0x04,0x1c,0xb4,0x00,0x04,0x1c,0xc6, +0x00,0x04,0x1c,0xde,0x00,0x04,0x1c,0xf0,0x00,0x04,0x1d,0x08,0x00,0x04,0x1d,0x1a, +0x00,0x04,0x1d,0x32,0x00,0x04,0x1d,0x44,0x00,0x04,0x1d,0x5c,0x00,0x04,0x1d,0x6e, +0x00,0x04,0x1d,0x86,0x00,0x04,0x1d,0x96,0x00,0x04,0x1d,0xae,0x00,0x04,0x1d,0xc6, +0x00,0x04,0x1d,0xde,0x00,0x04,0x1d,0xf6,0x00,0x04,0x1e,0x0c,0x00,0x04,0x1e,0x24, +0x00,0x04,0x1e,0x3c,0x00,0x04,0x1e,0x54,0x00,0x04,0x1e,0x6c,0x00,0x04,0x1e,0x84, +0x00,0x04,0x1e,0x9c,0x00,0x04,0x1e,0xb4,0x00,0x04,0x1e,0xc4,0x00,0x04,0x1e,0xf6, +0x00,0x04,0x1f,0x0e,0x00,0x04,0x1f,0x26,0x00,0x04,0x1f,0x3e,0x00,0x04,0x1f,0x56, +0x00,0x04,0x1f,0x6e,0x00,0x04,0x1f,0x86,0x00,0x04,0x1f,0x9e,0x00,0x04,0x1f,0xb6, +0x00,0x04,0x1f,0xce,0x00,0x04,0x1f,0xe6,0x00,0x04,0x1f,0xfe,0x00,0x04,0x20,0x16, +0x00,0x04,0x20,0x2e,0x00,0x04,0x20,0x46,0x00,0x04,0x20,0x5e,0x00,0x04,0x20,0x76, +0x00,0x04,0x20,0x8e,0x00,0x04,0x20,0xa6,0x00,0x04,0x20,0xb6,0x00,0x04,0x21,0x4c, +0x00,0x04,0x21,0xb2,0x00,0x04,0x22,0x34,0x00,0x04,0x22,0x4c,0x00,0x04,0x22,0x64, +0x00,0x04,0x22,0x7c,0x00,0x04,0x22,0x94,0x00,0x04,0x22,0xa4,0x00,0x04,0x23,0x08, +0x00,0x04,0x23,0x20,0x00,0x04,0x23,0x38,0x00,0x04,0x23,0x48,0x00,0x04,0x23,0x9c, +0x00,0x04,0x23,0xb4,0x00,0x04,0x23,0xcc,0x00,0x04,0x23,0xdc,0x00,0x04,0x24,0xae, +0x00,0x04,0x25,0x3e,0x00,0x04,0x25,0xde,0x00,0x04,0x25,0xf6,0x00,0x04,0x26,0x0e, +0x00,0x04,0x26,0x26,0x00,0x04,0x26,0x3e,0x00,0x04,0x26,0x4e,0x00,0x04,0x27,0x2a, +0x00,0x04,0x27,0xba,0x00,0x04,0x28,0x62,0x00,0x04,0x28,0x7a,0x00,0x04,0x28,0x92, +0x00,0x04,0x28,0xaa,0x00,0x04,0x28,0xc2,0x00,0x04,0x28,0xd2,0x00,0x04,0x29,0x54, +0x00,0x04,0x29,0xbe,0x00,0x04,0x2a,0x40,0x00,0x04,0x2a,0x58,0x00,0x04,0x2a,0x70, +0x00,0x04,0x2a,0x88,0x00,0x04,0x2a,0xa0,0x00,0x04,0x2a,0xb0,0x00,0x04,0x2b,0x5a, +0x00,0x04,0x2b,0xbe,0x00,0x04,0x2c,0x4c,0x00,0x04,0x2c,0x64,0x00,0x04,0x2c,0x7c, +0x00,0x04,0x2c,0x94,0x00,0x04,0x2c,0xac,0x00,0x04,0x2c,0xc4,0x00,0x04,0x2c,0xdc, +0x00,0x04,0x2c,0xf4,0x00,0x04,0x2d,0x0c,0x00,0x04,0x2d,0x24,0x00,0x04,0x2d,0x3c, +0x00,0x04,0x2d,0x54,0x00,0x04,0x2d,0x6c,0x00,0x04,0x2d,0x7c,0x00,0x04,0x2e,0x46, +0x00,0x04,0x2e,0xb0,0x00,0x04,0x2f,0x36,0x00,0x04,0x2f,0x46,0x00,0x04,0x2f,0xb8, +0x00,0x04,0x2f,0xea,0x00,0x04,0x30,0x2c,0x00,0x04,0x30,0x3c,0x00,0x04,0x30,0xda, +0x00,0x04,0x31,0x5e,0x00,0x04,0x31,0xec,0x00,0x04,0x32,0x04,0x00,0x04,0x32,0x1c, +0x00,0x04,0x32,0x34,0x00,0x04,0x32,0x4c,0x00,0x04,0x32,0x5c,0x00,0x04,0x32,0xd4, +0x00,0x04,0x33,0x8e,0x00,0x04,0x34,0x1e,0x00,0x04,0x34,0x2e,0x00,0x04,0x34,0xc2, +0x00,0x04,0x34,0xd2,0x00,0x04,0x35,0x74,0x00,0x04,0x35,0x8c,0x00,0x04,0x35,0xa4, +0x00,0x04,0x35,0xbc,0x00,0x04,0x35,0xd4,0x00,0x04,0x35,0xec,0x00,0x04,0x36,0x04, +0x00,0x04,0x36,0x1c,0x00,0x04,0x36,0x34,0x00,0x04,0x36,0x4c,0x00,0x04,0x36,0x64, +0x00,0x04,0x36,0xb6,0x00,0x04,0x37,0x1c,0x00,0x04,0x37,0x1c,0x00,0x04,0x37,0xa6, +0x00,0x04,0x37,0xca,0x00,0x04,0x38,0x94,0x00,0x04,0x39,0x2e,0x00,0x04,0x39,0xfe, +0x00,0x04,0x3a,0xa4,0x00,0x04,0x3b,0x3e,0x00,0x04,0x3b,0xea,0x00,0x04,0x3c,0x1e, +0x00,0x04,0x3c,0xbc,0x00,0x04,0x3c,0xe6,0x00,0x04,0x3d,0x22,0x00,0x04,0x3d,0x4e, +0x00,0x04,0x3d,0x64,0x00,0x04,0x3d,0x86,0x00,0x04,0x3d,0xb4,0x00,0x04,0x3d,0xe2, +0x00,0x04,0x3e,0x04,0x00,0x04,0x3e,0x3c,0x00,0x04,0x3e,0xb6,0x00,0x04,0x3e,0xc6, +0x00,0x04,0x3e,0xd6,0x00,0x04,0x3f,0x96,0x00,0x04,0x40,0x30,0x00,0x04,0x40,0xd0, +0x00,0x04,0x41,0x96,0x00,0x04,0x41,0xa6,0x00,0x04,0x41,0xb6,0x00,0x04,0x41,0xce, +0x00,0x04,0x41,0xe6,0x00,0x04,0x42,0x36,0x00,0x04,0x42,0x56,0x00,0x04,0x42,0x76, +0x00,0x04,0x42,0x96,0x00,0x04,0x42,0xae,0x00,0x04,0x42,0xc6,0x00,0x04,0x42,0xde, +0x00,0x04,0x42,0xf6,0x00,0x04,0x43,0x0e,0x00,0x04,0x43,0x26,0x00,0x04,0x43,0x3e, +0x00,0x04,0x43,0x56,0x00,0x04,0x43,0x6e,0x00,0x04,0x43,0x86,0x00,0x04,0x43,0x9e, +0x00,0x04,0x43,0xb6,0x00,0x04,0x43,0xd6,0x00,0x04,0x43,0xf6,0x00,0x04,0x44,0x16, +0x00,0x04,0x44,0x36,0x00,0x04,0x44,0x90,0x00,0x04,0x44,0xbc,0x00,0x04,0x45,0x0c, +0x00,0x04,0x45,0x26,0x00,0x04,0x45,0x40,0x00,0x04,0x45,0x5a,0x00,0x04,0x45,0x74, +0x00,0x04,0x45,0x8e,0x00,0x04,0x45,0xa8,0x00,0x04,0x45,0xc2,0x00,0x04,0x45,0xdc, +0x00,0x04,0x45,0xf6,0x00,0x04,0x46,0x10,0x00,0x04,0x46,0x2a,0x00,0x04,0x46,0x44, +0x00,0x04,0x46,0x5e,0x00,0x04,0x46,0x78,0x00,0x04,0x46,0x92,0x00,0x04,0x46,0xac, +0x00,0x04,0x46,0xc6,0x00,0x04,0x46,0xe0,0x00,0x04,0x46,0xfa,0x00,0x04,0x47,0x14, +0x00,0x04,0x47,0x2c,0x00,0x01,0x00,0x00,0x0c,0x31,0x03,0x62,0x00,0x2b,0x00,0x98, +0x00,0x08,0x00,0x02,0x00,0x10,0x00,0x40,0x00,0x08,0x00,0x00,0x04,0x15,0x05,0x68, +0x00,0x08,0x00,0x04,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x03, +0x00,0x00,0x35,0xcc,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0x09,0x00,0x01,0x00,0x00, +0x00,0x00,0x00,0x01,0xff,0xff,0xff,0xff,0x00,0x01,0x00,0x01,0x00,0x00,0x00,0x00, +0xff,0xff,0xff,0xff,0x00,0x01,0x00,0x02,0x00,0x00,0x00,0x02,0xff,0xff,0xff,0xff, +0x00,0x01,0x00,0x03,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x01,0x00,0x02, +0x00,0x00,0x00,0x02,0xff,0xff,0xff,0xff,0x00,0x01,0x00,0x03,0x00,0x00,0x00,0x00, +0xff,0xff,0xff,0xff,0x00,0x01,0x00,0x02,0x00,0x00,0x00,0x02,0xff,0xff,0xff,0xff, +0x00,0x01,0x00,0x03,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x01,0x00,0x02, +0x00,0x00,0x00,0x02,0xff,0xff,0xff,0xff,0x00,0x01,0x00,0x03,0x00,0x00,0x00,0x00, +0xff,0xff,0xff,0xff,0x00,0x01,0x00,0x02,0x00,0x00,0x00,0x02,0xff,0xff,0xff,0xff, +0x00,0x01,0x00,0x03,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x01,0x00,0x04, +0x00,0x00,0x00,0x04,0xff,0xff,0xff,0xff,0x00,0x01,0x00,0x05,0x00,0x00,0x00,0x00, +0xff,0xff,0xff,0xff,0x00,0x02,0x00,0x02,0x00,0x00,0x00,0x08,0xff,0xff,0xff,0xff, +0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0xf7,0x00,0x0b,0x00,0x02, +0x00,0x00,0x00,0x10,0xff,0xff,0xff,0xff,0x00,0x0b,0x00,0x00,0x00,0x00,0x00,0x00, +0xff,0xff,0xff,0xef,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x88, +0x40,0x00,0x00,0x01,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x14, +0x00,0x00,0x03,0xc0,0x00,0x00,0x03,0xf0,0x00,0x00,0x04,0x30,0x00,0x04,0x00,0x06, +0x00,0x0d,0x00,0x30,0x00,0x03,0x00,0x1e,0x02,0xb7,0x02,0xa3,0x00,0x60,0x02,0xbc, +0x02,0xb9,0x00,0x8a,0x02,0xc3,0x02,0xbf,0x00,0x92,0x02,0xc9,0x02,0xc6,0x00,0x9c, +0x02,0xd6,0x02,0xcc,0x00,0xa4,0x02,0xe5,0x02,0xdc,0x00,0xba,0x02,0xe7,0x02,0xe7, +0x00,0xce,0x02,0xf5,0x02,0xe9,0x00,0xd0,0x05,0x3d,0x04,0xd6,0x00,0xea,0x0b,0xe6, +0x0b,0x16,0x01,0xba,0x0b,0xf3,0x0b,0xe9,0x03,0x5c,0x0c,0x04,0x0b,0xfa,0x03,0x72, +0x0c,0x17,0x0c,0x06,0x03,0x88,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x05,0x00,0x05, +0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05, +0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05, +0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05, +0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05, +0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05, +0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05, +0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05, +0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05, +0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x04,0x00,0x05,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05, +0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05, +0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x05,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04, +0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x01,0x00,0x02, +0x00,0x03,0x00,0x03,0x00,0x04,0x00,0x03,0x00,0x05,0x00,0x04,0x00,0x06,0x00,0x06, +0x00,0x07,0x00,0x06,0x00,0x05,0x00,0x07,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0xff, +0x00,0x02,0x80,0x00,0xff,0xff,0x00,0x00,0x00,0x01,0x00,0x00,0xff,0xff,0xff,0xff, +0x00,0x00,0x00,0x00,0x00,0x01,0xff,0xff,0x00,0x02,0x00,0x00,0xff,0xff,0xff,0xff, +0x00,0x03,0x80,0x00,0xff,0xff,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x03,0xff,0xff, +0x00,0x03,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x74, +0x00,0x00,0x00,0x80,0x00,0x00,0x00,0xe4,0x00,0x04,0x00,0x06,0x00,0x06,0x00,0x18, +0x00,0x02,0x00,0x0c,0x04,0x55,0x04,0x55,0x00,0x36,0x04,0x57,0x04,0x57,0x00,0x38, +0x04,0x5d,0x04,0x59,0x00,0x3a,0x04,0x69,0x04,0x62,0x00,0x44,0x04,0x6f,0x04,0x6b, +0x00,0x54,0x04,0x82,0x04,0x80,0x00,0x5e,0xff,0xff,0xff,0xff,0x00,0x00,0x0b,0x74, +0x0b,0x7a,0x0b,0x80,0x0b,0x84,0x0b,0x88,0x0b,0x8c,0x0b,0x90,0x0b,0x9c,0x0b,0xa0, +0x0b,0xa4,0x0b,0xa8,0x0b,0xac,0x0b,0xb0,0x0b,0xb4,0x0b,0xb8,0x0b,0xbc,0x0b,0xc0, +0x0b,0xc4,0x0b,0xc8,0x0b,0xcc,0x0c,0x03,0x0c,0x16,0x0b,0x58,0x00,0x04,0x00,0x06, +0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x04,0x00,0x06,0x00,0x06,0x00,0x18, +0x00,0x02,0x00,0x0c,0x04,0x55,0x04,0x55,0x00,0x36,0x04,0x57,0x04,0x57,0x00,0x38, +0x04,0x5d,0x04,0x59,0x00,0x3a,0x04,0x69,0x04,0x62,0x00,0x44,0x04,0x6f,0x04,0x6b, +0x00,0x54,0x04,0x82,0x04,0x80,0x00,0x5e,0xff,0xff,0xff,0xff,0x00,0x00,0x0b,0x75, +0x0b,0x7b,0x0b,0x81,0x0b,0x85,0x0b,0x89,0x0b,0x8d,0x0b,0x91,0x0b,0x9d,0x0b,0xa1, +0x0b,0xa5,0x0b,0xa9,0x0b,0xad,0x0b,0xb1,0x0b,0xb5,0x0b,0xb9,0x0b,0xbd,0x0b,0xc1, +0x0b,0xc5,0x0b,0xc9,0x0b,0xcd,0x0c,0x04,0x0c,0x17,0x0b,0x59,0x00,0x04,0x00,0x06, +0x00,0x03,0x00,0x0c,0x00,0x01,0x00,0x06,0x04,0x69,0x04,0x51,0x00,0x24,0x04,0x6f, +0x04,0x6b,0x00,0x56,0x04,0x82,0x04,0x80,0x00,0x60,0xff,0xff,0xff,0xff,0x00,0x00, +0x0b,0x6b,0x0b,0x6d,0x0b,0x6f,0x0b,0x71,0x0b,0x73,0x0b,0x77,0x0b,0x79,0x0b,0x7d, +0x0b,0x7f,0x0b,0x83,0x0b,0x87,0x0b,0x8b,0x0b,0x8f,0x0b,0x93,0x0b,0x95,0x0b,0x97, +0x0b,0x99,0x0b,0x9b,0x0b,0x9f,0x0b,0xa3,0x0b,0xa7,0x0b,0xab,0x0b,0xaf,0x0b,0xb3, +0x0b,0xb7,0x0b,0xbb,0x0b,0xbf,0x0b,0xc3,0x0b,0xc7,0x0b,0xcb,0x0b,0x53,0x0c,0x15, +0x0b,0x57,0x00,0x00,0x00,0x00,0x00,0xc0,0x40,0x00,0x00,0x02,0x00,0x00,0x00,0x01, +0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x1c,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x78, +0x00,0x00,0x00,0x96,0x00,0x00,0x00,0xa6,0x00,0x00,0x00,0xae,0x00,0x04,0x00,0x06, +0x00,0x02,0x00,0x0c,0x00,0x01,0x00,0x00,0x0b,0x77,0x0b,0x77,0x00,0x1e,0x0b,0xc9, +0x0b,0xc8,0x00,0x20,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x04,0x00,0x05,0x00,0x06, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x01,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x04,0x00,0x01,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02, +0x80,0x00,0x00,0x00,0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x00, +0x00,0x00,0xa0,0x00,0x00,0x02,0x3f,0xff,0xf4,0x89,0xbf,0xff,0xf4,0x39,0x3f,0xff, +0xf4,0x8b,0xbf,0xff,0xf4,0x3a,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x0b,0xe4, +0x0b,0xe5,0x00,0x00,0x00,0x00,0x18,0x40,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x02, +0x00,0x00,0x00,0x32,0x00,0x00,0x00,0x1c,0x00,0x00,0x01,0x0e,0x00,0x00,0x0f,0x82, +0x00,0x00,0x12,0xac,0x00,0x00,0x15,0xd8,0x00,0x00,0x17,0x6e,0x00,0x04,0x00,0x06, +0x00,0x16,0x00,0x60,0x00,0x04,0x00,0x24,0x00,0x12,0x00,0x12,0x00,0x96,0x00,0x24, +0x00,0x24,0x00,0x98,0x00,0x2a,0x00,0x26,0x00,0x9a,0x00,0x2c,0x00,0x2c,0x00,0xa4, +0x00,0x32,0x00,0x2f,0x00,0xa6,0x00,0x38,0x00,0x35,0x00,0xae,0x00,0x3d,0x00,0x3b, +0x00,0xb6,0x00,0x44,0x00,0x44,0x00,0xbc,0x00,0x48,0x00,0x46,0x00,0xbe,0x00,0x4a, +0x00,0x4a,0x00,0xc4,0x00,0x4c,0x00,0x4c,0x00,0xc6,0x00,0x4f,0x00,0x4f,0x00,0xc8, +0x00,0x52,0x00,0x51,0x00,0xca,0x00,0x58,0x00,0x55,0x00,0xce,0x00,0x5d,0x00,0x5c, +0x00,0xd6,0x00,0x79,0x00,0x79,0x00,0xda,0x02,0x72,0x02,0x72,0x00,0xdc,0x02,0xa6, +0x02,0xa3,0x00,0xde,0x02,0xab,0x02,0xa9,0x00,0xe6,0x02,0xad,0x02,0xad,0x00,0xec, +0x02,0xaf,0x02,0xaf,0x00,0xee,0x02,0xca,0x02,0xca,0x00,0xf0,0xff,0xff,0xff,0xff, +0x00,0x00,0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x09,0x00,0x0a, +0x00,0x0b,0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12, +0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a, +0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x20,0x00,0x21,0x00,0x22, +0x00,0x23,0x00,0x24,0x00,0x25,0x00,0x26,0x00,0x27,0x00,0x28,0x00,0x29,0x00,0x2a, +0x00,0x2b,0x00,0x2c,0x00,0x2d,0x00,0x2e,0x00,0x2f,0x00,0x30,0x00,0x31,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04, +0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b, +0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12, +0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a, +0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02, +0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09, +0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10, +0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18, +0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08, +0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00, +0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16, +0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e, +0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x21,0x00,0x22,0x00,0x23,0x00,0x00, +0x00,0x00,0x00,0x24,0x00,0x25,0x00,0x26,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06, +0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d, +0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14, +0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c, +0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x27,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x00,0x29,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04, +0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b, +0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12, +0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a, +0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2a, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02, +0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09, +0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10, +0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18, +0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00, +0x00,0x00,0x00,0x2b,0x00,0x2c,0x00,0x2d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2e, +0x00,0x00,0x00,0x2f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x30,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08, +0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00, +0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16, +0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e, +0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06, +0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d, +0x00,0x0e,0x00,0x31,0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14, +0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c, +0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04, +0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b, +0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12, +0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a, +0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x32,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02, +0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09, +0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10, +0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18, +0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00, +0x00,0x00,0x00,0x33,0x00,0x34,0x00,0x35,0x00,0x00,0x00,0x00,0x00,0x36,0x00,0x37, +0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08, +0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00, +0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16, +0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e, +0x00,0x1f,0x00,0x39,0x00,0x00,0x00,0x00,0x00,0x3a,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3b,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06, +0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d, +0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14, +0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c, +0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x3c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3d,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04, +0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b, +0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12, +0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a, +0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x3e, +0x00,0x3f,0x00,0x40,0x00,0x41,0x00,0x00,0x00,0x00,0x00,0x42,0x00,0x00,0x00,0x43, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02, +0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09, +0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10, +0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18, +0x00,0x19,0x00,0x1a,0x00,0x44,0x00,0x1c,0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x46,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08, +0x00,0x47,0x00,0x09,0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00, +0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16, +0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e, +0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x48,0x00,0x49,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x4a,0x00,0x05,0x00,0x06, +0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d, +0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14, +0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c, +0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x4b,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04, +0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x4c,0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b, +0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12, +0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a, +0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02, +0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09, +0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10, +0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18, +0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00, +0x00,0x00,0x00,0x4d,0x00,0x4e,0x00,0x4f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x50, +0x00,0x51,0x00,0x52,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08, +0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00, +0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16, +0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e, +0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x53,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x54,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06, +0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d, +0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14, +0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c, +0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x55,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04, +0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b, +0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12, +0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a, +0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00,0x00,0x57,0x00,0x58, +0x00,0x59,0x00,0x5a,0x00,0x5b,0x00,0x00,0x00,0x00,0x00,0x5c,0x00,0x5d,0x00,0x5e, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02, +0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09, +0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10, +0x00,0x11,0x00,0x5f,0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18, +0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60, +0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08, +0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00, +0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16, +0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e, +0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x61,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x62,0x00,0x63,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06, +0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d, +0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14, +0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x64,0x00,0x1a,0x00,0x1b,0x00,0x1c, +0x00,0x65,0x00,0x1e,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04, +0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b, +0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12, +0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a, +0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02, +0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09, +0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10, +0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18, +0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x67,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08, +0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00, +0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16, +0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e, +0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x68, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06, +0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d, +0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14, +0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c, +0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x69,0x00,0x6a,0x00,0x6b, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6c,0x00,0x00,0x00,0x6d,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04, +0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b, +0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12, +0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a, +0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x6e,0x00,0x00,0x00,0x00, +0x00,0x6f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x70, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02, +0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09, +0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10, +0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18, +0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x71,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x72,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08, +0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00, +0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16, +0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e, +0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x73,0x00,0x74,0x00,0x75,0x00,0x76,0x00,0x00, +0x00,0x00,0x00,0x77,0x00,0x00,0x00,0x78,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06, +0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d, +0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14, +0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c, +0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x79,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7a,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04, +0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b, +0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12, +0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a, +0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7b, +0x00,0x7c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02, +0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09, +0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10, +0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18, +0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x7d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08, +0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00, +0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16, +0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e, +0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x7e,0x00,0x7f,0x00,0x80,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x81,0x00,0x82,0x00,0x83,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06, +0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d, +0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14, +0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c, +0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x84,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x85,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04, +0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x09,0x00,0x0a,0x00,0x0b, +0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12, +0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a, +0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x86, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x80,0x00,0x00,0x00,0x00,0x03, +0x80,0x00,0x00,0x00,0x00,0x04,0x80,0x00,0x00,0x00,0x00,0x05,0x80,0x00,0x00,0x00, +0x00,0x06,0x80,0x00,0x00,0x00,0x00,0x08,0x80,0x00,0x00,0x00,0x00,0x09,0x80,0x00, +0x00,0x00,0x00,0x0a,0x80,0x00,0x00,0x00,0x00,0x0b,0x80,0x00,0x00,0x00,0x00,0x0c, +0x80,0x00,0x00,0x00,0x00,0x0d,0x80,0x00,0x00,0x00,0x00,0x0e,0x80,0x00,0x00,0x00, +0x00,0x0f,0x80,0x00,0x00,0x00,0x00,0x11,0x80,0x00,0x00,0x00,0x00,0x12,0x80,0x00, +0x00,0x00,0x00,0x13,0x80,0x00,0x00,0x00,0x00,0x14,0x80,0x00,0x00,0x00,0x00,0x16, +0x80,0x00,0x00,0x00,0x00,0x18,0x80,0x00,0x00,0x00,0x00,0x19,0x80,0x00,0x00,0x00, +0x00,0x1a,0x80,0x00,0x00,0x00,0x00,0x1b,0x80,0x00,0x00,0x00,0x00,0x1c,0x80,0x00, +0x00,0x00,0x00,0x1d,0x80,0x00,0x00,0x00,0x00,0x1e,0x80,0x00,0x00,0x00,0x00,0x1f, +0x80,0x00,0x00,0x00,0x00,0x20,0x80,0x00,0x00,0x00,0x00,0x21,0x80,0x00,0x00,0x00, +0x00,0x22,0x80,0x00,0x00,0x00,0x00,0x23,0x80,0x00,0x00,0x00,0x00,0x24,0x80,0x00, +0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x02,0x00,0x00, +0xa0,0x00,0x00,0x04,0x00,0x00,0xa0,0x00,0x00,0x06,0x00,0x00,0xa0,0x00,0x00,0x08, +0x00,0x00,0xa0,0x00,0x00,0x0a,0x00,0x00,0xa0,0x00,0x00,0x0c,0x00,0x00,0xa0,0x00, +0x00,0x0e,0x00,0x00,0xa0,0x00,0x00,0x10,0x00,0x00,0xa0,0x00,0x00,0x12,0x00,0x00, +0xa0,0x00,0x00,0x14,0x00,0x00,0xa0,0x00,0x00,0x16,0x00,0x00,0xa0,0x00,0x00,0x18, +0x00,0x00,0xa0,0x00,0x00,0x1a,0x00,0x00,0xa0,0x00,0x00,0x1c,0x00,0x00,0xa0,0x00, +0x00,0x1e,0x00,0x07,0x80,0x00,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x20,0x00,0x00, +0xa0,0x00,0x00,0x23,0x00,0x00,0xa0,0x00,0x00,0x25,0x00,0x00,0xa0,0x00,0x00,0x27, +0x00,0x00,0xa0,0x00,0x00,0x29,0x00,0x00,0xa0,0x00,0x00,0x2b,0x00,0x00,0xa0,0x00, +0x00,0x2d,0x00,0x00,0xa0,0x00,0x00,0x2f,0x00,0x00,0xa0,0x00,0x00,0x31,0x00,0x00, +0xa0,0x00,0x00,0x33,0x00,0x00,0xa0,0x00,0x00,0x35,0x00,0x00,0xa0,0x00,0x00,0x37, +0x00,0x00,0xa0,0x00,0x00,0x39,0x00,0x00,0xa0,0x00,0x00,0x3b,0x00,0x00,0xa0,0x00, +0x00,0x3d,0x00,0x00,0xa0,0x00,0x00,0x3f,0x00,0x00,0xa0,0x00,0x00,0x41,0x00,0x00, +0xa0,0x00,0x00,0x43,0x00,0x00,0xa0,0x00,0x00,0x45,0x00,0x00,0xa0,0x00,0x00,0x47, +0x00,0x00,0xa0,0x00,0x00,0x49,0x00,0x00,0xa0,0x00,0x00,0x4b,0x00,0x00,0xa0,0x00, +0x00,0x4d,0x00,0x00,0xa0,0x00,0x00,0x4f,0x00,0x00,0xa0,0x00,0x00,0x51,0x00,0x10, +0x80,0x00,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x53,0x00,0x00,0xa0,0x00,0x00,0x55, +0x00,0x00,0xa0,0x00,0x00,0x58,0x00,0x00,0xa0,0x00,0x00,0x5a,0x00,0x00,0xa0,0x00, +0x00,0x5c,0x00,0x00,0xa0,0x00,0x00,0x5e,0x00,0x00,0xa0,0x00,0x00,0x60,0x00,0x00, +0xa0,0x00,0x00,0x62,0x00,0x00,0xa0,0x00,0x00,0x64,0x00,0x00,0xa0,0x00,0x00,0x66, +0x00,0x00,0xa0,0x00,0x00,0x68,0x00,0x15,0x80,0x00,0x00,0x00,0x00,0x00,0xa0,0x00, +0x00,0x6a,0x00,0x00,0xa0,0x00,0x00,0x6c,0x00,0x00,0xa0,0x00,0x00,0x6e,0x00,0x00, +0xa0,0x00,0x00,0x70,0x00,0x00,0xa0,0x00,0x00,0x72,0x00,0x00,0xa0,0x00,0x00,0x74, +0x00,0x00,0xa0,0x00,0x00,0x76,0x00,0x00,0xa0,0x00,0x00,0x78,0x00,0x00,0xa0,0x00, +0x00,0x7a,0x00,0x17,0x80,0x00,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x7d,0x00,0x00, +0xa0,0x00,0x00,0x7f,0x00,0x00,0xa0,0x00,0x00,0x81,0x00,0x00,0xa0,0x00,0x00,0x83, +0x00,0x00,0xa0,0x00,0x00,0x86,0x00,0x00,0xa0,0x00,0x00,0x89,0x00,0x00,0xa0,0x00, +0x00,0x8b,0x00,0x00,0xa0,0x00,0x00,0x8d,0x00,0x00,0xa0,0x00,0x00,0x8f,0x00,0x00, +0xa0,0x00,0x00,0x91,0x00,0x00,0xa0,0x00,0x00,0x93,0x00,0x00,0xa0,0x00,0x00,0x95, +0x00,0x00,0xa0,0x00,0x00,0x97,0x00,0x00,0xa0,0x00,0x00,0x99,0x00,0x00,0xa0,0x00, +0x00,0x9b,0x00,0x00,0xa0,0x00,0x00,0x9d,0x00,0x00,0xa0,0x00,0x00,0x9f,0x00,0x00, +0xa0,0x00,0x00,0xa1,0x00,0x00,0xa0,0x00,0x00,0xa3,0x00,0x00,0xa0,0x00,0x00,0xa5, +0x00,0x00,0xa0,0x00,0x00,0xa7,0x00,0x00,0xa0,0x00,0x00,0xa9,0x00,0x00,0xa0,0x00, +0x00,0xab,0x00,0x00,0xa0,0x00,0x00,0xad,0x00,0x00,0xa0,0x00,0x00,0xaf,0x00,0x00, +0xa0,0x00,0x00,0xb1,0x00,0x00,0xa0,0x00,0x00,0xb3,0x00,0x00,0xa0,0x00,0x00,0xb5, +0x00,0x00,0xa0,0x00,0x00,0xb7,0x00,0x00,0xa0,0x00,0x00,0xb9,0x00,0x00,0xa0,0x00, +0x00,0xbb,0x00,0x00,0xa0,0x00,0x00,0xbd,0x00,0x00,0xa0,0x00,0x00,0xbf,0x00,0x00, +0xa0,0x00,0x00,0xc1,0x00,0x00,0xa0,0x00,0x00,0xc3,0x00,0x00,0xa0,0x00,0x00,0xc5, +0x00,0x00,0xa0,0x00,0x00,0xc7,0x00,0x00,0xa0,0x00,0x00,0xc9,0x3f,0xff,0xfd,0x5d, +0xbf,0xff,0xff,0xdd,0x3f,0xff,0xfd,0x5e,0xbf,0xff,0xff,0xdf,0x3f,0xff,0xfd,0x5f, +0xbf,0xff,0xff,0xe1,0x3f,0xff,0xfd,0x60,0xbf,0xff,0xff,0xe3,0x3f,0xff,0xfd,0x5d, +0xbf,0xff,0xff,0xe5,0x3f,0xff,0xfd,0x5d,0xbf,0xff,0xff,0xe7,0x3f,0xff,0xfd,0x5d, +0xbf,0xff,0xff,0xe9,0x3f,0xff,0xfd,0x6a,0xbf,0xff,0xff,0xe9,0x3f,0xff,0xfd,0x61, +0xbf,0xff,0xff,0xeb,0x3f,0xff,0xfd,0x48,0xbf,0xff,0xff,0xed,0x3f,0xff,0xfd,0x65, +0xbf,0xff,0xff,0xee,0x3f,0xff,0xfd,0x73,0xbf,0xff,0xff,0xef,0x3f,0xff,0xfd,0x74, +0xbf,0xff,0xff,0xf1,0x3f,0xff,0xfd,0x75,0xbf,0xff,0xff,0xf3,0x3f,0xff,0xfd,0x71, +0xbf,0xff,0xff,0xf5,0x3f,0xff,0xfd,0x6f,0xbf,0xff,0xff,0xf7,0x3f,0xff,0xff,0xe5, +0x3f,0xff,0xff,0xfd,0xbf,0xff,0xff,0xf9,0x3f,0xff,0xfd,0x7a,0xbf,0xff,0xff,0xfa, +0x3f,0xff,0xfd,0x82,0xbf,0xff,0xff,0xfa,0x3f,0xff,0xfd,0x83,0xbf,0xff,0xff,0xfc, +0x3f,0xff,0xfd,0x84,0xbf,0xff,0xff,0xfe,0x3f,0xff,0xfd,0x81,0x80,0x00,0x00,0x00, +0x3f,0xff,0xfd,0x82,0x80,0x00,0x00,0x02,0x3f,0xff,0xfd,0x80,0x80,0x00,0x00,0x04, +0x3f,0xff,0xff,0xb8,0x80,0x00,0x00,0x03,0x3f,0xff,0xfd,0x8f,0x80,0x00,0x00,0x05, +0x3f,0xff,0xfd,0x86,0x80,0x00,0x00,0x07,0x3f,0xff,0xfd,0x91,0x80,0x00,0x00,0x07, +0x3f,0xff,0xfd,0x8a,0x80,0x00,0x00,0x09,0x3f,0xff,0xfd,0x98,0x80,0x00,0x00,0x0a, +0x3f,0xff,0xfd,0x99,0x80,0x00,0x00,0x0c,0x3f,0xff,0xfd,0x9a,0x80,0x00,0x00,0x0e, +0x3f,0xff,0xfd,0x9b,0x80,0x00,0x00,0x10,0x3f,0xff,0xfd,0x98,0x80,0x00,0x00,0x12, +0x3f,0xff,0xfd,0x96,0x80,0x00,0x00,0x14,0x3f,0xff,0xff,0xf1,0x80,0x00,0x00,0x13, +0x3f,0xff,0xfd,0xa5,0x80,0x00,0x00,0x15,0x3f,0xff,0xfd,0x9c,0x80,0x00,0x00,0x17, +0x00,0x00,0x00,0x1d,0x80,0x00,0x00,0x18,0x3f,0xff,0xfd,0xa0,0x80,0x00,0x00,0x1a, +0x3f,0xff,0xfd,0x87,0x80,0x00,0x00,0x1c,0x3f,0xff,0xfd,0xa4,0x80,0x00,0x00,0x1d, +0x00,0x00,0x00,0x26,0x00,0x00,0x00,0x2e,0x80,0x00,0x00,0x20,0x3f,0xff,0xfd,0xb5, +0x80,0x00,0x00,0x21,0x3f,0xff,0xfd,0xb6,0x80,0x00,0x00,0x23,0x3f,0xff,0xfd,0xb7, +0x80,0x00,0x00,0x25,0x3f,0xff,0xfd,0xb3,0x80,0x00,0x00,0x27,0x3f,0xff,0xfd,0xb3, +0x80,0x00,0x00,0x29,0x3f,0xff,0xfd,0xb3,0x80,0x00,0x00,0x2b,0x3f,0xff,0xfd,0xc0, +0x80,0x00,0x00,0x29,0x3f,0xff,0xfd,0xbb,0x80,0x00,0x00,0x2b,0x3f,0xff,0xfd,0xb9, +0x80,0x00,0x00,0x2c,0x3f,0xff,0xfd,0xf8,0x80,0x00,0x00,0x27,0x3f,0xff,0xfd,0xc9, +0x80,0x00,0x00,0x29,0x3f,0xff,0xfd,0xca,0x80,0x00,0x00,0x2b,0x3f,0xff,0xfd,0xcb, +0x80,0x00,0x00,0x2d,0x3f,0xff,0xfd,0xcc,0x80,0x00,0x00,0x2f,0x3f,0xff,0xfd,0xc9, +0x80,0x00,0x00,0x31,0x3f,0xff,0xfd,0xc9,0x80,0x00,0x00,0x33,0x3f,0xff,0xfd,0xc9, +0x80,0x00,0x00,0x35,0x00,0x00,0x00,0x34,0x00,0x00,0x00,0x69,0x80,0x00,0x00,0x38, +0x3f,0xff,0xfd,0xd9,0x80,0x00,0x00,0x38,0x3f,0xff,0xfd,0xd0,0x80,0x00,0x00,0x3a, +0x3f,0xff,0xfd,0xb7,0x80,0x00,0x00,0x3c,0x00,0x00,0x00,0x31,0x00,0x00,0x00,0x72, +0x80,0x00,0x00,0x3f,0x00,0x00,0x00,0x2e,0x00,0x00,0x00,0x75,0x80,0x00,0x00,0x42, +0x3f,0xff,0xfd,0xda,0x80,0x00,0x00,0x43,0x3f,0xff,0xfd,0xdc,0x80,0x00,0x00,0x44, +0x3f,0xff,0xfd,0xe4,0x80,0x00,0x00,0x44,0x3f,0xff,0xfd,0xec,0x80,0x00,0x00,0x44, +0x3f,0xff,0xfd,0xed,0x80,0x00,0x00,0x46,0x3f,0xff,0xfd,0xee,0x80,0x00,0x00,0x48, +0x3f,0xff,0xfd,0xea,0x80,0x00,0x00,0x4a,0x3f,0xff,0xfd,0xe8,0x80,0x00,0x00,0x4c, +0x00,0x00,0x00,0x20,0x80,0x00,0x00,0x4b,0x3f,0xff,0xfd,0xf7,0x80,0x00,0x00,0x4d, +0x3f,0xff,0xfd,0xee,0x80,0x00,0x00,0x4f,0x3f,0xff,0xfd,0xf9,0x80,0x00,0x00,0x4f, +0x3f,0xff,0xfd,0xf2,0x80,0x00,0x00,0x51,0x3f,0xff,0xfe,0x00,0x80,0x00,0x00,0x52, +0x3f,0xff,0xfe,0x01,0x80,0x00,0x00,0x54,0x3f,0xff,0xfe,0x02,0x80,0x00,0x00,0x56, +0x3f,0xff,0xfe,0x03,0x80,0x00,0x00,0x58,0x3f,0xff,0xfe,0x00,0x80,0x00,0x00,0x5a, +0x3f,0xff,0xfd,0xfe,0x80,0x00,0x00,0x5c,0x3f,0xff,0xfe,0x0b,0x80,0x00,0x00,0x5b, +0x3f,0xff,0xfe,0x02,0x80,0x00,0x00,0x5d,0x3f,0xff,0xfe,0x04,0x80,0x00,0x00,0x5e, +0x3f,0xff,0xfd,0xeb,0x80,0x00,0x00,0x60,0x3f,0xff,0xfe,0x08,0x80,0x00,0x00,0x61, +0x3f,0xff,0xfe,0x16,0x80,0x00,0x00,0x62,0x3f,0xff,0xfe,0x17,0x80,0x00,0x00,0x64, +0x3f,0xff,0xfe,0x18,0x80,0x00,0x00,0x66,0x3f,0xff,0xfe,0x14,0x80,0x00,0x00,0x68, +0x3f,0xff,0xfe,0x14,0x80,0x00,0x00,0x6a,0x3f,0xff,0xfe,0x14,0x80,0x00,0x00,0x6c, +0x3f,0xff,0xfe,0x21,0x80,0x00,0x00,0x6a,0x3f,0xff,0xfe,0x1c,0x80,0x00,0x00,0x6c, +0x3f,0xff,0xfe,0x1a,0x80,0x00,0x00,0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01, +0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x05, +0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x09, +0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0x0b,0x00,0x00,0x00,0x0c,0x00,0x00,0x00,0x0d, +0x00,0x00,0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00, +0x00,0x11,0x00,0x00,0x00,0x12,0x00,0x00,0x00,0x13,0x00,0x00,0x00,0x14,0x00,0x00, +0x00,0x15,0x00,0x00,0x00,0x16,0x00,0x00,0x00,0x17,0x00,0x00,0x00,0x18,0x00,0x00, +0x00,0x19,0x00,0x00,0x00,0x1a,0x00,0x00,0x00,0x1b,0x00,0x00,0x00,0x1c,0x00,0x00, +0x00,0x1d,0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x1f,0x00,0x00,0x00,0x20,0x00,0x00, +0x00,0x21,0x00,0x00,0x00,0x22,0x00,0x00,0x00,0x23,0x00,0x00,0x00,0x24,0x00,0x00, +0x00,0x25,0x00,0x00,0x00,0x26,0x00,0x00,0x00,0x27,0x00,0x00,0x00,0x28,0x00,0x00, +0x00,0x29,0x00,0x00,0x00,0x00,0x00,0x2a,0x00,0x00,0x00,0x2b,0x00,0x00,0x00,0x2c, +0x00,0x00,0x00,0x2d,0x00,0x00,0x00,0x2e,0x00,0x00,0x00,0x2f,0x00,0x00,0x00,0x30, +0x00,0x00,0x00,0x31,0x00,0x00,0x00,0x32,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x34, +0x00,0x00,0x00,0x35,0x00,0x00,0x00,0x36,0x00,0x00,0x00,0x37,0x00,0x00,0x00,0x38, +0x00,0x00,0x00,0x39,0x00,0x00,0x00,0x3a,0x00,0x00,0x00,0x3b,0x00,0x00,0x00,0x00, +0x00,0x3c,0x00,0x00,0x00,0x3d,0x00,0x00,0x00,0x3e,0x00,0x00,0x00,0x3f,0x00,0x00, +0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x42,0x00,0x00, +0x00,0x43,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x46,0x00,0x00, +0x00,0x47,0x00,0x00,0x00,0x48,0x00,0x00,0x00,0x49,0x00,0x00,0x00,0x4a,0x00,0x00, +0x00,0x4b,0x00,0x00,0x00,0x4c,0x00,0x00,0x00,0x4d,0x00,0x00,0x00,0x4e,0x00,0x00, +0x00,0x4f,0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x51,0x00,0x00,0x00,0x52,0x00,0x00, +0x00,0x53,0x00,0x00,0x00,0x54,0x00,0x00,0x00,0x55,0x00,0x00,0x00,0x56,0x00,0x00, +0x00,0x57,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x59,0x00,0x00,0x00,0x5a,0x00,0x00, +0x00,0x5b,0x00,0x00,0x00,0x5c,0x00,0x00,0x00,0x5d,0x00,0x00,0x00,0x5e,0x00,0x00, +0x00,0x5f,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x61,0x00,0x00,0x00,0x62,0x00,0x82, +0x00,0x83,0x00,0x84,0x00,0x85,0x00,0x86,0x00,0x87,0x01,0x8f,0x00,0xc8,0x00,0xce, +0x00,0x89,0x00,0xd0,0x00,0x8a,0x00,0x8b,0x00,0x8c,0x00,0x8d,0x00,0xdc,0x08,0x03, +0x00,0xe0,0x00,0x8e,0x00,0x8f,0x00,0x90,0x00,0xf2,0x00,0x91,0x01,0x91,0x01,0x01, +0x00,0xfb,0x00,0xff,0x00,0x93,0x01,0x09,0x00,0x94,0x00,0x95,0x00,0x96,0x00,0x97, +0x00,0x98,0x01,0x93,0x07,0xdd,0x01,0x16,0x01,0x1a,0x07,0xf8,0x01,0x22,0x01,0x20, +0x01,0x26,0x07,0xf9,0x00,0x9b,0x00,0x9c,0x00,0x9d,0x00,0x9e,0x01,0x30,0x01,0x95, +0x00,0x9f,0x01,0x3a,0x01,0x3f,0x06,0x21,0x00,0xa2,0x00,0xa3,0x00,0xa4,0x00,0xa5, +0x00,0xa6,0x00,0xa7,0x01,0x90,0x07,0xe8,0x00,0xc9,0x00,0xcf,0x00,0xa9,0x07,0xeb, +0x07,0xec,0x00,0xd1,0x00,0xdd,0x00,0xe1,0x00,0xae,0x00,0xaf,0x00,0xb0,0x00,0xb1, +0x01,0x92,0x01,0x02,0x00,0xfc,0x01,0x00,0x00,0xb3,0x01,0x0a,0x00,0xb4,0x00,0xb5, +0x00,0xb6,0x00,0xb7,0x00,0xb8,0x01,0x94,0x01,0x17,0x01,0x1b,0x01,0x23,0x01,0x21, +0x01,0x27,0x00,0xbb,0x00,0xbc,0x00,0xbd,0x00,0xbe,0x01,0x31,0x01,0x96,0x00,0xbf, +0x00,0xc1,0x01,0x40,0x00,0x00,0x07,0x4c,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x02, +0x00,0x00,0x00,0x22,0x00,0x00,0x00,0x1c,0x00,0x00,0x00,0xd0,0x00,0x00,0x04,0x88, +0x00,0x00,0x05,0x8a,0x00,0x00,0x06,0x86,0x00,0x00,0x07,0x04,0x00,0x04,0x00,0x06, +0x00,0x11,0x00,0x60,0x00,0x04,0x00,0x06,0x00,0x04,0x00,0x03,0x00,0x78,0x00,0x11, +0x00,0x11,0x00,0x7c,0x00,0x20,0x00,0x20,0x00,0x7e,0x00,0x22,0x00,0x22,0x00,0x80, +0x00,0x29,0x00,0x29,0x00,0x82,0x00,0x51,0x00,0x51,0x00,0x84,0x00,0x72,0x00,0x72, +0x00,0x86,0x02,0x70,0x02,0x70,0x00,0x88,0x02,0xa4,0x02,0xa4,0x00,0x8a,0x02,0xa7, +0x02,0xa6,0x00,0x8c,0x02,0xab,0x02,0xa9,0x00,0x90,0x02,0xae,0x02,0xad,0x00,0x96, +0x02,0xcb,0x02,0xca,0x00,0x9a,0x02,0xdb,0x02,0xdb,0x00,0x9e,0x05,0x06,0x04,0xff, +0x00,0xa0,0x07,0x8b,0x07,0x8b,0x00,0xb0,0x07,0x8e,0x07,0x8e,0x00,0xb2,0xff,0xff, +0xff,0xff,0x00,0x00,0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x09, +0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x0f,0x00,0x10,0x00,0x11, +0x00,0x12,0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x19, +0x00,0x1a,0x00,0x1b,0x00,0x1c,0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x20,0x00,0x21, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04, +0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x08,0x00,0x09,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02, +0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x07,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x09,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x06, +0x00,0x07,0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x0f,0x00,0x10, +0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x00,0x00,0x14,0x00,0x15,0x00,0x16,0x00,0x17, +0x00,0x18,0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x08,0x00,0x09,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x1c,0x00,0x03,0x00,0x04,0x00,0x1d,0x00,0x00, +0x00,0x00,0x00,0x06,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x09, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x1e,0x00,0x04, +0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x08,0x00,0x09,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02, +0x00,0x1f,0x00,0x04,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x07,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x09,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x06, +0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x09,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x21,0x00,0x03,0x00,0x04,0x00,0x22,0x00,0x00, +0x00,0x00,0x00,0x06,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x09, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04, +0x00,0x05,0x00,0x23,0x00,0x00,0x00,0x06,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x08,0x00,0x09,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02, +0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x00,0x00,0x24,0x00,0x06,0x00,0x07,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x09,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x06, +0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x25,0x00,0x09,0x00,0x26,0x00,0x26, +0x00,0x26,0x00,0x26,0x00,0x26,0x00,0x26,0x00,0x26,0x00,0x26,0x00,0x26,0x00,0x26, +0x00,0x26,0x00,0x26,0x00,0x26,0x00,0x26,0x00,0x26,0x00,0x26,0x00,0x26,0x00,0x26, +0x00,0x26,0x00,0x26,0x00,0x26,0x00,0x26,0x00,0x26,0x00,0x26,0x00,0x26,0x00,0x26, +0x00,0x26,0x00,0x26,0x00,0x26,0x00,0x26,0x00,0x26,0x00,0x26,0x00,0x27,0x00,0x26, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04, +0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x08,0x00,0x28,0x00,0x29,0x00,0x29,0x00,0x29,0x00,0x29,0x00,0x29,0x00,0x29, +0x00,0x29,0x00,0x29,0x00,0x29,0x00,0x29,0x00,0x29,0x00,0x29,0x00,0x29,0x00,0x29, +0x00,0x29,0x00,0x29,0x00,0x29,0x00,0x29,0x00,0x29,0x00,0x29,0x00,0x29,0x00,0x29, +0x00,0x29,0x00,0x29,0x00,0x29,0x00,0x29,0x00,0x29,0x00,0x29,0x00,0x29,0x00,0x29, +0x00,0x29,0x00,0x29,0x00,0x29,0x00,0x2a,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02, +0x80,0x00,0x00,0x00,0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x04,0x80,0x00,0x00,0x00, +0x00,0x06,0x80,0x00,0x00,0x00,0x00,0x07,0x80,0x00,0x00,0x00,0x00,0x08,0x80,0x00, +0x00,0x00,0x00,0x09,0x80,0x00,0x00,0x00,0x00,0x0a,0x80,0x00,0x00,0x00,0x00,0x0c, +0x80,0x00,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x02, +0x00,0x00,0xa0,0x00,0x00,0x04,0x00,0x00,0xa0,0x00,0x00,0x06,0x00,0x00,0xa0,0x00, +0x00,0x08,0x00,0x00,0xa0,0x00,0x00,0x0a,0x00,0x00,0xa0,0x00,0x00,0x0c,0x00,0x00, +0xa0,0x00,0x00,0x0e,0x00,0x00,0xa0,0x00,0x00,0x10,0x00,0x00,0xa0,0x00,0x00,0x12, +0x00,0x00,0xa0,0x00,0x00,0x14,0x00,0x00,0xa0,0x00,0x00,0x16,0x00,0x00,0xa0,0x00, +0x00,0x18,0x00,0x00,0xa0,0x00,0x00,0x1a,0x00,0x00,0xa0,0x00,0x00,0x1c,0x00,0x00, +0xa0,0x00,0x00,0x1e,0x00,0x00,0xa0,0x00,0x00,0x20,0x00,0x00,0xa0,0x00,0x00,0x22, +0x00,0x00,0xa0,0x00,0x00,0x24,0x00,0x00,0xa0,0x00,0x00,0x26,0x00,0x05,0x80,0x00, +0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x28,0x00,0x00,0xa0,0x00,0x00,0x2b,0x00,0x00, +0xa0,0x00,0x00,0x2d,0x00,0x00,0xa0,0x00,0x00,0x2f,0x00,0x00,0xa0,0x00,0x00,0x31, +0x00,0x00,0xa0,0x00,0x00,0x33,0x00,0x0b,0x80,0x00,0x00,0x00,0x00,0x00,0x60,0x00, +0x00,0x35,0x00,0x00,0xa0,0x00,0x00,0x37,0x00,0x0d,0x80,0x00,0x00,0x00,0x00,0x00, +0x60,0x00,0x00,0x3a,0x00,0x00,0xa0,0x00,0x00,0x3c,0x3f,0xff,0xfd,0x5c,0xbf,0xff, +0xff,0xfe,0x3f,0xff,0xfd,0x5c,0x80,0x00,0x00,0x00,0x3f,0xff,0xfd,0x5d,0x80,0x00, +0x00,0x02,0x3f,0xff,0xfd,0x5d,0x80,0x00,0x00,0x04,0x3f,0xff,0xfd,0x5e,0x80,0x00, +0x00,0x06,0x3f,0xff,0xfd,0x5f,0x80,0x00,0x00,0x08,0x3f,0xff,0xfd,0x5f,0x80,0x00, +0x00,0x0a,0x3f,0xff,0xfd,0x60,0x80,0x00,0x00,0x0c,0x3f,0xff,0xfd,0x46,0x80,0x00, +0x00,0x0e,0x3f,0xff,0xfd,0x47,0x80,0x00,0x00,0x10,0x3f,0xff,0xfb,0x15,0x80,0x00, +0x00,0x12,0x3f,0xff,0xfb,0x16,0x80,0x00,0x00,0x14,0x3f,0xff,0xfb,0x17,0x80,0x00, +0x00,0x16,0x3f,0xff,0xfb,0x18,0x80,0x00,0x00,0x18,0x3f,0xff,0xfb,0x19,0x80,0x00, +0x00,0x1a,0x3f,0xff,0xfb,0x1a,0x80,0x00,0x00,0x1c,0x3f,0xff,0xfb,0x1b,0x80,0x00, +0x00,0x1e,0x3f,0xff,0xfb,0x1c,0x80,0x00,0x00,0x20,0x00,0x00,0x00,0x20,0x80,0x00, +0x00,0x21,0x00,0x00,0x00,0x04,0x80,0x00,0x00,0x23,0x00,0x00,0x00,0x17,0x00,0x00, +0x00,0x18,0x80,0x00,0x00,0x19,0x3f,0xff,0xfd,0x50,0x80,0x00,0x00,0x0c,0x00,0x00, +0x00,0x29,0x80,0x00,0x00,0x0c,0x00,0x00,0x00,0x0d,0x80,0x00,0x00,0x0e,0x00,0x00, +0x00,0x08,0xbf,0xff,0xff,0xc0,0x3f,0xff,0xff,0xe2,0xbf,0xff,0xfd,0xc4,0x3f,0xff, +0xf8,0xaa,0xbf,0xff,0xf8,0xab,0x3f,0xff,0xf8,0xac,0x3f,0xff,0xf8,0xad,0xbf,0xff, +0xf8,0xae,0x3f,0xff,0xf8,0xac,0xbf,0xff,0xf8,0xad,0x3f,0xff,0xf8,0xae,0x3f,0xff, +0xf8,0xaf,0xbf,0xff,0xf8,0xb0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00, +0x00,0x02,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x05,0x00,0x00, +0x00,0x06,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x09,0x00,0x00, +0x00,0x0a,0x00,0x00,0x00,0x0b,0x00,0x00,0x00,0x0c,0x00,0x00,0x00,0x0d,0x00,0x00, +0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x11,0x00,0x00, +0x00,0x12,0x00,0x00,0x00,0x13,0x00,0x00,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0x15, +0x00,0x00,0x00,0x16,0x00,0x00,0x00,0x17,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x19, +0x00,0x00,0x00,0x1a,0x00,0x00,0x00,0x00,0x00,0x1b,0x00,0x00,0x00,0x1c,0x00,0x00, +0x00,0x00,0x00,0x1d,0x00,0x76,0x02,0x90,0x00,0x71,0x02,0x8c,0x02,0x8d,0x00,0x6a, +0x02,0x8e,0x02,0x91,0x00,0x7a,0x02,0x8f,0x0b,0x5a,0x0b,0x5c,0x0b,0x5e,0x0b,0x5f, +0x0b,0x61,0x0b,0x63,0x0b,0x65,0x0b,0x67,0x07,0x95,0x07,0xa2,0x07,0x87,0x08,0xc8, +0x07,0xa1,0x07,0xa0,0x07,0xed,0x01,0x0b,0x07,0x8c,0x07,0x8d,0x07,0x8f,0x07,0x90, +0x00,0x00,0x03,0x74,0x40,0x00,0x00,0x02,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x16, +0x00,0x00,0x00,0x1c,0x00,0x00,0x00,0x88,0x00,0x00,0x01,0xe8,0x00,0x00,0x02,0x78, +0x00,0x00,0x03,0x00,0x00,0x00,0x03,0x44,0x00,0x04,0x00,0x06,0x00,0x09,0x00,0x30, +0x00,0x03,0x00,0x06,0x04,0xe0,0x04,0xe0,0x00,0x48,0x04,0xf4,0x04,0xf4,0x00,0x4a, +0x04,0xfc,0x04,0xfc,0x00,0x4c,0x04,0xff,0x04,0xfe,0x00,0x4e,0x05,0x09,0x05,0x02, +0x00,0x52,0x0b,0x6b,0x0b,0x6b,0x00,0x62,0x0b,0x6d,0x0b,0x6d,0x00,0x64,0x0b,0x71, +0x0b,0x71,0x00,0x66,0x0b,0xc9,0x0b,0xc8,0x00,0x68,0xff,0xff,0xff,0xff,0x00,0x00, +0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x09,0x00,0x0a,0x00,0x0b, +0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12,0x00,0x13, +0x00,0x14,0x00,0x15,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02, +0x00,0x03,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x06, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x06,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x00,0x08,0x00,0x09,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d, +0x00,0x0e,0x00,0x0f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x05,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02, +0x00,0x03,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x06, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x11, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x06,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x12, +0x00,0x13,0x00,0x14,0x00,0x05,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x15,0x00,0x16,0x00,0x17, +0x00,0x05,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x80,0x00,0x00,0x00, +0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x04,0x80,0x00,0x00,0x00,0x00,0x05,0x80,0x00, +0x00,0x00,0x00,0x06,0x80,0x00,0x00,0x00,0x00,0x07,0x80,0x00,0x00,0x00,0x00,0x00, +0xa0,0x00,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x02,0x00,0x00,0xa0,0x00,0x00,0x04, +0x00,0x00,0xa0,0x00,0x00,0x06,0x00,0x00,0xa0,0x00,0x00,0x08,0x00,0x00,0xa0,0x00, +0x00,0x0a,0x00,0x00,0xa0,0x00,0x00,0x0c,0x00,0x00,0xa0,0x00,0x00,0x0e,0x00,0x00, +0xa0,0x00,0x00,0x10,0x00,0x00,0xa0,0x00,0x00,0x12,0x00,0x00,0xa0,0x00,0x00,0x14, +0x00,0x00,0xa0,0x00,0x00,0x16,0x00,0x00,0xa0,0x00,0x00,0x18,0x00,0x00,0xa0,0x00, +0x00,0x1a,0x00,0x00,0xa0,0x00,0x00,0x1c,0x00,0x00,0xa0,0x00,0x00,0x1e,0x00,0x00, +0xa0,0x00,0x00,0x20,0x3f,0xff,0xfa,0xf9,0xbf,0xff,0xfb,0x21,0x3f,0xff,0xfa,0xfa, +0xbf,0xff,0xfb,0x23,0x3f,0xff,0xfa,0xfb,0xbf,0xff,0xfb,0x25,0x3f,0xff,0xfb,0x07, +0xbf,0xff,0xfb,0x13,0x3f,0xff,0xfb,0x06,0xbf,0xff,0xfb,0x15,0x3f,0xff,0xfb,0x07, +0xbf,0xff,0xfb,0x17,0x3f,0xff,0xfb,0x08,0xbf,0xff,0xfb,0x19,0x3f,0xff,0xfb,0x09, +0xbf,0xff,0xfb,0x1b,0x3f,0xff,0xfb,0x0a,0xbf,0xff,0xfb,0x1d,0x3f,0xff,0xfb,0x0a, +0xbf,0xff,0xfb,0x17,0x3f,0xff,0xfb,0x0c,0xbf,0xff,0xfb,0x17,0x3f,0xff,0xf4,0xab, +0xbf,0xff,0xf4,0x4f,0x3f,0xff,0xf4,0xab,0xbf,0xff,0xf4,0x51,0x3f,0xff,0xf4,0xa9, +0xbf,0xff,0xf4,0x53,0x3f,0xff,0xf4,0xb1,0xbf,0xff,0xf4,0x54,0x3f,0xff,0xf4,0xb1, +0xbf,0xff,0xf4,0x56,0x3f,0xff,0xf4,0xaf,0xbf,0xff,0xf4,0x58,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x04, +0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x08, +0x00,0x00,0x00,0x09,0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0x0b,0x00,0x00,0x00,0x0c, +0x00,0x00,0x00,0x0d,0x00,0x00,0x00,0x0e,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x10, +0x04,0xdb,0x04,0xdc,0x04,0xde,0x0b,0x5b,0x0b,0x60,0x0b,0x62,0x0b,0x64,0x0b,0x66, +0x0b,0x68,0x04,0xdd,0x04,0xdf,0x0b,0xde,0x0b,0xe0,0x0b,0xe2,0x0b,0xdf,0x0b,0xe1, +0x0b,0xe3,0x00,0x00,0x00,0x00,0x02,0x88,0x40,0x00,0x00,0x02,0x00,0x00,0x00,0x02, +0x00,0x00,0x00,0x17,0x00,0x00,0x00,0x1c,0x00,0x00,0x00,0x7e,0x00,0x00,0x01,0x08, +0x00,0x00,0x01,0x80,0x00,0x00,0x02,0x10,0x00,0x00,0x02,0x58,0x00,0x04,0x00,0x06, +0x00,0x07,0x00,0x18,0x00,0x02,0x00,0x12,0x00,0x03,0x00,0x03,0x00,0x3c,0x02,0xa4, +0x02,0xa4,0x00,0x3e,0x02,0xa7,0x02,0xa6,0x00,0x40,0x02,0xab,0x02,0xa9,0x00,0x44, +0x02,0xae,0x02,0xad,0x00,0x4a,0x02,0xcb,0x02,0xca,0x00,0x4e,0x05,0x06,0x04,0xff, +0x00,0x52,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07, +0x00,0x08,0x00,0x09,0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x0f, +0x00,0x10,0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x16,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07, +0x00,0x08,0x00,0x09,0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x0f, +0x00,0x10,0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02, +0x80,0x00,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x02, +0x00,0x00,0xa0,0x00,0x00,0x04,0x00,0x00,0xa0,0x00,0x00,0x06,0x00,0x00,0xa0,0x00, +0x00,0x08,0x00,0x00,0xa0,0x00,0x00,0x0a,0x00,0x00,0xa0,0x00,0x00,0x0c,0x00,0x00, +0xa0,0x00,0x00,0x0e,0x00,0x00,0xa0,0x00,0x00,0x10,0x00,0x00,0xa0,0x00,0x00,0x12, +0x00,0x00,0xa0,0x00,0x00,0x14,0x00,0x00,0xa0,0x00,0x00,0x16,0x00,0x00,0xa0,0x00, +0x00,0x18,0x00,0x00,0xa0,0x00,0x00,0x1a,0x00,0x00,0xa0,0x00,0x00,0x1c,0x00,0x00, +0xa0,0x00,0x00,0x1e,0x00,0x00,0xa0,0x00,0x00,0x20,0x00,0x00,0xa0,0x00,0x00,0x22, +0x3f,0xff,0xfd,0x5c,0xbf,0xff,0xff,0xfe,0x3f,0xff,0xfd,0x5c,0x80,0x00,0x00,0x00, +0x3f,0xff,0xfd,0x5d,0x80,0x00,0x00,0x02,0x3f,0xff,0xfd,0x5d,0x80,0x00,0x00,0x04, +0x3f,0xff,0xfd,0x5e,0x80,0x00,0x00,0x06,0x3f,0xff,0xfd,0x5f,0x80,0x00,0x00,0x08, +0x3f,0xff,0xfd,0x5f,0x80,0x00,0x00,0x0a,0x3f,0xff,0xfd,0x60,0x80,0x00,0x00,0x0c, +0x3f,0xff,0xfd,0x46,0x80,0x00,0x00,0x0e,0x3f,0xff,0xfd,0x47,0x80,0x00,0x00,0x10, +0x3f,0xff,0xfb,0x15,0x80,0x00,0x00,0x12,0x3f,0xff,0xfb,0x16,0x80,0x00,0x00,0x14, +0x3f,0xff,0xfb,0x17,0x80,0x00,0x00,0x16,0x3f,0xff,0xfb,0x18,0x80,0x00,0x00,0x18, +0x3f,0xff,0xfb,0x19,0x80,0x00,0x00,0x1a,0x3f,0xff,0xfb,0x1a,0x80,0x00,0x00,0x1c, +0x3f,0xff,0xfb,0x1b,0x80,0x00,0x00,0x1e,0x3f,0xff,0xfb,0x1c,0x80,0x00,0x00,0x20, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x03, +0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x07, +0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x09,0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0x0b, +0x00,0x00,0x00,0x0c,0x00,0x00,0x00,0x0d,0x00,0x00,0x00,0x0e,0x00,0x00,0x00,0x0f, +0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x11,0x00,0x76,0x02,0x90,0x00,0x71,0x02,0x8c, +0x02,0x8d,0x00,0x6a,0x02,0x8e,0x02,0x91,0x00,0x7a,0x02,0x8f,0x0b,0x5a,0x0b,0x5c, +0x0b,0x5e,0x0b,0x5f,0x0b,0x61,0x0b,0x63,0x0b,0x65,0x0b,0x67,0x00,0x00,0x01,0x70, +0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x0b,0x00,0x00,0x00,0x1c, +0x00,0x00,0x00,0x66,0x00,0x00,0x00,0xd4,0x00,0x00,0x01,0x10,0x00,0x00,0x01,0x40, +0x00,0x00,0x01,0x58,0x00,0x04,0x00,0x06,0x00,0x07,0x00,0x18,0x00,0x02,0x00,0x12, +0x04,0xb1,0x04,0xb1,0x00,0x3c,0x04,0xb7,0x04,0xb7,0x00,0x3e,0x04,0xb9,0x04,0xb9, +0x00,0x40,0x04,0xc0,0x04,0xc0,0x00,0x42,0x04,0xc2,0x04,0xc2,0x00,0x44,0x04,0xca, +0x04,0xca,0x00,0x46,0x04,0xce,0x04,0xce,0x00,0x48,0xff,0xff,0xff,0xff,0x00,0x00, +0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x09,0x00,0x0a,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00, +0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00, +0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x03,0x00,0x04, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x02, +0x00,0x08,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01, +0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x09,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x02,0x80,0x00,0x00,0x00,0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x04, +0x80,0x00,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x02, +0x00,0x00,0xa0,0x00,0x00,0x04,0x00,0x00,0xa0,0x00,0x00,0x06,0x00,0x00,0xa0,0x00, +0x00,0x08,0x00,0x00,0xa0,0x00,0x00,0x0a,0x3f,0xff,0xfb,0x32,0xbf,0xff,0xfb,0x50, +0x3f,0xff,0xfb,0x51,0xbf,0xff,0xfb,0x43,0x3f,0xff,0xfb,0x4d,0xbf,0xff,0xfb,0x45, +0x3f,0xff,0xfb,0x4d,0xbf,0xff,0xfb,0x47,0x3f,0xff,0xfb,0x46,0xbf,0xff,0xfb,0x49, +0x3f,0xff,0xfb,0x48,0xbf,0xff,0xfb,0x41,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01, +0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x05, +0x04,0xd3,0x0b,0x12,0x0b,0x13,0x0b,0x15,0x0b,0x11,0x0b,0x14,0x00,0x00,0x01,0x54, +0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x09,0x00,0x00,0x00,0x1c, +0x00,0x00,0x00,0x50,0x00,0x00,0x00,0xaa,0x00,0x00,0x00,0xe6,0x00,0x00,0x01,0x1e, +0x00,0x00,0x01,0x3a,0x00,0x04,0x00,0x06,0x00,0x04,0x00,0x18,0x00,0x02,0x00,0x00, +0x00,0x49,0x00,0x49,0x00,0x2a,0x00,0x4c,0x00,0x4c,0x00,0x2c,0x00,0x4f,0x00,0x4f, +0x00,0x2e,0x00,0x57,0x00,0x56,0x00,0x30,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x04, +0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x02,0x00,0x00,0x00,0x06, +0x00,0x06,0x00,0x06,0x00,0x06,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x06,0x00,0x06, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x02, +0x00,0x09,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x80,0x00,0x00,0x00,0x00,0x04, +0x80,0x00,0x00,0x00,0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x00, +0x00,0x00,0xa0,0x00,0x00,0x02,0x00,0x00,0x60,0x00,0x00,0x04,0x00,0x00,0xa0,0x00, +0x00,0x06,0x00,0x00,0xa0,0x00,0x00,0x09,0x00,0x00,0xa0,0x00,0x00,0x0c,0x3f,0xff, +0xff,0xb4,0xbf,0xff,0xff,0xb8,0x3f,0xff,0xff,0xb3,0xbf,0xff,0xff,0xba,0x3f,0xff, +0xff,0xbb,0xbf,0xff,0xff,0xbc,0x3f,0xff,0xff,0xba,0x3f,0xff,0xff,0xbe,0xbf,0xff, +0xff,0xbf,0x3f,0xff,0xff,0xba,0x3f,0xff,0xff,0xc1,0xbf,0xff,0xff,0xc2,0x3f,0xff, +0xff,0xb5,0xbf,0xff,0xff,0xb7,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00, +0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00, +0x00,0x05,0x0b,0x0b,0x0b,0x0c,0x0b,0x0a,0x0b,0x0d,0x0b,0x0e,0x0b,0x10,0x00,0x00, +0x00,0x00,0x06,0x38,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x0e, +0x00,0x00,0x00,0x1c,0x00,0x00,0x00,0x54,0x00,0x00,0x02,0x84,0x00,0x00,0x03,0xb6, +0x00,0x00,0x05,0x2e,0x00,0x00,0x05,0xea,0x00,0x04,0x00,0x06,0x00,0x03,0x00,0x0c, +0x00,0x01,0x00,0x06,0x00,0x12,0x00,0x12,0x00,0x24,0x00,0x1b,0x00,0x14,0x00,0x26, +0x07,0x9d,0x07,0x9d,0x00,0x36,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x04,0x00,0x05, +0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x09,0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03, +0x00,0x04,0x00,0x05,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05, +0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x07,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x00,0x00,0x06, +0x00,0x00,0x00,0x08,0x00,0x09,0x00,0x09,0x00,0x09,0x00,0x09,0x00,0x09,0x00,0x09, +0x00,0x0a,0x00,0x0b,0x00,0x0c,0x00,0x0d,0x00,0x0e,0x00,0x09,0x00,0x0f,0x00,0x09, +0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x11,0x00,0x12, +0x00,0x13,0x00,0x14,0x00,0x15,0x00,0x10,0x00,0x16,0x00,0x10,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x17,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05, +0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x19,0x00,0x04,0x00,0x1a,0x00,0x00,0x00,0x06, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01, +0x00,0x02,0x00,0x1b,0x00,0x04,0x00,0x1c,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1d,0x00,0x01,0x00,0x02,0x00,0x03, +0x00,0x04,0x00,0x05,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x1f,0x00,0x20, +0x00,0x00,0x00,0x06,0x00,0x21,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x22,0x00,0x23,0x00,0x00,0x00,0x06, +0x00,0x24,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x25,0x00,0x01, +0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x26, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03, +0x00,0x04,0x00,0x27,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x28, +0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x29,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x00,0x00,0x06, +0x00,0x00,0x00,0x2a,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01, +0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x2b,0x00,0x06,0x00,0x2c,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03, +0x00,0x04,0x00,0x05,0x00,0x2d,0x00,0x06,0x00,0x2e,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x2f,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05, +0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x30,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x00,0x00,0x06, +0x00,0x31,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01, +0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x00,0x00,0x06,0x00,0x32,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x80,0x00,0x00,0x00,0x00,0x05,0x80,0x00, +0x00,0x00,0x00,0x08,0x80,0x00,0x00,0x00,0x00,0x0b,0x80,0x00,0x00,0x00,0x00,0x0e, +0x80,0x00,0x00,0x00,0x00,0x11,0x80,0x00,0x00,0x00,0x00,0x04,0x80,0x00,0x00,0x00, +0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x00,0xa0,0x00, +0x00,0x02,0x00,0x00,0xa0,0x00,0x00,0x05,0x00,0x00,0xa0,0x00,0x00,0x08,0x00,0x00, +0xa0,0x00,0x00,0x0b,0x00,0x00,0xa0,0x00,0x00,0x0e,0x00,0x00,0xa0,0x00,0x00,0x11, +0x00,0x00,0x60,0x00,0x00,0x14,0x00,0x00,0xa0,0x00,0x00,0x16,0x00,0x00,0xa0,0x00, +0x00,0x19,0x00,0x00,0xa0,0x00,0x00,0x1c,0x00,0x00,0xa0,0x00,0x00,0x1f,0x00,0x00, +0xa0,0x00,0x00,0x22,0x00,0x00,0xa0,0x00,0x00,0x25,0x00,0x07,0x80,0x00,0x00,0x00, +0x00,0x06,0x80,0x00,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x28,0x00,0x00,0xa0,0x00, +0x00,0x2b,0x00,0x00,0xa0,0x00,0x00,0x2e,0x00,0x00,0xa0,0x00,0x00,0x31,0x00,0x0a, +0x80,0x00,0x00,0x00,0x00,0x09,0x80,0x00,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x34, +0x00,0x00,0xa0,0x00,0x00,0x37,0x00,0x00,0xa0,0x00,0x00,0x3a,0x00,0x00,0xa0,0x00, +0x00,0x3d,0x00,0x00,0xa0,0x00,0x00,0x40,0x00,0x00,0xa0,0x00,0x00,0x43,0x00,0x0d, +0x80,0x00,0x00,0x00,0x00,0x0c,0x80,0x00,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x46, +0x00,0x00,0xa0,0x00,0x00,0x49,0x00,0x10,0x80,0x00,0x00,0x00,0x00,0x0f,0x80,0x00, +0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x4c,0x00,0x00,0xa0,0x00,0x00,0x4f,0x00,0x00, +0xa0,0x00,0x00,0x52,0x00,0x00,0xa0,0x00,0x00,0x55,0x00,0x13,0x80,0x00,0x00,0x00, +0x00,0x12,0x80,0x00,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x58,0x00,0x00,0xa0,0x00, +0x00,0x5b,0x3f,0xff,0xf8,0x63,0xbf,0xff,0xff,0xed,0x3f,0xff,0xff,0xed,0x3f,0xff, +0xf8,0x66,0xbf,0xff,0xff,0xf0,0x3f,0xff,0xff,0xef,0x3f,0xff,0xf8,0x69,0xbf,0xff, +0xff,0xf3,0x3f,0xff,0xff,0xf1,0x3f,0xff,0xf8,0x6c,0xbf,0xff,0xff,0xf6,0x3f,0xff, +0xff,0xf3,0x3f,0xff,0xf8,0x6f,0xbf,0xff,0xff,0xf9,0x3f,0xff,0xff,0xf5,0x3f,0xff, +0xf8,0x72,0xbf,0xff,0xff,0xfc,0x3f,0xff,0xff,0xf6,0x3f,0xff,0xf8,0x75,0xbf,0xff, +0xff,0xff,0x00,0x00,0x00,0x02,0x80,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00, +0x00,0x05,0x80,0x00,0x00,0x04,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x08,0x80,0x00, +0x00,0x07,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x0b,0x80,0x00,0x00,0x0a,0x00,0x00, +0x00,0x07,0x00,0x00,0x00,0x0e,0x80,0x00,0x00,0x0d,0x00,0x00,0x00,0x09,0x00,0x00, +0x00,0x11,0x80,0x00,0x00,0x10,0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0x14,0x80,0x00, +0x00,0x13,0x00,0x00,0x00,0x12,0x3f,0xff,0xf8,0x8c,0x80,0x00,0x00,0x15,0x00,0x00, +0x00,0x13,0x3f,0xff,0xf8,0x8f,0x80,0x00,0x00,0x18,0x00,0x00,0x00,0x18,0x00,0x00, +0x00,0x1d,0x80,0x00,0x00,0x1b,0x00,0x00,0x00,0x19,0x00,0x00,0x00,0x20,0x80,0x00, +0x00,0x1e,0x00,0x00,0x00,0x1d,0x3f,0xff,0xf8,0x98,0x80,0x00,0x00,0x20,0x00,0x00, +0x00,0x1f,0x3f,0xff,0xf8,0x9b,0x80,0x00,0x00,0x23,0x00,0x00,0x00,0x1f,0x3f,0xff, +0xf8,0x9e,0x80,0x00,0x00,0x26,0x00,0x00,0x00,0x26,0x00,0x00,0x00,0x2c,0x80,0x00, +0x00,0x29,0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x2f,0x80,0x00,0x00,0x2c,0x00,0x00, +0x00,0x28,0x00,0x00,0x00,0x32,0x80,0x00,0x00,0x2f,0x00,0x00,0x00,0x2e,0x3f,0xff, +0xf8,0xaa,0x80,0x00,0x00,0x31,0x00,0x00,0x00,0x31,0x00,0x00,0x00,0x38,0x80,0x00, +0x00,0x34,0x00,0x00,0x00,0x33,0x3f,0xff,0xf8,0xb0,0x80,0x00,0x00,0x36,0x00,0x00, +0x00,0x34,0x3f,0xff,0xf8,0xb3,0x80,0x00,0x00,0x39,0x00,0x00,0x00,0x39,0x00,0x00, +0x00,0x41,0x80,0x00,0x00,0x3c,0x00,0x00,0x00,0x3a,0x00,0x00,0x00,0x44,0x80,0x00, +0x00,0x3f,0x00,0x00,0x00,0x3d,0x3f,0xff,0xf8,0xbc,0x80,0x00,0x00,0x40,0x00,0x00, +0x00,0x40,0x00,0x00,0x00,0x4a,0x80,0x00,0x00,0x43,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x03, +0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x00, +0x00,0x06,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x00, +0x00,0x09,0x00,0x00,0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0x00,0x00,0x0b,0x00,0x00, +0x00,0x00,0x00,0x0c,0x00,0x00,0x00,0x00,0x00,0x0d,0x00,0x00,0x00,0x00,0x00,0x0e, +0x00,0x00,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00, +0x00,0x11,0x00,0x00,0x00,0x00,0x00,0x12,0x00,0x00,0x00,0x00,0x00,0x13,0x00,0x00, +0x00,0x00,0x00,0x14,0x00,0x00,0x00,0x00,0x00,0x15,0x00,0x00,0x00,0x00,0x00,0x16, +0x00,0x00,0x00,0x00,0x00,0x17,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00, +0x00,0x19,0x00,0x00,0x00,0x00,0x00,0x1a,0x00,0x00,0x00,0x00,0x00,0x1b,0x00,0x00, +0x00,0x00,0x00,0x1c,0x00,0x00,0x00,0x00,0x00,0x1d,0x00,0x00,0x00,0x00,0x00,0x1e, +0x00,0x00,0x00,0x00,0x00,0x1f,0x08,0x11,0x00,0x7f,0x08,0x05,0x00,0x7e,0x08,0x07, +0x08,0x0b,0x08,0x0d,0x08,0x11,0x00,0x7f,0x08,0x05,0x00,0x7e,0x08,0x07,0x08,0x0b, +0x08,0x0d,0x08,0x06,0x08,0x08,0x08,0x06,0x08,0x08,0x00,0x80,0x08,0x09,0x08,0x0e, +0x00,0x80,0x08,0x09,0x08,0x0e,0x08,0x0a,0x08,0x0a,0x08,0x0c,0x08,0x0f,0x08,0x0c, +0x08,0x0f,0x08,0x10,0x08,0x10,0x00,0x00,0x00,0x00,0x00,0x40,0x03,0x06,0x00,0x01, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x5f,0x00,0xc0,0x00,0x01,0x00,0x00,0x00,0x00, +0x00,0x01,0x00,0x0b,0x01,0x38,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x04, +0x01,0x4e,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x0b,0x01,0x6b,0x00,0x01, +0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x0b,0x01,0x8f,0x00,0x01,0x00,0x00,0x00,0x00, +0x00,0x05,0x00,0x0b,0x01,0xb3,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x0a, +0x01,0xd5,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x11,0x02,0x04,0x00,0x01, +0x00,0x00,0x00,0x00,0x00,0x0b,0x00,0x1d,0x02,0x52,0x00,0x01,0x00,0x00,0x00,0x00, +0x00,0x0d,0x09,0x93,0x15,0x98,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x0e,0x00,0x34, +0x1f,0x96,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x09,0x1f,0xcb,0x00,0x01, +0x00,0x00,0x00,0x00,0x01,0x01,0x00,0x12,0x1f,0xfc,0x00,0x01,0x00,0x00,0x00,0x00, +0x01,0x02,0x00,0x09,0x20,0x3b,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0x03,0x00,0x18, +0x20,0x57,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0x04,0x00,0x12,0x20,0xde,0x00,0x01, +0x00,0x00,0x00,0x00,0x01,0x05,0x00,0x10,0x21,0x17,0x00,0x01,0x00,0x00,0x00,0x00, +0x01,0x06,0x00,0x0e,0x21,0x7e,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0x07,0x00,0x07, +0x21,0xd0,0x00,0x01,0x00,0x00,0x00,0x00,0x01,0x08,0x00,0x12,0x21,0xf6,0x00,0x01, +0x00,0x00,0x00,0x00,0x01,0x09,0x00,0x11,0x22,0x56,0x00,0x01,0x00,0x00,0x00,0x01, +0x01,0x00,0x00,0x09,0x1f,0xd5,0x00,0x01,0x00,0x00,0x00,0x01,0x01,0x01,0x00,0x17, +0x20,0x0f,0x00,0x01,0x00,0x00,0x00,0x01,0x01,0x02,0x00,0x09,0x20,0x45,0x00,0x01, +0x00,0x00,0x00,0x01,0x01,0x03,0x00,0x18,0x20,0x70,0x00,0x01,0x00,0x00,0x00,0x01, +0x01,0x04,0x00,0x12,0x20,0xf1,0x00,0x01,0x00,0x00,0x00,0x01,0x01,0x05,0x00,0x12, +0x21,0x28,0x00,0x01,0x00,0x00,0x00,0x01,0x01,0x06,0x00,0x0f,0x21,0x8d,0x00,0x01, +0x00,0x00,0x00,0x01,0x01,0x07,0x00,0x15,0x21,0xd8,0x00,0x01,0x00,0x00,0x00,0x01, +0x01,0x08,0x00,0x16,0x22,0x09,0x00,0x01,0x00,0x00,0x00,0x01,0x01,0x09,0x00,0x1f, +0x22,0x68,0x00,0x01,0x00,0x00,0x00,0x02,0x01,0x00,0x00,0x09,0x1f,0xdf,0x00,0x01, +0x00,0x00,0x00,0x02,0x01,0x03,0x00,0x21,0x20,0x89,0x00,0x01,0x00,0x00,0x00,0x02, +0x01,0x05,0x00,0x11,0x21,0x3b,0x00,0x01,0x00,0x00,0x00,0x02,0x01,0x06,0x00,0x11, +0x21,0x9d,0x00,0x01,0x00,0x00,0x00,0x02,0x01,0x08,0x00,0x10,0x22,0x20,0x00,0x01, +0x00,0x00,0x00,0x02,0x01,0x09,0x00,0x17,0x22,0x88,0x00,0x01,0x00,0x00,0x00,0x03, +0x01,0x00,0x00,0x08,0x1f,0xe9,0x00,0x01,0x00,0x00,0x00,0x03,0x01,0x03,0x00,0x15, +0x20,0xab,0x00,0x01,0x00,0x00,0x00,0x03,0x01,0x05,0x00,0x13,0x21,0x4d,0x00,0x01, +0x00,0x00,0x00,0x03,0x01,0x06,0x00,0x0d,0x21,0xaf,0x00,0x01,0x00,0x00,0x00,0x03, +0x01,0x08,0x00,0x12,0x22,0x31,0x00,0x01,0x00,0x00,0x00,0x03,0x01,0x09,0x00,0x11, +0x22,0xa0,0x00,0x01,0x00,0x00,0x00,0x04,0x01,0x00,0x00,0x09,0x1f,0xf2,0x00,0x01, +0x00,0x00,0x00,0x04,0x01,0x01,0x00,0x13,0x20,0x27,0x00,0x01,0x00,0x00,0x00,0x04, +0x01,0x02,0x00,0x07,0x20,0x4f,0x00,0x01,0x00,0x00,0x00,0x04,0x01,0x03,0x00,0x1c, +0x20,0xc1,0x00,0x01,0x00,0x00,0x00,0x04,0x01,0x04,0x00,0x12,0x21,0x04,0x00,0x01, +0x00,0x00,0x00,0x04,0x01,0x05,0x00,0x1c,0x21,0x61,0x00,0x01,0x00,0x00,0x00,0x04, +0x01,0x06,0x00,0x12,0x21,0xbd,0x00,0x01,0x00,0x00,0x00,0x04,0x01,0x07,0x00,0x07, +0x21,0xee,0x00,0x01,0x00,0x00,0x00,0x04,0x01,0x08,0x00,0x11,0x22,0x44,0x00,0x01, +0x00,0x00,0x00,0x04,0x01,0x09,0x00,0x12,0x22,0xb2,0x00,0x03,0x00,0x01,0x04,0x09, +0x00,0x00,0x00,0xbe,0x00,0x00,0x00,0x03,0x00,0x01,0x04,0x09,0x00,0x01,0x00,0x16, +0x01,0x20,0x00,0x03,0x00,0x01,0x04,0x09,0x00,0x02,0x00,0x08,0x01,0x44,0x00,0x03, +0x00,0x01,0x04,0x09,0x00,0x03,0x00,0x16,0x01,0x53,0x00,0x03,0x00,0x01,0x04,0x09, +0x00,0x04,0x00,0x16,0x01,0x77,0x00,0x03,0x00,0x01,0x04,0x09,0x00,0x05,0x00,0x16, +0x01,0x9b,0x00,0x03,0x00,0x01,0x04,0x09,0x00,0x06,0x00,0x14,0x01,0xbf,0x00,0x03, +0x00,0x01,0x04,0x09,0x00,0x08,0x00,0x22,0x01,0xe0,0x00,0x03,0x00,0x01,0x04,0x09, +0x00,0x0b,0x00,0x3a,0x02,0x16,0x00,0x03,0x00,0x01,0x04,0x09,0x00,0x0d,0x13,0x26, +0x02,0x70,0x00,0x03,0x00,0x01,0x04,0x09,0x00,0x0e,0x00,0x68,0x1f,0x2c,0x00,0x43, +0x00,0x6f,0x00,0x70,0x00,0x79,0x00,0x72,0x00,0x69,0x00,0x67,0x00,0x68,0x00,0x74, +0x00,0x20,0x00,0x28,0x00,0x63,0x00,0x29,0x00,0x20,0x00,0x32,0x00,0x30,0x00,0x30, +0x00,0x33,0x00,0x20,0x00,0x62,0x00,0x79,0x00,0x20,0x00,0x42,0x00,0x69,0x00,0x74, +0x00,0x73,0x00,0x74,0x00,0x72,0x00,0x65,0x00,0x61,0x00,0x6d,0x00,0x2c,0x00,0x20, +0x00,0x49,0x00,0x6e,0x00,0x63,0x00,0x2e,0x00,0x20,0x00,0x41,0x00,0x6c,0x00,0x6c, +0x00,0x20,0x00,0x52,0x00,0x69,0x00,0x67,0x00,0x68,0x00,0x74,0x00,0x73,0x00,0x20, +0x00,0x52,0x00,0x65,0x00,0x73,0x00,0x65,0x00,0x72,0x00,0x76,0x00,0x65,0x00,0x64, +0x00,0x2e,0x00,0x0a,0x00,0x44,0x00,0x65,0x00,0x6a,0x00,0x61,0x00,0x56,0x00,0x75, +0x00,0x20,0x00,0x63,0x00,0x68,0x00,0x61,0x00,0x6e,0x00,0x67,0x00,0x65,0x00,0x73, +0x00,0x20,0x00,0x61,0x00,0x72,0x00,0x65,0x00,0x20,0x00,0x69,0x00,0x6e,0x00,0x20, +0x00,0x70,0x00,0x75,0x00,0x62,0x00,0x6c,0x00,0x69,0x00,0x63,0x00,0x20,0x00,0x64, +0x00,0x6f,0x00,0x6d,0x00,0x61,0x00,0x69,0x00,0x6e,0x00,0x0a,0x00,0x00,0x43,0x6f, +0x70,0x79,0x72,0x69,0x67,0x68,0x74,0x20,0x28,0x63,0x29,0x20,0x32,0x30,0x30,0x33, +0x20,0x62,0x79,0x20,0x42,0x69,0x74,0x73,0x74,0x72,0x65,0x61,0x6d,0x2c,0x20,0x49, +0x6e,0x63,0x2e,0x20,0x41,0x6c,0x6c,0x20,0x52,0x69,0x67,0x68,0x74,0x73,0x20,0x52, +0x65,0x73,0x65,0x72,0x76,0x65,0x64,0x2e,0x0a,0x44,0x65,0x6a,0x61,0x56,0x75,0x20, +0x63,0x68,0x61,0x6e,0x67,0x65,0x73,0x20,0x61,0x72,0x65,0x20,0x69,0x6e,0x20,0x70, +0x75,0x62,0x6c,0x69,0x63,0x20,0x64,0x6f,0x6d,0x61,0x69,0x6e,0x0a,0x00,0x00,0x44, +0x00,0x65,0x00,0x6a,0x00,0x61,0x00,0x56,0x00,0x75,0x00,0x20,0x00,0x53,0x00,0x61, +0x00,0x6e,0x00,0x73,0x00,0x00,0x44,0x65,0x6a,0x61,0x56,0x75,0x20,0x53,0x61,0x6e, +0x73,0x00,0x00,0x42,0x00,0x6f,0x00,0x6f,0x00,0x6b,0x00,0x00,0x42,0x6f,0x6f,0x6b, +0x00,0x00,0x44,0x00,0x65,0x00,0x6a,0x00,0x61,0x00,0x56,0x00,0x75,0x00,0x20,0x00, +0x53,0x00,0x61,0x00,0x6e,0x00,0x73,0x00,0x00,0x44,0x65,0x6a,0x61,0x56,0x75,0x20, +0x53,0x61,0x6e,0x73,0x00,0x00,0x44,0x00,0x65,0x00,0x6a,0x00,0x61,0x00,0x56,0x00, +0x75,0x00,0x20,0x00,0x53,0x00,0x61,0x00,0x6e,0x00,0x73,0x00,0x00,0x44,0x65,0x6a, +0x61,0x56,0x75,0x20,0x53,0x61,0x6e,0x73,0x00,0x00,0x56,0x00,0x65,0x00,0x72,0x00, +0x73,0x00,0x69,0x00,0x6f,0x00,0x6e,0x00,0x20,0x00,0x32,0x00,0x2e,0x00,0x35,0x00, +0x00,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x32,0x2e,0x35,0x00,0x00,0x44,0x00, +0x65,0x00,0x6a,0x00,0x61,0x00,0x56,0x00,0x75,0x00,0x53,0x00,0x61,0x00,0x6e,0x00, +0x73,0x00,0x00,0x44,0x65,0x6a,0x61,0x56,0x75,0x53,0x61,0x6e,0x73,0x00,0x00,0x44, +0x00,0x65,0x00,0x6a,0x00,0x61,0x00,0x56,0x00,0x75,0x00,0x20,0x00,0x66,0x00,0x6f, +0x00,0x6e,0x00,0x74,0x00,0x73,0x00,0x20,0x00,0x74,0x00,0x65,0x00,0x61,0x00,0x6d, +0x00,0x00,0x44,0x65,0x6a,0x61,0x56,0x75,0x20,0x66,0x6f,0x6e,0x74,0x73,0x20,0x74, +0x65,0x61,0x6d,0x00,0x00,0x68,0x00,0x74,0x00,0x74,0x00,0x70,0x00,0x3a,0x00,0x2f, +0x00,0x2f,0x00,0x64,0x00,0x65,0x00,0x6a,0x00,0x61,0x00,0x76,0x00,0x75,0x00,0x2e, +0x00,0x73,0x00,0x6f,0x00,0x75,0x00,0x72,0x00,0x63,0x00,0x65,0x00,0x66,0x00,0x6f, +0x00,0x72,0x00,0x67,0x00,0x65,0x00,0x2e,0x00,0x6e,0x00,0x65,0x00,0x74,0x00,0x00, +0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f,0x64,0x65,0x6a,0x61,0x76,0x75,0x2e,0x73,0x6f, +0x75,0x72,0x63,0x65,0x66,0x6f,0x72,0x67,0x65,0x2e,0x6e,0x65,0x74,0x00,0x00,0x46, +0x00,0x6f,0x00,0x6e,0x00,0x74,0x00,0x73,0x00,0x20,0x00,0x61,0x00,0x72,0x00,0x65, +0x00,0x20,0x00,0x28,0x00,0x63,0x00,0x29,0x00,0x20,0x00,0x42,0x00,0x69,0x00,0x74, +0x00,0x73,0x00,0x74,0x00,0x72,0x00,0x65,0x00,0x61,0x00,0x6d,0x00,0x20,0x00,0x28, +0x00,0x73,0x00,0x65,0x00,0x65,0x00,0x20,0x00,0x62,0x00,0x65,0x00,0x6c,0x00,0x6f, +0x00,0x77,0x00,0x29,0x00,0x2e,0x00,0x20,0x00,0x44,0x00,0x65,0x00,0x6a,0x00,0x61, +0x00,0x56,0x00,0x75,0x00,0x20,0x00,0x63,0x00,0x68,0x00,0x61,0x00,0x6e,0x00,0x67, +0x00,0x65,0x00,0x73,0x00,0x20,0x00,0x61,0x00,0x72,0x00,0x65,0x00,0x20,0x00,0x69, +0x00,0x6e,0x00,0x20,0x00,0x70,0x00,0x75,0x00,0x62,0x00,0x6c,0x00,0x69,0x00,0x63, +0x00,0x20,0x00,0x64,0x00,0x6f,0x00,0x6d,0x00,0x61,0x00,0x69,0x00,0x6e,0x00,0x2e, +0x00,0x0a,0x00,0x0a,0x00,0x42,0x00,0x69,0x00,0x74,0x00,0x73,0x00,0x74,0x00,0x72, +0x00,0x65,0x00,0x61,0x00,0x6d,0x00,0x20,0x00,0x56,0x00,0x65,0x00,0x72,0x00,0x61, +0x00,0x20,0x00,0x46,0x00,0x6f,0x00,0x6e,0x00,0x74,0x00,0x73,0x00,0x20,0x00,0x43, +0x00,0x6f,0x00,0x70,0x00,0x79,0x00,0x72,0x00,0x69,0x00,0x67,0x00,0x68,0x00,0x74, +0x00,0x0a,0x00,0x2d,0x00,0x2d,0x00,0x2d,0x00,0x2d,0x00,0x2d,0x00,0x2d,0x00,0x2d, +0x00,0x2d,0x00,0x2d,0x00,0x2d,0x00,0x2d,0x00,0x2d,0x00,0x2d,0x00,0x2d,0x00,0x2d, +0x00,0x2d,0x00,0x2d,0x00,0x2d,0x00,0x2d,0x00,0x2d,0x00,0x2d,0x00,0x2d,0x00,0x2d, +0x00,0x2d,0x00,0x2d,0x00,0x2d,0x00,0x2d,0x00,0x2d,0x00,0x2d,0x00,0x2d,0x00,0x0a, +0x00,0x0a,0x00,0x43,0x00,0x6f,0x00,0x70,0x00,0x79,0x00,0x72,0x00,0x69,0x00,0x67, +0x00,0x68,0x00,0x74,0x00,0x20,0x00,0x28,0x00,0x63,0x00,0x29,0x00,0x20,0x00,0x32, +0x00,0x30,0x00,0x30,0x00,0x33,0x00,0x20,0x00,0x62,0x00,0x79,0x00,0x20,0x00,0x42, +0x00,0x69,0x00,0x74,0x00,0x73,0x00,0x74,0x00,0x72,0x00,0x65,0x00,0x61,0x00,0x6d, +0x00,0x2c,0x00,0x20,0x00,0x49,0x00,0x6e,0x00,0x63,0x00,0x2e,0x00,0x20,0x00,0x41, +0x00,0x6c,0x00,0x6c,0x00,0x20,0x00,0x52,0x00,0x69,0x00,0x67,0x00,0x68,0x00,0x74, +0x00,0x73,0x00,0x20,0x00,0x52,0x00,0x65,0x00,0x73,0x00,0x65,0x00,0x72,0x00,0x76, +0x00,0x65,0x00,0x64,0x00,0x2e,0x00,0x20,0x00,0x42,0x00,0x69,0x00,0x74,0x00,0x73, +0x00,0x74,0x00,0x72,0x00,0x65,0x00,0x61,0x00,0x6d,0x00,0x20,0x00,0x56,0x00,0x65, +0x00,0x72,0x00,0x61,0x00,0x20,0x00,0x69,0x00,0x73,0x00,0x20,0x00,0x61,0x00,0x20, +0x00,0x74,0x00,0x72,0x00,0x61,0x00,0x64,0x00,0x65,0x00,0x6d,0x00,0x61,0x00,0x72, +0x00,0x6b,0x00,0x20,0x00,0x6f,0x00,0x66,0x00,0x20,0x00,0x42,0x00,0x69,0x00,0x74, +0x00,0x73,0x00,0x74,0x00,0x72,0x00,0x65,0x00,0x61,0x00,0x6d,0x00,0x2c,0x00,0x20, +0x00,0x49,0x00,0x6e,0x00,0x63,0x00,0x2e,0x00,0x0a,0x00,0x0a,0x00,0x50,0x00,0x65, +0x00,0x72,0x00,0x6d,0x00,0x69,0x00,0x73,0x00,0x73,0x00,0x69,0x00,0x6f,0x00,0x6e, +0x00,0x20,0x00,0x69,0x00,0x73,0x00,0x20,0x00,0x68,0x00,0x65,0x00,0x72,0x00,0x65, +0x00,0x62,0x00,0x79,0x00,0x20,0x00,0x67,0x00,0x72,0x00,0x61,0x00,0x6e,0x00,0x74, +0x00,0x65,0x00,0x64,0x00,0x2c,0x00,0x20,0x00,0x66,0x00,0x72,0x00,0x65,0x00,0x65, +0x00,0x20,0x00,0x6f,0x00,0x66,0x00,0x20,0x00,0x63,0x00,0x68,0x00,0x61,0x00,0x72, +0x00,0x67,0x00,0x65,0x00,0x2c,0x00,0x20,0x00,0x74,0x00,0x6f,0x00,0x20,0x00,0x61, +0x00,0x6e,0x00,0x79,0x00,0x20,0x00,0x70,0x00,0x65,0x00,0x72,0x00,0x73,0x00,0x6f, +0x00,0x6e,0x00,0x20,0x00,0x6f,0x00,0x62,0x00,0x74,0x00,0x61,0x00,0x69,0x00,0x6e, +0x00,0x69,0x00,0x6e,0x00,0x67,0x00,0x20,0x00,0x61,0x00,0x20,0x00,0x63,0x00,0x6f, +0x00,0x70,0x00,0x79,0x00,0x20,0x00,0x6f,0x00,0x66,0x00,0x20,0x00,0x74,0x00,0x68, +0x00,0x65,0x00,0x20,0x00,0x66,0x00,0x6f,0x00,0x6e,0x00,0x74,0x00,0x73,0x00,0x20, +0x00,0x61,0x00,0x63,0x00,0x63,0x00,0x6f,0x00,0x6d,0x00,0x70,0x00,0x61,0x00,0x6e, +0x00,0x79,0x00,0x69,0x00,0x6e,0x00,0x67,0x00,0x20,0x00,0x74,0x00,0x68,0x00,0x69, +0x00,0x73,0x00,0x20,0x00,0x6c,0x00,0x69,0x00,0x63,0x00,0x65,0x00,0x6e,0x00,0x73, +0x00,0x65,0x00,0x20,0x00,0x28,0x00,0x22,0x00,0x46,0x00,0x6f,0x00,0x6e,0x00,0x74, +0x00,0x73,0x00,0x22,0x00,0x29,0x00,0x20,0x00,0x61,0x00,0x6e,0x00,0x64,0x00,0x20, +0x00,0x61,0x00,0x73,0x00,0x73,0x00,0x6f,0x00,0x63,0x00,0x69,0x00,0x61,0x00,0x74, +0x00,0x65,0x00,0x64,0x00,0x20,0x00,0x64,0x00,0x6f,0x00,0x63,0x00,0x75,0x00,0x6d, +0x00,0x65,0x00,0x6e,0x00,0x74,0x00,0x61,0x00,0x74,0x00,0x69,0x00,0x6f,0x00,0x6e, +0x00,0x20,0x00,0x66,0x00,0x69,0x00,0x6c,0x00,0x65,0x00,0x73,0x00,0x20,0x00,0x28, +0x00,0x74,0x00,0x68,0x00,0x65,0x00,0x20,0x00,0x22,0x00,0x46,0x00,0x6f,0x00,0x6e, +0x00,0x74,0x00,0x20,0x00,0x53,0x00,0x6f,0x00,0x66,0x00,0x74,0x00,0x77,0x00,0x61, +0x00,0x72,0x00,0x65,0x00,0x22,0x00,0x29,0x00,0x2c,0x00,0x20,0x00,0x74,0x00,0x6f, +0x00,0x20,0x00,0x72,0x00,0x65,0x00,0x70,0x00,0x72,0x00,0x6f,0x00,0x64,0x00,0x75, +0x00,0x63,0x00,0x65,0x00,0x20,0x00,0x61,0x00,0x6e,0x00,0x64,0x00,0x20,0x00,0x64, +0x00,0x69,0x00,0x73,0x00,0x74,0x00,0x72,0x00,0x69,0x00,0x62,0x00,0x75,0x00,0x74, +0x00,0x65,0x00,0x20,0x00,0x74,0x00,0x68,0x00,0x65,0x00,0x20,0x00,0x46,0x00,0x6f, +0x00,0x6e,0x00,0x74,0x00,0x20,0x00,0x53,0x00,0x6f,0x00,0x66,0x00,0x74,0x00,0x77, +0x00,0x61,0x00,0x72,0x00,0x65,0x00,0x2c,0x00,0x20,0x00,0x69,0x00,0x6e,0x00,0x63, +0x00,0x6c,0x00,0x75,0x00,0x64,0x00,0x69,0x00,0x6e,0x00,0x67,0x00,0x20,0x00,0x77, +0x00,0x69,0x00,0x74,0x00,0x68,0x00,0x6f,0x00,0x75,0x00,0x74,0x00,0x20,0x00,0x6c, +0x00,0x69,0x00,0x6d,0x00,0x69,0x00,0x74,0x00,0x61,0x00,0x74,0x00,0x69,0x00,0x6f, +0x00,0x6e,0x00,0x20,0x00,0x74,0x00,0x68,0x00,0x65,0x00,0x20,0x00,0x72,0x00,0x69, +0x00,0x67,0x00,0x68,0x00,0x74,0x00,0x73,0x00,0x20,0x00,0x74,0x00,0x6f,0x00,0x20, +0x00,0x75,0x00,0x73,0x00,0x65,0x00,0x2c,0x00,0x20,0x00,0x63,0x00,0x6f,0x00,0x70, +0x00,0x79,0x00,0x2c,0x00,0x20,0x00,0x6d,0x00,0x65,0x00,0x72,0x00,0x67,0x00,0x65, +0x00,0x2c,0x00,0x20,0x00,0x70,0x00,0x75,0x00,0x62,0x00,0x6c,0x00,0x69,0x00,0x73, +0x00,0x68,0x00,0x2c,0x00,0x20,0x00,0x64,0x00,0x69,0x00,0x73,0x00,0x74,0x00,0x72, +0x00,0x69,0x00,0x62,0x00,0x75,0x00,0x74,0x00,0x65,0x00,0x2c,0x00,0x20,0x00,0x61, +0x00,0x6e,0x00,0x64,0x00,0x2f,0x00,0x6f,0x00,0x72,0x00,0x20,0x00,0x73,0x00,0x65, +0x00,0x6c,0x00,0x6c,0x00,0x20,0x00,0x63,0x00,0x6f,0x00,0x70,0x00,0x69,0x00,0x65, +0x00,0x73,0x00,0x20,0x00,0x6f,0x00,0x66,0x00,0x20,0x00,0x74,0x00,0x68,0x00,0x65, +0x00,0x20,0x00,0x46,0x00,0x6f,0x00,0x6e,0x00,0x74,0x00,0x20,0x00,0x53,0x00,0x6f, +0x00,0x66,0x00,0x74,0x00,0x77,0x00,0x61,0x00,0x72,0x00,0x65,0x00,0x2c,0x00,0x20, +0x00,0x61,0x00,0x6e,0x00,0x64,0x00,0x20,0x00,0x74,0x00,0x6f,0x00,0x20,0x00,0x70, +0x00,0x65,0x00,0x72,0x00,0x6d,0x00,0x69,0x00,0x74,0x00,0x20,0x00,0x70,0x00,0x65, +0x00,0x72,0x00,0x73,0x00,0x6f,0x00,0x6e,0x00,0x73,0x00,0x20,0x00,0x74,0x00,0x6f, +0x00,0x20,0x00,0x77,0x00,0x68,0x00,0x6f,0x00,0x6d,0x00,0x20,0x00,0x74,0x00,0x68, +0x00,0x65,0x00,0x20,0x00,0x46,0x00,0x6f,0x00,0x6e,0x00,0x74,0x00,0x20,0x00,0x53, +0x00,0x6f,0x00,0x66,0x00,0x74,0x00,0x77,0x00,0x61,0x00,0x72,0x00,0x65,0x00,0x20, +0x00,0x69,0x00,0x73,0x00,0x20,0x00,0x66,0x00,0x75,0x00,0x72,0x00,0x6e,0x00,0x69, +0x00,0x73,0x00,0x68,0x00,0x65,0x00,0x64,0x00,0x20,0x00,0x74,0x00,0x6f,0x00,0x20, +0x00,0x64,0x00,0x6f,0x00,0x20,0x00,0x73,0x00,0x6f,0x00,0x2c,0x00,0x20,0x00,0x73, +0x00,0x75,0x00,0x62,0x00,0x6a,0x00,0x65,0x00,0x63,0x00,0x74,0x00,0x20,0x00,0x74, +0x00,0x6f,0x00,0x20,0x00,0x74,0x00,0x68,0x00,0x65,0x00,0x20,0x00,0x66,0x00,0x6f, +0x00,0x6c,0x00,0x6c,0x00,0x6f,0x00,0x77,0x00,0x69,0x00,0x6e,0x00,0x67,0x00,0x20, +0x00,0x63,0x00,0x6f,0x00,0x6e,0x00,0x64,0x00,0x69,0x00,0x74,0x00,0x69,0x00,0x6f, +0x00,0x6e,0x00,0x73,0x00,0x3a,0x00,0x0a,0x00,0x0a,0x00,0x54,0x00,0x68,0x00,0x65, +0x00,0x20,0x00,0x61,0x00,0x62,0x00,0x6f,0x00,0x76,0x00,0x65,0x00,0x20,0x00,0x63, +0x00,0x6f,0x00,0x70,0x00,0x79,0x00,0x72,0x00,0x69,0x00,0x67,0x00,0x68,0x00,0x74, +0x00,0x20,0x00,0x61,0x00,0x6e,0x00,0x64,0x00,0x20,0x00,0x74,0x00,0x72,0x00,0x61, +0x00,0x64,0x00,0x65,0x00,0x6d,0x00,0x61,0x00,0x72,0x00,0x6b,0x00,0x20,0x00,0x6e, +0x00,0x6f,0x00,0x74,0x00,0x69,0x00,0x63,0x00,0x65,0x00,0x73,0x00,0x20,0x00,0x61, +0x00,0x6e,0x00,0x64,0x00,0x20,0x00,0x74,0x00,0x68,0x00,0x69,0x00,0x73,0x00,0x20, +0x00,0x70,0x00,0x65,0x00,0x72,0x00,0x6d,0x00,0x69,0x00,0x73,0x00,0x73,0x00,0x69, +0x00,0x6f,0x00,0x6e,0x00,0x20,0x00,0x6e,0x00,0x6f,0x00,0x74,0x00,0x69,0x00,0x63, +0x00,0x65,0x00,0x20,0x00,0x73,0x00,0x68,0x00,0x61,0x00,0x6c,0x00,0x6c,0x00,0x20, +0x00,0x62,0x00,0x65,0x00,0x20,0x00,0x69,0x00,0x6e,0x00,0x63,0x00,0x6c,0x00,0x75, +0x00,0x64,0x00,0x65,0x00,0x64,0x00,0x20,0x00,0x69,0x00,0x6e,0x00,0x20,0x00,0x61, +0x00,0x6c,0x00,0x6c,0x00,0x20,0x00,0x63,0x00,0x6f,0x00,0x70,0x00,0x69,0x00,0x65, +0x00,0x73,0x00,0x20,0x00,0x6f,0x00,0x66,0x00,0x20,0x00,0x6f,0x00,0x6e,0x00,0x65, +0x00,0x20,0x00,0x6f,0x00,0x72,0x00,0x20,0x00,0x6d,0x00,0x6f,0x00,0x72,0x00,0x65, +0x00,0x20,0x00,0x6f,0x00,0x66,0x00,0x20,0x00,0x74,0x00,0x68,0x00,0x65,0x00,0x20, +0x00,0x46,0x00,0x6f,0x00,0x6e,0x00,0x74,0x00,0x20,0x00,0x53,0x00,0x6f,0x00,0x66, +0x00,0x74,0x00,0x77,0x00,0x61,0x00,0x72,0x00,0x65,0x00,0x20,0x00,0x74,0x00,0x79, +0x00,0x70,0x00,0x65,0x00,0x66,0x00,0x61,0x00,0x63,0x00,0x65,0x00,0x73,0x00,0x2e, +0x00,0x0a,0x00,0x0a,0x00,0x54,0x00,0x68,0x00,0x65,0x00,0x20,0x00,0x46,0x00,0x6f, +0x00,0x6e,0x00,0x74,0x00,0x20,0x00,0x53,0x00,0x6f,0x00,0x66,0x00,0x74,0x00,0x77, +0x00,0x61,0x00,0x72,0x00,0x65,0x00,0x20,0x00,0x6d,0x00,0x61,0x00,0x79,0x00,0x20, +0x00,0x62,0x00,0x65,0x00,0x20,0x00,0x6d,0x00,0x6f,0x00,0x64,0x00,0x69,0x00,0x66, +0x00,0x69,0x00,0x65,0x00,0x64,0x00,0x2c,0x00,0x20,0x00,0x61,0x00,0x6c,0x00,0x74, +0x00,0x65,0x00,0x72,0x00,0x65,0x00,0x64,0x00,0x2c,0x00,0x20,0x00,0x6f,0x00,0x72, +0x00,0x20,0x00,0x61,0x00,0x64,0x00,0x64,0x00,0x65,0x00,0x64,0x00,0x20,0x00,0x74, +0x00,0x6f,0x00,0x2c,0x00,0x20,0x00,0x61,0x00,0x6e,0x00,0x64,0x00,0x20,0x00,0x69, +0x00,0x6e,0x00,0x20,0x00,0x70,0x00,0x61,0x00,0x72,0x00,0x74,0x00,0x69,0x00,0x63, +0x00,0x75,0x00,0x6c,0x00,0x61,0x00,0x72,0x00,0x20,0x00,0x74,0x00,0x68,0x00,0x65, +0x00,0x20,0x00,0x64,0x00,0x65,0x00,0x73,0x00,0x69,0x00,0x67,0x00,0x6e,0x00,0x73, +0x00,0x20,0x00,0x6f,0x00,0x66,0x00,0x20,0x00,0x67,0x00,0x6c,0x00,0x79,0x00,0x70, +0x00,0x68,0x00,0x73,0x00,0x20,0x00,0x6f,0x00,0x72,0x00,0x20,0x00,0x63,0x00,0x68, +0x00,0x61,0x00,0x72,0x00,0x61,0x00,0x63,0x00,0x74,0x00,0x65,0x00,0x72,0x00,0x73, +0x00,0x20,0x00,0x69,0x00,0x6e,0x00,0x20,0x00,0x74,0x00,0x68,0x00,0x65,0x00,0x20, +0x00,0x46,0x00,0x6f,0x00,0x6e,0x00,0x74,0x00,0x73,0x00,0x20,0x00,0x6d,0x00,0x61, +0x00,0x79,0x00,0x20,0x00,0x62,0x00,0x65,0x00,0x20,0x00,0x6d,0x00,0x6f,0x00,0x64, +0x00,0x69,0x00,0x66,0x00,0x69,0x00,0x65,0x00,0x64,0x00,0x20,0x00,0x61,0x00,0x6e, +0x00,0x64,0x00,0x20,0x00,0x61,0x00,0x64,0x00,0x64,0x00,0x69,0x00,0x74,0x00,0x69, +0x00,0x6f,0x00,0x6e,0x00,0x61,0x00,0x6c,0x00,0x20,0x00,0x67,0x00,0x6c,0x00,0x79, +0x00,0x70,0x00,0x68,0x00,0x73,0x00,0x20,0x00,0x6f,0x00,0x72,0x00,0x20,0x00,0x20, +0x00,0x6f,0x00,0x72,0x00,0x20,0x00,0x63,0x00,0x68,0x00,0x61,0x00,0x72,0x00,0x61, +0x00,0x63,0x00,0x74,0x00,0x65,0x00,0x72,0x00,0x73,0x00,0x20,0x00,0x6d,0x00,0x61, +0x00,0x79,0x00,0x20,0x00,0x62,0x00,0x65,0x00,0x20,0x00,0x61,0x00,0x64,0x00,0x64, +0x00,0x65,0x00,0x64,0x00,0x20,0x00,0x74,0x00,0x6f,0x00,0x20,0x00,0x74,0x00,0x68, +0x00,0x65,0x00,0x20,0x00,0x46,0x00,0x6f,0x00,0x6e,0x00,0x74,0x00,0x73,0x00,0x2c, +0x00,0x20,0x00,0x6f,0x00,0x6e,0x00,0x6c,0x00,0x79,0x00,0x20,0x00,0x69,0x00,0x66, +0x00,0x20,0x00,0x74,0x00,0x68,0x00,0x65,0x00,0x20,0x00,0x66,0x00,0x6f,0x00,0x6e, +0x00,0x74,0x00,0x73,0x00,0x20,0x00,0x61,0x00,0x72,0x00,0x65,0x00,0x20,0x00,0x72, +0x00,0x65,0x00,0x6e,0x00,0x61,0x00,0x6d,0x00,0x65,0x00,0x64,0x00,0x20,0x00,0x74, +0x00,0x6f,0x00,0x20,0x00,0x6e,0x00,0x61,0x00,0x6d,0x00,0x65,0x00,0x73,0x00,0x20, +0x00,0x6e,0x00,0x6f,0x00,0x74,0x00,0x20,0x00,0x63,0x00,0x6f,0x00,0x6e,0x00,0x74, +0x00,0x61,0x00,0x69,0x00,0x6e,0x00,0x69,0x00,0x6e,0x00,0x67,0x00,0x20,0x00,0x65, +0x00,0x69,0x00,0x74,0x00,0x68,0x00,0x65,0x00,0x72,0x00,0x20,0x00,0x74,0x00,0x68, +0x00,0x65,0x00,0x20,0x00,0x77,0x00,0x6f,0x00,0x72,0x00,0x64,0x00,0x73,0x00,0x20, +0x00,0x22,0x00,0x42,0x00,0x69,0x00,0x74,0x00,0x73,0x00,0x74,0x00,0x72,0x00,0x65, +0x00,0x61,0x00,0x6d,0x00,0x22,0x00,0x20,0x00,0x6f,0x00,0x72,0x00,0x20,0x00,0x74, +0x00,0x68,0x00,0x65,0x00,0x20,0x00,0x77,0x00,0x6f,0x00,0x72,0x00,0x64,0x00,0x20, +0x00,0x22,0x00,0x56,0x00,0x65,0x00,0x72,0x00,0x61,0x00,0x22,0x00,0x2e,0x00,0x0a, +0x00,0x0a,0x00,0x54,0x00,0x68,0x00,0x69,0x00,0x73,0x00,0x20,0x00,0x4c,0x00,0x69, +0x00,0x63,0x00,0x65,0x00,0x6e,0x00,0x73,0x00,0x65,0x00,0x20,0x00,0x62,0x00,0x65, +0x00,0x63,0x00,0x6f,0x00,0x6d,0x00,0x65,0x00,0x73,0x00,0x20,0x00,0x6e,0x00,0x75, +0x00,0x6c,0x00,0x6c,0x00,0x20,0x00,0x61,0x00,0x6e,0x00,0x64,0x00,0x20,0x00,0x76, +0x00,0x6f,0x00,0x69,0x00,0x64,0x00,0x20,0x00,0x74,0x00,0x6f,0x00,0x20,0x00,0x74, +0x00,0x68,0x00,0x65,0x00,0x20,0x00,0x65,0x00,0x78,0x00,0x74,0x00,0x65,0x00,0x6e, +0x00,0x74,0x00,0x20,0x00,0x61,0x00,0x70,0x00,0x70,0x00,0x6c,0x00,0x69,0x00,0x63, +0x00,0x61,0x00,0x62,0x00,0x6c,0x00,0x65,0x00,0x20,0x00,0x74,0x00,0x6f,0x00,0x20, +0x00,0x46,0x00,0x6f,0x00,0x6e,0x00,0x74,0x00,0x73,0x00,0x20,0x00,0x6f,0x00,0x72, +0x00,0x20,0x00,0x46,0x00,0x6f,0x00,0x6e,0x00,0x74,0x00,0x20,0x00,0x53,0x00,0x6f, +0x00,0x66,0x00,0x74,0x00,0x77,0x00,0x61,0x00,0x72,0x00,0x65,0x00,0x20,0x00,0x74, +0x00,0x68,0x00,0x61,0x00,0x74,0x00,0x20,0x00,0x68,0x00,0x61,0x00,0x73,0x00,0x20, +0x00,0x62,0x00,0x65,0x00,0x65,0x00,0x6e,0x00,0x20,0x00,0x6d,0x00,0x6f,0x00,0x64, +0x00,0x69,0x00,0x66,0x00,0x69,0x00,0x65,0x00,0x64,0x00,0x20,0x00,0x61,0x00,0x6e, +0x00,0x64,0x00,0x20,0x00,0x69,0x00,0x73,0x00,0x20,0x00,0x64,0x00,0x69,0x00,0x73, +0x00,0x74,0x00,0x72,0x00,0x69,0x00,0x62,0x00,0x75,0x00,0x74,0x00,0x65,0x00,0x64, +0x00,0x20,0x00,0x75,0x00,0x6e,0x00,0x64,0x00,0x65,0x00,0x72,0x00,0x20,0x00,0x74, +0x00,0x68,0x00,0x65,0x00,0x20,0x00,0x22,0x00,0x42,0x00,0x69,0x00,0x74,0x00,0x73, +0x00,0x74,0x00,0x72,0x00,0x65,0x00,0x61,0x00,0x6d,0x00,0x20,0x00,0x56,0x00,0x65, +0x00,0x72,0x00,0x61,0x00,0x22,0x00,0x20,0x00,0x6e,0x00,0x61,0x00,0x6d,0x00,0x65, +0x00,0x73,0x00,0x2e,0x00,0x0a,0x00,0x0a,0x00,0x54,0x00,0x68,0x00,0x65,0x00,0x20, +0x00,0x46,0x00,0x6f,0x00,0x6e,0x00,0x74,0x00,0x20,0x00,0x53,0x00,0x6f,0x00,0x66, +0x00,0x74,0x00,0x77,0x00,0x61,0x00,0x72,0x00,0x65,0x00,0x20,0x00,0x6d,0x00,0x61, +0x00,0x79,0x00,0x20,0x00,0x62,0x00,0x65,0x00,0x20,0x00,0x73,0x00,0x6f,0x00,0x6c, +0x00,0x64,0x00,0x20,0x00,0x61,0x00,0x73,0x00,0x20,0x00,0x70,0x00,0x61,0x00,0x72, +0x00,0x74,0x00,0x20,0x00,0x6f,0x00,0x66,0x00,0x20,0x00,0x61,0x00,0x20,0x00,0x6c, +0x00,0x61,0x00,0x72,0x00,0x67,0x00,0x65,0x00,0x72,0x00,0x20,0x00,0x73,0x00,0x6f, +0x00,0x66,0x00,0x74,0x00,0x77,0x00,0x61,0x00,0x72,0x00,0x65,0x00,0x20,0x00,0x70, +0x00,0x61,0x00,0x63,0x00,0x6b,0x00,0x61,0x00,0x67,0x00,0x65,0x00,0x20,0x00,0x62, +0x00,0x75,0x00,0x74,0x00,0x20,0x00,0x6e,0x00,0x6f,0x00,0x20,0x00,0x63,0x00,0x6f, +0x00,0x70,0x00,0x79,0x00,0x20,0x00,0x6f,0x00,0x66,0x00,0x20,0x00,0x6f,0x00,0x6e, +0x00,0x65,0x00,0x20,0x00,0x6f,0x00,0x72,0x00,0x20,0x00,0x6d,0x00,0x6f,0x00,0x72, +0x00,0x65,0x00,0x20,0x00,0x6f,0x00,0x66,0x00,0x20,0x00,0x74,0x00,0x68,0x00,0x65, +0x00,0x20,0x00,0x46,0x00,0x6f,0x00,0x6e,0x00,0x74,0x00,0x20,0x00,0x53,0x00,0x6f, +0x00,0x66,0x00,0x74,0x00,0x77,0x00,0x61,0x00,0x72,0x00,0x65,0x00,0x20,0x00,0x74, +0x00,0x79,0x00,0x70,0x00,0x65,0x00,0x66,0x00,0x61,0x00,0x63,0x00,0x65,0x00,0x73, +0x00,0x20,0x00,0x6d,0x00,0x61,0x00,0x79,0x00,0x20,0x00,0x62,0x00,0x65,0x00,0x20, +0x00,0x73,0x00,0x6f,0x00,0x6c,0x00,0x64,0x00,0x20,0x00,0x62,0x00,0x79,0x00,0x20, +0x00,0x69,0x00,0x74,0x00,0x73,0x00,0x65,0x00,0x6c,0x00,0x66,0x00,0x2e,0x00,0x0a, +0x00,0x0a,0x00,0x54,0x00,0x48,0x00,0x45,0x00,0x20,0x00,0x46,0x00,0x4f,0x00,0x4e, +0x00,0x54,0x00,0x20,0x00,0x53,0x00,0x4f,0x00,0x46,0x00,0x54,0x00,0x57,0x00,0x41, +0x00,0x52,0x00,0x45,0x00,0x20,0x00,0x49,0x00,0x53,0x00,0x20,0x00,0x50,0x00,0x52, +0x00,0x4f,0x00,0x56,0x00,0x49,0x00,0x44,0x00,0x45,0x00,0x44,0x00,0x20,0x00,0x22, +0x00,0x41,0x00,0x53,0x00,0x20,0x00,0x49,0x00,0x53,0x00,0x22,0x00,0x2c,0x00,0x20, +0x00,0x57,0x00,0x49,0x00,0x54,0x00,0x48,0x00,0x4f,0x00,0x55,0x00,0x54,0x00,0x20, +0x00,0x57,0x00,0x41,0x00,0x52,0x00,0x52,0x00,0x41,0x00,0x4e,0x00,0x54,0x00,0x59, +0x00,0x20,0x00,0x4f,0x00,0x46,0x00,0x20,0x00,0x41,0x00,0x4e,0x00,0x59,0x00,0x20, +0x00,0x4b,0x00,0x49,0x00,0x4e,0x00,0x44,0x00,0x2c,0x00,0x20,0x00,0x45,0x00,0x58, +0x00,0x50,0x00,0x52,0x00,0x45,0x00,0x53,0x00,0x53,0x00,0x20,0x00,0x4f,0x00,0x52, +0x00,0x20,0x00,0x49,0x00,0x4d,0x00,0x50,0x00,0x4c,0x00,0x49,0x00,0x45,0x00,0x44, +0x00,0x2c,0x00,0x20,0x00,0x49,0x00,0x4e,0x00,0x43,0x00,0x4c,0x00,0x55,0x00,0x44, +0x00,0x49,0x00,0x4e,0x00,0x47,0x00,0x20,0x00,0x42,0x00,0x55,0x00,0x54,0x00,0x20, +0x00,0x4e,0x00,0x4f,0x00,0x54,0x00,0x20,0x00,0x4c,0x00,0x49,0x00,0x4d,0x00,0x49, +0x00,0x54,0x00,0x45,0x00,0x44,0x00,0x20,0x00,0x54,0x00,0x4f,0x00,0x20,0x00,0x41, +0x00,0x4e,0x00,0x59,0x00,0x20,0x00,0x57,0x00,0x41,0x00,0x52,0x00,0x52,0x00,0x41, +0x00,0x4e,0x00,0x54,0x00,0x49,0x00,0x45,0x00,0x53,0x00,0x20,0x00,0x4f,0x00,0x46, +0x00,0x20,0x00,0x4d,0x00,0x45,0x00,0x52,0x00,0x43,0x00,0x48,0x00,0x41,0x00,0x4e, +0x00,0x54,0x00,0x41,0x00,0x42,0x00,0x49,0x00,0x4c,0x00,0x49,0x00,0x54,0x00,0x59, +0x00,0x2c,0x00,0x20,0x00,0x46,0x00,0x49,0x00,0x54,0x00,0x4e,0x00,0x45,0x00,0x53, +0x00,0x53,0x00,0x20,0x00,0x46,0x00,0x4f,0x00,0x52,0x00,0x20,0x00,0x41,0x00,0x20, +0x00,0x50,0x00,0x41,0x00,0x52,0x00,0x54,0x00,0x49,0x00,0x43,0x00,0x55,0x00,0x4c, +0x00,0x41,0x00,0x52,0x00,0x20,0x00,0x50,0x00,0x55,0x00,0x52,0x00,0x50,0x00,0x4f, +0x00,0x53,0x00,0x45,0x00,0x20,0x00,0x41,0x00,0x4e,0x00,0x44,0x00,0x20,0x00,0x4e, +0x00,0x4f,0x00,0x4e,0x00,0x49,0x00,0x4e,0x00,0x46,0x00,0x52,0x00,0x49,0x00,0x4e, +0x00,0x47,0x00,0x45,0x00,0x4d,0x00,0x45,0x00,0x4e,0x00,0x54,0x00,0x20,0x00,0x4f, +0x00,0x46,0x00,0x20,0x00,0x43,0x00,0x4f,0x00,0x50,0x00,0x59,0x00,0x52,0x00,0x49, +0x00,0x47,0x00,0x48,0x00,0x54,0x00,0x2c,0x00,0x20,0x00,0x50,0x00,0x41,0x00,0x54, +0x00,0x45,0x00,0x4e,0x00,0x54,0x00,0x2c,0x00,0x20,0x00,0x54,0x00,0x52,0x00,0x41, +0x00,0x44,0x00,0x45,0x00,0x4d,0x00,0x41,0x00,0x52,0x00,0x4b,0x00,0x2c,0x00,0x20, +0x00,0x4f,0x00,0x52,0x00,0x20,0x00,0x4f,0x00,0x54,0x00,0x48,0x00,0x45,0x00,0x52, +0x00,0x20,0x00,0x52,0x00,0x49,0x00,0x47,0x00,0x48,0x00,0x54,0x00,0x2e,0x00,0x20, +0x00,0x49,0x00,0x4e,0x00,0x20,0x00,0x4e,0x00,0x4f,0x00,0x20,0x00,0x45,0x00,0x56, +0x00,0x45,0x00,0x4e,0x00,0x54,0x00,0x20,0x00,0x53,0x00,0x48,0x00,0x41,0x00,0x4c, +0x00,0x4c,0x00,0x20,0x00,0x42,0x00,0x49,0x00,0x54,0x00,0x53,0x00,0x54,0x00,0x52, +0x00,0x45,0x00,0x41,0x00,0x4d,0x00,0x20,0x00,0x4f,0x00,0x52,0x00,0x20,0x00,0x54, +0x00,0x48,0x00,0x45,0x00,0x20,0x00,0x47,0x00,0x4e,0x00,0x4f,0x00,0x4d,0x00,0x45, +0x00,0x20,0x00,0x46,0x00,0x4f,0x00,0x55,0x00,0x4e,0x00,0x44,0x00,0x41,0x00,0x54, +0x00,0x49,0x00,0x4f,0x00,0x4e,0x00,0x20,0x00,0x42,0x00,0x45,0x00,0x20,0x00,0x4c, +0x00,0x49,0x00,0x41,0x00,0x42,0x00,0x4c,0x00,0x45,0x00,0x20,0x00,0x46,0x00,0x4f, +0x00,0x52,0x00,0x20,0x00,0x41,0x00,0x4e,0x00,0x59,0x00,0x20,0x00,0x43,0x00,0x4c, +0x00,0x41,0x00,0x49,0x00,0x4d,0x00,0x2c,0x00,0x20,0x00,0x44,0x00,0x41,0x00,0x4d, +0x00,0x41,0x00,0x47,0x00,0x45,0x00,0x53,0x00,0x20,0x00,0x4f,0x00,0x52,0x00,0x20, +0x00,0x4f,0x00,0x54,0x00,0x48,0x00,0x45,0x00,0x52,0x00,0x20,0x00,0x4c,0x00,0x49, +0x00,0x41,0x00,0x42,0x00,0x49,0x00,0x4c,0x00,0x49,0x00,0x54,0x00,0x59,0x00,0x2c, +0x00,0x20,0x00,0x49,0x00,0x4e,0x00,0x43,0x00,0x4c,0x00,0x55,0x00,0x44,0x00,0x49, +0x00,0x4e,0x00,0x47,0x00,0x20,0x00,0x41,0x00,0x4e,0x00,0x59,0x00,0x20,0x00,0x47, +0x00,0x45,0x00,0x4e,0x00,0x45,0x00,0x52,0x00,0x41,0x00,0x4c,0x00,0x2c,0x00,0x20, +0x00,0x53,0x00,0x50,0x00,0x45,0x00,0x43,0x00,0x49,0x00,0x41,0x00,0x4c,0x00,0x2c, +0x00,0x20,0x00,0x49,0x00,0x4e,0x00,0x44,0x00,0x49,0x00,0x52,0x00,0x45,0x00,0x43, +0x00,0x54,0x00,0x2c,0x00,0x20,0x00,0x49,0x00,0x4e,0x00,0x43,0x00,0x49,0x00,0x44, +0x00,0x45,0x00,0x4e,0x00,0x54,0x00,0x41,0x00,0x4c,0x00,0x2c,0x00,0x20,0x00,0x4f, +0x00,0x52,0x00,0x20,0x00,0x43,0x00,0x4f,0x00,0x4e,0x00,0x53,0x00,0x45,0x00,0x51, +0x00,0x55,0x00,0x45,0x00,0x4e,0x00,0x54,0x00,0x49,0x00,0x41,0x00,0x4c,0x00,0x20, +0x00,0x44,0x00,0x41,0x00,0x4d,0x00,0x41,0x00,0x47,0x00,0x45,0x00,0x53,0x00,0x2c, +0x00,0x20,0x00,0x57,0x00,0x48,0x00,0x45,0x00,0x54,0x00,0x48,0x00,0x45,0x00,0x52, +0x00,0x20,0x00,0x49,0x00,0x4e,0x00,0x20,0x00,0x41,0x00,0x4e,0x00,0x20,0x00,0x41, +0x00,0x43,0x00,0x54,0x00,0x49,0x00,0x4f,0x00,0x4e,0x00,0x20,0x00,0x4f,0x00,0x46, +0x00,0x20,0x00,0x43,0x00,0x4f,0x00,0x4e,0x00,0x54,0x00,0x52,0x00,0x41,0x00,0x43, +0x00,0x54,0x00,0x2c,0x00,0x20,0x00,0x54,0x00,0x4f,0x00,0x52,0x00,0x54,0x00,0x20, +0x00,0x4f,0x00,0x52,0x00,0x20,0x00,0x4f,0x00,0x54,0x00,0x48,0x00,0x45,0x00,0x52, +0x00,0x57,0x00,0x49,0x00,0x53,0x00,0x45,0x00,0x2c,0x00,0x20,0x00,0x41,0x00,0x52, +0x00,0x49,0x00,0x53,0x00,0x49,0x00,0x4e,0x00,0x47,0x00,0x20,0x00,0x46,0x00,0x52, +0x00,0x4f,0x00,0x4d,0x00,0x2c,0x00,0x20,0x00,0x4f,0x00,0x55,0x00,0x54,0x00,0x20, +0x00,0x4f,0x00,0x46,0x00,0x20,0x00,0x54,0x00,0x48,0x00,0x45,0x00,0x20,0x00,0x55, +0x00,0x53,0x00,0x45,0x00,0x20,0x00,0x4f,0x00,0x52,0x00,0x20,0x00,0x49,0x00,0x4e, +0x00,0x41,0x00,0x42,0x00,0x49,0x00,0x4c,0x00,0x49,0x00,0x54,0x00,0x59,0x00,0x20, +0x00,0x54,0x00,0x4f,0x00,0x20,0x00,0x55,0x00,0x53,0x00,0x45,0x00,0x20,0x00,0x54, +0x00,0x48,0x00,0x45,0x00,0x20,0x00,0x46,0x00,0x4f,0x00,0x4e,0x00,0x54,0x00,0x20, +0x00,0x53,0x00,0x4f,0x00,0x46,0x00,0x54,0x00,0x57,0x00,0x41,0x00,0x52,0x00,0x45, +0x00,0x20,0x00,0x4f,0x00,0x52,0x00,0x20,0x00,0x46,0x00,0x52,0x00,0x4f,0x00,0x4d, +0x00,0x20,0x00,0x4f,0x00,0x54,0x00,0x48,0x00,0x45,0x00,0x52,0x00,0x20,0x00,0x44, +0x00,0x45,0x00,0x41,0x00,0x4c,0x00,0x49,0x00,0x4e,0x00,0x47,0x00,0x53,0x00,0x20, +0x00,0x49,0x00,0x4e,0x00,0x20,0x00,0x54,0x00,0x48,0x00,0x45,0x00,0x20,0x00,0x46, +0x00,0x4f,0x00,0x4e,0x00,0x54,0x00,0x20,0x00,0x53,0x00,0x4f,0x00,0x46,0x00,0x54, +0x00,0x57,0x00,0x41,0x00,0x52,0x00,0x45,0x00,0x2e,0x00,0x0a,0x00,0x0a,0x00,0x45, +0x00,0x78,0x00,0x63,0x00,0x65,0x00,0x70,0x00,0x74,0x00,0x20,0x00,0x61,0x00,0x73, +0x00,0x20,0x00,0x63,0x00,0x6f,0x00,0x6e,0x00,0x74,0x00,0x61,0x00,0x69,0x00,0x6e, +0x00,0x65,0x00,0x64,0x00,0x20,0x00,0x69,0x00,0x6e,0x00,0x20,0x00,0x74,0x00,0x68, +0x00,0x69,0x00,0x73,0x00,0x20,0x00,0x6e,0x00,0x6f,0x00,0x74,0x00,0x69,0x00,0x63, +0x00,0x65,0x00,0x2c,0x00,0x20,0x00,0x74,0x00,0x68,0x00,0x65,0x00,0x20,0x00,0x6e, +0x00,0x61,0x00,0x6d,0x00,0x65,0x00,0x73,0x00,0x20,0x00,0x6f,0x00,0x66,0x00,0x20, +0x00,0x47,0x00,0x6e,0x00,0x6f,0x00,0x6d,0x00,0x65,0x00,0x2c,0x00,0x20,0x00,0x74, +0x00,0x68,0x00,0x65,0x00,0x20,0x00,0x47,0x00,0x6e,0x00,0x6f,0x00,0x6d,0x00,0x65, +0x00,0x20,0x00,0x46,0x00,0x6f,0x00,0x75,0x00,0x6e,0x00,0x64,0x00,0x61,0x00,0x74, +0x00,0x69,0x00,0x6f,0x00,0x6e,0x00,0x2c,0x00,0x20,0x00,0x61,0x00,0x6e,0x00,0x64, +0x00,0x20,0x00,0x42,0x00,0x69,0x00,0x74,0x00,0x73,0x00,0x74,0x00,0x72,0x00,0x65, +0x00,0x61,0x00,0x6d,0x00,0x20,0x00,0x49,0x00,0x6e,0x00,0x63,0x00,0x2e,0x00,0x2c, +0x00,0x20,0x00,0x73,0x00,0x68,0x00,0x61,0x00,0x6c,0x00,0x6c,0x00,0x20,0x00,0x6e, +0x00,0x6f,0x00,0x74,0x00,0x20,0x00,0x62,0x00,0x65,0x00,0x20,0x00,0x75,0x00,0x73, +0x00,0x65,0x00,0x64,0x00,0x20,0x00,0x69,0x00,0x6e,0x00,0x20,0x00,0x61,0x00,0x64, +0x00,0x76,0x00,0x65,0x00,0x72,0x00,0x74,0x00,0x69,0x00,0x73,0x00,0x69,0x00,0x6e, +0x00,0x67,0x00,0x20,0x00,0x6f,0x00,0x72,0x00,0x20,0x00,0x6f,0x00,0x74,0x00,0x68, +0x00,0x65,0x00,0x72,0x00,0x77,0x00,0x69,0x00,0x73,0x00,0x65,0x00,0x20,0x00,0x74, +0x00,0x6f,0x00,0x20,0x00,0x70,0x00,0x72,0x00,0x6f,0x00,0x6d,0x00,0x6f,0x00,0x74, +0x00,0x65,0x00,0x20,0x00,0x74,0x00,0x68,0x00,0x65,0x00,0x20,0x00,0x73,0x00,0x61, +0x00,0x6c,0x00,0x65,0x00,0x2c,0x00,0x20,0x00,0x75,0x00,0x73,0x00,0x65,0x00,0x20, +0x00,0x6f,0x00,0x72,0x00,0x20,0x00,0x6f,0x00,0x74,0x00,0x68,0x00,0x65,0x00,0x72, +0x00,0x20,0x00,0x64,0x00,0x65,0x00,0x61,0x00,0x6c,0x00,0x69,0x00,0x6e,0x00,0x67, +0x00,0x73,0x00,0x20,0x00,0x69,0x00,0x6e,0x00,0x20,0x00,0x74,0x00,0x68,0x00,0x69, +0x00,0x73,0x00,0x20,0x00,0x46,0x00,0x6f,0x00,0x6e,0x00,0x74,0x00,0x20,0x00,0x53, +0x00,0x6f,0x00,0x66,0x00,0x74,0x00,0x77,0x00,0x61,0x00,0x72,0x00,0x65,0x00,0x20, +0x00,0x77,0x00,0x69,0x00,0x74,0x00,0x68,0x00,0x6f,0x00,0x75,0x00,0x74,0x00,0x20, +0x00,0x70,0x00,0x72,0x00,0x69,0x00,0x6f,0x00,0x72,0x00,0x20,0x00,0x77,0x00,0x72, +0x00,0x69,0x00,0x74,0x00,0x74,0x00,0x65,0x00,0x6e,0x00,0x20,0x00,0x61,0x00,0x75, +0x00,0x74,0x00,0x68,0x00,0x6f,0x00,0x72,0x00,0x69,0x00,0x7a,0x00,0x61,0x00,0x74, +0x00,0x69,0x00,0x6f,0x00,0x6e,0x00,0x20,0x00,0x66,0x00,0x72,0x00,0x6f,0x00,0x6d, +0x00,0x20,0x00,0x74,0x00,0x68,0x00,0x65,0x00,0x20,0x00,0x47,0x00,0x6e,0x00,0x6f, +0x00,0x6d,0x00,0x65,0x00,0x20,0x00,0x46,0x00,0x6f,0x00,0x75,0x00,0x6e,0x00,0x64, +0x00,0x61,0x00,0x74,0x00,0x69,0x00,0x6f,0x00,0x6e,0x00,0x20,0x00,0x6f,0x00,0x72, +0x00,0x20,0x00,0x42,0x00,0x69,0x00,0x74,0x00,0x73,0x00,0x74,0x00,0x72,0x00,0x65, +0x00,0x61,0x00,0x6d,0x00,0x20,0x00,0x49,0x00,0x6e,0x00,0x63,0x00,0x2e,0x00,0x2c, +0x00,0x20,0x00,0x72,0x00,0x65,0x00,0x73,0x00,0x70,0x00,0x65,0x00,0x63,0x00,0x74, +0x00,0x69,0x00,0x76,0x00,0x65,0x00,0x6c,0x00,0x79,0x00,0x2e,0x00,0x20,0x00,0x46, +0x00,0x6f,0x00,0x72,0x00,0x20,0x00,0x66,0x00,0x75,0x00,0x72,0x00,0x74,0x00,0x68, +0x00,0x65,0x00,0x72,0x00,0x20,0x00,0x69,0x00,0x6e,0x00,0x66,0x00,0x6f,0x00,0x72, +0x00,0x6d,0x00,0x61,0x00,0x74,0x00,0x69,0x00,0x6f,0x00,0x6e,0x00,0x2c,0x00,0x20, +0x00,0x63,0x00,0x6f,0x00,0x6e,0x00,0x74,0x00,0x61,0x00,0x63,0x00,0x74,0x00,0x3a, +0x00,0x20,0x00,0x66,0x00,0x6f,0x00,0x6e,0x00,0x74,0x00,0x73,0x00,0x20,0x00,0x61, +0x00,0x74,0x00,0x20,0x00,0x67,0x00,0x6e,0x00,0x6f,0x00,0x6d,0x00,0x65,0x00,0x20, +0x00,0x64,0x00,0x6f,0x00,0x74,0x00,0x20,0x00,0x6f,0x00,0x72,0x00,0x67,0x00,0x2e, +0x00,0x20,0x00,0x0a,0x00,0x00,0x46,0x6f,0x6e,0x74,0x73,0x20,0x61,0x72,0x65,0x20, +0x28,0x63,0x29,0x20,0x42,0x69,0x74,0x73,0x74,0x72,0x65,0x61,0x6d,0x20,0x28,0x73, +0x65,0x65,0x20,0x62,0x65,0x6c,0x6f,0x77,0x29,0x2e,0x20,0x44,0x65,0x6a,0x61,0x56, +0x75,0x20,0x63,0x68,0x61,0x6e,0x67,0x65,0x73,0x20,0x61,0x72,0x65,0x20,0x69,0x6e, +0x20,0x70,0x75,0x62,0x6c,0x69,0x63,0x20,0x64,0x6f,0x6d,0x61,0x69,0x6e,0x2e,0x0a, +0x0a,0x42,0x69,0x74,0x73,0x74,0x72,0x65,0x61,0x6d,0x20,0x56,0x65,0x72,0x61,0x20, +0x46,0x6f,0x6e,0x74,0x73,0x20,0x43,0x6f,0x70,0x79,0x72,0x69,0x67,0x68,0x74,0x0a, +0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d, +0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x0a,0x0a, +0x43,0x6f,0x70,0x79,0x72,0x69,0x67,0x68,0x74,0x20,0x28,0x63,0x29,0x20,0x32,0x30, +0x30,0x33,0x20,0x62,0x79,0x20,0x42,0x69,0x74,0x73,0x74,0x72,0x65,0x61,0x6d,0x2c, +0x20,0x49,0x6e,0x63,0x2e,0x20,0x41,0x6c,0x6c,0x20,0x52,0x69,0x67,0x68,0x74,0x73, +0x20,0x52,0x65,0x73,0x65,0x72,0x76,0x65,0x64,0x2e,0x20,0x42,0x69,0x74,0x73,0x74, +0x72,0x65,0x61,0x6d,0x20,0x56,0x65,0x72,0x61,0x20,0x69,0x73,0x20,0x61,0x20,0x74, +0x72,0x61,0x64,0x65,0x6d,0x61,0x72,0x6b,0x20,0x6f,0x66,0x20,0x42,0x69,0x74,0x73, +0x74,0x72,0x65,0x61,0x6d,0x2c,0x20,0x49,0x6e,0x63,0x2e,0x0a,0x0a,0x50,0x65,0x72, +0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x20,0x69,0x73,0x20,0x68,0x65,0x72,0x65,0x62, +0x79,0x20,0x67,0x72,0x61,0x6e,0x74,0x65,0x64,0x2c,0x20,0x66,0x72,0x65,0x65,0x20, +0x6f,0x66,0x20,0x63,0x68,0x61,0x72,0x67,0x65,0x2c,0x20,0x74,0x6f,0x20,0x61,0x6e, +0x79,0x20,0x70,0x65,0x72,0x73,0x6f,0x6e,0x20,0x6f,0x62,0x74,0x61,0x69,0x6e,0x69, +0x6e,0x67,0x20,0x61,0x20,0x63,0x6f,0x70,0x79,0x20,0x6f,0x66,0x20,0x74,0x68,0x65, +0x20,0x66,0x6f,0x6e,0x74,0x73,0x20,0x61,0x63,0x63,0x6f,0x6d,0x70,0x61,0x6e,0x79, +0x69,0x6e,0x67,0x20,0x74,0x68,0x69,0x73,0x20,0x6c,0x69,0x63,0x65,0x6e,0x73,0x65, +0x20,0x28,0x22,0x46,0x6f,0x6e,0x74,0x73,0x22,0x29,0x20,0x61,0x6e,0x64,0x20,0x61, +0x73,0x73,0x6f,0x63,0x69,0x61,0x74,0x65,0x64,0x20,0x64,0x6f,0x63,0x75,0x6d,0x65, +0x6e,0x74,0x61,0x74,0x69,0x6f,0x6e,0x20,0x66,0x69,0x6c,0x65,0x73,0x20,0x28,0x74, +0x68,0x65,0x20,0x22,0x46,0x6f,0x6e,0x74,0x20,0x53,0x6f,0x66,0x74,0x77,0x61,0x72, +0x65,0x22,0x29,0x2c,0x20,0x74,0x6f,0x20,0x72,0x65,0x70,0x72,0x6f,0x64,0x75,0x63, +0x65,0x20,0x61,0x6e,0x64,0x20,0x64,0x69,0x73,0x74,0x72,0x69,0x62,0x75,0x74,0x65, +0x20,0x74,0x68,0x65,0x20,0x46,0x6f,0x6e,0x74,0x20,0x53,0x6f,0x66,0x74,0x77,0x61, +0x72,0x65,0x2c,0x20,0x69,0x6e,0x63,0x6c,0x75,0x64,0x69,0x6e,0x67,0x20,0x77,0x69, +0x74,0x68,0x6f,0x75,0x74,0x20,0x6c,0x69,0x6d,0x69,0x74,0x61,0x74,0x69,0x6f,0x6e, +0x20,0x74,0x68,0x65,0x20,0x72,0x69,0x67,0x68,0x74,0x73,0x20,0x74,0x6f,0x20,0x75, +0x73,0x65,0x2c,0x20,0x63,0x6f,0x70,0x79,0x2c,0x20,0x6d,0x65,0x72,0x67,0x65,0x2c, +0x20,0x70,0x75,0x62,0x6c,0x69,0x73,0x68,0x2c,0x20,0x64,0x69,0x73,0x74,0x72,0x69, +0x62,0x75,0x74,0x65,0x2c,0x20,0x61,0x6e,0x64,0x2f,0x6f,0x72,0x20,0x73,0x65,0x6c, +0x6c,0x20,0x63,0x6f,0x70,0x69,0x65,0x73,0x20,0x6f,0x66,0x20,0x74,0x68,0x65,0x20, +0x46,0x6f,0x6e,0x74,0x20,0x53,0x6f,0x66,0x74,0x77,0x61,0x72,0x65,0x2c,0x20,0x61, +0x6e,0x64,0x20,0x74,0x6f,0x20,0x70,0x65,0x72,0x6d,0x69,0x74,0x20,0x70,0x65,0x72, +0x73,0x6f,0x6e,0x73,0x20,0x74,0x6f,0x20,0x77,0x68,0x6f,0x6d,0x20,0x74,0x68,0x65, +0x20,0x46,0x6f,0x6e,0x74,0x20,0x53,0x6f,0x66,0x74,0x77,0x61,0x72,0x65,0x20,0x69, +0x73,0x20,0x66,0x75,0x72,0x6e,0x69,0x73,0x68,0x65,0x64,0x20,0x74,0x6f,0x20,0x64, +0x6f,0x20,0x73,0x6f,0x2c,0x20,0x73,0x75,0x62,0x6a,0x65,0x63,0x74,0x20,0x74,0x6f, +0x20,0x74,0x68,0x65,0x20,0x66,0x6f,0x6c,0x6c,0x6f,0x77,0x69,0x6e,0x67,0x20,0x63, +0x6f,0x6e,0x64,0x69,0x74,0x69,0x6f,0x6e,0x73,0x3a,0x0a,0x0a,0x54,0x68,0x65,0x20, +0x61,0x62,0x6f,0x76,0x65,0x20,0x63,0x6f,0x70,0x79,0x72,0x69,0x67,0x68,0x74,0x20, +0x61,0x6e,0x64,0x20,0x74,0x72,0x61,0x64,0x65,0x6d,0x61,0x72,0x6b,0x20,0x6e,0x6f, +0x74,0x69,0x63,0x65,0x73,0x20,0x61,0x6e,0x64,0x20,0x74,0x68,0x69,0x73,0x20,0x70, +0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x20,0x6e,0x6f,0x74,0x69,0x63,0x65, +0x20,0x73,0x68,0x61,0x6c,0x6c,0x20,0x62,0x65,0x20,0x69,0x6e,0x63,0x6c,0x75,0x64, +0x65,0x64,0x20,0x69,0x6e,0x20,0x61,0x6c,0x6c,0x20,0x63,0x6f,0x70,0x69,0x65,0x73, +0x20,0x6f,0x66,0x20,0x6f,0x6e,0x65,0x20,0x6f,0x72,0x20,0x6d,0x6f,0x72,0x65,0x20, +0x6f,0x66,0x20,0x74,0x68,0x65,0x20,0x46,0x6f,0x6e,0x74,0x20,0x53,0x6f,0x66,0x74, +0x77,0x61,0x72,0x65,0x20,0x74,0x79,0x70,0x65,0x66,0x61,0x63,0x65,0x73,0x2e,0x0a, +0x0a,0x54,0x68,0x65,0x20,0x46,0x6f,0x6e,0x74,0x20,0x53,0x6f,0x66,0x74,0x77,0x61, +0x72,0x65,0x20,0x6d,0x61,0x79,0x20,0x62,0x65,0x20,0x6d,0x6f,0x64,0x69,0x66,0x69, +0x65,0x64,0x2c,0x20,0x61,0x6c,0x74,0x65,0x72,0x65,0x64,0x2c,0x20,0x6f,0x72,0x20, +0x61,0x64,0x64,0x65,0x64,0x20,0x74,0x6f,0x2c,0x20,0x61,0x6e,0x64,0x20,0x69,0x6e, +0x20,0x70,0x61,0x72,0x74,0x69,0x63,0x75,0x6c,0x61,0x72,0x20,0x74,0x68,0x65,0x20, +0x64,0x65,0x73,0x69,0x67,0x6e,0x73,0x20,0x6f,0x66,0x20,0x67,0x6c,0x79,0x70,0x68, +0x73,0x20,0x6f,0x72,0x20,0x63,0x68,0x61,0x72,0x61,0x63,0x74,0x65,0x72,0x73,0x20, +0x69,0x6e,0x20,0x74,0x68,0x65,0x20,0x46,0x6f,0x6e,0x74,0x73,0x20,0x6d,0x61,0x79, +0x20,0x62,0x65,0x20,0x6d,0x6f,0x64,0x69,0x66,0x69,0x65,0x64,0x20,0x61,0x6e,0x64, +0x20,0x61,0x64,0x64,0x69,0x74,0x69,0x6f,0x6e,0x61,0x6c,0x20,0x67,0x6c,0x79,0x70, +0x68,0x73,0x20,0x6f,0x72,0x20,0x20,0x6f,0x72,0x20,0x63,0x68,0x61,0x72,0x61,0x63, +0x74,0x65,0x72,0x73,0x20,0x6d,0x61,0x79,0x20,0x62,0x65,0x20,0x61,0x64,0x64,0x65, +0x64,0x20,0x74,0x6f,0x20,0x74,0x68,0x65,0x20,0x46,0x6f,0x6e,0x74,0x73,0x2c,0x20, +0x6f,0x6e,0x6c,0x79,0x20,0x69,0x66,0x20,0x74,0x68,0x65,0x20,0x66,0x6f,0x6e,0x74, +0x73,0x20,0x61,0x72,0x65,0x20,0x72,0x65,0x6e,0x61,0x6d,0x65,0x64,0x20,0x74,0x6f, +0x20,0x6e,0x61,0x6d,0x65,0x73,0x20,0x6e,0x6f,0x74,0x20,0x63,0x6f,0x6e,0x74,0x61, +0x69,0x6e,0x69,0x6e,0x67,0x20,0x65,0x69,0x74,0x68,0x65,0x72,0x20,0x74,0x68,0x65, +0x20,0x77,0x6f,0x72,0x64,0x73,0x20,0x22,0x42,0x69,0x74,0x73,0x74,0x72,0x65,0x61, +0x6d,0x22,0x20,0x6f,0x72,0x20,0x74,0x68,0x65,0x20,0x77,0x6f,0x72,0x64,0x20,0x22, +0x56,0x65,0x72,0x61,0x22,0x2e,0x0a,0x0a,0x54,0x68,0x69,0x73,0x20,0x4c,0x69,0x63, +0x65,0x6e,0x73,0x65,0x20,0x62,0x65,0x63,0x6f,0x6d,0x65,0x73,0x20,0x6e,0x75,0x6c, +0x6c,0x20,0x61,0x6e,0x64,0x20,0x76,0x6f,0x69,0x64,0x20,0x74,0x6f,0x20,0x74,0x68, +0x65,0x20,0x65,0x78,0x74,0x65,0x6e,0x74,0x20,0x61,0x70,0x70,0x6c,0x69,0x63,0x61, +0x62,0x6c,0x65,0x20,0x74,0x6f,0x20,0x46,0x6f,0x6e,0x74,0x73,0x20,0x6f,0x72,0x20, +0x46,0x6f,0x6e,0x74,0x20,0x53,0x6f,0x66,0x74,0x77,0x61,0x72,0x65,0x20,0x74,0x68, +0x61,0x74,0x20,0x68,0x61,0x73,0x20,0x62,0x65,0x65,0x6e,0x20,0x6d,0x6f,0x64,0x69, +0x66,0x69,0x65,0x64,0x20,0x61,0x6e,0x64,0x20,0x69,0x73,0x20,0x64,0x69,0x73,0x74, +0x72,0x69,0x62,0x75,0x74,0x65,0x64,0x20,0x75,0x6e,0x64,0x65,0x72,0x20,0x74,0x68, +0x65,0x20,0x22,0x42,0x69,0x74,0x73,0x74,0x72,0x65,0x61,0x6d,0x20,0x56,0x65,0x72, +0x61,0x22,0x20,0x6e,0x61,0x6d,0x65,0x73,0x2e,0x0a,0x0a,0x54,0x68,0x65,0x20,0x46, +0x6f,0x6e,0x74,0x20,0x53,0x6f,0x66,0x74,0x77,0x61,0x72,0x65,0x20,0x6d,0x61,0x79, +0x20,0x62,0x65,0x20,0x73,0x6f,0x6c,0x64,0x20,0x61,0x73,0x20,0x70,0x61,0x72,0x74, +0x20,0x6f,0x66,0x20,0x61,0x20,0x6c,0x61,0x72,0x67,0x65,0x72,0x20,0x73,0x6f,0x66, +0x74,0x77,0x61,0x72,0x65,0x20,0x70,0x61,0x63,0x6b,0x61,0x67,0x65,0x20,0x62,0x75, +0x74,0x20,0x6e,0x6f,0x20,0x63,0x6f,0x70,0x79,0x20,0x6f,0x66,0x20,0x6f,0x6e,0x65, +0x20,0x6f,0x72,0x20,0x6d,0x6f,0x72,0x65,0x20,0x6f,0x66,0x20,0x74,0x68,0x65,0x20, +0x46,0x6f,0x6e,0x74,0x20,0x53,0x6f,0x66,0x74,0x77,0x61,0x72,0x65,0x20,0x74,0x79, +0x70,0x65,0x66,0x61,0x63,0x65,0x73,0x20,0x6d,0x61,0x79,0x20,0x62,0x65,0x20,0x73, +0x6f,0x6c,0x64,0x20,0x62,0x79,0x20,0x69,0x74,0x73,0x65,0x6c,0x66,0x2e,0x0a,0x0a, +0x54,0x48,0x45,0x20,0x46,0x4f,0x4e,0x54,0x20,0x53,0x4f,0x46,0x54,0x57,0x41,0x52, +0x45,0x20,0x49,0x53,0x20,0x50,0x52,0x4f,0x56,0x49,0x44,0x45,0x44,0x20,0x22,0x41, +0x53,0x20,0x49,0x53,0x22,0x2c,0x20,0x57,0x49,0x54,0x48,0x4f,0x55,0x54,0x20,0x57, +0x41,0x52,0x52,0x41,0x4e,0x54,0x59,0x20,0x4f,0x46,0x20,0x41,0x4e,0x59,0x20,0x4b, +0x49,0x4e,0x44,0x2c,0x20,0x45,0x58,0x50,0x52,0x45,0x53,0x53,0x20,0x4f,0x52,0x20, +0x49,0x4d,0x50,0x4c,0x49,0x45,0x44,0x2c,0x20,0x49,0x4e,0x43,0x4c,0x55,0x44,0x49, +0x4e,0x47,0x20,0x42,0x55,0x54,0x20,0x4e,0x4f,0x54,0x20,0x4c,0x49,0x4d,0x49,0x54, +0x45,0x44,0x20,0x54,0x4f,0x20,0x41,0x4e,0x59,0x20,0x57,0x41,0x52,0x52,0x41,0x4e, +0x54,0x49,0x45,0x53,0x20,0x4f,0x46,0x20,0x4d,0x45,0x52,0x43,0x48,0x41,0x4e,0x54, +0x41,0x42,0x49,0x4c,0x49,0x54,0x59,0x2c,0x20,0x46,0x49,0x54,0x4e,0x45,0x53,0x53, +0x20,0x46,0x4f,0x52,0x20,0x41,0x20,0x50,0x41,0x52,0x54,0x49,0x43,0x55,0x4c,0x41, +0x52,0x20,0x50,0x55,0x52,0x50,0x4f,0x53,0x45,0x20,0x41,0x4e,0x44,0x20,0x4e,0x4f, +0x4e,0x49,0x4e,0x46,0x52,0x49,0x4e,0x47,0x45,0x4d,0x45,0x4e,0x54,0x20,0x4f,0x46, +0x20,0x43,0x4f,0x50,0x59,0x52,0x49,0x47,0x48,0x54,0x2c,0x20,0x50,0x41,0x54,0x45, +0x4e,0x54,0x2c,0x20,0x54,0x52,0x41,0x44,0x45,0x4d,0x41,0x52,0x4b,0x2c,0x20,0x4f, +0x52,0x20,0x4f,0x54,0x48,0x45,0x52,0x20,0x52,0x49,0x47,0x48,0x54,0x2e,0x20,0x49, +0x4e,0x20,0x4e,0x4f,0x20,0x45,0x56,0x45,0x4e,0x54,0x20,0x53,0x48,0x41,0x4c,0x4c, +0x20,0x42,0x49,0x54,0x53,0x54,0x52,0x45,0x41,0x4d,0x20,0x4f,0x52,0x20,0x54,0x48, +0x45,0x20,0x47,0x4e,0x4f,0x4d,0x45,0x20,0x46,0x4f,0x55,0x4e,0x44,0x41,0x54,0x49, +0x4f,0x4e,0x20,0x42,0x45,0x20,0x4c,0x49,0x41,0x42,0x4c,0x45,0x20,0x46,0x4f,0x52, +0x20,0x41,0x4e,0x59,0x20,0x43,0x4c,0x41,0x49,0x4d,0x2c,0x20,0x44,0x41,0x4d,0x41, +0x47,0x45,0x53,0x20,0x4f,0x52,0x20,0x4f,0x54,0x48,0x45,0x52,0x20,0x4c,0x49,0x41, +0x42,0x49,0x4c,0x49,0x54,0x59,0x2c,0x20,0x49,0x4e,0x43,0x4c,0x55,0x44,0x49,0x4e, +0x47,0x20,0x41,0x4e,0x59,0x20,0x47,0x45,0x4e,0x45,0x52,0x41,0x4c,0x2c,0x20,0x53, +0x50,0x45,0x43,0x49,0x41,0x4c,0x2c,0x20,0x49,0x4e,0x44,0x49,0x52,0x45,0x43,0x54, +0x2c,0x20,0x49,0x4e,0x43,0x49,0x44,0x45,0x4e,0x54,0x41,0x4c,0x2c,0x20,0x4f,0x52, +0x20,0x43,0x4f,0x4e,0x53,0x45,0x51,0x55,0x45,0x4e,0x54,0x49,0x41,0x4c,0x20,0x44, +0x41,0x4d,0x41,0x47,0x45,0x53,0x2c,0x20,0x57,0x48,0x45,0x54,0x48,0x45,0x52,0x20, +0x49,0x4e,0x20,0x41,0x4e,0x20,0x41,0x43,0x54,0x49,0x4f,0x4e,0x20,0x4f,0x46,0x20, +0x43,0x4f,0x4e,0x54,0x52,0x41,0x43,0x54,0x2c,0x20,0x54,0x4f,0x52,0x54,0x20,0x4f, +0x52,0x20,0x4f,0x54,0x48,0x45,0x52,0x57,0x49,0x53,0x45,0x2c,0x20,0x41,0x52,0x49, +0x53,0x49,0x4e,0x47,0x20,0x46,0x52,0x4f,0x4d,0x2c,0x20,0x4f,0x55,0x54,0x20,0x4f, +0x46,0x20,0x54,0x48,0x45,0x20,0x55,0x53,0x45,0x20,0x4f,0x52,0x20,0x49,0x4e,0x41, +0x42,0x49,0x4c,0x49,0x54,0x59,0x20,0x54,0x4f,0x20,0x55,0x53,0x45,0x20,0x54,0x48, +0x45,0x20,0x46,0x4f,0x4e,0x54,0x20,0x53,0x4f,0x46,0x54,0x57,0x41,0x52,0x45,0x20, +0x4f,0x52,0x20,0x46,0x52,0x4f,0x4d,0x20,0x4f,0x54,0x48,0x45,0x52,0x20,0x44,0x45, +0x41,0x4c,0x49,0x4e,0x47,0x53,0x20,0x49,0x4e,0x20,0x54,0x48,0x45,0x20,0x46,0x4f, +0x4e,0x54,0x20,0x53,0x4f,0x46,0x54,0x57,0x41,0x52,0x45,0x2e,0x0a,0x0a,0x45,0x78, +0x63,0x65,0x70,0x74,0x20,0x61,0x73,0x20,0x63,0x6f,0x6e,0x74,0x61,0x69,0x6e,0x65, +0x64,0x20,0x69,0x6e,0x20,0x74,0x68,0x69,0x73,0x20,0x6e,0x6f,0x74,0x69,0x63,0x65, +0x2c,0x20,0x74,0x68,0x65,0x20,0x6e,0x61,0x6d,0x65,0x73,0x20,0x6f,0x66,0x20,0x47, +0x6e,0x6f,0x6d,0x65,0x2c,0x20,0x74,0x68,0x65,0x20,0x47,0x6e,0x6f,0x6d,0x65,0x20, +0x46,0x6f,0x75,0x6e,0x64,0x61,0x74,0x69,0x6f,0x6e,0x2c,0x20,0x61,0x6e,0x64,0x20, +0x42,0x69,0x74,0x73,0x74,0x72,0x65,0x61,0x6d,0x20,0x49,0x6e,0x63,0x2e,0x2c,0x20, +0x73,0x68,0x61,0x6c,0x6c,0x20,0x6e,0x6f,0x74,0x20,0x62,0x65,0x20,0x75,0x73,0x65, +0x64,0x20,0x69,0x6e,0x20,0x61,0x64,0x76,0x65,0x72,0x74,0x69,0x73,0x69,0x6e,0x67, +0x20,0x6f,0x72,0x20,0x6f,0x74,0x68,0x65,0x72,0x77,0x69,0x73,0x65,0x20,0x74,0x6f, +0x20,0x70,0x72,0x6f,0x6d,0x6f,0x74,0x65,0x20,0x74,0x68,0x65,0x20,0x73,0x61,0x6c, +0x65,0x2c,0x20,0x75,0x73,0x65,0x20,0x6f,0x72,0x20,0x6f,0x74,0x68,0x65,0x72,0x20, +0x64,0x65,0x61,0x6c,0x69,0x6e,0x67,0x73,0x20,0x69,0x6e,0x20,0x74,0x68,0x69,0x73, +0x20,0x46,0x6f,0x6e,0x74,0x20,0x53,0x6f,0x66,0x74,0x77,0x61,0x72,0x65,0x20,0x77, +0x69,0x74,0x68,0x6f,0x75,0x74,0x20,0x70,0x72,0x69,0x6f,0x72,0x20,0x77,0x72,0x69, +0x74,0x74,0x65,0x6e,0x20,0x61,0x75,0x74,0x68,0x6f,0x72,0x69,0x7a,0x61,0x74,0x69, +0x6f,0x6e,0x20,0x66,0x72,0x6f,0x6d,0x20,0x74,0x68,0x65,0x20,0x47,0x6e,0x6f,0x6d, +0x65,0x20,0x46,0x6f,0x75,0x6e,0x64,0x61,0x74,0x69,0x6f,0x6e,0x20,0x6f,0x72,0x20, +0x42,0x69,0x74,0x73,0x74,0x72,0x65,0x61,0x6d,0x20,0x49,0x6e,0x63,0x2e,0x2c,0x20, +0x72,0x65,0x73,0x70,0x65,0x63,0x74,0x69,0x76,0x65,0x6c,0x79,0x2e,0x20,0x46,0x6f, +0x72,0x20,0x66,0x75,0x72,0x74,0x68,0x65,0x72,0x20,0x69,0x6e,0x66,0x6f,0x72,0x6d, +0x61,0x74,0x69,0x6f,0x6e,0x2c,0x20,0x63,0x6f,0x6e,0x74,0x61,0x63,0x74,0x3a,0x20, +0x66,0x6f,0x6e,0x74,0x73,0x20,0x61,0x74,0x20,0x67,0x6e,0x6f,0x6d,0x65,0x20,0x64, +0x6f,0x74,0x20,0x6f,0x72,0x67,0x2e,0x20,0x0a,0x00,0x00,0x68,0x00,0x74,0x00,0x74, +0x00,0x70,0x00,0x3a,0x00,0x2f,0x00,0x2f,0x00,0x64,0x00,0x65,0x00,0x6a,0x00,0x61, +0x00,0x76,0x00,0x75,0x00,0x2e,0x00,0x73,0x00,0x6f,0x00,0x75,0x00,0x72,0x00,0x63, +0x00,0x65,0x00,0x66,0x00,0x6f,0x00,0x72,0x00,0x67,0x00,0x65,0x00,0x2e,0x00,0x6e, +0x00,0x65,0x00,0x74,0x00,0x2f,0x00,0x77,0x00,0x69,0x00,0x6b,0x00,0x69,0x00,0x2f, +0x00,0x69,0x00,0x6e,0x00,0x64,0x00,0x65,0x00,0x78,0x00,0x2e,0x00,0x70,0x00,0x68, +0x00,0x70,0x00,0x2f,0x00,0x4c,0x00,0x69,0x00,0x63,0x00,0x65,0x00,0x6e,0x00,0x73, +0x00,0x65,0x00,0x00,0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f,0x64,0x65,0x6a,0x61,0x76, +0x75,0x2e,0x73,0x6f,0x75,0x72,0x63,0x65,0x66,0x6f,0x72,0x67,0x65,0x2e,0x6e,0x65, +0x74,0x2f,0x77,0x69,0x6b,0x69,0x2f,0x69,0x6e,0x64,0x65,0x78,0x2e,0x70,0x68,0x70, +0x2f,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x00,0x4c,0x69,0x67,0x61,0x74,0x75,0x72, +0x65,0x73,0x00,0x4c,0x69,0x67,0x61,0x74,0x75,0x72,0x65,0x73,0x00,0x4c,0x69,0x67, +0x61,0x74,0x75,0x72,0x65,0x6e,0x00,0x4c,0x65,0x67,0x61,0x74,0x75,0x72,0x65,0x00, +0x4c,0x69,0x67,0x61,0x74,0x75,0x72,0x65,0x6e,0x00,0x43,0x75,0x72,0x73,0x69,0x76, +0x65,0x20,0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x69,0x6f,0x6e,0x00,0x43,0x6f,0x6e, +0x6e,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x64,0x65,0x73,0x20,0x43,0x75,0x72,0x73, +0x69,0x76,0x65,0x73,0x00,0x43,0x75,0x72,0x73,0x69,0x65,0x76,0x65,0x20,0x76,0x65, +0x72,0x62,0x69,0x6e,0x64,0x69,0x6e,0x67,0x00,0x46,0x72,0x61,0x63,0x74,0x69,0x6f, +0x6e,0x73,0x00,0x46,0x72,0x61,0x63,0x74,0x69,0x6f,0x6e,0x73,0x00,0x42,0x72,0x65, +0x75,0x6b,0x65,0x6e,0x00,0x41,0x6c,0x6c,0x20,0x54,0x79,0x70,0x6f,0x67,0x72,0x61, +0x70,0x68,0x69,0x63,0x20,0x46,0x65,0x61,0x74,0x75,0x72,0x65,0x73,0x00,0x46,0x6f, +0x6e,0x63,0x74,0x69,0x6f,0x6e,0x73,0x20,0x74,0x79,0x70,0x6f,0x67,0x72,0x61,0x70, +0x68,0x69,0x71,0x75,0x65,0x73,0x00,0x41,0x6c,0x6c,0x65,0x20,0x74,0x79,0x70,0x6f, +0x67,0x72,0x61,0x66,0x69,0x73,0x63,0x68,0x65,0x6e,0x20,0x4d,0x9a,0x67,0x6c,0x69, +0x63,0x68,0x6b,0x65,0x69,0x74,0x65,0x6e,0x00,0x46,0x75,0x6e,0x7a,0x69,0x6f,0x6e, +0x69,0x20,0x54,0x69,0x70,0x6f,0x67,0x72,0x61,0x66,0x69,0x63,0x68,0x65,0x00,0x41, +0x6c,0x6c,0x65,0x20,0x74,0x79,0x70,0x6f,0x67,0x72,0x61,0x66,0x69,0x73,0x63,0x68, +0x65,0x20,0x6b,0x65,0x6e,0x6d,0x65,0x72,0x6b,0x65,0x6e,0x00,0x52,0x65,0x71,0x75, +0x69,0x72,0x65,0x64,0x20,0x4c,0x69,0x67,0x61,0x74,0x75,0x72,0x65,0x73,0x00,0x4c, +0x69,0x67,0x61,0x74,0x75,0x72,0x65,0x73,0x20,0x52,0x65,0x71,0x75,0x69,0x73,0x65, +0x73,0x00,0x56,0x65,0x72,0x65,0x69,0x73,0x74,0x65,0x20,0x6c,0x69,0x67,0x61,0x74, +0x75,0x72,0x65,0x6e,0x00,0x43,0x6f,0x6d,0x6d,0x6f,0x6e,0x20,0x4c,0x69,0x67,0x61, +0x74,0x75,0x72,0x65,0x73,0x00,0x4c,0x69,0x67,0x61,0x74,0x75,0x72,0x65,0x73,0x20, +0x55,0x73,0x75,0x65,0x6c,0x6c,0x65,0x73,0x00,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x65, +0x20,0x4c,0x69,0x67,0x61,0x74,0x75,0x72,0x65,0x6e,0x00,0x4c,0x65,0x67,0x61,0x74, +0x75,0x72,0x65,0x20,0x70,0x69,0x9d,0x20,0x43,0x6f,0x6d,0x75,0x6e,0x69,0x00,0x47, +0x65,0x6d,0x65,0x65,0x6e,0x73,0x63,0x68,0x61,0x70,0x70,0x65,0x6c,0x69,0x6a,0x6b, +0x65,0x20,0x4c,0x69,0x67,0x61,0x74,0x75,0x72,0x65,0x6e,0x00,0x52,0x61,0x72,0x65, +0x20,0x4c,0x69,0x67,0x61,0x74,0x75,0x72,0x65,0x73,0x00,0x4c,0x69,0x67,0x61,0x74, +0x75,0x72,0x65,0x73,0x20,0x52,0x61,0x72,0x65,0x73,0x00,0x53,0x65,0x6c,0x74,0x65, +0x6e,0x65,0x20,0x4c,0x69,0x67,0x61,0x74,0x75,0x72,0x65,0x6e,0x00,0x4c,0x65,0x67, +0x61,0x74,0x75,0x72,0x65,0x20,0x52,0x61,0x72,0x65,0x00,0x5a,0x65,0x6c,0x64,0x7a, +0x61,0x6d,0x65,0x20,0x6c,0x69,0x67,0x61,0x74,0x75,0x72,0x65,0x6e,0x00,0x43,0x75, +0x72,0x73,0x69,0x76,0x65,0x00,0x50,0x6c,0x65,0x69,0x6e,0x65,0x6d,0x65,0x6e,0x74, +0x20,0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x8e,0x65,0x73,0x00,0x43,0x75,0x72,0x73, +0x69,0x65,0x66,0x00,0x44,0x69,0x61,0x67,0x6f,0x6e,0x61,0x6c,0x20,0x46,0x72,0x61, +0x63,0x74,0x69,0x6f,0x6e,0x73,0x00,0x46,0x72,0x61,0x63,0x74,0x69,0x6f,0x6e,0x73, +0x20,0x65,0x6e,0x20,0x44,0x69,0x61,0x67,0x6f,0x6e,0x61,0x6c,0x65,0x00,0x44,0x69, +0x61,0x67,0x6f,0x6e,0x61,0x6c,0x65,0x72,0x20,0x42,0x72,0x75,0x63,0x68,0x00,0x46, +0x72,0x61,0x7a,0x69,0x6f,0x6e,0x69,0x20,0x44,0x69,0x61,0x67,0x6f,0x6e,0x61,0x6c, +0x69,0x00,0x44,0x69,0x61,0x67,0x6f,0x6e,0x61,0x6c,0x65,0x20,0x62,0x72,0x65,0x75, +0x6b,0x65,0x6e,0x00,0x41,0x6c,0x6c,0x20,0x54,0x79,0x70,0x65,0x20,0x46,0x65,0x61, +0x74,0x75,0x72,0x65,0x73,0x00,0x54,0x6f,0x75,0x74,0x65,0x73,0x20,0x66,0x6f,0x6e, +0x63,0x74,0x69,0x6f,0x6e,0x73,0x20,0x74,0x79,0x70,0x6f,0x67,0x72,0x61,0x70,0x68, +0x69,0x71,0x75,0x65,0x73,0x00,0x41,0x6c,0x6c,0x65,0x20,0x41,0x75,0x73,0x7a,0x65, +0x69,0x63,0x68,0x6e,0x75,0x6e,0x67,0x73,0x61,0x72,0x74,0x65,0x6e,0x00,0x54,0x75, +0x74,0x74,0x65,0x20,0x6c,0x65,0x20,0x46,0x75,0x6e,0x7a,0x69,0x6f,0x6e,0x69,0x00, +0x41,0x6c,0x6c,0x65,0x20,0x74,0x79,0x70,0x65,0x6b,0x65,0x6e,0x6d,0x65,0x72,0x6b, +0x65,0x6e,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xab,0x00,0x5a, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x0c,0x31,0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04, +0x00,0x05,0x00,0x06,0x00,0x07,0x00,0x08,0x00,0x09,0x00,0x0a,0x00,0x0b,0x00,0x0c, +0x00,0x0d,0x00,0x0e,0x00,0x0f,0x00,0x10,0x00,0x11,0x00,0x12,0x00,0x13,0x00,0x14, +0x00,0x15,0x00,0x16,0x00,0x17,0x00,0x18,0x00,0x19,0x00,0x1a,0x00,0x1b,0x00,0x1c, +0x00,0x1d,0x00,0x1e,0x00,0x1f,0x00,0x20,0x00,0x21,0x00,0x22,0x00,0x23,0x00,0x24, +0x00,0x25,0x00,0x26,0x00,0x27,0x00,0x28,0x00,0x29,0x00,0x2a,0x00,0x2b,0x00,0x2c, +0x00,0x2d,0x00,0x2e,0x00,0x2f,0x00,0x30,0x00,0x31,0x00,0x32,0x00,0x33,0x00,0x34, +0x00,0x35,0x00,0x36,0x00,0x37,0x00,0x38,0x00,0x39,0x00,0x3a,0x00,0x3b,0x00,0x3c, +0x00,0x3d,0x00,0x3e,0x00,0x3f,0x00,0x40,0x00,0x41,0x00,0x42,0x00,0x43,0x00,0x44, +0x00,0x45,0x00,0x46,0x00,0x47,0x00,0x48,0x00,0x49,0x00,0x4a,0x00,0x4b,0x00,0x4c, +0x00,0x4d,0x00,0x4e,0x00,0x4f,0x00,0x50,0x00,0x51,0x00,0x52,0x00,0x53,0x00,0x54, +0x00,0x55,0x00,0x56,0x00,0x57,0x00,0x58,0x00,0x59,0x00,0x5a,0x00,0x5b,0x00,0x5c, +0x00,0x5d,0x00,0x5e,0x00,0x5f,0x00,0x60,0x00,0x61,0x00,0xac,0x00,0xa3,0x00,0x84, +0x00,0x85,0x00,0xbd,0x00,0x96,0x00,0xe8,0x00,0x86,0x00,0x8e,0x00,0x8b,0x00,0x9d, +0x00,0xa9,0x00,0xa4,0x01,0x02,0x00,0x8a,0x00,0xda,0x00,0x83,0x00,0x93,0x00,0xf2, +0x00,0xf3,0x00,0x8d,0x00,0x97,0x00,0x88,0x00,0xc3,0x00,0xde,0x00,0xf1,0x00,0x9e, +0x00,0xaa,0x00,0xf5,0x00,0xf4,0x00,0xf6,0x00,0xa2,0x00,0xad,0x00,0xc9,0x00,0xc7, +0x00,0xae,0x00,0x62,0x00,0x63,0x00,0x90,0x00,0x64,0x00,0xcb,0x00,0x65,0x00,0xc8, +0x00,0xca,0x00,0xcf,0x00,0xcc,0x00,0xcd,0x00,0xce,0x00,0xe9,0x00,0x66,0x00,0xd3, +0x00,0xd0,0x00,0xd1,0x00,0xaf,0x00,0x67,0x00,0xf0,0x00,0x91,0x00,0xd6,0x00,0xd4, +0x00,0xd5,0x00,0x68,0x00,0xeb,0x00,0xed,0x00,0x89,0x00,0x6a,0x00,0x69,0x00,0x6b, +0x00,0x6d,0x00,0x6c,0x00,0x6e,0x00,0xa0,0x00,0x6f,0x00,0x71,0x00,0x70,0x00,0x72, +0x00,0x73,0x00,0x75,0x00,0x74,0x00,0x76,0x00,0x77,0x00,0xea,0x00,0x78,0x00,0x7a, +0x00,0x79,0x00,0x7b,0x00,0x7d,0x00,0x7c,0x00,0xb8,0x00,0xa1,0x00,0x7f,0x00,0x7e, +0x00,0x80,0x00,0x81,0x00,0xec,0x00,0xee,0x00,0xba,0x01,0x03,0x01,0x04,0x01,0x05, +0x01,0x06,0x01,0x07,0x01,0x08,0x00,0xfd,0x00,0xfe,0x01,0x09,0x01,0x0a,0x01,0x0b, +0x01,0x0c,0x00,0xff,0x01,0x00,0x01,0x0d,0x01,0x0e,0x01,0x0f,0x01,0x01,0x01,0x10, +0x01,0x11,0x01,0x12,0x01,0x13,0x01,0x14,0x01,0x15,0x01,0x16,0x01,0x17,0x01,0x18, +0x01,0x19,0x01,0x1a,0x01,0x1b,0x00,0xf8,0x00,0xf9,0x01,0x1c,0x01,0x1d,0x01,0x1e, +0x01,0x1f,0x01,0x20,0x01,0x21,0x01,0x22,0x01,0x23,0x01,0x24,0x01,0x25,0x01,0x26, +0x01,0x27,0x01,0x28,0x01,0x29,0x01,0x2a,0x01,0x2b,0x00,0xfa,0x00,0xd7,0x01,0x2c, +0x01,0x2d,0x01,0x2e,0x01,0x2f,0x01,0x30,0x01,0x31,0x01,0x32,0x01,0x33,0x01,0x34, +0x01,0x35,0x01,0x36,0x01,0x37,0x01,0x38,0x01,0x39,0x01,0x3a,0x00,0xe2,0x00,0xe3, +0x01,0x3b,0x01,0x3c,0x01,0x3d,0x01,0x3e,0x01,0x3f,0x01,0x40,0x01,0x41,0x01,0x42, +0x01,0x43,0x01,0x44,0x01,0x45,0x01,0x46,0x01,0x47,0x01,0x48,0x01,0x49,0x00,0xb0, +0x00,0xb1,0x01,0x4a,0x01,0x4b,0x01,0x4c,0x01,0x4d,0x01,0x4e,0x01,0x4f,0x01,0x50, +0x01,0x51,0x01,0x52,0x01,0x53,0x00,0xfb,0x00,0xfc,0x00,0xe4,0x00,0xe5,0x01,0x54, +0x01,0x55,0x01,0x56,0x01,0x57,0x01,0x58,0x01,0x59,0x01,0x5a,0x01,0x5b,0x01,0x5c, +0x01,0x5d,0x01,0x5e,0x01,0x5f,0x01,0x60,0x01,0x61,0x01,0x62,0x01,0x63,0x01,0x64, +0x01,0x65,0x01,0x66,0x01,0x67,0x01,0x68,0x01,0x69,0x00,0xbb,0x01,0x6a,0x01,0x6b, +0x01,0x6c,0x01,0x6d,0x00,0xe6,0x00,0xe7,0x01,0x6e,0x01,0x6f,0x01,0x70,0x01,0x71, +0x01,0x72,0x01,0x73,0x01,0x74,0x01,0x75,0x01,0x76,0x01,0x77,0x01,0x78,0x01,0x79, +0x01,0x7a,0x01,0x7b,0x01,0x7c,0x01,0x7d,0x01,0x7e,0x01,0x7f,0x01,0x80,0x00,0xa6, +0x01,0x81,0x01,0x82,0x01,0x83,0x01,0x84,0x01,0x85,0x01,0x86,0x01,0x87,0x01,0x88, +0x01,0x89,0x01,0x8a,0x01,0x8b,0x01,0x8c,0x01,0x8d,0x01,0x8e,0x01,0x8f,0x01,0x90, +0x01,0x91,0x01,0x92,0x01,0x93,0x01,0x94,0x01,0x95,0x01,0x96,0x01,0x97,0x01,0x98, +0x01,0x99,0x01,0x9a,0x01,0x9b,0x01,0x9c,0x01,0x9d,0x01,0x9e,0x01,0x9f,0x01,0xa0, +0x01,0xa1,0x01,0xa2,0x01,0xa3,0x01,0xa4,0x01,0xa5,0x01,0xa6,0x01,0xa7,0x01,0xa8, +0x01,0xa9,0x01,0xaa,0x01,0xab,0x01,0xac,0x01,0xad,0x01,0xae,0x01,0xaf,0x01,0xb0, +0x01,0xb1,0x01,0xb2,0x01,0xb3,0x01,0xb4,0x01,0xb5,0x01,0xb6,0x01,0xb7,0x01,0xb8, +0x01,0xb9,0x01,0xba,0x01,0xbb,0x01,0xbc,0x01,0xbd,0x01,0xbe,0x01,0xbf,0x01,0xc0, +0x01,0xc1,0x01,0xc2,0x01,0xc3,0x01,0xc4,0x01,0xc5,0x01,0xc6,0x01,0xc7,0x01,0xc8, +0x01,0xc9,0x01,0xca,0x01,0xcb,0x01,0xcc,0x01,0xcd,0x01,0xce,0x01,0xcf,0x01,0xd0, +0x01,0xd1,0x01,0xd2,0x01,0xd3,0x01,0xd4,0x01,0xd5,0x01,0xd6,0x01,0xd7,0x01,0xd8, +0x01,0xd9,0x01,0xda,0x01,0xdb,0x01,0xdc,0x01,0xdd,0x01,0xde,0x01,0xdf,0x01,0xe0, +0x01,0xe1,0x01,0xe2,0x01,0xe3,0x01,0xe4,0x01,0xe5,0x01,0xe6,0x01,0xe7,0x01,0xe8, +0x01,0xe9,0x01,0xea,0x01,0xeb,0x01,0xec,0x01,0xed,0x01,0xee,0x01,0xef,0x01,0xf0, +0x01,0xf1,0x01,0xf2,0x01,0xf3,0x01,0xf4,0x01,0xf5,0x01,0xf6,0x01,0xf7,0x01,0xf8, +0x01,0xf9,0x01,0xfa,0x01,0xfb,0x01,0xfc,0x01,0xfd,0x01,0xfe,0x01,0xff,0x02,0x00, +0x02,0x01,0x02,0x02,0x02,0x03,0x02,0x04,0x02,0x05,0x02,0x06,0x02,0x07,0x02,0x08, +0x02,0x09,0x02,0x0a,0x02,0x0b,0x02,0x0c,0x02,0x0d,0x02,0x0e,0x02,0x0f,0x02,0x10, +0x02,0x11,0x02,0x12,0x02,0x13,0x02,0x14,0x02,0x15,0x02,0x16,0x02,0x17,0x02,0x18, +0x02,0x19,0x02,0x1a,0x02,0x1b,0x02,0x1c,0x02,0x1d,0x02,0x1e,0x02,0x1f,0x02,0x20, +0x02,0x21,0x02,0x22,0x02,0x23,0x02,0x24,0x02,0x25,0x02,0x26,0x02,0x27,0x02,0x28, +0x02,0x29,0x02,0x2a,0x02,0x2b,0x02,0x2c,0x02,0x2d,0x02,0x2e,0x02,0x2f,0x02,0x30, +0x02,0x31,0x02,0x32,0x02,0x33,0x02,0x34,0x02,0x35,0x02,0x36,0x02,0x37,0x02,0x38, +0x02,0x39,0x02,0x3a,0x02,0x3b,0x02,0x3c,0x02,0x3d,0x02,0x3e,0x02,0x3f,0x02,0x40, +0x02,0x41,0x02,0x42,0x02,0x43,0x02,0x44,0x02,0x45,0x02,0x46,0x02,0x47,0x02,0x48, +0x02,0x49,0x02,0x4a,0x02,0x4b,0x02,0x4c,0x02,0x4d,0x02,0x4e,0x02,0x4f,0x02,0x50, +0x02,0x51,0x02,0x52,0x02,0x53,0x02,0x54,0x02,0x55,0x02,0x56,0x02,0x57,0x02,0x58, +0x02,0x59,0x02,0x5a,0x02,0x5b,0x02,0x5c,0x02,0x5d,0x02,0x5e,0x02,0x5f,0x02,0x60, +0x02,0x61,0x02,0x62,0x02,0x63,0x02,0x64,0x02,0x65,0x02,0x66,0x02,0x67,0x02,0x68, +0x02,0x69,0x02,0x6a,0x02,0x6b,0x02,0x6c,0x02,0x6d,0x02,0x6e,0x02,0x6f,0x02,0x70, +0x02,0x71,0x02,0x72,0x02,0x73,0x02,0x74,0x02,0x75,0x02,0x76,0x02,0x77,0x02,0x78, +0x02,0x79,0x02,0x7a,0x02,0x7b,0x02,0x7c,0x02,0x7d,0x02,0x7e,0x02,0x7f,0x02,0x80, +0x02,0x81,0x02,0x82,0x02,0x83,0x02,0x84,0x02,0x85,0x02,0x86,0x02,0x87,0x02,0x88, +0x02,0x89,0x02,0x8a,0x02,0x8b,0x02,0x8c,0x02,0x8d,0x02,0x8e,0x02,0x8f,0x02,0x90, +0x02,0x91,0x02,0x92,0x02,0x93,0x02,0x94,0x02,0x95,0x02,0x96,0x02,0x97,0x02,0x98, +0x02,0x99,0x02,0x9a,0x02,0x9b,0x02,0x9c,0x02,0x9d,0x02,0x9e,0x02,0x9f,0x02,0xa0, +0x02,0xa1,0x02,0xa2,0x02,0xa3,0x02,0xa4,0x02,0xa5,0x00,0xd8,0x00,0xe1,0x02,0xa6, +0x02,0xa7,0x02,0xa8,0x02,0xa9,0x02,0xaa,0x02,0xab,0x02,0xac,0x02,0xad,0x02,0xae, +0x02,0xaf,0x02,0xb0,0x02,0xb1,0x02,0xb2,0x02,0xb3,0x02,0xb4,0x02,0xb5,0x00,0xdb, +0x00,0xdc,0x00,0xdd,0x00,0xe0,0x00,0xd9,0x00,0xdf,0x02,0xb6,0x02,0xb7,0x02,0xb8, +0x02,0xb9,0x02,0xba,0x02,0xbb,0x02,0xbc,0x02,0xbd,0x02,0xbe,0x02,0xbf,0x02,0xc0, +0x02,0xc1,0x02,0xc2,0x02,0xc3,0x02,0xc4,0x02,0xc5,0x02,0xc6,0x02,0xc7,0x02,0xc8, +0x02,0xc9,0x02,0xca,0x02,0xcb,0x02,0xcc,0x02,0xcd,0x02,0xce,0x02,0xcf,0x02,0xd0, +0x02,0xd1,0x02,0xd2,0x02,0xd3,0x02,0xd4,0x02,0xd5,0x02,0xd6,0x02,0xd7,0x02,0xd8, +0x02,0xd9,0x02,0xda,0x02,0xdb,0x02,0xdc,0x02,0xdd,0x02,0xde,0x02,0xdf,0x02,0xe0, +0x02,0xe1,0x02,0xe2,0x02,0xe3,0x02,0xe4,0x02,0xe5,0x02,0xe6,0x02,0xe7,0x02,0xe8, +0x02,0xe9,0x02,0xea,0x02,0xeb,0x02,0xec,0x02,0xed,0x02,0xee,0x02,0xef,0x02,0xf0, +0x02,0xf1,0x02,0xf2,0x02,0xf3,0x02,0xf4,0x02,0xf5,0x02,0xf6,0x02,0xf7,0x02,0xf8, +0x02,0xf9,0x02,0xfa,0x02,0xfb,0x02,0xfc,0x02,0xfd,0x02,0xfe,0x02,0xff,0x03,0x00, +0x03,0x01,0x03,0x02,0x03,0x03,0x03,0x04,0x03,0x05,0x03,0x06,0x03,0x07,0x03,0x08, +0x03,0x09,0x03,0x0a,0x03,0x0b,0x03,0x0c,0x03,0x0d,0x03,0x0e,0x03,0x0f,0x03,0x10, +0x03,0x11,0x03,0x12,0x03,0x13,0x03,0x14,0x03,0x15,0x03,0x16,0x03,0x17,0x03,0x18, +0x03,0x19,0x03,0x1a,0x03,0x1b,0x03,0x1c,0x03,0x1d,0x03,0x1e,0x03,0x1f,0x03,0x20, +0x03,0x21,0x03,0x22,0x03,0x23,0x03,0x24,0x03,0x25,0x03,0x26,0x03,0x27,0x03,0x28, +0x03,0x29,0x03,0x2a,0x03,0x2b,0x03,0x2c,0x03,0x2d,0x03,0x2e,0x03,0x2f,0x03,0x30, +0x03,0x31,0x03,0x32,0x03,0x33,0x03,0x34,0x03,0x35,0x03,0x36,0x03,0x37,0x03,0x38, +0x03,0x39,0x03,0x3a,0x03,0x3b,0x03,0x3c,0x03,0x3d,0x03,0x3e,0x03,0x3f,0x03,0x40, +0x03,0x41,0x03,0x42,0x03,0x43,0x03,0x44,0x03,0x45,0x00,0x9f,0x03,0x46,0x03,0x47, +0x03,0x48,0x03,0x49,0x03,0x4a,0x03,0x4b,0x03,0x4c,0x03,0x4d,0x03,0x4e,0x03,0x4f, +0x03,0x50,0x03,0x51,0x03,0x52,0x03,0x53,0x03,0x54,0x03,0x55,0x03,0x56,0x03,0x57, +0x03,0x58,0x03,0x59,0x03,0x5a,0x03,0x5b,0x00,0x9b,0x03,0x5c,0x03,0x5d,0x03,0x5e, +0x03,0x5f,0x03,0x60,0x03,0x61,0x03,0x62,0x03,0x63,0x03,0x64,0x03,0x65,0x03,0x66, +0x03,0x67,0x03,0x68,0x03,0x69,0x03,0x6a,0x03,0x6b,0x03,0x6c,0x03,0x6d,0x03,0x6e, +0x03,0x6f,0x03,0x70,0x03,0x71,0x03,0x72,0x03,0x73,0x03,0x74,0x03,0x75,0x03,0x76, +0x03,0x77,0x03,0x78,0x03,0x79,0x03,0x7a,0x03,0x7b,0x03,0x7c,0x03,0x7d,0x03,0x7e, +0x03,0x7f,0x03,0x80,0x03,0x81,0x03,0x82,0x03,0x83,0x03,0x84,0x03,0x85,0x03,0x86, +0x03,0x87,0x03,0x88,0x03,0x89,0x03,0x8a,0x03,0x8b,0x03,0x8c,0x03,0x8d,0x03,0x8e, +0x03,0x8f,0x03,0x90,0x03,0x91,0x03,0x92,0x03,0x93,0x03,0x94,0x03,0x95,0x03,0x96, +0x03,0x97,0x03,0x98,0x03,0x99,0x03,0x9a,0x03,0x9b,0x03,0x9c,0x03,0x9d,0x03,0x9e, +0x03,0x9f,0x03,0xa0,0x03,0xa1,0x03,0xa2,0x03,0xa3,0x03,0xa4,0x03,0xa5,0x03,0xa6, +0x03,0xa7,0x03,0xa8,0x03,0xa9,0x03,0xaa,0x03,0xab,0x03,0xac,0x03,0xad,0x03,0xae, +0x03,0xaf,0x03,0xb0,0x03,0xb1,0x03,0xb2,0x03,0xb3,0x03,0xb4,0x03,0xb5,0x03,0xb6, +0x03,0xb7,0x03,0xb8,0x03,0xb9,0x03,0xba,0x03,0xbb,0x03,0xbc,0x03,0xbd,0x03,0xbe, +0x03,0xbf,0x03,0xc0,0x03,0xc1,0x03,0xc2,0x03,0xc3,0x03,0xc4,0x03,0xc5,0x03,0xc6, +0x03,0xc7,0x03,0xc8,0x03,0xc9,0x03,0xca,0x03,0xcb,0x03,0xcc,0x03,0xcd,0x03,0xce, +0x03,0xcf,0x03,0xd0,0x03,0xd1,0x03,0xd2,0x03,0xd3,0x03,0xd4,0x03,0xd5,0x03,0xd6, +0x03,0xd7,0x03,0xd8,0x03,0xd9,0x03,0xda,0x03,0xdb,0x03,0xdc,0x03,0xdd,0x03,0xde, +0x03,0xdf,0x03,0xe0,0x03,0xe1,0x03,0xe2,0x03,0xe3,0x03,0xe4,0x03,0xe5,0x03,0xe6, +0x03,0xe7,0x03,0xe8,0x03,0xe9,0x03,0xea,0x03,0xeb,0x03,0xec,0x03,0xed,0x03,0xee, +0x03,0xef,0x03,0xf0,0x03,0xf1,0x03,0xf2,0x03,0xf3,0x03,0xf4,0x03,0xf5,0x03,0xf6, +0x03,0xf7,0x03,0xf8,0x03,0xf9,0x03,0xfa,0x03,0xfb,0x03,0xfc,0x03,0xfd,0x03,0xfe, +0x03,0xff,0x04,0x00,0x04,0x01,0x04,0x02,0x04,0x03,0x04,0x04,0x04,0x05,0x04,0x06, +0x04,0x07,0x04,0x08,0x04,0x09,0x04,0x0a,0x04,0x0b,0x04,0x0c,0x04,0x0d,0x04,0x0e, +0x04,0x0f,0x04,0x10,0x04,0x11,0x04,0x12,0x04,0x13,0x04,0x14,0x04,0x15,0x04,0x16, +0x04,0x17,0x04,0x18,0x04,0x19,0x04,0x1a,0x04,0x1b,0x04,0x1c,0x04,0x1d,0x04,0x1e, +0x04,0x1f,0x04,0x20,0x04,0x21,0x04,0x22,0x04,0x23,0x04,0x24,0x04,0x25,0x04,0x26, +0x04,0x27,0x04,0x28,0x04,0x29,0x04,0x2a,0x04,0x2b,0x04,0x2c,0x04,0x2d,0x04,0x2e, +0x04,0x2f,0x04,0x30,0x04,0x31,0x04,0x32,0x04,0x33,0x04,0x34,0x04,0x35,0x04,0x36, +0x04,0x37,0x04,0x38,0x04,0x39,0x04,0x3a,0x04,0x3b,0x04,0x3c,0x04,0x3d,0x04,0x3e, +0x04,0x3f,0x04,0x40,0x04,0x41,0x04,0x42,0x04,0x43,0x04,0x44,0x04,0x45,0x04,0x46, +0x04,0x47,0x04,0x48,0x04,0x49,0x04,0x4a,0x04,0x4b,0x04,0x4c,0x04,0x4d,0x04,0x4e, +0x04,0x4f,0x04,0x50,0x04,0x51,0x04,0x52,0x04,0x53,0x04,0x54,0x04,0x55,0x04,0x56, +0x04,0x57,0x04,0x58,0x04,0x59,0x04,0x5a,0x04,0x5b,0x04,0x5c,0x04,0x5d,0x04,0x5e, +0x04,0x5f,0x04,0x60,0x04,0x61,0x04,0x62,0x04,0x63,0x04,0x64,0x04,0x65,0x04,0x66, +0x04,0x67,0x04,0x68,0x04,0x69,0x04,0x6a,0x04,0x6b,0x04,0x6c,0x04,0x6d,0x04,0x6e, +0x04,0x6f,0x04,0x70,0x04,0x71,0x04,0x72,0x04,0x73,0x04,0x74,0x04,0x75,0x04,0x76, +0x04,0x77,0x04,0x78,0x04,0x79,0x04,0x7a,0x04,0x7b,0x04,0x7c,0x04,0x7d,0x04,0x7e, +0x04,0x7f,0x04,0x80,0x04,0x81,0x04,0x82,0x04,0x83,0x04,0x84,0x04,0x85,0x04,0x86, +0x04,0x87,0x04,0x88,0x04,0x89,0x04,0x8a,0x04,0x8b,0x04,0x8c,0x04,0x8d,0x04,0x8e, +0x04,0x8f,0x04,0x90,0x04,0x91,0x04,0x92,0x04,0x93,0x04,0x94,0x04,0x95,0x04,0x96, +0x04,0x97,0x04,0x98,0x04,0x99,0x04,0x9a,0x04,0x9b,0x04,0x9c,0x04,0x9d,0x04,0x9e, +0x04,0x9f,0x04,0xa0,0x04,0xa1,0x04,0xa2,0x04,0xa3,0x04,0xa4,0x04,0xa5,0x04,0xa6, +0x04,0xa7,0x04,0xa8,0x04,0xa9,0x04,0xaa,0x04,0xab,0x04,0xac,0x04,0xad,0x04,0xae, +0x04,0xaf,0x04,0xb0,0x04,0xb1,0x04,0xb2,0x04,0xb3,0x04,0xb4,0x04,0xb5,0x04,0xb6, +0x04,0xb7,0x04,0xb8,0x04,0xb9,0x04,0xba,0x04,0xbb,0x04,0xbc,0x04,0xbd,0x04,0xbe, +0x04,0xbf,0x04,0xc0,0x04,0xc1,0x04,0xc2,0x04,0xc3,0x04,0xc4,0x04,0xc5,0x04,0xc6, +0x04,0xc7,0x04,0xc8,0x04,0xc9,0x04,0xca,0x04,0xcb,0x04,0xcc,0x04,0xcd,0x04,0xce, +0x04,0xcf,0x04,0xd0,0x04,0xd1,0x04,0xd2,0x04,0xd3,0x04,0xd4,0x04,0xd5,0x04,0xd6, +0x04,0xd7,0x04,0xd8,0x04,0xd9,0x04,0xda,0x04,0xdb,0x04,0xdc,0x04,0xdd,0x04,0xde, +0x04,0xdf,0x04,0xe0,0x04,0xe1,0x04,0xe2,0x04,0xe3,0x04,0xe4,0x04,0xe5,0x04,0xe6, +0x04,0xe7,0x04,0xe8,0x04,0xe9,0x04,0xea,0x04,0xeb,0x04,0xec,0x04,0xed,0x04,0xee, +0x04,0xef,0x04,0xf0,0x04,0xf1,0x04,0xf2,0x04,0xf3,0x04,0xf4,0x04,0xf5,0x04,0xf6, +0x04,0xf7,0x04,0xf8,0x04,0xf9,0x04,0xfa,0x04,0xfb,0x04,0xfc,0x04,0xfd,0x04,0xfe, +0x04,0xff,0x05,0x00,0x05,0x01,0x05,0x02,0x05,0x03,0x05,0x04,0x05,0x05,0x05,0x06, +0x05,0x07,0x05,0x08,0x05,0x09,0x05,0x0a,0x05,0x0b,0x05,0x0c,0x05,0x0d,0x05,0x0e, +0x05,0x0f,0x05,0x10,0x05,0x11,0x05,0x12,0x05,0x13,0x05,0x14,0x05,0x15,0x05,0x16, +0x05,0x17,0x05,0x18,0x05,0x19,0x05,0x1a,0x05,0x1b,0x05,0x1c,0x05,0x1d,0x05,0x1e, +0x05,0x1f,0x05,0x20,0x05,0x21,0x05,0x22,0x05,0x23,0x05,0x24,0x05,0x25,0x05,0x26, +0x05,0x27,0x05,0x28,0x05,0x29,0x05,0x2a,0x05,0x2b,0x05,0x2c,0x05,0x2d,0x05,0x2e, +0x05,0x2f,0x05,0x30,0x05,0x31,0x05,0x32,0x05,0x33,0x05,0x34,0x05,0x35,0x05,0x36, +0x05,0x37,0x05,0x38,0x05,0x39,0x05,0x3a,0x05,0x3b,0x05,0x3c,0x05,0x3d,0x05,0x3e, +0x05,0x3f,0x05,0x40,0x05,0x41,0x05,0x42,0x05,0x43,0x05,0x44,0x05,0x45,0x05,0x46, +0x05,0x47,0x05,0x48,0x05,0x49,0x05,0x4a,0x05,0x4b,0x05,0x4c,0x05,0x4d,0x05,0x4e, +0x05,0x4f,0x05,0x50,0x05,0x51,0x05,0x52,0x05,0x53,0x05,0x54,0x05,0x55,0x05,0x56, +0x05,0x57,0x05,0x58,0x05,0x59,0x05,0x5a,0x05,0x5b,0x05,0x5c,0x05,0x5d,0x05,0x5e, +0x05,0x5f,0x05,0x60,0x05,0x61,0x05,0x62,0x05,0x63,0x05,0x64,0x05,0x65,0x05,0x66, +0x05,0x67,0x05,0x68,0x05,0x69,0x05,0x6a,0x05,0x6b,0x05,0x6c,0x05,0x6d,0x05,0x6e, +0x05,0x6f,0x05,0x70,0x05,0x71,0x05,0x72,0x05,0x73,0x05,0x74,0x05,0x75,0x05,0x76, +0x05,0x77,0x05,0x78,0x05,0x79,0x05,0x7a,0x05,0x7b,0x05,0x7c,0x05,0x7d,0x05,0x7e, +0x05,0x7f,0x05,0x80,0x05,0x81,0x05,0x82,0x05,0x83,0x05,0x84,0x05,0x85,0x05,0x86, +0x05,0x87,0x05,0x88,0x05,0x89,0x05,0x8a,0x05,0x8b,0x05,0x8c,0x05,0x8d,0x05,0x8e, +0x05,0x8f,0x05,0x90,0x05,0x91,0x05,0x92,0x05,0x93,0x05,0x94,0x05,0x95,0x05,0x96, +0x05,0x97,0x05,0x98,0x05,0x99,0x05,0x9a,0x05,0x9b,0x05,0x9c,0x05,0x9d,0x05,0x9e, +0x05,0x9f,0x05,0xa0,0x05,0xa1,0x05,0xa2,0x05,0xa3,0x05,0xa4,0x05,0xa5,0x05,0xa6, +0x05,0xa7,0x05,0xa8,0x05,0xa9,0x05,0xaa,0x05,0xab,0x05,0xac,0x05,0xad,0x05,0xae, +0x05,0xaf,0x05,0xb0,0x05,0xb1,0x05,0xb2,0x05,0xb3,0x05,0xb4,0x05,0xb5,0x05,0xb6, +0x05,0xb7,0x05,0xb8,0x05,0xb9,0x05,0xba,0x05,0xbb,0x05,0xbc,0x05,0xbd,0x05,0xbe, +0x05,0xbf,0x05,0xc0,0x05,0xc1,0x05,0xc2,0x05,0xc3,0x05,0xc4,0x05,0xc5,0x05,0xc6, +0x05,0xc7,0x05,0xc8,0x05,0xc9,0x05,0xca,0x05,0xcb,0x05,0xcc,0x05,0xcd,0x05,0xce, +0x05,0xcf,0x05,0xd0,0x05,0xd1,0x05,0xd2,0x05,0xd3,0x05,0xd4,0x05,0xd5,0x05,0xd6, +0x05,0xd7,0x05,0xd8,0x05,0xd9,0x05,0xda,0x05,0xdb,0x05,0xdc,0x05,0xdd,0x05,0xde, +0x05,0xdf,0x05,0xe0,0x05,0xe1,0x05,0xe2,0x05,0xe3,0x05,0xe4,0x05,0xe5,0x05,0xe6, +0x05,0xe7,0x05,0xe8,0x05,0xe9,0x05,0xea,0x05,0xeb,0x05,0xec,0x05,0xed,0x05,0xee, +0x05,0xef,0x05,0xf0,0x05,0xf1,0x05,0xf2,0x05,0xf3,0x05,0xf4,0x05,0xf5,0x05,0xf6, +0x05,0xf7,0x05,0xf8,0x05,0xf9,0x05,0xfa,0x05,0xfb,0x05,0xfc,0x05,0xfd,0x05,0xfe, +0x05,0xff,0x06,0x00,0x06,0x01,0x06,0x02,0x06,0x03,0x06,0x04,0x06,0x05,0x06,0x06, +0x06,0x07,0x06,0x08,0x06,0x09,0x06,0x0a,0x06,0x0b,0x06,0x0c,0x06,0x0d,0x06,0x0e, +0x06,0x0f,0x06,0x10,0x06,0x11,0x06,0x12,0x06,0x13,0x06,0x14,0x06,0x15,0x06,0x16, +0x06,0x17,0x06,0x18,0x06,0x19,0x06,0x1a,0x06,0x1b,0x06,0x1c,0x06,0x1d,0x06,0x1e, +0x06,0x1f,0x06,0x20,0x06,0x21,0x06,0x22,0x06,0x23,0x06,0x24,0x06,0x25,0x06,0x26, +0x06,0x27,0x06,0x28,0x06,0x29,0x06,0x2a,0x06,0x2b,0x06,0x2c,0x06,0x2d,0x06,0x2e, +0x06,0x2f,0x06,0x30,0x06,0x31,0x06,0x32,0x06,0x33,0x06,0x34,0x06,0x35,0x06,0x36, +0x06,0x37,0x06,0x38,0x06,0x39,0x06,0x3a,0x06,0x3b,0x06,0x3c,0x06,0x3d,0x06,0x3e, +0x06,0x3f,0x06,0x40,0x06,0x41,0x06,0x42,0x06,0x43,0x06,0x44,0x06,0x45,0x06,0x46, +0x06,0x47,0x06,0x48,0x06,0x49,0x06,0x4a,0x06,0x4b,0x06,0x4c,0x06,0x4d,0x06,0x4e, +0x06,0x4f,0x06,0x50,0x06,0x51,0x06,0x52,0x06,0x53,0x06,0x54,0x06,0x55,0x06,0x56, +0x06,0x57,0x06,0x58,0x06,0x59,0x06,0x5a,0x06,0x5b,0x06,0x5c,0x06,0x5d,0x06,0x5e, +0x06,0x5f,0x06,0x60,0x06,0x61,0x06,0x62,0x06,0x63,0x06,0x64,0x06,0x65,0x06,0x66, +0x06,0x67,0x06,0x68,0x06,0x69,0x06,0x6a,0x06,0x6b,0x06,0x6c,0x06,0x6d,0x06,0x6e, +0x06,0x6f,0x06,0x70,0x06,0x71,0x06,0x72,0x06,0x73,0x06,0x74,0x06,0x75,0x06,0x76, +0x06,0x77,0x06,0x78,0x06,0x79,0x06,0x7a,0x06,0x7b,0x06,0x7c,0x06,0x7d,0x06,0x7e, +0x06,0x7f,0x06,0x80,0x06,0x81,0x06,0x82,0x06,0x83,0x06,0x84,0x06,0x85,0x06,0x86, +0x06,0x87,0x06,0x88,0x06,0x89,0x06,0x8a,0x06,0x8b,0x06,0x8c,0x06,0x8d,0x06,0x8e, +0x06,0x8f,0x06,0x90,0x06,0x91,0x06,0x92,0x06,0x93,0x06,0x94,0x06,0x95,0x06,0x96, +0x06,0x97,0x06,0x98,0x06,0x99,0x06,0x9a,0x06,0x9b,0x06,0x9c,0x06,0x9d,0x06,0x9e, +0x06,0x9f,0x06,0xa0,0x06,0xa1,0x06,0xa2,0x06,0xa3,0x06,0xa4,0x06,0xa5,0x06,0xa6, +0x06,0xa7,0x06,0xa8,0x06,0xa9,0x06,0xaa,0x06,0xab,0x06,0xac,0x06,0xad,0x06,0xae, +0x06,0xaf,0x06,0xb0,0x06,0xb1,0x06,0xb2,0x06,0xb3,0x06,0xb4,0x06,0xb5,0x06,0xb6, +0x06,0xb7,0x06,0xb8,0x06,0xb9,0x06,0xba,0x06,0xbb,0x06,0xbc,0x06,0xbd,0x06,0xbe, +0x06,0xbf,0x06,0xc0,0x06,0xc1,0x06,0xc2,0x06,0xc3,0x06,0xc4,0x06,0xc5,0x06,0xc6, +0x06,0xc7,0x06,0xc8,0x06,0xc9,0x06,0xca,0x06,0xcb,0x06,0xcc,0x06,0xcd,0x06,0xce, +0x06,0xcf,0x06,0xd0,0x06,0xd1,0x06,0xd2,0x06,0xd3,0x06,0xd4,0x06,0xd5,0x06,0xd6, +0x06,0xd7,0x06,0xd8,0x06,0xd9,0x06,0xda,0x06,0xdb,0x06,0xdc,0x06,0xdd,0x06,0xde, +0x06,0xdf,0x06,0xe0,0x06,0xe1,0x06,0xe2,0x06,0xe3,0x06,0xe4,0x06,0xe5,0x06,0xe6, +0x06,0xe7,0x06,0xe8,0x06,0xe9,0x06,0xea,0x06,0xeb,0x06,0xec,0x06,0xed,0x06,0xee, +0x06,0xef,0x06,0xf0,0x06,0xf1,0x06,0xf2,0x06,0xf3,0x06,0xf4,0x06,0xf5,0x06,0xf6, +0x06,0xf7,0x06,0xf8,0x06,0xf9,0x06,0xfa,0x06,0xfb,0x06,0xfc,0x06,0xfd,0x06,0xfe, +0x06,0xff,0x07,0x00,0x07,0x01,0x07,0x02,0x07,0x03,0x07,0x04,0x07,0x05,0x07,0x06, +0x07,0x07,0x07,0x08,0x07,0x09,0x07,0x0a,0x07,0x0b,0x07,0x0c,0x07,0x0d,0x07,0x0e, +0x07,0x0f,0x07,0x10,0x07,0x11,0x07,0x12,0x07,0x13,0x07,0x14,0x07,0x15,0x07,0x16, +0x07,0x17,0x07,0x18,0x07,0x19,0x07,0x1a,0x07,0x1b,0x07,0x1c,0x07,0x1d,0x07,0x1e, +0x07,0x1f,0x07,0x20,0x07,0x21,0x07,0x22,0x07,0x23,0x07,0x24,0x07,0x25,0x07,0x26, +0x07,0x27,0x07,0x28,0x07,0x29,0x07,0x2a,0x07,0x2b,0x07,0x2c,0x07,0x2d,0x07,0x2e, +0x07,0x2f,0x07,0x30,0x07,0x31,0x07,0x32,0x07,0x33,0x07,0x34,0x07,0x35,0x07,0x36, +0x07,0x37,0x07,0x38,0x07,0x39,0x07,0x3a,0x07,0x3b,0x07,0x3c,0x07,0x3d,0x07,0x3e, +0x07,0x3f,0x07,0x40,0x07,0x41,0x07,0x42,0x07,0x43,0x07,0x44,0x07,0x45,0x07,0x46, +0x07,0x47,0x07,0x48,0x07,0x49,0x07,0x4a,0x07,0x4b,0x07,0x4c,0x07,0x4d,0x07,0x4e, +0x07,0x4f,0x07,0x50,0x07,0x51,0x07,0x52,0x07,0x53,0x07,0x54,0x07,0x55,0x07,0x56, +0x07,0x57,0x07,0x58,0x07,0x59,0x07,0x5a,0x07,0x5b,0x07,0x5c,0x07,0x5d,0x07,0x5e, +0x07,0x5f,0x07,0x60,0x07,0x61,0x07,0x62,0x07,0x63,0x07,0x64,0x07,0x65,0x07,0x66, +0x07,0x67,0x07,0x68,0x07,0x69,0x07,0x6a,0x07,0x6b,0x07,0x6c,0x07,0x6d,0x07,0x6e, +0x07,0x6f,0x07,0x70,0x07,0x71,0x07,0x72,0x07,0x73,0x07,0x74,0x07,0x75,0x07,0x76, +0x07,0x77,0x07,0x78,0x07,0x79,0x07,0x7a,0x07,0x7b,0x07,0x7c,0x07,0x7d,0x07,0x7e, +0x07,0x7f,0x07,0x80,0x07,0x81,0x07,0x82,0x07,0x83,0x07,0x84,0x07,0x85,0x07,0x86, +0x07,0x87,0x07,0x88,0x07,0x89,0x07,0x8a,0x07,0x8b,0x07,0x8c,0x07,0x8d,0x07,0x8e, +0x07,0x8f,0x07,0x90,0x07,0x91,0x07,0x92,0x07,0x93,0x07,0x94,0x07,0x95,0x00,0xb2, +0x00,0xb3,0x07,0x96,0x07,0x97,0x07,0x98,0x00,0xb6,0x00,0xb7,0x00,0xc4,0x07,0x99, +0x00,0xb4,0x00,0xb5,0x00,0xc5,0x07,0x9a,0x00,0x82,0x00,0xc2,0x00,0x87,0x07,0x9b, +0x07,0x9c,0x07,0x9d,0x00,0xab,0x07,0x9e,0x00,0xc6,0x07,0x9f,0x07,0xa0,0x07,0xa1, +0x07,0xa2,0x07,0xa3,0x07,0xa4,0x07,0xa5,0x07,0xa6,0x00,0xbe,0x00,0xbf,0x07,0xa7, +0x07,0xa8,0x07,0xa9,0x07,0xaa,0x07,0xab,0x07,0xac,0x07,0xad,0x07,0xae,0x07,0xaf, +0x00,0xbc,0x07,0xb0,0x07,0xb1,0x07,0xb2,0x07,0xb3,0x07,0xb4,0x07,0xb5,0x07,0xb6, +0x07,0xb7,0x07,0xb8,0x07,0xb9,0x07,0xba,0x07,0xbb,0x07,0xbc,0x07,0xbd,0x07,0xbe, +0x07,0xbf,0x07,0xc0,0x07,0xc1,0x07,0xc2,0x07,0xc3,0x07,0xc4,0x07,0xc5,0x07,0xc6, +0x07,0xc7,0x07,0xc8,0x07,0xc9,0x07,0xca,0x07,0xcb,0x07,0xcc,0x07,0xcd,0x07,0xce, +0x07,0xcf,0x07,0xd0,0x07,0xd1,0x07,0xd2,0x07,0xd3,0x07,0xd4,0x07,0xd5,0x07,0xd6, +0x07,0xd7,0x07,0xd8,0x07,0xd9,0x07,0xda,0x07,0xdb,0x07,0xdc,0x07,0xdd,0x07,0xde, +0x07,0xdf,0x07,0xe0,0x07,0xe1,0x07,0xe2,0x07,0xe3,0x07,0xe4,0x07,0xe5,0x07,0xe6, +0x07,0xe7,0x07,0xe8,0x07,0xe9,0x00,0xf7,0x07,0xea,0x07,0xeb,0x07,0xec,0x07,0xed, +0x07,0xee,0x07,0xef,0x07,0xf0,0x07,0xf1,0x07,0xf2,0x07,0xf3,0x07,0xf4,0x07,0xf5, +0x07,0xf6,0x07,0xf7,0x07,0xf8,0x07,0xf9,0x07,0xfa,0x07,0xfb,0x07,0xfc,0x07,0xfd, +0x07,0xfe,0x07,0xff,0x08,0x00,0x08,0x01,0x08,0x02,0x08,0x03,0x08,0x04,0x08,0x05, +0x08,0x06,0x08,0x07,0x08,0x08,0x08,0x09,0x08,0x0a,0x00,0x8c,0x08,0x0b,0x08,0x0c, +0x08,0x0d,0x08,0x0e,0x08,0x0f,0x08,0x10,0x08,0x11,0x08,0x12,0x08,0x13,0x08,0x14, +0x08,0x15,0x08,0x16,0x08,0x17,0x08,0x18,0x08,0x19,0x08,0x1a,0x08,0x1b,0x08,0x1c, +0x08,0x1d,0x08,0x1e,0x08,0x1f,0x08,0x20,0x08,0x21,0x08,0x22,0x08,0x23,0x08,0x24, +0x08,0x25,0x08,0x26,0x08,0x27,0x08,0x28,0x08,0x29,0x08,0x2a,0x08,0x2b,0x08,0x2c, +0x08,0x2d,0x08,0x2e,0x08,0x2f,0x08,0x30,0x08,0x31,0x08,0x32,0x08,0x33,0x08,0x34, +0x08,0x35,0x08,0x36,0x08,0x37,0x08,0x38,0x08,0x39,0x08,0x3a,0x08,0x3b,0x08,0x3c, +0x08,0x3d,0x08,0x3e,0x08,0x3f,0x08,0x40,0x08,0x41,0x08,0x42,0x08,0x43,0x08,0x44, +0x08,0x45,0x08,0x46,0x08,0x47,0x08,0x48,0x08,0x49,0x08,0x4a,0x08,0x4b,0x08,0x4c, +0x08,0x4d,0x08,0x4e,0x08,0x4f,0x08,0x50,0x08,0x51,0x08,0x52,0x08,0x53,0x08,0x54, +0x08,0x55,0x08,0x56,0x08,0x57,0x08,0x58,0x08,0x59,0x08,0x5a,0x08,0x5b,0x08,0x5c, +0x08,0x5d,0x08,0x5e,0x08,0x5f,0x08,0x60,0x08,0x61,0x08,0x62,0x08,0x63,0x08,0x64, +0x08,0x65,0x08,0x66,0x08,0x67,0x08,0x68,0x08,0x69,0x08,0x6a,0x08,0x6b,0x08,0x6c, +0x08,0x6d,0x08,0x6e,0x08,0x6f,0x08,0x70,0x08,0x71,0x08,0x72,0x08,0x73,0x08,0x74, +0x08,0x75,0x08,0x76,0x08,0x77,0x08,0x78,0x08,0x79,0x08,0x7a,0x08,0x7b,0x08,0x7c, +0x08,0x7d,0x08,0x7e,0x08,0x7f,0x08,0x80,0x08,0x81,0x08,0x82,0x00,0x98,0x08,0x83, +0x08,0x84,0x08,0x85,0x00,0xa8,0x08,0x86,0x08,0x87,0x08,0x88,0x08,0x89,0x08,0x8a, +0x08,0x8b,0x08,0x8c,0x08,0x8d,0x00,0x9a,0x08,0x8e,0x00,0x99,0x00,0xef,0x08,0x8f, +0x08,0x90,0x00,0xbc,0x08,0x91,0x08,0x92,0x08,0x93,0x00,0xc3,0x00,0xa5,0x08,0x94, +0x08,0x95,0x08,0x96,0x00,0x92,0x08,0x97,0x08,0x98,0x08,0x99,0x08,0x9a,0x08,0x9b, +0x08,0x9c,0x08,0x9d,0x08,0x9e,0x08,0x9f,0x08,0xa0,0x08,0xa1,0x08,0xa2,0x00,0x9c, +0x08,0xa3,0x08,0xa4,0x08,0xa5,0x08,0xa6,0x08,0xa7,0x08,0xa8,0x08,0xa9,0x08,0xaa, +0x08,0xab,0x08,0xac,0x08,0xad,0x08,0xae,0x08,0xaf,0x08,0xb0,0x08,0xb1,0x08,0xb2, +0x08,0xb3,0x08,0xb4,0x08,0xb5,0x00,0xa7,0x08,0xb6,0x08,0xb7,0x08,0xb8,0x08,0xb9, +0x08,0xba,0x08,0xbb,0x08,0xbc,0x08,0xbd,0x08,0xbe,0x08,0xbf,0x08,0xc0,0x08,0xc1, +0x08,0xc2,0x08,0xc3,0x08,0xc4,0x08,0xc5,0x08,0xc6,0x08,0xc7,0x08,0xc8,0x08,0xc9, +0x08,0xca,0x08,0xcb,0x08,0xcc,0x00,0x8f,0x08,0xcd,0x08,0xce,0x08,0xcf,0x00,0x94, +0x00,0x95,0x08,0xd0,0x08,0xd1,0x08,0xd2,0x08,0xd3,0x08,0xd4,0x08,0xd5,0x08,0xd6, +0x08,0xd7,0x08,0xd8,0x08,0xd9,0x08,0xda,0x08,0xdb,0x08,0xdc,0x08,0xdd,0x08,0xde, +0x08,0xdf,0x08,0xe0,0x08,0xe1,0x08,0xe2,0x08,0xe3,0x08,0xe4,0x08,0xe5,0x08,0xe6, +0x08,0xe7,0x08,0xe8,0x08,0xe9,0x08,0xea,0x08,0xeb,0x08,0xec,0x08,0xed,0x08,0xee, +0x08,0xef,0x08,0xf0,0x08,0xf1,0x08,0xf2,0x08,0xf3,0x08,0xf4,0x08,0xf5,0x08,0xf6, +0x08,0xf7,0x08,0xf8,0x08,0xf9,0x08,0xfa,0x08,0xfb,0x08,0xfc,0x08,0xfd,0x08,0xfe, +0x08,0xff,0x09,0x00,0x09,0x01,0x09,0x02,0x09,0x03,0x09,0x04,0x09,0x05,0x09,0x06, +0x09,0x07,0x09,0x08,0x09,0x09,0x09,0x0a,0x09,0x0b,0x09,0x0c,0x09,0x0d,0x09,0x0e, +0x09,0x0f,0x09,0x10,0x09,0x11,0x09,0x12,0x09,0x13,0x09,0x14,0x09,0x15,0x09,0x16, +0x09,0x17,0x09,0x18,0x09,0x19,0x09,0x1a,0x09,0x1b,0x09,0x1c,0x09,0x1d,0x09,0x1e, +0x09,0x1f,0x09,0x20,0x09,0x21,0x09,0x22,0x09,0x23,0x09,0x24,0x09,0x25,0x09,0x26, +0x09,0x27,0x09,0x28,0x09,0x29,0x09,0x2a,0x09,0x2b,0x09,0x2c,0x09,0x2d,0x09,0x2e, +0x09,0x2f,0x09,0x30,0x09,0x31,0x09,0x32,0x09,0x33,0x09,0x34,0x09,0x35,0x09,0x36, +0x09,0x37,0x09,0x38,0x09,0x39,0x09,0x3a,0x09,0x3b,0x09,0x3c,0x09,0x3d,0x09,0x3e, +0x09,0x3f,0x09,0x40,0x09,0x41,0x09,0x42,0x09,0x43,0x09,0x44,0x09,0x45,0x09,0x46, +0x09,0x47,0x09,0x48,0x09,0x49,0x09,0x4a,0x09,0x4b,0x09,0x4c,0x09,0x4d,0x09,0x4e, +0x09,0x4f,0x09,0x50,0x09,0x51,0x09,0x52,0x09,0x53,0x09,0x54,0x09,0x55,0x09,0x56, +0x09,0x57,0x09,0x58,0x09,0x59,0x09,0x5a,0x09,0x5b,0x09,0x5c,0x09,0x5d,0x09,0x5e, +0x09,0x5f,0x09,0x60,0x09,0x61,0x09,0x62,0x09,0x63,0x09,0x64,0x09,0x65,0x09,0x66, +0x00,0xb9,0x09,0x67,0x09,0x68,0x09,0x69,0x09,0x6a,0x09,0x6b,0x09,0x6c,0x09,0x6d, +0x09,0x6e,0x09,0x6f,0x09,0x70,0x09,0x71,0x09,0x72,0x09,0x73,0x09,0x74,0x09,0x75, +0x09,0x76,0x09,0x77,0x09,0x78,0x09,0x79,0x09,0x7a,0x09,0x7b,0x09,0x7c,0x09,0x7d, +0x09,0x7e,0x09,0x7f,0x09,0x80,0x09,0x81,0x09,0x82,0x09,0x83,0x09,0x84,0x09,0x85, +0x09,0x86,0x09,0x87,0x09,0x88,0x09,0x89,0x09,0x8a,0x09,0x8b,0x09,0x8c,0x09,0x8d, +0x09,0x8e,0x09,0x8f,0x09,0x90,0x09,0x91,0x09,0x92,0x09,0x93,0x09,0x94,0x09,0x95, +0x09,0x96,0x09,0x97,0x09,0x98,0x09,0x99,0x09,0x9a,0x09,0x9b,0x09,0x9c,0x09,0x9d, +0x09,0x9e,0x09,0x9f,0x09,0xa0,0x09,0xa1,0x09,0xa2,0x09,0xa3,0x09,0xa4,0x09,0xa5, +0x09,0xa6,0x09,0xa7,0x09,0xa8,0x09,0xa9,0x09,0xaa,0x09,0xab,0x09,0xac,0x09,0xad, +0x09,0xae,0x09,0xaf,0x09,0xb0,0x09,0xb1,0x09,0xb2,0x09,0xb3,0x09,0xb4,0x09,0xb5, +0x09,0xb6,0x09,0xb7,0x09,0xb8,0x09,0xb9,0x09,0xba,0x09,0xbb,0x09,0xbc,0x09,0xbd, +0x09,0xbe,0x09,0xbf,0x09,0xc0,0x09,0xc1,0x09,0xc2,0x09,0xc3,0x09,0xc4,0x09,0xc5, +0x09,0xc6,0x09,0xc7,0x09,0xc8,0x09,0xc9,0x09,0xca,0x09,0xcb,0x09,0xcc,0x09,0xcd, +0x09,0xce,0x09,0xcf,0x09,0xd0,0x09,0xd1,0x09,0xd2,0x09,0xd3,0x09,0xd4,0x09,0xd5, +0x09,0xd6,0x09,0xd7,0x09,0xd8,0x09,0xd9,0x09,0xda,0x09,0xdb,0x09,0xdc,0x09,0xdd, +0x09,0xde,0x09,0xdf,0x09,0xe0,0x09,0xe1,0x09,0xe2,0x09,0xe3,0x09,0xe4,0x09,0xe5, +0x09,0xe6,0x09,0xe7,0x09,0xe8,0x09,0xe9,0x09,0xea,0x09,0xeb,0x09,0xec,0x09,0xed, +0x09,0xee,0x09,0xef,0x09,0xf0,0x09,0xf1,0x09,0xf2,0x09,0xf3,0x09,0xf4,0x09,0xf5, +0x09,0xf6,0x09,0xf7,0x09,0xf8,0x09,0xf9,0x09,0xfa,0x09,0xfb,0x09,0xfc,0x09,0xfd, +0x09,0xfe,0x09,0xff,0x0a,0x00,0x0a,0x01,0x0a,0x02,0x0a,0x03,0x0a,0x04,0x0a,0x05, +0x0a,0x06,0x0a,0x07,0x0a,0x08,0x0a,0x09,0x0a,0x0a,0x0a,0x0b,0x0a,0x0c,0x0a,0x0d, +0x0a,0x0e,0x0a,0x0f,0x0a,0x10,0x0a,0x11,0x0a,0x12,0x0a,0x13,0x0a,0x14,0x0a,0x15, +0x0a,0x16,0x0a,0x17,0x0a,0x18,0x0a,0x19,0x0a,0x1a,0x0a,0x1b,0x0a,0x1c,0x0a,0x1d, +0x0a,0x1e,0x0a,0x1f,0x0a,0x20,0x0a,0x21,0x0a,0x22,0x0a,0x23,0x0a,0x24,0x0a,0x25, +0x0a,0x26,0x0a,0x27,0x0a,0x28,0x0a,0x29,0x0a,0x2a,0x0a,0x2b,0x0a,0x2c,0x0a,0x2d, +0x0a,0x2e,0x0a,0x2f,0x0a,0x30,0x0a,0x31,0x0a,0x32,0x0a,0x33,0x0a,0x34,0x0a,0x35, +0x0a,0x36,0x0a,0x37,0x0a,0x38,0x0a,0x39,0x0a,0x3a,0x0a,0x3b,0x0a,0x3c,0x0a,0x3d, +0x0a,0x3e,0x0a,0x3f,0x0a,0x40,0x0a,0x41,0x0a,0x42,0x0a,0x43,0x0a,0x44,0x0a,0x45, +0x0a,0x46,0x0a,0x47,0x0a,0x48,0x0a,0x49,0x0a,0x4a,0x0a,0x4b,0x0a,0x4c,0x0a,0x4d, +0x0a,0x4e,0x0a,0x4f,0x0a,0x50,0x0a,0x51,0x0a,0x52,0x0a,0x53,0x0a,0x54,0x0a,0x55, +0x0a,0x56,0x0a,0x57,0x0a,0x58,0x0a,0x59,0x0a,0x5a,0x0a,0x5b,0x0a,0x5c,0x0a,0x5d, +0x0a,0x5e,0x0a,0x5f,0x0a,0x60,0x0a,0x61,0x0a,0x62,0x0a,0x63,0x0a,0x64,0x0a,0x65, +0x0a,0x66,0x0a,0x67,0x0a,0x68,0x0a,0x69,0x0a,0x6a,0x0a,0x6b,0x0a,0x6c,0x0a,0x6d, +0x0a,0x6e,0x0a,0x6f,0x0a,0x70,0x0a,0x71,0x0a,0x72,0x0a,0x73,0x0a,0x74,0x0a,0x75, +0x0a,0x76,0x0a,0x77,0x0a,0x78,0x0a,0x79,0x0a,0x7a,0x0a,0x7b,0x0a,0x7c,0x0a,0x7d, +0x0a,0x7e,0x0a,0x7f,0x0a,0x80,0x0a,0x81,0x0a,0x82,0x0a,0x83,0x0a,0x84,0x0a,0x85, +0x0a,0x86,0x0a,0x87,0x0a,0x88,0x0a,0x89,0x0a,0x8a,0x0a,0x8b,0x0a,0x8c,0x0a,0x8d, +0x0a,0x8e,0x0a,0x8f,0x0a,0x90,0x0a,0x91,0x0a,0x92,0x0a,0x93,0x0a,0x94,0x0a,0x95, +0x0a,0x96,0x0a,0x97,0x0a,0x98,0x0a,0x99,0x0a,0x9a,0x0a,0x9b,0x0a,0x9c,0x0a,0x9d, +0x0a,0x9e,0x0a,0x9f,0x0a,0xa0,0x0a,0xa1,0x0a,0xa2,0x0a,0xa3,0x0a,0xa4,0x0a,0xa5, +0x0a,0xa6,0x0a,0xa7,0x0a,0xa8,0x0a,0xa9,0x0a,0xaa,0x0a,0xab,0x0a,0xac,0x0a,0xad, +0x0a,0xae,0x0a,0xaf,0x0a,0xb0,0x0a,0xb1,0x0a,0xb2,0x0a,0xb3,0x0a,0xb4,0x0a,0xb5, +0x0a,0xb6,0x0a,0xb7,0x0a,0xb8,0x0a,0xb9,0x0a,0xba,0x0a,0xbb,0x0a,0xbc,0x0a,0xbd, +0x0a,0xbe,0x0a,0xbf,0x0a,0xc0,0x0a,0xc1,0x0a,0xc2,0x0a,0xc3,0x0a,0xc4,0x0a,0xc5, +0x0a,0xc6,0x0a,0xc7,0x0a,0xc8,0x0a,0xc9,0x0a,0xca,0x0a,0xcb,0x0a,0xcc,0x0a,0xcd, +0x0a,0xce,0x0a,0xcf,0x0a,0xd0,0x0a,0xd1,0x0a,0xd2,0x0a,0xd3,0x0a,0xd4,0x0a,0xd5, +0x0a,0xd6,0x0a,0xd7,0x0a,0xd8,0x0a,0xd9,0x0a,0xda,0x0a,0xdb,0x0a,0xdc,0x0a,0xdd, +0x0a,0xde,0x0a,0xdf,0x0a,0xe0,0x0a,0xe1,0x0a,0xe2,0x0a,0xe3,0x0a,0xe4,0x0a,0xe5, +0x0a,0xe6,0x0a,0xe7,0x0a,0xe8,0x0a,0xe9,0x0a,0xea,0x0a,0xeb,0x0a,0xec,0x0a,0xed, +0x0a,0xee,0x0a,0xef,0x0a,0xf0,0x0a,0xf1,0x0a,0xf2,0x0a,0xf3,0x0a,0xf4,0x0a,0xf5, +0x0a,0xf6,0x0a,0xf7,0x0a,0xf8,0x0a,0xf9,0x0a,0xfa,0x0a,0xfb,0x0a,0xfc,0x0a,0xfd, +0x0a,0xfe,0x0a,0xff,0x0b,0x00,0x0b,0x01,0x0b,0x02,0x0b,0x03,0x0b,0x04,0x0b,0x05, +0x0b,0x06,0x0b,0x07,0x0b,0x08,0x0b,0x09,0x0b,0x0a,0x0b,0x0b,0x00,0xc0,0x00,0xc1, +0x0b,0x0c,0x0b,0x0d,0x0b,0x0e,0x0b,0x0f,0x0b,0x10,0x0b,0x11,0x0b,0x12,0x0b,0x13, +0x0b,0x14,0x0b,0x15,0x0b,0x16,0x0b,0x17,0x0b,0x18,0x0b,0x19,0x0b,0x1a,0x0b,0x1b, +0x0b,0x1c,0x0b,0x1d,0x0b,0x1e,0x0b,0x1f,0x0b,0x20,0x0b,0x21,0x0b,0x22,0x0b,0x23, +0x0b,0x24,0x0b,0x25,0x0b,0x26,0x0b,0x27,0x0b,0x28,0x0b,0x29,0x0b,0x2a,0x0b,0x2b, +0x0b,0x2c,0x0b,0x2d,0x0b,0x2e,0x0b,0x2f,0x0b,0x30,0x0b,0x31,0x0b,0x32,0x0b,0x33, +0x0b,0x34,0x0b,0x35,0x0b,0x36,0x0b,0x37,0x0b,0x38,0x0b,0x39,0x0b,0x3a,0x0b,0x3b, +0x0b,0x3c,0x0b,0x3d,0x0b,0x3e,0x0b,0x3f,0x0b,0x40,0x0b,0x41,0x0b,0x42,0x0b,0x43, +0x0b,0x44,0x0b,0x45,0x0b,0x46,0x0b,0x47,0x0b,0x48,0x0b,0x49,0x0b,0x4a,0x0b,0x4b, +0x0b,0x4c,0x0b,0x4d,0x0b,0x4e,0x0b,0x4f,0x0b,0x50,0x0b,0x51,0x0b,0x52,0x0b,0x53, +0x0b,0x54,0x0b,0x55,0x0b,0x56,0x0b,0x57,0x0b,0x58,0x0b,0x59,0x0b,0x5a,0x0b,0x5b, +0x0b,0x5c,0x0b,0x5d,0x0b,0x5e,0x0b,0x5f,0x0b,0x60,0x0b,0x61,0x0b,0x62,0x0b,0x63, +0x0b,0x64,0x0b,0x65,0x0b,0x66,0x0b,0x67,0x0b,0x68,0x0b,0x69,0x0b,0x6a,0x0b,0x6b, +0x0b,0x6c,0x0b,0x6d,0x0b,0x6e,0x0b,0x6f,0x0b,0x70,0x0b,0x71,0x0b,0x72,0x0b,0x73, +0x0b,0x74,0x0b,0x75,0x0b,0x76,0x0b,0x77,0x0b,0x78,0x0b,0x79,0x0b,0x7a,0x0b,0x7b, +0x0b,0x7c,0x0b,0x7d,0x0b,0x7e,0x0b,0x7f,0x0b,0x80,0x0b,0x81,0x0b,0x82,0x0b,0x83, +0x0b,0x84,0x0b,0x85,0x0b,0x86,0x0b,0x87,0x0b,0x88,0x0b,0x89,0x0b,0x8a,0x0b,0x8b, +0x0b,0x8c,0x0b,0x8d,0x0b,0x8e,0x0b,0x8f,0x0b,0x90,0x0b,0x91,0x0b,0x92,0x0b,0x93, +0x0b,0x94,0x0b,0x95,0x0b,0x96,0x0b,0x97,0x0b,0x98,0x0b,0x99,0x0b,0x9a,0x0b,0x9b, +0x0b,0x9c,0x0b,0x9d,0x0b,0x9e,0x0b,0x9f,0x0b,0xa0,0x0b,0xa1,0x0b,0xa2,0x0b,0xa3, +0x0b,0xa4,0x0b,0xa5,0x0b,0xa6,0x0b,0xa7,0x0b,0xa8,0x0b,0xa9,0x0b,0xaa,0x0b,0xab, +0x0b,0xac,0x0b,0xad,0x0b,0xae,0x0b,0xaf,0x0b,0xb0,0x0b,0xb1,0x0b,0xb2,0x0b,0xb3, +0x0b,0xb4,0x0b,0xb5,0x0b,0xb6,0x0b,0xb7,0x0b,0xb8,0x0b,0xb9,0x0b,0xba,0x0b,0xbb, +0x0b,0xbc,0x0b,0xbd,0x0b,0xbe,0x0b,0xbf,0x0b,0xc0,0x0b,0xc1,0x0b,0xc2,0x0b,0xc3, +0x0b,0xc4,0x0b,0xc5,0x0b,0xc6,0x0b,0xc7,0x0b,0xc8,0x0b,0xc9,0x0b,0xca,0x0b,0xcb, +0x0b,0xcc,0x0b,0xcd,0x0b,0xce,0x0b,0xcf,0x0b,0xd0,0x0b,0xd1,0x0b,0xd2,0x0b,0xd3, +0x0b,0xd4,0x0b,0xd5,0x0b,0xd6,0x0b,0xd7,0x0b,0xd8,0x0b,0xd9,0x0b,0xda,0x0b,0xdb, +0x0b,0xdc,0x0b,0xdd,0x0b,0xde,0x0b,0xdf,0x0b,0xe0,0x0b,0xe1,0x0b,0xe2,0x0b,0xe3, +0x0b,0xe4,0x0b,0xe5,0x0b,0xe6,0x0b,0xe7,0x0b,0xe8,0x0b,0xe9,0x0b,0xea,0x0b,0xeb, +0x0b,0xec,0x0b,0xed,0x0b,0xee,0x0b,0xef,0x0b,0xf0,0x0b,0xf1,0x0b,0xf2,0x0b,0xf3, +0x0b,0xf4,0x0b,0xf5,0x0b,0xf6,0x0b,0xf7,0x0b,0xf8,0x0b,0xf9,0x0b,0xfa,0x0b,0xfb, +0x0b,0xfc,0x0b,0xfd,0x0b,0xfe,0x0b,0xff,0x0c,0x00,0x0c,0x01,0x0c,0x02,0x0c,0x03, +0x0c,0x04,0x0c,0x05,0x0c,0x06,0x0c,0x07,0x0c,0x08,0x0c,0x09,0x0c,0x0a,0x0c,0x0b, +0x0c,0x0c,0x0c,0x0d,0x0c,0x0e,0x0c,0x0f,0x0c,0x10,0x0c,0x11,0x0c,0x12,0x0c,0x13, +0x0c,0x14,0x0c,0x15,0x0c,0x16,0x0c,0x17,0x0c,0x18,0x0c,0x19,0x0c,0x1a,0x0c,0x1b, +0x0c,0x1c,0x0c,0x1d,0x0c,0x1e,0x0c,0x1f,0x0c,0x20,0x0c,0x21,0x0c,0x22,0x0c,0x23, +0x0c,0x24,0x0c,0x25,0x0c,0x26,0x0c,0x27,0x0c,0x28,0x0c,0x29,0x0c,0x2a,0x0c,0x2b, +0x0c,0x2c,0x0c,0x2d,0x0c,0x2e,0x0c,0x2f,0x09,0x73,0x66,0x74,0x68,0x79,0x70,0x68, +0x65,0x6e,0x07,0x41,0x6d,0x61,0x63,0x72,0x6f,0x6e,0x07,0x61,0x6d,0x61,0x63,0x72, +0x6f,0x6e,0x06,0x41,0x62,0x72,0x65,0x76,0x65,0x06,0x61,0x62,0x72,0x65,0x76,0x65, +0x07,0x41,0x6f,0x67,0x6f,0x6e,0x65,0x6b,0x07,0x61,0x6f,0x67,0x6f,0x6e,0x65,0x6b, +0x0b,0x43,0x63,0x69,0x72,0x63,0x75,0x6d,0x66,0x6c,0x65,0x78,0x0b,0x63,0x63,0x69, +0x72,0x63,0x75,0x6d,0x66,0x6c,0x65,0x78,0x0a,0x43,0x64,0x6f,0x74,0x61,0x63,0x63, +0x65,0x6e,0x74,0x0a,0x63,0x64,0x6f,0x74,0x61,0x63,0x63,0x65,0x6e,0x74,0x06,0x44, +0x63,0x61,0x72,0x6f,0x6e,0x06,0x64,0x63,0x61,0x72,0x6f,0x6e,0x06,0x44,0x63,0x72, +0x6f,0x61,0x74,0x07,0x45,0x6d,0x61,0x63,0x72,0x6f,0x6e,0x07,0x65,0x6d,0x61,0x63, +0x72,0x6f,0x6e,0x06,0x45,0x62,0x72,0x65,0x76,0x65,0x06,0x65,0x62,0x72,0x65,0x76, +0x65,0x0a,0x45,0x64,0x6f,0x74,0x61,0x63,0x63,0x65,0x6e,0x74,0x0a,0x65,0x64,0x6f, +0x74,0x61,0x63,0x63,0x65,0x6e,0x74,0x07,0x45,0x6f,0x67,0x6f,0x6e,0x65,0x6b,0x07, +0x65,0x6f,0x67,0x6f,0x6e,0x65,0x6b,0x06,0x45,0x63,0x61,0x72,0x6f,0x6e,0x06,0x65, +0x63,0x61,0x72,0x6f,0x6e,0x0b,0x47,0x63,0x69,0x72,0x63,0x75,0x6d,0x66,0x6c,0x65, +0x78,0x0b,0x67,0x63,0x69,0x72,0x63,0x75,0x6d,0x66,0x6c,0x65,0x78,0x0a,0x47,0x64, +0x6f,0x74,0x61,0x63,0x63,0x65,0x6e,0x74,0x0a,0x67,0x64,0x6f,0x74,0x61,0x63,0x63, +0x65,0x6e,0x74,0x0c,0x47,0x63,0x6f,0x6d,0x6d,0x61,0x61,0x63,0x63,0x65,0x6e,0x74, +0x0c,0x67,0x63,0x6f,0x6d,0x6d,0x61,0x61,0x63,0x63,0x65,0x6e,0x74,0x0b,0x48,0x63, +0x69,0x72,0x63,0x75,0x6d,0x66,0x6c,0x65,0x78,0x0b,0x68,0x63,0x69,0x72,0x63,0x75, +0x6d,0x66,0x6c,0x65,0x78,0x04,0x48,0x62,0x61,0x72,0x04,0x68,0x62,0x61,0x72,0x06, +0x49,0x74,0x69,0x6c,0x64,0x65,0x06,0x69,0x74,0x69,0x6c,0x64,0x65,0x07,0x49,0x6d, +0x61,0x63,0x72,0x6f,0x6e,0x07,0x69,0x6d,0x61,0x63,0x72,0x6f,0x6e,0x06,0x49,0x62, +0x72,0x65,0x76,0x65,0x06,0x69,0x62,0x72,0x65,0x76,0x65,0x07,0x49,0x6f,0x67,0x6f, +0x6e,0x65,0x6b,0x07,0x69,0x6f,0x67,0x6f,0x6e,0x65,0x6b,0x02,0x49,0x4a,0x02,0x69, +0x6a,0x0b,0x4a,0x63,0x69,0x72,0x63,0x75,0x6d,0x66,0x6c,0x65,0x78,0x0b,0x6a,0x63, +0x69,0x72,0x63,0x75,0x6d,0x66,0x6c,0x65,0x78,0x0c,0x4b,0x63,0x6f,0x6d,0x6d,0x61, +0x61,0x63,0x63,0x65,0x6e,0x74,0x0c,0x6b,0x63,0x6f,0x6d,0x6d,0x61,0x61,0x63,0x63, +0x65,0x6e,0x74,0x0c,0x6b,0x67,0x72,0x65,0x65,0x6e,0x6c,0x61,0x6e,0x64,0x69,0x63, +0x06,0x4c,0x61,0x63,0x75,0x74,0x65,0x06,0x6c,0x61,0x63,0x75,0x74,0x65,0x0c,0x4c, +0x63,0x6f,0x6d,0x6d,0x61,0x61,0x63,0x63,0x65,0x6e,0x74,0x0c,0x6c,0x63,0x6f,0x6d, +0x6d,0x61,0x61,0x63,0x63,0x65,0x6e,0x74,0x06,0x4c,0x63,0x61,0x72,0x6f,0x6e,0x06, +0x6c,0x63,0x61,0x72,0x6f,0x6e,0x04,0x4c,0x64,0x6f,0x74,0x04,0x6c,0x64,0x6f,0x74, +0x06,0x4e,0x61,0x63,0x75,0x74,0x65,0x06,0x6e,0x61,0x63,0x75,0x74,0x65,0x0c,0x4e, +0x63,0x6f,0x6d,0x6d,0x61,0x61,0x63,0x63,0x65,0x6e,0x74,0x0c,0x6e,0x63,0x6f,0x6d, +0x6d,0x61,0x61,0x63,0x63,0x65,0x6e,0x74,0x06,0x4e,0x63,0x61,0x72,0x6f,0x6e,0x06, +0x6e,0x63,0x61,0x72,0x6f,0x6e,0x0b,0x6e,0x61,0x70,0x6f,0x73,0x74,0x72,0x6f,0x70, +0x68,0x65,0x03,0x45,0x6e,0x67,0x03,0x65,0x6e,0x67,0x07,0x4f,0x6d,0x61,0x63,0x72, +0x6f,0x6e,0x07,0x6f,0x6d,0x61,0x63,0x72,0x6f,0x6e,0x06,0x4f,0x62,0x72,0x65,0x76, +0x65,0x06,0x6f,0x62,0x72,0x65,0x76,0x65,0x0d,0x4f,0x68,0x75,0x6e,0x67,0x61,0x72, +0x75,0x6d,0x6c,0x61,0x75,0x74,0x0d,0x6f,0x68,0x75,0x6e,0x67,0x61,0x72,0x75,0x6d, +0x6c,0x61,0x75,0x74,0x06,0x52,0x61,0x63,0x75,0x74,0x65,0x06,0x72,0x61,0x63,0x75, +0x74,0x65,0x0c,0x52,0x63,0x6f,0x6d,0x6d,0x61,0x61,0x63,0x63,0x65,0x6e,0x74,0x0c, +0x72,0x63,0x6f,0x6d,0x6d,0x61,0x61,0x63,0x63,0x65,0x6e,0x74,0x06,0x52,0x63,0x61, +0x72,0x6f,0x6e,0x06,0x72,0x63,0x61,0x72,0x6f,0x6e,0x06,0x53,0x61,0x63,0x75,0x74, +0x65,0x06,0x73,0x61,0x63,0x75,0x74,0x65,0x0b,0x53,0x63,0x69,0x72,0x63,0x75,0x6d, +0x66,0x6c,0x65,0x78,0x0b,0x73,0x63,0x69,0x72,0x63,0x75,0x6d,0x66,0x6c,0x65,0x78, +0x0c,0x54,0x63,0x6f,0x6d,0x6d,0x61,0x61,0x63,0x63,0x65,0x6e,0x74,0x0c,0x74,0x63, +0x6f,0x6d,0x6d,0x61,0x61,0x63,0x63,0x65,0x6e,0x74,0x06,0x54,0x63,0x61,0x72,0x6f, +0x6e,0x06,0x74,0x63,0x61,0x72,0x6f,0x6e,0x04,0x54,0x62,0x61,0x72,0x04,0x74,0x62, +0x61,0x72,0x06,0x55,0x74,0x69,0x6c,0x64,0x65,0x06,0x75,0x74,0x69,0x6c,0x64,0x65, +0x07,0x55,0x6d,0x61,0x63,0x72,0x6f,0x6e,0x07,0x75,0x6d,0x61,0x63,0x72,0x6f,0x6e, +0x06,0x55,0x62,0x72,0x65,0x76,0x65,0x06,0x75,0x62,0x72,0x65,0x76,0x65,0x05,0x55, +0x72,0x69,0x6e,0x67,0x05,0x75,0x72,0x69,0x6e,0x67,0x0d,0x55,0x68,0x75,0x6e,0x67, +0x61,0x72,0x75,0x6d,0x6c,0x61,0x75,0x74,0x0d,0x75,0x68,0x75,0x6e,0x67,0x61,0x72, +0x75,0x6d,0x6c,0x61,0x75,0x74,0x07,0x55,0x6f,0x67,0x6f,0x6e,0x65,0x6b,0x07,0x75, +0x6f,0x67,0x6f,0x6e,0x65,0x6b,0x0b,0x57,0x63,0x69,0x72,0x63,0x75,0x6d,0x66,0x6c, +0x65,0x78,0x0b,0x77,0x63,0x69,0x72,0x63,0x75,0x6d,0x66,0x6c,0x65,0x78,0x0b,0x59, +0x63,0x69,0x72,0x63,0x75,0x6d,0x66,0x6c,0x65,0x78,0x0b,0x79,0x63,0x69,0x72,0x63, +0x75,0x6d,0x66,0x6c,0x65,0x78,0x06,0x5a,0x61,0x63,0x75,0x74,0x65,0x06,0x7a,0x61, +0x63,0x75,0x74,0x65,0x0a,0x5a,0x64,0x6f,0x74,0x61,0x63,0x63,0x65,0x6e,0x74,0x0a, +0x7a,0x64,0x6f,0x74,0x61,0x63,0x63,0x65,0x6e,0x74,0x05,0x6c,0x6f,0x6e,0x67,0x73, +0x07,0x75,0x6e,0x69,0x30,0x31,0x38,0x30,0x07,0x75,0x6e,0x69,0x30,0x31,0x38,0x31, +0x07,0x75,0x6e,0x69,0x30,0x31,0x38,0x32,0x07,0x75,0x6e,0x69,0x30,0x31,0x38,0x33, +0x07,0x75,0x6e,0x69,0x30,0x31,0x38,0x34,0x07,0x75,0x6e,0x69,0x30,0x31,0x38,0x35, +0x07,0x75,0x6e,0x69,0x30,0x31,0x38,0x36,0x07,0x75,0x6e,0x69,0x30,0x31,0x38,0x37, +0x07,0x75,0x6e,0x69,0x30,0x31,0x38,0x38,0x07,0x75,0x6e,0x69,0x30,0x31,0x38,0x39, +0x07,0x75,0x6e,0x69,0x30,0x31,0x38,0x41,0x07,0x75,0x6e,0x69,0x30,0x31,0x38,0x42, +0x07,0x75,0x6e,0x69,0x30,0x31,0x38,0x43,0x07,0x75,0x6e,0x69,0x30,0x31,0x38,0x44, +0x07,0x75,0x6e,0x69,0x30,0x31,0x38,0x45,0x07,0x75,0x6e,0x69,0x30,0x31,0x38,0x46, +0x07,0x75,0x6e,0x69,0x30,0x31,0x39,0x30,0x07,0x75,0x6e,0x69,0x30,0x31,0x39,0x31, +0x07,0x75,0x6e,0x69,0x30,0x31,0x39,0x33,0x07,0x75,0x6e,0x69,0x30,0x31,0x39,0x34, +0x07,0x75,0x6e,0x69,0x30,0x31,0x39,0x35,0x07,0x75,0x6e,0x69,0x30,0x31,0x39,0x36, +0x07,0x75,0x6e,0x69,0x30,0x31,0x39,0x37,0x07,0x75,0x6e,0x69,0x30,0x31,0x39,0x38, +0x07,0x75,0x6e,0x69,0x30,0x31,0x39,0x39,0x07,0x75,0x6e,0x69,0x30,0x31,0x39,0x41, +0x07,0x75,0x6e,0x69,0x30,0x31,0x39,0x42,0x07,0x75,0x6e,0x69,0x30,0x31,0x39,0x43, +0x07,0x75,0x6e,0x69,0x30,0x31,0x39,0x44,0x07,0x75,0x6e,0x69,0x30,0x31,0x39,0x45, +0x07,0x75,0x6e,0x69,0x30,0x31,0x39,0x46,0x05,0x4f,0x68,0x6f,0x72,0x6e,0x05,0x6f, +0x68,0x6f,0x72,0x6e,0x07,0x75,0x6e,0x69,0x30,0x31,0x41,0x32,0x07,0x75,0x6e,0x69, +0x30,0x31,0x41,0x33,0x07,0x75,0x6e,0x69,0x30,0x31,0x41,0x34,0x07,0x75,0x6e,0x69, +0x30,0x31,0x41,0x35,0x07,0x75,0x6e,0x69,0x30,0x31,0x41,0x36,0x07,0x75,0x6e,0x69, +0x30,0x31,0x41,0x37,0x07,0x75,0x6e,0x69,0x30,0x31,0x41,0x38,0x07,0x75,0x6e,0x69, +0x30,0x31,0x41,0x39,0x07,0x75,0x6e,0x69,0x30,0x31,0x41,0x41,0x07,0x75,0x6e,0x69, +0x30,0x31,0x41,0x42,0x07,0x75,0x6e,0x69,0x30,0x31,0x41,0x43,0x07,0x75,0x6e,0x69, +0x30,0x31,0x41,0x44,0x07,0x75,0x6e,0x69,0x30,0x31,0x41,0x45,0x05,0x55,0x68,0x6f, +0x72,0x6e,0x05,0x75,0x68,0x6f,0x72,0x6e,0x07,0x75,0x6e,0x69,0x30,0x31,0x42,0x31, +0x07,0x75,0x6e,0x69,0x30,0x31,0x42,0x32,0x07,0x75,0x6e,0x69,0x30,0x31,0x42,0x33, +0x07,0x75,0x6e,0x69,0x30,0x31,0x42,0x34,0x07,0x75,0x6e,0x69,0x30,0x31,0x42,0x35, +0x07,0x75,0x6e,0x69,0x30,0x31,0x42,0x36,0x07,0x75,0x6e,0x69,0x30,0x31,0x42,0x37, +0x07,0x75,0x6e,0x69,0x30,0x31,0x42,0x38,0x07,0x75,0x6e,0x69,0x30,0x31,0x42,0x39, +0x07,0x75,0x6e,0x69,0x30,0x31,0x42,0x41,0x07,0x75,0x6e,0x69,0x30,0x31,0x42,0x42, +0x07,0x75,0x6e,0x69,0x30,0x31,0x42,0x43,0x07,0x75,0x6e,0x69,0x30,0x31,0x42,0x44, +0x07,0x75,0x6e,0x69,0x30,0x31,0x42,0x45,0x07,0x75,0x6e,0x69,0x30,0x31,0x42,0x46, +0x07,0x75,0x6e,0x69,0x30,0x31,0x43,0x30,0x07,0x75,0x6e,0x69,0x30,0x31,0x43,0x31, +0x07,0x75,0x6e,0x69,0x30,0x31,0x43,0x32,0x07,0x75,0x6e,0x69,0x30,0x31,0x43,0x33, +0x07,0x75,0x6e,0x69,0x30,0x31,0x43,0x34,0x07,0x75,0x6e,0x69,0x30,0x31,0x43,0x35, +0x07,0x75,0x6e,0x69,0x30,0x31,0x43,0x36,0x07,0x75,0x6e,0x69,0x30,0x31,0x43,0x37, +0x07,0x75,0x6e,0x69,0x30,0x31,0x43,0x38,0x07,0x75,0x6e,0x69,0x30,0x31,0x43,0x39, +0x07,0x75,0x6e,0x69,0x30,0x31,0x43,0x41,0x07,0x75,0x6e,0x69,0x30,0x31,0x43,0x42, +0x07,0x75,0x6e,0x69,0x30,0x31,0x43,0x43,0x07,0x75,0x6e,0x69,0x30,0x31,0x43,0x44, +0x07,0x75,0x6e,0x69,0x30,0x31,0x43,0x45,0x07,0x75,0x6e,0x69,0x30,0x31,0x43,0x46, +0x07,0x75,0x6e,0x69,0x30,0x31,0x44,0x30,0x07,0x75,0x6e,0x69,0x30,0x31,0x44,0x31, +0x07,0x75,0x6e,0x69,0x30,0x31,0x44,0x32,0x07,0x75,0x6e,0x69,0x30,0x31,0x44,0x33, +0x07,0x75,0x6e,0x69,0x30,0x31,0x44,0x34,0x07,0x75,0x6e,0x69,0x30,0x31,0x44,0x35, +0x07,0x75,0x6e,0x69,0x30,0x31,0x44,0x36,0x07,0x75,0x6e,0x69,0x30,0x31,0x44,0x37, +0x07,0x75,0x6e,0x69,0x30,0x31,0x44,0x38,0x07,0x75,0x6e,0x69,0x30,0x31,0x44,0x39, +0x07,0x75,0x6e,0x69,0x30,0x31,0x44,0x41,0x07,0x75,0x6e,0x69,0x30,0x31,0x44,0x42, +0x07,0x75,0x6e,0x69,0x30,0x31,0x44,0x43,0x07,0x75,0x6e,0x69,0x30,0x31,0x44,0x44, +0x07,0x75,0x6e,0x69,0x30,0x31,0x44,0x45,0x07,0x75,0x6e,0x69,0x30,0x31,0x44,0x46, +0x07,0x75,0x6e,0x69,0x30,0x31,0x45,0x30,0x07,0x75,0x6e,0x69,0x30,0x31,0x45,0x31, +0x07,0x75,0x6e,0x69,0x30,0x31,0x45,0x32,0x07,0x75,0x6e,0x69,0x30,0x31,0x45,0x33, +0x07,0x75,0x6e,0x69,0x30,0x31,0x45,0x34,0x07,0x75,0x6e,0x69,0x30,0x31,0x45,0x35, +0x06,0x47,0x63,0x61,0x72,0x6f,0x6e,0x06,0x67,0x63,0x61,0x72,0x6f,0x6e,0x07,0x75, +0x6e,0x69,0x30,0x31,0x45,0x38,0x07,0x75,0x6e,0x69,0x30,0x31,0x45,0x39,0x07,0x75, +0x6e,0x69,0x30,0x31,0x45,0x41,0x07,0x75,0x6e,0x69,0x30,0x31,0x45,0x42,0x07,0x75, +0x6e,0x69,0x30,0x31,0x45,0x43,0x07,0x75,0x6e,0x69,0x30,0x31,0x45,0x44,0x07,0x75, +0x6e,0x69,0x30,0x31,0x45,0x45,0x07,0x75,0x6e,0x69,0x30,0x31,0x45,0x46,0x07,0x75, +0x6e,0x69,0x30,0x31,0x46,0x30,0x07,0x75,0x6e,0x69,0x30,0x31,0x46,0x31,0x07,0x75, +0x6e,0x69,0x30,0x31,0x46,0x32,0x07,0x75,0x6e,0x69,0x30,0x31,0x46,0x33,0x07,0x75, +0x6e,0x69,0x30,0x31,0x46,0x34,0x07,0x75,0x6e,0x69,0x30,0x31,0x46,0x35,0x07,0x75, +0x6e,0x69,0x30,0x31,0x46,0x36,0x07,0x75,0x6e,0x69,0x30,0x31,0x46,0x37,0x07,0x75, +0x6e,0x69,0x30,0x31,0x46,0x38,0x07,0x75,0x6e,0x69,0x30,0x31,0x46,0x39,0x0a,0x41, +0x72,0x69,0x6e,0x67,0x61,0x63,0x75,0x74,0x65,0x0a,0x61,0x72,0x69,0x6e,0x67,0x61, +0x63,0x75,0x74,0x65,0x07,0x41,0x45,0x61,0x63,0x75,0x74,0x65,0x07,0x61,0x65,0x61, +0x63,0x75,0x74,0x65,0x0b,0x4f,0x73,0x6c,0x61,0x73,0x68,0x61,0x63,0x75,0x74,0x65, +0x0b,0x6f,0x73,0x6c,0x61,0x73,0x68,0x61,0x63,0x75,0x74,0x65,0x07,0x75,0x6e,0x69, +0x30,0x32,0x30,0x30,0x07,0x75,0x6e,0x69,0x30,0x32,0x30,0x31,0x07,0x75,0x6e,0x69, +0x30,0x32,0x30,0x32,0x07,0x75,0x6e,0x69,0x30,0x32,0x30,0x33,0x07,0x75,0x6e,0x69, +0x30,0x32,0x30,0x34,0x07,0x75,0x6e,0x69,0x30,0x32,0x30,0x35,0x07,0x75,0x6e,0x69, +0x30,0x32,0x30,0x36,0x07,0x75,0x6e,0x69,0x30,0x32,0x30,0x37,0x07,0x75,0x6e,0x69, +0x30,0x32,0x30,0x38,0x07,0x75,0x6e,0x69,0x30,0x32,0x30,0x39,0x07,0x75,0x6e,0x69, +0x30,0x32,0x30,0x41,0x07,0x75,0x6e,0x69,0x30,0x32,0x30,0x42,0x07,0x75,0x6e,0x69, +0x30,0x32,0x30,0x43,0x07,0x75,0x6e,0x69,0x30,0x32,0x30,0x44,0x07,0x75,0x6e,0x69, +0x30,0x32,0x30,0x45,0x07,0x75,0x6e,0x69,0x30,0x32,0x30,0x46,0x07,0x75,0x6e,0x69, +0x30,0x32,0x31,0x30,0x07,0x75,0x6e,0x69,0x30,0x32,0x31,0x31,0x07,0x75,0x6e,0x69, +0x30,0x32,0x31,0x32,0x07,0x75,0x6e,0x69,0x30,0x32,0x31,0x33,0x07,0x75,0x6e,0x69, +0x30,0x32,0x31,0x34,0x07,0x75,0x6e,0x69,0x30,0x32,0x31,0x35,0x07,0x75,0x6e,0x69, +0x30,0x32,0x31,0x36,0x07,0x75,0x6e,0x69,0x30,0x32,0x31,0x37,0x0c,0x53,0x63,0x6f, +0x6d,0x6d,0x61,0x61,0x63,0x63,0x65,0x6e,0x74,0x0c,0x73,0x63,0x6f,0x6d,0x6d,0x61, +0x61,0x63,0x63,0x65,0x6e,0x74,0x07,0x75,0x6e,0x69,0x30,0x32,0x31,0x41,0x07,0x75, +0x6e,0x69,0x30,0x32,0x31,0x42,0x07,0x75,0x6e,0x69,0x30,0x32,0x31,0x43,0x07,0x75, +0x6e,0x69,0x30,0x32,0x31,0x44,0x07,0x75,0x6e,0x69,0x30,0x32,0x31,0x45,0x07,0x75, +0x6e,0x69,0x30,0x32,0x31,0x46,0x07,0x75,0x6e,0x69,0x30,0x32,0x32,0x30,0x07,0x75, +0x6e,0x69,0x30,0x32,0x32,0x31,0x07,0x75,0x6e,0x69,0x30,0x32,0x32,0x32,0x07,0x75, +0x6e,0x69,0x30,0x32,0x32,0x33,0x07,0x75,0x6e,0x69,0x30,0x32,0x32,0x34,0x07,0x75, +0x6e,0x69,0x30,0x32,0x32,0x35,0x07,0x75,0x6e,0x69,0x30,0x32,0x32,0x36,0x07,0x75, +0x6e,0x69,0x30,0x32,0x32,0x37,0x07,0x75,0x6e,0x69,0x30,0x32,0x32,0x38,0x07,0x75, +0x6e,0x69,0x30,0x32,0x32,0x39,0x07,0x75,0x6e,0x69,0x30,0x32,0x32,0x41,0x07,0x75, +0x6e,0x69,0x30,0x32,0x32,0x42,0x07,0x75,0x6e,0x69,0x30,0x32,0x32,0x43,0x07,0x75, +0x6e,0x69,0x30,0x32,0x32,0x44,0x07,0x75,0x6e,0x69,0x30,0x32,0x32,0x45,0x07,0x75, +0x6e,0x69,0x30,0x32,0x32,0x46,0x07,0x75,0x6e,0x69,0x30,0x32,0x33,0x30,0x07,0x75, +0x6e,0x69,0x30,0x32,0x33,0x31,0x07,0x75,0x6e,0x69,0x30,0x32,0x33,0x32,0x07,0x75, +0x6e,0x69,0x30,0x32,0x33,0x33,0x07,0x75,0x6e,0x69,0x30,0x32,0x33,0x34,0x07,0x75, +0x6e,0x69,0x30,0x32,0x33,0x35,0x07,0x75,0x6e,0x69,0x30,0x32,0x33,0x36,0x08,0x64, +0x6f,0x74,0x6c,0x65,0x73,0x73,0x6a,0x07,0x75,0x6e,0x69,0x30,0x32,0x33,0x38,0x07, +0x75,0x6e,0x69,0x30,0x32,0x33,0x39,0x07,0x75,0x6e,0x69,0x30,0x32,0x33,0x41,0x07, +0x75,0x6e,0x69,0x30,0x32,0x33,0x42,0x07,0x75,0x6e,0x69,0x30,0x32,0x33,0x43,0x07, +0x75,0x6e,0x69,0x30,0x32,0x33,0x44,0x07,0x75,0x6e,0x69,0x30,0x32,0x33,0x45,0x07, +0x75,0x6e,0x69,0x30,0x32,0x33,0x46,0x07,0x75,0x6e,0x69,0x30,0x32,0x34,0x30,0x07, +0x75,0x6e,0x69,0x30,0x32,0x34,0x31,0x07,0x75,0x6e,0x69,0x30,0x32,0x35,0x30,0x07, +0x75,0x6e,0x69,0x30,0x32,0x35,0x31,0x07,0x75,0x6e,0x69,0x30,0x32,0x35,0x32,0x07, +0x75,0x6e,0x69,0x30,0x32,0x35,0x33,0x07,0x75,0x6e,0x69,0x30,0x32,0x35,0x34,0x07, +0x75,0x6e,0x69,0x30,0x32,0x35,0x35,0x07,0x75,0x6e,0x69,0x30,0x32,0x35,0x36,0x07, +0x75,0x6e,0x69,0x30,0x32,0x35,0x37,0x07,0x75,0x6e,0x69,0x30,0x32,0x35,0x38,0x07, +0x75,0x6e,0x69,0x30,0x32,0x35,0x39,0x07,0x75,0x6e,0x69,0x30,0x32,0x35,0x41,0x07, +0x75,0x6e,0x69,0x30,0x32,0x35,0x42,0x07,0x75,0x6e,0x69,0x30,0x32,0x35,0x43,0x07, +0x75,0x6e,0x69,0x30,0x32,0x35,0x44,0x07,0x75,0x6e,0x69,0x30,0x32,0x35,0x45,0x07, +0x75,0x6e,0x69,0x30,0x32,0x35,0x46,0x07,0x75,0x6e,0x69,0x30,0x32,0x36,0x30,0x07, +0x75,0x6e,0x69,0x30,0x32,0x36,0x31,0x07,0x75,0x6e,0x69,0x30,0x32,0x36,0x32,0x07, +0x75,0x6e,0x69,0x30,0x32,0x36,0x33,0x07,0x75,0x6e,0x69,0x30,0x32,0x36,0x34,0x07, +0x75,0x6e,0x69,0x30,0x32,0x36,0x35,0x07,0x75,0x6e,0x69,0x30,0x32,0x36,0x36,0x07, +0x75,0x6e,0x69,0x30,0x32,0x36,0x37,0x07,0x75,0x6e,0x69,0x30,0x32,0x36,0x38,0x07, +0x75,0x6e,0x69,0x30,0x32,0x36,0x39,0x07,0x75,0x6e,0x69,0x30,0x32,0x36,0x41,0x07, +0x75,0x6e,0x69,0x30,0x32,0x36,0x42,0x07,0x75,0x6e,0x69,0x30,0x32,0x36,0x43,0x07, +0x75,0x6e,0x69,0x30,0x32,0x36,0x44,0x07,0x75,0x6e,0x69,0x30,0x32,0x36,0x45,0x07, +0x75,0x6e,0x69,0x30,0x32,0x36,0x46,0x07,0x75,0x6e,0x69,0x30,0x32,0x37,0x30,0x07, +0x75,0x6e,0x69,0x30,0x32,0x37,0x31,0x07,0x75,0x6e,0x69,0x30,0x32,0x37,0x32,0x07, +0x75,0x6e,0x69,0x30,0x32,0x37,0x33,0x07,0x75,0x6e,0x69,0x30,0x32,0x37,0x34,0x07, +0x75,0x6e,0x69,0x30,0x32,0x37,0x35,0x07,0x75,0x6e,0x69,0x30,0x32,0x37,0x36,0x07, +0x75,0x6e,0x69,0x30,0x32,0x37,0x37,0x07,0x75,0x6e,0x69,0x30,0x32,0x37,0x38,0x07, +0x75,0x6e,0x69,0x30,0x32,0x37,0x39,0x07,0x75,0x6e,0x69,0x30,0x32,0x37,0x41,0x07, +0x75,0x6e,0x69,0x30,0x32,0x37,0x42,0x07,0x75,0x6e,0x69,0x30,0x32,0x37,0x43,0x07, +0x75,0x6e,0x69,0x30,0x32,0x37,0x44,0x07,0x75,0x6e,0x69,0x30,0x32,0x37,0x45,0x07, +0x75,0x6e,0x69,0x30,0x32,0x37,0x46,0x07,0x75,0x6e,0x69,0x30,0x32,0x38,0x30,0x07, +0x75,0x6e,0x69,0x30,0x32,0x38,0x31,0x07,0x75,0x6e,0x69,0x30,0x32,0x38,0x32,0x07, +0x75,0x6e,0x69,0x30,0x32,0x38,0x33,0x07,0x75,0x6e,0x69,0x30,0x32,0x38,0x34,0x07, +0x75,0x6e,0x69,0x30,0x32,0x38,0x35,0x07,0x75,0x6e,0x69,0x30,0x32,0x38,0x36,0x07, +0x75,0x6e,0x69,0x30,0x32,0x38,0x37,0x07,0x75,0x6e,0x69,0x30,0x32,0x38,0x38,0x07, +0x75,0x6e,0x69,0x30,0x32,0x38,0x39,0x07,0x75,0x6e,0x69,0x30,0x32,0x38,0x41,0x07, +0x75,0x6e,0x69,0x30,0x32,0x38,0x42,0x07,0x75,0x6e,0x69,0x30,0x32,0x38,0x43,0x07, +0x75,0x6e,0x69,0x30,0x32,0x38,0x44,0x07,0x75,0x6e,0x69,0x30,0x32,0x38,0x45,0x07, +0x75,0x6e,0x69,0x30,0x32,0x38,0x46,0x07,0x75,0x6e,0x69,0x30,0x32,0x39,0x30,0x07, +0x75,0x6e,0x69,0x30,0x32,0x39,0x31,0x07,0x75,0x6e,0x69,0x30,0x32,0x39,0x32,0x07, +0x75,0x6e,0x69,0x30,0x32,0x39,0x33,0x07,0x75,0x6e,0x69,0x30,0x32,0x39,0x34,0x07, +0x75,0x6e,0x69,0x30,0x32,0x39,0x35,0x07,0x75,0x6e,0x69,0x30,0x32,0x39,0x36,0x07, +0x75,0x6e,0x69,0x30,0x32,0x39,0x37,0x07,0x75,0x6e,0x69,0x30,0x32,0x39,0x38,0x07, +0x75,0x6e,0x69,0x30,0x32,0x39,0x39,0x07,0x75,0x6e,0x69,0x30,0x32,0x39,0x41,0x07, +0x75,0x6e,0x69,0x30,0x32,0x39,0x42,0x07,0x75,0x6e,0x69,0x30,0x32,0x39,0x43,0x07, +0x75,0x6e,0x69,0x30,0x32,0x39,0x44,0x07,0x75,0x6e,0x69,0x30,0x32,0x39,0x45,0x07, +0x75,0x6e,0x69,0x30,0x32,0x39,0x46,0x07,0x75,0x6e,0x69,0x30,0x32,0x41,0x30,0x07, +0x75,0x6e,0x69,0x30,0x32,0x41,0x31,0x07,0x75,0x6e,0x69,0x30,0x32,0x41,0x32,0x07, +0x75,0x6e,0x69,0x30,0x32,0x41,0x33,0x07,0x75,0x6e,0x69,0x30,0x32,0x41,0x34,0x07, +0x75,0x6e,0x69,0x30,0x32,0x41,0x35,0x07,0x75,0x6e,0x69,0x30,0x32,0x41,0x36,0x07, +0x75,0x6e,0x69,0x30,0x32,0x41,0x37,0x07,0x75,0x6e,0x69,0x30,0x32,0x41,0x38,0x07, +0x75,0x6e,0x69,0x30,0x32,0x41,0x39,0x07,0x75,0x6e,0x69,0x30,0x32,0x41,0x41,0x07, +0x75,0x6e,0x69,0x30,0x32,0x41,0x42,0x07,0x75,0x6e,0x69,0x30,0x32,0x41,0x43,0x07, +0x75,0x6e,0x69,0x30,0x32,0x41,0x44,0x07,0x75,0x6e,0x69,0x30,0x32,0x41,0x45,0x07, +0x75,0x6e,0x69,0x30,0x32,0x41,0x46,0x07,0x75,0x6e,0x69,0x30,0x32,0x42,0x30,0x07, +0x75,0x6e,0x69,0x30,0x32,0x42,0x31,0x07,0x75,0x6e,0x69,0x30,0x32,0x42,0x32,0x07, +0x75,0x6e,0x69,0x30,0x32,0x42,0x33,0x07,0x75,0x6e,0x69,0x30,0x32,0x42,0x34,0x07, +0x75,0x6e,0x69,0x30,0x32,0x42,0x35,0x07,0x75,0x6e,0x69,0x30,0x32,0x42,0x36,0x07, +0x75,0x6e,0x69,0x30,0x32,0x42,0x37,0x07,0x75,0x6e,0x69,0x30,0x32,0x42,0x38,0x07, +0x75,0x6e,0x69,0x30,0x32,0x42,0x39,0x07,0x75,0x6e,0x69,0x30,0x32,0x42,0x41,0x07, +0x75,0x6e,0x69,0x30,0x32,0x42,0x42,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x39,0x32, +0x39,0x09,0x61,0x66,0x69,0x69,0x36,0x34,0x39,0x33,0x37,0x07,0x75,0x6e,0x69,0x30, +0x32,0x42,0x45,0x07,0x75,0x6e,0x69,0x30,0x32,0x42,0x46,0x07,0x75,0x6e,0x69,0x30, +0x32,0x43,0x30,0x07,0x75,0x6e,0x69,0x30,0x32,0x43,0x31,0x07,0x75,0x6e,0x69,0x30, +0x32,0x43,0x32,0x07,0x75,0x6e,0x69,0x30,0x32,0x43,0x33,0x07,0x75,0x6e,0x69,0x30, +0x32,0x43,0x34,0x07,0x75,0x6e,0x69,0x30,0x32,0x43,0x35,0x07,0x75,0x6e,0x69,0x30, +0x32,0x43,0x38,0x07,0x75,0x6e,0x69,0x30,0x32,0x43,0x39,0x07,0x75,0x6e,0x69,0x30, +0x32,0x43,0x41,0x07,0x75,0x6e,0x69,0x30,0x32,0x43,0x42,0x07,0x75,0x6e,0x69,0x30, +0x32,0x43,0x43,0x07,0x75,0x6e,0x69,0x30,0x32,0x43,0x44,0x07,0x75,0x6e,0x69,0x30, +0x32,0x43,0x45,0x07,0x75,0x6e,0x69,0x30,0x32,0x43,0x46,0x07,0x75,0x6e,0x69,0x30, +0x32,0x44,0x30,0x07,0x75,0x6e,0x69,0x30,0x32,0x44,0x31,0x07,0x75,0x6e,0x69,0x30, +0x32,0x44,0x32,0x07,0x75,0x6e,0x69,0x30,0x32,0x44,0x33,0x07,0x75,0x6e,0x69,0x30, +0x32,0x44,0x34,0x07,0x75,0x6e,0x69,0x30,0x32,0x44,0x35,0x07,0x75,0x6e,0x69,0x30, +0x32,0x44,0x36,0x07,0x75,0x6e,0x69,0x30,0x32,0x44,0x37,0x07,0x75,0x6e,0x69,0x30, +0x32,0x44,0x45,0x07,0x75,0x6e,0x69,0x30,0x32,0x44,0x46,0x07,0x75,0x6e,0x69,0x30, +0x32,0x45,0x30,0x07,0x75,0x6e,0x69,0x30,0x32,0x45,0x31,0x07,0x75,0x6e,0x69,0x30, +0x32,0x45,0x32,0x07,0x75,0x6e,0x69,0x30,0x32,0x45,0x33,0x07,0x75,0x6e,0x69,0x30, +0x32,0x45,0x34,0x07,0x75,0x6e,0x69,0x30,0x32,0x45,0x35,0x07,0x75,0x6e,0x69,0x30, +0x32,0x45,0x36,0x07,0x75,0x6e,0x69,0x30,0x32,0x45,0x37,0x07,0x75,0x6e,0x69,0x30, +0x32,0x45,0x38,0x07,0x75,0x6e,0x69,0x30,0x32,0x45,0x39,0x07,0x75,0x6e,0x69,0x30, +0x32,0x45,0x43,0x07,0x75,0x6e,0x69,0x30,0x32,0x45,0x44,0x07,0x75,0x6e,0x69,0x30, +0x32,0x45,0x45,0x07,0x75,0x6e,0x69,0x30,0x32,0x46,0x33,0x07,0x75,0x6e,0x69,0x30, +0x32,0x46,0x37,0x09,0x67,0x72,0x61,0x76,0x65,0x63,0x6f,0x6d,0x62,0x09,0x61,0x63, +0x75,0x74,0x65,0x63,0x6f,0x6d,0x62,0x07,0x75,0x6e,0x69,0x30,0x33,0x30,0x32,0x09, +0x74,0x69,0x6c,0x64,0x65,0x63,0x6f,0x6d,0x62,0x07,0x75,0x6e,0x69,0x30,0x33,0x30, +0x34,0x07,0x75,0x6e,0x69,0x30,0x33,0x30,0x35,0x07,0x75,0x6e,0x69,0x30,0x33,0x30, +0x36,0x07,0x75,0x6e,0x69,0x30,0x33,0x30,0x37,0x07,0x75,0x6e,0x69,0x30,0x33,0x30, +0x38,0x0d,0x68,0x6f,0x6f,0x6b,0x61,0x62,0x6f,0x76,0x65,0x63,0x6f,0x6d,0x62,0x07, +0x75,0x6e,0x69,0x30,0x33,0x30,0x41,0x07,0x75,0x6e,0x69,0x30,0x33,0x30,0x42,0x07, +0x75,0x6e,0x69,0x30,0x33,0x30,0x43,0x07,0x75,0x6e,0x69,0x30,0x33,0x30,0x44,0x07, +0x75,0x6e,0x69,0x30,0x33,0x30,0x45,0x07,0x75,0x6e,0x69,0x30,0x33,0x30,0x46,0x07, +0x75,0x6e,0x69,0x30,0x33,0x31,0x30,0x07,0x75,0x6e,0x69,0x30,0x33,0x31,0x31,0x07, +0x75,0x6e,0x69,0x30,0x33,0x31,0x32,0x07,0x75,0x6e,0x69,0x30,0x33,0x31,0x33,0x07, +0x75,0x6e,0x69,0x30,0x33,0x31,0x34,0x07,0x75,0x6e,0x69,0x30,0x33,0x31,0x35,0x07, +0x75,0x6e,0x69,0x30,0x33,0x31,0x36,0x07,0x75,0x6e,0x69,0x30,0x33,0x31,0x37,0x07, +0x75,0x6e,0x69,0x30,0x33,0x31,0x38,0x07,0x75,0x6e,0x69,0x30,0x33,0x31,0x39,0x07, +0x75,0x6e,0x69,0x30,0x33,0x31,0x41,0x07,0x75,0x6e,0x69,0x30,0x33,0x31,0x42,0x07, +0x75,0x6e,0x69,0x30,0x33,0x31,0x43,0x07,0x75,0x6e,0x69,0x30,0x33,0x31,0x44,0x07, +0x75,0x6e,0x69,0x30,0x33,0x31,0x45,0x07,0x75,0x6e,0x69,0x30,0x33,0x31,0x46,0x07, +0x75,0x6e,0x69,0x30,0x33,0x32,0x30,0x07,0x75,0x6e,0x69,0x30,0x33,0x32,0x31,0x07, +0x75,0x6e,0x69,0x30,0x33,0x32,0x32,0x0c,0x64,0x6f,0x74,0x62,0x65,0x6c,0x6f,0x77, +0x63,0x6f,0x6d,0x62,0x07,0x75,0x6e,0x69,0x30,0x33,0x32,0x34,0x07,0x75,0x6e,0x69, +0x30,0x33,0x32,0x35,0x07,0x75,0x6e,0x69,0x30,0x33,0x32,0x36,0x07,0x75,0x6e,0x69, +0x30,0x33,0x32,0x37,0x07,0x75,0x6e,0x69,0x30,0x33,0x32,0x38,0x07,0x75,0x6e,0x69, +0x30,0x33,0x32,0x39,0x07,0x75,0x6e,0x69,0x30,0x33,0x32,0x41,0x07,0x75,0x6e,0x69, +0x30,0x33,0x32,0x42,0x07,0x75,0x6e,0x69,0x30,0x33,0x32,0x43,0x07,0x75,0x6e,0x69, +0x30,0x33,0x32,0x44,0x07,0x75,0x6e,0x69,0x30,0x33,0x32,0x45,0x07,0x75,0x6e,0x69, +0x30,0x33,0x32,0x46,0x07,0x75,0x6e,0x69,0x30,0x33,0x33,0x30,0x07,0x75,0x6e,0x69, +0x30,0x33,0x33,0x31,0x07,0x75,0x6e,0x69,0x30,0x33,0x33,0x32,0x07,0x75,0x6e,0x69, +0x30,0x33,0x33,0x33,0x07,0x75,0x6e,0x69,0x30,0x33,0x33,0x34,0x07,0x75,0x6e,0x69, +0x30,0x33,0x33,0x35,0x07,0x75,0x6e,0x69,0x30,0x33,0x33,0x36,0x07,0x75,0x6e,0x69, +0x30,0x33,0x33,0x37,0x07,0x75,0x6e,0x69,0x30,0x33,0x33,0x38,0x07,0x75,0x6e,0x69, +0x30,0x33,0x33,0x39,0x07,0x75,0x6e,0x69,0x30,0x33,0x33,0x41,0x07,0x75,0x6e,0x69, +0x30,0x33,0x33,0x42,0x07,0x75,0x6e,0x69,0x30,0x33,0x33,0x43,0x07,0x75,0x6e,0x69, +0x30,0x33,0x33,0x44,0x07,0x75,0x6e,0x69,0x30,0x33,0x33,0x45,0x07,0x75,0x6e,0x69, +0x30,0x33,0x33,0x46,0x07,0x75,0x6e,0x69,0x30,0x33,0x34,0x30,0x07,0x75,0x6e,0x69, +0x30,0x33,0x34,0x31,0x07,0x75,0x6e,0x69,0x30,0x33,0x34,0x32,0x07,0x75,0x6e,0x69, +0x30,0x33,0x34,0x33,0x07,0x75,0x6e,0x69,0x30,0x33,0x34,0x34,0x07,0x75,0x6e,0x69, +0x30,0x33,0x34,0x35,0x07,0x75,0x6e,0x69,0x30,0x33,0x34,0x36,0x07,0x75,0x6e,0x69, +0x30,0x33,0x34,0x37,0x07,0x75,0x6e,0x69,0x30,0x33,0x34,0x38,0x07,0x75,0x6e,0x69, +0x30,0x33,0x34,0x39,0x07,0x75,0x6e,0x69,0x30,0x33,0x34,0x41,0x07,0x75,0x6e,0x69, +0x30,0x33,0x34,0x42,0x07,0x75,0x6e,0x69,0x30,0x33,0x34,0x43,0x07,0x75,0x6e,0x69, +0x30,0x33,0x34,0x44,0x07,0x75,0x6e,0x69,0x30,0x33,0x34,0x45,0x07,0x75,0x6e,0x69, +0x30,0x33,0x35,0x31,0x07,0x75,0x6e,0x69,0x30,0x33,0x35,0x32,0x07,0x75,0x6e,0x69, +0x30,0x33,0x35,0x33,0x07,0x75,0x6e,0x69,0x30,0x33,0x35,0x37,0x07,0x75,0x6e,0x69, +0x30,0x33,0x35,0x38,0x07,0x75,0x6e,0x69,0x30,0x33,0x35,0x43,0x07,0x75,0x6e,0x69, +0x30,0x33,0x35,0x44,0x07,0x75,0x6e,0x69,0x30,0x33,0x36,0x30,0x07,0x75,0x6e,0x69, +0x30,0x33,0x36,0x31,0x07,0x75,0x6e,0x69,0x30,0x33,0x36,0x32,0x07,0x75,0x6e,0x69, +0x30,0x33,0x37,0x34,0x07,0x75,0x6e,0x69,0x30,0x33,0x37,0x35,0x07,0x75,0x6e,0x69, +0x30,0x33,0x37,0x41,0x07,0x75,0x6e,0x69,0x30,0x33,0x37,0x45,0x05,0x74,0x6f,0x6e, +0x6f,0x73,0x0d,0x64,0x69,0x65,0x72,0x65,0x73,0x69,0x73,0x74,0x6f,0x6e,0x6f,0x73, +0x0a,0x41,0x6c,0x70,0x68,0x61,0x74,0x6f,0x6e,0x6f,0x73,0x09,0x61,0x6e,0x6f,0x74, +0x65,0x6c,0x65,0x69,0x61,0x0c,0x45,0x70,0x73,0x69,0x6c,0x6f,0x6e,0x74,0x6f,0x6e, +0x6f,0x73,0x08,0x45,0x74,0x61,0x74,0x6f,0x6e,0x6f,0x73,0x09,0x49,0x6f,0x74,0x61, +0x74,0x6f,0x6e,0x6f,0x73,0x0c,0x4f,0x6d,0x69,0x63,0x72,0x6f,0x6e,0x74,0x6f,0x6e, +0x6f,0x73,0x0c,0x55,0x70,0x73,0x69,0x6c,0x6f,0x6e,0x74,0x6f,0x6e,0x6f,0x73,0x0a, +0x4f,0x6d,0x65,0x67,0x61,0x74,0x6f,0x6e,0x6f,0x73,0x11,0x69,0x6f,0x74,0x61,0x64, +0x69,0x65,0x72,0x65,0x73,0x69,0x73,0x74,0x6f,0x6e,0x6f,0x73,0x05,0x41,0x6c,0x70, +0x68,0x61,0x04,0x42,0x65,0x74,0x61,0x05,0x47,0x61,0x6d,0x6d,0x61,0x07,0x75,0x6e, +0x69,0x30,0x33,0x39,0x34,0x07,0x45,0x70,0x73,0x69,0x6c,0x6f,0x6e,0x04,0x5a,0x65, +0x74,0x61,0x03,0x45,0x74,0x61,0x05,0x54,0x68,0x65,0x74,0x61,0x04,0x49,0x6f,0x74, +0x61,0x05,0x4b,0x61,0x70,0x70,0x61,0x06,0x4c,0x61,0x6d,0x62,0x64,0x61,0x02,0x4d, +0x75,0x02,0x4e,0x75,0x02,0x58,0x69,0x07,0x4f,0x6d,0x69,0x63,0x72,0x6f,0x6e,0x02, +0x50,0x69,0x03,0x52,0x68,0x6f,0x05,0x53,0x69,0x67,0x6d,0x61,0x03,0x54,0x61,0x75, +0x07,0x55,0x70,0x73,0x69,0x6c,0x6f,0x6e,0x03,0x50,0x68,0x69,0x03,0x43,0x68,0x69, +0x03,0x50,0x73,0x69,0x0c,0x49,0x6f,0x74,0x61,0x64,0x69,0x65,0x72,0x65,0x73,0x69, +0x73,0x0f,0x55,0x70,0x73,0x69,0x6c,0x6f,0x6e,0x64,0x69,0x65,0x72,0x65,0x73,0x69, +0x73,0x0a,0x61,0x6c,0x70,0x68,0x61,0x74,0x6f,0x6e,0x6f,0x73,0x0c,0x65,0x70,0x73, +0x69,0x6c,0x6f,0x6e,0x74,0x6f,0x6e,0x6f,0x73,0x08,0x65,0x74,0x61,0x74,0x6f,0x6e, +0x6f,0x73,0x09,0x69,0x6f,0x74,0x61,0x74,0x6f,0x6e,0x6f,0x73,0x14,0x75,0x70,0x73, +0x69,0x6c,0x6f,0x6e,0x64,0x69,0x65,0x72,0x65,0x73,0x69,0x73,0x74,0x6f,0x6e,0x6f, +0x73,0x05,0x61,0x6c,0x70,0x68,0x61,0x04,0x62,0x65,0x74,0x61,0x05,0x67,0x61,0x6d, +0x6d,0x61,0x05,0x64,0x65,0x6c,0x74,0x61,0x07,0x65,0x70,0x73,0x69,0x6c,0x6f,0x6e, +0x04,0x7a,0x65,0x74,0x61,0x03,0x65,0x74,0x61,0x05,0x74,0x68,0x65,0x74,0x61,0x04, +0x69,0x6f,0x74,0x61,0x05,0x6b,0x61,0x70,0x70,0x61,0x06,0x6c,0x61,0x6d,0x62,0x64, +0x61,0x07,0x75,0x6e,0x69,0x30,0x33,0x42,0x43,0x02,0x6e,0x75,0x02,0x78,0x69,0x07, +0x6f,0x6d,0x69,0x63,0x72,0x6f,0x6e,0x03,0x72,0x68,0x6f,0x06,0x73,0x69,0x67,0x6d, +0x61,0x31,0x05,0x73,0x69,0x67,0x6d,0x61,0x03,0x74,0x61,0x75,0x07,0x75,0x70,0x73, +0x69,0x6c,0x6f,0x6e,0x03,0x70,0x68,0x69,0x03,0x63,0x68,0x69,0x03,0x70,0x73,0x69, +0x05,0x6f,0x6d,0x65,0x67,0x61,0x0c,0x69,0x6f,0x74,0x61,0x64,0x69,0x65,0x72,0x65, +0x73,0x69,0x73,0x0f,0x75,0x70,0x73,0x69,0x6c,0x6f,0x6e,0x64,0x69,0x65,0x72,0x65, +0x73,0x69,0x73,0x0c,0x6f,0x6d,0x69,0x63,0x72,0x6f,0x6e,0x74,0x6f,0x6e,0x6f,0x73, +0x0c,0x75,0x70,0x73,0x69,0x6c,0x6f,0x6e,0x74,0x6f,0x6e,0x6f,0x73,0x0a,0x6f,0x6d, +0x65,0x67,0x61,0x74,0x6f,0x6e,0x6f,0x73,0x07,0x75,0x6e,0x69,0x30,0x33,0x44,0x30, +0x06,0x74,0x68,0x65,0x74,0x61,0x31,0x08,0x55,0x70,0x73,0x69,0x6c,0x6f,0x6e,0x31, +0x07,0x75,0x6e,0x69,0x30,0x33,0x44,0x33,0x07,0x75,0x6e,0x69,0x30,0x33,0x44,0x34, +0x04,0x70,0x68,0x69,0x31,0x06,0x6f,0x6d,0x65,0x67,0x61,0x31,0x07,0x75,0x6e,0x69, +0x30,0x33,0x44,0x37,0x07,0x75,0x6e,0x69,0x30,0x33,0x44,0x38,0x07,0x75,0x6e,0x69, +0x30,0x33,0x44,0x39,0x07,0x75,0x6e,0x69,0x30,0x33,0x44,0x41,0x07,0x75,0x6e,0x69, +0x30,0x33,0x44,0x42,0x07,0x75,0x6e,0x69,0x30,0x33,0x44,0x43,0x07,0x75,0x6e,0x69, +0x30,0x33,0x44,0x44,0x07,0x75,0x6e,0x69,0x30,0x33,0x44,0x45,0x07,0x75,0x6e,0x69, +0x30,0x33,0x44,0x46,0x07,0x75,0x6e,0x69,0x30,0x33,0x45,0x30,0x07,0x75,0x6e,0x69, +0x30,0x33,0x45,0x31,0x07,0x75,0x6e,0x69,0x30,0x33,0x45,0x32,0x07,0x75,0x6e,0x69, +0x30,0x33,0x45,0x33,0x07,0x75,0x6e,0x69,0x30,0x33,0x45,0x34,0x07,0x75,0x6e,0x69, +0x30,0x33,0x45,0x35,0x07,0x75,0x6e,0x69,0x30,0x33,0x45,0x36,0x07,0x75,0x6e,0x69, +0x30,0x33,0x45,0x37,0x07,0x75,0x6e,0x69,0x30,0x33,0x45,0x38,0x07,0x75,0x6e,0x69, +0x30,0x33,0x45,0x39,0x07,0x75,0x6e,0x69,0x30,0x33,0x45,0x41,0x07,0x75,0x6e,0x69, +0x30,0x33,0x45,0x42,0x07,0x75,0x6e,0x69,0x30,0x33,0x45,0x43,0x07,0x75,0x6e,0x69, +0x30,0x33,0x45,0x44,0x07,0x75,0x6e,0x69,0x30,0x33,0x45,0x45,0x07,0x75,0x6e,0x69, +0x30,0x33,0x45,0x46,0x07,0x75,0x6e,0x69,0x30,0x33,0x46,0x30,0x07,0x75,0x6e,0x69, +0x30,0x33,0x46,0x31,0x07,0x75,0x6e,0x69,0x30,0x33,0x46,0x32,0x07,0x75,0x6e,0x69, +0x30,0x33,0x46,0x33,0x07,0x75,0x6e,0x69,0x30,0x33,0x46,0x34,0x07,0x75,0x6e,0x69, +0x30,0x33,0x46,0x35,0x07,0x75,0x6e,0x69,0x30,0x33,0x46,0x36,0x07,0x75,0x6e,0x69, +0x30,0x33,0x46,0x37,0x07,0x75,0x6e,0x69,0x30,0x33,0x46,0x38,0x07,0x75,0x6e,0x69, +0x30,0x33,0x46,0x39,0x07,0x75,0x6e,0x69,0x30,0x33,0x46,0x41,0x07,0x75,0x6e,0x69, +0x30,0x33,0x46,0x42,0x07,0x75,0x6e,0x69,0x30,0x33,0x46,0x43,0x07,0x75,0x6e,0x69, +0x30,0x33,0x46,0x44,0x07,0x75,0x6e,0x69,0x30,0x33,0x46,0x45,0x07,0x75,0x6e,0x69, +0x30,0x33,0x46,0x46,0x07,0x75,0x6e,0x69,0x30,0x34,0x30,0x30,0x09,0x61,0x66,0x69, +0x69,0x31,0x30,0x30,0x32,0x33,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x35,0x31, +0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x35,0x32,0x09,0x61,0x66,0x69,0x69,0x31, +0x30,0x30,0x35,0x33,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x35,0x34,0x09,0x61, +0x66,0x69,0x69,0x31,0x30,0x30,0x35,0x35,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30, +0x35,0x36,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x35,0x37,0x09,0x61,0x66,0x69, +0x69,0x31,0x30,0x30,0x35,0x38,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x35,0x39, +0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x36,0x30,0x09,0x61,0x66,0x69,0x69,0x31, +0x30,0x30,0x36,0x31,0x07,0x75,0x6e,0x69,0x30,0x34,0x30,0x44,0x09,0x61,0x66,0x69, +0x69,0x31,0x30,0x30,0x36,0x32,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x31,0x34,0x35, +0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x31,0x37,0x09,0x61,0x66,0x69,0x69,0x31, +0x30,0x30,0x31,0x38,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x31,0x39,0x09,0x61, +0x66,0x69,0x69,0x31,0x30,0x30,0x32,0x30,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30, +0x32,0x31,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x32,0x32,0x09,0x61,0x66,0x69, +0x69,0x31,0x30,0x30,0x32,0x34,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x32,0x35, +0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x32,0x36,0x09,0x61,0x66,0x69,0x69,0x31, +0x30,0x30,0x32,0x37,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x32,0x38,0x09,0x61, +0x66,0x69,0x69,0x31,0x30,0x30,0x32,0x39,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30, +0x33,0x30,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x33,0x31,0x09,0x61,0x66,0x69, +0x69,0x31,0x30,0x30,0x33,0x32,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x33,0x33, +0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x33,0x34,0x09,0x61,0x66,0x69,0x69,0x31, +0x30,0x30,0x33,0x35,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x33,0x36,0x09,0x61, +0x66,0x69,0x69,0x31,0x30,0x30,0x33,0x37,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30, +0x33,0x38,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x33,0x39,0x09,0x61,0x66,0x69, +0x69,0x31,0x30,0x30,0x34,0x30,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x34,0x31, +0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x34,0x32,0x09,0x61,0x66,0x69,0x69,0x31, +0x30,0x30,0x34,0x33,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x34,0x34,0x09,0x61, +0x66,0x69,0x69,0x31,0x30,0x30,0x34,0x35,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30, +0x34,0x36,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x34,0x37,0x09,0x61,0x66,0x69, +0x69,0x31,0x30,0x30,0x34,0x38,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x34,0x39, +0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x36,0x35,0x09,0x61,0x66,0x69,0x69,0x31, +0x30,0x30,0x36,0x36,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x36,0x37,0x09,0x61, +0x66,0x69,0x69,0x31,0x30,0x30,0x36,0x38,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30, +0x36,0x39,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x37,0x30,0x09,0x61,0x66,0x69, +0x69,0x31,0x30,0x30,0x37,0x32,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x37,0x33, +0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x37,0x34,0x09,0x61,0x66,0x69,0x69,0x31, +0x30,0x30,0x37,0x35,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x37,0x36,0x09,0x61, +0x66,0x69,0x69,0x31,0x30,0x30,0x37,0x37,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30, +0x37,0x38,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x37,0x39,0x09,0x61,0x66,0x69, +0x69,0x31,0x30,0x30,0x38,0x30,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x38,0x31, +0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x38,0x32,0x09,0x61,0x66,0x69,0x69,0x31, +0x30,0x30,0x38,0x33,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x38,0x34,0x09,0x61, +0x66,0x69,0x69,0x31,0x30,0x30,0x38,0x35,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30, +0x38,0x36,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x38,0x37,0x09,0x61,0x66,0x69, +0x69,0x31,0x30,0x30,0x38,0x38,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x38,0x39, +0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x39,0x30,0x09,0x61,0x66,0x69,0x69,0x31, +0x30,0x30,0x39,0x31,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x39,0x32,0x09,0x61, +0x66,0x69,0x69,0x31,0x30,0x30,0x39,0x33,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30, +0x39,0x34,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x39,0x35,0x09,0x61,0x66,0x69, +0x69,0x31,0x30,0x30,0x39,0x36,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x39,0x37, +0x07,0x75,0x6e,0x69,0x30,0x34,0x35,0x30,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30, +0x37,0x31,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x39,0x39,0x09,0x61,0x66,0x69, +0x69,0x31,0x30,0x31,0x30,0x30,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x31,0x30,0x31, +0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x31,0x30,0x32,0x09,0x61,0x66,0x69,0x69,0x31, +0x30,0x31,0x30,0x33,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x31,0x30,0x34,0x09,0x61, +0x66,0x69,0x69,0x31,0x30,0x31,0x30,0x35,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x31, +0x30,0x36,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x31,0x30,0x37,0x09,0x61,0x66,0x69, +0x69,0x31,0x30,0x31,0x30,0x38,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x31,0x30,0x39, +0x07,0x75,0x6e,0x69,0x30,0x34,0x35,0x44,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x31, +0x31,0x30,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x31,0x39,0x33,0x07,0x75,0x6e,0x69, +0x30,0x34,0x36,0x30,0x07,0x75,0x6e,0x69,0x30,0x34,0x36,0x31,0x09,0x61,0x66,0x69, +0x69,0x31,0x30,0x31,0x34,0x36,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x31,0x39,0x34, +0x07,0x75,0x6e,0x69,0x30,0x34,0x36,0x34,0x07,0x75,0x6e,0x69,0x30,0x34,0x36,0x35, +0x07,0x75,0x6e,0x69,0x30,0x34,0x36,0x36,0x07,0x75,0x6e,0x69,0x30,0x34,0x36,0x37, +0x07,0x75,0x6e,0x69,0x30,0x34,0x36,0x38,0x07,0x75,0x6e,0x69,0x30,0x34,0x36,0x39, +0x07,0x75,0x6e,0x69,0x30,0x34,0x36,0x41,0x07,0x75,0x6e,0x69,0x30,0x34,0x36,0x42, +0x07,0x75,0x6e,0x69,0x30,0x34,0x36,0x43,0x07,0x75,0x6e,0x69,0x30,0x34,0x36,0x44, +0x07,0x75,0x6e,0x69,0x30,0x34,0x36,0x45,0x07,0x75,0x6e,0x69,0x30,0x34,0x36,0x46, +0x07,0x75,0x6e,0x69,0x30,0x34,0x37,0x30,0x07,0x75,0x6e,0x69,0x30,0x34,0x37,0x31, +0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x31,0x34,0x37,0x09,0x61,0x66,0x69,0x69,0x31, +0x30,0x31,0x39,0x35,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x31,0x34,0x38,0x09,0x61, +0x66,0x69,0x69,0x31,0x30,0x31,0x39,0x36,0x07,0x75,0x6e,0x69,0x30,0x34,0x37,0x36, +0x07,0x75,0x6e,0x69,0x30,0x34,0x37,0x37,0x07,0x75,0x6e,0x69,0x30,0x34,0x37,0x38, +0x07,0x75,0x6e,0x69,0x30,0x34,0x37,0x39,0x07,0x75,0x6e,0x69,0x30,0x34,0x37,0x41, +0x07,0x75,0x6e,0x69,0x30,0x34,0x37,0x42,0x07,0x75,0x6e,0x69,0x30,0x34,0x37,0x43, +0x07,0x75,0x6e,0x69,0x30,0x34,0x37,0x44,0x07,0x75,0x6e,0x69,0x30,0x34,0x37,0x45, +0x07,0x75,0x6e,0x69,0x30,0x34,0x37,0x46,0x07,0x75,0x6e,0x69,0x30,0x34,0x38,0x30, +0x07,0x75,0x6e,0x69,0x30,0x34,0x38,0x31,0x07,0x75,0x6e,0x69,0x30,0x34,0x38,0x32, +0x07,0x75,0x6e,0x69,0x30,0x34,0x38,0x33,0x07,0x75,0x6e,0x69,0x30,0x34,0x38,0x34, +0x07,0x75,0x6e,0x69,0x30,0x34,0x38,0x35,0x07,0x75,0x6e,0x69,0x30,0x34,0x38,0x36, +0x07,0x75,0x6e,0x69,0x30,0x34,0x38,0x38,0x07,0x75,0x6e,0x69,0x30,0x34,0x38,0x39, +0x07,0x75,0x6e,0x69,0x30,0x34,0x38,0x41,0x07,0x75,0x6e,0x69,0x30,0x34,0x38,0x42, +0x07,0x75,0x6e,0x69,0x30,0x34,0x38,0x43,0x07,0x75,0x6e,0x69,0x30,0x34,0x38,0x44, +0x07,0x75,0x6e,0x69,0x30,0x34,0x38,0x45,0x07,0x75,0x6e,0x69,0x30,0x34,0x38,0x46, +0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x30,0x35,0x30,0x09,0x61,0x66,0x69,0x69,0x31, +0x30,0x30,0x39,0x38,0x07,0x75,0x6e,0x69,0x30,0x34,0x39,0x32,0x07,0x75,0x6e,0x69, +0x30,0x34,0x39,0x33,0x07,0x75,0x6e,0x69,0x30,0x34,0x39,0x34,0x07,0x75,0x6e,0x69, +0x30,0x34,0x39,0x35,0x07,0x75,0x6e,0x69,0x30,0x34,0x39,0x36,0x07,0x75,0x6e,0x69, +0x30,0x34,0x39,0x37,0x07,0x75,0x6e,0x69,0x30,0x34,0x39,0x38,0x07,0x75,0x6e,0x69, +0x30,0x34,0x39,0x39,0x07,0x75,0x6e,0x69,0x30,0x34,0x39,0x41,0x07,0x75,0x6e,0x69, +0x30,0x34,0x39,0x42,0x07,0x75,0x6e,0x69,0x30,0x34,0x39,0x43,0x07,0x75,0x6e,0x69, +0x30,0x34,0x39,0x44,0x07,0x75,0x6e,0x69,0x30,0x34,0x39,0x45,0x07,0x75,0x6e,0x69, +0x30,0x34,0x39,0x46,0x07,0x75,0x6e,0x69,0x30,0x34,0x41,0x30,0x07,0x75,0x6e,0x69, +0x30,0x34,0x41,0x31,0x07,0x75,0x6e,0x69,0x30,0x34,0x41,0x32,0x07,0x75,0x6e,0x69, +0x30,0x34,0x41,0x33,0x07,0x75,0x6e,0x69,0x30,0x34,0x41,0x34,0x07,0x75,0x6e,0x69, +0x30,0x34,0x41,0x35,0x07,0x75,0x6e,0x69,0x30,0x34,0x41,0x36,0x07,0x75,0x6e,0x69, +0x30,0x34,0x41,0x37,0x07,0x75,0x6e,0x69,0x30,0x34,0x41,0x38,0x07,0x75,0x6e,0x69, +0x30,0x34,0x41,0x39,0x07,0x75,0x6e,0x69,0x30,0x34,0x41,0x41,0x07,0x75,0x6e,0x69, +0x30,0x34,0x41,0x42,0x07,0x75,0x6e,0x69,0x30,0x34,0x41,0x43,0x07,0x75,0x6e,0x69, +0x30,0x34,0x41,0x44,0x07,0x75,0x6e,0x69,0x30,0x34,0x41,0x45,0x07,0x75,0x6e,0x69, +0x30,0x34,0x41,0x46,0x07,0x75,0x6e,0x69,0x30,0x34,0x42,0x30,0x07,0x75,0x6e,0x69, +0x30,0x34,0x42,0x31,0x07,0x75,0x6e,0x69,0x30,0x34,0x42,0x32,0x07,0x75,0x6e,0x69, +0x30,0x34,0x42,0x33,0x07,0x75,0x6e,0x69,0x30,0x34,0x42,0x34,0x07,0x75,0x6e,0x69, +0x30,0x34,0x42,0x35,0x07,0x75,0x6e,0x69,0x30,0x34,0x42,0x36,0x07,0x75,0x6e,0x69, +0x30,0x34,0x42,0x37,0x07,0x75,0x6e,0x69,0x30,0x34,0x42,0x38,0x07,0x75,0x6e,0x69, +0x30,0x34,0x42,0x39,0x07,0x75,0x6e,0x69,0x30,0x34,0x42,0x41,0x07,0x75,0x6e,0x69, +0x30,0x34,0x42,0x42,0x07,0x75,0x6e,0x69,0x30,0x34,0x42,0x43,0x07,0x75,0x6e,0x69, +0x30,0x34,0x42,0x44,0x07,0x75,0x6e,0x69,0x30,0x34,0x42,0x45,0x07,0x75,0x6e,0x69, +0x30,0x34,0x42,0x46,0x07,0x75,0x6e,0x69,0x30,0x34,0x43,0x30,0x07,0x75,0x6e,0x69, +0x30,0x34,0x43,0x31,0x07,0x75,0x6e,0x69,0x30,0x34,0x43,0x32,0x07,0x75,0x6e,0x69, +0x30,0x34,0x43,0x33,0x07,0x75,0x6e,0x69,0x30,0x34,0x43,0x34,0x07,0x75,0x6e,0x69, +0x30,0x34,0x43,0x35,0x07,0x75,0x6e,0x69,0x30,0x34,0x43,0x36,0x07,0x75,0x6e,0x69, +0x30,0x34,0x43,0x37,0x07,0x75,0x6e,0x69,0x30,0x34,0x43,0x38,0x07,0x75,0x6e,0x69, +0x30,0x34,0x43,0x39,0x07,0x75,0x6e,0x69,0x30,0x34,0x43,0x41,0x07,0x75,0x6e,0x69, +0x30,0x34,0x43,0x42,0x07,0x75,0x6e,0x69,0x30,0x34,0x43,0x43,0x07,0x75,0x6e,0x69, +0x30,0x34,0x43,0x44,0x07,0x75,0x6e,0x69,0x30,0x34,0x43,0x45,0x07,0x75,0x6e,0x69, +0x30,0x34,0x44,0x30,0x07,0x75,0x6e,0x69,0x30,0x34,0x44,0x31,0x07,0x75,0x6e,0x69, +0x30,0x34,0x44,0x32,0x07,0x75,0x6e,0x69,0x30,0x34,0x44,0x33,0x07,0x75,0x6e,0x69, +0x30,0x34,0x44,0x34,0x07,0x75,0x6e,0x69,0x30,0x34,0x44,0x35,0x07,0x75,0x6e,0x69, +0x30,0x34,0x44,0x36,0x07,0x75,0x6e,0x69,0x30,0x34,0x44,0x37,0x07,0x75,0x6e,0x69, +0x30,0x34,0x44,0x38,0x09,0x61,0x66,0x69,0x69,0x31,0x30,0x38,0x34,0x36,0x07,0x75, +0x6e,0x69,0x30,0x34,0x44,0x41,0x07,0x75,0x6e,0x69,0x30,0x34,0x44,0x42,0x07,0x75, +0x6e,0x69,0x30,0x34,0x44,0x43,0x07,0x75,0x6e,0x69,0x30,0x34,0x44,0x44,0x07,0x75, +0x6e,0x69,0x30,0x34,0x44,0x45,0x07,0x75,0x6e,0x69,0x30,0x34,0x44,0x46,0x07,0x75, +0x6e,0x69,0x30,0x34,0x45,0x30,0x07,0x75,0x6e,0x69,0x30,0x34,0x45,0x31,0x07,0x75, +0x6e,0x69,0x30,0x34,0x45,0x32,0x07,0x75,0x6e,0x69,0x30,0x34,0x45,0x33,0x07,0x75, +0x6e,0x69,0x30,0x34,0x45,0x34,0x07,0x75,0x6e,0x69,0x30,0x34,0x45,0x35,0x07,0x75, +0x6e,0x69,0x30,0x34,0x45,0x36,0x07,0x75,0x6e,0x69,0x30,0x34,0x45,0x37,0x07,0x75, +0x6e,0x69,0x30,0x34,0x45,0x38,0x07,0x75,0x6e,0x69,0x30,0x34,0x45,0x39,0x07,0x75, +0x6e,0x69,0x30,0x34,0x45,0x41,0x07,0x75,0x6e,0x69,0x30,0x34,0x45,0x42,0x07,0x75, +0x6e,0x69,0x30,0x34,0x45,0x43,0x07,0x75,0x6e,0x69,0x30,0x34,0x45,0x44,0x07,0x75, +0x6e,0x69,0x30,0x34,0x45,0x45,0x07,0x75,0x6e,0x69,0x30,0x34,0x45,0x46,0x07,0x75, +0x6e,0x69,0x30,0x34,0x46,0x30,0x07,0x75,0x6e,0x69,0x30,0x34,0x46,0x31,0x07,0x75, +0x6e,0x69,0x30,0x34,0x46,0x32,0x07,0x75,0x6e,0x69,0x30,0x34,0x46,0x33,0x07,0x75, +0x6e,0x69,0x30,0x34,0x46,0x34,0x07,0x75,0x6e,0x69,0x30,0x34,0x46,0x35,0x07,0x75, +0x6e,0x69,0x30,0x34,0x46,0x36,0x07,0x75,0x6e,0x69,0x30,0x34,0x46,0x37,0x07,0x75, +0x6e,0x69,0x30,0x34,0x46,0x38,0x07,0x75,0x6e,0x69,0x30,0x34,0x46,0x39,0x07,0x75, +0x6e,0x69,0x30,0x35,0x30,0x30,0x07,0x75,0x6e,0x69,0x30,0x35,0x30,0x31,0x07,0x75, +0x6e,0x69,0x30,0x35,0x30,0x32,0x07,0x75,0x6e,0x69,0x30,0x35,0x30,0x33,0x07,0x75, +0x6e,0x69,0x30,0x35,0x30,0x34,0x07,0x75,0x6e,0x69,0x30,0x35,0x30,0x35,0x07,0x75, +0x6e,0x69,0x30,0x35,0x30,0x36,0x07,0x75,0x6e,0x69,0x30,0x35,0x30,0x37,0x07,0x75, +0x6e,0x69,0x30,0x35,0x30,0x38,0x07,0x75,0x6e,0x69,0x30,0x35,0x30,0x39,0x07,0x75, +0x6e,0x69,0x30,0x35,0x30,0x41,0x07,0x75,0x6e,0x69,0x30,0x35,0x30,0x42,0x07,0x75, +0x6e,0x69,0x30,0x35,0x30,0x43,0x07,0x75,0x6e,0x69,0x30,0x35,0x30,0x44,0x07,0x75, +0x6e,0x69,0x30,0x35,0x30,0x45,0x07,0x75,0x6e,0x69,0x30,0x35,0x30,0x46,0x07,0x75, +0x6e,0x69,0x30,0x35,0x33,0x31,0x07,0x75,0x6e,0x69,0x30,0x35,0x33,0x32,0x07,0x75, +0x6e,0x69,0x30,0x35,0x33,0x33,0x07,0x75,0x6e,0x69,0x30,0x35,0x33,0x34,0x07,0x75, +0x6e,0x69,0x30,0x35,0x33,0x35,0x07,0x75,0x6e,0x69,0x30,0x35,0x33,0x36,0x07,0x75, +0x6e,0x69,0x30,0x35,0x33,0x37,0x07,0x75,0x6e,0x69,0x30,0x35,0x33,0x38,0x07,0x75, +0x6e,0x69,0x30,0x35,0x33,0x39,0x07,0x75,0x6e,0x69,0x30,0x35,0x33,0x41,0x07,0x75, +0x6e,0x69,0x30,0x35,0x33,0x42,0x07,0x75,0x6e,0x69,0x30,0x35,0x33,0x43,0x07,0x75, +0x6e,0x69,0x30,0x35,0x33,0x44,0x07,0x75,0x6e,0x69,0x30,0x35,0x33,0x45,0x07,0x75, +0x6e,0x69,0x30,0x35,0x33,0x46,0x07,0x75,0x6e,0x69,0x30,0x35,0x34,0x30,0x07,0x75, +0x6e,0x69,0x30,0x35,0x34,0x31,0x07,0x75,0x6e,0x69,0x30,0x35,0x34,0x32,0x07,0x75, +0x6e,0x69,0x30,0x35,0x34,0x33,0x07,0x75,0x6e,0x69,0x30,0x35,0x34,0x34,0x07,0x75, +0x6e,0x69,0x30,0x35,0x34,0x35,0x07,0x75,0x6e,0x69,0x30,0x35,0x34,0x36,0x07,0x75, +0x6e,0x69,0x30,0x35,0x34,0x37,0x07,0x75,0x6e,0x69,0x30,0x35,0x34,0x38,0x07,0x75, +0x6e,0x69,0x30,0x35,0x34,0x39,0x07,0x75,0x6e,0x69,0x30,0x35,0x34,0x41,0x07,0x75, +0x6e,0x69,0x30,0x35,0x34,0x42,0x07,0x75,0x6e,0x69,0x30,0x35,0x34,0x43,0x07,0x75, +0x6e,0x69,0x30,0x35,0x34,0x44,0x07,0x75,0x6e,0x69,0x30,0x35,0x34,0x45,0x07,0x75, +0x6e,0x69,0x30,0x35,0x34,0x46,0x07,0x75,0x6e,0x69,0x30,0x35,0x35,0x30,0x07,0x75, +0x6e,0x69,0x30,0x35,0x35,0x31,0x07,0x75,0x6e,0x69,0x30,0x35,0x35,0x32,0x07,0x75, +0x6e,0x69,0x30,0x35,0x35,0x33,0x07,0x75,0x6e,0x69,0x30,0x35,0x35,0x34,0x07,0x75, +0x6e,0x69,0x30,0x35,0x35,0x35,0x07,0x75,0x6e,0x69,0x30,0x35,0x35,0x36,0x07,0x75, +0x6e,0x69,0x30,0x35,0x35,0x39,0x07,0x75,0x6e,0x69,0x30,0x35,0x35,0x41,0x07,0x75, +0x6e,0x69,0x30,0x35,0x35,0x42,0x07,0x75,0x6e,0x69,0x30,0x35,0x35,0x43,0x07,0x75, +0x6e,0x69,0x30,0x35,0x35,0x44,0x07,0x75,0x6e,0x69,0x30,0x35,0x35,0x45,0x07,0x75, +0x6e,0x69,0x30,0x35,0x35,0x46,0x07,0x75,0x6e,0x69,0x30,0x35,0x36,0x31,0x07,0x75, +0x6e,0x69,0x30,0x35,0x36,0x32,0x07,0x75,0x6e,0x69,0x30,0x35,0x36,0x33,0x07,0x75, +0x6e,0x69,0x30,0x35,0x36,0x34,0x07,0x75,0x6e,0x69,0x30,0x35,0x36,0x35,0x07,0x75, +0x6e,0x69,0x30,0x35,0x36,0x36,0x07,0x75,0x6e,0x69,0x30,0x35,0x36,0x37,0x07,0x75, +0x6e,0x69,0x30,0x35,0x36,0x38,0x07,0x75,0x6e,0x69,0x30,0x35,0x36,0x39,0x07,0x75, +0x6e,0x69,0x30,0x35,0x36,0x41,0x07,0x75,0x6e,0x69,0x30,0x35,0x36,0x42,0x07,0x75, +0x6e,0x69,0x30,0x35,0x36,0x43,0x07,0x75,0x6e,0x69,0x30,0x35,0x36,0x44,0x07,0x75, +0x6e,0x69,0x30,0x35,0x36,0x45,0x07,0x75,0x6e,0x69,0x30,0x35,0x36,0x46,0x07,0x75, +0x6e,0x69,0x30,0x35,0x37,0x30,0x07,0x75,0x6e,0x69,0x30,0x35,0x37,0x31,0x07,0x75, +0x6e,0x69,0x30,0x35,0x37,0x32,0x07,0x75,0x6e,0x69,0x30,0x35,0x37,0x33,0x07,0x75, +0x6e,0x69,0x30,0x35,0x37,0x34,0x07,0x75,0x6e,0x69,0x30,0x35,0x37,0x35,0x07,0x75, +0x6e,0x69,0x30,0x35,0x37,0x36,0x07,0x75,0x6e,0x69,0x30,0x35,0x37,0x37,0x07,0x75, +0x6e,0x69,0x30,0x35,0x37,0x38,0x07,0x75,0x6e,0x69,0x30,0x35,0x37,0x39,0x07,0x75, +0x6e,0x69,0x30,0x35,0x37,0x41,0x07,0x75,0x6e,0x69,0x30,0x35,0x37,0x42,0x07,0x75, +0x6e,0x69,0x30,0x35,0x37,0x43,0x07,0x75,0x6e,0x69,0x30,0x35,0x37,0x44,0x07,0x75, +0x6e,0x69,0x30,0x35,0x37,0x45,0x07,0x75,0x6e,0x69,0x30,0x35,0x37,0x46,0x07,0x75, +0x6e,0x69,0x30,0x35,0x38,0x30,0x07,0x75,0x6e,0x69,0x30,0x35,0x38,0x31,0x07,0x75, +0x6e,0x69,0x30,0x35,0x38,0x32,0x07,0x75,0x6e,0x69,0x30,0x35,0x38,0x33,0x07,0x75, +0x6e,0x69,0x30,0x35,0x38,0x34,0x07,0x75,0x6e,0x69,0x30,0x35,0x38,0x35,0x07,0x75, +0x6e,0x69,0x30,0x35,0x38,0x36,0x07,0x75,0x6e,0x69,0x30,0x35,0x38,0x37,0x07,0x75, +0x6e,0x69,0x30,0x35,0x38,0x39,0x07,0x75,0x6e,0x69,0x30,0x35,0x38,0x41,0x09,0x61, +0x66,0x69,0x69,0x35,0x37,0x33,0x38,0x38,0x07,0x75,0x6e,0x69,0x30,0x36,0x31,0x35, +0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34,0x30,0x33,0x09,0x61,0x66,0x69,0x69,0x35, +0x37,0x34,0x30,0x37,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34,0x30,0x39,0x09,0x61, +0x66,0x69,0x69,0x35,0x37,0x34,0x31,0x30,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34, +0x31,0x31,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34,0x31,0x32,0x09,0x61,0x66,0x69, +0x69,0x35,0x37,0x34,0x31,0x33,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34,0x31,0x34, +0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34,0x31,0x35,0x09,0x61,0x66,0x69,0x69,0x35, +0x37,0x34,0x31,0x36,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34,0x31,0x37,0x09,0x61, +0x66,0x69,0x69,0x35,0x37,0x34,0x31,0x38,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34, +0x31,0x39,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34,0x32,0x30,0x09,0x61,0x66,0x69, +0x69,0x35,0x37,0x34,0x32,0x31,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34,0x32,0x32, +0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34,0x32,0x33,0x09,0x61,0x66,0x69,0x69,0x35, +0x37,0x34,0x32,0x34,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34,0x32,0x35,0x09,0x61, +0x66,0x69,0x69,0x35,0x37,0x34,0x32,0x36,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34, +0x32,0x37,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34,0x32,0x38,0x09,0x61,0x66,0x69, +0x69,0x35,0x37,0x34,0x32,0x39,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34,0x33,0x30, +0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34,0x33,0x31,0x09,0x61,0x66,0x69,0x69,0x35, +0x37,0x34,0x33,0x32,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34,0x33,0x33,0x09,0x61, +0x66,0x69,0x69,0x35,0x37,0x34,0x33,0x34,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34, +0x34,0x30,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34,0x34,0x31,0x09,0x61,0x66,0x69, +0x69,0x35,0x37,0x34,0x34,0x32,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34,0x34,0x33, +0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34,0x34,0x34,0x09,0x61,0x66,0x69,0x69,0x35, +0x37,0x34,0x34,0x35,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34,0x34,0x36,0x09,0x61, +0x66,0x69,0x69,0x35,0x37,0x34,0x37,0x30,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34, +0x34,0x38,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34,0x34,0x39,0x09,0x61,0x66,0x69, +0x69,0x35,0x37,0x34,0x35,0x30,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34,0x35,0x31, +0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34,0x35,0x32,0x09,0x61,0x66,0x69,0x69,0x35, +0x37,0x34,0x35,0x33,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34,0x35,0x34,0x09,0x61, +0x66,0x69,0x69,0x35,0x37,0x34,0x35,0x35,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34, +0x35,0x36,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34,0x35,0x37,0x09,0x61,0x66,0x69, +0x69,0x35,0x37,0x34,0x35,0x38,0x07,0x75,0x6e,0x69,0x30,0x36,0x35,0x33,0x07,0x75, +0x6e,0x69,0x30,0x36,0x35,0x34,0x07,0x75,0x6e,0x69,0x30,0x36,0x35,0x35,0x09,0x61, +0x66,0x69,0x69,0x35,0x37,0x33,0x39,0x32,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x33, +0x39,0x33,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x33,0x39,0x34,0x09,0x61,0x66,0x69, +0x69,0x35,0x37,0x33,0x39,0x35,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x33,0x39,0x36, +0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x33,0x39,0x37,0x09,0x61,0x66,0x69,0x69,0x35, +0x37,0x33,0x39,0x38,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x33,0x39,0x39,0x09,0x61, +0x66,0x69,0x69,0x35,0x37,0x34,0x30,0x30,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x34, +0x30,0x31,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x33,0x38,0x31,0x07,0x75,0x6e,0x69, +0x30,0x36,0x36,0x42,0x07,0x75,0x6e,0x69,0x30,0x36,0x36,0x43,0x09,0x61,0x66,0x69, +0x69,0x36,0x33,0x31,0x36,0x37,0x07,0x75,0x6e,0x69,0x30,0x36,0x36,0x45,0x07,0x75, +0x6e,0x69,0x30,0x36,0x36,0x46,0x07,0x75,0x6e,0x69,0x30,0x36,0x37,0x34,0x09,0x61, +0x66,0x69,0x69,0x35,0x37,0x35,0x31,0x31,0x07,0x75,0x6e,0x69,0x30,0x36,0x37,0x41, +0x07,0x75,0x6e,0x69,0x30,0x36,0x37,0x42,0x07,0x75,0x6e,0x69,0x30,0x36,0x37,0x43, +0x07,0x75,0x6e,0x69,0x30,0x36,0x37,0x44,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x35, +0x30,0x36,0x07,0x75,0x6e,0x69,0x30,0x36,0x37,0x46,0x07,0x75,0x6e,0x69,0x30,0x36, +0x38,0x30,0x07,0x75,0x6e,0x69,0x30,0x36,0x38,0x31,0x07,0x75,0x6e,0x69,0x30,0x36, +0x38,0x32,0x07,0x75,0x6e,0x69,0x30,0x36,0x38,0x33,0x07,0x75,0x6e,0x69,0x30,0x36, +0x38,0x34,0x07,0x75,0x6e,0x69,0x30,0x36,0x38,0x35,0x09,0x61,0x66,0x69,0x69,0x35, +0x37,0x35,0x30,0x37,0x07,0x75,0x6e,0x69,0x30,0x36,0x38,0x37,0x09,0x61,0x66,0x69, +0x69,0x35,0x37,0x35,0x31,0x33,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x35,0x30,0x38, +0x07,0x75,0x6e,0x69,0x30,0x36,0x41,0x31,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x35, +0x30,0x35,0x07,0x75,0x6e,0x69,0x30,0x36,0x41,0x36,0x07,0x75,0x6e,0x69,0x30,0x36, +0x41,0x39,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x35,0x30,0x39,0x09,0x61,0x66,0x69, +0x69,0x35,0x37,0x35,0x31,0x34,0x07,0x75,0x6e,0x69,0x30,0x36,0x42,0x46,0x07,0x75, +0x6e,0x69,0x30,0x36,0x43,0x43,0x07,0x75,0x6e,0x69,0x30,0x36,0x46,0x30,0x07,0x75, +0x6e,0x69,0x30,0x36,0x46,0x31,0x07,0x75,0x6e,0x69,0x30,0x36,0x46,0x32,0x07,0x75, +0x6e,0x69,0x30,0x36,0x46,0x33,0x07,0x75,0x6e,0x69,0x30,0x36,0x46,0x34,0x07,0x75, +0x6e,0x69,0x30,0x36,0x46,0x35,0x07,0x75,0x6e,0x69,0x30,0x36,0x46,0x36,0x07,0x75, +0x6e,0x69,0x30,0x36,0x46,0x37,0x07,0x75,0x6e,0x69,0x30,0x36,0x46,0x38,0x07,0x75, +0x6e,0x69,0x30,0x36,0x46,0x39,0x07,0x75,0x6e,0x69,0x31,0x44,0x30,0x32,0x07,0x75, +0x6e,0x69,0x31,0x44,0x30,0x38,0x07,0x75,0x6e,0x69,0x31,0x44,0x30,0x39,0x07,0x75, +0x6e,0x69,0x31,0x44,0x31,0x34,0x07,0x75,0x6e,0x69,0x31,0x44,0x31,0x36,0x07,0x75, +0x6e,0x69,0x31,0x44,0x31,0x37,0x07,0x75,0x6e,0x69,0x31,0x44,0x31,0x44,0x07,0x75, +0x6e,0x69,0x31,0x44,0x31,0x45,0x07,0x75,0x6e,0x69,0x31,0x44,0x31,0x46,0x07,0x75, +0x6e,0x69,0x31,0x44,0x34,0x33,0x07,0x75,0x6e,0x69,0x31,0x44,0x34,0x34,0x07,0x75, +0x6e,0x69,0x31,0x44,0x34,0x35,0x07,0x75,0x6e,0x69,0x31,0x44,0x34,0x36,0x07,0x75, +0x6e,0x69,0x31,0x44,0x34,0x37,0x07,0x75,0x6e,0x69,0x31,0x44,0x34,0x38,0x07,0x75, +0x6e,0x69,0x31,0x44,0x34,0x39,0x07,0x75,0x6e,0x69,0x31,0x44,0x34,0x41,0x07,0x75, +0x6e,0x69,0x31,0x44,0x34,0x42,0x07,0x75,0x6e,0x69,0x31,0x44,0x34,0x43,0x07,0x75, +0x6e,0x69,0x31,0x44,0x34,0x44,0x07,0x75,0x6e,0x69,0x31,0x44,0x34,0x45,0x07,0x75, +0x6e,0x69,0x31,0x44,0x34,0x46,0x07,0x75,0x6e,0x69,0x31,0x44,0x35,0x30,0x07,0x75, +0x6e,0x69,0x31,0x44,0x35,0x31,0x07,0x75,0x6e,0x69,0x31,0x44,0x35,0x32,0x07,0x75, +0x6e,0x69,0x31,0x44,0x35,0x33,0x07,0x75,0x6e,0x69,0x31,0x44,0x35,0x34,0x07,0x75, +0x6e,0x69,0x31,0x44,0x35,0x35,0x07,0x75,0x6e,0x69,0x31,0x44,0x35,0x36,0x07,0x75, +0x6e,0x69,0x31,0x44,0x35,0x37,0x07,0x75,0x6e,0x69,0x31,0x44,0x35,0x38,0x07,0x75, +0x6e,0x69,0x31,0x44,0x35,0x39,0x07,0x75,0x6e,0x69,0x31,0x44,0x35,0x41,0x07,0x75, +0x6e,0x69,0x31,0x44,0x35,0x42,0x07,0x75,0x6e,0x69,0x31,0x44,0x37,0x37,0x07,0x75, +0x6e,0x69,0x31,0x44,0x37,0x42,0x07,0x75,0x6e,0x69,0x31,0x44,0x38,0x35,0x07,0x75, +0x6e,0x69,0x31,0x44,0x39,0x42,0x07,0x75,0x6e,0x69,0x31,0x44,0x39,0x43,0x07,0x75, +0x6e,0x69,0x31,0x44,0x39,0x44,0x07,0x75,0x6e,0x69,0x31,0x44,0x39,0x45,0x07,0x75, +0x6e,0x69,0x31,0x44,0x39,0x46,0x07,0x75,0x6e,0x69,0x31,0x44,0x41,0x30,0x07,0x75, +0x6e,0x69,0x31,0x44,0x41,0x31,0x07,0x75,0x6e,0x69,0x31,0x44,0x41,0x32,0x07,0x75, +0x6e,0x69,0x31,0x44,0x41,0x33,0x07,0x75,0x6e,0x69,0x31,0x44,0x41,0x34,0x07,0x75, +0x6e,0x69,0x31,0x44,0x41,0x35,0x07,0x75,0x6e,0x69,0x31,0x44,0x41,0x36,0x07,0x75, +0x6e,0x69,0x31,0x44,0x41,0x37,0x07,0x75,0x6e,0x69,0x31,0x44,0x41,0x38,0x07,0x75, +0x6e,0x69,0x31,0x44,0x41,0x39,0x07,0x75,0x6e,0x69,0x31,0x44,0x41,0x41,0x07,0x75, +0x6e,0x69,0x31,0x44,0x41,0x42,0x07,0x75,0x6e,0x69,0x31,0x44,0x41,0x43,0x07,0x75, +0x6e,0x69,0x31,0x44,0x41,0x44,0x07,0x75,0x6e,0x69,0x31,0x44,0x41,0x45,0x07,0x75, +0x6e,0x69,0x31,0x44,0x41,0x46,0x07,0x75,0x6e,0x69,0x31,0x44,0x42,0x30,0x07,0x75, +0x6e,0x69,0x31,0x44,0x42,0x31,0x07,0x75,0x6e,0x69,0x31,0x44,0x42,0x32,0x07,0x75, +0x6e,0x69,0x31,0x44,0x42,0x33,0x07,0x75,0x6e,0x69,0x31,0x44,0x42,0x34,0x07,0x75, +0x6e,0x69,0x31,0x44,0x42,0x35,0x07,0x75,0x6e,0x69,0x31,0x44,0x42,0x36,0x07,0x75, +0x6e,0x69,0x31,0x44,0x42,0x37,0x07,0x75,0x6e,0x69,0x31,0x44,0x42,0x39,0x07,0x75, +0x6e,0x69,0x31,0x44,0x42,0x41,0x07,0x75,0x6e,0x69,0x31,0x44,0x42,0x42,0x07,0x75, +0x6e,0x69,0x31,0x44,0x42,0x43,0x07,0x75,0x6e,0x69,0x31,0x44,0x42,0x44,0x07,0x75, +0x6e,0x69,0x31,0x44,0x42,0x45,0x07,0x75,0x6e,0x69,0x31,0x44,0x42,0x46,0x07,0x75, +0x6e,0x69,0x31,0x45,0x30,0x30,0x07,0x75,0x6e,0x69,0x31,0x45,0x30,0x31,0x07,0x75, +0x6e,0x69,0x31,0x45,0x30,0x32,0x07,0x75,0x6e,0x69,0x31,0x45,0x30,0x33,0x07,0x75, +0x6e,0x69,0x31,0x45,0x30,0x34,0x07,0x75,0x6e,0x69,0x31,0x45,0x30,0x35,0x07,0x75, +0x6e,0x69,0x31,0x45,0x30,0x36,0x07,0x75,0x6e,0x69,0x31,0x45,0x30,0x37,0x07,0x75, +0x6e,0x69,0x31,0x45,0x30,0x38,0x07,0x75,0x6e,0x69,0x31,0x45,0x30,0x39,0x07,0x75, +0x6e,0x69,0x31,0x45,0x30,0x41,0x07,0x75,0x6e,0x69,0x31,0x45,0x30,0x42,0x07,0x75, +0x6e,0x69,0x31,0x45,0x30,0x43,0x07,0x75,0x6e,0x69,0x31,0x45,0x30,0x44,0x07,0x75, +0x6e,0x69,0x31,0x45,0x30,0x45,0x07,0x75,0x6e,0x69,0x31,0x45,0x30,0x46,0x07,0x75, +0x6e,0x69,0x31,0x45,0x31,0x30,0x07,0x75,0x6e,0x69,0x31,0x45,0x31,0x31,0x07,0x75, +0x6e,0x69,0x31,0x45,0x31,0x32,0x07,0x75,0x6e,0x69,0x31,0x45,0x31,0x33,0x07,0x75, +0x6e,0x69,0x31,0x45,0x31,0x34,0x07,0x75,0x6e,0x69,0x31,0x45,0x31,0x35,0x07,0x75, +0x6e,0x69,0x31,0x45,0x31,0x36,0x07,0x75,0x6e,0x69,0x31,0x45,0x31,0x37,0x07,0x75, +0x6e,0x69,0x31,0x45,0x31,0x38,0x07,0x75,0x6e,0x69,0x31,0x45,0x31,0x39,0x07,0x75, +0x6e,0x69,0x31,0x45,0x31,0x41,0x07,0x75,0x6e,0x69,0x31,0x45,0x31,0x42,0x07,0x75, +0x6e,0x69,0x31,0x45,0x31,0x43,0x07,0x75,0x6e,0x69,0x31,0x45,0x31,0x44,0x07,0x75, +0x6e,0x69,0x31,0x45,0x31,0x45,0x07,0x75,0x6e,0x69,0x31,0x45,0x31,0x46,0x07,0x75, +0x6e,0x69,0x31,0x45,0x32,0x30,0x07,0x75,0x6e,0x69,0x31,0x45,0x32,0x31,0x07,0x75, +0x6e,0x69,0x31,0x45,0x32,0x32,0x07,0x75,0x6e,0x69,0x31,0x45,0x32,0x33,0x07,0x75, +0x6e,0x69,0x31,0x45,0x32,0x34,0x07,0x75,0x6e,0x69,0x31,0x45,0x32,0x35,0x07,0x75, +0x6e,0x69,0x31,0x45,0x32,0x36,0x07,0x75,0x6e,0x69,0x31,0x45,0x32,0x37,0x07,0x75, +0x6e,0x69,0x31,0x45,0x32,0x38,0x07,0x75,0x6e,0x69,0x31,0x45,0x32,0x39,0x07,0x75, +0x6e,0x69,0x31,0x45,0x32,0x41,0x07,0x75,0x6e,0x69,0x31,0x45,0x32,0x42,0x07,0x75, +0x6e,0x69,0x31,0x45,0x32,0x43,0x07,0x75,0x6e,0x69,0x31,0x45,0x32,0x44,0x07,0x75, +0x6e,0x69,0x31,0x45,0x32,0x45,0x07,0x75,0x6e,0x69,0x31,0x45,0x32,0x46,0x07,0x75, +0x6e,0x69,0x31,0x45,0x33,0x30,0x07,0x75,0x6e,0x69,0x31,0x45,0x33,0x31,0x07,0x75, +0x6e,0x69,0x31,0x45,0x33,0x32,0x07,0x75,0x6e,0x69,0x31,0x45,0x33,0x33,0x07,0x75, +0x6e,0x69,0x31,0x45,0x33,0x34,0x07,0x75,0x6e,0x69,0x31,0x45,0x33,0x35,0x07,0x75, +0x6e,0x69,0x31,0x45,0x33,0x36,0x07,0x75,0x6e,0x69,0x31,0x45,0x33,0x37,0x07,0x75, +0x6e,0x69,0x31,0x45,0x33,0x38,0x07,0x75,0x6e,0x69,0x31,0x45,0x33,0x39,0x07,0x75, +0x6e,0x69,0x31,0x45,0x33,0x41,0x07,0x75,0x6e,0x69,0x31,0x45,0x33,0x42,0x07,0x75, +0x6e,0x69,0x31,0x45,0x33,0x43,0x07,0x75,0x6e,0x69,0x31,0x45,0x33,0x44,0x07,0x75, +0x6e,0x69,0x31,0x45,0x33,0x45,0x07,0x75,0x6e,0x69,0x31,0x45,0x33,0x46,0x07,0x75, +0x6e,0x69,0x31,0x45,0x34,0x30,0x07,0x75,0x6e,0x69,0x31,0x45,0x34,0x31,0x07,0x75, +0x6e,0x69,0x31,0x45,0x34,0x32,0x07,0x75,0x6e,0x69,0x31,0x45,0x34,0x33,0x07,0x75, +0x6e,0x69,0x31,0x45,0x34,0x34,0x07,0x75,0x6e,0x69,0x31,0x45,0x34,0x35,0x07,0x75, +0x6e,0x69,0x31,0x45,0x34,0x36,0x07,0x75,0x6e,0x69,0x31,0x45,0x34,0x37,0x07,0x75, +0x6e,0x69,0x31,0x45,0x34,0x38,0x07,0x75,0x6e,0x69,0x31,0x45,0x34,0x39,0x07,0x75, +0x6e,0x69,0x31,0x45,0x34,0x41,0x07,0x75,0x6e,0x69,0x31,0x45,0x34,0x42,0x07,0x75, +0x6e,0x69,0x31,0x45,0x34,0x43,0x07,0x75,0x6e,0x69,0x31,0x45,0x34,0x44,0x07,0x75, +0x6e,0x69,0x31,0x45,0x34,0x45,0x07,0x75,0x6e,0x69,0x31,0x45,0x34,0x46,0x07,0x75, +0x6e,0x69,0x31,0x45,0x35,0x30,0x07,0x75,0x6e,0x69,0x31,0x45,0x35,0x31,0x07,0x75, +0x6e,0x69,0x31,0x45,0x35,0x32,0x07,0x75,0x6e,0x69,0x31,0x45,0x35,0x33,0x07,0x75, +0x6e,0x69,0x31,0x45,0x35,0x34,0x07,0x75,0x6e,0x69,0x31,0x45,0x35,0x35,0x07,0x75, +0x6e,0x69,0x31,0x45,0x35,0x36,0x07,0x75,0x6e,0x69,0x31,0x45,0x35,0x37,0x07,0x75, +0x6e,0x69,0x31,0x45,0x35,0x38,0x07,0x75,0x6e,0x69,0x31,0x45,0x35,0x39,0x07,0x75, +0x6e,0x69,0x31,0x45,0x35,0x41,0x07,0x75,0x6e,0x69,0x31,0x45,0x35,0x42,0x07,0x75, +0x6e,0x69,0x31,0x45,0x35,0x43,0x07,0x75,0x6e,0x69,0x31,0x45,0x35,0x44,0x07,0x75, +0x6e,0x69,0x31,0x45,0x35,0x45,0x07,0x75,0x6e,0x69,0x31,0x45,0x35,0x46,0x07,0x75, +0x6e,0x69,0x31,0x45,0x36,0x30,0x07,0x75,0x6e,0x69,0x31,0x45,0x36,0x31,0x07,0x75, +0x6e,0x69,0x31,0x45,0x36,0x32,0x07,0x75,0x6e,0x69,0x31,0x45,0x36,0x33,0x07,0x75, +0x6e,0x69,0x31,0x45,0x36,0x34,0x07,0x75,0x6e,0x69,0x31,0x45,0x36,0x35,0x07,0x75, +0x6e,0x69,0x31,0x45,0x36,0x36,0x07,0x75,0x6e,0x69,0x31,0x45,0x36,0x37,0x07,0x75, +0x6e,0x69,0x31,0x45,0x36,0x38,0x07,0x75,0x6e,0x69,0x31,0x45,0x36,0x39,0x07,0x75, +0x6e,0x69,0x31,0x45,0x36,0x41,0x07,0x75,0x6e,0x69,0x31,0x45,0x36,0x42,0x07,0x75, +0x6e,0x69,0x31,0x45,0x36,0x43,0x07,0x75,0x6e,0x69,0x31,0x45,0x36,0x44,0x07,0x75, +0x6e,0x69,0x31,0x45,0x36,0x45,0x07,0x75,0x6e,0x69,0x31,0x45,0x36,0x46,0x07,0x75, +0x6e,0x69,0x31,0x45,0x37,0x30,0x07,0x75,0x6e,0x69,0x31,0x45,0x37,0x31,0x07,0x75, +0x6e,0x69,0x31,0x45,0x37,0x32,0x07,0x75,0x6e,0x69,0x31,0x45,0x37,0x33,0x07,0x75, +0x6e,0x69,0x31,0x45,0x37,0x34,0x07,0x75,0x6e,0x69,0x31,0x45,0x37,0x35,0x07,0x75, +0x6e,0x69,0x31,0x45,0x37,0x36,0x07,0x75,0x6e,0x69,0x31,0x45,0x37,0x37,0x07,0x75, +0x6e,0x69,0x31,0x45,0x37,0x38,0x07,0x75,0x6e,0x69,0x31,0x45,0x37,0x39,0x07,0x75, +0x6e,0x69,0x31,0x45,0x37,0x41,0x07,0x75,0x6e,0x69,0x31,0x45,0x37,0x42,0x07,0x75, +0x6e,0x69,0x31,0x45,0x37,0x43,0x07,0x75,0x6e,0x69,0x31,0x45,0x37,0x44,0x07,0x75, +0x6e,0x69,0x31,0x45,0x37,0x45,0x07,0x75,0x6e,0x69,0x31,0x45,0x37,0x46,0x06,0x57, +0x67,0x72,0x61,0x76,0x65,0x06,0x77,0x67,0x72,0x61,0x76,0x65,0x06,0x57,0x61,0x63, +0x75,0x74,0x65,0x06,0x77,0x61,0x63,0x75,0x74,0x65,0x09,0x57,0x64,0x69,0x65,0x72, +0x65,0x73,0x69,0x73,0x09,0x77,0x64,0x69,0x65,0x72,0x65,0x73,0x69,0x73,0x07,0x75, +0x6e,0x69,0x31,0x45,0x38,0x36,0x07,0x75,0x6e,0x69,0x31,0x45,0x38,0x37,0x07,0x75, +0x6e,0x69,0x31,0x45,0x38,0x38,0x07,0x75,0x6e,0x69,0x31,0x45,0x38,0x39,0x07,0x75, +0x6e,0x69,0x31,0x45,0x38,0x41,0x07,0x75,0x6e,0x69,0x31,0x45,0x38,0x42,0x07,0x75, +0x6e,0x69,0x31,0x45,0x38,0x43,0x07,0x75,0x6e,0x69,0x31,0x45,0x38,0x44,0x07,0x75, +0x6e,0x69,0x31,0x45,0x38,0x45,0x07,0x75,0x6e,0x69,0x31,0x45,0x38,0x46,0x07,0x75, +0x6e,0x69,0x31,0x45,0x39,0x30,0x07,0x75,0x6e,0x69,0x31,0x45,0x39,0x31,0x07,0x75, +0x6e,0x69,0x31,0x45,0x39,0x32,0x07,0x75,0x6e,0x69,0x31,0x45,0x39,0x33,0x07,0x75, +0x6e,0x69,0x31,0x45,0x39,0x34,0x07,0x75,0x6e,0x69,0x31,0x45,0x39,0x35,0x07,0x75, +0x6e,0x69,0x31,0x45,0x39,0x36,0x07,0x75,0x6e,0x69,0x31,0x45,0x39,0x37,0x07,0x75, +0x6e,0x69,0x31,0x45,0x39,0x38,0x07,0x75,0x6e,0x69,0x31,0x45,0x39,0x39,0x07,0x75, +0x6e,0x69,0x31,0x45,0x39,0x41,0x07,0x75,0x6e,0x69,0x31,0x45,0x39,0x42,0x07,0x75, +0x6e,0x69,0x31,0x45,0x41,0x30,0x07,0x75,0x6e,0x69,0x31,0x45,0x41,0x31,0x07,0x75, +0x6e,0x69,0x31,0x45,0x41,0x32,0x07,0x75,0x6e,0x69,0x31,0x45,0x41,0x33,0x07,0x75, +0x6e,0x69,0x31,0x45,0x41,0x34,0x07,0x75,0x6e,0x69,0x31,0x45,0x41,0x35,0x07,0x75, +0x6e,0x69,0x31,0x45,0x41,0x36,0x07,0x75,0x6e,0x69,0x31,0x45,0x41,0x37,0x07,0x75, +0x6e,0x69,0x31,0x45,0x41,0x38,0x07,0x75,0x6e,0x69,0x31,0x45,0x41,0x39,0x07,0x75, +0x6e,0x69,0x31,0x45,0x41,0x41,0x07,0x75,0x6e,0x69,0x31,0x45,0x41,0x42,0x07,0x75, +0x6e,0x69,0x31,0x45,0x41,0x43,0x07,0x75,0x6e,0x69,0x31,0x45,0x41,0x44,0x07,0x75, +0x6e,0x69,0x31,0x45,0x41,0x45,0x07,0x75,0x6e,0x69,0x31,0x45,0x41,0x46,0x07,0x75, +0x6e,0x69,0x31,0x45,0x42,0x30,0x07,0x75,0x6e,0x69,0x31,0x45,0x42,0x31,0x07,0x75, +0x6e,0x69,0x31,0x45,0x42,0x32,0x07,0x75,0x6e,0x69,0x31,0x45,0x42,0x33,0x07,0x75, +0x6e,0x69,0x31,0x45,0x42,0x34,0x07,0x75,0x6e,0x69,0x31,0x45,0x42,0x35,0x07,0x75, +0x6e,0x69,0x31,0x45,0x42,0x36,0x07,0x75,0x6e,0x69,0x31,0x45,0x42,0x37,0x07,0x75, +0x6e,0x69,0x31,0x45,0x42,0x38,0x07,0x75,0x6e,0x69,0x31,0x45,0x42,0x39,0x07,0x75, +0x6e,0x69,0x31,0x45,0x42,0x41,0x07,0x75,0x6e,0x69,0x31,0x45,0x42,0x42,0x07,0x75, +0x6e,0x69,0x31,0x45,0x42,0x43,0x07,0x75,0x6e,0x69,0x31,0x45,0x42,0x44,0x07,0x75, +0x6e,0x69,0x31,0x45,0x42,0x45,0x07,0x75,0x6e,0x69,0x31,0x45,0x42,0x46,0x07,0x75, +0x6e,0x69,0x31,0x45,0x43,0x30,0x07,0x75,0x6e,0x69,0x31,0x45,0x43,0x31,0x07,0x75, +0x6e,0x69,0x31,0x45,0x43,0x32,0x07,0x75,0x6e,0x69,0x31,0x45,0x43,0x33,0x07,0x75, +0x6e,0x69,0x31,0x45,0x43,0x34,0x07,0x75,0x6e,0x69,0x31,0x45,0x43,0x35,0x07,0x75, +0x6e,0x69,0x31,0x45,0x43,0x36,0x07,0x75,0x6e,0x69,0x31,0x45,0x43,0x37,0x07,0x75, +0x6e,0x69,0x31,0x45,0x43,0x38,0x07,0x75,0x6e,0x69,0x31,0x45,0x43,0x39,0x07,0x75, +0x6e,0x69,0x31,0x45,0x43,0x41,0x07,0x75,0x6e,0x69,0x31,0x45,0x43,0x42,0x07,0x75, +0x6e,0x69,0x31,0x45,0x43,0x43,0x07,0x75,0x6e,0x69,0x31,0x45,0x43,0x44,0x07,0x75, +0x6e,0x69,0x31,0x45,0x43,0x45,0x07,0x75,0x6e,0x69,0x31,0x45,0x43,0x46,0x07,0x75, +0x6e,0x69,0x31,0x45,0x44,0x30,0x07,0x75,0x6e,0x69,0x31,0x45,0x44,0x31,0x07,0x75, +0x6e,0x69,0x31,0x45,0x44,0x32,0x07,0x75,0x6e,0x69,0x31,0x45,0x44,0x33,0x07,0x75, +0x6e,0x69,0x31,0x45,0x44,0x34,0x07,0x75,0x6e,0x69,0x31,0x45,0x44,0x35,0x07,0x75, +0x6e,0x69,0x31,0x45,0x44,0x36,0x07,0x75,0x6e,0x69,0x31,0x45,0x44,0x37,0x07,0x75, +0x6e,0x69,0x31,0x45,0x44,0x38,0x07,0x75,0x6e,0x69,0x31,0x45,0x44,0x39,0x07,0x75, +0x6e,0x69,0x31,0x45,0x44,0x41,0x07,0x75,0x6e,0x69,0x31,0x45,0x44,0x42,0x07,0x75, +0x6e,0x69,0x31,0x45,0x44,0x43,0x07,0x75,0x6e,0x69,0x31,0x45,0x44,0x44,0x07,0x75, +0x6e,0x69,0x31,0x45,0x44,0x45,0x07,0x75,0x6e,0x69,0x31,0x45,0x44,0x46,0x07,0x75, +0x6e,0x69,0x31,0x45,0x45,0x30,0x07,0x75,0x6e,0x69,0x31,0x45,0x45,0x31,0x07,0x75, +0x6e,0x69,0x31,0x45,0x45,0x32,0x07,0x75,0x6e,0x69,0x31,0x45,0x45,0x33,0x07,0x75, +0x6e,0x69,0x31,0x45,0x45,0x34,0x07,0x75,0x6e,0x69,0x31,0x45,0x45,0x35,0x07,0x75, +0x6e,0x69,0x31,0x45,0x45,0x36,0x07,0x75,0x6e,0x69,0x31,0x45,0x45,0x37,0x07,0x75, +0x6e,0x69,0x31,0x45,0x45,0x38,0x07,0x75,0x6e,0x69,0x31,0x45,0x45,0x39,0x07,0x75, +0x6e,0x69,0x31,0x45,0x45,0x41,0x07,0x75,0x6e,0x69,0x31,0x45,0x45,0x42,0x07,0x75, +0x6e,0x69,0x31,0x45,0x45,0x43,0x07,0x75,0x6e,0x69,0x31,0x45,0x45,0x44,0x07,0x75, +0x6e,0x69,0x31,0x45,0x45,0x45,0x07,0x75,0x6e,0x69,0x31,0x45,0x45,0x46,0x07,0x75, +0x6e,0x69,0x31,0x45,0x46,0x30,0x07,0x75,0x6e,0x69,0x31,0x45,0x46,0x31,0x06,0x59, +0x67,0x72,0x61,0x76,0x65,0x06,0x79,0x67,0x72,0x61,0x76,0x65,0x07,0x75,0x6e,0x69, +0x31,0x45,0x46,0x34,0x07,0x75,0x6e,0x69,0x31,0x45,0x46,0x35,0x07,0x75,0x6e,0x69, +0x31,0x45,0x46,0x36,0x07,0x75,0x6e,0x69,0x31,0x45,0x46,0x37,0x07,0x75,0x6e,0x69, +0x31,0x45,0x46,0x38,0x07,0x75,0x6e,0x69,0x31,0x45,0x46,0x39,0x07,0x75,0x6e,0x69, +0x31,0x46,0x30,0x30,0x07,0x75,0x6e,0x69,0x31,0x46,0x30,0x31,0x07,0x75,0x6e,0x69, +0x31,0x46,0x30,0x32,0x07,0x75,0x6e,0x69,0x31,0x46,0x30,0x33,0x07,0x75,0x6e,0x69, +0x31,0x46,0x30,0x34,0x07,0x75,0x6e,0x69,0x31,0x46,0x30,0x35,0x07,0x75,0x6e,0x69, +0x31,0x46,0x30,0x36,0x07,0x75,0x6e,0x69,0x31,0x46,0x30,0x37,0x07,0x75,0x6e,0x69, +0x31,0x46,0x30,0x38,0x07,0x75,0x6e,0x69,0x31,0x46,0x30,0x39,0x07,0x75,0x6e,0x69, +0x31,0x46,0x30,0x41,0x07,0x75,0x6e,0x69,0x31,0x46,0x30,0x42,0x07,0x75,0x6e,0x69, +0x31,0x46,0x30,0x43,0x07,0x75,0x6e,0x69,0x31,0x46,0x30,0x44,0x07,0x75,0x6e,0x69, +0x31,0x46,0x30,0x45,0x07,0x75,0x6e,0x69,0x31,0x46,0x30,0x46,0x07,0x75,0x6e,0x69, +0x31,0x46,0x31,0x30,0x07,0x75,0x6e,0x69,0x31,0x46,0x31,0x31,0x07,0x75,0x6e,0x69, +0x31,0x46,0x31,0x32,0x07,0x75,0x6e,0x69,0x31,0x46,0x31,0x33,0x07,0x75,0x6e,0x69, +0x31,0x46,0x31,0x34,0x07,0x75,0x6e,0x69,0x31,0x46,0x31,0x35,0x07,0x75,0x6e,0x69, +0x31,0x46,0x31,0x38,0x07,0x75,0x6e,0x69,0x31,0x46,0x31,0x39,0x07,0x75,0x6e,0x69, +0x31,0x46,0x31,0x41,0x07,0x75,0x6e,0x69,0x31,0x46,0x31,0x42,0x07,0x75,0x6e,0x69, +0x31,0x46,0x31,0x43,0x07,0x75,0x6e,0x69,0x31,0x46,0x31,0x44,0x07,0x75,0x6e,0x69, +0x31,0x46,0x32,0x30,0x07,0x75,0x6e,0x69,0x31,0x46,0x32,0x31,0x07,0x75,0x6e,0x69, +0x31,0x46,0x32,0x32,0x07,0x75,0x6e,0x69,0x31,0x46,0x32,0x33,0x07,0x75,0x6e,0x69, +0x31,0x46,0x32,0x34,0x07,0x75,0x6e,0x69,0x31,0x46,0x32,0x35,0x07,0x75,0x6e,0x69, +0x31,0x46,0x32,0x36,0x07,0x75,0x6e,0x69,0x31,0x46,0x32,0x37,0x07,0x75,0x6e,0x69, +0x31,0x46,0x32,0x38,0x07,0x75,0x6e,0x69,0x31,0x46,0x32,0x39,0x07,0x75,0x6e,0x69, +0x31,0x46,0x32,0x41,0x07,0x75,0x6e,0x69,0x31,0x46,0x32,0x42,0x07,0x75,0x6e,0x69, +0x31,0x46,0x32,0x43,0x07,0x75,0x6e,0x69,0x31,0x46,0x32,0x44,0x07,0x75,0x6e,0x69, +0x31,0x46,0x32,0x45,0x07,0x75,0x6e,0x69,0x31,0x46,0x32,0x46,0x07,0x75,0x6e,0x69, +0x31,0x46,0x33,0x30,0x07,0x75,0x6e,0x69,0x31,0x46,0x33,0x31,0x07,0x75,0x6e,0x69, +0x31,0x46,0x33,0x32,0x07,0x75,0x6e,0x69,0x31,0x46,0x33,0x33,0x07,0x75,0x6e,0x69, +0x31,0x46,0x33,0x34,0x07,0x75,0x6e,0x69,0x31,0x46,0x33,0x35,0x07,0x75,0x6e,0x69, +0x31,0x46,0x33,0x36,0x07,0x75,0x6e,0x69,0x31,0x46,0x33,0x37,0x07,0x75,0x6e,0x69, +0x31,0x46,0x33,0x38,0x07,0x75,0x6e,0x69,0x31,0x46,0x33,0x39,0x07,0x75,0x6e,0x69, +0x31,0x46,0x33,0x41,0x07,0x75,0x6e,0x69,0x31,0x46,0x33,0x42,0x07,0x75,0x6e,0x69, +0x31,0x46,0x33,0x43,0x07,0x75,0x6e,0x69,0x31,0x46,0x33,0x44,0x07,0x75,0x6e,0x69, +0x31,0x46,0x33,0x45,0x07,0x75,0x6e,0x69,0x31,0x46,0x33,0x46,0x07,0x75,0x6e,0x69, +0x31,0x46,0x34,0x30,0x07,0x75,0x6e,0x69,0x31,0x46,0x34,0x31,0x07,0x75,0x6e,0x69, +0x31,0x46,0x34,0x32,0x07,0x75,0x6e,0x69,0x31,0x46,0x34,0x33,0x07,0x75,0x6e,0x69, +0x31,0x46,0x34,0x34,0x07,0x75,0x6e,0x69,0x31,0x46,0x34,0x35,0x07,0x75,0x6e,0x69, +0x31,0x46,0x34,0x38,0x07,0x75,0x6e,0x69,0x31,0x46,0x34,0x39,0x07,0x75,0x6e,0x69, +0x31,0x46,0x34,0x41,0x07,0x75,0x6e,0x69,0x31,0x46,0x34,0x42,0x07,0x75,0x6e,0x69, +0x31,0x46,0x34,0x43,0x07,0x75,0x6e,0x69,0x31,0x46,0x34,0x44,0x07,0x75,0x6e,0x69, +0x31,0x46,0x35,0x30,0x07,0x75,0x6e,0x69,0x31,0x46,0x35,0x31,0x07,0x75,0x6e,0x69, +0x31,0x46,0x35,0x32,0x07,0x75,0x6e,0x69,0x31,0x46,0x35,0x33,0x07,0x75,0x6e,0x69, +0x31,0x46,0x35,0x34,0x07,0x75,0x6e,0x69,0x31,0x46,0x35,0x35,0x07,0x75,0x6e,0x69, +0x31,0x46,0x35,0x36,0x07,0x75,0x6e,0x69,0x31,0x46,0x35,0x37,0x07,0x75,0x6e,0x69, +0x31,0x46,0x35,0x39,0x07,0x75,0x6e,0x69,0x31,0x46,0x35,0x42,0x07,0x75,0x6e,0x69, +0x31,0x46,0x35,0x44,0x07,0x75,0x6e,0x69,0x31,0x46,0x35,0x46,0x07,0x75,0x6e,0x69, +0x31,0x46,0x36,0x30,0x07,0x75,0x6e,0x69,0x31,0x46,0x36,0x31,0x07,0x75,0x6e,0x69, +0x31,0x46,0x36,0x32,0x07,0x75,0x6e,0x69,0x31,0x46,0x36,0x33,0x07,0x75,0x6e,0x69, +0x31,0x46,0x36,0x34,0x07,0x75,0x6e,0x69,0x31,0x46,0x36,0x35,0x07,0x75,0x6e,0x69, +0x31,0x46,0x36,0x36,0x07,0x75,0x6e,0x69,0x31,0x46,0x36,0x37,0x07,0x75,0x6e,0x69, +0x31,0x46,0x36,0x38,0x07,0x75,0x6e,0x69,0x31,0x46,0x36,0x39,0x07,0x75,0x6e,0x69, +0x31,0x46,0x36,0x41,0x07,0x75,0x6e,0x69,0x31,0x46,0x36,0x42,0x07,0x75,0x6e,0x69, +0x31,0x46,0x36,0x43,0x07,0x75,0x6e,0x69,0x31,0x46,0x36,0x44,0x07,0x75,0x6e,0x69, +0x31,0x46,0x36,0x45,0x07,0x75,0x6e,0x69,0x31,0x46,0x36,0x46,0x07,0x75,0x6e,0x69, +0x31,0x46,0x37,0x30,0x07,0x75,0x6e,0x69,0x31,0x46,0x37,0x31,0x07,0x75,0x6e,0x69, +0x31,0x46,0x37,0x32,0x07,0x75,0x6e,0x69,0x31,0x46,0x37,0x33,0x07,0x75,0x6e,0x69, +0x31,0x46,0x37,0x34,0x07,0x75,0x6e,0x69,0x31,0x46,0x37,0x35,0x07,0x75,0x6e,0x69, +0x31,0x46,0x37,0x36,0x07,0x75,0x6e,0x69,0x31,0x46,0x37,0x37,0x07,0x75,0x6e,0x69, +0x31,0x46,0x37,0x38,0x07,0x75,0x6e,0x69,0x31,0x46,0x37,0x39,0x07,0x75,0x6e,0x69, +0x31,0x46,0x37,0x41,0x07,0x75,0x6e,0x69,0x31,0x46,0x37,0x42,0x07,0x75,0x6e,0x69, +0x31,0x46,0x37,0x43,0x07,0x75,0x6e,0x69,0x31,0x46,0x37,0x44,0x07,0x75,0x6e,0x69, +0x31,0x46,0x38,0x30,0x07,0x75,0x6e,0x69,0x31,0x46,0x38,0x31,0x07,0x75,0x6e,0x69, +0x31,0x46,0x38,0x32,0x07,0x75,0x6e,0x69,0x31,0x46,0x38,0x33,0x07,0x75,0x6e,0x69, +0x31,0x46,0x38,0x34,0x07,0x75,0x6e,0x69,0x31,0x46,0x38,0x35,0x07,0x75,0x6e,0x69, +0x31,0x46,0x38,0x36,0x07,0x75,0x6e,0x69,0x31,0x46,0x38,0x37,0x07,0x75,0x6e,0x69, +0x31,0x46,0x38,0x38,0x07,0x75,0x6e,0x69,0x31,0x46,0x38,0x39,0x07,0x75,0x6e,0x69, +0x31,0x46,0x38,0x41,0x07,0x75,0x6e,0x69,0x31,0x46,0x38,0x42,0x07,0x75,0x6e,0x69, +0x31,0x46,0x38,0x43,0x07,0x75,0x6e,0x69,0x31,0x46,0x38,0x44,0x07,0x75,0x6e,0x69, +0x31,0x46,0x38,0x45,0x07,0x75,0x6e,0x69,0x31,0x46,0x38,0x46,0x07,0x75,0x6e,0x69, +0x31,0x46,0x39,0x30,0x07,0x75,0x6e,0x69,0x31,0x46,0x39,0x31,0x07,0x75,0x6e,0x69, +0x31,0x46,0x39,0x32,0x07,0x75,0x6e,0x69,0x31,0x46,0x39,0x33,0x07,0x75,0x6e,0x69, +0x31,0x46,0x39,0x34,0x07,0x75,0x6e,0x69,0x31,0x46,0x39,0x35,0x07,0x75,0x6e,0x69, +0x31,0x46,0x39,0x36,0x07,0x75,0x6e,0x69,0x31,0x46,0x39,0x37,0x07,0x75,0x6e,0x69, +0x31,0x46,0x39,0x38,0x07,0x75,0x6e,0x69,0x31,0x46,0x39,0x39,0x07,0x75,0x6e,0x69, +0x31,0x46,0x39,0x41,0x07,0x75,0x6e,0x69,0x31,0x46,0x39,0x42,0x07,0x75,0x6e,0x69, +0x31,0x46,0x39,0x43,0x07,0x75,0x6e,0x69,0x31,0x46,0x39,0x44,0x07,0x75,0x6e,0x69, +0x31,0x46,0x39,0x45,0x07,0x75,0x6e,0x69,0x31,0x46,0x39,0x46,0x07,0x75,0x6e,0x69, +0x31,0x46,0x41,0x30,0x07,0x75,0x6e,0x69,0x31,0x46,0x41,0x31,0x07,0x75,0x6e,0x69, +0x31,0x46,0x41,0x32,0x07,0x75,0x6e,0x69,0x31,0x46,0x41,0x33,0x07,0x75,0x6e,0x69, +0x31,0x46,0x41,0x34,0x07,0x75,0x6e,0x69,0x31,0x46,0x41,0x35,0x07,0x75,0x6e,0x69, +0x31,0x46,0x41,0x36,0x07,0x75,0x6e,0x69,0x31,0x46,0x41,0x37,0x07,0x75,0x6e,0x69, +0x31,0x46,0x41,0x38,0x07,0x75,0x6e,0x69,0x31,0x46,0x41,0x39,0x07,0x75,0x6e,0x69, +0x31,0x46,0x41,0x41,0x07,0x75,0x6e,0x69,0x31,0x46,0x41,0x42,0x07,0x75,0x6e,0x69, +0x31,0x46,0x41,0x43,0x07,0x75,0x6e,0x69,0x31,0x46,0x41,0x44,0x07,0x75,0x6e,0x69, +0x31,0x46,0x41,0x45,0x07,0x75,0x6e,0x69,0x31,0x46,0x41,0x46,0x07,0x75,0x6e,0x69, +0x31,0x46,0x42,0x30,0x07,0x75,0x6e,0x69,0x31,0x46,0x42,0x31,0x07,0x75,0x6e,0x69, +0x31,0x46,0x42,0x32,0x07,0x75,0x6e,0x69,0x31,0x46,0x42,0x33,0x07,0x75,0x6e,0x69, +0x31,0x46,0x42,0x34,0x07,0x75,0x6e,0x69,0x31,0x46,0x42,0x36,0x07,0x75,0x6e,0x69, +0x31,0x46,0x42,0x37,0x07,0x75,0x6e,0x69,0x31,0x46,0x42,0x38,0x07,0x75,0x6e,0x69, +0x31,0x46,0x42,0x39,0x07,0x75,0x6e,0x69,0x31,0x46,0x42,0x41,0x07,0x75,0x6e,0x69, +0x31,0x46,0x42,0x42,0x07,0x75,0x6e,0x69,0x31,0x46,0x42,0x43,0x07,0x75,0x6e,0x69, +0x31,0x46,0x42,0x44,0x07,0x75,0x6e,0x69,0x31,0x46,0x42,0x45,0x07,0x75,0x6e,0x69, +0x31,0x46,0x42,0x46,0x07,0x75,0x6e,0x69,0x31,0x46,0x43,0x30,0x07,0x75,0x6e,0x69, +0x31,0x46,0x43,0x31,0x07,0x75,0x6e,0x69,0x31,0x46,0x43,0x32,0x07,0x75,0x6e,0x69, +0x31,0x46,0x43,0x33,0x07,0x75,0x6e,0x69,0x31,0x46,0x43,0x34,0x07,0x75,0x6e,0x69, +0x31,0x46,0x43,0x36,0x07,0x75,0x6e,0x69,0x31,0x46,0x43,0x37,0x07,0x75,0x6e,0x69, +0x31,0x46,0x43,0x38,0x07,0x75,0x6e,0x69,0x31,0x46,0x43,0x39,0x07,0x75,0x6e,0x69, +0x31,0x46,0x43,0x41,0x07,0x75,0x6e,0x69,0x31,0x46,0x43,0x42,0x07,0x75,0x6e,0x69, +0x31,0x46,0x43,0x43,0x07,0x75,0x6e,0x69,0x31,0x46,0x43,0x44,0x07,0x75,0x6e,0x69, +0x31,0x46,0x43,0x45,0x07,0x75,0x6e,0x69,0x31,0x46,0x43,0x46,0x07,0x75,0x6e,0x69, +0x31,0x46,0x44,0x30,0x07,0x75,0x6e,0x69,0x31,0x46,0x44,0x31,0x07,0x75,0x6e,0x69, +0x31,0x46,0x44,0x32,0x07,0x75,0x6e,0x69,0x31,0x46,0x44,0x33,0x07,0x75,0x6e,0x69, +0x31,0x46,0x44,0x36,0x07,0x75,0x6e,0x69,0x31,0x46,0x44,0x37,0x07,0x75,0x6e,0x69, +0x31,0x46,0x44,0x38,0x07,0x75,0x6e,0x69,0x31,0x46,0x44,0x39,0x07,0x75,0x6e,0x69, +0x31,0x46,0x44,0x41,0x07,0x75,0x6e,0x69,0x31,0x46,0x44,0x42,0x07,0x75,0x6e,0x69, +0x31,0x46,0x44,0x44,0x07,0x75,0x6e,0x69,0x31,0x46,0x44,0x45,0x07,0x75,0x6e,0x69, +0x31,0x46,0x44,0x46,0x07,0x75,0x6e,0x69,0x31,0x46,0x45,0x30,0x07,0x75,0x6e,0x69, +0x31,0x46,0x45,0x31,0x07,0x75,0x6e,0x69,0x31,0x46,0x45,0x32,0x07,0x75,0x6e,0x69, +0x31,0x46,0x45,0x33,0x07,0x75,0x6e,0x69,0x31,0x46,0x45,0x34,0x07,0x75,0x6e,0x69, +0x31,0x46,0x45,0x35,0x07,0x75,0x6e,0x69,0x31,0x46,0x45,0x36,0x07,0x75,0x6e,0x69, +0x31,0x46,0x45,0x37,0x07,0x75,0x6e,0x69,0x31,0x46,0x45,0x38,0x07,0x75,0x6e,0x69, +0x31,0x46,0x45,0x39,0x07,0x75,0x6e,0x69,0x31,0x46,0x45,0x41,0x07,0x75,0x6e,0x69, +0x31,0x46,0x45,0x42,0x07,0x75,0x6e,0x69,0x31,0x46,0x45,0x43,0x07,0x75,0x6e,0x69, +0x31,0x46,0x45,0x44,0x07,0x75,0x6e,0x69,0x31,0x46,0x45,0x45,0x07,0x75,0x6e,0x69, +0x31,0x46,0x45,0x46,0x07,0x75,0x6e,0x69,0x31,0x46,0x46,0x32,0x07,0x75,0x6e,0x69, +0x31,0x46,0x46,0x33,0x07,0x75,0x6e,0x69,0x31,0x46,0x46,0x34,0x07,0x75,0x6e,0x69, +0x31,0x46,0x46,0x36,0x07,0x75,0x6e,0x69,0x31,0x46,0x46,0x37,0x07,0x75,0x6e,0x69, +0x31,0x46,0x46,0x38,0x07,0x75,0x6e,0x69,0x31,0x46,0x46,0x39,0x07,0x75,0x6e,0x69, +0x31,0x46,0x46,0x41,0x07,0x75,0x6e,0x69,0x31,0x46,0x46,0x42,0x07,0x75,0x6e,0x69, +0x31,0x46,0x46,0x43,0x07,0x75,0x6e,0x69,0x31,0x46,0x46,0x44,0x07,0x75,0x6e,0x69, +0x31,0x46,0x46,0x45,0x07,0x75,0x6e,0x69,0x32,0x30,0x30,0x30,0x07,0x75,0x6e,0x69, +0x32,0x30,0x30,0x31,0x07,0x75,0x6e,0x69,0x32,0x30,0x30,0x32,0x07,0x75,0x6e,0x69, +0x32,0x30,0x30,0x33,0x07,0x75,0x6e,0x69,0x32,0x30,0x30,0x34,0x07,0x75,0x6e,0x69, +0x32,0x30,0x30,0x35,0x07,0x75,0x6e,0x69,0x32,0x30,0x30,0x36,0x07,0x75,0x6e,0x69, +0x32,0x30,0x30,0x37,0x07,0x75,0x6e,0x69,0x32,0x30,0x30,0x38,0x07,0x75,0x6e,0x69, +0x32,0x30,0x30,0x39,0x07,0x75,0x6e,0x69,0x32,0x30,0x30,0x41,0x07,0x75,0x6e,0x69, +0x32,0x30,0x31,0x30,0x07,0x75,0x6e,0x69,0x32,0x30,0x31,0x31,0x0a,0x66,0x69,0x67, +0x75,0x72,0x65,0x64,0x61,0x73,0x68,0x09,0x61,0x66,0x69,0x69,0x30,0x30,0x32,0x30, +0x38,0x07,0x75,0x6e,0x69,0x32,0x30,0x31,0x36,0x0d,0x75,0x6e,0x64,0x65,0x72,0x73, +0x63,0x6f,0x72,0x65,0x64,0x62,0x6c,0x0d,0x71,0x75,0x6f,0x74,0x65,0x72,0x65,0x76, +0x65,0x72,0x73,0x65,0x64,0x07,0x75,0x6e,0x69,0x32,0x30,0x31,0x46,0x07,0x75,0x6e, +0x69,0x32,0x30,0x32,0x33,0x0e,0x6f,0x6e,0x65,0x64,0x6f,0x74,0x65,0x6e,0x6c,0x65, +0x61,0x64,0x65,0x72,0x0e,0x74,0x77,0x6f,0x64,0x6f,0x74,0x65,0x6e,0x6c,0x65,0x61, +0x64,0x65,0x72,0x07,0x75,0x6e,0x69,0x32,0x30,0x32,0x37,0x07,0x75,0x6e,0x69,0x32, +0x30,0x33,0x31,0x06,0x6d,0x69,0x6e,0x75,0x74,0x65,0x06,0x73,0x65,0x63,0x6f,0x6e, +0x64,0x07,0x75,0x6e,0x69,0x32,0x30,0x33,0x34,0x07,0x75,0x6e,0x69,0x32,0x30,0x33, +0x35,0x07,0x75,0x6e,0x69,0x32,0x30,0x33,0x36,0x07,0x75,0x6e,0x69,0x32,0x30,0x33, +0x37,0x07,0x75,0x6e,0x69,0x32,0x30,0x33,0x38,0x07,0x75,0x6e,0x69,0x32,0x30,0x33, +0x42,0x09,0x65,0x78,0x63,0x6c,0x61,0x6d,0x64,0x62,0x6c,0x07,0x75,0x6e,0x69,0x32, +0x30,0x33,0x44,0x07,0x75,0x6e,0x69,0x32,0x30,0x33,0x45,0x07,0x75,0x6e,0x69,0x32, +0x30,0x33,0x46,0x07,0x75,0x6e,0x69,0x32,0x30,0x34,0x30,0x07,0x75,0x6e,0x69,0x32, +0x30,0x34,0x31,0x07,0x75,0x6e,0x69,0x32,0x30,0x34,0x32,0x07,0x75,0x6e,0x69,0x32, +0x30,0x34,0x33,0x07,0x75,0x6e,0x69,0x32,0x30,0x34,0x35,0x07,0x75,0x6e,0x69,0x32, +0x30,0x34,0x36,0x07,0x75,0x6e,0x69,0x32,0x30,0x34,0x37,0x07,0x75,0x6e,0x69,0x32, +0x30,0x34,0x38,0x07,0x75,0x6e,0x69,0x32,0x30,0x34,0x39,0x07,0x75,0x6e,0x69,0x32, +0x30,0x34,0x41,0x07,0x75,0x6e,0x69,0x32,0x30,0x34,0x42,0x07,0x75,0x6e,0x69,0x32, +0x30,0x34,0x43,0x07,0x75,0x6e,0x69,0x32,0x30,0x34,0x44,0x07,0x75,0x6e,0x69,0x32, +0x30,0x34,0x45,0x07,0x75,0x6e,0x69,0x32,0x30,0x34,0x46,0x07,0x75,0x6e,0x69,0x32, +0x30,0x35,0x30,0x07,0x75,0x6e,0x69,0x32,0x30,0x35,0x31,0x07,0x75,0x6e,0x69,0x32, +0x30,0x35,0x32,0x07,0x75,0x6e,0x69,0x32,0x30,0x35,0x33,0x07,0x75,0x6e,0x69,0x32, +0x30,0x35,0x34,0x07,0x75,0x6e,0x69,0x32,0x30,0x35,0x35,0x07,0x75,0x6e,0x69,0x32, +0x30,0x35,0x36,0x07,0x75,0x6e,0x69,0x32,0x30,0x35,0x37,0x07,0x75,0x6e,0x69,0x32, +0x30,0x35,0x38,0x07,0x75,0x6e,0x69,0x32,0x30,0x35,0x39,0x07,0x75,0x6e,0x69,0x32, +0x30,0x35,0x41,0x07,0x75,0x6e,0x69,0x32,0x30,0x35,0x42,0x07,0x75,0x6e,0x69,0x32, +0x30,0x35,0x43,0x07,0x75,0x6e,0x69,0x32,0x30,0x35,0x44,0x07,0x75,0x6e,0x69,0x32, +0x30,0x35,0x45,0x07,0x75,0x6e,0x69,0x32,0x30,0x37,0x30,0x07,0x75,0x6e,0x69,0x32, +0x30,0x37,0x31,0x07,0x75,0x6e,0x69,0x32,0x30,0x37,0x34,0x07,0x75,0x6e,0x69,0x32, +0x30,0x37,0x35,0x07,0x75,0x6e,0x69,0x32,0x30,0x37,0x36,0x07,0x75,0x6e,0x69,0x32, +0x30,0x37,0x37,0x07,0x75,0x6e,0x69,0x32,0x30,0x37,0x38,0x07,0x75,0x6e,0x69,0x32, +0x30,0x37,0x39,0x07,0x75,0x6e,0x69,0x32,0x30,0x37,0x41,0x07,0x75,0x6e,0x69,0x32, +0x30,0x37,0x42,0x07,0x75,0x6e,0x69,0x32,0x30,0x37,0x43,0x07,0x75,0x6e,0x69,0x32, +0x30,0x37,0x44,0x07,0x75,0x6e,0x69,0x32,0x30,0x37,0x45,0x07,0x75,0x6e,0x69,0x32, +0x30,0x37,0x46,0x07,0x75,0x6e,0x69,0x32,0x30,0x38,0x30,0x07,0x75,0x6e,0x69,0x32, +0x30,0x38,0x31,0x07,0x75,0x6e,0x69,0x32,0x30,0x38,0x32,0x07,0x75,0x6e,0x69,0x32, +0x30,0x38,0x33,0x07,0x75,0x6e,0x69,0x32,0x30,0x38,0x34,0x07,0x75,0x6e,0x69,0x32, +0x30,0x38,0x35,0x07,0x75,0x6e,0x69,0x32,0x30,0x38,0x36,0x07,0x75,0x6e,0x69,0x32, +0x30,0x38,0x37,0x07,0x75,0x6e,0x69,0x32,0x30,0x38,0x38,0x07,0x75,0x6e,0x69,0x32, +0x30,0x38,0x39,0x07,0x75,0x6e,0x69,0x32,0x30,0x38,0x41,0x07,0x75,0x6e,0x69,0x32, +0x30,0x38,0x42,0x07,0x75,0x6e,0x69,0x32,0x30,0x38,0x43,0x07,0x75,0x6e,0x69,0x32, +0x30,0x38,0x44,0x07,0x75,0x6e,0x69,0x32,0x30,0x38,0x45,0x07,0x75,0x6e,0x69,0x32, +0x30,0x41,0x30,0x0d,0x63,0x6f,0x6c,0x6f,0x6e,0x6d,0x6f,0x6e,0x65,0x74,0x61,0x72, +0x79,0x07,0x75,0x6e,0x69,0x32,0x30,0x41,0x32,0x04,0x6c,0x69,0x72,0x61,0x07,0x75, +0x6e,0x69,0x32,0x30,0x41,0x35,0x07,0x75,0x6e,0x69,0x32,0x30,0x41,0x36,0x06,0x70, +0x65,0x73,0x65,0x74,0x61,0x07,0x75,0x6e,0x69,0x32,0x30,0x41,0x38,0x07,0x75,0x6e, +0x69,0x32,0x30,0x41,0x39,0x09,0x61,0x66,0x69,0x69,0x35,0x37,0x36,0x33,0x36,0x04, +0x64,0x6f,0x6e,0x67,0x04,0x45,0x75,0x72,0x6f,0x07,0x75,0x6e,0x69,0x32,0x30,0x41, +0x44,0x07,0x75,0x6e,0x69,0x32,0x30,0x41,0x45,0x07,0x75,0x6e,0x69,0x32,0x30,0x41, +0x46,0x07,0x75,0x6e,0x69,0x32,0x30,0x42,0x31,0x07,0x75,0x6e,0x69,0x32,0x30,0x42, +0x34,0x07,0x75,0x6e,0x69,0x32,0x30,0x42,0x35,0x07,0x75,0x6e,0x69,0x32,0x31,0x30, +0x30,0x07,0x75,0x6e,0x69,0x32,0x31,0x30,0x33,0x07,0x75,0x6e,0x69,0x32,0x31,0x30, +0x34,0x09,0x61,0x66,0x69,0x69,0x36,0x31,0x32,0x34,0x38,0x07,0x75,0x6e,0x69,0x32, +0x31,0x30,0x36,0x07,0x75,0x6e,0x69,0x32,0x31,0x30,0x39,0x07,0x75,0x6e,0x69,0x32, +0x31,0x30,0x45,0x07,0x75,0x6e,0x69,0x32,0x31,0x30,0x46,0x08,0x49,0x66,0x72,0x61, +0x6b,0x74,0x75,0x72,0x09,0x61,0x66,0x69,0x69,0x36,0x31,0x32,0x38,0x39,0x09,0x61, +0x66,0x69,0x69,0x36,0x31,0x33,0x35,0x32,0x07,0x75,0x6e,0x69,0x32,0x31,0x31,0x37, +0x0b,0x77,0x65,0x69,0x65,0x72,0x73,0x74,0x72,0x61,0x73,0x73,0x08,0x52,0x66,0x72, +0x61,0x6b,0x74,0x75,0x72,0x07,0x75,0x6e,0x69,0x32,0x31,0x31,0x44,0x0c,0x70,0x72, +0x65,0x73,0x63,0x72,0x69,0x70,0x74,0x69,0x6f,0x6e,0x07,0x75,0x6e,0x69,0x32,0x31, +0x32,0x30,0x07,0x75,0x6e,0x69,0x32,0x31,0x32,0x31,0x07,0x75,0x6e,0x69,0x32,0x31, +0x32,0x36,0x07,0x75,0x6e,0x69,0x32,0x31,0x32,0x37,0x07,0x75,0x6e,0x69,0x32,0x31, +0x32,0x41,0x07,0x75,0x6e,0x69,0x32,0x31,0x32,0x42,0x09,0x65,0x73,0x74,0x69,0x6d, +0x61,0x74,0x65,0x64,0x07,0x75,0x6e,0x69,0x32,0x31,0x33,0x32,0x07,0x75,0x6e,0x69, +0x32,0x31,0x33,0x34,0x05,0x61,0x6c,0x65,0x70,0x68,0x07,0x75,0x6e,0x69,0x32,0x31, +0x33,0x42,0x07,0x75,0x6e,0x69,0x32,0x31,0x34,0x42,0x08,0x6f,0x6e,0x65,0x74,0x68, +0x69,0x72,0x64,0x09,0x74,0x77,0x6f,0x74,0x68,0x69,0x72,0x64,0x73,0x07,0x75,0x6e, +0x69,0x32,0x31,0x35,0x35,0x07,0x75,0x6e,0x69,0x32,0x31,0x35,0x36,0x07,0x75,0x6e, +0x69,0x32,0x31,0x35,0x37,0x07,0x75,0x6e,0x69,0x32,0x31,0x35,0x38,0x07,0x75,0x6e, +0x69,0x32,0x31,0x35,0x39,0x07,0x75,0x6e,0x69,0x32,0x31,0x35,0x41,0x09,0x6f,0x6e, +0x65,0x65,0x69,0x67,0x68,0x74,0x68,0x0c,0x74,0x68,0x72,0x65,0x65,0x65,0x69,0x67, +0x68,0x74,0x68,0x73,0x0b,0x66,0x69,0x76,0x65,0x65,0x69,0x67,0x68,0x74,0x68,0x73, +0x0c,0x73,0x65,0x76,0x65,0x6e,0x65,0x69,0x67,0x68,0x74,0x68,0x73,0x07,0x75,0x6e, +0x69,0x32,0x31,0x35,0x46,0x07,0x75,0x6e,0x69,0x32,0x31,0x36,0x30,0x07,0x75,0x6e, +0x69,0x32,0x31,0x36,0x31,0x07,0x75,0x6e,0x69,0x32,0x31,0x36,0x32,0x07,0x75,0x6e, +0x69,0x32,0x31,0x36,0x33,0x07,0x75,0x6e,0x69,0x32,0x31,0x36,0x34,0x07,0x75,0x6e, +0x69,0x32,0x31,0x36,0x35,0x07,0x75,0x6e,0x69,0x32,0x31,0x36,0x36,0x07,0x75,0x6e, +0x69,0x32,0x31,0x36,0x37,0x07,0x75,0x6e,0x69,0x32,0x31,0x36,0x38,0x07,0x75,0x6e, +0x69,0x32,0x31,0x36,0x39,0x07,0x75,0x6e,0x69,0x32,0x31,0x36,0x41,0x07,0x75,0x6e, +0x69,0x32,0x31,0x36,0x42,0x07,0x75,0x6e,0x69,0x32,0x31,0x36,0x43,0x07,0x75,0x6e, +0x69,0x32,0x31,0x36,0x44,0x07,0x75,0x6e,0x69,0x32,0x31,0x36,0x45,0x07,0x75,0x6e, +0x69,0x32,0x31,0x36,0x46,0x07,0x75,0x6e,0x69,0x32,0x31,0x37,0x30,0x07,0x75,0x6e, +0x69,0x32,0x31,0x37,0x31,0x07,0x75,0x6e,0x69,0x32,0x31,0x37,0x32,0x07,0x75,0x6e, +0x69,0x32,0x31,0x37,0x33,0x07,0x75,0x6e,0x69,0x32,0x31,0x37,0x34,0x07,0x75,0x6e, +0x69,0x32,0x31,0x37,0x35,0x07,0x75,0x6e,0x69,0x32,0x31,0x37,0x36,0x07,0x75,0x6e, +0x69,0x32,0x31,0x37,0x37,0x07,0x75,0x6e,0x69,0x32,0x31,0x37,0x38,0x07,0x75,0x6e, +0x69,0x32,0x31,0x37,0x39,0x07,0x75,0x6e,0x69,0x32,0x31,0x37,0x41,0x07,0x75,0x6e, +0x69,0x32,0x31,0x37,0x42,0x07,0x75,0x6e,0x69,0x32,0x31,0x37,0x43,0x07,0x75,0x6e, +0x69,0x32,0x31,0x37,0x44,0x07,0x75,0x6e,0x69,0x32,0x31,0x37,0x45,0x07,0x75,0x6e, +0x69,0x32,0x31,0x37,0x46,0x07,0x75,0x6e,0x69,0x32,0x31,0x38,0x30,0x07,0x75,0x6e, +0x69,0x32,0x31,0x38,0x31,0x07,0x75,0x6e,0x69,0x32,0x31,0x38,0x32,0x07,0x75,0x6e, +0x69,0x32,0x31,0x38,0x33,0x09,0x61,0x72,0x72,0x6f,0x77,0x6c,0x65,0x66,0x74,0x07, +0x61,0x72,0x72,0x6f,0x77,0x75,0x70,0x0a,0x61,0x72,0x72,0x6f,0x77,0x72,0x69,0x67, +0x68,0x74,0x09,0x61,0x72,0x72,0x6f,0x77,0x64,0x6f,0x77,0x6e,0x09,0x61,0x72,0x72, +0x6f,0x77,0x62,0x6f,0x74,0x68,0x09,0x61,0x72,0x72,0x6f,0x77,0x75,0x70,0x64,0x6e, +0x07,0x75,0x6e,0x69,0x32,0x31,0x39,0x36,0x07,0x75,0x6e,0x69,0x32,0x31,0x39,0x37, +0x07,0x75,0x6e,0x69,0x32,0x31,0x39,0x38,0x07,0x75,0x6e,0x69,0x32,0x31,0x39,0x39, +0x07,0x75,0x6e,0x69,0x32,0x31,0x39,0x41,0x07,0x75,0x6e,0x69,0x32,0x31,0x39,0x42, +0x07,0x75,0x6e,0x69,0x32,0x31,0x39,0x43,0x07,0x75,0x6e,0x69,0x32,0x31,0x39,0x44, +0x07,0x75,0x6e,0x69,0x32,0x31,0x39,0x45,0x07,0x75,0x6e,0x69,0x32,0x31,0x39,0x46, +0x07,0x75,0x6e,0x69,0x32,0x31,0x41,0x30,0x07,0x75,0x6e,0x69,0x32,0x31,0x41,0x31, +0x07,0x75,0x6e,0x69,0x32,0x31,0x41,0x32,0x07,0x75,0x6e,0x69,0x32,0x31,0x41,0x33, +0x07,0x75,0x6e,0x69,0x32,0x31,0x41,0x34,0x07,0x75,0x6e,0x69,0x32,0x31,0x41,0x35, +0x07,0x75,0x6e,0x69,0x32,0x31,0x41,0x36,0x07,0x75,0x6e,0x69,0x32,0x31,0x41,0x37, +0x0c,0x61,0x72,0x72,0x6f,0x77,0x75,0x70,0x64,0x6e,0x62,0x73,0x65,0x07,0x75,0x6e, +0x69,0x32,0x31,0x42,0x30,0x07,0x75,0x6e,0x69,0x32,0x31,0x42,0x31,0x07,0x75,0x6e, +0x69,0x32,0x31,0x42,0x32,0x07,0x75,0x6e,0x69,0x32,0x31,0x42,0x33,0x07,0x75,0x6e, +0x69,0x32,0x31,0x42,0x34,0x0e,0x63,0x61,0x72,0x72,0x69,0x61,0x67,0x65,0x72,0x65, +0x74,0x75,0x72,0x6e,0x07,0x75,0x6e,0x69,0x32,0x31,0x42,0x36,0x07,0x75,0x6e,0x69, +0x32,0x31,0x42,0x37,0x07,0x75,0x6e,0x69,0x32,0x31,0x42,0x38,0x07,0x75,0x6e,0x69, +0x32,0x31,0x42,0x39,0x07,0x75,0x6e,0x69,0x32,0x31,0x42,0x41,0x07,0x75,0x6e,0x69, +0x32,0x31,0x42,0x42,0x07,0x75,0x6e,0x69,0x32,0x31,0x42,0x43,0x07,0x75,0x6e,0x69, +0x32,0x31,0x42,0x44,0x07,0x75,0x6e,0x69,0x32,0x31,0x42,0x45,0x07,0x75,0x6e,0x69, +0x32,0x31,0x42,0x46,0x07,0x75,0x6e,0x69,0x32,0x31,0x43,0x30,0x07,0x75,0x6e,0x69, +0x32,0x31,0x43,0x31,0x07,0x75,0x6e,0x69,0x32,0x31,0x43,0x32,0x07,0x75,0x6e,0x69, +0x32,0x31,0x43,0x33,0x07,0x75,0x6e,0x69,0x32,0x31,0x43,0x34,0x07,0x75,0x6e,0x69, +0x32,0x31,0x43,0x35,0x07,0x75,0x6e,0x69,0x32,0x31,0x43,0x36,0x07,0x75,0x6e,0x69, +0x32,0x31,0x43,0x37,0x07,0x75,0x6e,0x69,0x32,0x31,0x43,0x38,0x07,0x75,0x6e,0x69, +0x32,0x31,0x43,0x39,0x07,0x75,0x6e,0x69,0x32,0x31,0x43,0x41,0x07,0x75,0x6e,0x69, +0x32,0x31,0x43,0x42,0x07,0x75,0x6e,0x69,0x32,0x31,0x43,0x43,0x0c,0x61,0x72,0x72, +0x6f,0x77,0x64,0x62,0x6c,0x6c,0x65,0x66,0x74,0x0a,0x61,0x72,0x72,0x6f,0x77,0x64, +0x62,0x6c,0x75,0x70,0x0d,0x61,0x72,0x72,0x6f,0x77,0x64,0x62,0x6c,0x72,0x69,0x67, +0x68,0x74,0x0c,0x61,0x72,0x72,0x6f,0x77,0x64,0x62,0x6c,0x64,0x6f,0x77,0x6e,0x0c, +0x61,0x72,0x72,0x6f,0x77,0x64,0x62,0x6c,0x62,0x6f,0x74,0x68,0x09,0x75,0x6e,0x69, +0x76,0x65,0x72,0x73,0x61,0x6c,0x07,0x75,0x6e,0x69,0x32,0x32,0x30,0x31,0x0b,0x65, +0x78,0x69,0x73,0x74,0x65,0x6e,0x74,0x69,0x61,0x6c,0x07,0x75,0x6e,0x69,0x32,0x32, +0x30,0x34,0x08,0x65,0x6d,0x70,0x74,0x79,0x73,0x65,0x74,0x08,0x67,0x72,0x61,0x64, +0x69,0x65,0x6e,0x74,0x07,0x65,0x6c,0x65,0x6d,0x65,0x6e,0x74,0x0a,0x6e,0x6f,0x74, +0x65,0x6c,0x65,0x6d,0x65,0x6e,0x74,0x07,0x75,0x6e,0x69,0x32,0x32,0x30,0x41,0x08, +0x73,0x75,0x63,0x68,0x74,0x68,0x61,0x74,0x07,0x75,0x6e,0x69,0x32,0x32,0x30,0x43, +0x07,0x75,0x6e,0x69,0x32,0x32,0x30,0x44,0x07,0x75,0x6e,0x69,0x32,0x32,0x30,0x45, +0x07,0x75,0x6e,0x69,0x32,0x32,0x31,0x30,0x07,0x75,0x6e,0x69,0x32,0x32,0x31,0x33, +0x07,0x75,0x6e,0x69,0x32,0x32,0x31,0x34,0x07,0x75,0x6e,0x69,0x32,0x32,0x31,0x36, +0x0c,0x61,0x73,0x74,0x65,0x72,0x69,0x73,0x6b,0x6d,0x61,0x74,0x68,0x07,0x75,0x6e, +0x69,0x32,0x32,0x31,0x38,0x07,0x75,0x6e,0x69,0x32,0x32,0x31,0x42,0x07,0x75,0x6e, +0x69,0x32,0x32,0x31,0x43,0x0c,0x70,0x72,0x6f,0x70,0x6f,0x72,0x74,0x69,0x6f,0x6e, +0x61,0x6c,0x0a,0x6f,0x72,0x74,0x68,0x6f,0x67,0x6f,0x6e,0x61,0x6c,0x05,0x61,0x6e, +0x67,0x6c,0x65,0x07,0x75,0x6e,0x69,0x32,0x32,0x32,0x31,0x07,0x75,0x6e,0x69,0x32, +0x32,0x32,0x32,0x07,0x75,0x6e,0x69,0x32,0x32,0x32,0x33,0x07,0x75,0x6e,0x69,0x32, +0x32,0x32,0x34,0x07,0x75,0x6e,0x69,0x32,0x32,0x32,0x35,0x07,0x75,0x6e,0x69,0x32, +0x32,0x32,0x36,0x0a,0x6c,0x6f,0x67,0x69,0x63,0x61,0x6c,0x61,0x6e,0x64,0x09,0x6c, +0x6f,0x67,0x69,0x63,0x61,0x6c,0x6f,0x72,0x0c,0x69,0x6e,0x74,0x65,0x72,0x73,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x05,0x75,0x6e,0x69,0x6f,0x6e,0x07,0x75,0x6e,0x69,0x32, +0x32,0x32,0x43,0x07,0x75,0x6e,0x69,0x32,0x32,0x32,0x44,0x09,0x74,0x68,0x65,0x72, +0x65,0x66,0x6f,0x72,0x65,0x07,0x75,0x6e,0x69,0x32,0x32,0x33,0x35,0x07,0x75,0x6e, +0x69,0x32,0x32,0x33,0x36,0x07,0x75,0x6e,0x69,0x32,0x32,0x33,0x37,0x07,0x75,0x6e, +0x69,0x32,0x32,0x33,0x38,0x07,0x75,0x6e,0x69,0x32,0x32,0x33,0x39,0x07,0x75,0x6e, +0x69,0x32,0x32,0x33,0x41,0x07,0x75,0x6e,0x69,0x32,0x32,0x33,0x42,0x07,0x73,0x69, +0x6d,0x69,0x6c,0x61,0x72,0x07,0x75,0x6e,0x69,0x32,0x32,0x33,0x44,0x07,0x75,0x6e, +0x69,0x32,0x32,0x34,0x31,0x07,0x75,0x6e,0x69,0x32,0x32,0x34,0x32,0x07,0x75,0x6e, +0x69,0x32,0x32,0x34,0x33,0x07,0x75,0x6e,0x69,0x32,0x32,0x34,0x34,0x09,0x63,0x6f, +0x6e,0x67,0x72,0x75,0x65,0x6e,0x74,0x07,0x75,0x6e,0x69,0x32,0x32,0x34,0x36,0x07, +0x75,0x6e,0x69,0x32,0x32,0x34,0x37,0x07,0x75,0x6e,0x69,0x32,0x32,0x34,0x39,0x07, +0x75,0x6e,0x69,0x32,0x32,0x34,0x41,0x07,0x75,0x6e,0x69,0x32,0x32,0x34,0x42,0x07, +0x75,0x6e,0x69,0x32,0x32,0x34,0x43,0x07,0x75,0x6e,0x69,0x32,0x32,0x34,0x44,0x07, +0x75,0x6e,0x69,0x32,0x32,0x34,0x45,0x07,0x75,0x6e,0x69,0x32,0x32,0x34,0x46,0x07, +0x75,0x6e,0x69,0x32,0x32,0x35,0x30,0x07,0x75,0x6e,0x69,0x32,0x32,0x35,0x31,0x07, +0x75,0x6e,0x69,0x32,0x32,0x35,0x32,0x07,0x75,0x6e,0x69,0x32,0x32,0x35,0x33,0x07, +0x75,0x6e,0x69,0x32,0x32,0x35,0x34,0x07,0x75,0x6e,0x69,0x32,0x32,0x35,0x35,0x07, +0x75,0x6e,0x69,0x32,0x32,0x35,0x36,0x07,0x75,0x6e,0x69,0x32,0x32,0x35,0x37,0x07, +0x75,0x6e,0x69,0x32,0x32,0x35,0x38,0x07,0x75,0x6e,0x69,0x32,0x32,0x35,0x39,0x07, +0x75,0x6e,0x69,0x32,0x32,0x35,0x41,0x07,0x75,0x6e,0x69,0x32,0x32,0x35,0x42,0x07, +0x75,0x6e,0x69,0x32,0x32,0x35,0x43,0x07,0x75,0x6e,0x69,0x32,0x32,0x35,0x44,0x07, +0x75,0x6e,0x69,0x32,0x32,0x35,0x45,0x07,0x75,0x6e,0x69,0x32,0x32,0x35,0x46,0x0b, +0x65,0x71,0x75,0x69,0x76,0x61,0x6c,0x65,0x6e,0x63,0x65,0x07,0x75,0x6e,0x69,0x32, +0x32,0x36,0x32,0x07,0x75,0x6e,0x69,0x32,0x32,0x36,0x33,0x07,0x75,0x6e,0x69,0x32, +0x32,0x36,0x36,0x07,0x75,0x6e,0x69,0x32,0x32,0x36,0x37,0x07,0x75,0x6e,0x69,0x32, +0x32,0x36,0x38,0x07,0x75,0x6e,0x69,0x32,0x32,0x36,0x39,0x07,0x75,0x6e,0x69,0x32, +0x32,0x36,0x41,0x07,0x75,0x6e,0x69,0x32,0x32,0x36,0x42,0x07,0x75,0x6e,0x69,0x32, +0x32,0x36,0x44,0x07,0x75,0x6e,0x69,0x32,0x32,0x36,0x45,0x07,0x75,0x6e,0x69,0x32, +0x32,0x36,0x46,0x07,0x75,0x6e,0x69,0x32,0x32,0x37,0x30,0x07,0x75,0x6e,0x69,0x32, +0x32,0x37,0x31,0x07,0x75,0x6e,0x69,0x32,0x32,0x37,0x32,0x07,0x75,0x6e,0x69,0x32, +0x32,0x37,0x33,0x07,0x75,0x6e,0x69,0x32,0x32,0x37,0x34,0x07,0x75,0x6e,0x69,0x32, +0x32,0x37,0x35,0x07,0x75,0x6e,0x69,0x32,0x32,0x37,0x36,0x07,0x75,0x6e,0x69,0x32, +0x32,0x37,0x37,0x07,0x75,0x6e,0x69,0x32,0x32,0x37,0x38,0x07,0x75,0x6e,0x69,0x32, +0x32,0x37,0x39,0x07,0x75,0x6e,0x69,0x32,0x32,0x37,0x41,0x07,0x75,0x6e,0x69,0x32, +0x32,0x37,0x42,0x07,0x75,0x6e,0x69,0x32,0x32,0x37,0x43,0x07,0x75,0x6e,0x69,0x32, +0x32,0x37,0x44,0x07,0x75,0x6e,0x69,0x32,0x32,0x37,0x45,0x07,0x75,0x6e,0x69,0x32, +0x32,0x37,0x46,0x07,0x75,0x6e,0x69,0x32,0x32,0x38,0x30,0x07,0x75,0x6e,0x69,0x32, +0x32,0x38,0x31,0x0c,0x70,0x72,0x6f,0x70,0x65,0x72,0x73,0x75,0x62,0x73,0x65,0x74, +0x0e,0x70,0x72,0x6f,0x70,0x65,0x72,0x73,0x75,0x70,0x65,0x72,0x73,0x65,0x74,0x09, +0x6e,0x6f,0x74,0x73,0x75,0x62,0x73,0x65,0x74,0x07,0x75,0x6e,0x69,0x32,0x32,0x38, +0x35,0x0c,0x72,0x65,0x66,0x6c,0x65,0x78,0x73,0x75,0x62,0x73,0x65,0x74,0x0e,0x72, +0x65,0x66,0x6c,0x65,0x78,0x73,0x75,0x70,0x65,0x72,0x73,0x65,0x74,0x07,0x75,0x6e, +0x69,0x32,0x32,0x38,0x38,0x07,0x75,0x6e,0x69,0x32,0x32,0x38,0x39,0x07,0x75,0x6e, +0x69,0x32,0x32,0x38,0x41,0x07,0x75,0x6e,0x69,0x32,0x32,0x38,0x42,0x0a,0x63,0x69, +0x72,0x63,0x6c,0x65,0x70,0x6c,0x75,0x73,0x07,0x75,0x6e,0x69,0x32,0x32,0x39,0x36, +0x0e,0x63,0x69,0x72,0x63,0x6c,0x65,0x6d,0x75,0x6c,0x74,0x69,0x70,0x6c,0x79,0x07, +0x75,0x6e,0x69,0x32,0x32,0x39,0x38,0x07,0x75,0x6e,0x69,0x32,0x32,0x41,0x34,0x0d, +0x70,0x65,0x72,0x70,0x65,0x6e,0x64,0x69,0x63,0x75,0x6c,0x61,0x72,0x07,0x75,0x6e, +0x69,0x32,0x32,0x43,0x34,0x07,0x64,0x6f,0x74,0x6d,0x61,0x74,0x68,0x07,0x75,0x6e, +0x69,0x32,0x32,0x43,0x36,0x05,0x68,0x6f,0x75,0x73,0x65,0x07,0x75,0x6e,0x69,0x32, +0x33,0x30,0x36,0x07,0x75,0x6e,0x69,0x32,0x33,0x30,0x38,0x07,0x75,0x6e,0x69,0x32, +0x33,0x30,0x39,0x07,0x75,0x6e,0x69,0x32,0x33,0x30,0x41,0x07,0x75,0x6e,0x69,0x32, +0x33,0x30,0x42,0x0d,0x72,0x65,0x76,0x6c,0x6f,0x67,0x69,0x63,0x61,0x6c,0x6e,0x6f, +0x74,0x07,0x75,0x6e,0x69,0x32,0x33,0x31,0x31,0x07,0x75,0x6e,0x69,0x32,0x33,0x31, +0x38,0x07,0x75,0x6e,0x69,0x32,0x33,0x31,0x39,0x0a,0x69,0x6e,0x74,0x65,0x67,0x72, +0x61,0x6c,0x74,0x70,0x0a,0x69,0x6e,0x74,0x65,0x67,0x72,0x61,0x6c,0x62,0x74,0x07, +0x75,0x6e,0x69,0x32,0x33,0x32,0x35,0x07,0x75,0x6e,0x69,0x32,0x33,0x32,0x38,0x09, +0x61,0x6e,0x67,0x6c,0x65,0x6c,0x65,0x66,0x74,0x0a,0x61,0x6e,0x67,0x6c,0x65,0x72, +0x69,0x67,0x68,0x74,0x07,0x75,0x6e,0x69,0x32,0x33,0x37,0x44,0x07,0x75,0x6e,0x69, +0x32,0x33,0x41,0x45,0x07,0x75,0x6e,0x69,0x32,0x33,0x43,0x46,0x07,0x75,0x6e,0x69, +0x32,0x34,0x32,0x32,0x07,0x75,0x6e,0x69,0x32,0x34,0x32,0x33,0x07,0x75,0x6e,0x69, +0x32,0x34,0x36,0x30,0x07,0x75,0x6e,0x69,0x32,0x34,0x36,0x31,0x07,0x75,0x6e,0x69, +0x32,0x34,0x36,0x32,0x07,0x75,0x6e,0x69,0x32,0x34,0x36,0x33,0x07,0x75,0x6e,0x69, +0x32,0x34,0x36,0x34,0x07,0x75,0x6e,0x69,0x32,0x34,0x36,0x35,0x07,0x75,0x6e,0x69, +0x32,0x34,0x36,0x36,0x07,0x75,0x6e,0x69,0x32,0x34,0x36,0x37,0x07,0x75,0x6e,0x69, +0x32,0x34,0x36,0x38,0x07,0x75,0x6e,0x69,0x32,0x34,0x36,0x39,0x07,0x75,0x70,0x62, +0x6c,0x6f,0x63,0x6b,0x07,0x75,0x6e,0x69,0x32,0x35,0x38,0x31,0x07,0x75,0x6e,0x69, +0x32,0x35,0x38,0x32,0x07,0x75,0x6e,0x69,0x32,0x35,0x38,0x33,0x07,0x64,0x6e,0x62, +0x6c,0x6f,0x63,0x6b,0x07,0x75,0x6e,0x69,0x32,0x35,0x38,0x35,0x07,0x75,0x6e,0x69, +0x32,0x35,0x38,0x36,0x07,0x75,0x6e,0x69,0x32,0x35,0x38,0x37,0x05,0x62,0x6c,0x6f, +0x63,0x6b,0x07,0x75,0x6e,0x69,0x32,0x35,0x38,0x39,0x07,0x75,0x6e,0x69,0x32,0x35, +0x38,0x41,0x07,0x75,0x6e,0x69,0x32,0x35,0x38,0x42,0x07,0x6c,0x66,0x62,0x6c,0x6f, +0x63,0x6b,0x07,0x75,0x6e,0x69,0x32,0x35,0x38,0x44,0x07,0x75,0x6e,0x69,0x32,0x35, +0x38,0x45,0x07,0x75,0x6e,0x69,0x32,0x35,0x38,0x46,0x07,0x72,0x74,0x62,0x6c,0x6f, +0x63,0x6b,0x07,0x6c,0x74,0x73,0x68,0x61,0x64,0x65,0x05,0x73,0x68,0x61,0x64,0x65, +0x07,0x64,0x6b,0x73,0x68,0x61,0x64,0x65,0x07,0x75,0x6e,0x69,0x32,0x35,0x39,0x34, +0x07,0x75,0x6e,0x69,0x32,0x35,0x39,0x35,0x07,0x75,0x6e,0x69,0x32,0x35,0x39,0x36, +0x07,0x75,0x6e,0x69,0x32,0x35,0x39,0x37,0x07,0x75,0x6e,0x69,0x32,0x35,0x39,0x38, +0x07,0x75,0x6e,0x69,0x32,0x35,0x39,0x39,0x07,0x75,0x6e,0x69,0x32,0x35,0x39,0x41, +0x07,0x75,0x6e,0x69,0x32,0x35,0x39,0x42,0x07,0x75,0x6e,0x69,0x32,0x35,0x39,0x43, +0x07,0x75,0x6e,0x69,0x32,0x35,0x39,0x44,0x07,0x75,0x6e,0x69,0x32,0x35,0x39,0x45, +0x07,0x75,0x6e,0x69,0x32,0x35,0x39,0x46,0x09,0x66,0x69,0x6c,0x6c,0x65,0x64,0x62, +0x6f,0x78,0x06,0x48,0x32,0x32,0x30,0x37,0x33,0x07,0x75,0x6e,0x69,0x32,0x35,0x41, +0x32,0x07,0x75,0x6e,0x69,0x32,0x35,0x41,0x33,0x07,0x75,0x6e,0x69,0x32,0x35,0x41, +0x34,0x07,0x75,0x6e,0x69,0x32,0x35,0x41,0x35,0x07,0x75,0x6e,0x69,0x32,0x35,0x41, +0x36,0x07,0x75,0x6e,0x69,0x32,0x35,0x41,0x37,0x07,0x75,0x6e,0x69,0x32,0x35,0x41, +0x38,0x07,0x75,0x6e,0x69,0x32,0x35,0x41,0x39,0x06,0x48,0x31,0x38,0x35,0x34,0x33, +0x06,0x48,0x31,0x38,0x35,0x35,0x31,0x0a,0x66,0x69,0x6c,0x6c,0x65,0x64,0x72,0x65, +0x63,0x74,0x07,0x75,0x6e,0x69,0x32,0x35,0x41,0x44,0x07,0x75,0x6e,0x69,0x32,0x35, +0x41,0x45,0x07,0x75,0x6e,0x69,0x32,0x35,0x41,0x46,0x07,0x75,0x6e,0x69,0x32,0x35, +0x42,0x30,0x07,0x75,0x6e,0x69,0x32,0x35,0x42,0x31,0x07,0x74,0x72,0x69,0x61,0x67, +0x75,0x70,0x07,0x75,0x6e,0x69,0x32,0x35,0x42,0x33,0x07,0x75,0x6e,0x69,0x32,0x35, +0x42,0x34,0x07,0x75,0x6e,0x69,0x32,0x35,0x42,0x35,0x07,0x75,0x6e,0x69,0x32,0x35, +0x42,0x36,0x07,0x75,0x6e,0x69,0x32,0x35,0x42,0x37,0x07,0x75,0x6e,0x69,0x32,0x35, +0x42,0x38,0x07,0x75,0x6e,0x69,0x32,0x35,0x42,0x39,0x07,0x74,0x72,0x69,0x61,0x67, +0x72,0x74,0x07,0x75,0x6e,0x69,0x32,0x35,0x42,0x42,0x07,0x74,0x72,0x69,0x61,0x67, +0x64,0x6e,0x07,0x75,0x6e,0x69,0x32,0x35,0x42,0x44,0x07,0x75,0x6e,0x69,0x32,0x35, +0x42,0x45,0x07,0x75,0x6e,0x69,0x32,0x35,0x42,0x46,0x07,0x75,0x6e,0x69,0x32,0x35, +0x43,0x30,0x07,0x75,0x6e,0x69,0x32,0x35,0x43,0x31,0x07,0x75,0x6e,0x69,0x32,0x35, +0x43,0x32,0x07,0x75,0x6e,0x69,0x32,0x35,0x43,0x33,0x07,0x74,0x72,0x69,0x61,0x67, +0x6c,0x66,0x07,0x75,0x6e,0x69,0x32,0x35,0x43,0x35,0x07,0x75,0x6e,0x69,0x32,0x35, +0x43,0x36,0x07,0x75,0x6e,0x69,0x32,0x35,0x43,0x37,0x07,0x75,0x6e,0x69,0x32,0x35, +0x43,0x38,0x07,0x75,0x6e,0x69,0x32,0x35,0x43,0x39,0x06,0x63,0x69,0x72,0x63,0x6c, +0x65,0x07,0x75,0x6e,0x69,0x32,0x35,0x43,0x43,0x07,0x75,0x6e,0x69,0x32,0x35,0x43, +0x44,0x07,0x75,0x6e,0x69,0x32,0x35,0x43,0x45,0x06,0x48,0x31,0x38,0x35,0x33,0x33, +0x07,0x75,0x6e,0x69,0x32,0x35,0x44,0x30,0x07,0x75,0x6e,0x69,0x32,0x35,0x44,0x31, +0x07,0x75,0x6e,0x69,0x32,0x35,0x44,0x32,0x07,0x75,0x6e,0x69,0x32,0x35,0x44,0x33, +0x07,0x75,0x6e,0x69,0x32,0x35,0x44,0x34,0x07,0x75,0x6e,0x69,0x32,0x35,0x44,0x35, +0x07,0x75,0x6e,0x69,0x32,0x35,0x44,0x36,0x07,0x75,0x6e,0x69,0x32,0x35,0x44,0x37, +0x09,0x69,0x6e,0x76,0x62,0x75,0x6c,0x6c,0x65,0x74,0x09,0x69,0x6e,0x76,0x63,0x69, +0x72,0x63,0x6c,0x65,0x07,0x75,0x6e,0x69,0x32,0x35,0x44,0x41,0x07,0x75,0x6e,0x69, +0x32,0x35,0x44,0x42,0x07,0x75,0x6e,0x69,0x32,0x35,0x44,0x43,0x07,0x75,0x6e,0x69, +0x32,0x35,0x44,0x44,0x07,0x75,0x6e,0x69,0x32,0x35,0x44,0x45,0x07,0x75,0x6e,0x69, +0x32,0x35,0x44,0x46,0x07,0x75,0x6e,0x69,0x32,0x35,0x45,0x30,0x07,0x75,0x6e,0x69, +0x32,0x35,0x45,0x31,0x07,0x75,0x6e,0x69,0x32,0x35,0x45,0x32,0x07,0x75,0x6e,0x69, +0x32,0x35,0x45,0x33,0x07,0x75,0x6e,0x69,0x32,0x35,0x45,0x34,0x07,0x75,0x6e,0x69, +0x32,0x35,0x45,0x35,0x0a,0x6f,0x70,0x65,0x6e,0x62,0x75,0x6c,0x6c,0x65,0x74,0x07, +0x75,0x6e,0x69,0x32,0x35,0x45,0x37,0x07,0x75,0x6e,0x69,0x32,0x35,0x45,0x38,0x07, +0x75,0x6e,0x69,0x32,0x35,0x45,0x39,0x07,0x75,0x6e,0x69,0x32,0x35,0x45,0x41,0x07, +0x75,0x6e,0x69,0x32,0x35,0x45,0x42,0x07,0x75,0x6e,0x69,0x32,0x35,0x45,0x43,0x07, +0x75,0x6e,0x69,0x32,0x35,0x45,0x44,0x07,0x75,0x6e,0x69,0x32,0x35,0x45,0x45,0x07, +0x75,0x6e,0x69,0x32,0x35,0x45,0x46,0x07,0x75,0x6e,0x69,0x32,0x35,0x46,0x30,0x07, +0x75,0x6e,0x69,0x32,0x35,0x46,0x31,0x07,0x75,0x6e,0x69,0x32,0x35,0x46,0x32,0x07, +0x75,0x6e,0x69,0x32,0x35,0x46,0x33,0x07,0x75,0x6e,0x69,0x32,0x35,0x46,0x34,0x07, +0x75,0x6e,0x69,0x32,0x35,0x46,0x35,0x07,0x75,0x6e,0x69,0x32,0x35,0x46,0x36,0x07, +0x75,0x6e,0x69,0x32,0x35,0x46,0x37,0x07,0x75,0x6e,0x69,0x32,0x35,0x46,0x38,0x07, +0x75,0x6e,0x69,0x32,0x35,0x46,0x39,0x07,0x75,0x6e,0x69,0x32,0x35,0x46,0x41,0x07, +0x75,0x6e,0x69,0x32,0x35,0x46,0x42,0x07,0x75,0x6e,0x69,0x32,0x35,0x46,0x43,0x07, +0x75,0x6e,0x69,0x32,0x35,0x46,0x44,0x07,0x75,0x6e,0x69,0x32,0x35,0x46,0x45,0x07, +0x75,0x6e,0x69,0x32,0x35,0x46,0x46,0x07,0x75,0x6e,0x69,0x32,0x36,0x30,0x30,0x07, +0x75,0x6e,0x69,0x32,0x36,0x30,0x31,0x07,0x75,0x6e,0x69,0x32,0x36,0x30,0x32,0x07, +0x75,0x6e,0x69,0x32,0x36,0x30,0x33,0x07,0x75,0x6e,0x69,0x32,0x36,0x30,0x34,0x07, +0x75,0x6e,0x69,0x32,0x36,0x30,0x35,0x07,0x75,0x6e,0x69,0x32,0x36,0x30,0x36,0x07, +0x75,0x6e,0x69,0x32,0x36,0x30,0x37,0x07,0x75,0x6e,0x69,0x32,0x36,0x30,0x38,0x07, +0x75,0x6e,0x69,0x32,0x36,0x30,0x39,0x07,0x75,0x6e,0x69,0x32,0x36,0x30,0x41,0x07, +0x75,0x6e,0x69,0x32,0x36,0x30,0x42,0x07,0x75,0x6e,0x69,0x32,0x36,0x30,0x43,0x07, +0x75,0x6e,0x69,0x32,0x36,0x30,0x44,0x07,0x75,0x6e,0x69,0x32,0x36,0x30,0x45,0x07, +0x75,0x6e,0x69,0x32,0x36,0x30,0x46,0x07,0x75,0x6e,0x69,0x32,0x36,0x31,0x30,0x07, +0x75,0x6e,0x69,0x32,0x36,0x31,0x31,0x07,0x75,0x6e,0x69,0x32,0x36,0x31,0x32,0x07, +0x75,0x6e,0x69,0x32,0x36,0x31,0x33,0x07,0x75,0x6e,0x69,0x32,0x36,0x31,0x34,0x07, +0x75,0x6e,0x69,0x32,0x36,0x31,0x35,0x07,0x75,0x6e,0x69,0x32,0x36,0x31,0x36,0x07, +0x75,0x6e,0x69,0x32,0x36,0x31,0x37,0x07,0x75,0x6e,0x69,0x32,0x36,0x31,0x38,0x07, +0x75,0x6e,0x69,0x32,0x36,0x31,0x39,0x07,0x75,0x6e,0x69,0x32,0x36,0x31,0x41,0x07, +0x75,0x6e,0x69,0x32,0x36,0x31,0x42,0x07,0x75,0x6e,0x69,0x32,0x36,0x31,0x43,0x07, +0x75,0x6e,0x69,0x32,0x36,0x31,0x44,0x07,0x75,0x6e,0x69,0x32,0x36,0x31,0x45,0x07, +0x75,0x6e,0x69,0x32,0x36,0x31,0x46,0x07,0x75,0x6e,0x69,0x32,0x36,0x32,0x30,0x07, +0x75,0x6e,0x69,0x32,0x36,0x32,0x31,0x07,0x75,0x6e,0x69,0x32,0x36,0x32,0x32,0x07, +0x75,0x6e,0x69,0x32,0x36,0x32,0x33,0x07,0x75,0x6e,0x69,0x32,0x36,0x32,0x34,0x07, +0x75,0x6e,0x69,0x32,0x36,0x32,0x35,0x07,0x75,0x6e,0x69,0x32,0x36,0x32,0x36,0x07, +0x75,0x6e,0x69,0x32,0x36,0x32,0x37,0x07,0x75,0x6e,0x69,0x32,0x36,0x32,0x38,0x07, +0x75,0x6e,0x69,0x32,0x36,0x32,0x39,0x07,0x75,0x6e,0x69,0x32,0x36,0x32,0x41,0x07, +0x75,0x6e,0x69,0x32,0x36,0x32,0x42,0x07,0x75,0x6e,0x69,0x32,0x36,0x32,0x43,0x07, +0x75,0x6e,0x69,0x32,0x36,0x32,0x44,0x07,0x75,0x6e,0x69,0x32,0x36,0x32,0x45,0x07, +0x75,0x6e,0x69,0x32,0x36,0x32,0x46,0x07,0x75,0x6e,0x69,0x32,0x36,0x33,0x30,0x07, +0x75,0x6e,0x69,0x32,0x36,0x33,0x31,0x07,0x75,0x6e,0x69,0x32,0x36,0x33,0x32,0x07, +0x75,0x6e,0x69,0x32,0x36,0x33,0x33,0x07,0x75,0x6e,0x69,0x32,0x36,0x33,0x34,0x07, +0x75,0x6e,0x69,0x32,0x36,0x33,0x35,0x07,0x75,0x6e,0x69,0x32,0x36,0x33,0x36,0x07, +0x75,0x6e,0x69,0x32,0x36,0x33,0x37,0x07,0x75,0x6e,0x69,0x32,0x36,0x33,0x38,0x07, +0x75,0x6e,0x69,0x32,0x36,0x33,0x39,0x09,0x73,0x6d,0x69,0x6c,0x65,0x66,0x61,0x63, +0x65,0x0c,0x69,0x6e,0x76,0x73,0x6d,0x69,0x6c,0x65,0x66,0x61,0x63,0x65,0x03,0x73, +0x75,0x6e,0x07,0x75,0x6e,0x69,0x32,0x36,0x33,0x44,0x07,0x75,0x6e,0x69,0x32,0x36, +0x33,0x45,0x07,0x75,0x6e,0x69,0x32,0x36,0x33,0x46,0x06,0x66,0x65,0x6d,0x61,0x6c, +0x65,0x07,0x75,0x6e,0x69,0x32,0x36,0x34,0x31,0x04,0x6d,0x61,0x6c,0x65,0x07,0x75, +0x6e,0x69,0x32,0x36,0x34,0x33,0x07,0x75,0x6e,0x69,0x32,0x36,0x34,0x34,0x07,0x75, +0x6e,0x69,0x32,0x36,0x34,0x35,0x07,0x75,0x6e,0x69,0x32,0x36,0x34,0x36,0x07,0x75, +0x6e,0x69,0x32,0x36,0x34,0x37,0x07,0x75,0x6e,0x69,0x32,0x36,0x34,0x38,0x07,0x75, +0x6e,0x69,0x32,0x36,0x34,0x39,0x07,0x75,0x6e,0x69,0x32,0x36,0x34,0x41,0x07,0x75, +0x6e,0x69,0x32,0x36,0x34,0x42,0x07,0x75,0x6e,0x69,0x32,0x36,0x34,0x43,0x07,0x75, +0x6e,0x69,0x32,0x36,0x34,0x44,0x07,0x75,0x6e,0x69,0x32,0x36,0x34,0x45,0x07,0x75, +0x6e,0x69,0x32,0x36,0x34,0x46,0x07,0x75,0x6e,0x69,0x32,0x36,0x35,0x30,0x07,0x75, +0x6e,0x69,0x32,0x36,0x35,0x31,0x07,0x75,0x6e,0x69,0x32,0x36,0x35,0x32,0x07,0x75, +0x6e,0x69,0x32,0x36,0x35,0x33,0x07,0x75,0x6e,0x69,0x32,0x36,0x35,0x34,0x07,0x75, +0x6e,0x69,0x32,0x36,0x35,0x35,0x07,0x75,0x6e,0x69,0x32,0x36,0x35,0x36,0x07,0x75, +0x6e,0x69,0x32,0x36,0x35,0x37,0x07,0x75,0x6e,0x69,0x32,0x36,0x35,0x38,0x07,0x75, +0x6e,0x69,0x32,0x36,0x35,0x39,0x07,0x75,0x6e,0x69,0x32,0x36,0x35,0x41,0x07,0x75, +0x6e,0x69,0x32,0x36,0x35,0x42,0x07,0x75,0x6e,0x69,0x32,0x36,0x35,0x43,0x07,0x75, +0x6e,0x69,0x32,0x36,0x35,0x44,0x07,0x75,0x6e,0x69,0x32,0x36,0x35,0x45,0x07,0x75, +0x6e,0x69,0x32,0x36,0x35,0x46,0x05,0x73,0x70,0x61,0x64,0x65,0x07,0x75,0x6e,0x69, +0x32,0x36,0x36,0x31,0x07,0x75,0x6e,0x69,0x32,0x36,0x36,0x32,0x04,0x63,0x6c,0x75, +0x62,0x07,0x75,0x6e,0x69,0x32,0x36,0x36,0x34,0x05,0x68,0x65,0x61,0x72,0x74,0x07, +0x64,0x69,0x61,0x6d,0x6f,0x6e,0x64,0x07,0x75,0x6e,0x69,0x32,0x36,0x36,0x37,0x07, +0x75,0x6e,0x69,0x32,0x36,0x36,0x38,0x07,0x75,0x6e,0x69,0x32,0x36,0x36,0x39,0x0b, +0x6d,0x75,0x73,0x69,0x63,0x61,0x6c,0x6e,0x6f,0x74,0x65,0x0e,0x6d,0x75,0x73,0x69, +0x63,0x61,0x6c,0x6e,0x6f,0x74,0x65,0x64,0x62,0x6c,0x07,0x75,0x6e,0x69,0x32,0x36, +0x36,0x43,0x07,0x75,0x6e,0x69,0x32,0x36,0x36,0x44,0x07,0x75,0x6e,0x69,0x32,0x36, +0x36,0x45,0x07,0x75,0x6e,0x69,0x32,0x36,0x36,0x46,0x07,0x75,0x6e,0x69,0x32,0x36, +0x37,0x30,0x07,0x75,0x6e,0x69,0x32,0x36,0x37,0x31,0x07,0x75,0x6e,0x69,0x32,0x36, +0x37,0x32,0x07,0x75,0x6e,0x69,0x32,0x36,0x37,0x33,0x07,0x75,0x6e,0x69,0x32,0x36, +0x37,0x34,0x07,0x75,0x6e,0x69,0x32,0x36,0x37,0x35,0x07,0x75,0x6e,0x69,0x32,0x36, +0x37,0x36,0x07,0x75,0x6e,0x69,0x32,0x36,0x37,0x37,0x07,0x75,0x6e,0x69,0x32,0x36, +0x37,0x38,0x07,0x75,0x6e,0x69,0x32,0x36,0x37,0x39,0x07,0x75,0x6e,0x69,0x32,0x36, +0x37,0x41,0x07,0x75,0x6e,0x69,0x32,0x36,0x37,0x42,0x07,0x75,0x6e,0x69,0x32,0x36, +0x37,0x43,0x07,0x75,0x6e,0x69,0x32,0x36,0x37,0x44,0x07,0x75,0x6e,0x69,0x32,0x36, +0x37,0x45,0x07,0x75,0x6e,0x69,0x32,0x36,0x37,0x46,0x07,0x75,0x6e,0x69,0x32,0x36, +0x38,0x30,0x07,0x75,0x6e,0x69,0x32,0x36,0x38,0x31,0x07,0x75,0x6e,0x69,0x32,0x36, +0x38,0x32,0x07,0x75,0x6e,0x69,0x32,0x36,0x38,0x33,0x07,0x75,0x6e,0x69,0x32,0x36, +0x38,0x34,0x07,0x75,0x6e,0x69,0x32,0x36,0x38,0x35,0x07,0x75,0x6e,0x69,0x32,0x36, +0x38,0x36,0x07,0x75,0x6e,0x69,0x32,0x36,0x38,0x37,0x07,0x75,0x6e,0x69,0x32,0x36, +0x38,0x38,0x07,0x75,0x6e,0x69,0x32,0x36,0x38,0x39,0x07,0x75,0x6e,0x69,0x32,0x36, +0x38,0x41,0x07,0x75,0x6e,0x69,0x32,0x36,0x38,0x42,0x07,0x75,0x6e,0x69,0x32,0x36, +0x38,0x43,0x07,0x75,0x6e,0x69,0x32,0x36,0x38,0x44,0x07,0x75,0x6e,0x69,0x32,0x36, +0x38,0x45,0x07,0x75,0x6e,0x69,0x32,0x36,0x38,0x46,0x07,0x75,0x6e,0x69,0x32,0x36, +0x39,0x30,0x07,0x75,0x6e,0x69,0x32,0x36,0x39,0x31,0x07,0x75,0x6e,0x69,0x32,0x36, +0x39,0x32,0x07,0x75,0x6e,0x69,0x32,0x36,0x39,0x33,0x07,0x75,0x6e,0x69,0x32,0x36, +0x39,0x34,0x07,0x75,0x6e,0x69,0x32,0x36,0x39,0x35,0x07,0x75,0x6e,0x69,0x32,0x36, +0x39,0x36,0x07,0x75,0x6e,0x69,0x32,0x36,0x39,0x37,0x07,0x75,0x6e,0x69,0x32,0x36, +0x39,0x38,0x07,0x75,0x6e,0x69,0x32,0x36,0x39,0x39,0x07,0x75,0x6e,0x69,0x32,0x36, +0x39,0x41,0x07,0x75,0x6e,0x69,0x32,0x36,0x39,0x42,0x07,0x75,0x6e,0x69,0x32,0x36, +0x39,0x43,0x07,0x75,0x6e,0x69,0x32,0x36,0x41,0x30,0x07,0x75,0x6e,0x69,0x32,0x36, +0x41,0x31,0x07,0x75,0x6e,0x69,0x32,0x36,0x42,0x30,0x07,0x75,0x6e,0x69,0x32,0x36, +0x42,0x31,0x07,0x75,0x6e,0x69,0x32,0x37,0x30,0x31,0x07,0x75,0x6e,0x69,0x32,0x37, +0x30,0x32,0x07,0x75,0x6e,0x69,0x32,0x37,0x30,0x33,0x07,0x75,0x6e,0x69,0x32,0x37, +0x30,0x34,0x07,0x75,0x6e,0x69,0x32,0x37,0x30,0x36,0x07,0x75,0x6e,0x69,0x32,0x37, +0x30,0x37,0x07,0x75,0x6e,0x69,0x32,0x37,0x30,0x38,0x07,0x75,0x6e,0x69,0x32,0x37, +0x30,0x39,0x07,0x75,0x6e,0x69,0x32,0x37,0x30,0x43,0x07,0x75,0x6e,0x69,0x32,0x37, +0x30,0x44,0x07,0x75,0x6e,0x69,0x32,0x37,0x30,0x45,0x07,0x75,0x6e,0x69,0x32,0x37, +0x30,0x46,0x07,0x75,0x6e,0x69,0x32,0x37,0x31,0x30,0x07,0x75,0x6e,0x69,0x32,0x37, +0x31,0x31,0x07,0x75,0x6e,0x69,0x32,0x37,0x31,0x32,0x07,0x75,0x6e,0x69,0x32,0x37, +0x31,0x33,0x07,0x75,0x6e,0x69,0x32,0x37,0x31,0x34,0x07,0x75,0x6e,0x69,0x32,0x37, +0x31,0x35,0x07,0x75,0x6e,0x69,0x32,0x37,0x31,0x36,0x07,0x75,0x6e,0x69,0x32,0x37, +0x31,0x37,0x07,0x75,0x6e,0x69,0x32,0x37,0x31,0x38,0x07,0x75,0x6e,0x69,0x32,0x37, +0x31,0x39,0x07,0x75,0x6e,0x69,0x32,0x37,0x31,0x41,0x07,0x75,0x6e,0x69,0x32,0x37, +0x31,0x42,0x07,0x75,0x6e,0x69,0x32,0x37,0x31,0x43,0x07,0x75,0x6e,0x69,0x32,0x37, +0x31,0x44,0x07,0x75,0x6e,0x69,0x32,0x37,0x31,0x45,0x07,0x75,0x6e,0x69,0x32,0x37, +0x31,0x46,0x07,0x75,0x6e,0x69,0x32,0x37,0x32,0x30,0x07,0x75,0x6e,0x69,0x32,0x37, +0x32,0x31,0x07,0x75,0x6e,0x69,0x32,0x37,0x32,0x32,0x07,0x75,0x6e,0x69,0x32,0x37, +0x32,0x33,0x07,0x75,0x6e,0x69,0x32,0x37,0x32,0x34,0x07,0x75,0x6e,0x69,0x32,0x37, +0x32,0x35,0x07,0x75,0x6e,0x69,0x32,0x37,0x32,0x36,0x07,0x75,0x6e,0x69,0x32,0x37, +0x32,0x37,0x07,0x75,0x6e,0x69,0x32,0x37,0x32,0x39,0x07,0x75,0x6e,0x69,0x32,0x37, +0x32,0x41,0x07,0x75,0x6e,0x69,0x32,0x37,0x32,0x42,0x07,0x75,0x6e,0x69,0x32,0x37, +0x32,0x43,0x07,0x75,0x6e,0x69,0x32,0x37,0x32,0x44,0x07,0x75,0x6e,0x69,0x32,0x37, +0x32,0x45,0x07,0x75,0x6e,0x69,0x32,0x37,0x32,0x46,0x07,0x75,0x6e,0x69,0x32,0x37, +0x33,0x30,0x07,0x75,0x6e,0x69,0x32,0x37,0x33,0x31,0x07,0x75,0x6e,0x69,0x32,0x37, +0x33,0x32,0x07,0x75,0x6e,0x69,0x32,0x37,0x33,0x33,0x07,0x75,0x6e,0x69,0x32,0x37, +0x33,0x34,0x07,0x75,0x6e,0x69,0x32,0x37,0x33,0x35,0x07,0x75,0x6e,0x69,0x32,0x37, +0x33,0x36,0x07,0x75,0x6e,0x69,0x32,0x37,0x33,0x37,0x07,0x75,0x6e,0x69,0x32,0x37, +0x33,0x38,0x07,0x75,0x6e,0x69,0x32,0x37,0x33,0x39,0x07,0x75,0x6e,0x69,0x32,0x37, +0x33,0x41,0x07,0x75,0x6e,0x69,0x32,0x37,0x33,0x42,0x07,0x75,0x6e,0x69,0x32,0x37, +0x33,0x43,0x07,0x75,0x6e,0x69,0x32,0x37,0x33,0x44,0x07,0x75,0x6e,0x69,0x32,0x37, +0x33,0x45,0x07,0x75,0x6e,0x69,0x32,0x37,0x33,0x46,0x07,0x75,0x6e,0x69,0x32,0x37, +0x34,0x30,0x07,0x75,0x6e,0x69,0x32,0x37,0x34,0x31,0x07,0x75,0x6e,0x69,0x32,0x37, +0x34,0x32,0x07,0x75,0x6e,0x69,0x32,0x37,0x34,0x33,0x07,0x75,0x6e,0x69,0x32,0x37, +0x34,0x34,0x07,0x75,0x6e,0x69,0x32,0x37,0x34,0x35,0x07,0x75,0x6e,0x69,0x32,0x37, +0x34,0x36,0x07,0x75,0x6e,0x69,0x32,0x37,0x34,0x37,0x07,0x75,0x6e,0x69,0x32,0x37, +0x34,0x38,0x07,0x75,0x6e,0x69,0x32,0x37,0x34,0x39,0x07,0x75,0x6e,0x69,0x32,0x37, +0x34,0x41,0x07,0x75,0x6e,0x69,0x32,0x37,0x34,0x42,0x07,0x75,0x6e,0x69,0x32,0x37, +0x34,0x44,0x07,0x75,0x6e,0x69,0x32,0x37,0x34,0x46,0x07,0x75,0x6e,0x69,0x32,0x37, +0x35,0x30,0x07,0x75,0x6e,0x69,0x32,0x37,0x35,0x31,0x07,0x75,0x6e,0x69,0x32,0x37, +0x35,0x32,0x07,0x75,0x6e,0x69,0x32,0x37,0x35,0x36,0x07,0x75,0x6e,0x69,0x32,0x37, +0x35,0x38,0x07,0x75,0x6e,0x69,0x32,0x37,0x35,0x39,0x07,0x75,0x6e,0x69,0x32,0x37, +0x35,0x41,0x07,0x75,0x6e,0x69,0x32,0x37,0x35,0x42,0x07,0x75,0x6e,0x69,0x32,0x37, +0x35,0x43,0x07,0x75,0x6e,0x69,0x32,0x37,0x35,0x44,0x07,0x75,0x6e,0x69,0x32,0x37, +0x35,0x45,0x07,0x75,0x6e,0x69,0x32,0x37,0x36,0x31,0x07,0x75,0x6e,0x69,0x32,0x37, +0x36,0x32,0x07,0x75,0x6e,0x69,0x32,0x37,0x36,0x33,0x07,0x75,0x6e,0x69,0x32,0x37, +0x36,0x34,0x07,0x75,0x6e,0x69,0x32,0x37,0x36,0x35,0x07,0x75,0x6e,0x69,0x32,0x37, +0x36,0x36,0x07,0x75,0x6e,0x69,0x32,0x37,0x36,0x37,0x07,0x75,0x6e,0x69,0x32,0x37, +0x36,0x38,0x07,0x75,0x6e,0x69,0x32,0x37,0x36,0x39,0x07,0x75,0x6e,0x69,0x32,0x37, +0x36,0x41,0x07,0x75,0x6e,0x69,0x32,0x37,0x36,0x42,0x07,0x75,0x6e,0x69,0x32,0x37, +0x36,0x43,0x07,0x75,0x6e,0x69,0x32,0x37,0x36,0x44,0x07,0x75,0x6e,0x69,0x32,0x37, +0x36,0x45,0x07,0x75,0x6e,0x69,0x32,0x37,0x36,0x46,0x07,0x75,0x6e,0x69,0x32,0x37, +0x37,0x30,0x07,0x75,0x6e,0x69,0x32,0x37,0x37,0x31,0x07,0x75,0x6e,0x69,0x32,0x37, +0x37,0x32,0x07,0x75,0x6e,0x69,0x32,0x37,0x37,0x33,0x07,0x75,0x6e,0x69,0x32,0x37, +0x37,0x34,0x07,0x75,0x6e,0x69,0x32,0x37,0x37,0x35,0x07,0x75,0x6e,0x69,0x32,0x37, +0x37,0x36,0x07,0x75,0x6e,0x69,0x32,0x37,0x37,0x37,0x07,0x75,0x6e,0x69,0x32,0x37, +0x37,0x38,0x07,0x75,0x6e,0x69,0x32,0x37,0x37,0x39,0x07,0x75,0x6e,0x69,0x32,0x37, +0x37,0x41,0x07,0x75,0x6e,0x69,0x32,0x37,0x37,0x42,0x07,0x75,0x6e,0x69,0x32,0x37, +0x37,0x43,0x07,0x75,0x6e,0x69,0x32,0x37,0x37,0x44,0x07,0x75,0x6e,0x69,0x32,0x37, +0x37,0x45,0x07,0x75,0x6e,0x69,0x32,0x37,0x37,0x46,0x07,0x75,0x6e,0x69,0x32,0x37, +0x38,0x30,0x07,0x75,0x6e,0x69,0x32,0x37,0x38,0x31,0x07,0x75,0x6e,0x69,0x32,0x37, +0x38,0x32,0x07,0x75,0x6e,0x69,0x32,0x37,0x38,0x33,0x07,0x75,0x6e,0x69,0x32,0x37, +0x38,0x34,0x07,0x75,0x6e,0x69,0x32,0x37,0x38,0x35,0x07,0x75,0x6e,0x69,0x32,0x37, +0x38,0x36,0x07,0x75,0x6e,0x69,0x32,0x37,0x38,0x37,0x07,0x75,0x6e,0x69,0x32,0x37, +0x38,0x38,0x07,0x75,0x6e,0x69,0x32,0x37,0x38,0x39,0x07,0x75,0x6e,0x69,0x32,0x37, +0x38,0x41,0x07,0x75,0x6e,0x69,0x32,0x37,0x38,0x42,0x07,0x75,0x6e,0x69,0x32,0x37, +0x38,0x43,0x07,0x75,0x6e,0x69,0x32,0x37,0x38,0x44,0x07,0x75,0x6e,0x69,0x32,0x37, +0x38,0x45,0x07,0x75,0x6e,0x69,0x32,0x37,0x38,0x46,0x07,0x75,0x6e,0x69,0x32,0x37, +0x39,0x30,0x07,0x75,0x6e,0x69,0x32,0x37,0x39,0x31,0x07,0x75,0x6e,0x69,0x32,0x37, +0x39,0x32,0x07,0x75,0x6e,0x69,0x32,0x37,0x39,0x33,0x07,0x75,0x6e,0x69,0x32,0x37, +0x39,0x34,0x07,0x75,0x6e,0x69,0x32,0x37,0x39,0x38,0x07,0x75,0x6e,0x69,0x32,0x37, +0x39,0x39,0x07,0x75,0x6e,0x69,0x32,0x37,0x39,0x41,0x07,0x75,0x6e,0x69,0x32,0x37, +0x39,0x42,0x07,0x75,0x6e,0x69,0x32,0x37,0x39,0x43,0x07,0x75,0x6e,0x69,0x32,0x37, +0x39,0x44,0x07,0x75,0x6e,0x69,0x32,0x37,0x39,0x45,0x07,0x75,0x6e,0x69,0x32,0x37, +0x39,0x46,0x07,0x75,0x6e,0x69,0x32,0x37,0x41,0x30,0x07,0x75,0x6e,0x69,0x32,0x37, +0x41,0x31,0x07,0x75,0x6e,0x69,0x32,0x37,0x41,0x32,0x07,0x75,0x6e,0x69,0x32,0x37, +0x41,0x33,0x07,0x75,0x6e,0x69,0x32,0x37,0x41,0x34,0x07,0x75,0x6e,0x69,0x32,0x37, +0x41,0x35,0x07,0x75,0x6e,0x69,0x32,0x37,0x41,0x36,0x07,0x75,0x6e,0x69,0x32,0x37, +0x41,0x37,0x07,0x75,0x6e,0x69,0x32,0x37,0x41,0x38,0x07,0x75,0x6e,0x69,0x32,0x37, +0x41,0x39,0x07,0x75,0x6e,0x69,0x32,0x37,0x41,0x41,0x07,0x75,0x6e,0x69,0x32,0x37, +0x41,0x42,0x07,0x75,0x6e,0x69,0x32,0x37,0x41,0x43,0x07,0x75,0x6e,0x69,0x32,0x37, +0x41,0x44,0x07,0x75,0x6e,0x69,0x32,0x37,0x41,0x45,0x07,0x75,0x6e,0x69,0x32,0x37, +0x41,0x46,0x07,0x75,0x6e,0x69,0x32,0x37,0x42,0x31,0x07,0x75,0x6e,0x69,0x32,0x37, +0x42,0x32,0x07,0x75,0x6e,0x69,0x32,0x37,0x42,0x33,0x07,0x75,0x6e,0x69,0x32,0x37, +0x42,0x34,0x07,0x75,0x6e,0x69,0x32,0x37,0x42,0x35,0x07,0x75,0x6e,0x69,0x32,0x37, +0x42,0x36,0x07,0x75,0x6e,0x69,0x32,0x37,0x42,0x37,0x07,0x75,0x6e,0x69,0x32,0x37, +0x42,0x38,0x07,0x75,0x6e,0x69,0x32,0x37,0x42,0x39,0x07,0x75,0x6e,0x69,0x32,0x37, +0x42,0x41,0x07,0x75,0x6e,0x69,0x32,0x37,0x42,0x42,0x07,0x75,0x6e,0x69,0x32,0x37, +0x42,0x43,0x07,0x75,0x6e,0x69,0x32,0x37,0x42,0x44,0x07,0x75,0x6e,0x69,0x32,0x37, +0x42,0x45,0x07,0x75,0x6e,0x69,0x32,0x37,0x45,0x30,0x07,0x75,0x6e,0x69,0x32,0x37, +0x45,0x38,0x07,0x75,0x6e,0x69,0x32,0x37,0x45,0x39,0x07,0x75,0x6e,0x69,0x32,0x37, +0x45,0x41,0x07,0x75,0x6e,0x69,0x32,0x37,0x45,0x42,0x07,0x75,0x6e,0x69,0x32,0x39, +0x45,0x42,0x07,0x75,0x6e,0x69,0x32,0x41,0x30,0x43,0x07,0x75,0x6e,0x69,0x32,0x41, +0x30,0x44,0x07,0x75,0x6e,0x69,0x32,0x41,0x30,0x45,0x07,0x75,0x6e,0x69,0x32,0x42, +0x31,0x32,0x07,0x75,0x6e,0x69,0x32,0x42,0x31,0x33,0x07,0x75,0x6e,0x69,0x45,0x30, +0x30,0x30,0x07,0x75,0x6e,0x69,0x45,0x30,0x30,0x31,0x07,0x75,0x6e,0x69,0x45,0x30, +0x30,0x32,0x07,0x75,0x6e,0x69,0x45,0x30,0x30,0x33,0x07,0x75,0x6e,0x69,0x45,0x30, +0x30,0x34,0x07,0x75,0x6e,0x69,0x45,0x30,0x30,0x35,0x07,0x75,0x6e,0x69,0x45,0x30, +0x30,0x36,0x07,0x75,0x6e,0x69,0x45,0x30,0x30,0x37,0x07,0x75,0x6e,0x69,0x45,0x30, +0x30,0x38,0x07,0x75,0x6e,0x69,0x45,0x30,0x30,0x39,0x07,0x75,0x6e,0x69,0x45,0x30, +0x30,0x41,0x07,0x75,0x6e,0x69,0x45,0x30,0x30,0x42,0x07,0x75,0x6e,0x69,0x45,0x30, +0x30,0x43,0x07,0x75,0x6e,0x69,0x45,0x30,0x30,0x44,0x07,0x75,0x6e,0x69,0x45,0x30, +0x30,0x45,0x07,0x75,0x6e,0x69,0x45,0x30,0x30,0x46,0x07,0x75,0x6e,0x69,0x45,0x30, +0x31,0x30,0x07,0x75,0x6e,0x69,0x45,0x30,0x31,0x31,0x07,0x75,0x6e,0x69,0x45,0x30, +0x31,0x32,0x07,0x75,0x6e,0x69,0x45,0x30,0x31,0x33,0x07,0x75,0x6e,0x69,0x45,0x30, +0x31,0x34,0x07,0x75,0x6e,0x69,0x46,0x42,0x30,0x30,0x07,0x75,0x6e,0x69,0x46,0x42, +0x30,0x33,0x07,0x75,0x6e,0x69,0x46,0x42,0x30,0x34,0x07,0x75,0x6e,0x69,0x46,0x42, +0x30,0x35,0x07,0x75,0x6e,0x69,0x46,0x42,0x30,0x36,0x07,0x75,0x6e,0x69,0x46,0x42, +0x31,0x33,0x07,0x75,0x6e,0x69,0x46,0x42,0x31,0x34,0x07,0x75,0x6e,0x69,0x46,0x42, +0x31,0x35,0x07,0x75,0x6e,0x69,0x46,0x42,0x31,0x36,0x07,0x75,0x6e,0x69,0x46,0x42, +0x31,0x37,0x07,0x75,0x6e,0x69,0x46,0x42,0x35,0x32,0x07,0x75,0x6e,0x69,0x46,0x42, +0x35,0x33,0x07,0x75,0x6e,0x69,0x46,0x42,0x35,0x34,0x07,0x75,0x6e,0x69,0x46,0x42, +0x35,0x35,0x07,0x75,0x6e,0x69,0x46,0x42,0x35,0x36,0x07,0x75,0x6e,0x69,0x46,0x42, +0x35,0x37,0x07,0x75,0x6e,0x69,0x46,0x42,0x35,0x38,0x07,0x75,0x6e,0x69,0x46,0x42, +0x35,0x39,0x07,0x75,0x6e,0x69,0x46,0x42,0x35,0x41,0x07,0x75,0x6e,0x69,0x46,0x42, +0x35,0x42,0x07,0x75,0x6e,0x69,0x46,0x42,0x35,0x43,0x07,0x75,0x6e,0x69,0x46,0x42, +0x35,0x44,0x07,0x75,0x6e,0x69,0x46,0x42,0x35,0x45,0x07,0x75,0x6e,0x69,0x46,0x42, +0x35,0x46,0x07,0x75,0x6e,0x69,0x46,0x42,0x36,0x30,0x07,0x75,0x6e,0x69,0x46,0x42, +0x36,0x31,0x07,0x75,0x6e,0x69,0x46,0x42,0x36,0x32,0x07,0x75,0x6e,0x69,0x46,0x42, +0x36,0x33,0x07,0x75,0x6e,0x69,0x46,0x42,0x36,0x34,0x07,0x75,0x6e,0x69,0x46,0x42, +0x36,0x35,0x07,0x75,0x6e,0x69,0x46,0x42,0x36,0x36,0x07,0x75,0x6e,0x69,0x46,0x42, +0x36,0x37,0x07,0x75,0x6e,0x69,0x46,0x42,0x36,0x38,0x07,0x75,0x6e,0x69,0x46,0x42, +0x36,0x39,0x07,0x75,0x6e,0x69,0x46,0x42,0x36,0x41,0x07,0x75,0x6e,0x69,0x46,0x42, +0x36,0x42,0x07,0x75,0x6e,0x69,0x46,0x42,0x36,0x43,0x07,0x75,0x6e,0x69,0x46,0x42, +0x36,0x44,0x07,0x75,0x6e,0x69,0x46,0x42,0x36,0x45,0x07,0x75,0x6e,0x69,0x46,0x42, +0x36,0x46,0x07,0x75,0x6e,0x69,0x46,0x42,0x37,0x30,0x07,0x75,0x6e,0x69,0x46,0x42, +0x37,0x31,0x07,0x75,0x6e,0x69,0x46,0x42,0x37,0x32,0x07,0x75,0x6e,0x69,0x46,0x42, +0x37,0x33,0x07,0x75,0x6e,0x69,0x46,0x42,0x37,0x34,0x07,0x75,0x6e,0x69,0x46,0x42, +0x37,0x35,0x07,0x75,0x6e,0x69,0x46,0x42,0x37,0x36,0x07,0x75,0x6e,0x69,0x46,0x42, +0x37,0x37,0x07,0x75,0x6e,0x69,0x46,0x42,0x37,0x38,0x07,0x75,0x6e,0x69,0x46,0x42, +0x37,0x39,0x07,0x75,0x6e,0x69,0x46,0x42,0x37,0x41,0x07,0x75,0x6e,0x69,0x46,0x42, +0x37,0x42,0x07,0x75,0x6e,0x69,0x46,0x42,0x37,0x43,0x07,0x75,0x6e,0x69,0x46,0x42, +0x37,0x44,0x07,0x75,0x6e,0x69,0x46,0x42,0x37,0x45,0x07,0x75,0x6e,0x69,0x46,0x42, +0x37,0x46,0x07,0x75,0x6e,0x69,0x46,0x42,0x38,0x30,0x07,0x75,0x6e,0x69,0x46,0x42, +0x38,0x31,0x07,0x75,0x6e,0x69,0x46,0x42,0x38,0x41,0x07,0x75,0x6e,0x69,0x46,0x42, +0x38,0x42,0x07,0x75,0x6e,0x69,0x46,0x42,0x38,0x43,0x07,0x75,0x6e,0x69,0x46,0x42, +0x38,0x44,0x07,0x75,0x6e,0x69,0x46,0x42,0x38,0x45,0x07,0x75,0x6e,0x69,0x46,0x42, +0x38,0x46,0x07,0x75,0x6e,0x69,0x46,0x42,0x39,0x30,0x07,0x75,0x6e,0x69,0x46,0x42, +0x39,0x31,0x07,0x75,0x6e,0x69,0x46,0x42,0x39,0x32,0x07,0x75,0x6e,0x69,0x46,0x42, +0x39,0x33,0x07,0x75,0x6e,0x69,0x46,0x42,0x39,0x34,0x07,0x75,0x6e,0x69,0x46,0x42, +0x39,0x35,0x07,0x75,0x6e,0x69,0x46,0x42,0x39,0x45,0x07,0x75,0x6e,0x69,0x46,0x42, +0x39,0x46,0x07,0x75,0x6e,0x69,0x46,0x42,0x45,0x38,0x07,0x75,0x6e,0x69,0x46,0x42, +0x45,0x39,0x07,0x75,0x6e,0x69,0x46,0x42,0x46,0x43,0x07,0x75,0x6e,0x69,0x46,0x42, +0x46,0x44,0x07,0x75,0x6e,0x69,0x46,0x42,0x46,0x45,0x07,0x75,0x6e,0x69,0x46,0x42, +0x46,0x46,0x07,0x75,0x6e,0x69,0x46,0x45,0x37,0x30,0x07,0x75,0x6e,0x69,0x46,0x45, +0x37,0x31,0x07,0x75,0x6e,0x69,0x46,0x45,0x37,0x32,0x07,0x75,0x6e,0x69,0x46,0x45, +0x37,0x33,0x07,0x75,0x6e,0x69,0x46,0x45,0x37,0x34,0x07,0x75,0x6e,0x69,0x46,0x45, +0x37,0x36,0x07,0x75,0x6e,0x69,0x46,0x45,0x37,0x37,0x07,0x75,0x6e,0x69,0x46,0x45, +0x37,0x38,0x07,0x75,0x6e,0x69,0x46,0x45,0x37,0x39,0x07,0x75,0x6e,0x69,0x46,0x45, +0x37,0x41,0x07,0x75,0x6e,0x69,0x46,0x45,0x37,0x42,0x07,0x75,0x6e,0x69,0x46,0x45, +0x37,0x43,0x07,0x75,0x6e,0x69,0x46,0x45,0x37,0x44,0x07,0x75,0x6e,0x69,0x46,0x45, +0x37,0x45,0x07,0x75,0x6e,0x69,0x46,0x45,0x37,0x46,0x07,0x75,0x6e,0x69,0x46,0x45, +0x38,0x30,0x07,0x75,0x6e,0x69,0x46,0x45,0x38,0x31,0x07,0x75,0x6e,0x69,0x46,0x45, +0x38,0x32,0x07,0x75,0x6e,0x69,0x46,0x45,0x38,0x33,0x07,0x75,0x6e,0x69,0x46,0x45, +0x38,0x34,0x07,0x75,0x6e,0x69,0x46,0x45,0x38,0x35,0x07,0x75,0x6e,0x69,0x46,0x45, +0x38,0x36,0x07,0x75,0x6e,0x69,0x46,0x45,0x38,0x37,0x07,0x75,0x6e,0x69,0x46,0x45, +0x38,0x38,0x07,0x75,0x6e,0x69,0x46,0x45,0x38,0x39,0x07,0x75,0x6e,0x69,0x46,0x45, +0x38,0x41,0x07,0x75,0x6e,0x69,0x46,0x45,0x38,0x42,0x07,0x75,0x6e,0x69,0x46,0x45, +0x38,0x43,0x07,0x75,0x6e,0x69,0x46,0x45,0x38,0x44,0x07,0x75,0x6e,0x69,0x46,0x45, +0x38,0x45,0x07,0x75,0x6e,0x69,0x46,0x45,0x38,0x46,0x07,0x75,0x6e,0x69,0x46,0x45, +0x39,0x30,0x07,0x75,0x6e,0x69,0x46,0x45,0x39,0x31,0x07,0x75,0x6e,0x69,0x46,0x45, +0x39,0x32,0x07,0x75,0x6e,0x69,0x46,0x45,0x39,0x33,0x07,0x75,0x6e,0x69,0x46,0x45, +0x39,0x34,0x07,0x75,0x6e,0x69,0x46,0x45,0x39,0x35,0x07,0x75,0x6e,0x69,0x46,0x45, +0x39,0x36,0x07,0x75,0x6e,0x69,0x46,0x45,0x39,0x37,0x07,0x75,0x6e,0x69,0x46,0x45, +0x39,0x38,0x07,0x75,0x6e,0x69,0x46,0x45,0x39,0x39,0x07,0x75,0x6e,0x69,0x46,0x45, +0x39,0x41,0x07,0x75,0x6e,0x69,0x46,0x45,0x39,0x42,0x07,0x75,0x6e,0x69,0x46,0x45, +0x39,0x43,0x07,0x75,0x6e,0x69,0x46,0x45,0x39,0x44,0x07,0x75,0x6e,0x69,0x46,0x45, +0x39,0x45,0x07,0x75,0x6e,0x69,0x46,0x45,0x39,0x46,0x07,0x75,0x6e,0x69,0x46,0x45, +0x41,0x30,0x07,0x75,0x6e,0x69,0x46,0x45,0x41,0x31,0x07,0x75,0x6e,0x69,0x46,0x45, +0x41,0x32,0x07,0x75,0x6e,0x69,0x46,0x45,0x41,0x33,0x07,0x75,0x6e,0x69,0x46,0x45, +0x41,0x34,0x07,0x75,0x6e,0x69,0x46,0x45,0x41,0x35,0x07,0x75,0x6e,0x69,0x46,0x45, +0x41,0x36,0x07,0x75,0x6e,0x69,0x46,0x45,0x41,0x37,0x07,0x75,0x6e,0x69,0x46,0x45, +0x41,0x38,0x07,0x75,0x6e,0x69,0x46,0x45,0x41,0x39,0x07,0x75,0x6e,0x69,0x46,0x45, +0x41,0x41,0x07,0x75,0x6e,0x69,0x46,0x45,0x41,0x42,0x07,0x75,0x6e,0x69,0x46,0x45, +0x41,0x43,0x07,0x75,0x6e,0x69,0x46,0x45,0x41,0x44,0x07,0x75,0x6e,0x69,0x46,0x45, +0x41,0x45,0x07,0x75,0x6e,0x69,0x46,0x45,0x41,0x46,0x07,0x75,0x6e,0x69,0x46,0x45, +0x42,0x30,0x07,0x75,0x6e,0x69,0x46,0x45,0x42,0x31,0x07,0x75,0x6e,0x69,0x46,0x45, +0x42,0x32,0x07,0x75,0x6e,0x69,0x46,0x45,0x42,0x33,0x07,0x75,0x6e,0x69,0x46,0x45, +0x42,0x34,0x07,0x75,0x6e,0x69,0x46,0x45,0x42,0x35,0x07,0x75,0x6e,0x69,0x46,0x45, +0x42,0x36,0x07,0x75,0x6e,0x69,0x46,0x45,0x42,0x37,0x07,0x75,0x6e,0x69,0x46,0x45, +0x42,0x38,0x07,0x75,0x6e,0x69,0x46,0x45,0x42,0x39,0x07,0x75,0x6e,0x69,0x46,0x45, +0x42,0x41,0x07,0x75,0x6e,0x69,0x46,0x45,0x42,0x42,0x07,0x75,0x6e,0x69,0x46,0x45, +0x42,0x43,0x07,0x75,0x6e,0x69,0x46,0x45,0x42,0x44,0x07,0x75,0x6e,0x69,0x46,0x45, +0x42,0x45,0x07,0x75,0x6e,0x69,0x46,0x45,0x42,0x46,0x07,0x75,0x6e,0x69,0x46,0x45, +0x43,0x30,0x07,0x75,0x6e,0x69,0x46,0x45,0x43,0x31,0x07,0x75,0x6e,0x69,0x46,0x45, +0x43,0x32,0x07,0x75,0x6e,0x69,0x46,0x45,0x43,0x33,0x07,0x75,0x6e,0x69,0x46,0x45, +0x43,0x34,0x07,0x75,0x6e,0x69,0x46,0x45,0x43,0x35,0x07,0x75,0x6e,0x69,0x46,0x45, +0x43,0x36,0x07,0x75,0x6e,0x69,0x46,0x45,0x43,0x37,0x07,0x75,0x6e,0x69,0x46,0x45, +0x43,0x38,0x07,0x75,0x6e,0x69,0x46,0x45,0x43,0x39,0x07,0x75,0x6e,0x69,0x46,0x45, +0x43,0x41,0x07,0x75,0x6e,0x69,0x46,0x45,0x43,0x42,0x07,0x75,0x6e,0x69,0x46,0x45, +0x43,0x43,0x07,0x75,0x6e,0x69,0x46,0x45,0x43,0x44,0x07,0x75,0x6e,0x69,0x46,0x45, +0x43,0x45,0x07,0x75,0x6e,0x69,0x46,0x45,0x43,0x46,0x07,0x75,0x6e,0x69,0x46,0x45, +0x44,0x30,0x07,0x75,0x6e,0x69,0x46,0x45,0x44,0x31,0x07,0x75,0x6e,0x69,0x46,0x45, +0x44,0x32,0x07,0x75,0x6e,0x69,0x46,0x45,0x44,0x33,0x07,0x75,0x6e,0x69,0x46,0x45, +0x44,0x34,0x07,0x75,0x6e,0x69,0x46,0x45,0x44,0x35,0x07,0x75,0x6e,0x69,0x46,0x45, +0x44,0x36,0x07,0x75,0x6e,0x69,0x46,0x45,0x44,0x37,0x07,0x75,0x6e,0x69,0x46,0x45, +0x44,0x38,0x07,0x75,0x6e,0x69,0x46,0x45,0x44,0x39,0x07,0x75,0x6e,0x69,0x46,0x45, +0x44,0x41,0x07,0x75,0x6e,0x69,0x46,0x45,0x44,0x42,0x07,0x75,0x6e,0x69,0x46,0x45, +0x44,0x43,0x07,0x75,0x6e,0x69,0x46,0x45,0x44,0x44,0x07,0x75,0x6e,0x69,0x46,0x45, +0x44,0x45,0x07,0x75,0x6e,0x69,0x46,0x45,0x44,0x46,0x07,0x75,0x6e,0x69,0x46,0x45, +0x45,0x30,0x07,0x75,0x6e,0x69,0x46,0x45,0x45,0x31,0x07,0x75,0x6e,0x69,0x46,0x45, +0x45,0x32,0x07,0x75,0x6e,0x69,0x46,0x45,0x45,0x33,0x07,0x75,0x6e,0x69,0x46,0x45, +0x45,0x34,0x07,0x75,0x6e,0x69,0x46,0x45,0x45,0x35,0x07,0x75,0x6e,0x69,0x46,0x45, +0x45,0x36,0x07,0x75,0x6e,0x69,0x46,0x45,0x45,0x37,0x07,0x75,0x6e,0x69,0x46,0x45, +0x45,0x38,0x07,0x75,0x6e,0x69,0x46,0x45,0x45,0x39,0x07,0x75,0x6e,0x69,0x46,0x45, +0x45,0x41,0x07,0x75,0x6e,0x69,0x46,0x45,0x45,0x42,0x07,0x75,0x6e,0x69,0x46,0x45, +0x45,0x43,0x07,0x75,0x6e,0x69,0x46,0x45,0x45,0x44,0x07,0x75,0x6e,0x69,0x46,0x45, +0x45,0x45,0x07,0x75,0x6e,0x69,0x46,0x45,0x45,0x46,0x07,0x75,0x6e,0x69,0x46,0x45, +0x46,0x30,0x07,0x75,0x6e,0x69,0x46,0x45,0x46,0x31,0x07,0x75,0x6e,0x69,0x46,0x45, +0x46,0x32,0x07,0x75,0x6e,0x69,0x46,0x45,0x46,0x33,0x07,0x75,0x6e,0x69,0x46,0x45, +0x46,0x34,0x07,0x75,0x6e,0x69,0x46,0x45,0x46,0x35,0x07,0x75,0x6e,0x69,0x46,0x45, +0x46,0x36,0x07,0x75,0x6e,0x69,0x46,0x45,0x46,0x37,0x07,0x75,0x6e,0x69,0x46,0x45, +0x46,0x38,0x07,0x75,0x6e,0x69,0x46,0x45,0x46,0x39,0x07,0x75,0x6e,0x69,0x46,0x45, +0x46,0x41,0x07,0x75,0x6e,0x69,0x46,0x45,0x46,0x42,0x07,0x75,0x6e,0x69,0x46,0x45, +0x46,0x43,0x07,0x75,0x6e,0x69,0x46,0x45,0x46,0x46,0x07,0x75,0x6e,0x69,0x46,0x46, +0x46,0x44,0x09,0x64,0x6c,0x4c,0x74,0x63,0x61,0x72,0x6f,0x6e,0x08,0x44,0x69,0x65, +0x72,0x65,0x73,0x69,0x73,0x05,0x41,0x63,0x75,0x74,0x65,0x05,0x54,0x69,0x6c,0x64, +0x65,0x05,0x47,0x72,0x61,0x76,0x65,0x0a,0x43,0x69,0x72,0x63,0x75,0x6d,0x66,0x6c, +0x65,0x78,0x05,0x43,0x61,0x72,0x6f,0x6e,0x0c,0x75,0x6e,0x69,0x30,0x33,0x31,0x31, +0x2e,0x63,0x61,0x73,0x65,0x05,0x42,0x72,0x65,0x76,0x65,0x09,0x44,0x6f,0x74,0x61, +0x63,0x63,0x65,0x6e,0x74,0x0c,0x48,0x75,0x6e,0x67,0x61,0x72,0x75,0x6d,0x6c,0x61, +0x75,0x74,0x0b,0x44,0x6f,0x75,0x62,0x6c,0x65,0x61,0x63,0x75,0x74,0x65,0x0a,0x61, +0x72,0x61,0x62,0x69,0x63,0x5f,0x64,0x6f,0x74,0x0c,0x61,0x72,0x61,0x62,0x69,0x63, +0x5f,0x32,0x64,0x6f,0x74,0x73,0x0c,0x61,0x72,0x61,0x62,0x69,0x63,0x5f,0x33,0x64, +0x6f,0x74,0x73,0x0e,0x61,0x72,0x61,0x62,0x69,0x63,0x5f,0x33,0x64,0x6f,0x74,0x73, +0x5f,0x61,0x0e,0x61,0x72,0x61,0x62,0x69,0x63,0x5f,0x32,0x64,0x6f,0x74,0x73,0x5f, +0x61,0x0c,0x61,0x72,0x61,0x62,0x69,0x63,0x5f,0x34,0x64,0x6f,0x74,0x73,0x0c,0x75, +0x6e,0x69,0x30,0x36,0x36,0x45,0x2e,0x66,0x69,0x6e,0x61,0x0c,0x75,0x6e,0x69,0x30, +0x36,0x36,0x45,0x2e,0x69,0x6e,0x69,0x74,0x0c,0x75,0x6e,0x69,0x30,0x36,0x36,0x45, +0x2e,0x6d,0x65,0x64,0x69,0x0c,0x75,0x6e,0x69,0x30,0x36,0x41,0x31,0x2e,0x66,0x69, +0x6e,0x61,0x0c,0x75,0x6e,0x69,0x30,0x36,0x41,0x31,0x2e,0x69,0x6e,0x69,0x74,0x0c, +0x75,0x6e,0x69,0x30,0x36,0x41,0x31,0x2e,0x6d,0x65,0x64,0x69,0x0c,0x75,0x6e,0x69, +0x30,0x36,0x36,0x46,0x2e,0x66,0x69,0x6e,0x61,0x0c,0x75,0x6e,0x69,0x30,0x36,0x36, +0x46,0x2e,0x69,0x6e,0x69,0x74,0x0c,0x75,0x6e,0x69,0x30,0x36,0x36,0x46,0x2e,0x6d, +0x65,0x64,0x69,0x0c,0x75,0x6e,0x69,0x30,0x36,0x42,0x41,0x2e,0x69,0x6e,0x69,0x74, +0x0c,0x75,0x6e,0x69,0x30,0x36,0x42,0x41,0x2e,0x6d,0x65,0x64,0x69,0x0b,0x61,0x72, +0x61,0x62,0x69,0x63,0x5f,0x72,0x69,0x6e,0x67,0x0c,0x75,0x6e,0x69,0x30,0x36,0x37, +0x43,0x2e,0x66,0x69,0x6e,0x61,0x0c,0x75,0x6e,0x69,0x30,0x36,0x37,0x43,0x2e,0x69, +0x6e,0x69,0x74,0x0c,0x75,0x6e,0x69,0x30,0x36,0x37,0x43,0x2e,0x6d,0x65,0x64,0x69, +0x0c,0x75,0x6e,0x69,0x30,0x36,0x37,0x44,0x2e,0x66,0x69,0x6e,0x61,0x0c,0x75,0x6e, +0x69,0x30,0x36,0x37,0x44,0x2e,0x69,0x6e,0x69,0x74,0x0c,0x75,0x6e,0x69,0x30,0x36, +0x37,0x44,0x2e,0x6d,0x65,0x64,0x69,0x0c,0x75,0x6e,0x69,0x30,0x36,0x38,0x31,0x2e, +0x66,0x69,0x6e,0x61,0x0c,0x75,0x6e,0x69,0x30,0x36,0x38,0x31,0x2e,0x69,0x6e,0x69, +0x74,0x0c,0x75,0x6e,0x69,0x30,0x36,0x38,0x31,0x2e,0x6d,0x65,0x64,0x69,0x0c,0x75, +0x6e,0x69,0x30,0x36,0x38,0x32,0x2e,0x66,0x69,0x6e,0x61,0x0c,0x75,0x6e,0x69,0x30, +0x36,0x38,0x32,0x2e,0x69,0x6e,0x69,0x74,0x0c,0x75,0x6e,0x69,0x30,0x36,0x38,0x32, +0x2e,0x6d,0x65,0x64,0x69,0x0c,0x75,0x6e,0x69,0x30,0x36,0x38,0x35,0x2e,0x66,0x69, +0x6e,0x61,0x0c,0x75,0x6e,0x69,0x30,0x36,0x38,0x35,0x2e,0x69,0x6e,0x69,0x74,0x0c, +0x75,0x6e,0x69,0x30,0x36,0x38,0x35,0x2e,0x6d,0x65,0x64,0x69,0x0c,0x75,0x6e,0x69, +0x30,0x36,0x42,0x46,0x2e,0x66,0x69,0x6e,0x61,0x0c,0x75,0x6e,0x69,0x30,0x36,0x42, +0x46,0x2e,0x69,0x6e,0x69,0x74,0x0c,0x75,0x6e,0x69,0x30,0x36,0x42,0x46,0x2e,0x6d, +0x65,0x64,0x69,0x0e,0x61,0x72,0x61,0x62,0x69,0x63,0x5f,0x67,0x61,0x66,0x5f,0x62, +0x61,0x72,0x07,0x45,0x6e,0x67,0x2e,0x61,0x6c,0x74,0x0f,0x75,0x6e,0x69,0x30,0x32, +0x36,0x38,0x2e,0x64,0x6f,0x74,0x6c,0x65,0x73,0x73,0x0f,0x75,0x6e,0x69,0x30,0x32, +0x39,0x44,0x2e,0x64,0x6f,0x74,0x6c,0x65,0x73,0x73,0x0b,0x75,0x6e,0x69,0x30,0x33, +0x30,0x38,0x30,0x33,0x30,0x34,0x0b,0x75,0x6e,0x69,0x30,0x33,0x30,0x34,0x30,0x33, +0x30,0x38,0x0b,0x75,0x6e,0x69,0x30,0x33,0x30,0x37,0x30,0x33,0x30,0x34,0x0b,0x75, +0x6e,0x69,0x30,0x33,0x30,0x38,0x30,0x33,0x30,0x31,0x0b,0x75,0x6e,0x69,0x30,0x33, +0x30,0x38,0x30,0x33,0x30,0x30,0x0b,0x75,0x6e,0x69,0x30,0x33,0x30,0x34,0x30,0x33, +0x30,0x31,0x0b,0x75,0x6e,0x69,0x30,0x33,0x30,0x34,0x30,0x33,0x30,0x30,0x0b,0x75, +0x6e,0x69,0x30,0x33,0x30,0x33,0x30,0x33,0x30,0x34,0x0b,0x75,0x6e,0x69,0x30,0x33, +0x30,0x38,0x30,0x33,0x30,0x43,0x0b,0x75,0x6e,0x69,0x30,0x33,0x30,0x33,0x30,0x33, +0x30,0x38,0x0b,0x75,0x6e,0x69,0x30,0x33,0x30,0x43,0x30,0x33,0x30,0x37,0x0b,0x75, +0x6e,0x69,0x30,0x33,0x30,0x33,0x30,0x33,0x30,0x31,0x0b,0x75,0x6e,0x69,0x30,0x33, +0x30,0x32,0x30,0x33,0x30,0x31,0x0b,0x75,0x6e,0x69,0x30,0x33,0x30,0x32,0x30,0x33, +0x30,0x30,0x0b,0x75,0x6e,0x69,0x30,0x33,0x30,0x32,0x30,0x33,0x30,0x33,0x0b,0x75, +0x6e,0x69,0x30,0x33,0x30,0x36,0x30,0x33,0x30,0x33,0x0b,0x75,0x6e,0x69,0x30,0x33, +0x30,0x36,0x30,0x33,0x30,0x31,0x0b,0x75,0x6e,0x69,0x30,0x33,0x30,0x36,0x30,0x33, +0x30,0x30,0x0b,0x75,0x6e,0x69,0x30,0x33,0x30,0x36,0x30,0x33,0x30,0x39,0x0b,0x75, +0x6e,0x69,0x30,0x33,0x30,0x32,0x30,0x33,0x30,0x39,0x0b,0x75,0x6e,0x69,0x30,0x33, +0x30,0x31,0x30,0x33,0x30,0x37,0x00,0x00,0xb8,0x02,0x80,0x40,0xff,0xfb,0xfe,0x03, +0xfa,0x14,0x03,0xf9,0x25,0x03,0xf8,0x32,0x03,0xf7,0x96,0x03,0xf6,0x0e,0x03,0xf5, +0xfe,0x03,0xf4,0xfe,0x03,0xf3,0x25,0x03,0xf2,0x0e,0x03,0xf1,0x96,0x03,0xf0,0x25, +0x03,0xef,0x8a,0x41,0x05,0xef,0xfe,0x03,0xee,0x96,0x03,0xed,0x96,0x03,0xec,0xfa, +0x03,0xeb,0xfa,0x03,0xea,0xfe,0x03,0xe9,0x3a,0x03,0xe8,0x42,0x03,0xe7,0xfe,0x03, +0xe6,0x32,0x03,0xe5,0xe4,0x53,0x05,0xe5,0x96,0x03,0xe4,0x8a,0x41,0x05,0xe4,0x53, +0x03,0xe3,0xe2,0x2f,0x05,0xe3,0xfa,0x03,0xe2,0x2f,0x03,0xe1,0xfe,0x03,0xe0,0xfe, +0x03,0xdf,0x32,0x03,0xde,0x14,0x03,0xdd,0x96,0x03,0xdc,0xfe,0x03,0xdb,0x12,0x03, +0xda,0x7d,0x03,0xd9,0xbb,0x03,0xd8,0xfe,0x03,0xd6,0x8a,0x41,0x05,0xd6,0x7d,0x03, +0xd5,0xd4,0x47,0x05,0xd5,0x7d,0x03,0xd4,0x47,0x03,0xd3,0xd2,0x1b,0x05,0xd3,0xfe, +0x03,0xd2,0x1b,0x03,0xd1,0xfe,0x03,0xd0,0xfe,0x03,0xcf,0xfe,0x03,0xce,0xfe,0x03, +0xcd,0x96,0x03,0xcc,0xcb,0x1e,0x05,0xcc,0xfe,0x03,0xcb,0x1e,0x03,0xca,0x32,0x03, +0xc9,0xfe,0x03,0xc6,0x85,0x11,0x05,0xc6,0x1c,0x03,0xc5,0x16,0x03,0xc4,0xfe,0x03, +0xc3,0xfe,0x03,0xc2,0xfe,0x03,0xc1,0xfe,0x03,0xc0,0xfe,0x03,0xbf,0xfe,0x03,0xbe, +0xfe,0x03,0xbd,0xfe,0x03,0xbc,0xfe,0x03,0xbb,0xfe,0x03,0xba,0x11,0x03,0xb9,0x86, +0x25,0x05,0xb9,0xfe,0x03,0xb8,0xb7,0xbb,0x05,0xb8,0xfe,0x03,0xb7,0xb6,0x5d,0x05, +0xb7,0xbb,0x03,0xb7,0x80,0x04,0xb6,0xb5,0x25,0x05,0xb6,0x5d,0x40,0xff,0x03,0xb6, +0x40,0x04,0xb5,0x25,0x03,0xb4,0xfe,0x03,0xb3,0x96,0x03,0xb2,0xfe,0x03,0xb1,0xfe, +0x03,0xb0,0xfe,0x03,0xaf,0xfe,0x03,0xae,0x64,0x03,0xad,0x0e,0x03,0xac,0xab,0x25, +0x05,0xac,0x64,0x03,0xab,0xaa,0x12,0x05,0xab,0x25,0x03,0xaa,0x12,0x03,0xa9,0x8a, +0x41,0x05,0xa9,0xfa,0x03,0xa8,0xfe,0x03,0xa7,0xfe,0x03,0xa6,0xfe,0x03,0xa5,0x12, +0x03,0xa4,0xfe,0x03,0xa3,0xa2,0x0e,0x05,0xa3,0x32,0x03,0xa2,0x0e,0x03,0xa1,0x64, +0x03,0xa0,0x8a,0x41,0x05,0xa0,0x96,0x03,0x9f,0xfe,0x03,0x9e,0x9d,0x0c,0x05,0x9e, +0xfe,0x03,0x9d,0x0c,0x03,0x9c,0x9b,0x19,0x05,0x9c,0x64,0x03,0x9b,0x9a,0x10,0x05, +0x9b,0x19,0x03,0x9a,0x10,0x03,0x99,0x0a,0x03,0x98,0xfe,0x03,0x97,0x96,0x0d,0x05, +0x97,0xfe,0x03,0x96,0x0d,0x03,0x95,0x8a,0x41,0x05,0x95,0x96,0x03,0x94,0x93,0x0e, +0x05,0x94,0x28,0x03,0x93,0x0e,0x03,0x92,0xfa,0x03,0x91,0x90,0xbb,0x05,0x91,0xfe, +0x03,0x90,0x8f,0x5d,0x05,0x90,0xbb,0x03,0x90,0x80,0x04,0x8f,0x8e,0x25,0x05,0x8f, +0x5d,0x03,0x8f,0x40,0x04,0x8e,0x25,0x03,0x8d,0xfe,0x03,0x8c,0x8b,0x2e,0x05,0x8c, +0xfe,0x03,0x8b,0x2e,0x03,0x8a,0x86,0x25,0x05,0x8a,0x41,0x03,0x89,0x88,0x0b,0x05, +0x89,0x14,0x03,0x88,0x0b,0x03,0x87,0x86,0x25,0x05,0x87,0x64,0x03,0x86,0x85,0x11, +0x05,0x86,0x25,0x03,0x85,0x11,0x03,0x84,0xfe,0x03,0x83,0x82,0x11,0x05,0x83,0xfe, +0x03,0x82,0x11,0x03,0x81,0xfe,0x03,0x80,0xfe,0x03,0x7f,0xfe,0x03,0x40,0xff,0x7e, +0x7d,0x7d,0x05,0x7e,0xfe,0x03,0x7d,0x7d,0x03,0x7c,0x64,0x03,0x7b,0x54,0x15,0x05, +0x7b,0x25,0x03,0x7a,0xfe,0x03,0x79,0xfe,0x03,0x78,0x0e,0x03,0x77,0x0c,0x03,0x76, +0x0a,0x03,0x75,0xfe,0x03,0x74,0xfa,0x03,0x73,0xfa,0x03,0x72,0xfa,0x03,0x71,0xfa, +0x03,0x70,0xfe,0x03,0x6f,0xfe,0x03,0x6e,0xfe,0x03,0x6c,0x21,0x03,0x6b,0xfe,0x03, +0x6a,0x11,0x42,0x05,0x6a,0x53,0x03,0x69,0xfe,0x03,0x68,0x7d,0x03,0x67,0x11,0x42, +0x05,0x66,0xfe,0x03,0x65,0xfe,0x03,0x64,0xfe,0x03,0x63,0xfe,0x03,0x62,0xfe,0x03, +0x61,0x3a,0x03,0x60,0xfa,0x03,0x5e,0x0c,0x03,0x5d,0xfe,0x03,0x5b,0xfe,0x03,0x5a, +0xfe,0x03,0x59,0x58,0x0a,0x05,0x59,0xfa,0x03,0x58,0x0a,0x03,0x57,0x16,0x19,0x05, +0x57,0x32,0x03,0x56,0xfe,0x03,0x55,0x54,0x15,0x05,0x55,0x42,0x03,0x54,0x15,0x03, +0x53,0x01,0x10,0x05,0x53,0x18,0x03,0x52,0x14,0x03,0x51,0x4a,0x13,0x05,0x51,0xfe, +0x03,0x50,0x0b,0x03,0x4f,0xfe,0x03,0x4e,0x4d,0x10,0x05,0x4e,0xfe,0x03,0x4d,0x10, +0x03,0x4c,0xfe,0x03,0x4b,0x4a,0x13,0x05,0x4b,0xfe,0x03,0x4a,0x49,0x10,0x05,0x4a, +0x13,0x03,0x49,0x1d,0x0d,0x05,0x49,0x10,0x03,0x48,0x0d,0x03,0x47,0xfe,0x03,0x46, +0x96,0x03,0x45,0x96,0x03,0x44,0xfe,0x03,0x43,0x02,0x2d,0x05,0x43,0xfa,0x03,0x42, +0xbb,0x03,0x41,0x4b,0x03,0x40,0xfe,0x03,0x3f,0xfe,0x03,0x3e,0x3d,0x12,0x05,0x3e, +0x14,0x03,0x3d,0x3c,0x0f,0x05,0x3d,0x12,0x03,0x3c,0x3b,0x0d,0x05,0x3c,0x40,0xff, +0x0f,0x03,0x3b,0x0d,0x03,0x3a,0xfe,0x03,0x39,0xfe,0x03,0x38,0x37,0x14,0x05,0x38, +0xfa,0x03,0x37,0x36,0x10,0x05,0x37,0x14,0x03,0x36,0x35,0x0b,0x05,0x36,0x10,0x03, +0x35,0x0b,0x03,0x34,0x1e,0x03,0x33,0x0d,0x03,0x32,0x31,0x0b,0x05,0x32,0xfe,0x03, +0x31,0x0b,0x03,0x30,0x2f,0x0b,0x05,0x30,0x0d,0x03,0x2f,0x0b,0x03,0x2e,0x2d,0x09, +0x05,0x2e,0x10,0x03,0x2d,0x09,0x03,0x2c,0x32,0x03,0x2b,0x2a,0x25,0x05,0x2b,0x64, +0x03,0x2a,0x29,0x12,0x05,0x2a,0x25,0x03,0x29,0x12,0x03,0x28,0x27,0x25,0x05,0x28, +0x41,0x03,0x27,0x25,0x03,0x26,0x25,0x0b,0x05,0x26,0x0f,0x03,0x25,0x0b,0x03,0x24, +0xfe,0x03,0x23,0xfe,0x03,0x22,0x0f,0x03,0x21,0x01,0x10,0x05,0x21,0x12,0x03,0x20, +0x64,0x03,0x1f,0xfa,0x03,0x1e,0x1d,0x0d,0x05,0x1e,0x64,0x03,0x1d,0x0d,0x03,0x1c, +0x11,0x42,0x05,0x1c,0xfe,0x03,0x1b,0xfa,0x03,0x1a,0x42,0x03,0x19,0x11,0x42,0x05, +0x19,0xfe,0x03,0x18,0x64,0x03,0x17,0x16,0x19,0x05,0x17,0xfe,0x03,0x16,0x01,0x10, +0x05,0x16,0x19,0x03,0x15,0xfe,0x03,0x14,0xfe,0x03,0x13,0xfe,0x03,0x12,0x11,0x42, +0x05,0x12,0xfe,0x03,0x11,0x02,0x2d,0x05,0x11,0x42,0x03,0x10,0x7d,0x03,0x0f,0x64, +0x03,0x0e,0xfe,0x03,0x0d,0x0c,0x16,0x05,0x0d,0xfe,0x03,0x0c,0x01,0x10,0x05,0x0c, +0x16,0x03,0x0b,0xfe,0x03,0x0a,0x10,0x03,0x09,0xfe,0x03,0x08,0x02,0x2d,0x05,0x08, +0xfe,0x03,0x07,0x14,0x03,0x06,0x64,0x03,0x04,0x01,0x10,0x05,0x04,0xfe,0x03,0x40, +0x15,0x03,0x02,0x2d,0x05,0x03,0xfe,0x03,0x02,0x01,0x10,0x05,0x02,0x2d,0x03,0x01, +0x10,0x03,0x00,0xfe,0x03,0x01,0xb8,0x01,0x64,0x85,0x8d,0x01,0x2b,0x2b,0x2b,0x2b, +0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, +0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, +0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, +0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, +0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, +0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, +0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, +0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, +0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, +0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, +0x2b,0x00,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, +0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, +0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, +0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, +0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, +0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, +0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, +0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, +0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, +0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x1d, +0x00,0x02,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x02,0x00,0x06,0x00,0x75,0x01,0x80, +0x00,0x06,0x01,0x3e,0x00,0x03,0x00,0x03,0x00,0x0a,0x00,0x05,0x00,0x04,0x00,0x0b, +0x00,0x08,0x00,0x06,0x00,0x05,0x00,0x0a,0x00,0x09,0x00,0x0b,0x00,0x0b,0x00,0x0b, +0x11,0x0b,0x00,0x0c,0x00,0x0c,0x1f,0x0b,0x00,0x0d,0x00,0x0d,0x00,0x0b,0x00,0x0e, +0x00,0x0e,0x00,0x04,0x00,0x0f,0x00,0x0f,0x00,0x07,0x00,0x10,0x00,0x10,0x00,0x04, +0x00,0x12,0x00,0x11,0x00,0x07,0x00,0x1c,0x00,0x13,0x00,0x03,0x00,0x1d,0x00,0x1d, +0x00,0x07,0x00,0x1e,0x00,0x1e,0x00,0x0b,0x00,0x1f,0x00,0x1f,0x12,0x0b,0x00,0x20, +0x00,0x20,0x00,0x0b,0x00,0x21,0x00,0x21,0x1e,0x0b,0x00,0x23,0x00,0x22,0x00,0x0b, +0x00,0x3e,0x00,0x3e,0x12,0x0b,0x00,0x3f,0x00,0x3f,0x00,0x0b,0x00,0x40,0x00,0x40, +0x1e,0x0b,0x00,0x43,0x00,0x41,0x00,0x0b,0x00,0x5e,0x00,0x5e,0x12,0x0b,0x00,0x5f, +0x00,0x5f,0x00,0x0b,0x00,0x60,0x00,0x60,0x1e,0x0b,0x00,0x61,0x00,0x61,0x00,0x0b, +0x00,0x62,0x00,0x62,0x00,0x07,0x00,0x63,0x00,0x63,0x00,0x0b,0x00,0x67,0x00,0x64, +0x00,0x05,0x00,0x6b,0x00,0x68,0x00,0x0b,0x00,0x71,0x00,0x6d,0x00,0x0b,0x00,0x73, +0x00,0x72,0x00,0x05,0x00,0x75,0x00,0x74,0x00,0x03,0x00,0x76,0x00,0x76,0x00,0x0b, +0x00,0x7a,0x00,0x78,0x00,0x0b,0x00,0x7b,0x00,0x7b,0x00,0x03,0x00,0x81,0x00,0x7d, +0x00,0x0b,0x00,0x99,0x00,0x99,0x00,0x0b,0x00,0xb9,0x00,0xb9,0x00,0x0b,0x02,0x6e, +0x02,0x6d,0x00,0x0b,0x02,0x83,0x02,0x76,0x00,0x0b,0x02,0x93,0x02,0x86,0x00,0x0b, +0x02,0x9f,0x02,0x99,0x00,0x0b,0x02,0xa2,0x02,0xa1,0x00,0x0b,0x02,0xf5,0x02,0xa3, +0x80,0x0b,0x02,0xf7,0x02,0xf6,0x00,0x0b,0x02,0xfb,0x02,0xf8,0x80,0x0b,0x02,0xfd, +0x02,0xfc,0x00,0x0b,0x03,0x01,0x02,0xff,0x00,0x0b,0x03,0x03,0x03,0x03,0x00,0x0b, +0x03,0x6e,0x03,0x6e,0x00,0x0b,0x03,0xfe,0x03,0xfb,0x80,0x0b,0x04,0x00,0x03,0xff, +0x00,0x0b,0x04,0xd5,0x04,0xd5,0x00,0x0b,0x04,0xd6,0x04,0xd6,0x00,0x07,0x04,0xd7, +0x04,0xd7,0x80,0x02,0x04,0xfe,0x04,0xd8,0x00,0x01,0x05,0x09,0x04,0xff,0x80,0x02, +0x05,0x13,0x05,0x0a,0x00,0x06,0x05,0x14,0x05,0x14,0x00,0x05,0x05,0x16,0x05,0x15, +0x00,0x06,0x05,0x33,0x05,0x17,0x00,0x01,0x05,0x3d,0x05,0x34,0x00,0x03,0x07,0x2b, +0x07,0x2b,0x00,0x0b,0x07,0x2f,0x07,0x2d,0x00,0x0b,0x07,0x3c,0x07,0x3a,0x00,0x0b, +0x07,0x49,0x07,0x47,0x00,0x0b,0x07,0x59,0x07,0x57,0x00,0x0b,0x07,0x65,0x07,0x64, +0x00,0x0b,0x07,0x70,0x07,0x66,0x00,0x0a,0x07,0x88,0x07,0x71,0x00,0x0b,0x07,0x8d, +0x07,0x89,0x00,0x05,0x07,0x91,0x07,0x8e,0x00,0x0b,0x07,0x92,0x07,0x92,0x11,0x0b, +0x07,0x93,0x07,0x93,0x1f,0x0b,0x07,0x9c,0x07,0x94,0x00,0x0b,0x07,0x9d,0x07,0x9d, +0x00,0x07,0x07,0x9e,0x07,0x9e,0x11,0x0b,0x07,0x9f,0x07,0x9f,0x1f,0x0b,0x07,0xb7, +0x07,0xa0,0x00,0x0b,0x07,0xb8,0x07,0xb8,0x00,0x03,0x07,0xbf,0x07,0xba,0x00,0x03, +0x07,0xc1,0x07,0xc0,0x00,0x04,0x07,0xc2,0x07,0xc2,0x00,0x0b,0x07,0xc3,0x07,0xc3, +0x11,0x0b,0x07,0xc4,0x07,0xc4,0x1f,0x0b,0x07,0xcf,0x07,0xc6,0x00,0x03,0x07,0xd1, +0x07,0xd0,0x00,0x04,0x07,0xd2,0x07,0xd2,0x00,0x0b,0x07,0xd3,0x07,0xd3,0x11,0x0b, +0x07,0xd4,0x07,0xd4,0x1f,0x0b,0x07,0xe7,0x07,0xd5,0x00,0x05,0x07,0xed,0x07,0xe8, +0x00,0x0b,0x07,0xf4,0x07,0xf2,0x00,0x0b,0x07,0xfa,0x07,0xf7,0x00,0x0b,0x07,0xfc, +0x07,0xfc,0x00,0x0b,0x07,0xff,0x07,0xff,0x00,0x05,0x08,0x00,0x08,0x00,0x00,0x0b, +0x08,0x11,0x08,0x03,0x00,0x0b,0x08,0x82,0x08,0x36,0x00,0x0b,0x08,0x83,0x08,0x83, +0x00,0x04,0x08,0x84,0x08,0x84,0x00,0x05,0x08,0xfd,0x08,0x85,0x00,0x0b,0x08,0xfe, +0x08,0xfe,0x11,0x0b,0x08,0xff,0x08,0xff,0x1f,0x0b,0x09,0x00,0x09,0x00,0x11,0x0b, +0x09,0x01,0x09,0x01,0x1f,0x0b,0x09,0x09,0x09,0x02,0x00,0x0b,0x09,0x0a,0x09,0x0a, +0x11,0x0b,0x09,0x0b,0x09,0x0b,0x1f,0x0b,0x0a,0xf4,0x09,0x0c,0x00,0x0b,0x0b,0xe5, +0x0b,0x16,0x00,0x01,0x0b,0xe6,0x0b,0xe6,0x00,0x02,0x0b,0xe7,0x0b,0xe7,0x00,0x01, +0x0b,0xf3,0x0b,0xe9,0x80,0x00,0x0c,0x04,0x0b,0xfa,0x00,0x02,0x0c,0x17,0x0c,0x06, +0x00,0x02,0xff,0xff,0xff,0xff,0x00,0x00}; diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/gui/gui.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/gui/gui.cpp new file mode 100644 index 0000000..6dd4cea --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/gui/gui.cpp @@ -0,0 +1,1414 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" + +#include <limits.h> +#include <stdlib.h> + +#include "gui.h" +#include "screen.h" +#include "utils.h" +#include "debug.h" +#include "red_pixmap_sw.h" +#include "resource_provider.h" + +#include "CEGUISystem.h" +#include "CEGUIWindowManager.h" +#include "CEGUIWindow.h" +#include "CEGUIFontManager.h" +#include "CEGUIExceptions.h" +#include "CEGUIScheme.h" +#include "elements/CEGUIPushButton.h" +#include "elements/CEGUIEditbox.h" +#include "elements/CEGUITabControl.h" +#include "elements/CEGUIListbox.h" +#include "elements/CEGUIListboxTextItem.h" + +#define MAIN_GUI_WIDTH 640 +#define MAIN_GUI_HEIGHT 480 +#define BUTTON_WIDTH 90 +#define BUTTON_HEIGHT 22 +#define GUI_SPACE 10 +#define GUI_LABEL_WIDTH 65 +#define GUI_LABEL_HEIGHT 22 +#define GUI_PORT_WIDTH 50 +#define GUI_TEXT_BOX_HEIGHT GUI_LABEL_HEIGHT + +#define LOGIN_DIALOG_WIDTH 400 +#define LOGIN_DIALOG_HEIGHT 300 +#define LOGIN_DIALOG_V_START 150 + +#define CONNECTING_DIALOG_WIDTH 400 +#define CONNECTING_DIALOG_HEIGHT 300 + +#define MESSAGE_BOX_WIDTH 380 +#define MESSAGE_BOX_HEIGHT 150 + +#define CONNECT_OPTION_DIALOG_WIDTH LOGIN_DIALOG_WIDTH +#define CONNECT_OPTION_DIALOG_HEIGHT LOGIN_DIALOG_HEIGHT + +static inline void set_win_pos(CEGUI::Window* win, int x, int y) +{ + win->setPosition(CEGUI::UVector2(cegui_absdim((float)x), cegui_absdim((float)y))); +} + +static inline void set_win_size(CEGUI::Window* win, int width, int height) +{ + win->setSize(CEGUI::UVector2(cegui_absdim((float)width), cegui_absdim((float)height))); +} + +static void add_bottom_button(CEGUI::Window* parent, const char *str, + CEGUI::SubscriberSlot subscriber, + int& position) +{ + CEGUI::Window* button = CEGUI::WindowManager::getSingleton().createWindow("TaharezLook/Button"); + int win_width = (int)parent->getWidth().asAbsolute(1); + int win_height = (int)parent->getHeight().asAbsolute(1); + int y_pos = win_height - BUTTON_HEIGHT - GUI_SPACE; + + position += BUTTON_WIDTH + GUI_SPACE; + set_win_pos(button, win_width - position, y_pos); + set_win_size(button, BUTTON_WIDTH, BUTTON_HEIGHT); + button->setText(str); + button->subscribeEvent(CEGUI::PushButton::EventClicked, subscriber); + button->setInheritsAlpha(false); + //button->setTooltipText("tool tip"); + parent->addChildWindow(button); +} + +#ifdef GUI_DEMO + +class SampleTabFactory: public GUI::TabFactory { +public: + + class MyListItem : public CEGUI::ListboxTextItem { + public: + MyListItem (const CEGUI::String& text) + : CEGUI::ListboxTextItem(text) + { + setSelectionBrushImage("TaharezLook", "MultiListSelectionBrush"); + } + }; + + class SampleTab: public GUI::Tab { + public: + SampleTab(int id, int width, int height) + { + string_printf(_name, "SampleTab-%d", id); + CEGUI::WindowManager& winMgr = CEGUI::WindowManager::getSingleton(); + _root_window = winMgr.createWindow("TaharezLook/StaticText"); + set_win_pos(_root_window, 0, 0); + set_win_size(_root_window, width, height); + _root_window->setText("Tab of SampleTabFactory"); + + if (id != 1) { + return; + } + + _list = (CEGUI::Listbox*)winMgr.createWindow("TaharezLook/Listbox"); + set_win_pos(_list, 10, 10); + set_win_size(_list, 200, 100); + _list->setMultiselectEnabled(false); + _list->addItem(new MyListItem("Item-1")); + _list->addItem(new MyListItem("Item-2")); + _list->addItem(new MyListItem("Item-3")); + _list->addItem(new MyListItem("Item-4")); + _list->addItem(new MyListItem("Item-5")); + _list->addItem(new MyListItem("Item-6")); + + _list->subscribeEvent(CEGUI::Listbox::EventSelectionChanged, + CEGUI::Event::Subscriber(&SampleTab::handle_list_selection, + this)); + + _root_window->addChildWindow(_list); + + _label = winMgr.createWindow("TaharezLook/StaticText"); + set_win_pos(_label, 220, 10); + set_win_size(_label, 200, 22); + _root_window->addChildWindow(_label); + + _list->setItemSelectState((size_t)0, true); + + } + + virtual ~SampleTab() + { + CEGUI::WindowManager::getSingleton().destroyWindow(_root_window); + } + + virtual CEGUI::Window& get_root_window() + { + return *_root_window; + } + + virtual const std::string& get_name() + { + return _name; + } + + bool handle_list_selection(const CEGUI::EventArgs& e) + { + DBG(0, "changed"); + CEGUI::ListboxItem* selection = _list->getFirstSelectedItem(); + if (selection) { + _label->setText(selection->getText()); + return true; + } + + if (_list->getItemCount()) { + _list->setItemSelectState((size_t)_list->getItemCount() - 1, true); + } + + return true; + } + + private: + std::string _name; + CEGUI::Window* _root_window; + CEGUI::Listbox* _list; + CEGUI::Window* _label; + }; + + SampleTabFactory(int id) + : GUI::TabFactory(id) + , _id (id) + { + } + + GUI::Tab* create_tab(bool connected, int width, int height) + { + if (!connected && _id % 2 == 0) { + return NULL; + } + return new SampleTab(_id, width, height); + } + +private: + int _id; +}; + +#endif + +class GUI::Dialog { +public: + Dialog(GUI& gui, bool close_on_message_click = false) + : _gui (gui) + , _root (NULL) + , _message_box (NULL) + , _box_response (NULL) + , _close_on_message_click (close_on_message_click) + { + } + + virtual ~Dialog() + { + if (gui_system().getGUISheet() == _root) { + gui_system().setGUISheet(NULL); + } + + CEGUI::WindowManager::getSingleton().destroyWindow(_root); + } + + CEGUI::Window& root_window() { return *_root;} + Application& application() { return _gui.get_application();} + CEGUI::System& gui_system() { return _gui.gui_system();} + + void set_dialog(Dialog* dialog) { _gui.set_dialog(dialog);} + void dettach() { _gui.dettach_dialog(this);} + TabFactorys& get_factoris() { return _gui._tab_factorys;} + + bool message_box(MessageType type, const char *text, const ButtonsList& buttons, + BoxResponse* response_handler); + void error_box(const char* error_message); + + void pre_destroy(); + +private: + void handle_message_click(int id); + void set_opaque(CEGUI::Window* win); + + void dim(); + void undim(); + +protected: + GUI& _gui; + CEGUI::Window* _root; + +private: + class BottonAction { + public: + BottonAction(Dialog& dialog, int id) + : _dialog (dialog) + , _id (id) + { + } + + bool operator () (const CEGUI::EventArgs& e) + { + _dialog.handle_message_click(_id); + return true; + } + + private: + Dialog& _dialog; + int _id; + }; + + CEGUI::Window* _message_box; + BoxResponse* _box_response; + + class UndimInfo { + public: + UndimInfo(const CEGUI::String& name, float alpha, bool inherits) + : _name (name) + , _alpha (alpha) + , _inherits (inherits) + { + } + + void restore() + { + try { + CEGUI::Window* win = CEGUI::WindowManager::getSingleton().getWindow(_name); + win->setAlpha(_alpha); + win->setInheritsAlpha(_inherits); + } catch (...) { + } + } + + private: + CEGUI::String _name; + float _alpha; + bool _inherits; + + }; + + std::list<UndimInfo*> _undim_info_list; + bool _close_on_message_click; +}; + + +void GUI::Dialog::set_opaque(CEGUI::Window* win) +{ + float alpha = win->getAlpha(); + bool inherits = win->inheritsAlpha(); + + if (alpha != 1 || !inherits ) { + _undim_info_list.push_back(new UndimInfo(win->getName(), alpha, inherits)); + win->setInheritsAlpha(true); + win->setAlpha(1); + } + + size_t child_count = win->getChildCount(); + for (size_t i = 0; i < child_count; ++i) { + CEGUI::Window* child = win->getChildAtIdx(i); + set_opaque(child); + } +} + +void GUI::Dialog::dim() +{ + set_opaque(_root); + _root->setAlpha(0.5); +} + +void GUI::Dialog::undim() +{ + while (!_undim_info_list.empty()) { + UndimInfo* inf = _undim_info_list.front(); + _undim_info_list.pop_front(); + inf->restore(); + delete inf; + } + _root->setAlpha(1); +} + +bool GUI::Dialog::message_box(MessageType type, const char *text, const ButtonsList& buttons, + BoxResponse* response_handler) +{ + if (_message_box) { + return false; + } + + try { + CEGUI::WindowManager& winMgr = CEGUI::WindowManager::getSingleton(); + + CEGUI::Window* wnd = _message_box = winMgr.createWindow("TaharezLook/StaticText"); + int x_pos = (MAIN_GUI_WIDTH - MESSAGE_BOX_WIDTH) / 2; + int y_pos = (MAIN_GUI_HEIGHT - MESSAGE_BOX_HEIGHT) / 3; + set_win_pos(wnd, x_pos, y_pos); + set_win_size(wnd, MESSAGE_BOX_WIDTH, MESSAGE_BOX_HEIGHT); + wnd->setModalState(true); + wnd->setInheritsAlpha(false); + dim(); + _root->addChildWindow(wnd); + + CEGUI::Window* text_wnd = winMgr.createWindow("TaharezLook/StaticText"); + set_win_pos(text_wnd, GUI_SPACE, GUI_SPACE); + set_win_size(text_wnd, MESSAGE_BOX_WIDTH - 2 * GUI_SPACE, + MESSAGE_BOX_HEIGHT - 3 * GUI_SPACE - BUTTON_HEIGHT); + text_wnd->setProperty("FrameEnabled", "false"); + text_wnd->setProperty("HorzFormatting", "WordWrapLeftAligned"); + text_wnd->setProperty("VertFormatting", "TopAligned"); + text_wnd->setText(text); + //text_wnd->getTextRenderArea(); + wnd->addChildWindow(text_wnd); + + x_pos = 0; + + for (unsigned int i = 0; i < buttons.size(); i++) { + add_bottom_button(wnd, buttons[i].text, + CEGUI::Event::Subscriber(BottonAction(*this, buttons[i].id)), + x_pos); + } + + _box_response = response_handler; + } catch (CEGUI::Exception& e) { + LOG_ERROR("Exception: %s", e.getMessage().c_str()); + throw; + } + + return true; +} + +class BoxResponseEvent: public Event { +public: + BoxResponseEvent(GUI::BoxResponse* box_response, int id) + : _box_response (box_response) + , _id (id) + { + } + + virtual void response(AbstractProcessLoop &events_loop) + { + _box_response->response(_id); + } + +private: + GUI::BoxResponse* _box_response; + int _id; +}; + +class BoxAbortEvent: public Event { +public: + BoxAbortEvent(GUI::BoxResponse* box_response) + : _box_response (box_response) + { + } + + virtual void response(AbstractProcessLoop &events_loop) + { + _box_response->aborted(); + } + +private: + GUI::BoxResponse* _box_response; +}; + +void GUI::Dialog::handle_message_click(int id) +{ + DBG(0, ""); + ASSERT(_message_box); + _message_box->setModalState(false); + _root->removeChildWindow(_message_box); + CEGUI::Window *win = _message_box; + _message_box = NULL; + CEGUI::WindowManager::getSingleton().destroyWindow(win); + undim(); + if (_box_response) { + AutoRef<BoxResponseEvent> event(new BoxResponseEvent(_box_response, id)); + _box_response = NULL; + application().push_event(*event); + } + + if (_close_on_message_click) { + application().hide_gui(); + } +} + +void GUI::Dialog::pre_destroy() + { + if (_box_response) { + AutoRef<BoxAbortEvent> event(new BoxAbortEvent(_box_response)); + _box_response = NULL; + application().push_event(*event); + } +} + +void GUI::Dialog::error_box(const char* message) +{ + ASSERT(message && strlen(message) > 0); + DBG(0, "%s", message); + ButtonsList list(1); + list[0].id = 0; + list[0].text = res_get_string(STR_BUTTON_OK); + message_box(INFO, message, list, NULL); +} + +class TabDialog : public GUI::Dialog { +public: + TabDialog(GUI& gui, bool connected); + virtual ~TabDialog(); + +protected: + CEGUI::Window* _main_win; + +private: + typedef std::list<GUI::Tab*> Tabs; + Tabs _tabs; +}; + +class MessageDialog : public GUI::Dialog { +public: + MessageDialog(GUI& gui); + virtual ~MessageDialog() {} +}; + +class LoginDialog : public GUI::Dialog { +public: + LoginDialog(GUI& guip); + + bool handle_connect(const CEGUI::EventArgs& e); + bool handle_quit(const CEGUI::EventArgs& e); + bool handle_options(const CEGUI::EventArgs& e); + +private: + static void set_port_text(CEGUI::Window* win, int port); + +private: + CEGUI::Window* _host_box; + CEGUI::Window* _port_box; + CEGUI::Window* _sport_box; + CEGUI::Window* _pass_box; +}; + +class PreLoginDialog: public TabDialog { +public: + PreLoginDialog(GUI& gui, LoginDialog* login_dialog); + virtual ~PreLoginDialog() { delete _login_dialog;} + + bool handle_back(const CEGUI::EventArgs& e); + bool handle_quit(const CEGUI::EventArgs& e); + +private: + LoginDialog* _login_dialog; +}; + +PreLoginDialog::PreLoginDialog(GUI& gui, LoginDialog* login_dialog) + : TabDialog(gui, false) + , _login_dialog (login_dialog) +{ + try { + + int position = 0; + add_bottom_button(_main_win, res_get_string(STR_BUTTON_BACK), + CEGUI::Event::Subscriber(&PreLoginDialog::handle_back, this), + position); + add_bottom_button(_main_win, res_get_string(STR_BUTTON_QUIT), + CEGUI::Event::Subscriber(&PreLoginDialog::handle_quit, this), + position); + + } catch (CEGUI::Exception& e) { + LOG_ERROR("Exception: %s", e.getMessage().c_str()); + } catch (...) { + throw; + } +} + +bool PreLoginDialog::handle_back(const CEGUI::EventArgs& e) +{ + ASSERT(_login_dialog); + LoginDialog* login_dialog = _login_dialog; + _login_dialog = NULL; + set_dialog(login_dialog); + return true; +} + +bool PreLoginDialog::handle_quit(const CEGUI::EventArgs& e) +{ + DBG(0, ""); + application().quit(); + return true; +} + +MessageDialog::MessageDialog(GUI& gui) + : GUI::Dialog(gui, true) +{ + try { + CEGUI::WindowManager& winMgr = CEGUI::WindowManager::getSingleton(); + _root = winMgr.createWindow("DefaultWindow"); + set_win_size(_root, MAIN_GUI_WIDTH, MAIN_GUI_HEIGHT); + } catch (CEGUI::Exception& e) { + LOG_ERROR("Exception: %s", e.getMessage().c_str()); + throw; + } +} + +LoginDialog::LoginDialog(GUI& gui) + : GUI::Dialog(gui) +{ + try { + CEGUI::WindowManager& winMgr = CEGUI::WindowManager::getSingleton(); + _root = winMgr.createWindow("DefaultWindow"); + + CEGUI::Window* wnd = winMgr.createWindow("TaharezLook/StaticText"); + int x_pos = (MAIN_GUI_WIDTH - LOGIN_DIALOG_WIDTH) / 2; + int y_pos = (MAIN_GUI_HEIGHT - LOGIN_DIALOG_HEIGHT) / 3; + set_win_pos(wnd, x_pos, y_pos); + set_win_size(wnd, LOGIN_DIALOG_WIDTH, LOGIN_DIALOG_HEIGHT); + _root->addChildWindow(wnd); + + CEGUI::Window* host_label = winMgr.createWindow("TaharezLook/StaticText"); + host_label->setText(res_get_string(STR_LABEL_HOST)); + host_label->setProperty("FrameEnabled", "false"); + host_label->setProperty("BackgroundEnabled", "false"); + set_win_pos(host_label, GUI_SPACE, LOGIN_DIALOG_V_START); + set_win_size(host_label, GUI_LABEL_WIDTH, GUI_LABEL_HEIGHT); + + wnd->addChildWindow(host_label); + + _host_box = winMgr.createWindow("TaharezLook/Editbox"); + set_win_pos(_host_box, GUI_LABEL_WIDTH + GUI_SPACE, LOGIN_DIALOG_V_START); + int width = LOGIN_DIALOG_WIDTH - GUI_LABEL_WIDTH - 2 * GUI_SPACE; + set_win_size(_host_box, width, GUI_LABEL_HEIGHT); + _host_box->setText(application().get_host()); + wnd->addChildWindow(_host_box); + + CEGUI::Window* port_label = winMgr.createWindow("TaharezLook/StaticText"); + port_label->setText(res_get_string(STR_LABEL_PORT)); + port_label->setProperty("FrameEnabled", "false"); + port_label->setProperty("BackgroundEnabled", "false"); + y_pos = LOGIN_DIALOG_V_START + GUI_LABEL_HEIGHT + GUI_SPACE; + set_win_pos(port_label, GUI_SPACE, y_pos); + set_win_size(port_label, GUI_LABEL_WIDTH, GUI_LABEL_HEIGHT); + wnd->addChildWindow(port_label); + + _port_box = winMgr.createWindow("TaharezLook/Editbox"); + set_win_pos(_port_box, GUI_SPACE + GUI_LABEL_WIDTH, y_pos); + set_win_size(_port_box, GUI_PORT_WIDTH, GUI_TEXT_BOX_HEIGHT); + set_port_text(_port_box, application().get_port()); + wnd->addChildWindow(_port_box); + + _sport_box = winMgr.createWindow("TaharezLook/Editbox"); + x_pos = LOGIN_DIALOG_WIDTH - GUI_SPACE - GUI_PORT_WIDTH; + set_win_pos(_sport_box, x_pos, y_pos); + set_win_size(_sport_box, GUI_PORT_WIDTH, GUI_TEXT_BOX_HEIGHT); + set_port_text(_sport_box, application().get_sport()); + wnd->addChildWindow(_sport_box); + + CEGUI::Window* sport_label = winMgr.createWindow("TaharezLook/StaticText"); + sport_label->setText(res_get_string(STR_LABEL_SPORT)); + sport_label->setProperty("FrameEnabled", "false"); + sport_label->setProperty("BackgroundEnabled", "false"); + x_pos -= GUI_LABEL_WIDTH; + set_win_pos(sport_label, x_pos, y_pos); + set_win_size(sport_label, GUI_LABEL_WIDTH, GUI_LABEL_HEIGHT); + wnd->addChildWindow(sport_label); + + CEGUI::Window* label = winMgr.createWindow("TaharezLook/StaticText"); + label->setText(res_get_string(STR_LABEL_PASSWORD)); + label->setProperty("FrameEnabled", "false"); + label->setProperty("BackgroundEnabled", "false"); + y_pos += GUI_LABEL_HEIGHT + GUI_SPACE; + set_win_pos(label, GUI_SPACE, y_pos); + set_win_size(label, GUI_LABEL_WIDTH, GUI_LABEL_HEIGHT); + wnd->addChildWindow(label); + + _pass_box = winMgr.createWindow("TaharezLook/Editbox"); + x_pos = GUI_LABEL_WIDTH + GUI_SPACE; + set_win_pos(_pass_box, x_pos, y_pos); + width = LOGIN_DIALOG_WIDTH - GUI_LABEL_WIDTH - 2 * GUI_SPACE; + set_win_size(_pass_box, width, GUI_TEXT_BOX_HEIGHT); + ((CEGUI::Editbox*)_pass_box)->setTextMasked(true); + ((CEGUI::Editbox*)_pass_box)->setMaskCodePoint(/*0x000026AB*/ 0x00002022 ); + _pass_box->setText(application().get_password().c_str()); + wnd->addChildWindow(_pass_box); + + x_pos = 0; + add_bottom_button(wnd, + res_get_string(STR_BUTTON_CONNECT), + CEGUI::Event::Subscriber(&LoginDialog::handle_connect, this), + x_pos); + add_bottom_button(wnd, + res_get_string(STR_BUTTON_QUIT), + CEGUI::Event::Subscriber(&LoginDialog::handle_quit, this), + x_pos); + add_bottom_button(wnd, + res_get_string(STR_BUTTON_OPTIONS), + CEGUI::Event::Subscriber(&LoginDialog::handle_options, this), + x_pos); + + } catch (CEGUI::Exception& e) { + LOG_ERROR("Exception: %s", e.getMessage().c_str()); + throw; + } +} + +bool LoginDialog::handle_connect(const CEGUI::EventArgs& e) +{ + const char* host_name = _host_box->getText().c_str(); + + if (strlen(host_name) == 0) { + error_box(res_get_string(STR_MESG_MISSING_HOST_NAME)); + return true; + } + int port = -1; + int sport = -1; + + const char* port_str = _port_box->getText().c_str(); + if (strlen(port_str) != 0 && (port = str_to_port(port_str)) == -1) { + error_box(res_get_string(STR_MESG_INVALID_PORT)); + return true; + } + + const char* sport_str = _sport_box->getText().c_str(); + if (strlen(sport_str) != 0 && (sport = str_to_port(sport_str)) == -1) { + error_box(res_get_string(STR_MESG_INVALID_SPORT)); + return true; + } + + if (port == sport && port == -1) { + error_box(res_get_string(STR_MESG_MISSING_PORT)); + return true; + } + + DBG(0, "host %s port %d sport %d", host_name, port, sport); + application().connect(host_name, port, sport, _pass_box->getText().c_str()); + return true; +} + +bool LoginDialog::handle_quit(const CEGUI::EventArgs& e) +{ + DBG(0, ""); + application().quit(); + return true; +} + +bool LoginDialog::handle_options(const CEGUI::EventArgs& e) +{ + dettach(); + set_dialog(new PreLoginDialog(_gui, this)); + return true; +} + +void LoginDialog::set_port_text(CEGUI::Window* win, int port) +{ + if (port == -1) { + win->setText(""); + return; + } + + char port_string[25]; + sprintf(port_string, "%d", port); + win->setText(port_string); +} + +class ConnectingDialog : public GUI::Dialog { +public: + ConnectingDialog(GUI& gui); + +private: + bool handle_cancel(const CEGUI::EventArgs& e); + bool handle_quit(const CEGUI::EventArgs& e); +}; + +bool ConnectingDialog::handle_cancel(const CEGUI::EventArgs& e) +{ + DBG(0, ""); + application().disconnect(); + return true; +} + +bool ConnectingDialog::handle_quit(const CEGUI::EventArgs& e) +{ + DBG(0, ""); + application().quit(); + return true; +} + +ConnectingDialog::ConnectingDialog(GUI& gui) + : GUI::Dialog(gui) +{ + try { + CEGUI::WindowManager& winMgr = CEGUI::WindowManager::getSingleton(); + _root = winMgr.createWindow("DefaultWindow"); + + CEGUI::Window* wnd = winMgr.createWindow("TaharezLook/StaticText"); + int x_pos = (MAIN_GUI_WIDTH - CONNECTING_DIALOG_WIDTH) / 2; + int y_pos = (MAIN_GUI_HEIGHT - CONNECTING_DIALOG_HEIGHT) / 2; + set_win_pos(wnd, x_pos, y_pos); + set_win_size(wnd, CONNECTING_DIALOG_WIDTH, CONNECTING_DIALOG_HEIGHT); + CEGUI::String text(res_get_string(STR_MESG_CONNECTING)); + wnd->setText(text + " " + application().get_host()); + wnd->setProperty("HorzFormatting", "LeftAligned"); + wnd->setProperty("VertFormatting", "TopAligned"); + _root->addChildWindow(wnd); + + x_pos = 0; + + add_bottom_button(wnd, res_get_string(STR_BUTTON_CANCEL), + CEGUI::Event::Subscriber(&ConnectingDialog::handle_cancel, this), + x_pos); + + if (_gui.is_disconnect_allowed()) { + add_bottom_button(wnd, res_get_string(STR_BUTTON_QUIT), + CEGUI::Event::Subscriber(&ConnectingDialog::handle_quit, this), + x_pos); + } + + } catch (CEGUI::Exception& e) { + LOG_ERROR("Exception: %s", e.getMessage().c_str()); + throw; + } +} + +TabDialog::TabDialog(GUI& gui, bool connected) + : GUI::Dialog(gui) +{ + CEGUI::WindowManager& winMgr = CEGUI::WindowManager::getSingleton(); + + try { + _root = winMgr.createWindow("DefaultWindow"); + + CEGUI::Window* wnd = _main_win = winMgr.createWindow("TaharezLook/StaticText"); + set_win_pos(wnd, 0, 0); + set_win_size(wnd, MAIN_GUI_WIDTH, MAIN_GUI_HEIGHT); + wnd->setAlpha(0.5); + _root->addChildWindow(wnd); + + CEGUI::TabControl* tab_ctrl; + tab_ctrl = static_cast<CEGUI::TabControl*>(winMgr.createWindow("TaharezLook/TabControl")); + set_win_pos(tab_ctrl, GUI_SPACE, GUI_SPACE); + int tab_width = MAIN_GUI_WIDTH - GUI_SPACE * 2; + int tab_height = MAIN_GUI_HEIGHT - GUI_SPACE * 3 - BUTTON_HEIGHT; + set_win_size(tab_ctrl, tab_width, tab_height); + tab_ctrl->setInheritsAlpha(false); + tab_ctrl->setTabHeight(cegui_absdim(22)); + tab_ctrl->setTabTextPadding(cegui_absdim(10)); + tab_height = (int)tab_ctrl->getTabHeight().asAbsolute(1); + wnd->addChildWindow(tab_ctrl); + + GUI::TabFactorys& _tab_factorys = get_factoris(); + GUI::TabFactorys::iterator iter = _tab_factorys.begin(); + + int tab_content_width = MAIN_GUI_WIDTH - GUI_SPACE * 4; + int tab_content_height = MAIN_GUI_HEIGHT - GUI_SPACE * 5 - BUTTON_HEIGHT - tab_height; + + for (; iter != _tab_factorys.end(); iter++) { + + GUI::Tab* tab = (*iter)->create_tab(connected, tab_content_width, + tab_content_height); + + if (!tab) { + continue; + } + + _tabs.push_front(tab); + CEGUI::Window* gui_sheet = winMgr.createWindow("DefaultGUISheet"); + gui_sheet->setText(tab->get_name()); + set_win_pos(gui_sheet, GUI_SPACE, GUI_SPACE); + set_win_size(gui_sheet, tab_content_width, tab_content_height); + tab_ctrl->addTab(gui_sheet); + CEGUI::Window& tab_window = tab->get_root_window(); + tab_window.setDestroyedByParent(false); + gui_sheet->addChildWindow(&tab_window); + } + + } catch (CEGUI::Exception& e) { + LOG_ERROR("Exception: %s", e.getMessage().c_str()); + } catch (...) { + throw; + } +} + +TabDialog::~TabDialog() +{ + while (!_tabs.empty()) { + GUI::Tab* tab = *_tabs.begin(); + _tabs.pop_front(); + delete tab; + } +} + +class SettingsDialog : public TabDialog { +public: + SettingsDialog(GUI& gui); + + bool handle_close(const CEGUI::EventArgs& e); + bool handle_quit(const CEGUI::EventArgs& e); + bool handle_disconnect(const CEGUI::EventArgs& e); +}; + +bool SettingsDialog::handle_close(const CEGUI::EventArgs& e) +{ + DBG(0, ""); + application().hide_gui(); + return true; +} + +bool SettingsDialog::handle_quit(const CEGUI::EventArgs& e) +{ + DBG(0, ""); + application().quit(); + return true; +} + +bool SettingsDialog::handle_disconnect(const CEGUI::EventArgs& e) +{ + DBG(0, ""); + application().disconnect(); + return true; +} + +SettingsDialog::SettingsDialog(GUI& gui) + : TabDialog(gui, true) +{ + try { + + int position = 0; + add_bottom_button(_main_win, res_get_string(STR_BUTTON_CLOSE), + CEGUI::Event::Subscriber(&SettingsDialog::handle_close, this), + position); + add_bottom_button(_main_win, res_get_string(STR_BUTTON_QUIT), + CEGUI::Event::Subscriber(&SettingsDialog::handle_quit, this), + position); + + if (_gui.is_disconnect_allowed()) { + add_bottom_button(_main_win, res_get_string(STR_BUTTON_DISCONNECT), + CEGUI::Event::Subscriber(&SettingsDialog::handle_disconnect, this), + position); + } + + } catch (CEGUI::Exception& e) { + LOG_ERROR("Exception: %s", e.getMessage().c_str()); + } catch (...) { + throw; + } +} + +GUI::GUI(Application& app, Application::State state) + : ScreenLayer (SCREEN_LAYER_GUI, false) + , _app (app) + , _state (state) + , _pixmap (new RedPixmapSw(MAIN_GUI_WIDTH, MAIN_GUI_HEIGHT, RedDrawable::RGB32, true, 0)) + , _renderer (new CEGUI::SoftRenderer(_pixmap->get_data(), MAIN_GUI_WIDTH, MAIN_GUI_HEIGHT, + _pixmap->get_stride())) + , _dialog (NULL) + , _prev_time (Platform::get_monolithic_time()) + +{ + LOG_INFO(""); + init_cegui(); +#ifdef GUI_DEMO + register_tab_factory(*(new SampleTabFactory(2))); + register_tab_factory(*(new SampleTabFactory(3))); + register_tab_factory(*(new SampleTabFactory(1))); + register_tab_factory(*(new SampleTabFactory(4))); + register_tab_factory(*(new SampleTabFactory(5))); +#endif + create_dialog(); +} + +GUI::~GUI() +{ + delete _dialog; + detach(); + delete _gui_system; + delete _renderer; + delete _pixmap; +} + +void GUI::init_cegui() +{ + std::string log_file_name; + + Platform::get_app_data_dir(log_file_name, "spicec"); + Platform::path_append(log_file_name, "cegui.log"); + + _gui_system = new CEGUI::System(_renderer, new CEGUIResourceProvider(), + NULL, NULL, "", log_file_name); + + CEGUI::SchemeManager::getSingleton().loadScheme("TaharezLook.scheme"); + _gui_system->setDefaultMouseCursor("TaharezLook", "MouseArrow"); + _gui_system->setDefaultTooltip("TaharezLook/Tooltip"); + + CEGUI::String font_name("DejaVuSans-10"); + CEGUI::Font* font; + + if (!CEGUI::FontManager::getSingleton().isFontPresent(font_name)) { + font = CEGUI::FontManager::getSingleton().createFont(font_name + ".font"); + } else { + font = CEGUI::FontManager::getSingleton().getFont(font_name); + } + + //font->setProperty("PointSize", "10"); + CEGUI::System::getSingleton().setDefaultFont(font); +} + +bool comp_factorys(GUI::TabFactory* f1, GUI::TabFactory* f2) +{ + return f1->get_order() < f2->get_order(); +} + +void GUI::register_tab_factory(TabFactory& factory) +{ + TabFactorys::iterator iter = _tab_factorys.begin(); + + for (; iter != _tab_factorys.end(); iter++) { + if ((*iter) == &factory) { + return; + } + } + + _tab_factorys.push_back(&factory); + _tab_factorys.sort(comp_factorys); +} + +void GUI::unregister_tab_factory(TabFactory& factory) +{ + TabFactorys::iterator iter = _tab_factorys.begin(); + + for (; iter != _tab_factorys.end(); iter++) { + if ((*iter) == &factory) { + _tab_factorys.erase(iter); + return; + } + } +} + +void GUI::detach() +{ + if (!screen()) { + return; + } + clear_area(); + screen()->detach_layer(*this); + set_dialog(NULL); +} + +void GUI::conditional_update() +{ + if (_gui_system->isRedrawRequested()) { + invalidate(); + } +} + +void GUI::update_layer_area() +{ + if (!_dialog || !screen()) { + clear_area(); + return; + } + SpicePoint screen_size = screen()->get_size(); + + int dx = (screen_size.x - MAIN_GUI_WIDTH) / 2; + int dy = (screen_size.y - MAIN_GUI_HEIGHT) / 2; + + DBG(0, "screen_size.x = %d screen_size.y = %d", screen_size.x, screen_size.y); + + _pixmap->set_origin(-dx, -dy); + CEGUI::Window& root = _dialog->root_window(); + QRegion regin; + region_init(®in); + + for (unsigned int i = 0; i < root.getChildCount(); i++) { + + CEGUI::Window* child = root.getChildAtIdx(i); + if (!child->isVisible()) { + continue; + } + + CEGUI::Rect area = child->getPixelRect(); + SpiceRect r; + r.left = (int)area.d_left + dx; + r.right = (int)area.d_right + dx; + r.top = (int)area.d_top + dy; + r.bottom = (int)area.d_bottom + dy; + region_add(®in, &r); + + } + set_area(regin); + region_destroy(®in); +} + +void GUI::copy_pixels(const QRegion& dest_region, RedDrawable& dest) +{ + pixman_box32_t *rects; + int num_rects; + + if (region_is_empty(&dest_region)) { + return; + } + + rects = pixman_region32_rectangles((pixman_region32_t *)&dest_region, &num_rects); + for (int i = 0; i < num_rects; i++) { + SpiceRect r; + + r.left = rects[i].x1; + r.top = rects[i].y1; + r.right = rects[i].x2; + r.bottom = rects[i].y2; + _pixmap->copy_pixels(dest, r.left, r.top, r); + } + + _gui_system->renderGUI(); + for (int i = 0; i < num_rects; i++) { + SpiceRect r; + + r.left = rects[i].x1; + r.top = rects[i].y1; + r.right = rects[i].x2; + r.bottom = rects[i].y2; + dest.copy_pixels(*_pixmap, r.left, r.top, r); + } +} + +void GUI::on_size_changed() +{ + DBG(0, ""); + update_layer_area(); +} + +void GUI::set_dialog(Dialog* dialog) +{ + if (_dialog) { + _dialog->pre_destroy(); + delete _dialog; + _dialog = NULL; + } + + if (!dialog) { + return; + } + + _dialog = dialog; + gui_system().setGUISheet(&_dialog->root_window()); + update_layer_area(); +} + +void GUI::dettach_dialog(Dialog* dialog) +{ + if (!dialog || _dialog != dialog) { + return; + } + gui_system().setGUISheet(NULL); + _dialog = NULL; + update_layer_area(); +} + +void GUI::create_dialog() +{ + switch (_state) { + case Application::DISCONNECTED: + set_dialog(new LoginDialog(*this)); + break; + case Application::VISIBILITY: + set_dialog(new SettingsDialog(*this)); + break; + case Application::CONNECTING: + set_dialog(new ConnectingDialog(*this)); + break; + case Application::CONNECTED: + break; + case Application::DISCONECTING: + set_dialog(NULL); + break; + } +} + +void GUI::set_state(Application::State state) +{ + if (_state == state) { + return; + } + _state = state; + create_dialog(); +} + +bool GUI::prepare_dialog() +{ + if (!_dialog) { + create_dialog(); + } + + return !!_dialog; +} + +void GUI::set_screen(RedScreen* in_screen) +{ + detach(); + if (!in_screen) { + _app.remove_key_handler(*this); + return; + } + ASSERT(!screen()); + in_screen->attach_layer(*this); + CEGUI::MouseCursor::getSingleton().hide(); + update_layer_area(); + _app.set_key_handler(*this); +} + +void GUI::on_pointer_enter(int x, int y, unsigned int buttons_state) +{ + CEGUI::MouseCursor::getSingleton().show(); + screen()->hide_cursor(); + _app.set_key_handler(*this); + on_pointer_motion(x, y, buttons_state); +} + +void GUI::on_pointer_motion(int x, int y, unsigned int buttons_state) +{ + _gui_system->injectMousePosition(float(x + _pixmap->get_origin().x), + float(y + _pixmap->get_origin().y)); + invalidate(); +} + +void GUI::on_mouse_button_press(int button, int buttons_state) +{ + _app.set_key_handler(*this); + switch (button) { + case SPICE_MOUSE_BUTTON_LEFT: + _gui_system->injectMouseButtonDown(CEGUI::LeftButton); + break; + case SPICE_MOUSE_BUTTON_MIDDLE: + _gui_system->injectMouseButtonDown(CEGUI::MiddleButton); + break; + case SPICE_MOUSE_BUTTON_RIGHT: + _gui_system->injectMouseButtonDown(CEGUI::RightButton); + break; + case SPICE_MOUSE_BUTTON_UP: + _gui_system->injectMouseWheelChange(-1); + break; + case SPICE_MOUSE_BUTTON_DOWN: + _gui_system->injectMouseWheelChange(1); + break; + default: + THROW("invalid SpiceMouseButton %d", button); + } + conditional_update(); +} + +void GUI::on_mouse_button_release(int button, int buttons_state) +{ + switch (button) { + case SPICE_MOUSE_BUTTON_LEFT: + _gui_system->injectMouseButtonUp(CEGUI::LeftButton); + break; + case SPICE_MOUSE_BUTTON_MIDDLE: + _gui_system->injectMouseButtonUp(CEGUI::MiddleButton); + break; + case SPICE_MOUSE_BUTTON_RIGHT: + _gui_system->injectMouseButtonUp(CEGUI::RightButton); + break; + case SPICE_MOUSE_BUTTON_UP: + case SPICE_MOUSE_BUTTON_DOWN: + break; + default: + THROW("invalid SpiceMouseButton %d", button); + } + conditional_update(); +} + +void GUI::on_pointer_leave() +{ + CEGUI::MouseCursor::getSingleton().hide(); + invalidate(); +} + +#define KEY_CASE(a, b) \ + case a: \ + return CEGUI::Key::b + +static inline CEGUI::Key::Scan red_ket_cegui_scan(RedKey key) +{ + switch (key) { + KEY_CASE(REDKEY_ESCAPE, Escape); + KEY_CASE(REDKEY_1, One); + KEY_CASE(REDKEY_2, Two); + KEY_CASE(REDKEY_3, Three); + KEY_CASE(REDKEY_4, Four); + KEY_CASE(REDKEY_5, Five); + KEY_CASE(REDKEY_6, Six); + KEY_CASE(REDKEY_7, Seven); + KEY_CASE(REDKEY_8, Eight); + KEY_CASE(REDKEY_9, Nine); + KEY_CASE(REDKEY_0, Zero); + KEY_CASE(REDKEY_MINUS, Minus); + KEY_CASE(REDKEY_EQUALS, Equals); + KEY_CASE(REDKEY_BACKSPACE, Backspace); + KEY_CASE(REDKEY_TAB, Tab); + KEY_CASE(REDKEY_Q, Q); + KEY_CASE(REDKEY_W, W); + KEY_CASE(REDKEY_E, E); + KEY_CASE(REDKEY_R, R); + KEY_CASE(REDKEY_T, T); + KEY_CASE(REDKEY_Y, Y); + KEY_CASE(REDKEY_U, U); + KEY_CASE(REDKEY_I, I); + KEY_CASE(REDKEY_O, O); + KEY_CASE(REDKEY_P, P); + KEY_CASE(REDKEY_L_BRACKET, LeftBracket); + KEY_CASE(REDKEY_R_BRACKET, RightBracket); + KEY_CASE(REDKEY_ENTER, Return); + KEY_CASE(REDKEY_L_CTRL, LeftControl); + KEY_CASE(REDKEY_A, A); + KEY_CASE(REDKEY_S, S); + KEY_CASE(REDKEY_D, D); + KEY_CASE(REDKEY_F, F); + KEY_CASE(REDKEY_G, G); + KEY_CASE(REDKEY_H, H); + KEY_CASE(REDKEY_J, J); + KEY_CASE(REDKEY_K, K); + KEY_CASE(REDKEY_L, L); + KEY_CASE(REDKEY_SEMICOLON, Semicolon); + KEY_CASE(REDKEY_QUOTE, Apostrophe); + + KEY_CASE(REDKEY_BACK_QUOTE, Grave); + KEY_CASE(REDKEY_L_SHIFT, LeftShift); + KEY_CASE(REDKEY_BACK_SLASH, Backslash); + KEY_CASE(REDKEY_Z, Z); + KEY_CASE(REDKEY_X, X); + KEY_CASE(REDKEY_C, C); + KEY_CASE(REDKEY_V, V); + KEY_CASE(REDKEY_B, B); + KEY_CASE(REDKEY_N, N); + KEY_CASE(REDKEY_M, M); + KEY_CASE(REDKEY_COMMA, Comma); + KEY_CASE(REDKEY_PERIOD, Period); + KEY_CASE(REDKEY_SLASH, Slash); + KEY_CASE(REDKEY_R_SHIFT, RightShift); + KEY_CASE(REDKEY_PAD_MULTIPLY, Multiply); + KEY_CASE(REDKEY_L_ALT, LeftAlt); + KEY_CASE(REDKEY_SPACE, Space); + KEY_CASE(REDKEY_CAPS_LOCK, Capital); + KEY_CASE(REDKEY_F1, F1); + KEY_CASE(REDKEY_F2, F2); + KEY_CASE(REDKEY_F3, F3); + KEY_CASE(REDKEY_F4, F4); + KEY_CASE(REDKEY_F5, F5); + KEY_CASE(REDKEY_F6, F6); + KEY_CASE(REDKEY_F7, F7); + KEY_CASE(REDKEY_F8, F8); + KEY_CASE(REDKEY_F9, F9); + KEY_CASE(REDKEY_F10, F10); + KEY_CASE(REDKEY_NUM_LOCK, NumLock); + KEY_CASE(REDKEY_SCROLL_LOCK, ScrollLock); + KEY_CASE(REDKEY_PAD_7, Numpad7); + KEY_CASE(REDKEY_PAD_8, Numpad8); + KEY_CASE(REDKEY_PAD_9, Numpad9); + KEY_CASE(REDKEY_PAD_MINUS, Subtract); + KEY_CASE(REDKEY_PAD_4, Numpad4); + KEY_CASE(REDKEY_PAD_5, Numpad5); + KEY_CASE(REDKEY_PAD_6, Numpad6); + KEY_CASE(REDKEY_PAD_PLUS, Add); + KEY_CASE(REDKEY_PAD_1, Numpad1); + KEY_CASE(REDKEY_PAD_2, Numpad2); + KEY_CASE(REDKEY_PAD_3, Numpad3); + KEY_CASE(REDKEY_PAD_0, Numpad0); + KEY_CASE(REDKEY_PAD_POINT, Decimal); + + KEY_CASE(REDKEY_EUROPEAN, OEM_102); + KEY_CASE(REDKEY_F11, F11); + KEY_CASE(REDKEY_F12, F12); + + KEY_CASE(REDKEY_JAPANESE_HIRAGANA_KATAKANA, Kana); + KEY_CASE(REDKEY_JAPANESE_BACKSLASH, ABNT_C1); + KEY_CASE(REDKEY_JAPANESE_HENKAN, Convert); + KEY_CASE(REDKEY_JAPANESE_MUHENKAN, NoConvert); + KEY_CASE(REDKEY_JAPANESE_YEN, Yen); + + //KEY_CASE(REDKEY_KOREAN_HANGUL_HANJA, + //KEY_CASE(REDKEY_KOREAN_HANGUL, + + KEY_CASE(REDKEY_PAD_ENTER, NumpadEnter); + KEY_CASE(REDKEY_R_CTRL, RightControl); + KEY_CASE(REDKEY_FAKE_L_SHIFT, LeftShift); + KEY_CASE(REDKEY_PAD_DIVIDE, Divide); + KEY_CASE(REDKEY_FAKE_R_SHIFT, RightShift); + KEY_CASE(REDKEY_CTRL_PRINT_SCREEN, SysRq); + KEY_CASE(REDKEY_R_ALT, RightAlt); + //KEY_CASE(REDKEY_CTRL_BREAK + KEY_CASE(REDKEY_HOME, Home); + KEY_CASE(REDKEY_UP, ArrowUp); + KEY_CASE(REDKEY_PAGEUP, PageUp); + KEY_CASE(REDKEY_LEFT, ArrowLeft); + KEY_CASE(REDKEY_RIGHT, ArrowRight); + KEY_CASE(REDKEY_END, End); + KEY_CASE(REDKEY_DOWN, ArrowDown); + KEY_CASE(REDKEY_PAGEDOWN, PageDown); + KEY_CASE(REDKEY_INSERT, Insert); + KEY_CASE(REDKEY_DELETE, Delete); + KEY_CASE(REDKEY_LEFT_CMD, LeftWindows); + KEY_CASE(REDKEY_RIGHT_CMD, RightWindows); + KEY_CASE(REDKEY_MENU, AppMenu); + KEY_CASE(REDKEY_PAUSE, Pause); + default: + return (CEGUI::Key::Scan)0; + }; +} + +void GUI::on_key_down(RedKey key) +{ + CEGUI::Key::Scan scan = red_ket_cegui_scan(key); + + if (scan == (CEGUI::Key::Scan)0) { + return; + } + + _gui_system->injectKeyDown(scan); + conditional_update(); +} + +void GUI::on_key_up(RedKey key) +{ + CEGUI::Key::Scan scan = red_ket_cegui_scan(key); + + if (scan == (CEGUI::Key::Scan)0) { + return; + } + + _gui_system->injectKeyUp(scan); + conditional_update(); +} + +void GUI::on_char(uint32_t ch) +{ + _gui_system->injectChar(ch); + conditional_update(); +} + +void GUI::idle() +{ + uint64_t now = Platform::get_monolithic_time(); + _gui_system->injectTimePulse(float(double(now) - double(_prev_time)) / (1000 * 1000 * 1000)); + _prev_time = now; + conditional_update(); +} + +bool GUI::message_box(MessageType type, const char *text, const ButtonsList& buttons, + BoxResponse* _response_handler) +{ + if (!_dialog) { + set_dialog(new MessageDialog(*this)); + } + return _dialog->message_box(type, text, buttons, _response_handler); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/gui/gui.h b/tizen/distrib/remote/server/spice-0.12.2/client/gui/gui.h new file mode 100644 index 0000000..b93b42a --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/gui/gui.h @@ -0,0 +1,143 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifndef _H_GUI +#define _H_GUI + +#include "softrenderer.h" +#include "screen_layer.h" +#include "inputs_handler.h" +#include "application.h" + +class RedPixmapSw; + +class GUI : public ScreenLayer, public KeyHandler { +public: + class Dialog; + class Tab; + class TabFactory; + + typedef std::list<TabFactory*> TabFactorys; + + GUI(Application& app, Application::State state); + virtual ~GUI(); + + void set_screen(RedScreen* screen); //show and hide + + Application& get_application() { return _app;} +#ifdef USE_GUI + CEGUI::System& gui_system() { return *_gui_system;} +#endif // USE_GUI + + void set_state(Application::State state); + bool is_visible() { return !!_dialog;} + bool prepare_dialog(); + bool is_disconnect_allowed() { return _app.is_disconnect_allowed();} + + virtual bool pointer_test(int x, int y) { return contains_point(x, y);} + virtual void on_pointer_enter(int x, int y, unsigned int buttons_state); + virtual void on_pointer_leave(); + virtual void on_pointer_motion(int x, int y, unsigned int buttons_state); + virtual void on_mouse_button_press(int button, int buttons_state); + virtual void on_mouse_button_release(int button, int buttons_state); + + virtual void on_key_down(RedKey key); + virtual void on_key_up(RedKey key); + virtual void on_char(uint32_t ch); + virtual bool permit_focus_loss() { return false;} + + void idle(); + + virtual void copy_pixels(const QRegion& dest_region, RedDrawable& dest_dc); + virtual void on_size_changed(); + + void register_tab_factory(TabFactory& factory); + void unregister_tab_factory(TabFactory& factory); + + class BoxResponse { + public: + virtual ~BoxResponse() {} + virtual void response(int response) = 0; + virtual void aborted() = 0; + }; + + enum MessageType { + QUESTION, + INFO, + WARNING, + ERROR_MSG + }; + + struct ButtonInfo { + int id; + const char *text; + }; + + typedef std::vector<ButtonInfo> ButtonsList; + bool message_box(MessageType type, const char *text, const ButtonsList& buttons, + BoxResponse* _response_handler); + +private: + TabFactorys& get_factoris() { return _tab_factorys;} + + void create_dialog(); + void detach(); + void update_layer_area(); + void init_cegui(); + void conditional_update(); + void set_dialog(Dialog* dialog); + void dettach_dialog(Dialog* dialog); + +private: + Application& _app; + Application::State _state; + RedPixmapSw* _pixmap; +#ifdef USE_GUI + CEGUI::SoftRenderer* _renderer; + CEGUI::System* _gui_system; +#endif // USE_GUI + Dialog* _dialog; + uint64_t _prev_time; + TabFactorys _tab_factorys; + + friend class Dialog; +}; + +class GUI::Tab { +public: + virtual ~Tab() {} + +#ifdef USE_GUI + virtual CEGUI::Window& get_root_window() = 0; +#endif // USE_GUI + virtual const std::string& get_name() = 0; +}; + +class GUI::TabFactory { +public: + TabFactory() : _order (-1) {} + TabFactory(int order) : _order (order) {} + + virtual ~TabFactory() {} + virtual Tab* create_tab(bool connected, int width, int hight) = 0; + int get_order() { return _order;} + +private: + int _order; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/gui/resource_provider.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/gui/resource_provider.cpp new file mode 100644 index 0000000..3c0b897 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/gui/resource_provider.cpp @@ -0,0 +1,148 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" + +#include "resource_provider.h" +#include "debug.h" +#include "utils.h" + +#include "CEGUIExceptions.h" + +#include "taharez_look.scheme.c" +#include "taharez_look.imageset.c" +#include "taharez_look.tga.c" +#include "commonwealth-10.font.c" +#include "commonv2c.ttf.c" +#include "taharez_look.looknfeel.c" +#include "dejavu_sans-10.font.c" +#include "dejavu_sans.ttf.c" + +//(echo "const unsigned char <struct name>[] = +//{"; od -txC -v <in file name> | sed -e "s/^[0-9]*//" -e s"/ \([0-9a-f][0-9a-f]\)/0x\1,/g" -e"\$d" +//| sed -e"\$s/,$/};/") > <out file name>.c + +void CEGUIResourceProvider::loadRawDataContainer(const CEGUI::String &filename, + CEGUI::RawDataContainer &output, + const CEGUI::String &resourceGroup) +{ + DBG(0, "%s", filename.c_str()); + if (strcmp(filename.c_str(), "TaharezLook.scheme") == 0) { + DBG(0, "size %d", sizeof(taharez_look_schem)); + output.setData((CEGUI::uint8*)taharez_look_schem); + output.setSize(sizeof(taharez_look_schem)); + return; + } + + if (strcmp(filename.c_str(), "TaharezLook.imageset") == 0) { + DBG(0, "size %d", sizeof(taharez_look_imageset)); + output.setData((CEGUI::uint8*)taharez_look_imageset); + output.setSize(sizeof(taharez_look_imageset)); + return; + } + + if (strcmp(filename.c_str(), "TaharezLook.tga") == 0) { + DBG(0, "size %d", sizeof(taharez_look_tga)); + output.setData((CEGUI::uint8*)taharez_look_tga); + output.setSize(sizeof(taharez_look_tga)); + return; + } + + if (strcmp(filename.c_str(), "Commonwealth-10.font") == 0) { + DBG(0, "size %d", sizeof(commonwealth_10_font)); + output.setData((CEGUI::uint8*)commonwealth_10_font); + output.setSize(sizeof(commonwealth_10_font)); + return; + } + + if (strcmp(filename.c_str(), "Commonv2c.ttf") == 0) { + DBG(0, "size %d", sizeof(commonv2c_ttf)); + output.setData((CEGUI::uint8*)commonv2c_ttf); + output.setSize(sizeof(commonv2c_ttf)); + return; + } + + if (strcmp(filename.c_str(), "TaharezLook.looknfeel") == 0) { + DBG(0, "size %d", sizeof(taharez_look_looknfeel)); + output.setData((CEGUI::uint8*)taharez_look_looknfeel); + output.setSize(sizeof(taharez_look_looknfeel)); + return; + } + + if (strcmp(filename.c_str(), "DejaVuSans-10.font") == 0) { + DBG(0, "size %d", sizeof(dejavu_sans_10_font)); + output.setData((CEGUI::uint8*)dejavu_sans_10_font); + output.setSize(sizeof(dejavu_sans_10_font)); + return; + } + + if (strcmp(filename.c_str(), "DejaVuSans.ttf") == 0) { + DBG(0, "size %d", sizeof(dejavu_sans_ttf)); + output.setData((CEGUI::uint8*)dejavu_sans_ttf); + output.setSize(sizeof(dejavu_sans_ttf)); + return; + } + + throw CEGUI::GenericException("failed"); +} + +void CEGUIResourceProvider::unloadRawDataContainer(CEGUI::RawDataContainer& data) +{ + data.setData(NULL); + data.setSize(0); +} + +struct ResString{ + int id; + const char* str; +} res_strings[] = { + {STR_MESG_MISSING_HOST_NAME, "Missing host name"}, + {STR_MESG_INVALID_PORT, "Invalid port"}, + {STR_MESG_INVALID_SPORT, "Invalid sport"}, + {STR_MESG_MISSING_PORT, "Missing port"}, + {STR_MESG_CONNECTING, "Connecting to"}, + {STR_BUTTON_OK, "OK"}, + {STR_BUTTON_CANCEL, "Cancel"}, + {STR_BUTTON_CONNECT, "Connect"}, + {STR_BUTTON_QUIT, "Quit"}, + {STR_BUTTON_CLOSE, "Close"}, + {STR_BUTTON_DISCONNECT, "Disconnect"}, + {STR_BUTTON_OPTIONS, "Options"}, + {STR_BUTTON_BACK, "Back"}, + {STR_LABEL_HOST, "Host"}, + {STR_LABEL_PORT, "Port"}, + {STR_LABEL_SPORT, "Secure port"}, + {STR_LABEL_PASSWORD, "Password"}, + {0, NULL}, +}; + +const char* res_get_string(int id) +{ + ResString *string; + + for (string = res_strings; string->str; string++) { + if (string->id == id) { + return string->str; + } + } + + return NULL; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/gui/resource_provider.h b/tizen/distrib/remote/server/spice-0.12.2/client/gui/resource_provider.h new file mode 100644 index 0000000..c0d319b --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/gui/resource_provider.h @@ -0,0 +1,59 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifndef _H_RESOURCE_PROVIDER +#define _H_RESOURCE_PROVIDER + +/* CEGUI 0.6 bug, CEGUITexture.h doesn't include this, we need to */ +#include <cstddef> + +#include "CEGUIDefaultResourceProvider.h" + +class CEGUIResourceProvider: public CEGUI::ResourceProvider { +public: + virtual void loadRawDataContainer(const CEGUI::String &filename, + CEGUI::RawDataContainer &output, + const CEGUI::String &resourceGroup); + + virtual void unloadRawDataContainer(CEGUI::RawDataContainer& data); +}; + +enum { + STR_INVALID, + STR_MESG_MISSING_HOST_NAME, + STR_MESG_INVALID_PORT, + STR_MESG_INVALID_SPORT, + STR_MESG_MISSING_PORT, + STR_MESG_CONNECTING, + STR_BUTTON_OK, + STR_BUTTON_CANCEL, + STR_BUTTON_CONNECT, + STR_BUTTON_QUIT, + STR_BUTTON_CLOSE, + STR_BUTTON_DISCONNECT, + STR_BUTTON_OPTIONS, + STR_BUTTON_BACK, + STR_LABEL_HOST, + STR_LABEL_PORT, + STR_LABEL_SPORT, + STR_LABEL_PASSWORD, +}; + +//todo: move to x11/res.cpp and make x11/res.cpp cross-platform +const char* res_get_string(int id); + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/gui/softrenderer.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/gui/softrenderer.cpp new file mode 100644 index 0000000..c888bc0 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/gui/softrenderer.cpp @@ -0,0 +1,390 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "common.h" +#include "utils.h" +#include "debug.h" + +#include "softrenderer.h" +#include "softtexture.h" + +#include "CEGUIExceptions.h" +#include "CEGUIImageCodec.h" +#include "CEGUIDynamicModule.h" +#include "CEGUIEventArgs.h" + +#define S_(X) #X +#define STRINGIZE(X) S_(X) + +namespace CEGUI { + +SoftRenderer::SoftRenderer(uint8_t* surface, uint width, uint height, uint stride, + ImageCodec* codec) + : _surface (surface) + , _width (width) + , _height (height) + , _image_codec (codec) + , _image_codec_module (NULL) + , _queueing(true) +{ + assert(stride == width * 4); //for now + if (!_image_codec) { + setupImageCodec(); + } +} + +SoftRenderer::~SoftRenderer() +{ + destroyAllTextures(); + cleanupImageCodec(); +} + + +void SoftRenderer::reset_surface(uint8_t* surface, uint width, uint height, uint stride) +{ + assert(stride == width * 4); //for now + _surface = surface; + _width = width; + _height = height; + + EventArgs args; + fireEvent(EventDisplaySizeChanged, args, EventNamespace); +} + +#if defined(CEGUI_STATIC) +extern "C" CEGUI::ImageCodec* createImageCodec(void); +extern "C" void destroyImageCodec(CEGUI::ImageCodec*); +#endif + +void SoftRenderer::setupImageCodec() +{ +#if defined(CEGUI_STATIC) + _destroy_image_codec = destroyImageCodec; + _image_codec = createImageCodec(); +#else + String _default_codec_name(STRINGIZE(TGAImageCodec/*CEGUI_DEFAULT_IMAGE_CODEC*/)); + DynamicModule* module = NULL; + + try { + DynamicModule* module = new DynamicModule(String("CEGUI") + _default_codec_name); + + _destroy_image_codec = (void(*)(ImageCodec*))module->getSymbolAddress("destroyImageCodec"); + + if (!_destroy_image_codec) { + throw GenericException("Missing destroyImageCodec symbol"); + } + + ImageCodec* (*create_f)(void); + create_f = (ImageCodec* (*)(void))module->getSymbolAddress("createImageCodec"); + + if (!create_f) { + throw GenericException("Missing createImageCodec symbol"); + } + + _image_codec = create_f(); + } catch (...) { + delete module; + throw; + } + _image_codec_module = module; +#endif +} + +void SoftRenderer::cleanupImageCodec() +{ + _destroy_image_codec(_image_codec); + delete _image_codec_module; +} + +static inline uint8_t calac_pixel(uint64_t c1, uint64_t c2, uint64_t c3, uint64_t a_mul) +{ + //(c' * c" * a' * a" + c"' * 255 ^ 3 - c"' * a' * a" * 255) / 255^4 + + return uint8_t((c1 * c2 * a_mul + c3 * 255 * 255 * 255 - c3 * a_mul * 255) / (255 * 255 * 255)); +} + +inline void SoftRenderer::componnentAtPoint(int x_pos, int y_pos, + int top_left, int top_right, + int bottom_left, int bottom_right, + uint64_t& comp) +{ + int a = top_left + (((x_pos * (top_right - top_left)) + (1 << 15)) >> 16); + int b = bottom_left + (((x_pos * (bottom_right - bottom_left)) + (1 << 15)) >> 16); + comp = a + (((b - a) * y_pos + (1 << 15)) >> 16); +} + +void SoftRenderer::colourAtPoint(int x, int x_max, int y, int y_max, + const ColourIRect& colours, + uint64_t& r, uint64_t& g, + uint64_t& b, uint64_t& a) +{ + int x_pos = (x << 16) / x_max; + int y_pos = (y << 16) / y_max; + + + componnentAtPoint(x_pos, y_pos, colours.top_left.r, colours.top_right.r, + colours.bottom_left.r, colours.bottom_right.r, r); + componnentAtPoint(x_pos, y_pos, colours.top_left.g, colours.top_right.g, + colours.bottom_left.g, colours.bottom_right.g, g); + componnentAtPoint(x_pos, y_pos, colours.top_left.b, colours.top_right.b, + colours.bottom_left.b, colours.bottom_right.b, b); + componnentAtPoint(x_pos, y_pos, colours.top_left.a, colours.top_right.a, + colours.bottom_left.a, colours.bottom_right.a, a); +} + +void SoftRenderer::renderQuadWithColourRect(const QuadInfo& quad) +{ + uint32_t* src = quad.tex->_surf + quad.tex_src.top * (int)quad.tex->getWidth(); + src += quad.tex_src.left; + + + int src_width = quad.tex_src.right - quad.tex_src.left; + int src_height = quad.tex_src.bottom - quad.tex_src.top; + + int dest_width = quad.dest.right - quad.dest.left; + int dest_height = quad.dest.bottom - quad.dest.top; + + + uint32_t x_scale = (src_width << 16) / dest_width; + uint32_t y_scale = (src_height << 16) / dest_height; + + uint32_t* line = (uint32_t*)_surface + quad.dest.top * _width; + line += quad.dest.left; + + for (int i = 0; i < dest_height; line += _width, i++) { + uint32_t* pix = line; + uint32_t* src_line = src + (((i * y_scale) + (1 << 15)) >> 16) * (int)quad.tex->getWidth(); + + for (int j = 0; j < dest_width; pix++, j++) { + uint64_t r; + uint64_t g; + uint64_t b; + uint64_t a; + + colourAtPoint(j, dest_width, i, dest_height, quad.colors, r, g, b, a); + + uint8_t* tex_pix = (uint8_t*)&src_line[(((j * x_scale)+ (1 << 15)) >> 16)]; + uint64_t a_mul = a * tex_pix[3]; + + ((uint8_t *)pix)[0] = calac_pixel(tex_pix[0], b, ((uint8_t *)pix)[0], a_mul); + ((uint8_t *)pix)[1] = calac_pixel(tex_pix[1], g, ((uint8_t *)pix)[1], a_mul); + ((uint8_t *)pix)[2] = calac_pixel(tex_pix[2], r, ((uint8_t *)pix)[2], a_mul); + } + } +} + +void SoftRenderer::renderQuad(const QuadInfo& quad) +{ + if (!quad.colors.top_left.isSameColour(quad.colors.top_right) || + !quad.colors.top_left.isSameColour(quad.colors.bottom_left) || + !quad.colors.top_left.isSameColour(quad.colors.bottom_right)) { + renderQuadWithColourRect(quad); + return; + } + + + uint32_t* src = quad.tex->_surf + quad.tex_src.top * (int)quad.tex->getWidth(); + src += quad.tex_src.left; + + + int src_width = quad.tex_src.right - quad.tex_src.left; + int src_height = quad.tex_src.bottom - quad.tex_src.top; + + int dest_width = quad.dest.right - quad.dest.left; + int dest_height = quad.dest.bottom - quad.dest.top; + + + uint32_t x_scale = (src_width << 16) / dest_width; + uint32_t y_scale = (src_height << 16) / dest_height; + + uint32_t* line = (uint32_t*)_surface + quad.dest.top * _width; + line += quad.dest.left; + + uint64_t r = quad.colors.top_left.r; + uint64_t g = quad.colors.top_left.g; + uint64_t b = quad.colors.top_left.b; + uint64_t a = quad.colors.top_left.a; + + for (int i = 0; i < dest_height; line += _width, i++) { + uint32_t* pix = line; + uint32_t* src_line = src + (((i * y_scale) + (1 << 15)) >> 16) * (int)quad.tex->getWidth(); + + for (int j = 0; j < dest_width; pix++, j++) { + uint8_t* tex_pix = (uint8_t*)&src_line[(((j * x_scale)+ (1 << 15)) >> 16)]; + uint64_t a_mul = a * tex_pix[3]; + + ((uint8_t *)pix)[0] = calac_pixel(tex_pix[0], b, ((uint8_t *)pix)[0], a_mul); + ((uint8_t *)pix)[1] = calac_pixel(tex_pix[1], g, ((uint8_t *)pix)[1], a_mul); + ((uint8_t *)pix)[2] = calac_pixel(tex_pix[2], r, ((uint8_t *)pix)[2], a_mul); + } + } +} + +inline void SoftRenderer::setRGB(ColourI& dest, const colour& src) +{ + dest.r = uint8_t(src.getRed()* 255); + dest.g = uint8_t(src.getGreen() * 255); + dest.b = uint8_t(src.getBlue() * 255); + dest.a = uint8_t(src.getAlpha() * 255); +} + +void SoftRenderer::addQuad(const Rect& dest_rect, float z, const Texture* texture, + const Rect& texture_rect, const ColourRect& colours, + QuadSplitMode quad_split_mode) +{ + if (dest_rect.d_right <= dest_rect.d_left || dest_rect.d_bottom <= dest_rect.d_top) { + return; + } + + if (texture_rect.d_right <= texture_rect.d_left || + texture_rect.d_bottom <= texture_rect.d_top) { + return; + } + + QuadInfo quad; + quad.dest.top = (int)dest_rect.d_top; + quad.dest.left = (int)dest_rect.d_left; + quad.dest.bottom = (int)dest_rect.d_bottom; + quad.dest.right = (int)dest_rect.d_right; + + quad.tex = (const SoftTexture*)texture; + + quad.tex_src.top = int(texture_rect.d_top * texture->getHeight()); + quad.tex_src.bottom = int(texture_rect.d_bottom * texture->getHeight()); + quad.tex_src.left = int(texture_rect.d_left * texture->getWidth()); + quad.tex_src.right = int(texture_rect.d_right * texture->getWidth()); + + setRGB(quad.colors.top_left, colours.d_top_left); + setRGB(quad.colors.top_right, colours.d_top_right); + setRGB(quad.colors.bottom_left, colours.d_bottom_left); + setRGB(quad.colors.bottom_right, colours.d_bottom_right); + + quad.z = z; + + if (!_queueing) { + renderQuad(quad); + return; + } + + _queue.insert(quad); +} + +void SoftRenderer::doRender() +{ + QuadQueue::iterator iter = _queue.begin(); + + for (; iter != _queue.end(); ++iter) { + renderQuad(*iter); + } +} + +void SoftRenderer::clearRenderList() +{ + _queue.clear(); +} + +void SoftRenderer::setQueueingEnabled(bool val) +{ + _queueing = val; +} + +bool SoftRenderer::isQueueingEnabled() const +{ + return _queueing; +} + +Texture* SoftRenderer::createTexture() +{ + SoftTexture* texture = new SoftTexture(this); + _textures.push_back(texture); + return texture; +} + +Texture* SoftRenderer::createTexture(const String& filename, + const String& resourceGroup) +{ + SoftTexture* texture = new SoftTexture(this, filename, resourceGroup); + _textures.push_back(texture); + return texture; +} + +Texture* SoftRenderer::createTexture(float size) +{ + SoftTexture* texture = new SoftTexture(this, (uint)size); + _textures.push_back(texture); + return texture; +} + +void SoftRenderer::destroyTexture(Texture* texture) +{ + if (!texture) { + return; + } + SoftTexture* soft_texture = (SoftTexture*)texture; + _textures.remove(soft_texture); + delete soft_texture; +} + +void SoftRenderer::destroyAllTextures() +{ + while (!_textures.empty()) { + SoftTexture* texture = *_textures.begin(); + _textures.pop_front(); + delete texture; + } +} + +uint SoftRenderer::getMaxTextureSize() const +{ + return 1 << 16; +} + +float SoftRenderer::getWidth() const +{ + return (float)_width; +} + +float SoftRenderer::getHeight() const +{ + return (float)_height; +} + +Size SoftRenderer::getSize() const +{ + return Size((float)_width, (float)_height); +} + +Rect SoftRenderer::getRect() const +{ + return Rect(0, 0, (float)_width, (float)_height); +} + +uint SoftRenderer::getHorzScreenDPI() const +{ + return 96; +} + +uint SoftRenderer::getVertScreenDPI() const +{ + return 96; +} + +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/gui/softrenderer.h b/tizen/distrib/remote/server/spice-0.12.2/client/gui/softrenderer.h new file mode 100644 index 0000000..b97f9d5 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/gui/softrenderer.h @@ -0,0 +1,148 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifndef _directfbrenderer_h_ +#define _directfbrenderer_h_ + +#include <stdint.h> +#include <list> +#include <set> +/* CEGUI 0.6 bug, CEGUITexture.h doesn't include this, we need to */ +#include <cstddef> + +#include "CEGUIRenderer.h" +#include "CEGUIColourRect.h" +#include "CEGUIRect.h" + + +namespace CEGUI +{ + class SoftTexture; + class ImageCodec; + + class SoftRenderer : public Renderer + { + public: + SoftRenderer(uint8_t* surface, uint width, uint height, uint stride, + ImageCodec* codec = NULL); + virtual ~SoftRenderer(); + + void reset_surface(uint8_t* surface, uint width, uint height, uint stride); + + virtual void addQuad(const Rect& dest_rect, float z, const Texture* tex, + const Rect& texture_rect, const ColourRect& colours, + QuadSplitMode quad_split_mode); + virtual void doRender(); + virtual void clearRenderList(); + virtual void setQueueingEnabled(bool setting); + virtual bool isQueueingEnabled() const; + + virtual Texture* createTexture(); + virtual Texture* createTexture(const String& filename, + const String& resourceGroup); + virtual Texture* createTexture(float size); + virtual void destroyTexture(Texture* texture); + virtual void destroyAllTextures(); + virtual uint getMaxTextureSize() const; + + virtual float getWidth() const; + virtual float getHeight() const; + virtual Size getSize() const; + virtual Rect getRect() const; + + virtual uint getHorzScreenDPI() const; + virtual uint getVertScreenDPI() const; + + ImageCodec* getImageCodec() { return _image_codec;} + + private: + void setupImageCodec(); + void cleanupImageCodec(); + struct QuadInfo; + void renderQuad(const QuadInfo& quad); + void renderQuadWithColourRect(const QuadInfo& quad); + + class ColourI { + public: + + bool isSameColour(const ColourI& other) const + { + return other.r == r && other.g == g && other.b == b && other.a == a; + } + + uint8_t r; + uint8_t g; + uint8_t b; + uint8_t a; + }; + + static inline void setRGB(ColourI& dest, const colour& src); + static inline void componnentAtPoint(int x_pos, int y_pos, + int top_left, int top_right, + int bottom_left, int bottom_right, + uint64_t& comp); + + struct ColourIRect { + ColourI top_left; + ColourI top_right; + ColourI bottom_left; + ColourI bottom_right; + }; + + static void colourAtPoint(int x, int x_max, int y, int y_max, + const ColourIRect& colours, + uint64_t& r, uint64_t& g, + uint64_t& b, uint64_t& a); + + private: + uint8_t* _surface; + int _width; + int _height; + ImageCodec* _image_codec; + DynamicModule* _image_codec_module; + void (*_destroy_image_codec)(ImageCodec*); + bool _queueing; + + struct RectI { + int left; + int top; + int right; + int bottom; + }; + + struct QuadInfo { + RectI dest; + const SoftTexture* tex; + RectI tex_src; + ColourIRect colors; + float z; + + bool operator < (const QuadInfo& other) const + { + return z > other.z; + } + }; + + typedef std::multiset<QuadInfo> QuadQueue; + QuadQueue _queue; + + typedef std::list<SoftTexture *> TexturesList; + TexturesList _textures; + }; +} + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/gui/softtexture.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/gui/softtexture.cpp new file mode 100644 index 0000000..d9ce9a0 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/gui/softtexture.cpp @@ -0,0 +1,139 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "common.h" + +#include "softtexture.h" +#include "softrenderer.h" + +#include "CEGUIImageCodec.h" +#include "CEGUISystem.h" +#include "CEGUIExceptions.h" + +namespace CEGUI +{ + + +SoftTexture::SoftTexture(Renderer* owner) + : Texture (owner) + , _surf (NULL) + , _width (0) + , _height (0) +{ + +} + +SoftTexture::SoftTexture(Renderer* owner, uint size) + : Texture (owner) + , _surf (new uint32[size * size]) + , _width (size) + , _height (size) +{ + +} + +SoftTexture::SoftTexture(Renderer* owner, const String& filename, + const String& resourceGroup) + : Texture (owner) + , _surf (NULL) + , _width (0) + , _height (0) +{ + loadFromFile(filename, resourceGroup); +} + + +SoftTexture::~SoftTexture() +{ + freeSurf(); +} + +void SoftTexture::freeSurf() +{ + _width = _height = 0; + delete[] _surf; + _surf = NULL; +} + +void SoftTexture::loadFromFile(const String& filename, const String& resourceGroup) +{ + freeSurf(); + SoftRenderer* renderer = static_cast<SoftRenderer*>(getRenderer()); + RawDataContainer texture_file; + ResourceProvider* resource_provider = System::getSingleton().getResourceProvider(); + resource_provider->loadRawDataContainer(filename, texture_file, resourceGroup); + ImageCodec *codec = renderer->getImageCodec(); + Texture* res = codec->load(texture_file, this); + resource_provider->unloadRawDataContainer(texture_file); + if (!res) { + throw RendererException("load from file failed"); + } +} + +void SoftTexture::loadFromMemory(const void* buffPtr, uint buffWidth, + uint buffHeight, + PixelFormat pixelFormat) +{ + freeSurf(); + _surf = new uint32[buffWidth * buffHeight]; + _width = buffWidth; + _height = buffHeight; + + switch (pixelFormat) { + case PF_RGBA: { + const uint32_t *src = static_cast<const uint32_t *>(buffPtr); + uint32* line = _surf; + uint32* end_line = _surf + _width * _height; + for (int i = 0; line != end_line; line += _width, i++) { + uint32* pixel = line; + uint32* end_pixel = pixel + _width; + for (; pixel != end_pixel; pixel++, src++) { + ((uint8_t*)pixel)[0] = ((uint8_t*)src)[2]; + ((uint8_t*)pixel)[1] = ((uint8_t*)src)[1]; + ((uint8_t*)pixel)[2] = ((uint8_t*)src)[0]; + ((uint8_t*)pixel)[3] = ((uint8_t*)src)[3]; + } + } + break; + } + case PF_RGB: { + const uint8_t *src = static_cast<const uint8_t *>(buffPtr); + uint32* line = _surf; + uint32* end_line = _surf + _width * _height; + for (int i = 0; line != end_line; line += _width, i++) { + uint8* pixel = (uint8*)line; + uint8* end_pixel = (uint8*)(line + _width); + for (; pixel != end_pixel; pixel += 4, src += 3) { + pixel[2] = src[0]; + pixel[1] = src[1]; + pixel[0] = src[2]; + pixel[3] = 0xff; + } + } + break; + } + default: + throw RendererException("invalid pixel format"); + } +} + + +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/gui/softtexture.h b/tizen/distrib/remote/server/spice-0.12.2/client/gui/softtexture.h new file mode 100644 index 0000000..668ca4f --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/gui/softtexture.h @@ -0,0 +1,58 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifndef _softtexture_h_ +#define _softtexture_h_ + +#include <stdint.h> +/* CEGUI 0.6 bug, CEGUITexture.h doesn't include this, we need to */ +#include <cstddef> + +#include "CEGUIBase.h" +#include "CEGUITexture.h" + +namespace CEGUI +{ + class SoftTexture : public Texture + { + public: + SoftTexture(Renderer* owner); + SoftTexture(Renderer* owner, uint size); + SoftTexture(Renderer* owner, const String& filename, + const String& resourceGroup); + virtual ~SoftTexture(); + + virtual ushort getWidth(void) const { return _width;} + virtual ushort getHeight(void) const { return _height;} + + virtual void loadFromFile(const String& filename, const String& resourceGroup); + virtual void loadFromMemory(const void* buffPtr, uint buffWidth, uint buffHeight, + PixelFormat pixelFormat); + + private: + void freeSurf(); + + private: + uint32_t* _surf; + ushort _width; + ushort _height; + + friend class SoftRenderer; + }; +} + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/gui/taharez_look.imageset.c b/tizen/distrib/remote/server/spice-0.12.2/client/gui/taharez_look.imageset.c new file mode 100644 index 0000000..adaf7b8 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/gui/taharez_look.imageset.c @@ -0,0 +1,1238 @@ +const unsigned char taharez_look_imageset[] = { +0x3c,0x3f,0x78,0x6d,0x6c,0x20,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x31, +0x2e,0x30,0x22,0x20,0x3f,0x3e,0x0a,0x3c,0x49,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x49,0x6d,0x61,0x67,0x65,0x66,0x69,0x6c,0x65,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2e,0x74,0x67,0x61,0x22,0x20, +0x4e,0x61,0x74,0x69,0x76,0x65,0x48,0x6f,0x72,0x7a,0x52,0x65,0x73,0x3d,0x22,0x38, +0x30,0x30,0x22,0x20,0x4e,0x61,0x74,0x69,0x76,0x65,0x56,0x65,0x72,0x74,0x52,0x65, +0x73,0x3d,0x22,0x36,0x30,0x30,0x22,0x20,0x41,0x75,0x74,0x6f,0x53,0x63,0x61,0x6c, +0x65,0x64,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x43,0x6c,0x69,0x65, +0x6e,0x74,0x42,0x72,0x75,0x73,0x68,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x32, +0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x32,0x22,0x20,0x57,0x69,0x64,0x74,0x68, +0x3d,0x22,0x36,0x34,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x34, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x4e,0x61,0x6d,0x65,0x3d,0x22,0x47,0x65,0x6e,0x65,0x72,0x69,0x63,0x42,0x72,0x75, +0x73,0x68,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x39,0x22,0x20,0x59,0x50,0x6f, +0x73,0x3d,0x22,0x37,0x31,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x22, +0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x22,0x20,0x2f,0x3e,0x0a,0x09, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x57,0x69,0x6e, +0x64,0x6f,0x77,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x58,0x50,0x6f, +0x73,0x3d,0x22,0x36,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x39,0x35,0x22,0x20, +0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74, +0x3d,0x22,0x32,0x32,0x22,0x20,0x58,0x4f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x34, +0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d, +0x65,0x3d,0x22,0x57,0x69,0x6e,0x64,0x6f,0x77,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x33,0x34,0x22,0x20,0x59,0x50, +0x6f,0x73,0x3d,0x22,0x39,0x35,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31, +0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x32,0x32,0x22,0x20,0x58,0x4f, +0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x35,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x57,0x69,0x6e,0x64, +0x6f,0x77,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d, +0x22,0x39,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x36,0x38,0x22,0x20,0x57,0x69, +0x64,0x74,0x68,0x3d,0x22,0x32,0x33,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d, +0x22,0x31,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e, +0x61,0x6d,0x65,0x3d,0x22,0x57,0x69,0x6e,0x64,0x6f,0x77,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x39,0x22,0x20, +0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x34,0x33,0x22,0x20,0x57,0x69,0x64,0x74,0x68, +0x3d,0x22,0x32,0x33,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x22, +0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65, +0x3d,0x22,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x22, +0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22, +0x36,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x35,0x22,0x20,0x48,0x65, +0x69,0x67,0x68,0x74,0x3d,0x22,0x32,0x34,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x57,0x69,0x6e,0x64,0x6f, +0x77,0x54,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d, +0x22,0x33,0x34,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x36,0x38,0x22,0x20,0x57, +0x69,0x64,0x74,0x68,0x3d,0x22,0x35,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d, +0x22,0x32,0x34,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x4e,0x61,0x6d,0x65,0x3d,0x22,0x57,0x69,0x6e,0x64,0x6f,0x77,0x42,0x6f,0x74,0x74, +0x6f,0x6d,0x4c,0x65,0x66,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x32,0x22, +0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x32,0x30,0x22,0x20,0x57,0x69,0x64,0x74, +0x68,0x3d,0x22,0x35,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x32,0x34, +0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d, +0x65,0x3d,0x22,0x57,0x69,0x6e,0x64,0x6f,0x77,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52, +0x69,0x67,0x68,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x33,0x34,0x22,0x20, +0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x32,0x30,0x22,0x20,0x57,0x69,0x64,0x74,0x68, +0x3d,0x22,0x35,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x32,0x34,0x22, +0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65, +0x3d,0x22,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4c,0x65,0x66,0x74,0x4e,0x6f,0x72,0x6d, +0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x36,0x38,0x22,0x20,0x59,0x50, +0x6f,0x73,0x3d,0x22,0x32,0x30,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31, +0x32,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x36,0x22,0x20,0x2f, +0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22, +0x42,0x75,0x74,0x74,0x6f,0x6e,0x4d,0x69,0x64,0x64,0x6c,0x65,0x4e,0x6f,0x72,0x6d, +0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x38,0x32,0x22,0x20,0x59,0x50, +0x6f,0x73,0x3d,0x22,0x32,0x30,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31, +0x32,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x36,0x22,0x20,0x2f, +0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22, +0x42,0x75,0x74,0x74,0x6f,0x6e,0x52,0x69,0x67,0x68,0x74,0x4e,0x6f,0x72,0x6d,0x61, +0x6c,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x39,0x36,0x22,0x20,0x59,0x50,0x6f, +0x73,0x3d,0x22,0x32,0x30,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x32, +0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x36,0x22,0x20,0x2f,0x3e, +0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x42, +0x75,0x74,0x74,0x6f,0x6e,0x4c,0x65,0x66,0x74,0x50,0x75,0x73,0x68,0x65,0x64,0x22, +0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x36,0x38,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d, +0x22,0x33,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x32,0x22,0x20, +0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x42,0x75,0x74, +0x74,0x6f,0x6e,0x4d,0x69,0x64,0x64,0x6c,0x65,0x50,0x75,0x73,0x68,0x65,0x64,0x22, +0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x38,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d, +0x22,0x33,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x32,0x22,0x20, +0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x42,0x75,0x74, +0x74,0x6f,0x6e,0x52,0x69,0x67,0x68,0x74,0x50,0x75,0x73,0x68,0x65,0x64,0x22,0x20, +0x58,0x50,0x6f,0x73,0x3d,0x22,0x39,0x36,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22, +0x33,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x32,0x22,0x20,0x48, +0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x42,0x75,0x74,0x74, +0x6f,0x6e,0x4c,0x65,0x66,0x74,0x48,0x69,0x67,0x68,0x6c,0x69,0x67,0x68,0x74,0x22, +0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x36,0x38,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d, +0x22,0x35,0x36,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x32,0x22,0x20, +0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x42,0x75,0x74, +0x74,0x6f,0x6e,0x4d,0x69,0x64,0x64,0x6c,0x65,0x48,0x69,0x67,0x68,0x6c,0x69,0x67, +0x68,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x38,0x32,0x22,0x20,0x59,0x50, +0x6f,0x73,0x3d,0x22,0x35,0x36,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31, +0x32,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x36,0x22,0x20,0x2f, +0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22, +0x42,0x75,0x74,0x74,0x6f,0x6e,0x52,0x69,0x67,0x68,0x74,0x48,0x69,0x67,0x68,0x6c, +0x69,0x67,0x68,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x39,0x36,0x22,0x20, +0x59,0x50,0x6f,0x73,0x3d,0x22,0x35,0x36,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d, +0x22,0x31,0x32,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x36,0x22, +0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65, +0x3d,0x22,0x43,0x68,0x65,0x63,0x6b,0x62,0x6f,0x78,0x4e,0x6f,0x72,0x6d,0x61,0x6c, +0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x31,0x30,0x22,0x20,0x59,0x50,0x6f, +0x73,0x3d,0x22,0x32,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x32,0x22, +0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x32,0x22,0x20,0x2f,0x3e,0x0a, +0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x43,0x68, +0x65,0x63,0x6b,0x62,0x6f,0x78,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x58,0x50,0x6f, +0x73,0x3d,0x22,0x31,0x31,0x30,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x33,0x30, +0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x32,0x22,0x20,0x48,0x65,0x69, +0x67,0x68,0x74,0x3d,0x22,0x31,0x32,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x43,0x68,0x65,0x63,0x6b,0x62, +0x6f,0x78,0x4d,0x61,0x72,0x6b,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x31, +0x30,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x36,0x22,0x20,0x57,0x69,0x64, +0x74,0x68,0x3d,0x22,0x31,0x32,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22, +0x31,0x32,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e, +0x61,0x6d,0x65,0x3d,0x22,0x52,0x61,0x64,0x69,0x6f,0x42,0x75,0x74,0x74,0x6f,0x6e, +0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x32, +0x34,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x32,0x22,0x20,0x57,0x69,0x64,0x74, +0x68,0x3d,0x22,0x31,0x32,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31, +0x32,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61, +0x6d,0x65,0x3d,0x22,0x52,0x61,0x64,0x69,0x6f,0x42,0x75,0x74,0x74,0x6f,0x6e,0x48, +0x6f,0x76,0x65,0x72,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x32,0x34,0x22, +0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x33,0x30,0x22,0x20,0x57,0x69,0x64,0x74,0x68, +0x3d,0x22,0x31,0x32,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x32, +0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d, +0x65,0x3d,0x22,0x52,0x61,0x64,0x69,0x6f,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4d,0x61, +0x72,0x6b,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x32,0x34,0x22,0x20,0x59, +0x50,0x6f,0x73,0x3d,0x22,0x31,0x36,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22, +0x31,0x32,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x32,0x22,0x20, +0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d, +0x22,0x54,0x69,0x74,0x6c,0x65,0x62,0x61,0x72,0x4c,0x65,0x66,0x74,0x22,0x20,0x58, +0x50,0x6f,0x73,0x3d,0x22,0x36,0x38,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x32, +0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x38,0x22,0x20,0x48,0x65,0x69,0x67, +0x68,0x74,0x3d,0x22,0x31,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x69,0x74,0x6c,0x65,0x62,0x61, +0x72,0x4d,0x69,0x64,0x64,0x6c,0x65,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x37, +0x38,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x32,0x22,0x20,0x57,0x69,0x64,0x74, +0x68,0x3d,0x22,0x38,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x36, +0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d, +0x65,0x3d,0x22,0x54,0x69,0x74,0x6c,0x65,0x62,0x61,0x72,0x52,0x69,0x67,0x68,0x74, +0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x38,0x38,0x22,0x20,0x59,0x50,0x6f,0x73, +0x3d,0x22,0x32,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x38,0x22,0x20,0x48, +0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x65,0x77,0x54, +0x69,0x74,0x6c,0x65,0x62,0x61,0x72,0x4c,0x65,0x66,0x74,0x22,0x20,0x58,0x50,0x6f, +0x73,0x3d,0x22,0x36,0x31,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x32,0x37, +0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x33,0x22,0x20,0x48,0x65,0x69, +0x67,0x68,0x74,0x3d,0x22,0x31,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x65,0x77,0x54,0x69,0x74, +0x6c,0x65,0x62,0x61,0x72,0x4d,0x69,0x64,0x64,0x6c,0x65,0x22,0x20,0x58,0x50,0x6f, +0x73,0x3d,0x22,0x37,0x37,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x32,0x37, +0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x32,0x22,0x20,0x48,0x65,0x69, +0x67,0x68,0x74,0x3d,0x22,0x31,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x65,0x77,0x54,0x69,0x74, +0x6c,0x65,0x62,0x61,0x72,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x58,0x50,0x6f,0x73, +0x3d,0x22,0x39,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x32,0x37,0x22, +0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x32,0x22,0x20,0x48,0x65,0x69,0x67, +0x68,0x74,0x3d,0x22,0x31,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x79,0x73,0x41,0x72,0x65,0x61, +0x4d,0x69,0x64,0x64,0x6c,0x65,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x30, +0x37,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x32,0x37,0x22,0x20,0x57,0x69, +0x64,0x74,0x68,0x3d,0x22,0x31,0x32,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d, +0x22,0x31,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x4e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x79,0x73,0x41,0x72,0x65,0x61,0x52,0x69,0x67, +0x68,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x32,0x32,0x22,0x20,0x59, +0x50,0x6f,0x73,0x3d,0x22,0x31,0x32,0x37,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d, +0x22,0x31,0x33,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x36,0x22, +0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65, +0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x4c,0x65,0x66,0x74,0x22,0x20,0x58,0x50, +0x6f,0x73,0x3d,0x22,0x34,0x31,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x38,0x39, +0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x36,0x22,0x20,0x48,0x65,0x69,0x67, +0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x52,0x69, +0x67,0x68,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x36,0x33,0x22,0x20,0x59, +0x50,0x6f,0x73,0x3d,0x22,0x38,0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22, +0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e, +0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x53, +0x74,0x61,0x74,0x69,0x63,0x54,0x6f,0x70,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22, +0x35,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x37,0x38,0x22,0x20,0x57,0x69, +0x64,0x74,0x68,0x3d,0x22,0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22, +0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61, +0x6d,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x42,0x6f,0x74,0x74,0x6f,0x6d, +0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x35,0x32,0x22,0x20,0x59,0x50,0x6f,0x73, +0x3d,0x22,0x31,0x30,0x30,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x36,0x22, +0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x74,0x61, +0x74,0x69,0x63,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x22,0x20,0x58,0x50,0x6f,0x73, +0x3d,0x22,0x34,0x31,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x37,0x38,0x22,0x20, +0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74, +0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x4e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x54,0x6f,0x70,0x52, +0x69,0x67,0x68,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x36,0x33,0x22,0x20, +0x59,0x50,0x6f,0x73,0x3d,0x22,0x37,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d, +0x22,0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f, +0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22, +0x53,0x74,0x61,0x74,0x69,0x63,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74, +0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x34,0x31,0x22,0x20,0x59,0x50,0x6f,0x73, +0x3d,0x22,0x31,0x30,0x30,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x36,0x22, +0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x74,0x61, +0x74,0x69,0x63,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x22,0x20, +0x58,0x50,0x6f,0x73,0x3d,0x22,0x36,0x33,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22, +0x31,0x30,0x30,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x36,0x22,0x20,0x48, +0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69, +0x63,0x42,0x61,0x63,0x6b,0x64,0x72,0x6f,0x70,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d, +0x22,0x35,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x38,0x39,0x22,0x20,0x57, +0x69,0x64,0x74,0x68,0x3d,0x22,0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d, +0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e, +0x61,0x6d,0x65,0x3d,0x22,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x42,0x61,0x72, +0x4c,0x65,0x66,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x37,0x31,0x22,0x20, +0x59,0x50,0x6f,0x73,0x3d,0x22,0x37,0x34,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d, +0x22,0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x32,0x22,0x20, +0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d, +0x22,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x42,0x61,0x72,0x4d,0x69,0x64,0x64, +0x6c,0x65,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x38,0x30,0x22,0x20,0x59,0x50, +0x6f,0x73,0x3d,0x22,0x37,0x34,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x36, +0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x32,0x22,0x20,0x2f,0x3e, +0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x50, +0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x42,0x61,0x72,0x52,0x69,0x67,0x68,0x74,0x22, +0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x38,0x38,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d, +0x22,0x37,0x34,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x36,0x22,0x20,0x48, +0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x32,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x72,0x6f,0x67, +0x72,0x65,0x73,0x73,0x42,0x61,0x72,0x44,0x69,0x6d,0x53,0x65,0x67,0x6d,0x65,0x6e, +0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x39,0x36,0x22,0x20,0x59,0x50,0x6f, +0x73,0x3d,0x22,0x37,0x34,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x38,0x22, +0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x32,0x22,0x20,0x2f,0x3e,0x0a, +0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x72, +0x6f,0x67,0x72,0x65,0x73,0x73,0x42,0x61,0x72,0x4c,0x69,0x74,0x53,0x65,0x67,0x6d, +0x65,0x6e,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x30,0x36,0x22,0x20, +0x59,0x50,0x6f,0x73,0x3d,0x22,0x37,0x34,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d, +0x22,0x38,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x32,0x22,0x20, +0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d, +0x22,0x45,0x64,0x69,0x74,0x42,0x6f,0x78,0x4c,0x65,0x66,0x74,0x22,0x20,0x58,0x50, +0x6f,0x73,0x3d,0x22,0x34,0x31,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x30, +0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x34,0x22,0x20,0x48,0x65,0x69, +0x67,0x68,0x74,0x3d,0x22,0x31,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x64,0x69,0x74,0x42,0x6f, +0x78,0x4d,0x69,0x64,0x64,0x6c,0x65,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x34, +0x37,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x30,0x38,0x22,0x20,0x57,0x69, +0x64,0x74,0x68,0x3d,0x22,0x34,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22, +0x31,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e, +0x61,0x6d,0x65,0x3d,0x22,0x45,0x64,0x69,0x74,0x42,0x6f,0x78,0x52,0x69,0x67,0x68, +0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x35,0x33,0x22,0x20,0x59,0x50,0x6f, +0x73,0x3d,0x22,0x31,0x30,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x34, +0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x38,0x22,0x20,0x2f,0x3e, +0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x45, +0x64,0x69,0x74,0x42,0x6f,0x78,0x43,0x61,0x72,0x61,0x74,0x22,0x20,0x58,0x50,0x6f, +0x73,0x3d,0x22,0x36,0x30,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x30,0x38, +0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x34,0x22,0x20,0x48,0x65,0x69,0x67, +0x68,0x74,0x3d,0x22,0x31,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x70,0x69,0x6e,0x6e,0x65,0x72, +0x55,0x70,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22, +0x36,0x38,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x31,0x30,0x22,0x20,0x57, +0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x30,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74, +0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x4e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x70,0x69,0x6e,0x6e,0x65,0x72,0x44,0x6f,0x77, +0x6e,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x36, +0x38,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x31,0x38,0x22,0x20,0x57,0x69, +0x64,0x74,0x68,0x3d,0x22,0x31,0x30,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d, +0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e, +0x61,0x6d,0x65,0x3d,0x22,0x53,0x70,0x69,0x6e,0x6e,0x65,0x72,0x55,0x70,0x48,0x6f, +0x76,0x65,0x72,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x38,0x32,0x22,0x20,0x59, +0x50,0x6f,0x73,0x3d,0x22,0x31,0x31,0x30,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d, +0x22,0x31,0x30,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20, +0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d, +0x22,0x53,0x70,0x69,0x6e,0x6e,0x65,0x72,0x44,0x6f,0x77,0x6e,0x48,0x6f,0x76,0x65, +0x72,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x38,0x32,0x22,0x20,0x59,0x50,0x6f, +0x73,0x3d,0x22,0x31,0x31,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31, +0x30,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e, +0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54, +0x65,0x78,0x74,0x53,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e,0x42,0x72,0x75,0x73, +0x68,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x38,0x22,0x20,0x59,0x50,0x6f,0x73, +0x3d,0x22,0x37,0x30,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x36,0x22, +0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x36,0x22,0x20,0x2f,0x3e,0x0a, +0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x65, +0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x6f,0x70,0x22,0x20,0x58,0x50,0x6f, +0x73,0x3d,0x22,0x31,0x38,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x32,0x22, +0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x32,0x30,0x22,0x20,0x48,0x65,0x69,0x67, +0x68,0x74,0x3d,0x22,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f, +0x6c,0x6c,0x4d,0x69,0x64,0x64,0x6c,0x65,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22, +0x31,0x38,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x32,0x22,0x20,0x57, +0x69,0x64,0x74,0x68,0x3d,0x22,0x32,0x30,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74, +0x3d,0x22,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x4e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c, +0x42,0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x38, +0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x32,0x32,0x22,0x20,0x57,0x69,0x64, +0x74,0x68,0x3d,0x22,0x32,0x30,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22, +0x38,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61, +0x6d,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x42,0x61, +0x72,0x53,0x65,0x67,0x6d,0x65,0x6e,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22, +0x32,0x30,0x36,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x32,0x22,0x20,0x57,0x69, +0x64,0x74,0x68,0x3d,0x22,0x34,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22, +0x31,0x30,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e, +0x61,0x6d,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54, +0x68,0x75,0x6d,0x62,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73, +0x3d,0x22,0x32,0x31,0x34,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x32,0x22,0x20, +0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x38,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74, +0x3d,0x22,0x32,0x34,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c, +0x6c,0x54,0x68,0x75,0x6d,0x62,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x58,0x50,0x6f, +0x73,0x3d,0x22,0x32,0x32,0x34,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x32,0x22, +0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x38,0x22,0x20,0x48,0x65,0x69,0x67,0x68, +0x74,0x3d,0x22,0x32,0x34,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f, +0x6c,0x6c,0x55,0x70,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73, +0x3d,0x22,0x31,0x39,0x36,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x33,0x32,0x22, +0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x32,0x22,0x20,0x48,0x65,0x69,0x67, +0x68,0x74,0x3d,0x22,0x31,0x32,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x63,0x72, +0x6f,0x6c,0x6c,0x44,0x6f,0x77,0x6e,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58, +0x50,0x6f,0x73,0x3d,0x22,0x31,0x38,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22, +0x33,0x32,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x32,0x22,0x20,0x48, +0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x32,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x65,0x72,0x74, +0x53,0x63,0x72,0x6f,0x6c,0x6c,0x55,0x70,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x58, +0x50,0x6f,0x73,0x3d,0x22,0x31,0x39,0x36,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22, +0x34,0x36,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x32,0x22,0x20,0x48, +0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x32,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x65,0x72,0x74, +0x53,0x63,0x72,0x6f,0x6c,0x6c,0x44,0x6f,0x77,0x6e,0x48,0x6f,0x76,0x65,0x72,0x22, +0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x38,0x32,0x22,0x20,0x59,0x50,0x6f,0x73, +0x3d,0x22,0x34,0x36,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x32,0x22, +0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x32,0x22,0x20,0x2f,0x3e,0x0a, +0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x69, +0x6e,0x69,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x42,0x61,0x72,0x53, +0x65,0x67,0x6d,0x65,0x6e,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x32,0x30, +0x37,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x36,0x30,0x22,0x20,0x57,0x69,0x64, +0x74,0x68,0x3d,0x22,0x34,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31, +0x30,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61, +0x6d,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f, +0x6c,0x6c,0x54,0x68,0x75,0x6d,0x62,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58, +0x50,0x6f,0x73,0x3d,0x22,0x32,0x31,0x34,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22, +0x35,0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x37,0x22,0x20,0x48,0x65, +0x69,0x67,0x68,0x74,0x3d,0x22,0x32,0x32,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x56, +0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x68,0x75,0x6d,0x62,0x54,0x6f, +0x70,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x32, +0x31,0x34,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x35,0x39,0x22,0x20,0x57,0x69, +0x64,0x74,0x68,0x3d,0x22,0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22, +0x35,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61, +0x6d,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f, +0x6c,0x6c,0x54,0x68,0x75,0x6d,0x62,0x4d,0x69,0x64,0x64,0x6c,0x65,0x4e,0x6f,0x72, +0x6d,0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x32,0x31,0x34,0x22,0x20, +0x59,0x50,0x6f,0x73,0x3d,0x22,0x36,0x35,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d, +0x22,0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x35,0x22,0x20,0x2f, +0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22, +0x4d,0x69,0x6e,0x69,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x68, +0x75,0x6d,0x62,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22, +0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x32,0x31,0x34,0x22,0x20,0x59,0x50,0x6f,0x73, +0x3d,0x22,0x37,0x36,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x37,0x22,0x20, +0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x35,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69, +0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x68,0x75,0x6d,0x62,0x54, +0x6f,0x70,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x32, +0x32,0x33,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x35,0x39,0x22,0x20,0x57,0x69, +0x64,0x74,0x68,0x3d,0x22,0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22, +0x35,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61, +0x6d,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f, +0x6c,0x6c,0x54,0x68,0x75,0x6d,0x62,0x4d,0x69,0x64,0x64,0x6c,0x65,0x48,0x6f,0x76, +0x65,0x72,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x32,0x32,0x33,0x22,0x20,0x59, +0x50,0x6f,0x73,0x3d,0x22,0x36,0x35,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22, +0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x35,0x22,0x20,0x2f,0x3e, +0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d, +0x69,0x6e,0x69,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x68,0x75, +0x6d,0x62,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x58, +0x50,0x6f,0x73,0x3d,0x22,0x32,0x32,0x33,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22, +0x37,0x36,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x37,0x22,0x20,0x48,0x65, +0x69,0x67,0x68,0x74,0x3d,0x22,0x35,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x56,0x65, +0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x68,0x75,0x6d,0x62,0x48,0x6f,0x76, +0x65,0x72,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x32,0x32,0x33,0x22,0x20,0x59, +0x50,0x6f,0x73,0x3d,0x22,0x35,0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22, +0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x32,0x32,0x22,0x20,0x2f, +0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22, +0x4d,0x69,0x6e,0x69,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x55,0x70, +0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x39, +0x34,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x36,0x30,0x22,0x20,0x57,0x69,0x64, +0x74,0x68,0x3d,0x22,0x31,0x30,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22, +0x39,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61, +0x6d,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f, +0x6c,0x6c,0x44,0x6f,0x77,0x6e,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58,0x50, +0x6f,0x73,0x3d,0x22,0x31,0x38,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x35, +0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x30,0x22,0x20,0x48,0x65, +0x69,0x67,0x68,0x74,0x3d,0x22,0x39,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x56,0x65, +0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x55,0x70,0x48,0x6f,0x76,0x65,0x72,0x22, +0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x39,0x34,0x22,0x20,0x59,0x50,0x6f,0x73, +0x3d,0x22,0x37,0x30,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x30,0x22, +0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x39,0x22,0x20,0x2f,0x3e,0x0a,0x09, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x69,0x6e, +0x69,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x44,0x6f,0x77,0x6e,0x48, +0x6f,0x76,0x65,0x72,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x38,0x32,0x22, +0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x36,0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68, +0x3d,0x22,0x31,0x30,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x39,0x22, +0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65, +0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x6c,0x69,0x64,0x65,0x72,0x42,0x6f,0x64,0x79, +0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x32,0x33,0x34,0x22,0x20,0x59,0x50,0x6f, +0x73,0x3d,0x22,0x32,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x39,0x22,0x20, +0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x34,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x09, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x65,0x72, +0x74,0x53,0x6c,0x69,0x64,0x65,0x72,0x54,0x68,0x75,0x6d,0x62,0x4e,0x6f,0x72,0x6d, +0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x32,0x31,0x37,0x22,0x20,0x59, +0x50,0x6f,0x73,0x3d,0x22,0x32,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22, +0x31,0x35,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f, +0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22, +0x56,0x65,0x72,0x74,0x53,0x6c,0x69,0x64,0x65,0x72,0x54,0x68,0x75,0x6d,0x62,0x48, +0x6f,0x76,0x65,0x72,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x32,0x31,0x37,0x22, +0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x33,0x36,0x22,0x20,0x57,0x69,0x64,0x74,0x68, +0x3d,0x22,0x31,0x35,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22, +0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65, +0x3d,0x22,0x4d,0x69,0x6e,0x69,0x48,0x6f,0x72,0x7a,0x53,0x63,0x72,0x6f,0x6c,0x6c, +0x42,0x61,0x72,0x53,0x65,0x67,0x6d,0x65,0x6e,0x74,0x22,0x20,0x58,0x50,0x6f,0x73, +0x3d,0x22,0x32,0x34,0x34,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x38,0x30,0x22, +0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x30,0x22,0x20,0x48,0x65,0x69,0x67, +0x68,0x74,0x3d,0x22,0x34,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x48,0x6f,0x72,0x7a, +0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x68,0x75,0x6d,0x62,0x4e,0x6f,0x72,0x6d,0x61, +0x6c,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x32,0x33,0x33,0x22,0x20,0x59,0x50, +0x6f,0x73,0x3d,0x22,0x38,0x37,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x32, +0x32,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e, +0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d, +0x69,0x6e,0x69,0x48,0x6f,0x72,0x7a,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x68,0x75, +0x6d,0x62,0x4c,0x65,0x66,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58,0x50, +0x6f,0x73,0x3d,0x22,0x32,0x33,0x33,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x38, +0x37,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x35,0x22,0x20,0x48,0x65,0x69, +0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x48,0x6f,0x72, +0x7a,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x68,0x75,0x6d,0x62,0x4d,0x69,0x64,0x64, +0x6c,0x65,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22, +0x32,0x33,0x39,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x38,0x37,0x22,0x20,0x57, +0x69,0x64,0x74,0x68,0x3d,0x22,0x35,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d, +0x22,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e, +0x61,0x6d,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x48,0x6f,0x72,0x7a,0x53,0x63,0x72, +0x6f,0x6c,0x6c,0x54,0x68,0x75,0x6d,0x62,0x52,0x69,0x67,0x68,0x74,0x4e,0x6f,0x72, +0x6d,0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x32,0x35,0x30,0x22,0x20, +0x59,0x50,0x6f,0x73,0x3d,0x22,0x38,0x37,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d, +0x22,0x35,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20,0x2f, +0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22, +0x4d,0x69,0x6e,0x69,0x48,0x6f,0x72,0x7a,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x68, +0x75,0x6d,0x62,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22, +0x32,0x33,0x33,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x39,0x36,0x22,0x20,0x57, +0x69,0x64,0x74,0x68,0x3d,0x22,0x32,0x32,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74, +0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x48,0x6f,0x72,0x7a,0x53,0x63, +0x72,0x6f,0x6c,0x6c,0x54,0x68,0x75,0x6d,0x62,0x4c,0x65,0x66,0x74,0x48,0x6f,0x76, +0x65,0x72,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x32,0x33,0x33,0x22,0x20,0x59, +0x50,0x6f,0x73,0x3d,0x22,0x39,0x36,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22, +0x35,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e, +0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d, +0x69,0x6e,0x69,0x48,0x6f,0x72,0x7a,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x68,0x75, +0x6d,0x62,0x4d,0x69,0x64,0x64,0x6c,0x65,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x58, +0x50,0x6f,0x73,0x3d,0x22,0x32,0x33,0x39,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22, +0x39,0x36,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x35,0x22,0x20,0x48,0x65, +0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x48,0x6f, +0x72,0x7a,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x68,0x75,0x6d,0x62,0x52,0x69,0x67, +0x68,0x74,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x32, +0x35,0x30,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x39,0x36,0x22,0x20,0x57,0x69, +0x64,0x74,0x68,0x3d,0x22,0x35,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22, +0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61, +0x6d,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x48,0x6f,0x72,0x7a,0x53,0x63,0x72,0x6f, +0x6c,0x6c,0x4c,0x65,0x66,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58,0x50, +0x6f,0x73,0x3d,0x22,0x32,0x34,0x36,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x35, +0x35,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x39,0x22,0x20,0x48,0x65,0x69, +0x67,0x68,0x74,0x3d,0x22,0x31,0x30,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x48,0x6f, +0x72,0x7a,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x52,0x69,0x67,0x68,0x74,0x4e,0x6f,0x72, +0x6d,0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x32,0x34,0x35,0x22,0x20, +0x59,0x50,0x6f,0x73,0x3d,0x22,0x36,0x37,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d, +0x22,0x39,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x30,0x22,0x20, +0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d, +0x22,0x4d,0x69,0x6e,0x69,0x48,0x6f,0x72,0x7a,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x4c, +0x65,0x66,0x74,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22, +0x32,0x33,0x36,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x35,0x35,0x22,0x20,0x57, +0x69,0x64,0x74,0x68,0x3d,0x22,0x39,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d, +0x22,0x31,0x30,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x48,0x6f,0x72,0x7a,0x53,0x63, +0x72,0x6f,0x6c,0x6c,0x52,0x69,0x67,0x68,0x74,0x48,0x6f,0x76,0x65,0x72,0x22,0x20, +0x58,0x50,0x6f,0x73,0x3d,0x22,0x32,0x33,0x35,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d, +0x22,0x36,0x37,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x39,0x22,0x20,0x48, +0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x30,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74, +0x62,0x6f,0x78,0x4c,0x65,0x66,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x34, +0x31,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x38,0x39,0x22,0x20,0x57,0x69,0x64, +0x74,0x68,0x3d,0x22,0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36, +0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d, +0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x52,0x69,0x67,0x68,0x74,0x22, +0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x36,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d, +0x22,0x38,0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x37,0x22,0x20,0x48, +0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62, +0x6f,0x78,0x54,0x6f,0x70,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x35,0x32,0x22, +0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x37,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68, +0x3d,0x22,0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20, +0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d, +0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20, +0x58,0x50,0x6f,0x73,0x3d,0x22,0x35,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22, +0x39,0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x36,0x22,0x20,0x48,0x65, +0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f, +0x78,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22, +0x34,0x31,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x37,0x38,0x22,0x20,0x57,0x69, +0x64,0x74,0x68,0x3d,0x22,0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22, +0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61, +0x6d,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x54,0x6f,0x70,0x52,0x69, +0x67,0x68,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x36,0x32,0x22,0x20,0x59, +0x50,0x6f,0x73,0x3d,0x22,0x37,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22, +0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e, +0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4c, +0x69,0x73,0x74,0x62,0x6f,0x78,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74, +0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x34,0x31,0x22,0x20,0x59,0x50,0x6f,0x73, +0x3d,0x22,0x39,0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x37,0x22,0x20, +0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74, +0x62,0x6f,0x78,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x22,0x20, +0x58,0x50,0x6f,0x73,0x3d,0x22,0x36,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22, +0x39,0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x37,0x22,0x20,0x48,0x65, +0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f, +0x78,0x42,0x61,0x63,0x6b,0x64,0x72,0x6f,0x70,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d, +0x22,0x35,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x38,0x39,0x22,0x20,0x57, +0x69,0x64,0x74,0x68,0x3d,0x22,0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d, +0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e, +0x61,0x6d,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x53,0x65,0x6c,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x42,0x72,0x75,0x73,0x68,0x22,0x20,0x58,0x50,0x6f,0x73, +0x3d,0x22,0x38,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x37,0x30,0x22,0x20,0x57, +0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74, +0x3d,0x22,0x31,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x45, +0x64,0x69,0x74,0x4c,0x65,0x66,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31, +0x33,0x38,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x32,0x22,0x20,0x57,0x69,0x64, +0x74,0x68,0x3d,0x22,0x38,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31, +0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61, +0x6d,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x45,0x64,0x69,0x74, +0x4d,0x69,0x64,0x64,0x6c,0x65,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x34, +0x38,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x32,0x22,0x20,0x57,0x69,0x64,0x74, +0x68,0x3d,0x22,0x38,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x36, +0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d, +0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x4c,0x69,0x73,0x74,0x42, +0x75,0x74,0x74,0x6f,0x6e,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58,0x50,0x6f, +0x73,0x3d,0x22,0x31,0x35,0x38,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x32,0x22, +0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x36,0x22,0x20,0x48,0x65,0x69,0x67, +0x68,0x74,0x3d,0x22,0x31,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f, +0x78,0x4c,0x69,0x73,0x74,0x42,0x75,0x74,0x74,0x6f,0x6e,0x48,0x6f,0x76,0x65,0x72, +0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x35,0x38,0x22,0x20,0x59,0x50,0x6f, +0x73,0x3d,0x22,0x32,0x30,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x36, +0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x36,0x22,0x20,0x2f,0x3e, +0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x43, +0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x4c,0x69,0x73,0x74,0x4c,0x65,0x66,0x74,0x22, +0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x33,0x38,0x22,0x20,0x59,0x50,0x6f,0x73, +0x3d,0x22,0x34,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x38,0x22,0x20, +0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62, +0x6f,0x62,0x6f,0x78,0x4c,0x69,0x73,0x74,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x58, +0x50,0x6f,0x73,0x3d,0x22,0x31,0x35,0x38,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22, +0x34,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x38,0x22,0x20,0x48,0x65, +0x69,0x67,0x68,0x74,0x3d,0x22,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62, +0x6f,0x78,0x4c,0x69,0x73,0x74,0x54,0x6f,0x70,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d, +0x22,0x31,0x34,0x38,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x34,0x38,0x22,0x20, +0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x38,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74, +0x3d,0x22,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x4e,0x61,0x6d,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x4c,0x69, +0x73,0x74,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22, +0x31,0x34,0x38,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x35,0x38,0x22,0x20,0x57, +0x69,0x64,0x74,0x68,0x3d,0x22,0x38,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d, +0x22,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e, +0x61,0x6d,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x4c,0x69,0x73, +0x74,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22, +0x31,0x33,0x38,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x33,0x38,0x22,0x20,0x57, +0x69,0x64,0x74,0x68,0x3d,0x22,0x38,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d, +0x22,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e, +0x61,0x6d,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x4c,0x69,0x73, +0x74,0x54,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d, +0x22,0x31,0x35,0x38,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x33,0x38,0x22,0x20, +0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x38,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74, +0x3d,0x22,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x4e,0x61,0x6d,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x4c,0x69, +0x73,0x74,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x22,0x20,0x58,0x50, +0x6f,0x73,0x3d,0x22,0x31,0x33,0x38,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x35, +0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x38,0x22,0x20,0x48,0x65,0x69, +0x67,0x68,0x74,0x3d,0x22,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f, +0x78,0x4c,0x69,0x73,0x74,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74, +0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x35,0x38,0x22,0x20,0x59,0x50,0x6f, +0x73,0x3d,0x22,0x35,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x38,0x22, +0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x09, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x43,0x6f,0x6d, +0x62,0x6f,0x62,0x6f,0x78,0x4c,0x69,0x73,0x74,0x42,0x61,0x63,0x6b,0x64,0x72,0x6f, +0x70,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x34,0x38,0x22,0x20,0x59,0x50, +0x6f,0x73,0x3d,0x22,0x34,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x38, +0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x38,0x22,0x20,0x2f,0x3e,0x0a, +0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x43,0x6f, +0x6d,0x62,0x6f,0x62,0x6f,0x78,0x53,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e,0x42, +0x72,0x75,0x73,0x68,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x38,0x22,0x20,0x59, +0x50,0x6f,0x73,0x3d,0x22,0x37,0x30,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22, +0x31,0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x36,0x22,0x20, +0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d, +0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x44,0x69,0x76,0x69,0x64,0x65,0x72, +0x4c,0x65,0x66,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x33,0x38,0x22, +0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x36,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68, +0x3d,0x22,0x31,0x34,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x22, +0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65, +0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x44,0x69,0x76,0x69,0x64,0x65, +0x72,0x4d,0x69,0x64,0x64,0x6c,0x65,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31, +0x35,0x34,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x36,0x38,0x22,0x20,0x57,0x69, +0x64,0x74,0x68,0x3d,0x22,0x38,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22, +0x31,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61, +0x6d,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x44,0x69,0x76,0x69, +0x64,0x65,0x72,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22, +0x31,0x36,0x34,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x36,0x38,0x22,0x20,0x57, +0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x34,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74, +0x3d,0x22,0x31,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x4e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x65,0x61,0x64,0x65,0x72,0x42,0x61,0x72,0x42, +0x61,0x63,0x6b,0x64,0x72,0x6f,0x70,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58, +0x50,0x6f,0x73,0x3d,0x22,0x32,0x33,0x30,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22, +0x31,0x36,0x33,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x30,0x22,0x20, +0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x32,0x22,0x20,0x2f,0x3e,0x0a,0x09, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x65,0x61, +0x64,0x65,0x72,0x42,0x61,0x72,0x42,0x61,0x63,0x6b,0x64,0x72,0x6f,0x70,0x48,0x6f, +0x76,0x65,0x72,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x32,0x33,0x30,0x22,0x20, +0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x36,0x33,0x22,0x20,0x57,0x69,0x64,0x74,0x68, +0x3d,0x22,0x31,0x30,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x32, +0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d, +0x65,0x3d,0x22,0x48,0x65,0x61,0x64,0x65,0x72,0x42,0x61,0x72,0x53,0x70,0x6c,0x69, +0x74,0x74,0x65,0x72,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73, +0x3d,0x22,0x32,0x32,0x35,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x39,0x32,0x22, +0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x33,0x22,0x20,0x48,0x65,0x69,0x67,0x68, +0x74,0x3d,0x22,0x31,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x65,0x61,0x64,0x65,0x72,0x42,0x61, +0x72,0x53,0x70,0x6c,0x69,0x74,0x74,0x65,0x72,0x48,0x6f,0x76,0x65,0x72,0x22,0x20, +0x58,0x50,0x6f,0x73,0x3d,0x22,0x32,0x30,0x30,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d, +0x22,0x39,0x32,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x33,0x22,0x20,0x48, +0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x65,0x61,0x64, +0x65,0x72,0x42,0x61,0x72,0x53,0x6f,0x72,0x74,0x55,0x70,0x22,0x20,0x58,0x50,0x6f, +0x73,0x3d,0x22,0x32,0x33,0x33,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x37, +0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x38,0x22,0x20,0x48,0x65,0x69, +0x67,0x68,0x74,0x3d,0x22,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x65,0x61,0x64,0x65,0x72,0x42, +0x61,0x72,0x53,0x6f,0x72,0x74,0x44,0x6f,0x77,0x6e,0x22,0x20,0x58,0x50,0x6f,0x73, +0x3d,0x22,0x32,0x34,0x34,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x37,0x38, +0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x38,0x22,0x20,0x48,0x65,0x69,0x67, +0x68,0x74,0x3d,0x22,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x73, +0x74,0x4c,0x65,0x66,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x37,0x30, +0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x39,0x32,0x22,0x20,0x57,0x69,0x64,0x74, +0x68,0x3d,0x22,0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22, +0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65, +0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x73,0x74,0x52,0x69,0x67,0x68,0x74, +0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x39,0x31,0x22,0x20,0x59,0x50,0x6f, +0x73,0x3d,0x22,0x39,0x32,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x37,0x22, +0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x75,0x6c, +0x74,0x69,0x4c,0x69,0x73,0x74,0x54,0x6f,0x70,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d, +0x22,0x31,0x38,0x31,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x38,0x31,0x22,0x20, +0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74, +0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x73,0x74,0x42, +0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x38,0x31, +0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x30,0x32,0x22,0x20,0x57,0x69,0x64, +0x74,0x68,0x3d,0x22,0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x37, +0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d, +0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x73,0x74,0x54,0x6f,0x70,0x4c, +0x65,0x66,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x37,0x30,0x22,0x20, +0x59,0x50,0x6f,0x73,0x3d,0x22,0x38,0x31,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d, +0x22,0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20,0x2f, +0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22, +0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x73,0x74,0x54,0x6f,0x70,0x52,0x69,0x67,0x68, +0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x39,0x31,0x22,0x20,0x59,0x50, +0x6f,0x73,0x3d,0x22,0x38,0x31,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x37, +0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e,0x0a, +0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x75, +0x6c,0x74,0x69,0x4c,0x69,0x73,0x74,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66, +0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x37,0x30,0x22,0x20,0x59,0x50, +0x6f,0x73,0x3d,0x22,0x31,0x30,0x32,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22, +0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e, +0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d, +0x75,0x6c,0x74,0x69,0x4c,0x69,0x73,0x74,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69, +0x67,0x68,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x39,0x31,0x22,0x20, +0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x30,0x32,0x22,0x20,0x57,0x69,0x64,0x74,0x68, +0x3d,0x22,0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20, +0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d, +0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x73,0x74,0x42,0x61,0x63,0x6b,0x64,0x72, +0x6f,0x70,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x38,0x31,0x22,0x20,0x59, +0x50,0x6f,0x73,0x3d,0x22,0x39,0x32,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22, +0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e, +0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d, +0x75,0x6c,0x74,0x69,0x4c,0x69,0x73,0x74,0x53,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x42,0x72,0x75,0x73,0x68,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x39,0x22, +0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x37,0x31,0x22,0x20,0x57,0x69,0x64,0x74,0x68, +0x3d,0x22,0x31,0x34,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x34, +0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d, +0x65,0x3d,0x22,0x41,0x6c,0x74,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x4c,0x65, +0x66,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x37,0x31,0x22,0x20,0x59,0x50, +0x6f,0x73,0x3d,0x22,0x38,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x38, +0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x32,0x22,0x20,0x2f,0x3e, +0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x41, +0x6c,0x74,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x4d,0x69,0x64,0x64,0x6c,0x65, +0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x38,0x31,0x22,0x20,0x59,0x50,0x6f,0x73, +0x3d,0x22,0x38,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x38,0x22,0x20, +0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x32,0x22,0x20,0x2f,0x3e,0x0a,0x09, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x41,0x6c,0x74, +0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x58, +0x50,0x6f,0x73,0x3d,0x22,0x39,0x31,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x38, +0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x38,0x22,0x20,0x48,0x65,0x69, +0x67,0x68,0x74,0x3d,0x22,0x31,0x32,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x41,0x6c,0x74,0x50,0x72,0x6f, +0x67,0x72,0x65,0x73,0x73,0x51,0x75,0x61,0x72,0x74,0x65,0x72,0x22,0x20,0x58,0x50, +0x6f,0x73,0x3d,0x22,0x31,0x30,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x38, +0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x33,0x22,0x20,0x48,0x65,0x69, +0x67,0x68,0x74,0x3d,0x22,0x34,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x41,0x6c,0x74,0x50,0x72,0x6f,0x67, +0x72,0x65,0x73,0x73,0x48,0x61,0x6c,0x66,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22, +0x31,0x30,0x39,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x38,0x39,0x22,0x20,0x57, +0x69,0x64,0x74,0x68,0x3d,0x22,0x34,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d, +0x22,0x35,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e, +0x61,0x6d,0x65,0x3d,0x22,0x41,0x6c,0x74,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73, +0x4c,0x69,0x67,0x68,0x74,0x31,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x30, +0x30,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x39,0x37,0x22,0x20,0x57,0x69,0x64, +0x74,0x68,0x3d,0x22,0x34,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x38, +0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d, +0x65,0x3d,0x22,0x41,0x6c,0x74,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x4c,0x69, +0x67,0x68,0x74,0x32,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x30,0x36,0x22, +0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x39,0x37,0x22,0x20,0x57,0x69,0x64,0x74,0x68, +0x3d,0x22,0x34,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x38,0x22,0x20, +0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d, +0x22,0x41,0x6c,0x74,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x4c,0x69,0x67,0x68, +0x74,0x33,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x31,0x32,0x22,0x20,0x59, +0x50,0x6f,0x73,0x3d,0x22,0x39,0x37,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22, +0x34,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x38,0x22,0x20,0x2f,0x3e, +0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x41, +0x6c,0x74,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x4c,0x69,0x67,0x68,0x74,0x34, +0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x31,0x38,0x22,0x20,0x59,0x50,0x6f, +0x73,0x3d,0x22,0x39,0x37,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x34,0x22, +0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x09, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x41,0x6c,0x74, +0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x4c,0x69,0x67,0x68,0x74,0x35,0x22,0x20, +0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x32,0x34,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d, +0x22,0x39,0x37,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x34,0x22,0x20,0x48, +0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x41,0x6c,0x74,0x50,0x72, +0x6f,0x67,0x72,0x65,0x73,0x73,0x4c,0x69,0x67,0x68,0x74,0x36,0x22,0x20,0x58,0x50, +0x6f,0x73,0x3d,0x22,0x31,0x33,0x30,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x39, +0x37,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x34,0x22,0x20,0x48,0x65,0x69, +0x67,0x68,0x74,0x3d,0x22,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x41,0x6c,0x74,0x50,0x72,0x6f,0x67, +0x72,0x65,0x73,0x73,0x4c,0x69,0x67,0x68,0x74,0x37,0x22,0x20,0x58,0x50,0x6f,0x73, +0x3d,0x22,0x31,0x33,0x36,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x39,0x37,0x22, +0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x34,0x22,0x20,0x48,0x65,0x69,0x67,0x68, +0x74,0x3d,0x22,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x41,0x6c,0x74,0x50,0x72,0x6f,0x67,0x72,0x65, +0x73,0x73,0x4c,0x69,0x67,0x68,0x74,0x38,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22, +0x31,0x34,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x39,0x37,0x22,0x20,0x57, +0x69,0x64,0x74,0x68,0x3d,0x22,0x34,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d, +0x22,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e, +0x61,0x6d,0x65,0x3d,0x22,0x41,0x6c,0x74,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73, +0x4c,0x69,0x67,0x68,0x74,0x39,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x34, +0x38,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x39,0x37,0x22,0x20,0x57,0x69,0x64, +0x74,0x68,0x3d,0x22,0x34,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x38, +0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d, +0x65,0x3d,0x22,0x41,0x6c,0x74,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x4c,0x69, +0x67,0x68,0x74,0x31,0x30,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x35,0x34, +0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x39,0x37,0x22,0x20,0x57,0x69,0x64,0x74, +0x68,0x3d,0x22,0x34,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x38,0x22, +0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65, +0x3d,0x22,0x43,0x6c,0x6f,0x73,0x65,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4e,0x6f,0x72, +0x6d,0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x34,0x31,0x22,0x20,0x59, +0x50,0x6f,0x73,0x3d,0x22,0x31,0x32,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d, +0x22,0x31,0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x36,0x22, +0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65, +0x3d,0x22,0x43,0x6c,0x6f,0x73,0x65,0x42,0x75,0x74,0x74,0x6f,0x6e,0x48,0x6f,0x76, +0x65,0x72,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x34,0x31,0x22,0x20,0x59,0x50, +0x6f,0x73,0x3d,0x22,0x31,0x34,0x36,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22, +0x31,0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x36,0x22,0x20, +0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d, +0x22,0x43,0x6c,0x6f,0x73,0x65,0x42,0x75,0x74,0x74,0x6f,0x6e,0x50,0x72,0x65,0x73, +0x73,0x65,0x64,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x34,0x31,0x22,0x20,0x59, +0x50,0x6f,0x73,0x3d,0x22,0x31,0x36,0x34,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d, +0x22,0x31,0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x36,0x22, +0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65, +0x3d,0x22,0x4e,0x65,0x77,0x43,0x6c,0x6f,0x73,0x65,0x42,0x75,0x74,0x74,0x6f,0x6e, +0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x39,0x30, +0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x34,0x36,0x22,0x20,0x57,0x69,0x64, +0x74,0x68,0x3d,0x22,0x31,0x30,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22, +0x31,0x30,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e, +0x61,0x6d,0x65,0x3d,0x22,0x4e,0x65,0x77,0x43,0x6c,0x6f,0x73,0x65,0x42,0x75,0x74, +0x74,0x6f,0x6e,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22, +0x39,0x30,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x34,0x36,0x22,0x20,0x57, +0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x30,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74, +0x3d,0x22,0x31,0x30,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x65,0x77,0x43,0x6c,0x6f,0x73,0x65,0x42, +0x75,0x74,0x74,0x6f,0x6e,0x50,0x72,0x65,0x73,0x73,0x65,0x64,0x22,0x20,0x58,0x50, +0x6f,0x73,0x3d,0x22,0x39,0x30,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x34, +0x36,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x30,0x22,0x20,0x48,0x65, +0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x30,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69, +0x4c,0x69,0x6e,0x65,0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x4c,0x65,0x66,0x74,0x22, +0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x34,0x31,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d, +0x22,0x38,0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x36,0x22,0x20,0x48, +0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69, +0x4c,0x69,0x6e,0x65,0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x52,0x69,0x67,0x68,0x74, +0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x36,0x33,0x22,0x20,0x59,0x50,0x6f,0x73, +0x3d,0x22,0x38,0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x36,0x22,0x20, +0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74, +0x69,0x4c,0x69,0x6e,0x65,0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x54,0x6f,0x70,0x22, +0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x35,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d, +0x22,0x37,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x36,0x22,0x20,0x48, +0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69, +0x4c,0x69,0x6e,0x65,0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x35,0x32,0x22,0x20,0x59,0x50,0x6f, +0x73,0x3d,0x22,0x31,0x30,0x30,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x36, +0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a, +0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x75, +0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65,0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x54,0x6f, +0x70,0x4c,0x65,0x66,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x34,0x31,0x22, +0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x37,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68, +0x3d,0x22,0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20, +0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d, +0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65,0x45,0x64,0x69,0x74,0x62,0x6f, +0x78,0x54,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d, +0x22,0x36,0x33,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x37,0x38,0x22,0x20,0x57, +0x69,0x64,0x74,0x68,0x3d,0x22,0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d, +0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e, +0x61,0x6d,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65,0x45,0x64, +0x69,0x74,0x62,0x6f,0x78,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x22, +0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x34,0x31,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d, +0x22,0x31,0x30,0x30,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x36,0x22,0x20, +0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74, +0x69,0x4c,0x69,0x6e,0x65,0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x42,0x6f,0x74,0x74, +0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x36, +0x33,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x30,0x30,0x22,0x20,0x57,0x69, +0x64,0x74,0x68,0x3d,0x22,0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22, +0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61, +0x6d,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65,0x45,0x64,0x69, +0x74,0x62,0x6f,0x78,0x42,0x61,0x63,0x6b,0x64,0x72,0x6f,0x70,0x22,0x20,0x58,0x50, +0x6f,0x73,0x3d,0x22,0x35,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x38,0x39, +0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x36,0x22,0x20,0x48,0x65,0x69,0x67, +0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x6e, +0x65,0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x53,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x42,0x72,0x75,0x73,0x68,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x39,0x22, +0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x37,0x31,0x22,0x20,0x57,0x69,0x64,0x74,0x68, +0x3d,0x22,0x31,0x34,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x34, +0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d, +0x65,0x3d,0x22,0x4d,0x6f,0x75,0x73,0x65,0x54,0x61,0x72,0x67,0x65,0x74,0x22,0x20, +0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x38,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d, +0x22,0x31,0x32,0x37,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x37,0x22, +0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x37,0x22,0x20,0x58,0x4f,0x66, +0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x38,0x22,0x20,0x59,0x4f,0x66,0x66,0x73,0x65, +0x74,0x3d,0x22,0x2d,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x6f,0x75,0x73,0x65,0x41,0x72,0x72, +0x6f,0x77,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x33,0x38,0x22,0x20,0x59, +0x50,0x6f,0x73,0x3d,0x22,0x31,0x32,0x37,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d, +0x22,0x33,0x31,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x32,0x35,0x22, +0x20,0x58,0x4f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x30,0x22,0x20,0x59,0x4f,0x66, +0x66,0x73,0x65,0x74,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x6f,0x75,0x73,0x65,0x4d, +0x6f,0x76,0x65,0x43,0x75,0x72,0x73,0x6f,0x72,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d, +0x22,0x32,0x30,0x31,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x32,0x37,0x22, +0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x38,0x22,0x20,0x48,0x65,0x69,0x67, +0x68,0x74,0x3d,0x22,0x31,0x38,0x22,0x20,0x58,0x4f,0x66,0x66,0x73,0x65,0x74,0x3d, +0x22,0x2d,0x38,0x22,0x20,0x59,0x4f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x38, +0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d, +0x65,0x3d,0x22,0x4d,0x6f,0x75,0x73,0x65,0x4e,0x6f,0x53,0x6f,0x43,0x75,0x72,0x73, +0x6f,0x72,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x32,0x32,0x31,0x22,0x20,0x59, +0x50,0x6f,0x73,0x3d,0x22,0x31,0x32,0x37,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d, +0x22,0x38,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x38,0x22,0x20, +0x58,0x4f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x33,0x22,0x20,0x59,0x4f,0x66, +0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x6f,0x75,0x73,0x65, +0x45,0x73,0x57,0x65,0x43,0x75,0x72,0x73,0x6f,0x72,0x22,0x20,0x58,0x50,0x6f,0x73, +0x3d,0x22,0x31,0x38,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x35,0x30, +0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x38,0x22,0x20,0x48,0x65,0x69, +0x67,0x68,0x74,0x3d,0x22,0x38,0x22,0x20,0x58,0x4f,0x66,0x66,0x73,0x65,0x74,0x3d, +0x22,0x2d,0x38,0x22,0x20,0x59,0x4f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x33, +0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d, +0x65,0x3d,0x22,0x4d,0x6f,0x75,0x73,0x65,0x4e,0x65,0x53,0x77,0x43,0x75,0x72,0x73, +0x6f,0x72,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x32,0x30,0x31,0x22,0x20,0x59, +0x50,0x6f,0x73,0x3d,0x22,0x31,0x34,0x37,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d, +0x22,0x31,0x34,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x34,0x22, +0x20,0x58,0x4f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x37,0x22,0x20,0x59,0x4f, +0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x6f,0x75,0x73, +0x65,0x4e,0x77,0x53,0x65,0x43,0x75,0x72,0x73,0x6f,0x72,0x22,0x20,0x58,0x50,0x6f, +0x73,0x3d,0x22,0x32,0x33,0x30,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x32, +0x36,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x34,0x22,0x20,0x48,0x65, +0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x34,0x22,0x20,0x58,0x4f,0x66,0x66,0x73,0x65, +0x74,0x3d,0x22,0x2d,0x37,0x22,0x20,0x59,0x4f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22, +0x2d,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e, +0x61,0x6d,0x65,0x3d,0x22,0x4d,0x6f,0x75,0x73,0x65,0x54,0x65,0x78,0x74,0x42,0x61, +0x72,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x37,0x33,0x22,0x20,0x59,0x50, +0x6f,0x73,0x3d,0x22,0x31,0x32,0x37,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22, +0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x38,0x22,0x20,0x58, +0x4f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x32,0x22,0x20,0x59,0x4f,0x66,0x66, +0x73,0x65,0x74,0x3d,0x22,0x2d,0x39,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62,0x48,0x6f,0x72, +0x69,0x7a,0x6f,0x6e,0x74,0x61,0x6c,0x46,0x69,0x6c,0x6c,0x65,0x72,0x22,0x20,0x58, +0x50,0x6f,0x73,0x3d,0x22,0x31,0x39,0x37,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22, +0x32,0x30,0x31,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x37,0x22,0x20,0x48, +0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62,0x43,0x6f, +0x6e,0x74,0x65,0x6e,0x74,0x50,0x61,0x6e,0x65,0x55,0x70,0x70,0x65,0x72,0x4c,0x65, +0x66,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x34,0x31,0x22,0x20,0x59,0x50, +0x6f,0x73,0x3d,0x22,0x37,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x37, +0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e,0x0a, +0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61, +0x62,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x50,0x61,0x6e,0x65,0x55,0x70,0x70,0x65, +0x72,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x35,0x32,0x22,0x20,0x59,0x50,0x6f, +0x73,0x3d,0x22,0x37,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x36,0x22, +0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62, +0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x50,0x61,0x6e,0x65,0x55,0x70,0x70,0x65,0x72, +0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x36,0x32,0x22, +0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x37,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68, +0x3d,0x22,0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20, +0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d, +0x22,0x54,0x61,0x62,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x50,0x61,0x6e,0x65,0x4c, +0x65,0x66,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x34,0x31,0x22,0x20,0x59, +0x50,0x6f,0x73,0x3d,0x22,0x38,0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22, +0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e, +0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54, +0x61,0x62,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x50,0x61,0x6e,0x65,0x52,0x69,0x67, +0x68,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x36,0x32,0x22,0x20,0x59,0x50, +0x6f,0x73,0x3d,0x22,0x38,0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x37, +0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a, +0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61, +0x62,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x50,0x61,0x6e,0x65,0x4c,0x6f,0x77,0x65, +0x72,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x35,0x32,0x22,0x20,0x59,0x50,0x6f, +0x73,0x3d,0x22,0x39,0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x36,0x22, +0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62, +0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x50,0x61,0x6e,0x65,0x4c,0x6f,0x77,0x65,0x72, +0x4c,0x65,0x66,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x34,0x31,0x22,0x20, +0x59,0x50,0x6f,0x73,0x3d,0x22,0x39,0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d, +0x22,0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20,0x2f, +0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22, +0x54,0x61,0x62,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x50,0x61,0x6e,0x65,0x4c,0x6f, +0x77,0x65,0x72,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22, +0x36,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x39,0x39,0x22,0x20,0x57,0x69, +0x64,0x74,0x68,0x3d,0x22,0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22, +0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61, +0x6d,0x65,0x3d,0x22,0x54,0x61,0x62,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x50,0x61, +0x6e,0x65,0x4d,0x69,0x64,0x64,0x6c,0x65,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22, +0x35,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x38,0x39,0x22,0x20,0x57,0x69, +0x64,0x74,0x68,0x3d,0x22,0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22, +0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61, +0x6d,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x53,0x63,0x72, +0x6f,0x6c,0x6c,0x4c,0x65,0x66,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58, +0x50,0x6f,0x73,0x3d,0x22,0x39,0x37,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31, +0x30,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x36,0x22,0x20,0x48, +0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62,0x42, +0x75,0x74,0x74,0x6f,0x6e,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x52,0x69,0x67,0x68,0x74, +0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x31, +0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x30,0x38,0x22,0x20,0x57,0x69, +0x64,0x74,0x68,0x3d,0x22,0x31,0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d, +0x22,0x31,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x53, +0x63,0x72,0x6f,0x6c,0x6c,0x4c,0x65,0x66,0x74,0x48,0x6f,0x76,0x65,0x72,0x22,0x20, +0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x32,0x37,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d, +0x22,0x31,0x30,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x36,0x22, +0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x37,0x22,0x20,0x2f,0x3e,0x0a, +0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61, +0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x52,0x69,0x67, +0x68,0x74,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31, +0x34,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x30,0x38,0x22,0x20,0x57, +0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74, +0x3d,0x22,0x31,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e, +0x4c,0x65,0x66,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73, +0x3d,0x22,0x34,0x31,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x38,0x39,0x22,0x20, +0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74, +0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x52, +0x69,0x67,0x68,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73, +0x3d,0x22,0x36,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x38,0x39,0x22,0x20, +0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74, +0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x55, +0x70,0x70,0x65,0x72,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73, +0x3d,0x22,0x35,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x37,0x38,0x22,0x20, +0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74, +0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4c, +0x6f,0x77,0x65,0x72,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73, +0x3d,0x22,0x35,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x39,0x39,0x22,0x20, +0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74, +0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x55, +0x70,0x70,0x65,0x72,0x4c,0x65,0x66,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20, +0x58,0x50,0x6f,0x73,0x3d,0x22,0x34,0x31,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22, +0x37,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x37,0x22,0x20,0x48,0x65, +0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74, +0x74,0x6f,0x6e,0x55,0x70,0x70,0x65,0x72,0x4c,0x65,0x66,0x74,0x32,0x4e,0x6f,0x72, +0x6d,0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x38,0x36,0x22,0x20, +0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x36,0x34,0x22,0x20,0x57,0x69,0x64,0x74,0x68, +0x3d,0x22,0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20, +0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d, +0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x55,0x70,0x70,0x65,0x72,0x52, +0x69,0x67,0x68,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73, +0x3d,0x22,0x36,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x37,0x38,0x22,0x20, +0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74, +0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4c, +0x6f,0x77,0x65,0x72,0x4c,0x65,0x66,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20, +0x58,0x50,0x6f,0x73,0x3d,0x22,0x34,0x31,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22, +0x39,0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x37,0x22,0x20,0x48,0x65, +0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74, +0x74,0x6f,0x6e,0x4c,0x6f,0x77,0x65,0x72,0x52,0x69,0x67,0x68,0x74,0x4e,0x6f,0x72, +0x6d,0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x36,0x32,0x22,0x20,0x59, +0x50,0x6f,0x73,0x3d,0x22,0x39,0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22, +0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e, +0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54, +0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4c,0x6f,0x77,0x65,0x72,0x52,0x69,0x67, +0x68,0x74,0x32,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d, +0x22,0x31,0x38,0x37,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x39,0x35,0x22, +0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68, +0x74,0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e, +0x4d,0x69,0x64,0x64,0x6c,0x65,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x58,0x50, +0x6f,0x73,0x3d,0x22,0x35,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x38,0x39, +0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x36,0x22,0x20,0x48,0x65,0x69,0x67, +0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f, +0x6e,0x4c,0x65,0x66,0x74,0x53,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x22,0x20,0x58, +0x50,0x6f,0x73,0x3d,0x22,0x34,0x31,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x38, +0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x37,0x22,0x20,0x48,0x65,0x69, +0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74, +0x6f,0x6e,0x52,0x69,0x67,0x68,0x74,0x53,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x22, +0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x36,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d, +0x22,0x38,0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x37,0x22,0x20,0x48, +0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75, +0x74,0x74,0x6f,0x6e,0x55,0x70,0x70,0x65,0x72,0x53,0x65,0x6c,0x65,0x63,0x74,0x65, +0x64,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x35,0x32,0x22,0x20,0x59,0x50,0x6f, +0x73,0x3d,0x22,0x37,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x36,0x22, +0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62, +0x42,0x75,0x74,0x74,0x6f,0x6e,0x4c,0x6f,0x77,0x65,0x72,0x53,0x65,0x6c,0x65,0x63, +0x74,0x65,0x64,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x35,0x32,0x22,0x20,0x59, +0x50,0x6f,0x73,0x3d,0x22,0x38,0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22, +0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e, +0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54, +0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x55,0x70,0x70,0x65,0x72,0x4c,0x65,0x66, +0x74,0x53,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d, +0x22,0x34,0x31,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x37,0x38,0x22,0x20,0x57, +0x69,0x64,0x74,0x68,0x3d,0x22,0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d, +0x22,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e, +0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x55,0x70, +0x70,0x65,0x72,0x52,0x69,0x67,0x68,0x74,0x53,0x65,0x6c,0x65,0x63,0x74,0x65,0x64, +0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x36,0x32,0x22,0x20,0x59,0x50,0x6f,0x73, +0x3d,0x22,0x37,0x38,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x37,0x22,0x20, +0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62,0x42, +0x75,0x74,0x74,0x6f,0x6e,0x4c,0x6f,0x77,0x65,0x72,0x4c,0x65,0x66,0x74,0x53,0x65, +0x6c,0x65,0x63,0x74,0x65,0x64,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x34,0x31, +0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x39,0x39,0x22,0x20,0x57,0x69,0x64,0x74, +0x68,0x3d,0x22,0x37,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22, +0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65, +0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4c,0x6f,0x77,0x65,0x72, +0x52,0x69,0x67,0x68,0x74,0x53,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x22,0x20,0x58, +0x50,0x6f,0x73,0x3d,0x22,0x36,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x39, +0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x37,0x22,0x20,0x48,0x65,0x69, +0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74, +0x6f,0x6e,0x4d,0x69,0x64,0x64,0x6c,0x65,0x53,0x65,0x6c,0x65,0x63,0x74,0x65,0x64, +0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x35,0x32,0x22,0x20,0x59,0x50,0x6f,0x73, +0x3d,0x22,0x38,0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x36,0x22,0x20, +0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x6f,0x6f,0x6c, +0x74,0x69,0x70,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x22,0x20,0x58,0x50,0x6f,0x73, +0x3d,0x22,0x36,0x31,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x36,0x30,0x22, +0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x34,0x22,0x20,0x48,0x65,0x69,0x67,0x68, +0x74,0x3d,0x22,0x34,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x6f,0x6f,0x6c,0x74,0x69,0x70,0x54,0x6f, +0x70,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x38,0x35, +0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x36,0x30,0x22,0x20,0x57,0x69,0x64, +0x74,0x68,0x3d,0x22,0x35,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x34, +0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d, +0x65,0x3d,0x22,0x54,0x6f,0x6f,0x6c,0x74,0x69,0x70,0x42,0x6f,0x74,0x74,0x6f,0x6d, +0x4c,0x65,0x66,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x36,0x31,0x22,0x20, +0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x38,0x34,0x22,0x20,0x57,0x69,0x64,0x74,0x68, +0x3d,0x22,0x34,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x35,0x22,0x20, +0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d, +0x22,0x54,0x6f,0x6f,0x6c,0x74,0x69,0x70,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69, +0x67,0x68,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x38,0x35,0x22,0x20,0x59, +0x50,0x6f,0x73,0x3d,0x22,0x31,0x38,0x34,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d, +0x22,0x35,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x35,0x22,0x20,0x2f, +0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22, +0x54,0x6f,0x6f,0x6c,0x74,0x69,0x70,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22, +0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x36,0x31,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d, +0x22,0x31,0x37,0x31,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x34,0x22,0x20, +0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x6f,0x6f,0x6c, +0x74,0x69,0x70,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x58,0x50, +0x6f,0x73,0x3d,0x22,0x38,0x35,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x37, +0x31,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x35,0x22,0x20,0x48,0x65,0x69, +0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x6f,0x6f,0x6c,0x74,0x69,0x70, +0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x37, +0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x36,0x30,0x22,0x20,0x57,0x69, +0x64,0x74,0x68,0x3d,0x22,0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22, +0x34,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61, +0x6d,0x65,0x3d,0x22,0x54,0x6f,0x6f,0x6c,0x74,0x69,0x70,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x37,0x32,0x22, +0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31,0x38,0x34,0x22,0x20,0x57,0x69,0x64,0x74, +0x68,0x3d,0x22,0x36,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x35,0x22, +0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65, +0x3d,0x22,0x54,0x6f,0x6f,0x6c,0x74,0x69,0x70,0x4d,0x69,0x64,0x64,0x6c,0x65,0x22, +0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x37,0x32,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d, +0x22,0x31,0x37,0x31,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x36,0x22,0x20, +0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x65,0x6e,0x75, +0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31, +0x36,0x36,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x32,0x30,0x34,0x22,0x20,0x57, +0x69,0x64,0x74,0x68,0x3d,0x22,0x32,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d, +0x22,0x32,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e, +0x61,0x6d,0x65,0x3d,0x22,0x4d,0x65,0x6e,0x75,0x54,0x6f,0x70,0x52,0x69,0x67,0x68, +0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x37,0x35,0x22,0x20,0x59,0x50, +0x6f,0x73,0x3d,0x22,0x32,0x30,0x34,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22, +0x33,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x32,0x22,0x20,0x2f,0x3e, +0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d, +0x65,0x6e,0x75,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x22,0x20,0x58, +0x50,0x6f,0x73,0x3d,0x22,0x31,0x36,0x36,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22, +0x32,0x31,0x33,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x32,0x22,0x20,0x48, +0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x33,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x65,0x6e,0x75,0x42, +0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x58,0x50,0x6f,0x73, +0x3d,0x22,0x31,0x37,0x35,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x32,0x31,0x33, +0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x33,0x22,0x20,0x48,0x65,0x69,0x67, +0x68,0x74,0x3d,0x22,0x33,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x65,0x6e,0x75,0x4c,0x65,0x66,0x74, +0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x36,0x36,0x22,0x20,0x59,0x50,0x6f, +0x73,0x3d,0x22,0x32,0x30,0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x32, +0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x22,0x20,0x2f,0x3e,0x0a, +0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x65, +0x6e,0x75,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31, +0x37,0x35,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x32,0x30,0x39,0x22,0x20,0x57, +0x69,0x64,0x74,0x68,0x3d,0x22,0x33,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d, +0x22,0x31,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e, +0x61,0x6d,0x65,0x3d,0x22,0x4d,0x65,0x6e,0x75,0x54,0x6f,0x70,0x22,0x20,0x58,0x50, +0x6f,0x73,0x3d,0x22,0x31,0x37,0x31,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x32, +0x30,0x34,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x22,0x20,0x48,0x65, +0x69,0x67,0x68,0x74,0x3d,0x22,0x32,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x65,0x6e,0x75,0x42,0x6f, +0x74,0x74,0x6f,0x6d,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x37,0x31,0x22, +0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x32,0x31,0x33,0x22,0x20,0x57,0x69,0x64,0x74, +0x68,0x3d,0x22,0x31,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x33,0x22, +0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65, +0x3d,0x22,0x4d,0x65,0x6e,0x75,0x4d,0x69,0x64,0x64,0x6c,0x65,0x22,0x20,0x58,0x50, +0x6f,0x73,0x3d,0x22,0x31,0x37,0x31,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x32, +0x30,0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x22,0x20,0x48,0x65, +0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x6f,0x70,0x75,0x70,0x4d, +0x65,0x6e,0x75,0x46,0x72,0x61,0x6d,0x65,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x22, +0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x38,0x36,0x22,0x20,0x59,0x50,0x6f,0x73, +0x3d,0x22,0x32,0x30,0x34,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x32,0x22, +0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x32,0x22,0x20,0x2f,0x3e,0x0a,0x09, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x6f,0x70, +0x75,0x70,0x4d,0x65,0x6e,0x75,0x46,0x72,0x61,0x6d,0x65,0x54,0x6f,0x70,0x52,0x69, +0x67,0x68,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x39,0x35,0x22,0x20, +0x59,0x50,0x6f,0x73,0x3d,0x22,0x32,0x30,0x34,0x22,0x20,0x57,0x69,0x64,0x74,0x68, +0x3d,0x22,0x34,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x32,0x22,0x20, +0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d, +0x22,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x46,0x72,0x61,0x6d,0x65,0x42, +0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d, +0x22,0x31,0x38,0x36,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x32,0x31,0x33,0x22, +0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x32,0x22,0x20,0x48,0x65,0x69,0x67,0x68, +0x74,0x3d,0x22,0x34,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75, +0x46,0x72,0x61,0x6d,0x65,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74, +0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x39,0x35,0x22,0x20,0x59,0x50,0x6f, +0x73,0x3d,0x22,0x32,0x31,0x33,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x34, +0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x34,0x22,0x20,0x2f,0x3e,0x0a, +0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x6f, +0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x46,0x72,0x61,0x6d,0x65,0x4c,0x65,0x66,0x74, +0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x38,0x36,0x22,0x20,0x59,0x50,0x6f, +0x73,0x3d,0x22,0x32,0x30,0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x32, +0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x22,0x20,0x2f,0x3e,0x0a, +0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x6f, +0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x46,0x72,0x61,0x6d,0x65,0x52,0x69,0x67,0x68, +0x74,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x39,0x35,0x22,0x20,0x59,0x50, +0x6f,0x73,0x3d,0x22,0x32,0x30,0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22, +0x34,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x22,0x20,0x2f,0x3e, +0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x50, +0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x46,0x72,0x61,0x6d,0x65,0x54,0x6f,0x70, +0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x39,0x31,0x22,0x20,0x59,0x50,0x6f, +0x73,0x3d,0x22,0x32,0x30,0x34,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31, +0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x32,0x22,0x20,0x2f,0x3e,0x0a, +0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x6f, +0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x46,0x72,0x61,0x6d,0x65,0x42,0x6f,0x74,0x74, +0x6f,0x6d,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x39,0x31,0x22,0x20,0x59, +0x50,0x6f,0x73,0x3d,0x22,0x32,0x31,0x33,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d, +0x22,0x31,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x34,0x22,0x20,0x2f, +0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22, +0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x4d,0x69,0x64,0x64,0x6c,0x65,0x22, +0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x39,0x31,0x22,0x20,0x59,0x50,0x6f,0x73, +0x3d,0x22,0x32,0x30,0x39,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x31,0x22, +0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x22,0x20,0x2f,0x3e,0x0a,0x09, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x6f,0x70, +0x75,0x70,0x4d,0x65,0x6e,0x75,0x41,0x72,0x72,0x6f,0x77,0x52,0x69,0x67,0x68,0x74, +0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x37,0x39,0x22,0x20,0x59,0x50,0x6f, +0x73,0x3d,0x22,0x32,0x30,0x34,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x35, +0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x35,0x22,0x20,0x2f,0x3e,0x0a, +0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x6f, +0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x41,0x72,0x72,0x6f,0x77,0x4c,0x65,0x66,0x74, +0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x37,0x39,0x22,0x20,0x59,0x50,0x6f, +0x73,0x3d,0x22,0x32,0x31,0x30,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x35, +0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x35,0x22,0x20,0x2f,0x3e,0x0a, +0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x72, +0x65,0x65,0x4c,0x69,0x73,0x74,0x43,0x6c,0x6f,0x73,0x65,0x64,0x22,0x20,0x58,0x50, +0x6f,0x73,0x3d,0x22,0x31,0x37,0x35,0x22,0x20,0x59,0x50,0x6f,0x73,0x3d,0x22,0x31, +0x31,0x31,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22,0x37,0x22,0x20,0x48,0x65, +0x69,0x67,0x68,0x74,0x3d,0x22,0x31,0x31,0x22,0x20,0x58,0x4f,0x66,0x66,0x73,0x65, +0x74,0x3d,0x22,0x38,0x22,0x20,0x59,0x4f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x32, +0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x4e,0x61,0x6d, +0x65,0x3d,0x22,0x54,0x72,0x65,0x65,0x4c,0x69,0x73,0x74,0x4f,0x70,0x65,0x6e,0x65, +0x64,0x22,0x20,0x58,0x50,0x6f,0x73,0x3d,0x22,0x31,0x36,0x34,0x22,0x20,0x59,0x50, +0x6f,0x73,0x3d,0x22,0x31,0x31,0x31,0x22,0x20,0x57,0x69,0x64,0x74,0x68,0x3d,0x22, +0x31,0x31,0x22,0x20,0x48,0x65,0x69,0x67,0x68,0x74,0x3d,0x22,0x37,0x22,0x20,0x58, +0x4f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x38,0x22,0x20,0x59,0x4f,0x66,0x66,0x73, +0x65,0x74,0x3d,0x22,0x32,0x22,0x2f,0x3e,0x0a,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3e,0x0a}; diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/gui/taharez_look.looknfeel.c b/tizen/distrib/remote/server/spice-0.12.2/client/gui/taharez_look.looknfeel.c new file mode 100644 index 0000000..23549ad --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/gui/taharez_look.looknfeel.c @@ -0,0 +1,15117 @@ +const unsigned char taharez_look_looknfeel[] = { +0x3c,0x3f,0x78,0x6d,0x6c,0x20,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x31, +0x2e,0x30,0x22,0x20,0x3f,0x3e,0x0a,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x42,0x75,0x74,0x74,0x6f,0x6e,0x0a,0x20,0x20, +0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f, +0x42,0x75,0x74,0x74,0x6f,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69, +0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61, +0x6c,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69, +0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x46,0x46,0x46, +0x46,0x46,0x46,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69, +0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65, +0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48, +0x6f,0x76,0x65,0x72,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20, +0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x46, +0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e, +0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74, +0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x50,0x75,0x73,0x68,0x65,0x64,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f, +0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65, +0x3d,0x22,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x72,0x65,0x64,0x72, +0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f, +0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x54,0x65, +0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61, +0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46, +0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d, +0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e, +0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x65,0x72,0x74, +0x4c,0x61,0x62,0x65,0x6c,0x46,0x6f,0x72,0x6d,0x61,0x74,0x74,0x69,0x6e,0x67,0x22, +0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x43, +0x65,0x6e,0x74,0x72,0x65,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72, +0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x48,0x6f,0x72,0x7a,0x4c,0x61,0x62,0x65,0x6c,0x46,0x6f,0x72,0x6d, +0x61,0x74,0x74,0x69,0x6e,0x67,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56, +0x61,0x6c,0x75,0x65,0x3d,0x22,0x43,0x65,0x6e,0x74,0x72,0x65,0x41,0x6c,0x69,0x67, +0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74, +0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c, +0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57, +0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79, +0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x48,0x6f,0x76,0x65,0x72,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x69,0x6e,0x69, +0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x22,0x20,0x72,0x65,0x64, +0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72, +0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x75,0x73,0x68,0x65,0x64,0x49,0x6d,0x61, +0x67,0x65,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65, +0x3d,0x22,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74, +0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66, +0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69, +0x73,0x61,0x62,0x6c,0x65,0x64,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x69,0x6e,0x69, +0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x22,0x20,0x72,0x65,0x64, +0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72, +0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x49,0x6d,0x61,0x67,0x65, +0x46,0x6f,0x72,0x6d,0x61,0x74,0x74,0x69,0x6e,0x67,0x22,0x20,0x69,0x6e,0x69,0x74, +0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63, +0x68,0x65,0x64,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69, +0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65, +0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48, +0x6f,0x72,0x7a,0x49,0x6d,0x61,0x67,0x65,0x46,0x6f,0x72,0x6d,0x61,0x74,0x74,0x69, +0x6e,0x67,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65, +0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x72,0x65,0x64, +0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x54,0x65,0x78,0x74,0x43,0x6f,0x6d,0x70, +0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66, +0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65, +0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x3e,0x3c, +0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69, +0x64,0x74,0x68,0x22,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65, +0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x4c,0x61,0x62,0x65,0x6c, +0x46,0x6f,0x72,0x6d,0x61,0x74,0x74,0x69,0x6e,0x67,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x72,0x6f,0x70,0x65,0x72, +0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x72,0x7a,0x4c,0x61,0x62, +0x65,0x6c,0x46,0x6f,0x72,0x6d,0x61,0x74,0x74,0x69,0x6e,0x67,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x54, +0x65,0x78,0x74,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61,0x6d, +0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x3c,0x41,0x62,0x73, +0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64, +0x67,0x65,0x22,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d, +0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c, +0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4c,0x65,0x66, +0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x42,0x75,0x74,0x74,0x6f,0x6e,0x52,0x69,0x67,0x68,0x74,0x4e,0x6f,0x72, +0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x42, +0x75,0x74,0x74,0x6f,0x6e,0x4d,0x69,0x64,0x64,0x6c,0x65,0x4e,0x6f,0x72,0x6d,0x61, +0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65, +0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e, +0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d, +0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62, +0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74, +0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20, +0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x72,0x6f, +0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x65,0x72,0x74, +0x49,0x6d,0x61,0x67,0x65,0x46,0x6f,0x72,0x6d,0x61,0x74,0x74,0x69,0x6e,0x67,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x50, +0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f, +0x72,0x7a,0x49,0x6d,0x61,0x67,0x65,0x46,0x6f,0x72,0x6d,0x61,0x74,0x74,0x69,0x6e, +0x67,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f, +0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x68,0x6f, +0x76,0x65,0x72,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e, +0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d, +0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62, +0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74, +0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20, +0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4c,0x65,0x66,0x74,0x48,0x69,0x67,0x68, +0x6c,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22, +0x42,0x75,0x74,0x74,0x6f,0x6e,0x52,0x69,0x67,0x68,0x74,0x48,0x69,0x67,0x68,0x6c, +0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22, +0x42,0x75,0x74,0x74,0x6f,0x6e,0x4d,0x69,0x64,0x64,0x6c,0x65,0x48,0x69,0x67,0x68, +0x6c,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d, +0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70, +0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74, +0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31, +0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x76,0x65,0x72,0x49,0x6d,0x61,0x67,0x65, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74, +0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x56, +0x65,0x72,0x74,0x49,0x6d,0x61,0x67,0x65,0x46,0x6f,0x72,0x6d,0x61,0x74,0x74,0x69, +0x6e,0x67,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d, +0x61,0x74,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x48,0x6f,0x72,0x7a,0x49,0x6d,0x61,0x67,0x65,0x46,0x6f,0x72,0x6d,0x61,0x74, +0x74,0x69,0x6e,0x67,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f, +0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x70,0x75,0x73,0x68,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70, +0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74, +0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31, +0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65, +0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4c,0x65,0x66,0x74, +0x50,0x75,0x73,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67, +0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x42,0x75,0x74,0x74,0x6f,0x6e,0x52,0x69,0x67,0x68,0x74,0x50,0x75,0x73,0x68, +0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x42,0x75, +0x74,0x74,0x6f,0x6e,0x4d,0x69,0x64,0x64,0x6c,0x65,0x50,0x75,0x73,0x68,0x65,0x64, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e, +0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73, +0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57, +0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65, +0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x50,0x75,0x73,0x68,0x65,0x64,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x72,0x6f,0x70, +0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x49, +0x6d,0x61,0x67,0x65,0x46,0x6f,0x72,0x6d,0x61,0x74,0x74,0x69,0x6e,0x67,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x72, +0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x72, +0x7a,0x49,0x6d,0x61,0x67,0x65,0x46,0x6f,0x72,0x6d,0x61,0x74,0x74,0x69,0x6e,0x67, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e, +0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61, +0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6e,0x6f,0x72,0x6d,0x61,0x6c, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72, +0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x54, +0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x48,0x6f,0x76,0x65,0x72,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22, +0x68,0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65, +0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50, +0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f, +0x76,0x65,0x72,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74, +0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x75,0x73,0x68,0x65,0x64,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3d,0x22,0x70,0x75,0x73,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43, +0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x50,0x75,0x73,0x68,0x65,0x64,0x54,0x65,0x78,0x74,0x43,0x6f, +0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x75,0x73, +0x68,0x65,0x64,0x4f,0x66,0x66,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x68, +0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72, +0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x76, +0x65,0x72,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c, +0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74, +0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37, +0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46, +0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52, +0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22, +0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c, +0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x54,0x65,0x78,0x74,0x43,0x6f, +0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f, +0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20,0x20, +0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x52,0x61,0x64,0x69,0x6f,0x42,0x75, +0x74,0x74,0x6f,0x6e,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20, +0x20,0x2d,0x2d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74, +0x4c,0x6f,0x6f,0x6b,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x52,0x61,0x64,0x69,0x6f,0x42,0x75,0x74,0x74, +0x6f,0x6e,0x22,0x3e,0x0a,0x09,0x09,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79, +0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75, +0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x72,0x65,0x64,0x72,0x61, +0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70, +0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x76,0x65,0x72,0x54,0x65,0x78,0x74,0x43,0x6f, +0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x72,0x65, +0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75, +0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50, +0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f, +0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x75,0x73,0x68,0x65,0x64,0x54,0x65, +0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61, +0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46, +0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d, +0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e, +0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61, +0x62,0x6c,0x65,0x64,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20, +0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x46, +0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e, +0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x6c,0x61, +0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x54,0x65,0x78,0x74,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x52,0x61,0x64,0x69,0x6f,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4e, +0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e, +0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74, +0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x41,0x64,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x62, +0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x33,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67, +0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56, +0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x43,0x65,0x6e,0x74,0x72,0x65,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x54,0x65,0x78,0x74,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76, +0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63, +0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69, +0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69, +0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22, +0x52,0x61,0x64,0x69,0x6f,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4e,0x6f,0x72,0x6d,0x61, +0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61, +0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x43,0x65,0x6e,0x74,0x72,0x65,0x41,0x6c, +0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46, +0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74, +0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x68,0x6f,0x76,0x65,0x72,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73, +0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69, +0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31, +0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67, +0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67, +0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x52,0x61,0x64,0x69,0x6f,0x42, +0x75,0x74,0x74,0x6f,0x6e,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x43,0x65,0x6e,0x74,0x72,0x65,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e, +0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x73,0x65,0x6c, +0x65,0x63,0x74,0x5f,0x6d,0x61,0x72,0x6b,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43, +0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d, +0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x52,0x61,0x64,0x69,0x6f,0x42,0x75, +0x74,0x74,0x6f,0x6e,0x4d,0x61,0x72,0x6b,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65, +0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x43, +0x65,0x6e,0x74,0x72,0x65,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e, +0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c, +0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x54,0x65,0x78, +0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61, +0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x48,0x6f,0x76,0x65,0x72,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x68,0x6f, +0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f, +0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x76,0x65, +0x72,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3d,0x22,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65, +0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f, +0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46, +0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46, +0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69, +0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c, +0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f, +0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c, +0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x65,0x6c,0x65, +0x63,0x74,0x65,0x64,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3d,0x22,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22, +0x73,0x65,0x6c,0x65,0x63,0x74,0x5f,0x6d,0x61,0x72,0x6b,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43, +0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x54,0x65,0x78,0x74,0x43,0x6f, +0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x65,0x6c, +0x65,0x63,0x74,0x65,0x64,0x48,0x6f,0x76,0x65,0x72,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3d,0x22,0x68,0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x73, +0x65,0x6c,0x65,0x63,0x74,0x5f,0x6d,0x61,0x72,0x6b,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d, +0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f, +0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x48,0x6f,0x76,0x65,0x72,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f, +0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x65,0x6c,0x65,0x63, +0x74,0x65,0x64,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3d,0x22,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66, +0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f,0x70, +0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22, +0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37, +0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67, +0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x73,0x65, +0x6c,0x65,0x63,0x74,0x5f,0x6d,0x61,0x72,0x6b,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74, +0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f,0x70,0x52, +0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20, +0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46, +0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68, +0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62, +0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72, +0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44, +0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75, +0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c, +0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a, +0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x43,0x68,0x65,0x63,0x6b,0x62,0x6f,0x78,0x0a,0x20, +0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x2f,0x43,0x68,0x65,0x63,0x6b,0x62,0x6f,0x78,0x22,0x3e,0x0a,0x09,0x09,0x3c,0x50, +0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f, +0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x54,0x65, +0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61, +0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46, +0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d, +0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e, +0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x76,0x65, +0x72,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69, +0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x46,0x46,0x46, +0x46,0x46,0x46,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69, +0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65, +0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50, +0x75,0x73,0x68,0x65,0x64,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22, +0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46, +0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f, +0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72, +0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x54,0x65,0x78,0x74,0x43, +0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x72, +0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72, +0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x54,0x65,0x78,0x74,0x43,0x6f, +0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c, +0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x43,0x68,0x65,0x63,0x6b, +0x62,0x6f,0x78,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e, +0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x41,0x64,0x64,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x33,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72, +0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41, +0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65, +0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67, +0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x43,0x65,0x6e,0x74,0x72,0x65,0x41,0x6c,0x69,0x67,0x6e,0x65, +0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61, +0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x41,0x6c,0x69,0x67, +0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x54,0x65,0x78,0x74,0x43,0x6f,0x6d,0x70,0x6f,0x6e, +0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x6e,0x6f,0x72, +0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e, +0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69, +0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69, +0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x43,0x68,0x65,0x63,0x6b,0x62,0x6f,0x78,0x4e,0x6f,0x72,0x6d, +0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d, +0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x43,0x65,0x6e,0x74,0x72,0x65,0x41, +0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a, +0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66, +0x74,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x68,0x6f,0x76,0x65,0x72,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62, +0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20, +0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x43,0x68,0x65,0x63,0x6b, +0x62,0x6f,0x78,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65, +0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x43, +0x65,0x6e,0x74,0x72,0x65,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e, +0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x73,0x65,0x6c,0x65,0x63, +0x74,0x5f,0x6d,0x61,0x72,0x6b,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d, +0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65, +0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75, +0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76, +0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x43,0x68,0x65,0x63,0x6b,0x62,0x6f,0x78,0x4d, +0x61,0x72,0x6b,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72, +0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x43,0x65,0x6e,0x74,0x72,0x65, +0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72, +0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65, +0x66,0x74,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3d,0x22,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22, +0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c, +0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f, +0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x76,0x65,0x72, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20, +0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x68,0x6f,0x76,0x65,0x72,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x76,0x65,0x72,0x54,0x65,0x78,0x74, +0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74, +0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44, +0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22, +0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f, +0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46, +0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68, +0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74, +0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37, +0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22, +0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f, +0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61, +0x62,0x6c,0x65,0x64,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61, +0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x4e, +0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6e,0x6f, +0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x73,0x65,0x6c,0x65,0x63, +0x74,0x5f,0x6d,0x61,0x72,0x6b,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62, +0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72, +0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e, +0x6f,0x72,0x6d,0x61,0x6c,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74, +0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x65,0x6c,0x65,0x63,0x74,0x65,0x64, +0x48,0x6f,0x76,0x65,0x72,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x68,0x6f, +0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x73,0x65,0x6c,0x65,0x63,0x74, +0x5f,0x6d,0x61,0x72,0x6b,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65, +0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50, +0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f, +0x76,0x65,0x72,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74, +0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x44,0x69, +0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6e, +0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c, +0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46, +0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74, +0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74, +0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46, +0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46, +0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20, +0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x73,0x65,0x6c,0x65,0x63,0x74,0x5f, +0x6d,0x61,0x72,0x6b,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f, +0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37, +0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d, +0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f, +0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22, +0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46, +0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65, +0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c, +0x65,0x64,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57, +0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20, +0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x2f,0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x57,0x69, +0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x45,0x64,0x69,0x74,0x62, +0x6f,0x78,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72, +0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x54,0x65,0x78, +0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c, +0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x22, +0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22, +0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69, +0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x65,0x6c,0x65,0x63, +0x74,0x65,0x64,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x69, +0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x30, +0x30,0x30,0x30,0x30,0x30,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57, +0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79, +0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x41,0x63,0x74,0x69,0x76,0x65,0x53,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56, +0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x36,0x30,0x37,0x46,0x46,0x46,0x22,0x20, +0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74, +0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74, +0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x49,0x6e,0x61,0x63,0x74,0x69, +0x76,0x65,0x53,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e,0x43,0x6f,0x6c,0x6f,0x75, +0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x46,0x46,0x38,0x30,0x38,0x30,0x38,0x30,0x22,0x20,0x72,0x65,0x64,0x72,0x61, +0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70, +0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x6f,0x75,0x73,0x65, +0x43,0x75,0x72,0x73,0x6f,0x72,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x20,0x69,0x6d,0x61,0x67,0x65,0x3a,0x4d,0x6f,0x75,0x73,0x65,0x54, +0x65,0x78,0x74,0x42,0x61,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x54,0x65,0x78,0x74,0x41,0x72,0x65,0x61,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74, +0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x35,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62, +0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x35,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20, +0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x6f,0x66,0x66,0x73, +0x65,0x74,0x3d,0x22,0x2d,0x35,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69, +0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74, +0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30, +0x22,0x20,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x35,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x63,0x6f,0x6e,0x74,0x61,0x69,0x6e,0x65,0x72,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20, +0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64, +0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67, +0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x45, +0x64,0x69,0x74,0x42,0x6f,0x78,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x45,0x64,0x69,0x74,0x42,0x6f,0x78,0x52,0x69,0x67,0x68, +0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x45,0x64,0x69, +0x74,0x42,0x6f,0x78,0x4d,0x69,0x64,0x64,0x6c,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x46,0x72,0x61, +0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x73,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x54,0x65,0x78,0x74,0x53,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x42,0x72,0x75,0x73,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46, +0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65, +0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46, +0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65, +0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43, +0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x43,0x61,0x72,0x61,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f, +0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c, +0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x45,0x64,0x69,0x74,0x42,0x6f,0x78,0x43,0x61,0x72,0x61,0x74,0x22,0x20, +0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d, +0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x45,0x64,0x69,0x74,0x42,0x6f,0x78,0x43,0x61, +0x72,0x61,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72, +0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63, +0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72, +0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63, +0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d, +0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e, +0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x63,0x6f, +0x6e,0x74,0x61,0x69,0x6e,0x65,0x72,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x52,0x65,0x61,0x64, +0x4f,0x6e,0x6c,0x79,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x63,0x6f,0x6e, +0x74,0x61,0x69,0x6e,0x65,0x72,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62, +0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x63,0x6f,0x6e,0x74, +0x61,0x69,0x6e,0x65,0x72,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c, +0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74, +0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37, +0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46, +0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52, +0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61, +0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x41,0x63,0x74,0x69,0x76,0x65,0x53,0x65,0x6c, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x73, +0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x41,0x63,0x74,0x69,0x76,0x65,0x53,0x65,0x6c,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x49,0x6e,0x61,0x63,0x74,0x69,0x76,0x65,0x53,0x65,0x6c,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x73,0x65,0x6c, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f, +0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x49,0x6e,0x61,0x63,0x74,0x69,0x76,0x65,0x53,0x65,0x6c,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64, +0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21, +0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x54, +0x69,0x74,0x6c,0x65,0x62,0x61,0x72,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a, +0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64, +0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x69,0x74,0x6c,0x65,0x62, +0x61,0x72,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72, +0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x43,0x61,0x70,0x74,0x69,0x6f,0x6e,0x43,0x6f, +0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x72,0x65, +0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75, +0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43, +0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d, +0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e, +0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20, +0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4e,0x65,0x77, +0x54,0x69,0x74,0x6c,0x65,0x62,0x61,0x72,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45, +0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f, +0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x79,0x73,0x41,0x72,0x65,0x61,0x52,0x69,0x67, +0x68,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57, +0x69,0x64,0x74,0x68,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f, +0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x41,0x64,0x64,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x53,0x79,0x73,0x41,0x72,0x65,0x61,0x4d,0x69,0x64,0x64,0x6c,0x65,0x22, +0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74, +0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f, +0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x4e,0x65,0x77,0x54,0x69,0x74,0x6c,0x65,0x62,0x61,0x72, +0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46, +0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65, +0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46, +0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68, +0x74,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62, +0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53, +0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x53,0x79,0x73,0x41,0x72,0x65,0x61,0x52,0x69,0x67,0x68,0x74,0x22,0x20, +0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x53,0x79,0x73,0x41,0x72,0x65,0x61,0x4d,0x69,0x64,0x64, +0x6c,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d, +0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68, +0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d, +0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x41,0x6c, +0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43, +0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f, +0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c, +0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30, +0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65, +0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d, +0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x79,0x73,0x41, +0x72,0x65,0x61,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65, +0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53, +0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f, +0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52, +0x69,0x67,0x68,0x74,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4e,0x65,0x77,0x54,0x69,0x74,0x6c,0x65, +0x62,0x61,0x72,0x4c,0x65,0x66,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69, +0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62, +0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67, +0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f, +0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x79,0x73,0x41,0x72,0x65,0x61, +0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e, +0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x41, +0x64,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x53,0x79,0x73,0x41,0x72,0x65,0x61,0x4d,0x69,0x64,0x64, +0x6c,0x65,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57, +0x69,0x64,0x74,0x68,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20, +0x6f,0x70,0x3d,0x22,0x41,0x64,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x4e,0x65,0x77,0x54,0x69,0x74,0x6c,0x65,0x62,0x61,0x72,0x52,0x69,0x67, +0x68,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57, +0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74, +0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d, +0x61,0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69, +0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61, +0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e, +0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4e,0x65,0x77,0x54,0x69,0x74,0x6c,0x65,0x62, +0x61,0x72,0x4d,0x69,0x64,0x64,0x6c,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65, +0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53, +0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f, +0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53, +0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x63,0x61,0x70,0x74,0x69,0x6f,0x6e,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x54,0x65,0x78,0x74, +0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x4e,0x65,0x77,0x54,0x69,0x74,0x6c,0x65,0x62,0x61,0x72,0x4c, +0x65,0x66,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54, +0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75, +0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x31,0x22,0x20,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x37, +0x35,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20, +0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f, +0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x43,0x61,0x70,0x74, +0x69,0x6f,0x6e,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56, +0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x43,0x65,0x6e,0x74,0x72,0x65,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x54,0x65,0x78,0x74,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x41,0x63,0x74,0x69,0x76,0x65,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x63, +0x61,0x70,0x74,0x69,0x6f,0x6e,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x49,0x6e,0x61,0x63,0x74,0x69,0x76,0x65,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22, +0x63,0x61,0x70,0x74,0x69,0x6f,0x6e,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66, +0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f,0x70, +0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22, +0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37, +0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67, +0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x63,0x61, +0x70,0x74,0x69,0x6f,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c, +0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46, +0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74, +0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74, +0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46, +0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46, +0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74, +0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d,0x0a, +0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x46,0x72,0x61,0x6d, +0x65,0x57,0x69,0x6e,0x64,0x6f,0x77,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a, +0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64, +0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x46,0x72,0x61,0x6d,0x65,0x57, +0x69,0x6e,0x64,0x6f,0x77,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74, +0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x43,0x6c,0x69,0x65,0x6e,0x74, +0x41,0x72,0x65,0x61,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74, +0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x31,0x34,0x31,0x42, +0x33,0x38,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74, +0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x4c,0x69,0x6e, +0x6b,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x43,0x61,0x70,0x74,0x69,0x6f,0x6e,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22, +0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f, +0x74,0x69,0x74,0x6c,0x65,0x62,0x61,0x72,0x5f,0x5f,0x22,0x20,0x74,0x61,0x72,0x67, +0x65,0x74,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x3d,0x22,0x43,0x61,0x70,0x74, +0x69,0x6f,0x6e,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69, +0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x46,0x46,0x46,0x46,0x46, +0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50, +0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x4c,0x69,0x6e,0x6b,0x44,0x65,0x66,0x69,0x6e, +0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x69,0x74,0x6c, +0x65,0x62,0x61,0x72,0x46,0x6f,0x6e,0x74,0x22,0x20,0x77,0x69,0x64,0x67,0x65,0x74, +0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x74,0x69,0x74,0x6c,0x65,0x62,0x61, +0x72,0x5f,0x5f,0x22,0x20,0x74,0x61,0x72,0x67,0x65,0x74,0x50,0x72,0x6f,0x70,0x65, +0x72,0x74,0x79,0x3d,0x22,0x46,0x6f,0x6e,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x53,0x53,0x69,0x7a,0x69,0x6e,0x67,0x43,0x75, +0x72,0x73,0x6f,0x72,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65, +0x3d,0x22,0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x20,0x69,0x6d,0x61,0x67,0x65,0x3a,0x4d,0x6f,0x75,0x73,0x65,0x4e,0x6f,0x53, +0x6f,0x43,0x75,0x72,0x73,0x6f,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x45,0x57,0x53,0x69,0x7a,0x69,0x6e,0x67,0x43,0x75,0x72,0x73, +0x6f,0x72,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3a,0x4d,0x6f,0x75,0x73,0x65,0x45,0x73,0x57,0x65,0x43, +0x75,0x72,0x73,0x6f,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x4e,0x57,0x53,0x45,0x53,0x69,0x7a,0x69,0x6e,0x67,0x43,0x75,0x72,0x73, +0x6f,0x72,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3a,0x4d,0x6f,0x75,0x73,0x65,0x4e,0x77,0x53,0x65,0x43, +0x75,0x72,0x73,0x6f,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x4e,0x45,0x53,0x57,0x53,0x69,0x7a,0x69,0x6e,0x67,0x43,0x75,0x72,0x73, +0x6f,0x72,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3a,0x4d,0x6f,0x75,0x73,0x65,0x4e,0x65,0x53,0x77,0x43, +0x75,0x72,0x73,0x6f,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x4d,0x69,0x6e,0x53,0x69,0x7a,0x65, +0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x7b,0x7b,0x30,0x2e,0x31,0x2c,0x30, +0x7d,0x2c,0x7b,0x30,0x2e,0x31,0x2c,0x30,0x7d,0x7d,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65, +0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x43,0x6c,0x69,0x65,0x6e,0x74,0x57,0x69, +0x74,0x68,0x54,0x69,0x74,0x6c,0x65,0x57,0x69,0x74,0x68,0x46,0x72,0x61,0x6d,0x65, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x6f,0x70,0x4c,0x65,0x66, +0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69, +0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69, +0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x74,0x69,0x74, +0x6c,0x65,0x62,0x61,0x72,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69, +0x6f,0x6e,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f, +0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x6f,0x70,0x52,0x69, +0x67,0x68,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72, +0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63, +0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x57,0x69,0x6e,0x64,0x6f,0x77,0x42,0x6f, +0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73, +0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65, +0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61, +0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x43,0x6c,0x69,0x65,0x6e,0x74,0x57,0x69,0x74,0x68,0x54,0x69,0x74,0x6c, +0x65,0x4e,0x6f,0x46,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d, +0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54, +0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x57,0x69,0x64,0x67,0x65,0x74, +0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75, +0x74,0x6f,0x5f,0x74,0x69,0x74,0x6c,0x65,0x62,0x61,0x72,0x5f,0x5f,0x22,0x20,0x64, +0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d, +0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63, +0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69, +0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d, +0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x42,0x6f,0x74,0x74, +0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e, +0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x43,0x6c,0x69,0x65,0x6e,0x74,0x4e,0x6f,0x54,0x69,0x74,0x6c,0x65, +0x57,0x69,0x74,0x68,0x46,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x57,0x69,0x6e, +0x64,0x6f,0x77,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x22,0x20,0x64,0x69,0x6d,0x65, +0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x6f,0x70,0x45,0x64,0x67, +0x65,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65, +0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f, +0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74, +0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x57,0x69,0x6e,0x64,0x6f, +0x77,0x54,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e, +0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65, +0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45, +0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53, +0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x57,0x69, +0x6e,0x64,0x6f,0x77,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20, +0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65, +0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x43,0x6c,0x69,0x65,0x6e,0x74,0x4e,0x6f, +0x54,0x69,0x74,0x6c,0x65,0x4e,0x6f,0x46,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74, +0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62, +0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74, +0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67, +0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43, +0x68,0x69,0x6c,0x64,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x69,0x74,0x6c,0x65,0x62,0x61,0x72,0x22, +0x20,0x6e,0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d,0x22,0x5f,0x5f,0x61, +0x75,0x74,0x6f,0x5f,0x74,0x69,0x74,0x6c,0x65,0x62,0x61,0x72,0x5f,0x5f,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c, +0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63, +0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69, +0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22, +0x20,0x3e,0x3c,0x46,0x6f,0x6e,0x74,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x69,0x6e,0x65,0x53,0x70,0x61,0x63,0x69,0x6e,0x67,0x22,0x20,0x70,0x61, +0x64,0x64,0x69,0x6e,0x67,0x3d,0x22,0x38,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x41,0x6c,0x77,0x61,0x79,0x73,0x4f,0x6e,0x54,0x6f,0x70,0x22,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x61,0x6c,0x73,0x65,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68,0x69,0x6c,0x64, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69,0x6c,0x64, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x2f,0x53,0x79,0x73,0x74,0x65,0x6d,0x42,0x75,0x74,0x74,0x6f,0x6e,0x22, +0x20,0x6e,0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d,0x22,0x5f,0x5f,0x61, +0x75,0x74,0x6f,0x5f,0x63,0x6c,0x6f,0x73,0x65,0x62,0x75,0x74,0x74,0x6f,0x6e,0x5f, +0x5f,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63, +0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65, +0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70, +0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44, +0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x53,0x79,0x73,0x41,0x72,0x65,0x61,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x64, +0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f, +0x70,0x3d,0x22,0x41,0x64,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x53,0x79,0x73,0x41,0x72,0x65,0x61,0x4d,0x69,0x64,0x64, +0x6c,0x65,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57, +0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65, +0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x2e, +0x35,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x4d,0x75,0x6c, +0x74,0x69,0x70,0x6c,0x79,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77, +0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x74,0x69, +0x74,0x6c,0x65,0x62,0x61,0x72,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73, +0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53, +0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x4e,0x65,0x77,0x43,0x6c,0x6f,0x73,0x65,0x42,0x75, +0x74,0x74,0x6f,0x6e,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x64,0x69,0x6d,0x65, +0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69, +0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x4e,0x65,0x77,0x43,0x6c,0x6f,0x73,0x65,0x42,0x75,0x74, +0x74,0x6f,0x6e,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e, +0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x4e,0x65,0x77,0x43,0x6c,0x6f,0x73,0x65,0x42,0x75,0x74,0x74,0x6f,0x6e, +0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f, +0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x41,0x6c,0x77,0x61,0x79,0x73,0x4f,0x6e,0x54,0x6f,0x70,0x22,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x54,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f, +0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d, +0x61,0x6c,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3a,0x4e,0x65,0x77,0x43,0x6c,0x6f,0x73,0x65,0x42,0x75, +0x74,0x74,0x6f,0x6e,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70, +0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x76,0x65,0x72, +0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65, +0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3a,0x4e,0x65,0x77,0x43,0x6c,0x6f,0x73,0x65,0x42,0x75,0x74,0x74, +0x6f,0x6e,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74, +0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x75,0x73,0x68,0x65,0x64,0x49,0x6d, +0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65,0x74,0x3a, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3a,0x4e,0x65,0x77,0x43,0x6c,0x6f,0x73,0x65,0x42,0x75,0x74,0x74,0x6f,0x6e, +0x50,0x72,0x65,0x73,0x73,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68,0x69,0x6c,0x64,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x77,0x69,0x74,0x68,0x74, +0x69,0x74,0x6c,0x65,0x5f,0x66,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61,0x6d,0x65,0x43, +0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77, +0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x74,0x69, +0x74,0x6c,0x65,0x62,0x61,0x72,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73, +0x69,0x6f,0x6e,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20, +0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64, +0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74, +0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42, +0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x57, +0x69,0x6e,0x64,0x6f,0x77,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x43,0x6f,0x72,0x6e, +0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x57,0x69,0x6e,0x64,0x6f,0x77,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x57,0x69,0x6e, +0x64,0x6f,0x77,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67, +0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x57,0x69,0x6e,0x64,0x6f,0x77,0x52,0x69,0x67,0x68, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67, +0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x57,0x69,0x6e,0x64,0x6f,0x77,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67, +0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65, +0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e, +0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d, +0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x57,0x69,0x6e,0x64, +0x6f,0x77,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e, +0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74, +0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x74,0x69,0x74,0x6c,0x65,0x62,0x61, +0x72,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22, +0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65, +0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61, +0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x57,0x69,0x6e, +0x64,0x6f,0x77,0x54,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x64,0x69,0x6d, +0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74, +0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72, +0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x57,0x69,0x6e,0x64,0x6f,0x77,0x42,0x6f, +0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73, +0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69, +0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x47,0x65,0x6e,0x65,0x72,0x69,0x63, +0x42,0x72,0x75,0x73,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75, +0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x43,0x6c,0x69,0x65,0x6e,0x74,0x41,0x72,0x65,0x61,0x43,0x6f,0x6c,0x6f,0x75,0x72, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e, +0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x6e,0x6f,0x74, +0x69,0x74,0x6c,0x65,0x5f,0x66,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61,0x6d,0x65,0x43, +0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d, +0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x57,0x69, +0x6e,0x64,0x6f,0x77,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70, +0x52,0x69,0x67,0x68,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x57,0x69,0x6e,0x64,0x6f, +0x77,0x54,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x4c,0x65,0x66,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x57,0x69,0x6e,0x64,0x6f, +0x77,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74, +0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x57,0x69, +0x6e,0x64,0x6f,0x77,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x57,0x69,0x6e,0x64,0x6f,0x77,0x4c, +0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x57,0x69,0x6e,0x64,0x6f,0x77,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67, +0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x57,0x69,0x6e, +0x64,0x6f,0x77,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x6f, +0x70,0x4c,0x65,0x66,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e, +0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x6f,0x70,0x45,0x64,0x67,0x65, +0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64, +0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64, +0x74,0x68,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70, +0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x6f,0x70,0x52,0x69, +0x67,0x68,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61, +0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62, +0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69, +0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22, +0x57,0x69,0x6e,0x64,0x6f,0x77,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65, +0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x47,0x65,0x6e,0x65,0x72,0x69,0x63,0x42,0x72,0x75,0x73,0x68,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74, +0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x43,0x6c,0x69,0x65,0x6e,0x74,0x41,0x72, +0x65,0x61,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65, +0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53, +0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f, +0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53, +0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x77,0x69,0x74,0x68,0x74,0x69,0x74,0x6c,0x65,0x5f,0x6e, +0x6f,0x66,0x72,0x61,0x6d,0x65,0x5f,0x63,0x6c,0x69,0x65,0x6e,0x74,0x5f,0x61,0x72, +0x65,0x61,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65, +0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69, +0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x57, +0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d, +0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x74,0x69,0x74,0x6c,0x65,0x62,0x61,0x72, +0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57, +0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x47,0x65,0x6e, +0x65,0x72,0x69,0x63,0x42,0x72,0x75,0x73,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43, +0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x43,0x6c,0x69,0x65,0x6e,0x74,0x41,0x72,0x65,0x61,0x43,0x6f, +0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f, +0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74, +0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f, +0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74, +0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f, +0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x6e,0x6f,0x74,0x69,0x74,0x6c,0x65,0x5f,0x6e,0x6f,0x66,0x72,0x61,0x6d,0x65, +0x5f,0x63,0x6c,0x69,0x65,0x6e,0x74,0x5f,0x61,0x72,0x65,0x61,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f, +0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74, +0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74, +0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x47,0x65,0x6e, +0x65,0x72,0x69,0x63,0x42,0x72,0x75,0x73,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43, +0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x43,0x6c,0x69,0x65,0x6e,0x74,0x41,0x72,0x65,0x61,0x43,0x6f, +0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f, +0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74, +0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f, +0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74, +0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f, +0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74, +0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x41, +0x63,0x74,0x69,0x76,0x65,0x57,0x69,0x74,0x68,0x54,0x69,0x74,0x6c,0x65,0x57,0x69, +0x74,0x68,0x46,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22, +0x77,0x69,0x74,0x68,0x74,0x69,0x74,0x6c,0x65,0x5f,0x66,0x72,0x61,0x6d,0x65,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x49,0x6e,0x61, +0x63,0x74,0x69,0x76,0x65,0x57,0x69,0x74,0x68,0x54,0x69,0x74,0x6c,0x65,0x57,0x69, +0x74,0x68,0x46,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22, +0x77,0x69,0x74,0x68,0x74,0x69,0x74,0x6c,0x65,0x5f,0x66,0x72,0x61,0x6d,0x65,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73, +0x61,0x62,0x6c,0x65,0x64,0x57,0x69,0x74,0x68,0x54,0x69,0x74,0x6c,0x65,0x57,0x69, +0x74,0x68,0x46,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22, +0x77,0x69,0x74,0x68,0x74,0x69,0x74,0x6c,0x65,0x5f,0x66,0x72,0x61,0x6d,0x65,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74, +0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46, +0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46, +0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74, +0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74, +0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37, +0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c, +0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x41,0x63,0x74,0x69,0x76,0x65, +0x57,0x69,0x74,0x68,0x54,0x69,0x74,0x6c,0x65,0x4e,0x6f,0x46,0x72,0x61,0x6d,0x65, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20, +0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x77,0x69,0x74,0x68,0x74,0x69,0x74, +0x6c,0x65,0x5f,0x6e,0x6f,0x66,0x72,0x61,0x6d,0x65,0x5f,0x63,0x6c,0x69,0x65,0x6e, +0x74,0x5f,0x61,0x72,0x65,0x61,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x49,0x6e,0x61,0x63,0x74,0x69,0x76,0x65,0x57,0x69,0x74,0x68, +0x54,0x69,0x74,0x6c,0x65,0x4e,0x6f,0x46,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3d,0x22,0x77,0x69,0x74,0x68,0x74,0x69,0x74,0x6c,0x65,0x5f,0x6e, +0x6f,0x66,0x72,0x61,0x6d,0x65,0x5f,0x63,0x6c,0x69,0x65,0x6e,0x74,0x5f,0x61,0x72, +0x65,0x61,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61, +0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x57,0x69,0x74,0x68,0x54,0x69,0x74,0x6c, +0x65,0x4e,0x6f,0x46,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d, +0x22,0x77,0x69,0x74,0x68,0x74,0x69,0x74,0x6c,0x65,0x5f,0x6e,0x6f,0x66,0x72,0x61, +0x6d,0x65,0x5f,0x63,0x6c,0x69,0x65,0x6e,0x74,0x5f,0x61,0x72,0x65,0x61,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f, +0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22, +0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37, +0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d, +0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f, +0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61, +0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53, +0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x41,0x63,0x74,0x69,0x76,0x65,0x4e, +0x6f,0x54,0x69,0x74,0x6c,0x65,0x57,0x69,0x74,0x68,0x46,0x72,0x61,0x6d,0x65,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c, +0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6e,0x6f,0x74,0x69,0x74,0x6c,0x65,0x5f, +0x66,0x72,0x61,0x6d,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x49,0x6e,0x61,0x63,0x74,0x69,0x76,0x65,0x4e,0x6f,0x54,0x69,0x74, +0x6c,0x65,0x57,0x69,0x74,0x68,0x46,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3d,0x22,0x6e,0x6f,0x74,0x69,0x74,0x6c,0x65,0x5f,0x66,0x72,0x61,0x6d, +0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74, +0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44, +0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x4e,0x6f,0x54,0x69,0x74,0x6c,0x65,0x57,0x69, +0x74,0x68,0x46,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22, +0x6e,0x6f,0x74,0x69,0x74,0x6c,0x65,0x5f,0x66,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70, +0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20, +0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46, +0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22, +0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d, +0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74, +0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x41,0x63,0x74,0x69,0x76,0x65,0x4e,0x6f, +0x54,0x69,0x74,0x6c,0x65,0x4e,0x6f,0x46,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3d,0x22,0x6e,0x6f,0x74,0x69,0x74,0x6c,0x65,0x5f,0x6e,0x6f,0x66, +0x72,0x61,0x6d,0x65,0x5f,0x63,0x6c,0x69,0x65,0x6e,0x74,0x5f,0x61,0x72,0x65,0x61, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x49,0x6e, +0x61,0x63,0x74,0x69,0x76,0x65,0x4e,0x6f,0x54,0x69,0x74,0x6c,0x65,0x4e,0x6f,0x46, +0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6e,0x6f,0x74, +0x69,0x74,0x6c,0x65,0x5f,0x6e,0x6f,0x66,0x72,0x61,0x6d,0x65,0x5f,0x63,0x6c,0x69, +0x65,0x6e,0x74,0x5f,0x61,0x72,0x65,0x61,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74, +0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x4e,0x6f, +0x54,0x69,0x74,0x6c,0x65,0x4e,0x6f,0x46,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3d,0x22,0x6e,0x6f,0x74,0x69,0x74,0x6c,0x65,0x5f,0x6e,0x6f,0x66, +0x72,0x61,0x6d,0x65,0x5f,0x63,0x6c,0x69,0x65,0x6e,0x74,0x5f,0x61,0x72,0x65,0x61, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20, +0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37, +0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37, +0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66, +0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74, +0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46, +0x37,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e, +0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x47,0x72,0x6f,0x75,0x70,0x42,0x6f,0x78,0x0a, +0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x2f,0x47,0x72,0x6f,0x75,0x70,0x42,0x6f,0x78,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65, +0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x46, +0x72,0x61,0x6d,0x65,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x22,0x20,0x69,0x6e,0x69, +0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x74,0x6c,0x3a,0x46,0x46, +0x46,0x46,0x46,0x46,0x46,0x46,0x20,0x74,0x72,0x3a,0x46,0x46,0x46,0x46,0x46,0x46, +0x46,0x46,0x20,0x62,0x6c,0x3a,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x20,0x62, +0x72,0x3a,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x72,0x65,0x64,0x72, +0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f, +0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64, +0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c, +0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x74,0x6c,0x3a,0x46,0x46,0x44,0x46,0x44,0x46, +0x44,0x46,0x20,0x74,0x72,0x3a,0x46,0x46,0x44,0x46,0x44,0x46,0x44,0x46,0x20,0x62, +0x6c,0x3a,0x46,0x46,0x44,0x46,0x44,0x46,0x44,0x46,0x20,0x62,0x72,0x3a,0x46,0x46, +0x44,0x46,0x44,0x46,0x44,0x46,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e, +0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72, +0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x54,0x65,0x78, +0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61, +0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x74,0x6c,0x3a,0x46,0x46,0x30,0x30,0x30, +0x30,0x30,0x30,0x20,0x74,0x72,0x3a,0x46,0x46,0x30,0x30,0x30,0x30,0x30,0x30,0x20, +0x62,0x6c,0x3a,0x46,0x46,0x30,0x30,0x30,0x30,0x30,0x30,0x20,0x62,0x72,0x3a,0x46, +0x46,0x30,0x30,0x30,0x30,0x30,0x30,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f, +0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e, +0x0a,0x0a,0x09,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79, +0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c, +0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x46,0x46,0x38,0x38,0x38,0x38,0x38,0x38,0x22,0x20,0x72,0x65,0x64, +0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72, +0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x54,0x65,0x78, +0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c, +0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x22, +0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22, +0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69, +0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x65,0x78,0x74,0x42, +0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x22,0x20,0x69,0x6e,0x69,0x74,0x69, +0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x38,0x38,0x38,0x38,0x38, +0x38,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65, +0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69,0x6c,0x64,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x44,0x65,0x66,0x61,0x75,0x6c,0x74,0x57,0x69,0x6e,0x64,0x6f,0x77,0x22,0x20, +0x6e,0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d,0x22,0x5f,0x5f,0x61,0x75, +0x74,0x6f,0x5f,0x63,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x70,0x61,0x6e,0x65,0x5f,0x5f, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45, +0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x32,0x30, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x6f,0x66,0x66, +0x73,0x65,0x74,0x3d,0x22,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69, +0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f, +0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x38,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69, +0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42, +0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x31,0x22,0x20,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x30,0x22, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67, +0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62, +0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d, +0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61, +0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68,0x69,0x6c, +0x64,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x54,0x65,0x78,0x74,0x43,0x6f,0x6d,0x70,0x6f,0x6e, +0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45, +0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41, +0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65, +0x3d,0x22,0x31,0x35,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69, +0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x22,0x20,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x30,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74, +0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x30, +0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64, +0x67,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46, +0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x41, +0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a, +0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66, +0x74,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x54,0x65,0x78,0x74,0x43, +0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x66,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70, +0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66, +0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x31,0x31,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74, +0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x30,0x22,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f, +0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d, +0x22,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d, +0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74, +0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x54,0x6f,0x70,0x4c, +0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x43,0x6f,0x72, +0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x54,0x6f,0x70,0x52,0x69,0x67,0x68, +0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x43,0x6f,0x72, +0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c, +0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74, +0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x42,0x6f,0x74,0x74, +0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67, +0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70, +0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x54,0x6f,0x70,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52, +0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x52,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x53, +0x74,0x61,0x74,0x69,0x63,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x46,0x72, +0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x5f,0x62,0x67,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x31,0x33, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54, +0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76, +0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x6f,0x6e,0x74,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x6f,0x72,0x7a,0x45,0x78,0x74,0x65,0x6e,0x74, +0x22,0x20,0x70,0x61,0x64,0x64,0x69,0x6e,0x67,0x3d,0x22,0x35,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x6f, +0x6e,0x74,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x69,0x6e,0x65, +0x53,0x70,0x61,0x63,0x69,0x6e,0x67,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x42,0x61,0x63,0x6b,0x64,0x72, +0x6f,0x70,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x52,0x65, +0x63,0x74,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x54,0x65,0x78,0x74,0x43, +0x6f,0x6c,0x6f,0x75,0x72,0x73,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74, +0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72, +0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a, +0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72, +0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74, +0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d, +0x22,0x66,0x72,0x61,0x6d,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62, +0x65,0x6c,0x5f,0x62,0x67,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65, +0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50, +0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f, +0x72,0x6d,0x61,0x6c,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61, +0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c, +0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x66,0x72,0x61,0x6d,0x65,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x5f,0x62,0x67, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72, +0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73, +0x61,0x62,0x6c,0x65,0x64,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74, +0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20, +0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x2f,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x42,0x61,0x72,0x0a, +0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x2f,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x42,0x61,0x72,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72, +0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x72,0x6f,0x67,0x72,0x65,0x73, +0x73,0x41,0x72,0x65,0x61,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x50,0x72, +0x6f,0x67,0x72,0x65,0x73,0x73,0x42,0x61,0x72,0x4c,0x65,0x66,0x74,0x22,0x20,0x64, +0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x44,0x69,0x76,0x69,0x64, +0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x32,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62, +0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65, +0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61, +0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x50,0x72,0x6f,0x67,0x72,0x65,0x73, +0x73,0x42,0x61,0x72,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e, +0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x44, +0x69,0x76,0x69,0x64,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x62,0x73, +0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x32,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61, +0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74, +0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20, +0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65, +0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x66,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61,0x6d,0x65,0x43, +0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d, +0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x50,0x72,0x6f,0x67,0x72,0x65,0x73, +0x73,0x42,0x61,0x72,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x42,0x61,0x72,0x52,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x50, +0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x42,0x61,0x72,0x4d,0x69,0x64,0x64,0x6c,0x65, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x69,0x6c,0x65,0x64,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x46, +0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x70,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x5f, +0x6c,0x69,0x67,0x68,0x74,0x73,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f, +0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c, +0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73, +0x42,0x61,0x72,0x4c,0x69,0x74,0x53,0x65,0x67,0x6d,0x65,0x6e,0x74,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x54,0x69,0x6c,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3d,0x22,0x66,0x72,0x61,0x6d,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61, +0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c, +0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x66,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70, +0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20, +0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46, +0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22, +0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d, +0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74, +0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x50, +0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22, +0x70,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x5f,0x6c,0x69,0x67,0x68,0x74,0x73,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73, +0x61,0x62,0x6c,0x65,0x64,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3d,0x22,0x70,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x5f,0x6c, +0x69,0x67,0x68,0x74,0x73,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c, +0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46, +0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74, +0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74, +0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46, +0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46, +0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74, +0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d,0x0a, +0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x41,0x6c,0x74,0x65, +0x72,0x6e,0x61,0x74,0x65,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x42,0x61,0x72, +0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x2f,0x41,0x6c,0x74,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x42,0x61, +0x72,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d, +0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x72,0x6f, +0x67,0x72,0x65,0x73,0x73,0x41,0x72,0x65,0x61,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x41,0x6c,0x74, +0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x4c,0x65,0x66,0x74,0x22,0x20,0x64,0x69, +0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41, +0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65, +0x3d,0x22,0x32,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72, +0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67, +0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x41,0x6c,0x74,0x50,0x72,0x6f, +0x67,0x72,0x65,0x73,0x73,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x64,0x69,0x6d,0x65, +0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67, +0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x6f,0x66,0x66,0x73,0x65, +0x74,0x3d,0x22,0x2d,0x34,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65, +0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x66,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61,0x6d,0x65,0x43, +0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d, +0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x41,0x6c,0x74,0x50,0x72,0x6f,0x67, +0x72,0x65,0x73,0x73,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x41,0x6c,0x74,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x52,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x41, +0x6c,0x74,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x4d,0x69,0x64,0x64,0x6c,0x65, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e, +0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x70,0x72,0x6f,0x67,0x72, +0x65,0x73,0x73,0x5f,0x6c,0x69,0x67,0x68,0x74,0x73,0x22,0x20,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x30,0x2e,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74, +0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x41,0x6c,0x74, +0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x4c,0x69,0x67,0x68,0x74,0x31,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x69,0x6c,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x30,0x2e,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54, +0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75, +0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x30,0x2e,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69, +0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69, +0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22, +0x41,0x6c,0x74,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x4c,0x69,0x67,0x68,0x74, +0x32,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61, +0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65, +0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61, +0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x69,0x6c,0x65,0x64,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63, +0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e,0x32,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73, +0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x41,0x6c,0x74,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x4c,0x69, +0x67,0x68,0x74,0x33,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f, +0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74, +0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f, +0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x69,0x6c,0x65,0x64, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e, +0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65, +0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e,0x33,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69, +0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69, +0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e,0x31,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31, +0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x41,0x6c,0x74,0x50,0x72,0x6f,0x67,0x72,0x65,0x73, +0x73,0x4c,0x69,0x67,0x68,0x74,0x34,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72, +0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74, +0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72, +0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x69, +0x6c,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d, +0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70, +0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e,0x34,0x22,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76, +0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e,0x31,0x22, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x41,0x6c,0x74,0x50,0x72,0x6f,0x67, +0x72,0x65,0x73,0x73,0x4c,0x69,0x67,0x68,0x74,0x35,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x54,0x69,0x6c,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43, +0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e, +0x35,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67, +0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69, +0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30, +0x2e,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22, +0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63, +0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65, +0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d, +0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x41,0x6c,0x74,0x50, +0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x4c,0x69,0x67,0x68,0x74,0x36,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x54,0x69,0x6c,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x30,0x2e,0x36,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74, +0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f, +0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74, +0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x30,0x2e,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64, +0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67, +0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x41, +0x6c,0x74,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x4c,0x69,0x67,0x68,0x74,0x37, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x69,0x6c,0x65,0x64,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x30,0x2e,0x37,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c, +0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63, +0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x41,0x6c,0x74,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x4c,0x69,0x67, +0x68,0x74,0x38,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72, +0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63, +0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72, +0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x69,0x6c,0x65,0x64,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65, +0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e, +0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20, +0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e,0x38,0x22,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41, +0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65, +0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64, +0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e,0x31,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x41,0x6c,0x74,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73, +0x4c,0x69,0x67,0x68,0x74,0x39,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74, +0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72, +0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a, +0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x69,0x6c, +0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70, +0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f, +0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74, +0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e,0x39,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e,0x31,0x22,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x41,0x6c,0x74,0x50,0x72,0x6f,0x67,0x72, +0x65,0x73,0x73,0x4c,0x69,0x67,0x68,0x74,0x31,0x30,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x54,0x69,0x6c,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74, +0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d, +0x22,0x66,0x72,0x61,0x6d,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3d,0x22,0x66,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66, +0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f,0x70, +0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22, +0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37, +0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67, +0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x50,0x72,0x6f,0x67, +0x72,0x65,0x73,0x73,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x70,0x72,0x6f, +0x67,0x72,0x65,0x73,0x73,0x5f,0x6c,0x69,0x67,0x68,0x74,0x73,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c, +0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c, +0x65,0x64,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3d,0x22,0x70,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x5f,0x6c,0x69,0x67,0x68, +0x74,0x73,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72, +0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37, +0x46,0x37,0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46, +0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c, +0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62, +0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46, +0x37,0x46,0x37,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f, +0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20,0x20, +0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x56,0x55,0x4d,0x65,0x74,0x65,0x72, +0x20,0x28,0x70,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x20,0x62,0x61,0x72,0x29,0x0a, +0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x2f,0x56,0x55,0x4d,0x65,0x74,0x65,0x72,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x69,0x63,0x61,0x6c,0x50,0x72,0x6f,0x67, +0x72,0x65,0x73,0x73,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x54,0x72,0x75, +0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e, +0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50, +0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x41,0x72,0x65,0x61,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74, +0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x22, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31, +0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31, +0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x70,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x5f,0x6c,0x69,0x67,0x68,0x74,0x73,0x22, +0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c, +0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e, +0x35,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63, +0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69, +0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69, +0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e,0x35,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x54,0x65,0x78,0x74,0x53,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e,0x42, +0x72,0x75,0x73,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72, +0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x30,0x30,0x46, +0x46,0x30,0x30,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46, +0x46,0x30,0x30,0x46,0x46,0x30,0x30,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c, +0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x30,0x30,0x46,0x46,0x30,0x30,0x22,0x20,0x62, +0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x30,0x30, +0x46,0x46,0x30,0x30,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f, +0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x69,0x6c,0x65,0x64, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e, +0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65, +0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x30,0x2e,0x32,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64, +0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74, +0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20, +0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e,0x33,0x22,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x54,0x65,0x78,0x74,0x53,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x42,0x72,0x75,0x73,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f, +0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x46, +0x46,0x46,0x46,0x30,0x30,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d, +0x22,0x46,0x46,0x46,0x46,0x46,0x46,0x30,0x30,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f, +0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x46,0x46,0x46,0x46,0x30,0x30,0x22, +0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46, +0x46,0x46,0x46,0x46,0x30,0x30,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74, +0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x69,0x6c, +0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d, +0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68, +0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70, +0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f, +0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74, +0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64, +0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74, +0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20, +0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e,0x32,0x22,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x54,0x65,0x78,0x74,0x53,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x42,0x72,0x75,0x73,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f, +0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x46, +0x46,0x30,0x30,0x30,0x30,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d, +0x22,0x46,0x46,0x46,0x46,0x30,0x30,0x30,0x30,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f, +0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x46,0x46,0x30,0x30,0x30,0x30,0x22, +0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46, +0x46,0x46,0x30,0x30,0x30,0x30,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74, +0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x69,0x6c, +0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d, +0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68, +0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70, +0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61, +0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62, +0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65, +0x64,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x3d,0x22,0x70,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x5f,0x6c,0x69,0x67,0x68,0x74, +0x73,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74, +0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44, +0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c, +0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x70,0x72,0x6f,0x67,0x72,0x65,0x73,0x73, +0x5f,0x6c,0x69,0x67,0x68,0x74,0x73,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43, +0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22, +0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67, +0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f, +0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46, +0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d, +0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67, +0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d, +0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x6c, +0x69,0x64,0x65,0x72,0x54,0x68,0x75,0x6d,0x62,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x57, +0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x6c,0x69,0x64, +0x65,0x72,0x54,0x68,0x75,0x6d,0x62,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x56,0x65,0x72,0x74,0x46,0x72,0x65,0x65,0x22,0x20,0x76,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x54,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x6e,0x6f,0x72,0x6d,0x61,0x6c, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73, +0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x6c,0x69,0x64,0x65,0x72,0x54, +0x68,0x75,0x6d,0x62,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x68,0x6f,0x76,0x65,0x72,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f, +0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74, +0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64, +0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67, +0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x56,0x65,0x72,0x74,0x53,0x6c,0x69,0x64,0x65,0x72,0x54,0x68,0x75,0x6d,0x62, +0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46, +0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65, +0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46, +0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65, +0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43, +0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61, +0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6e, +0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x48,0x6f,0x76,0x65,0x72,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d, +0x22,0x68,0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x50,0x75,0x73,0x68,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3d,0x22,0x68,0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74, +0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61, +0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70, +0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20, +0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46, +0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22, +0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d, +0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74, +0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20, +0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x2f,0x53,0x6c,0x69,0x64,0x65,0x72,0x0a,0x20,0x20,0x20,0x20,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c, +0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x6c,0x69, +0x64,0x65,0x72,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50, +0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x65, +0x72,0x74,0x69,0x63,0x61,0x6c,0x53,0x6c,0x69,0x64,0x65,0x72,0x22,0x20,0x76,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x54,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x6f,0x75,0x73,0x65,0x42,0x75,0x74,0x74,0x6f, +0x6e,0x44,0x6f,0x77,0x6e,0x41,0x75,0x74,0x6f,0x52,0x65,0x70,0x65,0x61,0x74,0x22, +0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x54,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72, +0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x57,0x61,0x6e,0x74,0x73,0x4d,0x75, +0x6c,0x74,0x69,0x43,0x6c,0x69,0x63,0x6b,0x45,0x76,0x65,0x6e,0x74,0x73,0x22,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x61,0x6c,0x73,0x65,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41, +0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x68,0x75,0x6d,0x62,0x54, +0x72,0x61,0x63,0x6b,0x41,0x72,0x65,0x61,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d, +0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54, +0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75, +0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69, +0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74, +0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30, +0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64, +0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43, +0x68,0x69,0x6c,0x64,0x20,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x6c,0x69,0x64,0x65,0x72,0x54,0x68, +0x75,0x6d,0x62,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d, +0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x74,0x68,0x75,0x6d,0x62,0x5f,0x5f,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67, +0x68,0x74,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x56,0x65,0x72, +0x74,0x53,0x6c,0x69,0x64,0x65,0x72,0x54,0x68,0x75,0x6d,0x62,0x4e,0x6f,0x72,0x6d, +0x61,0x6c,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68, +0x69,0x6c,0x64,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f, +0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c, +0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x33,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30, +0x22,0x20,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x36,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31, +0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x6c,0x69,0x64, +0x65,0x72,0x42,0x6f,0x64,0x79,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74, +0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72, +0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a, +0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72, +0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74, +0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d, +0x22,0x6d,0x61,0x69,0x6e,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d, +0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69, +0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62, +0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37, +0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74, +0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64, +0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21, +0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x48, +0x6f,0x72,0x69,0x7a,0x6f,0x6e,0x74,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62, +0x61,0x72,0x54,0x68,0x75,0x6d,0x62,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a, +0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64, +0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x48,0x6f,0x72,0x69,0x7a,0x6f, +0x6e,0x74,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x54,0x68,0x75, +0x6d,0x62,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72, +0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x72, +0x7a,0x46,0x72,0x65,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x54,0x72, +0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61,0x6d,0x65, +0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73, +0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69, +0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31, +0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22, +0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63, +0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x69, +0x6e,0x69,0x48,0x6f,0x72,0x7a,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x68,0x75,0x6d, +0x62,0x4c,0x65,0x66,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67, +0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x48,0x6f,0x72,0x7a,0x53,0x63, +0x72,0x6f,0x6c,0x6c,0x54,0x68,0x75,0x6d,0x62,0x52,0x69,0x67,0x68,0x74,0x4e,0x6f, +0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22, +0x4d,0x69,0x6e,0x69,0x48,0x6f,0x72,0x7a,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x68, +0x75,0x6d,0x62,0x4d,0x69,0x64,0x64,0x6c,0x65,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x68,0x6f,0x76,0x65,0x72,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46, +0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54, +0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75, +0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69, +0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69, +0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x4d,0x69,0x6e,0x69,0x48,0x6f,0x72,0x7a,0x53,0x63,0x72,0x6f,0x6c,0x6c, +0x54,0x68,0x75,0x6d,0x62,0x4c,0x65,0x66,0x74,0x48,0x6f,0x76,0x65,0x72,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x48,0x6f,0x72, +0x7a,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x68,0x75,0x6d,0x62,0x52,0x69,0x67,0x68, +0x74,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75, +0x6e,0x64,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x4d,0x69,0x6e,0x69,0x48,0x6f,0x72,0x7a,0x53,0x63,0x72,0x6f,0x6c,0x6c, +0x54,0x68,0x75,0x6d,0x62,0x4d,0x69,0x64,0x64,0x6c,0x65,0x48,0x6f,0x76,0x65,0x72, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e, +0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c, +0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x76,0x65, +0x72,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x68,0x6f,0x76,0x65,0x72,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x75,0x73, +0x68,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6e,0x6f,0x72,0x6d, +0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61, +0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d, +0x22,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43, +0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22, +0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67, +0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f, +0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46, +0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d, +0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67, +0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d, +0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x48,0x6f, +0x72,0x69,0x7a,0x6f,0x6e,0x74,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61, +0x72,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f, +0x6b,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x2f,0x48,0x6f,0x72,0x69,0x7a,0x6f,0x6e,0x74,0x61,0x6c,0x53,0x63, +0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x54,0x68,0x75,0x6d,0x62,0x54,0x72,0x61,0x63,0x6b,0x41,0x72,0x65, +0x61,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x48,0x6f,0x72,0x7a,0x53,0x63,0x72, +0x6f,0x6c,0x6c,0x4c,0x65,0x66,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x64, +0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e, +0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75, +0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x69,0x6e, +0x69,0x48,0x6f,0x72,0x7a,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x52,0x69,0x67,0x68,0x74, +0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f, +0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74, +0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69,0x6c,0x64,0x20, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x2f,0x49,0x6d,0x61,0x67,0x65,0x42,0x75,0x74,0x74,0x6f,0x6e,0x22,0x20, +0x6e,0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d,0x22,0x5f,0x5f,0x61,0x75, +0x74,0x6f,0x5f,0x69,0x6e,0x63,0x62,0x74,0x6e,0x5f,0x5f,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74, +0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65, +0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73, +0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x48,0x6f,0x72,0x7a,0x53, +0x63,0x72,0x6f,0x6c,0x6c,0x52,0x69,0x67,0x68,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c, +0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64, +0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20, +0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48, +0x6f,0x72,0x7a,0x41,0x6c,0x69,0x67,0x6e,0x6d,0x65,0x6e,0x74,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x20,0x69,0x6d,0x61,0x67,0x65,0x3a,0x4d,0x69,0x6e,0x69,0x48,0x6f, +0x72,0x7a,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x52,0x69,0x67,0x68,0x74,0x4e,0x6f,0x72, +0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x48,0x6f,0x76,0x65,0x72,0x49,0x6d,0x61,0x67,0x65,0x22,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d,0x61,0x67,0x65,0x3a,0x4d,0x69,0x6e, +0x69,0x48,0x6f,0x72,0x7a,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x52,0x69,0x67,0x68,0x74, +0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x75,0x73,0x68,0x65,0x64,0x49,0x6d,0x61,0x67, +0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65,0x74,0x3a,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d,0x61,0x67,0x65,0x3a, +0x4d,0x69,0x6e,0x69,0x48,0x6f,0x72,0x7a,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x52,0x69, +0x67,0x68,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68,0x69,0x6c,0x64,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69,0x6c,0x64,0x20,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x2f,0x49,0x6d,0x61,0x67,0x65,0x42,0x75,0x74,0x74,0x6f,0x6e,0x22,0x20,0x6e,0x61, +0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f, +0x5f,0x64,0x65,0x63,0x62,0x74,0x6e,0x5f,0x5f,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69, +0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x48,0x6f,0x72,0x7a,0x53,0x63,0x72, +0x6f,0x6c,0x6c,0x4c,0x65,0x66,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x64, +0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70, +0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61, +0x6c,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73, +0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3a,0x4d,0x69,0x6e,0x69,0x48,0x6f,0x72,0x7a,0x53,0x63,0x72, +0x6f,0x6c,0x6c,0x4c,0x65,0x66,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50, +0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f, +0x76,0x65,0x72,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3a,0x4d,0x69,0x6e,0x69,0x48,0x6f,0x72,0x7a,0x53, +0x63,0x72,0x6f,0x6c,0x6c,0x4c,0x65,0x66,0x74,0x48,0x6f,0x76,0x65,0x72,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50, +0x75,0x73,0x68,0x65,0x64,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x20,0x69,0x6d,0x61,0x67,0x65,0x3a,0x4d,0x69,0x6e,0x69,0x48,0x6f,0x72, +0x7a,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x4c,0x65,0x66,0x74,0x4e,0x6f,0x72,0x6d,0x61, +0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x43,0x68,0x69,0x6c,0x64,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x43,0x68,0x69,0x6c,0x64,0x20,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x48,0x6f,0x72,0x69,0x7a,0x6f,0x6e, +0x74,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x54,0x68,0x75,0x6d, +0x62,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d,0x22,0x5f, +0x5f,0x61,0x75,0x74,0x6f,0x5f,0x74,0x68,0x75,0x6d,0x62,0x5f,0x5f,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65, +0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75, +0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41, +0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65, +0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20, +0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x30,0x2e,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57, +0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74, +0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x4d,0x69,0x6e,0x53,0x69,0x7a,0x65,0x22,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x7b,0x7b,0x30,0x2c,0x32,0x35,0x7d,0x2c,0x7b, +0x30,0x2c,0x30,0x7d,0x7d,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x43,0x68,0x69,0x6c,0x64,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x48,0x6f,0x72,0x7a, +0x53,0x63,0x72,0x6f,0x6c,0x6c,0x4c,0x65,0x66,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c, +0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64, +0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30, +0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67, +0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d, +0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x48,0x6f,0x72,0x7a,0x53,0x63,0x72,0x6f, +0x6c,0x6c,0x52,0x69,0x67,0x68,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x64, +0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42, +0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31, +0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d, +0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d, +0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69, +0x48,0x6f,0x72,0x7a,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x42,0x61,0x72,0x53,0x65,0x67, +0x6d,0x65,0x6e,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f, +0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x43,0x65,0x6e,0x74,0x72, +0x65,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f, +0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53, +0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66, +0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f,0x70, +0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22, +0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37, +0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67, +0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57, +0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20, +0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x2f,0x56,0x65,0x72,0x74,0x69,0x63,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62, +0x61,0x72,0x54,0x68,0x75,0x6d,0x62,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a, +0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64, +0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x56,0x65,0x72,0x74,0x69,0x63, +0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x54,0x68,0x75,0x6d,0x62, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70, +0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x46, +0x72,0x65,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x54,0x72,0x75,0x65, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f, +0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c, +0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30, +0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65, +0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x56, +0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x68,0x75,0x6d,0x62,0x54,0x6f, +0x70,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45, +0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c, +0x6c,0x54,0x68,0x75,0x6d,0x62,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4e,0x6f,0x72,0x6d, +0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x69, +0x6e,0x69,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x68,0x75,0x6d, +0x62,0x4d,0x69,0x64,0x64,0x6c,0x65,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x68,0x6f,0x76,0x65,0x72,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61, +0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41, +0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65, +0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70, +0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65, +0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74, +0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20, +0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d, +0x69,0x6e,0x69,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x68,0x75, +0x6d,0x62,0x54,0x6f,0x70,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74, +0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x56,0x65,0x72,0x74,0x53,0x63, +0x72,0x6f,0x6c,0x6c,0x54,0x68,0x75,0x6d,0x62,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x48, +0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22, +0x4d,0x69,0x6e,0x69,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x68, +0x75,0x6d,0x62,0x4d,0x69,0x64,0x64,0x6c,0x65,0x48,0x6f,0x76,0x65,0x72,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c, +0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x76,0x65,0x72,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c, +0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x68,0x6f,0x76,0x65,0x72,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x75,0x73,0x68,0x65, +0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6e,0x6f,0x72,0x6d,0x61,0x6c, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69, +0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6e, +0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c, +0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46, +0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74, +0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74, +0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46, +0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46, +0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74, +0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d,0x0a, +0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x56,0x65,0x72,0x74, +0x69,0x63,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x0a,0x20,0x20, +0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f, +0x56,0x65,0x72,0x74,0x69,0x63,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61, +0x72,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f, +0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x65,0x72,0x74, +0x69,0x63,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x22,0x20,0x76, +0x61,0x6c,0x75,0x65,0x3d,0x22,0x54,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65, +0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x68,0x75,0x6d,0x62,0x54,0x72,0x61, +0x63,0x6b,0x41,0x72,0x65,0x61,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76, +0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70, +0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d, +0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d, +0x69,0x6e,0x69,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x55,0x70,0x4e, +0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e, +0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69, +0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30, +0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67, +0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67, +0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62, +0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d, +0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69, +0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x44,0x6f,0x77,0x6e,0x4e,0x6f, +0x72,0x6d,0x61,0x6c,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d, +0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68, +0x69,0x6c,0x64,0x20,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x49,0x6d,0x61,0x67,0x65,0x42,0x75,0x74,0x74, +0x6f,0x6e,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d,0x22, +0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x69,0x6e,0x63,0x62,0x74,0x6e,0x5f,0x5f,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57, +0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74, +0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x56, +0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x44,0x6f,0x77,0x6e,0x4e,0x6f,0x72, +0x6d,0x61,0x6c,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22, +0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x56,0x65,0x72,0x74,0x41,0x6c,0x69,0x67,0x6e,0x6d,0x65,0x6e,0x74,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x41,0x6c,0x69,0x67, +0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x49,0x6d,0x61,0x67,0x65,0x22, +0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d,0x61,0x67,0x65,0x3a,0x4d,0x69, +0x6e,0x69,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x44,0x6f,0x77,0x6e, +0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x76,0x65,0x72,0x49,0x6d,0x61,0x67, +0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65,0x74,0x3a,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d,0x61,0x67,0x65,0x3a, +0x4d,0x69,0x6e,0x69,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x44,0x6f, +0x77,0x6e,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74, +0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x75,0x73,0x68,0x65,0x64,0x49,0x6d, +0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65,0x74,0x3a, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3a,0x4d,0x69,0x6e,0x69,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c, +0x44,0x6f,0x77,0x6e,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68,0x69,0x6c,0x64,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69,0x6c,0x64,0x20,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x2f,0x49,0x6d,0x61,0x67,0x65,0x42,0x75,0x74,0x74,0x6f,0x6e,0x22,0x20,0x6e, +0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74, +0x6f,0x5f,0x64,0x65,0x63,0x62,0x74,0x6e,0x5f,0x5f,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x56,0x65,0x72,0x74,0x53,0x63, +0x72,0x6f,0x6c,0x6c,0x55,0x70,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x64,0x69, +0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65, +0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c, +0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65, +0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3a,0x4d,0x69,0x6e,0x69,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f, +0x6c,0x6c,0x55,0x70,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70, +0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x76,0x65,0x72, +0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65, +0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3a,0x4d,0x69,0x6e,0x69,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f, +0x6c,0x6c,0x55,0x70,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65, +0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x75,0x73,0x68,0x65,0x64, +0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65, +0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3a,0x4d,0x69,0x6e,0x69,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f, +0x6c,0x6c,0x55,0x70,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68,0x69,0x6c,0x64,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69,0x6c,0x64,0x20,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x2f,0x56,0x65,0x72,0x74,0x69,0x63,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c, +0x62,0x61,0x72,0x54,0x68,0x75,0x6d,0x62,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53,0x75, +0x66,0x66,0x69,0x78,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x74,0x68,0x75, +0x6d,0x62,0x5f,0x5f,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69, +0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e,0x31,0x22,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x4d,0x69, +0x6e,0x53,0x69,0x7a,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x7b,0x7b, +0x30,0x2c,0x30,0x7d,0x2c,0x7b,0x30,0x2c,0x32,0x35,0x7d,0x7d,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68,0x69,0x6c,0x64, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x6d,0x61,0x69,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f, +0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74, +0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65, +0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x56,0x65,0x72,0x74, +0x53,0x63,0x72,0x6f,0x6c,0x6c,0x55,0x70,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20, +0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74, +0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74, +0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f, +0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x69,0x6e,0x69,0x56,0x65,0x72, +0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x44,0x6f,0x77,0x6e,0x4e,0x6f,0x72,0x6d,0x61, +0x6c,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65, +0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74, +0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x4d,0x69,0x6e,0x69,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c, +0x42,0x61,0x72,0x53,0x65,0x67,0x6d,0x65,0x6e,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x43,0x65,0x6e,0x74,0x72,0x65,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e, +0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20, +0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62, +0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6d,0x61,0x69,0x6e, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20, +0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37, +0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37, +0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66, +0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74, +0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46, +0x37,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e, +0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x0a,0x20, +0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x2f,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x49,0x74,0x65,0x6d,0x52,0x65,0x6e,0x64,0x65,0x72,0x69,0x6e, +0x67,0x41,0x72,0x65,0x61,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78, +0x4c,0x65,0x66,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d, +0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69, +0x73,0x74,0x62,0x6f,0x78,0x54,0x6f,0x70,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73, +0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63, +0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69, +0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f, +0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x52,0x69,0x67,0x68,0x74,0x22,0x20, +0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63, +0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f, +0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20, +0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x42,0x6f,0x74,0x74,0x6f,0x6d, +0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41, +0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x49,0x74,0x65,0x6d,0x52,0x65, +0x6e,0x64,0x65,0x72,0x69,0x6e,0x67,0x41,0x72,0x65,0x61,0x48,0x53,0x63,0x72,0x6f, +0x6c,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x4c,0x65,0x66, +0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69, +0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62, +0x6f,0x78,0x54,0x6f,0x70,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e, +0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69, +0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74, +0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22, +0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d, +0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c, +0x69,0x73,0x74,0x62,0x6f,0x78,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x64,0x69,0x6d, +0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f, +0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74, +0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d, +0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44, +0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74, +0x6f,0x5f,0x68,0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x20, +0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65, +0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x49,0x74,0x65,0x6d,0x52,0x65,0x6e,0x64, +0x65,0x72,0x69,0x6e,0x67,0x41,0x72,0x65,0x61,0x56,0x53,0x63,0x72,0x6f,0x6c,0x6c, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x4c,0x65,0x66,0x74,0x22, +0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74, +0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78, +0x54,0x6f,0x70,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22, +0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75, +0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20, +0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x76, +0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d, +0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f, +0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74, +0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d, +0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69, +0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22, +0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20,0x64, +0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x49,0x74,0x65,0x6d,0x52,0x65,0x6e,0x64,0x65, +0x72,0x69,0x6e,0x67,0x41,0x72,0x65,0x61,0x48,0x56,0x53,0x63,0x72,0x6f,0x6c,0x6c, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x4c,0x65,0x66,0x74,0x22, +0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74, +0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78, +0x54,0x6f,0x70,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22, +0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75, +0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20, +0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x76, +0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d, +0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f, +0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74, +0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d, +0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44, +0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74, +0x6f,0x5f,0x68,0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x20, +0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69,0x6c,0x64,0x20,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x2f,0x48,0x6f,0x72,0x69,0x7a,0x6f,0x6e,0x74,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c, +0x6c,0x62,0x61,0x72,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78, +0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x68,0x73,0x63,0x72,0x6f,0x6c,0x6c, +0x62,0x61,0x72,0x5f,0x5f,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x6f, +0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x31,0x32,0x22,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x31,0x32,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x41,0x6c,0x69,0x67, +0x6e,0x6d,0x65,0x6e,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74, +0x6f,0x6d,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68,0x69,0x6c,0x64,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69,0x6c,0x64,0x20,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x2f,0x56,0x65,0x72,0x74,0x69,0x63,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62, +0x61,0x72,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d,0x22, +0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x76,0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61, +0x72,0x5f,0x5f,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d, +0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57, +0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65, +0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x31,0x32,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31, +0x22,0x20,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x31,0x32,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x41,0x6c,0x69,0x67,0x6e, +0x6d,0x65,0x6e,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74, +0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68,0x69,0x6c,0x64,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46, +0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54, +0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75, +0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74, +0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20, +0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x43,0x6f,0x72, +0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x54,0x6f,0x70,0x4c,0x65,0x66, +0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x54,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x43,0x6f,0x72,0x6e,0x65, +0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x54,0x6f,0x70,0x52,0x69,0x67,0x68,0x74, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x43,0x6f,0x72,0x6e, +0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c, +0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74, +0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x42,0x6f,0x74, +0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52, +0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x52, +0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69,0x73, +0x74,0x62,0x6f,0x78,0x54,0x6f,0x70,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45, +0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x42,0x6f,0x74,0x74,0x6f,0x6d, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74, +0x62,0x6f,0x78,0x42,0x61,0x63,0x6b,0x64,0x72,0x6f,0x70,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x46,0x72, +0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74, +0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61, +0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65, +0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f, +0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46, +0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46, +0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69, +0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74, +0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20, +0x20,0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x2f,0x43,0x6f,0x6d,0x62,0x6f,0x44,0x72,0x6f,0x70,0x4c,0x69,0x73,0x74,0x0a, +0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x2f,0x43,0x6f,0x6d,0x62,0x6f,0x44,0x72,0x6f,0x70,0x4c,0x69,0x73,0x74,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64, +0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x49,0x74,0x65,0x6d,0x52, +0x65,0x6e,0x64,0x65,0x72,0x69,0x6e,0x67,0x41,0x72,0x65,0x61,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69, +0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22, +0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x4c,0x69,0x73,0x74,0x4c,0x65,0x66,0x74, +0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64, +0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67, +0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62, +0x6f,0x78,0x4c,0x69,0x73,0x74,0x54,0x6f,0x70,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e, +0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52, +0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20, +0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x4c,0x69,0x73,0x74,0x52, +0x69,0x67,0x68,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d, +0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65, +0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61, +0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f, +0x78,0x4c,0x69,0x73,0x74,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20,0x64,0x69,0x6d, +0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d, +0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x49,0x74,0x65,0x6d,0x52,0x65,0x6e,0x64,0x65,0x72,0x69, +0x6e,0x67,0x41,0x72,0x65,0x61,0x48,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65, +0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44, +0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x4c,0x69,0x73,0x74,0x4c,0x65,0x66, +0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69, +0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f, +0x62,0x6f,0x78,0x4c,0x69,0x73,0x74,0x54,0x6f,0x70,0x22,0x20,0x64,0x69,0x6d,0x65, +0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20, +0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72, +0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x4c,0x69,0x73,0x74, +0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e, +0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72, +0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64, +0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x68,0x73,0x63,0x72, +0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73, +0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65, +0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61, +0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x49,0x74,0x65,0x6d,0x52,0x65,0x6e,0x64,0x65,0x72,0x69,0x6e,0x67,0x41, +0x72,0x65,0x61,0x56,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x43,0x6f, +0x6d,0x62,0x6f,0x62,0x6f,0x78,0x4c,0x69,0x73,0x74,0x4c,0x65,0x66,0x74,0x22,0x20, +0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78, +0x4c,0x69,0x73,0x74,0x54,0x6f,0x70,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69, +0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67, +0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70, +0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74, +0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75, +0x74,0x6f,0x5f,0x76,0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22, +0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74, +0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42, +0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72, +0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x4c,0x69,0x73,0x74, +0x42,0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f, +0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61, +0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65, +0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x49,0x74,0x65,0x6d,0x52,0x65,0x6e,0x64,0x65,0x72,0x69,0x6e,0x67,0x41,0x72,0x65, +0x61,0x48,0x56,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x43,0x6f,0x6d, +0x62,0x6f,0x62,0x6f,0x78,0x4c,0x69,0x73,0x74,0x4c,0x65,0x66,0x74,0x22,0x20,0x64, +0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x4c, +0x69,0x73,0x74,0x54,0x6f,0x70,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f, +0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52, +0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68, +0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d, +0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44, +0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74, +0x6f,0x5f,0x76,0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x20, +0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63, +0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f, +0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20, +0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67, +0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f, +0x61,0x75,0x74,0x6f,0x5f,0x68,0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f, +0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65, +0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69,0x6c,0x64, +0x20,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x2f,0x48,0x6f,0x72,0x69,0x7a,0x6f,0x6e,0x74,0x61,0x6c,0x53,0x63, +0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53,0x75,0x66, +0x66,0x69,0x78,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x68,0x73,0x63,0x72, +0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d, +0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54, +0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75, +0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31, +0x22,0x20,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x31,0x32,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75, +0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x31,0x32,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x41, +0x6c,0x69,0x67,0x6e,0x6d,0x65,0x6e,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42, +0x6f,0x74,0x74,0x6f,0x6d,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68,0x69,0x6c,0x64, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69,0x6c,0x64, +0x20,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x2f,0x56,0x65,0x72,0x74,0x69,0x63,0x61,0x6c,0x53,0x63,0x72,0x6f, +0x6c,0x6c,0x62,0x61,0x72,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69, +0x78,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x76,0x73,0x63,0x72,0x6f,0x6c, +0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76, +0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70, +0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65, +0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x31,0x32, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x31,0x32, +0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x41,0x6c, +0x69,0x67,0x6e,0x6d,0x65,0x6e,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69, +0x67,0x68,0x74,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68,0x69,0x6c,0x64,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x6d,0x61, +0x69,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73, +0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57, +0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65, +0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74, +0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x4c,0x69, +0x73,0x74,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x52,0x69, +0x67,0x68,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f, +0x78,0x4c,0x69,0x73,0x74,0x54,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42, +0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x43, +0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x4c,0x69,0x73,0x74,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67, +0x68,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78, +0x4c,0x69,0x73,0x74,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f, +0x78,0x4c,0x69,0x73,0x74,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74, +0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x4c,0x69,0x73,0x74, +0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x43,0x6f, +0x6d,0x62,0x6f,0x62,0x6f,0x78,0x4c,0x69,0x73,0x74,0x54,0x6f,0x70,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42, +0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f, +0x78,0x4c,0x69,0x73,0x74,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x61,0x63, +0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x4c, +0x69,0x73,0x74,0x42,0x61,0x63,0x6b,0x64,0x72,0x6f,0x70,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x46,0x72, +0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74, +0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61, +0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65, +0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f, +0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46, +0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46, +0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69, +0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74, +0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20, +0x20,0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x2f,0x43,0x6f,0x6d,0x62,0x6f,0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x0a,0x20, +0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x2f,0x43,0x6f,0x6d,0x62,0x6f,0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74, +0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f, +0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65, +0x3d,0x22,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x72,0x65,0x64,0x72, +0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f, +0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x54,0x65, +0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61, +0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x30,0x30,0x30,0x30,0x30,0x30, +0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d, +0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e, +0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x41,0x63,0x74,0x69, +0x76,0x65,0x53,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e,0x43,0x6f,0x6c,0x6f,0x75, +0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x46,0x46,0x36,0x30,0x37,0x46,0x46,0x46,0x22,0x20,0x72,0x65,0x64,0x72,0x61, +0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70, +0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x49,0x6e,0x61,0x63,0x74,0x69,0x76,0x65,0x53,0x65,0x6c, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e, +0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x38,0x30, +0x38,0x30,0x38,0x30,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72, +0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x6f,0x75,0x73,0x65,0x43,0x75,0x72,0x73,0x6f, +0x72,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73, +0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3a,0x4d,0x6f,0x75,0x73,0x65,0x54,0x65,0x78,0x74,0x42,0x61, +0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e, +0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54, +0x65,0x78,0x74,0x41,0x72,0x65,0x61,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x35,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f, +0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74, +0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x35,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d, +0x35,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x6f,0x66,0x66, +0x73,0x65,0x74,0x3d,0x22,0x2d,0x35,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42, +0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x63,0x6f,0x6e,0x74,0x61, +0x69,0x6e,0x65,0x72,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61,0x6d,0x65, +0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73, +0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69, +0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31, +0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22, +0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63, +0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x43,0x6f, +0x6d,0x62,0x6f,0x62,0x6f,0x78,0x45,0x64,0x69,0x74,0x4c,0x65,0x66,0x74,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x62,0x6f,0x62, +0x6f,0x78,0x45,0x64,0x69,0x74,0x4d,0x69,0x64,0x64,0x6c,0x65,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x46, +0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x73,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73, +0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74, +0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x54,0x65,0x78,0x74,0x53,0x65,0x6c,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x42,0x72,0x75,0x73,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72, +0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74, +0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72, +0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74, +0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x43,0x61,0x72,0x61,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73, +0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69, +0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x45,0x64,0x69,0x74,0x42,0x6f,0x78,0x43,0x61,0x72,0x61,0x74, +0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64, +0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74, +0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67, +0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x45,0x64,0x69,0x74,0x42,0x6f,0x78, +0x43,0x61,0x72,0x61,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46, +0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65, +0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46, +0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65, +0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43, +0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61, +0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22, +0x63,0x6f,0x6e,0x74,0x61,0x69,0x6e,0x65,0x72,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x52,0x65, +0x61,0x64,0x4f,0x6e,0x6c,0x79,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x63, +0x6f,0x6e,0x74,0x61,0x69,0x6e,0x65,0x72,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73, +0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x63,0x6f, +0x6e,0x74,0x61,0x69,0x6e,0x65,0x72,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f, +0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22, +0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37, +0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d, +0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f, +0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61, +0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53, +0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x41,0x63,0x74,0x69,0x76,0x65,0x53, +0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d, +0x22,0x73,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x41,0x63,0x74,0x69,0x76,0x65,0x53,0x65,0x6c, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x49,0x6e,0x61,0x63,0x74,0x69,0x76,0x65,0x53,0x65,0x6c, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x73, +0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x49,0x6e,0x61,0x63,0x74,0x69,0x76,0x65,0x53,0x65,0x6c, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57, +0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20, +0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x2f,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x57, +0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x43,0x6f,0x6d,0x62, +0x6f,0x62,0x6f,0x78,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x4c,0x69,0x6e,0x6b,0x44,0x65,0x66,0x69, +0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72, +0x6d,0x61,0x6c,0x45,0x64,0x69,0x74,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75, +0x72,0x22,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74, +0x6f,0x5f,0x65,0x64,0x69,0x74,0x62,0x6f,0x78,0x5f,0x5f,0x22,0x20,0x74,0x61,0x72, +0x67,0x65,0x74,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x3d,0x22,0x4e,0x6f,0x72, +0x6d,0x61,0x6c,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x69, +0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x46, +0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x4c,0x69,0x6e,0x6b,0x44, +0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x53,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x45,0x64,0x69,0x74,0x54,0x65,0x78,0x74, +0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22, +0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x65,0x64,0x69,0x74,0x62,0x6f,0x78,0x5f,0x5f, +0x22,0x20,0x74,0x61,0x72,0x67,0x65,0x74,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79, +0x3d,0x22,0x53,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x54,0x65,0x78,0x74,0x43,0x6f, +0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x46,0x46,0x30,0x30,0x30,0x30,0x30,0x30,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72, +0x74,0x79,0x4c,0x69,0x6e,0x6b,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x41,0x63,0x74,0x69,0x76,0x65,0x45,0x64,0x69, +0x74,0x53,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e,0x43,0x6f,0x6c,0x6f,0x75,0x72, +0x22,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f, +0x5f,0x65,0x64,0x69,0x74,0x62,0x6f,0x78,0x5f,0x5f,0x22,0x20,0x74,0x61,0x72,0x67, +0x65,0x74,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x3d,0x22,0x41,0x63,0x74,0x69, +0x76,0x65,0x53,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e,0x43,0x6f,0x6c,0x6f,0x75, +0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x46,0x46,0x36,0x30,0x36,0x30,0x46,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x4c, +0x69,0x6e,0x6b,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x49,0x6e,0x61,0x63,0x74,0x69,0x76,0x65,0x45,0x64,0x69,0x74, +0x53,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22, +0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f, +0x65,0x64,0x69,0x74,0x62,0x6f,0x78,0x5f,0x5f,0x22,0x20,0x74,0x61,0x72,0x67,0x65, +0x74,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x3d,0x22,0x49,0x6e,0x61,0x63,0x74, +0x69,0x76,0x65,0x53,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e,0x43,0x6f,0x6c,0x6f, +0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65, +0x3d,0x22,0x46,0x46,0x38,0x30,0x38,0x30,0x38,0x30,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69,0x6c,0x64,0x20,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x2f,0x43,0x6f,0x6d,0x62,0x6f,0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x22,0x20,0x6e, +0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74, +0x6f,0x5f,0x65,0x64,0x69,0x74,0x62,0x6f,0x78,0x5f,0x5f,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74, +0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65, +0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73, +0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72, +0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63, +0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x46,0x6f,0x6e,0x74,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c, +0x69,0x6e,0x65,0x53,0x70,0x61,0x63,0x69,0x6e,0x67,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x4d,0x75, +0x6c,0x74,0x69,0x70,0x6c,0x79,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x62, +0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x31,0x2e,0x35,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x46,0x6f,0x6e,0x74,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72, +0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74, +0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x6f,0x6e,0x74,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x69,0x6e,0x65,0x53,0x70,0x61,0x63,0x69, +0x6e,0x67,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x4d,0x75, +0x6c,0x74,0x69,0x70,0x6c,0x79,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69, +0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x31,0x2e,0x35,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x46,0x6f, +0x6e,0x74,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68,0x69,0x6c, +0x64,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69,0x6c, +0x64,0x20,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x2f,0x43,0x6f,0x6d,0x62,0x6f,0x44,0x72,0x6f,0x70,0x4c,0x69, +0x73,0x74,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d,0x22, +0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x64,0x72,0x6f,0x70,0x6c,0x69,0x73,0x74,0x5f, +0x5f,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62, +0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64, +0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x65,0x64,0x69,0x74, +0x62,0x6f,0x78,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e, +0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d, +0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68,0x69, +0x6c,0x64,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69, +0x6c,0x64,0x20,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x49,0x6d,0x61,0x67,0x65,0x42,0x75,0x74,0x74,0x6f, +0x6e,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d,0x22,0x5f, +0x5f,0x61,0x75,0x74,0x6f,0x5f,0x62,0x75,0x74,0x74,0x6f,0x6e,0x5f,0x5f,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c, +0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x3e,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64, +0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x65,0x64,0x69,0x74, +0x62,0x6f,0x78,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e, +0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65, +0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69, +0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f, +0x5f,0x65,0x64,0x69,0x74,0x62,0x6f,0x78,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65, +0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x41,0x6c,0x69, +0x67,0x6e,0x6d,0x65,0x6e,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67, +0x68,0x74,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65, +0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c, +0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65, +0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3a,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x4c,0x69,0x73,0x74, +0x42,0x75,0x74,0x74,0x6f,0x6e,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72, +0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x76, +0x65,0x72,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3a,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x4c,0x69, +0x73,0x74,0x42,0x75,0x74,0x74,0x6f,0x6e,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50, +0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x75, +0x73,0x68,0x65,0x64,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65, +0x3d,0x22,0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x20,0x69,0x6d,0x61,0x67,0x65,0x3a,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78, +0x4c,0x69,0x73,0x74,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4e,0x6f,0x72,0x6d,0x61,0x6c, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43, +0x68,0x69,0x6c,0x64,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c, +0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64, +0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21, +0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53, +0x70,0x69,0x6e,0x6e,0x65,0x72,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20, +0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67, +0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x70,0x69,0x6e,0x6e,0x65,0x72, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69,0x6c, +0x64,0x20,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x2f,0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x22,0x20,0x6e,0x61, +0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f, +0x5f,0x65,0x64,0x69,0x74,0x62,0x6f,0x78,0x5f,0x5f,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61, +0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c, +0x6c,0x55,0x70,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e, +0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65, +0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20, +0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43, +0x68,0x69,0x6c,0x64,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43, +0x68,0x69,0x6c,0x64,0x20,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x49,0x6d,0x61,0x67,0x65,0x42,0x75,0x74, +0x74,0x6f,0x6e,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d, +0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x69,0x6e,0x63,0x62,0x74,0x6e,0x5f,0x5f, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73, +0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74, +0x68,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d, +0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x56,0x65,0x72,0x74, +0x53,0x63,0x72,0x6f,0x6c,0x6c,0x55,0x70,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20, +0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x30,0x2e,0x35,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48, +0x6f,0x72,0x7a,0x41,0x6c,0x69,0x67,0x6e,0x6d,0x65,0x6e,0x74,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x20,0x69,0x6d,0x61,0x67,0x65,0x3a,0x56,0x65,0x72,0x74,0x53,0x63, +0x72,0x6f,0x6c,0x6c,0x55,0x70,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72, +0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x76, +0x65,0x72,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3a,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c, +0x55,0x70,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74, +0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x75,0x73,0x68,0x65,0x64,0x49,0x6d, +0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65,0x74,0x3a, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3a,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x55,0x70,0x4e,0x6f, +0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x43,0x68,0x69,0x6c,0x64,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x43,0x68,0x69,0x6c,0x64,0x20,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x49,0x6d,0x61,0x67, +0x65,0x42,0x75,0x74,0x74,0x6f,0x6e,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53,0x75,0x66, +0x66,0x69,0x78,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x64,0x65,0x63,0x62, +0x74,0x6e,0x5f,0x5f,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e,0x35,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69, +0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22, +0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x55,0x70,0x4e,0x6f,0x72,0x6d, +0x61,0x6c,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57, +0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74, +0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e,0x35,0x22,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x41,0x6c,0x69,0x67,0x6e,0x6d,0x65,0x6e,0x74, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x41,0x6c,0x69,0x67, +0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x49,0x6d,0x61,0x67,0x65,0x22, +0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d,0x61,0x67,0x65,0x3a,0x56,0x65, +0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x44,0x6f,0x77,0x6e,0x4e,0x6f,0x72,0x6d, +0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x48,0x6f,0x76,0x65,0x72,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76, +0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d,0x61,0x67,0x65,0x3a,0x56,0x65,0x72,0x74, +0x53,0x63,0x72,0x6f,0x6c,0x6c,0x44,0x6f,0x77,0x6e,0x48,0x6f,0x76,0x65,0x72,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x50,0x75,0x73,0x68,0x65,0x64,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x20,0x69,0x6d,0x61,0x67,0x65,0x3a,0x56,0x65,0x72,0x74,0x53,0x63, +0x72,0x6f,0x6c,0x6c,0x44,0x6f,0x77,0x6e,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68,0x69, +0x6c,0x64,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61, +0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65, +0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d, +0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x74,0x61, +0x74,0x69,0x63,0x53,0x68,0x61,0x72,0x65,0x64,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x28,0x53,0x68,0x61,0x72,0x65,0x64,0x20,0x69,0x6d,0x61,0x67,0x65,0x72, +0x79,0x20,0x63,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x73,0x20,0x66,0x6f,0x72, +0x20,0x73,0x74,0x61,0x74,0x69,0x63,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x73,0x29, +0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x2f,0x53,0x74,0x61,0x74,0x69,0x63,0x53,0x68,0x61,0x72,0x65,0x64,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x66,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e, +0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69, +0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69, +0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x4c, +0x65,0x66,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x54, +0x6f,0x70,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x52,0x69,0x67,0x68,0x74, +0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x54,0x6f,0x70,0x52, +0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74, +0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x42,0x6f,0x74,0x74, +0x6f,0x6d,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69, +0x67,0x68,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x42, +0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74, +0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x4c,0x65,0x66,0x74,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x52, +0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x74,0x61, +0x74,0x69,0x63,0x54,0x6f,0x70,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64, +0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x52,0x65,0x63,0x74,0x50,0x72, +0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x46,0x72,0x61, +0x6d,0x65,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x46,0x72,0x61,0x6d, +0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x62,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x4c, +0x65,0x66,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54, +0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44, +0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x54,0x6f,0x70,0x22,0x20,0x64,0x69,0x6d,0x65, +0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31, +0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67, +0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d, +0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x52,0x69,0x67,0x68,0x74,0x22, +0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74, +0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62, +0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69, +0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22, +0x53,0x74,0x61,0x74,0x69,0x63,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20,0x64,0x69, +0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x74,0x61, +0x74,0x69,0x63,0x42,0x61,0x63,0x6b,0x64,0x72,0x6f,0x70,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x21,0x2d,0x2d,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x52,0x65,0x63,0x74,0x50, +0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x42,0x61, +0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x22, +0x20,0x2f,0x3e,0x2d,0x2d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20, +0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x46,0x46,0x46,0x46,0x46, +0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x46, +0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66, +0x74,0x3d,0x22,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x62,0x6f,0x74, +0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x46,0x46,0x46,0x46, +0x46,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d, +0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68, +0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d, +0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68, +0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70, +0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x62, +0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x5f,0x6e,0x6f,0x66,0x72,0x61,0x6d, +0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e, +0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67, +0x65,0x22,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45, +0x64,0x67,0x65,0x22,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74, +0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x74, +0x61,0x74,0x69,0x63,0x42,0x61,0x63,0x6b,0x64,0x72,0x6f,0x70,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x21,0x2d,0x2d,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x52,0x65,0x63,0x74, +0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x42, +0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73, +0x22,0x20,0x2f,0x3e,0x2d,0x2d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73, +0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x46,0x46,0x46,0x46, +0x46,0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46, +0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65, +0x66,0x74,0x3d,0x22,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x62,0x6f, +0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x46,0x46,0x46, +0x46,0x46,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72, +0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63, +0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72, +0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63, +0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d, +0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f, +0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20, +0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x74,0x61,0x74,0x69,0x63, +0x49,0x6d,0x61,0x67,0x65,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20, +0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65, +0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x74,0x61,0x74,0x69,0x63,0x49,0x6d, +0x61,0x67,0x65,0x22,0x3e,0x0a,0x09,0x09,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74, +0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x49,0x6d,0x61,0x67,0x65,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x22,0x20, +0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x74,0x6c, +0x3a,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x20,0x74,0x72,0x3a,0x46,0x46,0x46, +0x46,0x46,0x46,0x46,0x46,0x20,0x62,0x6c,0x3a,0x46,0x46,0x46,0x46,0x46,0x46,0x46, +0x46,0x20,0x62,0x72,0x3a,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x72, +0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72, +0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x09,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72, +0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x22, +0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x74, +0x6c,0x3a,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x20,0x74,0x72,0x3a,0x46,0x46, +0x46,0x46,0x46,0x46,0x46,0x46,0x20,0x62,0x6c,0x3a,0x46,0x46,0x46,0x46,0x46,0x46, +0x46,0x46,0x20,0x62,0x72,0x3a,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20, +0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74, +0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x09,0x3c,0x50,0x72,0x6f,0x70,0x65, +0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x43,0x6f, +0x6c,0x6f,0x75,0x72,0x73,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x74,0x6c,0x3a,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46, +0x20,0x74,0x72,0x3a,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x20,0x62,0x6c,0x3a, +0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x20,0x62,0x72,0x3a,0x46,0x46,0x46,0x46, +0x46,0x46,0x46,0x46,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72, +0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44, +0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x74,0x69,0x6e,0x67,0x22,0x20, +0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x53,0x74, +0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f, +0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72, +0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x74,0x69,0x6e, +0x67,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x72,0x65,0x64,0x72, +0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f, +0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b, +0x67,0x72,0x6f,0x75,0x6e,0x64,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x22,0x20,0x76, +0x61,0x6c,0x75,0x65,0x3d,0x22,0x54,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x46,0x72,0x61,0x6d,0x65,0x45,0x6e,0x61,0x62, +0x6c,0x65,0x64,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x54,0x72,0x75,0x65, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x69,0x6d,0x61,0x67,0x65,0x5f,0x77,0x69,0x74,0x68,0x66,0x72,0x61, +0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65, +0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x09,0x09,0x09,0x09,0x09, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x74, +0x61,0x74,0x69,0x63,0x4c,0x65,0x66,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73, +0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x09,0x09,0x09,0x09,0x09,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x54,0x6f,0x70, +0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x09,0x09, +0x09,0x09,0x09,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69, +0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x09,0x09,0x09,0x09,0x09, +0x09,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67, +0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x09,0x09,0x09,0x09,0x09,0x09,0x09, +0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d, +0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x09,0x09,0x09,0x09, +0x09,0x09,0x09,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d, +0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x74,0x61,0x74, +0x69,0x63,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69, +0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x09, +0x09,0x09,0x09,0x09,0x09,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74, +0x6f,0x72,0x3e,0x0a,0x09,0x09,0x09,0x09,0x09,0x09,0x3c,0x2f,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x09,0x09,0x09,0x09,0x09,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x09,0x09,0x09,0x09,0x09,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x0a,0x09,0x09,0x09,0x09,0x09,0x09,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e, +0x0a,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72, +0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63, +0x74,0x22,0x3e,0x0a,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x42,0x6f,0x74,0x74,0x6f,0x6d, +0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x3c, +0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x09,0x09, +0x09,0x09,0x09,0x09,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x3e,0x0a,0x09,0x09,0x09,0x09,0x09,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x09,0x09, +0x09,0x09,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x49, +0x6d,0x61,0x67,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72, +0x52,0x65,0x63,0x74,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x49,0x6d,0x61,0x67,0x65,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x50, +0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x65, +0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x74,0x69,0x6e,0x67,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x72,0x6f,0x70, +0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x72,0x7a,0x46, +0x6f,0x72,0x6d,0x61,0x74,0x74,0x69,0x6e,0x67,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x69,0x6d,0x61,0x67,0x65,0x5f,0x6e,0x6f,0x66,0x72, +0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e, +0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x09,0x09,0x09,0x09, +0x09,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74, +0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65, +0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x09,0x09,0x09,0x09,0x09,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x09,0x09,0x09,0x09,0x09,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x09,0x09,0x09,0x09,0x09,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x09,0x09,0x09,0x09,0x3c, +0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x50,0x72,0x6f, +0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x49,0x6d,0x61,0x67, +0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x52,0x65,0x63, +0x74,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x49,0x6d,0x61,0x67,0x65,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x72,0x6f,0x70, +0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x46, +0x6f,0x72,0x6d,0x61,0x74,0x74,0x69,0x6e,0x67,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48, +0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x72,0x6f,0x70,0x65,0x72,0x74, +0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d, +0x61,0x74,0x74,0x69,0x6e,0x67,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74, +0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65, +0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x46,0x72,0x61,0x6d,0x65,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61, +0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6c,0x6f, +0x6f,0x6b,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f, +0x53,0x74,0x61,0x74,0x69,0x63,0x53,0x68,0x61,0x72,0x65,0x64,0x22,0x20,0x73,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x66,0x72,0x61,0x6d,0x65,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c, +0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c, +0x65,0x64,0x46,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6c,0x6f,0x6f,0x6b,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x74,0x61,0x74,0x69,0x63,0x53, +0x68,0x61,0x72,0x65,0x64,0x22,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22, +0x66,0x72,0x61,0x6d,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x57,0x69,0x74,0x68,0x46,0x72,0x61,0x6d,0x65,0x45,0x6e,0x61,0x62, +0x6c,0x65,0x64,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6c,0x6f,0x6f, +0x6b,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53, +0x74,0x61,0x74,0x69,0x63,0x53,0x68,0x61,0x72,0x65,0x64,0x22,0x20,0x73,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3d,0x22,0x62,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x57,0x69, +0x74,0x68,0x46,0x72,0x61,0x6d,0x65,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x42, +0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6c,0x6f,0x6f,0x6b,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x74,0x61,0x74,0x69, +0x63,0x53,0x68,0x61,0x72,0x65,0x64,0x22,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x3d,0x22,0x62,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c, +0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x46,0x72,0x61,0x6d, +0x65,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75, +0x6e,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x20,0x6c,0x6f,0x6f,0x6b,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x2f,0x53,0x74,0x61,0x74,0x69,0x63,0x53,0x68,0x61,0x72,0x65,0x64, +0x22,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x62,0x61,0x63,0x6b,0x67, +0x72,0x6f,0x75,0x6e,0x64,0x5f,0x6e,0x6f,0x66,0x72,0x61,0x6d,0x65,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x46,0x72,0x61, +0x6d,0x65,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x42,0x61,0x63,0x6b,0x67,0x72, +0x6f,0x75,0x6e,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x20,0x6c,0x6f,0x6f,0x6b,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x74,0x61,0x74,0x69,0x63,0x53,0x68,0x61,0x72, +0x65,0x64,0x22,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x62,0x61,0x63, +0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x5f,0x6e,0x6f,0x66,0x72,0x61,0x6d,0x65,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x57,0x69,0x74, +0x68,0x46,0x72,0x61,0x6d,0x65,0x49,0x6d,0x61,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3d,0x22,0x69,0x6d,0x61,0x67,0x65,0x5f,0x77,0x69,0x74,0x68,0x66,0x72, +0x61,0x6d,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74, +0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x4e,0x6f,0x46,0x72,0x61,0x6d,0x65,0x49,0x6d,0x61,0x67,0x65,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3d,0x22,0x69,0x6d,0x61,0x67,0x65,0x5f,0x6e,0x6f,0x66,0x72, +0x61,0x6d,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65, +0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d, +0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x74,0x61, +0x74,0x69,0x63,0x54,0x65,0x78,0x74,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a, +0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64, +0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x74,0x61,0x74,0x69,0x63, +0x54,0x65,0x78,0x74,0x22,0x3e,0x0a,0x09,0x09,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72, +0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x22, +0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x74, +0x6c,0x3a,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x20,0x74,0x72,0x3a,0x46,0x46, +0x46,0x46,0x46,0x46,0x46,0x46,0x20,0x62,0x6c,0x3a,0x46,0x46,0x46,0x46,0x46,0x46, +0x46,0x46,0x20,0x62,0x72,0x3a,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20, +0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74, +0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x09,0x3c,0x50,0x72,0x6f,0x70,0x65, +0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x43,0x6f, +0x6c,0x6f,0x75,0x72,0x73,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x74,0x6c,0x3a,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46, +0x20,0x74,0x72,0x3a,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x20,0x62,0x6c,0x3a, +0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x20,0x62,0x72,0x3a,0x46,0x46,0x46,0x46, +0x46,0x46,0x46,0x46,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72, +0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x46,0x72,0x61,0x6d,0x65,0x45,0x6e,0x61,0x62,0x6c, +0x65,0x64,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x54,0x72,0x75,0x65,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f, +0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b, +0x67,0x72,0x6f,0x75,0x6e,0x64,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x22,0x20,0x76, +0x61,0x6c,0x75,0x65,0x3d,0x22,0x54,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65, +0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x57,0x69,0x74,0x68,0x46,0x72,0x61,0x6d, +0x65,0x54,0x65,0x78,0x74,0x52,0x65,0x6e,0x64,0x65,0x72,0x41,0x72,0x65,0x61,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x4c,0x65,0x66,0x74,0x22,0x20,0x64, +0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x54,0x6f,0x70, +0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72, +0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67, +0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63, +0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e, +0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72, +0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67, +0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63, +0x42,0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f, +0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61, +0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65, +0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x57,0x69,0x74,0x68,0x46,0x72,0x61,0x6d,0x65,0x54,0x65,0x78,0x74,0x52,0x65,0x6e, +0x64,0x65,0x72,0x41,0x72,0x65,0x61,0x48,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c, +0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x4c,0x65,0x66,0x74,0x22,0x20,0x64,0x69, +0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x54,0x6f,0x70,0x22, +0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67, +0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65, +0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61, +0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x52, +0x69,0x67,0x68,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d, +0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65, +0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61, +0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67, +0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x68,0x73,0x63,0x72,0x6f, +0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69, +0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72, +0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d, +0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x57,0x69,0x74,0x68,0x46,0x72,0x61,0x6d,0x65,0x54,0x65,0x78,0x74,0x52,0x65, +0x6e,0x64,0x65,0x72,0x41,0x72,0x65,0x61,0x56,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x4c,0x65,0x66,0x74,0x22,0x20,0x64, +0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x54,0x6f,0x70, +0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72, +0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64, +0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x76,0x73,0x63,0x72, +0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73, +0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72, +0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d, +0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31, +0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64, +0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75, +0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x74,0x61, +0x74,0x69,0x63,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e, +0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e, +0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x57,0x69,0x74,0x68,0x46,0x72,0x61,0x6d,0x65,0x54,0x65,0x78,0x74, +0x52,0x65,0x6e,0x64,0x65,0x72,0x41,0x72,0x65,0x61,0x48,0x56,0x53,0x63,0x72,0x6f, +0x6c,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63,0x4c,0x65,0x66,0x74, +0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64, +0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67, +0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x53,0x74,0x61,0x74,0x69,0x63, +0x54,0x6f,0x70,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22, +0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75, +0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20, +0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x76, +0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d, +0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f, +0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74, +0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d, +0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44, +0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74, +0x6f,0x5f,0x68,0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x20, +0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65, +0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x46,0x72,0x61,0x6d,0x65,0x54, +0x65,0x78,0x74,0x52,0x65,0x6e,0x64,0x65,0x72,0x41,0x72,0x65,0x61,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65, +0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75, +0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41, +0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65, +0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45, +0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65, +0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x4e,0x6f,0x46,0x72,0x61,0x6d,0x65,0x54,0x65,0x78,0x74,0x52,0x65,0x6e,0x64,0x65, +0x72,0x41,0x72,0x65,0x61,0x48,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74, +0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62, +0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20, +0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42, +0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74, +0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f, +0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65, +0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61, +0x75,0x74,0x6f,0x5f,0x68,0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f, +0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41, +0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x46,0x72,0x61,0x6d, +0x65,0x54,0x65,0x78,0x74,0x52,0x65,0x6e,0x64,0x65,0x72,0x41,0x72,0x65,0x61,0x56, +0x53,0x63,0x72,0x6f,0x6c,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76, +0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70, +0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65, +0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52, +0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20, +0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67, +0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f, +0x61,0x75,0x74,0x6f,0x5f,0x76,0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f, +0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69, +0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74, +0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e, +0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x4e,0x6f,0x46,0x72,0x61,0x6d,0x65,0x54,0x65,0x78,0x74,0x52,0x65, +0x6e,0x64,0x65,0x72,0x41,0x72,0x65,0x61,0x48,0x56,0x53,0x63,0x72,0x6f,0x6c,0x6c, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73, +0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75, +0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20, +0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x76, +0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d, +0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f, +0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74, +0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d, +0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44, +0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74, +0x6f,0x5f,0x68,0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x20, +0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69,0x6c,0x64,0x20,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x2f,0x48,0x6f,0x72,0x69,0x7a,0x6f,0x6e,0x74,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c, +0x6c,0x62,0x61,0x72,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78, +0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x68,0x73,0x63,0x72,0x6f,0x6c,0x6c, +0x62,0x61,0x72,0x5f,0x5f,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x6f, +0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x31,0x32,0x22,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x31,0x32,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x41,0x6c,0x69,0x67, +0x6e,0x6d,0x65,0x6e,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74, +0x6f,0x6d,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68,0x69,0x6c,0x64,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69,0x6c,0x64,0x20,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x2f,0x56,0x65,0x72,0x74,0x69,0x63,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62, +0x61,0x72,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d,0x22, +0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x76,0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61, +0x72,0x5f,0x5f,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d, +0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57, +0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65, +0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x31,0x32,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31, +0x22,0x20,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x31,0x32,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x41,0x6c,0x69,0x67,0x6e, +0x6d,0x65,0x6e,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74, +0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68,0x69,0x6c,0x64,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74, +0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65, +0x64,0x46,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x20,0x6c,0x6f,0x6f,0x6b,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x74,0x61,0x74,0x69,0x63,0x53,0x68, +0x61,0x72,0x65,0x64,0x22,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x66, +0x72,0x61,0x6d,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x46,0x72,0x61,0x6d,0x65,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c, +0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6c, +0x6f,0x6f,0x6b,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x2f,0x53,0x74,0x61,0x74,0x69,0x63,0x53,0x68,0x61,0x72,0x65,0x64,0x22,0x20,0x73, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x66,0x72,0x61,0x6d,0x65,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x57,0x69,0x74,0x68,0x46, +0x72,0x61,0x6d,0x65,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x42,0x61,0x63,0x6b,0x67, +0x72,0x6f,0x75,0x6e,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x20,0x6c,0x6f,0x6f,0x6b,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x74,0x61,0x74,0x69,0x63,0x53,0x68,0x61, +0x72,0x65,0x64,0x22,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x62,0x61, +0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74, +0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x57,0x69,0x74,0x68,0x46,0x72,0x61,0x6d,0x65,0x44, +0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e, +0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x20,0x6c,0x6f,0x6f,0x6b,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x2f,0x53,0x74,0x61,0x74,0x69,0x63,0x53,0x68,0x61,0x72,0x65,0x64,0x22, +0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x62,0x61,0x63,0x6b,0x67,0x72, +0x6f,0x75,0x6e,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x4e,0x6f,0x46,0x72,0x61,0x6d,0x65,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64, +0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6c,0x6f,0x6f,0x6b,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x74,0x61,0x74, +0x69,0x63,0x53,0x68,0x61,0x72,0x65,0x64,0x22,0x20,0x73,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3d,0x22,0x62,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x5f,0x6e,0x6f, +0x66,0x72,0x61,0x6d,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x4e,0x6f,0x46,0x72,0x61,0x6d,0x65,0x44,0x69,0x73,0x61,0x62,0x6c, +0x65,0x64,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6c,0x6f,0x6f,0x6b, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x74, +0x61,0x74,0x69,0x63,0x53,0x68,0x61,0x72,0x65,0x64,0x22,0x20,0x73,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3d,0x22,0x62,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x5f, +0x6e,0x6f,0x66,0x72,0x61,0x6d,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57, +0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20, +0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x2f,0x4c,0x69,0x73,0x74,0x48,0x65,0x61,0x64,0x65,0x72,0x53,0x65,0x67,0x6d,0x65, +0x6e,0x74,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d, +0x2d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f, +0x6f,0x6b,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x2f,0x4c,0x69,0x73,0x74,0x48,0x65,0x61,0x64,0x65,0x72,0x53, +0x65,0x67,0x6d,0x65,0x6e,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x53,0x69,0x7a,0x69,0x6e,0x67,0x43,0x75,0x72,0x73,0x6f,0x72,0x49,0x6d,0x61, +0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65,0x74,0x3a,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3a,0x4d,0x6f,0x75,0x73,0x65,0x45,0x73,0x57,0x65,0x43,0x75,0x72,0x73,0x6f,0x72, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72, +0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x6f,0x76, +0x69,0x6e,0x67,0x43,0x75,0x72,0x73,0x6f,0x72,0x49,0x6d,0x61,0x67,0x65,0x22,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d,0x61,0x67,0x65,0x3a,0x4d,0x6f,0x75, +0x73,0x65,0x4d,0x6f,0x76,0x65,0x43,0x75,0x72,0x73,0x6f,0x72,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x73, +0x65,0x67,0x6d,0x65,0x6e,0x74,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c, +0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46, +0x44,0x44,0x44,0x44,0x44,0x44,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74, +0x3d,0x22,0x46,0x46,0x44,0x44,0x44,0x44,0x44,0x44,0x22,0x20,0x62,0x6f,0x74,0x74, +0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x44,0x44,0x44,0x44,0x44,0x44, +0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46, +0x46,0x44,0x44,0x44,0x44,0x44,0x44,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73, +0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69, +0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75, +0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44, +0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x48,0x65,0x61,0x64,0x65,0x72,0x42,0x61,0x72,0x53,0x70,0x6c,0x69,0x74,0x74, +0x65,0x72,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73, +0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d, +0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74, +0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x48,0x65,0x61, +0x64,0x65,0x72,0x42,0x61,0x72,0x42,0x61,0x63,0x6b,0x64,0x72,0x6f,0x70,0x4e,0x6f, +0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f, +0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74, +0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f, +0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74, +0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f, +0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x73,0x65,0x67,0x6d,0x65,0x6e,0x74,0x5f,0x68,0x6f,0x76,0x65,0x72,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45, +0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f, +0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x48,0x65,0x61,0x64,0x65,0x72,0x42,0x61,0x72,0x53, +0x70,0x6c,0x69,0x74,0x74,0x65,0x72,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x64, +0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x48,0x65,0x61,0x64,0x65,0x72,0x42,0x61,0x72,0x42,0x61,0x63,0x6b,0x64, +0x72,0x6f,0x70,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65, +0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53, +0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f, +0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53, +0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x73,0x70,0x6c,0x69,0x74,0x74,0x65,0x72,0x5f,0x6e,0x6f, +0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f, +0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74, +0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65, +0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57, +0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x48,0x65,0x61,0x64,0x65,0x72,0x42,0x61,0x72,0x53,0x70, +0x6c,0x69,0x74,0x74,0x65,0x72,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65, +0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x73,0x70,0x6c,0x69, +0x74,0x74,0x65,0x72,0x5f,0x68,0x6f,0x76,0x65,0x72,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62, +0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20, +0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x48,0x65,0x61,0x64,0x65, +0x72,0x42,0x61,0x72,0x53,0x70,0x6c,0x69,0x74,0x74,0x65,0x72,0x48,0x6f,0x76,0x65, +0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61, +0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65, +0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61, +0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x41,0x6c,0x69, +0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f, +0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x61,0x73,0x63,0x65,0x6e,0x64,0x5f,0x69,0x63,0x6f,0x6e,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x33,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f, +0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74, +0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x33,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x48,0x65,0x61,0x64,0x65,0x72,0x42,0x61,0x72, +0x53,0x6f,0x72,0x74,0x55,0x70,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f, +0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x48,0x65,0x61,0x64,0x65,0x72,0x42,0x61,0x72,0x53,0x6f,0x72,0x74, +0x55,0x70,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x48,0x65,0x61, +0x64,0x65,0x72,0x42,0x61,0x72,0x53,0x6f,0x72,0x74,0x55,0x70,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x64,0x65,0x73,0x63,0x65,0x6e,0x64, +0x5f,0x69,0x63,0x6f,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70, +0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74, +0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x33,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x33,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69, +0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22, +0x48,0x65,0x61,0x64,0x65,0x72,0x42,0x61,0x72,0x53,0x6f,0x72,0x74,0x44,0x6f,0x77, +0x6e,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69, +0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x48,0x65, +0x61,0x64,0x65,0x72,0x42,0x61,0x72,0x53,0x6f,0x72,0x74,0x44,0x6f,0x77,0x6e,0x22, +0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67, +0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67, +0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x48,0x65,0x61,0x64,0x65,0x72, +0x42,0x61,0x72,0x53,0x6f,0x72,0x74,0x44,0x6f,0x77,0x6e,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x54,0x65,0x78, +0x74,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x48,0x65, +0x61,0x64,0x65,0x72,0x42,0x61,0x72,0x53,0x6f,0x72,0x74,0x55,0x70,0x22,0x20,0x64, +0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x41, +0x64,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69, +0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x35,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d, +0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76, +0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67, +0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46, +0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x43,0x65,0x6e,0x74, +0x72,0x65,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x54,0x65,0x78,0x74, +0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74, +0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22, +0x73,0x65,0x67,0x6d,0x65,0x6e,0x74,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3d,0x22,0x73,0x70,0x6c,0x69,0x74,0x74,0x65,0x72,0x5f,0x6e,0x6f, +0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f, +0x76,0x65,0x72,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x73,0x65,0x67,0x6d, +0x65,0x6e,0x74,0x5f,0x68,0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22, +0x73,0x70,0x6c,0x69,0x74,0x74,0x65,0x72,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61, +0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53, +0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x70,0x6c,0x69,0x74,0x74,0x65, +0x72,0x48,0x6f,0x76,0x65,0x72,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x73, +0x65,0x67,0x6d,0x65,0x6e,0x74,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3d,0x22,0x73,0x70,0x6c,0x69,0x74,0x74,0x65,0x72,0x5f,0x68,0x6f,0x76, +0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20, +0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x72,0x61,0x67, +0x47,0x68,0x6f,0x73,0x74,0x22,0x20,0x63,0x6c,0x69,0x70,0x70,0x65,0x64,0x3d,0x22, +0x66,0x61,0x6c,0x73,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x20,0x70,0x72,0x69,0x6f, +0x72,0x69,0x74,0x79,0x3d,0x22,0x31,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x73,0x65,0x67, +0x6d,0x65,0x6e,0x74,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65, +0x66,0x74,0x3d,0x22,0x39,0x30,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x74,0x6f, +0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x39,0x30,0x46,0x46,0x46,0x46,0x46,0x46, +0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x39,0x30, +0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69, +0x67,0x68,0x74,0x3d,0x22,0x39,0x30,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x73, +0x70,0x6c,0x69,0x74,0x74,0x65,0x72,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f, +0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x39,0x30,0x46,0x46,0x46,0x46,0x46,0x46,0x22, +0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x39,0x30,0x46,0x46,0x46, +0x46,0x46,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d, +0x22,0x39,0x30,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f, +0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x39,0x30,0x46,0x46,0x46,0x46,0x46,0x46, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43, +0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22, +0x39,0x30,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67, +0x68,0x74,0x3d,0x22,0x39,0x30,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x62,0x6f, +0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x39,0x30,0x46,0x46,0x46,0x46, +0x46,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d, +0x22,0x39,0x30,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x41,0x73,0x63,0x65,0x6e,0x64,0x69,0x6e,0x67,0x53,0x6f,0x72,0x74,0x49, +0x63,0x6f,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x61,0x73,0x63,0x65, +0x6e,0x64,0x5f,0x69,0x63,0x6f,0x6e,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x44,0x65,0x73,0x63,0x65,0x6e,0x64,0x69,0x6e,0x67,0x53, +0x6f,0x72,0x74,0x49,0x63,0x6f,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22, +0x64,0x65,0x73,0x63,0x65,0x6e,0x64,0x5f,0x69,0x63,0x6f,0x6e,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c, +0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x47,0x68,0x6f,0x73,0x74,0x41, +0x73,0x63,0x65,0x6e,0x64,0x69,0x6e,0x67,0x53,0x6f,0x72,0x74,0x49,0x63,0x6f,0x6e, +0x22,0x20,0x63,0x6c,0x69,0x70,0x70,0x65,0x64,0x3d,0x22,0x66,0x61,0x6c,0x73,0x65, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x4c,0x61,0x79,0x65,0x72,0x20,0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79,0x3d,0x22, +0x31,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x61,0x73,0x63,0x65,0x6e,0x64,0x5f,0x69,0x63, +0x6f,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72, +0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x39,0x30,0x46,0x46,0x46, +0x46,0x46,0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x39, +0x30,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c, +0x65,0x66,0x74,0x3d,0x22,0x39,0x30,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x62, +0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x39,0x30,0x46,0x46, +0x46,0x46,0x46,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x47,0x68,0x6f, +0x73,0x74,0x44,0x65,0x73,0x63,0x65,0x6e,0x64,0x69,0x6e,0x67,0x53,0x6f,0x72,0x74, +0x49,0x63,0x6f,0x6e,0x22,0x20,0x63,0x6c,0x69,0x70,0x70,0x65,0x64,0x3d,0x22,0x66, +0x61,0x6c,0x73,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x20,0x70,0x72,0x69,0x6f,0x72,0x69, +0x74,0x79,0x3d,0x22,0x31,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x64,0x65,0x73,0x63,0x65, +0x6e,0x64,0x5f,0x69,0x63,0x6f,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43, +0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22, +0x39,0x30,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67, +0x68,0x74,0x3d,0x22,0x39,0x30,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x62,0x6f, +0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x39,0x30,0x46,0x46,0x46,0x46, +0x46,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d, +0x22,0x39,0x30,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3d,0x22,0x73,0x65,0x67,0x6d,0x65,0x6e,0x74,0x5f,0x6e,0x6f,0x72,0x6d,0x61, +0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73, +0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46, +0x37,0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46, +0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65, +0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f, +0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37, +0x46,0x37,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3d,0x22,0x73,0x70,0x6c,0x69,0x74,0x74,0x65,0x72,0x5f,0x6e,0x6f, +0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f, +0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37, +0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d, +0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f, +0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22, +0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46, +0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70, +0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20, +0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46, +0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22, +0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d, +0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74, +0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20, +0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x2f,0x4c,0x69,0x73,0x74,0x48,0x65,0x61,0x64,0x65,0x72,0x0a,0x20, +0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x2f,0x4c,0x69,0x73,0x74,0x48,0x65,0x61,0x64,0x65,0x72,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x65,0x67,0x6d,0x65,0x6e,0x74,0x57,0x69,0x64, +0x67,0x65,0x74,0x54,0x79,0x70,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x4c,0x69,0x73,0x74, +0x48,0x65,0x61,0x64,0x65,0x72,0x53,0x65,0x67,0x6d,0x65,0x6e,0x74,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e, +0x61,0x62,0x6c,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x4c, +0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d,0x0a,0x20, +0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x4d,0x75,0x6c,0x74,0x69, +0x43,0x6f,0x6c,0x75,0x6d,0x6e,0x4c,0x69,0x73,0x74,0x0a,0x20,0x20,0x20,0x20,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c, +0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x4d,0x75,0x6c, +0x74,0x69,0x43,0x6f,0x6c,0x75,0x6d,0x6e,0x4c,0x69,0x73,0x74,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65, +0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x49,0x74,0x65,0x6d,0x52,0x65,0x6e,0x64, +0x65,0x72,0x69,0x6e,0x67,0x41,0x72,0x65,0x61,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x75,0x6c, +0x74,0x69,0x4c,0x69,0x73,0x74,0x4c,0x65,0x66,0x74,0x22,0x20,0x64,0x69,0x6d,0x65, +0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x57,0x69,0x64, +0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f, +0x5f,0x61,0x75,0x74,0x6f,0x5f,0x6c,0x69,0x73,0x74,0x68,0x65,0x61,0x64,0x65,0x72, +0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x42, +0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52, +0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68, +0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d, +0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69, +0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22, +0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x73,0x74,0x52,0x69,0x67,0x68,0x74,0x22,0x20, +0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63, +0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f, +0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20, +0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x73,0x74,0x42,0x6f,0x74,0x74, +0x6f,0x6d,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65, +0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x49,0x74,0x65,0x6d, +0x52,0x65,0x6e,0x64,0x65,0x72,0x69,0x6e,0x67,0x41,0x72,0x65,0x61,0x48,0x53,0x63, +0x72,0x6f,0x6c,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x73, +0x74,0x4c,0x65,0x66,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e, +0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70, +0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69, +0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f, +0x5f,0x6c,0x69,0x73,0x74,0x68,0x65,0x61,0x64,0x65,0x72,0x5f,0x5f,0x22,0x20,0x64, +0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d, +0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f, +0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74, +0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69, +0x4c,0x69,0x73,0x74,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e, +0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65, +0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45, +0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53, +0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d, +0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f, +0x68,0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x20,0x64,0x69, +0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69, +0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x49,0x74,0x65,0x6d,0x52,0x65,0x6e,0x64,0x65,0x72, +0x69,0x6e,0x67,0x41,0x72,0x65,0x61,0x56,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c, +0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x73,0x74,0x4c,0x65,0x66,0x74,0x22, +0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74, +0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67, +0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x6c,0x69,0x73,0x74,0x68, +0x65,0x61,0x64,0x65,0x72,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69, +0x6f,0x6e,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f, +0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69, +0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22, +0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x76,0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61, +0x72,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72, +0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63, +0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x73, +0x74,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69, +0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72, +0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d, +0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x49,0x74,0x65,0x6d,0x52,0x65,0x6e,0x64,0x65,0x72,0x69,0x6e,0x67,0x41,0x72, +0x65,0x61,0x48,0x56,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x75, +0x6c,0x74,0x69,0x4c,0x69,0x73,0x74,0x4c,0x65,0x66,0x74,0x22,0x20,0x64,0x69,0x6d, +0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x57,0x69, +0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22, +0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x6c,0x69,0x73,0x74,0x68,0x65,0x61,0x64,0x65, +0x72,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22, +0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67, +0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70, +0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74, +0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75, +0x74,0x6f,0x5f,0x76,0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22, +0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74, +0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42, +0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72, +0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64, +0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f, +0x5f,0x61,0x75,0x74,0x6f,0x5f,0x68,0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72, +0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69,0x6c, +0x64,0x20,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x2f,0x4c,0x69,0x73,0x74,0x48,0x65,0x61,0x64,0x65,0x72,0x22, +0x20,0x6e,0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d,0x22,0x5f,0x5f,0x61, +0x75,0x74,0x6f,0x5f,0x6c,0x69,0x73,0x74,0x68,0x65,0x61,0x64,0x65,0x72,0x5f,0x5f, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73, +0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x32,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x32,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x6f,0x66, +0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x32,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x6f, +0x6e,0x74,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x69,0x6e,0x65, +0x53,0x70,0x61,0x63,0x69,0x6e,0x67,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f, +0x70,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x70,0x6c,0x79,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x31,0x2e, +0x35,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x46,0x6f,0x6e,0x74,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x43,0x68,0x69,0x6c,0x64,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x43,0x68,0x69,0x6c,0x64,0x20,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x48,0x6f,0x72,0x69,0x7a,0x6f, +0x6e,0x74,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x22,0x20,0x6e, +0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74, +0x6f,0x5f,0x68,0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c, +0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63, +0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22, +0x2d,0x31,0x32,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c, +0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x31,0x32,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x56,0x65,0x72,0x74,0x41,0x6c,0x69,0x67,0x6e,0x6d,0x65,0x6e,0x74,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x41,0x6c,0x69,0x67,0x6e, +0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x43,0x68,0x69,0x6c,0x64,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x43,0x68,0x69,0x6c,0x64,0x20,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x56,0x65,0x72,0x74,0x69,0x63, +0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x22,0x20,0x6e,0x61,0x6d, +0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f, +0x76,0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74, +0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x57,0x69, +0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22, +0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x6c,0x69,0x73,0x74,0x68,0x65,0x61,0x64,0x65, +0x72,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22, +0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74, +0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x31,0x32,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d, +0x31,0x32,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d, +0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x48,0x6f,0x72,0x7a,0x41,0x6c,0x69,0x67,0x6e,0x6d,0x65,0x6e,0x74,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43, +0x68,0x69,0x6c,0x64,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d, +0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65, +0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75, +0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76, +0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54, +0x6f,0x70,0x4c,0x65,0x66,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74, +0x69,0x4c,0x69,0x73,0x74,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f, +0x70,0x52,0x69,0x67,0x68,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74, +0x69,0x4c,0x69,0x73,0x74,0x54,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42, +0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d, +0x75,0x6c,0x74,0x69,0x4c,0x69,0x73,0x74,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65, +0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x43, +0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x73,0x74,0x42,0x6f, +0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x73,0x74,0x4c,0x65,0x66,0x74, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69, +0x4c,0x69,0x73,0x74,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64, +0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x73,0x74,0x54,0x6f,0x70,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c, +0x69,0x73,0x74,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67, +0x72,0x6f,0x75,0x6e,0x64,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x73,0x74,0x42,0x61, +0x63,0x6b,0x64,0x72,0x6f,0x70,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f, +0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74, +0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45, +0x6e,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6d, +0x61,0x69,0x6e,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74, +0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f, +0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46, +0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68, +0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74, +0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37, +0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22, +0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65, +0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d, +0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x4d,0x75,0x6c, +0x74,0x69,0x4c,0x69,0x6e,0x65,0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x0a,0x20,0x20, +0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f, +0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65,0x45,0x64,0x69,0x74,0x62,0x6f,0x78, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70, +0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x54,0x65,0x78,0x74,0x43, +0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x72, +0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72, +0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69, +0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x65,0x6c,0x65,0x63,0x74,0x65, +0x64,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69, +0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x30,0x30,0x30, +0x30,0x30,0x30,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69, +0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65, +0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x41, +0x63,0x74,0x69,0x76,0x65,0x53,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e,0x43,0x6f, +0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x46,0x46,0x36,0x30,0x37,0x46,0x46,0x46,0x22,0x20,0x72,0x65, +0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75, +0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50, +0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f, +0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x49,0x6e,0x61,0x63,0x74,0x69,0x76,0x65, +0x53,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22, +0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46, +0x46,0x38,0x30,0x38,0x30,0x38,0x30,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f, +0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72, +0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4d,0x6f,0x75,0x73,0x65,0x43,0x75, +0x72,0x73,0x6f,0x72,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65, +0x3d,0x22,0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x20,0x69,0x6d,0x61,0x67,0x65,0x3a,0x4d,0x6f,0x75,0x73,0x65,0x54,0x65,0x78, +0x74,0x42,0x61,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x53,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e,0x42,0x72,0x75,0x73,0x68,0x49, +0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65,0x74, +0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3a,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65,0x45,0x64,0x69,0x74, +0x62,0x6f,0x78,0x53,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e,0x42,0x72,0x75,0x73, +0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e, +0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54, +0x65,0x78,0x74,0x41,0x72,0x65,0x61,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69, +0x4c,0x69,0x6e,0x65,0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x4c,0x65,0x66,0x74,0x22, +0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74, +0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69, +0x6e,0x65,0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x54,0x6f,0x70,0x22,0x20,0x64,0x69, +0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69, +0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74, +0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65,0x45, +0x64,0x69,0x74,0x62,0x6f,0x78,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x64,0x69,0x6d, +0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f, +0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74, +0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d, +0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69, +0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22, +0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65,0x45,0x64,0x69,0x74,0x62,0x6f,0x78, +0x42,0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f, +0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61, +0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65, +0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x54,0x65,0x78,0x74,0x41,0x72,0x65,0x61,0x48,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65,0x45,0x64,0x69,0x74, +0x62,0x6f,0x78,0x4c,0x65,0x66,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69, +0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54, +0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44, +0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65,0x45,0x64,0x69,0x74,0x62,0x6f, +0x78,0x54,0x6f,0x70,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d, +0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67, +0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45, +0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53, +0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x75, +0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65,0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x52,0x69, +0x67,0x68,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72, +0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63, +0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65, +0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x68,0x73,0x63,0x72,0x6f,0x6c, +0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f, +0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61, +0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65, +0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x54,0x65,0x78,0x74,0x41,0x72,0x65,0x61,0x56,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65,0x45,0x64,0x69,0x74, +0x62,0x6f,0x78,0x4c,0x65,0x66,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69, +0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54, +0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44, +0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65,0x45,0x64,0x69,0x74,0x62,0x6f, +0x78,0x54,0x6f,0x70,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d, +0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67, +0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45, +0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53, +0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d, +0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f, +0x76,0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x20,0x64,0x69, +0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d, +0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f, +0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74, +0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70, +0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44, +0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65,0x45,0x64,0x69,0x74,0x62,0x6f, +0x78,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69, +0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72, +0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d, +0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x54,0x65,0x78,0x74,0x41,0x72,0x65,0x61,0x48,0x56,0x53,0x63,0x72,0x6f,0x6c, +0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65,0x45,0x64, +0x69,0x74,0x62,0x6f,0x78,0x4c,0x65,0x66,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e, +0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65,0x45,0x64,0x69,0x74, +0x62,0x6f,0x78,0x54,0x6f,0x70,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f, +0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52, +0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68, +0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d, +0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44, +0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74, +0x6f,0x5f,0x76,0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x20, +0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63, +0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f, +0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20, +0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67, +0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f, +0x61,0x75,0x74,0x6f,0x5f,0x68,0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f, +0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65, +0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69,0x6c,0x64, +0x20,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x2f,0x48,0x6f,0x72,0x69,0x7a,0x6f,0x6e,0x74,0x61,0x6c,0x53,0x63, +0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53,0x75,0x66, +0x66,0x69,0x78,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x68,0x73,0x63,0x72, +0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d, +0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54, +0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75, +0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31, +0x22,0x20,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x31,0x32,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75, +0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x31,0x32,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x41, +0x6c,0x69,0x67,0x6e,0x6d,0x65,0x6e,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42, +0x6f,0x74,0x74,0x6f,0x6d,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68,0x69,0x6c,0x64, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69,0x6c,0x64, +0x20,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x2f,0x56,0x65,0x72,0x74,0x69,0x63,0x61,0x6c,0x53,0x63,0x72,0x6f, +0x6c,0x6c,0x62,0x61,0x72,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69, +0x78,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x76,0x73,0x63,0x72,0x6f,0x6c, +0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76, +0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70, +0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65, +0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x31,0x32, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x31,0x32, +0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x41,0x6c, +0x69,0x67,0x6e,0x6d,0x65,0x6e,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69, +0x67,0x68,0x74,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68,0x69,0x6c,0x64,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x6d,0x61, +0x69,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73, +0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57, +0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65, +0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74, +0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65,0x45, +0x64,0x69,0x74,0x62,0x6f,0x78,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54, +0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x75,0x6c, +0x74,0x69,0x4c,0x69,0x6e,0x65,0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x54,0x6f,0x70, +0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66, +0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65, +0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66, +0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x43,0x6f, +0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65,0x45,0x64,0x69, +0x74,0x62,0x6f,0x78,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69, +0x6e,0x65,0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52, +0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x6e, +0x65,0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54, +0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65,0x45, +0x64,0x69,0x74,0x62,0x6f,0x78,0x54,0x6f,0x70,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65,0x45,0x64, +0x69,0x74,0x62,0x6f,0x78,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x61,0x63, +0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65, +0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x42,0x61,0x63,0x6b,0x64,0x72,0x6f,0x70,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x43,0x61,0x72,0x61,0x74,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76, +0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67, +0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x45,0x64,0x69,0x74,0x42,0x6f, +0x78,0x43,0x61,0x72,0x61,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f, +0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74, +0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x45, +0x64,0x69,0x74,0x42,0x6f,0x78,0x43,0x61,0x72,0x61,0x74,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74, +0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20, +0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62, +0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6d,0x61,0x69,0x6e, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20, +0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37, +0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37, +0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66, +0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74, +0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46, +0x37,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e, +0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x6f,0x6f,0x6c,0x74,0x69,0x70,0x0a,0x20, +0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x2f,0x54,0x6f,0x6f,0x6c,0x74,0x69,0x70,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x54,0x65,0x78,0x74,0x41,0x72,0x65,0x61,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69, +0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22, +0x54,0x6f,0x6f,0x6c,0x74,0x69,0x70,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22, +0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74, +0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x6f,0x6f,0x6c,0x74,0x69,0x70, +0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69, +0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67, +0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70, +0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44, +0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x54,0x6f,0x6f,0x6c,0x74,0x69,0x70,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67, +0x65,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69, +0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74, +0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x6f,0x6f,0x6c,0x74,0x69,0x70,0x42,0x6f,0x74, +0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69, +0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72, +0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d, +0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61,0x6d,0x65,0x43, +0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d, +0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x6f, +0x6f,0x6c,0x74,0x69,0x70,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f, +0x70,0x52,0x69,0x67,0x68,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x6f,0x6f,0x6c, +0x74,0x69,0x70,0x54,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74, +0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x6f,0x6f, +0x6c,0x74,0x69,0x70,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x43,0x6f,0x72,0x6e,0x65, +0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x54,0x6f,0x6f,0x6c,0x74,0x69,0x70,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x6f,0x6f, +0x6c,0x74,0x69,0x70,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69, +0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x6f,0x6f,0x6c,0x74,0x69,0x70,0x52,0x69, +0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22, +0x54,0x6f,0x6f,0x6c,0x74,0x69,0x70,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x6f,0x6f,0x6c,0x74,0x69, +0x70,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x61,0x63, +0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x6f,0x6f,0x6c,0x74,0x69,0x70,0x4d,0x69, +0x64,0x64,0x6c,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70, +0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x6c, +0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x54,0x65,0x78,0x74,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e, +0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d, +0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x6f,0x6f,0x6c, +0x74,0x69,0x70,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x64,0x69,0x6d, +0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x6f,0x6f,0x6c,0x74,0x69,0x70, +0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69, +0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75, +0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44, +0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x54,0x6f,0x6f,0x6c,0x74,0x69,0x70,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67, +0x65,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69, +0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53, +0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x54,0x6f,0x6f,0x6c,0x74,0x69,0x70,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45, +0x64,0x67,0x65,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22, +0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72, +0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d, +0x22,0x46,0x46,0x30,0x30,0x30,0x30,0x30,0x30,0x22,0x20,0x74,0x6f,0x70,0x52,0x69, +0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x30,0x30,0x30,0x30,0x30,0x30,0x22,0x20,0x62, +0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x30,0x30,0x30, +0x30,0x30,0x30,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74, +0x3d,0x22,0x46,0x46,0x30,0x30,0x30,0x30,0x30,0x30,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x43,0x65,0x6e,0x74,0x72,0x65,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x43,0x65,0x6e,0x74,0x72,0x65,0x41,0x6c,0x69,0x67,0x6e, +0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x54,0x65,0x78,0x74,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65, +0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65, +0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74, +0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20, +0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61, +0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20, +0x20,0x20,0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x2f,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x61,0x62,0x6c,0x65,0x50,0x61,0x6e, +0x65,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f, +0x6b,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x2f,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x61,0x62,0x6c,0x65,0x50,0x61, +0x6e,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e,0x61, +0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x69, +0x65,0x77,0x61,0x62,0x6c,0x65,0x41,0x72,0x65,0x61,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63, +0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42, +0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31, +0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d, +0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d, +0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x56,0x69,0x65,0x77,0x61,0x62,0x6c,0x65,0x41,0x72,0x65,0x61,0x48,0x53,0x63, +0x72,0x6f,0x6c,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69, +0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31, +0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67, +0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62, +0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77, +0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x68,0x73, +0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65, +0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f, +0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x56,0x69,0x65,0x77,0x61,0x62,0x6c,0x65,0x41,0x72,0x65,0x61, +0x56,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f, +0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74, +0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20, +0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72, +0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64, +0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f, +0x5f,0x61,0x75,0x74,0x6f,0x5f,0x76,0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72, +0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57, +0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42, +0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x69,0x65,0x77,0x61,0x62,0x6c,0x65,0x41,0x72, +0x65,0x61,0x48,0x56,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61, +0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74, +0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x76,0x73,0x63,0x72,0x6f,0x6c,0x6c, +0x62,0x61,0x72,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e, +0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72, +0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64, +0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x68,0x73,0x63,0x72, +0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73, +0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65, +0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61, +0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x43,0x68,0x69,0x6c,0x64,0x20,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x48,0x6f,0x72,0x69,0x7a, +0x6f,0x6e,0x74,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x22,0x20, +0x6e,0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d,0x22,0x5f,0x5f,0x61,0x75, +0x74,0x6f,0x5f,0x68,0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d, +0x22,0x2d,0x31,0x32,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74, +0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e, +0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x31,0x32,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x56,0x65,0x72,0x74,0x41,0x6c,0x69,0x67,0x6e,0x6d,0x65,0x6e,0x74,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x41,0x6c,0x69,0x67, +0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x43,0x68,0x69,0x6c,0x64,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x43,0x68,0x69,0x6c,0x64,0x20,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x56,0x65,0x72,0x74,0x69, +0x63,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x22,0x20,0x6e,0x61, +0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f, +0x5f,0x76,0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65, +0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75, +0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41, +0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65, +0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20, +0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x31,0x32,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69, +0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x6f,0x66,0x66,0x73, +0x65,0x74,0x3d,0x22,0x2d,0x31,0x32,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x48,0x6f,0x72,0x7a,0x41,0x6c,0x69,0x67,0x6e,0x6d,0x65,0x6e,0x74,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x41,0x6c,0x69,0x67,0x6e,0x65, +0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x43,0x68,0x69,0x6c,0x64,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62, +0x6c,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69, +0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c, +0x21,0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f, +0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x57, +0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x61,0x62,0x42, +0x75,0x74,0x74,0x6f,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74, +0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c, +0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74, +0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x43,0x30,0x43,0x30, +0x43,0x30,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74, +0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66, +0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f, +0x76,0x65,0x72,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x69, +0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x45, +0x30,0x45,0x30,0x45,0x30,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57, +0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79, +0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x50,0x75,0x73,0x68,0x65,0x64,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75, +0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x72,0x65,0x64,0x72,0x61, +0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70, +0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x53,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x54,0x65,0x78, +0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c, +0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x45,0x30,0x45,0x30,0x45,0x30,0x22, +0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22, +0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69, +0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62, +0x6c,0x65,0x64,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x69, +0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x37, +0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57, +0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x6c,0x61,0x62, +0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x54,0x65,0x78,0x74,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76, +0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63, +0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69, +0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69, +0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74, +0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x43,0x65,0x6e, +0x74,0x72,0x65,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x43,0x65,0x6e,0x74,0x72,0x65,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x54,0x65,0x78,0x74,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x74,0x6f,0x70,0x5f,0x6e,0x6f,0x72,0x6d, +0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73, +0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57, +0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65, +0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74, +0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x55, +0x70,0x70,0x65,0x72,0x4c,0x65,0x66,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x54,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61, +0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x55,0x70,0x70,0x65,0x72,0x52,0x69,0x67,0x68, +0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c, +0x65,0x66,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74, +0x6f,0x6e,0x4c,0x6f,0x77,0x65,0x72,0x4c,0x65,0x66,0x74,0x4e,0x6f,0x72,0x6d,0x61, +0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x43,0x6f, +0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4c,0x6f,0x77, +0x65,0x72,0x52,0x69,0x67,0x68,0x74,0x32,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f, +0x6e,0x4c,0x65,0x66,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67, +0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x52, +0x69,0x67,0x68,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45, +0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x55,0x70,0x70,0x65, +0x72,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45, +0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4c,0x6f,0x77,0x65, +0x72,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f, +0x75,0x6e,0x64,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4d,0x69,0x64,0x64, +0x6c,0x65,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x46,0x72,0x61,0x6d,0x65, +0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x62,0x6f,0x74,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61, +0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41, +0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65, +0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70, +0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65, +0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22, +0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63, +0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65, +0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x43,0x6f,0x72,0x6e,0x65, +0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x55,0x70,0x70,0x65,0x72,0x4c, +0x65,0x66,0x74,0x32,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x52, +0x69,0x67,0x68,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74, +0x74,0x6f,0x6e,0x55,0x70,0x70,0x65,0x72,0x52,0x69,0x67,0x68,0x74,0x4e,0x6f,0x72, +0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x43, +0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4c,0x6f, +0x77,0x65,0x72,0x4c,0x65,0x66,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42, +0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22, +0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4c,0x6f,0x77,0x65,0x72,0x52,0x69, +0x67,0x68,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4c,0x65,0x66,0x74, +0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67, +0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x52,0x69,0x67,0x68,0x74,0x4e, +0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61, +0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x55,0x70,0x70,0x65,0x72,0x4e,0x6f,0x72,0x6d, +0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61, +0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4c,0x6f,0x77,0x65,0x72,0x4e,0x6f,0x72,0x6d, +0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61, +0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4d,0x69,0x64,0x64,0x6c,0x65,0x4e,0x6f,0x72, +0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f, +0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x74,0x6f, +0x70,0x5f,0x68,0x6f,0x76,0x65,0x72,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70, +0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74, +0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31, +0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f, +0x70,0x4c,0x65,0x66,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75, +0x74,0x74,0x6f,0x6e,0x55,0x70,0x70,0x65,0x72,0x4c,0x65,0x66,0x74,0x4e,0x6f,0x72, +0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x43,0x6f,0x72, +0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x55,0x70,0x70,0x65, +0x72,0x52,0x69,0x67,0x68,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f, +0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61, +0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4c,0x6f,0x77,0x65,0x72,0x4c,0x65,0x66,0x74, +0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69, +0x67,0x68,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74, +0x6f,0x6e,0x4c,0x6f,0x77,0x65,0x72,0x52,0x69,0x67,0x68,0x74,0x32,0x4e,0x6f,0x72, +0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62, +0x42,0x75,0x74,0x74,0x6f,0x6e,0x4c,0x65,0x66,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75, +0x74,0x74,0x6f,0x6e,0x52,0x69,0x67,0x68,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f, +0x6e,0x55,0x70,0x70,0x65,0x72,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f, +0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f, +0x6e,0x4c,0x6f,0x77,0x65,0x72,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x61, +0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f, +0x6e,0x4d,0x69,0x64,0x64,0x6c,0x65,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x62,0x6f,0x74,0x5f,0x68,0x6f,0x76,0x65, +0x72,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76, +0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63, +0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69, +0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69, +0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x43, +0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x55,0x70, +0x70,0x65,0x72,0x4c,0x65,0x66,0x74,0x32,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x54,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61, +0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x55,0x70,0x70,0x65,0x72,0x52,0x69,0x67,0x68, +0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c, +0x65,0x66,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74, +0x6f,0x6e,0x4c,0x6f,0x77,0x65,0x72,0x4c,0x65,0x66,0x74,0x4e,0x6f,0x72,0x6d,0x61, +0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x43,0x6f, +0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4c,0x6f,0x77, +0x65,0x72,0x52,0x69,0x67,0x68,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c, +0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e, +0x4c,0x65,0x66,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x52,0x69, +0x67,0x68,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64, +0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x55,0x70,0x70,0x65,0x72, +0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64, +0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4c,0x6f,0x77,0x65,0x72, +0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75, +0x6e,0x64,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4d,0x69,0x64,0x64,0x6c, +0x65,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x46,0x72,0x61,0x6d,0x65,0x43, +0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x74,0x6f,0x70,0x5f,0x73,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x72, +0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f, +0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74, +0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74, +0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x43,0x6f,0x72,0x6e, +0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x55,0x70,0x70,0x65,0x72, +0x4c,0x65,0x66,0x74,0x53,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f, +0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x55,0x70, +0x70,0x65,0x72,0x53,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70, +0x52,0x69,0x67,0x68,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75, +0x74,0x74,0x6f,0x6e,0x55,0x70,0x70,0x65,0x72,0x52,0x69,0x67,0x68,0x74,0x53,0x65, +0x6c,0x65,0x63,0x74,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22, +0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4c,0x65,0x66,0x74,0x53,0x65,0x6c, +0x65,0x63,0x74,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e, +0x64,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4d,0x69,0x64,0x64,0x6c,0x65, +0x53,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x52,0x69,0x67,0x68, +0x74,0x53,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x46,0x72,0x61,0x6d, +0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x62,0x6f,0x74,0x5f,0x73,0x65,0x6c,0x65,0x63,0x74,0x65,0x64, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20, +0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64, +0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67, +0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54, +0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4c,0x65,0x66,0x74,0x53,0x65,0x6c,0x65, +0x63,0x74,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22, +0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4d,0x69,0x64,0x64,0x6c,0x65,0x53, +0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x52,0x69,0x67,0x68,0x74, +0x53,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d, +0x4c,0x65,0x66,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74, +0x74,0x6f,0x6e,0x4c,0x6f,0x77,0x65,0x72,0x4c,0x65,0x66,0x74,0x4e,0x6f,0x72,0x6d, +0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61, +0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4c,0x6f,0x77,0x65,0x72,0x4e,0x6f,0x72,0x6d, +0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x43, +0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x4c,0x6f, +0x77,0x65,0x72,0x52,0x69,0x67,0x68,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x6f,0x70,0x4e,0x6f,0x72,0x6d,0x61,0x6c, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20, +0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x74,0x6f,0x70,0x5f,0x6e,0x6f,0x72, +0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f, +0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d, +0x61,0x6c,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4e,0x6f,0x72,0x6d,0x61, +0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x62,0x6f,0x74,0x5f,0x6e,0x6f, +0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72, +0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72, +0x6d,0x61,0x6c,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74, +0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x6f,0x70,0x48,0x6f,0x76,0x65,0x72,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61, +0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x74,0x6f,0x70,0x5f,0x68,0x6f,0x76,0x65,0x72, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72, +0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x76,0x65,0x72,0x54,0x65, +0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74, +0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x48,0x6f,0x76,0x65,0x72,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3d,0x22,0x62,0x6f,0x74,0x5f,0x68,0x6f,0x76,0x65,0x72,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x76,0x65,0x72,0x54,0x65,0x78,0x74, +0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74, +0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54, +0x6f,0x70,0x53,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3d,0x22,0x74,0x6f,0x70,0x5f,0x73,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74, +0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x65,0x6c,0x65,0x63,0x74,0x65,0x64, +0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x53,0x65,0x6c,0x65,0x63,0x74,0x65, +0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x62,0x6f,0x74,0x5f,0x73,0x65, +0x6c,0x65,0x63,0x74,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62, +0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72, +0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x53, +0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75, +0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c, +0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x6f,0x70,0x50,0x75,0x73, +0x68,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x74,0x6f,0x70,0x5f, +0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62, +0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72, +0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50, +0x75,0x73,0x68,0x65,0x64,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74, +0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x50,0x75, +0x73,0x68,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x62,0x6f,0x74, +0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61, +0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75, +0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x50,0x75,0x73,0x68,0x65,0x64,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61, +0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53, +0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x6f,0x70,0x44,0x69,0x73,0x61, +0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x74,0x6f,0x70, +0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43, +0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22, +0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67, +0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f, +0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46, +0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d, +0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72, +0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73, +0x61,0x62,0x6c,0x65,0x64,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74, +0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x44,0x69, +0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x62, +0x6f,0x74,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74, +0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f,0x70,0x52, +0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20, +0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46, +0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68, +0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62, +0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72, +0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44, +0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75, +0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c, +0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a, +0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x61,0x62,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74, +0x50,0x61,0x6e,0x65,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20, +0x20,0x2d,0x2d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74, +0x4c,0x6f,0x6f,0x6b,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x61,0x62,0x43,0x6f,0x6e,0x74,0x65,0x6e, +0x74,0x50,0x61,0x6e,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74, +0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65, +0x54,0x6f,0x70,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x30,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72, +0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x6c,0x61,0x79,0x6f,0x75, +0x74,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70, +0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x30,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74, +0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x6c,0x61,0x79,0x6f,0x75,0x74,0x4f, +0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x6e, +0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e, +0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69, +0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69, +0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d, +0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54, +0x61,0x62,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x50,0x61,0x6e,0x65,0x55,0x70,0x70, +0x65,0x72,0x4c,0x65,0x66,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f, +0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72, +0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x70,0x6c, +0x79,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x69,0x6d, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x54,0x6f,0x70, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x43,0x6f,0x72,0x6e,0x65, +0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x54,0x61,0x62,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x50,0x61,0x6e,0x65,0x55, +0x70,0x70,0x65,0x72,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67, +0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x54,0x61,0x62,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x50,0x61,0x6e,0x65,0x55, +0x70,0x70,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x43,0x6f, +0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x50,0x61, +0x6e,0x65,0x55,0x70,0x70,0x65,0x72,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x46, +0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61,0x6d, +0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62, +0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x43,0x6f,0x6e,0x74,0x65,0x6e, +0x74,0x50,0x61,0x6e,0x65,0x55,0x70,0x70,0x65,0x72,0x4c,0x65,0x66,0x74,0x22,0x20, +0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d, +0x22,0x4d,0x75,0x6c,0x74,0x69,0x70,0x6c,0x79,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f, +0x70,0x65,0x72,0x74,0x79,0x44,0x69,0x6d,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45, +0x6e,0x61,0x62,0x6c,0x65,0x54,0x6f,0x70,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d, +0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x50,0x61, +0x6e,0x65,0x4c,0x6f,0x77,0x65,0x72,0x4c,0x65,0x66,0x74,0x22,0x20,0x64,0x69,0x6d, +0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f, +0x72,0x20,0x6f,0x70,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x70,0x6c,0x79,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72, +0x74,0x79,0x44,0x69,0x6d,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62, +0x6c,0x65,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65, +0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x50, +0x61,0x6e,0x65,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f, +0x75,0x6e,0x64,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x54,0x61,0x62,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x50,0x61,0x6e, +0x65,0x4d,0x69,0x64,0x64,0x6c,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x54,0x61,0x62,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x50,0x61,0x6e,0x65, +0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d, +0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e, +0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65, +0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61, +0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62, +0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x50,0x61,0x6e,0x65,0x4c,0x6f,0x77,0x65,0x72, +0x4c,0x65,0x66,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d, +0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x4d, +0x75,0x6c,0x74,0x69,0x70,0x6c,0x79,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x69,0x6d,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f, +0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67, +0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x43,0x6f,0x72,0x6e, +0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x54,0x61,0x62,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x50,0x61,0x6e,0x65, +0x4c,0x6f,0x77,0x65,0x72,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x50, +0x61,0x6e,0x65,0x4c,0x6f,0x77,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d, +0x52,0x69,0x67,0x68,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x43,0x6f, +0x6e,0x74,0x65,0x6e,0x74,0x50,0x61,0x6e,0x65,0x4c,0x6f,0x77,0x65,0x72,0x52,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f, +0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62, +0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6e,0x6f,0x72,0x6d, +0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61, +0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d, +0x22,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43, +0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22, +0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67, +0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f, +0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46, +0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d, +0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67, +0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d, +0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x61, +0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x50,0x61,0x6e,0x65,0x0a,0x20,0x20,0x20,0x20, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x61, +0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x50,0x61,0x6e,0x65,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44, +0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x45,0x6e,0x61,0x62,0x6c,0x65,0x54,0x6f,0x70,0x22,0x20,0x69,0x6e,0x69,0x74,0x69, +0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x31,0x22,0x20,0x72,0x65,0x64,0x72, +0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22, +0x20,0x6c,0x61,0x79,0x6f,0x75,0x74,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22, +0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69, +0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c, +0x65,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c, +0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x31,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77, +0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x6c, +0x61,0x79,0x6f,0x75,0x74,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72, +0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61,0x6d,0x65, +0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73, +0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69, +0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31, +0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x48,0x6f,0x72,0x69,0x7a,0x6f,0x6e,0x74, +0x61,0x6c,0x46,0x69,0x6c,0x6c,0x65,0x72,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73, +0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69, +0x70,0x6c,0x79,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44, +0x69,0x6d,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x54, +0x6f,0x70,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67, +0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62, +0x48,0x6f,0x72,0x69,0x7a,0x6f,0x6e,0x74,0x61,0x6c,0x46,0x69,0x6c,0x6c,0x65,0x72, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e, +0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x48,0x6f, +0x72,0x69,0x7a,0x6f,0x6e,0x74,0x61,0x6c,0x46,0x69,0x6c,0x6c,0x65,0x72,0x22,0x20, +0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d, +0x22,0x4d,0x75,0x6c,0x74,0x69,0x70,0x6c,0x79,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f, +0x70,0x65,0x72,0x74,0x79,0x44,0x69,0x6d,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45, +0x6e,0x61,0x62,0x6c,0x65,0x54,0x6f,0x70,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d, +0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x48,0x6f,0x72,0x69,0x7a,0x6f,0x6e,0x74,0x61, +0x6c,0x46,0x69,0x6c,0x6c,0x65,0x72,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69, +0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70, +0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x70,0x6c,0x79,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x69, +0x6d,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x42,0x6f, +0x74,0x74,0x6f,0x6d,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d, +0x61,0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x46,0x72,0x61,0x6d,0x65,0x43, +0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70, +0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74, +0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f, +0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74, +0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d, +0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54, +0x61,0x62,0x48,0x6f,0x72,0x69,0x7a,0x6f,0x6e,0x74,0x61,0x6c,0x46,0x69,0x6c,0x6c, +0x65,0x72,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x4d,0x75,0x6c, +0x74,0x69,0x70,0x6c,0x79,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x69,0x6d,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65, +0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69, +0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69, +0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x48,0x6f,0x72, +0x69,0x7a,0x6f,0x6e,0x74,0x61,0x6c,0x46,0x69,0x6c,0x6c,0x65,0x72,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c, +0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c, +0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6e,0x6f,0x72,0x6d,0x61, +0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73, +0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46, +0x37,0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46, +0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65, +0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f, +0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37, +0x46,0x37,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b, +0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x61,0x62,0x43,0x6f,0x6e,0x74,0x72, +0x6f,0x6c,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d, +0x2d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f, +0x6f,0x6b,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x61,0x62,0x43,0x6f,0x6e,0x74,0x72,0x6f,0x6c,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65, +0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74, +0x74,0x6f,0x6e,0x54,0x79,0x70,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x61,0x62,0x42, +0x75,0x74,0x74,0x6f,0x6e,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x54,0x61,0x62,0x54,0x65,0x78,0x74,0x50,0x61,0x64,0x64,0x69,0x6e,0x67, +0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x7b,0x30,0x2c,0x36,0x7d,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69,0x6c, +0x64,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x2f,0x54,0x61,0x62,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x50,0x61, +0x6e,0x65,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d,0x22, +0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x54,0x61,0x62,0x50,0x61,0x6e,0x65,0x5f,0x5f, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22, +0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64, +0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44, +0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74, +0x6f,0x5f,0x54,0x61,0x62,0x50,0x61,0x6e,0x65,0x5f,0x5f,0x22,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69, +0x70,0x6c,0x79,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x69,0x6d,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x50,0x72, +0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61, +0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x69,0x6d,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x54,0x61,0x62,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61, +0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68,0x69,0x6c, +0x64,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69,0x6c, +0x64,0x20,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x50,0x61, +0x6e,0x65,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d,0x22, +0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x54,0x61,0x62,0x50,0x61,0x6e,0x65,0x5f,0x5f, +0x42,0x75,0x74,0x74,0x6f,0x6e,0x73,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65, +0x22,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76, +0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67, +0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54, +0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72, +0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74, +0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x54,0x61,0x62,0x50,0x61,0x6e,0x65, +0x5f,0x5f,0x42,0x75,0x74,0x74,0x6f,0x6e,0x73,0x22,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x54,0x6f,0x70,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f, +0x72,0x20,0x6f,0x70,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x70,0x6c,0x79,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f, +0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x69,0x6d,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x62,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x3c,0x50, +0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x69,0x6d,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x54,0x61,0x62,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x43,0x68,0x69,0x6c,0x64,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x43,0x68,0x69,0x6c,0x64,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x79,0x73,0x74,0x65,0x6d,0x42, +0x75,0x74,0x74,0x6f,0x6e,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69, +0x78,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x54,0x61,0x62,0x50,0x61,0x6e, +0x65,0x5f,0x5f,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x4c,0x65,0x66,0x74,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65, +0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74, +0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67, +0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x54,0x61,0x62,0x50,0x61, +0x6e,0x65,0x5f,0x5f,0x42,0x75,0x74,0x74,0x6f,0x6e,0x73,0x22,0x20,0x64,0x69,0x6d, +0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64, +0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x54,0x61,0x62,0x50, +0x61,0x6e,0x65,0x5f,0x5f,0x42,0x75,0x74,0x74,0x6f,0x6e,0x73,0x22,0x20,0x64,0x69, +0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69, +0x70,0x6c,0x79,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67, +0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74, +0x74,0x6f,0x6e,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x4c,0x65,0x66,0x74,0x4e,0x6f,0x72, +0x6d,0x61,0x6c,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72, +0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x44,0x69,0x76,0x69,0x64,0x65,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x61, +0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x4c,0x65,0x66, +0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69, +0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67, +0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67, +0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x54,0x61,0x62,0x50,0x61, +0x6e,0x65,0x5f,0x5f,0x42,0x75,0x74,0x74,0x6f,0x6e,0x73,0x22,0x20,0x64,0x69,0x6d, +0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64, +0x67,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50, +0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x41,0x6c, +0x77,0x61,0x79,0x73,0x4f,0x6e,0x54,0x6f,0x70,0x22,0x20,0x76,0x61,0x6c,0x75,0x65, +0x3d,0x22,0x54,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x49,0x6d,0x61, +0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65,0x74,0x3a,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3a,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x53,0x63,0x72,0x6f,0x6c,0x6c, +0x4c,0x65,0x66,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70, +0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x76,0x65,0x72, +0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65, +0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3a,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x53,0x63,0x72, +0x6f,0x6c,0x6c,0x4c,0x65,0x66,0x74,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72, +0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x75,0x73, +0x68,0x65,0x64,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3a,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e, +0x53,0x63,0x72,0x6f,0x6c,0x6c,0x4c,0x65,0x66,0x74,0x48,0x6f,0x76,0x65,0x72,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68, +0x69,0x6c,0x64,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68, +0x69,0x6c,0x64,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x79,0x73,0x74,0x65,0x6d,0x42,0x75,0x74,0x74, +0x6f,0x6e,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d,0x22, +0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x54,0x61,0x62,0x50,0x61,0x6e,0x65,0x5f,0x5f, +0x53,0x63,0x72,0x6f,0x6c,0x6c,0x52,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74, +0x68,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44, +0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74, +0x6f,0x5f,0x54,0x61,0x62,0x50,0x61,0x6e,0x65,0x5f,0x5f,0x42,0x75,0x74,0x74,0x6f, +0x6e,0x73,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d, +0x22,0x4d,0x75,0x6c,0x74,0x69,0x70,0x6c,0x79,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69, +0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22, +0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x52, +0x69,0x67,0x68,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x64,0x69,0x6d,0x65, +0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22, +0x44,0x69,0x76,0x69,0x64,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x53,0x63, +0x72,0x6f,0x6c,0x6c,0x52,0x69,0x67,0x68,0x74,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22, +0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67, +0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72, +0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61, +0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65, +0x74,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20, +0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67, +0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f, +0x61,0x75,0x74,0x6f,0x5f,0x54,0x61,0x62,0x50,0x61,0x6e,0x65,0x5f,0x5f,0x53,0x63, +0x72,0x6f,0x6c,0x6c,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e, +0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65, +0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64, +0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74, +0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75, +0x74,0x6f,0x5f,0x54,0x61,0x62,0x50,0x61,0x6e,0x65,0x5f,0x5f,0x42,0x75,0x74,0x74, +0x6f,0x6e,0x73,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22, +0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65, +0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67, +0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f, +0x61,0x75,0x74,0x6f,0x5f,0x54,0x61,0x62,0x50,0x61,0x6e,0x65,0x5f,0x5f,0x42,0x75, +0x74,0x74,0x6f,0x6e,0x73,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e, +0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x41,0x6c,0x77,0x61,0x79,0x73,0x4f,0x6e,0x54,0x6f,0x70,0x22, +0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x54,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72, +0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72, +0x6d,0x61,0x6c,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3a,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e, +0x53,0x63,0x72,0x6f,0x6c,0x6c,0x52,0x69,0x67,0x68,0x74,0x4e,0x6f,0x72,0x6d,0x61, +0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x48,0x6f,0x76,0x65,0x72,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d,0x61,0x67,0x65,0x3a,0x54,0x61,0x62,0x42,0x75, +0x74,0x74,0x6f,0x6e,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x52,0x69,0x67,0x68,0x74,0x48, +0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x50,0x75,0x73,0x68,0x65,0x64,0x49,0x6d,0x61,0x67,0x65, +0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65,0x74,0x3a,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d,0x61,0x67,0x65,0x3a,0x54, +0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x52,0x69, +0x67,0x68,0x74,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68,0x69,0x6c,0x64,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65, +0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e, +0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x4d,0x65,0x6e,0x75,0x49,0x74,0x65,0x6d,0x0a, +0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x2f,0x4d,0x65,0x6e,0x75,0x49,0x74,0x65,0x6d,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65, +0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e, +0x6f,0x72,0x6d,0x61,0x6c,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22, +0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46, +0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f, +0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72, +0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x54,0x65,0x78,0x74,0x43, +0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x72, +0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72, +0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69, +0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x76,0x65,0x72,0x43,0x6f, +0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x72,0x65, +0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75, +0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50, +0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f, +0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x75,0x73,0x68,0x65,0x64,0x43,0x6f, +0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x72,0x65, +0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75, +0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50, +0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f, +0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4f,0x70,0x65,0x6e,0x65,0x64,0x43,0x6f, +0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x72,0x65, +0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75, +0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50, +0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x57,0x61, +0x6e,0x74,0x73,0x4d,0x75,0x6c,0x74,0x69,0x43,0x6c,0x69,0x63,0x6b,0x45,0x76,0x65, +0x6e,0x74,0x73,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x61,0x6c,0x73, +0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e, +0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x43, +0x6f,0x6e,0x74,0x65,0x6e,0x74,0x53,0x69,0x7a,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45, +0x64,0x67,0x65,0x22,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69, +0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75, +0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x46,0x6f,0x6e,0x74,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48, +0x6f,0x72,0x7a,0x45,0x78,0x74,0x65,0x6e,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72, +0x20,0x6f,0x70,0x3d,0x22,0x41,0x64,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d, +0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d, +0x65,0x6e,0x75,0x4c,0x65,0x66,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69, +0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x41,0x64,0x64, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d, +0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d, +0x65,0x6e,0x75,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73, +0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67, +0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x46,0x6f,0x6e,0x74,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65, +0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x6f,0x6e,0x74, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x69,0x6e,0x65,0x53,0x70, +0x61,0x63,0x69,0x6e,0x67,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d, +0x22,0x41,0x64,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x65,0x6e,0x75,0x54, +0x6f,0x70,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72, +0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x41,0x64,0x64,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x65,0x6e,0x75,0x42, +0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e, +0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69, +0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x46,0x6f,0x6e,0x74,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e, +0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x48,0x61,0x73,0x50,0x6f,0x70,0x75,0x70,0x43,0x6f,0x6e,0x74,0x65, +0x6e,0x74,0x53,0x69,0x7a,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22, +0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45, +0x64,0x67,0x65,0x22,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69, +0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x6f,0x6e, +0x74,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x6f,0x72,0x7a,0x45, +0x78,0x74,0x65,0x6e,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d, +0x22,0x41,0x64,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x65,0x6e,0x75,0x4c, +0x65,0x66,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72, +0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x41,0x64,0x64,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x65,0x6e,0x75,0x52, +0x69,0x67,0x68,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d, +0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70, +0x3d,0x22,0x41,0x64,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d, +0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x50,0x6f,0x70,0x75, +0x70,0x4d,0x65,0x6e,0x75,0x41,0x72,0x72,0x6f,0x77,0x4c,0x65,0x66,0x74,0x22,0x20, +0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20, +0x6f,0x70,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x70,0x6c,0x79,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x33,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69, +0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d, +0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f, +0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x46, +0x6f,0x6e,0x74,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x6f,0x6e,0x74,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x69,0x6e,0x65,0x53,0x70,0x61,0x63,0x69,0x6e, +0x67,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x41,0x64,0x64, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x65,0x6e,0x75,0x54,0x6f,0x70,0x22,0x20, +0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72, +0x20,0x6f,0x70,0x3d,0x22,0x41,0x64,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x65,0x6e,0x75,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65, +0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65, +0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x46,0x6f,0x6e, +0x74,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x54,0x65,0x78,0x74,0x43,0x6f,0x6d, +0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65, +0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44, +0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x4d,0x65,0x6e,0x75,0x4c,0x65,0x66,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e, +0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x65,0x6e,0x75,0x54,0x6f,0x70,0x22,0x20, +0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74, +0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68, +0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72, +0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x65,0x6e,0x75,0x52,0x69,0x67,0x68, +0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69, +0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53, +0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x4d,0x65,0x6e,0x75,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20,0x64,0x69, +0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72, +0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x43,0x65,0x6e,0x74,0x72,0x65, +0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72, +0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65, +0x66,0x74,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x54,0x65,0x78,0x74, +0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x66,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d, +0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65, +0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75, +0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76, +0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54, +0x6f,0x70,0x4c,0x65,0x66,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x65,0x6e,0x75, +0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x52,0x69,0x67,0x68, +0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x65,0x6e,0x75,0x54,0x6f,0x70,0x52,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x43, +0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x4d,0x65,0x6e,0x75,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c, +0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74, +0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x65,0x6e,0x75,0x42,0x6f,0x74,0x74,0x6f,0x6d, +0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d, +0x65,0x6e,0x75,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x4d,0x65,0x6e,0x75,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70, +0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x4d,0x65,0x6e,0x75,0x54,0x6f,0x70,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74, +0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x65,0x6e,0x75,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4d,0x65,0x6e, +0x75,0x4d,0x69,0x64,0x64,0x6c,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x46,0x72,0x61,0x6d,0x65,0x43, +0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x70,0x6f,0x70,0x75,0x70,0x5f,0x61,0x72,0x72,0x6f,0x77,0x5f,0x72,0x69, +0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e, +0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69, +0x64,0x74,0x68,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22, +0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x41,0x72,0x72,0x6f, +0x77,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f, +0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20, +0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x50,0x6f,0x70,0x75,0x70, +0x4d,0x65,0x6e,0x75,0x41,0x72,0x72,0x6f,0x77,0x52,0x69,0x67,0x68,0x74,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x43,0x65,0x6e,0x74,0x72,0x65,0x41,0x6c,0x69,0x67,0x6e, +0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d, +0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x41,0x6c, +0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43, +0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x70,0x6f,0x70,0x75,0x70,0x5f,0x61,0x72,0x72,0x6f,0x77,0x5f,0x6c,0x65, +0x66,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65, +0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69, +0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41, +0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65, +0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64, +0x74,0x68,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53, +0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x41,0x72,0x72,0x6f,0x77, +0x4c,0x65,0x66,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d, +0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72, +0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65, +0x6e,0x75,0x41,0x72,0x72,0x6f,0x77,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x43,0x65,0x6e,0x74,0x72,0x65,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x41,0x6c,0x69,0x67,0x6e, +0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70, +0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61, +0x62,0x6c,0x65,0x64,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x54,0x65,0x78,0x74,0x43, +0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e, +0x61,0x62,0x6c,0x65,0x64,0x48,0x6f,0x76,0x65,0x72,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3d,0x22,0x66,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x76,0x65,0x72,0x43,0x6f,0x6c,0x6f,0x75,0x72, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43, +0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x54,0x65,0x78,0x74,0x43,0x6f, +0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61, +0x62,0x6c,0x65,0x64,0x50,0x75,0x73,0x68,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3d,0x22,0x66,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x50,0x75,0x73,0x68,0x65,0x64,0x43,0x6f,0x6c,0x6f,0x75, +0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x54,0x65,0x78,0x74,0x43, +0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e, +0x61,0x62,0x6c,0x65,0x64,0x50,0x6f,0x70,0x75,0x70,0x4f,0x70,0x65,0x6e,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61, +0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x66,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72, +0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4f,0x70,0x65,0x6e,0x65,0x64,0x43, +0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72, +0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x54, +0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x4e,0x6f,0x72,0x6d,0x61,0x6c, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20, +0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70, +0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62, +0x6c,0x65,0x64,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74, +0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x48,0x6f, +0x76,0x65,0x72,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x66,0x72,0x61,0x6d, +0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73, +0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46, +0x37,0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46, +0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65, +0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f, +0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37, +0x46,0x37,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x54, +0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x50,0x75,0x73,0x68,0x65,0x64, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20, +0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x66,0x72,0x61,0x6d,0x65,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f, +0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22, +0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37, +0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d, +0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f, +0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43, +0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x54,0x65,0x78,0x74, +0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74, +0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44, +0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x50,0x6f,0x70,0x75,0x70,0x4f,0x70,0x65,0x6e, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20, +0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x66,0x72,0x61,0x6d,0x65,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f, +0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22, +0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37, +0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d, +0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f, +0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43, +0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x54,0x65,0x78,0x74, +0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74, +0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50, +0x6f,0x70,0x75,0x70,0x43,0x6c,0x6f,0x73,0x65,0x64,0x49,0x63,0x6f,0x6e,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61, +0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x70,0x6f,0x70,0x75,0x70,0x5f,0x61,0x72,0x72, +0x6f,0x77,0x5f,0x72,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74, +0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x6f,0x70,0x75,0x70,0x4f,0x70,0x65,0x6e,0x49, +0x63,0x6f,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x70,0x6f,0x70,0x75, +0x70,0x5f,0x61,0x72,0x72,0x6f,0x77,0x5f,0x6c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c, +0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a, +0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x0a, +0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x2f,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44, +0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x43,0x6f,0x6c,0x6f,0x75,0x72, +0x73,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x74,0x6c,0x3a,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x20,0x74,0x72,0x3a, +0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x20,0x62,0x6c,0x3a,0x46,0x46,0x46,0x46, +0x46,0x46,0x46,0x46,0x20,0x62,0x72,0x3a,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46, +0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d, +0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e, +0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x42,0x6f,0x72,0x64, +0x65,0x72,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c, +0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x6c,0x61,0x79,0x6f,0x75,0x74, +0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64, +0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x49,0x74,0x65,0x6d,0x52, +0x65,0x6e,0x64,0x65,0x72,0x41,0x72,0x65,0x61,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x46,0x72,0x61,0x6d,0x65, +0x4c,0x65,0x66,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d, +0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70, +0x3d,0x22,0x41,0x64,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x69,0x6d, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x42,0x6f,0x72,0x64,0x65,0x72,0x57,0x69,0x64, +0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75, +0x46,0x72,0x61,0x6d,0x65,0x54,0x6f,0x70,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73, +0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74, +0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x41,0x64,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72, +0x74,0x79,0x44,0x69,0x6d,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x42,0x6f,0x72,0x64, +0x65,0x72,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69, +0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74, +0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x46, +0x72,0x61,0x6d,0x65,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e, +0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x41, +0x64,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72, +0x74,0x79,0x44,0x69,0x6d,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x42,0x6f,0x72,0x64, +0x65,0x72,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69, +0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d, +0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f, +0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74, +0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70, +0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44, +0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x46,0x72,0x61,0x6d,0x65,0x42, +0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e, +0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f, +0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x41,0x64,0x64,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44, +0x69,0x6d,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x42,0x6f,0x72,0x64,0x65,0x72,0x57, +0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65, +0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61, +0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x66,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61,0x6d, +0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62, +0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20, +0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22, +0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x46,0x72,0x61,0x6d,0x65,0x54,0x6f, +0x70,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x43, +0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x46,0x72, +0x61,0x6d,0x65,0x54,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74, +0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x50,0x6f,0x70, +0x75,0x70,0x4d,0x65,0x6e,0x75,0x46,0x72,0x61,0x6d,0x65,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67, +0x68,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e, +0x75,0x46,0x72,0x61,0x6d,0x65,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68, +0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x50,0x6f,0x70,0x75,0x70, +0x4d,0x65,0x6e,0x75,0x46,0x72,0x61,0x6d,0x65,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52, +0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e, +0x75,0x46,0x72,0x61,0x6d,0x65,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70, +0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x46,0x72,0x61, +0x6d,0x65,0x54,0x6f,0x70,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67, +0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x46,0x72,0x61,0x6d,0x65,0x42, +0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e, +0x64,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x4d,0x69,0x64,0x64,0x6c,0x65, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e, +0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20, +0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x66,0x72,0x61,0x6d,0x65,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x52,0x65,0x63,0x74, +0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x42, +0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61, +0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53, +0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65, +0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x66,0x72,0x61,0x6d,0x65,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74, +0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46, +0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46, +0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74, +0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74, +0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37, +0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c, +0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a, +0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x4d,0x65,0x6e,0x75,0x62,0x61,0x72,0x0a,0x20, +0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x2f,0x4d,0x65,0x6e,0x75,0x62,0x61,0x72,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69, +0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x42,0x61,0x63, +0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x22,0x20, +0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x74,0x6c, +0x3a,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x20,0x74,0x72,0x3a,0x46,0x46,0x46, +0x46,0x46,0x46,0x46,0x46,0x20,0x62,0x6c,0x3a,0x46,0x46,0x46,0x46,0x46,0x46,0x46, +0x46,0x20,0x62,0x72,0x3a,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x72, +0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72, +0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69, +0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x42,0x6f,0x72,0x64,0x65,0x72,0x57, +0x69,0x64,0x74,0x68,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x35,0x22,0x20,0x6c,0x61,0x79,0x6f,0x75,0x74,0x4f,0x6e,0x57, +0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65, +0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x49,0x74,0x65,0x6d,0x52,0x65,0x6e,0x64, +0x65,0x72,0x41,0x72,0x65,0x61,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d, +0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x50, +0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x46,0x72,0x61,0x6d,0x65,0x4c,0x65,0x66, +0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69, +0x64,0x74,0x68,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x41, +0x64,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x69,0x6d,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x42,0x6f,0x72,0x64,0x65,0x72,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69, +0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70, +0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x46,0x72,0x61, +0x6d,0x65,0x54,0x6f,0x70,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e, +0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20, +0x6f,0x70,0x3d,0x22,0x41,0x64,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44, +0x69,0x6d,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x42,0x6f,0x72,0x64,0x65,0x72,0x57, +0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52, +0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20, +0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x46,0x72,0x61,0x6d, +0x65,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f, +0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f, +0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x41,0x64,0x64,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44, +0x69,0x6d,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x42,0x6f,0x72,0x64,0x65,0x72,0x57, +0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65, +0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45, +0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53, +0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x50,0x6f, +0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x46,0x72,0x61,0x6d,0x65,0x42,0x6f,0x74,0x74, +0x6f,0x6d,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72, +0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x41,0x64,0x64,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x69,0x6d,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x42,0x6f,0x72,0x64,0x65,0x72,0x57,0x69,0x64,0x74, +0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61, +0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74, +0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x66,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f, +0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c, +0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x50,0x6f,0x70, +0x75,0x70,0x4d,0x65,0x6e,0x75,0x46,0x72,0x61,0x6d,0x65,0x54,0x6f,0x70,0x4c,0x65, +0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x43,0x6f,0x72,0x6e, +0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x46,0x72,0x61,0x6d,0x65, +0x54,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d, +0x4c,0x65,0x66,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x50,0x6f,0x70,0x75,0x70,0x4d, +0x65,0x6e,0x75,0x46,0x72,0x61,0x6d,0x65,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65, +0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x43, +0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x46,0x72, +0x61,0x6d,0x65,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e, +0x75,0x46,0x72,0x61,0x6d,0x65,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x46,0x72, +0x61,0x6d,0x65,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67, +0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x46,0x72,0x61,0x6d,0x65,0x54, +0x6f,0x70,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x50,0x6f, +0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x46,0x72,0x61,0x6d,0x65,0x42,0x6f,0x74,0x74, +0x6f,0x6d,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x50,0x6f, +0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x4d,0x69,0x64,0x64,0x6c,0x65,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3d,0x22,0x66,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x52,0x65,0x63,0x74,0x50,0x72,0x6f, +0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b, +0x67,0x72,0x6f,0x75,0x6e,0x64,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74, +0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61, +0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x66,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c, +0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74, +0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37, +0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46, +0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52, +0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61, +0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20, +0x20,0x20,0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x2f,0x4c,0x61,0x72,0x67,0x65,0x56,0x65,0x72,0x74,0x69,0x63,0x61,0x6c, +0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x54,0x68,0x75,0x6d,0x62,0x0a,0x20, +0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x2f,0x4c,0x61,0x72,0x67,0x65,0x56,0x65,0x72,0x74,0x69,0x63,0x61,0x6c,0x53,0x63, +0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x54,0x68,0x75,0x6d,0x62,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x46,0x72,0x65,0x65,0x22, +0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x54,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x6e, +0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70, +0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74, +0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67, +0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67, +0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x63, +0x72,0x6f,0x6c,0x6c,0x54,0x68,0x75,0x6d,0x62,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65, +0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x68,0x6f,0x76,0x65, +0x72,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e, +0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d, +0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62, +0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74, +0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20, +0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30, +0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c, +0x54,0x68,0x75,0x6d,0x62,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3d,0x22,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74, +0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x76,0x65,0x72,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3d,0x22,0x68,0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61, +0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53, +0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x75,0x73,0x68,0x65,0x64,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c, +0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61, +0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6e,0x6f,0x72, +0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75, +0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46, +0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22, +0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d, +0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20, +0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37, +0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f, +0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d,0x0a,0x20,0x20, +0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x4c,0x61,0x72,0x67,0x65,0x56, +0x65,0x72,0x74,0x69,0x63,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72, +0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x2f,0x4c,0x61,0x72,0x67,0x65,0x56,0x65,0x72,0x74,0x69,0x63,0x61,0x6c, +0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x69,0x63,0x61,0x6c,0x53,0x63,0x72,0x6f, +0x6c,0x6c,0x62,0x61,0x72,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x54,0x72, +0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x54,0x68,0x75,0x6d,0x62,0x54,0x72,0x61,0x63,0x6b,0x41,0x72,0x65,0x61,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c, +0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e,0x33, +0x32,0x35,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69, +0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f, +0x5f,0x64,0x65,0x63,0x62,0x74,0x6e,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e, +0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61, +0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x41,0x64,0x64,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x6f,0x70,0x22, +0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67, +0x68,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f, +0x72,0x20,0x6f,0x70,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x70,0x6c,0x79,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69, +0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x2e,0x35,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d, +0x61,0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d, +0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44, +0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74, +0x6f,0x5f,0x64,0x65,0x63,0x62,0x74,0x6e,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65, +0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d, +0x22,0x41,0x64,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x6f,0x70, +0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x4d, +0x75,0x6c,0x74,0x69,0x70,0x6c,0x79,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x2e,0x35,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f, +0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49, +0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e, +0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x43,0x68,0x69,0x6c,0x64,0x20,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x49,0x6d,0x61,0x67, +0x65,0x42,0x75,0x74,0x74,0x6f,0x6e,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53,0x75,0x66, +0x66,0x69,0x78,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x69,0x6e,0x63,0x62, +0x74,0x6e,0x5f,0x5f,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x30,0x2e,0x32,0x35,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c, +0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70, +0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x62,0x73, +0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x2d,0x31,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x4d,0x75, +0x6c,0x74,0x69,0x70,0x6c,0x79,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x56,0x65,0x72, +0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x6f,0x70,0x22,0x20,0x64,0x69,0x6d,0x65, +0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d, +0x22,0x4d,0x75,0x6c,0x74,0x69,0x70,0x6c,0x79,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x30,0x2e,0x35,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69, +0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d, +0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57, +0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e,0x36,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x30,0x2e,0x36,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74, +0x68,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x4d,0x75,0x6c, +0x74,0x69,0x70,0x6c,0x79,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d, +0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x56,0x65,0x72,0x74, +0x53,0x63,0x72,0x6f,0x6c,0x6c,0x55,0x70,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20, +0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20, +0x6f,0x70,0x3d,0x22,0x44,0x69,0x76,0x69,0x64,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x63,0x72, +0x6f,0x6c,0x6c,0x55,0x70,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x64,0x69,0x6d, +0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49, +0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x41,0x6c, +0x69,0x67,0x6e,0x6d,0x65,0x6e,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f, +0x74,0x74,0x6f,0x6d,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f, +0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d, +0x61,0x6c,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3a,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c, +0x44,0x6f,0x77,0x6e,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70, +0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x76,0x65,0x72, +0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65, +0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3a,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x44,0x6f, +0x77,0x6e,0x48,0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74, +0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x75,0x73,0x68,0x65,0x64,0x49,0x6d, +0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65,0x74,0x3a, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3a,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x44,0x6f,0x77,0x6e, +0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x43,0x68,0x69,0x6c,0x64,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69,0x6c,0x64,0x20,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x49,0x6d, +0x61,0x67,0x65,0x42,0x75,0x74,0x74,0x6f,0x6e,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53, +0x75,0x66,0x66,0x69,0x78,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x64,0x65, +0x63,0x62,0x74,0x6e,0x5f,0x5f,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63, +0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e,0x32,0x35,0x22,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54, +0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54, +0x6f,0x70,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d, +0x22,0x4d,0x75,0x6c,0x74,0x69,0x70,0x6c,0x79,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74, +0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x2e,0x35,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69, +0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64, +0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e,0x36,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65, +0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30, +0x2e,0x36,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70, +0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69, +0x70,0x6c,0x79,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67, +0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x63, +0x72,0x6f,0x6c,0x6c,0x55,0x70,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x64,0x69, +0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70, +0x3d,0x22,0x44,0x69,0x76,0x69,0x64,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c, +0x6c,0x55,0x70,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e, +0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61, +0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x49,0x6d,0x61, +0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65,0x74,0x3a,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3a,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x55,0x70,0x4e,0x6f,0x72, +0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x48,0x6f,0x76,0x65,0x72,0x49,0x6d,0x61,0x67,0x65,0x22,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d,0x61,0x67,0x65,0x3a,0x56,0x65,0x72, +0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x55,0x70,0x48,0x6f,0x76,0x65,0x72,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50, +0x75,0x73,0x68,0x65,0x64,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x76,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x20,0x69,0x6d,0x61,0x67,0x65,0x3a,0x56,0x65,0x72,0x74,0x53,0x63,0x72, +0x6f,0x6c,0x6c,0x55,0x70,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68,0x69,0x6c,0x64,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69,0x6c,0x64,0x20, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x2f,0x4c,0x61,0x72,0x67,0x65,0x56,0x65,0x72,0x74,0x69,0x63,0x61,0x6c, +0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x54,0x68,0x75,0x6d,0x62,0x22,0x20, +0x6e,0x61,0x6d,0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d,0x22,0x5f,0x5f,0x61,0x75, +0x74,0x6f,0x5f,0x74,0x68,0x75,0x6d,0x62,0x5f,0x5f,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x30,0x2e,0x34,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74, +0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e,0x34,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20, +0x6f,0x70,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x70,0x6c,0x79,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x68,0x75, +0x6d,0x62,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73, +0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x44, +0x69,0x76,0x69,0x64,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x68, +0x75,0x6d,0x62,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e, +0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67, +0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x43,0x68,0x69,0x6c,0x64,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61, +0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41, +0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65, +0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70, +0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65, +0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22, +0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63, +0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65, +0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x53, +0x63,0x72,0x6f,0x6c,0x6c,0x54,0x6f,0x70,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d, +0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x42,0x6f, +0x74,0x74,0x6f,0x6d,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f,0x75,0x6e,0x64, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22, +0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x4d,0x69,0x64,0x64,0x6c,0x65, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e, +0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x30,0x2e,0x34,0x35,0x22,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69, +0x6d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f, +0x5f,0x64,0x65,0x63,0x62,0x74,0x6e,0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e, +0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f, +0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x41,0x64,0x64,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67, +0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x63, +0x72,0x6f,0x6c,0x6c,0x54,0x6f,0x70,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69, +0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70, +0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x70,0x6c,0x79,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69, +0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x2e,0x35,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74, +0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69, +0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69, +0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x2e,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72, +0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x57,0x69,0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x20,0x77,0x69,0x64,0x67,0x65, +0x74,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x64,0x65,0x63,0x62,0x74,0x6e, +0x5f,0x5f,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x41,0x64,0x64, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x54,0x6f,0x70, +0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f, +0x70,0x3d,0x22,0x4d,0x75,0x6c,0x74,0x69,0x70,0x6c,0x79,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41, +0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65, +0x3d,0x22,0x30,0x2e,0x35,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61, +0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49, +0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69, +0x64,0x67,0x65,0x74,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74, +0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x56,0x65,0x72,0x74,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x42,0x61,0x72,0x53, +0x65,0x67,0x6d,0x65,0x6e,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74, +0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x69,0x6c, +0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70, +0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61, +0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6d,0x61,0x69, +0x6e,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74, +0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44, +0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22, +0x6d,0x61,0x69,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f, +0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37, +0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d, +0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f, +0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22, +0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46, +0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x4c, +0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d,0x0a,0x20, +0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x49,0x6d,0x61,0x67,0x65, +0x42,0x75,0x74,0x74,0x6f,0x6e,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20, +0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x57,0x69,0x64,0x67, +0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x49,0x6d,0x61,0x67,0x65,0x42,0x75, +0x74,0x74,0x6f,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69, +0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x49, +0x6d,0x61,0x67,0x65,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72, +0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44, +0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x48,0x6f,0x76,0x65,0x72,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x69,0x6e,0x69,0x74, +0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x22,0x20,0x72,0x65,0x64,0x72, +0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f, +0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x75,0x73,0x68,0x65,0x64,0x49,0x6d,0x61,0x67, +0x65,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65, +0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69, +0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73, +0x61,0x62,0x6c,0x65,0x64,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x69,0x6e,0x69,0x74, +0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x22,0x20,0x72,0x65,0x64,0x72, +0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f, +0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x49,0x6d,0x61,0x67,0x65,0x46, +0x6f,0x72,0x6d,0x61,0x74,0x74,0x69,0x6e,0x67,0x22,0x20,0x69,0x6e,0x69,0x74,0x69, +0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68, +0x65,0x64,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74, +0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66, +0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f, +0x72,0x7a,0x49,0x6d,0x61,0x67,0x65,0x46,0x6f,0x72,0x6d,0x61,0x74,0x74,0x69,0x6e, +0x67,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x72,0x65,0x64,0x72, +0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43, +0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d, +0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x50,0x72,0x6f,0x70,0x65,0x72, +0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x49, +0x6d,0x61,0x67,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f, +0x72,0x6d,0x61,0x74,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x49,0x6d,0x61,0x67,0x65,0x46,0x6f,0x72,0x6d, +0x61,0x74,0x74,0x69,0x6e,0x67,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a, +0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x72,0x7a,0x49,0x6d,0x61,0x67,0x65,0x46,0x6f, +0x72,0x6d,0x61,0x74,0x74,0x69,0x6e,0x67,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x68,0x6f,0x76,0x65,0x72,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62, +0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20, +0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x50,0x72,0x6f,0x70, +0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x76,0x65,0x72, +0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46, +0x6f,0x72,0x6d,0x61,0x74,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x49,0x6d,0x61,0x67,0x65,0x46,0x6f,0x72, +0x6d,0x61,0x74,0x74,0x69,0x6e,0x67,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72, +0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x72,0x7a,0x49,0x6d,0x61,0x67,0x65,0x46, +0x6f,0x72,0x6d,0x61,0x74,0x74,0x69,0x6e,0x67,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x70,0x75,0x73,0x68,0x65,0x64,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f, +0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74, +0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74, +0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73, +0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x50,0x72, +0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x50,0x75,0x73, +0x68,0x65,0x64,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65, +0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x65,0x72,0x74,0x49,0x6d,0x61,0x67,0x65, +0x46,0x6f,0x72,0x6d,0x61,0x74,0x74,0x69,0x6e,0x67,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x72,0x6f,0x70,0x65,0x72, +0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x48,0x6f,0x72,0x7a,0x49,0x6d,0x61, +0x67,0x65,0x46,0x6f,0x72,0x6d,0x61,0x74,0x74,0x69,0x6e,0x67,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x64,0x69,0x73,0x61,0x62,0x6c,0x65, +0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e, +0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d, +0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62, +0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74, +0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20, +0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48, +0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64, +0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x49,0x6d,0x61,0x67,0x65,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x50, +0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x56,0x65, +0x72,0x74,0x49,0x6d,0x61,0x67,0x65,0x46,0x6f,0x72,0x6d,0x61,0x74,0x74,0x69,0x6e, +0x67,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61, +0x74,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x48,0x6f,0x72,0x7a,0x49,0x6d,0x61,0x67,0x65,0x46,0x6f,0x72,0x6d,0x61,0x74,0x74, +0x69,0x6e,0x67,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d, +0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f, +0x72,0x6d,0x61,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6e,0x6f,0x72, +0x6d,0x61,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74, +0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x48,0x6f,0x76,0x65,0x72,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x68, +0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x50,0x75,0x73,0x68,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d, +0x22,0x70,0x75,0x73,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x50,0x75,0x73,0x68,0x65,0x64,0x4f,0x66,0x66,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61, +0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x68,0x6f,0x76,0x65,0x72,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c, +0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c, +0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x64,0x69,0x73,0x61,0x62, +0x6c,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65, +0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d, +0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x49,0x74,0x65, +0x6d,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x57,0x69, +0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x49,0x74,0x65,0x6d,0x4c, +0x69,0x73,0x74,0x62,0x6f,0x78,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x49,0x74,0x65,0x6d,0x52,0x65,0x6e,0x64,0x65,0x72,0x41,0x72,0x65,0x61, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x4c,0x65,0x66,0x74,0x22, +0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74, +0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20, +0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78, +0x54,0x6f,0x70,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22, +0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75, +0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69,0x73, +0x74,0x62,0x6f,0x78,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e, +0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65, +0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69, +0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45, +0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53, +0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69, +0x73,0x74,0x62,0x6f,0x78,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20,0x64,0x69,0x6d, +0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d, +0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x49,0x74,0x65,0x6d,0x52,0x65,0x6e,0x64,0x65,0x72,0x41, +0x72,0x65,0x61,0x48,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69, +0x73,0x74,0x62,0x6f,0x78,0x4c,0x65,0x66,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e, +0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x54,0x6f,0x70,0x22,0x20,0x64, +0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61, +0x74,0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x52,0x69, +0x67,0x68,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22, +0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x6f,0x66,0x66, +0x73,0x65,0x74,0x3d,0x22,0x2d,0x31,0x32,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65, +0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x49,0x74,0x65,0x6d,0x52,0x65,0x6e,0x64, +0x65,0x72,0x41,0x72,0x65,0x61,0x56,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65, +0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44, +0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x4c,0x65,0x66,0x74,0x22,0x20,0x64,0x69, +0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x54,0x6f,0x70, +0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69, +0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20, +0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x31,0x32,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74, +0x6f,0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49, +0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x42,0x6f,0x74, +0x74,0x6f,0x6d,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22, +0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d, +0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x49,0x74,0x65, +0x6d,0x52,0x65,0x6e,0x64,0x65,0x72,0x41,0x72,0x65,0x61,0x48,0x56,0x53,0x63,0x72, +0x6f,0x6c,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65, +0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20, +0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x4c,0x65, +0x66,0x74,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57, +0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d, +0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74, +0x62,0x6f,0x78,0x54,0x6f,0x70,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f, +0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52, +0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x31,0x22,0x20,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x31, +0x32,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22, +0x20,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x31,0x32,0x22,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69,0x6c, +0x64,0x20,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x2f,0x48,0x6f,0x72,0x69,0x7a,0x6f,0x6e,0x74,0x61,0x6c,0x53, +0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53,0x75, +0x66,0x66,0x69,0x78,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x68,0x73,0x63, +0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64, +0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69, +0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e, +0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22, +0x31,0x22,0x20,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x31,0x32,0x22,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c, +0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x31,0x32, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74, +0x41,0x6c,0x69,0x67,0x6e,0x6d,0x65,0x6e,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x42,0x6f,0x74,0x74,0x6f,0x6d,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68,0x69,0x6c, +0x64,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x68,0x69,0x6c, +0x64,0x20,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x2f,0x56,0x65,0x72,0x74,0x69,0x63,0x61,0x6c,0x53,0x63,0x72, +0x6f,0x6c,0x6c,0x62,0x61,0x72,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53,0x75,0x66,0x66, +0x69,0x78,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x76,0x73,0x63,0x72,0x6f, +0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65, +0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f, +0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74, +0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x31, +0x32,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67, +0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f, +0x72,0x7a,0x41,0x6c,0x69,0x67,0x6e,0x6d,0x65,0x6e,0x74,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68,0x69, +0x6c,0x64,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f, +0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74, +0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65, +0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e, +0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c, +0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57, +0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66, +0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70, +0x4c,0x65,0x66,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f, +0x78,0x54,0x6f,0x70,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x52,0x69,0x67, +0x68,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x54, +0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c, +0x65,0x66,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78, +0x42,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74, +0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x43,0x6f,0x72,0x6e,0x65,0x72,0x22,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69,0x73, +0x74,0x62,0x6f,0x78,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69,0x67,0x68,0x74,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78, +0x4c,0x65,0x66,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22, +0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c, +0x69,0x73,0x74,0x62,0x6f,0x78,0x52,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70, +0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x54,0x6f,0x70,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f, +0x78,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61, +0x67,0x65,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x61,0x63,0x6b,0x67,0x72,0x6f, +0x75,0x6e,0x64,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67, +0x65,0x3d,0x22,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x42,0x61,0x63,0x6b,0x64,0x72, +0x6f,0x70,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x46,0x72,0x61,0x6d,0x65,0x43,0x6f,0x6d,0x70,0x6f,0x6e, +0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c, +0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6d,0x61,0x69,0x6e,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73, +0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6d,0x61, +0x69,0x6e,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65, +0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64,0x67,0x65,0x74, +0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x0a,0x20,0x20,0x20,0x20,0x3c,0x21,0x2d,0x2d, +0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x4c,0x69,0x73, +0x74,0x62,0x6f,0x78,0x49,0x74,0x65,0x6d,0x0a,0x20,0x20,0x20,0x20,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x0a,0x20,0x20,0x20,0x20,0x2d,0x2d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x57,0x69, +0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x4c,0x69,0x73,0x74,0x62, +0x6f,0x78,0x49,0x74,0x65,0x6d,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69, +0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x65,0x78,0x74,0x43, +0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61, +0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x72, +0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72, +0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69, +0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x65,0x6c,0x65,0x63,0x74,0x65, +0x64,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69, +0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x46,0x46,0x46, +0x46,0x46,0x46,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69, +0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x44,0x65, +0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x53, +0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e,0x42,0x72,0x75,0x73,0x68,0x22,0x20,0x69, +0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65,0x74, +0x3a,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d,0x61, +0x67,0x65,0x3a,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x53,0x65,0x6c,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x42,0x72,0x75,0x73,0x68,0x22,0x20,0x72,0x65,0x64,0x72,0x61,0x77, +0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65, +0x72,0x74,0x79,0x44,0x65,0x66,0x69,0x6e,0x69,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x53,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e,0x43,0x6f,0x6c, +0x6f,0x75,0x72,0x22,0x20,0x69,0x6e,0x69,0x74,0x69,0x61,0x6c,0x56,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x46,0x46,0x34,0x34,0x34,0x34,0x41,0x41,0x22,0x20,0x72,0x65,0x64, +0x72,0x61,0x77,0x4f,0x6e,0x57,0x72,0x69,0x74,0x65,0x3d,0x22,0x74,0x72,0x75,0x65, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72, +0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x65,0x6c, +0x65,0x63,0x74,0x61,0x62,0x6c,0x65,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x54,0x72,0x75,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x53,0x69,0x7a,0x65,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65, +0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65, +0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41, +0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65, +0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67, +0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75, +0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x46,0x6f,0x6e,0x74,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x48,0x6f,0x72,0x7a,0x45,0x78,0x74,0x65,0x6e,0x74,0x22,0x20,0x70,0x61,0x64, +0x64,0x69,0x6e,0x67,0x3d,0x22,0x36,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65, +0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x6f,0x6e, +0x74,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x69,0x6e,0x65,0x53, +0x70,0x61,0x63,0x69,0x6e,0x67,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x4e,0x61,0x6d,0x65,0x64,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x54,0x65, +0x78,0x74,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69, +0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67, +0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x62,0x73, +0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x33,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20, +0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x6f,0x66,0x66,0x73,0x65,0x74, +0x3d,0x22,0x2d,0x33,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74, +0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x54,0x65,0x78,0x74,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65, +0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x73,0x65,0x6c,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70, +0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70, +0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45, +0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55, +0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d, +0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44, +0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41, +0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x50,0x72,0x6f,0x70,0x65, +0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x65,0x6c,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x42,0x72,0x75,0x73,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f, +0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x53,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e,0x43,0x6f,0x6c,0x6f, +0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d, +0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68, +0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d, +0x61,0x74,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68, +0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70, +0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61, +0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62, +0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72, +0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54, +0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f, +0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61, +0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e, +0x61,0x6d,0x65,0x3d,0x22,0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74, +0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x65,0x6c,0x65,0x63,0x74,0x65,0x64, +0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22, +0x73,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53, +0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22, +0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c, +0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65, +0x3d,0x22,0x53,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x54,0x65,0x78,0x74,0x43,0x6f, +0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69, +0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49, +0x6d,0x61,0x67,0x65,0x72,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x65,0x6c, +0x65,0x63,0x74,0x65,0x64,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3d,0x22,0x73,0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x73,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3d,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x50,0x72,0x6f,0x70,0x65,0x72,0x74, +0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x65,0x6c,0x65,0x63,0x74,0x65,0x64, +0x54,0x65,0x78,0x74,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74,0x65,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c,0x2f,0x57,0x69,0x64, +0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x3c,0x21,0x2d,0x2d,0x0a,0x2f, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x0a,0x09,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x72,0x65,0x65,0x0a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, +0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2f,0x0a,0x2d,0x2d,0x3e,0x0a,0x3c,0x57, +0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x72,0x65,0x65, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70, +0x65,0x72,0x74,0x79,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x53,0x65,0x6c,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x42,0x72,0x75,0x73,0x68,0x49,0x6d,0x61,0x67,0x65,0x22,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x73,0x65,0x74,0x3a,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x20,0x69,0x6d,0x61,0x67,0x65,0x3a,0x47,0x65,0x6e, +0x65,0x72,0x69,0x63,0x42,0x72,0x75,0x73,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x54,0x65,0x78,0x74, +0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46, +0x46,0x30,0x30,0x30,0x30,0x30,0x30,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x53,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x54,0x65,0x78,0x74, +0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46, +0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79,0x20,0x6e,0x61, +0x6d,0x65,0x3d,0x22,0x41,0x63,0x74,0x69,0x76,0x65,0x53,0x65,0x6c,0x65,0x63,0x74, +0x69,0x6f,0x6e,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20,0x76,0x61,0x6c,0x75,0x65, +0x3d,0x22,0x46,0x46,0x36,0x30,0x37,0x46,0x46,0x46,0x22,0x20,0x2f,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x50,0x72,0x6f,0x70,0x65,0x72,0x74,0x79, +0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x49,0x6e,0x61,0x63,0x74,0x69,0x76,0x65,0x53, +0x65,0x6c,0x65,0x63,0x74,0x69,0x6f,0x6e,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x22,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x46,0x46,0x38,0x30,0x38,0x30,0x38,0x30,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4e,0x61,0x6d, +0x65,0x64,0x41,0x72,0x65,0x61,0x20,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x49,0x74,0x65, +0x6d,0x52,0x65,0x6e,0x64,0x65,0x72,0x69,0x6e,0x67,0x41,0x72,0x65,0x61,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72, +0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c, +0x65,0x66,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65, +0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65, +0x3d,0x22,0x57,0x69,0x6e,0x64,0x6f,0x77,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65, +0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64, +0x74,0x68,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22, +0x20,0x3e,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67, +0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x57,0x69,0x6e,0x64,0x6f,0x77, +0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69, +0x6f,0x6e,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61, +0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67, +0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x6f,0x70, +0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x44, +0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d, +0x22,0x57,0x69,0x6e,0x64,0x6f,0x77,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65, +0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x57,0x69,0x64, +0x74,0x68,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20, +0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74,0x6f, +0x72,0x20,0x6f,0x70,0x3d,0x22,0x53,0x75,0x62,0x74,0x72,0x61,0x63,0x74,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x44,0x69,0x6d,0x20,0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d, +0x61,0x67,0x65,0x3d,0x22,0x57,0x69,0x6e,0x64,0x6f,0x77,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x64,0x69,0x6d,0x65,0x6e,0x73,0x69,0x6f,0x6e, +0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x4f,0x70,0x65,0x72,0x61,0x74, +0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x55,0x6e,0x69,0x66,0x69,0x65, +0x64,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4e,0x61,0x6d,0x65,0x64, +0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43, +0x68,0x69,0x6c,0x64,0x20,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x48,0x6f,0x72,0x69,0x7a,0x6f,0x6e,0x74, +0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x22,0x20,0x6e,0x61,0x6d, +0x65,0x53,0x75,0x66,0x66,0x69,0x78,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f, +0x68,0x73,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66, +0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74, +0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x35,0x22,0x20,0x2f, +0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62, +0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x31,0x22,0x20,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x22,0x2d,0x32, +0x35,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20, +0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68,0x74,0x22,0x20,0x3e,0x3c,0x41,0x62, +0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d, +0x22,0x31,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x56, +0x65,0x72,0x74,0x41,0x6c,0x69,0x67,0x6e,0x6d,0x65,0x6e,0x74,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43, +0x68,0x69,0x6c,0x64,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x43, +0x68,0x69,0x6c,0x64,0x20,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x56,0x65,0x72,0x74,0x69,0x63,0x61,0x6c, +0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x22,0x20,0x6e,0x61,0x6d,0x65,0x53, +0x75,0x66,0x66,0x69,0x78,0x3d,0x22,0x5f,0x5f,0x61,0x75,0x74,0x6f,0x5f,0x76,0x73, +0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x5f,0x5f,0x22,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45, +0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44, +0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x2d,0x35,0x22,0x20,0x2f,0x3e, +0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x20,0x3e,0x3c,0x41,0x62,0x73, +0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22, +0x35,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x57,0x69,0x64,0x74,0x68,0x22,0x20,0x3e,0x3c, +0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75, +0x65,0x3d,0x22,0x31,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69,0x67,0x68, +0x74,0x22,0x20,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20, +0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x6f,0x66,0x66,0x73,0x65,0x74, +0x3d,0x22,0x2d,0x31,0x30,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x48,0x65,0x69, +0x67,0x68,0x74,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x41,0x72,0x65,0x61, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x48, +0x6f,0x72,0x7a,0x41,0x6c,0x69,0x67,0x6e,0x6d,0x65,0x6e,0x74,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x41,0x6c,0x69,0x67,0x6e,0x65,0x64,0x22, +0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x43,0x68, +0x69,0x6c,0x64,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d, +0x65,0x3d,0x22,0x4f,0x70,0x65,0x6e,0x54,0x72,0x65,0x65,0x42,0x75,0x74,0x74,0x6f, +0x6e,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e, +0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67, +0x65,0x22,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20, +0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69, +0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x3e,0x3c,0x41,0x62,0x73,0x6f, +0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30, +0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45, +0x64,0x67,0x65,0x22,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d, +0x20,0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f, +0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79, +0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e, +0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c, +0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74, +0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20, +0x69,0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x72, +0x65,0x65,0x4c,0x69,0x73,0x74,0x43,0x6c,0x6f,0x73,0x65,0x64,0x22,0x20,0x2f,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x21,0x2d,0x2d,0x20,0x20,0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64, +0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74, +0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64, +0x22,0x20,0x2f,0x3e,0x20,0x2d,0x2d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f, +0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f, +0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67, +0x65,0x72,0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6e,0x61,0x6d,0x65,0x3d, +0x22,0x43,0x6c,0x6f,0x73,0x65,0x54,0x72,0x65,0x65,0x42,0x75,0x74,0x74,0x6f,0x6e, +0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, +0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69, +0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x4c,0x65,0x66,0x74,0x45,0x64,0x67,0x65, +0x22,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c,0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76, +0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d, +0x22,0x54,0x6f,0x70,0x45,0x64,0x67,0x65,0x22,0x3e,0x3c,0x41,0x62,0x73,0x6f,0x6c, +0x75,0x74,0x65,0x44,0x69,0x6d,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x22,0x30,0x22, +0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44, +0x69,0x6d,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x52,0x69,0x67,0x68,0x74,0x45,0x64, +0x67,0x65,0x22,0x3e,0x3c,0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20, +0x73,0x63,0x61,0x6c,0x65,0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22, +0x52,0x69,0x67,0x68,0x74,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44, +0x69,0x6d,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x44,0x69,0x6d,0x20,0x74,0x79,0x70, +0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f,0x6d,0x45,0x64,0x67,0x65,0x22,0x3e,0x3c, +0x55,0x6e,0x69,0x66,0x69,0x65,0x64,0x44,0x69,0x6d,0x20,0x73,0x63,0x61,0x6c,0x65, +0x3d,0x22,0x31,0x22,0x20,0x74,0x79,0x70,0x65,0x3d,0x22,0x42,0x6f,0x74,0x74,0x6f, +0x6d,0x45,0x64,0x67,0x65,0x22,0x20,0x2f,0x3e,0x3c,0x2f,0x44,0x69,0x6d,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x2f,0x41,0x72,0x65,0x61,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x6d,0x61,0x67,0x65,0x20,0x69, +0x6d,0x61,0x67,0x65,0x73,0x65,0x74,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x22,0x20,0x69,0x6d,0x61,0x67,0x65,0x3d,0x22,0x54,0x72,0x65, +0x65,0x4c,0x69,0x73,0x74,0x4f,0x70,0x65,0x6e,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x56,0x65,0x72,0x74,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x3c,0x48,0x6f,0x72,0x7a,0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x74,0x79,0x70,0x65, +0x3d,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x2f,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d, +0x61,0x67,0x65,0x72,0x79,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x49,0x6d,0x61,0x67,0x65,0x72, +0x79,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e,0x0a, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61,0x79, +0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6c,0x6f,0x6f, +0x6b,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53, +0x74,0x61,0x74,0x69,0x63,0x53,0x68,0x61,0x72,0x65,0x64,0x22,0x20,0x73,0x65,0x63, +0x74,0x69,0x6f,0x6e,0x3d,0x22,0x66,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c,0x65, +0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74,0x6f, +0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46, +0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46,0x46, +0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52,0x69, +0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x2f, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65,0x72, +0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61,0x74, +0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x3c,0x53,0x74,0x61,0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x20, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x44,0x69,0x73,0x61,0x62,0x6c,0x65,0x64,0x22,0x3e, +0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x4c,0x61, +0x79,0x65,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x3c,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x20,0x6c,0x6f, +0x6f,0x6b,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f, +0x53,0x74,0x61,0x74,0x69,0x63,0x53,0x68,0x61,0x72,0x65,0x64,0x22,0x20,0x73,0x65, +0x63,0x74,0x69,0x6f,0x6e,0x3d,0x22,0x66,0x72,0x61,0x6d,0x65,0x22,0x3e,0x0a,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x43,0x6f,0x6c,0x6f,0x75,0x72,0x73,0x20,0x74,0x6f,0x70,0x4c, +0x65,0x66,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x74, +0x6f,0x70,0x52,0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37, +0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x4c,0x65,0x66,0x74,0x3d,0x22,0x46, +0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x52, +0x69,0x67,0x68,0x74,0x3d,0x22,0x46,0x46,0x37,0x46,0x37,0x46,0x37,0x46,0x22,0x20, +0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x3c,0x2f,0x53,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x4c,0x61,0x79,0x65, +0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x53,0x74,0x61, +0x74,0x65,0x49,0x6d,0x61,0x67,0x65,0x72,0x79,0x3e,0x0a,0x20,0x20,0x20,0x20,0x3c, +0x2f,0x57,0x69,0x64,0x67,0x65,0x74,0x4c,0x6f,0x6f,0x6b,0x3e,0x0a,0x0a,0x0a,0x3c, +0x2f,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x3e,0x0a,0x0a,0x0a}; diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/gui/taharez_look.scheme.c b/tizen/distrib/remote/server/spice-0.12.2/client/gui/taharez_look.scheme.c new file mode 100644 index 0000000..319f238 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/gui/taharez_look.scheme.c @@ -0,0 +1,449 @@ +const unsigned char taharez_look_schem[] = { +0x3c,0x3f,0x78,0x6d,0x6c,0x20,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x31, +0x2e,0x30,0x22,0x20,0x3f,0x3e,0x0a,0x3c,0x47,0x55,0x49,0x53,0x63,0x68,0x65,0x6d, +0x65,0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x22,0x3e,0x0a,0x09,0x3c,0x49,0x6d,0x61,0x67,0x65,0x73,0x65,0x74, +0x20,0x4e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x22,0x20,0x46,0x69,0x6c,0x65,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2e,0x69,0x6d,0x61,0x67,0x65,0x73, +0x65,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x6f,0x6e,0x74,0x20,0x4e,0x61, +0x6d,0x65,0x3d,0x22,0x43,0x6f,0x6d,0x6d,0x6f,0x6e,0x77,0x65,0x61,0x6c,0x74,0x68, +0x2d,0x31,0x30,0x22,0x20,0x46,0x69,0x6c,0x65,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x43, +0x6f,0x6d,0x6d,0x6f,0x6e,0x77,0x65,0x61,0x6c,0x74,0x68,0x2d,0x31,0x30,0x2e,0x66, +0x6f,0x6e,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x4c,0x6f,0x6f,0x6b,0x4e,0x46, +0x65,0x65,0x6c,0x20,0x46,0x69,0x6c,0x65,0x6e,0x61,0x6d,0x65,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2e,0x6c,0x6f,0x6f,0x6b,0x6e,0x66, +0x65,0x65,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x57,0x69,0x6e,0x64,0x6f,0x77, +0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x53,0x65,0x74,0x20,0x46,0x69,0x6c,0x65, +0x6e,0x61,0x6d,0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x46,0x61,0x6c,0x61,0x67, +0x61,0x72,0x64,0x57,0x52,0x42,0x61,0x73,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c, +0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67,0x20, +0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x42,0x75,0x74,0x74,0x6f,0x6e,0x22,0x20, +0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54,0x79,0x70,0x65,0x3d, +0x22,0x43,0x45,0x47,0x55,0x49,0x2f,0x50,0x75,0x73,0x68,0x42,0x75,0x74,0x74,0x6f, +0x6e,0x22,0x20,0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d,0x22,0x46,0x61, +0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x42,0x75,0x74,0x74,0x6f,0x6e,0x22,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x42,0x75,0x74,0x74, +0x6f,0x6e,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72, +0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67,0x20,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54, +0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x2f,0x43,0x68,0x65,0x63,0x6b,0x62,0x6f,0x78,0x22,0x20,0x20,0x20,0x20,0x54,0x61, +0x72,0x67,0x65,0x74,0x54,0x79,0x70,0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x2f, +0x43,0x68,0x65,0x63,0x6b,0x62,0x6f,0x78,0x22,0x20,0x20,0x20,0x20,0x52,0x65,0x6e, +0x64,0x65,0x72,0x65,0x72,0x3d,0x22,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f, +0x54,0x6f,0x67,0x67,0x6c,0x65,0x42,0x75,0x74,0x74,0x6f,0x6e,0x22,0x20,0x4c,0x6f, +0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x2f,0x43,0x68,0x65,0x63,0x6b,0x62,0x6f,0x78,0x22,0x20,0x2f, +0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70, +0x69,0x6e,0x67,0x20,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x49,0x6d,0x61,0x67, +0x65,0x42,0x75,0x74,0x74,0x6f,0x6e,0x22,0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54, +0x79,0x70,0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x2f,0x50,0x75,0x73,0x68,0x42, +0x75,0x74,0x74,0x6f,0x6e,0x22,0x20,0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72, +0x3d,0x22,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x42,0x75,0x74,0x74,0x6f, +0x6e,0x22,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65, +0x65,0x6c,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f, +0x49,0x6d,0x61,0x67,0x65,0x42,0x75,0x74,0x74,0x6f,0x6e,0x22,0x20,0x2f,0x3e,0x0a, +0x09,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69,0x6e, +0x67,0x20,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x52,0x61,0x64,0x69,0x6f,0x42, +0x75,0x74,0x74,0x6f,0x6e,0x22,0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54,0x79,0x70, +0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x2f,0x52,0x61,0x64,0x69,0x6f,0x42,0x75, +0x74,0x74,0x6f,0x6e,0x22,0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d,0x22, +0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x54,0x6f,0x67,0x67,0x6c,0x65,0x42, +0x75,0x74,0x74,0x6f,0x6e,0x22,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x52,0x61, +0x64,0x69,0x6f,0x42,0x75,0x74,0x74,0x6f,0x6e,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c, +0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67,0x20, +0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x46,0x72,0x61,0x6d,0x65,0x57,0x69,0x6e, +0x64,0x6f,0x77,0x22,0x20,0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54,0x79,0x70,0x65, +0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x2f,0x46,0x72,0x61,0x6d,0x65,0x57,0x69,0x6e, +0x64,0x6f,0x77,0x22,0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d,0x22,0x46, +0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x46,0x72,0x61,0x6d,0x65,0x57,0x69,0x6e, +0x64,0x6f,0x77,0x22,0x20,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x46,0x72,0x61, +0x6d,0x65,0x57,0x69,0x6e,0x64,0x6f,0x77,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46, +0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67,0x20,0x57, +0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x69,0x74,0x6c,0x65,0x62,0x61,0x72,0x22, +0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54,0x79,0x70,0x65,0x3d, +0x22,0x43,0x45,0x47,0x55,0x49,0x2f,0x54,0x69,0x74,0x6c,0x65,0x62,0x61,0x72,0x22, +0x20,0x20,0x20,0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d,0x22,0x46,0x61, +0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x54,0x69,0x74,0x6c,0x65,0x62,0x61,0x72,0x22, +0x20,0x20,0x20,0x20,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x69,0x74,0x6c, +0x65,0x62,0x61,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61,0x67, +0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67,0x20,0x57,0x69,0x6e,0x64,0x6f, +0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x2f,0x53,0x79,0x73,0x74,0x65,0x6d,0x42,0x75,0x74,0x74,0x6f,0x6e,0x22, +0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54,0x79,0x70,0x65,0x3d,0x22,0x43,0x45,0x47, +0x55,0x49,0x2f,0x50,0x75,0x73,0x68,0x42,0x75,0x74,0x74,0x6f,0x6e,0x22,0x20,0x20, +0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d,0x22,0x46,0x61,0x6c,0x61,0x67,0x61, +0x72,0x64,0x2f,0x53,0x79,0x73,0x74,0x65,0x6d,0x42,0x75,0x74,0x74,0x6f,0x6e,0x22, +0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x42,0x75,0x74,0x74,0x6f,0x6e,0x22,0x20, +0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70, +0x70,0x69,0x6e,0x67,0x20,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x45,0x64,0x69, +0x74,0x62,0x6f,0x78,0x22,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54, +0x61,0x72,0x67,0x65,0x74,0x54,0x79,0x70,0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49, +0x2f,0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x22,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d,0x22,0x46,0x61,0x6c, +0x61,0x67,0x61,0x72,0x64,0x2f,0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x22,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65, +0x6c,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x45, +0x64,0x69,0x74,0x62,0x6f,0x78,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c, +0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67,0x20,0x57,0x69,0x6e, +0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x2f,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65,0x45,0x64, +0x69,0x74,0x62,0x6f,0x78,0x22,0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54,0x79,0x70, +0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x2f,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69, +0x6e,0x65,0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x22,0x20,0x52,0x65,0x6e,0x64,0x65, +0x72,0x65,0x72,0x3d,0x22,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x4d,0x75, +0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65,0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x22,0x20, +0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x4d,0x75,0x6c,0x74,0x69,0x4c,0x69,0x6e,0x65, +0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61, +0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67,0x20,0x57,0x69, +0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x4d,0x65,0x6e,0x75,0x62,0x61,0x72,0x22,0x20,0x20, +0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54,0x79,0x70,0x65,0x3d,0x22,0x43,0x45,0x47, +0x55,0x49,0x2f,0x4d,0x65,0x6e,0x75,0x62,0x61,0x72,0x22,0x20,0x20,0x20,0x52,0x65, +0x6e,0x64,0x65,0x72,0x65,0x72,0x3d,0x22,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64, +0x2f,0x4d,0x65,0x6e,0x75,0x62,0x61,0x72,0x22,0x20,0x20,0x20,0x4c,0x6f,0x6f,0x6b, +0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x2f,0x4d,0x65,0x6e,0x75,0x62,0x61,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x09, +0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67, +0x20,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65, +0x6e,0x75,0x22,0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54,0x79,0x70,0x65,0x3d,0x22, +0x43,0x45,0x47,0x55,0x49,0x2f,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x22, +0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d,0x22,0x46,0x61,0x6c,0x61,0x67, +0x61,0x72,0x64,0x2f,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x22,0x20,0x4c, +0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x50,0x6f,0x70,0x75,0x70,0x4d,0x65,0x6e,0x75,0x22, +0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61, +0x70,0x70,0x69,0x6e,0x67,0x20,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x4d,0x65, +0x6e,0x75,0x49,0x74,0x65,0x6d,0x22,0x20,0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54, +0x79,0x70,0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x2f,0x4d,0x65,0x6e,0x75,0x49, +0x74,0x65,0x6d,0x22,0x20,0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d,0x22, +0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x4d,0x65,0x6e,0x75,0x49,0x74,0x65, +0x6d,0x22,0x20,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x4d,0x65,0x6e,0x75,0x49, +0x74,0x65,0x6d,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61, +0x72,0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67,0x20,0x57,0x69,0x6e,0x64,0x6f,0x77, +0x54,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x2f,0x41,0x6c,0x74,0x65,0x72,0x6e,0x61,0x74,0x65,0x50,0x72,0x6f,0x67,0x72, +0x65,0x73,0x73,0x42,0x61,0x72,0x22,0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54,0x79, +0x70,0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x2f,0x50,0x72,0x6f,0x67,0x72,0x65, +0x73,0x73,0x42,0x61,0x72,0x22,0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d, +0x22,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x50,0x72,0x6f,0x67,0x72,0x65, +0x73,0x73,0x42,0x61,0x72,0x22,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x41,0x6c, +0x74,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x42,0x61,0x72,0x22,0x20,0x2f,0x3e, +0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69, +0x6e,0x67,0x20,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x50,0x72,0x6f,0x67,0x72, +0x65,0x73,0x73,0x42,0x61,0x72,0x22,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54,0x79,0x70,0x65,0x3d,0x22,0x43,0x45,0x47, +0x55,0x49,0x2f,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x42,0x61,0x72,0x22,0x20, +0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d,0x22,0x46,0x61,0x6c,0x61,0x67,0x61, +0x72,0x64,0x2f,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x42,0x61,0x72,0x22,0x20, +0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x50,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x42, +0x61,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72, +0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67,0x20,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54, +0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x2f,0x56,0x55,0x4d,0x65,0x74,0x65,0x72,0x22,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54,0x79,0x70, +0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x2f,0x50,0x72,0x6f,0x67,0x72,0x65,0x73, +0x73,0x42,0x61,0x72,0x22,0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d,0x22, +0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x50,0x72,0x6f,0x67,0x72,0x65,0x73, +0x73,0x42,0x61,0x72,0x22,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x56,0x55,0x4d, +0x65,0x74,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61,0x67, +0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67,0x20,0x57,0x69,0x6e,0x64,0x6f, +0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x2f,0x56,0x65,0x72,0x74,0x69,0x63,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c, +0x6c,0x62,0x61,0x72,0x22,0x20,0x20,0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54,0x79, +0x70,0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x2f,0x53,0x63,0x72,0x6f,0x6c,0x6c, +0x62,0x61,0x72,0x22,0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d,0x22,0x46, +0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61, +0x72,0x22,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x56,0x65,0x72,0x74,0x69,0x63, +0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x22,0x20,0x2f,0x3e,0x0a, +0x09,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69,0x6e, +0x67,0x20,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x48,0x6f,0x72,0x69,0x7a,0x6f, +0x6e,0x74,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x22,0x20,0x54, +0x61,0x72,0x67,0x65,0x74,0x54,0x79,0x70,0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49, +0x2f,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x22,0x20,0x52,0x65,0x6e,0x64, +0x65,0x72,0x65,0x72,0x3d,0x22,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x53, +0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x22,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46, +0x65,0x65,0x6c,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x2f,0x48,0x6f,0x72,0x69,0x7a,0x6f,0x6e,0x74,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c, +0x6c,0x62,0x61,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61,0x67, +0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67,0x20,0x57,0x69,0x6e,0x64,0x6f, +0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f, +0x6f,0x6b,0x2f,0x56,0x65,0x72,0x74,0x69,0x63,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c, +0x6c,0x62,0x61,0x72,0x54,0x68,0x75,0x6d,0x62,0x22,0x20,0x20,0x20,0x54,0x61,0x72, +0x67,0x65,0x74,0x54,0x79,0x70,0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x2f,0x54, +0x68,0x75,0x6d,0x62,0x22,0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d,0x22, +0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x42,0x75,0x74,0x74,0x6f,0x6e,0x22, +0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x56,0x65,0x72,0x74,0x69,0x63,0x61,0x6c, +0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x54,0x68,0x75,0x6d,0x62,0x22,0x20, +0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70, +0x70,0x69,0x6e,0x67,0x20,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x48,0x6f,0x72, +0x69,0x7a,0x6f,0x6e,0x74,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72, +0x54,0x68,0x75,0x6d,0x62,0x22,0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54,0x79,0x70, +0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x2f,0x54,0x68,0x75,0x6d,0x62,0x22,0x20, +0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d,0x22,0x46,0x61,0x6c,0x61,0x67,0x61, +0x72,0x64,0x2f,0x42,0x75,0x74,0x74,0x6f,0x6e,0x22,0x20,0x4c,0x6f,0x6f,0x6b,0x4e, +0x46,0x65,0x65,0x6c,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x2f,0x48,0x6f,0x72,0x69,0x7a,0x6f,0x6e,0x74,0x61,0x6c,0x53,0x63,0x72,0x6f, +0x6c,0x6c,0x62,0x61,0x72,0x54,0x68,0x75,0x6d,0x62,0x22,0x20,0x2f,0x3e,0x0a,0x09, +0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67, +0x20,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x4c,0x61,0x72,0x67,0x65,0x56,0x65, +0x72,0x74,0x69,0x63,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x22, +0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54,0x79,0x70,0x65, +0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x2f,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61, +0x72,0x22,0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d,0x22,0x46,0x61,0x6c, +0x61,0x67,0x61,0x72,0x64,0x2f,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x22, +0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22,0x54,0x61,0x68,0x61, +0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x4c,0x61,0x72,0x67,0x65,0x56,0x65,0x72, +0x74,0x69,0x63,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62,0x61,0x72,0x22,0x20, +0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70, +0x70,0x69,0x6e,0x67,0x20,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x4c,0x61,0x72, +0x67,0x65,0x56,0x65,0x72,0x74,0x69,0x63,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c, +0x62,0x61,0x72,0x54,0x68,0x75,0x6d,0x62,0x22,0x20,0x54,0x61,0x72,0x67,0x65,0x74, +0x54,0x79,0x70,0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x2f,0x54,0x68,0x75,0x6d, +0x62,0x22,0x20,0x20,0x20,0x20,0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d, +0x22,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x42,0x75,0x74,0x74,0x6f,0x6e, +0x22,0x20,0x20,0x20,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x4c,0x61,0x72,0x67, +0x65,0x56,0x65,0x72,0x74,0x69,0x63,0x61,0x6c,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x62, +0x61,0x72,0x54,0x68,0x75,0x6d,0x62,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61, +0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67,0x20,0x57,0x69, +0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x22, +0x20,0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54,0x79,0x70,0x65,0x3d,0x22,0x43,0x45, +0x47,0x55,0x49,0x2f,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x22,0x20,0x20, +0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d,0x22,0x46,0x61,0x6c,0x61,0x67,0x61, +0x72,0x64,0x2f,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x22,0x20,0x20,0x4c, +0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x22, +0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61, +0x70,0x70,0x69,0x6e,0x67,0x20,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x61, +0x62,0x43,0x6f,0x6e,0x74,0x72,0x6f,0x6c,0x22,0x20,0x54,0x61,0x72,0x67,0x65,0x74, +0x54,0x79,0x70,0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x2f,0x54,0x61,0x62,0x43, +0x6f,0x6e,0x74,0x72,0x6f,0x6c,0x22,0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72, +0x3d,0x22,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x54,0x61,0x62,0x43,0x6f, +0x6e,0x74,0x72,0x6f,0x6c,0x22,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x61, +0x62,0x43,0x6f,0x6e,0x74,0x72,0x6f,0x6c,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46, +0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67,0x20,0x57, +0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x61,0x62,0x43,0x6f,0x6e,0x74,0x65,0x6e, +0x74,0x50,0x61,0x6e,0x65,0x22,0x20,0x20,0x20,0x20,0x54,0x61,0x72,0x67,0x65,0x74, +0x54,0x79,0x70,0x65,0x3d,0x22,0x44,0x65,0x66,0x61,0x75,0x6c,0x74,0x57,0x69,0x6e, +0x64,0x6f,0x77,0x22,0x20,0x20,0x20,0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72, +0x3d,0x22,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x44,0x65,0x66,0x61,0x75, +0x6c,0x74,0x22,0x20,0x20,0x20,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x61, +0x62,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x50,0x61,0x6e,0x65,0x22,0x20,0x2f,0x3e, +0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69, +0x6e,0x67,0x20,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x61,0x62,0x42,0x75, +0x74,0x74,0x6f,0x6e,0x50,0x61,0x6e,0x65,0x22,0x20,0x20,0x20,0x20,0x54,0x61,0x72, +0x67,0x65,0x74,0x54,0x79,0x70,0x65,0x3d,0x22,0x44,0x65,0x66,0x61,0x75,0x6c,0x74, +0x57,0x69,0x6e,0x64,0x6f,0x77,0x22,0x20,0x20,0x20,0x20,0x52,0x65,0x6e,0x64,0x65, +0x72,0x65,0x72,0x3d,0x22,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x44,0x65, +0x66,0x61,0x75,0x6c,0x74,0x22,0x20,0x20,0x20,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46, +0x65,0x65,0x6c,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x2f,0x54,0x61,0x62,0x42,0x75,0x74,0x74,0x6f,0x6e,0x50,0x61,0x6e,0x65,0x22,0x20, +0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70, +0x70,0x69,0x6e,0x67,0x20,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d, +0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x43,0x6f,0x6d, +0x62,0x6f,0x44,0x72,0x6f,0x70,0x4c,0x69,0x73,0x74,0x22,0x20,0x54,0x61,0x72,0x67, +0x65,0x74,0x54,0x79,0x70,0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x2f,0x43,0x6f, +0x6d,0x62,0x6f,0x44,0x72,0x6f,0x70,0x4c,0x69,0x73,0x74,0x22,0x20,0x52,0x65,0x6e, +0x64,0x65,0x72,0x65,0x72,0x3d,0x22,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f, +0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x22,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65, +0x65,0x6c,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f, +0x43,0x6f,0x6d,0x62,0x6f,0x44,0x72,0x6f,0x70,0x4c,0x69,0x73,0x74,0x22,0x20,0x2f, +0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70, +0x69,0x6e,0x67,0x20,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x43,0x6f,0x6d,0x62, +0x6f,0x45,0x64,0x69,0x74,0x62,0x6f,0x78,0x22,0x20,0x20,0x54,0x61,0x72,0x67,0x65, +0x74,0x54,0x79,0x70,0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x2f,0x45,0x64,0x69, +0x74,0x62,0x6f,0x78,0x22,0x09,0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d, +0x22,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x45,0x64,0x69,0x74,0x62,0x6f, +0x78,0x22,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x43,0x6f,0x6d,0x62,0x6f,0x45, +0x64,0x69,0x74,0x62,0x6f,0x78,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c, +0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67,0x20,0x57,0x69,0x6e, +0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x2f,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x22,0x09,0x54, +0x61,0x72,0x67,0x65,0x74,0x54,0x79,0x70,0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49, +0x2f,0x43,0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x22,0x09,0x20,0x52,0x65,0x6e,0x64, +0x65,0x72,0x65,0x72,0x3d,0x22,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x44, +0x65,0x66,0x61,0x75,0x6c,0x74,0x22,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65, +0x6c,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x43, +0x6f,0x6d,0x62,0x6f,0x62,0x6f,0x78,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61, +0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67,0x20,0x57,0x69, +0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x22,0x20,0x20, +0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54, +0x79,0x70,0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x2f,0x4c,0x69,0x73,0x74,0x62, +0x6f,0x78,0x22,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x52,0x65, +0x6e,0x64,0x65,0x72,0x65,0x72,0x3d,0x22,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64, +0x2f,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x22,0x20,0x20,0x20,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x4c,0x69,0x73,0x74,0x62, +0x6f,0x78,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72, +0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67,0x20,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54, +0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x2f,0x4c,0x69,0x73,0x74,0x48,0x65,0x61,0x64,0x65,0x72,0x22,0x20,0x20,0x20,0x20, +0x20,0x20,0x20,0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54,0x79,0x70,0x65,0x3d,0x22, +0x43,0x45,0x47,0x55,0x49,0x2f,0x4c,0x69,0x73,0x74,0x48,0x65,0x61,0x64,0x65,0x72, +0x22,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65, +0x72,0x3d,0x22,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x4c,0x69,0x73,0x74, +0x48,0x65,0x61,0x64,0x65,0x72,0x22,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x4c, +0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x4c,0x69,0x73,0x74,0x48,0x65,0x61,0x64,0x65,0x72, +0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d, +0x61,0x70,0x70,0x69,0x6e,0x67,0x20,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70, +0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x4c, +0x69,0x73,0x74,0x48,0x65,0x61,0x64,0x65,0x72,0x53,0x65,0x67,0x6d,0x65,0x6e,0x74, +0x22,0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54,0x79,0x70,0x65,0x3d,0x22,0x43,0x45, +0x47,0x55,0x49,0x2f,0x4c,0x69,0x73,0x74,0x48,0x65,0x61,0x64,0x65,0x72,0x53,0x65, +0x67,0x6d,0x65,0x6e,0x74,0x22,0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d, +0x22,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x4c,0x69,0x73,0x74,0x48,0x65, +0x61,0x64,0x65,0x72,0x53,0x65,0x67,0x6d,0x65,0x6e,0x74,0x22,0x20,0x4c,0x6f,0x6f, +0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x2f,0x4c,0x69,0x73,0x74,0x48,0x65,0x61,0x64,0x65,0x72,0x53,0x65, +0x67,0x6d,0x65,0x6e,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61, +0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67,0x20,0x57,0x69,0x6e,0x64, +0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x2f,0x4d,0x75,0x6c,0x74,0x69,0x43,0x6f,0x6c,0x75,0x6d,0x6e,0x4c, +0x69,0x73,0x74,0x22,0x20,0x20,0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54,0x79,0x70, +0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x2f,0x4d,0x75,0x6c,0x74,0x69,0x43,0x6f, +0x6c,0x75,0x6d,0x6e,0x4c,0x69,0x73,0x74,0x22,0x20,0x20,0x20,0x52,0x65,0x6e,0x64, +0x65,0x72,0x65,0x72,0x3d,0x22,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x4d, +0x75,0x6c,0x74,0x69,0x43,0x6f,0x6c,0x75,0x6d,0x6e,0x4c,0x69,0x73,0x74,0x22,0x20, +0x20,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x4d,0x75,0x6c,0x74,0x69,0x43,0x6f, +0x6c,0x75,0x6d,0x6e,0x4c,0x69,0x73,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46, +0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67,0x20,0x57, +0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x6c,0x69,0x64,0x65,0x72,0x22,0x20,0x20, +0x20,0x20,0x20,0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54,0x79,0x70,0x65,0x3d,0x22, +0x43,0x45,0x47,0x55,0x49,0x2f,0x53,0x6c,0x69,0x64,0x65,0x72,0x22,0x20,0x20,0x20, +0x20,0x20,0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d,0x22,0x46,0x61,0x6c, +0x61,0x67,0x61,0x72,0x64,0x2f,0x53,0x6c,0x69,0x64,0x65,0x72,0x22,0x20,0x20,0x4c, +0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65, +0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x6c,0x69,0x64,0x65,0x72,0x22,0x20,0x2f,0x3e, +0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69, +0x6e,0x67,0x20,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x6c,0x69,0x64,0x65, +0x72,0x54,0x68,0x75,0x6d,0x62,0x22,0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54,0x79, +0x70,0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x2f,0x54,0x68,0x75,0x6d,0x62,0x22, +0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d,0x22,0x46,0x61,0x6c,0x61,0x67, +0x61,0x72,0x64,0x2f,0x42,0x75,0x74,0x74,0x6f,0x6e,0x22,0x20,0x20,0x4c,0x6f,0x6f, +0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x2f,0x53,0x6c,0x69,0x64,0x65,0x72,0x54,0x68,0x75,0x6d,0x62,0x22, +0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61, +0x70,0x70,0x69,0x6e,0x67,0x20,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x63, +0x72,0x6f,0x6c,0x6c,0x61,0x62,0x6c,0x65,0x50,0x61,0x6e,0x65,0x22,0x20,0x54,0x61, +0x72,0x67,0x65,0x74,0x54,0x79,0x70,0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x2f, +0x53,0x63,0x72,0x6f,0x6c,0x6c,0x61,0x62,0x6c,0x65,0x50,0x61,0x6e,0x65,0x22,0x20, +0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d,0x22,0x46,0x61,0x6c,0x61,0x67,0x61, +0x72,0x64,0x2f,0x53,0x63,0x72,0x6f,0x6c,0x6c,0x61,0x62,0x6c,0x65,0x50,0x61,0x6e, +0x65,0x22,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x63,0x72,0x6f,0x6c,0x6c, +0x61,0x62,0x6c,0x65,0x50,0x61,0x6e,0x65,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46, +0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67,0x20,0x57, +0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x70,0x69,0x6e,0x6e,0x65,0x72,0x22,0x20, +0x54,0x61,0x72,0x67,0x65,0x74,0x54,0x79,0x70,0x65,0x3d,0x22,0x43,0x45,0x47,0x55, +0x49,0x2f,0x53,0x70,0x69,0x6e,0x6e,0x65,0x72,0x22,0x20,0x52,0x65,0x6e,0x64,0x65, +0x72,0x65,0x72,0x3d,0x22,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x44,0x65, +0x66,0x61,0x75,0x6c,0x74,0x22,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c, +0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x70, +0x69,0x6e,0x6e,0x65,0x72,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61, +0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67,0x20,0x57,0x69,0x6e,0x64, +0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c, +0x6f,0x6f,0x6b,0x2f,0x54,0x6f,0x6f,0x6c,0x74,0x69,0x70,0x22,0x20,0x54,0x61,0x72, +0x67,0x65,0x74,0x54,0x79,0x70,0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x2f,0x54, +0x6f,0x6f,0x6c,0x74,0x69,0x70,0x22,0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72, +0x3d,0x22,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x54,0x6f,0x6f,0x6c,0x74, +0x69,0x70,0x22,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22,0x54, +0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x6f,0x6f,0x6c,0x74, +0x69,0x70,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72, +0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67,0x20,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54, +0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b, +0x2f,0x53,0x74,0x61,0x74,0x69,0x63,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x54,0x61, +0x72,0x67,0x65,0x74,0x54,0x79,0x70,0x65,0x3d,0x22,0x44,0x65,0x66,0x61,0x75,0x6c, +0x74,0x57,0x69,0x6e,0x64,0x6f,0x77,0x22,0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65, +0x72,0x3d,0x22,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x53,0x74,0x61,0x74, +0x69,0x63,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65, +0x65,0x6c,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f, +0x53,0x74,0x61,0x74,0x69,0x63,0x49,0x6d,0x61,0x67,0x65,0x22,0x20,0x2f,0x3e,0x0a, +0x09,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69,0x6e, +0x67,0x20,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54,0x61, +0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x74,0x61,0x74,0x69,0x63, +0x54,0x65,0x78,0x74,0x22,0x20,0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54,0x79,0x70, +0x65,0x3d,0x22,0x44,0x65,0x66,0x61,0x75,0x6c,0x74,0x57,0x69,0x6e,0x64,0x6f,0x77, +0x22,0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d,0x22,0x46,0x61,0x6c,0x61, +0x67,0x61,0x72,0x64,0x2f,0x53,0x74,0x61,0x74,0x69,0x63,0x54,0x65,0x78,0x74,0x22, +0x20,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x53,0x74,0x61,0x74,0x69,0x63,0x54, +0x65,0x78,0x74,0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61, +0x72,0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67,0x20,0x57,0x69,0x6e,0x64,0x6f,0x77, +0x54,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x2f,0x49,0x74,0x65,0x6d,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x22,0x20,0x54, +0x61,0x72,0x67,0x65,0x74,0x54,0x79,0x70,0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49, +0x2f,0x49,0x74,0x65,0x6d,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x22,0x20,0x52,0x65, +0x6e,0x64,0x65,0x72,0x65,0x72,0x3d,0x22,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64, +0x2f,0x49,0x74,0x65,0x6d,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x22,0x20,0x4c,0x6f, +0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x2f,0x49,0x74,0x65,0x6d,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78, +0x22,0x20,0x2f,0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d, +0x61,0x70,0x70,0x69,0x6e,0x67,0x20,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70, +0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x4c, +0x69,0x73,0x74,0x62,0x6f,0x78,0x49,0x74,0x65,0x6d,0x22,0x20,0x54,0x61,0x72,0x67, +0x65,0x74,0x54,0x79,0x70,0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x2f,0x49,0x74, +0x65,0x6d,0x45,0x6e,0x74,0x72,0x79,0x22,0x20,0x20,0x20,0x52,0x65,0x6e,0x64,0x65, +0x72,0x65,0x72,0x3d,0x22,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x49,0x74, +0x65,0x6d,0x45,0x6e,0x74,0x72,0x79,0x22,0x20,0x20,0x20,0x4c,0x6f,0x6f,0x6b,0x4e, +0x46,0x65,0x65,0x6c,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f, +0x6b,0x2f,0x4c,0x69,0x73,0x74,0x62,0x6f,0x78,0x49,0x74,0x65,0x6d,0x22,0x20,0x2f, +0x3e,0x0a,0x09,0x3c,0x46,0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70, +0x69,0x6e,0x67,0x20,0x57,0x69,0x6e,0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22, +0x54,0x61,0x68,0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x47,0x72,0x6f,0x75, +0x70,0x42,0x6f,0x78,0x22,0x20,0x54,0x61,0x72,0x67,0x65,0x74,0x54,0x79,0x70,0x65, +0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x2f,0x47,0x72,0x6f,0x75,0x70,0x42,0x6f,0x78, +0x22,0x20,0x20,0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d,0x22,0x46,0x61, +0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x44,0x65,0x66,0x61,0x75,0x6c,0x74,0x22,0x20, +0x20,0x20,0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22,0x54,0x61,0x68, +0x61,0x72,0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x47,0x72,0x6f,0x75,0x70,0x42,0x6f, +0x78,0x22,0x20,0x2f,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x46,0x61,0x6c, +0x61,0x67,0x61,0x72,0x64,0x4d,0x61,0x70,0x70,0x69,0x6e,0x67,0x20,0x57,0x69,0x6e, +0x64,0x6f,0x77,0x54,0x79,0x70,0x65,0x3d,0x22,0x54,0x61,0x68,0x61,0x72,0x65,0x7a, +0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x72,0x65,0x65,0x22,0x20,0x54,0x61,0x72,0x67,0x65, +0x74,0x54,0x79,0x70,0x65,0x3d,0x22,0x43,0x45,0x47,0x55,0x49,0x2f,0x54,0x72,0x65, +0x65,0x22,0x20,0x20,0x20,0x52,0x65,0x6e,0x64,0x65,0x72,0x65,0x72,0x3d,0x22,0x46, +0x61,0x6c,0x61,0x67,0x61,0x72,0x64,0x2f,0x54,0x72,0x65,0x65,0x22,0x20,0x20,0x20, +0x4c,0x6f,0x6f,0x6b,0x4e,0x46,0x65,0x65,0x6c,0x3d,0x22,0x54,0x61,0x68,0x61,0x72, +0x65,0x7a,0x4c,0x6f,0x6f,0x6b,0x2f,0x54,0x72,0x65,0x65,0x22,0x20,0x2f,0x3e,0x0a, +0x3c,0x2f,0x47,0x55,0x49,0x53,0x63,0x68,0x65,0x6d,0x65,0x3e,0x0a}; diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/gui/taharez_look.tga.c b/tizen/distrib/remote/server/spice-0.12.2/client/gui/taharez_look.tga.c new file mode 100644 index 0000000..2ccdb9c --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/gui/taharez_look.tga.c @@ -0,0 +1,16388 @@ +const unsigned char taharez_look_tga[] = { +0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x01, +0x20,0x08,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f, +0x35,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f, +0x35,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f, +0x35,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f, +0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f, +0x35,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f, +0x35,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0x00,0x6b,0x62, +0x53,0x00,0x45,0x3f,0x35,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x45,0x3f, +0x35,0x00,0x6b,0x62,0x53,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f, +0x35,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f, +0x35,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f, +0x35,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0x3c,0x00,0xfc,0x65,0x0d,0x00,0xfc,0x65,0x06,0x00,0xfc, +0x65,0x1d,0x00,0xfc,0x65,0x18,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x18,0x00,0xfc,0x65,0x1c,0x00,0xfc, +0x65,0x06,0x00,0xfc,0x65,0x0d,0x00,0xfc,0x65,0x37,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0x97,0x00,0xfc,0x65,0xed,0x00,0xfc,0x65,0xeb,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x18,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0x18,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xed,0x00,0xfc,0x65,0xed,0x00,0xfc,0x65,0x98,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x98,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x1c,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0x1d,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0x98,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x1c,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x47,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xed,0x00,0xfc,0x65,0x06,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0x06,0x00,0xfc,0x65,0xeb,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0x49,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x17,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xa5,0x00,0xfc,0x65,0x96,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0x50,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x49,0x00,0xfc, +0x65,0x98,0x00,0xfc,0x65,0xed,0x00,0xfc,0x65,0x0d,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0x0d,0x00,0xfc,0x65,0xed,0x00,0xfc,0x65,0x98,0x00,0xfc, +0x65,0x47,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x49,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x96,0x00,0xfc,0x65,0xa0,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xb8,0x00,0xfc,0x65,0x96,0x00,0xfc,0x65,0x8b,0x00,0xfc, +0x65,0x6a,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x49,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0x98,0x00,0xfc,0x65,0x37,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0x3c,0x00,0xfc,0x65,0x97,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0x50,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x65,0x00,0xfc, +0x65,0x84,0x00,0xfc,0x65,0x96,0x00,0xfc,0x65,0xb7,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xe7,0x00,0xfc,0x65,0xd0,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0x65,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x6a,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xd5,0x00,0xfc,0x65,0xe4,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0x39,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x48,0x00,0xfc, +0x65,0xd5,0x00,0xfc,0x65,0x84,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x8b,0x00,0xfc,0x65,0xd0,0x00,0xfc, +0x65,0x48,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x37,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x0e,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0x57,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xe4,0x00,0xfc,0x65,0x96,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x96,0x00,0xfc,0x65,0xe7,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x51,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x0e,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0x00,0x6b,0x62, +0x53,0x00,0x00,0x00,0x00,0x68,0x6b,0x62,0x53,0x00,0x00,0x00,0x00,0x68,0x00,0x00, +0x00,0x68,0x00,0x00,0x00,0x68,0x6b,0x62,0x53,0x00,0x00,0x00,0x00,0x68,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x06,0x00,0xfc, +0x65,0x9b,0x00,0xfc,0x65,0x96,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x57,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x51,0x00,0xfc,0x65,0x37,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xb7,0x00,0xfc,0x65,0x96,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0x96,0x00,0xfc,0x65,0xb8,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x39,0x00,0xfc,0x65,0x57,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x51,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x97,0x00,0xfc,0x65,0x95,0x00,0xfc, +0x65,0x05,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0x7f,0x00,0x00,0x00,0x7f,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x7f,0x00,0x00, +0x00,0x7f,0x00,0x00,0x00,0x7f,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x7f,0x00,0x00, +0x00,0x7f,0x00,0x00,0x00,0x7f,0x00,0x00,0x00,0x7f,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0x00,0x00,0x00, +0x00,0x68,0x00,0x00,0x00,0x97,0x6b,0x62,0x53,0x00,0x00,0x00,0x00,0x97,0x00,0x00, +0x00,0x97,0x00,0x00,0x00,0x97,0x6b,0x62,0x53,0x00,0x00,0x00,0x00,0x97,0x00,0x00, +0x00,0x68,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x86,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x96,0x00,0xfc,0x65,0x57,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0x51,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xa0,0x00,0xfc,0x65,0x17,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x1c,0x00,0xfc,0x65,0xa5,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x57,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0x59,0x00,0xfc,0x65,0x96,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x80,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0x7f,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0x00,0x00,0x00, +0x00,0x97,0x45,0x3f,0x35,0xff,0x6b,0x62,0x53,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x6b,0x62,0x53,0x00,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0x97,0x00,0x00,0x00,0x68,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x9a,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0x59,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x57,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x96,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0x7f,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f, +0x35,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0x97,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x0c,0x00,0xfc, +0x65,0xb9,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0x96,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x96,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xb3,0x00,0xfc, +0x65,0x09,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0x7f,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f, +0x35,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0x97,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x9b,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0x97,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x96,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x96,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x12,0x00,0xfc, +0x65,0xc7,0x00,0xfc,0x65,0x96,0x00,0xfc,0x65,0xb3,0x00,0xfc,0x65,0x96,0x00,0xfc, +0x65,0x80,0x00,0xfc,0x65,0x95,0x00,0xfc,0x65,0x0e,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0x0e,0x00,0xfc,0x65,0x9b,0x00,0xfc,0x65,0x86,0x00,0xfc, +0x65,0x9a,0x00,0xfc,0x65,0xb9,0x00,0xfc,0x65,0x9b,0x00,0xfc,0x65,0xc7,0x00,0xfc, +0x65,0x12,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0x7f,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0x97,0x00,0x00,0x00,0x68,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x12,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x09,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0x05,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x06,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0x0c,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x12,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0x7f,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0x97,0x00,0x00,0x00,0x68,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0x7f,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0x97,0x00,0x00,0x00,0x68,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0xff,0xff,0xff,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0x7f,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0x97,0x00,0x00,0x00,0x68,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0x7f,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x00,0x00, +0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0x97,0x00,0x00,0x00,0x68,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62,0x53,0x00,0x6b,0x62, +0x53,0x00,0x6b,0x62,0x53,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f, +0x35,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f, +0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f, +0x35,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f, +0x35,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x68,0x00,0x00, +0x00,0x68,0x00,0x00,0x00,0x68,0x00,0x00,0x00,0x68,0x00,0x00,0x00,0x68,0x00,0x00, +0x00,0x68,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0x68,0x00,0x00,0x00,0x68,0x00,0x00,0x00,0x68,0x00,0x00,0x00,0x68,0x00,0x00, +0x00,0x68,0x00,0x00,0x00,0x68,0x00,0x00,0x00,0x68,0x00,0x00,0x00,0x68,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x68,0x00,0x00,0x00,0x68,0x00,0x00, +0x00,0x68,0x00,0x00,0x00,0x68,0x00,0x00,0x00,0x68,0x00,0x00,0x00,0x68,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x64,0x77,0x78,0xff,0x00,0x00, +0x00,0x68,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0x00,0x00,0x00,0xff,0x64,0x77, +0x78,0xff,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0x00,0x00, +0x00,0xff,0x64,0x77,0x78,0xff,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0xff,0x61,0x58,0x4b,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x61,0x58,0x4b,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x61,0x58, +0x4b,0xff,0x61,0x58,0x4b,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x61,0x58,0x4b,0xff,0x79,0x6f,0x5e,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x79,0x6f,0x5e,0xff,0x61,0x58,0x4b,0xff,0xff,0xff,0xff,0x00,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x61,0x58,0x4b,0xff,0x79,0x6f, +0x5e,0xff,0x79,0x6f,0x5e,0xff,0x61,0x58,0x4b,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0xff,0x61,0x58,0x4b,0xff,0x79,0x6f,0x5e,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x79,0x6f, +0x5e,0xff,0x61,0x58,0x4b,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x61,0x58,0x4b,0xff,0x79,0x6f,0x5e,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x79,0x6f,0x5e,0xff,0x61,0x58,0x4b,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x61,0x58,0x4b,0xff,0x79,0x6f, +0x5e,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x79,0x6f,0x5e,0xff,0x61,0x58, +0x4b,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62, +0x53,0xff,0x61,0x58,0x4b,0xff,0x79,0x6f,0x5e,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x79,0x6f,0x5e,0xff,0x61,0x58, +0x4b,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x61,0x58, +0x4b,0xff,0x79,0x6f,0x5e,0xff,0x79,0x6f,0x5e,0xff,0x61,0x58,0x4b,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0x61,0x58, +0x4b,0xff,0x79,0x6f,0x5e,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x79,0x6f, +0x5e,0xff,0x61,0x58,0x4b,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x61,0x58,0x4b,0xff,0x61,0x58,0x4b,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62, +0x53,0xff,0x61,0x58,0x4b,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x61,0x58, +0x4b,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x6b,0x62, +0x53,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x40,0x00,0xfc,0x65,0x40,0x00,0xfc, +0x65,0x40,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x40,0x00,0xfc,0x65,0x40,0x00,0xfc, +0x65,0x40,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x4d,0x45,0x3b,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x4d,0x45, +0x3b,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x40,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x40,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x56,0x4f,0x42,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x56,0x4f,0x42,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff, +0xff,0x00,0xc7,0xec,0xef,0x00,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x40,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x40,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x63,0x5b,0x4b,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0xe1,0xd5,0xc1,0xff,0x56,0x4f,0x42,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x56,0x4f, +0x42,0xff,0xe1,0xd5,0xc1,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x63,0x5b,0x4b,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff, +0xff,0x00,0xc7,0xec,0xef,0x00,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x40,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x40,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x71,0x66,0x56,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0x56,0x4f,0x42,0xff,0xe1,0xd5,0xc1,0xff,0x56,0x4f, +0x42,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x56,0x4f,0x42,0xff,0xe1,0xd5, +0xc1,0xff,0x56,0x4f,0x42,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x71,0x66,0x56,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x40,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x40,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x7f,0x74,0x61,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x56,0x4f,0x42,0xff,0xe1,0xd5, +0xc1,0xff,0x56,0x4f,0x42,0xff,0x56,0x4f,0x42,0xff,0xe1,0xd5,0xc1,0xff,0x56,0x4f, +0x42,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x7f,0x74,0x61,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x40,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x40,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x8e,0x81,0x6c,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x56,0x4f, +0x42,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x56,0x4f,0x42,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x8e,0x81,0x6c,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x40,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x40,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x9b,0x8d,0x76,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x56,0x4f, +0x42,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x56,0x4f,0x42,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x9b,0x8d,0x76,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x40,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x40,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xa7,0x99,0x7f,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x56,0x4f,0x42,0xff,0xe1,0xd5, +0xc1,0xff,0x56,0x4f,0x42,0xff,0x56,0x4f,0x42,0xff,0xe1,0xd5,0xc1,0xff,0x56,0x4f, +0x42,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0xa7,0x99,0x7f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x40,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x40,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb2,0xa2,0x88,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0x56,0x4f,0x42,0xff,0xe1,0xd5,0xc1,0xff,0x56,0x4f, +0x42,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x56,0x4f,0x42,0xff,0xe1,0xd5, +0xc1,0xff,0x56,0x4f,0x42,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0xb2,0xa2,0x88,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x53,0x4b,0x3f,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x40,0x00,0xfc,0x65,0x40,0x00,0xfc, +0x65,0x40,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x40,0x00,0xfc,0x65,0x40,0x00,0xfc, +0x65,0x40,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0xe1,0xd5,0xc1,0xff,0x56,0x4f,0x42,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x56,0x4f, +0x42,0xff,0xe1,0xd5,0xc1,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x7f,0x74,0x61,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0x61,0x58,0x4b,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb1,0xa2,0x87,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0xb1,0xa2,0x87,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x01,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x96,0x8a,0x73,0xff,0x68,0x5e, +0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0x97,0x89,0x73,0xff,0x68,0x5e, +0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x01,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0xab,0x9c, +0x83,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xb9,0xa9, +0x8d,0xff,0xab,0x9c,0x83,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x6b,0x62, +0x53,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x0c,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x68,0x5e, +0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e, +0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x64,0x77,0x78,0xff,0x00,0x00,0x00,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x09,0x08,0x07,0x0a,0x16,0x14, +0x10,0x16,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x23,0x20,0x1b,0x24,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x64,0x77,0x78,0xff,0x00,0x00, +0x00,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe,0xff,0xff,0xc3,0xfe, +0xff,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x68,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x4f,0x48,0x3c,0x50,0x49,0x43,0x39,0x4a,0x8e,0x81, +0x69,0x8f,0x6e,0x65,0x56,0x6e,0x3f,0x3a,0x32,0x40,0x74,0x69,0x56,0x74,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x40,0x00,0xfc,0x65,0x40,0x00,0xfc,0x65,0x40,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x77, +0x78,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xbb,0xab,0x8f,0xbb,0xd1,0xc7,0xb4,0xff,0xce,0xc1, +0xa9,0xff,0xd8,0xca,0xb3,0xff,0xe2,0xd6,0xc2,0xe3,0x2c,0x29,0x23,0x2c,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x40,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x40,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x4d,0x45,0x3b,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x4d,0x45, +0x3b,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xc4,0xb5,0x9a,0xc5,0xe8,0xdd,0xca,0xff,0xe6,0xdb, +0xc8,0xff,0xe1,0xd5,0xc1,0xff,0x39,0x36,0x31,0x3a,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x40,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x40,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x56,0x4f,0x42,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x8c,0x83,0x70,0xff,0x8c,0x83,0x70,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x8c,0x83,0x70,0xff,0x8c,0x83,0x70,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x56,0x4f,0x42,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xc6,0xb7,0x9d,0xc7,0xe3,0xd7,0xc3,0xff,0xe1,0xd5, +0xc1,0xff,0x8a,0x7f,0x6c,0xff,0x44,0x41,0x3a,0x44,0x0b,0x0a,0x09,0x0c,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x80,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x40,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x40,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x80,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x63,0x5b,0x4b,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x8c,0x83,0x70,0xff,0xe1,0xd5,0xc1,0xff,0x8c,0x83,0x70,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x8c,0x83, +0x70,0xff,0xe1,0xd5,0xc1,0xff,0x8c,0x83,0x70,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x63,0x5b,0x4b,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xc6,0xb7,0x9d,0xc7,0xe3,0xd7,0xc3,0xe3,0x52,0x4e, +0x46,0x52,0x7f,0x74,0x64,0x81,0xe1,0xd5,0xc1,0xff,0x71,0x6b,0x61,0x72,0xff,0xff, +0xff,0x00,0x23,0x21,0x1e,0x24,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x80,0x00,0xfc,0x65,0x80,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x40,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x40,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0x80,0x00,0xfc,0x65,0x80,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x71,0x66,0x56,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x8c,0x83,0x70,0xff,0xe1,0xd5,0xc1,0xff,0x8c,0x83, +0x70,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x8c,0x83,0x70,0xff,0xe1,0xd5, +0xc1,0xff,0x8c,0x83,0x70,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x71,0x66,0x56,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xb9,0xa9,0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xc5,0xb6,0x9c,0xc5,0x41,0x3e,0x38,0x42,0xff,0xff, +0xff,0x00,0x6c,0x67,0x5d,0x6c,0xe1,0xd5,0xc1,0xff,0xc7,0xbd,0xab,0xff,0x54,0x4f, +0x48,0xff,0xaa,0xa1,0x92,0xab,0x37,0x34,0x2f,0x38,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x80,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x40,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x40,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x80,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x7f,0x74,0x61,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x8c,0x83,0x70,0xff,0xe1,0xd5, +0xc1,0xff,0x8c,0x83,0x70,0xff,0x8c,0x83,0x70,0xff,0xe1,0xd5,0xc1,0xff,0x8c,0x83, +0x70,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x7f,0x74,0x61,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xb9,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5, +0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xb9,0xa9,0x8d,0xb9,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x37,0x32,0x2a,0x38,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x12,0x11,0x10,0x12,0x65,0x60,0x57,0x66,0xe1,0xd5,0xc1,0xe1,0xd8,0xcd, +0xb9,0xff,0xdd,0xd2,0xbe,0xff,0x52,0x4e,0x46,0x52,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0x80,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x80,0x00,0xfc, +0x65,0x40,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x40,0x00,0xfc,0x65,0x80,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0x80,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x8e,0x81,0x6c,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x8c,0x83, +0x70,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x8c,0x83,0x70,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x8e,0x81,0x6c,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0x6b,0x62,0x53,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x6b,0x62,0x53,0xff,0xe1,0xd5, +0xc1,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc9,0xa5, +0x68,0xdd,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xe1,0x86,0x7b,0x68,0x87,0x86,0x7b, +0x68,0x87,0x86,0x7b,0x68,0x87,0x86,0x7b,0x68,0x87,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5, +0xc1,0xe1,0x86,0x7b,0x68,0x87,0x86,0x7b,0x68,0x87,0x86,0x7b,0x68,0x87,0x86,0x7b, +0x68,0x87,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xe1,0xb9,0xa9, +0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x58,0x54,0x4c,0x58,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x20,0x1e,0x19,0x20,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x9b,0x8d,0x76,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x8c,0x83, +0x70,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x8c,0x83,0x70,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x9b,0x8d,0x76,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xad,0x9f, +0x84,0xff,0xad,0x9e,0x85,0xff,0xad,0x9f,0x84,0xff,0xad,0x9e,0x85,0xff,0xad,0x9f, +0x84,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x6b,0x62, +0x53,0xff,0xe1,0xd5,0xc1,0xff,0x6b,0x62,0x53,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x6b,0x62,0x53,0xff,0xe1,0xd5,0xc1,0xff,0x6b,0x62, +0x53,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xbf,0xb0, +0x97,0xc8,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x01,0x01, +0x01,0x02,0x01,0x01,0x01,0xff,0x07,0x06,0x04,0xff,0x07,0x06,0x04,0xff,0x07,0x06, +0x04,0xff,0x03,0x02,0x02,0xff,0x06,0x05,0x03,0xff,0x06,0x05,0x03,0xff,0x06,0x05, +0x03,0x06,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xe1,0x86,0x7b,0x68,0x87,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0x86,0x7b, +0x68,0x87,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xe1,0xb9,0xa9, +0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x89,0x81,0x75,0x89,0x98,0x90, +0x83,0x99,0xd8,0xcd,0xb9,0xff,0xc9,0xbe,0xad,0xc9,0x69,0x64,0x5b,0x6a,0x12,0x11, +0x10,0x12,0xff,0xff,0xff,0x00,0x79,0x71,0x62,0x7a,0x3c,0x36,0x2d,0x3c,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x80,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0x80,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xa7,0x99,0x7f,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x8c,0x83,0x70,0xff,0xe1,0xd5, +0xc1,0xff,0x8c,0x83,0x70,0xff,0x8c,0x83,0x70,0xff,0xe1,0xd5,0xc1,0xff,0x8c,0x83, +0x70,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xa7,0x99,0x7f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x9c,0x8e,0x77,0xff,0x9b,0x8e, +0x77,0xff,0x9b,0x8e,0x77,0xff,0x9c,0x8e,0x77,0xff,0x9b,0x8e,0x77,0xff,0x9c,0x8e, +0x77,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x7b,0x70,0x5f,0xff,0x7b,0x70,0x5f,0xff,0x7b,0x71,0x5e,0xff,0x7b,0x70, +0x5f,0xff,0x7b,0x71,0x5f,0xff,0x7b,0x71,0x5f,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x6b,0x62,0x53,0xff,0xe1,0xd5,0xc1,0xff,0x6b,0x62,0x53,0xff,0x00,0x00, +0x00,0xff,0x6b,0x62,0x53,0xff,0xe1,0xd5,0xc1,0xff,0x6b,0x62,0x53,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xdf,0xde,0xde,0xe1,0xbf,0xb0, +0x97,0xdc,0xc9,0xa5,0x68,0xe8,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xc9,0xa5,0x68,0xf1,0xc9,0xa5,0x68,0xe3,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x02,0x02,0x01,0x02,0x0d,0x0a, +0x07,0x0e,0x27,0x21,0x16,0xff,0x24,0x1e,0x13,0xff,0x37,0x31,0x25,0xff,0x23,0x1e, +0x16,0xff,0x0c,0x0a,0x06,0xff,0x2d,0x24,0x18,0xff,0x44,0x3b,0x2f,0xff,0x2d,0x24, +0x18,0x2e,0x16,0x12,0x0c,0x16,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xb9,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5, +0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xb9,0xa9,0x8d,0xb9,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x27,0x25,0x22,0x28,0xff,0xff, +0xff,0x00,0x5a,0x55,0x4d,0xff,0xd5,0xca,0xb7,0xff,0xd0,0xc4,0xb0,0xff,0x54,0x4e, +0x45,0x54,0x8b,0x84,0x78,0x8b,0xdb,0xce,0xb9,0xdb,0x36,0x31,0x29,0x36,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb2,0xa2,0x88,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x8c,0x83,0x70,0xff,0xe1,0xd5,0xc1,0xff,0x8c,0x83, +0x70,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x8c,0x83,0x70,0xff,0xe1,0xd5, +0xc1,0xff,0x8c,0x83,0x70,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb2,0xa2,0x88,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x88,0x7d,0x69,0xff,0x88,0x7d,0x69,0xff,0x88,0x7d, +0x69,0xff,0x88,0x7d,0x68,0xff,0x88,0x7c,0x69,0xff,0x89,0x7c,0x69,0xff,0x89,0x7d, +0x69,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x92,0x86, +0x70,0xff,0x92,0x85,0x70,0xff,0x92,0x85,0x70,0xff,0x92,0x85,0x70,0xff,0x92,0x85, +0x70,0xff,0x92,0x86,0x70,0xff,0x92,0x86,0x70,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x6b,0x62,0x53,0xff,0xe1,0xd5,0xc1,0xff,0x6b,0x62, +0x53,0xff,0xe1,0xd5,0xc1,0xff,0x6b,0x62,0x53,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xdf,0xde,0xde,0xee,0xf8,0xed, +0xda,0xff,0xbf,0xb0,0x97,0xc8,0xc9,0xa5,0x68,0xd7,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xc9,0xa5,0x68,0xf1,0xbf,0xb0,0x97,0xe0,0xbf,0xb0,0x97,0xd1,0xc9,0xa5, +0x68,0xdc,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x03,0x02,0x01,0x04,0x13,0x0f,0x0a,0x14,0x31,0x29, +0x1d,0xff,0x4f,0x46,0x39,0xff,0x8d,0x84,0x76,0xff,0x73,0x6a,0x5c,0xff,0x42,0x3b, +0x31,0xff,0x2f,0x26,0x19,0xff,0x5b,0x52,0x45,0xff,0xd1,0xc8,0xba,0xff,0x80,0x77, +0x6a,0xff,0x1a,0x15,0x0e,0x1a,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xb9,0xa9,0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x05,0x05,0x05,0x06,0x6d,0x67,0x5e,0x6e,0x87,0x7c,0x69,0x87,0xae,0xa4, +0x92,0xff,0xe1,0xd5,0xc1,0xff,0xd7,0xca,0xb4,0xff,0x36,0x31,0x29,0x36,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0x80,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x80,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x8c,0x83,0x70,0xff,0xe1,0xd5,0xc1,0xff,0x8c,0x83,0x70,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x8c,0x83, +0x70,0xff,0xe1,0xd5,0xc1,0xff,0x8c,0x83,0x70,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x77,0x6d,0x5c,0xff,0x77,0x6d,0x5c,0xff,0x77,0x6d,0x5c,0xff,0x77,0x6d, +0x5c,0xff,0x77,0x6d,0x5c,0xff,0x77,0x6d,0x5c,0xff,0x77,0x6d,0x5c,0xff,0x77,0x6c, +0x5b,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xa9,0x9a,0x81,0xff,0xa9,0x9a, +0x81,0xff,0xa9,0x9a,0x81,0xff,0xa9,0x9a,0x81,0xff,0xa9,0x9a,0x82,0xff,0xa9,0x9a, +0x81,0xff,0xa9,0x9a,0x81,0xff,0xa9,0x9b,0x81,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x6b,0x62,0x53,0xff,0xe1,0xd5, +0xc1,0xff,0x6b,0x62,0x53,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xdf,0xde,0xde,0xeb,0xf8,0xed, +0xda,0xff,0xbf,0xb0,0x97,0xc8,0xc9,0xa5,0x68,0xd7,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc9,0xa5,0x68,0xe7,0xbf,0xb0, +0x97,0xde,0xbf,0xb0,0x97,0xe0,0xf8,0xed,0xda,0xff,0xf8,0xed,0xda,0xff,0xbf,0xb0, +0x97,0xc8,0xbf,0xb0,0x97,0xc8,0xc9,0xa5,0x68,0xdc,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x04,0x03,0x02,0x04,0x18,0x13,0x0d,0x18,0x35,0x2d,0x20,0xff,0x5f,0x56, +0x49,0xff,0x9e,0x95,0x87,0xff,0xa8,0x9f,0x91,0xff,0x89,0x80,0x72,0xff,0x35,0x2c, +0x1f,0xff,0x73,0x6a,0x5c,0xff,0xda,0xd1,0xc3,0xff,0xda,0xd1,0xc3,0xff,0x8e,0x85, +0x77,0xff,0x1a,0x15,0x0e,0x1a,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xba,0xaf,0x9c,0xbb,0xea,0xdf, +0xcb,0xff,0xe1,0xd5,0xc1,0xff,0xda,0xce,0xb8,0xff,0x3a,0x35,0x2c,0x3a,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x8c,0x83,0x70,0xff,0x8c,0x83,0x70,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x8c,0x83,0x70,0xff,0x8c,0x83,0x70,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x6b,0x62,0x53,0xff,0xe1,0xd5,0xc1,0xff,0x6b,0x62, +0x53,0xff,0xe1,0xd5,0xc1,0xff,0x6b,0x62,0x53,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xdf,0xde,0xde,0xfb,0xbf,0xb0, +0x97,0xdc,0xc9,0xa5,0x68,0xe8,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xdf,0xde,0xde,0xdf,0xdf,0xde,0xde,0xdf,0xdf,0xde,0xde,0xe1,0xdf,0xde, +0xde,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x01,0x01,0x00,0x02,0x06,0x05, +0x03,0x06,0x1e,0x18,0x10,0x1e,0x38,0x2f,0x22,0xff,0x6c,0x63,0x55,0xff,0xa7,0x9e, +0x90,0xff,0xa8,0x9f,0x91,0xff,0x74,0x6b,0x5e,0xff,0x39,0x30,0x23,0xff,0x8a,0x81, +0x74,0xff,0xda,0xd1,0xc3,0xff,0xda,0xd1,0xc3,0xff,0x8a,0x81,0x74,0xff,0x2f,0x26, +0x19,0x30,0x1a,0x15,0x0e,0x1a,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x96,0x8d,0x7f,0x97,0xe0,0xd3,0xbc,0xe1,0xe5,0xda, +0xc6,0xff,0xe2,0xd6,0xc2,0xff,0xcb,0xbd,0xa5,0xff,0x31,0x2c,0x25,0x32,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0xff,0x00,0xfc, +0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc, +0x65,0x80,0x00,0xfc,0x65,0xff,0x00,0xfc,0x65,0x80,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb1,0xa2,0x87,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb1,0xa2,0x87,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xe1,0xd5,0xc1,0xff,0x6b,0x62,0x53,0xff,0x00,0x00, +0x00,0xff,0x6b,0x62,0x53,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xbf,0xb0, +0x97,0xc8,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x01,0x01,0x01,0x02,0x08,0x07,0x05,0x08,0x25,0x1e, +0x14,0xff,0x3e,0x35,0x28,0xff,0x79,0x70,0x62,0xff,0xa8,0x9f,0x91,0xff,0xa2,0x99, +0x8b,0xff,0x68,0x5f,0x51,0xff,0x2f,0x26,0x19,0xff,0xa2,0x99,0x8c,0xff,0xda,0xd1, +0xc3,0xff,0xda,0xd1,0xc3,0xff,0x73,0x6a,0x5c,0xff,0x2f,0x26,0x19,0x30,0x19,0x14, +0x0d,0x1a,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x1a,0x18,0x14,0x1a,0xa4,0x98,0x84,0xa5,0xba,0xaa,0x8e,0xbb,0x7a,0x70, +0x60,0x7a,0x7c,0x74,0x66,0x7c,0xa4,0x95,0x7b,0xa5,0x07,0x07,0x06,0x08,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc9,0xa5, +0x68,0xdd,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x02,0x01,0x01,0x02,0x0d,0x0a,0x07,0x0e,0x2a,0x23,0x18,0xff,0x45,0x3c, +0x2f,0xff,0x86,0x7d,0x6f,0xff,0xa8,0x9f,0x91,0xff,0x99,0x90,0x82,0xff,0x5b,0x52, +0x45,0xff,0x41,0x38,0x2b,0xff,0xb8,0xaf,0xa2,0xff,0xda,0xd1,0xc3,0xff,0xd1,0xc8, +0xba,0xff,0x5b,0x52,0x45,0xff,0x2f,0x26,0x19,0x30,0x13,0x0f,0x0a,0x14,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x1d,0x1b,0x16,0x1e,0xff,0xff,0xff,0x00,0x30,0x2b,0x24,0x30,0x24,0x20, +0x1a,0x24,0xff,0xff,0xff,0x00,0x19,0x16,0x13,0x1a,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0xfc,0x65,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0xfc,0x65,0x80,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x02,0x02, +0x01,0x02,0x11,0x0e,0x09,0x12,0x2f,0x27,0x1c,0xff,0x4f,0x46,0x39,0xff,0x92,0x89, +0x7b,0xff,0xa8,0x9f,0x91,0xff,0x8f,0x86,0x79,0xff,0x52,0x49,0x3c,0xff,0x56,0x4d, +0x40,0xff,0xcd,0xc4,0xb6,0xff,0xda,0xd1,0xc3,0xff,0xbe,0xb5,0xa7,0xff,0x4b,0x42, +0x35,0xff,0x2d,0x24,0x18,0x2e,0x0c,0x0a,0x06,0x0c,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x03,0x03,0x02,0x04,0x16,0x12, +0x0c,0x16,0x33,0x2a,0x1e,0xff,0x5c,0x53,0x45,0xff,0x9c,0x93,0x85,0xff,0xa8,0x9f, +0x91,0xff,0x84,0x7b,0x6d,0xff,0x46,0x3d,0x30,0xff,0x6d,0x64,0x56,0xff,0xda,0xd1, +0xc3,0xff,0xda,0xd1,0xc3,0xff,0xa8,0x9f,0x91,0xff,0x38,0x2f,0x22,0xff,0x27,0x20, +0x15,0x28,0x08,0x06,0x04,0x08,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x13,0x10, +0x0a,0x14,0x13,0x10,0x0a,0x14,0x13,0x10,0x0a,0x14,0x1b,0x16,0x0f,0x1c,0x37,0x2e, +0x21,0xff,0x68,0x5f,0x52,0xff,0xa3,0x9a,0x8c,0xff,0xa8,0x9f,0x91,0xff,0x78,0x6f, +0x61,0xff,0x3b,0x32,0x25,0xff,0x85,0x7c,0x6e,0xff,0xda,0xd1,0xc3,0xff,0xda,0xd1, +0xc3,0xff,0x90,0x87,0x7a,0xff,0x2f,0x26,0x19,0x30,0x21,0x1b,0x12,0x22,0x02,0x02, +0x01,0x02,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5, +0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xb9,0xa9,0x8d,0xb9,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xb9,0xa9,0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x55,0x4d,0x41,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x55,0x4d,0x41,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x14,0x10,0x0b,0x14,0x2f,0x26, +0x19,0x30,0x61,0x58,0x4a,0xff,0x4c,0x43,0x36,0xff,0x39,0x30,0x23,0xff,0x75,0x6c, +0x5f,0xff,0xa8,0x9f,0x91,0xff,0xa3,0x9a,0x8c,0xff,0x6b,0x62,0x54,0xff,0x31,0x28, +0x1b,0xff,0x9c,0x93,0x86,0xff,0xda,0xd1,0xc3,0xff,0xda,0xd1,0xc3,0xff,0x79,0x70, +0x62,0xff,0x2f,0x26,0x19,0x30,0x1b,0x16,0x0e,0x1c,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xb9,0xa9, +0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xb9,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xb9,0xa9,0x8d,0xb9,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x5a,0x52,0x44,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x5a,0x52, +0x44,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x0b,0x09,0x06,0x0c,0x2b,0x23,0x17,0x2c,0x63,0x5a, +0x4d,0xff,0xa8,0x9f,0x91,0xff,0x9d,0x94,0x86,0xff,0x82,0x79,0x6b,0xff,0xa8,0x9f, +0x91,0xff,0x9c,0x93,0x85,0xff,0x61,0x58,0x4b,0xff,0x3c,0x33,0x26,0xff,0xb3,0xaa, +0x9c,0xff,0xda,0xd1,0xc3,0xff,0xd6,0xcd,0xbf,0xff,0x67,0x5e,0x50,0xff,0x2f,0x26, +0x19,0x30,0x14,0x10,0x0b,0x14,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x13,0x12,0x10,0x14,0x57,0x53, +0x4b,0x58,0x93,0x8b,0x7e,0x93,0xc2,0xb8,0xa7,0xc3,0xe1,0xd5,0xc1,0xe1,0xc2,0xb8, +0xa7,0xc3,0x93,0x8b,0x7e,0x93,0x57,0x53,0x4b,0x58,0x13,0x12,0x10,0x14,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xb9,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xe1,0xb9,0xa9,0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xe1,0xb9,0xa9, +0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x5f,0x57,0x49,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x5f,0x57,0x49,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x4d,0x45,0x3b,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x4d,0x45, +0x3b,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0x6b,0x62,0x53,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x1f,0x19,0x11,0x20,0x4b,0x42,0x35,0xff,0x9f,0x96, +0x88,0xff,0xa8,0x9f,0x91,0xff,0xa8,0x9f,0x91,0xff,0xa8,0x9f,0x91,0xff,0x92,0x89, +0x7b,0xff,0x55,0x4c,0x3f,0xff,0x51,0x48,0x3a,0xff,0xc8,0xbf,0xb1,0xff,0xda,0xd1, +0xc3,0xff,0xc3,0xba,0xac,0xff,0x51,0x48,0x3a,0xff,0x2e,0x25,0x18,0x2e,0x0f,0x0c, +0x08,0x10,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x3b,0x38,0x33,0x3c,0x8f,0x87,0x7b,0x8f,0x8a,0x82, +0x76,0x8b,0x4e,0x4a,0x43,0x4e,0x1f,0x1d,0x1a,0x20,0xe1,0xd5,0xc1,0xe1,0x1f,0x1d, +0x1a,0x20,0x4e,0x4a,0x43,0x4e,0x8a,0x82,0x76,0x8b,0x8f,0x87,0x7b,0x8f,0x3b,0x38, +0x33,0x3c,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xb9,0xa9,0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5, +0xc1,0xe1,0xb9,0xa9,0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x23,0x20,0x1b,0x24,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x16,0x14,0x10,0x16,0x09,0x08,0x07,0x0a,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x65,0x5c, +0x4e,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x65,0x5c,0x4e,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x56,0x4f,0x42,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x56,0x4f,0x42,0xff,0x56,0x4f,0x42,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x56,0x4f,0x42,0xff,0x56,0x4f,0x42,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x56,0x4f,0x42,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x6b,0x62, +0x53,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x6b,0x62, +0x53,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x15,0x11,0x0b,0x16,0x30,0x27,0x1a,0x30,0x80,0x77,0x69,0xff,0xa8,0x9f, +0x91,0xff,0xa8,0x9f,0x91,0xff,0xa3,0x9a,0x8c,0xff,0x85,0x7c,0x6e,0xff,0x49,0x40, +0x32,0xff,0x67,0x5e,0x50,0xff,0xd6,0xcd,0xbf,0xff,0xda,0xd1,0xc3,0xff,0xae,0xa5, +0x97,0xff,0x3c,0x33,0x26,0xff,0x29,0x21,0x16,0x2a,0x09,0x07,0x05,0x0a,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x3b,0x38,0x33,0x3c,0x83,0x7c,0x70,0x83,0x46,0x42,0x3c,0x46,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x46,0x42,0x3c,0x46,0x83,0x7c, +0x70,0x83,0x3b,0x38,0x33,0x3c,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0x87,0x86,0x7b,0x68,0x87,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x86,0x7b,0x68,0x87,0x86,0x7b,0x68,0x87,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x74,0x69,0x56,0x74,0x3f,0x3a, +0x32,0x40,0x6e,0x65,0x56,0x6e,0x8e,0x81,0x69,0x8f,0x49,0x43,0x39,0x4a,0x4f,0x48, +0x3c,0x50,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x52,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x6b,0x62,0x52,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x63,0x5b,0x4b,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x56,0x4f,0x42,0xff,0xb9,0xa9,0x8d,0xff,0x56,0x4f,0x42,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x56,0x4f, +0x42,0xff,0xb9,0xa9,0x8d,0xff,0x56,0x4f,0x42,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x63,0x5b,0x4b,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x6b,0x62,0x53,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0x6b,0x62,0x53,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x6b,0x62,0x53,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x0d,0x0b, +0x07,0x0e,0x2b,0x23,0x17,0x2c,0x66,0x5d,0x4f,0xff,0xa8,0x9f,0x91,0xff,0xa8,0x9f, +0x91,0xff,0xa1,0x98,0x8a,0xff,0x7c,0x73,0x65,0xff,0x3d,0x34,0x27,0xff,0x7f,0x76, +0x68,0xff,0xda,0xd1,0xc3,0xff,0xda,0xd1,0xc3,0xff,0x96,0x8d,0x80,0xff,0x2f,0x26, +0x19,0x30,0x23,0x1c,0x13,0x24,0x04,0x03,0x02,0x04,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x13,0x12, +0x10,0x14,0x8f,0x87,0x7b,0x8f,0x46,0x42,0x3c,0x46,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x46,0x42, +0x3c,0x46,0x8f,0x87,0x7b,0x8f,0x13,0x12,0x10,0x14,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xe1,0x86,0x7b,0x68,0x87,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0x86,0x7b,0x68,0x87,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x2c,0x29,0x23,0x2c,0xe2,0xd6, +0xc2,0xe3,0xd8,0xca,0xb3,0xff,0xce,0xc1,0xa9,0xff,0xd1,0xc7,0xb4,0xff,0xbb,0xab, +0x8f,0xbb,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x72,0x68,0x57,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x72,0x68,0x57,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x71,0x66,0x56,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x56,0x4f,0x42,0xff,0xb9,0xa9,0x8d,0xff,0x56,0x4f, +0x42,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x56,0x4f,0x42,0xff,0xb9,0xa9, +0x8d,0xff,0x56,0x4f,0x42,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x71,0x66,0x56,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0x6b,0x62,0x53,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0x6b,0x62,0x53,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x6b,0x62,0x53,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x05,0x04,0x03,0x06,0x26,0x1f, +0x15,0x26,0x52,0x49,0x3b,0xff,0x9e,0x95,0x87,0xff,0xa8,0x9f,0x91,0xff,0x9f,0x96, +0x88,0xff,0x70,0x67,0x59,0xff,0x33,0x2a,0x1d,0xff,0x96,0x8d,0x80,0xff,0xda,0xd1, +0xc3,0xff,0xda,0xd1,0xc3,0xff,0xce,0xc5,0xb7,0xff,0x2f,0x26,0x19,0xff,0x1c,0x17, +0x0f,0x1c,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x57,0x53, +0x4b,0x58,0x8a,0x82,0x76,0x8b,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x8a,0x82,0x76,0x8b,0x57,0x53,0x4b,0x58,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xb9,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xe1,0x86,0x7b,0x68,0x87,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xe1,0xb9,0xa9,0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0x86,0x7b,0x68,0x87,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x39,0x36, +0x31,0x3a,0xe1,0xd5,0xc1,0xff,0xe6,0xdb,0xc8,0xff,0xe8,0xdd,0xca,0xff,0xc4,0xb5, +0x9a,0xc5,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x78,0x6e,0x5c,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x78,0x6e,0x5c,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x7f,0x74,0x61,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x56,0x4f,0x42,0xff,0xb9,0xa9, +0x8d,0xff,0x56,0x4f,0x42,0xff,0x56,0x4f,0x42,0xff,0xb9,0xa9,0x8d,0xff,0x56,0x4f, +0x42,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x7f,0x74,0x61,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0x6b,0x62,0x53,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x6b,0x62, +0x53,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x6b,0x62,0x53,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x01,0x01,0x00,0x02,0x1f,0x19,0x10,0x20,0x3c,0x33, +0x26,0xff,0x8f,0x86,0x79,0xff,0xa8,0x9f,0x91,0xff,0x9a,0x91,0x83,0xff,0x63,0x5a, +0x4d,0xff,0x38,0x2f,0x22,0xff,0xa8,0x9f,0x91,0xff,0xda,0xd1,0xc3,0xff,0xda,0xd1, +0xc3,0xff,0xda,0xd1,0xc3,0xff,0xb0,0xa7,0x9a,0xff,0x2c,0x23,0x17,0xff,0x06,0x05, +0x03,0x06,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x93,0x8b, +0x7e,0x93,0x4e,0x4a,0x43,0x4e,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x4e,0x4a,0x43,0x4e,0x93,0x8b,0x7e,0x93,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xe1,0x86,0x7b,0x68,0x87,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xb9,0xa9,0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0x86,0x7b,0x68,0x87,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x0b,0x0a,0x09,0x0c,0x44,0x41, +0x3a,0x44,0x8a,0x7f,0x6c,0xff,0xe1,0xd5,0xc1,0xff,0xe3,0xd7,0xc3,0xff,0xc6,0xb7, +0x9d,0xc7,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x7f,0x74,0x61,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x7f,0x74,0x61,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x8e,0x81,0x6c,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x56,0x4f, +0x42,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x56,0x4f,0x42,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x8e,0x81,0x6c,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x6b,0x62, +0x53,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x6b,0x62,0x53,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x6b,0x62, +0x53,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x01,0x01,0x01,0x02,0x17,0x13,0x0c,0x18,0x31,0x28,0x1b,0xff,0x7e,0x75, +0x68,0xff,0xa8,0x9f,0x91,0xff,0x94,0x8b,0x7d,0xff,0x57,0x4e,0x41,0xff,0x4b,0x42, +0x35,0xff,0xbe,0xb5,0xa7,0xff,0xda,0xd1,0xc3,0xff,0xda,0xd1,0xc3,0xff,0xda,0xd1, +0xc3,0xff,0xda,0xd1,0xc3,0xff,0xa3,0x9a,0x8c,0xff,0x46,0x3d,0x30,0xff,0x06,0x05, +0x03,0x06,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc2,0xb8, +0xa7,0xc3,0x1f,0x1d,0x1a,0x20,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x1f,0x1d,0x1a,0x20,0xc2,0xb8,0xa7,0xc3,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xe1,0x86,0x7b,0x68,0x87,0x86,0x7b,0x68,0x87,0x86,0x7b, +0x68,0x87,0x86,0x7b,0x68,0x87,0xe1,0xd5,0xc1,0xe1,0x86,0x7b,0x68,0x87,0x86,0x7b, +0x68,0x87,0x86,0x7b,0x68,0x87,0x86,0x7b,0x68,0x87,0x86,0x7b,0x68,0x87,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xe1,0xb9,0xa9,0x8d,0xb9,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x23,0x21,0x1e,0x24,0x05,0x05,0x05,0x06,0x71,0x6b,0x61,0x72,0xe1,0xd5, +0xc1,0xff,0x7f,0x74,0x64,0x81,0x52,0x4e,0x46,0x52,0xe3,0xd7,0xc3,0xe3,0xc6,0xb7, +0x9d,0xc7,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7a,0x66,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7a,0x66,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x9b,0x8d,0x76,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x56,0x4f, +0x42,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x56,0x4f,0x42,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x9b,0x8d,0x76,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0xff,0x6b,0x62,0x53,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0x6b,0x62,0x53,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x6b,0x62,0x53,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x01,0x01, +0x01,0x02,0x0f,0x0c,0x08,0x10,0x2c,0x23,0x18,0xff,0x6a,0x61,0x54,0xff,0xa8,0x9f, +0x91,0xff,0x8c,0x83,0x75,0xff,0x4b,0x42,0x35,0xff,0x61,0x58,0x4b,0xff,0xd1,0xc8, +0xba,0xff,0xda,0xd1,0xc3,0xff,0xda,0xd1,0xc3,0xff,0xda,0xd1,0xc3,0xff,0xda,0xd1, +0xc3,0xff,0xda,0xd1,0xc3,0xff,0xda,0xd1,0xc3,0xff,0x42,0x39,0x2c,0xff,0x06,0x05, +0x03,0x06,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xe1,0x86,0x7b,0x68,0x87,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0x86,0x7b,0x68,0x87,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xe1,0xb9,0xa9,0x8d,0xb9,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x37,0x34, +0x2f,0x38,0xaa,0xa1,0x92,0xab,0x54,0x4f,0x48,0xff,0xc7,0xbd,0xab,0xff,0xe1,0xd5, +0xc1,0xff,0x6c,0x67,0x5d,0x6c,0xff,0xff,0xff,0x00,0x41,0x3e,0x38,0x42,0xc5,0xb6, +0x9c,0xc5,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x8c,0x80,0x6b,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x8c,0x80,0x6b,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xa7,0x99,0x7f,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x56,0x4f,0x42,0xff,0xb9,0xa9, +0x8d,0xff,0x56,0x4f,0x42,0xff,0x56,0x4f,0x42,0xff,0xb9,0xa9,0x8d,0xff,0x56,0x4f, +0x42,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xa7,0x99,0x7f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x6b,0x62,0x53,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x01,0x00,0x00,0x02,0x07,0x06, +0x04,0x08,0x20,0x1b,0x12,0xff,0x50,0x47,0x3b,0xff,0x96,0x8d,0x7f,0xff,0x86,0x7d, +0x70,0xff,0x41,0x38,0x2b,0xff,0x79,0x70,0x62,0xff,0xda,0xd1,0xc3,0xff,0xda,0xd1, +0xc3,0xff,0xda,0xd1,0xc3,0xff,0xda,0xd1,0xc3,0xff,0xda,0xd1,0xc3,0xff,0xcf,0xc6, +0xb8,0xff,0xd7,0xce,0xc0,0xff,0x7d,0x74,0x66,0xff,0x2f,0x26,0x19,0x30,0x05,0x04, +0x03,0x06,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc2,0xb8, +0xa7,0xc3,0x1f,0x1d,0x1a,0x20,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x1f,0x1d,0x1a,0x20,0xc2,0xb8,0xa7,0xc3,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xe1,0x86,0x7b,0x68,0x87,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xb9,0xa9,0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0x86,0x7b,0x68,0x87,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x52,0x4e, +0x46,0x52,0xdd,0xd2,0xbe,0xff,0xd8,0xcd,0xb9,0xff,0xe1,0xd5,0xc1,0xe1,0x65,0x60, +0x57,0x66,0x12,0x11,0x10,0x12,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x37,0x32, +0x2a,0x38,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x92,0x86,0x70,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x92,0x86,0x70,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb2,0xa2,0x88,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x56,0x4f,0x42,0xff,0xb9,0xa9,0x8d,0xff,0x56,0x4f, +0x42,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x56,0x4f,0x42,0xff,0xb9,0xa9, +0x8d,0xff,0x56,0x4f,0x42,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb2,0xa2,0x88,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x03,0x02,0x01,0x04,0x12,0x0f, +0x0b,0xff,0x31,0x2c,0x22,0xff,0x77,0x6f,0x62,0xff,0x76,0x6e,0x61,0xff,0x37,0x2e, +0x21,0xff,0x8a,0x81,0x74,0xff,0xda,0xd1,0xc3,0xff,0xda,0xd1,0xc3,0xff,0xda,0xd1, +0xc3,0xff,0xd3,0xca,0xbc,0xff,0xda,0xd1,0xc3,0xff,0xaa,0xa1,0x93,0xff,0x95,0x8c, +0x7e,0xff,0x5d,0x54,0x47,0xff,0x2e,0x25,0x19,0x2e,0x15,0x11,0x0b,0x16,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x93,0x8b, +0x7e,0x93,0x4e,0x4a,0x43,0x4e,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x4e,0x4a,0x43,0x4e,0x93,0x8b,0x7e,0x93,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xb9,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xe1,0x86,0x7b,0x68,0x87,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xe1,0xb9,0xa9,0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0x86,0x7b,0x68,0x87,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x20,0x1e,0x19,0x20,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x58,0x54, +0x4c,0x58,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xe1,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x99,0x8b,0x74,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x99,0x8b,0x74,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x56,0x4f,0x42,0xff,0xb9,0xa9,0x8d,0xff,0x56,0x4f,0x42,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x56,0x4f, +0x42,0xff,0xb9,0xa9,0x8d,0xff,0x56,0x4f,0x42,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0x00,0xff,0xff,0xff,0x00,0x01,0x00,0x00,0x02,0x07,0x06,0x04,0x08,0x18,0x15, +0x10,0xff,0x4c,0x46,0x3b,0xff,0x5d,0x55,0x49,0xff,0x33,0x2a,0x1d,0xff,0xa5,0x9c, +0x8e,0xff,0xda,0xd1,0xc3,0xff,0xda,0xd1,0xc3,0xff,0xda,0xd1,0xc3,0xff,0xbc,0xb3, +0xa5,0xff,0xa1,0x98,0x8a,0xff,0x7b,0x72,0x64,0xff,0x48,0x3f,0x32,0xff,0x34,0x2d, +0x23,0xff,0x1c,0x17,0x0f,0x1c,0x0d,0x0a,0x07,0x0e,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x57,0x53, +0x4b,0x58,0x8a,0x82,0x76,0x8b,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x8a,0x82,0x76,0x8b,0x57,0x53,0x4b,0x58,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xe1,0x86,0x7b,0x68,0x87,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0x86,0x7b,0x68,0x87,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x3c,0x36,0x2d,0x3c,0x79,0x71, +0x62,0x7a,0xff,0xff,0xff,0x00,0x12,0x11,0x10,0x12,0x69,0x64,0x5b,0x6a,0xc9,0xbe, +0xad,0xc9,0xd8,0xcd,0xb9,0xd9,0x98,0x90,0x83,0x99,0x89,0x81,0x75,0x89,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x9f,0x91,0x79,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x9f,0x91,0x79,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x56,0x4f,0x42,0xff,0x56,0x4f,0x42,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x56,0x4f,0x42,0xff,0x56,0x4f,0x42,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0x00,0xff,0xff,0xff,0x00,0x01,0x00,0x00,0x02,0x08,0x07,0x05,0xff,0x22,0x1f, +0x1a,0xff,0x45,0x3c,0x2f,0xff,0x47,0x3e,0x31,0xff,0xc2,0xb9,0xab,0xff,0xda,0xd1, +0xc3,0xff,0xd3,0xca,0xbc,0xff,0xa4,0x9b,0x8e,0xff,0x8e,0x85,0x77,0xff,0x51,0x48, +0x3a,0xff,0x44,0x3c,0x32,0xff,0x1f,0x19,0x11,0x20,0x17,0x13,0x0c,0x18,0x07,0x06, +0x04,0x08,0x05,0x04,0x02,0x06,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x13,0x12, +0x10,0x14,0x8f,0x87,0x7b,0x8f,0x46,0x42,0x3c,0x46,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x46,0x42, +0x3c,0x46,0x8f,0x87,0x7b,0x8f,0x13,0x12,0x10,0x14,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0x87,0x86,0x7b,0x68,0x87,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x86,0x7b,0x68,0x87,0x86,0x7b,0x68,0x87,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x36,0x31,0x29,0x36,0xdb,0xce, +0xb9,0xdb,0x8b,0x84,0x78,0x8b,0x54,0x4e,0x45,0x54,0xd0,0xc4,0xb0,0xff,0xd5,0xca, +0xb7,0xff,0x5a,0x55,0x4d,0x5a,0xff,0xff,0xff,0x00,0x27,0x25,0x22,0x28,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xa4,0x96,0x7d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xa4,0x96,0x7d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb1,0xa2,0x87,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb1,0xa2,0x87,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0x00,0xff,0xff,0xff,0x00,0x01,0x00,0x00,0x02,0x08,0x07,0x04,0xff,0x2c,0x25, +0x1a,0xff,0x58,0x4f,0x42,0xff,0xd5,0xcc,0xbe,0xff,0xbd,0xb4,0xa6,0xff,0xa4,0x9b, +0x8e,0xff,0x5e,0x55,0x48,0xff,0x50,0x47,0x3b,0xff,0x20,0x1a,0x11,0xff,0x1d,0x18, +0x11,0xff,0x09,0x07,0x05,0x0a,0x08,0x06,0x04,0x08,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x3b,0x38,0x33,0x3c,0x83,0x7c,0x70,0x83,0x46,0x42,0x3c,0x46,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x46,0x42,0x3c,0x46,0x83,0x7c, +0x70,0x83,0x3b,0x38,0x33,0x3c,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xb9,0xa9,0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5, +0xc1,0xe1,0xb9,0xa9,0x8d,0xb9,0xff,0xff,0xff,0x00,0x36,0x31,0x29,0x36,0xd7,0xca, +0xb4,0xff,0xe1,0xd5,0xc1,0xff,0xae,0xa4,0x92,0xff,0x87,0x7c,0x69,0x87,0x6d,0x67, +0x5e,0x6e,0x05,0x05,0x05,0x06,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xaa,0x9b,0x81,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xaa,0x9b,0x81,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0x00,0xff,0xff,0xff,0x00,0x02,0x02,0x01,0x02,0x12,0x0f,0x0a,0xff,0x45,0x3e, +0x32,0xff,0xba,0xb1,0xa3,0xff,0x7b,0x72,0x64,0xff,0x5f,0x56,0x48,0xff,0x2b,0x24, +0x19,0xff,0x20,0x1a,0x11,0x20,0x0d,0x0a,0x07,0x0e,0x0a,0x08,0x05,0x0a,0x01,0x01, +0x00,0x02,0x01,0x01,0x00,0x02,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x3b,0x38,0x33,0x3c,0x8f,0x87,0x7b,0x8f,0x8a,0x82, +0x76,0x8b,0x4e,0x4a,0x43,0x4e,0x1f,0x1d,0x1a,0x20,0xe1,0xd5,0xc1,0xe1,0x1f,0x1d, +0x1a,0x20,0x4e,0x4a,0x43,0x4e,0x8a,0x82,0x76,0x8b,0x8f,0x87,0x7b,0x8f,0x3b,0x38, +0x33,0x3c,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xb9,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xe1,0xb9,0xa9,0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xe1,0xd5, +0xc1,0xe1,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xe1,0xb9,0xa9, +0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x3a,0x35,0x2c,0x3a,0xda,0xce, +0xb8,0xff,0xe1,0xd5,0xc1,0xff,0xea,0xdf,0xcb,0xff,0xba,0xaf,0x9c,0xbb,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xae,0x9f,0x85,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xae,0x9f,0x85,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0x00,0xff,0xff,0xff,0x00,0x03,0x03,0x02,0x04,0x1b,0x18,0x13,0xff,0x6c,0x64, +0x58,0xff,0x46,0x3f,0x34,0xff,0x26,0x1f,0x14,0x26,0x15,0x11,0x0b,0x16,0x0d,0x0b, +0x07,0x0e,0x01,0x01,0x01,0x02,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x13,0x12,0x10,0x14,0x57,0x53, +0x4b,0x58,0x93,0x8b,0x7e,0x93,0xc2,0xb8,0xa7,0xc3,0xe1,0xd5,0xc1,0xe1,0xc2,0xb8, +0xa7,0xc3,0x93,0x8b,0x7e,0x93,0x57,0x53,0x4b,0x58,0x13,0x12,0x10,0x14,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xb9,0xa9, +0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xb9,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xb9,0xa9,0x8d,0xb9,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x31,0x2c,0x25,0x32,0xcb,0xbd, +0xa5,0xff,0xe2,0xd6,0xc2,0xff,0xe5,0xda,0xc6,0xff,0xe0,0xd3,0xbc,0xe1,0x96,0x8d, +0x7f,0x97,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb2,0xa3,0x88,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb2,0xa3,0x88,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0xff,0xff,0xff,0x00,0x03,0x03,0x02,0x04,0x20,0x1d,0x17,0xff,0x19,0x16, +0x11,0xff,0x12,0x0f,0x0a,0x12,0x08,0x07,0x05,0x08,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5,0xc1,0xe1,0xe1,0xd5, +0xc1,0xe1,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xe1,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xb9,0xa9,0x8d,0xb9,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xb9,0xb9,0xa9,0x8d,0xb9,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x07,0x07,0x06,0x08,0xa4,0x95, +0x7b,0xa5,0x7c,0x74,0x66,0x7c,0x7a,0x70,0x60,0x7a,0xba,0xaa,0x8e,0xbb,0xa4,0x98, +0x84,0xa5,0x1a,0x18,0x14,0x1a,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb6,0xa7,0x8a,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb6,0xa7,0x8a,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9, +0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9, +0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9, +0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9, +0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9, +0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9, +0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9, +0x8d,0x00,0xb9,0xa9,0x8d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0xff,0xff,0xff,0x00,0x03,0x03,0x02,0x04,0x03,0x03,0x02,0x04,0x03,0x03, +0x02,0x04,0x02,0x01,0x01,0x02,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x19,0x16, +0x13,0x1a,0xff,0xff,0xff,0x00,0x24,0x20,0x1a,0x24,0x30,0x2b,0x24,0x30,0xff,0xff, +0xff,0x00,0x1d,0x1b,0x16,0x1e,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb6,0xa6,0x8a,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb6,0xa6,0x8a,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0x00,0xb9,0xa9,0x8d,0x00,0x45,0x3f,0x35,0x00,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0x00,0x00,0x00, +0x00,0x00,0x45,0x3f,0x35,0x00,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f, +0x35,0x00,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f,0x35,0x00,0x45,0x3f, +0x35,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xc0,0xe1,0xd5,0xc1,0xc0,0xe1,0xd5,0xc1,0xc0,0x68,0x5e, +0x4f,0xc0,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0x00,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0x00,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x45,0x3f,0x35,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xc0,0xe1,0xd5,0xc1,0xc0,0xe1,0xd5,0xc1,0xc0,0x68,0x5e, +0x4f,0xc0,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x4d,0x45,0x3b,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x4d,0x45, +0x3b,0xff,0x00,0x00,0x00,0xff,0x4d,0x45,0x3b,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x4d,0x45,0x3b,0xff,0x00,0x00, +0x00,0xff,0x4d,0x45,0x3b,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x4d,0x45,0x3b,0xff,0x00,0x00,0x00,0xff,0x4d,0x45, +0x3b,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x4d,0x45,0x3b,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x4d,0x45,0x3b,0x00,0x00,0x00,0x00,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xc0,0xe1,0xd5,0xc1,0xc0,0x68,0x5e, +0x4f,0xc0,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x56,0x4f,0x42,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xd8,0xc9, +0xb0,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x56,0x4f,0x42,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xd8,0xc9,0xb0,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x56,0x4f, +0x42,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x46,0x3d,0x30,0xff,0xfd,0xf9,0xee,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x56,0x4f,0x42,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xfd,0xf9, +0xee,0xff,0x46,0x3d,0x30,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x56,0x4f,0x42,0xff,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x4f,0x42,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xd8,0xc9, +0xb0,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xc0,0x68,0x5e, +0x4f,0xc0,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x63,0x5b,0x4b,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xd2,0xc2,0xa7,0xff,0xde,0xd1, +0xba,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x63,0x5b,0x4b,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xde,0xd1,0xba,0xff,0xd2,0xc2,0xa7,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x63,0x5b, +0x4b,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x46,0x3d, +0x30,0xff,0xfc,0xf7,0xe8,0xff,0xfe,0xfb,0xf3,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x63,0x5b,0x4b,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xfe,0xfb, +0xf3,0xff,0xfc,0xf7,0xe8,0xff,0x46,0x3d,0x30,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x63,0x5b,0x4b,0xff,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x63,0x5b,0x4b,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xde,0xd1, +0xba,0xff,0xd2,0xc2,0xa7,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xc0,0x68,0x5e, +0x4f,0xc0,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x71,0x66,0x56,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1, +0xba,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x71,0x66,0x56,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x71,0x66, +0x56,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x46,0x3d,0x30,0xff,0xf3,0xe9, +0xcd,0xff,0xfe,0xfb,0xf3,0xff,0xfe,0xfb,0xf3,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x71,0x66,0x56,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xfe,0xfb, +0xf3,0xff,0xfe,0xfb,0xf3,0xff,0xf3,0xe9,0xcd,0xff,0x46,0x3d,0x30,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x71,0x66,0x56,0xff,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x71,0x66,0x56,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xde,0xd1, +0xba,0xff,0xde,0xd1,0xba,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xc0,0x68,0x5e, +0x4f,0xc0,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x7f,0x74,0x61,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1, +0xba,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x7f,0x74,0x61,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xe1,0xd5, +0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x7f,0x74, +0x61,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x46,0x3d,0x30,0xff,0xf3,0xe9,0xcd,0xff,0xfe,0xfc, +0xf7,0xff,0xfe,0xfb,0xf3,0xff,0xfe,0xfb,0xf3,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x7f,0x74,0x61,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xfe,0xfb, +0xf3,0xff,0xfe,0xfb,0xf3,0xff,0xfe,0xfc,0xf7,0xff,0xf3,0xe9,0xcd,0xff,0x46,0x3d, +0x30,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x7f,0x74,0x61,0xff,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7f,0x74,0x61,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xde,0xd1, +0xba,0xff,0xde,0xd1,0xba,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xc0,0x68,0x5e, +0x4f,0xc0,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x8e,0x81,0x6c,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xe1,0xd5,0xbf,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1, +0xba,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x8e,0x81,0x6c,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1, +0xba,0xff,0xe1,0xd5,0xbf,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x8e,0x81, +0x6c,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x46,0x3d,0x30,0xff,0xf3,0xe9,0xcd,0xff,0xfe,0xfc,0xf6,0xff,0xfe,0xfb, +0xf3,0xff,0xfe,0xfb,0xf3,0xff,0xfe,0xfb,0xf3,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x8e,0x81,0x6c,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xfe,0xfb, +0xf3,0xff,0xfe,0xfb,0xf3,0xff,0xfe,0xfb,0xf3,0xff,0xfe,0xfc,0xf6,0xff,0xf3,0xe9, +0xcd,0xff,0x46,0x3d,0x30,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x8e,0x81,0x6c,0xff,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x8e,0x81,0x6c,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xde,0xd1, +0xba,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xe1,0xd5,0xbf,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xc0,0x68,0x5e, +0x4f,0xc0,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x9b,0x8d,0x76,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1, +0xba,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x9b,0x8d,0x76,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1, +0xba,0xff,0xde,0xd1,0xba,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x9b,0x8d, +0x76,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x46,0x3d, +0x30,0xff,0xfe,0xfc,0xf7,0xff,0xfe,0xfc,0xf7,0xff,0xfe,0xfb,0xf3,0xff,0xfe,0xfb, +0xf3,0xff,0xfe,0xfb,0xf3,0xff,0xfe,0xfb,0xf3,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x9b,0x8d,0x76,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xfe,0xfb, +0xf3,0xff,0xfe,0xfb,0xf3,0xff,0xfe,0xfb,0xf3,0xff,0xfe,0xfb,0xf3,0xff,0xfe,0xfc, +0xf7,0xff,0xfe,0xfc,0xf7,0xff,0x46,0x3d,0x30,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x9b,0x8d,0x76,0xff,0x45,0x3f,0x35,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x9b,0x8d,0x76,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x45,0x3f,0x35,0xff,0xe1,0xd5,0xc1,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xde,0xd1, +0xba,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xc0,0x68,0x5e, +0x4f,0xc0,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xa7,0x99,0x7f,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1, +0xba,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xa7,0x99,0x7f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1, +0xba,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xa7,0x99, +0x7f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x46,0x3d,0x30,0xff,0xf3,0xe9,0xcd,0xff,0xfe,0xfc,0xf7,0xff,0xfe,0xfb, +0xf3,0xff,0xfe,0xfb,0xf3,0xff,0xfe,0xfb,0xf3,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xa7,0x99,0x7f,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xfe,0xfb, +0xf3,0xff,0xfe,0xfb,0xf3,0xff,0xfe,0xfb,0xf3,0xff,0xfe,0xfc,0xf7,0xff,0xf3,0xe9, +0xcd,0xff,0x46,0x3d,0x30,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xa7,0x99,0x7f,0xff,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xa7,0x99,0x7f,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xde,0xd1, +0xba,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xc0,0x68,0x5e, +0x4f,0xc0,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb2,0xa2,0x88,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1, +0xba,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb2,0xa2,0x88,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1, +0xba,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb2,0xa2, +0x88,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x46,0x3d,0x30,0xff,0xf3,0xe9,0xcd,0xff,0xfe,0xfb, +0xf3,0xff,0xfe,0xfb,0xf3,0xff,0xfe,0xfb,0xf3,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb2,0xa2,0x88,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xfe,0xfb, +0xf3,0xff,0xfe,0xfb,0xf3,0xff,0xfe,0xfb,0xf3,0xff,0xf3,0xe9,0xcd,0xff,0x46,0x3d, +0x30,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb2,0xa2,0x88,0xff,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xb2,0xa2,0x88,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xe1,0xd5,0xbf,0xff,0xde,0xd1,0xba,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xde,0xd1, +0xba,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xc0,0x68,0x5e, +0x4f,0xc0,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1, +0xba,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x46,0x3d,0x30,0xff,0xf3,0xe9, +0xcd,0xff,0xfe,0xfb,0xf3,0xff,0xfe,0xfb,0xf3,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xfe,0xfb, +0xf3,0xff,0xfe,0xfb,0xf3,0xff,0xf3,0xe9,0xcd,0xff,0x46,0x3d,0x30,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xb9,0xa9,0x8d,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5, +0xc1,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1, +0xba,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0x00,0xde,0xd1, +0xba,0xff,0xde,0xd1,0xba,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xc0,0xe1,0xd5,0xc1,0xc0,0x68,0x5e, +0x4f,0xc0,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xd7,0xc7,0xae,0xff,0xde,0xd1, +0xba,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xde,0xd1,0xba,0xff,0xd7,0xc7,0xae,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x46,0x3d, +0x30,0xff,0xfd,0xf9,0xed,0xff,0xfe,0xfb,0xf3,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xfe,0xfb, +0xf3,0xff,0xfd,0xf9,0xed,0xff,0x46,0x3d,0x30,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xb9,0xa9,0x8d,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0xd2,0xc2,0xa7,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1, +0xba,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1, +0xba,0xff,0xde,0xd1,0xba,0xff,0xd7,0xc7,0xae,0xff,0x3b,0x35,0x2b,0xff,0xde,0xd1, +0xba,0xff,0xd7,0xc7,0xae,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xc0,0xe1,0xd5,0xc1,0xc0,0xe1,0xd5,0xc1,0xc0,0x68,0x5e, +0x4f,0xc0,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb1,0xa2,0x87,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x3b,0x35,0x2b,0xff,0xdd,0xcc, +0xb6,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb1,0xa2,0x87,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xdd,0xcc,0xb6,0xff,0x3b,0x35,0x2b,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb1,0xa2, +0x87,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x38,0x30,0x24,0xff,0xfe,0xfa,0xf1,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb1,0xa2,0x87,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xfe,0xfa, +0xf1,0xff,0x38,0x30,0x24,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb1,0xa2,0x87,0xff,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xb1,0xa2,0x87,0x00,0xff,0xff, +0xff,0x00,0xd8,0xc9,0xb0,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1, +0xba,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1, +0xba,0xff,0xde,0xd1,0xba,0xff,0xde,0xd1,0xba,0xff,0xdd,0xcc,0xb6,0xff,0xdd,0xcc, +0xb6,0xff,0x3b,0x35,0x2b,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xc0,0xe1,0xd5,0xc1,0xc0,0xe1,0xd5,0xc1,0xc0,0x68,0x5e, +0x4f,0xc0,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xb1,0xa2,0x87,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb1,0xa2, +0x87,0xff,0x00,0x00,0x00,0xff,0xb1,0xa2,0x87,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb1,0xa2,0x87,0xff,0x00,0x00, +0x00,0xff,0xb1,0xa2,0x87,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb1,0xa2,0x87,0xff,0x00,0x00,0x00,0xff,0xb1,0xa2, +0x87,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb1,0xa2,0x87,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0xb1,0xa2,0x87,0x00,0x00,0x00,0x00,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xb1,0xa2, +0x87,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb1,0xa2,0x87,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0x00,0x00,0x00,0x00,0xff,0xb1,0xa2,0x87,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb1,0xa2,0x87,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0x00,0x00,0x00,0x00,0xff,0xb1,0xa2,0x87,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb1,0xa2,0x87,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0xff,0xb1,0xa2,0x87,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb1,0xa2, +0x87,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0xb1,0xa2,0x87,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0x00,0xb9,0xa9,0x8d,0x00,0x45,0x3f,0x35,0x00,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0x00,0xb9,0xa9, +0x8d,0x00,0x45,0x3f,0x35,0x00,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9, +0x8d,0x00,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9, +0x8d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9, +0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9, +0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9,0x8d,0x00,0xb9,0xa9, +0x8d,0x00,0xb9,0xa9,0x8d,0x00,0x45,0x3f,0x35,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x13,0x0d,0x03,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x27,0x21,0x17,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x3b,0x35,0x2b,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x4f,0x49,0x3f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x63,0x5d,0x53,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x77,0x71,0x67,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x8b,0x85,0x7b,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x9f,0x99,0x8f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb3,0xad,0xa3,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xc7,0xc1,0xb7,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x39,0x30,0x21,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x4d,0x44,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x61,0x58,0x49,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x75,0x6c,0x5d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x89,0x80,0x71,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x9d,0x94,0x85,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb1,0xa8,0x99,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xc5,0xbc,0xad,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xd9,0xd0,0xc1,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xed,0xe4,0xd5,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x13,0x0d,0x03,0xff,0x39,0x30,0x21,0xff,0x87,0x77, +0x5b,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x27,0x21, +0x17,0xff,0x4d,0x44,0x35,0xff,0x9b,0x8b,0x6f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x3b,0x35,0x2b,0xff,0x61,0x58,0x49,0xff,0xaf,0x9f, +0x83,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x4f,0x49, +0x3f,0xff,0x75,0x6c,0x5d,0xff,0xc3,0xb3,0x97,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x63,0x5d,0x53,0xff,0x89,0x80,0x71,0xff,0xd7,0xc7, +0xab,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x77,0x71, +0x67,0xff,0x9d,0x94,0x85,0xff,0xeb,0xdb,0xbf,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x8b,0x85,0x7b,0xff,0xb1,0xa8,0x99,0xff,0xff,0xef, +0xd3,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x9f,0x99, +0x8f,0xff,0xc5,0xbc,0xad,0xff,0xff,0xff,0xe7,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb3,0xad,0xa3,0xff,0xd9,0xd0,0xc1,0xff,0xff,0xff, +0xfb,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc7,0xc1, +0xb7,0xff,0xed,0xe4,0xd5,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x13,0x0d,0x03,0xff,0x39,0x30,0x21,0xff,0x87,0x77,0x5b,0xff,0x87,0x77, +0x5b,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x27,0x21,0x17,0xff,0x4d,0x44, +0x35,0xff,0x9b,0x8b,0x6f,0xff,0x9b,0x8b,0x6f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x3b,0x35,0x2b,0xff,0x61,0x58,0x49,0xff,0xaf,0x9f,0x83,0xff,0xaf,0x9f, +0x83,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x4f,0x49,0x3f,0xff,0x75,0x6c, +0x5d,0xff,0xc3,0xb3,0x97,0xff,0xc3,0xb3,0x97,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x63,0x5d,0x53,0xff,0x89,0x80,0x71,0xff,0xd7,0xc7,0xab,0xff,0xd7,0xc7, +0xab,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x77,0x71,0x67,0xff,0x9d,0x94, +0x85,0xff,0xeb,0xdb,0xbf,0xff,0xeb,0xdb,0xbf,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x8b,0x85,0x7b,0xff,0xb1,0xa8,0x99,0xff,0xff,0xef,0xd3,0xff,0xff,0xef, +0xd3,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x9f,0x99,0x8f,0xff,0xc5,0xbc, +0xad,0xff,0xff,0xff,0xe7,0xff,0xff,0xff,0xe7,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb3,0xad,0xa3,0xff,0xd9,0xd0,0xc1,0xff,0xff,0xff,0xfb,0xff,0xff,0xff, +0xfb,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc7,0xc1,0xb7,0xff,0xed,0xe4, +0xd5,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x13,0x0d,0x03,0xff,0x39,0x30,0x21,0xff,0x87,0x77,0x5b,0xff,0x87,0x77, +0x5b,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x27,0x21,0x17,0xff,0x4d,0x44, +0x35,0xff,0x9b,0x8b,0x6f,0xff,0x9b,0x8b,0x6f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x3b,0x35,0x2b,0xff,0x61,0x58,0x49,0xff,0xaf,0x9f,0x83,0xff,0xaf,0x9f, +0x83,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x4f,0x49,0x3f,0xff,0x75,0x6c, +0x5d,0xff,0xc3,0xb3,0x97,0xff,0xc3,0xb3,0x97,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x63,0x5d,0x53,0xff,0x89,0x80,0x71,0xff,0xd7,0xc7,0xab,0xff,0xd7,0xc7, +0xab,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x77,0x71,0x67,0xff,0x9d,0x94, +0x85,0xff,0xeb,0xdb,0xbf,0xff,0xeb,0xdb,0xbf,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x8b,0x85,0x7b,0xff,0xb1,0xa8,0x99,0xff,0xff,0xef,0xd3,0xff,0xff,0xef, +0xd3,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x9f,0x99,0x8f,0xff,0xc5,0xbc, +0xad,0xff,0xff,0xff,0xe7,0xff,0xff,0xff,0xe7,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb3,0xad,0xa3,0xff,0xd9,0xd0,0xc1,0xff,0xff,0xff,0xfb,0xff,0xff,0xff, +0xfb,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc7,0xc1,0xb7,0xff,0xed,0xe4, +0xd5,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xe1,0xd5,0xc1,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0xe1,0xd5,0xc1,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e, +0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x13,0x0d,0x03,0xff,0x39,0x30,0x21,0xff,0x87,0x77, +0x5b,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x27,0x21, +0x17,0xff,0x4d,0x44,0x35,0xff,0x9b,0x8b,0x6f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x3b,0x35,0x2b,0xff,0x61,0x58,0x49,0xff,0xaf,0x9f, +0x83,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x4f,0x49, +0x3f,0xff,0x75,0x6c,0x5d,0xff,0xc3,0xb3,0x97,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x63,0x5d,0x53,0xff,0x89,0x80,0x71,0xff,0xd7,0xc7, +0xab,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x77,0x71, +0x67,0xff,0x9d,0x94,0x85,0xff,0xeb,0xdb,0xbf,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x8b,0x85,0x7b,0xff,0xb1,0xa8,0x99,0xff,0xff,0xef, +0xd3,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x9f,0x99, +0x8f,0xff,0xc5,0xbc,0xad,0xff,0xff,0xff,0xe7,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb3,0xad,0xa3,0xff,0xd9,0xd0,0xc1,0xff,0xff,0xff, +0xfb,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xc7,0xc1, +0xb7,0xff,0xed,0xe4,0xd5,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xe1,0xd5,0xc1,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0xe1,0xd5,0xc1,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x68,0x5e,0x4f,0xff,0xab,0x9c,0x83,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x39,0x30,0x21,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x4d,0x44,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x61,0x58,0x49,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x75,0x6c,0x5d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x89,0x80,0x71,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x9d,0x94,0x85,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb1,0xa8,0x99,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xc5,0xbc,0xad,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xd9,0xd0,0xc1,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xed,0xe4,0xd5,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e, +0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x13,0x0d,0x03,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x27,0x21,0x17,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x3b,0x35,0x2b,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x4f,0x49,0x3f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x63,0x5d,0x53,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x77,0x71,0x67,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x8b,0x85,0x7b,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x9f,0x99,0x8f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb3,0xad,0xa3,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xc7,0xc1,0xb7,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x6b,0x62,0x53,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62, +0x53,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x6b,0x62,0x53,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62, +0x53,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e, +0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e, +0x4f,0xff,0xab,0x9c,0x83,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb6,0xa6,0x8a,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb6,0xa6,0x8a,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb6,0xa7,0x8a,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb6,0xa7,0x8a,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb2,0xa3,0x88,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb2,0xa3,0x88,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xae,0x9f,0x85,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xae,0x9f,0x85,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x2e,0x2a,0x23,0xff,0x2e,0x2a, +0x23,0xff,0x2e,0x2a,0x23,0xff,0x2e,0x2a,0x23,0xff,0x2e,0x2a,0x23,0xff,0x2e,0x2a, +0x23,0xff,0x2e,0x2a,0x23,0xff,0x00,0x00,0x00,0xff,0x2e,0x2a,0x23,0xff,0x2e,0x2a, +0x23,0xff,0x2e,0x2a,0x23,0xff,0x2e,0x2a,0x23,0xff,0x2e,0x2a,0x23,0xff,0x2e,0x2a, +0x23,0xff,0x2e,0x2a,0x23,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xaa,0x9b,0x81,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xaa,0x9b,0x81,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x2e,0x2a,0x23,0xff,0x22,0x1f, +0x1a,0xff,0x22,0x1f,0x1a,0xff,0x22,0x1f,0x1a,0xff,0x2e,0x2a,0x23,0xff,0x22,0x1f, +0x1a,0xff,0x2e,0x2a,0x23,0xff,0x00,0x00,0x00,0xff,0x2e,0x2a,0x23,0xff,0x22,0x1f, +0x1a,0xff,0x22,0x1f,0x1a,0xff,0x22,0x1f,0x1a,0xff,0x2e,0x2a,0x23,0xff,0x22,0x1f, +0x1a,0xff,0x2e,0x2a,0x23,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xa4,0x96,0x7d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xa4,0x96,0x7d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x2e,0x2a,0x23,0xff,0x22,0x1f, +0x1a,0xff,0x22,0x1f,0x1a,0xff,0x22,0x1f,0x1a,0xff,0x2e,0x2a,0x23,0xff,0x22,0x1f, +0x1a,0xff,0x2e,0x2a,0x23,0xff,0x00,0x00,0x00,0xff,0x2e,0x2a,0x23,0xff,0x22,0x1f, +0x1a,0xff,0x22,0x1f,0x1a,0xff,0x22,0x1f,0x1a,0xff,0x2e,0x2a,0x23,0xff,0x22,0x1f, +0x1a,0xff,0x2e,0x2a,0x23,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x9f,0x91,0x79,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x9f,0x91,0x79,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x2e,0x2a,0x23,0xff,0x22,0x1f, +0x1a,0xff,0x22,0x1f,0x1a,0xff,0x22,0x1f,0x1a,0xff,0x2e,0x2a,0x23,0xff,0x22,0x1f, +0x1a,0xff,0x2e,0x2a,0x23,0xff,0x11,0x10,0x0d,0xff,0x2e,0x2a,0x23,0xff,0x22,0x1f, +0x1a,0xff,0x22,0x1f,0x1a,0xff,0x22,0x1f,0x1a,0xff,0x2e,0x2a,0x23,0xff,0x22,0x1f, +0x1a,0xff,0x2e,0x2a,0x23,0xff,0x11,0x10,0x0d,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xff,0xb9,0xa9, +0x8d,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0xe1,0xd5,0xc1,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62, +0x53,0xff,0x6b,0x62,0x53,0xff,0x6b,0x62,0x53,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x99,0x8b,0x74,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x99,0x8b,0x74,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x11,0x10,0x0d,0xff,0x2e,0x2a, +0x23,0xff,0x22,0x1f,0x1a,0xff,0x22,0x1f,0x1a,0xff,0x22,0x1f,0x1a,0xff,0x22,0x1f, +0x1a,0xff,0x22,0x1f,0x1a,0xff,0x2e,0x2a,0x23,0xff,0x11,0x10,0x0d,0xff,0x2e,0x2a, +0x23,0xff,0x22,0x1f,0x1a,0xff,0x22,0x1f,0x1a,0xff,0x22,0x1f,0x1a,0xff,0x22,0x1f, +0x1a,0xff,0x22,0x1f,0x1a,0xff,0x2e,0x2a,0x23,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xe1,0xd5, +0xc1,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5, +0xc1,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x92,0x86,0x70,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x92,0x86,0x70,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x2e,0x2a, +0x23,0xff,0x22,0x1f,0x1a,0xff,0x22,0x1f,0x1a,0xff,0x22,0x1f,0x1a,0xff,0x22,0x1f, +0x1a,0xff,0x22,0x1f,0x1a,0xff,0x2e,0x2a,0x23,0xff,0x11,0x10,0x0d,0xff,0x2e,0x2a, +0x23,0xff,0x22,0x1f,0x1a,0xff,0x22,0x1f,0x1a,0xff,0x22,0x1f,0x1a,0xff,0x22,0x1f, +0x1a,0xff,0x22,0x1f,0x1a,0xff,0x2e,0x2a,0x23,0xff,0x11,0x10,0x0d,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0xe1,0xd5, +0xc1,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x8c,0x80,0x6b,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x8c,0x80,0x6b,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x11,0x10, +0x0d,0xff,0x2e,0x2a,0x23,0xff,0x22,0x1f,0x1a,0xff,0x22,0x1f,0x1a,0xff,0x22,0x1f, +0x1a,0xff,0x22,0x1f,0x1a,0xff,0x22,0x1f,0x1a,0xff,0x2e,0x2a,0x23,0xff,0x11,0x10, +0x0d,0xff,0x2e,0x2a,0x23,0xff,0x22,0x1f,0x1a,0xff,0x22,0x1f,0x1a,0xff,0x22,0x1f, +0x1a,0xff,0x22,0x1f,0x1a,0xff,0x22,0x1f,0x1a,0xff,0x2e,0x2a,0x23,0xff,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9, +0x8d,0xff,0xe1,0xd5,0xc1,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xe1,0xd5,0xc1,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7a,0x66,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7a,0x66,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x2e,0x2a,0x23,0xff,0x2e,0x2a,0x23,0xff,0x2e,0x2a,0x23,0xff,0x2e,0x2a, +0x23,0xff,0x2e,0x2a,0x23,0xff,0x2e,0x2a,0x23,0xff,0x2e,0x2a,0x23,0xff,0x00,0x00, +0x00,0xff,0x2e,0x2a,0x23,0xff,0x2e,0x2a,0x23,0xff,0x2e,0x2a,0x23,0xff,0x2e,0x2a, +0x23,0xff,0x2e,0x2a,0x23,0xff,0x2e,0x2a,0x23,0xff,0x2e,0x2a,0x23,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x7f,0x74,0x61,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x7f,0x74,0x61,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x78,0x6e,0x5c,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x78,0x6e,0x5c,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x72,0x68,0x57,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x72,0x68,0x57,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5, +0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x52,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x6b,0x62,0x52,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x65,0x5c, +0x4e,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x65,0x5c,0x4e,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x5f,0x57,0x49,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x5f,0x57,0x49,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0xd2,0xc6, +0xb3,0xff,0xd2,0xc6,0xb3,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xd2,0xc6,0xb3,0xff,0x68,0x5e, +0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5, +0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x5a,0x52,0x44,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x5a,0x52, +0x44,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0xbb,0xb1,0x9f,0xff,0xbb,0xb1,0x9f,0xff,0x68,0x5e, +0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xbb,0xb1, +0x9f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62, +0x53,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x55,0x4d,0x41,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x55,0x4d,0x41,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xa1,0x97,0x88,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xa1,0x97, +0x88,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x47,0x42, +0x37,0xff,0x4b,0x45,0x3a,0xff,0x4f,0x48,0x3d,0xff,0x53,0x4c,0x41,0xff,0x59,0x51, +0x44,0xff,0x5e,0x56,0x49,0xff,0x63,0x5b,0x4d,0xff,0x68,0x60,0x51,0xff,0x6e,0x64, +0x55,0xff,0x73,0x69,0x59,0xff,0x78,0x6d,0x5d,0xff,0x7c,0x72,0x60,0xff,0x80,0x76, +0x63,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x80,0x76,0x63,0xff,0x80,0x76, +0x63,0xff,0x80,0x76,0x63,0xff,0x80,0x76,0x63,0xff,0x80,0x76,0x63,0xff,0x80,0x76, +0x63,0xff,0x80,0x76,0x63,0xff,0x80,0x76,0x63,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x86,0x7b,0x68,0xff,0x83,0x79,0x66,0xff,0x80,0x76,0x63,0xff,0x7c,0x72, +0x60,0xff,0x78,0x6d,0x5d,0xff,0x73,0x69,0x59,0xff,0x6e,0x64,0x55,0xff,0x68,0x60, +0x51,0xff,0x63,0x5b,0x4d,0xff,0x5e,0x56,0x49,0xff,0x59,0x51,0x44,0xff,0x53,0x4c, +0x41,0xff,0x4f,0x48,0x3d,0xff,0x4b,0x45,0x3a,0xff,0x47,0x42,0x37,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62, +0x53,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x86,0x7d,0x6e,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x85,0x7c, +0x6e,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62, +0x53,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x04,0x04,0x04,0xff,0x0e,0x0e,0x0e,0xff,0x16,0x16, +0x16,0xff,0x07,0x07,0x07,0xff,0x04,0x04,0x04,0xff,0x00,0x00,0x00,0xff,0x01,0x01, +0x01,0xff,0x04,0x04,0x04,0xff,0x03,0x03,0x03,0xff,0x0d,0x0d,0x0d,0xff,0x03,0x03, +0x03,0xff,0x01,0x01,0x01,0xff,0x00,0x00,0x00,0xff,0x02,0x02,0x02,0xff,0x07,0x07, +0x07,0xff,0x30,0x2e,0x2b,0xff,0x49,0x44,0x3c,0xff,0x26,0x20,0x1b,0xff,0x2b,0x28, +0x23,0xff,0x2b,0x2b,0x2a,0xff,0x22,0x22,0x22,0xff,0x10,0x10,0x10,0xff,0x1c,0x1c, +0x1c,0xff,0x1e,0x1e,0x1e,0xff,0x10,0x10,0x10,0xff,0x05,0x05,0x05,0xff,0x13,0x13, +0x13,0xff,0x09,0x09,0x09,0xff,0x07,0x07,0x07,0xff,0x14,0x14,0x14,0xff,0x07,0x07, +0x07,0xff,0x0f,0x0f,0x0f,0xff,0x08,0x08,0x08,0xff,0x09,0x09,0x09,0xff,0x09,0x09, +0x09,0xff,0x02,0x02,0x02,0xff,0x04,0x04,0x04,0xff,0x06,0x06,0x06,0xff,0x0c,0x0a, +0x09,0xff,0x10,0x0b,0x09,0xff,0x23,0x21,0x1e,0xff,0x1b,0x1b,0x1a,0xff,0x07,0x07, +0x07,0xff,0x12,0x12,0x12,0xff,0x04,0x04,0x04,0xff,0x09,0x09,0x09,0xff,0x12,0x12, +0x12,0xff,0x0a,0x0a,0x0a,0xff,0x25,0x25,0x25,0xff,0x11,0x11,0x11,0xff,0x09,0x09, +0x09,0xff,0x07,0x07,0x07,0xff,0x06,0x06,0x06,0xff,0x14,0x14,0x14,0xff,0x1f,0x1f, +0x1f,0xff,0x15,0x15,0x15,0xff,0x05,0x05,0x05,0xff,0x04,0x04,0x04,0xff,0x1a,0x1a, +0x1a,0xff,0x08,0x08,0x08,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x03,0x03, +0x03,0xff,0x0d,0x0d,0x0d,0xff,0x04,0x04,0x04,0xff,0x0e,0x0e,0x0e,0xff,0xff,0xff, +0xff,0x00,0x6b,0x64,0x56,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x6b,0x63, +0x57,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62, +0x53,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x03,0x03,0x03,0xff,0x09,0x09,0x09,0xff,0x26,0x26, +0x26,0xff,0x0a,0x0a,0x0a,0xff,0x0f,0x0f,0x0f,0xff,0x03,0x03,0x03,0xff,0x03,0x03, +0x03,0xff,0x05,0x05,0x05,0xff,0x11,0x11,0x11,0xff,0x18,0x18,0x18,0xff,0x07,0x07, +0x07,0xff,0x1e,0x1e,0x1e,0xff,0x1a,0x1a,0x1a,0xff,0x09,0x09,0x09,0xff,0x17,0x17, +0x16,0xff,0x1e,0x1d,0x19,0xff,0x44,0x3f,0x36,0xff,0x3a,0x35,0x2d,0xff,0x09,0x08, +0x07,0xff,0x03,0x03,0x03,0xff,0x04,0x04,0x04,0xff,0x06,0x06,0x06,0xff,0x1a,0x1a, +0x1a,0xff,0x05,0x05,0x05,0xff,0x00,0x00,0x00,0xff,0x07,0x07,0x07,0xff,0x01,0x01, +0x01,0xff,0x0b,0x0b,0x0b,0xff,0x1a,0x1a,0x1a,0xff,0x0b,0x0b,0x0b,0xff,0x08,0x08, +0x08,0xff,0x10,0x10,0x10,0xff,0x08,0x08,0x08,0xff,0x07,0x07,0x07,0xff,0x00,0x00, +0x00,0xff,0x01,0x01,0x01,0xff,0x0d,0x0d,0x0d,0xff,0x1d,0x1d,0x1d,0xff,0x19,0x17, +0x15,0xff,0x29,0x25,0x1e,0xff,0x2f,0x2d,0x29,0xff,0x22,0x22,0x21,0xff,0x0b,0x0b, +0x0b,0xff,0x02,0x02,0x02,0xff,0x00,0x00,0x00,0xff,0x04,0x04,0x04,0xff,0x01,0x01, +0x01,0xff,0x0d,0x0d,0x0d,0xff,0x27,0x27,0x27,0xff,0x07,0x07,0x07,0xff,0x01,0x01, +0x01,0xff,0x07,0x07,0x07,0xff,0x05,0x05,0x05,0xff,0x00,0x00,0x00,0xff,0x05,0x05, +0x05,0xff,0x00,0x00,0x00,0xff,0x07,0x07,0x07,0xff,0x14,0x14,0x14,0xff,0x04,0x04, +0x04,0xff,0x02,0x02,0x02,0xff,0x04,0x04,0x04,0xff,0x1b,0x1b,0x1b,0xff,0x23,0x23, +0x23,0xff,0x06,0x06,0x06,0xff,0x03,0x03,0x03,0xff,0x09,0x09,0x09,0xff,0xff,0xff, +0xff,0x00,0x55,0x4e,0x43,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x54,0x4e, +0x42,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e, +0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62, +0x53,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x13,0x13,0x13,0xff,0x0e,0x0e,0x0e,0xff,0x17,0x17, +0x17,0xff,0x06,0x06,0x06,0xff,0x0e,0x0e,0x0e,0xff,0x08,0x08,0x08,0xff,0x0d,0x0d, +0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x11,0x11,0x11,0xff,0x1e,0x1e,0x1e,0xff,0x0f,0x0f, +0x0f,0xff,0x1c,0x1c,0x1c,0xff,0x0d,0x0d,0x0d,0xff,0x0c,0x0c,0x0c,0xff,0x1a,0x1a, +0x19,0xff,0x2a,0x28,0x25,0xff,0x33,0x2e,0x25,0xff,0x27,0x22,0x1a,0xff,0x11,0x10, +0x0e,0xff,0x12,0x12,0x12,0xff,0x14,0x14,0x14,0xff,0x08,0x08,0x08,0xff,0x08,0x08, +0x08,0xff,0x00,0x00,0x00,0xff,0x10,0x10,0x10,0xff,0x1c,0x1c,0x1c,0xff,0x0f,0x0f, +0x0f,0xff,0x02,0x02,0x02,0xff,0x0e,0x0e,0x0e,0xff,0x12,0x12,0x12,0xff,0x08,0x08, +0x08,0xff,0x03,0x03,0x03,0xff,0x08,0x08,0x08,0xff,0x1a,0x1a,0x1a,0xff,0x09,0x09, +0x09,0xff,0x12,0x12,0x12,0xff,0x23,0x23,0x23,0xff,0x17,0x17,0x17,0xff,0x0f,0x0e, +0x0c,0xff,0x39,0x34,0x2d,0xff,0x3e,0x3b,0x37,0xff,0x27,0x26,0x26,0xff,0x24,0x24, +0x24,0xff,0x11,0x11,0x11,0xff,0x07,0x07,0x07,0xff,0x13,0x13,0x13,0xff,0x05,0x05, +0x05,0xff,0x0b,0x0b,0x0b,0xff,0x0e,0x0e,0x0e,0xff,0x02,0x02,0x02,0xff,0x09,0x09, +0x09,0xff,0x28,0x28,0x28,0xff,0x19,0x19,0x19,0xff,0x09,0x09,0x09,0xff,0x13,0x13, +0x13,0xff,0x08,0x08,0x08,0xff,0x0c,0x0c,0x0c,0xff,0x0b,0x0b,0x0b,0xff,0x02,0x02, +0x02,0xff,0x10,0x10,0x10,0xff,0x02,0x02,0x02,0xff,0x08,0x08,0x08,0xff,0x0f,0x0f, +0x0f,0xff,0x04,0x04,0x04,0xff,0x13,0x13,0x13,0xff,0x0e,0x0e,0x0e,0xff,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62, +0x53,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x13,0x13,0x13,0xff,0x05,0x05,0x05,0xff,0x05,0x05, +0x05,0xff,0x06,0x06,0x06,0xff,0x06,0x06,0x06,0xff,0x0e,0x0e,0x0e,0xff,0x08,0x08, +0x08,0xff,0x07,0x07,0x07,0xff,0x1e,0x1e,0x1e,0xff,0x28,0x28,0x28,0xff,0x17,0x17, +0x17,0xff,0x0c,0x0c,0x0c,0xff,0x07,0x07,0x07,0xff,0x0a,0x0a,0x0a,0xff,0x0e,0x0e, +0x0e,0xff,0x2e,0x2c,0x29,0xff,0x32,0x2c,0x25,0xff,0x3e,0x39,0x30,0xff,0x40,0x3d, +0x39,0xff,0x1d,0x1c,0x1c,0xff,0x08,0x08,0x08,0xff,0x07,0x07,0x07,0xff,0x07,0x07, +0x07,0xff,0x0a,0x0a,0x0a,0xff,0x24,0x24,0x24,0xff,0x18,0x18,0x18,0xff,0x21,0x21, +0x21,0xff,0x13,0x13,0x13,0xff,0x26,0x26,0x26,0xff,0x2e,0x2e,0x2e,0xff,0x1f,0x1f, +0x1f,0xff,0x04,0x04,0x04,0xff,0x03,0x03,0x03,0xff,0x17,0x17,0x17,0xff,0x16,0x16, +0x16,0xff,0x19,0x19,0x19,0xff,0x12,0x12,0x12,0xff,0x17,0x17,0x17,0xff,0x09,0x09, +0x07,0xff,0x37,0x32,0x2b,0xff,0x36,0x34,0x30,0xff,0x12,0x12,0x11,0xff,0x15,0x15, +0x15,0xff,0x1a,0x1a,0x1a,0xff,0x0f,0x0f,0x0f,0xff,0x17,0x17,0x17,0xff,0x09,0x09, +0x09,0xff,0x13,0x13,0x13,0xff,0x04,0x04,0x04,0xff,0x04,0x04,0x04,0xff,0x0c,0x0c, +0x0c,0xff,0x2b,0x2b,0x2b,0xff,0x12,0x12,0x12,0xff,0x01,0x01,0x01,0xff,0x07,0x07, +0x07,0xff,0x03,0x03,0x03,0xff,0x09,0x09,0x09,0xff,0x10,0x10,0x10,0xff,0x0a,0x0a, +0x0a,0xff,0x1f,0x1f,0x1f,0xff,0x0b,0x0b,0x0b,0xff,0x1b,0x1b,0x1b,0xff,0x2c,0x2c, +0x2c,0xff,0x14,0x14,0x14,0xff,0x13,0x13,0x13,0xff,0x05,0x05,0x05,0xff,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e, +0x4f,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62, +0x53,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x0c,0x0c,0x0c,0xff,0x0e,0x0e,0x0e,0xff,0x10,0x10, +0x10,0xff,0x1b,0x1b,0x1b,0xff,0x0b,0x0b,0x0b,0xff,0x06,0x06,0x06,0xff,0x08,0x08, +0x08,0xff,0x06,0x06,0x06,0xff,0x1c,0x1c,0x1c,0xff,0x11,0x11,0x11,0xff,0x09,0x09, +0x09,0xff,0x08,0x08,0x08,0xff,0x02,0x02,0x02,0xff,0x04,0x04,0x04,0xff,0x02,0x01, +0x01,0xff,0x10,0x0e,0x0c,0xff,0x16,0x11,0x0b,0xff,0x20,0x1b,0x12,0xff,0x26,0x23, +0x1e,0xff,0x09,0x09,0x08,0xff,0x09,0x09,0x09,0xff,0x11,0x11,0x11,0xff,0x07,0x07, +0x07,0xff,0x07,0x07,0x07,0xff,0x10,0x10,0x10,0xff,0x07,0x07,0x07,0xff,0x09,0x09, +0x09,0xff,0x05,0x05,0x05,0xff,0x07,0x07,0x07,0xff,0x10,0x10,0x10,0xff,0x1e,0x1e, +0x1e,0xff,0x0c,0x0c,0x0c,0xff,0x06,0x06,0x06,0xff,0x1f,0x1f,0x1f,0xff,0x25,0x25, +0x25,0xff,0x0f,0x0f,0x0f,0xff,0x05,0x05,0x05,0xff,0x19,0x19,0x19,0xff,0x14,0x13, +0x12,0xff,0x42,0x3e,0x38,0xff,0x1d,0x1c,0x1a,0xff,0x00,0x00,0x00,0xff,0x0a,0x0a, +0x0a,0xff,0x1a,0x1a,0x1a,0xff,0x0f,0x0f,0x0f,0xff,0x12,0x12,0x12,0xff,0x11,0x11, +0x11,0xff,0x1f,0x1f,0x1f,0xff,0x0b,0x0b,0x0b,0xff,0x14,0x14,0x14,0xff,0x17,0x17, +0x17,0xff,0x1c,0x1c,0x1c,0xff,0x16,0x16,0x16,0xff,0x04,0x04,0x04,0xff,0x08,0x08, +0x08,0xff,0x07,0x07,0x07,0xff,0x0f,0x0f,0x0f,0xff,0x0e,0x0e,0x0e,0xff,0x05,0x05, +0x05,0xff,0x0e,0x0e,0x0e,0xff,0x04,0x04,0x04,0xff,0x15,0x15,0x15,0xff,0x26,0x26, +0x26,0xff,0x1c,0x1c,0x1c,0xff,0x0c,0x0c,0x0c,0xff,0x0e,0x0e,0x0e,0xff,0xff,0xff, +0xff,0x00,0x55,0x4e,0x43,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x54,0x4e, +0x42,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e, +0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62, +0x53,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xe1,0xd5,0xc1,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x0e,0x0e,0x0e,0xff,0x03,0x03,0x03,0xff,0x06,0x06, +0x06,0xff,0x16,0x16,0x16,0xff,0x14,0x14,0x14,0xff,0x12,0x12,0x12,0xff,0x1d,0x1d, +0x1d,0xff,0x09,0x09,0x09,0xff,0x0d,0x0d,0x0d,0xff,0x11,0x11,0x11,0xff,0x14,0x14, +0x14,0xff,0x17,0x17,0x17,0xff,0x0b,0x0b,0x0b,0xff,0x01,0x01,0x01,0xff,0x0d,0x0d, +0x0d,0xff,0x14,0x12,0x0f,0xff,0x31,0x2b,0x23,0xff,0x2c,0x27,0x1d,0xff,0x1b,0x18, +0x13,0xff,0x07,0x07,0x06,0xff,0x13,0x13,0x13,0xff,0x13,0x13,0x13,0xff,0x0a,0x0a, +0x0a,0xff,0x16,0x16,0x16,0xff,0x0a,0x0a,0x0a,0xff,0x0c,0x0c,0x0c,0xff,0x0b,0x0b, +0x0b,0xff,0x11,0x11,0x11,0xff,0x07,0x07,0x07,0xff,0x10,0x10,0x10,0xff,0x23,0x23, +0x23,0xff,0x1e,0x1e,0x1e,0xff,0x0a,0x0a,0x0a,0xff,0x0d,0x0d,0x0d,0xff,0x1a,0x1a, +0x1a,0xff,0x0d,0x0d,0x0d,0xff,0x03,0x03,0x03,0xff,0x08,0x08,0x08,0xff,0x07,0x06, +0x05,0xff,0x34,0x2f,0x29,0xff,0x24,0x21,0x1d,0xff,0x09,0x08,0x08,0xff,0x0a,0x0a, +0x0a,0xff,0x0a,0x0a,0x0a,0xff,0x06,0x06,0x06,0xff,0x13,0x13,0x13,0xff,0x07,0x07, +0x07,0xff,0x06,0x06,0x06,0xff,0x00,0x00,0x00,0xff,0x08,0x08,0x08,0xff,0x10,0x10, +0x10,0xff,0x0d,0x0d,0x0d,0xff,0x1f,0x1f,0x1f,0xff,0x09,0x09,0x09,0xff,0x15,0x15, +0x15,0xff,0x13,0x13,0x13,0xff,0x1c,0x1c,0x1c,0xff,0x13,0x13,0x13,0xff,0x08,0x08, +0x08,0xff,0x03,0x03,0x03,0xff,0x04,0x04,0x04,0xff,0x18,0x18,0x18,0xff,0x14,0x14, +0x14,0xff,0x0c,0x0c,0x0c,0xff,0x0e,0x0e,0x0e,0xff,0x03,0x03,0x03,0xff,0xff,0xff, +0xff,0x00,0x6b,0x64,0x56,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x6b,0x63, +0x57,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62, +0x53,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x04,0x04,0x04,0xff,0x06,0x06,0x06,0xff,0x12,0x12, +0x12,0xff,0x1b,0x1b,0x1b,0xff,0x10,0x10,0x10,0xff,0x23,0x23,0x23,0xff,0x22,0x22, +0x22,0xff,0x0a,0x0a,0x0a,0xff,0x06,0x06,0x06,0xff,0x08,0x08,0x08,0xff,0x15,0x15, +0x15,0xff,0x10,0x10,0x10,0xff,0x16,0x16,0x16,0xff,0x11,0x11,0x11,0xff,0x2f,0x2f, +0x2f,0xff,0x1b,0x19,0x16,0xff,0x2c,0x26,0x1d,0xff,0x1c,0x16,0x0d,0xff,0x12,0x0f, +0x0b,0xff,0x03,0x03,0x02,0xff,0x0e,0x0e,0x0e,0xff,0x24,0x24,0x24,0xff,0x0f,0x0f, +0x0f,0xff,0x06,0x06,0x06,0xff,0x01,0x01,0x01,0xff,0x0a,0x0a,0x0a,0xff,0x13,0x13, +0x13,0xff,0x09,0x09,0x09,0xff,0x00,0x00,0x00,0xff,0x05,0x05,0x05,0xff,0x0b,0x0b, +0x0b,0xff,0x10,0x10,0x10,0xff,0x13,0x13,0x13,0xff,0x15,0x15,0x15,0xff,0x1b,0x1b, +0x1b,0xff,0x0b,0x0b,0x0b,0xff,0x02,0x02,0x02,0xff,0x08,0x08,0x08,0xff,0x10,0x0f, +0x0e,0xff,0x4f,0x4a,0x43,0xff,0x46,0x42,0x3e,0xff,0x0e,0x0e,0x0d,0xff,0x0e,0x0e, +0x0e,0xff,0x0a,0x0a,0x0a,0xff,0x03,0x03,0x03,0xff,0x06,0x06,0x06,0xff,0x01,0x01, +0x01,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x03,0x03, +0x03,0xff,0x07,0x07,0x07,0xff,0x13,0x13,0x13,0xff,0x0a,0x0a,0x0a,0xff,0x1d,0x1d, +0x1d,0xff,0x0f,0x0f,0x0f,0xff,0x0c,0x0c,0x0c,0xff,0x03,0x03,0x03,0xff,0x01,0x01, +0x01,0xff,0x01,0x01,0x01,0xff,0x06,0x06,0x06,0xff,0x17,0x17,0x17,0xff,0x14,0x14, +0x14,0xff,0x07,0x07,0x07,0xff,0x04,0x04,0x04,0xff,0x06,0x06,0x06,0xff,0xff,0xff, +0xff,0x00,0x86,0x7d,0x6e,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x85,0x7c, +0x6e,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x68,0x5e, +0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62, +0x53,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6b,0x62,0x53,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x03,0x03,0x03,0xff,0x11,0x11, +0x11,0xff,0x15,0x15,0x15,0xff,0x07,0x07,0x07,0xff,0x1d,0x1d,0x1d,0xff,0x1b,0x1b, +0x1b,0xff,0x0e,0x0e,0x0e,0xff,0x0d,0x0d,0x0d,0xff,0x07,0x07,0x07,0xff,0x0e,0x0e, +0x0e,0xff,0x09,0x09,0x09,0xff,0x07,0x07,0x07,0xff,0x03,0x03,0x03,0xff,0x0c,0x0c, +0x0c,0xff,0x15,0x13,0x0f,0xff,0x4c,0x47,0x3d,0xff,0x2b,0x26,0x1e,0xff,0x13,0x12, +0x0f,0xff,0x00,0x00,0x00,0xff,0x01,0x01,0x01,0xff,0x17,0x17,0x17,0xff,0x15,0x15, +0x15,0xff,0x08,0x08,0x08,0xff,0x0b,0x0b,0x0b,0xff,0x16,0x16,0x16,0xff,0x0b,0x0b, +0x0b,0xff,0x01,0x01,0x01,0xff,0x00,0x00,0x00,0xff,0x03,0x03,0x03,0xff,0x0c,0x0c, +0x0c,0xff,0x16,0x16,0x16,0xff,0x10,0x10,0x10,0xff,0x0c,0x0c,0x0c,0xff,0x16,0x16, +0x16,0xff,0x16,0x16,0x16,0xff,0x05,0x05,0x05,0xff,0x04,0x04,0x04,0xff,0x09,0x08, +0x07,0xff,0x3a,0x35,0x2e,0xff,0x2c,0x29,0x24,0xff,0x14,0x14,0x13,0xff,0x1f,0x1f, +0x1f,0xff,0x0c,0x0c,0x0c,0xff,0x00,0x00,0x00,0xff,0x01,0x01,0x01,0xff,0x05,0x05, +0x05,0xff,0x03,0x03,0x03,0xff,0x01,0x01,0x01,0xff,0x00,0x00,0x00,0xff,0x06,0x06, +0x06,0xff,0x10,0x10,0x10,0xff,0x07,0x07,0x07,0xff,0x00,0x00,0x00,0xff,0x0b,0x0b, +0x0b,0xff,0x17,0x17,0x17,0xff,0x1e,0x1e,0x1e,0xff,0x08,0x08,0x08,0xff,0x01,0x01, +0x01,0xff,0x0a,0x0a,0x0a,0xff,0x0d,0x0d,0x0d,0xff,0x0b,0x0b,0x0b,0xff,0x17,0x17, +0x17,0xff,0x05,0x05,0x05,0xff,0x00,0x00,0x00,0xff,0x03,0x03,0x03,0xff,0xff,0xff, +0xff,0x00,0xa1,0x97,0x88,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xa1,0x97, +0x88,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x05,0x05,0x05,0xff,0x04,0x04,0x04,0xff,0x07,0x07, +0x07,0xff,0x09,0x09,0x09,0xff,0x04,0x04,0x04,0xff,0x10,0x10,0x10,0xff,0x15,0x15, +0x15,0xff,0x16,0x16,0x16,0xff,0x0f,0x0f,0x0f,0xff,0x05,0x05,0x05,0xff,0x06,0x06, +0x06,0xff,0x0e,0x0e,0x0e,0xff,0x09,0x09,0x09,0xff,0x14,0x14,0x14,0xff,0x09,0x08, +0x08,0xff,0x15,0x13,0x0e,0xff,0x47,0x41,0x38,0xff,0x35,0x2f,0x26,0xff,0x31,0x2f, +0x2c,0xff,0x0c,0x0c,0x0c,0xff,0x05,0x05,0x05,0xff,0x14,0x14,0x14,0xff,0x0c,0x0c, +0x0c,0xff,0x05,0x05,0x05,0xff,0x20,0x20,0x20,0xff,0x29,0x29,0x29,0xff,0x0a,0x0a, +0x0a,0xff,0x00,0x00,0x00,0xff,0x03,0x03,0x03,0xff,0x11,0x11,0x11,0xff,0x18,0x18, +0x18,0xff,0x0c,0x0c,0x0c,0xff,0x07,0x07,0x07,0xff,0x10,0x10,0x10,0xff,0x09,0x09, +0x09,0xff,0x05,0x05,0x05,0xff,0x02,0x02,0x02,0xff,0x0b,0x0b,0x0b,0xff,0x12,0x12, +0x11,0xff,0x3a,0x36,0x2f,0xff,0x32,0x2e,0x29,0xff,0x1b,0x1a,0x1a,0xff,0x0f,0x0f, +0x0f,0xff,0x0b,0x0b,0x0b,0xff,0x03,0x03,0x03,0xff,0x0b,0x0b,0x0b,0xff,0x19,0x19, +0x19,0xff,0x13,0x13,0x13,0xff,0x0e,0x0e,0x0e,0xff,0x07,0x07,0x07,0xff,0x0c,0x0c, +0x0c,0xff,0x06,0x06,0x06,0xff,0x05,0x05,0x05,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x05,0x05,0x05,0xff,0x0c,0x0c,0x0c,0xff,0x07,0x07,0x07,0xff,0x06,0x06, +0x06,0xff,0x16,0x16,0x16,0xff,0x1c,0x1c,0x1c,0xff,0x0b,0x0b,0x0b,0xff,0x1c,0x1c, +0x1c,0xff,0x0e,0x0e,0x0e,0xff,0x05,0x05,0x05,0xff,0x04,0x04,0x04,0xff,0xff,0xff, +0xff,0x00,0xbb,0xb1,0x9f,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x68,0x5e,0x4f,0xff,0xbb,0xb0,0x9f,0xff,0xbc,0xb1,0xa0,0xff,0x68,0x5e, +0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x27,0x27,0x27,0xff,0x10,0x10,0x10,0xff,0x0c,0x0c, +0x0c,0xff,0x15,0x15,0x15,0xff,0x0c,0x0c,0x0c,0xff,0x09,0x09,0x09,0xff,0x11,0x11, +0x11,0xff,0x1a,0x1a,0x1a,0xff,0x22,0x22,0x22,0xff,0x18,0x18,0x18,0xff,0x07,0x07, +0x07,0xff,0x04,0x04,0x04,0xff,0x0d,0x0d,0x0d,0xff,0x32,0x32,0x32,0xff,0x24,0x24, +0x24,0xff,0x26,0x23,0x20,0xff,0x35,0x2e,0x26,0xff,0x21,0x1c,0x13,0xff,0x1a,0x18, +0x14,0xff,0x0e,0x0e,0x0e,0xff,0x02,0x02,0x02,0xff,0x0a,0x0a,0x0a,0xff,0x0c,0x0c, +0x0c,0xff,0x13,0x13,0x13,0xff,0x29,0x29,0x29,0xff,0x16,0x16,0x16,0xff,0x02,0x02, +0x02,0xff,0x01,0x01,0x01,0xff,0x00,0x00,0x00,0xff,0x03,0x03,0x03,0xff,0x0b,0x0b, +0x0b,0xff,0x0a,0x0a,0x0a,0xff,0x0a,0x0a,0x0a,0xff,0x05,0x05,0x05,0xff,0x01,0x01, +0x01,0xff,0x00,0x00,0x00,0xff,0x01,0x01,0x01,0xff,0x0a,0x0a,0x0a,0xff,0x1c,0x1b, +0x1a,0xff,0x3f,0x3b,0x35,0xff,0x3b,0x37,0x31,0xff,0x12,0x11,0x10,0xff,0x03,0x03, +0x03,0xff,0x03,0x03,0x03,0xff,0x0b,0x0b,0x0b,0xff,0x18,0x18,0x18,0xff,0x0c,0x0c, +0x0c,0xff,0x0a,0x0a,0x0a,0xff,0x23,0x23,0x23,0xff,0x18,0x18,0x18,0xff,0x15,0x15, +0x15,0xff,0x0b,0x0b,0x0b,0xff,0x1a,0x1a,0x1a,0xff,0x08,0x08,0x08,0xff,0x07,0x07, +0x07,0xff,0x07,0x07,0x07,0xff,0x06,0x06,0x06,0xff,0x08,0x08,0x08,0xff,0x02,0x02, +0x02,0xff,0x0e,0x0e,0x0e,0xff,0x17,0x17,0x17,0xff,0x06,0x06,0x06,0xff,0x0f,0x0f, +0x0f,0xff,0x28,0x28,0x28,0xff,0x27,0x27,0x27,0xff,0x10,0x10,0x10,0xff,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0xd2,0xc7,0xb3,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xd1,0xc7, +0xb3,0xff,0xd1,0xc6,0xb3,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x21,0x21,0x21,0xff,0x06,0x06,0x06,0xff,0x0d,0x0d, +0x0d,0xff,0x0f,0x0f,0x0f,0xff,0x0b,0x0b,0x0b,0xff,0x08,0x08,0x08,0xff,0x05,0x05, +0x05,0xff,0x08,0x08,0x08,0xff,0x07,0x07,0x07,0xff,0x0a,0x0a,0x0a,0xff,0x0a,0x0a, +0x0a,0xff,0x05,0x05,0x05,0xff,0x16,0x16,0x16,0xff,0x23,0x23,0x23,0xff,0x0f,0x0f, +0x0f,0xff,0x18,0x15,0x12,0xff,0x3c,0x36,0x2e,0xff,0x41,0x3c,0x34,0xff,0x1c,0x1a, +0x17,0xff,0x15,0x15,0x15,0xff,0x0d,0x0d,0x0d,0xff,0x0c,0x0c,0x0c,0xff,0x09,0x09, +0x09,0xff,0x11,0x11,0x11,0xff,0x1b,0x1b,0x1b,0xff,0x12,0x12,0x12,0xff,0x04,0x04, +0x04,0xff,0x02,0x02,0x02,0xff,0x02,0x02,0x02,0xff,0x08,0x08,0x08,0xff,0x15,0x15, +0x15,0xff,0x10,0x10,0x10,0xff,0x0e,0x0e,0x0e,0xff,0x08,0x08,0x08,0xff,0x02,0x02, +0x02,0xff,0x00,0x00,0x00,0xff,0x05,0x05,0x05,0xff,0x04,0x04,0x04,0xff,0x1b,0x1a, +0x1a,0xff,0x39,0x36,0x32,0xff,0x46,0x42,0x3c,0xff,0x21,0x20,0x1f,0xff,0x11,0x11, +0x11,0xff,0x07,0x07,0x07,0xff,0x12,0x12,0x12,0xff,0x0b,0x0b,0x0b,0xff,0x03,0x03, +0x03,0xff,0x04,0x04,0x04,0xff,0x14,0x14,0x14,0xff,0x07,0x07,0x07,0xff,0x06,0x06, +0x06,0xff,0x0c,0x0c,0x0c,0xff,0x1e,0x1e,0x1e,0xff,0x18,0x18,0x18,0xff,0x23,0x23, +0x23,0xff,0x20,0x20,0x20,0xff,0x16,0x16,0x16,0xff,0x1a,0x1a,0x1a,0xff,0x08,0x08, +0x08,0xff,0x02,0x02,0x02,0xff,0x06,0x06,0x06,0xff,0x07,0x07,0x07,0xff,0x0a,0x0a, +0x0a,0xff,0x1d,0x1d,0x1d,0xff,0x21,0x21,0x21,0xff,0x06,0x06,0x06,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x68,0x5e, +0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x15,0x15,0x15,0xff,0x00,0x00,0x00,0xff,0x07,0x07, +0x07,0xff,0x10,0x10,0x10,0xff,0x0c,0x0c,0x0c,0xff,0x01,0x01,0x01,0xff,0x07,0x07, +0x07,0xff,0x14,0x14,0x14,0xff,0x0b,0x0b,0x0b,0xff,0x21,0x21,0x21,0xff,0x2c,0x2c, +0x2c,0xff,0x17,0x17,0x17,0xff,0x14,0x14,0x14,0xff,0x0c,0x0c,0x0c,0xff,0x07,0x07, +0x07,0xff,0x10,0x0e,0x0c,0xff,0x38,0x33,0x2b,0xff,0x37,0x32,0x2b,0xff,0x10,0x10, +0x0e,0xff,0x0a,0x0a,0x0a,0xff,0x18,0x18,0x18,0xff,0x09,0x09,0x09,0xff,0x01,0x01, +0x01,0xff,0x05,0x05,0x05,0xff,0x04,0x04,0x04,0xff,0x0b,0x0b,0x0b,0xff,0x02,0x02, +0x02,0xff,0x0b,0x0b,0x0b,0xff,0x10,0x10,0x10,0xff,0x19,0x19,0x19,0xff,0x14,0x14, +0x14,0xff,0x08,0x08,0x08,0xff,0x13,0x13,0x13,0xff,0x1d,0x1d,0x1d,0xff,0x14,0x14, +0x14,0xff,0x08,0x08,0x08,0xff,0x1c,0x1c,0x1c,0xff,0x0a,0x0a,0x0a,0xff,0x1f,0x1f, +0x1e,0xff,0x32,0x30,0x2d,0xff,0x39,0x35,0x30,0xff,0x0d,0x0c,0x0b,0xff,0x0a,0x0a, +0x0a,0xff,0x02,0x02,0x02,0xff,0x06,0x06,0x06,0xff,0x04,0x04,0x04,0xff,0x01,0x01, +0x01,0xff,0x03,0x03,0x03,0xff,0x09,0x09,0x09,0xff,0x04,0x04,0x04,0xff,0x01,0x01, +0x01,0xff,0x04,0x04,0x04,0xff,0x12,0x12,0x12,0xff,0x0c,0x0c,0x0c,0xff,0x08,0x08, +0x08,0xff,0x08,0x08,0x08,0xff,0x0d,0x0d,0x0d,0xff,0x0e,0x0e,0x0e,0xff,0x04,0x04, +0x04,0xff,0x06,0x06,0x06,0xff,0x02,0x02,0x02,0xff,0x01,0x01,0x01,0xff,0x07,0x07, +0x07,0xff,0x0a,0x0a,0x0a,0xff,0x15,0x15,0x15,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x21,0x21,0x21,0xff,0x01,0x01,0x01,0xff,0x00,0x00, +0x00,0xff,0x10,0x10,0x10,0xff,0x21,0x21,0x21,0xff,0x09,0x09,0x09,0xff,0x10,0x10, +0x10,0xff,0x08,0x08,0x08,0xff,0x0d,0x0d,0x0d,0xff,0x11,0x11,0x11,0xff,0x0d,0x0d, +0x0d,0xff,0x10,0x10,0x10,0xff,0x08,0x08,0x08,0xff,0x05,0x05,0x05,0xff,0x09,0x08, +0x08,0xff,0x1a,0x17,0x13,0xff,0x34,0x2e,0x26,0xff,0x21,0x1d,0x15,0xff,0x18,0x17, +0x16,0xff,0x08,0x08,0x08,0xff,0x16,0x16,0x16,0xff,0x04,0x04,0x04,0xff,0x00,0x00, +0x00,0xff,0x01,0x01,0x01,0xff,0x06,0x06,0x06,0xff,0x1b,0x1b,0x1b,0xff,0x08,0x08, +0x08,0xff,0x05,0x05,0x05,0xff,0x0a,0x0a,0x0a,0xff,0x0d,0x0d,0x0d,0xff,0x07,0x07, +0x07,0xff,0x06,0x06,0x06,0xff,0x03,0x03,0x03,0xff,0x12,0x12,0x12,0xff,0x17,0x17, +0x17,0xff,0x0f,0x0f,0x0f,0xff,0x27,0x27,0x27,0xff,0x09,0x09,0x09,0xff,0x07,0x07, +0x07,0xff,0x19,0x18,0x17,0xff,0x46,0x41,0x3c,0xff,0x1b,0x1a,0x18,0xff,0x03,0x03, +0x03,0xff,0x01,0x01,0x01,0xff,0x0c,0x0c,0x0c,0xff,0x12,0x12,0x12,0xff,0x0a,0x0a, +0x0a,0xff,0x08,0x08,0x08,0xff,0x03,0x03,0x03,0xff,0x06,0x06,0x06,0xff,0x00,0x00, +0x00,0xff,0x02,0x02,0x02,0xff,0x0b,0x0b,0x0b,0xff,0x07,0x07,0x07,0xff,0x00,0x00, +0x00,0xff,0x02,0x02,0x02,0xff,0x14,0x14,0x14,0xff,0x16,0x16,0x16,0xff,0x09,0x09, +0x09,0xff,0x10,0x10,0x10,0xff,0x08,0x08,0x08,0xff,0x06,0x06,0x06,0xff,0x1a,0x1a, +0x1a,0xff,0x0d,0x0d,0x0d,0xff,0x21,0x21,0x21,0xff,0x01,0x01,0x01,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x68,0x5e, +0x4f,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x06,0x06,0x06,0xff,0x08,0x08,0x08,0xff,0x07,0x07, +0x07,0xff,0x21,0x21,0x21,0xff,0x2e,0x2e,0x2e,0xff,0x0e,0x0e,0x0e,0xff,0x1b,0x1b, +0x1b,0xff,0x0c,0x0c,0x0c,0xff,0x1e,0x1e,0x1e,0xff,0x09,0x09,0x09,0xff,0x09,0x09, +0x09,0xff,0x1d,0x1d,0x1d,0xff,0x07,0x07,0x07,0xff,0x02,0x02,0x02,0xff,0x07,0x07, +0x06,0xff,0x21,0x1d,0x18,0xff,0x27,0x22,0x1a,0xff,0x19,0x14,0x0e,0xff,0x0a,0x09, +0x08,0xff,0x07,0x07,0x07,0xff,0x1f,0x1f,0x1f,0xff,0x14,0x14,0x14,0xff,0x03,0x03, +0x03,0xff,0x00,0x00,0x00,0xff,0x04,0x04,0x04,0xff,0x14,0x14,0x14,0xff,0x07,0x07, +0x07,0xff,0x07,0x07,0x07,0xff,0x15,0x15,0x15,0xff,0x07,0x07,0x07,0xff,0x0d,0x0d, +0x0d,0xff,0x16,0x16,0x16,0xff,0x0b,0x0b,0x0b,0xff,0x15,0x15,0x15,0xff,0x0a,0x0a, +0x0a,0xff,0x02,0x02,0x02,0xff,0x0c,0x0c,0x0c,0xff,0x04,0x04,0x04,0xff,0x0b,0x0b, +0x0b,0xff,0x14,0x14,0x13,0xff,0x42,0x3e,0x38,0xff,0x47,0x44,0x40,0xff,0x13,0x13, +0x12,0xff,0x03,0x03,0x03,0xff,0x0b,0x0b,0x0b,0xff,0x0b,0x0b,0x0b,0xff,0x15,0x15, +0x15,0xff,0x09,0x09,0x09,0xff,0x06,0x06,0x06,0xff,0x19,0x19,0x19,0xff,0x06,0x06, +0x06,0xff,0x07,0x07,0x07,0xff,0x15,0x15,0x15,0xff,0x12,0x12,0x12,0xff,0x04,0x04, +0x04,0xff,0x06,0x06,0x06,0xff,0x16,0x16,0x16,0xff,0x0a,0x0a,0x0a,0xff,0x00,0x00, +0x00,0xff,0x06,0x06,0x06,0xff,0x02,0x02,0x02,0xff,0x06,0x06,0x06,0xff,0x1b,0x1b, +0x1b,0xff,0x06,0x06,0x06,0xff,0x06,0x06,0x06,0xff,0x08,0x08,0x08,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x0c,0x0c,0x0c,0xff,0x06,0x06, +0x06,0xff,0x11,0x11,0x11,0xff,0x10,0x10,0x10,0xff,0x01,0x01,0x01,0xff,0x0a,0x0a, +0x0a,0xff,0x03,0x03,0x03,0xff,0x13,0x13,0x13,0xff,0x05,0x05,0x05,0xff,0x0b,0x0b, +0x0b,0xff,0x0b,0x0b,0x0b,0xff,0x02,0x02,0x02,0xff,0x01,0x01,0x01,0xff,0x0f,0x0e, +0x0e,0xff,0x33,0x30,0x2c,0xff,0x21,0x1e,0x1a,0xff,0x2b,0x28,0x23,0xff,0x10,0x10, +0x0f,0xff,0x02,0x02,0x02,0xff,0x0c,0x0c,0x0c,0xff,0x18,0x18,0x18,0xff,0x06,0x06, +0x06,0xff,0x00,0x00,0x00,0xff,0x02,0x02,0x02,0xff,0x03,0x03,0x03,0xff,0x01,0x01, +0x01,0xff,0x04,0x04,0x04,0xff,0x08,0x08,0x08,0xff,0x0c,0x0c,0x0c,0xff,0x20,0x20, +0x20,0xff,0x10,0x10,0x0f,0xff,0x00,0x00,0x00,0xff,0x05,0x05,0x05,0xff,0x04,0x04, +0x04,0xff,0x09,0x09,0x09,0xff,0x0e,0x0e,0x0e,0xff,0x04,0x04,0x04,0xff,0x04,0x04, +0x04,0xff,0x0e,0x0e,0x0d,0xff,0x30,0x2d,0x28,0xff,0x50,0x4d,0x47,0xff,0x1a,0x1a, +0x19,0xff,0x03,0x03,0x03,0xff,0x09,0x09,0x09,0xff,0x04,0x04,0x04,0xff,0x15,0x15, +0x15,0xff,0x05,0x05,0x05,0xff,0x04,0x04,0x04,0xff,0x0f,0x0f,0x0f,0xff,0x05,0x05, +0x05,0xff,0x0c,0x0c,0x0c,0xff,0x0d,0x0d,0x0d,0xff,0x0a,0x0a,0x0a,0xff,0x05,0x05, +0x05,0xff,0x05,0x05,0x05,0xff,0x07,0x07,0x07,0xff,0x02,0x02,0x02,0xff,0x02,0x02, +0x02,0xff,0x07,0x07,0x07,0xff,0x02,0x02,0x02,0xff,0x00,0x00,0x00,0xff,0x07,0x07, +0x07,0xff,0x03,0x03,0x03,0xff,0x00,0x00,0x00,0xff,0x0c,0x0c,0x0c,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0xab,0x9d, +0x82,0xff,0xab,0x9d,0x82,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xab,0x9c,0x83,0xff,0x68,0x5e, +0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x68,0x5e,0x4f,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x68,0x5e, +0x4f,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x04,0x04,0x04,0xff,0x05,0x05,0x05,0xff,0x04,0x04, +0x04,0xff,0x04,0x04,0x04,0xff,0x01,0x01,0x01,0xff,0x04,0x04,0x04,0xff,0x10,0x10, +0x10,0xff,0x07,0x07,0x07,0xff,0x06,0x06,0x06,0xff,0x07,0x07,0x07,0xff,0x10,0x10, +0x10,0xff,0x0d,0x0d,0x0d,0xff,0x09,0x09,0x09,0xff,0x06,0x06,0x06,0xff,0x08,0x07, +0x07,0xff,0x36,0x32,0x2b,0xff,0x38,0x33,0x2c,0xff,0x40,0x3c,0x36,0xff,0x0c,0x0c, +0x0b,0xff,0x00,0x00,0x00,0xff,0x02,0x02,0x02,0xff,0x0a,0x0a,0x0a,0xff,0x03,0x03, +0x03,0xff,0x09,0x09,0x09,0xff,0x0f,0x0f,0x0f,0xff,0x05,0x05,0x05,0xff,0x0c,0x0c, +0x0c,0xff,0x17,0x16,0x15,0xff,0x17,0x16,0x15,0xff,0x1d,0x1b,0x19,0xff,0x27,0x26, +0x23,0xff,0x18,0x17,0x14,0xff,0x0d,0x0c,0x0b,0xff,0x0d,0x0c,0x0b,0xff,0x0e,0x0d, +0x0b,0xff,0x0a,0x09,0x08,0xff,0x11,0x11,0x10,0xff,0x09,0x09,0x08,0xff,0x0f,0x0f, +0x0e,0xff,0x1c,0x1c,0x1c,0xff,0x15,0x13,0x12,0xff,0x38,0x34,0x2f,0xff,0x11,0x10, +0x0f,0xff,0x06,0x06,0x06,0xff,0x18,0x18,0x18,0xff,0x06,0x06,0x06,0xff,0x08,0x08, +0x08,0xff,0x02,0x02,0x02,0xff,0x0a,0x0a,0x0a,0xff,0x0f,0x0f,0x0f,0xff,0x02,0x02, +0x02,0xff,0x07,0x07,0x07,0xff,0x13,0x13,0x13,0xff,0x1d,0x1d,0x1d,0xff,0x16,0x16, +0x16,0xff,0x05,0x05,0x05,0xff,0x02,0x02,0x02,0xff,0x09,0x09,0x09,0xff,0x07,0x07, +0x07,0xff,0x02,0x02,0x02,0xff,0x06,0x06,0x06,0xff,0x01,0x01,0x01,0xff,0x0b,0x0b, +0x0b,0xff,0x0d,0x0d,0x0d,0xff,0x04,0x04,0x04,0xff,0x05,0x05,0x05,0xff,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0x97,0x89,0x73,0xff,0x97,0x89,0x73,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x96,0x89, +0x73,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x0a,0x0a,0x0a,0xff,0x0c,0x0c,0x0c,0xff,0x0a,0x0a, +0x0a,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x07,0x07, +0x07,0xff,0x0f,0x0f,0x0f,0xff,0x16,0x16,0x16,0xff,0x1e,0x1e,0x1e,0xff,0x1c,0x1c, +0x1c,0xff,0x15,0x15,0x15,0xff,0x09,0x09,0x09,0xff,0x18,0x18,0x18,0xff,0x0c,0x0b, +0x0a,0xff,0x2b,0x27,0x20,0xff,0x25,0x20,0x18,0xff,0x2b,0x28,0x24,0xff,0x09,0x09, +0x08,0xff,0x02,0x02,0x02,0xff,0x0c,0x0c,0x0c,0xff,0x17,0x17,0x17,0xff,0x16,0x16, +0x16,0xff,0x23,0x23,0x23,0xff,0x25,0x25,0x24,0xff,0x22,0x21,0x20,0xff,0x2f,0x2d, +0x2a,0xff,0x36,0x32,0x2d,0xff,0x2a,0x26,0x20,0xff,0x21,0x1c,0x16,0xff,0x31,0x2d, +0x26,0xff,0x32,0x2e,0x28,0xff,0x3d,0x3a,0x33,0xff,0x3e,0x3a,0x34,0xff,0x2a,0x25, +0x1f,0xff,0x36,0x32,0x2c,0xff,0x4b,0x48,0x43,0xff,0x27,0x25,0x20,0xff,0x23,0x21, +0x1d,0xff,0x38,0x37,0x34,0xff,0x1d,0x1c,0x1a,0xff,0x39,0x35,0x2f,0xff,0x1d,0x1c, +0x19,0xff,0x05,0x05,0x05,0xff,0x06,0x06,0x06,0xff,0x03,0x03,0x03,0xff,0x0d,0x0d, +0x0d,0xff,0x03,0x03,0x03,0xff,0x07,0x07,0x07,0xff,0x1b,0x1b,0x1b,0xff,0x09,0x09, +0x09,0xff,0x0b,0x0b,0x0b,0xff,0x11,0x11,0x11,0xff,0x07,0x07,0x07,0xff,0x04,0x04, +0x04,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x0b,0x0b,0x0b,0xff,0x14,0x14, +0x14,0xff,0x0b,0x0b,0x0b,0xff,0x19,0x19,0x19,0xff,0x0c,0x0c,0x0c,0xff,0x0d,0x0d, +0x0d,0xff,0x07,0x07,0x07,0xff,0x0a,0x0a,0x0a,0xff,0x0c,0x0c,0x0c,0xff,0xff,0xff, +0xff,0x00,0x7f,0x74,0x61,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x7f,0x74, +0x61,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x13,0x13,0x13,0xff,0x1b,0x1b,0x1b,0xff,0x1f,0x1f, +0x1f,0xff,0x09,0x09,0x09,0xff,0x04,0x04,0x04,0xff,0x00,0x00,0x00,0xff,0x03,0x03, +0x03,0xff,0x09,0x09,0x09,0xff,0x15,0x15,0x15,0xff,0x18,0x18,0x18,0xff,0x0c,0x0c, +0x0c,0xff,0x14,0x14,0x14,0xff,0x0e,0x0e,0x0e,0xff,0x22,0x22,0x22,0xff,0x0b,0x0b, +0x09,0xff,0x1f,0x1b,0x14,0xff,0x15,0x11,0x0a,0xff,0x11,0x0f,0x0d,0xff,0x06,0x06, +0x06,0xff,0x05,0x05,0x05,0xff,0x02,0x02,0x02,0xff,0x0a,0x0a,0x0a,0xff,0x03,0x03, +0x03,0xff,0x0d,0x0d,0x0d,0xff,0x18,0x17,0x15,0xff,0x38,0x35,0x30,0xff,0x4e,0x49, +0x41,0xff,0x6e,0x68,0x5e,0xff,0x5f,0x59,0x50,0xff,0x33,0x2d,0x25,0xff,0x29,0x24, +0x1d,0xff,0x20,0x1b,0x13,0xff,0x2b,0x27,0x1f,0xff,0x36,0x31,0x2a,0xff,0x32,0x2d, +0x25,0xff,0x4b,0x45,0x3d,0xff,0x4d,0x47,0x3f,0xff,0x35,0x30,0x27,0xff,0x42,0x3c, +0x34,0xff,0x55,0x51,0x49,0xff,0x40,0x3e,0x3a,0xff,0x3a,0x36,0x30,0xff,0x12,0x10, +0x0d,0xff,0x03,0x02,0x02,0xff,0x06,0x06,0x06,0xff,0x00,0x00,0x00,0xff,0x0a,0x0a, +0x0a,0xff,0x02,0x02,0x02,0xff,0x0b,0x0b,0x0b,0xff,0x1c,0x1c,0x1c,0xff,0x0d,0x0d, +0x0d,0xff,0x13,0x13,0x13,0xff,0x20,0x20,0x20,0xff,0x07,0x07,0x07,0xff,0x02,0x02, +0x02,0xff,0x00,0x00,0x00,0xff,0x04,0x04,0x04,0xff,0x0c,0x0c,0x0c,0xff,0x12,0x12, +0x12,0xff,0x02,0x02,0x02,0xff,0x10,0x10,0x10,0xff,0x0a,0x0a,0x0a,0xff,0x07,0x07, +0x07,0xff,0x04,0x04,0x04,0xff,0x13,0x13,0x13,0xff,0x1b,0x1b,0x1b,0xff,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x68,0x5f, +0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x55,0x55,0x55,0xff,0x31,0x2d,0x29,0xf9,0x68,0x68, +0x67,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x0d,0x0d,0x0d,0xff,0x11,0x11,0x11,0xff,0x0c,0x0c, +0x0c,0xff,0x08,0x08,0x08,0xff,0x0e,0x0e,0x0e,0xff,0x06,0x06,0x06,0xff,0x0c,0x0c, +0x0c,0xff,0x10,0x10,0x10,0xff,0x08,0x08,0x08,0xff,0x0b,0x0b,0x0b,0xff,0x02,0x02, +0x02,0xff,0x0b,0x0b,0x0b,0xff,0x18,0x18,0x18,0xff,0x2a,0x29,0x29,0xff,0x17,0x15, +0x13,0xff,0x2c,0x27,0x1f,0xff,0x2e,0x29,0x21,0xff,0x1e,0x1c,0x1a,0xff,0x0b,0x0a, +0x0a,0xff,0x0e,0x0e,0x0e,0xff,0x0a,0x0a,0x0a,0xff,0x14,0x14,0x14,0xff,0x0a,0x0a, +0x0a,0xff,0x1a,0x1a,0x18,0xff,0x1c,0x19,0x14,0xff,0x48,0x42,0x3b,0xff,0x5a,0x54, +0x4c,0xff,0x51,0x4c,0x45,0xff,0x3e,0x3a,0x34,0xff,0x1e,0x1c,0x18,0xff,0x0e,0x0d, +0x0b,0xff,0x17,0x15,0x11,0xff,0x1c,0x19,0x15,0xff,0x25,0x23,0x1f,0xff,0x1a,0x18, +0x13,0xff,0x1f,0x1c,0x17,0xff,0x28,0x25,0x1f,0xff,0x34,0x30,0x2a,0xff,0x3b,0x36, +0x2e,0xff,0x41,0x3c,0x35,0xff,0x36,0x33,0x2f,0xff,0x2a,0x27,0x24,0xff,0x09,0x07, +0x06,0xff,0x10,0x0f,0x0d,0xff,0x1d,0x1c,0x1b,0xff,0x0c,0x0c,0x0c,0xff,0x1c,0x1c, +0x1c,0xff,0x10,0x10,0x10,0xff,0x1b,0x1b,0x1b,0xff,0x13,0x13,0x13,0xff,0x17,0x17, +0x17,0xff,0x15,0x15,0x15,0xff,0x14,0x14,0x14,0xff,0x05,0x05,0x05,0xff,0x07,0x07, +0x07,0xff,0x03,0x03,0x03,0xff,0x07,0x07,0x07,0xff,0x0c,0x0c,0x0c,0xff,0x15,0x15, +0x15,0xff,0x0c,0x0c,0x0c,0xff,0x1b,0x1b,0x1b,0xff,0x0c,0x0c,0x0c,0xff,0x09,0x09, +0x09,0xff,0x05,0x05,0x05,0xff,0x0d,0x0d,0x0d,0xff,0x11,0x11,0x11,0xff,0xff,0xff, +0xff,0x00,0x53,0x4b,0x3f,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x53,0x4b, +0x40,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x2c,0x2c,0x2c,0xff,0x54,0x52,0x4f,0xff,0x21,0x1f,0x19,0xff,0x2c,0x29, +0x25,0xff,0x4b,0x4b,0x4a,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x2e,0x2e,0x2e,0xff,0x05,0x05,0x05,0xff,0x0d,0x0d, +0x0d,0xff,0x19,0x19,0x19,0xff,0x0d,0x0d,0x0d,0xff,0x03,0x03,0x03,0xff,0x09,0x09, +0x09,0xff,0x1d,0x1d,0x1d,0xff,0x07,0x07,0x07,0xff,0x05,0x05,0x05,0xff,0x0c,0x0c, +0x0c,0xff,0x0d,0x0d,0x0d,0xff,0x0f,0x0f,0x0f,0xff,0x15,0x15,0x15,0xff,0x1f,0x1d, +0x1b,0xff,0x40,0x3a,0x32,0xff,0x28,0x23,0x1b,0xff,0x09,0x08,0x07,0xff,0x05,0x05, +0x05,0xff,0x04,0x04,0x04,0xff,0x03,0x03,0x03,0xff,0x05,0x05,0x05,0xff,0x0c,0x0b, +0x0a,0xff,0x24,0x22,0x1e,0xff,0x31,0x2d,0x25,0xff,0x52,0x4c,0x44,0xff,0x34,0x30, +0x2b,0xff,0x12,0x10,0x0e,0xff,0x12,0x11,0x10,0xff,0x13,0x12,0x11,0xff,0x03,0x03, +0x03,0xff,0x05,0x04,0x04,0xff,0x06,0x05,0x05,0xff,0x15,0x15,0x14,0xff,0x06,0x06, +0x05,0xff,0x03,0x03,0x02,0xff,0x05,0x04,0x03,0xff,0x0d,0x0d,0x0b,0xff,0x0c,0x0a, +0x08,0xff,0x0b,0x0a,0x08,0xff,0x11,0x10,0x0e,0xff,0x1b,0x18,0x14,0xff,0x14,0x11, +0x0e,0xff,0x17,0x13,0x0d,0xff,0x23,0x21,0x1d,0xff,0x0c,0x0c,0x0b,0xff,0x0c,0x0c, +0x0c,0xff,0x09,0x09,0x09,0xff,0x1b,0x1b,0x1b,0xff,0x0e,0x0e,0x0e,0xff,0x0a,0x0a, +0x0a,0xff,0x0a,0x0a,0x0a,0xff,0x05,0x05,0x05,0xff,0x09,0x09,0x09,0xff,0x03,0x03, +0x03,0xff,0x01,0x01,0x01,0xff,0x0b,0x0b,0x0b,0xff,0x0e,0x0e,0x0e,0xff,0x08,0x08, +0x08,0xff,0x01,0x01,0x01,0xff,0x08,0x08,0x08,0xff,0x0f,0x0f,0x0f,0xff,0x15,0x15, +0x15,0xff,0x17,0x17,0x17,0xff,0x2e,0x2e,0x2e,0xff,0x05,0x05,0x05,0xff,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x60,0x5f,0x5f,0xff,0x26,0x22,0x1c,0xff,0x26,0x23,0x1d,0xff,0x26,0x22, +0x1c,0xff,0x68,0x66,0x64,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x09,0x09,0x09,0xff,0x00,0x00,0x00,0xff,0x04,0x04, +0x04,0xff,0x0e,0x0e,0x0e,0xff,0x05,0x05,0x05,0xff,0x07,0x07,0x07,0xff,0x09,0x09, +0x09,0xff,0x13,0x13,0x13,0xff,0x08,0x08,0x08,0xff,0x0d,0x0d,0x0d,0xff,0x27,0x27, +0x27,0xff,0x1d,0x1d,0x1d,0xff,0x19,0x19,0x19,0xff,0x0d,0x0d,0x0d,0xff,0x0f,0x0e, +0x0d,0xff,0x47,0x42,0x3a,0xff,0x32,0x2e,0x27,0xff,0x11,0x10,0x0f,0xff,0x1d,0x1d, +0x1d,0xff,0x0b,0x0b,0x0a,0xff,0x15,0x14,0x13,0xff,0x11,0x10,0x0e,0xff,0x27,0x25, +0x22,0xff,0x37,0x33,0x2d,0xff,0x2c,0x28,0x22,0xff,0x20,0x1d,0x1a,0xff,0x07,0x07, +0x06,0xff,0x02,0x02,0x02,0xff,0x05,0x05,0x05,0xff,0x07,0x07,0x07,0xff,0x01,0x01, +0x01,0xff,0x06,0x06,0x06,0xff,0x05,0x05,0x05,0xff,0x19,0x18,0x18,0xff,0x08,0x08, +0x08,0xff,0x00,0x00,0x00,0xff,0x03,0x03,0x03,0xff,0x0e,0x0e,0x0e,0xff,0x05,0x04, +0x04,0xff,0x03,0x03,0x03,0xff,0x0e,0x0e,0x0e,0xff,0x17,0x16,0x13,0xff,0x32,0x2d, +0x27,0xff,0x41,0x39,0x2f,0xff,0x44,0x3f,0x38,0xff,0x2c,0x29,0x26,0xff,0x11,0x10, +0x0f,0xff,0x01,0x00,0x00,0xff,0x0c,0x0c,0x0c,0xff,0x21,0x21,0x21,0xff,0x11,0x11, +0x11,0xff,0x0d,0x0d,0x0d,0xff,0x07,0x07,0x07,0xff,0x1c,0x1c,0x1c,0xff,0x07,0x07, +0x07,0xff,0x02,0x02,0x02,0xff,0x11,0x11,0x11,0xff,0x0f,0x0f,0x0f,0xff,0x04,0x04, +0x04,0xff,0x05,0x05,0x05,0xff,0x06,0x06,0x06,0xff,0x15,0x15,0x15,0xff,0x09,0x09, +0x09,0xff,0x08,0x08,0x08,0xff,0x09,0x09,0x09,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x66,0x64,0xff,0x2a,0x26,0x20,0xff,0x2a,0x26,0x21,0xff,0x2a,0x26, +0x20,0xff,0x44,0x41,0x3c,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x05,0x05,0x05,0xff,0x03,0x03,0x03,0xff,0x00,0x00, +0x00,0xff,0x02,0x02,0x02,0xff,0x02,0x02,0x02,0xff,0x08,0x08,0x08,0xff,0x0a,0x0a, +0x0a,0xff,0x0b,0x0b,0x0b,0xff,0x1b,0x1b,0x1b,0xff,0x16,0x16,0x16,0xff,0x1f,0x1f, +0x1f,0xff,0x14,0x14,0x14,0xff,0x12,0x12,0x12,0xff,0x0b,0x0b,0x0a,0xff,0x18,0x16, +0x14,0xff,0x45,0x40,0x39,0xff,0x36,0x31,0x2c,0xff,0x24,0x22,0x20,0xff,0x40,0x3e, +0x3c,0xff,0x30,0x2d,0x28,0xff,0x3a,0x35,0x2f,0xff,0x2d,0x28,0x21,0xff,0x1c,0x18, +0x14,0xff,0x18,0x16,0x14,0xff,0x0a,0x09,0x08,0xff,0x03,0x03,0x02,0xff,0x02,0x02, +0x02,0xff,0x0a,0x0a,0x0a,0xff,0x0c,0x0c,0x0c,0xff,0x03,0x03,0x03,0xff,0x06,0x06, +0x06,0xff,0x19,0x19,0x19,0xff,0x11,0x11,0x11,0xff,0x06,0x06,0x06,0xff,0x03,0x03, +0x03,0xff,0x01,0x01,0x01,0xff,0x0a,0x0a,0x0a,0xff,0x0c,0x0c,0x0c,0xff,0x01,0x01, +0x01,0xff,0x01,0x01,0x01,0xff,0x10,0x10,0x10,0xff,0x0e,0x0e,0x0e,0xff,0x1d,0x1b, +0x19,0xff,0x47,0x41,0x39,0xff,0x40,0x39,0x30,0xff,0x28,0x22,0x1a,0xff,0x28,0x23, +0x1e,0xff,0x0f,0x0c,0x0b,0xff,0x04,0x03,0x03,0xff,0x25,0x24,0x23,0xff,0x13,0x12, +0x11,0xff,0x1c,0x1b,0x1a,0xff,0x17,0x16,0x16,0xff,0x18,0x18,0x17,0xff,0x09,0x09, +0x08,0xff,0x12,0x11,0x11,0xff,0x1a,0x1a,0x1a,0xff,0x0e,0x0e,0x0e,0xff,0x05,0x05, +0x05,0xff,0x05,0x05,0x05,0xff,0x08,0x08,0x08,0xff,0x05,0x05,0x05,0xff,0x05,0x05, +0x05,0xff,0x15,0x15,0x15,0xff,0x05,0x05,0x05,0xff,0x03,0x03,0x03,0xff,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x2d,0x2d, +0x2d,0xff,0x33,0x2f,0x28,0xff,0x2f,0x2b,0x23,0xff,0x2f,0x2a,0x24,0xff,0x2f,0x2b, +0x23,0xff,0x2f,0x2b,0x24,0xff,0x4c,0x4c,0x4c,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x07,0x06,0x06,0xff,0x17,0x17,0x16,0xff,0x06,0x06, +0x05,0xff,0x02,0x02,0x02,0xff,0x14,0x14,0x13,0xff,0x11,0x11,0x11,0xff,0x0f,0x0e, +0x0d,0xff,0x0e,0x0e,0x0d,0xff,0x15,0x14,0x13,0xff,0x0e,0x0d,0x0c,0xff,0x0f,0x0e, +0x0d,0xff,0x15,0x14,0x12,0xff,0x2a,0x28,0x26,0xff,0x30,0x2e,0x29,0xff,0x3b,0x36, +0x2e,0xff,0x3d,0x36,0x2c,0xff,0x3c,0x36,0x2d,0xff,0x37,0x31,0x2a,0xff,0x42,0x3e, +0x37,0xff,0x4c,0x48,0x43,0xff,0x33,0x30,0x2c,0xff,0x1f,0x1d,0x1a,0xff,0x09,0x08, +0x07,0xff,0x09,0x09,0x09,0xff,0x05,0x05,0x05,0xff,0x09,0x09,0x09,0xff,0x06,0x06, +0x06,0xff,0x04,0x04,0x04,0xff,0x03,0x03,0x03,0xff,0x05,0x05,0x05,0xff,0x00,0x00, +0x00,0xff,0x13,0x13,0x13,0xff,0x2d,0x2d,0x2d,0xff,0x0a,0x0a,0x0a,0xff,0x01,0x01, +0x01,0xff,0x09,0x09,0x09,0xff,0x33,0x33,0x33,0xff,0x24,0x24,0x24,0xff,0x0b,0x0b, +0x0b,0xff,0x0c,0x0c,0x0c,0xff,0x19,0x19,0x19,0xff,0x0f,0x0f,0x0f,0xff,0x00,0x00, +0x00,0xff,0x28,0x24,0x21,0xff,0x4a,0x45,0x3e,0xff,0x2c,0x28,0x22,0xff,0x12,0x10, +0x0d,0xff,0x16,0x13,0x10,0xff,0x19,0x15,0x13,0xff,0x51,0x4c,0x46,0xff,0x3a,0x36, +0x2f,0xff,0x33,0x2e,0x29,0xff,0x37,0x33,0x2f,0xff,0x1f,0x1d,0x19,0xff,0x21,0x1f, +0x1d,0xff,0x34,0x33,0x31,0xff,0x1f,0x1e,0x1c,0xff,0x0b,0x0a,0x09,0xff,0x0a,0x09, +0x08,0xff,0x15,0x15,0x15,0xff,0x25,0x24,0x23,0xff,0x0a,0x09,0x08,0xff,0x04,0x03, +0x03,0xff,0x0f,0x0e,0x0d,0xff,0x07,0x06,0x06,0xff,0x17,0x17,0x16,0xff,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x52,0x52, +0x52,0xff,0x33,0x2f,0x27,0xff,0x33,0x2f,0x28,0xff,0x34,0x2f,0x28,0xff,0x33,0x2f, +0x28,0xff,0x33,0x2f,0x27,0xff,0x6c,0x6c,0x6a,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x2c,0x29,0x23,0xff,0x3b,0x37,0x32,0xff,0x21,0x1e, +0x19,0xff,0x18,0x17,0x14,0xff,0x2f,0x2c,0x28,0xff,0x16,0x14,0x11,0xff,0x2f,0x2c, +0x26,0xff,0x3b,0x36,0x2f,0xff,0x32,0x2e,0x26,0xff,0x27,0x22,0x1a,0xff,0x27,0x22, +0x19,0xff,0x38,0x33,0x2a,0xff,0x5a,0x54,0x4b,0xff,0x4d,0x48,0x3f,0xff,0x51,0x4b, +0x41,0xff,0x49,0x43,0x3a,0xff,0x26,0x22,0x1c,0xff,0x23,0x20,0x1d,0xff,0x1c,0x1b, +0x1a,0xff,0x29,0x29,0x28,0xff,0x0e,0x0d,0x0d,0xff,0x0b,0x0a,0x0a,0xff,0x00,0x00, +0x00,0xff,0x06,0x06,0x06,0xff,0x13,0x13,0x13,0xff,0x20,0x20,0x20,0xff,0x1c,0x1c, +0x1c,0xff,0x06,0x06,0x06,0xff,0x05,0x05,0x05,0xff,0x14,0x14,0x14,0xff,0x0a,0x0a, +0x0a,0xff,0x0c,0x0c,0x0c,0xff,0x1a,0x1a,0x1a,0xff,0x08,0x08,0x08,0xff,0x07,0x07, +0x07,0xff,0x0b,0x0b,0x0b,0xff,0x2e,0x2e,0x2e,0xff,0x1f,0x1f,0x1f,0xff,0x27,0x27, +0x27,0xff,0x21,0x21,0x21,0xff,0x12,0x12,0x12,0xff,0x1e,0x1e,0x1e,0xff,0x0f,0x0e, +0x0d,0xff,0x2d,0x2a,0x26,0xff,0x37,0x32,0x2a,0xff,0x32,0x2f,0x2a,0xff,0x0f,0x0f, +0x0e,0xff,0x10,0x10,0x0f,0xff,0x04,0x03,0x03,0xff,0x1c,0x1b,0x19,0xff,0x28,0x25, +0x20,0xff,0x38,0x34,0x2e,0xff,0x42,0x3e,0x37,0xff,0x4c,0x47,0x3f,0xff,0x5a,0x55, +0x4b,0xff,0x39,0x33,0x2a,0xff,0x35,0x30,0x27,0xff,0x3d,0x38,0x30,0xff,0x28,0x24, +0x1d,0xff,0x0f,0x0d,0x0a,0xff,0x1a,0x17,0x11,0xff,0x12,0x0e,0x08,0xff,0x22,0x1f, +0x19,0xff,0x36,0x32,0x2d,0xff,0x2c,0x29,0x23,0xff,0x3b,0x37,0x32,0xff,0xff,0xff, +0xff,0x00,0x53,0x4b,0x3f,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x53,0x4b, +0x40,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6a,0x69, +0x68,0xff,0x39,0x33,0x2b,0xff,0x39,0x33,0x2b,0xff,0x38,0x34,0x2b,0xff,0x39,0x33, +0x2b,0xff,0x39,0x33,0x2b,0xff,0x69,0x67,0x62,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x21,0x1c,0x16,0xff,0x25,0x20,0x19,0xff,0x3d,0x38, +0x31,0xff,0x3f,0x3a,0x34,0xff,0x39,0x34,0x2c,0xff,0x20,0x1c,0x15,0xff,0x3f,0x3b, +0x33,0xff,0x2f,0x2b,0x24,0xff,0x30,0x2b,0x25,0xff,0x2d,0x29,0x23,0xff,0x2d,0x29, +0x25,0xff,0x20,0x1d,0x1b,0xff,0x33,0x30,0x2c,0xff,0x24,0x20,0x1b,0xff,0x38,0x32, +0x2a,0xff,0x3c,0x37,0x31,0xff,0x0d,0x0c,0x0b,0xff,0x0e,0x0e,0x0e,0xff,0x15,0x15, +0x15,0xff,0x0c,0x0c,0x0c,0xff,0x0b,0x0b,0x0b,0xff,0x19,0x19,0x19,0xff,0x08,0x08, +0x08,0xff,0x0a,0x0a,0x0a,0xff,0x12,0x12,0x12,0xff,0x0c,0x0c,0x0c,0xff,0x11,0x11, +0x11,0xff,0x03,0x03,0x03,0xff,0x06,0x06,0x06,0xff,0x0f,0x0f,0x0f,0xff,0x10,0x10, +0x10,0xff,0x07,0x07,0x07,0xff,0x08,0x08,0x08,0xff,0x15,0x15,0x15,0xff,0x15,0x15, +0x15,0xff,0x06,0x06,0x06,0xff,0x09,0x09,0x09,0xff,0x0b,0x0b,0x0b,0xff,0x28,0x28, +0x28,0xff,0x16,0x16,0x16,0xff,0x0d,0x0d,0x0d,0xff,0x1c,0x1c,0x1c,0xff,0x0d,0x0d, +0x0c,0xff,0x26,0x23,0x1f,0xff,0x28,0x23,0x1b,0xff,0x35,0x31,0x29,0xff,0x22,0x20, +0x1e,0xff,0x1b,0x1a,0x1a,0xff,0x14,0x14,0x14,0xff,0x1b,0x1b,0x1b,0xff,0x0d,0x0c, +0x0b,0xff,0x12,0x11,0x10,0xff,0x27,0x25,0x23,0xff,0x29,0x27,0x23,0xff,0x43,0x40, +0x3b,0xff,0x2b,0x28,0x22,0xff,0x33,0x2f,0x2a,0xff,0x59,0x55,0x4f,0xff,0x44,0x3f, +0x39,0xff,0x21,0x1e,0x17,0xff,0x29,0x25,0x1d,0xff,0x24,0x20,0x18,0xff,0x35,0x31, +0x29,0xff,0x38,0x33,0x2b,0xff,0x21,0x1c,0x16,0xff,0x25,0x20,0x19,0xff,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x68,0x5f, +0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x70,0x6e, +0x6b,0xff,0x3d,0x38,0x2f,0xff,0x3e,0x38,0x2f,0xff,0x3e,0x38,0x2f,0xff,0x3e,0x38, +0x2f,0xff,0x3d,0x38,0x2f,0xff,0x56,0x52,0x4c,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x0e,0x0d,0x0b,0xff,0x0d,0x0c,0x0a,0xff,0x20,0x1e, +0x1c,0xff,0x16,0x14,0x12,0xff,0x18,0x16,0x14,0xff,0x0e,0x0d,0x0a,0xff,0x1d,0x1c, +0x19,0xff,0x1c,0x1b,0x19,0xff,0x20,0x1f,0x1d,0xff,0x09,0x08,0x08,0xff,0x0e,0x0e, +0x0d,0xff,0x10,0x0f,0x0f,0xff,0x10,0x10,0x10,0xff,0x0b,0x09,0x07,0xff,0x29,0x24, +0x1e,0xff,0x31,0x2d,0x29,0xff,0x18,0x18,0x17,0xff,0x0d,0x0d,0x0d,0xff,0x0e,0x0e, +0x0e,0xff,0x06,0x06,0x06,0xff,0x15,0x15,0x15,0xff,0x0e,0x0e,0x0e,0xff,0x01,0x01, +0x01,0xff,0x05,0x05,0x05,0xff,0x03,0x03,0x03,0xff,0x04,0x04,0x04,0xff,0x0a,0x0a, +0x0a,0xff,0x09,0x09,0x09,0xff,0x17,0x17,0x17,0xff,0x0c,0x0c,0x0c,0xff,0x08,0x08, +0x08,0xff,0x08,0x08,0x08,0xff,0x06,0x06,0x06,0xff,0x06,0x06,0x06,0xff,0x08,0x08, +0x08,0xff,0x02,0x02,0x02,0xff,0x02,0x02,0x02,0xff,0x09,0x09,0x09,0xff,0x17,0x17, +0x17,0xff,0x0b,0x0b,0x0b,0xff,0x14,0x14,0x14,0xff,0x10,0x10,0x10,0xff,0x0f,0x0e, +0x0e,0xff,0x1e,0x1c,0x18,0xff,0x40,0x3b,0x34,0xff,0x4a,0x44,0x3c,0xff,0x22,0x1f, +0x1b,0xff,0x0f,0x0e,0x0d,0xff,0x19,0x19,0x19,0xff,0x20,0x20,0x20,0xff,0x05,0x05, +0x05,0xff,0x00,0x00,0x00,0xff,0x08,0x07,0x07,0xff,0x03,0x02,0x02,0xff,0x0d,0x0d, +0x0c,0xff,0x08,0x08,0x07,0xff,0x0d,0x0d,0x0c,0xff,0x1e,0x1d,0x1b,0xff,0x1e,0x1d, +0x1b,0xff,0x1f,0x1e,0x1c,0xff,0x2a,0x28,0x25,0xff,0x1c,0x1a,0x17,0xff,0x26,0x24, +0x22,0xff,0x28,0x26,0x24,0xff,0x0e,0x0d,0x0b,0xff,0x0d,0x0c,0x0a,0xff,0xff,0xff, +0xff,0x00,0x7f,0x74,0x61,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x7f,0x74, +0x61,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xa4,0xa4,0xa4,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xa5,0xa5,0xa5,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xa4,0xa4,0xa4,0xff,0x00,0x00,0x00,0xff,0xa4,0xa4,0xa4,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x48,0x42,0x36,0xff,0x48,0x42,0x36,0xff,0x48,0x42,0x36,0xff,0x48,0x42, +0x36,0xff,0x48,0x42,0x36,0xff,0x48,0x42,0x36,0xff,0x48,0x42,0x36,0xff,0x48,0x42, +0x36,0xff,0x48,0x42,0x36,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x03,0x63,0x60, +0x59,0xff,0x42,0x3d,0x33,0xff,0x43,0x3d,0x33,0xff,0x43,0x3d,0x32,0xff,0x43,0x3d, +0x33,0xff,0x42,0x3d,0x33,0xff,0x4a,0x44,0x3a,0xff,0xff,0xff,0xff,0x06,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x0c,0x0c,0x0c,0xff,0x15,0x15,0x15,0xff,0x09,0x09, +0x09,0xff,0x04,0x04,0x04,0xff,0x04,0x04,0x04,0xff,0x02,0x02,0x02,0xff,0x03,0x03, +0x03,0xff,0x0a,0x0a,0x0a,0xff,0x1a,0x1a,0x1a,0xff,0x07,0x07,0x07,0xff,0x06,0x06, +0x06,0xff,0x08,0x08,0x08,0xff,0x08,0x08,0x07,0xff,0x1f,0x1c,0x18,0xff,0x28,0x23, +0x1d,0xff,0x12,0x11,0x0f,0xff,0x07,0x07,0x07,0xff,0x0a,0x0a,0x0a,0xff,0x1d,0x1d, +0x1d,0xff,0x0b,0x0b,0x0b,0xff,0x0c,0x0c,0x0c,0xff,0x01,0x01,0x01,0xff,0x06,0x06, +0x06,0xff,0x14,0x14,0x14,0xff,0x05,0x05,0x05,0xff,0x09,0x09,0x09,0xff,0x04,0x04, +0x04,0xff,0x04,0x04,0x04,0xff,0x12,0x12,0x12,0xff,0x04,0x04,0x04,0xff,0x04,0x04, +0x04,0xff,0x15,0x15,0x15,0xff,0x1a,0x1a,0x1a,0xff,0x11,0x11,0x11,0xff,0x12,0x12, +0x12,0xff,0x0a,0x0a,0x0a,0xff,0x0b,0x0b,0x0b,0xff,0x02,0x02,0x02,0xff,0x04,0x04, +0x04,0xff,0x01,0x01,0x01,0xff,0x0a,0x0a,0x0a,0xff,0x19,0x19,0x19,0xff,0x26,0x26, +0x26,0xff,0x1d,0x1c,0x1a,0xff,0x30,0x2b,0x25,0xff,0x4f,0x48,0x40,0xff,0x2f,0x2b, +0x26,0xff,0x07,0x06,0x05,0xff,0x0e,0x0e,0x0e,0xff,0x17,0x17,0x17,0xff,0x05,0x05, +0x05,0xff,0x02,0x02,0x02,0xff,0x00,0x00,0x00,0xff,0x02,0x02,0x02,0xff,0x0f,0x0f, +0x0f,0xff,0x11,0x11,0x11,0xff,0x1d,0x1d,0x1d,0xff,0x0a,0x0a,0x0a,0xff,0x11,0x11, +0x11,0xff,0x1f,0x1f,0x1f,0xff,0x27,0x27,0x27,0xff,0x1c,0x1c,0x1c,0xff,0x10,0x10, +0x10,0xff,0x0c,0x0c,0x0c,0xff,0x0c,0x0c,0x0c,0xff,0x15,0x15,0x15,0xff,0xff,0xff, +0xff,0x00,0x96,0x8a,0x73,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x97,0x8a,0x73,0xff,0x97,0x89,0x73,0xff,0x68,0x5e, +0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x5b,0x5b, +0x5b,0xff,0xa4,0xa4,0xa4,0xff,0xa3,0xa3,0xa3,0xff,0xa5,0xa5,0xa5,0xff,0xa4,0xa4, +0xa4,0xff,0xa5,0xa5,0xa5,0xff,0xa5,0xa5,0xa5,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xa5,0xa5,0xa5,0xff,0x5c,0x5c,0x5c,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x5c,0x5c,0x5c,0xff,0xa5,0xa5, +0xa5,0xff,0xa4,0xa4,0xa4,0xff,0x00,0x00,0x00,0xff,0xa4,0xa4,0xa4,0xff,0xa4,0xa4, +0xa4,0xff,0xa5,0xa5,0xa5,0xff,0x5b,0x5b,0x5b,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x68,0x5e, +0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x26,0x22,0x1c,0xff,0x26,0x22,0x1c,0xff,0x26,0x22,0x1c,0xff,0x26,0x22, +0x1c,0xff,0x26,0x22,0x1c,0xff,0x26,0x22,0x1c,0xff,0x26,0x22,0x1c,0xff,0x26,0x22, +0x1c,0xff,0x26,0x22,0x1c,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xfe,0xfe,0xfe,0x20,0x47,0x42, +0x37,0xff,0x48,0x41,0x36,0xff,0x48,0x42,0x36,0xff,0x47,0x41,0x37,0xff,0x48,0x42, +0x36,0xff,0x48,0x41,0x36,0xff,0x47,0x42,0x37,0xff,0x3a,0x39,0x39,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x08,0x08,0x08,0xff,0x11,0x11,0x11,0xff,0x07,0x07, +0x07,0xff,0x15,0x15,0x15,0xff,0x05,0x05,0x05,0xff,0x01,0x01,0x01,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x0a,0x0a,0x0a,0xff,0x00,0x00,0x00,0xff,0x04,0x04, +0x04,0xff,0x09,0x09,0x09,0xff,0x10,0x0f,0x0e,0xff,0x49,0x45,0x3e,0xff,0x4f,0x49, +0x41,0xff,0x22,0x21,0x1f,0xff,0x15,0x15,0x15,0xff,0x0a,0x0a,0x0a,0xff,0x0b,0x0b, +0x0b,0xff,0x0d,0x0d,0x0d,0xff,0x15,0x15,0x15,0xff,0x09,0x09,0x09,0xff,0x19,0x19, +0x19,0xff,0x29,0x29,0x29,0xff,0x0f,0x0f,0x0f,0xff,0x0b,0x0b,0x0b,0xff,0x04,0x04, +0x04,0xff,0x02,0x02,0x02,0xff,0x08,0x08,0x08,0xff,0x01,0x01,0x01,0xff,0x00,0x00, +0x00,0xff,0x09,0x09,0x09,0xff,0x0e,0x0e,0x0e,0xff,0x0d,0x0d,0x0d,0xff,0x06,0x06, +0x06,0xff,0x0c,0x0c,0x0c,0xff,0x19,0x19,0x19,0xff,0x0c,0x0c,0x0c,0xff,0x0a,0x0a, +0x0a,0xff,0x05,0x05,0x05,0xff,0x04,0x04,0x04,0xff,0x05,0x05,0x05,0xff,0x0b,0x0b, +0x0b,0xff,0x08,0x07,0x06,0xff,0x1e,0x1a,0x15,0xff,0x47,0x42,0x38,0xff,0x34,0x30, +0x2a,0xff,0x0e,0x0d,0x0c,0xff,0x1b,0x1b,0x1b,0xff,0x0a,0x0a,0x0a,0xff,0x02,0x02, +0x02,0xff,0x07,0x07,0x07,0xff,0x02,0x02,0x02,0xff,0x04,0x04,0x04,0xff,0x0f,0x0f, +0x0f,0xff,0x0d,0x0d,0x0d,0xff,0x1e,0x1e,0x1e,0xff,0x10,0x10,0x10,0xff,0x16,0x16, +0x16,0xff,0x0c,0x0c,0x0c,0xff,0x0f,0x0f,0x0f,0xff,0x1f,0x1f,0x1f,0xff,0x10,0x10, +0x10,0xff,0x05,0x05,0x05,0xff,0x08,0x08,0x08,0xff,0x11,0x11,0x11,0xff,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0xab,0x9c,0x83,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0xab,0x9d, +0x83,0xff,0xab,0x9c,0x83,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x5b,0x5b,0x5b,0xff,0xa4,0xa4, +0xa4,0xff,0x5c,0x5c,0x5c,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x5c,0x5c,0x5c,0xff,0xa4,0xa4,0xa4,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x5c,0x5c,0x5c,0xff,0xa3,0xa3,0xa3,0xff,0x5c,0x5c, +0x5c,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x5b,0x5b,0x5b,0xff,0xa5,0xa5,0xa5,0xff,0x5c,0x5c,0x5c,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xf1,0xea,0xdf,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xf1,0xea, +0xdf,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x39,0x39,0x39,0xff,0x4d,0x46, +0x3b,0xff,0x4d,0x47,0x3a,0xff,0x4d,0x46,0x3b,0xff,0x4d,0x46,0x3b,0xff,0x4d,0x46, +0x3b,0xff,0x4d,0x47,0x3a,0xff,0x4d,0x46,0x3b,0xff,0x5c,0x5b,0x5b,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x18,0x18,0x18,0xff,0x03,0x03,0x03,0xff,0x07,0x07, +0x07,0xff,0x1d,0x1d,0x1d,0xff,0x06,0x06,0x06,0xff,0x07,0x07,0x07,0xff,0x00,0x00, +0x00,0xff,0x05,0x05,0x05,0xff,0x10,0x10,0x10,0xff,0x06,0x06,0x06,0xff,0x03,0x03, +0x03,0xff,0x03,0x03,0x03,0xff,0x0b,0x0a,0x08,0xff,0x43,0x3e,0x36,0xff,0x51,0x4c, +0x43,0xff,0x17,0x15,0x13,0xff,0x10,0x0f,0x0f,0xff,0x0c,0x0c,0x0c,0xff,0x0a,0x0a, +0x0a,0xff,0x19,0x19,0x19,0xff,0x0d,0x0d,0x0d,0xff,0x03,0x03,0x03,0xff,0x0e,0x0e, +0x0e,0xff,0x14,0x14,0x14,0xff,0x11,0x11,0x11,0xff,0x08,0x08,0x08,0xff,0x06,0x06, +0x06,0xff,0x04,0x04,0x04,0xff,0x05,0x05,0x05,0xff,0x00,0x00,0x00,0xff,0x04,0x04, +0x04,0xff,0x10,0x10,0x10,0xff,0x06,0x06,0x06,0xff,0x03,0x03,0x03,0xff,0x05,0x05, +0x05,0xff,0x14,0x14,0x14,0xff,0x10,0x10,0x10,0xff,0x22,0x22,0x22,0xff,0x2c,0x2c, +0x2c,0xff,0x16,0x16,0x16,0xff,0x14,0x14,0x14,0xff,0x0c,0x0c,0x0c,0xff,0x0b,0x0b, +0x0b,0xff,0x06,0x06,0x05,0xff,0x23,0x20,0x1b,0xff,0x40,0x3b,0x32,0xff,0x1e,0x1b, +0x15,0xff,0x10,0x10,0x0f,0xff,0x1b,0x1b,0x1b,0xff,0x07,0x07,0x07,0xff,0x08,0x08, +0x08,0xff,0x08,0x08,0x08,0xff,0x01,0x01,0x01,0xff,0x02,0x02,0x02,0xff,0x07,0x07, +0x07,0xff,0x0a,0x0a,0x0a,0xff,0x1e,0x1e,0x1e,0xff,0x17,0x17,0x17,0xff,0x1c,0x1c, +0x1c,0xff,0x07,0x07,0x07,0xff,0x18,0x18,0x18,0xff,0x2a,0x2a,0x2a,0xff,0x15,0x15, +0x15,0xff,0x08,0x08,0x08,0xff,0x18,0x18,0x18,0xff,0x03,0x03,0x03,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e, +0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xa4,0xa4,0xa4,0xff,0x5c,0x5c, +0x5c,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xa4,0xa4,0xa4,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xa3,0xa3,0xa3,0xff,0x5b,0x5b,0x5b,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x5b,0x5b,0x5b,0xff,0xa5,0xa5,0xa5,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e, +0x4f,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xf1,0xea,0xdf,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xf1,0xea, +0xdf,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x4f,0x4e,0x4e,0xff,0x53,0x4b, +0x3f,0xff,0x53,0x4b,0x3f,0xff,0x52,0x4b,0x3f,0xff,0x53,0x4b,0x3f,0xff,0x52,0x4b, +0x3f,0xff,0x53,0x4b,0x3f,0xff,0x53,0x4b,0x3f,0xff,0x70,0x6f,0x6d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x05,0x05,0x05,0xff,0x07,0x07,0x07,0xff,0x0a,0x0a, +0x0a,0xff,0x15,0x15,0x15,0xff,0x0d,0x0d,0x0d,0xff,0x1b,0x1b,0x1b,0xff,0x08,0x08, +0x08,0xff,0x07,0x07,0x07,0xff,0x08,0x08,0x08,0xff,0x07,0x07,0x07,0xff,0x0a,0x0a, +0x0a,0xff,0x04,0x03,0x02,0xff,0x17,0x14,0x0f,0xff,0x3a,0x35,0x2d,0xff,0x52,0x4d, +0x45,0xff,0x20,0x1d,0x19,0xff,0x0b,0x0a,0x09,0xff,0x05,0x05,0x05,0xff,0x07,0x07, +0x07,0xff,0x11,0x11,0x11,0xff,0x0d,0x0d,0x0d,0xff,0x05,0x05,0x05,0xff,0x07,0x07, +0x07,0xff,0x11,0x11,0x11,0xff,0x08,0x08,0x08,0xff,0x01,0x01,0x01,0xff,0x05,0x05, +0x05,0xff,0x04,0x04,0x04,0xff,0x0e,0x0e,0x0e,0xff,0x05,0x05,0x05,0xff,0x02,0x02, +0x02,0xff,0x04,0x04,0x04,0xff,0x03,0x03,0x03,0xff,0x00,0x00,0x00,0xff,0x06,0x06, +0x06,0xff,0x05,0x05,0x05,0xff,0x03,0x03,0x03,0xff,0x1b,0x1b,0x1b,0xff,0x0f,0x0f, +0x0f,0xff,0x07,0x07,0x07,0xff,0x1a,0x1a,0x1a,0xff,0x23,0x23,0x23,0xff,0x18,0x18, +0x18,0xff,0x09,0x09,0x08,0xff,0x2b,0x28,0x23,0xff,0x37,0x33,0x2b,0xff,0x16,0x14, +0x11,0xff,0x24,0x24,0x22,0xff,0x0f,0x0f,0x0f,0xff,0x10,0x10,0x10,0xff,0x22,0x22, +0x22,0xff,0x17,0x17,0x17,0xff,0x07,0x07,0x07,0xff,0x07,0x07,0x07,0xff,0x07,0x07, +0x07,0xff,0x0c,0x0c,0x0c,0xff,0x25,0x25,0x25,0xff,0x15,0x15,0x15,0xff,0x24,0x24, +0x24,0xff,0x14,0x14,0x14,0xff,0x2b,0x2b,0x2b,0xff,0x32,0x32,0x32,0xff,0x1c,0x1c, +0x1c,0xff,0x04,0x04,0x04,0xff,0x05,0x05,0x05,0xff,0x07,0x07,0x07,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xa4,0xa4,0xa4,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xa4,0xa4,0xa4,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xa5,0xa5,0xa5,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xa5,0xa5,0xa5,0xff,0xa4,0xa4, +0xa4,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xf1,0xea,0xdf,0xff,0xf1,0xea, +0xdf,0xff,0x26,0x22,0x1c,0xff,0x26,0x22,0x1c,0xff,0x26,0x22,0x1c,0xff,0x26,0x22, +0x1c,0xff,0x26,0x22,0x1c,0xff,0x26,0x22,0x1c,0xff,0x26,0x22,0x1c,0xff,0x26,0x22, +0x1c,0xff,0x26,0x22,0x1c,0xff,0xf1,0xea,0xdf,0xff,0xf1,0xea,0xdf,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x60,0x5f,0x5e,0xff,0x58,0x50, +0x43,0xff,0x58,0x50,0x43,0xff,0x57,0x50,0x43,0xff,0x58,0x51,0x42,0xff,0x57,0x50, +0x43,0xff,0x58,0x50,0x43,0xff,0x58,0x50,0x43,0xff,0x79,0x77,0x73,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x21,0x21,0x21,0xff,0x10,0x10, +0x10,0xff,0x0a,0x0a,0x0a,0xff,0x0a,0x0a,0x0a,0xff,0x0c,0x0c,0x0c,0xff,0x04,0x04, +0x04,0xff,0x0f,0x0f,0x0f,0xff,0x06,0x06,0x06,0xff,0x05,0x05,0x05,0xff,0x13,0x13, +0x13,0xff,0x0b,0x0b,0x0a,0xff,0x1e,0x1b,0x16,0xff,0x2e,0x29,0x21,0xff,0x31,0x2c, +0x24,0xff,0x18,0x15,0x12,0xff,0x0f,0x0e,0x0e,0xff,0x04,0x04,0x04,0xff,0x02,0x02, +0x02,0xff,0x08,0x08,0x08,0xff,0x0c,0x0c,0x0c,0xff,0x05,0x05,0x05,0xff,0x01,0x01, +0x01,0xff,0x04,0x04,0x04,0xff,0x01,0x01,0x01,0xff,0x08,0x08,0x08,0xff,0x12,0x12, +0x12,0xff,0x04,0x04,0x04,0xff,0x05,0x05,0x05,0xff,0x0c,0x0c,0x0c,0xff,0x10,0x10, +0x10,0xff,0x06,0x06,0x06,0xff,0x0d,0x0d,0x0d,0xff,0x0a,0x0a,0x0a,0xff,0x1a,0x1a, +0x1a,0xff,0x06,0x06,0x06,0xff,0x0d,0x0d,0x0d,0xff,0x25,0x25,0x25,0xff,0x0c,0x0c, +0x0c,0xff,0x01,0x01,0x01,0xff,0x07,0x07,0x07,0xff,0x0a,0x0a,0x0a,0xff,0x07,0x07, +0x07,0xff,0x09,0x09,0x08,0xff,0x2b,0x28,0x25,0xff,0x22,0x1d,0x15,0xff,0x0d,0x0a, +0x05,0xff,0x21,0x20,0x1d,0xff,0x09,0x09,0x08,0xff,0x0b,0x0b,0x0b,0xff,0x09,0x09, +0x09,0xff,0x07,0x07,0x07,0xff,0x13,0x13,0x13,0xff,0x16,0x16,0x16,0xff,0x06,0x06, +0x06,0xff,0x03,0x03,0x03,0xff,0x0b,0x0b,0x0b,0xff,0x05,0x05,0x05,0xff,0x0e,0x0e, +0x0e,0xff,0x0c,0x0c,0x0c,0xff,0x13,0x13,0x13,0xff,0x0f,0x0f,0x0f,0xff,0x04,0x04, +0x04,0xff,0x01,0x01,0x01,0xff,0x00,0x00,0x00,0xff,0x21,0x21,0x21,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xa4,0xa4,0xa4,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xa4,0xa4,0xa4,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xa5,0xa5,0xa5,0xff,0xa5,0xa5,0xa5,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x48,0x42,0x36,0xff,0x48,0x42,0x36,0xff,0x48,0x42,0x36,0xff,0x48,0x42, +0x36,0xff,0x48,0x42,0x36,0xff,0x48,0x42,0x36,0xff,0x48,0x42,0x36,0xff,0x48,0x42, +0x36,0xff,0x48,0x42,0x36,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x6d,0x6c,0x6a,0xff,0x5d,0x55, +0x47,0xff,0x5d,0x55,0x47,0xff,0x5d,0x55,0x47,0xff,0x5d,0x55,0x47,0xff,0x5d,0x55, +0x47,0xff,0x5d,0x55,0x47,0xff,0x5d,0x55,0x47,0xff,0x7b,0x77,0x70,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x01,0x01,0x01,0xff,0x18,0x18,0x18,0xff,0x1a,0x1a, +0x1a,0xff,0x15,0x15,0x15,0xff,0x08,0x08,0x08,0xff,0x0f,0x0f,0x0f,0xff,0x0e,0x0e, +0x0e,0xff,0x18,0x18,0x18,0xff,0x11,0x11,0x11,0xff,0x06,0x06,0x06,0xff,0x12,0x12, +0x11,0xff,0x11,0x10,0x0e,0xff,0x13,0x11,0x0e,0xff,0x30,0x2b,0x24,0xff,0x20,0x1c, +0x16,0xff,0x12,0x10,0x0e,0xff,0x1f,0x1f,0x1f,0xff,0x0b,0x0b,0x0b,0xff,0x04,0x04, +0x04,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d,0x0d,0xff,0x0b,0x0b,0x0b,0xff,0x08,0x08, +0x08,0xff,0x01,0x01,0x01,0xff,0x04,0x04,0x04,0xff,0x05,0x05,0x05,0xff,0x07,0x07, +0x07,0xff,0x00,0x00,0x00,0xff,0x03,0x03,0x03,0xff,0x19,0x19,0x19,0xff,0x1d,0x1d, +0x1d,0xff,0x06,0x06,0x06,0xff,0x03,0x03,0x03,0xff,0x04,0x04,0x04,0xff,0x13,0x13, +0x13,0xff,0x0a,0x0a,0x0a,0xff,0x11,0x11,0x11,0xff,0x14,0x14,0x14,0xff,0x0d,0x0d, +0x0d,0xff,0x07,0x07,0x07,0xff,0x10,0x10,0x10,0xff,0x13,0x13,0x13,0xff,0x11,0x11, +0x11,0xff,0x03,0x03,0x03,0xff,0x0e,0x0d,0x0b,0xff,0x18,0x14,0x0e,0xff,0x1b,0x17, +0x11,0xff,0x25,0x24,0x21,0xff,0x11,0x11,0x11,0xff,0x11,0x11,0x11,0xff,0x02,0x02, +0x02,0xff,0x01,0x01,0x01,0xff,0x04,0x04,0x04,0xff,0x09,0x09,0x09,0xff,0x05,0x05, +0x05,0xff,0x0f,0x0f,0x0f,0xff,0x12,0x12,0x12,0xff,0x1f,0x1f,0x1f,0xff,0x1f,0x1f, +0x1f,0xff,0x11,0x11,0x11,0xff,0x0a,0x0a,0x0a,0xff,0x12,0x12,0x12,0xff,0x05,0x05, +0x05,0xff,0x03,0x03,0x03,0xff,0x01,0x01,0x01,0xff,0x18,0x18,0x18,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xa5,0xa5,0xa5,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xa5,0xa5,0xa5,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xa4,0xa4,0xa4,0xff,0xa4,0xa4, +0xa4,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x77,0x75,0x72,0xff,0x63,0x5a, +0x4b,0xff,0x62,0x5a,0x4b,0xff,0x63,0x5a,0x4c,0xff,0x63,0x5a,0x4b,0xff,0x63,0x5a, +0x4c,0xff,0x62,0x5a,0x4b,0xff,0x63,0x5a,0x4b,0xff,0x7a,0x75,0x6d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x03,0x03,0x03,0xff,0x0f,0x0f, +0x0f,0xff,0x1d,0x1d,0x1d,0xff,0x0b,0x0b,0x0b,0xff,0x0c,0x0c,0x0c,0xff,0x05,0x05, +0x05,0xff,0x07,0x07,0x07,0xff,0x05,0x05,0x05,0xff,0x01,0x01,0x01,0xff,0x0d,0x0d, +0x0c,0xff,0x24,0x22,0x20,0xff,0x23,0x1f,0x1a,0xff,0x3b,0x36,0x2d,0xff,0x23,0x20, +0x1a,0xff,0x11,0x11,0x0f,0xff,0x17,0x17,0x17,0xff,0x11,0x11,0x11,0xff,0x03,0x03, +0x03,0xff,0x0c,0x0c,0x0c,0xff,0x10,0x10,0x10,0xff,0x0d,0x0d,0x0d,0xff,0x02,0x02, +0x02,0xff,0x04,0x04,0x04,0xff,0x18,0x18,0x18,0xff,0x17,0x17,0x17,0xff,0x11,0x11, +0x11,0xff,0x03,0x03,0x03,0xff,0x05,0x05,0x05,0xff,0x19,0x19,0x19,0xff,0x0d,0x0d, +0x0d,0xff,0x03,0x03,0x03,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x05,0x05, +0x05,0xff,0x0b,0x0b,0x0b,0xff,0x0d,0x0d,0x0d,0xff,0x16,0x16,0x16,0xff,0x10,0x10, +0x10,0xff,0x08,0x08,0x08,0xff,0x07,0x07,0x07,0xff,0x04,0x04,0x04,0xff,0x09,0x09, +0x09,0xff,0x00,0x00,0x00,0xff,0x0a,0x09,0x09,0xff,0x15,0x13,0x10,0xff,0x2f,0x2b, +0x26,0xff,0x25,0x24,0x21,0xff,0x12,0x12,0x11,0xff,0x18,0x18,0x18,0xff,0x09,0x09, +0x09,0xff,0x06,0x06,0x06,0xff,0x08,0x08,0x08,0xff,0x14,0x14,0x14,0xff,0x0f,0x0f, +0x0f,0xff,0x06,0x06,0x06,0xff,0x0d,0x0d,0x0d,0xff,0x1c,0x1c,0x1c,0xff,0x22,0x22, +0x22,0xff,0x07,0x07,0x07,0xff,0x01,0x01,0x01,0xff,0x05,0x05,0x05,0xff,0x00,0x00, +0x00,0xff,0x0a,0x0a,0x0a,0xff,0x00,0x00,0x00,0xff,0x03,0x03,0x03,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0xab,0x9d, +0x82,0xff,0xab,0x9d,0x82,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xab,0x9c,0x83,0xff,0x68,0x5e, +0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xa5,0xa5,0xa5,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xa5,0xa5,0xa5,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xa5,0xa5,0xa5,0xff,0xa5,0xa5,0xa5,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xa5,0xa5,0xa5,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e, +0x4f,0xff,0xab,0x9c,0x83,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x7d,0x7b,0x77,0xff,0x68,0x5f, +0x50,0xff,0x68,0x5f,0x4f,0xff,0x68,0x5f,0x4f,0xff,0x68,0x5f,0x4f,0xff,0x68,0x5f, +0x4f,0xff,0x68,0x5f,0x4f,0xff,0x68,0x5f,0x50,0xff,0x79,0x73,0x67,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x0d,0x0d,0x0d,0xff,0x07,0x07,0x07,0xff,0x0f,0x0f, +0x0f,0xff,0x0c,0x0c,0x0c,0xff,0x0c,0x0c,0x0c,0xff,0x0c,0x0c,0x0c,0xff,0x06,0x06, +0x06,0xff,0x07,0x07,0x07,0xff,0x02,0x02,0x02,0xff,0x04,0x04,0x04,0xff,0x18,0x18, +0x18,0xff,0x2b,0x2b,0x2a,0xff,0x26,0x23,0x1e,0xff,0x32,0x2d,0x24,0xff,0x22,0x1f, +0x1a,0xff,0x13,0x13,0x12,0xff,0x0f,0x0f,0x0f,0xff,0x11,0x11,0x11,0xff,0x0a,0x0a, +0x0a,0xff,0x14,0x14,0x14,0xff,0x0d,0x0d,0x0d,0xff,0x14,0x14,0x14,0xff,0x08,0x08, +0x08,0xff,0x0b,0x0b,0x0b,0xff,0x21,0x21,0x21,0xff,0x19,0x19,0x19,0xff,0x15,0x15, +0x15,0xff,0x03,0x03,0x03,0xff,0x01,0x01,0x01,0xff,0x08,0x08,0x08,0xff,0x04,0x04, +0x04,0xff,0x09,0x09,0x09,0xff,0x02,0x02,0x02,0xff,0x06,0x06,0x06,0xff,0x03,0x03, +0x03,0xff,0x0e,0x0e,0x0e,0xff,0x07,0x07,0x07,0xff,0x10,0x10,0x10,0xff,0x10,0x10, +0x10,0xff,0x11,0x11,0x11,0xff,0x05,0x05,0x05,0xff,0x06,0x06,0x06,0xff,0x17,0x17, +0x17,0xff,0x12,0x12,0x11,0xff,0x31,0x2f,0x2b,0xff,0x3b,0x36,0x30,0xff,0x4a,0x45, +0x40,0xff,0x20,0x1e,0x1c,0xff,0x19,0x19,0x19,0xff,0x18,0x18,0x18,0xff,0x0f,0x0f, +0x0f,0xff,0x06,0x06,0x06,0xff,0x07,0x07,0x07,0xff,0x0a,0x0a,0x0a,0xff,0x08,0x08, +0x08,0xff,0x06,0x06,0x06,0xff,0x19,0x19,0x19,0xff,0x15,0x15,0x15,0xff,0x21,0x21, +0x21,0xff,0x0a,0x0a,0x0a,0xff,0x05,0x05,0x05,0xff,0x05,0x05,0x05,0xff,0x0a,0x0a, +0x0a,0xff,0x29,0x29,0x29,0xff,0x0d,0x0d,0x0d,0xff,0x07,0x07,0x07,0xff,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0x97,0x89,0x73,0xff,0x97,0x89,0x73,0xff,0x68,0x5e, +0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0x96,0x89, +0x73,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xa4,0xa4,0xa4,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x5c,0x5c,0x5c,0xff,0xa5,0xa5,0xa5,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xa5,0xa5,0xa5,0xff,0x5b,0x5b,0x5b,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x5b,0x5b,0x5b,0xff,0xa3,0xa3,0xa3,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x68,0x5e,0x4f,0xff,0x96,0x89,0x73,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x81,0x7e,0x77,0xff,0x6d,0x64, +0x54,0xff,0x6d,0x64,0x54,0xff,0x6e,0x64,0x54,0xff,0x6e,0x64,0x53,0xff,0x6e,0x64, +0x54,0xff,0x6d,0x64,0x54,0xff,0x6d,0x64,0x54,0xff,0x78,0x70,0x63,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x15,0x15,0x15,0xff,0x18,0x18,0x18,0xff,0x11,0x11, +0x11,0xff,0x04,0x04,0x04,0xff,0x03,0x03,0x03,0xff,0x04,0x04,0x04,0xff,0x0d,0x0d, +0x0d,0xff,0x04,0x04,0x04,0xff,0x00,0x00,0x00,0xff,0x06,0x06,0x06,0xff,0x04,0x04, +0x04,0xff,0x0f,0x0e,0x0e,0xff,0x2c,0x29,0x24,0xff,0x42,0x3d,0x35,0xff,0x28,0x25, +0x20,0xff,0x0c,0x0c,0x0b,0xff,0x12,0x12,0x12,0xff,0x0a,0x0a,0x0a,0xff,0x04,0x04, +0x04,0xff,0x05,0x05,0x05,0xff,0x03,0x03,0x03,0xff,0x19,0x19,0x19,0xff,0x19,0x19, +0x19,0xff,0x15,0x15,0x15,0xff,0x0b,0x0b,0x0b,0xff,0x06,0x06,0x06,0xff,0x16,0x16, +0x16,0xff,0x05,0x05,0x05,0xff,0x00,0x00,0x00,0xff,0x07,0x07,0x07,0xff,0x03,0x03, +0x03,0xff,0x05,0x05,0x05,0xff,0x06,0x06,0x06,0xff,0x17,0x17,0x17,0xff,0x0a,0x0a, +0x0a,0xff,0x0d,0x0d,0x0d,0xff,0x09,0x09,0x09,0xff,0x09,0x09,0x09,0xff,0x04,0x04, +0x04,0xff,0x07,0x07,0x07,0xff,0x09,0x09,0x09,0xff,0x02,0x02,0x02,0xff,0x16,0x16, +0x16,0xff,0x11,0x10,0x10,0xff,0x1a,0x17,0x13,0xff,0x36,0x31,0x29,0xff,0x4a,0x46, +0x40,0xff,0x0f,0x0f,0x0e,0xff,0x07,0x07,0x07,0xff,0x0c,0x0c,0x0c,0xff,0x0d,0x0d, +0x0d,0xff,0x02,0x02,0x02,0xff,0x04,0x04,0x04,0xff,0x08,0x08,0x08,0xff,0x03,0x03, +0x03,0xff,0x07,0x07,0x07,0xff,0x1f,0x1f,0x1f,0xff,0x19,0x19,0x19,0xff,0x16,0x16, +0x16,0xff,0x09,0x09,0x09,0xff,0x0c,0x0c,0x0c,0xff,0x0b,0x0b,0x0b,0xff,0x06,0x06, +0x06,0xff,0x1a,0x1a,0x1a,0xff,0x15,0x15,0x15,0xff,0x18,0x18,0x18,0xff,0xff,0xff, +0xff,0x00,0x7f,0x74,0x61,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x7f,0x74, +0x61,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xa4,0xa4,0xa4,0xff,0x5c,0x5c, +0x5c,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x5c,0x5c, +0x5c,0xff,0xa5,0xa5,0xa5,0xff,0x5b,0x5b,0x5b,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x5c,0x5c,0x5c,0xff,0xa4,0xa4,0xa4,0xff,0x5b,0x5b, +0x5b,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x5c,0x5c,0x5c,0xff,0xa4,0xa4,0xa4,0xff,0x5c,0x5c,0x5c,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x7f,0x74,0x61,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x26,0x22,0x1c,0xff,0x26,0x22,0x1c,0xff,0x26,0x22,0x1c,0xff,0x26,0x22, +0x1c,0xff,0x26,0x22,0x1c,0xff,0x26,0x22,0x1c,0xff,0x26,0x22,0x1c,0xff,0x26,0x22, +0x1c,0xff,0x26,0x22,0x1c,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x84,0x7f,0x76,0xff,0x73,0x69, +0x58,0xff,0x73,0x69,0x58,0xff,0x73,0x69,0x58,0xff,0x73,0x69,0x58,0xff,0x73,0x69, +0x58,0xff,0x73,0x69,0x58,0xff,0x73,0x69,0x58,0xff,0x78,0x70,0x60,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x04,0x04,0x04,0xff,0x05,0x05,0x05,0xff,0x05,0x05, +0x05,0xff,0x06,0x06,0x06,0xff,0x02,0x02,0x02,0xff,0x05,0x05,0x05,0xff,0x17,0x17, +0x17,0xff,0x08,0x08,0x08,0xff,0x08,0x08,0x08,0xff,0x1e,0x1e,0x1e,0xff,0x08,0x08, +0x08,0xff,0x10,0x10,0x0f,0xff,0x2d,0x2b,0x26,0xff,0x3e,0x38,0x30,0xff,0x36,0x32, +0x2d,0xff,0x0a,0x09,0x08,0xff,0x07,0x07,0x07,0xff,0x0a,0x0a,0x0a,0xff,0x0f,0x0f, +0x0f,0xff,0x04,0x04,0x04,0xff,0x04,0x04,0x04,0xff,0x19,0x19,0x19,0xff,0x17,0x17, +0x17,0xff,0x0a,0x0a,0x0a,0xff,0x02,0x02,0x02,0xff,0x07,0x07,0x07,0xff,0x22,0x22, +0x22,0xff,0x14,0x14,0x14,0xff,0x08,0x08,0x08,0xff,0x16,0x16,0x16,0xff,0x0a,0x0a, +0x0a,0xff,0x0a,0x0a,0x0a,0xff,0x02,0x02,0x02,0xff,0x09,0x09,0x09,0xff,0x12,0x12, +0x12,0xff,0x17,0x17,0x17,0xff,0x16,0x16,0x16,0xff,0x16,0x16,0x16,0xff,0x07,0x07, +0x07,0xff,0x0d,0x0d,0x0d,0xff,0x1f,0x1f,0x1f,0xff,0x0d,0x0d,0x0d,0xff,0x20,0x20, +0x20,0xff,0x1a,0x19,0x19,0xff,0x23,0x21,0x1d,0xff,0x67,0x62,0x5a,0xff,0x47,0x43, +0x3d,0xff,0x0a,0x09,0x08,0xff,0x00,0x00,0x00,0xff,0x08,0x08,0x08,0xff,0x08,0x08, +0x08,0xff,0x02,0x02,0x02,0xff,0x02,0x02,0x02,0xff,0x08,0x08,0x08,0xff,0x02,0x02, +0x02,0xff,0x0b,0x0b,0x0b,0xff,0x0a,0x0a,0x0a,0xff,0x0a,0x0a,0x0a,0xff,0x0e,0x0e, +0x0e,0xff,0x0b,0x0b,0x0b,0xff,0x1c,0x1c,0x1c,0xff,0x09,0x09,0x09,0xff,0x02,0x02, +0x02,0xff,0x05,0x05,0x05,0xff,0x04,0x04,0x04,0xff,0x05,0x05,0x05,0xff,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5f, +0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x5c,0x5c,0x5c,0xff,0xa5,0xa5, +0xa5,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xa5,0xa5,0xa5,0xff,0xa5,0xa5, +0xa5,0xff,0xa3,0xa3,0xa3,0xff,0xa4,0xa4,0xa4,0xff,0xa4,0xa4,0xa4,0xff,0xa3,0xa3, +0xa3,0xff,0x5c,0x5c,0x5c,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x5b,0x5b,0x5b,0xff,0xa4,0xa4, +0xa4,0xff,0xa4,0xa4,0xa4,0xff,0xa4,0xa4,0xa4,0xff,0x00,0x00,0x00,0xff,0xa4,0xa4, +0xa4,0xff,0xa5,0xa5,0xa5,0xff,0x5c,0x5c,0x5c,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5f,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x80,0x74,0xff,0x79,0x6e, +0x5c,0xff,0x79,0x6e,0x5c,0xff,0x78,0x6e,0x5c,0xff,0x78,0x6e,0x5c,0xff,0x78,0x6e, +0x5c,0xff,0x79,0x6e,0x5c,0xff,0x79,0x6e,0x5c,0xff,0x7c,0x71,0x61,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x02,0x02,0x02,0xff,0x03,0x03,0x03,0xff,0x00,0x00, +0x00,0xff,0x02,0x02,0x02,0xff,0x00,0x00,0x00,0xff,0x03,0x03,0x03,0xff,0x0c,0x0c, +0x0c,0xff,0x0c,0x0c,0x0c,0xff,0x10,0x10,0x10,0xff,0x20,0x20,0x20,0xff,0x07,0x07, +0x07,0xff,0x0e,0x0e,0x0d,0xff,0x19,0x17,0x12,0xff,0x3d,0x37,0x2e,0xff,0x4b,0x46, +0x3f,0xff,0x1b,0x19,0x16,0xff,0x06,0x06,0x05,0xff,0x04,0x04,0x04,0xff,0x05,0x05, +0x05,0xff,0x08,0x08,0x08,0xff,0x01,0x01,0x01,0xff,0x06,0x06,0x06,0xff,0x0c,0x0c, +0x0c,0xff,0x03,0x03,0x03,0xff,0x06,0x06,0x06,0xff,0x04,0x04,0x04,0xff,0x10,0x10, +0x10,0xff,0x18,0x18,0x18,0xff,0x0b,0x0b,0x0b,0xff,0x09,0x09,0x09,0xff,0x07,0x07, +0x07,0xff,0x0a,0x0a,0x0a,0xff,0x01,0x01,0x01,0xff,0x02,0x02,0x02,0xff,0x05,0x05, +0x05,0xff,0x0a,0x0a,0x0a,0xff,0x17,0x17,0x17,0xff,0x11,0x11,0x11,0xff,0x0b,0x0b, +0x0b,0xff,0x1d,0x1d,0x1d,0xff,0x2a,0x2a,0x2a,0xff,0x07,0x07,0x07,0xff,0x10,0x10, +0x10,0xff,0x17,0x17,0x17,0xff,0x1b,0x19,0x17,0xff,0x58,0x52,0x4c,0xff,0x1e,0x1a, +0x15,0xff,0x02,0x01,0x00,0xff,0x05,0x05,0x05,0xff,0x16,0x16,0x16,0xff,0x12,0x12, +0x12,0xff,0x0b,0x0b,0x0b,0xff,0x15,0x15,0x15,0xff,0x1c,0x1c,0x1c,0xff,0x0b,0x0b, +0x0b,0xff,0x16,0x16,0x16,0xff,0x14,0x14,0x14,0xff,0x15,0x15,0x15,0xff,0x16,0x16, +0x16,0xff,0x06,0x06,0x06,0xff,0x0c,0x0c,0x0c,0xff,0x04,0x04,0x04,0xff,0x10,0x10, +0x10,0xff,0x08,0x08,0x08,0xff,0x02,0x02,0x02,0xff,0x03,0x03,0x03,0xff,0xff,0xff, +0xff,0x00,0x53,0x4b,0x3f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x53,0x4b, +0x40,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xa4,0xa4, +0xa4,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xa4,0xa4,0xa4,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xa3,0xa3,0xa3,0xff,0x00,0x00,0x00,0xff,0xa4,0xa4, +0xa4,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x53,0x4b,0x40,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5, +0xc1,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x88,0x80,0x72,0xff,0x7e,0x73, +0x60,0xff,0x7d,0x73,0x60,0xff,0x7e,0x72,0x60,0xff,0x7d,0x73,0x60,0xff,0x7e,0x72, +0x60,0xff,0x7d,0x73,0x60,0xff,0x7e,0x73,0x60,0xff,0x7f,0x76,0x63,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x04,0x04,0x04,0xff,0x12,0x12,0x12,0xff,0x03,0x03, +0x03,0xff,0x00,0x00,0x00,0xff,0x05,0x05,0x05,0xff,0x0e,0x0e,0x0e,0xff,0x14,0x14, +0x14,0xff,0x0e,0x0e,0x0e,0xff,0x03,0x03,0x03,0xff,0x06,0x06,0x06,0xff,0x07,0x07, +0x07,0xff,0x1c,0x1c,0x1c,0xff,0x12,0x11,0x0f,0xff,0x37,0x32,0x29,0xff,0x47,0x41, +0x38,0xff,0x26,0x23,0x1e,0xff,0x07,0x07,0x06,0xff,0x04,0x04,0x04,0xff,0x07,0x07, +0x07,0xff,0x19,0x19,0x19,0xff,0x07,0x07,0x07,0xff,0x0d,0x0d,0x0d,0xff,0x24,0x24, +0x24,0xff,0x12,0x12,0x12,0xff,0x06,0x06,0x06,0xff,0x0f,0x0f,0x0f,0xff,0x1b,0x1b, +0x1b,0xff,0x25,0x25,0x25,0xff,0x21,0x21,0x21,0xff,0x10,0x10,0x10,0xff,0x07,0x07, +0x07,0xff,0x15,0x15,0x15,0xff,0x05,0x05,0x05,0xff,0x07,0x07,0x07,0xff,0x0f,0x0f, +0x0f,0xff,0x02,0x02,0x02,0xff,0x0f,0x0f,0x0f,0xff,0x20,0x20,0x20,0xff,0x19,0x19, +0x19,0xff,0x0f,0x0f,0x0f,0xff,0x1a,0x1a,0x1a,0xff,0x0d,0x0d,0x0d,0xff,0x0c,0x0c, +0x0c,0xff,0x0c,0x0b,0x0b,0xff,0x1f,0x1c,0x18,0xff,0x40,0x3a,0x32,0xff,0x19,0x14, +0x0f,0xff,0x04,0x03,0x01,0xff,0x01,0x01,0x00,0xff,0x0c,0x0c,0x0c,0xff,0x15,0x15, +0x15,0xff,0x10,0x10,0x10,0xff,0x14,0x14,0x14,0xff,0x0a,0x0a,0x0a,0xff,0x00,0x00, +0x00,0xff,0x04,0x04,0x04,0xff,0x07,0x07,0x07,0xff,0x13,0x13,0x13,0xff,0x1a,0x1a, +0x1a,0xff,0x0a,0x0a,0x0a,0xff,0x03,0x03,0x03,0xff,0x06,0x06,0x06,0xff,0x22,0x22, +0x22,0xff,0x09,0x09,0x09,0xff,0x04,0x04,0x04,0xff,0x12,0x12,0x12,0xff,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xe1,0xd5, +0xc1,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x68,0x5e, +0x4f,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e, +0x4f,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e, +0x4f,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e, +0x4f,0xff,0x68,0x5e,0x4f,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0x26,0x22,0x1c,0xff,0x26,0x22,0x1c,0xff,0x26,0x22,0x1c,0xff,0x26,0x22, +0x1c,0xff,0x26,0x22,0x1c,0xff,0x26,0x22,0x1c,0xff,0x26,0x22,0x1c,0xff,0x26,0x22, +0x1c,0xff,0x26,0x22,0x1c,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x89,0x80,0x70,0xff,0x84,0x77, +0x64,0xff,0x83,0x78,0x64,0xff,0x83,0x78,0x64,0xff,0x84,0x78,0x64,0xff,0x83,0x78, +0x64,0xff,0x83,0x78,0x64,0xff,0x84,0x77,0x64,0xff,0x82,0x7a,0x66,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x03,0x03,0x03,0xff,0x11,0x11,0x11,0xff,0x03,0x03, +0x03,0xff,0x03,0x03,0x03,0xff,0x0a,0x0a,0x0a,0xff,0x06,0x06,0x06,0xff,0x08,0x08, +0x08,0xff,0x10,0x10,0x10,0xff,0x04,0x04,0x04,0xff,0x02,0x02,0x02,0xff,0x0b,0x0b, +0x0b,0xff,0x08,0x08,0x08,0xff,0x0a,0x0a,0x08,0xff,0x33,0x2e,0x28,0xff,0x4c,0x45, +0x3b,0xff,0x26,0x21,0x1a,0xff,0x08,0x06,0x05,0xff,0x0b,0x0b,0x0b,0xff,0x09,0x09, +0x09,0xff,0x06,0x06,0x06,0xff,0x00,0x00,0x00,0xff,0x02,0x02,0x02,0xff,0x18,0x18, +0x18,0xff,0x13,0x13,0x13,0xff,0x04,0x04,0x04,0xff,0x04,0x04,0x04,0xff,0x0d,0x0d, +0x0d,0xff,0x18,0x18,0x18,0xff,0x0d,0x0d,0x0d,0xff,0x0f,0x0f,0x0f,0xff,0x10,0x10, +0x10,0xff,0x1a,0x1a,0x1a,0xff,0x06,0x06,0x06,0xff,0x15,0x15,0x15,0xff,0x24,0x24, +0x24,0xff,0x09,0x09,0x09,0xff,0x02,0x02,0x02,0xff,0x0a,0x0a,0x0a,0xff,0x0c,0x0c, +0x0c,0xff,0x00,0x00,0x00,0xff,0x0a,0x0a,0x0a,0xff,0x16,0x16,0x16,0xff,0x09,0x09, +0x09,0xff,0x07,0x06,0x06,0xff,0x2a,0x26,0x22,0xff,0x36,0x30,0x28,0xff,0x2d,0x29, +0x23,0xff,0x09,0x08,0x07,0xff,0x07,0x07,0x07,0xff,0x15,0x15,0x15,0xff,0x1e,0x1e, +0x1e,0xff,0x0a,0x0a,0x0a,0xff,0x04,0x04,0x04,0xff,0x03,0x03,0x03,0xff,0x00,0x00, +0x00,0xff,0x02,0x02,0x02,0xff,0x09,0x09,0x09,0xff,0x0e,0x0e,0x0e,0xff,0x08,0x08, +0x08,0xff,0x08,0x08,0x08,0xff,0x00,0x00,0x00,0xff,0x07,0x07,0x07,0xff,0x25,0x25, +0x25,0xff,0x07,0x07,0x07,0xff,0x03,0x03,0x03,0xff,0x11,0x11,0x11,0xff,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xe1,0xd5, +0xc1,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x68,0x5e,0x4f,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x8c,0x81,0x6e,0xff,0x88,0x7d, +0x68,0xff,0x88,0x7d,0x68,0xff,0x89,0x7d,0x68,0xff,0x89,0x7c,0x68,0xff,0x89,0x7d, +0x68,0xff,0x88,0x7d,0x68,0xff,0x88,0x7d,0x68,0xff,0x89,0x7d,0x68,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x0b,0x0b,0x0b,0xff,0x0b,0x0b,0x0b,0xff,0x02,0x02, +0x02,0xff,0x03,0x03,0x03,0xff,0x08,0x08,0x08,0xff,0x06,0x06,0x06,0xff,0x01,0x01, +0x01,0xff,0x08,0x08,0x08,0xff,0x00,0x00,0x00,0xff,0x10,0x10,0x10,0xff,0x2a,0x2a, +0x2a,0xff,0x0a,0x0a,0x0a,0xff,0x04,0x03,0x03,0xff,0x26,0x22,0x1f,0xff,0x6d,0x67, +0x5d,0xff,0x5a,0x53,0x4a,0xff,0x1e,0x1b,0x16,0xff,0x0c,0x0c,0x0b,0xff,0x18,0x18, +0x18,0xff,0x06,0x06,0x06,0xff,0x00,0x00,0x00,0xff,0x0d,0x0d,0x0d,0xff,0x1e,0x1e, +0x1e,0xff,0x15,0x15,0x15,0xff,0x06,0x06,0x06,0xff,0x00,0x00,0x00,0xff,0x0a,0x0a, +0x0a,0xff,0x23,0x23,0x23,0xff,0x0a,0x0a,0x0a,0xff,0x0a,0x0a,0x0a,0xff,0x1a,0x1a, +0x1a,0xff,0x10,0x10,0x10,0xff,0x0e,0x0e,0x0e,0xff,0x2e,0x2e,0x2e,0xff,0x1a,0x1a, +0x1a,0xff,0x06,0x06,0x06,0xff,0x0b,0x0b,0x0b,0xff,0x16,0x16,0x16,0xff,0x22,0x22, +0x22,0xff,0x08,0x08,0x08,0xff,0x00,0x00,0x00,0xff,0x06,0x06,0x06,0xff,0x01,0x01, +0x01,0xff,0x07,0x07,0x06,0xff,0x37,0x34,0x2f,0xff,0x57,0x51,0x49,0xff,0x38,0x35, +0x2f,0xff,0x0d,0x0d,0x0c,0xff,0x14,0x14,0x14,0xff,0x11,0x11,0x11,0xff,0x1a,0x1a, +0x1a,0xff,0x10,0x10,0x10,0xff,0x06,0x06,0x06,0xff,0x0f,0x0f,0x0f,0xff,0x05,0x05, +0x05,0xff,0x00,0x00,0x00,0xff,0x02,0x02,0x02,0xff,0x05,0x05,0x05,0xff,0x06,0x06, +0x06,0xff,0x19,0x19,0x19,0xff,0x0b,0x0b,0x0b,0xff,0x04,0x04,0x04,0xff,0x19,0x19, +0x19,0xff,0x09,0x09,0x09,0xff,0x0b,0x0b,0x0b,0xff,0x0b,0x0b,0x0b,0xff,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xe1,0xd5, +0xc1,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5, +0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x68,0x5e,0x4f,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x90,0x83,0x6e,0xff,0x8e,0x82, +0x6c,0xff,0x8e,0x82,0x6c,0xff,0x8e,0x82,0x6c,0xff,0x8e,0x81,0x6d,0xff,0x8e,0x82, +0x6c,0xff,0x8e,0x82,0x6c,0xff,0x8e,0x82,0x6c,0xff,0x8e,0x81,0x6c,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x06,0x06,0x06,0xff,0x02,0x02,0x02,0xff,0x00,0x00, +0x00,0xff,0x05,0x05,0x05,0xff,0x13,0x13,0x13,0xff,0x12,0x12,0x12,0xff,0x0a,0x0a, +0x0a,0xff,0x11,0x11,0x11,0xff,0x0a,0x0a,0x0a,0xff,0x1c,0x1c,0x1c,0xff,0x12,0x12, +0x12,0xff,0x00,0x00,0x00,0xff,0x03,0x03,0x03,0xff,0x0e,0x0d,0x0b,0xff,0x4a,0x45, +0x3d,0xff,0x47,0x41,0x37,0xff,0x1b,0x16,0x0f,0xff,0x03,0x02,0x01,0xff,0x06,0x06, +0x06,0xff,0x00,0x00,0x00,0xff,0x07,0x07,0x07,0xff,0x16,0x16,0x16,0xff,0x17,0x17, +0x17,0xff,0x2c,0x2c,0x2c,0xff,0x23,0x23,0x23,0xff,0x06,0x06,0x06,0xff,0x00,0x00, +0x00,0xff,0x09,0x09,0x09,0xff,0x07,0x07,0x07,0xff,0x04,0x04,0x04,0xff,0x0e,0x0e, +0x0e,0xff,0x17,0x17,0x17,0xff,0x14,0x14,0x14,0xff,0x0f,0x0f,0x0f,0xff,0x10,0x10, +0x10,0xff,0x1d,0x1d,0x1d,0xff,0x23,0x23,0x23,0xff,0x11,0x11,0x11,0xff,0x09,0x09, +0x09,0xff,0x01,0x01,0x01,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x0e,0x0d,0x0c,0xff,0x39,0x35,0x2f,0xff,0x57,0x51,0x48,0xff,0x25,0x23, +0x1f,0xff,0x17,0x17,0x16,0xff,0x23,0x23,0x23,0xff,0x08,0x08,0x08,0xff,0x04,0x04, +0x04,0xff,0x05,0x05,0x05,0xff,0x07,0x07,0x07,0xff,0x0f,0x0f,0x0f,0xff,0x09,0x09, +0x09,0xff,0x02,0x02,0x02,0xff,0x08,0x08,0x08,0xff,0x0a,0x0a,0x0a,0xff,0x03,0x03, +0x03,0xff,0x0b,0x0b,0x0b,0xff,0x0e,0x0e,0x0e,0xff,0x08,0x08,0x08,0xff,0x1e,0x1e, +0x1e,0xff,0x0e,0x0e,0x0e,0xff,0x06,0x06,0x06,0xff,0x02,0x02,0x02,0xff,0xff,0xff, +0xff,0x00,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xe1,0xd5, +0xc1,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x68,0x5e, +0x4f,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x92,0x86,0x72,0xff,0x93,0x87, +0x71,0xff,0x93,0x86,0x70,0xff,0x93,0x86,0x70,0xff,0x94,0x86,0x71,0xff,0x93,0x86, +0x70,0xff,0x93,0x86,0x70,0xff,0x93,0x87,0x71,0xff,0x93,0x87,0x70,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x01,0x01,0x01,0xff,0x00,0x00,0x00,0xff,0x05,0x05, +0x05,0xff,0x00,0x00,0x00,0xff,0x04,0x04,0x04,0xff,0x0a,0x0a,0x0a,0xff,0x0f,0x0f, +0x0f,0xff,0x0b,0x0b,0x0b,0xff,0x06,0x06,0x06,0xff,0x21,0x21,0x21,0xff,0x0f,0x0f, +0x0f,0xff,0x06,0x06,0x06,0xff,0x0e,0x0e,0x0e,0xff,0x13,0x13,0x12,0xff,0x45,0x41, +0x39,0xff,0x4a,0x44,0x3c,0xff,0x2d,0x27,0x1f,0xff,0x05,0x04,0x03,0xff,0x00,0x00, +0x00,0xff,0x01,0x01,0x01,0xff,0x01,0x01,0x01,0xff,0x0a,0x0a,0x0a,0xff,0x03,0x03, +0x03,0xff,0x0f,0x0f,0x0f,0xff,0x0f,0x0f,0x0f,0xff,0x05,0x05,0x05,0xff,0x04,0x04, +0x04,0xff,0x11,0x11,0x11,0xff,0x1e,0x1e,0x1e,0xff,0x15,0x15,0x15,0xff,0x12,0x12, +0x12,0xff,0x18,0x18,0x18,0xff,0x26,0x26,0x26,0xff,0x0a,0x0a,0x0a,0xff,0x17,0x17, +0x17,0xff,0x19,0x19,0x19,0xff,0x0a,0x0a,0x0a,0xff,0x02,0x02,0x02,0xff,0x06,0x06, +0x06,0xff,0x06,0x06,0x06,0xff,0x01,0x01,0x01,0xff,0x04,0x04,0x04,0xff,0x08,0x07, +0x07,0xff,0x2d,0x2b,0x27,0xff,0x44,0x3f,0x38,0xff,0x3a,0x35,0x2f,0xff,0x14,0x12, +0x11,0xff,0x1b,0x1b,0x1b,0xff,0x1b,0x1b,0x1b,0xff,0x07,0x07,0x07,0xff,0x02,0x02, +0x02,0xff,0x11,0x11,0x11,0xff,0x14,0x14,0x14,0xff,0x0e,0x0e,0x0e,0xff,0x02,0x02, +0x02,0xff,0x05,0x05,0x05,0xff,0x15,0x15,0x15,0xff,0x08,0x08,0x08,0xff,0x04,0x04, +0x04,0xff,0x0c,0x0c,0x0c,0xff,0x0a,0x0a,0x0a,0xff,0x06,0x06,0x06,0xff,0x1c,0x1c, +0x1c,0xff,0x0f,0x0f,0x0f,0xff,0x01,0x01,0x01,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0x53,0x4b,0x3f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x53,0x4b, +0x40,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x53,0x4b,0x40,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x68,0x5e,0x4f,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9, +0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x97,0x8b,0x78,0xfe,0x98,0x8b, +0x74,0xff,0x98,0x8b,0x75,0xff,0x98,0x8b,0x74,0xff,0x98,0x8b,0x74,0xff,0x98,0x8b, +0x74,0xff,0x98,0x8b,0x75,0xff,0x98,0x8b,0x74,0xff,0x98,0x8c,0x75,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x05,0x05,0x05,0xff,0x05,0x05,0x05,0xff,0x16,0x16, +0x16,0xff,0x09,0x09,0x09,0xff,0x03,0x03,0x03,0xff,0x13,0x13,0x13,0xff,0x16,0x16, +0x16,0xff,0x16,0x16,0x16,0xff,0x04,0x04,0x04,0xff,0x08,0x08,0x08,0xff,0x07,0x07, +0x07,0xff,0x08,0x08,0x08,0xff,0x0a,0x0a,0x0a,0xff,0x12,0x11,0x11,0xff,0x2d,0x2a, +0x25,0xff,0x24,0x21,0x1d,0xff,0x2c,0x28,0x22,0xff,0x0b,0x0a,0x09,0xff,0x03,0x03, +0x03,0xff,0x03,0x03,0x03,0xff,0x02,0x02,0x02,0xff,0x0d,0x0d,0x0d,0xff,0x06,0x06, +0x06,0xff,0x10,0x10,0x10,0xff,0x12,0x12,0x12,0xff,0x0e,0x0e,0x0e,0xff,0x14,0x14, +0x14,0xff,0x20,0x20,0x20,0xff,0x11,0x11,0x11,0xff,0x08,0x08,0x08,0xff,0x0d,0x0d, +0x0d,0xff,0x0e,0x0e,0x0e,0xff,0x27,0x27,0x27,0xff,0x0c,0x0c,0x0c,0xff,0x16,0x16, +0x16,0xff,0x1a,0x1a,0x1a,0xff,0x06,0x06,0x06,0xff,0x05,0x05,0x05,0xff,0x13,0x13, +0x13,0xff,0x06,0x06,0x06,0xff,0x07,0x07,0x07,0xff,0x12,0x12,0x12,0xff,0x13,0x13, +0x12,0xff,0x1e,0x19,0x14,0xff,0x23,0x1d,0x15,0xff,0x22,0x1f,0x19,0xff,0x1d,0x1c, +0x1b,0xff,0x18,0x18,0x18,0xff,0x0d,0x0d,0x0d,0xff,0x0f,0x0f,0x0f,0xff,0x07,0x07, +0x07,0xff,0x17,0x17,0x17,0xff,0x0f,0x0f,0x0f,0xff,0x1e,0x1e,0x1e,0xff,0x07,0x07, +0x07,0xff,0x00,0x00,0x00,0xff,0x09,0x09,0x09,0xff,0x08,0x08,0x08,0xff,0x12,0x12, +0x12,0xff,0x22,0x22,0x22,0xff,0x1a,0x1a,0x1a,0xff,0x05,0x05,0x05,0xff,0x11,0x11, +0x11,0xff,0x13,0x13,0x13,0xff,0x05,0x05,0x05,0xff,0x05,0x05,0x05,0xff,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5f, +0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x68,0x5e, +0x4f,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5f,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x68,0x5e,0x4f,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x9e,0x92,0x7a,0xff,0x9d,0x90, +0x78,0xff,0x9e,0x90,0x78,0xff,0x9e,0x8f,0x78,0xff,0x9e,0x8f,0x78,0xff,0x9e,0x8f, +0x78,0xff,0x9e,0x90,0x78,0xff,0x9d,0x90,0x78,0xff,0x9d,0x90,0x78,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x09,0x09, +0x09,0xff,0x10,0x10,0x10,0xff,0x08,0x08,0x08,0xff,0x14,0x14,0x14,0xff,0x0b,0x0b, +0x0b,0xff,0x11,0x11,0x11,0xff,0x08,0x08,0x08,0xff,0x02,0x02,0x02,0xff,0x01,0x01, +0x01,0xff,0x01,0x01,0x01,0xff,0x0a,0x0a,0x0a,0xff,0x22,0x21,0x21,0xff,0x3a,0x37, +0x32,0xff,0x2b,0x27,0x21,0xff,0x22,0x1f,0x18,0xff,0x0e,0x0d,0x0c,0xff,0x0d,0x0d, +0x0d,0xff,0x07,0x07,0x07,0xff,0x06,0x06,0x06,0xff,0x19,0x19,0x19,0xff,0x06,0x06, +0x06,0xff,0x04,0x04,0x04,0xff,0x03,0x03,0x03,0xff,0x02,0x02,0x02,0xff,0x03,0x03, +0x03,0xff,0x0d,0x0d,0x0d,0xff,0x13,0x13,0x13,0xff,0x10,0x10,0x10,0xff,0x05,0x05, +0x05,0xff,0x05,0x05,0x05,0xff,0x08,0x08,0x08,0xff,0x00,0x00,0x00,0xff,0x04,0x04, +0x04,0xff,0x06,0x06,0x06,0xff,0x04,0x04,0x04,0xff,0x0c,0x0c,0x0c,0xff,0x0b,0x0b, +0x0b,0xff,0x04,0x04,0x04,0xff,0x10,0x10,0x10,0xff,0x1b,0x1a,0x1a,0xff,0x42,0x3f, +0x3c,0xff,0x2b,0x25,0x1d,0xff,0x22,0x1d,0x16,0xff,0x09,0x08,0x07,0xff,0x07,0x07, +0x06,0xff,0x04,0x04,0x04,0xff,0x01,0x01,0x01,0xff,0x0c,0x0c,0x0c,0xff,0x0a,0x0a, +0x0a,0xff,0x1e,0x1e,0x1e,0xff,0x09,0x09,0x09,0xff,0x15,0x15,0x15,0xff,0x02,0x02, +0x02,0xff,0x06,0x06,0x06,0xff,0x15,0x15,0x15,0xff,0x23,0x23,0x23,0xff,0x18,0x18, +0x18,0xff,0x16,0x16,0x16,0xff,0x07,0x07,0x07,0xff,0x07,0x07,0x07,0xff,0x1c,0x1c, +0x1c,0xff,0x11,0x11,0x11,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0x7f,0x74,0x61,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0x7f,0x74, +0x61,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e, +0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x68,0x5e,0x4f,0xff,0x7f,0x74,0x61,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xa2,0x96,0x80,0xff,0xa2,0x94, +0x7c,0xff,0xa3,0x94,0x7c,0xff,0xa3,0x94,0x7b,0xff,0xa2,0x94,0x7c,0xff,0xa3,0x94, +0x7b,0xff,0xa3,0x94,0x7c,0xff,0xa2,0x94,0x7c,0xff,0xa2,0x94,0x7c,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x08,0x08,0x08,0xff,0x03,0x03,0x03,0xff,0x05,0x05, +0x05,0xff,0x07,0x07,0x07,0xff,0x00,0x00,0x00,0xff,0x06,0x06,0x06,0xff,0x02,0x02, +0x02,0xff,0x07,0x07,0x07,0xff,0x10,0x10,0x10,0xff,0x05,0x05,0x05,0xff,0x02,0x02, +0x02,0xff,0x09,0x09,0x09,0xff,0x17,0x17,0x17,0xff,0x29,0x29,0x29,0xff,0x1a,0x18, +0x14,0xff,0x1f,0x1b,0x14,0xff,0x2d,0x2a,0x23,0xff,0x14,0x13,0x12,0xff,0x0f,0x0f, +0x0f,0xff,0x0f,0x0f,0x0f,0xff,0x04,0x04,0x04,0xff,0x06,0x06,0x06,0xff,0x01,0x01, +0x01,0xff,0x01,0x01,0x01,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x03,0x03, +0x03,0xff,0x15,0x15,0x15,0xff,0x1c,0x1c,0x1c,0xff,0x1a,0x1a,0x1a,0xff,0x0f,0x0f, +0x0f,0xff,0x14,0x14,0x14,0xff,0x08,0x08,0x08,0xff,0x00,0x00,0x00,0xff,0x06,0x06, +0x06,0xff,0x00,0x00,0x00,0xff,0x0b,0x0b,0x0b,0xff,0x23,0x23,0x23,0xff,0x0f,0x0f, +0x0f,0xff,0x05,0x05,0x05,0xff,0x1b,0x1b,0x1b,0xff,0x2d,0x2c,0x2a,0xff,0x54,0x50, +0x4a,0xff,0x26,0x21,0x1b,0xff,0x2e,0x2a,0x25,0xff,0x0a,0x09,0x08,0xff,0x00,0x00, +0x00,0xff,0x01,0x01,0x01,0xff,0x08,0x08,0x08,0xff,0x26,0x26,0x26,0xff,0x16,0x16, +0x16,0xff,0x0a,0x0a,0x0a,0xff,0x0a,0x0a,0x0a,0xff,0x19,0x19,0x19,0xff,0x08,0x08, +0x08,0xff,0x09,0x09,0x09,0xff,0x0d,0x0d,0x0d,0xff,0x26,0x26,0x26,0xff,0x1c,0x1c, +0x1c,0xff,0x22,0x22,0x22,0xff,0x06,0x06,0x06,0xff,0x03,0x03,0x03,0xff,0x0f,0x0f, +0x0f,0xff,0x1a,0x1a,0x1a,0xff,0x08,0x08,0x08,0xff,0x03,0x03,0x03,0xff,0xff,0xff, +0xff,0x00,0x96,0x8a,0x73,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x68,0x5e,0x4f,0xff,0x97,0x8a,0x73,0xff,0x97,0x89,0x73,0xff,0x68,0x5e, +0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e, +0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0x97,0x8a, +0x73,0xff,0x97,0x89,0x73,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e, +0x4f,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9, +0x8d,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e,0x4f,0xff,0x86,0x7b,0x68,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xa6,0x9b,0x86,0xff,0xa7,0x99, +0x80,0xff,0xa7,0x99,0x7f,0xff,0xa7,0x99,0x7f,0xff,0xa7,0x99,0x7f,0xff,0xa7,0x99, +0x7f,0xff,0xa7,0x99,0x7f,0xff,0xa7,0x99,0x80,0xff,0xa6,0x98,0x81,0xfe,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x13,0x13,0x13,0xff,0x16,0x16,0x16,0xff,0x1c,0x1c, +0x1c,0xff,0x17,0x17,0x17,0xff,0x05,0x05,0x05,0xff,0x08,0x08,0x08,0xff,0x07,0x07, +0x07,0xff,0x05,0x05,0x05,0xff,0x04,0x04,0x04,0xff,0x02,0x02,0x02,0xff,0x0d,0x0d, +0x0d,0xff,0x18,0x18,0x18,0xff,0x12,0x12,0x12,0xff,0x26,0x26,0x26,0xff,0x1a,0x18, +0x15,0xff,0x37,0x32,0x2b,0xff,0x4b,0x46,0x3e,0xff,0x21,0x1f,0x1d,0xff,0x19,0x18, +0x18,0xff,0x09,0x09,0x09,0xff,0x01,0x01,0x01,0xff,0x01,0x01,0x01,0xff,0x04,0x04, +0x04,0xff,0x05,0x05,0x05,0xff,0x00,0x00,0x00,0xff,0x01,0x01,0x01,0xff,0x0e,0x0e, +0x0e,0xff,0x17,0x17,0x17,0xff,0x0a,0x0a,0x0a,0xff,0x16,0x16,0x16,0xff,0x16,0x16, +0x16,0xff,0x0f,0x0f,0x0f,0xff,0x0e,0x0e,0x0e,0xff,0x07,0x07,0x07,0xff,0x11,0x11, +0x11,0xff,0x07,0x07,0x07,0xff,0x14,0x14,0x14,0xff,0x24,0x24,0x24,0xff,0x1e,0x1e, +0x1e,0xff,0x0b,0x0b,0x0b,0xff,0x09,0x09,0x09,0xff,0x21,0x21,0x1f,0xff,0x40,0x3c, +0x36,0xff,0x12,0x10,0x0d,0xff,0x1d,0x1a,0x17,0xff,0x08,0x07,0x07,0xff,0x02,0x02, +0x02,0xff,0x05,0x05,0x05,0xff,0x09,0x09,0x09,0xff,0x12,0x12,0x12,0xff,0x0c,0x0c, +0x0c,0xff,0x04,0x04,0x04,0xff,0x15,0x15,0x15,0xff,0x0a,0x0a,0x0a,0xff,0x01,0x01, +0x01,0xff,0x02,0x02,0x02,0xff,0x05,0x05,0x05,0xff,0x18,0x18,0x18,0xff,0x0d,0x0d, +0x0d,0xff,0x1e,0x1e,0x1e,0xff,0x09,0x09,0x09,0xff,0x0d,0x0d,0x0d,0xff,0x1a,0x1a, +0x1a,0xff,0x24,0x24,0x24,0xff,0x13,0x13,0x13,0xff,0x16,0x16,0x16,0xff,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0xab,0x9c,0x83,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xab,0x9d, +0x83,0xff,0xab,0x9c,0x83,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e, +0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x68,0x5e,0x4f,0xff,0xab,0x9d,0x83,0xff,0xab,0x9c,0x83,0xff,0x68,0x5e, +0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xa9,0x9e,0x8b,0xff,0xac,0x9d, +0x83,0xff,0xac,0x9d,0x84,0xff,0xac,0x9d,0x84,0xff,0xac,0x9d,0x84,0xff,0xac,0x9d, +0x84,0xff,0xac,0x9d,0x84,0xff,0xac,0x9d,0x83,0xff,0xad,0x9f,0x85,0xfc,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x08,0x08,0x08,0xff,0x11,0x11,0x11,0xff,0x0d,0x0d, +0x0d,0xff,0x15,0x15,0x15,0xff,0x05,0x05,0x05,0xff,0x07,0x07,0x07,0xff,0x07,0x07, +0x07,0xff,0x0c,0x0c,0x0c,0xff,0x03,0x03,0x03,0xff,0x04,0x04,0x04,0xff,0x0d,0x0d, +0x0d,0xff,0x1c,0x1c,0x1c,0xff,0x17,0x17,0x17,0xff,0x2b,0x2b,0x2b,0xff,0x2e,0x2d, +0x2b,0xff,0x47,0x42,0x3a,0xff,0x54,0x4f,0x47,0xff,0x21,0x1e,0x1c,0xff,0x0b,0x0b, +0x0b,0xff,0x01,0x01,0x01,0xff,0x0b,0x0b,0x0b,0xff,0x0b,0x0b,0x0b,0xff,0x15,0x15, +0x15,0xff,0x19,0x19,0x19,0xff,0x08,0x08,0x08,0xff,0x13,0x13,0x13,0xff,0x2b,0x2b, +0x2b,0xff,0x12,0x12,0x12,0xff,0x09,0x09,0x09,0xff,0x20,0x20,0x20,0xff,0x19,0x19, +0x19,0xff,0x11,0x11,0x11,0xff,0x15,0x15,0x15,0xff,0x03,0x03,0x03,0xff,0x04,0x04, +0x04,0xff,0x03,0x03,0x03,0xff,0x12,0x12,0x12,0xff,0x08,0x08,0x08,0xff,0x0b,0x0b, +0x0b,0xff,0x16,0x16,0x16,0xff,0x0b,0x0b,0x0b,0xff,0x26,0x24,0x21,0xff,0x2c,0x29, +0x23,0xff,0x0a,0x08,0x06,0xff,0x08,0x06,0x05,0xff,0x01,0x01,0x01,0xff,0x00,0x00, +0x00,0xff,0x07,0x07,0x07,0xff,0x15,0x15,0x15,0xff,0x0f,0x0f,0x0f,0xff,0x19,0x19, +0x19,0xff,0x09,0x09,0x09,0xff,0x10,0x10,0x10,0xff,0x04,0x04,0x04,0xff,0x07,0x07, +0x07,0xff,0x06,0x06,0x06,0xff,0x0d,0x0d,0x0d,0xff,0x18,0x18,0x18,0xff,0x04,0x04, +0x04,0xff,0x06,0x06,0x06,0xff,0x00,0x00,0x00,0xff,0x0a,0x0a,0x0a,0xff,0x2a,0x2a, +0x2a,0xff,0x22,0x22,0x22,0xff,0x08,0x08,0x08,0xff,0x11,0x11,0x11,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e, +0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e, +0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x68,0x5e, +0x4f,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xa9,0xa0,0x8f,0xff,0xb0,0xa2, +0x87,0xff,0xb1,0xa1,0x87,0xff,0xb1,0xa2,0x86,0xff,0xb1,0xa1,0x87,0xff,0xb1,0xa2, +0x86,0xff,0xb1,0xa1,0x87,0xff,0xb0,0xa2,0x87,0xff,0xb1,0xa2,0x8a,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x05,0x05,0x05,0xff,0x0a,0x0a,0x0a,0xff,0x06,0x06, +0x05,0xff,0x05,0x05,0x05,0xff,0x05,0x04,0x04,0xff,0x0d,0x0d,0x0d,0xff,0x0e,0x0e, +0x0d,0xff,0x05,0x05,0x05,0xff,0x06,0x06,0x06,0xff,0x0a,0x0a,0x0a,0xff,0x05,0x05, +0x05,0xff,0x08,0x08,0x08,0xff,0x06,0x06,0x06,0xff,0x0c,0x0c,0x0c,0xff,0x0c,0x0c, +0x0a,0xff,0x2a,0x26,0x1f,0xff,0x46,0x41,0x39,0xff,0x2d,0x2b,0x26,0xff,0x12,0x12, +0x11,0xff,0x0f,0x0f,0x0f,0xff,0x16,0x16,0x16,0xff,0x0d,0x0d,0x0d,0xff,0x08,0x08, +0x08,0xff,0x17,0x17,0x17,0xff,0x1a,0x1a,0x1a,0xff,0x29,0x29,0x29,0xff,0x21,0x21, +0x21,0xff,0x0e,0x0e,0x0e,0xff,0x02,0x02,0x02,0xff,0x11,0x11,0x11,0xff,0x2a,0x2a, +0x2a,0xff,0x24,0x24,0x24,0xff,0x14,0x14,0x14,0xff,0x03,0x03,0x03,0xff,0x00,0x00, +0x00,0xff,0x02,0x02,0x02,0xff,0x0d,0x0d,0x0d,0xff,0x03,0x03,0x03,0xff,0x04,0x04, +0x04,0xff,0x11,0x11,0x11,0xff,0x1a,0x19,0x18,0xff,0x43,0x40,0x3a,0xff,0x24,0x22, +0x1e,0xff,0x07,0x06,0x06,0xff,0x03,0x03,0x02,0xff,0x01,0x01,0x01,0xff,0x00,0x00, +0x00,0xff,0x03,0x03,0x03,0xff,0x10,0x10,0x10,0xff,0x08,0x08,0x08,0xff,0x0a,0x0a, +0x0a,0xff,0x00,0x00,0x00,0xff,0x08,0x08,0x08,0xff,0x01,0x01,0x01,0xff,0x09,0x09, +0x09,0xff,0x12,0x12,0x12,0xff,0x14,0x14,0x14,0xff,0x12,0x12,0x12,0xff,0x02,0x02, +0x02,0xff,0x00,0x00,0x00,0xff,0x03,0x03,0x03,0xff,0x06,0x06,0x06,0xff,0x1f,0x1f, +0x1f,0xff,0x0e,0x0e,0x0e,0xff,0x05,0x05,0x05,0xff,0x0a,0x0a,0x0a,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e, +0x4f,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xa7,0x9e,0x90,0xff,0xb5,0xa5, +0x8b,0xff,0xb5,0xa5,0x8a,0xff,0xb5,0xa6,0x8b,0xff,0xb6,0xa6,0x8b,0xff,0xb5,0xa6, +0x8b,0xff,0xb5,0xa5,0x8a,0xff,0xb5,0xa5,0x8b,0xff,0xb5,0xa5,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x24,0x22,0x20,0xff,0x0b,0x0a,0x09,0xff,0x0d,0x0c, +0x0a,0xff,0x08,0x07,0x06,0xff,0x09,0x08,0x06,0xff,0x0a,0x09,0x08,0xff,0x18,0x17, +0x16,0xff,0x14,0x13,0x12,0xff,0x16,0x15,0x13,0xff,0x0e,0x0d,0x0c,0xff,0x02,0x01, +0x00,0xff,0x04,0x04,0x03,0xff,0x06,0x06,0x06,0xff,0x16,0x16,0x15,0xff,0x0c,0x0c, +0x0a,0xff,0x33,0x2f,0x29,0xff,0x4f,0x4a,0x42,0xff,0x3d,0x3a,0x35,0xff,0x14,0x13, +0x13,0xff,0x1e,0x1e,0x1e,0xff,0x0f,0x0f,0x0f,0xff,0x08,0x08,0x08,0xff,0x06,0x06, +0x06,0xff,0x17,0x17,0x17,0xff,0x21,0x21,0x21,0xff,0x24,0x24,0x24,0xff,0x12,0x12, +0x12,0xff,0x18,0x18,0x18,0xff,0x10,0x10,0x10,0xff,0x01,0x01,0x01,0xff,0x13,0x13, +0x13,0xff,0x08,0x08,0x08,0xff,0x08,0x08,0x08,0xff,0x01,0x01,0x01,0xff,0x04,0x04, +0x04,0xff,0x02,0x02,0x02,0xff,0x0f,0x0f,0x0f,0xff,0x07,0x07,0x07,0xff,0x06,0x06, +0x06,0xff,0x06,0x06,0x06,0xff,0x19,0x18,0x17,0xff,0x19,0x15,0x11,0xff,0x0a,0x08, +0x06,0xff,0x02,0x02,0x02,0xff,0x01,0x01,0x01,0xff,0x05,0x05,0x05,0xff,0x04,0x04, +0x03,0xff,0x0c,0x0c,0x0c,0xff,0x17,0x17,0x17,0xff,0x07,0x07,0x07,0xff,0x0f,0x0f, +0x0e,0xff,0x0c,0x0c,0x0b,0xff,0x14,0x13,0x13,0xff,0x0a,0x0a,0x09,0xff,0x06,0x06, +0x05,0xff,0x08,0x08,0x07,0xff,0x09,0x08,0x08,0xff,0x12,0x11,0x10,0xff,0x0a,0x09, +0x09,0xff,0x0b,0x0b,0x0a,0xff,0x14,0x13,0x12,0xff,0x06,0x06,0x05,0xff,0x0b,0x0b, +0x0a,0xff,0x1e,0x1d,0x1b,0xff,0x24,0x22,0x20,0xff,0x0b,0x0a,0x09,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x68,0x5e, +0x4f,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xa0,0x9a,0x8e,0xff,0xb9,0xa9, +0x8e,0xff,0xba,0xa9,0x8e,0xff,0xb9,0xa9,0x8e,0xff,0xba,0xaa,0x8e,0xff,0xb9,0xa9, +0x8e,0xff,0xba,0xa9,0x8e,0xff,0xb9,0xa9,0x8e,0xff,0xb6,0xa9,0x91,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x3d,0x39,0x33,0xff,0x34,0x31,0x2b,0xff,0x2d,0x29, +0x23,0xff,0x22,0x1e,0x18,0xff,0x1c,0x18,0x12,0xff,0x19,0x15,0x10,0xff,0x2d,0x2a, +0x24,0xff,0x46,0x42,0x3c,0xff,0x36,0x33,0x2c,0xff,0x29,0x26,0x20,0xff,0x14,0x10, +0x0b,0xff,0x19,0x15,0x11,0xff,0x11,0x0e,0x0c,0xff,0x1f,0x1d,0x19,0xff,0x27,0x25, +0x20,0xff,0x4e,0x49,0x41,0xff,0x47,0x41,0x38,0xff,0x3f,0x3b,0x34,0xff,0x0e,0x0d, +0x0b,0xff,0x0d,0x0d,0x0c,0xff,0x10,0x0f,0x0e,0xff,0x08,0x08,0x07,0xff,0x13,0x13, +0x12,0xff,0x27,0x27,0x26,0xff,0x1c,0x1c,0x1c,0xff,0x0d,0x0d,0x0d,0xff,0x0a,0x0a, +0x0a,0xff,0x12,0x12,0x12,0xff,0x1b,0x1b,0x1b,0xff,0x10,0x10,0x10,0xff,0x2c,0x2c, +0x2c,0xff,0x0e,0x0e,0x0e,0xff,0x09,0x09,0x09,0xff,0x07,0x07,0x07,0xff,0x11,0x11, +0x11,0xff,0x08,0x08,0x08,0xff,0x13,0x13,0x13,0xff,0x07,0x07,0x07,0xff,0x09,0x09, +0x09,0xff,0x12,0x11,0x11,0xff,0x33,0x32,0x2f,0xff,0x19,0x17,0x15,0xff,0x05,0x05, +0x05,0xff,0x08,0x07,0x07,0xff,0x04,0x04,0x03,0xff,0x11,0x11,0x10,0xff,0x0e,0x0d, +0x0d,0xff,0x22,0x20,0x1f,0xff,0x32,0x31,0x2f,0xff,0x10,0x0f,0x0d,0xff,0x1f,0x1d, +0x1a,0xff,0x1c,0x19,0x16,0xff,0x14,0x11,0x0d,0xff,0x29,0x27,0x22,0xff,0x2b,0x28, +0x24,0xff,0x21,0x1e,0x1a,0xff,0x1f,0x1a,0x15,0xff,0x38,0x33,0x2e,0xff,0x36,0x31, +0x2c,0xff,0x3e,0x39,0x34,0xff,0x2f,0x2c,0x26,0xff,0x22,0x1e,0x17,0xff,0x1b,0x17, +0x12,0xff,0x48,0x44,0x3e,0xff,0x3d,0x39,0x33,0xff,0x34,0x31,0x2b,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x68,0x5e, +0x4f,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x97,0x92,0x89,0xff,0xbe,0xae, +0x91,0xff,0xbe,0xae,0x91,0xff,0xbe,0xad,0x90,0xff,0xbe,0xad,0x91,0xff,0xbe,0xad, +0x90,0xff,0xbe,0xae,0x91,0xff,0xbe,0xae,0x91,0xff,0xb5,0xa9,0x96,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x55,0x4f,0x46,0xff,0x52,0x4c,0x43,0xff,0x58,0x52, +0x49,0xff,0x54,0x4f,0x46,0xff,0x5f,0x59,0x4f,0xff,0x5d,0x57,0x4e,0xff,0x53,0x4d, +0x44,0xff,0x59,0x54,0x4a,0xff,0x3d,0x38,0x30,0xff,0x38,0x32,0x29,0xff,0x28,0x22, +0x1a,0xff,0x41,0x3b,0x33,0xff,0x3f,0x39,0x32,0xff,0x47,0x43,0x3a,0xff,0x42,0x3e, +0x37,0xff,0x4a,0x44,0x39,0xff,0x57,0x50,0x44,0xff,0x68,0x62,0x58,0xff,0x3f,0x3b, +0x34,0xff,0x32,0x2e,0x29,0xff,0x44,0x41,0x3c,0xff,0x31,0x2e,0x2a,0xff,0x28,0x25, +0x22,0xff,0x26,0x24,0x22,0xff,0x12,0x12,0x11,0xff,0x06,0x06,0x05,0xff,0x08,0x07, +0x07,0xff,0x12,0x12,0x12,0xff,0x0a,0x0a,0x0a,0xff,0x05,0x05,0x05,0xff,0x1e,0x1e, +0x1e,0xff,0x10,0x10,0x10,0xff,0x0a,0x0a,0x0a,0xff,0x08,0x08,0x08,0xff,0x06,0x06, +0x06,0xff,0x00,0x00,0x00,0xff,0x04,0x04,0x04,0xff,0x04,0x04,0x04,0xff,0x08,0x08, +0x08,0xff,0x17,0x17,0x16,0xff,0x3d,0x39,0x34,0xff,0x36,0x33,0x2f,0xff,0x14,0x13, +0x11,0xff,0x1b,0x1a,0x17,0xff,0x10,0x0e,0x0a,0xff,0x20,0x1e,0x1b,0xff,0x17,0x15, +0x13,0xff,0x36,0x33,0x2e,0xff,0x41,0x3d,0x36,0xff,0x25,0x21,0x1b,0xff,0x2b,0x26, +0x1f,0xff,0x2c,0x27,0x20,0xff,0x27,0x22,0x1a,0xff,0x56,0x51,0x48,0xff,0x57,0x52, +0x4a,0xff,0x34,0x2f,0x26,0xff,0x2f,0x29,0x21,0xff,0x52,0x4c,0x44,0xff,0x44,0x3e, +0x36,0xff,0x4a,0x44,0x3c,0xff,0x2e,0x29,0x23,0xff,0x3a,0x35,0x2d,0xff,0x1b,0x15, +0x11,0xff,0x3a,0x34,0x2d,0xff,0x55,0x4f,0x46,0xff,0x52,0x4c,0x43,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0xab,0x9d,0x82,0xff,0xab,0x9d,0x82,0xff,0x68,0x5e, +0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e, +0x4f,0xff,0xab,0x9c,0x83,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x68,0x5e, +0x4f,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x8b,0x88,0x81,0xff,0xc2,0xb2, +0x94,0xff,0xc2,0xb1,0x94,0xff,0xc2,0xb2,0x94,0xff,0xc2,0xb1,0x94,0xff,0xc2,0xb2, +0x94,0xff,0xc2,0xb1,0x94,0xff,0xc2,0xb2,0x94,0xff,0xb1,0xa8,0x97,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x2d,0x29,0x24,0xff,0x40,0x3d,0x37,0xff,0x45,0x41, +0x3c,0xff,0x3a,0x36,0x30,0xff,0x37,0x33,0x2d,0xff,0x3d,0x39,0x33,0xff,0x36,0x32, +0x2c,0xff,0x1f,0x1c,0x16,0xff,0x12,0x10,0x0d,0xff,0x2a,0x26,0x20,0xff,0x28,0x24, +0x1d,0xff,0x43,0x3e,0x37,0xff,0x3b,0x37,0x2f,0xff,0x25,0x22,0x1b,0xff,0x1b,0x19, +0x15,0xff,0x3a,0x35,0x2c,0xff,0x5f,0x57,0x4b,0xff,0x56,0x4e,0x43,0xff,0x60,0x5a, +0x51,0xff,0x53,0x4d,0x45,0xff,0x53,0x4e,0x46,0xff,0x5e,0x59,0x51,0xff,0x3e,0x39, +0x32,0xff,0x34,0x30,0x2a,0xff,0x35,0x31,0x2c,0xff,0x30,0x2d,0x29,0xff,0x17,0x14, +0x11,0xff,0x21,0x1f,0x1e,0xff,0x0c,0x0b,0x0b,0xff,0x08,0x08,0x08,0xff,0x0f,0x0f, +0x0f,0xff,0x1c,0x1c,0x1c,0xff,0x09,0x09,0x09,0xff,0x07,0x07,0x07,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x07,0x07,0x07,0xff,0x0f,0x0f,0x0f,0xff,0x04,0x04, +0x04,0xff,0x15,0x14,0x13,0xff,0x56,0x51,0x4a,0xff,0x3e,0x39,0x32,0xff,0x21,0x1d, +0x17,0xff,0x2c,0x28,0x21,0xff,0x22,0x1d,0x16,0xff,0x36,0x31,0x2a,0xff,0x40,0x3b, +0x33,0xff,0x5e,0x59,0x50,0xff,0x46,0x40,0x37,0xff,0x43,0x3d,0x34,0xff,0x38,0x32, +0x29,0xff,0x39,0x34,0x2c,0xff,0x3b,0x36,0x2d,0xff,0x44,0x3f,0x37,0xff,0x48,0x43, +0x3b,0xff,0x2d,0x29,0x22,0xff,0x25,0x21,0x1a,0xff,0x38,0x34,0x2d,0xff,0x32,0x2e, +0x27,0xff,0x3a,0x36,0x30,0xff,0x39,0x36,0x30,0xff,0x40,0x3d,0x36,0xff,0x1b,0x18, +0x12,0xff,0x1b,0x17,0x11,0xff,0x2d,0x29,0x24,0xff,0x40,0x3d,0x37,0xff,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x4d,0x45,0x3b,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x4d,0x45,0x3b,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x97,0x89, +0x73,0xff,0x97,0x89,0x73,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x68,0x5e,0x4f,0xff,0x96,0x89,0x73,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x68,0x5e, +0x4f,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x7b,0x79,0x75,0xff,0xc6,0xb5, +0x97,0xff,0xc6,0xb5,0x96,0xff,0xc6,0xb5,0x97,0xff,0xc6,0xb5,0x97,0xff,0xc6,0xb5, +0x97,0xff,0xc6,0xb5,0x96,0xff,0xc6,0xb5,0x97,0xff,0xa9,0xa1,0x94,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x08,0x07,0x07,0xff,0x0e,0x0d,0x0d,0xff,0x22,0x22, +0x21,0xff,0x24,0x23,0x23,0xff,0x0e,0x0e,0x0d,0xff,0x0b,0x0a,0x09,0xff,0x0c,0x0b, +0x0b,0xff,0x02,0x02,0x01,0xff,0x05,0x05,0x05,0xff,0x09,0x08,0x07,0xff,0x04,0x04, +0x03,0xff,0x14,0x13,0x12,0xff,0x1f,0x1f,0x1d,0xff,0x19,0x18,0x16,0xff,0x0f,0x0e, +0x0d,0xff,0x1e,0x1b,0x18,0xff,0x4c,0x47,0x3e,0xff,0x36,0x30,0x27,0xff,0x48,0x44, +0x3f,0xff,0x2b,0x28,0x23,0xff,0x21,0x1d,0x18,0xff,0x3d,0x39,0x33,0xff,0x36,0x32, +0x2b,0xff,0x41,0x3c,0x34,0xff,0x44,0x3e,0x36,0xff,0x43,0x3e,0x37,0xff,0x23,0x1e, +0x17,0xff,0x31,0x2d,0x27,0xff,0x31,0x2e,0x2a,0xff,0x34,0x33,0x30,0xff,0x10,0x0f, +0x0e,0xff,0x0a,0x09,0x09,0xff,0x06,0x06,0x06,0xff,0x18,0x18,0x18,0xff,0x06,0x06, +0x06,0xff,0x03,0x03,0x03,0xff,0x10,0x0f,0x0f,0xff,0x0e,0x0e,0x0d,0xff,0x04,0x03, +0x02,0xff,0x0d,0x0b,0x09,0xff,0x45,0x40,0x39,0xff,0x3e,0x39,0x30,0xff,0x3b,0x36, +0x2d,0xff,0x3d,0x38,0x31,0xff,0x2e,0x2a,0x23,0xff,0x1d,0x19,0x13,0xff,0x1d,0x1a, +0x14,0xff,0x3c,0x39,0x34,0xff,0x26,0x23,0x1f,0xff,0x34,0x32,0x2f,0xff,0x31,0x2f, +0x2c,0xff,0x12,0x11,0x10,0xff,0x11,0x10,0x0e,0xff,0x13,0x12,0x11,0xff,0x15,0x14, +0x13,0xff,0x0d,0x0d,0x0c,0xff,0x05,0x05,0x04,0xff,0x11,0x11,0x10,0xff,0x1d,0x1c, +0x1b,0xff,0x23,0x23,0x22,0xff,0x13,0x12,0x11,0xff,0x0b,0x0b,0x0a,0xff,0x04,0x04, +0x03,0xff,0x05,0x04,0x03,0xff,0x08,0x07,0x07,0xff,0x0e,0x0d,0x0d,0xff,0xff,0xff, +0xff,0x00,0x56,0x4f,0x42,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x56,0x4f, +0x42,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x7f,0x74,0x61,0xff,0x68,0x5e, +0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x7f,0x74,0x61,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x68,0x5e, +0x4f,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x69,0x67,0x65,0xff,0xca,0xb8, +0x99,0xff,0xc9,0xb8,0x9a,0xff,0xc9,0xb8,0x9a,0xff,0xc9,0xb8,0x99,0xff,0xc9,0xb8, +0x9a,0xff,0xc9,0xb8,0x9a,0xff,0xca,0xb8,0x99,0xff,0x9b,0x96,0x8c,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x08,0x08,0x08,0xff,0x00,0x00,0x00,0xff,0x05,0x05, +0x05,0xff,0x07,0x07,0x07,0xff,0x09,0x09,0x09,0xff,0x0e,0x0e,0x0e,0xff,0x0e,0x0e, +0x0e,0xff,0x08,0x08,0x08,0xff,0x14,0x14,0x14,0xff,0x0a,0x0a,0x0a,0xff,0x0b,0x0b, +0x0b,0xff,0x10,0x10,0x10,0xff,0x1a,0x1a,0x1a,0xff,0x24,0x24,0x24,0xff,0x1f,0x1e, +0x1d,0xff,0x20,0x1e,0x1a,0xff,0x2b,0x27,0x1f,0xff,0x2b,0x27,0x1f,0xff,0x3d,0x3c, +0x39,0xff,0x26,0x26,0x25,0xff,0x11,0x11,0x10,0xff,0x12,0x11,0x10,0xff,0x07,0x06, +0x05,0xff,0x10,0x0f,0x0d,0xff,0x17,0x16,0x14,0xff,0x12,0x10,0x0e,0xff,0x13,0x10, +0x0c,0xff,0x35,0x32,0x2c,0xff,0x42,0x3d,0x37,0xff,0x59,0x56,0x4e,0xff,0x25,0x23, +0x1e,0xff,0x0f,0x0e,0x0c,0xff,0x07,0x07,0x06,0xff,0x0b,0x0b,0x0a,0xff,0x05,0x04, +0x03,0xff,0x0a,0x09,0x08,0xff,0x24,0x23,0x20,0xff,0x27,0x24,0x1e,0xff,0x1c,0x18, +0x11,0xff,0x10,0x0b,0x07,0xff,0x15,0x12,0x0f,0xff,0x0c,0x0b,0x09,0xff,0x17,0x15, +0x13,0xff,0x1f,0x1d,0x1c,0xff,0x1a,0x1a,0x19,0xff,0x0e,0x0d,0x0c,0xff,0x0a,0x0a, +0x09,0xff,0x0b,0x0b,0x0a,0xff,0x03,0x03,0x02,0xff,0x0e,0x0e,0x0d,0xff,0x1f,0x1f, +0x1f,0xff,0x09,0x09,0x09,0xff,0x09,0x09,0x09,0xff,0x21,0x21,0x21,0xff,0x1a,0x1a, +0x1a,0xff,0x13,0x13,0x13,0xff,0x0c,0x0c,0x0c,0xff,0x15,0x15,0x15,0xff,0x09,0x09, +0x09,0xff,0x0a,0x0a,0x0a,0xff,0x06,0x06,0x06,0xff,0x05,0x05,0x05,0xff,0x05,0x05, +0x05,0xff,0x03,0x03,0x03,0xff,0x08,0x08,0x08,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0x63,0x5b,0x4b,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x63,0x5b, +0x4b,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5f,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x68,0x5e, +0x4f,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x53,0x53,0x51,0xff,0xcd,0xbb, +0x9c,0xff,0xcd,0xbb,0x9c,0xff,0xcd,0xbb,0x9c,0xff,0xcd,0xbb,0x9c,0xff,0xcd,0xbb, +0x9c,0xff,0xcd,0xbb,0x9c,0xff,0xcd,0xbb,0x9c,0xff,0x85,0x82,0x7d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x09,0x09,0x09,0xff,0x01,0x01,0x01,0xff,0x05,0x05, +0x05,0xff,0x02,0x02,0x02,0xff,0x0f,0x0f,0x0f,0xff,0x0d,0x0d,0x0d,0xff,0x05,0x05, +0x05,0xff,0x05,0x05,0x05,0xff,0x08,0x08,0x08,0xff,0x09,0x09,0x09,0xff,0x1c,0x1c, +0x1c,0xff,0x0c,0x0c,0x0c,0xff,0x03,0x03,0x03,0xff,0x07,0x07,0x07,0xff,0x0b,0x0a, +0x0a,0xff,0x15,0x13,0x10,0xff,0x17,0x14,0x10,0xff,0x37,0x32,0x2c,0xff,0x1a,0x19, +0x17,0xff,0x06,0x06,0x06,0xff,0x0d,0x0d,0x0d,0xff,0x1d,0x1d,0x1d,0xff,0x06,0x06, +0x06,0xff,0x07,0x07,0x07,0xff,0x06,0x06,0x06,0xff,0x03,0x03,0x03,0xff,0x0d,0x0d, +0x0c,0xff,0x17,0x16,0x16,0xff,0x17,0x15,0x13,0xff,0x42,0x3f,0x37,0xff,0x2a,0x25, +0x1c,0xff,0x1b,0x17,0x12,0xff,0x21,0x1e,0x1a,0xff,0x20,0x1d,0x17,0xff,0x25,0x21, +0x1a,0xff,0x3d,0x38,0x31,0xff,0x4c,0x47,0x3f,0xff,0x27,0x24,0x1f,0xff,0x16,0x14, +0x11,0xff,0x23,0x20,0x1b,0xff,0x26,0x22,0x1e,0xff,0x07,0x07,0x06,0xff,0x07,0x07, +0x07,0xff,0x0c,0x0c,0x0c,0xff,0x07,0x07,0x07,0xff,0x09,0x09,0x09,0xff,0x1d,0x1d, +0x1d,0xff,0x0f,0x0f,0x0f,0xff,0x02,0x02,0x02,0xff,0x01,0x01,0x01,0xff,0x0d,0x0d, +0x0d,0xff,0x0c,0x0c,0x0c,0xff,0x05,0x05,0x05,0xff,0x15,0x15,0x15,0xff,0x06,0x06, +0x06,0xff,0x07,0x07,0x07,0xff,0x0f,0x0f,0x0f,0xff,0x0c,0x0c,0x0c,0xff,0x04,0x04, +0x04,0xff,0x14,0x14,0x14,0xff,0x18,0x18,0x18,0xff,0x10,0x10,0x10,0xff,0x12,0x12, +0x12,0xff,0x0a,0x0a,0x0a,0xff,0x09,0x09,0x09,0xff,0x01,0x01,0x01,0xff,0xff,0xff, +0xff,0x00,0x71,0x66,0x56,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x71,0x66, +0x56,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e, +0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x53,0x4b,0x3f,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x53,0x4b,0x40,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x68,0x5e, +0x4f,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x3a,0x3a,0x3a,0xff,0xd0,0xbe, +0x9f,0xff,0xd0,0xbe,0x9f,0xff,0xd0,0xbe,0x9f,0xff,0xd0,0xbf,0x9f,0xff,0xd0,0xbe, +0x9f,0xff,0xd0,0xbe,0x9f,0xff,0xd0,0xbe,0x9f,0xff,0x65,0x64,0x61,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x0d,0x0d,0x0d,0xff,0x08,0x08,0x08,0xff,0x15,0x15, +0x15,0xff,0x08,0x08,0x08,0xff,0x0d,0x0d,0x0d,0xff,0x05,0x05,0x05,0xff,0x09,0x09, +0x09,0xff,0x19,0x19,0x19,0xff,0x19,0x19,0x19,0xff,0x07,0x07,0x07,0xff,0x0e,0x0e, +0x0e,0xff,0x0c,0x0c,0x0c,0xff,0x02,0x02,0x02,0xff,0x03,0x03,0x03,0xff,0x01,0x01, +0x01,0xff,0x0c,0x0a,0x08,0xff,0x1a,0x15,0x0e,0xff,0x3c,0x36,0x2e,0xff,0x1b,0x19, +0x17,0xff,0x0d,0x0c,0x0c,0xff,0x15,0x15,0x15,0xff,0x22,0x22,0x22,0xff,0x0b,0x0b, +0x0b,0xff,0x1d,0x1d,0x1d,0xff,0x0b,0x0b,0x0b,0xff,0x04,0x04,0x04,0xff,0x03,0x03, +0x03,0xff,0x09,0x09,0x09,0xff,0x05,0x05,0x05,0xff,0x21,0x1f,0x1b,0xff,0x1e,0x19, +0x13,0xff,0x1c,0x17,0x14,0xff,0x3d,0x39,0x32,0xff,0x37,0x32,0x29,0xff,0x3b,0x35, +0x2c,0xff,0x52,0x4c,0x43,0xff,0x36,0x32,0x2c,0xff,0x0d,0x0c,0x0a,0xff,0x12,0x12, +0x11,0xff,0x3d,0x39,0x34,0xff,0x29,0x26,0x21,0xff,0x0a,0x0a,0x09,0xff,0x23,0x23, +0x23,0xff,0x27,0x27,0x27,0xff,0x1e,0x1e,0x1e,0xff,0x05,0x05,0x05,0xff,0x18,0x18, +0x18,0xff,0x16,0x16,0x16,0xff,0x07,0x07,0x07,0xff,0x09,0x09,0x09,0xff,0x14,0x14, +0x14,0xff,0x0b,0x0b,0x0b,0xff,0x09,0x09,0x09,0xff,0x1e,0x1e,0x1e,0xff,0x0b,0x0b, +0x0b,0xff,0x04,0x04,0x04,0xff,0x16,0x16,0x16,0xff,0x13,0x13,0x13,0xff,0x04,0x04, +0x04,0xff,0x04,0x04,0x04,0xff,0x05,0x05,0x05,0xff,0x04,0x04,0x04,0xff,0x06,0x06, +0x06,0xff,0x07,0x07,0x07,0xff,0x0d,0x0d,0x0d,0xff,0x08,0x08,0x08,0xff,0xff,0xff, +0xff,0x00,0x7f,0x74,0x61,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x7f,0x74, +0x61,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9, +0x8d,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e, +0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x1c,0x19,0x15,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x1c,0x19,0x15,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x68,0x5e, +0x4f,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xfe,0xfe,0xfe,0x20,0xd4,0xc1, +0xa1,0xff,0xd3,0xc1,0xa1,0xff,0xd3,0xc1,0xa1,0xff,0xd4,0xc1,0xa1,0xff,0xd3,0xc1, +0xa1,0xff,0xd3,0xc1,0xa1,0xff,0xd4,0xc1,0xa1,0xff,0x3c,0x3b,0x3b,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x0d,0x0d,0x0d,0xff,0x04,0x04,0x04,0xff,0x05,0x05, +0x05,0xff,0x00,0x00,0x00,0xff,0x03,0x03,0x03,0xff,0x05,0x05,0x05,0xff,0x0e,0x0e, +0x0e,0xff,0x13,0x13,0x13,0xff,0x1a,0x1a,0x1a,0xff,0x0e,0x0e,0x0e,0xff,0x15,0x15, +0x15,0xff,0x19,0x19,0x19,0xff,0x07,0x07,0x07,0xff,0x0c,0x0c,0x0c,0xff,0x08,0x08, +0x08,0xff,0x1d,0x1b,0x18,0xff,0x39,0x34,0x2b,0xff,0x34,0x2e,0x26,0xff,0x21,0x1e, +0x1b,0xff,0x15,0x14,0x14,0xff,0x16,0x16,0x16,0xff,0x1e,0x1e,0x1e,0xff,0x0b,0x0b, +0x0b,0xff,0x1d,0x1d,0x1d,0xff,0x1c,0x1c,0x1c,0xff,0x17,0x17,0x17,0xff,0x08,0x08, +0x08,0xff,0x15,0x15,0x15,0xff,0x09,0x09,0x09,0xff,0x0a,0x0a,0x09,0xff,0x23,0x21, +0x1e,0xff,0x2c,0x28,0x24,0xff,0x46,0x41,0x3c,0xff,0x4a,0x46,0x3f,0xff,0x34,0x2f, +0x29,0xff,0x24,0x20,0x1c,0xff,0x10,0x0e,0x0c,0xff,0x05,0x05,0x05,0xff,0x1b,0x1a, +0x19,0xff,0x3b,0x37,0x31,0xff,0x10,0x0f,0x0d,0xff,0x09,0x09,0x09,0xff,0x29,0x29, +0x29,0xff,0x19,0x19,0x19,0xff,0x23,0x23,0x23,0xff,0x11,0x11,0x11,0xff,0x29,0x29, +0x29,0xff,0x1d,0x1d,0x1d,0xff,0x07,0x07,0x07,0xff,0x0c,0x0c,0x0c,0xff,0x1e,0x1e, +0x1e,0xff,0x18,0x18,0x18,0xff,0x0d,0x0d,0x0d,0xff,0x0e,0x0e,0x0e,0xff,0x03,0x03, +0x03,0xff,0x02,0x02,0x02,0xff,0x0e,0x0e,0x0e,0xff,0x0b,0x0b,0x0b,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x02,0x02,0x02,0xff,0x08,0x08, +0x08,0xff,0x0f,0x0f,0x0f,0xff,0x0d,0x0d,0x0d,0xff,0x04,0x04,0x04,0xff,0xff,0xff, +0xff,0x00,0x8e,0x81,0x6c,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x8e,0x81, +0x6c,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x68,0x5e, +0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x43,0x3e,0x34,0xff,0x6b,0x62, +0x53,0xff,0x6a,0x62,0x53,0xff,0x43,0x3e,0x34,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x68,0x5e, +0x4f,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0x45,0x3f,0x35,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x03,0xc2,0xb5, +0xa1,0xff,0xd6,0xc4,0xa4,0xff,0xd6,0xc4,0xa3,0xff,0xd6,0xc4,0xa3,0xff,0xd6,0xc4, +0xa3,0xff,0xd6,0xc4,0xa4,0xff,0xd4,0xc1,0xa4,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x26,0x26,0x26,0xff,0x0b,0x0b,0x0b,0xff,0x02,0x02, +0x02,0xff,0x00,0x00,0x00,0xff,0x02,0x02,0x02,0xff,0x0a,0x0a,0x0a,0xff,0x09,0x09, +0x09,0xff,0x10,0x10,0x10,0xff,0x0e,0x0e,0x0e,0xff,0x0a,0x0a,0x0a,0xff,0x0b,0x0b, +0x0b,0xff,0x16,0x16,0x16,0xff,0x09,0x09,0x09,0xff,0x03,0x03,0x03,0xff,0x04,0x04, +0x04,0xff,0x1a,0x19,0x17,0xff,0x3c,0x37,0x2e,0xff,0x2b,0x26,0x1d,0xff,0x33,0x31, +0x2c,0xff,0x15,0x15,0x15,0xff,0x12,0x12,0x12,0xff,0x09,0x09,0x09,0xff,0x00,0x00, +0x00,0xff,0x07,0x07,0x07,0xff,0x13,0x13,0x13,0xff,0x14,0x14,0x14,0xff,0x07,0x07, +0x07,0xff,0x19,0x19,0x19,0xff,0x16,0x16,0x16,0xff,0x0b,0x0b,0x0b,0xff,0x14,0x14, +0x13,0xff,0x12,0x11,0x10,0xff,0x20,0x1e,0x1c,0xff,0x1d,0x1c,0x19,0xff,0x0a,0x09, +0x08,0xff,0x03,0x03,0x02,0xff,0x06,0x06,0x06,0xff,0x0a,0x0a,0x0a,0xff,0x1d,0x1c, +0x1b,0xff,0x2b,0x27,0x20,0xff,0x05,0x04,0x03,0xff,0x01,0x01,0x01,0xff,0x0c,0x0c, +0x0c,0xff,0x0a,0x0a,0x0a,0xff,0x1c,0x1c,0x1c,0xff,0x0b,0x0b,0x0b,0xff,0x10,0x10, +0x10,0xff,0x11,0x11,0x11,0xff,0x08,0x08,0x08,0xff,0x03,0x03,0x03,0xff,0x05,0x05, +0x05,0xff,0x04,0x04,0x04,0xff,0x07,0x07,0x07,0xff,0x1c,0x1c,0x1c,0xff,0x0d,0x0d, +0x0d,0xff,0x08,0x08,0x08,0xff,0x13,0x13,0x13,0xff,0x17,0x17,0x17,0xff,0x07,0x07, +0x07,0xff,0x00,0x00,0x00,0xff,0x02,0x02,0x02,0xff,0x01,0x01,0x01,0xff,0x03,0x03, +0x03,0xff,0x0e,0x0e,0x0e,0xff,0x26,0x26,0x26,0xff,0x0b,0x0b,0x0b,0xff,0xff,0xff, +0xff,0x00,0x9b,0x8d,0x76,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x9b,0x8d, +0x76,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x43,0x3e,0x34,0xff,0x43,0x3d, +0x34,0xff,0x45,0x3f,0x35,0xff,0x43,0x3d,0x34,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x68,0x5e, +0x4f,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xa6,0x9f, +0x94,0xff,0xd8,0xc6,0xa5,0xff,0xd8,0xc6,0xa5,0xff,0xd9,0xc6,0xa5,0xff,0xd8,0xc6, +0xa5,0xff,0xd8,0xc6,0xa5,0xff,0xcb,0xbd,0xa4,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x08,0x08,0x08,0xff,0x06,0x06,0x06,0xff,0x02,0x02, +0x02,0xff,0x00,0x00,0x00,0xff,0x08,0x08,0x08,0xff,0x16,0x16,0x16,0xff,0x04,0x04, +0x04,0xff,0x06,0x06,0x06,0xff,0x06,0x06,0x06,0xff,0x05,0x05,0x05,0xff,0x03,0x03, +0x03,0xff,0x0f,0x0f,0x0f,0xff,0x13,0x13,0x13,0xff,0x0b,0x0b,0x0b,0xff,0x19,0x19, +0x19,0xff,0x38,0x36,0x34,0xff,0x57,0x51,0x48,0xff,0x33,0x2e,0x25,0xff,0x36,0x33, +0x2f,0xff,0x1d,0x1d,0x1d,0xff,0x24,0x24,0x24,0xff,0x0d,0x0d,0x0d,0xff,0x01,0x01, +0x01,0xff,0x02,0x02,0x02,0xff,0x09,0x09,0x09,0xff,0x05,0x05,0x05,0xff,0x01,0x01, +0x01,0xff,0x10,0x10,0x10,0xff,0x0b,0x0b,0x0b,0xff,0x0f,0x0f,0x0f,0xff,0x06,0x06, +0x06,0xff,0x06,0x06,0x06,0xff,0x1f,0x1e,0x1e,0xff,0x0f,0x0f,0x0e,0xff,0x02,0x02, +0x02,0xff,0x04,0x04,0x04,0xff,0x15,0x15,0x15,0xff,0x19,0x19,0x19,0xff,0x13,0x12, +0x11,0xff,0x2b,0x27,0x21,0xff,0x11,0x0e,0x0d,0xff,0x0a,0x09,0x09,0xff,0x0b,0x0b, +0x0b,0xff,0x03,0x03,0x03,0xff,0x0c,0x0c,0x0c,0xff,0x0b,0x0b,0x0b,0xff,0x05,0x05, +0x05,0xff,0x04,0x04,0x04,0xff,0x09,0x09,0x09,0xff,0x03,0x03,0x03,0xff,0x07,0x07, +0x07,0xff,0x00,0x00,0x00,0xff,0x06,0x06,0x06,0xff,0x21,0x21,0x21,0xff,0x0b,0x0b, +0x0b,0xff,0x0a,0x0a,0x0a,0xff,0x07,0x07,0x07,0xff,0x10,0x10,0x10,0xff,0x0c,0x0c, +0x0c,0xff,0x06,0x06,0x06,0xff,0x07,0x07,0x07,0xff,0x05,0x05,0x05,0xff,0x08,0x08, +0x08,0xff,0x05,0x05,0x05,0xff,0x08,0x08,0x08,0xff,0x06,0x06,0x06,0xff,0xff,0xff, +0xff,0x00,0xa7,0x99,0x7f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xa7,0x99, +0x7f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x1b,0x19,0x15,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x1b,0x19,0x15,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x83,0x80, +0x7b,0xff,0xdb,0xc8,0xa7,0xff,0xdb,0xc8,0xa7,0xff,0xdb,0xc8,0xa7,0xff,0xdb,0xc8, +0xa7,0xff,0xdb,0xc8,0xa7,0xff,0xb6,0xac,0x9d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x01,0x01,0x01,0xff,0x15,0x15,0x15,0xff,0x0d,0x0d, +0x0d,0xff,0x07,0x07,0x07,0xff,0x16,0x16,0x16,0xff,0x1d,0x1d,0x1d,0xff,0x0b,0x0b, +0x0b,0xff,0x03,0x03,0x03,0xff,0x05,0x05,0x05,0xff,0x09,0x09,0x09,0xff,0x0c,0x0c, +0x0c,0xff,0x0e,0x0e,0x0e,0xff,0x0b,0x0b,0x0b,0xff,0x0c,0x0c,0x0c,0xff,0x08,0x08, +0x08,0xff,0x20,0x1f,0x1d,0xff,0x5c,0x56,0x4e,0xff,0x30,0x2b,0x22,0xff,0x24,0x21, +0x1d,0xff,0x12,0x12,0x11,0xff,0x11,0x11,0x11,0xff,0x13,0x13,0x13,0xff,0x0b,0x0b, +0x0b,0xff,0x03,0x03,0x03,0xff,0x03,0x03,0x03,0xff,0x01,0x01,0x01,0xff,0x07,0x07, +0x07,0xff,0x22,0x22,0x22,0xff,0x14,0x14,0x14,0xff,0x16,0x16,0x16,0xff,0x04,0x04, +0x04,0xff,0x07,0x07,0x07,0xff,0x22,0x22,0x22,0xff,0x09,0x09,0x09,0xff,0x03,0x03, +0x03,0xff,0x02,0x02,0x02,0xff,0x07,0x07,0x07,0xff,0x12,0x12,0x12,0xff,0x15,0x14, +0x13,0xff,0x3b,0x36,0x2f,0xff,0x32,0x2f,0x2b,0xff,0x22,0x22,0x22,0xff,0x18,0x18, +0x18,0xff,0x09,0x09,0x09,0xff,0x11,0x11,0x11,0xff,0x0b,0x0b,0x0b,0xff,0x05,0x05, +0x05,0xff,0x07,0x07,0x07,0xff,0x0b,0x0b,0x0b,0xff,0x15,0x15,0x15,0xff,0x1e,0x1e, +0x1e,0xff,0x0b,0x0b,0x0b,0xff,0x03,0x03,0x03,0xff,0x13,0x13,0x13,0xff,0x0a,0x0a, +0x0a,0xff,0x06,0x06,0x06,0xff,0x08,0x08,0x08,0xff,0x15,0x15,0x15,0xff,0x0a,0x0a, +0x0a,0xff,0x06,0x06,0x06,0xff,0x03,0x03,0x03,0xff,0x06,0x06,0x06,0xff,0x10,0x10, +0x10,0xff,0x09,0x09,0x09,0xff,0x01,0x01,0x01,0xff,0x15,0x15,0x15,0xff,0xff,0xff, +0xff,0x00,0xb2,0xa2,0x88,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb2,0xa2, +0x88,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x53,0x4b,0x3f,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x53,0x4b,0x40,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x68,0x5e, +0x4f,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x5a,0x59, +0x58,0xff,0xdb,0xc8,0xa7,0xff,0xdb,0xc8,0xa7,0xff,0xdb,0xc8,0xa7,0xff,0xdb,0xc8, +0xa7,0xff,0xdb,0xc8,0xa7,0xff,0x90,0x8b,0x85,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x03,0x03,0x03,0xff,0x08,0x08,0x08,0xff,0x02,0x02, +0x02,0xff,0x08,0x08,0x08,0xff,0x05,0x05,0x05,0xff,0x10,0x10,0x10,0xff,0x1d,0x1d, +0x1d,0xff,0x08,0x08,0x08,0xff,0x0b,0x0b,0x0b,0xff,0x15,0x15,0x15,0xff,0x0d,0x0d, +0x0d,0xff,0x04,0x04,0x04,0xff,0x01,0x01,0x01,0xff,0x0f,0x0f,0x0f,0xff,0x0c,0x0c, +0x0c,0xff,0x14,0x12,0x10,0xff,0x3c,0x36,0x2e,0xff,0x2e,0x28,0x20,0xff,0x20,0x1c, +0x18,0xff,0x1e,0x1d,0x1d,0xff,0x0e,0x0e,0x0e,0xff,0x0c,0x0c,0x0c,0xff,0x18,0x18, +0x18,0xff,0x11,0x11,0x11,0xff,0x03,0x03,0x03,0xff,0x03,0x03,0x03,0xff,0x05,0x05, +0x05,0xff,0x19,0x19,0x19,0xff,0x0a,0x0a,0x0a,0xff,0x13,0x13,0x13,0xff,0x03,0x03, +0x03,0xff,0x03,0x03,0x03,0xff,0x13,0x13,0x13,0xff,0x08,0x08,0x08,0xff,0x0e,0x0e, +0x0e,0xff,0x0c,0x0c,0x0c,0xff,0x04,0x04,0x04,0xff,0x09,0x09,0x09,0xff,0x0a,0x09, +0x08,0xff,0x29,0x24,0x1d,0xff,0x39,0x36,0x32,0xff,0x28,0x27,0x27,0xff,0x0c,0x0c, +0x0c,0xff,0x00,0x00,0x00,0xff,0x07,0x07,0x07,0xff,0x0c,0x0c,0x0c,0xff,0x08,0x08, +0x08,0xff,0x11,0x11,0x11,0xff,0x0c,0x0c,0x0c,0xff,0x16,0x16,0x16,0xff,0x13,0x13, +0x13,0xff,0x11,0x11,0x11,0xff,0x07,0x07,0x07,0xff,0x0c,0x0c,0x0c,0xff,0x1f,0x1f, +0x1f,0xff,0x16,0x16,0x16,0xff,0x10,0x10,0x10,0xff,0x09,0x09,0x09,0xff,0x01,0x01, +0x01,0xff,0x04,0x04,0x04,0xff,0x03,0x03,0x03,0xff,0x0b,0x0b,0x0b,0xff,0x0a,0x0a, +0x0a,0xff,0x01,0x01,0x01,0xff,0x03,0x03,0x03,0xff,0x08,0x08,0x08,0xff,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5f,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x68,0x5e,0x4f,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x00,0x00, +0x00,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x2e,0x2e, +0x2d,0xff,0xd9,0xc6,0xa8,0xff,0xdb,0xc8,0xa7,0xff,0xdb,0xc8,0xa7,0xff,0xdb,0xc8, +0xa7,0xff,0xdb,0xc8,0xa7,0xff,0x53,0x52,0x51,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x10,0x10,0x10,0xff,0x18,0x18,0x18,0xff,0x0c,0x0c, +0x0c,0xff,0x22,0x22,0x22,0xff,0x09,0x09,0x09,0xff,0x0d,0x0d,0x0d,0xff,0x1c,0x1c, +0x1c,0xff,0x06,0x06,0x06,0xff,0x08,0x08,0x08,0xff,0x07,0x07,0x07,0xff,0x0d,0x0d, +0x0d,0xff,0x05,0x05,0x05,0xff,0x0c,0x0c,0x0c,0xff,0x38,0x38,0x38,0xff,0x1f,0x1f, +0x1f,0xff,0x12,0x11,0x10,0xff,0x43,0x3d,0x35,0xff,0x41,0x3b,0x34,0xff,0x1e,0x1b, +0x16,0xff,0x12,0x11,0x11,0xff,0x17,0x17,0x17,0xff,0x0b,0x0b,0x0b,0xff,0x08,0x08, +0x08,0xff,0x0b,0x0b,0x0b,0xff,0x06,0x06,0x06,0xff,0x04,0x04,0x04,0xff,0x01,0x01, +0x01,0xff,0x08,0x08,0x08,0xff,0x04,0x04,0x04,0xff,0x13,0x13,0x13,0xff,0x04,0x04, +0x04,0xff,0x01,0x01,0x01,0xff,0x06,0x06,0x06,0xff,0x0a,0x0a,0x0a,0xff,0x0e,0x0e, +0x0e,0xff,0x0b,0x0b,0x0b,0xff,0x02,0x02,0x02,0xff,0x07,0x06,0x06,0xff,0x12,0x11, +0x0f,0xff,0x31,0x2c,0x26,0xff,0x2f,0x2d,0x2a,0xff,0x0f,0x0e,0x0e,0xff,0x01,0x01, +0x01,0xff,0x04,0x04,0x04,0xff,0x00,0x00,0x00,0xff,0x03,0x03,0x03,0xff,0x04,0x04, +0x04,0xff,0x0e,0x0e,0x0e,0xff,0x03,0x03,0x03,0xff,0x0c,0x0c,0x0c,0xff,0x0f,0x0f, +0x0f,0xff,0x15,0x15,0x15,0xff,0x10,0x10,0x10,0xff,0x0d,0x0d,0x0d,0xff,0x16,0x16, +0x16,0xff,0x04,0x04,0x04,0xff,0x04,0x04,0x04,0xff,0x04,0x04,0x04,0xff,0x01,0x01, +0x01,0xff,0x01,0x01,0x01,0xff,0x03,0x03,0x03,0xff,0x13,0x13,0x13,0xff,0x12,0x12, +0x12,0xff,0x07,0x07,0x07,0xff,0x10,0x10,0x10,0xff,0x18,0x18,0x18,0xff,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x7f,0x74,0x61,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f, +0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x68,0x5e,0x4f,0xff,0x7f,0x74,0x61,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x68,0x5e, +0x4f,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x1b,0x19,0x15,0xff,0x45,0x3f, +0x35,0xff,0x45,0x3f,0x35,0xff,0x1b,0x19,0x15,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0x86,0x7b,0x68,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e, +0x4f,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xe1,0xd5,0xc1,0xff,0xb9,0xa9, +0x8d,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e,0x4f,0xff,0x86,0x7b,0x68,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xab,0xa4,0x98,0xff,0xdb,0xc8,0xa7,0xff,0xdb,0xc8,0xa7,0xff,0xdb,0xc8, +0xa7,0xff,0xcf,0xc1,0xa7,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x12,0x12,0x12,0xff,0x0c,0x0c,0x0c,0xff,0x07,0x07, +0x07,0xff,0x1c,0x1c,0x1c,0xff,0x0b,0x0b,0x0b,0xff,0x0c,0x0c,0x0c,0xff,0x0f,0x0f, +0x0f,0xff,0x0c,0x0c,0x0c,0xff,0x19,0x19,0x19,0xff,0x06,0x06,0x06,0xff,0x06,0x06, +0x06,0xff,0x09,0x09,0x09,0xff,0x08,0x08,0x08,0xff,0x25,0x25,0x25,0xff,0x0b,0x0b, +0x0b,0xff,0x0a,0x09,0x08,0xff,0x36,0x31,0x2a,0xff,0x30,0x2b,0x26,0xff,0x33,0x2f, +0x2c,0xff,0x12,0x11,0x11,0xff,0x0c,0x0c,0x0c,0xff,0x11,0x11,0x11,0xff,0x03,0x03, +0x03,0xff,0x08,0x08,0x08,0xff,0x0d,0x0d,0x0d,0xff,0x03,0x03,0x03,0xff,0x04,0x04, +0x04,0xff,0x0f,0x0f,0x0f,0xff,0x06,0x06,0x06,0xff,0x06,0x06,0x06,0xff,0x01,0x01, +0x01,0xff,0x00,0x00,0x00,0xff,0x06,0x06,0x06,0xff,0x0a,0x0a,0x0a,0xff,0x06,0x06, +0x06,0xff,0x03,0x03,0x03,0xff,0x07,0x07,0x07,0xff,0x0f,0x0f,0x0f,0xff,0x0b,0x0a, +0x08,0xff,0x17,0x13,0x0d,0xff,0x0f,0x0e,0x0c,0xff,0x06,0x06,0x06,0xff,0x08,0x08, +0x08,0xff,0x12,0x12,0x12,0xff,0x04,0x04,0x04,0xff,0x07,0x07,0x07,0xff,0x09,0x09, +0x09,0xff,0x0d,0x0d,0x0d,0xff,0x07,0x07,0x07,0xff,0x0d,0x0d,0x0d,0xff,0x0d,0x0d, +0x0d,0xff,0x1d,0x1d,0x1d,0xff,0x0a,0x0a,0x0a,0xff,0x0b,0x0b,0x0b,0xff,0x23,0x23, +0x23,0xff,0x0f,0x0f,0x0f,0xff,0x04,0x04,0x04,0xff,0x01,0x01,0x01,0xff,0x06,0x06, +0x06,0xff,0x04,0x04,0x04,0xff,0x06,0x06,0x06,0xff,0x18,0x18,0x18,0xff,0x0a,0x0a, +0x0a,0xff,0x03,0x03,0x03,0xff,0x12,0x12,0x12,0xff,0x0c,0x0c,0x0c,0xff,0xff,0xff, +0xff,0x00,0xb1,0xa2,0x87,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb1,0xa2, +0x87,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x68,0x5e, +0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e, +0x4f,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e, +0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x96,0x8a,0x73,0xff,0x68,0x5e, +0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0x97,0x8a, +0x73,0xff,0x97,0x89,0x73,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x45,0x3f,0x35,0xff,0x68,0x5e,0x4f,0xff,0x45,0x3f, +0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x43,0x3e,0x34,0xff,0x43,0x3d, +0x34,0xff,0x43,0x3e,0x34,0xff,0x43,0x3d,0x34,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x00,0x00,0x00,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x71,0x6f,0x6c,0xff,0xdb,0xc8,0xa7,0xff,0xdb,0xc8,0xa7,0xff,0xdb,0xc8, +0xa7,0xff,0xa6,0xa0,0x94,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x09,0x09,0x09,0xff,0x11,0x11,0x11,0xff,0x0f,0x0f, +0x0f,0xff,0x16,0x16,0x16,0xff,0x14,0x14,0x14,0xff,0x06,0x06,0x06,0xff,0x02,0x02, +0x02,0xff,0x02,0x02,0x02,0xff,0x06,0x06,0x06,0xff,0x03,0x03,0x03,0xff,0x03,0x03, +0x03,0xff,0x05,0x05,0x05,0xff,0x02,0x02,0x02,0xff,0x0d,0x0d,0x0d,0xff,0x04,0x04, +0x04,0xff,0x16,0x14,0x11,0xff,0x47,0x42,0x39,0xff,0x4d,0x47,0x40,0xff,0x3e,0x3a, +0x35,0xff,0x1b,0x1b,0x1a,0xff,0x19,0x19,0x19,0xff,0x1e,0x1e,0x1e,0xff,0x0f,0x0f, +0x0f,0xff,0x16,0x16,0x16,0xff,0x14,0x14,0x14,0xff,0x03,0x03,0x03,0xff,0x04,0x04, +0x04,0xff,0x06,0x06,0x06,0xff,0x06,0x06,0x06,0xff,0x06,0x06,0x06,0xff,0x00,0x00, +0x00,0xff,0x07,0x07,0x07,0xff,0x15,0x15,0x15,0xff,0x16,0x16,0x16,0xff,0x09,0x09, +0x09,0xff,0x05,0x05,0x05,0xff,0x14,0x14,0x14,0xff,0x16,0x16,0x16,0xff,0x0c,0x0b, +0x09,0xff,0x1b,0x16,0x10,0xff,0x23,0x21,0x1e,0xff,0x1b,0x1b,0x1a,0xff,0x06,0x06, +0x06,0xff,0x08,0x08,0x08,0xff,0x05,0x05,0x05,0xff,0x15,0x15,0x15,0xff,0x0a,0x0a, +0x0a,0xff,0x04,0x04,0x04,0xff,0x0d,0x0d,0x0d,0xff,0x07,0x07,0x07,0xff,0x07,0x07, +0x07,0xff,0x1c,0x1c,0x1c,0xff,0x09,0x09,0x09,0xff,0x04,0x04,0x04,0xff,0x13,0x13, +0x13,0xff,0x1c,0x1c,0x1c,0xff,0x11,0x11,0x11,0xff,0x09,0x09,0x09,0xff,0x1f,0x1f, +0x1f,0xff,0x15,0x15,0x15,0xff,0x04,0x04,0x04,0xff,0x06,0x06,0x06,0xff,0x00,0x00, +0x00,0xff,0x04,0x04,0x04,0xff,0x09,0x09,0x09,0xff,0x11,0x11,0x11,0xff,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00, +0x00,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0xab,0x9c, +0x83,0xff,0x68,0x5e,0x4f,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x68,0x5e,0x4f,0xff,0xab,0x9d,0x83,0xff,0xab,0x9c,0x83,0xff,0x68,0x5e, +0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0x45,0x3f,0x35,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x45,0x3f,0x35,0xff,0x68,0x5e,0x4f,0xff,0x45,0x3f,0x35,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x43,0x3e,0x34,0xff,0x6b,0x62, +0x53,0xff,0x6a,0x62,0x53,0xff,0x43,0x3e,0x34,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x68,0x5e,0x4f,0xff,0x86,0x7b, +0x68,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0x00,0x00, +0x00,0xff,0x68,0x5e,0x4f,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x2d,0x2d,0x2c,0xff,0xc0,0xb5,0xa1,0xff,0xdb,0xc8,0xa7,0xff,0xd7,0xc5, +0xa6,0xff,0x51,0x50,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x04,0x04,0x04,0xff,0x0e,0x0e,0x0e,0xff,0x16,0x16, +0x16,0xff,0x07,0x07,0x07,0xff,0x04,0x04,0x04,0xff,0x00,0x00,0x00,0xff,0x01,0x01, +0x01,0xff,0x04,0x04,0x04,0xff,0x03,0x03,0x03,0xff,0x0d,0x0d,0x0d,0xff,0x03,0x03, +0x03,0xff,0x01,0x01,0x01,0xff,0x00,0x00,0x00,0xff,0x02,0x02,0x02,0xff,0x07,0x07, +0x07,0xff,0x30,0x2e,0x2b,0xff,0x49,0x44,0x3c,0xff,0x26,0x20,0x1b,0xff,0x2b,0x28, +0x23,0xff,0x2b,0x2b,0x2a,0xff,0x22,0x22,0x22,0xff,0x10,0x10,0x10,0xff,0x1c,0x1c, +0x1c,0xff,0x1e,0x1e,0x1e,0xff,0x10,0x10,0x10,0xff,0x05,0x05,0x05,0xff,0x13,0x13, +0x13,0xff,0x09,0x09,0x09,0xff,0x07,0x07,0x07,0xff,0x14,0x14,0x14,0xff,0x07,0x07, +0x07,0xff,0x0f,0x0f,0x0f,0xff,0x08,0x08,0x08,0xff,0x09,0x09,0x09,0xff,0x09,0x09, +0x09,0xff,0x02,0x02,0x02,0xff,0x04,0x04,0x04,0xff,0x06,0x06,0x06,0xff,0x0c,0x0a, +0x09,0xff,0x10,0x0b,0x09,0xff,0x23,0x21,0x1e,0xff,0x1b,0x1b,0x1a,0xff,0x07,0x07, +0x07,0xff,0x12,0x12,0x12,0xff,0x04,0x04,0x04,0xff,0x09,0x09,0x09,0xff,0x12,0x12, +0x12,0xff,0x0a,0x0a,0x0a,0xff,0x25,0x25,0x25,0xff,0x11,0x11,0x11,0xff,0x09,0x09, +0x09,0xff,0x07,0x07,0x07,0xff,0x06,0x06,0x06,0xff,0x14,0x14,0x14,0xff,0x1f,0x1f, +0x1f,0xff,0x15,0x15,0x15,0xff,0x05,0x05,0x05,0xff,0x04,0x04,0x04,0xff,0x1a,0x1a, +0x1a,0xff,0x08,0x08,0x08,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x03,0x03, +0x03,0xff,0x0d,0x0d,0x0d,0xff,0x04,0x04,0x04,0xff,0x0e,0x0e,0x0e,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9, +0x8d,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9,0x8d,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xb9,0xa9,0x8d,0xff,0x00,0x00,0x00,0xff,0xb9,0xa9, +0x8d,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e, +0x4f,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9,0x8d,0xff,0xb9,0xa9, +0x8d,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x68,0x5e,0x4f,0xff,0x68,0x5e, +0x4f,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e, +0x4f,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e, +0x4f,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e,0x4f,0xff,0x68,0x5e, +0x4f,0xff,0x68,0x5e,0x4f,0xff,0x45,0x3f,0x35,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x1c,0x19,0x15,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0x1c,0x19,0x15,0xff,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9, +0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x86,0x7b,0x68,0xff,0x86,0x7b, +0x68,0xff,0x86,0x7b,0x68,0xff,0xb9,0xa9,0x8d,0xff,0x68,0x5e,0x4f,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x60,0x5f,0x5d,0xff,0xd9,0xc8,0xac,0xf9,0x95,0x91, +0x89,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0x03,0x03,0x03,0xff,0x09,0x09,0x09,0xff,0x26,0x26, +0x26,0xff,0x0a,0x0a,0x0a,0xff,0x0f,0x0f,0x0f,0xff,0x03,0x03,0x03,0xff,0x03,0x03, +0x03,0xff,0x05,0x05,0x05,0xff,0x11,0x11,0x11,0xff,0x18,0x18,0x18,0xff,0x07,0x07, +0x07,0xff,0x1e,0x1e,0x1e,0xff,0x1a,0x1a,0x1a,0xff,0x09,0x09,0x09,0xff,0x17,0x17, +0x16,0xff,0x1e,0x1d,0x19,0xff,0x44,0x3f,0x36,0xff,0x3a,0x35,0x2d,0xff,0x09,0x08, +0x07,0xff,0x03,0x03,0x03,0xff,0x04,0x04,0x04,0xff,0x06,0x06,0x06,0xff,0x1a,0x1a, +0x1a,0xff,0x05,0x05,0x05,0xff,0x00,0x00,0x00,0xff,0x07,0x07,0x07,0xff,0x01,0x01, +0x01,0xff,0x0b,0x0b,0x0b,0xff,0x1a,0x1a,0x1a,0xff,0x0b,0x0b,0x0b,0xff,0x08,0x08, +0x08,0xff,0x10,0x10,0x10,0xff,0x08,0x08,0x08,0xff,0x07,0x07,0x07,0xff,0x00,0x00, +0x00,0xff,0x01,0x01,0x01,0xff,0x0d,0x0d,0x0d,0xff,0x1d,0x1d,0x1d,0xff,0x19,0x17, +0x15,0xff,0x29,0x25,0x1e,0xff,0x2f,0x2d,0x29,0xff,0x22,0x22,0x21,0xff,0x0b,0x0b, +0x0b,0xff,0x02,0x02,0x02,0xff,0x00,0x00,0x00,0xff,0x04,0x04,0x04,0xff,0x01,0x01, +0x01,0xff,0x0d,0x0d,0x0d,0xff,0x27,0x27,0x27,0xff,0x07,0x07,0x07,0xff,0x01,0x01, +0x01,0xff,0x07,0x07,0x07,0xff,0x05,0x05,0x05,0xff,0x00,0x00,0x00,0xff,0x05,0x05, +0x05,0xff,0x00,0x00,0x00,0xff,0x07,0x07,0x07,0xff,0x14,0x14,0x14,0xff,0x04,0x04, +0x04,0xff,0x02,0x02,0x02,0xff,0x04,0x04,0x04,0xff,0x1b,0x1b,0x1b,0xff,0x23,0x23, +0x23,0xff,0x06,0x06,0x06,0xff,0x03,0x03,0x03,0xff,0x09,0x09,0x09,0xff,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff, +0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x54,0x52,0x55,0x45,0x56,0x49, +0x53,0x49,0x4f,0x4e,0x2d,0x58,0x46,0x49,0x4c,0x45,0x2e,0x00}; diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/hot_keys.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/hot_keys.cpp new file mode 100644 index 0000000..763ba2c --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/hot_keys.cpp @@ -0,0 +1,147 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "hot_keys.h" +#include "utils.h" +#include "debug.h" + +HotKeysParser::HotKeysParser(const std::string& hotkeys, const CommandsMap& commands_map) +{ + DBG(0, "hotkeys = %s", hotkeys.c_str()); + + std::istringstream is(hotkeys); + std::string hotkey; + while (std::getline(is, hotkey, ',')) { + add_hotkey(hotkey, commands_map); + } +} + +void HotKeysParser::parse_keys(int command_id, const std::string& hotkey) +{ + HotkeySet& keys = _hot_keys[command_id]; + std::istringstream is(hotkey); + std::string key; + while (std::getline(is, key, '+')) { + add_key(keys, key.c_str()); + } +} + +void HotKeysParser::add_key(HotkeySet& keys, const char* key) +{ + ASSERT(key != NULL); + + static const struct { + const char* name; + RedKey main; + RedKey alter; + } keyboard[] = { + { "alt", REDKEY_R_ALT, REDKEY_L_ALT }, + { "ralt", REDKEY_R_ALT, REDKEY_INVALID }, + { "rightalt", REDKEY_R_ALT, REDKEY_INVALID }, + { "right-alt", REDKEY_R_ALT, REDKEY_INVALID }, + { "lalt", REDKEY_L_ALT, REDKEY_INVALID }, + { "leftalt", REDKEY_L_ALT, REDKEY_INVALID }, + { "left-alt", REDKEY_L_ALT, REDKEY_INVALID }, + { "ctrl", REDKEY_R_CTRL, REDKEY_L_CTRL }, + { "rctrl", REDKEY_R_CTRL, REDKEY_INVALID }, + { "rightctrl", REDKEY_R_CTRL, REDKEY_INVALID }, + { "right-ctrl", REDKEY_R_CTRL, REDKEY_INVALID }, + { "lctrl", REDKEY_L_CTRL, REDKEY_INVALID }, + { "leftctrl", REDKEY_L_CTRL, REDKEY_INVALID }, + { "left-ctrl", REDKEY_L_CTRL, REDKEY_INVALID }, + { "shift", REDKEY_R_SHIFT, REDKEY_L_SHIFT }, + { "rshift", REDKEY_R_SHIFT, REDKEY_INVALID }, + { "rightshift", REDKEY_R_SHIFT, REDKEY_INVALID }, + { "right-shift", REDKEY_R_SHIFT, REDKEY_INVALID }, + { "lshift", REDKEY_L_SHIFT, REDKEY_INVALID }, + { "leftshift", REDKEY_L_SHIFT, REDKEY_INVALID }, + { "left-shift", REDKEY_L_SHIFT, REDKEY_INVALID }, + { "cmd", REDKEY_RIGHT_CMD, REDKEY_LEFT_CMD }, + { "rcmd", REDKEY_RIGHT_CMD, REDKEY_INVALID }, + { "rightcmd", REDKEY_RIGHT_CMD, REDKEY_INVALID }, + { "right-cmd", REDKEY_RIGHT_CMD, REDKEY_INVALID }, + { "lcmd", REDKEY_LEFT_CMD, REDKEY_INVALID }, + { "leftcmd", REDKEY_LEFT_CMD, REDKEY_INVALID }, + { "left-cmd", REDKEY_LEFT_CMD, REDKEY_INVALID }, + { "win", REDKEY_RIGHT_CMD, REDKEY_LEFT_CMD }, + { "rwin", REDKEY_RIGHT_CMD, REDKEY_INVALID }, + { "rightwin", REDKEY_RIGHT_CMD, REDKEY_INVALID }, + { "right-win", REDKEY_RIGHT_CMD, REDKEY_INVALID }, + { "lwin", REDKEY_LEFT_CMD, REDKEY_INVALID }, + { "leftwin", REDKEY_LEFT_CMD, REDKEY_INVALID }, + { "left-win", REDKEY_LEFT_CMD, REDKEY_INVALID }, + { "esc", REDKEY_ESCAPE, REDKEY_INVALID }, + { "escape", REDKEY_ESCAPE, REDKEY_INVALID }, + { "ins", REDKEY_INSERT, REDKEY_INVALID }, + { "insert", REDKEY_INSERT, REDKEY_INVALID }, + { "del", REDKEY_DELETE, REDKEY_INVALID }, + { "delete", REDKEY_DELETE, REDKEY_INVALID }, + { "pgup", REDKEY_PAGEUP, REDKEY_INVALID }, + { "pageup", REDKEY_PAGEUP, REDKEY_INVALID }, + { "pgdn", REDKEY_PAGEDOWN, REDKEY_INVALID }, + { "pagedown", REDKEY_PAGEDOWN, REDKEY_INVALID }, + { "home", REDKEY_HOME, REDKEY_INVALID }, + { "end", REDKEY_END, REDKEY_INVALID }, + { "space", REDKEY_SPACE, REDKEY_INVALID }, + { "enter", REDKEY_ENTER, REDKEY_INVALID }, + { "tab", REDKEY_TAB, REDKEY_INVALID }, + { "f1", REDKEY_F1, REDKEY_INVALID }, + { "f2", REDKEY_F2, REDKEY_INVALID }, + { "f3", REDKEY_F3, REDKEY_INVALID }, + { "f4", REDKEY_F4, REDKEY_INVALID }, + { "f5", REDKEY_F5, REDKEY_INVALID }, + { "f6", REDKEY_F6, REDKEY_INVALID }, + { "f7", REDKEY_F7, REDKEY_INVALID }, + { "f8", REDKEY_F8, REDKEY_INVALID }, + { "f9", REDKEY_F9, REDKEY_INVALID }, + { "f10", REDKEY_F10, REDKEY_INVALID }, + { "f11", REDKEY_F11, REDKEY_INVALID }, + { "f12", REDKEY_F12, REDKEY_INVALID } + }; + + for (unsigned i = 0; i < (sizeof(keyboard) / sizeof(keyboard[0])); ++i) { + if (strcasecmp(key, keyboard[i].name) == 0) { + HotkeyKey hotkey; + hotkey.main = keyboard[i].main; + hotkey.alter = keyboard[i].alter; + DBG(0, "keys = %s", keyboard[i].name); + keys.push_back(hotkey); + return; + } + } + THROW("unknown key name %s", key); +} + +void HotKeysParser::add_hotkey(const std::string& hotkey, const CommandsMap& commands_map) +{ + std::string::size_type key_start = hotkey.find('=', 0); + if (key_start == std::string::npos) { + THROW("unable to parse hot keys"); + } + std::string command_name = hotkey.substr(0, key_start); + + if (commands_map.find(command_name) == commands_map.end()) { + THROW("invalid action bname %s", command_name.c_str()); + } + int command_id = commands_map.find(command_name)->second; + std::string keys = hotkey.substr(key_start + 1); + parse_keys(command_id, keys); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/hot_keys.h b/tizen/distrib/remote/server/spice-0.12.2/client/hot_keys.h new file mode 100644 index 0000000..e78390d --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/hot_keys.h @@ -0,0 +1,48 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_HOT_KEYS +#define _H_HOT_KEYS + +#include "common.h" +#include "red_key.h" + +typedef std::map<std::string, int> CommandsMap; + +struct HotkeyKey { + RedKey main; + RedKey alter; +}; + +typedef std::vector<HotkeyKey> HotkeySet; +typedef std::map<int, HotkeySet> HotKeys; + +class HotKeysParser { +public: + HotKeysParser(const std::string& hotkeys, const CommandsMap& commands_map); + const HotKeys& get() { return _hot_keys;} + +private: + void add_hotkey(const std::string& hotkey, const CommandsMap& commands_map); + void parse_keys(int command_id, const std::string& hotkey); + void add_key(HotkeySet& keys, const char* key); + +private: + HotKeys _hot_keys; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/icon.h b/tizen/distrib/remote/server/spice-0.12.2/client/icon.h new file mode 100644 index 0000000..35b0a9d --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/icon.h @@ -0,0 +1,35 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_ICON +#define _H_ICON + +class Icon { +public: + Icon() : _refs (1) {} + + Icon* ref() { _refs++; return this;} + void unref() { if (!--_refs) delete this;} + +protected: + virtual ~Icon() {} + +private: + int _refs; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/inputs_channel.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/inputs_channel.cpp new file mode 100644 index 0000000..c148eff --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/inputs_channel.cpp @@ -0,0 +1,614 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "inputs_channel.h" +#include "utils.h" +#include "debug.h" +#include "red_client.h" +#include "application.h" +#include "display_channel.h" + +#define SYNC_REMOTE_MODIFIERS + +class SetInputsHandlerEvent: public Event { +public: + SetInputsHandlerEvent(InputsChannel& channel) : _channel (channel) {} + + class AttachFunc: public ForEachChannelFunc { + public: + AttachFunc(InputsChannel& channel) + : _channel (channel) + { + } + + virtual bool operator() (RedChannel& channel) + { + if (channel.get_type() == SPICE_CHANNEL_DISPLAY) { + static_cast<DisplayChannel&>(channel).attach_inputs(&_channel); + } + return true; + } + + public: + InputsChannel& _channel; + }; + + virtual void response(AbstractProcessLoop& events_loop) + { + static_cast<Application*>(events_loop.get_owner())->set_key_handler(_channel); + static_cast<Application*>(events_loop.get_owner())->set_mouse_handler(_channel); + AttachFunc func(_channel); + _channel.get_client().for_each_channel(func); + } + +private: + InputsChannel& _channel; +}; + +class KeyModifiersEvent: public Event { +public: + KeyModifiersEvent(InputsChannel& channel) : _channel (channel) {} + + virtual void response(AbstractProcessLoop& events_loop) + { + Lock lock(_channel._update_modifiers_lock); + _channel._active_modifiers_event = false; + _channel.set_local_modifiers(); + } + +private: + InputsChannel& _channel; +}; + +class RemoveInputsHandlerEvent: public SyncEvent { +public: + RemoveInputsHandlerEvent(InputsChannel& channel) : _channel (channel) {} + + class DetachFunc: public ForEachChannelFunc { + public: + virtual bool operator() (RedChannel& channel) + { + if (channel.get_type() == SPICE_CHANNEL_DISPLAY) { + static_cast<DisplayChannel&>(channel).detach_inputs(); + } + return true; + } + }; + + virtual void do_response(AbstractProcessLoop& events_loop) + { + static_cast<Application*>(events_loop.get_owner())->remove_key_handler(_channel); + static_cast<Application*>(events_loop.get_owner())->remove_mouse_handler(_channel); + DetachFunc detach_func; + _channel.get_client().for_each_channel(detach_func); + } + +private: + InputsChannel& _channel; +}; + +class MotionMessage: public RedChannel::OutMessage, public RedPeer::OutMessage { +public: + MotionMessage(InputsChannel& channel); + virtual RedPeer::OutMessage& peer_message(); + virtual void release(); + +private: + InputsChannel& _channel; +}; + +MotionMessage::MotionMessage(InputsChannel& channel) + : RedChannel::OutMessage() + , RedPeer::OutMessage(SPICE_MSGC_INPUTS_MOUSE_MOTION) + , _channel (channel) +{ +} + +void MotionMessage::release() +{ + delete this; +} + +RedPeer::OutMessage& MotionMessage::peer_message() +{ + + _channel.marshall_motion_event(_marshaller); + + return *this; +} + +class PositionMessage: public RedChannel::OutMessage, public RedPeer::OutMessage { +public: + PositionMessage(InputsChannel& channel); + virtual RedPeer::OutMessage& peer_message(); + virtual void release(); + +private: + InputsChannel& _channel; +}; + +PositionMessage::PositionMessage(InputsChannel& channel) + : RedChannel::OutMessage() + , RedPeer::OutMessage(SPICE_MSGC_INPUTS_MOUSE_POSITION) + , _channel (channel) +{ +} + +void PositionMessage::release() +{ + delete this; +} + +RedPeer::OutMessage& PositionMessage::peer_message() +{ + _channel.marshall_position_event(_marshaller); + return *this; +} + +class InputsMessHandler: public MessageHandlerImp<InputsChannel, SPICE_CHANNEL_INPUTS> { +public: + InputsMessHandler(InputsChannel& channel) + : MessageHandlerImp<InputsChannel, SPICE_CHANNEL_INPUTS>(channel) {} +}; + +InputsChannel::InputsChannel(RedClient& client, uint32_t id) + : RedChannel(client, SPICE_CHANNEL_INPUTS, id, new InputsMessHandler(*this)) + , _mouse_buttons_state (0) + , _mouse_dx (0) + , _mouse_dy (0) + , _mouse_x (~0) + , _mouse_y (~0) + , _display_id (-1) + , _active_motion (false) + , _motion_count (0) + , _active_modifiers_event (false) +{ + InputsMessHandler* handler = static_cast<InputsMessHandler*>(get_message_handler()); + handler->set_handler(SPICE_MSG_MIGRATE, &InputsChannel::handle_migrate); + handler->set_handler(SPICE_MSG_SET_ACK, &InputsChannel::handle_set_ack); + handler->set_handler(SPICE_MSG_PING, &InputsChannel::handle_ping); + handler->set_handler(SPICE_MSG_WAIT_FOR_CHANNELS, &InputsChannel::handle_wait_for_channels); + handler->set_handler(SPICE_MSG_DISCONNECTING, &InputsChannel::handle_disconnect); + handler->set_handler(SPICE_MSG_NOTIFY, &InputsChannel::handle_notify); + + handler->set_handler(SPICE_MSG_INPUTS_INIT, &InputsChannel::handle_init); + handler->set_handler(SPICE_MSG_INPUTS_KEY_MODIFIERS, &InputsChannel::handle_modifiers); + handler->set_handler(SPICE_MSG_INPUTS_MOUSE_MOTION_ACK, &InputsChannel::handle_motion_ack); +} + +InputsChannel::~InputsChannel() +{ +} + +void InputsChannel::on_connect() +{ + _motion_count = _mouse_dx = _mouse_dy = _mouse_buttons_state = _modifiers = 0; + _mouse_x = _mouse_y = ~0; + _display_id = -1; +} + +void InputsChannel::on_disconnect() +{ + AutoRef<RemoveInputsHandlerEvent> remove_handler_event(new RemoveInputsHandlerEvent(*this)); + get_client().push_event(*remove_handler_event); + (*remove_handler_event)->wait(); +} + +void InputsChannel::handle_init(RedPeer::InMessage* message) +{ + SpiceMsgInputsInit* init = (SpiceMsgInputsInit*)message->data(); + _modifiers = init->keyboard_modifiers; + AutoRef<SetInputsHandlerEvent> set_handler_event(new SetInputsHandlerEvent(*this)); + get_client().push_event(*set_handler_event); +} + +void InputsChannel::handle_modifiers(RedPeer::InMessage* message) +{ + SpiceMsgInputsKeyModifiers* init = (SpiceMsgInputsKeyModifiers*)message->data(); + _modifiers = init->modifiers; + Lock lock(_update_modifiers_lock); + if (_active_modifiers_event) { + return; + } + _active_modifiers_event = true; + AutoRef<KeyModifiersEvent> modifiers_event(new KeyModifiersEvent(*this)); + get_client().push_event(*modifiers_event); +} + +void InputsChannel::handle_motion_ack(RedPeer::InMessage* message) +{ + Lock lock(_motion_lock); + if (_motion_count < SPICE_INPUT_MOTION_ACK_BUNCH) { + LOG_WARN("invalid motion count"); + _motion_count = 0; + } else { + _motion_count -= SPICE_INPUT_MOTION_ACK_BUNCH; + } + if (!_active_motion && (_mouse_dx || _mouse_dy || _display_id != -1)) { + _active_motion = true; + _motion_count++; + switch (get_client().get_mouse_mode()) { + case SPICE_MOUSE_MODE_CLIENT: + post_message(new PositionMessage(*this)); + break; + case SPICE_MOUSE_MODE_SERVER: + post_message(new MotionMessage(*this)); + break; + default: + THROW("invalid mouse mode"); + } + } +} + +void InputsChannel::marshall_motion_event(SpiceMarshaller *marshaller) +{ + SpiceMsgcMouseMotion motion; + + Lock lock(_motion_lock); + motion.buttons_state = _mouse_buttons_state; + motion.dx = _mouse_dx; + motion.dy = _mouse_dy; + _mouse_dx = _mouse_dy = 0; + _active_motion = false; + + _marshallers->msgc_inputs_mouse_motion(marshaller, &motion); +} + +void InputsChannel::marshall_position_event(SpiceMarshaller *marshaller) +{ + SpiceMsgcMousePosition position; + Lock lock(_motion_lock); + position.buttons_state = _mouse_buttons_state; + position.x = _mouse_x; + position.y = _mouse_y; + position.display_id = _display_id; + _mouse_x = _mouse_y = ~0; + _display_id = -1; + _active_motion = false; + _marshallers->msgc_inputs_mouse_position(marshaller, &position); +} + +void InputsChannel::on_mouse_motion(int dx, int dy, int buttons_state) +{ + Lock lock(_motion_lock); + _mouse_buttons_state = buttons_state; + _mouse_dx += dx; + _mouse_dy += dy; + if (!_active_motion && _motion_count < SPICE_INPUT_MOTION_ACK_BUNCH * 2) { + _active_motion = true; + _motion_count++; + post_message(new MotionMessage(*this)); + } +} + +void InputsChannel::on_mouse_position(int x, int y, int buttons_state, int display_id) +{ + Lock lock(_motion_lock); + _mouse_buttons_state = buttons_state; + _mouse_x = x; + _mouse_y = y; + _display_id = display_id; + if (!_active_motion && _motion_count < SPICE_INPUT_MOTION_ACK_BUNCH * 2) { + _active_motion = true; + _motion_count++; + post_message(new PositionMessage(*this)); + } +} + +void InputsChannel::on_migrate() +{ + _motion_count = _active_motion ? 1 : 0; +} + +void InputsChannel::on_mouse_down(int button, int buttons_state) +{ + Message* message; + + message = new Message(SPICE_MSGC_INPUTS_MOUSE_PRESS); + SpiceMsgcMousePress event; + event.button = button; + event.buttons_state = buttons_state; + _marshallers->msgc_inputs_mouse_press(message->marshaller(), &event); + + post_message(message); +} + +void InputsChannel::on_mouse_up(int button, int buttons_state) +{ + Message* message; + + message = new Message(SPICE_MSGC_INPUTS_MOUSE_RELEASE); + SpiceMsgcMouseRelease event; + event.button = button; + event.buttons_state = buttons_state; + _marshallers->msgc_inputs_mouse_release(message->marshaller(), &event); + post_message(message); +} + +InputsChannel::KeyInfo InputsChannel::_scan_table[REDKEY_NUM_KEYS]; + +uint32_t InputsChannel::get_make_scan_code(RedKey key) +{ + return _scan_table[key].make_scan; +} + +uint32_t InputsChannel::get_break_scan_code(RedKey key) +{ + return _scan_table[key].break_scan; +} + +void InputsChannel::on_key_down(RedKey key) +{ + uint32_t scan_code = get_make_scan_code(key); + if (!scan_code) { + LOG_WARN("no make code for %d", key); + return; + } + + Message* message = new Message(SPICE_MSGC_INPUTS_KEY_DOWN); + SpiceMsgcKeyDown event; + event.code = scan_code; + _marshallers->msgc_inputs_key_down(message->marshaller(), &event); + + post_message(message); +} + +void InputsChannel::on_key_up(RedKey key) +{ + uint32_t scan_code = get_break_scan_code(key); + if (!scan_code) { + LOG_WARN("no break code for %d", key); + return; + } + + Message* message = new Message(SPICE_MSGC_INPUTS_KEY_UP); + SpiceMsgcKeyUp event; + event.code = scan_code; + _marshallers->msgc_inputs_key_up(message->marshaller(), &event); + post_message(message); +} + +void InputsChannel::set_local_modifiers() +{ + unsigned int modifiers = 0; + + if (_modifiers & SPICE_KEYBOARD_MODIFIER_FLAGS_SCROLL_LOCK) { + modifiers |= Platform::SCROLL_LOCK_MODIFIER; + } + + if (_modifiers & SPICE_KEYBOARD_MODIFIER_FLAGS_NUM_LOCK) { + modifiers |= Platform::NUM_LOCK_MODIFIER; + } + + if (_modifiers & SPICE_KEYBOARD_MODIFIER_FLAGS_CAPS_LOCK) { + modifiers |= Platform::CAPS_LOCK_MODIFIER; + } + + Platform::set_keyboard_lock_modifiers(modifiers); +} + +void InputsChannel::on_focus_in() +{ + Lock lock(_update_modifiers_lock); + _active_modifiers_event = false; + _on_focus_modifiers = Platform::get_keyboard_lock_modifiers(); + +#ifdef SYNC_REMOTE_MODIFIERS + Message* message = new Message(SPICE_MSGC_INPUTS_KEY_MODIFIERS); + SpiceMsgcKeyModifiers modifiers; + modifiers.modifiers = _on_focus_modifiers; + _marshallers->msgc_inputs_key_modifiers(message->marshaller(), &modifiers); + post_message(message); +#else + set_local_modifiers(); +#endif +} + +void InputsChannel::on_focus_out() +{ + Lock lock(_update_modifiers_lock); + _active_modifiers_event = true; +#ifndef SYNC_REMOTE_MODIFIERS + _modifiers = _on_focus_modifiers; + set_local_modifiers(); +#endif +} + +void InputsChannel::init_scan_code(int index) +{ + ASSERT((index & 0x80) == 0); + _scan_table[index].make_scan = index; + _scan_table[index].break_scan = index | 0x80; +} + +void InputsChannel::init_korean_scan_code(int index) +{ + _scan_table[index].make_scan = index; + _scan_table[index].break_scan = index; +} + +void InputsChannel::init_escape_scan_code(int index) +{ + ASSERT(((index - REDKEY_ESCAPE_BASE) & 0x80) == 0); + _scan_table[index].make_scan = 0xe0 | ((index - REDKEY_ESCAPE_BASE) << 8); + _scan_table[index].break_scan = _scan_table[index].make_scan | 0x8000; +} + +void InputsChannel::init_pause_scan_code() +{ + _scan_table[REDKEY_PAUSE].make_scan = 0x451de1; + _scan_table[REDKEY_PAUSE].break_scan = 0xc59de1; +} + +void InputsChannel::init_scan_table() +{ + memset(_scan_table, 0, sizeof(_scan_table)); + init_scan_code(REDKEY_ESCAPE); + init_scan_code(REDKEY_1); + init_scan_code(REDKEY_2); + init_scan_code(REDKEY_3); + init_scan_code(REDKEY_4); + init_scan_code(REDKEY_5); + init_scan_code(REDKEY_6); + init_scan_code(REDKEY_7); + init_scan_code(REDKEY_8); + init_scan_code(REDKEY_9); + init_scan_code(REDKEY_0); + init_scan_code(REDKEY_MINUS); + init_scan_code(REDKEY_EQUALS); + init_scan_code(REDKEY_BACKSPACE); + init_scan_code(REDKEY_TAB); + init_scan_code(REDKEY_Q); + init_scan_code(REDKEY_W); + init_scan_code(REDKEY_E); + init_scan_code(REDKEY_R); + init_scan_code(REDKEY_T); + init_scan_code(REDKEY_Y); + init_scan_code(REDKEY_U); + init_scan_code(REDKEY_I); + init_scan_code(REDKEY_O); + init_scan_code(REDKEY_P); + init_scan_code(REDKEY_L_BRACKET); + init_scan_code(REDKEY_R_BRACKET); + init_scan_code(REDKEY_ENTER); + init_scan_code(REDKEY_L_CTRL); + init_scan_code(REDKEY_A); + init_scan_code(REDKEY_S); + init_scan_code(REDKEY_D); + init_scan_code(REDKEY_F); + init_scan_code(REDKEY_G); + init_scan_code(REDKEY_H); + init_scan_code(REDKEY_J); + init_scan_code(REDKEY_K); + init_scan_code(REDKEY_L); + init_scan_code(REDKEY_SEMICOLON); + init_scan_code(REDKEY_QUOTE); + init_scan_code(REDKEY_BACK_QUOTE); + init_scan_code(REDKEY_L_SHIFT); + init_scan_code(REDKEY_BACK_SLASH); + init_scan_code(REDKEY_Z); + init_scan_code(REDKEY_X); + init_scan_code(REDKEY_C); + init_scan_code(REDKEY_V); + init_scan_code(REDKEY_B); + init_scan_code(REDKEY_N); + init_scan_code(REDKEY_M); + init_scan_code(REDKEY_COMMA); + init_scan_code(REDKEY_PERIOD); + init_scan_code(REDKEY_SLASH); + init_scan_code(REDKEY_R_SHIFT); + init_scan_code(REDKEY_PAD_MULTIPLY); + init_scan_code(REDKEY_L_ALT); + init_scan_code(REDKEY_SPACE); + init_scan_code(REDKEY_CAPS_LOCK); + init_scan_code(REDKEY_F1); + init_scan_code(REDKEY_F2); + init_scan_code(REDKEY_F3); + init_scan_code(REDKEY_F4); + init_scan_code(REDKEY_F5); + init_scan_code(REDKEY_F6); + init_scan_code(REDKEY_F7); + init_scan_code(REDKEY_F8); + init_scan_code(REDKEY_F9); + init_scan_code(REDKEY_F10); + init_scan_code(REDKEY_NUM_LOCK); + init_scan_code(REDKEY_SCROLL_LOCK); + init_scan_code(REDKEY_PAD_7); + init_scan_code(REDKEY_PAD_8); + init_scan_code(REDKEY_PAD_9); + init_scan_code(REDKEY_PAD_MINUS); + init_scan_code(REDKEY_PAD_4); + init_scan_code(REDKEY_PAD_5); + init_scan_code(REDKEY_PAD_6); + init_scan_code(REDKEY_PAD_PLUS); + init_scan_code(REDKEY_PAD_1); + init_scan_code(REDKEY_PAD_2); + init_scan_code(REDKEY_PAD_3); + init_scan_code(REDKEY_PAD_0); + init_scan_code(REDKEY_PAD_POINT); + + init_scan_code(REDKEY_EUROPEAN); + init_scan_code(REDKEY_F11); + init_scan_code(REDKEY_F12); + + init_scan_code(REDKEY_JAPANESE_HIRAGANA_KATAKANA); + init_scan_code(REDKEY_JAPANESE_BACKSLASH); + init_scan_code(REDKEY_JAPANESE_HENKAN); + init_scan_code(REDKEY_JAPANESE_MUHENKAN); + init_scan_code(REDKEY_JAPANESE_YEN); + + init_korean_scan_code(REDKEY_KOREAN_HANGUL); + init_korean_scan_code(REDKEY_KOREAN_HANGUL_HANJA); + + init_escape_scan_code(REDKEY_ESCAPE_BASE); + init_escape_scan_code(REDKEY_PAD_ENTER); + init_escape_scan_code(REDKEY_R_CTRL); + init_escape_scan_code(REDKEY_MUTE); + init_escape_scan_code(REDKEY_FAKE_L_SHIFT); + init_escape_scan_code(REDKEY_VOLUME_DOWN); + init_escape_scan_code(REDKEY_VOLUME_UP); + init_escape_scan_code(REDKEY_PAD_DIVIDE); + init_escape_scan_code(REDKEY_FAKE_R_SHIFT); + init_escape_scan_code(REDKEY_CTRL_PRINT_SCREEN); + init_escape_scan_code(REDKEY_R_ALT); + init_escape_scan_code(REDKEY_CTRL_BREAK); + init_escape_scan_code(REDKEY_HOME); + init_escape_scan_code(REDKEY_UP); + init_escape_scan_code(REDKEY_PAGEUP); + init_escape_scan_code(REDKEY_LEFT); + init_escape_scan_code(REDKEY_RIGHT); + init_escape_scan_code(REDKEY_END); + init_escape_scan_code(REDKEY_DOWN); + init_escape_scan_code(REDKEY_PAGEDOWN); + init_escape_scan_code(REDKEY_INSERT); + init_escape_scan_code(REDKEY_DELETE); + init_escape_scan_code(REDKEY_LEFT_CMD); + init_escape_scan_code(REDKEY_RIGHT_CMD); + init_escape_scan_code(REDKEY_MENU); + + init_pause_scan_code(); +} + +class InitGlobals { +public: + InitGlobals() + { + InputsChannel::init_scan_table(); + } +}; + +static InitGlobals init_globals; + +class InputsFactory: public ChannelFactory { +public: + InputsFactory() : ChannelFactory(SPICE_CHANNEL_INPUTS) {} + virtual RedChannel* construct(RedClient& client, uint32_t id) + { + return new InputsChannel(client, id); + } +}; + +static InputsFactory factory; + +ChannelFactory& InputsChannel::Factory() +{ + return factory; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/inputs_channel.h b/tizen/distrib/remote/server/spice-0.12.2/client/inputs_channel.h new file mode 100644 index 0000000..cff3f90 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/inputs_channel.h @@ -0,0 +1,96 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_INPUTS_CHANNEL +#define _H_INPUTS_CHANNEL + +#include "red_channel.h" +#include "inputs_handler.h" + +class ChannelFactory; + +class InputsChannel: public RedChannel, public KeyHandler, public MouseHandler { +public: + InputsChannel(RedClient& client, uint32_t id); + virtual ~InputsChannel(); + + virtual void on_mouse_motion(int dx, int dy, int buttons_state); + virtual void on_mouse_down(int button, int buttons_state); + virtual void on_mouse_up(int button, int buttons_state); + virtual void on_key_down(RedKey key); + virtual void on_key_up(RedKey key); + virtual void on_focus_in(); + virtual void on_focus_out(); + + void on_mouse_position(int x, int y, int buttons_state, int display_id); + + static ChannelFactory& Factory(); + +protected: + virtual void on_connect(); + virtual void on_disconnect(); + virtual void on_migrate(); + +private: + void marshall_motion_event(SpiceMarshaller *marshaller); + void marshall_position_event(SpiceMarshaller *marshaller); + void set_local_modifiers(); + + void handle_init(RedPeer::InMessage* message); + void handle_modifiers(RedPeer::InMessage* message); + void handle_motion_ack(RedPeer::InMessage* message); + + static uint32_t get_make_scan_code(RedKey key); + static uint32_t get_break_scan_code(RedKey key); + static void init_scan_code(int index); + static void init_korean_scan_code(int index); + static void init_escape_scan_code(int index); + static void init_pause_scan_code(); + static void init_scan_table(); + +private: + Mutex _motion_lock; + int _mouse_buttons_state; + int _mouse_dx; + int _mouse_dy; + unsigned int _mouse_x; + unsigned int _mouse_y; + int _display_id; + bool _active_motion; + int _motion_count; + uint32_t _modifiers; + uint32_t _on_focus_modifiers; + Mutex _update_modifiers_lock; + bool _active_modifiers_event; + + struct KeyInfo { + uint32_t make_scan; + uint32_t break_scan; + }; + + static KeyInfo _scan_table[REDKEY_NUM_KEYS]; + + friend class InitGlobals; + friend class MotionMessage; + friend class PositionMessage; + friend class KeyModifiersEvent; + friend class SetInputsHandlerEvent; + friend class RemoveInputsHandlerEvent; +}; + + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/inputs_handler.h b/tizen/distrib/remote/server/spice-0.12.2/client/inputs_handler.h new file mode 100644 index 0000000..060a4ad --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/inputs_handler.h @@ -0,0 +1,42 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_INPUTS_HANDLER +#define _H_INPUTS_HANDLER + +#include "red_key.h" + +class KeyHandler { +public: + virtual ~KeyHandler() {} + virtual void on_key_down(RedKey key) {} + virtual void on_key_up(RedKey key) {} + virtual void on_char(uint32_t ch) {} + virtual void on_focus_in() {} + virtual void on_focus_out() {} + virtual bool permit_focus_loss() { return true;} +}; + +class MouseHandler { +public: + virtual ~MouseHandler() {} + virtual void on_mouse_motion(int dx, int dy, int buttons_state) {} + virtual void on_mouse_down(int button, int buttons_state) {} + virtual void on_mouse_up(int button, int buttons_state) {} +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/jpeg_decoder.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/jpeg_decoder.cpp new file mode 100644 index 0000000..c85902f --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/jpeg_decoder.cpp @@ -0,0 +1,153 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "jpeg_decoder.h" +#include "debug.h" +#include "utils.h" + +#if !defined(jpeg_boolean) +#define jpeg_boolean boolean +#endif + +static void op_begin_decode(SpiceJpegDecoder *decoder, + uint8_t* data, + int data_size, + int* out_width, + int* out_height) +{ + JpegDecoder* _decoder = static_cast<JpegDecoder*>(decoder); + _decoder->begin_decode(data, data_size, *out_width, *out_height); +} + +static void op_decode(SpiceJpegDecoder *decoder, + uint8_t* dest, + int stride, + int format) +{ + JpegDecoder* _decoder = static_cast<JpegDecoder*>(decoder); + _decoder->decode(dest, stride, format); +} + +extern "C" { + + static void jpeg_decoder_init_source(j_decompress_ptr cinfo) + { + } + + static SPICE_GNUC_NORETURN jpeg_boolean jpeg_decoder_fill_input_buffer(j_decompress_ptr cinfo) + { + PANIC("no more data for jpeg"); + } + + static void jpeg_decoder_skip_input_data(j_decompress_ptr cinfo, long num_bytes) + { + ASSERT(num_bytes < (long)cinfo->src->bytes_in_buffer); + cinfo->src->next_input_byte += num_bytes; + cinfo->src->bytes_in_buffer -= num_bytes; + } + + static void jpeg_decoder_term_source (j_decompress_ptr cinfo) + { + return; + } +} + + +JpegDecoder::JpegDecoder() + : _data (NULL) + , _data_size (0) +{ + _cinfo.err = jpeg_std_error(&_jerr); + jpeg_create_decompress(&_cinfo); + + _cinfo.src = &_jsrc; + _cinfo.src->init_source = jpeg_decoder_init_source; + _cinfo.src->fill_input_buffer = jpeg_decoder_fill_input_buffer; + _cinfo.src->skip_input_data = jpeg_decoder_skip_input_data; + _cinfo.src->resync_to_restart = jpeg_resync_to_restart; + _cinfo.src->term_source = jpeg_decoder_term_source; + + static SpiceJpegDecoderOps decoder_ops = { + op_begin_decode, + op_decode, + }; + + ops = &decoder_ops; +} + +JpegDecoder::~JpegDecoder() +{ + jpeg_destroy_decompress(&_cinfo); +} + +void JpegDecoder::begin_decode(uint8_t* data, int data_size, int& out_width, int& out_height) +{ + ASSERT(data); + ASSERT(data_size); + + if (_data) { + jpeg_abort_decompress(&_cinfo); + } + + _data = data; + _data_size = data_size; + + _cinfo.src->next_input_byte = _data; + _cinfo.src->bytes_in_buffer = _data_size; + + jpeg_read_header(&_cinfo, TRUE); + + _cinfo.out_color_space = JCS_RGB; + _width = _cinfo.image_width; + _height = _cinfo.image_height; + + out_width = _width; + out_height = _height; +} + +void JpegDecoder::decode(uint8_t *dest, int stride, int format) +{ + uint8_t* scan_line = new uint8_t[_width*3]; + RGBConverter* rgb_converter; + + switch (format) { + case SPICE_BITMAP_FMT_24BIT: + rgb_converter = &_rgb2bgr; + break; + case SPICE_BITMAP_FMT_32BIT: + rgb_converter = &_rgb2bgrx; + break; + default: + THROW("bad bitmap format, %d", format); + } + + jpeg_start_decompress(&_cinfo); + + for (int row = 0; row < _height; row++) { + jpeg_read_scanlines(&_cinfo, &scan_line, 1); + rgb_converter->convert(scan_line, dest, _width); + dest += stride; + } + + delete [] scan_line; + + jpeg_finish_decompress(&_cinfo); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/jpeg_decoder.h b/tizen/distrib/remote/server/spice-0.12.2/client/jpeg_decoder.h new file mode 100644 index 0000000..ae76f50 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/jpeg_decoder.h @@ -0,0 +1,96 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_JPEG_DECODER +#define _H_JPEG_DECODER + +#include "common.h" +#include "red_canvas_base.h" + +#if defined(WIN32) && !defined(__MINGW32__) +/* We need some hacks to avoid warnings from the jpeg headers */ +#define XMD_H +#undef FAR +#endif + +extern "C" { +#include <jpeglib.h> +#ifdef HAVE_STDLIB_H +/* on mingw, there is a hack, + and we also include config.h from spice-common, which redefine it */ +#undef HAVE_STDLIB_H +#endif +} + +class RGBConverter { +public: + virtual ~RGBConverter() {} + virtual void convert(uint8_t* src, uint8_t* dest, int width) = 0; +}; + +class RGBToBGRConverter : public RGBConverter { +public: + void convert(uint8_t* src, uint8_t* dest, int width) + { + for (int x = 0; x < width; x++) { + *dest++ = src[2]; + *dest++ = src[1]; + *dest++ = src[0]; + src += 3; + } + } +}; + +class RGBToBGRXConverter : public RGBConverter { +public: + void convert(uint8_t* src, uint8_t* dest, int width) + { + for (int x = 0; x < width; x++) { + *dest++ = src[2]; + *dest++ = src[1]; + *dest++ = src[0]; + *dest++ = 0; + src += 3; + } + } +}; + +class JpegDecoder : public SpiceJpegDecoder { +public: + JpegDecoder(); + ~JpegDecoder(); + + void begin_decode(uint8_t* data, int data_size, int& out_width, int& out_height); + /* format is SPICE_BITMAP_FMT_<X> for the dest; currently, only + x=32BIT and x=24BIT are supported */ + void decode(uint8_t* dest, int stride, int format); + +private: + struct jpeg_decompress_struct _cinfo; + struct jpeg_error_mgr _jerr; + struct jpeg_source_mgr _jsrc; + + uint8_t* _data; + int _data_size; + int _width; + int _height; + + RGBToBGRConverter _rgb2bgr; + RGBToBGRXConverter _rgb2bgrx; +}; +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/menu.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/menu.cpp new file mode 100644 index 0000000..ebbd323 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/menu.cpp @@ -0,0 +1,147 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "menu.h" +#include "utils.h" +#include "debug.h" + +Menu::Menu(CommandTarget& target, const std::string& name, int id) + : _refs (1) + , _target (target) + , _name (name) + , _id (id) +{ +} + +Menu::~Menu() +{ + clear(); +} + +void Menu::add_item(MenuItem& item) +{ + int pos = _items.size(); + _items.resize(pos + 1); + _items[pos] = item; +} + +void Menu::add_command(const std::string& name, int cmd_id, int state) +{ + MenuCommand* cmd = new MenuCommand(name, cmd_id, state); + MenuItem item; + item.type = MENU_ITEM_TYPE_COMMAND; + item.obj = cmd; + add_item(item); +} + +void Menu::add_separator() +{ + MenuItem item; + item.type = MENU_ITEM_TYPE_SEPARATOR; + item.obj = NULL; + add_item(item); +} + +void Menu::add_sub(Menu* menu) +{ + ASSERT(menu); + MenuItem item; + item.type = MENU_ITEM_TYPE_MENU; + item.obj = menu->ref(); + add_item(item); +} + +void Menu::remove_command(int cmd_id) +{ + for (unsigned int i = 0; i < _items.size(); i++) { + if (_items[i].type == MENU_ITEM_TYPE_COMMAND && + ((MenuCommand*)_items[i].obj)->get_cmd_id() == cmd_id) { + delete (MenuCommand*)_items[i].obj; + _items.erase(_items.begin() + i); + return; + } + } +} + +void Menu::remove_sub(Menu* menu) +{ + for (unsigned int i = 0; i < _items.size(); i++) { + if (_items[i].type == MENU_ITEM_TYPE_MENU && (Menu*)_items[i].obj == menu) { + ((Menu*)_items[i].obj)->unref(); + _items.erase(_items.begin() + i); + return; + } + } +} + +Menu::ItemType Menu::item_type_at(int pos) +{ + if (pos >= (int)_items.size()) { + return MENU_ITEM_TYPE_INVALID; + } + return _items[pos].type; +} + +void Menu::command_at(int pos, std::string& name, int& cmd_id, int& state) +{ + if (_items[pos].type != MENU_ITEM_TYPE_COMMAND) { + THROW("incorrect item type"); + } + MenuCommand* cmd = (MenuCommand*)_items[pos].obj; + name = cmd->get_name(); + cmd_id = cmd->get_cmd_id(); + state = cmd->get_state(); +} + +Menu* Menu::sub_at(int pos) +{ + if (_items[pos].type != MENU_ITEM_TYPE_MENU) { + THROW("incorrect item type"); + } + return ((Menu*)_items[pos].obj)->ref(); +} + +Menu* Menu::find_sub(int id) +{ + Menu* sub; + + if (_id == id) { + return ref(); + } + for (unsigned int i = 0; i < _items.size(); i++) { + if (_items[i].type == MENU_ITEM_TYPE_MENU && (sub = ((Menu*)_items[i].obj)->find_sub(id))) { + return sub; + } + } + return NULL; +} + +void Menu::clear() +{ + for (unsigned int i = 0; i < _items.size(); i++) { + if (_items[i].type == MENU_ITEM_TYPE_COMMAND) { + delete (MenuCommand*)_items[i].obj; + } else if (_items[i].type == MENU_ITEM_TYPE_MENU) { + ((Menu*)_items[i].obj)->unref(); + } + } + _items.clear(); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/menu.h b/tizen/distrib/remote/server/spice-0.12.2/client/menu.h new file mode 100644 index 0000000..280cf38 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/menu.h @@ -0,0 +1,102 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_MENU +#define _H_MENU + +class CommandTarget { +public: + virtual void do_command(int command) = 0; + virtual ~CommandTarget() {} +}; + +class Menu { +public: + Menu(CommandTarget& target, const std::string& name, int id = 0); + + enum ItemType { + MENU_ITEM_TYPE_INVALID, + MENU_ITEM_TYPE_COMMAND, + MENU_ITEM_TYPE_MENU, + MENU_ITEM_TYPE_SEPARATOR, + }; + + enum ItemState { + MENU_ITEM_STATE_CHECKED = 1 << 0, + MENU_ITEM_STATE_DIM = 1 << 1, + }; + + Menu* ref() { _refs++; return this;} + void unref() { if (!--_refs) delete this;} + + void set_name(const std::string& name) { _name = name;} + const std::string& get_name() { return _name;} + CommandTarget& get_target() { return _target;} + int get_id() { return _id;} + + void add_command(const std::string& name, int cmd_id, int state = 0); + void add_separator(); + void add_sub(Menu* sub); + + void remove_command(int cmd_id); + void remove_sub(Menu* menu); + + ItemType item_type_at(int pos); + void command_at(int pos, std::string& name, int& cmd_id, int& state); + Menu* sub_at(int pos); + Menu* find_sub(int id); + + void clear(); + +private: + virtual ~Menu(); + + class MenuCommand { + public: + MenuCommand(const std::string& name, int cmd_id, int state) + : _name (name) + , _cmd_id (cmd_id) + , _state (state) + { + } + + const std::string& get_name() { return _name;} + int get_cmd_id() { return _cmd_id;} + int get_state() { return _state;} + + private: + std::string _name; + int _cmd_id; + int _state; + }; + + struct MenuItem { + ItemType type; + void *obj; + }; + + void add_item(MenuItem& item); + +private: + int _refs; + CommandTarget& _target; + std::string _name; + std::vector<MenuItem> _items; + int _id; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/mjpeg_decoder.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/mjpeg_decoder.cpp new file mode 100644 index 0000000..28d4f08 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/mjpeg_decoder.cpp @@ -0,0 +1,277 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "debug.h" +#include "utils.h" +#include "mjpeg_decoder.h" + +#if !defined(jpeg_boolean) +#define jpeg_boolean boolean +#endif + +enum { + STATE_READ_HEADER, + STATE_START_DECOMPRESS, + STATE_READ_SCANLINES, + STATE_FINISH_DECOMPRESS +}; + +extern "C" { + + static void init_source(j_decompress_ptr cinfo) + { + } + + static jpeg_boolean fill_input_buffer(j_decompress_ptr cinfo) + { + return FALSE; + } + + void mjpeg_skip_input_data(j_decompress_ptr cinfo, long num_bytes) + { + MJpegDecoder *decoder = (MJpegDecoder *)cinfo; + if (num_bytes > 0) { + if (cinfo->src->bytes_in_buffer >= (size_t)num_bytes) { + cinfo->src->next_input_byte += (size_t) num_bytes; + cinfo->src->bytes_in_buffer -= (size_t) num_bytes; + } else { + decoder->_extra_skip = num_bytes - cinfo->src->bytes_in_buffer; + cinfo->src->bytes_in_buffer = 0; + } + } + } + + static void term_source (j_decompress_ptr cinfo) + { + return; + } +} + +MJpegDecoder::MJpegDecoder(int width, int height, + int stride, + uint8_t *frame, + bool back_compat) : + _data(NULL) + , _data_size(0) + , _data_start(0) + , _data_end(0) + , _extra_skip(0) + , _width(width) + , _height(height) + , _stride(stride) + , _frame(frame) + , _back_compat(back_compat) + , _y(0) + , _state(0) +{ + memset(&_cinfo, 0, sizeof(_cinfo)); + _cinfo.err = jpeg_std_error (&_jerr); + jpeg_create_decompress (&_cinfo); + + _cinfo.src = &_jsrc; + _cinfo.src->init_source = init_source; + _cinfo.src->fill_input_buffer = fill_input_buffer; + _cinfo.src->skip_input_data = mjpeg_skip_input_data; + _cinfo.src->resync_to_restart = jpeg_resync_to_restart; + _cinfo.src->term_source = term_source; + + _scanline = new uint8_t[width * 3]; +} + +MJpegDecoder::~MJpegDecoder() +{ + jpeg_destroy_decompress(&_cinfo); + delete [] _scanline; + if (_data) { + delete [] _data; + } +} + +void MJpegDecoder::convert_scanline(void) +{ + uint32_t *row; + uint32_t c; + uint8_t *s; + unsigned x; + + ASSERT(_width % 2 == 0); + ASSERT(_height % 2 == 0); + + row = (uint32_t *)(_frame + _y * _stride); + s = _scanline; + + + if (_back_compat) { + /* We need to check for the old major and for backwards compat + a) swap r and b (done) + b) to-yuv with right values and then from-yuv with old wrong values (TODO) + */ + for (x = 0; x < _width; x++) { + c = s[2] << 16 | s[1] << 8 | s[0]; + s += 3; + *row++ = c; + } + } else { + for (x = 0; x < _width; x++) { + c = s[0] << 16 | s[1] << 8 | s[2]; + s += 3; + *row++ = c; + } + } +} + +void MJpegDecoder::append_data(uint8_t *data, size_t length) +{ + uint8_t *new_data; + size_t data_len; + + if (length == 0) { + return; + } + + if (_data_size - _data_end < length) { + /* Can't fits in tail, need to make space */ + + data_len = _data_end - _data_start; + if (_data_size - data_len < length) { + /* Can't fit at all, grow a bit */ + _data_size = _data_size + length * 2; + new_data = new uint8_t[_data_size]; + memcpy (new_data, _data + _data_start, data_len); + delete [] _data; + _data = new_data; + } else { + /* Just needs to compact */ + memmove (_data, _data + _data_start, data_len); + } + _data_start = 0; + _data_end = data_len; + } + + memcpy (_data + _data_end, data, length); + _data_end += length; +} + +bool MJpegDecoder::decode_data(uint8_t *data, size_t length) +{ + bool got_picture; + int res; + + got_picture = false; + + if (_extra_skip > 0) { + if (_extra_skip >= length) { + _extra_skip -= length; + return false; + } else { + data += _extra_skip; + length -= _extra_skip; + _extra_skip = 0; + } + } + + if (_data_end - _data_start == 0) { + /* No current data, pass in without copy */ + + _jsrc.next_input_byte = data; + _jsrc.bytes_in_buffer = length; + } else { + /* Need to combine the new and old data */ + append_data(data, length); + + _jsrc.next_input_byte = _data + _data_start; + _jsrc.bytes_in_buffer = _data_end - _data_start; + } + + switch (_state) { + case STATE_READ_HEADER: + res = jpeg_read_header(&_cinfo, TRUE); + if (res == JPEG_SUSPENDED) { + break; + } + + _cinfo.do_fancy_upsampling = FALSE; + _cinfo.do_block_smoothing = FALSE; + _cinfo.out_color_space = JCS_RGB; + + PANIC_ON(_cinfo.image_width != _width); + PANIC_ON(_cinfo.image_height != _height); + + _state = STATE_START_DECOMPRESS; + + /* fall through */ + case STATE_START_DECOMPRESS: + res = jpeg_start_decompress (&_cinfo); + + if (!res) { + break; + } + + _state = STATE_READ_SCANLINES; + + /* fall through */ + case STATE_READ_SCANLINES: + res = 0; + while (_y < _height) { + res = jpeg_read_scanlines(&_cinfo, &_scanline, 1); + + if (res == 0) { + break; + } + + convert_scanline(); + _y++; + } + if (res == 0) { + break; + } + + _state = STATE_FINISH_DECOMPRESS; + + /* fall through */ + case STATE_FINISH_DECOMPRESS: + res = jpeg_finish_decompress (&_cinfo); + + if (!res) { + break; + } + + _y = 0; + _state = STATE_READ_HEADER; + got_picture = true; + + break; + } + + if (_jsrc.next_input_byte == data) { + /* We read directly from the user, store remaining data in + buffer for next time */ + size_t read_size = _jsrc.next_input_byte - data; + + append_data(data + read_size, length - read_size); + } else { + _data_start = _jsrc.next_input_byte - _data; + _data_end = _data_start + _jsrc.bytes_in_buffer; + } + + return got_picture; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/mjpeg_decoder.h b/tizen/distrib/remote/server/spice-0.12.2/client/mjpeg_decoder.h new file mode 100644 index 0000000..8455e0d --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/mjpeg_decoder.h @@ -0,0 +1,74 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_MJPEG_DECODER +#define _H_MJPEG_DECODER + +#include "common.h" + +#ifdef WIN32 +/* We need some hacks to avoid warnings from the jpeg headers */ +#define XMD_H +#undef FAR +#endif +extern "C" { +#include <jpeglib.h> +} + +extern "C" { + void mjpeg_skip_input_data(j_decompress_ptr cinfo, long num_bytes); +} + +class MJpegDecoder { +public: + MJpegDecoder(int width, int height, int stride, + uint8_t *frame, bool back_compat); + ~MJpegDecoder(); + + bool decode_data(uint8_t *data, size_t length); + +private: + + friend void mjpeg_skip_input_data(j_decompress_ptr cinfo, long num_bytes); + + void convert_scanline(void); + void append_data(uint8_t *data, size_t length); + + struct jpeg_decompress_struct _cinfo; + struct jpeg_error_mgr _jerr; + struct jpeg_source_mgr _jsrc; + + uint8_t *_data; + size_t _data_size; + size_t _data_start; + size_t _data_end; + size_t _extra_skip; + + unsigned _width; + unsigned _height; + int _stride; + uint8_t *_frame; + bool _back_compat; + + unsigned _y; + uint8_t *_scanline; + + int _state; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/monitor.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/monitor.cpp new file mode 100644 index 0000000..3d74296 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/monitor.cpp @@ -0,0 +1,49 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "monitor.h" +#include "debug.h" +#include "platform.h" + +uint32_t Monitor::self_monitors_change = 0; + + +Monitor::Monitor(int id) + : _id (id) + , _free (true) +{ +} + +bool Monitor::is_self_change() +{ + return self_monitors_change != 0; +} + +void Monitor::set_mode(int width, int height) +{ + do_set_mode(width, height); + Platform::reset_cursor_pos(); +} +void Monitor::restore() +{ + do_restore(); + Platform::reset_cursor_pos(); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/monitor.h b/tizen/distrib/remote/server/spice-0.12.2/client/monitor.h new file mode 100644 index 0000000..bbaaf17 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/monitor.h @@ -0,0 +1,57 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_MONITOR +#define _H_MONITOR + +#include "common/draw.h" + +class Monitor { +public: + Monitor(int id); + + int get_id() { return _id;} + bool is_free() { return _free;} + void set_free() {_free = true;} + void set_used() {_free = false;} + + void set_mode(int width, int height); + void restore(); + virtual int get_depth() = 0; + virtual SpicePoint get_position() = 0; + virtual SpicePoint get_size() const = 0; + virtual bool is_out_of_sync() = 0; + virtual int get_screen_id() = 0; + + static bool is_self_change(); + +protected: + virtual ~Monitor() {} + virtual void do_set_mode(int width, int height) = 0; + virtual void do_restore() = 0; + +private: + int _id; + bool _free; + +protected: + static uint32_t self_monitors_change; + + friend class Platform; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/pixels_source.h b/tizen/distrib/remote/server/spice-0.12.2/client/pixels_source.h new file mode 100644 index 0000000..55841a6 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/pixels_source.h @@ -0,0 +1,58 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_PIXELS_SOURCE +#define _H_PIXELS_SOURCE + +#include "common/draw.h" + +#define PIXELES_SOURCE_OPAQUE_SIZE (20 * sizeof(void*)) + +class PixelsSource { +public: + PixelsSource(); + virtual ~PixelsSource(); + + virtual SpicePoint get_size() = 0; + void set_origin(int x, int y) { _origin.x = x; _origin.y = y;} + const SpicePoint& get_origin() { return _origin;} + +protected: + const uint8_t* get_opaque() const { return _opaque;} + +private: + SpicePoint _origin; + uint8_t _opaque[PIXELES_SOURCE_OPAQUE_SIZE]; + + friend class RedDrawable; +}; + +class ImageFromRes: public PixelsSource { +public: + ImageFromRes(int res_id); + virtual ~ImageFromRes(); + virtual SpicePoint get_size(); +}; + +class AlphaImageFromRes: public PixelsSource { +public: + AlphaImageFromRes(int res_id); + virtual ~AlphaImageFromRes(); + virtual SpicePoint get_size(); +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/platform.h b/tizen/distrib/remote/server/spice-0.12.2/client/platform.h new file mode 100644 index 0000000..913bcde --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/platform.h @@ -0,0 +1,203 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_PLATFORM +#define _H_PLATFORM + +#include "cursor.h" +#include "process_loop.h" +#include "event_sources.h" +#include "process_loop.h" + +class WaveRecordAbstract; +class WavePlaybackAbstract; +class Icon; + +class Monitor; +typedef std::list<Monitor*> MonitorsList; + +class Platform { +public: + static void init(); + static void set_process_loop(ProcessLoop& main_process_loop); + static void msleep(unsigned int millisec); + static void yield(); + static uint64_t get_monolithic_time(); + static void get_temp_dir(std::string& path); + static void get_app_data_dir(std::string& path, const std::string& app_name); + static void path_append(std::string& path, const std::string& partial_path); + static uint64_t get_process_id(); + static uint64_t get_thread_id(); + static SPICE_GNUC_PRINTF(1, 2) void term_printf(const char* format, ...); + static void error_beep(); + + static const MonitorsList& init_monitors(); + static void destroy_monitors(); + static bool is_monitors_pos_valid(); + + static void send_quit_request(); + + enum ThreadPriority { + PRIORITY_INVALID, + PRIORITY_TIME_CRITICAL, + PRIORITY_HIGH, + PRIORITY_ABOVE_NORMAL, + PRIORITY_NORMAL, + PRIORITY_BELOW_NORMAL, + PRIORITY_LOW, + PRIORITY_IDLE, + }; + + static void set_thread_priority(void *thread, ThreadPriority priority); + + class RecordClient; + static WaveRecordAbstract* create_recorder(RecordClient& client, + uint32_t sampels_per_sec, + uint32_t bits_per_sample, + uint32_t channels); + static WavePlaybackAbstract* create_player(uint32_t sampels_per_sec, + uint32_t bits_per_sample, + uint32_t channels); + + enum { + SCROLL_LOCK_MODIFIER_SHIFT, + NUM_LOCK_MODIFIER_SHIFT, + CAPS_LOCK_MODIFIER_SHIFT, + + SCROLL_LOCK_MODIFIER = (1 << SCROLL_LOCK_MODIFIER_SHIFT), + NUM_LOCK_MODIFIER = (1 << NUM_LOCK_MODIFIER_SHIFT), + CAPS_LOCK_MODIFIER = (1 << CAPS_LOCK_MODIFIER_SHIFT), + }; + + static uint32_t get_keyboard_lock_modifiers(); + static void set_keyboard_lock_modifiers(uint32_t modifiers); + + enum { + L_SHIFT_MODIFIER_SHIFT, + R_SHIFT_MODIFIER_SHIFT, + L_CTRL_MODIFIER_SHIFT, + R_CTRL_MODIFIER_SHIFT, + L_ALT_MODIFIER_SHIFT, + R_ALT_MODIFIER_SHIFT, + + L_SHIFT_MODIFIER = (1 << L_SHIFT_MODIFIER_SHIFT), + R_SHIFT_MODIFIER = (1 << R_SHIFT_MODIFIER_SHIFT), + L_CTRL_MODIFIER = (1 << L_CTRL_MODIFIER_SHIFT), + R_CTRL_MODIFIER = (1 << R_CTRL_MODIFIER_SHIFT), + L_ALT_MODIFIER = (1 << L_ALT_MODIFIER_SHIFT), + R_ALT_MODIFIER = (1 << R_ALT_MODIFIER_SHIFT), + }; + + static uint32_t get_keyboard_modifiers(); + + static void reset_cursor_pos(); + + static LocalCursor* create_local_cursor(CursorData* cursor_data); + static LocalCursor* create_inactive_cursor(); + static LocalCursor* create_default_cursor(); + + static Icon* load_icon(int id); + + class EventListener; + static void set_event_listener(EventListener* listener); + + class DisplayModeListener; + static void set_display_mode_listner(DisplayModeListener* listener); + + class ClipboardListener; + static void set_clipboard_listener(ClipboardListener* listener); + + static bool on_clipboard_grab(uint32_t *types, uint32_t type_count); + static bool on_clipboard_notify(uint32_t type, const uint8_t* data, int32_t size); + static bool on_clipboard_request(uint32_t type); + static void on_clipboard_release(); + + enum { owner_none, owner_guest, owner_client }; + + static void set_clipboard_owner(int new_owner); + static int get_clipboard_owner() { return _clipboard_owner; } + +private: + static void set_clipboard_owner_unlocked(int new_owner); + + static int _clipboard_owner; +}; + +class Platform::EventListener { +public: + virtual ~EventListener() {} + virtual void on_app_activated() = 0; + virtual void on_app_deactivated() = 0; + virtual void on_monitors_change() = 0; +}; + +class Platform::ClipboardListener { +public: + virtual ~ClipboardListener() {} + virtual void on_clipboard_grab(uint32_t *types, uint32_t type_count) = 0; + virtual void on_clipboard_request(uint32_t type) = 0; + virtual void on_clipboard_notify(uint32_t type, uint8_t* data, int32_t size) = 0; + virtual void on_clipboard_release() = 0; +}; + +class Platform::RecordClient { +public: + virtual ~RecordClient() {} + virtual void add_event_source(EventSources::File& evnet_source) = 0; + virtual void remove_event_source(EventSources::File& evnet_source) = 0; + virtual void add_event_source(EventSources::Trigger& evnet_source) = 0; + virtual void remove_event_source(EventSources::Trigger& evnet_source) = 0; + virtual void push_frame(uint8_t *frame) = 0; +}; + +class Platform::DisplayModeListener { +public: + virtual ~DisplayModeListener() {} + virtual void on_display_mode_change() = 0; +}; + +class NamedPipe { +public: + typedef unsigned long ListenerRef; + typedef unsigned long ConnectionRef; + static const ConnectionRef INVALID_CONNECTION = ~0; + + class ConnectionInterface { + public: + ConnectionInterface() : _opaque (INVALID_CONNECTION) {} + virtual ~ConnectionInterface() {} + virtual void bind(ConnectionRef conn_ref) = 0; + virtual void on_data() = 0; + + protected: + ConnectionRef _opaque; + }; + + class ListenerInterface { + public: + virtual ~ListenerInterface() {} + virtual ConnectionInterface &create() = 0; + }; + + static ListenerRef create(const char *name, ListenerInterface& listener_interface); + static void destroy(ListenerRef listener_ref); + static void destroy_connection(ConnectionRef conn_ref); + static int32_t read(ConnectionRef conn_ref, uint8_t *buf, int32_t size); + static int32_t write(ConnectionRef conn_ref, const uint8_t *buf, int32_t size); +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/playback_channel.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/playback_channel.cpp new file mode 100644 index 0000000..802a4d3 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/playback_channel.cpp @@ -0,0 +1,370 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "red_client.h" +#include "audio_channels.h" +#include "audio_devices.h" + +//#define WAVE_CAPTURE +#ifdef WAVE_CAPTURE + +#include <fcntl.h> + +#define WAVE_BUF_SIZE (1024 * 1024 * 20) + +typedef struct __attribute__ ((__packed__)) ChunkHeader { + uint32_t id; + uint32_t size; +} ChunkHeader; + +typedef struct __attribute__ ((__packed__)) FormatInfo { + uint16_t compression_code; + uint16_t num_channels; + uint32_t sample_rate; + uint32_t average_bytes_per_second; + uint16_t block_align; + uint16_t bits_per_sample; + //uint16_t extra_format_bytes; + //uint8_t extra[0]; +} FormatInfo; + +static uint8_t* wave_buf = NULL; +static uint8_t* wave_now = NULL; +static uint8_t* wave_end = NULL; +static bool wave_blocked = false; + +static void write_all(int fd, uint8_t* data, uint32_t size) +{ + while (size) { + int n = write(fd, data, size); + if (n == -1) { + if (errno != EINTR) { + throw Exception(fmt("%s: failed") % __FUNCTION__); + } + } else { + data += n; + size -= n; + } + } +} + +static void write_wave() +{ + static uint32_t file_id = 0; + char file_name[100]; + ChunkHeader header; + FormatInfo format; + + if (wave_buf == wave_now) { + return; + } + + sprintf(file_name, "/tmp/%u.wav", ++file_id); + int fd = open(file_name, O_CREAT | O_TRUNC | O_WRONLY, 0644); + if (fd == -1) { + DBG(0, fmt("open file %s failed") % file_name); + return; + } + + memcpy((char *)&header.id, "RIFF", 4); + header.size = 4; + write_all(fd, (uint8_t *)&header, sizeof(header)); + write_all(fd, (uint8_t *)"WAVE", 4); + + memcpy((char *)&header.id, "fmt ", 4); + header.size = sizeof(format); + write_all(fd, (uint8_t *)&header, sizeof(header)); + + format.compression_code = 1; + format.num_channels = 2; + format.sample_rate = 44100; + format.average_bytes_per_second = format.sample_rate * 4; + format.block_align = 4; + format.bits_per_sample = 16; + write_all(fd, (uint8_t *)&format, sizeof(format)); + + memcpy((char *)&header.id, "data", 4); + header.size = wave_now - wave_buf; + write_all(fd, (uint8_t *)&header, sizeof(header)); + write_all(fd, wave_buf, header.size); + close(fd); +} + +static void init_wave() +{ + if (!wave_buf) { + wave_buf = new uint8_t[WAVE_BUF_SIZE]; + } + wave_now = wave_buf; + wave_end = wave_buf + WAVE_BUF_SIZE; +} + +static void start_wave() +{ + wave_blocked = false; + wave_now = wave_buf; +} + +static void put_wave_data(uint8_t *data, uint32_t size) +{ + if (wave_blocked || size > wave_end - wave_now) { + wave_blocked = true; + return; + } + memcpy((void *)wave_now, (void *)data, size); + wave_now += size; +} + +static void end_wave() +{ + write_wave(); +} + +#endif + +class PlaybackHandler: public MessageHandlerImp<PlaybackChannel, SPICE_CHANNEL_PLAYBACK> { +public: + PlaybackHandler(PlaybackChannel& channel) + : MessageHandlerImp<PlaybackChannel, SPICE_CHANNEL_PLAYBACK>(channel) {} +}; + +PlaybackChannel::PlaybackChannel(RedClient& client, uint32_t id) + : RedChannel(client, SPICE_CHANNEL_PLAYBACK, id, new PlaybackHandler(*this), + Platform::PRIORITY_HIGH) + , _wave_player (NULL) + , _mode (SPICE_AUDIO_DATA_MODE_INVALID) + , _celt_mode (NULL) + , _celt_decoder (NULL) + , _playing (false) +{ +#ifdef WAVE_CAPTURE + init_wave(); +#endif + PlaybackHandler* handler = static_cast<PlaybackHandler*>(get_message_handler()); + + handler->set_handler(SPICE_MSG_MIGRATE, &PlaybackChannel::handle_migrate); + handler->set_handler(SPICE_MSG_SET_ACK, &PlaybackChannel::handle_set_ack); + handler->set_handler(SPICE_MSG_PING, &PlaybackChannel::handle_ping); + handler->set_handler(SPICE_MSG_WAIT_FOR_CHANNELS, &PlaybackChannel::handle_wait_for_channels); + handler->set_handler(SPICE_MSG_DISCONNECTING, &PlaybackChannel::handle_disconnect); + handler->set_handler(SPICE_MSG_NOTIFY, &PlaybackChannel::handle_notify); + + handler->set_handler(SPICE_MSG_PLAYBACK_MODE, &PlaybackChannel::handle_mode); + + set_capability(SPICE_PLAYBACK_CAP_CELT_0_5_1); +} + +void PlaybackChannel::clear() +{ + if (_wave_player) { + _playing = false; + _wave_player->stop(); + delete _wave_player; + _wave_player = NULL; + } + _mode = SPICE_AUDIO_DATA_MODE_INVALID; + + if (_celt_decoder) { + celt051_decoder_destroy(_celt_decoder); + _celt_decoder = NULL; + } + + if (_celt_mode) { + celt051_mode_destroy(_celt_mode); + _celt_mode = NULL; + } +} + +void PlaybackChannel::on_disconnect() +{ + clear(); +} + +PlaybackChannel::~PlaybackChannel(void) +{ + clear(); +} + +bool PlaybackChannel::abort(void) +{ + return (!_wave_player || _wave_player->abort()) && RedChannel::abort(); +} + +void PlaybackChannel::set_data_handler() +{ + PlaybackHandler* handler = static_cast<PlaybackHandler*>(get_message_handler()); + + if (_mode == SPICE_AUDIO_DATA_MODE_RAW) { + handler->set_handler(SPICE_MSG_PLAYBACK_DATA, &PlaybackChannel::handle_raw_data); + } else if (_mode == SPICE_AUDIO_DATA_MODE_CELT_0_5_1) { + handler->set_handler(SPICE_MSG_PLAYBACK_DATA, &PlaybackChannel::handle_celt_data); + } else { + THROW("invalid mode"); + } +} + +void PlaybackChannel::handle_mode(RedPeer::InMessage* message) +{ + SpiceMsgPlaybackMode* playbacke_mode = (SpiceMsgPlaybackMode*)message->data(); + if (playbacke_mode->mode != SPICE_AUDIO_DATA_MODE_RAW && + playbacke_mode->mode != SPICE_AUDIO_DATA_MODE_CELT_0_5_1) { + THROW("invalid mode"); + } + + _mode = playbacke_mode->mode; + if (_playing) { + set_data_handler(); + return; + } + + PlaybackHandler* handler = static_cast<PlaybackHandler*>(get_message_handler()); + handler->set_handler(SPICE_MSG_PLAYBACK_START, &PlaybackChannel::handle_start); +} + +void PlaybackChannel::null_handler(RedPeer::InMessage* message) +{ +} + +void PlaybackChannel::disable() +{ + PlaybackHandler* handler = static_cast<PlaybackHandler*>(get_message_handler()); + + handler->set_handler(SPICE_MSG_PLAYBACK_START, &PlaybackChannel::null_handler); + handler->set_handler(SPICE_MSG_PLAYBACK_STOP, &PlaybackChannel::null_handler); + handler->set_handler(SPICE_MSG_PLAYBACK_MODE, &PlaybackChannel::null_handler); + handler->set_handler(SPICE_MSG_PLAYBACK_DATA, &PlaybackChannel::null_handler); +} + +void PlaybackChannel::handle_start(RedPeer::InMessage* message) +{ + PlaybackHandler* handler = static_cast<PlaybackHandler*>(get_message_handler()); + SpiceMsgPlaybackStart* start = (SpiceMsgPlaybackStart*)message->data(); + + handler->set_handler(SPICE_MSG_PLAYBACK_START, NULL); + handler->set_handler(SPICE_MSG_PLAYBACK_STOP, &PlaybackChannel::handle_stop); + +#ifdef WAVE_CAPTURE + start_wave(); +#endif + if (!_wave_player) { + // for now support only one setting + int celt_mode_err; + + if (start->format != SPICE_AUDIO_FMT_S16) { + THROW("unexpected format"); + } + int bits_per_sample = 16; + int frame_size = 256; + _frame_bytes = frame_size * start->channels * bits_per_sample / 8; + try { + _wave_player = Platform::create_player(start->frequency, bits_per_sample, + start->channels); + } catch (...) { + LOG_WARN("create player failed"); + //todo: support disconnecting single channel + disable(); + return; + } + + if (!(_celt_mode = celt051_mode_create(start->frequency, start->channels, + frame_size, &celt_mode_err))) { + THROW("create celt mode failed %d", celt_mode_err); + } + + if (!(_celt_decoder = celt051_decoder_create(_celt_mode))) { + THROW("create celt decoder"); + } + } + _playing = true; + _frame_count = 0; + set_data_handler(); +} + +void PlaybackChannel::handle_stop(RedPeer::InMessage* message) +{ + PlaybackHandler* handler = static_cast<PlaybackHandler*>(get_message_handler()); + + handler->set_handler(SPICE_MSG_PLAYBACK_STOP, NULL); + handler->set_handler(SPICE_MSG_PLAYBACK_DATA, NULL); + handler->set_handler(SPICE_MSG_PLAYBACK_START, &PlaybackChannel::handle_start); + +#ifdef WAVE_CAPTURE + end_wave(); +#endif + _wave_player->stop(); + _playing = false; +} + +void PlaybackChannel::handle_raw_data(RedPeer::InMessage* message) +{ + SpiceMsgPlaybackPacket* packet = (SpiceMsgPlaybackPacket*)message->data(); + uint8_t* data = packet->data; + uint32_t size = packet->data_size; +#ifdef WAVE_CAPTURE + put_wave_data(data, size); + return; +#endif + if (size != _frame_bytes) { + //for now throw on unexpected size (based on current server imp). + // will probably be replaced by supporting flexible data size in the player imp + THROW("unexpected frame size"); + } + if ((_frame_count++ % 1000) == 0) { + get_client().set_mm_time(packet->time - _wave_player->get_delay_ms()); + } + _wave_player->write(data); +} + +void PlaybackChannel::handle_celt_data(RedPeer::InMessage* message) +{ + SpiceMsgPlaybackPacket* packet = (SpiceMsgPlaybackPacket*)message->data(); + uint8_t* data = packet->data; + uint32_t size = packet->data_size; + celt_int16_t pcm[256 * 2]; + + if (celt051_decode(_celt_decoder, data, size, pcm) != CELT_OK) { + THROW("celt decode failed"); + } +#ifdef WAVE_CAPTURE + put_wave_data(pcm, _frame_bytes); + return; +#endif + if ((_frame_count++ % 1000) == 0) { + get_client().set_mm_time(packet->time - _wave_player->get_delay_ms()); + } + _wave_player->write((uint8_t *)pcm); +} + +class PlaybackFactory: public ChannelFactory { +public: + PlaybackFactory() : ChannelFactory(SPICE_CHANNEL_PLAYBACK) {} + virtual RedChannel* construct(RedClient& client, uint32_t id) + { + return new PlaybackChannel(client, id); + } +}; + +static PlaybackFactory factory; + +ChannelFactory& PlaybackChannel::Factory() +{ + return factory; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/process_loop.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/process_loop.cpp new file mode 100644 index 0000000..9cd530e --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/process_loop.cpp @@ -0,0 +1,406 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "process_loop.h" +#include "debug.h" +#include "platform.h" +#include "utils.h" + +SyncEvent::SyncEvent() + : _err (false) + , _ready (false) +{ +} + +SyncEvent::~SyncEvent() +{ +} + +void SyncEvent::response(AbstractProcessLoop& events_loop) +{ + try { + do_response(events_loop); + } catch (Exception& e) { + LOG_WARN("unhandled exception: %s", e.what()); + _err = true; + } catch (...) { + _err = true; + } + Lock lock(_mutex); + _ready = true; + _condition.notify_one(); +} + +void SyncEvent::wait() +{ +#ifdef RED_DEBUG + ASSERT(_process_loop && !_process_loop->is_same_thread(pthread_self())); +#endif + Lock lock(_mutex); + while (!_ready) { + _condition.wait(lock); + } +} + +class ProcessLoop::QuitEvent: public Event { +public: + QuitEvent(int error_code) : _error_code(error_code) {} + virtual void response(AbstractProcessLoop& events_loop); +private: + int _error_code; +}; + +void ProcessLoop::QuitEvent::response(AbstractProcessLoop& events_loop) +{ + events_loop.do_quit(_error_code); +} + +/* EventsQueue */ + +EventsQueue::EventsQueue(AbstractProcessLoop& owner) + : _events_gen (0) + , _owner (owner) +{ +} + +EventsQueue::~EventsQueue() +{ + clear_queue(); +} + +void EventsQueue::clear_queue() +{ + Lock lock(_events_lock); + while (!_events.empty()) { + Event* event = _events.front(); + _events.pop_front(); + event->unref(); + } +} + +int EventsQueue::push_event(Event* event) +{ + Lock lock(_events_lock); + _events.push_back(event); + event->set_generation(_events_gen); + event->ref(); +#ifdef RED_DEBUG + event->set_process_loop(&_owner); +#endif + return _events.size(); +} + +void EventsQueue::process_events() +{ + _events_gen++; + + for (;;) { + Event* event; + Lock lock(_events_lock); + if (_events.empty()) { + return; + } + event = _events.front(); + if (event->get_generation() == _events_gen) { + return; + } + _events.pop_front(); + + lock.unlock(); + event->response(_owner); + event->unref(); + } +} + +bool EventsQueue::is_empty() +{ + Lock lock(_events_lock); + return _events.empty(); +} + +/* Timers Queue */ + +Timer::Timer() + : _is_armed (false) +{ +} + +Timer::~Timer() +{ +} + +void Timer::arm(uint32_t msec) +{ + _interval = msec; + _expiration = get_now(); + calc_next_expiration_time(); + _is_armed = true; +} + +void Timer::disarm() +{ + _is_armed = false; +} + +#define TIMER_COMPENSATION + +void Timer::calc_next_expiration_time(uint64_t now) +{ +#ifndef TIMER_COMPENSATION + _expiratoin = now; +#endif + calc_next_expiration_time(); +#ifdef TIMER_COMPENSATION + if (_expiration <= now) { + _expiration = now; + calc_next_expiration_time(); + } +#endif +} + +uint64_t Timer::get_now() +{ + return (Platform::get_monolithic_time() / 1000 / 1000); +} + +TimersQueue::TimersQueue(AbstractProcessLoop& owner) + : _owner (owner) +{ +} + +TimersQueue::~TimersQueue() +{ + clear_queue(); +} + +void TimersQueue::clear_queue() +{ + RecurciveLock lock(_timers_lock); + TimersSet::iterator iter; + for (iter = _armed_timers.begin(); iter != _armed_timers.end(); iter++) { + (*iter)->disarm(); + } + _armed_timers.clear(); +} + +void TimersQueue::activate_interval_timer(Timer* timer, unsigned int millisec) +{ + RecurciveLock lock(_timers_lock); + timer->ref(); + deactivate_interval_timer(timer); + timer->arm(millisec); + _armed_timers.insert(timer); +} + +void TimersQueue::deactivate_interval_timer(Timer* timer) +{ + RecurciveLock lock(_timers_lock); + if (timer->is_armed()) { +#ifdef RED_DEBUG + int ret = +#endif + _armed_timers.erase(timer); + ASSERT(ret); + timer->disarm(); + timer->unref(); + } +} + +unsigned int TimersQueue::get_soonest_timeout() +{ + RecurciveLock lock(_timers_lock); + TimersSet::iterator iter; + iter = _armed_timers.begin(); + if (iter == _armed_timers.end()) { + return INFINITE; + } + + uint64_t now = Timer::get_now(); + uint64_t next_time = (*iter)->get_expiration(); + + if (next_time <= now) { + return 0; + } + return (int)(next_time - now); +} + + +void TimersQueue::timers_action() +{ + RecurciveLock lock(_timers_lock); + uint64_t now = Timer::get_now(); + TimersSet::iterator iter; + + while (((iter = _armed_timers.begin()) != _armed_timers.end()) && + ((*iter)->get_expiration() <= now)) { + Timer* timer = *iter; + _armed_timers.erase(iter); + timer->calc_next_expiration_time(now); + _armed_timers.insert(timer); + timer->response(_owner); + } +} + +ProcessLoop::ProcessLoop(void* owner) + : _events_queue (*this) + , _timers_queue (*this) + , _owner (owner) + , _quitting (false) + , _exit_code (0) + , _started (false) +{ + _event_sources.add_trigger(_wakeup_trigger); +} + +ProcessLoop::~ProcessLoop() +{ + _event_sources.remove_trigger(_wakeup_trigger); +} + +int ProcessLoop::run() +{ + _thread = pthread_self(); + _started = true; + on_start_running(); + for (;;) { + if (_event_sources.wait_events(_timers_queue.get_soonest_timeout())) { + _quitting = true; + break; + } + _timers_queue.timers_action(); + process_events_queue(); + if (_quitting) { + break; + } + } + + return _exit_code; +} + +void ProcessLoop::do_quit(int error_code) +{ + ASSERT(!_started || pthread_equal(pthread_self(), _thread)); + if (_quitting) { + return; + } + _quitting = true; + _exit_code = error_code; +} + +void ProcessLoop::quit(int error_code) +{ + AutoRef<QuitEvent> quit_event(new QuitEvent(error_code)); + push_event(*quit_event); +} + +void ProcessLoop::process_events_queue() +{ + ASSERT(!_started || pthread_equal(pthread_self(), _thread)); + _events_queue.process_events(); + if (!_events_queue.is_empty()) { + wakeup(); + } +} + +void ProcessLoop::wakeup() +{ + _wakeup_trigger.trigger(); +} + +void ProcessLoop::add_trigger(EventSources::Trigger& trigger) +{ + ASSERT(!_started || pthread_equal(pthread_self(), _thread)); + _event_sources.add_trigger(trigger); +} + +void ProcessLoop::remove_trigger(EventSources::Trigger& trigger) +{ + ASSERT(!_started || pthread_equal(pthread_self(), _thread)); + _event_sources.remove_trigger(trigger); +} + +void ProcessLoop::add_socket(EventSources::Socket& socket) +{ + ASSERT(!_started || pthread_equal(pthread_self(), _thread)); + _event_sources.add_socket(socket); +} + +void ProcessLoop::remove_socket(EventSources::Socket& socket) +{ + ASSERT(!_started || pthread_equal(pthread_self(), _thread)); + _event_sources.remove_socket(socket); +} + +void ProcessLoop::add_file(EventSources::File& file) +{ + ASSERT(!_started || pthread_equal(pthread_self(), _thread)); + _event_sources.add_file(file); +} + +void ProcessLoop::remove_file(EventSources::File& file) +{ + ASSERT(!_started || pthread_equal(pthread_self(), _thread)); + _event_sources.remove_file(file); +} + +void ProcessLoop::add_handle(EventSources::Handle& handle) +{ + ASSERT(!_started || pthread_equal(pthread_self(), _thread)); + _event_sources.add_handle(handle); +} + +void ProcessLoop::remove_handle(EventSources::Handle& handle) +{ + ASSERT(!_started || pthread_equal(pthread_self(), _thread)); + _event_sources.remove_handle(handle); +} + +void ProcessLoop::push_event(Event* event) +{ + int queue_size = _events_queue.push_event(event); + if (queue_size == 1) { // queue was empty before the push + wakeup(); + } +} + +void ProcessLoop::activate_interval_timer(Timer* timer, unsigned int millisec) +{ + _timers_queue.activate_interval_timer(timer, millisec); + + if (_started && !pthread_equal(pthread_self(), _thread)) { + wakeup(); + } +} + +void ProcessLoop::deactivate_interval_timer(Timer* timer) +{ + _timers_queue.deactivate_interval_timer(timer); +} + +unsigned ProcessLoop::get_soonest_timeout() +{ + return _timers_queue.get_soonest_timeout(); +} + +void ProcessLoop::timers_action() +{ + _timers_queue.timers_action(); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/process_loop.h b/tizen/distrib/remote/server/spice-0.12.2/client/process_loop.h new file mode 100644 index 0000000..33ca2d1 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/process_loop.h @@ -0,0 +1,244 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_PROCESS_LOOP +#define _H_PROCESS_LOOP + +#include "common.h" + +#include <set> + +#include "event_sources.h" +#include "threads.h" + +class AbstractProcessLoop { +public: + virtual ~AbstractProcessLoop() {} + virtual int run() = 0; + virtual void do_quit(int error_code) = 0; + virtual void* get_owner() = 0; + virtual bool is_same_thread(pthread_t thread) = 0; +}; + +class EventBase { +public: + EventBase() : _refs (1) {} + + virtual void response(AbstractProcessLoop& events_loop) = 0; + + EventBase* ref() { ++_refs; return this;} + void unref() {if (--_refs == 0) delete this;} + +protected: + virtual ~EventBase() {} + +private: + AtomicCount _refs; +}; + +class EventsQueue; + +class Event: public EventBase { +#ifdef RED_DEBUG +public: + Event() : _process_loop (NULL) {} + +private: + void set_process_loop(AbstractProcessLoop* process_loop) { _process_loop = process_loop;} + +protected: + AbstractProcessLoop* _process_loop; +#endif + +private: + void set_generation(uint32_t gen) { _generation = gen;} + uint32_t get_generation() { return _generation;} + +private: + uint32_t _generation; + + friend class EventsQueue; +}; + +class EventsQueue { +public: + EventsQueue(AbstractProcessLoop& owner); + virtual ~EventsQueue(); + /* return the size of the queue (post-push) */ + int push_event(Event* event); + void process_events(); + bool is_empty(); + +private: + void clear_queue(); + +private: + std::list<Event*> _events; + Mutex _events_lock; + uint32_t _events_gen; + + AbstractProcessLoop& _owner; +}; + +class SyncEvent: public Event { +public: + SyncEvent(); + + void wait(); + bool success() { return !_err;} + + virtual void do_response(AbstractProcessLoop& events_loop) {} + +protected: + virtual ~SyncEvent(); + +private: + virtual void response(AbstractProcessLoop& events_loop); + +private: + Mutex _mutex; + Condition _condition; + bool _err; + bool _ready; +}; + +class TimersQueue; + +class Timer: public EventBase { +public: + Timer(); + bool is_armed() {return _is_armed;} + +protected: + virtual ~Timer(); + +private: + void arm(uint32_t msec); + void disarm(); + uint64_t get_expiration() const { return _expiration;} + void calc_next_expiration_time() { _expiration += _interval;} + void calc_next_expiration_time(uint64_t now); + + static uint64_t get_now(); + +private: + bool _is_armed; + uint32_t _interval; + uint64_t _expiration; + + class Compare { + public: + bool operator () (const Timer* timer1, const Timer* timer2) const + { + if (timer1->get_expiration() < timer2->get_expiration()) { + return true; + } else if (timer1->get_expiration() > timer2->get_expiration()) { + return false; + } else { // elements must be unique (for insertion into set) + return timer1 < timer2; + } + } + }; + + friend class TimersQueue; +}; + +class TimersQueue { +public: + TimersQueue(AbstractProcessLoop& owner); + virtual ~TimersQueue(); + + void activate_interval_timer(Timer* timer, unsigned int millisec); + void deactivate_interval_timer(Timer* timer); + + unsigned int get_soonest_timeout(); + void timers_action(); + +private: + void clear_queue(); + +private: + typedef std::set<Timer*, Timer::Compare> TimersSet; + TimersSet _armed_timers; + RecurciveMutex _timers_lock; + AbstractProcessLoop& _owner; +}; + +class ProcessLoop: public AbstractProcessLoop { +public: + class QuitEvent; + ProcessLoop(void* owner); + virtual ~ProcessLoop(); + int run(); + + void quit(int error_code); + + /* Event sources to track. Note: the following methods are not thread safe, thus, + they mustn't be called from other thread than the process loop thread. */ + void add_trigger(EventSources::Trigger& trigger); + void remove_trigger(EventSources::Trigger& trigger); + void add_socket(EventSources::Socket& socket); + void remove_socket(EventSources::Socket& socket); + void add_file(EventSources::File& file); + void remove_file(EventSources::File& file); + void add_handle(EventSources::Handle& handle); + void remove_handle(EventSources::Handle& handle); + + /* events queue */ + void push_event(Event* event); + + void activate_interval_timer(Timer* timer, unsigned int millisec); + void deactivate_interval_timer(Timer* timer); + + void process_events_queue(); + /* can be used for handling timers in modal loop state in Windows (mainly, + for updating the screen) */ + unsigned int get_soonest_timeout(); + void timers_action(); + + void* get_owner() { return _owner;} + + bool is_same_thread(pthread_t thread) { return _started && pthread_equal(_thread, thread);} + +protected: + class WakeupTrigger: public EventSources::Trigger { + public: + virtual void on_event() {} + }; + + virtual void on_start_running() {} + void wakeup(); + void do_quit(int error_code); + + friend class QuitEvent; // allowing access to quit + +private: + EventSources _event_sources; + EventsQueue _events_queue; + TimersQueue _timers_queue; + + WakeupTrigger _wakeup_trigger; + + void* _owner; + + bool _quitting; + int _exit_code; + bool _started; + pthread_t _thread; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/read_write_mutex.h b/tizen/distrib/remote/server/spice-0.12.2/client/read_write_mutex.h new file mode 100644 index 0000000..107474e --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/read_write_mutex.h @@ -0,0 +1,119 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_READ_WRITE_MUTEX +#define _H_READ_WRITE_MUTEX + +#include "threads.h" + +class ReadWriteMutex { +public: + ReadWriteMutex() + { + _state.read_count = 0; + _state.write = false; + _state.write_waiting = false; + } + + virtual ~ReadWriteMutex() + { + } + + void read_lock() + { + Lock lock(_state_mutex); + + while (_state.write || _state.write_waiting) { + _read_cond.wait(lock); + } + + ++_state.read_count; + } + + bool try_read_lock() + { + Lock lock(_state_mutex); + if (_state.write || _state.write_waiting) { + return false; + } else { + ++_state.read_count; + return true; + } + } + + void read_unlock() + { + Lock lock(_state_mutex); + --_state.read_count; + + if (!_state.read_count) { // last reader + _state.write_waiting = false; + release_waiters(); + } + } + + void write_lock() + { + Lock lock(_state_mutex); + + while (_state.read_count || _state.write) { + _state.write_waiting = true; + _write_cond.wait(lock); + } + _state.write = true; + } + + bool try_write_lock() + { + Lock lock(_state_mutex); + + if (_state.read_count || _state.write) { + return false; + } else { + _state.write = true; + return true; + } + } + + void write_unlock() + { + Lock lock(_state_mutex); + _state.write = false; + _state.write_waiting = false; + release_waiters(); + } + +private: + void release_waiters() + { + _write_cond.notify_one(); + _read_cond.notify_all(); + } + +private: + struct { + unsigned int read_count; + bool write; + bool write_waiting; + } _state; + + Mutex _state_mutex; + Condition _read_cond; + Condition _write_cond; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/record_channel.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/record_channel.cpp new file mode 100644 index 0000000..d9332c6 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/record_channel.cpp @@ -0,0 +1,293 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "red_client.h" +#include "audio_channels.h" +#include "audio_devices.h" + +#define NUM_SAMPLES_MESSAGES 4 + + +static uint32_t get_mm_time() +{ + return uint32_t(Platform::get_monolithic_time() / (1000 * 1000)); +} + +class RecordSamplesMessage: public RedChannel::OutMessage { +public: + RecordSamplesMessage(RecordChannel& channel); + virtual ~RecordSamplesMessage(); + + virtual RedPeer::OutMessage& peer_message() { return *_message;} + virtual void release(); + +private: + RecordChannel& _channel; + RedPeer::OutMessage *_message; +}; + +RecordSamplesMessage::RecordSamplesMessage(RecordChannel& channel) + : _channel (channel) + , _message (new Message(SPICE_MSGC_RECORD_DATA)) +{ +} + +RecordSamplesMessage::~RecordSamplesMessage() +{ + delete _message; +} + +void RecordSamplesMessage::release() +{ + _channel.release_message(this); +} + +int RecordChannel::data_mode = SPICE_AUDIO_DATA_MODE_CELT_0_5_1; + +class RecordHandler: public MessageHandlerImp<RecordChannel, SPICE_CHANNEL_RECORD> { +public: + RecordHandler(RecordChannel& channel) + : MessageHandlerImp<RecordChannel, SPICE_CHANNEL_RECORD>(channel) {} +}; + +RecordChannel::RecordChannel(RedClient& client, uint32_t id) + : RedChannel(client, SPICE_CHANNEL_RECORD, id, new RecordHandler(*this)) + , _wave_recorder (NULL) + , _mode (SPICE_AUDIO_DATA_MODE_INVALID) + , _celt_mode (NULL) + , _celt_encoder (NULL) +{ + for (int i = 0; i < NUM_SAMPLES_MESSAGES; i++) { + _messages.push_front(new RecordSamplesMessage(*this)); + } + + RecordHandler* handler = static_cast<RecordHandler*>(get_message_handler()); + + handler->set_handler(SPICE_MSG_MIGRATE, &RecordChannel::handle_migrate); + handler->set_handler(SPICE_MSG_SET_ACK, &RecordChannel::handle_set_ack); + handler->set_handler(SPICE_MSG_PING, &RecordChannel::handle_ping); + handler->set_handler(SPICE_MSG_WAIT_FOR_CHANNELS, &RecordChannel::handle_wait_for_channels); + handler->set_handler(SPICE_MSG_DISCONNECTING, &RecordChannel::handle_disconnect); + handler->set_handler(SPICE_MSG_NOTIFY, &RecordChannel::handle_notify); + + handler->set_handler(SPICE_MSG_RECORD_START, &RecordChannel::handle_start); + + set_capability(SPICE_RECORD_CAP_CELT_0_5_1); +} + +RecordChannel::~RecordChannel(void) +{ + while (!_messages.empty()) { + RecordSamplesMessage *mes; + mes = *_messages.begin(); + _messages.pop_front(); + delete mes; + } + clear(); +} + +bool RecordChannel::abort(void) +{ + return (!_wave_recorder || _wave_recorder->abort()) && RedChannel::abort(); +} + +void RecordChannel::on_connect() +{ + Message* message = new Message(SPICE_MSGC_RECORD_MODE); + SpiceMsgcRecordMode mode; + mode.time = get_mm_time(); + mode.mode = _mode = + test_capability(SPICE_RECORD_CAP_CELT_0_5_1) ? RecordChannel::data_mode : + SPICE_AUDIO_DATA_MODE_RAW; + _marshallers->msgc_record_mode(message->marshaller(), &mode); + post_message(message); +} + +void RecordChannel::on_disconnect() +{ + clear(); +} + +void RecordChannel::send_start_mark() +{ + Message* message = new Message(SPICE_MSGC_RECORD_START_MARK); + SpiceMsgcRecordStartMark start_mark; + start_mark.time = get_mm_time(); + _marshallers->msgc_record_start_mark(message->marshaller(), &start_mark); + post_message(message); +} + +void RecordChannel::handle_start(RedPeer::InMessage* message) +{ + RecordHandler* handler = static_cast<RecordHandler*>(get_message_handler()); + SpiceMsgRecordStart* start = (SpiceMsgRecordStart*)message->data(); + + handler->set_handler(SPICE_MSG_RECORD_START, NULL); + handler->set_handler(SPICE_MSG_RECORD_STOP, &RecordChannel::handle_stop); + ASSERT(!_wave_recorder && !_celt_mode && !_celt_encoder); + + // for now support only one setting + if (start->format != SPICE_AUDIO_FMT_S16) { + THROW("unexpected format"); + } + + int bits_per_sample = 16; + try { + _wave_recorder = Platform::create_recorder(*this, start->frequency, + bits_per_sample, + start->channels); + } catch (...) { + LOG_WARN("create recorder failed"); + return; + } + + int frame_size = 256; + int celt_mode_err; + _frame_bytes = frame_size * bits_per_sample * start->channels / 8; + if (!(_celt_mode = celt051_mode_create(start->frequency, start->channels, frame_size, + &celt_mode_err))) { + THROW("create celt mode failed %d", celt_mode_err); + } + + if (!(_celt_encoder = celt051_encoder_create(_celt_mode))) { + THROW("create celt encoder failed"); + } + + send_start_mark(); + _wave_recorder->start(); +} + +void RecordChannel::clear() +{ + if (_wave_recorder) { + _wave_recorder->stop(); + delete _wave_recorder; + _wave_recorder = NULL; + } + if (_celt_encoder) { + celt051_encoder_destroy(_celt_encoder); + _celt_encoder = NULL; + } + if (_celt_mode) { + celt051_mode_destroy(_celt_mode); + _celt_mode = NULL; + } +} + +void RecordChannel::handle_stop(RedPeer::InMessage* message) +{ + RecordHandler* handler = static_cast<RecordHandler*>(get_message_handler()); + handler->set_handler(SPICE_MSG_RECORD_START, &RecordChannel::handle_start); + handler->set_handler(SPICE_MSG_RECORD_STOP, NULL); + if (!_wave_recorder) { + return; + } + ASSERT(_celt_mode && _celt_encoder); + clear(); +} + +RecordSamplesMessage* RecordChannel::get_message() +{ + Lock lock(_messages_lock); + if (_messages.empty()) { + return NULL; + } + + RecordSamplesMessage* ret = *_messages.begin(); + _messages.pop_front(); + return ret; +} + +void RecordChannel::release_message(RecordSamplesMessage *message) +{ + Lock lock(_messages_lock); + _messages.push_front(message); +} + +void RecordChannel::add_event_source(EventSources::File& event_source) +{ + get_process_loop().add_file(event_source); +} + +void RecordChannel::remove_event_source(EventSources::File& event_source) +{ + get_process_loop().remove_file(event_source); +} + +void RecordChannel::add_event_source(EventSources::Trigger& event_source) +{ + get_process_loop().add_trigger(event_source); +} + +void RecordChannel::remove_event_source(EventSources::Trigger& event_source) +{ + get_process_loop().remove_trigger(event_source); +} + +#define FRAME_SIZE 256 +#define CELT_BIT_RATE (64 * 1024) +#define CELT_COMPRESSED_FRAME_BYTES (FRAME_SIZE * CELT_BIT_RATE / 44100 / 8) + +void RecordChannel::push_frame(uint8_t *frame) +{ + RecordSamplesMessage *message; + ASSERT(_frame_bytes == FRAME_SIZE * 4); + if (!(message = get_message())) { + DBG(0, "blocked"); + return; + } + uint8_t celt_buf[CELT_COMPRESSED_FRAME_BYTES]; + int n; + + if (_mode == SPICE_AUDIO_DATA_MODE_CELT_0_5_1) { + n = celt051_encode(_celt_encoder, (celt_int16_t *)frame, NULL, celt_buf, + CELT_COMPRESSED_FRAME_BYTES); + if (n < 0) { + THROW("celt encode failed"); + } + frame = celt_buf; + } else { + n = _frame_bytes; + } + RedPeer::OutMessage& peer_message = message->peer_message(); + peer_message.reset(SPICE_MSGC_RECORD_DATA); + SpiceMsgcRecordPacket packet; + packet.time = get_mm_time(); + _marshallers->msgc_record_data(peer_message.marshaller(), &packet); + spice_marshaller_add(peer_message.marshaller(), frame, n); + post_message(message); +} + +class RecordFactory: public ChannelFactory { +public: + RecordFactory() : ChannelFactory(SPICE_CHANNEL_RECORD) {} + virtual RedChannel* construct(RedClient& client, uint32_t id) + { + return new RecordChannel(client, id); + } +}; + +static RecordFactory factory; + +ChannelFactory& RecordChannel::Factory() +{ + return factory; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/red_canvas_base.h b/tizen/distrib/remote/server/spice-0.12.2/client/red_canvas_base.h new file mode 100644 index 0000000..1506055 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/red_canvas_base.h @@ -0,0 +1,26 @@ +/* + Copyright (C) 2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifndef _H_RED_CANVAS_BASE +#define _H_RED_CANVAS_BASE + +#define SPICE_CANVAS_INTERNAL +#define SW_CANVAS_CACHE +#include "common/canvas_base.h" +#undef SW_CANVAS_CACHE +#undef SPICE_CANVAS_INTERNAL + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/red_channel.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/red_channel.cpp new file mode 100644 index 0000000..f585732 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/red_channel.cpp @@ -0,0 +1,887 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "red_channel.h" +#include "red_client.h" +#include "application.h" +#include "debug.h" +#include "utils.h" + +#include "openssl/rsa.h" +#include "openssl/evp.h" +#include "openssl/x509.h" + +void MigrationDisconnectSrcEvent::response(AbstractProcessLoop& events_loop) +{ + static_cast<RedChannel*>(events_loop.get_owner())->do_migration_disconnect_src(); +} + +void MigrationConnectTargetEvent::response(AbstractProcessLoop& events_loop) +{ + static_cast<RedChannel*>(events_loop.get_owner())->do_migration_connect_target(); +} + +RedChannelBase::RedChannelBase(uint8_t type, uint8_t id, const ChannelCaps& common_caps, + const ChannelCaps& caps) + : RedPeer() + , _type (type) + , _id (id) + , _common_caps (common_caps) + , _caps (caps) +{ +} + +RedChannelBase::~RedChannelBase() +{ +} + +static const char *spice_link_error_string(int err) +{ + switch (err) { + case SPICE_LINK_ERR_OK: return "no error"; + case SPICE_LINK_ERR_ERROR: return "general error"; + case SPICE_LINK_ERR_INVALID_MAGIC: return "invalid magic"; + case SPICE_LINK_ERR_INVALID_DATA: return "invalid data"; + case SPICE_LINK_ERR_VERSION_MISMATCH: return "version mismatch"; + case SPICE_LINK_ERR_NEED_SECURED: return "need secured connection"; + case SPICE_LINK_ERR_NEED_UNSECURED: return "need unsecured connection"; + case SPICE_LINK_ERR_PERMISSION_DENIED: return "permission denied"; + case SPICE_LINK_ERR_BAD_CONNECTION_ID: return "bad connection id"; + case SPICE_LINK_ERR_CHANNEL_NOT_AVAILABLE: return "channel not available"; + } + return ""; +} + +void RedChannelBase::link(uint32_t connection_id, const std::string& password, + int protocol) +{ + SpiceLinkHeader header; + SpiceLinkMess link_mess; + SpiceLinkReply* reply; + uint32_t link_res; + uint32_t i; + + BIO *bioKey; + uint8_t *buffer, *p; + uint32_t expected_major; + + header.magic = SPICE_MAGIC; + header.size = sizeof(link_mess); + if (protocol == 1) { + /* protocol 1 == major 1, old 0.4 protocol, last active minor */ + expected_major = header.major_version = 1; + header.minor_version = 3; + } else if (protocol == 2) { + /* protocol 2 == current */ + expected_major = header.major_version = SPICE_VERSION_MAJOR; + header.minor_version = SPICE_VERSION_MINOR; + } else { + THROW("unsupported protocol version specified"); + } + link_mess.connection_id = connection_id; + link_mess.channel_type = _type; + link_mess.channel_id = _id; + link_mess.num_common_caps = get_common_caps().size(); + link_mess.num_channel_caps = get_caps().size(); + link_mess.caps_offset = sizeof(link_mess); + header.size += (link_mess.num_common_caps + link_mess.num_channel_caps) * sizeof(uint32_t); + + buffer = + new uint8_t[sizeof(header) + sizeof(link_mess) + + _common_caps.size() * sizeof(uint32_t) + + _caps.size() * sizeof(uint32_t)]; + p = buffer; + + memcpy(p, (uint8_t*)&header, sizeof(header)); + p += sizeof(header); + memcpy(p, (uint8_t*)&link_mess, sizeof(link_mess)); + p += sizeof(link_mess); + for (i = 0; i < _common_caps.size(); i++) { + *(uint32_t *)p = _common_caps[i]; + p += sizeof(uint32_t); + } + + for (i = 0; i < _caps.size(); i++) { + *(uint32_t *)p = _caps[i]; + p += sizeof(uint32_t); + } + + send(buffer, p - buffer); + delete [] buffer; + + receive((uint8_t*)&header, sizeof(header)); + + if (header.magic != SPICE_MAGIC) { + THROW_ERR(SPICEC_ERROR_CODE_CONNECT_FAILED, "bad magic"); + } + + if (header.major_version != expected_major) { + THROW_ERR(SPICEC_ERROR_CODE_VERSION_MISMATCH, + "version mismatch: expect %u got %u", + expected_major, + header.major_version); + } + + _remote_major = header.major_version; + _remote_minor = header.minor_version; + + AutoArray<uint8_t> reply_buf(new uint8_t[header.size]); + receive(reply_buf.get(), header.size); + + reply = (SpiceLinkReply *)reply_buf.get(); + + if (reply->error != SPICE_LINK_ERR_OK) { + THROW_ERR(SPICEC_ERROR_CODE_CONNECT_FAILED, "connect error %u - %s", + reply->error, spice_link_error_string(reply->error)); + } + + uint32_t num_caps = reply->num_channel_caps + reply->num_common_caps; + if ((uint8_t *)(reply + 1) > reply_buf.get() + header.size || + (uint8_t *)reply + reply->caps_offset + num_caps * sizeof(uint32_t) > + reply_buf.get() + header.size) { + THROW_ERR(SPICEC_ERROR_CODE_CONNECT_FAILED, "access violation"); + } + + uint32_t *caps = (uint32_t *)((uint8_t *)reply + reply->caps_offset); + + _remote_common_caps.clear(); + for (i = 0; i < reply->num_common_caps; i++, caps++) { + _remote_common_caps.resize(i + 1); + _remote_common_caps[i] = *caps; + } + + _remote_caps.clear(); + for (i = 0; i < reply->num_channel_caps; i++, caps++) { + _remote_caps.resize(i + 1); + _remote_caps[i] = *caps; + } + + bioKey = BIO_new(BIO_s_mem()); + if (bioKey != NULL) { + EVP_PKEY *pubkey; + int nRSASize; + RSA *rsa; + + BIO_write(bioKey, reply->pub_key, SPICE_TICKET_PUBKEY_BYTES); + pubkey = d2i_PUBKEY_bio(bioKey, NULL); + rsa = pubkey->pkey.rsa; + nRSASize = RSA_size(rsa); + AutoArray<unsigned char> bufEncrypted(new unsigned char[nRSASize]); + + /* + The use of RSA encryption limit the potential maximum password length. + for RSA_PKCS1_OAEP_PADDING it is RSA_size(rsa) - 41. + */ + if (RSA_public_encrypt(password.length() + 1, (unsigned char *)password.c_str(), + (uint8_t *)bufEncrypted.get(), + rsa, RSA_PKCS1_OAEP_PADDING) > 0) { + send((uint8_t*)bufEncrypted.get(), nRSASize); + } else { + EVP_PKEY_free(pubkey); + BIO_free(bioKey); + THROW("could not encrypt password"); + } + + memset(bufEncrypted.get(), 0, nRSASize); + EVP_PKEY_free(pubkey); + } else { + THROW("Could not initiate BIO"); + } + + BIO_free(bioKey); + + receive((uint8_t*)&link_res, sizeof(link_res)); + if (link_res != SPICE_LINK_ERR_OK) { + int error_code = (link_res == SPICE_LINK_ERR_PERMISSION_DENIED) ? + SPICEC_ERROR_CODE_CONNECT_FAILED : SPICEC_ERROR_CODE_CONNECT_FAILED; + THROW_ERR(error_code, "connect failed %u", link_res); + } +} + +void RedChannelBase::connect(const ConnectionOptions& options, uint32_t connection_id, + const char* host, std::string password) +{ + int protocol = options.protocol; + + if (protocol == 0) { /* AUTO, try major 2 first */ + protocol = 2; + } + + retry: + try { + if (options.allow_unsecure()) { + try { + RedPeer::connect_unsecure(host, options.unsecure_port); + link(connection_id, password, protocol); + return; + } catch (Exception& e) { + // On protocol version mismatch, don't connect_secure with the same version + if (e.get_error_code() == SPICEC_ERROR_CODE_VERSION_MISMATCH || + !options.allow_secure()) { + throw; + } + RedPeer::close(); + } + } + ASSERT(options.allow_secure()); + RedPeer::connect_secure(options, host); + link(connection_id, password, protocol); + } catch (Exception& e) { + // On protocol version mismatch, retry with older version + if (e.get_error_code() == SPICEC_ERROR_CODE_VERSION_MISMATCH && + protocol == 2 && options.protocol == 0) { + RedPeer::cleanup(); + protocol = 1; + goto retry; + } + throw; + } +} + +void RedChannelBase::set_capability(ChannelCaps& caps, uint32_t cap) +{ + uint32_t word_index = cap / 32; + + if (caps.size() < word_index + 1) { + caps.resize(word_index + 1); + } + caps[word_index] |= 1 << (cap % 32); +} + +void RedChannelBase::set_common_capability(uint32_t cap) +{ + set_capability(_common_caps, cap); +} + +void RedChannelBase::set_capability(uint32_t cap) +{ + set_capability(_caps, cap); +} + +bool RedChannelBase::test_capability(const ChannelCaps& caps, uint32_t cap) +{ + uint32_t word_index = cap / 32; + + if (caps.size() < word_index + 1) { + return false; + } + + return (caps[word_index] & (1 << (cap % 32))) != 0; +} + +bool RedChannelBase::test_common_capability(uint32_t cap) +{ + return test_capability(_remote_common_caps, cap); +} + +bool RedChannelBase::test_capability(uint32_t cap) +{ + return test_capability(_remote_caps, cap); +} + +void RedChannelBase::swap(RedChannelBase* other) +{ + int tmp_ver; + + RedPeer::swap(other); + tmp_ver = _remote_major; + _remote_major = other->_remote_major; + other->_remote_major = tmp_ver; + + tmp_ver = _remote_minor; + _remote_minor = other->_remote_minor; + other->_remote_minor = tmp_ver; +} + +SendTrigger::SendTrigger(RedChannel& channel) + : _channel (channel) +{ +} + +void SendTrigger::on_event() +{ + _channel.on_send_trigger(); +} + +SPICE_GNUC_NORETURN void AbortTrigger::on_event() +{ + THROW("abort"); +} + +RedChannel::RedChannel(RedClient& client, uint8_t type, uint8_t id, + RedChannel::MessageHandler* handler, + Platform::ThreadPriority worker_priority) + : RedChannelBase(type, id, ChannelCaps(), ChannelCaps()) + , _marshallers (NULL) + , _client (client) + , _state (PASSIVE_STATE) + , _action (WAIT_ACTION) + , _error (SPICEC_ERROR_CODE_SUCCESS) + , _wait_for_threads (true) + , _socket_in_loop (false) + , _worker (NULL) + , _worker_priority (worker_priority) + , _message_handler (handler) + , _outgoing_message (NULL) + , _incomming_header_pos (0) + , _incomming_message (NULL) + , _message_ack_count (0) + , _message_ack_window (0) + , _loop (this) + , _send_trigger (*this) + , _disconnect_stamp (0) + , _disconnect_reason (SPICE_LINK_ERR_OK) +{ + _loop.add_trigger(_send_trigger); + _loop.add_trigger(_abort_trigger); +} + +RedChannel::~RedChannel() +{ + ASSERT(_state == TERMINATED_STATE || _state == PASSIVE_STATE); + delete _worker; +} + +void* RedChannel::worker_main(void *data) +{ + try { + RedChannel* channel = static_cast<RedChannel*>(data); + channel->set_state(DISCONNECTED_STATE); + Platform::set_thread_priority(NULL, channel->get_worker_priority()); + channel->run(); + } catch (Exception& e) { + LOG_ERROR("unhandled exception: %s", e.what()); + } catch (std::exception& e) { + LOG_ERROR("unhandled exception: %s", e.what()); + } catch (...) { + LOG_ERROR("unhandled exception"); + } + return NULL; +} + +void RedChannel::post_message(RedChannel::OutMessage* message) +{ + Lock lock(_outgoing_lock); + _outgoing_messages.push_back(message); + lock.unlock(); + _send_trigger.trigger(); +} + +RedPeer::CompoundInMessage *RedChannel::receive() +{ + CompoundInMessage *message = RedChannelBase::receive(); + on_message_received(); + return message; +} + +RedChannel::OutMessage* RedChannel::get_outgoing_message() +{ + if (_state != CONNECTED_STATE || _outgoing_messages.empty()) { + return NULL; + } + RedChannel::OutMessage* message = _outgoing_messages.front(); + _outgoing_messages.pop_front(); + return message; +} + +class AutoMessage { +public: + AutoMessage(RedChannel::OutMessage* message) : _message (message) {} + ~AutoMessage() {if (_message) _message->release();} + void set(RedChannel::OutMessage* message) { _message = message;} + RedChannel::OutMessage* get() { return _message;} + RedChannel::OutMessage* release(); + +private: + RedChannel::OutMessage* _message; +}; + +RedChannel::OutMessage* AutoMessage::release() +{ + RedChannel::OutMessage* ret = _message; + _message = NULL; + return ret; +} + +void RedChannel::start() +{ + ASSERT(!_worker); + _worker = new Thread(RedChannel::worker_main, this); + Lock lock(_state_lock); + while (_state == PASSIVE_STATE) { + _state_cond.wait(lock); + } +} + +void RedChannel::set_state(int state) +{ + Lock lock(_state_lock); + _state = state; + _state_cond.notify_all(); +} + +void RedChannel::connect() +{ + Lock lock(_action_lock); + + if (_state != DISCONNECTED_STATE && _state != PASSIVE_STATE) { + return; + } + _action = CONNECT_ACTION; + _action_cond.notify_one(); +} + +void RedChannel::disconnect() +{ + clear_outgoing_messages(); + + Lock lock(_action_lock); + if (_state != CONNECTING_STATE && _state != CONNECTED_STATE) { + return; + } + _action = DISCONNECT_ACTION; + RedPeer::disconnect(); + _action_cond.notify_one(); +} + +void RedChannel::disconnect_migration_src() +{ + clear_outgoing_messages(); + + Lock lock(_action_lock); + if (_state == CONNECTING_STATE || _state == CONNECTED_STATE) { + AutoRef<MigrationDisconnectSrcEvent> migrate_event(new MigrationDisconnectSrcEvent()); + _loop.push_event(*migrate_event); + } +} + +void RedChannel::connect_migration_target() +{ + LOG_INFO(""); + AutoRef<MigrationConnectTargetEvent> migrate_event(new MigrationConnectTargetEvent()); + _loop.push_event(*migrate_event); +} + +void RedChannel::do_migration_disconnect_src() +{ + if (_socket_in_loop) { + _socket_in_loop = false; + _loop.remove_socket(*this); + } + + clear_outgoing_messages(); + if (_outgoing_message) { + _outgoing_message->release(); + _outgoing_message = NULL; + } + _incomming_header_pos = 0; + if (_incomming_message) { + _incomming_message->unref(); + _incomming_message = NULL; + } + + on_disconnect_mig_src(); + get_client().migrate_channel(*this); + get_client().on_channel_disconnect_mig_src_completed(*this); +} + +void RedChannel::do_migration_connect_target() +{ + LOG_INFO(""); + ASSERT(get_client().get_protocol() != 0); + if (get_client().get_protocol() == 1) { + _marshallers = spice_message_marshallers_get1(); + } else { + _marshallers = spice_message_marshallers_get(); + } + _loop.add_socket(*this); + _socket_in_loop = true; + on_connect_mig_target(); + set_state(CONNECTED_STATE); + on_event(); +} + +void RedChannel::clear_outgoing_messages() +{ + Lock lock(_outgoing_lock); + while (!_outgoing_messages.empty()) { + RedChannel::OutMessage* message = _outgoing_messages.front(); + _outgoing_messages.pop_front(); + message->release(); + } +} + +void RedChannel::run() +{ + for (;;) { + Lock lock(_action_lock); + if (_action == WAIT_ACTION) { + _action_cond.wait(lock); + } + int action = _action; + _action = WAIT_ACTION; + lock.unlock(); + switch (action) { + case CONNECT_ACTION: + try { + get_client().get_sync_info(get_type(), get_id(), _sync_info); + on_connecting(); + set_state(CONNECTING_STATE); + ConnectionOptions con_options(_client.get_connection_options(get_type()), + _client.get_port(), + _client.get_sport(), + _client.get_protocol(), + _client.get_host_auth_options(), + _client.get_connection_ciphers()); + RedChannelBase::connect(con_options, _client.get_connection_id(), + _client.get_host().c_str(), + _client.get_password().c_str()); + /* If automatic protocol, remember the first connect protocol type */ + if (_client.get_protocol() == 0) { + if (get_peer_major() == 1) { + _client.set_protocol(1); + } else { + /* Major is 2 or unstable high value, use 2 */ + _client.set_protocol(2); + } + } + /* Initialize when we know the remote major version */ + if (_client.get_peer_major() == 1) { + _marshallers = spice_message_marshallers_get1(); + } else { + _marshallers = spice_message_marshallers_get(); + } + on_connect(); + set_state(CONNECTED_STATE); + _loop.add_socket(*this); + _socket_in_loop = true; + on_event(); + _loop.run(); + } catch (RedPeer::DisconnectedException&) { + _error = SPICEC_ERROR_CODE_SUCCESS; + } catch (Exception& e) { + LOG_WARN("%s", e.what()); + _error = e.get_error_code(); + } catch (std::exception& e) { + LOG_WARN("%s", e.what()); + _error = SPICEC_ERROR_CODE_ERROR; + } + if (_socket_in_loop) { + _socket_in_loop = false; + _loop.remove_socket(*this); + } + if (_outgoing_message) { + _outgoing_message->release(); + _outgoing_message = NULL; + } + _incomming_header_pos = 0; + if (_incomming_message) { + _incomming_message->unref(); + _incomming_message = NULL; + } + case DISCONNECT_ACTION: + close(); + on_disconnect(); + set_state(DISCONNECTED_STATE); + _client.on_channel_disconnected(*this); + continue; + case QUIT_ACTION: + set_state(TERMINATED_STATE); + return; + } + } +} + +bool RedChannel::abort() +{ + clear_outgoing_messages(); + Lock lock(_action_lock); + if (_state == TERMINATED_STATE) { + if (_wait_for_threads) { + _wait_for_threads = false; + _worker->join(); + } + return true; + } + + _action = QUIT_ACTION; + _action_cond.notify_one(); + lock.unlock(); + RedPeer::disconnect(); + _abort_trigger.trigger(); + + for (;;) { + Lock state_lock(_state_lock); + if (_state == TERMINATED_STATE) { + break; + } + uint64_t timout = 1000 * 1000 * 100; // 100ms + if (!_state_cond.timed_wait(state_lock, timout)) { + return false; + } + } + if (_wait_for_threads) { + _wait_for_threads = false; + _worker->join(); + } + return true; +} + +void RedChannel::send_messages() +{ + if (_outgoing_message) { + return; + } + + for (;;) { + Lock lock(_outgoing_lock); + AutoMessage message(get_outgoing_message()); + if (!message.get()) { + return; + } + RedPeer::OutMessage& peer_message = message.get()->peer_message(); + uint32_t n = send(peer_message); + if (n != peer_message.message_size()) { + _outgoing_message = message.release(); + _outgoing_pos = n; + return; + } + } +} + +void RedChannel::on_send_trigger() +{ + send_messages(); +} + +void RedChannel::on_message_received() +{ + if (_message_ack_count && !--_message_ack_count) { + post_message(new Message(SPICE_MSGC_ACK)); + _message_ack_count = _message_ack_window; + } +} + +void RedChannel::on_message_complition(uint64_t serial) +{ + Lock lock(*_sync_info.lock); + *_sync_info.message_serial = serial; + _sync_info.condition->notify_all(); +} + +void RedChannel::receive_messages() +{ + for (;;) { + uint32_t n = RedPeer::receive((uint8_t*)&_incomming_header, sizeof(SpiceDataHeader)); + if (n != sizeof(SpiceDataHeader)) { + _incomming_header_pos = n; + return; + } + AutoRef<CompoundInMessage> message(new CompoundInMessage(_incomming_header.serial, + _incomming_header.type, + _incomming_header.size, + _incomming_header.sub_list)); + n = RedPeer::receive((*message)->data(), (*message)->compound_size()); + if (n != (*message)->compound_size()) { + _incomming_message = message.release(); + _incomming_message_pos = n; + return; + } + on_message_received(); + _message_handler->handle_message(*(*message)); + on_message_complition((*message)->serial()); + } +} + +void RedChannel::on_event() +{ + if (_outgoing_message) { + RedPeer::OutMessage& peer_message = _outgoing_message->peer_message(); + + _outgoing_pos += do_send(peer_message, _outgoing_pos); + if (_outgoing_pos == peer_message.message_size()) { + _outgoing_message->release(); + _outgoing_message = NULL; + } + } + send_messages(); + + if (_incomming_header_pos) { + _incomming_header_pos += RedPeer::receive(((uint8_t*)&_incomming_header) + + _incomming_header_pos, + sizeof(SpiceDataHeader) - _incomming_header_pos); + if (_incomming_header_pos != sizeof(SpiceDataHeader)) { + return; + } + _incomming_header_pos = 0; + _incomming_message = new CompoundInMessage(_incomming_header.serial, + _incomming_header.type, + _incomming_header.size, + _incomming_header.sub_list); + _incomming_message_pos = 0; + } + + if (_incomming_message) { + _incomming_message_pos += RedPeer::receive(_incomming_message->data() + + _incomming_message_pos, + _incomming_message->compound_size() - + _incomming_message_pos); + if (_incomming_message_pos != _incomming_message->compound_size()) { + return; + } + AutoRef<CompoundInMessage> message(_incomming_message); + _incomming_message = NULL; + on_message_received(); + _message_handler->handle_message(*(*message)); + on_message_complition((*message)->serial()); + } + receive_messages(); +} + +void RedChannel::send_migrate_flush_mark() +{ + if (_outgoing_message) { + RedPeer::OutMessage& peer_message = _outgoing_message->peer_message(); + do_send(peer_message, _outgoing_pos); + _outgoing_message->release(); + _outgoing_message = NULL; + } + Lock lock(_outgoing_lock); + for (;;) { + AutoMessage message(get_outgoing_message()); + if (!message.get()) { + break; + } + send(message.get()->peer_message()); + } + lock.unlock(); + std::auto_ptr<RedPeer::OutMessage> message(new RedPeer::OutMessage(SPICE_MSGC_MIGRATE_FLUSH_MARK)); + send(*message); +} + +void RedChannel::handle_migrate(RedPeer::InMessage* message) +{ + DBG(0, "channel type %u id %u", get_type(), get_id()); + _socket_in_loop = false; + _loop.remove_socket(*this); + SpiceMsgMigrate* migrate = (SpiceMsgMigrate*)message->data(); + if (migrate->flags & SPICE_MIGRATE_NEED_FLUSH) { + send_migrate_flush_mark(); + } + AutoRef<CompoundInMessage> data_message; + if (migrate->flags & SPICE_MIGRATE_NEED_DATA_TRANSFER) { + data_message.reset(receive()); + } + _client.migrate_channel(*this); + if (migrate->flags & SPICE_MIGRATE_NEED_DATA_TRANSFER) { + if ((*data_message)->type() != SPICE_MSG_MIGRATE_DATA) { + THROW("expect SPICE_MSG_MIGRATE_DATA"); + } + std::auto_ptr<RedPeer::OutMessage> message(new RedPeer::OutMessage(SPICE_MSGC_MIGRATE_DATA)); + spice_marshaller_add(message->marshaller(), (*data_message)->data(), (*data_message)->size()); + send(*message); + } + _loop.add_socket(*this); + _socket_in_loop = true; + on_migrate(); + set_state(CONNECTED_STATE); + on_event(); +} + +void RedChannel::handle_set_ack(RedPeer::InMessage* message) +{ + SpiceMsgSetAck* ack = (SpiceMsgSetAck*)message->data(); + _message_ack_window = _message_ack_count = ack->window; + Message *response = new Message(SPICE_MSGC_ACK_SYNC); + SpiceMsgcAckSync sync; + sync.generation = ack->generation; + _marshallers->msgc_ack_sync(response->marshaller(), &sync); + post_message(response); +} + +void RedChannel::handle_ping(RedPeer::InMessage* message) +{ + SpiceMsgPing *ping = (SpiceMsgPing *)message->data(); + Message *pong = new Message(SPICE_MSGC_PONG); + _marshallers->msgc_pong(pong->marshaller(), ping); + post_message(pong); +} + +void RedChannel::handle_disconnect(RedPeer::InMessage* message) +{ + SpiceMsgDisconnect *disconnect = (SpiceMsgDisconnect *)message->data(); + _disconnect_stamp = disconnect->time_stamp; + _disconnect_reason = disconnect->reason; +} + +void RedChannel::handle_notify(RedPeer::InMessage* message) +{ + SpiceMsgNotify *notify = (SpiceMsgNotify *)message->data(); + const char *severity; + const char *visibility; + char *message_str = (char *)""; + const char *message_prefix = ""; + + static const char* severity_strings[] = {"info", "warn", "error"}; + static const char* visibility_strings[] = {"!", "!!", "!!!"}; + + + if (notify->severity > SPICE_NOTIFY_SEVERITY_ERROR) { + THROW("bad severity"); + } + severity = severity_strings[notify->severity]; + + if (notify->visibilty > SPICE_NOTIFY_VISIBILITY_HIGH) { + THROW("bad visibility"); + } + visibility = visibility_strings[notify->visibilty]; + + + if (notify->message_len) { + if ((message->size() - sizeof(*notify) < notify->message_len)) { + THROW("access violation"); + } + message_str = new char[notify->message_len + 1]; + memcpy(message_str, notify->message, notify->message_len); + message_str[notify->message_len] = 0; + message_prefix = ": "; + } + + + LOG_INFO("remote channel %u:%u %s%s #%u%s%s", + get_type(), get_id(), + severity, visibility, + notify->what, + message_prefix, message_str); + if (notify->message_len) { + delete [] message_str; + } +} + +void RedChannel::handle_wait_for_channels(RedPeer::InMessage* message) +{ + SpiceMsgWaitForChannels *wait = (SpiceMsgWaitForChannels *)message->data(); + if (message->size() < sizeof(*wait) + wait->wait_count * sizeof(wait->wait_list[0])) { + THROW("access violation"); + } + _client.wait_for_channels(wait->wait_count, wait->wait_list); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/red_channel.h b/tizen/distrib/remote/server/spice-0.12.2/client/red_channel.h new file mode 100644 index 0000000..3cf5160 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/red_channel.h @@ -0,0 +1,353 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_REDCHANNEL +#define _H_REDCHANNEL + +#include "common/client_demarshallers.h" +#include "common/client_marshallers.h" + +#include "common.h" +#include "utils.h" +#include "threads.h" +#include "red_peer.h" +#include "platform.h" +#include "process_loop.h" + +enum { + PASSIVE_STATE, + DISCONNECTED_STATE, + CONNECTING_STATE, + CONNECTED_STATE, + TERMINATED_STATE, +}; + +enum { + WAIT_ACTION, + CONNECT_ACTION, + DISCONNECT_ACTION, + QUIT_ACTION, +}; + +class RedClient; +class RedChannel; + +typedef std::vector<uint32_t> ChannelCaps; + +class RedChannelBase: public RedPeer { +public: + RedChannelBase(uint8_t type, uint8_t id, const ChannelCaps& common_caps, + const ChannelCaps& caps); + + virtual ~RedChannelBase(); + + uint8_t get_type() { return _type;} + uint8_t get_id() { return _id;} + + void connect(const ConnectionOptions& options, uint32_t connection_id, const char *host, + std::string password); + + const ChannelCaps& get_common_caps() { return _common_caps;} + const ChannelCaps& get_caps() {return _caps;} + + uint32_t get_peer_major() { return _remote_major;} + uint32_t get_peer_minor() { return _remote_minor;} + + virtual void swap(RedChannelBase* other); + +protected: + void set_common_capability(uint32_t cap); + void set_capability(uint32_t cap); + bool test_common_capability(uint32_t cap); + bool test_capability(uint32_t cap); + +private: + void set_capability(ChannelCaps& caps, uint32_t cap); + bool test_capability(const ChannelCaps& caps, uint32_t cap); + void link(uint32_t connection_id, const std::string& password, int protocol); + +private: + uint8_t _type; + uint8_t _id; + + ChannelCaps _common_caps; + ChannelCaps _caps; + + ChannelCaps _remote_common_caps; + ChannelCaps _remote_caps; + + uint32_t _remote_major; + uint32_t _remote_minor; +}; + +class SendTrigger: public EventSources::Trigger { +public: + SendTrigger(RedChannel& channel); + + virtual void on_event(); + +private: + RedChannel& _channel; +}; + +class AbortTrigger: public EventSources::Trigger { +public: + virtual void on_event(); +}; + +class MigrationDisconnectSrcEvent: public Event { +public: + virtual void response(AbstractProcessLoop& events_loop); +}; + +class MigrationConnectTargetEvent: public Event { +public: + virtual void response(AbstractProcessLoop& events_loop); +}; + +struct SyncInfo { + Mutex* lock; + Condition* condition; + uint64_t* message_serial; +}; + +class RedChannel: public RedChannelBase { +public: + class MessageHandler; + class OutMessage; + + RedChannel(RedClient& client, uint8_t type, uint8_t id, MessageHandler* handler, + Platform::ThreadPriority worker_priority = Platform::PRIORITY_NORMAL); + virtual ~RedChannel(); + void start(); + + virtual void connect(); + virtual void disconnect(); + virtual bool abort(); + + virtual void disconnect_migration_src(); + virtual void connect_migration_target(); + + virtual CompoundInMessage *receive(); + + virtual void post_message(RedChannel::OutMessage* message); + int get_connection_error() { return _error;} + Platform::ThreadPriority get_worker_priority() { return _worker_priority;} + +protected: + RedClient& get_client() { return _client;} + ProcessLoop& get_process_loop() { return _loop;} + MessageHandler* get_message_handler() { return _message_handler.get();} + virtual void on_connecting() {} + virtual void on_connect() {} + virtual void on_disconnect() {} + virtual void on_migrate() {} + virtual void on_disconnect_mig_src() { on_disconnect();} + virtual void on_connect_mig_target() { on_connect();} + void handle_migrate(RedPeer::InMessage* message); + void handle_set_ack(RedPeer::InMessage* message); + void handle_ping(RedPeer::InMessage* message); + void handle_wait_for_channels(RedPeer::InMessage* message); + void handle_disconnect(RedPeer::InMessage* message); + void handle_notify(RedPeer::InMessage* message); + + SpiceMessageMarshallers *_marshallers; + +private: + void set_state(int state); + void run(); + void send_migrate_flush_mark(); + void send_messages(); + void receive_messages(); + void on_send_trigger(); + virtual void on_event(); + void on_message_received(); + void on_message_complition(uint64_t serial); + void do_migration_disconnect_src(); + void do_migration_connect_target(); + + static void* worker_main(void *); + + RedChannel::OutMessage* get_outgoing_message(); + void clear_outgoing_messages(); + +private: + RedClient& _client; + int _state; + int _action; + int _error; + bool _wait_for_threads; + bool _socket_in_loop; + + Thread* _worker; + Platform::ThreadPriority _worker_priority; + std::auto_ptr<MessageHandler> _message_handler; + Mutex _state_lock; + Condition _state_cond; + Mutex _action_lock; + Condition _action_cond; + SyncInfo _sync_info; + + Mutex _outgoing_lock; + std::list<RedChannel::OutMessage*> _outgoing_messages; + RedChannel::OutMessage* _outgoing_message; + uint32_t _outgoing_pos; + + SpiceDataHeader _incomming_header; + uint32_t _incomming_header_pos; + RedPeer::CompoundInMessage* _incomming_message; + uint32_t _incomming_message_pos; + + uint32_t _message_ack_count; + uint32_t _message_ack_window; + + ProcessLoop _loop; + SendTrigger _send_trigger; + AbortTrigger _abort_trigger; + + uint64_t _disconnect_stamp; + uint64_t _disconnect_reason; + + friend class SendTrigger; + friend class MigrationDisconnectSrcEvent; + friend class MigrationConnectTargetEvent; +}; + + +class RedChannel::OutMessage { +public: + OutMessage() {} + virtual ~OutMessage() {} + + virtual RedPeer::OutMessage& peer_message() = 0; + virtual void release() = 0; +}; + +class Message: public RedChannel::OutMessage, public RedPeer::OutMessage { +public: + Message(uint32_t type) + : RedChannel::OutMessage() + , RedPeer::OutMessage(type) + { + } + + virtual RedPeer::OutMessage& peer_message() { return *this;} + virtual void release() {delete this;} +}; + + +class RedChannel::MessageHandler { +public: + MessageHandler() {} + virtual ~MessageHandler() {} + virtual void handle_message(RedPeer::CompoundInMessage& message) = 0; +}; + + +template <class HandlerClass, unsigned int channel_id> +class MessageHandlerImp: public RedChannel::MessageHandler { +public: + MessageHandlerImp(HandlerClass& obj); + ~MessageHandlerImp() { delete [] _handlers; }; + virtual void handle_message(RedPeer::CompoundInMessage& message); + typedef void (HandlerClass::*Handler)(RedPeer::InMessage* message); + void set_handler(unsigned int id, Handler handler); + +private: + HandlerClass& _obj; + unsigned int _max_messages; + spice_parse_channel_func_t _parser; + Handler *_handlers; +}; + +template <class HandlerClass, unsigned int channel_id> +MessageHandlerImp<HandlerClass, channel_id>::MessageHandlerImp(HandlerClass& obj) + : _obj (obj) + , _parser (NULL) +{ + /* max_messages is always from current as its larger than for backwards compat */ + spice_get_server_channel_parser(channel_id, &_max_messages); + _handlers = new Handler[_max_messages + 1]; + memset(_handlers, 0, sizeof(Handler) * (_max_messages + 1)); +} + +template <class HandlerClass, unsigned int channel_id> +void MessageHandlerImp<HandlerClass, channel_id>::handle_message(RedPeer::CompoundInMessage& + message) +{ + uint8_t *msg; + uint8_t *parsed; + uint16_t type; + uint32_t size; + size_t parsed_size; + message_destructor_t parsed_free; + + if (_parser == NULL) { + /* We need to do this lazily rather than at constuction because we + don't know the major until we've connected */ + if (_obj.get_peer_major() == 1) { + _parser = spice_get_server_channel_parser1(channel_id, NULL); + } else { + _parser = spice_get_server_channel_parser(channel_id, NULL); + } + } + + if (message.sub_list()) { + SpiceSubMessageList *sub_list; + sub_list = (SpiceSubMessageList *)(message.data() + message.sub_list()); + for (int i = 0; i < sub_list->size; i++) { + SpiceSubMessage *sub = (SpiceSubMessage *)(message.data() + sub_list->sub_messages[i]); + msg = (uint8_t *)(sub + 1); + type = sub->type; + size = sub->size; + parsed = _parser(msg, msg + size, type, _obj.get_peer_minor(), &parsed_size, &parsed_free); + + if (parsed == NULL) { + THROW("failed to parse message type %d", type); + } + + RedPeer::InMessage sub_message(type, parsed_size, parsed); + (_obj.*_handlers[type])(&sub_message); + + parsed_free(parsed); + } + } + + msg = message.data(); + type = message.type(); + size = message.size(); + parsed = _parser(msg, msg + size, type, _obj.get_peer_minor(), &parsed_size, &parsed_free); + + if (parsed == NULL) { + THROW("failed to parse message channel %d type %d", channel_id, type); + } + + RedPeer::InMessage main_message(type, parsed_size, parsed); + (_obj.*_handlers[type])(&main_message); + parsed_free(parsed); +} + +template <class HandlerClass, unsigned int channel_id> +void MessageHandlerImp<HandlerClass, channel_id>::set_handler(unsigned int id, Handler handler) +{ + if (id > _max_messages) { + THROW("bad handler id"); + } + _handlers[id] = handler; +} + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/red_client.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/red_client.cpp new file mode 100644 index 0000000..6a71291 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/red_client.cpp @@ -0,0 +1,1410 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <algorithm> +#include <math.h> +#include "common/client_marshallers.h" + +#include "common.h" +#include "red_client.h" +#include "application.h" +#include "process_loop.h" +#include "utils.h" +#include "debug.h" + +#ifndef INFINITY +#define INFINITY HUGE +#endif + +#ifdef __GNUC__ +typedef struct __attribute__ ((__packed__)) OldRedMigrationBegin { +#else +typedef struct __declspec(align(1)) OldRedMigrationBegin { +#endif + uint16_t port; + uint16_t sport; + char host[0]; +} OldRedMigrationBegin; + +class MouseModeEvent: public Event { +public: + MouseModeEvent(RedClient& client) + : _client (client) + { + } + + class SetModeFunc: public ForEachChannelFunc { + public: + SetModeFunc(bool capture_mode) + : _capture_mode (capture_mode) + { + } + + virtual bool operator() (RedChannel& channel) + { + if (channel.get_type() == SPICE_CHANNEL_DISPLAY) { + static_cast<DisplayChannel&>(channel).set_capture_mode(_capture_mode); + } + return true; + } + + public: + bool _capture_mode; + }; + + virtual void response(AbstractProcessLoop& events_loop) + { + bool capture_mode = _client.get_mouse_mode() == SPICE_MOUSE_MODE_SERVER; + if (!capture_mode) { + _client.get_application().release_mouse_capture(); + } + + SetModeFunc func(capture_mode); + _client.for_each_channel(func); + } + +private: + RedClient& _client; +}; + +uint32_t default_agent_caps[] = { + (1 << VD_AGENT_CAP_MOUSE_STATE) | + (1 << VD_AGENT_CAP_MONITORS_CONFIG) | + (1 << VD_AGENT_CAP_REPLY) + }; + +void ClipboardGrabEvent::response(AbstractProcessLoop& events_loop) +{ + static_cast<RedClient*>(events_loop.get_owner())->send_agent_clipboard_message( + VD_AGENT_CLIPBOARD_GRAB, _type_count * sizeof(uint32_t), _types); + Platform::set_clipboard_owner(Platform::owner_client); +} + +void ClipboardRequestEvent::response(AbstractProcessLoop& events_loop) +{ + if (Platform::get_clipboard_owner() != Platform::owner_guest) { + LOG_WARN("received clipboard req from client while clipboard is not owned by guest"); + Platform::on_clipboard_notify(VD_AGENT_CLIPBOARD_NONE, NULL, 0); + return; + } + + VDAgentClipboardRequest request = {_type}; + static_cast<RedClient*>(events_loop.get_owner())->send_agent_clipboard_message( + VD_AGENT_CLIPBOARD_REQUEST, sizeof(request), &request); +} + +void ClipboardNotifyEvent::response(AbstractProcessLoop& events_loop) +{ + static_cast<RedClient*>(events_loop.get_owner())->send_agent_clipboard_notify_message( + _type, _data, _size); +} + +void ClipboardReleaseEvent::response(AbstractProcessLoop& events_loop) +{ + if (Platform::get_clipboard_owner() != Platform::owner_client) + return; + + static_cast<RedClient*>(events_loop.get_owner())->send_agent_clipboard_message( + VD_AGENT_CLIPBOARD_RELEASE, 0, NULL); +} + +void MigrateEndEvent::response(AbstractProcessLoop& events_loop) +{ + static_cast<RedClient*>(events_loop.get_owner())->send_migrate_end(); +} + +Migrate::Migrate(RedClient& client) + : _client (client) + , _running (false) + , _aborting (false) + , _connected (false) + , _thread (NULL) + , _pending_con (0) + , _protocol (0) +{ +} + +Migrate::~Migrate() +{ + ASSERT(!_thread); + delete_channels(); +} + +void Migrate::delete_channels() +{ + while (!_channels.empty()) { + MigChannels::iterator iter = _channels.begin(); + delete *iter; + _channels.erase(iter); + } +} + +void Migrate::clear_channels() +{ + Lock lock(_lock); + ASSERT(!_running); + delete_channels(); +} + +void Migrate::add_channel(MigChannel* channel) +{ + Lock lock(_lock); + _channels.push_back(channel); +} + +void Migrate::swap_peer(RedChannelBase& other) +{ + DBG(0, "channel type %u id %u", other.get_type(), other.get_id()); + try { + Lock lock(_lock); + MigChannels::iterator iter = _channels.begin(); + + if (_running) { + THROW("swap and running"); + } + + if (!_connected) { + THROW("not connected"); + } + + for (; iter != _channels.end(); ++iter) { + MigChannel* curr = *iter; + if (curr->get_type() == other.get_type() && curr->get_id() == other.get_id()) { + if (!curr->is_valid()) { + THROW("invalid"); + } + other.swap(curr); + curr->set_valid(false); + if (!--_pending_con) { + lock.unlock(); + _client.set_target(_host.c_str(), _port, _sport, _protocol); + abort(); + } + return; + } + } + THROW("no channel"); + } catch (...) { + abort(); + throw; + } +} + +void Migrate::connect_one(MigChannel& channel, const RedPeer::ConnectionOptions& options, + uint32_t connection_id) +{ + if (_aborting) { + DBG(0, "aborting"); + THROW("aborting"); + } + channel.connect(options, connection_id, _host.c_str(), _password); + ++_pending_con; + channel.set_valid(true); + if (_protocol == 0) { + if (channel.get_peer_major() == 1) { + _protocol = 1; + } else { + _protocol = 2; + } + } +} + +void Migrate::run() +{ + uint32_t connection_id; + RedPeer::ConnectionOptions::Type conn_type; + + DBG(0, ""); + try { + conn_type = _client.get_connection_options(SPICE_CHANNEL_MAIN); + RedPeer::ConnectionOptions con_opt(conn_type, _port, _sport, + _client.get_protocol(), + _auth_options, _con_ciphers); + MigChannels::iterator iter = _channels.begin(); + connection_id = _client.get_connection_id(); + connect_one(**iter, con_opt, connection_id); + + for (++iter; iter != _channels.end(); ++iter) { + conn_type = _client.get_connection_options((*iter)->get_type()); + con_opt = RedPeer::ConnectionOptions(conn_type, _port, _sport, + _protocol, + _auth_options, _con_ciphers); + connect_one(**iter, con_opt, connection_id); + } + _connected = true; + DBG(0, "connected"); + } catch (...) { + close_channels(); + } + + Lock lock(_lock); + _cond.notify_one(); + if (_connected) { + Message* message = new Message(SPICE_MSGC_MAIN_MIGRATE_CONNECTED); + _client.post_message(message); + } else { + Message* message = new Message(SPICE_MSGC_MAIN_MIGRATE_CONNECT_ERROR); + _client.post_message(message); + } + _running = false; +} + +void* Migrate::worker_main(void *data) +{ + Migrate* mig = (Migrate*)data; + mig->run(); + return NULL; +} + +void Migrate::start(const SpiceMsgMainMigrationBegin* migrate) +{ + uint32_t peer_major; + uint32_t peer_minor; + + DBG(0, ""); + abort(); + peer_major = _client.get_peer_major(); + peer_minor = _client.get_peer_minor(); + if ((peer_major == 1) && (peer_minor < 1)) { + LOG_INFO("server minor version incompatible for destination authentication" + "(missing dest pubkey in SpiceMsgMainMigrationBegin)"); + OldRedMigrationBegin* old_migrate = (OldRedMigrationBegin*)migrate; + _host.assign(old_migrate->host); + _port = old_migrate->port ? old_migrate->port : -1; + _sport = old_migrate->sport ? old_migrate->sport : -1;; + _auth_options = _client.get_host_auth_options(); + } else { + _host.assign((char *)migrate->dst_info.host_data); + _port = migrate->dst_info.port ? migrate->dst_info.port : -1; + _sport = migrate->dst_info.sport ? migrate->dst_info.sport : -1; + if ((peer_major == 1) || (peer_major == 2 && peer_minor < 1)) { + _auth_options.type_flags = SPICE_SSL_VERIFY_OP_PUBKEY; + _auth_options.host_pubkey.assign(migrate->dst_info.pub_key_data, migrate->dst_info.pub_key_data + + migrate->dst_info.pub_key_size); + } else { + _auth_options.type_flags = SPICE_SSL_VERIFY_OP_SUBJECT; + _auth_options.CA_file = _client.get_host_auth_options().CA_file; + if (migrate->dst_info.cert_subject_size != 0) { + _auth_options.host_subject.assign(migrate->dst_info.cert_subject_data, + migrate->dst_info.cert_subject_data + + migrate->dst_info.cert_subject_size); + } + } + } + + _con_ciphers = _client.get_connection_ciphers(); + _password = _client._password; + Lock lock(_lock); + _running = true; + lock.unlock(); + _thread = new Thread(Migrate::worker_main, this); +} + +void Migrate::disconnect_channels() +{ + MigChannels::iterator iter = _channels.begin(); + + for (; iter != _channels.end(); ++iter) { + (*iter)->disconnect(); + (*iter)->set_valid(false); + } +} + +void Migrate::close_channels() +{ + MigChannels::iterator iter = _channels.begin(); + + for (; iter != _channels.end(); ++iter) { + (*iter)->close(); + (*iter)->set_valid(false); + (*iter)->enable(); + } +} + +bool Migrate::abort() +{ + Lock lock(_lock); + if (_aborting) { + return false; + } + _aborting = true; + for (;;) { + disconnect_channels(); + if (!_running) { + break; + } + uint64_t timout = 1000 * 1000 * 10; /*10ms*/ + _cond.timed_wait(lock, timout); + } + close_channels(); + _pending_con = 0; + _connected = false; + _aborting = false; + if (_thread) { + _thread->join(); + delete _thread; + _thread = NULL; + } + return true; +} + +#define AGENT_TIMEOUT (1000 * 30) + +void AgentTimer::response(AbstractProcessLoop& events_loop) +{ + Application* app = static_cast<Application*>(events_loop.get_owner()); + app->deactivate_interval_timer(this); + + LOG_WARN("timeout while waiting for agent response"); + _client->send_main_attach_channels(); +} + +class MainChannelLoop: public MessageHandlerImp<RedClient, SPICE_CHANNEL_MAIN> { +public: + MainChannelLoop(RedClient& client): MessageHandlerImp<RedClient, SPICE_CHANNEL_MAIN>(client) {} +}; + +RedClient::RedClient(Application& application) + : RedChannel(*this, SPICE_CHANNEL_MAIN, 0, new MainChannelLoop(*this)) + , _application (application) + , _port (-1) + , _sport (-1) + , _protocol (0) + , _connection_id (0) + , _mouse_mode (SPICE_MOUSE_MODE_SERVER) + , _notify_disconnect (false) + , _auto_display_res (false) + , _agent_reply_wait_type (VD_AGENT_END_MESSAGE) + , _aborting (false) + , _msg_attach_channels_sent(false) + , _agent_connected (false) + , _agent_mon_config_sent (false) + , _agent_disp_config_sent (false) + , _agent_msg (new VDAgentMessage) + , _agent_msg_data (NULL) + , _agent_msg_pos (0) + , _agent_out_msg (NULL) + , _agent_out_msg_size (0) + , _agent_out_msg_pos (0) + , _agent_tokens (0) + , _agent_timer (new AgentTimer(this)) + , _agent_caps_size(0) + , _agent_caps(NULL) + , _migrate (*this) + , _glz_window (_glz_debug) + , _during_migration (false) +{ + Platform::set_clipboard_listener(this); + MainChannelLoop* message_loop = static_cast<MainChannelLoop*>(get_message_handler()); + uint32_t default_caps_size = SPICE_N_ELEMENTS(default_agent_caps); + + _agent_caps_size = VD_AGENT_CAPS_SIZE; + ASSERT(VD_AGENT_CAPS_SIZE >= default_caps_size); + _agent_caps = new uint32_t[_agent_caps_size]; + memcpy(_agent_caps, default_agent_caps, default_caps_size); + message_loop->set_handler(SPICE_MSG_MIGRATE, &RedClient::handle_migrate); + message_loop->set_handler(SPICE_MSG_SET_ACK, &RedClient::handle_set_ack); + message_loop->set_handler(SPICE_MSG_PING, &RedClient::handle_ping); + message_loop->set_handler(SPICE_MSG_WAIT_FOR_CHANNELS, &RedClient::handle_wait_for_channels); + message_loop->set_handler(SPICE_MSG_DISCONNECTING, &RedClient::handle_disconnect); + message_loop->set_handler(SPICE_MSG_NOTIFY, &RedClient::handle_notify); + + message_loop->set_handler(SPICE_MSG_MAIN_MIGRATE_BEGIN, &RedClient::handle_migrate_begin); + message_loop->set_handler(SPICE_MSG_MAIN_MIGRATE_CANCEL, &RedClient::handle_migrate_cancel); + message_loop->set_handler(SPICE_MSG_MAIN_MIGRATE_END, &RedClient::handle_migrate_end); + message_loop->set_handler(SPICE_MSG_MAIN_MIGRATE_SWITCH_HOST, + &RedClient::handle_migrate_switch_host); + message_loop->set_handler(SPICE_MSG_MAIN_INIT, &RedClient::handle_init); + message_loop->set_handler(SPICE_MSG_MAIN_CHANNELS_LIST, &RedClient::handle_channels); + message_loop->set_handler(SPICE_MSG_MAIN_MOUSE_MODE, &RedClient::handle_mouse_mode); + message_loop->set_handler(SPICE_MSG_MAIN_MULTI_MEDIA_TIME, &RedClient::handle_mm_time); + + message_loop->set_handler(SPICE_MSG_MAIN_AGENT_CONNECTED, &RedClient::handle_agent_connected); + message_loop->set_handler(SPICE_MSG_MAIN_AGENT_DISCONNECTED, &RedClient::handle_agent_disconnected); + message_loop->set_handler(SPICE_MSG_MAIN_AGENT_DATA, &RedClient::handle_agent_data); + message_loop->set_handler(SPICE_MSG_MAIN_AGENT_TOKEN, &RedClient::handle_agent_tokens); + + set_capability(SPICE_MAIN_CAP_SEMI_SEAMLESS_MIGRATE); + start(); +} + +RedClient::~RedClient() +{ + ASSERT(_channels.empty()); + _application.deactivate_interval_timer(*_agent_timer); + delete _agent_msg; + delete[] _agent_caps; +} + +void RedClient::set_target(const std::string& host, int port, int sport, int protocol) +{ + if (protocol != get_protocol()) { + LOG_INFO("old protocol %d, new protocol %d", get_protocol(), protocol); + } + + _port = port; + _sport = sport; + _host.assign(host); + set_protocol(protocol); +} + +void RedClient::push_event(Event* event) +{ + _application.push_event(event); +} + +void RedClient::activate_interval_timer(Timer* timer, unsigned int millisec) +{ + _application.activate_interval_timer(timer, millisec); +} + +void RedClient::deactivate_interval_timer(Timer* timer) +{ + _application.deactivate_interval_timer(timer); +} + +void RedClient::on_connecting() +{ + _notify_disconnect = true; +} + +void RedClient::on_connect() +{ + AutoRef<ConnectedEvent> event(new ConnectedEvent()); + push_event(*event); + _migrate.add_channel(new MigChannel(SPICE_CHANNEL_MAIN, 0, get_common_caps(), + get_caps())); +} + +void RedClient::on_disconnect() +{ + _migrate.abort(); + _connection_id = 0; + _application.deactivate_interval_timer(*_agent_timer); + // todo: if migration remains not seemless, we shouldn't + // resend monitors and display setting to the agent + _agent_mon_config_sent = false; + _agent_disp_config_sent = false; + delete[] _agent_msg_data; + _agent_msg_data = NULL; + _agent_msg_pos = 0; + _agent_tokens = 0; + AutoRef<SyncEvent> sync_event(new SyncEvent()); + get_client().push_event(*sync_event); + (*sync_event)->wait(); +} + +void RedClient::on_disconnect_mig_src() +{ + _application.deactivate_interval_timer(*_agent_timer); + delete[] _agent_msg_data; + _agent_msg_data = NULL; + _agent_msg_pos = 0; + _agent_tokens = 0; +} + +void RedClient::delete_channels() +{ + Lock lock(_channels_lock); + _pending_mig_disconnect_channels.clear(); + while (!_channels.empty()) { + RedChannel *channel = *_channels.begin(); + _channels.pop_front(); + delete channel; + } +} + +void RedClient::for_each_channel(ForEachChannelFunc& func) +{ + Lock lock(_channels_lock); + Channels::iterator iter = _channels.begin(); + for (; iter != _channels.end() && func(**iter) ;iter++); +} + + +void RedClient::on_mouse_capture_trigger(RedScreen& screen) +{ + _application.capture_mouse(); +} + +RedPeer::ConnectionOptions::Type RedClient::get_connection_options(uint32_t channel_type) +{ + return _con_opt_map[channel_type]; +} + +void RedClient::connect() +{ + connect(false); +} + +void RedClient::connect(bool wait_main_disconnect) +{ + // assumption: read _connection_id is atomic + if (_connection_id) { + if (!wait_main_disconnect) { + return; + } + } + + while (!abort_channels() || _connection_id) { + _application.process_events_queue(); + Platform::msleep(100); + } + + _pixmap_cache.clear(); + _glz_window.clear(); + memset(_sync_info, 0, sizeof(_sync_info)); + _aborting = false; + _migrate.clear_channels(); + delete_channels(); + enable(); + + _con_opt_map.clear(); + PeerConnectionOptMap::const_iterator iter = _application.get_con_opt_map().begin(); + PeerConnectionOptMap::const_iterator end = _application.get_con_opt_map().end(); + for (; iter != end; iter++) { + _con_opt_map[(*iter).first] = (*iter).second; + } + + _host_auth_opt = _application.get_host_auth_opt(); + _con_ciphers = _application.get_connection_ciphers(); + RedChannel::connect(); +} + +void RedClient::disconnect() +{ + _migrate.abort(); + _msg_attach_channels_sent = false; + RedChannel::disconnect(); +} + +void RedClient::disconnect_channels() +{ + Lock lock(_channels_lock); + Channels::iterator iter = _channels.begin(); + for (; iter != _channels.end(); ++iter) { + (*iter)->RedPeer::disconnect(); + } +} + +void RedClient::on_channel_disconnected(RedChannel& channel) +{ + Lock lock(_notify_lock); + if (_notify_disconnect) { + _notify_disconnect = false; + int connection_error = channel.get_connection_error(); + AutoRef<DisconnectedEvent> disconn_event(new DisconnectedEvent(connection_error)); + push_event(*disconn_event); + } + disconnect_channels(); + RedPeer::disconnect(); +} + +bool RedClient::abort_channels() +{ + Lock lock(_channels_lock); + Channels::iterator iter = _channels.begin(); + + for (; iter != _channels.end(); ++iter) { + if (!(*iter)->abort()) { + return false; + } + } + return true; +} + +bool RedClient::abort() +{ + if (!_aborting) { + Platform::set_clipboard_listener(NULL); + Lock lock(_sync_lock); + _aborting = true; + _sync_condition.notify_all(); + } + _pixmap_cache.abort(); + _glz_window.abort(); + if (RedChannel::abort() && abort_channels()) { + delete_channels(); + _migrate.abort(); + return true; + } else { + return false; + } +} + +void RedClient::handle_migrate_begin(RedPeer::InMessage* message) +{ + LOG_INFO(""); + SpiceMsgMainMigrationBegin* migrate = (SpiceMsgMainMigrationBegin*)message->data(); + //add mig channels + _migrate.start(migrate); +} + +void RedClient::handle_migrate_cancel(RedPeer::InMessage* message) +{ + LOG_INFO(""); + _migrate.abort(); +} + +void RedClient::handle_migrate_end(RedPeer::InMessage* message) +{ + LOG_INFO(""); + + Lock lock(_channels_lock); + ASSERT(_pending_mig_disconnect_channels.empty()); + Channels::iterator iter = _channels.begin(); + for (; iter != _channels.end(); ++iter) { + (*iter)->disconnect_migration_src(); + _pending_mig_disconnect_channels.push_back(*iter); + } + RedChannel::disconnect_migration_src(); + _pending_mig_disconnect_channels.push_back(this); + _during_migration = true; +} + +void RedClient::on_channel_disconnect_mig_src_completed(RedChannel& channel) +{ + Lock lock(_channels_lock); + Channels::iterator pending_iter = std::find(_pending_mig_disconnect_channels.begin(), + _pending_mig_disconnect_channels.end(), + &channel); + + LOG_INFO(""); + if (pending_iter == _pending_mig_disconnect_channels.end()) { + THROW("unexpected channel"); + } + + _pending_mig_disconnect_channels.erase(pending_iter); + /* clean shared data when all channels have disconnected */ + if (_pending_mig_disconnect_channels.empty()) { + _pixmap_cache.clear(); + _glz_window.clear(); + memset(_sync_info, 0, sizeof(_sync_info)); + LOG_INFO("calling main to connect and wait for handle_init to tell all the other channels to connect"); + RedChannel::connect_migration_target(); + AutoRef<MigrateEndEvent> mig_end_event(new MigrateEndEvent()); + get_process_loop().push_event(*mig_end_event); + } +} + +void RedClient::send_migrate_end() +{ + Message* message = new Message(SPICE_MSGC_MAIN_MIGRATE_END); + post_message(message); +} + +ChannelFactory* RedClient::find_factory(uint32_t type) +{ + Factorys::iterator iter = _factorys.begin(); + for (; iter != _factorys.end(); ++iter) { + if ((*iter)->type() == type) { + return *iter; + } + } + LOG_WARN("no factory for %u", type); + return NULL; +} + +void RedClient::create_channel(uint32_t type, uint32_t id) +{ + ChannelFactory* factory = find_factory(type); + if (!factory) { + return; + } + RedChannel* channel = factory->construct(*this, id); + ASSERT(channel); + Lock lock(_channels_lock); + _channels.push_back(channel); + channel->start(); + channel->connect(); + _migrate.add_channel(new MigChannel(type, id, channel->get_common_caps(), channel->get_caps())); +} + +void RedClient::send_agent_monitors_config() +{ + AutoRef<MonitorsQuery > qury(new MonitorsQuery()); + push_event(*qury); + (*qury)->wait(); + if (!(*qury)->success()) { + THROW(" monitors query failed"); + } + + double min_distance = INFINITY; + int dx = 0; + int dy = 0; + int i; + + std::vector<MonitorInfo>& monitors = (*qury)->get_monitors(); + std::vector<MonitorInfo>::iterator iter = monitors.begin(); + for (; iter != monitors.end(); iter++) { + double distance = sqrt(pow((double)(*iter).position.x, 2) + pow((double)(*iter).position.y, + 2)); + if (distance < min_distance) { + min_distance = distance; + dx = -(*iter).position.x; + dy = -(*iter).position.y; + } + } + + Message* message = new Message(SPICE_MSGC_MAIN_AGENT_DATA); + VDAgentMessage* msg = (VDAgentMessage*) + spice_marshaller_reserve_space(message->marshaller(), sizeof(VDAgentMessage)); + msg->protocol = VD_AGENT_PROTOCOL; + msg->type = VD_AGENT_MONITORS_CONFIG; + msg->opaque = 0; + msg->size = sizeof(VDAgentMonitorsConfig) + monitors.size() * sizeof(VDAgentMonConfig); + + VDAgentMonitorsConfig* mon_config = (VDAgentMonitorsConfig*) + spice_marshaller_reserve_space(message->marshaller(), + sizeof(VDAgentMonitorsConfig) + monitors.size() * sizeof(VDAgentMonConfig)); + mon_config->num_of_monitors = monitors.size(); + mon_config->flags = 0; + if (Platform::is_monitors_pos_valid()) { + mon_config->flags = VD_AGENT_CONFIG_MONITORS_FLAG_USE_POS; + } + for (iter = monitors.begin(), i = 0; iter != monitors.end(); iter++, i++) { + mon_config->monitors[i].depth = (*iter).depth; + mon_config->monitors[i].width = (*iter).size.x; + mon_config->monitors[i].height = (*iter).size.y; + mon_config->monitors[i].x = (*iter).position.x + dx; + mon_config->monitors[i].y = (*iter).position.y + dy; + } + ASSERT(_agent_tokens) + _agent_tokens--; + post_message(message); + _agent_mon_config_sent = true; + _agent_reply_wait_type = VD_AGENT_MONITORS_CONFIG; +} + +void RedClient::send_agent_announce_capabilities(bool request) +{ + Message* message = new Message(SPICE_MSGC_MAIN_AGENT_DATA); + VDAgentMessage* msg = (VDAgentMessage*) + spice_marshaller_reserve_space(message->marshaller(), + sizeof(VDAgentMessage)); + VDAgentAnnounceCapabilities* caps; + + msg->protocol = VD_AGENT_PROTOCOL; + msg->type = VD_AGENT_ANNOUNCE_CAPABILITIES; + msg->opaque = 0; + msg->size = sizeof(VDAgentAnnounceCapabilities) + VD_AGENT_CAPS_BYTES; + + caps = (VDAgentAnnounceCapabilities*) + spice_marshaller_reserve_space(message->marshaller(), msg->size); + + caps->request = request; + memset(caps->caps, 0, VD_AGENT_CAPS_BYTES); + VD_AGENT_SET_CAPABILITY(caps->caps, VD_AGENT_CAP_MOUSE_STATE); + VD_AGENT_SET_CAPABILITY(caps->caps, VD_AGENT_CAP_MONITORS_CONFIG); + VD_AGENT_SET_CAPABILITY(caps->caps, VD_AGENT_CAP_REPLY); + VD_AGENT_SET_CAPABILITY(caps->caps, VD_AGENT_CAP_DISPLAY_CONFIG); + VD_AGENT_SET_CAPABILITY(caps->caps, VD_AGENT_CAP_CLIPBOARD_BY_DEMAND); + ASSERT(_agent_tokens) + _agent_tokens--; + post_message(message); +} + +void RedClient::send_agent_display_config() +{ + Message* message = new Message(SPICE_MSGC_MAIN_AGENT_DATA); + VDAgentMessage* msg = (VDAgentMessage*) + spice_marshaller_reserve_space(message->marshaller(), sizeof(VDAgentMessage)); + VDAgentDisplayConfig* disp_config; + + DBG(0,""); + msg->protocol = VD_AGENT_PROTOCOL; + msg->type = VD_AGENT_DISPLAY_CONFIG; + msg->opaque = 0; + msg->size = sizeof(VDAgentDisplayConfig); + + disp_config = (VDAgentDisplayConfig*) + spice_marshaller_reserve_space(message->marshaller(), sizeof(VDAgentDisplayConfig)); + + disp_config->flags = 0; + disp_config->depth = 0; + if (_display_setting._disable_wallpaper) { + disp_config->flags |= VD_AGENT_DISPLAY_CONFIG_FLAG_DISABLE_WALLPAPER; + } + + if (_display_setting._disable_font_smooth) { + disp_config->flags |= VD_AGENT_DISPLAY_CONFIG_FLAG_DISABLE_FONT_SMOOTH; + } + + if (_display_setting._disable_animation) { + disp_config->flags |= VD_AGENT_DISPLAY_CONFIG_FLAG_DISABLE_ANIMATION; + } + + if (_display_setting._set_color_depth) { + disp_config->flags |= VD_AGENT_DISPLAY_CONFIG_FLAG_SET_COLOR_DEPTH; + disp_config->depth = _display_setting._color_depth; + } + + ASSERT(_agent_tokens) + _agent_tokens--; + post_message(message); + _agent_disp_config_sent = true; + + if (!_display_setting.is_empty()) { + _agent_reply_wait_type = VD_AGENT_DISPLAY_CONFIG; + } +} + +#define MIN_DISPLAY_PIXMAP_CACHE (1024 * 1024 * 20) +#define MAX_DISPLAY_PIXMAP_CACHE (1024 * 1024 * 80) +#define MIN_MEM_FOR_OTHERS (1024 * 1024 * 40) + +// tmp till the pci mem will be shared by the qxls +#define MIN_GLZ_WINDOW_SIZE (1024 * 1024 * 12) +#define MAX_GLZ_WINDOW_SIZE MIN((LZ_MAX_WINDOW_SIZE * 4), 1024 * 1024 * 64) + +void RedClient::calc_pixmap_cach_and_glz_window_size(uint32_t display_channels_hint, + uint32_t pci_mem_hint) +{ +#ifdef WIN32 + display_channels_hint = MAX(1, display_channels_hint); + uint64_t max_cache_size = display_channels_hint * MAX_DISPLAY_PIXMAP_CACHE; + uint64_t min_cache_size = display_channels_hint * MIN_DISPLAY_PIXMAP_CACHE; + + MEMORYSTATUSEX mem_status; + mem_status.dwLength = sizeof(mem_status); + + if (!GlobalMemoryStatusEx(&mem_status)) { + THROW("get mem status failed %u", GetLastError()); + } + + //ullTotalPageFile is physical memory plus the size of the page file, minus a small overhead + uint64_t free_mem = mem_status.ullAvailPageFile; + if (free_mem < (min_cache_size + MIN_MEM_FOR_OTHERS + MIN_GLZ_WINDOW_SIZE)) { + THROW_ERR(SPICEC_ERROR_CODE_NOT_ENOUGH_MEMORY, "low memory condition"); + } + free_mem -= MIN_MEM_FOR_OTHERS; + _glz_window_size = MIN(MAX_GLZ_WINDOW_SIZE, pci_mem_hint / 2); + _glz_window_size = (int)MIN(free_mem / 3, _glz_window_size); + _glz_window_size = MAX(MIN_GLZ_WINDOW_SIZE, _glz_window_size); + free_mem -= _glz_window_size; + _pixmap_cache_size = MIN(free_mem, mem_status.ullAvailVirtual); + _pixmap_cache_size = MIN(free_mem, max_cache_size); +#else + //for now + _glz_window_size = (int)MIN(MAX_GLZ_WINDOW_SIZE, pci_mem_hint / 2); + _glz_window_size = MAX(MIN_GLZ_WINDOW_SIZE, _glz_window_size); + _pixmap_cache_size = MAX_DISPLAY_PIXMAP_CACHE; +#endif + + _pixmap_cache_size /= 4; + _glz_window_size /= 4; +} + +void RedClient::on_display_mode_change() +{ +#ifdef USE_OPENGL + Lock lock(_channels_lock); + Channels::iterator iter = _channels.begin(); + for (; iter != _channels.end(); ++iter) { + if ((*iter)->get_type() == SPICE_CHANNEL_DISPLAY) { + ((DisplayChannel *)(*iter))->recreate_ogl_context(); + } + } +#endif +} + +void RedClient::do_send_agent_clipboard() +{ + uint32_t size; + + while (_agent_tokens && + (size = MIN(VD_AGENT_MAX_DATA_SIZE, + _agent_out_msg_size - _agent_out_msg_pos))) { + Message* message = new Message(SPICE_MSGC_MAIN_AGENT_DATA); + void* data = spice_marshaller_reserve_space(message->marshaller(), size); + memcpy(data, (uint8_t*)_agent_out_msg + _agent_out_msg_pos, size); + _agent_tokens--; + post_message(message); + _agent_out_msg_pos += size; + if (_agent_out_msg_pos == _agent_out_msg_size) { + delete[] (uint8_t *)_agent_out_msg; + _agent_out_msg = NULL; + _agent_out_msg_size = 0; + _agent_out_msg_pos = 0; + } + } +} + +void RedClient::send_agent_clipboard_message(uint32_t message_type, uint32_t size, void* data) +{ + if (!_agent_connected) + return; + + if (!VD_AGENT_HAS_CAPABILITY(_agent_caps, _agent_caps_size, + VD_AGENT_CAP_CLIPBOARD_BY_DEMAND)) + return; + + Message* message = new Message(SPICE_MSGC_MAIN_AGENT_DATA); + VDAgentMessage* msg = (VDAgentMessage*) + spice_marshaller_reserve_space(message->marshaller(), sizeof(VDAgentMessage) + size); + msg->protocol = VD_AGENT_PROTOCOL; + msg->type = message_type; + msg->opaque = 0; + msg->size = size; + if (size && data) { + memcpy(msg->data, data, size); + } + ASSERT(_agent_tokens) + _agent_tokens--; + post_message(message); +} + +void RedClient::on_clipboard_grab(uint32_t *types, uint32_t type_count) +{ + AutoRef<ClipboardGrabEvent> event(new ClipboardGrabEvent(types, type_count)); + get_process_loop().push_event(*event); +} + +void RedClient::on_clipboard_request(uint32_t type) +{ + AutoRef<ClipboardRequestEvent> event(new ClipboardRequestEvent(type)); + get_process_loop().push_event(*event); +} + +void RedClient::on_clipboard_notify(uint32_t type, uint8_t* data, int32_t size) +{ + AutoRef<ClipboardNotifyEvent> event(new ClipboardNotifyEvent(type, data, size)); + get_process_loop().push_event(*event); +} + +void RedClient::on_clipboard_release() +{ + AutoRef<ClipboardReleaseEvent> event(new ClipboardReleaseEvent()); + get_process_loop().push_event(*event); +} + +void RedClient::send_agent_clipboard_notify_message(uint32_t type, uint8_t *data, uint32_t size) +{ + ASSERT(data || !size); + if (!_agent_connected) { + return; + } + if (!VD_AGENT_HAS_CAPABILITY(_agent_caps, _agent_caps_size, + VD_AGENT_CAP_CLIPBOARD_BY_DEMAND)) + return; + if (_agent_out_msg) { + DBG(0, "clipboard change is already pending"); + return; + } + if (Platform::get_clipboard_owner() != Platform::owner_client) { + LOG_WARN("received clipboard data from client while clipboard is not owned by client"); + type = VD_AGENT_CLIPBOARD_NONE; + size = 0; + } + _agent_out_msg_pos = 0; + _agent_out_msg_size = sizeof(VDAgentMessage) + sizeof(VDAgentClipboard) + size; + _agent_out_msg = (VDAgentMessage*)new uint8_t[_agent_out_msg_size]; + _agent_out_msg->protocol = VD_AGENT_PROTOCOL; + _agent_out_msg->type = VD_AGENT_CLIPBOARD; + _agent_out_msg->opaque = 0; + _agent_out_msg->size = sizeof(VDAgentClipboard) + size; + VDAgentClipboard* clipboard = (VDAgentClipboard*)_agent_out_msg->data; + clipboard->type = type; + memcpy(clipboard->data, data, size); + if (_agent_tokens) { + do_send_agent_clipboard(); + } +} + +void RedClient::set_mouse_mode(uint32_t supported_modes, uint32_t current_mode) +{ + if (current_mode != _mouse_mode) { + _mouse_mode = current_mode; + Lock lock(_channels_lock); + Channels::iterator iter = _channels.begin(); + for (; iter != _channels.end(); ++iter) { + if ((*iter)->get_type() == SPICE_CHANNEL_CURSOR) { + ((CursorChannel *)(*iter))->on_mouse_mode_change(); + } + } + AutoRef<MouseModeEvent> event(new MouseModeEvent(*this)); + push_event(*event); + } + // FIXME: use configured mouse mode (currently, use client mouse mode if supported by server) + if ((supported_modes & SPICE_MOUSE_MODE_CLIENT) && (current_mode != SPICE_MOUSE_MODE_CLIENT)) { + Message* message = new Message(SPICE_MSGC_MAIN_MOUSE_MODE_REQUEST); + SpiceMsgcMainMouseModeRequest mouse_mode_request; + mouse_mode_request.mode = SPICE_MOUSE_MODE_CLIENT; + _marshallers->msgc_main_mouse_mode_request(message->marshaller(), + &mouse_mode_request); + + post_message(message); + } +} + +/* returns true if we should wait for a response from the agent */ +bool RedClient::init_guest_display() +{ + if (_agent_connected) { + if (_auto_display_res) { + send_agent_monitors_config(); + } + + if (_auto_display_res || !_display_setting.is_empty()) { + _application.activate_interval_timer(*_agent_timer, AGENT_TIMEOUT); + } else { + return false; + } + } else { + if (_auto_display_res || !_display_setting.is_empty()) { + LOG_WARN("no agent running, display options have been ignored"); + } + return false; + } + return true; +} + +void RedClient::handle_init(RedPeer::InMessage* message) +{ + SpiceMsgMainInit *init = (SpiceMsgMainInit *)message->data(); + LOG_INFO(""); + _connection_id = init->session_id; + set_mm_time(init->multi_media_time); + if (!_during_migration) { + calc_pixmap_cach_and_glz_window_size(init->display_channels_hint, init->ram_hint); + } + set_mouse_mode(init->supported_mouse_modes, init->current_mouse_mode); + _agent_tokens = init->agent_tokens; + _agent_connected = !!init->agent_connected; + if (_agent_connected) { + Message* msg = new Message(SPICE_MSGC_MAIN_AGENT_START); + SpiceMsgcMainAgentStart agent_start; + agent_start.num_tokens = ~0; + _marshallers->msgc_main_agent_start(msg->marshaller(), &agent_start); + post_message(msg); + send_agent_announce_capabilities(true); + } + + if (!_during_migration) { + if (!init_guest_display()) { + send_main_attach_channels(); + } + } else { + LOG_INFO("connecting all channels after migration"); + Channels::iterator iter = _channels.begin(); + for (; iter != _channels.end(); ++iter) { + (*iter)->connect_migration_target(); + } + _during_migration = false; + } +} + +void RedClient::handle_channels(RedPeer::InMessage* message) +{ + SpiceMsgChannels *init = (SpiceMsgChannels *)message->data(); + SpiceChannelId* channels = init->channels; + for (unsigned int i = 0; i < init->num_of_channels; i++) { + create_channel(channels[i].type, channels[i].id); + } +} + +void RedClient::handle_mouse_mode(RedPeer::InMessage* message) +{ + SpiceMsgMainMouseMode *mouse_mode = (SpiceMsgMainMouseMode *)message->data(); + set_mouse_mode(mouse_mode->supported_modes, mouse_mode->current_mode); +} + +void RedClient::handle_mm_time(RedPeer::InMessage* message) +{ + SpiceMsgMainMultiMediaTime *mm_time = (SpiceMsgMainMultiMediaTime *)message->data(); + set_mm_time(mm_time->time); +} + +void RedClient::handle_agent_connected(RedPeer::InMessage* message) +{ + DBG(0, ""); + _agent_connected = true; + Message* msg = new Message(SPICE_MSGC_MAIN_AGENT_START); + SpiceMsgcMainAgentStart agent_start; + agent_start.num_tokens = ~0; + _marshallers->msgc_main_agent_start(msg->marshaller(), &agent_start); + post_message(msg); + send_agent_announce_capabilities(false); + + if (_auto_display_res && !_agent_mon_config_sent) { + send_agent_monitors_config(); + } +} + +void RedClient::handle_agent_disconnected(RedPeer::InMessage* message) +{ + DBG(0, ""); + _agent_connected = false; +} + +void RedClient::send_main_attach_channels(void) +{ + if (_msg_attach_channels_sent) + return; + + post_message(new Message(SPICE_MSGC_MAIN_ATTACH_CHANNELS)); + _msg_attach_channels_sent = true; +} + +void RedClient::on_agent_announce_capabilities( + VDAgentAnnounceCapabilities* caps, uint32_t msg_size) +{ + uint32_t caps_size = VD_AGENT_CAPS_SIZE_FROM_MSG_SIZE(msg_size); + + if (_agent_caps_size != caps_size) { + delete[] _agent_caps; + _agent_caps = new uint32_t[caps_size]; + ASSERT(_agent_caps != NULL); + _agent_caps_size = caps_size; + } + memcpy(_agent_caps, caps->caps, sizeof(_agent_caps[0]) * caps_size); + + if (caps->request) { + send_agent_announce_capabilities(false); + } + if (VD_AGENT_HAS_CAPABILITY(caps->caps, caps_size, + VD_AGENT_CAP_DISPLAY_CONFIG) && !_agent_disp_config_sent) { + // not sending the color depth through send_agent_monitors_config, since + // it applies only for attached screens. + send_agent_display_config(); + } else if (!_auto_display_res) { + /* some agents don't support monitors/displays agent messages, so + * we'll never reach on_agent_reply which sends this + * ATTACH_CHANNELS message which is needed for client startup to go + * on. + */ + if (!_display_setting.is_empty()) { + LOG_WARN("display options have been requested, but the agent doesn't support these options"); + } + send_main_attach_channels(); + _application.deactivate_interval_timer(*_agent_timer); + } +} + +void RedClient::on_agent_reply(VDAgentReply* reply) +{ + DBG(0, "agent reply type: %d", reply->type); + switch (reply->error) { + case VD_AGENT_SUCCESS: + break; + case VD_AGENT_ERROR: + THROW_ERR(SPICEC_ERROR_CODE_AGENT_ERROR, "vdagent error"); + default: + THROW("unknown vdagent error"); + } + switch (reply->type) { + case VD_AGENT_MONITORS_CONFIG: + case VD_AGENT_DISPLAY_CONFIG: + if (_agent_reply_wait_type == reply->type) { + send_main_attach_channels(); + _application.deactivate_interval_timer(*_agent_timer); + _agent_reply_wait_type = VD_AGENT_END_MESSAGE; + } + break; + default: + THROW("unexpected vdagent reply type"); + } +} + +void RedClient::handle_agent_data(RedPeer::InMessage* message) +{ + uint32_t msg_size = message->size(); + uint8_t* msg_pos = message->data(); + uint32_t n; + + DBG(0, ""); + while (msg_size) { + if (_agent_msg_pos < sizeof(VDAgentMessage)) { + n = MIN(sizeof(VDAgentMessage) - _agent_msg_pos, msg_size); + memcpy((uint8_t*)_agent_msg + _agent_msg_pos, msg_pos, n); + _agent_msg_pos += n; + msg_size -= n; + msg_pos += n; + if (_agent_msg_pos == sizeof(VDAgentMessage)) { + DBG(0, "agent msg start: msg_size=%d, protocol=%d, type=%d", + _agent_msg->size, _agent_msg->protocol, _agent_msg->type); + if (_agent_msg->protocol != VD_AGENT_PROTOCOL) { + THROW("Invalid protocol %u", _agent_msg->protocol); + } + _agent_msg_data = new uint8_t[_agent_msg->size]; + } + } + if (_agent_msg_pos >= sizeof(VDAgentMessage)) { + n = MIN(sizeof(VDAgentMessage) + _agent_msg->size - _agent_msg_pos, msg_size); + memcpy(_agent_msg_data + _agent_msg_pos - sizeof(VDAgentMessage), msg_pos, n); + _agent_msg_pos += n; + msg_size -= n; + msg_pos += n; + } + if (_agent_msg_pos == sizeof(VDAgentMessage) + _agent_msg->size) { + DBG(0, "agent msg end"); + dispatch_agent_message(_agent_msg, _agent_msg_data); + delete[] _agent_msg_data; + _agent_msg_data = NULL; + _agent_msg_pos = 0; + } + } +} + +void RedClient::dispatch_agent_message(VDAgentMessage* msg, void* data) +{ + switch (msg->type) { + case VD_AGENT_ANNOUNCE_CAPABILITIES: { + on_agent_announce_capabilities((VDAgentAnnounceCapabilities*)data, msg->size); + break; + } + case VD_AGENT_REPLY: { + on_agent_reply((VDAgentReply*)data); + break; + } + case VD_AGENT_CLIPBOARD: { + if (Platform::get_clipboard_owner() != Platform::owner_guest) { + LOG_WARN("received clipboard data from guest while clipboard is not owned by guest"); + Platform::on_clipboard_notify(VD_AGENT_CLIPBOARD_NONE, NULL, 0); + break; + } + + VDAgentClipboard* clipboard = (VDAgentClipboard*)data; + Platform::on_clipboard_notify(clipboard->type, clipboard->data, + msg->size - sizeof(VDAgentClipboard)); + break; + } + case VD_AGENT_CLIPBOARD_GRAB: + Platform::on_clipboard_grab((uint32_t *)data, + msg->size / sizeof(uint32_t)); + break; + case VD_AGENT_CLIPBOARD_REQUEST: + if (Platform::get_clipboard_owner() != Platform::owner_client) { + LOG_WARN("received clipboard req from guest while clipboard is not owned by client"); + on_clipboard_notify(VD_AGENT_CLIPBOARD_NONE, NULL, 0); + break; + } + + if (!Platform::on_clipboard_request(((VDAgentClipboardRequest*)data)->type)) { + on_clipboard_notify(VD_AGENT_CLIPBOARD_NONE, NULL, 0); + } + break; + case VD_AGENT_CLIPBOARD_RELEASE: + if (Platform::get_clipboard_owner() != Platform::owner_guest) { + LOG_INFO("received clipboard release from guest while clipboard is not owned by guest"); + break; + } + + Platform::on_clipboard_release(); + break; + default: + DBG(0, "Unsupported message type %u size %u", msg->type, msg->size); + } +} + +void RedClient::handle_agent_tokens(RedPeer::InMessage* message) +{ + SpiceMsgMainAgentTokens *token = (SpiceMsgMainAgentTokens *)message->data(); + _agent_tokens += token->num_tokens; + if (_agent_out_msg_pos < _agent_out_msg_size) { + do_send_agent_clipboard(); + } +} + +void RedClient::handle_migrate_switch_host(RedPeer::InMessage* message) +{ + SpiceMsgMainMigrationSwitchHost* migrate = (SpiceMsgMainMigrationSwitchHost*)message->data(); + char* host = (char *)migrate->host_data; + char* subject = NULL; + + if (host[migrate->host_size - 1] != '\0') { + THROW("host is not a null-terminated string"); + } + + if (migrate->cert_subject_size) { + subject = (char *)migrate->cert_subject_data; + if (subject[migrate->cert_subject_size - 1] != '\0') { + THROW("cert subject is not a null-terminated string"); + } + } + + AutoRef<SwitchHostEvent> switch_event(new SwitchHostEvent(host, + migrate->port, + migrate->sport, + subject)); + push_event(*switch_event); +} + + +void RedClient::migrate_channel(RedChannel& channel) +{ + DBG(0, "channel type %u id %u", channel.get_type(), channel.get_id()); + _migrate.swap_peer(channel); +} + +void RedClient::get_sync_info(uint8_t channel_type, uint8_t channel_id, SyncInfo& info) +{ + info.lock = &_sync_lock; + info.condition = &_sync_condition; + info.message_serial = &_sync_info[channel_type][channel_id]; +} + +void RedClient::wait_for_channels(int wait_list_size, SpiceWaitForChannel* wait_list) +{ + for (int i = 0; i < wait_list_size; i++) { + if (wait_list[i].channel_type >= SPICE_END_CHANNEL) { + THROW("invalid channel type %u", wait_list[i].channel_type); + } + uint64_t& sync_cell = _sync_info[wait_list[i].channel_type][wait_list[i].channel_id]; +#ifndef RED64 + Lock lock(_sync_lock); +#endif + if (sync_cell >= wait_list[i].message_serial) { + continue; + } +#ifdef RED64 + Lock lock(_sync_lock); +#endif + for (;;) { + if (sync_cell >= wait_list[i].message_serial) { + break; + } + if (_aborting) { + THROW("aborting"); + } + _sync_condition.wait(lock); + continue; + } + } +} + +void RedClient::set_mm_time(uint32_t time) +{ + Lock lock(_mm_clock_lock); + _mm_clock_last_update = Platform::get_monolithic_time(); + _mm_time = time; +} + +uint32_t RedClient::get_mm_time() +{ + Lock lock(_mm_clock_lock); + return uint32_t((Platform::get_monolithic_time() - _mm_clock_last_update) / 1000 / 1000 + + _mm_time); +} + +void RedClient::register_channel_factory(ChannelFactory& factory) +{ + _factorys.push_back(&factory); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/red_client.h b/tizen/distrib/remote/server/spice-0.12.2/client/red_client.h new file mode 100644 index 0000000..c4b418a --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/red_client.h @@ -0,0 +1,387 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_REDCLIENT +#define _H_REDCLIENT + +#include <list> +#include "common/messages.h" + +#include "common.h" +#include "red_peer.h" +#include "red_channel.h" +#include "display_channel.h" +#include "inputs_channel.h" +#include "cursor_channel.h" +#include "audio_channels.h" +#include <spice/vd_agent.h> +#include "process_loop.h" + +class Application; + +class MigChannel: public RedChannelBase { +public: + MigChannel(uint32_t type, uint32_t id, const ChannelCaps& common_caps, const ChannelCaps& caps) + : RedChannelBase(type, id, common_caps, caps) + , _valid(false) {} + bool is_valid() { return _valid;} + void set_valid(bool val) { _valid = val;} + +private: + bool _valid; +}; + +class Migrate { +public: + Migrate(RedClient& client); + ~Migrate(); + + void start(const SpiceMsgMainMigrationBegin* migrate); + bool abort(); + void add_channel(MigChannel* channel); + void clear_channels(); + void swap_peer(RedChannelBase& other); + +private: + void connect_one(MigChannel& channel, const RedPeer::ConnectionOptions& options, + uint32_t connection_id); + void disconnect_channels(); + void close_channels(); + void delete_channels(); + void run(); + static void* worker_main(void *data); + +private: + RedClient& _client; + typedef std::list<MigChannel*> MigChannels; + MigChannels _channels; + bool _running; + bool _aborting; + bool _connected; + std::string _password; + std::string _host; + int _port; + int _sport; + RedPeer::HostAuthOptions _auth_options; + std::string _con_ciphers; + Thread* _thread; + Mutex _lock; + Condition _cond; + int _pending_con; + int _protocol; +}; + +class ChannelFactory { +public: + ChannelFactory(uint32_t type) : _type (type) {} + virtual ~ChannelFactory() {} + + uint32_t type() { return _type;} + virtual RedChannel* construct(RedClient& client, uint32_t id) = 0; + +private: + uint32_t _type; +}; + +class GlzDecoderWindowDebug: public GlzDecoderDebug { +public: + virtual SPICE_GNUC_NORETURN void error(const std::string& str) + { + throw Exception(str); + } + + virtual void warn(const std::string& str) + { + LOG_WARN("%s", str.c_str()); + } + + virtual void info(const std::string& str) + { + LOG_INFO("%s", str.c_str()); + } +}; + +class RedClient; + +class AgentTimer: public Timer { +public: + virtual void response(AbstractProcessLoop& events_loop); + AgentTimer(RedClient *client) : _client(client) {}; +private: + RedClient *_client; +}; + +typedef std::map< int, RedPeer::ConnectionOptions::Type> PeerConnectionOptMap; + +class ForEachChannelFunc { +public: + virtual bool operator() (RedChannel& channel) = 0; +}; + +class DisplaySetting { +public: + DisplaySetting() : _disable_wallpaper (false) + , _disable_font_smooth (false) + , _disable_animation (false) + , _set_color_depth (false) + {} + + bool is_empty() {return !(_disable_wallpaper || _disable_font_smooth || + _disable_animation || _set_color_depth);} + +public: + bool _disable_wallpaper; + bool _disable_font_smooth; + bool _disable_animation; + bool _set_color_depth; + uint32_t _color_depth; +}; + +class ClipboardGrabEvent : public Event { +public: + ClipboardGrabEvent(uint32_t *types, uint32_t type_count) + { + _types = new uint32_t [type_count]; + memcpy(_types, types, type_count * sizeof(uint32_t)); + _type_count = type_count; + } + ~ClipboardGrabEvent() + { + delete[] _types; + } + + virtual void response(AbstractProcessLoop& events_loop); + +private: + uint32_t *_types; + uint32_t _type_count; +}; + +class ClipboardRequestEvent : public Event { +public: + ClipboardRequestEvent(uint32_t type) : _type (type) {} + virtual void response(AbstractProcessLoop& events_loop); + +private: + uint32_t _type; +}; + +class ClipboardNotifyEvent : public Event { +public: + ClipboardNotifyEvent(uint32_t type, uint8_t *data, uint32_t size) + { + _type = type; + _data = new uint8_t [size]; + memcpy(_data, data, size); + _size = size; + } + ~ClipboardNotifyEvent() + { + delete[] _data; + } + + virtual void response(AbstractProcessLoop& events_loop); + +private: + uint32_t _type; + uint8_t *_data; + uint32_t _size; +}; + +class ClipboardReleaseEvent : public Event { +public: + ClipboardReleaseEvent() {} + virtual void response(AbstractProcessLoop& events_loop); +}; + +class MigrateEndEvent: public Event { +public: + virtual void response(AbstractProcessLoop& events_loop); +}; + +class RedClient: public RedChannel, + public Platform::ClipboardListener { +public: + friend class RedChannel; + friend class Migrate; + friend class ClipboardGrabEvent; + friend class ClipboardRequestEvent; + friend class ClipboardNotifyEvent; + friend class ClipboardReleaseEvent; + friend class MigrateEndEvent; + + RedClient(Application& application); + ~RedClient(); + + void register_channel_factory(ChannelFactory& factory); + + virtual void connect(); + virtual void disconnect(); + virtual bool abort(); + + void connect(bool wait_main_disconnect); + + void push_event(Event* event); + void activate_interval_timer(Timer* timer, unsigned int millisec); + void deactivate_interval_timer(Timer* timer); + + void set_target(const std::string& host, int port, int sport, int protocol = 0); + void set_password(const std::string& password) { _password = password;} + void set_auto_display_res(bool auto_display_res) { _auto_display_res = auto_display_res;} + void set_display_setting(DisplaySetting& setting) { _display_setting = setting;} + const std::string& get_password() { return _password;} + const std::string& get_host() { return _host;} + int get_port() { return _port;} + int get_sport() { return _sport;} + int get_protocol() { return _protocol;} + void set_protocol(int protocol) { _protocol = protocol;} + virtual uint32_t get_connection_id() { return _connection_id;} + uint32_t get_mouse_mode() { return _mouse_mode;} + Application& get_application() { return _application;} + bool is_auto_display_res() { return _auto_display_res;} + RedPeer::ConnectionOptions::Type get_connection_options(uint32_t channel_type); + RedPeer::HostAuthOptions& get_host_auth_options() { return _host_auth_opt;} + const std::string& get_connection_ciphers() { return _con_ciphers;} + void get_sync_info(uint8_t channel_type, uint8_t channel_id, SyncInfo& info); + void wait_for_channels(int wait_list_size, SpiceWaitForChannel* wait_list); + PixmapCache& get_pixmap_cache() {return _pixmap_cache;} + uint64_t get_pixmap_cache_size() { return _pixmap_cache_size;} + void on_display_mode_change(); + void on_clipboard_grab(uint32_t *types, uint32_t type_count); + void on_clipboard_request(uint32_t type); + void on_clipboard_notify(uint32_t type, uint8_t* data, int32_t size); + void on_clipboard_release(); + + void for_each_channel(ForEachChannelFunc& func); + void on_mouse_capture_trigger(RedScreen& screen); + + GlzDecoderWindow& get_glz_window() {return _glz_window;} + int get_glz_window_size() { return _glz_window_size;} + + void set_mm_time(uint32_t time); + uint32_t get_mm_time(); + void send_main_attach_channels(void); + +protected: + virtual void on_connecting(); + virtual void on_connect(); + virtual void on_disconnect(); + virtual void on_connect_mig_target() {} + virtual void on_disconnect_mig_src(); + +private: + void on_channel_disconnected(RedChannel& channel); + void on_channel_disconnect_mig_src_completed(RedChannel& channel); + void send_migrate_end(); + void migrate_channel(RedChannel& channel); + void send_agent_announce_capabilities(bool request); + void send_agent_monitors_config(); + void send_agent_display_config(); + void calc_pixmap_cach_and_glz_window_size(uint32_t display_channels_hint, + uint32_t pci_mem_hint); + void set_mouse_mode(uint32_t supported_modes, uint32_t current_mode); + + void handle_migrate_begin(RedPeer::InMessage* message); + void handle_migrate_cancel(RedPeer::InMessage* message); + void handle_migrate_end(RedPeer::InMessage* message); + void handle_init(RedPeer::InMessage* message); + void handle_channels(RedPeer::InMessage* message); + void handle_mouse_mode(RedPeer::InMessage* message); + void handle_mm_time(RedPeer::InMessage* message); + void handle_agent_connected(RedPeer::InMessage* message); + void handle_agent_disconnected(RedPeer::InMessage* message); + void handle_agent_data(RedPeer::InMessage* message); + void handle_agent_tokens(RedPeer::InMessage* message); + void handle_migrate_switch_host(RedPeer::InMessage* message); + void dispatch_agent_message(VDAgentMessage* msg, void* data); + + bool init_guest_display(); + void on_agent_reply(VDAgentReply* reply); + void on_agent_announce_capabilities(VDAgentAnnounceCapabilities* caps, + uint32_t msg_size); + void do_send_agent_clipboard(); + void send_agent_clipboard_message(uint32_t message_type, uint32_t size = 0, void* data = NULL); + void send_agent_clipboard_notify_message(uint32_t type, uint8_t *data, uint32_t size); + + ChannelFactory* find_factory(uint32_t type); + void create_channel(uint32_t type, uint32_t id); + void disconnect_channels(); + void delete_channels(); + bool abort_channels(); + +private: + Application& _application; + + std::string _host; + int _port; + int _sport; + int _protocol; + std::string _password; + uint32_t _connection_id; + uint32_t _mouse_mode; + Mutex _notify_lock; + bool _notify_disconnect; + bool _auto_display_res; + DisplaySetting _display_setting; + uint32_t _agent_reply_wait_type; + + bool _aborting; + bool _msg_attach_channels_sent; + + bool _agent_connected; + bool _agent_mon_config_sent; + bool _agent_disp_config_sent; + //FIXME: rename to in/out, extract all agent stuff? + VDAgentMessage* _agent_msg; + uint8_t* _agent_msg_data; + uint32_t _agent_msg_pos; + VDAgentMessage* _agent_out_msg; + uint32_t _agent_out_msg_size; + uint32_t _agent_out_msg_pos; + uint32_t _agent_tokens; + AutoRef<AgentTimer> _agent_timer; + uint32_t _agent_caps_size; + uint32_t *_agent_caps; + + PeerConnectionOptMap _con_opt_map; + RedPeer::HostAuthOptions _host_auth_opt; + std::string _con_ciphers; + Migrate _migrate; + Mutex _channels_lock; + typedef std::list<ChannelFactory*> Factorys; + Factorys _factorys; + typedef std::list<RedChannel*> Channels; + Channels _channels; + Channels _pending_mig_disconnect_channels; + PixmapCache _pixmap_cache; + uint64_t _pixmap_cache_size; + Mutex _sync_lock; + Condition _sync_condition; + uint64_t _sync_info[SPICE_END_CHANNEL][256]; + + GlzDecoderWindowDebug _glz_debug; + GlzDecoderWindow _glz_window; + unsigned int _glz_window_size; // in pixels + + Mutex _mm_clock_lock; + uint64_t _mm_clock_last_update; + uint32_t _mm_time; + + bool _during_migration; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/red_drawable.h b/tizen/distrib/remote/server/spice-0.12.2/client/red_drawable.h new file mode 100644 index 0000000..8ad3d4c --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/red_drawable.h @@ -0,0 +1,122 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_RED_DRAWABLE +#define _H_RED_DRAWABLE + +#include "common/pixman_utils.h" +#include "pixels_source.h" +#include "utils.h" + +typedef uint32_t rgb32_t; + +static inline rgb32_t rgb32_make(uint8_t r, uint8_t g, uint8_t b) +{ + return (rgb32_t(r) << 16) | (rgb32_t(g) << 8) | b; +} + +static inline uint8_t rgb32_get_red(rgb32_t color) +{ + return color >> 16; +} + +static inline uint8_t rgb32_get_green(rgb32_t color) +{ + return color >> 8; +} + +static inline uint8_t rgb32_get_blue(rgb32_t color) +{ + return color; +} + +class RedDrawable: public PixelsSource { +public: + RedDrawable() {} + virtual ~RedDrawable() {} + + enum Format { + ARGB32, + RGB32, + RGB16_555, + RGB16_565, + A1, + }; + + static int format_copy_compatible(Format src, Format dest) { + return src == dest || (src == ARGB32 && dest == RGB32); + } + + static int format_to_bpp(Format format) { + if (format == RedDrawable::A1) { + return 1; + } else if (format == RGB16_555 || format == RGB16_565) { + return 16; + } else { + return 32; + } + } + + static pixman_format_code_t format_to_pixman(Format format) { + switch (format) { + case RedDrawable::ARGB32: + return PIXMAN_a8r8g8b8; + case RedDrawable::RGB32: + return PIXMAN_x8r8g8b8; + case RedDrawable::RGB16_555: + return PIXMAN_x1r5g5b5; + case RedDrawable::RGB16_565: + return PIXMAN_r5g6b5; + case RedDrawable::A1: + return PIXMAN_a1; + default: + THROW("unsupported format %d", format); + } + } + + static Format format_from_surface(uint32_t format) { + switch (format) { + case SPICE_SURFACE_FMT_16_555: + return RedDrawable::RGB16_555; + case SPICE_SURFACE_FMT_16_565: + return RedDrawable::RGB16_565; + case SPICE_SURFACE_FMT_32_xRGB: + return RedDrawable::RGB32; + case SPICE_SURFACE_FMT_32_ARGB: + return RedDrawable::ARGB32; + default: + THROW("Unsupported RedPixman format"); + } + } + + enum CombineOP { + OP_COPY, + OP_AND, + OP_XOR, + }; + + virtual RedDrawable::Format get_format() = 0; + void copy_pixels(const PixelsSource& src, int src_x, int src_y, const SpiceRect& dest); + void blend_pixels(const PixelsSource& src, int src_x, int src_y, const SpiceRect& dest); + void combine_pixels(const PixelsSource& src, int src_x, int src_y, const SpiceRect& dest, + CombineOP op); + void fill_rect(const SpiceRect& rect, rgb32_t color); + void frame_rect(const SpiceRect& rect, rgb32_t color); + void erase_rect(const SpiceRect& rect, rgb32_t color); +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/red_gdi_canvas.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/red_gdi_canvas.cpp new file mode 100644 index 0000000..09a1553 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/red_gdi_canvas.cpp @@ -0,0 +1,97 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#ifdef __MINGW32__ +#undef HAVE_STDLIB_H +#endif +#include <config.h> +#endif + +#ifdef WIN32 +#include <winsock2.h> +#endif +#include <stdint.h> + +#include "common/region.h" +#define SPICE_CANVAS_INTERNAL +#define SW_CANVAS_CACHE +#include "common/gdi_canvas.c" +#undef SW_CANVAS_CACHE +#undef SPICE_CANVAS_INTERNAL + +#include "common.h" +#include "red_gdi_canvas.h" +#include "utils.h" +#include "debug.h" +#include "red_pixmap_gdi.h" + +GDICanvas::GDICanvas(int width, int height, uint32_t format, + PixmapCache& pixmap_cache, PaletteCache& palette_cache, + GlzDecoderWindow &glz_decoder_window, SurfacesCache &csurfaces) + : Canvas (pixmap_cache, palette_cache, glz_decoder_window, csurfaces) + , _pixmap (0) +{ + _pixmap = new RedPixmapGdi(width, height, + RedDrawable::format_from_surface(format), + true); + if (!(_canvas = gdi_canvas_create(width, height, _pixmap->get_dc(), + &_pixmap->get_mutex(), + format, &pixmap_cache.base, + &palette_cache.base, + &csurfaces, + &glz_decoder(), + &jpeg_decoder(), + &zlib_decoder()))) { + THROW("create canvas failed"); + } +} + +GDICanvas::~GDICanvas() +{ + _canvas->ops->destroy(_canvas); + _canvas = NULL; + delete _pixmap; + _pixmap = NULL; +} + +void GDICanvas::copy_pixels(const QRegion& region, RedDrawable& dest_dc) +{ + pixman_box32_t *rects; + int num_rects; + + rects = pixman_region32_rectangles((pixman_region32_t *)®ion, &num_rects); + for (int i = 0; i < num_rects; i++) { + SpiceRect r; + + r.left = rects[i].x1; + r.top = rects[i].y1; + r.right = rects[i].x2; + r.bottom = rects[i].y2; + dest_dc.copy_pixels(*_pixmap, r.left, r.top, r); + } +} + +void GDICanvas::copy_pixels(const QRegion& region, RedDrawable* dest_dc, const PixmapHeader* pixmap) +{ + copy_pixels(region, *dest_dc); +} + + +CanvasType GDICanvas::get_pixmap_type() +{ + return CANVAS_TYPE_GDI; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/red_gdi_canvas.h b/tizen/distrib/remote/server/spice-0.12.2/client/red_gdi_canvas.h new file mode 100644 index 0000000..dbebe33 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/red_gdi_canvas.h @@ -0,0 +1,53 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_GDICANVAS +#define _H_GDICANVAS + +#include "canvas.h" +#define SPICE_CANVAS_INTERNAL +#define SW_CANVAS_CACHE +#include "common/gdi_canvas.h" +#undef SW_CANVAS_CACHE +#undef SPICE_CANVAS_INTERNAL +#include "red_pixmap_gdi.h" + +class RedPixmap; + + +class GDICanvas: public Canvas { +public: + GDICanvas(int width, int height, uint32_t format, + PixmapCache& pixmap_cache, PaletteCache& palette_cache, + GlzDecoderWindow &glz_decoder_window, SurfacesCache &csurfaces); + virtual ~GDICanvas(); + + virtual void thread_touch() {} + virtual void copy_pixels(const QRegion& region, RedDrawable* dc, + const PixmapHeader* pixmap); + virtual void copy_pixels(const QRegion& region, RedDrawable& dc); + + virtual CanvasType get_pixmap_type(); + +private: + RedPixmapGdi *_pixmap; + RedPixmapGdi *_helper_pixmap; + HDC _dc; + HBITMAP _prev_bitmap; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/red_gl_canvas.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/red_gl_canvas.cpp new file mode 100644 index 0000000..81203d9 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/red_gl_canvas.cpp @@ -0,0 +1,121 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <stdint.h> +#include <GL/glx.h> +#include "common/region.h" + +#define SPICE_CANVAS_INTERNAL +#define SW_CANVAS_CACHE +#include "common/gl_canvas.c" +#undef SW_CANVAS_CACHE +#undef SPICE_CANVAS_INTERNAL + +#include "common.h" +#include "red_gl_canvas.h" +#include "utils.h" +#include "debug.h" +#include "red_pixmap_gl.h" + +GCanvas::GCanvas(int width, int height, uint32_t format, RedWindow *win, + RenderType rendertype, + PixmapCache& pixmap_cache, PaletteCache& palette_cache, + GlzDecoderWindow &glz_decoder_window, SurfacesCache &csurfaces) + : Canvas(pixmap_cache, palette_cache, glz_decoder_window, csurfaces) + , _pixmap (0) + , _textures_lost (false) +{ + _pixmap = new RedPixmapGL(width, height, + RedDrawable::format_from_surface(format), + true, win, rendertype); + if (!(_canvas = gl_canvas_create(width, height, + SPICE_SURFACE_FMT_DEPTH(format), + &pixmap_cache.base, + &palette_cache.base, + &csurfaces, + &glz_decoder(), + &jpeg_decoder(), + &zlib_decoder()))) { + THROW("create canvas failed"); + } +} + +GCanvas::~GCanvas() +{ + gl_canvas_set_textures_lost (_canvas, (int)_textures_lost); + _canvas->ops->destroy(_canvas); + _canvas = NULL; + delete _pixmap; + _pixmap = NULL; +} + +void GCanvas::copy_pixels(const QRegion& region, RedDrawable& dest_dc) +{ + pixman_box32_t *rects; + int num_rects; + + rects = pixman_region32_rectangles((pixman_region32_t *)®ion, &num_rects); + for (int i = 0; i < num_rects; i++) { + SpiceRect r; + + r.left = rects[i].x1; + r.top = rects[i].y1; + r.right = rects[i].x2; + r.bottom = rects[i].y2; + + dest_dc.copy_pixels(*_pixmap, r.left, r.top, r); + } +} + +void GCanvas::copy_pixels(const QRegion& region, RedDrawable* dest_dc, const PixmapHeader* pixmap) +{ + copy_pixels(region, *dest_dc); +} + +void GCanvas::touched_bbox(const SpiceRect *bbox) +{ + _pixmap->update_texture(bbox); +} + +CanvasType GCanvas::get_pixmap_type() +{ + return CANVAS_TYPE_GL; +} + +void GCanvas::textures_lost() +{ + _textures_lost = true; + _pixmap->textures_lost(); +} + +void GCanvas::touch_context() +{ + _pixmap->touch_context(); +} + +void GCanvas::pre_gl_copy() +{ + _pixmap->pre_copy(); +} + +void GCanvas::post_gl_copy() +{ + _pixmap->past_copy(); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/red_gl_canvas.h b/tizen/distrib/remote/server/spice-0.12.2/client/red_gl_canvas.h new file mode 100644 index 0000000..e78b1cc --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/red_gl_canvas.h @@ -0,0 +1,66 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_GCANVAS +#define _H_GCANVAS + +#include "canvas.h" +#define SPICE_CANVAS_INTERNAL +#define SW_CANVAS_CACHE +#include "common/sw_canvas.h" +#include "common/gl_canvas.h" +#undef SW_CANVAS_CACHE +#undef SPICE_CANVAS_INTERNAL + +#include "red_pixmap_gl.h" +#include "red_window.h" + +class RedPixmapGL; + +class GCanvas: public Canvas { +public: + GCanvas(int width, int height, uint32_t format, RedWindow *win, + RenderType rendertype, + PixmapCache& pixmap_cache, PaletteCache& palette_cache, + GlzDecoderWindow &glz_decoder_window, SurfacesCache &csurfaces); + virtual ~GCanvas(); + + void set_mode(); + void clear(); + void thread_touch() {} + void copy_pixels(const QRegion& region, RedDrawable* dc, + const PixmapHeader* pixmap); + void copy_pixels(const QRegion& region, RedDrawable& dc); + virtual void textures_lost(); + virtual CanvasType get_pixmap_type(); + virtual void touch_context(); + virtual void pre_gl_copy(); + virtual void post_gl_copy(); + void touched_bbox(const SpiceRect *bbox); + +private: + void create_pixmap(int width, int height, RedWindow *win, + RenderType rendertype); + void destroy_pixmap(); + void destroy(); + +private: + RedPixmapGL *_pixmap; + bool _textures_lost; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/red_key.h b/tizen/distrib/remote/server/spice-0.12.2/client/red_key.h new file mode 100644 index 0000000..3789c9a --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/red_key.h @@ -0,0 +1,152 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_RED_KEY +#define _H_RED_KEY + +enum RedKey { + REDKEY_INVALID, + REDKEY_ESCAPE, + REDKEY_1, + REDKEY_2, + REDKEY_3, + REDKEY_4, + REDKEY_5, + REDKEY_6, + REDKEY_7, + REDKEY_8, + REDKEY_9, + REDKEY_0, + REDKEY_MINUS, + REDKEY_EQUALS, + REDKEY_BACKSPACE, + REDKEY_TAB, + REDKEY_Q, + REDKEY_W, + REDKEY_E, + REDKEY_R, + REDKEY_T, + REDKEY_Y, + REDKEY_U, + REDKEY_I, + REDKEY_O, + REDKEY_P, + REDKEY_L_BRACKET, + REDKEY_R_BRACKET, + REDKEY_ENTER, + REDKEY_L_CTRL, + REDKEY_A, + REDKEY_S, + REDKEY_D, + REDKEY_F, + REDKEY_G, + REDKEY_H, + REDKEY_J, + REDKEY_K, + REDKEY_L, + REDKEY_SEMICOLON, + REDKEY_QUOTE, + + REDKEY_BACK_QUOTE, + REDKEY_L_SHIFT, + REDKEY_BACK_SLASH, + REDKEY_Z, + REDKEY_X, + REDKEY_C, + REDKEY_V, + REDKEY_B, + REDKEY_N, + REDKEY_M, + REDKEY_COMMA, + REDKEY_PERIOD, + REDKEY_SLASH, + REDKEY_R_SHIFT, + REDKEY_PAD_MULTIPLY, + REDKEY_L_ALT, + REDKEY_SPACE, + REDKEY_CAPS_LOCK, + REDKEY_F1, + REDKEY_F2, + REDKEY_F3, + REDKEY_F4, + REDKEY_F5, + REDKEY_F6, + REDKEY_F7, + REDKEY_F8, + REDKEY_F9, + REDKEY_F10, + REDKEY_NUM_LOCK, + REDKEY_SCROLL_LOCK, + REDKEY_PAD_7, + REDKEY_PAD_8, + REDKEY_PAD_9, + REDKEY_PAD_MINUS, + REDKEY_PAD_4, + REDKEY_PAD_5, + REDKEY_PAD_6, + REDKEY_PAD_PLUS, + REDKEY_PAD_1, + REDKEY_PAD_2, + REDKEY_PAD_3, + REDKEY_PAD_0, + REDKEY_PAD_POINT, + + REDKEY_EUROPEAN = 0x56, + REDKEY_F11, + REDKEY_F12, + + REDKEY_JAPANESE_HIRAGANA_KATAKANA = 0x70, + REDKEY_JAPANESE_BACKSLASH = 0x73, + REDKEY_JAPANESE_HENKAN = 0x79, + REDKEY_JAPANESE_MUHENKAN = 0x7B, + REDKEY_JAPANESE_YEN = 0x7D, + + REDKEY_KOREAN_HANGUL_HANJA = 0xf1, + REDKEY_KOREAN_HANGUL = 0xf2, + + REDKEY_ESCAPE_BASE = 0x100, + REDKEY_PAD_ENTER = REDKEY_ESCAPE_BASE + 0x1c, + REDKEY_R_CTRL = REDKEY_ESCAPE_BASE + 0x1d, + REDKEY_MUTE = REDKEY_ESCAPE_BASE + 0x20, + REDKEY_FAKE_L_SHIFT = REDKEY_ESCAPE_BASE + 0x2a, + REDKEY_VOLUME_DOWN = REDKEY_ESCAPE_BASE + 0x2e, + REDKEY_VOLUME_UP = REDKEY_ESCAPE_BASE + 0x30, + REDKEY_PAD_DIVIDE = REDKEY_ESCAPE_BASE + 0x35, + REDKEY_FAKE_R_SHIFT = REDKEY_ESCAPE_BASE + 0x36, + REDKEY_CTRL_PRINT_SCREEN = REDKEY_ESCAPE_BASE + 0x37, + REDKEY_R_ALT = REDKEY_ESCAPE_BASE + 0x38, + REDKEY_CTRL_BREAK = REDKEY_ESCAPE_BASE + 0x46, + REDKEY_HOME = REDKEY_ESCAPE_BASE + 0x47, + REDKEY_UP = REDKEY_ESCAPE_BASE + 0x48, + REDKEY_PAGEUP = REDKEY_ESCAPE_BASE + 0x49, + REDKEY_LEFT = REDKEY_ESCAPE_BASE + 0x4b, + REDKEY_RIGHT = REDKEY_ESCAPE_BASE + 0x4d, + REDKEY_END = REDKEY_ESCAPE_BASE + 0x4f, + REDKEY_DOWN = REDKEY_ESCAPE_BASE + 0x50, + REDKEY_PAGEDOWN = REDKEY_ESCAPE_BASE + 0x51, + REDKEY_INSERT = REDKEY_ESCAPE_BASE + 0x52, + REDKEY_DELETE = REDKEY_ESCAPE_BASE + 0x53, + REDKEY_LEFT_CMD = REDKEY_ESCAPE_BASE + 0x5b, + REDKEY_RIGHT_CMD = REDKEY_ESCAPE_BASE + 0x5c, + REDKEY_MENU = REDKEY_ESCAPE_BASE + 0x5d, + + REDKEY_PAUSE, + + REDKEY_NUM_KEYS +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/red_peer.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/red_peer.cpp new file mode 100644 index 0000000..d2a6098 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/red_peer.cpp @@ -0,0 +1,463 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#ifdef WIN32 +#include <winsock2.h> +#endif +#include <openssl/x509.h> +#include <openssl/x509v3.h> +#include <spice/protocol.h> +#include "common/ssl_verify.h" + +#include "common.h" +#include "red_peer.h" +#include "utils.h" +#include "debug.h" +#include "platform_utils.h" + +static void SPICE_GNUC_NORETURN ssl_error() +{ + unsigned long last_error = ERR_peek_last_error(); + + ERR_print_errors_fp(stderr); + THROW_ERR(SPICEC_ERROR_CODE_SSL_ERROR, "SSL Error: %s", ERR_error_string(last_error, NULL)); +} + +RedPeer::RedPeer() + : _peer (INVALID_SOCKET) + , _shut (false) + , _ctx (NULL) + , _ssl (NULL) +{ +} + +RedPeer::~RedPeer() +{ + cleanup(); +} + +void RedPeer::cleanup() +{ + if (_ssl) { + SSL_free(_ssl); + _ssl = NULL; + } + + if (_ctx) { + SSL_CTX_free(_ctx); + _ctx = NULL; + } + + if (_peer != INVALID_SOCKET) { + closesocket(_peer); + _peer = INVALID_SOCKET; + } +} + +void RedPeer::connect_to_peer(const char* host, int portnr) +{ + struct addrinfo ai, *result = NULL, *e; + char uaddr[INET6_ADDRSTRLEN+1]; + char uport[33], port[33]; + int err = 0, rc, no_delay = 1; + ASSERT(_ctx == NULL && _ssl == NULL && _peer == INVALID_SOCKET); + try { + memset(&ai,0, sizeof(ai)); + ai.ai_flags = AI_CANONNAME; +#ifdef AI_ADDRCONFIG + ai.ai_flags |= AI_ADDRCONFIG; +#endif + ai.ai_family = PF_UNSPEC; + ai.ai_socktype = SOCK_STREAM; + snprintf(port, sizeof(port), "%d", portnr); + rc = getaddrinfo(host, port, &ai, &result); + if (rc != 0) { + THROW_ERR(SPICEC_ERROR_CODE_GETHOSTBYNAME_FAILED, "cannot resolve host address %s", host); + } + Lock lock(_lock); + _peer = INVALID_SOCKET; + for (e = result; e != NULL; e = e->ai_next) { + if ((_peer = socket(e->ai_family, e->ai_socktype, e->ai_protocol)) == INVALID_SOCKET) { + int err = sock_error(); + THROW_ERR(SPICEC_ERROR_CODE_SOCKET_FAILED, "failed to create socket: %s (%d)", + sock_err_message(err), err); + } + if (setsockopt(_peer, IPPROTO_TCP, TCP_NODELAY, (const char*)&no_delay, sizeof(no_delay)) == + SOCKET_ERROR) { + LOG_WARN("set TCP_NODELAY failed"); + } + + getnameinfo((struct sockaddr*)e->ai_addr, e->ai_addrlen, + uaddr,INET6_ADDRSTRLEN, uport,32, + NI_NUMERICHOST | NI_NUMERICSERV); + DBG(0, "Trying %s %s", uaddr, uport); + + if (::connect(_peer, e->ai_addr, e->ai_addrlen) == SOCKET_ERROR) { + err = sock_error(); + LOG_INFO("Connect failed: %s (%d)", + sock_err_message(err), err); + closesocket(_peer); + _peer = INVALID_SOCKET; + continue; + } + DBG(0, "Connected to %s %s", uaddr, uport); + break; + } + lock.unlock(); + freeaddrinfo(result); + if (_peer == INVALID_SOCKET) { + THROW_ERR(SPICEC_ERROR_CODE_CONNECT_FAILED, "failed to connect: %s (%d)", + sock_err_message(err), err); + } + _serial = 0; + } catch (...) { + Lock lock(_lock); + cleanup(); + throw; + } +} + +void RedPeer::connect_unsecure(const char* host, int portnr) +{ + connect_to_peer(host, portnr); + ASSERT(_ctx == NULL && _ssl == NULL && _peer != INVALID_SOCKET); + LOG_INFO("Connected to %s %d", host, portnr); +} + +void RedPeer::connect_secure(const ConnectionOptions& options, const char* host) +{ + int return_code; + SPICE_SSL_VERIFY_OP auth_flags; + SpiceOpenSSLVerify* verify = NULL; + int portnr = options.secure_port; + + connect_to_peer(host, portnr); + ASSERT(_ctx == NULL && _ssl == NULL && _peer != INVALID_SOCKET); + LOG_INFO("Connected to %s %d", host, portnr); + + try { +#if OPENSSL_VERSION_NUMBER >= 0x10000000L + const SSL_METHOD *ssl_method = TLSv1_method(); +#else + SSL_METHOD *ssl_method = TLSv1_method(); +#endif + _ctx = SSL_CTX_new(ssl_method); + if (_ctx == NULL) { + ssl_error(); + } + + auth_flags = options.host_auth.type_flags; + if ((auth_flags & SPICE_SSL_VERIFY_OP_HOSTNAME) || + (auth_flags & SPICE_SSL_VERIFY_OP_SUBJECT)) { + std::string CA_file = options.host_auth.CA_file; + ASSERT(!CA_file.empty()); + + return_code = SSL_CTX_load_verify_locations(_ctx, CA_file.c_str(), NULL); + if (return_code != 1) { + if (auth_flags & SPICE_SSL_VERIFY_OP_PUBKEY) { + LOG_WARN("SSL_CTX_load_verify_locations failed, CA_file=%s. " + "only pubkey authentication is active", CA_file.c_str()); + auth_flags = SPICE_SSL_VERIFY_OP_PUBKEY; + } + else { + LOG_ERROR("SSL_CTX_load_verify_locations failed CA_file=%s", CA_file.c_str()); + ssl_error(); + } + } + } + + return_code = SSL_CTX_set_cipher_list(_ctx, options.ciphers.c_str()); + if (return_code != 1) { + LOG_ERROR("SSL_CTX_set_cipher_list failed, ciphers=%s", options.ciphers.c_str()); + ssl_error(); + } + + _ssl = SSL_new(_ctx); + if (!_ssl) { + THROW("create ssl failed"); + } + + verify = spice_openssl_verify_new( + _ssl, auth_flags, + host, + (char*)&options.host_auth.host_pubkey[0], + options.host_auth.host_pubkey.size(), + options.host_auth.host_subject.c_str()); + + BIO* sbio = BIO_new_socket(_peer, BIO_NOCLOSE); + if (!sbio) { + THROW("alloc new socket bio failed"); + } + + SSL_set_bio(_ssl, sbio, sbio); + + return_code = SSL_connect(_ssl); + if (return_code <= 0) { + int ssl_error_code = SSL_get_error(_ssl, return_code); + LOG_ERROR("failed to connect w/SSL, ssl_error %s", + ERR_error_string(ssl_error_code, NULL)); + ssl_error(); + } + } catch (...) { + Lock lock(_lock); + spice_openssl_verify_free(verify); + cleanup(); + throw; + } + + spice_openssl_verify_free(verify); +} + +void RedPeer::shutdown() +{ + if (_peer != INVALID_SOCKET) { + if (_ssl) { + SSL_shutdown(_ssl); + } + ::shutdown(_peer, SHUT_RDWR); + } + _shut = true; +} + +void RedPeer::disconnect() +{ + Lock lock(_lock); + shutdown(); +} + +void RedPeer::close() +{ + Lock lock(_lock); + if (_peer != INVALID_SOCKET) { + if (_ctx) { + SSL_free(_ssl); + _ssl = NULL; + SSL_CTX_free(_ctx); + _ctx = NULL; + } + + closesocket(_peer); + _peer = INVALID_SOCKET; + } +} + +void RedPeer::swap(RedPeer* other) +{ + Lock lock(_lock); + SOCKET temp_peer = _peer; + SSL_CTX *temp_ctx = _ctx; + SSL *temp_ssl = _ssl; + + _peer = other->_peer; + other->_peer = temp_peer; + + if (_ctx) { + _ctx = other->_ctx; + _ssl = other->_ssl; + + other->_ctx = temp_ctx; + other->_ssl = temp_ssl; + } + + if (_shut) { + shutdown(); + } +} + +uint32_t RedPeer::receive(uint8_t *buf, uint32_t size) +{ + uint8_t *pos = buf; + while (size) { + int now; + if (_ctx == NULL) { + if ((now = recv(_peer, (char *)pos, size, 0)) <= 0) { + int err = sock_error(); + if (now == SOCKET_ERROR && err == WOULDBLOCK_ERR) { + break; + } + + if (now == 0 || err == SHUTDOWN_ERR) { + throw RedPeer::DisconnectedException(); + } + + if (err == INTERRUPTED_ERR) { + continue; + } + THROW_ERR(SPICEC_ERROR_CODE_RECV_FAILED, "%s (%d)", sock_err_message(err), err); + } + size -= now; + pos += now; + } else { + if ((now = SSL_read(_ssl, pos, size)) <= 0) { + int ssl_error = SSL_get_error(_ssl, now); + + if (ssl_error == SSL_ERROR_WANT_READ) { + break; + } + + if (ssl_error == SSL_ERROR_SYSCALL) { + int err = sock_error(); + if (now == -1) { + if (err == WOULDBLOCK_ERR) { + break; + } + if (err == INTERRUPTED_ERR) { + continue; + } + } + if (now == 0 || (now == -1 && err == SHUTDOWN_ERR)) { + throw RedPeer::DisconnectedException(); + } + THROW_ERR(SPICEC_ERROR_CODE_SEND_FAILED, "%s (%d)", sock_err_message(err), err); + } else if (ssl_error == SSL_ERROR_ZERO_RETURN) { + throw RedPeer::DisconnectedException(); + } + THROW_ERR(SPICEC_ERROR_CODE_RECV_FAILED, "ssl error %d", ssl_error); + } + size -= now; + pos += now; + } + } + return pos - buf; +} + +RedPeer::CompoundInMessage* RedPeer::receive() +{ + SpiceDataHeader header; + AutoRef<CompoundInMessage> message; + + receive((uint8_t*)&header, sizeof(SpiceDataHeader)); + message.reset(new CompoundInMessage(header.serial, header.type, header.size, header.sub_list)); + receive((*message)->data(), (*message)->compound_size()); + return message.release(); +} + +uint32_t RedPeer::send(uint8_t *buf, uint32_t size) +{ + uint8_t *pos = buf; + while (size) { + int now; + + if (_ctx == NULL) { + if ((now = ::send(_peer, (char *)pos, size, 0)) == SOCKET_ERROR) { + int err = sock_error(); + if (err == WOULDBLOCK_ERR) { + break; + } + if (err == SHUTDOWN_ERR) { + throw RedPeer::DisconnectedException(); + } + if (err == INTERRUPTED_ERR) { + continue; + } + THROW_ERR(SPICEC_ERROR_CODE_SEND_FAILED, "%s (%d)", sock_err_message(err), err); + } + size -= now; + pos += now; + } else { + if ((now = SSL_write(_ssl, pos, size)) <= 0) { + int ssl_error = SSL_get_error(_ssl, now); + + if (ssl_error == SSL_ERROR_WANT_WRITE) { + break; + } + if (ssl_error == SSL_ERROR_SYSCALL) { + int err = sock_error(); + if (now == -1) { + if (err == WOULDBLOCK_ERR) { + break; + } + if (err == INTERRUPTED_ERR) { + continue; + } + } + if (now == 0 || (now == -1 && err == SHUTDOWN_ERR)) { + throw RedPeer::DisconnectedException(); + } + THROW_ERR(SPICEC_ERROR_CODE_SEND_FAILED, "%s (%d)", sock_err_message(err), err); + } else if (ssl_error == SSL_ERROR_ZERO_RETURN) { + throw RedPeer::DisconnectedException(); + } + THROW_ERR(SPICEC_ERROR_CODE_SEND_FAILED, "ssl error %d", ssl_error); + } + size -= now; + pos += now; + } + } + return pos - buf; +} + +uint32_t RedPeer::do_send(RedPeer::OutMessage& message, uint32_t skip_bytes) +{ + uint8_t *data; + int free_data; + size_t len; + uint32_t res; + + data = spice_marshaller_linearize(message.marshaller(), skip_bytes, + &len, &free_data); + + res = send(data, len); + + if (free_data) { + free(data); + } + return res; +} + +uint32_t RedPeer::send(RedPeer::OutMessage& message) +{ + + message.header().serial = ++_serial; + message.header().size = message.message_size() - sizeof(SpiceDataHeader); + + return do_send(message, 0); +} + +RedPeer::OutMessage::OutMessage(uint32_t type) + : _marshaller (spice_marshaller_new()) +{ + SpiceDataHeader *header; + header = (SpiceDataHeader *) + spice_marshaller_reserve_space(_marshaller, sizeof(SpiceDataHeader)); + spice_marshaller_set_base(_marshaller, sizeof(SpiceDataHeader)); + + header->type = type; + header->sub_list = 0; +} + +void RedPeer::OutMessage::reset(uint32_t type) +{ + spice_marshaller_reset(_marshaller); + + SpiceDataHeader *header; + header = (SpiceDataHeader *) + spice_marshaller_reserve_space(_marshaller, sizeof(SpiceDataHeader)); + spice_marshaller_set_base(_marshaller, sizeof(SpiceDataHeader)); + + header->type = type; + header->sub_list = 0; +} + +RedPeer::OutMessage::~OutMessage() +{ + spice_marshaller_destroy(_marshaller); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/red_peer.h b/tizen/distrib/remote/server/spice-0.12.2/client/red_peer.h new file mode 100644 index 0000000..b0faa9d --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/red_peer.h @@ -0,0 +1,209 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_REDPEER +#define _H_REDPEER + +#include <openssl/ssl.h> +#include <openssl/err.h> + +#include <spice/protocol.h> +#include "common/marshaller.h" +#include "common/ssl_verify.h" + +#include "common.h" +#include "process_loop.h" +#include "threads.h" +#include "platform_utils.h" +#include "debug.h" + +class RedPeer: protected EventSources::Socket { +public: + RedPeer(); + virtual ~RedPeer(); + + class InMessage; + class CompoundInMessage; + class OutMessage; + class DisconnectedException {}; + + class HostAuthOptions { + public: + + typedef std::vector<uint8_t> PublicKey; + typedef std::pair<std::string, std::string> CertFieldValuePair; + typedef std::list<CertFieldValuePair> CertFieldValueList; + + HostAuthOptions() : type_flags(SPICE_SSL_VERIFY_OP_NONE) {} + + public: + + SPICE_SSL_VERIFY_OP type_flags; + + PublicKey host_pubkey; + std::string host_subject; + std::string CA_file; + }; + + class ConnectionOptions { + public: + + enum Type { + CON_OP_INVALID, + CON_OP_SECURE, + CON_OP_UNSECURE, + CON_OP_BOTH, + }; + + ConnectionOptions(Type in_type, int in_port, int in_sport, + int in_protocol, + const HostAuthOptions& in_host_auth, + const std::string& in_ciphers) + : type (in_type) + , unsecure_port (in_port) + , secure_port (in_sport) + , protocol (in_protocol) + , host_auth (in_host_auth) + , ciphers (in_ciphers) + { + } + + virtual ~ConnectionOptions() {} + + bool allow_secure() const + { + return (type == CON_OP_BOTH || type == CON_OP_SECURE) && secure_port != -1; + } + + bool allow_unsecure() const + { + return (type == CON_OP_BOTH || type == CON_OP_UNSECURE) && unsecure_port != -1; + } + + public: + Type type; + int unsecure_port; + int secure_port; + int protocol; // 0 == auto + HostAuthOptions host_auth; // for secure connection + std::string ciphers; + }; + + void connect_unsecure(const char* host, int port); + void connect_secure(const ConnectionOptions& options, const char* host); + + void disconnect(); + void swap(RedPeer* other); + void close(); + void enable() { _shut = false;} + + virtual CompoundInMessage* receive(); + uint32_t do_send(OutMessage& message, uint32_t skip_bytes); + uint32_t send(OutMessage& message); + + uint32_t receive(uint8_t* buf, uint32_t size); + uint32_t send(uint8_t* buf, uint32_t size); + +protected: + virtual void on_event() {} + virtual int get_socket() { return _peer;} + void cleanup(); + +private: + void connect_to_peer(const char* host, int port); + void shutdown(); + +private: + SOCKET _peer; + Mutex _lock; + bool _shut; + uint64_t _serial; + + SSL_CTX *_ctx; + SSL *_ssl; +}; + +class RedPeer::InMessage { +public: + InMessage(uint16_t type, uint32_t size, uint8_t * data) + : _type (type) + , _size (size) + , _data (data) + { + } + + virtual ~InMessage() {} + + uint16_t type() { return _type;} + uint8_t* data() { return _data;} + virtual uint32_t size() { return _size;} + +protected: + uint16_t _type; + uint32_t _size; + uint8_t* _data; +}; + +class RedPeer::CompoundInMessage: public RedPeer::InMessage { +public: + CompoundInMessage(uint64_t _serial, uint16_t type, uint32_t size, uint32_t sub_list) + : InMessage(type, size, new uint8_t[size]) + , _refs (1) + , _serial (_serial) + , _sub_list (sub_list) + { + } + + RedPeer::InMessage* ref() { _refs++; return this;} + void unref() {if (!--_refs) delete this;} + + uint64_t serial() { return _serial;} + uint32_t sub_list() { return _sub_list;} + + virtual uint32_t size() { return _sub_list ? _sub_list : _size;} + uint32_t compound_size() {return _size;} + +protected: + virtual ~CompoundInMessage() { delete[] _data;} + +private: + int _refs; + uint64_t _serial; + uint32_t _sub_list; +}; + +class RedPeer::OutMessage { +public: + OutMessage(uint32_t type); + virtual ~OutMessage(); + + SpiceMarshaller *marshaller() { return _marshaller;} + void reset(uint32_t type); + +private: + uint32_t message_size() { return spice_marshaller_get_total_size(_marshaller);} + uint8_t* base() { return spice_marshaller_get_ptr(_marshaller);} + SpiceDataHeader& header() { return *(SpiceDataHeader *)base();} + +protected: + SpiceMarshaller *_marshaller; + + friend class RedPeer; + friend class RedChannel; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/red_pixmap.h b/tizen/distrib/remote/server/spice-0.12.2/client/red_pixmap.h new file mode 100644 index 0000000..240ed76 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/red_pixmap.h @@ -0,0 +1,48 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_RED_PIXMAP +#define _H_RED_PIXMAP + +#include "red_drawable.h" +#include "utils.h" + +class RedPixmap: public RedDrawable { +public: + RedPixmap(int width, int height, Format format, bool top_bottom); + virtual ~RedPixmap(); + + virtual SpicePoint get_size() { SpicePoint pt = {_width, _height}; return pt;} + + int get_width() { return _width;} + int get_height() { return _height;} + int get_stride() { return _stride;} + uint8_t* get_data() { return _data;} + bool is_big_endian_bits(); + virtual RedDrawable::Format get_format() { return _format; } + +protected: + Format _format; + int _width; + int _height; + int _stride; + bool _top_bottom; + uint8_t* _data; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/red_pixmap_gdi.h b/tizen/distrib/remote/server/spice-0.12.2/client/red_pixmap_gdi.h new file mode 100644 index 0000000..828b76b --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/red_pixmap_gdi.h @@ -0,0 +1,35 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_RED_PIXMAP_GDI +#define _H_RED_PIXMAP_GDI + +#include "red_pixmap.h" + +class RecurciveMutex; + +class RedPixmapGdi: public RedPixmap { +public: + RedPixmapGdi(int width, int height, Format format, bool top_bottom); + HDC get_dc(); + void *get_memptr(); + ~RedPixmapGdi(); + RecurciveMutex& get_mutex(); +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/red_pixmap_gl.h b/tizen/distrib/remote/server/spice-0.12.2/client/red_pixmap_gl.h new file mode 100644 index 0000000..88d14a1 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/red_pixmap_gl.h @@ -0,0 +1,49 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_RED_PIXMAP_GL +#define _H_RED_PIXMAP_GL + +#include "red_pixmap.h" +#include "red_window.h" + +enum RenderType { + RENDER_TYPE_PBUFF, + RENDER_TYPE_FBO, +}; + +class RedPixmapGL: public RedPixmap { +public: + RedPixmapGL(int width, int height, Format format, bool top_bottom, + RedWindow *win, RenderType rendertype); + + void textures_lost(); + void touch_context(); + void update_texture(const SpiceRect *bbox); + void pre_copy(); + void past_copy(); + ~RedPixmapGL(); + +private: + RedGlContext _glcont; + GLint _prev_tex; + GLint _prev_matrix_mode; + bool _tex_enabled; + bool _textures_lost; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/red_pixmap_sw.h b/tizen/distrib/remote/server/spice-0.12.2/client/red_pixmap_sw.h new file mode 100644 index 0000000..0c96a1f --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/red_pixmap_sw.h @@ -0,0 +1,30 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_RED_PIXMAP_SW +#define _H_RED_PIXMAP_SW + +#include "red_pixmap.h" +#include "red_window.h" + +class RedPixmapSw: public RedPixmap { +public: + RedPixmapSw(int width, int height, Format format, bool top_bottom, RedWindow *window); + ~RedPixmapSw(); +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/red_sw_canvas.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/red_sw_canvas.cpp new file mode 100644 index 0000000..d18af0f --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/red_sw_canvas.cpp @@ -0,0 +1,112 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <stdint.h> +#ifdef WIN32 +#include <winsock2.h> +#endif + +#include "common/region.h" +#define SPICE_CANVAS_INTERNAL +#define SW_CANVAS_CACHE +#include "common/sw_canvas.c" +#undef SW_CANVAS_CACHE +#undef SPICE_CANVAS_INTERNAL + +#include "common.h" +#include "red_window.h" +#include "red_sw_canvas.h" +#include "utils.h" +#include "debug.h" +#include "red_pixmap_sw.h" + +SCanvas::SCanvas(bool onscreen, + int width, int height, uint32_t format, RedWindow *win, + PixmapCache& pixmap_cache, PaletteCache& palette_cache, + GlzDecoderWindow &glz_decoder_window, SurfacesCache& csurfaces) + : Canvas (pixmap_cache, palette_cache, glz_decoder_window, csurfaces) + , _pixmap (0) +{ + if (onscreen) { + _pixmap = new RedPixmapSw(width, height, + RedDrawable::format_from_surface(format), + true, win); + _canvas = canvas_create_for_data(width, height, format, + _pixmap->get_data(), + _pixmap->get_stride(), + &pixmap_cache.base, + &palette_cache.base, + &csurfaces, + &glz_decoder(), + &jpeg_decoder(), + &zlib_decoder()); + } else { + _canvas = canvas_create(width, height, format, + &pixmap_cache.base, + &palette_cache.base, + &csurfaces, + &glz_decoder(), + &jpeg_decoder(), + &zlib_decoder()); + } + if (_canvas == NULL) { + THROW("create canvas failed"); + } +} + +SCanvas::~SCanvas() +{ + _canvas->ops->destroy(_canvas); + _canvas = NULL; + if (_pixmap) { + delete _pixmap; + _pixmap = NULL; + } +} + +void SCanvas::copy_pixels(const QRegion& region, RedDrawable& dest_dc) +{ + pixman_box32_t *rects; + int num_rects; + + ASSERT(_pixmap != NULL); + + rects = pixman_region32_rectangles((pixman_region32_t *)®ion, &num_rects); + for (int i = 0; i < num_rects; i++) { + SpiceRect r; + + r.left = rects[i].x1; + r.top = rects[i].y1; + r.right = rects[i].x2; + r.bottom = rects[i].y2; + dest_dc.copy_pixels(*_pixmap, r.left, r.top, r); + } +} + +void SCanvas::copy_pixels(const QRegion& region, RedDrawable* dest_dc, const PixmapHeader* pixmap) +{ + copy_pixels(region, *dest_dc); +} + +CanvasType SCanvas::get_pixmap_type() +{ + return CANVAS_TYPE_SW; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/red_sw_canvas.h b/tizen/distrib/remote/server/spice-0.12.2/client/red_sw_canvas.h new file mode 100644 index 0000000..a192c47 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/red_sw_canvas.h @@ -0,0 +1,50 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_CCANVAS +#define _H_CCANVAS + +#include "canvas.h" +#define SPICE_CANVAS_INTERNAL +#define SW_CANVAS_CACHE +#include "common/sw_canvas.h" +#undef SW_CANVAS_CACHE +#undef SPICE_CANVAS_INTERNAL + +class RedPixmap; + +class SCanvas: public Canvas { +public: + SCanvas(bool onscreen, + int width, int height, uint32_t format, RedWindow *win, + PixmapCache& pixmap_cache, PaletteCache& palette_cache, + GlzDecoderWindow &glz_decoder_window, SurfacesCache &csurfaces); + virtual ~SCanvas(); + + virtual void thread_touch() {} + virtual void copy_pixels(const QRegion& region, RedDrawable* dc, + const PixmapHeader* pixmap); + virtual void copy_pixels(const QRegion& region, RedDrawable& dc); + + virtual CanvasType get_pixmap_type(); + +private: + RedPixmap *_pixmap; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/red_types.h b/tizen/distrib/remote/server/spice-0.12.2/client/red_types.h new file mode 100644 index 0000000..d527339 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/red_types.h @@ -0,0 +1,37 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_RED_TYPES +#define _H_RED_TYPES + +struct PixmapHeader { + uint8_t* data; + int width; + int height; + int stride; +}; + +struct IconHeader { + int width; + int height; + uint8_t* pixmap; + uint8_t* mask; +}; + +class RedDrawable; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/red_window.h b/tizen/distrib/remote/server/spice-0.12.2/client/red_window.h new file mode 100644 index 0000000..dbd0c79 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/red_window.h @@ -0,0 +1,198 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_RED_WINDOW +#define _H_RED_WINDOW + +#include "red_drawable.h" +#include <spice/protocol.h> +#include "red_key.h" +#include "red_window_p.h" +#include "cursor.h" + +class Menu; +class Icon; + +class RedWindow: public RedDrawable, private RedWindow_p { +public: + class Listener; + + enum { + DEFAULT_SCREEN = -1, + }; + + RedWindow(RedWindow::Listener& listener, int screen_id = DEFAULT_SCREEN); + virtual ~RedWindow(); + + void move_and_resize(int x, int y, int width, int height); + void resize(int width, int height); + void move(int x, int y); + void position_after(RedWindow *after); + void raise(); + void show(int screen_id); + void external_show(); + void hide(); + void minimize(); + void activate(); + void set_title(std::string& title); + void set_icon(Icon *icon); + virtual RedDrawable::Format get_format(); + + enum Type { + TYPE_INVALID, + TYPE_NORMAL, + TYPE_FULLSCREEN, + }; + void set_type(Type type) { _type = type;} + SpicePoint get_position(); + virtual SpicePoint get_size(); + bool get_mouse_anchor_point(SpicePoint& pt); + + void set_mouse_position(int x, int y); + void set_cursor(LocalCursor* local_cursor); + void hide_cursor(); + void show_cursor(); + void capture_mouse(); + void release_mouse(); + void start_key_interception(); + void stop_key_interception(); + int set_menu(Menu* menu); + +#ifdef USE_OPENGL + void untouch_context(); + RedGlContext create_context_gl(); + RedPbuffer create_pbuff(int width, int height); + void set_render_pbuff(RedPbuffer pbuff); + void set_render_fbo(GLuint fbo); + void set_gl_context(RedGlContext context); + + void set_type_gl(); + void unset_type_gl(); +#endif + + int get_screen_num(); + + static void init(); + static void cleanup(); + + Listener& get_listener() { return _listener;} + +private: + void on_focus_in(); + void on_focus_out(); + void on_pointer_enter(int x, int y, unsigned int buttons_state); + void on_pointer_leave(); + + void do_start_key_interception(); + void do_stop_key_interception(); + +private: + Listener& _listener; + SpicePoint _window_size; + Type _type; + LocalCursor* _local_cursor; + bool _cursor_visible; + bool _trace_key_interception; + bool _key_interception_on; + Menu* _menu; + + friend class RedWindow_p; +}; + +class RedWindow::Listener { +public: + virtual ~Listener() {} + virtual void on_exposed_rect(const SpiceRect& area) = 0; + + virtual void on_pointer_enter(int x, int y, unsigned int buttons_state) = 0; + virtual void on_pointer_motion(int x, int y, unsigned int buttons_state) = 0; + virtual void on_pointer_leave() = 0; + virtual void on_mouse_button_press(SpiceMouseButton button, unsigned int buttons_state) = 0; + virtual void on_mouse_button_release(SpiceMouseButton button, unsigned int buttons_state) = 0; + + virtual void on_key_press(RedKey key) = 0; + virtual void on_key_release(RedKey key) = 0; + virtual void on_char(uint32_t ch) = 0; + + virtual void on_deactivate() = 0; + virtual void on_activate() = 0; + + virtual void on_start_key_interception() = 0; + virtual void on_stop_key_interception() = 0; + virtual void enter_modal_loop() = 0; + virtual void exit_modal_loop() = 0; + + virtual void pre_migrate() { } + virtual void post_migrate() { } +}; + +/*class REGION { + void get_bbox(SpiceRect& bbox) const; + bool contains_point(int x, int y) const; + +};*/ + +template <class REGION> +static bool find_anchor_point(const REGION& region, SpicePoint& pt) +{ + static const unsigned int lookup_size = 20; + unsigned int width; + unsigned int height; + SpiceRect bbox; + + region.get_bbox(bbox); + width = bbox.right - bbox.left; + height = bbox.bottom - bbox.top; + + int div = 2; + + for (;;) { + unsigned int h_unit; + unsigned int v_unit; + + if ((v_unit = height / div) * 2 < lookup_size || (h_unit = width / div) * 2 < lookup_size) { + return false; + } + + for (unsigned int y = v_unit; y < v_unit * div; y += v_unit * 2) { + for (unsigned int x = h_unit; x < h_unit * div; x += h_unit * 2) { + if (!region.contains_point(bbox.left + x, bbox.top + y)) { + continue; + } + + SpiceRect r; + r.left = bbox.left + x - lookup_size / 2; + r.right = r.left + lookup_size; + r.top = bbox.top + y - lookup_size / 2; + r.bottom = r.top + lookup_size; + + if (!region.contains_point(r.left, r.top) || + !region.contains_point(r.right, r.top) || + !region.contains_point(r.left, r.bottom) || + !region.contains_point(r.right, r.bottom)) { + continue; + } + pt.x = bbox.left + x; + pt.y = bbox.top + y; + return true; + } + } + div *= 2; + } +} + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/screen.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/screen.cpp new file mode 100644 index 0000000..a05d562 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/screen.cpp @@ -0,0 +1,941 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "screen.h" +#include "application.h" +#include "screen_layer.h" +#include "utils.h" +#include "debug.h" +#include "monitor.h" +#include "red_pixmap_sw.h" +#include "resource.h" +#include "icon.h" + +class UpdateEvent: public Event { +public: + UpdateEvent(int screen) : _screen (screen) {} + + virtual void response(AbstractProcessLoop& events_loop) + { + Application* app = static_cast<Application*>(events_loop.get_owner()); + RedScreen* screen = app->find_screen(_screen); + if (screen) { + screen->update(); + } + } + +private: + int _screen; +}; + +class LayerChangedEvent: public Event { +public: + LayerChangedEvent (int screen) : _screen (screen) {} + + virtual void response(AbstractProcessLoop& events_loop) + { + Application* app = static_cast<Application*>(events_loop.get_owner()); + RedScreen* screen = app->find_screen(_screen); + if (screen) { + Lock lock(screen->_layer_changed_lock); + screen->_active_layer_change_event = false; + lock.unlock(); + if (screen->_pointer_on_screen) { + screen->update_pointer_layer(); + } + } + } + +private: + int _screen; +}; + + +void UpdateTimer::response(AbstractProcessLoop& events_loop) +{ + _screen->periodic_update(); +} + +RedScreen::RedScreen(Application& owner, int id, const std::string& name, int width, int height) + : _owner (owner) + , _id (id) + , _refs (1) + , _window (*this) + , _active (false) + , _full_screen (false) + , _out_of_sync (false) + , _frame_area (false) + , _periodic_update (false) + , _key_interception (false) + , _update_by_timer (true) + , _size_locked (false) + , _menu_needs_update (false) + , _force_update_timer (0) + , _update_timer (new UpdateTimer(this)) + , _composit_area (NULL) + , _update_mark (1) + , _monitor (NULL) + , _default_cursor (NULL) + , _inactive_cursor (NULL) + , _pixel_format_index (0) + , _update_interrupt_trigger (NULL) + , _pointer_layer (NULL) + , _mouse_captured (false) + , _active_layer_change_event (false) + , _pointer_on_screen (false) +{ + region_init(&_dirty_region); + set_name(name); + _size.x = width; + _size.y = height; + _origin.x = _origin.y = 0; + create_composit_area(); + _window.resize(_size.x, _size.y); + save_position(); + if ((_default_cursor = Platform::create_default_cursor()) == NULL) { + THROW("create default cursor failed"); + } + if ((_inactive_cursor = Platform::create_inactive_cursor()) == NULL) { + THROW("create inactive cursor failed"); + } + _window.set_cursor(_default_cursor); + update_menu(); + AutoRef<Icon> icon(Platform::load_icon(RED_ICON_RES_ID)); + _window.set_icon(*icon); + _window.start_key_interception(); +} + +RedScreen::~RedScreen() +{ + bool captured = is_mouse_captured(); + _window.stop_key_interception(); + relase_mouse(); + destroy_composit_area(); + _owner.deactivate_interval_timer(*_update_timer); + _owner.on_screen_destroyed(_id, captured); + region_destroy(&_dirty_region); + if (_default_cursor) { + _default_cursor->unref(); + } + + if (_inactive_cursor) { + _inactive_cursor->unref(); + } +} + +void RedScreen::show(bool activate, RedScreen* pos) +{ + _window.position_after((pos) ? &pos->_window : NULL); + show(); + if (activate) { + _window.activate(); + } +} + +RedScreen* RedScreen::ref() +{ + ++_refs; + return this; +} + +void RedScreen::unref() +{ + if (!--_refs) { + delete this; + } +} + +void RedScreen::destroy_composit_area() +{ + if (_composit_area) { + delete _composit_area; + _composit_area = NULL; + } +} + +void RedScreen::create_composit_area() +{ + destroy_composit_area(); + _composit_area = new RedPixmapSw(_size.x, _size.y, _window.get_format(), + false, &_window); +} + +void RedScreen::adjust_window_rect(int x, int y) +{ + _window.move_and_resize(x, y, _size.x, _size.y); +} + +void RedScreen::resize(int width, int height) +{ + RecurciveLock lock(_update_lock); + _size.x = width; + _size.y = height; + create_composit_area(); + if (_full_screen) { + __show_full_screen(); + } else { + bool cuptur = is_mouse_captured(); + if (cuptur) { + relase_mouse(); + } + _window.resize(_size.x, _size.y); + if (_active && cuptur) { + capture_mouse(); + } + } + notify_new_size(); +} + +void RedScreen::lock_size() +{ + ASSERT(!_size_locked); + _size_locked = true; +} + +void RedScreen::unlock_size() +{ + _size_locked = false; + _owner.on_screen_unlocked(*this); +} + +void RedScreen::set_name(const std::string& name) +{ + if (!name.empty()) { + string_printf(_name, name.c_str(), _id); + } + _window.set_title(_name); +} + +void RedScreen::on_layer_changed(ScreenLayer& layer) +{ + Lock lock(_layer_changed_lock); + if (_active_layer_change_event) { + return; + } + _active_layer_change_event = true; + AutoRef<LayerChangedEvent> change_event(new LayerChangedEvent(_id)); + _owner.push_event(*change_event); +} + +void RedScreen::attach_layer(ScreenLayer& layer) +{ + RecurciveLock lock(_update_lock); + int order = layer.z_order(); + + if ((int)_layers.size() < order + 1) { + _layers.resize(order + 1); + } + if (_layers[order]) { + THROW("layer in use"); + } + layer.set_screen(this); + _layers[order] = &layer; + ref(); + lock.unlock(); + layer.invalidate(); + if (_pointer_on_screen) { + update_pointer_layer(); + } +} + +void RedScreen::detach_layer(ScreenLayer& layer) +{ + bool need_pointer_layer_update = false; + if (_pointer_layer == &layer) { + _pointer_layer->on_pointer_leave(); + _pointer_layer = NULL; + need_pointer_layer_update = true; + } + + RecurciveLock lock(_update_lock); + + int order = layer.z_order(); + + if ((int)_layers.size() < order + 1 || _layers[order] != &layer) { + THROW("not found"); + } + QRegion layer_area; + region_clone(&layer_area, &layer.area()); + _layers[order]->set_screen(NULL); + _layers[order] = NULL; + lock.unlock(); + invalidate(layer_area); + region_destroy(&layer_area); + unref(); + if (need_pointer_layer_update && !update_pointer_layer()) { + _window.set_cursor(_inactive_cursor); + } +} + +void RedScreen::composit_to_screen(RedDrawable& win_dc, const QRegion& region) +{ + pixman_box32_t *rects; + int num_rects; + + rects = pixman_region32_rectangles((pixman_region32_t *)®ion, &num_rects); + for (int i = 0; i < num_rects; i++) { + SpiceRect r; + + r.left = rects[i].x1; + r.top = rects[i].y1; + r.right = rects[i].x2; + r.bottom = rects[i].y2; + win_dc.copy_pixels(*_composit_area, r.left, r.top, r); + } +} + +void RedScreen::notify_new_size() +{ + for (int i = 0; i < (int)_layers.size(); i++) { + if (!_layers[i]) { + continue; + } + _layers[i]->on_size_changed(); + } +} + +inline void RedScreen::begin_update(QRegion& direct_rgn, QRegion& composit_rgn, + QRegion& frame_rgn) +{ + region_init(&composit_rgn); + RecurciveLock lock(_update_lock); + region_clone(&direct_rgn, &_dirty_region); + region_clear(&_dirty_region); + _update_mark++; + lock.unlock(); + + QRegion rect_rgn; + SpiceRect r; + r.top = r.left = 0; + r.right = _size.x; + r.bottom = _size.y; + region_init(&rect_rgn); + region_add(&rect_rgn, &r); + + if (_frame_area) { + region_clone(&frame_rgn, &direct_rgn); + region_exclude(&frame_rgn, &rect_rgn); + } + region_and(&direct_rgn, &rect_rgn); + region_destroy(&rect_rgn); + + for (int i = _layers.size() - 1; i >= 0; i--) { + ScreenLayer* layer; + + if (!(layer = _layers[i])) { + continue; + } + layer->begin_update(direct_rgn, composit_rgn); + } +} + +inline void RedScreen::update_done() +{ + for (unsigned int i = 0; i < _layers.size(); i++) { + ScreenLayer* layer; + + if (!(layer = _layers[i])) { + continue; + } + layer->on_update_completion(_update_mark - 1); + } +} + +inline void RedScreen::update_composit(QRegion& composit_rgn) +{ + erase_background(*_composit_area, composit_rgn); + for (int i = 0; i < (int)_layers.size(); i++) { + ScreenLayer* layer; + + if (!(layer = _layers[i])) { + continue; + } + QRegion& dest_region = layer->composit_area(); + region_or(&composit_rgn, &dest_region); + layer->copy_pixels(dest_region, *_composit_area); + } +} + +inline void RedScreen::draw_direct(RedDrawable& win_dc, QRegion& direct_rgn, QRegion& composit_rgn, + QRegion& frame_rgn) +{ + erase_background(win_dc, direct_rgn); + + if (_frame_area) { + erase_background(win_dc, frame_rgn); + region_destroy(&frame_rgn); + } + + for (int i = 0; i < (int)_layers.size(); i++) { + ScreenLayer* layer; + + if (!(layer = _layers[i])) { + continue; + } + QRegion& dest_region = layer->direct_area(); + layer->copy_pixels(dest_region, win_dc); + } +} + +void RedScreen::periodic_update() +{ + bool need_update; + RecurciveLock lock(_update_lock); + if (is_dirty()) { + need_update = true; + } else { + if (!_force_update_timer) { + _owner.deactivate_interval_timer(*_update_timer); + _periodic_update = false; + } + need_update = false; + } + lock.unlock(); + + if (need_update) { + if (update_by_interrupt()) { + interrupt_update(); + } else { + update(); + } + } +} + +void RedScreen::activate_timer() +{ + RecurciveLock lock(_update_lock); + if (_periodic_update) { + return; + } + _periodic_update = true; + lock.unlock(); + _owner.activate_interval_timer(*_update_timer, 1000 / 30); +} + +void RedScreen::update() +{ + if (is_out_of_sync()) { + return; + } + + QRegion direct_rgn; + QRegion composit_rgn; + QRegion frame_rgn; + + begin_update(direct_rgn, composit_rgn, frame_rgn); + update_composit(composit_rgn); + draw_direct(_window, direct_rgn, composit_rgn, frame_rgn); + composit_to_screen(_window, composit_rgn); + update_done(); + region_destroy(&direct_rgn); + region_destroy(&composit_rgn); + + if (_update_by_timer) { + activate_timer(); + } +} + +bool RedScreen::_invalidate(const SpiceRect& rect, bool urgent, uint64_t& update_mark) +{ + RecurciveLock lock(_update_lock); + bool update_triger = !is_dirty() && (urgent || !_periodic_update); + region_add(&_dirty_region, &rect); + update_mark = _update_mark; + return update_triger; +} + +uint64_t RedScreen::invalidate(const SpiceRect& rect, bool urgent) +{ + uint64_t update_mark; + if (_invalidate(rect, urgent, update_mark)) { + if (!urgent && _update_by_timer) { + activate_timer(); + } else { + if (update_by_interrupt()) { + interrupt_update(); + } else { + AutoRef<UpdateEvent> update_event(new UpdateEvent(_id)); + _owner.push_event(*update_event); + } + } + } + return update_mark; +} + +void RedScreen::invalidate(const QRegion ®ion) +{ + pixman_box32_t *rects, *end; + int num_rects; + + rects = pixman_region32_rectangles((pixman_region32_t *)®ion, &num_rects); + end = rects + num_rects; + + while (rects != end) { + SpiceRect r; + + r.left = rects->x1; + r.top = rects->y1; + r.right = rects->x2; + r.bottom = rects->y2; + rects++; + + invalidate(r, false); + } +} + +inline void RedScreen::erase_background(RedDrawable& dc, const QRegion& composit_rgn) +{ + pixman_box32_t *rects; + int num_rects; + + rects = pixman_region32_rectangles((pixman_region32_t *)&composit_rgn, &num_rects); + for (int i = 0; i < num_rects; i++) { + SpiceRect r; + + r.left = rects[i].x1; + r.top = rects[i].y1; + r.right = rects[i].x2; + r.bottom = rects[i].y2; + + dc.fill_rect(r, 0); + } +} + +void RedScreen::reset_mouse_pos() +{ + _window.set_mouse_position(_mouse_anchor_point.x, _mouse_anchor_point.y); +} + +void RedScreen::capture_mouse() +{ + if (_mouse_captured || !_window.get_mouse_anchor_point(_mouse_anchor_point)) { + return; + } + + if (_pointer_layer) { + _pointer_layer->on_pointer_leave(); + _pointer_layer = NULL; + } + _pointer_on_screen = false; + _mouse_captured = true; + _window.hide_cursor(); + reset_mouse_pos(); + _window.capture_mouse(); +} + +void RedScreen::relase_mouse() +{ + if (!_mouse_captured) { + return; + } + _mouse_captured = false; + _window.release_mouse(); + update_pointer_layer(); +} + +void RedScreen::set_cursor(LocalCursor* cursor) +{ + if (_mouse_captured) { + return; + } + + _window.set_cursor(cursor); +} + +void RedScreen::hide_cursor() +{ + _window.hide_cursor(); +} + +ScreenLayer* RedScreen::find_pointer_layer() +{ + for (int i = _layers.size() - 1; i >= 0; i--) { + ScreenLayer* layer; + + if (!(layer = _layers[i])) { + continue; + } + + if (layer->pointer_test(_pointer_pos.x, _pointer_pos.y)) { + return layer; + } + } + return NULL; +} + +bool RedScreen::update_pointer_layer() +{ + ASSERT(!_mouse_captured); + + ScreenLayer* now = find_pointer_layer(); + + if (now == _pointer_layer) { + return false; + } + + if (_pointer_layer) { + _pointer_layer->on_pointer_leave(); + } + + _pointer_layer = find_pointer_layer(); + + if (_pointer_layer) { + _pointer_layer->on_pointer_enter(_pointer_pos.x, _pointer_pos.y, _mouse_botton_state); + } else { + set_cursor(_inactive_cursor); + } + + return true; +} + +void RedScreen::on_pointer_enter(int x, int y, unsigned int buttons_state) +{ + if (_mouse_captured) { + return; + } + + _pointer_on_screen = true; + _pointer_pos.x = x; + _pointer_pos.y = y; + _mouse_botton_state = buttons_state; + + ScreenLayer* layer = find_pointer_layer(); + if (!layer) { + set_cursor(_inactive_cursor); + return; + } + + _pointer_layer = layer; + _pointer_layer->on_pointer_enter(_pointer_pos.x, _pointer_pos.y, buttons_state); + + if (_full_screen) { + /* allowing enterance to key interception mode without + requiring the user to press the window + */ + activate(); + } +} + +void RedScreen::on_mouse_motion(int x, int y, unsigned int buttons_state) +{ + if (x != _mouse_anchor_point.x || y != _mouse_anchor_point.y) { + _owner.on_mouse_motion(x - _mouse_anchor_point.x, + y - _mouse_anchor_point.y, + buttons_state); + reset_mouse_pos(); + } +} + +void RedScreen::on_pointer_motion(int x, int y, unsigned int buttons_state) +{ + if (_mouse_captured) { + on_mouse_motion(x, y, buttons_state); + return; + } + + _pointer_pos.x = x; + _pointer_pos.y = y; + _mouse_botton_state = buttons_state; + + if (update_pointer_layer() || !_pointer_layer) { + return; + } + + _pointer_layer->on_pointer_motion(x, y, buttons_state); +} + +void RedScreen::on_mouse_button_press(SpiceMouseButton button, unsigned int buttons_state) +{ + if (_mouse_captured) { + _owner.on_mouse_down(button, buttons_state); + return; + } + + if (!_pointer_layer) { + return; + } + + _pointer_layer->on_mouse_button_press(button, buttons_state); +} + +void RedScreen::on_mouse_button_release(SpiceMouseButton button, unsigned int buttons_state) +{ + if (_mouse_captured) { + _owner.on_mouse_up(button, buttons_state); + return; + } + + if (!_pointer_layer) { + return; + } + _pointer_layer->on_mouse_button_release(button, buttons_state); +} + +void RedScreen::on_pointer_leave() +{ +// ASSERT(!_mouse_captured); + + if (_pointer_layer) { + _pointer_layer->on_pointer_leave(); + _pointer_layer = NULL; + } + _pointer_on_screen = false; +} + +void RedScreen::on_key_press(RedKey key) +{ + _owner.on_key_down(key); +} + +void RedScreen::on_key_release(RedKey key) +{ + _owner.on_key_up(key); +} + +void RedScreen::on_char(uint32_t ch) +{ + _owner.on_char(ch); +} + +void RedScreen::on_deactivate() +{ + relase_mouse(); + _active = false; + _owner.on_deactivate_screen(this); +} + +void RedScreen::on_activate() +{ + _active = true; + _owner.on_activate_screen(this); +} + +void RedScreen::on_start_key_interception() +{ + _key_interception = true; + _owner.on_start_screen_key_interception(this); +} + +void RedScreen::on_stop_key_interception() +{ + _key_interception = false; + _owner.on_stop_screen_key_interception(this); +} + +void RedScreen::enter_modal_loop() +{ + _force_update_timer++; + activate_timer(); +} + +void RedScreen::exit_modal_loop() +{ + ASSERT(_force_update_timer > 0) + _force_update_timer--; +} + +void RedScreen::pre_migrate() +{ + for (int i = 0; i < (int)_layers.size(); i++) { + if (!_layers[i]) { + continue; + } + _layers[i]->pre_migrate(); + } +} + +void RedScreen::post_migrate() +{ + for (int i = 0; i < (int)_layers.size(); i++) { + if (!_layers[i]) { + continue; + } + _layers[i]->post_migrate(); + } +} + +void RedScreen::exit_full_screen() +{ + if (!_full_screen) { + return; + } + RecurciveLock lock(_update_lock); + _window.hide(); + region_clear(&_dirty_region); + _window.set_type(RedWindow::TYPE_NORMAL); + adjust_window_rect(_save_pos.x, _save_pos.y); + _origin.x = _origin.y = 0; + _window.set_origin(0, 0); + show(); + if (_menu_needs_update) { + update_menu(); + } + _full_screen = false; + _out_of_sync = false; + _frame_area = false; +} + +void RedScreen::save_position() +{ + _save_pos = _window.get_position(); +} + +void RedScreen::__show_full_screen() +{ + if (!_monitor) { + hide(); + return; + } + SpicePoint position = _monitor->get_position(); + SpicePoint monitor_size = _monitor->get_size(); + _frame_area = false; + region_clear(&_dirty_region); + _window.set_type(RedWindow::TYPE_FULLSCREEN); + _window.move_and_resize(position.x, position.y, monitor_size.x, monitor_size.y); + + if (!(_out_of_sync = _monitor->is_out_of_sync())) { + ASSERT(monitor_size.x >= _size.x); + ASSERT(monitor_size.y >= _size.y); + _origin.x = (monitor_size.x - _size.x) / 2; + _origin.y = (monitor_size.y - _size.y) / 2; + _frame_area = monitor_size.x != _size.x || monitor_size.y != _size.y; + } else { + _origin.x = _origin.y = 0; + } + _window.set_origin(_origin.x, _origin.y); + show(); +} + +void RedScreen::show_full_screen() +{ + if (_full_screen) { + return; + } + RecurciveLock lock(_update_lock); +#ifndef WIN32 + /* performing hide during resolution changes resulted in + missing WM_KEYUP events */ + hide(); +#endif + save_position(); + _full_screen = true; + __show_full_screen(); +} + +void RedScreen::minimize() +{ + _window.minimize(); +} + +void RedScreen::position_full_screen(const SpicePoint& position) +{ + if (!_full_screen) { + return; + } + + _window.move(position.x, position.y); +} + +void RedScreen::hide() +{ + _window.hide(); +} + +void RedScreen::show() +{ + RecurciveLock lock(_update_lock); + _window.show(_monitor ? _monitor->get_screen_id() : 0); +} + +void RedScreen::activate() +{ + _window.activate(); +} + +void RedScreen::external_show() +{ + DBG(0, "Entry"); + _window.external_show(); +} + +void RedScreen::update_menu() +{ + AutoRef<Menu> menu(_owner.get_app_menu()); + int ret = _window.set_menu(*menu); + _menu_needs_update = (ret != 0); /* try again if menu update failed */ +} + +void RedScreen::on_exposed_rect(const SpiceRect& area) +{ + if (is_out_of_sync()) { + _window.fill_rect(area, rgb32_make(0xff, 0xff, 0xff)); + return; + } + invalidate(area, false); +} + +int RedScreen::get_screen_id() +{ + return _monitor ? _monitor->get_screen_id() : 0; +} + +#ifdef USE_OPENGL +void RedScreen::untouch_context() +{ + _window.untouch_context(); +} + +bool RedScreen::need_recreate_context_gl() +{ + if (_full_screen) { + return true; + } + return false; +} + +#endif + +void RedScreen::set_update_interrupt_trigger(EventSources::Trigger *trigger) +{ + _update_interrupt_trigger = trigger; +} + +bool RedScreen::update_by_interrupt() +{ + return _update_interrupt_trigger != NULL; +} + +void RedScreen::interrupt_update() +{ + _update_interrupt_trigger->trigger(); +} + +#ifdef USE_OPENGL +void RedScreen::set_type_gl() +{ + _window.set_type_gl(); +} + +void RedScreen::unset_type_gl() +{ + _window.unset_type_gl(); +} +#endif // USE_OPENGL diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/screen.h b/tizen/distrib/remote/server/spice-0.12.2/client/screen.h new file mode 100644 index 0000000..4093006 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/screen.h @@ -0,0 +1,211 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_SCREEN +#define _H_SCREEN + +#include "common/region.h" + +#include "common.h" +#include "red_key.h" +#ifdef USE_OPENGL +#include "GL/gl.h" +#endif // USE_OPENGL + +#include "red_window.h" +#include "platform.h" +#include "process_loop.h" +#include "threads.h" +#include "utils.h" + +class Application; +class ScreenLayer; +class Monitor; +class RedScreen; + +enum { + SCREEN_LAYER_DISPLAY, + SCREEN_LAYER_CURSOR, + SCREEN_LAYER_GUI_BARIER, + SCREEN_LAYER_GUI, + SCREEN_LAYER_INFO, +}; + +class UpdateTimer: public Timer { +public: + UpdateTimer(RedScreen* screen) : _screen (screen) {} + virtual void response(AbstractProcessLoop& events_loop); +private: + RedScreen* _screen; +}; + +class RedScreen: public RedWindow::Listener { +public: + RedScreen(Application& owner, int id, const std::string& name, int width, int height); + + RedScreen* ref(); + void unref(); + + void attach_layer(ScreenLayer& layer); + void detach_layer(ScreenLayer& layer); + void on_layer_changed(ScreenLayer& layer); + /* When resizing on full screen mode, the monitor must be configured + * correctly before calling resize*/ + void resize(int width, int height); + void set_name(const std::string& name); + uint64_t invalidate(const SpiceRect& rect, bool urgent); + void invalidate(const QRegion ®ion); + void capture_mouse(); + void relase_mouse(); + bool is_mouse_captured() { return _mouse_captured;} + bool intercepts_sys_key() { return _key_interception;} + SpicePoint get_size() { return _size;} + bool has_monitor() { return _monitor != 0;} + void lock_size(); + void unlock_size(); + bool is_size_locked() { return _size_locked;} + void set_monitor(Monitor *monitor) { _monitor = monitor;} + Monitor* get_monitor() { return _monitor;} + RedWindow* get_window() { return &_window;} + bool is_out_of_sync() { return _out_of_sync;} + void set_cursor(LocalCursor* cursor); + void hide_cursor(); + void exit_full_screen(); + void minimize(); + void show(bool activate, RedScreen* pos); + void show_full_screen(); + void position_full_screen(const SpicePoint& position); + void hide(); + void show(); + void activate(); + void external_show(); + void update_menu(); + + int get_id() { return _id;} + int get_screen_id(); + +#ifdef USE_OPENGL + void untouch_context(); + bool need_recreate_context_gl(); + void set_type_gl(); + void unset_type_gl(); +#endif + void set_update_interrupt_trigger(EventSources::Trigger *trigger); + bool update_by_interrupt(); + void interrupt_update(); + + void update(); + +private: + friend class UpdateEvent; + friend class UpdateTimer; + + virtual ~RedScreen(); + void create_composit_area(); + + void destroy_composit_area(); + void erase_background(RedDrawable& dc, const QRegion& region); + void notify_new_size(); + void adjust_window_rect(int x, int y); + void save_position(); + void __show_full_screen(); + + bool _invalidate(const SpiceRect& rect, bool urgent, uint64_t& update_mark); + void begin_update(QRegion& direct_rgn, QRegion& composit_rgn, QRegion& frame_rgn); + void update_composit(QRegion& composit_rgn); + void draw_direct(RedDrawable& win_dc, QRegion& direct_rgn, QRegion& composit_rgn, + QRegion& frame_rgn); + void activate_timer(); + void update_done(); + void periodic_update(); + bool is_dirty() {return !region_is_empty(&_dirty_region);} + void composit_to_screen(RedDrawable& win_dc, const QRegion& region); + + void reset_mouse_pos(); + ScreenLayer* find_pointer_layer(); + bool update_pointer_layer(); + + virtual void on_exposed_rect(const SpiceRect& area); + virtual void on_pointer_enter(int x, int y, unsigned int buttons_state); + virtual void on_pointer_motion(int x, int y, unsigned int buttons_state); + virtual void on_pointer_leave(); + void on_mouse_motion(int x, int y, unsigned int buttons_state); + virtual void on_mouse_button_press(SpiceMouseButton button, unsigned int buttons_state); + virtual void on_mouse_button_release(SpiceMouseButton button, unsigned int buttons_state); + + virtual void on_key_press(RedKey key); + virtual void on_key_release(RedKey key); + virtual void on_char(uint32_t ch); + + virtual void on_deactivate(); + virtual void on_activate(); + + virtual void on_start_key_interception(); + virtual void on_stop_key_interception(); + virtual void enter_modal_loop(); + virtual void exit_modal_loop(); + + virtual void pre_migrate(); + virtual void post_migrate(); + +private: + Application& _owner; + int _id; + AtomicCount _refs; + std::string _name; + RedWindow _window; + std::vector<ScreenLayer*> _layers; + QRegion _dirty_region; + RecurciveMutex _update_lock; + bool _active; + bool _full_screen; + bool _out_of_sync; + bool _frame_area; + bool _periodic_update; + bool _key_interception; + bool _update_by_timer; + bool _size_locked; + bool _menu_needs_update; + int _force_update_timer; + AutoRef<UpdateTimer> _update_timer; + RedDrawable* _composit_area; + uint64_t _update_mark; + + SpicePoint _size; + SpicePoint _origin; + SpicePoint _mouse_anchor_point; + SpicePoint _save_pos; + Monitor* _monitor; + + LocalCursor* _default_cursor; + LocalCursor* _inactive_cursor; + + int _pixel_format_index; + EventSources::Trigger *_update_interrupt_trigger; + + ScreenLayer* _pointer_layer; + bool _mouse_captured; + Mutex _layer_changed_lock; + bool _active_layer_change_event; + bool _pointer_on_screen; + SpicePoint _pointer_pos; + unsigned int _mouse_botton_state; + + friend class LayerChangedEvent; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/screen_layer.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/screen_layer.cpp new file mode 100644 index 0000000..3638509 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/screen_layer.cpp @@ -0,0 +1,239 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "screen_layer.h" +#include "utils.h" +#include "screen.h" +#include "application.h" +#include "debug.h" + +class AttachLayerEvent: public SyncEvent { +public: + AttachLayerEvent(ScreenLayer& layer, int screen_id) + : _layer (layer) + , _screen_id (screen_id) + { + } + + virtual void do_response(AbstractProcessLoop& events_loop); + +private: + ScreenLayer& _layer; + int _screen_id; +}; + +void AttachLayerEvent::do_response(AbstractProcessLoop& events_loop) +{ + Application* app = (Application*)(events_loop.get_owner()); + AutoRef<RedScreen> screen(app->get_screen(_screen_id)); + (*screen)->attach_layer(_layer); +} + +class DetachLayerEvent: public SyncEvent { +public: + DetachLayerEvent(ScreenLayer& _layer) : _layer (_layer) {} + + virtual void do_response(AbstractProcessLoop& events_loop); + +private: + ScreenLayer& _layer; +}; + +void DetachLayerEvent::do_response(AbstractProcessLoop& events_loop) +{ + _layer.screen()->detach_layer(_layer); +} + +ScreenLayer::ScreenLayer(int z_order, bool opaque) + : _screen (NULL) + , _z_order (z_order) + , _opaque (opaque) + , _using_ogl (false) +{ + region_init(&_area); + region_init(&_direct_area); + region_init(&_composit_area); +} + +ScreenLayer::~ScreenLayer() +{ + ASSERT(!_screen); + region_destroy(&_area); + region_destroy(&_direct_area); + region_destroy(&_composit_area); +} + +uint64_t ScreenLayer::invalidate_rect(const SpiceRect& r, bool urgent) +{ + return _screen->invalidate(r, urgent); +} + +uint64_t ScreenLayer::invalidate(const SpiceRect& r, bool urgent) +{ + if (!_screen) { + return 0; + } + return invalidate_rect(r, urgent); +} + +void ScreenLayer::invalidate(const QRegion& region) +{ + pixman_box32_t *rects, *end; + int num_rects; + + if (!_screen) { + return; + } + + rects = pixman_region32_rectangles((pixman_region32_t *)®ion, &num_rects); + end = rects + num_rects; + + while (rects != end) { + SpiceRect r; + + r.left = rects->x1; + r.top = rects->y1; + r.right = rects->x2; + r.bottom = rects->y2; + rects++; + + invalidate_rect(r, false); + } +} + +void ScreenLayer::invalidate() +{ + invalidate(_area); +} + +void ScreenLayer::notify_changed() +{ + if (_screen) { + _screen->on_layer_changed(*this); + } +} + +void ScreenLayer::set_area(const QRegion& area) +{ + Lock lock(_area_lock); + invalidate(); + region_destroy(&_area); + region_clone(&_area, &area); + invalidate(); + notify_changed(); +} + +void ScreenLayer::clear_area() +{ + Lock lock(_area_lock); + invalidate(); + region_clear(&_area); + notify_changed(); +} + +void ScreenLayer::set_rect_area(const SpiceRect& r) +{ + Lock lock(_area_lock); + invalidate(); + region_clear(&_area); + region_add(&_area, &r); + invalidate(); + notify_changed(); +} + +void ScreenLayer::offset_area(int dx, int dy) +{ + Lock lock(_area_lock); + invalidate(); + region_offset(&_area, dx, dy); + invalidate(); + notify_changed(); +} + +void ScreenLayer::add_rect_area(const SpiceRect& r) +{ + Lock lock(_area_lock); + region_add(&_area, &r); + notify_changed(); +} + +void ScreenLayer::remove_rect_area(const SpiceRect& r) +{ + Lock lock(_area_lock); + invalidate(); + region_remove(&_area, &r); + notify_changed(); +} + +void ScreenLayer::begin_update(QRegion& direct_rgn, QRegion& composit_rgn) +{ + Lock lock(_area_lock); + region_destroy(&_direct_area); + region_clone(&_direct_area, &_area); + region_and(&_direct_area, &direct_rgn); + + region_destroy(&_composit_area); + region_clone(&_composit_area, &_area); + region_and(&_composit_area, &composit_rgn); + + region_exclude(&direct_rgn, &_direct_area); + if (_opaque) { + region_exclude(&composit_rgn, &_composit_area); + } else { + region_or(&composit_rgn, &_direct_area); + region_or(&_composit_area, &_direct_area); + region_clear(&_direct_area); + } +} + +bool ScreenLayer::contains_point(int x, int y) +{ + Lock lock(_area_lock); + return !!region_contains_point(&_area, x, y); +} + +void ScreenLayer::attach_to_screen(Application& application, int screen_id) +{ + if (_screen) { + return; + } + AutoRef<AttachLayerEvent> event(new AttachLayerEvent(*this, screen_id)); + application.push_event(*event); + (*event)->wait(); + if (!(*event)->success()) { + THROW("attach failed"); + } + ASSERT(_screen); +} + +void ScreenLayer::detach_from_screen(Application& application) +{ + if (!_screen) { + return; + } + AutoRef<DetachLayerEvent> event(new DetachLayerEvent(*this)); + application.push_event(*event); + (*event)->wait(); + if (!(*event)->success()) { + THROW("detach failed"); + } + ASSERT(!_screen); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/screen_layer.h b/tizen/distrib/remote/server/spice-0.12.2/client/screen_layer.h new file mode 100644 index 0000000..1168b24 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/screen_layer.h @@ -0,0 +1,87 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_SCREEN_LAYER +#define _H_SCREEN_LAYER + +#include "common/region.h" +#include "threads.h" + +class RedScreen; +class Application; + +class ScreenLayer { +public: + ScreenLayer(int z_order, bool opaque); + virtual ~ScreenLayer(); + + void attach_to_screen(Application& application, int screen_id); + void detach_from_screen(Application& application); + + void set_screen(RedScreen* screen) { _screen = screen;} + RedScreen* screen() { return _screen; } + int z_order() { return _z_order;} + void set_area(const QRegion& area); + void offset_area(int dx, int dy); + void clear_area(); + void set_rect_area(const SpiceRect& r); + void add_rect_area(const SpiceRect& r); + void remove_rect_area(const SpiceRect& r); + void begin_update(QRegion& direct_rgn, QRegion& composit_rgn); + void invalidate(); + uint64_t invalidate(const SpiceRect& r, bool urgent = false); + void invalidate(const QRegion& r); + bool contains_point(int x, int y); + + virtual void copy_pixels(const QRegion& dest_region, RedDrawable& dest_dc) {} + + void set_using_ogl(bool val) {_using_ogl = val;} + bool using_ogl() {return _using_ogl;} + virtual void on_size_changed() {} + + virtual void pre_migrate() { } + virtual void post_migrate() { } + + QRegion& area() { return _area;} + QRegion& direct_area() { return _direct_area;} + QRegion& composit_area() { return _composit_area;} + + virtual void on_update_completion(uint64_t mark) {} + + virtual bool pointer_test(int x, int y) { return false;} + virtual void on_pointer_enter(int x, int y, unsigned int buttons_state) {} + virtual void on_pointer_motion(int x, int y, unsigned int buttons_state) {} + virtual void on_pointer_leave() {} + virtual void on_mouse_button_press(int button, int buttons_state) {} + virtual void on_mouse_button_release(int button, int buttons_state) {} + +private: + uint64_t invalidate_rect(const SpiceRect& r, bool urgent); + void notify_changed(); + +private: + RedScreen* _screen; + int _z_order; + bool _opaque; + bool _using_ogl; + Mutex _area_lock; + QRegion _area; + QRegion _direct_area; + QRegion _composit_area; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/shared_cache.hpp b/tizen/distrib/remote/server/spice-0.12.2/client/shared_cache.hpp new file mode 100644 index 0000000..450116c --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/shared_cache.hpp @@ -0,0 +1,223 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_SHARED_CACHE +#define _H_SHARED_CACHE + +#include "utils.h" +#include "threads.h" + +/*class SharedCache::Treat { + T* get(T*); + void release(T*); + const char* name(); +};*/ + +template <class T, class Treat, int HASH_SIZE, class Base = EmptyBase> +class SharedCache : public Base { +public: + SharedCache() + : _aborting (false) + { + memset(_hash, 0, sizeof(_hash)); + } + + ~SharedCache() + { + clear(); + } + + void add(uint64_t id, T* data, bool is_lossy = FALSE) + { + Lock lock(_lock); + Item** item = &_hash[key(id)]; + + while (*item) { + if ((*item)->id == id) { + (*item)->refs++; + return; + } + item = &(*item)->next; + } + *item = new Item(id, data, is_lossy); + _new_item_cond.notify_all(); + } + + T* get(uint64_t id) + { + Lock lock(_lock); + Item* item = _hash[key(id)]; + + for (;;) { + if (!item) { + if (_aborting) { + THROW("%s aborting", Treat::name()); + } + _new_item_cond.wait(lock); + item = _hash[key(id)]; + continue; + } + + if (item->id != id) { + item = item->next; + continue; + } + + return Treat::get(item->data); + } + } + + T* get_lossless(uint64_t id) + { + Lock lock(_lock); + Item* item = _hash[key(id)]; + + for (;;) { + if (!item) { + if (_aborting) { + THROW("%s aborting", Treat::name()); + } + _new_item_cond.wait(lock); + item = _hash[key(id)]; + continue; + } + + if (item->id != id) { + item = item->next; + continue; + } + break; + } + + // item has been retreived. Now checking if lossless + for (;;) { + if (item->lossy) { + if (_aborting) { + THROW("%s aborting", Treat::name()); + } + _replace_data_cond.wait(lock); + continue; + } + + return Treat::get(item->data); + } + } + + void replace(uint64_t id, T* data, bool is_lossy = FALSE) + { + Lock lock(_lock); + Item* item = _hash[key(id)]; + + for (;;) { + if (!item) { + if (_aborting) { + THROW("%s aborting", Treat::name()); + } + _new_item_cond.wait(lock); + item = _hash[key(id)]; + continue; + } + + if (item->id != id) { + item = item->next; + continue; + } + + item->replace(data, is_lossy); + break; + } + _replace_data_cond.notify_all(); + } + + void remove(uint64_t id) + { + Lock lock(_lock); + Item** item = &_hash[key(id)]; + + while (*item) { + if ((*item)->id == id) { + if (!--(*item)->refs) { + Item *rm_item = *item; + *item = rm_item->next; + delete rm_item; + } + return; + } + item = &(*item)->next; + } + THROW("%s id %" PRIu64 ", not found", Treat::name(), id); + } + + void clear() + { + Lock lock(_lock); + for (int i = 0; i < HASH_SIZE; i++) { + while (_hash[i]) { + Item *item = _hash[i]; + _hash[i] = item->next; + delete item; + } + } + } + + void abort() + { + Lock lock(_lock); + _aborting = true; + _new_item_cond.notify_all(); + } + +private: + inline uint32_t key(uint64_t id) {return uint32_t(id) % HASH_SIZE;} + +private: + class Item { + public: + Item(uint64_t in_id, T* data, bool is_lossy = FALSE) + : id (in_id) + , refs (1) + , next (NULL) + , data (Treat::get(data)) + , lossy (is_lossy) {} + + ~Item() + { + Treat::release(data); + } + + void replace(T* new_data, bool is_lossy = FALSE) + { + Treat::release(data); + data = Treat::get(new_data); + lossy = is_lossy; + } + + uint64_t id; + int refs; + Item* next; + T* data; + bool lossy; + }; + + Item* _hash[HASH_SIZE]; + Mutex _lock; + Condition _new_item_cond; + Condition _replace_data_cond; + bool _aborting; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/smartcard_channel.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/smartcard_channel.cpp new file mode 100644 index 0000000..720b879 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/smartcard_channel.cpp @@ -0,0 +1,553 @@ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <spice/enums.h> +#include "common/mutex.h" + +#include "red_client.h" + +extern "C" { +#include <vscard_common.h> +#include <vreader.h> +#include <vcard_emul.h> +#include <vevent.h> +} + +#include "smartcard_channel.h" + +#define APDUBufSize 270 + +#define MAX_ATR_LEN 40 + +//#define DEBUG_SMARTCARD + +#ifdef DEBUG_SMARTCARD +void PrintByteArray(uint8_t *arrBytes, unsigned int nSize) +{ + int i; + + for (i=0; i < nSize; i++) { + DBG(0, "%X ", arrBytes[i]); + } + DBG(0, "\n"); +} +#define DEBUG_PRINT_BYTE_ARRAY(arrBytes, nSize) PrintByteArray(arrBytes, nSize) +#else +#define DEBUG_PRINT_BYTE_ARRAY(arrBytes, nSize) +#endif + +SmartCardChannel* g_smartcard_channel = NULL; // used for insert/remove of virtual card. Can be + // changed if we let Application store the SmartCard instance. + +class SmartCardHandler: public MessageHandlerImp<SmartCardChannel, SPICE_CHANNEL_SMARTCARD> { +public: + SmartCardHandler(SmartCardChannel& channel) + : MessageHandlerImp<SmartCardChannel, SPICE_CHANNEL_SMARTCARD>(channel) {} +}; + + +SmartCardChannel::SmartCardChannel(RedClient& client, uint32_t id) + : RedChannel(client, SPICE_CHANNEL_SMARTCARD, id, new SmartCardHandler(*this)) + , _next_sync_vevent(VEVENT_LAST) +{ + SmartCardHandler* handler = static_cast<SmartCardHandler*>(get_message_handler()); + + g_smartcard_channel = this; + handler->set_handler(SPICE_MSG_SMARTCARD_DATA, + &SmartCardChannel::handle_smartcard_data); +} + +ReaderData* SmartCardChannel::reader_data_from_vreader(VReader* vreader) +{ + if (vreader == NULL) { + assert(_readers_by_vreader.size() > 0); + return _readers_by_vreader.begin()->second; + } + if (_readers_by_vreader.count(vreader) > 0) { + return _readers_by_vreader.find(vreader)->second; + } + assert(_unallocated_readers_by_vreader.count(vreader) > 0); + return _unallocated_readers_by_vreader.find(vreader)->second; +} + +ReaderData* SmartCardChannel::reader_data_from_reader_id(uint32_t reader_id) +{ + if (_readers_by_id.count(reader_id) > 0) { + return _readers_by_id.find(reader_id)->second; + } + return NULL; +} + +/** On VEVENT_READER_INSERT we call this, send a VSC_ReaderAdd, and wait for a VSC_ReaderAddResponse + */ +void SmartCardChannel::add_unallocated_reader(VReader* vreader, const char* name) +{ + ReaderData* data = new ReaderData(); + + data->vreader = vreader; + data->reader_id = VSCARD_UNDEFINED_READER_ID; + data->name = spice_strdup(name); + _unallocated_readers_by_vreader.insert(std::pair<VReader*, ReaderData*>(vreader, data)); + LOG_INFO("adding unallocated reader %p", data); +} + +/** called upon the VSC_ReaderAddResponse + */ +ReaderData* SmartCardChannel::add_reader(uint32_t reader_id) +{ + ReaderData* data; + size_t unallocated = _unallocated_readers_by_vreader.size(); + + assert(unallocated > 0); + data = _unallocated_readers_by_vreader.begin()->second; + data->reader_id = reader_id; + LOG_INFO("adding %p->%d", data, reader_id); + _readers_by_vreader.insert( + std::pair<VReader*, ReaderData*>(data->vreader, data)); + assert(_readers_by_vreader.count(data->vreader) == 1); + _readers_by_id.insert(std::pair<uint32_t, ReaderData*>(reader_id, data)); + assert(_readers_by_id.count(reader_id) == 1); + _unallocated_readers_by_vreader.erase(_unallocated_readers_by_vreader.begin()); + assert(_unallocated_readers_by_vreader.size() == unallocated - 1); + assert(_unallocated_readers_by_vreader.count(data->vreader) == 0); + return data; +} + +void* SmartCardChannel::cac_card_events_thread_entry(void* data) +{ + static_cast<SmartCardChannel*>(data)->cac_card_events_thread_main(); + return NULL; +} + +VEventEvent::VEventEvent(SmartCardChannel* smartcard_channel, VEvent* vevent) + : _smartcard_channel(smartcard_channel) + , _vreader(vevent->reader) + , _vevent(vevent) +{ +} + +VEventEvent::~VEventEvent() +{ + vevent_delete(_vevent); +} + +void ReaderAddEvent::response(AbstractProcessLoop& events_loop) +{ + static int num = 0; + char name[20]; + + sprintf(name, "test%4d", num++); + _smartcard_channel->add_unallocated_reader(_vreader, name); + _smartcard_channel->send_reader_added(name); +} + +void ReaderRemoveEvent::response(AbstractProcessLoop& events_loop) +{ + ReaderData* data; + + data = _smartcard_channel->reader_data_from_vreader(_vreader); + _smartcard_channel->send_reader_removed(data->reader_id); + _smartcard_channel->remove_reader(data); +} + +void CardInsertEvent::response(AbstractProcessLoop& events_loop) +{ + ReaderData* data = _smartcard_channel->reader_data_from_vreader( + _vreader); + + if (data->reader_id == VSCARD_UNDEFINED_READER_ID) { + data->card_insert_pending = true; + } else { + _smartcard_channel->send_atr(_vreader); + } +} + +void CardRemoveEvent::response(AbstractProcessLoop& events_loop) +{ + ReaderData* data = _smartcard_channel->reader_data_from_vreader( + _vreader); + + ASSERT(data->reader_id != VSCARD_UNDEFINED_READER_ID); + _smartcard_channel->send_message(data->reader_id, VSC_CardRemove, NULL, 0); +} + +void SmartCardChannel::remove_reader(ReaderData* data) +{ + // TODO - untested code (caccard doesn't produce these events yet) + if (_readers_by_vreader.count(data->vreader) > 0) { + _readers_by_vreader.erase(_readers_by_vreader.find(data->vreader)); + _readers_by_id.erase(_readers_by_id.find(data->reader_id)); + } else { + _unallocated_readers_by_vreader.erase( + _unallocated_readers_by_vreader.find(data->vreader)); + } + free(data->name); + delete data; +} + +/* Sync events need to be sent one by one, waiting for VSC_Error + * messages from the server in between. */ +void SmartCardChannel::push_sync_event(VEventType type, Event *event) +{ + event->ref(); + _sync_events.push_back(SmartCardEvent(type, event)); + if (_next_sync_vevent != VEVENT_LAST) { + return; + } + send_next_sync_event(); +} + +void SmartCardChannel::send_next_sync_event() +{ + if (_sync_events.empty()) { + _next_sync_vevent = VEVENT_LAST; + return; + } + SmartCardEvent sync_event = _sync_events.front(); + _sync_events.pop_front(); + get_client().push_event(sync_event.second); + sync_event.second->unref(); + _next_sync_vevent = sync_event.first; +} + +void SmartCardChannel::handle_reader_add_response(VSCMsgHeader *vheader, + VSCMsgError *error) +{ + ReaderData* data; + + if (error->code == VSC_SUCCESS) { + data = add_reader(vheader->reader_id); + if (data->card_insert_pending) { + data->card_insert_pending = false; + send_atr(data->vreader); + } + } else { + LOG_WARN("VSC Error: reader %d, code %d", + vheader->reader_id, error->code); + } +} + +void SmartCardChannel::handle_error_message(VSCMsgHeader *vheader, + VSCMsgError *error) +{ + switch (_next_sync_vevent) { + case VEVENT_READER_INSERT: + handle_reader_add_response(vheader, error); + break; + case VEVENT_CARD_INSERT: + case VEVENT_CARD_REMOVE: + case VEVENT_READER_REMOVE: + break; + default: + LOG_WARN("Unexpected Error message: %d", error->code); + } + send_next_sync_event(); +} + +void SmartCardChannel::cac_card_events_thread_main() +{ + VEvent *vevent = NULL; + bool cont = true; + + while (cont) { + vevent = vevent_wait_next_vevent(); + if (vevent == NULL) { + break; + } + switch (vevent->type) { + case VEVENT_READER_INSERT: + LOG_INFO("VEVENT_READER_INSERT"); + { + AutoRef<ReaderAddEvent> event(new ReaderAddEvent(this, vevent)); + push_sync_event(vevent->type, *event); + } + break; + case VEVENT_READER_REMOVE: + LOG_INFO("VEVENT_READER_REMOVE"); + { + AutoRef<ReaderRemoveEvent> event(new ReaderRemoveEvent(this, vevent)); + push_sync_event(vevent->type, *event); + } + break; + case VEVENT_CARD_INSERT: + LOG_INFO("VEVENT_CARD_INSERT"); + { + AutoRef<CardInsertEvent> event(new CardInsertEvent(this, vevent)); + push_sync_event(vevent->type, *event); + } + break; + case VEVENT_CARD_REMOVE: + LOG_INFO("VEVENT_CARD_REMOVE"); + { + AutoRef<CardRemoveEvent> event(new CardRemoveEvent(this, vevent)); + push_sync_event(vevent->type, *event); + } + break; + case VEVENT_LAST: + cont = false; + default: + /* anything except VEVENT_LAST and default + * gets to VEventEvent which does vevent_delete in VEventEvent~ */ + vevent_delete(vevent); + } + } +} + +void virtual_card_insert() +{ + if (g_smartcard_channel == NULL) { + return; + } + g_smartcard_channel->virtual_card_insert(); +} + +void SmartCardChannel::virtual_card_insert() +{ + if (_readers_by_id.size() == 0) { + return; + } + vcard_emul_force_card_insert(_readers_by_id.begin()->second->vreader); +} + +void virtual_card_remove() +{ + if (g_smartcard_channel == NULL) { + return; + } + g_smartcard_channel->virtual_card_remove(); +} + +void SmartCardChannel::virtual_card_remove() +{ + if (_readers_by_id.size() == 0) { + return; + } + vcard_emul_force_card_remove(_readers_by_id.begin()->second->vreader); +} + +#define CERTIFICATES_DEFAULT_DB "/etc/pki/nssdb" +#define CERTIFICATES_ARGS_TEMPLATE "db=\"%s\" use_hw=no soft=(,Virtual Card,CAC,,%s,%s,%s)" + +SmartcardOptions::SmartcardOptions() : +dbname(CERTIFICATES_DEFAULT_DB), +enable(false) +{ +} + +static VCardEmulError init_vcard_local_certs(const char* dbname, const char* cert1, + const char* cert2, const char* cert3) +{ + char emul_args[200]; + VCardEmulOptions *options = NULL; + + snprintf(emul_args, sizeof(emul_args) - 1, CERTIFICATES_ARGS_TEMPLATE, + dbname, cert1, cert2, cert3); + options = vcard_emul_options(emul_args); + if (options == NULL) { + LOG_WARN("not using certificates due to initialization error"); + } + return vcard_emul_init(options); +} + +static bool g_vcard_inited = false; + +void smartcard_init(const SmartcardOptions* options) +{ + if (g_vcard_inited) { + return; + } + if (options->certs.size() == 3) { + const char* dbname = options->dbname.c_str(); + if (init_vcard_local_certs(dbname, options->certs[0].c_str(), + options->certs[1].c_str(), options->certs[2].c_str()) != VCARD_EMUL_OK) { + throw Exception("smartcard: emulated card initialization failed (check certs/db)"); + } + } else { + if (options->certs.size() > 0) { + LOG_WARN("Ignoring smartcard certificates - must be exactly three for virtual card emulation"); + } + if (vcard_emul_init(NULL) != VCARD_EMUL_OK) { + throw Exception("smartcard: vcard initialization failed (check hardware/drivers)"); + } + } + g_vcard_inited = true; +} + +void SmartCardChannel::on_connect() +{ + _event_thread = new Thread(SmartCardChannel::cac_card_events_thread_entry, this); +} + +void SmartCardChannel::on_disconnect() +{ + VEvent *stop_event; + + if (_event_thread == NULL) { + return; + } + stop_event = vevent_new(VEVENT_LAST, NULL, NULL); + vevent_queue_vevent(stop_event); + _event_thread->join(); + delete _event_thread; + _event_thread = NULL; +} + + +void SmartCardChannel::send_reader_removed(uint32_t reader_id) +{ + send_message(reader_id, VSC_ReaderRemove, NULL, 0); +} + +void SmartCardChannel::send_reader_added(const char* reader_name) +{ + send_message(VSCARD_UNDEFINED_READER_ID, + VSC_ReaderAdd, (uint8_t*)reader_name, strlen(reader_name)); +} + +void SmartCardChannel::send_atr(VReader* vreader) +{ + unsigned char atr[ MAX_ATR_LEN]; + int atr_len = MAX_ATR_LEN; + uint32_t reader_id = reader_data_from_vreader(vreader)->reader_id; + + assert(reader_id != VSCARD_UNDEFINED_READER_ID); + vreader_power_on(vreader, atr, &atr_len); + DBG(0, "ATR: "); + DEBUG_PRINT_BYTE_ARRAY(atr, atr_len); + send_message(reader_id, VSC_ATR, (uint8_t*)atr, atr_len); +} + +void SmartCardChannel::send_message(uint32_t reader_id, VSCMsgType type, uint8_t* data, uint32_t len) +{ + VSCMsgHeader mhHeader; + Message* msg = new Message(SPICE_MSGC_SMARTCARD_DATA); + SpiceMarshaller* m = msg->marshaller(); + + mhHeader.type = type; + mhHeader.length = len; + mhHeader.reader_id = reader_id; + spice_marshaller_add(m, (uint8_t*)&mhHeader, sizeof(mhHeader)); + spice_marshaller_add(m, data, len); + post_message(msg); +} + +VSCMessageEvent::VSCMessageEvent(SmartCardChannel* smartcard_channel, + VSCMsgHeader* vheader) + : _smartcard_channel(smartcard_channel) + , _vheader(NULL) +{ + _vheader = (VSCMsgHeader*)spice_memdup(vheader, + sizeof(VSCMsgHeader) + vheader->length); + ASSERT(_vheader); +} + +VSCMessageEvent::~VSCMessageEvent() +{ + free(_vheader); +} + +void VSCMessageEvent::response(AbstractProcessLoop& loop) +{ + static int recv_count = 0; + int dwSendLength; + int dwRecvLength; + uint8_t* pbSendBuffer = _vheader->data; + uint8_t pbRecvBuffer[APDUBufSize+sizeof(uint32_t)]; + VReaderStatus reader_status; + uint32_t rv; + + switch (_vheader->type) { + case VSC_APDU: + break; + case VSC_Error: + _smartcard_channel->handle_error_message( + _vheader, + (VSCMsgError*)_vheader->data); + return; + case VSC_Init: + break; + default: + LOG_WARN("unhandled VSC %d of length %d, reader %d", + _vheader->type, _vheader->length, _vheader->reader_id); + return; + } + + /* Transmit recieved APDU */ + dwSendLength = _vheader->length; + dwRecvLength = sizeof(pbRecvBuffer); + + DBG(0, " %3d: recv APDU: ", recv_count++); + DEBUG_PRINT_BYTE_ARRAY(pbSendBuffer, _vheader->length); + + ReaderData* reader_data = _smartcard_channel->reader_data_from_reader_id( + _vheader->reader_id); + if (reader_data == NULL) { + LOG_WARN("got message for non existant reader"); + return; + } + + VReader* vreader = reader_data->vreader; + + reader_status = vreader_xfr_bytes(vreader, + pbSendBuffer, dwSendLength, + pbRecvBuffer, &dwRecvLength); + if (reader_status == VREADER_OK) { + DBG(0, " sent APDU: "); + DEBUG_PRINT_BYTE_ARRAY(pbRecvBuffer, dwRecvLength); + _smartcard_channel->send_message ( + _vheader->reader_id, + VSC_APDU, + pbRecvBuffer, + dwRecvLength + ); + } else { + rv = reader_status; /* warning: not meaningful */ + _smartcard_channel->send_message ( + _vheader->reader_id, + VSC_Error, + (uint8_t*)&rv, + sizeof (uint32_t) + ); + } +} + +void SmartCardChannel::handle_smartcard_data(RedPeer::InMessage* message) +{ + VSCMsgHeader* mhHeader = (VSCMsgHeader*)(message->data()); + + AutoRef<VSCMessageEvent> event(new VSCMessageEvent(this, mhHeader)); + get_client().push_event(*event); +} + +class SmartCardFactory: public ChannelFactory { +public: + SmartCardFactory() : ChannelFactory(SPICE_CHANNEL_SMARTCARD) {} + virtual RedChannel* construct(RedClient& client, uint32_t id) + { + return new SmartCardChannel(client, id); + } +}; + +static SmartCardFactory factory; + +ChannelFactory& SmartCardChannel::Factory() +{ + return factory; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/smartcard_channel.h b/tizen/distrib/remote/server/spice-0.12.2/client/smartcard_channel.h new file mode 100644 index 0000000..0423bff --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/smartcard_channel.h @@ -0,0 +1,159 @@ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifndef __SMART_CARD_H__ +#define __SMART_CARD_H__ + +#include <map> + +#include <vreadert.h> +#include <vscard_common.h> +#include <eventt.h> + +#include "red_channel.h" +#include "red_peer.h" + +class Application; + +struct SmartcardOptions { + std::vector<std::string> certs; + std::string dbname; + bool enable; + SmartcardOptions(); +}; + +void smartcard_init(const SmartcardOptions* options); + +struct ReaderData { + ReaderData() : + vreader(NULL), + reader_id(VSCARD_UNDEFINED_READER_ID), + name(NULL), + card_insert_pending(false) + {} + VReader *vreader; + uint32_t reader_id; + char* name; + bool card_insert_pending; +}; + +void virtual_card_remove(); +void virtual_card_insert(); + +class SmartCardChannel; + +class VEventEvent : public Event { +public: + VEventEvent(SmartCardChannel* smartcard_channel, VEvent* vevent); + ~VEventEvent(); + SmartCardChannel* _smartcard_channel; + VReader* _vreader; + VEvent* _vevent; +}; + +class ReaderAddEvent: public VEventEvent { +public: + ReaderAddEvent(SmartCardChannel* smartcard_channel, VEvent* vevent) + : VEventEvent(smartcard_channel, vevent) {} + virtual void response(AbstractProcessLoop& events_loop); +}; + +class ReaderRemoveEvent: public VEventEvent { +public: + ReaderRemoveEvent(SmartCardChannel* smartcard_channel, VEvent* vevent) + : VEventEvent(smartcard_channel, vevent) {} + virtual void response(AbstractProcessLoop& events_loop); +}; + +class CardInsertEvent: public VEventEvent { +public: + CardInsertEvent(SmartCardChannel* smartcard_channel, VEvent* vevent) + : VEventEvent(smartcard_channel, vevent) {} + virtual void response(AbstractProcessLoop& events_loop); +}; + +class CardRemoveEvent: public VEventEvent { +public: + CardRemoveEvent(SmartCardChannel* smartcard_channel, VEvent* vevent) + : VEventEvent(smartcard_channel, vevent) {} + virtual void response(AbstractProcessLoop& events_loop); +}; + +class VSCMessageEvent: public Event { +public: + VSCMessageEvent(SmartCardChannel* smartcard_channel, + VSCMsgHeader* vheader); + ~VSCMessageEvent(); + SmartCardChannel* _smartcard_channel; + VSCMsgHeader* _vheader; + virtual void response(AbstractProcessLoop& events_loop); +}; + +typedef std::pair<VEventType, Event*> SmartCardEvent; + +class SmartCardChannel : public RedChannel { + +public: + SmartCardChannel(RedClient& client, uint32_t id); + void handle_smartcard_data(RedPeer::InMessage* message); + + void virtual_card_remove(); + void virtual_card_insert(); + static ChannelFactory& Factory(); +protected: + virtual void on_connect(); + virtual void on_disconnect(); + +private: + static void* cac_card_events_thread_entry(void* data); + void cac_card_events_thread_main(); + void send_message(uint32_t reader_id, VSCMsgType type, uint8_t* data, uint32_t len); + + Thread* _event_thread; + + Application* _app; + + VReaderList *_reader_list; + typedef std::map<uint32_t, ReaderData*> readers_by_id_t; + readers_by_id_t _readers_by_id; + typedef std::map<VReader*, ReaderData*> readers_by_vreader_t; + readers_by_vreader_t _readers_by_vreader; + readers_by_vreader_t _unallocated_readers_by_vreader; + VEventType _next_sync_vevent; + std::list<SmartCardEvent> _sync_events; + + void push_sync_event(VEventType type, Event *event); + void send_next_sync_event(); + void handle_reader_add_response(VSCMsgHeader *vheader, VSCMsgError *error); + void handle_error_message(VSCMsgHeader *vheader, VSCMsgError *error); + + ReaderData* reader_data_from_vreader(VReader* vreader); + ReaderData* reader_data_from_reader_id(uint32_t reader_id); + void add_unallocated_reader(VReader* vreader, const char* name); + ReaderData* add_reader(uint32_t reader_id); + void remove_reader(ReaderData* data); + void send_reader_added(const char* reader_name); + void send_reader_removed(uint32_t reader_id); + void send_atr(VReader* vreader); + + friend class ReaderAddEvent; + friend class ReaderRemoveEvent; + friend class CardInsertEvent; + friend class CardRemoveEvent; + friend class VSCMessageEvent; +}; + +#endif // __SMART_CARD_H__ diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/threads.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/threads.cpp new file mode 100644 index 0000000..e255bee --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/threads.cpp @@ -0,0 +1,142 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "threads.h" +#include "utils.h" +#include "debug.h" +#ifdef WIN32 +#include <sys/timeb.h> +#endif +#ifdef HAVE_SYS_TIME_H +#include <sys/time.h> +#endif +#ifdef __MINGW32__ +//workaround for what I think is a mingw bug: it has a prototype for +//_ftime_s in its headers, but no symbol for it at link time. +//The #define from common.h cannot be used since it breaks other mingw +//headers if any are included after the #define. +#define _ftime_s _ftime +#endif + +Thread::Thread(thread_main_t thread_main, void* opaque) +{ + int r = pthread_create(&_thread, NULL, thread_main, opaque); + if (r) { + THROW("failed %d", r); + } +} + +void Thread::join() +{ + pthread_join(_thread, NULL); +} + +static inline void rel_time(struct timespec& time, uint64_t delta_nano) +{ +#ifdef WIN32 + struct _timeb now; + _ftime_s(&now); + time.tv_sec = (long)now.time; + time.tv_nsec = now.millitm * 1000 * 1000; +#elif defined(HAVE_CLOCK_GETTIME) + clock_gettime(CLOCK_MONOTONIC, &time); +#else + struct timeval tv; + gettimeofday(&tv,NULL); + time.tv_sec = tv.tv_sec; + time.tv_nsec = tv.tv_usec*1000; +#endif + delta_nano += (uint64_t)time.tv_sec * 1000 * 1000 * 1000; + delta_nano += time.tv_nsec; + time.tv_sec = long(delta_nano / (1000 * 1000 * 1000)); + time.tv_nsec = long(delta_nano % (1000 * 1000 * 1000)); +} + +void Lock::timed_lock(uint64_t timout_nano) +{ + struct timespec time; + int r; + + rel_time(time, timout_nano); + if ((r = pthread_mutex_timedlock(_mutex.get(), &time))) { + _locked = false; + if (r != ETIMEDOUT) { + THROW("failed %d", r); + } + return; + } + _locked = true; +} + +Condition::Condition() +{ +#ifdef WIN32 + pthread_cond_init(&_condition, NULL); +#else + pthread_condattr_t attr; + pthread_condattr_init(&attr); + int r; + if ((r = pthread_condattr_setclock(&attr, CLOCK_MONOTONIC))) { + THROW("set clock failed %d", r); + } + pthread_cond_init(&_condition, &attr); + pthread_condattr_destroy(&attr); +#endif +} + +bool Condition::timed_wait(Lock& lock, uint64_t nano) +{ + struct timespec time; + rel_time(time, nano); + int r = pthread_cond_timedwait(&_condition, lock.get(), &time); + if (r) { + if (r != ETIMEDOUT) { + THROW("failed %d", r); + } + return false; + } + return true; +} + +Mutex::Mutex(Type type) +{ + pthread_mutexattr_t attr; + + pthread_mutexattr_init(&attr); + if (type == NORMAL) { + pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL); + } else if (type == RECURSIVE) { + pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE); + } else { + THROW("invalid type %d", type); + } + + int r; + if ((r = pthread_mutex_init(&_mutex, &attr))) { + THROW("int failed %d", r); + } + pthread_mutexattr_destroy(&attr); +} + +Mutex::~Mutex() +{ + pthread_mutex_destroy(&_mutex); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/threads.h b/tizen/distrib/remote/server/spice-0.12.2/client/threads.h new file mode 100644 index 0000000..5bfd38b --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/threads.h @@ -0,0 +1,134 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_THREADS +#define _H_THREADS + +#include "pthread.h" +#include "atomic_count.h" + +class Thread { +public: + typedef void* (*thread_main_t)(void*); + + Thread(thread_main_t thread_main, void* opaque); + void join(); + +private: + pthread_t _thread; +}; + +class Mutex { +public: + enum Type { + NORMAL, + RECURSIVE, + }; + + Mutex(Type = NORMAL); + virtual ~Mutex(); + +private: + friend class Lock; + pthread_mutex_t* get() {return &_mutex;} + +private: + pthread_mutex_t _mutex; +}; + +class Lock { +public: + Lock(Mutex& mutex) + : _locked (true) + , _mutex (mutex) + { + pthread_mutex_lock(_mutex.get()); + } + + Lock(Mutex& mutex, uint64_t timout_nano) + : _mutex (mutex) + { + if (!pthread_mutex_trylock(_mutex.get())) { + _locked = true; + return; + } + timed_lock(timout_nano); + } + + ~Lock() + { + unlock(); + } + + void unlock() + { + if (_locked) { + pthread_mutex_unlock(_mutex.get()); + _locked = false; + } + } + + bool is_locked() { return _locked;} + +private: + friend class Condition; + pthread_mutex_t* get() {return _mutex.get();} + void timed_lock(uint64_t timout_nano); + +private: + bool _locked; + Mutex& _mutex; +}; + +class RecurciveMutex: public Mutex { +public: + RecurciveMutex() : Mutex(Mutex::RECURSIVE) {} +}; + +typedef Lock RecurciveLock; +class Condition { +public: + Condition(); + + ~Condition() + { + pthread_cond_destroy(&_condition); + } + + void notify_one() + { + pthread_cond_signal(&_condition); + } + + void notify_all() + { + pthread_cond_broadcast(&_condition); + } + + void wait(Lock& lock) + { + pthread_cond_wait(&_condition, lock.get()); + } + + bool timed_wait(Lock& lock, uint64_t nano); + +private: + pthread_cond_t _condition; +}; + + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/tunnel_channel.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/tunnel_channel.cpp new file mode 100644 index 0000000..3ed4572 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/tunnel_channel.cpp @@ -0,0 +1,852 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. + + + Author: + yhalperi@redhat.com +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "tunnel_channel.h" +#include <spice/protocol.h> + +#define SOCKET_WINDOW_SIZE 60 +#define SOCKET_TOKENS_TO_SEND 20 + +/* classes for tunneling msgs without reallocations and memcpy */ + +class InSocketMessage; +class OutSocketMessage; + +class InSocketMessage: public ClientNetSocket::SendBuffer { +public: + InSocketMessage(RedChannel::CompoundInMessage& full_msg); + + const uint8_t* data(); + uint32_t size(); + ClientNetSocket::SendBuffer* ref(); + void unref(); + +protected: + virtual ~InSocketMessage() {} + +private: + int _refs; + RedChannel::CompoundInMessage& _full_msg; + SpiceMsgTunnelSocketData* _sckt_msg; + uint32_t _buf_size; +}; + +InSocketMessage::InSocketMessage(RedChannel::CompoundInMessage& full_msg) + : _refs (1) + , _full_msg (full_msg) +{ + ASSERT(full_msg.type() == SPICE_MSG_TUNNEL_SOCKET_DATA); + _full_msg.ref(); + _sckt_msg = (SpiceMsgTunnelSocketData*)(_full_msg.data()); + _buf_size = _full_msg.size() - sizeof(SpiceMsgTunnelSocketData); +} + +const uint8_t* InSocketMessage::data() +{ + return _sckt_msg->data; +} + +uint32_t InSocketMessage::size() +{ + return _buf_size; +} + +ClientNetSocket::SendBuffer* InSocketMessage::ref() +{ + _full_msg.ref(); + _refs++; + return this; +} + +void InSocketMessage::unref() +{ + _full_msg.unref(); + if (!--_refs) { + delete this; + } +} + +class OutSocketMessage: public RedPeer::OutMessage, + public RedChannel::OutMessage, + public ClientNetSocket::ReceiveBuffer { +public: + + virtual RedPeer::OutMessage& peer_message() { return *this;} + virtual void release(); + + virtual uint8_t* buf() { return _the_buf; }; + virtual uint32_t buf_max_size() {return _max_data_size;} + virtual void set_buf_size(uint32_t size); + virtual void release_buf(); + + static void init(uint32_t max_data_size); + static OutSocketMessage& alloc_message(uint16_t id, SpiceMessageMarshallers *marshallers); + + static void clear_free_messages(); + +protected: + OutSocketMessage(); + virtual ~OutSocketMessage() {} + +private: + static std::list<OutSocketMessage*> _free_messages; + static uint32_t _max_data_size; + uint8_t *_the_buf; +}; + +std::list<OutSocketMessage*> OutSocketMessage::_free_messages; +uint32_t OutSocketMessage::_max_data_size; + +OutSocketMessage::OutSocketMessage() + : RedPeer::OutMessage(SPICE_MSGC_TUNNEL_SOCKET_DATA) + , RedChannel::OutMessage() + , ClientNetSocket::ReceiveBuffer() +{ +} + +void OutSocketMessage::set_buf_size(uint32_t size) +{ + spice_marshaller_unreserve_space(_marshaller, _max_data_size - size); +} + +void OutSocketMessage::release() +{ + OutSocketMessage::_free_messages.push_front(this); +} + +void OutSocketMessage::release_buf() +{ + release(); +} + +void OutSocketMessage::init(uint32_t max_data_size) +{ + _max_data_size = max_data_size; +} + +OutSocketMessage& OutSocketMessage::alloc_message(uint16_t id, SpiceMessageMarshallers *marshallers) +{ + OutSocketMessage* ret; + if (!_free_messages.empty()) { + ret = _free_messages.front(); + _free_messages.pop_front(); + spice_marshaller_reset(ret->marshaller()); + } else { + ret = new OutSocketMessage(); + } + + SpiceMsgcTunnelSocketData data; + data.connection_id = id; + marshallers->msgc_tunnel_socket_data(ret->marshaller(), &data); + ret->_the_buf = spice_marshaller_reserve_space(ret->marshaller(), _max_data_size); + + return *ret; +} + +void OutSocketMessage::clear_free_messages() +{ + while (!_free_messages.empty()) { + OutSocketMessage* message = _free_messages.front(); + _free_messages.pop_front(); + delete message; + } +} + +struct TunnelService { + uint32_t type; + uint32_t id; + uint32_t group; + struct in_addr ip; + uint32_t port; + std::string name; + std::string description; + + struct in_addr virtual_ip; +#ifdef TUNNEL_CONFIG + TunnelConfigConnectionIfc* service_src; +#endif +}; + +class TunnelChannel::TunnelSocket: public ClientNetSocket { +public: + TunnelSocket(uint16_t id, TunnelService& dst_service, ProcessLoop& process_loop, + EventHandler & event_handler, SpiceMessageMarshallers *marshallers); + virtual ~TunnelSocket() {} + + void set_num_tokens(uint32_t tokens) {_num_tokens = tokens;} + void set_server_num_tokens(uint32_t tokens) {_server_num_tokens = tokens;} + void set_guest_closed() {_guest_closed = true;} + + uint32_t get_num_tokens() {return _num_tokens;} + uint32_t get_server_num_tokens() {return _server_num_tokens;} + bool get_guest_closed() {return _guest_closed;} + +protected: + virtual ReceiveBuffer& alloc_receive_buffer() {return OutSocketMessage::alloc_message(id(), _marshallers);} + +private: + uint32_t _num_tokens; + uint32_t _server_num_tokens; + uint32_t _service_id; + bool _guest_closed; + SpiceMessageMarshallers *_marshallers; +}; + +TunnelChannel::TunnelSocket::TunnelSocket(uint16_t id, TunnelService& dst_service, + ProcessLoop& process_loop, + ClientNetSocket::EventHandler& event_handler, + SpiceMessageMarshallers *marshallers) + : ClientNetSocket(id, dst_service.ip, htons((uint16_t)dst_service.port), + process_loop, event_handler) + , _num_tokens (0) + , _server_num_tokens (0) + , _service_id (dst_service.id) + , _guest_closed (false) + , _marshallers(marshallers) +{ +} + +class TunnelHandler: public MessageHandlerImp<TunnelChannel, SPICE_CHANNEL_TUNNEL> { +public: + TunnelHandler(TunnelChannel& channel) + : MessageHandlerImp<TunnelChannel, SPICE_CHANNEL_TUNNEL>(channel) {} +}; + +TunnelChannel::TunnelChannel(RedClient& client, uint32_t id) + : RedChannel(client, SPICE_CHANNEL_TUNNEL, id, new TunnelHandler(*this)) + , _max_socket_data_size(0) + , _service_id(0) + , _service_group(0) +#ifdef TUNNEL_CONFIG + , _config_listener (NULL) +#endif +{ + TunnelHandler* handler = static_cast<TunnelHandler*>(get_message_handler()); + + handler->set_handler(SPICE_MSG_MIGRATE, &TunnelChannel::handle_migrate); + handler->set_handler(SPICE_MSG_SET_ACK, &TunnelChannel::handle_set_ack); + handler->set_handler(SPICE_MSG_PING, &TunnelChannel::handle_ping); + handler->set_handler(SPICE_MSG_WAIT_FOR_CHANNELS, &TunnelChannel::handle_wait_for_channels); + + handler->set_handler(SPICE_MSG_TUNNEL_INIT, + &TunnelChannel::handle_init); + handler->set_handler(SPICE_MSG_TUNNEL_SERVICE_IP_MAP, + &TunnelChannel::handle_service_ip_map); + handler->set_handler(SPICE_MSG_TUNNEL_SOCKET_OPEN, + &TunnelChannel::handle_socket_open); + handler->set_handler(SPICE_MSG_TUNNEL_SOCKET_CLOSE, + &TunnelChannel::handle_socket_close); + handler->set_handler(SPICE_MSG_TUNNEL_SOCKET_FIN, + &TunnelChannel::handle_socket_fin); + handler->set_handler(SPICE_MSG_TUNNEL_SOCKET_TOKEN, + &TunnelChannel::handle_socket_token); + handler->set_handler(SPICE_MSG_TUNNEL_SOCKET_CLOSED_ACK, + &TunnelChannel::handle_socket_closed_ack); + handler->set_handler(SPICE_MSG_TUNNEL_SOCKET_DATA, + &TunnelChannel::handle_socket_data); +} + +TunnelChannel::~TunnelChannel() +{ + destroy_sockets(); + OutSocketMessage::clear_free_messages(); +} + +void TunnelChannel::handle_init(RedPeer::InMessage* message) +{ + SpiceMsgTunnelInit* init_msg = (SpiceMsgTunnelInit*)message->data(); + _max_socket_data_size = init_msg->max_socket_data_size; + OutSocketMessage::init(_max_socket_data_size); + _sockets.resize(init_msg->max_num_of_sockets); +} + +void TunnelChannel::send_service(TunnelService& service) +{ + if (service.type != SPICE_TUNNEL_SERVICE_TYPE_IPP && + service.type == SPICE_TUNNEL_SERVICE_TYPE_GENERIC) { + THROW("%s: invalid service type", __FUNCTION__); + } + + Message* service_msg = new Message(SPICE_MSGC_TUNNEL_SERVICE_ADD); + SpiceMsgcTunnelAddGenericService add; + SpiceMarshaller *name_out, *description_out; + add.id = service.id; + add.group = service.group; + add.type = service.type; + add.port = service.port; + + if (service.type == SPICE_TUNNEL_SERVICE_TYPE_IPP) { + add.u.ip.type = SPICE_TUNNEL_IP_TYPE_IPv4; + } + + _marshallers->msgc_tunnel_service_add(service_msg->marshaller(), &add, + &name_out, &description_out); + + spice_marshaller_add(name_out, (uint8_t *)service.name.c_str(), service.name.length() + 1); + spice_marshaller_add(description_out, (uint8_t *)service.description.c_str(), service.description.length() + 1); + + post_message(service_msg); +} + +void TunnelChannel::handle_service_ip_map(RedPeer::InMessage* message) +{ + SpiceMsgTunnelServiceIpMap* service_ip_msg = (SpiceMsgTunnelServiceIpMap*)message->data(); + TunnelService* service = find_service(service_ip_msg->service_id); + if (!service) { + THROW("%s: attempt to map non-existing service id=%d", __FUNCTION__, + service_ip_msg->service_id); + } + + if (service_ip_msg->virtual_ip.type == SPICE_TUNNEL_IP_TYPE_IPv4) { + memcpy(&service->virtual_ip.s_addr, service_ip_msg->virtual_ip.data, + sizeof(SpiceTunnelIPv4)); + } else { + THROW("unexpected ip type %d", service_ip_msg->virtual_ip.type); + } + DBG(0, "service_id=%d (%s), virtual_ip=%s", service->id, service->name.c_str(), + inet_ntoa(service->virtual_ip)); +#ifdef TUNNEL_CONFIG + service->service_src->send_virtual_ip(service->virtual_ip); +#endif +} + +void TunnelChannel::handle_socket_open(RedPeer::InMessage* message) +{ + SpiceMsgTunnelSocketOpen* open_msg = (SpiceMsgTunnelSocketOpen*)message->data(); + TunnelSocket* sckt; + Message* out_msg; + + if (_sockets[open_msg->connection_id]) { + THROW("%s: attempt to open an already opened connection id=%d", __FUNCTION__, + open_msg->connection_id); + } + + TunnelService* service = find_service(open_msg->service_id); + if (!service) { + THROW("%s: attempt to access non-existing service id=%d", __FUNCTION__, + open_msg->service_id); + } + + sckt = new TunnelSocket(open_msg->connection_id, *service, get_process_loop(), *this, _marshallers); + + if (sckt->connect(open_msg->tokens)) { + _sockets[open_msg->connection_id] = sckt; + out_msg = new Message(SPICE_MSGC_TUNNEL_SOCKET_OPEN_ACK); + sckt->set_num_tokens(0); + sckt->set_server_num_tokens(SOCKET_WINDOW_SIZE); + SpiceMsgcTunnelSocketOpenAck ack; + ack.connection_id = open_msg->connection_id; + ack.tokens = SOCKET_WINDOW_SIZE; + _marshallers->msgc_tunnel_socket_open_ack(out_msg->marshaller(), &ack); + } else { + out_msg = new Message(SPICE_MSGC_TUNNEL_SOCKET_OPEN_NACK); + SpiceMsgcTunnelSocketOpenNack nack; + nack.connection_id = open_msg->connection_id; + _marshallers->msgc_tunnel_socket_open_nack(out_msg->marshaller(), &nack); + delete sckt; + } + + post_message(out_msg); +} + +void TunnelChannel::handle_socket_fin(RedPeer::InMessage* message) +{ + SpiceMsgTunnelSocketFin* fin_msg = (SpiceMsgTunnelSocketFin*)message->data(); + TunnelSocket* sckt = _sockets[fin_msg->connection_id]; + + if (!sckt) { + THROW("%s: fin connection that doesn't exist id=%d", __FUNCTION__, fin_msg->connection_id); + } + + DBG(0, "guest fin connection_id=%d", fin_msg->connection_id); + if (sckt->is_connected()) { + sckt->push_fin(); + } +} + +void TunnelChannel::handle_socket_close(RedPeer::InMessage* message) +{ + SpiceMsgTunnelSocketClose* close_msg = (SpiceMsgTunnelSocketClose*)message->data(); + TunnelSocket* sckt = _sockets[close_msg->connection_id]; + + if (!sckt) { + THROW("%s: closing connection that doesn't exist id=%d", __FUNCTION__, + close_msg->connection_id); + } + DBG(0, "guest closed connection_id=%d", close_msg->connection_id); + + sckt->set_guest_closed(); + + if (sckt->is_connected()) { + sckt->push_disconnect(); + } else { + // close happened in the server side before it received the client + // close msg. we should ack the server and free the socket + on_socket_disconnect(*sckt); + } +} + +void TunnelChannel::handle_socket_closed_ack(RedPeer::InMessage* message) +{ + SpiceMsgTunnelSocketClosedAck* close_ack_msg = (SpiceMsgTunnelSocketClosedAck*)message->data(); + TunnelSocket* sckt = _sockets[close_ack_msg->connection_id]; + if (!sckt) { + THROW("%s: close ack to connection that doesn't exist id=%d", __FUNCTION__, + close_ack_msg->connection_id); + } + + if (sckt->is_connected()) { + THROW("%s: close ack to connection that is not closed id=%d", + __FUNCTION__, close_ack_msg->connection_id); + } + _sockets[sckt->id()] = NULL; + DBG(0, "guest Acked closed connection_id=%d", close_ack_msg->connection_id); + delete sckt; +} + +void TunnelChannel::handle_socket_data(RedPeer::InMessage* message) +{ + SpiceMsgTunnelSocketData* send_msg = (SpiceMsgTunnelSocketData*)message->data(); + TunnelSocket* sckt = _sockets[send_msg->connection_id]; + + if (!sckt) { + THROW("%s: sending data to connection that doesn't exist id=%d", __FUNCTION__, + send_msg->connection_id); + } + + if (!sckt->get_server_num_tokens()) { + THROW("%s: token violation connectio_id=%d", __FUNCTION__, sckt->id()); + } + + sckt->set_server_num_tokens(sckt->get_server_num_tokens() - 1); + + if (!sckt->is_connected()) { + // server hasn't handled the close msg yet + return; + } + + InSocketMessage* sckt_msg = new InSocketMessage(*( + static_cast<RedChannel::CompoundInMessage*>(message))); + if (sckt_msg->size() > _max_socket_data_size) { + THROW("%s: socket data exceeds size limit %d > %d connection_id=%d", __FUNCTION__, + sckt_msg->size(), _max_socket_data_size, sckt->id()); + } + sckt->push_send(*sckt_msg); + sckt_msg->unref(); +} + +void TunnelChannel::handle_socket_token(RedPeer::InMessage* message) +{ + SpiceMsgTunnelSocketTokens* token_msg = (SpiceMsgTunnelSocketTokens*)message->data(); + TunnelSocket* sckt = _sockets[token_msg->connection_id]; + + if (!sckt) { + THROW("%s: ack connection that doesn't exist id=%d", __FUNCTION__, + token_msg->connection_id); + } + if (!sckt->is_connected()) { + return; + } + sckt->add_recv_tokens(token_msg->num_tokens); +} + +void TunnelChannel::on_socket_message_recv_done(ClientNetSocket& sckt, + ClientNetSocket::ReceiveBuffer& buf) +{ + OutSocketMessage* out_msg = static_cast<OutSocketMessage*>(&buf); + + post_message(out_msg); +} + +void TunnelChannel::on_socket_fin_recv(ClientNetSocket& sckt) +{ + TunnelChannel::TunnelSocket* tunnel_sckt = static_cast<TunnelChannel::TunnelSocket*>(&sckt); + Message* out_msg = new Message(SPICE_MSGC_TUNNEL_SOCKET_FIN); + DBG(0, "FIN from client coonection id=%d", tunnel_sckt->id()); + SpiceMsgcTunnelSocketFin fin; + fin.connection_id = tunnel_sckt->id(); + _marshallers->msgc_tunnel_socket_fin(out_msg->marshaller(), &fin); + post_message(out_msg); +} + +void TunnelChannel::on_socket_disconnect(ClientNetSocket& sckt) +{ + TunnelChannel::TunnelSocket* tunnel_sckt = static_cast<TunnelChannel::TunnelSocket*>(&sckt); + Message* out_msg; + // close initiated by server -> needs ack + if (tunnel_sckt->get_guest_closed()) { + DBG(0, "send close ack connection_id=%d", tunnel_sckt->id()); + out_msg = new Message(SPICE_MSGC_TUNNEL_SOCKET_CLOSED_ACK); + SpiceMsgcTunnelSocketClosedAck ack; + ack.connection_id = tunnel_sckt->id(); + _marshallers->msgc_tunnel_socket_closed_ack(out_msg->marshaller(), &ack); + _sockets[tunnel_sckt->id()] = NULL; + delete &sckt; + } else { // close initiated by client + DBG(0, "send close coonection_id=%d", tunnel_sckt->id()); + out_msg = new Message(SPICE_MSGC_TUNNEL_SOCKET_CLOSED); + SpiceMsgcTunnelSocketClosed closed; + closed.connection_id = tunnel_sckt->id(); + _marshallers->msgc_tunnel_socket_closed(out_msg->marshaller(), &closed); + } + + post_message(out_msg); +} + +void TunnelChannel::on_socket_message_send_done(ClientNetSocket& sckt) +{ + TunnelChannel::TunnelSocket* tunnel_sckt = static_cast<TunnelChannel::TunnelSocket*>(&sckt); + uint32_t num_tokens = tunnel_sckt->get_num_tokens(); + num_tokens++; + + if (num_tokens == SOCKET_TOKENS_TO_SEND) { + Message* out_msg = new Message(SPICE_MSGC_TUNNEL_SOCKET_TOKEN); + SpiceMsgcTunnelSocketTokens tokens_msg; + tokens_msg.connection_id = tunnel_sckt->id(); + tokens_msg.num_tokens = num_tokens; + _marshallers->msgc_tunnel_socket_token(out_msg->marshaller(), &tokens_msg); + post_message(out_msg); + + tunnel_sckt->set_num_tokens(0); + tunnel_sckt->set_server_num_tokens(tunnel_sckt->get_server_num_tokens() + num_tokens); + + ASSERT(tunnel_sckt->get_server_num_tokens() <= SOCKET_WINDOW_SIZE); + } else { + tunnel_sckt->set_num_tokens(num_tokens); + } +} + +TunnelService* TunnelChannel::find_service(uint32_t id) +{ + for (std::list<TunnelService*>::iterator iter = _services.begin(); + iter != _services.end(); iter++) { + if ((*iter)->id == id) { + return *iter; + } + } + return NULL; +} + +/* returns the first service with the same ip */ +TunnelService* TunnelChannel::find_service(struct in_addr& ip) +{ + for (std::list<TunnelService*>::iterator iter = _services.begin(); + iter != _services.end(); iter++) { + if ((*iter)->ip.s_addr == ip.s_addr) { + return *iter; + } + } + return NULL; +} + +TunnelService* TunnelChannel::find_service(struct in_addr& ip, uint32_t port) +{ + for (std::list<TunnelService*>::iterator iter = _services.begin(); + iter != _services.end(); iter++) { + if (((*iter)->ip.s_addr == ip.s_addr) && ((*iter)->port == port)) { + return *iter; + } + } + return NULL; +} + +void TunnelChannel::destroy_sockets() +{ + for (unsigned int i = 0; i < _sockets.size(); i++) { + if (_sockets[i]) { + delete _sockets[i]; + _sockets[i] = NULL; + } + } +} + +#ifdef TUNNEL_CONFIG +void TunnelChannel::on_connect() +{ + _config_listener = new TunnelConfigListenerIfc(*this); +} +#endif + +void TunnelChannel::on_disconnect() +{ + destroy_sockets(); + OutSocketMessage::clear_free_messages(); +#ifdef TUNNEL_CONFIG + if (_config_listener) { + delete _config_listener; + _config_listener = NULL; + } +#endif +} + +#ifdef TUNNEL_CONFIG +void TunnelChannel::add_service(TunnelConfigConnectionIfc& source, + uint32_t type, struct in_addr& ip, uint32_t port, + std::string& name, std::string& description) +{ + if (find_service(ip, port)) { + LOG_WARN("service ip=%s port=%d was already added", + inet_ntoa(ip), port); + return; + } + TunnelService* new_service = new TunnelService; + TunnelService* service_group = find_service(ip); + new_service->type = type; + new_service->id = _service_id++; + if (service_group) { + if (name != service_group->name) { + LOG_WARN("service ip=%s port=%d was not added because of inconsistent name for ip", + inet_ntoa(ip), port); + delete new_service; + return; + } + new_service->group = service_group->group; + } else { + new_service->group = _service_group++; + } + new_service->ip.s_addr = ip.s_addr; + new_service->port = port; + new_service->name = name; + new_service->description = description; + new_service->service_src = &source; + _services.push_back(new_service); + send_service(*new_service); +} + +#endif + +class TunnelFactory: public ChannelFactory { +public: + TunnelFactory() : ChannelFactory(SPICE_CHANNEL_TUNNEL) {} + virtual RedChannel* construct(RedClient& client, uint32_t id) + { + return new TunnelChannel(client, id); + } +}; + +static TunnelFactory factory; + +ChannelFactory& TunnelChannel::Factory() +{ + return factory; +} + +#ifdef TUNNEL_CONFIG +class CreatePipeListenerEvent: public SyncEvent { +public: + CreatePipeListenerEvent(NamedPipe::ListenerInterface& listener_ifc) + : _listener_ifc (listener_ifc) + { + } + + virtual void do_response(AbstractProcessLoop& events_loop) + { + _listener_ref = NamedPipe::create(TUNNEL_CONFIG_PIPE_NAME, _listener_ifc); + } + + NamedPipe::ListenerRef get_listener() { return _listener_ref;} +private: + NamedPipe::ListenerInterface& _listener_ifc; + NamedPipe::ListenerRef _listener_ref; +}; + +class DestroyPipeListenerEvent: public SyncEvent { +public: + DestroyPipeListenerEvent(NamedPipe::ListenerRef listener_ref) + : _listener_ref (listener_ref) + { + } + + virtual void do_response(AbstractProcessLoop& events_loop) + { + NamedPipe::destroy(_listener_ref); + } + +private: + NamedPipe::ListenerRef _listener_ref; +}; + +class DestroyPipeConnectionEvent: public SyncEvent { +public: + DestroyPipeConnectionEvent(NamedPipe::ConnectionRef ref) : _conn_ref(ref) {} + virtual void do_response(AbstractProcessLoop& events_loop) + { + NamedPipe::destroy_connection(_conn_ref); + } +private: + NamedPipe::ConnectionRef _conn_ref; +}; + +TunnelConfigListenerIfc::TunnelConfigListenerIfc(TunnelChannel& tunnel) + : _tunnel (tunnel) +{ + AutoRef<CreatePipeListenerEvent> event(new CreatePipeListenerEvent(*this)); + _tunnel.get_client().push_event(*event); + (*event)->wait(); + _listener_ref = (*event)->get_listener(); +} + +TunnelConfigListenerIfc::~TunnelConfigListenerIfc() +{ + AutoRef<DestroyPipeListenerEvent> listen_event(new DestroyPipeListenerEvent(_listener_ref)); + _tunnel.get_client().push_event(*listen_event); + (*listen_event)->wait(); + for (std::list<TunnelConfigConnectionIfc*>::iterator it = _connections.begin(); + it != _connections.end(); ++it) { + if ((*it)->get_ref() != NamedPipe::INVALID_CONNECTION) { + AutoRef<DestroyPipeConnectionEvent> conn_event(new DestroyPipeConnectionEvent( + (*it)->get_ref())); + _tunnel.get_client().push_event(*conn_event); + (*conn_event)->wait(); + } + delete (*it); + } +} + +NamedPipe::ConnectionInterface& TunnelConfigListenerIfc::create() +{ + DBG(0, "new_connection"); + TunnelConfigConnectionIfc* new_conn = new TunnelConfigConnectionIfc(_tunnel, *this); + _connections.push_back(new_conn); + return *new_conn; +} + +void TunnelConfigListenerIfc::destroy_connection(TunnelConfigConnectionIfc* conn) +{ + if (conn->get_ref() != NamedPipe::INVALID_CONNECTION) { + NamedPipe::destroy_connection(conn->get_ref()); + } + _connections.remove(conn); + delete conn; +} + +TunnelConfigConnectionIfc::TunnelConfigConnectionIfc(TunnelChannel& tunnel, + TunnelConfigListenerIfc& listener) + : _tunnel (tunnel) + , _listener (listener) + , _in_msg_len (0) + , _out_msg ("") + , _out_msg_pos (0) +{ +} + +void TunnelConfigConnectionIfc::bind(NamedPipe::ConnectionRef conn_ref) +{ + _opaque = conn_ref; + on_data(); +} + +void TunnelConfigConnectionIfc::on_data() +{ + if (!_out_msg.empty()) { + int ret = NamedPipe::write(_opaque, (uint8_t*)_out_msg.c_str() + _out_msg_pos, + _out_msg.length() - _out_msg_pos); + if (ret == -1) { + _listener.destroy_connection(this); + return; + } + _out_msg_pos += ret; + if (_out_msg_pos == _out_msg.length()) { + _out_msg = ""; + _out_msg_pos = 0; + } + } else { + int ret = NamedPipe::read(_opaque, (uint8_t*)_in_msg + _in_msg_len, + TUNNEL_CONFIG_MAX_MSG_LEN - _in_msg_len); + + if (ret == -1) { + _listener.destroy_connection(this); + return; + } + _in_msg_len += ret; + + if (_in_msg[_in_msg_len - 1] != '\n') { + return; + } + handle_msg(); + _in_msg_len = 0; + } +} + +void TunnelConfigConnectionIfc::send_virtual_ip(struct in_addr& ip) +{ + _out_msg = inet_ntoa(ip); + _out_msg += "\n"; + _out_msg_pos = 0; + on_data(); +} + +void TunnelConfigConnectionIfc::handle_msg() +{ + std::string space = " \t"; + _in_msg[_in_msg_len - 1] = '\0'; + std::string msg(_in_msg); + + uint32_t service_type; + struct in_addr ip; + uint32_t port; + std::string name; + std::string desc; + + DBG(0, "msg=%s", _in_msg); + size_t start_token = 0; + size_t end_token; + + start_token = msg.find_first_not_of(space); + end_token = msg.find_first_of(space, start_token); + + if ((end_token - start_token) != 1) { + THROW("unexpected service type length"); + } + if (msg[start_token] == '0') { + service_type = SPICE_TUNNEL_SERVICE_TYPE_GENERIC; + } else if (msg[start_token] == '1') { + service_type = SPICE_TUNNEL_SERVICE_TYPE_IPP; + } else { + THROW("unexpected service type"); + } + + start_token = msg.find_first_not_of(space, end_token); + end_token = msg.find_first_of(space, start_token); + + inet_aton(msg.substr(start_token, end_token - start_token).c_str(), &ip); + + start_token = msg.find_first_not_of(space, end_token); + end_token = msg.find_first_of(space, start_token); + + port = atoi(msg.substr(start_token, end_token - start_token).c_str()); + + start_token = msg.find_first_not_of(space, end_token); + end_token = msg.find_first_of(space, start_token); + + name = msg.substr(start_token, end_token - start_token); + + start_token = msg.find_first_not_of(space, end_token); + desc = msg.substr(start_token); + + _tunnel.add_service(*this, service_type, ip, port, name, desc); +} + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/tunnel_channel.h b/tizen/distrib/remote/server/spice-0.12.2/client/tunnel_channel.h new file mode 100644 index 0000000..63174d8 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/tunnel_channel.h @@ -0,0 +1,140 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. + + + Author: + yhalperi@redhat.com +*/ + +#ifndef _H_TUNNEL_CHANNEL +#define _H_TUNNEL_CHANNEL + +#include "common.h" +#include "red_channel.h" +#include "red_client.h" +#include "client_net_socket.h" +#include "platform.h" + +#define TUNNEL_CONFIG + +#ifdef TUNNEL_CONFIG +class TunnelConfigConnectionIfc; +class TunnelConfigListenerIfc; +#endif + +/* channel for tunneling tcp from guest to client network */ +typedef struct TunnelService TunnelService; +class TunnelChannel: public RedChannel, + public ClientNetSocket::EventHandler { +public: + + TunnelChannel(RedClient& client, uint32_t id); + virtual ~TunnelChannel(); + + virtual void on_socket_message_recv_done(ClientNetSocket& sckt, + ClientNetSocket::ReceiveBuffer& buf); + virtual void on_socket_message_send_done(ClientNetSocket& sckt); + virtual void on_socket_fin_recv(ClientNetSocket& sckt); + virtual void on_socket_disconnect(ClientNetSocket& sckt); + +#ifdef TUNNEL_CONFIG + void add_service(TunnelConfigConnectionIfc& source, + uint32_t type, struct in_addr& ip, uint32_t port, + std::string& name, std::string& description); +#endif + static ChannelFactory& Factory(); + +protected: + class TunnelSocket; + + virtual void on_disconnect(); + virtual void on_connect(); + +private: + void handle_init(RedPeer::InMessage* message); + void handle_service_ip_map(RedPeer::InMessage* message); + + void handle_socket_open(RedPeer::InMessage* message); + void handle_socket_fin(RedPeer::InMessage* message); + void handle_socket_close(RedPeer::InMessage* message); + void handle_socket_closed_ack(RedPeer::InMessage* message); + void handle_socket_data(RedPeer::InMessage* message); + void handle_socket_token(RedPeer::InMessage* message); + + TunnelService* find_service(uint32_t id); + TunnelService* find_service(struct in_addr& ip); + TunnelService* find_service(struct in_addr& ip, uint32_t port); + + void send_service(TunnelService& service); + void destroy_sockets(); + +private: + std::vector<TunnelSocket*> _sockets; + std::list<TunnelService*> _services; + uint32_t _max_socket_data_size; + uint32_t _service_id; + uint32_t _service_group; +#ifdef TUNNEL_CONFIG + TunnelConfigListenerIfc* _config_listener; + friend class TunnelConfigListenerIfc; +#endif +}; + +#ifdef TUNNEL_CONFIG +#ifdef _WIN32 +#define TUNNEL_CONFIG_PIPE_NAME "tunnel-config.pipe" +#else +#define TUNNEL_CONFIG_PIPE_NAME "/tmp/tunnel-config.pipe" +#endif + +class TunnelConfigConnectionIfc; + +class TunnelConfigListenerIfc: public NamedPipe::ListenerInterface { +public: + TunnelConfigListenerIfc(TunnelChannel& tunnel); + virtual ~TunnelConfigListenerIfc(); + virtual NamedPipe::ConnectionInterface& create(); + virtual void destroy_connection(TunnelConfigConnectionIfc* conn); + +private: + TunnelChannel& _tunnel; + NamedPipe::ListenerRef _listener_ref; + std::list<TunnelConfigConnectionIfc*> _connections; +}; + +#define TUNNEL_CONFIG_MAX_MSG_LEN 2048 +class TunnelConfigConnectionIfc: public NamedPipe::ConnectionInterface { +public: + TunnelConfigConnectionIfc(TunnelChannel& tunnel, + TunnelConfigListenerIfc& listener); + virtual void bind(NamedPipe::ConnectionRef conn_ref); + virtual void on_data(); + void send_virtual_ip(struct in_addr& ip); + NamedPipe::ConnectionRef get_ref() {return _opaque;} + void handle_msg(); + +private: + TunnelChannel& _tunnel; + TunnelConfigListenerIfc& _listener; + char _in_msg[TUNNEL_CONFIG_MAX_MSG_LEN]; // <service_type> <ip> <port> <name> <desc>\n + int _in_msg_len; + + std::string _out_msg; // <virtual ip>\n + unsigned _out_msg_pos; +}; +#endif + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/utils.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/utils.cpp new file mode 100644 index 0000000..6b195b3 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/utils.cpp @@ -0,0 +1,44 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include <stdlib.h> +#include <stdarg.h> + +#include "utils.h" + +void string_printf(std::string& str, const char* format, ...) +{ + va_list ap; + va_start(ap, format); + string_vprintf(str, format, ap); + va_end(ap); +} + +int str_to_port(const char *str) +{ + long port; + char *endptr; + port = strtol(str, &endptr, 0); + if (endptr != str + strlen(str) || port < 0 || port > 0xffff) { + return -1; + } + return port; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/utils.h b/tizen/distrib/remote/server/spice-0.12.2/client/utils.h new file mode 100644 index 0000000..c23e04f --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/utils.h @@ -0,0 +1,150 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_UTILS +#define _H_UTILS + +#include "common.h" +#include <spice/error_codes.h> +#include <spice/macros.h> + +class Exception: public std::exception { +public: + Exception(const std::string& str, int error_code) : _mess (str), _erro_code (error_code) {} + Exception(const std::string& str) : _mess (str) { _erro_code = SPICEC_ERROR_CODE_ERROR;} + virtual ~Exception() throw () {} + virtual const char* what() const throw () {return _mess.c_str();} + int get_error_code() {return _erro_code;} + +private: + std::string _mess; + int _erro_code; +}; + +#define THROW(format, ...) { \ + std::string exption_string; \ + string_printf(exption_string, format, ## __VA_ARGS__ ); \ + throw Exception(exption_string); \ +} + +#define THROW_ERR(err, format, ...) { \ + std::string exption_string; \ + string_printf(exption_string, format, ## __VA_ARGS__ ); \ + throw Exception(exption_string, err); \ +} + + +template <class T> +class AutoRef { +public: + AutoRef() : _obj (NULL) {} + AutoRef(T* obj) : _obj (obj) {} + ~AutoRef() { if (_obj) _obj->unref();} + T* operator * () {return _obj;} + + void reset(T* obj) + { + if (_obj) { + _obj->unref(); + } + _obj = obj; + } + + T* release() + { + T* ret = _obj; + _obj = NULL; + return ret; + } + +private: + T* _obj; +}; + +static inline int test_bit(const void* addr, int bit) +{ + return !!(((uint32_t*)addr)[bit >> 5] & (1 << (bit & 0x1f))); +} + +static inline int test_bit_be(const void* addr, int bit) +{ + return !!(((uint8_t*)addr)[bit >> 3] & (0x80 >> (bit & 0x07))); +} + +static inline void set_bit(const void* addr, int bit) +{ + ((uint8_t*)addr)[bit >> 5] |= (0x1 << (bit & 0x1f)); +} + +static inline void set_bit_be(const void* addr, int bit) +{ + ((uint8_t*)addr)[bit >> 3] |= (0x80 >> (bit & 0x07)); +} + +int str_to_port(const char *str); + +void string_vprintf(std::string& str, const char* format, va_list ap); +SPICE_GNUC_PRINTF(2, 3) void string_printf(std::string& str, const char *format, ...); + +template<class T> +class FreeObject { +public: + void operator () (T p) { delete p;} +}; + +template<class T, class FreeRes = FreeObject<T> > +class _AutoRes { +public: + _AutoRes() : _res (NULL) {} + _AutoRes(T* res) : _res (res) {} + ~_AutoRes() { set(NULL); } + + void set(T* res) {if (_res) _free_res(_res); _res = res; } + T* get() {return _res;} + T* operator -> () { return _res;} + T* release() {T* tmp = _res; _res = NULL; return tmp; } + bool valid() { return !!_res; } + +private: + _AutoRes(const _AutoRes&); + _AutoRes& operator = (const _AutoRes&); + +private: + T* _res; + FreeRes _free_res; +}; + +template<class T> +class AutoArray { +public: + AutoArray() : _array (NULL) {} + AutoArray(T* array) : _array (array) {} + ~AutoArray() { delete[] _array;} + + void set(T* array) { delete[] _array; _array = array;} + T* get() {return _array;} + T* release() {T* tmp = _array; _array = NULL; return tmp; } + T& operator [] (int i) {return _array[i];} + +private: + T* _array; +}; + +class EmptyBase { +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/windows/atomic_count.h b/tizen/distrib/remote/server/spice-0.12.2/client/windows/atomic_count.h new file mode 100644 index 0000000..7520fca --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/windows/atomic_count.h @@ -0,0 +1,41 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_ATOMIC_COUNT +#define _H_ATOMIC_COUNT + +class AtomicCount { +public: + AtomicCount(uint32_t count = 0) : _count (count) {} + + uint32_t operator ++ () + { + return InterlockedIncrement(&_count); + } + + uint32_t operator -- () + { + return InterlockedDecrement(&_count); + } + + operator uint32_t () { return _count;} + +private: + LONG _count; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/windows/event_sources_p.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/windows/event_sources_p.cpp new file mode 100644 index 0000000..bbf48d9 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/windows/event_sources_p.cpp @@ -0,0 +1,211 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "event_sources.h" +#include "debug.h" +#include "utils.h" + +bool EventSources_p::process_system_events() +{ + MSG msg; + while (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) { + + if (msg.message == WM_QUIT) { + return true; + } + TranslateMessage(&msg); + DispatchMessage(&msg); + } + return false; +} + +void EventSources_p::add_event(HANDLE event, EventSource* source) +{ + int size = _events.size(); + _events.resize(size + 1); + _handles.resize(size + 1); + _events[size] = source; + _handles[size] = event; +} + +void EventSources_p::remove_event(EventSource* source) +{ + int size = _events.size(); + for (int i = 0; i < size; i++) { + if (_events[i] == source) { + for (i++; i < size; i++) { + _events[i - 1] = _events[i]; + _handles[i - 1] = _handles[i]; + } + _events.resize(size - 1); + _handles.resize(size - 1); + return; + } + } + THROW("event not found"); +} + +EventSources::EventSources() +{ +} + +EventSources::~EventSources() +{ +} + +bool EventSources::wait_events(int timeout_ms) +{ + if (_handles.empty()) { + if (WaitMessage()) { + return process_system_events(); + } else { + THROW("wait failed %d", GetLastError()); + } + } + + DWORD wait_res = MsgWaitForMultipleObjectsEx(_handles.size(), &_handles[0], timeout_ms, + QS_ALLINPUT, 0); + if (wait_res == WAIT_TIMEOUT) { + return false; + } + + if (wait_res == WAIT_FAILED) { + THROW("wait failed %d", GetLastError()); + } + + size_t event_index = wait_res - WAIT_OBJECT_0; + if (event_index == _handles.size()) { + return process_system_events(); + } else if ((event_index >= 0) && (event_index < _handles.size())) { + _events[event_index]->action(); + return false; + } else { + THROW("invalid event id"); + } +} + +void EventSources::add_socket(Socket& socket) +{ + HANDLE event = CreateEvent(NULL, FALSE, FALSE, NULL); + if (!event) { + THROW("create event failed"); + } + if (WSAEventSelect(socket.get_socket(), event, + FD_READ | FD_WRITE | FD_CLOSE) == SOCKET_ERROR) { + CloseHandle(event); + THROW("event select failed"); + } + add_event(event, &socket); +} + +void EventSources::remove_socket(Socket& socket) +{ + int size = _events.size(); + for (int i = 0; i < size; i++) { + if (_events[i] == &socket) { + if (WSAEventSelect(socket.get_socket(), NULL, 0) == SOCKET_ERROR) { + THROW("event select failed"); + } + u_long arg = 0; + if (ioctlsocket(socket.get_socket(), FIONBIO, &arg) == SOCKET_ERROR) { + THROW("set blocking mode failed"); + } + CloseHandle(_handles[i]); + for (i++; i < size; i++) { + _events[i - 1] = _events[i]; + _handles[i - 1] = _handles[i]; + } + _events.resize(size - 1); + _handles.resize(size - 1); + return; + } + } + THROW("socket not found"); +} + +void EventSources::add_handle(Handle& handle) +{ + add_event(handle.get_handle(), &handle); +} + +void EventSources::remove_handle(Handle& handle) +{ + remove_event(&handle); +} + +Handle_p::Handle_p() +{ + if (!(_event = CreateEvent(NULL, FALSE, FALSE, NULL))) { + THROW("create event failed"); + } +} + +Handle_p::~Handle_p() +{ + CloseHandle(_event); +} + +void EventSources::add_trigger(Trigger& trigger) +{ + add_event(trigger.get_handle(), &trigger); +} + +void EventSources::remove_trigger(Trigger& trigger) +{ + remove_event(&trigger); +} + + +EventSources::Trigger::Trigger() +{ +} + +EventSources::Trigger::~Trigger() +{ +} + + +void EventSources::Trigger::trigger() +{ + if (!SetEvent(_event)) { + THROW("set event failed"); + } +} + +void EventSources::Trigger::reset() +{ + if (!ResetEvent(_event)) { + THROW("set event failed"); + } +} + +void EventSources::Trigger::action() +{ + on_event(); +} + +void EventSources::add_file(File& file) +{ +} + +void EventSources::remove_file(File& file) +{ +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/windows/main.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/windows/main.cpp new file mode 100644 index 0000000..7a83305 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/windows/main.cpp @@ -0,0 +1,110 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include <fstream> +#include <windows.h> +extern "C" { +#include "pthread.h" +} + +#include "application.h" +#include "debug.h" +#include "utils.h" + +HINSTANCE instance = NULL; + +static void init_winsock() +{ + WSADATA wsaData; + int res; + + if ((res = WSAStartup(MAKEWORD(2, 2), &wsaData)) != 0) { + THROW("WSAStartup failed %d", res); + } +} + +#ifdef __MINGW32__ +// XXX: for mingw32 we can do both actually, but it seems easier +// to just use the autoconf provided PACKAGE_VERSION. +static void init_version_string() +{ +} +#else +const char* PACKAGE_VERSION = "???"; +static char _version_string[40]; + +static void init_version_string() +{ + DWORD handle; + DWORD verrsion_inf_size = GetFileVersionInfoSizeA(__argv[0], &handle); + if (verrsion_inf_size == 0) { + return; + } + AutoArray<uint8_t> info_buf (new uint8_t[verrsion_inf_size]); + if (!GetFileVersionInfoA(__argv[0], handle, verrsion_inf_size, info_buf.get())) { + return; + } + UINT size; + VS_FIXEDFILEINFO *file_info; + if (!VerQueryValueA(info_buf.get(), "\\", (VOID**)&file_info, &size) || + size < sizeof(VS_FIXEDFILEINFO)) { + return; + } + sprintf(_version_string, "%d.%d.%d.%d", + (int)(file_info->dwFileVersionMS >> 16), + (int)(file_info->dwFileVersionMS & 0x0ffff), + (int)(file_info->dwFileVersionLS >> 16), + (int)(file_info->dwFileVersionLS & 0x0ffff)); + PACKAGE_VERSION = _version_string; +} +#endif + +int WINAPI WinMain(HINSTANCE hInstance, + HINSTANCE hPrevInstance, + LPSTR lpCmdLine, + int nCmdShow) +{ + int exit_val; + + instance = hInstance; + + try { + init_version_string(); + pthread_win32_process_attach_np(); + init_winsock(); + exit_val = Application::main(__argc, __argv, PACKAGE_VERSION); + LOG_INFO("Spice client terminated (exitcode = %d)", exit_val); + } catch (Exception& e) { + LOG_ERROR("unhandle exception: %s", e.what()); + exit_val = e.get_error_code(); + } catch (std::exception& e) { + LOG_ERROR("unhandle exception: %s", e.what()); + exit_val = SPICEC_ERROR_CODE_ERROR; + } catch (...) { + LOG_ERROR("unhandled exception"); + exit_val = SPICEC_ERROR_CODE_ERROR; + } + + spice_log_cleanup(); + pthread_win32_process_detach_np(); + + return exit_val; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/windows/my_getopt.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/windows/my_getopt.cpp new file mode 100644 index 0000000..5237b8e --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/windows/my_getopt.cpp @@ -0,0 +1,281 @@ +/* + * my_getopt.c - my re-implementation of getopt. + * Copyright 1997, 2000, 2001, 2002, 2006, Benjamin Sittler + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, copy, + * modify, merge, publish, distribute, sublicense, and/or sell copies + * of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + */ + +#include <sys/types.h> +#include <stdlib.h> +#include <stdio.h> +#include <string.h> +#include "my_getopt.h" + +int my_optind=1, my_opterr=1, my_optopt=0; +char *my_optarg=0; + +/* reset argument parser to start-up values */ +int my_getopt_reset(void) +{ + my_optind = 1; + my_opterr = 1; + my_optopt = 0; + my_optarg = 0; + return 0; +} + +/* this is the plain old UNIX getopt, with GNU-style extensions. */ +/* if you're porting some piece of UNIX software, this is all you need. */ +/* this supports GNU-style permution and optional arguments */ + +int my_getopt(int argc, char * argv[], const char *opts) +{ + static int charind=0; + char mode, colon_mode; + int off = 0, opt = -1; + + if(getenv("POSIXLY_CORRECT")) colon_mode = mode = '+'; + else { + if((colon_mode = *opts) == ':') off ++; + if(((mode = opts[off]) == '+') || (mode == '-')) { + off++; + if((colon_mode != ':') && ((colon_mode = opts[off]) == ':')) + off ++; + } + } + my_optarg = 0; + if(charind) { + const char *s; + my_optopt = argv[my_optind][charind]; + for(s=opts+off; *s; s++) if(my_optopt == *s) { + charind++; + if((*(++s) == ':') || ((my_optopt == 'W') && (*s == ';'))) { + if(argv[my_optind][charind]) { + my_optarg = &(argv[my_optind++][charind]); + charind = 0; + } else if(*(++s) != ':') { + charind = 0; + if(++my_optind >= argc) { + if(my_opterr) fprintf(stderr, + "%s: option requires an argument -- %c\n", + argv[0], my_optopt); + opt = (colon_mode == ':') ? ':' : '?'; + goto my_getopt_ok; + } + my_optarg = argv[my_optind++]; + } + } + opt = my_optopt; + goto my_getopt_ok; + } + if(my_opterr) fprintf(stderr, + "%s: illegal option -- %c\n", + argv[0], my_optopt); + opt = '?'; + if(argv[my_optind][++charind] == '\0') { + my_optind++; + charind = 0; + } + my_getopt_ok: + if(charind && ! argv[my_optind][charind]) { + my_optind++; + charind = 0; + } + } else if((my_optind >= argc) || + ((argv[my_optind][0] == '-') && + (argv[my_optind][1] == '-') && + (argv[my_optind][2] == '\0'))) { + my_optind++; + opt = -1; + } else if((argv[my_optind][0] != '-') || + (argv[my_optind][1] == '\0')) { + char *tmp; + int i, j, k; + + if(mode == '+') opt = -1; + else if(mode == '-') { + my_optarg = argv[my_optind++]; + charind = 0; + opt = 1; + } else { + for(i=j=my_optind; i<argc; i++) if((argv[i][0] == '-') && + (argv[i][1] != '\0')) { + my_optind=i; + opt=my_getopt(argc, argv, opts); + while(i > j) { + tmp=argv[--i]; + for(k=i; k+1<my_optind; k++) argv[k]=argv[k+1]; + argv[--my_optind]=tmp; + } + break; + } + if(i == argc) opt = -1; + } + } else { + charind++; + opt = my_getopt(argc, argv, opts); + } + if (my_optind > argc) my_optind = argc; + return opt; +} + +/* this is the extended getopt_long{,_only}, with some GNU-like + * extensions. Implements _getopt_internal in case any programs + * expecting GNU libc getopt call it. + */ + +int _my_getopt_internal(int argc, char * argv[], const char *shortopts, + const struct option *longopts, int *longind, + int long_only) +{ + char mode, colon_mode = *shortopts; + int shortoff = 0, opt = -1; + + if(getenv("POSIXLY_CORRECT")) colon_mode = mode = '+'; + else { + if((colon_mode = *shortopts) == ':') shortoff ++; + if(((mode = shortopts[shortoff]) == '+') || (mode == '-')) { + shortoff++; + if((colon_mode != ':') && ((colon_mode = shortopts[shortoff]) == ':')) + shortoff ++; + } + } + my_optarg = 0; + if((my_optind >= argc) || + ((argv[my_optind][0] == '-') && + (argv[my_optind][1] == '-') && + (argv[my_optind][2] == '\0'))) { + my_optind++; + opt = -1; + } else if((argv[my_optind][0] != '-') || + (argv[my_optind][1] == '\0')) { + char *tmp; + int i, j, k; + + opt = -1; + if(mode == '+') return -1; + else if(mode == '-') { + my_optarg = argv[my_optind++]; + return 1; + } + for(i=j=my_optind; i<argc; i++) if((argv[i][0] == '-') && + (argv[i][1] != '\0')) { + my_optind=i; + opt=_my_getopt_internal(argc, argv, shortopts, + longopts, longind, + long_only); + while(i > j) { + tmp=argv[--i]; + for(k=i; k+1<my_optind; k++) + argv[k]=argv[k+1]; + argv[--my_optind]=tmp; + } + break; + } + } else if((!long_only) && (argv[my_optind][1] != '-')) + opt = my_getopt(argc, argv, shortopts); + else { + int charind, offset; + int found = 0, ind, hits = 0; + + if(((my_optopt = argv[my_optind][1]) != '-') && ! argv[my_optind][2]) { + int c; + + ind = shortoff; + while((c = shortopts[ind++])) { + if(((shortopts[ind] == ':') || + ((c == 'W') && (shortopts[ind] == ';'))) && + (shortopts[++ind] == ':')) + ind ++; + if(my_optopt == c) return my_getopt(argc, argv, shortopts); + } + } + offset = 2 - (argv[my_optind][1] != '-'); + for(charind = offset; + (argv[my_optind][charind] != '\0') && + (argv[my_optind][charind] != '='); + charind++); + for(ind = 0; longopts[ind].name && !hits; ind++) + if((strlen(longopts[ind].name) == (size_t) (charind - offset)) && + (strncmp(longopts[ind].name, + argv[my_optind] + offset, charind - offset) == 0)) + found = ind, hits++; + if(!hits) for(ind = 0; longopts[ind].name; ind++) + if(strncmp(longopts[ind].name, + argv[my_optind] + offset, charind - offset) == 0) + found = ind, hits++; + if(hits == 1) { + opt = 0; + + if(argv[my_optind][charind] == '=') { + if(longopts[found].has_arg == 0) { + opt = '?'; + if(my_opterr) fprintf(stderr, + "%s: option `--%s' doesn't allow an argument\n", + argv[0], longopts[found].name); + } else { + my_optarg = argv[my_optind] + ++charind; + charind = 0; + } + } else if(longopts[found].has_arg == 1) { + if(++my_optind >= argc) { + opt = (colon_mode == ':') ? ':' : '?'; + if(my_opterr) fprintf(stderr, + "%s: option `--%s' requires an argument\n", + argv[0], longopts[found].name); + } else my_optarg = argv[my_optind]; + } + if(!opt) { + if (longind) *longind = found; + if(!longopts[found].flag) opt = longopts[found].val; + else *(longopts[found].flag) = longopts[found].val; + } + my_optind++; + } else if(!hits) { + if(offset == 1) opt = my_getopt(argc, argv, shortopts); + else { + opt = '?'; + if(my_opterr) fprintf(stderr, + "%s: unrecognized option `%s'\n", + argv[0], argv[my_optind++]); + } + } else { + opt = '?'; + if(my_opterr) fprintf(stderr, + "%s: option `%s' is ambiguous\n", + argv[0], argv[my_optind++]); + } + } + if (my_optind > argc) my_optind = argc; + return opt; +} + +int my_getopt_long(int argc, char * argv[], const char *shortopts, + const struct option *longopts, int *longind) +{ + return _my_getopt_internal(argc, argv, shortopts, longopts, longind, 0); +} + +int my_getopt_long_only(int argc, char * argv[], const char *shortopts, + const struct option *longopts, int *longind) +{ + return _my_getopt_internal(argc, argv, shortopts, longopts, longind, 1); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/windows/named_pipe.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/windows/named_pipe.cpp new file mode 100644 index 0000000..c813112 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/windows/named_pipe.cpp @@ -0,0 +1,232 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "named_pipe.h" +#include "utils.h" +#include "debug.h" + +#define PIPE_TIMEOUT 5000 +#define PIPE_MAX_NAME_LEN 256 +#define PIPE_PREFIX TEXT("\\\\.\\pipe\\") + +PipeBuffer::PipeBuffer(HANDLE pipe, ProcessLoop& process_loop) + : _handler (NULL) + , _pipe (pipe) + , _start (0) + , _end (0) + , _pending (false) + , _process_loop(process_loop) +{ + ZeroMemory(&_overlap, sizeof(_overlap)); + _overlap.hEvent = this->get_handle(); + _process_loop.add_handle(*this); +} + +PipeBuffer::~PipeBuffer() +{ + _process_loop.remove_handle(*this); +} + +DWORD PipeBuffer::get_overlapped_bytes() +{ + DWORD bytes = 0; + + if (!GetOverlappedResult(_pipe, &_overlap, &bytes, FALSE) || bytes == 0) { + _pending = false; + _handler->on_data(); + } + return bytes; +} + +int32_t PipeReader::read(uint8_t *buf, int32_t size) +{ + ASSERT(buf && size >= 0); + + if (_start < _end) { + int32_t bytes_read = 0; + bytes_read = MIN(_end - _start, (uint32_t)size); + CopyMemory(buf, _data + _start, bytes_read); + _start += bytes_read; + if (_start == _end) { + _start = _end = 0; + } + return bytes_read; + } + if (_pending) { + return 0; + } + if (!ReadFile(_pipe, _data + _end, sizeof(_data) - _end, NULL, &_overlap) && + GetLastError() != ERROR_IO_PENDING) { + DBG(0, "ReadFile() failed %u", GetLastError()); + return -1; + } + _pending = true; + return 0; +} + +void PipeReader::on_event() +{ + ASSERT(_pending); + DWORD bytes = get_overlapped_bytes(); + + if (!bytes) { + return; + } + _end += bytes; + _pending = false; + _handler->on_data(); +} + +int32_t PipeWriter::write(const uint8_t *buf, int32_t size) +{ + int32_t bytes_written = 0; + ASSERT(buf && size >= 0); + + if (!_pending && _start == _end) { + _start = _end = 0; + } + if (_end < sizeof(_data)) { + bytes_written = MIN(sizeof(_data) - _end, (uint32_t)size); + CopyMemory(_data + _end, buf, bytes_written); + _end += bytes_written; + } + if (!_pending && _start < _end) { + if (!WriteFile(_pipe, _data + _start, _end - _start, NULL, &_overlap) && + GetLastError() != ERROR_IO_PENDING) { + DBG(0, "WriteFile() failed %u", GetLastError()); + return -1; + } + _pending = true; + } + return bytes_written; +} + +void PipeWriter::on_event() +{ + ASSERT(_pending); + DWORD bytes = get_overlapped_bytes(); + if (!bytes) { + return; + } + _start += bytes; + _pending = false; + if (_start == sizeof(_data)) { + _handler->on_data(); + } +} + +WinConnection::WinConnection(HANDLE pipe, ProcessLoop& process_loop) + : _pipe (pipe) + , _writer (pipe, process_loop) + , _reader (pipe, process_loop) +{ +} + +WinConnection::~WinConnection() +{ + if (!DisconnectNamedPipe(_pipe)) { + DBG(0, "DisconnectNamedPipe failed %d", GetLastError()); + } + CloseHandle(_pipe); +} + +int32_t WinConnection::read(uint8_t *buf, int32_t size) +{ + return _reader.read(buf, size); +} + +int32_t WinConnection::write(const uint8_t *buf, int32_t size) +{ + return _writer.write(buf, size); +} + +void WinConnection::set_handler(NamedPipe::ConnectionInterface* handler) +{ + _reader.set_handler(handler); + _writer.set_handler(handler); +} + +WinListener::WinListener(const char *name, NamedPipe::ListenerInterface &listener_interface, + ProcessLoop& process_loop) + : _listener_interface (listener_interface) + , _pipe (0) + , _process_loop (process_loop) +{ + _pipename = new TCHAR[PIPE_MAX_NAME_LEN]; + swprintf_s(_pipename, PIPE_MAX_NAME_LEN, L"%s%S", PIPE_PREFIX, name); + ZeroMemory(&_overlap, sizeof(_overlap)); + _overlap.hEvent = this->get_handle(); + _process_loop.add_handle(*this); + create_pipe(); +} + +WinListener::~WinListener() +{ + CancelIo(_pipe); + _process_loop.remove_handle(*this); + delete[] _pipename; +} + +void WinListener::on_event() +{ + DWORD bytes; + + if (!GetOverlappedResult(_pipe, &_overlap, &bytes, FALSE)) { + DBG(0, "GetOverlappedResult() failed %u", GetLastError()); + return; + } + DBG(0, "Pipe connected 0x%p", _pipe); + WinConnection *con = new WinConnection(_pipe, _process_loop); + NamedPipe::ConnectionInterface &con_interface = _listener_interface.create(); + con->set_handler(&con_interface); + con_interface.bind((NamedPipe::ConnectionRef)con); + create_pipe(); +} + +void WinListener::create_pipe() +{ + _pipe = CreateNamedPipe(_pipename, PIPE_ACCESS_DUPLEX | FILE_FLAG_OVERLAPPED, + PIPE_TYPE_MESSAGE | PIPE_READMODE_MESSAGE | PIPE_WAIT, + PIPE_UNLIMITED_INSTANCES, PIPE_BUF_SIZE, PIPE_BUF_SIZE, + PIPE_TIMEOUT, NULL); + if (_pipe == INVALID_HANDLE_VALUE) { + THROW("CreateNamedPipe() failed %u", GetLastError()); + } + if (ConnectNamedPipe(_pipe, &_overlap)) { + THROW("ConnectNamedPipe() is not pending"); + } + switch (GetLastError()) { + case ERROR_IO_PENDING: + DBG(0, "Pipe waits for connection"); + break; + case ERROR_PIPE_CONNECTED: { + DBG(0, "Pipe already connected"); + WinConnection *con = new WinConnection(_pipe, _process_loop); + NamedPipe::ConnectionInterface &con_interface = _listener_interface.create(); + con->set_handler(&con_interface); + con_interface.bind((NamedPipe::ConnectionRef)con); + create_pipe(); + break; + } + default: + THROW("ConnectNamedPipe() failed %u", GetLastError()); + } +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/windows/named_pipe.h b/tizen/distrib/remote/server/spice-0.12.2/client/windows/named_pipe.h new file mode 100644 index 0000000..10d5ced --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/windows/named_pipe.h @@ -0,0 +1,94 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_NAMED_PIPE +#define _H_NAMED_PIPE + +#include <windows.h> +#include "process_loop.h" +#include "event_sources.h" +#include "platform.h" + +#define PIPE_BUF_SIZE 8192 + +class WinConnection; + +class PipeBuffer: public EventSources::Handle { +public: + PipeBuffer(HANDLE pipe, ProcessLoop& process_loop); + ~PipeBuffer(); + void set_handler(NamedPipe::ConnectionInterface* handler) { _handler = handler;} + DWORD get_overlapped_bytes(); + +protected: + NamedPipe::ConnectionInterface *_handler; + OVERLAPPED _overlap; + HANDLE _pipe; + uint32_t _start; + uint32_t _end; + uint8_t _data[PIPE_BUF_SIZE]; + bool _pending; + ProcessLoop& _process_loop; +}; + +class PipeReader: public PipeBuffer { +public: + PipeReader(HANDLE pipe, ProcessLoop& process_loop) : PipeBuffer(pipe, process_loop) {} + int32_t read(uint8_t *buf, int32_t size); + void on_event(); +}; + +class PipeWriter: public PipeBuffer { +public: + PipeWriter(HANDLE pipe, ProcessLoop& process_loop) : PipeBuffer(pipe, process_loop) {} + int32_t write(const uint8_t *buf, int32_t size); + void on_event(); +}; + +class WinConnection { +public: + WinConnection(HANDLE pipe, ProcessLoop& process_loop); + ~WinConnection(); + int32_t read(uint8_t *buf, int32_t size); + int32_t write(const uint8_t *buf, int32_t size); + void set_handler(NamedPipe::ConnectionInterface* handler); + +private: + HANDLE _pipe; + PipeWriter _writer; + PipeReader _reader; +}; + +class WinListener: public EventSources::Handle { +public: + WinListener(const char *name, NamedPipe::ListenerInterface &listener_interface, + ProcessLoop& process_loop); + ~WinListener(); + void on_event(); + +private: + void create_pipe(); + +private: + TCHAR *_pipename; + NamedPipe::ListenerInterface &_listener_interface; + OVERLAPPED _overlap; + HANDLE _pipe; + ProcessLoop& _process_loop; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/windows/pixels_source.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/windows/pixels_source.cpp new file mode 100644 index 0000000..3ddf556 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/windows/pixels_source.cpp @@ -0,0 +1,110 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "pixels_source.h" +#include "pixels_source_p.h" +#include "platform_utils.h" +#include "threads.h" +#include "debug.h" + + +static SpicePoint get_bitmap_size(HDC dc) +{ + BITMAP bitmap_info; + SpicePoint size; + + GetObject(GetCurrentObject(dc, OBJ_BITMAP), sizeof(bitmap_info), &bitmap_info); + + size.x = bitmap_info.bmWidth; + size.y = bitmap_info.bmHeight; + return size; +} + +PixelsSource::PixelsSource() +{ + ASSERT(sizeof(_opaque) >= sizeof(PixelsSource_p)); + _origin.x = _origin.y = 0; + memset(_opaque, 0, sizeof(_opaque)); + PixelsSource_p* p_data = (PixelsSource_p*)_opaque; + p_data->_mutex = new RecurciveMutex(); +} + +PixelsSource::~PixelsSource() +{ + PixelsSource_p* p_data = (PixelsSource_p*)_opaque; + delete p_data->_mutex; +} + +struct ResImage_p { + PixelsSource_p source_p; + HBITMAP prev_bitmap; +}; + + +ImageFromRes::ImageFromRes(int res_id) +{ + AutoDC dc(create_compatible_dc()); + ((ResImage_p*)get_opaque())->prev_bitmap = (HBITMAP)SelectObject(dc.get(), + get_bitmap_res(res_id)); + ((ResImage_p*)get_opaque())->source_p.dc = dc.release(); +} + +ImageFromRes::~ImageFromRes() +{ + HDC dc = ((ResImage_p*)get_opaque())->source_p.dc; + if (dc) { + HGDIOBJ bitmap = SelectObject(dc, ((ResImage_p*)get_opaque())->prev_bitmap); + DeleteObject(bitmap); + DeleteDC(dc); + } +} + +SpicePoint ImageFromRes::get_size() +{ + ResImage_p* p_data = (ResImage_p*)get_opaque(); + Lock lock(*p_data->source_p._mutex); + return get_bitmap_size(p_data->source_p.dc); +} + +AlphaImageFromRes::AlphaImageFromRes(int res_id) +{ + AutoDC dc(create_compatible_dc()); + ((ResImage_p*)get_opaque())->prev_bitmap = (HBITMAP)SelectObject(dc.get(), + get_alpha_bitmap_res(res_id)); + ((ResImage_p*)get_opaque())->source_p.dc = dc.release(); +} + +AlphaImageFromRes::~AlphaImageFromRes() +{ + HDC dc = ((ResImage_p*)get_opaque())->source_p.dc; + if (dc) { + HGDIOBJ bitmap = SelectObject(dc, ((ResImage_p*)get_opaque())->prev_bitmap); + DeleteObject(bitmap); + DeleteDC(dc); + } +} + +SpicePoint AlphaImageFromRes::get_size() +{ + ResImage_p* p_data = (ResImage_p*)get_opaque(); + Lock lock(*p_data->source_p._mutex); + return get_bitmap_size(p_data->source_p.dc); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/windows/pixels_source_p.h b/tizen/distrib/remote/server/spice-0.12.2/client/windows/pixels_source_p.h new file mode 100644 index 0000000..f06be0e --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/windows/pixels_source_p.h @@ -0,0 +1,28 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_PIXELE_SOURSR_P +#define _H_PIXELE_SOURSR_P + +class RecurciveMutex; + +struct PixelsSource_p { + HDC dc; + RecurciveMutex* _mutex; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/windows/platform.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/windows/platform.cpp new file mode 100644 index 0000000..d3417e3 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/windows/platform.cpp @@ -0,0 +1,1213 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" + +#include <shlobj.h> +#include <io.h> +#include <conio.h> +#include <fcntl.h> + +#include "platform.h" +#include "win_platform.h" +#include "utils.h" +#include "threads.h" +#include "debug.h" +#include "monitor.h" +#include "record.h" +#include "playback.h" +#include "cursor.h" +#include "named_pipe.h" + +#ifndef DISABLE_CXIMAGE +#define USE_CXIMAGE +#endif + +#ifdef USE_CXIMAGE +#include "ximage.h" +#endif +#include <spice/vd_agent.h> + +extern HINSTANCE instance; + +class DefaultEventListener: public Platform::EventListener { +public: + virtual void on_app_activated() {} + virtual void on_app_deactivated() {} + virtual void on_monitors_change() {} +}; + +static DefaultEventListener default_event_listener; +static Platform::EventListener* event_listener = &default_event_listener; +static HWND platform_win = NULL; +static ProcessLoop* main_loop = NULL; + +class DefaultClipboardListener: public Platform::ClipboardListener { +public: + virtual void on_clipboard_grab(uint32_t *types, uint32_t type_count) {} + virtual void on_clipboard_request(uint32_t type) {} + virtual void on_clipboard_notify(uint32_t type, uint8_t* data, int32_t size) {} + virtual void on_clipboard_release() {} +}; + +static DefaultClipboardListener default_clipboard_listener; +static Platform::ClipboardListener* clipboard_listener = &default_clipboard_listener; + +// The next window in the clipboard viewer chain, which is refered in all clipboard events. +static HWND next_clipboard_viewer_win = NULL; +static HANDLE clipboard_event = NULL; + +static const int CLIPBOARD_TIMEOUT_MS = 10000; + +static const int CLIPBOARD_FORMAT_MAX_TYPES = 16; + +typedef struct ClipboardFormat { + uint32_t format; + uint32_t types[CLIPBOARD_FORMAT_MAX_TYPES]; +} ClipboardFormat; + +static ClipboardFormat clipboard_formats[] = { + {CF_UNICODETEXT, {VD_AGENT_CLIPBOARD_UTF8_TEXT, 0}}, + //FIXME: support more image types + {CF_DIB, {VD_AGENT_CLIPBOARD_IMAGE_PNG, VD_AGENT_CLIPBOARD_IMAGE_BMP, 0}}, +}; + +#define clipboard_formats_count (sizeof(clipboard_formats) / sizeof(clipboard_formats[0])) + +#ifdef USE_CXIMAGE +typedef struct ImageType { + uint32_t type; + DWORD cximage_format; +} ImageType; + +static ImageType image_types[] = { + {VD_AGENT_CLIPBOARD_IMAGE_PNG, CXIMAGE_FORMAT_PNG}, + {VD_AGENT_CLIPBOARD_IMAGE_BMP, CXIMAGE_FORMAT_BMP}, +}; +#endif + +static std::set<uint32_t> grab_types; + +static const unsigned long MODAL_LOOP_TIMER_ID = 1; +static const int MODAL_LOOP_DEFAULT_TIMEOUT = 100; +static bool modal_loop_active = false; +static bool set_modal_loop_timer(); + +void Platform::send_quit_request() +{ + ASSERT(main_loop); + main_loop->quit(0); +} + +static uint32_t get_clipboard_type(uint32_t format) { + uint32_t* types = NULL; + + for (size_t i = 0; i < clipboard_formats_count && !types; i++) { + if (clipboard_formats[i].format == format) { + types = clipboard_formats[i].types; + } + } + if (!types) { + return VD_AGENT_CLIPBOARD_NONE; + } + for (uint32_t* ptype = types; *ptype; ptype++) { + if (grab_types.find(*ptype) != grab_types.end()) { + return *ptype; + } + } + return VD_AGENT_CLIPBOARD_NONE; +} + +static uint32_t get_clipboard_format(uint32_t type) { + for (size_t i = 0; i < clipboard_formats_count; i++) { + for (uint32_t* ptype = clipboard_formats[i].types; *ptype; ptype++) { + if (*ptype == type) { + return clipboard_formats[i].format; + } + } + } + return 0; +} + +static int get_available_clipboard_types(uint32_t** types) +{ + int count = 0; + + *types = new uint32_t[clipboard_formats_count * CLIPBOARD_FORMAT_MAX_TYPES]; + for (size_t i = 0; i < clipboard_formats_count; i++) { + if (IsClipboardFormatAvailable(clipboard_formats[i].format)) { + for (uint32_t* ptype = clipboard_formats[i].types; *ptype; ptype++) { + (*types)[count++] = *ptype; + } + } + } + if (!count) { + delete[] *types; + *types = NULL; + } + return count; +} + +#ifdef USE_CXIMAGE +static DWORD get_cximage_format(uint32_t type) +{ + for (size_t i = 0; i < sizeof(image_types) / sizeof(image_types[0]); i++) { + if (image_types[i].type == type) { + return image_types[i].cximage_format; + } + } + return 0; +} +#endif + +static LRESULT CALLBACK PlatformWinProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) +{ + switch (message) { + case WM_TIMER: + if (modal_loop_active) { + main_loop->timers_action(); + if (!set_modal_loop_timer()) { + LOG_WARN("failed to set modal loop timer"); + } + } else { + LOG_WARN("received WM_TIMER not inside a modal loop"); + } + break; + case WM_ACTIVATEAPP: + if (wParam) { + event_listener->on_app_activated(); + } else { + event_listener->on_app_deactivated(); + } + break; + case WM_DISPLAYCHANGE: + event_listener->on_monitors_change(); + break; + case WM_CHANGECBCHAIN: + if (next_clipboard_viewer_win == (HWND)wParam) { + next_clipboard_viewer_win = (HWND)lParam; + } else if (next_clipboard_viewer_win) { + SendMessage(next_clipboard_viewer_win, message, wParam, lParam); + } + break; + case WM_DRAWCLIPBOARD: + if (platform_win != GetClipboardOwner()) { + int type_count; + uint32_t* types; + Platform::set_clipboard_owner(Platform::owner_none); + if ((type_count = get_available_clipboard_types(&types))) { + clipboard_listener->on_clipboard_grab(types, type_count); + delete[] types; + } else { + LOG_INFO("Unsupported clipboard format"); + } + } + if (next_clipboard_viewer_win) { + SendMessage(next_clipboard_viewer_win, message, wParam, lParam); + } + break; + case WM_RENDERFORMAT: { + // In delayed rendering, Windows requires us to SetClipboardData before we return from + // handling WM_RENDERFORMAT. Therefore, we try our best by sending CLIPBOARD_REQUEST to the + // agent, while waiting alertably for a while (hoping for good) for receiving CLIPBOARD data + // or CLIPBOARD_RELEASE from the agent, which both will signal clipboard_event. + uint32_t type = get_clipboard_type(wParam); + if (!type) { + LOG_INFO("Unsupported clipboard format %u", wParam); + break; + } + clipboard_listener->on_clipboard_request(type); + DWORD start_tick = GetTickCount(); + while (WaitForSingleObjectEx(clipboard_event, 1000, TRUE) != WAIT_OBJECT_0 && + GetTickCount() < start_tick + CLIPBOARD_TIMEOUT_MS); + break; + } + default: + return DefWindowProc(hWnd, message, wParam, lParam); + } + return 0; +} + +static void create_message_wind() +{ + WNDCLASSEX wclass; + ATOM class_atom; + DWORD err; + + const LPCWSTR class_name = L"spicec_platform_wclass"; + + wclass.cbSize = sizeof(WNDCLASSEX); + wclass.style = 0; + wclass.lpfnWndProc = PlatformWinProc; + wclass.cbClsExtra = 0; + wclass.cbWndExtra = 0; + wclass.hInstance = instance; + wclass.hIcon = NULL; + wclass.hCursor = NULL; + wclass.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH); + wclass.lpszMenuName = NULL; + wclass.lpszClassName = class_name; + wclass.hIconSm = NULL; + + if ((class_atom = RegisterClassEx(&wclass)) == 0) { + THROW("register class failed"); + } + + if (!(platform_win = CreateWindow(class_name, L"", 0, 0, 0, 0, 0, NULL, NULL, instance, NULL))) { + THROW("create message window failed"); + } + SetLastError(0); + if (!(next_clipboard_viewer_win = SetClipboardViewer(platform_win)) && (err = GetLastError())) { + THROW("set clipboard viewer failed %u", err); + } + if (!(clipboard_event = CreateEvent(NULL, FALSE, FALSE, NULL))) { + THROW("create clipboard event failed"); + } +} + +NamedPipe::ListenerRef NamedPipe::create(const char *name, ListenerInterface& listener_interface) +{ + ASSERT(main_loop && main_loop->is_same_thread(pthread_self())); + return (ListenerRef)(new WinListener(name, listener_interface, *main_loop)); +} + +void NamedPipe::destroy(ListenerRef listener_ref) +{ + ASSERT(main_loop && main_loop->is_same_thread(pthread_self())); + delete (WinListener *)listener_ref; +} + +void NamedPipe::destroy_connection(ConnectionRef conn_ref) +{ + ASSERT(main_loop && main_loop->is_same_thread(pthread_self())); + delete (WinConnection *)conn_ref; +} + +int32_t NamedPipe::read(ConnectionRef conn_ref, uint8_t *buf, int32_t size) +{ + return ((WinConnection *)conn_ref)->read(buf, size); +} + +int32_t NamedPipe::write(ConnectionRef conn_ref, const uint8_t *buf, int32_t size) +{ + return ((WinConnection *)conn_ref)->write(buf, size); +} + +void Platform::msleep(unsigned int msec) +{ + Sleep(msec); +} + +void Platform::yield() +{ + Sleep(0); +} + +void Platform::set_thread_priority(void* thread, Platform::ThreadPriority in_priority) +{ + ASSERT(thread == NULL); + int priority; + + switch (in_priority) { + case PRIORITY_TIME_CRITICAL: + priority = THREAD_PRIORITY_TIME_CRITICAL; + break; + case PRIORITY_HIGH: + priority = THREAD_PRIORITY_HIGHEST; + break; + case PRIORITY_ABOVE_NORMAL: + priority = THREAD_PRIORITY_ABOVE_NORMAL; + break; + case PRIORITY_NORMAL: + priority = THREAD_PRIORITY_NORMAL; + break; + case PRIORITY_BELOW_NORMAL: + priority = THREAD_PRIORITY_BELOW_NORMAL; + break; + case PRIORITY_LOW: + priority = THREAD_PRIORITY_LOWEST; + break; + case PRIORITY_IDLE: + priority = THREAD_PRIORITY_IDLE; + break; + default: + THROW("invalid priority %d", in_priority); + } + SetThreadPriority(GetCurrentThread(), priority); +} + +void Platform::set_event_listener(EventListener* listener) +{ + event_listener = listener ? listener : &default_event_listener; +} + +uint64_t Platform::get_monolithic_time() +{ + return uint64_t(GetTickCount()) * 1000 * 1000; +} + +void Platform::get_temp_dir(std::string& path) +{ + DWORD len = GetTempPathA(0, NULL); + if (len <= 0) { + throw Exception("get temp patch failed"); + } + char* tmp_path = new char[len + 1]; + GetTempPathA(len, tmp_path); + path = tmp_path; + delete[] tmp_path; +} + +uint64_t Platform::get_process_id() +{ + static uint64_t pid = GetCurrentProcessId(); + return pid; +} + +uint64_t Platform::get_thread_id() +{ + return GetCurrentThreadId(); +} + +void Platform::error_beep() +{ + MessageBeep(MB_ICONERROR); +} + +class WinMonitor: public Monitor { +public: + WinMonitor(int id, const wchar_t* name, const wchar_t* string); + + virtual int get_depth() { return _depth;} + virtual SpicePoint get_position(); + virtual SpicePoint get_size() const { SpicePoint size = {_width, _height}; return size;} + virtual bool is_out_of_sync() { return _out_of_sync;} + virtual int get_screen_id() { return 0;} + +protected: + virtual ~WinMonitor(); + virtual void do_set_mode(int width, int height); + virtual void do_restore(); + +private: + void update_position(); + bool change_display_settings(int width, int height, int depth); + bool best_display_setting(uint32_t width, uint32_t height, uint32_t depth); + +private: + std::wstring _dev_name; + std::wstring _dev_string; + bool _active; + SpicePoint _position; + int _width; + int _height; + int _depth; + bool _out_of_sync; +}; + +WinMonitor::WinMonitor(int id, const wchar_t* name, const wchar_t* string) + : Monitor(id) + , _dev_name (name) + , _dev_string (string) + , _active (false) + , _out_of_sync (false) +{ + update_position(); +} + +WinMonitor::~WinMonitor() +{ + do_restore(); +} + +void WinMonitor::update_position() +{ + DEVMODE mode; + mode.dmSize = sizeof(DEVMODE); + mode.dmDriverExtra = 0; + EnumDisplaySettings(_dev_name.c_str(), ENUM_CURRENT_SETTINGS, &mode); + _position.x = mode.dmPosition.x; + _position.y = mode.dmPosition.y; + _width = mode.dmPelsWidth; + _height = mode.dmPelsHeight; + _depth = mode.dmBitsPerPel; +} + +SpicePoint WinMonitor::get_position() +{ + update_position(); + return _position; +} + +bool WinMonitor::change_display_settings(int width, int height, int depth) +{ + DEVMODE mode; + mode.dmSize = sizeof(DEVMODE); + mode.dmDriverExtra = 0; + mode.dmFields = DM_PELSWIDTH | DM_PELSHEIGHT | DM_BITSPERPEL; + mode.dmPelsWidth = width; + mode.dmPelsHeight = height; + mode.dmBitsPerPel = depth; + + return ChangeDisplaySettingsEx(_dev_name.c_str(), &mode, NULL, CDS_FULLSCREEN, NULL) + == DISP_CHANGE_SUCCESSFUL; +} + +bool WinMonitor::best_display_setting(uint32_t width, uint32_t height, uint32_t depth) +{ + DEVMODE mode; + DWORD mode_id = 0; + uint32_t mod_waste = ~0; + DWORD mod_width = 0; + DWORD mod_height = 0; + DWORD mod_depth = 0; + DWORD mod_frequency = 0; + + mode.dmSize = sizeof(DEVMODE); + mode.dmDriverExtra = 0; + while (EnumDisplaySettings(_dev_name.c_str(), mode_id++, &mode)) { + // Workaround for + // Lenovo T61p, Nvidia Quadro FX 570M and + // Lenovo T61, Nvidia Quadro NVS 140M + // + // with dual monitors configuration + // + // we get strange values from EnumDisplaySettings 640x480x4 frequency 1 + // and calling ChangeDisplaySettingsEx with that configuration result with + // machine that is stucked for a long period of time + if (mode.dmDisplayFrequency == 1) { + continue; + } + + if (mode.dmPelsWidth >= width && mode.dmPelsHeight >= height) { + bool replace = false; + uint32_t curr_waste = mode.dmPelsWidth * mode.dmPelsHeight - width * height; + if (curr_waste < mod_waste) { + replace = true; + } else if (curr_waste == mod_waste) { + if (mod_depth == mode.dmBitsPerPel) { + replace = mode.dmDisplayFrequency > mod_frequency; + } else if (mod_depth != depth && mode.dmBitsPerPel > mod_depth) { + replace = true; + } + } + if (replace) { + mod_waste = curr_waste; + mod_width = mode.dmPelsWidth; + mod_height = mode.dmPelsHeight; + mod_depth = mode.dmBitsPerPel; + mod_frequency = mode.dmDisplayFrequency; + } + } + } + if (mod_waste == ~0u) { + return false; + } + mode.dmFields = DM_PELSWIDTH | DM_PELSHEIGHT | DM_BITSPERPEL | DM_DISPLAYFREQUENCY; + mode.dmPelsWidth = mod_width; + mode.dmPelsHeight = mod_height; + mode.dmBitsPerPel = mod_depth; + mode.dmDisplayFrequency = mod_frequency; + + return ChangeDisplaySettingsEx(_dev_name.c_str(), &mode, NULL, CDS_FULLSCREEN, NULL) + == DISP_CHANGE_SUCCESSFUL; +} + +void WinMonitor::do_set_mode(int width, int height) +{ + update_position(); + if (width == _width && height == _height) { + _out_of_sync = false; + return; + } + self_monitors_change++; + if (!change_display_settings(width, height, 32) && !best_display_setting(width, height, 32)) { + _out_of_sync = true; + } else { + _out_of_sync = false; + } + self_monitors_change--; + _active = true; + update_position(); +} + +void WinMonitor::do_restore() +{ + if (_active) { + _active = false; + self_monitors_change++; + ChangeDisplaySettingsEx(_dev_name.c_str(), NULL, NULL, 0, NULL); + self_monitors_change--; + update_position(); + } +} + +static MonitorsList monitors; +static Monitor* primary_monitor = NULL; + +const MonitorsList& Platform::init_monitors() +{ + ASSERT(monitors.empty()); + + int id = 0; + Monitor* mon; + DISPLAY_DEVICE device_info; + DWORD device_id = 0; + device_info.cb = sizeof(device_info); + while (EnumDisplayDevices(NULL, device_id, &device_info, 0)) { + if ((device_info.StateFlags & DISPLAY_DEVICE_ATTACHED_TO_DESKTOP) && + !(device_info.StateFlags & DISPLAY_DEVICE_MIRRORING_DRIVER)) { + mon = new WinMonitor(id++, device_info.DeviceName, device_info.DeviceString); + monitors.push_back(mon); + if (device_info.StateFlags & DISPLAY_DEVICE_PRIMARY_DEVICE) { + primary_monitor = mon; + } + } + device_id++; + } + return monitors; +} + +void Platform::destroy_monitors() +{ + primary_monitor = NULL; + while (!monitors.empty()) { + Monitor* monitor = monitors.front(); + monitors.pop_front(); + delete monitor; + } +} + +bool Platform::is_monitors_pos_valid() +{ + return true; +} + +void Platform::get_app_data_dir(std::string& path, const std::string& app_name) +{ + char app_data_path[MAX_PATH]; + HRESULT res = SHGetFolderPathA(NULL, CSIDL_APPDATA, NULL, 0, app_data_path); + if (res != S_OK) { + throw Exception("get user app data dir failed"); + } + + path = app_data_path; + path_append(path, app_name); + + if (!CreateDirectoryA(path.c_str(), NULL) && GetLastError() != ERROR_ALREADY_EXISTS) { + throw Exception("create user app data dir failed"); + } +} + +void Platform::path_append(std::string& path, const std::string& partial_path) +{ + path += "\\"; + path += partial_path; +} + +static void cleanup() +{ + ChangeClipboardChain(platform_win, next_clipboard_viewer_win); + CloseHandle(clipboard_event); +} + +void Platform::init() +{ + create_message_wind(); + atexit(cleanup); +} + +void Platform::set_process_loop(ProcessLoop& main_process_loop) +{ + main_loop = &main_process_loop; +} + +WaveRecordAbstract* Platform::create_recorder(RecordClient& client, + uint32_t sampels_per_sec, + uint32_t bits_per_sample, + uint32_t channels) +{ + return new WaveRecorder(client, sampels_per_sec, bits_per_sample, channels); +} + +WavePlaybackAbstract* Platform::create_player(uint32_t sampels_per_sec, + uint32_t bits_per_sample, + uint32_t channels) +{ + return new WavePlayer(sampels_per_sec, bits_per_sample, channels); +} + +static void toggle_modifier(int key) +{ + INPUT inputs[2]; + memset(inputs, 0, sizeof(inputs)); + inputs[0].type = inputs[1].type = INPUT_KEYBOARD; + inputs[0].ki.wVk = inputs[1].ki.wVk = key; + inputs[1].ki.dwFlags = KEYEVENTF_KEYUP; + SendInput(2, inputs, sizeof(INPUT)); +} + +uint32_t Platform::get_keyboard_lock_modifiers() +{ + uint32_t modifiers = 0; + if ((GetKeyState(VK_SCROLL) & 1)) { + modifiers |= SCROLL_LOCK_MODIFIER; + } + if ((GetKeyState(VK_NUMLOCK) & 1)) { + modifiers |= NUM_LOCK_MODIFIER; + } + if ((GetKeyState(VK_CAPITAL) & 1)) { + modifiers |= CAPS_LOCK_MODIFIER; + } + return modifiers; +} + +void Platform::set_keyboard_lock_modifiers(uint32_t modifiers) +{ + if (((modifiers >> SCROLL_LOCK_MODIFIER_SHIFT) & 1) != (GetKeyState(VK_SCROLL) & 1)) { + toggle_modifier(VK_SCROLL); + } + + if (((modifiers >> Platform::NUM_LOCK_MODIFIER_SHIFT) & 1) != (GetKeyState(VK_NUMLOCK) & 1)) { + toggle_modifier(VK_NUMLOCK); + } + + if (((modifiers >> CAPS_LOCK_MODIFIER_SHIFT) & 1) != (GetKeyState(VK_CAPITAL) & 1)) { + toggle_modifier(VK_CAPITAL); + } +} + +typedef struct KeyboardModifier { + int vkey; + int bit; +} KeyboardModifier; + +static const KeyboardModifier KEYBOARD_MODIFIERS[] = { + {VK_LSHIFT, Platform::L_SHIFT_MODIFIER}, + {VK_RSHIFT, Platform::R_SHIFT_MODIFIER}, + {VK_LCONTROL, Platform::L_CTRL_MODIFIER}, + {VK_RCONTROL, Platform::R_CTRL_MODIFIER}, + {VK_LMENU, Platform::L_ALT_MODIFIER}, + {VK_RMENU, Platform::R_ALT_MODIFIER}}; + +uint32_t Platform::get_keyboard_modifiers() +{ + uint32_t modifiers_state = 0; + int num_modifiers = sizeof(KEYBOARD_MODIFIERS)/sizeof(KEYBOARD_MODIFIERS[0]); + + for (int i = 0; i < num_modifiers; i++) { + short key_state = GetAsyncKeyState(KEYBOARD_MODIFIERS[i].vkey); + modifiers_state |= (key_state & 0x8000) ? KEYBOARD_MODIFIERS[i].bit : 0; + } + + return modifiers_state; +} + +void Platform::reset_cursor_pos() +{ + if (!primary_monitor) { + return; + } + SpicePoint pos = primary_monitor->get_position(); + SpicePoint size = primary_monitor->get_size(); + SetCursorPos(pos.x + size.x / 2, pos.y + size.y / 2); +} + +class WinBaseLocalCursor: public LocalCursor { +public: + WinBaseLocalCursor() : _handle (0) {} + void set(Window window) { SetCursor(_handle);} + +protected: + HCURSOR _handle; +}; + +class WinLocalCursor: public WinBaseLocalCursor { +public: + WinLocalCursor(CursorData* cursor_data); + ~WinLocalCursor(); + +private: + bool _shared; +}; + +WinLocalCursor::WinLocalCursor(CursorData* cursor_data) + : _shared (false) +{ + const SpiceCursorHeader& header = cursor_data->header(); + const uint8_t* data = cursor_data->data(); + int cur_size; + int bits = get_size_bits(header, cur_size); + if (!bits) { + THROW("invalid curosr type"); + } + if (header.type == SPICE_CURSOR_TYPE_MONO) { + _handle = CreateCursor(NULL, header.hot_spot_x, header.hot_spot_y, + header.width, header.height, data, data + cur_size); + return; + } + ICONINFO icon; + icon.fIcon = FALSE; + icon.xHotspot = header.hot_spot_x; + icon.yHotspot = header.hot_spot_y; + icon.hbmColor = icon.hbmMask = NULL; + HDC hdc = GetDC(NULL); + + switch (header.type) { + case SPICE_CURSOR_TYPE_ALPHA: + case SPICE_CURSOR_TYPE_COLOR32: + case SPICE_CURSOR_TYPE_COLOR16: { + BITMAPV5HEADER bmp_hdr; + ZeroMemory(&bmp_hdr, sizeof(bmp_hdr)); + bmp_hdr.bV5Size = sizeof(bmp_hdr); + bmp_hdr.bV5Width = header.width; + bmp_hdr.bV5Height = -header.height; + bmp_hdr.bV5Planes = 1; + bmp_hdr.bV5BitCount = bits; + bmp_hdr.bV5Compression = BI_BITFIELDS; + if (bits == 32) { + bmp_hdr.bV5RedMask = 0x00FF0000; + bmp_hdr.bV5GreenMask = 0x0000FF00; + bmp_hdr.bV5BlueMask = 0x000000FF; + } else if (bits == 16) { + bmp_hdr.bV5RedMask = 0x00007C00; + bmp_hdr.bV5GreenMask = 0x000003E0; + bmp_hdr.bV5BlueMask = 0x0000001F; + } + if (header.type == SPICE_CURSOR_TYPE_ALPHA) { + bmp_hdr.bV5AlphaMask = 0xFF000000; + } + void* bmp_pixels = NULL; + icon.hbmColor = CreateDIBSection(hdc, (BITMAPINFO *)&bmp_hdr, DIB_RGB_COLORS, &bmp_pixels, + NULL, 0); + memcpy(bmp_pixels, data, cur_size); + icon.hbmMask = CreateBitmap(header.width, header.height, 1, 1, + (header.type == SPICE_CURSOR_TYPE_ALPHA) ? NULL : + (CONST VOID *)(data + cur_size)); + break; + } + case SPICE_CURSOR_TYPE_COLOR4: { + BITMAPINFO* bmp_info; + bmp_info = (BITMAPINFO *)new uint8_t[sizeof(BITMAPINFO) + (sizeof(RGBQUAD) << bits)]; + ZeroMemory(bmp_info, sizeof(BITMAPINFO)); + bmp_info->bmiHeader.biSize = sizeof(bmp_info->bmiHeader); + bmp_info->bmiHeader.biWidth = header.width; + bmp_info->bmiHeader.biHeight = -header.height; + bmp_info->bmiHeader.biPlanes = 1; + bmp_info->bmiHeader.biBitCount = bits; + bmp_info->bmiHeader.biCompression = BI_RGB; + memcpy(bmp_info->bmiColors, data + cur_size, sizeof(RGBQUAD) << bits); + icon.hbmColor = CreateDIBitmap(hdc, &bmp_info->bmiHeader, CBM_INIT, data, + bmp_info, DIB_RGB_COLORS); + icon.hbmMask = CreateBitmap(header.width, header.height, 1, 1, + (CONST VOID *)(data + cur_size + (sizeof(uint32_t) << bits))); + delete[] (uint8_t *)bmp_info; + break; + } + case SPICE_CURSOR_TYPE_COLOR24: + case SPICE_CURSOR_TYPE_COLOR8: + default: + LOG_WARN("unsupported cursor type %d", header.type); + _handle = LoadCursor(NULL, IDC_ARROW); + _shared = true; + ReleaseDC(NULL, hdc); + return; + } + + ReleaseDC(NULL, hdc); + + if (icon.hbmColor && icon.hbmMask) { + _handle = CreateIconIndirect(&icon); + } + if (icon.hbmMask) { + DeleteObject(icon.hbmMask); + } + if (icon.hbmColor) { + DeleteObject(icon.hbmColor); + } +} + +WinLocalCursor::~WinLocalCursor() +{ + if (_handle && !_shared) { + DestroyCursor(_handle); + } +} + +LocalCursor* Platform::create_local_cursor(CursorData* cursor_data) +{ + return new WinLocalCursor(cursor_data); +} + +class WinInactiveCursor: public WinBaseLocalCursor { +public: + WinInactiveCursor() { _handle = LoadCursor(NULL, IDC_NO);} +}; + +LocalCursor* Platform::create_inactive_cursor() +{ + return new WinInactiveCursor(); +} + +class WinDefaultCursor: public WinBaseLocalCursor { +public: + WinDefaultCursor() { _handle = LoadCursor(NULL, IDC_ARROW);} +}; + +LocalCursor* Platform::create_default_cursor() +{ + return new WinDefaultCursor(); +} + +void Platform::set_display_mode_listner(DisplayModeListener* listener) +{ +} + +Icon* Platform::load_icon(int id) +{ + HICON icon = LoadIcon(GetModuleHandle(NULL), MAKEINTRESOURCE(id)); + if (!icon) { + return NULL; + } + return new WinIcon(icon); +} + +void WinPlatform::enter_modal_loop() +{ + if (modal_loop_active) { + LOG_INFO("modal loop already active"); + return; + } + + if (set_modal_loop_timer()) { + modal_loop_active = true; + } else { + LOG_WARN("failed to create modal loop timer"); + } +} + +static bool set_modal_loop_timer() +{ + unsigned timeout = main_loop->get_soonest_timeout(); + if (timeout == INFINITE) { + timeout = MODAL_LOOP_DEFAULT_TIMEOUT; /* for cases timeouts are added after + the enterance to the loop*/ + } + + if (!SetTimer(platform_win, MODAL_LOOP_TIMER_ID, timeout, NULL)) { + return false; + } + return true; +} + +void WinPlatform::exit_modal_loop() +{ + if (!modal_loop_active) { + LOG_INFO("not inside the loop"); + return; + } + KillTimer(platform_win, MODAL_LOOP_TIMER_ID); + modal_loop_active = false; +} + +int Platform::_clipboard_owner = Platform::owner_none; + +void Platform::set_clipboard_owner_unlocked(int new_owner) +{ + set_clipboard_owner(new_owner); +} + +void Platform::set_clipboard_owner(int new_owner) +{ + const char * const owner_str[] = { "none", "guest", "client" }; + + if (new_owner == owner_none) { + clipboard_listener->on_clipboard_release(); + + /* FIXME clear cached clipboard type info and data */ + } + _clipboard_owner = new_owner; + LOG_INFO("new clipboard owner: %s", owner_str[new_owner]); +} + +bool Platform::on_clipboard_grab(uint32_t *types, uint32_t type_count) +{ + std::set<uint32_t> grab_formats; + + grab_types.clear(); + for (uint32_t i = 0; i < type_count; i++) { + uint32_t format = get_clipboard_format(types[i]); + //On first supported type, open and empty the clipboard + if (format && grab_formats.empty()) { + if (!OpenClipboard(platform_win)) { + return false; + } + EmptyClipboard(); + } + //For all supported type set delayed rendering + if (format) { + grab_types.insert(types[i]); + if (grab_formats.insert(format).second) { + SetClipboardData(format, NULL); + } + } + } + if (grab_formats.empty()) { + LOG_INFO("No supported clipboard types in client grab"); + return false; + } + CloseClipboard(); + + set_clipboard_owner(owner_guest); + return true; +} + +void Platform::set_clipboard_listener(ClipboardListener* listener) +{ + clipboard_listener = listener ? listener : &default_clipboard_listener; +} + +static HGLOBAL utf8_alloc(LPCSTR data, int size) +{ + HGLOBAL handle; + LPVOID buf; + int len; + + // Received utf8 string is not null-terminated + if (!(len = MultiByteToWideChar(CP_UTF8, 0, data, size, NULL, 0))) { + return NULL; + } + len++; + // Allocate and lock clipboard memory + if (!(handle = GlobalAlloc(GMEM_DDESHARE, len * sizeof(WCHAR)))) { + return NULL; + } + if (!(buf = GlobalLock(handle))) { + GlobalFree(handle); + return NULL; + } + // Translate data and set clipboard content + if (!(MultiByteToWideChar(CP_UTF8, 0, data, size, (LPWSTR)buf, len))) { + GlobalUnlock(handle); + GlobalFree(handle); + return NULL; + } + ((LPWSTR)buf)[len - 1] = L'\0'; + GlobalUnlock(handle); + return handle; +} + +bool Platform::on_clipboard_notify(uint32_t type, const uint8_t* data, int32_t size) +{ + HANDLE clip_data; + UINT format; + bool ret = false; + + if (type == VD_AGENT_CLIPBOARD_NONE) { + SetEvent(clipboard_event); + return true; + } + switch (type) { + case VD_AGENT_CLIPBOARD_UTF8_TEXT: + clip_data = utf8_alloc((LPCSTR)data, size); + break; +#ifdef USE_CXIMAGE + case VD_AGENT_CLIPBOARD_IMAGE_PNG: + case VD_AGENT_CLIPBOARD_IMAGE_BMP: { + DWORD cximage_format = get_cximage_format(type); + ASSERT(cximage_format); + CxImage image((BYTE *)data, size, cximage_format); + clip_data = image.CopyToHandle(); + break; + } +#endif + default: + LOG_INFO("Unsupported clipboard type %u", type); + return true; + } + + format = get_clipboard_format(type); + if (SetClipboardData(format, clip_data)) { + SetEvent(clipboard_event); + return true; + } + // We retry clipboard open-empty-set-close only when there is a timeout in WM_RENDERFORMAT + if (!OpenClipboard(platform_win)) { + return false; + } + EmptyClipboard(); + ret = !!SetClipboardData(format, clip_data); + CloseClipboard(); + return ret; +} + +bool Platform::on_clipboard_request(uint32_t type) +{ + UINT format = get_clipboard_format(type); + HANDLE clip_data; + LPCWSTR clip_buf; + uint8_t* new_data = NULL; + long new_size; + + bool ret = false; + + if (!format || !IsClipboardFormatAvailable(format) || !OpenClipboard(platform_win)) { + return false; + } + if (!(clip_data = GetClipboardData(format))) { + CloseClipboard(); + return false; + } + + switch (type) { + case VD_AGENT_CLIPBOARD_UTF8_TEXT: { + if (!(clip_buf = (LPCWSTR)GlobalLock(clip_data))) { + break; + } + size_t len = wcslen((wchar_t*)clip_buf); + new_size = WideCharToMultiByte(CP_UTF8, 0, clip_buf, len, NULL, 0, NULL, NULL); + if (!new_size) { + GlobalUnlock(clip_data); + break; + } + new_data = new uint8_t[new_size]; + if (WideCharToMultiByte(CP_UTF8, 0, clip_buf, len, (LPSTR)new_data, new_size, + NULL, NULL)) { + clipboard_listener->on_clipboard_notify(type, new_data, new_size); + ret = true; + } + delete[] (uint8_t *)new_data; + GlobalUnlock(clip_data); + break; + } +#ifdef USE_CXIMAGE + case VD_AGENT_CLIPBOARD_IMAGE_PNG: + case VD_AGENT_CLIPBOARD_IMAGE_BMP: { + DWORD cximage_format = get_cximage_format(type); + ASSERT(cximage_format); + CxImage image; + if (!image.CreateFromHANDLE(clip_data)) { + LOG_INFO("Image create from handle failed"); + break; + } + if (!image.Encode(new_data, new_size, cximage_format)) { + LOG_INFO("Image encode to type %u failed", type); + break; + } + LOG_INFO("Image encoded to %u bytes", new_size); + clipboard_listener->on_clipboard_notify(type, new_data, new_size); + image.FreeMemory(new_data); + ret = true; + break; + } +#endif + default: + LOG_INFO("Unsupported clipboard type %u", type); + } + + CloseClipboard(); + return ret; +} + +void Platform::on_clipboard_release() +{ + SetEvent(clipboard_event); + set_clipboard_owner(owner_none); +} + +static bool has_console = false; +static BOOL parent_console; + +static void create_console() +{ + static Mutex console_mutex; + + Lock lock(console_mutex); + + if (has_console) { + return; + } + + parent_console = AttachConsole(-1 /* parent */); + + if (!parent_console) { + AllocConsole(); + } + + HANDLE h = GetStdHandle(STD_OUTPUT_HANDLE); + int hConHandle = _open_osfhandle((intptr_t)h, _O_TEXT); + FILE * fp; + /* _open_osfhandle can fail, for instance this will fail: + start /wait spicec.exe --help | more + however this actually works: + cmd /c spicec --help | more + */ + if (hConHandle != -1) { + fp = _fdopen(hConHandle, "w"); + *stdout = *fp; + } + + h = GetStdHandle(STD_INPUT_HANDLE); + hConHandle = _open_osfhandle((intptr_t)h, _O_TEXT); + if (hConHandle != -1) { + fp = _fdopen(hConHandle, "r"); + *stdin = *fp; + } + + h = GetStdHandle(STD_ERROR_HANDLE); + hConHandle = _open_osfhandle((intptr_t)h, _O_TEXT); + if (hConHandle != -1) { + fp = _fdopen(hConHandle, "w"); + *stderr = *fp; + } + + has_console = true; + + HWND consol_window = GetConsoleWindow(); + + if (consol_window && !parent_console) { + SetForegroundWindow(consol_window); + } +} + +class ConsoleWait { +public: + ~ConsoleWait() + { + if (has_console && !parent_console) { + Platform::term_printf("\n\nPress any key to exit..."); + _getch(); + } + } + +} console_wait; + + +void Platform::term_printf(const char* format, ...) +{ + if (!has_console) { + create_console(); + } + + va_list ap; + va_start(ap, format); + vprintf(format, ap); + va_end(ap); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/windows/platform_utils.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/windows/platform_utils.cpp new file mode 100644 index 0000000..a4c9c41 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/windows/platform_utils.cpp @@ -0,0 +1,150 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include <map> +#include "platform_utils.h" +#include "utils.h" +#include "threads.h" + +void string_vprintf(std::string& str, const char* format, va_list ap) +{ + int buf_size = 256; + for (;;) { + AutoArray<char> buf(new char[buf_size]); + int r = vsnprintf_s(buf.get(), buf_size, buf_size - 1, format, ap); + if (r != -1) { + str = buf.get(); + return; + } + buf_size *= 2; + } +} + +HDC create_compatible_dc() +{ + HDC dc = CreateCompatibleDC(NULL); + if (!dc) { + THROW("create compatible DC failed"); + } + return dc; +} + +HBITMAP get_bitmap_res(int id) +{ + HBITMAP bitmap = LoadBitmap(GetModuleHandle(NULL), MAKEINTRESOURCE(id)); + if (!bitmap) { + THROW("get bitmap #%d failed", id); + } + return bitmap; +} + +HBITMAP get_alpha_bitmap_res(int id) +{ + AutoGDIObject bitmap(LoadImage(GetModuleHandle(NULL), MAKEINTRESOURCE(id), IMAGE_BITMAP, 0, 0, + LR_DEFAULTCOLOR | LR_CREATEDIBSECTION | LR_SHARED)); + if (!bitmap.valid()) { + THROW("get alpha bitmap #%d failed", id); + } + + BITMAP src_info; + GetObject(bitmap.get(), sizeof(src_info), &src_info); + if (src_info.bmBitsPixel != 32 || src_info.bmPlanes != 1) { + THROW("invalid format #%d ", id); + } + + LONG src_size = src_info.bmHeight * src_info.bmWidthBytes; + AutoArray<uint8_t> src_pixels(new uint8_t[src_size]); + LONG ncopy = GetBitmapBits((HBITMAP)bitmap.get(), src_size, src_pixels.get()); + if (ncopy != src_size) { + THROW("get vitmap bits failed, %u", GetLastError()); + } + + AutoDC auto_dc(create_compatible_dc()); + BITMAPINFO dest_info; + uint8_t* dest; + dest_info.bmiHeader.biSize = sizeof(dest_info.bmiHeader); + dest_info.bmiHeader.biWidth = src_info.bmWidth; + dest_info.bmiHeader.biHeight = -src_info.bmHeight; + dest_info.bmiHeader.biPlanes = 1; + dest_info.bmiHeader.biBitCount = 32; + dest_info.bmiHeader.biCompression = BI_RGB; + dest_info.bmiHeader.biSizeImage = 0; + dest_info.bmiHeader.biXPelsPerMeter = dest_info.bmiHeader.biYPelsPerMeter = 0; + dest_info.bmiHeader.biClrUsed = 0; + dest_info.bmiHeader.biClrImportant = 0; + + HBITMAP ret = CreateDIBSection(auto_dc.get(), &dest_info, 0, (VOID**)&dest, NULL, 0); + if (!ret) { + THROW("create bitmap failed, %u", GetLastError()); + } + + uint8_t* src_line = src_pixels.get(); + for (int i = 0; i < src_info.bmHeight; i++, src_line += src_info.bmWidthBytes) { + uint8_t* src = src_line; + for (int j = 0; j < src_info.bmWidth; j++) { + dest[3] = src[3]; + double alpha = (double)dest[3] / 0xff; + dest[2] = (uint8_t)(alpha * src[2]); + dest[1] = (uint8_t)(alpha * src[1]); + dest[0] = (uint8_t)(alpha * src[0]); + src += 4; + dest += 4; + } + } + return ret; +} + +static std::map<int, const char*> errors_map; +static Mutex errors_map_mutex; + +const char* sys_err_to_str(int error) +{ + Lock lock(errors_map_mutex); + if (errors_map.find(error) == errors_map.end()) { + LPSTR msg; + if (!FormatMessageA(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | + FORMAT_MESSAGE_IGNORE_INSERTS, NULL, error, + MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), + (LPSTR)&msg, 0, NULL)) { + const int BUF_SIZE = 20; + msg = new char[BUF_SIZE]; + _snprintf(msg, BUF_SIZE, "errno %d", error); + } else { + char* new_line; + if ((new_line = strrchr(msg, '\r'))) { + *new_line = 0; + } + } + errors_map[error] = msg; + } + return errors_map[error]; +} + +int inet_aton(const char* ip, struct in_addr* in_addr) +{ + unsigned long addr = inet_addr(ip); + + if (addr == INADDR_NONE) { + return 0; + } + in_addr->S_un.S_addr = addr; + return 1; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/windows/platform_utils.h b/tizen/distrib/remote/server/spice-0.12.2/client/windows/platform_utils.h new file mode 100644 index 0000000..a652fed --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/windows/platform_utils.h @@ -0,0 +1,100 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_PLATFORM_UTILS +#define _H_PLATFORM_UTILS + +#include <winsock.h> +#include <winsock2.h> +#include <ws2tcpip.h> +#include "utils.h" + +#define mb() __asm {lock add [esp], 0} + +template<class T, class FreeRes = FreeObject<T>, intptr_t invalid = 0 > +class AutoRes { +public: + AutoRes() : res(invalid) {} + AutoRes(T inRes) : res(inRes) {} + ~AutoRes() { set(invalid); } + + void set(T inRes) {if (res != invalid) free_res(res); res = inRes; } + T get() {return res;} + T release() {T tmp = res; res = invalid; return tmp; } + bool valid() { return res != invalid; } + +private: + AutoRes(const AutoRes&); + AutoRes& operator = (const AutoRes&); + +private: + T res; + FreeRes free_res; +}; + +class Delete_DC { +public: + void operator () (HDC dc) { DeleteDC(dc);} +}; + +typedef AutoRes<HDC, Delete_DC> AutoDC; + +class Delete_Object { +public: + void operator () (HGDIOBJ obj) { DeleteObject(obj);} +}; +typedef AutoRes<HGDIOBJ, Delete_Object> AutoGDIObject; + +class DeleteOGLContext { +public: + void operator () (HGLRC ctx) { wglDeleteContext(ctx);} +}; + +typedef AutoRes<HGLRC, DeleteOGLContext> AutoOGLCtx; + +HDC create_compatible_dc(); +HBITMAP get_bitmap_res(int id); +HBITMAP get_alpha_bitmap_res(int id); + +class WindowDC { +public: + WindowDC(HWND window): _window (window), _dc (GetDC(window)) {} + ~WindowDC() { ReleaseDC(_window, _dc);} + HDC operator * () { return _dc;} + +private: + HWND _window; + HDC _dc; +}; + +typedef AutoRes<HDC, Delete_DC> AutoReleaseDC; + +const char* sys_err_to_str(int error); + +#define SHUT_WR SD_SEND +#define SHUT_RD SD_RECEIVE +#define SHUT_RDWR SD_BOTH +#define MSG_NOSIGNAL 0 + +#define SHUTDOWN_ERR WSAESHUTDOWN +#define INTERRUPTED_ERR WSAEINTR +#define WOULDBLOCK_ERR WSAEWOULDBLOCK +#define sock_error() WSAGetLastError() +#define sock_err_message(err) sys_err_to_str(err) +int inet_aton(const char* ip, struct in_addr* in_addr); + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/windows/playback.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/windows/playback.cpp new file mode 100644 index 0000000..41b92bc --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/windows/playback.cpp @@ -0,0 +1,178 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "playback.h" +#include "utils.h" +#include "debug.h" + + +#define RING_SIZE_MS 380 +#define START_MARK_MS 300 +#define LOW_MARK_MS 40 + + +WavePlayer::WavePlayer(uint32_t sampels_per_sec, uint32_t bits_per_sample, uint32_t channels) + : _wave_out (NULL) + , _sampels_per_ms (sampels_per_sec / 1000) + , _ring (NULL) + , _head (0) + , _in_use (0) + , _paused (true) +{ + WAVEFORMATEX info; + uint32_t sample_bytes; + + info.wFormatTag = WAVE_FORMAT_PCM; + info.nChannels = channels; + info.nSamplesPerSec = sampels_per_sec; + sample_bytes = info.nBlockAlign = channels * bits_per_sample / 8; + info.nAvgBytesPerSec = sampels_per_sec * info.nBlockAlign; + info.wBitsPerSample = bits_per_sample; + + if (waveOutOpen(&_wave_out, WAVE_MAPPER, &info, 0, 0, CALLBACK_NULL) + != MMSYSERR_NOERROR) { + throw Exception("can not open playback device"); + } + + int frame_size = WavePlaybackAbstract::FRAME_SIZE; + _ring_size = (sampels_per_sec * RING_SIZE_MS / 1000) / frame_size; + _start_mark = (sampels_per_sec * START_MARK_MS / 1000) / frame_size; + _frame_bytes = frame_size * channels * bits_per_sample / 8; + _ring_item_size = sizeof(WAVEHDR) + _frame_bytes + sample_bytes; + + try { + _ring = new uint8_t[_ring_size * _ring_item_size]; + init_ring(sample_bytes); + } catch (...) { + delete[] _ring; + waveOutClose(_wave_out); + throw; + } + waveOutPause(_wave_out); +} + +WavePlayer::~WavePlayer() +{ + waveOutReset(_wave_out); + reclaim(); + waveOutClose(_wave_out); + delete[] _ring; +} + +void WavePlayer::init_ring(uint32_t sample_bytes) +{ + uint8_t* ptr = _ring; + uint8_t* end = ptr + _ring_size * _ring_item_size; + for (; ptr != end; ptr += _ring_item_size) { + WAVEHDR* buf = (WAVEHDR*)ptr; + memset(ptr, 0, _ring_item_size); + buf->dwBufferLength = _frame_bytes; + ULONG_PTR ptr = (ULONG_PTR)(buf + 1); + ptr = (ptr + sample_bytes - 1) / sample_bytes * sample_bytes; + buf->lpData = (LPSTR)ptr; + } +} + +inline WAVEHDR* WavePlayer::wave_hader(uint32_t position) +{ + ASSERT(position < _ring_size); + return (WAVEHDR*)(_ring + position * _ring_item_size); +} + +inline void WavePlayer::move_head() +{ + _head = (_head + 1) % _ring_size; + _in_use--; +} + +void WavePlayer::reclaim() +{ + while (_in_use) { + WAVEHDR* front_buf = wave_hader(_head); + if (!(front_buf->dwFlags & WHDR_DONE)) { + break; + } + MMRESULT err = waveOutUnprepareHeader(_wave_out, front_buf, sizeof(WAVEHDR)); + if (err != MMSYSERR_NOERROR) { + LOG_WARN("waveOutUnprepareHeader failed %u", err); + } + front_buf->dwFlags &= ~WHDR_DONE; + move_head(); + } +} + +WAVEHDR* WavePlayer::get_buff() +{ + reclaim(); + if (_in_use == _ring_size) { + return NULL; + } + + WAVEHDR* buff = wave_hader((_head + _in_use) % _ring_size); + ++_in_use; + return buff; +} + +bool WavePlayer::write(uint8_t* frame) +{ + WAVEHDR* buff = get_buff(); + if (buff) { + memcpy(buff->lpData, frame, _frame_bytes); + MMRESULT err; + err = waveOutPrepareHeader(_wave_out, buff, sizeof(WAVEHDR)); + + if (err != MMSYSERR_NOERROR) { + THROW("waveOutPrepareHeader filed %d", err); + } + err = waveOutWrite(_wave_out, buff, sizeof(WAVEHDR)); + if (err != MMSYSERR_NOERROR) { + THROW("waveOutWrite filed %d", err); + } + } + if (_paused && _in_use == _start_mark) { + _paused = false; + waveOutRestart(_wave_out); + } + return true; +} + +void WavePlayer::drain() +{ +} + +void WavePlayer::stop() +{ + drain(); + waveOutReset(_wave_out); + waveOutPause(_wave_out); + _paused = true; + reclaim(); +} + +bool WavePlayer::abort() +{ + return true; +} + +uint32_t WavePlayer::get_delay_ms() +{ + return _in_use * WavePlaybackAbstract::FRAME_SIZE / _sampels_per_ms; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/windows/playback.h b/tizen/distrib/remote/server/spice-0.12.2/client/windows/playback.h new file mode 100644 index 0000000..6f70a7b --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/windows/playback.h @@ -0,0 +1,54 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_WINDOWS_AUDIO_PLAYBACK +#define _H_WINDOWS_AUDIO_PLAYBACK + +#include "audio_devices.h" + +class WavePlayer: public WavePlaybackAbstract { +public: + WavePlayer(uint32_t sampels_per_sec, uint32_t bits_per_sample, uint32_t channels); + virtual ~WavePlayer(); + + virtual bool write(uint8_t* frame); + virtual bool abort(); + virtual void stop(); + virtual uint32_t get_delay_ms(); + +private: + WAVEHDR* wave_hader(uint32_t position); + void move_head(); + WAVEHDR* get_buff(); + void reclaim(); + void drain(); + void init_ring(uint32_t sample_bytes); + +private: + HWAVEOUT _wave_out; + uint32_t _sampels_per_ms; + uint32_t _frame_bytes; + uint32_t _start_mark; + uint32_t _ring_item_size; + uint8_t* _ring; + uint32_t _ring_size; + uint32_t _head; + uint32_t _in_use; + bool _paused; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/windows/record.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/windows/record.cpp new file mode 100644 index 0000000..0736b11 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/windows/record.cpp @@ -0,0 +1,195 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "record.h" +#include "utils.h" +#include "debug.h" + +#define RING_SIZE_MS 500 + +static void CALLBACK in_proc(HWAVEIN handle, UINT msg, DWORD user_data, DWORD param1, + DWORD param2) +{ + WaveRecorder* recorder = (WaveRecorder*)user_data; + recorder->trigger(); +} + +WaveRecorder::WaveRecorder(Platform::RecordClient& client, uint32_t sampels_per_sec, + uint32_t bits_per_sample, uint32_t channels) + : _client (client) + , _ring (NULL) + , _head (0) + , _in_use (0) + , _frame (NULL) +{ + WAVEFORMATEX info; + uint32_t frame_align; + + info.wFormatTag = WAVE_FORMAT_PCM; + info.nChannels = channels; + info.nSamplesPerSec = sampels_per_sec; + info.nBlockAlign = frame_align = channels * bits_per_sample / 8; + info.nAvgBytesPerSec = sampels_per_sec * info.nBlockAlign; + info.wBitsPerSample = bits_per_sample; + + + if (waveInOpen(&_wave_in, WAVE_MAPPER, &info, (DWORD_PTR)in_proc, (DWORD_PTR)this, + CALLBACK_FUNCTION) != MMSYSERR_NOERROR) { + throw Exception("cannot open playback device"); + } + + try { + const int frame_size = WavePlaybackAbstract::FRAME_SIZE; + uint32_t frame_bytes = frame_size * channels * bits_per_sample / 8; + + _frame = new uint8_t[frame_bytes]; + _frame_pos = _frame; + _frame_end = _frame + frame_bytes; + init_ring(sampels_per_sec, frame_bytes, frame_align); + _client.add_event_source(*this); + } catch (...) { + delete[] _ring; + delete[] _frame; + waveInClose(_wave_in); + throw; + } +} + +WaveRecorder::~WaveRecorder() +{ + waveInReset(_wave_in); + reclaim(); + _client.remove_event_source(*this); + waveInClose(_wave_in); + delete[] _ring; + delete[] _frame; +} + +void WaveRecorder::init_ring(uint32_t sampels_per_sec, uint32_t frame_bytes, uint32_t frame_align) +{ + const int frame_size = WavePlaybackAbstract::FRAME_SIZE; + + _ring_size = (sampels_per_sec * RING_SIZE_MS / 1000) / frame_size; + _ring_item_size = sizeof(WAVEHDR) + frame_bytes + frame_align; + + int ring_bytes = _ring_size * _ring_item_size; + _ring = new uint8_t[ring_bytes]; + + uint8_t* ptr = _ring; + uint8_t* end = ptr + ring_bytes; + for (; ptr != end; ptr += _ring_item_size) { + WAVEHDR* buf = (WAVEHDR*)ptr; + memset(ptr, 0, _ring_item_size); + buf->dwBufferLength = frame_bytes; + ULONG_PTR ptr = (ULONG_PTR)(buf + 1); + ptr = (ptr + frame_align - 1) / frame_align * frame_align; + buf->lpData = (LPSTR)(buf + 1); + } +} + +void WaveRecorder::start() +{ + _frame_pos = _frame; + waveInReset(_wave_in); + push_frames(); + waveInStart(_wave_in); +} + +inline WAVEHDR* WaveRecorder::wave_hader(uint32_t position) +{ + ASSERT(position < _ring_size); + return (WAVEHDR*)(_ring + position * _ring_item_size); +} + +inline void WaveRecorder::move_head() +{ + _head = (_head + 1) % _ring_size; + _in_use--; +} + +void WaveRecorder::push_frames() +{ + while (_in_use != _ring_size) { + WAVEHDR* buff = wave_hader((_head + _in_use) % _ring_size); + ++_in_use; + + MMRESULT err = waveInPrepareHeader(_wave_in, buff, sizeof(WAVEHDR)); + if (err != MMSYSERR_NOERROR) { + THROW("waveInPrepareHeader filed %d", err); + } + err = waveInAddBuffer(_wave_in, buff, sizeof(WAVEHDR)); + if (err != MMSYSERR_NOERROR) { + THROW("waveInAddBuffer filed %d", err); + } + } +} + +void WaveRecorder::on_event() +{ + while (_in_use) { + WAVEHDR* front_buf = wave_hader(_head); + if (!(front_buf->dwFlags & WHDR_DONE)) { + break; + } + waveInUnprepareHeader(_wave_in, front_buf, sizeof(WAVEHDR)); + front_buf->dwFlags &= ~WHDR_DONE; + int n = front_buf->dwBytesRecorded; + front_buf->dwBytesRecorded = 0; + uint8_t* ptr = (uint8_t*)front_buf->lpData; + while (n) { + int now = MIN(n, _frame_end - _frame_pos); + memcpy(_frame_pos, ptr, now); + if ((_frame_pos += n) == _frame_end) { + _client.push_frame(_frame); + _frame_pos = _frame; + } + n -= now; + ptr += now; + } + move_head(); + push_frames(); + } +} + +void WaveRecorder::reclaim() +{ + while (_in_use) { + WAVEHDR* front_buf = wave_hader(_head); + if (!(front_buf->dwFlags & WHDR_DONE)) { + break; + } + waveInUnprepareHeader(_wave_in, front_buf, sizeof(WAVEHDR)); + front_buf->dwFlags &= ~WHDR_DONE; + front_buf->dwBytesRecorded = 0; + move_head(); + } +} + +void WaveRecorder::stop() +{ + waveInReset(_wave_in); + reclaim(); +} + +bool WaveRecorder::abort() +{ + return true; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/windows/record.h b/tizen/distrib/remote/server/spice-0.12.2/client/windows/record.h new file mode 100644 index 0000000..4071af4 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/windows/record.h @@ -0,0 +1,57 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_WINDOWS_RECORD +#define _H_WINDOWS_RECORD + +#include "audio_devices.h" +#include "platform.h" + +class WaveRecorder: public WaveRecordAbstract, public EventSources::Trigger { +public: + WaveRecorder(Platform::RecordClient& client, uint32_t sampels_per_sec, + uint32_t bits_per_sample, uint32_t channels); + virtual ~WaveRecorder(); + + virtual void start(); + virtual void stop(); + virtual bool abort(); + + virtual void on_event(); + +private: + void init_ring(uint32_t sampels_per_sec, uint32_t frame_bytes, uint32_t frame_align); + WAVEHDR* wave_hader(uint32_t position); + void move_head(); + + void reclaim(); + void push_frames(); + +private: + Platform::RecordClient& _client; + HWAVEIN _wave_in; + uint8_t* _ring; + uint32_t _ring_item_size; + uint32_t _ring_size; + uint32_t _head; + uint32_t _in_use; + uint8_t* _frame; + uint8_t* _frame_pos; + uint8_t* _frame_end; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/windows/red_drawable.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/windows/red_drawable.cpp new file mode 100644 index 0000000..65c1aa6 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/windows/red_drawable.cpp @@ -0,0 +1,153 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "red_drawable.h" +#include "pixels_source_p.h" +#include "utils.h" +#include "threads.h" + +static const uint64_t lock_timout = 1000 * 1000 * 10; /*10ms*/ + +void RedDrawable::copy_pixels(const PixelsSource& src, int src_x, int src_y, const SpiceRect& dest) +{ + PixelsSource_p* dest_p_data = (PixelsSource_p*)get_opaque(); + PixelsSource_p* src_p_data = (PixelsSource_p*)src.get_opaque(); + + for (;;) { + Lock lock(*dest_p_data->_mutex); + Lock timed_lock(*src_p_data->_mutex, lock_timout); + if (!timed_lock.is_locked()) { + continue; + } + BitBlt(dest_p_data->dc, dest.left + _origin.x, dest.top + _origin.y, + dest.right - dest.left, dest.bottom - dest.top, + src_p_data->dc, src_x + src._origin.x, + src_y + src._origin.y, SRCCOPY); + return; + } +} + +void RedDrawable::blend_pixels(const PixelsSource& src, int src_x, int src_y, const SpiceRect& dest) +{ + static BLENDFUNCTION blend_func = { AC_SRC_OVER, 0, 0xff, AC_SRC_ALPHA}; + + int width = dest.right - dest.left; + int height = dest.bottom - dest.top; + PixelsSource_p* dest_p_data = (PixelsSource_p*)get_opaque(); + PixelsSource_p* src_p_data = (PixelsSource_p*)src.get_opaque(); + for (;;) { + RecurciveLock lock(*dest_p_data->_mutex); + RecurciveLock timed_lock(*src_p_data->_mutex, lock_timout); + if (!timed_lock.is_locked()) { + continue; + } + AlphaBlend(dest_p_data->dc, dest.left + _origin.x, dest.top + _origin.y, width, height, + src_p_data->dc, src_x + src._origin.x, src_y + src._origin.y, width, height, + blend_func); + return; + } +} + +void RedDrawable::combine_pixels(const PixelsSource& src, int src_x, int src_y, const SpiceRect& dest, + CombineOP op) +{ + DWORD rop; + switch (op) { + case OP_COPY: + rop = SRCCOPY; + break; + case OP_AND: + rop = SRCAND; + break; + case OP_XOR: + rop = SRCINVERT; + break; + default: + THROW("invalid op %d", op); + } + + PixelsSource_p* dest_p_data = (PixelsSource_p*)get_opaque(); + PixelsSource_p* src_p_data = (PixelsSource_p*)src.get_opaque(); + for (;;) { + RecurciveLock lock(*dest_p_data->_mutex); + RecurciveLock timed_lock(*src_p_data->_mutex, lock_timout); + if (!timed_lock.is_locked()) { + continue; + } + BitBlt(dest_p_data->dc, dest.left + _origin.x, dest.top + _origin.y, + dest.right - dest.left, dest.bottom - dest.top, + src_p_data->dc, src_x + src._origin.x, + src_y + src._origin.y, rop); + return; + } +} + +void RedDrawable::erase_rect(const SpiceRect& rect, rgb32_t color) +{ + RECT r; + r.left = rect.left + _origin.x; + r.right = rect.right + _origin.x; + r.top = rect.top + _origin.y; + r.bottom = rect.bottom + _origin.y; + + PixelsSource_p* dest_p_data = (PixelsSource_p*)get_opaque(); + RecurciveLock lock(*dest_p_data->_mutex); + FillRect(dest_p_data->dc, &r, (HBRUSH)GetStockObject(BLACK_BRUSH)); +} + +void RedDrawable::fill_rect(const SpiceRect& rect, rgb32_t color) +{ + RECT r; + r.left = rect.left + _origin.x; + r.right = rect.right + _origin.x; + r.top = rect.top + _origin.y; + r.bottom = rect.bottom + _origin.y; + + HBRUSH brush = CreateSolidBrush(RGB(rgb32_get_red(color), + rgb32_get_green(color), + rgb32_get_blue(color))); + for (;;) { + PixelsSource_p* dest_p_data = (PixelsSource_p*)get_opaque(); + RecurciveLock lock(*dest_p_data->_mutex); + FillRect(dest_p_data->dc, &r, brush); + break; + } + DeleteObject(brush); +} + +void RedDrawable::frame_rect(const SpiceRect& rect, rgb32_t color) +{ + RECT r; + r.left = rect.left + _origin.x; + r.right = rect.right + _origin.x; + r.top = rect.top + _origin.y; + r.bottom = rect.bottom + _origin.y; + HBRUSH brush = CreateSolidBrush(RGB(rgb32_get_red(color), + rgb32_get_green(color), + rgb32_get_blue(color))); + for (;;) { + PixelsSource_p* dest_p_data = (PixelsSource_p*)get_opaque(); + RecurciveLock lock(*dest_p_data->_mutex); + FrameRect(dest_p_data->dc, &r, brush); + break; + } + DeleteObject(brush); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/windows/red_pixmap.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/windows/red_pixmap.cpp new file mode 100644 index 0000000..6685e41 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/windows/red_pixmap.cpp @@ -0,0 +1,44 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "red_pixmap.h" +#include "debug.h" +#include "utils.h" + +RedPixmap::RedPixmap(int width, int height, RedDrawable::Format format, + bool top_bottom) + : _format (format) + , _width (width) + , _height (height) + , _stride (SPICE_ALIGN(width * format_to_bpp(format), 32) / 8) + , _top_bottom (top_bottom) + , _data (NULL) +{ +} + +RedPixmap::~RedPixmap() +{ +} + +bool RedPixmap::is_big_endian_bits() +{ + return _format == RedDrawable::A1; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/windows/red_pixmap_gdi.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/windows/red_pixmap_gdi.cpp new file mode 100644 index 0000000..132ee6c --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/windows/red_pixmap_gdi.cpp @@ -0,0 +1,121 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "red_pixmap_gdi.h" +#include "red_pixmap.h" +#include "debug.h" +#include "utils.h" +#include "pixels_source_p.h" +#include "platform_utils.h" + +struct RedPixmap_p { + PixelsSource_p pixels_source_p; + HBITMAP prev_bitmap; +}; + +RedPixmapGdi::RedPixmapGdi(int width, int height, RedDrawable::Format format, bool top_bottom) + : RedPixmap(width, height, format, top_bottom) +{ + DWORD *pixel_format; + ASSERT(format == RedDrawable::ARGB32 || format == RedDrawable::RGB32 + || format == RedDrawable::RGB16_555 || format == RedDrawable::RGB16_565 + || format == RedDrawable::A1); + ASSERT(sizeof(RedPixmap_p) <= PIXELES_SOURCE_OPAQUE_SIZE); + + struct { + BITMAPINFO inf; + RGBQUAD palette[255]; + } bitmap_info; + + memset(&bitmap_info, 0, sizeof(bitmap_info)); + bitmap_info.inf.bmiHeader.biSize = sizeof(bitmap_info.inf.bmiHeader); + bitmap_info.inf.bmiHeader.biWidth = _width; + bitmap_info.inf.bmiHeader.biHeight = top_bottom ? -_height : _height; + + bitmap_info.inf.bmiHeader.biPlanes = 1; + bitmap_info.inf.bmiHeader.biBitCount = RedDrawable::format_to_bpp(format); + if (format == RedDrawable::RGB16_565) { + bitmap_info.inf.bmiHeader.biCompression = BI_BITFIELDS; + + } else { + bitmap_info.inf.bmiHeader.biCompression = BI_RGB; + } + switch (format) { + case RedDrawable::A1: + bitmap_info.inf.bmiColors[0].rgbRed = 0; + bitmap_info.inf.bmiColors[0].rgbGreen = 0; + bitmap_info.inf.bmiColors[0].rgbBlue = 0; +#ifndef __MINGW32__ + // inf.bmiColors is [1] in mingw/include/wingdi.h + bitmap_info.inf.bmiColors[1].rgbRed = 0xff; + bitmap_info.inf.bmiColors[1].rgbGreen = 0xff; + bitmap_info.inf.bmiColors[1].rgbBlue = 0xff; +#endif + break; + case RedDrawable::RGB16_565: + pixel_format = (DWORD *)bitmap_info.inf.bmiColors; + pixel_format[0] = 0xf800; + pixel_format[1] = 0x07e0; + pixel_format[2] = 0x001f; + break; + case RedDrawable::ARGB32: + case RedDrawable::RGB32: + case RedDrawable::RGB16_555: + break; + } + AutoDC dc(create_compatible_dc()); + AutoGDIObject bitmap(CreateDIBSection(dc.get(), &bitmap_info.inf, 0, + (VOID **)&_data, NULL, 0)); + if (!bitmap.valid()) { + THROW("create compatible bitmap failed"); + } + memset(_data, 1, 1); + ((RedPixmap_p*)get_opaque())->prev_bitmap = (HBITMAP)SelectObject(dc.get(), bitmap.release()); + ((RedPixmap_p*)get_opaque())->pixels_source_p.dc = dc.release(); +} + +HDC RedPixmapGdi::get_dc() +{ + return ((RedPixmap_p*)get_opaque())->pixels_source_p.dc; +} + +void *RedPixmapGdi::get_memptr() +{ + return _data; +} + +RedPixmapGdi::~RedPixmapGdi() +{ + HDC dc = ((RedPixmap_p*)get_opaque())->pixels_source_p.dc; + if (dc) { + HBITMAP prev_bitmap = ((RedPixmap_p*)get_opaque())->prev_bitmap; + HBITMAP bitmap = (HBITMAP)SelectObject(dc, prev_bitmap); + DeleteObject(bitmap); + DeleteDC(dc); + } +} + +RecurciveMutex& RedPixmapGdi::get_mutex() +{ + RedPixmap_p* p_data = (RedPixmap_p*)get_opaque(); + return *p_data->pixels_source_p._mutex; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/windows/red_pixmap_sw.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/windows/red_pixmap_sw.cpp new file mode 100644 index 0000000..fac40a0 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/windows/red_pixmap_sw.cpp @@ -0,0 +1,120 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "red_pixmap_sw.h" +#include "red_pixmap.h" +#include "debug.h" +#include "utils.h" +#include "pixels_source_p.h" +#include "platform_utils.h" + +struct RedPixmap_p { + PixelsSource_p pixels_source_p; + HBITMAP prev_bitmap; +}; + +RedPixmapSw::RedPixmapSw(int width, int height, RedDrawable::Format format, + bool top_bottom, RedWindow *win) + : RedPixmap(width, height, format, top_bottom) +{ + DWORD *pixel_format; + ASSERT(format == RedDrawable::ARGB32 || format == RedDrawable::RGB32 + || format == RedDrawable::RGB16_555 || format == RedDrawable::RGB16_565 + || format == RedDrawable::A1); + ASSERT(sizeof(RedPixmap_p) <= PIXELES_SOURCE_OPAQUE_SIZE); + + struct { + BITMAPINFO inf; + RGBQUAD palette[255]; + } bitmap_info; + + memset(&bitmap_info, 0, sizeof(bitmap_info)); + bitmap_info.inf.bmiHeader.biSize = sizeof(bitmap_info.inf.bmiHeader); + bitmap_info.inf.bmiHeader.biWidth = _width; + bitmap_info.inf.bmiHeader.biHeight = top_bottom ? -_height : _height; + +/*#ifdef USE_OPENGL + // ----------------------------------------------------------------------------- + // ensure valid access to additional stride. + // apparently glReadPixels validate ((ptr of last line) + GL_PACK_ROW_LENGTH + 1). + // seen on "ATI Radeon HD 2400 PRO" "2.0.6479 Release" + if (top_bottom) { + bitmap_info.inf.bmiHeader.biHeight--; + } else { + bitmap_info.inf.bmiHeader.biHeight++; + } + //------------------------------------------------------------------------------ +#endif*/ + + bitmap_info.inf.bmiHeader.biPlanes = 1; + bitmap_info.inf.bmiHeader.biBitCount = RedDrawable::format_to_bpp(format); + if (format == RedDrawable::RGB16_565) { + bitmap_info.inf.bmiHeader.biCompression = BI_BITFIELDS; + } else { + bitmap_info.inf.bmiHeader.biCompression = BI_RGB; + } + switch (format) { + case RedDrawable::A1: + bitmap_info.inf.bmiColors[0].rgbRed = 0; + bitmap_info.inf.bmiColors[0].rgbGreen = 0; + bitmap_info.inf.bmiColors[0].rgbBlue = 0; +#ifndef __MINGW32__ + // inf.bmiColors is [1] in mingw/include/wingdi.h + bitmap_info.inf.bmiColors[1].rgbRed = 0xff; + bitmap_info.inf.bmiColors[1].rgbGreen = 0xff; + bitmap_info.inf.bmiColors[1].rgbBlue = 0xff; +#endif + break; + case RedDrawable::RGB16_565: + pixel_format = (DWORD *)bitmap_info.inf.bmiColors; + pixel_format[0] = 0xf800; + pixel_format[1] = 0x07e0; + pixel_format[2] = 0x001f; + break; + case RedDrawable::ARGB32: + case RedDrawable::RGB32: + case RedDrawable::RGB16_555: + break; + } + AutoDC dc(create_compatible_dc()); + AutoGDIObject bitmap(CreateDIBSection(dc.get(), &bitmap_info.inf, 0, + (VOID **)&_data, NULL, 0)); + if (!bitmap.valid()) { + THROW("create compatible bitmap failed"); + } +/*#ifdef USE_OPENGL + SetWindowOrgEx(dc.get(), 0, -1, NULL); // compensate for one pad line +#endif*/ + ((RedPixmap_p*)get_opaque())->prev_bitmap = (HBITMAP)SelectObject(dc.get(), bitmap.release()); + ((RedPixmap_p*)get_opaque())->pixels_source_p.dc = dc.release(); +} + +RedPixmapSw::~RedPixmapSw() +{ + HDC dc = ((RedPixmap_p*)get_opaque())->pixels_source_p.dc; + if (dc) { + HBITMAP prev_bitmap = ((RedPixmap_p*)get_opaque())->prev_bitmap; + HBITMAP bitmap = (HBITMAP)SelectObject(dc, prev_bitmap); + DeleteObject(bitmap); + DeleteDC(dc); + } +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/windows/red_window.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/windows/red_window.cpp new file mode 100644 index 0000000..fcb033b --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/windows/red_window.cpp @@ -0,0 +1,1106 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "red_window.h" +#include "pixels_source_p.h" +#include "utils.h" +#include "debug.h" +#include <spice/protocol.h> +#include "menu.h" +#include "win_platform.h" +#include "platform_utils.h" + +#include <list> + +#define NATIVE_CAPTION_STYLE (WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX) + +extern HINSTANCE instance; + +static ATOM class_atom = 0; +static const LPCWSTR win_class_name = L"redc_wclass"; +static HWND focus_window = NULL; +static HHOOK low_keyboard_hook = NULL; +static bool low_keyboard_hook_on = false; +static HHOOK msg_filter_hook = NULL; +typedef std::list<RedKey> KeysList; +static KeysList filtered_up_keys; + +static LRESULT CALLBACK MessageFilterProc(int nCode, WPARAM wParam, LPARAM lParam); + +static inline int to_red_mouse_state(WPARAM wParam) +{ + return ((wParam & MK_LBUTTON) ? SPICE_MOUSE_BUTTON_MASK_LEFT : 0) | + ((wParam & MK_MBUTTON) ? SPICE_MOUSE_BUTTON_MASK_MIDDLE : 0) | + ((wParam & MK_RBUTTON) ? SPICE_MOUSE_BUTTON_MASK_RIGHT : 0); +} + +// Return true if VK_RCONTROL is followed by a VK_RMENU with the same timestamp. +static bool is_fake_ctrl(UINT message, WPARAM wParam, LPARAM lParam) +{ + if ((wParam == VK_CONTROL) && ((HIWORD (lParam) & KF_EXTENDED) == 0)) { + UINT next_peek; + if (message == WM_KEYDOWN) { + next_peek = WM_KEYDOWN; + } else if (message == WM_SYSKEYUP) { + next_peek = WM_KEYUP; + } else { + next_peek = WM_NULL; + } + if (next_peek != WM_NULL) { + MSG next_msg; + LONG time = GetMessageTime(); + BOOL msg_exist = PeekMessage(&next_msg, NULL, + next_peek, next_peek, PM_NOREMOVE); + if ((msg_exist == TRUE) && ((LONG)next_msg.time == time) && + (next_msg.wParam == VK_MENU) && + (HIWORD (next_msg.lParam) & KF_EXTENDED)) { + return true; + } + } + } + return false; +} + +static inline RedKey translate_key(UINT message, WPARAM wParam, LPARAM lParam) +{ + uint32_t scan = HIWORD(lParam) & 0xff; + if (scan == 0) { + return REDKEY_INVALID; + } + switch (wParam) { + case VK_PAUSE: + return REDKEY_PAUSE; + case VK_SNAPSHOT: + return REDKEY_CTRL_PRINT_SCREEN; + case VK_NUMLOCK: + return REDKEY_NUM_LOCK; + case VK_HANGUL: + return REDKEY_KOREAN_HANGUL; + case VK_HANJA: + return REDKEY_KOREAN_HANGUL_HANJA; + case VK_PROCESSKEY: + if (scan == 0xf1) { + return REDKEY_INVALID; // prevent double key (VK_PROCESSKEY + VK_HANJA) + } else if (scan == 0xf2) { + return REDKEY_KOREAN_HANGUL; + } + break; + case VK_CONTROL: + // Ignore the fake right ctrl message which is send when alt-gr is + // pressed when using a non-US keyboard layout. + if (is_fake_ctrl(message, wParam, lParam)) { + return REDKEY_INVALID; + } + break; + default: + break; + } + // TODO: always use virtual key + bool extended = ((HIWORD (lParam) & KF_EXTENDED) != 0); + if (extended) { + scan += REDKEY_ESCAPE_BASE; + } + return (RedKey)scan; +} + +static inline void send_filtered_keys(RedWindow* window) +{ + KeysList::iterator iter; + + for (iter = filtered_up_keys.begin(); iter != filtered_up_keys.end(); iter++) { + window->get_listener().on_key_release(*iter); + } + filtered_up_keys.clear(); +} + +static inline bool is_high_surrogate(uint32_t val) +{ + return val >= 0xd800 && val <= 0xdbff; +} + +static inline bool is_low_surrogate(uint32_t val) +{ + return val >= 0xdc00 && val <= 0xdfff; +} + +static uint32_t utf16_to_utf32(uint16_t*& utf16, int& len) +{ + if (!len) { + return 0; + } + + uint32_t val = utf16[0]; + + if (!is_high_surrogate(val)) { + utf16++; + len--; + return val; + } + + if (len < 2) { + THROW("partial char"); + } + + uint32_t val2 = utf16[1]; + + if (!is_low_surrogate(val2)) { + THROW("invalid sequence"); + } + + utf16 += 2; + len -= 2; + + return (((val & 0x3ff) << 10) | (val2 & 0x3ff)) + 0x10000; +} + +LRESULT CALLBACK RedWindow_p::WindowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) +{ + RedWindow* window = (RedWindow*)GetWindowLongPtr(hWnd, GWLP_USERDATA); + ASSERT(window); + + switch (message) { + case WM_PAINT: { + PAINTSTRUCT ps; + + BeginPaint(hWnd, &ps); + SpicePoint origin = window->get_origin(); + SpiceRect r; + r.left = ps.rcPaint.left - origin.x; + r.top = ps.rcPaint.top - origin.y; + r.right = ps.rcPaint.right - origin.x; + r.bottom = ps.rcPaint.bottom - origin.y; + window->get_listener().on_exposed_rect(r); + EndPaint(hWnd, &ps); + break; + } + case WM_MOUSEMOVE: { + SpicePoint origin = window->get_origin(); + int x = LOWORD(lParam) - origin.x; + int y = HIWORD(lParam) - origin.y; + unsigned int buttons_state = to_red_mouse_state(wParam); + if (!window->_pointer_in_window) { + window->on_pointer_enter(x, y, buttons_state); + } else { + window->get_listener().on_pointer_motion(x, y, buttons_state); + } + break; + } + case WM_MOUSELEAVE: + window->on_pointer_leave(); + break; + case WM_SETFOCUS: + window->on_focus_in(); + break; + case WM_KILLFOCUS: + window->on_focus_out(); + break; + case WM_LBUTTONDOWN: + window->get_listener().on_mouse_button_press(SPICE_MOUSE_BUTTON_LEFT, + to_red_mouse_state(wParam)); + break; + case WM_LBUTTONUP: + window->get_listener().on_mouse_button_release(SPICE_MOUSE_BUTTON_LEFT, + to_red_mouse_state(wParam)); + break; + case WM_RBUTTONDOWN: + window->get_listener().on_mouse_button_press(SPICE_MOUSE_BUTTON_RIGHT, + to_red_mouse_state(wParam)); + break; + case WM_RBUTTONUP: + window->get_listener().on_mouse_button_release(SPICE_MOUSE_BUTTON_RIGHT, + to_red_mouse_state(wParam)); + break; + case WM_MBUTTONDOWN: + window->get_listener().on_mouse_button_press(SPICE_MOUSE_BUTTON_MIDDLE, + to_red_mouse_state(wParam)); + break; + case WM_MBUTTONUP: + window->get_listener().on_mouse_button_release(SPICE_MOUSE_BUTTON_MIDDLE, + to_red_mouse_state(wParam)); + break; + case WM_MOUSEWHEEL: + if (HIWORD(wParam) & 0x8000) { + window->get_listener().on_mouse_button_press(SPICE_MOUSE_BUTTON_DOWN, + to_red_mouse_state(wParam)); + window->get_listener().on_mouse_button_release(SPICE_MOUSE_BUTTON_DOWN, + to_red_mouse_state(wParam)); + } else { + window->get_listener().on_mouse_button_press(SPICE_MOUSE_BUTTON_UP, + to_red_mouse_state(wParam)); + window->get_listener().on_mouse_button_release(SPICE_MOUSE_BUTTON_UP, + to_red_mouse_state(wParam)); + } + break; + case WM_SYSKEYDOWN: + case WM_KEYDOWN: { + RedKey key = translate_key(message, wParam, lParam); + window->get_listener().on_key_press(key); + + BYTE key_state[256]; + WCHAR buff[10]; + uint16_t* str_buf = (uint16_t*)buff; + GetKeyboardState(key_state); + int n = ToUnicode(wParam, HIWORD(lParam) & 0xff, key_state, buff, 10, 0); + if (n > 0) { + uint32_t utf32; + while ((utf32 = utf16_to_utf32(str_buf, n)) != 0) { + window->get_listener().on_char(utf32); + } + } + + // Allow Windows to translate Alt-F4 to WM_CLOSE message. + if (!window->_key_interception_on) { + return DefWindowProc(hWnd, message, wParam, lParam); + } + break; + } + case WM_SYSKEYUP: + case WM_KEYUP: { + RedKey key = translate_key(message, wParam, lParam); + window->get_listener().on_key_release(key); + break; + } + case WM_DESTROY: + PostQuitMessage(0); + break; + case WM_GETMINMAXINFO: { + MINMAXINFO* info = (MINMAXINFO*)lParam; + info->ptMaxSize.x = window->_window_size.x; + info->ptMaxSize.y = window->_window_size.y; + info->ptMinTrackSize = info->ptMaxSize; + info->ptMaxTrackSize = info->ptMaxSize; + info->ptMaxPosition.x = info->ptMaxPosition.y = 0; + break; + } + case WM_SYSCOMMAND: + if (window->prossec_menu_commands(wParam & ~0x0f)) { + break; + } + return DefWindowProc(hWnd, message, wParam, lParam); + case WM_ENTERSIZEMOVE: + case WM_ENTERMENULOOP: + ASSERT(filtered_up_keys.empty()); + DBG(0, "enter modal"); + window->get_listener().enter_modal_loop(); + WinPlatform::enter_modal_loop(); + if (msg_filter_hook) { + LOG_WARN("entering modal loop while filter hook is active"); + UnhookWindowsHookEx(msg_filter_hook); + } + msg_filter_hook = SetWindowsHookEx(WH_MSGFILTER, MessageFilterProc, + GetModuleHandle(NULL), GetCurrentThreadId()); + return DefWindowProc(hWnd, message, wParam, lParam); + case WM_EXITSIZEMOVE: + case WM_EXITMENULOOP: + DBG(0, "exit modal"); + window->get_listener().exit_modal_loop(); + WinPlatform::exit_modal_loop(); + UnhookWindowsHookEx(msg_filter_hook); + msg_filter_hook = NULL; + send_filtered_keys(window); + return DefWindowProc(hWnd, message, wParam, lParam); + case WM_SETCURSOR: + if (!window->_pointer_in_window) { + return DefWindowProc(hWnd, message, wParam, lParam); + } + break; + case WM_SIZE: + if (wParam == SIZE_MINIMIZED) { + window->on_minimized(); + } else if (wParam == SIZE_RESTORED || wParam == SIZE_MAXIMIZED) { + window->on_restored(); + } + break; + case WM_WINDOWPOSCHANGING: + window->on_pos_changing(*window); + return DefWindowProc(hWnd, message, wParam, lParam); + default: + return DefWindowProc(hWnd, message, wParam, lParam); + } + return 0; +} + +static ATOM register_class(HINSTANCE instance) +{ + WNDCLASSEX wclass; + + wclass.cbSize = sizeof(WNDCLASSEX); + wclass.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; + wclass.lpfnWndProc = DefWindowProc; + wclass.cbClsExtra = 0; + wclass.cbWndExtra = 0; + wclass.hInstance = instance; + wclass.hIcon = NULL; + wclass.hCursor = LoadCursor(NULL, IDC_ARROW); + wclass.hbrBackground = NULL; + wclass.lpszMenuName = NULL; + wclass.lpszClassName = win_class_name; + wclass.hIconSm = NULL; + return RegisterClassEx(&wclass); +} + +RedWindow_p::RedWindow_p() + : _win (NULL) + , _modal_refs (0) + , _no_taskmgr_dll (NULL) + , _no_taskmgr_hook (NULL) + , _focused (false) + , _pointer_in_window (false) + , _minimized (false) + , _valid_pos (false) + , _sys_menu (NULL) +{ +} + +void RedWindow_p::create(RedWindow& red_window, PixelsSource_p& pixels_source) +{ + HWND window; + if (!(window = CreateWindow(win_class_name, L"", NATIVE_CAPTION_STYLE, CW_USEDEFAULT, + 0, CW_USEDEFAULT, 0, NULL, NULL, NULL, NULL))) { + THROW("create window failed"); + } + HDC dc = GetDC(window); + if (!dc) { + THROW("get dc failed"); + } + _win = window; + pixels_source.dc = dc; + + int depth = GetDeviceCaps(dc, BITSPIXEL); + switch (depth) { + case 16: + _format = RedDrawable::RGB16_555; + break; + case 32: + default: + _format = RedDrawable::RGB32; + break; + } + SetWindowLongPtr(window, GWLP_USERDATA, (LONG_PTR)&red_window); + SetWindowLongPtr(window, GWLP_WNDPROC, (LONG_PTR)WindowProc); +} + +void RedWindow_p::destroy(PixelsSource_p& pixels_source) +{ + if (!_win) { + return; + } + + ReleaseDC(_win, pixels_source.dc); + SetWindowLongPtr(_win, GWLP_WNDPROC, (LONG_PTR)DefWindowProc); + SetWindowLongPtr(_win, GWLP_USERDATA, (LONG_PTR)NULL); + DestroyWindow(_win); +} + +RedDrawable::Format RedWindow::get_format() +{ + return _format; +} + + +void RedWindow_p::on_pos_changing(RedWindow& red_window) +{ + if (_minimized || IsIconic(_win)) { + return; + } + SpicePoint pos = red_window.get_position(); + _x = pos.x; + _y = pos.y; + _valid_pos = true; +} + +void RedWindow_p::on_minimized() +{ + _minimized = true; +} + +void RedWindow_p::on_restored() +{ + if (!_minimized) { + return; + } + _minimized = false; + if (!_valid_pos) { + return; + } + _valid_pos = false; + SetWindowPos(_win, NULL, _x, _y, 0, 0, SWP_NOACTIVATE | SWP_NOSIZE | SWP_NOZORDER); +} + +bool RedWindow_p::prossec_menu_commands(int cmd) +{ + CommandMap::iterator iter = _commands_map.find(cmd); + if (iter == _commands_map.end()) { + return false; + } + (*iter).second.menu->get_target().do_command((*iter).second.command); + return true; +} + +RedWindow::RedWindow(RedWindow::Listener& listener, int screen_id) + : _listener (listener) + , _type (TYPE_NORMAL) + , _local_cursor (NULL) + , _cursor_visible (true) + , _trace_key_interception (false) + , _key_interception_on (false) + , _menu (NULL) +{ + RECT win_rect; + + create(*this, *(PixelsSource_p*)get_opaque()); + GetWindowRect(_win, &win_rect); + _window_size.x = win_rect.right - win_rect.left; + _window_size.y = win_rect.bottom - win_rect.top; +} + +RedWindow::~RedWindow() +{ + release_menu(_menu); + destroy(*(PixelsSource_p*)get_opaque()); + if (_local_cursor) { + _local_cursor->unref(); + } +} + +void RedWindow::set_title(std::string& title) +{ + int len = MultiByteToWideChar(CP_UTF8, 0, title.c_str(), title.length(), NULL, 0) + 1; + WCHAR* wtitle = new WCHAR[len * sizeof(WCHAR)]; + + if (wtitle && MultiByteToWideChar(CP_UTF8, 0, title.c_str(), title.length(), wtitle, len)) { + wtitle[len - 1] = L'\0'; + SetWindowText(_win, wtitle); + } + delete []wtitle; +} + +void RedWindow::set_icon(Icon* icon) +{ + if (!icon) { + return; + } + WinIcon* w_icon = (WinIcon *)icon; + SendMessage(_win, WM_SETICON, (WPARAM)ICON_SMALL, (LPARAM)w_icon->get_handle()); + SendMessage(_win, WM_SETICON, (WPARAM)ICON_BIG, (LPARAM)w_icon->get_handle()); +} + +void RedWindow::raise() +{ + SetWindowPos(_win, NULL, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE); +} + +void RedWindow::position_after(RedWindow *win) +{ + HWND after = NULL; + + if (win) { + after = win->_win; + } + SetWindowPos(_win, after, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE); +} + +static LONG to_native_style(RedWindow::Type type) +{ + LONG win_style; + + switch (type) { + case RedWindow::TYPE_NORMAL: + win_style = NATIVE_CAPTION_STYLE; + break; + case RedWindow::TYPE_FULLSCREEN: + win_style = 0; + break; + default: + THROW("invalid type %d", type); + } + return win_style; +} + +void RedWindow::show(int screen_id) +{ + if (IsIconic(_win)) { + ShowWindow(_win, SW_RESTORE); + } + + const UINT set_pos_flags = SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE | SWP_SHOWWINDOW | + SWP_FRAMECHANGED; + HWND pos; + + SetWindowLong(_win, GWL_STYLE, to_native_style(_type)); + switch (_type) { + case TYPE_NORMAL: + pos = HWND_NOTOPMOST; + break; + case TYPE_FULLSCREEN: + pos = HWND_TOPMOST; + break; + default: + THROW("invalid type %d", _type); + } + SetWindowPos(_win, pos, 0, 0, 0, 0, set_pos_flags); +} + +void RedWindow::external_show() +{ + LONG_PTR style = ::GetWindowLongPtr(_win, GWL_STYLE); + if ((style & WS_MINIMIZE) == WS_MINIMIZE) { + ShowWindow(_win, SW_RESTORE); + } else { + // Handle the case when hide() was called and the window is not + // visible. Since we're not the active window, the call just set the + // windows' style and doesn't show the window. + if ((style & WS_VISIBLE) != WS_VISIBLE) { + show(0); + } + // We're not the active the window, so we must be attached to the + // calling thread's message queue before focus is grabbed. + HWND front = GetForegroundWindow(); + if (front != NULL) { + DWORD thread = GetWindowThreadProcessId(front, NULL); + AttachThreadInput(thread, GetCurrentThreadId(), TRUE); + SetFocus(_win); + AttachThreadInput(thread, GetCurrentThreadId(), FALSE); + } + } +} + +void RedWindow::hide() +{ + ShowWindow(_win, SW_HIDE); +} + +static void client_to_window_size(HWND win, int width, int height, SpicePoint& win_size, + RedWindow::Type type) +{ + RECT area; + + SetRect(&area, 0, 0, width, height); + AdjustWindowRectEx(&area, to_native_style(type), FALSE, GetWindowLong(win, GWL_EXSTYLE)); + win_size.x = area.right - area.left; + win_size.y = area.bottom - area.top; +} + +void RedWindow::move_and_resize(int x, int y, int width, int height) +{ + client_to_window_size(_win, width, height, _window_size, _type); + SetWindowPos(_win, NULL, x, y, _window_size.x, _window_size.y, SWP_NOACTIVATE | SWP_NOZORDER); + if (_minimized) { + _valid_pos = true; + _x = x; + _y = y; + } +} + +void RedWindow::move(int x, int y) +{ + SetWindowPos(_win, NULL, x, y, 0, 0, SWP_NOACTIVATE | SWP_NOSIZE | SWP_NOZORDER); + if (_minimized) { + _valid_pos = true; + _x = x; + _y = y; + } +} + +void RedWindow::resize(int width, int height) +{ + client_to_window_size(_win, width, height, _window_size, _type); + SetWindowPos(_win, NULL, 0, 0, _window_size.x, _window_size.y, + SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOZORDER); +} + +void RedWindow::activate() +{ + SetActiveWindow(_win); + SetFocus(_win); +} + +void RedWindow::minimize() +{ + ShowWindow(_win, SW_SHOWMINIMIZED); +} + +void RedWindow::set_mouse_position(int x, int y) +{ + POINT pt; + pt.x = x + get_origin().x; + pt.y = y + get_origin().y; + ClientToScreen(_win, &pt); + SetCursorPos(pt.x, pt.y); +} + +class Region_p { +public: + Region_p(HRGN region) : _region (region) {} + ~Region_p() {} + + void get_bbox(SpiceRect& bbox) const + { + RECT box; + + if (GetRgnBox(_region, &box) == 0) { + THROW("get region bbox failed"); + } + bbox.left = box.left; + bbox.right = box.right; + bbox.top = box.top; + bbox.bottom = box.bottom; + } + + bool contains_point(int x, int y) const + { + return !!PtInRegion(_region, x, y); + } + +private: + HRGN _region; +}; + +bool RedWindow::get_mouse_anchor_point(SpicePoint& pt) +{ + AutoGDIObject region(CreateRectRgn(0, 0, 0, 0)); + WindowDC win_dc(_win); + + GetRandomRgn(*win_dc, (HRGN)region.get(), SYSRGN); + SpicePoint anchor; + Region_p region_p((HRGN)region.get()); + if (!find_anchor_point(region_p, anchor)) { + return false; + } + POINT screen_pt; + screen_pt.x = anchor.x; + screen_pt.y = anchor.y; + ScreenToClient(_win, &screen_pt); + pt.x = screen_pt.x - get_origin().x; + pt.y = screen_pt.y - get_origin().y; + return true; +} + +void RedWindow::capture_mouse() +{ + RECT client_rect; + POINT origin; + + origin.x = origin.y = 0; + ClientToScreen(_win, &origin); + GetClientRect(_win, &client_rect); + OffsetRect(&client_rect, origin.x, origin.y); + ClipCursor(&client_rect); +} + +void RedWindow::release_mouse() +{ + ClipCursor(NULL); +} + +void RedWindow::set_cursor(LocalCursor* local_cursor) +{ + ASSERT(local_cursor); + if (_local_cursor) { + _local_cursor->unref(); + } + _local_cursor = local_cursor->ref(); + if (_pointer_in_window) { + _local_cursor->set(_win); + while (ShowCursor(TRUE) < 0); + } + _cursor_visible = true; +} + +void RedWindow::hide_cursor() +{ + if (_cursor_visible) { + if (_pointer_in_window) { + while (ShowCursor(FALSE) > -1); + } + _cursor_visible = false; + } +} + +void RedWindow::show_cursor() +{ + if (!_cursor_visible) { + if (_pointer_in_window) { + while (ShowCursor(TRUE) < 0); + } + _cursor_visible = true; + } +} + +SpicePoint RedWindow::get_position() +{ + SpicePoint position; + if (_minimized || IsIconic(_win)) { + if (_valid_pos) { + position.x = _x; + position.y = _y; + } else { + position.x = position.y = 0; + } + } else { + RECT window_rect; + GetWindowRect(_win, &window_rect); + position.x = window_rect.left; + position.y = window_rect.top; + } + return position; +} + +SpicePoint RedWindow::get_size() +{ + RECT client_rect; + GetClientRect(_win, &client_rect); + SpicePoint pt = {client_rect.right - client_rect.left, client_rect.bottom - client_rect.top}; + return pt; +} + +static LRESULT CALLBACK LowLevelKeyboardProc(int nCode, WPARAM wParam, LPARAM lParam) +{ + if (low_keyboard_hook_on && focus_window && nCode == HC_ACTION) { + KBDLLHOOKSTRUCT *hooked = (KBDLLHOOKSTRUCT*)lParam; + DWORD dwMsg = (hooked->flags << 24) | (hooked->scanCode << 16) | 1; + + if (hooked->vkCode == VK_NUMLOCK || hooked->vkCode == VK_RSHIFT) { + dwMsg &= ~(1 << 24); + SendMessage(focus_window, wParam, hooked->vkCode, dwMsg); + } + switch (hooked->vkCode) { + case VK_CAPITAL: + case VK_SCROLL: + case VK_NUMLOCK: + case VK_LSHIFT: + case VK_RSHIFT: + case VK_LCONTROL: + case VK_RCONTROL: + case VK_LMENU: + case VK_RMENU: + break; + default: + SendMessage(focus_window, wParam, hooked->vkCode, dwMsg); + return 1; + } + } + return CallNextHookEx(NULL, nCode, wParam, lParam); +} + +void RedWindow::do_start_key_interception() +{ + low_keyboard_hook_on = true; + _key_interception_on = true; + _listener.on_start_key_interception(); +} + +void RedWindow::do_stop_key_interception() +{ + low_keyboard_hook_on = false; + _key_interception_on = false; + _listener.on_stop_key_interception(); +} + +void RedWindow::start_key_interception() +{ + if (_trace_key_interception) { + return; + } + _trace_key_interception = true; + if (_focused && _pointer_in_window) { + do_start_key_interception(); + } +} + +void RedWindow::stop_key_interception() +{ + if (!_trace_key_interception) { + return; + } + _trace_key_interception = false; + if (_key_interception_on) { + do_stop_key_interception(); + } +} + +void RedWindow::init() +{ + if (!(class_atom = register_class(instance))) { + THROW("register class failed"); + } + low_keyboard_hook = SetWindowsHookEx(WH_KEYBOARD_LL, LowLevelKeyboardProc, + GetModuleHandle(NULL), 0); +} + +void RedWindow::cleanup() +{ + UnhookWindowsHookEx(low_keyboard_hook); +} + +#ifdef USE_OPENGL + +void RedWindow::touch_context_draw() +{ +} + +void RedWindow::touch_context_copy() +{ +} + +void RedWindow::untouch_context() +{ +} + +#endif + +void RedWindow::on_focus_in() +{ + _focused = true; + focus_window = _win; + get_listener().on_activate(); + if (_pointer_in_window && _trace_key_interception) { + do_start_key_interception(); + } +} + +void RedWindow::on_focus_out() +{ + if (!_focused) { + return; + } + + _focused = false; + focus_window = NULL; + + if (_key_interception_on) { + do_stop_key_interception(); + } + get_listener().on_deactivate(); +} + +void RedWindow::on_pointer_enter(int x, int y, unsigned int buttons_state) +{ + if (_pointer_in_window) { + return; + } + + if (_cursor_visible) { + if (_local_cursor) { + _local_cursor->set(_win); + } + while (ShowCursor(TRUE) < 0); + } else { + while (ShowCursor(FALSE) > -1); + } + _pointer_in_window = true; + _listener.on_pointer_enter(x, y, buttons_state); + + TRACKMOUSEEVENT tme; + tme.cbSize = sizeof(TRACKMOUSEEVENT); + tme.dwFlags = TME_LEAVE; + tme.hwndTrack = _win; + if (!TrackMouseEvent(&tme)) { + THROW("track mouse event failed"); + } + if (_focused && _trace_key_interception) { + do_start_key_interception(); + } +} + +void RedWindow::on_pointer_leave() +{ + if (!_pointer_in_window) { + return; + } + if (!_cursor_visible) { + while (ShowCursor(TRUE) < 0); + } + _pointer_in_window = false; + _listener.on_pointer_leave(); + if (_key_interception_on) { + do_stop_key_interception(); + } +} + +static void insert_separator(HMENU menu) +{ + MENUITEMINFO item_info; + item_info.cbSize = sizeof(item_info); + item_info.fMask = MIIM_TYPE; + item_info.fType = MFT_SEPARATOR; + item_info.dwTypeData = NULL; + item_info.dwItemData = 0; + InsertMenuItem(menu, GetMenuItemCount(menu), TRUE, &item_info); +} + +static void utf8_to_wchar(const std::string& src, std::wstring& dest) +{ + int len = MultiByteToWideChar(CP_UTF8, 0, src.c_str(), -1, NULL, 0); + if (!len) { + THROW("fail to conver utf8 to wchar"); + } + dest.resize(len); + MultiByteToWideChar(CP_UTF8, 0, src.c_str(), -1, (wchar_t *)dest.c_str(), len); +} + +static void insert_command(HMENU menu, const std::string& name, int id, int state) +{ + MENUITEMINFO item_info; + item_info.cbSize = sizeof(item_info); + item_info.fMask = MIIM_ID | MIIM_STRING | MIIM_STATE; + item_info.fType = MFT_STRING; + std::wstring wname; + utf8_to_wchar(name, wname); + item_info.cch = wname.size(); + item_info.dwTypeData = (wchar_t *)wname.c_str(); + item_info.wID = id; + item_info.fState = MFS_ENABLED; + if (state & Menu::MENU_ITEM_STATE_CHECKED) { + item_info.fState |= MFS_CHECKED; + } + if (state & Menu::MENU_ITEM_STATE_DIM) { + item_info.fState |= MFS_DISABLED; + } + InsertMenuItem(menu, GetMenuItemCount(menu), TRUE, &item_info); +} + +static HMENU insert_sub_menu(HMENU menu, const std::string& name) +{ + MENUITEMINFO item_info; + item_info.cbSize = sizeof(item_info); + item_info.fMask = MIIM_TYPE | MIIM_SUBMENU; + item_info.fType = MFT_STRING; + std::wstring wname; + utf8_to_wchar(name, wname); + item_info.cch = wname.size(); + item_info.dwTypeData = (wchar_t *)wname.c_str(); + item_info.hSubMenu = CreateMenu(); + InsertMenuItem(menu, GetMenuItemCount(menu), TRUE, &item_info); + return item_info.hSubMenu; +} + +static int next_free_id = 1; +static const int last_id = 0x0f00; + +static std::list<int> free_sys_menu_id; + +static int alloc_sys_cmd_id() +{ + if (!free_sys_menu_id.empty()) { + int ret = *free_sys_menu_id.begin(); + free_sys_menu_id.pop_front(); + return ret; + } + if (next_free_id == last_id) { + THROW("failed"); + } + + return next_free_id++ << 4; +} + +static void free_sys_cmd_id(int id) +{ + free_sys_menu_id.push_back(id); +} + +static void insert_menu(Menu* menu, HMENU native, CommandMap& _commands_map) +{ + int pos = 0; + + for (;; pos++) { + Menu::ItemType type = menu->item_type_at(pos); + switch (type) { + case Menu::MENU_ITEM_TYPE_COMMAND: { + std::string name; + int command_id; + int state; + menu->command_at(pos, name, command_id, state); + int sys_command = alloc_sys_cmd_id(); + _commands_map[sys_command] = CommandInfo(menu, command_id); + insert_command(native, name, sys_command, state); + break; + } + case Menu::MENU_ITEM_TYPE_MENU: { + AutoRef<Menu> sub_menu(menu->sub_at(pos)); + HMENU native_sub = insert_sub_menu(native, (*sub_menu)->get_name()); + insert_menu(*sub_menu, native_sub, _commands_map); + break; + } + case Menu::MENU_ITEM_TYPE_SEPARATOR: + insert_separator(native); + break; + case Menu::MENU_ITEM_TYPE_INVALID: + return; + } + } +} + +void RedWindow_p::release_menu(Menu* menu) +{ + if (menu) { + while (!_commands_map.empty()) { + free_sys_cmd_id((*_commands_map.begin()).first); + _commands_map.erase(_commands_map.begin()); + } + GetSystemMenu(_win, TRUE); + _sys_menu = NULL; + menu->unref(); + return; + } +} + +int RedWindow::set_menu(Menu* menu) +{ + release_menu(_menu); + _menu = NULL; + + if (!menu) { + return 0; + } + + _sys_menu = GetSystemMenu(_win, FALSE); + if (! _sys_menu) { + return -1; + } + + _menu = menu->ref(); + + insert_separator(_sys_menu); + insert_menu(_menu, _sys_menu, _commands_map); + + return 0; +} + +static LRESULT CALLBACK MessageFilterProc(int nCode, WPARAM wParam, LPARAM lParam) +{ + if (nCode >= 0) + { + MSG* msg = (MSG*)lParam; + + switch (msg->message) { + case WM_SYSKEYUP: + case WM_KEYUP: { + RedKey key = translate_key(msg->message, wParam, lParam); + filtered_up_keys.push_back(key); + break; + } + default: + break; + } + } + return CallNextHookEx(NULL, nCode, wParam, lParam); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/windows/red_window_p.h b/tizen/distrib/remote/server/spice-0.12.2/client/windows/red_window_p.h new file mode 100644 index 0000000..73d74e3 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/windows/red_window_p.h @@ -0,0 +1,71 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_RED_WINDOW_P +#define _H_RED_WINDOW_P + +#include <map> +#include <red_drawable.h> + +class RedWindow; +class Menu; +struct PixelsSource_p; + +typedef HWND Window; + +class CommandInfo { +public: + CommandInfo() : menu (0), command (0) {} + CommandInfo(Menu* in_menu, int in_command) : menu (in_menu), command (in_command) {} + + Menu* menu; + int command; +}; + +typedef std::map<int, CommandInfo> CommandMap; + +class RedWindow_p { +public: + RedWindow_p(); + + void create(RedWindow& red_window, PixelsSource_p& pixels_source); + void destroy(PixelsSource_p& pixels_source); + void release_menu(Menu* menu); + void on_minimized(); + void on_restored(); + void on_pos_changing(RedWindow& red_window); + bool prossec_menu_commands(int cmd); + + static LRESULT CALLBACK WindowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); + +protected: + HWND _win; + RedDrawable::Format _format; + uint32_t _modal_refs; + HMODULE _no_taskmgr_dll; + HHOOK _no_taskmgr_hook; + bool _focused; + bool _pointer_in_window; + bool _minimized; + bool _valid_pos; + int _x; + int _y; + CommandMap _commands_map; + HMENU _sys_menu; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/windows/resource.h b/tizen/distrib/remote/server/spice-0.12.2/client/windows/resource.h new file mode 100644 index 0000000..c3549be --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/windows/resource.h @@ -0,0 +1,18 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by redc.rc +// +#define RED_ICON_RES_ID 5 +#define IDI_ICON_APPLICATION 103 +#define ALT_IMAGE_RES_ID 104 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 106 +#define _APS_NEXT_COMMAND_VALUE 40001 +#define _APS_NEXT_CONTROL_VALUE 1001 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/windows/stdint.h b/tizen/distrib/remote/server/spice-0.12.2/client/windows/stdint.h new file mode 100644 index 0000000..3013161 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/windows/stdint.h @@ -0,0 +1,393 @@ +/* ISO C9x 7.18 Integer types <stdint.h> + + * Based on ISO/IEC SC22/WG14 9899 Committee draft (SC22 N2794) + + * + + * THIS SOFTWARE IS NOT COPYRIGHTED + + * + + * Contributor: Danny Smith <danny_r_smith_2001@yahoo.co.nz> + + * + + * This source code is offered for use in the public domain. You may + + * use, modify or distribute it freely. + + * + + * This code is distributed in the hope that it will be useful but + + * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY + + * DISCLAIMED. This includes but is not limited to warranties of + + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + * + + * Date: 2000-12-02 + + */ + + + + + +#ifndef _STDINT_H + +#define _STDINT_H + +#define __need_wint_t + +#define __need_wchar_t + +#include <stddef.h> + + + +#ifdef _WIN32_WCE + +typedef _int64 int64_t; + +typedef unsigned _int64 uint64_t; + +#else + +typedef long long int64_t; + +typedef unsigned long long uint64_t; + +#endif /* _WIN32_WCE */ + + + +/* 7.18.1.1 Exact-width integer types */ + +typedef signed char int8_t; + +typedef unsigned char uint8_t; + +typedef short int16_t; + +typedef unsigned short uint16_t; + +typedef int int32_t; + +typedef unsigned uint32_t; + + + +/* 7.18.1.2 Minimum-width integer types */ + +typedef signed char int_least8_t; + +typedef unsigned char uint_least8_t; + +typedef short int_least16_t; + +typedef unsigned short uint_least16_t; + +typedef int int_least32_t; + +typedef unsigned uint_least32_t; + +#ifndef _WIN32_WCE + +typedef long long int_least64_t; + +typedef unsigned long long uint_least64_t; + +#endif + + + +/* 7.18.1.3 Fastest minimum-width integer types + + * Not actually guaranteed to be fastest for all purposes + + * Here we use the exact-width types for 8 and 16-bit ints. + + */ + +typedef char int_fast8_t; + +typedef unsigned char uint_fast8_t; + +typedef short int_fast16_t; + +typedef unsigned short uint_fast16_t; + +typedef int int_fast32_t; + +typedef unsigned int uint_fast32_t; + +#ifndef _WIN32_WCE + +typedef long long int_fast64_t; + +typedef unsigned long long uint_fast64_t; + +#endif + + + +/* 7.18.1.4 Integer types capable of holding object pointers */ + +#ifndef _WIN64 + +typedef int intptr_t; + +typedef unsigned uintptr_t; + +#endif + +/* 7.18.1.5 Greatest-width integer types */ + +#ifndef _WIN32_WCE + +typedef long long intmax_t; + +typedef unsigned long long uintmax_t; + +#endif + + + +/* 7.18.2 Limits of specified-width integer types */ + +#if !defined ( __cplusplus) || defined (__STDC_LIMIT_MACROS) + + + +/* 7.18.2.1 Limits of exact-width integer types */ + +#define INT8_MIN (-128) + +#define INT16_MIN (-32768) + +#define INT32_MIN (-2147483647 - 1) + +#define INT64_MIN (-9223372036854775807LL - 1) + + + +#define INT8_MAX 127 + +#define INT16_MAX 32767 + +#define INT32_MAX 2147483647 + +#define INT64_MAX 9223372036854775807LL + + + +#define UINT8_MAX 0xff /* 255U */ + +#define UINT16_MAX 0xffff /* 65535U */ + +#define UINT32_MAX 0xffffffff /* 4294967295U */ + +#define UINT64_MAX 0xffffffffffffffffULL /* 18446744073709551615ULL */ + + + +/* 7.18.2.2 Limits of minimum-width integer types */ + +#define INT_LEAST8_MIN INT8_MIN + +#define INT_LEAST16_MIN INT16_MIN + +#define INT_LEAST32_MIN INT32_MIN + +#define INT_LEAST64_MIN INT64_MIN + + + +#define INT_LEAST8_MAX INT8_MAX + +#define INT_LEAST16_MAX INT16_MAX + +#define INT_LEAST32_MAX INT32_MAX + +#define INT_LEAST64_MAX INT64_MAX + + + +#define UINT_LEAST8_MAX UINT8_MAX + +#define UINT_LEAST16_MAX UINT16_MAX + +#define UINT_LEAST32_MAX UINT32_MAX + +#define UINT_LEAST64_MAX UINT64_MAX + + + +/* 7.18.2.3 Limits of fastest minimum-width integer types */ + +#define INT_FAST8_MIN INT8_MIN + +#define INT_FAST16_MIN INT16_MIN + +#define INT_FAST32_MIN INT32_MIN + +#define INT_FAST64_MIN INT64_MIN + + + +#define INT_FAST8_MAX INT8_MAX + +#define INT_FAST16_MAX INT16_MAX + +#define INT_FAST32_MAX INT32_MAX + +#define INT_FAST64_MAX INT64_MAX + + + +#define UINT_FAST8_MAX UINT8_MAX + +#define UINT_FAST16_MAX UINT16_MAX + +#define UINT_FAST32_MAX UINT32_MAX + +#define UINT_FAST64_MAX UINT64_MAX + + + +/* 7.18.2.4 Limits of integer types capable of holding + + object pointers */ + +#define INTPTR_MIN INT32_MIN + +#define INTPTR_MAX INT32_MAX + +#define UINTPTR_MAX UINT32_MAX + + + +/* 7.18.2.5 Limits of greatest-width integer types */ + +#define INTMAX_MIN INT64_MIN + +#define INTMAX_MAX INT64_MAX + +#define UINTMAX_MAX UINT64_MAX + + + +/* 7.18.3 Limits of other integer types */ + +#define PTRDIFF_MIN INT32_MIN + +#define PTRDIFF_MAX INT32_MAX + + + +#define SIG_ATOMIC_MIN INT32_MIN + +#define SIG_ATOMIC_MAX INT32_MAX + + +#undef SIZE_MAX +#define SIZE_MAX UINT32_MAX + + + +#ifndef WCHAR_MIN /* also in wchar.h */ + +#define WCHAR_MIN 0 + +#define WCHAR_MAX 0xffff /* UINT16_MAX */ + +#endif + + + +/* + + * wint_t is unsigned short for compatibility with MS runtime + + */ + +#define WINT_MIN 0 + +#define WINT_MAX 0xffff /* UINT16_MAX */ + + + +#endif /* !defined ( __cplusplus) || defined __STDC_LIMIT_MACROS */ + + + + + +/* 7.18.4 Macros for integer constants */ + +#if !defined ( __cplusplus) || defined (__STDC_CONSTANT_MACROS) + + + +/* 7.18.4.1 Macros for minimum-width integer constants + + + + Accoding to Douglas Gwyn <gwyn@arl.mil>: + + "This spec was changed in ISO/IEC 9899:1999 TC1; in ISO/IEC + + 9899:1999 as initially published, the expansion was required + + to be an integer constant of precisely matching type, which + + is impossible to accomplish for the shorter types on most + + platforms, because C99 provides no standard way to designate + + an integer constant with width less than that of type int. + + TC1 changed this to require just an integer constant + + *expression* with *promoted* type." + +*/ + + + +#define INT8_C(val) ((int8_t) + (val)) + +#define UINT8_C(val) ((uint8_t) + (val##U)) + +#define INT16_C(val) ((int16_t) + (val)) + +#define UINT16_C(val) ((uint16_t) + (val##U)) + + + +#define INT32_C(val) val##L + +#define UINT32_C(val) val##UL + +#define INT64_C(val) val##LL + +#define UINT64_C(val) val##ULL + + + +/* 7.18.4.2 Macros for greatest-width integer constants */ + +#define INTMAX_C(val) INT64_C(val) + +#define UINTMAX_C(val) UINT64_C(val) + + + +#endif /* !defined ( __cplusplus) || defined __STDC_CONSTANT_MACROS */ + + + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/windows/win_platform.h b/tizen/distrib/remote/server/spice-0.12.2/client/windows/win_platform.h new file mode 100644 index 0000000..c1a356c --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/windows/win_platform.h @@ -0,0 +1,39 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_WINPLATFORM +#define _H_WINPLATFORM + +#include "icon.h" + +class WinPlatform { +public: + static void enter_modal_loop(); + static void exit_modal_loop(); +}; + +class WinIcon: public Icon { +public: + WinIcon(HICON icon) : _icon (icon) {} + + HICON get_handle() {return _icon;} + +private: + HICON _icon; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/atomic_count.h b/tizen/distrib/remote/server/spice-0.12.2/client/x11/atomic_count.h new file mode 100644 index 0000000..02bb08d --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/atomic_count.h @@ -0,0 +1,43 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_ATOMIC_COUNT +#define _H_ATOMIC_COUNT + +#include <stdint.h> + +class AtomicCount { +public: + AtomicCount(uint32_t count = 0) : _count (count) {} + + uint32_t operator ++ () + { + return __sync_add_and_fetch(&_count, 1); + } + + uint32_t operator -- () + { + return __sync_sub_and_fetch(&_count, 1); + } + + operator uint32_t () { return _count;} + +private: + uint32_t _count; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/event_sources_p.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/x11/event_sources_p.cpp new file mode 100644 index 0000000..5f9f452 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/event_sources_p.cpp @@ -0,0 +1,229 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <sys/select.h> +#include <sys/fcntl.h> + +#include "event_sources.h" +#include "debug.h" +#include "utils.h" + +static void set_non_blocking(int fd) +{ + int flags; + if ((flags = ::fcntl(fd, F_GETFL)) == -1) { + THROW("failed to set socket non block: %s", strerror(errno)); + } + + if (::fcntl(fd, F_SETFL, flags | O_NONBLOCK) == -1) { + THROW("failed to set socket non block: %s", strerror(errno)); + } +} + +static void set_blocking(int fd) +{ + int flags; + if ((flags = ::fcntl(fd, F_GETFL)) == -1) { + THROW("failed to clear socket non block: %s", strerror(errno)); + } + + if (::fcntl(fd, F_SETFL, flags & ~O_NONBLOCK) == -1) { + THROW("failed to clear socket non block: %s", strerror(errno)); + } +} + +EventSources::EventSources() +{ +} + +EventSources::~EventSources() +{ +} + +void EventSources_p::add_event(int fd, EventSource* source) +{ + int size = _events.size(); + _events.resize(size + 1); + _fds.resize(size + 1); + _events[size] = source; + _fds[size] = fd; +} + +void EventSources_p::remove_event(EventSource* source) +{ + int size = _events.size(); + for (int i = 0; i < size; i++) { + if (_events[i] == source) { + for (i++; i < size; i++) { + _events[i - 1] = _events[i]; + _fds[i - 1] = _fds[i]; + } + _events.resize(size - 1); + _fds.resize(size - 1); + return; + } + } + THROW("event not found"); +} + +bool EventSources::wait_events(int timeout_msec) +{ + int maxfd = 0; + fd_set rfds; + struct timeval tv; + struct timeval *tvp; + int ready; + + FD_ZERO(&rfds); + + int size = _events.size(); + for (int i = 0; i < size; i++) { + maxfd = MAX(maxfd, _fds[i]); + FD_SET(_fds[i], &rfds); + } + + if (timeout_msec == INFINITE) { + tvp = NULL; + } else { + tv.tv_sec = timeout_msec / 1000; + tv.tv_usec = (timeout_msec % 1000) * 1000; + tvp = &tv; + } + + /* Right now we only use read polling in spice */ + ready = ::select(maxfd+1, &rfds, NULL, NULL, tvp); + + if (ready == -1) { + if (errno == EINTR) { + return false; + } + THROW("wait error select failed"); + } else if (ready == 0) { + return false; + } + + for (unsigned int i = 0; i < _events.size(); i++) { + if (FD_ISSET(_fds[i], &rfds)) { + _events[i]->action(); + /* The action may have removed / added event sources changing + our array, so leave the loop and handle other events the next + time we are called */ + return false; + } + } + return false; +} + +void EventSources::add_trigger(Trigger& trigger) +{ + add_event(trigger.get_fd(), &trigger); +} + +void EventSources::remove_trigger(Trigger& trigger) +{ + remove_event(&trigger); +} + +EventSources::Trigger::Trigger() +{ + int fd[2]; + if (::pipe(fd) == -1) { + THROW("create pipe failed"); + } + _event_fd = fd[0]; + _event_write_fd = fd[1]; + set_non_blocking(_event_fd); +} + +EventSources::Trigger::~Trigger() +{ + close(_event_fd); + close(_event_write_fd); +} + +void EventSources::Trigger::trigger() +{ + Lock lock(_lock); + if (_pending_int) { + return; + } + _pending_int = true; + const uint8_t val = 1; + if (::write(_event_write_fd, &val, sizeof(val)) != sizeof(val)) { + THROW("write event failed"); + } +} + +bool Trigger_p::reset_event() +{ + Lock lock(_lock); + if (!_pending_int) { + return false; + } + uint8_t val; + if (::read(_event_fd, &val, sizeof(val)) != sizeof(val)) { + THROW("event read error"); + } + _pending_int = false; + return true; +} + +void EventSources::Trigger::reset() +{ + reset_event(); +} + +void EventSources::Trigger::action() +{ + if (reset_event()) { + on_event(); + } +} + +void EventSources::add_socket(Socket& socket) +{ + add_event(socket.get_socket(), &socket); + set_non_blocking(socket.get_socket()); +} + +void EventSources::remove_socket(Socket& socket) +{ + remove_event(&socket); + int fd = socket.get_socket(); + set_blocking(fd); +} + +void EventSources::add_file(File& file) +{ + add_event(file.get_fd(), &file); +} + +void EventSources::remove_file(File& file) +{ + remove_event(&file); +} + +void EventSources::add_handle(Handle& file) +{ +} + +void EventSources::remove_handle(Handle& file) +{ +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/event_sources_p.h b/tizen/distrib/remote/server/spice-0.12.2/client/x11/event_sources_p.h new file mode 100644 index 0000000..4b826bb --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/event_sources_p.h @@ -0,0 +1,54 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_EVENT_SOURCES_P +#define _H_EVENT_SOURCES_P + +#include "common.h" +#include "threads.h" + +#define INFINITE -1 + +class EventSource; + +class EventSources_p { +protected: + void add_event(int fd, EventSource* source); + void remove_event(EventSource* source); + +public: + std::vector<EventSource*> _events; + std::vector<int> _fds; +}; + +class Trigger_p { +public: + Trigger_p() : _pending_int (false) {} + int get_fd() { return _event_fd;} + bool reset_event(); + +public: + int _event_fd; + int _event_write_fd; + bool _pending_int; + Mutex _lock; +}; + +class Handle_p { +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/images/alt_image.c b/tizen/distrib/remote/server/spice-0.12.2/client/x11/images/alt_image.c new file mode 100644 index 0000000..cf5d6cb --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/images/alt_image.c @@ -0,0 +1,735 @@ +static const struct { + int width; + int height; + uint8_t pixel_data[17496]; +} _alt_image = { 81, 54, { + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x16,0x16,0x16,0x2d,0x39,0x39,0x39,0x70,0x48,0x48,0x48,0x8e,0x58,0x58,0x58,0xae,0x68,0x68,0x68,0xcd, + 0x78,0x78,0x78,0xec,0x82,0x82,0x82,0xff,0x81,0x81,0x81,0xfe,0x80,0x80,0x80,0xfd,0x80,0x80,0x80,0xfc,0x7f,0x7f,0x7f,0xfb, + 0x7f,0x7f,0x7f,0xfa,0x7e,0x7e,0x7e,0xf9,0x7e,0x7e,0x7e,0xf8,0x7e,0x7e,0x7e,0xf8,0x7d,0x7d,0x7d,0xf7,0x7d,0x7d,0x7d,0xf6, + 0x7c,0x7c,0x7c,0xf5,0x7c,0x7c,0x7c,0xf4,0x7b,0x7b,0x7b,0xf3,0x7b,0x7b,0x7b,0xf2,0x7a,0x7a,0x7a,0xf1,0x7a,0x7a,0x7a,0xf0, + 0x79,0x79,0x79,0xef,0x79,0x79,0x79,0xee,0x78,0x78,0x78,0xed,0x78,0x78,0x78,0xec,0x77,0x77,0x77,0xeb,0x77,0x77,0x77,0xea, + 0x76,0x76,0x76,0xe9,0x76,0x76,0x76,0xe8,0x75,0x75,0x75,0xe7,0x75,0x75,0x75,0xe6,0x74,0x74,0x74,0xe5,0x74,0x74,0x74,0xe4, + 0x74,0x74,0x74,0xe4,0x73,0x73,0x73,0xe3,0x73,0x73,0x73,0xe2,0x72,0x72,0x72,0xe1,0x72,0x72,0x72,0xe0,0x71,0x71,0x71,0xdf, + 0x71,0x71,0x71,0xde,0x70,0x70,0x70,0xdd,0x70,0x70,0x70,0xdc,0x6f,0x6f,0x6f,0xdb,0x6f,0x6f,0x6f,0xda,0x6e,0x6e,0x6e,0xd9, + 0x6e,0x6e,0x6e,0xd8,0x6d,0x6d,0x6d,0xd7,0x6d,0x6d,0x6d,0xd6,0x6c,0x6c,0x6c,0xd5,0x6c,0x6c,0x6c,0xd4,0x6b,0x6b,0x6b,0xd3, + 0x6b,0x6b,0x6b,0xd2,0x6a,0x6a,0x6a,0xd1,0x6a,0x6a,0x6a,0xd1,0x69,0x69,0x69,0xcf,0x61,0x61,0x61,0xc0,0x60,0x60,0x60,0xca, + 0x64,0x64,0x64,0xe2,0x5b,0x5b,0x5b,0xd3,0x52,0x52,0x52,0xc2,0x47,0x47,0x47,0xad,0x33,0x33,0x33,0x87,0x19,0x19,0x19,0x55, + 0x0b,0x0b,0x0b,0x25,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x11,0x11,0x11,0x23,0x53,0x53,0x53,0xa4,0x80,0x80,0x80,0xfd,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x79,0x79,0x79,0xff,0x64,0x64,0x64,0xff,0x3f,0x3f,0x3f,0xc4,0x1c,0x1c,0x1c,0x5d, + 0x02,0x02,0x02,0x09,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0a,0x0a,0x0a,0x15,0x4c,0x4c,0x4c,0x96,0x7f,0x7f,0x7f,0xfa, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x81,0x81,0x81,0xff,0x70,0x70,0x70,0xff,0x4d,0x4d,0x4d,0xf1,0x2c,0x2c,0x2c,0x95,0x03,0x03,0x03,0x0a, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x02, + 0x62,0x62,0x62,0xc2,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x7b,0x7b,0x7b,0xff,0x54,0x54,0x54,0xff,0x3b,0x3b,0x3b,0xc5,0x04,0x04,0x04,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3e,0x3e,0x3e,0x7b,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x83,0x7f,0x80,0xee,0x88,0x7d,0x7e,0xce,0x88,0x7c,0x7c,0xc2,0x8a,0x7a,0x7c,0xb7, + 0x8c,0x7a,0x7b,0xac,0x8d,0x79,0x7a,0xa5,0x8c,0x79,0x7a,0xa5,0x8d,0x79,0x7b,0xa6,0x8c,0x79,0x7b,0xa6,0x8c,0x79,0x7b,0xa6, + 0x8c,0x79,0x7b,0xa7,0x8c,0x79,0x7b,0xa7,0x8c,0x79,0x7a,0xa7,0x8c,0x79,0x7a,0xa7,0x8c,0x79,0x7b,0xa8,0x8c,0x79,0x7b,0xa8, + 0x8d,0x79,0x7b,0xa9,0x8c,0x79,0x7b,0xa9,0x8c,0x79,0x7b,0xa9,0x8c,0x7a,0x7b,0xaa,0x8c,0x79,0x7b,0xaa,0x8c,0x79,0x7b,0xaa, + 0x8c,0x7a,0x7b,0xab,0x8c,0x79,0x7b,0xab,0x8c,0x79,0x7b,0xab,0x8c,0x7a,0x7b,0xac,0x8c,0x79,0x7b,0xac,0x8b,0x79,0x7b,0xac, + 0x8c,0x7a,0x7b,0xad,0x8b,0x79,0x7b,0xad,0x8b,0x79,0x7b,0xad,0x8b,0x7a,0x7b,0xae,0x8b,0x79,0x7b,0xae,0x8c,0x7a,0x7c,0xaf, + 0x8c,0x7a,0x7b,0xaf,0x8c,0x7a,0x7b,0xaf,0x8b,0x7a,0x7b,0xaf,0x8c,0x7a,0x7c,0xb0,0x8b,0x7a,0x7b,0xb0,0x8b,0x7a,0x7b,0xb0, + 0x8c,0x7a,0x7c,0xb1,0x8b,0x7a,0x7b,0xb1,0x8b,0x7a,0x7b,0xb1,0x8b,0x7a,0x7c,0xb2,0x8b,0x7a,0x7c,0xb2,0x8a,0x7a,0x7b,0xb2, + 0x8b,0x7a,0x7c,0xb3,0x8a,0x7a,0x7c,0xb3,0x8a,0x7a,0x7b,0xb3,0x8b,0x7a,0x7c,0xb4,0x8b,0x7a,0x7c,0xb4,0x8b,0x7a,0x7c,0xb5, + 0x8b,0x7a,0x7c,0xb5,0x8b,0x7a,0x7c,0xb5,0x8b,0x7a,0x7c,0xb6,0x8a,0x7a,0x7c,0xb6,0x8a,0x7b,0x7c,0xbc,0x8c,0x7e,0x80,0xcc, + 0x8d,0x80,0x82,0xd8,0x8c,0x82,0x83,0xe0,0x8c,0x83,0x84,0xe7,0x89,0x83,0x84,0xf1,0x82,0x82,0x82,0xfe,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x7b,0x7b,0x7b,0xff,0x4f,0x4f,0x4f,0xff, + 0x3a,0x3a,0x3a,0xc3,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1b,0x1b,0x1b,0x36,0x7f,0x7f,0x7f,0xfb, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x83,0x80,0x80,0xf3,0x89,0x7c,0x7d,0xc5,0x8c,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8c,0x79,0x7b,0xac,0x87,0x7d,0x7e,0xcd,0x83,0x81,0x81,0xf2,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x69,0x69,0x69,0xff,0x4d,0x4d,0x4d,0xff,0x1c,0x1c,0x1c,0x5f,0x00,0x00,0x00,0x00, + 0x02,0x02,0x02,0x04,0x6f,0x6f,0x6f,0xdb,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x83,0x81,0x81,0xf7, + 0x8c,0x7a,0x7b,0xad,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8c,0x79,0x7b,0xa7,0x86,0x7f,0x7f,0xe1,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x81,0x81,0x81,0xff, + 0x50,0x50,0x50,0xff,0x44,0x44,0x44,0xe4,0x00,0x00,0x00,0x00,0x18,0x18,0x18,0x30,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x81,0x81,0x81,0xfe,0x89,0x7b,0x7c,0xbc,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8c,0x79,0x7b,0xa9,0x83,0x81,0x81,0xf6, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x5c,0x5c,0x5c,0xff,0x4d,0x4d,0x4d,0xff,0x0b,0x0b,0x0b,0x26, + 0x33,0x33,0x33,0x65,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x85,0x7f,0x7f,0xe2,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x86,0x7e,0x7f,0xda,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x68,0x68,0x68,0xff,0x4d,0x4d,0x4d,0xff,0x1d,0x1d,0x1d,0x61,0x4f,0x4f,0x4f,0x9b,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x87,0x7d,0x7e,0xce,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x7a,0x69,0x6b,0xb0,0x4c,0x40,0x42,0xcf,0x4c,0x40,0x42,0xcf,0x4c,0x40,0x42,0xcf, + 0x4c,0x40,0x42,0xcf,0x4c,0x40,0x42,0xcf,0x4c,0x40,0x42,0xcf,0x82,0x6f,0x71,0xac,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x88,0x7b,0x7d,0xc4, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x75,0x75,0x75,0xff,0x4d,0x4d,0x4d,0xff,0x2f,0x2f,0x2f,0x9d, + 0x6a,0x6a,0x6a,0xd0,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x8a,0x7b,0x7d,0xbc,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x75,0x64,0x67,0xb4,0x6f,0x5f,0x60,0xb8,0x6f,0x5f,0x60,0xb8,0x6f,0x5f,0x60,0xb8, + 0x6f,0x5f,0x60,0xb8,0x6f,0x5f,0x60,0xb8,0x6f,0x5f,0x60,0xb8,0x6f,0x5f,0x60,0xb8,0x7c,0x6a,0x6c,0xb0,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6, + 0x2e,0x28,0x28,0xe2,0x95,0x92,0x95,0xf4,0x95,0x92,0x95,0xf4,0x95,0x92,0x95,0xf4,0x95,0x92,0x95,0xf4,0x95,0x92,0x95,0xf4, + 0xb2,0xab,0xad,0xe1,0x9f,0x90,0x92,0xbd,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8c,0x7a,0x7b,0xaf,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x80,0x80,0x80,0xff,0x4e,0x4e,0x4e,0xff,0x41,0x41,0x41,0xd9,0x7f,0x7f,0x7f,0xfb,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x8c,0x7a,0x7b,0xaa,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x89,0x75,0x77,0xa7,0x32,0x2a,0x2b,0xdf, + 0x51,0x4c,0x4e,0xe8,0x6b,0x68,0x69,0xed,0x6b,0x68,0x69,0xed,0x6b,0x68,0x69,0xed,0x6b,0x68,0x69,0xed,0x6b,0x68,0x69,0xed, + 0x6b,0x68,0x69,0xed,0x78,0x73,0x74,0xe4,0xa3,0x96,0x98,0xc3,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6,0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x80,0x6e,0x70,0xac,0x80,0x6e,0x70,0xac, + 0x80,0x6e,0x70,0xac,0x80,0x6e,0x70,0xac,0x80,0x6e,0x70,0xac,0x80,0x6e,0x70,0xac,0x87,0x74,0x76,0xa8,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x83,0x80,0x80,0xf5,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x53,0x53,0x53,0xff,0x4d,0x4d,0x4d,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x6f,0x60,0x61,0xb7,0x2e,0x27,0x28,0xe1,0x87,0x83,0x86,0xf2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb7,0xb1,0xb3,0xe3, + 0x93,0x80,0x82,0xac,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6, + 0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8b,0x78,0x7a,0xa6,0x2e,0x27,0x28,0xe1,0x4d,0x48,0x48,0xe7,0x57,0x53,0x54,0xe9,0x57,0x53,0x54,0xe9,0x57,0x53,0x54,0xe9, + 0x57,0x53,0x54,0xe9,0x81,0x76,0x78,0xcf,0x99,0x88,0x8a,0xb5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x83,0x80,0x80,0xf1,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4d,0x4d,0x4d,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x53,0x48,0x48,0xca,0x3b,0x35,0x36,0xe4, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xae,0xa9,0xab,0xe9,0xa0,0x91,0x94,0xbe,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6,0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8b,0x78,0x7a,0xa6,0x2e,0x27,0x28,0xe1,0x80,0x7d,0x7f,0xf0, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xad,0xa8,0xaa,0xea,0xac,0xa1,0xa3,0xce, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x83,0x80,0x80,0xf1,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4d,0x4d,0x4d,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8c,0x78,0x7a,0xa5,0x37,0x2f,0x30,0xdc,0x5d,0x58,0x59,0xea,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xa4,0xa1,0xa4,0xef, + 0xae,0xa4,0xa6,0xd1,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6, + 0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8b,0x78,0x7a,0xa6,0x2e,0x27,0x28,0xe1,0x80,0x7d,0x7f,0xf0,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0xad,0xa8,0xaa,0xea,0xac,0xa1,0xa3,0xce,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x83,0x80,0x80,0xf1,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4d,0x4d,0x4d,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x78,0x67,0x69,0xb2,0x2e,0x27,0x28,0xe1,0x7e,0x7a,0x7d,0xf0, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x9a,0x9b,0xf4,0xb9,0xb2,0xb4,0xe1,0x8e,0x7b,0x7e,0xa8,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6,0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8b,0x78,0x7a,0xa6,0x2e,0x27,0x28,0xe1,0x80,0x7d,0x7f,0xf0, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xad,0xa8,0xaa,0xea,0xac,0xa1,0xa3,0xce, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x83,0x81,0x81,0xf2,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4d,0x4d,0x4d,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x5b,0x4e,0x4f,0xc4,0x33,0x2d,0x2e,0xe2,0x98,0x96,0x98,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0xb0,0xab,0xad,0xe7,0x9b,0x8c,0x8e,0xb9,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6, + 0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8b,0x78,0x7a,0xa6,0x2e,0x27,0x28,0xe1,0x80,0x7d,0x7f,0xf0,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0xad,0xa8,0xaa,0xea,0xac,0xa1,0xa3,0xce,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x83,0x81,0x81,0xf2,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4c,0x4c,0x4c,0xfe,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x3e,0x35,0x36,0xd7,0x52,0x4e,0x4f,0xe8,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xa7,0xa3,0xa6,0xee,0xaa,0x9f,0xa0,0xcc,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6,0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8b,0x78,0x7a,0xa6,0x2e,0x27,0x28,0xe1,0x80,0x7d,0x7f,0xf0, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xad,0xa8,0xaa,0xea,0xac,0xa1,0xa3,0xce, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x83,0x81,0x81,0xf2,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4c,0x4c,0x4c,0xfe, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x80,0x6d,0x6f,0xad, + 0x2e,0x27,0x28,0xe1,0x75,0x71,0x72,0xee,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9f,0x9d,0x9f,0xf3,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9e,0x9b,0x9d,0xf3,0xb6,0xaf,0xb2,0xdd,0x8d,0x79,0x7b,0xa6,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6, + 0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5,0x89,0x75,0x77,0xa7,0x7a,0x69,0x6b,0xb0,0x7a,0x69,0x6b,0xb0, + 0x7a,0x68,0x6a,0xb1,0x2e,0x27,0x28,0xe1,0x80,0x7d,0x7f,0xf0,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0xaa,0xa5,0xa8,0xec,0xa2,0x98,0x9b,0xd5,0x7a,0x69,0x6b,0xb0,0x7a,0x69,0x6b,0xb0,0x7a,0x69,0x6b,0xb0, + 0x7a,0x69,0x6b,0xb0,0x7a,0x69,0x6b,0xb0,0x8b,0x78,0x7a,0xa6,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x83,0x81,0x81,0xf2,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4c,0x4c,0x4c,0xfe,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x63,0x55,0x56,0xbf,0x2f,0x29,0x29,0xe2,0x94,0x91,0x94,0xf4,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xaf,0xab,0xac,0xe8,0x80,0x7d,0x7f,0xf0,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb3,0xae,0xaf,0xe6,0x98,0x87,0x8a,0xb4, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6,0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5, + 0x7a,0x68,0x6a,0xb1,0x2e,0x27,0x28,0xe1,0x5b,0x56,0x56,0xe9,0x5e,0x59,0x59,0xea,0x5e,0x59,0x59,0xea,0x8d,0x8a,0x8c,0xf3, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x88,0x84,0x87,0xf2, + 0x5e,0x59,0x59,0xea,0x5e,0x59,0x59,0xea,0x5e,0x59,0x59,0xea,0x5e,0x59,0x59,0xea,0x5e,0x59,0x59,0xea,0x9c,0x8f,0x90,0xc3, + 0x94,0x82,0x83,0xae,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x83,0x81,0x81,0xf2,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4c,0x4c,0x4c,0xfe, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x46,0x3c,0x3d,0xd2, + 0x4a,0x45,0x45,0xe6,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xa2,0x9e,0xa1,0xf1, + 0xba,0xb3,0xb6,0xe2,0x4f,0x4a,0x4a,0xe4,0x93,0x90,0x92,0xf4,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0xaa,0xa5,0xa8,0xec,0xa7,0x9a,0x9c,0xc7,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6, + 0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5,0x7a,0x68,0x6a,0xb1,0x2e,0x27,0x28,0xe1,0x95,0x92,0x95,0xf4, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb8,0xb2,0xb4,0xe3,0x9c,0x8d,0x8e,0xb9,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x83,0x81,0x81,0xf2,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4c,0x4c,0x4c,0xfd,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x87,0x73,0x75,0xa9,0x30,0x29,0x2a,0xe0,0x6a,0x67,0x69,0xed,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xaa,0xa6,0xa8,0xeb,0xb8,0xb0,0xb4,0xdf,0x4d,0x42,0x43,0xd0,0x75,0x71,0x72,0xee, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xa0,0x9d,0x9f,0xf2,0xb4,0xab,0xae,0xd9, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6,0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5, + 0x7a,0x68,0x6a,0xb1,0x2e,0x27,0x28,0xe1,0x95,0x92,0x95,0xf4,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb8,0xb2,0xb4,0xe3, + 0x9c,0x8d,0x8e,0xb9,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x83,0x81,0x81,0xf2,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4c,0x4c,0x4c,0xfd, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x6b,0x5c,0x5e,0xba,0x2e,0x27,0x28,0xe1, + 0x8d,0x8a,0x8c,0xf3,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb4,0xae,0xb0,0xe6, + 0xac,0xa2,0xa3,0xcf,0x66,0x57,0x59,0xbe,0x55,0x51,0x52,0xe9,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb5,0xb0,0xb2,0xe4,0x93,0x82,0x84,0xaf,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6, + 0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5,0x7a,0x68,0x6a,0xb1,0x2e,0x27,0x28,0xe1,0x95,0x92,0x95,0xf4, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb8,0xb2,0xb4,0xe3,0x9c,0x8d,0x8e,0xb9,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x83,0x81,0x81,0xf2,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4c,0x4c,0x4c,0xfd,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x4e,0x43,0x44,0xcd,0x40,0x3a,0x3c,0xe5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9d,0x9b,0x9d,0xf4,0xba,0xb4,0xb6,0xe1,0x9e,0x8f,0x93,0xbd,0x80,0x6e,0x70,0xad,0x38,0x31,0x31,0xe3, + 0x9a,0x97,0x9a,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xac,0xa7,0xaa,0xea, + 0xa2,0x95,0x98,0xc2,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6,0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5, + 0x7a,0x68,0x6a,0xb1,0x2e,0x27,0x28,0xe1,0x95,0x92,0x95,0xf4,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb8,0xb2,0xb4,0xe3, + 0x9c,0x8d,0x8e,0xb9,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x82,0x80,0x81,0xf2,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4c,0x4c,0x4c,0xfd, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8b,0x77,0x79,0xa6,0x33,0x2c,0x2c,0xde,0x61,0x5d,0x5f,0xeb, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xa6,0xa2,0xa4,0xee,0xba,0xb4,0xb6,0xe1, + 0x92,0x7f,0x81,0xac,0x8d,0x79,0x7a,0xa5,0x3c,0x33,0x34,0xd9,0x85,0x82,0x84,0xf1,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xa2,0xa0,0xa1,0xf0,0xb0,0xa7,0xa9,0xd4,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6, + 0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5,0x86,0x73,0x74,0xaa,0x66,0x57,0x59,0xbe,0xa9,0xa3,0xa6,0xe7, + 0xad,0xa9,0xaa,0xe9,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0xa6,0xa2,0xa4,0xee,0xad,0xa9,0xaa,0xe9,0xad,0xa9,0xaa,0xe9,0xad,0xa9,0xaa,0xe9,0xad,0xa9,0xaa,0xe9, + 0xad,0xa9,0xaa,0xe9,0xad,0xa9,0xaa,0xe9,0xb9,0xb3,0xb5,0xe2,0x9c,0x8d,0x8e,0xb9,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x82,0x80,0x81,0xf2,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4c,0x4c,0x4c,0xfc,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x73,0x63,0x64,0xb5,0x2e,0x27,0x28,0xe1,0x83,0x7f,0x82,0xf1,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0xae,0xaa,0xac,0xe8,0xb2,0xa9,0xac,0xd8,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x57,0x4a,0x4b,0xc7, + 0x66,0x62,0x64,0xec,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9c,0x99,0x9c,0xf5, + 0xb8,0xb2,0xb4,0xe2,0x91,0x7e,0x80,0xaa,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6,0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x93,0x80,0x83,0xae,0x92,0x81,0x83,0xaf,0x3f,0x39,0x3a,0xe5,0x84,0x81,0x83,0xf1, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xad,0xa8,0xaa,0xea,0xae,0xa4,0xa6,0xd1, + 0x94,0x82,0x84,0xaf,0x94,0x82,0x84,0xaf,0x94,0x82,0x84,0xaf,0x94,0x82,0x84,0xaf,0x94,0x82,0x84,0xaf,0x94,0x82,0x84,0xaf, + 0x8e,0x7b,0x7d,0xa8,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x82,0x80,0x81,0xf2,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4c,0x4c,0x4c,0xfc, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x56,0x49,0x4b,0xc8,0x38,0x32,0x32,0xe3,0x9a,0x97,0x9a,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb7,0xb1,0xb3,0xe3,0xa7,0x9a,0x9b,0xc7, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x72,0x62,0x63,0xb6,0x48,0x42,0x44,0xe6,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xae,0xaa,0xac,0xe8,0x9e,0x8f,0x91,0xbc,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6, + 0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8b,0x78,0x7a,0xa6,0x2e,0x27,0x28,0xe1,0x80,0x7d,0x7f,0xf0,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0xad,0xa8,0xaa,0xea,0xac,0xa1,0xa3,0xce,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x82,0x80,0x81,0xf2,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4c,0x4c,0x4c,0xfc,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x3a,0x31,0x32,0xda,0x59,0x54,0x55,0xe9,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0xa1,0x9e,0xa0,0xf1,0xba,0xb4,0xb6,0xe1,0x99,0x88,0x8a,0xb5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x89,0x75,0x77,0xa7, + 0x32,0x2b,0x2c,0xe0,0x95,0x92,0x95,0xf4,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0xa6,0xa2,0xa4,0xee,0xac,0xa1,0xa4,0xcf,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6,0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8b,0x78,0x7a,0xa6,0x2e,0x27,0x28,0xe1,0x80,0x7d,0x7f,0xf0, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xad,0xa8,0xaa,0xea,0xac,0xa1,0xa3,0xce, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x83,0x80,0x81,0xf3,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4c,0x4c,0x4c,0xfc, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x7a,0x69,0x6b,0xb0,0x2e,0x27,0x28,0xe1,0x7a,0x77,0x78,0xef,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xaa,0xa6,0xa8,0xec,0xb8,0xb1,0xb4,0xdf,0x8e,0x7b,0x7c,0xa7, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x48,0x3e,0x3f,0xd0,0x78,0x75,0x76,0xef,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9c,0x9b,0x9c,0xf4,0xb8,0xb1,0xb4,0xe0,0x8e,0x7b,0x7d,0xa7, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6, + 0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8b,0x78,0x7a,0xa6,0x2e,0x27,0x28,0xe1,0x80,0x7d,0x7f,0xf0,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0xad,0xa8,0xaa,0xea,0xac,0xa1,0xa3,0xce,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x83,0x80,0x81,0xf3,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4b,0x4b,0x4b,0xfb,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x5e,0x51,0x52,0xc3, + 0x32,0x2c,0x2c,0xe2,0x97,0x95,0x97,0xf4,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0xb3,0xae,0xaf,0xe6,0xac,0xa2,0xa4,0xcf,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x63,0x55,0x56,0xbf,0x58,0x53,0x54,0xe9,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0xb2,0xad,0xaf,0xe7,0x9a,0x89,0x8c,0xb7,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6,0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8b,0x78,0x7a,0xa6,0x2e,0x27,0x28,0xe1,0x80,0x7d,0x7f,0xf0, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xad,0xa8,0xaa,0xea,0xac,0xa1,0xa3,0xce, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x83,0x80,0x81,0xf3,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4b,0x4b,0x4b,0xfb, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x41,0x38,0x39,0xd5,0x4f,0x4a,0x4c,0xe7,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9d,0x9b,0x9d,0xf4,0xba,0xb3,0xb6,0xe2,0x9f,0x91,0x93,0xbe,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x7e,0x6c,0x6e,0xaf,0x39,0x33,0x34,0xe3,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xa8,0xa4,0xa6,0xed,0xa8,0x9c,0x9f,0xca, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6, + 0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8b,0x78,0x7a,0xa6,0x2e,0x27,0x28,0xe1,0x80,0x7d,0x7f,0xf0,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0xad,0xa8,0xaa,0xea,0xac,0xa1,0xa3,0xce,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x83,0x80,0x81,0xf3,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4b,0x4b,0x4b,0xfb,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x83,0x70,0x72,0xab,0x2e,0x28,0x28,0xe1, + 0x71,0x6d,0x6e,0xed,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9c,0x9b,0x9c,0xf4, + 0xa3,0xa0,0xa2,0xf0,0x54,0x4b,0x4c,0xd4,0x48,0x3e,0x3f,0xd0,0x48,0x3e,0x3f,0xd0,0x48,0x3e,0x3f,0xd0,0x48,0x3e,0x3f,0xd0, + 0x48,0x3e,0x3f,0xd0,0x2e,0x28,0x28,0xe1,0x88,0x85,0x86,0xf2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9f,0x9c,0x9e,0xf3,0xb6,0xae,0xb0,0xdc,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6,0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8b,0x78,0x7a,0xa6,0x2e,0x27,0x28,0xe1,0x80,0x7d,0x7f,0xf0, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xad,0xa8,0xaa,0xea,0xac,0xa1,0xa3,0xce, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x83,0x80,0x80,0xf3,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4b,0x4b,0x4b,0xfb, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x67,0x58,0x59,0xbd,0x2f,0x28,0x29,0xe1,0x90,0x8d,0x90,0xf3,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x97,0x95,0x97,0xf5,0x97,0x95,0x97,0xf5, + 0x97,0x95,0x97,0xf5,0x97,0x95,0x97,0xf5,0x97,0x95,0x97,0xf5,0x97,0x95,0x97,0xf5,0x97,0x95,0x97,0xf5,0x9a,0x97,0x9a,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb4,0xae,0xb0,0xe5, + 0x96,0x85,0x88,0xb2,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6, + 0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8b,0x78,0x7a,0xa6,0x2e,0x27,0x28,0xe1,0x80,0x7d,0x7f,0xf0,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0xad,0xa8,0xaa,0xea,0xac,0xa1,0xa3,0xce,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x83,0x80,0x80,0xf3,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4b,0x4b,0x4b,0xfa,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x49,0x3e,0x40,0xd0,0x47,0x40,0x42,0xe6, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xaa,0xa6,0xa8,0xeb,0xa5,0x98,0x99,0xc5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6,0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8b,0x78,0x7a,0xa6,0x2e,0x27,0x28,0xe1,0x80,0x7d,0x7f,0xf0, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xad,0xa8,0xaa,0xea,0xac,0xa1,0xa3,0xce, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x83,0x80,0x80,0xf3,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4b,0x4b,0x4b,0xfa, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x88,0x75,0x77,0xa7,0x31,0x2a,0x2b,0xe0,0x67,0x63,0x64,0xec,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xa1,0x9e,0xa0,0xf1, + 0xb3,0xaa,0xac,0xd7,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6, + 0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8c,0x78,0x7a,0xa5,0x2e,0x27,0x28,0xe1,0x80,0x7d,0x7f,0xf0,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0xad,0xa8,0xaa,0xea,0xac,0xa1,0xa3,0xce,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x83,0x80,0x80,0xf3,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4b,0x4b,0x4b,0xfa,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x6e,0x5e,0x5f,0xb8,0x2e,0x27,0x28,0xe1,0x89,0x86,0x88,0xf2, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb6,0xb0,0xb2,0xe3,0x93,0x80,0x82,0xad,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6,0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x34,0x2d,0x2d,0xdd,0x7f,0x7c,0x7d,0xf0, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xa7,0xa3,0xa5,0xed,0xad,0xa3,0xa5,0xd0, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x83,0x80,0x80,0xf3,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4b,0x4b,0x4b,0xfa, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x51,0x46,0x47,0xcb,0x3c,0x37,0x37,0xe4,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0xad,0xa9,0xaa,0xe9,0xa1,0x92,0x94,0xbf,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6, + 0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x3d,0x35,0x35,0xd7,0x74,0x70,0x73,0xee,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9f,0x9c,0x9f,0xf2,0xb6,0xaf,0xb1,0xdd,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x83,0x80,0x80,0xf3,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4b,0x4b,0x4b,0xfa,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8c,0x78,0x7a,0xa5,0x35,0x2d,0x2e,0xdd,0x5e,0x59,0x5b,0xea,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9e,0x9b,0x9d,0xf3,0xb0,0xab,0xad,0xe8,0xb0,0xab,0xad,0xe8, + 0xb0,0xab,0xad,0xe8,0xb0,0xab,0xad,0xe8,0xb0,0xab,0xad,0xe8,0xb0,0xab,0xad,0xe8,0xb0,0xab,0xad,0xe8,0xb0,0xab,0xad,0xe8, + 0xb0,0xab,0xad,0xe8,0xb0,0xab,0xad,0xe8,0xaf,0xa9,0xac,0xe9,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xa4,0xa0,0xa3,0xef,0xb0,0xa5,0xa8,0xd2,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6,0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x48,0x3d,0x3e,0xd1,0x6a,0x65,0x67,0xec, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xa1,0x9e,0xa0,0xf1, + 0x6d,0x61,0x64,0xce,0x6b,0x5c,0x5e,0xba,0x6c,0x5d,0x5e,0xba,0x6c,0x5d,0x5e,0xba,0x7c,0x6a,0x6d,0xb0,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x83,0x80,0x80,0xf3,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4b,0x4b,0x4b,0xf9, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x76,0x65,0x67,0xb3, + 0x2e,0x27,0x28,0xe1,0x80,0x7d,0x7f,0xf0,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0xa6,0xa2,0xa5,0xee,0xba,0xb4,0xb6,0xe1,0x93,0x81,0x83,0xae,0x8f,0x7c,0x7e,0xa9,0x8f,0x7c,0x7e,0xa9,0x8f,0x7c,0x7e,0xa9, + 0x8f,0x7c,0x7e,0xa9,0x8f,0x7c,0x7e,0xa9,0x8f,0x7c,0x7e,0xa9,0x8f,0x7c,0x7e,0xa9,0x8f,0x7c,0x7e,0xa9,0x8f,0x7c,0x7e,0xa9, + 0x42,0x3a,0x3a,0xda,0x85,0x82,0x85,0xf2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9c,0x99,0x9c,0xf5,0xb8,0xb1,0xb4,0xe1,0x8f,0x7c,0x7e,0xa9,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6, + 0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x53,0x47,0x48,0xca,0x5e,0x59,0x5c,0xea,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x8b,0x88,0x8a,0xf2,0x71,0x6e,0x70,0xee, + 0x6f,0x6b,0x6b,0xed,0x8b,0x84,0x84,0xdc,0xa2,0x94,0x96,0xc1,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x83,0x80,0x80,0xf3,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4b,0x4b,0x4b,0xf9,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x5a,0x4c,0x4e,0xc6,0x35,0x2f,0x2f,0xe3,0x99,0x97,0x99,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xae,0xaa,0xac,0xe8,0xb1,0xa9,0xac,0xd7,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x57,0x4a,0x4b,0xc7,0x66,0x62,0x64,0xec,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb0,0xab,0xad,0xe8,0x9d,0x8e,0x91,0xbb, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6,0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x75,0x64,0x66,0xb4,0x4d,0x48,0x4a,0xe7, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xaa,0xa6,0xa8,0xec,0xb0,0xa7,0xa9,0xd4, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x83,0x81,0x81,0xf4,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4b,0x4b,0x4b,0xf9, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x3c,0x34,0x35,0xd8, + 0x55,0x50,0x51,0xe8,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0xb8,0xb2,0xb4,0xe3,0xa4,0x98,0x9a,0xc5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x72,0x62,0x63,0xb6,0x47,0x41,0x43,0xe6,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0xa6,0xa2,0xa5,0xee,0xac,0xa0,0xa3,0xcd,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6, + 0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x41,0x38,0x39,0xd6,0x8d,0x8b,0x8d,0xf3,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0xaa,0xa6,0xa8,0xec,0xb0,0xa7,0xa9,0xd4,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x83,0x81,0x81,0xf4,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4b,0x4b,0x4b,0xf9,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x7e,0x6c,0x6e,0xae,0x2e,0x27,0x28,0xe1,0x76,0x72,0x75,0xee,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xa2,0x9e,0xa1,0xf1,0xba,0xb4,0xb6,0xe1,0x98,0x87,0x8a,0xb4,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8a,0x76,0x78,0xa7,0x32,0x2b,0x2b,0xe0,0x94,0x91,0x94,0xf4, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9d,0x9b,0x9d,0xf4,0xb8,0xb0,0xb2,0xde, + 0x8e,0x7a,0x7c,0xa6,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6,0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x77,0x66,0x68,0xb3, + 0x64,0x5e,0x60,0xe5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xaa,0xa6,0xa8,0xec,0xb0,0xa7,0xa9,0xd4, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x83,0x81,0x81,0xf4,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x54,0x54,0x54,0xff,0x4a,0x4a,0x4a,0xf8, + 0x7e,0x7e,0x7e,0xf9,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x8c,0x7a,0x7b,0xaa,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x62,0x54,0x55,0xc1,0x30,0x2a,0x2b,0xe2, + 0x96,0x93,0x95,0xf4,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xaa,0xa6,0xa8,0xeb, + 0xb8,0xb0,0xb3,0xde,0x8e,0x7a,0x7c,0xa6,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x49,0x3e,0x40,0xd0,0x76,0x73,0x75,0xef,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0xb2,0xad,0xaf,0xe6,0x99,0x88,0x8a,0xb5,0x8d,0x79,0x7a,0xa5,0x73,0x63,0x64,0xb6, + 0x2e,0x28,0x28,0xe2,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0xb6,0xb0,0xb2,0xe5,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x87,0x74,0x76,0xaa,0x7f,0x77,0x7b,0xdc,0x9e,0x9b,0x9d,0xf3, + 0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5,0x9b,0x98,0x9b,0xf5, + 0x9b,0x98,0x9b,0xf5,0xaa,0xa6,0xa8,0xec,0xb0,0xa7,0xa9,0xd4,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x83,0x81,0x81,0xf6,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x53,0x53,0x53,0xff,0x4a,0x4a,0x4a,0xf8,0x66,0x66,0x66,0xc9,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x89,0x7b,0x7c,0xbb,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x7e,0x6c,0x6e,0xaf,0x85,0x78,0x7a,0xc2,0xb2,0xad,0xaf,0xe6,0xb2,0xad,0xaf,0xe6,0xb2,0xad,0xaf,0xe6, + 0xb2,0xad,0xaf,0xe6,0xb2,0xad,0xaf,0xe6,0xb8,0xb2,0xb4,0xe3,0xac,0xa1,0xa3,0xce,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x80,0x6d,0x6f,0xad,0x8d,0x80,0x82,0xc7, + 0xb2,0xad,0xaf,0xe6,0xb2,0xad,0xaf,0xe6,0xb2,0xad,0xaf,0xe6,0xb2,0xad,0xaf,0xe6,0xb2,0xad,0xaf,0xe6,0xb6,0xb0,0xb2,0xe3, + 0xa6,0x99,0x9d,0xc8,0x8d,0x79,0x7a,0xa5,0x87,0x73,0x75,0xa9,0x75,0x64,0x66,0xb5,0xb2,0xad,0xaf,0xe6,0xb2,0xad,0xaf,0xe6, + 0xb2,0xad,0xaf,0xe6,0xb2,0xad,0xaf,0xe6,0xb2,0xad,0xaf,0xe6,0xb9,0xb3,0xb5,0xe2,0xa0,0x92,0x94,0xbe,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x97,0x86,0x88,0xb2,0xa6,0x9a,0x9d,0xcb,0xa6,0x9d,0xa1,0xd7,0xac,0xa5,0xa7,0xe1, + 0xb1,0xac,0xae,0xe6,0xb2,0xad,0xaf,0xe6,0xb2,0xad,0xaf,0xe6,0xb2,0xad,0xaf,0xe6,0xb6,0xb1,0xb2,0xe4,0xb0,0xa7,0xa9,0xd4, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8c,0x79,0x7b,0xa9, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x81,0x81,0x81,0xff,0x4e,0x4e,0x4e,0xff,0x4a,0x4a,0x4a,0xf8, + 0x4b,0x4b,0x4b,0x94,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x8a,0x7f,0x80,0xd8,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8a,0x7a,0x7c,0xb7,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x79,0x79,0x79,0xff,0x4d,0x4d,0x4d,0xff,0x4a,0x4a,0x4a,0xf8,0x48,0x48,0x48,0xae,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x83,0x82,0x82,0xfb,0x8c,0x79,0x7b,0xab,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x86,0x7f,0x7f,0xde, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x71,0x71,0x71,0xff,0x4d,0x4d,0x4d,0xff,0x46,0x46,0x46,0xe8, + 0x25,0x25,0x25,0x6a,0x80,0x80,0x80,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x84,0x7f,0x7f,0xe7, + 0x8b,0x7a,0x7b,0xb0,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5,0x8d,0x79,0x7a,0xa5, + 0x8b,0x7a,0x7b,0xaf,0x85,0x7e,0x7f,0xdb,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x68,0x68,0x68,0xff,0x4d,0x4d,0x4d,0xff,0x39,0x39,0x39,0xc0,0x0a,0x0a,0x0a,0x23,0x66,0x66,0x66,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x81,0x80,0x81,0xfb,0x85,0x7f,0x80,0xe5,0x86,0x7d,0x7e,0xd7, + 0x88,0x7c,0x7d,0xca,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7, + 0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7, + 0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7, + 0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7, + 0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7, + 0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7, + 0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7, + 0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7, + 0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7, + 0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x89,0x7c,0x7d,0xc7,0x88,0x7c,0x7d,0xc6,0x88,0x7c,0x7d,0xc8, + 0x87,0x7d,0x7e,0xce,0x86,0x7d,0x7e,0xd4,0x85,0x7f,0x80,0xe6,0x81,0x81,0x81,0xfe,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x7b,0x7b,0x7b,0xff,0x51,0x51,0x51,0xff,0x4d,0x4d,0x4d,0xff,0x2d,0x2d,0x2d,0x98, + 0x00,0x00,0x00,0x00,0x46,0x46,0x46,0xe7,0x79,0x79,0x79,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x7d,0x7d,0x7d,0xff,0x54,0x54,0x54,0xff, + 0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x21,0x21,0x21,0x70,0x00,0x00,0x00,0x00,0x1c,0x1c,0x1c,0x5e,0x55,0x55,0x55,0xff, + 0x75,0x75,0x75,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x7f,0x7f,0x7f,0xff,0x57,0x57,0x57,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x48,0x48,0x48,0xf1,0x0c,0x0c,0x0c,0x28, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x39,0x39,0x39,0xbd,0x4d,0x4d,0x4d,0xff,0x60,0x60,0x60,0xff,0x7d,0x7d,0x7d,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff,0x82,0x82,0x82,0xff, + 0x82,0x82,0x82,0xff,0x76,0x76,0x76,0xff,0x62,0x62,0x62,0xff,0x50,0x50,0x50,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff, + 0x4a,0x4a,0x4a,0xf8,0x13,0x13,0x13,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0b,0x0b,0x0b,0x27, + 0x45,0x45,0x45,0xe6,0x4d,0x4d,0x4d,0xff,0x4e,0x4e,0x4e,0xff,0x57,0x57,0x57,0xff,0x5e,0x5e,0x5e,0xff,0x66,0x66,0x66,0xff, + 0x6d,0x6d,0x6d,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff, + 0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff, + 0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff, + 0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff, + 0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff, + 0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff, + 0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff, + 0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff, + 0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff, + 0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6e,0x6e,0x6e,0xff,0x6c,0x6c,0x6c,0xff, + 0x68,0x68,0x68,0xff,0x65,0x65,0x65,0xff,0x61,0x61,0x61,0xff,0x54,0x54,0x54,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff, + 0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4c,0x4c,0x4c,0xfc,0x18,0x18,0x18,0x51,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x03,0x0c,0x29,0x29,0x29,0x89,0x4b,0x4b,0x4b,0xf9, + 0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff, + 0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff, + 0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff, + 0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff, + 0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff, + 0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff, + 0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff, + 0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff, + 0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff, + 0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff, + 0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff, + 0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4c,0x4c,0x4c,0xfc,0x36,0x36,0x36,0xb4,0x15,0x15,0x15,0x46, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0b,0x0b,0x0b,0x25,0x25,0x25,0x25,0x7b,0x30,0x30,0x30,0xa1,0x3c,0x3c,0x3c,0xc8, + 0x47,0x47,0x47,0xee,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff, + 0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff, + 0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff, + 0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff, + 0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff, + 0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff, + 0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff, + 0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff, + 0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff, + 0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff,0x4d,0x4d,0x4d,0xff, + 0x4c,0x4c,0x4c,0xfd,0x47,0x47,0x47,0xec,0x42,0x42,0x42,0xdd,0x3e,0x3e,0x3e,0xce,0x38,0x38,0x38,0xbc,0x23,0x23,0x23,0x75, + 0x07,0x07,0x07,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00} +}; diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/images/red_icon.c b/tizen/distrib/remote/server/spice-0.12.2/client/x11/images/red_icon.c new file mode 100644 index 0000000..143d4e2 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/images/red_icon.c @@ -0,0 +1,275 @@ +static const struct { + int width; + int height; + uint8_t pixmap[4096]; + uint8_t mask[128]; +} _red_icon = { 32, 32, { + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0xd3,0xd3,0xd3,0x00,0x1a,0x1a,0x1a,0x07,0x1a,0x1a,0x1a,0x49, + 0x1a,0x1a,0x1a,0x98,0x1f,0x1f,0x1f,0xc2,0x2d,0x2d,0x2d,0xdd,0x34,0x34,0x34,0xf4, + 0x3c,0x3c,0x3c,0xf5,0x45,0x45,0x45,0xe0,0x4f,0x4f,0x4f,0xcc,0x5b,0x5b,0x5b,0xac, + 0x83,0x83,0x83,0x6d,0xe7,0xe7,0xe7,0x36,0xff,0xff,0xff,0x2c,0xff,0xff,0xff,0x27, + 0xff,0xff,0xff,0x1f,0xff,0xff,0xff,0x16,0xff,0xff,0xff,0x0a,0xff,0xff,0xff,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd3,0xd3,0xd3,0x00, + 0x1a,0x1a,0x1a,0x19,0x1a,0x1a,0x1a,0x97,0x1a,0x1a,0x1a,0xf2,0x1a,0x1a,0x1a,0xff, + 0x26,0x26,0x26,0xff,0x32,0x32,0x32,0xff,0x3d,0x3d,0x3d,0xff,0x47,0x47,0x47,0xff, + 0x4f,0x4f,0x4f,0xff,0x55,0x55,0x55,0xff,0x5a,0x5a,0x5a,0xff,0x5c,0x5c,0x5c,0xff, + 0x5c,0x5c,0x5c,0xff,0x5d,0x5d,0x5d,0xf6,0x71,0x71,0x71,0xb3,0xc9,0xc9,0xc9,0x51, + 0xff,0xff,0xff,0x35,0xff,0xff,0xff,0x2b,0xff,0xff,0xff,0x20,0xff,0xff,0xff,0x13, + 0xff,0xff,0xff,0x03,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1a,0x1a,0x1a,0x08,0x1a,0x1a,0x1a,0x84, + 0x1a,0x1a,0x1a,0xf5,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x28,0x28,0x28,0xff, + 0x37,0x37,0x37,0xff,0x43,0x43,0x43,0xff,0x4f,0x4f,0x4f,0xff,0x5a,0x5a,0x5a,0xff, + 0x63,0x63,0x63,0xff,0x6a,0x6a,0x6a,0xff,0x6f,0x6f,0x6f,0xff,0x72,0x72,0x72,0xff, + 0x72,0x72,0x72,0xff,0x70,0x70,0x70,0xff,0x6c,0x6c,0x6c,0xff,0x67,0x67,0x67,0xf8, + 0x80,0x80,0x80,0xa8,0xeb,0xeb,0xeb,0x46,0xff,0xff,0xff,0x33,0xff,0xff,0xff,0x25, + 0xff,0xff,0xff,0x16,0xff,0xff,0xff,0x04,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x1a,0x1a,0x1a,0x18,0x1a,0x1a,0x1a,0xc8,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x27,0x27,0x27,0xff,0x37,0x37,0x37,0xff, + 0x45,0x45,0x45,0xff,0x53,0x53,0x53,0xff,0x60,0x60,0x60,0xff,0x6c,0x6c,0x6c,0xff, + 0x76,0x76,0x76,0xff,0x7f,0x7f,0x7f,0xff,0x84,0x84,0x84,0xff,0x88,0x88,0x88,0xff, + 0x88,0x88,0x88,0xff,0x86,0x86,0x86,0xff,0x80,0x80,0x80,0xff,0x79,0x79,0x79,0xff, + 0x6f,0x6f,0x6f,0xff,0x71,0x71,0x71,0xda,0xd1,0xd1,0xd1,0x57,0xff,0xff,0xff,0x36, + 0xff,0xff,0xff,0x26,0xff,0xff,0xff,0x15,0xff,0xff,0xff,0x02,0xff,0xff,0xff,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x1a,0x1a,0x1a,0x2d,0x1a,0x1a,0x1a,0xe3,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x21,0x21,0x21,0xff,0x32,0x32,0x32,0xff,0x42,0x42,0x42,0xff, + 0x53,0x53,0x53,0xff,0x62,0x62,0x62,0xff,0x6f,0x6f,0x6f,0xff,0x7d,0x7d,0x7d,0xff, + 0x88,0x88,0x88,0xff,0x92,0x92,0x92,0xff,0x9a,0x9a,0x9a,0xff,0x9d,0x9d,0x9d,0xff, + 0x9e,0x9e,0x9e,0xff,0x9b,0x9b,0x9b,0xff,0x95,0x95,0x95,0xff,0x8c,0x8c,0x8c,0xff, + 0x81,0x81,0x81,0xff,0x75,0x75,0x75,0xff,0x6c,0x6c,0x6c,0xec,0xb5,0xb5,0xb5,0x66, + 0xff,0xff,0xff,0x34,0xff,0xff,0xff,0x22,0xff,0xff,0xff,0x10,0xff,0xff,0xff,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1a,0x1a,0x1a,0x18, + 0x1a,0x1a,0x1a,0xe3,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x2a,0x2a,0x2a,0xff,0x3c,0x3c,0x3c,0xff,0x4d,0x4d,0x4d,0xff, + 0x5d,0x5d,0x5d,0xff,0x6e,0x6e,0x6e,0xff,0x7e,0x7e,0x7e,0xff,0x8c,0x8c,0x8c,0xff, + 0x9a,0x9a,0x9a,0xff,0xa5,0xa5,0xa5,0xff,0xae,0xae,0xae,0xff,0xb3,0xb3,0xb3,0xff, + 0xb4,0xb4,0xb4,0xff,0xb0,0xb0,0xb0,0xff,0xa9,0xa9,0xa9,0xff,0x9e,0x9e,0x9e,0xff, + 0x91,0x91,0x91,0xff,0x83,0x83,0x83,0xff,0x74,0x74,0x74,0xff,0x6a,0x6a,0x6a,0xec, + 0xcd,0xcd,0xcd,0x52,0xff,0xff,0xff,0x2d,0xff,0xff,0xff,0x1a,0xff,0xff,0xff,0x05, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1a,0x1a,0x1a,0x08,0x1a,0x1a,0x1a,0xc8, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1e,0x1e,0x1e,0xff,0x31,0x31,0x31,0xff,0x43,0x43,0x43,0xff,0x55,0x55,0x55,0xff, + 0x66,0x66,0x66,0xff,0x77,0x77,0x77,0xff,0x88,0x88,0x88,0xff,0x99,0x99,0x99,0xff, + 0xa9,0xa9,0xa9,0xff,0xb6,0xb6,0xb6,0xff,0xc1,0xc1,0xc1,0xff,0xc8,0xc8,0xc8,0xff, + 0xca,0xca,0xca,0xff,0xc5,0xc5,0xc5,0xff,0xbb,0xbb,0xbb,0xff,0xae,0xae,0xae,0xff, + 0x9f,0x9f,0x9f,0xff,0x8f,0x8f,0x8f,0xff,0x7e,0x7e,0x7e,0xff,0x6d,0x6d,0x6d,0xff, + 0x67,0x67,0x67,0xd8,0xe7,0xe7,0xe7,0x3b,0xff,0xff,0xff,0x21,0xff,0xff,0xff,0x0d, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1a,0x1a,0x1a,0x84,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x23,0x23,0x23,0xff,0x36,0x36,0x36,0xff,0x48,0x48,0x48,0xff,0x5b,0x5b,0x5b,0xff, + 0x6d,0x6d,0x6d,0xff,0x7f,0x7f,0x7f,0xff,0x91,0x91,0x91,0xff,0xa3,0xa3,0xa3,0xff, + 0xb4,0xb4,0xb4,0xff,0xc4,0xc4,0xc4,0xff,0xd3,0xd3,0xd3,0xff,0xde,0xde,0xde,0xff, + 0xe0,0xe0,0xe0,0xff,0xd7,0xd7,0xd7,0xff,0xca,0xca,0xca,0xff,0xba,0xba,0xba,0xff, + 0xa9,0xa9,0xa9,0xff,0x98,0x98,0x98,0xff,0x86,0x86,0x86,0xff,0x73,0x73,0x73,0xff, + 0x61,0x61,0x61,0xff,0x6e,0x6e,0x6e,0xa0,0xff,0xff,0xff,0x27,0xff,0xff,0xff,0x12, + 0x00,0x00,0x00,0x00,0x1a,0x1a,0x1a,0x19,0x1a,0x1a,0x1a,0xf5,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x26,0x26,0x26,0xff,0x3e,0x3e,0x41,0xff,0x5f,0x5f,0x65,0xff,0x5d,0x5d,0x5d,0xff, + 0x6f,0x6f,0x6f,0xff,0x82,0x82,0x82,0xff,0x9b,0x9f,0x9b,0xff,0xad,0xae,0xad,0xff, + 0xba,0xba,0xba,0xff,0xcc,0xcc,0xcc,0xff,0xdf,0xdf,0xdf,0xff,0xf0,0xf0,0xf0,0xff, + 0xf6,0xf6,0xf6,0xff,0xe5,0xe5,0xe5,0xff,0xd3,0xd3,0xd3,0xff,0xc1,0xc1,0xc1,0xff, + 0xae,0xae,0xae,0xff,0x9b,0x9b,0x9b,0xff,0x89,0x89,0x89,0xff,0x76,0x76,0x76,0xff, + 0x65,0x65,0x65,0xff,0x53,0x53,0x53,0xf7,0xb1,0xb1,0xb1,0x3e,0xff,0xff,0xff,0x14, + 0x00,0x00,0x00,0x00,0x1a,0x1a,0x1a,0x97,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x25,0x25,0x25,0xff,0x6a,0x6a,0x86,0xff,0xa7,0xa7,0xc0,0xff,0x5e,0x5e,0x5f,0xff, + 0x6f,0x6f,0x6f,0xff,0x82,0x82,0x82,0xff,0xb0,0xc4,0xb0,0xff,0xcc,0xd5,0xcc,0xff, + 0xb9,0xb9,0xb9,0xff,0xcc,0xcc,0xcc,0xff,0xdd,0xdd,0xdd,0xff,0xf1,0xf0,0xf0,0xff, + 0xfe,0xfb,0xfb,0xff,0xe6,0xe5,0xe5,0xff,0xd2,0xd2,0xd2,0xff,0xc0,0xc0,0xc0,0xff, + 0xae,0xae,0xae,0xff,0x9b,0x9b,0x9b,0xff,0x88,0x88,0x88,0xff,0x76,0x76,0x76,0xff, + 0x64,0x64,0x64,0xff,0x52,0x52,0x52,0xff,0x52,0x52,0x52,0xa8,0xff,0xff,0xff,0x14, + 0x1a,0x1a,0x1a,0x07,0x1a,0x1a,0x1a,0xf2,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x27,0x27,0x2f,0xff,0x9a,0x9a,0xe3,0xff,0xca,0xca,0xff,0xff,0x84,0x84,0x8f,0xff, + 0x6c,0x6c,0x6c,0xff,0x7f,0x8a,0x7f,0xff,0xc1,0xf6,0xc1,0xff,0xe2,0xfe,0xe2,0xff, + 0xc0,0xc3,0xc0,0xff,0xc2,0xc2,0xc2,0xff,0xd0,0xd0,0xd0,0xff,0xf2,0xe8,0xe8,0xff, + 0xff,0xf4,0xf4,0xff,0xee,0xe8,0xe8,0xff,0xc8,0xc8,0xc8,0xff,0xb8,0xb8,0xb8,0xff, + 0xa8,0xa8,0xa8,0xff,0x96,0x96,0x96,0xff,0x85,0x85,0x85,0xff,0x73,0x73,0x73,0xff, + 0x61,0x61,0x61,0xff,0x4e,0x4e,0x4e,0xff,0x3e,0x3e,0x3e,0xf4,0xbf,0xbf,0xbf,0x18, + 0x1a,0x1a,0x1a,0x49,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x3e,0x3e,0x7a,0xff,0x9b,0x9b,0xff,0xff,0xbb,0xbb,0xff,0xff,0xc2,0xc2,0xe5,0xff, + 0x6f,0x6f,0x72,0xff,0x7e,0xb6,0x7e,0xff,0xb4,0xff,0xb4,0xff,0xd3,0xff,0xd3,0xff, + 0xda,0xe8,0xda,0xff,0xb5,0xb5,0xb5,0xff,0xce,0xc4,0xc4,0xff,0xff,0xe3,0xe3,0xff, + 0xff,0xe9,0xe9,0xff,0xff,0xed,0xed,0xff,0xcb,0xc6,0xc6,0xff,0xab,0xab,0xab,0xff, + 0x9d,0x9d,0x9d,0xff,0x8d,0x8d,0x8d,0xff,0x7d,0x7d,0x7d,0xff,0x6c,0x6c,0x6c,0xff, + 0x5b,0x5b,0x5b,0xff,0x49,0x49,0x49,0xff,0x37,0x37,0x37,0xff,0x3b,0x3b,0x3b,0x51, + 0x1a,0x1a,0x1a,0x98,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x2a,0xff, + 0x5a,0x5a,0xe5,0xff,0x88,0x88,0xff,0xff,0xaa,0xaa,0xff,0xff,0xc7,0xc7,0xff,0xff, + 0x9b,0xa1,0xac,0xff,0x73,0xf5,0x73,0xff,0x9e,0xff,0x9e,0xff,0xc0,0xff,0xc0,0xff, + 0xdd,0xff,0xdd,0xff,0xc0,0xc6,0xc0,0xff,0xe4,0xbc,0xbc,0xff,0xff,0xd2,0xd2,0xff, + 0xff,0xda,0xda,0xff,0xff,0xe1,0xe1,0xff,0xee,0xdb,0xdb,0xff,0xa0,0x9e,0x9e,0xff, + 0x8f,0x8f,0x8f,0xff,0x81,0x81,0x81,0xff,0x72,0x72,0x72,0xff,0x62,0x62,0x62,0xff, + 0x52,0x52,0x52,0xff,0x41,0x41,0x41,0xff,0x30,0x30,0x30,0xff,0x1f,0x1f,0x1f,0x99, + 0x1a,0x1a,0x1a,0xc1,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x22,0x22,0x7d,0xff, + 0x53,0x53,0xff,0xff,0x72,0x72,0xff,0xff,0x96,0x96,0xff,0xff,0xb7,0xb7,0xff,0xff, + 0xd0,0xd0,0xfc,0xff,0x74,0xd2,0x7c,0xff,0x84,0xff,0x84,0xff,0xaa,0xff,0xaa,0xff, + 0xca,0xff,0xca,0xff,0xde,0xf5,0xdd,0xff,0xec,0xb4,0xb2,0xff,0xff,0xbe,0xbe,0xff, + 0xff,0xc8,0xc8,0xff,0xff,0xd1,0xd1,0xff,0xff,0xda,0xda,0xff,0xbe,0xb1,0xb1,0xff, + 0x7f,0x7f,0x7f,0xff,0x72,0x72,0x72,0xff,0x65,0x65,0x65,0xff,0x56,0x56,0x56,0xff, + 0x47,0x47,0x47,0xff,0x37,0x37,0x37,0xff,0x26,0x26,0x26,0xff,0x1a,0x1a,0x1a,0xc1, + 0x1a,0x1a,0x1a,0xda,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x15,0x15,0x2c,0xff,0x24,0x24,0xe9,0xff, + 0x42,0x42,0xff,0xff,0x5f,0x5f,0xff,0xff,0x81,0x81,0xff,0xff,0xa3,0xa3,0xff,0xff, + 0xc1,0xc1,0xff,0xff,0xb1,0xc6,0xcb,0xff,0x67,0xf1,0x68,0xff,0x8e,0xff,0x8e,0xff, + 0xb2,0xff,0xb2,0xff,0xd1,0xff,0xd1,0xff,0xda,0xd0,0xc3,0xff,0xfc,0xa4,0xa4,0xff, + 0xff,0xb3,0xb3,0xff,0xff,0xbe,0xbe,0xff,0xff,0xc9,0xc9,0xff,0xfa,0xd2,0xd2,0xff, + 0x82,0x7d,0x7d,0xff,0x62,0x62,0x62,0xff,0x55,0x55,0x55,0xff,0x48,0x48,0x48,0xff, + 0x3a,0x3a,0x3a,0xff,0x2b,0x2b,0x2b,0xff,0x1b,0x1b,0x1b,0xff,0x1a,0x1a,0x1a,0xda, + 0x1a,0x1a,0x1a,0xf3,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x08,0x08,0x82,0xff,0x16,0x16,0xff,0xff, + 0x32,0x32,0xff,0xff,0x4e,0x4e,0xff,0xff,0x6a,0x6a,0xff,0xff,0x8c,0x8c,0xff,0xff, + 0xad,0xad,0xff,0xff,0xc9,0xc9,0xff,0xff,0x7c,0xc3,0x8a,0xff,0x6e,0xff,0x6e,0xff, + 0x96,0xff,0x96,0xff,0xba,0xff,0xba,0xff,0xda,0xff,0xda,0xff,0xd8,0xa2,0x9b,0xff, + 0xff,0x99,0x99,0xff,0xff,0xa7,0xa7,0xff,0xff,0xb5,0xb5,0xff,0xff,0xc2,0xc2,0xff, + 0xc7,0xa7,0xa7,0xff,0x52,0x52,0x52,0xff,0x45,0x45,0x45,0xff,0x39,0x39,0x39,0xff, + 0x2c,0x2c,0x2c,0xff,0x1c,0x1c,0x1c,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xf3, + 0x1a,0x1a,0x1a,0xf3,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x13,0x13,0x2e,0xff,0x01,0x01,0xee,0xff,0x05,0x05,0xff,0xff, + 0x21,0x21,0xff,0xff,0x3d,0x3d,0xff,0xff,0x59,0x59,0xff,0xff,0x75,0x75,0xff,0xff, + 0x96,0x96,0xff,0xff,0xb6,0xb6,0xff,0xff,0xc1,0xc6,0xea,0xff,0x57,0xd9,0x5c,0xff, + 0x75,0xff,0x75,0xff,0x9d,0xff,0x9d,0xff,0xc2,0xff,0xc2,0xff,0xd5,0xde,0xc9,0xff, + 0xec,0x7f,0x7d,0xff,0xff,0x8d,0x8d,0xff,0xff,0x9d,0x9d,0xff,0xff,0xac,0xac,0xff, + 0xff,0xbc,0xbc,0xff,0x7b,0x6a,0x6a,0xff,0x34,0x34,0x34,0xff,0x28,0x28,0x28,0xff, + 0x1b,0x1b,0x1b,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xf3, + 0x1a,0x1a,0x1a,0xda,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x08,0x08,0x87,0xff,0x00,0x00,0xff,0xff,0x00,0x00,0xff,0xff, + 0x10,0x10,0xff,0xff,0x2d,0x2d,0xff,0xff,0x49,0x49,0xff,0xff,0x65,0x65,0xff,0xff, + 0x81,0x81,0xff,0xff,0x9e,0x9e,0xff,0xff,0xbd,0xbd,0xff,0xff,0x88,0xb6,0xa1,0xff, + 0x4d,0xfc,0x4d,0xff,0x7c,0xff,0x7c,0xff,0xa5,0xff,0xa5,0xff,0xcc,0xff,0xcc,0xff, + 0xc6,0x9d,0x90,0xff,0xff,0x70,0x70,0xff,0xff,0x82,0x82,0xff,0xff,0x93,0x93,0xff, + 0xff,0xa5,0xa5,0xff,0xe0,0xa3,0xa3,0xff,0x2e,0x2a,0x2a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xda, + 0x1a,0x1a,0x1a,0xc1,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x13,0x13,0x32,0xff,0x00,0x00,0xf0,0xff,0x00,0x00,0xff,0xff,0x00,0x00,0xff,0xff, + 0x00,0x00,0xff,0xff,0x1c,0x1c,0xff,0xff,0x38,0x38,0xff,0xff,0x54,0x54,0xff,0xff, + 0x70,0x70,0xff,0xff,0x8d,0x8d,0xff,0xff,0xa9,0xa9,0xff,0xff,0xc4,0xc4,0xfe,0xff, + 0x4c,0xbc,0x59,0xff,0x55,0xff,0x55,0xff,0x83,0xff,0x83,0xff,0xaf,0xff,0xaf,0xff, + 0xd2,0xf5,0xd1,0xff,0xd1,0x61,0x5d,0xff,0xff,0x63,0x63,0xff,0xff,0x75,0x75,0xff, + 0xff,0x8a,0x8a,0xff,0xff,0xa0,0xa0,0xff,0x8c,0x67,0x67,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xc1, + 0x1a,0x1a,0x1a,0x98,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x08,0x08,0x8c,0xff,0x00,0x00,0xff,0xff,0x00,0x00,0xff,0xff,0x00,0x00,0xff,0xff, + 0x00,0x00,0xff,0xff,0x0b,0x0b,0xff,0xff,0x27,0x27,0xff,0xff,0x44,0x44,0xff,0xff, + 0x60,0x60,0xff,0xff,0x7c,0x7c,0xff,0xff,0x98,0x98,0xff,0xff,0xb4,0xb4,0xff,0xff, + 0xa5,0xb8,0xc9,0xff,0x34,0xe3,0x37,0xff,0x60,0xff,0x60,0xff,0x8e,0xff,0x8e,0xff, + 0xbd,0xff,0xbd,0xff,0xbc,0xb0,0x98,0xff,0xf5,0x44,0x44,0xff,0xff,0x5e,0x5e,0xff, + 0xff,0x76,0x76,0xff,0xff,0x8e,0x8e,0xff,0xfd,0xa5,0xa5,0xff,0x46,0x38,0x38,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0x98, + 0x1a,0x1a,0x1a,0x49,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x12,0x12,0x34,0xff, + 0x00,0x00,0xdd,0xff,0x00,0x00,0xe9,0xff,0x00,0x00,0xe9,0xff,0x00,0x00,0xea,0xff, + 0x00,0x00,0xea,0xff,0x00,0x00,0xeb,0xff,0x15,0x15,0xeb,0xff,0x2f,0x2f,0xec,0xff, + 0x49,0x49,0xed,0xff,0x63,0x63,0xed,0xff,0x7e,0x7e,0xee,0xff,0x98,0x98,0xee,0xff, + 0xb4,0xb4,0xef,0xff,0x5f,0xa4,0x72,0xff,0x45,0xfd,0x45,0xff,0x75,0xfe,0x75,0xff, + 0xa3,0xfe,0xa3,0xff,0xd2,0xff,0xd2,0xff,0xa9,0x67,0x5b,0xff,0xd5,0x40,0x40,0xff, + 0xd5,0x54,0x54,0xff,0xd7,0x69,0x69,0xff,0xd9,0x7e,0x7e,0xff,0x9d,0x6c,0x6c,0xff, + 0x1d,0x1c,0x1c,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0x49, + 0x1a,0x1a,0x1a,0x07,0x1a,0x1a,0x1a,0xf2,0x1a,0x1a,0x1a,0xff,0x19,0x19,0x19,0xff, + 0x18,0x18,0x18,0xff,0x17,0x17,0x18,0xff,0x17,0x17,0x18,0xff,0x17,0x17,0x19,0xff, + 0x14,0x1a,0x16,0xff,0x12,0x1e,0x15,0xff,0x12,0x1f,0x15,0xff,0x13,0x1e,0x16,0xff, + 0x13,0x20,0x16,0xff,0x13,0x1f,0x15,0xff,0x14,0x21,0x16,0xff,0x14,0x22,0x16,0xff, + 0x14,0x22,0x16,0xff,0x14,0x22,0x15,0xff,0x16,0x24,0x16,0xff,0x1a,0x25,0x1a,0xff, + 0x1d,0x25,0x1d,0xff,0x20,0x25,0x20,0xff,0x1f,0x21,0x1f,0xff,0x19,0x19,0x19,0xff, + 0x19,0x19,0x19,0xff,0x19,0x19,0x19,0xff,0x18,0x18,0x18,0xff,0x18,0x18,0x18,0xff, + 0x19,0x19,0x19,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xf2,0x1a,0x1a,0x1a,0x07, + 0x00,0x00,0x6e,0x00,0x1a,0x1a,0x1a,0x97,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0x97,0xd3,0xd3,0xd3,0x00, + 0x00,0x00,0x00,0x00,0x1a,0x1a,0x1a,0x19,0x1a,0x1a,0x1a,0xf5,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xf5,0x1a,0x1a,0x1a,0x19,0xff,0xff,0xff,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x4c,0x00,0x1a,0x1a,0x1a,0x84,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0x84,0xd3,0xd3,0xd3,0x00,0x98,0x88,0x88,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x1a,0x1a,0x1a,0x08,0x1a,0x1a,0x1a,0xc8, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xc8,0x1a,0x1a,0x1a,0x08,0xa4,0x6d,0x6d,0x00,0x73,0x58,0x58,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1a,0x1a,0x1a,0x18, + 0x1a,0x1a,0x1a,0xe3,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xe3, + 0x1a,0x1a,0x1a,0x18,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x1a,0x1a,0x1a,0x2d,0x1a,0x1a,0x1a,0xe3,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xe3,0x1a,0x1a,0x1a,0x2d, + 0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x1a,0x1a,0x1a,0x18,0x1a,0x1a,0x1a,0xc8,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xc8,0x1a,0x1a,0x1a,0x18,0xff,0xff,0xff,0x00, + 0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1a,0x1a,0x1a,0x08,0x1a,0x1a,0x1a,0x84, + 0x1a,0x1a,0x1a,0xf5,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xf5, + 0x1a,0x1a,0x1a,0x84,0x1a,0x1a,0x1a,0x08,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00, + 0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x1a,0x1a,0x1a,0x19,0x1a,0x1a,0x1a,0x97,0x1a,0x1a,0x1a,0xf2,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xff, + 0x1a,0x1a,0x1a,0xff,0x1a,0x1a,0x1a,0xf2,0x1a,0x1a,0x1a,0x97,0x1a,0x1a,0x1a,0x19, + 0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1a,0x1a,0x1a,0x07,0x1a,0x1a,0x1a,0x49, + 0x1a,0x1a,0x1a,0x98,0x1a,0x1a,0x1a,0xc1,0x1a,0x1a,0x1a,0xda,0x1a,0x1a,0x1a,0xf3, + 0x1a,0x1a,0x1a,0xf3,0x1a,0x1a,0x1a,0xda,0x1a,0x1a,0x1a,0xc1,0x1a,0x1a,0x1a,0x98, + 0x1a,0x1a,0x1a,0x49,0x1a,0x1a,0x1a,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, + + {0x00,0x0f,0xf0,0x00,0x00,0x7f,0xfe,0x00,0x01,0xff,0xff,0x80, + 0x03,0xff,0xff,0xc0,0x07,0xff,0xff,0xe0,0x0f,0xff,0xff,0xf0, + 0x1f,0xff,0xff,0xf8,0x3f,0xff,0xff,0xfc,0x3f,0xff,0xff,0xfc, + 0x7f,0xff,0xff,0xfe,0x7f,0xff,0xff,0xfe,0x7f,0xff,0xff,0xfe, + 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, + 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, + 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x7f,0xff,0xff,0xfe, + 0x7f,0xff,0xff,0xfe,0x7f,0xff,0xff,0xfe,0x3f,0xff,0xff,0xfc, + 0x3f,0xff,0xff,0xfc,0x1f,0xff,0xff,0xf8,0x0f,0xff,0xff,0xf0, + 0x07,0xff,0xff,0xe0,0x03,0xff,0xff,0xc0,0x01,0xff,0xff,0x80, + 0x00,0x7f,0xfe,0x00,0x00,0x0f,0xf0,0x00} +}; diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/main.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/x11/main.cpp new file mode 100644 index 0000000..f95b3a2 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/main.cpp @@ -0,0 +1,51 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "application.h" + +static void cleanup() +{ + spice_log_cleanup(); +} + +const char * version_str = VERSION; + +int main(int argc, char** argv) +{ + int exit_val; + + atexit(cleanup); + try { + exit_val = Application::main(argc, argv, version_str); + LOG_INFO("Spice client terminated (exitcode = %d)", exit_val); + } catch (Exception& e) { + LOG_ERROR("unhandled exception: %s", e.what()); + exit_val = e.get_error_code(); + } catch (std::exception& e) { + LOG_ERROR("unhandled exception: %s", e.what()); + exit_val = SPICEC_ERROR_CODE_ERROR; + } catch (...) { + LOG_ERROR("unhandled exception"); + exit_val = SPICEC_ERROR_CODE_ERROR; + } + + return exit_val; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/named_pipe.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/x11/named_pipe.cpp new file mode 100644 index 0000000..ad6b2e5 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/named_pipe.cpp @@ -0,0 +1,170 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <sys/types.h> +#include <sys/socket.h> +#include <sys/un.h> +#include "named_pipe.h" +#include "utils.h" +#include "debug.h" + +Session::Session(int fd, ProcessLoop& events_loop) + : _fd_client(fd) + , _events_loop(events_loop) +{ +} + +void Session::on_event() +{ + _conn_interface->on_data(); +} + +void Session::bind(NamedPipe::ConnectionInterface* conn_interface) +{ + _conn_interface = conn_interface; + _events_loop.add_socket(*this); +} + +Session::~Session() +{ + _events_loop.remove_socket(*this); + close(_fd_client); +} + +int32_t Session::write(const uint8_t *buf, int32_t size) +{ + const uint8_t *pos = buf; + + while (size) { + int now; + if ((now = send(_fd_client, (char *)pos, size, 0)) == -1) { + if (errno == EAGAIN) { + break; + } + if (errno == EINTR) { + continue; + } + DBG(0, "send error errno=%d, %s", errno, strerror(errno)); + return -1; + } + size -= now; + pos += now; + } + return (pos - buf); +} + +int32_t Session::read(uint8_t *buf, int32_t size) +{ + uint8_t *pos = buf; + while (size) { + int now; + if ((now = recv(_fd_client, (char *)pos, size, 0)) <= 0) { + if (now == 0) { + DBG(0, "read error, connection shutdown"); + return -1; + } + if (errno == EAGAIN) { + break; + } + if (errno == EINTR) { + continue; + } + DBG(0, "read error errno=%d, %s", errno, strerror(errno)); + return -1; + } + size -= now; + pos += now; + } + return (pos - buf); +} + +int LinuxListener::create_socket(const char *socket_name) +{ + int listen_socket; + struct sockaddr_un local; + + if ((listen_socket = socket(AF_UNIX, SOCK_STREAM, 0)) == -1) { + DBG(0, "create socket error, errno=%d, %s", errno, strerror(errno)); + return -1; + } + + _name = socket_name; + + local.sun_family = AF_UNIX; + strcpy(local.sun_path, socket_name); + unlink(local.sun_path); + if (bind(listen_socket, (struct sockaddr *)&local, + strlen(local.sun_path) + sizeof(local.sun_family)) == -1) { + DBG(0, "bind error, errno=%d, %s", errno, strerror(errno)); + return -1; + } + if (listen(listen_socket, 10) == -1) { + DBG(0, "listen error, errno=%d, %s", errno, strerror(errno)); + return -1; + } + return listen_socket; +} + +LinuxListener::LinuxListener(const char *name, NamedPipe::ListenerInterface &listener_interface, + ProcessLoop& events_loop) + : _listener_interface (listener_interface) + , _events_loop (events_loop) +{ + _listen_socket = create_socket(name); + if (_listen_socket <= 0) { + THROW("Listener creation failed %d", _listen_socket); + } + _events_loop.add_socket(*this); + + DBG(0, "listening socket - %s, added to events_loop", name); +} + +LinuxListener::~LinuxListener() +{ + _events_loop.remove_socket(*this); + close(_listen_socket); + unlink(_name.c_str()); +} + +void LinuxListener::on_event() +{ + for (;;) { + int fd_client; + Session *conn; + struct sockaddr_un remote; + socklen_t len = sizeof(remote); + + if ((fd_client = accept(_listen_socket, (struct sockaddr *)&remote, &len)) == -1) { + if (errno == EAGAIN) { + break; + } + if (errno == EINTR) { + continue; + } + THROW("errno=%d, %s", errno, strerror(errno)); + } + + conn = new Session(fd_client, _events_loop); + DBG(0, "New connection created, fd: %d", fd_client); + NamedPipe::ConnectionInterface &conn_interface = _listener_interface.create(); + conn->bind(&conn_interface); + conn_interface.bind((NamedPipe::ConnectionRef)conn); + } +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/named_pipe.h b/tizen/distrib/remote/server/spice-0.12.2/client/x11/named_pipe.h new file mode 100644 index 0000000..379cbff --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/named_pipe.h @@ -0,0 +1,61 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_NAMED_PIPE +#define _H_NAMED_PIPE + +#include "platform.h" +#include "x_platform.h" +#include "process_loop.h" + +class Session: public EventSources::Socket { +public: + Session(int fd, ProcessLoop& events_loop); + virtual ~Session(); + void bind(NamedPipe::ConnectionInterface* conn_interface); + +public: + virtual void on_event(); + virtual int get_socket() {return _fd_client;} + int32_t write(const uint8_t *buf, int32_t size); + int32_t read(uint8_t *buf, int32_t size); + +private: + NamedPipe::ConnectionInterface *_conn_interface; + int _fd_client; + ProcessLoop &_events_loop; +}; + +class LinuxListener: public EventSources::Socket { +public: + LinuxListener(const char *name, NamedPipe::ListenerInterface &listener_interface, + ProcessLoop& events_loop); + virtual ~LinuxListener(); + void on_event(); + virtual int get_socket() {return _listen_socket;} + +private: + int create_socket(const char *socket_name); + +private: + NamedPipe::ListenerInterface &_listener_interface; + int _listen_socket; + std::string _name; + ProcessLoop &_events_loop; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/pixels_source.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/x11/pixels_source.cpp new file mode 100644 index 0000000..71ea9ff --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/pixels_source.cpp @@ -0,0 +1,108 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "x_platform.h" +#include "pixels_source.h" +#include "pixels_source_p.h" +#include "utils.h" +#include "debug.h" +#include "res.h" + + +static void create_pixmap(const PixmapHeader* pixmap, PixelsSource_p& pixels_source, + pixman_format_code_t format) +{ + pixman_image_t *pixman_image; + + pixman_image = pixman_image_create_bits(format, + pixmap->width, pixmap->height, + (uint32_t *)pixmap->data, + pixmap->stride); + if (pixman_image == NULL) { + THROW("surf create failed"); + } + + pixels_source.type = PIXELS_SOURCE_TYPE_PIXMAP; + pixels_source.pixmap.pixman_image = pixman_image; + pixels_source.pixmap.x_image = NULL; + pixels_source.pixmap.shminfo = NULL; + if (format == PIXMAN_a8r8g8b8) { + pixels_source.pixmap.format = RedDrawable::ARGB32; + } else { + pixels_source.pixmap.format = RedDrawable::RGB32; + } +} + +PixelsSource::PixelsSource() +{ + _origin.x = _origin.y = 0; + memset(_opaque, 0, sizeof(_opaque)); +} + +PixelsSource::~PixelsSource() +{ +} + +ImageFromRes::ImageFromRes(int res_id) +{ + const PixmapHeader* pixmap = res_get_image(res_id); + if (!pixmap) { + THROW("no image %d", res_id); + } + create_pixmap(pixmap, *(PixelsSource_p*)get_opaque(), PIXMAN_x8r8g8b8); +} + +ImageFromRes::~ImageFromRes() +{ + pixman_image_unref(((PixelsSource_p*)get_opaque())->pixmap.pixman_image); +} + +SpicePoint ImageFromRes::get_size() +{ + pixman_image_t *image = ((PixelsSource_p*)get_opaque())->pixmap.pixman_image; + SpicePoint pt; + pt.x = pixman_image_get_width(image); + pt.y = pixman_image_get_height(image); + return pt; +} + +AlphaImageFromRes::AlphaImageFromRes(int res_id) +{ + const PixmapHeader* pixmap = res_get_image(res_id); + if (!pixmap) { + THROW("no image %d", res_id); + } + create_pixmap(pixmap, *(PixelsSource_p*)get_opaque(), PIXMAN_a8r8g8b8); +} + +AlphaImageFromRes::~AlphaImageFromRes() +{ + pixman_image_unref(((PixelsSource_p*)get_opaque())->pixmap.pixman_image); +} + +SpicePoint AlphaImageFromRes::get_size() +{ + pixman_image_t *image = ((PixelsSource_p*)get_opaque())->pixmap.pixman_image; + SpicePoint pt; + pt.x = pixman_image_get_width(image); + pt.y = pixman_image_get_height(image); + return pt; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/pixels_source_p.h b/tizen/distrib/remote/server/spice-0.12.2/client/x11/pixels_source_p.h new file mode 100644 index 0000000..64b0c50 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/pixels_source_p.h @@ -0,0 +1,92 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_PIXELE_SOURSR_P +#define _H_PIXELE_SOURSR_P + +#include <X11/X.h> +#ifdef USE_OPENGL +#include <GL/glu.h> +#endif // USE_OPENGL +#include <X11/Xdefs.h> +#include <X11/Xutil.h> // required by Xshm.h, but not included by it +#include <X11/extensions/XShm.h> +#include "red_window.h" +#ifdef USE_OPENGL +#include "red_pixmap_gl.h" +#endif // USE_OPENGL + +#include "common/pixman_utils.h" + +enum { + PIXELS_SOURCE_TYPE_INVALID, + PIXELS_SOURCE_TYPE_X_DRAWABLE, + PIXELS_SOURCE_TYPE_PIXMAP, +#ifdef USE_OPENGL + PIXELS_SOURCE_TYPE_GL_TEXTURE, + PIXELS_SOURCE_TYPE_GL_DRAWABLE, +#endif // USE_OPENGL +}; + +struct PixelsSource_p { + int type; + union { + struct { + XImage* x_image; + XShmSegmentInfo *shminfo; + pixman_image_t* pixman_image; + RedDrawable::Format format; + } pixmap; + + struct { + Drawable drawable; + int screen; + GC gc; + int width, height; +#ifdef USE_OPENGL + RenderType rendertype; + union { + GLXPbuffer pbuff; + GLuint fbo; + }; + RedGlContext context; +#endif // USE_OPENGL + } x_drawable; + +#ifdef USE_OPENGL + struct { + RenderType rendertype; + Win win; + GLuint tex; + GLuint stencil_tex; + int width, height; + int width_powed, height_powed; + union { + GLXPbuffer pbuff; + GLuint fbo; + }; + RedGlContext context; + } gl; +#endif // USE_OPENGL + }; +}; + +struct RedDrawable_p { + PixelsSource_p source; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/platform.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/x11/platform.cpp new file mode 100644 index 0000000..14c6e0c --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/platform.cpp @@ -0,0 +1,3812 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" + +#include <X11/Xlib.h> +#include <X11/Xutil.h> +#include <X11/Xatom.h> +#include <X11/XKBlib.h> +#include <X11/Xresource.h> +#include <X11/cursorfont.h> +#include <X11/extensions/Xrandr.h> +#include <X11/extensions/render.h> +#include <X11/extensions/XKB.h> +#include <X11/extensions/Xrender.h> +#include <X11/extensions/XShm.h> +#include <X11/extensions/Xfixes.h> +#include <unistd.h> +#include <sys/socket.h> +#include <sys/resource.h> +#include <sys/types.h> +#include <sys/syscall.h> +#include <sys/stat.h> +#include <unistd.h> +#include <fcntl.h> +#include <set> +#include <values.h> +#include <signal.h> +#include <sys/shm.h> +#ifdef HAVE_SYS_TIME_H +#include <sys/time.h> +#endif + +#include <spice/vd_agent.h> +#include "common/rect.h" + +#include "platform.h" +#include "application.h" +#include "utils.h" +#include "x_platform.h" +#include "debug.h" +#include "monitor.h" +#include "record.h" +#include "playback.h" +#include "resource.h" +#include "res.h" +#include "cursor.h" +#include "process_loop.h" + +#define DWORD uint32_t +#define BOOL bool +#include "named_pipe.h" + +//#define X_DEBUG_SYNC(display) do { XLockDisplay(display); XSync(display, False); XUnlockDisplay(display); } while(0) +#define X_DEBUG_SYNC(display) +#ifdef HAVE_XRANDR12 +#define USE_XRANDR_1_2 +#endif + +#ifdef HAVE_XINERAMA +#include <X11/extensions/Xinerama.h> +#define USE_XINERAMA_1_0 +#endif + +static Display* x_display = NULL; +static bool x_shm_avail = false; +static XVisualInfo **vinfo = NULL; +static RedDrawable::Format *screen_format = NULL; +#ifdef USE_OPENGL +static GLXFBConfig **fb_config = NULL; +#endif // USE_OPENGL +static XIM x_input_method = NULL; +static XIC x_input_context = NULL; + +static Window platform_win = 0; +static XContext win_proc_context; +static ProcessLoop* main_loop = NULL; +static int focus_count = 0; + +static bool using_xrandr_1_0 = false; +#ifdef USE_XRANDR_1_2 +static bool using_xrandr_1_2 = false; +#endif + +static int xrandr_event_base; +static int xrandr_error_base; +static int xrandr_major = 0; +static int xrandr_minor = 0; + +static bool using_xrender_0_5 = false; + +static bool using_xfixes_1_0 = false; + +static int xfixes_event_base; +static int xfixes_error_base; + +#ifdef USE_XINERAMA_1_0 +static bool using_xinerama_1_0 = false; +#endif + +static unsigned int caps_lock_mask = 0; +static unsigned int num_lock_mask = 0; + +//FIXME: nicify +struct clipboard_format_info { + uint32_t type; + const char *atom_names[16]; + Atom atoms[16]; + int atom_count; +}; + +static struct clipboard_format_info clipboard_formats[] = { + { VD_AGENT_CLIPBOARD_UTF8_TEXT, { "UTF8_STRING", + "text/plain;charset=UTF-8", "text/plain;charset=utf-8", NULL }, { 0 }, 0}, + { VD_AGENT_CLIPBOARD_IMAGE_PNG, { "image/png", NULL }, { 0 }, 0}, + { VD_AGENT_CLIPBOARD_IMAGE_BMP, { "image/bmp", "image/x-bmp", + "image/x-MS-bmp", "image/x-win-bitmap", NULL }, { 0 }, 0}, + { VD_AGENT_CLIPBOARD_IMAGE_TIFF, { "image/tiff", NULL }, { 0 }, 0}, + { VD_AGENT_CLIPBOARD_IMAGE_JPG, { "image/jpeg", NULL }, { 0 }, 0}, +}; + +#define clipboard_format_count ((int)(sizeof(clipboard_formats)/sizeof(clipboard_formats[0]))) + +struct selection_request { + XEvent event; + selection_request *next; +}; + +static int expected_targets_notifies = 0; +static bool waiting_for_property_notify = false; +static uint8_t* clipboard_data = NULL; +static uint32_t clipboard_data_size = 0; +static uint32_t clipboard_data_space = 0; +static Atom clipboard_request_target = None; +static selection_request *next_selection_request = NULL; +static int clipboard_type_count = 0; +static uint32_t clipboard_agent_types[256]; +static Atom clipboard_x11_targets[256]; +static Mutex clipboard_lock; +static Atom clipboard_prop; +static Atom incr_atom; +static Atom targets_atom; +static Atom multiple_atom; +static Bool handle_x_error = false; +static int x_error_code; + +static void handle_selection_request(); + +class DefaultEventListener: public Platform::EventListener { +public: + virtual void on_app_activated() {} + virtual void on_app_deactivated() {} + virtual void on_monitors_change() {} +}; + +static DefaultEventListener default_event_listener; +static Platform::EventListener* event_listener = &default_event_listener; + +class DefaultDisplayModeListener: public Platform::DisplayModeListener { +public: + void on_display_mode_change() {} +}; + +static DefaultDisplayModeListener default_display_mode_listener; +static Platform::DisplayModeListener* display_mode_listener = &default_display_mode_listener; + +class DefaultClipboardListener: public Platform::ClipboardListener { +public: + void on_clipboard_grab(uint32_t *types, uint32_t type_count) {} + void on_clipboard_request(uint32_t type) {} + void on_clipboard_notify(uint32_t type, uint8_t* data, int32_t size) {} + void on_clipboard_release() {} +}; + +static DefaultClipboardListener default_clipboard_listener; +static Platform::ClipboardListener* clipboard_listener = &default_clipboard_listener; + +static void handle_x_errors_start(void) +{ + handle_x_error = True; + x_error_code = 0; +} + +static int handle_x_errors_stop(void) +{ + handle_x_error = False; + return x_error_code; +} + +static const char *atom_name(Atom atom) +{ + const char *name; + + if (atom == None) + return "None"; + + XLockDisplay(x_display); + handle_x_errors_start(); + name = XGetAtomName(x_display, atom); + if (handle_x_errors_stop()) { + name = "Bad Atom"; + } + XUnlockDisplay(x_display); + + return name; +} + +static uint32_t get_clipboard_type(Atom target) { + int i, j; + + if (target == None) + return VD_AGENT_CLIPBOARD_NONE; + + for (i = 0; i < clipboard_format_count; i++) { + for (j = 0; j < clipboard_formats[i].atom_count; i++) { + if (clipboard_formats[i].atoms[j] == target) { + return clipboard_formats[i].type; + } + } + } + + LOG_WARN("unexpected selection type %s", atom_name(target)); + return VD_AGENT_CLIPBOARD_NONE; +} + +static Atom get_clipboard_target(uint32_t type) { + int i; + + for (i = 0; i < clipboard_type_count; i++) + if (clipboard_agent_types[i] == type) + return clipboard_x11_targets[i]; + + LOG_WARN("client requested unavailable type %u", type); + return None; +} + +NamedPipe::ListenerRef NamedPipe::create(const char *name, ListenerInterface& listener_interface) +{ + ASSERT(main_loop && main_loop->is_same_thread(pthread_self())); + return (ListenerRef)(new LinuxListener(name, listener_interface, *main_loop)); +} + +void NamedPipe::destroy(ListenerRef listener_ref) +{ + ASSERT(main_loop && main_loop->is_same_thread(pthread_self())); + delete (LinuxListener *)listener_ref; +} + +void NamedPipe::destroy_connection(ConnectionRef conn_ref) +{ + ASSERT(main_loop && main_loop->is_same_thread(pthread_self())); + delete (Session *)conn_ref; +} + +int32_t NamedPipe::read(ConnectionRef conn_ref, uint8_t* buf, int32_t size) +{ + if (((Session *)conn_ref) != NULL) { + return ((Session *)conn_ref)->read(buf, size); + } + return -1; +} + +int32_t NamedPipe::write(ConnectionRef conn_ref, const uint8_t* buf, int32_t size) +{ + if (((Session *)conn_ref) != NULL) { + return ((Session *)conn_ref)->write(buf, size); + } + return -1; +} + +class XEventHandler: public EventSources::File { +public: + XEventHandler(Display& x_display, XContext& win_proc_context); + virtual void on_event(); + virtual int get_fd() {return _x_fd;} + +private: + Display& _x_display; + XContext& _win_proc_context; + int _x_fd; +}; + +XEventHandler::XEventHandler(Display& x_display, XContext& win_proc_context) + : _x_display (x_display) + , _win_proc_context (win_proc_context) +{ + if ((_x_fd = ConnectionNumber(&x_display)) == -1) { + THROW("get x fd failed"); + } +} + +void XEventHandler::on_event() +{ + XLockDisplay(x_display); + while (XPending(&_x_display)) { + XPointer proc_pointer; + XEvent event; + + XNextEvent(&_x_display, &event); + if (event.xany.window == None) { + continue; + } + + if (XFilterEvent(&event, None)) { + continue; + } + + if (XFindContext(&_x_display, event.xany.window, _win_proc_context, &proc_pointer)) { + /* When XIM + ibus is in use XIM creates an invisible window for + its own purposes, we sometimes get a _GTK_LOAD_ICONTHEMES + ClientMessage event on this window -> skip logging. */ + if (event.type != ClientMessage) { + LOG_WARN( + "Event on window without a win proc, type: %d, window: %u", + event.type, (unsigned int)event.xany.window); + } + continue; + } + XUnlockDisplay(x_display); + ((XPlatform::win_proc_t)proc_pointer)(event); + XLockDisplay(x_display); + } + XUnlockDisplay(x_display); +} + +Display* XPlatform::get_display() +{ + return x_display; +} + +bool XPlatform::is_x_shm_avail() +{ + return x_shm_avail; +} + +XImage *XPlatform::create_x_shm_image(RedDrawable::Format format, + int width, int height, int depth, + Visual *visual, + XShmSegmentInfo **shminfo_out) +{ + XImage *image; + XShmSegmentInfo *shminfo; + + /* We need to lock the display early, and force any pending requests to + be processed, to make sure that any errors reported by + handle_x_errors_stop() are actually ours */ + XLockDisplay(XPlatform::get_display()); + XSync(XPlatform::get_display(), False); + + shminfo = new XShmSegmentInfo; + shminfo->shmid = -1; + shminfo->shmaddr = NULL; + + image = XShmCreateImage(XPlatform::get_display(), + format == RedDrawable::A1 ? NULL : visual, + format == RedDrawable::A1 ? 1 : depth, + format == RedDrawable::A1 ? XYBitmap : ZPixmap, + NULL, shminfo, width, height); + if (image == NULL) { + x_shm_avail = false; + goto err1; + } + + shminfo->shmid = shmget(IPC_PRIVATE, height * image->bytes_per_line, + IPC_CREAT | 0777); + if (shminfo->shmid < 0) { + /* EINVAL indicates, most likely, that the segment we asked for + * is bigger than SHMMAX, so we don't treat it as a permanent + * error. ENOSPC and ENOMEM may also indicate this, but + * more likely are permanent errors. + */ + if (errno != EINVAL) { + x_shm_avail = false; + } + goto err2; + } + + shminfo->shmaddr = (char *)shmat(shminfo->shmid, 0, 0); + if (!shminfo->shmaddr) { + /* Failure in shmat is almost certainly permanent. Most likely error is + * EMFILE, which would mean that we've exceeded the per-process + * Shm segment limit. + */ + x_shm_avail = false; + + goto err2; + } + + shminfo->readOnly = False; + if (!XShmAttach(XPlatform::get_display(), shminfo)) { + x_shm_avail = false; + goto err2; + } + + handle_x_errors_start(); + + /* Ensure the xserver has attached the xshm segment */ + XSync (XPlatform::get_display(), False); + + if (handle_x_errors_stop()) { + x_shm_avail = false; + goto err2; + } + + /* Mark segment as released so that it will be destroyed when + the xserver releases the segment. This way we won't leak + the segment if the client crashes. */ + shmctl(shminfo->shmid, IPC_RMID, 0); + + XUnlockDisplay(XPlatform::get_display()); + + image->data = (char *)shminfo->shmaddr; + + *shminfo_out = shminfo; + return image; + +err2: + XDestroyImage(image); + if (shminfo->shmaddr != NULL) { + shmdt(shminfo->shmaddr); + } + if (shminfo->shmid != -1) { + shmctl(shminfo->shmid, IPC_RMID, 0); + } + +err1: + XUnlockDisplay(XPlatform::get_display()); + delete shminfo; + return NULL; +} + +XImage *XPlatform::create_x_image(RedDrawable::Format format, + int width, int height, int depth, + Visual *visual, + XShmSegmentInfo **shminfo_out) +{ + XImage *image = NULL; + uint8_t *data; + size_t stride; + + *shminfo_out = NULL; + + if (XPlatform::is_x_shm_avail()) { + image = XPlatform::create_x_shm_image(format, width, height, + depth, visual, + shminfo_out); + } + + if (image != NULL) { + return image; + } + + stride = SPICE_ALIGN(width * RedDrawable::format_to_bpp (format), 32) / 8; + /* Must use malloc here, not new, because XDestroyImage will free() it */ + data = (uint8_t *)malloc(height * stride); + if (data == NULL) { + THROW("Out of memory"); + } + + XLockDisplay(XPlatform::get_display()); + if (format == RedDrawable::A1) { + image = XCreateImage(XPlatform::get_display(), + NULL, 1, XYBitmap, + 0, (char *)data, width, height, 32, stride); + } else { + image = XCreateImage(XPlatform::get_display(), + visual, depth, ZPixmap, + 0, (char *)data, width, height, 32, stride); + } + XUnlockDisplay(XPlatform::get_display()); + + return image; +} + + +void XPlatform::free_x_image(XImage *image, + XShmSegmentInfo *shminfo) +{ + if (shminfo) { + XLockDisplay(XPlatform::get_display()); + XShmDetach(XPlatform::get_display(), shminfo); + } + if (image) { + XDestroyImage(image); + } + if (shminfo) { + XSync(XPlatform::get_display(), False); + shmdt(shminfo->shmaddr); + XUnlockDisplay(XPlatform::get_display()); + delete shminfo; + } +} + + +XVisualInfo** XPlatform::get_vinfo() +{ + return vinfo; +} + +RedDrawable::Format XPlatform::get_screen_format(int screen) +{ + return screen_format[screen]; +} + +#ifdef USE_OPENGL +GLXFBConfig** XPlatform::get_fbconfig() +{ + return fb_config; +} +#endif // USE_OPENGL + +XIC XPlatform::get_input_context() +{ + return x_input_context; +} + +void XPlatform::set_win_proc(Window win, win_proc_t proc) +{ + int res; + + XLockDisplay(x_display); + res = XSaveContext(x_display, win, win_proc_context, (XPointer)proc); + XUnlockDisplay(x_display); + if (res) { + THROW("set win proc failed"); + } +} + +void XPlatform::cleare_win_proc(Window win) +{ + XLockDisplay(x_display); + XDeleteContext(x_display, win, win_proc_context); + XUnlockDisplay(x_display); +} + +void Platform::send_quit_request() +{ + ASSERT(main_loop); + main_loop->quit(0); +} + +uint64_t Platform::get_monolithic_time() +{ +#ifdef HAVE_CLOCK_GETTIME + struct timespec time_space; + clock_gettime(CLOCK_MONOTONIC, &time_space); + return uint64_t(time_space.tv_sec) * 1000 * 1000 * 1000 + uint64_t(time_space.tv_nsec); +#else + struct timeval tv; + gettimeofday(&tv, NULL); + return uint64_t(tv.tv_sec) * 1000 * 1000 * 1000 + uint64_t(tv.tv_usec) * 1000; +#endif +} + +void Platform::get_temp_dir(std::string& path) +{ + path = "/tmp/"; +} + +uint64_t Platform::get_process_id() +{ + static uint64_t pid = uint64_t(getpid()); + return pid; +} + +uint64_t Platform::get_thread_id() +{ + return uint64_t(syscall(SYS_gettid)); +} + +void Platform::error_beep() +{ + if (!x_display) { + return; + } + + XBell(x_display, 0); + XFlush(x_display); +} + +void Platform::msleep(unsigned int millisec) +{ + usleep(millisec * 1000); +} + +void Platform::yield() +{ + POSIX_YIELD_FUNC; +} + +void Platform::term_printf(const char* format, ...) +{ + va_list ap; + va_start(ap, format); + vprintf(format, ap); + va_end(ap); +} + +void Platform::set_thread_priority(void* thread, Platform::ThreadPriority in_priority) +{ + ASSERT(thread == NULL); + int priority; + + switch (in_priority) { + case PRIORITY_TIME_CRITICAL: + priority = -20; + break; + case PRIORITY_HIGH: + priority = -2; + break; + case PRIORITY_ABOVE_NORMAL: + priority = -1; + break; + case PRIORITY_NORMAL: + priority = 0; + break; + case PRIORITY_BELOW_NORMAL: + priority = 1; + break; + case PRIORITY_LOW: + priority = 2; + break; + case PRIORITY_IDLE: + priority = 19; + break; + default: + THROW("invalid priority %d", in_priority); + } + + pid_t tid = syscall(SYS_gettid); + if (setpriority(PRIO_PROCESS, tid, priority) == -1) { + DBG(0, "setpriority failed %s", strerror(errno)); + } +} + +void Platform::set_event_listener(EventListener* listener) +{ + event_listener = listener ? listener : &default_event_listener; +} + +void Platform::set_display_mode_listner(DisplayModeListener* listener) +{ + display_mode_listener = listener ? listener : &default_display_mode_listener; +} + +#ifdef USE_XRANDR_1_2 +class FreeScreenResources { +public: + void operator () (XRRScreenResources* res) { XRRFreeScreenResources(res);} +}; +typedef _AutoRes<XRRScreenResources, FreeScreenResources> AutoScreenRes; + +class FreeOutputInfo { +public: + void operator () (XRROutputInfo* output_info) { XRRFreeOutputInfo(output_info);} +}; + +typedef _AutoRes<XRROutputInfo, FreeOutputInfo> AutoOutputInfo; + +class FreeCrtcInfo { +public: + void operator () (XRRCrtcInfo* crtc_info) { XRRFreeCrtcInfo(crtc_info);} +}; +typedef _AutoRes<XRRCrtcInfo, FreeCrtcInfo> AutoCrtcInfo; + +static XRRModeInfo* find_mod(XRRScreenResources* res, RRMode mode) +{ + for (int i = 0; i < res->nmode; i++) { + if (res->modes[i].id == mode) { + return &res->modes[i]; + } + } + return NULL; +} + +#endif + +//#define SHOW_SCREEN_INFO +#ifdef SHOW_SCREEN_INFO + +static float mode_refresh(XRRModeInfo *mode_info) +{ + if (!mode_info->hTotal || !mode_info->vTotal) { + return 0; + } + + return ((float)mode_info->dotClock / ((float)mode_info->hTotal * (float)mode_info->vTotal)); +} + +static void show_scren_info() +{ + int screen = DefaultScreen(x_display); + Window root_window = RootWindow(x_display, screen); + + int minWidth; + int minHeight; + int maxWidth; + int maxHeight; + + XLockDisplay(x_display); + AutoScreenRes res(XRRGetScreenResources(x_display, root_window)); + XUnlockDisplay(x_display); + + if (!res.valid()) { + throw Exception(fmt("%s: get screen resources failed") % __FUNCTION__); + } + + XLockDisplay(x_display); + XRRGetScreenSizeRange(x_display, root_window, &minWidth, &minHeight, + &maxWidth, &maxHeight); + printf("screen: min %dx%d max %dx%d\n", minWidth, minHeight, + maxWidth, maxHeight); + + int i, j; + + for (i = 0; i < res->noutput; i++) { + AutoOutputInfo output_info(XRRGetOutputInfo(x_display, res.get(), res->outputs[i])); + + printf("output %s", output_info->name); + if (output_info->crtc == None) { + printf(" crtc None"); + } else { + printf(" crtc 0x%lx", output_info->crtc); + } + switch (output_info->connection) { + case RR_Connected: + printf(" Connected"); + break; + case RR_Disconnected: + printf(" Disconnected"); + break; + case RR_UnknownConnection: + printf(" UnknownConnection"); + break; + } + printf(" ncrtc %u nclone %u nmode %u\n", + output_info->ncrtc, + output_info->nclone, + output_info->nmode); + for (j = 0; j < output_info->nmode; j++) { + XRRModeInfo* mode = find_mod(res.get(), output_info->modes[j]); + printf("\t%lu:", output_info->modes[j]); + if (!mode) { + printf(" ???\n"); + continue; + } + printf(" %s %ux%u %f\n", mode->name, mode->width, mode->height, mode_refresh(mode)); + } + } + + for (i = 0; i < res->ncrtc; i++) { + AutoCrtcInfo crtc_info(XRRGetCrtcInfo(x_display, res.get(), res->crtcs[i])); + printf("crtc: 0x%lx x %d y %d width %u height %u mode %lu\n", + res->crtcs[i], + crtc_info->x, crtc_info->y, + crtc_info->width, crtc_info->height, crtc_info->mode); + } + XUnlockDisplay(x_display); +} + +#endif + +enum RedScreenRotation { + RED_SCREEN_ROTATION_0, + RED_SCREEN_ROTATION_90, + RED_SCREEN_ROTATION_180, + RED_SCREEN_ROTATION_270, +}; + +enum RedSubpixelOrder { + RED_SUBPIXEL_ORDER_UNKNOWN, + RED_SUBPIXEL_ORDER_H_RGB, + RED_SUBPIXEL_ORDER_H_BGR, + RED_SUBPIXEL_ORDER_V_RGB, + RED_SUBPIXEL_ORDER_V_BGR, + RED_SUBPIXEL_ORDER_NONE, +}; + +static void root_win_proc(XEvent& event); +static void process_monitor_configure_events(Window root); + +class XMonitor; +typedef std::list<XMonitor*> XMonitorsList; + +class XScreen { +public: + XScreen(Display* display, int screen); + virtual ~XScreen() {} + + virtual void publish_monitors(MonitorsList& monitors) = 0; + + Display* get_display() {return _display;} + int get_screen() {return _screen;} + + void set_broken() {_broken = true;} + bool is_broken() const {return _broken;} + int get_width() const {return _width;} + void set_width(int width) {_width = width;} + int get_height() const { return _height;} + void set_height(int height) {_height = height;} + SpicePoint get_position() const {return _position;} + +private: + Display* _display; + int _screen; + SpicePoint _position; + int _width; + int _height; + bool _broken; +}; + +XScreen::XScreen(Display* display, int screen) + : _display (display) + , _screen (screen) + , _broken (false) +{ + int root = RootWindow(display, screen); + + XWindowAttributes attrib; + + XLockDisplay(display); + XGetWindowAttributes(display, root, &attrib); + XUnlockDisplay(display); + + _position.x = attrib.x; + _position.y = attrib.y; + _width = attrib.width; + _height = attrib.height; +} + +class StaticScreen: public XScreen, public Monitor { +public: + StaticScreen(Display* display, int screen, int& next_mon_id) + : XScreen(display, screen) + , Monitor(next_mon_id++) + , _out_of_sync (false) + { + } + + virtual void publish_monitors(MonitorsList& monitors) + { + monitors.push_back(this); + } + + virtual int get_depth() { return XPlatform::get_vinfo()[0]->depth;} + virtual SpicePoint get_position() { return XScreen::get_position();} + virtual SpicePoint get_size() const { SpicePoint pt = {get_width(), get_height()}; return pt;} + virtual bool is_out_of_sync() { return _out_of_sync;} + virtual int get_screen_id() { return get_screen();} + +protected: + virtual void do_set_mode(int width, int height) + { + _out_of_sync = width > get_width() || height > get_height(); + } + + virtual void do_restore() {} + +private: + bool _out_of_sync; +}; + +class DynamicScreen: public XScreen, public Monitor { +public: + DynamicScreen(Display* display, int screen, int& next_mon_id); + virtual ~DynamicScreen(); + + void publish_monitors(MonitorsList& monitors); + virtual int get_depth() { return XPlatform::get_vinfo()[0]->depth;} + virtual SpicePoint get_position() { return XScreen::get_position();} + virtual SpicePoint get_size() const { SpicePoint pt = {get_width(), get_height()}; return pt;} + virtual bool is_out_of_sync() { return _out_of_sync;} + virtual int get_screen_id() { return get_screen();} + +protected: + virtual void do_set_mode(int width, int height); + virtual void do_restore(); + +private: + bool set_screen_size(int size_index); + +private: + int _saved_width; + int _saved_height; + bool _out_of_sync; +}; + +static void intern_clipboard_atoms() +{ + int i, j; + static bool interned = false; + if (interned) return; + + XLockDisplay(x_display); + clipboard_prop = XInternAtom(x_display, "CLIPBOARD", False); + incr_atom = XInternAtom(x_display, "INCR", False); + multiple_atom = XInternAtom(x_display, "MULTIPLE", False); + targets_atom = XInternAtom(x_display, "TARGETS", False); + for(i = 0; i < clipboard_format_count; i++) { + for(j = 0; clipboard_formats[i].atom_names[j]; j++) { + clipboard_formats[i].atoms[j] = + XInternAtom(x_display, clipboard_formats[i].atom_names[j], + False); + } + clipboard_formats[i].atom_count = j; + } + + XUnlockDisplay(x_display); + + interned = true; +} + +DynamicScreen::DynamicScreen(Display* display, int screen, int& next_mon_id) + : XScreen(display, screen) + , Monitor(next_mon_id++) + , _saved_width (get_width()) + , _saved_height (get_height()) + , _out_of_sync (false) +{ + if (platform_win != 0) + return; + + X_DEBUG_SYNC(display); + //FIXME: replace RootWindow() in other refs as well? + XLockDisplay(display); + platform_win = XCreateSimpleWindow(display, RootWindow(display, screen), 0, 0, 1, 1, 0, 0, 0); + XUnlockDisplay(display); + + LOG_INFO("platform_win: %u", (unsigned int)platform_win); + intern_clipboard_atoms(); + XSelectInput(display, platform_win, StructureNotifyMask); + XRRSelectInput(display, platform_win, RRScreenChangeNotifyMask); + if (using_xfixes_1_0) { + XFixesSelectSelectionInput(display, platform_win, clipboard_prop, + XFixesSetSelectionOwnerNotifyMask| + XFixesSelectionWindowDestroyNotifyMask| + XFixesSelectionClientCloseNotifyMask); + } + + Monitor::self_monitors_change++; + process_monitor_configure_events(platform_win); + Monitor::self_monitors_change--; + + XPlatform::set_win_proc(platform_win, root_win_proc); + X_DEBUG_SYNC(display); +} + +DynamicScreen::~DynamicScreen() +{ + restore(); +} + +void DynamicScreen::publish_monitors(MonitorsList& monitors) +{ + monitors.push_back(this); +} + +class SizeInfo { +public: + SizeInfo(int int_index, XRRScreenSize* in_size) : index (int_index), size (in_size) {} + + int index; + XRRScreenSize* size; +}; + +class SizeCompare { +public: + bool operator () (const SizeInfo& size1, const SizeInfo& size2) const + { + int area1 = size1.size->width * size1.size->height; + int area2 = size2.size->width * size2.size->height; + return area1 < area2 || (area1 == area2 && size1.index < size2.index); + } +}; + +void DynamicScreen::do_set_mode(int width, int height) +{ + int num_sizes; + + X_DEBUG_SYNC(get_display()); + + XLockDisplay(get_display()); + XRRScreenSize* sizes = XRRSizes(get_display(), get_screen(), &num_sizes); + XUnlockDisplay(get_display()); + + typedef std::set<SizeInfo, SizeCompare> SizesSet; + SizesSet sizes_set; + + for (int i = 0; i < num_sizes; i++) { + if (sizes[i].width >= width && sizes[i].height >= height) { + sizes_set.insert(SizeInfo(i, &sizes[i])); + } + } + _out_of_sync = true; + if (!sizes_set.empty() && set_screen_size((*sizes_set.begin()).index)) { + _out_of_sync = false; + } + X_DEBUG_SYNC(get_display()); +} + +void DynamicScreen::do_restore() +{ + X_DEBUG_SYNC(get_display()); + if (is_broken() || (get_width() == _saved_width && get_height() == _saved_height)) { + return; + } + int num_sizes; + + XLockDisplay(get_display()); + XRRScreenSize* sizes = XRRSizes(get_display(), get_screen(), &num_sizes); + XUnlockDisplay(get_display()); + + for (int i = 0; i < num_sizes; i++) { + if (sizes[i].width == _saved_width && sizes[i].height == _saved_height) { + set_screen_size(i); + return; + } + } + X_DEBUG_SYNC(get_display()); + LOG_WARN("can't find startup mode"); +} + +bool DynamicScreen::set_screen_size(int size_index) +{ + X_DEBUG_SYNC(get_display()); + Window root_window = RootWindow(get_display(), get_screen()); + XRRScreenConfiguration* config; + + XLockDisplay(get_display()); + config = XRRGetScreenInfo(get_display(), root_window); + XUnlockDisplay(get_display()); + + if (!config) { + LOG_WARN("get screen info failed"); + return false; + } + Rotation rotation; + XRRConfigCurrentConfiguration(config, &rotation); + + Monitor::self_monitors_change++; + XLockDisplay(get_display()); + /*what status*/ + XRRSetScreenConfig(get_display(), config, root_window, size_index, rotation, CurrentTime); + XUnlockDisplay(get_display()); + process_monitor_configure_events(platform_win); + Monitor::self_monitors_change--; + XRRFreeScreenConfigInfo(config); + X_DEBUG_SYNC(get_display()); + + int num_sizes; + + XLockDisplay(get_display()); + XRRScreenSize* sizes = XRRSizes(get_display(), get_screen(), &num_sizes); + XUnlockDisplay(get_display()); + + if (num_sizes <= size_index) { + THROW("invalid sizes size"); + } + set_width(sizes[size_index].width); + set_height(sizes[size_index].height); + return true; +} + +#ifdef USE_XINERAMA_1_0 + +class XineramaMonitor; +typedef std::list<XineramaMonitor*> XineramaMonitorsList; + +class XineramaScreen : public XScreen { +public: + XineramaScreen(Display* display, int screen, int& next_mon_id, XineramaScreenInfo* xin_screens, + int num_xin_screens); + virtual ~XineramaScreen(); + + void publish_monitors(MonitorsList& monitors); + +private: + XineramaMonitorsList _monitors; +}; + +class XineramaMonitor : public Monitor { +public: + XineramaMonitor(int id, XineramaScreenInfo& xin_screen); + + virtual void do_set_mode(int width, int height); + virtual void do_restore() {} + virtual int get_depth() { return 32;} + virtual SpicePoint get_position() { return _position;} + virtual SpicePoint get_size() const { return _size;} + virtual bool is_out_of_sync() { return _out_of_sync;} + virtual int get_screen_id() { return 0;} + +private: + SpicePoint _position; + SpicePoint _size; + bool _out_of_sync; +}; + +XineramaScreen::XineramaScreen(Display* display, int screen, int& next_mon_id, + XineramaScreenInfo* xin_screens, int num_xin_screens) + : XScreen(display, screen) +{ + X_DEBUG_SYNC(display); + for (int i = 0; i < num_xin_screens; i++) { + _monitors.push_back(new XineramaMonitor(next_mon_id++, xin_screens[i])); + } + Window root_window = RootWindow(display, screen); + XSelectInput(display, root_window, StructureNotifyMask); + XRRSelectInput(display, root_window, RRScreenChangeNotifyMask); // TODO: this fails if we don't have RR extension (but do have XINERAMA) + XPlatform::set_win_proc(root_window, root_win_proc); // Xlib: extension "RANDR" missing on display ":3.0". + X_DEBUG_SYNC(display); +} + +XineramaScreen::~XineramaScreen() +{ + while (!_monitors.empty()) { + XineramaMonitor* monitor = _monitors.front(); + _monitors.pop_front(); + delete monitor; + } +} + +void XineramaScreen::publish_monitors(MonitorsList& monitors) +{ + XineramaMonitorsList::iterator iter = _monitors.begin(); + for (; iter != _monitors.end(); iter++) { + monitors.push_back(*iter); + } +} + +XineramaMonitor::XineramaMonitor(int id, XineramaScreenInfo& screen_info) + : Monitor(id) + , _out_of_sync (false) +{ + _position.x = screen_info.x_org; + _position.y = screen_info.y_org; + _size.x = screen_info.width; + _size.y = screen_info.height; +} + + +void XineramaMonitor::do_set_mode(int width, int height) +{ + _out_of_sync = width > _size.x || height > _size.y; +} + +#endif + +#ifdef USE_XRANDR_1_2 + +class MultyMonScreen: public XScreen { +public: + MultyMonScreen(Display* display, int screen, int& next_mon_id); + virtual ~MultyMonScreen(); + + virtual void publish_monitors(MonitorsList& monitors); + + void disable(); + void enable(); + void restore(); + + bool set_monitor_mode(XMonitor& monitor, const XRRModeInfo& mode_info); + +private: + void set_size(int width, int height); + void get_trans_size(int& width, int& hight); + SpicePoint get_trans_top_left(); + SpicePoint get_trans_bottom_right(); + bool changed(); + + XMonitor* crtc_overlap_test(int x, int y, int width, int height); + void monitors_cleanup(); + +private: + int _min_width; + int _min_height; + int _max_width; + int _max_height; + int _saved_width; + int _saved_height; + int _saved_width_mm; + int _saved_height_mm; + XMonitorsList _monitors; +}; + +#define MAX_TRANS_DEPTH 3 + +class XMonitor: public Monitor { +public: + XMonitor(MultyMonScreen& container, int id, RRCrtc crtc); + virtual ~XMonitor(); + + virtual int get_depth(); + virtual SpicePoint get_position(); + virtual SpicePoint get_size() const; + virtual bool is_out_of_sync(); + virtual int get_screen_id() { return _container.get_screen();} + + void add_clone(XMonitor *clone); + void revert(); + void disable(); + void enable(); + + void set_mode(const XRRModeInfo& mode); + const SpiceRect& get_prev_area(); + SpiceRect& get_trans_area(); + void pin() { _pin_count++;} + void unpin() { ASSERT(_pin_count > 0); _pin_count--;} + bool is_pinned() {return !!_pin_count;} + void commit_trans_position(); + void set_pusher(XMonitor& pusher) { _pusher = &pusher;} + XMonitor* get_pusher() { return _pusher;} + void push_trans(); + void begin_trans(); + bool mode_changed(); + bool position_changed(); + + static void inc_change_ref() { Monitor::self_monitors_change++;} + static void dec_change_ref() { Monitor::self_monitors_change--;} + +protected: + virtual void do_set_mode(int width, int height); + virtual void do_restore(); + +private: + void update_position(); + bool find_mode_in_outputs(RRMode mode, int start_index, XRRScreenResources* res); + bool find_mode_in_clones(RRMode mode, XRRScreenResources* res); + XRRModeInfo* find_mode(unsigned int width, unsigned int height, XRRScreenResources* res); + +private: + MultyMonScreen& _container; + RRCrtc _crtc; + XMonitorsList _clones; + SpicePoint _position; + SpicePoint _size; + RRMode _mode; + Rotation _rotation; + int _noutput; + RROutput* _outputs; + + SpicePoint _saved_position; + SpicePoint _saved_size; + RRMode _saved_mode; + Rotation _saved_rotation; + + bool _out_of_sync; + RedScreenRotation _red_rotation; + RedSubpixelOrder _subpixel_order; + + int _trans_depth; + SpiceRect _trans_area[MAX_TRANS_DEPTH]; + int _pin_count; + XMonitor* _pusher; +}; + +MultyMonScreen::MultyMonScreen(Display* display, int screen, int& next_mon_id) + : XScreen(display, screen) + , _saved_width (get_width()) + , _saved_height (get_height()) + , _saved_width_mm (DisplayWidthMM(display, screen)) + , _saved_height_mm (DisplayHeightMM(display, screen)) +{ + X_DEBUG_SYNC(get_display()); + Window root_window = RootWindow(display, screen); + + XLockDisplay(display); + XRRGetScreenSizeRange(display, root_window, &_min_width, &_min_height, + &_max_width, &_max_height); + AutoScreenRes res(XRRGetScreenResources(display, root_window)); + XUnlockDisplay(display); + + if (!res.valid()) { + THROW("get screen resources failed"); + } + +#ifdef SHOW_SCREEN_INFO + show_scren_info(); +#endif + XLockDisplay(display); + try { + for (int i = 0; i < res->ncrtc; i++) { + AutoCrtcInfo crtc_info(XRRGetCrtcInfo(display, res.get(), res->crtcs[i])); + + if (!crtc_info.valid()) { + THROW("get crtc info failed"); + } + + if (crtc_info->mode == None) { + continue; + } + + ASSERT(crtc_info->noutput); + + XMonitor* clone_mon = crtc_overlap_test(crtc_info->x, crtc_info->y, + crtc_info->width, crtc_info->height); + + if (clone_mon) { + clone_mon->add_clone(new XMonitor(*this, next_mon_id++, res->crtcs[i])); + continue; + } + + _monitors.push_back(new XMonitor(*this, next_mon_id++, res->crtcs[i])); + } + XUnlockDisplay(display); + } catch (...) { + XUnlockDisplay(display); + monitors_cleanup(); + throw; + } + + if (platform_win != 0) + return; + + XLockDisplay(display); + platform_win = XCreateSimpleWindow(display, RootWindow(display, screen), 0, 0, 1, 1, 0, 0, 0); + XUnlockDisplay(display); + + LOG_INFO("platform_win: %u", (unsigned int)platform_win); + intern_clipboard_atoms(); + XSelectInput(display, platform_win, StructureNotifyMask); + X_DEBUG_SYNC(get_display()); + XRRSelectInput(display, platform_win, RRScreenChangeNotifyMask); + X_DEBUG_SYNC(get_display()); + if (using_xfixes_1_0) { + XFixesSelectSelectionInput(display, platform_win, clipboard_prop, + XFixesSetSelectionOwnerNotifyMask| + XFixesSelectionWindowDestroyNotifyMask| + XFixesSelectionClientCloseNotifyMask); + } + + XMonitor::inc_change_ref(); + process_monitor_configure_events(platform_win); + XMonitor::dec_change_ref(); + + XPlatform::set_win_proc(platform_win, root_win_proc); + X_DEBUG_SYNC(get_display()); +} + +MultyMonScreen::~MultyMonScreen() +{ + restore(); + monitors_cleanup(); +} + +XMonitor* MultyMonScreen::crtc_overlap_test(int x, int y, int width, int height) +{ + XMonitorsList::iterator iter = _monitors.begin(); + for (; iter != _monitors.end(); iter++) { + XMonitor* mon = *iter; + + SpicePoint pos = mon->get_position(); + SpicePoint size = mon->get_size(); + + if (x == pos.x && y == pos.y && width == size.x && height == size.y) { + return mon; + } + + if (x < pos.x + size.x && x + width > pos.x && y < pos.y + size.y && y + height > pos.y) { + THROW("unsupported partial overlap"); + } + } + return NULL; +} + +void MultyMonScreen::publish_monitors(MonitorsList& monitors) +{ + XMonitorsList::iterator iter = _monitors.begin(); + for (; iter != _monitors.end(); iter++) { + monitors.push_back(*iter); + } +} + +void MultyMonScreen::monitors_cleanup() +{ + while (!_monitors.empty()) { + XMonitor* monitor = _monitors.front(); + _monitors.pop_front(); + delete monitor; + } +} + +void MultyMonScreen::disable() +{ + XMonitorsList::iterator iter = _monitors.begin(); + for (; iter != _monitors.end(); iter++) { + (*iter)->disable(); + } +} + +void MultyMonScreen::enable() +{ + XMonitorsList::iterator iter = _monitors.begin(); + for (; iter != _monitors.end(); iter++) { + (*iter)->enable(); + } +} + +void MultyMonScreen::set_size(int width, int height) +{ + X_DEBUG_SYNC(get_display()); + Window root_window = RootWindow(get_display(), get_screen()); + set_width(width); + int width_mm = (int)((double)_saved_width_mm / _saved_width * width); + set_height(height); + int height_mm = (int)((double)_saved_height_mm / _saved_height * height); + XLockDisplay(get_display()); + XRRSetScreenSize(get_display(), root_window, width, height, width_mm, height_mm); + XUnlockDisplay(get_display()); + X_DEBUG_SYNC(get_display()); +} + +bool MultyMonScreen::changed() +{ + if (get_width() != _saved_width || get_height() != _saved_height) { + return true; + } + + XMonitorsList::iterator iter = _monitors.begin(); + for (; iter != _monitors.end(); iter++) { + if ((*iter)->mode_changed() || (*iter)->position_changed()) { + return true; + } + } + return false; +} + +void MultyMonScreen::restore() +{ + if (is_broken() || !changed()) { + return; + } + X_DEBUG_SYNC(get_display()); + XMonitor::inc_change_ref(); + disable(); + set_size(_saved_width, _saved_height); + XMonitorsList::iterator iter = _monitors.begin(); + for (; iter != _monitors.end(); iter++) { + (*iter)->revert(); + } + enable(); + process_monitor_configure_events(platform_win); + XMonitor::dec_change_ref(); + X_DEBUG_SYNC(get_display()); +} + +SpicePoint MultyMonScreen::get_trans_top_left() +{ + SpicePoint position; + position.y = position.x = MAXINT; + + XMonitorsList::iterator iter = _monitors.begin(); + for (; iter != _monitors.end(); iter++) { + SpiceRect& area = (*iter)->get_trans_area(); + position.x = MIN(position.x, area.left); + position.y = MIN(position.y, area.top); + } + return position; +} + +SpicePoint MultyMonScreen::get_trans_bottom_right() +{ + SpicePoint position; + position.y = position.x = MININT; + + XMonitorsList::iterator iter = _monitors.begin(); + for (; iter != _monitors.end(); iter++) { + SpiceRect& area = (*iter)->get_trans_area(); + position.x = MAX(position.x, area.right); + position.y = MAX(position.y, area.bottom); + } + return position; +} + +void MultyMonScreen::get_trans_size(int& width, int& height) +{ + ASSERT(get_trans_top_left().x == 0 && get_trans_top_left().y == 0); + SpicePoint bottom_right = get_trans_bottom_right(); + ASSERT(bottom_right.x > 0 && bottom_right.y > 0); + width = bottom_right.x; + height = bottom_right.y; +} + +#endif + +/*class Variant { + static void get_area_in_front(const SpiceRect& base, int size, SpiceRect& area) + static int get_push_distance(const SpiceRect& fix_area, const SpiceRect& other) + static int get_head(const SpiceRect& area) + static int get_tail(const SpiceRect& area) + static void move_head(SpiceRect& area, int delta) + static int get_pull_distance(const SpiceRect& fix_area, const SpiceRect& other) + static void offset(SpiceRect& area, int delta) + static void shrink(SpiceRect& area, int delta) + static int get_distance(const SpiceRect& area, const SpiceRect& other_area) + static bool is_on_tail(const SpiceRect& area, const SpiceRect& other_area) + static bool is_on_perpendiculars(const SpiceRect& area, const SpiceRect& other_area) +}*/ + +#ifdef USE_XRANDR_1_2 + +class SortRightToLeft { +public: + bool operator () (XMonitor* mon1, XMonitor* mon2) const + { + return mon1->get_trans_area().right > mon2->get_trans_area().right; + } +}; + +typedef std::multiset<XMonitor*, SortRightToLeft> PushLeftSet; + +class LeftVariant { +public: + + static void get_area_in_front(const SpiceRect& base, int size, SpiceRect& area) + { + area.right = base.left; + area.left = area.right - size; + area.bottom = base.bottom; + area.top = base.top; + } + + static int get_push_distance(const SpiceRect& fix_area, const SpiceRect& other) + { + return other.right - fix_area.left; + } + + static int get_head(const SpiceRect& area) + { + return area.left; + } + + static int get_tail(const SpiceRect& area) + { + return area.right; + } + + static void move_head(SpiceRect& area, int delta) + { + area.left -= delta; + ASSERT(area.right >= area.left); + } + + static int get_pull_distance(const SpiceRect& fix_area, const SpiceRect& other) + { + return other.left - fix_area.right; + } + + static void offset(SpiceRect& area, int delta) + { + rect_offset(area, -delta, 0); + } + + static void shrink(SpiceRect& area, int delta) + { + area.right -= delta; + ASSERT(area.right > area.left); + } + + static int get_distance(const SpiceRect& area, const SpiceRect& other_area) + { + return other_area.left - area.left; + } + + static bool is_on_tail(const SpiceRect& area, const SpiceRect& other_area) + { + return area.right == other_area.left && other_area.top < area.bottom && + other_area.bottom > area.top; + } + + static bool is_on_perpendiculars(const SpiceRect& area, const SpiceRect& other_area) + { + return (other_area.bottom == area.top || other_area.top == area.bottom) && + other_area.left < area.right && other_area.right > area.left; + } +}; + +class SortLeftToRight { +public: + bool operator () (XMonitor* mon1, XMonitor* mon2) const + { + return mon1->get_trans_area().left < mon2->get_trans_area().left; + } +}; + +typedef std::multiset<XMonitor*, SortLeftToRight> PushRightSet; + +class RightVariant { +public: + + static void get_area_in_front(const SpiceRect& base, int size, SpiceRect& area) + { + area.left = base.right; + area.right = area.left + size; + area.top = base.top; + area.bottom = base.bottom; + } + + static int get_push_distance(const SpiceRect& fix_area, const SpiceRect& other) + { + return fix_area.right - other.left; + } + + static int get_head(const SpiceRect& area) + { + return area.right; + } + + static int get_tail(const SpiceRect& area) + { + return area.left; + } + + static void move_head(SpiceRect& area, int delta) + { + area.right += delta; + ASSERT(area.right >= area.left); + } + + static int get_pull_distance(const SpiceRect& fix_area, const SpiceRect& other) + { + return fix_area.left - other.right; + } + + static void offset(SpiceRect& area, int delta) + { + rect_offset(area, delta, 0); + } + + static bool is_on_tail(const SpiceRect& area, const SpiceRect& other_area) + { + return other_area.right == area.left && other_area.top < area.bottom && + other_area.bottom > area.top; + } + + static bool is_on_perpendiculars(const SpiceRect& area, const SpiceRect& other_area) + { + return (other_area.bottom == area.top || other_area.top == area.bottom) && + other_area.left < area.right && other_area.right > area.left; + } +}; + +class SortBottomToTop { +public: + bool operator () (XMonitor* mon1, XMonitor* mon2) const + { + return mon1->get_trans_area().bottom > mon2->get_trans_area().bottom; + } +}; + +typedef std::multiset<XMonitor*, SortBottomToTop> PushTopSet; + +class TopVariant { +public: + static void get_area_in_front(const SpiceRect& base, int size, SpiceRect& area) + { + area.left = base.left; + area.right = base.right; + area.bottom = base.top; + area.top = area.bottom - size; + } + + static int get_push_distance(const SpiceRect& fix_area, const SpiceRect& other) + { + return other.bottom - fix_area.top; + } + + static int get_head(const SpiceRect& area) + { + return area.top; + } + + static int get_tail(const SpiceRect& area) + { + return area.bottom; + } + + static void move_head(SpiceRect& area, int delta) + { + area.top -= delta; + ASSERT(area.bottom >= area.top); + } + + static int get_pull_distance(const SpiceRect& fix_area, const SpiceRect& other) + { + return other.top - fix_area.bottom; + } + + static void offset(SpiceRect& area, int delta) + { + rect_offset(area, 0, -delta); + } + + static void shrink(SpiceRect& area, int delta) + { + area.bottom -= delta; + ASSERT(area.bottom > area.top); + } + + static int get_distance(const SpiceRect& area, const SpiceRect& other_area) + { + return other_area.top - area.top; + } + + static bool is_on_tail(const SpiceRect& area, const SpiceRect& other_area) + { + return area.bottom == other_area.top && other_area.left < area.right && + other_area.right > area.left; + } + + static bool is_on_perpendiculars(const SpiceRect& area, const SpiceRect& other_area) + { + return (other_area.right == area.left || other_area.left == area.right) && + other_area.top < area.bottom && other_area.bottom > area.top; + } +}; + +class SortTopToBottom { +public: + bool operator () (XMonitor* mon1, XMonitor* mon2) const + { + return mon1->get_trans_area().top < mon2->get_trans_area().top; + } +}; + +typedef std::multiset<XMonitor*, SortTopToBottom> PushBottomSet; + +class BottomVariant { +public: + + static void get_area_in_front(const SpiceRect& base, int size, SpiceRect& area) + { + area.left = base.left; + area.right = base.right; + area.top = base.bottom; + area.bottom = area.top + size; + } + + static int get_push_distance(const SpiceRect& fix_area, const SpiceRect& other) + { + return fix_area.bottom - other.top; + } + + static int get_head(const SpiceRect& area) + { + return area.bottom; + } + + static int get_tail(const SpiceRect& area) + { + return area.top; + } + + static void move_head(SpiceRect& area, int delta) + { + area.bottom += delta; + ASSERT(area.bottom >= area.top); + } + + static int get_pull_distance(const SpiceRect& fix_area, const SpiceRect& other) + { + return fix_area.top - other.bottom; + } + + static void offset(SpiceRect& area, int delta) + { + rect_offset(area, 0, delta); + } + + static bool is_on_tail(const SpiceRect& area, const SpiceRect& other_area) + { + return other_area.bottom == area.top && other_area.left < area.right && + other_area.right > area.left; + } + + static bool is_on_perpendiculars(const SpiceRect& area, const SpiceRect& other_area) + { + return (other_area.right == area.left || other_area.left == area.right) && + other_area.top < area.bottom && other_area.bottom > area.top; + } +}; + +volatile int wait_for_me = false; + +template <class Variant> +static void bounce_back(XMonitor& monitor, const XMonitorsList& monitors, int head, int distance) +{ + ASSERT(distance > 0); + while (wait_for_me); + + for (XMonitorsList::const_iterator iter = monitors.begin(); iter != monitors.end(); iter++) { + SpiceRect& area = (*iter)->get_trans_area(); + if (Variant::get_tail(area) == head && (*iter)->get_pusher() == &monitor) { + Variant::offset(area, -distance); + bounce_back<Variant>(**iter, monitors, Variant::get_head(area) + distance, distance); + //todo: pull_back monitors on perpendiculars + } + } +} + +template <class Variant, class SortList, class SortListIter> +static int push(XMonitor& pusher, XMonitor& monitor, const XMonitorsList& monitors, int delta) +{ + monitor.pin(); + monitor.set_pusher(pusher); + + SortList sort; + XMonitorsList::const_iterator iter = monitors.begin(); + for (; iter != monitors.end(); iter++) { + if (*iter == &monitor) { + continue; + } + sort.insert(*iter); + } + + SpiceRect area_to_clear; + Variant::get_area_in_front(monitor.get_trans_area(), delta, area_to_clear); + + SortListIter sort_iter = sort.begin(); + + for (; sort_iter != sort.end(); sort_iter++) { + const SpiceRect& other_area = (*sort_iter)->get_trans_area(); + + if (rect_intersects(area_to_clear, other_area)) { + int distance = Variant::get_push_distance(area_to_clear, other_area); + ASSERT(distance > 0); + if (!(*sort_iter)->is_pinned()) { + distance = distance - push<Variant, SortList, SortListIter>(monitor, **sort_iter, + monitors, distance); + } + + if (distance) { + delta -= distance; + bounce_back<Variant>(monitor, monitors, Variant::get_head(area_to_clear), distance); + Variant::move_head(area_to_clear, -distance); + } + } + } + Variant::offset(monitor.get_trans_area(), delta); + + const SpiceRect& area = monitor.get_prev_area(); + for (iter = monitors.begin(); iter != monitors.end(); iter++) { + if ((*iter)->is_pinned()) { + continue; + } + + const SpiceRect& other_area = (*iter)->get_prev_area(); + if (Variant::is_on_perpendiculars(area, other_area)) { + int current_distance = Variant::get_pull_distance(monitor.get_trans_area(), + (*iter)->get_trans_area()); + int base_distance = Variant::get_pull_distance(area, other_area); + int distance = current_distance - base_distance; + if (distance > 0) { + push<Variant, SortList, SortListIter>(monitor, **iter, monitors, distance); + } + } else if (Variant::is_on_tail(area, other_area)) { + int distance = Variant::get_pull_distance(monitor.get_trans_area(), + (*iter)->get_trans_area()); + ASSERT(distance >= 0); + push<Variant, SortList, SortListIter>(monitor, **iter, monitors, distance); + } + } + return delta; +} + +template <class Variant> +static void pin(XMonitor& monitor, const XMonitorsList& monitors) +{ + const SpiceRect& area = monitor.get_trans_area(); + + for (XMonitorsList::const_iterator iter = monitors.begin(); iter != monitors.end(); iter++) { + const SpiceRect& other_area = (*iter)->get_trans_area(); + if ((*iter)->is_pinned()) { + continue; + } + if (Variant::is_on_tail(other_area, area) || + Variant::is_on_perpendiculars(area, other_area)) { + (*iter)->pin(); + pin<Variant>(**iter, monitors); + } + } +} + +template <class Variant, class SortList, class SortListIter> +static void shrink(XMonitor& monitor, const XMonitorsList& monitors, int delta) +{ + monitor.pin(); + pin<Variant>(monitor, monitors); + ASSERT(delta > 0); + + SortList sort; + XMonitorsList::const_iterator iter = monitors.begin(); + for (; iter != monitors.end(); iter++) { + if (*iter == &monitor) { + continue; + } + sort.insert(*iter); + } + + const SpiceRect area = monitor.get_trans_area(); + Variant::shrink(monitor.get_trans_area(), delta); + for (SortListIter sort_iter = sort.begin(); sort_iter != sort.end(); sort_iter++) { + const SpiceRect& other_area = (*sort_iter)->get_trans_area(); + if (Variant::is_on_perpendiculars(area, other_area)) { + int distance = Variant::get_distance(area, other_area); + if (distance > 0) { + distance = MIN(distance, delta); + push<Variant, SortList, SortListIter>(monitor, **sort_iter, monitors, distance); + } + } else if (Variant::is_on_tail(area, other_area)) { + push<Variant, SortList, SortListIter>(monitor, **sort_iter, monitors, delta); + } + } +} + +template <class Variant, class SortList, class SortListIter> +static void expand(XMonitor& monitor, const XMonitorsList& monitors, int delta) +{ + monitor.pin(); + ASSERT(delta > 0); + + SortList sort; + XMonitorsList::const_iterator iter = monitors.begin(); + for (; iter != monitors.end(); iter++) { + if (*iter == &monitor) { + continue; + } + sort.insert(*iter); + } + + SpiceRect area_to_clear; + Variant::get_area_in_front(monitor.get_trans_area(), delta, area_to_clear); + + for (SortListIter sort_iter = sort.begin(); sort_iter != sort.end(); sort_iter++) { + const SpiceRect& other_area = (*sort_iter)->get_trans_area(); + + if (rect_intersects(area_to_clear, other_area)) { + int distance = Variant::get_push_distance(area_to_clear, other_area); + ASSERT(distance > 0); + ASSERT(!(*sort_iter)->is_pinned()); +#ifdef RED_DEBUG + int actual = +#endif + push<Variant, SortList, SortListIter>(monitor, **sort_iter, monitors, distance); + ASSERT(actual == distance); + } + } + Variant::move_head(monitor.get_trans_area(), delta); +} + +bool MultyMonScreen::set_monitor_mode(XMonitor& monitor, const XRRModeInfo& mode_info) +{ + if (is_broken()) { + return false; + } + + SpicePoint size = monitor.get_size(); + int dx = mode_info.width - size.x; + int dy = mode_info.height - size.y; + + XMonitorsList::iterator iter = _monitors.begin(); + + for (; iter != _monitors.end(); iter++) { + (*iter)->begin_trans(); + } + + if (dx > 0) { + expand<RightVariant, PushRightSet, PushRightSet::iterator>(monitor, _monitors, dx); + } else if (dx < 0) { + shrink<LeftVariant, PushLeftSet, PushLeftSet::iterator>(monitor, _monitors, -dx); + } + + for (iter = _monitors.begin(); iter != _monitors.end(); iter++) { + (*iter)->push_trans(); + } + + if (dy > 0) { + expand<BottomVariant, PushBottomSet, PushBottomSet::iterator>(monitor, _monitors, dy); + } else if (dy < 0) { + shrink<TopVariant, PushTopSet, PushTopSet::iterator>(monitor, _monitors, -dy); + } + + int screen_width; + int screen_height; + + get_trans_size(screen_width, screen_height); + + if (screen_width > _max_width || screen_height > _max_height) { + return false; + } + + screen_width = MAX(screen_width, _min_width); + screen_height = MAX(screen_height, _min_height); + + XMonitor::inc_change_ref(); + disable(); + for (iter = _monitors.begin(); iter != _monitors.end(); iter++) { + (*iter)->commit_trans_position(); + } + X_DEBUG_SYNC(get_display()); + monitor.set_mode(mode_info); + set_size(screen_width, screen_height); + enable(); + process_monitor_configure_events(platform_win); + XMonitor::dec_change_ref(); + X_DEBUG_SYNC(get_display()); + return true; +} + +XMonitor::XMonitor(MultyMonScreen& container, int id, RRCrtc crtc) + : Monitor(id) + , _container (container) + , _crtc (crtc) + , _out_of_sync (false) +{ + update_position(); + _saved_position = _position; + _saved_size = _size; + _saved_mode = _mode; + _saved_rotation = _rotation; +} + +XMonitor::~XMonitor() +{ + while (!_clones.empty()) { + XMonitor* clone = _clones.front(); + _clones.pop_front(); + delete clone; + } + delete[] _outputs; +} + +void XMonitor::update_position() +{ + Display* display = _container.get_display(); + X_DEBUG_SYNC(display); + Window root_window = RootWindow(display, _container.get_screen()); + + XLockDisplay(display); + AutoScreenRes res(XRRGetScreenResources(display, root_window)); + XUnlockDisplay(display); + + if (!res.valid()) { + THROW("get screen resources failed"); + } + + XLockDisplay(display); + AutoCrtcInfo crtc_info(XRRGetCrtcInfo(display, res.get(), _crtc)); + XUnlockDisplay(display); + + ASSERT(crtc_info->noutput); + + _position.x = crtc_info->x; + _position.y = crtc_info->y; + _size.x = crtc_info->width; + _size.y = crtc_info->height; + + switch (crtc_info->rotation & 0xf) { + case RR_Rotate_0: + _red_rotation = RED_SCREEN_ROTATION_0; + break; + case RR_Rotate_90: + _red_rotation = RED_SCREEN_ROTATION_90; + break; + case RR_Rotate_180: + _red_rotation = RED_SCREEN_ROTATION_180; + break; + case RR_Rotate_270: + _red_rotation = RED_SCREEN_ROTATION_270; + break; + default: + THROW("invalid rotation"); + } + + if (crtc_info->noutput > 1) { + //todo: set valid subpixel order in case all outputs share the same type + _subpixel_order = RED_SUBPIXEL_ORDER_UNKNOWN; + } else { + XLockDisplay(display); + AutoOutputInfo output_info(XRRGetOutputInfo(display, res.get(), crtc_info->outputs[0])); + XUnlockDisplay(display); + + switch (output_info->subpixel_order) { + case SubPixelUnknown: + _subpixel_order = RED_SUBPIXEL_ORDER_UNKNOWN; + break; + case SubPixelHorizontalRGB: + _subpixel_order = RED_SUBPIXEL_ORDER_H_RGB; + break; + case SubPixelHorizontalBGR: + _subpixel_order = RED_SUBPIXEL_ORDER_H_BGR; + break; + case SubPixelVerticalRGB: + _subpixel_order = RED_SUBPIXEL_ORDER_V_RGB; + break; + case SubPixelVerticalBGR: + _subpixel_order = RED_SUBPIXEL_ORDER_V_BGR; + break; + case SubPixelNone: + _subpixel_order = RED_SUBPIXEL_ORDER_NONE; + break; + default: + THROW("invalid subpixel order"); + } + } + + _mode = crtc_info->mode; + _rotation = crtc_info->rotation; + _noutput = crtc_info->noutput; + _outputs = new RROutput[_noutput]; + memcpy(_outputs, crtc_info->outputs, _noutput * sizeof(RROutput)); + X_DEBUG_SYNC(display); +} + +bool XMonitor::find_mode_in_outputs(RRMode mode, int start_index, XRRScreenResources* res) +{ + int i, j; + bool retval = true; + + X_DEBUG_SYNC(_container.get_display()); + XLockDisplay(_container.get_display()); + for (i = start_index; i < _noutput; i++) { + AutoOutputInfo output_info(XRRGetOutputInfo(_container.get_display(), res, _outputs[i])); + for (j = 0; j < output_info->nmode; j++) { + if (output_info->modes[j] == mode) { + break; + } + } + if (j == output_info->nmode) { + retval = false; + break; + } + } + XUnlockDisplay(_container.get_display()); + X_DEBUG_SYNC(_container.get_display()); + return retval; +} + +bool XMonitor::find_mode_in_clones(RRMode mode, XRRScreenResources* res) +{ + XMonitorsList::iterator iter = _clones.begin(); + for (; iter != _clones.end(); iter++) { + if (!(*iter)->find_mode_in_outputs(mode, 0, res)) { + return false; + } + } + return true; +} + +class ModeInfo { +public: + ModeInfo(int int_index, XRRModeInfo* in_info) : index (int_index), info (in_info) {} + + int index; + XRRModeInfo* info; +}; + +class ModeCompare { +public: + bool operator () (const ModeInfo& mode1, const ModeInfo& mode2) const + { + int area1 = mode1.info->width * mode1.info->height; + int area2 = mode2.info->width * mode2.info->height; + return area1 < area2 || (area1 == area2 && mode1.index < mode2.index); + } +}; + +XRRModeInfo* XMonitor::find_mode(unsigned int width, unsigned int height, XRRScreenResources* res) +{ + typedef std::set<ModeInfo, ModeCompare> ModesSet; + ModesSet modes_set; + X_DEBUG_SYNC(_container.get_display()); + + XLockDisplay(_container.get_display()); + AutoOutputInfo output_info(XRRGetOutputInfo(_container.get_display(), res, _outputs[0])); + XUnlockDisplay(_container.get_display()); + + for (int i = 0; i < output_info->nmode; i++) { + XRRModeInfo* mode_inf = find_mod(res, output_info->modes[i]); + if (mode_inf->width >= width && mode_inf->height >= height) { + modes_set.insert(ModeInfo(i, mode_inf)); + } + } + + while (!modes_set.empty()) { + ModesSet::iterator iter = modes_set.begin(); + + if (!find_mode_in_outputs((*iter).info->id, 1, res)) { + modes_set.erase(iter); + continue; + } + + if (!find_mode_in_clones((*iter).info->id, res)) { + modes_set.erase(iter); + continue; + } + return (*iter).info; + } + X_DEBUG_SYNC(_container.get_display()); + return NULL; +} + +void XMonitor::do_set_mode(int width, int height) +{ + if (width == _size.x && height == _size.y) { + _out_of_sync = false; + return; + } + Display* display = _container.get_display(); + X_DEBUG_SYNC(display); + Window root_window = RootWindow(display, _container.get_screen()); + + XLockDisplay(display); + AutoScreenRes res(XRRGetScreenResources(display, root_window)); + XUnlockDisplay(display); + + if (!res.valid()) { + THROW("get screen resource failed"); + } + XRRModeInfo* mode_info = find_mode(width, height, res.get()); + + if (!mode_info || !_container.set_monitor_mode(*this, *mode_info)) { + _out_of_sync = true; + X_DEBUG_SYNC(display); + return; + } + _out_of_sync = false; +} + +void XMonitor::revert() +{ + _position = _saved_position; + _size = _saved_size; + _mode = _saved_mode; + _rotation = _saved_rotation; + XMonitorsList::iterator iter = _clones.begin(); + for (; iter != _clones.end(); iter++) { + (*iter)->revert(); + } +} + +void XMonitor::disable() +{ + Display* display = _container.get_display(); + X_DEBUG_SYNC(display); + Window root_window = RootWindow(display, _container.get_screen()); + + XLockDisplay(display); + AutoScreenRes res(XRRGetScreenResources(display, root_window)); + XUnlockDisplay(display); + + if (!res.valid()) { + THROW("get screen resources failed"); + } + XLockDisplay(display); + XRRSetCrtcConfig(display, res.get(), _crtc, CurrentTime, + 0, 0, None, RR_Rotate_0, NULL, 0); + XUnlockDisplay(display); + + XMonitorsList::iterator iter = _clones.begin(); + for (; iter != _clones.end(); iter++) { + (*iter)->disable(); + } + XFlush(x_display); + X_DEBUG_SYNC(display); +} + +void XMonitor::enable() +{ + Display* display = _container.get_display(); + X_DEBUG_SYNC(display); + Window root_window = RootWindow(display, _container.get_screen()); + + XLockDisplay(display); + AutoScreenRes res(XRRGetScreenResources(display, root_window)); + XUnlockDisplay(display); + + if (!res.valid()) { + THROW("get screen resources failed"); + } + XLockDisplay(display); + XRRSetCrtcConfig(display, res.get(), _crtc, CurrentTime, + _position.x, _position.y, + _mode, _rotation, + _outputs, _noutput); + XUnlockDisplay(display); + + XMonitorsList::iterator iter = _clones.begin(); + for (; iter != _clones.end(); iter++) { + (*iter)->enable(); + } + XFlush(x_display); + X_DEBUG_SYNC(display); +} + +bool XMonitor::mode_changed() +{ + return _size.x != _saved_size.x || _size.y != _saved_size.y || + _mode != _saved_mode || _rotation != _saved_rotation; +} + +bool XMonitor::position_changed() +{ + return _position.x != _saved_position.x || _position.y != _saved_position.y; +} + +void XMonitor::do_restore() +{ + if (!mode_changed()) { + return; + } + _container.restore(); +} + +int XMonitor::get_depth() +{ + return XPlatform::get_vinfo()[0]->depth; +} + +SpicePoint XMonitor::get_position() +{ + return _position; +} + +SpicePoint XMonitor::get_size() const +{ + return _size; +} + +bool XMonitor::is_out_of_sync() +{ + return _out_of_sync; +} + +void XMonitor::add_clone(XMonitor *clone) +{ + _clones.push_back(clone); +} + +const SpiceRect& XMonitor::get_prev_area() +{ + return _trans_area[_trans_depth - 1]; +} + +SpiceRect& XMonitor::get_trans_area() +{ + return _trans_area[_trans_depth]; +} + +void XMonitor::push_trans() +{ + _trans_depth++; + ASSERT(_trans_depth < MAX_TRANS_DEPTH); + _trans_area[_trans_depth] = _trans_area[_trans_depth - 1]; + _pin_count = 0; + _pusher = NULL; +} + +void XMonitor::begin_trans() +{ + _trans_area[0].left = _position.x; + _trans_area[0].right = _trans_area[0].left + _size.x; + _trans_area[0].top = _position.y; + _trans_area[0].bottom = _trans_area[0].top + _size.y; + _trans_area[1] = _trans_area[0]; + _trans_depth = 1; + _pin_count = 0; + _pusher = NULL; +} + +void XMonitor::commit_trans_position() +{ + _position.x = _trans_area[_trans_depth].left; + _position.y = _trans_area[_trans_depth].top; + XMonitorsList::iterator iter = _clones.begin(); + for (; iter != _clones.end(); iter++) { + (*iter)->_position = _position; + } +} + +void XMonitor::set_mode(const XRRModeInfo& mode) +{ + _mode = mode.id; + _size.x = mode.width; + _size.y = mode.height; + XMonitorsList::iterator iter = _clones.begin(); + for (; iter != _clones.end(); iter++) { + (*iter)->set_mode(mode); + } +} + +#endif + +#ifdef USE_XINERAMA_1_0 + +static XineramaScreenInfo* init_xinerama_screens(int* num_xin_screens) +{ + XineramaScreenInfo* xin_screens = NULL; + + if (using_xinerama_1_0 && ScreenCount(x_display) == 1) { + int ncrtc = 0; +#ifdef USE_XRANDR_1_2 + if (using_xrandr_1_2) { + AutoScreenRes res(XRRGetScreenResources(x_display, RootWindow(x_display, 0))); + if (res.valid()) { + ncrtc = res->ncrtc; + } + } +#endif + if (ncrtc < 2) { + xin_screens = XineramaQueryScreens(x_display, num_xin_screens); + } + } + if (xin_screens && *num_xin_screens < 2) { + XFree(xin_screens); + return NULL; + } + return xin_screens; +} + +#endif + +static MonitorsList monitors; +static Monitor* primary_monitor = NULL; + +typedef std::list<XScreen*> ScreenList; +static ScreenList screens; + +const MonitorsList& Platform::init_monitors() +{ + int next_mon_id = 0; + ASSERT(screens.empty()); + +#ifdef USE_XINERAMA_1_0 + int num_xin_screens; + XineramaScreenInfo* xin_screens = init_xinerama_screens(&num_xin_screens); + if (xin_screens) { + screens.push_back(new XineramaScreen(x_display, 0, next_mon_id, xin_screens, num_xin_screens)); + XFree(xin_screens); + } else +#endif +#ifdef USE_XRANDR_1_2 + if (using_xrandr_1_2) { + for (int i = 0; i < ScreenCount(x_display); i++) { + screens.push_back(new MultyMonScreen(x_display, i, next_mon_id)); + } + } else +#endif + if (using_xrandr_1_0) { + for (int i = 0; i < ScreenCount(x_display); i++) { + screens.push_back(new DynamicScreen(x_display, i, next_mon_id)); + } + } else { + for (int i = 0; i < ScreenCount(x_display); i++) { + screens.push_back(new StaticScreen(x_display, i, next_mon_id)); + } + } + + ASSERT(monitors.empty()); + ScreenList::iterator iter = screens.begin(); + for (; iter != screens.end(); iter++) { + (*iter)->publish_monitors(monitors); + } + MonitorsList::iterator mon_iter = monitors.begin(); + for (; mon_iter != monitors.end(); mon_iter++) { + Monitor *mon = *mon_iter; + if (mon->get_id() == 0) { + primary_monitor = mon; + break; + } + } + return monitors; +} + +void Platform::destroy_monitors() +{ + primary_monitor = NULL; + monitors.clear(); + while (!screens.empty()) { + XScreen* screen = screens.front(); + screens.pop_front(); + delete screen; + } +} + +bool Platform::is_monitors_pos_valid() +{ + return (ScreenCount(x_display) == 1); +} + +void Platform::get_app_data_dir(std::string& path, const std::string& app_name) +{ + const char* home_dir = getenv("HOME"); + + if (!home_dir || strlen(home_dir) == 0) { + throw Exception("get home dir failed"); + } + + path = home_dir; + std::string::iterator end = path.end(); + + while (end != path.begin() && *(end - 1) == '/') { + path.erase(--end); + } + + path += "/."; + path += app_name; + + if (mkdir(path.c_str(), 0700) == -1 && errno != EEXIST) { + throw Exception("create appdata dir failed"); + } +} + +void Platform::path_append(std::string& path, const std::string& partial_path) +{ + path += "/"; + path += partial_path; +} + +static void ensure_clipboard_data_space(uint32_t size) +{ + if (size > clipboard_data_space) { + free(clipboard_data); + clipboard_data = (uint8_t *)malloc(size); + assert(clipboard_data); + clipboard_data_space = size; + } +} + +static void send_selection_notify(Atom prop, int process_next_req) +{ + XEvent res, *event = &next_selection_request->event; + selection_request *old_request; + + res.xselection.property = prop; + res.xselection.type = SelectionNotify; + res.xselection.display = event->xselectionrequest.display; + res.xselection.requestor = event->xselectionrequest.requestor; + res.xselection.selection = event->xselectionrequest.selection; + res.xselection.target = event->xselectionrequest.target; + res.xselection.time = event->xselectionrequest.time; + XSendEvent(x_display, event->xselectionrequest.requestor, 0, 0, &res); + XFlush(x_display); + + old_request = next_selection_request; + next_selection_request = next_selection_request->next; + delete old_request; + + if (process_next_req) + handle_selection_request(); +} + +static void print_targets(const char *action, Atom *atoms, int c) +{ + int i; + + LOG_INFO("%s %d targets:", action, c); + for (i = 0; i < c; i++) + LOG_INFO("%s", atom_name(atoms[i])); +} + +static void send_targets(XEvent& request_event) +{ + Atom targets[256] = { targets_atom, }; + int i, j, k, target_count = 1; + + for (i = 0; i < clipboard_type_count; i++) { + for (j = 0; j < clipboard_format_count; j++) { + if (clipboard_formats[j].type != clipboard_agent_types[i]) { + continue; + } + for (k = 0; k < clipboard_formats[j].atom_count; k++) { + targets[target_count] = clipboard_formats[j].atoms[k]; + target_count++; + if (target_count == sizeof(targets)/sizeof(Atom)) { + LOG_WARN("sendtargets: too many targets"); + goto exit_loop; + } + } + } + } +exit_loop: + + Window requestor_win = request_event.xselectionrequest.requestor; + Atom prop = request_event.xselectionrequest.property; + if (prop == None) + prop = request_event.xselectionrequest.target; + + XChangeProperty(x_display, requestor_win, prop, XA_ATOM, 32, + PropModeReplace, (unsigned char *)&targets, + target_count); + print_targets("sent", targets, target_count); + send_selection_notify(prop, 1); +} + +static int get_selection(XEvent &event, Atom type, Atom prop, int format, + unsigned char **data_ret, bool incr) +{ + Bool del = incr ? True: False; + Atom type_ret; + int res, format_ret, ret_val = -1; + unsigned long len, remain; + unsigned char *data = NULL; + + if (incr) { + if (event.xproperty.atom != prop) { + LOG_WARN("PropertyNotify parameters mismatch"); + goto exit; + } + } else { + if (event.xselection.property == None) { + LOG_INFO("XConvertSelection refused by clipboard owner"); + goto exit; + } + + if (event.xselection.requestor != platform_win || + event.xselection.selection != clipboard_prop || + event.xselection.property != prop) { + LOG_WARN("SelectionNotify parameters mismatch"); + goto exit; + } + } + + /* Warning we are running with the clipboard_lock held!! That is ok, as + there is no code holding XLockDisplay which calls code taking + the clipboard_lock!! */ + XLockDisplay(x_display); + res = XGetWindowProperty(x_display, platform_win, prop, 0, + LONG_MAX, del, type, &type_ret, &format_ret, &len, + &remain, &data); + XUnlockDisplay(x_display); + if (res != Success) { + LOG_WARN("XGetWindowProperty failed"); + goto exit; + } + + if (!incr) { + if (type_ret == incr_atom) { + if (waiting_for_property_notify) { + LOG_WARN("received an incr property notify while still reading another incr property"); + goto exit; + } + XSelectInput(x_display, platform_win, PropertyChangeMask); + XDeleteProperty(x_display, platform_win, prop); + XFlush(x_display); + waiting_for_property_notify = true; + ensure_clipboard_data_space(*(uint32_t*)data); + XFree(data); + return 0; /* Wait for more data */ + } + XDeleteProperty(x_display, platform_win, prop); + XFlush(x_display); + } + + if (type_ret != type) { + LOG_WARN("expected property type: %s, got: %s", atom_name(type), + atom_name(type_ret)); + goto exit; + } + + if (format_ret != format) { + LOG_WARN("expected %d bit format, got %d bits", format, format_ret); + goto exit; + } + + /* Convert len to bytes */ + switch(format) { + case 8: + break; + case 16: + len *= sizeof(short); + break; + case 32: + len *= sizeof(long); + break; + } + + if (incr) { + if (len) { + if (clipboard_data_size + len > clipboard_data_space) { + clipboard_data_space = clipboard_data_size + len; + clipboard_data = (uint8_t *)realloc(clipboard_data, clipboard_data_space); + assert(clipboard_data); + } + memcpy(clipboard_data + clipboard_data_size, data, len); + clipboard_data_size += len; + LOG_INFO("Appended %d bytes to buffer", len); + XFree(data); + return 0; /* Wait for more data */ + } + len = clipboard_data_size; + *data_ret = clipboard_data; + } else { + if (len > 0) + *data_ret = data; + else + *data_ret = NULL; + } + + if (len > 0) + ret_val = len; + else + LOG_WARN("property contains no data (zero length)"); + +exit: + if ((incr || ret_val == -1) && data) + XFree(data); + + if (incr) { + clipboard_data_size = 0; + waiting_for_property_notify = false; + } + + return ret_val; +} + +static void get_selection_free(unsigned char *data, bool incr) +{ + if (incr) { + /* If the clipboard was large return the memory to the system */ + if (clipboard_data_space > 512 * 1024) { + free(clipboard_data); + clipboard_data = NULL; + clipboard_data_space = 0; + } + } else if (data) + XFree(data); +} + +static Atom atom_lists_overlap(Atom *atoms1, Atom *atoms2, int l1, int l2) +{ + int i, j; + + for (i = 0; i < l1; i++) + for (j = 0; j < l2; j++) + if (atoms1[i] == atoms2[j]) + return atoms1[i]; + + return 0; +} + +static void handle_targets_notify(XEvent& event, bool incr) +{ + int i, len; + Lock lock(clipboard_lock); + Atom atom, *atoms = NULL; + + if (!expected_targets_notifies) { + LOG_WARN("unexpected selection notify TARGETS"); + return; + } + expected_targets_notifies--; + + /* If we have more targets_notifies pending, ignore this one, we + are only interested in the targets list of the current owner + (which is the last one we've requested a targets list from) */ + if (expected_targets_notifies) + return; + + len = get_selection(event, XA_ATOM, targets_atom, 32, + (unsigned char **)&atoms, incr); + if (len == 0 || len == -1) /* waiting for more data or error? */ + return; + + /* bytes -> atoms */ + len /= sizeof(Atom); + print_targets("received", atoms, len); + + clipboard_type_count = 0; + for (i = 0; i < clipboard_format_count; i++) { + atom = atom_lists_overlap(clipboard_formats[i].atoms, atoms, + clipboard_formats[i].atom_count, len); + if (atom) { + clipboard_agent_types[clipboard_type_count] = + clipboard_formats[i].type; + clipboard_x11_targets[clipboard_type_count] = atom; + clipboard_type_count++; + if (clipboard_type_count == + sizeof(clipboard_agent_types)/sizeof(uint32_t)) { + LOG_WARN("handle_targets_notify: too many matching types"); + break; + } + } + } + + if (clipboard_type_count) + clipboard_listener->on_clipboard_grab(clipboard_agent_types, + clipboard_type_count); + + get_selection_free((unsigned char *)atoms, incr); +} + +static void handle_selection_notify(XEvent& event, bool incr) +{ + int len = -1; + uint32_t type = get_clipboard_type(clipboard_request_target); + unsigned char *data = NULL; + + if (clipboard_request_target == None) + LOG_INFO("SelectionNotify received without a target"); + else if (!incr && + event.xselection.target != clipboard_request_target && + event.xselection.target != incr_atom) + LOG_WARN("Requested %s target got %s", + atom_name(clipboard_request_target), + atom_name(event.xselection.target)); + else + len = get_selection(event, clipboard_request_target, clipboard_prop, + 8, &data, incr); + + if (len == 0) /* waiting for more data? */ + return; + if (len == -1) { + type = VD_AGENT_CLIPBOARD_NONE; + len = 0; + } + + clipboard_listener->on_clipboard_notify(type, data, len); + clipboard_request_target = None; + get_selection_free(data, incr); +} + +static void handle_selection_request() +{ + XEvent *event; + uint32_t type = VD_AGENT_CLIPBOARD_NONE; + + if (!next_selection_request) + return; + + event = &next_selection_request->event; + + if (Platform::get_clipboard_owner() != Platform::owner_guest) { + LOG_INFO("received selection request event for target %s, " + "while clipboard not owned by guest", + atom_name(event->xselectionrequest.target)); + send_selection_notify(None, 1); + return; + } + + if (event->xselectionrequest.target == multiple_atom) { + LOG_WARN("multiple target not supported"); + send_selection_notify(None, 1); + return; + } + + if (event->xselectionrequest.target == targets_atom) { + send_targets(*event); + return; + } + + type = get_clipboard_type(event->xselectionrequest.target); + if (type == VD_AGENT_CLIPBOARD_NONE) { + send_selection_notify(None, 1); + return; + } + + clipboard_listener->on_clipboard_request(type); +} + +static void root_win_proc(XEvent& event) +{ + +#ifdef USE_XRANDR_1_2 + ASSERT(using_xrandr_1_0 || using_xrandr_1_2); +#else + ASSERT(using_xrandr_1_0); +#endif + if (event.type == ConfigureNotify || event.type - xrandr_event_base == RRScreenChangeNotify) { + XRRUpdateConfiguration(&event); + if (event.type - xrandr_event_base == RRScreenChangeNotify) { + display_mode_listener->on_display_mode_change(); + } + + if (Monitor::is_self_change()) { + return; + } + + ScreenList::iterator iter = screens.begin(); + for (; iter != screens.end(); iter++) { + (*iter)->set_broken(); + } + event_listener->on_monitors_change(); + return; + } + if (event.type == XFixesSelectionNotify + xfixes_event_base) { + XFixesSelectionNotifyEvent* selection_event = (XFixesSelectionNotifyEvent *)&event; + switch (selection_event->subtype) { + case XFixesSetSelectionOwnerNotify: + break; + /* Treat ... as a SelectionOwnerNotify None */ + case XFixesSelectionWindowDestroyNotify: + case XFixesSelectionClientCloseNotify: + selection_event->owner = None; + break; + default: + LOG_INFO("Unsupported selection event %u", selection_event->subtype); + return; + } + LOG_INFO("XFixesSetSelectionOwnerNotify %u", + (unsigned int)selection_event->owner); + + /* Ignore becoming the owner ourselves */ + if (selection_event->owner == platform_win) + return; + + /* If the clipboard owner is changed we no longer own it */ + Platform::set_clipboard_owner(Platform::owner_none); + if (selection_event->owner == None) + return; + + /* Request the supported targets from the new owner */ + XConvertSelection(x_display, clipboard_prop, targets_atom, + targets_atom, platform_win, CurrentTime); + XFlush(x_display); + expected_targets_notifies++; + return; + } + switch (event.type) { + case SelectionRequest: { + Lock lock(clipboard_lock); + struct selection_request *req, *new_req; + + new_req = new selection_request; + assert(new_req); + + new_req->event = event; + new_req->next = NULL; + + if (!next_selection_request) { + next_selection_request = new_req; + handle_selection_request(); + break; + } + + /* maybe we should limit the selection_request stack depth ? */ + req = next_selection_request; + while (req->next) + req = req->next; + + req->next = new_req; + break; + } + case SelectionClear: + /* Do nothing the clipboard ownership will get updated through + the XFixesSetSelectionOwnerNotify event */ + break; + case SelectionNotify: + if (event.xselection.target == targets_atom) + handle_targets_notify(event, false); + else + handle_selection_notify(event, false); + break; + case PropertyNotify: + if (!waiting_for_property_notify || event.xproperty.state != PropertyNewValue) { + break; + } + if (event.xproperty.atom == targets_atom) + handle_targets_notify(event, true); + else + handle_selection_notify(event, true); + break; + default: + return; + } +} + +static void process_monitor_configure_events(Window root) +{ + XEvent event; + + XLockDisplay(x_display); + XSync(x_display, False); + + while (XCheckTypedWindowEvent(x_display, root, ConfigureNotify, &event)) { + XUnlockDisplay(x_display); + root_win_proc(event); + XLockDisplay(x_display); + } + + while (XCheckTypedWindowEvent(x_display, root, xrandr_event_base + RRScreenChangeNotify, + &event)) { + XUnlockDisplay(x_display); + root_win_proc(event); + XLockDisplay(x_display); + } + + XUnlockDisplay(x_display); +} + +static void cleanup(void) +{ + int i; + + DBG(0, ""); + if (!Monitor::is_self_change()) { + Platform::destroy_monitors(); + } + if (vinfo) { + for (i = 0; i < ScreenCount(x_display); ++i) { + XFree(vinfo[i]); + } + delete[] vinfo; + vinfo = NULL; + } +#ifdef USE_OPENGL + if (fb_config) { + for (i = 0; i < ScreenCount(x_display); ++i) { + if (fb_config[i]) { + XFree(fb_config[i]); + } + } + delete fb_config; + fb_config = NULL; + } +#endif // USE_OPENGL +} + +static void quit_handler(int sig) +{ + LOG_INFO("signal %d", sig); + Platform::send_quit_request(); +} + +static void abort_handler(int sig) +{ + LOG_INFO("signal %d", sig); + Platform::destroy_monitors(); +} + +static void init_xrandr() +{ + Bool xrandr_ext = XRRQueryExtension(x_display, &xrandr_event_base, &xrandr_error_base); + if (xrandr_ext) { + XRRQueryVersion(x_display, &xrandr_major, &xrandr_minor); + if (xrandr_major < 1) { + return; + } +#ifdef USE_XRANDR_1_2 + if (xrandr_major == 1 && xrandr_minor < 2) { + using_xrandr_1_0 = true; + return; + } + using_xrandr_1_2 = true; +#else + using_xrandr_1_0 = true; +#endif + } +} + +static void init_xrender() +{ + int event_base; + int error_base; + int major; + int minor; + + using_xrender_0_5 = XRenderQueryExtension(x_display, &event_base, &error_base) && + XRenderQueryVersion(x_display, &major, &minor) && (major > 0 || minor >= 5); +} + +static void init_xinerama() +{ +#ifdef USE_XINERAMA_1_0 + int event_base; + int error_base; + int major; + int minor; + + using_xinerama_1_0 = XineramaQueryExtension(x_display, &event_base, &error_base) && + XineramaQueryVersion(x_display, &major, &minor) && major >= 1 && minor >= 0 && + XineramaIsActive(x_display); +#endif +} + +static void init_xfixes() +{ + int major; + int minor; + + using_xfixes_1_0 = XFixesQueryExtension(x_display, &xfixes_event_base, &xfixes_error_base) && + XFixesQueryVersion(x_display, &major, &minor) && major >= 1; +} + +static void init_kbd() +{ + int xkb_major = XkbMajorVersion; + int xkb_minor = XkbMinorVersion; + int opcode; + int event; + int error; + + if (!XkbLibraryVersion(&xkb_major, &xkb_minor) || + !XkbQueryExtension(x_display, &opcode, &event, &error, &xkb_major, &xkb_minor)) { + return; + } + caps_lock_mask = XkbKeysymToModifiers(x_display, XK_Caps_Lock); + num_lock_mask = XkbKeysymToModifiers(x_display, XK_Num_Lock); +} + +static void init_XIM() +{ + char app_name[20]; + strcpy(app_name, "spicec"); + + XSetLocaleModifiers(""); + x_input_method = XOpenIM(x_display, NULL, app_name, app_name); + + if (!x_input_method) { + return; + } + + x_input_context = XCreateIC(x_input_method, XNInputStyle, XIMPreeditNone | XIMStatusNone, NULL); + + if (!x_input_context) { + THROW("create IC failed"); + } +} + +static int x_error_handler(Display* display, XErrorEvent* error_event) +{ + char error_str[256]; + char request_str[256]; + char number_str[32]; + + if (handle_x_error) { + if (error_event->error_code) { + x_error_code = error_event->error_code; + } + return 0; + } + + char* display_name = XDisplayString(display); + XGetErrorText(display, error_event->error_code, error_str, sizeof(error_str)); + + if (error_event->request_code < 128) { + snprintf(number_str, sizeof(number_str), "%d", error_event->request_code); + XGetErrorDatabaseText(display, "XRequest", number_str, "", + request_str, sizeof(request_str)); + } else { + snprintf(request_str, sizeof(request_str), "%d", error_event->request_code); + } + + LOG_ERROR("x error on display %s error %s minor %u request %s", + display_name, + error_str, + (uint32_t)error_event->minor_code, + request_str); + _exit(-1); + return 0; +} + +static SPICE_GNUC_NORETURN int x_io_error_handler(Display* display) +{ + LOG_ERROR("x io error on %s", XDisplayString(display)); + _exit(-1); +} + +static XVisualInfo* get_x_vis_info(int screen) +{ + XVisualInfo vtemplate; + int count; + + Visual* visual = DefaultVisualOfScreen(ScreenOfDisplay(x_display, screen)); + vtemplate.screen = screen; + vtemplate.visualid = XVisualIDFromVisual(visual); + return XGetVisualInfo(x_display, VisualIDMask | VisualScreenMask, &vtemplate, &count); +} + +void Platform::init() +{ +#ifdef USE_OPENGL + int err, ev; + int threads_enable; +#endif // USE_OPENGL + int major, minor; + Bool pixmaps; + + DBG(0, ""); + + setlocale(LC_ALL, ""); + +#ifdef USE_OPENGL + threads_enable = XInitThreads(); +#else + XInitThreads(); +#endif + + if (!(x_display = XOpenDisplay(NULL))) { + THROW("open X display failed"); + } + + if (XShmQueryExtension (x_display) && + XShmQueryVersion (x_display, &major, &minor, &pixmaps)) { + x_shm_avail = true; + } + + vinfo = new XVisualInfo *[ScreenCount(x_display)]; + memset(vinfo, 0, sizeof(XVisualInfo *) * ScreenCount(x_display)); + screen_format = new RedDrawable::Format[ScreenCount(x_display)]; + memset(screen_format, 0, sizeof(RedDrawable::Format) * ScreenCount(x_display)); +#ifdef USE_OPENGL + fb_config = new GLXFBConfig *[ScreenCount(x_display)]; + memset(fb_config, 0, sizeof(GLXFBConfig *) * ScreenCount(x_display)); + + if (threads_enable && glXQueryExtension(x_display, &err, &ev)) { + int num_configs; + int attrlist[] = { + GLX_RENDER_TYPE, GLX_RGBA_BIT, + GLX_DRAWABLE_TYPE, GLX_PBUFFER_BIT | GLX_WINDOW_BIT, + GLX_X_VISUAL_TYPE, GLX_TRUE_COLOR, + GLX_RED_SIZE, 8, + GLX_GREEN_SIZE, 8, + GLX_BLUE_SIZE, 8, + GLX_ALPHA_SIZE, 8, + GLX_STENCIL_SIZE, 4, + GLX_DEPTH_SIZE, 0, + None + }; + + for (int i = 0; i < ScreenCount(x_display); ++i) { + fb_config[i] = glXChooseFBConfig(x_display, i, attrlist, &num_configs); + if (fb_config[i] != NULL) { + ASSERT(num_configs > 0); + vinfo[i] = glXGetVisualFromFBConfig(x_display, fb_config[i][0]); + } + + if (vinfo[i] == NULL) { + if (fb_config[i]) { + XFree(fb_config[i]); + fb_config[i] = NULL; + } + vinfo[i] = get_x_vis_info(i); + } + } + } else +#else // !USE_OPENGL + { + for (int i = 0; i < ScreenCount(x_display); ++i) { + vinfo[i] = get_x_vis_info(i); + } + } +#endif // USE_OPENGL + + for (int i = 0; i < ScreenCount(x_display); ++i) { + if (vinfo[i] == NULL) { + THROW("Unable to find a visual for screen"); + } + if ((vinfo[i]->depth == 32 || vinfo[i]->depth == 24) && + vinfo[i]->red_mask == 0xff0000 && + vinfo[i]->green_mask == 0x00ff00 && + vinfo[i]->blue_mask == 0x0000ff) { + screen_format[i] = RedDrawable::RGB32; + } else if (vinfo[i]->depth == 16 && + vinfo[i]->red_mask == 0xf800 && + vinfo[i]->green_mask == 0x7e0 && + vinfo[i]->blue_mask == 0x1f) { + screen_format[i] = RedDrawable::RGB16_565; + } else if (vinfo[i]->depth == 15 && + vinfo[i]->red_mask == 0x7c00 && + vinfo[i]->green_mask == 0x3e0 && + vinfo[i]->blue_mask == 0x1f) { + screen_format[i] = RedDrawable::RGB16_555; + } else { + THROW("Unsupported visual for screen"); + } + } + + XSetErrorHandler(x_error_handler); + XSetIOErrorHandler(x_io_error_handler); + + win_proc_context = XUniqueContext(); + + init_kbd(); + init_xrandr(); + init_xrender(); + init_xfixes(); + init_XIM(); + init_xinerama(); + + struct sigaction act; + memset(&act, 0, sizeof(act)); + sigfillset(&act.sa_mask); + + act.sa_handler = quit_handler; + sigaction(SIGINT, &act, NULL); + sigaction(SIGHUP, &act, NULL); + sigaction(SIGTERM, &act, NULL); + sigaction(SIGQUIT, &act, NULL); + + act.sa_handler = SIG_IGN; + sigaction(SIGPIPE, &act, NULL); + + act.sa_flags = SA_RESETHAND; + act.sa_handler = abort_handler; + sigaction(SIGABRT, &act, NULL); + sigaction(SIGILL, &act, NULL); + sigaction(SIGSEGV, &act, NULL); + sigaction(SIGFPE, &act, NULL); + + atexit(cleanup); +} + +void Platform::set_process_loop(ProcessLoop& main_process_loop) +{ + main_loop = &main_process_loop; + XEventHandler *x_event_handler; + x_event_handler = new XEventHandler(*x_display, win_proc_context); + main_loop->add_file(*x_event_handler); +} + +uint32_t Platform::get_keyboard_lock_modifiers() +{ + XKeyboardState keyboard_state; + uint32_t modifiers = 0; + + XLockDisplay(x_display); + XGetKeyboardControl(x_display, &keyboard_state); + XUnlockDisplay(x_display); + + if (keyboard_state.led_mask & 0x01) { + modifiers |= CAPS_LOCK_MODIFIER; + } + if (keyboard_state.led_mask & 0x02) { + modifiers |= NUM_LOCK_MODIFIER; + } + if (keyboard_state.led_mask & 0x04) { + modifiers |= SCROLL_LOCK_MODIFIER; + } + return modifiers; +} + +enum XLed { + X11_CAPS_LOCK_LED = 1, + X11_NUM_LOCK_LED, + X11_SCROLL_LOCK_LED, +}; + +static void set_keyboard_led(XLed led, int set) +{ + switch (led) { + case X11_CAPS_LOCK_LED: + if (caps_lock_mask) { + XkbLockModifiers(x_display, XkbUseCoreKbd, caps_lock_mask, set ? caps_lock_mask : 0); + XFlush(x_display); + } + return; + case X11_NUM_LOCK_LED: + if (num_lock_mask) { + XkbLockModifiers(x_display, XkbUseCoreKbd, num_lock_mask, set ? num_lock_mask : 0); + XFlush(x_display); + } + return; + case X11_SCROLL_LOCK_LED: + XKeyboardControl keyboard_control; + keyboard_control.led_mode = set ? LedModeOn : LedModeOff; + keyboard_control.led = led; + XChangeKeyboardControl(x_display, KBLed | KBLedMode, &keyboard_control); + XFlush(x_display); + return; + } +} + +void Platform::set_keyboard_lock_modifiers(uint32_t modifiers) +{ + uint32_t now = get_keyboard_lock_modifiers(); + + if ((now & CAPS_LOCK_MODIFIER) != (modifiers & CAPS_LOCK_MODIFIER)) { + set_keyboard_led(X11_CAPS_LOCK_LED, !!(modifiers & CAPS_LOCK_MODIFIER)); + } + if ((now & NUM_LOCK_MODIFIER) != (modifiers & NUM_LOCK_MODIFIER)) { + set_keyboard_led(X11_NUM_LOCK_LED, !!(modifiers & NUM_LOCK_MODIFIER)); + } + if ((now & SCROLL_LOCK_MODIFIER) != (modifiers & SCROLL_LOCK_MODIFIER)) { + set_keyboard_led(X11_SCROLL_LOCK_LED, !!(modifiers & SCROLL_LOCK_MODIFIER)); + } +} + +static uint32_t key_bit(char* keymap, int key, uint32_t bit) +{ + KeyCode key_code = XKeysymToKeycode(x_display, key); + return (((keymap[key_code >> 3] >> (key_code & 7)) & 1) ? bit : 0); +} + +uint32_t Platform::get_keyboard_modifiers() +{ + char keymap[32]; + uint32_t mods; + + XLockDisplay(x_display); + XQueryKeymap(x_display, keymap); + mods = key_bit(keymap, XK_Shift_L, L_SHIFT_MODIFIER) | + key_bit(keymap, XK_Shift_R, R_SHIFT_MODIFIER) | + key_bit(keymap, XK_Control_L, L_CTRL_MODIFIER) | + key_bit(keymap, XK_Control_R, R_CTRL_MODIFIER) | + key_bit(keymap, XK_Alt_L, L_ALT_MODIFIER) | + key_bit(keymap, XK_Alt_R, R_ALT_MODIFIER); + XUnlockDisplay(x_display); + + return mods; +} + +void Platform::reset_cursor_pos() +{ + if (!primary_monitor) { + return; + } + SpicePoint pos = primary_monitor->get_position(); + SpicePoint size = primary_monitor->get_size(); + Window root_window = RootWindow(x_display, DefaultScreen(x_display)); + XWarpPointer(x_display, None, root_window, 0, 0, 0, 0, pos.x + size.x / 2, pos.y + size.y / 2); + XFlush(x_display); +} + +WaveRecordAbstract* Platform::create_recorder(RecordClient& client, + uint32_t sampels_per_sec, + uint32_t bits_per_sample, + uint32_t channels) +{ + return new WaveRecorder(client, sampels_per_sec, bits_per_sample, channels); +} + +WavePlaybackAbstract* Platform::create_player(uint32_t sampels_per_sec, + uint32_t bits_per_sample, + uint32_t channels) +{ + return new WavePlayer(sampels_per_sec, bits_per_sample, channels); +} + +void XPlatform::on_focus_in() +{ + if (focus_count++ == 0) { + event_listener->on_app_activated(); + } +} + +void XPlatform::on_focus_out() +{ + ASSERT(focus_count > 0); + if (--focus_count == 0) { + event_listener->on_app_deactivated(); + } +} + +class XBaseLocalCursor: public LocalCursor { +public: + XBaseLocalCursor() : _handle (0) {} + ~XBaseLocalCursor(); + void set(Window window); + +protected: + Cursor _handle; +}; + +void XBaseLocalCursor::set(Window window) +{ + if (_handle) { + XDefineCursor(x_display, window, _handle); + XFlush(x_display); + } +} + +XBaseLocalCursor::~XBaseLocalCursor() +{ + if (_handle) { + XFreeCursor(x_display, _handle); + } +} + +class XLocalCursor: public XBaseLocalCursor { +public: + XLocalCursor(CursorData* cursor_data); +}; + +static inline uint8_t get_pix_mask(const uint8_t* data, int offset, int pix_index) +{ + return data[offset + (pix_index >> 3)] & (0x80 >> (pix_index % 8)); +} + +static inline uint32_t get_pix_hack(int pix_index, int width) +{ + return (((pix_index % width) ^ (pix_index / width)) & 1) ? 0xc0303030 : 0x30505050; +} + +XLocalCursor::XLocalCursor(CursorData* cursor_data) +{ + const SpiceCursorHeader& header = cursor_data->header(); + const uint8_t* data = cursor_data->data(); + int cur_size = header.width * header.height; + uint8_t pix_mask; + uint32_t pix; + uint16_t i; + int size; + + if (!get_size_bits(header, size)) { + THROW("invalid cursor type"); + } + + uint32_t* cur_data = new uint32_t[cur_size]; + + switch (header.type) { + case SPICE_CURSOR_TYPE_ALPHA: + break; + case SPICE_CURSOR_TYPE_COLOR32: + memcpy(cur_data, data, cur_size * sizeof(uint32_t)); + for (i = 0; i < cur_size; i++) { + pix_mask = get_pix_mask(data, size, i); + if (pix_mask && *((uint32_t*)data + i) == 0xffffff) { + cur_data[i] = get_pix_hack(i, header.width); + } else { + cur_data[i] |= (pix_mask ? 0 : 0xff000000); + } + } + break; + case SPICE_CURSOR_TYPE_COLOR16: + for (i = 0; i < cur_size; i++) { + pix_mask = get_pix_mask(data, size, i); + pix = *((uint16_t*)data + i); + if (pix_mask && pix == 0x7fff) { + cur_data[i] = get_pix_hack(i, header.width); + } else { + cur_data[i] = ((pix & 0x1f) << 3) | ((pix & 0x3e0) << 6) | ((pix & 0x7c00) << 9) | + (pix_mask ? 0 : 0xff000000); + } + } + break; + case SPICE_CURSOR_TYPE_MONO: + for (i = 0; i < cur_size; i++) { + pix_mask = get_pix_mask(data, 0, i); + pix = get_pix_mask(data, size, i); + if (pix_mask && pix) { + cur_data[i] = get_pix_hack(i, header.width); + } else { + cur_data[i] = (pix ? 0xffffff : 0) | (pix_mask ? 0 : 0xff000000); + } + } + break; + case SPICE_CURSOR_TYPE_COLOR4: + for (i = 0; i < cur_size; i++) { + pix_mask = get_pix_mask(data, size + (sizeof(uint32_t) << 4), i); + int idx = (i & 1) ? (data[i >> 1] & 0x0f) : ((data[i >> 1] & 0xf0) >> 4); + pix = *((uint32_t*)(data + size) + idx); + if (pix_mask && pix == 0xffffff) { + cur_data[i] = get_pix_hack(i, header.width); + } else { + cur_data[i] = pix | (pix_mask ? 0 : 0xff000000); + } + } + break; + case SPICE_CURSOR_TYPE_COLOR24: + case SPICE_CURSOR_TYPE_COLOR8: + default: + LOG_WARN("unsupported cursor type %d", header.type); + XLockDisplay(x_display); + _handle = XCreateFontCursor(x_display, XC_arrow); + XUnlockDisplay(x_display); + delete[] cur_data; + return; + } + + XImage image; + memset(&image, 0, sizeof(image)); + image.width = header.width; + image.height = header.height; + image.data = (header.type == SPICE_CURSOR_TYPE_ALPHA ? (char*)data : (char*)cur_data); + image.byte_order = LSBFirst; + image.bitmap_unit = 32; + image.bitmap_bit_order = LSBFirst; + image.bitmap_pad = 8; + image.bytes_per_line = header.width << 2; + image.depth = 32; + image.format = ZPixmap; + image.bits_per_pixel = 32; + image.red_mask = 0x00ff0000; + image.green_mask = 0x0000ff00; + image.blue_mask = 0x000000ff; + if (!XInitImage(&image)) { + THROW("init image failed"); + } + + Window root_window = RootWindow(x_display, DefaultScreen(x_display)); + XGCValues gc_vals; + gc_vals.function = GXcopy; + gc_vals.foreground = ~0; + gc_vals.background = 0; + gc_vals.plane_mask = AllPlanes; + + XLockDisplay(x_display); + Pixmap pixmap = XCreatePixmap(x_display, root_window, header.width, header.height, 32); + GC gc = XCreateGC(x_display, pixmap, GCFunction | GCForeground | GCBackground | GCPlaneMask, + &gc_vals); + + XPutImage(x_display, pixmap, gc, &image, 0, 0, 0, 0, header.width, header.height); + XFreeGC(x_display, gc); + + XRenderPictFormat *xformat = XRenderFindStandardFormat(x_display, PictStandardARGB32); + Picture picture = XRenderCreatePicture(x_display, pixmap, xformat, 0, NULL); + _handle = XRenderCreateCursor(x_display, picture, header.hot_spot_x, header.hot_spot_y); + XUnlockDisplay(x_display); + + XRenderFreePicture(x_display, picture); + XFreePixmap(x_display, pixmap); + delete[] cur_data; +} + +LocalCursor* Platform::create_local_cursor(CursorData* cursor_data) +{ + ASSERT(using_xrender_0_5); + return new XLocalCursor(cursor_data); +} + +class XInactiveCursor: public XBaseLocalCursor { +public: + XInactiveCursor() { _handle = XCreateFontCursor(x_display, XC_X_cursor);} +}; + +LocalCursor* Platform::create_inactive_cursor() +{ + return new XInactiveCursor(); +} + +class XDefaultCursor: public XBaseLocalCursor { +public: + XDefaultCursor() + { + XLockDisplay(x_display); + _handle = XCreateFontCursor(x_display, XC_top_left_arrow); + XUnlockDisplay(x_display); + } +}; + +LocalCursor* Platform::create_default_cursor() +{ + return new XDefaultCursor(); +} + +bool Platform::on_clipboard_grab(uint32_t *types, uint32_t type_count) +{ + Lock lock(clipboard_lock); + + if (type_count > sizeof(clipboard_agent_types)/sizeof(uint32_t)) { + LOG_WARN("on_clipboard_grab: too many types"); + type_count = sizeof(clipboard_agent_types)/sizeof(uint32_t); + } + + memcpy(clipboard_agent_types, types, type_count * sizeof(uint32_t)); + clipboard_type_count = type_count; + + XSetSelectionOwner(x_display, clipboard_prop, platform_win, CurrentTime); + XFlush(x_display); + + set_clipboard_owner_unlocked(owner_guest); + return true; +} + +int Platform::_clipboard_owner = Platform::owner_none; + +void Platform::set_clipboard_owner(int new_owner) +{ + Lock lock(clipboard_lock); + set_clipboard_owner_unlocked(new_owner); +} + +void Platform::set_clipboard_owner_unlocked(int new_owner) +{ + const char * const owner_str[] = { "none", "guest", "client" }; + + /* Clear pending requests and clipboard data */ + { + if (next_selection_request) { + LOG_INFO("selection requests pending upon clipboard owner change, clearing"); + while (next_selection_request) + send_selection_notify(None, 0); + } + + clipboard_data_size = 0; + clipboard_request_target = None; + waiting_for_property_notify = false; + + /* Clear cached clipboard type info when there is no new owner + (otherwise the new owner will already have set new type info) */ + if (new_owner == owner_none) + clipboard_type_count = 0; + } + if (new_owner == owner_none) + clipboard_listener->on_clipboard_release(); + + _clipboard_owner = new_owner; + LOG_INFO("new clipboard owner: %s", owner_str[new_owner]); +} + +void Platform::set_clipboard_listener(ClipboardListener* listener) +{ + clipboard_listener = listener ? listener : &default_clipboard_listener; +} + +bool Platform::on_clipboard_notify(uint32_t type, const uint8_t* data, int32_t size) +{ + Lock lock(clipboard_lock); + Atom prop; + XEvent *event; + uint32_t type_from_event; + + if (!next_selection_request) { + LOG_INFO("received clipboard data without an outstanding" + "selection request, ignoring"); + return true; + } + + if (type == VD_AGENT_CLIPBOARD_NONE) { + send_selection_notify(None, 1); + return true; + } + + event = &next_selection_request->event; + type_from_event = get_clipboard_type(event->xselectionrequest.target); + if (type_from_event != type) { + LOG_WARN("expecting type %u clipboard data got %u", + type_from_event, type); + send_selection_notify(None, 1); + return false; + } + + prop = event->xselectionrequest.property; + if (prop == None) + prop = event->xselectionrequest.target; + /* FIXME: use INCR for large data transfers */ + XChangeProperty(x_display, event->xselectionrequest.requestor, prop, + event->xselectionrequest.target, 8, PropModeReplace, + data, size); + send_selection_notify(prop, 1); + return true; +} + +bool Platform::on_clipboard_request(uint32_t type) +{ + Window owner; + Lock lock(clipboard_lock); + Atom target = get_clipboard_target(type); + + if (target == None) + return false; + + XLockDisplay(x_display); + owner = XGetSelectionOwner(x_display, clipboard_prop); + XUnlockDisplay(x_display); + if (owner == None) { + LOG_INFO("No owner for the selection"); + return false; + } + + if (clipboard_request_target) { + LOG_INFO("XConvertSelection request is already pending"); + return false; + } + clipboard_request_target = target; + XConvertSelection(x_display, clipboard_prop, target, clipboard_prop, platform_win, CurrentTime); + XFlush(x_display); + return true; +} + +void Platform::on_clipboard_release() +{ + XEvent event; + Window owner; + + XLockDisplay(x_display); + owner = XGetSelectionOwner(x_display, clipboard_prop); + XUnlockDisplay(x_display); + if (owner != platform_win) { + LOG_INFO("Platform::on_clipboard_release() called while not selection owner"); + return; + } + /* Note there is a small race window here where another x11 app could + acquire selection ownership and we kick it off again, nothing we + can do about that :( */ + XSetSelectionOwner(x_display, clipboard_prop, None, CurrentTime); + + /* Make sure we process the XFixesSetSelectionOwnerNotify event caused + by this, so we don't end up changing the clipboard owner to none, after + it has already been re-owned because this event is still pending. */ + XLockDisplay(x_display); + XSync(x_display, False); + while (XCheckTypedEvent(x_display, + XFixesSelectionNotify + xfixes_event_base, + &event)) { + XUnlockDisplay(x_display); + root_win_proc(event); + XLockDisplay(x_display); + } + XUnlockDisplay(x_display); + + /* Note no need to do a set_clipboard_owner(owner_none) here, as that is + already done by processing the XFixesSetSelectionOwnerNotify event. */ +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/platform_utils.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/x11/platform_utils.cpp new file mode 100644 index 0000000..6ae30a4 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/platform_utils.cpp @@ -0,0 +1,33 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <stdarg.h> +#include "utils.h" + +void string_vprintf(std::string& str, const char* format, va_list ap) +{ + va_list ap_test; + va_copy(ap_test, ap); + int len = vsnprintf(NULL, 0, format, ap_test) + 1; + va_end(ap_test); + AutoArray<char> buf(new char[len]); + vsnprintf(buf.get(), len, format, ap); + str = buf.get(); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/platform_utils.h b/tizen/distrib/remote/server/spice-0.12.2/client/x11/platform_utils.h new file mode 100644 index 0000000..03a2489 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/platform_utils.h @@ -0,0 +1,38 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_PLATFORM_UTILS +#define _H_PLATFORM_UTILS + +#include <sys/socket.h> +#include <netinet/in.h> +#include <arpa/inet.h> +#include <netinet/tcp.h> +#include <netdb.h> + +typedef int SOCKET; + +#define INVALID_SOCKET -1 +#define SOCKET_ERROR -1 +#define closesocket(sock) ::close(sock) +#define SHUTDOWN_ERR EPIPE +#define INTERRUPTED_ERR EINTR +#define WOULDBLOCK_ERR EAGAIN +#define sock_error() errno +#define sock_err_message(err) strerror(err) + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/playback.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/x11/playback.cpp new file mode 100644 index 0000000..5fa7e18 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/playback.cpp @@ -0,0 +1,220 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "playback.h" +#include "utils.h" +#include "debug.h" + +#define REING_SIZE_MS 300 + +WavePlayer::WavePlayer(uint32_t sampels_per_sec, uint32_t bits_per_sample, uint32_t channels) + : _pcm (NULL) + , _hw_params (NULL) + , _sw_params (NULL) +{ + if (!init(sampels_per_sec, bits_per_sample, channels)) { + cleanup(); + THROW("failed"); + } +} + +void WavePlayer::cleanup() +{ + if (_pcm) { + snd_pcm_close(_pcm); + } + + if (_hw_params) { + snd_pcm_hw_params_free(_hw_params); + } + + if (_sw_params) { + snd_pcm_sw_params_free(_sw_params); + } +} + +WavePlayer::~WavePlayer() +{ + cleanup(); +} + +bool WavePlayer::init(uint32_t sampels_per_sec, + uint32_t bits_per_sample, + uint32_t channels) +{ + const int frame_size = WavePlaybackAbstract::FRAME_SIZE; + const char* pcm_device = "default"; + snd_pcm_format_t format; + int err; + + switch (bits_per_sample) { + case 8: + format = SND_PCM_FORMAT_S8; + break; + case 16: + format = SND_PCM_FORMAT_S16_LE; + break; + default: + return false; + } + _sampels_per_ms = sampels_per_sec / 1000; + + if ((err = snd_pcm_open(&_pcm, pcm_device, SND_PCM_STREAM_PLAYBACK, SND_PCM_NONBLOCK)) < 0) { + LOG_ERROR("cannot open audio playback device %s %s", pcm_device, snd_strerror(err)); + return false; + } + + if ((err = snd_pcm_hw_params_malloc(&_hw_params)) < 0) { + LOG_ERROR("cannot allocate hardware parameter structure %s", snd_strerror(err)); + return false; + } + + if ((err = snd_pcm_sw_params_malloc(&_sw_params)) < 0) { + LOG_ERROR("cannot allocate software parameter structure %s", snd_strerror(err)); + return false; + } + + if ((err = snd_pcm_hw_params_any(_pcm, _hw_params)) < 0) { + LOG_ERROR("cannot initialize hardware parameter structure %s", snd_strerror(err)); + return false; + } + + if ((err = snd_pcm_hw_params_set_rate_resample(_pcm, _hw_params, 1)) < 0) { + LOG_ERROR("cannot set rate resample %s", snd_strerror(err)); + return false; + } + + if ((err = snd_pcm_hw_params_set_access(_pcm, _hw_params, + SND_PCM_ACCESS_RW_INTERLEAVED)) < 0) { + LOG_ERROR("cannot set access type %s", snd_strerror(err)); + return false; + } + + if ((err = snd_pcm_hw_params_set_rate(_pcm, _hw_params, sampels_per_sec, 0)) < 0) { + LOG_ERROR("cannot set sample rate %s", snd_strerror(err)); + return false; + } + + if ((err = snd_pcm_hw_params_set_channels(_pcm, _hw_params, channels)) < 0) { + LOG_ERROR("cannot set channel count %s", snd_strerror(err)); + return false; + } + + if ((err = snd_pcm_hw_params_set_format(_pcm, _hw_params, format)) < 0) { + LOG_ERROR("cannot set sample format %s", snd_strerror(err)); + return false; + } + + snd_pcm_uframes_t buffer_size; + buffer_size = (sampels_per_sec * REING_SIZE_MS / 1000) / frame_size * frame_size; + + if ((err = snd_pcm_hw_params_set_buffer_size_near(_pcm, _hw_params, &buffer_size)) < 0) { + LOG_ERROR("cannot set buffer size %s", snd_strerror(err)); + return false; + } + + int direction = 1; + snd_pcm_uframes_t period_size = (sampels_per_sec * 20 / 1000) / frame_size * frame_size; + if ((err = snd_pcm_hw_params_set_period_size_near(_pcm, _hw_params, &period_size, + &direction)) < 0) { + LOG_ERROR("cannot set period size %s", snd_strerror(err)); + return false; + } + + if ((err = snd_pcm_hw_params(_pcm, _hw_params)) < 0) { + LOG_ERROR("cannot set parameters %s", snd_strerror(err)); + return false; + } + + if ((err = snd_pcm_sw_params_current(_pcm, _sw_params)) < 0) { + LOG_ERROR("cannot obtain sw parameters %s", snd_strerror(err)); + return false; + } + + err = snd_pcm_hw_params_get_buffer_size(_hw_params, &buffer_size); + if (err < 0) { + LOG_ERROR("unable to get buffer size for playback: %s", snd_strerror(err)); + return false; + } + + direction = 0; + err = snd_pcm_hw_params_get_period_size(_hw_params, &period_size, &direction); + if (err < 0) { + LOG_ERROR("unable to get period size for playback: %s", snd_strerror(err)); + return false; + } + + err = snd_pcm_sw_params_set_start_threshold(_pcm, _sw_params, + (buffer_size / period_size) * period_size); + if (err < 0) { + LOG_ERROR("unable to set start threshold mode for playback: %s", snd_strerror(err)); + return false; + } + + if ((err = snd_pcm_sw_params(_pcm, _sw_params)) < 0) { + LOG_ERROR("cannot set software parameters %s", snd_strerror(err)); + return false; + } + + if ((err = snd_pcm_prepare(_pcm)) < 0) { + LOG_ERROR("cannot prepare pcm device %s", snd_strerror(err)); + return false; + } + + return true; +} + +bool WavePlayer::write(uint8_t* frame) +{ + snd_pcm_sframes_t ret = snd_pcm_writei(_pcm, frame, WavePlaybackAbstract::FRAME_SIZE); + if (ret < 0) { + if (ret == -EAGAIN) { + return false; + } + DBG(0, "err %s", snd_strerror(-ret)); + if (snd_pcm_recover(_pcm, ret, 1) == 0) { + snd_pcm_writei(_pcm, frame, WavePlaybackAbstract::FRAME_SIZE); + } + } + return true; +} + +void WavePlayer::stop() +{ + snd_pcm_drain(_pcm); + snd_pcm_prepare(_pcm); +} + +bool WavePlayer::abort() +{ + return true; +} + +uint32_t WavePlayer::get_delay_ms() +{ + ASSERT(_pcm); + + snd_pcm_sframes_t delay; + + if (snd_pcm_delay(_pcm, &delay) < 0) { + return 0; + } + return delay / _sampels_per_ms; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/playback.h b/tizen/distrib/remote/server/spice-0.12.2/client/x11/playback.h new file mode 100644 index 0000000..27ef9ed --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/playback.h @@ -0,0 +1,47 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_LINUX_PLAYBACK +#define _H_LINUX_PLAYBACK + +#include <alsa/asoundlib.h> + +#include "common.h" +#include "audio_devices.h" + +class WavePlayer: public WavePlaybackAbstract { +public: + WavePlayer(uint32_t sampels_per_sec, uint32_t bits_per_sample, uint32_t channels); + virtual ~WavePlayer(); + + virtual bool write(uint8_t* frame); + virtual bool abort(); + virtual void stop(); + virtual uint32_t get_delay_ms(); + +private: + bool init(uint32_t sampels_per_sec, uint32_t bits_per_sample, uint32_t channel); + void cleanup(); + +private: + snd_pcm_t* _pcm; + snd_pcm_hw_params_t* _hw_params; + snd_pcm_sw_params_t* _sw_params; + uint32_t _sampels_per_ms; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/record.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/x11/record.cpp new file mode 100644 index 0000000..535a8c9 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/record.cpp @@ -0,0 +1,240 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "record.h" +#include "utils.h" +#include "debug.h" + + +class WaveRecorder::EventTrigger: public EventSources::File { +public: + EventTrigger(WaveRecorder& recorder, int fd); + virtual void on_event(); + virtual int get_fd() { return _fd;} + +private: + WaveRecorder& _recorder; + int _fd; +}; + +WaveRecorder::EventTrigger::EventTrigger(WaveRecorder& recorder, int fd) + : _recorder (recorder) + , _fd (fd) +{ +} + +void WaveRecorder::EventTrigger::on_event() +{ + _recorder.on_event(); +} + +WaveRecorder::WaveRecorder(Platform::RecordClient& client, + uint32_t sampels_per_sec, + uint32_t bits_per_sample, + uint32_t channels) + : _client (client) + , _pcm (NULL) + , _hw_params (NULL) + , _sw_params (NULL) + , _sample_bytes (bits_per_sample * channels / 8) + , _frame (new uint8_t[_sample_bytes * WaveRecordAbstract::FRAME_SIZE]) + , _frame_pos (_frame) + , _frame_end (_frame + _sample_bytes * WaveRecordAbstract::FRAME_SIZE) + , _event_trigger (NULL) +{ + if (!init(sampels_per_sec, bits_per_sample, channels)) { + cleanup(); + THROW("failed"); + } +} + +WaveRecorder::~WaveRecorder() +{ + cleanup(); + delete[] _frame; +} + +void WaveRecorder::cleanup() +{ + if (_event_trigger) { + _client.remove_event_source(*_event_trigger); + delete _event_trigger; + } + + if (_sw_params) { + snd_pcm_sw_params_free(_sw_params); + } + + if (_hw_params) { + snd_pcm_hw_params_free(_hw_params); + } + + if (_pcm) { + snd_pcm_close(_pcm); + } +} + +bool WaveRecorder::init(uint32_t sampels_per_sec, + uint32_t bits_per_sample, + uint32_t channels) +{ + const int frame_size = WaveRecordAbstract::FRAME_SIZE; + const char* pcm_device = "default"; + snd_pcm_format_t format; + int err; + + switch (bits_per_sample) { + case 8: + format = SND_PCM_FORMAT_S8; + break; + case 16: + format = SND_PCM_FORMAT_S16_LE; + break; + default: + return false; + } + + if ((err = snd_pcm_open(&_pcm, pcm_device, SND_PCM_STREAM_CAPTURE, SND_PCM_NONBLOCK)) < 0) { + LOG_ERROR("cannot open audio record device %s %s", pcm_device, snd_strerror(err)); + return false; + } + + if ((err = snd_pcm_hw_params_malloc(&_hw_params)) < 0) { + LOG_ERROR("cannot allocate hardware parameter structure %s", snd_strerror(err)); + return false; + } + + if ((err = snd_pcm_sw_params_malloc(&_sw_params)) < 0) { + LOG_ERROR("cannot allocate software parameter structure %s", snd_strerror(err)); + return false; + } + + if ((err = snd_pcm_hw_params_any(_pcm, _hw_params)) < 0) { + LOG_ERROR("cannot initialize hardware parameter structure %s", snd_strerror(err)); + return false; + } + + if ((err = snd_pcm_hw_params_set_rate_resample(_pcm, _hw_params, 1)) < 0) { + LOG_ERROR("cannot set rate resample %s", snd_strerror(err)); + return false; + } + + if ((err = snd_pcm_hw_params_set_access(_pcm, _hw_params, SND_PCM_ACCESS_RW_INTERLEAVED)) < 0) { + LOG_ERROR("cannot set access type %s", snd_strerror(err)); + return false; + } + + if ((err = snd_pcm_hw_params_set_rate(_pcm, _hw_params, sampels_per_sec, 0)) < 0) { + LOG_ERROR("cannot set sample rate %s", snd_strerror(err)); + return false; + } + + if ((err = snd_pcm_hw_params_set_channels(_pcm, _hw_params, channels)) < 0) { + LOG_ERROR("cannot set channel count %s", snd_strerror(err)); + return false; + } + + if ((err = snd_pcm_hw_params_set_format(_pcm, _hw_params, format)) < 0) { + LOG_ERROR("cannot set sample format %s", snd_strerror(err)); + return false; + } + + int direction = 0; + snd_pcm_uframes_t buffer_size = (sampels_per_sec * 160 / 1000) / frame_size * frame_size; + + if ((err = snd_pcm_hw_params_set_buffer_size_near(_pcm, _hw_params, &buffer_size)) < 0) { + LOG_ERROR("cannot set buffer size %s", snd_strerror(err)); + return false; + } + + snd_pcm_uframes_t period_size = frame_size; + if ((err = snd_pcm_hw_params_set_period_size_near(_pcm, _hw_params, &period_size, + &direction)) < 0) { + LOG_ERROR("cannot set period size near %s", snd_strerror(err)); + return false; + } + + if ((err = snd_pcm_hw_params(_pcm, _hw_params)) < 0) { + LOG_ERROR("cannot set parameters %s", snd_strerror(err)); + return false; + } + + if ((err = snd_pcm_sw_params_current(_pcm, _sw_params)) < 0) { + LOG_ERROR("cannot get current sw parameters %s", snd_strerror(err)); + return false; + } + + if ((err = snd_pcm_sw_params_set_start_threshold(_pcm, _sw_params, frame_size)) < 0) { + LOG_ERROR("cannot set start threshold %s", snd_strerror(err)); + return false; + } + + if ((err = snd_pcm_sw_params(_pcm, _sw_params)) < 0) { + LOG_ERROR("cannot set sw parameters %s", snd_strerror(err)); + return false; + } + + struct pollfd pfd; + if ((err = snd_pcm_poll_descriptors(_pcm, &pfd, 1)) < 0) { + LOG_ERROR("cannot get poll ID %s", snd_strerror(err)); + return false; + } + _event_trigger = new WaveRecorder::EventTrigger(*this, pfd.fd); + _client.add_event_source(*_event_trigger); + return true; +} + +void WaveRecorder::start() +{ + _frame_pos = _frame; + snd_pcm_prepare(_pcm); + snd_pcm_start(_pcm); + snd_pcm_nonblock(_pcm, 1); +} + +void WaveRecorder::stop() +{ + snd_pcm_drop(_pcm); + snd_pcm_prepare(_pcm); +} + +bool WaveRecorder::abort() +{ + return true; +} + +void WaveRecorder::on_event() +{ + for (;;) { + snd_pcm_sframes_t size = (_frame_end - _frame_pos) / _sample_bytes; + size = snd_pcm_readi(_pcm, _frame_pos, size); + if (size < 0) { + if (snd_pcm_recover(_pcm, size, 1) == 0) { + continue; + } + return; + } + _frame_pos += size * _sample_bytes; + if (_frame_pos == _frame_end) { + _client.push_frame(_frame); + _frame_pos = _frame; + } + } +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/record.h b/tizen/distrib/remote/server/spice-0.12.2/client/x11/record.h new file mode 100644 index 0000000..9141096 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/record.h @@ -0,0 +1,59 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_LINUX_RECORD +#define _H_LINUX_RECORD + +#include <alsa/asoundlib.h> + +#include "common.h" +#include "audio_devices.h" +#include "platform.h" + +class WaveRecorder: public WaveRecordAbstract { +public: + WaveRecorder(Platform::RecordClient& client, + uint32_t sampels_per_sec, + uint32_t bits_per_sample, + uint32_t channels); + virtual ~WaveRecorder(); + + virtual void start(); + virtual void stop(); + virtual bool abort(); + +private: + bool init(uint32_t sampels_per_sec, + uint32_t bits_per_sample, + uint32_t channels); + void cleanup(); + void on_event(); + +private: + Platform::RecordClient& _client; + snd_pcm_t* _pcm; + snd_pcm_hw_params_t* _hw_params; + snd_pcm_sw_params_t* _sw_params; + uint32_t _sample_bytes; + uint8_t* _frame; + uint8_t* _frame_pos; + uint8_t* _frame_end; + class EventTrigger; + EventTrigger* _event_trigger; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/red_drawable.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/x11/red_drawable.cpp new file mode 100644 index 0000000..bb8ceb4 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/red_drawable.cpp @@ -0,0 +1,795 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "red_drawable.h" +#include "pixels_source_p.h" +#include "debug.h" +#include "x_platform.h" +#include "utils.h" + +#ifdef USE_OPENGL +#include "common/gl_utils.h" +#include <GL/gl.h> +#include <GL/glu.h> +#include <GL/glext.h> + +static inline void copy_to_gldrawable_from_gltexture(const RedDrawable_p* dest, + const SpiceRect& area, + const SpicePoint& offset, + const PixelsSource_p* source, + int src_x, int src_y) +{ + float text_x1, text_x2; + float text_y1, text_y2; + int vertex_x1, vertex_x2; + int vertex_y1, vertex_y2; + GLXPbuffer pbuffer; + GLXContext context; + RenderType rendertype; + Window win; + + text_x1 = (float)src_x / source->gl.width_powed; + text_x2 = text_x1 + (float)(area.right - area.left) / source->gl.width_powed; + + text_y1 = ((float)source->gl.height - (area.bottom - area.top) - src_y) / + source->gl.height_powed; + text_y2 = text_y1 + (float)(area.bottom - area.top) / source->gl.height_powed; + + vertex_x1 = area.left + offset.x; + vertex_y1 = dest->source.x_drawable.height - (area.top + offset.y) - (area.bottom - area.top); + vertex_x2 = vertex_x1 + (area.right - area.left); + vertex_y2 = vertex_y1 + (area.bottom - area.top); + + glEnable(GL_TEXTURE_2D); + + rendertype = source->gl.rendertype; + if (rendertype == RENDER_TYPE_FBO) { + glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0); + } else { + win = source->gl.win; + context = source->gl.context; + glXMakeCurrent(XPlatform::get_display(), win, context); + } + + glBindTexture(GL_TEXTURE_2D, source->gl.tex); + + glBegin(GL_QUADS); + glTexCoord2f(text_x1, text_y1); + glVertex2i(vertex_x1, vertex_y1); + glTexCoord2f(text_x1, text_y2); + glVertex2i(vertex_x1, vertex_y2); + glTexCoord2f(text_x2, text_y2); + glVertex2i(vertex_x2, vertex_y2); + glTexCoord2f(text_x2, text_y1); + glVertex2i(vertex_x2, vertex_y1); + glEnd(); + + if (rendertype == RENDER_TYPE_FBO) { + GLuint fbo; + + fbo = source->gl.fbo; + glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbo); + } else { + pbuffer = source->gl.pbuff; + glXMakeCurrent(XPlatform::get_display(), pbuffer, context); + } +} + +static inline void copy_to_gldrawable_from_pixmap(const RedDrawable_p* dest, + const SpiceRect& area, + const SpicePoint& offset, + const PixelsSource_p* source, + int src_x, int src_y) +{ + uint8_t *addr; + GLXContext context = NULL; + GLXPbuffer pbuffer; + RenderType rendertype; + Window win; + + rendertype = dest->source.x_drawable.rendertype; + if (rendertype == RENDER_TYPE_FBO) { + glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0); + glBindTexture(GL_TEXTURE_2D, 0); + } else { + context = dest->source.x_drawable.context; + win = dest->source.x_drawable.drawable; + glXMakeCurrent(XPlatform::get_display(), win, context); + glDisable(GL_TEXTURE_2D); + } + + glPixelStorei(GL_UNPACK_ROW_LENGTH, pixman_image_get_stride(source->pixmap.pixman_image) / 4); + + glPixelZoom(1, -1); + addr = (uint8_t *)pixman_image_get_data(source->pixmap.pixman_image); + addr += (src_x * 4 + src_y * pixman_image_get_stride(source->pixmap.pixman_image)); + glWindowPos2i(area.left + offset.x, dest->source.x_drawable.height - + (area.top + offset.y)); //+ (area.bottom - area.top))); + glDrawPixels(area.right - area.left, area.bottom - area.top, + GL_BGRA, GL_UNSIGNED_BYTE, addr); + + if (rendertype == RENDER_TYPE_FBO) { + GLuint fbo; + + fbo = dest->source.x_drawable.fbo; + glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbo); + } else { + pbuffer = dest->source.x_drawable.pbuff; + glXMakeCurrent(XPlatform::get_display(), pbuffer, context); + } +} +#endif // USE_OPENGL + +static inline void copy_to_drawable_from_drawable(const RedDrawable_p* dest, + const SpiceRect& area, + const SpicePoint& offset, + const PixelsSource_p* source, + int src_x, int src_y) +{ + XGCValues gc_vals; + gc_vals.function = GXcopy; + + XChangeGC(XPlatform::get_display(), dest->source.x_drawable.gc, GCFunction, &gc_vals); + XCopyArea(XPlatform::get_display(), source->x_drawable.drawable, + dest->source.x_drawable.drawable, dest->source.x_drawable.gc, + src_x, src_y, + area.right - area.left, area.bottom - area.top, + area.left + offset.x, area.top + offset.y); +} + +static XImage *create_temp_image(int screen, int width, int height, + pixman_image_t **pixman_image_out, + XShmSegmentInfo **shminfo_out) +{ + XImage *image; + XShmSegmentInfo *shminfo; + RedDrawable::Format format; + pixman_image_t *pixman_image; + XVisualInfo *vinfo; + + image = NULL; + shminfo = NULL; + + vinfo = XPlatform::get_vinfo()[screen]; + format = XPlatform::get_screen_format(screen); + + image = XPlatform::create_x_image(format, width, height, vinfo->depth, + vinfo->visual, &shminfo); + + pixman_image = pixman_image_create_bits(RedDrawable::format_to_pixman(format), + width, height, + (uint32_t *)image->data, image->bytes_per_line); + if (pixman_image == NULL) { + THROW("surf create failed"); + } + *pixman_image_out = pixman_image; + *shminfo_out = shminfo; + return image; +} + +static void free_temp_image(XImage *image, XShmSegmentInfo *shminfo, pixman_image_t *pixman_image) +{ + XPlatform::free_x_image(image, shminfo); + pixman_image_unref(pixman_image); +} + + +static inline void copy_to_drawable_from_pixmap(const RedDrawable_p* dest, + const SpiceRect& area, + const SpicePoint& offset, + const PixelsSource_p* source, + int src_x, int src_y) +{ + pixman_image_t *src_surface = source->pixmap.pixman_image; + XGCValues gc_vals; + gc_vals.function = GXcopy; + RedDrawable::Format screen_format; + XImage *image; + XShmSegmentInfo *shminfo; + pixman_image_t *pixman_image; + int screen; + + screen = dest->source.x_drawable.screen; + screen_format = XPlatform::get_screen_format(screen); + + XChangeGC(XPlatform::get_display(), dest->source.x_drawable.gc, GCFunction, &gc_vals); + + if (source->pixmap.x_image != NULL && + RedDrawable::format_copy_compatible(source->pixmap.format, screen_format)) { + if (source->pixmap.shminfo) { + XShmPutImage(XPlatform::get_display(), dest->source.x_drawable.drawable, + dest->source.x_drawable.gc, source->pixmap.x_image, + src_x, src_y, area.left + offset.x, area.top + offset.y, + area.right - area.left, area.bottom - area.top, false); + } else { + XPutImage(XPlatform::get_display(), dest->source.x_drawable.drawable, + dest->source.x_drawable.gc, source->pixmap.x_image, src_x, + src_y, area.left + offset.x, area.top + offset.y, + area.right - area.left, area.bottom - area.top); + } + } else { + image = create_temp_image(screen, + area.right - area.left, area.bottom - area.top, + &pixman_image, &shminfo); + + pixman_image_composite32(PIXMAN_OP_SRC, + src_surface, NULL, pixman_image, + src_x + offset.x, + src_y + offset.y, + 0, 0, + 0, 0, + area.right - area.left, + area.bottom - area.top); + + if (shminfo) { + XShmPutImage(XPlatform::get_display(), dest->source.x_drawable.drawable, + dest->source.x_drawable.gc, image, + 0, 0, area.left + offset.x, area.top + offset.y, + area.right - area.left, area.bottom - area.top, false); + } else { + XPutImage(XPlatform::get_display(), dest->source.x_drawable.drawable, + dest->source.x_drawable.gc, image, + 0, 0, area.left + offset.x, area.top + offset.y, + area.right - area.left, area.bottom - area.top); + } + + free_temp_image(image, shminfo, pixman_image); + } + XFlush(XPlatform::get_display()); +} + +static inline void copy_to_x_drawable(const RedDrawable_p* dest, + const SpiceRect& area, + const SpicePoint& offset, + const PixelsSource_p* source, + int src_x, int src_y) +{ + switch (source->type) { + case PIXELS_SOURCE_TYPE_X_DRAWABLE: + copy_to_drawable_from_drawable(dest, area, offset, source, src_x, src_y); + break; + case PIXELS_SOURCE_TYPE_PIXMAP: + copy_to_drawable_from_pixmap(dest, area, offset, source, src_x, src_y); + break; + default: + THROW("invalid source type %d", source->type); + } +} + +#ifdef USE_OPENGL +static inline void copy_to_gl_drawable(const RedDrawable_p* dest, + const SpiceRect& area, + const SpicePoint& offset, + const PixelsSource_p* source, + int src_x, int src_y) +{ + switch (source->type) { + case PIXELS_SOURCE_TYPE_GL_TEXTURE: + copy_to_gldrawable_from_gltexture(dest, area, offset, source, src_x, src_y); + break; + case PIXELS_SOURCE_TYPE_PIXMAP: + copy_to_gldrawable_from_pixmap(dest, area, offset, source, src_x, src_y); + break; + default: + THROW("invalid source type %d", source->type); + } +} +#endif // USE_OPENGL + +static inline void copy_to_pixmap_from_drawable(const RedDrawable_p* dest, + const SpiceRect& area, + const SpicePoint& offset, + const PixelsSource_p* source, + int src_x, int src_y) +{ + LOG_WARN("not implemented"); +} + +static inline void copy_to_pixmap_from_pixmap(const RedDrawable_p* dest, + const SpiceRect& area, + const SpicePoint& offset, + const PixelsSource_p* source, + int src_x, int src_y) +{ + pixman_image_t *dest_surface = dest->source.pixmap.pixman_image; + pixman_image_t *src_surface = source->pixmap.pixman_image; + + pixman_image_composite32(PIXMAN_OP_SRC, + src_surface, NULL, dest_surface, + src_x + offset.x, + src_y + offset.y, + 0, 0, + area.left + offset.x, + area.top + offset.y, + area.right - area.left, + area.bottom - area.top); +} + +#ifdef USE_OPENGL +static inline void copy_to_pixmap_from_gltexture(const RedDrawable_p* dest, + const SpiceRect& area, + const SpicePoint& offset, + const PixelsSource_p* source, + int src_x, int src_y) +{ + int y, height; + GLXContext context = NULL; + GLXPbuffer pbuffer; + Window win; + RenderType rendertype; + + y = source->gl.height - src_y; + height = area.bottom - area.top; + + rendertype = source->gl.rendertype; + if (rendertype == RENDER_TYPE_FBO) { + glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, source->gl.fbo); + glBindTexture(GL_TEXTURE_2D, 0); + } else { + context = source->gl.context; + pbuffer = source->gl.pbuff; + glXMakeCurrent(XPlatform::get_display(), pbuffer, context); + glDisable(GL_TEXTURE_2D); + } + glReadBuffer(GL_COLOR_ATTACHMENT0_EXT); + glPixelStorei(GL_PACK_ROW_LENGTH, + pixman_image_get_stride(dest->source.pixmap.pixman_image) / 4); + + while (height > 0) { + glReadPixels(src_x, y - height, area.right - area.left, 1, + GL_BGRA, GL_UNSIGNED_BYTE, + (uint8_t *)pixman_image_get_data(dest->source.pixmap.pixman_image) + + (area.left + offset.x) * 4 + + (area.top + offset.y + height - 1) * + pixman_image_get_stride(dest->source.pixmap.pixman_image)); + height--; + } + if (rendertype != RENDER_TYPE_FBO) { + win = source->gl.win; + glXMakeCurrent(XPlatform::get_display(), win, context); + } +} +#endif // USE_OPENGL + +static inline void copy_to_pixmap(const RedDrawable_p* dest, + const SpiceRect& area, + const SpicePoint& offset, + const PixelsSource_p* source, + int src_x, int src_y) +{ + switch (source->type) { +#ifdef USE_OPENGL + case PIXELS_SOURCE_TYPE_GL_TEXTURE: + copy_to_pixmap_from_gltexture(dest, area, offset, source, src_x, src_y); + break; +#endif // USE_OPENGL + case PIXELS_SOURCE_TYPE_X_DRAWABLE: + copy_to_pixmap_from_drawable(dest, area, offset, source, src_x, src_y); + break; + case PIXELS_SOURCE_TYPE_PIXMAP: + copy_to_pixmap_from_pixmap(dest, area, offset, source, src_x, src_y); + break; + default: + THROW("invalid source type %d", source->type); + } +} + +void RedDrawable::copy_pixels(const PixelsSource& src, int src_x, int src_y, const SpiceRect& area) +{ + PixelsSource_p* source = (PixelsSource_p*)src.get_opaque(); + RedDrawable_p* dest = (RedDrawable_p*)get_opaque(); + switch (dest->source.type) { +#ifdef USE_OPENGL + case PIXELS_SOURCE_TYPE_GL_DRAWABLE: + copy_to_gl_drawable(dest, area, _origin, source, src_x + src._origin.x, + src_y + src._origin.y); + break; +#endif // USE_OPENGL + case PIXELS_SOURCE_TYPE_X_DRAWABLE: + copy_to_x_drawable(dest, area, _origin, source, src_x + src._origin.x, + src_y + src._origin.y); + break; + case PIXELS_SOURCE_TYPE_PIXMAP: + copy_to_pixmap(dest, area, _origin, source, src_x + src._origin.x, src_y + src._origin.y); + break; + default: + THROW("invalid dest type %d", dest->source.type); + } +} + +static inline void blend_to_drawable(const RedDrawable_p* dest, + const SpiceRect& area, + const SpicePoint& offset, + const PixelsSource_p* source, + int src_x, int src_y) +{ + LOG_WARN("not implemented"); +} + +static inline void blend_to_pixmap_from_drawable(const RedDrawable_p* dest, + const SpiceRect& area, + const SpicePoint& offset, + const PixelsSource_p* source, + int src_x, int src_y) +{ + LOG_WARN("not implemented"); +} + +static inline void blend_to_pixmap_from_pixmap(const RedDrawable_p* dest, + const SpiceRect& area, + const SpicePoint& offset, + const PixelsSource_p* source, + int src_x, int src_y) +{ + pixman_image_t *dest_surface = dest->source.pixmap.pixman_image; + pixman_image_t *src_surface = source->pixmap.pixman_image; + + pixman_image_composite32 (PIXMAN_OP_ATOP, + src_surface, NULL, dest_surface, + src_x + offset.x, + src_y + offset.y, + 0, 0, + area.left + offset.x, + area.top + offset.y, + area.right - area.left, + area.bottom - area.top); +} + +static inline void blend_to_pixmap(const RedDrawable_p* dest, + const SpiceRect& area, + const SpicePoint& offset, + const PixelsSource_p* source, + int src_x, int src_y) +{ + switch (source->type) { + case PIXELS_SOURCE_TYPE_X_DRAWABLE: + blend_to_pixmap_from_drawable(dest, area, offset, source, src_x, src_y); + break; + case PIXELS_SOURCE_TYPE_PIXMAP: + blend_to_pixmap_from_pixmap(dest, area, offset, source, src_x, src_y); + break; + default: + THROW("invalid source type %d", source->type); + } +} + +void RedDrawable::blend_pixels(const PixelsSource& src, int src_x, int src_y, const SpiceRect& area) +{ + PixelsSource_p* source = (PixelsSource_p*)src.get_opaque(); + RedDrawable_p* dest = (RedDrawable_p*)get_opaque(); + switch (dest->source.type) { + case PIXELS_SOURCE_TYPE_X_DRAWABLE: + blend_to_drawable(dest, area, _origin, source, src_x + src._origin.x, + src_y + src._origin.y); + break; + case PIXELS_SOURCE_TYPE_PIXMAP: + blend_to_pixmap(dest, area, _origin, source, src_x + src._origin.x, src_y + src._origin.y); + break; + default: + THROW("invalid dest type %d", dest->source.type); + } +} + +static inline void combine_to_drawable(const RedDrawable_p* dest, + const SpiceRect& area, + const SpicePoint& offset, + const PixelsSource_p* source, + int src_x, int src_y, + RedDrawable::CombineOP op) +{ + LOG_WARN("not implemented"); +} + +static inline void combine_to_pixmap_from_drawable(const RedDrawable_p* dest, + const SpiceRect& area, + const SpicePoint& offset, + const PixelsSource_p* source, + int src_x, int src_y, + RedDrawable::CombineOP op) +{ + LOG_WARN("not implemented"); +} + +static inline void combine_to_pixmap_from_pixmap(const RedDrawable_p* dest, + const SpiceRect& area, + const SpicePoint& offset, + const PixelsSource_p* source, + int src_x, int src_y, + RedDrawable::CombineOP op) +{ + pixman_image_t *dest_surface = dest->source.pixmap.pixman_image; + pixman_image_t *src_surface = source->pixmap.pixman_image; + + SpiceROP rop; + switch (op) { + case RedDrawable::OP_COPY: + rop = SPICE_ROP_COPY; + break; + case RedDrawable::OP_AND: + rop = SPICE_ROP_AND; + break; + case RedDrawable::OP_XOR: + rop = SPICE_ROP_XOR; + break; + default: + THROW("invalid op %d", op); + } + + + if (pixman_image_get_depth (src_surface) == 1) { + pixman_color_t white = { 0xffff, 0xffff, 0xffff, 0xffff }; + pixman_image_t *solid; + pixman_image_t *temp; + + /* Create a temporary rgb32 image that is black where mask is 0 + and white where mask is 1 */ + temp = pixman_image_create_bits(pixman_image_get_depth(dest_surface) == 24 ? + PIXMAN_x8r8g8b8 : PIXMAN_a8r8g8b8, + area.right - area.left, + area.bottom - area.top, NULL, 0); + solid = pixman_image_create_solid_fill(&white); + pixman_image_composite32(PIXMAN_OP_SRC, + solid, src_surface, temp, + 0, 0, + src_x + offset.x, + src_y + offset.y, + 0, 0, + area.right - area.left, + area.bottom - area.top); + pixman_image_unref(solid); + + /* ROP the temp image on the destination */ + spice_pixman_blit_rop(dest_surface, + temp, + 0, + 0, + area.left + offset.x, + area.top + offset.y, + area.right - area.left, + area.bottom - area.top, + rop); + pixman_image_unref(temp); + + } else { + spice_pixman_blit_rop(dest_surface, + src_surface, + src_x + offset.x, + src_y + offset.y, + area.left + offset.x, + area.top + offset.y, + area.right - area.left, + area.bottom - area.top, + rop); + } +} + +static inline void combine_to_pixmap(const RedDrawable_p* dest, + const SpiceRect& area, + const SpicePoint& offset, + const PixelsSource_p* source, + int src_x, int src_y, + RedDrawable::CombineOP op) +{ + switch (source->type) { + case PIXELS_SOURCE_TYPE_X_DRAWABLE: + combine_to_pixmap_from_drawable(dest, area, offset, source, src_x, src_y, op); + break; + case PIXELS_SOURCE_TYPE_PIXMAP: + combine_to_pixmap_from_pixmap(dest, area, offset, source, src_x, src_y, op); + break; + default: + THROW("invalid source type %d", source->type); + } +} + +void RedDrawable::combine_pixels(const PixelsSource& src, int src_x, int src_y, const SpiceRect& area, + CombineOP op) +{ + PixelsSource_p* source = (PixelsSource_p*)src.get_opaque(); + RedDrawable_p* dest = (RedDrawable_p*)get_opaque(); + switch (dest->source.type) { + case PIXELS_SOURCE_TYPE_X_DRAWABLE: + combine_to_drawable(dest, area, _origin, source, src_x + src._origin.x, + src_y + src._origin.y, op); + break; + case PIXELS_SOURCE_TYPE_PIXMAP: + combine_to_pixmap(dest, area, _origin, source, src_x + src._origin.x, + src_y + src._origin.y, op); + break; + default: + THROW("invalid dest type %d", dest->source.type); + } +} + +void RedDrawable::erase_rect(const SpiceRect& area, rgb32_t color) +{ + LOG_WARN("not implemented"); +} + +static inline void fill_drawable(RedDrawable_p* dest, const SpiceRect& area, rgb32_t color, + const SpicePoint& offset) +{ + Drawable drawable = dest->source.x_drawable.drawable; + GC gc = dest->source.x_drawable.gc; + + XLockDisplay(XPlatform::get_display()); + Colormap color_map = DefaultColormap(XPlatform::get_display(), + DefaultScreen(XPlatform::get_display())); + XColor x_color; + x_color.red = (uint16_t)rgb32_get_red(color) << 8; + x_color.green = (uint16_t)rgb32_get_green(color) << 8; + x_color.blue = (uint16_t)rgb32_get_blue(color) << 8; + x_color.flags = DoRed | DoGreen | DoBlue; + //todo: optimize color map + if (!XAllocColor(XPlatform::get_display(), color_map, &x_color)) { + LOG_WARN("color map failed"); + } + XUnlockDisplay(XPlatform::get_display()); + + XGCValues gc_vals; + gc_vals.foreground = x_color.pixel; + gc_vals.function = GXcopy; + gc_vals.fill_style = FillSolid; + XChangeGC(XPlatform::get_display(), gc, GCFunction | GCForeground | GCFillStyle, &gc_vals); + XFillRectangle(XPlatform::get_display(), drawable, + gc, area.left + offset.x, area.top + offset.y, + area.right - area.left, area.bottom - area.top); +} + +#ifdef USE_OPENGL +static inline void fill_gl_drawable(RedDrawable_p* dest, const SpiceRect& area, rgb32_t color, + const SpicePoint& offset) +{ + int vertex_x1, vertex_x2; + int vertex_y1, vertex_y2; + GLXContext context; + + context = glXGetCurrentContext(); + if (!context) { + return; + } + + vertex_x1 = area.left + offset.x; + vertex_y1 = dest->source.x_drawable.height - (area.top + offset.y) - (area.bottom - area.top); + + vertex_x2 = vertex_x1 + (area.right - area.left); + vertex_y2 = vertex_y1 + (area.bottom - area.top); + + glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0); + + glColor3f(rgb32_get_red(color), rgb32_get_green(color), + rgb32_get_blue(color)); + + glBegin(GL_QUADS); + glVertex2i(vertex_x1, vertex_y1); + glVertex2i(vertex_x1, vertex_y2); + glVertex2i(vertex_x2, vertex_y2); + glVertex2i(vertex_x2, vertex_y1); + glEnd(); + glFlush(); + + glColor3f(1, 1, 1); +} +#endif // USE_OPENGL + +static inline void fill_pixmap(RedDrawable_p* dest, const SpiceRect& area, rgb32_t color, + const SpicePoint& offset) +{ + pixman_image_t *dest_surface = dest->source.pixmap.pixman_image; + + spice_pixman_fill_rect(dest_surface, + area.left + offset.x, area.top + offset.y, + area.right - area.left, + area.bottom - area.top, + color); +} + +void RedDrawable::fill_rect(const SpiceRect& area, rgb32_t color) +{ + RedDrawable_p* dest = (RedDrawable_p*)get_opaque(); + switch (dest->source.type) { +#ifdef USE_OPENGL + case PIXELS_SOURCE_TYPE_GL_DRAWABLE: + fill_gl_drawable(dest, area, color, _origin); + break; +#endif // USE_OPENGL + case PIXELS_SOURCE_TYPE_X_DRAWABLE: + fill_drawable(dest, area, color, _origin); + break; + case PIXELS_SOURCE_TYPE_PIXMAP: + fill_pixmap(dest, area, color, _origin); + break; + default: + THROW("invalid dest type %d", dest->source.type); + } +} + +static inline void frame_drawable(RedDrawable_p* dest, const SpiceRect& area, rgb32_t color, + const SpicePoint& offset) +{ + Drawable drawable = dest->source.x_drawable.drawable; + GC gc = dest->source.x_drawable.gc; + + XLockDisplay(XPlatform::get_display()); + Colormap color_map = DefaultColormap(XPlatform::get_display(), + DefaultScreen(XPlatform::get_display())); + XColor x_color; + x_color.red = (uint16_t)rgb32_get_red(color) << 8; + x_color.green = (uint16_t)rgb32_get_green(color) << 8; + x_color.blue = (uint16_t)rgb32_get_blue(color) << 8; + x_color.flags = DoRed | DoGreen | DoBlue; + //todo: optimize color map + if (!XAllocColor(XPlatform::get_display(), color_map, &x_color)) { + LOG_WARN("color map failed"); + } + XUnlockDisplay(XPlatform::get_display()); + + XGCValues gc_vals; + gc_vals.foreground = x_color.pixel; + gc_vals.function = GXcopy; + gc_vals.fill_style = FillSolid; + XChangeGC(XPlatform::get_display(), gc, GCFunction | GCForeground | GCFillStyle, &gc_vals); + XFillRectangle(XPlatform::get_display(), drawable, + gc, area.left + offset.x, area.top + offset.y, + area.right - area.left, area.bottom - area.top); +} + +static inline void frame_pixmap(RedDrawable_p* dest, const SpiceRect& area, rgb32_t color, + const SpicePoint& offset) +{ + pixman_image_t *dest_surface = dest->source.pixmap.pixman_image; + + spice_pixman_fill_rect(dest_surface, + area.left + offset.x, area.top + offset.y, + area.right - area.left, + 1, + color); + spice_pixman_fill_rect(dest_surface, + area.left + offset.x, area.bottom + offset.y, + area.right - area.left, + 1, + color); + spice_pixman_fill_rect(dest_surface, + area.left + offset.x, area.top + offset.y, + 1, + area.bottom - area.top, + color); + spice_pixman_fill_rect(dest_surface, + area.right + offset.x, area.top + offset.y, + 1, + area.bottom - area.top, + color); +} + +void RedDrawable::frame_rect(const SpiceRect& area, rgb32_t color) +{ + RedDrawable_p* dest = (RedDrawable_p*)get_opaque(); + switch (dest->source.type) { + case PIXELS_SOURCE_TYPE_X_DRAWABLE: + frame_drawable(dest, area, color, _origin); + break; + case PIXELS_SOURCE_TYPE_PIXMAP: + frame_pixmap(dest, area, color, _origin); + break; + default: + THROW("invalid dest type %d", dest->source.type); + } +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/red_pixmap.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/x11/red_pixmap.cpp new file mode 100644 index 0000000..af30f52 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/red_pixmap.cpp @@ -0,0 +1,44 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "red_pixmap.h" +#include "debug.h" +#include "utils.h" + +RedPixmap::RedPixmap(int width, int height, RedPixmap::Format format, + bool top_bottom) + : _format (format) + , _width (width) + , _height (height) + , _stride (SPICE_ALIGN(width * format_to_bpp(format), 32) / 8) + , _top_bottom (top_bottom) + , _data (NULL) +{ +} + +RedPixmap::~RedPixmap() +{ +} + +bool RedPixmap::is_big_endian_bits() +{ + return false; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/red_pixmap_gl.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/x11/red_pixmap_gl.cpp new file mode 100644 index 0000000..8d81c31 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/red_pixmap_gl.cpp @@ -0,0 +1,311 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <GL/gl.h> +#include <GL/glu.h> +#include <GL/glext.h> +#include <X11/Xlib.h> +#include "common/gl_utils.h" + +#include "common.h" +#include "red_pixmap_gl.h" +#include "debug.h" +#include "utils.h" +#include "pixels_source_p.h" +#include "x_platform.h" +#include "red_window_p.h" + + +RedPixmapGL::RedPixmapGL(int width, int height, RedDrawable::Format format, + bool top_bottom, RedWindow *win, + RenderType rendertype) + : RedPixmap(width, height, format, top_bottom) +{ + GLuint fbo; + GLuint tex; + GLuint stencil_tex = 0; + Win xwin; + //GLint max_texture_size; + + ASSERT(format == RedDrawable::ARGB32 || format == RedDrawable::RGB32 || format == RedDrawable::A1); + ASSERT(sizeof(RedDrawable_p) <= PIXELES_SOURCE_OPAQUE_SIZE); + + ((PixelsSource_p*)get_opaque())->type = PIXELS_SOURCE_TYPE_GL_TEXTURE; + + _glcont = win->create_context_gl(); + if (!_glcont) { + THROW("glXCreateContext failed"); + } + + win->set_gl_context(_glcont); + + xwin = ((RedWindow_p*)win)->get_window(); + + /*glGetIntegerv(GL_MAX_TEXTURE_SIZE, &max_texture_size); + if (width > max_texture_size || height > max_texture_size) { + throw Exception(fmt("%s: unsuported max %|| width %|| height %||") + % __FUNCTION__ + % max_texture_size + % width + % height); + }*/ + + if (rendertype == RENDER_TYPE_FBO) { + glXMakeCurrent(XPlatform::get_display(), xwin, _glcont); + if (!gluCheckExtension((GLubyte *)"GL_EXT_framebuffer_object", + glGetString(GL_EXTENSIONS))) { + glXMakeCurrent(XPlatform::get_display(), 0, 0); + glXDestroyContext(XPlatform::get_display(), _glcont); + THROW("no GL_EXT_framebuffer_object extension"); + } + glEnable(GL_TEXTURE_2D); + glGenFramebuffersEXT(1, &fbo); + glGenTextures(1, &tex); + glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbo); + + glBindTexture(GL_TEXTURE_2D, tex); + + glTexImage2D(GL_TEXTURE_2D, 0, 4, gl_get_to_power_two(width), + gl_get_to_power_two(height), 0, GL_BGRA, GL_UNSIGNED_BYTE, + NULL); + + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); + + glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, GL_COLOR_ATTACHMENT0_EXT, + GL_TEXTURE_2D, tex, 0); + + + glGenTextures(1, &stencil_tex); + glBindTexture(GL_TEXTURE_2D, stencil_tex); + glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); + glTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_STENCIL_EXT, + gl_get_to_power_two(width), gl_get_to_power_two(height), 0, + GL_DEPTH_STENCIL_EXT, GL_UNSIGNED_INT_24_8_EXT, NULL); + glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, + GL_DEPTH_ATTACHMENT_EXT, + GL_TEXTURE_2D, stencil_tex, 0); + glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, + GL_STENCIL_ATTACHMENT_EXT, + GL_TEXTURE_2D, stencil_tex, 0); + glBindTexture(GL_TEXTURE_2D, 0); + + ((PixelsSource_p*)get_opaque())->gl.fbo = fbo; + win->set_render_fbo(fbo); + } else { + GLXPbuffer pbuff; + + pbuff = win->create_pbuff(gl_get_to_power_two(width), + gl_get_to_power_two(height)); + if (!pbuff) { + glXDestroyContext(XPlatform::get_display(), _glcont); + THROW("pbuff creation failed"); + } + glXMakeCurrent(XPlatform::get_display(), pbuff, _glcont); + glEnable(GL_TEXTURE_2D); + glGenTextures(1, &tex); + glBindTexture(GL_TEXTURE_2D, tex); + + glTexImage2D(GL_TEXTURE_2D, 0, 4, gl_get_to_power_two(width), + gl_get_to_power_two(height), 0, GL_BGRA, GL_UNSIGNED_BYTE, + NULL); + + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); + + glBindTexture(GL_TEXTURE_2D, 0); + ((PixelsSource_p*)get_opaque())->gl.pbuff = pbuff; + win->set_render_pbuff(pbuff); + } + + ((PixelsSource_p*)get_opaque())->gl.stencil_tex = stencil_tex; + ((PixelsSource_p*)get_opaque())->gl.tex = tex; + ((PixelsSource_p*)get_opaque())->gl.width = width; + ((PixelsSource_p*)get_opaque())->gl.height = height; + ((PixelsSource_p*)get_opaque())->gl.width_powed = gl_get_to_power_two(width); + ((PixelsSource_p*)get_opaque())->gl.height_powed = gl_get_to_power_two(height); + ((PixelsSource_p*)get_opaque())->gl.win = xwin; + ((PixelsSource_p*)get_opaque())->gl.rendertype = rendertype; + ((PixelsSource_p*)get_opaque())->gl.context = _glcont; + + _textures_lost = false; + + GLC_ERROR_TEST_FINISH; +} + +void RedPixmapGL::textures_lost() +{ + _textures_lost = true; +} + +void RedPixmapGL::touch_context() +{ + Win win; + GLXPbuffer pbuff; + RenderType rendertype; + + rendertype = ((PixelsSource_p*)get_opaque())->gl.rendertype; + if (rendertype == RENDER_TYPE_FBO) { + win = ((PixelsSource_p*)get_opaque())->gl.win; + if (_glcont) { + glXMakeCurrent(XPlatform::get_display(), win, _glcont); + } + } else { + pbuff = ((PixelsSource_p*)get_opaque())->gl.pbuff; + glXMakeCurrent(XPlatform::get_display(), pbuff, _glcont); + } + GLC_ERROR_TEST_FLUSH; +} + +void RedPixmapGL::update_texture(const SpiceRect *bbox) +{ + RenderType rendertype; + GLuint tex; + int height; + + rendertype = ((PixelsSource_p*)get_opaque())->gl.rendertype; + + if (rendertype == RENDER_TYPE_PBUFF) { + int tex_x, tex_y; + int vertex_x1, vertex_x2; + int vertex_y1, vertex_y2; + int is_enabled; + GLint prev_tex; + + height = ((PixelsSource_p*)get_opaque())->gl.height; + + tex = ((PixelsSource_p*)get_opaque())->gl.tex; + + tex_x = bbox->left; + tex_y = height - bbox->bottom; + vertex_x1 = bbox->left; + vertex_y1 = height - bbox->bottom; + vertex_x2 = vertex_x1 + (bbox->right - bbox->left); + vertex_y2 = vertex_y1 + (bbox->bottom - bbox->top); + + is_enabled = glIsEnabled(GL_TEXTURE_2D); + if (!is_enabled) { + glEnable(GL_TEXTURE_2D); + } else { + glGetIntegerv(GL_TEXTURE_BINDING_2D, &prev_tex); + } + glBindTexture(GL_TEXTURE_2D, tex); + glCopyTexSubImage2D(GL_TEXTURE_2D, 0, tex_x, tex_y, vertex_x1, + vertex_y1, vertex_x2 - vertex_x1, + vertex_y2 - vertex_y1); + if (!is_enabled) { + glBindTexture(GL_TEXTURE_2D, 0); + glDisable(GL_TEXTURE_2D); + } else { + glBindTexture(GL_TEXTURE_2D, prev_tex); + } + } + GLC_ERROR_TEST_FLUSH; +} + +void RedPixmapGL::pre_copy() +{ + glFlush(); + + glPushAttrib(GL_ENABLE_BIT | GL_COLOR_BUFFER_BIT | GL_TEXTURE_BIT | + GL_TRANSFORM_BIT); + + glMatrixMode(GL_TEXTURE); + glPushMatrix(); + glLoadIdentity(); + + glMatrixMode(GL_PROJECTION); + glPushMatrix(); + glLoadIdentity(); + gluOrtho2D(0, ((PixelsSource_p*)get_opaque())->gl.width, 0, + ((PixelsSource_p*)get_opaque())->gl.height); + + glMatrixMode(GL_MODELVIEW); + glPushMatrix(); + glLoadIdentity(); + glViewport(0, 0, ((PixelsSource_p*)get_opaque())->gl.width, + ((PixelsSource_p*)get_opaque())->gl.height); + + + glDisable(GL_TEXTURE_GEN_S); + glDisable(GL_TEXTURE_GEN_T); + glDisable(GL_BLEND); + glDisable(GL_ALPHA_TEST); + glDisable(GL_COLOR_LOGIC_OP); + + glColor3f(1, 1, 1); +} + +void RedPixmapGL::past_copy() +{ + glMatrixMode(GL_MODELVIEW); + glPopMatrix(); + glMatrixMode(GL_PROJECTION); + glPopMatrix(); + glMatrixMode(GL_TEXTURE); + glPopMatrix(); + + glPopAttrib(); + glFlush(); +} + +RedPixmapGL::~RedPixmapGL() +{ + GLXPbuffer pbuff; + GLuint fbo; + RenderType rendertype; + GLuint tex; + GLuint stencil_tex; + + /* + * GL textures might be destroyed by res change. + */ + if (!_textures_lost) { + tex = ((PixelsSource_p*)get_opaque())->gl.tex; + stencil_tex = ((PixelsSource_p*)get_opaque())->gl.stencil_tex; + if (tex) { + glDeleteTextures(1, &tex); + } + if (stencil_tex) { + glDeleteTextures(1, &stencil_tex); + } + if (_glcont) { + glXDestroyContext(XPlatform::get_display(), _glcont); + } + } + + rendertype = ((PixelsSource_p*)get_opaque())->gl.rendertype; + if (rendertype == RENDER_TYPE_FBO) { + fbo = ((PixelsSource_p*)get_opaque())->gl.fbo; + if (fbo) { + glDeleteFramebuffersEXT(1, &fbo); + } + } else { + pbuff = ((PixelsSource_p*)get_opaque())->gl.pbuff; + glXDestroyPbuffer(XPlatform::get_display(), pbuff); + } + + /* + * Both tex and stenctil_tex are textures and therefore they are destroyed + * when the context is gone, so we dont free them here as they might have + * already been destroyed. + */ + GLC_ERROR_TEST_FINISH; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/red_pixmap_sw.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/x11/red_pixmap_sw.cpp new file mode 100644 index 0000000..3fd8677 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/red_pixmap_sw.cpp @@ -0,0 +1,93 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "red_pixmap_sw.h" +#include "debug.h" +#include "utils.h" +#include "pixels_source_p.h" +#include "x_platform.h" + +RedPixmapSw::RedPixmapSw(int width, int height, RedDrawable::Format format, + bool top_bottom, RedWindow *win) + : RedPixmap(width, height, format, top_bottom) +{ + ASSERT(format == RedDrawable::ARGB32 || format == RedDrawable::RGB32 || + format == RedDrawable::RGB16_555 || format == RedDrawable::RGB16_565 || + format == RedDrawable::A1); + ASSERT(sizeof(RedDrawable_p) <= PIXELES_SOURCE_OPAQUE_SIZE); + pixman_image_t *pixman_image; + XImage *image; + XShmSegmentInfo *shminfo; + _data = NULL; + XVisualInfo *vinfo; + int screen_num; + RedDrawable::Format screen_format; + + screen_num = win ? win->get_screen_num() : 0; + vinfo = XPlatform::get_vinfo()[screen_num]; + screen_format = XPlatform::get_screen_format(screen_num); + + image = NULL; + shminfo = NULL; + + /* Only create XImage if same format as screen (needs re-verifying at + draw time!) */ + if (RedDrawable::format_copy_compatible(format, screen_format) || + format == A1) { + image = XPlatform::create_x_image(format, width, height, + vinfo->depth, vinfo->visual, + &shminfo); + _stride = image->bytes_per_line; + _data = (uint8_t *)image->data; + } else { + _data = new uint8_t[height * _stride]; + } + + pixman_image = pixman_image_create_bits(RedDrawable::format_to_pixman(format), + _width, _height, + (uint32_t *)_data, _stride); + if (pixman_image == NULL) { + THROW("surf create failed"); + } + + ((PixelsSource_p*)get_opaque())->type = PIXELS_SOURCE_TYPE_PIXMAP; + ((PixelsSource_p*)get_opaque())->pixmap.shminfo = shminfo; + ((PixelsSource_p*)get_opaque())->pixmap.x_image = image; + ((PixelsSource_p*)get_opaque())->pixmap.pixman_image = pixman_image; + ((PixelsSource_p*)get_opaque())->pixmap.format = format; +} + +RedPixmapSw::~RedPixmapSw() +{ + ASSERT(((PixelsSource_p*)get_opaque())->type == PIXELS_SOURCE_TYPE_PIXMAP); + + XShmSegmentInfo *shminfo = ((PixelsSource_p*)get_opaque())->pixmap.shminfo; + XImage *image = ((PixelsSource_p*)get_opaque())->pixmap.x_image; + + pixman_image_unref(((PixelsSource_p*)get_opaque())->pixmap.pixman_image); + + if (image) { + XPlatform::free_x_image(image, shminfo); + } else { + delete[] _data; + } +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/red_window.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/x11/red_window.cpp new file mode 100644 index 0000000..83144a5 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/red_window.cpp @@ -0,0 +1,2263 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include <X11/Xlib.h> +#include <X11/Xresource.h> +#include <X11/keysymdef.h> +#include <X11/Xatom.h> +#include <X11/XKBlib.h> + +#ifdef USE_OPENGL +#include <GL/gl.h> +#include <GL/glu.h> +#include <GL/glx.h> +#include <GL/glext.h> +#endif // USE_OPENGL +#include <stdio.h> + +#include <spice/protocol.h> +#include "common/region.h" + +#ifdef USE_OPENGL +#include "common/gl_utils.h" +#include "red_pixmap_gl.h" +#endif // USE_OPENGL + +#include "red_window.h" +#include "utils.h" +#include "debug.h" +#include "platform.h" +#include "x_platform.h" +#include "pixels_source_p.h" +#include "x_icon.h" + +#define X_RETRIES 10 +#define X_RETRY_DELAY_MICRO (1000 * 100) +#define RAISE_RETRIES X_RETRIES +#define Z_POSITION_RETRIES X_RETRIES +#define GET_POSITION_RETRIES X_RETRIES +#define GET_VIS_REGION_RETRIES X_RETRIES +#define MOUSE_GRAB_RETRIES X_RETRIES + +static Display* x_display = NULL; +static XContext user_data_context; +static bool using_evdev = false; +static XIC x_input_context = NULL; + +static Atom wm_protocol_atom; +static Atom wm_delete_window_atom; + +static Atom wm_desktop; +static Atom wm_current_desktop; + +static Atom wm_state; +static Atom wm_state_above; +static Atom wm_state_fullscreen; + +static Atom wm_user_time; + +static RedWindow* focus_window; +static unsigned long focus_serial = 0; + +#define USE_X11_KEYCODE + +#ifdef USE_X11_KEYCODE + +enum EvdevKeyCode { + EVDEV_KEYCODE_ESCAPE = 9, + EVDEV_KEYCODE_1, + EVDEV_KEYCODE_2, + EVDEV_KEYCODE_3, + EVDEV_KEYCODE_4, + EVDEV_KEYCODE_5, + EVDEV_KEYCODE_6, + EVDEV_KEYCODE_7, + EVDEV_KEYCODE_8, + EVDEV_KEYCODE_9, + EVDEV_KEYCODE_0, + EVDEV_KEYCODE_MINUS, + EVDEV_KEYCODE_EQUAL, + EVDEV_KEYCODE_BACK_SPACE, + EVDEV_KEYCODE_TAB, + EVDEV_KEYCODE_Q, + EVDEV_KEYCODE_W, + EVDEV_KEYCODE_E, + EVDEV_KEYCODE_R, + EVDEV_KEYCODE_T, + EVDEV_KEYCODE_Y, + EVDEV_KEYCODE_U, + EVDEV_KEYCODE_I, + EVDEV_KEYCODE_O, + EVDEV_KEYCODE_P, + EVDEV_KEYCODE_L_BRACKET, + EVDEV_KEYCODE_R_BRACKET, + EVDEV_KEYCODE_RETURN, + EVDEV_KEYCODE_L_CONTROL, + EVDEV_KEYCODE_A, + EVDEV_KEYCODE_S, + EVDEV_KEYCODE_D, + EVDEV_KEYCODE_F, + EVDEV_KEYCODE_G, + EVDEV_KEYCODE_H, + EVDEV_KEYCODE_J, + EVDEV_KEYCODE_K, + EVDEV_KEYCODE_L, + EVDEV_KEYCODE_SEMICOLON, + EVDEV_KEYCODE_APOSTROPH, + EVDEV_KEYCODE_BACKQUAT, + EVDEV_KEYCODE_L_SHIFT, + EVDEV_KEYCODE_BACKSLASH, + EVDEV_KEYCODE_Z, + EVDEV_KEYCODE_X, + EVDEV_KEYCODE_C, + EVDEV_KEYCODE_V, + EVDEV_KEYCODE_B, + EVDEV_KEYCODE_N, + EVDEV_KEYCODE_M, + EVDEV_KEYCODE_COMMA, + EVDEV_KEYCODE_PERIOD, + EVDEV_KEYCODE_SLASH, + EVDEV_KEYCODE_R_SHIFT, + EVDEV_KEYCODE_PAD_MULTIPLY, + EVDEV_KEYCODE_L_ALT, + EVDEV_KEYCODE_SPACE, + EVDEV_KEYCODE_CAPS_LOCK, + EVDEV_KEYCODE_F1, + EVDEV_KEYCODE_F2, + EVDEV_KEYCODE_F3, + EVDEV_KEYCODE_F4, + EVDEV_KEYCODE_F5, + EVDEV_KEYCODE_F6, + EVDEV_KEYCODE_F7, + EVDEV_KEYCODE_F8, + EVDEV_KEYCODE_F9, + EVDEV_KEYCODE_F10, + EVDEV_KEYCODE_NUM_LOCK, + EVDEV_KEYCODE_SCROLL_LOCK, + EVDEV_KEYCODE_PAD_7, + EVDEV_KEYCODE_PAD_8, + EVDEV_KEYCODE_PAD_9, + EVDEV_KEYCODE_PAD_SUBTRACT, + EVDEV_KEYCODE_PAD_4, + EVDEV_KEYCODE_PAD_5, + EVDEV_KEYCODE_PAD_6, + EVDEV_KEYCODE_PAD_ADD, + EVDEV_KEYCODE_PAD_1, + EVDEV_KEYCODE_PAD_2, + EVDEV_KEYCODE_PAD_3, + EVDEV_KEYCODE_PAD_0, + EVDEV_KEYCODE_PAD_DEL, + EVDEV_KEYCODE_EUROPEAN = 94, + EVDEV_KEYCODE_F11, + EVDEV_KEYCODE_F12, + EVDEV_KEYCODE_JAPANESE_BACKSLASH, + EVDEV_KEYCODE_JAPANESE_HENKAN = 100, + EVDEV_KEYCODE_JAPANESE_HIRAGANA_KATAKANA, + EVDEV_KEYCODE_JAPANESE_MUHENKAN, + EVDEV_KEYCODE_PAD_ENTER = 104, + EVDEV_KEYCODE_R_CONTROL, + EVDEV_KEYCODE_PAD_DEVIDE, + EVDEV_KEYCODE_PRINT, + EVDEV_KEYCODE_R_ALT, + EVDEV_KEYCODE_HOME = 110, + EVDEV_KEYCODE_UP, + EVDEV_KEYCODE_PAGE_UP, + EVDEV_KEYCODE_LEFT, + EVDEV_KEYCODE_RIGHT, + EVDEV_KEYCODE_END, + EVDEV_KEYCODE_DOWN, + EVDEV_KEYCODE_PAGE_DOWN, + EVDEV_KEYCODE_INSERT, + EVDEV_KEYCODE_DELETE, + EVDEV_KEYCODE_MUTE = 121, + EVDEV_KEYCODE_VOLUME_DOWN = 122, + EVDEV_KEYCODE_VOLUME_UP = 123, + EVDEV_KEYCODE_PAUSE = 127, + EVDEV_KEYCODE_HANGUL = 130, + EVDEV_KEYCODE_HANGUL_HANJA, + EVDEV_KEYCODE_YEN, + EVDEV_KEYCODE_L_COMMAND, + EVDEV_KEYCODE_R_COMMAND, + EVDEV_KEYCODE_MENU, +}; + +enum KbdKeyCode { + KBD_KEYCODE_ESCAPE = 9, + KBD_KEYCODE_1, + KBD_KEYCODE_2, + KBD_KEYCODE_3, + KBD_KEYCODE_4, + KBD_KEYCODE_5, + KBD_KEYCODE_6, + KBD_KEYCODE_7, + KBD_KEYCODE_8, + KBD_KEYCODE_9, + KBD_KEYCODE_0, + KBD_KEYCODE_MINUS, + KBD_KEYCODE_EQUAL, + KBD_KEYCODE_BACK_SPACE, + KBD_KEYCODE_TAB, + KBD_KEYCODE_Q, + KBD_KEYCODE_W, + KBD_KEYCODE_E, + KBD_KEYCODE_R, + KBD_KEYCODE_T, + KBD_KEYCODE_Y, + KBD_KEYCODE_U, + KBD_KEYCODE_I, + KBD_KEYCODE_O, + KBD_KEYCODE_P, + KBD_KEYCODE_L_BRACKET, + KBD_KEYCODE_R_BRACKET, + KBD_KEYCODE_RETURN, + KBD_KEYCODE_L_CONTROL, + KBD_KEYCODE_A, + KBD_KEYCODE_S, + KBD_KEYCODE_D, + KBD_KEYCODE_F, + KBD_KEYCODE_G, + KBD_KEYCODE_H, + KBD_KEYCODE_J, + KBD_KEYCODE_K, + KBD_KEYCODE_L, + KBD_KEYCODE_SEMICOLON, + KBD_KEYCODE_APOSTROPH, + KBD_KEYCODE_BACKQUAT, + KBD_KEYCODE_L_SHIFT, + KBD_KEYCODE_BACKSLASH, + KBD_KEYCODE_Z, + KBD_KEYCODE_X, + KBD_KEYCODE_C, + KBD_KEYCODE_V, + KBD_KEYCODE_B, + KBD_KEYCODE_N, + KBD_KEYCODE_M, + KBD_KEYCODE_COMMA, + KBD_KEYCODE_PERIOD, + KBD_KEYCODE_SLASH, + KBD_KEYCODE_R_SHIFT, + KBD_KEYCODE_PAD_MULTIPLY, + KBD_KEYCODE_L_ALT, + KBD_KEYCODE_SPACE, + KBD_KEYCODE_CAPS_LOCK, + KBD_KEYCODE_F1, + KBD_KEYCODE_F2, + KBD_KEYCODE_F3, + KBD_KEYCODE_F4, + KBD_KEYCODE_F5, + KBD_KEYCODE_F6, + KBD_KEYCODE_F7, + KBD_KEYCODE_F8, + KBD_KEYCODE_F9, + KBD_KEYCODE_F10, + KBD_KEYCODE_NUM_LOCK, + KBD_KEYCODE_SCROLL_LOCK, + KBD_KEYCODE_PAD_7, + KBD_KEYCODE_PAD_8, + KBD_KEYCODE_PAD_9, + KBD_KEYCODE_PAD_SUBTRACT, + KBD_KEYCODE_PAD_4, + KBD_KEYCODE_PAD_5, + KBD_KEYCODE_PAD_6, + KBD_KEYCODE_PAD_ADD, + KBD_KEYCODE_PAD_1, + KBD_KEYCODE_PAD_2, + KBD_KEYCODE_PAD_3, + KBD_KEYCODE_PAD_0, + KBD_KEYCODE_PAD_DEL, + KBD_KEYCODE_EUROPEAN = 94, + KBD_KEYCODE_F11, + KBD_KEYCODE_F12, + KBD_KEYCODE_HOME, + KBD_KEYCODE_UP, + KBD_KEYCODE_PAGE_UP, + KBD_KEYCODE_LEFT, + KBD_KEYCODE_RIGHT = 102, + KBD_KEYCODE_END, + KBD_KEYCODE_DOWN, + KBD_KEYCODE_PAGE_DOWN, + KBD_KEYCODE_INSERT, + KBD_KEYCODE_DELETE, + KBD_KEYCODE_PAD_ENTER, + KBD_KEYCODE_R_CONTROL, + KBD_KEYCODE_PAUSE, + KBD_KEYCODE_PRINT, + KBD_KEYCODE_PAD_DEVIDE, + KBD_KEYCODE_R_ALT, + KBD_KEYCODE_L_COMMAND = 115, + KBD_KEYCODE_R_COMMAND, + KBD_KEYCODE_MENU, + KBD_KEYCODE_JAPANESE_HENKAN = 129, + KBD_KEYCODE_JAPANESE_MUHENKAN = 131, + KBD_KEYCODE_YEN = 133, + KBD_KEYCODE_JAPANESE_HIRAGANA_KATAKANA = 208, + KBD_KEYCODE_HANGUL_HANJA, + KBD_KEYCODE_HANGUL, + KBD_KEYCODE_JAPANESE_BACKSLASH, +}; + +static void query_keyboard() +{ + XLockDisplay(x_display); + XkbDescPtr kbd_desk = XkbGetKeyboard(x_display, XkbAllComponentsMask, XkbUseCoreKbd); + XUnlockDisplay(x_display); + if (!kbd_desk) { + LOG_WARN("get keyboard failed"); + return; + } + + XLockDisplay(x_display); + char* keycodes = XGetAtomName(x_display, kbd_desk->names->keycodes); + XUnlockDisplay(x_display); + + if (keycodes) { + if (strstr(keycodes, "evdev")) { + using_evdev = true; + } + XFree(keycodes); + } else { + LOG_WARN("get name failed"); + } + XkbFreeClientMap(kbd_desk, XkbAllComponentsMask, True); +} + +static RedKey keycode_map[256]; + +#define INIT_MAP \ + KEYMAP(KEYCODE_ESCAPE, REDKEY_ESCAPE); \ + KEYMAP(KEYCODE_1, REDKEY_1); \ + KEYMAP(KEYCODE_2, REDKEY_2); \ + KEYMAP(KEYCODE_3, REDKEY_3); \ + KEYMAP(KEYCODE_4, REDKEY_4); \ + KEYMAP(KEYCODE_5, REDKEY_5); \ + KEYMAP(KEYCODE_6, REDKEY_6); \ + KEYMAP(KEYCODE_7, REDKEY_7); \ + KEYMAP(KEYCODE_8, REDKEY_8); \ + KEYMAP(KEYCODE_9, REDKEY_9); \ + KEYMAP(KEYCODE_0, REDKEY_0); \ + KEYMAP(KEYCODE_MINUS, REDKEY_MINUS); \ + KEYMAP(KEYCODE_EQUAL, REDKEY_EQUALS); \ + KEYMAP(KEYCODE_BACK_SPACE, REDKEY_BACKSPACE); \ + KEYMAP(KEYCODE_TAB, REDKEY_TAB); \ + KEYMAP(KEYCODE_Q, REDKEY_Q); \ + KEYMAP(KEYCODE_W, REDKEY_W); \ + KEYMAP(KEYCODE_E, REDKEY_E); \ + KEYMAP(KEYCODE_R, REDKEY_R); \ + KEYMAP(KEYCODE_T, REDKEY_T); \ + KEYMAP(KEYCODE_Y, REDKEY_Y); \ + KEYMAP(KEYCODE_U, REDKEY_U); \ + KEYMAP(KEYCODE_I, REDKEY_I); \ + KEYMAP(KEYCODE_O, REDKEY_O); \ + KEYMAP(KEYCODE_P, REDKEY_P); \ + KEYMAP(KEYCODE_L_BRACKET, REDKEY_L_BRACKET); \ + KEYMAP(KEYCODE_R_BRACKET, REDKEY_R_BRACKET); \ + KEYMAP(KEYCODE_RETURN, REDKEY_ENTER); \ + KEYMAP(KEYCODE_L_CONTROL, REDKEY_L_CTRL); \ + KEYMAP(KEYCODE_A, REDKEY_A); \ + KEYMAP(KEYCODE_S, REDKEY_S); \ + KEYMAP(KEYCODE_D, REDKEY_D); \ + KEYMAP(KEYCODE_F, REDKEY_F); \ + KEYMAP(KEYCODE_G, REDKEY_G); \ + KEYMAP(KEYCODE_H, REDKEY_H); \ + KEYMAP(KEYCODE_J, REDKEY_J); \ + KEYMAP(KEYCODE_K, REDKEY_K); \ + KEYMAP(KEYCODE_L, REDKEY_L); \ + KEYMAP(KEYCODE_SEMICOLON, REDKEY_SEMICOLON); \ + KEYMAP(KEYCODE_APOSTROPH, REDKEY_QUOTE); \ + KEYMAP(KEYCODE_BACKQUAT, REDKEY_BACK_QUOTE); \ + KEYMAP(KEYCODE_L_SHIFT, REDKEY_L_SHIFT); \ + KEYMAP(KEYCODE_BACKSLASH, REDKEY_BACK_SLASH); \ + KEYMAP(KEYCODE_Z, REDKEY_Z); \ + KEYMAP(KEYCODE_X, REDKEY_X); \ + KEYMAP(KEYCODE_C, REDKEY_C); \ + KEYMAP(KEYCODE_V, REDKEY_V); \ + KEYMAP(KEYCODE_B, REDKEY_B); \ + KEYMAP(KEYCODE_N, REDKEY_N); \ + KEYMAP(KEYCODE_M, REDKEY_M); \ + KEYMAP(KEYCODE_COMMA, REDKEY_COMMA); \ + KEYMAP(KEYCODE_PERIOD, REDKEY_PERIOD); \ + KEYMAP(KEYCODE_SLASH, REDKEY_SLASH); \ + KEYMAP(KEYCODE_R_SHIFT, REDKEY_R_SHIFT); \ + KEYMAP(KEYCODE_PAD_MULTIPLY, REDKEY_PAD_MULTIPLY); \ + KEYMAP(KEYCODE_L_ALT, REDKEY_L_ALT); \ + KEYMAP(KEYCODE_SPACE, REDKEY_SPACE); \ + KEYMAP(KEYCODE_CAPS_LOCK, REDKEY_CAPS_LOCK); \ + KEYMAP(KEYCODE_F1, REDKEY_F1); \ + KEYMAP(KEYCODE_F2, REDKEY_F2); \ + KEYMAP(KEYCODE_F3, REDKEY_F3); \ + KEYMAP(KEYCODE_F4, REDKEY_F4); \ + KEYMAP(KEYCODE_F5, REDKEY_F5); \ + KEYMAP(KEYCODE_F6, REDKEY_F6); \ + KEYMAP(KEYCODE_F7, REDKEY_F7); \ + KEYMAP(KEYCODE_F8, REDKEY_F8); \ + KEYMAP(KEYCODE_F9, REDKEY_F9); \ + KEYMAP(KEYCODE_F10, REDKEY_F10); \ + KEYMAP(KEYCODE_NUM_LOCK, REDKEY_NUM_LOCK); \ + KEYMAP(KEYCODE_SCROLL_LOCK, REDKEY_SCROLL_LOCK); \ + KEYMAP(KEYCODE_PAD_7, REDKEY_PAD_7); \ + KEYMAP(KEYCODE_PAD_8, REDKEY_PAD_8); \ + KEYMAP(KEYCODE_PAD_9, REDKEY_PAD_9); \ + KEYMAP(KEYCODE_PAD_SUBTRACT, REDKEY_PAD_MINUS); \ + KEYMAP(KEYCODE_PAD_4, REDKEY_PAD_4); \ + KEYMAP(KEYCODE_PAD_5, REDKEY_PAD_5); \ + KEYMAP(KEYCODE_PAD_6, REDKEY_PAD_6); \ + KEYMAP(KEYCODE_PAD_ADD, REDKEY_PAD_PLUS); \ + KEYMAP(KEYCODE_PAD_1, REDKEY_PAD_1); \ + KEYMAP(KEYCODE_PAD_2, REDKEY_PAD_2); \ + KEYMAP(KEYCODE_PAD_3, REDKEY_PAD_3); \ + KEYMAP(KEYCODE_PAD_0, REDKEY_PAD_0); \ + KEYMAP(KEYCODE_PAD_DEL, REDKEY_PAD_POINT); \ + KEYMAP(KEYCODE_EUROPEAN, REDKEY_EUROPEAN); \ + KEYMAP(KEYCODE_F11, REDKEY_F11); \ + KEYMAP(KEYCODE_F12, REDKEY_F12); \ + KEYMAP(KEYCODE_JAPANESE_BACKSLASH, REDKEY_JAPANESE_BACKSLASH); \ + KEYMAP(KEYCODE_JAPANESE_HENKAN, REDKEY_JAPANESE_HENKAN); \ + KEYMAP(KEYCODE_JAPANESE_HIRAGANA_KATAKANA, REDKEY_JAPANESE_HIRAGANA_KATAKANA); \ + KEYMAP(KEYCODE_JAPANESE_MUHENKAN, REDKEY_JAPANESE_MUHENKAN); \ + KEYMAP(KEYCODE_PAD_ENTER, REDKEY_PAD_ENTER); \ + KEYMAP(KEYCODE_R_CONTROL, REDKEY_R_CTRL); \ + KEYMAP(KEYCODE_PAD_DEVIDE, REDKEY_PAD_DIVIDE); \ + KEYMAP(KEYCODE_PRINT, REDKEY_CTRL_PRINT_SCREEN); \ + KEYMAP(KEYCODE_R_ALT, REDKEY_R_ALT); \ + KEYMAP(KEYCODE_HOME, REDKEY_HOME); \ + KEYMAP(KEYCODE_UP, REDKEY_UP); \ + KEYMAP(KEYCODE_PAGE_UP, REDKEY_PAGEUP); \ + KEYMAP(KEYCODE_LEFT, REDKEY_LEFT); \ + KEYMAP(KEYCODE_RIGHT, REDKEY_RIGHT); \ + KEYMAP(KEYCODE_END, REDKEY_END); \ + KEYMAP(KEYCODE_DOWN, REDKEY_DOWN); \ + KEYMAP(KEYCODE_PAGE_DOWN, REDKEY_PAGEDOWN); \ + KEYMAP(KEYCODE_INSERT, REDKEY_INSERT); \ + KEYMAP(KEYCODE_DELETE, REDKEY_DELETE); \ + KEYMAP(KEYCODE_PAUSE, REDKEY_PAUSE); \ + \ + KEYMAP(KEYCODE_YEN, REDKEY_JAPANESE_YEN); \ + KEYMAP(KEYCODE_L_COMMAND, REDKEY_LEFT_CMD); \ + KEYMAP(KEYCODE_R_COMMAND, REDKEY_RIGHT_CMD); \ + KEYMAP(KEYCODE_MENU, REDKEY_MENU); \ + KEYMAP(KEYCODE_HANGUL, REDKEY_KOREAN_HANGUL); \ + KEYMAP(KEYCODE_HANGUL_HANJA, REDKEY_KOREAN_HANGUL_HANJA); + +static void init_evdev_map() +{ + #define KEYMAP(key_code, red_key) keycode_map[EVDEV_##key_code] = red_key + INIT_MAP; + KEYMAP(KEYCODE_MUTE, REDKEY_MUTE); + KEYMAP(KEYCODE_VOLUME_DOWN, REDKEY_VOLUME_DOWN); + KEYMAP(KEYCODE_VOLUME_UP, REDKEY_VOLUME_UP); + #undef KEYMAP +} + +static void init_kbd_map() +{ + #define KEYMAP(key_code, red_key) keycode_map[KBD_##key_code] = red_key + INIT_MAP; + #undef KEYMAP +} + +static void init_key_map() +{ + query_keyboard(); + memset(keycode_map, 0, sizeof(keycode_map)); + if (using_evdev) { + LOG_INFO("using evdev mapping"); + init_evdev_map(); + } else { + LOG_INFO("using kbd mapping"); + init_kbd_map(); + } +} + +static inline RedKey to_red_key_code(unsigned int keycode) +{ + if (keycode > 255) { + return REDKEY_INVALID; + } + return keycode_map[keycode]; +} + +#else + +static RedKey key_table_0xff[256]; //miscellany + +static RedKey key_table_0x00[256]; //Latin 1 + +static RedKey key_table_0xfe[256]; //Keyboard (XKB) Extension + +#define INIT_KEY(x, red) key_table_0xff[x & 0xff] = red; + +static void init_key_table_0xff() +{ + for (int i = 0; i < sizeof(key_table_0xff) / sizeof(key_table_0xff[0]); i++) { + key_table_0xff[i] = REDKEY_INVALID; + } + + INIT_KEY(XK_Escape, REDKEY_ESCAPE); + INIT_KEY(XK_BackSpace, REDKEY_BACKSPACE); + INIT_KEY(XK_Tab, REDKEY_TAB); + INIT_KEY(XK_Return, REDKEY_ENTER); + INIT_KEY(XK_Control_L, REDKEY_L_CTRL); + INIT_KEY(XK_Shift_L, REDKEY_L_SHIFT); + INIT_KEY(XK_Shift_R, REDKEY_R_SHIFT); + INIT_KEY(XK_KP_Multiply, REDKEY_PAD_MULTIPLY); + INIT_KEY(XK_Alt_L, REDKEY_L_ALT); + INIT_KEY(XK_Caps_Lock, REDKEY_CAPS_LOCK); + INIT_KEY(XK_F1, REDKEY_F1); + INIT_KEY(XK_F2, REDKEY_F2); + INIT_KEY(XK_F3, REDKEY_F3); + INIT_KEY(XK_F4, REDKEY_F4); + INIT_KEY(XK_F5, REDKEY_F5); + INIT_KEY(XK_F6, REDKEY_F6); + INIT_KEY(XK_F7, REDKEY_F7); + INIT_KEY(XK_F8, REDKEY_F8); + INIT_KEY(XK_F9, REDKEY_F9); + INIT_KEY(XK_F10, REDKEY_F10); + + INIT_KEY(XK_Num_Lock, REDKEY_NUM_LOCK); + INIT_KEY(XK_Scroll_Lock, REDKEY_SCROLL_LOCK); + INIT_KEY(XK_KP_7, REDKEY_PAD_7); + INIT_KEY(XK_KP_Home, REDKEY_PAD_7); + INIT_KEY(XK_KP_8, REDKEY_PAD_8); + INIT_KEY(XK_KP_Up, REDKEY_PAD_8); + INIT_KEY(XK_KP_9, REDKEY_PAD_9); + INIT_KEY(XK_KP_Page_Up, REDKEY_PAD_9); + INIT_KEY(XK_KP_Subtract, REDKEY_PAD_MINUS); + INIT_KEY(XK_KP_4, REDKEY_PAD_4); + INIT_KEY(XK_KP_Left, REDKEY_PAD_4); + INIT_KEY(XK_KP_5, REDKEY_PAD_5); + INIT_KEY(XK_KP_Begin, REDKEY_PAD_5); + INIT_KEY(XK_KP_6, REDKEY_PAD_6); + INIT_KEY(XK_KP_Right, REDKEY_PAD_6); + INIT_KEY(XK_KP_Add, REDKEY_PAD_PLUS); + INIT_KEY(XK_KP_1, REDKEY_PAD_1); + INIT_KEY(XK_KP_End, REDKEY_PAD_1); + INIT_KEY(XK_KP_2, REDKEY_PAD_2); + INIT_KEY(XK_KP_Down, REDKEY_PAD_2); + INIT_KEY(XK_KP_3, REDKEY_PAD_3); + INIT_KEY(XK_KP_Page_Down, REDKEY_PAD_3); + INIT_KEY(XK_KP_0, REDKEY_PAD_0); + INIT_KEY(XK_KP_Insert, REDKEY_PAD_0); + INIT_KEY(XK_KP_Decimal, REDKEY_PAD_POINT); + INIT_KEY(XK_KP_Delete, REDKEY_PAD_POINT); + INIT_KEY(XK_F11, REDKEY_F11); + INIT_KEY(XK_F12, REDKEY_F12); + + INIT_KEY(XK_KP_Enter, REDKEY_PAD_ENTER); + INIT_KEY(XK_Control_R, REDKEY_R_CTRL); + INIT_KEY(XK_KP_Divide, REDKEY_PAD_DIVIDE); + INIT_KEY(XK_Print, REDKEY_CTRL_PRINT_SCREEN); + + INIT_KEY(XK_Home, REDKEY_HOME); + INIT_KEY(XK_Up, REDKEY_UP); + INIT_KEY(XK_Page_Up, REDKEY_PAGEUP); + INIT_KEY(XK_Left, REDKEY_LEFT); + INIT_KEY(XK_Right, REDKEY_RIGHT); + INIT_KEY(XK_End, REDKEY_END); + + INIT_KEY(XK_Down, REDKEY_DOWN); + INIT_KEY(XK_Page_Down, REDKEY_PAGEDOWN); + INIT_KEY(XK_Insert, REDKEY_INSERT); + INIT_KEY(XK_Delete, REDKEY_DELETE); + INIT_KEY(XK_Super_L, REDKEY_LEFT_CMD); + INIT_KEY(XK_Super_R, REDKEY_RIGHT_CMD); + INIT_KEY(XK_Menu, REDKEY_MENU); + INIT_KEY(XK_Pause, REDKEY_CTRL_BREAK); +} + +#undef INIT_KEY +#define INIT_KEY(x, red) key_table_0x00[x & 0xff] = red; + +static void init_key_table_0x00() +{ + for (int i = 0; i < sizeof(key_table_0x00) / sizeof(key_table_0x00[0]); i++) { + key_table_0x00[i] = REDKEY_INVALID; + } + + INIT_KEY(XK_1, REDKEY_1); + INIT_KEY(XK_2, REDKEY_2); + INIT_KEY(XK_3, REDKEY_3); + INIT_KEY(XK_4, REDKEY_4); + INIT_KEY(XK_5, REDKEY_5); + INIT_KEY(XK_6, REDKEY_6); + INIT_KEY(XK_7, REDKEY_7); + INIT_KEY(XK_8, REDKEY_8); + INIT_KEY(XK_9, REDKEY_9); + INIT_KEY(XK_0, REDKEY_0); + INIT_KEY(XK_minus, REDKEY_MINUS); + INIT_KEY(XK_equal, REDKEY_EQUALS); + INIT_KEY(XK_q, REDKEY_Q); + INIT_KEY(XK_w, REDKEY_W); + INIT_KEY(XK_e, REDKEY_E); + INIT_KEY(XK_r, REDKEY_R); + INIT_KEY(XK_t, REDKEY_T); + INIT_KEY(XK_y, REDKEY_Y); + INIT_KEY(XK_u, REDKEY_U); + INIT_KEY(XK_i, REDKEY_I); + INIT_KEY(XK_o, REDKEY_O); + INIT_KEY(XK_p, REDKEY_P); + INIT_KEY(XK_bracketleft, REDKEY_L_BRACKET); + INIT_KEY(XK_bracketright, REDKEY_R_BRACKET); + INIT_KEY(XK_a, REDKEY_A); + INIT_KEY(XK_s, REDKEY_S); + INIT_KEY(XK_e, REDKEY_E); + INIT_KEY(XK_d, REDKEY_D); + INIT_KEY(XK_f, REDKEY_F); + INIT_KEY(XK_g, REDKEY_G); + INIT_KEY(XK_h, REDKEY_H); + INIT_KEY(XK_j, REDKEY_J); + INIT_KEY(XK_k, REDKEY_K); + INIT_KEY(XK_l, REDKEY_L); + INIT_KEY(XK_semicolon, REDKEY_SEMICOLON); + INIT_KEY(XK_quoteright, REDKEY_QUOTE); + INIT_KEY(XK_quoteleft, REDKEY_BACK_QUOTE); + INIT_KEY(XK_backslash, REDKEY_BACK_SLASH); + INIT_KEY(XK_z, REDKEY_Z); + INIT_KEY(XK_x, REDKEY_X); + INIT_KEY(XK_c, REDKEY_C); + INIT_KEY(XK_v, REDKEY_V); + INIT_KEY(XK_b, REDKEY_B); + INIT_KEY(XK_n, REDKEY_N); + INIT_KEY(XK_m, REDKEY_M); + INIT_KEY(XK_comma, REDKEY_COMMA); + INIT_KEY(XK_period, REDKEY_PERIOD); + INIT_KEY(XK_slash, REDKEY_SLASH); + INIT_KEY(XK_space, REDKEY_SPACE); +} + +#undef INIT_KEY +#define INIT_KEY(x, red) key_table_0xfe[x & 0xff] = red; + +static void init_key_table_0xfe() +{ + for (int i = 0; i < sizeof(key_table_0xfe) / sizeof(key_table_0xfe[0]); i++) { + key_table_0xfe[i] = REDKEY_INVALID; + } + + INIT_KEY(XK_ISO_Level3_Shift, REDKEY_R_ALT); +} + +static inline RedKey to_red_key_code(unsigned int keycode) +{ + XLockDisplay(x_display); + KeySym sym = XKeycodeToKeysym(x_display, keycode, 0); + XUnlockDisplay(x_display); + RedKey red_key; + + if (sym == NoSymbol) { + DBG(0, "no symbol for %d", keycode); + } + + switch (sym >> 8) { + case 0x00: + red_key = key_table_0x00[sym & 0xff]; + break; + case 0xff: + red_key = key_table_0xff[sym & 0xff]; + break; + case 0xfe: + red_key = key_table_0xfe[sym & 0xff]; + break; + default: + DBG(0, "unsupported key set %lu", (sym >> 8)); + return REDKEY_INVALID; + } + + if (red_key == REDKEY_INVALID) { + DBG(0, "no valid key mapping for keycode %u", keycode); + } + return red_key; +} + +#endif + +static inline int to_red_buttons_state(unsigned int state) +{ + return ((state & Button1Mask) ? SPICE_MOUSE_BUTTON_MASK_LEFT : 0) | + ((state & Button2Mask) ? SPICE_MOUSE_BUTTON_MASK_MIDDLE : 0) | + ((state & Button3Mask) ? SPICE_MOUSE_BUTTON_MASK_RIGHT : 0); +} + +static inline SpiceMouseButton to_red_button(unsigned int botton, unsigned int& state, bool press) +{ + unsigned int mask = 0; + SpiceMouseButton ret; + + switch (botton) { + case Button1: + mask = SPICE_MOUSE_BUTTON_MASK_LEFT; + ret = SPICE_MOUSE_BUTTON_LEFT; + break; + case Button2: + mask = SPICE_MOUSE_BUTTON_MASK_MIDDLE; + ret = SPICE_MOUSE_BUTTON_MIDDLE; + break; + case Button3: + mask = SPICE_MOUSE_BUTTON_MASK_RIGHT; + ret = SPICE_MOUSE_BUTTON_RIGHT; + break; + case Button4: + ret = SPICE_MOUSE_BUTTON_UP; + break; + case Button5: + ret = SPICE_MOUSE_BUTTON_DOWN; + break; + default: + ret = SPICE_MOUSE_BUTTON_INVALID; + } + if (press) { + state |= mask; + } else { + state &= ~mask; + } + return ret; +} + +void RedWindow_p::handle_key_press_event(RedWindow& window, XKeyEvent* event) +{ + static int buf_size = 0; + static wchar_t* utf32_buf = NULL; + + KeySym key_sym; + Status status; + int len; + + window.get_listener().on_key_press(to_red_key_code(event->keycode)); + + if (x_input_context != NULL) { + for (;;) { + XLockDisplay(x_display); + len = XwcLookupString(x_input_context, event, utf32_buf, buf_size, &key_sym, &status); + XUnlockDisplay(x_display); + if (status != XBufferOverflow) { + break; + } + + if (utf32_buf) { + delete [] utf32_buf; + } + utf32_buf = new wchar_t[len]; + buf_size = len; + } + + switch (status) { + case XLookupChars: + case XLookupBoth: { + uint32_t* now = (uint32_t*)utf32_buf; + uint32_t* end = now + len; + + for (; now < end; now++) { + window.get_listener().on_char(*now); + } + break; + } + + case XLookupNone: + case XLookupKeySym: + break; + default: + THROW("unexpected status %d", status); + } + } else { /* no XIM */ + unsigned char buffer[16]; + int i; + + XLockDisplay(x_display); + len = XLookupString(event, (char *)buffer, sizeof(buffer), NULL, NULL); + XUnlockDisplay(x_display); + for (i = 0; i < len; i++) { + window.get_listener().on_char((uint32_t)buffer[i]); + } + } +} + +void RedWindow_p::win_proc(XEvent& event) +{ + XPointer window_pointer; + RedWindow* red_window; + int res; + + XLockDisplay(x_display); + res = XFindContext(x_display, event.xany.window, user_data_context, &window_pointer); + XUnlockDisplay(x_display); + if (res) { + THROW("no user data"); + } + red_window = (RedWindow*)window_pointer; + switch (event.type) { + case MotionNotify: { + SpicePoint size = red_window->get_size(); + if (event.xmotion.x >= 0 && event.xmotion.y >= 0 && + event.xmotion.x < size.x && event.xmotion.y < size.y) { + SpicePoint origin = red_window->get_origin(); + red_window->get_listener().on_pointer_motion(event.xmotion.x - origin.x, + event.xmotion.y - origin.y, + to_red_buttons_state(event.xmotion.state)); + } + break; + } + case KeyPress: + red_window->handle_key_press_event(*red_window, &event.xkey); + red_window->_last_event_time = event.xkey.time; + XChangeProperty(x_display, red_window->_win, wm_user_time, + XA_CARDINAL, 32, PropModeReplace, + (unsigned char *)&event.xkey.time, 1); + break; + case KeyRelease: { + RedKey key = to_red_key_code(event.xkey.keycode); + XEvent next_event; + XLockDisplay(x_display); + Bool check = XCheckWindowEvent(x_display, red_window->_win, ~long(0), &next_event); + XUnlockDisplay(x_display); + if (check) { + XPutBackEvent(x_display, &next_event); + if ((next_event.type == KeyPress) && + (event.xkey.keycode == next_event.xkey.keycode) && + (event.xkey.time == next_event.xkey.time)) { + break; + } + } + if (key != REDKEY_KOREAN_HANGUL && key != REDKEY_KOREAN_HANGUL_HANJA) { + red_window->get_listener().on_key_release(key); + } + break; + } + case ButtonPress: { + unsigned int state = to_red_buttons_state(event.xbutton.state); + SpiceMouseButton button = to_red_button(event.xbutton.button, state, true); + if (button == SPICE_MOUSE_BUTTON_INVALID) { + DBG(0, "ButtonPress: invalid button %u", event.xbutton.button); + break; + } + red_window->get_listener().on_mouse_button_press(button, state); + red_window->_last_event_time = event.xkey.time; + XChangeProperty(x_display, red_window->_win, wm_user_time, + XA_CARDINAL, 32, PropModeReplace, + (unsigned char *)&event.xbutton.time, 1); + break; + } + case ButtonRelease: { + unsigned int state = to_red_buttons_state(event.xbutton.state); + SpiceMouseButton button = to_red_button(event.xbutton.button, state, false); + if (button == SPICE_MOUSE_BUTTON_INVALID) { + DBG(0, "ButtonRelease: invalid button %u", event.xbutton.button); + break; + } + red_window->get_listener().on_mouse_button_release(button, state); + break; + } + case Expose: { + SpicePoint origin; + SpiceRect area; + + origin = red_window->get_origin(); + area.left = event.xexpose.x - origin.x; + area.right = area.left + event.xexpose.width; + area.top = event.xexpose.y - origin.y; + area.bottom = area.top + event.xexpose.height; + red_window->get_listener().on_exposed_rect(area); + break; + } + case FocusIn: + /* Ignore focus events caused by grabbed (hotkeys) */ + if (event.xfocus.mode == NotifyWhileGrabbed) { + break; + } + + if (event.xany.serial < focus_serial) { + DBG(0, "Ignored FocusIn win=%p (serial=%d, Last foucs serial=%d)", + red_window, event.xany.serial, focus_serial); + break; + } + + if (!red_window->_ignore_foucs) { + RedWindow* prev_focus_window = focus_window; + focus_window = red_window; + focus_serial = event.xany.serial; + if (prev_focus_window && (red_window != prev_focus_window)) { + prev_focus_window->on_focus_out(); + } + red_window->on_focus_in(); + } else { + red_window->_shadow_foucs_state = true; + memcpy(&red_window->_shadow_focus_event, &event, sizeof(XEvent)); + } + break; + case FocusOut: + /* Ignore focus events caused by grabbed (hotkeys) */ + if (event.xfocus.mode == NotifyWhileGrabbed) { + break; + } + + if (event.xany.serial <= focus_serial) { + DBG(0, "Ignored FocusOut win=%p (serial=%d, Last foucs serial=%d)", + red_window, event.xany.serial, focus_serial); + break; + } + + if (!red_window->_ignore_foucs) { + focus_serial = event.xany.serial; + if (red_window != focus_window) { + break; + } + focus_window = NULL; + red_window->on_focus_out(); + } else { + red_window->_shadow_foucs_state = false; + memcpy(&red_window->_shadow_focus_event, &event, sizeof(XEvent)); + } + break; + case ConfigureNotify: + break; + case ClientMessage: + if (event.xclient.message_type == wm_protocol_atom) { + ASSERT(event.xclient.format == 32); + if ((Atom)event.xclient.data.l[0] == wm_delete_window_atom) { + DBG(0, "wm_delete_window"); + Platform::send_quit_request(); + } + } + break; + case DestroyNotify: + break; + case MapNotify: + red_window->set_visibale(true); + break; + case UnmapNotify: + red_window->set_visibale(false); + break; + case EnterNotify: + if (!red_window->_ignore_pointer) { + SpicePoint origin = red_window->get_origin(); + red_window->on_pointer_enter(event.xcrossing.x - origin.x, event.xcrossing.y - origin.y, + to_red_buttons_state(event.xcrossing.state)); + } else { + red_window->_shadow_pointer_state = true; + memcpy(&red_window->_shadow_pointer_event, &event, sizeof(XEvent)); + } + break; + case LeaveNotify: + if (!red_window->_ignore_pointer) { + red_window->on_pointer_leave(); + } else { + red_window->_shadow_pointer_state = false; + memcpy(&red_window->_shadow_pointer_event, &event, sizeof(XEvent)); + } + break; + } +} + +void RedWindow_p::sync(bool shadowed) +{ + XEvent event; + + if (shadowed) { + _ignore_foucs = true; + _ignore_pointer = true; + _shadow_foucs_state = _focused; + _shadow_pointer_state = _pointer_in_window; + _shadow_focus_event.xany.serial = 0; + } + + XLockDisplay(x_display); + XSync(x_display, False); + while (XCheckWindowEvent(x_display, _win, ~long(0), &event)) { + XUnlockDisplay(x_display); + win_proc(event); + XLockDisplay(x_display); + } + XUnlockDisplay(x_display); + + if (!shadowed) { + return; + } + _ignore_foucs = false; + _ignore_pointer = false; + if (_shadow_foucs_state != _focused) { + DBG(0, "put back shadowed focus event"); + XPutBackEvent(x_display, &_shadow_focus_event); + } else if (_shadow_focus_event.xany.serial > 0) { + focus_serial = _shadow_focus_event.xany.serial; + } + if (_shadow_pointer_state != _pointer_in_window) { + DBG(0, "put back shadowed pointer event"); + XPutBackEvent(x_display, &_shadow_pointer_event); + } +} + +void RedWindow_p::wait_for_reparent() +{ + XEvent event; + for (int i = 0; i < 50; i++) { + XLockDisplay(x_display); + bool check = XCheckTypedWindowEvent(x_display, _win, ReparentNotify, &event); + XUnlockDisplay(x_display); + if (check) { + return; + } + usleep(20 * 1000); + // HDG: why?? this makes no sense + XLockDisplay(x_display); + XSync(x_display, False); + XUnlockDisplay(x_display); + } + DBG(0, "failed"); +} + +void RedWindow_p::wait_for_map() +{ + bool wait_parent = _expect_parent; + while (!_visibale) { + XEvent event; + XLockDisplay(x_display); + XWindowEvent(x_display, _win, ~0, &event); + XUnlockDisplay(x_display); + switch (event.type) { + case ReparentNotify: + wait_parent = false; + break; + case MapNotify: + _visibale = true; + break; + default: + //todo: post state messages to app message queue instead of + // calling win_proc + win_proc(event); + } + } + + if (wait_parent) { + wait_for_reparent(); + } +} + +void RedWindow_p::wait_for_unmap() +{ + bool wait_parent = _expect_parent; + while (_visibale) { + XEvent event; + XLockDisplay(x_display); + XWindowEvent(x_display, _win, ~0, &event); + XUnlockDisplay(x_display); + switch (event.type) { + case ReparentNotify: + wait_parent = false; + break; + case UnmapNotify: + _visibale = false; + break; + //default: + // win_proc(event); + } + } + + if (wait_parent) { + wait_for_reparent(); + } +} + +#ifdef USE_OPENGL +void RedWindow_p::set_glx(int width, int height) +{ + if (_glcont_copy) { + XLockDisplay(x_display); + XSync(x_display, False); + XUnlockDisplay(x_display); + glXMakeCurrent(x_display, _win, _glcont_copy); + //glDrawBuffer(GL_FRONT); + glMatrixMode(GL_PROJECTION); + glLoadIdentity(); + gluOrtho2D(0, width, 0, height); + glMatrixMode(GL_MODELVIEW); + glLoadIdentity(); + glViewport(0, 0, width, height); + glColor3f(1, 1, 1); + glEnable(GL_TEXTURE_2D); + GLC_ERROR_TEST_FINISH; + } +} +#endif // USE_OPENGL + +void RedWindow_p::set_minmax(PixelsSource_p& pix_source) +{ + //todo: auto res + XSizeHints* size_hints = XAllocSizeHints(); + ASSERT(size_hints); + size_hints->flags = PMinSize | PMaxSize; + if (_red_window->_type == RedWindow::TYPE_FULLSCREEN) { + /* Some window managers won't allow full screen mode with a fixed + width / height */ + size_hints->min_width = 1; + size_hints->max_width = 65535; + size_hints->min_height = 1; + size_hints->max_height = 65535; + } else { + size_hints->min_width = size_hints->max_width = _width; + size_hints->min_height = size_hints->max_height = _height; + } + XSetWMNormalHints(x_display, _win, size_hints); + XFree(size_hints); + pix_source.x_drawable.height = _height; + pix_source.x_drawable.width = _width; +} + +Cursor RedWindow_p::create_invisible_cursor(Window window) +{ + XColor color; + char data[1] = {0}; + Window root_window = RootWindow(x_display, DefaultScreen(x_display)); + XLockDisplay(x_display); + Pixmap blank = XCreateBitmapFromData(x_display, root_window, data, 1, 1); + Cursor cursor = XCreatePixmapCursor(x_display, blank, blank, &color, &color, 0, 0); + XUnlockDisplay(x_display); + XFreePixmap(x_display, blank); + return cursor; +} + +RedWindow_p::RedWindow_p() + : _win (None) + , _show_pos_valid (false) +#ifdef USE_OPENGL + , _glcont_copy (NULL) +#endif // USE_OPENGL + , _icon (NULL) + , _focused (false) + , _ignore_foucs (false) + , _pointer_in_window (false) + , _ignore_pointer (false) + ,_width (200) + ,_height (200) + ,_last_event_time (0) +{ +} + +void RedWindow_p::destroy(RedWindow& red_window, PixelsSource_p& pix_source) +{ + XEvent event; + + if (_win == None) { + return; + } + + if (focus_window == &red_window) { + focus_window = NULL; + red_window.on_focus_out(); + } + + XPlatform::cleare_win_proc(_win); + XSelectInput(x_display, _win, 0); + + XLockDisplay(x_display); + XSync(x_display, False); + while (XCheckWindowEvent(x_display, _win, ~long(0), &event)); + XUnlockDisplay(x_display); + + Window window = _win; + _win = None; + XFreeCursor(x_display, _invisible_cursor); + _invisible_cursor = None; + XDeleteContext(x_display, window, user_data_context); +#ifdef USE_OPENGL + if (_glcont_copy) { + glXDestroyContext(x_display, _glcont_copy); + _glcont_copy = NULL; + } +#endif // USE_OPENGL + XDestroyWindow(x_display, window); + XFreeColormap(x_display, _colormap); + XFreeGC(x_display, pix_source.x_drawable.gc); + pix_source.x_drawable.gc = NULL; + pix_source.x_drawable.drawable = None; + if (_icon) { + _icon->unref(); + } +} + +void RedWindow_p::create(RedWindow& red_window, PixelsSource_p& pix_source, + int x, int y, int in_screen) +{ + Window window = None; + Cursor cursor = None; + GC gc = NULL; + + Window root_window = RootWindow(x_display, in_screen); + XSetWindowAttributes win_attributes; + + unsigned long mask = CWBorderPixel | CWEventMask; + win_attributes.border_pixel = 1; + win_attributes.event_mask = StructureNotifyMask | SubstructureNotifyMask | ExposureMask | + KeyPressMask | KeyReleaseMask | ButtonPressMask | + ButtonReleaseMask | PointerMotionMask | FocusChangeMask | + EnterWindowMask | LeaveWindowMask; + + XLockDisplay(x_display); + _colormap = XCreateColormap(x_display, root_window, XPlatform::get_vinfo()[in_screen]->visual, + AllocNone); + win_attributes.colormap = _colormap; + mask |= CWColormap; + window = XCreateWindow(x_display, root_window, x, y, + _width, _height, 0, XPlatform::get_vinfo()[in_screen]->depth, + InputOutput, XPlatform::get_vinfo()[in_screen]->visual, mask, + &win_attributes); + XUnlockDisplay(x_display); + + if (!window) { + THROW("create X window failed"); + } + + try { + int res; + XClassHint *class_hint; + + XLockDisplay(x_display); + res = XSaveContext(x_display, window, user_data_context, (XPointer)&red_window); + XUnlockDisplay(x_display); + if (res) { + THROW("set win usr data failed"); + } + + XSetWMProtocols(x_display, window, &wm_delete_window_atom, 1); + class_hint = XAllocClassHint(); + if (!class_hint) { + THROW("allocating class hint failed"); + } + class_hint->res_name = (char *)"spicec"; + class_hint->res_class = (char *)"spicec"; + XSetClassHint(x_display, window, class_hint); + XFree(class_hint); + + XGCValues gc_vals; + XLockDisplay(x_display); + gc = XCreateGC(x_display, window, 0, &gc_vals); + XUnlockDisplay(x_display); + if (!gc) { + THROW("create gc failed"); + } + + cursor = create_invisible_cursor(window); + if (!cursor) { + THROW("create invisible cursor failed"); + } + + XPlatform::set_win_proc(window, win_proc); + } catch (...) { + if (gc) { + XFreeGC(x_display, gc); + } + + XDeleteContext(x_display, window, user_data_context); + XDestroyWindow(x_display, window); + if (cursor != None) { + XFreeCursor(x_display, cursor); + } + + throw; + } + _screen = in_screen; + _win = window; + _invisible_cursor = cursor; + _show_pos.x = x; + _show_pos.y = y; + _visibale = false; + _expect_parent = false; + _red_window = &red_window; + pix_source.type = PIXELS_SOURCE_TYPE_X_DRAWABLE; + pix_source.x_drawable.drawable = window; + pix_source.x_drawable.screen = _screen; + pix_source.x_drawable.gc = gc; + set_minmax(pix_source); + sync(); +} + +void RedWindow_p::migrate(RedWindow& red_window, PixelsSource_p& pix_source, int to_screen) +{ + if (to_screen == _screen) { + return; + } + XTextProperty text_pro; + XLockDisplay(x_display); + bool valid_title = XGetWMName(x_display, _win, &text_pro) && text_pro.value; + XUnlockDisplay(x_display); + destroy(red_window, pix_source); + create(red_window, pix_source, _show_pos.x, _show_pos.y, to_screen); + if (valid_title) { + XSetWMName(x_display, _win, &text_pro); + XFree(text_pro.value); //??? + } + if (_icon) { + AutoRef<Icon> red(_icon->ref()); + red_window.set_icon(_icon); + } +} + +void RedWindow_p::move_to_current_desktop() +{ + Window root = RootWindow(x_display, _screen); + Atom actual_type_return; + int actual_format_return; + unsigned long bytes_after_return; + unsigned long nitems_return; + unsigned char *prop_return; + long desktop = ~long(0); + int status; + + XLockDisplay(x_display); + status = XGetWindowProperty(x_display, root, wm_current_desktop, 0, 1, False, AnyPropertyType, + &actual_type_return, &actual_format_return, &nitems_return, + &bytes_after_return, &prop_return); + if ((status == Success) && (actual_type_return != None) && (actual_format_return == 32)) { + desktop = *(uint32_t *)prop_return; + } else { + DBG(0, "get current desktop failed"); + } + if (status == Success) + XFree(prop_return); + XUnlockDisplay(x_display); + + XEvent xevent; + xevent.type = ClientMessage; + xevent.xclient.window = _win; + xevent.xclient.message_type = wm_desktop; + xevent.xclient.format = 32; + xevent.xclient.data.l[0] = desktop; + xevent.xclient.data.l[1] = 0; + xevent.xclient.data.l[2] = 0; + xevent.xclient.data.l[3] = 0; + xevent.xclient.data.l[4] = 0; + if (!XSendEvent(x_display, root, False, SubstructureNotifyMask | SubstructureRedirectMask, + &xevent)) { + DBG(0, "failed"); + } +} + +RedWindow::RedWindow(RedWindow::Listener& listener, int screen) + : _listener (listener) + , _type (TYPE_NORMAL) + , _local_cursor (NULL) + , _cursor_visible (true) + , _trace_key_interception (false) + , _key_interception_on (false) + , _menu (NULL) +{ + ASSERT(x_display); + create(*this, *(PixelsSource_p*)get_opaque(), 0, 0, + (screen == DEFAULT_SCREEN) ? DefaultScreen(x_display) : screen); +} + +RedWindow::~RedWindow() +{ + destroy(*this, *(PixelsSource_p*)get_opaque()); + if (_local_cursor) { + _local_cursor->unref(); + } +} + +void RedWindow::set_title(std::string& title) +{ + XTextProperty text_prop; + char *name = const_cast<char *>(title.c_str()); + int r; + if (_win) { + XLockDisplay(x_display); + r = Xutf8TextListToTextProperty(x_display, &name, 1, XUTF8StringStyle, &text_prop); + XUnlockDisplay(x_display); + if (r == Success) { + XSetWMName(x_display, _win, &text_prop); + XFree(text_prop.value); + } else { + LOG_WARN("XwcTextListToTextProperty Error %d", r); + } + } +} + +void RedWindow::set_icon(Icon* icon) +{ + if (_icon) { + _icon->unref(); + _icon = NULL; + } + if (!icon) { + return; + } + _icon = icon->ref(); + + XWMHints* wm_hints; + if (_win == None || !(wm_hints = XAllocWMHints())) { + return; + } + + try { + XIcon* xicon = (XIcon*)icon; + xicon->get_pixmaps(_screen, wm_hints->icon_pixmap, wm_hints->icon_mask); + wm_hints->flags = IconPixmapHint | IconMaskHint; + XSetWMHints(x_display, _win, wm_hints); + } catch (...) { + } + XFree(wm_hints); +} + +static XErrorHandler old_error_handler = NULL; +static unsigned char x_error = Success; + +static int x_error_handler(Display* display, XErrorEvent* error_event) +{ + x_error = error_event->error_code; + if (error_event->error_code == BadWindow) { + return 0; + } + ASSERT(old_error_handler); + XSetErrorHandler(old_error_handler); + old_error_handler(display, error_event); + old_error_handler = NULL; + return 0; +} + +class AutoXErrorHandler { +public: + AutoXErrorHandler() + { + ASSERT(old_error_handler == NULL); + XLockDisplay(x_display); + XSync(x_display, False); + x_error = Success; + old_error_handler = XSetErrorHandler(x_error_handler); + XUnlockDisplay(x_display); + } + + ~AutoXErrorHandler() + { + if (old_error_handler) { + XLockDisplay(x_display); + XSetErrorHandler(old_error_handler); + XUnlockDisplay(x_display); + old_error_handler = NULL; + } + } +}; + +static Window get_window_for_reposition(Window window) +{ + for (;;) { + Window root; + Window parent; + Window* childrens; + unsigned int num_childrens; + int res; + + XLockDisplay(x_display); + res = XQueryTree(x_display, window, &root, &parent, &childrens, &num_childrens); + XUnlockDisplay(x_display); + if (!res) { + return None; + } + + if (childrens) { + XFree(childrens); + } + + if (parent == root) { + break; + } + window = parent; + } + return window; +} + +void RedWindow::raise() +{ + AutoXErrorHandler auto_error_handler; + int raise_retries = RAISE_RETRIES; + for (;; --raise_retries) { + Window window = get_window_for_reposition(_win); + if (window != None) { + x_error = Success; + XRaiseWindow(x_display, window); + if (x_error == Success) { + break; + } + if (x_error != BadWindow) { + THROW("XRaiseWindow failed"); + } + } + + if (!raise_retries) { + THROW("failed"); + } + usleep(X_RETRY_DELAY_MICRO); + } + if (raise_retries < RAISE_RETRIES) { + DBG(0, "retries %d", (RAISE_RETRIES - raise_retries)); + } + sync(); +} + +void RedWindow::position_after(RedWindow *after) +{ + if (!after || after->_screen != _screen) { + raise(); + return; + } + + AutoXErrorHandler auto_error_handler; + int position_retries = Z_POSITION_RETRIES; + for (;; --position_retries) { + Window sibling = get_window_for_reposition(after->get_window()); + Window self = get_window_for_reposition(_win); + if (sibling != None && self != None) { + XWindowChanges changes; + changes.sibling = sibling; + changes.stack_mode = Below; + x_error = Success; + XConfigureWindow(x_display, self, CWSibling | CWStackMode, &changes); + if (x_error == Success) { + break; + } + if (x_error != BadWindow) { + THROW("XConfigureWindow failed"); + } + } + + if (!position_retries) { + THROW("failed"); + } + usleep(X_RETRY_DELAY_MICRO); + } + if (position_retries < Z_POSITION_RETRIES) { + DBG(0, "retries %d", (Z_POSITION_RETRIES - position_retries)); + } +} + +void RedWindow::show(int screen_id) +{ + if (_visibale) { + return; + } + + bool wait_parent; + + if (screen_id != _screen) { + _listener.pre_migrate(); + migrate(*this, *(PixelsSource_p*)get_opaque(), screen_id); + _listener.post_migrate(); + } + + /* We must update min/max for fullscreen / normal switching */ + set_minmax(*(PixelsSource_p*)get_opaque()); + + if (_type == TYPE_FULLSCREEN) { + Atom state[2]; + state[0] = wm_state_above; + state[1] = wm_state_fullscreen; + XChangeProperty(x_display, _win, wm_state, XA_ATOM, 32, PropModeReplace, + (unsigned char*)state, 2); + wait_parent = false; + } else { + XDeleteProperty(x_display, _win, wm_state); + wait_parent = true; + } + if (_last_event_time != 0) + XChangeProperty(x_display, _win, wm_user_time, XA_CARDINAL, 32, + PropModeReplace, (unsigned char *)&_last_event_time, 1); + XMapWindow(x_display, _win); + move_to_current_desktop(); + _expect_parent = wait_parent; + wait_for_map(); + if (_show_pos_valid) { + move(_show_pos.x, _show_pos.y); + } +} + +static bool get_prop_32(Window win, Atom prop, uint32_t &val) +{ + Atom actual_type_return; + int actual_format_return; + unsigned long bytes_after_return; + unsigned long nitems_return; + unsigned char *prop_return; + bool retval = false; + + XLockDisplay(x_display); + if (XGetWindowProperty(x_display, win, prop, 0, 1, False, AnyPropertyType, + &actual_type_return, &actual_format_return, + &nitems_return, &bytes_after_return, &prop_return) == Success && + nitems_return == 1 && + actual_type_return != None && + actual_format_return == 32) { + val = *(uint32_t *)prop_return; + retval = true; + } + XUnlockDisplay(x_display); + + return retval; +} + +void RedWindow::external_show() +{ + Atom atom; + + DBG(0, ""); + show(_screen); + raise(); + activate(); + + XLockDisplay(x_display); + atom = XInternAtom(x_display, "_NET_ACTIVE_WINDOW", true); + XUnlockDisplay(x_display); + if (atom != None) { + Window root; + XEvent xev; + long eventmask; + + xev.xclient.type = ClientMessage; + xev.xclient.serial = 0; + xev.xclient.send_event = True; + xev.xclient.window = _win; + xev.xclient.message_type = atom; + + xev.xclient.format = 32; + xev.xclient.data.l[0] = 1; + + uint32_t user_time; + if (get_prop_32(_win, wm_user_time, user_time)) { + xev.xclient.data.l[1] = user_time; + } else { + xev.xclient.data.l[1] = 0; + } + xev.xclient.data.l[2] = 0; + xev.xclient.data.l[3] = 0; + xev.xclient.data.l[4] = 0; + + root = RootWindow(x_display, _screen), + eventmask = SubstructureRedirectMask | SubstructureNotifyMask; + + XSendEvent(x_display, root, False, eventmask, &xev); + } +} + +void RedWindow::hide() +{ + if (!_visibale) { + return; + } + on_pointer_leave(); + on_focus_out(); + XUnmapWindow(x_display, _win); + _show_pos = get_position(); + _show_pos_valid = true; + wait_for_unmap(); + ASSERT(!_focused); + ASSERT(!_pointer_in_window); + _expect_parent = false; +} + +static void send_expose(Window window, int width, int height) +{ + XExposeEvent event; + event.type = Expose; + event.display = x_display; + event.window = window; + event.x = 0; + event.y = 0; + event.width = width; + event.height = height; + event.count = 0; + XSendEvent(x_display, window, False, ExposureMask, (XEvent *)&event); +} + +void RedWindow::move_and_resize(int x, int y, int width, int height) +{ + _width = width; + _height = height; + set_minmax(*(PixelsSource_p*)get_opaque()); + XMoveResizeWindow(x_display, _win, x, y, width, height); + _show_pos.x = x; + _show_pos.y = y; + _show_pos_valid = true; + if (_visibale) { + send_expose(_win, width, height); + } +} + +void RedWindow::move(int x, int y) +{ + XMoveWindow(x_display, _win, x, y); + _show_pos.x = x; + _show_pos.y = y; + _show_pos_valid = true; +} + +void RedWindow::resize(int width, int height) +{ + _width = width; + _height = height; + set_minmax(*(PixelsSource_p*)get_opaque()); + XResizeWindow(x_display, _win, width, height); + if (_visibale) { + send_expose(_win, width, height); + } +} + +void RedWindow::activate() +{ + //todo: use _NET_ACTIVE_WINDOW + XSetInputFocus(x_display, _win, RevertToParent, CurrentTime); + /* kwin won't raise on focus */ + XRaiseWindow(x_display, _win); +} + +void RedWindow::minimize() +{ + XIconifyWindow(x_display, _win, _screen); + sync(); +} + +static bool __get_position(Window window, SpicePoint& pos) +{ + pos.x = pos.y = 0; + for (;;) { + XWindowAttributes attrib; + Window root; + Window parent; + Window* childrens; + unsigned int num_childrens; + int res; + + XLockDisplay(x_display); + res = XGetWindowAttributes(x_display, window, &attrib); + XUnlockDisplay(x_display); + if (!res) { + return false; + } + pos.x += attrib.x; + pos.y += attrib.y; + + XLockDisplay(x_display); + res = XQueryTree(x_display, window, &root, &parent, &childrens, &num_childrens); + XUnlockDisplay(x_display); + if (!res) { + return false; + } + + if (childrens) { + XFree(childrens); + } + + if (parent == None) { + break; + } + window = parent; + } + return true; +} + +SpicePoint RedWindow::get_position() +{ + SpicePoint pos; + + AutoXErrorHandler auto_error_handler; + int get_position_retries = GET_POSITION_RETRIES; + for (;; --get_position_retries) { + if (__get_position(_win, pos)) { + break; + } + if (!get_position_retries) { + THROW("failed"); + } + usleep(X_RETRY_DELAY_MICRO); + } + + if (get_position_retries < GET_POSITION_RETRIES) { + DBG(0, "retries %d", (GET_POSITION_RETRIES - get_position_retries)); + } + return pos; +} + +void RedWindow::do_start_key_interception() +{ + // Working with KDE: XGrabKeyboard generate focusout and focusin events + // while we have the focus. This behavior trigger infinite recursive. for + // that reason we temporary disable focus event handling. Same happens + // LeaveNotify and EnterNotify. + + ASSERT(_focused); + XLockDisplay(x_display); + XGrabKeyboard(x_display, _win, True, GrabModeAsync, GrabModeAsync, CurrentTime); + XUnlockDisplay(x_display); + sync(true); + _listener.on_start_key_interception(); + _key_interception_on = true; +} + +void RedWindow::do_stop_key_interception() +{ + XLockDisplay(x_display); + XUngrabKeyboard(x_display, CurrentTime); + XUnlockDisplay(x_display); + sync(true); + _key_interception_on = false; + _listener.on_stop_key_interception(); +} + +void RedWindow::start_key_interception() +{ + if (_trace_key_interception) { + return; + } + _trace_key_interception = true; + if (_pointer_in_window && _focused) { + do_start_key_interception(); + } +} + +void RedWindow::stop_key_interception() +{ + if (!_trace_key_interception) { + return; + } + _trace_key_interception = false; + if (_key_interception_on) { + do_stop_key_interception(); + } +} + +void RedWindow::set_cursor(LocalCursor* local_cursor) +{ + ASSERT(local_cursor); + if (_local_cursor) { + _local_cursor->unref(); + } + _local_cursor = local_cursor->ref(); + _local_cursor->set(_win); + _cursor_visible = true; +} + +void RedWindow::show_cursor() +{ + if (!_cursor_visible) { + if (_local_cursor) { + _local_cursor->set(_win); + } + _cursor_visible = true; + } +} + +void RedWindow::hide_cursor() +{ + if (_cursor_visible) { + XDefineCursor(x_display, _win, _invisible_cursor); + _cursor_visible = false; + } +} + +void RedWindow::release_mouse() +{ + XLockDisplay(x_display); + XUngrabPointer(x_display, CurrentTime); + XUnlockDisplay(x_display); + sync(true); +} + +void RedWindow::capture_mouse() +{ + int grab_retries = MOUSE_GRAB_RETRIES; + XLockDisplay(x_display); + XSync(x_display, False); + XUnlockDisplay(x_display); + for (;; --grab_retries) { + XLockDisplay(x_display); + int result = XGrabPointer(x_display, _win, True, 0, + GrabModeAsync, GrabModeAsync, + _win, None, CurrentTime); + XUnlockDisplay(x_display); + if (result == GrabSuccess) { + break; + } + + if (!grab_retries) { + THROW("grab pointer failed (%d)", result); + } + usleep(X_RETRY_DELAY_MICRO); + DBG(0, "grab failed result=%d", result); + } + sync(); +} + +void RedWindow::set_mouse_position(int x, int y) +{ + XWarpPointer(x_display, None, _win, 0, 0, 0, 0, x + get_origin().x, y + get_origin().y); +} + +SpicePoint RedWindow::get_size() +{ + XWindowAttributes attrib; + XLockDisplay(x_display); + XGetWindowAttributes(x_display, _win, &attrib); + XUnlockDisplay(x_display); + SpicePoint size; + size.x = attrib.width; + size.y = attrib.height; + return size; +} + +static void window_area_from_attributes(SpiceRect& area, XWindowAttributes& attrib) +{ + area.left = attrib.x; + area.right = area.left + attrib.width; + area.top = attrib.y; + area.bottom = area.top + attrib.height; +} + +#define FAIL_ON_BAD_WINDOW(error, format, ...) \ + if (error) { \ + if ((x_error) == BadWindow) { \ + return NULL; \ + } \ + THROW(format, ## __VA_ARGS__); \ + } + + +static QRegion *get_visibale_region(Window window) +{ + QRegion* region = new QRegion; + region_init(region); + XWindowAttributes attrib; + int res; + + XLockDisplay(x_display); + res = XGetWindowAttributes(x_display, window, &attrib); + XUnlockDisplay(x_display); + if (!res) { + return NULL; + } + + if (attrib.map_state != IsViewable) { + DBG(0, "not viewable"); + return region; + } + + SpiceRect window_area; + window_area_from_attributes(window_area, attrib); + window_area.right -= window_area.left; + window_area.bottom -= window_area.top; + window_area.top = window_area.left = 0; + region_add(region, &window_area); + Window prev = None; + Window root; + Window parent; + Window* childrens; + unsigned int num_childrens; + + AutoXErrorHandler auto_error_handler; + for (;;) { + int res; + + XLockDisplay(x_display); + res = XQueryTree(x_display, window, &root, &parent, &childrens, + &num_childrens); + XUnlockDisplay(x_display); + FAIL_ON_BAD_WINDOW(!res, + "%s: query X tree failed", __FUNCTION__); + for (int i = num_childrens - 1; i >= 0 && childrens[i] != prev; i--) { + + XLockDisplay(x_display); + res = XGetWindowAttributes(x_display, childrens[i], &attrib); + XUnlockDisplay(x_display); + FAIL_ON_BAD_WINDOW(!res, + "%s: get win attributes failed", __FUNCTION__); + + if (attrib.map_state == IsViewable) { + window_area_from_attributes(window_area, attrib); + window_area.left -= attrib.border_width; + window_area.right += attrib.border_width; + window_area.top -= attrib.border_width; + window_area.bottom += attrib.border_width; + region_remove(region, &window_area); + } + } + + if (childrens) { + XFree(childrens); + } + + XLockDisplay(x_display); + res = XGetWindowAttributes(x_display, window, &attrib); + XUnlockDisplay(x_display); + FAIL_ON_BAD_WINDOW(!res, + "%s: get win attributes failed", __FUNCTION__); + window_area_from_attributes(window_area, attrib); + region_offset(region, window_area.left, window_area.top); + + if (parent == None) { + break; + } + + XLockDisplay(x_display); + res = XGetWindowAttributes(x_display, parent, &attrib); + XUnlockDisplay(x_display); + FAIL_ON_BAD_WINDOW(!res, + "%s: get win attributes failed", __FUNCTION__); + window_area_from_attributes(window_area, attrib); + window_area.right -= window_area.left; + window_area.bottom -= window_area.top; + window_area.top = window_area.left = 0; + + QRegion parent_region; + region_init(&parent_region); + region_add(&parent_region, &window_area); + region_and(region, &parent_region); + region_destroy(&parent_region); + + prev = window; + window = parent; + } + + //todo: intersect with monitors + return region; +} + +class Region_p { +public: + Region_p(QRegion* region) : _region (region) {} + ~Region_p() { delete _region;} + + void get_bbox(SpiceRect& bbox) const + { + if (region_is_empty(_region)) { + bbox.left = bbox.right = bbox.top = bbox.bottom = 0; + } else { + bbox.left = _region->extents.x1; + bbox.top = _region->extents.y1; + bbox.right = _region->extents.x2; + bbox.bottom = _region->extents.y2; + } + } + + bool contains_point(int x, int y) const + { + return region_contains_point(_region, x, y); + } + +private: + QRegion* _region; +}; + +bool RedWindow::get_mouse_anchor_point(SpicePoint& pt) +{ + QRegion* vis_region; + int vis_region_retries = GET_VIS_REGION_RETRIES; + + while (!(vis_region = get_visibale_region(_win))) { + if (!vis_region_retries) { + THROW("get visible region failed"); + } + --vis_region_retries; + usleep(X_RETRY_DELAY_MICRO); + } + + if (vis_region_retries < GET_VIS_REGION_RETRIES) { + DBG(0, "retries %d", (GET_VIS_REGION_RETRIES - vis_region_retries)); + } + + Region_p region(vis_region); + if (!find_anchor_point(region, pt)) { + return false; + } + SpicePoint position = get_position(); + pt.x -= (position.x + get_origin().x); + pt.y -= (position.y + get_origin().y); + return true; +} + +#ifdef USE_OPENGL +RedGlContext RedWindow::create_context_gl() +{ + if (XPlatform::get_fbconfig()[_screen]) { + XLockDisplay(x_display); + RedGlContext context = glXCreateContext(x_display, XPlatform::get_vinfo()[_screen], NULL, GL_TRUE); + XUnlockDisplay(x_display); + return context; + } + return NULL; +} + +RedPbuffer RedWindow::create_pbuff(int width, int height) +{ + GLXPbuffer pbuff; + GLXFBConfig** fb_config; + + int pbuf_attr[] = { GLX_PRESERVED_CONTENTS, True, + GLX_PBUFFER_WIDTH, width, + GLX_PBUFFER_HEIGHT, height, + GLX_LARGEST_PBUFFER, False, + 0, 0 }; + + fb_config = XPlatform::get_fbconfig(); + XLockDisplay(XPlatform::get_display()); + pbuff = glXCreatePbuffer(XPlatform::get_display(), fb_config[_screen][0], + pbuf_attr); + XUnlockDisplay(XPlatform::get_display()); + + return pbuff; +} + +void RedWindow::untouch_context() +{ + glXMakeCurrent(x_display, 0, 0); +} + +void RedWindow::set_type_gl() +{ + PixelsSource_p *pix_source = (PixelsSource_p*)get_opaque(); + + pix_source->type = PIXELS_SOURCE_TYPE_GL_DRAWABLE; +} + +void RedWindow::unset_type_gl() +{ + PixelsSource_p *pix_source = (PixelsSource_p*)get_opaque(); + + pix_source->type = PIXELS_SOURCE_TYPE_X_DRAWABLE; +} + +void RedWindow::set_gl_context(RedGlContext context) +{ + PixelsSource_p *pix_source = (PixelsSource_p*)get_opaque(); + + pix_source->x_drawable.context = context; +} + +void RedWindow::set_render_pbuff(RedPbuffer pbuff) +{ + PixelsSource_p *pix_source = (PixelsSource_p*)get_opaque(); + + pix_source->x_drawable.rendertype = RENDER_TYPE_PBUFF; + pix_source->x_drawable.pbuff = pbuff; +} + +void RedWindow::set_render_fbo(GLuint fbo) +{ + PixelsSource_p *pix_source = (PixelsSource_p*)get_opaque(); + + pix_source->x_drawable.rendertype = RENDER_TYPE_FBO; + pix_source->x_drawable.fbo = fbo; +} +#endif // USE_OPENGL + +int RedWindow::get_screen_num() +{ + return _screen; +} + +RedDrawable::Format RedWindow::get_format() +{ + return XPlatform::get_screen_format(_screen); +} + +void RedWindow::on_focus_in() +{ + if (_focused) { + return; + } + _focused = true; + if (x_input_context) { + XLockDisplay(x_display); + XwcResetIC(x_input_context); + XUnlockDisplay(x_display); + } + XPlatform::on_focus_in(); + get_listener().on_activate(); + if (_trace_key_interception && _pointer_in_window) { + do_start_key_interception(); + } +} + +void RedWindow::on_focus_out() +{ + if (!_focused) { + return; + } + _focused = false; + if (_key_interception_on) { + do_stop_key_interception(); + } + get_listener().on_deactivate(); + XPlatform::on_focus_out(); +} + +void RedWindow::on_pointer_enter(int x, int y, unsigned int buttons_state) +{ + if (_pointer_in_window) { + return; + } + _pointer_in_window = true; + _listener.on_pointer_enter(x, y, buttons_state); + if (_focused && _trace_key_interception) { + do_start_key_interception(); + } +} + +void RedWindow::on_pointer_leave() +{ + if (!_pointer_in_window) { + return; + } + _pointer_in_window = false; + _listener.on_pointer_leave(); + if (_key_interception_on) { + do_stop_key_interception(); + } +} + +int RedWindow::set_menu(Menu* menu) +{ + return 0; +} + +void RedWindow::init() +{ + x_display = XPlatform::get_display(); + x_input_context = XPlatform::get_input_context(); + ASSERT(x_display); + user_data_context = XUniqueContext(); + + wm_protocol_atom = XInternAtom(x_display, "WM_PROTOCOLS", False); + wm_delete_window_atom = XInternAtom(x_display, "WM_DELETE_WINDOW", False); + + wm_desktop = XInternAtom(x_display, "_NET_WM_DESKTOP", False); + wm_current_desktop = XInternAtom(x_display, "_NET_CURRENT_DESKTOP", False); + + wm_state = XInternAtom(x_display, "_NET_WM_STATE", False); + wm_state_above = XInternAtom(x_display, "_NET_WM_STATE_ABOVE", False); + wm_state_fullscreen = XInternAtom(x_display, "_NET_WM_STATE_FULLSCREEN", False); + + wm_user_time = XInternAtom(x_display, "_NET_WM_USER_TIME", False); + +#ifdef USE_X11_KEYCODE + init_key_map(); +#else + init_key_table_0xff(); + init_key_table_0x00(); + init_key_table_0xfe(); +#endif +} + +void RedWindow::cleanup() +{ +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/red_window_p.h b/tizen/distrib/remote/server/spice-0.12.2/client/x11/red_window_p.h new file mode 100644 index 0000000..2782539 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/red_window_p.h @@ -0,0 +1,89 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_RED_WINDOW_P +#define _H_RED_WINDOW_P + +#ifdef USE_OPENGL +#include <GL/glx.h> +#endif // USE_OPENGL +#include <X11/Xdefs.h> +#include <X11/Xlib.h> + +typedef Window Win; +#ifdef USE_OPENGL +typedef GLXContext RedGlContext; +typedef GLXPbuffer RedPbuffer; +#endif // USE_OPENGL + +class RedWindow; +class Icon; +struct PixelsSource_p; + +class RedWindow_p { +public: + RedWindow_p(); + + void migrate(RedWindow& red_window, PixelsSource_p& pix_source, int dest_screen); + void create(RedWindow& red_window, PixelsSource_p& pix_source, + int x, int y, int in_screen); + void destroy(RedWindow& red_window, PixelsSource_p& pix_source); + void set_minmax(PixelsSource_p& pix_source); + void wait_for_reparent(); + void wait_for_map(); + void wait_for_unmap(); + void sync(bool shadowed = false); + void set_visibale(bool vis) { _visibale = vis;} + void move_to_current_desktop(); + Window get_window() {return _win;} + + static void win_proc(XEvent& event); + static Cursor create_invisible_cursor(Window window); + +#ifdef USE_OPENGL + void set_glx(int width, int height); +#endif // USE_OPENGL + static void handle_key_press_event(RedWindow& red_window, XKeyEvent* event); + +protected: + int _screen; + Window _win; + Cursor _invisible_cursor; + bool _visibale; + bool _expect_parent; + SpicePoint _show_pos; + bool _show_pos_valid; +#ifdef USE_OPENGL + GLXContext _glcont_copy; +#endif // USE_OPENGL + Icon* _icon; + bool _focused; + bool _ignore_foucs; + bool _shadow_foucs_state; + XEvent _shadow_focus_event; + bool _pointer_in_window; + bool _ignore_pointer; + bool _shadow_pointer_state; + XEvent _shadow_pointer_event; + Colormap _colormap; + RedWindow *_red_window; + int _width; + int _height; + Time _last_event_time; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/res.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/x11/res.cpp new file mode 100644 index 0000000..efbd8de --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/res.cpp @@ -0,0 +1,82 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "resource.h" + +#include "images/alt_image.c" + +static const PixmapHeader alt_image = { + (uint8_t *)_alt_image.pixel_data, + _alt_image.width, + _alt_image.height, + _alt_image.width * 4, +}; + +typedef struct ResImage { + int id; + const PixmapHeader* image; +} ResImage; + +static const ResImage res_image_map[] = { + { ALT_IMAGE_RES_ID, &alt_image}, + {0, NULL}, +}; + +const PixmapHeader *res_get_image(int id) +{ + const ResImage *now = res_image_map; + for (; now->image; now++) { + if (now->id == id) { + return now->image; + } + } + return NULL; +} + +#include "images/red_icon.c" + +static const IconHeader red_icon = { + _red_icon.width, + _red_icon.height, + (uint8_t *)_red_icon.pixmap, + (uint8_t *)_red_icon.mask, +}; + +typedef struct ResIcon { + int id; + const IconHeader* icon; +} ResIcon; + +static const ResIcon res_icon_map[] = { + { RED_ICON_RES_ID, &red_icon}, + {0, NULL}, +}; + +const IconHeader *res_get_icon(int id) +{ + const ResIcon *now = res_icon_map; + for (; now->icon; now++) { + if (now->id == id) { + return now->icon; + } + } + return NULL; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/res.h b/tizen/distrib/remote/server/spice-0.12.2/client/x11/res.h new file mode 100644 index 0000000..8320e9b --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/res.h @@ -0,0 +1,24 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_RES +#define _H_RES + +const PixmapHeader *res_get_image(int id); +const IconHeader *res_get_icon(int id); + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/resource.h b/tizen/distrib/remote/server/spice-0.12.2/client/x11/resource.h new file mode 100644 index 0000000..562b9b9 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/resource.h @@ -0,0 +1,24 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_RED_RESOURCES +#define _H_RED_RESOURCES + +#define RED_ICON_RES_ID 3 +#define ALT_IMAGE_RES_ID 4 + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/x_icon.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/x11/x_icon.cpp new file mode 100644 index 0000000..edd983f --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/x_icon.cpp @@ -0,0 +1,175 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "x_icon.h" +#include "platform.h" +#include "x_platform.h" +#include "res.h" +#include "utils.h" +#include "debug.h" + +typedef std::map<int, XIcon*> IconsMap; +static IconsMap res_icons; + +XIcon::XIcon(int id, const IconHeader *icon) + : _id (id) + , _raw_icon (icon) +{ + res_icons[id] = this; +} + +XIcon::~XIcon() +{ + Display* x_display = XPlatform::get_display(); + while (!_screen_icons.empty()) { + std::map<int, ScreenIcon>::iterator iter = _screen_icons.begin(); + XFreePixmap(x_display, (*iter).second.pixmap); + XFreePixmap(x_display, (*iter).second.mask); + _screen_icons.erase(iter); + } + IconsMap::iterator iter = res_icons.find(_id); + res_icons.erase(iter); +} + +void XIcon::get_pixmaps(int screen, Pixmap& out_pixmap, Pixmap& out_mask) +{ + std::map<int, ScreenIcon>::iterator iter = _screen_icons.find(screen); + if (iter != _screen_icons.end()) { + out_pixmap = (*iter).second.pixmap; + out_mask = (*iter).second.mask; + return; + } + + Display* x_display = XPlatform::get_display(); + Window root_window = RootWindow(x_display, screen); + + Pixmap pixmap = None; + Pixmap mask = None; + GC gc = NULL; + try { + XLockDisplay(x_display); + pixmap = XCreatePixmap(x_display, root_window, _raw_icon->width, _raw_icon->height, 24); + XUnlockDisplay(x_display); + if (pixmap == None) { + THROW("create pixmap failed"); + } + + XWindowAttributes attr; + + XLockDisplay(x_display); + XGetWindowAttributes(x_display, root_window, &attr); + XUnlockDisplay(x_display); + + XImage image; + memset(&image, 0, sizeof(image)); + image.width = _raw_icon->width; + image.height = _raw_icon->height; + image.data = (char*)_raw_icon->pixmap; + image.byte_order = LSBFirst; + image.bitmap_unit = 32; + image.bitmap_bit_order = LSBFirst; + image.bitmap_pad = 32; + image.bytes_per_line = _raw_icon->width * 4; + image.depth = 24; + image.format = ZPixmap; + image.bits_per_pixel = 32; + image.red_mask = 0x00ff0000; + image.green_mask = 0x0000ff00; + image.blue_mask = 0x000000ff; + + if (!XInitImage(&image)) { + THROW("init image failed"); + } + + XGCValues gc_vals; + gc_vals.function = GXcopy; + gc_vals.foreground = ~0; + gc_vals.background = 0; + gc_vals.plane_mask = AllPlanes; + + XLockDisplay(x_display); + gc = XCreateGC(x_display, pixmap, GCFunction | GCForeground | GCBackground | GCPlaneMask, + &gc_vals); + XPutImage(x_display, pixmap, gc, &image, 0, 0, 0, 0, image.width, image.height); + // HDG: why ?? XFlush should suffice + XSync(x_display, False); + XFreeGC(x_display, gc); + gc = NULL; + + mask = XCreatePixmap(x_display, root_window, _raw_icon->width, _raw_icon->height, 1); + XUnlockDisplay(x_display); + if (mask == None) { + THROW("create mask failed"); + } + + memset(&image, 0, sizeof(image)); + image.width = _raw_icon->width; + image.height = _raw_icon->height; + image.data = (char*)_raw_icon->mask; + image.byte_order = LSBFirst; + image.bitmap_unit = 8; + image.bitmap_bit_order = MSBFirst; + image.bitmap_pad = 8; + image.bytes_per_line = _raw_icon->width / 8; + image.depth = 1; + image.format = XYBitmap; + if (!XInitImage(&image)) { + THROW("init image failed"); + } + + XLockDisplay(x_display); + gc = XCreateGC(x_display, mask, GCFunction | GCForeground | GCBackground | GCPlaneMask, + &gc_vals); + XPutImage(x_display, mask, gc, &image, 0, 0, 0, 0, image.width, image.height); + // HDG: why ?? XFlush should suffice + XSync(x_display, False); + XUnlockDisplay(x_display); + XFreeGC(x_display, gc); + } catch (...) { + if (gc) { + XFreeGC(x_display, gc); + } + if (mask) { + XFreePixmap(x_display, mask); + } + if (pixmap) { + XFreePixmap(x_display, pixmap); + } + throw; + } + _screen_icons[screen] = ScreenIcon(pixmap, mask); + out_pixmap = pixmap; + out_mask = mask; +} + +Icon* Platform::load_icon(int id) +{ + IconsMap::iterator iter = res_icons.find(id); + if (iter != res_icons.end()) { + return (*iter).second->ref(); + } + + const IconHeader *icon = res_get_icon(id); + if (!icon) { + return NULL; + } + XIcon *xicon = new XIcon(id, icon); + return xicon->ref(); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/x_icon.h b/tizen/distrib/remote/server/spice-0.12.2/client/x11/x_icon.h new file mode 100644 index 0000000..b8b5e96 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/x_icon.h @@ -0,0 +1,52 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_X_ICON +#define _H_X_ICON + +#include <X11/Xlib.h> +#include <map> + +#include "common.h" + +#include "icon.h" + +class XIcon: public Icon { +public: + XIcon(int id, const IconHeader *icon); + + void get_pixmaps(int screen, Pixmap& pixmap, Pixmap& mask); + +protected: + virtual ~XIcon(); + +private: + int _id; + const IconHeader* _raw_icon; + + class ScreenIcon { + public: + ScreenIcon(Pixmap in_pixmap, Pixmap in_mask) : pixmap (in_pixmap), mask (in_mask) {} + ScreenIcon() : pixmap (None), mask (None) {} + + Pixmap pixmap; + Pixmap mask; + }; + std::map<int, ScreenIcon> _screen_icons; +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/x11/x_platform.h b/tizen/distrib/remote/server/spice-0.12.2/client/x11/x_platform.h new file mode 100644 index 0000000..39a2d1c --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/x11/x_platform.h @@ -0,0 +1,56 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_XPLATFORM +#define _H_XPLATFORM + +#include "red_drawable.h" +#include <X11/Xdefs.h> +#include <X11/Xutil.h> +#include <X11/extensions/XShm.h> + +class XPlatform { +public: + static Display* get_display(); + static XVisualInfo** get_vinfo(); + static RedDrawable::Format get_screen_format(int screen); + static XIC get_input_context(); +#ifdef USE_OPENGL + static GLXFBConfig** get_fbconfig(); +#endif // USE_OPENGL + + typedef void (*win_proc_t)(XEvent& event); + static void set_win_proc(Window win, win_proc_t proc); + static void cleare_win_proc(Window win); + + static void on_focus_in(); + static void on_focus_out(); + + static bool is_x_shm_avail(); + static XImage *create_x_shm_image(RedDrawable::Format format, + int width, int height, int depth, + Visual *visual, + XShmSegmentInfo **shminfo_out); + static XImage *create_x_image(RedDrawable::Format format, + int width, int height, int depth, + Visual *visual, + XShmSegmentInfo **shminfo_out); + static void free_x_image(XImage *image, + XShmSegmentInfo *shminfo); +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/zlib_decoder.cpp b/tizen/distrib/remote/server/spice-0.12.2/client/zlib_decoder.cpp new file mode 100644 index 0000000..f5741d3 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/zlib_decoder.cpp @@ -0,0 +1,78 @@ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common.h" +#include "zlib_decoder.h" +#include "debug.h" +#include "utils.h" + +static void op_decode(SpiceZlibDecoder *decoder, + uint8_t *data, + int data_size, + uint8_t *dest, + int dest_size) +{ + ZlibDecoder* _decoder = static_cast<ZlibDecoder*>(decoder); + _decoder->decode(data, data_size, dest, dest_size); +} + +ZlibDecoder::ZlibDecoder() +{ + int z_ret; + + _z_strm.zalloc = Z_NULL; + _z_strm.zfree = Z_NULL; + _z_strm.opaque = Z_NULL; + _z_strm.next_in = Z_NULL; + _z_strm.avail_in = 0; + z_ret = inflateInit(&_z_strm); + if (z_ret != Z_OK) { + THROW("zlib decoder init failed, error %d", z_ret); + } + + static SpiceZlibDecoderOps decoder_ops = { + op_decode, + }; + + ops = &decoder_ops; +} + +ZlibDecoder::~ZlibDecoder() +{ + inflateEnd(&_z_strm); +} + + +void ZlibDecoder::decode(uint8_t *data, int data_size, uint8_t *dest, int dest_size) +{ + int z_ret; + + inflateReset(&_z_strm); + _z_strm.next_in = data; + _z_strm.avail_in = data_size; + _z_strm.next_out = dest; + _z_strm.avail_out = dest_size; + + z_ret = inflate(&_z_strm, Z_FINISH); + + if (z_ret != Z_STREAM_END) { + THROW("zlib inflate failed, error %d", z_ret); + } +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/client/zlib_decoder.h b/tizen/distrib/remote/server/spice-0.12.2/client/zlib_decoder.h new file mode 100644 index 0000000..c91ed49 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/client/zlib_decoder.h @@ -0,0 +1,43 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_ZLIB_DECODER +#define _H_ZLIB_DECODER + +#include "common.h" +#include "red_canvas_base.h" + +#ifndef __GNUC__ +#define ZLIB_WINAPI +#endif +#include <zlib.h> + + +class ZlibDecoder : public SpiceZlibDecoder { +public: + ZlibDecoder(); + ~ZlibDecoder(); + + void decode(uint8_t *data, int data_size, uint8_t *dest, int dest_size); + +private: + z_stream _z_strm; + +}; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/config.guess b/tizen/distrib/remote/server/spice-0.12.2/config.guess new file mode 100755 index 0000000..c0adba9 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/config.guess @@ -0,0 +1,1530 @@ +#! /bin/sh +# Attempt to guess a canonical system name. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, +# 2011, 2012 Free Software Foundation, Inc. + +timestamp='2012-06-10' + +# This file 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, see <http://www.gnu.org/licenses/>. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + + +# Originally written by Per Bothner. Please send patches (context +# diff format) to <config-patches@gnu.org> and include a ChangeLog +# entry. +# +# This script attempts to guess a canonical system name similar to +# config.sub. If it succeeds, it prints the system name on stdout, and +# exits with 0. Otherwise, it exits with 1. +# +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] + +Output the configuration name of the system \`$me' is run on. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to <config-patches@gnu.org>." + +version="\ +GNU config.guess ($timestamp) + +Originally written by Per Bothner. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 +Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" >&2 + exit 1 ;; + * ) + break ;; + esac +done + +if test $# != 0; then + echo "$me: too many arguments$help" >&2 + exit 1 +fi + +trap 'exit 1' 1 2 15 + +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a +# compiler to aid in system detection is discouraged as it requires +# temporary files to be created and, as you can see below, it is a +# headache to deal with in a portable fashion. + +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still +# use `HOST_CC' if defined, but it is deprecated. + +# Portable tmp directory creation inspired by the Autoconf team. + +set_cc_for_build=' +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; +: ${TMPDIR=/tmp} ; + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; +dummy=$tmp/dummy ; +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; +case $CC_FOR_BUILD,$HOST_CC,$CC in + ,,) echo "int x;" > $dummy.c ; + for c in cc gcc c89 c99 ; do + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then + CC_FOR_BUILD="$c"; break ; + fi ; + done ; + if test x"$CC_FOR_BUILD" = x ; then + CC_FOR_BUILD=no_compiler_found ; + fi + ;; + ,,*) CC_FOR_BUILD=$CC ;; + ,*,*) CC_FOR_BUILD=$HOST_CC ;; +esac ; set_cc_for_build= ;' + +# This is needed to find uname on a Pyramid OSx when run in the BSD universe. +# (ghazi@noc.rutgers.edu 1994-08-24) +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then + PATH=$PATH:/.attbin ; export PATH +fi + +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown + +# Note: order is significant - the case branches are not exclusive. + +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in + *:NetBSD:*:*) + # NetBSD (nbsd) targets should (where applicable) match one or + # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently + # switched to ELF, *-*-netbsd* would select the old + # object file format. This provides both forward + # compatibility and a consistent mechanism for selecting the + # object file format. + # + # Note: NetBSD doesn't particularly care about the vendor + # portion of the name. We always set it to "unknown". + sysctl="sysctl -n hw.machine_arch" + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ + /usr/sbin/$sysctl 2>/dev/null || echo unknown)` + case "${UNAME_MACHINE_ARCH}" in + armeb) machine=armeb-unknown ;; + arm*) machine=arm-unknown ;; + sh3el) machine=shl-unknown ;; + sh3eb) machine=sh-unknown ;; + sh5el) machine=sh5le-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE_ARCH}" in + arm*|i386|m68k|ns32k|sh3*|sparc|vax) + eval $set_cc_for_build + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ELF__ + then + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). + # Return netbsd for either. FIX? + os=netbsd + else + os=netbsdelf + fi + ;; + *) + os=netbsd + ;; + esac + # The OS release + # Debian GNU/NetBSD machines have a different userland, and + # thus, need a distinct triplet. However, they do not need + # kernel version information, so it can be replaced with a + # suitable tag, in the style of linux-gnu. + case "${UNAME_VERSION}" in + Debian*) + release='-gnu' + ;; + *) + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + ;; + esac + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: + # contains redundant information, the shorter form: + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. + echo "${machine}-${os}${release}" + exit ;; + *:OpenBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} + exit ;; + *:ekkoBSD:*:*) + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} + exit ;; + *:SolidBSD:*:*) + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} + exit ;; + macppc:MirBSD:*:*) + echo powerpc-unknown-mirbsd${UNAME_RELEASE} + exit ;; + *:MirBSD:*:*) + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} + exit ;; + alpha:OSF1:*:*) + case $UNAME_RELEASE in + *4.0) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` + ;; + *5.*) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + ;; + esac + # According to Compaq, /usr/sbin/psrinfo has been available on + # OSF/1 and Tru64 systems produced since 1995. I hope that + # covers most systems running today. This code pipes the CPU + # types through head -n 1, so we only detect the type of CPU 0. + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` + case "$ALPHA_CPU_TYPE" in + "EV4 (21064)") + UNAME_MACHINE="alpha" ;; + "EV4.5 (21064)") + UNAME_MACHINE="alpha" ;; + "LCA4 (21066/21068)") + UNAME_MACHINE="alpha" ;; + "EV5 (21164)") + UNAME_MACHINE="alphaev5" ;; + "EV5.6 (21164A)") + UNAME_MACHINE="alphaev56" ;; + "EV5.6 (21164PC)") + UNAME_MACHINE="alphapca56" ;; + "EV5.7 (21164PC)") + UNAME_MACHINE="alphapca57" ;; + "EV6 (21264)") + UNAME_MACHINE="alphaev6" ;; + "EV6.7 (21264A)") + UNAME_MACHINE="alphaev67" ;; + "EV6.8CB (21264C)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8AL (21264B)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8CX (21264D)") + UNAME_MACHINE="alphaev68" ;; + "EV6.9A (21264/EV69A)") + UNAME_MACHINE="alphaev69" ;; + "EV7 (21364)") + UNAME_MACHINE="alphaev7" ;; + "EV7.9 (21364A)") + UNAME_MACHINE="alphaev79" ;; + esac + # A Pn.n version is a patched version. + # A Vn.n version is a released version. + # A Tn.n version is a released field test version. + # A Xn.n version is an unreleased experimental baselevel. + # 1.2 uses "1.2" for uname -r. + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + # Reset EXIT trap before exiting to avoid spurious non-zero exit code. + exitcode=$? + trap '' 0 + exit $exitcode ;; + Alpha\ *:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # Should we change UNAME_MACHINE based on the output of uname instead + # of the specific Alpha model? + echo alpha-pc-interix + exit ;; + 21064:Windows_NT:50:3) + echo alpha-dec-winnt3.5 + exit ;; + Amiga*:UNIX_System_V:4.0:*) + echo m68k-unknown-sysv4 + exit ;; + *:[Aa]miga[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-amigaos + exit ;; + *:[Mm]orph[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-morphos + exit ;; + *:OS/390:*:*) + echo i370-ibm-openedition + exit ;; + *:z/VM:*:*) + echo s390-ibm-zvmoe + exit ;; + *:OS400:*:*) + echo powerpc-ibm-os400 + exit ;; + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) + echo arm-acorn-riscix${UNAME_RELEASE} + exit ;; + arm:riscos:*:*|arm:RISCOS:*:*) + echo arm-unknown-riscos + exit ;; + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) + echo hppa1.1-hitachi-hiuxmpp + exit ;; + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. + if test "`(/bin/universe) 2>/dev/null`" = att ; then + echo pyramid-pyramid-sysv3 + else + echo pyramid-pyramid-bsd + fi + exit ;; + NILE*:*:*:dcosx) + echo pyramid-pyramid-svr4 + exit ;; + DRS?6000:unix:4.0:6*) + echo sparc-icl-nx6 + exit ;; + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) + case `/usr/bin/uname -p` in + sparc) echo sparc-icl-nx7; exit ;; + esac ;; + s390x:SunOS:*:*) + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4H:SunOS:5.*:*) + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) + echo i386-pc-auroraux${UNAME_RELEASE} + exit ;; + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) + eval $set_cc_for_build + SUN_ARCH="i386" + # If there is a compiler, see if it is configured for 64-bit objects. + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. + # This test works for both compilers. + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + SUN_ARCH="x86_64" + fi + fi + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:6*:*) + # According to config.sub, this is the proper way to canonicalize + # SunOS6. Hard to guess exactly what SunOS6 will be like, but + # it's likely to be more like Solaris than SunOS4. + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:*:*) + case "`/usr/bin/arch -k`" in + Series*|S4*) + UNAME_RELEASE=`uname -v` + ;; + esac + # Japanese Language versions have a version number like `4.1.3-JL'. + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` + exit ;; + sun3*:SunOS:*:*) + echo m68k-sun-sunos${UNAME_RELEASE} + exit ;; + sun*:*:4.2BSD:*) + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 + case "`/bin/arch`" in + sun3) + echo m68k-sun-sunos${UNAME_RELEASE} + ;; + sun4) + echo sparc-sun-sunos${UNAME_RELEASE} + ;; + esac + exit ;; + aushp:SunOS:*:*) + echo sparc-auspex-sunos${UNAME_RELEASE} + exit ;; + # The situation for MiNT is a little confusing. The machine name + # can be virtually everything (everything which is not + # "atarist" or "atariste" at least should have a processor + # > m68000). The system name ranges from "MiNT" over "FreeMiNT" + # to the lowercase version "mint" (or "freemint"). Finally + # the system name "TOS" denotes a system which is actually not + # MiNT. But MiNT is downward compatible to TOS, so this should + # be no problem. + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) + echo m68k-milan-mint${UNAME_RELEASE} + exit ;; + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) + echo m68k-hades-mint${UNAME_RELEASE} + exit ;; + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) + echo m68k-unknown-mint${UNAME_RELEASE} + exit ;; + m68k:machten:*:*) + echo m68k-apple-machten${UNAME_RELEASE} + exit ;; + powerpc:machten:*:*) + echo powerpc-apple-machten${UNAME_RELEASE} + exit ;; + RISC*:Mach:*:*) + echo mips-dec-mach_bsd4.3 + exit ;; + RISC*:ULTRIX:*:*) + echo mips-dec-ultrix${UNAME_RELEASE} + exit ;; + VAX*:ULTRIX*:*:*) + echo vax-dec-ultrix${UNAME_RELEASE} + exit ;; + 2020:CLIX:*:* | 2430:CLIX:*:*) + echo clipper-intergraph-clix${UNAME_RELEASE} + exit ;; + mips:*:*:UMIPS | mips:*:*:RISCos) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c +#ifdef __cplusplus +#include <stdio.h> /* for printf() prototype */ + int main (int argc, char *argv[]) { +#else + int main (argc, argv) int argc; char *argv[]; { +#endif + #if defined (host_mips) && defined (MIPSEB) + #if defined (SYSTYPE_SYSV) + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_SVR4) + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); + #endif + #endif + exit (-1); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && + SYSTEM_NAME=`$dummy $dummyarg` && + { echo "$SYSTEM_NAME"; exit; } + echo mips-mips-riscos${UNAME_RELEASE} + exit ;; + Motorola:PowerMAX_OS:*:*) + echo powerpc-motorola-powermax + exit ;; + Motorola:*:4.3:PL8-*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:Power_UNIX:*:*) + echo powerpc-harris-powerunix + exit ;; + m88k:CX/UX:7*:*) + echo m88k-harris-cxux7 + exit ;; + m88k:*:4*:R4*) + echo m88k-motorola-sysv4 + exit ;; + m88k:*:3*:R3*) + echo m88k-motorola-sysv3 + exit ;; + AViiON:dgux:*:*) + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] + then + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ + [ ${TARGET_BINARY_INTERFACE}x = x ] + then + echo m88k-dg-dgux${UNAME_RELEASE} + else + echo m88k-dg-dguxbcs${UNAME_RELEASE} + fi + else + echo i586-dg-dgux${UNAME_RELEASE} + fi + exit ;; + M88*:DolphinOS:*:*) # DolphinOS (SVR3) + echo m88k-dolphin-sysv3 + exit ;; + M88*:*:R3*:*) + # Delta 88k system running SVR3 + echo m88k-motorola-sysv3 + exit ;; + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) + echo m88k-tektronix-sysv3 + exit ;; + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) + echo m68k-tektronix-bsd + exit ;; + *:IRIX*:*:*) + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` + exit ;; + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + i*86:AIX:*:*) + echo i386-ibm-aix + exit ;; + ia64:AIX:*:*) + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} + exit ;; + *:AIX:2:3) + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include <sys/systemcfg.h> + + main() + { + if (!__power_pc()) + exit(1); + puts("powerpc-ibm-aix3.2.5"); + exit(0); + } +EOF + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` + then + echo "$SYSTEM_NAME" + else + echo rs6000-ibm-aix3.2.5 + fi + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then + echo rs6000-ibm-aix3.2.4 + else + echo rs6000-ibm-aix3.2 + fi + exit ;; + *:AIX:*:[4567]) + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then + IBM_ARCH=rs6000 + else + IBM_ARCH=powerpc + fi + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${IBM_ARCH}-ibm-aix${IBM_REV} + exit ;; + *:AIX:*:*) + echo rs6000-ibm-aix + exit ;; + ibmrt:4.4BSD:*|romp-ibm:BSD:*) + echo romp-ibm-bsd4.4 + exit ;; + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to + exit ;; # report: romp-ibm BSD 4.3 + *:BOSX:*:*) + echo rs6000-bull-bosx + exit ;; + DPX/2?00:B.O.S.:*:*) + echo m68k-bull-sysv3 + exit ;; + 9000/[34]??:4.3bsd:1.*:*) + echo m68k-hp-bsd + exit ;; + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) + echo m68k-hp-bsd4.4 + exit ;; + 9000/[34678]??:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + case "${UNAME_MACHINE}" in + 9000/31? ) HP_ARCH=m68000 ;; + 9000/[34]?? ) HP_ARCH=m68k ;; + 9000/[678][0-9][0-9]) + if [ -x /usr/bin/getconf ]; then + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in + 32) HP_ARCH="hppa2.0n" ;; + 64) HP_ARCH="hppa2.0w" ;; + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 + esac ;; + esac + fi + if [ "${HP_ARCH}" = "" ]; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + + #define _HPUX_SOURCE + #include <stdlib.h> + #include <unistd.h> + + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); + + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } +EOF + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` + test -z "$HP_ARCH" && HP_ARCH=hppa + fi ;; + esac + if [ ${HP_ARCH} = "hppa2.0w" ] + then + eval $set_cc_for_build + + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler + # generating 64-bit code. GNU and HP use different nomenclature: + # + # $ CC_FOR_BUILD=cc ./config.guess + # => hppa2.0w-hp-hpux11.23 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess + # => hppa64-hp-hpux11.23 + + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | + grep -q __LP64__ + then + HP_ARCH="hppa2.0w" + else + HP_ARCH="hppa64" + fi + fi + echo ${HP_ARCH}-hp-hpux${HPUX_REV} + exit ;; + ia64:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + echo ia64-hp-hpux${HPUX_REV} + exit ;; + 3050*:HI-UX:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include <unistd.h> + int + main () + { + long cpu = sysconf (_SC_CPU_VERSION); + /* The order matters, because CPU_IS_HP_MC68K erroneously returns + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct + results, however. */ + if (CPU_IS_PA_RISC (cpu)) + { + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; + default: puts ("hppa-hitachi-hiuxwe2"); break; + } + } + else if (CPU_IS_HP_MC68K (cpu)) + puts ("m68k-hitachi-hiuxwe2"); + else puts ("unknown-hitachi-hiuxwe2"); + exit (0); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } + echo unknown-hitachi-hiuxwe2 + exit ;; + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) + echo hppa1.1-hp-bsd + exit ;; + 9000/8??:4.3bsd:*:*) + echo hppa1.0-hp-bsd + exit ;; + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) + echo hppa1.0-hp-mpeix + exit ;; + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) + echo hppa1.1-hp-osf + exit ;; + hp8??:OSF1:*:*) + echo hppa1.0-hp-osf + exit ;; + i*86:OSF1:*:*) + if [ -x /usr/sbin/sysversion ] ; then + echo ${UNAME_MACHINE}-unknown-osf1mk + else + echo ${UNAME_MACHINE}-unknown-osf1 + fi + exit ;; + parisc*:Lites*:*:*) + echo hppa1.1-hp-lites + exit ;; + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) + echo c1-convex-bsd + exit ;; + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) + echo c34-convex-bsd + exit ;; + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) + echo c38-convex-bsd + exit ;; + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) + echo c4-convex-bsd + exit ;; + CRAY*Y-MP:*:*:*) + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*[A-Z]90:*:*:*) + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ + -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*TS:*:*:*) + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*T3E:*:*:*) + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*SV1:*:*:*) + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + *:UNICOS/mp:*:*) + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + 5000:UNIX_System_V:4.*:*) + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} + exit ;; + sparc*:BSD/OS:*:*) + echo sparc-unknown-bsdi${UNAME_RELEASE} + exit ;; + *:BSD/OS:*:*) + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} + exit ;; + *:FreeBSD:*:*) + UNAME_PROCESSOR=`/usr/bin/uname -p` + case ${UNAME_PROCESSOR} in + amd64) + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + *) + echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + esac + exit ;; + i*:CYGWIN*:*) + echo ${UNAME_MACHINE}-pc-cygwin + exit ;; + *:MINGW*:*) + echo ${UNAME_MACHINE}-pc-mingw32 + exit ;; + i*:MSYS*:*) + echo ${UNAME_MACHINE}-pc-msys + exit ;; + i*:windows32*:*) + # uname -m includes "-pc" on this system. + echo ${UNAME_MACHINE}-mingw32 + exit ;; + i*:PW*:*) + echo ${UNAME_MACHINE}-pc-pw32 + exit ;; + *:Interix*:*) + case ${UNAME_MACHINE} in + x86) + echo i586-pc-interix${UNAME_RELEASE} + exit ;; + authenticamd | genuineintel | EM64T) + echo x86_64-unknown-interix${UNAME_RELEASE} + exit ;; + IA64) + echo ia64-unknown-interix${UNAME_RELEASE} + exit ;; + esac ;; + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) + echo i${UNAME_MACHINE}-pc-mks + exit ;; + 8664:Windows_NT:*) + echo x86_64-pc-mks + exit ;; + i*:Windows_NT*:* | Pentium*:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we + # UNAME_MACHINE based on the output of uname instead of i386? + echo i586-pc-interix + exit ;; + i*:UWIN*:*) + echo ${UNAME_MACHINE}-pc-uwin + exit ;; + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) + echo x86_64-unknown-cygwin + exit ;; + p*:CYGWIN*:*) + echo powerpcle-unknown-cygwin + exit ;; + prep*:SunOS:5.*:*) + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + *:GNU:*:*) + # the GNU system + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + exit ;; + *:GNU/*:*:*) + # other systems with GNU libc and userland + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu + exit ;; + i*86:Minix:*:*) + echo ${UNAME_MACHINE}-pc-minix + exit ;; + aarch64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + aarch64_be:Linux:*:*) + UNAME_MACHINE=aarch64_be + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + objdump --private-headers /bin/sh | grep -q ld.so.1 + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} + exit ;; + arm*:Linux:*:*) + eval $set_cc_for_build + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_EABI__ + then + echo ${UNAME_MACHINE}-unknown-linux-gnu + else + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_PCS_VFP + then + echo ${UNAME_MACHINE}-unknown-linux-gnueabi + else + echo ${UNAME_MACHINE}-unknown-linux-gnueabihf + fi + fi + exit ;; + avr32*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + cris:Linux:*:*) + echo ${UNAME_MACHINE}-axis-linux-gnu + exit ;; + crisv32:Linux:*:*) + echo ${UNAME_MACHINE}-axis-linux-gnu + exit ;; + frv:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + hexagon:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + i*86:Linux:*:*) + LIBC=gnu + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #ifdef __dietlibc__ + LIBC=dietlibc + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` + echo "${UNAME_MACHINE}-pc-linux-${LIBC}" + exit ;; + ia64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m32r*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m68*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + mips:Linux:*:* | mips64:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef ${UNAME_MACHINE} + #undef ${UNAME_MACHINE}el + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=${UNAME_MACHINE}el + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=${UNAME_MACHINE} + #else + CPU= + #endif + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } + ;; + or32:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + padre:Linux:*:*) + echo sparc-unknown-linux-gnu + exit ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-gnu + exit ;; + parisc:Linux:*:* | hppa:Linux:*:*) + # Look for CPU level + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in + PA7*) echo hppa1.1-unknown-linux-gnu ;; + PA8*) echo hppa2.0-unknown-linux-gnu ;; + *) echo hppa-unknown-linux-gnu ;; + esac + exit ;; + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-gnu + exit ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-gnu + exit ;; + s390:Linux:*:* | s390x:Linux:*:*) + echo ${UNAME_MACHINE}-ibm-linux + exit ;; + sh64*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + sh*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + sparc:Linux:*:* | sparc64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + tile*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + vax:Linux:*:*) + echo ${UNAME_MACHINE}-dec-linux-gnu + exit ;; + x86_64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + xtensa*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + i*86:DYNIX/ptx:4*:*) + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. + # earlier versions are messed up and put the nodename in both + # sysname and nodename. + echo i386-sequent-sysv4 + exit ;; + i*86:UNIX_SV:4.2MP:2.*) + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, + # I just have to hope. -- rms. + # Use sysv4.2uw... so that sysv4* matches it. + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} + exit ;; + i*86:OS/2:*:*) + # If we were able to find `uname', then EMX Unix compatibility + # is probably installed. + echo ${UNAME_MACHINE}-pc-os2-emx + exit ;; + i*86:XTS-300:*:STOP) + echo ${UNAME_MACHINE}-unknown-stop + exit ;; + i*86:atheos:*:*) + echo ${UNAME_MACHINE}-unknown-atheos + exit ;; + i*86:syllable:*:*) + echo ${UNAME_MACHINE}-pc-syllable + exit ;; + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) + echo i386-unknown-lynxos${UNAME_RELEASE} + exit ;; + i*86:*DOS:*:*) + echo ${UNAME_MACHINE}-pc-msdosdjgpp + exit ;; + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} + else + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} + fi + exit ;; + i*86:*:5:[678]*) + # UnixWare 7.x, OpenUNIX and OpenServer 6. + case `/bin/uname -X | grep "^Machine"` in + *486*) UNAME_MACHINE=i486 ;; + *Pentium) UNAME_MACHINE=i586 ;; + *Pent*|*Celeron) UNAME_MACHINE=i686 ;; + esac + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} + exit ;; + i*86:*:3.2:*) + if test -f /usr/options/cb.name; then + UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` + echo ${UNAME_MACHINE}-pc-isc$UNAME_REL + elif /bin/uname -X 2>/dev/null >/dev/null ; then + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ + && UNAME_MACHINE=i586 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ + && UNAME_MACHINE=i686 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ + && UNAME_MACHINE=i686 + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL + else + echo ${UNAME_MACHINE}-pc-sysv32 + fi + exit ;; + pc:*:*:*) + # Left here for compatibility: + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i586. + # Note: whatever this is, it MUST be the same as what config.sub + # prints for the "djgpp" host, or else GDB configury will decide that + # this is a cross-build. + echo i586-pc-msdosdjgpp + exit ;; + Intel:Mach:3*:*) + echo i386-pc-mach3 + exit ;; + paragon:*:*:*) + echo i860-intel-osf1 + exit ;; + i860:*:4.*:*) # i860-SVR4 + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 + else # Add other i860-SVR4 vendors below as they are discovered. + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 + fi + exit ;; + mini*:CTIX:SYS*5:*) + # "miniframe" + echo m68010-convergent-sysv + exit ;; + mc68k:UNIX:SYSTEM5:3.51m) + echo m68k-convergent-sysv + exit ;; + M680?0:D-NIX:5.3:*) + echo m68k-diab-dnix + exit ;; + M68*:*:R3V[5678]*:*) + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) + OS_REL='' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4; exit; } ;; + NCR*:*:4.2:* | MPRAS*:*:4.2:*) + OS_REL='.3' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) + echo m68k-unknown-lynxos${UNAME_RELEASE} + exit ;; + mc68030:UNIX_System_V:4.*:*) + echo m68k-atari-sysv4 + exit ;; + TSUNAMI:LynxOS:2.*:*) + echo sparc-unknown-lynxos${UNAME_RELEASE} + exit ;; + rs6000:LynxOS:2.*:*) + echo rs6000-unknown-lynxos${UNAME_RELEASE} + exit ;; + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) + echo powerpc-unknown-lynxos${UNAME_RELEASE} + exit ;; + SM[BE]S:UNIX_SV:*:*) + echo mips-dde-sysv${UNAME_RELEASE} + exit ;; + RM*:ReliantUNIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + RM*:SINIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + *:SINIX-*:*:*) + if uname -p 2>/dev/null >/dev/null ; then + UNAME_MACHINE=`(uname -p) 2>/dev/null` + echo ${UNAME_MACHINE}-sni-sysv4 + else + echo ns32k-sni-sysv + fi + exit ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says <Richard.M.Bartel@ccMail.Census.GOV> + echo i586-unisys-sysv4 + exit ;; + *:UNIX_System_V:4*:FTX*) + # From Gerald Hewes <hewes@openmarket.com>. + # How about differentiating between stratus architectures? -djm + echo hppa1.1-stratus-sysv4 + exit ;; + *:*:*:FTX*) + # From seanf@swdc.stratus.com. + echo i860-stratus-sysv4 + exit ;; + i*86:VOS:*:*) + # From Paul.Green@stratus.com. + echo ${UNAME_MACHINE}-stratus-vos + exit ;; + *:VOS:*:*) + # From Paul.Green@stratus.com. + echo hppa1.1-stratus-vos + exit ;; + mc68*:A/UX:*:*) + echo m68k-apple-aux${UNAME_RELEASE} + exit ;; + news*:NEWS-OS:6*:*) + echo mips-sony-newsos6 + exit ;; + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) + if [ -d /usr/nec ]; then + echo mips-nec-sysv${UNAME_RELEASE} + else + echo mips-unknown-sysv${UNAME_RELEASE} + fi + exit ;; + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. + echo powerpc-be-beos + exit ;; + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. + echo powerpc-apple-beos + exit ;; + BePC:BeOS:*:*) # BeOS running on Intel PC compatible. + echo i586-pc-beos + exit ;; + BePC:Haiku:*:*) # Haiku running on Intel PC compatible. + echo i586-pc-haiku + exit ;; + SX-4:SUPER-UX:*:*) + echo sx4-nec-superux${UNAME_RELEASE} + exit ;; + SX-5:SUPER-UX:*:*) + echo sx5-nec-superux${UNAME_RELEASE} + exit ;; + SX-6:SUPER-UX:*:*) + echo sx6-nec-superux${UNAME_RELEASE} + exit ;; + SX-7:SUPER-UX:*:*) + echo sx7-nec-superux${UNAME_RELEASE} + exit ;; + SX-8:SUPER-UX:*:*) + echo sx8-nec-superux${UNAME_RELEASE} + exit ;; + SX-8R:SUPER-UX:*:*) + echo sx8r-nec-superux${UNAME_RELEASE} + exit ;; + Power*:Rhapsody:*:*) + echo powerpc-apple-rhapsody${UNAME_RELEASE} + exit ;; + *:Rhapsody:*:*) + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} + exit ;; + *:Darwin:*:*) + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown + case $UNAME_PROCESSOR in + i386) + eval $set_cc_for_build + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + UNAME_PROCESSOR="x86_64" + fi + fi ;; + unknown) UNAME_PROCESSOR=powerpc ;; + esac + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} + exit ;; + *:procnto*:*:* | *:QNX:[0123456789]*:*) + UNAME_PROCESSOR=`uname -p` + if test "$UNAME_PROCESSOR" = "x86"; then + UNAME_PROCESSOR=i386 + UNAME_MACHINE=pc + fi + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} + exit ;; + *:QNX:*:4*) + echo i386-pc-qnx + exit ;; + NEO-?:NONSTOP_KERNEL:*:*) + echo neo-tandem-nsk${UNAME_RELEASE} + exit ;; + NSE-*:NONSTOP_KERNEL:*:*) + echo nse-tandem-nsk${UNAME_RELEASE} + exit ;; + NSR-?:NONSTOP_KERNEL:*:*) + echo nsr-tandem-nsk${UNAME_RELEASE} + exit ;; + *:NonStop-UX:*:*) + echo mips-compaq-nonstopux + exit ;; + BS2000:POSIX*:*:*) + echo bs2000-siemens-sysv + exit ;; + DS/*:UNIX_System_V:*:*) + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} + exit ;; + *:Plan9:*:*) + # "uname -m" is not consistent, so use $cputype instead. 386 + # is converted to i386 for consistency with other x86 + # operating systems. + if test "$cputype" = "386"; then + UNAME_MACHINE=i386 + else + UNAME_MACHINE="$cputype" + fi + echo ${UNAME_MACHINE}-unknown-plan9 + exit ;; + *:TOPS-10:*:*) + echo pdp10-unknown-tops10 + exit ;; + *:TENEX:*:*) + echo pdp10-unknown-tenex + exit ;; + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) + echo pdp10-dec-tops20 + exit ;; + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) + echo pdp10-xkl-tops20 + exit ;; + *:TOPS-20:*:*) + echo pdp10-unknown-tops20 + exit ;; + *:ITS:*:*) + echo pdp10-unknown-its + exit ;; + SEI:*:*:SEIUX) + echo mips-sei-seiux${UNAME_RELEASE} + exit ;; + *:DragonFly:*:*) + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit ;; + *:*VMS:*:*) + UNAME_MACHINE=`(uname -p) 2>/dev/null` + case "${UNAME_MACHINE}" in + A*) echo alpha-dec-vms ; exit ;; + I*) echo ia64-dec-vms ; exit ;; + V*) echo vax-dec-vms ; exit ;; + esac ;; + *:XENIX:*:SysV) + echo i386-pc-xenix + exit ;; + i*86:skyos:*:*) + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' + exit ;; + i*86:rdos:*:*) + echo ${UNAME_MACHINE}-pc-rdos + exit ;; + i*86:AROS:*:*) + echo ${UNAME_MACHINE}-pc-aros + exit ;; + x86_64:VMkernel:*:*) + echo ${UNAME_MACHINE}-unknown-esx + exit ;; +esac + +#echo '(No uname command or uname output not recognized.)' 1>&2 +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 + +eval $set_cc_for_build +cat >$dummy.c <<EOF +#ifdef _SEQUENT_ +# include <sys/types.h> +# include <sys/utsname.h> +#endif +main () +{ +#if defined (sony) +#if defined (MIPSEB) + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, + I don't know.... */ + printf ("mips-sony-bsd\n"); exit (0); +#else +#include <sys/param.h> + printf ("m68k-sony-newsos%s\n", +#ifdef NEWSOS4 + "4" +#else + "" +#endif + ); exit (0); +#endif +#endif + +#if defined (__arm) && defined (__acorn) && defined (__unix) + printf ("arm-acorn-riscix\n"); exit (0); +#endif + +#if defined (hp300) && !defined (hpux) + printf ("m68k-hp-bsd\n"); exit (0); +#endif + +#if defined (NeXT) +#if !defined (__ARCHITECTURE__) +#define __ARCHITECTURE__ "m68k" +#endif + int version; + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; + if (version < 4) + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); + else + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); + exit (0); +#endif + +#if defined (MULTIMAX) || defined (n16) +#if defined (UMAXV) + printf ("ns32k-encore-sysv\n"); exit (0); +#else +#if defined (CMU) + printf ("ns32k-encore-mach\n"); exit (0); +#else + printf ("ns32k-encore-bsd\n"); exit (0); +#endif +#endif +#endif + +#if defined (__386BSD__) + printf ("i386-pc-bsd\n"); exit (0); +#endif + +#if defined (sequent) +#if defined (i386) + printf ("i386-sequent-dynix\n"); exit (0); +#endif +#if defined (ns32000) + printf ("ns32k-sequent-dynix\n"); exit (0); +#endif +#endif + +#if defined (_SEQUENT_) + struct utsname un; + + uname(&un); + + if (strncmp(un.version, "V2", 2) == 0) { + printf ("i386-sequent-ptx2\n"); exit (0); + } + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ + printf ("i386-sequent-ptx1\n"); exit (0); + } + printf ("i386-sequent-ptx\n"); exit (0); + +#endif + +#if defined (vax) +# if !defined (ultrix) +# include <sys/param.h> +# if defined (BSD) +# if BSD == 43 + printf ("vax-dec-bsd4.3\n"); exit (0); +# else +# if BSD == 199006 + printf ("vax-dec-bsd4.3reno\n"); exit (0); +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# endif +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# else + printf ("vax-dec-ultrix\n"); exit (0); +# endif +#endif + +#if defined (alliant) && defined (i860) + printf ("i860-alliant-bsd\n"); exit (0); +#endif + + exit (1); +} +EOF + +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } + +# Apollos put the system type in the environment. + +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } + +# Convex versions that predate uname can use getsysinfo(1) + +if [ -x /usr/convex/getsysinfo ] +then + case `getsysinfo -f cpu_type` in + c1*) + echo c1-convex-bsd + exit ;; + c2*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + c34*) + echo c34-convex-bsd + exit ;; + c38*) + echo c38-convex-bsd + exit ;; + c4*) + echo c4-convex-bsd + exit ;; + esac +fi + +cat >&2 <<EOF +$0: unable to guess system type + +This script, last modified $timestamp, has failed to recognize +the operating system you are using. It is advised that you +download the most up to date version of the config scripts from + + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD +and + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD + +If the version you run ($0) is already up to date, please +send the following data and any information you think might be +pertinent to <config-patches@gnu.org> in order to provide the needed +information to handle your system. + +config.guess timestamp = $timestamp + +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` + +hostinfo = `(hostinfo) 2>/dev/null` +/bin/universe = `(/bin/universe) 2>/dev/null` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` +/bin/arch = `(/bin/arch) 2>/dev/null` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` + +UNAME_MACHINE = ${UNAME_MACHINE} +UNAME_RELEASE = ${UNAME_RELEASE} +UNAME_SYSTEM = ${UNAME_SYSTEM} +UNAME_VERSION = ${UNAME_VERSION} +EOF + +exit 1 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/tizen/distrib/remote/server/spice-0.12.2/config.h.in b/tizen/distrib/remote/server/spice-0.12.2/config.h.in new file mode 100644 index 0000000..876db32 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/config.h.in @@ -0,0 +1,154 @@ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* Define if building universal (internal helper macro) */ +#undef AC_APPLE_UNIVERSAL_BUILD + +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP + systems. This function is required for `alloca.c' support on those systems. + */ +#undef CRAY_STACKSEG_END + +/* Define to 1 if using `alloca.c'. */ +#undef C_ALLOCA + +/* Enable compile-time and run-time bounds-checking, and some warnings. */ +#if __OPTIMIZE__ +# define _FORTIFY_SOURCE 2 +#endif + + +/* Enable GLExt prototypes */ +#undef GL_GLEXT_PROTOTYPES + +/* Define to 1 if you have `alloca', as a function or macro. */ +#undef HAVE_ALLOCA + +/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). + */ +#undef HAVE_ALLOCA_H + +/* Defined if we have clock_gettime() */ +#undef HAVE_CLOCK_GETTIME + +/* Define to 1 if you have the <dlfcn.h> header file. */ +#undef HAVE_DLFCN_H + +/* Define to 1 if you have the <execinfo.h> header file. */ +#undef HAVE_EXECINFO_H + +/* Define to 1 if you have the <inttypes.h> header file. */ +#undef HAVE_INTTYPES_H + +/* Define to 1 if you have the <memory.h> header file. */ +#undef HAVE_MEMORY_H + +/* whether Cyrus SASL is available for authentication */ +#undef HAVE_SASL + +/* Define if we have slirp */ +#undef HAVE_SLIRP + +/* Define to 1 if you have the <stdint.h> header file. */ +#undef HAVE_STDINT_H + +/* Define to 1 if you have the <stdlib.h> header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the <strings.h> header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the <string.h> header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the <sys/time.h> header file. */ +#undef HAVE_SYS_TIME_H + +/* Define to 1 if you have the <sys/types.h> header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have the <unistd.h> header file. */ +#undef HAVE_UNISTD_H + +/* Define if we have Xinerama */ +#undef HAVE_XINERAMA + +/* Define if we have XRANDR 12 */ +#undef HAVE_XRANDR12 + +/* Define to the sub-directory in which libtool stores uninstalled libraries. + */ +#undef LT_OBJDIR + +/* Define to 1 if your C compiler doesn't accept -c and -o together. */ +#undef NO_MINUS_C_MINUS_O + +/* Name of package */ +#undef PACKAGE + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the home page for this package. */ +#undef PACKAGE_URL + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* The POSIX RT yield function */ +#undef POSIX_YIELD_FUNC + +/* If using the C implementation of alloca, define if you know the + direction of stack growth for your system; otherwise it will be + automatically deduced at runtime. + STACK_DIRECTION > 0 => grows toward higher addresses + STACK_DIRECTION < 0 => grows toward lower addresses + STACK_DIRECTION = 0 => direction of growth unknown */ +#undef STACK_DIRECTION + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Define to build with CEGUI support */ +#undef USE_GUI + +/* Define to build with OpenGL support */ +#undef USE_OPENGL + +/* Define if supporting smartcard proxying */ +#undef USE_SMARTCARD + +/* Define if supporting tunnel proxying */ +#undef USE_TUNNEL + +/* Version number of package */ +#undef VERSION + +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +# undef WORDS_BIGENDIAN +# endif +#endif + +/* Force definition of format macros for C++ */ +#undef __STDC_FORMAT_MACROS + +/* Define to `unsigned int' if <sys/types.h> does not define. */ +#undef size_t diff --git a/tizen/distrib/remote/server/spice-0.12.2/config.sub b/tizen/distrib/remote/server/spice-0.12.2/config.sub new file mode 100755 index 0000000..6205f84 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/config.sub @@ -0,0 +1,1782 @@ +#! /bin/sh +# Configuration validation subroutine script. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, +# 2011, 2012 Free Software Foundation, Inc. + +timestamp='2012-04-18' + +# This file is (in principle) common to ALL GNU software. +# The presence of a machine in this file suggests that SOME GNU software +# can handle that machine. It does not imply ALL GNU software can. +# +# This file 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, see <http://www.gnu.org/licenses/>. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + + +# Please send patches to <config-patches@gnu.org>. Submit a context +# diff and a properly formatted GNU ChangeLog entry. +# +# Configuration subroutine to validate and canonicalize a configuration type. +# Supply the specified configuration type as an argument. +# If it is invalid, we print an error message on stderr and exit with code 1. +# Otherwise, we print the canonical config type on stdout and succeed. + +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD + +# This file is supposed to be the same for all GNU packages +# and recognize all the CPU types, system types and aliases +# that are meaningful with *any* GNU software. +# Each package is responsible for reporting which valid configurations +# it does not support. The user should be able to distinguish +# a failure to support a valid configuration from a meaningless +# configuration. + +# The goal of this file is to map all the various variations of a given +# machine specification into a single specification in the form: +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or in some cases, the newer four-part form: +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM +# It is wrong to echo any other type of specification. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] CPU-MFR-OPSYS + $0 [OPTION] ALIAS + +Canonicalize a configuration name. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to <config-patches@gnu.org>." + +version="\ +GNU config.sub ($timestamp) + +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 +Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" + exit 1 ;; + + *local*) + # First pass through any local machine types. + echo $1 + exit ;; + + * ) + break ;; + esac +done + +case $# in + 0) echo "$me: missing argument$help" >&2 + exit 1;; + 1) ;; + *) echo "$me: too many arguments$help" >&2 + exit 1;; +esac + +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). +# Here we must recognize all the valid KERNEL-OS combinations. +maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` +case $maybe_os in + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ + linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ + knetbsd*-gnu* | netbsd*-gnu* | \ + kopensolaris*-gnu* | \ + storm-chaos* | os2-emx* | rtmk-nova*) + os=-$maybe_os + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` + ;; + android-linux) + os=-linux-android + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown + ;; + *) + basic_machine=`echo $1 | sed 's/-[^-]*$//'` + if [ $basic_machine != $1 ] + then os=`echo $1 | sed 's/.*-/-/'` + else os=; fi + ;; +esac + +### Let's recognize common machines as not being operating systems so +### that things like config.sub decstation-3100 work. We also +### recognize some manufacturers as not being operating systems, so we +### can provide default operating systems below. +case $os in + -sun*os*) + # Prevent following clause from handling this invalid input. + ;; + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ + -apple | -axis | -knuth | -cray | -microblaze) + os= + basic_machine=$1 + ;; + -bluegene*) + os=-cnk + ;; + -sim | -cisco | -oki | -wec | -winbond) + os= + basic_machine=$1 + ;; + -scout) + ;; + -wrs) + os=-vxworks + basic_machine=$1 + ;; + -chorusos*) + os=-chorusos + basic_machine=$1 + ;; + -chorusrdb) + os=-chorusrdb + basic_machine=$1 + ;; + -hiux*) + os=-hiuxwe2 + ;; + -sco6) + os=-sco5v6 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco5) + os=-sco3.2v5 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco4) + os=-sco3.2v4 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2.[4-9]*) + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2v[4-9]*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco5v6*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco*) + os=-sco3.2v2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -udk*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -isc) + os=-isc2.2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -clix*) + basic_machine=clipper-intergraph + ;; + -isc*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -lynx*178) + os=-lynxos178 + ;; + -lynx*5) + os=-lynxos5 + ;; + -lynx*) + os=-lynxos + ;; + -ptx*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` + ;; + -windowsnt*) + os=`echo $os | sed -e 's/windowsnt/winnt/'` + ;; + -psos*) + os=-psos + ;; + -mint | -mint[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; +esac + +# Decode aliases for certain CPU-COMPANY combinations. +case $basic_machine in + # Recognize the basic CPU types without company name. + # Some are omitted here because they have special meanings below. + 1750a | 580 \ + | a29k \ + | aarch64 | aarch64_be \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ + | be32 | be64 \ + | bfin \ + | c4x | clipper \ + | d10v | d30v | dlx | dsp16xx \ + | epiphany \ + | fido | fr30 | frv \ + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | hexagon \ + | i370 | i860 | i960 | ia64 \ + | ip2k | iq2000 \ + | le32 | le64 \ + | lm32 \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ + | maxq | mb | microblaze | mcore | mep | metag \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64el \ + | mips64octeon | mips64octeonel \ + | mips64orion | mips64orionel \ + | mips64r5900 | mips64r5900el \ + | mips64vr | mips64vrel \ + | mips64vr4100 | mips64vr4100el \ + | mips64vr4300 | mips64vr4300el \ + | mips64vr5000 | mips64vr5000el \ + | mips64vr5900 | mips64vr5900el \ + | mipsisa32 | mipsisa32el \ + | mipsisa32r2 | mipsisa32r2el \ + | mipsisa64 | mipsisa64el \ + | mipsisa64r2 | mipsisa64r2el \ + | mipsisa64sb1 | mipsisa64sb1el \ + | mipsisa64sr71k | mipsisa64sr71kel \ + | mipstx39 | mipstx39el \ + | mn10200 | mn10300 \ + | moxie \ + | mt \ + | msp430 \ + | nds32 | nds32le | nds32be \ + | nios | nios2 \ + | ns16k | ns32k \ + | open8 \ + | or32 \ + | pdp10 | pdp11 | pj | pjl \ + | powerpc | powerpc64 | powerpc64le | powerpcle \ + | pyramid \ + | rl78 | rx \ + | score \ + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ + | sh64 | sh64le \ + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ + | spu \ + | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ + | ubicom32 \ + | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ + | we32k \ + | x86 | xc16x | xstormy16 | xtensa \ + | z8k | z80) + basic_machine=$basic_machine-unknown + ;; + c54x) + basic_machine=tic54x-unknown + ;; + c55x) + basic_machine=tic55x-unknown + ;; + c6x) + basic_machine=tic6x-unknown + ;; + m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) + basic_machine=$basic_machine-unknown + os=-none + ;; + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) + ;; + ms1) + basic_machine=mt-unknown + ;; + + strongarm | thumb | xscale) + basic_machine=arm-unknown + ;; + xgate) + basic_machine=$basic_machine-unknown + os=-none + ;; + xscaleeb) + basic_machine=armeb-unknown + ;; + + xscaleel) + basic_machine=armel-unknown + ;; + + # We use `pc' rather than `unknown' + # because (1) that's what they normally are, and + # (2) the word "unknown" tends to confuse beginning users. + i*86 | x86_64) + basic_machine=$basic_machine-pc + ;; + # Object if more than one company name word. + *-*-*) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; + # Recognize the basic CPU types with company name. + 580-* \ + | a29k-* \ + | aarch64-* | aarch64_be-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ + | avr-* | avr32-* \ + | be32-* | be64-* \ + | bfin-* | bs2000-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* \ + | clipper-* | craynv-* | cydra-* \ + | d10v-* | d30v-* | dlx-* \ + | elxsi-* \ + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ + | h8300-* | h8500-* \ + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ + | hexagon-* \ + | i*86-* | i860-* | i960-* | ia64-* \ + | ip2k-* | iq2000-* \ + | le32-* | le64-* \ + | lm32-* \ + | m32c-* | m32r-* | m32rle-* \ + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ + | mips16-* \ + | mips64-* | mips64el-* \ + | mips64octeon-* | mips64octeonel-* \ + | mips64orion-* | mips64orionel-* \ + | mips64r5900-* | mips64r5900el-* \ + | mips64vr-* | mips64vrel-* \ + | mips64vr4100-* | mips64vr4100el-* \ + | mips64vr4300-* | mips64vr4300el-* \ + | mips64vr5000-* | mips64vr5000el-* \ + | mips64vr5900-* | mips64vr5900el-* \ + | mipsisa32-* | mipsisa32el-* \ + | mipsisa32r2-* | mipsisa32r2el-* \ + | mipsisa64-* | mipsisa64el-* \ + | mipsisa64r2-* | mipsisa64r2el-* \ + | mipsisa64sb1-* | mipsisa64sb1el-* \ + | mipsisa64sr71k-* | mipsisa64sr71kel-* \ + | mipstx39-* | mipstx39el-* \ + | mmix-* \ + | mt-* \ + | msp430-* \ + | nds32-* | nds32le-* | nds32be-* \ + | nios-* | nios2-* \ + | none-* | np1-* | ns16k-* | ns32k-* \ + | open8-* \ + | orion-* \ + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ + | pyramid-* \ + | rl78-* | romp-* | rs6000-* | rx-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ + | sparclite-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ + | tahoe-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tile*-* \ + | tron-* \ + | ubicom32-* \ + | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ + | vax-* \ + | we32k-* \ + | x86-* | x86_64-* | xc16x-* | xps100-* \ + | xstormy16-* | xtensa*-* \ + | ymp-* \ + | z8k-* | z80-*) + ;; + # Recognize the basic CPU types without company name, with glob match. + xtensa*) + basic_machine=$basic_machine-unknown + ;; + # Recognize the various machine names and aliases which stand + # for a CPU type and a company and sometimes even an OS. + 386bsd) + basic_machine=i386-unknown + os=-bsd + ;; + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) + basic_machine=m68000-att + ;; + 3b*) + basic_machine=we32k-att + ;; + a29khif) + basic_machine=a29k-amd + os=-udi + ;; + abacus) + basic_machine=abacus-unknown + ;; + adobe68k) + basic_machine=m68010-adobe + os=-scout + ;; + alliant | fx80) + basic_machine=fx80-alliant + ;; + altos | altos3068) + basic_machine=m68k-altos + ;; + am29k) + basic_machine=a29k-none + os=-bsd + ;; + amd64) + basic_machine=x86_64-pc + ;; + amd64-*) + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + amdahl) + basic_machine=580-amdahl + os=-sysv + ;; + amiga | amiga-*) + basic_machine=m68k-unknown + ;; + amigaos | amigados) + basic_machine=m68k-unknown + os=-amigaos + ;; + amigaunix | amix) + basic_machine=m68k-unknown + os=-sysv4 + ;; + apollo68) + basic_machine=m68k-apollo + os=-sysv + ;; + apollo68bsd) + basic_machine=m68k-apollo + os=-bsd + ;; + aros) + basic_machine=i386-pc + os=-aros + ;; + aux) + basic_machine=m68k-apple + os=-aux + ;; + balance) + basic_machine=ns32k-sequent + os=-dynix + ;; + blackfin) + basic_machine=bfin-unknown + os=-linux + ;; + blackfin-*) + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + bluegene*) + basic_machine=powerpc-ibm + os=-cnk + ;; + c54x-*) + basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c55x-*) + basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c6x-*) + basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c90) + basic_machine=c90-cray + os=-unicos + ;; + cegcc) + basic_machine=arm-unknown + os=-cegcc + ;; + convex-c1) + basic_machine=c1-convex + os=-bsd + ;; + convex-c2) + basic_machine=c2-convex + os=-bsd + ;; + convex-c32) + basic_machine=c32-convex + os=-bsd + ;; + convex-c34) + basic_machine=c34-convex + os=-bsd + ;; + convex-c38) + basic_machine=c38-convex + os=-bsd + ;; + cray | j90) + basic_machine=j90-cray + os=-unicos + ;; + craynv) + basic_machine=craynv-cray + os=-unicosmp + ;; + cr16 | cr16-*) + basic_machine=cr16-unknown + os=-elf + ;; + crds | unos) + basic_machine=m68k-crds + ;; + crisv32 | crisv32-* | etraxfs*) + basic_machine=crisv32-axis + ;; + cris | cris-* | etrax*) + basic_machine=cris-axis + ;; + crx) + basic_machine=crx-unknown + os=-elf + ;; + da30 | da30-*) + basic_machine=m68k-da30 + ;; + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) + basic_machine=mips-dec + ;; + decsystem10* | dec10*) + basic_machine=pdp10-dec + os=-tops10 + ;; + decsystem20* | dec20*) + basic_machine=pdp10-dec + os=-tops20 + ;; + delta | 3300 | motorola-3300 | motorola-delta \ + | 3300-motorola | delta-motorola) + basic_machine=m68k-motorola + ;; + delta88) + basic_machine=m88k-motorola + os=-sysv3 + ;; + dicos) + basic_machine=i686-pc + os=-dicos + ;; + djgpp) + basic_machine=i586-pc + os=-msdosdjgpp + ;; + dpx20 | dpx20-*) + basic_machine=rs6000-bull + os=-bosx + ;; + dpx2* | dpx2*-bull) + basic_machine=m68k-bull + os=-sysv3 + ;; + ebmon29k) + basic_machine=a29k-amd + os=-ebmon + ;; + elxsi) + basic_machine=elxsi-elxsi + os=-bsd + ;; + encore | umax | mmax) + basic_machine=ns32k-encore + ;; + es1800 | OSE68k | ose68k | ose | OSE) + basic_machine=m68k-ericsson + os=-ose + ;; + fx2800) + basic_machine=i860-alliant + ;; + genix) + basic_machine=ns32k-ns + ;; + gmicro) + basic_machine=tron-gmicro + os=-sysv + ;; + go32) + basic_machine=i386-pc + os=-go32 + ;; + h3050r* | hiux*) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + h8300hms) + basic_machine=h8300-hitachi + os=-hms + ;; + h8300xray) + basic_machine=h8300-hitachi + os=-xray + ;; + h8500hms) + basic_machine=h8500-hitachi + os=-hms + ;; + harris) + basic_machine=m88k-harris + os=-sysv3 + ;; + hp300-*) + basic_machine=m68k-hp + ;; + hp300bsd) + basic_machine=m68k-hp + os=-bsd + ;; + hp300hpux) + basic_machine=m68k-hp + os=-hpux + ;; + hp3k9[0-9][0-9] | hp9[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k2[0-9][0-9] | hp9k31[0-9]) + basic_machine=m68000-hp + ;; + hp9k3[2-9][0-9]) + basic_machine=m68k-hp + ;; + hp9k6[0-9][0-9] | hp6[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k7[0-79][0-9] | hp7[0-79][0-9]) + basic_machine=hppa1.1-hp + ;; + hp9k78[0-9] | hp78[0-9]) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][13679] | hp8[0-9][13679]) + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][0-9] | hp8[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hppa-next) + os=-nextstep3 + ;; + hppaosf) + basic_machine=hppa1.1-hp + os=-osf + ;; + hppro) + basic_machine=hppa1.1-hp + os=-proelf + ;; + i370-ibm* | ibm*) + basic_machine=i370-ibm + ;; + i*86v32) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv32 + ;; + i*86v4*) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv4 + ;; + i*86v) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv + ;; + i*86sol2) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-solaris2 + ;; + i386mach) + basic_machine=i386-mach + os=-mach + ;; + i386-vsta | vsta) + basic_machine=i386-unknown + os=-vsta + ;; + iris | iris4d) + basic_machine=mips-sgi + case $os in + -irix*) + ;; + *) + os=-irix4 + ;; + esac + ;; + isi68 | isi) + basic_machine=m68k-isi + os=-sysv + ;; + m68knommu) + basic_machine=m68k-unknown + os=-linux + ;; + m68knommu-*) + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + m88k-omron*) + basic_machine=m88k-omron + ;; + magnum | m3230) + basic_machine=mips-mips + os=-sysv + ;; + merlin) + basic_machine=ns32k-utek + os=-sysv + ;; + microblaze) + basic_machine=microblaze-xilinx + ;; + mingw32) + basic_machine=i386-pc + os=-mingw32 + ;; + mingw32ce) + basic_machine=arm-unknown + os=-mingw32ce + ;; + miniframe) + basic_machine=m68000-convergent + ;; + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; + mips3*-*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` + ;; + mips3*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown + ;; + monitor) + basic_machine=m68k-rom68k + os=-coff + ;; + morphos) + basic_machine=powerpc-unknown + os=-morphos + ;; + msdos) + basic_machine=i386-pc + os=-msdos + ;; + ms1-*) + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` + ;; + msys) + basic_machine=i386-pc + os=-msys + ;; + mvs) + basic_machine=i370-ibm + os=-mvs + ;; + nacl) + basic_machine=le32-unknown + os=-nacl + ;; + ncr3000) + basic_machine=i486-ncr + os=-sysv4 + ;; + netbsd386) + basic_machine=i386-unknown + os=-netbsd + ;; + netwinder) + basic_machine=armv4l-rebel + os=-linux + ;; + news | news700 | news800 | news900) + basic_machine=m68k-sony + os=-newsos + ;; + news1000) + basic_machine=m68030-sony + os=-newsos + ;; + news-3600 | risc-news) + basic_machine=mips-sony + os=-newsos + ;; + necv70) + basic_machine=v70-nec + os=-sysv + ;; + next | m*-next ) + basic_machine=m68k-next + case $os in + -nextstep* ) + ;; + -ns2*) + os=-nextstep2 + ;; + *) + os=-nextstep3 + ;; + esac + ;; + nh3000) + basic_machine=m68k-harris + os=-cxux + ;; + nh[45]000) + basic_machine=m88k-harris + os=-cxux + ;; + nindy960) + basic_machine=i960-intel + os=-nindy + ;; + mon960) + basic_machine=i960-intel + os=-mon960 + ;; + nonstopux) + basic_machine=mips-compaq + os=-nonstopux + ;; + np1) + basic_machine=np1-gould + ;; + neo-tandem) + basic_machine=neo-tandem + ;; + nse-tandem) + basic_machine=nse-tandem + ;; + nsr-tandem) + basic_machine=nsr-tandem + ;; + op50n-* | op60c-*) + basic_machine=hppa1.1-oki + os=-proelf + ;; + openrisc | openrisc-*) + basic_machine=or32-unknown + ;; + os400) + basic_machine=powerpc-ibm + os=-os400 + ;; + OSE68000 | ose68000) + basic_machine=m68000-ericsson + os=-ose + ;; + os68k) + basic_machine=m68k-none + os=-os68k + ;; + pa-hitachi) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + paragon) + basic_machine=i860-intel + os=-osf + ;; + parisc) + basic_machine=hppa-unknown + os=-linux + ;; + parisc-*) + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + pbd) + basic_machine=sparc-tti + ;; + pbb) + basic_machine=m68k-tti + ;; + pc532 | pc532-*) + basic_machine=ns32k-pc532 + ;; + pc98) + basic_machine=i386-pc + ;; + pc98-*) + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium | p5 | k5 | k6 | nexgen | viac3) + basic_machine=i586-pc + ;; + pentiumpro | p6 | 6x86 | athlon | athlon_*) + basic_machine=i686-pc + ;; + pentiumii | pentium2 | pentiumiii | pentium3) + basic_machine=i686-pc + ;; + pentium4) + basic_machine=i786-pc + ;; + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) + basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumpro-* | p6-* | 6x86-* | athlon-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium4-*) + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pn) + basic_machine=pn-gould + ;; + power) basic_machine=power-ibm + ;; + ppc | ppcbe) basic_machine=powerpc-unknown + ;; + ppc-* | ppcbe-*) + basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppcle | powerpclittle | ppc-le | powerpc-little) + basic_machine=powerpcle-unknown + ;; + ppcle-* | powerpclittle-*) + basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64) basic_machine=powerpc64-unknown + ;; + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64le | powerpc64little | ppc64-le | powerpc64-little) + basic_machine=powerpc64le-unknown + ;; + ppc64le-* | powerpc64little-*) + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ps2) + basic_machine=i386-ibm + ;; + pw32) + basic_machine=i586-unknown + os=-pw32 + ;; + rdos) + basic_machine=i386-pc + os=-rdos + ;; + rom68k) + basic_machine=m68k-rom68k + os=-coff + ;; + rm[46]00) + basic_machine=mips-siemens + ;; + rtpc | rtpc-*) + basic_machine=romp-ibm + ;; + s390 | s390-*) + basic_machine=s390-ibm + ;; + s390x | s390x-*) + basic_machine=s390x-ibm + ;; + sa29200) + basic_machine=a29k-amd + os=-udi + ;; + sb1) + basic_machine=mipsisa64sb1-unknown + ;; + sb1el) + basic_machine=mipsisa64sb1el-unknown + ;; + sde) + basic_machine=mipsisa32-sde + os=-elf + ;; + sei) + basic_machine=mips-sei + os=-seiux + ;; + sequent) + basic_machine=i386-sequent + ;; + sh) + basic_machine=sh-hitachi + os=-hms + ;; + sh5el) + basic_machine=sh5le-unknown + ;; + sh64) + basic_machine=sh64-unknown + ;; + sparclite-wrs | simso-wrs) + basic_machine=sparclite-wrs + os=-vxworks + ;; + sps7) + basic_machine=m68k-bull + os=-sysv2 + ;; + spur) + basic_machine=spur-unknown + ;; + st2000) + basic_machine=m68k-tandem + ;; + stratus) + basic_machine=i860-stratus + os=-sysv4 + ;; + strongarm-* | thumb-*) + basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + sun2) + basic_machine=m68000-sun + ;; + sun2os3) + basic_machine=m68000-sun + os=-sunos3 + ;; + sun2os4) + basic_machine=m68000-sun + os=-sunos4 + ;; + sun3os3) + basic_machine=m68k-sun + os=-sunos3 + ;; + sun3os4) + basic_machine=m68k-sun + os=-sunos4 + ;; + sun4os3) + basic_machine=sparc-sun + os=-sunos3 + ;; + sun4os4) + basic_machine=sparc-sun + os=-sunos4 + ;; + sun4sol2) + basic_machine=sparc-sun + os=-solaris2 + ;; + sun3 | sun3-*) + basic_machine=m68k-sun + ;; + sun4) + basic_machine=sparc-sun + ;; + sun386 | sun386i | roadrunner) + basic_machine=i386-sun + ;; + sv1) + basic_machine=sv1-cray + os=-unicos + ;; + symmetry) + basic_machine=i386-sequent + os=-dynix + ;; + t3e) + basic_machine=alphaev5-cray + os=-unicos + ;; + t90) + basic_machine=t90-cray + os=-unicos + ;; + tile*) + basic_machine=$basic_machine-unknown + os=-linux-gnu + ;; + tx39) + basic_machine=mipstx39-unknown + ;; + tx39el) + basic_machine=mipstx39el-unknown + ;; + toad1) + basic_machine=pdp10-xkl + os=-tops20 + ;; + tower | tower-32) + basic_machine=m68k-ncr + ;; + tpf) + basic_machine=s390x-ibm + os=-tpf + ;; + udi29k) + basic_machine=a29k-amd + os=-udi + ;; + ultra3) + basic_machine=a29k-nyu + os=-sym1 + ;; + v810 | necv810) + basic_machine=v810-nec + os=-none + ;; + vaxv) + basic_machine=vax-dec + os=-sysv + ;; + vms) + basic_machine=vax-dec + os=-vms + ;; + vpp*|vx|vx-*) + basic_machine=f301-fujitsu + ;; + vxworks960) + basic_machine=i960-wrs + os=-vxworks + ;; + vxworks68) + basic_machine=m68k-wrs + os=-vxworks + ;; + vxworks29k) + basic_machine=a29k-wrs + os=-vxworks + ;; + w65*) + basic_machine=w65-wdc + os=-none + ;; + w89k-*) + basic_machine=hppa1.1-winbond + os=-proelf + ;; + xbox) + basic_machine=i686-pc + os=-mingw32 + ;; + xps | xps100) + basic_machine=xps100-honeywell + ;; + xscale-* | xscalee[bl]-*) + basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` + ;; + ymp) + basic_machine=ymp-cray + os=-unicos + ;; + z8k-*-coff) + basic_machine=z8k-unknown + os=-sim + ;; + z80-*-coff) + basic_machine=z80-unknown + os=-sim + ;; + none) + basic_machine=none-none + os=-none + ;; + +# Here we handle the default manufacturer of certain CPU types. It is in +# some cases the only manufacturer, in others, it is the most popular. + w89k) + basic_machine=hppa1.1-winbond + ;; + op50n) + basic_machine=hppa1.1-oki + ;; + op60c) + basic_machine=hppa1.1-oki + ;; + romp) + basic_machine=romp-ibm + ;; + mmix) + basic_machine=mmix-knuth + ;; + rs6000) + basic_machine=rs6000-ibm + ;; + vax) + basic_machine=vax-dec + ;; + pdp10) + # there are many clones, so DEC is not a safe bet + basic_machine=pdp10-unknown + ;; + pdp11) + basic_machine=pdp11-dec + ;; + we32k) + basic_machine=we32k-att + ;; + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) + basic_machine=sh-unknown + ;; + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) + basic_machine=sparc-sun + ;; + cydra) + basic_machine=cydra-cydrome + ;; + orion) + basic_machine=orion-highlevel + ;; + orion105) + basic_machine=clipper-highlevel + ;; + mac | mpw | mac-mpw) + basic_machine=m68k-apple + ;; + pmac | pmac-mpw) + basic_machine=powerpc-apple + ;; + *-unknown) + # Make sure to match an already-canonicalized machine name. + ;; + *) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; +esac + +# Here we canonicalize certain aliases for manufacturers. +case $basic_machine in + *-digital*) + basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` + ;; + *-commodore*) + basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` + ;; + *) + ;; +esac + +# Decode manufacturer-specific aliases for certain operating systems. + +if [ x"$os" != x"" ] +then +case $os in + # First match some system type aliases + # that might get confused with valid system types. + # -solaris* is a basic system type, with this one exception. + -auroraux) + os=-auroraux + ;; + -solaris1 | -solaris1.*) + os=`echo $os | sed -e 's|solaris1|sunos4|'` + ;; + -solaris) + os=-solaris2 + ;; + -svr4*) + os=-sysv4 + ;; + -unixware*) + os=-sysv4.2uw + ;; + -gnu/linux*) + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` + ;; + # First accept the basic system types. + # The portable systems comes first. + # Each alternative MUST END IN A *, to match a version number. + # -sysv* is not here because it comes later, after sysvr4. + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ + | -sym* | -kopensolaris* \ + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ + | -aos* | -aros* \ + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ + | -openbsd* | -solidbsd* \ + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ + | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* | -cegcc* \ + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -mingw32* | -linux-gnu* | -linux-android* \ + | -linux-newlib* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) + # Remember, each alternative MUST END IN *, to match a version number. + ;; + -qnx*) + case $basic_machine in + x86-* | i*86-*) + ;; + *) + os=-nto$os + ;; + esac + ;; + -nto-qnx*) + ;; + -nto*) + os=`echo $os | sed -e 's|nto|nto-qnx|'` + ;; + -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) + ;; + -mac*) + os=`echo $os | sed -e 's|mac|macos|'` + ;; + -linux-dietlibc) + os=-linux-dietlibc + ;; + -linux*) + os=`echo $os | sed -e 's|linux|linux-gnu|'` + ;; + -sunos5*) + os=`echo $os | sed -e 's|sunos5|solaris2|'` + ;; + -sunos6*) + os=`echo $os | sed -e 's|sunos6|solaris3|'` + ;; + -opened*) + os=-openedition + ;; + -os400*) + os=-os400 + ;; + -wince*) + os=-wince + ;; + -osfrose*) + os=-osfrose + ;; + -osf*) + os=-osf + ;; + -utek*) + os=-bsd + ;; + -dynix*) + os=-bsd + ;; + -acis*) + os=-aos + ;; + -atheos*) + os=-atheos + ;; + -syllable*) + os=-syllable + ;; + -386bsd) + os=-bsd + ;; + -ctix* | -uts*) + os=-sysv + ;; + -nova*) + os=-rtmk-nova + ;; + -ns2 ) + os=-nextstep2 + ;; + -nsk*) + os=-nsk + ;; + # Preserve the version number of sinix5. + -sinix5.*) + os=`echo $os | sed -e 's|sinix|sysv|'` + ;; + -sinix*) + os=-sysv4 + ;; + -tpf*) + os=-tpf + ;; + -triton*) + os=-sysv3 + ;; + -oss*) + os=-sysv3 + ;; + -svr4) + os=-sysv4 + ;; + -svr3) + os=-sysv3 + ;; + -sysvr4) + os=-sysv4 + ;; + # This must come after -sysvr4. + -sysv*) + ;; + -ose*) + os=-ose + ;; + -es1800*) + os=-ose + ;; + -xenix) + os=-xenix + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + os=-mint + ;; + -aros*) + os=-aros + ;; + -kaos*) + os=-kaos + ;; + -zvmoe) + os=-zvmoe + ;; + -dicos*) + os=-dicos + ;; + -nacl*) + ;; + -none) + ;; + *) + # Get rid of the `-' at the beginning of $os. + os=`echo $os | sed 's/[^-]*-//'` + echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 + exit 1 + ;; +esac +else + +# Here we handle the default operating systems that come with various machines. +# The value should be what the vendor currently ships out the door with their +# machine or put another way, the most popular os provided with the machine. + +# Note that if you're going to try to match "-MANUFACTURER" here (say, +# "-sun"), then you have to tell the case statement up towards the top +# that MANUFACTURER isn't an operating system. Otherwise, code above +# will signal an error saying that MANUFACTURER isn't an operating +# system, and we'll never get to this point. + +case $basic_machine in + score-*) + os=-elf + ;; + spu-*) + os=-elf + ;; + *-acorn) + os=-riscix1.2 + ;; + arm*-rebel) + os=-linux + ;; + arm*-semi) + os=-aout + ;; + c4x-* | tic4x-*) + os=-coff + ;; + hexagon-*) + os=-elf + ;; + tic54x-*) + os=-coff + ;; + tic55x-*) + os=-coff + ;; + tic6x-*) + os=-coff + ;; + # This must come before the *-dec entry. + pdp10-*) + os=-tops20 + ;; + pdp11-*) + os=-none + ;; + *-dec | vax-*) + os=-ultrix4.2 + ;; + m68*-apollo) + os=-domain + ;; + i386-sun) + os=-sunos4.0.2 + ;; + m68000-sun) + os=-sunos3 + ;; + m68*-cisco) + os=-aout + ;; + mep-*) + os=-elf + ;; + mips*-cisco) + os=-elf + ;; + mips*-*) + os=-elf + ;; + or32-*) + os=-coff + ;; + *-tti) # must be before sparc entry or we get the wrong os. + os=-sysv3 + ;; + sparc-* | *-sun) + os=-sunos4.1.1 + ;; + *-be) + os=-beos + ;; + *-haiku) + os=-haiku + ;; + *-ibm) + os=-aix + ;; + *-knuth) + os=-mmixware + ;; + *-wec) + os=-proelf + ;; + *-winbond) + os=-proelf + ;; + *-oki) + os=-proelf + ;; + *-hp) + os=-hpux + ;; + *-hitachi) + os=-hiux + ;; + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) + os=-sysv + ;; + *-cbm) + os=-amigaos + ;; + *-dg) + os=-dgux + ;; + *-dolphin) + os=-sysv3 + ;; + m68k-ccur) + os=-rtu + ;; + m88k-omron*) + os=-luna + ;; + *-next ) + os=-nextstep + ;; + *-sequent) + os=-ptx + ;; + *-crds) + os=-unos + ;; + *-ns) + os=-genix + ;; + i370-*) + os=-mvs + ;; + *-next) + os=-nextstep3 + ;; + *-gould) + os=-sysv + ;; + *-highlevel) + os=-bsd + ;; + *-encore) + os=-bsd + ;; + *-sgi) + os=-irix + ;; + *-siemens) + os=-sysv4 + ;; + *-masscomp) + os=-rtu + ;; + f30[01]-fujitsu | f700-fujitsu) + os=-uxpv + ;; + *-rom68k) + os=-coff + ;; + *-*bug) + os=-coff + ;; + *-apple) + os=-macos + ;; + *-atari*) + os=-mint + ;; + *) + os=-none + ;; +esac +fi + +# Here we handle the case where we know the os, and the CPU type, but not the +# manufacturer. We pick the logical manufacturer. +vendor=unknown +case $basic_machine in + *-unknown) + case $os in + -riscix*) + vendor=acorn + ;; + -sunos*) + vendor=sun + ;; + -cnk*|-aix*) + vendor=ibm + ;; + -beos*) + vendor=be + ;; + -hpux*) + vendor=hp + ;; + -mpeix*) + vendor=hp + ;; + -hiux*) + vendor=hitachi + ;; + -unos*) + vendor=crds + ;; + -dgux*) + vendor=dg + ;; + -luna*) + vendor=omron + ;; + -genix*) + vendor=ns + ;; + -mvs* | -opened*) + vendor=ibm + ;; + -os400*) + vendor=ibm + ;; + -ptx*) + vendor=sequent + ;; + -tpf*) + vendor=ibm + ;; + -vxsim* | -vxworks* | -windiss*) + vendor=wrs + ;; + -aux*) + vendor=apple + ;; + -hms*) + vendor=hitachi + ;; + -mpw* | -macos*) + vendor=apple + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + vendor=atari + ;; + -vos*) + vendor=stratus + ;; + esac + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` + ;; +esac + +echo $basic_machine$os +exit + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/tizen/distrib/remote/server/spice-0.12.2/configure b/tizen/distrib/remote/server/spice-0.12.2/configure new file mode 100755 index 0000000..5caf7b4 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/configure @@ -0,0 +1,23434 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.69 for spice 0.12.2. +# +# Report bugs to <spice-devel@lists.freedesktop.org>. +# +# +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. +# +# +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +# Use a proper internal environment variable to ensure we don't fall + # into an infinite loop, continuously re-executing ourselves. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then + _as_can_reexec=no; export _as_can_reexec; + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +as_fn_exit 255 + fi + # We don't want this to propagate to other subprocesses. + { _as_can_reexec=; unset _as_can_reexec;} +if test "x$CONFIG_SHELL" = x; then + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi +" + as_required="as_fn_return () { (exit \$1); } +as_fn_success () { as_fn_return 0; } +as_fn_failure () { as_fn_return 1; } +as_fn_ret_success () { return 0; } +as_fn_ret_failure () { return 1; } + +exitcode=0 +as_fn_success || { exitcode=1; echo as_fn_success failed.; } +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : + +else + exitcode=1; echo positional parameters were not saved. +fi +test x\$exitcode = x0 || exit 1 +test -x / || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 + + test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO + PATH=/empty FPATH=/empty; export PATH FPATH + test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ + || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 +test \$(( 1 + 1 )) = 2 || exit 1" + if (eval "$as_required") 2>/dev/null; then : + as_have_required=yes +else + as_have_required=no +fi + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + as_found=: + case $as_dir in #( + /*) + for as_base in sh bash ksh sh5; do + # Try only shells that exist, to save several forks. + as_shell=$as_dir/$as_base + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + CONFIG_SHELL=$as_shell as_have_required=yes + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + break 2 +fi +fi + done;; + esac + as_found=false +done +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi; } +IFS=$as_save_IFS + + + if test "x$CONFIG_SHELL" != x; then : + export CONFIG_SHELL + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 +fi + + if test x$as_have_required = xno; then : + $as_echo "$0: This script requires a shell more modern than all" + $as_echo "$0: the shells that I found on your system." + if test x${ZSH_VERSION+set} = xset ; then + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" + $as_echo "$0: be upgraded to zsh 4.3.4 or later." + else + $as_echo "$0: Please tell bug-autoconf@gnu.org and +$0: spice-devel@lists.freedesktop.org about your system, +$0: including any error possibly output before this +$0: message. Then install a modern shell, or manually run +$0: the script under such a shell if you do have one." + fi + exit 1 +fi +fi +fi +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +# Unset more variables known to interfere with behavior of common tools. +CLICOLOR_FORCE= GREP_OPTIONS= +unset CLICOLOR_FORCE GREP_OPTIONS + +## --------------------- ## +## M4sh Shell Functions. ## +## --------------------- ## +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + + + as_lineno_1=$LINENO as_lineno_1a=$LINENO + as_lineno_2=$LINENO as_lineno_2a=$LINENO + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have + # already done that, so ensure we don't try to do so again and fall + # in an infinite loop. This has already happened in practice. + _as_can_reexec=no; export _as_can_reexec + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi +else + as_ln_s='cp -pR' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +as_test_x='test -x' +as_executable_p=as_fn_executable_p + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + +SHELL=${CONFIG_SHELL-/bin/sh} + + +test -n "$DJDIR" || exec 7<&0 </dev/null +exec 6>&1 + +# Name of the host. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_clean_files= +ac_config_libobj_dir=. +LIBOBJS= +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= + +# Identity of this package. +PACKAGE_NAME='spice' +PACKAGE_TARNAME='spice' +PACKAGE_VERSION='0.12.2' +PACKAGE_STRING='spice 0.12.2' +PACKAGE_BUGREPORT='spice-devel@lists.freedesktop.org' +PACKAGE_URL='' + +# Factoring default headers for most tests. +ac_includes_default="\ +#include <stdio.h> +#ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif +#ifdef HAVE_SYS_STAT_H +# include <sys/stat.h> +#endif +#ifdef STDC_HEADERS +# include <stdlib.h> +# include <stddef.h> +#else +# ifdef HAVE_STDLIB_H +# include <stdlib.h> +# endif +#endif +#ifdef HAVE_STRING_H +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H +# include <memory.h> +# endif +# include <string.h> +#endif +#ifdef HAVE_STRINGS_H +# include <strings.h> +#endif +#ifdef HAVE_INTTYPES_H +# include <inttypes.h> +#endif +#ifdef HAVE_STDINT_H +# include <stdint.h> +#endif +#ifdef HAVE_UNISTD_H +# include <unistd.h> +#endif" + +enable_option_checking=no +ac_subst_vars='am__EXEEXT_FALSE +am__EXEEXT_TRUE +LTLIBOBJS +LIBOBJS +AM_BACKSLASH +AM_DEFAULT_VERBOSITY +AM_DEFAULT_V +AM_V +SPICEC_STATIC_LINKAGE_BSTATIC +SPICE_NONPKGCONFIG_LIBS +SPICE_NONPKGCONFIG_CFLAGS +SPICE_REQUIRES +HAVE_LD_VERSION_SCRIPT_FALSE +HAVE_LD_VERSION_SCRIPT_TRUE +VISIBILITY_HIDDEN_CFLAGS +CFLAGS_CFLAGS +WINDRES +CXIMAGE_CFLAGS +WARN_LDFLAGS +WARN_CFLAGS +WARN_CXXFLAGS +SASL_LIBS +SASL_CFLAGS +HAVE_SASL_FALSE +HAVE_SASL_TRUE +Z_LIBS +JPEG_LIBS +HAVE_XINERAMA_FALSE +HAVE_XINERAMA_TRUE +XINERAMA_LIBS +XINERAMA_CFLAGS +HAVE_XRANDR12_FALSE +HAVE_XRANDR12_TRUE +XRANDR12_LIBS +XRANDR12_CFLAGS +MISC_X_LIBS +MISC_X_CFLAGS +XFIXES_LIBS +XFIXES_CFLAGS +XRANDR_LIBS +XRANDR_CFLAGS +GL_LIBS +GL_CFLAGS +SSL_LIBS +SSL_CFLAGS +ALSA_LIBS +ALSA_CFLAGS +CELT051_LIBDIR +CELT051_LIBS +CELT051_CFLAGS +PIXMAN_LIBS +PIXMAN_CFLAGS +GLIB2_LIBS +GLIB2_CFLAGS +SMARTCARD_CFLAGS +SMARTCARD_LIBS +CAC_CARD_LIBS +CAC_CARD_CFLAGS +SLIRP_LIBS +SLIRP_CFLAGS +CEGUI_LIBS +CEGUI_CFLAGS +CEGUI06_LIBS +CEGUI06_CFLAGS +LIBRT +LIBM +COMMON_CFLAGS +subdirs +SUPPORT_AUTOMATED_TESTS_FALSE +SUPPORT_AUTOMATED_TESTS_TRUE +SUPPORT_CLIENT_FALSE +SUPPORT_CLIENT_TRUE +SUPPORT_SMARTCARD_FALSE +SUPPORT_SMARTCARD_TRUE +SUPPORT_GL_FALSE +SUPPORT_GL_TRUE +SUPPORT_GUI_FALSE +SUPPORT_GUI_TRUE +SUPPORT_TUNNEL_FALSE +SUPPORT_TUNNEL_TRUE +OS_LINUX_FALSE +OS_LINUX_TRUE +OS_UNIX_FALSE +OS_UNIX_TRUE +OS_WIN32_FALSE +OS_WIN32_TRUE +X86_64_FALSE +X86_64_TRUE +SPICE_LT_VERSION +ALLOCA +PKG_CONFIG_LIBDIR +PKG_CONFIG_PATH +PKG_CONFIG +PYTHON +CXXCPP +CPP +OTOOL64 +OTOOL +LIPO +NMEDIT +DSYMUTIL +MANIFEST_TOOL +RANLIB +DLLTOOL +OBJDUMP +LN_S +NM +ac_ct_DUMPBIN +DUMPBIN +LD +FGREP +EGREP +GREP +SED +LIBTOOL +host_os +host_vendor +host_cpu +host +build_os +build_vendor +build_cpu +build +am__fastdepCXX_FALSE +am__fastdepCXX_TRUE +CXXDEPMODE +ac_ct_CXX +CXXFLAGS +CXX +MAINT +MAINTAINER_MODE_FALSE +MAINTAINER_MODE_TRUE +am__fastdepCC_FALSE +am__fastdepCC_TRUE +CCDEPMODE +am__nodep +AMDEPBACKSLASH +AMDEP_FALSE +AMDEP_TRUE +am__quote +am__include +DEPDIR +am__untar +am__tar +AMTAR +am__leading_dot +SET_MAKE +AWK +mkdir_p +MKDIR_P +INSTALL_STRIP_PROGRAM +STRIP +install_sh +MAKEINFO +AUTOHEADER +AUTOMAKE +AUTOCONF +ACLOCAL +VERSION +PACKAGE +CYGPATH_W +am__isrc +INSTALL_DATA +INSTALL_SCRIPT +INSTALL_PROGRAM +OBJEXT +EXEEXT +ac_ct_CC +CPPFLAGS +LDFLAGS +CFLAGS +CC +ac_ct_AR +AR +target_alias +host_alias +build_alias +LIBS +ECHO_T +ECHO_N +ECHO_C +DEFS +mandir +localedir +libdir +psdir +pdfdir +dvidir +htmldir +infodir +docdir +oldincludedir +includedir +localstatedir +sharedstatedir +sysconfdir +datadir +datarootdir +libexecdir +sbindir +bindir +program_transform_name +prefix +exec_prefix +PACKAGE_URL +PACKAGE_BUGREPORT +PACKAGE_STRING +PACKAGE_VERSION +PACKAGE_TARNAME +PACKAGE_NAME +PATH_SEPARATOR +SHELL' +ac_subst_files='' +ac_user_opts=' +enable_option_checking +enable_dependency_tracking +enable_maintainer_mode +enable_shared +enable_static +with_pic +enable_fast_install +with_gnu_ld +with_sysroot +enable_libtool_lock +enable_tunnel +enable_gui +enable_opengl +enable_smartcard +enable_client +enable_automated_tests +enable_xinerama +enable_static_linkage +with_sasl +enable_werror +enable_silent_rules +' + ac_precious_vars='build_alias +host_alias +target_alias +CC +CFLAGS +LDFLAGS +LIBS +CPPFLAGS +CXX +CXXFLAGS +CCC +CPP +CXXCPP +PKG_CONFIG +PKG_CONFIG_PATH +PKG_CONFIG_LIBDIR +CEGUI06_CFLAGS +CEGUI06_LIBS +CEGUI_CFLAGS +CEGUI_LIBS +SLIRP_CFLAGS +SLIRP_LIBS +CAC_CARD_CFLAGS +CAC_CARD_LIBS +GLIB2_CFLAGS +GLIB2_LIBS +PIXMAN_CFLAGS +PIXMAN_LIBS +CELT051_CFLAGS +CELT051_LIBS +ALSA_CFLAGS +ALSA_LIBS +SSL_CFLAGS +SSL_LIBS +XRANDR_CFLAGS +XRANDR_LIBS +XFIXES_CFLAGS +XFIXES_LIBS +MISC_X_CFLAGS +MISC_X_LIBS +XRANDR12_CFLAGS +XRANDR12_LIBS +XINERAMA_CFLAGS +XINERAMA_LIBS' +ac_subdirs_all='spice-common' + +# Initialize some variables set by options. +ac_init_help= +ac_init_version=false +ac_unrecognized_opts= +ac_unrecognized_sep= +# The variables have the same names as the options, with +# dashes changed to underlines. +cache_file=/dev/null +exec_prefix=NONE +no_create= +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +verbose= +x_includes=NONE +x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. +# (The list follows the same order as the GNU Coding Standards.) +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datarootdir='${prefix}/share' +datadir='${datarootdir}' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +includedir='${prefix}/include' +oldincludedir='/usr/include' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +infodir='${datarootdir}/info' +htmldir='${docdir}' +dvidir='${docdir}' +pdfdir='${docdir}' +psdir='${docdir}' +libdir='${exec_prefix}/lib' +localedir='${datarootdir}/locale' +mandir='${datarootdir}/man' + +ac_prev= +ac_dashdash= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval $ac_prev=\$ac_option + ac_prev= + continue + fi + + case $ac_option in + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *=) ac_optarg= ;; + *) ac_optarg=yes ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case $ac_dashdash$ac_option in + --) + ac_dashdash=yes ;; + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir=$ac_optarg ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build_alias=$ac_optarg ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=*) + datadir=$ac_optarg ;; + + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ + | --dataroo | --dataro | --datar) + ac_prev=datarootdir ;; + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) + datarootdir=$ac_optarg ;; + + -disable-* | --disable-*) + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=no ;; + + -docdir | --docdir | --docdi | --doc | --do) + ac_prev=docdir ;; + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) + docdir=$ac_optarg ;; + + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) + ac_prev=dvidir ;; + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) + dvidir=$ac_optarg ;; + + -enable-* | --enable-*) + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=\$ac_optarg ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; + + -host | --host | --hos | --ho) + ac_prev=host_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + host_alias=$ac_optarg ;; + + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) + ac_prev=htmldir ;; + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ + | --ht=*) + htmldir=$ac_optarg ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir=$ac_optarg ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir=$ac_optarg ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir=$ac_optarg ;; + + -localedir | --localedir | --localedi | --localed | --locale) + ac_prev=localedir ;; + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) + localedir=$ac_optarg ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst | --locals) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) + localstatedir=$ac_optarg ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir=$ac_optarg ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix=$ac_optarg ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix=$ac_optarg ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name=$ac_optarg ;; + + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) + ac_prev=pdfdir ;; + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) + pdfdir=$ac_optarg ;; + + -psdir | --psdir | --psdi | --psd | --ps) + ac_prev=psdir ;; + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) + psdir=$ac_optarg ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir=$ac_optarg ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir=$ac_optarg ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=\$ac_optarg ;; + + -without-* | --without-*) + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=no ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes=$ac_optarg ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + + -*) as_fn_error $? "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information" + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + case $ac_envvar in #( + '' | [0-9]* | *[!_$as_cr_alnum]* ) + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; + esac + eval $ac_envvar=\$ac_optarg + export $ac_envvar ;; + + *) + # FIXME: should be removed in autoconf 3.0. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" + ;; + + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + as_fn_error $? "missing argument to $ac_option" +fi + +if test -n "$ac_unrecognized_opts"; then + case $enable_option_checking in + no) ;; + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + esac +fi + +# Check all directory arguments for consistency. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ + datadir sysconfdir sharedstatedir localstatedir includedir \ + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ + libdir localedir mandir +do + eval ac_val=\$$ac_var + # Remove trailing slashes. + case $ac_val in + */ ) + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` + eval $ac_var=\$ac_val;; + esac + # Be sure to have absolute directory names. + case $ac_val in + [\\/$]* | ?:[\\/]* ) continue;; + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; + esac + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" +done + +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +ac_pwd=`pwd` && test -n "$ac_pwd" && +ac_ls_di=`ls -di .` && +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || + as_fn_error $? "working directory cannot be determined" +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || + as_fn_error $? "pwd does not report name of working directory" + + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then the parent directory. + ac_confdir=`$as_dirname -- "$as_myself" || +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_myself" : 'X\(//\)[^/]' \| \ + X"$as_myself" : 'X\(//\)$' \| \ + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_myself" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + srcdir=$ac_confdir + if test ! -r "$srcdir/$ac_unique_file"; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r "$srcdir/$ac_unique_file"; then + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" +fi +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_abs_confdir=`( + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" + pwd)` +# When building in place, set srcdir=. +if test "$ac_abs_confdir" = "$ac_pwd"; then + srcdir=. +fi +# Remove unnecessary trailing slashes from srcdir. +# Double slashes in file names in object file debugging info +# mess up M-x gdb in Emacs. +case $srcdir in +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; +esac +for ac_var in $ac_precious_vars; do + eval ac_env_${ac_var}_set=\${${ac_var}+set} + eval ac_env_${ac_var}_value=\$${ac_var} + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} + eval ac_cv_env_${ac_var}_value=\$${ac_var} +done + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures spice 0.12.2 to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking ...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root [DATAROOTDIR/doc/spice] + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] +_ACEOF + + cat <<\_ACEOF + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names + +System types: + --build=BUILD configure for building on BUILD [guessed] + --host=HOST cross-compile to build programs to run on HOST [BUILD] +_ACEOF +fi + +if test -n "$ac_init_help"; then + case $ac_init_help in + short | recursive ) echo "Configuration of spice 0.12.2:";; + esac + cat <<\_ACEOF + +Optional Features: + --disable-option-checking ignore unrecognized --enable/--with options + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-dependency-tracking + do not reject slow dependency extractors + --disable-dependency-tracking + speeds up one-time build + --enable-maintainer-mode + enable make rules and dependencies not useful (and + sometimes confusing) to the casual installer + --enable-shared[=PKGS] build shared libraries [default=yes] + --enable-static[=PKGS] build static libraries [default=yes] + --enable-fast-install[=PKGS] + optimize for fast installation [default=yes] + --disable-libtool-lock avoid locking (might break parallel builds) + --enable-tunnel Enable network redirection + --enable-gui Enable start dialog with CEGUI + --enable-opengl Enable opengl requirement / support (not recommended) + --enable-maru Enable CONFIG_MARU + --enable-smartcard Enable network redirection + --enable-client Enable spice client + --enable-automated-tests Enable automated tests using snappy (part of spice--gtk) + --disable-xinerama disable Xinerama library [default=no] + --enable-static-linkage will generate spice client binary with static linkage to external libraries + --enable-werror Use -Werror (if supported) + --enable-silent-rules less verbose build output (undo: "make V=1") + --disable-silent-rules verbose build output (undo: "make V=0") + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use + both] + --with-gnu-ld assume the C compiler uses GNU ld [default=no] + --with-sysroot=DIR Search for dependent libraries within DIR + (or the compiler's sysroot if not specified). + --with-sasl use cyrus SASL for authentication [default=check] + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a + nonstandard directory <lib dir> + LIBS libraries to pass to the linker, e.g. -l<library> + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if + you have headers in a nonstandard directory <include dir> + CXX C++ compiler command + CXXFLAGS C++ compiler flags + CPP C preprocessor + CXXCPP C++ preprocessor + PKG_CONFIG path to pkg-config utility + PKG_CONFIG_PATH + directories to add to pkg-config's search path + PKG_CONFIG_LIBDIR + path overriding pkg-config's built-in search path + CEGUI06_CFLAGS + C compiler flags for CEGUI06, overriding pkg-config + CEGUI06_LIBS + linker flags for CEGUI06, overriding pkg-config + CEGUI_CFLAGS + C compiler flags for CEGUI, overriding pkg-config + CEGUI_LIBS linker flags for CEGUI, overriding pkg-config + SLIRP_CFLAGS + C compiler flags for SLIRP, overriding pkg-config + SLIRP_LIBS linker flags for SLIRP, overriding pkg-config + CAC_CARD_CFLAGS + C compiler flags for CAC_CARD, overriding pkg-config + CAC_CARD_LIBS + linker flags for CAC_CARD, overriding pkg-config + GLIB2_CFLAGS + C compiler flags for GLIB2, overriding pkg-config + GLIB2_LIBS linker flags for GLIB2, overriding pkg-config + PIXMAN_CFLAGS + C compiler flags for PIXMAN, overriding pkg-config + PIXMAN_LIBS linker flags for PIXMAN, overriding pkg-config + CELT051_CFLAGS + C compiler flags for CELT051, overriding pkg-config + CELT051_LIBS + linker flags for CELT051, overriding pkg-config + ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config + ALSA_LIBS linker flags for ALSA, overriding pkg-config + SSL_CFLAGS C compiler flags for SSL, overriding pkg-config + SSL_LIBS linker flags for SSL, overriding pkg-config + XRANDR_CFLAGS + C compiler flags for XRANDR, overriding pkg-config + XRANDR_LIBS linker flags for XRANDR, overriding pkg-config + XFIXES_CFLAGS + C compiler flags for XFIXES, overriding pkg-config + XFIXES_LIBS linker flags for XFIXES, overriding pkg-config + MISC_X_CFLAGS + C compiler flags for MISC_X, overriding pkg-config + MISC_X_LIBS linker flags for MISC_X, overriding pkg-config + XRANDR12_CFLAGS + C compiler flags for XRANDR12, overriding pkg-config + XRANDR12_LIBS + linker flags for XRANDR12, overriding pkg-config + XINERAMA_CFLAGS + C compiler flags for XINERAMA, overriding pkg-config + XINERAMA_LIBS + linker flags for XINERAMA, overriding pkg-config + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +Report bugs to <spice-devel@lists.freedesktop.org>. +_ACEOF +ac_status=$? +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d "$ac_dir" || + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || + continue + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + cd "$ac_dir" || { ac_status=$?; continue; } + # Check for guested configure. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_srcdir/configure"; then + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done +fi + +test -n "$ac_init_help" && exit $ac_status +if $ac_init_version; then + cat <<\_ACEOF +spice configure 0.12.2 +generated by GNU Autoconf 2.69 + +Copyright (C) 2012 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit +fi + +## ------------------------ ## +## Autoconf initialization. ## +## ------------------------ ## + +# ac_fn_c_try_compile LINENO +# -------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_compile + +# ac_fn_cxx_try_compile LINENO +# ---------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_cxx_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_cxx_try_compile + +# ac_fn_c_try_link LINENO +# ----------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + test -x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_link + +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + +# ac_fn_c_try_cpp LINENO +# ---------------------- +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_cpp () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } > conftest.i && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_cpp + +# ac_fn_c_try_run LINENO +# ---------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +# that executables *can* be run. +ac_fn_c_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + ac_retval=0 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_run + +# ac_fn_c_check_func LINENO FUNC VAR +# ---------------------------------- +# Tests whether FUNC exists, setting the cache variable VAR accordingly +ac_fn_c_check_func () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Define $2 to an innocuous variant, in case <limits.h> declares $2. + For example, HP-UX 11i <limits.h> declares gettimeofday. */ +#define $2 innocuous_$2 + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $2 (); below. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + <limits.h> exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include <limits.h> +#else +# include <assert.h> +#endif + +#undef $2 + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $2 (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$2 || defined __stub___$2 +choke me +#endif + +int +main () +{ +return $2 (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_func + +# ac_fn_cxx_try_cpp LINENO +# ------------------------ +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. +ac_fn_cxx_try_cpp () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } > conftest.i && { + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || + test ! -s conftest.err + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_cxx_try_cpp + +# ac_fn_cxx_try_link LINENO +# ------------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_cxx_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + test -x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_cxx_try_link + +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists, giving a warning if it cannot be compiled using +# the include files in INCLUDES and setting the cache variable VAR +# accordingly. +ac_fn_c_check_header_mongrel () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if eval \${$3+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 +$as_echo_n "checking $2 usability... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_header_compiler=yes +else + ac_header_compiler=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 +$as_echo_n "checking $2 presence... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <$2> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ac_header_preproc=yes +else + ac_header_preproc=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( + yes:no: ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; + no:yes:* ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} +( $as_echo "## ------------------------------------------------ ## +## Report this to spice-devel@lists.freedesktop.org ## +## ------------------------------------------------ ##" + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=\$ac_header_compiler" +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_mongrel + +# ac_fn_c_check_type LINENO TYPE VAR INCLUDES +# ------------------------------------------- +# Tests whether TYPE exists after having included INCLUDES, setting cache +# variable VAR accordingly. +ac_fn_c_check_type () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=no" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +if (sizeof ($2)) + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +if (sizeof (($2))) + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + eval "$3=yes" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_type +cat >config.log <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by spice $as_me 0.12.2, which was +generated by GNU Autoconf 2.69. Invocation command line was + + $ $0 $@ + +_ACEOF +exec 5>>config.log +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + $as_echo "PATH: $as_dir" + done +IFS=$as_save_IFS + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *\'*) + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; + 2) + as_fn_append ac_configure_args1 " '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + as_fn_append ac_configure_args " '$ac_arg'" + ;; + esac + done +done +{ ac_configure_args0=; unset ac_configure_args0;} +{ ac_configure_args1=; unset ac_configure_args1;} + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Use '\'' to represent an apostrophe within the trap. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + $as_echo "## ---------------- ## +## Cache variables. ## +## ---------------- ##" + echo + # The following way of writing the cache mishandles newlines in values, +( + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + (set) 2>&1 | + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + sed -n \ + "s/'\''/'\''\\\\'\'''\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + ;; #( + *) + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) + echo + + $as_echo "## ----------------- ## +## Output variables. ## +## ----------------- ##" + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + + if test -n "$ac_subst_files"; then + $as_echo "## ------------------- ## +## File substitutions. ## +## ------------------- ##" + echo + for ac_var in $ac_subst_files + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then + $as_echo "## ----------- ## +## confdefs.h. ## +## ----------- ##" + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + $as_echo "$as_me: caught signal $ac_signal" + $as_echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status +' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -f -r conftest* confdefs.h + +$as_echo "/* confdefs.h */" > confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_URL "$PACKAGE_URL" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer an explicitly selected file to automatically selected ones. +ac_site_file1=NONE +ac_site_file2=NONE +if test -n "$CONFIG_SITE"; then + # We do not want a PATH search for config.site. + case $CONFIG_SITE in #(( + -*) ac_site_file1=./$CONFIG_SITE;; + */*) ac_site_file1=$CONFIG_SITE;; + *) ac_site_file1=./$CONFIG_SITE;; + esac +elif test "x$prefix" != xNONE; then + ac_site_file1=$prefix/share/config.site + ac_site_file2=$prefix/etc/config.site +else + ac_site_file1=$ac_default_prefix/share/config.site + ac_site_file2=$ac_default_prefix/etc/config.site +fi +for ac_site_file in "$ac_site_file1" "$ac_site_file2" +do + test "x$ac_site_file" = xNONE && continue + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +$as_echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" \ + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "failed to load site script $ac_site_file +See \`config.log' for more details" "$LINENO" 5; } + fi +done + +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special files + # actually), so we avoid doing that. DJGPP emulates it as a regular file. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +$as_echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; + *) . "./$cache_file";; + esac + fi +else + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +$as_echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in $ac_precious_vars; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val=\$ac_cv_env_${ac_var}_value + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + # differences in whitespace do not lead to failure. + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + ac_cache_corrupted=: + else + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) as_fn_append ac_configure_args " '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 +fi +## -------------------- ## +## Main body of script. ## +## -------------------- ## + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + + +ac_config_headers="$ac_config_headers config.h" + +ac_aux_dir= +for ac_dir in . "$srcdir"/.; do + if test -f "$ac_dir/install-sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f "$ac_dir/install.sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f "$ac_dir/shtool"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi +done +if test -z "$ac_aux_dir"; then + as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5 +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + + +# For automake >= 1.12 +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +$as_echo_n "checking whether the C compiler works... " >&6; } +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` + +# The possible output files: +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" + +ac_rmfiles= +for ac_file in $ac_files +do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + * ) ac_rmfiles="$ac_rmfiles $ac_file";; + esac +done +rm -f $ac_rmfiles + +if { { ac_try="$ac_link_default" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' +# in a Makefile. We should not override ac_cv_exeext if it was cached, +# so that the user can short-circuit this test for compilers unknown to +# Autoconf. +for ac_file in $ac_files '' +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + fi + # We set ac_cv_exeext here because the later test for it is not + # safe: cross compilers may not add the suffix if given an `-o' + # argument, so we may need to know it at that point already. + # Even if this section looks crufty: it has the advantage of + # actually working. + break;; + * ) + break;; + esac +done +test "$ac_cv_exeext" = no && ac_cv_exeext= + +else + ac_file='' +fi +if test -z "$ac_file"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +$as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "C compiler cannot create executables +See \`config.log' for more details" "$LINENO" 5; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +$as_echo_n "checking for C compiler default output file name... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +$as_echo "$ac_file" >&6; } +ac_exeext=$ac_cv_exeext + +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +$as_echo_n "checking for suffix of executables... " >&6; } +if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + break;; + * ) break;; + esac +done +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest conftest$ac_cv_exeext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +$as_echo "$ac_cv_exeext" >&6; } + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdio.h> +int +main () +{ +FILE *f = fopen ("conftest.out", "w"); + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +ac_clean_files="$ac_clean_files conftest.out" +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } +if test "$cross_compiling" != yes; then + { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if { ac_try='./conftest$ac_cv_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details" "$LINENO" 5; } + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } + +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +$as_echo_n "checking for suffix of object files... " >&6; } +if ${ac_cv_objext+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of object files: cannot compile +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +$as_echo "$ac_cv_objext" >&6; } +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if ${ac_cv_c_compiler_gnu+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if ${ac_cv_prog_cc_g+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdarg.h> +#include <stdio.h> +struct stat; +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +if test -n "$ac_tool_prefix"; then + for ac_prog in ar lib "link -lib" + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AR="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +$as_echo "$AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AR" && break + done +fi +if test -z "$AR"; then + ac_ct_AR=$AR + for ac_prog in ar lib "link -lib" +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_AR="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 +$as_echo "$ac_ct_AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_AR" && break +done + + if test "x$ac_ct_AR" = x; then + AR="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + AR=$ac_ct_AR + fi +fi + +: ${AR=ar} + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 +$as_echo_n "checking the archiver ($AR) interface... " >&6; } +if ${am_cv_ar_interface+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_ar_interface=ar + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int some_variable = 0; +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 + (eval $am_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test "$ac_status" -eq 0; then + am_cv_ar_interface=ar + else + am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 + (eval $am_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test "$ac_status" -eq 0; then + am_cv_ar_interface=lib + else + am_cv_ar_interface=unknown + fi + fi + rm -f conftest.lib libconftest.a + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 +$as_echo "$am_cv_ar_interface" >&6; } + +case $am_cv_ar_interface in +ar) + ;; +lib) + # Microsoft lib, so override with the ar-lib wrapper script. + # FIXME: It is wrong to rewrite AR. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__AR in this case, + # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something + # similar. + AR="$am_aux_dir/ar-lib $AR" + ;; +unknown) + as_fn_error $? "could not determine $AR interface" "$LINENO" 5 + ;; +esac + + +am__api_version='1.12' + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +# Reject install programs that cannot install multiple files. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +$as_echo_n "checking for a BSD-compatible install... " >&6; } +if test -z "$INSTALL"; then +if ${ac_cv_path_install+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in #(( + ./ | .// | /[cC]/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + rm -rf conftest.one conftest.two conftest.dir + echo one > conftest.one + echo two > conftest.two + mkdir conftest.dir + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + test -s conftest.one && test -s conftest.two && + test -s conftest.dir/conftest.one && + test -s conftest.dir/conftest.two + then + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + fi + done + done + ;; +esac + + done +IFS=$as_save_IFS + +rm -rf conftest.one conftest.two conftest.dir + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + INSTALL=$ac_install_sh + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +$as_echo "$INSTALL" >&6; } + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 +$as_echo_n "checking whether build environment is sane... " >&6; } +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[\\\"\#\$\&\'\`$am_lf]*) + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; +esac +case $srcdir in + *[\\\"\#\$\&\'\`$am_lf\ \ ]*) + as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; +esac + +# Do 'set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + am_has_slept=no + for am_try in 1 2; do + echo "timestamp, slept: $am_has_slept" > conftest.file + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken + alias in your environment" "$LINENO" 5 + fi + if test "$2" = conftest.file || test $am_try -eq 2; then + break + fi + # Just in case. + sleep 1 + am_has_slept=yes + done + test "$2" = conftest.file + ) +then + # Ok. + : +else + as_fn_error $? "newly created file is older than distributed files! +Check your system clock" "$LINENO" 5 +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +# If we didn't sleep, we still need to ensure time stamps of config.status and +# generated files are strictly newer. +am_sleep_pid= +if grep 'slept: no' conftest.file >/dev/null 2>&1; then + ( sleep 1 ) & + am_sleep_pid=$! +fi + +rm -f conftest.file + +test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s&\$&$program_suffix&;$program_transform_name" +# Double any \ or $. +# By default was `s,x,x', remove it if useless. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` + +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 +$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} +fi + +if test x"${install_sh}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi + +# Installed binaries are usually stripped using 'strip' when the user +# run "make install-strip". However 'strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the 'STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } +if test -z "$MKDIR_P"; then + if ${ac_cv_path_mkdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in mkdir gmkdir; do + for ac_exec_ext in '' $ac_executable_extensions; do + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( + 'mkdir (GNU coreutils) '* | \ + 'mkdir (coreutils) '* | \ + 'mkdir (fileutils) '4.1*) + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext + break 3;; + esac + done + done + done +IFS=$as_save_IFS + +fi + + test -d ./--version && rmdir ./--version + if test "${ac_cv_path_mkdir+set}" = set; then + MKDIR_P="$ac_cv_path_mkdir -p" + else + # As a last resort, use the slow shell script. Don't cache a + # value for MKDIR_P within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + MKDIR_P="$ac_install_sh -d" + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 +$as_echo "$MKDIR_P" >&6; } + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AWK+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AWK" && break +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null + +DEPDIR="${am__leading_dot}deps" + +ac_config_commands="$ac_config_commands depfiles" + + +am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo this is the am__doit target +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 +$as_echo_n "checking for style of include used by $am_make... " >&6; } +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# Ignore all kinds of additional output from 'make'. +case `$am_make -s -f confmf 2> /dev/null` in #( +*the\ am__doit\ target*) + am__include=include + am__quote= + _am_result=GNU + ;; +esac +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + case `$am_make -s -f confmf 2> /dev/null` in #( + *the\ am__doit\ target*) + am__include=.include + am__quote="\"" + _am_result=BSD + ;; + esac +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 +$as_echo "$_am_result" >&6; } +rm -f confinc confmf + +# Check whether --enable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then : + enableval=$enable_dependency_tracking; +fi + +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' + am__nodep='_no' +fi + if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +fi + + +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + am__isrc=' -I$(srcdir)' + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi + + +# Define the identity of the package. + PACKAGE='spice' + VERSION='0.12.2' + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE "$PACKAGE" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define VERSION "$VERSION" +_ACEOF + +# Some tools Automake needs. + +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} + + +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} + + +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} + + +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} + + +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + +# For better backward compatibility. To be removed once Automake 1.9.x +# dies out for good. For more background, see: +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> +mkdir_p='$(MKDIR_P)' + +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AMTAR='$${TAR-tar}' + +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' + + + + +depcc="$CC" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if ${am_cv_CC_dependencies_compiler_type+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + am__universal=false + case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with '-c' and '-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 +$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } + # Check whether --enable-maintainer-mode was given. +if test "${enable_maintainer_mode+set}" = set; then : + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval +else + USE_MAINTAINER_MODE=no +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 +$as_echo "$USE_MAINTAINER_MODE" >&6; } + if test $USE_MAINTAINER_MODE = yes; then + MAINTAINER_MODE_TRUE= + MAINTAINER_MODE_FALSE='#' +else + MAINTAINER_MODE_TRUE='#' + MAINTAINER_MODE_FALSE= +fi + + MAINT=$MAINTAINER_MODE_TRUE + + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if ${ac_cv_c_compiler_gnu+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if ${ac_cv_prog_cc_g+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdarg.h> +#include <stdio.h> +struct stat; +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 +$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } +if ${ac_cv_prog_cc_c99+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c99=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdarg.h> +#include <stdbool.h> +#include <stdlib.h> +#include <wchar.h> +#include <stdio.h> + +// Check varargs macros. These examples are taken from C99 6.10.3.5. +#define debug(...) fprintf (stderr, __VA_ARGS__) +#define showlist(...) puts (#__VA_ARGS__) +#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) +static void +test_varargs_macros (void) +{ + int x = 1234; + int y = 5678; + debug ("Flag"); + debug ("X = %d\n", x); + showlist (The first, second, and third items.); + report (x>y, "x is %d but y is %d", x, y); +} + +// Check long long types. +#define BIG64 18446744073709551615ull +#define BIG32 4294967295ul +#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) +#if !BIG_OK + your preprocessor is broken; +#endif +#if BIG_OK +#else + your preprocessor is broken; +#endif +static long long int bignum = -9223372036854775807LL; +static unsigned long long int ubignum = BIG64; + +struct incomplete_array +{ + int datasize; + double data[]; +}; + +struct named_init { + int number; + const wchar_t *name; + double average; +}; + +typedef const char *ccp; + +static inline int +test_restrict (ccp restrict text) +{ + // See if C++-style comments work. + // Iterate through items via the restricted pointer. + // Also check for declarations in for loops. + for (unsigned int i = 0; *(text+i) != '\0'; ++i) + continue; + return 0; +} + +// Check varargs and va_copy. +static void +test_varargs (const char *format, ...) +{ + va_list args; + va_start (args, format); + va_list args_copy; + va_copy (args_copy, args); + + const char *str; + int number; + float fnumber; + + while (*format) + { + switch (*format++) + { + case 's': // string + str = va_arg (args_copy, const char *); + break; + case 'd': // int + number = va_arg (args_copy, int); + break; + case 'f': // float + fnumber = va_arg (args_copy, double); + break; + default: + break; + } + } + va_end (args_copy); + va_end (args); +} + +int +main () +{ + + // Check bool. + _Bool success = false; + + // Check restrict. + if (test_restrict ("String literal") == 0) + success = true; + char *restrict newvar = "Another string"; + + // Check varargs. + test_varargs ("s, d' f .", "string", 65, 34.234); + test_varargs_macros (); + + // Check flexible array members. + struct incomplete_array *ia = + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); + ia->datasize = 10; + for (int i = 0; i < ia->datasize; ++i) + ia->data[i] = i * 1.234; + + // Check named initializers. + struct named_init ni = { + .number = 34, + .name = L"Test wide string", + .average = 543.34343, + }; + + ni.number = 58; + + int dynamic_array[ni.number]; + dynamic_array[ni.number - 1] = 543; + + // work around unused variable warnings + return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' + || dynamic_array[ni.number - 1] != 543); + + ; + return 0; +} +_ACEOF +for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c99=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c99" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c99" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c99" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 +$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c99" != xno; then : + +fi + + +if test x"$ac_cv_prog_cc_c99" = xno; then + as_fn_error $? "C99 compiler is required." "$LINENO" 5 +fi +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +if test -z "$CXX"; then + if test -n "$CCC"; then + CXX=$CCC + else + if test -n "$ac_tool_prefix"; then + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CXX"; then + ac_cv_prog_CXX="$CXX" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CXX=$ac_cv_prog_CXX +if test -n "$CXX"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 +$as_echo "$CXX" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CXX" && break + done +fi +if test -z "$CXX"; then + ac_ct_CXX=$CXX + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CXX"; then + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CXX="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX +if test -n "$ac_ct_CXX"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 +$as_echo "$ac_ct_CXX" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CXX" && break +done + + if test "x$ac_ct_CXX" = x; then + CXX="g++" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CXX=$ac_ct_CXX + fi +fi + + fi +fi +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 +$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } +if ${ac_cv_cxx_compiler_gnu+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 +$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GXX=yes +else + GXX= +fi +ac_test_CXXFLAGS=${CXXFLAGS+set} +ac_save_CXXFLAGS=$CXXFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 +$as_echo_n "checking whether $CXX accepts -g... " >&6; } +if ${ac_cv_prog_cxx_g+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_save_cxx_werror_flag=$ac_cxx_werror_flag + ac_cxx_werror_flag=yes + ac_cv_prog_cxx_g=no + CXXFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + ac_cv_prog_cxx_g=yes +else + CXXFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + +else + ac_cxx_werror_flag=$ac_save_cxx_werror_flag + CXXFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + ac_cv_prog_cxx_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cxx_werror_flag=$ac_save_cxx_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 +$as_echo "$ac_cv_prog_cxx_g" >&6; } +if test "$ac_test_CXXFLAGS" = set; then + CXXFLAGS=$ac_save_CXXFLAGS +elif test $ac_cv_prog_cxx_g = yes; then + if test "$GXX" = yes; then + CXXFLAGS="-g -O2" + else + CXXFLAGS="-g" + fi +else + if test "$GXX" = yes; then + CXXFLAGS="-O2" + else + CXXFLAGS= + fi +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +depcc="$CXX" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if ${am_cv_CXX_dependencies_compiler_type+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CXX_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + am__universal=false + case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with '-c' and '-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CXX_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CXX_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then + am__fastdepCXX_TRUE= + am__fastdepCXX_FALSE='#' +else + am__fastdepCXX_TRUE='#' + am__fastdepCXX_FALSE= +fi + + + +# Make sure we can run config.sub. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 +$as_echo_n "checking build system type... " >&6; } +if ${ac_cv_build+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_build_alias=$build_alias +test "x$ac_build_alias" = x && + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` +test "x$ac_build_alias" = x && + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +$as_echo "$ac_cv_build" >&6; } +case $ac_cv_build in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; +esac +build=$ac_cv_build +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_build +shift +build_cpu=$1 +build_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +build_os=$* +IFS=$ac_save_IFS +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 +$as_echo_n "checking host system type... " >&6; } +if ${ac_cv_host+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "x$host_alias" = x; then + ac_cv_host=$ac_cv_build +else + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +$as_echo "$ac_cv_host" >&6; } +case $ac_cv_host in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; +esac +host=$ac_cv_host +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_host +shift +host_cpu=$1 +host_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +host_os=$* +IFS=$ac_save_IFS +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac + + +case `pwd` in + *\ * | *\ *) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; +esac + + + +macro_version='2.4.2' +macro_revision='1.3337' + + + + + + + + + + + + + +ltmain="$ac_aux_dir/ltmain.sh" + +# Backslashify metacharacters that are still active within +# double-quoted strings. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\(["`\\]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to delay expansion of an escaped single quote. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 +$as_echo_n "checking how to print strings... " >&6; } +# Test print first, because it will be a builtin if present. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='print -r --' +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='printf %s\n' +else + # Use this function as a fallback that always works. + func_fallback_echo () + { + eval 'cat <<_LTECHO_EOF +$1 +_LTECHO_EOF' + } + ECHO='func_fallback_echo' +fi + +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "" +} + +case "$ECHO" in + printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 +$as_echo "printf" >&6; } ;; + print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 +$as_echo "print -r" >&6; } ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 +$as_echo "cat" >&6; } ;; +esac + + + + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 +$as_echo_n "checking for a sed that does not truncate output... " >&6; } +if ${ac_cv_path_SED+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ + for ac_i in 1 2 3 4 5 6 7; do + ac_script="$ac_script$as_nl$ac_script" + done + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed + { ac_script=; unset ac_script;} + if test -z "$SED"; then + ac_path_SED_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_SED" || continue +# Check for GNU ac_path_SED and select it if it is found. + # Check for GNU $ac_path_SED +case `"$ac_path_SED" --version 2>&1` in +*GNU*) + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo '' >> "conftest.nl" + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_SED_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_SED="$ac_path_SED" + ac_path_SED_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_SED_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_SED"; then + as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 + fi +else + ac_cv_path_SED=$SED +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 +$as_echo "$ac_cv_path_SED" >&6; } + SED="$ac_cv_path_SED" + rm -f conftest.sed + +test -z "$SED" && SED=sed +Xsed="$SED -e 1s/^X//" + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; } +if ${ac_cv_path_GREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$GREP"; then + ac_path_GREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in grep ggrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_GREP" || continue +# Check for GNU ac_path_GREP and select it if it is found. + # Check for GNU $ac_path_GREP +case `"$ac_path_GREP" --version 2>&1` in +*GNU*) + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_GREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_GREP="$ac_path_GREP" + ac_path_GREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_GREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_GREP"; then + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_GREP=$GREP +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 +$as_echo "$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +$as_echo_n "checking for egrep... " >&6; } +if ${ac_cv_path_EGREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 + then ac_cv_path_EGREP="$GREP -E" + else + if test -z "$EGREP"; then + ac_path_EGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_EGREP" || continue +# Check for GNU ac_path_EGREP and select it if it is found. + # Check for GNU $ac_path_EGREP +case `"$ac_path_EGREP" --version 2>&1` in +*GNU*) + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_EGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP="$ac_path_EGREP" + ac_path_EGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_EGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_EGREP"; then + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_EGREP=$EGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 +$as_echo "$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 +$as_echo_n "checking for fgrep... " >&6; } +if ${ac_cv_path_FGREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 + then ac_cv_path_FGREP="$GREP -F" + else + if test -z "$FGREP"; then + ac_path_FGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in fgrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_FGREP" || continue +# Check for GNU ac_path_FGREP and select it if it is found. + # Check for GNU $ac_path_FGREP +case `"$ac_path_FGREP" --version 2>&1` in +*GNU*) + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'FGREP' >> "conftest.nl" + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_FGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_FGREP="$ac_path_FGREP" + ac_path_FGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_FGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_FGREP"; then + as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_FGREP=$FGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 +$as_echo "$ac_cv_path_FGREP" >&6; } + FGREP="$ac_cv_path_FGREP" + + +test -z "$GREP" && GREP=grep + + + + + + + + + + + + + + + + + + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 +$as_echo_n "checking for ld used by $CC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | ?:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if ${lt_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in + *GNU* | *'with BFD'*) + test "$with_gnu_ld" != no && break + ;; + *) + test "$with_gnu_ld" != yes && break + ;; + esac + fi + done + IFS="$lt_save_ifs" +else + lt_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$lt_cv_path_LD" +if test -n "$LD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if ${lt_cv_prog_gnu_ld+:} false; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU lds only accept -v. +case `$LD -v 2>&1 </dev/null` in +*GNU* | *'with BFD'*) + lt_cv_prog_gnu_ld=yes + ;; +*) + lt_cv_prog_gnu_ld=no + ;; +esac +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 +$as_echo "$lt_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$lt_cv_prog_gnu_ld + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } +if ${lt_cv_path_NM+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_nm_to_check="${ac_tool_prefix}nm" + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then + lt_nm_to_check="$lt_nm_to_check nm" + fi + for lt_tmp_nm in $lt_nm_to_check; do + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/$lt_tmp_nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + ;; + esac + fi + done + IFS="$lt_save_ifs" + done + : ${lt_cv_path_NM=no} +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 +$as_echo "$lt_cv_path_NM" >&6; } +if test "$lt_cv_path_NM" != "no"; then + NM="$lt_cv_path_NM" +else + # Didn't find any BSD compatible name lister, look for dumpbin. + if test -n "$DUMPBIN"; then : + # Let the user override the test. + else + if test -n "$ac_tool_prefix"; then + for ac_prog in dumpbin "link -dump" + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_DUMPBIN+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$DUMPBIN"; then + ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +DUMPBIN=$ac_cv_prog_DUMPBIN +if test -n "$DUMPBIN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 +$as_echo "$DUMPBIN" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$DUMPBIN" && break + done +fi +if test -z "$DUMPBIN"; then + ac_ct_DUMPBIN=$DUMPBIN + for ac_prog in dumpbin "link -dump" +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_DUMPBIN"; then + ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN +if test -n "$ac_ct_DUMPBIN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 +$as_echo "$ac_ct_DUMPBIN" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_DUMPBIN" && break +done + + if test "x$ac_ct_DUMPBIN" = x; then + DUMPBIN=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + DUMPBIN=$ac_ct_DUMPBIN + fi +fi + + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in + *COFF*) + DUMPBIN="$DUMPBIN -symbols" + ;; + *) + DUMPBIN=: + ;; + esac + fi + + if test "$DUMPBIN" != ":"; then + NM="$DUMPBIN" + fi +fi +test -z "$NM" && NM=nm + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 +$as_echo_n "checking the name lister ($NM) interface... " >&6; } +if ${lt_cv_nm_interface+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_nm_interface="BSD nm" + echo "int some_variable = 0;" > conftest.$ac_ext + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) + (eval "$ac_compile" 2>conftest.err) + cat conftest.err >&5 + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) + cat conftest.err >&5 + (eval echo "\"\$as_me:$LINENO: output\"" >&5) + cat conftest.out >&5 + if $GREP 'External.*some_variable' conftest.out > /dev/null; then + lt_cv_nm_interface="MS dumpbin" + fi + rm -f conftest* +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 +$as_echo "$lt_cv_nm_interface" >&6; } + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 +$as_echo_n "checking whether ln -s works... " >&6; } +LN_S=$as_ln_s +if test "$LN_S" = "ln -s"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 +$as_echo "no, using $LN_S" >&6; } +fi + +# find the maximum length of command line arguments +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 +$as_echo_n "checking the maximum length of command line arguments... " >&6; } +if ${lt_cv_sys_max_cmd_len+:} false; then : + $as_echo_n "(cached) " >&6 +else + i=0 + teststring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw* | cegcc*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + mint*) + # On MiNT this can take a long time and run out of memory. + lt_cv_sys_max_cmd_len=8192; + ;; + + amigaos*) + # On AmigaOS with pdksh, this test takes hours, literally. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; + ;; + + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + ;; + + interix*) + # We know the value 262144 and hardcode it with a safety zone (like BSD) + lt_cv_sys_max_cmd_len=196608 + ;; + + os2*) + # The test takes a long time on OS/2. + lt_cv_sys_max_cmd_len=8192 + ;; + + osf*) + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not + # nice to cause kernel panics so lets avoid the loop below. + # First set a reasonable default. + lt_cv_sys_max_cmd_len=16384 + # + if test -x /sbin/sysconfig; then + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in + *1*) lt_cv_sys_max_cmd_len=-1 ;; + esac + fi + ;; + sco3.2v5*) + lt_cv_sys_max_cmd_len=102400 + ;; + sysv5* | sco5v6* | sysv4.2uw2*) + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` + if test -n "$kargmax"; then + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` + else + lt_cv_sys_max_cmd_len=32768 + fi + ;; + *) + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` + if test -n "$lt_cv_sys_max_cmd_len"; then + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + else + # Make teststring a little bigger before we do anything with it. + # a 1K string should be a reasonable start. + for i in 1 2 3 4 5 6 7 8 ; do + teststring=$teststring$teststring + done + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ + = "X$teststring$teststring"; } >/dev/null 2>&1 && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + teststring=$teststring$teststring + done + # Only check the string length outside the loop. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` + teststring= + # Add a significant safety factor because C++ compilers can tack on + # massive amounts of additional arguments before passing them to the + # linker. It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + fi + ;; + esac + +fi + +if test -n $lt_cv_sys_max_cmd_len ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 +$as_echo "$lt_cv_sys_max_cmd_len" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 +$as_echo "none" >&6; } +fi +max_cmd_len=$lt_cv_sys_max_cmd_len + + + + + + +: ${CP="cp -f"} +: ${MV="mv -f"} +: ${RM="rm -f"} + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 +$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } +# Try some XSI features +xsi_shell=no +( _lt_dummy="a/b/c" + test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ + = c,a/b,b/c, \ + && eval 'test $(( 1 + 1 )) -eq 2 \ + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ + && xsi_shell=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 +$as_echo "$xsi_shell" >&6; } + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 +$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } +lt_shell_append=no +( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ + >/dev/null 2>&1 \ + && lt_shell_append=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 +$as_echo "$lt_shell_append" >&6; } + + +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + lt_unset=unset +else + lt_unset=false +fi + + + + + +# test EBCDIC or ASCII +case `echo X|tr X '\101'` in + A) # ASCII based system + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr + lt_SP2NL='tr \040 \012' + lt_NL2SP='tr \015\012 \040\040' + ;; + *) # EBCDIC based system + lt_SP2NL='tr \100 \n' + lt_NL2SP='tr \r\n \100\100' + ;; +esac + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 +$as_echo_n "checking how to convert $build file names to $host format... " >&6; } +if ${lt_cv_to_host_file_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 + ;; + esac + ;; + *-*-cygwin* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin + ;; + esac + ;; + * ) # unhandled hosts (and "normal" native builds) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; +esac + +fi + +to_host_file_cmd=$lt_cv_to_host_file_cmd +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 +$as_echo "$lt_cv_to_host_file_cmd" >&6; } + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 +$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } +if ${lt_cv_to_tool_file_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + #assume ordinary cross tools, or native build. +lt_cv_to_tool_file_cmd=func_convert_file_noop +case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 + ;; + esac + ;; +esac + +fi + +to_tool_file_cmd=$lt_cv_to_tool_file_cmd +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 +$as_echo "$lt_cv_to_tool_file_cmd" >&6; } + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 +$as_echo_n "checking for $LD option to reload object files... " >&6; } +if ${lt_cv_ld_reload_flag+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_reload_flag='-r' +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 +$as_echo "$lt_cv_ld_reload_flag" >&6; } +reload_flag=$lt_cv_ld_reload_flag +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' +case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + if test "$GCC" != yes; then + reload_cmds=false + fi + ;; + darwin*) + if test "$GCC" = yes; then + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' + else + reload_cmds='$LD$reload_flag -o $output$reload_objs' + fi + ;; +esac + + + + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. +set dummy ${ac_tool_prefix}objdump; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OBJDUMP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OBJDUMP"; then + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OBJDUMP=$ac_cv_prog_OBJDUMP +if test -n "$OBJDUMP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 +$as_echo "$OBJDUMP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OBJDUMP"; then + ac_ct_OBJDUMP=$OBJDUMP + # Extract the first word of "objdump", so it can be a program name with args. +set dummy objdump; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OBJDUMP"; then + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_OBJDUMP="objdump" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP +if test -n "$ac_ct_OBJDUMP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 +$as_echo "$ac_ct_OBJDUMP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OBJDUMP" = x; then + OBJDUMP="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OBJDUMP=$ac_ct_OBJDUMP + fi +else + OBJDUMP="$ac_cv_prog_OBJDUMP" +fi + +test -z "$OBJDUMP" && OBJDUMP=objdump + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 +$as_echo_n "checking how to recognize dependent libraries... " >&6; } +if ${lt_cv_deplibs_check_method+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_deplibs_check_method='unknown' +# Need to set the preceding variable on all platforms that support +# interlibrary dependencies. +# 'none' -- dependencies not supported. +# `unknown' -- same as none, but documents that we really don't know. +# 'pass_all' -- all dependencies passed with no checks. +# 'test_compile' -- check by making test program. +# 'file_magic [[regex]]' -- check by looking for files in library path +# which responds to the $file_magic_cmd with a given extended regex. +# If you have `file' or equivalent on your system and you're not sure +# whether `pass_all' will *always* work, you probably want this one. + +case $host_os in +aix[4-9]*) + lt_cv_deplibs_check_method=pass_all + ;; + +beos*) + lt_cv_deplibs_check_method=pass_all + ;; + +bsdi[45]*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' + lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_test_file=/shlib/libc.so + ;; + +cygwin*) + # func_win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + ;; + +mingw* | pw32*) + # Base MSYS/MinGW do not provide the 'file' command needed by + # func_win32_libid shell function, so use a weaker test based on 'objdump', + # unless we find 'file', for example because we are cross-compiling. + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. + if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + else + # Keep this pattern in sync with the one in func_win32_libid. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' + lt_cv_file_magic_cmd='$OBJDUMP -f' + fi + ;; + +cegcc*) + # use the weaker test based on 'objdump'. See mingw*. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + ;; + +darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +freebsd* | dragonfly*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +haiku*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case $host_cpu in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac + ;; + +interix[3-9]*) + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' + ;; + +irix5* | irix6* | nonstopux*) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + lt_cv_deplibs_check_method=pass_all + ;; + +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + lt_cv_deplibs_check_method=pass_all + ;; + +netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' + fi + ;; + +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +*nto* | *qnx*) + lt_cv_deplibs_check_method=pass_all + ;; + +openbsd*) + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + fi + ;; + +osf3* | osf4* | osf5*) + lt_cv_deplibs_check_method=pass_all + ;; + +rdos*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv4 | sysv4.3*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; + pc) + lt_cv_deplibs_check_method=pass_all + ;; + esac + ;; + +tpf*) + lt_cv_deplibs_check_method=pass_all + ;; +esac + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 +$as_echo "$lt_cv_deplibs_check_method" >&6; } + +file_magic_glob= +want_nocaseglob=no +if test "$build" = "$host"; then + case $host_os in + mingw* | pw32*) + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then + want_nocaseglob=yes + else + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` + fi + ;; + esac +fi + +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown + + + + + + + + + + + + + + + + + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. +set dummy ${ac_tool_prefix}dlltool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_DLLTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$DLLTOOL"; then + ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +DLLTOOL=$ac_cv_prog_DLLTOOL +if test -n "$DLLTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 +$as_echo "$DLLTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_DLLTOOL"; then + ac_ct_DLLTOOL=$DLLTOOL + # Extract the first word of "dlltool", so it can be a program name with args. +set dummy dlltool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_DLLTOOL"; then + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_DLLTOOL="dlltool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL +if test -n "$ac_ct_DLLTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 +$as_echo "$ac_ct_DLLTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_DLLTOOL" = x; then + DLLTOOL="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + DLLTOOL=$ac_ct_DLLTOOL + fi +else + DLLTOOL="$ac_cv_prog_DLLTOOL" +fi + +test -z "$DLLTOOL" && DLLTOOL=dlltool + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 +$as_echo_n "checking how to associate runtime and link libraries... " >&6; } +if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_sharedlib_from_linklib_cmd='unknown' + +case $host_os in +cygwin* | mingw* | pw32* | cegcc*) + # two different shell functions defined in ltmain.sh + # decide which to use based on capabilities of $DLLTOOL + case `$DLLTOOL --help 2>&1` in + *--identify-strict*) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib + ;; + *) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback + ;; + esac + ;; +*) + # fallback: assume linklib IS sharedlib + lt_cv_sharedlib_from_linklib_cmd="$ECHO" + ;; +esac + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 +$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO + + + + + + + +if test -n "$ac_tool_prefix"; then + for ac_prog in ar + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AR="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +$as_echo "$AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AR" && break + done +fi +if test -z "$AR"; then + ac_ct_AR=$AR + for ac_prog in ar +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_AR="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 +$as_echo "$ac_ct_AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_AR" && break +done + + if test "x$ac_ct_AR" = x; then + AR="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + AR=$ac_ct_AR + fi +fi + +: ${AR=ar} +: ${AR_FLAGS=cru} + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 +$as_echo_n "checking for archiver @FILE support... " >&6; } +if ${lt_cv_ar_at_file+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ar_at_file=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + echo conftest.$ac_objext > conftest.lst + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 + (eval $lt_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test "$ac_status" -eq 0; then + # Ensure the archiver fails upon bogus file names. + rm -f conftest.$ac_objext libconftest.a + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 + (eval $lt_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test "$ac_status" -ne 0; then + lt_cv_ar_at_file=@ + fi + fi + rm -f conftest.* libconftest.a + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 +$as_echo "$lt_cv_ar_at_file" >&6; } + +if test "x$lt_cv_ar_at_file" = xno; then + archiver_list_spec= +else + archiver_list_spec=$lt_cv_ar_at_file +fi + + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +test -z "$STRIP" && STRIP=: + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +$as_echo "$RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 +$as_echo "$ac_ct_RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_RANLIB" = x; then + RANLIB=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + RANLIB=$ac_ct_RANLIB + fi +else + RANLIB="$ac_cv_prog_RANLIB" +fi + +test -z "$RANLIB" && RANLIB=: + + + + + + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" + ;; + *) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" +fi + +case $host_os in + darwin*) + lock_old_archive_extraction=yes ;; + *) + lock_old_archive_extraction=no ;; +esac + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Check for command to grab the raw symbol name followed by C symbol from nm. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } +if ${lt_cv_sys_global_symbol_pipe+:} false; then : + $as_echo_n "(cached) " >&6 +else + +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[BCDEGRST]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)' + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[BCDT]' + ;; +cygwin* | mingw* | pw32* | cegcc*) + symcode='[ABCDGISTW]' + ;; +hpux*) + if test "$host_cpu" = ia64; then + symcode='[ABCDEGRST]' + fi + ;; +irix* | nonstopux*) + symcode='[BCDEGRST]' + ;; +osf*) + symcode='[BCDEGQRST]' + ;; +solaris*) + symcode='[BDRT]' + ;; +sco3.2v5*) + symcode='[DT]' + ;; +sysv4.2uw2*) + symcode='[DT]' + ;; +sysv5* | sco5v6* | unixware* | OpenUNIX*) + symcode='[ABDT]' + ;; +sysv4) + symcode='[DFNSTU]' + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[ABCDGIRSTW]' ;; +esac + +# Transform an extracted symbol line into a proper C declaration. +# Some systems (esp. on ia64) link data and code symbols differently, +# so use this general approach. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# Try without a prefix underscore, then with it. +for ac_symprfx in "" "_"; do + + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. + symxfrm="\\1 $ac_symprfx\\2 \\2" + + # Write the raw and C identifiers. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then + # Fake it for dumpbin and say T for any non-static function + # and D for any global variable. + # Also find C++ and __fastcall symbols from MSVC++, + # which start with @ or ?. + lt_cv_sys_global_symbol_pipe="$AWK '"\ +" {last_section=section; section=\$ 3};"\ +" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ +" \$ 0!~/External *\|/{next};"\ +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ +" {if(hide[section]) next};"\ +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ +" s[1]~/^[@?]/{print s[1], s[1]; next};"\ +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ +" ' prfx=^$ac_symprfx" + else + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" + fi + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext <<_LT_EOF +#ifdef __cplusplus +extern "C" { +#endif +char nm_test_var; +void nm_test_func(void); +void nm_test_func(void){} +#ifdef __cplusplus +} +#endif +int main(){nm_test_var='a';nm_test_func();return(0);} +_LT_EOF + + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + # Now try to grab the symbols. + nlist=conftest.nm + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 + (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then + cat <<_LT_EOF > conftest.$ac_ext +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) +/* DATA imports from DLLs on WIN32 con't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT_DLSYM_CONST +#elif defined(__osf__) +/* This system does not cope well with relocations in const data. */ +# define LT_DLSYM_CONST +#else +# define LT_DLSYM_CONST const +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +_LT_EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' + + cat <<_LT_EOF >> conftest.$ac_ext + +/* The mapping between symbol names and symbols. */ +LT_DLSYM_CONST struct { + const char *name; + void *address; +} +lt__PROGRAM__LTX_preloaded_symbols[] = +{ + { "@PROGRAM@", (void *) 0 }, +_LT_EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext + cat <<\_LT_EOF >> conftest.$ac_ext + {0, (void *) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt__PROGRAM__LTX_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif +_LT_EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_globsym_save_LIBS=$LIBS + lt_globsym_save_CFLAGS=$CFLAGS + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS=$lt_globsym_save_LIBS + CFLAGS=$lt_globsym_save_CFLAGS + else + echo "cannot find nm_test_func in $nlist" >&5 + fi + else + echo "cannot find nm_test_var in $nlist" >&5 + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 + fi + else + echo "$progname: failed program was:" >&5 + cat conftest.$ac_ext >&5 + fi + rm -rf conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done + +fi + +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 +$as_echo "failed" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 +$as_echo "ok" >&6; } +fi + +# Response file support. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then + nm_file_list_spec='@' +elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then + nm_file_list_spec='@' +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 +$as_echo_n "checking for sysroot... " >&6; } + +# Check whether --with-sysroot was given. +if test "${with_sysroot+set}" = set; then : + withval=$with_sysroot; +else + with_sysroot=no +fi + + +lt_sysroot= +case ${with_sysroot} in #( + yes) + if test "$GCC" = yes; then + lt_sysroot=`$CC --print-sysroot 2>/dev/null` + fi + ;; #( + /*) + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` + ;; #( + no|'') + ;; #( + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 +$as_echo "${with_sysroot}" >&6; } + as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 + ;; +esac + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 +$as_echo "${lt_sysroot:-no}" >&6; } + + + + + +# Check whether --enable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then : + enableval=$enable_libtool_lock; +fi + +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ +s390*-*linux*|s390*-*tpf*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.o` in + *32-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_i386_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*|powerpc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_x86_64_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*|s390*-*tpf*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 +$as_echo_n "checking whether the C compiler needs -belf... " >&6; } +if ${lt_cv_cc_needs_belf+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + lt_cv_cc_needs_belf=yes +else + lt_cv_cc_needs_belf=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 +$as_echo "$lt_cv_cc_needs_belf" >&6; } + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +*-*solaris*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.o` in + *64-bit*) + case $lt_cv_prog_gnu_ld in + yes*) + case $host in + i?86-*-solaris*) + LD="${LD-ld} -m elf_x86_64" + ;; + sparc*-*-solaris*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + # GNU ld 2.21 introduced _sol2 emulations. Use them if available. + if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then + LD="${LD-ld}_sol2" + fi + ;; + *) + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then + LD="${LD-ld} -64" + fi + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; +esac + +need_locks="$enable_libtool_lock" + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. +set dummy ${ac_tool_prefix}mt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$MANIFEST_TOOL"; then + ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL +if test -n "$MANIFEST_TOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 +$as_echo "$MANIFEST_TOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_MANIFEST_TOOL"; then + ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL + # Extract the first word of "mt", so it can be a program name with args. +set dummy mt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_MANIFEST_TOOL"; then + ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL +if test -n "$ac_ct_MANIFEST_TOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 +$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_MANIFEST_TOOL" = x; then + MANIFEST_TOOL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL + fi +else + MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" +fi + +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 +$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } +if ${lt_cv_path_mainfest_tool+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_path_mainfest_tool=no + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out + cat conftest.err >&5 + if $GREP 'Manifest Tool' conftest.out > /dev/null; then + lt_cv_path_mainfest_tool=yes + fi + rm -f conftest* +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 +$as_echo "$lt_cv_path_mainfest_tool" >&6; } +if test "x$lt_cv_path_mainfest_tool" != xyes; then + MANIFEST_TOOL=: +fi + + + + + + + case $host_os in + rhapsody* | darwin*) + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_DSYMUTIL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$DSYMUTIL"; then + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +DSYMUTIL=$ac_cv_prog_DSYMUTIL +if test -n "$DSYMUTIL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 +$as_echo "$DSYMUTIL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_DSYMUTIL"; then + ac_ct_DSYMUTIL=$DSYMUTIL + # Extract the first word of "dsymutil", so it can be a program name with args. +set dummy dsymutil; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_DSYMUTIL"; then + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL +if test -n "$ac_ct_DSYMUTIL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 +$as_echo "$ac_ct_DSYMUTIL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_DSYMUTIL" = x; then + DSYMUTIL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + DSYMUTIL=$ac_ct_DSYMUTIL + fi +else + DSYMUTIL="$ac_cv_prog_DSYMUTIL" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. +set dummy ${ac_tool_prefix}nmedit; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_NMEDIT+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NMEDIT"; then + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +NMEDIT=$ac_cv_prog_NMEDIT +if test -n "$NMEDIT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 +$as_echo "$NMEDIT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_NMEDIT"; then + ac_ct_NMEDIT=$NMEDIT + # Extract the first word of "nmedit", so it can be a program name with args. +set dummy nmedit; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_NMEDIT"; then + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_NMEDIT="nmedit" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT +if test -n "$ac_ct_NMEDIT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 +$as_echo "$ac_ct_NMEDIT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_NMEDIT" = x; then + NMEDIT=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + NMEDIT=$ac_ct_NMEDIT + fi +else + NMEDIT="$ac_cv_prog_NMEDIT" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. +set dummy ${ac_tool_prefix}lipo; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_LIPO+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$LIPO"; then + ac_cv_prog_LIPO="$LIPO" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_LIPO="${ac_tool_prefix}lipo" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +LIPO=$ac_cv_prog_LIPO +if test -n "$LIPO"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 +$as_echo "$LIPO" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_LIPO"; then + ac_ct_LIPO=$LIPO + # Extract the first word of "lipo", so it can be a program name with args. +set dummy lipo; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_LIPO+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_LIPO"; then + ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_LIPO="lipo" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO +if test -n "$ac_ct_LIPO"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 +$as_echo "$ac_ct_LIPO" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_LIPO" = x; then + LIPO=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + LIPO=$ac_ct_LIPO + fi +else + LIPO="$ac_cv_prog_LIPO" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. +set dummy ${ac_tool_prefix}otool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OTOOL"; then + ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_OTOOL="${ac_tool_prefix}otool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OTOOL=$ac_cv_prog_OTOOL +if test -n "$OTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 +$as_echo "$OTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OTOOL"; then + ac_ct_OTOOL=$OTOOL + # Extract the first word of "otool", so it can be a program name with args. +set dummy otool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OTOOL"; then + ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_OTOOL="otool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL +if test -n "$ac_ct_OTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 +$as_echo "$ac_ct_OTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OTOOL" = x; then + OTOOL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OTOOL=$ac_ct_OTOOL + fi +else + OTOOL="$ac_cv_prog_OTOOL" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. +set dummy ${ac_tool_prefix}otool64; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OTOOL64+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OTOOL64"; then + ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OTOOL64=$ac_cv_prog_OTOOL64 +if test -n "$OTOOL64"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 +$as_echo "$OTOOL64" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OTOOL64"; then + ac_ct_OTOOL64=$OTOOL64 + # Extract the first word of "otool64", so it can be a program name with args. +set dummy otool64; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OTOOL64"; then + ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_OTOOL64="otool64" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 +if test -n "$ac_ct_OTOOL64"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 +$as_echo "$ac_ct_OTOOL64" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OTOOL64" = x; then + OTOOL64=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OTOOL64=$ac_ct_OTOOL64 + fi +else + OTOOL64="$ac_cv_prog_OTOOL64" +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 +$as_echo_n "checking for -single_module linker flag... " >&6; } +if ${lt_cv_apple_cc_single_mod+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_apple_cc_single_mod=no + if test -z "${LT_MULTI_MODULE}"; then + # By default we will add the -single_module flag. You can override + # by either setting the environment variable LT_MULTI_MODULE + # non-empty at configure time, or by adding -multi_module to the + # link flags. + rm -rf libconftest.dylib* + echo "int foo(void){return 1;}" > conftest.c + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ +-dynamiclib -Wl,-single_module conftest.c" >&5 + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err + _lt_result=$? + # If there is a non-empty error log, and "single_module" + # appears in it, assume the flag caused a linker warning + if test -s conftest.err && $GREP single_module conftest.err; then + cat conftest.err >&5 + # Otherwise, if the output was created with a 0 exit code from + # the compiler, it worked. + elif test -f libconftest.dylib && test $_lt_result -eq 0; then + lt_cv_apple_cc_single_mod=yes + else + cat conftest.err >&5 + fi + rm -rf libconftest.dylib* + rm -f conftest.* + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 +$as_echo "$lt_cv_apple_cc_single_mod" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } +if ${lt_cv_ld_exported_symbols_list+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_exported_symbols_list=no + save_LDFLAGS=$LDFLAGS + echo "_main" > conftest.sym + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + lt_cv_ld_exported_symbols_list=yes +else + lt_cv_ld_exported_symbols_list=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$save_LDFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 +$as_echo_n "checking for -force_load linker flag... " >&6; } +if ${lt_cv_ld_force_load+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_force_load=no + cat > conftest.c << _LT_EOF +int forced_loaded() { return 2;} +_LT_EOF + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 + echo "$AR cru libconftest.a conftest.o" >&5 + $AR cru libconftest.a conftest.o 2>&5 + echo "$RANLIB libconftest.a" >&5 + $RANLIB libconftest.a 2>&5 + cat > conftest.c << _LT_EOF +int main() { return 0;} +_LT_EOF + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err + _lt_result=$? + if test -s conftest.err && $GREP force_load conftest.err; then + cat conftest.err >&5 + elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then + lt_cv_ld_force_load=yes + else + cat conftest.err >&5 + fi + rm -f conftest.err libconftest.a conftest conftest.c + rm -rf conftest.dSYM + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 +$as_echo "$lt_cv_ld_force_load" >&6; } + case $host_os in + rhapsody* | darwin1.[012]) + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; + darwin1.*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + darwin*) # darwin 5.x on + # if running on 10.5 or later, the deployment target defaults + # to the OS version, if on x86, and 10.4, the deployment + # target defaults to 10.4. Don't you love it? + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in + 10.0,*86*-darwin8*|10.0,*-darwin[91]*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + 10.[012]*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + 10.*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + esac + ;; + esac + if test "$lt_cv_apple_cc_single_mod" = "yes"; then + _lt_dar_single_mod='$single_module' + fi + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' + else + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then + _lt_dsymutil='~$DSYMUTIL $lib || :' + else + _lt_dsymutil= + fi + ;; + esac + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +$as_echo_n "checking how to run the C preprocessor... " >&6; } +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if ${ac_cv_prog_CPP+:} false; then : + $as_echo_n "(cached) " >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + # <limits.h> exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include <limits.h> +#else +# include <assert.h> +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <ac_nonexistent.h> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +$as_echo "$CPP" >&6; } +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + # <limits.h> exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include <limits.h> +#else +# include <assert.h> +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <ac_nonexistent.h> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details" "$LINENO" 5; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } +if ${ac_cv_header_stdc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdlib.h> +#include <stdarg.h> +#include <string.h> +#include <float.h> + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdc=yes +else + ac_cv_header_stdc=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <string.h> + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdlib.h> + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <ctype.h> +#include <stdlib.h> +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + +else + ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +$as_echo "#define STDC_HEADERS 1" >>confdefs.h + +fi + +# On IRIX 5.3, sys/types and inttypes.h are conflicting. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +for ac_header in dlfcn.h +do : + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default +" +if test "x$ac_cv_header_dlfcn_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_DLFCN_H 1 +_ACEOF + +fi + +done + + + + +func_stripname_cnf () +{ + case ${2} in + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; + esac +} # func_stripname_cnf + + + + + +# Set options + + + + enable_dlopen=no + + + enable_win32_dll=no + + + # Check whether --enable-shared was given. +if test "${enable_shared+set}" = set; then : + enableval=$enable_shared; p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_shared=yes +fi + + + + + + + + + + # Check whether --enable-static was given. +if test "${enable_static+set}" = set; then : + enableval=$enable_static; p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_static=yes +fi + + + + + + + + + + +# Check whether --with-pic was given. +if test "${with_pic+set}" = set; then : + withval=$with_pic; lt_p=${PACKAGE-default} + case $withval in + yes|no) pic_mode=$withval ;; + *) + pic_mode=default + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for lt_pkg in $withval; do + IFS="$lt_save_ifs" + if test "X$lt_pkg" = "X$lt_p"; then + pic_mode=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + pic_mode=default +fi + + +test -z "$pic_mode" && pic_mode=default + + + + + + + + # Check whether --enable-fast-install was given. +if test "${enable_fast_install+set}" = set; then : + enableval=$enable_fast_install; p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_fast_install=yes +fi + + + + + + + + + + + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS="$ltmain" + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +test -z "$LN_S" && LN_S="ln -s" + + + + + + + + + + + + + + +if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 +$as_echo_n "checking for objdir... " >&6; } +if ${lt_cv_objdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 +$as_echo "$lt_cv_objdir" >&6; } +objdir=$lt_cv_objdir + + + + + +cat >>confdefs.h <<_ACEOF +#define LT_OBJDIR "$lt_cv_objdir/" +_ACEOF + + + + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Global variables: +ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except MSVC, +# which needs '.lib'). +libext=a + +with_gnu_ld="$lt_cv_prog_gnu_ld" + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS +test -z "$LD" && LD=ld +test -z "$ac_objext" && ac_objext=o + +for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` + + +# Only perform the check for file, if the check method requires it +test -z "$MAGIC_CMD" && MAGIC_CMD=file +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } +if ${lt_cv_path_MAGIC_CMD+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/${ac_tool_prefix}file; then + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<_LT_EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +_LT_EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 +$as_echo "$MAGIC_CMD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + + +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 +$as_echo_n "checking for file... " >&6; } +if ${lt_cv_path_MAGIC_CMD+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/file; then + lt_cv_path_MAGIC_CMD="$ac_dir/file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<_LT_EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +_LT_EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 +$as_echo "$MAGIC_CMD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + else + MAGIC_CMD=: + fi +fi + + fi + ;; +esac + +# Use C for the default configuration in the libtool script + +lt_save_CC="$CC" +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +objext=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}' + + + + + + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + +# Save the default compiler, since it gets overwritten when the other +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. +compiler_DEFAULT=$CC + +# save warnings/boilerplate of simple test code +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$RM conftest* + +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$RM -r conftest* + + +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... +if test -n "$compiler"; then + +lt_prog_compiler_no_builtin_flag= + +if test "$GCC" = yes; then + case $cc_basename in + nvcc*) + lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; + *) + lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; + esac + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } +if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } + +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" +else + : +fi + +fi + + + + + + + lt_prog_compiler_wl= +lt_prog_compiler_pic= +lt_prog_compiler_static= + + + if test "$GCC" = yes; then + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_static='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + lt_prog_compiler_pic='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic='-fno-common' + ;; + + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + lt_prog_compiler_static= + ;; + + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + ;; + + interix[3-9]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared=no + enable_shared=no + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + lt_prog_compiler_pic='-fPIC -shared' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic=-Kconform_pic + fi + ;; + + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + + case $cc_basename in + nvcc*) # Cuda Compiler Driver 2.2 + lt_prog_compiler_wl='-Xlinker ' + if test -n "$lt_prog_compiler_pic"; then + lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" + fi + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + else + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static='-non_shared' + ;; + + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + # old Intel for x86_64 which still supported -KPIC. + ecc*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-static' + ;; + # icc used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + icc* | ifort*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + # Lahey Fortran 8.1. + lf95*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='--shared' + lt_prog_compiler_static='--static' + ;; + nagfor*) + # NAG Fortran compiler + lt_prog_compiler_wl='-Wl,-Wl,,' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fpic' + lt_prog_compiler_static='-Bstatic' + ;; + ccc*) + lt_prog_compiler_wl='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + xl* | bgxl* | bgf* | mpixl*) + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-qpic' + lt_prog_compiler_static='-qstaticlink' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='' + ;; + *Sun\ F* | *Sun*Fortran*) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='-Qoption ld ' + ;; + *Sun\ C*) + # Sun C 5.9 + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='-Wl,' + ;; + *Intel*\ [CF]*Compiler*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + *Portland\ Group*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fpic' + lt_prog_compiler_static='-Bstatic' + ;; + esac + ;; + esac + ;; + + newsos6) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + lt_prog_compiler_pic='-fPIC -shared' + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + + rdos*) + lt_prog_compiler_static='-non_shared' + ;; + + solaris*) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + case $cc_basename in + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) + lt_prog_compiler_wl='-Qoption ld ';; + *) + lt_prog_compiler_wl='-Wl,';; + esac + ;; + + sunos4*) + lt_prog_compiler_wl='-Qoption ld ' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic='-Kconform_pic' + lt_prog_compiler_static='-Bstatic' + fi + ;; + + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + unicos*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_can_build_shared=no + ;; + + uts4*) + lt_prog_compiler_pic='-pic' + lt_prog_compiler_static='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared=no + ;; + esac + fi + +case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic= + ;; + *) + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" + ;; +esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } +if ${lt_cv_prog_compiler_pic+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_pic=$lt_prog_compiler_pic +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 +$as_echo "$lt_cv_prog_compiler_pic" >&6; } +lt_prog_compiler_pic=$lt_cv_prog_compiler_pic + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } +if ${lt_cv_prog_compiler_pic_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_pic_works=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_pic_works=yes + fi + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } + +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then + case $lt_prog_compiler_pic in + "" | " "*) ;; + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; + esac +else + lt_prog_compiler_pic= + lt_prog_compiler_can_build_shared=no +fi + +fi + + + + + + + + + + + +# +# Check to make sure the static flag actually works. +# +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } +if ${lt_cv_prog_compiler_static_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_static_works=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_static_works=yes + fi + else + lt_cv_prog_compiler_static_works=yes + fi + fi + $RM -r conftest* + LDFLAGS="$save_LDFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 +$as_echo "$lt_cv_prog_compiler_static_works" >&6; } + +if test x"$lt_cv_prog_compiler_static_works" = xyes; then + : +else + lt_prog_compiler_static= +fi + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if ${lt_cv_prog_compiler_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . 2>&5 + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; } + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if ${lt_cv_prog_compiler_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . 2>&5 + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; } + + + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 +$as_echo_n "checking if we can lock with hard links... " >&6; } + hard_links=yes + $RM conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 +$as_echo "$hard_links" >&6; } + if test "$hard_links" = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + + runpath_var= + allow_undefined_flag= + always_export_symbols=no + archive_cmds= + archive_expsym_cmds= + compiler_needs_object=no + enable_shared_with_static_runtimes=no + export_dynamic_flag_spec= + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + hardcode_automatic=no + hardcode_direct=no + hardcode_direct_absolute=no + hardcode_libdir_flag_spec= + hardcode_libdir_separator= + hardcode_minus_L=no + hardcode_shlibpath_var=unsupported + inherit_rpath=no + link_all_deplibs=unknown + module_cmds= + module_expsym_cmds= + old_archive_from_new_cmds= + old_archive_from_expsyms_cmds= + thread_safe_flag_spec= + whole_archive_flag_spec= + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + # Exclude shared library initialization/finalization symbols. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs=yes + + # On some targets, GNU ld is compatible enough with the native linker + # that we're better off using the native interface for both. + lt_use_gnu_ld_interface=no + if test "$with_gnu_ld" = yes; then + case $host_os in + aix*) + # The AIX port of GNU ld has always aspired to compatibility + # with the native linker. However, as the warning in the GNU ld + # block says, versions before 2.19.5* couldn't really create working + # shared libraries, regardless of the interface used. + case `$LD -v 2>&1` in + *\ \(GNU\ Binutils\)\ 2.19.5*) ;; + *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; + *\ \(GNU\ Binutils\)\ [3-9]*) ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + fi + + if test "$lt_use_gnu_ld_interface" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + export_dynamic_flag_spec='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec= + fi + supports_anon_versioning=no + case `$LD -v 2>&1` in + *GNU\ gold*) supports_anon_versioning=yes ;; + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + + # See if GNU ld supports shared libraries. + case $host_os in + aix[3-9]*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no + cat <<_LT_EOF 1>&2 + +*** Warning: the GNU linker, at least up to release 2.19, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to install binutils +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. +*** You will then need to restart the configuration process. + +_LT_EOF + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='' + ;; + m68k) + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + ;; + esac + ;; + + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag=unsupported + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs=no + fi + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec='-L$libdir' + export_dynamic_flag_spec='${wl}--export-all-symbols' + allow_undefined_flag=unsupported + always_export_symbols=no + enable_shared_with_static_runtimes=yes + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' + exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + ld_shlibs=no + fi + ;; + + haiku*) + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + link_all_deplibs=yes + ;; + + interix[3-9]*) + hardcode_direct=no + hardcode_shlibpath_var=no + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) + tmp_diet=no + if test "$host_os" = linux-dietlibc; then + case $cc_basename in + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) + esac + fi + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ + && test "$tmp_diet" = no + then + tmp_addflag=' $pic_flag' + tmp_sharedflag='-shared' + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; + pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group f77 and f90 compilers + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + lf95*) # Lahey Fortran 8.1 + whole_archive_flag_spec= + tmp_sharedflag='--shared' ;; + xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) + tmp_sharedflag='-qmkshrobj' + tmp_addflag= ;; + nvcc*) # Cuda Compiler Driver 2.2 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + compiler_needs_object=yes + ;; + esac + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) # Sun C 5.9 + whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + compiler_needs_object=yes + tmp_sharedflag='-G' ;; + *Sun\ F*) # Sun Fortran 8.3 + tmp_sharedflag='-G' ;; + esac + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + + if test "x$supports_anon_versioning" = xyes; then + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + + case $cc_basename in + xlf* | bgf* | bgxlf* | mpixlf*) + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself + whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' + if test "x$supports_anon_versioning" = xyes; then + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' + fi + ;; + esac + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris*) + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + cat <<_LT_EOF 1>&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) + ld_shlibs=no + cat <<_LT_EOF 1>&2 + +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not +*** reliably create shared libraries on SCO systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + ;; + *) + # For security reasons, it is highly recommended that you always + # use absolute paths for naming shared libraries, and exclude the + # DT_RUNPATH tag from executables and libraries. But doing so + # requires that you compile everything twice, which is a pain. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + ;; + + sunos4*) + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + *) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + + if test "$ld_shlibs" = no; then + runpath_var= + hardcode_libdir_flag_spec= + export_dynamic_flag_spec= + whole_archive_flag_spec= + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag=unsupported + always_export_symbols=yes + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported + fi + ;; + + aix[4-9]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global + # defined symbols, whereas GNU nm marks them as "W". + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds='' + hardcode_direct=yes + hardcode_direct_absolute=yes + hardcode_libdir_separator=':' + link_all_deplibs=yes + file_list_spec='${wl}-f,' + + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && + strings "$collect2name" | $GREP resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + hardcode_direct=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + export_dynamic_flag_spec='${wl}-bexpall' + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag='-berok' + # Determine the default libpath from the value encoded in an + # empty executable. + if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath_+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_="/usr/lib:/lib" + fi + +fi + + aix_libpath=$lt_cv_aix_libpath_ +fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag="-z nodefs" + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an + # empty executable. + if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath_+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_="/usr/lib:/lib" + fi + +fi + + aix_libpath=$lt_cv_aix_libpath_ +fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag=' ${wl}-bernotok' + allow_undefined_flag=' ${wl}-berok' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec='$convenience' + fi + archive_cmds_need_lc=yes + # This is similar to how AIX traditionally builds its shared libraries. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='' + ;; + m68k) + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + ;; + esac + ;; + + bsdi[45]*) + export_dynamic_flag_spec=-rdynamic + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + case $cc_basename in + cl*) + # Native MSVC + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + always_export_symbols=yes + file_list_spec='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, )='true' + enable_shared_with_static_runtimes=yes + exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' + # Don't use ranlib + old_postinstall_cmds='chmod 644 $oldlib' + postlink_cmds='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # Assume MSVC wrapper + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_from_new_cmds='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' + enable_shared_with_static_runtimes=yes + ;; + esac + ;; + + darwin* | rhapsody*) + + + archive_cmds_need_lc=no + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + if test "$lt_cv_ld_force_load" = "yes"; then + whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' + + else + whole_archive_flag_spec='' + fi + link_all_deplibs=yes + allow_undefined_flag="$_lt_dar_allow_undefined" + case $cc_basename in + ifort*) _lt_dar_can_shared=yes ;; + *) _lt_dar_can_shared=$GCC ;; + esac + if test "$_lt_dar_can_shared" = "yes"; then + output_verbose_link_cmd=func_echo_all + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" + archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" + module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + + else + ld_shlibs=no + fi + + ;; + + dgux*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2.*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | dragonfly*) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + export_dynamic_flag_spec='${wl}-E' + ;; + + hpux10*) + if test "$GCC" = yes && test "$with_gnu_ld" = no; then + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + fi + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + hardcode_direct_absolute=yes + export_dynamic_flag_spec='${wl}-E' + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + fi + ;; + + hpux11*) + if test "$GCC" = yes && test "$with_gnu_ld" = no; then + case $host_cpu in + hppa*64*) + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case $host_cpu in + hppa*64*) + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + + # Older versions of the 11.00 compiler do not understand -b yet + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 +$as_echo_n "checking if $CC understands -b... " >&6; } +if ${lt_cv_prog_compiler__b+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler__b=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -b" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler__b=yes + fi + else + lt_cv_prog_compiler__b=yes + fi + fi + $RM -r conftest* + LDFLAGS="$save_LDFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 +$as_echo "$lt_cv_prog_compiler__b" >&6; } + +if test x"$lt_cv_prog_compiler__b" = xyes; then + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' +else + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' +fi + + ;; + esac + fi + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + + case $host_cpu in + hppa*64*|ia64*) + hardcode_direct=no + hardcode_shlibpath_var=no + ;; + *) + hardcode_direct=yes + hardcode_direct_absolute=yes + export_dynamic_flag_spec='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + # Try to use the -exported_symbol ld option, if it does not + # work, assume that -exports_file does not work either and + # implicitly export all symbols. + # This should be the same for all languages, so no per-tag cache variable. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 +$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } +if ${lt_cv_irix_exported_symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int foo (void) { return 0; } +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + lt_cv_irix_exported_symbol=yes +else + lt_cv_irix_exported_symbol=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$save_LDFLAGS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 +$as_echo "$lt_cv_irix_exported_symbol" >&6; } + if test "$lt_cv_irix_exported_symbol" = yes; then + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' + fi + else + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' + fi + archive_cmds_need_lc='no' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + inherit_rpath=yes + link_all_deplibs=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + newsos6) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_shlibpath_var=no + ;; + + *nto* | *qnx*) + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + hardcode_direct=yes + hardcode_shlibpath_var=no + hardcode_direct_absolute=yes + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac + fi + else + ld_shlibs=no + fi + ;; + + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + allow_undefined_flag=unsupported + archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + fi + archive_cmds_need_lc='no' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec='-rpath $libdir' + fi + archive_cmds_need_lc='no' + hardcode_libdir_separator=: + ;; + + solaris*) + no_undefined_flag=' -z defs' + if test "$GCC" = yes; then + wlarc='${wl}' + archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + else + case `$CC -V 2>&1` in + *"Compilers 5.0"*) + wlarc='' + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' + ;; + *) + wlarc='${wl}' + archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + ;; + esac + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_shlibpath_var=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. GCC discards it without `$wl', + # but is careful enough not to reorder. + # Supported since Solaris 2.6 (maybe 2.5.1?) + if test "$GCC" = yes; then + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + else + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' + fi + ;; + esac + link_all_deplibs=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds='$CC -r -o $output$reload_objs' + hardcode_direct=no + ;; + motorola) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv4.3*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs=yes + fi + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) + no_undefined_flag='${wl}-z,text' + archive_cmds_need_lc=no + hardcode_shlibpath_var=no + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + no_undefined_flag='${wl}-z,text' + allow_undefined_flag='${wl}-z,nodefs' + archive_cmds_need_lc=no + hardcode_shlibpath_var=no + hardcode_libdir_flag_spec='${wl}-R,$libdir' + hardcode_libdir_separator=':' + link_all_deplibs=yes + export_dynamic_flag_spec='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + uts4*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + *) + ld_shlibs=no + ;; + esac + + if test x$host_vendor = xsni; then + case $host in + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + export_dynamic_flag_spec='${wl}-Blargedynsym' + ;; + esac + fi + fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 +$as_echo "$ld_shlibs" >&6; } +test "$ld_shlibs" = no && can_build_shared=no + +with_gnu_ld=$with_gnu_ld + + + + + + + + + + + + + + + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } +if ${lt_cv_archive_cmds_need_lc+:} false; then : + $as_echo_n "(cached) " >&6 +else + $RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl + pic_flag=$lt_prog_compiler_pic + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag + allow_undefined_flag= + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + then + lt_cv_archive_cmds_need_lc=no + else + lt_cv_archive_cmds_need_lc=yes + fi + allow_undefined_flag=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 +$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } + archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc + ;; + esac + fi + ;; +esac + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 +$as_echo_n "checking dynamic linker characteristics... " >&6; } + +if test "$GCC" = yes; then + case $host_os in + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; + *) lt_awk_arg="/^libraries:/" ;; + esac + case $host_os in + mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; + *) lt_sed_strip_eq="s,=/,/,g" ;; + esac + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` + case $lt_search_path_spec in + *\;*) + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` + ;; + *) + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` + ;; + esac + # Ok, now we have the path, separated by spaces, we can step through it + # and add multilib dir if necessary. + lt_tmp_lt_search_path_spec= + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` + for lt_sys_path in $lt_search_path_spec; do + if test -d "$lt_sys_path/$lt_multi_os_dir"; then + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" + else + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' +BEGIN {RS=" "; FS="/|\n";} { + lt_foo=""; + lt_count=0; + for (lt_i = NF; lt_i > 0; lt_i--) { + if ($lt_i != "" && $lt_i != ".") { + if ($lt_i == "..") { + lt_count++; + } else { + if (lt_count == 0) { + lt_foo="/" $lt_i lt_foo; + } else { + lt_count--; + } + } + } + } + if (lt_foo != "") { lt_freq[lt_foo]++; } + if (lt_freq[lt_foo] == 1) { print lt_foo; } +}'` + # AWK program above erroneously prepends '/' to C:/dos/paths + # for these hosts. + case $host_os in + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ + $SED 's,/\([A-Za-z]:\),\1,g'` ;; + esac + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix[4-9]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib<name>.so + # instead of lib<name>.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + case $host_cpu in + powerpc) + # Since July 2007 AmigaOS4 officially supports .so libraries. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + ;; + m68k) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + esac + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[45]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32* | cegcc*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$cc_basename in + yes,*) + # gcc + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; + fi' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + ;; + esac + dynamic_linker='Win32 ld.exe' + ;; + + *,cl*) + # Native MSVC + libname_spec='$name' + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + library_names_spec='${libname}.dll.lib' + + case $build_os in + mingw*) + sys_lib_search_path_spec= + lt_save_ifs=$IFS + IFS=';' + for lt_path in $LIB + do + IFS=$lt_save_ifs + # Let DOS variable expansion print the short 8.3 style file name. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" + done + IFS=$lt_save_ifs + # Convert to MSYS style. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` + ;; + cygwin*) + # Convert to unix form, then to dos form, then back to unix form + # but this time dos style (no spaces!) so that the unix form looks + # like /cygdrive/c/PROGRA~1:/cygdr... + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + ;; + *) + sys_lib_search_path_spec="$LIB" + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # FIXME: find the short name or the path components, as spaces are + # common. (e.g. "Program Files" -> "PROGRA~1") + ;; + esac + + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + dynamic_linker='Win32 link.exe' + ;; + + *) + # Assume MSVC wrapper + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + dynamic_linker='Win32 ld.exe' + ;; + esac + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[23].*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2.*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +haiku*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + dynamic_linker="$host_os runtime_loader" + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LIBRARY_PATH + shlibpath_overrides_runpath=yes + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555, ... + postinstall_cmds='chmod 555 $lib' + # or fails outright, so override atomically: + install_override_mode=555 + ;; + +interix[3-9]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux # correct to gnu/linux during the next big refactor + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + + # Some binutils ld are patched to set DT_RUNPATH + if ${lt_cv_shlibpath_overrides_runpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_shlibpath_overrides_runpath=no + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : + lt_cv_shlibpath_overrides_runpath=yes +fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + +fi + + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath + + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # Add ABI-specific directories to the system library path. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" + + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +*nto* | *qnx*) + version_type=qnx + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='ldqnx.so' + ;; + +openbsd*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=freebsd-elf + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + if test "$with_gnu_ld" = yes; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +tpf*) + # TPF is a cross-target only. Preferred cross-host = GNU/Linux. + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +uts4*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 +$as_echo "$dynamic_linker" >&6; } +test "$dynamic_linker" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" +fi +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; } +hardcode_action= +if test -n "$hardcode_libdir_flag_spec" || + test -n "$runpath_var" || + test "X$hardcode_automatic" = "Xyes" ; then + + # We can hardcode non-existent directories. + if test "$hardcode_direct" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && + test "$hardcode_minus_L" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action=unsupported +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 +$as_echo "$hardcode_action" >&6; } + +if test "$hardcode_action" = relink || + test "$inherit_rpath" = yes; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + + + + + + + if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32* | cegcc*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if ${ac_cv_lib_dl_dlopen+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = xyes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" +if test "x$ac_cv_func_shl_load" = xyes; then : + lt_cv_dlopen="shl_load" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 +$as_echo_n "checking for shl_load in -ldld... " >&6; } +if ${ac_cv_lib_dld_shl_load+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char shl_load (); +int +main () +{ +return shl_load (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dld_shl_load=yes +else + ac_cv_lib_dld_shl_load=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 +$as_echo "$ac_cv_lib_dld_shl_load" >&6; } +if test "x$ac_cv_lib_dld_shl_load" = xyes; then : + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" +else + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" +if test "x$ac_cv_func_dlopen" = xyes; then : + lt_cv_dlopen="dlopen" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if ${ac_cv_lib_dl_dlopen+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = xyes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 +$as_echo_n "checking for dlopen in -lsvld... " >&6; } +if ${ac_cv_lib_svld_dlopen+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_svld_dlopen=yes +else + ac_cv_lib_svld_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 +$as_echo "$ac_cv_lib_svld_dlopen" >&6; } +if test "x$ac_cv_lib_svld_dlopen" = xyes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 +$as_echo_n "checking for dld_link in -ldld... " >&6; } +if ${ac_cv_lib_dld_dld_link+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dld_link (); +int +main () +{ +return dld_link (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dld_dld_link=yes +else + ac_cv_lib_dld_dld_link=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 +$as_echo "$ac_cv_lib_dld_dld_link" >&6; } +if test "x$ac_cv_lib_dld_dld_link" = xyes; then : + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 +$as_echo_n "checking whether a program can dlopen itself... " >&6; } +if ${lt_cv_dlopen_self+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +#line $LINENO "configure" +#include "confdefs.h" + +#if HAVE_DLFCN_H +#include <dlfcn.h> +#endif + +#include <stdio.h> + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif + +int fnord () { return 42; } +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } + /* dlclose (self); */ + } + else + puts (dlerror ()); + + return status; +} +_LT_EOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 +$as_echo "$lt_cv_dlopen_self" >&6; } + + if test "x$lt_cv_dlopen_self" = xyes; then + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } +if ${lt_cv_dlopen_self_static+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +#line $LINENO "configure" +#include "confdefs.h" + +#if HAVE_DLFCN_H +#include <dlfcn.h> +#endif + +#include <stdio.h> + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif + +int fnord () { return 42; } +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } + /* dlclose (self); */ + } + else + puts (dlerror ()); + + return status; +} +_LT_EOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 +$as_echo "$lt_cv_dlopen_self_static" >&6; } + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + + + + + + + + + + + + + + + + +striplib= +old_striplib= +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 +$as_echo_n "checking whether stripping libraries is possible... " >&6; } +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + old_striplib="$STRIP -S" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; + esac +fi + + + + + + + + + + + + + # Report which library types will actually be built + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 +$as_echo_n "checking if libtool supports shared libraries... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 +$as_echo "$can_build_shared" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 +$as_echo_n "checking whether to build shared libraries... " >&6; } + test "$can_build_shared" = "no" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + + aix[4-9]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + esac + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 +$as_echo "$enable_shared" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 +$as_echo_n "checking whether to build static libraries... " >&6; } + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 +$as_echo "$enable_static" >&6; } + + + + +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC="$lt_save_CC" + + if test -n "$CXX" && ( test "X$CXX" != "Xno" && + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || + (test "X$CXX" != "Xg++"))) ; then + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 +$as_echo_n "checking how to run the C++ preprocessor... " >&6; } +if test -z "$CXXCPP"; then + if ${ac_cv_prog_CXXCPP+:} false; then : + $as_echo_n "(cached) " >&6 +else + # Double quotes because CXXCPP needs to be expanded + for CXXCPP in "$CXX -E" "/lib/cpp" + do + ac_preproc_ok=false +for ac_cxx_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + # <limits.h> exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include <limits.h> +#else +# include <assert.h> +#endif + Syntax error +_ACEOF +if ac_fn_cxx_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <ac_nonexistent.h> +_ACEOF +if ac_fn_cxx_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + break +fi + + done + ac_cv_prog_CXXCPP=$CXXCPP + +fi + CXXCPP=$ac_cv_prog_CXXCPP +else + ac_cv_prog_CXXCPP=$CXXCPP +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 +$as_echo "$CXXCPP" >&6; } +ac_preproc_ok=false +for ac_cxx_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + # <limits.h> exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include <limits.h> +#else +# include <assert.h> +#endif + Syntax error +_ACEOF +if ac_fn_cxx_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <ac_nonexistent.h> +_ACEOF +if ac_fn_cxx_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check +See \`config.log' for more details" "$LINENO" 5; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +else + _lt_caught_CXX_error=yes +fi + +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + +archive_cmds_need_lc_CXX=no +allow_undefined_flag_CXX= +always_export_symbols_CXX=no +archive_expsym_cmds_CXX= +compiler_needs_object_CXX=no +export_dynamic_flag_spec_CXX= +hardcode_direct_CXX=no +hardcode_direct_absolute_CXX=no +hardcode_libdir_flag_spec_CXX= +hardcode_libdir_separator_CXX= +hardcode_minus_L_CXX=no +hardcode_shlibpath_var_CXX=unsupported +hardcode_automatic_CXX=no +inherit_rpath_CXX=no +module_cmds_CXX= +module_expsym_cmds_CXX= +link_all_deplibs_CXX=unknown +old_archive_cmds_CXX=$old_archive_cmds +reload_flag_CXX=$reload_flag +reload_cmds_CXX=$reload_cmds +no_undefined_flag_CXX= +whole_archive_flag_spec_CXX= +enable_shared_with_static_runtimes_CXX=no + +# Source file extension for C++ test sources. +ac_ext=cpp + +# Object file extension for compiled C++ test sources. +objext=o +objext_CXX=$objext + +# No sense in running all these tests if we already determined that +# the CXX compiler isn't working. Some variables (like enable_shared) +# are currently assumed to apply to all compilers on this platform, +# and will be corrupted by setting them based on a non-working compiler. +if test "$_lt_caught_CXX_error" != yes; then + # Code to be used in simple compile tests + lt_simple_compile_test_code="int some_variable = 0;" + + # Code to be used in simple link tests + lt_simple_link_test_code='int main(int, char *[]) { return(0); }' + + # ltmain only uses $CC for tagged configurations so make sure $CC is set. + + + + + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + + # save warnings/boilerplate of simple test code + ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$RM conftest* + + ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$RM -r conftest* + + + # Allow CC to be a program name with arguments. + lt_save_CC=$CC + lt_save_CFLAGS=$CFLAGS + lt_save_LD=$LD + lt_save_GCC=$GCC + GCC=$GXX + lt_save_with_gnu_ld=$with_gnu_ld + lt_save_path_LD=$lt_cv_path_LD + if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx + else + $as_unset lt_cv_prog_gnu_ld + fi + if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX + else + $as_unset lt_cv_path_LD + fi + test -z "${LDCXX+set}" || LD=$LDCXX + CC=${CXX-"c++"} + CFLAGS=$CXXFLAGS + compiler=$CC + compiler_CXX=$CC + for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` + + + if test -n "$compiler"; then + # We don't want -fno-exception when compiling C++ code, so set the + # no_builtin_flag separately + if test "$GXX" = yes; then + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' + else + lt_prog_compiler_no_builtin_flag_CXX= + fi + + if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 +$as_echo_n "checking for ld used by $CC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | ?:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if ${lt_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in + *GNU* | *'with BFD'*) + test "$with_gnu_ld" != no && break + ;; + *) + test "$with_gnu_ld" != yes && break + ;; + esac + fi + done + IFS="$lt_save_ifs" +else + lt_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$lt_cv_path_LD" +if test -n "$LD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if ${lt_cv_prog_gnu_ld+:} false; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU lds only accept -v. +case `$LD -v 2>&1 </dev/null` in +*GNU* | *'with BFD'*) + lt_cv_prog_gnu_ld=yes + ;; +*) + lt_cv_prog_gnu_ld=no + ;; +esac +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 +$as_echo "$lt_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$lt_cv_prog_gnu_ld + + + + + + + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | + $GREP 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_CXX= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + + else + GXX=no + with_gnu_ld=no + wlarc= + fi + + # PORTME: fill in a description of your system's C++ link characteristics + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + ld_shlibs_CXX=yes + case $host_os in + aix3*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aix[4-9]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_CXX='' + hardcode_direct_CXX=yes + hardcode_direct_absolute_CXX=yes + hardcode_libdir_separator_CXX=':' + link_all_deplibs_CXX=yes + file_list_spec_CXX='${wl}-f,' + + if test "$GXX" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && + strings "$collect2name" | $GREP resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + hardcode_direct_CXX=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_CXX=yes + hardcode_libdir_flag_spec_CXX='-L$libdir' + hardcode_libdir_separator_CXX= + fi + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + export_dynamic_flag_spec_CXX='${wl}-bexpall' + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to + # export. + always_export_symbols_CXX=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_CXX='-berok' + # Determine the default libpath from the value encoded in an empty + # executable. + if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath__CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "$LINENO"; then : + + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath__CXX"; then + lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test -z "$lt_cv_aix_libpath__CXX"; then + lt_cv_aix_libpath__CXX="/usr/lib:/lib" + fi + +fi + + aix_libpath=$lt_cv_aix_libpath__CXX +fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + + archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_CXX="-z nodefs" + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an + # empty executable. + if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath__CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "$LINENO"; then : + + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath__CXX"; then + lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test -z "$lt_cv_aix_libpath__CXX"; then + lt_cv_aix_libpath__CXX="/usr/lib:/lib" + fi + +fi + + aix_libpath=$lt_cv_aix_libpath__CXX +fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_CXX=' ${wl}-bernotok' + allow_undefined_flag_CXX=' ${wl}-berok' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_CXX='$convenience' + fi + archive_cmds_need_lc_CXX=yes + # This is similar to how AIX traditionally builds its shared + # libraries. + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_CXX=unsupported + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_CXX=no + fi + ;; + + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + + cygwin* | mingw* | pw32* | cegcc*) + case $GXX,$cc_basename in + ,cl* | no,cl*) + # Native MSVC + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_CXX=' ' + allow_undefined_flag_CXX=unsupported + always_export_symbols_CXX=yes + file_list_spec_CXX='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' + enable_shared_with_static_runtimes_CXX=yes + # Don't use ranlib + old_postinstall_cmds_CXX='chmod 644 $oldlib' + postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + func_to_tool_file "$lt_outputfile"~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # g++ + # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_CXX='-L$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-all-symbols' + allow_undefined_flag_CXX=unsupported + always_export_symbols_CXX=no + enable_shared_with_static_runtimes_CXX=yes + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + ld_shlibs_CXX=no + fi + ;; + esac + ;; + darwin* | rhapsody*) + + + archive_cmds_need_lc_CXX=no + hardcode_direct_CXX=no + hardcode_automatic_CXX=yes + hardcode_shlibpath_var_CXX=unsupported + if test "$lt_cv_ld_force_load" = "yes"; then + whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' + + else + whole_archive_flag_spec_CXX='' + fi + link_all_deplibs_CXX=yes + allow_undefined_flag_CXX="$_lt_dar_allow_undefined" + case $cc_basename in + ifort*) _lt_dar_can_shared=yes ;; + *) _lt_dar_can_shared=$GCC ;; + esac + if test "$_lt_dar_can_shared" = "yes"; then + output_verbose_link_cmd=func_echo_all + archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" + module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" + archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" + module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + if test "$lt_cv_apple_cc_single_mod" != "yes"; then + archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" + archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" + fi + + else + ld_shlibs_CXX=no + fi + + ;; + + dgux*) + case $cc_basename in + ec++*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + ghcx*) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + + freebsd2.*) + # C++ shared libraries reported to be fairly broken before + # switch to ELF + ld_shlibs_CXX=no + ;; + + freebsd-elf*) + archive_cmds_need_lc_CXX=no + ;; + + freebsd* | dragonfly*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + ld_shlibs_CXX=yes + ;; + + gnu*) + ;; + + haiku*) + archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + link_all_deplibs_CXX=yes + ;; + + hpux9*) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + export_dynamic_flag_spec_CXX='${wl}-E' + hardcode_direct_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC*) + archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + ;; + *) + if test "$GXX" = yes; then + archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + case $host_cpu in + hppa*64*|ia64*) + ;; + *) + export_dynamic_flag_spec_CXX='${wl}-E' + ;; + esac + fi + case $host_cpu in + hppa*64*|ia64*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + ;; + *) + hardcode_direct_CXX=yes + hardcode_direct_absolute_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC*) + case $host_cpu in + hppa*64*) + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case $host_cpu in + hppa*64*) + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + + interix[3-9]*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + irix5* | irix6*) + case $cc_basename in + CC*) + # SGI C++ + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' + fi + fi + link_all_deplibs_CXX=yes + ;; + esac + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + inherit_rpath_CXX=yes + ;; + + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc* | ecpc* ) + # Intel C++ + with_gnu_ld=yes + # version 8.0 and above of icpc choke on multiply defined symbols + # if we add $predep_objects and $postdep_objects, however 7.1 and + # earlier do not add the objects themselves. + case `$CC -V 2>&1` in + *"Version 7."*) + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + *) # Version 8.0 or newer + tmp_idyn= + case $host_cpu in + ia64*) tmp_idyn=' -i_dynamic';; + esac + archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + esac + archive_cmds_need_lc_CXX=no + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + pgCC* | pgcpp*) + # Portland Group C++ compiler + case `$CC -V` in + *pgCC\ [1-5].* | *pgcpp\ [1-5].*) + prelink_cmds_CXX='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ + compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' + old_archive_cmds_CXX='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ + $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ + $RANLIB $oldlib' + archive_cmds_CXX='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + archive_expsym_cmds_CXX='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + ;; + *) # Version 6 and above use weak symbols + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + ;; + esac + + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + ;; + cxx*) + # Compaq C++ + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' + ;; + xl* | mpixl* | bgxl*) + # IBM XL 8.0 on PPC, with GNU ld + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + if test "x$supports_anon_versioning" = xyes; then + archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + no_undefined_flag_CXX=' -zdefs' + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' + hardcode_libdir_flag_spec_CXX='-R$libdir' + whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + compiler_needs_object_CXX=yes + + # Not sure whether something based on + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 + # would be better. + output_verbose_link_cmd='func_echo_all' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' + ;; + esac + ;; + esac + ;; + + lynxos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + + m88k*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + + mvs*) + case $cc_basename in + cxx*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_direct_CXX=yes + hardcode_shlibpath_var_CXX=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + + *nto* | *qnx*) + ld_shlibs_CXX=yes + ;; + + openbsd2*) + # C++ shared libraries are fairly broken + ld_shlibs_CXX=no + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + hardcode_direct_CXX=yes + hardcode_shlibpath_var_CXX=no + hardcode_direct_absolute_CXX=yes + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' + export_dynamic_flag_spec_CXX='${wl}-E' + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + fi + output_verbose_link_cmd=func_echo_all + else + ld_shlibs_CXX=no + fi + ;; + + osf3* | osf4* | osf5*) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + hardcode_libdir_separator_CXX=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + case $host in + osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; + *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; + esac + ;; + RCC*) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + cxx*) + case $host in + osf3*) + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + ;; + *) + allow_undefined_flag_CXX=' -expect_unresolved \*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~ + $RM $lib.exp' + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + ;; + esac + + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + case $host in + osf3*) + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + ;; + *) + archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + ;; + esac + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + + psos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + lcc*) + # Lucid + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + + solaris*) + case $cc_basename in + CC* | sunCC*) + # Sun C++ 4.2, 5.x and Centerline C++ + archive_cmds_need_lc_CXX=yes + no_undefined_flag_CXX=' -zdefs' + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_shlibpath_var_CXX=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. + # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' + ;; + esac + link_all_deplibs_CXX=yes + + output_verbose_link_cmd='func_echo_all' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' + ;; + gcx*) + # Green Hills C++ Compiler + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + no_undefined_flag_CXX=' ${wl}-z ${wl}defs' + if $CC --version | $GREP -v '^2\.7' > /dev/null; then + archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + fi + + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + fi + ;; + esac + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) + no_undefined_flag_CXX='${wl}-z,text' + archive_cmds_need_lc_CXX=no + hardcode_shlibpath_var_CXX=no + runpath_var='LD_RUN_PATH' + + case $cc_basename in + CC*) + archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + no_undefined_flag_CXX='${wl}-z,text' + allow_undefined_flag_CXX='${wl}-z,nodefs' + archive_cmds_need_lc_CXX=no + hardcode_shlibpath_var_CXX=no + hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir' + hardcode_libdir_separator_CXX=':' + link_all_deplibs_CXX=yes + export_dynamic_flag_spec_CXX='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + case $cc_basename in + CC*) + archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ + '"$old_archive_cmds_CXX" + reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ + '"$reload_cmds_CXX" + ;; + *) + archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + + vxworks*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 +$as_echo "$ld_shlibs_CXX" >&6; } + test "$ld_shlibs_CXX" = no && can_build_shared=no + + GCC_CXX="$GXX" + LD_CXX="$LD" + + ## CAVEAT EMPTOR: + ## There is no encapsulation within the following macros, do not change + ## the running order or otherwise move them around unless you know exactly + ## what you are doing... + # Dependencies to place before and after the object being linked: +predep_objects_CXX= +postdep_objects_CXX= +predeps_CXX= +postdeps_CXX= +compiler_lib_search_path_CXX= + +cat > conftest.$ac_ext <<_LT_EOF +class Foo +{ +public: + Foo (void) { a = 0; } +private: + int a; +}; +_LT_EOF + + +_lt_libdeps_save_CFLAGS=$CFLAGS +case "$CC $CFLAGS " in #( +*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; +*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; +*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; +esac + +if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + # Parse the compiler output and extract the necessary + # objects, libraries and library flags. + + # Sentinel used to keep track of whether or not we are before + # the conftest object file. + pre_test_object_deps_done=no + + for p in `eval "$output_verbose_link_cmd"`; do + case ${prev}${p} in + + -L* | -R* | -l*) + # Some compilers place space between "-{L,R}" and the path. + # Remove the space. + if test $p = "-L" || + test $p = "-R"; then + prev=$p + continue + fi + + # Expand the sysroot to ease extracting the directories later. + if test -z "$prev"; then + case $p in + -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; + -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; + -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; + esac + fi + case $p in + =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; + esac + if test "$pre_test_object_deps_done" = no; then + case ${prev} in + -L | -R) + # Internal compiler library paths should come after those + # provided the user. The postdeps already come after the + # user supplied libs so there is no need to process them. + if test -z "$compiler_lib_search_path_CXX"; then + compiler_lib_search_path_CXX="${prev}${p}" + else + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" + fi + ;; + # The "-l" case would never come before the object being + # linked, so don't bother handling this case. + esac + else + if test -z "$postdeps_CXX"; then + postdeps_CXX="${prev}${p}" + else + postdeps_CXX="${postdeps_CXX} ${prev}${p}" + fi + fi + prev= + ;; + + *.lto.$objext) ;; # Ignore GCC LTO objects + *.$objext) + # This assumes that the test object file only shows up + # once in the compiler output. + if test "$p" = "conftest.$objext"; then + pre_test_object_deps_done=yes + continue + fi + + if test "$pre_test_object_deps_done" = no; then + if test -z "$predep_objects_CXX"; then + predep_objects_CXX="$p" + else + predep_objects_CXX="$predep_objects_CXX $p" + fi + else + if test -z "$postdep_objects_CXX"; then + postdep_objects_CXX="$p" + else + postdep_objects_CXX="$postdep_objects_CXX $p" + fi + fi + ;; + + *) ;; # Ignore the rest. + + esac + done + + # Clean up. + rm -f a.out a.exe +else + echo "libtool.m4: error: problem compiling CXX test program" +fi + +$RM -f confest.$objext +CFLAGS=$_lt_libdeps_save_CFLAGS + +# PORTME: override above test on systems where it is broken +case $host_os in +interix[3-9]*) + # Interix 3.5 installs completely hosed .la files for C++, so rather than + # hack all around it, let's just trust "g++" to DTRT. + predep_objects_CXX= + postdep_objects_CXX= + postdeps_CXX= + ;; + +linux*) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + + # The more standards-conforming stlport4 library is + # incompatible with the Cstd library. Avoid specifying + # it if it's in CXXFLAGS. Ignore libCrun as + # -library=stlport4 depends on it. + case " $CXX $CXXFLAGS " in + *" -library=stlport4 "*) + solaris_use_stlport4=yes + ;; + esac + + if test "$solaris_use_stlport4" != yes; then + postdeps_CXX='-library=Cstd -library=Crun' + fi + ;; + esac + ;; + +solaris*) + case $cc_basename in + CC* | sunCC*) + # The more standards-conforming stlport4 library is + # incompatible with the Cstd library. Avoid specifying + # it if it's in CXXFLAGS. Ignore libCrun as + # -library=stlport4 depends on it. + case " $CXX $CXXFLAGS " in + *" -library=stlport4 "*) + solaris_use_stlport4=yes + ;; + esac + + # Adding this requires a known-good setup of shared libraries for + # Sun compiler versions before 5.6, else PIC objects from an old + # archive will be linked into the output, leading to subtle bugs. + if test "$solaris_use_stlport4" != yes; then + postdeps_CXX='-library=Cstd -library=Crun' + fi + ;; + esac + ;; +esac + + +case " $postdeps_CXX " in +*" -lc "*) archive_cmds_need_lc_CXX=no ;; +esac + compiler_lib_search_dirs_CXX= +if test -n "${compiler_lib_search_path_CXX}"; then + compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + lt_prog_compiler_wl_CXX= +lt_prog_compiler_pic_CXX= +lt_prog_compiler_static_CXX= + + + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + lt_prog_compiler_pic_CXX='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | cygwin* | os2* | pw32* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + lt_prog_compiler_pic_CXX='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_CXX='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + lt_prog_compiler_pic_CXX= + ;; + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + lt_prog_compiler_static_CXX= + ;; + interix[3-9]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_CXX=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + ;; + *qnx* | *nto*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + lt_prog_compiler_pic_CXX='-fPIC -shared' + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + else + case $host_os in + aix[4-9]*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + else + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68*) + # Green Hills C++ Compiler + # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + mingw* | cygwin* | os2* | pw32* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_CXX='-DDLL_EXPORT' + ;; + dgux*) + case $cc_basename in + ec++*) + lt_prog_compiler_pic_CXX='-KPIC' + ;; + ghcx*) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + freebsd* | dragonfly*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC*) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' + if test "$host_cpu" != ia64; then + lt_prog_compiler_pic_CXX='+Z' + fi + ;; + aCC*) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_CXX='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + interix*) + # This is c89, which is MS Visual C++ (no shared libs) + # Anyone wants to do a port? + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC*) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + KCC*) + # KAI C++ Compiler + lt_prog_compiler_wl_CXX='--backend -Wl,' + lt_prog_compiler_pic_CXX='-fPIC' + ;; + ecpc* ) + # old Intel C++ for x86_64 which still supported -KPIC. + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-static' + ;; + icpc* ) + # Intel C++, used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-fPIC' + lt_prog_compiler_static_CXX='-static' + ;; + pgCC* | pgcpp*) + # Portland Group C++ compiler + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-fpic' + lt_prog_compiler_static_CXX='-Bstatic' + ;; + cxx*) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) + # IBM XL 8.0, 9.0 on PPC and BlueGene + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-qpic' + lt_prog_compiler_static_CXX='-qstaticlink' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-Bstatic' + lt_prog_compiler_wl_CXX='-Qoption ld ' + ;; + esac + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx*) + lt_prog_compiler_pic_CXX='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + *qnx* | *nto*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + lt_prog_compiler_pic_CXX='-fPIC -shared' + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC*) + lt_prog_compiler_wl_CXX='--backend -Wl,' + ;; + RCC*) + # Rational C++ 2.4.1 + lt_prog_compiler_pic_CXX='-pic' + ;; + cxx*) + # Digital/Compaq C++ + lt_prog_compiler_wl_CXX='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + solaris*) + case $cc_basename in + CC* | sunCC*) + # Sun C++ 4.2, 5.x and Centerline C++ + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-Bstatic' + lt_prog_compiler_wl_CXX='-Qoption ld ' + ;; + gcx*) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + lt_prog_compiler_pic_CXX='-pic' + lt_prog_compiler_static_CXX='-Bstatic' + ;; + lcc*) + # Lucid + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + case $cc_basename in + CC*) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-Bstatic' + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + lt_prog_compiler_pic_CXX='-KPIC' + ;; + *) + ;; + esac + ;; + vxworks*) + ;; + *) + lt_prog_compiler_can_build_shared_CXX=no + ;; + esac + fi + +case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_CXX= + ;; + *) + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" + ;; +esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } +if ${lt_cv_prog_compiler_pic_CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 +$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } +lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_CXX"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } +if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_pic_works_CXX=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_pic_works_CXX=yes + fi + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 +$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } + +if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then + case $lt_prog_compiler_pic_CXX in + "" | " "*) ;; + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; + esac +else + lt_prog_compiler_pic_CXX= + lt_prog_compiler_can_build_shared_CXX=no +fi + +fi + + + + + +# +# Check to make sure the static flag actually works. +# +wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } +if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_static_works_CXX=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_static_works_CXX=yes + fi + else + lt_cv_prog_compiler_static_works_CXX=yes + fi + fi + $RM -r conftest* + LDFLAGS="$save_LDFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 +$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } + +if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then + : +else + lt_prog_compiler_static_CXX= +fi + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o_CXX=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o_CXX=yes + fi + fi + chmod u+w . 2>&5 + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 +$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o_CXX=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o_CXX=yes + fi + fi + chmod u+w . 2>&5 + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 +$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } + + + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 +$as_echo_n "checking if we can lock with hard links... " >&6; } + hard_links=yes + $RM conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 +$as_echo "$hard_links" >&6; } + if test "$hard_links" = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' + case $host_os in + aix[4-9]*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global defined + # symbols, whereas GNU nm marks them as "W". + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + export_symbols_cmds_CXX="$ltdll_cmds" + ;; + cygwin* | mingw* | cegcc*) + case $cc_basename in + cl*) + exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' + ;; + *) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' + exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' + ;; + esac + ;; + *) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 +$as_echo "$ld_shlibs_CXX" >&6; } +test "$ld_shlibs_CXX" = no && can_build_shared=no + +with_gnu_ld_CXX=$with_gnu_ld + + + + + + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_CXX" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_CXX=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_CXX in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } +if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + $RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_CXX + pic_flag=$lt_prog_compiler_pic_CXX + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX + allow_undefined_flag_CXX= + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 + (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + then + lt_cv_archive_cmds_need_lc_CXX=no + else + lt_cv_archive_cmds_need_lc_CXX=yes + fi + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 +$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } + archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX + ;; + esac + fi + ;; +esac + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 +$as_echo_n "checking dynamic linker characteristics... " >&6; } + +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix[4-9]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib<name>.so + # instead of lib<name>.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + case $host_cpu in + powerpc) + # Since July 2007 AmigaOS4 officially supports .so libraries. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + ;; + m68k) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + esac + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[45]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32* | cegcc*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$cc_basename in + yes,*) + # gcc + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; + fi' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + ;; + esac + dynamic_linker='Win32 ld.exe' + ;; + + *,cl*) + # Native MSVC + libname_spec='$name' + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + library_names_spec='${libname}.dll.lib' + + case $build_os in + mingw*) + sys_lib_search_path_spec= + lt_save_ifs=$IFS + IFS=';' + for lt_path in $LIB + do + IFS=$lt_save_ifs + # Let DOS variable expansion print the short 8.3 style file name. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" + done + IFS=$lt_save_ifs + # Convert to MSYS style. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` + ;; + cygwin*) + # Convert to unix form, then to dos form, then back to unix form + # but this time dos style (no spaces!) so that the unix form looks + # like /cygdrive/c/PROGRA~1:/cygdr... + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + ;; + *) + sys_lib_search_path_spec="$LIB" + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # FIXME: find the short name or the path components, as spaces are + # common. (e.g. "Program Files" -> "PROGRA~1") + ;; + esac + + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + dynamic_linker='Win32 link.exe' + ;; + + *) + # Assume MSVC wrapper + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + dynamic_linker='Win32 ld.exe' + ;; + esac + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[23].*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2.*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +haiku*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + dynamic_linker="$host_os runtime_loader" + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LIBRARY_PATH + shlibpath_overrides_runpath=yes + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555, ... + postinstall_cmds='chmod 555 $lib' + # or fails outright, so override atomically: + install_override_mode=555 + ;; + +interix[3-9]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux # correct to gnu/linux during the next big refactor + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + + # Some binutils ld are patched to set DT_RUNPATH + if ${lt_cv_shlibpath_overrides_runpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_shlibpath_overrides_runpath=no + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "$LINENO"; then : + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : + lt_cv_shlibpath_overrides_runpath=yes +fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + +fi + + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath + + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # Add ABI-specific directories to the system library path. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" + + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +*nto* | *qnx*) + version_type=qnx + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='ldqnx.so' + ;; + +openbsd*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=freebsd-elf + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + if test "$with_gnu_ld" = yes; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +tpf*) + # TPF is a cross-target only. Preferred cross-host = GNU/Linux. + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +uts4*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 +$as_echo "$dynamic_linker" >&6; } +test "$dynamic_linker" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" +fi +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; } +hardcode_action_CXX= +if test -n "$hardcode_libdir_flag_spec_CXX" || + test -n "$runpath_var_CXX" || + test "X$hardcode_automatic_CXX" = "Xyes" ; then + + # We can hardcode non-existent directories. + if test "$hardcode_direct_CXX" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && + test "$hardcode_minus_L_CXX" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_CXX=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_CXX=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_CXX=unsupported +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 +$as_echo "$hardcode_action_CXX" >&6; } + +if test "$hardcode_action_CXX" = relink || + test "$inherit_rpath_CXX" = yes; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + + + + + + + + fi # test -n "$compiler" + + CC=$lt_save_CC + CFLAGS=$lt_save_CFLAGS + LDCXX=$LD + LD=$lt_save_LD + GCC=$lt_save_GCC + with_gnu_ld=$lt_save_with_gnu_ld + lt_cv_path_LDCXX=$lt_cv_path_LD + lt_cv_path_LD=$lt_save_path_LD + lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld + lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld +fi # test "$_lt_caught_CXX_error" != yes + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + + + + + + + + + + + + + + ac_config_commands="$ac_config_commands libtool" + + + + +# Only expand once: + + +if test "x$CC" != xcc; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 +$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 +$as_echo_n "checking whether cc understands -c and -o together... " >&6; } +fi +set dummy $CC; ac_cc=`$as_echo "$2" | + sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +# Make sure it works both with $CC and with simple cc. +# We do the test twice because some compilers refuse to overwrite an +# existing .o file with -o, though they will create one. +ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' +rm -f conftest2.* +if { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && + test -f conftest2.$ac_objext && { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; +then + eval ac_cv_prog_cc_${ac_cc}_c_o=yes + if test "x$CC" != xcc; then + # Test first that cc exists at all. + if { ac_try='cc -c conftest.$ac_ext >&5' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' + rm -f conftest2.* + if { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && + test -f conftest2.$ac_objext && { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; + then + # cc works too. + : + else + # cc exists but doesn't like -o. + eval ac_cv_prog_cc_${ac_cc}_c_o=no + fi + fi + fi +else + eval ac_cv_prog_cc_${ac_cc}_c_o=no +fi +rm -f core conftest* + +fi +if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h + +fi + +# FIXME: we rely on the cache variable name because +# there is no other way. +set dummy $CC +am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o +if test "$am_t" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 +$as_echo_n "checking whether byte ordering is bigendian... " >&6; } +if ${ac_cv_c_bigendian+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_c_bigendian=unknown + # See if we're dealing with a universal compiler. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __APPLE_CC__ + not a universal capable compiler + #endif + typedef int dummy; + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + # Check for potential -arch flags. It is not universal unless + # there are at least two -arch flags with different values. + ac_arch= + ac_prev= + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do + if test -n "$ac_prev"; then + case $ac_word in + i?86 | x86_64 | ppc | ppc64) + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then + ac_arch=$ac_word + else + ac_cv_c_bigendian=universal + break + fi + ;; + esac + ac_prev= + elif test "x$ac_word" = "x-arch"; then + ac_prev=arch + fi + done +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if test $ac_cv_c_bigendian = unknown; then + # See if sys/param.h defines the BYTE_ORDER macro. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <sys/types.h> + #include <sys/param.h> + +int +main () +{ +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ + && LITTLE_ENDIAN) + bogus endian macros + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + # It does; now see whether it defined to BIG_ENDIAN or not. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <sys/types.h> + #include <sys/param.h> + +int +main () +{ +#if BYTE_ORDER != BIG_ENDIAN + not big endian + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_bigendian=yes +else + ac_cv_c_bigendian=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <limits.h> + +int +main () +{ +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) + bogus endian macros + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + # It does; now see whether it defined to _BIG_ENDIAN or not. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <limits.h> + +int +main () +{ +#ifndef _BIG_ENDIAN + not big endian + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_bigendian=yes +else + ac_cv_c_bigendian=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # Compile a test program. + if test "$cross_compiling" = yes; then : + # Try to guess by grepping values from an object file. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +short int ascii_mm[] = + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; + short int ascii_ii[] = + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; + int use_ascii (int i) { + return ascii_mm[i] + ascii_ii[i]; + } + short int ebcdic_ii[] = + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; + short int ebcdic_mm[] = + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; + int use_ebcdic (int i) { + return ebcdic_mm[i] + ebcdic_ii[i]; + } + extern int foo; + +int +main () +{ +return use_ascii (foo) == use_ebcdic (foo); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then + ac_cv_c_bigendian=yes + fi + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then + if test "$ac_cv_c_bigendian" = unknown; then + ac_cv_c_bigendian=no + else + # finding both strings is unlikely to happen, but who knows? + ac_cv_c_bigendian=unknown + fi + fi +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ + + /* Are we little or big endian? From Harbison&Steele. */ + union + { + long int l; + char c[sizeof (long int)]; + } u; + u.l = 1; + return u.c[sizeof (long int) - 1] == 1; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_c_bigendian=no +else + ac_cv_c_bigendian=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 +$as_echo "$ac_cv_c_bigendian" >&6; } + case $ac_cv_c_bigendian in #( + yes) + $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h +;; #( + no) + ;; #( + universal) + +$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h + + ;; #( + *) + as_fn_error $? "unknown endianness + presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; + esac + +for ac_prog in python2 python +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PYTHON+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PYTHON in + [\\/]* | ?:[\\/]*) + ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PYTHON=$ac_cv_path_PYTHON +if test -n "$PYTHON"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 +$as_echo "$PYTHON" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$PYTHON" && break +done + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=0.9.0 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + +for ac_header in sys/time.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_time_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SYS_TIME_H 1 +_ACEOF + +fi + +done + +for ac_header in execinfo.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default" +if test "x$ac_cv_header_execinfo_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_EXECINFO_H 1 +_ACEOF + +fi + +done + +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" +if test "x$ac_cv_type_size_t" = xyes; then : + +else + +cat >>confdefs.h <<_ACEOF +#define size_t unsigned int +_ACEOF + +fi + +# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works +# for constant arguments. Useless! +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 +$as_echo_n "checking for working alloca.h... " >&6; } +if ${ac_cv_working_alloca_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <alloca.h> +int +main () +{ +char *p = (char *) alloca (2 * sizeof (int)); + if (p) return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_working_alloca_h=yes +else + ac_cv_working_alloca_h=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 +$as_echo "$ac_cv_working_alloca_h" >&6; } +if test $ac_cv_working_alloca_h = yes; then + +$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 +$as_echo_n "checking for alloca... " >&6; } +if ${ac_cv_func_alloca_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __GNUC__ +# define alloca __builtin_alloca +#else +# ifdef _MSC_VER +# include <malloc.h> +# define alloca _alloca +# else +# ifdef HAVE_ALLOCA_H +# include <alloca.h> +# else +# ifdef _AIX + #pragma alloca +# else +# ifndef alloca /* predefined by HP cc +Olibcalls */ +void *alloca (size_t); +# endif +# endif +# endif +# endif +#endif + +int +main () +{ +char *p = (char *) alloca (1); + if (p) return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_func_alloca_works=yes +else + ac_cv_func_alloca_works=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 +$as_echo "$ac_cv_func_alloca_works" >&6; } + +if test $ac_cv_func_alloca_works = yes; then + +$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h + +else + # The SVR3 libPW and SVR4 libucb both contain incompatible functions +# that cause trouble. Some versions do not even contain alloca or +# contain a buggy version. If you still want to use their alloca, +# use ar to extract alloca.o from them instead of compiling alloca.c. + +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext + +$as_echo "#define C_ALLOCA 1" >>confdefs.h + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 +$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } +if ${ac_cv_os_cray+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#if defined CRAY && ! defined CRAY2 +webecray +#else +wenotbecray +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "webecray" >/dev/null 2>&1; then : + ac_cv_os_cray=yes +else + ac_cv_os_cray=no +fi +rm -f conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 +$as_echo "$ac_cv_os_cray" >&6; } +if test $ac_cv_os_cray = yes; then + for ac_func in _getb67 GETB67 getb67; do + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + +cat >>confdefs.h <<_ACEOF +#define CRAY_STACKSEG_END $ac_func +_ACEOF + + break +fi + + done +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 +$as_echo_n "checking stack direction for C alloca... " >&6; } +if ${ac_cv_c_stack_direction+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + ac_cv_c_stack_direction=0 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +find_stack_direction (int *addr, int depth) +{ + int dir, dummy = 0; + if (! addr) + addr = &dummy; + *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; + dir = depth ? find_stack_direction (addr, depth - 1) : 0; + return dir + dummy; +} + +int +main (int argc, char **argv) +{ + return find_stack_direction (0, argc + !argv + 20) < 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_c_stack_direction=1 +else + ac_cv_c_stack_direction=-1 +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 +$as_echo "$ac_cv_c_stack_direction" >&6; } +cat >>confdefs.h <<_ACEOF +#define STACK_DIRECTION $ac_cv_c_stack_direction +_ACEOF + + +fi + + + +$as_echo "#define __STDC_FORMAT_MACROS /**/" >>confdefs.h + + +SPICE_LT_VERSION="7:0:6" + + +# Check for the CPU we are using +# +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86" >&5 +$as_echo_n "checking for x86... " >&6; } +case $host_cpu in + i386|i486|i586|i686|i786|k6|k7|armv6|armv6l|armv6hl|armv7|armv7l|armv7hl) + variant=32 + ;; + x86_64) + variant=64 + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + echo Only x86 and x86-64 are supported + exit 1 +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $variant bit" >&5 +$as_echo "$variant bit" >&6; } + if test "$variant" = 64; then + X86_64_TRUE= + X86_64_FALSE='#' +else + X86_64_TRUE='#' + X86_64_FALSE= +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5 +$as_echo_n "checking for native Win32... " >&6; } +case "$host" in + *-*-mingw*) + os_win32=yes + ;; + *) + os_win32=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5 +$as_echo "$os_win32" >&6; } + +case $host in + *-*-linux*) + os_linux=yes + ;; +esac + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5 +$as_echo_n "checking for some Win32 platform... " >&6; } +case "$host" in + *-*-mingw*|*-*-cygwin*) + platform_win32=yes + ;; + *) + platform_win32=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5 +$as_echo "$platform_win32" >&6; } +if test "$platform_win32" = yes; then + red_target=windows +else + red_target=x11 +fi + + if test "$os_win32" = "yes"; then + OS_WIN32_TRUE= + OS_WIN32_FALSE='#' +else + OS_WIN32_TRUE='#' + OS_WIN32_FALSE= +fi + + if test "$os_win32" != "yes"; then + OS_UNIX_TRUE= + OS_UNIX_FALSE='#' +else + OS_UNIX_TRUE='#' + OS_UNIX_FALSE= +fi + + if test "$os_linux" = "yes"; then + OS_LINUX_TRUE= + OS_LINUX_FALSE='#' +else + OS_LINUX_TRUE='#' + OS_LINUX_FALSE= +fi + + +# Check whether --enable-tunnel was given. +if test "${enable_tunnel+set}" = set; then : + enableval=$enable_tunnel; +else + enable_tunnel="no" +fi + +if test x"$enable_tunnel" != "xno"; then : + enable_tunnel="yes" +fi + if test "x$enable_tunnel" != "xno"; then + SUPPORT_TUNNEL_TRUE= + SUPPORT_TUNNEL_FALSE='#' +else + SUPPORT_TUNNEL_TRUE='#' + SUPPORT_TUNNEL_FALSE= +fi + +if test "x$enable_tunnel" != "xno"; then + +$as_echo "#define USE_TUNNEL 1" >>confdefs.h + +fi + +# Check whether --enable-gui was given. +if test "${enable_gui+set}" = set; then : + enableval=$enable_gui; +else + enable_gui="no" +fi + +if test x"$enable_gui" != "xno"; then : + enable_gui="yes" +fi + if test "x$enable_gui" != "xno"; then + SUPPORT_GUI_TRUE= + SUPPORT_GUI_FALSE='#' +else + SUPPORT_GUI_TRUE='#' + SUPPORT_GUI_FALSE= +fi + + +# Check whether --enable-opengl was given. +if test "${enable_opengl+set}" = set; then : + enableval=$enable_opengl; +else + enable_opengl="no" +fi + +if test x"$enable_opengl" != "xno"; then : + enable_opengl="yes" +fi + if test "x$enable_opengl" = "xyes"; then + SUPPORT_GL_TRUE= + SUPPORT_GL_FALSE='#' +else + SUPPORT_GL_TRUE='#' + SUPPORT_GL_FALSE= +fi + + +# Check whether --enable-maru was given. +if test "${enable_maru+set}" = set; then : + enableval=$enable_maru; +else + enable_maru="no" +fi + +if test x"$enable_maru" != "xno"; then : + enable_maru="yes" +fi + if test "x$enable_maru" = "xyes"; then + SUPPORT_MARU_TRUE= + SUPPORT_MARU_FALSE='#' +else + SUPPORT_MARU_TRUE='#' + SUPPORT_MARU_FALSE= +fi + + +# Check whether --enable-smartcard was given. +if test "${enable_smartcard+set}" = set; then : + enableval=$enable_smartcard; +else + enable_smartcard="no" +fi + +if test x"$enable_smartcard" != "xno"; then : + enable_smartcard="yes" +fi + if test "x$enable_smartcard" != "xno"; then + SUPPORT_SMARTCARD_TRUE= + SUPPORT_SMARTCARD_FALSE='#' +else + SUPPORT_SMARTCARD_TRUE='#' + SUPPORT_SMARTCARD_FALSE= +fi + +if test "x$enable_smartcard" = "xyes"; then + +$as_echo "#define USE_SMARTCARD 1" >>confdefs.h + +fi + +# Check whether --enable-client was given. +if test "${enable_client+set}" = set; then : + enableval=$enable_client; +else + enable_client="no" +fi + +if test x"$enable_client" != "xno"; then : + enable_client="yes" +fi + if test "x$enable_client" = "xyes"; then + SUPPORT_CLIENT_TRUE= + SUPPORT_CLIENT_FALSE='#' +else + SUPPORT_CLIENT_TRUE='#' + SUPPORT_CLIENT_FALSE= +fi + + +# Check whether --enable-automated_tests was given. +if test "${enable_automated_tests+set}" = set; then : + enableval=$enable_automated_tests; +else + enable_automated_tests="no" +fi + +if test x"$enable_automated_tests" != "xno"; then : + enable_automated_tests="yes" +fi + if test "x$enable_automated_tests" != "xno"; then + SUPPORT_AUTOMATED_TESTS_TRUE= + SUPPORT_AUTOMATED_TESTS_FALSE='#' +else + SUPPORT_AUTOMATED_TESTS_TRUE='#' + SUPPORT_AUTOMATED_TESTS_FALSE= +fi + + + + + + +subdirs="$subdirs spice-common" + +COMMON_CFLAGS='-I ${top_srcdir}/../../common/spice-common/ -I ${top_srcdir}/../../common/spice-common/spice-protocol/' +#COMMON_CFLAGS='-I ${top_srcdir}/spice-common/ -I ${top_srcdir}/spice-common/spice-protocol/' + + +LIBM= +case $host in +*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) + # These system don't have libm, or don't need it + ;; +*-ncr-sysv4.3*) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5 +$as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; } +if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lmw $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char _mwvalidcheckl (); +int +main () +{ +return _mwvalidcheckl (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_mw__mwvalidcheckl=yes +else + ac_cv_lib_mw__mwvalidcheckl=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5 +$as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; } +if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then : + LIBM="-lmw" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 +$as_echo_n "checking for cos in -lm... " >&6; } +if ${ac_cv_lib_m_cos+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char cos (); +int +main () +{ +return cos (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_m_cos=yes +else + ac_cv_lib_m_cos=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 +$as_echo "$ac_cv_lib_m_cos" >&6; } +if test "x$ac_cv_lib_m_cos" = xyes; then : + LIBM="$LIBM -lm" +fi + + ;; +*) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 +$as_echo_n "checking for cos in -lm... " >&6; } +if ${ac_cv_lib_m_cos+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char cos (); +int +main () +{ +return cos (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_m_cos=yes +else + ac_cv_lib_m_cos=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 +$as_echo "$ac_cv_lib_m_cos" >&6; } +if test "x$ac_cv_lib_m_cos" = xyes; then : + LIBM="-lm" +fi + + ;; +esac + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 +$as_echo_n "checking for clock_gettime in -lrt... " >&6; } +if ${ac_cv_lib_rt_clock_gettime+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lrt $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char clock_gettime (); +int +main () +{ +return clock_gettime (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_rt_clock_gettime=yes +else + ac_cv_lib_rt_clock_gettime=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 +$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } +if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : + +$as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h + + LIBRT=-lrt + +fi + + + +if test "$red_target" = "windows"; then + SPICE_NONPKGCONFIG_LIBS+=" -lpthreadGC2 -lversion -lmsimg32 $LIBM" +else + SPICE_NONPKGCONFIG_LIBS+=" -pthread $LIBM $LIBRT" +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix yield function" >&5 +$as_echo_n "checking for posix yield function... " >&6; } +for yield_func in pthread_yield pthread_yield_np sched_yield \ + thr_yield; do + spice_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $SPICE_NONPKGCONFIG_LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <pthread.h> +int +main () +{ +$yield_func() + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + posix_yield_func="$yield_func" + break +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + CPPFLAGS="$spice_save_CPPFLAGS" +done +if test x"$posix_yield_func" = xnone; then + as_fn_error $? "No posix yield function found" "$LINENO" 5 +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $posix_yield_func" >&5 +$as_echo "$posix_yield_func" >&6; } + posix_yield_func="$posix_yield_func()" +fi + +cat >>confdefs.h <<_ACEOF +#define POSIX_YIELD_FUNC $posix_yield_func +_ACEOF + + +SPICE_REQUIRES="" + +if test "x$enable_gui" = "xyes" && test "x$enable_client" = "xyes" ; then + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CEGUI06" >&5 +$as_echo_n "checking for CEGUI06... " >&6; } + +if test -n "$CEGUI06_CFLAGS"; then + pkg_cv_CEGUI06_CFLAGS="$CEGUI06_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"CEGUI-0.6 >= 0.6.0 CEGUI-0.6 < 0.7.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "CEGUI-0.6 >= 0.6.0 CEGUI-0.6 < 0.7.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_CEGUI06_CFLAGS=`$PKG_CONFIG --cflags "CEGUI-0.6 >= 0.6.0 CEGUI-0.6 < 0.7.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$CEGUI06_LIBS"; then + pkg_cv_CEGUI06_LIBS="$CEGUI06_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"CEGUI-0.6 >= 0.6.0 CEGUI-0.6 < 0.7.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "CEGUI-0.6 >= 0.6.0 CEGUI-0.6 < 0.7.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_CEGUI06_LIBS=`$PKG_CONFIG --libs "CEGUI-0.6 >= 0.6.0 CEGUI-0.6 < 0.7.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + CEGUI06_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "CEGUI-0.6 >= 0.6.0 CEGUI-0.6 < 0.7.0" 2>&1` + else + CEGUI06_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "CEGUI-0.6 >= 0.6.0 CEGUI-0.6 < 0.7.0" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$CEGUI06_PKG_ERRORS" >&5 + + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CEGUI" >&5 +$as_echo_n "checking for CEGUI... " >&6; } + +if test -n "$CEGUI_CFLAGS"; then + pkg_cv_CEGUI_CFLAGS="$CEGUI_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"CEGUI >= 0.6.0 CEGUI < 0.7.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "CEGUI >= 0.6.0 CEGUI < 0.7.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_CEGUI_CFLAGS=`$PKG_CONFIG --cflags "CEGUI >= 0.6.0 CEGUI < 0.7.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$CEGUI_LIBS"; then + pkg_cv_CEGUI_LIBS="$CEGUI_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"CEGUI >= 0.6.0 CEGUI < 0.7.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "CEGUI >= 0.6.0 CEGUI < 0.7.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_CEGUI_LIBS=`$PKG_CONFIG --libs "CEGUI >= 0.6.0 CEGUI < 0.7.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + CEGUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "CEGUI >= 0.6.0 CEGUI < 0.7.0" 2>&1` + else + CEGUI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "CEGUI >= 0.6.0 CEGUI < 0.7.0" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$CEGUI_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (CEGUI >= 0.6.0 CEGUI < 0.7.0) were not met: + +$CEGUI_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables CEGUI_CFLAGS +and CEGUI_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables CEGUI_CFLAGS +and CEGUI_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + CEGUI_CFLAGS=$pkg_cv_CEGUI_CFLAGS + CEGUI_LIBS=$pkg_cv_CEGUI_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + + +$as_echo "#define USE_GUI 1" >>confdefs.h + + +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CEGUI" >&5 +$as_echo_n "checking for CEGUI... " >&6; } + +if test -n "$CEGUI_CFLAGS"; then + pkg_cv_CEGUI_CFLAGS="$CEGUI_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"CEGUI >= 0.6.0 CEGUI < 0.7.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "CEGUI >= 0.6.0 CEGUI < 0.7.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_CEGUI_CFLAGS=`$PKG_CONFIG --cflags "CEGUI >= 0.6.0 CEGUI < 0.7.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$CEGUI_LIBS"; then + pkg_cv_CEGUI_LIBS="$CEGUI_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"CEGUI >= 0.6.0 CEGUI < 0.7.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "CEGUI >= 0.6.0 CEGUI < 0.7.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_CEGUI_LIBS=`$PKG_CONFIG --libs "CEGUI >= 0.6.0 CEGUI < 0.7.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + CEGUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "CEGUI >= 0.6.0 CEGUI < 0.7.0" 2>&1` + else + CEGUI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "CEGUI >= 0.6.0 CEGUI < 0.7.0" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$CEGUI_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (CEGUI >= 0.6.0 CEGUI < 0.7.0) were not met: + +$CEGUI_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables CEGUI_CFLAGS +and CEGUI_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables CEGUI_CFLAGS +and CEGUI_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + CEGUI_CFLAGS=$pkg_cv_CEGUI_CFLAGS + CEGUI_LIBS=$pkg_cv_CEGUI_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + + +$as_echo "#define USE_GUI 1" >>confdefs.h + + +else + CEGUI06_CFLAGS=$pkg_cv_CEGUI06_CFLAGS + CEGUI06_LIBS=$pkg_cv_CEGUI06_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + + + + +$as_echo "#define USE_GUI 1" >>confdefs.h + + +fi +fi + +if test "x$enable_tunnel" = "xyes"; then + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SLIRP" >&5 +$as_echo_n "checking for SLIRP... " >&6; } + +if test -n "$SLIRP_CFLAGS"; then + pkg_cv_SLIRP_CFLAGS="$SLIRP_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"slirp\""; } >&5 + ($PKG_CONFIG --exists --print-errors "slirp") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SLIRP_CFLAGS=`$PKG_CONFIG --cflags "slirp" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$SLIRP_LIBS"; then + pkg_cv_SLIRP_LIBS="$SLIRP_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"slirp\""; } >&5 + ($PKG_CONFIG --exists --print-errors "slirp") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SLIRP_LIBS=`$PKG_CONFIG --libs "slirp" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + SLIRP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "slirp" 2>&1` + else + SLIRP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "slirp" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$SLIRP_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (slirp) were not met: + +$SLIRP_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables SLIRP_CFLAGS +and SLIRP_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables SLIRP_CFLAGS +and SLIRP_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + SLIRP_CFLAGS=$pkg_cv_SLIRP_CFLAGS + SLIRP_LIBS=$pkg_cv_SLIRP_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + + SPICE_REQUIRES+=" slirp" + +$as_echo "#define HAVE_SLIRP /**/" >>confdefs.h + +fi + +if test "x$enable_smartcard" = "xyes"; then + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAC_CARD" >&5 +$as_echo_n "checking for CAC_CARD... " >&6; } + +if test -n "$CAC_CARD_CFLAGS"; then + pkg_cv_CAC_CARD_CFLAGS="$CAC_CARD_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcacard >= 0.1.2\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libcacard >= 0.1.2") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_CAC_CARD_CFLAGS=`$PKG_CONFIG --cflags "libcacard >= 0.1.2" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$CAC_CARD_LIBS"; then + pkg_cv_CAC_CARD_LIBS="$CAC_CARD_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcacard >= 0.1.2\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libcacard >= 0.1.2") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_CAC_CARD_LIBS=`$PKG_CONFIG --libs "libcacard >= 0.1.2" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + CAC_CARD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcacard >= 0.1.2" 2>&1` + else + CAC_CARD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcacard >= 0.1.2" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$CAC_CARD_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (libcacard >= 0.1.2) were not met: + +$CAC_CARD_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables CAC_CARD_CFLAGS +and CAC_CARD_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables CAC_CARD_CFLAGS +and CAC_CARD_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + CAC_CARD_CFLAGS=$pkg_cv_CAC_CARD_CFLAGS + CAC_CARD_LIBS=$pkg_cv_CAC_CARD_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + SMARTCARD_LIBS="$CAC_CARD_LIBS" + SMARTCARD_CFLAGS="$CAC_CARD_CFLAGS" + + + SPICE_REQUIRES+=" libcacard >= 0.1.2" +fi + + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB2" >&5 +$as_echo_n "checking for GLIB2... " >&6; } + +if test -n "$GLIB2_CFLAGS"; then + pkg_cv_GLIB2_CFLAGS="$GLIB2_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.22\""; } >&5 + ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.22") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GLIB2_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.22" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$GLIB2_LIBS"; then + pkg_cv_GLIB2_LIBS="$GLIB2_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.22\""; } >&5 + ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.22") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GLIB2_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.22" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + GLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.22" 2>&1` + else + GLIB2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.22" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$GLIB2_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (glib-2.0 >= 2.22) were not met: + +$GLIB2_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables GLIB2_CFLAGS +and GLIB2_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables GLIB2_CFLAGS +and GLIB2_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + GLIB2_CFLAGS=$pkg_cv_GLIB2_CFLAGS + GLIB2_LIBS=$pkg_cv_GLIB2_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi +SPICE_REQUIRES+=" glib-2.0 >= 2.22" + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIXMAN" >&5 +$as_echo_n "checking for PIXMAN... " >&6; } + +if test -n "$PIXMAN_CFLAGS"; then + pkg_cv_PIXMAN_CFLAGS="$PIXMAN_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1 >= 0.17.7\""; } >&5 + ($PKG_CONFIG --exists --print-errors "pixman-1 >= 0.17.7") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_PIXMAN_CFLAGS=`$PKG_CONFIG --cflags "pixman-1 >= 0.17.7" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$PIXMAN_LIBS"; then + pkg_cv_PIXMAN_LIBS="$PIXMAN_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1 >= 0.17.7\""; } >&5 + ($PKG_CONFIG --exists --print-errors "pixman-1 >= 0.17.7") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_PIXMAN_LIBS=`$PKG_CONFIG --libs "pixman-1 >= 0.17.7" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + PIXMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pixman-1 >= 0.17.7" 2>&1` + else + PIXMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pixman-1 >= 0.17.7" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$PIXMAN_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (pixman-1 >= 0.17.7) were not met: + +$PIXMAN_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables PIXMAN_CFLAGS +and PIXMAN_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables PIXMAN_CFLAGS +and PIXMAN_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + PIXMAN_CFLAGS=$pkg_cv_PIXMAN_CFLAGS + PIXMAN_LIBS=$pkg_cv_PIXMAN_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + +SPICE_REQUIRES+=" pixman-1 >= 0.17.7" + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CELT051" >&5 +$as_echo_n "checking for CELT051... " >&6; } + +if test -n "$CELT051_CFLAGS"; then + pkg_cv_CELT051_CFLAGS="$CELT051_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt051 >= 0.5.1.1\""; } >&5 + ($PKG_CONFIG --exists --print-errors "celt051 >= 0.5.1.1") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_CELT051_CFLAGS=`$PKG_CONFIG --cflags "celt051 >= 0.5.1.1" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$CELT051_LIBS"; then + pkg_cv_CELT051_LIBS="$CELT051_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt051 >= 0.5.1.1\""; } >&5 + ($PKG_CONFIG --exists --print-errors "celt051 >= 0.5.1.1") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_CELT051_LIBS=`$PKG_CONFIG --libs "celt051 >= 0.5.1.1" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + CELT051_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "celt051 >= 0.5.1.1" 2>&1` + else + CELT051_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "celt051 >= 0.5.1.1" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$CELT051_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (celt051 >= 0.5.1.1) were not met: + +$CELT051_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables CELT051_CFLAGS +and CELT051_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables CELT051_CFLAGS +and CELT051_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + CELT051_CFLAGS=$pkg_cv_CELT051_CFLAGS + CELT051_LIBS=$pkg_cv_CELT051_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + + +SPICE_REQUIRES+=" celt051 >= 0.5.1.1" + +if test ! -e client/generated_marshallers.cpp; then +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pyparsing python module" >&5 +$as_echo_n "checking for pyparsing python module... " >&6; } +echo "import pyparsing" | ${PYTHON} - >/dev/null 2>&1 +if test $? -ne 0 ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + as_fn_error $? "pyparsing python module is required to compile this package" "$LINENO" 5 +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 +$as_echo "found" >&6; } +fi + +if test "$os_linux" = yes; then + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5 +$as_echo_n "checking for ALSA... " >&6; } + +if test -n "$ALSA_CFLAGS"; then + pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa\""; } >&5 + ($PKG_CONFIG --exists --print-errors "alsa") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$ALSA_LIBS"; then + pkg_cv_ALSA_LIBS="$ALSA_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa\""; } >&5 + ($PKG_CONFIG --exists --print-errors "alsa") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "alsa" 2>&1` + else + ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "alsa" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$ALSA_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (alsa) were not met: + +$ALSA_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables ALSA_CFLAGS +and ALSA_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables ALSA_CFLAGS +and ALSA_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS + ALSA_LIBS=$pkg_cv_ALSA_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + +fi + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL" >&5 +$as_echo_n "checking for SSL... " >&6; } + +if test -n "$SSL_CFLAGS"; then + pkg_cv_SSL_CFLAGS="$SSL_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5 + ($PKG_CONFIG --exists --print-errors "openssl") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SSL_CFLAGS=`$PKG_CONFIG --cflags "openssl" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$SSL_LIBS"; then + pkg_cv_SSL_LIBS="$SSL_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5 + ($PKG_CONFIG --exists --print-errors "openssl") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SSL_LIBS=`$PKG_CONFIG --libs "openssl" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + SSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl" 2>&1` + else + SSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$SSL_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (openssl) were not met: + +$SSL_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables SSL_CFLAGS +and SSL_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables SSL_CFLAGS +and SSL_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + SSL_CFLAGS=$pkg_cv_SSL_CFLAGS + SSL_LIBS=$pkg_cv_SSL_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + +SPICE_REQUIRES+=" openssl" + +# These are commented out because the gl libraries on RHEL 5 do not have pkgconfig files +# +# PKG_CHECK_MODULES(GL, gl glu) +# AC_SUBST(GL_CFLAGS) +# AC_SUBST(GL_LIBS) +# SPICE_REQUIRES+=" gl glu" + +if test "x$enable_opengl" = "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBlendFunc in -lGL" >&5 +$as_echo_n "checking for glBlendFunc in -lGL... " >&6; } +if ${ac_cv_lib_GL_glBlendFunc+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lGL $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char glBlendFunc (); +int +main () +{ +return glBlendFunc (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_GL_glBlendFunc=yes +else + ac_cv_lib_GL_glBlendFunc=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBlendFunc" >&5 +$as_echo "$ac_cv_lib_GL_glBlendFunc" >&6; } +if test "x$ac_cv_lib_GL_glBlendFunc" = xyes; then : + GL_LIBS="$GL_LIBS -lGL" +else + enable_opengl=no +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluSphere in -lGLU" >&5 +$as_echo_n "checking for gluSphere in -lGLU... " >&6; } +if ${ac_cv_lib_GLU_gluSphere+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lGLU $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char gluSphere (); +int +main () +{ +return gluSphere (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_GLU_gluSphere=yes +else + ac_cv_lib_GLU_gluSphere=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluSphere" >&5 +$as_echo "$ac_cv_lib_GLU_gluSphere" >&6; } +if test "x$ac_cv_lib_GLU_gluSphere" = xyes; then : + GL_LIBS="$GL_LIBS -lGLU" +else + enable_opengl=no +fi + + +$as_echo "#define USE_OPENGL 1" >>confdefs.h + + +$as_echo "#define GL_GLEXT_PROTOTYPES /**/" >>confdefs.h + + + if test "x$enable_opengl" = "xno"; then + as_fn_error $? "GL libraries not available" "$LINENO" 5 + fi +fi + + + +SPICE_NONPKGCONFIG_LIBS+=" $GL_LIBS" + +if test "x$red_target" = "xx11" && test "x$enable_client" = "xyes" ; then + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRANDR" >&5 +$as_echo_n "checking for XRANDR... " >&6; } + +if test -n "$XRANDR_CFLAGS"; then + pkg_cv_XRANDR_CFLAGS="$XRANDR_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrandr\""; } >&5 + ($PKG_CONFIG --exists --print-errors "xrandr") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_XRANDR_CFLAGS=`$PKG_CONFIG --cflags "xrandr" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$XRANDR_LIBS"; then + pkg_cv_XRANDR_LIBS="$XRANDR_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrandr\""; } >&5 + ($PKG_CONFIG --exists --print-errors "xrandr") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_XRANDR_LIBS=`$PKG_CONFIG --libs "xrandr" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + XRANDR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xrandr" 2>&1` + else + XRANDR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xrandr" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$XRANDR_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (xrandr) were not met: + +$XRANDR_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables XRANDR_CFLAGS +and XRANDR_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables XRANDR_CFLAGS +and XRANDR_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + XRANDR_CFLAGS=$pkg_cv_XRANDR_CFLAGS + XRANDR_LIBS=$pkg_cv_XRANDR_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFIXES" >&5 +$as_echo_n "checking for XFIXES... " >&6; } + +if test -n "$XFIXES_CFLAGS"; then + pkg_cv_XFIXES_CFLAGS="$XFIXES_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfixes\""; } >&5 + ($PKG_CONFIG --exists --print-errors "xfixes") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_XFIXES_CFLAGS=`$PKG_CONFIG --cflags "xfixes" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$XFIXES_LIBS"; then + pkg_cv_XFIXES_LIBS="$XFIXES_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfixes\""; } >&5 + ($PKG_CONFIG --exists --print-errors "xfixes") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_XFIXES_LIBS=`$PKG_CONFIG --libs "xfixes" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + XFIXES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xfixes" 2>&1` + else + XFIXES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xfixes" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$XFIXES_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (xfixes) were not met: + +$XFIXES_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables XFIXES_CFLAGS +and XFIXES_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables XFIXES_CFLAGS +and XFIXES_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + XFIXES_CFLAGS=$pkg_cv_XFIXES_CFLAGS + XFIXES_LIBS=$pkg_cv_XFIXES_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MISC_X" >&5 +$as_echo_n "checking for MISC_X... " >&6; } + +if test -n "$MISC_X_CFLAGS"; then + pkg_cv_MISC_X_CFLAGS="$MISC_X_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xrender\""; } >&5 + ($PKG_CONFIG --exists --print-errors "x11 xext xrender") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_MISC_X_CFLAGS=`$PKG_CONFIG --cflags "x11 xext xrender" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$MISC_X_LIBS"; then + pkg_cv_MISC_X_LIBS="$MISC_X_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xrender\""; } >&5 + ($PKG_CONFIG --exists --print-errors "x11 xext xrender") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_MISC_X_LIBS=`$PKG_CONFIG --libs "x11 xext xrender" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + MISC_X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xext xrender" 2>&1` + else + MISC_X_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xext xrender" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$MISC_X_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (x11 xext xrender) were not met: + +$MISC_X_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables MISC_X_CFLAGS +and MISC_X_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables MISC_X_CFLAGS +and MISC_X_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + MISC_X_CFLAGS=$pkg_cv_MISC_X_CFLAGS + MISC_X_LIBS=$pkg_cv_MISC_X_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + + + + + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRANDR12" >&5 +$as_echo_n "checking for XRANDR12... " >&6; } + +if test -n "$XRANDR12_CFLAGS"; then + pkg_cv_XRANDR12_CFLAGS="$XRANDR12_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrandr >= 1.2\""; } >&5 + ($PKG_CONFIG --exists --print-errors "xrandr >= 1.2") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_XRANDR12_CFLAGS=`$PKG_CONFIG --cflags "xrandr >= 1.2" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$XRANDR12_LIBS"; then + pkg_cv_XRANDR12_LIBS="$XRANDR12_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrandr >= 1.2\""; } >&5 + ($PKG_CONFIG --exists --print-errors "xrandr >= 1.2") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_XRANDR12_LIBS=`$PKG_CONFIG --libs "xrandr >= 1.2" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + XRANDR12_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xrandr >= 1.2" 2>&1` + else + XRANDR12_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xrandr >= 1.2" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$XRANDR12_PKG_ERRORS" >&5 + + have_xrandr12=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_xrandr12=no +else + XRANDR12_CFLAGS=$pkg_cv_XRANDR12_CFLAGS + XRANDR12_LIBS=$pkg_cv_XRANDR12_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_xrandr12=yes +fi +else + have_xrandr12=no +fi + + if test "x$have_xrandr12" = "xyes"; then + HAVE_XRANDR12_TRUE= + HAVE_XRANDR12_FALSE='#' +else + HAVE_XRANDR12_TRUE='#' + HAVE_XRANDR12_FALSE= +fi + +if test "x$have_xrandr12" = "xyes" ; then + +$as_echo "#define HAVE_XRANDR12 /**/" >>confdefs.h + +fi + +# Add parameter for libXinerama +# Check whether --enable-xinerama was given. +if test "${enable_xinerama+set}" = set; then : + enableval=$enable_xinerama; +fi + + +if test "x$enable_xinerama" != "xno"; then + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XINERAMA" >&5 +$as_echo_n "checking for XINERAMA... " >&6; } + +if test -n "$XINERAMA_CFLAGS"; then + pkg_cv_XINERAMA_CFLAGS="$XINERAMA_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xinerama >= 1.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "xinerama >= 1.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_XINERAMA_CFLAGS=`$PKG_CONFIG --cflags "xinerama >= 1.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$XINERAMA_LIBS"; then + pkg_cv_XINERAMA_LIBS="$XINERAMA_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xinerama >= 1.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "xinerama >= 1.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_XINERAMA_LIBS=`$PKG_CONFIG --libs "xinerama >= 1.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + XINERAMA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xinerama >= 1.0" 2>&1` + else + XINERAMA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xinerama >= 1.0" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$XINERAMA_PKG_ERRORS" >&5 + + have_xinerama=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_xinerama=no +else + XINERAMA_CFLAGS=$pkg_cv_XINERAMA_CFLAGS + XINERAMA_LIBS=$pkg_cv_XINERAMA_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_xinerama=yes +fi +else + have_xinerama=no +fi + +if test "x$enable_xinerama" = "xyes" && test "x$have_xinerama" = "xno"; then + as_fn_error $? "Requested Xinerama library was not found" "$LINENO" 5 +fi + + if test "x$have_xinerama" = "xyes"; then + HAVE_XINERAMA_TRUE= + HAVE_XINERAMA_FALSE='#' +else + HAVE_XINERAMA_TRUE='#' + HAVE_XINERAMA_FALSE= +fi + +if test "x$have_xinerama" = "xyes" ; then + +$as_echo "#define HAVE_XINERAMA /**/" >>confdefs.h + + + + SPICE_REQUIRES+=" xinerama" +fi + +# Add parameter for (partial) static linkage of spice client. +# this is used to achive single binary package for all (?) distros. +# Check whether --enable-static-linkage was given. +if test "${enable_static_linkage+set}" = set; then : + enableval=$enable_static_linkage; +else + enable_static_linkage="no" +fi + +if test x"$enable_static_linkage" != "xno"; then : + SPICEC_STATIC_LINKAGE_BSTATIC="-Wl,-Bstatic" +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_decompress in -ljpeg" >&5 +$as_echo_n "checking for jpeg_destroy_decompress in -ljpeg... " >&6; } +if ${ac_cv_lib_jpeg_jpeg_destroy_decompress+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ljpeg $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char jpeg_destroy_decompress (); +int +main () +{ +return jpeg_destroy_decompress (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_jpeg_jpeg_destroy_decompress=yes +else + ac_cv_lib_jpeg_jpeg_destroy_decompress=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_decompress" >&5 +$as_echo "$ac_cv_lib_jpeg_jpeg_destroy_decompress" >&6; } +if test "x$ac_cv_lib_jpeg_jpeg_destroy_decompress" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5 +$as_echo_n "checking for jpeglib.h... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdio.h> +#undef PACKAGE +#undef VERSION +#undef HAVE_STDLIB_H +#include <jpeglib.h> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + JPEG_LIBS='-ljpeg' + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jpeg_ok" >&5 +$as_echo "$jpeg_ok" >&6; } +else + as_fn_error $? "jpeglib.h not found" "$LINENO" 5 +fi +rm -f conftest.err conftest.i conftest.$ac_ext +else + as_fn_error $? "libjpeg not found" "$LINENO" 5 +fi + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5 +$as_echo_n "checking for deflate in -lz... " >&6; } +if ${ac_cv_lib_z_deflate+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lz $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char deflate (); +int +main () +{ +return deflate (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_z_deflate=yes +else + ac_cv_lib_z_deflate=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5 +$as_echo "$ac_cv_lib_z_deflate" >&6; } +if test "x$ac_cv_lib_z_deflate" = xyes; then : + Z_LIBS='-lz' +else + as_fn_error $? "zlib not found" "$LINENO" 5 +fi + + + + +# Check whether --with-sasl was given. +if test "${with_sasl+set}" = set; then : + withval=$with_sasl; +else + with_sasl=check +fi + + +SASL_CFLAGS= +SASL_LIBS= +enable_sasl=no +if test "x$with_sasl" != "xno"; then + if test "x$with_sasl" != "xyes" && test "x$with_sasl" != "xcheck"; then + SASL_CFLAGS="-I$with_sasl" + SASL_LIBS="-L$with_sasl" + fi + fail=0 + old_cflags="$CFLAGS" + old_libs="$LIBS" + CFLAGS="$CFLAGS $SASL_CFLAGS" + LIBS="$LIBS $SASL_LIBS" + ac_fn_c_check_header_mongrel "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default" +if test "x$ac_cv_header_sasl_sasl_h" = xyes; then : + +else + + if test "x$with_sasl" != "xcheck" ; then + with_sasl=no + else + fail=1 + fi +fi + + + if test "x$with_sasl" != "xno" ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sasl_client_init in -lsasl2" >&5 +$as_echo_n "checking for sasl_client_init in -lsasl2... " >&6; } +if ${ac_cv_lib_sasl2_sasl_client_init+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsasl2 $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char sasl_client_init (); +int +main () +{ +return sasl_client_init (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_sasl2_sasl_client_init=yes +else + ac_cv_lib_sasl2_sasl_client_init=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl2_sasl_client_init" >&5 +$as_echo "$ac_cv_lib_sasl2_sasl_client_init" >&6; } +if test "x$ac_cv_lib_sasl2_sasl_client_init" = xyes; then : + with_sasl2=yes +else + with_sasl2=no +fi + + fi + if test "x$with_sasl2" = "xno" && test "x$with_sasl" != "xno" ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sasl_client_init in -lsasl" >&5 +$as_echo_n "checking for sasl_client_init in -lsasl... " >&6; } +if ${ac_cv_lib_sasl_sasl_client_init+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsasl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char sasl_client_init (); +int +main () +{ +return sasl_client_init (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_sasl_sasl_client_init=yes +else + ac_cv_lib_sasl_sasl_client_init=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl_sasl_client_init" >&5 +$as_echo "$ac_cv_lib_sasl_sasl_client_init" >&6; } +if test "x$ac_cv_lib_sasl_sasl_client_init" = xyes; then : + with_sasl=yes +else + with_sasl=no +fi + + fi + if test "x$with_sasl2" = "xyes"; then + SASL_LIBS="$SASL_LIBS -lsasl2" + elif test "x$with_sasl" = "xyes"; then + SASL_LIBS="$SASL_LIBS -lsasl" + else + as_fn_error $? "Missing required Cyrus SASL development package" "$LINENO" 5 + fi + CFLAGS="$old_cflags" + LIBS="$old_libs" + if test "x$with_sasl2" = "xyes" || test "x$with_sasl" = "xyes" ; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_SASL 1 +_ACEOF + + enable_sasl=yes + fi +fi + if test "x$with_sasl2" = "xyes" || test "x$with_sasl" = "xyes"; then + HAVE_SASL_TRUE= + HAVE_SASL_FALSE='#' +else + HAVE_SASL_TRUE='#' + HAVE_SASL_FALSE= +fi + + + + +if test "x$enable_automated_tests" = "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snappy" >&5 +$as_echo_n "checking for snappy... " >&6; } + snappy --help >/dev/null 2>&1 + if test $? -ne 0 ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + as_fn_error $? "snappy was not found, this module is part of spice-gtk andis required to compile this package" "$LINENO" 5 + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 +$as_echo "found" >&6; } +fi + + + + + # Check whether --enable-werror was given. +if test "${enable_werror+set}" = set; then : + enableval=$enable_werror; set_werror="$enableval" +else + if test -d $srcdir/.git; then + is_git_version=true + set_werror=yes + else + set_werror=no + fi +fi + + + # List of warnings that are not relevant / wanted + + # Don't care about C++ compiler compat + dontwarn="$dontwarn -Wc++-compat" + dontwarn="$dontwarn -Wabi" + dontwarn="$dontwarn -Wdeprecated" + # Don't care about ancient C standard compat + dontwarn="$dontwarn -Wtraditional" + # Don't care about ancient C standard compat + dontwarn="$dontwarn -Wtraditional-conversion" + # Ignore warnings in /usr/include + dontwarn="$dontwarn -Wsystem-headers" + # Happy for compiler to add struct padding + dontwarn="$dontwarn -Wpadded" + # GCC very confused with -O2 + dontwarn="$dontwarn -Wunreachable-code" + + + dontwarn="$dontwarn -Wconversion" + dontwarn="$dontwarn -Wsign-conversion" + dontwarn="$dontwarn -Wvla" + dontwarn="$dontwarn -Wundef" + dontwarn="$dontwarn -Wcast-qual" + dontwarn="$dontwarn -Wlong-long" + dontwarn="$dontwarn -Wswitch-default" + dontwarn="$dontwarn -Wswitch-enum" + dontwarn="$dontwarn -Wstrict-overflow" + dontwarn="$dontwarn -Wunsafe-loop-optimizations" + dontwarn="$dontwarn -Wformat-nonliteral" + dontwarn="$dontwarn -Wfloat-equal" + dontwarn="$dontwarn -Wdeclaration-after-statement" + dontwarn="$dontwarn -Wcast-qual" + dontwarn="$dontwarn -Wconversion" + dontwarn="$dontwarn -Wsign-conversion" + dontwarn="$dontwarn -Wpacked" + dontwarn="$dontwarn -Wunused-macros" + dontwarn="$dontwarn -Woverlength-strings" + dontwarn="$dontwarn -Wstack-protector" + dontwarn="$dontwarn -Winline" + dontwarn="$dontwarn -Wbad-function-cast" + dontwarn="$dontwarn -Wshadow" + + # We want to enable thse, but need to sort out the + # decl mess with gtk/generated_*.c + dontwarn="$dontwarn -Wmissing-prototypes" + dontwarn="$dontwarn -Wmissing-declarations" + + # Stuff that C++ won't allow. Turn them back on later + dontwarn="$dontwarn -Waggregate-return" + dontwarn="$dontwarn -Wstrict-prototypes" + dontwarn="$dontwarn -Wold-style-definition" + dontwarn="$dontwarn -Wnested-externs" + dontwarn="$dontwarn -Wformat-zero-length" + dontwarn="$dontwarn -Wpointer-to-int-cast" + dontwarn="$dontwarn -Wjump-misses-init" + + # Issues in x11/platform_utils.cpp prevent us turning this on + dontwarn="$dontwarn -Wmissing-format-attribute" + + # Get all possible GCC warnings + + + if test -n "$GCC"; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wno-missing-field-initializers is supported" >&5 +$as_echo_n "checking whether -Wno-missing-field-initializers is supported... " >&6; } + if ${gl_cv_cc_nomfi_supported+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -W -Werror -Wno-missing-field-initializers" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_cc_nomfi_supported=yes +else + gl_cv_cc_nomfi_supported=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$gl_save_CFLAGS" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_nomfi_supported" >&5 +$as_echo "$gl_cv_cc_nomfi_supported" >&6; } + + if test "$gl_cv_cc_nomfi_supported" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wno-missing-field-initializers is needed" >&5 +$as_echo_n "checking whether -Wno-missing-field-initializers is needed... " >&6; } + if ${gl_cv_cc_nomfi_needed+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -W -Werror" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +void f (void) + { + typedef struct { int a; int b; } s_t; + s_t s1 = { 0, }; + } + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_cc_nomfi_needed=no +else + gl_cv_cc_nomfi_needed=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$gl_save_CFLAGS" + +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_nomfi_needed" >&5 +$as_echo "$gl_cv_cc_nomfi_needed" >&6; } + fi + fi + + gl_manywarn_set= + for gl_manywarn_item in \ + -Wall \ + -W \ + -Wformat-y2k \ + -Wformat-nonliteral \ + -Wformat-security \ + -Winit-self \ + -Wmissing-include-dirs \ + -Wswitch-default \ + -Wswitch-enum \ + -Wunused \ + -Wunknown-pragmas \ + -Wstrict-aliasing \ + -Wstrict-overflow \ + -Wsystem-headers \ + -Wfloat-equal \ + -Wtraditional \ + -Wtraditional-conversion \ + -Wdeclaration-after-statement \ + -Wundef \ + -Wshadow \ + -Wunsafe-loop-optimizations \ + -Wpointer-arith \ + -Wbad-function-cast \ + -Wc++-compat \ + -Wcast-qual \ + -Wcast-align \ + -Wwrite-strings \ + -Wconversion \ + -Wsign-conversion \ + -Wlogical-op \ + -Waggregate-return \ + -Wstrict-prototypes \ + -Wold-style-definition \ + -Wmissing-prototypes \ + -Wmissing-declarations \ + -Wmissing-noreturn \ + -Wmissing-format-attribute \ + -Wpacked \ + -Wpadded \ + -Wredundant-decls \ + -Wnested-externs \ + -Wunreachable-code \ + -Winline \ + -Winvalid-pch \ + -Wlong-long \ + -Wvla \ + -Wvolatile-register-var \ + -Wdisabled-optimization \ + -Wstack-protector \ + -Woverlength-strings \ + -Wbuiltin-macro-redefined \ + -Wmudflap \ + -Wpacked-bitfield-compat \ + -Wsync-nand \ + ; do + gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" + done + # The following are not documented in the manual but are included in + # output from gcc --help=warnings. + for gl_manywarn_item in \ + -Wattributes \ + -Wcoverage-mismatch \ + -Wmultichar \ + -Wunused-macros \ + ; do + gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" + done + # More warnings from gcc 4.6.2 --help=warnings. + for gl_manywarn_item in \ + -Wabi \ + -Wcpp \ + -Wdeprecated \ + -Wdeprecated-declarations \ + -Wdiv-by-zero \ + -Wdouble-promotion \ + -Wendif-labels \ + -Wextra \ + -Wformat-contains-nul \ + -Wformat-extra-args \ + -Wformat-zero-length \ + -Wformat=2 \ + -Wmultichar \ + -Wnormalized=nfc \ + -Woverflow \ + -Wpointer-to-int-cast \ + -Wpragmas \ + -Wsuggest-attribute=const \ + -Wsuggest-attribute=noreturn \ + -Wsuggest-attribute=pure \ + -Wtrampolines \ + ; do + gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" + done + + # Disable the missing-field-initializers warning if needed + if test "$gl_cv_cc_nomfi_needed" = yes; then + gl_manywarn_set="$gl_manywarn_set -Wno-missing-field-initializers" + fi + + maybewarn=$gl_manywarn_set + + + # Remove the ones we don't want, blacklisted earlier + + gl_warn_set= + set x $maybewarn; shift + for gl_warn_item + do + case " $dontwarn " in + *" $gl_warn_item "*) + ;; + *) + gl_warn_set="$gl_warn_set $gl_warn_item" + ;; + esac + done + wantwarn=$gl_warn_set + + + # Check for $CC support of each warning + for w in $wantwarn; do + as_gl_Warn=`$as_echo "gl_cv_warn_$w" | $as_tr_sh` +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles $w" >&5 +$as_echo_n "checking whether compiler handles $w... " >&6; } +if eval \${$as_gl_Warn+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} $w" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + eval "$as_gl_Warn=yes" +else + eval "$as_gl_Warn=no" +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +eval ac_res=\$$as_gl_Warn + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then : + as_fn_append WARN_CFLAGS " $w" +fi + + done + + # GNULIB uses '-W' (aka -Wextra) which includes a bunch of stuff. + # Unfortunately, this means you can't simply use '-Wsign-compare' + # with gl_MANYWARN_COMPLEMENT + # So we have -W enabled, and then have to explicitly turn off... + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-sign-compare" >&5 +$as_echo_n "checking whether compiler handles -Wno-sign-compare... " >&6; } +if ${gl_cv_warn__Wno_sign_compare+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wno-sign-compare" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wno_sign_compare=yes +else + gl_cv_warn__Wno_sign_compare=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_sign_compare" >&5 +$as_echo "$gl_cv_warn__Wno_sign_compare" >&6; } +if test "x$gl_cv_warn__Wno_sign_compare" = xyes; then : + as_fn_append WARN_CFLAGS " -Wno-sign-compare" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-unused-parameter" >&5 +$as_echo_n "checking whether compiler handles -Wno-unused-parameter... " >&6; } +if ${gl_cv_warn__Wno_unused_parameter+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wno-unused-parameter" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wno_unused_parameter=yes +else + gl_cv_warn__Wno_unused_parameter=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_unused_parameter" >&5 +$as_echo "$gl_cv_warn__Wno_unused_parameter" >&6; } +if test "x$gl_cv_warn__Wno_unused_parameter" = xyes; then : + as_fn_append WARN_CFLAGS " -Wno-unused-parameter" +fi + + # We can't enable this due to horrible spice_usb_device_get_description + # signature + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-format-nonliteral" >&5 +$as_echo_n "checking whether compiler handles -Wno-format-nonliteral... " >&6; } +if ${gl_cv_warn__Wno_format_nonliteral+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wno-format-nonliteral" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wno_format_nonliteral=yes +else + gl_cv_warn__Wno_format_nonliteral=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_format_nonliteral" >&5 +$as_echo "$gl_cv_warn__Wno_format_nonliteral" >&6; } +if test "x$gl_cv_warn__Wno_format_nonliteral" = xyes; then : + as_fn_append WARN_CFLAGS " -Wno-format-nonliteral" +fi + + # CEGui headers cause violation of this + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-ignored-qualifiers" >&5 +$as_echo_n "checking whether compiler handles -Wno-ignored-qualifiers... " >&6; } +if ${gl_cv_warn__Wno_ignored_qualifiers+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wno-ignored-qualifiers" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wno_ignored_qualifiers=yes +else + gl_cv_warn__Wno_ignored_qualifiers=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_ignored_qualifiers" >&5 +$as_echo "$gl_cv_warn__Wno_ignored_qualifiers" >&6; } +if test "x$gl_cv_warn__Wno_ignored_qualifiers" = xyes; then : + as_fn_append WARN_CFLAGS " -Wno-ignored-qualifiers" +fi + + + + + + # GNULIB turns on -Wformat=2 which implies -Wformat-nonliteral, + # so we need to manually re-exclude it. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-format-nonliteral" >&5 +$as_echo_n "checking whether compiler handles -Wno-format-nonliteral... " >&6; } +if ${gl_cv_warn__Wno_format_nonliteral+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wno-format-nonliteral" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wno_format_nonliteral=yes +else + gl_cv_warn__Wno_format_nonliteral=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_format_nonliteral" >&5 +$as_echo "$gl_cv_warn__Wno_format_nonliteral" >&6; } +if test "x$gl_cv_warn__Wno_format_nonliteral" = xyes; then : + as_fn_append WARN_CFLAGS " -Wno-format-nonliteral" +fi + + + # This should be < 1024 really. pixman_utils is the blackspot + # preventing lower usage + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wframe-larger-than=20460" >&5 +$as_echo_n "checking whether compiler handles -Wframe-larger-than=20460... " >&6; } +if ${gl_cv_warn__Wframe_larger_than_20460+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wframe-larger-than=20460" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wframe_larger_than_20460=yes +else + gl_cv_warn__Wframe_larger_than_20460=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wframe_larger_than_20460" >&5 +$as_echo "$gl_cv_warn__Wframe_larger_than_20460" >&6; } +if test "x$gl_cv_warn__Wframe_larger_than_20460" = xyes; then : + as_fn_append WARN_CFLAGS " -Wframe-larger-than=20460" +fi + + + # Use improved glibc headers + + + # Extra special flags + case $host in + *-*-linux*) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fstack-protector-all" >&5 +$as_echo_n "checking whether compiler handles -fstack-protector-all... " >&6; } +if ${gl_cv_warn__fstack_protector_all+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -fstack-protector-all" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__fstack_protector_all=yes +else + gl_cv_warn__fstack_protector_all=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fstack_protector_all" >&5 +$as_echo "$gl_cv_warn__fstack_protector_all" >&6; } +if test "x$gl_cv_warn__fstack_protector_all" = xyes; then : + as_fn_append WARN_CFLAGS " -fstack-protector-all" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles --param=ssp-buffer-size=4" >&5 +$as_echo_n "checking whether compiler handles --param=ssp-buffer-size=4... " >&6; } +if ${gl_cv_warn___param_ssp_buffer_size_4+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} --param=ssp-buffer-size=4" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn___param_ssp_buffer_size_4=yes +else + gl_cv_warn___param_ssp_buffer_size_4=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn___param_ssp_buffer_size_4" >&5 +$as_echo "$gl_cv_warn___param_ssp_buffer_size_4" >&6; } +if test "x$gl_cv_warn___param_ssp_buffer_size_4" = xyes; then : + as_fn_append WARN_CFLAGS " --param=ssp-buffer-size=4" +fi + + ;; + esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fexceptions" >&5 +$as_echo_n "checking whether compiler handles -fexceptions... " >&6; } +if ${gl_cv_warn__fexceptions+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -fexceptions" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__fexceptions=yes +else + gl_cv_warn__fexceptions=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fexceptions" >&5 +$as_echo "$gl_cv_warn__fexceptions" >&6; } +if test "x$gl_cv_warn__fexceptions" = xyes; then : + as_fn_append WARN_CFLAGS " -fexceptions" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fasynchronous-unwind-tables" >&5 +$as_echo_n "checking whether compiler handles -fasynchronous-unwind-tables... " >&6; } +if ${gl_cv_warn__fasynchronous_unwind_tables+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -fasynchronous-unwind-tables" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__fasynchronous_unwind_tables=yes +else + gl_cv_warn__fasynchronous_unwind_tables=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fasynchronous_unwind_tables" >&5 +$as_echo "$gl_cv_warn__fasynchronous_unwind_tables" >&6; } +if test "x$gl_cv_warn__fasynchronous_unwind_tables" = xyes; then : + as_fn_append WARN_CFLAGS " -fasynchronous-unwind-tables" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fdiagnostics-show-option" >&5 +$as_echo_n "checking whether compiler handles -fdiagnostics-show-option... " >&6; } +if ${gl_cv_warn__fdiagnostics_show_option+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -fdiagnostics-show-option" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__fdiagnostics_show_option=yes +else + gl_cv_warn__fdiagnostics_show_option=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fdiagnostics_show_option" >&5 +$as_echo "$gl_cv_warn__fdiagnostics_show_option" >&6; } +if test "x$gl_cv_warn__fdiagnostics_show_option" = xyes; then : + as_fn_append WARN_CFLAGS " -fdiagnostics-show-option" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -funit-at-a-time" >&5 +$as_echo_n "checking whether compiler handles -funit-at-a-time... " >&6; } +if ${gl_cv_warn__funit_at_a_time+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -funit-at-a-time" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__funit_at_a_time=yes +else + gl_cv_warn__funit_at_a_time=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__funit_at_a_time" >&5 +$as_echo "$gl_cv_warn__funit_at_a_time" >&6; } +if test "x$gl_cv_warn__funit_at_a_time" = xyes; then : + as_fn_append WARN_CFLAGS " -funit-at-a-time" +fi + + + # Need -fipa-pure-const in order to make -Wsuggest-attribute=pure + # fire even without -O. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fipa-pure-const" >&5 +$as_echo_n "checking whether compiler handles -fipa-pure-const... " >&6; } +if ${gl_cv_warn__fipa_pure_const+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -fipa-pure-const" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__fipa_pure_const=yes +else + gl_cv_warn__fipa_pure_const=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fipa_pure_const" >&5 +$as_echo "$gl_cv_warn__fipa_pure_const" >&6; } +if test "x$gl_cv_warn__fipa_pure_const" = xyes; then : + as_fn_append WARN_CFLAGS " -fipa-pure-const" +fi + + + # We should eventually enable this, but right now there are at + # least 75 functions triggering warnings. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-suggest-attribute=pure" >&5 +$as_echo_n "checking whether compiler handles -Wno-suggest-attribute=pure... " >&6; } +if ${gl_cv_warn__Wno_suggest_attribute_pure+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wno-suggest-attribute=pure" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wno_suggest_attribute_pure=yes +else + gl_cv_warn__Wno_suggest_attribute_pure=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_suggest_attribute_pure" >&5 +$as_echo "$gl_cv_warn__Wno_suggest_attribute_pure" >&6; } +if test "x$gl_cv_warn__Wno_suggest_attribute_pure" = xyes; then : + as_fn_append WARN_CFLAGS " -Wno-suggest-attribute=pure" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-suggest-attribute=const" >&5 +$as_echo_n "checking whether compiler handles -Wno-suggest-attribute=const... " >&6; } +if ${gl_cv_warn__Wno_suggest_attribute_const+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wno-suggest-attribute=const" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wno_suggest_attribute_const=yes +else + gl_cv_warn__Wno_suggest_attribute_const=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_suggest_attribute_const" >&5 +$as_echo "$gl_cv_warn__Wno_suggest_attribute_const" >&6; } +if test "x$gl_cv_warn__Wno_suggest_attribute_const" = xyes; then : + as_fn_append WARN_CFLAGS " -Wno-suggest-attribute=const" +fi + + + if test "$set_werror" = "yes" + then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Werror" >&5 +$as_echo_n "checking whether compiler handles -Werror... " >&6; } +if ${gl_cv_warn__Werror+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Werror" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Werror=yes +else + gl_cv_warn__Werror=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Werror" >&5 +$as_echo "$gl_cv_warn__Werror" >&6; } +if test "x$gl_cv_warn__Werror" = xyes; then : + as_fn_append WARN_CFLAGS " -Werror" +fi + + fi + WARN_CXXFLAGS=$WARN_CFLAGS + + + # These are C-only warnings + if test "x$enable_tunnel" != "xyes"; then + # Slirp causes pain :-( + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Waggregate-return" >&5 +$as_echo_n "checking whether compiler handles -Waggregate-return... " >&6; } +if ${gl_cv_warn__Waggregate_return+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Waggregate-return" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Waggregate_return=yes +else + gl_cv_warn__Waggregate_return=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Waggregate_return" >&5 +$as_echo "$gl_cv_warn__Waggregate_return" >&6; } +if test "x$gl_cv_warn__Waggregate_return" = xyes; then : + as_fn_append WARN_CFLAGS " -Waggregate-return" +fi + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wstrict-prototypes" >&5 +$as_echo_n "checking whether compiler handles -Wstrict-prototypes... " >&6; } +if ${gl_cv_warn__Wstrict_prototypes+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wstrict-prototypes" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wstrict_prototypes=yes +else + gl_cv_warn__Wstrict_prototypes=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wstrict_prototypes" >&5 +$as_echo "$gl_cv_warn__Wstrict_prototypes" >&6; } +if test "x$gl_cv_warn__Wstrict_prototypes" = xyes; then : + as_fn_append WARN_CFLAGS " -Wstrict-prototypes" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wold-style-definition" >&5 +$as_echo_n "checking whether compiler handles -Wold-style-definition... " >&6; } +if ${gl_cv_warn__Wold_style_definition+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wold-style-definition" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wold_style_definition=yes +else + gl_cv_warn__Wold_style_definition=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wold_style_definition" >&5 +$as_echo "$gl_cv_warn__Wold_style_definition" >&6; } +if test "x$gl_cv_warn__Wold_style_definition" = xyes; then : + as_fn_append WARN_CFLAGS " -Wold-style-definition" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wnested-externs" >&5 +$as_echo_n "checking whether compiler handles -Wnested-externs... " >&6; } +if ${gl_cv_warn__Wnested_externs+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wnested-externs" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wnested_externs=yes +else + gl_cv_warn__Wnested_externs=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wnested_externs" >&5 +$as_echo "$gl_cv_warn__Wnested_externs" >&6; } +if test "x$gl_cv_warn__Wnested_externs" = xyes; then : + as_fn_append WARN_CFLAGS " -Wnested-externs" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wformat-zero-length" >&5 +$as_echo_n "checking whether compiler handles -Wformat-zero-length... " >&6; } +if ${gl_cv_warn__Wformat_zero_length+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wformat-zero-length" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wformat_zero_length=yes +else + gl_cv_warn__Wformat_zero_length=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wformat_zero_length" >&5 +$as_echo "$gl_cv_warn__Wformat_zero_length" >&6; } +if test "x$gl_cv_warn__Wformat_zero_length" = xyes; then : + as_fn_append WARN_CFLAGS " -Wformat-zero-length" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wpointer-to-int-cast" >&5 +$as_echo_n "checking whether compiler handles -Wpointer-to-int-cast... " >&6; } +if ${gl_cv_warn__Wpointer_to_int_cast+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wpointer-to-int-cast" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wpointer_to_int_cast=yes +else + gl_cv_warn__Wpointer_to_int_cast=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wpointer_to_int_cast" >&5 +$as_echo "$gl_cv_warn__Wpointer_to_int_cast" >&6; } +if test "x$gl_cv_warn__Wpointer_to_int_cast" = xyes; then : + as_fn_append WARN_CFLAGS " -Wpointer-to-int-cast" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wjump-misses-init" >&5 +$as_echo_n "checking whether compiler handles -Wjump-misses-init... " >&6; } +if ${gl_cv_warn__Wjump_misses_init+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} -Wjump-misses-init" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + gl_cv_warn__Wjump_misses_init=yes +else + gl_cv_warn__Wjump_misses_init=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wjump_misses_init" >&5 +$as_echo "$gl_cv_warn__Wjump_misses_init" >&6; } +if test "x$gl_cv_warn__Wjump_misses_init" = xyes; then : + as_fn_append WARN_CFLAGS " -Wjump-misses-init" +fi + + + WARN_LDFLAGS=$WARN_CFLAGS + + + + +# use ximage.h for win32 build if it is found (no package for mingw32 atm) +if test $os_win32 == "yes" ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cximage" >&5 +$as_echo_n "checking for cximage... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <ximage.h> +int main() +{ + return CXIMAGE_FORMAT_RAW; +)} + +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 +$as_echo "found" >&6; } + have_cximage="yes" + + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5 +$as_echo "missing" >&6; } + CXIMAGE_CFLAGS='-DDISABLE_CXIMAGE' + have_cximage="no" + + +fi +rm -f conftest.err conftest.i conftest.$ac_ext +fi + + +# check for windres for mingw32 builds +if test $os_win32 == "yes" ; then + for ac_prog in i686-pc-mingw32-windres mingw-windres mingw32-windres +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_WINDRES+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$WINDRES"; then + ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_WINDRES="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +WINDRES=$ac_cv_prog_WINDRES +if test -n "$WINDRES"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 +$as_echo "$WINDRES" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$WINDRES" && break +done +test -n "$WINDRES" || WINDRES="false" + + +fi + + + + + +have_gcc4=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fvisibility" >&5 +$as_echo_n "checking for -fvisibility... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#if defined(__GNUC__) && (__GNUC__ >= 4) +#else +error Need GCC 4.0 for visibility +#endif +int main () { return 0; } + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + have_gcc4=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test "x$have_gcc4" = "xyes" && test ! "$os_win32" = "yes" ; then + VISIBILITY_HIDDEN_CFLAGS="-fvisibility=hidden" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gcc4" >&5 +$as_echo "$have_gcc4" >&6; } + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -Wl,--version-script works" >&5 +$as_echo_n "checking if -Wl,--version-script works... " >&6; } +if ${spice_cv_ld_version_script+:} false; then : + $as_echo_n "(cached) " >&6 +else + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -Wl,--version-script=$srcdir/server/spice-server.syms" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + spice_cv_ld_version_script=yes +else + spice_cv_ld_version_script=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$save_LDFLAGS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $spice_cv_ld_version_script" >&5 +$as_echo "$spice_cv_ld_version_script" >&6; } + if test x"$spice_cv_ld_version_script" = xyes; then + HAVE_LD_VERSION_SCRIPT_TRUE= + HAVE_LD_VERSION_SCRIPT_FALSE='#' +else + HAVE_LD_VERSION_SCRIPT_TRUE='#' + HAVE_LD_VERSION_SCRIPT_FALSE= +fi + + + + + + + + +# Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" = set; then : + enableval=$enable_silent_rules; +fi + +case $enable_silent_rules in # ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=0;; +esac +am_make=${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AM_BACKSLASH='\' + + +ac_config_files="$ac_config_files Makefile spice-server.pc server/Makefile server/tests/Makefile client/Makefile" + +cat >confcache <<\_ACEOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +( + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; #( + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) | + sed ' + /^ac_cv_env_/b end + t clear + :clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + if test "x$cache_file" != "x/dev/null"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache >"$cache_file" + else + case $cache_file in #( + */* | ?:*) + mv -f confcache "$cache_file"$$ && + mv -f "$cache_file"$$ "$cache_file" ;; #( + *) + mv -f confcache "$cache_file" ;; + esac + fi + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + fi +fi +rm -f confcache + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +DEFS="-DHAVE_CONFIG_H -DCONFIG_MARU" + +ac_libobjs= +ac_ltlibobjs= +U= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 +$as_echo_n "checking that generated files are newer than configure... " >&6; } + if test -n "$am_sleep_pid"; then + # Hide warnings about reused PIDs. + wait $am_sleep_pid 2>/dev/null + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 +$as_echo "done" >&6; } +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + as_fn_error $? "conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error $? "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + if test -n "$EXEEXT"; then + am__EXEEXT_TRUE= + am__EXEEXT_FALSE='#' +else + am__EXEEXT_TRUE='#' + am__EXEEXT_FALSE= +fi + +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then + as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then + as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + +if test -z "${X86_64_TRUE}" && test -z "${X86_64_FALSE}"; then + as_fn_error $? "conditional \"X86_64\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then + as_fn_error $? "conditional \"OS_WIN32\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${OS_UNIX_TRUE}" && test -z "${OS_UNIX_FALSE}"; then + as_fn_error $? "conditional \"OS_UNIX\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then + as_fn_error $? "conditional \"OS_LINUX\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${SUPPORT_TUNNEL_TRUE}" && test -z "${SUPPORT_TUNNEL_FALSE}"; then + as_fn_error $? "conditional \"SUPPORT_TUNNEL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${SUPPORT_GUI_TRUE}" && test -z "${SUPPORT_GUI_FALSE}"; then + as_fn_error $? "conditional \"SUPPORT_GUI\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${SUPPORT_GL_TRUE}" && test -z "${SUPPORT_GL_FALSE}"; then + as_fn_error $? "conditional \"SUPPORT_GL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${SUPPORT_SMARTCARD_TRUE}" && test -z "${SUPPORT_SMARTCARD_FALSE}"; then + as_fn_error $? "conditional \"SUPPORT_SMARTCARD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${SUPPORT_CLIENT_TRUE}" && test -z "${SUPPORT_CLIENT_FALSE}"; then + as_fn_error $? "conditional \"SUPPORT_CLIENT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${SUPPORT_AUTOMATED_TESTS_TRUE}" && test -z "${SUPPORT_AUTOMATED_TESTS_FALSE}"; then + as_fn_error $? "conditional \"SUPPORT_AUTOMATED_TESTS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_XRANDR12_TRUE}" && test -z "${HAVE_XRANDR12_FALSE}"; then + as_fn_error $? "conditional \"HAVE_XRANDR12\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_XINERAMA_TRUE}" && test -z "${HAVE_XINERAMA_FALSE}"; then + as_fn_error $? "conditional \"HAVE_XINERAMA\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_SASL_TRUE}" && test -z "${HAVE_SASL_FALSE}"; then + as_fn_error $? "conditional \"HAVE_SASL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LD_VERSION_SCRIPT_TRUE}" && test -z "${HAVE_LD_VERSION_SCRIPT_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LD_VERSION_SCRIPT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + +: "${CONFIG_STATUS=./config.status}" +ac_write_fail=0 +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +as_write_fail=0 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false + +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi +else + as_ln_s='cp -pR' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +as_test_x='test -x' +as_executable_p=as_fn_executable_p + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# Save the log message, to keep $0 and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by spice $as_me 0.12.2, which was +generated by GNU Autoconf 2.69. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +_ACEOF + +case $ac_config_files in *" +"*) set x $ac_config_files; shift; ac_config_files=$*;; +esac + +case $ac_config_headers in *" +"*) set x $ac_config_headers; shift; ac_config_headers=$*;; +esac + + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# Files that config.status was made for. +config_files="$ac_config_files" +config_headers="$ac_config_headers" +config_commands="$ac_config_commands" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. + +Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration commands: +$config_commands + +Report bugs to <spice-devel@lists.freedesktop.org>." + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" +ac_cs_version="\\ +spice config.status 0.12.2 +configured by $0, generated by GNU Autoconf 2.69, + with options \\"\$ac_cs_config\\" + +Copyright (C) 2012 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='$ac_pwd' +srcdir='$srcdir' +INSTALL='$INSTALL' +MKDIR_P='$MKDIR_P' +AWK='$AWK' +test -n "\$AWK" || AWK=awk +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=?*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + --*=) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg= + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + '') as_fn_error $? "missing file argument" ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + as_fn_error $? "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; + --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) as_fn_error $? "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; + + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +if \$ac_cs_recheck; then + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' + export CONFIG_SHELL + exec "\$@" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + $as_echo "$ac_log" +} >&5 + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# +# INIT-COMMANDS +# +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" + + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +sed_quote_subst='$sed_quote_subst' +double_quote_subst='$double_quote_subst' +delay_variable_subst='$delay_variable_subst' +macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' +macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' +enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' +enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' +pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' +enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' +ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' +PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' +host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' +host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' +host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' +build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' +build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' +build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' +SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' +Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' +GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' +EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' +FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' +LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' +NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' +LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' +max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' +ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' +exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' +lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' +lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' +lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' +lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' +lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' +reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' +reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' +OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' +deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' +file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' +file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' +want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' +DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' +sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' +AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' +AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' +archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' +STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' +RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' +old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' +old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' +old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' +lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' +CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' +CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' +compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' +GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' +nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' +lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' +objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' +MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' +lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' +need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' +MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' +DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' +NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' +LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' +OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' +OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' +libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' +shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' +extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' +archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' +enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' +export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' +whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' +compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' +old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' +old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' +archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' +archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' +module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' +module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' +with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' +allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' +no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' +hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' +hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' +hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' +hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' +hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' +inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' +link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' +always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' +export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' +exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' +include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' +prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' +postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' +file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' +variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' +need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' +need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' +version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' +runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' +shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' +shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' +libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' +library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' +soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' +install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' +postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' +postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' +finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' +finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' +hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' +sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' +sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' +hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' +enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' +enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' +enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' +old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' +striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' +compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' +predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' +postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' +predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' +postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' +compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' +LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' +reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' +reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' +old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' +compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' +GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' +lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' +archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' +enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' +export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' +whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' +compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' +old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' +old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' +archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' +archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' +module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' +module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' +with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' +allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' +no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' +inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' +link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' +always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' +export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' +exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' +include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' +prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' +postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' +file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' +compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' +predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' +postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' +predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' +postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' +compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' + +LTCC='$LTCC' +LTCFLAGS='$LTCFLAGS' +compiler='$compiler_DEFAULT' + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$1 +_LTECHO_EOF' +} + +# Quote evaled strings. +for var in SHELL \ +ECHO \ +PATH_SEPARATOR \ +SED \ +GREP \ +EGREP \ +FGREP \ +LD \ +NM \ +LN_S \ +lt_SP2NL \ +lt_NL2SP \ +reload_flag \ +OBJDUMP \ +deplibs_check_method \ +file_magic_cmd \ +file_magic_glob \ +want_nocaseglob \ +DLLTOOL \ +sharedlib_from_linklib_cmd \ +AR \ +AR_FLAGS \ +archiver_list_spec \ +STRIP \ +RANLIB \ +CC \ +CFLAGS \ +compiler \ +lt_cv_sys_global_symbol_pipe \ +lt_cv_sys_global_symbol_to_cdecl \ +lt_cv_sys_global_symbol_to_c_name_address \ +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ +nm_file_list_spec \ +lt_prog_compiler_no_builtin_flag \ +lt_prog_compiler_pic \ +lt_prog_compiler_wl \ +lt_prog_compiler_static \ +lt_cv_prog_compiler_c_o \ +need_locks \ +MANIFEST_TOOL \ +DSYMUTIL \ +NMEDIT \ +LIPO \ +OTOOL \ +OTOOL64 \ +shrext_cmds \ +export_dynamic_flag_spec \ +whole_archive_flag_spec \ +compiler_needs_object \ +with_gnu_ld \ +allow_undefined_flag \ +no_undefined_flag \ +hardcode_libdir_flag_spec \ +hardcode_libdir_separator \ +exclude_expsyms \ +include_expsyms \ +file_list_spec \ +variables_saved_for_relink \ +libname_spec \ +library_names_spec \ +soname_spec \ +install_override_mode \ +finish_eval \ +old_striplib \ +striplib \ +compiler_lib_search_dirs \ +predep_objects \ +postdep_objects \ +predeps \ +postdeps \ +compiler_lib_search_path \ +LD_CXX \ +reload_flag_CXX \ +compiler_CXX \ +lt_prog_compiler_no_builtin_flag_CXX \ +lt_prog_compiler_pic_CXX \ +lt_prog_compiler_wl_CXX \ +lt_prog_compiler_static_CXX \ +lt_cv_prog_compiler_c_o_CXX \ +export_dynamic_flag_spec_CXX \ +whole_archive_flag_spec_CXX \ +compiler_needs_object_CXX \ +with_gnu_ld_CXX \ +allow_undefined_flag_CXX \ +no_undefined_flag_CXX \ +hardcode_libdir_flag_spec_CXX \ +hardcode_libdir_separator_CXX \ +exclude_expsyms_CXX \ +include_expsyms_CXX \ +file_list_spec_CXX \ +compiler_lib_search_dirs_CXX \ +predep_objects_CXX \ +postdep_objects_CXX \ +predeps_CXX \ +postdeps_CXX \ +compiler_lib_search_path_CXX; do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[\\\\\\\`\\"\\\$]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +# Double-quote double-evaled strings. +for var in reload_cmds \ +old_postinstall_cmds \ +old_postuninstall_cmds \ +old_archive_cmds \ +extract_expsyms_cmds \ +old_archive_from_new_cmds \ +old_archive_from_expsyms_cmds \ +archive_cmds \ +archive_expsym_cmds \ +module_cmds \ +module_expsym_cmds \ +export_symbols_cmds \ +prelink_cmds \ +postlink_cmds \ +postinstall_cmds \ +postuninstall_cmds \ +finish_cmds \ +sys_lib_search_path_spec \ +sys_lib_dlsearch_path_spec \ +reload_cmds_CXX \ +old_archive_cmds_CXX \ +old_archive_from_new_cmds_CXX \ +old_archive_from_expsyms_cmds_CXX \ +archive_cmds_CXX \ +archive_expsym_cmds_CXX \ +module_cmds_CXX \ +module_expsym_cmds_CXX \ +export_symbols_cmds_CXX \ +prelink_cmds_CXX \ +postlink_cmds_CXX; do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[\\\\\\\`\\"\\\$]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +ac_aux_dir='$ac_aux_dir' +xsi_shell='$xsi_shell' +lt_shell_append='$lt_shell_append' + +# See if we are running on zsh, and set the options which allow our +# commands through without removal of \ escapes INIT. +if test -n "\${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi + + + PACKAGE='$PACKAGE' + VERSION='$VERSION' + TIMESTAMP='$TIMESTAMP' + RM='$RM' + ofile='$ofile' + + + + + + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "spice-server.pc") CONFIG_FILES="$CONFIG_FILES spice-server.pc" ;; + "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;; + "server/tests/Makefile") CONFIG_FILES="$CONFIG_FILES server/tests/Makefile" ;; + "client/Makefile") CONFIG_FILES="$CONFIG_FILES client/Makefile" ;; + + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= ac_tmp= + trap 'exit_status=$? + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && +_ACEOF + + +{ + echo "cat >conf$$subs.awk <<_ACEOF" && + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" +} >conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + . ./conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done +rm -f conf$$subs.sh + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && +_ACEOF +sed -n ' +h +s/^/S["/; s/!.*/"]=/ +p +g +s/^[^!]*!// +:repl +t repl +s/'"$ac_delim"'$// +t delim +:nl +h +s/\(.\{148\}\)..*/\1/ +t more1 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ +p +n +b repl +:more1 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t nl +:delim +h +s/\(.\{148\}\)..*/\1/ +t more2 +s/["\\]/\\&/g; s/^/"/; s/$/"/ +p +b +:more2 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t delim +' <conf$$subs.awk | sed ' +/^[^""]/{ + N + s/\n// +} +' >>$CONFIG_STATUS || ac_write_fail=1 +rm -f conf$$subs.awk +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACAWK +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 +_ACEOF + +# VPATH may cause trouble with some makes, so we remove sole $(srcdir), +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ +h +s/// +s/^/:/ +s/[ ]*$/:/ +s/:\$(srcdir):/:/g +s/:\${srcdir}:/:/g +s/:@srcdir@:/:/g +s/^:*// +s/:*$// +x +s/\(=[ ]*\).*/\1/ +G +s/\n// +s/^[^=]*=[ ]*$// +}' +fi + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +fi # test -n "$CONFIG_FILES" + +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$ac_tmp/defines.awk" <<\_ACAWK || +BEGIN { +_ACEOF + +# Transform confdefs.h into an awk script `defines.awk', embedded as +# here-document in config.status, that substitutes the proper values into +# config.h.in to produce config.h. + +# Create a delimiter string that does not exist in confdefs.h, to ease +# handling of long lines. +ac_delim='%!_!# ' +for ac_last_try in false false :; do + ac_tt=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_tt"; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +# For the awk script, D is an array of macro values keyed by name, +# likewise P contains macro parameters if any. Preserve backslash +# newline sequences. + +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* +sed -n ' +s/.\{148\}/&'"$ac_delim"'/g +t rset +:rset +s/^[ ]*#[ ]*define[ ][ ]*/ / +t def +d +:def +s/\\$// +t bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3"/p +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p +d +:bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3\\\\\\n"\\/p +t cont +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p +t cont +d +:cont +n +s/.\{148\}/&'"$ac_delim"'/g +t clear +:clear +s/\\$// +t bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/"/p +d +:bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p +b cont +' <confdefs.h | sed ' +s/'"$ac_delim"'/"\\\ +"/g' >>$CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { + line = \$ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 +fi # test -n "$CONFIG_HEADERS" + + +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$ac_tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac + ac_MKDIR_P=$MKDIR_P + case $MKDIR_P in + [\\/$]* | ?:[\\/]* ) ;; + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; + esac +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_datarootdir_hack=' + s&@datadir@&$datadir&g + s&@docdir@&$docdir&g + s&@infodir@&$infodir&g + s&@localedir@&$localedir&g + s&@mandir@&$mandir&g + s&\\\${datarootdir}&$datarootdir&g' ;; +esac +_ACEOF + +# Neutralize VPATH when `$srcdir' = `.'. +# Shell code in configure.ac might set extrasub. +# FIXME: do we really want to maintain this feature? +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_sed_extra="$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +s&@MKDIR_P@&$ac_MKDIR_P&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&2;} + + rm -f "$ac_tmp/stdin" + case $ac_file in + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; + esac \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + ;; + :H) + # + # CONFIG_HEADER + # + if test x"$ac_file" != x-; then + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + } >"$ac_tmp/config.h" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$ac_tmp/config.h" "$ac_file" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + fi + else + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error $? "could not create -" "$LINENO" 5 + fi +# Compute "$ac_file"'s index in $config_headers. +_am_arg="$ac_file" +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$_am_arg" : 'X\(//\)[^/]' \| \ + X"$_am_arg" : 'X\(//\)$' \| \ + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$_am_arg" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'`/stamp-h$_am_stamp_count + ;; + + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || { + # Autoconf 2.62 quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named 'Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running 'make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir=$dirpart/$fdir; as_fn_mkdir_p + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done + done +} + ;; + "libtool":C) + + # See if we are running on zsh, and set the options which allow our + # commands through without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + + cfgfile="${ofile}T" + trap "$RM \"$cfgfile\"; exit 1" 1 2 15 + $RM "$cfgfile" + + cat <<_LT_EOF >> "$cfgfile" +#! $SHELL + +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +# 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file is part of GNU Libtool. +# +# GNU Libtool 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. +# +# As a special exception to the GNU General Public License, +# if you distribute this file as part of a program or library that +# is built using GNU Libtool, you may include this file under the +# same distribution terms that you use for the rest of that program. +# +# GNU Libtool 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 GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or +# obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + +# The names of the tagged configurations supported by this script. +available_tags="CXX " + +# ### BEGIN LIBTOOL CONFIG + +# Which release of libtool.m4 was used? +macro_version=$macro_version +macro_revision=$macro_revision + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# What type of objects to build. +pic_mode=$pic_mode + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# An echo program that protects backslashes. +ECHO=$lt_ECHO + +# The PATH separator for the build system. +PATH_SEPARATOR=$lt_PATH_SEPARATOR + +# The host system. +host_alias=$host_alias +host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="\$SED -e 1s/^X//" + +# A grep program that handles long lines. +GREP=$lt_GREP + +# An ERE matcher. +EGREP=$lt_EGREP + +# A literal string matcher. +FGREP=$lt_FGREP + +# A BSD- or MS-compatible name lister. +NM=$lt_NM + +# Whether we need soft or hard links. +LN_S=$lt_LN_S + +# What is the maximum length of a command? +max_cmd_len=$max_cmd_len + +# Object file suffix (normally "o"). +objext=$ac_objext + +# Executable file suffix (normally ""). +exeext=$exeext + +# whether the shell understands "unset". +lt_unset=$lt_unset + +# turn spaces into newlines. +SP2NL=$lt_lt_SP2NL + +# turn newlines into spaces. +NL2SP=$lt_lt_NL2SP + +# convert \$build file names to \$host format. +to_host_file_cmd=$lt_cv_to_host_file_cmd + +# convert \$build files to toolchain format. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd + +# An object symbol dumper. +OBJDUMP=$lt_OBJDUMP + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method = "file_magic". +file_magic_cmd=$lt_file_magic_cmd + +# How to find potential files when deplibs_check_method = "file_magic". +file_magic_glob=$lt_file_magic_glob + +# Find potential files using nocaseglob when deplibs_check_method = "file_magic". +want_nocaseglob=$lt_want_nocaseglob + +# DLL creation program. +DLLTOOL=$lt_DLLTOOL + +# Command to associate shared and link libraries. +sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd + +# The archiver. +AR=$lt_AR + +# Flags to create an archive. +AR_FLAGS=$lt_AR_FLAGS + +# How to feed a file listing to the archiver. +archiver_list_spec=$lt_archiver_list_spec + +# A symbol stripping program. +STRIP=$lt_STRIP + +# Commands used to install an old-style archive. +RANLIB=$lt_RANLIB +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Whether to use a lock for old archive extraction. +lock_old_archive_extraction=$lock_old_archive_extraction + +# A C compiler. +LTCC=$lt_CC + +# LTCC compiler flags. +LTCFLAGS=$lt_CFLAGS + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# Transform the output of nm in a C name address pair when lib prefix is needed. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix + +# Specify filename containing input files for \$NM. +nm_file_list_spec=$lt_nm_file_list_spec + +# The root where to search for dependent libraries,and in which our libraries should be installed. +lt_sysroot=$lt_sysroot + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# Used to examine libraries when file_magic_cmd begins with "file". +MAGIC_CMD=$MAGIC_CMD + +# Must we lock files when doing compilation? +need_locks=$lt_need_locks + +# Manifest tool. +MANIFEST_TOOL=$lt_MANIFEST_TOOL + +# Tool to manipulate archived DWARF debug symbol files on Mac OS X. +DSYMUTIL=$lt_DSYMUTIL + +# Tool to change global to local symbols on Mac OS X. +NMEDIT=$lt_NMEDIT + +# Tool to manipulate fat objects and archives on Mac OS X. +LIPO=$lt_LIPO + +# ldd/readelf like tool for Mach-O binaries on Mac OS X. +OTOOL=$lt_OTOOL + +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. +OTOOL64=$lt_OTOOL64 + +# Old archive suffix (normally "a"). +libext=$libext + +# Shared library suffix (normally ".so"). +shrext_cmds=$lt_shrext_cmds + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at link time. +variables_saved_for_relink=$lt_variables_saved_for_relink + +# Do we need the "lib" prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Library versioning type. +version_type=$version_type + +# Shared library runtime path variable. +runpath_var=$runpath_var + +# Shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Permission mode override for installation of shared libraries. +install_override_mode=$lt_install_override_mode + +# Command to use after installation of a shared archive. +postinstall_cmds=$lt_postinstall_cmds + +# Command to use after uninstallation of a shared archive. +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# As "finish_cmds", except a single script fragment to be evaled but +# not shown. +finish_eval=$lt_finish_eval + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Compile-time system search path for libraries. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries. +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + + +# The linker used to build libraries. +LD=$lt_LD + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# Commands used to build an old-style archive. +old_archive_cmds=$lt_old_archive_cmds + +# A language specific compiler. +CC=$lt_compiler + +# Is the compiler the GNU compiler? +with_gcc=$GCC + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc + +# Whether or not to disallow shared libs when runtime libs are static. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec + +# Whether the compiler copes with passing no objects directly. +compiler_needs_object=$lt_compiler_needs_object + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds + +# Commands used to build a shared archive. +archive_cmds=$lt_archive_cmds +archive_expsym_cmds=$lt_archive_expsym_cmds + +# Commands used to build a loadable module if different from building +# a shared archive. +module_cmds=$lt_module_cmds +module_expsym_cmds=$lt_module_expsym_cmds + +# Whether we are building with GNU ld or not. +with_gnu_ld=$lt_with_gnu_ld + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag + +# Flag that enforces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec + +# Whether we need a single "-rpath" flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator + +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes +# DIR into the resulting binary. +hardcode_direct=$hardcode_direct + +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes +# DIR into the resulting binary and the resulting library dependency is +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the +# library is relocated. +hardcode_direct_absolute=$hardcode_direct_absolute + +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR +# into the resulting binary. +hardcode_minus_L=$hardcode_minus_L + +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR +# into the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var + +# Set to "yes" if building a shared library automatically hardcodes DIR +# into the library and all subsequent libraries and executables linked +# against it. +hardcode_automatic=$hardcode_automatic + +# Set to yes if linker adds runtime paths of dependent libraries +# to runtime path list. +inherit_rpath=$inherit_rpath + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs + +# Set to "yes" if exported symbols are required. +always_export_symbols=$always_export_symbols + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms + +# Commands necessary for linking programs (against libraries) with templates. +prelink_cmds=$lt_prelink_cmds + +# Commands necessary for finishing linking programs. +postlink_cmds=$lt_postlink_cmds + +# Specify filename containing input files. +file_list_spec=$lt_file_list_spec + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action + +# The directories searched by this compiler when creating a shared library. +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs + +# Dependencies to place before and after the objects being linked to +# create a shared library. +predep_objects=$lt_predep_objects +postdep_objects=$lt_postdep_objects +predeps=$lt_predeps +postdeps=$lt_postdeps + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path + +# ### END LIBTOOL CONFIG + +_LT_EOF + + case $host_os in + aix3*) + cat <<\_LT_EOF >> "$cfgfile" +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +_LT_EOF + ;; + esac + + +ltmain="$ac_aux_dir/ltmain.sh" + + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + if test x"$xsi_shell" = xyes; then + sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ +func_dirname ()\ +{\ +\ case ${1} in\ +\ */*) func_dirname_result="${1%/*}${2}" ;;\ +\ * ) func_dirname_result="${3}" ;;\ +\ esac\ +} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_basename ()$/,/^} # func_basename /c\ +func_basename ()\ +{\ +\ func_basename_result="${1##*/}"\ +} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ +func_dirname_and_basename ()\ +{\ +\ case ${1} in\ +\ */*) func_dirname_result="${1%/*}${2}" ;;\ +\ * ) func_dirname_result="${3}" ;;\ +\ esac\ +\ func_basename_result="${1##*/}"\ +} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ +func_stripname ()\ +{\ +\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ +\ # positional parameters, so assign one to ordinary parameter first.\ +\ func_stripname_result=${3}\ +\ func_stripname_result=${func_stripname_result#"${1}"}\ +\ func_stripname_result=${func_stripname_result%"${2}"}\ +} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ +func_split_long_opt ()\ +{\ +\ func_split_long_opt_name=${1%%=*}\ +\ func_split_long_opt_arg=${1#*=}\ +} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ +func_split_short_opt ()\ +{\ +\ func_split_short_opt_arg=${1#??}\ +\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ +} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ +func_lo2o ()\ +{\ +\ case ${1} in\ +\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ +\ *) func_lo2o_result=${1} ;;\ +\ esac\ +} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_xform ()$/,/^} # func_xform /c\ +func_xform ()\ +{\ + func_xform_result=${1%.*}.lo\ +} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_arith ()$/,/^} # func_arith /c\ +func_arith ()\ +{\ + func_arith_result=$(( $* ))\ +} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_len ()$/,/^} # func_len /c\ +func_len ()\ +{\ + func_len_result=${#1}\ +} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + +fi + +if test x"$lt_shell_append" = xyes; then + sed -e '/^func_append ()$/,/^} # func_append /c\ +func_append ()\ +{\ + eval "${1}+=\\${2}"\ +} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ +func_append_quoted ()\ +{\ +\ func_quote_for_eval "${2}"\ +\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ +} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + # Save a `func_append' function call where possible by direct use of '+=' + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +else + # Save a `func_append' function call even when '+=' is not available + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +fi + +if test x"$_lt_function_replace_fail" = x":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} +fi + + + mv -f "$cfgfile" "$ofile" || + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" + + + cat <<_LT_EOF >> "$ofile" + +# ### BEGIN LIBTOOL TAG CONFIG: CXX + +# The linker used to build libraries. +LD=$lt_LD_CXX + +# How to create reloadable object files. +reload_flag=$lt_reload_flag_CXX +reload_cmds=$lt_reload_cmds_CXX + +# Commands used to build an old-style archive. +old_archive_cmds=$lt_old_archive_cmds_CXX + +# A language specific compiler. +CC=$lt_compiler_CXX + +# Is the compiler the GNU compiler? +with_gcc=$GCC_CXX + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_CXX + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_CXX + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_CXX + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_CXX + +# Whether or not to disallow shared libs when runtime libs are static. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX + +# Whether the compiler copes with passing no objects directly. +compiler_needs_object=$lt_compiler_needs_object_CXX + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX + +# Commands used to build a shared archive. +archive_cmds=$lt_archive_cmds_CXX +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX + +# Commands used to build a loadable module if different from building +# a shared archive. +module_cmds=$lt_module_cmds_CXX +module_expsym_cmds=$lt_module_expsym_cmds_CXX + +# Whether we are building with GNU ld or not. +with_gnu_ld=$lt_with_gnu_ld_CXX + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_CXX + +# Flag that enforces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_CXX + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX + +# Whether we need a single "-rpath" flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX + +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes +# DIR into the resulting binary. +hardcode_direct=$hardcode_direct_CXX + +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes +# DIR into the resulting binary and the resulting library dependency is +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the +# library is relocated. +hardcode_direct_absolute=$hardcode_direct_absolute_CXX + +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR +# into the resulting binary. +hardcode_minus_L=$hardcode_minus_L_CXX + +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR +# into the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX + +# Set to "yes" if building a shared library automatically hardcodes DIR +# into the library and all subsequent libraries and executables linked +# against it. +hardcode_automatic=$hardcode_automatic_CXX + +# Set to yes if linker adds runtime paths of dependent libraries +# to runtime path list. +inherit_rpath=$inherit_rpath_CXX + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_CXX + +# Set to "yes" if exported symbols are required. +always_export_symbols=$always_export_symbols_CXX + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_CXX + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_CXX + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_CXX + +# Commands necessary for linking programs (against libraries) with templates. +prelink_cmds=$lt_prelink_cmds_CXX + +# Commands necessary for finishing linking programs. +postlink_cmds=$lt_postlink_cmds_CXX + +# Specify filename containing input files. +file_list_spec=$lt_file_list_spec_CXX + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_CXX + +# The directories searched by this compiler when creating a shared library. +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX + +# Dependencies to place before and after the objects being linked to +# create a shared library. +predep_objects=$lt_predep_objects_CXX +postdep_objects=$lt_postdep_objects_CXX +predeps=$lt_predeps_CXX +postdeps=$lt_postdeps_CXX + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX + +# ### END LIBTOOL TAG CONFIG: CXX +_LT_EOF + + ;; + + esac +done # for ac_tag + + +as_fn_exit 0 +_ACEOF +ac_clean_files=$ac_clean_files_save + +test $ac_write_fail = 0 || + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || as_fn_exit 1 +fi + +# +# CONFIG_SUBDIRS section. +# +if test "$no_recursion" != yes; then + + # Remove --cache-file, --srcdir, and --disable-option-checking arguments + # so they do not pile up. + ac_sub_configure_args= + ac_prev= + eval "set x $ac_configure_args" + shift + for ac_arg + do + if test -n "$ac_prev"; then + ac_prev= + continue + fi + case $ac_arg in + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ + | --c=*) + ;; + --config-cache | -C) + ;; + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + ;; + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + ;; + --disable-option-checking) + ;; + *) + case $ac_arg in + *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append ac_sub_configure_args " '$ac_arg'" ;; + esac + done + + # Always prepend --prefix to ensure using the same prefix + # in subdir configurations. + ac_arg="--prefix=$prefix" + case $ac_arg in + *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" + + # Pass --silent + if test "$silent" = yes; then + ac_sub_configure_args="--silent $ac_sub_configure_args" + fi + + # Always prepend --disable-option-checking to silence warnings, since + # different subdirs can have different --enable and --with options. + ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" + + ac_popdir=`pwd` + for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue + + # Do not complain, so a configure script can configure whichever + # parts of a large source tree are present. + test -d "$srcdir/$ac_dir" || continue + + ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" + $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 + $as_echo "$ac_msg" >&6 + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + cd "$ac_dir" + + # Check for guested configure; otherwise get Cygnus style configure. + if test -f "$ac_srcdir/configure.gnu"; then + ac_sub_configure=$ac_srcdir/configure.gnu + elif test -f "$ac_srcdir/configure"; then + ac_sub_configure=$ac_srcdir/configure + elif test -f "$ac_srcdir/configure.in"; then + # This should be Cygnus configure. + ac_sub_configure=$ac_aux_dir/configure + else + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 +$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} + ac_sub_configure= + fi + + # The recursion is here. + if test -n "$ac_sub_configure"; then + # Make the cache file name correct relative to the subdirectory. + case $cache_file in + [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; + *) # Relative name. + ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; + esac + + { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 +$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} + # The eval makes quoting arguments work. + eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ + --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || + as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 + fi + + cd "$ac_popdir" + done +fi +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} +fi + + +echo " + + Spice $VERSION + ============== + + prefix: ${prefix} + c compiler: ${CC} + c++ compiler: ${CXX} + python: ${PYTHON} + + Build Spice client: ${enable_client} +" ; if test "x$enable_client" == "xyes"; then echo "\ + Have XRANDR 1.2: ${have_xrandr12} + + Have Xinerama: ${have_xinerama} + + Red target: ${red_target} + + OpenGL: ${enable_opengl} + + GUI: ${enable_gui} +" ; fi ; echo "\ + Support tunneling: ${enable_tunnel} + + Smartcard: ${enable_smartcard} + + SASL support: ${enable_sasl} + + Automated tests: ${enable_automated_tests} +" + +if test $os_win32 == "yes" ; then +echo \ +" Copy & Paste Images: ${have_cximage} +" +fi + +echo \ +" Now type 'make' to build $PACKAGE +" diff --git a/tizen/distrib/remote/server/spice-0.12.2/configure.ac b/tizen/distrib/remote/server/spice-0.12.2/configure.ac new file mode 100644 index 0000000..fc0216f --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/configure.ac @@ -0,0 +1,552 @@ +AC_PREREQ([2.57]) + +# Making releases: +# 1. The version is SPICE_MAJOR.SPICE_MINOR.SPICE_MICRO +# 2. It is generated via a two stage process: +# 1. Create a tag +# 2. run configure which calls git-version-gen. +# 3. Follow these rules for setting the next tag (aka tarball version): +# 1. SPICE_MAJOR remains 0 until a major change is done. +# 2. Increment SPICE_MINOR to next even value on a significant release, +# updating the release schedule: http://www.spice-space.org/page/Releases +# 3. Increment SPICE_MINOR otherwise. +# 4. Follow the libtool manual for the so version: +# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html + +m4_define([SPICE_CURRENT], [7]) +m4_define([SPICE_REVISION], [0]) +m4_define([SPICE_AGE], [6]) + +# Note on the library name on linux (SONAME) produced by libtool (for reference, gleaned +# from looking at libtool 2.4.2) +# +# libspice-servver.so.current-age.age.revision + +AC_INIT(spice, [m4_esyscmd(build-aux/git-version-gen .tarball-version)], + [spice-devel@lists.freedesktop.org], spice) + +AC_CONFIG_MACRO_DIR([m4]) +AM_CONFIG_HEADER([config.h]) +AC_CONFIG_AUX_DIR(.) + +# For automake >= 1.12 +m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) + +AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip subdir-objects]) +AM_MAINTAINER_MODE + +AC_PROG_CC +AC_PROG_CC_C99 +if test x"$ac_cv_prog_cc_c99" = xno; then + AC_MSG_ERROR([C99 compiler is required.]) +fi +AC_PROG_CXX +AC_PROG_INSTALL +AC_CANONICAL_HOST +AC_PROG_LIBTOOL +AM_PROG_CC_C_O +AC_C_BIGENDIAN +AC_PATH_PROGS(PYTHON, python2 python) +PKG_PROG_PKG_CONFIG + +AC_CHECK_HEADERS([sys/time.h]) +AC_CHECK_HEADERS([execinfo.h]) +AC_FUNC_ALLOCA + +AC_DEFINE([__STDC_FORMAT_MACROS],[],[Force definition of format macros for C++]) + +SPICE_LT_VERSION=m4_format("%d:%d:%d", SPICE_CURRENT, SPICE_REVISION, SPICE_AGE) +AC_SUBST(SPICE_LT_VERSION) + +# Check for the CPU we are using +# +AC_MSG_CHECKING(for x86, x86-64 or armv6+ platform) +case $host_cpu in + i386|i486|i586|i686|i786|k6|k7|armv6|armv6l|armv6hl|armv7|armv7l|armv7hl) + variant=32 + ;; + x86_64) + variant=64 + ;; + *) + AC_MSG_RESULT(no) + echo Only x86 and x86-64 are supported + exit 1 +esac +AC_MSG_RESULT($variant bit) +AM_CONDITIONAL([X86_64], [test "$variant" = 64]) + +AC_MSG_CHECKING([for native Win32]) +case "$host" in + *-*-mingw*) + os_win32=yes + ;; + *) + os_win32=no + ;; +esac +AC_MSG_RESULT([$os_win32]) + +case $host in + *-*-linux*) + os_linux=yes + ;; +esac + +dnl ========================================================================= +dnl Check OS target + +AC_MSG_CHECKING([for some Win32 platform]) +case "$host" in + *-*-mingw*|*-*-cygwin*) + platform_win32=yes + ;; + *) + platform_win32=no + ;; +esac +AC_MSG_RESULT([$platform_win32]) +if test "$platform_win32" = yes; then + red_target=windows +else + red_target=x11 +fi + +AM_CONDITIONAL(OS_WIN32, test "$os_win32" = "yes") +AM_CONDITIONAL(OS_UNIX, test "$os_win32" != "yes") +AM_CONDITIONAL(OS_LINUX, test "$os_linux" = "yes") + +dnl ========================================================================= +dnl Chek optional features +AC_ARG_ENABLE(tunnel, +[ --enable-tunnel Enable network redirection],, +[enable_tunnel="no"]) +AS_IF([test x"$enable_tunnel" != "xno"], [enable_tunnel="yes"]) +AM_CONDITIONAL(SUPPORT_TUNNEL, test "x$enable_tunnel" != "xno") +if test "x$enable_tunnel" != "xno"; then + AC_DEFINE([USE_TUNNEL], [1], [Define if supporting tunnel proxying]) +fi + +AC_ARG_ENABLE(gui, +[ --enable-gui Enable start dialog with CEGUI],, +[enable_gui="no"]) +AS_IF([test x"$enable_gui" != "xno"], [enable_gui="yes"]) +AM_CONDITIONAL(SUPPORT_GUI, test "x$enable_gui" != "xno") + +AC_ARG_ENABLE(opengl, +[ --enable-opengl Enable opengl requirement / support (not recommended)],, +[enable_opengl="no"]) +AS_IF([test x"$enable_opengl" != "xno"], [enable_opengl="yes"]) +AM_CONDITIONAL(SUPPORT_GL, test "x$enable_opengl" = "xyes") + +AC_ARG_ENABLE(smartcard, +[ --enable-smartcard Enable network redirection],, +[enable_smartcard="no"]) +AS_IF([test x"$enable_smartcard" != "xno"], [enable_smartcard="yes"]) +AM_CONDITIONAL(SUPPORT_SMARTCARD, test "x$enable_smartcard" != "xno") +if test "x$enable_smartcard" = "xyes"; then + AC_DEFINE([USE_SMARTCARD], [1], [Define if supporting smartcard proxying]) +fi + +AC_ARG_ENABLE(client, +[ --enable-client Enable spice client],, +[enable_client="no"]) +AS_IF([test x"$enable_client" != "xno"], [enable_client="yes"]) +AM_CONDITIONAL(SUPPORT_CLIENT, test "x$enable_client" = "xyes") + +AC_ARG_ENABLE(automated_tests, +[ --enable-automated-tests Enable automated tests using snappy (part of spice--gtk)],, +[enable_automated_tests="no"]) +AS_IF([test x"$enable_automated_tests" != "xno"], [enable_automated_tests="yes"]) +AM_CONDITIONAL(SUPPORT_AUTOMATED_TESTS, test "x$enable_automated_tests" != "xno") + + +dnl ========================================================================= +dnl Check deps + +AC_CONFIG_SUBDIRS([spice-common]) +COMMON_CFLAGS='-I ${top_srcdir}/spice-common/ -I ${top_srcdir}/spice-common/spice-protocol/' +AC_SUBST(COMMON_CFLAGS) + +AC_CHECK_LIBM +AC_SUBST(LIBM) + +AC_CHECK_LIB(rt, clock_gettime, + AC_DEFINE([HAVE_CLOCK_GETTIME], 1, [Defined if we have clock_gettime()]) + LIBRT=-lrt + ) +AC_SUBST(LIBRT) + +if test "$red_target" = "windows"; then + SPICE_NONPKGCONFIG_LIBS+=" -lpthreadGC2 -lversion -lmsimg32 $LIBM" +else + SPICE_NONPKGCONFIG_LIBS+=" -pthread $LIBM $LIBRT" +fi + +dnl The client needs a yield function +AC_MSG_CHECKING(for posix yield function) +for yield_func in pthread_yield pthread_yield_np sched_yield \ + thr_yield; do + spice_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $SPICE_NONPKGCONFIG_LIBS" + AC_TRY_LINK([#include <pthread.h>], + [$yield_func()], + [posix_yield_func="$yield_func" + break]) + CPPFLAGS="$spice_save_CPPFLAGS" +done +if test x"$posix_yield_func" = xnone; then + AC_MSG_ERROR([No posix yield function found]) +else + AC_MSG_RESULT($posix_yield_func) + posix_yield_func="$posix_yield_func()" +fi +AC_DEFINE_UNQUOTED([POSIX_YIELD_FUNC],$posix_yield_func,[The POSIX RT yield function]) + +SPICE_REQUIRES="" + +if test "x$enable_gui" = "xyes" && test "x$enable_client" = "xyes" ; then + PKG_CHECK_MODULES(CEGUI06, CEGUI-0.6 >= 0.6.0 CEGUI-0.6 < 0.7.0, + [ + AC_SUBST(CEGUI06_CFLAGS) + AC_SUBST(CEGUI06_LIBS) + AC_DEFINE([USE_GUI], [1], [Define to build with CEGUI support]) + ], + [ + PKG_CHECK_MODULES(CEGUI, CEGUI >= 0.6.0 CEGUI < 0.7.0) + AC_SUBST(CEGUI_CFLAGS) + AC_SUBST(CEGUI_LIBS) + AC_DEFINE([USE_GUI], [1], [Define to build with CEGUI support]) + ]) +fi + +if test "x$enable_tunnel" = "xyes"; then + PKG_CHECK_MODULES(SLIRP, slirp) + AC_SUBST(SLIRP_CFLAGS) + AC_SUBST(SLIRP_LIBS) + SPICE_REQUIRES+=" slirp" + AC_DEFINE([HAVE_SLIRP], [], [Define if we have slirp]) +fi + +if test "x$enable_smartcard" = "xyes"; then + PKG_CHECK_MODULES(CAC_CARD, libcacard >= 0.1.2) + SMARTCARD_LIBS="$CAC_CARD_LIBS" + SMARTCARD_CFLAGS="$CAC_CARD_CFLAGS" + AC_SUBST(SMARTCARD_LIBS) + AC_SUBST(SMARTCARD_CFLAGS) + SPICE_REQUIRES+=" libcacard >= 0.1.2" +fi + + +PKG_CHECK_MODULES([GLIB2], [glib-2.0 >= 2.22]) +SPICE_REQUIRES+=" glib-2.0 >= 2.22" + +PKG_CHECK_MODULES(PIXMAN, pixman-1 >= 0.17.7) +AC_SUBST(PIXMAN_CFLAGS) +AC_SUBST(PIXMAN_LIBS) +SPICE_REQUIRES+=" pixman-1 >= 0.17.7" + +PKG_CHECK_MODULES(CELT051, celt051 >= 0.5.1.1) +AC_SUBST(CELT051_CFLAGS) +AC_SUBST(CELT051_LIBS) +AC_SUBST(CELT051_LIBDIR) +SPICE_REQUIRES+=" celt051 >= 0.5.1.1" + +if test ! -e client/generated_marshallers.cpp; then +AC_MSG_CHECKING([for pyparsing python module]) +echo "import pyparsing" | ${PYTHON} - >/dev/null 2>&1 +if test $? -ne 0 ; then + AC_MSG_RESULT([not found]) + AC_MSG_ERROR([pyparsing python module is required to compile this package]) +fi +AC_MSG_RESULT([found]) +fi + +if test "$os_linux" = yes; then + PKG_CHECK_MODULES(ALSA, alsa) + AC_SUBST(ALSA_CFLAGS) + AC_SUBST(ALSA_LIBS) +fi + +PKG_CHECK_MODULES(SSL, openssl) +AC_SUBST(SSL_CFLAGS) +AC_SUBST(SSL_LIBS) +SPICE_REQUIRES+=" openssl" + +# These are commented out because the gl libraries on RHEL 5 do not have pkgconfig files +# +# PKG_CHECK_MODULES(GL, gl glu) +# AC_SUBST(GL_CFLAGS) +# AC_SUBST(GL_LIBS) +# SPICE_REQUIRES+=" gl glu" + +if test "x$enable_opengl" = "xyes"; then + AC_CHECK_LIB(GL, glBlendFunc, GL_LIBS="$GL_LIBS -lGL", enable_opengl=no) + AC_CHECK_LIB(GLU, gluSphere, GL_LIBS="$GL_LIBS -lGLU", enable_opengl=no) + AC_DEFINE([USE_OPENGL], [1], [Define to build with OpenGL support]) + AC_DEFINE([GL_GLEXT_PROTOTYPES], [], [Enable GLExt prototypes]) + + if test "x$enable_opengl" = "xno"; then + AC_MSG_ERROR([GL libraries not available]) + fi +fi + +AC_SUBST(GL_CFLAGS) +AC_SUBST(GL_LIBS) +SPICE_NONPKGCONFIG_LIBS+=" $GL_LIBS" + +if test "x$red_target" = "xx11" && test "x$enable_client" = "xyes" ; then + PKG_CHECK_MODULES(XRANDR, xrandr) + PKG_CHECK_MODULES(XFIXES, xfixes) + PKG_CHECK_MODULES(MISC_X, x11 xext xrender) + AC_SUBST(XRANDR_CFLAGS) + AC_SUBST(XRANDR_LIBS) + AC_SUBST(MISC_X_CFLAGS) + AC_SUBST(MISC_X_LIBS) + + PKG_CHECK_MODULES(XRANDR12, + xrandr >= 1.2, + have_xrandr12=yes, + have_xrandr12=no) +else + have_xrandr12=no +fi + +AM_CONDITIONAL([HAVE_XRANDR12], [test "x$have_xrandr12" = "xyes"]) +if test "x$have_xrandr12" = "xyes" ; then + AC_DEFINE([HAVE_XRANDR12], [], [Define if we have XRANDR 12]) +fi + +# Add parameter for libXinerama +AC_ARG_ENABLE([xinerama], + [AS_HELP_STRING([--disable-xinerama], + [disable Xinerama library @<:@default=no@:>@])]) + +if test "x$enable_xinerama" != "xno"; then + PKG_CHECK_MODULES(XINERAMA, + xinerama >= 1.0, + have_xinerama=yes, + have_xinerama=no) +else + have_xinerama=no +fi + +if test "x$enable_xinerama" = "xyes" && test "x$have_xinerama" = "xno"; then + AC_MSG_ERROR([Requested Xinerama library was not found]) +fi + +AM_CONDITIONAL([HAVE_XINERAMA], [test "x$have_xinerama" = "xyes"]) +if test "x$have_xinerama" = "xyes" ; then + AC_DEFINE([HAVE_XINERAMA], [], [Define if we have Xinerama]) + AC_SUBST(XINERAMA_CFLAGS) + AC_SUBST(XINERAMA_LIBS) + SPICE_REQUIRES+=" xinerama" +fi + +# Add parameter for (partial) static linkage of spice client. +# this is used to achive single binary package for all (?) distros. +AC_ARG_ENABLE(static-linkage, +[ --enable-static-linkage will generate spice client binary with static linkage to external libraries ],, +[enable_static_linkage="no"]) +AS_IF([test x"$enable_static_linkage" != "xno"], +[SPICEC_STATIC_LINKAGE_BSTATIC=["-Wl,-Bstatic"]]) + +AC_CHECK_LIB(jpeg, jpeg_destroy_decompress, + AC_MSG_CHECKING([for jpeglib.h]) + AC_TRY_CPP( +[#include <stdio.h> +#undef PACKAGE +#undef VERSION +#undef HAVE_STDLIB_H +#include <jpeglib.h>], + JPEG_LIBS='-ljpeg' + AC_MSG_RESULT($jpeg_ok), + AC_MSG_ERROR([jpeglib.h not found])), + AC_MSG_ERROR([libjpeg not found])) +AC_SUBST(JPEG_LIBS) + +AC_CHECK_LIB(z, deflate, Z_LIBS='-lz', AC_MSG_ERROR([zlib not found])) +AC_SUBST(Z_LIBS) + +dnl Cyrus SASL, check from gtk-vnc +AC_ARG_WITH([sasl], + [AS_HELP_STRING([--with-sasl], + [use cyrus SASL for authentication @<:@default=check@:>@])], + [], + [with_sasl=check]) + +SASL_CFLAGS= +SASL_LIBS= +enable_sasl=no +if test "x$with_sasl" != "xno"; then + if test "x$with_sasl" != "xyes" && test "x$with_sasl" != "xcheck"; then + SASL_CFLAGS="-I$with_sasl" + SASL_LIBS="-L$with_sasl" + fi + fail=0 + old_cflags="$CFLAGS" + old_libs="$LIBS" + CFLAGS="$CFLAGS $SASL_CFLAGS" + LIBS="$LIBS $SASL_LIBS" + AC_CHECK_HEADER([sasl/sasl.h],[],[ + if test "x$with_sasl" != "xcheck" ; then + with_sasl=no + else + fail=1 + fi]) + if test "x$with_sasl" != "xno" ; then + AC_CHECK_LIB([sasl2], [sasl_client_init],[with_sasl2=yes],[with_sasl2=no]) + fi + if test "x$with_sasl2" = "xno" && test "x$with_sasl" != "xno" ; then + AC_CHECK_LIB([sasl], [sasl_client_init],[with_sasl=yes],[with_sasl=no]) + fi + if test "x$with_sasl2" = "xyes"; then + SASL_LIBS="$SASL_LIBS -lsasl2" + elif test "x$with_sasl" = "xyes"; then + SASL_LIBS="$SASL_LIBS -lsasl" + else + AC_MSG_ERROR([Missing required Cyrus SASL development package]) + fi + CFLAGS="$old_cflags" + LIBS="$old_libs" + if test "x$with_sasl2" = "xyes" || test "x$with_sasl" = "xyes" ; then + AC_DEFINE_UNQUOTED([HAVE_SASL], 1, + [whether Cyrus SASL is available for authentication]) + enable_sasl=yes + fi +fi +AM_CONDITIONAL([HAVE_SASL], [test "x$with_sasl2" = "xyes" || test "x$with_sasl" = "xyes"]) +AC_SUBST([SASL_CFLAGS]) +AC_SUBST([SASL_LIBS]) + +if test "x$enable_automated_tests" = "xyes"; then + AC_MSG_CHECKING([for snappy]) + snappy --help >/dev/null 2>&1 + if test $? -ne 0 ; then + AC_MSG_RESULT([not found]) + AC_MSG_ERROR([snappy was not found, this module is part of spice-gtk andis required to compile this package]) + fi + AC_MSG_RESULT([found]) +fi + +dnl =========================================================================== +dnl check compiler flags + +SPICE_COMPILE_WARNINGS + +# use ximage.h for win32 build if it is found (no package for mingw32 atm) +if test $os_win32 == "yes" ; then + AC_MSG_CHECKING([for cximage]) + AC_TRY_CPP( +[#include <ximage.h> +int main() +{ + return CXIMAGE_FORMAT_RAW; +)} +],[ + AC_MSG_RESULT([found]) + have_cximage="yes" +] +,[AC_MSG_RESULT([missing]) + CXIMAGE_CFLAGS='-DDISABLE_CXIMAGE' + have_cximage="no" + ] +) +fi +AC_SUBST(CXIMAGE_CFLAGS) + +# check for windres for mingw32 builds +if test $os_win32 == "yes" ; then + AC_CHECK_PROGS(WINDRES,i686-pc-mingw32-windres mingw-windres mingw32-windres,false) + AC_SUBST(WINDRES) +fi + +AC_SUBST(WARN_CFLAGS) +AC_SUBST(CFLAGS_CFLAGS) + +dnl ========================================================================= +dnl -fvisibility stuff + +have_gcc4=no +AC_MSG_CHECKING(for -fvisibility) +AC_COMPILE_IFELSE([AC_LANG_SOURCE([ +#if defined(__GNUC__) && (__GNUC__ >= 4) +#else +error Need GCC 4.0 for visibility +#endif +int main () { return 0; } +])], have_gcc4=yes) + +if test "x$have_gcc4" = "xyes" && test ! "$os_win32" = "yes" ; then + VISIBILITY_HIDDEN_CFLAGS="-fvisibility=hidden" +fi +AC_MSG_RESULT($have_gcc4) +AC_SUBST(VISIBILITY_HIDDEN_CFLAGS) + +dnl ensure linker supports ---version-script option before using it +AC_CACHE_CHECK([if -Wl,--version-script works], [spice_cv_ld_version_script], + [save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -Wl,--version-script=$srcdir/server/spice-server.syms" + AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])], + [spice_cv_ld_version_script=yes], [spice_cv_ld_version_script=no]) + LDFLAGS="$save_LDFLAGS"]) +AM_CONDITIONAL([HAVE_LD_VERSION_SCRIPT], + [test x"$spice_cv_ld_version_script" = xyes]) + +AC_SUBST(SPICE_REQUIRES) +AC_SUBST(SPICE_NONPKGCONFIG_CFLAGS) +AC_SUBST(SPICE_NONPKGCONFIG_LIBS) + +AC_SUBST([SPICEC_STATIC_LINKAGE_BSTATIC]) + +m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) + +AC_OUTPUT([ +Makefile +spice-server.pc +server/Makefile +server/tests/Makefile +client/Makefile +]) + +dnl ========================================================================== +echo " + + Spice $VERSION + ============== + + prefix: ${prefix} + c compiler: ${CC} + c++ compiler: ${CXX} + python: ${PYTHON} + + Build Spice client: ${enable_client} +" ; if test "x$enable_client" == "xyes"; then echo "\ + Have XRANDR 1.2: ${have_xrandr12} + + Have Xinerama: ${have_xinerama} + + Red target: ${red_target} + + OpenGL: ${enable_opengl} + + GUI: ${enable_gui} +" ; fi ; echo "\ + Support tunneling: ${enable_tunnel} + + Smartcard: ${enable_smartcard} + + SASL support: ${enable_sasl} + + Automated tests: ${enable_automated_tests} +" + +if test $os_win32 == "yes" ; then +echo \ +" Copy & Paste Images: ${have_cximage} +" +fi + +echo \ +" Now type 'make' to build $PACKAGE +" diff --git a/tizen/distrib/remote/server/spice-0.12.2/depcomp b/tizen/distrib/remote/server/spice-0.12.2/depcomp new file mode 100644 index 0000000..06b0882 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/depcomp @@ -0,0 +1,790 @@ +#! /bin/sh +# depcomp - compile a program generating dependencies as side-effects + +scriptversion=2012-10-18.11; # UTC + +# Copyright (C) 1999-2013 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 2, 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/>. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>. + +case $1 in + '') + echo "$0: No command. Try '$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: depcomp [--help] [--version] PROGRAM [ARGS] + +Run PROGRAMS ARGS to compile a file, generating dependencies +as side-effects. + +Environment variables: + depmode Dependency tracking mode. + source Source file read by 'PROGRAMS ARGS'. + object Object file output by 'PROGRAMS ARGS'. + DEPDIR directory where to store dependencies. + depfile Dependency file to output. + tmpdepfile Temporary file to use when outputting dependencies. + libtool Whether libtool is used (yes/no). + +Report bugs to <bug-automake@gnu.org>. +EOF + exit $? + ;; + -v | --v*) + echo "depcomp $scriptversion" + exit $? + ;; +esac + +# Get the directory component of the given path, and save it in the +# global variables '$dir'. Note that this directory component will +# be either empty or ending with a '/' character. This is deliberate. +set_dir_from () +{ + case $1 in + */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; + *) dir=;; + esac +} + +# Get the suffix-stripped basename of the given path, and save it the +# global variable '$base'. +set_base_from () +{ + base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` +} + +# If no dependency file was actually created by the compiler invocation, +# we still have to create a dummy depfile, to avoid errors with the +# Makefile "include basename.Plo" scheme. +make_dummy_depfile () +{ + echo "#dummy" > "$depfile" +} + +# Factor out some common post-processing of the generated depfile. +# Requires the auxiliary global variable '$tmpdepfile' to be set. +aix_post_process_depfile () +{ + # If the compiler actually managed to produce a dependency file, + # post-process it. + if test -f "$tmpdepfile"; then + # Each line is of the form 'foo.o: dependency.h'. + # Do two passes, one to just change these to + # $object: dependency.h + # and one to simply output + # dependency.h: + # which is needed to avoid the deleted-header problem. + { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" + sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" + } > "$depfile" + rm -f "$tmpdepfile" + else + make_dummy_depfile + fi +} + +# A tabulation character. +tab=' ' +# A newline character. +nl=' +' +# Character ranges might be problematic outside the C locale. +# These definitions help. +upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ +lower=abcdefghijklmnopqrstuvwxyz +digits=0123456789 +alpha=${upper}${lower} + +if test -z "$depmode" || test -z "$source" || test -z "$object"; then + echo "depcomp: Variables source, object and depmode must be set" 1>&2 + exit 1 +fi + +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. +depfile=${depfile-`echo "$object" | + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} + +rm -f "$tmpdepfile" + +# Avoid interferences from the environment. +gccflag= dashmflag= + +# Some modes work just like other modes, but use different flags. We +# parameterize here, but still list the modes in the big case below, +# to make depend.m4 easier to write. Note that we *cannot* use a case +# here, because this file can only contain one case statement. +if test "$depmode" = hp; then + # HP compiler uses -M and no extra arg. + gccflag=-M + depmode=gcc +fi + +if test "$depmode" = dashXmstdout; then + # This is just like dashmstdout with a different argument. + dashmflag=-xM + depmode=dashmstdout +fi + +cygpath_u="cygpath -u -f -" +if test "$depmode" = msvcmsys; then + # This is just like msvisualcpp but w/o cygpath translation. + # Just convert the backslash-escaped backslashes to single forward + # slashes to satisfy depend.m4 + cygpath_u='sed s,\\\\,/,g' + depmode=msvisualcpp +fi + +if test "$depmode" = msvc7msys; then + # This is just like msvc7 but w/o cygpath translation. + # Just convert the backslash-escaped backslashes to single forward + # slashes to satisfy depend.m4 + cygpath_u='sed s,\\\\,/,g' + depmode=msvc7 +fi + +if test "$depmode" = xlc; then + # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. + gccflag=-qmakedep=gcc,-MF + depmode=gcc +fi + +case "$depmode" in +gcc3) +## gcc 3 implements dependency tracking that does exactly what +## we want. Yay! Note: for some reason libtool 1.4 doesn't like +## it if -MD -MP comes after the -MF stuff. Hmm. +## Unfortunately, FreeBSD c89 acceptance of flags depends upon +## the command line argument order; so add the flags where they +## appear in depend2.am. Note that the slowdown incurred here +## affects only configure: in makefiles, %FASTDEP% shortcuts this. + for arg + do + case $arg in + -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; + *) set fnord "$@" "$arg" ;; + esac + shift # fnord + shift # $arg + done + "$@" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + mv "$tmpdepfile" "$depfile" + ;; + +gcc) +## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. +## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. +## (see the conditional assignment to $gccflag above). +## There are various ways to get dependency output from gcc. Here's +## why we pick this rather obscure method: +## - Don't want to use -MD because we'd like the dependencies to end +## up in a subdir. Having to rename by hand is ugly. +## (We might end up doing this anyway to support other compilers.) +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like +## -MM, not -M (despite what the docs say). Also, it might not be +## supported by the other compilers which use the 'gcc' depmode. +## - Using -M directly means running the compiler twice (even worse +## than renaming). + if test -z "$gccflag"; then + gccflag=-MD, + fi + "$@" -Wp,"$gccflag$tmpdepfile" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + # The second -e expression handles DOS-style file names with drive + # letters. + sed -e 's/^[^:]*: / /' \ + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" +## This next piece of magic avoids the "deleted header file" problem. +## The problem is that when a header file which appears in a .P file +## is deleted, the dependency causes make to die (because there is +## typically no way to rebuild the header). We avoid this by adding +## dummy dependencies for each header file. Too bad gcc doesn't do +## this for us directly. +## Some versions of gcc put a space before the ':'. On the theory +## that the space means something, we add a space to the output as +## well. hp depmode also adds that space, but also prefixes the VPATH +## to the object. Take care to not repeat it in the output. +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +sgi) + if test "$libtool" = yes; then + "$@" "-Wp,-MDupdate,$tmpdepfile" + else + "$@" -MDupdate "$tmpdepfile" + fi + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files + echo "$object : \\" > "$depfile" + # Clip off the initial element (the dependent). Don't try to be + # clever and replace this with sed code, as IRIX sed won't handle + # lines with more than a fixed number of characters (4096 in + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; + # the IRIX cc adds comments like '#:fec' to the end of the + # dependency line. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ + | tr "$nl" ' ' >> "$depfile" + echo >> "$depfile" + # The second pass generates a dummy entry for each header file. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ + >> "$depfile" + else + make_dummy_depfile + fi + rm -f "$tmpdepfile" + ;; + +xlc) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +aix) + # The C for AIX Compiler uses -M and outputs the dependencies + # in a .u file. In older versions, this file always lives in the + # current directory. Also, the AIX compiler puts '$object:' at the + # start of each line; $object doesn't have directory information. + # Version 6 uses the directory in both cases. + set_dir_from "$object" + set_base_from "$object" + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.u + tmpdepfile2=$base.u + tmpdepfile3=$dir.libs/$base.u + "$@" -Wc,-M + else + tmpdepfile1=$dir$base.u + tmpdepfile2=$dir$base.u + tmpdepfile3=$dir$base.u + "$@" -M + fi + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + do + test -f "$tmpdepfile" && break + done + aix_post_process_depfile + ;; + +tcc) + # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 + # FIXME: That version still under development at the moment of writing. + # Make that this statement remains true also for stable, released + # versions. + # It will wrap lines (doesn't matter whether long or short) with a + # trailing '\', as in: + # + # foo.o : \ + # foo.c \ + # foo.h \ + # + # It will put a trailing '\' even on the last line, and will use leading + # spaces rather than leading tabs (at least since its commit 0394caf7 + # "Emit spaces for -MD"). + "$@" -MD -MF "$tmpdepfile" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. + # We have to change lines of the first kind to '$object: \'. + sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" + # And for each line of the second kind, we have to emit a 'dep.h:' + # dummy dependency, to avoid the deleted-header problem. + sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" + rm -f "$tmpdepfile" + ;; + +## The order of this option in the case statement is important, since the +## shell code in configure will try each of these formats in the order +## listed in this file. A plain '-MD' option would be understood by many +## compilers, so we must ensure this comes after the gcc and icc options. +pgcc) + # Portland's C compiler understands '-MD'. + # Will always output deps to 'file.d' where file is the root name of the + # source file under compilation, even if file resides in a subdirectory. + # The object file name does not affect the name of the '.d' file. + # pgcc 10.2 will output + # foo.o: sub/foo.c sub/foo.h + # and will wrap long lines using '\' : + # foo.o: sub/foo.c ... \ + # sub/foo.h ... \ + # ... + set_dir_from "$object" + # Use the source, not the object, to determine the base name, since + # that's sadly what pgcc will do too. + set_base_from "$source" + tmpdepfile=$base.d + + # For projects that build the same source file twice into different object + # files, the pgcc approach of using the *source* file root name can cause + # problems in parallel builds. Use a locking strategy to avoid stomping on + # the same $tmpdepfile. + lockdir=$base.d-lock + trap " + echo '$0: caught signal, cleaning up...' >&2 + rmdir '$lockdir' + exit 1 + " 1 2 13 15 + numtries=100 + i=$numtries + while test $i -gt 0; do + # mkdir is a portable test-and-set. + if mkdir "$lockdir" 2>/dev/null; then + # This process acquired the lock. + "$@" -MD + stat=$? + # Release the lock. + rmdir "$lockdir" + break + else + # If the lock is being held by a different process, wait + # until the winning process is done or we timeout. + while test -d "$lockdir" && test $i -gt 0; do + sleep 1 + i=`expr $i - 1` + done + fi + i=`expr $i - 1` + done + trap - 1 2 13 15 + if test $i -le 0; then + echo "$0: failed to acquire lock after $numtries attempts" >&2 + echo "$0: check lockdir '$lockdir'" >&2 + exit 1 + fi + + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + # Each line is of the form `foo.o: dependent.h', + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. + # Do two passes, one to just change these to + # `$object: dependent.h' and one to simply `dependent.h:'. + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process this invocation + # correctly. Breaking it into two sed invocations is a workaround. + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp2) + # The "hp" stanza above does not work with aCC (C++) and HP's ia64 + # compilers, which have integrated preprocessors. The correct option + # to use with these is +Maked; it writes dependencies to a file named + # 'foo.d', which lands next to the object file, wherever that + # happens to be. + # Much of this is similar to the tru64 case; see comments there. + set_dir_from "$object" + set_base_from "$object" + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir.libs/$base.d + "$@" -Wc,+Maked + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + "$@" +Maked + fi + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" + # Add 'dependent.h:' lines. + sed -ne '2,${ + s/^ *// + s/ \\*$// + s/$/:/ + p + }' "$tmpdepfile" >> "$depfile" + else + make_dummy_depfile + fi + rm -f "$tmpdepfile" "$tmpdepfile2" + ;; + +tru64) + # The Tru64 compiler uses -MD to generate dependencies as a side + # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put + # dependencies in 'foo.d' instead, so we check for that too. + # Subdirectories are respected. + set_dir_from "$object" + set_base_from "$object" + + if test "$libtool" = yes; then + # Libtool generates 2 separate objects for the 2 libraries. These + # two compilations output dependencies in $dir.libs/$base.o.d and + # in $dir$base.o.d. We have to check for both files, because + # one of the two compilations can be disabled. We should prefer + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is + # automatically cleaned when .libs/ is deleted, while ignoring + # the former would cause a distcleancheck panic. + tmpdepfile1=$dir$base.o.d # libtool 1.5 + tmpdepfile2=$dir.libs/$base.o.d # Likewise. + tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 + "$@" -Wc,-MD + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + tmpdepfile3=$dir$base.d + "$@" -MD + fi + + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + do + test -f "$tmpdepfile" && break + done + # Same post-processing that is required for AIX mode. + aix_post_process_depfile + ;; + +msvc7) + if test "$libtool" = yes; then + showIncludes=-Wc,-showIncludes + else + showIncludes=-showIncludes + fi + "$@" $showIncludes > "$tmpdepfile" + stat=$? + grep -v '^Note: including file: ' "$tmpdepfile" + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + # The first sed program below extracts the file names and escapes + # backslashes for cygpath. The second sed program outputs the file + # name when reading, but also accumulates all include files in the + # hold buffer in order to output them again at the end. This only + # works with sed implementations that can handle large buffers. + sed < "$tmpdepfile" -n ' +/^Note: including file: *\(.*\)/ { + s//\1/ + s/\\/\\\\/g + p +}' | $cygpath_u | sort -u | sed -n ' +s/ /\\ /g +s/\(.*\)/'"$tab"'\1 \\/p +s/.\(.*\) \\/\1:/ +H +$ { + s/.*/'"$tab"'/ + G + p +}' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvc7msys) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +#nosideeffect) + # This comment above is used by automake to tell side-effect + # dependency tracking mechanisms from slower ones. + +dashmstdout) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout, regardless of -o. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + # Remove '-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + test -z "$dashmflag" && dashmflag=-M + # Require at least two characters before searching for ':' + # in the target name. This is to cope with DOS-style filenames: + # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. + "$@" $dashmflag | + sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" + rm -f "$depfile" + cat < "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process this sed invocation + # correctly. Breaking it into two sed invocations is a workaround. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +dashXmstdout) + # This case only exists to satisfy depend.m4. It is never actually + # run, as this mode is specially recognized in the preamble. + exit 1 + ;; + +makedepend) + "$@" || exit $? + # Remove any Libtool call + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + # X makedepend + shift + cleared=no eat=no + for arg + do + case $cleared in + no) + set ""; shift + cleared=yes ;; + esac + if test $eat = yes; then + eat=no + continue + fi + case "$arg" in + -D*|-I*) + set fnord "$@" "$arg"; shift ;; + # Strip any option that makedepend may not understand. Remove + # the object too, otherwise makedepend will parse it as a source file. + -arch) + eat=yes ;; + -*|$object) + ;; + *) + set fnord "$@" "$arg"; shift ;; + esac + done + obj_suffix=`echo "$object" | sed 's/^.*\././'` + touch "$tmpdepfile" + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" + rm -f "$depfile" + # makedepend may prepend the VPATH from the source file name to the object. + # No need to regex-escape $object, excess matching of '.' is harmless. + sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process the last invocation + # correctly. Breaking it into two sed invocations is a workaround. + sed '1,2d' "$tmpdepfile" \ + | tr ' ' "$nl" \ + | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" "$tmpdepfile".bak + ;; + +cpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + # Remove '-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + "$@" -E \ + | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ + -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ + | sed '$ s: \\$::' > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + cat < "$tmpdepfile" >> "$depfile" + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvisualcpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + IFS=" " + for arg + do + case "$arg" in + -o) + shift + ;; + $object) + shift + ;; + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") + set fnord "$@" + shift + shift + ;; + *) + set fnord "$@" "$arg" + shift + shift + ;; + esac + done + "$@" -E 2>/dev/null | + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" + echo "$tab" >> "$depfile" + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvcmsys) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +none) + exec "$@" + ;; + +*) + echo "Unknown depmode $depmode" 1>&2 + exit 1 + ;; +esac + +exit 0 + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/tizen/distrib/remote/server/spice-0.12.2/install-sh b/tizen/distrib/remote/server/spice-0.12.2/install-sh new file mode 100755 index 0000000..377bb86 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/install-sh @@ -0,0 +1,527 @@ +#!/bin/sh +# install - install a program, script, or datafile + +scriptversion=2011-11-20.07; # UTC + +# This originates from X11R5 (mit/util/scripts/install.sh), which was +# later released in X11R6 (xc/config/util/install.sh) with the +# following copyright and license. +# +# Copyright (C) 1994 X Consortium +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# +# Except as contained in this notice, the name of the X Consortium shall not +# be used in advertising or otherwise to promote the sale, use or other deal- +# ings in this Software without prior written authorization from the X Consor- +# tium. +# +# +# FSF changes to this file are in the public domain. +# +# Calling this script install-sh is preferred over install.sh, to prevent +# 'make' implicit rules from creating a file called install from it +# when there is no Makefile. +# +# This script is compatible with the BSD install script, but was written +# from scratch. + +nl=' +' +IFS=" "" $nl" + +# set DOITPROG to echo to test this script + +# Don't use :- since 4.3BSD and earlier shells don't like it. +doit=${DOITPROG-} +if test -z "$doit"; then + doit_exec=exec +else + doit_exec=$doit +fi + +# Put in absolute file names if you don't have them in your path; +# or use environment vars. + +chgrpprog=${CHGRPPROG-chgrp} +chmodprog=${CHMODPROG-chmod} +chownprog=${CHOWNPROG-chown} +cmpprog=${CMPPROG-cmp} +cpprog=${CPPROG-cp} +mkdirprog=${MKDIRPROG-mkdir} +mvprog=${MVPROG-mv} +rmprog=${RMPROG-rm} +stripprog=${STRIPPROG-strip} + +posix_glob='?' +initialize_posix_glob=' + test "$posix_glob" != "?" || { + if (set -f) 2>/dev/null; then + posix_glob= + else + posix_glob=: + fi + } +' + +posix_mkdir= + +# Desired mode of installed file. +mode=0755 + +chgrpcmd= +chmodcmd=$chmodprog +chowncmd= +mvcmd=$mvprog +rmcmd="$rmprog -f" +stripcmd= + +src= +dst= +dir_arg= +dst_arg= + +copy_on_change=false +no_target_directory= + +usage="\ +Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE + or: $0 [OPTION]... SRCFILES... DIRECTORY + or: $0 [OPTION]... -t DIRECTORY SRCFILES... + or: $0 [OPTION]... -d DIRECTORIES... + +In the 1st form, copy SRCFILE to DSTFILE. +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. +In the 4th, create DIRECTORIES. + +Options: + --help display this help and exit. + --version display version info and exit. + + -c (ignored) + -C install only if different (preserve the last data modification time) + -d create directories instead of installing files. + -g GROUP $chgrpprog installed files to GROUP. + -m MODE $chmodprog installed files to MODE. + -o USER $chownprog installed files to USER. + -s $stripprog installed files. + -t DIRECTORY install into DIRECTORY. + -T report an error if DSTFILE is a directory. + +Environment variables override the default commands: + CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG + RMPROG STRIPPROG +" + +while test $# -ne 0; do + case $1 in + -c) ;; + + -C) copy_on_change=true;; + + -d) dir_arg=true;; + + -g) chgrpcmd="$chgrpprog $2" + shift;; + + --help) echo "$usage"; exit $?;; + + -m) mode=$2 + case $mode in + *' '* | *' '* | *' +'* | *'*'* | *'?'* | *'['*) + echo "$0: invalid mode: $mode" >&2 + exit 1;; + esac + shift;; + + -o) chowncmd="$chownprog $2" + shift;; + + -s) stripcmd=$stripprog;; + + -t) dst_arg=$2 + # Protect names problematic for 'test' and other utilities. + case $dst_arg in + -* | [=\(\)!]) dst_arg=./$dst_arg;; + esac + shift;; + + -T) no_target_directory=true;; + + --version) echo "$0 $scriptversion"; exit $?;; + + --) shift + break;; + + -*) echo "$0: invalid option: $1" >&2 + exit 1;; + + *) break;; + esac + shift +done + +if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then + # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dst_arg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dst_arg" + shift # fnord + fi + shift # arg + dst_arg=$arg + # Protect names problematic for 'test' and other utilities. + case $dst_arg in + -* | [=\(\)!]) dst_arg=./$dst_arg;; + esac + done +fi + +if test $# -eq 0; then + if test -z "$dir_arg"; then + echo "$0: no input file specified." >&2 + exit 1 + fi + # It's OK to call 'install-sh -d' without argument. + # This can happen when creating conditional directories. + exit 0 +fi + +if test -z "$dir_arg"; then + do_exit='(exit $ret); exit $ret' + trap "ret=129; $do_exit" 1 + trap "ret=130; $do_exit" 2 + trap "ret=141; $do_exit" 13 + trap "ret=143; $do_exit" 15 + + # Set umask so as not to create temps with too-generous modes. + # However, 'strip' requires both read and write access to temps. + case $mode in + # Optimize common cases. + *644) cp_umask=133;; + *755) cp_umask=22;; + + *[0-7]) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw='% 200' + fi + cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; + *) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw=,u+rw + fi + cp_umask=$mode$u_plus_rw;; + esac +fi + +for src +do + # Protect names problematic for 'test' and other utilities. + case $src in + -* | [=\(\)!]) src=./$src;; + esac + + if test -n "$dir_arg"; then + dst=$src + dstdir=$dst + test -d "$dstdir" + dstdir_status=$? + else + + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command + # might cause directories to be created, which would be especially bad + # if $src (and thus $dsttmp) contains '*'. + if test ! -f "$src" && test ! -d "$src"; then + echo "$0: $src does not exist." >&2 + exit 1 + fi + + if test -z "$dst_arg"; then + echo "$0: no destination specified." >&2 + exit 1 + fi + dst=$dst_arg + + # If destination is a directory, append the input filename; won't work + # if double slashes aren't ignored. + if test -d "$dst"; then + if test -n "$no_target_directory"; then + echo "$0: $dst_arg: Is a directory" >&2 + exit 1 + fi + dstdir=$dst + dst=$dstdir/`basename "$src"` + dstdir_status=0 + else + # Prefer dirname, but fall back on a substitute if dirname fails. + dstdir=` + (dirname "$dst") 2>/dev/null || + expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$dst" : 'X\(//\)[^/]' \| \ + X"$dst" : 'X\(//\)$' \| \ + X"$dst" : 'X\(/\)' \| . 2>/dev/null || + echo X"$dst" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q' + ` + + test -d "$dstdir" + dstdir_status=$? + fi + fi + + obsolete_mkdir_used=false + + if test $dstdir_status != 0; then + case $posix_mkdir in + '') + # Create intermediate dirs using mode 755 as modified by the umask. + # This is like FreeBSD 'install' as of 1997-10-28. + umask=`umask` + case $stripcmd.$umask in + # Optimize common cases. + *[2367][2367]) mkdir_umask=$umask;; + .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; + + *[0-7]) + mkdir_umask=`expr $umask + 22 \ + - $umask % 100 % 40 + $umask % 20 \ + - $umask % 10 % 4 + $umask % 2 + `;; + *) mkdir_umask=$umask,go-w;; + esac + + # With -d, create the new directory with the user-specified mode. + # Otherwise, rely on $mkdir_umask. + if test -n "$dir_arg"; then + mkdir_mode=-m$mode + else + mkdir_mode= + fi + + posix_mkdir=false + case $umask in + *[123567][0-7][0-7]) + # POSIX mkdir -p sets u+wx bits regardless of umask, which + # is incompatible with FreeBSD 'install' when (umask & 300) != 0. + ;; + *) + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 + + if (umask $mkdir_umask && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 + then + if test -z "$dir_arg" || { + # Check for POSIX incompatibilities with -m. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or + # other-writable bit of parent directory when it shouldn't. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. + ls_ld_tmpdir=`ls -ld "$tmpdir"` + case $ls_ld_tmpdir in + d????-?r-*) different_mode=700;; + d????-?--*) different_mode=755;; + *) false;; + esac && + $mkdirprog -m$different_mode -p -- "$tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$tmpdir"` + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" + } + } + then posix_mkdir=: + fi + rmdir "$tmpdir/d" "$tmpdir" + else + # Remove any dirs left behind by ancient mkdir implementations. + rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null + fi + trap '' 0;; + esac;; + esac + + if + $posix_mkdir && ( + umask $mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" + ) + then : + else + + # The umask is ridiculous, or mkdir does not conform to POSIX, + # or it failed possibly due to a race condition. Create the + # directory the slow way, step by step, checking for races as we go. + + case $dstdir in + /*) prefix='/';; + [-=\(\)!]*) prefix='./';; + *) prefix='';; + esac + + eval "$initialize_posix_glob" + + oIFS=$IFS + IFS=/ + $posix_glob set -f + set fnord $dstdir + shift + $posix_glob set +f + IFS=$oIFS + + prefixes= + + for d + do + test X"$d" = X && continue + + prefix=$prefix$d + if test -d "$prefix"; then + prefixes= + else + if $posix_mkdir; then + (umask=$mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break + # Don't fail if two instances are running concurrently. + test -d "$prefix" || exit 1 + else + case $prefix in + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; + *) qprefix=$prefix;; + esac + prefixes="$prefixes '$qprefix'" + fi + fi + prefix=$prefix/ + done + + if test -n "$prefixes"; then + # Don't fail if two instances are running concurrently. + (umask $mkdir_umask && + eval "\$doit_exec \$mkdirprog $prefixes") || + test -d "$dstdir" || exit 1 + obsolete_mkdir_used=true + fi + fi + fi + + if test -n "$dir_arg"; then + { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && + { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || + test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 + else + + # Make a couple of temp file names in the proper directory. + dsttmp=$dstdir/_inst.$$_ + rmtmp=$dstdir/_rm.$$_ + + # Trap to clean up those temp files at exit. + trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 + + # Copy the file name to the temp name. + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && + + # and set any options; do chmod last to preserve setuid bits. + # + # If any of these fail, we abort the whole thing. If we want to + # ignore errors from any of these, just make sure not to ignore + # errors from the above "$doit $cpprog $src $dsttmp" command. + # + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && + { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && + { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && + + # If -C, don't bother to copy if it wouldn't change the file. + if $copy_on_change && + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && + + eval "$initialize_posix_glob" && + $posix_glob set -f && + set X $old && old=:$2:$4:$5:$6 && + set X $new && new=:$2:$4:$5:$6 && + $posix_glob set +f && + + test "$old" = "$new" && + $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 + then + rm -f "$dsttmp" + else + # Rename the file to the real destination. + $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || + + # The rename failed, perhaps because mv can't rename something else + # to itself, or perhaps because mv is so ancient that it does not + # support -f. + { + # Now remove or move aside any old file at destination location. + # We try this two ways since rm can't unlink itself on some + # systems and the destination file might be busy for other + # reasons. In this case, the final cleanup might fail but the new + # file should still install successfully. + { + test ! -f "$dst" || + $doit $rmcmd -f "$dst" 2>/dev/null || + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && + { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } + } || + { echo "$0: cannot unlink or rename $dst" >&2 + (exit 1); exit 1 + } + } && + + # Now rename the file to the real destination. + $doit $mvcmd "$dsttmp" "$dst" + } + fi || exit 1 + + trap '' 0 + fi +done + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/tizen/distrib/remote/server/spice-0.12.2/ltmain.sh b/tizen/distrib/remote/server/spice-0.12.2/ltmain.sh new file mode 100644 index 0000000..63ae69d --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/ltmain.sh @@ -0,0 +1,9655 @@ + +# libtool (GNU libtool) 2.4.2 +# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, +# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. +# This is free software; see the source for copying conditions. There is NO +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +# GNU Libtool 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. +# +# As a special exception to the GNU General Public License, +# if you distribute this file as part of a program or library that +# is built using GNU Libtool, you may include this file under the +# same distribution terms that you use for the rest of that program. +# +# GNU Libtool 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 GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, +# or obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +# Usage: $progname [OPTION]... [MODE-ARG]... +# +# Provide generalized library-building support services. +# +# --config show all configuration variables +# --debug enable verbose shell tracing +# -n, --dry-run display commands without modifying any files +# --features display basic configuration information and exit +# --mode=MODE use operation mode MODE +# --preserve-dup-deps don't remove duplicate dependency libraries +# --quiet, --silent don't print informational messages +# --no-quiet, --no-silent +# print informational messages (default) +# --no-warn don't display warning messages +# --tag=TAG use configuration variables from tag TAG +# -v, --verbose print more informational messages than default +# --no-verbose don't print the extra informational messages +# --version print version information +# -h, --help, --help-all print short, long, or detailed help message +# +# MODE must be one of the following: +# +# clean remove files from the build directory +# compile compile a source file into a libtool object +# execute automatically set library path, then run a program +# finish complete the installation of libtool libraries +# install install libraries or executables +# link create a library or an executable +# uninstall remove libraries from an installed directory +# +# MODE-ARGS vary depending on the MODE. When passed as first option, +# `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that. +# Try `$progname --help --mode=MODE' for a more detailed description of MODE. +# +# When reporting a bug, please describe a test case to reproduce it and +# include the following information: +# +# host-triplet: $host +# shell: $SHELL +# compiler: $LTCC +# compiler flags: $LTCFLAGS +# linker: $LD (gnu? $with_gnu_ld) +# $progname: (GNU libtool) 2.4.2 +# automake: $automake_version +# autoconf: $autoconf_version +# +# Report bugs to <bug-libtool@gnu.org>. +# GNU libtool home page: <http://www.gnu.org/software/libtool/>. +# General help using GNU software: <http://www.gnu.org/gethelp/>. + +PROGRAM=libtool +PACKAGE=libtool +VERSION=2.4.2 +TIMESTAMP="" +package_revision=1.3337 + +# Be Bourne compatible +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac +fi +BIN_SH=xpg4; export BIN_SH # for Tru64 +DUALCASE=1; export DUALCASE # for MKS sh + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +$1 +_LTECHO_EOF' +} + +# NLS nuisances: We save the old values to restore during execute mode. +lt_user_locale= +lt_safe_locale= +for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES +do + eval "if test \"\${$lt_var+set}\" = set; then + save_$lt_var=\$$lt_var + $lt_var=C + export $lt_var + lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\" + lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" + fi" +done +LC_ALL=C +LANGUAGE=C +export LANGUAGE LC_ALL + +$lt_unset CDPATH + + +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh +# is ksh but when the shell is invoked as "sh" and the current value of +# the _XPG environment variable is not equal to 1 (one), the special +# positional parameter $0, within a function call, is the name of the +# function. +progpath="$0" + + + +: ${CP="cp -f"} +test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'} +: ${MAKE="make"} +: ${MKDIR="mkdir"} +: ${MV="mv -f"} +: ${RM="rm -f"} +: ${SHELL="${CONFIG_SHELL-/bin/sh}"} +: ${Xsed="$SED -e 1s/^X//"} + +# Global variables: +EXIT_SUCCESS=0 +EXIT_FAILURE=1 +EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. +EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. + +exit_status=$EXIT_SUCCESS + +# Make sure IFS has a sensible default +lt_nl=' +' +IFS=" $lt_nl" + +dirname="s,/[^/]*$,," +basename="s,^.*/,," + +# func_dirname file append nondir_replacement +# Compute the dirname of FILE. If nonempty, add APPEND to the result, +# otherwise set result to NONDIR_REPLACEMENT. +func_dirname () +{ + func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` + if test "X$func_dirname_result" = "X${1}"; then + func_dirname_result="${3}" + else + func_dirname_result="$func_dirname_result${2}" + fi +} # func_dirname may be replaced by extended shell implementation + + +# func_basename file +func_basename () +{ + func_basename_result=`$ECHO "${1}" | $SED "$basename"` +} # func_basename may be replaced by extended shell implementation + + +# func_dirname_and_basename file append nondir_replacement +# perform func_basename and func_dirname in a single function +# call: +# dirname: Compute the dirname of FILE. If nonempty, +# add APPEND to the result, otherwise set result +# to NONDIR_REPLACEMENT. +# value returned in "$func_dirname_result" +# basename: Compute filename of FILE. +# value retuned in "$func_basename_result" +# Implementation must be kept synchronized with func_dirname +# and func_basename. For efficiency, we do not delegate to +# those functions but instead duplicate the functionality here. +func_dirname_and_basename () +{ + # Extract subdirectory from the argument. + func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"` + if test "X$func_dirname_result" = "X${1}"; then + func_dirname_result="${3}" + else + func_dirname_result="$func_dirname_result${2}" + fi + func_basename_result=`$ECHO "${1}" | $SED -e "$basename"` +} # func_dirname_and_basename may be replaced by extended shell implementation + + +# func_stripname prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +# func_strip_suffix prefix name +func_stripname () +{ + case ${2} in + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; + esac +} # func_stripname may be replaced by extended shell implementation + + +# These SED scripts presuppose an absolute path with a trailing slash. +pathcar='s,^/\([^/]*\).*$,\1,' +pathcdr='s,^/[^/]*,,' +removedotparts=':dotsl + s@/\./@/@g + t dotsl + s,/\.$,/,' +collapseslashes='s@/\{1,\}@/@g' +finalslash='s,/*$,/,' + +# func_normal_abspath PATH +# Remove doubled-up and trailing slashes, "." path components, +# and cancel out any ".." path components in PATH after making +# it an absolute path. +# value returned in "$func_normal_abspath_result" +func_normal_abspath () +{ + # Start from root dir and reassemble the path. + func_normal_abspath_result= + func_normal_abspath_tpath=$1 + func_normal_abspath_altnamespace= + case $func_normal_abspath_tpath in + "") + # Empty path, that just means $cwd. + func_stripname '' '/' "`pwd`" + func_normal_abspath_result=$func_stripname_result + return + ;; + # The next three entries are used to spot a run of precisely + # two leading slashes without using negated character classes; + # we take advantage of case's first-match behaviour. + ///*) + # Unusual form of absolute path, do nothing. + ;; + //*) + # Not necessarily an ordinary path; POSIX reserves leading '//' + # and for example Cygwin uses it to access remote file shares + # over CIFS/SMB, so we conserve a leading double slash if found. + func_normal_abspath_altnamespace=/ + ;; + /*) + # Absolute path, do nothing. + ;; + *) + # Relative path, prepend $cwd. + func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath + ;; + esac + # Cancel out all the simple stuff to save iterations. We also want + # the path to end with a slash for ease of parsing, so make sure + # there is one (and only one) here. + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"` + while :; do + # Processed it all yet? + if test "$func_normal_abspath_tpath" = / ; then + # If we ascended to the root using ".." the result may be empty now. + if test -z "$func_normal_abspath_result" ; then + func_normal_abspath_result=/ + fi + break + fi + func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$pathcar"` + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$pathcdr"` + # Figure out what to do with it + case $func_normal_abspath_tcomponent in + "") + # Trailing empty path component, ignore it. + ;; + ..) + # Parent dir; strip last assembled component from result. + func_dirname "$func_normal_abspath_result" + func_normal_abspath_result=$func_dirname_result + ;; + *) + # Actual path component, append it. + func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent + ;; + esac + done + # Restore leading double-slash if one was found on entry. + func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result +} + +# func_relative_path SRCDIR DSTDIR +# generates a relative path from SRCDIR to DSTDIR, with a trailing +# slash if non-empty, suitable for immediately appending a filename +# without needing to append a separator. +# value returned in "$func_relative_path_result" +func_relative_path () +{ + func_relative_path_result= + func_normal_abspath "$1" + func_relative_path_tlibdir=$func_normal_abspath_result + func_normal_abspath "$2" + func_relative_path_tbindir=$func_normal_abspath_result + + # Ascend the tree starting from libdir + while :; do + # check if we have found a prefix of bindir + case $func_relative_path_tbindir in + $func_relative_path_tlibdir) + # found an exact match + func_relative_path_tcancelled= + break + ;; + $func_relative_path_tlibdir*) + # found a matching prefix + func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir" + func_relative_path_tcancelled=$func_stripname_result + if test -z "$func_relative_path_result"; then + func_relative_path_result=. + fi + break + ;; + *) + func_dirname $func_relative_path_tlibdir + func_relative_path_tlibdir=${func_dirname_result} + if test "x$func_relative_path_tlibdir" = x ; then + # Have to descend all the way to the root! + func_relative_path_result=../$func_relative_path_result + func_relative_path_tcancelled=$func_relative_path_tbindir + break + fi + func_relative_path_result=../$func_relative_path_result + ;; + esac + done + + # Now calculate path; take care to avoid doubling-up slashes. + func_stripname '' '/' "$func_relative_path_result" + func_relative_path_result=$func_stripname_result + func_stripname '/' '/' "$func_relative_path_tcancelled" + if test "x$func_stripname_result" != x ; then + func_relative_path_result=${func_relative_path_result}/${func_stripname_result} + fi + + # Normalisation. If bindir is libdir, return empty string, + # else relative path ending with a slash; either way, target + # file name can be directly appended. + if test ! -z "$func_relative_path_result"; then + func_stripname './' '' "$func_relative_path_result/" + func_relative_path_result=$func_stripname_result + fi +} + +# The name of this program: +func_dirname_and_basename "$progpath" +progname=$func_basename_result + +# Make sure we have an absolute path for reexecution: +case $progpath in + [\\/]*|[A-Za-z]:\\*) ;; + *[\\/]*) + progdir=$func_dirname_result + progdir=`cd "$progdir" && pwd` + progpath="$progdir/$progname" + ;; + *) + save_IFS="$IFS" + IFS=${PATH_SEPARATOR-:} + for progdir in $PATH; do + IFS="$save_IFS" + test -x "$progdir/$progname" && break + done + IFS="$save_IFS" + test -n "$progdir" || progdir=`pwd` + progpath="$progdir/$progname" + ;; +esac + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed="${SED}"' -e 1s/^X//' +sed_quote_subst='s/\([`"$\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\(["`\\]\)/\\\1/g' + +# Sed substitution that turns a string into a regex matching for the +# string literally. +sed_make_literal_regex='s,[].[^$\\*\/],\\&,g' + +# Sed substitution that converts a w32 file name or path +# which contains forward slashes, into one that contains +# (escaped) backslashes. A very naive implementation. +lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' + +# Re-`\' parameter expansions in output of double_quote_subst that were +# `\'-ed in input to the same. If an odd number of `\' preceded a '$' +# in input to double_quote_subst, that '$' was protected from expansion. +# Since each input `\' is now two `\'s, look for any number of runs of +# four `\'s followed by two `\'s and then a '$'. `\' that '$'. +bs='\\' +bs2='\\\\' +bs4='\\\\\\\\' +dollar='\$' +sed_double_backslash="\ + s/$bs4/&\\ +/g + s/^$bs2$dollar/$bs&/ + s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g + s/\n//g" + +# Standard options: +opt_dry_run=false +opt_help=false +opt_quiet=false +opt_verbose=false +opt_warning=: + +# func_echo arg... +# Echo program name prefixed message, along with the current mode +# name if it has been set yet. +func_echo () +{ + $ECHO "$progname: ${opt_mode+$opt_mode: }$*" +} + +# func_verbose arg... +# Echo program name prefixed message in verbose mode only. +func_verbose () +{ + $opt_verbose && func_echo ${1+"$@"} + + # A bug in bash halts the script if the last line of a function + # fails when set -e is in force, so we need another command to + # work around that: + : +} + +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "$*" +} + +# func_error arg... +# Echo program name prefixed message to standard error. +func_error () +{ + $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2 +} + +# func_warning arg... +# Echo program name prefixed warning message to standard error. +func_warning () +{ + $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2 + + # bash bug again: + : +} + +# func_fatal_error arg... +# Echo program name prefixed message to standard error, and exit. +func_fatal_error () +{ + func_error ${1+"$@"} + exit $EXIT_FAILURE +} + +# func_fatal_help arg... +# Echo program name prefixed message to standard error, followed by +# a help hint, and exit. +func_fatal_help () +{ + func_error ${1+"$@"} + func_fatal_error "$help" +} +help="Try \`$progname --help' for more information." ## default + + +# func_grep expression filename +# Check whether EXPRESSION matches any line of FILENAME, without output. +func_grep () +{ + $GREP "$1" "$2" >/dev/null 2>&1 +} + + +# func_mkdir_p directory-path +# Make sure the entire path to DIRECTORY-PATH is available. +func_mkdir_p () +{ + my_directory_path="$1" + my_dir_list= + + if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then + + # Protect directory names starting with `-' + case $my_directory_path in + -*) my_directory_path="./$my_directory_path" ;; + esac + + # While some portion of DIR does not yet exist... + while test ! -d "$my_directory_path"; do + # ...make a list in topmost first order. Use a colon delimited + # list incase some portion of path contains whitespace. + my_dir_list="$my_directory_path:$my_dir_list" + + # If the last portion added has no slash in it, the list is done + case $my_directory_path in */*) ;; *) break ;; esac + + # ...otherwise throw away the child directory and loop + my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"` + done + my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'` + + save_mkdir_p_IFS="$IFS"; IFS=':' + for my_dir in $my_dir_list; do + IFS="$save_mkdir_p_IFS" + # mkdir can fail with a `File exist' error if two processes + # try to create one of the directories concurrently. Don't + # stop in that case! + $MKDIR "$my_dir" 2>/dev/null || : + done + IFS="$save_mkdir_p_IFS" + + # Bail out if we (or some other process) failed to create a directory. + test -d "$my_directory_path" || \ + func_fatal_error "Failed to create \`$1'" + fi +} + + +# func_mktempdir [string] +# Make a temporary directory that won't clash with other running +# libtool processes, and avoids race conditions if possible. If +# given, STRING is the basename for that directory. +func_mktempdir () +{ + my_template="${TMPDIR-/tmp}/${1-$progname}" + + if test "$opt_dry_run" = ":"; then + # Return a directory name, but don't create it in dry-run mode + my_tmpdir="${my_template}-$$" + else + + # If mktemp works, use that first and foremost + my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` + + if test ! -d "$my_tmpdir"; then + # Failing that, at least try and use $RANDOM to avoid a race + my_tmpdir="${my_template}-${RANDOM-0}$$" + + save_mktempdir_umask=`umask` + umask 0077 + $MKDIR "$my_tmpdir" + umask $save_mktempdir_umask + fi + + # If we're not in dry-run mode, bomb out on failure + test -d "$my_tmpdir" || \ + func_fatal_error "cannot create temporary directory \`$my_tmpdir'" + fi + + $ECHO "$my_tmpdir" +} + + +# func_quote_for_eval arg +# Aesthetically quote ARG to be evaled later. +# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT +# is double-quoted, suitable for a subsequent eval, whereas +# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters +# which are still active within double quotes backslashified. +func_quote_for_eval () +{ + case $1 in + *[\\\`\"\$]*) + func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;; + *) + func_quote_for_eval_unquoted_result="$1" ;; + esac + + case $func_quote_for_eval_unquoted_result in + # Double-quote args containing shell metacharacters to delay + # word splitting, command substitution and and variable + # expansion for a subsequent eval. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\"" + ;; + *) + func_quote_for_eval_result="$func_quote_for_eval_unquoted_result" + esac +} + + +# func_quote_for_expand arg +# Aesthetically quote ARG to be evaled later; same as above, +# but do not quote variable references. +func_quote_for_expand () +{ + case $1 in + *[\\\`\"]*) + my_arg=`$ECHO "$1" | $SED \ + -e "$double_quote_subst" -e "$sed_double_backslash"` ;; + *) + my_arg="$1" ;; + esac + + case $my_arg in + # Double-quote args containing shell metacharacters to delay + # word splitting and command substitution for a subsequent eval. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + my_arg="\"$my_arg\"" + ;; + esac + + func_quote_for_expand_result="$my_arg" +} + + +# func_show_eval cmd [fail_exp] +# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is +# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP +# is given, then evaluate it. +func_show_eval () +{ + my_cmd="$1" + my_fail_exp="${2-:}" + + ${opt_silent-false} || { + func_quote_for_expand "$my_cmd" + eval "func_echo $func_quote_for_expand_result" + } + + if ${opt_dry_run-false}; then :; else + eval "$my_cmd" + my_status=$? + if test "$my_status" -eq 0; then :; else + eval "(exit $my_status); $my_fail_exp" + fi + fi +} + + +# func_show_eval_locale cmd [fail_exp] +# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is +# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP +# is given, then evaluate it. Use the saved locale for evaluation. +func_show_eval_locale () +{ + my_cmd="$1" + my_fail_exp="${2-:}" + + ${opt_silent-false} || { + func_quote_for_expand "$my_cmd" + eval "func_echo $func_quote_for_expand_result" + } + + if ${opt_dry_run-false}; then :; else + eval "$lt_user_locale + $my_cmd" + my_status=$? + eval "$lt_safe_locale" + if test "$my_status" -eq 0; then :; else + eval "(exit $my_status); $my_fail_exp" + fi + fi +} + +# func_tr_sh +# Turn $1 into a string suitable for a shell variable name. +# Result is stored in $func_tr_sh_result. All characters +# not in the set a-zA-Z0-9_ are replaced with '_'. Further, +# if $1 begins with a digit, a '_' is prepended as well. +func_tr_sh () +{ + case $1 in + [0-9]* | *[!a-zA-Z0-9_]*) + func_tr_sh_result=`$ECHO "$1" | $SED 's/^\([0-9]\)/_\1/; s/[^a-zA-Z0-9_]/_/g'` + ;; + * ) + func_tr_sh_result=$1 + ;; + esac +} + + +# func_version +# Echo version message to standard output and exit. +func_version () +{ + $opt_debug + + $SED -n '/(C)/!b go + :more + /\./!{ + N + s/\n# / / + b more + } + :go + /^# '$PROGRAM' (GNU /,/# warranty; / { + s/^# // + s/^# *$// + s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/ + p + }' < "$progpath" + exit $? +} + +# func_usage +# Echo short help message to standard output and exit. +func_usage () +{ + $opt_debug + + $SED -n '/^# Usage:/,/^# *.*--help/ { + s/^# // + s/^# *$// + s/\$progname/'$progname'/ + p + }' < "$progpath" + echo + $ECHO "run \`$progname --help | more' for full usage" + exit $? +} + +# func_help [NOEXIT] +# Echo long help message to standard output and exit, +# unless 'noexit' is passed as argument. +func_help () +{ + $opt_debug + + $SED -n '/^# Usage:/,/# Report bugs to/ { + :print + s/^# // + s/^# *$// + s*\$progname*'$progname'* + s*\$host*'"$host"'* + s*\$SHELL*'"$SHELL"'* + s*\$LTCC*'"$LTCC"'* + s*\$LTCFLAGS*'"$LTCFLAGS"'* + s*\$LD*'"$LD"'* + s/\$with_gnu_ld/'"$with_gnu_ld"'/ + s/\$automake_version/'"`(${AUTOMAKE-automake} --version) 2>/dev/null |$SED 1q`"'/ + s/\$autoconf_version/'"`(${AUTOCONF-autoconf} --version) 2>/dev/null |$SED 1q`"'/ + p + d + } + /^# .* home page:/b print + /^# General help using/b print + ' < "$progpath" + ret=$? + if test -z "$1"; then + exit $ret + fi +} + +# func_missing_arg argname +# Echo program name prefixed message to standard error and set global +# exit_cmd. +func_missing_arg () +{ + $opt_debug + + func_error "missing argument for $1." + exit_cmd=exit +} + + +# func_split_short_opt shortopt +# Set func_split_short_opt_name and func_split_short_opt_arg shell +# variables after splitting SHORTOPT after the 2nd character. +func_split_short_opt () +{ + my_sed_short_opt='1s/^\(..\).*$/\1/;q' + my_sed_short_rest='1s/^..\(.*\)$/\1/;q' + + func_split_short_opt_name=`$ECHO "$1" | $SED "$my_sed_short_opt"` + func_split_short_opt_arg=`$ECHO "$1" | $SED "$my_sed_short_rest"` +} # func_split_short_opt may be replaced by extended shell implementation + + +# func_split_long_opt longopt +# Set func_split_long_opt_name and func_split_long_opt_arg shell +# variables after splitting LONGOPT at the `=' sign. +func_split_long_opt () +{ + my_sed_long_opt='1s/^\(--[^=]*\)=.*/\1/;q' + my_sed_long_arg='1s/^--[^=]*=//' + + func_split_long_opt_name=`$ECHO "$1" | $SED "$my_sed_long_opt"` + func_split_long_opt_arg=`$ECHO "$1" | $SED "$my_sed_long_arg"` +} # func_split_long_opt may be replaced by extended shell implementation + +exit_cmd=: + + + + + +magic="%%%MAGIC variable%%%" +magic_exe="%%%MAGIC EXE variable%%%" + +# Global variables. +nonopt= +preserve_args= +lo2o="s/\\.lo\$/.${objext}/" +o2lo="s/\\.${objext}\$/.lo/" +extracted_archives= +extracted_serial=0 + +# If this variable is set in any of the actions, the command in it +# will be execed at the end. This prevents here-documents from being +# left over by shells. +exec_cmd= + +# func_append var value +# Append VALUE to the end of shell variable VAR. +func_append () +{ + eval "${1}=\$${1}\${2}" +} # func_append may be replaced by extended shell implementation + +# func_append_quoted var value +# Quote VALUE and append to the end of shell variable VAR, separated +# by a space. +func_append_quoted () +{ + func_quote_for_eval "${2}" + eval "${1}=\$${1}\\ \$func_quote_for_eval_result" +} # func_append_quoted may be replaced by extended shell implementation + + +# func_arith arithmetic-term... +func_arith () +{ + func_arith_result=`expr "${@}"` +} # func_arith may be replaced by extended shell implementation + + +# func_len string +# STRING may not start with a hyphen. +func_len () +{ + func_len_result=`expr "${1}" : ".*" 2>/dev/null || echo $max_cmd_len` +} # func_len may be replaced by extended shell implementation + + +# func_lo2o object +func_lo2o () +{ + func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` +} # func_lo2o may be replaced by extended shell implementation + + +# func_xform libobj-or-source +func_xform () +{ + func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` +} # func_xform may be replaced by extended shell implementation + + +# func_fatal_configuration arg... +# Echo program name prefixed message to standard error, followed by +# a configuration failure hint, and exit. +func_fatal_configuration () +{ + func_error ${1+"$@"} + func_error "See the $PACKAGE documentation for more information." + func_fatal_error "Fatal configuration error." +} + + +# func_config +# Display the configuration for all the tags in this script. +func_config () +{ + re_begincf='^# ### BEGIN LIBTOOL' + re_endcf='^# ### END LIBTOOL' + + # Default configuration. + $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath" + + # Now print the configurations for the tags. + for tagname in $taglist; do + $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath" + done + + exit $? +} + +# func_features +# Display the features supported by this script. +func_features () +{ + echo "host: $host" + if test "$build_libtool_libs" = yes; then + echo "enable shared libraries" + else + echo "disable shared libraries" + fi + if test "$build_old_libs" = yes; then + echo "enable static libraries" + else + echo "disable static libraries" + fi + + exit $? +} + +# func_enable_tag tagname +# Verify that TAGNAME is valid, and either flag an error and exit, or +# enable the TAGNAME tag. We also add TAGNAME to the global $taglist +# variable here. +func_enable_tag () +{ + # Global variable: + tagname="$1" + + re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$" + re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$" + sed_extractcf="/$re_begincf/,/$re_endcf/p" + + # Validate tagname. + case $tagname in + *[!-_A-Za-z0-9,/]*) + func_fatal_error "invalid tag name: $tagname" + ;; + esac + + # Don't test for the "default" C tag, as we know it's + # there but not specially marked. + case $tagname in + CC) ;; + *) + if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then + taglist="$taglist $tagname" + + # Evaluate the configuration. Be careful to quote the path + # and the sed script, to avoid splitting on whitespace, but + # also don't use non-portable quotes within backquotes within + # quotes we have to do it in 2 steps: + extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"` + eval "$extractedcf" + else + func_error "ignoring unknown tag $tagname" + fi + ;; + esac +} + +# func_check_version_match +# Ensure that we are using m4 macros, and libtool script from the same +# release of libtool. +func_check_version_match () +{ + if test "$package_revision" != "$macro_revision"; then + if test "$VERSION" != "$macro_version"; then + if test -z "$macro_version"; then + cat >&2 <<_LT_EOF +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the +$progname: definition of this LT_INIT comes from an older release. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION +$progname: and run autoconf again. +_LT_EOF + else + cat >&2 <<_LT_EOF +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the +$progname: definition of this LT_INIT comes from $PACKAGE $macro_version. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION +$progname: and run autoconf again. +_LT_EOF + fi + else + cat >&2 <<_LT_EOF +$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, +$progname: but the definition of this LT_INIT comes from revision $macro_revision. +$progname: You should recreate aclocal.m4 with macros from revision $package_revision +$progname: of $PACKAGE $VERSION and run autoconf again. +_LT_EOF + fi + + exit $EXIT_MISMATCH + fi +} + + +# Shorthand for --mode=foo, only valid as the first argument +case $1 in +clean|clea|cle|cl) + shift; set dummy --mode clean ${1+"$@"}; shift + ;; +compile|compil|compi|comp|com|co|c) + shift; set dummy --mode compile ${1+"$@"}; shift + ;; +execute|execut|execu|exec|exe|ex|e) + shift; set dummy --mode execute ${1+"$@"}; shift + ;; +finish|finis|fini|fin|fi|f) + shift; set dummy --mode finish ${1+"$@"}; shift + ;; +install|instal|insta|inst|ins|in|i) + shift; set dummy --mode install ${1+"$@"}; shift + ;; +link|lin|li|l) + shift; set dummy --mode link ${1+"$@"}; shift + ;; +uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) + shift; set dummy --mode uninstall ${1+"$@"}; shift + ;; +esac + + + +# Option defaults: +opt_debug=: +opt_dry_run=false +opt_config=false +opt_preserve_dup_deps=false +opt_features=false +opt_finish=false +opt_help=false +opt_help_all=false +opt_silent=: +opt_warning=: +opt_verbose=: +opt_silent=false +opt_verbose=false + + +# Parse options once, thoroughly. This comes as soon as possible in the +# script to make things like `--version' happen as quickly as we can. +{ + # this just eases exit handling + while test $# -gt 0; do + opt="$1" + shift + case $opt in + --debug|-x) opt_debug='set -x' + func_echo "enabling shell trace mode" + $opt_debug + ;; + --dry-run|--dryrun|-n) + opt_dry_run=: + ;; + --config) + opt_config=: +func_config + ;; + --dlopen|-dlopen) + optarg="$1" + opt_dlopen="${opt_dlopen+$opt_dlopen +}$optarg" + shift + ;; + --preserve-dup-deps) + opt_preserve_dup_deps=: + ;; + --features) + opt_features=: +func_features + ;; + --finish) + opt_finish=: +set dummy --mode finish ${1+"$@"}; shift + ;; + --help) + opt_help=: + ;; + --help-all) + opt_help_all=: +opt_help=': help-all' + ;; + --mode) + test $# = 0 && func_missing_arg $opt && break + optarg="$1" + opt_mode="$optarg" +case $optarg in + # Valid mode arguments: + clean|compile|execute|finish|install|link|relink|uninstall) ;; + + # Catch anything else as an error + *) func_error "invalid argument for $opt" + exit_cmd=exit + break + ;; +esac + shift + ;; + --no-silent|--no-quiet) + opt_silent=false +func_append preserve_args " $opt" + ;; + --no-warning|--no-warn) + opt_warning=false +func_append preserve_args " $opt" + ;; + --no-verbose) + opt_verbose=false +func_append preserve_args " $opt" + ;; + --silent|--quiet) + opt_silent=: +func_append preserve_args " $opt" + opt_verbose=false + ;; + --verbose|-v) + opt_verbose=: +func_append preserve_args " $opt" +opt_silent=false + ;; + --tag) + test $# = 0 && func_missing_arg $opt && break + optarg="$1" + opt_tag="$optarg" +func_append preserve_args " $opt $optarg" +func_enable_tag "$optarg" + shift + ;; + + -\?|-h) func_usage ;; + --help) func_help ;; + --version) func_version ;; + + # Separate optargs to long options: + --*=*) + func_split_long_opt "$opt" + set dummy "$func_split_long_opt_name" "$func_split_long_opt_arg" ${1+"$@"} + shift + ;; + + # Separate non-argument short options: + -\?*|-h*|-n*|-v*) + func_split_short_opt "$opt" + set dummy "$func_split_short_opt_name" "-$func_split_short_opt_arg" ${1+"$@"} + shift + ;; + + --) break ;; + -*) func_fatal_help "unrecognized option \`$opt'" ;; + *) set dummy "$opt" ${1+"$@"}; shift; break ;; + esac + done + + # Validate options: + + # save first non-option argument + if test "$#" -gt 0; then + nonopt="$opt" + shift + fi + + # preserve --debug + test "$opt_debug" = : || func_append preserve_args " --debug" + + case $host in + *cygwin* | *mingw* | *pw32* | *cegcc*) + # don't eliminate duplications in $postdeps and $predeps + opt_duplicate_compiler_generated_deps=: + ;; + *) + opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps + ;; + esac + + $opt_help || { + # Sanity checks first: + func_check_version_match + + if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then + func_fatal_configuration "not configured to build any kind of library" + fi + + # Darwin sucks + eval std_shrext=\"$shrext_cmds\" + + # Only execute mode is allowed to have -dlopen flags. + if test -n "$opt_dlopen" && test "$opt_mode" != execute; then + func_error "unrecognized option \`-dlopen'" + $ECHO "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Change the help message to a mode-specific one. + generic_help="$help" + help="Try \`$progname --help --mode=$opt_mode' for more information." + } + + + # Bail if the options were screwed + $exit_cmd $EXIT_FAILURE +} + + + + +## ----------- ## +## Main. ## +## ----------- ## + +# func_lalib_p file +# True iff FILE is a libtool `.la' library or `.lo' object file. +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_lalib_p () +{ + test -f "$1" && + $SED -e 4q "$1" 2>/dev/null \ + | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 +} + +# func_lalib_unsafe_p file +# True iff FILE is a libtool `.la' library or `.lo' object file. +# This function implements the same check as func_lalib_p without +# resorting to external programs. To this end, it redirects stdin and +# closes it afterwards, without saving the original file descriptor. +# As a safety measure, use it only where a negative result would be +# fatal anyway. Works if `file' does not exist. +func_lalib_unsafe_p () +{ + lalib_p=no + if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then + for lalib_p_l in 1 2 3 4 + do + read lalib_p_line + case "$lalib_p_line" in + \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; + esac + done + exec 0<&5 5<&- + fi + test "$lalib_p" = yes +} + +# func_ltwrapper_script_p file +# True iff FILE is a libtool wrapper script +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_ltwrapper_script_p () +{ + func_lalib_p "$1" +} + +# func_ltwrapper_executable_p file +# True iff FILE is a libtool wrapper executable +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_ltwrapper_executable_p () +{ + func_ltwrapper_exec_suffix= + case $1 in + *.exe) ;; + *) func_ltwrapper_exec_suffix=.exe ;; + esac + $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 +} + +# func_ltwrapper_scriptname file +# Assumes file is an ltwrapper_executable +# uses $file to determine the appropriate filename for a +# temporary ltwrapper_script. +func_ltwrapper_scriptname () +{ + func_dirname_and_basename "$1" "" "." + func_stripname '' '.exe' "$func_basename_result" + func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper" +} + +# func_ltwrapper_p file +# True iff FILE is a libtool wrapper script or wrapper executable +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_ltwrapper_p () +{ + func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1" +} + + +# func_execute_cmds commands fail_cmd +# Execute tilde-delimited COMMANDS. +# If FAIL_CMD is given, eval that upon failure. +# FAIL_CMD may read-access the current command in variable CMD! +func_execute_cmds () +{ + $opt_debug + save_ifs=$IFS; IFS='~' + for cmd in $1; do + IFS=$save_ifs + eval cmd=\"$cmd\" + func_show_eval "$cmd" "${2-:}" + done + IFS=$save_ifs +} + + +# func_source file +# Source FILE, adding directory component if necessary. +# Note that it is not necessary on cygwin/mingw to append a dot to +# FILE even if both FILE and FILE.exe exist: automatic-append-.exe +# behavior happens only for exec(3), not for open(2)! Also, sourcing +# `FILE.' does not work on cygwin managed mounts. +func_source () +{ + $opt_debug + case $1 in + */* | *\\*) . "$1" ;; + *) . "./$1" ;; + esac +} + + +# func_resolve_sysroot PATH +# Replace a leading = in PATH with a sysroot. Store the result into +# func_resolve_sysroot_result +func_resolve_sysroot () +{ + func_resolve_sysroot_result=$1 + case $func_resolve_sysroot_result in + =*) + func_stripname '=' '' "$func_resolve_sysroot_result" + func_resolve_sysroot_result=$lt_sysroot$func_stripname_result + ;; + esac +} + +# func_replace_sysroot PATH +# If PATH begins with the sysroot, replace it with = and +# store the result into func_replace_sysroot_result. +func_replace_sysroot () +{ + case "$lt_sysroot:$1" in + ?*:"$lt_sysroot"*) + func_stripname "$lt_sysroot" '' "$1" + func_replace_sysroot_result="=$func_stripname_result" + ;; + *) + # Including no sysroot. + func_replace_sysroot_result=$1 + ;; + esac +} + +# func_infer_tag arg +# Infer tagged configuration to use if any are available and +# if one wasn't chosen via the "--tag" command line option. +# Only attempt this if the compiler in the base compile +# command doesn't match the default compiler. +# arg is usually of the form 'gcc ...' +func_infer_tag () +{ + $opt_debug + if test -n "$available_tags" && test -z "$tagname"; then + CC_quoted= + for arg in $CC; do + func_append_quoted CC_quoted "$arg" + done + CC_expanded=`func_echo_all $CC` + CC_quoted_expanded=`func_echo_all $CC_quoted` + case $@ in + # Blanks in the command may have been stripped by the calling shell, + # but not from the CC environment variable when configure was run. + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;; + # Blanks at the start of $base_compile will cause this to fail + # if we don't check for them as well. + *) + for z in $available_tags; do + if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then + # Evaluate the configuration. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" + CC_quoted= + for arg in $CC; do + # Double-quote args containing other shell metacharacters. + func_append_quoted CC_quoted "$arg" + done + CC_expanded=`func_echo_all $CC` + CC_quoted_expanded=`func_echo_all $CC_quoted` + case "$@ " in + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) + # The compiler in the base compile command matches + # the one in the tagged configuration. + # Assume this is the tagged configuration we want. + tagname=$z + break + ;; + esac + fi + done + # If $tagname still isn't set, then no tagged configuration + # was found and let the user know that the "--tag" command + # line option must be used. + if test -z "$tagname"; then + func_echo "unable to infer tagged configuration" + func_fatal_error "specify a tag with \`--tag'" +# else +# func_verbose "using $tagname tagged configuration" + fi + ;; + esac + fi +} + + + +# func_write_libtool_object output_name pic_name nonpic_name +# Create a libtool object file (analogous to a ".la" file), +# but don't create it if we're doing a dry run. +func_write_libtool_object () +{ + write_libobj=${1} + if test "$build_libtool_libs" = yes; then + write_lobj=\'${2}\' + else + write_lobj=none + fi + + if test "$build_old_libs" = yes; then + write_oldobj=\'${3}\' + else + write_oldobj=none + fi + + $opt_dry_run || { + cat >${write_libobj}T <<EOF +# $write_libobj - a libtool object file +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object=$write_lobj + +# Name of the non-PIC object +non_pic_object=$write_oldobj + +EOF + $MV "${write_libobj}T" "${write_libobj}" + } +} + + +################################################## +# FILE NAME AND PATH CONVERSION HELPER FUNCTIONS # +################################################## + +# func_convert_core_file_wine_to_w32 ARG +# Helper function used by file name conversion functions when $build is *nix, +# and $host is mingw, cygwin, or some other w32 environment. Relies on a +# correctly configured wine environment available, with the winepath program +# in $build's $PATH. +# +# ARG is the $build file name to be converted to w32 format. +# Result is available in $func_convert_core_file_wine_to_w32_result, and will +# be empty on error (or when ARG is empty) +func_convert_core_file_wine_to_w32 () +{ + $opt_debug + func_convert_core_file_wine_to_w32_result="$1" + if test -n "$1"; then + # Unfortunately, winepath does not exit with a non-zero error code, so we + # are forced to check the contents of stdout. On the other hand, if the + # command is not found, the shell will set an exit code of 127 and print + # *an error message* to stdout. So we must check for both error code of + # zero AND non-empty stdout, which explains the odd construction: + func_convert_core_file_wine_to_w32_tmp=`winepath -w "$1" 2>/dev/null` + if test "$?" -eq 0 && test -n "${func_convert_core_file_wine_to_w32_tmp}"; then + func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" | + $SED -e "$lt_sed_naive_backslashify"` + else + func_convert_core_file_wine_to_w32_result= + fi + fi +} +# end: func_convert_core_file_wine_to_w32 + + +# func_convert_core_path_wine_to_w32 ARG +# Helper function used by path conversion functions when $build is *nix, and +# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly +# configured wine environment available, with the winepath program in $build's +# $PATH. Assumes ARG has no leading or trailing path separator characters. +# +# ARG is path to be converted from $build format to win32. +# Result is available in $func_convert_core_path_wine_to_w32_result. +# Unconvertible file (directory) names in ARG are skipped; if no directory names +# are convertible, then the result may be empty. +func_convert_core_path_wine_to_w32 () +{ + $opt_debug + # unfortunately, winepath doesn't convert paths, only file names + func_convert_core_path_wine_to_w32_result="" + if test -n "$1"; then + oldIFS=$IFS + IFS=: + for func_convert_core_path_wine_to_w32_f in $1; do + IFS=$oldIFS + func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f" + if test -n "$func_convert_core_file_wine_to_w32_result" ; then + if test -z "$func_convert_core_path_wine_to_w32_result"; then + func_convert_core_path_wine_to_w32_result="$func_convert_core_file_wine_to_w32_result" + else + func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result" + fi + fi + done + IFS=$oldIFS + fi +} +# end: func_convert_core_path_wine_to_w32 + + +# func_cygpath ARGS... +# Wrapper around calling the cygpath program via LT_CYGPATH. This is used when +# when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2) +# $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or +# (2), returns the Cygwin file name or path in func_cygpath_result (input +# file name or path is assumed to be in w32 format, as previously converted +# from $build's *nix or MSYS format). In case (3), returns the w32 file name +# or path in func_cygpath_result (input file name or path is assumed to be in +# Cygwin format). Returns an empty string on error. +# +# ARGS are passed to cygpath, with the last one being the file name or path to +# be converted. +# +# Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH +# environment variable; do not put it in $PATH. +func_cygpath () +{ + $opt_debug + if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then + func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null` + if test "$?" -ne 0; then + # on failure, ensure result is empty + func_cygpath_result= + fi + else + func_cygpath_result= + func_error "LT_CYGPATH is empty or specifies non-existent file: \`$LT_CYGPATH'" + fi +} +#end: func_cygpath + + +# func_convert_core_msys_to_w32 ARG +# Convert file name or path ARG from MSYS format to w32 format. Return +# result in func_convert_core_msys_to_w32_result. +func_convert_core_msys_to_w32 () +{ + $opt_debug + # awkward: cmd appends spaces to result + func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null | + $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"` +} +#end: func_convert_core_msys_to_w32 + + +# func_convert_file_check ARG1 ARG2 +# Verify that ARG1 (a file name in $build format) was converted to $host +# format in ARG2. Otherwise, emit an error message, but continue (resetting +# func_to_host_file_result to ARG1). +func_convert_file_check () +{ + $opt_debug + if test -z "$2" && test -n "$1" ; then + func_error "Could not determine host file name corresponding to" + func_error " \`$1'" + func_error "Continuing, but uninstalled executables may not work." + # Fallback: + func_to_host_file_result="$1" + fi +} +# end func_convert_file_check + + +# func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH +# Verify that FROM_PATH (a path in $build format) was converted to $host +# format in TO_PATH. Otherwise, emit an error message, but continue, resetting +# func_to_host_file_result to a simplistic fallback value (see below). +func_convert_path_check () +{ + $opt_debug + if test -z "$4" && test -n "$3"; then + func_error "Could not determine the host path corresponding to" + func_error " \`$3'" + func_error "Continuing, but uninstalled executables may not work." + # Fallback. This is a deliberately simplistic "conversion" and + # should not be "improved". See libtool.info. + if test "x$1" != "x$2"; then + lt_replace_pathsep_chars="s|$1|$2|g" + func_to_host_path_result=`echo "$3" | + $SED -e "$lt_replace_pathsep_chars"` + else + func_to_host_path_result="$3" + fi + fi +} +# end func_convert_path_check + + +# func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG +# Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT +# and appending REPL if ORIG matches BACKPAT. +func_convert_path_front_back_pathsep () +{ + $opt_debug + case $4 in + $1 ) func_to_host_path_result="$3$func_to_host_path_result" + ;; + esac + case $4 in + $2 ) func_append func_to_host_path_result "$3" + ;; + esac +} +# end func_convert_path_front_back_pathsep + + +################################################## +# $build to $host FILE NAME CONVERSION FUNCTIONS # +################################################## +# invoked via `$to_host_file_cmd ARG' +# +# In each case, ARG is the path to be converted from $build to $host format. +# Result will be available in $func_to_host_file_result. + + +# func_to_host_file ARG +# Converts the file name ARG from $build format to $host format. Return result +# in func_to_host_file_result. +func_to_host_file () +{ + $opt_debug + $to_host_file_cmd "$1" +} +# end func_to_host_file + + +# func_to_tool_file ARG LAZY +# converts the file name ARG from $build format to toolchain format. Return +# result in func_to_tool_file_result. If the conversion in use is listed +# in (the comma separated) LAZY, no conversion takes place. +func_to_tool_file () +{ + $opt_debug + case ,$2, in + *,"$to_tool_file_cmd",*) + func_to_tool_file_result=$1 + ;; + *) + $to_tool_file_cmd "$1" + func_to_tool_file_result=$func_to_host_file_result + ;; + esac +} +# end func_to_tool_file + + +# func_convert_file_noop ARG +# Copy ARG to func_to_host_file_result. +func_convert_file_noop () +{ + func_to_host_file_result="$1" +} +# end func_convert_file_noop + + +# func_convert_file_msys_to_w32 ARG +# Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic +# conversion to w32 is not available inside the cwrapper. Returns result in +# func_to_host_file_result. +func_convert_file_msys_to_w32 () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + func_convert_core_msys_to_w32 "$1" + func_to_host_file_result="$func_convert_core_msys_to_w32_result" + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_msys_to_w32 + + +# func_convert_file_cygwin_to_w32 ARG +# Convert file name ARG from Cygwin to w32 format. Returns result in +# func_to_host_file_result. +func_convert_file_cygwin_to_w32 () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + # because $build is cygwin, we call "the" cygpath in $PATH; no need to use + # LT_CYGPATH in this case. + func_to_host_file_result=`cygpath -m "$1"` + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_cygwin_to_w32 + + +# func_convert_file_nix_to_w32 ARG +# Convert file name ARG from *nix to w32 format. Requires a wine environment +# and a working winepath. Returns result in func_to_host_file_result. +func_convert_file_nix_to_w32 () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + func_convert_core_file_wine_to_w32 "$1" + func_to_host_file_result="$func_convert_core_file_wine_to_w32_result" + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_nix_to_w32 + + +# func_convert_file_msys_to_cygwin ARG +# Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. +# Returns result in func_to_host_file_result. +func_convert_file_msys_to_cygwin () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + func_convert_core_msys_to_w32 "$1" + func_cygpath -u "$func_convert_core_msys_to_w32_result" + func_to_host_file_result="$func_cygpath_result" + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_msys_to_cygwin + + +# func_convert_file_nix_to_cygwin ARG +# Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed +# in a wine environment, working winepath, and LT_CYGPATH set. Returns result +# in func_to_host_file_result. +func_convert_file_nix_to_cygwin () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + # convert from *nix to w32, then use cygpath to convert from w32 to cygwin. + func_convert_core_file_wine_to_w32 "$1" + func_cygpath -u "$func_convert_core_file_wine_to_w32_result" + func_to_host_file_result="$func_cygpath_result" + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_nix_to_cygwin + + +############################################# +# $build to $host PATH CONVERSION FUNCTIONS # +############################################# +# invoked via `$to_host_path_cmd ARG' +# +# In each case, ARG is the path to be converted from $build to $host format. +# The result will be available in $func_to_host_path_result. +# +# Path separators are also converted from $build format to $host format. If +# ARG begins or ends with a path separator character, it is preserved (but +# converted to $host format) on output. +# +# All path conversion functions are named using the following convention: +# file name conversion function : func_convert_file_X_to_Y () +# path conversion function : func_convert_path_X_to_Y () +# where, for any given $build/$host combination the 'X_to_Y' value is the +# same. If conversion functions are added for new $build/$host combinations, +# the two new functions must follow this pattern, or func_init_to_host_path_cmd +# will break. + + +# func_init_to_host_path_cmd +# Ensures that function "pointer" variable $to_host_path_cmd is set to the +# appropriate value, based on the value of $to_host_file_cmd. +to_host_path_cmd= +func_init_to_host_path_cmd () +{ + $opt_debug + if test -z "$to_host_path_cmd"; then + func_stripname 'func_convert_file_' '' "$to_host_file_cmd" + to_host_path_cmd="func_convert_path_${func_stripname_result}" + fi +} + + +# func_to_host_path ARG +# Converts the path ARG from $build format to $host format. Return result +# in func_to_host_path_result. +func_to_host_path () +{ + $opt_debug + func_init_to_host_path_cmd + $to_host_path_cmd "$1" +} +# end func_to_host_path + + +# func_convert_path_noop ARG +# Copy ARG to func_to_host_path_result. +func_convert_path_noop () +{ + func_to_host_path_result="$1" +} +# end func_convert_path_noop + + +# func_convert_path_msys_to_w32 ARG +# Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic +# conversion to w32 is not available inside the cwrapper. Returns result in +# func_to_host_path_result. +func_convert_path_msys_to_w32 () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # Remove leading and trailing path separator characters from ARG. MSYS + # behavior is inconsistent here; cygpath turns them into '.;' and ';.'; + # and winepath ignores them completely. + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" + func_to_host_path_result="$func_convert_core_msys_to_w32_result" + func_convert_path_check : ";" \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" + fi +} +# end func_convert_path_msys_to_w32 + + +# func_convert_path_cygwin_to_w32 ARG +# Convert path ARG from Cygwin to w32 format. Returns result in +# func_to_host_file_result. +func_convert_path_cygwin_to_w32 () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # See func_convert_path_msys_to_w32: + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"` + func_convert_path_check : ";" \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" + fi +} +# end func_convert_path_cygwin_to_w32 + + +# func_convert_path_nix_to_w32 ARG +# Convert path ARG from *nix to w32 format. Requires a wine environment and +# a working winepath. Returns result in func_to_host_file_result. +func_convert_path_nix_to_w32 () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # See func_convert_path_msys_to_w32: + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" + func_to_host_path_result="$func_convert_core_path_wine_to_w32_result" + func_convert_path_check : ";" \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" + fi +} +# end func_convert_path_nix_to_w32 + + +# func_convert_path_msys_to_cygwin ARG +# Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. +# Returns result in func_to_host_file_result. +func_convert_path_msys_to_cygwin () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # See func_convert_path_msys_to_w32: + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" + func_cygpath -u -p "$func_convert_core_msys_to_w32_result" + func_to_host_path_result="$func_cygpath_result" + func_convert_path_check : : \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" : "$1" + fi +} +# end func_convert_path_msys_to_cygwin + + +# func_convert_path_nix_to_cygwin ARG +# Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a +# a wine environment, working winepath, and LT_CYGPATH set. Returns result in +# func_to_host_file_result. +func_convert_path_nix_to_cygwin () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # Remove leading and trailing path separator characters from + # ARG. msys behavior is inconsistent here, cygpath turns them + # into '.;' and ';.', and winepath ignores them completely. + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" + func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result" + func_to_host_path_result="$func_cygpath_result" + func_convert_path_check : : \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" : "$1" + fi +} +# end func_convert_path_nix_to_cygwin + + +# func_mode_compile arg... +func_mode_compile () +{ + $opt_debug + # Get the compilation command and the source file. + base_compile= + srcfile="$nonopt" # always keep a non-empty value in "srcfile" + suppress_opt=yes + suppress_output= + arg_mode=normal + libobj= + later= + pie_flag= + + for arg + do + case $arg_mode in + arg ) + # do not "continue". Instead, add this to base_compile + lastarg="$arg" + arg_mode=normal + ;; + + target ) + libobj="$arg" + arg_mode=normal + continue + ;; + + normal ) + # Accept any command-line options. + case $arg in + -o) + test -n "$libobj" && \ + func_fatal_error "you cannot specify \`-o' more than once" + arg_mode=target + continue + ;; + + -pie | -fpie | -fPIE) + func_append pie_flag " $arg" + continue + ;; + + -shared | -static | -prefer-pic | -prefer-non-pic) + func_append later " $arg" + continue + ;; + + -no-suppress) + suppress_opt=no + continue + ;; + + -Xcompiler) + arg_mode=arg # the next one goes into the "base_compile" arg list + continue # The current "srcfile" will either be retained or + ;; # replaced later. I would guess that would be a bug. + + -Wc,*) + func_stripname '-Wc,' '' "$arg" + args=$func_stripname_result + lastarg= + save_ifs="$IFS"; IFS=',' + for arg in $args; do + IFS="$save_ifs" + func_append_quoted lastarg "$arg" + done + IFS="$save_ifs" + func_stripname ' ' '' "$lastarg" + lastarg=$func_stripname_result + + # Add the arguments to base_compile. + func_append base_compile " $lastarg" + continue + ;; + + *) + # Accept the current argument as the source file. + # The previous "srcfile" becomes the current argument. + # + lastarg="$srcfile" + srcfile="$arg" + ;; + esac # case $arg + ;; + esac # case $arg_mode + + # Aesthetically quote the previous argument. + func_append_quoted base_compile "$lastarg" + done # for arg + + case $arg_mode in + arg) + func_fatal_error "you must specify an argument for -Xcompile" + ;; + target) + func_fatal_error "you must specify a target with \`-o'" + ;; + *) + # Get the name of the library object. + test -z "$libobj" && { + func_basename "$srcfile" + libobj="$func_basename_result" + } + ;; + esac + + # Recognize several different file suffixes. + # If the user specifies -o file.o, it is replaced with file.lo + case $libobj in + *.[cCFSifmso] | \ + *.ada | *.adb | *.ads | *.asm | \ + *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \ + *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup) + func_xform "$libobj" + libobj=$func_xform_result + ;; + esac + + case $libobj in + *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;; + *) + func_fatal_error "cannot determine name of library object from \`$libobj'" + ;; + esac + + func_infer_tag $base_compile + + for arg in $later; do + case $arg in + -shared) + test "$build_libtool_libs" != yes && \ + func_fatal_configuration "can not build a shared library" + build_old_libs=no + continue + ;; + + -static) + build_libtool_libs=no + build_old_libs=yes + continue + ;; + + -prefer-pic) + pic_mode=yes + continue + ;; + + -prefer-non-pic) + pic_mode=no + continue + ;; + esac + done + + func_quote_for_eval "$libobj" + test "X$libobj" != "X$func_quote_for_eval_result" \ + && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \ + && func_warning "libobj name \`$libobj' may not contain shell special characters." + func_dirname_and_basename "$obj" "/" "" + objname="$func_basename_result" + xdir="$func_dirname_result" + lobj=${xdir}$objdir/$objname + + test -z "$base_compile" && \ + func_fatal_help "you must specify a compilation command" + + # Delete any leftover library objects. + if test "$build_old_libs" = yes; then + removelist="$obj $lobj $libobj ${libobj}T" + else + removelist="$lobj $libobj ${libobj}T" + fi + + # On Cygwin there's no "real" PIC flag so we must build both object types + case $host_os in + cygwin* | mingw* | pw32* | os2* | cegcc*) + pic_mode=default + ;; + esac + if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then + # non-PIC code in shared libraries is not supported + pic_mode=default + fi + + # Calculate the filename of the output object if compiler does + # not support -o with -c + if test "$compiler_c_o" = no; then + output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext} + lockfile="$output_obj.lock" + else + output_obj= + need_locks=no + lockfile= + fi + + # Lock this critical section if it is needed + # We use this script file to make the link, it avoids creating a new file + if test "$need_locks" = yes; then + until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do + func_echo "Waiting for $lockfile to be removed" + sleep 2 + done + elif test "$need_locks" = warn; then + if test -f "$lockfile"; then + $ECHO "\ +*** ERROR, $lockfile exists and contains: +`cat $lockfile 2>/dev/null` + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $opt_dry_run || $RM $removelist + exit $EXIT_FAILURE + fi + func_append removelist " $output_obj" + $ECHO "$srcfile" > "$lockfile" + fi + + $opt_dry_run || $RM $removelist + func_append removelist " $lockfile" + trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 + + func_to_tool_file "$srcfile" func_convert_file_msys_to_w32 + srcfile=$func_to_tool_file_result + func_quote_for_eval "$srcfile" + qsrcfile=$func_quote_for_eval_result + + # Only build a PIC object if we are building libtool libraries. + if test "$build_libtool_libs" = yes; then + # Without this assignment, base_compile gets emptied. + fbsd_hideous_sh_bug=$base_compile + + if test "$pic_mode" != no; then + command="$base_compile $qsrcfile $pic_flag" + else + # Don't build PIC code + command="$base_compile $qsrcfile" + fi + + func_mkdir_p "$xdir$objdir" + + if test -z "$output_obj"; then + # Place PIC objects in $objdir + func_append command " -o $lobj" + fi + + func_show_eval_locale "$command" \ + 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' + + if test "$need_locks" = warn && + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then + $ECHO "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $opt_dry_run || $RM $removelist + exit $EXIT_FAILURE + fi + + # Just move the object if needed, then go on to compile the next one + if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then + func_show_eval '$MV "$output_obj" "$lobj"' \ + 'error=$?; $opt_dry_run || $RM $removelist; exit $error' + fi + + # Allow error messages only from the first compilation. + if test "$suppress_opt" = yes; then + suppress_output=' >/dev/null 2>&1' + fi + fi + + # Only build a position-dependent object if we build old libraries. + if test "$build_old_libs" = yes; then + if test "$pic_mode" != yes; then + # Don't build PIC code + command="$base_compile $qsrcfile$pie_flag" + else + command="$base_compile $qsrcfile $pic_flag" + fi + if test "$compiler_c_o" = yes; then + func_append command " -o $obj" + fi + + # Suppress compiler output if we already did a PIC compilation. + func_append command "$suppress_output" + func_show_eval_locale "$command" \ + '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' + + if test "$need_locks" = warn && + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then + $ECHO "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $opt_dry_run || $RM $removelist + exit $EXIT_FAILURE + fi + + # Just move the object if needed + if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then + func_show_eval '$MV "$output_obj" "$obj"' \ + 'error=$?; $opt_dry_run || $RM $removelist; exit $error' + fi + fi + + $opt_dry_run || { + func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" + + # Unlock the critical section if it was locked + if test "$need_locks" != no; then + removelist=$lockfile + $RM "$lockfile" + fi + } + + exit $EXIT_SUCCESS +} + +$opt_help || { + test "$opt_mode" = compile && func_mode_compile ${1+"$@"} +} + +func_mode_help () +{ + # We need to display help for each of the modes. + case $opt_mode in + "") + # Generic help is extracted from the usage comments + # at the start of this file. + func_help + ;; + + clean) + $ECHO \ +"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE... + +Remove files from the build directory. + +RM is the name of the program to use to delete files associated with each FILE +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed +to RM. + +If FILE is a libtool library, object or program, all the files associated +with it are deleted. Otherwise, only FILE itself is deleted using RM." + ;; + + compile) + $ECHO \ +"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE + +Compile a source file into a libtool library object. + +This mode accepts the following additional options: + + -o OUTPUT-FILE set the output file name to OUTPUT-FILE + -no-suppress do not suppress compiler output for multiple passes + -prefer-pic try to build PIC objects only + -prefer-non-pic try to build non-PIC objects only + -shared do not build a \`.o' file suitable for static linking + -static only build a \`.o' file suitable for static linking + -Wc,FLAG pass FLAG directly to the compiler + +COMPILE-COMMAND is a command to be used in creating a \`standard' object file +from the given SOURCEFILE. + +The output file name is determined by removing the directory component from +SOURCEFILE, then substituting the C source code suffix \`.c' with the +library object suffix, \`.lo'." + ;; + + execute) + $ECHO \ +"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]... + +Automatically set library path, then run a program. + +This mode accepts the following additional options: + + -dlopen FILE add the directory containing FILE to the library path + +This mode sets the library path environment variable according to \`-dlopen' +flags. + +If any of the ARGS are libtool executable wrappers, then they are translated +into their corresponding uninstalled binary, and any of their required library +directories are added to the library path. + +Then, COMMAND is executed, with ARGS as arguments." + ;; + + finish) + $ECHO \ +"Usage: $progname [OPTION]... --mode=finish [LIBDIR]... + +Complete the installation of libtool libraries. + +Each LIBDIR is a directory that contains libtool libraries. + +The commands that this mode executes may require superuser privileges. Use +the \`--dry-run' option if you just want to see what would be executed." + ;; + + install) + $ECHO \ +"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND... + +Install executables or libraries. + +INSTALL-COMMAND is the installation command. The first component should be +either the \`install' or \`cp' program. + +The following components of INSTALL-COMMAND are treated specially: + + -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation + +The rest of the components are interpreted as arguments to that command (only +BSD-compatible install options are recognized)." + ;; + + link) + $ECHO \ +"Usage: $progname [OPTION]... --mode=link LINK-COMMAND... + +Link object files or libraries together to form another library, or to +create an executable program. + +LINK-COMMAND is a command using the C compiler that you would use to create +a program from several object files. + +The following components of LINK-COMMAND are treated specially: + + -all-static do not do any dynamic linking at all + -avoid-version do not add a version suffix if possible + -bindir BINDIR specify path to binaries directory (for systems where + libraries must be found in the PATH setting at runtime) + -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime + -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols + -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) + -export-symbols SYMFILE + try to export only the symbols listed in SYMFILE + -export-symbols-regex REGEX + try to export only the symbols matching REGEX + -LLIBDIR search LIBDIR for required installed libraries + -lNAME OUTPUT-FILE requires the installed library libNAME + -module build a library that can dlopened + -no-fast-install disable the fast-install mode + -no-install link a not-installable executable + -no-undefined declare that a library does not refer to external symbols + -o OUTPUT-FILE create OUTPUT-FILE from the specified objects + -objectlist FILE Use a list of object files found in FILE to specify objects + -precious-files-regex REGEX + don't remove output files matching REGEX + -release RELEASE specify package release information + -rpath LIBDIR the created library will eventually be installed in LIBDIR + -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries + -shared only do dynamic linking of libtool libraries + -shrext SUFFIX override the standard shared library file extension + -static do not do any dynamic linking of uninstalled libtool libraries + -static-libtool-libs + do not do any dynamic linking of libtool libraries + -version-info CURRENT[:REVISION[:AGE]] + specify library version info [each variable defaults to 0] + -weak LIBNAME declare that the target provides the LIBNAME interface + -Wc,FLAG + -Xcompiler FLAG pass linker-specific FLAG directly to the compiler + -Wl,FLAG + -Xlinker FLAG pass linker-specific FLAG directly to the linker + -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC) + +All other options (arguments beginning with \`-') are ignored. + +Every other argument is treated as a filename. Files ending in \`.la' are +treated as uninstalled libtool libraries, other files are standard or library +object files. + +If the OUTPUT-FILE ends in \`.la', then a libtool library is created, +only library objects (\`.lo' files) may be specified, and \`-rpath' is +required, except when creating a convenience library. + +If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created +using \`ar' and \`ranlib', or on Windows using \`lib'. + +If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file +is created, otherwise an executable program is created." + ;; + + uninstall) + $ECHO \ +"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... + +Remove libraries from an installation directory. + +RM is the name of the program to use to delete files associated with each FILE +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed +to RM. + +If FILE is a libtool library, all the files associated with it are deleted. +Otherwise, only FILE itself is deleted using RM." + ;; + + *) + func_fatal_help "invalid operation mode \`$opt_mode'" + ;; + esac + + echo + $ECHO "Try \`$progname --help' for more information about other modes." +} + +# Now that we've collected a possible --mode arg, show help if necessary +if $opt_help; then + if test "$opt_help" = :; then + func_mode_help + else + { + func_help noexit + for opt_mode in compile link execute install finish uninstall clean; do + func_mode_help + done + } | sed -n '1p; 2,$s/^Usage:/ or: /p' + { + func_help noexit + for opt_mode in compile link execute install finish uninstall clean; do + echo + func_mode_help + done + } | + sed '1d + /^When reporting/,/^Report/{ + H + d + } + $x + /information about other modes/d + /more detailed .*MODE/d + s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/' + fi + exit $? +fi + + +# func_mode_execute arg... +func_mode_execute () +{ + $opt_debug + # The first argument is the command name. + cmd="$nonopt" + test -z "$cmd" && \ + func_fatal_help "you must specify a COMMAND" + + # Handle -dlopen flags immediately. + for file in $opt_dlopen; do + test -f "$file" \ + || func_fatal_help "\`$file' is not a file" + + dir= + case $file in + *.la) + func_resolve_sysroot "$file" + file=$func_resolve_sysroot_result + + # Check to see that this really is a libtool archive. + func_lalib_unsafe_p "$file" \ + || func_fatal_help "\`$lib' is not a valid libtool archive" + + # Read the libtool library. + dlname= + library_names= + func_source "$file" + + # Skip this library if it cannot be dlopened. + if test -z "$dlname"; then + # Warn if it was a shared library. + test -n "$library_names" && \ + func_warning "\`$file' was not linked with \`-export-dynamic'" + continue + fi + + func_dirname "$file" "" "." + dir="$func_dirname_result" + + if test -f "$dir/$objdir/$dlname"; then + func_append dir "/$objdir" + else + if test ! -f "$dir/$dlname"; then + func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" + fi + fi + ;; + + *.lo) + # Just add the directory containing the .lo file. + func_dirname "$file" "" "." + dir="$func_dirname_result" + ;; + + *) + func_warning "\`-dlopen' is ignored for non-libtool libraries and objects" + continue + ;; + esac + + # Get the absolute pathname. + absdir=`cd "$dir" && pwd` + test -n "$absdir" && dir="$absdir" + + # Now add the directory to shlibpath_var. + if eval "test -z \"\$$shlibpath_var\""; then + eval "$shlibpath_var=\"\$dir\"" + else + eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" + fi + done + + # This variable tells wrapper scripts just to set shlibpath_var + # rather than running their programs. + libtool_execute_magic="$magic" + + # Check if any of the arguments is a wrapper script. + args= + for file + do + case $file in + -* | *.la | *.lo ) ;; + *) + # Do a test to see if this is really a libtool program. + if func_ltwrapper_script_p "$file"; then + func_source "$file" + # Transform arg to wrapped name. + file="$progdir/$program" + elif func_ltwrapper_executable_p "$file"; then + func_ltwrapper_scriptname "$file" + func_source "$func_ltwrapper_scriptname_result" + # Transform arg to wrapped name. + file="$progdir/$program" + fi + ;; + esac + # Quote arguments (to preserve shell metacharacters). + func_append_quoted args "$file" + done + + if test "X$opt_dry_run" = Xfalse; then + if test -n "$shlibpath_var"; then + # Export the shlibpath_var. + eval "export $shlibpath_var" + fi + + # Restore saved environment variables + for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES + do + eval "if test \"\${save_$lt_var+set}\" = set; then + $lt_var=\$save_$lt_var; export $lt_var + else + $lt_unset $lt_var + fi" + done + + # Now prepare to actually exec the command. + exec_cmd="\$cmd$args" + else + # Display what would be done. + if test -n "$shlibpath_var"; then + eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" + echo "export $shlibpath_var" + fi + $ECHO "$cmd$args" + exit $EXIT_SUCCESS + fi +} + +test "$opt_mode" = execute && func_mode_execute ${1+"$@"} + + +# func_mode_finish arg... +func_mode_finish () +{ + $opt_debug + libs= + libdirs= + admincmds= + + for opt in "$nonopt" ${1+"$@"} + do + if test -d "$opt"; then + func_append libdirs " $opt" + + elif test -f "$opt"; then + if func_lalib_unsafe_p "$opt"; then + func_append libs " $opt" + else + func_warning "\`$opt' is not a valid libtool archive" + fi + + else + func_fatal_error "invalid argument \`$opt'" + fi + done + + if test -n "$libs"; then + if test -n "$lt_sysroot"; then + sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"` + sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;" + else + sysroot_cmd= + fi + + # Remove sysroot references + if $opt_dry_run; then + for lib in $libs; do + echo "removing references to $lt_sysroot and \`=' prefixes from $lib" + done + else + tmpdir=`func_mktempdir` + for lib in $libs; do + sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \ + > $tmpdir/tmp-la + mv -f $tmpdir/tmp-la $lib + done + ${RM}r "$tmpdir" + fi + fi + + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then + for libdir in $libdirs; do + if test -n "$finish_cmds"; then + # Do each command in the finish commands. + func_execute_cmds "$finish_cmds" 'admincmds="$admincmds +'"$cmd"'"' + fi + if test -n "$finish_eval"; then + # Do the single finish_eval. + eval cmds=\"$finish_eval\" + $opt_dry_run || eval "$cmds" || func_append admincmds " + $cmds" + fi + done + fi + + # Exit here if they wanted silent mode. + $opt_silent && exit $EXIT_SUCCESS + + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then + echo "----------------------------------------------------------------------" + echo "Libraries have been installed in:" + for libdir in $libdirs; do + $ECHO " $libdir" + done + echo + echo "If you ever happen to want to link against installed libraries" + echo "in a given directory, LIBDIR, you must either use libtool, and" + echo "specify the full pathname of the library, or use the \`-LLIBDIR'" + echo "flag during linking and do at least one of the following:" + if test -n "$shlibpath_var"; then + echo " - add LIBDIR to the \`$shlibpath_var' environment variable" + echo " during execution" + fi + if test -n "$runpath_var"; then + echo " - add LIBDIR to the \`$runpath_var' environment variable" + echo " during linking" + fi + if test -n "$hardcode_libdir_flag_spec"; then + libdir=LIBDIR + eval flag=\"$hardcode_libdir_flag_spec\" + + $ECHO " - use the \`$flag' linker flag" + fi + if test -n "$admincmds"; then + $ECHO " - have your system administrator run these commands:$admincmds" + fi + if test -f /etc/ld.so.conf; then + echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" + fi + echo + + echo "See any operating system documentation about shared libraries for" + case $host in + solaris2.[6789]|solaris2.1[0-9]) + echo "more information, such as the ld(1), crle(1) and ld.so(8) manual" + echo "pages." + ;; + *) + echo "more information, such as the ld(1) and ld.so(8) manual pages." + ;; + esac + echo "----------------------------------------------------------------------" + fi + exit $EXIT_SUCCESS +} + +test "$opt_mode" = finish && func_mode_finish ${1+"$@"} + + +# func_mode_install arg... +func_mode_install () +{ + $opt_debug + # There may be an optional sh(1) argument at the beginning of + # install_prog (especially on Windows NT). + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || + # Allow the use of GNU shtool's install command. + case $nonopt in *shtool*) :;; *) false;; esac; then + # Aesthetically quote it. + func_quote_for_eval "$nonopt" + install_prog="$func_quote_for_eval_result " + arg=$1 + shift + else + install_prog= + arg=$nonopt + fi + + # The real first argument should be the name of the installation program. + # Aesthetically quote it. + func_quote_for_eval "$arg" + func_append install_prog "$func_quote_for_eval_result" + install_shared_prog=$install_prog + case " $install_prog " in + *[\\\ /]cp\ *) install_cp=: ;; + *) install_cp=false ;; + esac + + # We need to accept at least all the BSD install flags. + dest= + files= + opts= + prev= + install_type= + isdir=no + stripme= + no_mode=: + for arg + do + arg2= + if test -n "$dest"; then + func_append files " $dest" + dest=$arg + continue + fi + + case $arg in + -d) isdir=yes ;; + -f) + if $install_cp; then :; else + prev=$arg + fi + ;; + -g | -m | -o) + prev=$arg + ;; + -s) + stripme=" -s" + continue + ;; + -*) + ;; + *) + # If the previous option needed an argument, then skip it. + if test -n "$prev"; then + if test "x$prev" = x-m && test -n "$install_override_mode"; then + arg2=$install_override_mode + no_mode=false + fi + prev= + else + dest=$arg + continue + fi + ;; + esac + + # Aesthetically quote the argument. + func_quote_for_eval "$arg" + func_append install_prog " $func_quote_for_eval_result" + if test -n "$arg2"; then + func_quote_for_eval "$arg2" + fi + func_append install_shared_prog " $func_quote_for_eval_result" + done + + test -z "$install_prog" && \ + func_fatal_help "you must specify an install program" + + test -n "$prev" && \ + func_fatal_help "the \`$prev' option requires an argument" + + if test -n "$install_override_mode" && $no_mode; then + if $install_cp; then :; else + func_quote_for_eval "$install_override_mode" + func_append install_shared_prog " -m $func_quote_for_eval_result" + fi + fi + + if test -z "$files"; then + if test -z "$dest"; then + func_fatal_help "no file or destination specified" + else + func_fatal_help "you must specify a destination" + fi + fi + + # Strip any trailing slash from the destination. + func_stripname '' '/' "$dest" + dest=$func_stripname_result + + # Check to see that the destination is a directory. + test -d "$dest" && isdir=yes + if test "$isdir" = yes; then + destdir="$dest" + destname= + else + func_dirname_and_basename "$dest" "" "." + destdir="$func_dirname_result" + destname="$func_basename_result" + + # Not a directory, so check to see that there is only one file specified. + set dummy $files; shift + test "$#" -gt 1 && \ + func_fatal_help "\`$dest' is not a directory" + fi + case $destdir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + for file in $files; do + case $file in + *.lo) ;; + *) + func_fatal_help "\`$destdir' must be an absolute directory name" + ;; + esac + done + ;; + esac + + # This variable tells wrapper scripts just to set variables rather + # than running their programs. + libtool_install_magic="$magic" + + staticlibs= + future_libdirs= + current_libdirs= + for file in $files; do + + # Do each installation. + case $file in + *.$libext) + # Do the static libraries later. + func_append staticlibs " $file" + ;; + + *.la) + func_resolve_sysroot "$file" + file=$func_resolve_sysroot_result + + # Check to see that this really is a libtool archive. + func_lalib_unsafe_p "$file" \ + || func_fatal_help "\`$file' is not a valid libtool archive" + + library_names= + old_library= + relink_command= + func_source "$file" + + # Add the libdir to current_libdirs if it is the destination. + if test "X$destdir" = "X$libdir"; then + case "$current_libdirs " in + *" $libdir "*) ;; + *) func_append current_libdirs " $libdir" ;; + esac + else + # Note the libdir as a future libdir. + case "$future_libdirs " in + *" $libdir "*) ;; + *) func_append future_libdirs " $libdir" ;; + esac + fi + + func_dirname "$file" "/" "" + dir="$func_dirname_result" + func_append dir "$objdir" + + if test -n "$relink_command"; then + # Determine the prefix the user has applied to our future dir. + inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"` + + # Don't allow the user to place us outside of our expected + # location b/c this prevents finding dependent libraries that + # are installed to the same prefix. + # At present, this check doesn't affect windows .dll's that + # are installed into $libdir/../bin (currently, that works fine) + # but it's something to keep an eye on. + test "$inst_prefix_dir" = "$destdir" && \ + func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir" + + if test -n "$inst_prefix_dir"; then + # Stick the inst_prefix_dir data into the link command. + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` + else + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"` + fi + + func_warning "relinking \`$file'" + func_show_eval "$relink_command" \ + 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"' + fi + + # See the names of the shared library. + set dummy $library_names; shift + if test -n "$1"; then + realname="$1" + shift + + srcname="$realname" + test -n "$relink_command" && srcname="$realname"T + + # Install the shared library and build the symlinks. + func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \ + 'exit $?' + tstripme="$stripme" + case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + case $realname in + *.dll.a) + tstripme="" + ;; + esac + ;; + esac + if test -n "$tstripme" && test -n "$striplib"; then + func_show_eval "$striplib $destdir/$realname" 'exit $?' + fi + + if test "$#" -gt 0; then + # Delete the old symlinks, and create new ones. + # Try `ln -sf' first, because the `ln' binary might depend on + # the symlink we replace! Solaris /bin/ln does not understand -f, + # so we also need to try rm && ln -s. + for linkname + do + test "$linkname" != "$realname" \ + && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })" + done + fi + + # Do each command in the postinstall commands. + lib="$destdir/$realname" + func_execute_cmds "$postinstall_cmds" 'exit $?' + fi + + # Install the pseudo-library for information purposes. + func_basename "$file" + name="$func_basename_result" + instname="$dir/$name"i + func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' + + # Maybe install the static library, too. + test -n "$old_library" && func_append staticlibs " $dir/$old_library" + ;; + + *.lo) + # Install (i.e. copy) a libtool object. + + # Figure out destination file name, if it wasn't already specified. + if test -n "$destname"; then + destfile="$destdir/$destname" + else + func_basename "$file" + destfile="$func_basename_result" + destfile="$destdir/$destfile" + fi + + # Deduce the name of the destination old-style object file. + case $destfile in + *.lo) + func_lo2o "$destfile" + staticdest=$func_lo2o_result + ;; + *.$objext) + staticdest="$destfile" + destfile= + ;; + *) + func_fatal_help "cannot copy a libtool object to \`$destfile'" + ;; + esac + + # Install the libtool object if requested. + test -n "$destfile" && \ + func_show_eval "$install_prog $file $destfile" 'exit $?' + + # Install the old object if enabled. + if test "$build_old_libs" = yes; then + # Deduce the name of the old-style object file. + func_lo2o "$file" + staticobj=$func_lo2o_result + func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' + fi + exit $EXIT_SUCCESS + ;; + + *) + # Figure out destination file name, if it wasn't already specified. + if test -n "$destname"; then + destfile="$destdir/$destname" + else + func_basename "$file" + destfile="$func_basename_result" + destfile="$destdir/$destfile" + fi + + # If the file is missing, and there is a .exe on the end, strip it + # because it is most likely a libtool script we actually want to + # install + stripped_ext="" + case $file in + *.exe) + if test ! -f "$file"; then + func_stripname '' '.exe' "$file" + file=$func_stripname_result + stripped_ext=".exe" + fi + ;; + esac + + # Do a test to see if this is really a libtool program. + case $host in + *cygwin* | *mingw*) + if func_ltwrapper_executable_p "$file"; then + func_ltwrapper_scriptname "$file" + wrapper=$func_ltwrapper_scriptname_result + else + func_stripname '' '.exe' "$file" + wrapper=$func_stripname_result + fi + ;; + *) + wrapper=$file + ;; + esac + if func_ltwrapper_script_p "$wrapper"; then + notinst_deplibs= + relink_command= + + func_source "$wrapper" + + # Check the variables that should have been set. + test -z "$generated_by_libtool_version" && \ + func_fatal_error "invalid libtool wrapper script \`$wrapper'" + + finalize=yes + for lib in $notinst_deplibs; do + # Check to see that each library is installed. + libdir= + if test -f "$lib"; then + func_source "$lib" + fi + libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test + if test -n "$libdir" && test ! -f "$libfile"; then + func_warning "\`$lib' has not been installed in \`$libdir'" + finalize=no + fi + done + + relink_command= + func_source "$wrapper" + + outputname= + if test "$fast_install" = no && test -n "$relink_command"; then + $opt_dry_run || { + if test "$finalize" = yes; then + tmpdir=`func_mktempdir` + func_basename "$file$stripped_ext" + file="$func_basename_result" + outputname="$tmpdir/$file" + # Replace the output file specification. + relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` + + $opt_silent || { + func_quote_for_expand "$relink_command" + eval "func_echo $func_quote_for_expand_result" + } + if eval "$relink_command"; then : + else + func_error "error: relink \`$file' with the above command before installing it" + $opt_dry_run || ${RM}r "$tmpdir" + continue + fi + file="$outputname" + else + func_warning "cannot relink \`$file'" + fi + } + else + # Install the binary that we compiled earlier. + file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"` + fi + fi + + # remove .exe since cygwin /usr/bin/install will append another + # one anyway + case $install_prog,$host in + */usr/bin/install*,*cygwin*) + case $file:$destfile in + *.exe:*.exe) + # this is ok + ;; + *.exe:*) + destfile=$destfile.exe + ;; + *:*.exe) + func_stripname '' '.exe' "$destfile" + destfile=$func_stripname_result + ;; + esac + ;; + esac + func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?' + $opt_dry_run || if test -n "$outputname"; then + ${RM}r "$tmpdir" + fi + ;; + esac + done + + for file in $staticlibs; do + func_basename "$file" + name="$func_basename_result" + + # Set up the ranlib parameters. + oldlib="$destdir/$name" + func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 + tool_oldlib=$func_to_tool_file_result + + func_show_eval "$install_prog \$file \$oldlib" 'exit $?' + + if test -n "$stripme" && test -n "$old_striplib"; then + func_show_eval "$old_striplib $tool_oldlib" 'exit $?' + fi + + # Do each command in the postinstall commands. + func_execute_cmds "$old_postinstall_cmds" 'exit $?' + done + + test -n "$future_libdirs" && \ + func_warning "remember to run \`$progname --finish$future_libdirs'" + + if test -n "$current_libdirs"; then + # Maybe just do a dry run. + $opt_dry_run && current_libdirs=" -n$current_libdirs" + exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' + else + exit $EXIT_SUCCESS + fi +} + +test "$opt_mode" = install && func_mode_install ${1+"$@"} + + +# func_generate_dlsyms outputname originator pic_p +# Extract symbols from dlprefiles and create ${outputname}S.o with +# a dlpreopen symbol table. +func_generate_dlsyms () +{ + $opt_debug + my_outputname="$1" + my_originator="$2" + my_pic_p="${3-no}" + my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'` + my_dlsyms= + + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + if test -n "$NM" && test -n "$global_symbol_pipe"; then + my_dlsyms="${my_outputname}S.c" + else + func_error "not configured to extract global symbols from dlpreopened files" + fi + fi + + if test -n "$my_dlsyms"; then + case $my_dlsyms in + "") ;; + *.c) + # Discover the nlist of each of the dlfiles. + nlist="$output_objdir/${my_outputname}.nm" + + func_show_eval "$RM $nlist ${nlist}S ${nlist}T" + + # Parse the name list into a source file. + func_verbose "creating $output_objdir/$my_dlsyms" + + $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ +/* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */ +/* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */ + +#ifdef __cplusplus +extern \"C\" { +#endif + +#if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)) +#pragma GCC diagnostic ignored \"-Wstrict-prototypes\" +#endif + +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) +/* DATA imports from DLLs on WIN32 con't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT_DLSYM_CONST +#elif defined(__osf__) +/* This system does not cope well with relocations in const data. */ +# define LT_DLSYM_CONST +#else +# define LT_DLSYM_CONST const +#endif + +/* External symbol declarations for the compiler. */\ +" + + if test "$dlself" = yes; then + func_verbose "generating symbol list for \`$output'" + + $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" + + # Add our own program objects to the symbol list. + progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP` + for progfile in $progfiles; do + func_to_tool_file "$progfile" func_convert_file_msys_to_w32 + func_verbose "extracting global C symbols from \`$func_to_tool_file_result'" + $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'" + done + + if test -n "$exclude_expsyms"; then + $opt_dry_run || { + eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' + eval '$MV "$nlist"T "$nlist"' + } + fi + + if test -n "$export_symbols_regex"; then + $opt_dry_run || { + eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' + eval '$MV "$nlist"T "$nlist"' + } + fi + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + export_symbols="$output_objdir/$outputname.exp" + $opt_dry_run || { + $RM $export_symbols + eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' + case $host in + *cygwin* | *mingw* | *cegcc* ) + eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' + eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' + ;; + esac + } + else + $opt_dry_run || { + eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' + eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' + eval '$MV "$nlist"T "$nlist"' + case $host in + *cygwin* | *mingw* | *cegcc* ) + eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' + eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' + ;; + esac + } + fi + fi + + for dlprefile in $dlprefiles; do + func_verbose "extracting global C symbols from \`$dlprefile'" + func_basename "$dlprefile" + name="$func_basename_result" + case $host in + *cygwin* | *mingw* | *cegcc* ) + # if an import library, we need to obtain dlname + if func_win32_import_lib_p "$dlprefile"; then + func_tr_sh "$dlprefile" + eval "curr_lafile=\$libfile_$func_tr_sh_result" + dlprefile_dlbasename="" + if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then + # Use subshell, to avoid clobbering current variable values + dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"` + if test -n "$dlprefile_dlname" ; then + func_basename "$dlprefile_dlname" + dlprefile_dlbasename="$func_basename_result" + else + # no lafile. user explicitly requested -dlpreopen <import library>. + $sharedlib_from_linklib_cmd "$dlprefile" + dlprefile_dlbasename=$sharedlib_from_linklib_result + fi + fi + $opt_dry_run || { + if test -n "$dlprefile_dlbasename" ; then + eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"' + else + func_warning "Could not compute DLL name from $name" + eval '$ECHO ": $name " >> "$nlist"' + fi + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | + $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'" + } + else # not an import lib + $opt_dry_run || { + eval '$ECHO ": $name " >> "$nlist"' + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" + } + fi + ;; + *) + $opt_dry_run || { + eval '$ECHO ": $name " >> "$nlist"' + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" + } + ;; + esac + done + + $opt_dry_run || { + # Make sure we have at least an empty file. + test -f "$nlist" || : > "$nlist" + + if test -n "$exclude_expsyms"; then + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T + $MV "$nlist"T "$nlist" + fi + + # Try sorting and uniquifying the output. + if $GREP -v "^: " < "$nlist" | + if sort -k 3 </dev/null >/dev/null 2>&1; then + sort -k 3 + else + sort +2 + fi | + uniq > "$nlist"S; then + : + else + $GREP -v "^: " < "$nlist" > "$nlist"S + fi + + if test -f "$nlist"S; then + eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' + else + echo '/* NONE */' >> "$output_objdir/$my_dlsyms" + fi + + echo >> "$output_objdir/$my_dlsyms" "\ + +/* The mapping between symbol names and symbols. */ +typedef struct { + const char *name; + void *address; +} lt_dlsymlist; +extern LT_DLSYM_CONST lt_dlsymlist +lt_${my_prefix}_LTX_preloaded_symbols[]; +LT_DLSYM_CONST lt_dlsymlist +lt_${my_prefix}_LTX_preloaded_symbols[] = +{\ + { \"$my_originator\", (void *) 0 }," + + case $need_lib_prefix in + no) + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" + ;; + *) + eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" + ;; + esac + echo >> "$output_objdir/$my_dlsyms" "\ + {0, (void *) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt_${my_prefix}_LTX_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif\ +" + } # !$opt_dry_run + + pic_flag_for_symtable= + case "$compile_command " in + *" -static "*) ;; + *) + case $host in + # compiling the symbol table file with pic_flag works around + # a FreeBSD bug that causes programs to crash when -lm is + # linked before any other PIC object. But we must not use + # pic_flag when linking with -static. The problem exists in + # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. + *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) + pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; + *-*-hpux*) + pic_flag_for_symtable=" $pic_flag" ;; + *) + if test "X$my_pic_p" != Xno; then + pic_flag_for_symtable=" $pic_flag" + fi + ;; + esac + ;; + esac + symtab_cflags= + for arg in $LTCFLAGS; do + case $arg in + -pie | -fpie | -fPIE) ;; + *) func_append symtab_cflags " $arg" ;; + esac + done + + # Now compile the dynamic symbol file. + func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?' + + # Clean up the generated files. + func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"' + + # Transform the symbol file into the correct name. + symfileobj="$output_objdir/${my_outputname}S.$objext" + case $host in + *cygwin* | *mingw* | *cegcc* ) + if test -f "$output_objdir/$my_outputname.def"; then + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` + else + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` + fi + ;; + *) + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` + ;; + esac + ;; + *) + func_fatal_error "unknown suffix for \`$my_dlsyms'" + ;; + esac + else + # We keep going just in case the user didn't refer to + # lt_preloaded_symbols. The linker will fail if global_symbol_pipe + # really was required. + + # Nullify the symbol file. + compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"` + fi +} + +# func_win32_libid arg +# return the library type of file 'arg' +# +# Need a lot of goo to handle *both* DLLs and import libs +# Has to be a shell function in order to 'eat' the argument +# that is supplied when $file_magic_command is called. +# Despite the name, also deal with 64 bit binaries. +func_win32_libid () +{ + $opt_debug + win32_libid_type="unknown" + win32_fileres=`file -L $1 2>/dev/null` + case $win32_fileres in + *ar\ archive\ import\ library*) # definitely import + win32_libid_type="x86 archive import" + ;; + *ar\ archive*) # could be an import, or static + # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD. + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | + $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then + func_to_tool_file "$1" func_convert_file_msys_to_w32 + win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" | + $SED -n -e ' + 1,100{ + / I /{ + s,.*,import, + p + q + } + }'` + case $win32_nmres in + import*) win32_libid_type="x86 archive import";; + *) win32_libid_type="x86 archive static";; + esac + fi + ;; + *DLL*) + win32_libid_type="x86 DLL" + ;; + *executable*) # but shell scripts are "executable" too... + case $win32_fileres in + *MS\ Windows\ PE\ Intel*) + win32_libid_type="x86 DLL" + ;; + esac + ;; + esac + $ECHO "$win32_libid_type" +} + +# func_cygming_dll_for_implib ARG +# +# Platform-specific function to extract the +# name of the DLL associated with the specified +# import library ARG. +# Invoked by eval'ing the libtool variable +# $sharedlib_from_linklib_cmd +# Result is available in the variable +# $sharedlib_from_linklib_result +func_cygming_dll_for_implib () +{ + $opt_debug + sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"` +} + +# func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs +# +# The is the core of a fallback implementation of a +# platform-specific function to extract the name of the +# DLL associated with the specified import library LIBNAME. +# +# SECTION_NAME is either .idata$6 or .idata$7, depending +# on the platform and compiler that created the implib. +# +# Echos the name of the DLL associated with the +# specified import library. +func_cygming_dll_for_implib_fallback_core () +{ + $opt_debug + match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"` + $OBJDUMP -s --section "$1" "$2" 2>/dev/null | + $SED '/^Contents of section '"$match_literal"':/{ + # Place marker at beginning of archive member dllname section + s/.*/====MARK====/ + p + d + } + # These lines can sometimes be longer than 43 characters, but + # are always uninteresting + /:[ ]*file format pe[i]\{,1\}-/d + /^In archive [^:]*:/d + # Ensure marker is printed + /^====MARK====/p + # Remove all lines with less than 43 characters + /^.\{43\}/!d + # From remaining lines, remove first 43 characters + s/^.\{43\}//' | + $SED -n ' + # Join marker and all lines until next marker into a single line + /^====MARK====/ b para + H + $ b para + b + :para + x + s/\n//g + # Remove the marker + s/^====MARK====// + # Remove trailing dots and whitespace + s/[\. \t]*$// + # Print + /./p' | + # we now have a list, one entry per line, of the stringified + # contents of the appropriate section of all members of the + # archive which possess that section. Heuristic: eliminate + # all those which have a first or second character that is + # a '.' (that is, objdump's representation of an unprintable + # character.) This should work for all archives with less than + # 0x302f exports -- but will fail for DLLs whose name actually + # begins with a literal '.' or a single character followed by + # a '.'. + # + # Of those that remain, print the first one. + $SED -e '/^\./d;/^.\./d;q' +} + +# func_cygming_gnu_implib_p ARG +# This predicate returns with zero status (TRUE) if +# ARG is a GNU/binutils-style import library. Returns +# with nonzero status (FALSE) otherwise. +func_cygming_gnu_implib_p () +{ + $opt_debug + func_to_tool_file "$1" func_convert_file_msys_to_w32 + func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'` + test -n "$func_cygming_gnu_implib_tmp" +} + +# func_cygming_ms_implib_p ARG +# This predicate returns with zero status (TRUE) if +# ARG is an MS-style import library. Returns +# with nonzero status (FALSE) otherwise. +func_cygming_ms_implib_p () +{ + $opt_debug + func_to_tool_file "$1" func_convert_file_msys_to_w32 + func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'` + test -n "$func_cygming_ms_implib_tmp" +} + +# func_cygming_dll_for_implib_fallback ARG +# Platform-specific function to extract the +# name of the DLL associated with the specified +# import library ARG. +# +# This fallback implementation is for use when $DLLTOOL +# does not support the --identify-strict option. +# Invoked by eval'ing the libtool variable +# $sharedlib_from_linklib_cmd +# Result is available in the variable +# $sharedlib_from_linklib_result +func_cygming_dll_for_implib_fallback () +{ + $opt_debug + if func_cygming_gnu_implib_p "$1" ; then + # binutils import library + sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"` + elif func_cygming_ms_implib_p "$1" ; then + # ms-generated import library + sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"` + else + # unknown + sharedlib_from_linklib_result="" + fi +} + + +# func_extract_an_archive dir oldlib +func_extract_an_archive () +{ + $opt_debug + f_ex_an_ar_dir="$1"; shift + f_ex_an_ar_oldlib="$1" + if test "$lock_old_archive_extraction" = yes; then + lockfile=$f_ex_an_ar_oldlib.lock + until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do + func_echo "Waiting for $lockfile to be removed" + sleep 2 + done + fi + func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \ + 'stat=$?; rm -f "$lockfile"; exit $stat' + if test "$lock_old_archive_extraction" = yes; then + $opt_dry_run || rm -f "$lockfile" + fi + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then + : + else + func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" + fi +} + + +# func_extract_archives gentop oldlib ... +func_extract_archives () +{ + $opt_debug + my_gentop="$1"; shift + my_oldlibs=${1+"$@"} + my_oldobjs="" + my_xlib="" + my_xabs="" + my_xdir="" + + for my_xlib in $my_oldlibs; do + # Extract the objects. + case $my_xlib in + [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; + *) my_xabs=`pwd`"/$my_xlib" ;; + esac + func_basename "$my_xlib" + my_xlib="$func_basename_result" + my_xlib_u=$my_xlib + while :; do + case " $extracted_archives " in + *" $my_xlib_u "*) + func_arith $extracted_serial + 1 + extracted_serial=$func_arith_result + my_xlib_u=lt$extracted_serial-$my_xlib ;; + *) break ;; + esac + done + extracted_archives="$extracted_archives $my_xlib_u" + my_xdir="$my_gentop/$my_xlib_u" + + func_mkdir_p "$my_xdir" + + case $host in + *-darwin*) + func_verbose "Extracting $my_xabs" + # Do not bother doing anything if just a dry run + $opt_dry_run || { + darwin_orig_dir=`pwd` + cd $my_xdir || exit $? + darwin_archive=$my_xabs + darwin_curdir=`pwd` + darwin_base_archive=`basename "$darwin_archive"` + darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` + if test -n "$darwin_arches"; then + darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` + darwin_arch= + func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" + for darwin_arch in $darwin_arches ; do + func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}" + $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" + cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" + func_extract_an_archive "`pwd`" "${darwin_base_archive}" + cd "$darwin_curdir" + $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" + done # $darwin_arches + ## Okay now we've a bunch of thin objects, gotta fatten them up :) + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u` + darwin_file= + darwin_files= + for darwin_file in $darwin_filelist; do + darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP` + $LIPO -create -output "$darwin_file" $darwin_files + done # $darwin_filelist + $RM -rf unfat-$$ + cd "$darwin_orig_dir" + else + cd $darwin_orig_dir + func_extract_an_archive "$my_xdir" "$my_xabs" + fi # $darwin_arches + } # !$opt_dry_run + ;; + *) + func_extract_an_archive "$my_xdir" "$my_xabs" + ;; + esac + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP` + done + + func_extract_archives_result="$my_oldobjs" +} + + +# func_emit_wrapper [arg=no] +# +# Emit a libtool wrapper script on stdout. +# Don't directly open a file because we may want to +# incorporate the script contents within a cygwin/mingw +# wrapper executable. Must ONLY be called from within +# func_mode_link because it depends on a number of variables +# set therein. +# +# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR +# variable will take. If 'yes', then the emitted script +# will assume that the directory in which it is stored is +# the $objdir directory. This is a cygwin/mingw-specific +# behavior. +func_emit_wrapper () +{ + func_emit_wrapper_arg1=${1-no} + + $ECHO "\ +#! $SHELL + +# $output - temporary wrapper script for $objdir/$outputname +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION +# +# The $output program cannot be directly executed until all the libtool +# libraries that it depends on are installed. +# +# This wrapper script should never be moved out of the build directory. +# If it is, it will not operate correctly. + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +sed_quote_subst='$sed_quote_subst' + +# Be Bourne compatible +if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac +fi +BIN_SH=xpg4; export BIN_SH # for Tru64 +DUALCASE=1; export DUALCASE # for MKS sh + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +relink_command=\"$relink_command\" + +# This environment variable determines our operation mode. +if test \"\$libtool_install_magic\" = \"$magic\"; then + # install mode needs the following variables: + generated_by_libtool_version='$macro_version' + notinst_deplibs='$notinst_deplibs' +else + # When we are sourced in execute mode, \$file and \$ECHO are already set. + if test \"\$libtool_execute_magic\" != \"$magic\"; then + file=\"\$0\"" + + qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"` + $ECHO "\ + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$1 +_LTECHO_EOF' +} + ECHO=\"$qECHO\" + fi + +# Very basic option parsing. These options are (a) specific to +# the libtool wrapper, (b) are identical between the wrapper +# /script/ and the wrapper /executable/ which is used only on +# windows platforms, and (c) all begin with the string "--lt-" +# (application programs are unlikely to have options which match +# this pattern). +# +# There are only two supported options: --lt-debug and +# --lt-dump-script. There is, deliberately, no --lt-help. +# +# The first argument to this parsing function should be the +# script's $0 value, followed by "$@". +lt_option_debug= +func_parse_lt_options () +{ + lt_script_arg0=\$0 + shift + for lt_opt + do + case \"\$lt_opt\" in + --lt-debug) lt_option_debug=1 ;; + --lt-dump-script) + lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\` + test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=. + lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\` + cat \"\$lt_dump_D/\$lt_dump_F\" + exit 0 + ;; + --lt-*) + \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2 + exit 1 + ;; + esac + done + + # Print the debug banner immediately: + if test -n \"\$lt_option_debug\"; then + echo \"${outputname}:${output}:\${LINENO}: libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\" 1>&2 + fi +} + +# Used when --lt-debug. Prints its arguments to stdout +# (redirection is the responsibility of the caller) +func_lt_dump_args () +{ + lt_dump_args_N=1; + for lt_arg + do + \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[\$lt_dump_args_N]: \$lt_arg\" + lt_dump_args_N=\`expr \$lt_dump_args_N + 1\` + done +} + +# Core function for launching the target application +func_exec_program_core () +{ +" + case $host in + # Backslashes separate directories on plain windows + *-*-mingw | *-*-os2* | *-cegcc*) + $ECHO "\ + if test -n \"\$lt_option_debug\"; then + \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2 + func_lt_dump_args \${1+\"\$@\"} 1>&2 + fi + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} +" + ;; + + *) + $ECHO "\ + if test -n \"\$lt_option_debug\"; then + \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2 + func_lt_dump_args \${1+\"\$@\"} 1>&2 + fi + exec \"\$progdir/\$program\" \${1+\"\$@\"} +" + ;; + esac + $ECHO "\ + \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 + exit 1 +} + +# A function to encapsulate launching the target application +# Strips options in the --lt-* namespace from \$@ and +# launches target application with the remaining arguments. +func_exec_program () +{ + case \" \$* \" in + *\\ --lt-*) + for lt_wr_arg + do + case \$lt_wr_arg in + --lt-*) ;; + *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; + esac + shift + done ;; + esac + func_exec_program_core \${1+\"\$@\"} +} + + # Parse options + func_parse_lt_options \"\$0\" \${1+\"\$@\"} + + # Find the directory that this script lives in. + thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\` + test \"x\$thisdir\" = \"x\$file\" && thisdir=. + + # Follow symbolic links until we get to the real thisdir. + file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\` + while test -n \"\$file\"; do + destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\` + + # If there was a directory component, then change thisdir. + if test \"x\$destdir\" != \"x\$file\"; then + case \"\$destdir\" in + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; + *) thisdir=\"\$thisdir/\$destdir\" ;; + esac + fi + + file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\` + file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\` + done + + # Usually 'no', except on cygwin/mingw when embedded into + # the cwrapper. + WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1 + if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then + # special case for '.' + if test \"\$thisdir\" = \".\"; then + thisdir=\`pwd\` + fi + # remove .libs from thisdir + case \"\$thisdir\" in + *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;; + $objdir ) thisdir=. ;; + esac + fi + + # Try to get the absolute directory name. + absdir=\`cd \"\$thisdir\" && pwd\` + test -n \"\$absdir\" && thisdir=\"\$absdir\" +" + + if test "$fast_install" = yes; then + $ECHO "\ + program=lt-'$outputname'$exeext + progdir=\"\$thisdir/$objdir\" + + if test ! -f \"\$progdir/\$program\" || + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ + test \"X\$file\" != \"X\$progdir/\$program\"; }; then + + file=\"\$\$-\$program\" + + if test ! -d \"\$progdir\"; then + $MKDIR \"\$progdir\" + else + $RM \"\$progdir/\$file\" + fi" + + $ECHO "\ + + # relink executable if necessary + if test -n \"\$relink_command\"; then + if relink_command_output=\`eval \$relink_command 2>&1\`; then : + else + $ECHO \"\$relink_command_output\" >&2 + $RM \"\$progdir/\$file\" + exit 1 + fi + fi + + $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || + { $RM \"\$progdir/\$program\"; + $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } + $RM \"\$progdir/\$file\" + fi" + else + $ECHO "\ + program='$outputname' + progdir=\"\$thisdir/$objdir\" +" + fi + + $ECHO "\ + + if test -f \"\$progdir/\$program\"; then" + + # fixup the dll searchpath if we need to. + # + # Fix the DLL searchpath if we need to. Do this before prepending + # to shlibpath, because on Windows, both are PATH and uninstalled + # libraries must come first. + if test -n "$dllsearchpath"; then + $ECHO "\ + # Add the dll search path components to the executable PATH + PATH=$dllsearchpath:\$PATH +" + fi + + # Export our shlibpath_var if we have one. + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then + $ECHO "\ + # Add our own library path to $shlibpath_var + $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" + + # Some systems cannot cope with colon-terminated $shlibpath_var + # The second colon is a workaround for a bug in BeOS R4 sed + $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\` + + export $shlibpath_var +" + fi + + $ECHO "\ + if test \"\$libtool_execute_magic\" != \"$magic\"; then + # Run the actual program with our arguments. + func_exec_program \${1+\"\$@\"} + fi + else + # The program doesn't exist. + \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 + \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 + \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 + exit 1 + fi +fi\ +" +} + + +# func_emit_cwrapperexe_src +# emit the source code for a wrapper executable on stdout +# Must ONLY be called from within func_mode_link because +# it depends on a number of variable set therein. +func_emit_cwrapperexe_src () +{ + cat <<EOF + +/* $cwrappersource - temporary wrapper executable for $objdir/$outputname + Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION + + The $output program cannot be directly executed until all the libtool + libraries that it depends on are installed. + + This wrapper executable should never be moved out of the build directory. + If it is, it will not operate correctly. +*/ +EOF + cat <<"EOF" +#ifdef _MSC_VER +# define _CRT_SECURE_NO_DEPRECATE 1 +#endif +#include <stdio.h> +#include <stdlib.h> +#ifdef _MSC_VER +# include <direct.h> +# include <process.h> +# include <io.h> +#else +# include <unistd.h> +# include <stdint.h> +# ifdef __CYGWIN__ +# include <io.h> +# endif +#endif +#include <malloc.h> +#include <stdarg.h> +#include <assert.h> +#include <string.h> +#include <ctype.h> +#include <errno.h> +#include <fcntl.h> +#include <sys/stat.h> + +/* declarations of non-ANSI functions */ +#if defined(__MINGW32__) +# ifdef __STRICT_ANSI__ +int _putenv (const char *); +# endif +#elif defined(__CYGWIN__) +# ifdef __STRICT_ANSI__ +char *realpath (const char *, char *); +int putenv (char *); +int setenv (const char *, const char *, int); +# endif +/* #elif defined (other platforms) ... */ +#endif + +/* portability defines, excluding path handling macros */ +#if defined(_MSC_VER) +# define setmode _setmode +# define stat _stat +# define chmod _chmod +# define getcwd _getcwd +# define putenv _putenv +# define S_IXUSR _S_IEXEC +# ifndef _INTPTR_T_DEFINED +# define _INTPTR_T_DEFINED +# define intptr_t int +# endif +#elif defined(__MINGW32__) +# define setmode _setmode +# define stat _stat +# define chmod _chmod +# define getcwd _getcwd +# define putenv _putenv +#elif defined(__CYGWIN__) +# define HAVE_SETENV +# define FOPEN_WB "wb" +/* #elif defined (other platforms) ... */ +#endif + +#if defined(PATH_MAX) +# define LT_PATHMAX PATH_MAX +#elif defined(MAXPATHLEN) +# define LT_PATHMAX MAXPATHLEN +#else +# define LT_PATHMAX 1024 +#endif + +#ifndef S_IXOTH +# define S_IXOTH 0 +#endif +#ifndef S_IXGRP +# define S_IXGRP 0 +#endif + +/* path handling portability macros */ +#ifndef DIR_SEPARATOR +# define DIR_SEPARATOR '/' +# define PATH_SEPARATOR ':' +#endif + +#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ + defined (__OS2__) +# define HAVE_DOS_BASED_FILE_SYSTEM +# define FOPEN_WB "wb" +# ifndef DIR_SEPARATOR_2 +# define DIR_SEPARATOR_2 '\\' +# endif +# ifndef PATH_SEPARATOR_2 +# define PATH_SEPARATOR_2 ';' +# endif +#endif + +#ifndef DIR_SEPARATOR_2 +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) +#else /* DIR_SEPARATOR_2 */ +# define IS_DIR_SEPARATOR(ch) \ + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) +#endif /* DIR_SEPARATOR_2 */ + +#ifndef PATH_SEPARATOR_2 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) +#else /* PATH_SEPARATOR_2 */ +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) +#endif /* PATH_SEPARATOR_2 */ + +#ifndef FOPEN_WB +# define FOPEN_WB "w" +#endif +#ifndef _O_BINARY +# define _O_BINARY 0 +#endif + +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) +#define XFREE(stale) do { \ + if (stale) { free ((void *) stale); stale = 0; } \ +} while (0) + +#if defined(LT_DEBUGWRAPPER) +static int lt_debug = 1; +#else +static int lt_debug = 0; +#endif + +const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */ + +void *xmalloc (size_t num); +char *xstrdup (const char *string); +const char *base_name (const char *name); +char *find_executable (const char *wrapper); +char *chase_symlinks (const char *pathspec); +int make_executable (const char *path); +int check_executable (const char *path); +char *strendzap (char *str, const char *pat); +void lt_debugprintf (const char *file, int line, const char *fmt, ...); +void lt_fatal (const char *file, int line, const char *message, ...); +static const char *nonnull (const char *s); +static const char *nonempty (const char *s); +void lt_setenv (const char *name, const char *value); +char *lt_extend_str (const char *orig_value, const char *add, int to_end); +void lt_update_exe_path (const char *name, const char *value); +void lt_update_lib_path (const char *name, const char *value); +char **prepare_spawn (char **argv); +void lt_dump_script (FILE *f); +EOF + + cat <<EOF +volatile const char * MAGIC_EXE = "$magic_exe"; +const char * LIB_PATH_VARNAME = "$shlibpath_var"; +EOF + + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then + func_to_host_path "$temp_rpath" + cat <<EOF +const char * LIB_PATH_VALUE = "$func_to_host_path_result"; +EOF + else + cat <<"EOF" +const char * LIB_PATH_VALUE = ""; +EOF + fi + + if test -n "$dllsearchpath"; then + func_to_host_path "$dllsearchpath:" + cat <<EOF +const char * EXE_PATH_VARNAME = "PATH"; +const char * EXE_PATH_VALUE = "$func_to_host_path_result"; +EOF + else + cat <<"EOF" +const char * EXE_PATH_VARNAME = ""; +const char * EXE_PATH_VALUE = ""; +EOF + fi + + if test "$fast_install" = yes; then + cat <<EOF +const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */ +EOF + else + cat <<EOF +const char * TARGET_PROGRAM_NAME = "$outputname"; /* hopefully, no .exe */ +EOF + fi + + + cat <<"EOF" + +#define LTWRAPPER_OPTION_PREFIX "--lt-" + +static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX; +static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script"; +static const char *debug_opt = LTWRAPPER_OPTION_PREFIX "debug"; + +int +main (int argc, char *argv[]) +{ + char **newargz; + int newargc; + char *tmp_pathspec; + char *actual_cwrapper_path; + char *actual_cwrapper_name; + char *target_name; + char *lt_argv_zero; + intptr_t rval = 127; + + int i; + + program_name = (char *) xstrdup (base_name (argv[0])); + newargz = XMALLOC (char *, argc + 1); + + /* very simple arg parsing; don't want to rely on getopt + * also, copy all non cwrapper options to newargz, except + * argz[0], which is handled differently + */ + newargc=0; + for (i = 1; i < argc; i++) + { + if (strcmp (argv[i], dumpscript_opt) == 0) + { +EOF + case "$host" in + *mingw* | *cygwin* ) + # make stdout use "unix" line endings + echo " setmode(1,_O_BINARY);" + ;; + esac + + cat <<"EOF" + lt_dump_script (stdout); + return 0; + } + if (strcmp (argv[i], debug_opt) == 0) + { + lt_debug = 1; + continue; + } + if (strcmp (argv[i], ltwrapper_option_prefix) == 0) + { + /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX + namespace, but it is not one of the ones we know about and + have already dealt with, above (inluding dump-script), then + report an error. Otherwise, targets might begin to believe + they are allowed to use options in the LTWRAPPER_OPTION_PREFIX + namespace. The first time any user complains about this, we'll + need to make LTWRAPPER_OPTION_PREFIX a configure-time option + or a configure.ac-settable value. + */ + lt_fatal (__FILE__, __LINE__, + "unrecognized %s option: '%s'", + ltwrapper_option_prefix, argv[i]); + } + /* otherwise ... */ + newargz[++newargc] = xstrdup (argv[i]); + } + newargz[++newargc] = NULL; + +EOF + cat <<EOF + /* The GNU banner must be the first non-error debug message */ + lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\n"); +EOF + cat <<"EOF" + lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\n", argv[0]); + lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name); + + tmp_pathspec = find_executable (argv[0]); + if (tmp_pathspec == NULL) + lt_fatal (__FILE__, __LINE__, "couldn't find %s", argv[0]); + lt_debugprintf (__FILE__, __LINE__, + "(main) found exe (before symlink chase) at: %s\n", + tmp_pathspec); + + actual_cwrapper_path = chase_symlinks (tmp_pathspec); + lt_debugprintf (__FILE__, __LINE__, + "(main) found exe (after symlink chase) at: %s\n", + actual_cwrapper_path); + XFREE (tmp_pathspec); + + actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path)); + strendzap (actual_cwrapper_path, actual_cwrapper_name); + + /* wrapper name transforms */ + strendzap (actual_cwrapper_name, ".exe"); + tmp_pathspec = lt_extend_str (actual_cwrapper_name, ".exe", 1); + XFREE (actual_cwrapper_name); + actual_cwrapper_name = tmp_pathspec; + tmp_pathspec = 0; + + /* target_name transforms -- use actual target program name; might have lt- prefix */ + target_name = xstrdup (base_name (TARGET_PROGRAM_NAME)); + strendzap (target_name, ".exe"); + tmp_pathspec = lt_extend_str (target_name, ".exe", 1); + XFREE (target_name); + target_name = tmp_pathspec; + tmp_pathspec = 0; + + lt_debugprintf (__FILE__, __LINE__, + "(main) libtool target name: %s\n", + target_name); +EOF + + cat <<EOF + newargz[0] = + XMALLOC (char, (strlen (actual_cwrapper_path) + + strlen ("$objdir") + 1 + strlen (actual_cwrapper_name) + 1)); + strcpy (newargz[0], actual_cwrapper_path); + strcat (newargz[0], "$objdir"); + strcat (newargz[0], "/"); +EOF + + cat <<"EOF" + /* stop here, and copy so we don't have to do this twice */ + tmp_pathspec = xstrdup (newargz[0]); + + /* do NOT want the lt- prefix here, so use actual_cwrapper_name */ + strcat (newargz[0], actual_cwrapper_name); + + /* DO want the lt- prefix here if it exists, so use target_name */ + lt_argv_zero = lt_extend_str (tmp_pathspec, target_name, 1); + XFREE (tmp_pathspec); + tmp_pathspec = NULL; +EOF + + case $host_os in + mingw*) + cat <<"EOF" + { + char* p; + while ((p = strchr (newargz[0], '\\')) != NULL) + { + *p = '/'; + } + while ((p = strchr (lt_argv_zero, '\\')) != NULL) + { + *p = '/'; + } + } +EOF + ;; + esac + + cat <<"EOF" + XFREE (target_name); + XFREE (actual_cwrapper_path); + XFREE (actual_cwrapper_name); + + lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */ + lt_setenv ("DUALCASE", "1"); /* for MSK sh */ + /* Update the DLL searchpath. EXE_PATH_VALUE ($dllsearchpath) must + be prepended before (that is, appear after) LIB_PATH_VALUE ($temp_rpath) + because on Windows, both *_VARNAMEs are PATH but uninstalled + libraries must come first. */ + lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE); + lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE); + + lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n", + nonnull (lt_argv_zero)); + for (i = 0; i < newargc; i++) + { + lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n", + i, nonnull (newargz[i])); + } + +EOF + + case $host_os in + mingw*) + cat <<"EOF" + /* execv doesn't actually work on mingw as expected on unix */ + newargz = prepare_spawn (newargz); + rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz); + if (rval == -1) + { + /* failed to start process */ + lt_debugprintf (__FILE__, __LINE__, + "(main) failed to launch target \"%s\": %s\n", + lt_argv_zero, nonnull (strerror (errno))); + return 127; + } + return rval; +EOF + ;; + *) + cat <<"EOF" + execv (lt_argv_zero, newargz); + return rval; /* =127, but avoids unused variable warning */ +EOF + ;; + esac + + cat <<"EOF" +} + +void * +xmalloc (size_t num) +{ + void *p = (void *) malloc (num); + if (!p) + lt_fatal (__FILE__, __LINE__, "memory exhausted"); + + return p; +} + +char * +xstrdup (const char *string) +{ + return string ? strcpy ((char *) xmalloc (strlen (string) + 1), + string) : NULL; +} + +const char * +base_name (const char *name) +{ + const char *base; + +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + /* Skip over the disk name in MSDOS pathnames. */ + if (isalpha ((unsigned char) name[0]) && name[1] == ':') + name += 2; +#endif + + for (base = name; *name; name++) + if (IS_DIR_SEPARATOR (*name)) + base = name + 1; + return base; +} + +int +check_executable (const char *path) +{ + struct stat st; + + lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n", + nonempty (path)); + if ((!path) || (!*path)) + return 0; + + if ((stat (path, &st) >= 0) + && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) + return 1; + else + return 0; +} + +int +make_executable (const char *path) +{ + int rval = 0; + struct stat st; + + lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n", + nonempty (path)); + if ((!path) || (!*path)) + return 0; + + if (stat (path, &st) >= 0) + { + rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); + } + return rval; +} + +/* Searches for the full path of the wrapper. Returns + newly allocated full path name if found, NULL otherwise + Does not chase symlinks, even on platforms that support them. +*/ +char * +find_executable (const char *wrapper) +{ + int has_slash = 0; + const char *p; + const char *p_next; + /* static buffer for getcwd */ + char tmp[LT_PATHMAX + 1]; + int tmp_len; + char *concat_name; + + lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n", + nonempty (wrapper)); + + if ((wrapper == NULL) || (*wrapper == '\0')) + return NULL; + + /* Absolute path? */ +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':') + { + concat_name = xstrdup (wrapper); + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + } + else + { +#endif + if (IS_DIR_SEPARATOR (wrapper[0])) + { + concat_name = xstrdup (wrapper); + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + } +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + } +#endif + + for (p = wrapper; *p; p++) + if (*p == '/') + { + has_slash = 1; + break; + } + if (!has_slash) + { + /* no slashes; search PATH */ + const char *path = getenv ("PATH"); + if (path != NULL) + { + for (p = path; *p; p = p_next) + { + const char *q; + size_t p_len; + for (q = p; *q; q++) + if (IS_PATH_SEPARATOR (*q)) + break; + p_len = q - p; + p_next = (*q == '\0' ? q : q + 1); + if (p_len == 0) + { + /* empty path: current directory */ + if (getcwd (tmp, LT_PATHMAX) == NULL) + lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", + nonnull (strerror (errno))); + tmp_len = strlen (tmp); + concat_name = + XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); + memcpy (concat_name, tmp, tmp_len); + concat_name[tmp_len] = '/'; + strcpy (concat_name + tmp_len + 1, wrapper); + } + else + { + concat_name = + XMALLOC (char, p_len + 1 + strlen (wrapper) + 1); + memcpy (concat_name, p, p_len); + concat_name[p_len] = '/'; + strcpy (concat_name + p_len + 1, wrapper); + } + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + } + } + /* not found in PATH; assume curdir */ + } + /* Relative path | not found in path: prepend cwd */ + if (getcwd (tmp, LT_PATHMAX) == NULL) + lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", + nonnull (strerror (errno))); + tmp_len = strlen (tmp); + concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); + memcpy (concat_name, tmp, tmp_len); + concat_name[tmp_len] = '/'; + strcpy (concat_name + tmp_len + 1, wrapper); + + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + return NULL; +} + +char * +chase_symlinks (const char *pathspec) +{ +#ifndef S_ISLNK + return xstrdup (pathspec); +#else + char buf[LT_PATHMAX]; + struct stat s; + char *tmp_pathspec = xstrdup (pathspec); + char *p; + int has_symlinks = 0; + while (strlen (tmp_pathspec) && !has_symlinks) + { + lt_debugprintf (__FILE__, __LINE__, + "checking path component for symlinks: %s\n", + tmp_pathspec); + if (lstat (tmp_pathspec, &s) == 0) + { + if (S_ISLNK (s.st_mode) != 0) + { + has_symlinks = 1; + break; + } + + /* search backwards for last DIR_SEPARATOR */ + p = tmp_pathspec + strlen (tmp_pathspec) - 1; + while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) + p--; + if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) + { + /* no more DIR_SEPARATORS left */ + break; + } + *p = '\0'; + } + else + { + lt_fatal (__FILE__, __LINE__, + "error accessing file \"%s\": %s", + tmp_pathspec, nonnull (strerror (errno))); + } + } + XFREE (tmp_pathspec); + + if (!has_symlinks) + { + return xstrdup (pathspec); + } + + tmp_pathspec = realpath (pathspec, buf); + if (tmp_pathspec == 0) + { + lt_fatal (__FILE__, __LINE__, + "could not follow symlinks for %s", pathspec); + } + return xstrdup (tmp_pathspec); +#endif +} + +char * +strendzap (char *str, const char *pat) +{ + size_t len, patlen; + + assert (str != NULL); + assert (pat != NULL); + + len = strlen (str); + patlen = strlen (pat); + + if (patlen <= len) + { + str += len - patlen; + if (strcmp (str, pat) == 0) + *str = '\0'; + } + return str; +} + +void +lt_debugprintf (const char *file, int line, const char *fmt, ...) +{ + va_list args; + if (lt_debug) + { + (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line); + va_start (args, fmt); + (void) vfprintf (stderr, fmt, args); + va_end (args); + } +} + +static void +lt_error_core (int exit_status, const char *file, + int line, const char *mode, + const char *message, va_list ap) +{ + fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode); + vfprintf (stderr, message, ap); + fprintf (stderr, ".\n"); + + if (exit_status >= 0) + exit (exit_status); +} + +void +lt_fatal (const char *file, int line, const char *message, ...) +{ + va_list ap; + va_start (ap, message); + lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap); + va_end (ap); +} + +static const char * +nonnull (const char *s) +{ + return s ? s : "(null)"; +} + +static const char * +nonempty (const char *s) +{ + return (s && !*s) ? "(empty)" : nonnull (s); +} + +void +lt_setenv (const char *name, const char *value) +{ + lt_debugprintf (__FILE__, __LINE__, + "(lt_setenv) setting '%s' to '%s'\n", + nonnull (name), nonnull (value)); + { +#ifdef HAVE_SETENV + /* always make a copy, for consistency with !HAVE_SETENV */ + char *str = xstrdup (value); + setenv (name, str, 1); +#else + int len = strlen (name) + 1 + strlen (value) + 1; + char *str = XMALLOC (char, len); + sprintf (str, "%s=%s", name, value); + if (putenv (str) != EXIT_SUCCESS) + { + XFREE (str); + } +#endif + } +} + +char * +lt_extend_str (const char *orig_value, const char *add, int to_end) +{ + char *new_value; + if (orig_value && *orig_value) + { + int orig_value_len = strlen (orig_value); + int add_len = strlen (add); + new_value = XMALLOC (char, add_len + orig_value_len + 1); + if (to_end) + { + strcpy (new_value, orig_value); + strcpy (new_value + orig_value_len, add); + } + else + { + strcpy (new_value, add); + strcpy (new_value + add_len, orig_value); + } + } + else + { + new_value = xstrdup (add); + } + return new_value; +} + +void +lt_update_exe_path (const char *name, const char *value) +{ + lt_debugprintf (__FILE__, __LINE__, + "(lt_update_exe_path) modifying '%s' by prepending '%s'\n", + nonnull (name), nonnull (value)); + + if (name && *name && value && *value) + { + char *new_value = lt_extend_str (getenv (name), value, 0); + /* some systems can't cope with a ':'-terminated path #' */ + int len = strlen (new_value); + while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1])) + { + new_value[len-1] = '\0'; + } + lt_setenv (name, new_value); + XFREE (new_value); + } +} + +void +lt_update_lib_path (const char *name, const char *value) +{ + lt_debugprintf (__FILE__, __LINE__, + "(lt_update_lib_path) modifying '%s' by prepending '%s'\n", + nonnull (name), nonnull (value)); + + if (name && *name && value && *value) + { + char *new_value = lt_extend_str (getenv (name), value, 0); + lt_setenv (name, new_value); + XFREE (new_value); + } +} + +EOF + case $host_os in + mingw*) + cat <<"EOF" + +/* Prepares an argument vector before calling spawn(). + Note that spawn() does not by itself call the command interpreter + (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") : + ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); + GetVersionEx(&v); + v.dwPlatformId == VER_PLATFORM_WIN32_NT; + }) ? "cmd.exe" : "command.com"). + Instead it simply concatenates the arguments, separated by ' ', and calls + CreateProcess(). We must quote the arguments since Win32 CreateProcess() + interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a + special way: + - Space and tab are interpreted as delimiters. They are not treated as + delimiters if they are surrounded by double quotes: "...". + - Unescaped double quotes are removed from the input. Their only effect is + that within double quotes, space and tab are treated like normal + characters. + - Backslashes not followed by double quotes are not special. + - But 2*n+1 backslashes followed by a double quote become + n backslashes followed by a double quote (n >= 0): + \" -> " + \\\" -> \" + \\\\\" -> \\" + */ +#define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" +#define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" +char ** +prepare_spawn (char **argv) +{ + size_t argc; + char **new_argv; + size_t i; + + /* Count number of arguments. */ + for (argc = 0; argv[argc] != NULL; argc++) + ; + + /* Allocate new argument vector. */ + new_argv = XMALLOC (char *, argc + 1); + + /* Put quoted arguments into the new argument vector. */ + for (i = 0; i < argc; i++) + { + const char *string = argv[i]; + + if (string[0] == '\0') + new_argv[i] = xstrdup ("\"\""); + else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL) + { + int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL); + size_t length; + unsigned int backslashes; + const char *s; + char *quoted_string; + char *p; + + length = 0; + backslashes = 0; + if (quote_around) + length++; + for (s = string; *s != '\0'; s++) + { + char c = *s; + if (c == '"') + length += backslashes + 1; + length++; + if (c == '\\') + backslashes++; + else + backslashes = 0; + } + if (quote_around) + length += backslashes + 1; + + quoted_string = XMALLOC (char, length + 1); + + p = quoted_string; + backslashes = 0; + if (quote_around) + *p++ = '"'; + for (s = string; *s != '\0'; s++) + { + char c = *s; + if (c == '"') + { + unsigned int j; + for (j = backslashes + 1; j > 0; j--) + *p++ = '\\'; + } + *p++ = c; + if (c == '\\') + backslashes++; + else + backslashes = 0; + } + if (quote_around) + { + unsigned int j; + for (j = backslashes; j > 0; j--) + *p++ = '\\'; + *p++ = '"'; + } + *p = '\0'; + + new_argv[i] = quoted_string; + } + else + new_argv[i] = (char *) string; + } + new_argv[argc] = NULL; + + return new_argv; +} +EOF + ;; + esac + + cat <<"EOF" +void lt_dump_script (FILE* f) +{ +EOF + func_emit_wrapper yes | + $SED -n -e ' +s/^\(.\{79\}\)\(..*\)/\1\ +\2/ +h +s/\([\\"]\)/\\\1/g +s/$/\\n/ +s/\([^\n]*\).*/ fputs ("\1", f);/p +g +D' + cat <<"EOF" +} +EOF +} +# end: func_emit_cwrapperexe_src + +# func_win32_import_lib_p ARG +# True if ARG is an import lib, as indicated by $file_magic_cmd +func_win32_import_lib_p () +{ + $opt_debug + case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in + *import*) : ;; + *) false ;; + esac +} + +# func_mode_link arg... +func_mode_link () +{ + $opt_debug + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + # It is impossible to link a dll without this setting, and + # we shouldn't force the makefile maintainer to figure out + # which system we are compiling for in order to pass an extra + # flag for every libtool invocation. + # allow_undefined=no + + # FIXME: Unfortunately, there are problems with the above when trying + # to make a dll which has undefined symbols, in which case not + # even a static library is built. For now, we need to specify + # -no-undefined on the libtool link line when we can be certain + # that all symbols are satisfied, otherwise we get a static library. + allow_undefined=yes + ;; + *) + allow_undefined=yes + ;; + esac + libtool_args=$nonopt + base_compile="$nonopt $@" + compile_command=$nonopt + finalize_command=$nonopt + + compile_rpath= + finalize_rpath= + compile_shlibpath= + finalize_shlibpath= + convenience= + old_convenience= + deplibs= + old_deplibs= + compiler_flags= + linker_flags= + dllsearchpath= + lib_search_path=`pwd` + inst_prefix_dir= + new_inherited_linker_flags= + + avoid_version=no + bindir= + dlfiles= + dlprefiles= + dlself=no + export_dynamic=no + export_symbols= + export_symbols_regex= + generated= + libobjs= + ltlibs= + module=no + no_install=no + objs= + non_pic_objects= + precious_files_regex= + prefer_static_libs=no + preload=no + prev= + prevarg= + release= + rpath= + xrpath= + perm_rpath= + temp_rpath= + thread_safe=no + vinfo= + vinfo_number=no + weak_libs= + single_module="${wl}-single_module" + func_infer_tag $base_compile + + # We need to know -static, to get the right output filenames. + for arg + do + case $arg in + -shared) + test "$build_libtool_libs" != yes && \ + func_fatal_configuration "can not build a shared library" + build_old_libs=no + break + ;; + -all-static | -static | -static-libtool-libs) + case $arg in + -all-static) + if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then + func_warning "complete static linking is impossible in this configuration" + fi + if test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=yes + ;; + -static) + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=built + ;; + -static-libtool-libs) + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=yes + ;; + esac + build_libtool_libs=no + build_old_libs=yes + break + ;; + esac + done + + # See if our shared archives depend on static archives. + test -n "$old_archive_from_new_cmds" && build_old_libs=yes + + # Go through the arguments, transforming them on the way. + while test "$#" -gt 0; do + arg="$1" + shift + func_quote_for_eval "$arg" + qarg=$func_quote_for_eval_unquoted_result + func_append libtool_args " $func_quote_for_eval_result" + + # If the previous option needs an argument, assign it. + if test -n "$prev"; then + case $prev in + output) + func_append compile_command " @OUTPUT@" + func_append finalize_command " @OUTPUT@" + ;; + esac + + case $prev in + bindir) + bindir="$arg" + prev= + continue + ;; + dlfiles|dlprefiles) + if test "$preload" = no; then + # Add the symbol object into the linking commands. + func_append compile_command " @SYMFILE@" + func_append finalize_command " @SYMFILE@" + preload=yes + fi + case $arg in + *.la | *.lo) ;; # We handle these cases below. + force) + if test "$dlself" = no; then + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + self) + if test "$prev" = dlprefiles; then + dlself=yes + elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then + dlself=yes + else + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + *) + if test "$prev" = dlfiles; then + func_append dlfiles " $arg" + else + func_append dlprefiles " $arg" + fi + prev= + continue + ;; + esac + ;; + expsyms) + export_symbols="$arg" + test -f "$arg" \ + || func_fatal_error "symbol file \`$arg' does not exist" + prev= + continue + ;; + expsyms_regex) + export_symbols_regex="$arg" + prev= + continue + ;; + framework) + case $host in + *-*-darwin*) + case "$deplibs " in + *" $qarg.ltframework "*) ;; + *) func_append deplibs " $qarg.ltframework" # this is fixed later + ;; + esac + ;; + esac + prev= + continue + ;; + inst_prefix) + inst_prefix_dir="$arg" + prev= + continue + ;; + objectlist) + if test -f "$arg"; then + save_arg=$arg + moreargs= + for fil in `cat "$save_arg"` + do +# func_append moreargs " $fil" + arg=$fil + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if func_lalib_unsafe_p "$arg"; then + pic_object= + non_pic_object= + + # Read the .lo file + func_source "$arg" + + if test -z "$pic_object" || + test -z "$non_pic_object" || + test "$pic_object" = none && + test "$non_pic_object" = none; then + func_fatal_error "cannot find name of object for \`$arg'" + fi + + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir="$func_dirname_result" + + if test "$pic_object" != none; then + # Prepend the subdirectory the object is found in. + pic_object="$xdir$pic_object" + + if test "$prev" = dlfiles; then + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then + func_append dlfiles " $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test "$prev" = dlprefiles; then + # Preload the old-style object. + func_append dlprefiles " $pic_object" + prev= + fi + + # A PIC object. + func_append libobjs " $pic_object" + arg="$pic_object" + fi + + # Non-PIC object. + if test "$non_pic_object" != none; then + # Prepend the subdirectory the object is found in. + non_pic_object="$xdir$non_pic_object" + + # A standard non-PIC object + func_append non_pic_objects " $non_pic_object" + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi + else + # If the PIC object exists, use it instead. + # $xdir was prepended to $pic_object above. + non_pic_object="$pic_object" + func_append non_pic_objects " $non_pic_object" + fi + else + # Only an error if not doing a dry-run. + if $opt_dry_run; then + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir="$func_dirname_result" + + func_lo2o "$arg" + pic_object=$xdir$objdir/$func_lo2o_result + non_pic_object=$xdir$func_lo2o_result + func_append libobjs " $pic_object" + func_append non_pic_objects " $non_pic_object" + else + func_fatal_error "\`$arg' is not a valid libtool object" + fi + fi + done + else + func_fatal_error "link input file \`$arg' does not exist" + fi + arg=$save_arg + prev= + continue + ;; + precious_regex) + precious_files_regex="$arg" + prev= + continue + ;; + release) + release="-$arg" + prev= + continue + ;; + rpath | xrpath) + # We need an absolute path. + case $arg in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + func_fatal_error "only absolute run-paths are allowed" + ;; + esac + if test "$prev" = rpath; then + case "$rpath " in + *" $arg "*) ;; + *) func_append rpath " $arg" ;; + esac + else + case "$xrpath " in + *" $arg "*) ;; + *) func_append xrpath " $arg" ;; + esac + fi + prev= + continue + ;; + shrext) + shrext_cmds="$arg" + prev= + continue + ;; + weak) + func_append weak_libs " $arg" + prev= + continue + ;; + xcclinker) + func_append linker_flags " $qarg" + func_append compiler_flags " $qarg" + prev= + func_append compile_command " $qarg" + func_append finalize_command " $qarg" + continue + ;; + xcompiler) + func_append compiler_flags " $qarg" + prev= + func_append compile_command " $qarg" + func_append finalize_command " $qarg" + continue + ;; + xlinker) + func_append linker_flags " $qarg" + func_append compiler_flags " $wl$qarg" + prev= + func_append compile_command " $wl$qarg" + func_append finalize_command " $wl$qarg" + continue + ;; + *) + eval "$prev=\"\$arg\"" + prev= + continue + ;; + esac + fi # test -n "$prev" + + prevarg="$arg" + + case $arg in + -all-static) + if test -n "$link_static_flag"; then + # See comment for -static flag below, for more details. + func_append compile_command " $link_static_flag" + func_append finalize_command " $link_static_flag" + fi + continue + ;; + + -allow-undefined) + # FIXME: remove this flag sometime in the future. + func_fatal_error "\`-allow-undefined' must not be used because it is the default" + ;; + + -avoid-version) + avoid_version=yes + continue + ;; + + -bindir) + prev=bindir + continue + ;; + + -dlopen) + prev=dlfiles + continue + ;; + + -dlpreopen) + prev=dlprefiles + continue + ;; + + -export-dynamic) + export_dynamic=yes + continue + ;; + + -export-symbols | -export-symbols-regex) + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then + func_fatal_error "more than one -exported-symbols argument is not allowed" + fi + if test "X$arg" = "X-export-symbols"; then + prev=expsyms + else + prev=expsyms_regex + fi + continue + ;; + + -framework) + prev=framework + continue + ;; + + -inst-prefix-dir) + prev=inst_prefix + continue + ;; + + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* + # so, if we see these flags be careful not to treat them like -L + -L[A-Z][A-Z]*:*) + case $with_gcc/$host in + no/*-*-irix* | /*-*-irix*) + func_append compile_command " $arg" + func_append finalize_command " $arg" + ;; + esac + continue + ;; + + -L*) + func_stripname "-L" '' "$arg" + if test -z "$func_stripname_result"; then + if test "$#" -gt 0; then + func_fatal_error "require no space between \`-L' and \`$1'" + else + func_fatal_error "need path for \`-L' option" + fi + fi + func_resolve_sysroot "$func_stripname_result" + dir=$func_resolve_sysroot_result + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + absdir=`cd "$dir" && pwd` + test -z "$absdir" && \ + func_fatal_error "cannot determine absolute directory name of \`$dir'" + dir="$absdir" + ;; + esac + case "$deplibs " in + *" -L$dir "* | *" $arg "*) + # Will only happen for absolute or sysroot arguments + ;; + *) + # Preserve sysroot, but never include relative directories + case $dir in + [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;; + *) func_append deplibs " -L$dir" ;; + esac + func_append lib_search_path " $dir" + ;; + esac + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` + case :$dllsearchpath: in + *":$dir:"*) ;; + ::) dllsearchpath=$dir;; + *) func_append dllsearchpath ":$dir";; + esac + case :$dllsearchpath: in + *":$testbindir:"*) ;; + ::) dllsearchpath=$testbindir;; + *) func_append dllsearchpath ":$testbindir";; + esac + ;; + esac + continue + ;; + + -l*) + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) + # These systems don't actually have a C or math library (as such) + continue + ;; + *-*-os2*) + # These systems don't actually have a C library (as such) + test "X$arg" = "X-lc" && continue + ;; + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc due to us having libc/libc_r. + test "X$arg" = "X-lc" && continue + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C and math libraries are in the System framework + func_append deplibs " System.ltframework" + continue + ;; + *-*-sco3.2v5* | *-*-sco5v6*) + # Causes problems with __ctype + test "X$arg" = "X-lc" && continue + ;; + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) + # Compiler inserts libc in the correct place for threads to work + test "X$arg" = "X-lc" && continue + ;; + esac + elif test "X$arg" = "X-lc_r"; then + case $host in + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; + esac + fi + func_append deplibs " $arg" + continue + ;; + + -module) + module=yes + continue + ;; + + # Tru64 UNIX uses -model [arg] to determine the layout of C++ + # classes, name mangling, and exception handling. + # Darwin uses the -arch flag to determine output architecture. + -model|-arch|-isysroot|--sysroot) + func_append compiler_flags " $arg" + func_append compile_command " $arg" + func_append finalize_command " $arg" + prev=xcompiler + continue + ;; + + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ + |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) + func_append compiler_flags " $arg" + func_append compile_command " $arg" + func_append finalize_command " $arg" + case "$new_inherited_linker_flags " in + *" $arg "*) ;; + * ) func_append new_inherited_linker_flags " $arg" ;; + esac + continue + ;; + + -multi_module) + single_module="${wl}-multi_module" + continue + ;; + + -no-fast-install) + fast_install=no + continue + ;; + + -no-install) + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) + # The PATH hackery in wrapper scripts is required on Windows + # and Darwin in order for the loader to find any dlls it needs. + func_warning "\`-no-install' is ignored for $host" + func_warning "assuming \`-no-fast-install' instead" + fast_install=no + ;; + *) no_install=yes ;; + esac + continue + ;; + + -no-undefined) + allow_undefined=no + continue + ;; + + -objectlist) + prev=objectlist + continue + ;; + + -o) prev=output ;; + + -precious-files-regex) + prev=precious_regex + continue + ;; + + -release) + prev=release + continue + ;; + + -rpath) + prev=rpath + continue + ;; + + -R) + prev=xrpath + continue + ;; + + -R*) + func_stripname '-R' '' "$arg" + dir=$func_stripname_result + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + =*) + func_stripname '=' '' "$dir" + dir=$lt_sysroot$func_stripname_result + ;; + *) + func_fatal_error "only absolute run-paths are allowed" + ;; + esac + case "$xrpath " in + *" $dir "*) ;; + *) func_append xrpath " $dir" ;; + esac + continue + ;; + + -shared) + # The effects of -shared are defined in a previous loop. + continue + ;; + + -shrext) + prev=shrext + continue + ;; + + -static | -static-libtool-libs) + # The effects of -static are defined in a previous loop. + # We used to do the same as -all-static on platforms that + # didn't have a PIC flag, but the assumption that the effects + # would be equivalent was wrong. It would break on at least + # Digital Unix and AIX. + continue + ;; + + -thread-safe) + thread_safe=yes + continue + ;; + + -version-info) + prev=vinfo + continue + ;; + + -version-number) + prev=vinfo + vinfo_number=yes + continue + ;; + + -weak) + prev=weak + continue + ;; + + -Wc,*) + func_stripname '-Wc,' '' "$arg" + args=$func_stripname_result + arg= + save_ifs="$IFS"; IFS=',' + for flag in $args; do + IFS="$save_ifs" + func_quote_for_eval "$flag" + func_append arg " $func_quote_for_eval_result" + func_append compiler_flags " $func_quote_for_eval_result" + done + IFS="$save_ifs" + func_stripname ' ' '' "$arg" + arg=$func_stripname_result + ;; + + -Wl,*) + func_stripname '-Wl,' '' "$arg" + args=$func_stripname_result + arg= + save_ifs="$IFS"; IFS=',' + for flag in $args; do + IFS="$save_ifs" + func_quote_for_eval "$flag" + func_append arg " $wl$func_quote_for_eval_result" + func_append compiler_flags " $wl$func_quote_for_eval_result" + func_append linker_flags " $func_quote_for_eval_result" + done + IFS="$save_ifs" + func_stripname ' ' '' "$arg" + arg=$func_stripname_result + ;; + + -Xcompiler) + prev=xcompiler + continue + ;; + + -Xlinker) + prev=xlinker + continue + ;; + + -XCClinker) + prev=xcclinker + continue + ;; + + # -msg_* for osf cc + -msg_*) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + ;; + + # Flags to be passed through unchanged, with rationale: + # -64, -mips[0-9] enable 64-bit mode for the SGI compiler + # -r[0-9][0-9]* specify processor for the SGI compiler + # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler + # +DA*, +DD* enable 64-bit mode for the HP compiler + # -q* compiler args for the IBM compiler + # -m*, -t[45]*, -txscale* architecture-specific flags for GCC + # -F/path path to uninstalled frameworks, gcc on darwin + # -p, -pg, --coverage, -fprofile-* profiling flags for GCC + # @file GCC response files + # -tp=* Portland pgcc target processor selection + # --sysroot=* for sysroot support + # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ + -O*|-flto*|-fwhopr*|-fuse-linker-plugin) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + func_append compile_command " $arg" + func_append finalize_command " $arg" + func_append compiler_flags " $arg" + continue + ;; + + # Some other compiler flag. + -* | +*) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + ;; + + *.$objext) + # A standard object. + func_append objs " $arg" + ;; + + *.lo) + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if func_lalib_unsafe_p "$arg"; then + pic_object= + non_pic_object= + + # Read the .lo file + func_source "$arg" + + if test -z "$pic_object" || + test -z "$non_pic_object" || + test "$pic_object" = none && + test "$non_pic_object" = none; then + func_fatal_error "cannot find name of object for \`$arg'" + fi + + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir="$func_dirname_result" + + if test "$pic_object" != none; then + # Prepend the subdirectory the object is found in. + pic_object="$xdir$pic_object" + + if test "$prev" = dlfiles; then + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then + func_append dlfiles " $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test "$prev" = dlprefiles; then + # Preload the old-style object. + func_append dlprefiles " $pic_object" + prev= + fi + + # A PIC object. + func_append libobjs " $pic_object" + arg="$pic_object" + fi + + # Non-PIC object. + if test "$non_pic_object" != none; then + # Prepend the subdirectory the object is found in. + non_pic_object="$xdir$non_pic_object" + + # A standard non-PIC object + func_append non_pic_objects " $non_pic_object" + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi + else + # If the PIC object exists, use it instead. + # $xdir was prepended to $pic_object above. + non_pic_object="$pic_object" + func_append non_pic_objects " $non_pic_object" + fi + else + # Only an error if not doing a dry-run. + if $opt_dry_run; then + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir="$func_dirname_result" + + func_lo2o "$arg" + pic_object=$xdir$objdir/$func_lo2o_result + non_pic_object=$xdir$func_lo2o_result + func_append libobjs " $pic_object" + func_append non_pic_objects " $non_pic_object" + else + func_fatal_error "\`$arg' is not a valid libtool object" + fi + fi + ;; + + *.$libext) + # An archive. + func_append deplibs " $arg" + func_append old_deplibs " $arg" + continue + ;; + + *.la) + # A libtool-controlled library. + + func_resolve_sysroot "$arg" + if test "$prev" = dlfiles; then + # This library was specified with -dlopen. + func_append dlfiles " $func_resolve_sysroot_result" + prev= + elif test "$prev" = dlprefiles; then + # The library was specified with -dlpreopen. + func_append dlprefiles " $func_resolve_sysroot_result" + prev= + else + func_append deplibs " $func_resolve_sysroot_result" + fi + continue + ;; + + # Some other compiler argument. + *) + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + ;; + esac # arg + + # Now actually substitute the argument into the commands. + if test -n "$arg"; then + func_append compile_command " $arg" + func_append finalize_command " $arg" + fi + done # argument parsing loop + + test -n "$prev" && \ + func_fatal_help "the \`$prevarg' option requires an argument" + + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then + eval arg=\"$export_dynamic_flag_spec\" + func_append compile_command " $arg" + func_append finalize_command " $arg" + fi + + oldlibs= + # calculate the name of the file, without its directory + func_basename "$output" + outputname="$func_basename_result" + libobjs_save="$libobjs" + + if test -n "$shlibpath_var"; then + # get the directories listed in $shlibpath_var + eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\` + else + shlib_search_path= + fi + eval sys_lib_search_path=\"$sys_lib_search_path_spec\" + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" + + func_dirname "$output" "/" "" + output_objdir="$func_dirname_result$objdir" + func_to_tool_file "$output_objdir/" + tool_output_objdir=$func_to_tool_file_result + # Create the object directory. + func_mkdir_p "$output_objdir" + + # Determine the type of output + case $output in + "") + func_fatal_help "you must specify an output file" + ;; + *.$libext) linkmode=oldlib ;; + *.lo | *.$objext) linkmode=obj ;; + *.la) linkmode=lib ;; + *) linkmode=prog ;; # Anything else should be a program. + esac + + specialdeplibs= + + libs= + # Find all interdependent deplibs by searching for libraries + # that are linked more than once (e.g. -la -lb -la) + for deplib in $deplibs; do + if $opt_preserve_dup_deps ; then + case "$libs " in + *" $deplib "*) func_append specialdeplibs " $deplib" ;; + esac + fi + func_append libs " $deplib" + done + + if test "$linkmode" = lib; then + libs="$predeps $libs $compiler_lib_search_path $postdeps" + + # Compute libraries that are listed more than once in $predeps + # $postdeps and mark them as special (i.e., whose duplicates are + # not to be eliminated). + pre_post_deps= + if $opt_duplicate_compiler_generated_deps; then + for pre_post_dep in $predeps $postdeps; do + case "$pre_post_deps " in + *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;; + esac + func_append pre_post_deps " $pre_post_dep" + done + fi + pre_post_deps= + fi + + deplibs= + newdependency_libs= + newlib_search_path= + need_relink=no # whether we're linking any uninstalled libtool libraries + notinst_deplibs= # not-installed libtool libraries + notinst_path= # paths that contain not-installed libtool libraries + + case $linkmode in + lib) + passes="conv dlpreopen link" + for file in $dlfiles $dlprefiles; do + case $file in + *.la) ;; + *) + func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file" + ;; + esac + done + ;; + prog) + compile_deplibs= + finalize_deplibs= + alldeplibs=no + newdlfiles= + newdlprefiles= + passes="conv scan dlopen dlpreopen link" + ;; + *) passes="conv" + ;; + esac + + for pass in $passes; do + # The preopen pass in lib mode reverses $deplibs; put it back here + # so that -L comes before libs that need it for instance... + if test "$linkmode,$pass" = "lib,link"; then + ## FIXME: Find the place where the list is rebuilt in the wrong + ## order, and fix it there properly + tmp_deplibs= + for deplib in $deplibs; do + tmp_deplibs="$deplib $tmp_deplibs" + done + deplibs="$tmp_deplibs" + fi + + if test "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan"; then + libs="$deplibs" + deplibs= + fi + if test "$linkmode" = prog; then + case $pass in + dlopen) libs="$dlfiles" ;; + dlpreopen) libs="$dlprefiles" ;; + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; + esac + fi + if test "$linkmode,$pass" = "lib,dlpreopen"; then + # Collect and forward deplibs of preopened libtool libs + for lib in $dlprefiles; do + # Ignore non-libtool-libs + dependency_libs= + func_resolve_sysroot "$lib" + case $lib in + *.la) func_source "$func_resolve_sysroot_result" ;; + esac + + # Collect preopened libtool deplibs, except any this library + # has declared as weak libs + for deplib in $dependency_libs; do + func_basename "$deplib" + deplib_base=$func_basename_result + case " $weak_libs " in + *" $deplib_base "*) ;; + *) func_append deplibs " $deplib" ;; + esac + done + done + libs="$dlprefiles" + fi + if test "$pass" = dlopen; then + # Collect dlpreopened libraries + save_deplibs="$deplibs" + deplibs= + fi + + for deplib in $libs; do + lib= + found=no + case $deplib in + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ + |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + func_append compiler_flags " $deplib" + if test "$linkmode" = lib ; then + case "$new_inherited_linker_flags " in + *" $deplib "*) ;; + * ) func_append new_inherited_linker_flags " $deplib" ;; + esac + fi + fi + continue + ;; + -l*) + if test "$linkmode" != lib && test "$linkmode" != prog; then + func_warning "\`-l' is ignored for archives/objects" + continue + fi + func_stripname '-l' '' "$deplib" + name=$func_stripname_result + if test "$linkmode" = lib; then + searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" + else + searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" + fi + for searchdir in $searchdirs; do + for search_ext in .la $std_shrext .so .a; do + # Search the libtool library + lib="$searchdir/lib${name}${search_ext}" + if test -f "$lib"; then + if test "$search_ext" = ".la"; then + found=yes + else + found=no + fi + break 2 + fi + done + done + if test "$found" != yes; then + # deplib doesn't seem to be a libtool library + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" + fi + continue + else # deplib is a libtool library + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, + # We need to do some special things here, and not later. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $deplib "*) + if func_lalib_p "$lib"; then + library_names= + old_library= + func_source "$lib" + for l in $old_library $library_names; do + ll="$l" + done + if test "X$ll" = "X$old_library" ; then # only static version available + found=no + func_dirname "$lib" "" "." + ladir="$func_dirname_result" + lib=$ladir/$old_library + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" + fi + continue + fi + fi + ;; + *) ;; + esac + fi + fi + ;; # -l + *.ltframework) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + if test "$linkmode" = lib ; then + case "$new_inherited_linker_flags " in + *" $deplib "*) ;; + * ) func_append new_inherited_linker_flags " $deplib" ;; + esac + fi + fi + continue + ;; + -L*) + case $linkmode in + lib) + deplibs="$deplib $deplibs" + test "$pass" = conv && continue + newdependency_libs="$deplib $newdependency_libs" + func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result" + func_append newlib_search_path " $func_resolve_sysroot_result" + ;; + prog) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + if test "$pass" = scan; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result" + func_append newlib_search_path " $func_resolve_sysroot_result" + ;; + *) + func_warning "\`-L' is ignored for archives/objects" + ;; + esac # linkmode + continue + ;; # -L + -R*) + if test "$pass" = link; then + func_stripname '-R' '' "$deplib" + func_resolve_sysroot "$func_stripname_result" + dir=$func_resolve_sysroot_result + # Make sure the xrpath contains only unique directories. + case "$xrpath " in + *" $dir "*) ;; + *) func_append xrpath " $dir" ;; + esac + fi + deplibs="$deplib $deplibs" + continue + ;; + *.la) + func_resolve_sysroot "$deplib" + lib=$func_resolve_sysroot_result + ;; + *.$libext) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + case $linkmode in + lib) + # Linking convenience modules into shared libraries is allowed, + # but linking other static libraries is non-portable. + case " $dlpreconveniencelibs " in + *" $deplib "*) ;; + *) + valid_a_lib=no + case $deplibs_check_method in + match_pattern*) + set dummy $deplibs_check_method; shift + match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` + if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \ + | $EGREP "$match_pattern_regex" > /dev/null; then + valid_a_lib=yes + fi + ;; + pass_all) + valid_a_lib=yes + ;; + esac + if test "$valid_a_lib" != yes; then + echo + $ECHO "*** Warning: Trying to link with static lib archive $deplib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because the file extensions .$libext of this argument makes me believe" + echo "*** that it is just a static archive that I should not use here." + else + echo + $ECHO "*** Warning: Linking the shared library $output against the" + $ECHO "*** static library $deplib is not portable!" + deplibs="$deplib $deplibs" + fi + ;; + esac + continue + ;; + prog) + if test "$pass" != link; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + continue + ;; + esac # linkmode + ;; # *.$libext + *.lo | *.$objext) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + elif test "$linkmode" = prog; then + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then + # If there is no dlopen support or we're linking statically, + # we need to preload. + func_append newdlprefiles " $deplib" + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + func_append newdlfiles " $deplib" + fi + fi + continue + ;; + %DEPLIBS%) + alldeplibs=yes + continue + ;; + esac # case $deplib + + if test "$found" = yes || test -f "$lib"; then : + else + func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'" + fi + + # Check to see that this really is a libtool archive. + func_lalib_unsafe_p "$lib" \ + || func_fatal_error "\`$lib' is not a valid libtool archive" + + func_dirname "$lib" "" "." + ladir="$func_dirname_result" + + dlname= + dlopen= + dlpreopen= + libdir= + library_names= + old_library= + inherited_linker_flags= + # If the library was installed with an old release of libtool, + # it will not redefine variables installed, or shouldnotlink + installed=yes + shouldnotlink=no + avoidtemprpath= + + + # Read the .la file + func_source "$lib" + + # Convert "-framework foo" to "foo.ltframework" + if test -n "$inherited_linker_flags"; then + tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'` + for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do + case " $new_inherited_linker_flags " in + *" $tmp_inherited_linker_flag "*) ;; + *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";; + esac + done + fi + dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + if test "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan" || + { test "$linkmode" != prog && test "$linkmode" != lib; }; then + test -n "$dlopen" && func_append dlfiles " $dlopen" + test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen" + fi + + if test "$pass" = conv; then + # Only check for convenience libraries + deplibs="$lib $deplibs" + if test -z "$libdir"; then + if test -z "$old_library"; then + func_fatal_error "cannot find name of link library for \`$lib'" + fi + # It is a libtool convenience library, so add in its objects. + func_append convenience " $ladir/$objdir/$old_library" + func_append old_convenience " $ladir/$objdir/$old_library" + elif test "$linkmode" != prog && test "$linkmode" != lib; then + func_fatal_error "\`$lib' is not a convenience library" + fi + tmp_libs= + for deplib in $dependency_libs; do + deplibs="$deplib $deplibs" + if $opt_preserve_dup_deps ; then + case "$tmp_libs " in + *" $deplib "*) func_append specialdeplibs " $deplib" ;; + esac + fi + func_append tmp_libs " $deplib" + done + continue + fi # $pass = conv + + + # Get the name of the library we link against. + linklib= + if test -n "$old_library" && + { test "$prefer_static_libs" = yes || + test "$prefer_static_libs,$installed" = "built,no"; }; then + linklib=$old_library + else + for l in $old_library $library_names; do + linklib="$l" + done + fi + if test -z "$linklib"; then + func_fatal_error "cannot find name of link library for \`$lib'" + fi + + # This library was specified with -dlopen. + if test "$pass" = dlopen; then + if test -z "$libdir"; then + func_fatal_error "cannot -dlopen a convenience library: \`$lib'" + fi + if test -z "$dlname" || + test "$dlopen_support" != yes || + test "$build_libtool_libs" = no; then + # If there is no dlname, no dlopen support or we're linking + # statically, we need to preload. We also need to preload any + # dependent libraries so libltdl's deplib preloader doesn't + # bomb out in the load deplibs phase. + func_append dlprefiles " $lib $dependency_libs" + else + func_append newdlfiles " $lib" + fi + continue + fi # $pass = dlopen + + # We need an absolute path. + case $ladir in + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; + *) + abs_ladir=`cd "$ladir" && pwd` + if test -z "$abs_ladir"; then + func_warning "cannot determine absolute directory name of \`$ladir'" + func_warning "passing it literally to the linker, although it might fail" + abs_ladir="$ladir" + fi + ;; + esac + func_basename "$lib" + laname="$func_basename_result" + + # Find the relevant object directory and library name. + if test "X$installed" = Xyes; then + if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then + func_warning "library \`$lib' was moved." + dir="$ladir" + absdir="$abs_ladir" + libdir="$abs_ladir" + else + dir="$lt_sysroot$libdir" + absdir="$lt_sysroot$libdir" + fi + test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes + else + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then + dir="$ladir" + absdir="$abs_ladir" + # Remove this search path later + func_append notinst_path " $abs_ladir" + else + dir="$ladir/$objdir" + absdir="$abs_ladir/$objdir" + # Remove this search path later + func_append notinst_path " $abs_ladir" + fi + fi # $installed = yes + func_stripname 'lib' '.la' "$laname" + name=$func_stripname_result + + # This library was specified with -dlpreopen. + if test "$pass" = dlpreopen; then + if test -z "$libdir" && test "$linkmode" = prog; then + func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'" + fi + case "$host" in + # special handling for platforms with PE-DLLs. + *cygwin* | *mingw* | *cegcc* ) + # Linker will automatically link against shared library if both + # static and shared are present. Therefore, ensure we extract + # symbols from the import library if a shared library is present + # (otherwise, the dlopen module name will be incorrect). We do + # this by putting the import library name into $newdlprefiles. + # We recover the dlopen module name by 'saving' the la file + # name in a special purpose variable, and (later) extracting the + # dlname from the la file. + if test -n "$dlname"; then + func_tr_sh "$dir/$linklib" + eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname" + func_append newdlprefiles " $dir/$linklib" + else + func_append newdlprefiles " $dir/$old_library" + # Keep a list of preopened convenience libraries to check + # that they are being used correctly in the link pass. + test -z "$libdir" && \ + func_append dlpreconveniencelibs " $dir/$old_library" + fi + ;; + * ) + # Prefer using a static library (so that no silly _DYNAMIC symbols + # are required to link). + if test -n "$old_library"; then + func_append newdlprefiles " $dir/$old_library" + # Keep a list of preopened convenience libraries to check + # that they are being used correctly in the link pass. + test -z "$libdir" && \ + func_append dlpreconveniencelibs " $dir/$old_library" + # Otherwise, use the dlname, so that lt_dlopen finds it. + elif test -n "$dlname"; then + func_append newdlprefiles " $dir/$dlname" + else + func_append newdlprefiles " $dir/$linklib" + fi + ;; + esac + fi # $pass = dlpreopen + + if test -z "$libdir"; then + # Link the convenience library + if test "$linkmode" = lib; then + deplibs="$dir/$old_library $deplibs" + elif test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$dir/$old_library $compile_deplibs" + finalize_deplibs="$dir/$old_library $finalize_deplibs" + else + deplibs="$lib $deplibs" # used for prog,scan pass + fi + continue + fi + + + if test "$linkmode" = prog && test "$pass" != link; then + func_append newlib_search_path " $ladir" + deplibs="$lib $deplibs" + + linkalldeplibs=no + if test "$link_all_deplibs" != no || test -z "$library_names" || + test "$build_libtool_libs" = no; then + linkalldeplibs=yes + fi + + tmp_libs= + for deplib in $dependency_libs; do + case $deplib in + -L*) func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result" + func_append newlib_search_path " $func_resolve_sysroot_result" + ;; + esac + # Need to link against all dependency_libs? + if test "$linkalldeplibs" = yes; then + deplibs="$deplib $deplibs" + else + # Need to hardcode shared library paths + # or/and link against static libraries + newdependency_libs="$deplib $newdependency_libs" + fi + if $opt_preserve_dup_deps ; then + case "$tmp_libs " in + *" $deplib "*) func_append specialdeplibs " $deplib" ;; + esac + fi + func_append tmp_libs " $deplib" + done # for deplib + continue + fi # $linkmode = prog... + + if test "$linkmode,$pass" = "prog,link"; then + if test -n "$library_names" && + { { test "$prefer_static_libs" = no || + test "$prefer_static_libs,$installed" = "built,yes"; } || + test -z "$old_library"; }; then + # We need to hardcode the library path + if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then + # Make sure the rpath contains only unique directories. + case "$temp_rpath:" in + *"$absdir:"*) ;; + *) func_append temp_rpath "$absdir:" ;; + esac + fi + + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) func_append compile_rpath " $absdir" ;; + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) func_append finalize_rpath " $libdir" ;; + esac + ;; + esac + fi # $linkmode,$pass = prog,link... + + if test "$alldeplibs" = yes && + { test "$deplibs_check_method" = pass_all || + { test "$build_libtool_libs" = yes && + test -n "$library_names"; }; }; then + # We only need to search for static libraries + continue + fi + fi + + link_static=no # Whether the deplib will be linked statically + use_static_libs=$prefer_static_libs + if test "$use_static_libs" = built && test "$installed" = yes; then + use_static_libs=no + fi + if test -n "$library_names" && + { test "$use_static_libs" = no || test -z "$old_library"; }; then + case $host in + *cygwin* | *mingw* | *cegcc*) + # No point in relinking DLLs because paths are not encoded + func_append notinst_deplibs " $lib" + need_relink=no + ;; + *) + if test "$installed" = no; then + func_append notinst_deplibs " $lib" + need_relink=yes + fi + ;; + esac + # This is a shared library + + # Warn about portability, can't link against -module's on some + # systems (darwin). Don't bleat about dlopened modules though! + dlopenmodule="" + for dlpremoduletest in $dlprefiles; do + if test "X$dlpremoduletest" = "X$lib"; then + dlopenmodule="$dlpremoduletest" + break + fi + done + if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then + echo + if test "$linkmode" = prog; then + $ECHO "*** Warning: Linking the executable $output against the loadable module" + else + $ECHO "*** Warning: Linking the shared library $output against the loadable module" + fi + $ECHO "*** $linklib is not portable!" + fi + if test "$linkmode" = lib && + test "$hardcode_into_libs" = yes; then + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) func_append compile_rpath " $absdir" ;; + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) func_append finalize_rpath " $libdir" ;; + esac + ;; + esac + fi + + if test -n "$old_archive_from_expsyms_cmds"; then + # figure out the soname + set dummy $library_names + shift + realname="$1" + shift + libname=`eval "\\$ECHO \"$libname_spec\""` + # use dlname if we got it. it's perfectly good, no? + if test -n "$dlname"; then + soname="$dlname" + elif test -n "$soname_spec"; then + # bleh windows + case $host in + *cygwin* | mingw* | *cegcc*) + func_arith $current - $age + major=$func_arith_result + versuffix="-$major" + ;; + esac + eval soname=\"$soname_spec\" + else + soname="$realname" + fi + + # Make a new name for the extract_expsyms_cmds to use + soroot="$soname" + func_basename "$soroot" + soname="$func_basename_result" + func_stripname 'lib' '.dll' "$soname" + newlib=libimp-$func_stripname_result.a + + # If the library has no export list, then create one now + if test -f "$output_objdir/$soname-def"; then : + else + func_verbose "extracting exported symbol list from \`$soname'" + func_execute_cmds "$extract_expsyms_cmds" 'exit $?' + fi + + # Create $newlib + if test -f "$output_objdir/$newlib"; then :; else + func_verbose "generating import library for \`$soname'" + func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' + fi + # make sure the library variables are pointing to the new library + dir=$output_objdir + linklib=$newlib + fi # test -n "$old_archive_from_expsyms_cmds" + + if test "$linkmode" = prog || test "$opt_mode" != relink; then + add_shlibpath= + add_dir= + add= + lib_linked=yes + case $hardcode_action in + immediate | unsupported) + if test "$hardcode_direct" = no; then + add="$dir/$linklib" + case $host in + *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; + *-*-sysv4*uw2*) add_dir="-L$dir" ;; + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ + *-*-unixware7*) add_dir="-L$dir" ;; + *-*-darwin* ) + # if the lib is a (non-dlopened) module then we can not + # link against it, someone is ignoring the earlier warnings + if /usr/bin/file -L $add 2> /dev/null | + $GREP ": [^:]* bundle" >/dev/null ; then + if test "X$dlopenmodule" != "X$lib"; then + $ECHO "*** Warning: lib $linklib is a module, not a shared library" + if test -z "$old_library" ; then + echo + echo "*** And there doesn't seem to be a static archive available" + echo "*** The link will probably fail, sorry" + else + add="$dir/$old_library" + fi + elif test -n "$old_library"; then + add="$dir/$old_library" + fi + fi + esac + elif test "$hardcode_minus_L" = no; then + case $host in + *-*-sunos*) add_shlibpath="$dir" ;; + esac + add_dir="-L$dir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = no; then + add_shlibpath="$dir" + add="-l$name" + else + lib_linked=no + fi + ;; + relink) + if test "$hardcode_direct" = yes && + test "$hardcode_direct_absolute" = no; then + add="$dir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$absdir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in + [\\/]*) + func_append add_dir " -L$inst_prefix_dir$libdir" + ;; + esac + fi + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + add_shlibpath="$dir" + add="-l$name" + else + lib_linked=no + fi + ;; + *) lib_linked=no ;; + esac + + if test "$lib_linked" != yes; then + func_fatal_configuration "unsupported hardcode properties" + fi + + if test -n "$add_shlibpath"; then + case :$compile_shlibpath: in + *":$add_shlibpath:"*) ;; + *) func_append compile_shlibpath "$add_shlibpath:" ;; + esac + fi + if test "$linkmode" = prog; then + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" + test -n "$add" && compile_deplibs="$add $compile_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + if test "$hardcode_direct" != yes && + test "$hardcode_minus_L" != yes && + test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) func_append finalize_shlibpath "$libdir:" ;; + esac + fi + fi + fi + + if test "$linkmode" = prog || test "$opt_mode" = relink; then + add_shlibpath= + add_dir= + add= + # Finalize command for both is simple: just hardcode it. + if test "$hardcode_direct" = yes && + test "$hardcode_direct_absolute" = no; then + add="$libdir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$libdir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) func_append finalize_shlibpath "$libdir:" ;; + esac + add="-l$name" + elif test "$hardcode_automatic" = yes; then + if test -n "$inst_prefix_dir" && + test -f "$inst_prefix_dir$libdir/$linklib" ; then + add="$inst_prefix_dir$libdir/$linklib" + else + add="$libdir/$linklib" + fi + else + # We cannot seem to hardcode it, guess we'll fake it. + add_dir="-L$libdir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in + [\\/]*) + func_append add_dir " -L$inst_prefix_dir$libdir" + ;; + esac + fi + add="-l$name" + fi + + if test "$linkmode" = prog; then + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" + test -n "$add" && finalize_deplibs="$add $finalize_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + fi + fi + elif test "$linkmode" = prog; then + # Here we assume that one of hardcode_direct or hardcode_minus_L + # is not unsupported. This is valid on all known static and + # shared platforms. + if test "$hardcode_direct" != unsupported; then + test -n "$old_library" && linklib="$old_library" + compile_deplibs="$dir/$linklib $compile_deplibs" + finalize_deplibs="$dir/$linklib $finalize_deplibs" + else + compile_deplibs="-l$name -L$dir $compile_deplibs" + finalize_deplibs="-l$name -L$dir $finalize_deplibs" + fi + elif test "$build_libtool_libs" = yes; then + # Not a shared library + if test "$deplibs_check_method" != pass_all; then + # We're trying link a shared library against a static one + # but the system doesn't support it. + + # Just print a warning and add the library to dependency_libs so + # that the program can be linked against the static library. + echo + $ECHO "*** Warning: This system can not link to static lib archive $lib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have." + if test "$module" = yes; then + echo "*** But as you try to build a module library, libtool will still create " + echo "*** a static module, that should work as long as the dlopening application" + echo "*** is linked with the -dlopen flag to resolve symbols at runtime." + if test -z "$global_symbol_pipe"; then + echo + echo "*** However, this would only work if libtool was able to extract symbol" + echo "*** lists from a program, using \`nm' or equivalent, but libtool could" + echo "*** not find such a program. So, this module is probably useless." + echo "*** \`nm' from GNU binutils and a full rebuild may help." + fi + if test "$build_old_libs" = no; then + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + fi + else + deplibs="$dir/$old_library $deplibs" + link_static=yes + fi + fi # link shared/static library? + + if test "$linkmode" = lib; then + if test -n "$dependency_libs" && + { test "$hardcode_into_libs" != yes || + test "$build_old_libs" = yes || + test "$link_static" = yes; }; then + # Extract -R from dependency_libs + temp_deplibs= + for libdir in $dependency_libs; do + case $libdir in + -R*) func_stripname '-R' '' "$libdir" + temp_xrpath=$func_stripname_result + case " $xrpath " in + *" $temp_xrpath "*) ;; + *) func_append xrpath " $temp_xrpath";; + esac;; + *) func_append temp_deplibs " $libdir";; + esac + done + dependency_libs="$temp_deplibs" + fi + + func_append newlib_search_path " $absdir" + # Link against this library + test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" + # ... and its dependency_libs + tmp_libs= + for deplib in $dependency_libs; do + newdependency_libs="$deplib $newdependency_libs" + case $deplib in + -L*) func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result";; + *) func_resolve_sysroot "$deplib" ;; + esac + if $opt_preserve_dup_deps ; then + case "$tmp_libs " in + *" $func_resolve_sysroot_result "*) + func_append specialdeplibs " $func_resolve_sysroot_result" ;; + esac + fi + func_append tmp_libs " $func_resolve_sysroot_result" + done + + if test "$link_all_deplibs" != no; then + # Add the search paths of all dependency libraries + for deplib in $dependency_libs; do + path= + case $deplib in + -L*) path="$deplib" ;; + *.la) + func_resolve_sysroot "$deplib" + deplib=$func_resolve_sysroot_result + func_dirname "$deplib" "" "." + dir=$func_dirname_result + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; + *) + absdir=`cd "$dir" && pwd` + if test -z "$absdir"; then + func_warning "cannot determine absolute directory name of \`$dir'" + absdir="$dir" + fi + ;; + esac + if $GREP "^installed=no" $deplib > /dev/null; then + case $host in + *-*-darwin*) + depdepl= + eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` + if test -n "$deplibrary_names" ; then + for tmp in $deplibrary_names ; do + depdepl=$tmp + done + if test -f "$absdir/$objdir/$depdepl" ; then + depdepl="$absdir/$objdir/$depdepl" + darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` + if test -z "$darwin_install_name"; then + darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` + fi + func_append compiler_flags " ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}" + func_append linker_flags " -dylib_file ${darwin_install_name}:${depdepl}" + path= + fi + fi + ;; + *) + path="-L$absdir/$objdir" + ;; + esac + else + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + test -z "$libdir" && \ + func_fatal_error "\`$deplib' is not a valid libtool archive" + test "$absdir" != "$libdir" && \ + func_warning "\`$deplib' seems to be moved" + + path="-L$absdir" + fi + ;; + esac + case " $deplibs " in + *" $path "*) ;; + *) deplibs="$path $deplibs" ;; + esac + done + fi # link_all_deplibs != no + fi # linkmode = lib + done # for deplib in $libs + if test "$pass" = link; then + if test "$linkmode" = "prog"; then + compile_deplibs="$new_inherited_linker_flags $compile_deplibs" + finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" + else + compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + fi + fi + dependency_libs="$newdependency_libs" + if test "$pass" = dlpreopen; then + # Link the dlpreopened libraries before other libraries + for deplib in $save_deplibs; do + deplibs="$deplib $deplibs" + done + fi + if test "$pass" != dlopen; then + if test "$pass" != conv; then + # Make sure lib_search_path contains only unique directories. + lib_search_path= + for dir in $newlib_search_path; do + case "$lib_search_path " in + *" $dir "*) ;; + *) func_append lib_search_path " $dir" ;; + esac + done + newlib_search_path= + fi + + if test "$linkmode,$pass" != "prog,link"; then + vars="deplibs" + else + vars="compile_deplibs finalize_deplibs" + fi + for var in $vars dependency_libs; do + # Add libraries to $var in reverse order + eval tmp_libs=\"\$$var\" + new_libs= + for deplib in $tmp_libs; do + # FIXME: Pedantically, this is the right thing to do, so + # that some nasty dependency loop isn't accidentally + # broken: + #new_libs="$deplib $new_libs" + # Pragmatically, this seems to cause very few problems in + # practice: + case $deplib in + -L*) new_libs="$deplib $new_libs" ;; + -R*) ;; + *) + # And here is the reason: when a library appears more + # than once as an explicit dependence of a library, or + # is implicitly linked in more than once by the + # compiler, it is considered special, and multiple + # occurrences thereof are not removed. Compare this + # with having the same library being listed as a + # dependency of multiple other libraries: in this case, + # we know (pedantically, we assume) the library does not + # need to be listed more than once, so we keep only the + # last copy. This is not always right, but it is rare + # enough that we require users that really mean to play + # such unportable linking tricks to link the library + # using -Wl,-lname, so that libtool does not consider it + # for duplicate removal. + case " $specialdeplibs " in + *" $deplib "*) new_libs="$deplib $new_libs" ;; + *) + case " $new_libs " in + *" $deplib "*) ;; + *) new_libs="$deplib $new_libs" ;; + esac + ;; + esac + ;; + esac + done + tmp_libs= + for deplib in $new_libs; do + case $deplib in + -L*) + case " $tmp_libs " in + *" $deplib "*) ;; + *) func_append tmp_libs " $deplib" ;; + esac + ;; + *) func_append tmp_libs " $deplib" ;; + esac + done + eval $var=\"$tmp_libs\" + done # for var + fi + # Last step: remove runtime libs from dependency_libs + # (they stay in deplibs) + tmp_libs= + for i in $dependency_libs ; do + case " $predeps $postdeps $compiler_lib_search_path " in + *" $i "*) + i="" + ;; + esac + if test -n "$i" ; then + func_append tmp_libs " $i" + fi + done + dependency_libs=$tmp_libs + done # for pass + if test "$linkmode" = prog; then + dlfiles="$newdlfiles" + fi + if test "$linkmode" = prog || test "$linkmode" = lib; then + dlprefiles="$newdlprefiles" + fi + + case $linkmode in + oldlib) + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + func_warning "\`-dlopen' is ignored for archives" + fi + + case " $deplibs" in + *\ -l* | *\ -L*) + func_warning "\`-l' and \`-L' are ignored for archives" ;; + esac + + test -n "$rpath" && \ + func_warning "\`-rpath' is ignored for archives" + + test -n "$xrpath" && \ + func_warning "\`-R' is ignored for archives" + + test -n "$vinfo" && \ + func_warning "\`-version-info/-version-number' is ignored for archives" + + test -n "$release" && \ + func_warning "\`-release' is ignored for archives" + + test -n "$export_symbols$export_symbols_regex" && \ + func_warning "\`-export-symbols' is ignored for archives" + + # Now set the variables for building old libraries. + build_libtool_libs=no + oldlibs="$output" + func_append objs "$old_deplibs" + ;; + + lib) + # Make sure we only generate libraries of the form `libNAME.la'. + case $outputname in + lib*) + func_stripname 'lib' '.la' "$outputname" + name=$func_stripname_result + eval shared_ext=\"$shrext_cmds\" + eval libname=\"$libname_spec\" + ;; + *) + test "$module" = no && \ + func_fatal_help "libtool library \`$output' must begin with \`lib'" + + if test "$need_lib_prefix" != no; then + # Add the "lib" prefix for modules if required + func_stripname '' '.la' "$outputname" + name=$func_stripname_result + eval shared_ext=\"$shrext_cmds\" + eval libname=\"$libname_spec\" + else + func_stripname '' '.la' "$outputname" + libname=$func_stripname_result + fi + ;; + esac + + if test -n "$objs"; then + if test "$deplibs_check_method" != pass_all; then + func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs" + else + echo + $ECHO "*** Warning: Linking the shared library $output against the non-libtool" + $ECHO "*** objects $objs is not portable!" + func_append libobjs " $objs" + fi + fi + + test "$dlself" != no && \ + func_warning "\`-dlopen self' is ignored for libtool libraries" + + set dummy $rpath + shift + test "$#" -gt 1 && \ + func_warning "ignoring multiple \`-rpath's for a libtool library" + + install_libdir="$1" + + oldlibs= + if test -z "$rpath"; then + if test "$build_libtool_libs" = yes; then + # Building a libtool convenience library. + # Some compilers have problems with a `.al' extension so + # convenience libraries should have the same extension an + # archive normally would. + oldlibs="$output_objdir/$libname.$libext $oldlibs" + build_libtool_libs=convenience + build_old_libs=yes + fi + + test -n "$vinfo" && \ + func_warning "\`-version-info/-version-number' is ignored for convenience libraries" + + test -n "$release" && \ + func_warning "\`-release' is ignored for convenience libraries" + else + + # Parse the version information argument. + save_ifs="$IFS"; IFS=':' + set dummy $vinfo 0 0 0 + shift + IFS="$save_ifs" + + test -n "$7" && \ + func_fatal_help "too many parameters to \`-version-info'" + + # convert absolute version numbers to libtool ages + # this retains compatibility with .la files and attempts + # to make the code below a bit more comprehensible + + case $vinfo_number in + yes) + number_major="$1" + number_minor="$2" + number_revision="$3" + # + # There are really only two kinds -- those that + # use the current revision as the major version + # and those that subtract age and use age as + # a minor version. But, then there is irix + # which has an extra 1 added just for fun + # + case $version_type in + # correct linux to gnu/linux during the next big refactor + darwin|linux|osf|windows|none) + func_arith $number_major + $number_minor + current=$func_arith_result + age="$number_minor" + revision="$number_revision" + ;; + freebsd-aout|freebsd-elf|qnx|sunos) + current="$number_major" + revision="$number_minor" + age="0" + ;; + irix|nonstopux) + func_arith $number_major + $number_minor + current=$func_arith_result + age="$number_minor" + revision="$number_minor" + lt_irix_increment=no + ;; + esac + ;; + no) + current="$1" + revision="$2" + age="$3" + ;; + esac + + # Check that each of the things are valid numbers. + case $current in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + func_error "CURRENT \`$current' must be a nonnegative integer" + func_fatal_error "\`$vinfo' is not valid version information" + ;; + esac + + case $revision in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + func_error "REVISION \`$revision' must be a nonnegative integer" + func_fatal_error "\`$vinfo' is not valid version information" + ;; + esac + + case $age in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + func_error "AGE \`$age' must be a nonnegative integer" + func_fatal_error "\`$vinfo' is not valid version information" + ;; + esac + + if test "$age" -gt "$current"; then + func_error "AGE \`$age' is greater than the current interface number \`$current'" + func_fatal_error "\`$vinfo' is not valid version information" + fi + + # Calculate the version variables. + major= + versuffix= + verstring= + case $version_type in + none) ;; + + darwin) + # Like Linux, but with the current version available in + # verstring for coding it into the library header + func_arith $current - $age + major=.$func_arith_result + versuffix="$major.$age.$revision" + # Darwin ld doesn't like 0 for these options... + func_arith $current + 1 + minor_current=$func_arith_result + xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" + ;; + + freebsd-aout) + major=".$current" + versuffix=".$current.$revision"; + ;; + + freebsd-elf) + major=".$current" + versuffix=".$current" + ;; + + irix | nonstopux) + if test "X$lt_irix_increment" = "Xno"; then + func_arith $current - $age + else + func_arith $current - $age + 1 + fi + major=$func_arith_result + + case $version_type in + nonstopux) verstring_prefix=nonstopux ;; + *) verstring_prefix=sgi ;; + esac + verstring="$verstring_prefix$major.$revision" + + # Add in all the interfaces that we are compatible with. + loop=$revision + while test "$loop" -ne 0; do + func_arith $revision - $loop + iface=$func_arith_result + func_arith $loop - 1 + loop=$func_arith_result + verstring="$verstring_prefix$major.$iface:$verstring" + done + + # Before this point, $major must not contain `.'. + major=.$major + versuffix="$major.$revision" + ;; + + linux) # correct to gnu/linux during the next big refactor + func_arith $current - $age + major=.$func_arith_result + versuffix="$major.$age.$revision" + ;; + + osf) + func_arith $current - $age + major=.$func_arith_result + versuffix=".$current.$age.$revision" + verstring="$current.$age.$revision" + + # Add in all the interfaces that we are compatible with. + loop=$age + while test "$loop" -ne 0; do + func_arith $current - $loop + iface=$func_arith_result + func_arith $loop - 1 + loop=$func_arith_result + verstring="$verstring:${iface}.0" + done + + # Make executables depend on our current version. + func_append verstring ":${current}.0" + ;; + + qnx) + major=".$current" + versuffix=".$current" + ;; + + sunos) + major=".$current" + versuffix=".$current.$revision" + ;; + + windows) + # Use '-' rather than '.', since we only want one + # extension on DOS 8.3 filesystems. + func_arith $current - $age + major=$func_arith_result + versuffix="-$major" + ;; + + *) + func_fatal_configuration "unknown library version type \`$version_type'" + ;; + esac + + # Clear the version info if we defaulted, and they specified a release. + if test -z "$vinfo" && test -n "$release"; then + major= + case $version_type in + darwin) + # we can't check for "0.0" in archive_cmds due to quoting + # problems, so we reset it completely + verstring= + ;; + *) + verstring="0.0" + ;; + esac + if test "$need_version" = no; then + versuffix= + else + versuffix=".0.0" + fi + fi + + # Remove version info from name if versioning should be avoided + if test "$avoid_version" = yes && test "$need_version" = no; then + major= + versuffix= + verstring="" + fi + + # Check to see if the archive will have undefined symbols. + if test "$allow_undefined" = yes; then + if test "$allow_undefined_flag" = unsupported; then + func_warning "undefined symbols not allowed in $host shared libraries" + build_libtool_libs=no + build_old_libs=yes + fi + else + # Don't allow undefined symbols. + allow_undefined_flag="$no_undefined_flag" + fi + + fi + + func_generate_dlsyms "$libname" "$libname" "yes" + func_append libobjs " $symfileobj" + test "X$libobjs" = "X " && libobjs= + + if test "$opt_mode" != relink; then + # Remove our outputs, but don't remove object files since they + # may have been created when compiling PIC objects. + removelist= + tempremovelist=`$ECHO "$output_objdir/*"` + for p in $tempremovelist; do + case $p in + *.$objext | *.gcno) + ;; + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) + if test "X$precious_files_regex" != "X"; then + if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 + then + continue + fi + fi + func_append removelist " $p" + ;; + *) ;; + esac + done + test -n "$removelist" && \ + func_show_eval "${RM}r \$removelist" + fi + + # Now set the variables for building old libraries. + if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then + func_append oldlibs " $output_objdir/$libname.$libext" + + # Transform .lo files to .o files. + oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP` + fi + + # Eliminate all temporary directories. + #for path in $notinst_path; do + # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"` + # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"` + # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"` + #done + + if test -n "$xrpath"; then + # If the user specified any rpath flags, then add them. + temp_xrpath= + for libdir in $xrpath; do + func_replace_sysroot "$libdir" + func_append temp_xrpath " -R$func_replace_sysroot_result" + case "$finalize_rpath " in + *" $libdir "*) ;; + *) func_append finalize_rpath " $libdir" ;; + esac + done + if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then + dependency_libs="$temp_xrpath $dependency_libs" + fi + fi + + # Make sure dlfiles contains only unique files that won't be dlpreopened + old_dlfiles="$dlfiles" + dlfiles= + for lib in $old_dlfiles; do + case " $dlprefiles $dlfiles " in + *" $lib "*) ;; + *) func_append dlfiles " $lib" ;; + esac + done + + # Make sure dlprefiles contains only unique files + old_dlprefiles="$dlprefiles" + dlprefiles= + for lib in $old_dlprefiles; do + case "$dlprefiles " in + *" $lib "*) ;; + *) func_append dlprefiles " $lib" ;; + esac + done + + if test "$build_libtool_libs" = yes; then + if test -n "$rpath"; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) + # these systems don't actually have a c library (as such)! + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C library is in the System framework + func_append deplibs " System.ltframework" + ;; + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc due to us having libc/libc_r. + ;; + *-*-sco3.2v5* | *-*-sco5v6*) + # Causes problems with __ctype + ;; + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) + # Compiler inserts libc in the correct place for threads to work + ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test "$build_libtool_need_lc" = "yes"; then + func_append deplibs " -lc" + fi + ;; + esac + fi + + # Transform deplibs into only deplibs that can be linked in shared. + name_save=$name + libname_save=$libname + release_save=$release + versuffix_save=$versuffix + major_save=$major + # I'm not sure if I'm treating the release correctly. I think + # release should show up in the -l (ie -lgmp5) so we don't want to + # add it in twice. Is that correct? + release="" + versuffix="" + major="" + newdeplibs= + droppeddeps=no + case $deplibs_check_method in + pass_all) + # Don't check for shared/static. Everything works. + # This might be a little naive. We might want to check + # whether the library exists or not. But this is on + # osf3 & osf4 and I'm not really sure... Just + # implementing what was already the behavior. + newdeplibs=$deplibs + ;; + test_compile) + # This code stresses the "libraries are programs" paradigm to its + # limits. Maybe even breaks it. We compile a program, linking it + # against the deplibs as a proxy for the library. Then we can check + # whether they linked in statically or dynamically with ldd. + $opt_dry_run || $RM conftest.c + cat > conftest.c <<EOF + int main() { return 0; } +EOF + $opt_dry_run || $RM conftest + if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then + ldd_output=`ldd conftest` + for i in $deplibs; do + case $i in + -l*) + func_stripname -l '' "$i" + name=$func_stripname_result + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $i "*) + func_append newdeplibs " $i" + i="" + ;; + esac + fi + if test -n "$i" ; then + libname=`eval "\\$ECHO \"$libname_spec\""` + deplib_matches=`eval "\\$ECHO \"$library_names_spec\""` + set dummy $deplib_matches; shift + deplib_match=$1 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then + func_append newdeplibs " $i" + else + droppeddeps=yes + echo + $ECHO "*** Warning: dynamic linker does not accept needed library $i." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which I believe you do not have" + echo "*** because a test_compile did reveal that the linker did not use it for" + echo "*** its dynamic dependency list that programs get resolved with at runtime." + fi + fi + ;; + *) + func_append newdeplibs " $i" + ;; + esac + done + else + # Error occurred in the first compile. Let's try to salvage + # the situation: Compile a separate program for each library. + for i in $deplibs; do + case $i in + -l*) + func_stripname -l '' "$i" + name=$func_stripname_result + $opt_dry_run || $RM conftest + if $LTCC $LTCFLAGS -o conftest conftest.c $i; then + ldd_output=`ldd conftest` + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $i "*) + func_append newdeplibs " $i" + i="" + ;; + esac + fi + if test -n "$i" ; then + libname=`eval "\\$ECHO \"$libname_spec\""` + deplib_matches=`eval "\\$ECHO \"$library_names_spec\""` + set dummy $deplib_matches; shift + deplib_match=$1 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then + func_append newdeplibs " $i" + else + droppeddeps=yes + echo + $ECHO "*** Warning: dynamic linker does not accept needed library $i." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because a test_compile did reveal that the linker did not use this one" + echo "*** as a dynamic dependency that programs can get resolved with at runtime." + fi + fi + else + droppeddeps=yes + echo + $ECHO "*** Warning! Library $i is needed by this library but I was not able to" + echo "*** make it link in! You will probably need to install it or some" + echo "*** library that it depends on before this library will be fully" + echo "*** functional. Installing it before continuing would be even better." + fi + ;; + *) + func_append newdeplibs " $i" + ;; + esac + done + fi + ;; + file_magic*) + set dummy $deplibs_check_method; shift + file_magic_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` + for a_deplib in $deplibs; do + case $a_deplib in + -l*) + func_stripname -l '' "$a_deplib" + name=$func_stripname_result + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $a_deplib "*) + func_append newdeplibs " $a_deplib" + a_deplib="" + ;; + esac + fi + if test -n "$a_deplib" ; then + libname=`eval "\\$ECHO \"$libname_spec\""` + if test -n "$file_magic_glob"; then + libnameglob=`func_echo_all "$libname" | $SED -e $file_magic_glob` + else + libnameglob=$libname + fi + test "$want_nocaseglob" = yes && nocaseglob=`shopt -p nocaseglob` + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do + if test "$want_nocaseglob" = yes; then + shopt -s nocaseglob + potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` + $nocaseglob + else + potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` + fi + for potent_lib in $potential_libs; do + # Follow soft links. + if ls -lLd "$potent_lib" 2>/dev/null | + $GREP " -> " >/dev/null; then + continue + fi + # The statement above tries to avoid entering an + # endless loop below, in case of cyclic links. + # We might still enter an endless loop, since a link + # loop can be closed while we follow links, + # but so what? + potlib="$potent_lib" + while test -h "$potlib" 2>/dev/null; do + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` + case $potliblink in + [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; + *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";; + esac + done + if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | + $SED -e 10q | + $EGREP "$file_magic_regex" > /dev/null; then + func_append newdeplibs " $a_deplib" + a_deplib="" + break 2 + fi + done + done + fi + if test -n "$a_deplib" ; then + droppeddeps=yes + echo + $ECHO "*** Warning: linker path does not have real file for library $a_deplib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because I did check the linker path looking for a file starting" + if test -z "$potlib" ; then + $ECHO "*** with $libname but no candidates were found. (...for file magic test)" + else + $ECHO "*** with $libname and none of the candidates passed a file format test" + $ECHO "*** using a file magic. Last file checked: $potlib" + fi + fi + ;; + *) + # Add a -L argument. + func_append newdeplibs " $a_deplib" + ;; + esac + done # Gone through all deplibs. + ;; + match_pattern*) + set dummy $deplibs_check_method; shift + match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` + for a_deplib in $deplibs; do + case $a_deplib in + -l*) + func_stripname -l '' "$a_deplib" + name=$func_stripname_result + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $a_deplib "*) + func_append newdeplibs " $a_deplib" + a_deplib="" + ;; + esac + fi + if test -n "$a_deplib" ; then + libname=`eval "\\$ECHO \"$libname_spec\""` + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do + potential_libs=`ls $i/$libname[.-]* 2>/dev/null` + for potent_lib in $potential_libs; do + potlib="$potent_lib" # see symlink-check above in file_magic test + if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \ + $EGREP "$match_pattern_regex" > /dev/null; then + func_append newdeplibs " $a_deplib" + a_deplib="" + break 2 + fi + done + done + fi + if test -n "$a_deplib" ; then + droppeddeps=yes + echo + $ECHO "*** Warning: linker path does not have real file for library $a_deplib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because I did check the linker path looking for a file starting" + if test -z "$potlib" ; then + $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" + else + $ECHO "*** with $libname and none of the candidates passed a file format test" + $ECHO "*** using a regex pattern. Last file checked: $potlib" + fi + fi + ;; + *) + # Add a -L argument. + func_append newdeplibs " $a_deplib" + ;; + esac + done # Gone through all deplibs. + ;; + none | unknown | *) + newdeplibs="" + tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'` + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + for i in $predeps $postdeps ; do + # can't use Xsed below, because $i might contain '/' + tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"` + done + fi + case $tmp_deplibs in + *[!\ \ ]*) + echo + if test "X$deplibs_check_method" = "Xnone"; then + echo "*** Warning: inter-library dependencies are not supported in this platform." + else + echo "*** Warning: inter-library dependencies are not known to be supported." + fi + echo "*** All declared inter-library dependencies are being dropped." + droppeddeps=yes + ;; + esac + ;; + esac + versuffix=$versuffix_save + major=$major_save + release=$release_save + libname=$libname_save + name=$name_save + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library with the System framework + newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'` + ;; + esac + + if test "$droppeddeps" = yes; then + if test "$module" = yes; then + echo + echo "*** Warning: libtool could not satisfy all declared inter-library" + $ECHO "*** dependencies of module $libname. Therefore, libtool will create" + echo "*** a static module, that should work as long as the dlopening" + echo "*** application is linked with the -dlopen flag." + if test -z "$global_symbol_pipe"; then + echo + echo "*** However, this would only work if libtool was able to extract symbol" + echo "*** lists from a program, using \`nm' or equivalent, but libtool could" + echo "*** not find such a program. So, this module is probably useless." + echo "*** \`nm' from GNU binutils and a full rebuild may help." + fi + if test "$build_old_libs" = no; then + oldlibs="$output_objdir/$libname.$libext" + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + else + echo "*** The inter-library dependencies that have been dropped here will be" + echo "*** automatically added whenever a program is linked with this library" + echo "*** or is declared to -dlopen it." + + if test "$allow_undefined" = no; then + echo + echo "*** Since this library must not contain undefined symbols," + echo "*** because either the platform does not support them or" + echo "*** it was explicitly requested with -no-undefined," + echo "*** libtool will only create a static version of it." + if test "$build_old_libs" = no; then + oldlibs="$output_objdir/$libname.$libext" + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + fi + fi + fi + # Done checking deplibs! + deplibs=$newdeplibs + fi + # Time to change all our "foo.ltframework" stuff back to "-framework foo" + case $host in + *-*-darwin*) + newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + ;; + esac + + # move library search paths that coincide with paths to not yet + # installed libraries to the beginning of the library search list + new_libs= + for path in $notinst_path; do + case " $new_libs " in + *" -L$path/$objdir "*) ;; + *) + case " $deplibs " in + *" -L$path/$objdir "*) + func_append new_libs " -L$path/$objdir" ;; + esac + ;; + esac + done + for deplib in $deplibs; do + case $deplib in + -L*) + case " $new_libs " in + *" $deplib "*) ;; + *) func_append new_libs " $deplib" ;; + esac + ;; + *) func_append new_libs " $deplib" ;; + esac + done + deplibs="$new_libs" + + # All the library-specific variables (install_libdir is set above). + library_names= + old_library= + dlname= + + # Test again, we may have decided not to build it any more + if test "$build_libtool_libs" = yes; then + # Remove ${wl} instances when linking with ld. + # FIXME: should test the right _cmds variable. + case $archive_cmds in + *\$LD\ *) wl= ;; + esac + if test "$hardcode_into_libs" = yes; then + # Hardcode the library paths + hardcode_libdirs= + dep_rpath= + rpath="$finalize_rpath" + test "$opt_mode" != relink && rpath="$compile_rpath$rpath" + for libdir in $rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + func_replace_sysroot "$libdir" + libdir=$func_replace_sysroot_result + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + func_append dep_rpath " $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) func_append perm_rpath " $libdir" ;; + esac + fi + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval "dep_rpath=\"$hardcode_libdir_flag_spec\"" + fi + if test -n "$runpath_var" && test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + func_append rpath "$dir:" + done + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" + fi + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" + fi + + shlibpath="$finalize_shlibpath" + test "$opt_mode" != relink && shlibpath="$compile_shlibpath$shlibpath" + if test -n "$shlibpath"; then + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" + fi + + # Get the real and link names of the library. + eval shared_ext=\"$shrext_cmds\" + eval library_names=\"$library_names_spec\" + set dummy $library_names + shift + realname="$1" + shift + + if test -n "$soname_spec"; then + eval soname=\"$soname_spec\" + else + soname="$realname" + fi + if test -z "$dlname"; then + dlname=$soname + fi + + lib="$output_objdir/$realname" + linknames= + for link + do + func_append linknames " $link" + done + + # Use standard objects if they are pic + test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP` + test "X$libobjs" = "X " && libobjs= + + delfiles= + if test -n "$export_symbols" && test -n "$include_expsyms"; then + $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" + export_symbols="$output_objdir/$libname.uexp" + func_append delfiles " $export_symbols" + fi + + orig_export_symbols= + case $host_os in + cygwin* | mingw* | cegcc*) + if test -n "$export_symbols" && test -z "$export_symbols_regex"; then + # exporting using user supplied symfile + if test "x`$SED 1q $export_symbols`" != xEXPORTS; then + # and it's NOT already a .def file. Must figure out + # which of the given symbols are data symbols and tag + # them as such. So, trigger use of export_symbols_cmds. + # export_symbols gets reassigned inside the "prepare + # the list of exported symbols" if statement, so the + # include_expsyms logic still works. + orig_export_symbols="$export_symbols" + export_symbols= + always_export_symbols=yes + fi + fi + ;; + esac + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then + func_verbose "generating symbol list for \`$libname.la'" + export_symbols="$output_objdir/$libname.exp" + $opt_dry_run || $RM $export_symbols + cmds=$export_symbols_cmds + save_ifs="$IFS"; IFS='~' + for cmd1 in $cmds; do + IFS="$save_ifs" + # Take the normal branch if the nm_file_list_spec branch + # doesn't work or if tool conversion is not needed. + case $nm_file_list_spec~$to_tool_file_cmd in + *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*) + try_normal_branch=yes + eval cmd=\"$cmd1\" + func_len " $cmd" + len=$func_len_result + ;; + *) + try_normal_branch=no + ;; + esac + if test "$try_normal_branch" = yes \ + && { test "$len" -lt "$max_cmd_len" \ + || test "$max_cmd_len" -le -1; } + then + func_show_eval "$cmd" 'exit $?' + skipped_export=false + elif test -n "$nm_file_list_spec"; then + func_basename "$output" + output_la=$func_basename_result + save_libobjs=$libobjs + save_output=$output + output=${output_objdir}/${output_la}.nm + func_to_tool_file "$output" + libobjs=$nm_file_list_spec$func_to_tool_file_result + func_append delfiles " $output" + func_verbose "creating $NM input file list: $output" + for obj in $save_libobjs; do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" + done > "$output" + eval cmd=\"$cmd1\" + func_show_eval "$cmd" 'exit $?' + output=$save_output + libobjs=$save_libobjs + skipped_export=false + else + # The command line is too long to execute in one step. + func_verbose "using reloadable object file for export list..." + skipped_export=: + # Break out early, otherwise skipped_export may be + # set to false by a later but shorter cmd. + break + fi + done + IFS="$save_ifs" + if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then + func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' + func_show_eval '$MV "${export_symbols}T" "$export_symbols"' + fi + fi + fi + + if test -n "$export_symbols" && test -n "$include_expsyms"; then + tmp_export_symbols="$export_symbols" + test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' + fi + + if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then + # The given exports_symbols file has to be filtered, so filter it. + func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" + # FIXME: $output_objdir/$libname.filter potentially contains lots of + # 's' commands which not all seds can handle. GNU sed should be fine + # though. Also, the filter scales superlinearly with the number of + # global variables. join(1) would be nice here, but unfortunately + # isn't a blessed tool. + $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter + func_append delfiles " $export_symbols $output_objdir/$libname.filter" + export_symbols=$output_objdir/$libname.def + $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols + fi + + tmp_deplibs= + for test_deplib in $deplibs; do + case " $convenience " in + *" $test_deplib "*) ;; + *) + func_append tmp_deplibs " $test_deplib" + ;; + esac + done + deplibs="$tmp_deplibs" + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec" && + test "$compiler_needs_object" = yes && + test -z "$libobjs"; then + # extract the archives, so we have objects to list. + # TODO: could optimize this to just extract one archive. + whole_archive_flag_spec= + fi + if test -n "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + test "X$libobjs" = "X " && libobjs= + else + gentop="$output_objdir/${outputname}x" + func_append generated " $gentop" + + func_extract_archives $gentop $convenience + func_append libobjs " $func_extract_archives_result" + test "X$libobjs" = "X " && libobjs= + fi + fi + + if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then + eval flag=\"$thread_safe_flag_spec\" + func_append linker_flags " $flag" + fi + + # Make a backup of the uninstalled library when relinking + if test "$opt_mode" = relink; then + $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? + fi + + # Do each of the archive commands. + if test "$module" = yes && test -n "$module_cmds" ; then + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then + eval test_cmds=\"$module_expsym_cmds\" + cmds=$module_expsym_cmds + else + eval test_cmds=\"$module_cmds\" + cmds=$module_cmds + fi + else + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then + eval test_cmds=\"$archive_expsym_cmds\" + cmds=$archive_expsym_cmds + else + eval test_cmds=\"$archive_cmds\" + cmds=$archive_cmds + fi + fi + + if test "X$skipped_export" != "X:" && + func_len " $test_cmds" && + len=$func_len_result && + test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then + : + else + # The command line is too long to link in one step, link piecewise + # or, if using GNU ld and skipped_export is not :, use a linker + # script. + + # Save the value of $output and $libobjs because we want to + # use them later. If we have whole_archive_flag_spec, we + # want to use save_libobjs as it was before + # whole_archive_flag_spec was expanded, because we can't + # assume the linker understands whole_archive_flag_spec. + # This may have to be revisited, in case too many + # convenience libraries get linked in and end up exceeding + # the spec. + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + fi + save_output=$output + func_basename "$output" + output_la=$func_basename_result + + # Clear the reloadable object creation command queue and + # initialize k to one. + test_cmds= + concat_cmds= + objlist= + last_robj= + k=1 + + if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then + output=${output_objdir}/${output_la}.lnkscript + func_verbose "creating GNU ld script: $output" + echo 'INPUT (' > $output + for obj in $save_libobjs + do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" >> $output + done + echo ')' >> $output + func_append delfiles " $output" + func_to_tool_file "$output" + output=$func_to_tool_file_result + elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then + output=${output_objdir}/${output_la}.lnk + func_verbose "creating linker input file list: $output" + : > $output + set x $save_libobjs + shift + firstobj= + if test "$compiler_needs_object" = yes; then + firstobj="$1 " + shift + fi + for obj + do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" >> $output + done + func_append delfiles " $output" + func_to_tool_file "$output" + output=$firstobj\"$file_list_spec$func_to_tool_file_result\" + else + if test -n "$save_libobjs"; then + func_verbose "creating reloadable object files..." + output=$output_objdir/$output_la-${k}.$objext + eval test_cmds=\"$reload_cmds\" + func_len " $test_cmds" + len0=$func_len_result + len=$len0 + + # Loop over the list of objects to be linked. + for obj in $save_libobjs + do + func_len " $obj" + func_arith $len + $func_len_result + len=$func_arith_result + if test "X$objlist" = X || + test "$len" -lt "$max_cmd_len"; then + func_append objlist " $obj" + else + # The command $test_cmds is almost too long, add a + # command to the queue. + if test "$k" -eq 1 ; then + # The first file doesn't have a previous command to add. + reload_objs=$objlist + eval concat_cmds=\"$reload_cmds\" + else + # All subsequent reloadable object files will link in + # the last one created. + reload_objs="$objlist $last_robj" + eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\" + fi + last_robj=$output_objdir/$output_la-${k}.$objext + func_arith $k + 1 + k=$func_arith_result + output=$output_objdir/$output_la-${k}.$objext + objlist=" $obj" + func_len " $last_robj" + func_arith $len0 + $func_len_result + len=$func_arith_result + fi + done + # Handle the remaining objects by creating one last + # reloadable object file. All subsequent reloadable object + # files will link in the last one created. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + reload_objs="$objlist $last_robj" + eval concat_cmds=\"\${concat_cmds}$reload_cmds\" + if test -n "$last_robj"; then + eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\" + fi + func_append delfiles " $output" + + else + output= + fi + + if ${skipped_export-false}; then + func_verbose "generating symbol list for \`$libname.la'" + export_symbols="$output_objdir/$libname.exp" + $opt_dry_run || $RM $export_symbols + libobjs=$output + # Append the command to create the export file. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" + if test -n "$last_robj"; then + eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" + fi + fi + + test -n "$save_libobjs" && + func_verbose "creating a temporary reloadable object file: $output" + + # Loop through the commands generated above and execute them. + save_ifs="$IFS"; IFS='~' + for cmd in $concat_cmds; do + IFS="$save_ifs" + $opt_silent || { + func_quote_for_expand "$cmd" + eval "func_echo $func_quote_for_expand_result" + } + $opt_dry_run || eval "$cmd" || { + lt_exit=$? + + # Restore the uninstalled library and exit + if test "$opt_mode" = relink; then + ( cd "$output_objdir" && \ + $RM "${realname}T" && \ + $MV "${realname}U" "$realname" ) + fi + + exit $lt_exit + } + done + IFS="$save_ifs" + + if test -n "$export_symbols_regex" && ${skipped_export-false}; then + func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' + func_show_eval '$MV "${export_symbols}T" "$export_symbols"' + fi + fi + + if ${skipped_export-false}; then + if test -n "$export_symbols" && test -n "$include_expsyms"; then + tmp_export_symbols="$export_symbols" + test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' + fi + + if test -n "$orig_export_symbols"; then + # The given exports_symbols file has to be filtered, so filter it. + func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" + # FIXME: $output_objdir/$libname.filter potentially contains lots of + # 's' commands which not all seds can handle. GNU sed should be fine + # though. Also, the filter scales superlinearly with the number of + # global variables. join(1) would be nice here, but unfortunately + # isn't a blessed tool. + $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter + func_append delfiles " $export_symbols $output_objdir/$libname.filter" + export_symbols=$output_objdir/$libname.def + $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols + fi + fi + + libobjs=$output + # Restore the value of output. + output=$save_output + + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + test "X$libobjs" = "X " && libobjs= + fi + # Expand the library linking commands again to reset the + # value of $libobjs for piecewise linking. + + # Do each of the archive commands. + if test "$module" = yes && test -n "$module_cmds" ; then + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then + cmds=$module_expsym_cmds + else + cmds=$module_cmds + fi + else + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then + cmds=$archive_expsym_cmds + else + cmds=$archive_cmds + fi + fi + fi + + if test -n "$delfiles"; then + # Append the command to remove temporary files to $cmds. + eval cmds=\"\$cmds~\$RM $delfiles\" + fi + + # Add any objects from preloaded convenience libraries + if test -n "$dlprefiles"; then + gentop="$output_objdir/${outputname}x" + func_append generated " $gentop" + + func_extract_archives $gentop $dlprefiles + func_append libobjs " $func_extract_archives_result" + test "X$libobjs" = "X " && libobjs= + fi + + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $opt_silent || { + func_quote_for_expand "$cmd" + eval "func_echo $func_quote_for_expand_result" + } + $opt_dry_run || eval "$cmd" || { + lt_exit=$? + + # Restore the uninstalled library and exit + if test "$opt_mode" = relink; then + ( cd "$output_objdir" && \ + $RM "${realname}T" && \ + $MV "${realname}U" "$realname" ) + fi + + exit $lt_exit + } + done + IFS="$save_ifs" + + # Restore the uninstalled library and exit + if test "$opt_mode" = relink; then + $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? + + if test -n "$convenience"; then + if test -z "$whole_archive_flag_spec"; then + func_show_eval '${RM}r "$gentop"' + fi + fi + + exit $EXIT_SUCCESS + fi + + # Create links to the real library. + for linkname in $linknames; do + if test "$realname" != "$linkname"; then + func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' + fi + done + + # If -module or -export-dynamic was specified, set the dlname. + if test "$module" = yes || test "$export_dynamic" = yes; then + # On all known operating systems, these are identical. + dlname="$soname" + fi + fi + ;; + + obj) + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + func_warning "\`-dlopen' is ignored for objects" + fi + + case " $deplibs" in + *\ -l* | *\ -L*) + func_warning "\`-l' and \`-L' are ignored for objects" ;; + esac + + test -n "$rpath" && \ + func_warning "\`-rpath' is ignored for objects" + + test -n "$xrpath" && \ + func_warning "\`-R' is ignored for objects" + + test -n "$vinfo" && \ + func_warning "\`-version-info' is ignored for objects" + + test -n "$release" && \ + func_warning "\`-release' is ignored for objects" + + case $output in + *.lo) + test -n "$objs$old_deplibs" && \ + func_fatal_error "cannot build library object \`$output' from non-libtool objects" + + libobj=$output + func_lo2o "$libobj" + obj=$func_lo2o_result + ;; + *) + libobj= + obj="$output" + ;; + esac + + # Delete the old objects. + $opt_dry_run || $RM $obj $libobj + + # Objects from convenience libraries. This assumes + # single-version convenience libraries. Whenever we create + # different ones for PIC/non-PIC, this we'll have to duplicate + # the extraction. + reload_conv_objs= + gentop= + # reload_cmds runs $LD directly, so let us get rid of + # -Wl from whole_archive_flag_spec and hope we can get by with + # turning comma into space.. + wl= + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec"; then + eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" + reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'` + else + gentop="$output_objdir/${obj}x" + func_append generated " $gentop" + + func_extract_archives $gentop $convenience + reload_conv_objs="$reload_objs $func_extract_archives_result" + fi + fi + + # If we're not building shared, we need to use non_pic_objs + test "$build_libtool_libs" != yes && libobjs="$non_pic_objects" + + # Create the old-style object. + reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test + + output="$obj" + func_execute_cmds "$reload_cmds" 'exit $?' + + # Exit if we aren't doing a library object file. + if test -z "$libobj"; then + if test -n "$gentop"; then + func_show_eval '${RM}r "$gentop"' + fi + + exit $EXIT_SUCCESS + fi + + if test "$build_libtool_libs" != yes; then + if test -n "$gentop"; then + func_show_eval '${RM}r "$gentop"' + fi + + # Create an invalid libtool object if no PIC, so that we don't + # accidentally link it into a program. + # $show "echo timestamp > $libobj" + # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? + exit $EXIT_SUCCESS + fi + + if test -n "$pic_flag" || test "$pic_mode" != default; then + # Only do commands if we really have different PIC objects. + reload_objs="$libobjs $reload_conv_objs" + output="$libobj" + func_execute_cmds "$reload_cmds" 'exit $?' + fi + + if test -n "$gentop"; then + func_show_eval '${RM}r "$gentop"' + fi + + exit $EXIT_SUCCESS + ;; + + prog) + case $host in + *cygwin*) func_stripname '' '.exe' "$output" + output=$func_stripname_result.exe;; + esac + test -n "$vinfo" && \ + func_warning "\`-version-info' is ignored for programs" + + test -n "$release" && \ + func_warning "\`-release' is ignored for programs" + + test "$preload" = yes \ + && test "$dlopen_support" = unknown \ + && test "$dlopen_self" = unknown \ + && test "$dlopen_self_static" = unknown && \ + func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support." + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library is the System framework + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'` + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'` + ;; + esac + + case $host in + *-*-darwin*) + # Don't allow lazy linking, it breaks C++ global constructors + # But is supposedly fixed on 10.4 or later (yay!). + if test "$tagname" = CXX ; then + case ${MACOSX_DEPLOYMENT_TARGET-10.0} in + 10.[0123]) + func_append compile_command " ${wl}-bind_at_load" + func_append finalize_command " ${wl}-bind_at_load" + ;; + esac + fi + # Time to change all our "foo.ltframework" stuff back to "-framework foo" + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + ;; + esac + + + # move library search paths that coincide with paths to not yet + # installed libraries to the beginning of the library search list + new_libs= + for path in $notinst_path; do + case " $new_libs " in + *" -L$path/$objdir "*) ;; + *) + case " $compile_deplibs " in + *" -L$path/$objdir "*) + func_append new_libs " -L$path/$objdir" ;; + esac + ;; + esac + done + for deplib in $compile_deplibs; do + case $deplib in + -L*) + case " $new_libs " in + *" $deplib "*) ;; + *) func_append new_libs " $deplib" ;; + esac + ;; + *) func_append new_libs " $deplib" ;; + esac + done + compile_deplibs="$new_libs" + + + func_append compile_command " $compile_deplibs" + func_append finalize_command " $finalize_deplibs" + + if test -n "$rpath$xrpath"; then + # If the user specified any rpath flags, then add them. + for libdir in $rpath $xrpath; do + # This is the magic to use -rpath. + case "$finalize_rpath " in + *" $libdir "*) ;; + *) func_append finalize_rpath " $libdir" ;; + esac + done + fi + + # Now hardcode the library paths + rpath= + hardcode_libdirs= + for libdir in $compile_rpath $finalize_rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + func_append rpath " $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) func_append perm_rpath " $libdir" ;; + esac + fi + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'` + case :$dllsearchpath: in + *":$libdir:"*) ;; + ::) dllsearchpath=$libdir;; + *) func_append dllsearchpath ":$libdir";; + esac + case :$dllsearchpath: in + *":$testbindir:"*) ;; + ::) dllsearchpath=$testbindir;; + *) func_append dllsearchpath ":$testbindir";; + esac + ;; + esac + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval rpath=\" $hardcode_libdir_flag_spec\" + fi + compile_rpath="$rpath" + + rpath= + hardcode_libdirs= + for libdir in $finalize_rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + func_append rpath " $flag" + fi + elif test -n "$runpath_var"; then + case "$finalize_perm_rpath " in + *" $libdir "*) ;; + *) func_append finalize_perm_rpath " $libdir" ;; + esac + fi + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval rpath=\" $hardcode_libdir_flag_spec\" + fi + finalize_rpath="$rpath" + + if test -n "$libobjs" && test "$build_old_libs" = yes; then + # Transform all the library objects into standard objects. + compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP` + finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP` + fi + + func_generate_dlsyms "$outputname" "@PROGRAM@" "no" + + # template prelinking step + if test -n "$prelink_cmds"; then + func_execute_cmds "$prelink_cmds" 'exit $?' + fi + + wrappers_required=yes + case $host in + *cegcc* | *mingw32ce*) + # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. + wrappers_required=no + ;; + *cygwin* | *mingw* ) + if test "$build_libtool_libs" != yes; then + wrappers_required=no + fi + ;; + *) + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then + wrappers_required=no + fi + ;; + esac + if test "$wrappers_required" = no; then + # Replace the output file specification. + compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'` + link_command="$compile_command$compile_rpath" + + # We have no uninstalled library dependencies, so finalize right now. + exit_status=0 + func_show_eval "$link_command" 'exit_status=$?' + + if test -n "$postlink_cmds"; then + func_to_tool_file "$output" + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` + func_execute_cmds "$postlink_cmds" 'exit $?' + fi + + # Delete the generated files. + if test -f "$output_objdir/${outputname}S.${objext}"; then + func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"' + fi + + exit $exit_status + fi + + if test -n "$compile_shlibpath$finalize_shlibpath"; then + compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" + fi + if test -n "$finalize_shlibpath"; then + finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" + fi + + compile_var= + finalize_var= + if test -n "$runpath_var"; then + if test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + func_append rpath "$dir:" + done + compile_var="$runpath_var=\"$rpath\$$runpath_var\" " + fi + if test -n "$finalize_perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $finalize_perm_rpath; do + func_append rpath "$dir:" + done + finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " + fi + fi + + if test "$no_install" = yes; then + # We don't need to create a wrapper script. + link_command="$compile_var$compile_command$compile_rpath" + # Replace the output file specification. + link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'` + # Delete the old output file. + $opt_dry_run || $RM $output + # Link the executable and exit + func_show_eval "$link_command" 'exit $?' + + if test -n "$postlink_cmds"; then + func_to_tool_file "$output" + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` + func_execute_cmds "$postlink_cmds" 'exit $?' + fi + + exit $EXIT_SUCCESS + fi + + if test "$hardcode_action" = relink; then + # Fast installation is not supported + link_command="$compile_var$compile_command$compile_rpath" + relink_command="$finalize_var$finalize_command$finalize_rpath" + + func_warning "this platform does not like uninstalled shared libraries" + func_warning "\`$output' will be relinked during installation" + else + if test "$fast_install" != no; then + link_command="$finalize_var$compile_command$finalize_rpath" + if test "$fast_install" = yes; then + relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'` + else + # fast_install is set to needless + relink_command= + fi + else + link_command="$compile_var$compile_command$compile_rpath" + relink_command="$finalize_var$finalize_command$finalize_rpath" + fi + fi + + # Replace the output file specification. + link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` + + # Delete the old output files. + $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname + + func_show_eval "$link_command" 'exit $?' + + if test -n "$postlink_cmds"; then + func_to_tool_file "$output_objdir/$outputname" + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` + func_execute_cmds "$postlink_cmds" 'exit $?' + fi + + # Now create the wrapper script. + func_verbose "creating $output" + + # Quote the relink command for shipping. + if test -n "$relink_command"; then + # Preserve any variables that may affect compiler behavior + for var in $variables_saved_for_relink; do + if eval test -z \"\${$var+set}\"; then + relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" + elif eval var_value=\$$var; test -z "$var_value"; then + relink_command="$var=; export $var; $relink_command" + else + func_quote_for_eval "$var_value" + relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" + fi + done + relink_command="(cd `pwd`; $relink_command)" + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` + fi + + # Only actually do things if not in dry run mode. + $opt_dry_run || { + # win32 will think the script is a binary if it has + # a .exe suffix, so we strip it off here. + case $output in + *.exe) func_stripname '' '.exe' "$output" + output=$func_stripname_result ;; + esac + # test for cygwin because mv fails w/o .exe extensions + case $host in + *cygwin*) + exeext=.exe + func_stripname '' '.exe' "$outputname" + outputname=$func_stripname_result ;; + *) exeext= ;; + esac + case $host in + *cygwin* | *mingw* ) + func_dirname_and_basename "$output" "" "." + output_name=$func_basename_result + output_path=$func_dirname_result + cwrappersource="$output_path/$objdir/lt-$output_name.c" + cwrapper="$output_path/$output_name.exe" + $RM $cwrappersource $cwrapper + trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 + + func_emit_cwrapperexe_src > $cwrappersource + + # The wrapper executable is built using the $host compiler, + # because it contains $host paths and files. If cross- + # compiling, it, like the target executable, must be + # executed on the $host or under an emulation environment. + $opt_dry_run || { + $LTCC $LTCFLAGS -o $cwrapper $cwrappersource + $STRIP $cwrapper + } + + # Now, create the wrapper script for func_source use: + func_ltwrapper_scriptname $cwrapper + $RM $func_ltwrapper_scriptname_result + trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15 + $opt_dry_run || { + # note: this script will not be executed, so do not chmod. + if test "x$build" = "x$host" ; then + $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result + else + func_emit_wrapper no > $func_ltwrapper_scriptname_result + fi + } + ;; + * ) + $RM $output + trap "$RM $output; exit $EXIT_FAILURE" 1 2 15 + + func_emit_wrapper no > $output + chmod +x $output + ;; + esac + } + exit $EXIT_SUCCESS + ;; + esac + + # See if we need to build an old-fashioned archive. + for oldlib in $oldlibs; do + + if test "$build_libtool_libs" = convenience; then + oldobjs="$libobjs_save $symfileobj" + addlibs="$convenience" + build_libtool_libs=no + else + if test "$build_libtool_libs" = module; then + oldobjs="$libobjs_save" + build_libtool_libs=no + else + oldobjs="$old_deplibs $non_pic_objects" + if test "$preload" = yes && test -f "$symfileobj"; then + func_append oldobjs " $symfileobj" + fi + fi + addlibs="$old_convenience" + fi + + if test -n "$addlibs"; then + gentop="$output_objdir/${outputname}x" + func_append generated " $gentop" + + func_extract_archives $gentop $addlibs + func_append oldobjs " $func_extract_archives_result" + fi + + # Do each command in the archive commands. + if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then + cmds=$old_archive_from_new_cmds + else + + # Add any objects from preloaded convenience libraries + if test -n "$dlprefiles"; then + gentop="$output_objdir/${outputname}x" + func_append generated " $gentop" + + func_extract_archives $gentop $dlprefiles + func_append oldobjs " $func_extract_archives_result" + fi + + # POSIX demands no paths to be encoded in archives. We have + # to avoid creating archives with duplicate basenames if we + # might have to extract them afterwards, e.g., when creating a + # static archive out of a convenience library, or when linking + # the entirety of a libtool archive into another (currently + # not supported by libtool). + if (for obj in $oldobjs + do + func_basename "$obj" + $ECHO "$func_basename_result" + done | sort | sort -uc >/dev/null 2>&1); then + : + else + echo "copying selected object files to avoid basename conflicts..." + gentop="$output_objdir/${outputname}x" + func_append generated " $gentop" + func_mkdir_p "$gentop" + save_oldobjs=$oldobjs + oldobjs= + counter=1 + for obj in $save_oldobjs + do + func_basename "$obj" + objbase="$func_basename_result" + case " $oldobjs " in + " ") oldobjs=$obj ;; + *[\ /]"$objbase "*) + while :; do + # Make sure we don't pick an alternate name that also + # overlaps. + newobj=lt$counter-$objbase + func_arith $counter + 1 + counter=$func_arith_result + case " $oldobjs " in + *[\ /]"$newobj "*) ;; + *) if test ! -f "$gentop/$newobj"; then break; fi ;; + esac + done + func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" + func_append oldobjs " $gentop/$newobj" + ;; + *) func_append oldobjs " $obj" ;; + esac + done + fi + func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 + tool_oldlib=$func_to_tool_file_result + eval cmds=\"$old_archive_cmds\" + + func_len " $cmds" + len=$func_len_result + if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then + cmds=$old_archive_cmds + elif test -n "$archiver_list_spec"; then + func_verbose "using command file archive linking..." + for obj in $oldobjs + do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" + done > $output_objdir/$libname.libcmd + func_to_tool_file "$output_objdir/$libname.libcmd" + oldobjs=" $archiver_list_spec$func_to_tool_file_result" + cmds=$old_archive_cmds + else + # the command line is too long to link in one step, link in parts + func_verbose "using piecewise archive linking..." + save_RANLIB=$RANLIB + RANLIB=: + objlist= + concat_cmds= + save_oldobjs=$oldobjs + oldobjs= + # Is there a better way of finding the last object in the list? + for obj in $save_oldobjs + do + last_oldobj=$obj + done + eval test_cmds=\"$old_archive_cmds\" + func_len " $test_cmds" + len0=$func_len_result + len=$len0 + for obj in $save_oldobjs + do + func_len " $obj" + func_arith $len + $func_len_result + len=$func_arith_result + func_append objlist " $obj" + if test "$len" -lt "$max_cmd_len"; then + : + else + # the above command should be used before it gets too long + oldobjs=$objlist + if test "$obj" = "$last_oldobj" ; then + RANLIB=$save_RANLIB + fi + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" + objlist= + len=$len0 + fi + done + RANLIB=$save_RANLIB + oldobjs=$objlist + if test "X$oldobjs" = "X" ; then + eval cmds=\"\$concat_cmds\" + else + eval cmds=\"\$concat_cmds~\$old_archive_cmds\" + fi + fi + fi + func_execute_cmds "$cmds" 'exit $?' + done + + test -n "$generated" && \ + func_show_eval "${RM}r$generated" + + # Now create the libtool archive. + case $output in + *.la) + old_library= + test "$build_old_libs" = yes && old_library="$libname.$libext" + func_verbose "creating $output" + + # Preserve any variables that may affect compiler behavior + for var in $variables_saved_for_relink; do + if eval test -z \"\${$var+set}\"; then + relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" + elif eval var_value=\$$var; test -z "$var_value"; then + relink_command="$var=; export $var; $relink_command" + else + func_quote_for_eval "$var_value" + relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" + fi + done + # Quote the link command for shipping. + relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` + if test "$hardcode_automatic" = yes ; then + relink_command= + fi + + # Only create the output if not a dry run. + $opt_dry_run || { + for installed in no yes; do + if test "$installed" = yes; then + if test -z "$install_libdir"; then + break + fi + output="$output_objdir/$outputname"i + # Replace all uninstalled libtool libraries with the installed ones + newdependency_libs= + for deplib in $dependency_libs; do + case $deplib in + *.la) + func_basename "$deplib" + name="$func_basename_result" + func_resolve_sysroot "$deplib" + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result` + test -z "$libdir" && \ + func_fatal_error "\`$deplib' is not a valid libtool archive" + func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name" + ;; + -L*) + func_stripname -L '' "$deplib" + func_replace_sysroot "$func_stripname_result" + func_append newdependency_libs " -L$func_replace_sysroot_result" + ;; + -R*) + func_stripname -R '' "$deplib" + func_replace_sysroot "$func_stripname_result" + func_append newdependency_libs " -R$func_replace_sysroot_result" + ;; + *) func_append newdependency_libs " $deplib" ;; + esac + done + dependency_libs="$newdependency_libs" + newdlfiles= + + for lib in $dlfiles; do + case $lib in + *.la) + func_basename "$lib" + name="$func_basename_result" + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + test -z "$libdir" && \ + func_fatal_error "\`$lib' is not a valid libtool archive" + func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name" + ;; + *) func_append newdlfiles " $lib" ;; + esac + done + dlfiles="$newdlfiles" + newdlprefiles= + for lib in $dlprefiles; do + case $lib in + *.la) + # Only pass preopened files to the pseudo-archive (for + # eventual linking with the app. that links it) if we + # didn't already link the preopened objects directly into + # the library: + func_basename "$lib" + name="$func_basename_result" + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + test -z "$libdir" && \ + func_fatal_error "\`$lib' is not a valid libtool archive" + func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name" + ;; + esac + done + dlprefiles="$newdlprefiles" + else + newdlfiles= + for lib in $dlfiles; do + case $lib in + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; + *) abs=`pwd`"/$lib" ;; + esac + func_append newdlfiles " $abs" + done + dlfiles="$newdlfiles" + newdlprefiles= + for lib in $dlprefiles; do + case $lib in + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; + *) abs=`pwd`"/$lib" ;; + esac + func_append newdlprefiles " $abs" + done + dlprefiles="$newdlprefiles" + fi + $RM $output + # place dlname in correct position for cygwin + # In fact, it would be nice if we could use this code for all target + # systems that can't hard-code library paths into their executables + # and that have no shared library path variable independent of PATH, + # but it turns out we can't easily determine that from inspecting + # libtool variables, so we have to hard-code the OSs to which it + # applies here; at the moment, that means platforms that use the PE + # object format with DLL files. See the long comment at the top of + # tests/bindir.at for full details. + tdlname=$dlname + case $host,$output,$installed,$module,$dlname in + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) + # If a -bindir argument was supplied, place the dll there. + if test "x$bindir" != x ; + then + func_relative_path "$install_libdir" "$bindir" + tdlname=$func_relative_path_result$dlname + else + # Otherwise fall back on heuristic. + tdlname=../bin/$dlname + fi + ;; + esac + $ECHO > $output "\ +# $outputname - a libtool library file +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='$tdlname' + +# Names of this library. +library_names='$library_names' + +# The name of the static archive. +old_library='$old_library' + +# Linker flags that can not go in dependency_libs. +inherited_linker_flags='$new_inherited_linker_flags' + +# Libraries that this one depends upon. +dependency_libs='$dependency_libs' + +# Names of additional weak libraries provided by this library +weak_library_names='$weak_libs' + +# Version information for $libname. +current=$current +age=$age +revision=$revision + +# Is this an already installed library? +installed=$installed + +# Should we warn about portability when linking against -modules? +shouldnotlink=$module + +# Files to dlopen/dlpreopen +dlopen='$dlfiles' +dlpreopen='$dlprefiles' + +# Directory that this library needs to be installed in: +libdir='$install_libdir'" + if test "$installed" = no && test "$need_relink" = yes; then + $ECHO >> $output "\ +relink_command=\"$relink_command\"" + fi + done + } + + # Do a symbolic link so that the libtool archive can be found in + # LD_LIBRARY_PATH before the program is installed. + func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' + ;; + esac + exit $EXIT_SUCCESS +} + +{ test "$opt_mode" = link || test "$opt_mode" = relink; } && + func_mode_link ${1+"$@"} + + +# func_mode_uninstall arg... +func_mode_uninstall () +{ + $opt_debug + RM="$nonopt" + files= + rmforce= + exit_status=0 + + # This variable tells wrapper scripts just to set variables rather + # than running their programs. + libtool_install_magic="$magic" + + for arg + do + case $arg in + -f) func_append RM " $arg"; rmforce=yes ;; + -*) func_append RM " $arg" ;; + *) func_append files " $arg" ;; + esac + done + + test -z "$RM" && \ + func_fatal_help "you must specify an RM program" + + rmdirs= + + for file in $files; do + func_dirname "$file" "" "." + dir="$func_dirname_result" + if test "X$dir" = X.; then + odir="$objdir" + else + odir="$dir/$objdir" + fi + func_basename "$file" + name="$func_basename_result" + test "$opt_mode" = uninstall && odir="$dir" + + # Remember odir for removal later, being careful to avoid duplicates + if test "$opt_mode" = clean; then + case " $rmdirs " in + *" $odir "*) ;; + *) func_append rmdirs " $odir" ;; + esac + fi + + # Don't error if the file doesn't exist and rm -f was used. + if { test -L "$file"; } >/dev/null 2>&1 || + { test -h "$file"; } >/dev/null 2>&1 || + test -f "$file"; then + : + elif test -d "$file"; then + exit_status=1 + continue + elif test "$rmforce" = yes; then + continue + fi + + rmfiles="$file" + + case $name in + *.la) + # Possibly a libtool archive, so verify it. + if func_lalib_p "$file"; then + func_source $dir/$name + + # Delete the libtool libraries and symlinks. + for n in $library_names; do + func_append rmfiles " $odir/$n" + done + test -n "$old_library" && func_append rmfiles " $odir/$old_library" + + case "$opt_mode" in + clean) + case " $library_names " in + *" $dlname "*) ;; + *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;; + esac + test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i" + ;; + uninstall) + if test -n "$library_names"; then + # Do each command in the postuninstall commands. + func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' + fi + + if test -n "$old_library"; then + # Do each command in the old_postuninstall commands. + func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' + fi + # FIXME: should reinstall the best remaining shared library. + ;; + esac + fi + ;; + + *.lo) + # Possibly a libtool object, so verify it. + if func_lalib_p "$file"; then + + # Read the .lo file + func_source $dir/$name + + # Add PIC object to the list of files to remove. + if test -n "$pic_object" && + test "$pic_object" != none; then + func_append rmfiles " $dir/$pic_object" + fi + + # Add non-PIC object to the list of files to remove. + if test -n "$non_pic_object" && + test "$non_pic_object" != none; then + func_append rmfiles " $dir/$non_pic_object" + fi + fi + ;; + + *) + if test "$opt_mode" = clean ; then + noexename=$name + case $file in + *.exe) + func_stripname '' '.exe' "$file" + file=$func_stripname_result + func_stripname '' '.exe' "$name" + noexename=$func_stripname_result + # $file with .exe has already been added to rmfiles, + # add $file without .exe + func_append rmfiles " $file" + ;; + esac + # Do a test to see if this is a libtool program. + if func_ltwrapper_p "$file"; then + if func_ltwrapper_executable_p "$file"; then + func_ltwrapper_scriptname "$file" + relink_command= + func_source $func_ltwrapper_scriptname_result + func_append rmfiles " $func_ltwrapper_scriptname_result" + else + relink_command= + func_source $dir/$noexename + fi + + # note $name still contains .exe if it was in $file originally + # as does the version of $file that was added into $rmfiles + func_append rmfiles " $odir/$name $odir/${name}S.${objext}" + if test "$fast_install" = yes && test -n "$relink_command"; then + func_append rmfiles " $odir/lt-$name" + fi + if test "X$noexename" != "X$name" ; then + func_append rmfiles " $odir/lt-${noexename}.c" + fi + fi + fi + ;; + esac + func_show_eval "$RM $rmfiles" 'exit_status=1' + done + + # Try to remove the ${objdir}s in the directories where we deleted files + for dir in $rmdirs; do + if test -d "$dir"; then + func_show_eval "rmdir $dir >/dev/null 2>&1" + fi + done + + exit $exit_status +} + +{ test "$opt_mode" = uninstall || test "$opt_mode" = clean; } && + func_mode_uninstall ${1+"$@"} + +test -z "$opt_mode" && { + help="$generic_help" + func_fatal_help "you must specify a MODE" +} + +test -z "$exec_cmd" && \ + func_fatal_help "invalid operation mode \`$opt_mode'" + +if test -n "$exec_cmd"; then + eval exec "$exec_cmd" + exit $EXIT_FAILURE +fi + +exit $exit_status + + +# The TAGs below are defined such that we never get into a situation +# in which we disable both kinds of libraries. Given conflicting +# choices, we go for a static library, that is the most portable, +# since we can't tell whether shared libraries were disabled because +# the user asked for that or because the platform doesn't support +# them. This is particularly important on AIX, because we don't +# support having both static and shared libraries enabled at the same +# time on that platform, so we default to a shared-only configuration. +# If a disable-shared tag is given, we'll fallback to a static-only +# configuration. But we'll never go from static-only to shared-only. + +# ### BEGIN LIBTOOL TAG CONFIG: disable-shared +build_libtool_libs=no +build_old_libs=yes +# ### END LIBTOOL TAG CONFIG: disable-shared + +# ### BEGIN LIBTOOL TAG CONFIG: disable-static +build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` +# ### END LIBTOOL TAG CONFIG: disable-static + +# Local Variables: +# mode:shell-script +# sh-indentation:2 +# End: +# vi:sw=2 + diff --git a/tizen/distrib/remote/server/spice-0.12.2/m4/libtool.m4 b/tizen/distrib/remote/server/spice-0.12.2/m4/libtool.m4 new file mode 100644 index 0000000..56666f0 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/m4/libtool.m4 @@ -0,0 +1,7986 @@ +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +# 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file 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. + +m4_define([_LT_COPYING], [dnl +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +# 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file is part of GNU Libtool. +# +# GNU Libtool 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. +# +# As a special exception to the GNU General Public License, +# if you distribute this file as part of a program or library that +# is built using GNU Libtool, you may include this file under the +# same distribution terms that you use for the rest of that program. +# +# GNU Libtool 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 GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or +# obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +]) + +# serial 57 LT_INIT + + +# LT_PREREQ(VERSION) +# ------------------ +# Complain and exit if this libtool version is less that VERSION. +m4_defun([LT_PREREQ], +[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, + [m4_default([$3], + [m4_fatal([Libtool version $1 or higher is required], + 63)])], + [$2])]) + + +# _LT_CHECK_BUILDDIR +# ------------------ +# Complain if the absolute build directory name contains unusual characters +m4_defun([_LT_CHECK_BUILDDIR], +[case `pwd` in + *\ * | *\ *) + AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; +esac +]) + + +# LT_INIT([OPTIONS]) +# ------------------ +AC_DEFUN([LT_INIT], +[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT +AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl +AC_BEFORE([$0], [LT_LANG])dnl +AC_BEFORE([$0], [LT_OUTPUT])dnl +AC_BEFORE([$0], [LTDL_INIT])dnl +m4_require([_LT_CHECK_BUILDDIR])dnl + +dnl Autoconf doesn't catch unexpanded LT_ macros by default: +m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl +m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 +dnl unless we require an AC_DEFUNed macro: +AC_REQUIRE([LTOPTIONS_VERSION])dnl +AC_REQUIRE([LTSUGAR_VERSION])dnl +AC_REQUIRE([LTVERSION_VERSION])dnl +AC_REQUIRE([LTOBSOLETE_VERSION])dnl +m4_require([_LT_PROG_LTMAIN])dnl + +_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) + +dnl Parse OPTIONS +_LT_SET_OPTIONS([$0], [$1]) + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS="$ltmain" + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' +AC_SUBST(LIBTOOL)dnl + +_LT_SETUP + +# Only expand once: +m4_define([LT_INIT]) +])# LT_INIT + +# Old names: +AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) +AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_PROG_LIBTOOL], []) +dnl AC_DEFUN([AM_PROG_LIBTOOL], []) + + +# _LT_CC_BASENAME(CC) +# ------------------- +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. +m4_defun([_LT_CC_BASENAME], +[for cc_temp in $1""; do + case $cc_temp in + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` +]) + + +# _LT_FILEUTILS_DEFAULTS +# ---------------------- +# It is okay to use these file commands and assume they have been set +# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'. +m4_defun([_LT_FILEUTILS_DEFAULTS], +[: ${CP="cp -f"} +: ${MV="mv -f"} +: ${RM="rm -f"} +])# _LT_FILEUTILS_DEFAULTS + + +# _LT_SETUP +# --------- +m4_defun([_LT_SETUP], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl + +_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl +dnl +_LT_DECL([], [host_alias], [0], [The host system])dnl +_LT_DECL([], [host], [0])dnl +_LT_DECL([], [host_os], [0])dnl +dnl +_LT_DECL([], [build_alias], [0], [The build system])dnl +_LT_DECL([], [build], [0])dnl +_LT_DECL([], [build_os], [0])dnl +dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([LT_PATH_LD])dnl +AC_REQUIRE([LT_PATH_NM])dnl +dnl +AC_REQUIRE([AC_PROG_LN_S])dnl +test -z "$LN_S" && LN_S="ln -s" +_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl +dnl +AC_REQUIRE([LT_CMD_MAX_LEN])dnl +_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl +_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl +dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_CHECK_SHELL_FEATURES])dnl +m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl +m4_require([_LT_CMD_RELOAD])dnl +m4_require([_LT_CHECK_MAGIC_METHOD])dnl +m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl +m4_require([_LT_CMD_OLD_ARCHIVE])dnl +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl +m4_require([_LT_WITH_SYSROOT])dnl + +_LT_CONFIG_LIBTOOL_INIT([ +# See if we are running on zsh, and set the options which allow our +# commands through without removal of \ escapes INIT. +if test -n "\${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi +]) +if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi + +_LT_CHECK_OBJDIR + +m4_require([_LT_TAG_COMPILER])dnl + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Global variables: +ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except MSVC, +# which needs '.lib'). +libext=a + +with_gnu_ld="$lt_cv_prog_gnu_ld" + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS +test -z "$LD" && LD=ld +test -z "$ac_objext" && ac_objext=o + +_LT_CC_BASENAME([$compiler]) + +# Only perform the check for file, if the check method requires it +test -z "$MAGIC_CMD" && MAGIC_CMD=file +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + _LT_PATH_MAGIC + fi + ;; +esac + +# Use C for the default configuration in the libtool script +LT_SUPPORTED_TAG([CC]) +_LT_LANG_C_CONFIG +_LT_LANG_DEFAULT_CONFIG +_LT_CONFIG_COMMANDS +])# _LT_SETUP + + +# _LT_PREPARE_SED_QUOTE_VARS +# -------------------------- +# Define a few sed substitution that help us do robust quoting. +m4_defun([_LT_PREPARE_SED_QUOTE_VARS], +[# Backslashify metacharacters that are still active within +# double-quoted strings. +sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\([["`\\]]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to delay expansion of an escaped single quote. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' +]) + +# _LT_PROG_LTMAIN +# --------------- +# Note that this code is called both from `configure', and `config.status' +# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, +# `config.status' has no value for ac_aux_dir unless we are using Automake, +# so we pass a copy along to make sure it has a sensible value anyway. +m4_defun([_LT_PROG_LTMAIN], +[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl +_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) +ltmain="$ac_aux_dir/ltmain.sh" +])# _LT_PROG_LTMAIN + + +## ------------------------------------- ## +## Accumulate code for creating libtool. ## +## ------------------------------------- ## + +# So that we can recreate a full libtool script including additional +# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS +# in macros and then make a single call at the end using the `libtool' +# label. + + +# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) +# ---------------------------------------- +# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. +m4_define([_LT_CONFIG_LIBTOOL_INIT], +[m4_ifval([$1], + [m4_append([_LT_OUTPUT_LIBTOOL_INIT], + [$1 +])])]) + +# Initialize. +m4_define([_LT_OUTPUT_LIBTOOL_INIT]) + + +# _LT_CONFIG_LIBTOOL([COMMANDS]) +# ------------------------------ +# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. +m4_define([_LT_CONFIG_LIBTOOL], +[m4_ifval([$1], + [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], + [$1 +])])]) + +# Initialize. +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) + + +# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) +# ----------------------------------------------------- +m4_defun([_LT_CONFIG_SAVE_COMMANDS], +[_LT_CONFIG_LIBTOOL([$1]) +_LT_CONFIG_LIBTOOL_INIT([$2]) +]) + + +# _LT_FORMAT_COMMENT([COMMENT]) +# ----------------------------- +# Add leading comment marks to the start of each line, and a trailing +# full-stop to the whole comment if one is not present already. +m4_define([_LT_FORMAT_COMMENT], +[m4_ifval([$1], [ +m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], + [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) +)]) + + + +## ------------------------ ## +## FIXME: Eliminate VARNAME ## +## ------------------------ ## + + +# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) +# ------------------------------------------------------------------- +# CONFIGNAME is the name given to the value in the libtool script. +# VARNAME is the (base) name used in the configure script. +# VALUE may be 0, 1 or 2 for a computed quote escaped value based on +# VARNAME. Any other value will be used directly. +m4_define([_LT_DECL], +[lt_if_append_uniq([lt_decl_varnames], [$2], [, ], + [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], + [m4_ifval([$1], [$1], [$2])]) + lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) + m4_ifval([$4], + [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) + lt_dict_add_subkey([lt_decl_dict], [$2], + [tagged?], [m4_ifval([$5], [yes], [no])])]) +]) + + +# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) +# -------------------------------------------------------- +m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) + + +# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) +# ------------------------------------------------ +m4_define([lt_decl_tag_varnames], +[_lt_decl_filter([tagged?], [yes], $@)]) + + +# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) +# --------------------------------------------------------- +m4_define([_lt_decl_filter], +[m4_case([$#], + [0], [m4_fatal([$0: too few arguments: $#])], + [1], [m4_fatal([$0: too few arguments: $#: $1])], + [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], + [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], + [lt_dict_filter([lt_decl_dict], $@)])[]dnl +]) + + +# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) +# -------------------------------------------------- +m4_define([lt_decl_quote_varnames], +[_lt_decl_filter([value], [1], $@)]) + + +# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) +# --------------------------------------------------- +m4_define([lt_decl_dquote_varnames], +[_lt_decl_filter([value], [2], $@)]) + + +# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) +# --------------------------------------------------- +m4_define([lt_decl_varnames_tagged], +[m4_assert([$# <= 2])dnl +_$0(m4_quote(m4_default([$1], [[, ]])), + m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), + m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) +m4_define([_lt_decl_varnames_tagged], +[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) + + +# lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) +# ------------------------------------------------ +m4_define([lt_decl_all_varnames], +[_$0(m4_quote(m4_default([$1], [[, ]])), + m4_if([$2], [], + m4_quote(lt_decl_varnames), + m4_quote(m4_shift($@))))[]dnl +]) +m4_define([_lt_decl_all_varnames], +[lt_join($@, lt_decl_varnames_tagged([$1], + lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl +]) + + +# _LT_CONFIG_STATUS_DECLARE([VARNAME]) +# ------------------------------------ +# Quote a variable value, and forward it to `config.status' so that its +# declaration there will have the same value as in `configure'. VARNAME +# must have a single quote delimited value for this to work. +m4_define([_LT_CONFIG_STATUS_DECLARE], +[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`']) + + +# _LT_CONFIG_STATUS_DECLARATIONS +# ------------------------------ +# We delimit libtool config variables with single quotes, so when +# we write them to config.status, we have to be sure to quote all +# embedded single quotes properly. In configure, this macro expands +# each variable declared with _LT_DECL (and _LT_TAGDECL) into: +# +# <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`' +m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], +[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), + [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) + + +# _LT_LIBTOOL_TAGS +# ---------------- +# Output comment and list of tags supported by the script +m4_defun([_LT_LIBTOOL_TAGS], +[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl +available_tags="_LT_TAGS"dnl +]) + + +# _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) +# ----------------------------------- +# Extract the dictionary values for VARNAME (optionally with TAG) and +# expand to a commented shell variable setting: +# +# # Some comment about what VAR is for. +# visible_name=$lt_internal_name +m4_define([_LT_LIBTOOL_DECLARE], +[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], + [description])))[]dnl +m4_pushdef([_libtool_name], + m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl +m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), + [0], [_libtool_name=[$]$1], + [1], [_libtool_name=$lt_[]$1], + [2], [_libtool_name=$lt_[]$1], + [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl +m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl +]) + + +# _LT_LIBTOOL_CONFIG_VARS +# ----------------------- +# Produce commented declarations of non-tagged libtool config variables +# suitable for insertion in the LIBTOOL CONFIG section of the `libtool' +# script. Tagged libtool config variables (even for the LIBTOOL CONFIG +# section) are produced by _LT_LIBTOOL_TAG_VARS. +m4_defun([_LT_LIBTOOL_CONFIG_VARS], +[m4_foreach([_lt_var], + m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) + + +# _LT_LIBTOOL_TAG_VARS(TAG) +# ------------------------- +m4_define([_LT_LIBTOOL_TAG_VARS], +[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) + + +# _LT_TAGVAR(VARNAME, [TAGNAME]) +# ------------------------------ +m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) + + +# _LT_CONFIG_COMMANDS +# ------------------- +# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of +# variables for single and double quote escaping we saved from calls +# to _LT_DECL, we can put quote escaped variables declarations +# into `config.status', and then the shell code to quote escape them in +# for loops in `config.status'. Finally, any additional code accumulated +# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. +m4_defun([_LT_CONFIG_COMMANDS], +[AC_PROVIDE_IFELSE([LT_OUTPUT], + dnl If the libtool generation code has been placed in $CONFIG_LT, + dnl instead of duplicating it all over again into config.status, + dnl then we will have config.status run $CONFIG_LT later, so it + dnl needs to know what name is stored there: + [AC_CONFIG_COMMANDS([libtool], + [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], + dnl If the libtool generation code is destined for config.status, + dnl expand the accumulated commands and init code now: + [AC_CONFIG_COMMANDS([libtool], + [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) +])#_LT_CONFIG_COMMANDS + + +# Initialize. +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], +[ + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +sed_quote_subst='$sed_quote_subst' +double_quote_subst='$double_quote_subst' +delay_variable_subst='$delay_variable_subst' +_LT_CONFIG_STATUS_DECLARATIONS +LTCC='$LTCC' +LTCFLAGS='$LTCFLAGS' +compiler='$compiler_DEFAULT' + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$[]1 +_LTECHO_EOF' +} + +# Quote evaled strings. +for var in lt_decl_all_varnames([[ \ +]], lt_decl_quote_varnames); do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[[\\\\\\\`\\"\\\$]]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +# Double-quote double-evaled strings. +for var in lt_decl_all_varnames([[ \ +]], lt_decl_dquote_varnames); do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[[\\\\\\\`\\"\\\$]]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +_LT_OUTPUT_LIBTOOL_INIT +]) + +# _LT_GENERATED_FILE_INIT(FILE, [COMMENT]) +# ------------------------------------ +# Generate a child script FILE with all initialization necessary to +# reuse the environment learned by the parent script, and make the +# file executable. If COMMENT is supplied, it is inserted after the +# `#!' sequence but before initialization text begins. After this +# macro, additional text can be appended to FILE to form the body of +# the child script. The macro ends with non-zero status if the +# file could not be fully written (such as if the disk is full). +m4_ifdef([AS_INIT_GENERATED], +[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])], +[m4_defun([_LT_GENERATED_FILE_INIT], +[m4_require([AS_PREPARE])]dnl +[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl +[lt_write_fail=0 +cat >$1 <<_ASEOF || lt_write_fail=1 +#! $SHELL +# Generated by $as_me. +$2 +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$1 <<\_ASEOF || lt_write_fail=1 +AS_SHELL_SANITIZE +_AS_PREPARE +exec AS_MESSAGE_FD>&1 +_ASEOF +test $lt_write_fail = 0 && chmod +x $1[]dnl +m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT + +# LT_OUTPUT +# --------- +# This macro allows early generation of the libtool script (before +# AC_OUTPUT is called), incase it is used in configure for compilation +# tests. +AC_DEFUN([LT_OUTPUT], +[: ${CONFIG_LT=./config.lt} +AC_MSG_NOTICE([creating $CONFIG_LT]) +_LT_GENERATED_FILE_INIT(["$CONFIG_LT"], +[# Run this file to recreate a libtool stub with the current configuration.]) + +cat >>"$CONFIG_LT" <<\_LTEOF +lt_cl_silent=false +exec AS_MESSAGE_LOG_FD>>config.log +{ + echo + AS_BOX([Running $as_me.]) +} >&AS_MESSAGE_LOG_FD + +lt_cl_help="\ +\`$as_me' creates a local libtool stub from the current configuration, +for use in further configure time tests before the real libtool is +generated. + +Usage: $[0] [[OPTIONS]] + + -h, --help print this help, then exit + -V, --version print version number, then exit + -q, --quiet do not print progress messages + -d, --debug don't remove temporary files + +Report bugs to <bug-libtool@gnu.org>." + +lt_cl_version="\ +m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl +m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) +configured by $[0], generated by m4_PACKAGE_STRING. + +Copyright (C) 2011 Free Software Foundation, Inc. +This config.lt script is free software; the Free Software Foundation +gives unlimited permision to copy, distribute and modify it." + +while test $[#] != 0 +do + case $[1] in + --version | --v* | -V ) + echo "$lt_cl_version"; exit 0 ;; + --help | --h* | -h ) + echo "$lt_cl_help"; exit 0 ;; + --debug | --d* | -d ) + debug=: ;; + --quiet | --q* | --silent | --s* | -q ) + lt_cl_silent=: ;; + + -*) AC_MSG_ERROR([unrecognized option: $[1] +Try \`$[0] --help' for more information.]) ;; + + *) AC_MSG_ERROR([unrecognized argument: $[1] +Try \`$[0] --help' for more information.]) ;; + esac + shift +done + +if $lt_cl_silent; then + exec AS_MESSAGE_FD>/dev/null +fi +_LTEOF + +cat >>"$CONFIG_LT" <<_LTEOF +_LT_OUTPUT_LIBTOOL_COMMANDS_INIT +_LTEOF + +cat >>"$CONFIG_LT" <<\_LTEOF +AC_MSG_NOTICE([creating $ofile]) +_LT_OUTPUT_LIBTOOL_COMMANDS +AS_EXIT(0) +_LTEOF +chmod +x "$CONFIG_LT" + +# configure is writing to config.log, but config.lt does its own redirection, +# appending to config.log, which fails on DOS, as config.log is still kept +# open by configure. Here we exec the FD to /dev/null, effectively closing +# config.log, so it can be properly (re)opened and appended to by config.lt. +lt_cl_success=: +test "$silent" = yes && + lt_config_lt_args="$lt_config_lt_args --quiet" +exec AS_MESSAGE_LOG_FD>/dev/null +$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false +exec AS_MESSAGE_LOG_FD>>config.log +$lt_cl_success || AS_EXIT(1) +])# LT_OUTPUT + + +# _LT_CONFIG(TAG) +# --------------- +# If TAG is the built-in tag, create an initial libtool script with a +# default configuration from the untagged config vars. Otherwise add code +# to config.status for appending the configuration named by TAG from the +# matching tagged config vars. +m4_defun([_LT_CONFIG], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +_LT_CONFIG_SAVE_COMMANDS([ + m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl + m4_if(_LT_TAG, [C], [ + # See if we are running on zsh, and set the options which allow our + # commands through without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + + cfgfile="${ofile}T" + trap "$RM \"$cfgfile\"; exit 1" 1 2 15 + $RM "$cfgfile" + + cat <<_LT_EOF >> "$cfgfile" +#! $SHELL + +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +_LT_COPYING +_LT_LIBTOOL_TAGS + +# ### BEGIN LIBTOOL CONFIG +_LT_LIBTOOL_CONFIG_VARS +_LT_LIBTOOL_TAG_VARS +# ### END LIBTOOL CONFIG + +_LT_EOF + + case $host_os in + aix3*) + cat <<\_LT_EOF >> "$cfgfile" +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +_LT_EOF + ;; + esac + + _LT_PROG_LTMAIN + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + _LT_PROG_REPLACE_SHELLFNS + + mv -f "$cfgfile" "$ofile" || + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" +], +[cat <<_LT_EOF >> "$ofile" + +dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded +dnl in a comment (ie after a #). +# ### BEGIN LIBTOOL TAG CONFIG: $1 +_LT_LIBTOOL_TAG_VARS(_LT_TAG) +# ### END LIBTOOL TAG CONFIG: $1 +_LT_EOF +])dnl /m4_if +], +[m4_if([$1], [], [ + PACKAGE='$PACKAGE' + VERSION='$VERSION' + TIMESTAMP='$TIMESTAMP' + RM='$RM' + ofile='$ofile'], []) +])dnl /_LT_CONFIG_SAVE_COMMANDS +])# _LT_CONFIG + + +# LT_SUPPORTED_TAG(TAG) +# --------------------- +# Trace this macro to discover what tags are supported by the libtool +# --tag option, using: +# autoconf --trace 'LT_SUPPORTED_TAG:$1' +AC_DEFUN([LT_SUPPORTED_TAG], []) + + +# C support is built-in for now +m4_define([_LT_LANG_C_enabled], []) +m4_define([_LT_TAGS], []) + + +# LT_LANG(LANG) +# ------------- +# Enable libtool support for the given language if not already enabled. +AC_DEFUN([LT_LANG], +[AC_BEFORE([$0], [LT_OUTPUT])dnl +m4_case([$1], + [C], [_LT_LANG(C)], + [C++], [_LT_LANG(CXX)], + [Go], [_LT_LANG(GO)], + [Java], [_LT_LANG(GCJ)], + [Fortran 77], [_LT_LANG(F77)], + [Fortran], [_LT_LANG(FC)], + [Windows Resource], [_LT_LANG(RC)], + [m4_ifdef([_LT_LANG_]$1[_CONFIG], + [_LT_LANG($1)], + [m4_fatal([$0: unsupported language: "$1"])])])dnl +])# LT_LANG + + +# _LT_LANG(LANGNAME) +# ------------------ +m4_defun([_LT_LANG], +[m4_ifdef([_LT_LANG_]$1[_enabled], [], + [LT_SUPPORTED_TAG([$1])dnl + m4_append([_LT_TAGS], [$1 ])dnl + m4_define([_LT_LANG_]$1[_enabled], [])dnl + _LT_LANG_$1_CONFIG($1)])dnl +])# _LT_LANG + + +m4_ifndef([AC_PROG_GO], [ +############################################################ +# NOTE: This macro has been submitted for inclusion into # +# GNU Autoconf as AC_PROG_GO. When it is available in # +# a released version of Autoconf we should remove this # +# macro and use it instead. # +############################################################ +m4_defun([AC_PROG_GO], +[AC_LANG_PUSH(Go)dnl +AC_ARG_VAR([GOC], [Go compiler command])dnl +AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl +_AC_ARG_VAR_LDFLAGS()dnl +AC_CHECK_TOOL(GOC, gccgo) +if test -z "$GOC"; then + if test -n "$ac_tool_prefix"; then + AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo]) + fi +fi +if test -z "$GOC"; then + AC_CHECK_PROG(GOC, gccgo, gccgo, false) +fi +])#m4_defun +])#m4_ifndef + + +# _LT_LANG_DEFAULT_CONFIG +# ----------------------- +m4_defun([_LT_LANG_DEFAULT_CONFIG], +[AC_PROVIDE_IFELSE([AC_PROG_CXX], + [LT_LANG(CXX)], + [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) + +AC_PROVIDE_IFELSE([AC_PROG_F77], + [LT_LANG(F77)], + [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) + +AC_PROVIDE_IFELSE([AC_PROG_FC], + [LT_LANG(FC)], + [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) + +dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal +dnl pulling things in needlessly. +AC_PROVIDE_IFELSE([AC_PROG_GCJ], + [LT_LANG(GCJ)], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], + [LT_LANG(GCJ)], + [AC_PROVIDE_IFELSE([LT_PROG_GCJ], + [LT_LANG(GCJ)], + [m4_ifdef([AC_PROG_GCJ], + [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) + m4_ifdef([A][M_PROG_GCJ], + [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) + m4_ifdef([LT_PROG_GCJ], + [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) + +AC_PROVIDE_IFELSE([AC_PROG_GO], + [LT_LANG(GO)], + [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])]) + +AC_PROVIDE_IFELSE([LT_PROG_RC], + [LT_LANG(RC)], + [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) +])# _LT_LANG_DEFAULT_CONFIG + +# Obsolete macros: +AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) +AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) +AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) +AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) +AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_CXX], []) +dnl AC_DEFUN([AC_LIBTOOL_F77], []) +dnl AC_DEFUN([AC_LIBTOOL_FC], []) +dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) +dnl AC_DEFUN([AC_LIBTOOL_RC], []) + + +# _LT_TAG_COMPILER +# ---------------- +m4_defun([_LT_TAG_COMPILER], +[AC_REQUIRE([AC_PROG_CC])dnl + +_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl +_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl +_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl +_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC +])# _LT_TAG_COMPILER + + +# _LT_COMPILER_BOILERPLATE +# ------------------------ +# Check for compiler boilerplate output or warnings with +# the simple compiler test code. +m4_defun([_LT_COMPILER_BOILERPLATE], +[m4_require([_LT_DECL_SED])dnl +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$RM conftest* +])# _LT_COMPILER_BOILERPLATE + + +# _LT_LINKER_BOILERPLATE +# ---------------------- +# Check for linker boilerplate output or warnings with +# the simple link test code. +m4_defun([_LT_LINKER_BOILERPLATE], +[m4_require([_LT_DECL_SED])dnl +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$RM -r conftest* +])# _LT_LINKER_BOILERPLATE + +# _LT_REQUIRED_DARWIN_CHECKS +# ------------------------- +m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ + case $host_os in + rhapsody* | darwin*) + AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) + AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) + AC_CHECK_TOOL([LIPO], [lipo], [:]) + AC_CHECK_TOOL([OTOOL], [otool], [:]) + AC_CHECK_TOOL([OTOOL64], [otool64], [:]) + _LT_DECL([], [DSYMUTIL], [1], + [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) + _LT_DECL([], [NMEDIT], [1], + [Tool to change global to local symbols on Mac OS X]) + _LT_DECL([], [LIPO], [1], + [Tool to manipulate fat objects and archives on Mac OS X]) + _LT_DECL([], [OTOOL], [1], + [ldd/readelf like tool for Mach-O binaries on Mac OS X]) + _LT_DECL([], [OTOOL64], [1], + [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) + + AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], + [lt_cv_apple_cc_single_mod=no + if test -z "${LT_MULTI_MODULE}"; then + # By default we will add the -single_module flag. You can override + # by either setting the environment variable LT_MULTI_MODULE + # non-empty at configure time, or by adding -multi_module to the + # link flags. + rm -rf libconftest.dylib* + echo "int foo(void){return 1;}" > conftest.c + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ +-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err + _lt_result=$? + # If there is a non-empty error log, and "single_module" + # appears in it, assume the flag caused a linker warning + if test -s conftest.err && $GREP single_module conftest.err; then + cat conftest.err >&AS_MESSAGE_LOG_FD + # Otherwise, if the output was created with a 0 exit code from + # the compiler, it worked. + elif test -f libconftest.dylib && test $_lt_result -eq 0; then + lt_cv_apple_cc_single_mod=yes + else + cat conftest.err >&AS_MESSAGE_LOG_FD + fi + rm -rf libconftest.dylib* + rm -f conftest.* + fi]) + + AC_CACHE_CHECK([for -exported_symbols_list linker flag], + [lt_cv_ld_exported_symbols_list], + [lt_cv_ld_exported_symbols_list=no + save_LDFLAGS=$LDFLAGS + echo "_main" > conftest.sym + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], + [lt_cv_ld_exported_symbols_list=yes], + [lt_cv_ld_exported_symbols_list=no]) + LDFLAGS="$save_LDFLAGS" + ]) + + AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], + [lt_cv_ld_force_load=no + cat > conftest.c << _LT_EOF +int forced_loaded() { return 2;} +_LT_EOF + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD + echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD + $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD + echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD + $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD + cat > conftest.c << _LT_EOF +int main() { return 0;} +_LT_EOF + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err + _lt_result=$? + if test -s conftest.err && $GREP force_load conftest.err; then + cat conftest.err >&AS_MESSAGE_LOG_FD + elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then + lt_cv_ld_force_load=yes + else + cat conftest.err >&AS_MESSAGE_LOG_FD + fi + rm -f conftest.err libconftest.a conftest conftest.c + rm -rf conftest.dSYM + ]) + case $host_os in + rhapsody* | darwin1.[[012]]) + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; + darwin1.*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + darwin*) # darwin 5.x on + # if running on 10.5 or later, the deployment target defaults + # to the OS version, if on x86, and 10.4, the deployment + # target defaults to 10.4. Don't you love it? + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in + 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + 10.[[012]]*) + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; + 10.*) + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; + esac + ;; + esac + if test "$lt_cv_apple_cc_single_mod" = "yes"; then + _lt_dar_single_mod='$single_module' + fi + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' + else + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then + _lt_dsymutil='~$DSYMUTIL $lib || :' + else + _lt_dsymutil= + fi + ;; + esac +]) + + +# _LT_DARWIN_LINKER_FEATURES([TAG]) +# --------------------------------- +# Checks for linker and compiler features on darwin +m4_defun([_LT_DARWIN_LINKER_FEATURES], +[ + m4_require([_LT_REQUIRED_DARWIN_CHECKS]) + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_automatic, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + if test "$lt_cv_ld_force_load" = "yes"; then + _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' + m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes], + [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes]) + else + _LT_TAGVAR(whole_archive_flag_spec, $1)='' + fi + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" + case $cc_basename in + ifort*) _lt_dar_can_shared=yes ;; + *) _lt_dar_can_shared=$GCC ;; + esac + if test "$_lt_dar_can_shared" = "yes"; then + output_verbose_link_cmd=func_echo_all + _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" + _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" + _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" + _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + m4_if([$1], [CXX], +[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then + _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" + _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" + fi +],[]) + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi +]) + +# _LT_SYS_MODULE_PATH_AIX([TAGNAME]) +# ---------------------------------- +# Links a minimal program and checks the executable +# for the system default hardcoded library path. In most cases, +# this is /usr/lib:/lib, but when the MPI compilers are used +# the location of the communication and MPI libs are included too. +# If we don't find anything, use the default library path according +# to the aix ld manual. +# Store the results from the different compilers for each TAGNAME. +# Allow to override them for all tags through lt_cv_aix_libpath. +m4_defun([_LT_SYS_MODULE_PATH_AIX], +[m4_require([_LT_DECL_SED])dnl +if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])], + [AC_LINK_IFELSE([AC_LANG_PROGRAM],[ + lt_aix_libpath_sed='[ + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }]' + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi],[]) + if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib" + fi + ]) + aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1]) +fi +])# _LT_SYS_MODULE_PATH_AIX + + +# _LT_SHELL_INIT(ARG) +# ------------------- +m4_define([_LT_SHELL_INIT], +[m4_divert_text([M4SH-INIT], [$1 +])])# _LT_SHELL_INIT + + + +# _LT_PROG_ECHO_BACKSLASH +# ----------------------- +# Find how we can fake an echo command that does not interpret backslash. +# In particular, with Autoconf 2.60 or later we add some code to the start +# of the generated configure script which will find a shell with a builtin +# printf (which we can use as an echo command). +m4_defun([_LT_PROG_ECHO_BACKSLASH], +[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + +AC_MSG_CHECKING([how to print strings]) +# Test print first, because it will be a builtin if present. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='print -r --' +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='printf %s\n' +else + # Use this function as a fallback that always works. + func_fallback_echo () + { + eval 'cat <<_LTECHO_EOF +$[]1 +_LTECHO_EOF' + } + ECHO='func_fallback_echo' +fi + +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "$*" +} + +case "$ECHO" in + printf*) AC_MSG_RESULT([printf]) ;; + print*) AC_MSG_RESULT([print -r]) ;; + *) AC_MSG_RESULT([cat]) ;; +esac + +m4_ifdef([_AS_DETECT_SUGGESTED], +[_AS_DETECT_SUGGESTED([ + test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || ( + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + PATH=/empty FPATH=/empty; export PATH FPATH + test "X`printf %s $ECHO`" = "X$ECHO" \ + || test "X`print -r -- $ECHO`" = "X$ECHO" )])]) + +_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) +_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes]) +])# _LT_PROG_ECHO_BACKSLASH + + +# _LT_WITH_SYSROOT +# ---------------- +AC_DEFUN([_LT_WITH_SYSROOT], +[AC_MSG_CHECKING([for sysroot]) +AC_ARG_WITH([sysroot], +[ --with-sysroot[=DIR] Search for dependent libraries within DIR + (or the compiler's sysroot if not specified).], +[], [with_sysroot=no]) + +dnl lt_sysroot will always be passed unquoted. We quote it here +dnl in case the user passed a directory name. +lt_sysroot= +case ${with_sysroot} in #( + yes) + if test "$GCC" = yes; then + lt_sysroot=`$CC --print-sysroot 2>/dev/null` + fi + ;; #( + /*) + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` + ;; #( + no|'') + ;; #( + *) + AC_MSG_RESULT([${with_sysroot}]) + AC_MSG_ERROR([The sysroot must be an absolute path.]) + ;; +esac + + AC_MSG_RESULT([${lt_sysroot:-no}]) +_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl +[dependent libraries, and in which our libraries should be installed.])]) + +# _LT_ENABLE_LOCK +# --------------- +m4_defun([_LT_ENABLE_LOCK], +[AC_ARG_ENABLE([libtool-lock], + [AS_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ +s390*-*linux*|s390*-*tpf*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.o` in + *32-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_i386_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*|powerpc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_x86_64_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*|s390*-*tpf*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, + [AC_LANG_PUSH(C) + AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) + AC_LANG_POP]) + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +*-*solaris*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.o` in + *64-bit*) + case $lt_cv_prog_gnu_ld in + yes*) + case $host in + i?86-*-solaris*) + LD="${LD-ld} -m elf_x86_64" + ;; + sparc*-*-solaris*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + # GNU ld 2.21 introduced _sol2 emulations. Use them if available. + if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then + LD="${LD-ld}_sol2" + fi + ;; + *) + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then + LD="${LD-ld} -64" + fi + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; +esac + +need_locks="$enable_libtool_lock" +])# _LT_ENABLE_LOCK + + +# _LT_PROG_AR +# ----------- +m4_defun([_LT_PROG_AR], +[AC_CHECK_TOOLS(AR, [ar], false) +: ${AR=ar} +: ${AR_FLAGS=cru} +_LT_DECL([], [AR], [1], [The archiver]) +_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) + +AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], + [lt_cv_ar_at_file=no + AC_COMPILE_IFELSE([AC_LANG_PROGRAM], + [echo conftest.$ac_objext > conftest.lst + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD' + AC_TRY_EVAL([lt_ar_try]) + if test "$ac_status" -eq 0; then + # Ensure the archiver fails upon bogus file names. + rm -f conftest.$ac_objext libconftest.a + AC_TRY_EVAL([lt_ar_try]) + if test "$ac_status" -ne 0; then + lt_cv_ar_at_file=@ + fi + fi + rm -f conftest.* libconftest.a + ]) + ]) + +if test "x$lt_cv_ar_at_file" = xno; then + archiver_list_spec= +else + archiver_list_spec=$lt_cv_ar_at_file +fi +_LT_DECL([], [archiver_list_spec], [1], + [How to feed a file listing to the archiver]) +])# _LT_PROG_AR + + +# _LT_CMD_OLD_ARCHIVE +# ------------------- +m4_defun([_LT_CMD_OLD_ARCHIVE], +[_LT_PROG_AR + +AC_CHECK_TOOL(STRIP, strip, :) +test -z "$STRIP" && STRIP=: +_LT_DECL([], [STRIP], [1], [A symbol stripping program]) + +AC_CHECK_TOOL(RANLIB, ranlib, :) +test -z "$RANLIB" && RANLIB=: +_LT_DECL([], [RANLIB], [1], + [Commands used to install an old-style archive]) + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" + ;; + *) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" +fi + +case $host_os in + darwin*) + lock_old_archive_extraction=yes ;; + *) + lock_old_archive_extraction=no ;; +esac +_LT_DECL([], [old_postinstall_cmds], [2]) +_LT_DECL([], [old_postuninstall_cmds], [2]) +_LT_TAGDECL([], [old_archive_cmds], [2], + [Commands used to build an old-style archive]) +_LT_DECL([], [lock_old_archive_extraction], [0], + [Whether to use a lock for old archive extraction]) +])# _LT_CMD_OLD_ARCHIVE + + +# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------------------- +# Check whether the given compiler option works +AC_DEFUN([_LT_COMPILER_OPTION], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_SED])dnl +AC_CACHE_CHECK([$1], [$2], + [$2=no + m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$3" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + $2=yes + fi + fi + $RM conftest* +]) + +if test x"[$]$2" = xyes; then + m4_if([$5], , :, [$5]) +else + m4_if([$6], , :, [$6]) +fi +])# _LT_COMPILER_OPTION + +# Old name: +AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) + + +# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------- +# Check whether the given linker option works +AC_DEFUN([_LT_LINKER_OPTION], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_SED])dnl +AC_CACHE_CHECK([$1], [$2], + [$2=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $3" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&AS_MESSAGE_LOG_FD + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + $2=yes + fi + else + $2=yes + fi + fi + $RM -r conftest* + LDFLAGS="$save_LDFLAGS" +]) + +if test x"[$]$2" = xyes; then + m4_if([$4], , :, [$4]) +else + m4_if([$5], , :, [$5]) +fi +])# _LT_LINKER_OPTION + +# Old name: +AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) + + +# LT_CMD_MAX_LEN +#--------------- +AC_DEFUN([LT_CMD_MAX_LEN], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +# find the maximum length of command line arguments +AC_MSG_CHECKING([the maximum length of command line arguments]) +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl + i=0 + teststring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw* | cegcc*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + mint*) + # On MiNT this can take a long time and run out of memory. + lt_cv_sys_max_cmd_len=8192; + ;; + + amigaos*) + # On AmigaOS with pdksh, this test takes hours, literally. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; + ;; + + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + ;; + + interix*) + # We know the value 262144 and hardcode it with a safety zone (like BSD) + lt_cv_sys_max_cmd_len=196608 + ;; + + os2*) + # The test takes a long time on OS/2. + lt_cv_sys_max_cmd_len=8192 + ;; + + osf*) + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not + # nice to cause kernel panics so lets avoid the loop below. + # First set a reasonable default. + lt_cv_sys_max_cmd_len=16384 + # + if test -x /sbin/sysconfig; then + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in + *1*) lt_cv_sys_max_cmd_len=-1 ;; + esac + fi + ;; + sco3.2v5*) + lt_cv_sys_max_cmd_len=102400 + ;; + sysv5* | sco5v6* | sysv4.2uw2*) + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` + if test -n "$kargmax"; then + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` + else + lt_cv_sys_max_cmd_len=32768 + fi + ;; + *) + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` + if test -n "$lt_cv_sys_max_cmd_len"; then + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + else + # Make teststring a little bigger before we do anything with it. + # a 1K string should be a reasonable start. + for i in 1 2 3 4 5 6 7 8 ; do + teststring=$teststring$teststring + done + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ + = "X$teststring$teststring"; } >/dev/null 2>&1 && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + teststring=$teststring$teststring + done + # Only check the string length outside the loop. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` + teststring= + # Add a significant safety factor because C++ compilers can tack on + # massive amounts of additional arguments before passing them to the + # linker. It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + fi + ;; + esac +]) +if test -n $lt_cv_sys_max_cmd_len ; then + AC_MSG_RESULT($lt_cv_sys_max_cmd_len) +else + AC_MSG_RESULT(none) +fi +max_cmd_len=$lt_cv_sys_max_cmd_len +_LT_DECL([], [max_cmd_len], [0], + [What is the maximum length of a command?]) +])# LT_CMD_MAX_LEN + +# Old name: +AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) + + +# _LT_HEADER_DLFCN +# ---------------- +m4_defun([_LT_HEADER_DLFCN], +[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl +])# _LT_HEADER_DLFCN + + +# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) +# ---------------------------------------------------------------- +m4_defun([_LT_TRY_DLOPEN_SELF], +[m4_require([_LT_HEADER_DLFCN])dnl +if test "$cross_compiling" = yes; then : + [$4] +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +[#line $LINENO "configure" +#include "confdefs.h" + +#if HAVE_DLFCN_H +#include <dlfcn.h> +#endif + +#include <stdio.h> + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif + +int fnord () { return 42; } +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } + /* dlclose (self); */ + } + else + puts (dlerror ()); + + return status; +}] +_LT_EOF + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) $1 ;; + x$lt_dlneed_uscore) $2 ;; + x$lt_dlunknown|x*) $3 ;; + esac + else : + # compilation failed + $3 + fi +fi +rm -fr conftest* +])# _LT_TRY_DLOPEN_SELF + + +# LT_SYS_DLOPEN_SELF +# ------------------ +AC_DEFUN([LT_SYS_DLOPEN_SELF], +[m4_require([_LT_HEADER_DLFCN])dnl +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32* | cegcc*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ]) + ;; + + *) + AC_CHECK_FUNC([shl_load], + [lt_cv_dlopen="shl_load"], + [AC_CHECK_LIB([dld], [shl_load], + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], + [AC_CHECK_FUNC([dlopen], + [lt_cv_dlopen="dlopen"], + [AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], + [AC_CHECK_LIB([svld], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], + [AC_CHECK_LIB([dld], [dld_link], + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) + ]) + ]) + ]) + ]) + ]) + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + AC_CACHE_CHECK([whether a program can dlopen itself], + lt_cv_dlopen_self, [dnl + _LT_TRY_DLOPEN_SELF( + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) + ]) + + if test "x$lt_cv_dlopen_self" = xyes; then + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" + AC_CACHE_CHECK([whether a statically linked program can dlopen itself], + lt_cv_dlopen_self_static, [dnl + _LT_TRY_DLOPEN_SELF( + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) + ]) + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi +_LT_DECL([dlopen_support], [enable_dlopen], [0], + [Whether dlopen is supported]) +_LT_DECL([dlopen_self], [enable_dlopen_self], [0], + [Whether dlopen of programs is supported]) +_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], + [Whether dlopen of statically linked programs is supported]) +])# LT_SYS_DLOPEN_SELF + +# Old name: +AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) + + +# _LT_COMPILER_C_O([TAGNAME]) +# --------------------------- +# Check to see if options -c and -o are simultaneously supported by compiler. +# This macro does not hard code the compiler like AC_PROG_CC_C_O. +m4_defun([_LT_COMPILER_C_O], +[m4_require([_LT_DECL_SED])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_TAG_COMPILER])dnl +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + fi + fi + chmod u+w . 2>&AS_MESSAGE_LOG_FD + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* +]) +_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], + [Does compiler simultaneously support -c and -o options?]) +])# _LT_COMPILER_C_O + + +# _LT_COMPILER_FILE_LOCKS([TAGNAME]) +# ---------------------------------- +# Check to see if we can do hard links to lock some files if needed +m4_defun([_LT_COMPILER_FILE_LOCKS], +[m4_require([_LT_ENABLE_LOCK])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +_LT_COMPILER_C_O([$1]) + +hard_links="nottested" +if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + AC_MSG_CHECKING([if we can lock with hard links]) + hard_links=yes + $RM conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + AC_MSG_RESULT([$hard_links]) + if test "$hard_links" = no; then + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) + need_locks=warn + fi +else + need_locks=no +fi +_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) +])# _LT_COMPILER_FILE_LOCKS + + +# _LT_CHECK_OBJDIR +# ---------------- +m4_defun([_LT_CHECK_OBJDIR], +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], +[rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null]) +objdir=$lt_cv_objdir +_LT_DECL([], [objdir], [0], + [The name of the directory that contains temporary libtool files])dnl +m4_pattern_allow([LT_OBJDIR])dnl +AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/", + [Define to the sub-directory in which libtool stores uninstalled libraries.]) +])# _LT_CHECK_OBJDIR + + +# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) +# -------------------------------------- +# Check hardcoding attributes. +m4_defun([_LT_LINKER_HARDCODE_LIBPATH], +[AC_MSG_CHECKING([how to hardcode library paths into programs]) +_LT_TAGVAR(hardcode_action, $1)= +if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || + test -n "$_LT_TAGVAR(runpath_var, $1)" || + test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then + + # We can hardcode non-existent directories. + if test "$_LT_TAGVAR(hardcode_direct, $1)" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no && + test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then + # Linking always hardcodes the temporary library directory. + _LT_TAGVAR(hardcode_action, $1)=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + _LT_TAGVAR(hardcode_action, $1)=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + _LT_TAGVAR(hardcode_action, $1)=unsupported +fi +AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) + +if test "$_LT_TAGVAR(hardcode_action, $1)" = relink || + test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi +_LT_TAGDECL([], [hardcode_action], [0], + [How to hardcode a shared library path into an executable]) +])# _LT_LINKER_HARDCODE_LIBPATH + + +# _LT_CMD_STRIPLIB +# ---------------- +m4_defun([_LT_CMD_STRIPLIB], +[m4_require([_LT_DECL_EGREP]) +striplib= +old_striplib= +AC_MSG_CHECKING([whether stripping libraries is possible]) +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + AC_MSG_RESULT([yes]) +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + old_striplib="$STRIP -S" + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + fi + ;; + *) + AC_MSG_RESULT([no]) + ;; + esac +fi +_LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) +_LT_DECL([], [striplib], [1]) +])# _LT_CMD_STRIPLIB + + +# _LT_SYS_DYNAMIC_LINKER([TAG]) +# ----------------------------- +# PORTME Fill in your ld.so characteristics +m4_defun([_LT_SYS_DYNAMIC_LINKER], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_OBJDUMP])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_CHECK_SHELL_FEATURES])dnl +AC_MSG_CHECKING([dynamic linker characteristics]) +m4_if([$1], + [], [ +if test "$GCC" = yes; then + case $host_os in + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; + *) lt_awk_arg="/^libraries:/" ;; + esac + case $host_os in + mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;; + *) lt_sed_strip_eq="s,=/,/,g" ;; + esac + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` + case $lt_search_path_spec in + *\;*) + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` + ;; + *) + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` + ;; + esac + # Ok, now we have the path, separated by spaces, we can step through it + # and add multilib dir if necessary. + lt_tmp_lt_search_path_spec= + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` + for lt_sys_path in $lt_search_path_spec; do + if test -d "$lt_sys_path/$lt_multi_os_dir"; then + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" + else + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' +BEGIN {RS=" "; FS="/|\n";} { + lt_foo=""; + lt_count=0; + for (lt_i = NF; lt_i > 0; lt_i--) { + if ($lt_i != "" && $lt_i != ".") { + if ($lt_i == "..") { + lt_count++; + } else { + if (lt_count == 0) { + lt_foo="/" $lt_i lt_foo; + } else { + lt_count--; + } + } + } + } + if (lt_foo != "") { lt_freq[[lt_foo]]++; } + if (lt_freq[[lt_foo]] == 1) { print lt_foo; } +}'` + # AWK program above erroneously prepends '/' to C:/dos/paths + # for these hosts. + case $host_os in + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ + $SED 's,/\([[A-Za-z]]:\),\1,g'` ;; + esac + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi]) +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix[[4-9]]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[[01]] | aix4.[[01]].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib<name>.so + # instead of lib<name>.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + case $host_cpu in + powerpc) + # Since July 2007 AmigaOS4 officially supports .so libraries. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + ;; + m68k) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + esac + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[[45]]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32* | cegcc*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$cc_basename in + yes,*) + # gcc + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; + fi' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' +m4_if([$1], [],[ + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + ;; + esac + dynamic_linker='Win32 ld.exe' + ;; + + *,cl*) + # Native MSVC + libname_spec='$name' + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + library_names_spec='${libname}.dll.lib' + + case $build_os in + mingw*) + sys_lib_search_path_spec= + lt_save_ifs=$IFS + IFS=';' + for lt_path in $LIB + do + IFS=$lt_save_ifs + # Let DOS variable expansion print the short 8.3 style file name. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" + done + IFS=$lt_save_ifs + # Convert to MSYS style. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'` + ;; + cygwin*) + # Convert to unix form, then to dos form, then back to unix form + # but this time dos style (no spaces!) so that the unix form looks + # like /cygdrive/c/PROGRA~1:/cygdr... + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + ;; + *) + sys_lib_search_path_spec="$LIB" + if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then + # It is most probably a Windows format PATH. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # FIXME: find the short name or the path components, as spaces are + # common. (e.g. "Program Files" -> "PROGRA~1") + ;; + esac + + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + dynamic_linker='Win32 link.exe' + ;; + + *) + # Assume MSVC wrapper + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' + dynamic_linker='Win32 ld.exe' + ;; + esac + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' +m4_if([$1], [],[ + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[[23]].*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2.*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[[01]]* | freebsdelf3.[[01]]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +haiku*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + dynamic_linker="$host_os runtime_loader" + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LIBRARY_PATH + shlibpath_overrides_runpath=yes + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555, ... + postinstall_cmds='chmod 555 $lib' + # or fails outright, so override atomically: + install_override_mode=555 + ;; + +interix[[3-9]]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux # correct to gnu/linux during the next big refactor + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + + # Some binutils ld are patched to set DT_RUNPATH + AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath], + [lt_cv_shlibpath_overrides_runpath=no + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ + LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], + [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], + [lt_cv_shlibpath_overrides_runpath=yes])]) + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + ]) + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath + + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # Add ABI-specific directories to the system library path. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" + + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +*nto* | *qnx*) + version_type=qnx + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='ldqnx.so' + ;; + +openbsd*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[[89]] | openbsd2.[[89]].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=freebsd-elf + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + if test "$with_gnu_ld" = yes; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +tpf*) + # TPF is a cross-target only. Preferred cross-host = GNU/Linux. + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +uts4*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +AC_MSG_RESULT([$dynamic_linker]) +test "$dynamic_linker" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" +fi +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" +fi + +_LT_DECL([], [variables_saved_for_relink], [1], + [Variables whose values should be saved in libtool wrapper scripts and + restored at link time]) +_LT_DECL([], [need_lib_prefix], [0], + [Do we need the "lib" prefix for modules?]) +_LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) +_LT_DECL([], [version_type], [0], [Library versioning type]) +_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) +_LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) +_LT_DECL([], [shlibpath_overrides_runpath], [0], + [Is shlibpath searched before the hard-coded library search path?]) +_LT_DECL([], [libname_spec], [1], [Format of library name prefix]) +_LT_DECL([], [library_names_spec], [1], + [[List of archive names. First name is the real one, the rest are links. + The last name is the one that the linker finds with -lNAME]]) +_LT_DECL([], [soname_spec], [1], + [[The coded name of the library, if different from the real name]]) +_LT_DECL([], [install_override_mode], [1], + [Permission mode override for installation of shared libraries]) +_LT_DECL([], [postinstall_cmds], [2], + [Command to use after installation of a shared archive]) +_LT_DECL([], [postuninstall_cmds], [2], + [Command to use after uninstallation of a shared archive]) +_LT_DECL([], [finish_cmds], [2], + [Commands used to finish a libtool library installation in a directory]) +_LT_DECL([], [finish_eval], [1], + [[As "finish_cmds", except a single script fragment to be evaled but + not shown]]) +_LT_DECL([], [hardcode_into_libs], [0], + [Whether we should hardcode library paths into libraries]) +_LT_DECL([], [sys_lib_search_path_spec], [2], + [Compile-time system search path for libraries]) +_LT_DECL([], [sys_lib_dlsearch_path_spec], [2], + [Run-time system search path for libraries]) +])# _LT_SYS_DYNAMIC_LINKER + + +# _LT_PATH_TOOL_PREFIX(TOOL) +# -------------------------- +# find a file program which can recognize shared library +AC_DEFUN([_LT_PATH_TOOL_PREFIX], +[m4_require([_LT_DECL_EGREP])dnl +AC_MSG_CHECKING([for $1]) +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, +[case $MAGIC_CMD in +[[\\/*] | ?:[\\/]*]) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR +dnl $ac_dummy forces splitting on constant user-supplied paths. +dnl POSIX.2 word splitting is done only on the output of word expansions, +dnl not every word. This closes a longstanding sh security hole. + ac_dummy="m4_if([$2], , $PATH, [$2])" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$1; then + lt_cv_path_MAGIC_CMD="$ac_dir/$1" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<_LT_EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +_LT_EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac]) +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + AC_MSG_RESULT($MAGIC_CMD) +else + AC_MSG_RESULT(no) +fi +_LT_DECL([], [MAGIC_CMD], [0], + [Used to examine libraries when file_magic_cmd begins with "file"])dnl +])# _LT_PATH_TOOL_PREFIX + +# Old name: +AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) + + +# _LT_PATH_MAGIC +# -------------- +# find a file program which can recognize a shared library +m4_defun([_LT_PATH_MAGIC], +[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) + else + MAGIC_CMD=: + fi +fi +])# _LT_PATH_MAGIC + + +# LT_PATH_LD +# ---------- +# find the pathname to the GNU or non-GNU linker +AC_DEFUN([LT_PATH_LD], +[AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_PROG_ECHO_BACKSLASH])dnl + +AC_ARG_WITH([gnu-ld], + [AS_HELP_STRING([--with-gnu-ld], + [assume the C compiler uses GNU ld @<:@default=no@:>@])], + [test "$withval" = no || with_gnu_ld=yes], + [with_gnu_ld=no])dnl + +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + AC_MSG_CHECKING([for ld used by $CC]) + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [[\\/]]* | ?:[[\\/]]*) + re_direlt='/[[^/]][[^/]]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + AC_MSG_CHECKING([for GNU ld]) +else + AC_MSG_CHECKING([for non-GNU ld]) +fi +AC_CACHE_VAL(lt_cv_path_LD, +[if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in + *GNU* | *'with BFD'*) + test "$with_gnu_ld" != no && break + ;; + *) + test "$with_gnu_ld" != yes && break + ;; + esac + fi + done + IFS="$lt_save_ifs" +else + lt_cv_path_LD="$LD" # Let the user override the test with a path. +fi]) +LD="$lt_cv_path_LD" +if test -n "$LD"; then + AC_MSG_RESULT($LD) +else + AC_MSG_RESULT(no) +fi +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) +_LT_PATH_LD_GNU +AC_SUBST([LD]) + +_LT_TAGDECL([], [LD], [1], [The linker used to build libraries]) +])# LT_PATH_LD + +# Old names: +AU_ALIAS([AM_PROG_LD], [LT_PATH_LD]) +AU_ALIAS([AC_PROG_LD], [LT_PATH_LD]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_PROG_LD], []) +dnl AC_DEFUN([AC_PROG_LD], []) + + +# _LT_PATH_LD_GNU +#- -------------- +m4_defun([_LT_PATH_LD_GNU], +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, +[# I'd rather use --version here, but apparently some GNU lds only accept -v. +case `$LD -v 2>&1 </dev/null` in +*GNU* | *'with BFD'*) + lt_cv_prog_gnu_ld=yes + ;; +*) + lt_cv_prog_gnu_ld=no + ;; +esac]) +with_gnu_ld=$lt_cv_prog_gnu_ld +])# _LT_PATH_LD_GNU + + +# _LT_CMD_RELOAD +# -------------- +# find reload flag for linker +# -- PORTME Some linkers may need a different reload flag. +m4_defun([_LT_CMD_RELOAD], +[AC_CACHE_CHECK([for $LD option to reload object files], + lt_cv_ld_reload_flag, + [lt_cv_ld_reload_flag='-r']) +reload_flag=$lt_cv_ld_reload_flag +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' +case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + if test "$GCC" != yes; then + reload_cmds=false + fi + ;; + darwin*) + if test "$GCC" = yes; then + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' + else + reload_cmds='$LD$reload_flag -o $output$reload_objs' + fi + ;; +esac +_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl +_LT_TAGDECL([], [reload_cmds], [2])dnl +])# _LT_CMD_RELOAD + + +# _LT_CHECK_MAGIC_METHOD +# ---------------------- +# how to check for library dependencies +# -- PORTME fill in with the dynamic library characteristics +m4_defun([_LT_CHECK_MAGIC_METHOD], +[m4_require([_LT_DECL_EGREP]) +m4_require([_LT_DECL_OBJDUMP]) +AC_CACHE_CHECK([how to recognize dependent libraries], +lt_cv_deplibs_check_method, +[lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_deplibs_check_method='unknown' +# Need to set the preceding variable on all platforms that support +# interlibrary dependencies. +# 'none' -- dependencies not supported. +# `unknown' -- same as none, but documents that we really don't know. +# 'pass_all' -- all dependencies passed with no checks. +# 'test_compile' -- check by making test program. +# 'file_magic [[regex]]' -- check by looking for files in library path +# which responds to the $file_magic_cmd with a given extended regex. +# If you have `file' or equivalent on your system and you're not sure +# whether `pass_all' will *always* work, you probably want this one. + +case $host_os in +aix[[4-9]]*) + lt_cv_deplibs_check_method=pass_all + ;; + +beos*) + lt_cv_deplibs_check_method=pass_all + ;; + +bsdi[[45]]*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' + lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_test_file=/shlib/libc.so + ;; + +cygwin*) + # func_win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + ;; + +mingw* | pw32*) + # Base MSYS/MinGW do not provide the 'file' command needed by + # func_win32_libid shell function, so use a weaker test based on 'objdump', + # unless we find 'file', for example because we are cross-compiling. + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. + if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + else + # Keep this pattern in sync with the one in func_win32_libid. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' + lt_cv_file_magic_cmd='$OBJDUMP -f' + fi + ;; + +cegcc*) + # use the weaker test based on 'objdump'. See mingw*. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + ;; + +darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +freebsd* | dragonfly*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +haiku*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case $host_cpu in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'] + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac + ;; + +interix[[3-9]]*) + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' + ;; + +irix5* | irix6* | nonstopux*) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + lt_cv_deplibs_check_method=pass_all + ;; + +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + lt_cv_deplibs_check_method=pass_all + ;; + +netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' + fi + ;; + +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +*nto* | *qnx*) + lt_cv_deplibs_check_method=pass_all + ;; + +openbsd*) + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + fi + ;; + +osf3* | osf4* | osf5*) + lt_cv_deplibs_check_method=pass_all + ;; + +rdos*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv4 | sysv4.3*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; + pc) + lt_cv_deplibs_check_method=pass_all + ;; + esac + ;; + +tpf*) + lt_cv_deplibs_check_method=pass_all + ;; +esac +]) + +file_magic_glob= +want_nocaseglob=no +if test "$build" = "$host"; then + case $host_os in + mingw* | pw32*) + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then + want_nocaseglob=yes + else + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"` + fi + ;; + esac +fi + +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown + +_LT_DECL([], [deplibs_check_method], [1], + [Method to check whether dependent libraries are shared objects]) +_LT_DECL([], [file_magic_cmd], [1], + [Command to use when deplibs_check_method = "file_magic"]) +_LT_DECL([], [file_magic_glob], [1], + [How to find potential files when deplibs_check_method = "file_magic"]) +_LT_DECL([], [want_nocaseglob], [1], + [Find potential files using nocaseglob when deplibs_check_method = "file_magic"]) +])# _LT_CHECK_MAGIC_METHOD + + +# LT_PATH_NM +# ---------- +# find the pathname to a BSD- or MS-compatible name lister +AC_DEFUN([LT_PATH_NM], +[AC_REQUIRE([AC_PROG_CC])dnl +AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, +[if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_nm_to_check="${ac_tool_prefix}nm" + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then + lt_nm_to_check="$lt_nm_to_check nm" + fi + for lt_tmp_nm in $lt_nm_to_check; do + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/$lt_tmp_nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + ;; + esac + fi + done + IFS="$lt_save_ifs" + done + : ${lt_cv_path_NM=no} +fi]) +if test "$lt_cv_path_NM" != "no"; then + NM="$lt_cv_path_NM" +else + # Didn't find any BSD compatible name lister, look for dumpbin. + if test -n "$DUMPBIN"; then : + # Let the user override the test. + else + AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in + *COFF*) + DUMPBIN="$DUMPBIN -symbols" + ;; + *) + DUMPBIN=: + ;; + esac + fi + AC_SUBST([DUMPBIN]) + if test "$DUMPBIN" != ":"; then + NM="$DUMPBIN" + fi +fi +test -z "$NM" && NM=nm +AC_SUBST([NM]) +_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl + +AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], + [lt_cv_nm_interface="BSD nm" + echo "int some_variable = 0;" > conftest.$ac_ext + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$ac_compile" 2>conftest.err) + cat conftest.err >&AS_MESSAGE_LOG_FD + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) + cat conftest.err >&AS_MESSAGE_LOG_FD + (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD) + cat conftest.out >&AS_MESSAGE_LOG_FD + if $GREP 'External.*some_variable' conftest.out > /dev/null; then + lt_cv_nm_interface="MS dumpbin" + fi + rm -f conftest*]) +])# LT_PATH_NM + +# Old names: +AU_ALIAS([AM_PROG_NM], [LT_PATH_NM]) +AU_ALIAS([AC_PROG_NM], [LT_PATH_NM]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_PROG_NM], []) +dnl AC_DEFUN([AC_PROG_NM], []) + +# _LT_CHECK_SHAREDLIB_FROM_LINKLIB +# -------------------------------- +# how to determine the name of the shared library +# associated with a specific link library. +# -- PORTME fill in with the dynamic library characteristics +m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB], +[m4_require([_LT_DECL_EGREP]) +m4_require([_LT_DECL_OBJDUMP]) +m4_require([_LT_DECL_DLLTOOL]) +AC_CACHE_CHECK([how to associate runtime and link libraries], +lt_cv_sharedlib_from_linklib_cmd, +[lt_cv_sharedlib_from_linklib_cmd='unknown' + +case $host_os in +cygwin* | mingw* | pw32* | cegcc*) + # two different shell functions defined in ltmain.sh + # decide which to use based on capabilities of $DLLTOOL + case `$DLLTOOL --help 2>&1` in + *--identify-strict*) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib + ;; + *) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback + ;; + esac + ;; +*) + # fallback: assume linklib IS sharedlib + lt_cv_sharedlib_from_linklib_cmd="$ECHO" + ;; +esac +]) +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO + +_LT_DECL([], [sharedlib_from_linklib_cmd], [1], + [Command to associate shared and link libraries]) +])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB + + +# _LT_PATH_MANIFEST_TOOL +# ---------------------- +# locate the manifest tool +m4_defun([_LT_PATH_MANIFEST_TOOL], +[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :) +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt +AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool], + [lt_cv_path_mainfest_tool=no + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out + cat conftest.err >&AS_MESSAGE_LOG_FD + if $GREP 'Manifest Tool' conftest.out > /dev/null; then + lt_cv_path_mainfest_tool=yes + fi + rm -f conftest*]) +if test "x$lt_cv_path_mainfest_tool" != xyes; then + MANIFEST_TOOL=: +fi +_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl +])# _LT_PATH_MANIFEST_TOOL + + +# LT_LIB_M +# -------- +# check for math library +AC_DEFUN([LT_LIB_M], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +LIBM= +case $host in +*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) + # These system don't have libm, or don't need it + ;; +*-ncr-sysv4.3*) + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") + ;; +*) + AC_CHECK_LIB(m, cos, LIBM="-lm") + ;; +esac +AC_SUBST([LIBM]) +])# LT_LIB_M + +# Old name: +AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_CHECK_LIBM], []) + + +# _LT_COMPILER_NO_RTTI([TAGNAME]) +# ------------------------------- +m4_defun([_LT_COMPILER_NO_RTTI], +[m4_require([_LT_TAG_COMPILER])dnl + +_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= + +if test "$GCC" = yes; then + case $cc_basename in + nvcc*) + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;; + *) + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;; + esac + + _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], + lt_cv_prog_compiler_rtti_exceptions, + [-fno-rtti -fno-exceptions], [], + [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) +fi +_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1], + [Compiler flag to turn off builtin functions]) +])# _LT_COMPILER_NO_RTTI + + +# _LT_CMD_GLOBAL_SYMBOLS +# ---------------------- +m4_defun([_LT_CMD_GLOBAL_SYMBOLS], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([LT_PATH_NM])dnl +AC_REQUIRE([LT_PATH_LD])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_TAG_COMPILER])dnl + +# Check for command to grab the raw symbol name followed by C symbol from nm. +AC_MSG_CHECKING([command to parse $NM output from $compiler object]) +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], +[ +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[[BCDEGRST]]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[[BCDT]]' + ;; +cygwin* | mingw* | pw32* | cegcc*) + symcode='[[ABCDGISTW]]' + ;; +hpux*) + if test "$host_cpu" = ia64; then + symcode='[[ABCDEGRST]]' + fi + ;; +irix* | nonstopux*) + symcode='[[BCDEGRST]]' + ;; +osf*) + symcode='[[BCDEGQRST]]' + ;; +solaris*) + symcode='[[BDRT]]' + ;; +sco3.2v5*) + symcode='[[DT]]' + ;; +sysv4.2uw2*) + symcode='[[DT]]' + ;; +sysv5* | sco5v6* | unixware* | OpenUNIX*) + symcode='[[ABDT]]' + ;; +sysv4) + symcode='[[DFNSTU]]' + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[[ABCDGIRSTW]]' ;; +esac + +# Transform an extracted symbol line into a proper C declaration. +# Some systems (esp. on ia64) link data and code symbols differently, +# so use this general approach. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'" +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'" + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# Try without a prefix underscore, then with it. +for ac_symprfx in "" "_"; do + + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. + symxfrm="\\1 $ac_symprfx\\2 \\2" + + # Write the raw and C identifiers. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then + # Fake it for dumpbin and say T for any non-static function + # and D for any global variable. + # Also find C++ and __fastcall symbols from MSVC++, + # which start with @ or ?. + lt_cv_sys_global_symbol_pipe="$AWK ['"\ +" {last_section=section; section=\$ 3};"\ +" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ +" \$ 0!~/External *\|/{next};"\ +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ +" {if(hide[section]) next};"\ +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ +" s[1]~/^[@?]/{print s[1], s[1]; next};"\ +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ +" ' prfx=^$ac_symprfx]" + else + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" + fi + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext <<_LT_EOF +#ifdef __cplusplus +extern "C" { +#endif +char nm_test_var; +void nm_test_func(void); +void nm_test_func(void){} +#ifdef __cplusplus +} +#endif +int main(){nm_test_var='a';nm_test_func();return(0);} +_LT_EOF + + if AC_TRY_EVAL(ac_compile); then + # Now try to grab the symbols. + nlist=conftest.nm + if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then + cat <<_LT_EOF > conftest.$ac_ext +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) +/* DATA imports from DLLs on WIN32 con't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT@&t@_DLSYM_CONST +#elif defined(__osf__) +/* This system does not cope well with relocations in const data. */ +# define LT@&t@_DLSYM_CONST +#else +# define LT@&t@_DLSYM_CONST const +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +_LT_EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' + + cat <<_LT_EOF >> conftest.$ac_ext + +/* The mapping between symbol names and symbols. */ +LT@&t@_DLSYM_CONST struct { + const char *name; + void *address; +} +lt__PROGRAM__LTX_preloaded_symbols[[]] = +{ + { "@PROGRAM@", (void *) 0 }, +_LT_EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext + cat <<\_LT_EOF >> conftest.$ac_ext + {0, (void *) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt__PROGRAM__LTX_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif +_LT_EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_globsym_save_LIBS=$LIBS + lt_globsym_save_CFLAGS=$CFLAGS + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS=$lt_globsym_save_LIBS + CFLAGS=$lt_globsym_save_CFLAGS + else + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD + fi + else + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.$ac_ext >&5 + fi + rm -rf conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done +]) +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + AC_MSG_RESULT(failed) +else + AC_MSG_RESULT(ok) +fi + +# Response file support. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then + nm_file_list_spec='@' +elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then + nm_file_list_spec='@' +fi + +_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], + [Take the output of nm and produce a listing of raw symbols and C names]) +_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], + [Transform the output of nm in a proper C declaration]) +_LT_DECL([global_symbol_to_c_name_address], + [lt_cv_sys_global_symbol_to_c_name_address], [1], + [Transform the output of nm in a C name address pair]) +_LT_DECL([global_symbol_to_c_name_address_lib_prefix], + [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], + [Transform the output of nm in a C name address pair when lib prefix is needed]) +_LT_DECL([], [nm_file_list_spec], [1], + [Specify filename containing input files for $NM]) +]) # _LT_CMD_GLOBAL_SYMBOLS + + +# _LT_COMPILER_PIC([TAGNAME]) +# --------------------------- +m4_defun([_LT_COMPILER_PIC], +[m4_require([_LT_TAG_COMPILER])dnl +_LT_TAGVAR(lt_prog_compiler_wl, $1)= +_LT_TAGVAR(lt_prog_compiler_pic, $1)= +_LT_TAGVAR(lt_prog_compiler_static, $1)= + +m4_if([$1], [CXX], [ + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | cygwin* | os2* | pw32* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + _LT_TAGVAR(lt_prog_compiler_static, $1)= + ;; + interix[[3-9]]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + sysv4*MP*) + if test -d /usr/nec; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + *qnx* | *nto*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + case $host_os in + aix[[4-9]]*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68*) + # Green Hills C++ Compiler + # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + mingw* | cygwin* | os2* | pw32* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + dgux*) + case $cc_basename in + ec++*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + ghcx*) + # Green Hills C++ Compiler + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + freebsd* | dragonfly*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + if test "$host_cpu" != ia64; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + fi + ;; + aCC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + interix*) + # This is c89, which is MS Visual C++ (no shared libs) + # Anyone wants to do a port? + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + KCC*) + # KAI C++ Compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + ecpc* ) + # old Intel C++ for x86_64 which still supported -KPIC. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + icpc* ) + # Intel C++, used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + pgCC* | pgcpp*) + # Portland Group C++ compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + cxx*) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*) + # IBM XL 8.0, 9.0 on PPC and BlueGene + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + esac + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + *qnx* | *nto*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + ;; + RCC*) + # Rational C++ 2.4.1 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + cxx*) + # Digital/Compaq C++ + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + solaris*) + case $cc_basename in + CC* | sunCC*) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + gcx*) + # Green Hills C++ Compiler + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + lcc*) + # Lucid + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + case $cc_basename in + CC*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + *) + ;; + esac + ;; + vxworks*) + ;; + *) + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +], +[ + if test "$GCC" = yes; then + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + _LT_TAGVAR(lt_prog_compiler_static, $1)= + ;; + + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + # +Z the default + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + + interix[[3-9]]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + enable_shared=no + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + + case $cc_basename in + nvcc*) # Cuda Compiler Driver 2.2 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker ' + if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)" + fi + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + + hpux9* | hpux10* | hpux11*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC (with -KPIC) is the default. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + # old Intel for x86_64 which still supported -KPIC. + ecc*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + # icc used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + icc* | ifort*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + # Lahey Fortran 8.1. + lf95*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' + _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' + ;; + nagfor*) + # NAG Fortran compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + ccc*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All Alpha code is PIC. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + xl* | bgxl* | bgf* | mpixl*) + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='' + ;; + *Sun\ F* | *Sun*Fortran*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + *Sun\ C*) + # Sun C 5.9 + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + ;; + *Intel*\ [[CF]]*Compiler*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + *Portland\ Group*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + esac + ;; + esac + ;; + + newsos6) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' + ;; + + osf3* | osf4* | osf5*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All OSF/1 code is PIC. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + rdos*) + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + solaris*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + case $cc_basename in + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; + *) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; + esac + ;; + + sunos4*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + unicos*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + + uts4*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + *) + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +]) +case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + *) + _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" + ;; +esac + +AC_CACHE_CHECK([for $compiler option to produce PIC], + [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)], + [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) +_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1) + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then + _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works], + [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)], + [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [], + [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in + "" | " "*) ;; + *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;; + esac], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) +fi +_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], + [Additional compiler flags for building library objects]) + +_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], + [How to pass a linker flag through the compiler]) +# +# Check to make sure the static flag actually works. +# +wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\" +_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], + _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1), + $lt_tmp_static_flag, + [], + [_LT_TAGVAR(lt_prog_compiler_static, $1)=]) +_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1], + [Compiler flag to prevent dynamic linking]) +])# _LT_COMPILER_PIC + + +# _LT_LINKER_SHLIBS([TAGNAME]) +# ---------------------------- +# See if the linker supports building shared libraries. +m4_defun([_LT_LINKER_SHLIBS], +[AC_REQUIRE([LT_PATH_LD])dnl +AC_REQUIRE([LT_PATH_NM])dnl +m4_require([_LT_PATH_MANIFEST_TOOL])dnl +m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_DECL_SED])dnl +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl +m4_require([_LT_TAG_COMPILER])dnl +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +m4_if([$1], [CXX], [ + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] + case $host_os in + aix[[4-9]]*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global defined + # symbols, whereas GNU nm marks them as "W". + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + else + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" + ;; + cygwin* | mingw* | cegcc*) + case $cc_basename in + cl*) + _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' + ;; + *) + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] + ;; + esac + ;; + *) + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac +], [ + runpath_var= + _LT_TAGVAR(allow_undefined_flag, $1)= + _LT_TAGVAR(always_export_symbols, $1)=no + _LT_TAGVAR(archive_cmds, $1)= + _LT_TAGVAR(archive_expsym_cmds, $1)= + _LT_TAGVAR(compiler_needs_object, $1)=no + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + _LT_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(hardcode_automatic, $1)=no + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_direct_absolute, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_TAGVAR(hardcode_libdir_separator, $1)= + _LT_TAGVAR(hardcode_minus_L, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_TAGVAR(inherit_rpath, $1)=no + _LT_TAGVAR(link_all_deplibs, $1)=unknown + _LT_TAGVAR(module_cmds, $1)= + _LT_TAGVAR(module_expsym_cmds, $1)= + _LT_TAGVAR(old_archive_from_new_cmds, $1)= + _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= + _LT_TAGVAR(thread_safe_flag_spec, $1)= + _LT_TAGVAR(whole_archive_flag_spec, $1)= + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + _LT_TAGVAR(include_expsyms, $1)= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + # Exclude shared library initialization/finalization symbols. +dnl Note also adjust exclude_expsyms for C++ above. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + _LT_TAGVAR(ld_shlibs, $1)=yes + + # On some targets, GNU ld is compatible enough with the native linker + # that we're better off using the native interface for both. + lt_use_gnu_ld_interface=no + if test "$with_gnu_ld" = yes; then + case $host_os in + aix*) + # The AIX port of GNU ld has always aspired to compatibility + # with the native linker. However, as the warning in the GNU ld + # block says, versions before 2.19.5* couldn't really create working + # shared libraries, regardless of the interface used. + case `$LD -v 2>&1` in + *\ \(GNU\ Binutils\)\ 2.19.5*) ;; + *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;; + *\ \(GNU\ Binutils\)\ [[3-9]]*) ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + fi + + if test "$lt_use_gnu_ld_interface" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + runpath_var=LD_RUN_PATH + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_TAGVAR(whole_archive_flag_spec, $1)= + fi + supports_anon_versioning=no + case `$LD -v 2>&1` in + *GNU\ gold*) supports_anon_versioning=yes ;; + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + + # See if GNU ld supports shared libraries. + case $host_os in + aix[[3-9]]*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + _LT_TAGVAR(ld_shlibs, $1)=no + cat <<_LT_EOF 1>&2 + +*** Warning: the GNU linker, at least up to release 2.19, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to install binutils +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. +*** You will then need to restart the configuration process. + +_LT_EOF + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='' + ;; + m68k) + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + ;; + + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=no + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + haiku*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + + interix[[3-9]]*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) + tmp_diet=no + if test "$host_os" = linux-dietlibc; then + case $cc_basename in + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) + esac + fi + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ + && test "$tmp_diet" = no + then + tmp_addflag=' $pic_flag' + tmp_sharedflag='-shared' + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; + pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group f77 and f90 compilers + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + lf95*) # Lahey Fortran 8.1 + _LT_TAGVAR(whole_archive_flag_spec, $1)= + tmp_sharedflag='--shared' ;; + xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) + tmp_sharedflag='-qmkshrobj' + tmp_addflag= ;; + nvcc*) # Cuda Compiler Driver 2.2 + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(compiler_needs_object, $1)=yes + ;; + esac + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) # Sun C 5.9 + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(compiler_needs_object, $1)=yes + tmp_sharedflag='-G' ;; + *Sun\ F*) # Sun Fortran 8.3 + tmp_sharedflag='-G' ;; + esac + _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + + if test "x$supports_anon_versioning" = xyes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + + case $cc_basename in + xlf* | bgf* | bgxlf* | mpixlf*) + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself + _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' + if test "x$supports_anon_versioning" = xyes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' + fi + ;; + esac + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris*) + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then + _LT_TAGVAR(ld_shlibs, $1)=no + cat <<_LT_EOF 1>&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) + _LT_TAGVAR(ld_shlibs, $1)=no + cat <<_LT_EOF 1>&2 + +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not +*** reliably create shared libraries on SCO systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + ;; + *) + # For security reasons, it is highly recommended that you always + # use absolute paths for naming shared libraries, and exclude the + # DT_RUNPATH tag from executables and libraries. But doing so + # requires that you compile everything twice, which is a pain. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + sunos4*) + _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + + if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then + runpath_var= + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=yes + _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + _LT_TAGVAR(hardcode_direct, $1)=unsupported + fi + ;; + + aix[[4-9]]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global + # defined symbols, whereas GNU nm marks them as "W". + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + else + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_TAGVAR(archive_cmds, $1)='' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' + + if test "$GCC" = yes; then + case $host_os in aix4.[[012]]|aix4.[[012]].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && + strings "$collect2name" | $GREP resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + _LT_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)= + fi + ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an + # empty executable. + _LT_SYS_MODULE_PATH_AIX([$1]) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an + # empty executable. + _LT_SYS_MODULE_PATH_AIX([$1]) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds its shared libraries. + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='' + ;; + m68k) + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + ;; + + bsdi[[45]]*) + _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + case $cc_basename in + cl*) + # Native MSVC + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' + # Don't use ranlib + _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' + _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # Assume MSVC wrapper + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + # FIXME: Should let the user specify the lib program. + _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + ;; + esac + ;; + + darwin* | rhapsody*) + _LT_DARWIN_LINKER_FEATURES($1) + ;; + + dgux*) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2.*) + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | dragonfly*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + hpux9*) + if test "$GCC" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(hardcode_direct, $1)=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + + hpux10*) + if test "$GCC" = yes && test "$with_gnu_ld" = no; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + fi + if test "$with_gnu_ld" = no; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + fi + ;; + + hpux11*) + if test "$GCC" = yes && test "$with_gnu_ld" = no; then + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + m4_if($1, [], [ + # Older versions of the 11.00 compiler do not understand -b yet + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) + _LT_LINKER_OPTION([if $CC understands -b], + _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b], + [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], + [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])], + [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags']) + ;; + esac + fi + if test "$with_gnu_ld" = no; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + case $host_cpu in + hppa*64*|ia64*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + *) + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + # Try to use the -exported_symbol ld option, if it does not + # work, assume that -exports_file does not work either and + # implicitly export all symbols. + # This should be the same for all languages, so no per-tag cache variable. + AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol], + [lt_cv_irix_exported_symbol], + [save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" + AC_LINK_IFELSE( + [AC_LANG_SOURCE( + [AC_LANG_CASE([C], [[int foo (void) { return 0; }]], + [C++], [[int foo (void) { return 0; }]], + [Fortran 77], [[ + subroutine foo + end]], + [Fortran], [[ + subroutine foo + end]])])], + [lt_cv_irix_exported_symbol=yes], + [lt_cv_irix_exported_symbol=no]) + LDFLAGS="$save_LDFLAGS"]) + if test "$lt_cv_irix_exported_symbol" = yes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' + fi + else + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)='no' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(inherit_rpath, $1)=yes + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + newsos6) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *nto* | *qnx*) + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + else + case $host_os in + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + ;; + esac + fi + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + os2*) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)='no' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + else + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' + + # Both c and cxx compiler support -rpath directly + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)='no' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + + solaris*) + _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' + if test "$GCC" = yes; then + wlarc='${wl}' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + else + case `$CC -V 2>&1` in + *"Compilers 5.0"*) + wlarc='' + _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' + ;; + *) + wlarc='${wl}' + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + ;; + esac + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. GCC discards it without `$wl', + # but is careful enough not to reorder. + # Supported since Solaris 2.6 (maybe 2.5.1?) + if test "$GCC" = yes; then + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + else + _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' + fi + ;; + esac + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv4) + case $host_vendor in + sni) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' + _LT_TAGVAR(hardcode_direct, $1)=no + ;; + motorola) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv4.3*) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + _LT_TAGVAR(ld_shlibs, $1)=yes + fi + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + uts4*) + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + + if test x$host_vendor = xsni; then + case $host in + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym' + ;; + esac + fi + fi +]) +AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) +test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + +_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld + +_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl +_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl +_LT_DECL([], [extract_expsyms_cmds], [2], + [The commands to extract the exported symbol list from a shared archive]) + +# +# Do we need to explicitly link libc? +# +case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in +x|xyes) + # Assume -lc should be added + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $_LT_TAGVAR(archive_cmds, $1) in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + AC_CACHE_CHECK([whether -lc should be explicitly linked in], + [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1), + [$RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) + pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) + _LT_TAGVAR(allow_undefined_flag, $1)= + if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) + then + lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no + else + lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes + fi + _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $RM conftest* + ]) + _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1) + ;; + esac + fi + ;; +esac + +_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0], + [Whether or not to add -lc for building shared libraries]) +_LT_TAGDECL([allow_libtool_libs_with_static_runtimes], + [enable_shared_with_static_runtimes], [0], + [Whether or not to disallow shared libs when runtime libs are static]) +_LT_TAGDECL([], [export_dynamic_flag_spec], [1], + [Compiler flag to allow reflexive dlopens]) +_LT_TAGDECL([], [whole_archive_flag_spec], [1], + [Compiler flag to generate shared objects directly from archives]) +_LT_TAGDECL([], [compiler_needs_object], [1], + [Whether the compiler copes with passing no objects directly]) +_LT_TAGDECL([], [old_archive_from_new_cmds], [2], + [Create an old-style archive from a shared archive]) +_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2], + [Create a temporary old-style archive to link instead of a shared archive]) +_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive]) +_LT_TAGDECL([], [archive_expsym_cmds], [2]) +_LT_TAGDECL([], [module_cmds], [2], + [Commands used to build a loadable module if different from building + a shared archive.]) +_LT_TAGDECL([], [module_expsym_cmds], [2]) +_LT_TAGDECL([], [with_gnu_ld], [1], + [Whether we are building with GNU ld or not]) +_LT_TAGDECL([], [allow_undefined_flag], [1], + [Flag that allows shared libraries with undefined symbols to be built]) +_LT_TAGDECL([], [no_undefined_flag], [1], + [Flag that enforces no undefined symbols]) +_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], + [Flag to hardcode $libdir into a binary during linking. + This must work even if $libdir does not exist]) +_LT_TAGDECL([], [hardcode_libdir_separator], [1], + [Whether we need a single "-rpath" flag with a separated argument]) +_LT_TAGDECL([], [hardcode_direct], [0], + [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes + DIR into the resulting binary]) +_LT_TAGDECL([], [hardcode_direct_absolute], [0], + [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes + DIR into the resulting binary and the resulting library dependency is + "absolute", i.e impossible to change by setting ${shlibpath_var} if the + library is relocated]) +_LT_TAGDECL([], [hardcode_minus_L], [0], + [Set to "yes" if using the -LDIR flag during linking hardcodes DIR + into the resulting binary]) +_LT_TAGDECL([], [hardcode_shlibpath_var], [0], + [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR + into the resulting binary]) +_LT_TAGDECL([], [hardcode_automatic], [0], + [Set to "yes" if building a shared library automatically hardcodes DIR + into the library and all subsequent libraries and executables linked + against it]) +_LT_TAGDECL([], [inherit_rpath], [0], + [Set to yes if linker adds runtime paths of dependent libraries + to runtime path list]) +_LT_TAGDECL([], [link_all_deplibs], [0], + [Whether libtool must link a program against all its dependency libraries]) +_LT_TAGDECL([], [always_export_symbols], [0], + [Set to "yes" if exported symbols are required]) +_LT_TAGDECL([], [export_symbols_cmds], [2], + [The commands to list exported symbols]) +_LT_TAGDECL([], [exclude_expsyms], [1], + [Symbols that should not be listed in the preloaded symbols]) +_LT_TAGDECL([], [include_expsyms], [1], + [Symbols that must always be exported]) +_LT_TAGDECL([], [prelink_cmds], [2], + [Commands necessary for linking programs (against libraries) with templates]) +_LT_TAGDECL([], [postlink_cmds], [2], + [Commands necessary for finishing linking programs]) +_LT_TAGDECL([], [file_list_spec], [1], + [Specify filename containing input files]) +dnl FIXME: Not yet implemented +dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1], +dnl [Compiler flag to generate thread safe objects]) +])# _LT_LINKER_SHLIBS + + +# _LT_LANG_C_CONFIG([TAG]) +# ------------------------ +# Ensure that the configuration variables for a C compiler are suitably +# defined. These variables are subsequently used by _LT_CONFIG to write +# the compiler configuration to `libtool'. +m4_defun([_LT_LANG_C_CONFIG], +[m4_require([_LT_DECL_EGREP])dnl +lt_save_CC="$CC" +AC_LANG_PUSH(C) + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}' + +_LT_TAG_COMPILER +# Save the default compiler, since it gets overwritten when the other +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. +compiler_DEFAULT=$CC + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... +if test -n "$compiler"; then + _LT_COMPILER_NO_RTTI($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + LT_SYS_DLOPEN_SELF + _LT_CMD_STRIPLIB + + # Report which library types will actually be built + AC_MSG_CHECKING([if libtool supports shared libraries]) + AC_MSG_RESULT([$can_build_shared]) + + AC_MSG_CHECKING([whether to build shared libraries]) + test "$can_build_shared" = "no" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + + aix[[4-9]]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + esac + AC_MSG_RESULT([$enable_shared]) + + AC_MSG_CHECKING([whether to build static libraries]) + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + AC_MSG_RESULT([$enable_static]) + + _LT_CONFIG($1) +fi +AC_LANG_POP +CC="$lt_save_CC" +])# _LT_LANG_C_CONFIG + + +# _LT_LANG_CXX_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for a C++ compiler are suitably +# defined. These variables are subsequently used by _LT_CONFIG to write +# the compiler configuration to `libtool'. +m4_defun([_LT_LANG_CXX_CONFIG], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_PATH_MANIFEST_TOOL])dnl +if test -n "$CXX" && ( test "X$CXX" != "Xno" && + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || + (test "X$CXX" != "Xg++"))) ; then + AC_PROG_CXXCPP +else + _lt_caught_CXX_error=yes +fi + +AC_LANG_PUSH(C++) +_LT_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_TAGVAR(allow_undefined_flag, $1)= +_LT_TAGVAR(always_export_symbols, $1)=no +_LT_TAGVAR(archive_expsym_cmds, $1)= +_LT_TAGVAR(compiler_needs_object, $1)=no +_LT_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_TAGVAR(hardcode_direct, $1)=no +_LT_TAGVAR(hardcode_direct_absolute, $1)=no +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_TAGVAR(hardcode_libdir_separator, $1)= +_LT_TAGVAR(hardcode_minus_L, $1)=no +_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported +_LT_TAGVAR(hardcode_automatic, $1)=no +_LT_TAGVAR(inherit_rpath, $1)=no +_LT_TAGVAR(module_cmds, $1)= +_LT_TAGVAR(module_expsym_cmds, $1)= +_LT_TAGVAR(link_all_deplibs, $1)=unknown +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds +_LT_TAGVAR(no_undefined_flag, $1)= +_LT_TAGVAR(whole_archive_flag_spec, $1)= +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Source file extension for C++ test sources. +ac_ext=cpp + +# Object file extension for compiled C++ test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# No sense in running all these tests if we already determined that +# the CXX compiler isn't working. Some variables (like enable_shared) +# are currently assumed to apply to all compilers on this platform, +# and will be corrupted by setting them based on a non-working compiler. +if test "$_lt_caught_CXX_error" != yes; then + # Code to be used in simple compile tests + lt_simple_compile_test_code="int some_variable = 0;" + + # Code to be used in simple link tests + lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' + + # ltmain only uses $CC for tagged configurations so make sure $CC is set. + _LT_TAG_COMPILER + + # save warnings/boilerplate of simple test code + _LT_COMPILER_BOILERPLATE + _LT_LINKER_BOILERPLATE + + # Allow CC to be a program name with arguments. + lt_save_CC=$CC + lt_save_CFLAGS=$CFLAGS + lt_save_LD=$LD + lt_save_GCC=$GCC + GCC=$GXX + lt_save_with_gnu_ld=$with_gnu_ld + lt_save_path_LD=$lt_cv_path_LD + if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx + else + $as_unset lt_cv_prog_gnu_ld + fi + if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX + else + $as_unset lt_cv_path_LD + fi + test -z "${LDCXX+set}" || LD=$LDCXX + CC=${CXX-"c++"} + CFLAGS=$CXXFLAGS + compiler=$CC + _LT_TAGVAR(compiler, $1)=$CC + _LT_CC_BASENAME([$compiler]) + + if test -n "$compiler"; then + # We don't want -fno-exception when compiling C++ code, so set the + # no_builtin_flag separately + if test "$GXX" = yes; then + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' + else + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= + fi + + if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + LT_PATH_LD + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | + $GREP 'no-whole-archive' > /dev/null; then + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + + else + GXX=no + with_gnu_ld=no + wlarc= + fi + + # PORTME: fill in a description of your system's C++ link characteristics + AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) + _LT_TAGVAR(ld_shlibs, $1)=yes + case $host_os in + aix3*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + aix[[4-9]]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_TAGVAR(archive_cmds, $1)='' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' + + if test "$GXX" = yes; then + case $host_os in aix4.[[012]]|aix4.[[012]].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && + strings "$collect2name" | $GREP resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + _LT_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_TAGVAR(hardcode_minus_L, $1)=yes + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to + # export. + _LT_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty + # executable. + _LT_SYS_MODULE_PATH_AIX([$1]) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an + # empty executable. + _LT_SYS_MODULE_PATH_AIX([$1]) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + fi + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds its shared + # libraries. + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + cygwin* | mingw* | pw32* | cegcc*) + case $GXX,$cc_basename in + ,cl* | no,cl*) + # Native MSVC + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + # Don't use ranlib + _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' + _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + func_to_tool_file "$lt_outputfile"~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # g++ + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=no + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + darwin* | rhapsody*) + _LT_DARWIN_LINKER_FEATURES($1) + ;; + + dgux*) + case $cc_basename in + ec++*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + ghcx*) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + freebsd2.*) + # C++ shared libraries reported to be fairly broken before + # switch to ELF + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + freebsd-elf*) + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + + freebsd* | dragonfly*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + _LT_TAGVAR(ld_shlibs, $1)=yes + ;; + + gnu*) + ;; + + haiku*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + + hpux9*) + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + aCC*) + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + ;; + *) + if test "$GXX" = yes; then + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + case $host_cpu in + hppa*64*|ia64*) + ;; + *) + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + esac + fi + case $host_cpu in + hppa*64*|ia64*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + *) + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + aCC*) + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case $host_cpu in + hppa*64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + interix[[3-9]]*) + _LT_TAGVAR(hardcode_direct, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + irix5* | irix6*) + case $cc_basename in + CC*) + # SGI C++ + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' + fi + fi + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + esac + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_TAGVAR(inherit_rpath, $1)=yes + ;; + + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc* | ecpc* ) + # Intel C++ + with_gnu_ld=yes + # version 8.0 and above of icpc choke on multiply defined symbols + # if we add $predep_objects and $postdep_objects, however 7.1 and + # earlier do not add the objects themselves. + case `$CC -V 2>&1` in + *"Version 7."*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + *) # Version 8.0 or newer + tmp_idyn= + case $host_cpu in + ia64*) tmp_idyn=' -i_dynamic';; + esac + _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + esac + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + pgCC* | pgcpp*) + # Portland Group C++ compiler + case `$CC -V` in + *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*) + _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ + compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' + _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ + $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ + $RANLIB $oldlib' + _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ + rm -rf $tpldir~ + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + ;; + *) # Version 6 and above use weak symbols + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + ;; + esac + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + ;; + cxx*) + # Compaq C++ + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' + ;; + xl* | mpixl* | bgxl*) + # IBM XL 8.0 on PPC, with GNU ld + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + if test "x$supports_anon_versioning" = xyes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(compiler_needs_object, $1)=yes + + # Not sure whether something based on + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 + # would be better. + output_verbose_link_cmd='func_echo_all' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + esac + ;; + esac + ;; + + lynxos*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + m88k*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + mvs*) + case $cc_basename in + cxx*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + + *nto* | *qnx*) + _LT_TAGVAR(ld_shlibs, $1)=yes + ;; + + openbsd2*) + # C++ shared libraries are fairly broken + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + fi + output_verbose_link_cmd=func_echo_all + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + osf3* | osf4* | osf5*) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + case $host in + osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; + *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; + esac + ;; + RCC*) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + cxx*) + case $host in + osf3*) + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + ;; + *) + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~ + $RM $lib.exp' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + ;; + esac + + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + case $host in + osf3*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + ;; + esac + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + psos*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + lcc*) + # Lucid + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + solaris*) + case $cc_basename in + CC* | sunCC*) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_TAGVAR(archive_cmds_need_lc,$1)=yes + _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. + # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' + ;; + esac + _LT_TAGVAR(link_all_deplibs, $1)=yes + + output_verbose_link_cmd='func_echo_all' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + gcx*) + # Green Hills C++ Compiler + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' + if $CC --version | $GREP -v '^2\.7' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + fi + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + fi + ;; + esac + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + + case $cc_basename in + CC*) + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' + _LT_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' + _LT_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_TAGVAR(link_all_deplibs, $1)=yes + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + case $cc_basename in + CC*) + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~ + '"$_LT_TAGVAR(old_archive_cmds, $1)" + _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~ + '"$_LT_TAGVAR(reload_cmds, $1)" + ;; + *) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + vxworks*) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + + *) + # FIXME: insert proper C++ library support + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + esac + + AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) + test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + + _LT_TAGVAR(GCC, $1)="$GXX" + _LT_TAGVAR(LD, $1)="$LD" + + ## CAVEAT EMPTOR: + ## There is no encapsulation within the following macros, do not change + ## the running order or otherwise move them around unless you know exactly + ## what you are doing... + _LT_SYS_HIDDEN_LIBDEPS($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) + fi # test -n "$compiler" + + CC=$lt_save_CC + CFLAGS=$lt_save_CFLAGS + LDCXX=$LD + LD=$lt_save_LD + GCC=$lt_save_GCC + with_gnu_ld=$lt_save_with_gnu_ld + lt_cv_path_LDCXX=$lt_cv_path_LD + lt_cv_path_LD=$lt_save_path_LD + lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld + lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld +fi # test "$_lt_caught_CXX_error" != yes + +AC_LANG_POP +])# _LT_LANG_CXX_CONFIG + + +# _LT_FUNC_STRIPNAME_CNF +# ---------------------- +# func_stripname_cnf prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +# +# This function is identical to the (non-XSI) version of func_stripname, +# except this one can be used by m4 code that may be executed by configure, +# rather than the libtool script. +m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl +AC_REQUIRE([_LT_DECL_SED]) +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH]) +func_stripname_cnf () +{ + case ${2} in + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; + esac +} # func_stripname_cnf +])# _LT_FUNC_STRIPNAME_CNF + +# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) +# --------------------------------- +# Figure out "hidden" library dependencies from verbose +# compiler output when linking a shared library. +# Parse the compiler output and extract the necessary +# objects, libraries and library flags. +m4_defun([_LT_SYS_HIDDEN_LIBDEPS], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl +# Dependencies to place before and after the object being linked: +_LT_TAGVAR(predep_objects, $1)= +_LT_TAGVAR(postdep_objects, $1)= +_LT_TAGVAR(predeps, $1)= +_LT_TAGVAR(postdeps, $1)= +_LT_TAGVAR(compiler_lib_search_path, $1)= + +dnl we can't use the lt_simple_compile_test_code here, +dnl because it contains code intended for an executable, +dnl not a library. It's possible we should let each +dnl tag define a new lt_????_link_test_code variable, +dnl but it's only used here... +m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF +int a; +void foo (void) { a = 0; } +_LT_EOF +], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF +class Foo +{ +public: + Foo (void) { a = 0; } +private: + int a; +}; +_LT_EOF +], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF + subroutine foo + implicit none + integer*4 a + a=0 + return + end +_LT_EOF +], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF + subroutine foo + implicit none + integer a + a=0 + return + end +_LT_EOF +], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF +public class foo { + private int a; + public void bar (void) { + a = 0; + } +}; +_LT_EOF +], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF +package foo +func foo() { +} +_LT_EOF +]) + +_lt_libdeps_save_CFLAGS=$CFLAGS +case "$CC $CFLAGS " in #( +*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; +*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; +*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; +esac + +dnl Parse the compiler output and extract the necessary +dnl objects, libraries and library flags. +if AC_TRY_EVAL(ac_compile); then + # Parse the compiler output and extract the necessary + # objects, libraries and library flags. + + # Sentinel used to keep track of whether or not we are before + # the conftest object file. + pre_test_object_deps_done=no + + for p in `eval "$output_verbose_link_cmd"`; do + case ${prev}${p} in + + -L* | -R* | -l*) + # Some compilers place space between "-{L,R}" and the path. + # Remove the space. + if test $p = "-L" || + test $p = "-R"; then + prev=$p + continue + fi + + # Expand the sysroot to ease extracting the directories later. + if test -z "$prev"; then + case $p in + -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; + -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; + -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; + esac + fi + case $p in + =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; + esac + if test "$pre_test_object_deps_done" = no; then + case ${prev} in + -L | -R) + # Internal compiler library paths should come after those + # provided the user. The postdeps already come after the + # user supplied libs so there is no need to process them. + if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then + _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}" + else + _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}" + fi + ;; + # The "-l" case would never come before the object being + # linked, so don't bother handling this case. + esac + else + if test -z "$_LT_TAGVAR(postdeps, $1)"; then + _LT_TAGVAR(postdeps, $1)="${prev}${p}" + else + _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}" + fi + fi + prev= + ;; + + *.lto.$objext) ;; # Ignore GCC LTO objects + *.$objext) + # This assumes that the test object file only shows up + # once in the compiler output. + if test "$p" = "conftest.$objext"; then + pre_test_object_deps_done=yes + continue + fi + + if test "$pre_test_object_deps_done" = no; then + if test -z "$_LT_TAGVAR(predep_objects, $1)"; then + _LT_TAGVAR(predep_objects, $1)="$p" + else + _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" + fi + else + if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then + _LT_TAGVAR(postdep_objects, $1)="$p" + else + _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" + fi + fi + ;; + + *) ;; # Ignore the rest. + + esac + done + + # Clean up. + rm -f a.out a.exe +else + echo "libtool.m4: error: problem compiling $1 test program" +fi + +$RM -f confest.$objext +CFLAGS=$_lt_libdeps_save_CFLAGS + +# PORTME: override above test on systems where it is broken +m4_if([$1], [CXX], +[case $host_os in +interix[[3-9]]*) + # Interix 3.5 installs completely hosed .la files for C++, so rather than + # hack all around it, let's just trust "g++" to DTRT. + _LT_TAGVAR(predep_objects,$1)= + _LT_TAGVAR(postdep_objects,$1)= + _LT_TAGVAR(postdeps,$1)= + ;; + +linux*) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + + # The more standards-conforming stlport4 library is + # incompatible with the Cstd library. Avoid specifying + # it if it's in CXXFLAGS. Ignore libCrun as + # -library=stlport4 depends on it. + case " $CXX $CXXFLAGS " in + *" -library=stlport4 "*) + solaris_use_stlport4=yes + ;; + esac + + if test "$solaris_use_stlport4" != yes; then + _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' + fi + ;; + esac + ;; + +solaris*) + case $cc_basename in + CC* | sunCC*) + # The more standards-conforming stlport4 library is + # incompatible with the Cstd library. Avoid specifying + # it if it's in CXXFLAGS. Ignore libCrun as + # -library=stlport4 depends on it. + case " $CXX $CXXFLAGS " in + *" -library=stlport4 "*) + solaris_use_stlport4=yes + ;; + esac + + # Adding this requires a known-good setup of shared libraries for + # Sun compiler versions before 5.6, else PIC objects from an old + # archive will be linked into the output, leading to subtle bugs. + if test "$solaris_use_stlport4" != yes; then + _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' + fi + ;; + esac + ;; +esac +]) + +case " $_LT_TAGVAR(postdeps, $1) " in +*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; +esac + _LT_TAGVAR(compiler_lib_search_dirs, $1)= +if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then + _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` +fi +_LT_TAGDECL([], [compiler_lib_search_dirs], [1], + [The directories searched by this compiler when creating a shared library]) +_LT_TAGDECL([], [predep_objects], [1], + [Dependencies to place before and after the objects being linked to + create a shared library]) +_LT_TAGDECL([], [postdep_objects], [1]) +_LT_TAGDECL([], [predeps], [1]) +_LT_TAGDECL([], [postdeps], [1]) +_LT_TAGDECL([], [compiler_lib_search_path], [1], + [The library search path used internally by the compiler when linking + a shared library]) +])# _LT_SYS_HIDDEN_LIBDEPS + + +# _LT_LANG_F77_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for a Fortran 77 compiler are +# suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_F77_CONFIG], +[AC_LANG_PUSH(Fortran 77) +if test -z "$F77" || test "X$F77" = "Xno"; then + _lt_disable_F77=yes +fi + +_LT_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_TAGVAR(allow_undefined_flag, $1)= +_LT_TAGVAR(always_export_symbols, $1)=no +_LT_TAGVAR(archive_expsym_cmds, $1)= +_LT_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_TAGVAR(hardcode_direct, $1)=no +_LT_TAGVAR(hardcode_direct_absolute, $1)=no +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_TAGVAR(hardcode_libdir_separator, $1)= +_LT_TAGVAR(hardcode_minus_L, $1)=no +_LT_TAGVAR(hardcode_automatic, $1)=no +_LT_TAGVAR(inherit_rpath, $1)=no +_LT_TAGVAR(module_cmds, $1)= +_LT_TAGVAR(module_expsym_cmds, $1)= +_LT_TAGVAR(link_all_deplibs, $1)=unknown +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds +_LT_TAGVAR(no_undefined_flag, $1)= +_LT_TAGVAR(whole_archive_flag_spec, $1)= +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Source file extension for f77 test sources. +ac_ext=f + +# Object file extension for compiled f77 test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# No sense in running all these tests if we already determined that +# the F77 compiler isn't working. Some variables (like enable_shared) +# are currently assumed to apply to all compilers on this platform, +# and will be corrupted by setting them based on a non-working compiler. +if test "$_lt_disable_F77" != yes; then + # Code to be used in simple compile tests + lt_simple_compile_test_code="\ + subroutine t + return + end +" + + # Code to be used in simple link tests + lt_simple_link_test_code="\ + program t + end +" + + # ltmain only uses $CC for tagged configurations so make sure $CC is set. + _LT_TAG_COMPILER + + # save warnings/boilerplate of simple test code + _LT_COMPILER_BOILERPLATE + _LT_LINKER_BOILERPLATE + + # Allow CC to be a program name with arguments. + lt_save_CC="$CC" + lt_save_GCC=$GCC + lt_save_CFLAGS=$CFLAGS + CC=${F77-"f77"} + CFLAGS=$FFLAGS + compiler=$CC + _LT_TAGVAR(compiler, $1)=$CC + _LT_CC_BASENAME([$compiler]) + GCC=$G77 + if test -n "$compiler"; then + AC_MSG_CHECKING([if libtool supports shared libraries]) + AC_MSG_RESULT([$can_build_shared]) + + AC_MSG_CHECKING([whether to build shared libraries]) + test "$can_build_shared" = "no" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + aix[[4-9]]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + esac + AC_MSG_RESULT([$enable_shared]) + + AC_MSG_CHECKING([whether to build static libraries]) + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + AC_MSG_RESULT([$enable_static]) + + _LT_TAGVAR(GCC, $1)="$G77" + _LT_TAGVAR(LD, $1)="$LD" + + ## CAVEAT EMPTOR: + ## There is no encapsulation within the following macros, do not change + ## the running order or otherwise move them around unless you know exactly + ## what you are doing... + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) + fi # test -n "$compiler" + + GCC=$lt_save_GCC + CC="$lt_save_CC" + CFLAGS="$lt_save_CFLAGS" +fi # test "$_lt_disable_F77" != yes + +AC_LANG_POP +])# _LT_LANG_F77_CONFIG + + +# _LT_LANG_FC_CONFIG([TAG]) +# ------------------------- +# Ensure that the configuration variables for a Fortran compiler are +# suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_FC_CONFIG], +[AC_LANG_PUSH(Fortran) + +if test -z "$FC" || test "X$FC" = "Xno"; then + _lt_disable_FC=yes +fi + +_LT_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_TAGVAR(allow_undefined_flag, $1)= +_LT_TAGVAR(always_export_symbols, $1)=no +_LT_TAGVAR(archive_expsym_cmds, $1)= +_LT_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_TAGVAR(hardcode_direct, $1)=no +_LT_TAGVAR(hardcode_direct_absolute, $1)=no +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_TAGVAR(hardcode_libdir_separator, $1)= +_LT_TAGVAR(hardcode_minus_L, $1)=no +_LT_TAGVAR(hardcode_automatic, $1)=no +_LT_TAGVAR(inherit_rpath, $1)=no +_LT_TAGVAR(module_cmds, $1)= +_LT_TAGVAR(module_expsym_cmds, $1)= +_LT_TAGVAR(link_all_deplibs, $1)=unknown +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds +_LT_TAGVAR(no_undefined_flag, $1)= +_LT_TAGVAR(whole_archive_flag_spec, $1)= +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Source file extension for fc test sources. +ac_ext=${ac_fc_srcext-f} + +# Object file extension for compiled fc test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# No sense in running all these tests if we already determined that +# the FC compiler isn't working. Some variables (like enable_shared) +# are currently assumed to apply to all compilers on this platform, +# and will be corrupted by setting them based on a non-working compiler. +if test "$_lt_disable_FC" != yes; then + # Code to be used in simple compile tests + lt_simple_compile_test_code="\ + subroutine t + return + end +" + + # Code to be used in simple link tests + lt_simple_link_test_code="\ + program t + end +" + + # ltmain only uses $CC for tagged configurations so make sure $CC is set. + _LT_TAG_COMPILER + + # save warnings/boilerplate of simple test code + _LT_COMPILER_BOILERPLATE + _LT_LINKER_BOILERPLATE + + # Allow CC to be a program name with arguments. + lt_save_CC="$CC" + lt_save_GCC=$GCC + lt_save_CFLAGS=$CFLAGS + CC=${FC-"f95"} + CFLAGS=$FCFLAGS + compiler=$CC + GCC=$ac_cv_fc_compiler_gnu + + _LT_TAGVAR(compiler, $1)=$CC + _LT_CC_BASENAME([$compiler]) + + if test -n "$compiler"; then + AC_MSG_CHECKING([if libtool supports shared libraries]) + AC_MSG_RESULT([$can_build_shared]) + + AC_MSG_CHECKING([whether to build shared libraries]) + test "$can_build_shared" = "no" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + aix[[4-9]]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + esac + AC_MSG_RESULT([$enable_shared]) + + AC_MSG_CHECKING([whether to build static libraries]) + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + AC_MSG_RESULT([$enable_static]) + + _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu" + _LT_TAGVAR(LD, $1)="$LD" + + ## CAVEAT EMPTOR: + ## There is no encapsulation within the following macros, do not change + ## the running order or otherwise move them around unless you know exactly + ## what you are doing... + _LT_SYS_HIDDEN_LIBDEPS($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_SYS_DYNAMIC_LINKER($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) + fi # test -n "$compiler" + + GCC=$lt_save_GCC + CC=$lt_save_CC + CFLAGS=$lt_save_CFLAGS +fi # test "$_lt_disable_FC" != yes + +AC_LANG_POP +])# _LT_LANG_FC_CONFIG + + +# _LT_LANG_GCJ_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for the GNU Java Compiler compiler +# are suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_GCJ_CONFIG], +[AC_REQUIRE([LT_PROG_GCJ])dnl +AC_LANG_SAVE + +# Source file extension for Java test sources. +ac_ext=java + +# Object file extension for compiled Java test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="class foo {}" + +# Code to be used in simple link tests +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_TAG_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_CFLAGS=$CFLAGS +lt_save_GCC=$GCC +GCC=yes +CC=${GCJ-"gcj"} +CFLAGS=$GCJFLAGS +compiler=$CC +_LT_TAGVAR(compiler, $1)=$CC +_LT_TAGVAR(LD, $1)="$LD" +_LT_CC_BASENAME([$compiler]) + +# GCJ did not exist at the time GCC didn't implicitly link libc in. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no + +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds + +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... +if test -n "$compiler"; then + _LT_COMPILER_NO_RTTI($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) +fi + +AC_LANG_RESTORE + +GCC=$lt_save_GCC +CC=$lt_save_CC +CFLAGS=$lt_save_CFLAGS +])# _LT_LANG_GCJ_CONFIG + + +# _LT_LANG_GO_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for the GNU Go compiler +# are suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_GO_CONFIG], +[AC_REQUIRE([LT_PROG_GO])dnl +AC_LANG_SAVE + +# Source file extension for Go test sources. +ac_ext=go + +# Object file extension for compiled Go test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="package main; func main() { }" + +# Code to be used in simple link tests +lt_simple_link_test_code='package main; func main() { }' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_TAG_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_CFLAGS=$CFLAGS +lt_save_GCC=$GCC +GCC=yes +CC=${GOC-"gccgo"} +CFLAGS=$GOFLAGS +compiler=$CC +_LT_TAGVAR(compiler, $1)=$CC +_LT_TAGVAR(LD, $1)="$LD" +_LT_CC_BASENAME([$compiler]) + +# Go did not exist at the time GCC didn't implicitly link libc in. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no + +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds + +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... +if test -n "$compiler"; then + _LT_COMPILER_NO_RTTI($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) +fi + +AC_LANG_RESTORE + +GCC=$lt_save_GCC +CC=$lt_save_CC +CFLAGS=$lt_save_CFLAGS +])# _LT_LANG_GO_CONFIG + + +# _LT_LANG_RC_CONFIG([TAG]) +# ------------------------- +# Ensure that the configuration variables for the Windows resource compiler +# are suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_RC_CONFIG], +[AC_REQUIRE([LT_PROG_RC])dnl +AC_LANG_SAVE + +# Source file extension for RC test sources. +ac_ext=rc + +# Object file extension for compiled RC test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' + +# Code to be used in simple link tests +lt_simple_link_test_code="$lt_simple_compile_test_code" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_TAG_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +lt_save_CFLAGS=$CFLAGS +lt_save_GCC=$GCC +GCC= +CC=${RC-"windres"} +CFLAGS= +compiler=$CC +_LT_TAGVAR(compiler, $1)=$CC +_LT_CC_BASENAME([$compiler]) +_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + +if test -n "$compiler"; then + : + _LT_CONFIG($1) +fi + +GCC=$lt_save_GCC +AC_LANG_RESTORE +CC=$lt_save_CC +CFLAGS=$lt_save_CFLAGS +])# _LT_LANG_RC_CONFIG + + +# LT_PROG_GCJ +# ----------- +AC_DEFUN([LT_PROG_GCJ], +[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], + [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], + [AC_CHECK_TOOL(GCJ, gcj,) + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" + AC_SUBST(GCJFLAGS)])])[]dnl +]) + +# Old name: +AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([LT_AC_PROG_GCJ], []) + + +# LT_PROG_GO +# ---------- +AC_DEFUN([LT_PROG_GO], +[AC_CHECK_TOOL(GOC, gccgo,) +]) + + +# LT_PROG_RC +# ---------- +AC_DEFUN([LT_PROG_RC], +[AC_CHECK_TOOL(RC, windres,) +]) + +# Old name: +AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([LT_AC_PROG_RC], []) + + +# _LT_DECL_EGREP +# -------------- +# If we don't have a new enough Autoconf to choose the best grep +# available, choose the one first in the user's PATH. +m4_defun([_LT_DECL_EGREP], +[AC_REQUIRE([AC_PROG_EGREP])dnl +AC_REQUIRE([AC_PROG_FGREP])dnl +test -z "$GREP" && GREP=grep +_LT_DECL([], [GREP], [1], [A grep program that handles long lines]) +_LT_DECL([], [EGREP], [1], [An ERE matcher]) +_LT_DECL([], [FGREP], [1], [A literal string matcher]) +dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too +AC_SUBST([GREP]) +]) + + +# _LT_DECL_OBJDUMP +# -------------- +# If we don't have a new enough Autoconf to choose the best objdump +# available, choose the one first in the user's PATH. +m4_defun([_LT_DECL_OBJDUMP], +[AC_CHECK_TOOL(OBJDUMP, objdump, false) +test -z "$OBJDUMP" && OBJDUMP=objdump +_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper]) +AC_SUBST([OBJDUMP]) +]) + +# _LT_DECL_DLLTOOL +# ---------------- +# Ensure DLLTOOL variable is set. +m4_defun([_LT_DECL_DLLTOOL], +[AC_CHECK_TOOL(DLLTOOL, dlltool, false) +test -z "$DLLTOOL" && DLLTOOL=dlltool +_LT_DECL([], [DLLTOOL], [1], [DLL creation program]) +AC_SUBST([DLLTOOL]) +]) + +# _LT_DECL_SED +# ------------ +# Check for a fully-functional sed program, that truncates +# as few characters as possible. Prefer GNU sed if found. +m4_defun([_LT_DECL_SED], +[AC_PROG_SED +test -z "$SED" && SED=sed +Xsed="$SED -e 1s/^X//" +_LT_DECL([], [SED], [1], [A sed program that does not truncate output]) +_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], + [Sed that helps us avoid accidentally triggering echo(1) options like -n]) +])# _LT_DECL_SED + +m4_ifndef([AC_PROG_SED], [ +############################################################ +# NOTE: This macro has been submitted for inclusion into # +# GNU Autoconf as AC_PROG_SED. When it is available in # +# a released version of Autoconf we should remove this # +# macro and use it instead. # +############################################################ + +m4_defun([AC_PROG_SED], +[AC_MSG_CHECKING([for a sed that does not truncate output]) +AC_CACHE_VAL(lt_cv_path_SED, +[# Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for lt_ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" + fi + done + done +done +IFS=$as_save_IFS +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && continue + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed + fi + done +done +]) +SED=$lt_cv_path_SED +AC_SUBST([SED]) +AC_MSG_RESULT([$SED]) +])#AC_PROG_SED +])#m4_ifndef + +# Old name: +AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([LT_AC_PROG_SED], []) + + +# _LT_CHECK_SHELL_FEATURES +# ------------------------ +# Find out whether the shell is Bourne or XSI compatible, +# or has some other useful features. +m4_defun([_LT_CHECK_SHELL_FEATURES], +[AC_MSG_CHECKING([whether the shell understands some XSI constructs]) +# Try some XSI features +xsi_shell=no +( _lt_dummy="a/b/c" + test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ + = c,a/b,b/c, \ + && eval 'test $(( 1 + 1 )) -eq 2 \ + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ + && xsi_shell=yes +AC_MSG_RESULT([$xsi_shell]) +_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell']) + +AC_MSG_CHECKING([whether the shell understands "+="]) +lt_shell_append=no +( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \ + >/dev/null 2>&1 \ + && lt_shell_append=yes +AC_MSG_RESULT([$lt_shell_append]) +_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append']) + +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + lt_unset=unset +else + lt_unset=false +fi +_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl + +# test EBCDIC or ASCII +case `echo X|tr X '\101'` in + A) # ASCII based system + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr + lt_SP2NL='tr \040 \012' + lt_NL2SP='tr \015\012 \040\040' + ;; + *) # EBCDIC based system + lt_SP2NL='tr \100 \n' + lt_NL2SP='tr \r\n \100\100' + ;; +esac +_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl +_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl +])# _LT_CHECK_SHELL_FEATURES + + +# _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY) +# ------------------------------------------------------ +# In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and +# '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY. +m4_defun([_LT_PROG_FUNCTION_REPLACE], +[dnl { +sed -e '/^$1 ()$/,/^} # $1 /c\ +$1 ()\ +{\ +m4_bpatsubsts([$2], [$], [\\], [^\([ ]\)], [\\\1]) +} # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: +]) + + +# _LT_PROG_REPLACE_SHELLFNS +# ------------------------- +# Replace existing portable implementations of several shell functions with +# equivalent extended shell implementations where those features are available.. +m4_defun([_LT_PROG_REPLACE_SHELLFNS], +[if test x"$xsi_shell" = xyes; then + _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl + case ${1} in + */*) func_dirname_result="${1%/*}${2}" ;; + * ) func_dirname_result="${3}" ;; + esac]) + + _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl + func_basename_result="${1##*/}"]) + + _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl + case ${1} in + */*) func_dirname_result="${1%/*}${2}" ;; + * ) func_dirname_result="${3}" ;; + esac + func_basename_result="${1##*/}"]) + + _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are + # positional parameters, so assign one to ordinary parameter first. + func_stripname_result=${3} + func_stripname_result=${func_stripname_result#"${1}"} + func_stripname_result=${func_stripname_result%"${2}"}]) + + _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl + func_split_long_opt_name=${1%%=*} + func_split_long_opt_arg=${1#*=}]) + + _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl + func_split_short_opt_arg=${1#??} + func_split_short_opt_name=${1%"$func_split_short_opt_arg"}]) + + _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl + case ${1} in + *.lo) func_lo2o_result=${1%.lo}.${objext} ;; + *) func_lo2o_result=${1} ;; + esac]) + + _LT_PROG_FUNCTION_REPLACE([func_xform], [ func_xform_result=${1%.*}.lo]) + + _LT_PROG_FUNCTION_REPLACE([func_arith], [ func_arith_result=$(( $[*] ))]) + + _LT_PROG_FUNCTION_REPLACE([func_len], [ func_len_result=${#1}]) +fi + +if test x"$lt_shell_append" = xyes; then + _LT_PROG_FUNCTION_REPLACE([func_append], [ eval "${1}+=\\${2}"]) + + _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl + func_quote_for_eval "${2}" +dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \ + eval "${1}+=\\\\ \\$func_quote_for_eval_result"]) + + # Save a `func_append' function call where possible by direct use of '+=' + sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +else + # Save a `func_append' function call even when '+=' is not available + sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +fi + +if test x"$_lt_function_replace_fail" = x":"; then + AC_MSG_WARN([Unable to substitute extended shell functions in $ofile]) +fi +]) + +# _LT_PATH_CONVERSION_FUNCTIONS +# ----------------------------- +# Determine which file name conversion functions should be used by +# func_to_host_file (and, implicitly, by func_to_host_path). These are needed +# for certain cross-compile configurations and native mingw. +m4_defun([_LT_PATH_CONVERSION_FUNCTIONS], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +AC_MSG_CHECKING([how to convert $build file names to $host format]) +AC_CACHE_VAL(lt_cv_to_host_file_cmd, +[case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 + ;; + esac + ;; + *-*-cygwin* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin + ;; + esac + ;; + * ) # unhandled hosts (and "normal" native builds) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; +esac +]) +to_host_file_cmd=$lt_cv_to_host_file_cmd +AC_MSG_RESULT([$lt_cv_to_host_file_cmd]) +_LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd], + [0], [convert $build file names to $host format])dnl + +AC_MSG_CHECKING([how to convert $build file names to toolchain format]) +AC_CACHE_VAL(lt_cv_to_tool_file_cmd, +[#assume ordinary cross tools, or native build. +lt_cv_to_tool_file_cmd=func_convert_file_noop +case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 + ;; + esac + ;; +esac +]) +to_tool_file_cmd=$lt_cv_to_tool_file_cmd +AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) +_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], + [0], [convert $build files to toolchain format])dnl +])# _LT_PATH_CONVERSION_FUNCTIONS diff --git a/tizen/distrib/remote/server/spice-0.12.2/m4/ltoptions.m4 b/tizen/distrib/remote/server/spice-0.12.2/m4/ltoptions.m4 new file mode 100644 index 0000000..5d9acd8 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/m4/ltoptions.m4 @@ -0,0 +1,384 @@ +# Helper functions for option handling. -*- Autoconf -*- +# +# Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# Written by Gary V. Vaughan, 2004 +# +# This file 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. + +# serial 7 ltoptions.m4 + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) + + +# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) +# ------------------------------------------ +m4_define([_LT_MANGLE_OPTION], +[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) + + +# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) +# --------------------------------------- +# Set option OPTION-NAME for macro MACRO-NAME, and if there is a +# matching handler defined, dispatch to it. Other OPTION-NAMEs are +# saved as a flag. +m4_define([_LT_SET_OPTION], +[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl +m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), + _LT_MANGLE_DEFUN([$1], [$2]), + [m4_warning([Unknown $1 option `$2'])])[]dnl +]) + + +# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) +# ------------------------------------------------------------ +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +m4_define([_LT_IF_OPTION], +[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) + + +# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) +# ------------------------------------------------------- +# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME +# are set. +m4_define([_LT_UNLESS_OPTIONS], +[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), + [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), + [m4_define([$0_found])])])[]dnl +m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 +])[]dnl +]) + + +# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) +# ---------------------------------------- +# OPTION-LIST is a space-separated list of Libtool options associated +# with MACRO-NAME. If any OPTION has a matching handler declared with +# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about +# the unknown option and exit. +m4_defun([_LT_SET_OPTIONS], +[# Set options +m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), + [_LT_SET_OPTION([$1], _LT_Option)]) + +m4_if([$1],[LT_INIT],[ + dnl + dnl Simply set some default values (i.e off) if boolean options were not + dnl specified: + _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no + ]) + _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no + ]) + dnl + dnl If no reference was made to various pairs of opposing options, then + dnl we run the default mode handler for the pair. For example, if neither + dnl `shared' nor `disable-shared' was passed, we enable building of shared + dnl archives by default: + _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) + _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) + _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) + _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], + [_LT_ENABLE_FAST_INSTALL]) + ]) +])# _LT_SET_OPTIONS + + +## --------------------------------- ## +## Macros to handle LT_INIT options. ## +## --------------------------------- ## + +# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) +# ----------------------------------------- +m4_define([_LT_MANGLE_DEFUN], +[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) + + +# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) +# ----------------------------------------------- +m4_define([LT_OPTION_DEFINE], +[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl +])# LT_OPTION_DEFINE + + +# dlopen +# ------ +LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes +]) + +AU_DEFUN([AC_LIBTOOL_DLOPEN], +[_LT_SET_OPTION([LT_INIT], [dlopen]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you +put the `dlopen' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) + + +# win32-dll +# --------- +# Declare package support for building win32 dll's. +LT_OPTION_DEFINE([LT_INIT], [win32-dll], +[enable_win32_dll=yes + +case $host in +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) + AC_CHECK_TOOL(AS, as, false) + AC_CHECK_TOOL(DLLTOOL, dlltool, false) + AC_CHECK_TOOL(OBJDUMP, objdump, false) + ;; +esac + +test -z "$AS" && AS=as +_LT_DECL([], [AS], [1], [Assembler program])dnl + +test -z "$DLLTOOL" && DLLTOOL=dlltool +_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl + +test -z "$OBJDUMP" && OBJDUMP=objdump +_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl +])# win32-dll + +AU_DEFUN([AC_LIBTOOL_WIN32_DLL], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +_LT_SET_OPTION([LT_INIT], [win32-dll]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you +put the `win32-dll' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) + + +# _LT_ENABLE_SHARED([DEFAULT]) +# ---------------------------- +# implement the --enable-shared flag, and supports the `shared' and +# `disable-shared' LT_INIT options. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +m4_define([_LT_ENABLE_SHARED], +[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl +AC_ARG_ENABLE([shared], + [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], + [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) + + _LT_DECL([build_libtool_libs], [enable_shared], [0], + [Whether or not to build shared libraries]) +])# _LT_ENABLE_SHARED + +LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) +LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) + +# Old names: +AC_DEFUN([AC_ENABLE_SHARED], +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) +]) + +AC_DEFUN([AC_DISABLE_SHARED], +[_LT_SET_OPTION([LT_INIT], [disable-shared]) +]) + +AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) +AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_ENABLE_SHARED], []) +dnl AC_DEFUN([AM_DISABLE_SHARED], []) + + + +# _LT_ENABLE_STATIC([DEFAULT]) +# ---------------------------- +# implement the --enable-static flag, and support the `static' and +# `disable-static' LT_INIT options. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +m4_define([_LT_ENABLE_STATIC], +[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl +AC_ARG_ENABLE([static], + [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], + [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_static=]_LT_ENABLE_STATIC_DEFAULT) + + _LT_DECL([build_old_libs], [enable_static], [0], + [Whether or not to build static libraries]) +])# _LT_ENABLE_STATIC + +LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) +LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) + +# Old names: +AC_DEFUN([AC_ENABLE_STATIC], +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) +]) + +AC_DEFUN([AC_DISABLE_STATIC], +[_LT_SET_OPTION([LT_INIT], [disable-static]) +]) + +AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) +AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AM_ENABLE_STATIC], []) +dnl AC_DEFUN([AM_DISABLE_STATIC], []) + + + +# _LT_ENABLE_FAST_INSTALL([DEFAULT]) +# ---------------------------------- +# implement the --enable-fast-install flag, and support the `fast-install' +# and `disable-fast-install' LT_INIT options. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +m4_define([_LT_ENABLE_FAST_INSTALL], +[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl +AC_ARG_ENABLE([fast-install], + [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], + [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) + +_LT_DECL([fast_install], [enable_fast_install], [0], + [Whether or not to optimize for fast installation])dnl +])# _LT_ENABLE_FAST_INSTALL + +LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) +LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) + +# Old names: +AU_DEFUN([AC_ENABLE_FAST_INSTALL], +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you put +the `fast-install' option into LT_INIT's first parameter.]) +]) + +AU_DEFUN([AC_DISABLE_FAST_INSTALL], +[_LT_SET_OPTION([LT_INIT], [disable-fast-install]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you put +the `disable-fast-install' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) +dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) + + +# _LT_WITH_PIC([MODE]) +# -------------------- +# implement the --with-pic flag, and support the `pic-only' and `no-pic' +# LT_INIT options. +# MODE is either `yes' or `no'. If omitted, it defaults to `both'. +m4_define([_LT_WITH_PIC], +[AC_ARG_WITH([pic], + [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@], + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], + [lt_p=${PACKAGE-default} + case $withval in + yes|no) pic_mode=$withval ;; + *) + pic_mode=default + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for lt_pkg in $withval; do + IFS="$lt_save_ifs" + if test "X$lt_pkg" = "X$lt_p"; then + pic_mode=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [pic_mode=default]) + +test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) + +_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl +])# _LT_WITH_PIC + +LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) +LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) + +# Old name: +AU_DEFUN([AC_LIBTOOL_PICMODE], +[_LT_SET_OPTION([LT_INIT], [pic-only]) +AC_DIAGNOSE([obsolete], +[$0: Remove this warning and the call to _LT_SET_OPTION when you +put the `pic-only' option into LT_INIT's first parameter.]) +]) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) + +## ----------------- ## +## LTDL_INIT Options ## +## ----------------- ## + +m4_define([_LTDL_MODE], []) +LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], + [m4_define([_LTDL_MODE], [nonrecursive])]) +LT_OPTION_DEFINE([LTDL_INIT], [recursive], + [m4_define([_LTDL_MODE], [recursive])]) +LT_OPTION_DEFINE([LTDL_INIT], [subproject], + [m4_define([_LTDL_MODE], [subproject])]) + +m4_define([_LTDL_TYPE], []) +LT_OPTION_DEFINE([LTDL_INIT], [installable], + [m4_define([_LTDL_TYPE], [installable])]) +LT_OPTION_DEFINE([LTDL_INIT], [convenience], + [m4_define([_LTDL_TYPE], [convenience])]) diff --git a/tizen/distrib/remote/server/spice-0.12.2/m4/ltsugar.m4 b/tizen/distrib/remote/server/spice-0.12.2/m4/ltsugar.m4 new file mode 100644 index 0000000..9000a05 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/m4/ltsugar.m4 @@ -0,0 +1,123 @@ +# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- +# +# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. +# Written by Gary V. Vaughan, 2004 +# +# This file 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. + +# serial 6 ltsugar.m4 + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) + + +# lt_join(SEP, ARG1, [ARG2...]) +# ----------------------------- +# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their +# associated separator. +# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier +# versions in m4sugar had bugs. +m4_define([lt_join], +[m4_if([$#], [1], [], + [$#], [2], [[$2]], + [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) +m4_define([_lt_join], +[m4_if([$#$2], [2], [], + [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) + + +# lt_car(LIST) +# lt_cdr(LIST) +# ------------ +# Manipulate m4 lists. +# These macros are necessary as long as will still need to support +# Autoconf-2.59 which quotes differently. +m4_define([lt_car], [[$1]]) +m4_define([lt_cdr], +[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], + [$#], 1, [], + [m4_dquote(m4_shift($@))])]) +m4_define([lt_unquote], $1) + + +# lt_append(MACRO-NAME, STRING, [SEPARATOR]) +# ------------------------------------------ +# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'. +# Note that neither SEPARATOR nor STRING are expanded; they are appended +# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). +# No SEPARATOR is output if MACRO-NAME was previously undefined (different +# than defined and empty). +# +# This macro is needed until we can rely on Autoconf 2.62, since earlier +# versions of m4sugar mistakenly expanded SEPARATOR but not STRING. +m4_define([lt_append], +[m4_define([$1], + m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) + + + +# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) +# ---------------------------------------------------------- +# Produce a SEP delimited list of all paired combinations of elements of +# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list +# has the form PREFIXmINFIXSUFFIXn. +# Needed until we can rely on m4_combine added in Autoconf 2.62. +m4_define([lt_combine], +[m4_if(m4_eval([$# > 3]), [1], + [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl +[[m4_foreach([_Lt_prefix], [$2], + [m4_foreach([_Lt_suffix], + ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, + [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) + + +# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) +# ----------------------------------------------------------------------- +# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited +# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. +m4_define([lt_if_append_uniq], +[m4_ifdef([$1], + [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], + [lt_append([$1], [$2], [$3])$4], + [$5])], + [lt_append([$1], [$2], [$3])$4])]) + + +# lt_dict_add(DICT, KEY, VALUE) +# ----------------------------- +m4_define([lt_dict_add], +[m4_define([$1($2)], [$3])]) + + +# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) +# -------------------------------------------- +m4_define([lt_dict_add_subkey], +[m4_define([$1($2:$3)], [$4])]) + + +# lt_dict_fetch(DICT, KEY, [SUBKEY]) +# ---------------------------------- +m4_define([lt_dict_fetch], +[m4_ifval([$3], + m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), + m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) + + +# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) +# ----------------------------------------------------------------- +m4_define([lt_if_dict_fetch], +[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], + [$5], + [$6])]) + + +# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) +# -------------------------------------------------------------- +m4_define([lt_dict_filter], +[m4_if([$5], [], [], + [lt_join(m4_quote(m4_default([$4], [[, ]])), + lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), + [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl +]) diff --git a/tizen/distrib/remote/server/spice-0.12.2/m4/ltversion.m4 b/tizen/distrib/remote/server/spice-0.12.2/m4/ltversion.m4 new file mode 100644 index 0000000..07a8602 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/m4/ltversion.m4 @@ -0,0 +1,23 @@ +# ltversion.m4 -- version numbers -*- Autoconf -*- +# +# Copyright (C) 2004 Free Software Foundation, Inc. +# Written by Scott James Remnant, 2004 +# +# This file 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. + +# @configure_input@ + +# serial 3337 ltversion.m4 +# This file is part of GNU Libtool + +m4_define([LT_PACKAGE_VERSION], [2.4.2]) +m4_define([LT_PACKAGE_REVISION], [1.3337]) + +AC_DEFUN([LTVERSION_VERSION], +[macro_version='2.4.2' +macro_revision='1.3337' +_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) +_LT_DECL(, macro_revision, 0) +]) diff --git a/tizen/distrib/remote/server/spice-0.12.2/m4/lt~obsolete.m4 b/tizen/distrib/remote/server/spice-0.12.2/m4/lt~obsolete.m4 new file mode 100644 index 0000000..c573da9 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/m4/lt~obsolete.m4 @@ -0,0 +1,98 @@ +# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- +# +# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. +# Written by Scott James Remnant, 2004. +# +# This file 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. + +# serial 5 lt~obsolete.m4 + +# These exist entirely to fool aclocal when bootstrapping libtool. +# +# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN) +# which have later been changed to m4_define as they aren't part of the +# exported API, or moved to Autoconf or Automake where they belong. +# +# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN +# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us +# using a macro with the same name in our local m4/libtool.m4 it'll +# pull the old libtool.m4 in (it doesn't see our shiny new m4_define +# and doesn't know about Autoconf macros at all.) +# +# So we provide this file, which has a silly filename so it's always +# included after everything else. This provides aclocal with the +# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything +# because those macros already exist, or will be overwritten later. +# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. +# +# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. +# Yes, that means every name once taken will need to remain here until +# we give up compatibility with versions before 1.7, at which point +# we need to keep only those names which we still refer to. + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) + +m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) +m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) +m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) +m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) +m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) +m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) +m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) +m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) +m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) +m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) +m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) +m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) +m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) +m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) +m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) +m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) +m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) +m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) +m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) +m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) +m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) +m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) +m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) +m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) +m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) +m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) +m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) +m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) +m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) +m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) +m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) +m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) +m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) +m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) +m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) +m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) +m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) +m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) +m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) +m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) +m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) +m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) +m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) +m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) +m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) +m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) +m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) +m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) +m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) +m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) +m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) +m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) +m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) +m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) diff --git a/tizen/distrib/remote/server/spice-0.12.2/m4/manywarnings.m4 b/tizen/distrib/remote/server/spice-0.12.2/m4/manywarnings.m4 new file mode 100644 index 0000000..fd0e372 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/m4/manywarnings.m4 @@ -0,0 +1,184 @@ +# manywarnings.m4 serial 3 +dnl Copyright (C) 2008-2012 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +dnl From Simon Josefsson + +# gl_MANYWARN_COMPLEMENT(OUTVAR, LISTVAR, REMOVEVAR) +# -------------------------------------------------- +# Copy LISTVAR to OUTVAR except for the entries in REMOVEVAR. +# Elements separated by whitespace. In set logic terms, the function +# does OUTVAR = LISTVAR \ REMOVEVAR. +AC_DEFUN([gl_MANYWARN_COMPLEMENT], +[ + gl_warn_set= + set x $2; shift + for gl_warn_item + do + case " $3 " in + *" $gl_warn_item "*) + ;; + *) + gl_warn_set="$gl_warn_set $gl_warn_item" + ;; + esac + done + $1=$gl_warn_set +]) + +# gl_MANYWARN_ALL_GCC(VARIABLE) +# ----------------------------- +# Add all documented GCC warning parameters to variable VARIABLE. +# Note that you need to test them using gl_WARN_ADD if you want to +# make sure your gcc understands it. +AC_DEFUN([gl_MANYWARN_ALL_GCC], +[ + dnl First, check if -Wno-missing-field-initializers is needed. + dnl -Wmissing-field-initializers is implied by -W, but that issues + dnl warnings with GCC version before 4.7, for the common idiom + dnl of initializing types on the stack to zero, using { 0, } + AC_REQUIRE([AC_PROG_CC]) + if test -n "$GCC"; then + + dnl First, check -W -Werror -Wno-missing-field-initializers is supported + dnl with the current $CC $CFLAGS $CPPFLAGS. + AC_MSG_CHECKING([whether -Wno-missing-field-initializers is supported]) + AC_CACHE_VAL([gl_cv_cc_nomfi_supported], [ + gl_save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -W -Werror -Wno-missing-field-initializers" + AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM([[]], [[]])], + [gl_cv_cc_nomfi_supported=yes], + [gl_cv_cc_nomfi_supported=no]) + CFLAGS="$gl_save_CFLAGS"]) + AC_MSG_RESULT([$gl_cv_cc_nomfi_supported]) + + if test "$gl_cv_cc_nomfi_supported" = yes; then + dnl Now check whether -Wno-missing-field-initializers is needed + dnl for the { 0, } construct. + AC_MSG_CHECKING([whether -Wno-missing-field-initializers is needed]) + AC_CACHE_VAL([gl_cv_cc_nomfi_needed], [ + gl_save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -W -Werror" + AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[void f (void) + { + typedef struct { int a; int b; } s_t; + s_t s1 = { 0, }; + } + ]], + [[]])], + [gl_cv_cc_nomfi_needed=no], + [gl_cv_cc_nomfi_needed=yes]) + CFLAGS="$gl_save_CFLAGS" + ]) + AC_MSG_RESULT([$gl_cv_cc_nomfi_needed]) + fi + fi + + gl_manywarn_set= + for gl_manywarn_item in \ + -Wall \ + -W \ + -Wformat-y2k \ + -Wformat-nonliteral \ + -Wformat-security \ + -Winit-self \ + -Wmissing-include-dirs \ + -Wswitch-default \ + -Wswitch-enum \ + -Wunused \ + -Wunknown-pragmas \ + -Wstrict-aliasing \ + -Wstrict-overflow \ + -Wsystem-headers \ + -Wfloat-equal \ + -Wtraditional \ + -Wtraditional-conversion \ + -Wdeclaration-after-statement \ + -Wundef \ + -Wshadow \ + -Wunsafe-loop-optimizations \ + -Wpointer-arith \ + -Wbad-function-cast \ + -Wc++-compat \ + -Wcast-qual \ + -Wcast-align \ + -Wwrite-strings \ + -Wconversion \ + -Wsign-conversion \ + -Wlogical-op \ + -Waggregate-return \ + -Wstrict-prototypes \ + -Wold-style-definition \ + -Wmissing-prototypes \ + -Wmissing-declarations \ + -Wmissing-noreturn \ + -Wmissing-format-attribute \ + -Wpacked \ + -Wpadded \ + -Wredundant-decls \ + -Wnested-externs \ + -Wunreachable-code \ + -Winline \ + -Winvalid-pch \ + -Wlong-long \ + -Wvla \ + -Wvolatile-register-var \ + -Wdisabled-optimization \ + -Wstack-protector \ + -Woverlength-strings \ + -Wbuiltin-macro-redefined \ + -Wmudflap \ + -Wpacked-bitfield-compat \ + -Wsync-nand \ + ; do + gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" + done + # The following are not documented in the manual but are included in + # output from gcc --help=warnings. + for gl_manywarn_item in \ + -Wattributes \ + -Wcoverage-mismatch \ + -Wmultichar \ + -Wunused-macros \ + ; do + gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" + done + # More warnings from gcc 4.6.2 --help=warnings. + for gl_manywarn_item in \ + -Wabi \ + -Wcpp \ + -Wdeprecated \ + -Wdeprecated-declarations \ + -Wdiv-by-zero \ + -Wdouble-promotion \ + -Wendif-labels \ + -Wextra \ + -Wformat-contains-nul \ + -Wformat-extra-args \ + -Wformat-zero-length \ + -Wformat=2 \ + -Wmultichar \ + -Wnormalized=nfc \ + -Woverflow \ + -Wpointer-to-int-cast \ + -Wpragmas \ + -Wsuggest-attribute=const \ + -Wsuggest-attribute=noreturn \ + -Wsuggest-attribute=pure \ + -Wtrampolines \ + ; do + gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" + done + + # Disable the missing-field-initializers warning if needed + if test "$gl_cv_cc_nomfi_needed" = yes; then + gl_manywarn_set="$gl_manywarn_set -Wno-missing-field-initializers" + fi + + $1=$gl_manywarn_set +]) diff --git a/tizen/distrib/remote/server/spice-0.12.2/m4/spice-compile-warnings.m4 b/tizen/distrib/remote/server/spice-0.12.2/m4/spice-compile-warnings.m4 new file mode 100644 index 0000000..959971a --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/m4/spice-compile-warnings.m4 @@ -0,0 +1,169 @@ +dnl +dnl Enable all known GCC compiler warnings, except for those +dnl we can't yet cope with +dnl +AC_DEFUN([SPICE_COMPILE_WARNINGS],[ + dnl ****************************** + dnl More compiler warnings + dnl ****************************** + + AC_ARG_ENABLE([werror], + AS_HELP_STRING([--enable-werror], [Use -Werror (if supported)]), + [set_werror="$enableval"], + [if test -d $srcdir/.git; then + is_git_version=true + set_werror=yes + else + set_werror=no + fi]) + + # List of warnings that are not relevant / wanted + + # Don't care about C++ compiler compat + dontwarn="$dontwarn -Wc++-compat" + dontwarn="$dontwarn -Wabi" + dontwarn="$dontwarn -Wdeprecated" + # Don't care about ancient C standard compat + dontwarn="$dontwarn -Wtraditional" + # Don't care about ancient C standard compat + dontwarn="$dontwarn -Wtraditional-conversion" + # Ignore warnings in /usr/include + dontwarn="$dontwarn -Wsystem-headers" + # Happy for compiler to add struct padding + dontwarn="$dontwarn -Wpadded" + # GCC very confused with -O2 + dontwarn="$dontwarn -Wunreachable-code" + + + dontwarn="$dontwarn -Wconversion" + dontwarn="$dontwarn -Wsign-conversion" + dontwarn="$dontwarn -Wvla" + dontwarn="$dontwarn -Wundef" + dontwarn="$dontwarn -Wcast-qual" + dontwarn="$dontwarn -Wlong-long" + dontwarn="$dontwarn -Wswitch-default" + dontwarn="$dontwarn -Wswitch-enum" + dontwarn="$dontwarn -Wstrict-overflow" + dontwarn="$dontwarn -Wunsafe-loop-optimizations" + dontwarn="$dontwarn -Wformat-nonliteral" + dontwarn="$dontwarn -Wfloat-equal" + dontwarn="$dontwarn -Wdeclaration-after-statement" + dontwarn="$dontwarn -Wcast-qual" + dontwarn="$dontwarn -Wconversion" + dontwarn="$dontwarn -Wsign-conversion" + dontwarn="$dontwarn -Wpacked" + dontwarn="$dontwarn -Wunused-macros" + dontwarn="$dontwarn -Woverlength-strings" + dontwarn="$dontwarn -Wstack-protector" + dontwarn="$dontwarn -Winline" + dontwarn="$dontwarn -Wbad-function-cast" + dontwarn="$dontwarn -Wshadow" + + # We want to enable thse, but need to sort out the + # decl mess with gtk/generated_*.c + dontwarn="$dontwarn -Wmissing-prototypes" + dontwarn="$dontwarn -Wmissing-declarations" + + # Stuff that C++ won't allow. Turn them back on later + dontwarn="$dontwarn -Waggregate-return" + dontwarn="$dontwarn -Wstrict-prototypes" + dontwarn="$dontwarn -Wold-style-definition" + dontwarn="$dontwarn -Wnested-externs" + dontwarn="$dontwarn -Wformat-zero-length" + dontwarn="$dontwarn -Wpointer-to-int-cast" + dontwarn="$dontwarn -Wjump-misses-init" + + # Issues in x11/platform_utils.cpp prevent us turning this on + dontwarn="$dontwarn -Wmissing-format-attribute" + + # Get all possible GCC warnings + gl_MANYWARN_ALL_GCC([maybewarn]) + + # Remove the ones we don't want, blacklisted earlier + gl_MANYWARN_COMPLEMENT([wantwarn], [$maybewarn], [$dontwarn]) + + # Check for $CC support of each warning + for w in $wantwarn; do + gl_WARN_ADD([$w]) + done + + # GNULIB uses '-W' (aka -Wextra) which includes a bunch of stuff. + # Unfortunately, this means you can't simply use '-Wsign-compare' + # with gl_MANYWARN_COMPLEMENT + # So we have -W enabled, and then have to explicitly turn off... + gl_WARN_ADD([-Wno-sign-compare]) + gl_WARN_ADD([-Wno-unused-parameter]) + # We can't enable this due to horrible spice_usb_device_get_description + # signature + gl_WARN_ADD([-Wno-format-nonliteral]) + # CEGui headers cause violation of this + gl_WARN_ADD([-Wno-ignored-qualifiers]) + + + + + # GNULIB turns on -Wformat=2 which implies -Wformat-nonliteral, + # so we need to manually re-exclude it. + gl_WARN_ADD([-Wno-format-nonliteral]) + + # This should be < 1024 really. pixman_utils is the blackspot + # preventing lower usage + gl_WARN_ADD([-Wframe-larger-than=20460]) + + # Use improved glibc headers + AH_VERBATIM([FORTIFY_SOURCE], + [/* Enable compile-time and run-time bounds-checking, and some warnings. */ +#if __OPTIMIZE__ +# define _FORTIFY_SOURCE 2 +#endif +]) + + # Extra special flags + dnl -fstack-protector stuff passes gl_WARN_ADD with gcc + dnl on Mingw32, but fails when actually used + case $host in + *-*-linux*) + dnl Fedora only uses -fstack-protector, but doesn't seem to + dnl be great overhead in adding -fstack-protector-all instead + dnl gl_WARN_ADD([-fstack-protector]) + gl_WARN_ADD([-fstack-protector-all]) + gl_WARN_ADD([--param=ssp-buffer-size=4]) + ;; + esac + gl_WARN_ADD([-fexceptions]) + gl_WARN_ADD([-fasynchronous-unwind-tables]) + gl_WARN_ADD([-fdiagnostics-show-option]) + gl_WARN_ADD([-funit-at-a-time]) + + # Need -fipa-pure-const in order to make -Wsuggest-attribute=pure + # fire even without -O. + gl_WARN_ADD([-fipa-pure-const]) + + # We should eventually enable this, but right now there are at + # least 75 functions triggering warnings. + gl_WARN_ADD([-Wno-suggest-attribute=pure]) + gl_WARN_ADD([-Wno-suggest-attribute=const]) + + if test "$set_werror" = "yes" + then + gl_WARN_ADD([-Werror]) + fi + WARN_CXXFLAGS=$WARN_CFLAGS + AC_SUBST([WARN_CXXFLAGS]) + + # These are C-only warnings + if test "x$enable_tunnel" != "xyes"; then + # Slirp causes pain :-( + gl_WARN_ADD([-Waggregate-return]) + fi + gl_WARN_ADD([-Wstrict-prototypes]) + gl_WARN_ADD([-Wold-style-definition]) + gl_WARN_ADD([-Wnested-externs]) + gl_WARN_ADD([-Wformat-zero-length]) + gl_WARN_ADD([-Wpointer-to-int-cast]) + gl_WARN_ADD([-Wjump-misses-init]) + + WARN_LDFLAGS=$WARN_CFLAGS + AC_SUBST([WARN_CFLAGS]) + AC_SUBST([WARN_LDFLAGS]) +]) diff --git a/tizen/distrib/remote/server/spice-0.12.2/m4/warnings.m4 b/tizen/distrib/remote/server/spice-0.12.2/m4/warnings.m4 new file mode 100644 index 0000000..69d05a6 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/m4/warnings.m4 @@ -0,0 +1,37 @@ +# warnings.m4 serial 5 +dnl Copyright (C) 2008-2012 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +dnl From Simon Josefsson + +# gl_AS_VAR_APPEND(VAR, VALUE) +# ---------------------------- +# Provide the functionality of AS_VAR_APPEND if Autoconf does not have it. +m4_ifdef([AS_VAR_APPEND], +[m4_copy([AS_VAR_APPEND], [gl_AS_VAR_APPEND])], +[m4_define([gl_AS_VAR_APPEND], +[AS_VAR_SET([$1], [AS_VAR_GET([$1])$2])])]) + +# gl_WARN_ADD(PARAMETER, [VARIABLE = WARN_CFLAGS]) +# ------------------------------------------------ +# Adds parameter to WARN_CFLAGS if the compiler supports it. For example, +# gl_WARN_ADD([-Wparentheses]). +AC_DEFUN([gl_WARN_ADD], +dnl FIXME: gl_Warn must be used unquoted until we can assume +dnl autoconf 2.64 or newer. +[AS_VAR_PUSHDEF([gl_Warn], [gl_cv_warn_$1])dnl +AC_CACHE_CHECK([whether compiler handles $1], m4_defn([gl_Warn]), [ + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="${CPPFLAGS} $1" + AC_PREPROC_IFELSE([AC_LANG_PROGRAM([])], + [AS_VAR_SET(gl_Warn, [yes])], + [AS_VAR_SET(gl_Warn, [no])]) + CPPFLAGS="$gl_save_CPPFLAGS" +]) +AS_VAR_IF(gl_Warn, [yes], + [gl_AS_VAR_APPEND(m4_if([$2], [], [[WARN_CFLAGS]], [[$2]]), [" $1"])]) +AS_VAR_POPDEF([gl_Warn])dnl +m4_ifval([$2], [AS_LITERAL_IF([$2], [AC_SUBST([$2])], [])])dnl +]) diff --git a/tizen/distrib/remote/server/spice-0.12.2/missing b/tizen/distrib/remote/server/spice-0.12.2/missing new file mode 100755 index 0000000..9a55648 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/missing @@ -0,0 +1,330 @@ +#! /bin/sh +# Common stub for a few missing GNU programs while installing. + +scriptversion=2012-01-06.18; # UTC + +# Copyright (C) 1996-2012 Free Software Foundation, Inc. +# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. + +# 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, 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/>. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +if test $# -eq 0; then + echo 1>&2 "Try '$0 --help' for more information" + exit 1 +fi + +run=: +sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' +sed_minuso='s/.* -o \([^ ]*\).*/\1/p' + +# In the cases where this matters, 'missing' is being run in the +# srcdir already. +if test -f configure.ac; then + configure_ac=configure.ac +else + configure_ac=configure.in +fi + +msg="missing on your system" + +case $1 in +--run) + # Try to run requested program, and just exit if it succeeds. + run= + shift + "$@" && exit 0 + # Exit code 63 means version mismatch. This often happens + # when the user try to use an ancient version of a tool on + # a file that requires a minimum version. In this case we + # we should proceed has if the program had been absent, or + # if --run hadn't been passed. + if test $? = 63; then + run=: + msg="probably too old" + fi + ;; + + -h|--h|--he|--hel|--help) + echo "\ +$0 [OPTION]... PROGRAM [ARGUMENT]... + +Handle 'PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an +error status if there is no known handling for PROGRAM. + +Options: + -h, --help display this help and exit + -v, --version output version information and exit + --run try to run the given command, and emulate it if it fails + +Supported PROGRAM values: + aclocal touch file 'aclocal.m4' + autoconf touch file 'configure' + autoheader touch file 'config.h.in' + autom4te touch the output file, or create a stub one + automake touch all 'Makefile.in' files + bison create 'y.tab.[ch]', if possible, from existing .[ch] + flex create 'lex.yy.c', if possible, from existing .c + help2man touch the output file + lex create 'lex.yy.c', if possible, from existing .c + makeinfo touch the output file + yacc create 'y.tab.[ch]', if possible, from existing .[ch] + +Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and +'g' are ignored when checking the name. + +Send bug reports to <bug-automake@gnu.org>." + exit $? + ;; + + -v|--v|--ve|--ver|--vers|--versi|--versio|--version) + echo "missing $scriptversion (GNU Automake)" + exit $? + ;; + + -*) + echo 1>&2 "$0: Unknown '$1' option" + echo 1>&2 "Try '$0 --help' for more information" + exit 1 + ;; + +esac + +# normalize program name to check for. +program=`echo "$1" | sed ' + s/^gnu-//; t + s/^gnu//; t + s/^g//; t'` + +# Now exit if we have it, but it failed. Also exit now if we +# don't have it and --version was passed (most likely to detect +# the program). This is about non-GNU programs, so use $1 not +# $program. +case $1 in + lex*|yacc*) + # Not GNU programs, they don't have --version. + ;; + + *) + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then + # Could not run --version or --help. This is probably someone + # running '$TOOL --version' or '$TOOL --help' to check whether + # $TOOL exists and not knowing $TOOL uses missing. + exit 1 + fi + ;; +esac + +# If it does not exist, or fails to run (possibly an outdated version), +# try to emulate it. +case $program in + aclocal*) + echo 1>&2 "\ +WARNING: '$1' is $msg. You should only need it if + you modified 'acinclude.m4' or '${configure_ac}'. You might want + to install the Automake and Perl packages. Grab them from + any GNU archive site." + touch aclocal.m4 + ;; + + autoconf*) + echo 1>&2 "\ +WARNING: '$1' is $msg. You should only need it if + you modified '${configure_ac}'. You might want to install the + Autoconf and GNU m4 packages. Grab them from any GNU + archive site." + touch configure + ;; + + autoheader*) + echo 1>&2 "\ +WARNING: '$1' is $msg. You should only need it if + you modified 'acconfig.h' or '${configure_ac}'. You might want + to install the Autoconf and GNU m4 packages. Grab them + from any GNU archive site." + files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` + test -z "$files" && files="config.h" + touch_files= + for f in $files; do + case $f in + *:*) touch_files="$touch_files "`echo "$f" | + sed -e 's/^[^:]*://' -e 's/:.*//'`;; + *) touch_files="$touch_files $f.in";; + esac + done + touch $touch_files + ;; + + automake*) + echo 1>&2 "\ +WARNING: '$1' is $msg. You should only need it if + you modified 'Makefile.am', 'acinclude.m4' or '${configure_ac}'. + You might want to install the Automake and Perl packages. + Grab them from any GNU archive site." + find . -type f -name Makefile.am -print | + sed 's/\.am$/.in/' | + while read f; do touch "$f"; done + ;; + + autom4te*) + echo 1>&2 "\ +WARNING: '$1' is needed, but is $msg. + You might have modified some files without having the + proper tools for further handling them. + You can get '$1' as part of Autoconf from any GNU + archive site." + + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -f "$file"; then + touch $file + else + test -z "$file" || exec >$file + echo "#! /bin/sh" + echo "# Created by GNU Automake missing as a replacement of" + echo "# $ $@" + echo "exit 0" + chmod +x $file + exit 1 + fi + ;; + + bison*|yacc*) + echo 1>&2 "\ +WARNING: '$1' $msg. You should only need it if + you modified a '.y' file. You may need the Bison package + in order for those modifications to take effect. You can get + Bison from any GNU archive site." + rm -f y.tab.c y.tab.h + if test $# -ne 1; then + eval LASTARG=\${$#} + case $LASTARG in + *.y) + SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` + if test -f "$SRCFILE"; then + cp "$SRCFILE" y.tab.c + fi + SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` + if test -f "$SRCFILE"; then + cp "$SRCFILE" y.tab.h + fi + ;; + esac + fi + if test ! -f y.tab.h; then + echo >y.tab.h + fi + if test ! -f y.tab.c; then + echo 'main() { return 0; }' >y.tab.c + fi + ;; + + lex*|flex*) + echo 1>&2 "\ +WARNING: '$1' is $msg. You should only need it if + you modified a '.l' file. You may need the Flex package + in order for those modifications to take effect. You can get + Flex from any GNU archive site." + rm -f lex.yy.c + if test $# -ne 1; then + eval LASTARG=\${$#} + case $LASTARG in + *.l) + SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` + if test -f "$SRCFILE"; then + cp "$SRCFILE" lex.yy.c + fi + ;; + esac + fi + if test ! -f lex.yy.c; then + echo 'main() { return 0; }' >lex.yy.c + fi + ;; + + help2man*) + echo 1>&2 "\ +WARNING: '$1' is $msg. You should only need it if + you modified a dependency of a manual page. You may need the + Help2man package in order for those modifications to take + effect. You can get Help2man from any GNU archive site." + + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -f "$file"; then + touch $file + else + test -z "$file" || exec >$file + echo ".ab help2man is required to generate this page" + exit $? + fi + ;; + + makeinfo*) + echo 1>&2 "\ +WARNING: '$1' is $msg. You should only need it if + you modified a '.texi' or '.texinfo' file, or any other file + indirectly affecting the aspect of the manual. The spurious + call might also be the consequence of using a buggy 'make' (AIX, + DU, IRIX). You might want to install the Texinfo package or + the GNU make package. Grab either from any GNU archive site." + # The file to touch is that specified with -o ... + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -z "$file"; then + # ... or it is the one specified with @setfilename ... + infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` + file=`sed -n ' + /^@setfilename/{ + s/.* \([^ ]*\) *$/\1/ + p + q + }' $infile` + # ... or it is derived from the source name (dir/f.texi becomes f.info) + test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info + fi + # If the file does not exist, the user really needs makeinfo; + # let's fail without touching anything. + test -f $file || exit 1 + touch $file + ;; + + *) + echo 1>&2 "\ +WARNING: '$1' is needed, and is $msg. + You might have modified some files without having the + proper tools for further handling them. Check the 'README' file, + it often tells you about the needed prerequisites for installing + this package. You may also peek at any GNU archive site, in case + some other package would contain this missing '$1' program." + exit 1 + ;; +esac + +exit 0 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/Makefile.am b/tizen/distrib/remote/server/spice-0.12.2/server/Makefile.am new file mode 100644 index 0000000..dd4cf0c --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/Makefile.am @@ -0,0 +1,135 @@ +NULL = +SUBDIRS = . tests + +AM_CPPFLAGS = \ + -DRED_STATISTICS \ + $(CELT051_CFLAGS) \ + $(COMMON_CFLAGS) \ + $(GLIB2_CFLAGS) \ + $(PIXMAN_CFLAGS) \ + $(SASL_CFLAGS) \ + $(SLIRP_CFLAGS) \ + $(SMARTCARD_CFLAGS) \ + $(SSL_CFLAGS) \ + $(VISIBILITY_HIDDEN_CFLAGS) \ + $(WARN_CFLAGS) \ + $(NULL) + +lib_LTLIBRARIES = libspice-server.la + +libspice_server_la_LDFLAGS = \ + -version-info $(SPICE_LT_VERSION) \ + -no-undefined \ + $(NULL) + +if HAVE_LD_VERSION_SCRIPT +libspice_server_la_LDFLAGS += \ + -Wl,--version-script=$(top_srcdir)/server/spice-server.syms +endif + +libspice_server_la_LIBADD = \ + $(top_builddir)/../../common/spice-common/common/libspice-common.la \ + $(top_builddir)/../../common/spice-common/common/libspice-common-server.la \ + $(CELT051_LIBS) \ + $(GL_LIBS) \ + $(GLIB2_LIBS) \ + $(JPEG_LIBS) \ + $(LIBRT) \ + $(PIXMAN_LIBS) \ + $(SASL_LIBS) \ + $(SLIRP_LIBS) \ + $(SSL_LIBS) \ + $(Z_LIBS) \ + $(NULL) + +libspice_server_la_SOURCES = \ + agent-msg-filter.c \ + agent-msg-filter.h \ + char_device.c \ + char_device.h \ + demarshallers.h \ + glz_encoder.c \ + glz_encoder.h \ + glz_encoder_config.h \ + glz_encoder_dictionary.c \ + glz_encoder_dictionary.h \ + glz_encoder_dictionary_protected.h \ + inputs_channel.c \ + inputs_channel.h \ + jpeg_encoder.c \ + jpeg_encoder.h \ + main_channel.c \ + main_channel.h \ + mjpeg_encoder.c \ + mjpeg_encoder.h \ + red_bitmap_utils.h \ + red_channel.c \ + red_channel.h \ + red_client_cache.h \ + red_client_shared_cache.h \ + red_common.h \ + dispatcher.c \ + dispatcher.h \ + red_dispatcher.c \ + red_dispatcher.h \ + main_dispatcher.c \ + main_dispatcher.h \ + migration_protocol.h \ + red_memslots.c \ + red_memslots.h \ + red_parse_qxl.c \ + red_parse_qxl.h \ + red_worker.c \ + red_worker.h \ + reds.c \ + reds.h \ + reds-private.h \ + reds_sw_canvas.c \ + reds_sw_canvas.h \ + snd_worker.c \ + snd_worker.h \ + spice-experimental.h \ + spice.h \ + stat.h \ + spicevmc.c \ + zlib_encoder.c \ + zlib_encoder.h \ + $(NULL) + +if SUPPORT_TUNNEL +libspice_server_la_SOURCES += \ + red_tunnel_worker.c \ + red_tunnel_worker.h \ + $(NULL) +endif + +if SUPPORT_GL +libspice_server_la_SOURCES += \ + reds_gl_canvas.c \ + reds_gl_canvas.h \ + $(NULL) +endif + +if SUPPORT_SMARTCARD +libspice_server_la_SOURCES += \ + smartcard.c \ + smartcard.h \ + $(NULL) +endif + +libspice_serverincludedir = $(includedir)/spice-server +libspice_serverinclude_HEADERS = \ + spice.h \ + spice-experimental.h \ + $(NULL) + +EXTRA_DIST = \ + glz_encode_match_tmpl.c \ + glz_encode_tmpl.c \ + spice-server.syms \ + $(NULL) + +BUILT_SOURCES = $(spice_built_sources) + +dist-hook: + if [ -e ./tests/test_spice_version.sh -a ! ./tests/test_spice_version.sh ] ; then exit 1; fi diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/Makefile.in b/tizen/distrib/remote/server/spice-0.12.2/server/Makefile.in new file mode 100644 index 0000000..646f64b --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/Makefile.in @@ -0,0 +1,970 @@ +# Makefile.in generated by automake 1.12.2 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2012 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@ + + +VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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@ +@HAVE_LD_VERSION_SCRIPT_TRUE@am__append_1 = \ +@HAVE_LD_VERSION_SCRIPT_TRUE@ -Wl,--version-script=$(top_srcdir)/server/spice-server.syms + +@SUPPORT_TUNNEL_TRUE@am__append_2 = \ +@SUPPORT_TUNNEL_TRUE@ red_tunnel_worker.c \ +@SUPPORT_TUNNEL_TRUE@ red_tunnel_worker.h \ +@SUPPORT_TUNNEL_TRUE@ $(NULL) + +@SUPPORT_GL_TRUE@am__append_3 = \ +@SUPPORT_GL_TRUE@ reds_gl_canvas.c \ +@SUPPORT_GL_TRUE@ reds_gl_canvas.h \ +@SUPPORT_GL_TRUE@ $(NULL) + +@SUPPORT_SMARTCARD_TRUE@am__append_4 = \ +@SUPPORT_SMARTCARD_TRUE@ smartcard.c \ +@SUPPORT_SMARTCARD_TRUE@ smartcard.h \ +@SUPPORT_SMARTCARD_TRUE@ $(NULL) + +subdir = server +DIST_COMMON = $(libspice_serverinclude_HEADERS) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in $(top_srcdir)/depcomp +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/m4/manywarnings.m4 \ + $(top_srcdir)/m4/spice-compile-warnings.m4 \ + $(top_srcdir)/m4/warnings.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 = +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; }; \ + } +am__installdirs = "$(DESTDIR)$(libdir)" \ + "$(DESTDIR)$(libspice_serverincludedir)" +LTLIBRARIES = $(lib_LTLIBRARIES) +am__DEPENDENCIES_1 = +libspice_server_la_DEPENDENCIES = \ + $(top_builddir)/../../common/spice-common/common/libspice-common.la \ + $(top_builddir)/../../common/spice-common/common/libspice-common-server.la \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) +am__libspice_server_la_SOURCES_DIST = agent-msg-filter.c \ + agent-msg-filter.h char_device.c char_device.h demarshallers.h \ + glz_encoder.c glz_encoder.h glz_encoder_config.h \ + glz_encoder_dictionary.c glz_encoder_dictionary.h \ + glz_encoder_dictionary_protected.h inputs_channel.c \ + inputs_channel.h jpeg_encoder.c jpeg_encoder.h main_channel.c \ + main_channel.h mjpeg_encoder.c mjpeg_encoder.h \ + red_bitmap_utils.h red_channel.c red_channel.h \ + red_client_cache.h red_client_shared_cache.h red_common.h \ + dispatcher.c dispatcher.h red_dispatcher.c red_dispatcher.h \ + main_dispatcher.c main_dispatcher.h migration_protocol.h \ + red_memslots.c red_memslots.h red_parse_qxl.c red_parse_qxl.h \ + red_worker.c red_worker.h reds.c reds.h reds-private.h \ + reds_sw_canvas.c reds_sw_canvas.h snd_worker.c snd_worker.h \ + spice-experimental.h spice.h stat.h spicevmc.c zlib_encoder.c \ + zlib_encoder.h red_tunnel_worker.c red_tunnel_worker.h \ + reds_gl_canvas.c reds_gl_canvas.h smartcard.c smartcard.h +am__objects_1 = +@SUPPORT_TUNNEL_TRUE@am__objects_2 = red_tunnel_worker.lo \ +@SUPPORT_TUNNEL_TRUE@ $(am__objects_1) +@SUPPORT_GL_TRUE@am__objects_3 = reds_gl_canvas.lo $(am__objects_1) +@SUPPORT_SMARTCARD_TRUE@am__objects_4 = smartcard.lo $(am__objects_1) +am_libspice_server_la_OBJECTS = agent-msg-filter.lo char_device.lo \ + glz_encoder.lo glz_encoder_dictionary.lo inputs_channel.lo \ + jpeg_encoder.lo main_channel.lo mjpeg_encoder.lo \ + red_channel.lo dispatcher.lo red_dispatcher.lo \ + main_dispatcher.lo red_memslots.lo red_parse_qxl.lo \ + red_worker.lo reds.lo reds_sw_canvas.lo snd_worker.lo \ + spicevmc.lo zlib_encoder.lo $(am__objects_1) $(am__objects_2) \ + $(am__objects_3) $(am__objects_4) +libspice_server_la_OBJECTS = $(am_libspice_server_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +libspice_server_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(AM_CFLAGS) $(CFLAGS) $(libspice_server_la_LDFLAGS) \ + $(LDFLAGS) -o $@ +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libspice_server_la_SOURCES) +DIST_SOURCES = $(am__libspice_server_la_SOURCES_DIST) +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-dvi-recursive install-exec-recursive \ + install-html-recursive install-info-recursive \ + install-pdf-recursive install-ps-recursive install-recursive \ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +HEADERS = $(libspice_serverinclude_HEADERS) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ + distdir +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +ALSA_CFLAGS = @ALSA_CFLAGS@ +ALSA_LIBS = @ALSA_LIBS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CAC_CARD_CFLAGS = @CAC_CARD_CFLAGS@ +CAC_CARD_LIBS = @CAC_CARD_LIBS@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CEGUI06_CFLAGS = @CEGUI06_CFLAGS@ +CEGUI06_LIBS = @CEGUI06_LIBS@ +CEGUI_CFLAGS = @CEGUI_CFLAGS@ +CEGUI_LIBS = @CEGUI_LIBS@ +CELT051_CFLAGS = @CELT051_CFLAGS@ +CELT051_LIBDIR = @CELT051_LIBDIR@ +CELT051_LIBS = @CELT051_LIBS@ +CFLAGS = @CFLAGS@ +CFLAGS_CFLAGS = @CFLAGS_CFLAGS@ +COMMON_CFLAGS = @COMMON_CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXIMAGE_CFLAGS = @CXIMAGE_CFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GLIB2_CFLAGS = @GLIB2_CFLAGS@ +GLIB2_LIBS = @GLIB2_LIBS@ +GL_CFLAGS = @GL_CFLAGS@ +GL_LIBS = @GL_LIBS@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +JPEG_LIBS = @JPEG_LIBS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBM = @LIBM@ +LIBOBJS = @LIBOBJS@ +LIBRT = @LIBRT@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MISC_X_CFLAGS = @MISC_X_CFLAGS@ +MISC_X_LIBS = @MISC_X_LIBS@ +MKDIR_P = @MKDIR_P@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ +PIXMAN_LIBS = @PIXMAN_LIBS@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PYTHON = @PYTHON@ +RANLIB = @RANLIB@ +SASL_CFLAGS = @SASL_CFLAGS@ +SASL_LIBS = @SASL_LIBS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SLIRP_CFLAGS = @SLIRP_CFLAGS@ +SLIRP_LIBS = @SLIRP_LIBS@ +SMARTCARD_CFLAGS = @SMARTCARD_CFLAGS@ +SMARTCARD_LIBS = @SMARTCARD_LIBS@ +SPICEC_STATIC_LINKAGE_BSTATIC = @SPICEC_STATIC_LINKAGE_BSTATIC@ +SPICE_LT_VERSION = @SPICE_LT_VERSION@ +SPICE_NONPKGCONFIG_CFLAGS = @SPICE_NONPKGCONFIG_CFLAGS@ +SPICE_NONPKGCONFIG_LIBS = @SPICE_NONPKGCONFIG_LIBS@ +SPICE_REQUIRES = @SPICE_REQUIRES@ +SSL_CFLAGS = @SSL_CFLAGS@ +SSL_LIBS = @SSL_LIBS@ +STRIP = @STRIP@ +VERSION = @VERSION@ +VISIBILITY_HIDDEN_CFLAGS = @VISIBILITY_HIDDEN_CFLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WARN_CXXFLAGS = @WARN_CXXFLAGS@ +WARN_LDFLAGS = @WARN_LDFLAGS@ +WINDRES = @WINDRES@ +XFIXES_CFLAGS = @XFIXES_CFLAGS@ +XFIXES_LIBS = @XFIXES_LIBS@ +XINERAMA_CFLAGS = @XINERAMA_CFLAGS@ +XINERAMA_LIBS = @XINERAMA_LIBS@ +XRANDR12_CFLAGS = @XRANDR12_CFLAGS@ +XRANDR12_LIBS = @XRANDR12_LIBS@ +XRANDR_CFLAGS = @XRANDR_CFLAGS@ +XRANDR_LIBS = @XRANDR_LIBS@ +Z_LIBS = @Z_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +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@ +subdirs = @subdirs@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +NULL = +SUBDIRS = . tests +AM_CPPFLAGS = \ + -DRED_STATISTICS \ + $(CELT051_CFLAGS) \ + $(COMMON_CFLAGS) \ + $(GLIB2_CFLAGS) \ + $(PIXMAN_CFLAGS) \ + $(SASL_CFLAGS) \ + $(SLIRP_CFLAGS) \ + $(SMARTCARD_CFLAGS) \ + $(SSL_CFLAGS) \ + $(VISIBILITY_HIDDEN_CFLAGS) \ + $(WARN_CFLAGS) \ + $(NULL) + +lib_LTLIBRARIES = libspice-server.la +libspice_server_la_LDFLAGS = -version-info $(SPICE_LT_VERSION) \ + -no-undefined $(NULL) $(am__append_1) +libspice_server_la_LIBADD = \ + $(top_builddir)/../../common/spice-common/common/libspice-common.la \ + $(top_builddir)/../../common/spice-common/common/libspice-common-server.la \ + $(CELT051_LIBS) \ + $(GL_LIBS) \ + $(GLIB2_LIBS) \ + $(JPEG_LIBS) \ + $(LIBRT) \ + $(PIXMAN_LIBS) \ + $(SASL_LIBS) \ + $(SLIRP_LIBS) \ + $(SSL_LIBS) \ + $(Z_LIBS) \ + $(NULL) + +libspice_server_la_SOURCES = agent-msg-filter.c agent-msg-filter.h \ + char_device.c char_device.h demarshallers.h glz_encoder.c \ + glz_encoder.h glz_encoder_config.h glz_encoder_dictionary.c \ + glz_encoder_dictionary.h glz_encoder_dictionary_protected.h \ + inputs_channel.c inputs_channel.h jpeg_encoder.c \ + jpeg_encoder.h main_channel.c main_channel.h mjpeg_encoder.c \ + mjpeg_encoder.h red_bitmap_utils.h red_channel.c red_channel.h \ + red_client_cache.h red_client_shared_cache.h red_common.h \ + dispatcher.c dispatcher.h red_dispatcher.c red_dispatcher.h \ + main_dispatcher.c main_dispatcher.h migration_protocol.h \ + red_memslots.c red_memslots.h red_parse_qxl.c red_parse_qxl.h \ + red_worker.c red_worker.h reds.c reds.h reds-private.h \ + reds_sw_canvas.c reds_sw_canvas.h snd_worker.c snd_worker.h \ + spice-experimental.h spice.h stat.h spicevmc.c zlib_encoder.c \ + zlib_encoder.h $(NULL) $(am__append_2) $(am__append_3) \ + $(am__append_4) +libspice_serverincludedir = $(includedir)/spice-server +libspice_serverinclude_HEADERS = \ + spice.h \ + spice-experimental.h \ + $(NULL) + +EXTRA_DIST = \ + glz_encode_match_tmpl.c \ + glz_encode_tmpl.c \ + spice-server.syms \ + $(NULL) + +BUILT_SOURCES = $(spice_built_sources) +all: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(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 server/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu server/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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): +install-libLTLIBRARIES: $(lib_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ + } + +uninstall-libLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ + done + +clean-libLTLIBRARIES: + -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) + @list='$(lib_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } +libspice-server.la: $(libspice_server_la_OBJECTS) $(libspice_server_la_DEPENDENCIES) $(EXTRA_libspice_server_la_DEPENDENCIES) + $(AM_V_CCLD)$(libspice_server_la_LINK) -rpath $(libdir) $(libspice_server_la_OBJECTS) $(libspice_server_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/agent-msg-filter.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/char_device.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dispatcher.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glz_encoder.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glz_encoder_dictionary.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/inputs_channel.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jpeg_encoder.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main_channel.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main_dispatcher.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mjpeg_encoder.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/red_channel.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/red_dispatcher.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/red_memslots.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/red_parse_qxl.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/red_tunnel_worker.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/red_worker.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reds.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reds_gl_canvas.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reds_sw_canvas.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/smartcard.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/snd_worker.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spicevmc.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/zlib_encoder.Plo@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-libspice_serverincludeHEADERS: $(libspice_serverinclude_HEADERS) + @$(NORMAL_INSTALL) + @list='$(libspice_serverinclude_HEADERS)'; test -n "$(libspice_serverincludedir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libspice_serverincludedir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libspice_serverincludedir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libspice_serverincludedir)'"; \ + $(INSTALL_HEADER) $$files "$(DESTDIR)$(libspice_serverincludedir)" || exit $$?; \ + done + +uninstall-libspice_serverincludeHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(libspice_serverinclude_HEADERS)'; test -n "$(libspice_serverincludedir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libspice_serverincludedir)'; $(am__uninstall_files_from_dir) + +# This directory's subdirectories are mostly independent; you can cd +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done +cscopelist-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @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 + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" distdir="$(distdir)" \ + dist-hook +check-am: all-am +check: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-recursive +all-am: Makefile $(LTLIBRARIES) $(HEADERS) +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libspice_serverincludedir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +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 "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) +clean: clean-recursive + +clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ + mostlyclean-am + +distclean: distclean-recursive + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: install-libspice_serverincludeHEADERS + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: install-libLTLIBRARIES + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-libLTLIBRARIES \ + uninstall-libspice_serverincludeHEADERS + +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \ + cscopelist-recursive ctags-recursive install install-am \ + install-strip tags-recursive + +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am check check-am clean clean-generic \ + clean-libLTLIBRARIES clean-libtool cscopelist \ + cscopelist-recursive ctags ctags-recursive dist-hook distclean \ + distclean-compile distclean-generic distclean-libtool \ + distclean-tags 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-libLTLIBRARIES install-libspice_serverincludeHEADERS \ + install-man install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-recursive uninstall uninstall-am \ + uninstall-libLTLIBRARIES \ + uninstall-libspice_serverincludeHEADERS + + +dist-hook: + if [ -e ./tests/test_spice_version.sh -a ! ./tests/test_spice_version.sh ] ; then exit 1; fi + +# 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: diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/agent-msg-filter.c b/tizen/distrib/remote/server/spice-0.12.2/server/agent-msg-filter.c new file mode 100644 index 0000000..b48dd76 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/agent-msg-filter.c @@ -0,0 +1,102 @@ +/* + Copyright (C) 2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. + + Red Hat Authors: + hdegoede@redhat.com +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <string.h> +#include "red_common.h" +#include "agent-msg-filter.h" +#include "red_dispatcher.h" + +void agent_msg_filter_init(struct AgentMsgFilter *filter, + int copy_paste, int discard_all) +{ + memset(filter, 0, sizeof(*filter)); + filter->copy_paste_enabled = copy_paste; + filter->discard_all = discard_all; +} + +int agent_msg_filter_process_data(struct AgentMsgFilter *filter, + uint8_t *data, uint32_t len) +{ + struct VDAgentMessage msg_header; + + if (len > VD_AGENT_MAX_DATA_SIZE) { + spice_printerr("invalid agent message: too large"); + return AGENT_MSG_FILTER_PROTO_ERROR; + } + + /* Are we expecting more data from a previous message? */ + if (filter->msg_data_to_read) { +data_to_read: + if (len > filter->msg_data_to_read) { + spice_printerr("invalid agent message: data exceeds size from header"); + return AGENT_MSG_FILTER_PROTO_ERROR; + } + filter->msg_data_to_read -= len; + return filter->result; + } + + if (len < sizeof(msg_header)) { + spice_printerr("invalid agent message: incomplete header"); + return AGENT_MSG_FILTER_PROTO_ERROR; + } + memcpy(&msg_header, data, sizeof(msg_header)); + len -= sizeof(msg_header); + + if (msg_header.protocol != VD_AGENT_PROTOCOL) { + spice_printerr("invalid agent protocol: %u", msg_header.protocol); + return AGENT_MSG_FILTER_PROTO_ERROR; + } + + if (filter->discard_all) { + filter->result = AGENT_MSG_FILTER_DISCARD; + } else { + switch (msg_header.type) { + case VD_AGENT_CLIPBOARD: + case VD_AGENT_CLIPBOARD_GRAB: + case VD_AGENT_CLIPBOARD_REQUEST: + case VD_AGENT_CLIPBOARD_RELEASE: + if (filter->copy_paste_enabled) { + filter->result = AGENT_MSG_FILTER_OK; + } else { + filter->result = AGENT_MSG_FILTER_DISCARD; + } + break; + case VD_AGENT_MONITORS_CONFIG: + if (red_dispatcher_use_client_monitors_config()) { + filter->result = AGENT_MSG_FILTER_MONITORS_CONFIG; + } else { + filter->result = AGENT_MSG_FILTER_OK; + } + break; + default: + filter->result = AGENT_MSG_FILTER_OK; + } + } + + filter->msg_data_to_read = msg_header.size; + if (filter->msg_data_to_read) { + goto data_to_read; + } + + return filter->result; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/agent-msg-filter.h b/tizen/distrib/remote/server/spice-0.12.2/server/agent-msg-filter.h new file mode 100644 index 0000000..0132ad7 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/agent-msg-filter.h @@ -0,0 +1,47 @@ +/* + Copyright (C) 2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. + + Red Hat Authors: + hdegoede@redhat.com +*/ + +#ifndef _H_AGENT_MSG_FILTER +#define _H_AGENT_MSG_FILTER + +#include <spice/vd_agent.h> + +/* Possible return values for agent_msg_filter_process_data */ +enum { + AGENT_MSG_FILTER_OK, + AGENT_MSG_FILTER_DISCARD, + AGENT_MSG_FILTER_PROTO_ERROR, + AGENT_MSG_FILTER_MONITORS_CONFIG, + AGENT_MSG_FILTER_END +}; + +typedef struct AgentMsgFilter { + int msg_data_to_read; + int result; + int copy_paste_enabled; + int discard_all; +} AgentMsgFilter; + +void agent_msg_filter_init(struct AgentMsgFilter *filter, + int copy_paste, int discard_all); +int agent_msg_filter_process_data(struct AgentMsgFilter *filter, + uint8_t *data, uint32_t len); + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/char_device.c b/tizen/distrib/remote/server/spice-0.12.2/server/char_device.c new file mode 100644 index 0000000..1d5bed9 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/char_device.c @@ -0,0 +1,968 @@ +/* spice-server char device flow control code + + Copyright (C) 2012 Red Hat, Inc. + + Red Hat Authors: + Yonit Halperin <yhalperi@redhat.com> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http:www.gnu.org/licenses/>. +*/ + + +#include "char_device.h" +#include "red_channel.h" +#include "reds.h" + +#define CHAR_DEVICE_WRITE_TO_TIMEOUT 100 +#define SPICE_CHAR_DEVICE_WAIT_TOKENS_TIMEOUT 30000 + +typedef struct SpiceCharDeviceClientState SpiceCharDeviceClientState; +struct SpiceCharDeviceClientState { + RingItem link; + SpiceCharDeviceState *dev; + RedClient *client; + int do_flow_control; + uint64_t num_client_tokens; + uint64_t num_client_tokens_free; /* client messages that were consumed by the device */ + uint64_t num_send_tokens; /* send to client */ + SpiceTimer *wait_for_tokens_timer; + int wait_for_tokens_started; + Ring send_queue; + uint32_t send_queue_size; + uint32_t max_send_queue_size; +}; + +struct SpiceCharDeviceState { + int running; + int active; /* has read/write been performed since the device was started */ + int wait_for_migrate_data; + uint32_t refs; + + Ring write_queue; + Ring write_bufs_pool; + SpiceCharDeviceWriteBuffer *cur_write_buf; + uint8_t *cur_write_buf_pos; + SpiceTimer *write_to_dev_timer; + uint64_t num_self_tokens; + + Ring clients; /* list of SpiceCharDeviceClientState */ + uint32_t num_clients; + + uint64_t client_tokens_interval; /* frequency of returning tokens to the client */ + SpiceCharDeviceInstance *sin; + + int during_read_from_device; + + SpiceCharDeviceCallbacks cbs; + void *opaque; +}; + +enum { + WRITE_BUFFER_ORIGIN_NONE, + WRITE_BUFFER_ORIGIN_CLIENT, + WRITE_BUFFER_ORIGIN_SERVER, +}; + +/* Holding references for avoiding access violation if the char device was + * destroyed during a callback */ +static void spice_char_device_state_ref(SpiceCharDeviceState *char_dev); +static void spice_char_device_state_unref(SpiceCharDeviceState *char_dev); + +static void spice_char_dev_write_retry(void *opaque); + +typedef struct SpiceCharDeviceMsgToClientItem { + RingItem link; + SpiceCharDeviceMsgToClient *msg; +} SpiceCharDeviceMsgToClientItem; + +static void spice_char_device_write_buffer_free(SpiceCharDeviceWriteBuffer *buf) +{ + if (--buf->refs == 0) { + free(buf->buf); + free(buf); + } +} + +static void write_buffers_queue_free(Ring *write_queue) +{ + while (!ring_is_empty(write_queue)) { + RingItem *item = ring_get_tail(write_queue); + SpiceCharDeviceWriteBuffer *buf; + + ring_remove(item); + buf = SPICE_CONTAINEROF(item, SpiceCharDeviceWriteBuffer, link); + spice_char_device_write_buffer_free(buf); + } +} + +static void spice_char_device_write_buffer_pool_add(SpiceCharDeviceState *dev, + SpiceCharDeviceWriteBuffer *buf) +{ + if (buf->refs == 1) { + buf->buf_used = 0; + buf->origin = WRITE_BUFFER_ORIGIN_NONE; + buf->client = NULL; + ring_add(&dev->write_bufs_pool, &buf->link); + } else { + --buf->refs; + } +} + +static void spice_char_device_client_send_queue_free(SpiceCharDeviceState *dev, + SpiceCharDeviceClientState *dev_client) +{ + spice_debug("send_queue_empty %d", ring_is_empty(&dev_client->send_queue)); + while (!ring_is_empty(&dev_client->send_queue)) { + RingItem *item = ring_get_tail(&dev_client->send_queue); + SpiceCharDeviceMsgToClientItem *msg_item = SPICE_CONTAINEROF(item, + SpiceCharDeviceMsgToClientItem, + link); + + ring_remove(item); + dev->cbs.unref_msg_to_client(msg_item->msg, dev->opaque); + free(msg_item); + } + dev_client->num_send_tokens += dev_client->send_queue_size; + dev_client->send_queue_size = 0; +} + +static void spice_char_device_client_free(SpiceCharDeviceState *dev, + SpiceCharDeviceClientState *dev_client) +{ + RingItem *item, *next; + + if (dev_client->wait_for_tokens_timer) { + core->timer_remove(dev_client->wait_for_tokens_timer); + } + + spice_char_device_client_send_queue_free(dev, dev_client); + + /* remove write buffers that are associated with the client */ + spice_debug("write_queue_is_empty %d", ring_is_empty(&dev->write_queue) && !dev->cur_write_buf); + RING_FOREACH_SAFE(item, next, &dev->write_queue) { + SpiceCharDeviceWriteBuffer *write_buf; + + write_buf = SPICE_CONTAINEROF(item, SpiceCharDeviceWriteBuffer, link); + if (write_buf->origin == WRITE_BUFFER_ORIGIN_CLIENT && + write_buf->client == dev_client->client) { + ring_remove(item); + spice_char_device_write_buffer_pool_add(dev, write_buf); + } + } + + if (dev->cur_write_buf && dev->cur_write_buf->origin == WRITE_BUFFER_ORIGIN_CLIENT && + dev->cur_write_buf->client == dev_client->client) { + dev->cur_write_buf->origin = WRITE_BUFFER_ORIGIN_NONE; + dev->cur_write_buf->client = NULL; + } + + dev->num_clients--; + ring_remove(&dev_client->link); + free(dev_client); +} + +static void spice_char_device_handle_client_overflow(SpiceCharDeviceClientState *dev_client) +{ + SpiceCharDeviceState *dev = dev_client->dev; + spice_printerr("dev %p client %p ", dev, dev_client); + dev->cbs.remove_client(dev_client->client, dev->opaque); +} + +static SpiceCharDeviceClientState *spice_char_device_client_find(SpiceCharDeviceState *dev, + RedClient *client) +{ + RingItem *item; + + RING_FOREACH(item, &dev->clients) { + SpiceCharDeviceClientState *dev_client; + + dev_client = SPICE_CONTAINEROF(item, SpiceCharDeviceClientState, link); + if (dev_client->client == client) { + return dev_client; + } + } + return NULL; +} + +/*************************** + * Reading from the device * + **************************/ + +static void device_client_wait_for_tokens_timeout(void *opaque) +{ + SpiceCharDeviceClientState *dev_client = opaque; + + spice_char_device_handle_client_overflow(dev_client); +} + +static int spice_char_device_can_send_to_client(SpiceCharDeviceClientState *dev_client) +{ + return !dev_client->do_flow_control || dev_client->num_send_tokens; +} + +static uint64_t spice_char_device_max_send_tokens(SpiceCharDeviceState *dev) +{ + RingItem *item; + uint64_t max = 0; + + RING_FOREACH(item, &dev->clients) { + SpiceCharDeviceClientState *dev_client; + + dev_client = SPICE_CONTAINEROF(item, SpiceCharDeviceClientState, link); + + if (!dev_client->do_flow_control) { + max = ~0; + break; + } + + if (dev_client->num_send_tokens > max) { + max = dev_client->num_send_tokens; + } + } + return max; +} + +static void spice_char_device_add_msg_to_client_queue(SpiceCharDeviceClientState *dev_client, + SpiceCharDeviceMsgToClient *msg) +{ + SpiceCharDeviceState *dev = dev_client->dev; + SpiceCharDeviceMsgToClientItem *msg_item; + + if (dev_client->send_queue_size >= dev_client->max_send_queue_size) { + spice_char_device_handle_client_overflow(dev_client); + return; + } + + msg_item = spice_new0(SpiceCharDeviceMsgToClientItem, 1); + msg_item->msg = dev->cbs.ref_msg_to_client(msg, dev->opaque); + ring_add(&dev_client->send_queue, &msg_item->link); + dev_client->send_queue_size++; + if (!dev_client->wait_for_tokens_started) { + core->timer_start(dev_client->wait_for_tokens_timer, + SPICE_CHAR_DEVICE_WAIT_TOKENS_TIMEOUT); + dev_client->wait_for_tokens_started = TRUE; + } +} + +static void spice_char_device_send_msg_to_clients(SpiceCharDeviceState *dev, + SpiceCharDeviceMsgToClient *msg) +{ + RingItem *item, *next; + + RING_FOREACH_SAFE(item, next, &dev->clients) { + SpiceCharDeviceClientState *dev_client; + + dev_client = SPICE_CONTAINEROF(item, SpiceCharDeviceClientState, link); + if (spice_char_device_can_send_to_client(dev_client)) { + dev_client->num_send_tokens--; + spice_assert(ring_is_empty(&dev_client->send_queue)); + dev->cbs.send_msg_to_client(msg, dev_client->client, dev->opaque); + + /* don't refer to dev_client anymore, it may have been released */ + } else { + spice_char_device_add_msg_to_client_queue(dev_client, msg); + } + } +} + +static int spice_char_device_read_from_device(SpiceCharDeviceState *dev) +{ + uint64_t max_send_tokens; + int did_read = FALSE; + + if (!dev->running || dev->wait_for_migrate_data) { + return FALSE; + } + + /* There are 2 scenarios where we can get called recursively: + * 1) spice-vmc vmc_read triggering flush of throttled data, recalling wakeup + * (virtio) + * 2) in case of sending messages to the client, and unreferencing the + * msg, we trigger another read. + */ + if (dev->during_read_from_device++ > 0) { + return FALSE; + } + + max_send_tokens = spice_char_device_max_send_tokens(dev); + spice_char_device_state_ref(dev); + /* + * Reading from the device only in case at least one of the clients have a free token. + * All messages will be discarded if no client is attached to the device + */ + while ((max_send_tokens || ring_is_empty(&dev->clients)) && dev->running) { + SpiceCharDeviceMsgToClient *msg; + + msg = dev->cbs.read_one_msg_from_device(dev->sin, dev->opaque); + if (!msg) { + if (dev->during_read_from_device > 1) { + dev->during_read_from_device = 1; + continue; /* a wakeup might have been called during the read - + make sure it doesn't get lost */ + } + break; + } + did_read = TRUE; + spice_char_device_send_msg_to_clients(dev, msg); + dev->cbs.unref_msg_to_client(msg, dev->opaque); + max_send_tokens--; + } + dev->during_read_from_device = 0; + spice_char_device_state_unref(dev); + dev->active = dev->active || did_read; + return did_read; +} + +static void spice_char_device_client_send_queue_push(SpiceCharDeviceClientState *dev_client) +{ + RingItem *item; + while ((item = ring_get_tail(&dev_client->send_queue)) && + spice_char_device_can_send_to_client(dev_client)) { + SpiceCharDeviceMsgToClientItem *msg_item; + + msg_item = SPICE_CONTAINEROF(item, SpiceCharDeviceMsgToClientItem, link); + ring_remove(item); + + dev_client->num_send_tokens--; + dev_client->dev->cbs.send_msg_to_client(msg_item->msg, + dev_client->client, + dev_client->dev->opaque); + dev_client->dev->cbs.unref_msg_to_client(msg_item->msg, dev_client->dev->opaque); + dev_client->send_queue_size--; + free(msg_item); + } +} + +static void spice_char_device_send_to_client_tokens_absorb(SpiceCharDeviceClientState *dev_client, + uint32_t tokens) +{ + dev_client->num_send_tokens += tokens; + + if (dev_client->send_queue_size) { + spice_assert(dev_client->num_send_tokens == tokens); + spice_char_device_client_send_queue_push(dev_client); + } + + if (spice_char_device_can_send_to_client(dev_client)) { + core->timer_cancel(dev_client->wait_for_tokens_timer); + dev_client->wait_for_tokens_started = FALSE; + spice_char_device_read_from_device(dev_client->dev); + } else if (dev_client->send_queue_size) { + core->timer_start(dev_client->wait_for_tokens_timer, + SPICE_CHAR_DEVICE_WAIT_TOKENS_TIMEOUT); + dev_client->wait_for_tokens_started = TRUE; + } +} + +void spice_char_device_send_to_client_tokens_add(SpiceCharDeviceState *dev, + RedClient *client, + uint32_t tokens) +{ + SpiceCharDeviceClientState *dev_client; + + dev_client = spice_char_device_client_find(dev, client); + + if (!dev_client) { + spice_error("client wasn't found dev %p client %p", dev, client); + return; + } + spice_char_device_send_to_client_tokens_absorb(dev_client, tokens); +} + +void spice_char_device_send_to_client_tokens_set(SpiceCharDeviceState *dev, + RedClient *client, + uint32_t tokens) +{ + SpiceCharDeviceClientState *dev_client; + + dev_client = spice_char_device_client_find(dev, client); + + if (!dev_client) { + spice_error("client wasn't found dev %p client %p", dev, client); + return; + } + + dev_client->num_send_tokens = 0; + spice_char_device_send_to_client_tokens_absorb(dev_client, tokens); +} + +/************************** + * Writing to the device * +***************************/ + +static void spice_char_device_client_tokens_add(SpiceCharDeviceState *dev, + SpiceCharDeviceClientState *dev_client, + uint32_t num_tokens) +{ + if (!dev_client->do_flow_control) { + return; + } + if (num_tokens > 1) { + spice_debug("#tokens > 1 (=%u)", num_tokens); + } + dev_client->num_client_tokens_free += num_tokens; + if (dev_client->num_client_tokens_free >= dev->client_tokens_interval) { + uint32_t tokens = dev_client->num_client_tokens_free; + + dev_client->num_client_tokens += dev_client->num_client_tokens_free; + dev_client->num_client_tokens_free = 0; + dev->cbs.send_tokens_to_client(dev_client->client, + tokens, + dev->opaque); + } +} + +static int spice_char_device_write_to_device(SpiceCharDeviceState *dev) +{ + SpiceCharDeviceInterface *sif; + int total = 0; + int n; + + if (!dev->running || dev->wait_for_migrate_data) { + return 0; + } + + spice_char_device_state_ref(dev); + core->timer_cancel(dev->write_to_dev_timer); + + sif = SPICE_CONTAINEROF(dev->sin->base.sif, SpiceCharDeviceInterface, base); + while (1) { + uint32_t write_len; + + if (!dev->cur_write_buf) { + RingItem *item = ring_get_tail(&dev->write_queue); + if (!item) { + break; + } + dev->cur_write_buf = SPICE_CONTAINEROF(item, SpiceCharDeviceWriteBuffer, link); + dev->cur_write_buf_pos = dev->cur_write_buf->buf; + ring_remove(item); + } + + write_len = dev->cur_write_buf->buf + dev->cur_write_buf->buf_used - + dev->cur_write_buf_pos; + n = sif->write(dev->sin, dev->cur_write_buf_pos, write_len); + if (!dev->running) { + break; + } + if (n <= 0) { + break; + } + total += n; + write_len -= n; + if (!write_len) { + SpiceCharDeviceWriteBuffer *release_buf = dev->cur_write_buf; + dev->cur_write_buf = NULL; + spice_char_device_write_buffer_release(dev, release_buf); + continue; + } + dev->cur_write_buf_pos += n; + } + /* retry writing as long as the write queue is not empty */ + if (dev->cur_write_buf) { + core->timer_start(dev->write_to_dev_timer, CHAR_DEVICE_WRITE_TO_TIMEOUT); + } else { + spice_assert(ring_is_empty(&dev->write_queue)); + } + spice_char_device_state_unref(dev); + dev->active = dev->active || total; + return total; +} + +static void spice_char_dev_write_retry(void *opaque) +{ + SpiceCharDeviceState *dev = opaque; + + core->timer_cancel(dev->write_to_dev_timer); + spice_char_device_write_to_device(dev); +} + +static SpiceCharDeviceWriteBuffer *__spice_char_device_write_buffer_get(SpiceCharDeviceState *dev, + RedClient *client, + int size, + int migrated_data_tokens) +{ + RingItem *item; + SpiceCharDeviceWriteBuffer *ret; + + if (!client && !dev->num_self_tokens) { + spice_printerr("internal buf is not available"); + return NULL; + } + + if ((item = ring_get_tail(&dev->write_bufs_pool))) { + ret = SPICE_CONTAINEROF(item, SpiceCharDeviceWriteBuffer, link); + ring_remove(item); + } else { + ret = spice_new0(SpiceCharDeviceWriteBuffer, 1); + } + + spice_assert(!ret->buf_used); + + if (ret->buf_size < size) { + ret->buf = spice_realloc(ret->buf, size); + ret->buf_size = size; + } + + if (client) { + SpiceCharDeviceClientState *dev_client = spice_char_device_client_find(dev, client); + if (dev_client) { + if (!migrated_data_tokens && + dev_client->do_flow_control && !dev_client->num_client_tokens) { + spice_printerr("token violation: dev %p client %p", dev, client); + spice_char_device_handle_client_overflow(dev_client); + goto error; + } + ret->origin = WRITE_BUFFER_ORIGIN_CLIENT; + ret->client = client; + if (!migrated_data_tokens && dev_client->do_flow_control) { + dev_client->num_client_tokens--; + } + } else { + /* it is possible that the client was removed due to send tokens underflow, but + * the caller still receive messages from the client */ + spice_printerr("client not found: dev %p client %p", dev, client); + goto error; + } + } else { + ret->origin = WRITE_BUFFER_ORIGIN_SERVER; + dev->num_self_tokens--; + } + + ret->token_price = migrated_data_tokens ? migrated_data_tokens : 1; + ret->refs = 1; + return ret; +error: + ring_add(&dev->write_bufs_pool, &ret->link); + return NULL; +} + +SpiceCharDeviceWriteBuffer *spice_char_device_write_buffer_get(SpiceCharDeviceState *dev, + RedClient *client, + int size) +{ + return __spice_char_device_write_buffer_get(dev, client, size, 0); +} + +static SpiceCharDeviceWriteBuffer *spice_char_device_write_buffer_ref(SpiceCharDeviceWriteBuffer *write_buf) +{ + spice_assert(write_buf); + + write_buf->refs++; + return write_buf; +} + +void spice_char_device_write_buffer_add(SpiceCharDeviceState *dev, + SpiceCharDeviceWriteBuffer *write_buf) +{ + spice_assert(dev); + /* caller shouldn't add buffers for client that was removed */ + if (write_buf->origin == WRITE_BUFFER_ORIGIN_CLIENT && + !spice_char_device_client_find(dev, write_buf->client)) { + spice_printerr("client not found: dev %p client %p", dev, write_buf->client); + spice_char_device_write_buffer_pool_add(dev, write_buf); + return; + } + + ring_add(&dev->write_queue, &write_buf->link); + spice_char_device_write_to_device(dev); +} + +void spice_char_device_write_buffer_release(SpiceCharDeviceState *dev, + SpiceCharDeviceWriteBuffer *write_buf) +{ + int buf_origin = write_buf->origin; + uint32_t buf_token_price = write_buf->token_price; + RedClient *client = write_buf->client; + + spice_assert(!ring_item_is_linked(&write_buf->link)); + if (!dev) { + spice_printerr("no device. write buffer is freed"); + free(write_buf->buf); + free(write_buf); + return; + } + + spice_assert(dev->cur_write_buf != write_buf); + + spice_char_device_write_buffer_pool_add(dev, write_buf); + if (buf_origin == WRITE_BUFFER_ORIGIN_CLIENT) { + SpiceCharDeviceClientState *dev_client; + + spice_assert(client); + dev_client = spice_char_device_client_find(dev, client); + /* when a client is removed, we remove all the buffers that are associated with it */ + spice_assert(dev_client); + spice_char_device_client_tokens_add(dev, dev_client, buf_token_price); + } else if (buf_origin == WRITE_BUFFER_ORIGIN_SERVER) { + dev->num_self_tokens++; + if (dev->cbs.on_free_self_token) { + dev->cbs.on_free_self_token(dev->opaque); + } + } +} + +/******************************** + * char_device_state management * + ********************************/ + +SpiceCharDeviceState *spice_char_device_state_create(SpiceCharDeviceInstance *sin, + uint32_t client_tokens_interval, + uint32_t self_tokens, + SpiceCharDeviceCallbacks *cbs, + void *opaque) +{ + SpiceCharDeviceState *char_dev; + + spice_assert(sin); + spice_assert(cbs->read_one_msg_from_device && cbs->ref_msg_to_client && + cbs->unref_msg_to_client && cbs->send_msg_to_client && + cbs->send_tokens_to_client && cbs->remove_client); + + char_dev = spice_new0(SpiceCharDeviceState, 1); + char_dev->sin = sin; + char_dev->cbs = *cbs; + char_dev->opaque = opaque; + char_dev->client_tokens_interval = client_tokens_interval; + char_dev->num_self_tokens = self_tokens; + + ring_init(&char_dev->write_queue); + ring_init(&char_dev->write_bufs_pool); + ring_init(&char_dev->clients); + + char_dev->write_to_dev_timer = core->timer_add(spice_char_dev_write_retry, char_dev); + if (!char_dev->write_to_dev_timer) { + spice_error("failed creating char dev write timer"); + } + char_dev->refs = 1; + sin->st = char_dev; + spice_debug("sin %p dev_state %p", sin, char_dev); + return char_dev; +} + +void spice_char_device_state_reset_dev_instance(SpiceCharDeviceState *state, + SpiceCharDeviceInstance *sin) +{ + spice_debug("sin %p dev_state %p", sin, state); + state->sin = sin; + sin->st = state; +} + +void *spice_char_device_state_opaque_get(SpiceCharDeviceState *dev) +{ + return dev->opaque; +} + +static void spice_char_device_state_ref(SpiceCharDeviceState *char_dev) +{ + char_dev->refs++; +} + +static void spice_char_device_state_unref(SpiceCharDeviceState *char_dev) +{ + /* The refs field protects the char_dev from being deallocated in + * case spice_char_device_state_destroy has been called + * during a callabck, and we might still access the char_dev afterwards. + * spice_char_device_state_unref is always coupled with a preceding + * spice_char_device_state_ref. Here, refs can turn 0 + * only when spice_char_device_state_destroy is called in between + * the calls to spice_char_device_state_ref and spice_char_device_state_unref.*/ + if (!--char_dev->refs) { + free(char_dev); + } +} + +void spice_char_device_state_destroy(SpiceCharDeviceState *char_dev) +{ + reds_on_char_device_state_destroy(char_dev); + core->timer_remove(char_dev->write_to_dev_timer); + write_buffers_queue_free(&char_dev->write_queue); + write_buffers_queue_free(&char_dev->write_bufs_pool); + if (char_dev->cur_write_buf) { + spice_char_device_write_buffer_free(char_dev->cur_write_buf); + } + + while (!ring_is_empty(&char_dev->clients)) { + RingItem *item = ring_get_tail(&char_dev->clients); + SpiceCharDeviceClientState *dev_client; + + dev_client = SPICE_CONTAINEROF(item, SpiceCharDeviceClientState, link); + spice_char_device_client_free(char_dev, dev_client); + } + char_dev->running = FALSE; + + spice_char_device_state_unref(char_dev); +} + +int spice_char_device_client_add(SpiceCharDeviceState *dev, + RedClient *client, + int do_flow_control, + uint32_t max_send_queue_size, + uint32_t num_client_tokens, + uint32_t num_send_tokens, + int wait_for_migrate_data) +{ + SpiceCharDeviceClientState *dev_client; + + spice_assert(dev); + spice_assert(client); + + if (wait_for_migrate_data && (dev->num_clients > 0 || dev->active)) { + spice_warning("can't restore device %p from migration data. The device " + "has already been active", dev); + return FALSE; + } + + dev->wait_for_migrate_data = wait_for_migrate_data; + + spice_debug("dev_state %p client %p", dev, client); + dev_client = spice_new0(SpiceCharDeviceClientState, 1); + dev_client->dev = dev; + dev_client->client = client; + ring_init(&dev_client->send_queue); + dev_client->send_queue_size = 0; + dev_client->max_send_queue_size = max_send_queue_size; + dev_client->do_flow_control = do_flow_control; + if (do_flow_control) { + dev_client->wait_for_tokens_timer = core->timer_add(device_client_wait_for_tokens_timeout, + dev_client); + if (!dev_client->wait_for_tokens_timer) { + spice_error("failed to create wait for tokens timer"); + } + dev_client->num_client_tokens = num_client_tokens; + dev_client->num_send_tokens = num_send_tokens; + } else { + dev_client->num_client_tokens = ~0; + dev_client->num_send_tokens = ~0; + } + ring_add(&dev->clients, &dev_client->link); + dev->num_clients++; + /* Now that we have a client, forward any pending device data */ + spice_char_device_wakeup(dev); + return TRUE; +} + +void spice_char_device_client_remove(SpiceCharDeviceState *dev, + RedClient *client) +{ + SpiceCharDeviceClientState *dev_client; + + spice_debug("dev_state %p client %p", dev, client); + dev_client = spice_char_device_client_find(dev, client); + + if (!dev_client) { + spice_error("client wasn't found"); + return; + } + spice_char_device_client_free(dev, dev_client); + if (dev->wait_for_migrate_data) { + spice_assert(dev->num_clients == 0); + dev->wait_for_migrate_data = FALSE; + spice_char_device_read_from_device(dev); + } +} + +int spice_char_device_client_exists(SpiceCharDeviceState *dev, + RedClient *client) +{ + return (spice_char_device_client_find(dev, client) != NULL); +} + +void spice_char_device_start(SpiceCharDeviceState *dev) +{ + spice_debug("dev_state %p", dev); + dev->running = TRUE; + spice_char_device_state_ref(dev); + while (spice_char_device_write_to_device(dev) || + spice_char_device_read_from_device(dev)); + spice_char_device_state_unref(dev); +} + +void spice_char_device_stop(SpiceCharDeviceState *dev) +{ + spice_debug("dev_state %p", dev); + dev->running = FALSE; + dev->active = FALSE; + core->timer_cancel(dev->write_to_dev_timer); +} + +void spice_char_device_reset(SpiceCharDeviceState *dev) +{ + RingItem *client_item; + + spice_char_device_stop(dev); + dev->wait_for_migrate_data = FALSE; + spice_debug("dev_state %p", dev); + while (!ring_is_empty(&dev->write_queue)) { + RingItem *item = ring_get_tail(&dev->write_queue); + SpiceCharDeviceWriteBuffer *buf; + + ring_remove(item); + buf = SPICE_CONTAINEROF(item, SpiceCharDeviceWriteBuffer, link); + /* tracking the tokens */ + spice_char_device_write_buffer_release(dev, buf); + } + if (dev->cur_write_buf) { + SpiceCharDeviceWriteBuffer *release_buf = dev->cur_write_buf; + + dev->cur_write_buf = NULL; + spice_char_device_write_buffer_release(dev, release_buf); + } + + RING_FOREACH(client_item, &dev->clients) { + SpiceCharDeviceClientState *dev_client; + + dev_client = SPICE_CONTAINEROF(client_item, SpiceCharDeviceClientState, link); + spice_char_device_client_send_queue_free(dev, dev_client); + } + dev->sin = NULL; +} + +void spice_char_device_wakeup(SpiceCharDeviceState *dev) +{ + spice_char_device_read_from_device(dev); +} + +/************* + * Migration * + * **********/ + +void spice_char_device_state_migrate_data_marshall_empty(SpiceMarshaller *m) +{ + SpiceMigrateDataCharDevice *mig_data; + + spice_debug(NULL); + mig_data = (SpiceMigrateDataCharDevice *)spice_marshaller_reserve_space(m, + sizeof(*mig_data)); + memset(mig_data, 0, sizeof(*mig_data)); + mig_data->version = SPICE_MIGRATE_DATA_CHAR_DEVICE_VERSION; + mig_data->connected = FALSE; +} + +static void migrate_data_marshaller_write_buffer_free(uint8_t *data, void *opaque) +{ + SpiceCharDeviceWriteBuffer *write_buf = (SpiceCharDeviceWriteBuffer *)opaque; + + spice_char_device_write_buffer_free(write_buf); +} + +void spice_char_device_state_migrate_data_marshall(SpiceCharDeviceState *dev, + SpiceMarshaller *m) +{ + SpiceCharDeviceClientState *client_state; + RingItem *item; + uint32_t *write_to_dev_size_ptr; + uint32_t *write_to_dev_tokens_ptr; + SpiceMarshaller *m2; + + /* multi-clients are not supported */ + spice_assert(dev->num_clients == 1); + client_state = SPICE_CONTAINEROF(ring_get_tail(&dev->clients), + SpiceCharDeviceClientState, + link); + /* FIXME: if there were more than one client before the marshalling, + * it is possible that the send_queue_size > 0, and the send data + * should be migrated as well */ + spice_assert(client_state->send_queue_size == 0); + spice_marshaller_add_uint32(m, SPICE_MIGRATE_DATA_CHAR_DEVICE_VERSION); + spice_marshaller_add_uint8(m, 1); /* connected */ + spice_marshaller_add_uint32(m, client_state->num_client_tokens); + spice_marshaller_add_uint32(m, client_state->num_send_tokens); + write_to_dev_size_ptr = (uint32_t *)spice_marshaller_reserve_space(m, sizeof(uint32_t)); + write_to_dev_tokens_ptr = (uint32_t *)spice_marshaller_reserve_space(m, sizeof(uint32_t)); + *write_to_dev_size_ptr = 0; + *write_to_dev_tokens_ptr = 0; + + m2 = spice_marshaller_get_ptr_submarshaller(m, 0); + if (dev->cur_write_buf) { + uint32_t buf_remaining = dev->cur_write_buf->buf + dev->cur_write_buf->buf_used - + dev->cur_write_buf_pos; + spice_marshaller_add_ref_full(m2, dev->cur_write_buf_pos, buf_remaining, + migrate_data_marshaller_write_buffer_free, + spice_char_device_write_buffer_ref(dev->cur_write_buf) + ); + *write_to_dev_size_ptr += buf_remaining; + if (dev->cur_write_buf->origin == WRITE_BUFFER_ORIGIN_CLIENT) { + spice_assert(dev->cur_write_buf->client == client_state->client); + (*write_to_dev_tokens_ptr) += dev->cur_write_buf->token_price; + } + } + + RING_FOREACH_REVERSED(item, &dev->write_queue) { + SpiceCharDeviceWriteBuffer *write_buf; + + write_buf = SPICE_CONTAINEROF(item, SpiceCharDeviceWriteBuffer, link); + spice_marshaller_add_ref_full(m2, write_buf->buf, write_buf->buf_used, + migrate_data_marshaller_write_buffer_free, + spice_char_device_write_buffer_ref(write_buf) + ); + *write_to_dev_size_ptr += write_buf->buf_used; + if (write_buf->origin == WRITE_BUFFER_ORIGIN_CLIENT) { + spice_assert(write_buf->client == client_state->client); + (*write_to_dev_tokens_ptr) += write_buf->token_price; + } + } + spice_debug("migration data dev %p: write_queue size %u tokens %u", + dev, *write_to_dev_size_ptr, *write_to_dev_tokens_ptr); +} + +int spice_char_device_state_restore(SpiceCharDeviceState *dev, + SpiceMigrateDataCharDevice *mig_data) +{ + SpiceCharDeviceClientState *client_state; + uint32_t client_tokens_window; + + spice_assert(dev->num_clients == 1 && dev->wait_for_migrate_data); + + client_state = SPICE_CONTAINEROF(ring_get_tail(&dev->clients), + SpiceCharDeviceClientState, + link); + if (mig_data->version > SPICE_MIGRATE_DATA_CHAR_DEVICE_VERSION) { + spice_error("dev %p error: migration data version %u is bigger than self %u", + dev, mig_data->version, SPICE_MIGRATE_DATA_CHAR_DEVICE_VERSION); + return FALSE; + } + spice_assert(!dev->cur_write_buf && ring_is_empty(&dev->write_queue)); + spice_assert(mig_data->connected); + + client_tokens_window = client_state->num_client_tokens; /* initial state of tokens */ + client_state->num_client_tokens = mig_data->num_client_tokens; + /* assumption: client_tokens_window stays the same across severs */ + client_state->num_client_tokens_free = client_tokens_window - + mig_data->num_client_tokens - + mig_data->write_num_client_tokens; + client_state->num_send_tokens = mig_data->num_send_tokens; + + if (mig_data->write_size > 0) { + if (mig_data->write_num_client_tokens) { + dev->cur_write_buf = __spice_char_device_write_buffer_get(dev, client_state->client, + mig_data->write_size, + mig_data->write_num_client_tokens); + } else { + dev->cur_write_buf = __spice_char_device_write_buffer_get(dev, NULL, mig_data->write_size, + 0); + } + /* the first write buffer contains all the data that was saved for migration */ + memcpy(dev->cur_write_buf->buf, + ((uint8_t *)mig_data) + mig_data->write_data_ptr - sizeof(SpiceMigrateDataHeader), + mig_data->write_size); + dev->cur_write_buf->buf_used = mig_data->write_size; + dev->cur_write_buf_pos = dev->cur_write_buf->buf; + } + dev->wait_for_migrate_data = FALSE; + spice_char_device_write_to_device(dev); + spice_char_device_read_from_device(dev); + return TRUE; +} + diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/char_device.h b/tizen/distrib/remote/server/spice-0.12.2/server/char_device.h new file mode 100644 index 0000000..8bfe4ec --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/char_device.h @@ -0,0 +1,196 @@ +#ifndef __CHAR_DEVICE_H__ +#define __CHAR_DEVICE_H__ + +#include "spice.h" +#include "red_channel.h" +#include "migration_protocol.h" + +/* + * Shared code for char devices, mainly for flow control. + * + * How to use the api: + * ================== + * device attached: call spice_char_device_state_create + * device detached: call spice_char_device_state_destroy/reset + * + * client connected and assoicated with a device: spice_char_device_client_add + * client disconnected: spice_char_device_client_remove + * + * Writing to the device + * --------------------- + * Write the data into SpiceCharDeviceWriteBuffer: + * call spice_char_device_write_buffer_get in order to get an appropriate buffer. + * call spice_char_device_write_buffer_add in order to push the buffer to the write queue. + * If you choose not to push the buffer to the device, call + * spice_char_device_write_buffer_release + * + * reading from the device + * ----------------------- + * The callback read_one_msg_from_device (see below) should be implemented + * (using sif->read). + * When the device is ready, this callback is called, and is expected to + * return one message which is addressed to the client, or NULL if the read + * hasn't completed. + * + * calls triggered from the device (qemu): + * -------------------------------------- + * spice_char_device_start + * spice_char_device_stop + * spice_char_device_wakeup (for reading from the device) + */ + +/* + * Note about multiple-clients: + * Multiclients are currently not supported in any of the character devices: + * spicevmc does not allow more than one client (and at least for usb, it should stay this way). + * smartcard code is not compatible with more than one reader. + * The server and guest agent code doesn't distinguish messages from different clients. + * In addition, its current flow control code (e.g., tokens handling) is wrong and doesn't + * take into account the different clients. + * + * Nonetheless, the following code introduces some support for multiple-clients: + * We track the number of tokens for all the clients, and we read from the device + * if one of the clients have enough tokens. For the clients that don't have tokens, + * we queue the messages, till they receive tokens, or till a timeout. + * + * TODO: + * At least for the agent, not all the messages from the device will be directed to all + * the clients (e.g., copy from guest to a specific client). Thus, support for + * client-specific-messages should be added. + * In addition, we should have support for clients that are being connected + * in the middle of a message transfer from the agent to the clients. + * + * */ + +/* buffer that is used for writing to the device */ +typedef struct SpiceCharDeviceWriteBuffer { + RingItem link; + int origin; + RedClient *client; /* The client that sent the message to the device. + NULL if the server created the message */ + + uint8_t *buf; + uint32_t buf_size; + uint32_t buf_used; + uint32_t token_price; + uint32_t refs; +} SpiceCharDeviceWriteBuffer; + +typedef void SpiceCharDeviceMsgToClient; + +typedef struct SpiceCharDeviceCallbacks { + /* + * Messages that are addressed to the client can be queued in case we have + * multiple clients and some of them don't have enough tokens. + */ + + /* reads from the device till reaching a msg that should be sent to the client, + * or till the reading fails */ + SpiceCharDeviceMsgToClient* (*read_one_msg_from_device)(SpiceCharDeviceInstance *sin, + void *opaque); + SpiceCharDeviceMsgToClient* (*ref_msg_to_client)(SpiceCharDeviceMsgToClient *msg, + void *opaque); + void (*unref_msg_to_client)(SpiceCharDeviceMsgToClient *msg, + void *opaque); + void (*send_msg_to_client)(SpiceCharDeviceMsgToClient *msg, + RedClient *client, + void *opaque); /* after this call, the message is unreferenced */ + + /* The cb is called when a predefined number of write buffers were consumed by the + * device */ + void (*send_tokens_to_client)(RedClient *client, uint32_t tokens, void *opaque); + + /* The cb is called when a server (self) message that was addressed to the device, + * has been completely written to it */ + void (*on_free_self_token)(void *opaque); + + /* This cb is called if it is recommanded that a client will be removed + * due to slow flow or due to some other error. + * The called instance should disconnect the client, or at least the corresponding channel */ + void (*remove_client)(RedClient *client, void *opaque); +} SpiceCharDeviceCallbacks; + +SpiceCharDeviceState *spice_char_device_state_create(SpiceCharDeviceInstance *sin, + uint32_t client_tokens_interval, + uint32_t self_tokens, + SpiceCharDeviceCallbacks *cbs, + void *opaque); + +void spice_char_device_state_reset_dev_instance(SpiceCharDeviceState *dev, + SpiceCharDeviceInstance *sin); +void spice_char_device_state_destroy(SpiceCharDeviceState *dev); + +void *spice_char_device_state_opaque_get(SpiceCharDeviceState *dev); + +/* only one client is supported */ +void spice_char_device_state_migrate_data_marshall(SpiceCharDeviceState *dev, + SpiceMarshaller *m); +void spice_char_device_state_migrate_data_marshall_empty(SpiceMarshaller *m); + +int spice_char_device_state_restore(SpiceCharDeviceState *dev, + SpiceMigrateDataCharDevice *mig_data); + +/* + * Resets write/read queues, and moves that state to being stopped. + * This routine is a workaround for a bad tokens management in the vdagent + * protocol: + * The client tokens' are set only once, when the main channel is initialized. + * Instead, it would have been more appropriate to reset them upon AGEN_CONNECT. + * The client tokens are tracked as part of the SpiceCharDeviceClientState. Thus, + * in order to be backwartd compatible with the client, we need to track the tokens + * event when the agent is detached. We don't destroy the the char_device state, and + * instead we just reset it. + * In addition, there is a misshandling of AGENT_TOKENS message in spice-gtk: it + * overrides the amount of tokens, instead of adding the given amount. + * + * todo: change AGENT_CONNECT msg to contain tokens count. + */ +void spice_char_device_reset(SpiceCharDeviceState *dev); + +/* max_send_queue_size = how many messages we can read from the device and enqueue for this client, + * when we have tokens for other clients and no tokens for this one */ +int spice_char_device_client_add(SpiceCharDeviceState *dev, + RedClient *client, + int do_flow_control, + uint32_t max_send_queue_size, + uint32_t num_client_tokens, + uint32_t num_send_tokens, + int wait_for_migrate_data); + +void spice_char_device_client_remove(SpiceCharDeviceState *dev, + RedClient *client); +int spice_char_device_client_exists(SpiceCharDeviceState *dev, + RedClient *client); + +void spice_char_device_start(SpiceCharDeviceState *dev); +void spice_char_device_stop(SpiceCharDeviceState *dev); + +/** Read from device **/ + +void spice_char_device_wakeup(SpiceCharDeviceState *dev); + +void spice_char_device_send_to_client_tokens_add(SpiceCharDeviceState *dev, + RedClient *client, + uint32_t tokens); + + +void spice_char_device_send_to_client_tokens_set(SpiceCharDeviceState *dev, + RedClient *client, + uint32_t tokens); +/** Write to device **/ + +SpiceCharDeviceWriteBuffer *spice_char_device_write_buffer_get(SpiceCharDeviceState *dev, + RedClient *client, int size); +/* Either add the buffer to the write queue or release it */ +void spice_char_device_write_buffer_add(SpiceCharDeviceState *dev, + SpiceCharDeviceWriteBuffer *write_buf); +void spice_char_device_write_buffer_release(SpiceCharDeviceState *dev, + SpiceCharDeviceWriteBuffer *write_buf); + +/* api for specific char devices */ + +SpiceCharDeviceState *spicevmc_device_connect(SpiceCharDeviceInstance *sin, + uint8_t channel_type); +void spicevmc_device_disconnect(SpiceCharDeviceInstance *char_device); + +#endif // __CHAR_DEVICE_H__ diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/demarshallers.h b/tizen/distrib/remote/server/spice-0.12.2/server/demarshallers.h new file mode 100644 index 0000000..c3d770d --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/demarshallers.h @@ -0,0 +1,26 @@ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifndef _H_DEMARSHAL +#define _H_DEMARSHAL + +typedef void (*message_destructor_t)(uint8_t *message); +typedef uint8_t * (*spice_parse_channel_func_t)(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor, + size_t *size_out, message_destructor_t *free_message); + +spice_parse_channel_func_t spice_get_client_channel_parser(uint32_t channel, unsigned int *max_message_type); + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/dispatcher.c b/tizen/distrib/remote/server/spice-0.12.2/server/dispatcher.c new file mode 100644 index 0000000..298f5f9 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/dispatcher.c @@ -0,0 +1,281 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009-2012 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <unistd.h> +#include <errno.h> +#include <assert.h> +#include <string.h> +#include <pthread.h> +#include <fcntl.h> +#include <poll.h> + +#define SPICE_LOG_DOMAIN "SpiceDispatcher" + +#include "common/mem.h" +#include "common/spice_common.h" +#include "dispatcher.h" + +//#define DEBUG_DISPATCHER + +#ifdef DEBUG_DISPATCHER +#include <signal.h> +#endif + +#define ACK 0xffffffff + +/* + * read_safe + * helper. reads until size bytes accumulated in buf, if an error other then + * EINTR is encountered returns -1, otherwise returns 0. + * @block if 1 the read will block (the fd is always blocking). + * if 0 poll first, return immediately if no bytes available, otherwise + * read size in blocking mode. + */ +static int read_safe(int fd, uint8_t *buf, size_t size, int block) +{ + int read_size = 0; + int ret; + struct pollfd pollfd = {.fd = fd, .events = POLLIN, .revents = 0}; + + if (size == 0) { + return 0; + } + + if (!block) { + while ((ret = poll(&pollfd, 1, 0)) == -1) { + if (errno == EINTR) { + spice_debug("EINTR in poll"); + continue; + } + spice_error("poll failed"); + return -1; + } + if (!(pollfd.revents & POLLIN)) { + return 0; + } + } + while (read_size < size) { + ret = read(fd, buf + read_size, size - read_size); + if (ret == -1) { + if (errno == EINTR) { + spice_debug("EINTR in read"); + continue; + } + return -1; + } + if (ret == 0) { + spice_error("broken pipe on read"); + return -1; + } + read_size += ret; + } + return read_size; +} + +/* + * write_safe + * @return -1 for error, otherwise number of written bytes. may be zero. + */ +static int write_safe(int fd, uint8_t *buf, size_t size) +{ + int written_size = 0; + int ret; + + while (written_size < size) { + ret = write(fd, buf + written_size, size - written_size); + if (ret == -1) { + if (errno != EINTR) { + spice_debug("EINTR in write"); + return -1; + } + continue; + } + written_size += ret; + } + return written_size; +} + +static int dispatcher_handle_single_read(Dispatcher *dispatcher) +{ + int ret; + uint32_t type; + DispatcherMessage *msg = NULL; + uint8_t *payload = dispatcher->payload; + uint32_t ack = ACK; + + if ((ret = read_safe(dispatcher->recv_fd, (uint8_t*)&type, sizeof(type), 0)) == -1) { + spice_printerr("error reading from dispatcher: %d", errno); + return 0; + } + if (ret == 0) { + /* no messsage */ + return 0; + } + msg = &dispatcher->messages[type]; + if (read_safe(dispatcher->recv_fd, payload, msg->size, 1) == -1) { + spice_printerr("error reading from dispatcher: %d", errno); + /* TODO: close socketpair? */ + return 0; + } + if (msg->handler) { + msg->handler(dispatcher->opaque, (void *)payload); + } else { + spice_printerr("error: no handler for message type %d", type); + } + if (msg->ack == DISPATCHER_ACK) { + if (write_safe(dispatcher->recv_fd, + (uint8_t*)&ack, sizeof(ack)) == -1) { + spice_printerr("error writing ack for message %d", type); + /* TODO: close socketpair? */ + } + } else if (msg->ack == DISPATCHER_ASYNC && dispatcher->handle_async_done) { + dispatcher->handle_async_done(dispatcher->opaque, type, + (void *)payload); + } + return 1; +} + +/* + * dispatcher_handle_recv_read + * doesn't handle being in the middle of a message. all reads are blocking. + */ +void dispatcher_handle_recv_read(Dispatcher *dispatcher) +{ + while (dispatcher_handle_single_read(dispatcher)) { + } +} + +void dispatcher_send_message(Dispatcher *dispatcher, uint32_t message_type, + void *payload) +{ + DispatcherMessage *msg; + uint32_t ack; + int send_fd = dispatcher->send_fd; + + assert(dispatcher->max_message_type > message_type); + assert(dispatcher->messages[message_type].handler); + msg = &dispatcher->messages[message_type]; + pthread_mutex_lock(&dispatcher->lock); + if (write_safe(send_fd, (uint8_t*)&message_type, sizeof(message_type)) == -1) { + spice_printerr("error: failed to send message type for message %d", + message_type); + goto unlock; + } + if (write_safe(send_fd, payload, msg->size) == -1) { + spice_printerr("error: failed to send message body for message %d", + message_type); + goto unlock; + } + if (msg->ack == DISPATCHER_ACK) { + if (read_safe(send_fd, (uint8_t*)&ack, sizeof(ack), 1) == -1) { + spice_printerr("error: failed to read ack"); + } else if (ack != ACK) { + spice_printerr("error: got wrong ack value in dispatcher " + "for message %d\n", message_type); + /* TODO handling error? */ + } + } +unlock: + pthread_mutex_unlock(&dispatcher->lock); +} + +void dispatcher_register_async_done_callback( + Dispatcher *dispatcher, + dispatcher_handle_async_done handler) +{ + assert(dispatcher->handle_async_done == NULL); + dispatcher->handle_async_done = handler; +} + +void dispatcher_register_handler(Dispatcher *dispatcher, uint32_t message_type, + dispatcher_handle_message handler, + size_t size, int ack) +{ + DispatcherMessage *msg; + + assert(message_type < dispatcher->max_message_type); + assert(dispatcher->messages[message_type].handler == 0); + msg = &dispatcher->messages[message_type]; + msg->handler = handler; + msg->size = size; + msg->ack = ack; + if (msg->size > dispatcher->payload_size) { + dispatcher->payload = realloc(dispatcher->payload, msg->size); + dispatcher->payload_size = msg->size; + } +} + +#ifdef DEBUG_DISPATCHER +static void dummy_handler(int bla) +{ +} + +static void setup_dummy_signal_handler(void) +{ + static int inited = 0; + struct sigaction act = { + .sa_handler = &dummy_handler, + }; + if (inited) { + return; + } + inited = 1; + /* handle SIGRTMIN+10 in order to test the loops for EINTR */ + if (sigaction(SIGRTMIN + 10, &act, NULL) == -1) { + fprintf(stderr, + "failed to set dummy sigaction for DEBUG_DISPATCHER\n"); + exit(1); + } +} +#endif + +void dispatcher_init(Dispatcher *dispatcher, size_t max_message_type, + void *opaque) +{ + int channels[2]; + +#ifdef DEBUG_DISPATCHER + setup_dummy_signal_handler(); +#endif + dispatcher->opaque = opaque; + if (socketpair(AF_LOCAL, SOCK_STREAM, 0, channels) == -1) { + spice_error("socketpair failed %s", strerror(errno)); + return; + } + pthread_mutex_init(&dispatcher->lock, NULL); + dispatcher->recv_fd = channels[0]; + dispatcher->send_fd = channels[1]; + dispatcher->self = pthread_self(); + + dispatcher->messages = spice_malloc0_n(max_message_type, + sizeof(dispatcher->messages[0])); + dispatcher->max_message_type = max_message_type; +} + +void dispatcher_set_opaque(Dispatcher *dispatcher, void *opaque) +{ + dispatcher->opaque = opaque; +} + +int dispatcher_get_recv_fd(Dispatcher *dispatcher) +{ + return dispatcher->recv_fd; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/dispatcher.h b/tizen/distrib/remote/server/spice-0.12.2/server/dispatcher.h new file mode 100644 index 0000000..a468c58 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/dispatcher.h @@ -0,0 +1,106 @@ +#ifndef MAIN_DISPATCHER_H +#define MAIN_DISPATCHER_H + +#include <spice.h> + +typedef struct Dispatcher Dispatcher; + +typedef void (*dispatcher_handle_message)(void *opaque, + void *payload); + +typedef void (*dispatcher_handle_async_done)(void *opaque, + uint32_t message_type, + void *payload); + + +typedef struct DispatcherMessage { + size_t size; + int ack; + dispatcher_handle_message handler; +} DispatcherMessage; + +struct Dispatcher { + SpiceCoreInterface *recv_core; + int recv_fd; + int send_fd; + pthread_t self; + pthread_mutex_t lock; + DispatcherMessage *messages; + int stage; /* message parser stage - sender has no stages */ + size_t max_message_type; + void *payload; /* allocated as max of message sizes */ + size_t payload_size; /* used to track realloc calls */ + void *opaque; + dispatcher_handle_async_done handle_async_done; +}; + +/* + * dispatcher_send_message + * @message_type: message type + * @payload: payload + */ +void dispatcher_send_message(Dispatcher *dispatcher, uint32_t message_type, + void *payload); + +/* + * dispatcher_init + * @max_message_type: number of message types. Allows upfront allocation + * of a DispatcherMessage list. + * up front, and registration in any order wanted. + */ +void dispatcher_init(Dispatcher *dispatcher, size_t max_message_type, + void *opaque); + +enum { + DISPATCHER_NONE = 0, + DISPATCHER_ACK, + DISPATCHER_ASYNC +}; + +/* + * dispatcher_register_handler + * @dispatcher: dispatcher + * @messsage_type: message type + * @handler: message handler + * @size: message size. Each type has a fixed associated size. + * @ack: One of DISPATCHER_NONE, DISPATCHER_ACK, DISPATCHER_ASYNC. + * DISPATCHER_NONE - only send the message + * DISPATCHER_ACK - send an ack after the message + * DISPATCHER_ASYNC - call send an ack. This is per message type - you can't send the + * same message type with and without. Register two different + * messages if that is what you want. + */ +void dispatcher_register_handler(Dispatcher *dispatcher, uint32_t message_type, + dispatcher_handle_message handler, size_t size, + int ack); + +/* + * dispatcher_register_async_done_callback + * @dispatcher: dispatcher + * @handler: callback on the receiver side called *after* the + * message callback in case ack == DISPATCHER_ASYNC. + */ +void dispatcher_register_async_done_callback( + Dispatcher *dispatcher, + dispatcher_handle_async_done handler); + +/* + * dispatcher_handle_recv_read + * @dispatcher: Dispatcher instance + */ +void dispatcher_handle_recv_read(Dispatcher *); + +/* + * dispatcher_get_recv_fd + * @return: receive file descriptor of the dispatcher + */ +int dispatcher_get_recv_fd(Dispatcher *); + +/* + * dispatcher_set_opaque + * @dispatcher: Dispatcher instance + * @opaque: opaque to use for callbacks + */ +void dispatcher_set_opaque(Dispatcher *dispatcher, void *opaque); + +#endif //MAIN_DISPATCHER_H diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/glz_encode_match_tmpl.c b/tizen/distrib/remote/server/spice-0.12.2/server/glz_encode_match_tmpl.c new file mode 100644 index 0000000..b793e7f --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/glz_encode_match_tmpl.c @@ -0,0 +1,154 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#define SHORT_PIX_IMAGE_DIST_LEVEL_1 64 //(1 << 6) +#define SHORT_PIX_IMAGE_DIST_LEVEL_2 16384 // (1 << 14) +#define SHORT_PIX_IMAGE_DIST_LEVEL_3 4194304 // (1 << 22) +#define FAR_PIX_IMAGE_DIST_LEVEL_1 256 // (1 << 8) +#define FAR_PIX_IMAGE_DIST_LEVEL_2 65536 // (1 << 16) +#define FAR_PIX_IMAGE_DIST_LEVEL_3 16777216 // (1 << 24) + +/* if image_distance = 0, pixel_distance is the distance between the matching pixels. + Otherwise, it is the offset from the beginning of the referred image */ +#if defined(GLZ_ENCODE_MATCH) /* actually performing the encoding */ +static INLINE void encode_match(Encoder *encoder, uint32_t image_distance, + size_t pixel_distance, size_t len) +#elif defined(GLZ_ENCODE_SIZE) /* compute the size of the encoding except for the match length*/ +static INLINE int get_encode_ref_size(uint32_t image_distance, size_t pixel_distance) +#endif +{ +#if defined(GLZ_ENCODE_SIZE) + int encode_size; +#endif + +#if defined(GLZ_ENCODE_MATCH) + /* encoding the match length + Long/Short dist bit + 12 LSB pixels of pixel_distance*/ + if (len < 7) { + if (pixel_distance < MAX_PIXEL_SHORT_DISTANCE) { + encode(encoder, (uint8_t)((len << 5) + (pixel_distance & 0x0f))); + } else { + encode(encoder, (uint8_t)((len << 5) + 16 + (pixel_distance & 0x0f))); + } + encode(encoder, (uint8_t)((pixel_distance >> 4) & 255)); + } else { + if (pixel_distance < MAX_PIXEL_SHORT_DISTANCE) { + encode(encoder, (uint8_t)((7 << 5) + (pixel_distance & 0x0f))); + } else { + encode(encoder, (uint8_t)((7 << 5) + 16 + (pixel_distance & 0x0f))); + } + for (len -= 7; len >= 255; len -= 255) { + encode(encoder, 255); + } + encode(encoder, (uint8_t)len); + encode(encoder, (uint8_t)((pixel_distance >> 4) & 255)); + } +#endif + + + /* encoding the rest of the pixel distance and the image_dist and its 2 control bits */ + + /* The first 2 MSB bits indicate how many more bytes should be read for image dist */ + if (pixel_distance < MAX_PIXEL_SHORT_DISTANCE) { + if (image_distance < SHORT_PIX_IMAGE_DIST_LEVEL_1) { +#if defined(GLZ_ENCODE_MATCH) + encode(encoder, (uint8_t)(image_distance & 0x3f)); +#elif defined(GLZ_ENCODE_SIZE) + encode_size = 3; +#endif + } else if (image_distance < SHORT_PIX_IMAGE_DIST_LEVEL_2) { +#if defined(GLZ_ENCODE_MATCH) + encode(encoder, (uint8_t)((1 << 6) + (image_distance & 0x3f))); + encode(encoder, (uint8_t)((image_distance >> 6) & 255)); +#elif defined(GLZ_ENCODE_SIZE) + encode_size = 4; +#endif + } else if (image_distance < SHORT_PIX_IMAGE_DIST_LEVEL_3) { +#if defined(GLZ_ENCODE_MATCH) + encode(encoder, (uint8_t)((1 << 7) + (image_distance & 0x3f))); + encode(encoder, (uint8_t)((image_distance >> 6) & 255)); + encode(encoder, (uint8_t)((image_distance >> 14) & 255)); +#elif defined(GLZ_ENCODE_SIZE) + encode_size = 5; +#endif + } else { +#if defined(GLZ_ENCODE_MATCH) + encode(encoder, (uint8_t)((1 << 7) + (1 << 6) + (image_distance & 0x3f))); + encode(encoder, (uint8_t)((image_distance >> 6) & 255)); + encode(encoder, (uint8_t)((image_distance >> 14) & 255)); + encode(encoder, (uint8_t)((image_distance >> 22) & 255)); +#elif defined(GLZ_ENCODE_SIZE) + encode_size = 6; +#endif + } + } else { + /* the third MSB bit indicates if the pixel_distance is medium/long*/ + uint8_t long_dist_control = (pixel_distance < MAX_PIXEL_MEDIUM_DISTANCE) ? 0 : 32; + if (image_distance == 0) { +#if defined(GLZ_ENCODE_MATCH) + encode(encoder, (uint8_t)(long_dist_control + ((pixel_distance >> 12) & 31))); +#elif defined(GLZ_ENCODE_SIZE) + encode_size = 3; +#endif + } else if (image_distance < FAR_PIX_IMAGE_DIST_LEVEL_1) { +#if defined(GLZ_ENCODE_MATCH) + encode(encoder, + (uint8_t)(long_dist_control + (1 << 6) + ((pixel_distance >> 12) & 31))); + encode(encoder, (uint8_t)(image_distance & 255)); +#elif defined(GLZ_ENCODE_SIZE) + encode_size = 4; +#endif + } else if (image_distance < FAR_PIX_IMAGE_DIST_LEVEL_2) { +#if defined(GLZ_ENCODE_MATCH) + encode(encoder, + (uint8_t)(long_dist_control + (1 << 7) + ((pixel_distance >> 12) & 31))); + encode(encoder, (uint8_t)(image_distance & 255)); + encode(encoder, (uint8_t)((image_distance >> 8) & 255)); +#elif defined(GLZ_ENCODE_SIZE) + encode_size = 5; +#endif + } else { +#if defined(GLZ_ENCODE_MATCH) + encode(encoder, + (uint8_t)(long_dist_control + (1 << 7) + (1 << 6) + + ((pixel_distance >> 12) & 31))); + encode(encoder, (uint8_t)(image_distance & 255)); + encode(encoder, (uint8_t)((image_distance >> 8) & 255)); + encode(encoder, (uint8_t)((image_distance >> 16) & 255)); +#elif defined(GLZ_ENCODE_SIZE) + encode_size = 6; +#endif + } + + if (long_dist_control) { +#if defined(GLZ_ENCODE_MATCH) + encode(encoder, (uint8_t)((pixel_distance >> 17) & 255)); +#elif defined(GLZ_ENCODE_SIZE) + encode_size++; +#endif + } + } + +#if defined(GLZ_ENCODE_SIZE) + return encode_size; +#endif +} + +#undef GLZ_ENCODE_SIZE +#undef GLZ_ENCODE_MATCH diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/glz_encode_tmpl.c b/tizen/distrib/remote/server/spice-0.12.2/server/glz_encode_tmpl.c new file mode 100644 index 0000000..1402f95 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/glz_encode_tmpl.c @@ -0,0 +1,574 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#define DJB2_START 5381; +#define DJB2_HASH(hash, c) (hash = ((hash << 5) + hash) ^ (c)) //|{hash = ((hash << 5) + hash) + c;} + +/* + For each pixel type the following macros are defined: + PIXEL : input type + FNAME(name) + ENCODE_PIXEL(encoder, pixel) : writing a pixel to the compressed buffer (byte by byte) + SAME_PIXEL(pix1, pix2) : comparing two pixels + HASH_FUNC(value, pix_ptr) : hash func of 3 consecutive pixels +*/ + +#ifdef LZ_PLT +#define PIXEL one_byte_pixel_t +#define FNAME(name) glz_plt_##name +#define ENCODE_PIXEL(e, pix) encode(e, (pix).a) // gets the pixel and write only the needed bytes + // from the pixel +#define SAME_PIXEL(pix1, pix2) ((pix1).a == (pix2).a) +#define MIN_REF_ENCODE_SIZE 4 +#define MAX_REF_ENCODE_SIZE 7 +#define HASH_FUNC(v, p) { \ + v = DJB2_START; \ + DJB2_HASH(v, p[0].a); \ + DJB2_HASH(v, p[1].a); \ + DJB2_HASH(v, p[2].a); \ + v &= HASH_MASK; \ + } +#endif + +#ifdef LZ_RGB_ALPHA +//#undef LZ_RGB_ALPHA +#define PIXEL rgb32_pixel_t +#define FNAME(name) glz_rgb_alpha_##name +#define ENCODE_PIXEL(e, pix) {encode(e, (pix).pad);} +#define SAME_PIXEL(pix1, pix2) ((pix1).pad == (pix2).pad) +#define MIN_REF_ENCODE_SIZE 4 +#define MAX_REF_ENCODE_SIZE 7 +#define HASH_FUNC(v, p) { \ + v = DJB2_START; \ + DJB2_HASH(v, p[0].pad); \ + DJB2_HASH(v, p[1].pad); \ + DJB2_HASH(v, p[2].pad); \ + v &= HASH_MASK; \ + } +#endif + + +#ifdef LZ_RGB16 +#define PIXEL rgb16_pixel_t +#define FNAME(name) glz_rgb16_##name +#define GET_r(pix) (((pix) >> 10) & 0x1f) +#define GET_g(pix) (((pix) >> 5) & 0x1f) +#define GET_b(pix) ((pix) & 0x1f) +#define ENCODE_PIXEL(e, pix) {encode(e, (pix) >> 8); encode(e, (pix) & 0xff);} +#define MIN_REF_ENCODE_SIZE 2 +#define MAX_REF_ENCODE_SIZE 3 +#define HASH_FUNC(v, p) { \ + v = DJB2_START; \ + DJB2_HASH(v, p[0] & (0x00ff)); \ + DJB2_HASH(v, (p[0] >> 8) & (0x007f)); \ + DJB2_HASH(v, p[1] & (0x00ff)); \ + DJB2_HASH(v, (p[1] >> 8) & (0x007f)); \ + DJB2_HASH(v, p[2] & (0x00ff)); \ + DJB2_HASH(v, (p[2] >> 8) & (0x007f)); \ + v &= HASH_MASK; \ +} +#endif + +#ifdef LZ_RGB24 +#define PIXEL rgb24_pixel_t +#define FNAME(name) glz_rgb24_##name +#define ENCODE_PIXEL(e, pix) {encode(e, (pix).b); encode(e, (pix).g); encode(e, (pix).r);} +#define MIN_REF_ENCODE_SIZE 2 +#define MAX_REF_ENCODE_SIZE 2 +#endif + +#ifdef LZ_RGB32 +#define PIXEL rgb32_pixel_t +#define FNAME(name) glz_rgb32_##name +#define ENCODE_PIXEL(e, pix) {encode(e, (pix).b); encode(e, (pix).g); encode(e, (pix).r);} +#define MIN_REF_ENCODE_SIZE 2 +#define MAX_REF_ENCODE_SIZE 2 +#endif + + +#if defined(LZ_RGB24) || defined(LZ_RGB32) +#define GET_r(pix) ((pix).r) +#define GET_g(pix) ((pix).g) +#define GET_b(pix) ((pix).b) +#define HASH_FUNC(v, p) { \ + v = DJB2_START; \ + DJB2_HASH(v, p[0].r); \ + DJB2_HASH(v, p[0].g); \ + DJB2_HASH(v, p[0].b); \ + DJB2_HASH(v, p[1].r); \ + DJB2_HASH(v, p[1].g); \ + DJB2_HASH(v, p[1].b); \ + DJB2_HASH(v, p[2].r); \ + DJB2_HASH(v, p[2].g); \ + DJB2_HASH(v, p[2].b); \ + v &= HASH_MASK; \ + } +#endif + +#if defined(LZ_RGB16) || defined(LZ_RGB24) || defined(LZ_RGB32) +#define SAME_PIXEL(p1, p2) (GET_r(p1) == GET_r(p2) && GET_g(p1) == GET_g(p2) && \ + GET_b(p1) == GET_b(p2)) + +#endif + +#ifndef LZ_PLT +#define PIXEL_ID(pix_ptr, seg_ptr) \ + ((pix_ptr) - ((PIXEL *)(seg_ptr)->lines) + (seg_ptr)->pixels_so_far) +#define PIXEL_DIST(src_pix_ptr, src_seg_ptr, ref_pix_ptr, ref_seg_ptr) \ + (PIXEL_ID(src_pix_ptr,src_seg_ptr) - PIXEL_ID(ref_pix_ptr, ref_seg_ptr)) +#else +#define PIXEL_ID(pix_ptr, seg_ptr, pix_per_byte) \ + (((pix_ptr) - ((PIXEL *)(seg_ptr)->lines)) * pix_per_byte + (seg_ptr)->pixels_so_far) +#define PIXEL_DIST(src_pix_ptr, src_seg_ptr, ref_pix_ptr, ref_seg_ptr, pix_per_byte) \ + ((PIXEL_ID(src_pix_ptr,src_seg_ptr, pix_per_byte) - \ + PIXEL_ID(ref_pix_ptr, ref_seg_ptr, pix_per_byte)) / pix_per_byte) +#endif + +/* returns the length of the match. 0 if no match. + if image_distance = 0, pixel_distance is the distance between the matching pixels. + Otherwise, it is the offset from the beginning of the referred image */ +static INLINE size_t FNAME(do_match)(SharedDictionary *dict, + WindowImageSegment *ref_seg, const PIXEL *ref, + const PIXEL *ref_limit, + WindowImageSegment *ip_seg, const PIXEL *ip, + const PIXEL *ip_limit, +#ifdef LZ_PLT + int pix_per_byte, +#endif + size_t *o_image_dist, size_t *o_pix_distance) +{ + int encode_size; + const PIXEL *tmp_ip = ip; + const PIXEL *tmp_ref = ref; + + if (ref > (ref_limit - MIN_REF_ENCODE_SIZE)) { + return 0; // in case the hash entry is not relevant + } + + + /* min match length == MIN_REF_ENCODE_SIZE (depends on pixel type) */ + + if (!SAME_PIXEL(*tmp_ref, *tmp_ip)) { + return 0; + } else { + tmp_ref++; + tmp_ip++; + } + + + if (!SAME_PIXEL(*tmp_ref, *tmp_ip)) { + return 0; + } else { + tmp_ref++; + tmp_ip++; + } + +#if defined(LZ_PLT) || defined(LZ_RGB_ALPHA) + if (!SAME_PIXEL(*tmp_ref, *tmp_ip)) { + return 0; + } else { + tmp_ref++; + tmp_ip++; + } + + + if (!SAME_PIXEL(*tmp_ref, *tmp_ip)) { + return 0; + } else { + tmp_ref++; + tmp_ip++; + } + +#endif + + + *o_image_dist = ip_seg->image->id - ref_seg->image->id; + + if (!(*o_image_dist)) { // the ref is inside the same image - encode distance +#ifndef LZ_PLT + *o_pix_distance = PIXEL_DIST(ip, ip_seg, ref, ref_seg); +#else + // in bytes + *o_pix_distance = PIXEL_DIST(ip, ip_seg, ref, ref_seg, pix_per_byte); +#endif + } else { // the ref is at different image - encode offset from the image start +#ifndef LZ_PLT + *o_pix_distance = PIXEL_DIST(ref, ref_seg, + (PIXEL *)(dict->window.segs[ref_seg->image->first_seg].lines), + &dict->window.segs[ref_seg->image->first_seg] + ); +#else + // in bytes + *o_pix_distance = PIXEL_DIST(ref, ref_seg, + (PIXEL *)(dict->window.segs[ref_seg->image->first_seg].lines), + &dict->window.segs[ref_seg->image->first_seg], + pix_per_byte); +#endif + } + + if ((*o_pix_distance == 0) || (*o_pix_distance >= MAX_PIXEL_LONG_DISTANCE) || + (*o_image_dist > MAX_IMAGE_DIST)) { + return 0; + } + + + /* continue the match*/ + while ((tmp_ip < ip_limit) && (tmp_ref < ref_limit)) { + if (!SAME_PIXEL(*tmp_ref, *tmp_ip)) { + break; + } else { + tmp_ref++; + tmp_ip++; + } + } + + + if ((tmp_ip - ip) > MAX_REF_ENCODE_SIZE) { + return (tmp_ip - ip); + } + + encode_size = get_encode_ref_size(*o_image_dist, *o_pix_distance); + + // min number of identical pixels for a match +#if defined(LZ_RGB16) + encode_size /= 2; +#elif defined(LZ_RGB24) || defined(LZ_RGB32) + encode_size /= 3; +#endif + + encode_size++; // the minimum match + // match len is smaller than the encoding - not worth encoding + if ((tmp_ip - ip) < encode_size) { + return 0; + } + return (tmp_ip - ip); +} + +/* compresses one segment starting from 'from'. + In order to encode a match, we use pixels resolution when we encode RGB image, + and bytes count when we encode PLT. +*/ +static void FNAME(compress_seg)(Encoder *encoder, uint32_t seg_idx, PIXEL *from, int copied) +{ + WindowImageSegment *seg = &encoder->dict->window.segs[seg_idx]; + const PIXEL *ip = from; + const PIXEL *ip_bound = (PIXEL *)(seg->lines_end) - BOUND_OFFSET; + const PIXEL *ip_limit = (PIXEL *)(seg->lines_end) - LIMIT_OFFSET; + int hval; + int copy = copied; +#ifdef LZ_PLT + int pix_per_byte = PLT_PIXELS_PER_BYTE[encoder->cur_image.type]; +#endif + +#ifdef DEBUG_ENCODE + int n_encoded = 0; +#endif + + if (copy == 0) { + encode_copy_count(encoder, MAX_COPY - 1); + } + + + while (LZ_EXPECT_CONDITIONAL(ip < ip_limit)) { + const PIXEL *ref; + const PIXEL *ref_limit; + WindowImageSegment *ref_seg; + uint32_t ref_seg_idx; + size_t pix_dist; + size_t image_dist; + /* minimum match length */ + size_t len = 0; + + /* comparison starting-point */ + const PIXEL *anchor = ip; +#ifdef CHAINED_HASH + int hash_id = 0; + size_t best_len = 0; + size_t best_pix_dist = 0; + size_t best_image_dist = 0; +#endif + + /* check for a run */ + + if (LZ_EXPECT_CONDITIONAL(ip > (PIXEL *)(seg->lines))) { + if (SAME_PIXEL(ip[-1], ip[0]) && SAME_PIXEL(ip[0], ip[1]) && SAME_PIXEL(ip[1], ip[2])) { + PIXEL x; + pix_dist = 1; + image_dist = 0; + + ip += 3; + ref = anchor + 2; + ref_limit = (PIXEL *)(seg->lines_end); + len = 3; + + x = *ref; + + while (ip < ip_bound) { // TODO: maybe separate a run from the same seg or from + // different ones in order to spare ref < ref_limit + if (!SAME_PIXEL(*ip, x)) { + ip++; + break; + } else { + ip++; + len++; + } + } + + goto match; + } // END RLE MATCH + } + + /* find potential match */ + HASH_FUNC(hval, ip); + +#ifdef CHAINED_HASH + for (hash_id = 0; hash_id < HASH_CHAIN_SIZE; hash_id++) { + ref_seg_idx = encoder->dict->htab[hval][hash_id].image_seg_idx; +#else + ref_seg_idx = encoder->dict->htab[hval].image_seg_idx; +#endif + ref_seg = encoder->dict->window.segs + ref_seg_idx; + if (REF_SEG_IS_VALID(encoder->dict, encoder->id, + ref_seg, seg)) { +#ifdef CHAINED_HASH + ref = ((PIXEL *)ref_seg->lines) + encoder->dict->htab[hval][hash_id].ref_pix_idx; +#else + ref = ((PIXEL *)ref_seg->lines) + encoder->dict->htab[hval].ref_pix_idx; +#endif + ref_limit = (PIXEL *)ref_seg->lines_end; + + len = FNAME(do_match)(encoder->dict, ref_seg, ref, ref_limit, seg, ip, ip_bound, +#ifdef LZ_PLT + pix_per_byte, +#endif + &image_dist, &pix_dist); + +#ifdef CHAINED_HASH + // TODO. not compare len but rather len - encode_size + if (len > best_len) { + best_len = len; + best_pix_dist = pix_dist; + best_image_dist = image_dist; + } +#endif + } + +#ifdef CHAINED_HASH + } // end chain loop + len = best_len; + pix_dist = best_pix_dist; + image_dist = best_image_dist; +#endif + + /* update hash table */ + UPDATE_HASH(encoder->dict, hval, seg_idx, anchor - ((PIXEL *)seg->lines)); + + if (!len) { + goto literal; + } + +match: // RLE or dictionary (both are encoded by distance from ref (-1) and length) +#ifdef DEBUG_ENCODE + printf(", match(%d, %d, %d)", image_dist, pix_dist, len); + n_encoded += len; +#endif + + /* distance is biased */ + if (!image_dist) { + pix_dist--; + } + + /* if we have copied something, adjust the copy count */ + if (copy) { + /* copy is biased, '0' means 1 byte copy */ + update_copy_count(encoder, copy - 1); + } else { + /* back, to overwrite the copy count */ + compress_output_prev(encoder); + } + + /* reset literal counter */ + copy = 0; + + /* length is biased, '1' means a match of 3 pixels for PLT and alpha*/ + /* for RGB 16 1 means 2 */ + /* for RGB24/32 1 means 1...*/ + ip = anchor + len - 2; + +#if defined(LZ_RGB16) + len--; +#elif defined(LZ_PLT) || defined(LZ_RGB_ALPHA) + len -= 2; +#endif + GLZ_ASSERT(encoder->usr, len > 0); + encode_match(encoder, image_dist, pix_dist, len); + + /* update the hash at match boundary */ +#if defined(LZ_RGB16) || defined(LZ_RGB24) || defined(LZ_RGB32) + if (ip > anchor) { +#endif + HASH_FUNC(hval, ip); + UPDATE_HASH(encoder->dict, hval, seg_idx, ip - ((PIXEL *)seg->lines)); + ip++; +#if defined(LZ_RGB16) || defined(LZ_RGB24) || defined(LZ_RGB32) + } else {ip++; + } +#endif +#if defined(LZ_RGB24) || defined(LZ_RGB32) + if (ip > anchor) { +#endif + HASH_FUNC(hval, ip); + UPDATE_HASH(encoder->dict, hval, seg_idx, ip - ((PIXEL *)seg->lines)); + ip++; +#if defined(LZ_RGB24) || defined(LZ_RGB32) + } else { + ip++; + } +#endif + /* assuming literal copy */ + encode_copy_count(encoder, MAX_COPY - 1); + continue; + +literal: +#ifdef DEBUG_ENCODE + printf(", copy"); + n_encoded++; +#endif + ENCODE_PIXEL(encoder, *anchor); + anchor++; + ip = anchor; + copy++; + + if (LZ_UNEXPECT_CONDITIONAL(copy == MAX_COPY)) { + copy = 0; + encode_copy_count(encoder, MAX_COPY - 1); + } + } // END LOOP (ip < ip_limit) + + + /* left-over as literal copy */ + ip_bound++; + while (ip <= ip_bound) { +#ifdef DEBUG_ENCODE + printf(", copy"); + n_encoded++; +#endif + ENCODE_PIXEL(encoder, *ip); + ip++; + copy++; + if (copy == MAX_COPY) { + copy = 0; + encode_copy_count(encoder, MAX_COPY - 1); + } + } + + /* if we have copied something, adjust the copy length */ + if (copy) { + update_copy_count(encoder, copy - 1); + } else { + compress_output_prev(encoder); + } +#ifdef DEBUG_ENCODE + printf("\ntotal encoded=%d\n", n_encoded); +#endif +} + + +/* If the file is very small, copies it. + copies the first two pixels of the first segment, and sends the segments + one by one to compress_seg. + the number of bytes compressed are stored inside encoder. */ +static void FNAME(compress)(Encoder *encoder) +{ + uint32_t seg_id = encoder->cur_image.first_win_seg; + PIXEL *ip; + SharedDictionary *dict = encoder->dict; + int hval; + + // fetch the first image segment that is not too small + while ((seg_id != NULL_IMAGE_SEG_ID) && + (dict->window.segs[seg_id].image->id == encoder->cur_image.id) && + ((((PIXEL *)dict->window.segs[seg_id].lines_end) - + ((PIXEL *)dict->window.segs[seg_id].lines)) < 4)) { + // coping the segment + if (dict->window.segs[seg_id].lines != dict->window.segs[seg_id].lines_end) { + ip = (PIXEL *)dict->window.segs[seg_id].lines; + // Note: we assume MAX_COPY > 3 + encode_copy_count(encoder, (uint8_t)( + (((PIXEL *)dict->window.segs[seg_id].lines_end) - + ((PIXEL *)dict->window.segs[seg_id].lines)) - 1)); + while (ip < (PIXEL *)dict->window.segs[seg_id].lines_end) { + ENCODE_PIXEL(encoder, *ip); + ip++; + } + } + seg_id = dict->window.segs[seg_id].next; + } + + if ((seg_id == NULL_IMAGE_SEG_ID) || + (dict->window.segs[seg_id].image->id != encoder->cur_image.id)) { + return; + } + + ip = (PIXEL *)dict->window.segs[seg_id].lines; + + + encode_copy_count(encoder, MAX_COPY - 1); + + HASH_FUNC(hval, ip); + UPDATE_HASH(encoder->dict, hval, seg_id, 0); + + ENCODE_PIXEL(encoder, *ip); + ip++; + ENCODE_PIXEL(encoder, *ip); + ip++; +#ifdef DEBUG_ENCODE + printf("copy, copy"); +#endif + // compressing the first segment + FNAME(compress_seg)(encoder, seg_id, ip, 2); + + // compressing the next segments + for (seg_id = dict->window.segs[seg_id].next; + seg_id != NULL_IMAGE_SEG_ID && ( + dict->window.segs[seg_id].image->id == encoder->cur_image.id); + seg_id = dict->window.segs[seg_id].next) { + FNAME(compress_seg)(encoder, seg_id, (PIXEL *)dict->window.segs[seg_id].lines, 0); + } +} + +#undef FNAME +#undef PIXEL_ID +#undef PIXEL_DIST +#undef PIXEL +#undef ENCODE_PIXEL +#undef SAME_PIXEL +#undef HASH_FUNC +#undef GET_r +#undef GET_g +#undef GET_b +#undef GET_CODE +#undef LZ_PLT +#undef LZ_RGB_ALPHA +#undef LZ_RGB16 +#undef LZ_RGB24 +#undef LZ_RGB32 +#undef MIN_REF_ENCODE_SIZE +#undef MAX_REF_ENCODE_SIZE diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/glz_encoder.c b/tizen/distrib/remote/server/spice-0.12.2/server/glz_encoder.c new file mode 100644 index 0000000..1ec1f9b --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/glz_encoder.c @@ -0,0 +1,310 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <pthread.h> +#include <stdio.h> +#include "glz_encoder.h" +#include "glz_encoder_dictionary_protected.h" + + +/* Holds a specific data for one encoder, and data that is relevant for the current image encoded */ +typedef struct Encoder { + GlzEncoderUsrContext *usr; + uint8_t id; + SharedDictionary *dict; + + struct { + LzImageType type; + uint32_t id; + uint32_t first_win_seg; + } cur_image; + + struct { + uint8_t *start; + uint8_t *now; + uint8_t *end; + size_t bytes_count; + uint8_t *last_copy; // pointer to the last byte in which copy count was written + } io; +} Encoder; + + +/************************************************************************** +* Handling writing the encoded image to the output buffer +***************************************************************************/ +static INLINE int more_io_bytes(Encoder *encoder) +{ + uint8_t *io_ptr; + int num_io_bytes = encoder->usr->more_space(encoder->usr, &io_ptr); + encoder->io.bytes_count += num_io_bytes; + encoder->io.now = io_ptr; + encoder->io.end = encoder->io.now + num_io_bytes; + return num_io_bytes; +} + +static INLINE void encode(Encoder *encoder, uint8_t byte) +{ + if (encoder->io.now == encoder->io.end) { + if (more_io_bytes(encoder) <= 0) { + encoder->usr->error(encoder->usr, "%s: no more bytes\n", __FUNCTION__); + } + GLZ_ASSERT(encoder->usr, encoder->io.now); + } + + GLZ_ASSERT(encoder->usr, encoder->io.now < encoder->io.end); + *(encoder->io.now++) = byte; +} + +static INLINE void encode_32(Encoder *encoder, unsigned int word) +{ + encode(encoder, (uint8_t)(word >> 24)); + encode(encoder, (uint8_t)(word >> 16) & 0x0000ff); + encode(encoder, (uint8_t)(word >> 8) & 0x0000ff); + encode(encoder, (uint8_t)(word & 0x0000ff)); +} + +static INLINE void encode_64(Encoder *encoder, uint64_t word) +{ + encode_32(encoder, (uint32_t)(word >> 32)); + encode_32(encoder, (uint32_t)(word & 0xffffff)); +} + +static INLINE void encode_copy_count(Encoder *encoder, uint8_t copy_count) +{ + encode(encoder, copy_count); + encoder->io.last_copy = encoder->io.now - 1; // io_now cannot be the first byte of the buffer +} + +static INLINE void update_copy_count(Encoder *encoder, uint8_t copy_count) +{ + GLZ_ASSERT(encoder->usr, encoder->io.last_copy); + *(encoder->io.last_copy) = copy_count; +} + +// decrease the io ptr by 1 +static INLINE void compress_output_prev(Encoder *encoder) +{ + // io_now cannot be the first byte of the buffer + encoder->io.now--; + // the function should be called only when copy count is written unnecessarily by glz_compress + GLZ_ASSERT(encoder->usr, encoder->io.now == encoder->io.last_copy) +} + +static int encoder_reset(Encoder *encoder, uint8_t *io_ptr, uint8_t *io_ptr_end) +{ + GLZ_ASSERT(encoder->usr, io_ptr <= io_ptr_end); + encoder->io.bytes_count = io_ptr_end - io_ptr; + encoder->io.start = io_ptr; + encoder->io.now = io_ptr; + encoder->io.end = io_ptr_end; + encoder->io.last_copy = NULL; + + return TRUE; +} + +/********************************************************** +* Encoding +***********************************************************/ + +GlzEncoderContext *glz_encoder_create(uint8_t id, GlzEncDictContext *dictionary, + GlzEncoderUsrContext *usr) +{ + Encoder *encoder; + + if (!usr || !usr->error || !usr->warn || !usr->info || !usr->malloc || + !usr->free || !usr->more_space) { + return NULL; + } + + if (!(encoder = (Encoder *)usr->malloc(usr, sizeof(Encoder)))) { + return NULL; + } + + encoder->id = id; + encoder->usr = usr; + encoder->dict = (SharedDictionary *)dictionary; + + return (GlzEncoderContext *)encoder; +} + +void glz_encoder_destroy(GlzEncoderContext *opaque_encoder) +{ + Encoder *encoder = (Encoder *)opaque_encoder; + + if (!opaque_encoder) { + return; + } + + encoder->usr->free(encoder->usr, encoder); +} + +/* + * Give hints to the compiler for branch prediction optimization. + */ +#if defined(__GNUC__) && (__GNUC__ > 2) +#define LZ_EXPECT_CONDITIONAL(c) (__builtin_expect((c), 1)) +#define LZ_UNEXPECT_CONDITIONAL(c) (__builtin_expect((c), 0)) +#else +#define LZ_EXPECT_CONDITIONAL(c) (c) +#define LZ_UNEXPECT_CONDITIONAL(c) (c) +#endif + + +typedef uint8_t BYTE; + +typedef struct __attribute__ ((__packed__)) one_byte_pixel_t { + BYTE a; +} one_byte_pixel_t; + +typedef struct __attribute__ ((__packed__)) rgb32_pixel_t { + BYTE b; + BYTE g; + BYTE r; + BYTE pad; +} rgb32_pixel_t; + +typedef struct __attribute__ ((__packed__)) rgb24_pixel_t { + BYTE b; + BYTE g; + BYTE r; +} rgb24_pixel_t; + +typedef uint16_t rgb16_pixel_t; + +#define BOUND_OFFSET 2 +#define LIMIT_OFFSET 6 +#define MIN_FILE_SIZE 4 + +#define MAX_PIXEL_SHORT_DISTANCE 4096 // (1 << 12) +#define MAX_PIXEL_MEDIUM_DISTANCE 131072 // (1 << 17) 2 ^ (12 + 5) +#define MAX_PIXEL_LONG_DISTANCE 33554432 // (1 << 25) 2 ^ (12 + 5 + 8) +#define MAX_IMAGE_DIST 16777215 // (1 << 24 - 1) + + +//#define DEBUG_ENCODE + + +#define GLZ_ENCODE_SIZE +#include "glz_encode_match_tmpl.c" +#define GLZ_ENCODE_MATCH +#include "glz_encode_match_tmpl.c" + +#define LZ_PLT +#include "glz_encode_tmpl.c" + +#define LZ_RGB16 +#include "glz_encode_tmpl.c" + +#define LZ_RGB24 +#include "glz_encode_tmpl.c" + +#define LZ_RGB32 +#include "glz_encode_tmpl.c" + +#define LZ_RGB_ALPHA +#include "glz_encode_tmpl.c" + + +int glz_encode(GlzEncoderContext *opaque_encoder, + LzImageType type, int width, int height, int top_down, + uint8_t *lines, unsigned int num_lines, int stride, + uint8_t *io_ptr, unsigned int num_io_bytes, + GlzUsrImageContext *usr_context, GlzEncDictImageContext **o_enc_dict_context) +{ + Encoder *encoder = (Encoder *)opaque_encoder; + WindowImage *dict_image; + uint8_t *io_ptr_end = io_ptr + num_io_bytes; + uint32_t win_head_image_dist; + + if (IS_IMAGE_TYPE_PLT[type]) { + if (stride > (width / PLT_PIXELS_PER_BYTE[type])) { + if (((width % PLT_PIXELS_PER_BYTE[type]) == 0) || ( + (stride - (width / PLT_PIXELS_PER_BYTE[type])) > 1)) { + encoder->usr->error(encoder->usr, "stride overflows (plt)\n"); + } + } + } else { + if (stride != width * RGB_BYTES_PER_PIXEL[type]) { + encoder->usr->error(encoder->usr, "stride != width*bytes_per_pixel (rgb)\n"); + } + } + + // assign the output buffer + if (!encoder_reset(encoder, io_ptr, io_ptr_end)) { + encoder->usr->error(encoder->usr, "lz encoder io reset failed\n"); + } + + // first read the list of the image segments into the dictionary window + dict_image = glz_dictionary_pre_encode(encoder->id, encoder->usr, + encoder->dict, type, width, height, stride, + lines, num_lines, usr_context, &win_head_image_dist); + *o_enc_dict_context = (GlzEncDictImageContext *)dict_image; + + encoder->cur_image.type = type; + encoder->cur_image.id = dict_image->id; + encoder->cur_image.first_win_seg = dict_image->first_seg; + + encode_32(encoder, LZ_MAGIC); + encode_32(encoder, LZ_VERSION); + if (top_down) { + encode(encoder, (type & LZ_IMAGE_TYPE_MASK) | (1 << LZ_IMAGE_TYPE_LOG)); + } else { + encode(encoder, (type & LZ_IMAGE_TYPE_MASK)); + } + + encode_32(encoder, width); + encode_32(encoder, height); + encode_32(encoder, stride); + encode_64(encoder, dict_image->id); + encode_32(encoder, win_head_image_dist); + + switch (encoder->cur_image.type) { + case LZ_IMAGE_TYPE_PLT1_BE: + case LZ_IMAGE_TYPE_PLT1_LE: + case LZ_IMAGE_TYPE_PLT4_BE: + case LZ_IMAGE_TYPE_PLT4_LE: + case LZ_IMAGE_TYPE_PLT8: + glz_plt_compress(encoder); + break; + case LZ_IMAGE_TYPE_RGB16: + glz_rgb16_compress(encoder); + break; + case LZ_IMAGE_TYPE_RGB24: + glz_rgb24_compress(encoder); + break; + case LZ_IMAGE_TYPE_RGB32: + glz_rgb32_compress(encoder); + break; + case LZ_IMAGE_TYPE_RGBA: + glz_rgb32_compress(encoder); + glz_rgb_alpha_compress(encoder); + break; + case LZ_IMAGE_TYPE_INVALID: + default: + encoder->usr->error(encoder->usr, "bad image type\n"); + } + + glz_dictionary_post_encode(encoder->id, encoder->usr, encoder->dict); + + // move all the used segments to the free ones + encoder->io.bytes_count -= (encoder->io.end - encoder->io.now); + + return encoder->io.bytes_count; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/glz_encoder.h b/tizen/distrib/remote/server/spice-0.12.2/server/glz_encoder.h new file mode 100644 index 0000000..34c363a --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/glz_encoder.h @@ -0,0 +1,55 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_GLZ_ENCODER +#define _H_GLZ_ENCODER + +/* Manging the lz encoding using a dictionary that is shared among encoders */ + +#include <stdint.h> +#include "common/lz_common.h" +#include "glz_encoder_dictionary.h" +#include "glz_encoder_config.h" + +typedef void GlzEncoderContext; + +GlzEncoderContext *glz_encoder_create(uint8_t id, GlzEncDictContext *dictionary, + GlzEncoderUsrContext *usr); + +void glz_encoder_destroy(GlzEncoderContext *opaque_encoder); + +/* + assumes width is in pixels and stride is in bytes + usr_context : when an image is released from the window due to capacity overflow, + usr_context is given as a parameter to the free_image callback. + o_enc_dict_context: if glz_enc_dictionary_remove_image is called, it should be + called with the o_enc_dict_context that is associated with + the image. + + return: the number of bytes in the compressed data and sets o_enc_dict_context + + NOTE : currently supports only rgb images in which width*bytes_per_pixel = stride OR + palette images in which stride equals the min number of bytes to hold a line. + The stride should be > 0 +*/ +int glz_encode(GlzEncoderContext *opaque_encoder, LzImageType type, int width, int height, + int top_down, uint8_t *lines, unsigned int num_lines, int stride, + uint8_t *io_ptr, unsigned int num_io_bytes, GlzUsrImageContext *usr_context, + GlzEncDictImageContext **o_enc_dict_context); + + +#endif // _H_GLZ_ENCODER diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/glz_encoder_config.h b/tizen/distrib/remote/server/spice-0.12.2/server/glz_encoder_config.h new file mode 100644 index 0000000..886c68b --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/glz_encoder_config.h @@ -0,0 +1,61 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_GLZ_ENCODER_CONFIG +#define _H_GLZ_ENCODER_CONFIG + +#include <spice/macros.h> +#include "common/lz_common.h" + +typedef void GlzUsrImageContext; +typedef struct GlzEncoderUsrContext GlzEncoderUsrContext; + +struct GlzEncoderUsrContext { + SPICE_GNUC_PRINTF(2, 3) void (*error)(GlzEncoderUsrContext *usr, const char *fmt, ...); + SPICE_GNUC_PRINTF(2, 3) void (*warn)(GlzEncoderUsrContext *usr, const char *fmt, ...); + SPICE_GNUC_PRINTF(2, 3) void (*info)(GlzEncoderUsrContext *usr, const char *fmt, ...); + void *(*malloc)(GlzEncoderUsrContext *usr, int size); + void (*free)(GlzEncoderUsrContext *usr, void *ptr); + + // get the next chunk of the image which is entered to the dictionary. If the image is down to + // top, return it from the last line to the first one (stride should always be positive) + int (*more_lines)(GlzEncoderUsrContext *usr, uint8_t **lines); + + // get the next chunk of the compressed buffer.return number of bytes in the chunk. + int (*more_space)(GlzEncoderUsrContext *usr, uint8_t **io_ptr); + + // called when an image is removed from the dictionary, due to the window size limit + void (*free_image)(GlzEncoderUsrContext *usr, GlzUsrImageContext *image); + +}; + + +#ifdef DEBUG + +#define GLZ_ASSERT(usr, x) \ + if (!(x)) (usr)->error(usr, "%s: ASSERT %s failed\n", __FUNCTION__, #x); + +#else + +#define GLZ_ASSERT(usr, x) + +#endif + +#define INLINE inline + + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/glz_encoder_dictionary.c b/tizen/distrib/remote/server/spice-0.12.2/server/glz_encoder_dictionary.c new file mode 100644 index 0000000..df346d0 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/glz_encoder_dictionary.c @@ -0,0 +1,633 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <pthread.h> +#include <string.h> +#include <stdio.h> + +#include "glz_encoder_dictionary.h" +#include "glz_encoder_dictionary_protected.h" + +/* turning all used images to free ones. If they are alive, calling the free_image callback for + each one */ +static INLINE void __glz_dictionary_window_reset_images(SharedDictionary *dict) +{ + WindowImage *tmp; + + while (dict->window.used_images_head) { + tmp = dict->window.used_images_head; + dict->window.used_images_head = dict->window.used_images_head->next; + if (tmp->is_alive) { + dict->cur_usr->free_image(dict->cur_usr, tmp->usr_context); + } + tmp->next = dict->window.free_images; + tmp->is_alive = FALSE; + dict->window.free_images = tmp; + } + dict->window.used_images_tail = NULL; +} + +/* allocate window fields (no reset)*/ +static int glz_dictionary_window_create(SharedDictionary *dict, uint32_t size) +{ + if (size > LZ_MAX_WINDOW_SIZE) { + return FALSE; + } + + dict->window.size_limit = size; + dict->window.segs = (WindowImageSegment *)( + dict->cur_usr->malloc(dict->cur_usr, sizeof(WindowImageSegment) * INIT_IMAGE_SEGS_NUM)); + + if (!dict->window.segs) { + return FALSE; + } + + dict->window.segs_quota = INIT_IMAGE_SEGS_NUM; + + dict->window.encoders_heads = (uint32_t *)dict->cur_usr->malloc(dict->cur_usr, + sizeof(uint32_t) * dict->max_encoders); + + if (!dict->window.encoders_heads) { + dict->cur_usr->free(dict->cur_usr, dict->window.segs); + return FALSE; + } + + dict->window.used_images_head = NULL; + dict->window.used_images_tail = NULL; + dict->window.free_images = NULL; + dict->window.pixels_so_far = 0; + + return TRUE; +} + +/* initializes an empty window (segs and encoder_heads should be pre allocated. + resets the image infos, and calls the free_image usr callback*/ +static void glz_dictionary_window_reset(SharedDictionary *dict) +{ + uint32_t i; + WindowImageSegment *seg, *last_seg; + + last_seg = dict->window.segs + dict->window.segs_quota; + /* reset free segs list */ + dict->window.free_segs_head = 0; + for (seg = dict->window.segs, i = 0; seg < last_seg; seg++, i++) { + seg->next = i + 1; + seg->image = NULL; + seg->lines = NULL; + seg->lines_end = NULL; + seg->pixels_num = 0; + seg->pixels_so_far = 0; + } + dict->window.segs[dict->window.segs_quota - 1].next = NULL_IMAGE_SEG_ID; + + dict->window.used_segs_head = NULL_IMAGE_SEG_ID; + dict->window.used_segs_tail = NULL_IMAGE_SEG_ID; + + // reset encoders heads + for (i = 0; i < dict->max_encoders; i++) { + dict->window.encoders_heads[i] = NULL_IMAGE_SEG_ID; + } + + __glz_dictionary_window_reset_images(dict); +} + +static INLINE void glz_dictionary_reset_hash(SharedDictionary *dict) +{ + memset(dict->htab, 0, sizeof(HashEntry) * HASH_SIZE * HASH_CHAIN_SIZE); +#ifdef CHAINED_HASH + memset(dict->htab_counter, 0, HASH_SIZE * sizeof(uint8_t)); +#endif +} + +static INLINE void glz_dictionary_window_destroy(SharedDictionary *dict) +{ + __glz_dictionary_window_reset_images(dict); + + if (dict->window.segs) { + dict->cur_usr->free(dict->cur_usr, dict->window.segs); + dict->window.segs = NULL; + } + + while (dict->window.free_images) { + WindowImage *tmp = dict->window.free_images; + dict->window.free_images = tmp->next; + + dict->cur_usr->free(dict->cur_usr, tmp); + } + + if (dict->window.encoders_heads) { + dict->cur_usr->free(dict->cur_usr, dict->window.encoders_heads); + dict->window.encoders_heads = NULL; + } +} + +/* logic removal only */ +static INLINE void glz_dictionary_window_kill_image(SharedDictionary *dict, WindowImage *image) +{ + image->is_alive = FALSE; +} + +GlzEncDictContext *glz_enc_dictionary_create(uint32_t size, uint32_t max_encoders, + GlzEncoderUsrContext *usr) +{ + SharedDictionary *dict; + + if (!(dict = (SharedDictionary *)usr->malloc(usr, + sizeof(SharedDictionary)))) { + return NULL; + } + + dict->cur_usr = usr; + dict->last_image_id = 0; + dict->max_encoders = max_encoders; + + pthread_mutex_init(&dict->lock, NULL); + pthread_rwlock_init(&dict->rw_alloc_lock, NULL); + + dict->window.encoders_heads = NULL; + + // alloc window fields and reset + if (!glz_dictionary_window_create(dict, size)) { + dict->cur_usr->free(usr, dict); + return NULL; + } + + // reset window and hash + glz_enc_dictionary_reset((GlzEncDictContext *)dict, usr); + + return (GlzEncDictContext *)dict; +} + +void glz_enc_dictionary_get_restore_data(GlzEncDictContext *opaque_dict, + GlzEncDictRestoreData *out_data, GlzEncoderUsrContext *usr) +{ + SharedDictionary *dict = (SharedDictionary *)opaque_dict; + dict->cur_usr = usr; + GLZ_ASSERT(dict->cur_usr, opaque_dict); + GLZ_ASSERT(dict->cur_usr, out_data); + + out_data->last_image_id = dict->last_image_id; + out_data->max_encoders = dict->max_encoders; + out_data->size = dict->window.size_limit; +} + +GlzEncDictContext *glz_enc_dictionary_restore(GlzEncDictRestoreData *restore_data, + GlzEncoderUsrContext *usr) +{ + if (!restore_data) { + return NULL; + } + SharedDictionary *ret = (SharedDictionary *)glz_enc_dictionary_create( + restore_data->size, restore_data->max_encoders, usr); + ret->last_image_id = restore_data->last_image_id; + return ((GlzEncDictContext *)ret); +} + +void glz_enc_dictionary_reset(GlzEncDictContext *opaque_dict, GlzEncoderUsrContext *usr) +{ + SharedDictionary *dict = (SharedDictionary *)opaque_dict; + dict->cur_usr = usr; + GLZ_ASSERT(dict->cur_usr, opaque_dict); + + dict->last_image_id = 0; + glz_dictionary_window_reset(dict); + glz_dictionary_reset_hash(dict); +} + +void glz_enc_dictionary_destroy(GlzEncDictContext *opaque_dict, GlzEncoderUsrContext *usr) +{ + SharedDictionary *dict = (SharedDictionary *)opaque_dict; + + if (!opaque_dict) { + return; + } + + dict->cur_usr = usr; + glz_dictionary_window_destroy(dict); + + pthread_mutex_destroy(&dict->lock); + pthread_rwlock_destroy(&dict->rw_alloc_lock); + + dict->cur_usr->free(dict->cur_usr, dict); +} + +uint32_t glz_enc_dictionary_get_size(GlzEncDictContext *opaque_dict) +{ + SharedDictionary *dict = (SharedDictionary *)opaque_dict; + + if (!opaque_dict) { + return 0; + } + return dict->window.size_limit; +} + +/* doesn't call the remove image callback */ +void glz_enc_dictionary_remove_image(GlzEncDictContext *opaque_dict, + GlzEncDictImageContext *opaque_image, + GlzEncoderUsrContext *usr) +{ + SharedDictionary *dict = (SharedDictionary *)opaque_dict; + WindowImage *image = (WindowImage *)opaque_image; + dict->cur_usr = usr; + GLZ_ASSERT(dict->cur_usr, opaque_image && opaque_dict); + + glz_dictionary_window_kill_image(dict, image); +} + +/*********************************************************************************** + Mutators of the window. Should be called by the encoder before and after encoding. + ***********************************************************************************/ + +static INLINE int __get_pixels_num(LzImageType image_type, unsigned int num_lines, int stride) +{ + if (IS_IMAGE_TYPE_RGB[image_type]) { + return num_lines * stride / RGB_BYTES_PER_PIXEL[image_type]; + } else { + return num_lines * stride * PLT_PIXELS_PER_BYTE[image_type]; + } +} + +static void __glz_dictionary_window_segs_realloc(SharedDictionary *dict) +{ + WindowImageSegment *new_segs; + uint32_t new_quota = (MAX_IMAGE_SEGS_NUM < (dict->window.segs_quota * 2)) ? + MAX_IMAGE_SEGS_NUM : (dict->window.segs_quota * 2); + WindowImageSegment *seg; + uint32_t i; + + pthread_rwlock_wrlock(&dict->rw_alloc_lock); + + if (dict->window.segs_quota == MAX_IMAGE_SEGS_NUM) { + dict->cur_usr->error(dict->cur_usr, "overflow in image segments window\n"); + } + + new_segs = (WindowImageSegment*)dict->cur_usr->malloc( + dict->cur_usr, sizeof(WindowImageSegment) * new_quota); + + if (!new_segs) { + dict->cur_usr->error(dict->cur_usr, + "realloc of dictionary window failed\n"); + } + + memcpy(new_segs, dict->window.segs, + sizeof(WindowImageSegment) * dict->window.segs_quota); + + // reseting the new elements + for (i = dict->window.segs_quota, seg = new_segs + i; i < new_quota; i++, seg++) { + seg->image = NULL; + seg->lines = NULL; + seg->lines_end = NULL; + seg->pixels_num = 0; + seg->pixels_so_far = 0; + seg->next = i + 1; + } + new_segs[new_quota - 1].next = dict->window.free_segs_head; + dict->window.free_segs_head = dict->window.segs_quota; + + dict->cur_usr->free(dict->cur_usr, dict->window.segs); + dict->window.segs = new_segs; + dict->window.segs_quota = new_quota; + + pthread_rwlock_unlock(&dict->rw_alloc_lock); +} + +/* NOTE - it also updates the used_images_list*/ +static WindowImage *__glz_dictionary_window_alloc_image(SharedDictionary *dict) +{ + WindowImage *ret; + + if (dict->window.free_images) { + ret = dict->window.free_images; + dict->window.free_images = ret->next; + } else { + if (!(ret = (WindowImage *)dict->cur_usr->malloc(dict->cur_usr, + sizeof(*ret)))) { + return NULL; + } + } + + ret->next = NULL; + if (dict->window.used_images_tail) { + dict->window.used_images_tail->next = ret; + } + dict->window.used_images_tail = ret; + + if (!dict->window.used_images_head) { + dict->window.used_images_head = ret; + } + return ret; +} + +/* NOTE - it doesn't update the used_segs list*/ +static uint32_t __glz_dictionary_window_alloc_image_seg(SharedDictionary *dict) +{ + uint32_t seg_id; + WindowImageSegment *seg; + + // TODO: when is it best to realloc? when full or when half full? + if (dict->window.free_segs_head == NULL_IMAGE_SEG_ID) { + __glz_dictionary_window_segs_realloc(dict); + } + + GLZ_ASSERT(dict->cur_usr, dict->window.free_segs_head != NULL_IMAGE_SEG_ID); + + seg_id = dict->window.free_segs_head; + seg = dict->window.segs + seg_id; + dict->window.free_segs_head = seg->next; + + return seg_id; +} + +/* moves image to free list and "kill" it. Calls the free_image callback if was alive. */ +static INLINE void __glz_dictionary_window_free_image(SharedDictionary *dict, WindowImage *image) +{ + if (image->is_alive) { + dict->cur_usr->free_image(dict->cur_usr, image->usr_context); + } + image->is_alive = FALSE; + image->next = dict->window.free_images; + dict->window.free_images = image; +} + +/* moves all the segments that were associated with the images to the free segments */ +static INLINE void __glz_dictionary_window_free_image_segs(SharedDictionary *dict, + WindowImage *image) +{ + uint32_t old_free_head = dict->window.free_segs_head; + uint32_t seg_id, next_seg_id; + + GLZ_ASSERT(dict->cur_usr, image->first_seg != NULL_IMAGE_SEG_ID); + dict->window.free_segs_head = image->first_seg; + + // retrieving the last segment of the image + for (seg_id = image->first_seg, next_seg_id = dict->window.segs[seg_id].next; + (next_seg_id != NULL_IMAGE_SEG_ID) && (dict->window.segs[next_seg_id].image == image); + seg_id = next_seg_id, next_seg_id = dict->window.segs[seg_id].next) { + } + + // concatenate the free list + dict->window.segs[seg_id].next = old_free_head; +} + +/* Returns the logical head of the window after we add an image with the give size to its tail. + Returns NULL when the window is empty, of when we have to empty the window in order + to insert the new image. */ +static WindowImage *glz_dictionary_window_get_new_head(SharedDictionary *dict, int new_image_size) +{ + uint32_t cur_win_size; + WindowImage *cur_head; + + if ((uint32_t)new_image_size > dict->window.size_limit) { + dict->cur_usr->error(dict->cur_usr, "image is bigger than window\n"); + } + + GLZ_ASSERT(dict->cur_usr, new_image_size < dict->window.size_limit) + + // the window is empty + if (!dict->window.used_images_head) { + return NULL; + } + + GLZ_ASSERT(dict->cur_usr, dict->window.used_segs_head != NULL_IMAGE_SEG_ID); + GLZ_ASSERT(dict->cur_usr, dict->window.used_segs_tail != NULL_IMAGE_SEG_ID); + + // used_segs_head is the latest logical head (the physical head may preceed it) + cur_head = dict->window.segs[dict->window.used_segs_head].image; + cur_win_size = dict->window.segs[dict->window.used_segs_tail].pixels_num + + dict->window.segs[dict->window.used_segs_tail].pixels_so_far - + dict->window.segs[dict->window.used_segs_head].pixels_so_far; + + while ((cur_win_size + new_image_size) > dict->window.size_limit) { + GLZ_ASSERT(dict->cur_usr, cur_head); + cur_win_size -= cur_head->size; + cur_head = cur_head->next; + } + + return cur_head; +} + +static INLINE int glz_dictionary_is_in_use(SharedDictionary *dict) +{ + uint32_t i = 0; + for (i = 0; i < dict->max_encoders; i++) { + if (dict->window.encoders_heads[i] != NULL_IMAGE_SEG_ID) { + return TRUE; + } + } + return FALSE; +} + +/* remove from the window (and free relevant data) the images between the oldest physical head + (inclusive) and the end_image (exclusive). If end_image is NULL, empties the window*/ +static void glz_dictionary_window_remove_head(SharedDictionary *dict, uint32_t encoder_id, + WindowImage *end_image) +{ + // note that the segs list heads (one per encoder) may be different than the + // used_segs_head and it is updated somewhere else + while (dict->window.used_images_head != end_image) { + WindowImage *image = dict->window.used_images_head; + + __glz_dictionary_window_free_image_segs(dict, image); + dict->window.used_images_head = image->next; + __glz_dictionary_window_free_image(dict, image); + } + + if (!dict->window.used_images_head) { + dict->window.used_segs_head = NULL_IMAGE_SEG_ID; + dict->window.used_segs_tail = NULL_IMAGE_SEG_ID; + dict->window.used_images_tail = NULL; + } else { + dict->window.used_segs_head = end_image->first_seg; + } +} + +static uint32_t glz_dictionary_window_alloc_image_seg(SharedDictionary *dict, WindowImage* image, + int size, int stride, + uint8_t *lines, unsigned int num_lines) +{ + uint32_t seg_id = __glz_dictionary_window_alloc_image_seg(dict); + WindowImageSegment *seg = &dict->window.segs[seg_id]; + + seg->image = image; + seg->lines = lines; + seg->lines_end = lines + num_lines * stride; + seg->pixels_num = size; + seg->pixels_so_far = dict->window.pixels_so_far; + dict->window.pixels_so_far += seg->pixels_num; + + seg->next = NULL_IMAGE_SEG_ID; + + return seg_id; +} + +static WindowImage *glz_dictionary_window_add_image(SharedDictionary *dict, LzImageType image_type, + int image_size, int image_height, + int image_stride, uint8_t *first_lines, + unsigned int num_first_lines, + GlzUsrImageContext *usr_image_context) +{ + unsigned int num_lines = num_first_lines; + unsigned int row; + uint32_t seg_id, prev_seg_id; + uint8_t* lines = first_lines; + // alloc image info,update used head tail, if used_head null - update head + WindowImage *image = __glz_dictionary_window_alloc_image(dict); + image->id = dict->last_image_id++; + image->size = image_size; + image->type = image_type; + image->usr_context = usr_image_context; + + if (num_lines <= 0) { + num_lines = dict->cur_usr->more_lines(dict->cur_usr, &lines); + if (num_lines <= 0) { + dict->cur_usr->error(dict->cur_usr, "more lines failed\n"); + } + } + + for (row = 0;;) { + seg_id = glz_dictionary_window_alloc_image_seg(dict, image, + image_size * num_lines / image_height, + image_stride, + lines, num_lines); + if (row == 0) { + image->first_seg = seg_id; + } else { + dict->window.segs[prev_seg_id].next = seg_id; + } + + row += num_lines; + if (row < (uint32_t)image_height) { + num_lines = dict->cur_usr->more_lines(dict->cur_usr, &lines); + if (num_lines <= 0) { + dict->cur_usr->error(dict->cur_usr, "more lines failed\n"); + } + } else { + break; + } + prev_seg_id = seg_id; + } + + if (dict->window.used_segs_tail == NULL_IMAGE_SEG_ID) { + dict->window.used_segs_head = image->first_seg; + dict->window.used_segs_tail = seg_id; + } else { + int prev_tail = dict->window.used_segs_tail; + + // The used segs may be in use by another thread which is during encoding + // (read-only use - when going over the segs of an image, + // see glz_encode_tmpl::compress). + // Thus, the 'next' field of the list's tail can be accessed only + // after all the new tail's data was set. Note that we are relying on + // an atomic assignment (32 bit variable). + // For the other thread that may read 'next' of the old tail, NULL_IMAGE_SEG_ID + // is equivalent to a segment with an image id that is different + // from the image id of the tail, so we don't need to further protect this field. + dict->window.segs[prev_tail].next = image->first_seg; + dict->window.used_segs_tail = seg_id; + } + image->is_alive = TRUE; + + return image; +} + +WindowImage *glz_dictionary_pre_encode(uint32_t encoder_id, GlzEncoderUsrContext *usr, + SharedDictionary *dict, LzImageType image_type, + int image_width, int image_height, int image_stride, + uint8_t *first_lines, unsigned int num_first_lines, + GlzUsrImageContext *usr_image_context, + uint32_t *image_head_dist) +{ + WindowImage *new_win_head, *ret; + int image_size; + + + pthread_mutex_lock(&dict->lock); + + dict->cur_usr = usr; + GLZ_ASSERT(dict->cur_usr, dict->window.encoders_heads[encoder_id] == NULL_IMAGE_SEG_ID); + + image_size = __get_pixels_num(image_type, image_height, image_stride); + new_win_head = glz_dictionary_window_get_new_head(dict, image_size); + + if (!glz_dictionary_is_in_use(dict)) { + glz_dictionary_window_remove_head(dict, encoder_id, new_win_head); + } + + ret = glz_dictionary_window_add_image(dict, image_type, image_size, image_height, image_stride, + first_lines, num_first_lines, usr_image_context); + + if (new_win_head) { + dict->window.encoders_heads[encoder_id] = new_win_head->first_seg; + *image_head_dist = (uint32_t)(ret->id - new_win_head->id); // shouldn't be greater than 32 + // bit because the window size is + // limited to 2^25 + } else { + dict->window.encoders_heads[encoder_id] = ret->first_seg; + *image_head_dist = 0; + } + + + // update encoders head (the other heads were already updated) + pthread_mutex_unlock(&dict->lock); + pthread_rwlock_rdlock(&dict->rw_alloc_lock); + return ret; +} + +void glz_dictionary_post_encode(uint32_t encoder_id, GlzEncoderUsrContext *usr, + SharedDictionary *dict) +{ + uint32_t i; + uint32_t early_head_seg = NULL_IMAGE_SEG_ID; + uint32_t this_encoder_head_seg; + + pthread_rwlock_unlock(&dict->rw_alloc_lock); + pthread_mutex_lock(&dict->lock); + dict->cur_usr = usr; + + GLZ_ASSERT(dict->cur_usr, dict->window.encoders_heads[encoder_id] != NULL_IMAGE_SEG_ID); + // get the earliest head in use (not including this encoder head) + for (i = 0; i < dict->max_encoders; i++) { + if (i != encoder_id) { + if (IMAGE_SEG_IS_EARLIER(dict, dict->window.encoders_heads[i], early_head_seg)) { + early_head_seg = dict->window.encoders_heads[i]; + } + } + } + + // possible only if early_head_seg == NULL + if (IMAGE_SEG_IS_EARLIER(dict, dict->window.used_segs_head, early_head_seg)) { + early_head_seg = dict->window.used_segs_head; + } + + this_encoder_head_seg = dict->window.encoders_heads[encoder_id]; + + GLZ_ASSERT(dict->cur_usr, early_head_seg != NULL_IMAGE_SEG_ID); + + if (IMAGE_SEG_IS_EARLIER(dict, this_encoder_head_seg, early_head_seg)) { + GLZ_ASSERT(dict->cur_usr, + this_encoder_head_seg == dict->window.used_images_head->first_seg); + glz_dictionary_window_remove_head(dict, encoder_id, + dict->window.segs[early_head_seg].image); + } + + + dict->window.encoders_heads[encoder_id] = NULL_IMAGE_SEG_ID; + pthread_mutex_unlock(&dict->lock); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/glz_encoder_dictionary.h b/tizen/distrib/remote/server/spice-0.12.2/server/glz_encoder_dictionary.h new file mode 100644 index 0000000..eb57aa5 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/glz_encoder_dictionary.h @@ -0,0 +1,69 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_GLZ_ENCODER_DICTIONARY +#define _H_GLZ_ENCODER_DICTIONARY + +#include <stdint.h> +#include "glz_encoder_config.h" + +/* + Interface for maintaining lz dictionary that is shared among several encoders. + The interface for accessing the dictionary for encoding purposes is located in + glz_encoder_dictionary_protected.h +*/ + +typedef void GlzEncDictContext; +typedef void GlzEncDictImageContext; + +/* NOTE: DISPLAY_MIGRATE_DATA_VERSION should change in case GlzEncDictRestoreData changes*/ +typedef struct GlzEncDictRestoreData { + uint32_t size; + uint32_t max_encoders; + uint64_t last_image_id; +} GlzEncDictRestoreData; + +/* size : maximal number of pixels occupying the window + max_encoders: maximal number of encoders that use the dictionary + usr : callbacks */ +GlzEncDictContext *glz_enc_dictionary_create(uint32_t size, uint32_t max_encoders, + GlzEncoderUsrContext *usr); + +void glz_enc_dictionary_destroy(GlzEncDictContext *opaque_dict, GlzEncoderUsrContext *usr); + +/* returns the window capacity in pixels */ +uint32_t glz_enc_dictionary_get_size(GlzEncDictContext *); + +/* returns the current state of the dictionary. + NOTE - you should use it only when no encoder uses the dictionary. */ +void glz_enc_dictionary_get_restore_data(GlzEncDictContext *opaque_dict, + GlzEncDictRestoreData *out_data, + GlzEncoderUsrContext *usr); + +/* creates a dictionary and initialized it by use the given info */ +GlzEncDictContext *glz_enc_dictionary_restore(GlzEncDictRestoreData *restore_data, + GlzEncoderUsrContext *usr); + +/* NOTE - you should use this routine only when no encoder uses the dictionary. */ +void glz_enc_dictionary_reset(GlzEncDictContext *opaque_dict, GlzEncoderUsrContext *usr); + +/* image: the context returned by the encoder when the image was encoded. + NOTE - you should use this routine only when no encoder uses the dictionary.*/ +void glz_enc_dictionary_remove_image(GlzEncDictContext *opaque_dict, + GlzEncDictImageContext *image, GlzEncoderUsrContext *usr); + +#endif // _H_GLZ_ENCODER_DICTIONARY diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/glz_encoder_dictionary_protected.h b/tizen/distrib/remote/server/spice-0.12.2/server/glz_encoder_dictionary_protected.h new file mode 100644 index 0000000..ee1f8d8 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/glz_encoder_dictionary_protected.h @@ -0,0 +1,186 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_GLZ_ENCODER_DICTIONARY_PROTECTED +#define _H_GLZ_ENCODER_DICTIONARY_PROTECTED + +/* Interface for using the dictionary for encoding. + Data structures are exposed for the encoder for efficiency + purposes. */ +typedef struct WindowImage WindowImage; +typedef struct WindowImageSegment WindowImageSegment; + + +//#define CHAINED_HASH + +#ifdef CHAINED_HASH +#define HASH_SIZE_LOG 16 +#define HASH_CHAIN_SIZE 4 +#else +#define HASH_SIZE_LOG 20 +#define HASH_CHAIN_SIZE 1 +#endif + +#define HASH_SIZE (1 << HASH_SIZE_LOG) +#define HASH_MASK (HASH_SIZE - 1) + +typedef struct HashEntry HashEntry; + +typedef struct SharedDictionary SharedDictionary; + +struct WindowImage { + uint64_t id; + LzImageType type; + int size; // in pixels + uint32_t first_seg; + GlzUsrImageContext *usr_context; + WindowImage* next; + uint8_t is_alive; +}; + +#define MAX_IMAGE_SEGS_NUM (0xffffffff) +#define NULL_IMAGE_SEG_ID MAX_IMAGE_SEGS_NUM +#define INIT_IMAGE_SEGS_NUM 1000 + +/* Images can be separated into several chunks. The basic unit of the + dictionary window is one image segment. Each segment is encoded separately. + An encoded match can refer to only one segment.*/ +struct WindowImageSegment { + WindowImage *image; + uint8_t *lines; + uint8_t *lines_end; + uint32_t pixels_num; // Number of pixels in the segment + uint64_t pixels_so_far; // Total no. pixels passed through the window till this segment. + // NOTE - never use size delta independently. It should + // always be used with respect to a previous size delta + uint32_t next; +}; + + +struct __attribute__ ((__packed__)) HashEntry { + uint32_t image_seg_idx; + uint32_t ref_pix_idx; +}; + + +struct SharedDictionary { + struct { + /* The segments storage. A dynamic array. + By referring to a segment by its index, instead of address, + we save space in the hash entries (32bit instead of 64bit) */ + WindowImageSegment *segs; + uint32_t segs_quota; + + /* The window is manged as a linked list rather than as a cyclic + array in order to keep the indices of the segments consistent + after reallocation */ + + /* the window in a resolution of image segments */ + uint32_t used_segs_head; // the latest head + uint32_t used_segs_tail; + uint32_t free_segs_head; + + uint32_t *encoders_heads; // Holds for each encoder (by id), the window head when + // it started the encoding. + // The head is NULL_IMAGE_SEG_ID when the encoder is + // not encoding. + + /* the window in a resolution of images. But here the head contains the oldest head*/ + WindowImage* used_images_tail; + WindowImage* used_images_head; + WindowImage* free_images; + + uint64_t pixels_so_far; + uint32_t size_limit; // max number of pixels in a window (per encoder) + } window; + + /* Concurrency issues: the reading/writing of each entry field should be atomic. + It is allowed that the reading/writing of the whole entry won't be atomic, + since before we access a reference we check its validity*/ +#ifdef CHAINED_HASH + HashEntry htab[HASH_SIZE][HASH_CHAIN_SIZE]; + uint8_t htab_counter[HASH_SIZE]; //cyclic counter for the next entry in a chain to be assigned +#else + HashEntry htab[HASH_SIZE]; +#endif + + uint64_t last_image_id; + uint32_t max_encoders; + pthread_mutex_t lock; + pthread_rwlock_t rw_alloc_lock; + GlzEncoderUsrContext *cur_usr; // each encoder has other context. +}; + +/* + Add the image to the tail of the window. + If possible, release images from the head of the window. + Also perform concurrency related operations. + + usr_image_context: when an image is released from the window due to capacity overflow, + usr_image_context is given as a parameter to the free_image callback. + + image_head_dist : the number of images between the current image and the head of the + window that is associated with the encoder. +*/ +WindowImage *glz_dictionary_pre_encode(uint32_t encoder_id, GlzEncoderUsrContext *usr, + SharedDictionary *dict, LzImageType image_type, + int image_width, int image_height, int image_stride, + uint8_t *first_lines, unsigned int num_first_lines, + GlzUsrImageContext *usr_image_context, + uint32_t *image_head_dist); + +/* + Performs concurrency related operations. + If possible, release images from the head of the window. +*/ +void glz_dictionary_post_encode(uint32_t encoder_id, GlzEncoderUsrContext *usr, + SharedDictionary *dict); + +#define IMAGE_SEG_IS_EARLIER(dict, dst_seg, src_seg) ( \ + ((src_seg) == NULL_IMAGE_SEG_ID) || (((dst_seg) != NULL_IMAGE_SEG_ID) \ + && ((dict)->window.segs[(dst_seg)].pixels_so_far < \ + (dict)->window.segs[(src_seg)].pixels_so_far))) + + +#ifdef CHAINED_HASH +#define UPDATE_HASH(dict, hval, seg, pix) { \ + uint8_t tmp_count = (dict)->htab_counter[hval]; \ + (dict)->htab[hval][tmp_count].image_seg_idx = seg; \ + (dict)->htab[hval][tmp_count].ref_pix_idx = pix; \ + tmp_count = ((tmp_count) + 1) & (HASH_CHAIN_SIZE - 1); \ + dict->htab_counter[hval] = tmp_count; \ +} +#else +#define UPDATE_HASH(dict, hval, seg, pix) { \ + (dict)->htab[hval].image_seg_idx = seg; \ + (dict)->htab[hval].ref_pix_idx = pix; \ +} +#endif + +/* checks if the reference segment is located in the range of the window + of the current encoder */ +#define REF_SEG_IS_VALID(dict, enc_id, ref_seg, src_seg) ( \ + ((ref_seg) == (src_seg)) || \ + ((ref_seg)->image && \ + (ref_seg)->image->is_alive && \ + (src_seg->image->type == ref_seg->image->type) && \ + (ref_seg->pixels_so_far <= src_seg->pixels_so_far) && \ + ((dict)->window.segs[ \ + (dict)->window.encoders_heads[enc_id]].pixels_so_far <= \ + ref_seg->pixels_so_far))) + +#endif // _H_GLZ_ENCODER_DICTIONARY_PROTECTED diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/inputs_channel.c b/tizen/distrib/remote/server/spice-0.12.2/server/inputs_channel.c new file mode 100644 index 0000000..722e093 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/inputs_channel.c @@ -0,0 +1,821 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <netinet/in.h> // IPPROTO_TCP +#include <netinet/tcp.h> // TCP_NODELAY +#include <fcntl.h> +#include <stddef.h> // NULL +#include <errno.h> +#include <spice/macros.h> +#include <spice/vd_agent.h> +#include <spice/protocol.h> + +#include "common/marshaller.h" +#include "common/messages.h" +#include "common/generated_server_marshallers.h" + +#include "demarshallers.h" +#include "spice.h" +#include "red_common.h" +#include "reds.h" +#include "red_channel.h" +#include "inputs_channel.h" +#include "migration_protocol.h" + +// TODO: RECEIVE_BUF_SIZE used to be the same for inputs_channel and main_channel +// since it was defined once in reds.c which contained both. +// Now that they are split we can give a more fitting value for inputs - what +// should it be? +#define REDS_AGENT_WINDOW_SIZE 10 +#define REDS_NUM_INTERNAL_AGENT_MESSAGES 1 + +// approximate max receive message size +#define RECEIVE_BUF_SIZE \ + (4096 + (REDS_AGENT_WINDOW_SIZE + REDS_NUM_INTERNAL_AGENT_MESSAGES) * SPICE_AGENT_MAX_DATA_SIZE) + +struct SpiceKbdState { + int dummy; +}; + +#ifdef CONFIG_MARU +struct SpiceSdbPortState { + int dummy; +}; + +struct SpiceHwkeyState { + int dummy; +}; + +struct SpiceRotationState { + int dummy; +}; + +struct SpiceHostkbdState { + int dummy; +}; + +struct SpiceTizenCloseState { + int dummy; +}; +#endif + +struct SpiceMouseState { + int dummy; +}; + +struct SpiceTabletState { + int dummy; +}; + +typedef struct InputsChannelClient { + RedChannelClient base; + uint16_t motion_count; +} InputsChannelClient; + +typedef struct InputsChannel { + RedChannel base; + uint8_t recv_buf[RECEIVE_BUF_SIZE]; + VDAgentMouseState mouse_state; + int src_during_migrate; +} InputsChannel; + +enum { + PIPE_ITEM_INPUTS_INIT = PIPE_ITEM_TYPE_CHANNEL_BASE, + PIPE_ITEM_MOUSE_MOTION_ACK, + PIPE_ITEM_KEY_MODIFIERS, + PIPE_ITEM_MIGRATE_DATA, +}; + +typedef struct InputsPipeItem { + PipeItem base; +} InputsPipeItem; + +typedef struct KeyModifiersPipeItem { + PipeItem base; + uint8_t modifiers; +} KeyModifiersPipeItem; + +typedef struct InputsInitPipeItem { + PipeItem base; + uint8_t modifiers; +} InputsInitPipeItem; + +static SpiceKbdInstance *keyboard = NULL; +#ifdef CONFIG_MARU +static SpiceSdbPortInstance *sdbport = NULL; +static SpiceHwkeyInstance *hwkey = NULL; +static SpiceRotationInstance *rotation = NULL; +static SpiceHostkbdInstance *hostkbd = NULL; +static SpiceTizenCloseInstance *close = NULL; +#endif +static SpiceMouseInstance *mouse = NULL; +static SpiceTabletInstance *tablet = NULL; + +static SpiceTimer *key_modifiers_timer; + +static InputsChannel *g_inputs_channel = NULL; + +#define KEY_MODIFIERS_TTL (1000 * 2) /*2sec*/ + +#define SCROLL_LOCK_SCAN_CODE 0x46 +#define NUM_LOCK_SCAN_CODE 0x45 +#define CAPS_LOCK_SCAN_CODE 0x3a + +int inputs_inited(void) +{ + return !!g_inputs_channel; +} + +int inputs_set_keyboard(SpiceKbdInstance *_keyboard) +{ + if (keyboard) { + spice_printerr("already have keyboard"); + return -1; + } + keyboard = _keyboard; + keyboard->st = spice_new0(SpiceKbdState, 1); + return 0; +} + +#ifdef CONFIG_MARU +int inputs_get_sdbport(SpiceSdbPortInstance *_sdbport) +{ + if (sdbport) { + spice_printerr("already have sdb port"); + return -1; + } + sdbport = _sdbport; + sdbport->st = spice_new0(SpiceSdbPortState, 1); + return 0; +} + +int inputs_set_hwkey(SpiceHwkeyInstance *_hwkey) +{ + if (hwkey) { + spice_printerr("already have hwkey"); + return -1; + } + hwkey = _hwkey; + hwkey->st = spice_new0(SpiceHwkeyState, 1); + return 0; +} + +int inputs_set_rotation(SpiceRotationInstance *_rotation) +{ + if (rotation) { + spice_printerr("already have rotation"); + return -1; + } + rotation = _rotation; + rotation->st = spice_new0(SpiceRotationState, 1); + return 0; +} + +int inputs_set_hostkbd(SpiceHostkbdInstance *_hostkbd) +{ + if (hostkbd) { + spice_printerr("already have hostkbd"); + return -1; + } + hostkbd = _hostkbd; + hostkbd->st = spice_new0(SpiceHostkbdState, 1); + return 0; +} + +int inputs_set_tizen_close(SpiceTizenCloseInstance *_close) +{ + if (close) { + spice_printerr("already have tizen close"); + return -1; + } + close = _close; + close->st = spice_new0(SpiceTizenCloseState, 1); + return 0; +} +#endif + +int inputs_set_mouse(SpiceMouseInstance *_mouse) +{ + if (mouse) { + spice_printerr("already have mouse"); + return -1; + } + mouse = _mouse; + mouse->st = spice_new0(SpiceMouseState, 1); + return 0; +} + +int inputs_set_tablet(SpiceTabletInstance *_tablet) +{ + if (tablet) { + spice_printerr("already have tablet"); + return -1; + } + tablet = _tablet; + tablet->st = spice_new0(SpiceTabletState, 1); + return 0; +} + +int inputs_has_tablet(void) +{ + return !!tablet; +} + +void inputs_detach_tablet(SpiceTabletInstance *_tablet) +{ + spice_printerr(""); + tablet = NULL; +} + +void inputs_set_tablet_logical_size(int x_res, int y_res) +{ + SpiceTabletInterface *sif; + + sif = SPICE_CONTAINEROF(tablet->base.sif, SpiceTabletInterface, base); + sif->set_logical_size(tablet, x_res, y_res); +} + +const VDAgentMouseState *inputs_get_mouse_state(void) +{ + spice_assert(g_inputs_channel); + return &g_inputs_channel->mouse_state; +} + +static uint8_t *inputs_channel_alloc_msg_rcv_buf(RedChannelClient *rcc, + uint16_t type, + uint32_t size) +{ + InputsChannel *inputs_channel = SPICE_CONTAINEROF(rcc->channel, InputsChannel, base); + + if (size > RECEIVE_BUF_SIZE) { + spice_printerr("error: too large incoming message"); + return NULL; + } + return inputs_channel->recv_buf; +} + +static void inputs_channel_release_msg_rcv_buf(RedChannelClient *rcc, + uint16_t type, + uint32_t size, + uint8_t *msg) +{ +} + +#define OUTGOING_OK 0 +#define OUTGOING_FAILED -1 +#define OUTGOING_BLOCKED 1 + +#define RED_MOUSE_STATE_TO_LOCAL(state) \ + ((state & SPICE_MOUSE_BUTTON_MASK_LEFT) | \ + ((state & SPICE_MOUSE_BUTTON_MASK_MIDDLE) << 1) | \ + ((state & SPICE_MOUSE_BUTTON_MASK_RIGHT) >> 1)) + +#define RED_MOUSE_BUTTON_STATE_TO_AGENT(state) \ + (((state & SPICE_MOUSE_BUTTON_MASK_LEFT) ? VD_AGENT_LBUTTON_MASK : 0) | \ + ((state & SPICE_MOUSE_BUTTON_MASK_MIDDLE) ? VD_AGENT_MBUTTON_MASK : 0) | \ + ((state & SPICE_MOUSE_BUTTON_MASK_RIGHT) ? VD_AGENT_RBUTTON_MASK : 0)) + +static void activate_modifiers_watch(void) +{ + core->timer_start(key_modifiers_timer, KEY_MODIFIERS_TTL); +} + +static void kbd_push_scan(SpiceKbdInstance *sin, uint8_t scan) +{ + SpiceKbdInterface *sif; + + if (!sin) { + return; + } + sif = SPICE_CONTAINEROF(sin->base.sif, SpiceKbdInterface, base); + sif->push_scan_freg(sin, scan); +} + +#ifdef CONFIG_MARU +static int sdbport_get_scan(SpiceSdbPortInstance *sin) +{ + SpiceSdbPortInterface *sif; + int sdb_port = -1; + if (!sin) { + return sdb_port; + } + sif = SPICE_CONTAINEROF(sin->base.sif, SpiceSdbPortInterface, base); + sif->push_scan_freg(sin, &sdb_port); + spice_printerr("sdb port: %d", sdb_port); + + return sdb_port; +} + +static void hwkey_push_scan(SpiceHwkeyInstance *sin, uint8_t type, uint8_t keycode) +{ + SpiceHwkeyInterface *sif; + if (!sin) { + return; + } + sif = SPICE_CONTAINEROF(sin->base.sif, SpiceHwkeyInterface, base); + sif->push_scan_freg(sin, type, keycode); + spice_printerr("type: %d, keycode: %d", type, keycode); +} + +static void rotation_push_scan(SpiceRotationInstance *sin, uint8_t type) +{ + SpiceRotationInterface *sif; + if (!sin) { + return; + } + sif = SPICE_CONTAINEROF(sin->base.sif, SpiceRotationInterface, base); + sif->push_scan_freg(sin, type); + spice_printerr("type: %d", type); +} + +static void hostkbd_push_scan(SpiceHostkbdInstance *sin, uint8_t type) +{ + SpiceHostkbdInterface *sif; + if (!sin) { + return; + } + sif = SPICE_CONTAINEROF(sin->base.sif, SpiceHostkbdInterface, base); + sif->push_scan_freg(sin, type); + spice_printerr("type: %d", type); +} + +static void close_push_scan(SpiceTizenCloseInstance *sin, uint8_t type) +{ + SpiceTizenCloseInterface *sif; + if (!sin) { + return; + } + sif = SPICE_CONTAINEROF(sin->base.sif, SpiceTizenCloseInterface, base); + sif->push_scan_freg(sin, type); + spice_printerr("type: %d", type); +} +#endif + +static uint8_t kbd_get_leds(SpiceKbdInstance *sin) +{ + SpiceKbdInterface *sif; + + if (!sin) { + return 0; + } + sif = SPICE_CONTAINEROF(sin->base.sif, SpiceKbdInterface, base); + return sif->get_leds(sin); +} + +static PipeItem *inputs_key_modifiers_item_new( + RedChannelClient *rcc, void *data, int num) +{ + KeyModifiersPipeItem *item = spice_malloc(sizeof(KeyModifiersPipeItem)); + + red_channel_pipe_item_init(rcc->channel, &item->base, + PIPE_ITEM_KEY_MODIFIERS); + item->modifiers = *(uint8_t *)data; + return &item->base; +} + +static void inputs_channel_send_migrate_data(RedChannelClient *rcc, + SpiceMarshaller *m, + PipeItem *item) +{ + InputsChannelClient *icc = SPICE_CONTAINEROF(rcc, InputsChannelClient, base); + + g_inputs_channel->src_during_migrate = FALSE; + red_channel_client_init_send_data(rcc, SPICE_MSG_MIGRATE_DATA, item); + + spice_marshaller_add_uint32(m, SPICE_MIGRATE_DATA_INPUTS_MAGIC); + spice_marshaller_add_uint32(m, SPICE_MIGRATE_DATA_INPUTS_VERSION); + spice_marshaller_add_uint16(m, icc->motion_count); +} + +static void inputs_channel_release_pipe_item(RedChannelClient *rcc, + PipeItem *base, int item_pushed) +{ + free(base); +} + +static void inputs_channel_send_item(RedChannelClient *rcc, PipeItem *base) +{ + SpiceMarshaller *m = red_channel_client_get_marshaller(rcc); + + switch (base->type) { + case PIPE_ITEM_KEY_MODIFIERS: + { + SpiceMsgInputsKeyModifiers key_modifiers; + + red_channel_client_init_send_data(rcc, SPICE_MSG_INPUTS_KEY_MODIFIERS, base); + key_modifiers.modifiers = + SPICE_CONTAINEROF(base, KeyModifiersPipeItem, base)->modifiers; + spice_marshall_msg_inputs_key_modifiers(m, &key_modifiers); + break; + } + case PIPE_ITEM_INPUTS_INIT: + { + SpiceMsgInputsInit inputs_init; + + red_channel_client_init_send_data(rcc, SPICE_MSG_INPUTS_INIT, base); + inputs_init.keyboard_modifiers = + SPICE_CONTAINEROF(base, InputsInitPipeItem, base)->modifiers; + spice_marshall_msg_inputs_init(m, &inputs_init); + break; + } + case PIPE_ITEM_MOUSE_MOTION_ACK: + red_channel_client_init_send_data(rcc, SPICE_MSG_INPUTS_MOUSE_MOTION_ACK, base); + break; + case PIPE_ITEM_MIGRATE_DATA: + inputs_channel_send_migrate_data(rcc, m, base); + break; + default: + spice_warning("invalid pipe iten %d", base->type); + break; + } + red_channel_client_begin_send_message(rcc); +} + +static int inputs_channel_handle_parsed(RedChannelClient *rcc, uint32_t size, uint16_t type, + void *message) +{ + InputsChannel *inputs_channel = (InputsChannel *)rcc->channel; + InputsChannelClient *icc = (InputsChannelClient *)rcc; + uint8_t *buf = (uint8_t *)message; + uint32_t i; + spice_assert(g_inputs_channel == inputs_channel); + switch (type) { +#ifdef CONFIG_MARU + case SPICE_MSGC_INPUTS_SDB_PORT: { + int sdb_port = -1; + sdb_port = sdbport_get_scan(sdbport); + /* send sdb port to client */ + rcc->sdb_port = sdb_port; + rcc->outgoing.cb = &rcc->channel->outgoing_cb; + rcc->send_data.header.data = malloc(sizeof(uint8_t)); + rcc->send_data.header.set_msg_type(&rcc->send_data.header, PIPE_ITEM_TYPE_SDB_PORT); + red_channel_client_push(rcc); + break; + } + case SPICE_MSGC_INPUTS_HWKEY_DOWN: { + uint8_t *code = (uint8_t *)buf; + hwkey_push_scan(hwkey, 1, code[0]); + break; + } + case SPICE_MSGC_INPUTS_HWKEY_UP: { + uint8_t *code = (uint8_t *)buf; + hwkey_push_scan(hwkey, 2, code[0]); + break; + } + case SPICE_MSGC_INPUTS_ROTATION_TYPE: { + uint8_t *code = (uint8_t *)buf; + rotation_push_scan(rotation, code[0]); + break; + } + case SPICE_MSGC_INPUTS_HOSTKBD_ONOFF: { + uint8_t *code = (uint8_t *)buf; + hostkbd_push_scan(hostkbd, code[0]); + break; + } + case SPICE_MSGC_INPUTS_CLOSE_TYPE: { + uint8_t *code = (uint8_t *)buf; + close_push_scan(close, code[0]); + break; + } +#endif + case SPICE_MSGC_INPUTS_KEY_DOWN: { + SpiceMsgcKeyDown *key_up = (SpiceMsgcKeyDown *)buf; + if (key_up->code == CAPS_LOCK_SCAN_CODE || key_up->code == NUM_LOCK_SCAN_CODE || + key_up->code == SCROLL_LOCK_SCAN_CODE) { + activate_modifiers_watch(); + } + } + case SPICE_MSGC_INPUTS_KEY_UP: { + SpiceMsgcKeyDown *key_down = (SpiceMsgcKeyDown *)buf; + for (i = 0; i < 4; i++) { + uint8_t code = (key_down->code >> (i * 8)) & 0xff; + if (code == 0) { + break; + } + kbd_push_scan(keyboard, code); + } + break; + } + case SPICE_MSGC_INPUTS_KEY_SCANCODE: { + uint8_t *code = (uint8_t *)buf; + for (i = 0; i < size; i++) { + kbd_push_scan(keyboard, code[i]); + } + break; + } + case SPICE_MSGC_INPUTS_MOUSE_MOTION: { + SpiceMsgcMouseMotion *mouse_motion = (SpiceMsgcMouseMotion *)buf; + + if (++icc->motion_count % SPICE_INPUT_MOTION_ACK_BUNCH == 0 && + !g_inputs_channel->src_during_migrate) { + red_channel_client_pipe_add_type(rcc, PIPE_ITEM_MOUSE_MOTION_ACK); + icc->motion_count = 0; + } + if (mouse && reds_get_mouse_mode() == SPICE_MOUSE_MODE_SERVER) { + SpiceMouseInterface *sif; + sif = SPICE_CONTAINEROF(mouse->base.sif, SpiceMouseInterface, base); + sif->motion(mouse, + mouse_motion->dx, mouse_motion->dy, 0, + RED_MOUSE_STATE_TO_LOCAL(mouse_motion->buttons_state)); + } + break; + } + case SPICE_MSGC_INPUTS_MOUSE_POSITION: { + SpiceMsgcMousePosition *pos = (SpiceMsgcMousePosition *)buf; + + if (++icc->motion_count % SPICE_INPUT_MOTION_ACK_BUNCH == 0 && + !g_inputs_channel->src_during_migrate) { + red_channel_client_pipe_add_type(rcc, PIPE_ITEM_MOUSE_MOTION_ACK); + icc->motion_count = 0; + } + if (reds_get_mouse_mode() != SPICE_MOUSE_MODE_CLIENT) { + break; + } + spice_assert((reds_get_agent_mouse() && reds_has_vdagent()) || tablet); + if (!reds_get_agent_mouse() || !reds_has_vdagent()) { + SpiceTabletInterface *sif; + sif = SPICE_CONTAINEROF(tablet->base.sif, SpiceTabletInterface, base); + sif->position(tablet, pos->x, pos->y, RED_MOUSE_STATE_TO_LOCAL(pos->buttons_state)); + break; + } + VDAgentMouseState *mouse_state = &inputs_channel->mouse_state; + mouse_state->x = pos->x; + mouse_state->y = pos->y; + mouse_state->buttons = RED_MOUSE_BUTTON_STATE_TO_AGENT(pos->buttons_state); + mouse_state->display_id = pos->display_id; + reds_handle_agent_mouse_event(mouse_state); + break; + } + case SPICE_MSGC_INPUTS_MOUSE_PRESS: { + SpiceMsgcMousePress *mouse_press = (SpiceMsgcMousePress *)buf; + int dz = 0; + if (mouse_press->button == SPICE_MOUSE_BUTTON_UP) { + dz = -1; + } else if (mouse_press->button == SPICE_MOUSE_BUTTON_DOWN) { + dz = 1; + } + if (reds_get_mouse_mode() == SPICE_MOUSE_MODE_CLIENT) { + if (reds_get_agent_mouse() && reds_has_vdagent()) { + inputs_channel->mouse_state.buttons = + RED_MOUSE_BUTTON_STATE_TO_AGENT(mouse_press->buttons_state) | + (dz == -1 ? VD_AGENT_UBUTTON_MASK : 0) | + (dz == 1 ? VD_AGENT_DBUTTON_MASK : 0); + reds_handle_agent_mouse_event(&inputs_channel->mouse_state); + } else if (tablet) { + SpiceTabletInterface *sif; + sif = SPICE_CONTAINEROF(tablet->base.sif, SpiceTabletInterface, base); + sif->wheel(tablet, dz, RED_MOUSE_STATE_TO_LOCAL(mouse_press->buttons_state)); + } + } else if (mouse) { + SpiceMouseInterface *sif; + sif = SPICE_CONTAINEROF(mouse->base.sif, SpiceMouseInterface, base); + sif->motion(mouse, 0, 0, dz, + RED_MOUSE_STATE_TO_LOCAL(mouse_press->buttons_state)); + } + break; + } + case SPICE_MSGC_INPUTS_MOUSE_RELEASE: { + SpiceMsgcMouseRelease *mouse_release = (SpiceMsgcMouseRelease *)buf; + if (reds_get_mouse_mode() == SPICE_MOUSE_MODE_CLIENT) { + if (reds_get_agent_mouse() && reds_has_vdagent()) { + inputs_channel->mouse_state.buttons = + RED_MOUSE_BUTTON_STATE_TO_AGENT(mouse_release->buttons_state); + reds_handle_agent_mouse_event(&inputs_channel->mouse_state); + } else if (tablet) { + SpiceTabletInterface *sif; + sif = SPICE_CONTAINEROF(tablet->base.sif, SpiceTabletInterface, base); + sif->buttons(tablet, RED_MOUSE_STATE_TO_LOCAL(mouse_release->buttons_state)); + } + } else if (mouse) { + SpiceMouseInterface *sif; + sif = SPICE_CONTAINEROF(mouse->base.sif, SpiceMouseInterface, base); + sif->buttons(mouse, + RED_MOUSE_STATE_TO_LOCAL(mouse_release->buttons_state)); + } + break; + } + case SPICE_MSGC_INPUTS_KEY_MODIFIERS: { + SpiceMsgcKeyModifiers *modifiers = (SpiceMsgcKeyModifiers *)buf; + uint8_t leds; + + if (!keyboard) { + break; + } + leds = kbd_get_leds(keyboard); + if ((modifiers->modifiers & SPICE_KEYBOARD_MODIFIER_FLAGS_SCROLL_LOCK) != + (leds & SPICE_KEYBOARD_MODIFIER_FLAGS_SCROLL_LOCK)) { + kbd_push_scan(keyboard, SCROLL_LOCK_SCAN_CODE); + kbd_push_scan(keyboard, SCROLL_LOCK_SCAN_CODE | 0x80); + } + if ((modifiers->modifiers & SPICE_KEYBOARD_MODIFIER_FLAGS_NUM_LOCK) != + (leds & SPICE_KEYBOARD_MODIFIER_FLAGS_NUM_LOCK)) { + kbd_push_scan(keyboard, NUM_LOCK_SCAN_CODE); + kbd_push_scan(keyboard, NUM_LOCK_SCAN_CODE | 0x80); + } + if ((modifiers->modifiers & SPICE_KEYBOARD_MODIFIER_FLAGS_CAPS_LOCK) != + (leds & SPICE_KEYBOARD_MODIFIER_FLAGS_CAPS_LOCK)) { + kbd_push_scan(keyboard, CAPS_LOCK_SCAN_CODE); + kbd_push_scan(keyboard, CAPS_LOCK_SCAN_CODE | 0x80); + } + activate_modifiers_watch(); + break; + } + case SPICE_MSGC_DISCONNECTING: + break; + default: + return red_channel_client_handle_message(rcc, size, type, message); + } + return TRUE; +} + +static void inputs_relase_keys(void) +{ + kbd_push_scan(keyboard, 0x2a | 0x80); //LSHIFT + kbd_push_scan(keyboard, 0x36 | 0x80); //RSHIFT + kbd_push_scan(keyboard, 0xe0); kbd_push_scan(keyboard, 0x1d | 0x80); //RCTRL + kbd_push_scan(keyboard, 0x1d | 0x80); //LCTRL + kbd_push_scan(keyboard, 0xe0); kbd_push_scan(keyboard, 0x38 | 0x80); //RALT + kbd_push_scan(keyboard, 0x38 | 0x80); //LALT +} + +static void inputs_channel_on_disconnect(RedChannelClient *rcc) +{ + if (!rcc) { + return; + } + inputs_relase_keys(); +} + +static void inputs_pipe_add_init(RedChannelClient *rcc) +{ + InputsInitPipeItem *item = spice_malloc(sizeof(InputsInitPipeItem)); + + red_channel_pipe_item_init(rcc->channel, &item->base, + PIPE_ITEM_INPUTS_INIT); + item->modifiers = kbd_get_leds(keyboard); + red_channel_client_pipe_add_push(rcc, &item->base); +} + +static int inputs_channel_config_socket(RedChannelClient *rcc) +{ + int delay_val = 1; + RedsStream *stream = red_channel_client_get_stream(rcc); + + if (setsockopt(stream->socket, IPPROTO_TCP, TCP_NODELAY, + &delay_val, sizeof(delay_val)) == -1) { + if (errno != ENOTSUP && errno != ENOPROTOOPT) { + spice_printerr("setsockopt failed, %s", strerror(errno)); + return FALSE; + } + } + + return TRUE; +} + +static void inputs_channel_hold_pipe_item(RedChannelClient *rcc, PipeItem *item) +{ +} + +static void inputs_connect(RedChannel *channel, RedClient *client, + RedsStream *stream, int migration, + int num_common_caps, uint32_t *common_caps, + int num_caps, uint32_t *caps) +{ + InputsChannelClient *icc; + + spice_assert(g_inputs_channel); + spice_assert(channel == &g_inputs_channel->base); + + spice_printerr("inputs channel client create"); + icc = (InputsChannelClient*)red_channel_client_create(sizeof(InputsChannelClient), + channel, + client, + stream, + num_common_caps, common_caps, + num_caps, caps); + if (!icc) { + return; + } + icc->motion_count = 0; + inputs_pipe_add_init(&icc->base); +} + +static void inputs_migrate(RedChannelClient *rcc) +{ + g_inputs_channel->src_during_migrate = TRUE; + red_channel_client_default_migrate(rcc); +} + +static void inputs_push_keyboard_modifiers(uint8_t modifiers) +{ + if (!g_inputs_channel || !red_channel_is_connected(&g_inputs_channel->base) || + g_inputs_channel->src_during_migrate) { + return; + } + red_channel_pipes_new_add_push(&g_inputs_channel->base, + inputs_key_modifiers_item_new, (void*)&modifiers); +} + +void inputs_on_keyboard_leds_change(void *opaque, uint8_t leds) +{ + inputs_push_keyboard_modifiers(leds); +} + +static void key_modifiers_sender(void *opaque) +{ + inputs_push_keyboard_modifiers(kbd_get_leds(keyboard)); +} + +static int inputs_channel_handle_migrate_flush_mark(RedChannelClient *rcc) +{ + red_channel_client_pipe_add_type(rcc, PIPE_ITEM_MIGRATE_DATA); + return TRUE; +} + +static int inputs_channel_handle_migrate_data(RedChannelClient *rcc, + uint32_t size, + void *message) +{ + InputsChannelClient *icc = SPICE_CONTAINEROF(rcc, InputsChannelClient, base); + SpiceMigrateDataHeader *header; + SpiceMigrateDataInputs *mig_data; + + header = (SpiceMigrateDataHeader *)message; + mig_data = (SpiceMigrateDataInputs *)(header + 1); + + if (!migration_protocol_validate_header(header, + SPICE_MIGRATE_DATA_INPUTS_MAGIC, + SPICE_MIGRATE_DATA_INPUTS_VERSION)) { + spice_error("bad header"); + return FALSE; + } + key_modifiers_sender(NULL); + icc->motion_count = mig_data->motion_count; + + for (; icc->motion_count >= SPICE_INPUT_MOTION_ACK_BUNCH; + icc->motion_count -= SPICE_INPUT_MOTION_ACK_BUNCH) { + red_channel_client_pipe_add_type(rcc, PIPE_ITEM_MOUSE_MOTION_ACK); + } + return TRUE; +} + +void inputs_init(void) +{ + ChannelCbs channel_cbs = { NULL, }; + ClientCbs client_cbs = { NULL, }; + + spice_assert(!g_inputs_channel); + + channel_cbs.config_socket = inputs_channel_config_socket; + channel_cbs.on_disconnect = inputs_channel_on_disconnect; + channel_cbs.send_item = inputs_channel_send_item; + channel_cbs.hold_item = inputs_channel_hold_pipe_item; + channel_cbs.release_item = inputs_channel_release_pipe_item; + channel_cbs.alloc_recv_buf = inputs_channel_alloc_msg_rcv_buf; + channel_cbs.release_recv_buf = inputs_channel_release_msg_rcv_buf; + channel_cbs.handle_migrate_data = inputs_channel_handle_migrate_data; + channel_cbs.handle_migrate_flush_mark = inputs_channel_handle_migrate_flush_mark; + + g_inputs_channel = (InputsChannel *)red_channel_create_parser( + sizeof(InputsChannel), + core, + SPICE_CHANNEL_INPUTS, 0, + FALSE, /* handle_acks */ + spice_get_client_channel_parser(SPICE_CHANNEL_INPUTS, NULL), + inputs_channel_handle_parsed, + &channel_cbs, + SPICE_MIGRATE_NEED_FLUSH | SPICE_MIGRATE_NEED_DATA_TRANSFER); + + if (!g_inputs_channel) { + spice_error("failed to allocate Inputs Channel"); + } + + client_cbs.connect = inputs_connect; + client_cbs.migrate = inputs_migrate; + red_channel_register_client_cbs(&g_inputs_channel->base, &client_cbs); + + red_channel_set_cap(&g_inputs_channel->base, SPICE_INPUTS_CAP_KEY_SCANCODE); + reds_register_channel(&g_inputs_channel->base); + + if (!(key_modifiers_timer = core->timer_add(key_modifiers_sender, NULL))) { + spice_error("key modifiers timer create failed"); + } +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/inputs_channel.h b/tizen/distrib/remote/server/spice-0.12.2/server/inputs_channel.h new file mode 100644 index 0000000..e491908 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/inputs_channel.h @@ -0,0 +1,45 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _INPUTS_CHANNEL_H_ +#define _INPUTS_CHANNEL_H_ + +// Inputs channel, dealing with keyboard, mouse, tablet. +// This include should only be used by reds.c and inputs_channel.c + +#include <stdint.h> +#include <spice/vd_agent.h> + +void inputs_init(void); +int inputs_inited(void); +int inputs_has_tablet(void); +const VDAgentMouseState *inputs_get_mouse_state(void); +void inputs_on_keyboard_leds_change(void *opaque, uint8_t leds); +int inputs_set_keyboard(SpiceKbdInstance *_keyboard); +#ifdef CONFIG_MARU +int inputs_get_sdbport(SpiceSdbPortInstance *_sdbport); +int inputs_set_hwkey(SpiceHwkeyInstance *_hwkey); +int inputs_set_rotation(SpiceRotationInstance *_rotation); +int inputs_set_hostkbd(SpiceHostkbdInstance *_hostkbd); +int inputs_set_tizen_close(SpiceTizenCloseInstance *_close); +#endif +int inputs_set_mouse(SpiceMouseInstance *_mouse); +int inputs_set_tablet(SpiceTabletInstance *_tablet); +void inputs_detach_tablet(SpiceTabletInstance *_tablet); +void inputs_set_tablet_logical_size(int x_res, int y_res); + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/jpeg_encoder.c b/tizen/distrib/remote/server/spice-0.12.2/server/jpeg_encoder.c new file mode 100644 index 0000000..01732ff --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/jpeg_encoder.c @@ -0,0 +1,248 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "red_common.h" +#include "jpeg_encoder.h" +#include <jpeglib.h> + +typedef struct JpegEncoder { + JpegEncoderUsrContext *usr; + + struct jpeg_destination_mgr dest_mgr; + struct jpeg_compress_struct cinfo; + struct jpeg_error_mgr jerr; + + struct { + JpegEncoderImageType type; + int width; + int height; + int stride; + unsigned int out_size; + void (*convert_line_to_RGB24) (uint8_t *line, int width, uint8_t **out_line); + } cur_image; +} JpegEncoder; + +/* jpeg destination manager callbacks */ + +static void dest_mgr_init_destination(j_compress_ptr cinfo) +{ + JpegEncoder *enc = (JpegEncoder *)cinfo->client_data; + if (enc->dest_mgr.free_in_buffer == 0) { + enc->dest_mgr.free_in_buffer = enc->usr->more_space(enc->usr, + &enc->dest_mgr.next_output_byte); + + if (enc->dest_mgr.free_in_buffer == 0) { + spice_error("not enough space"); + } + } + + enc->cur_image.out_size = enc->dest_mgr.free_in_buffer; +} + +static boolean dest_mgr_empty_output_buffer(j_compress_ptr cinfo) +{ + JpegEncoder *enc = (JpegEncoder *)cinfo->client_data; + enc->dest_mgr.free_in_buffer = enc->usr->more_space(enc->usr, + &enc->dest_mgr.next_output_byte); + + if (enc->dest_mgr.free_in_buffer == 0) { + spice_error("not enough space"); + } + enc->cur_image.out_size += enc->dest_mgr.free_in_buffer; + return TRUE; +} + +static void dest_mgr_term_destination(j_compress_ptr cinfo) +{ + JpegEncoder *enc = (JpegEncoder *)cinfo->client_data; + enc->cur_image.out_size -= enc->dest_mgr.free_in_buffer; +} + +JpegEncoderContext* jpeg_encoder_create(JpegEncoderUsrContext *usr) +{ + JpegEncoder *enc; + if (!usr->more_space || !usr->more_lines) { + return NULL; + } + + enc = spice_new0(JpegEncoder, 1); + + enc->usr = usr; + + enc->dest_mgr.init_destination = dest_mgr_init_destination; + enc->dest_mgr.empty_output_buffer = dest_mgr_empty_output_buffer; + enc->dest_mgr.term_destination = dest_mgr_term_destination; + + enc->cinfo.err = jpeg_std_error(&enc->jerr); + + jpeg_create_compress(&enc->cinfo); + enc->cinfo.client_data = enc; + enc->cinfo.dest = &enc->dest_mgr; + return (JpegEncoderContext*)enc; +} + +void jpeg_encoder_destroy(JpegEncoderContext* encoder) +{ + jpeg_destroy_compress(&((JpegEncoder*)encoder)->cinfo); + free(encoder); +} + +static void convert_RGB16_to_RGB24(uint8_t *line, int width, uint8_t **out_line) +{ + uint16_t *src_line = (uint16_t *)line; + uint8_t *out_pix; + int x; + + spice_assert(out_line && *out_line); + + out_pix = *out_line; + + for (x = 0; x < width; x++) { + uint16_t pixel = *src_line++; + *out_pix++ = ((pixel >> 7) & 0xf8) | ((pixel >> 12) & 0x7); + *out_pix++ = ((pixel >> 2) & 0xf8) | ((pixel >> 7) & 0x7); + *out_pix++ = ((pixel << 3) & 0xf8) | ((pixel >> 2) & 0x7); + } +} + +static void convert_BGR24_to_RGB24(uint8_t *line, int width, uint8_t **out_line) +{ + int x; + uint8_t *out_pix; + + spice_assert(out_line && *out_line); + + out_pix = *out_line; + + for (x = 0; x < width; x++) { + *out_pix++ = line[2]; + *out_pix++ = line[1]; + *out_pix++ = line[0]; + line += 3; + } +} + +static void convert_BGRX32_to_RGB24(uint8_t *line, int width, uint8_t **out_line) +{ + uint32_t *src_line = (uint32_t *)line; + uint8_t *out_pix; + int x; + + spice_assert(out_line && *out_line); + + out_pix = *out_line; + + for (x = 0; x < width; x++) { + uint32_t pixel = *src_line++; + *out_pix++ = (pixel >> 16) & 0xff; + *out_pix++ = (pixel >> 8) & 0xff; + *out_pix++ = pixel & 0xff; + } +} + +static void convert_RGB24_to_RGB24(uint8_t *line, int width, uint8_t **out_line) +{ + *out_line = line; +} + + +#define FILL_LINES() { \ + if (lines == lines_end) { \ + int n = jpeg->usr->more_lines(jpeg->usr, &lines); \ + if (n <= 0) { \ + spice_error("more lines failed"); \ + } \ + lines_end = lines + n * stride; \ + } \ +} + +static void do_jpeg_encode(JpegEncoder *jpeg, uint8_t *lines, unsigned int num_lines) +{ + uint8_t *lines_end; + uint8_t *RGB24_line; + int stride, width; + JSAMPROW row_pointer[1]; + width = jpeg->cur_image.width; + stride = jpeg->cur_image.stride; + + if (jpeg->cur_image.type != JPEG_IMAGE_TYPE_RGB24) { + RGB24_line = (uint8_t *)spice_malloc(width*3); + } + + lines_end = lines + (stride * num_lines); + + for (;jpeg->cinfo.next_scanline < jpeg->cinfo.image_height; lines += stride) { + FILL_LINES(); + jpeg->cur_image.convert_line_to_RGB24(lines, width, &RGB24_line); + row_pointer[0] = RGB24_line; + jpeg_write_scanlines(&jpeg->cinfo, row_pointer, 1); + } + + if (jpeg->cur_image.type != JPEG_IMAGE_TYPE_RGB24) { + free(RGB24_line); + } +} + +int jpeg_encode(JpegEncoderContext *jpeg, int quality, JpegEncoderImageType type, + int width, int height, uint8_t *lines, unsigned int num_lines, int stride, + uint8_t *io_ptr, unsigned int num_io_bytes) +{ + JpegEncoder *enc = (JpegEncoder *)jpeg; + + enc->cur_image.type = type; + enc->cur_image.width = width; + enc->cur_image.height = height; + enc->cur_image.stride = stride; + enc->cur_image.out_size = 0; + + switch (type) { + case JPEG_IMAGE_TYPE_RGB16: + enc->cur_image.convert_line_to_RGB24 = convert_RGB16_to_RGB24; + break; + case JPEG_IMAGE_TYPE_RGB24: + enc->cur_image.convert_line_to_RGB24 = convert_RGB24_to_RGB24; + break; + case JPEG_IMAGE_TYPE_BGR24: + enc->cur_image.convert_line_to_RGB24 = convert_BGR24_to_RGB24; + break; + case JPEG_IMAGE_TYPE_BGRX32: + enc->cur_image.convert_line_to_RGB24 = convert_BGRX32_to_RGB24; + break; + default: + spice_error("bad image type"); + } + + enc->cinfo.image_width = width; + enc->cinfo.image_height = height; + enc->cinfo.input_components = 3; + enc->cinfo.in_color_space = JCS_RGB; + jpeg_set_defaults(&enc->cinfo); + jpeg_set_quality(&enc->cinfo, quality, TRUE); + + enc->dest_mgr.next_output_byte = io_ptr; + enc->dest_mgr.free_in_buffer = num_io_bytes; + + jpeg_start_compress(&enc->cinfo, TRUE); + + do_jpeg_encode(enc, lines, num_lines); + + jpeg_finish_compress(&enc->cinfo); + return enc->cur_image.out_size; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/jpeg_encoder.h b/tizen/distrib/remote/server/spice-0.12.2/server/jpeg_encoder.h new file mode 100644 index 0000000..690a029 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/jpeg_encoder.h @@ -0,0 +1,61 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ +#ifndef _H_JPEG_ENCODER +#define _H_JPEG_ENCODER + +#include <spice/types.h> + +typedef enum { + JPEG_IMAGE_TYPE_INVALID, + JPEG_IMAGE_TYPE_RGB16, + /* in byte per color types, the notation is according to the order of the + colors in the memory */ + JPEG_IMAGE_TYPE_RGB24, + JPEG_IMAGE_TYPE_BGR24, + JPEG_IMAGE_TYPE_BGRX32, +} JpegEncoderImageType; + +typedef void* JpegEncoderContext; +typedef struct JpegEncoderUsrContext JpegEncoderUsrContext; + +struct JpegEncoderUsrContext { + int (*more_space)(JpegEncoderUsrContext *usr, uint8_t **io_ptr); + int (*more_lines)(JpegEncoderUsrContext *usr, uint8_t **lines); +}; + +JpegEncoderContext* jpeg_encoder_create(JpegEncoderUsrContext *usr); +void jpeg_encoder_destroy(JpegEncoderContext *encoder); + +/* returns the total size of the encoded data. Images must be supplied from the + top line to the bottom */ +int jpeg_encode(JpegEncoderContext *jpeg, int quality, JpegEncoderImageType type, + int width, int height, uint8_t *lines, unsigned int num_lines, int stride, + uint8_t *io_ptr, unsigned int num_io_bytes); +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/main_channel.c b/tizen/distrib/remote/server/spice-0.12.2/server/main_channel.c new file mode 100644 index 0000000..0fd5ab6 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/main_channel.c @@ -0,0 +1,1337 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <inttypes.h> +#include <stdint.h> +#include <stdio.h> +#include <unistd.h> +#include <sys/socket.h> +#include <netinet/in.h> +#include <netinet/tcp.h> +#include <arpa/inet.h> +#include <netdb.h> +#include <limits.h> +#include <time.h> +#include <pthread.h> +#include <sys/mman.h> +#include <fcntl.h> +#include <errno.h> +#include <ctype.h> + +#include "common/generated_server_marshallers.h" +#include "common/messages.h" +#include "common/ring.h" + +#include "demarshallers.h" +#include "main_channel.h" +#include "red_channel.h" +#include "red_common.h" +#include "reds.h" +#include "migration_protocol.h" + +#define ZERO_BUF_SIZE 4096 + +#define NET_TEST_WARMUP_BYTES 0 +#define NET_TEST_BYTES (1024 * 250) + +#define PING_INTERVAL (1000 * 10) + +static uint8_t zero_page[ZERO_BUF_SIZE] = {0}; + +enum { + PIPE_ITEM_TYPE_MAIN_CHANNELS_LIST = PIPE_ITEM_TYPE_CHANNEL_BASE, + PIPE_ITEM_TYPE_MAIN_PING, + PIPE_ITEM_TYPE_MAIN_MOUSE_MODE, + PIPE_ITEM_TYPE_MAIN_AGENT_DISCONNECTED, + PIPE_ITEM_TYPE_MAIN_AGENT_TOKEN, + PIPE_ITEM_TYPE_MAIN_AGENT_DATA, + PIPE_ITEM_TYPE_MAIN_MIGRATE_DATA, + PIPE_ITEM_TYPE_MAIN_INIT, + PIPE_ITEM_TYPE_MAIN_NOTIFY, + PIPE_ITEM_TYPE_MAIN_MIGRATE_BEGIN, + PIPE_ITEM_TYPE_MAIN_MIGRATE_BEGIN_SEAMLESS, + PIPE_ITEM_TYPE_MAIN_MIGRATE_SWITCH_HOST, + PIPE_ITEM_TYPE_MAIN_MULTI_MEDIA_TIME, + PIPE_ITEM_TYPE_MAIN_NAME, + PIPE_ITEM_TYPE_MAIN_UUID, + PIPE_ITEM_TYPE_MAIN_AGENT_CONNECTED_TOKENS, +}; + +typedef struct RedsOutItem RedsOutItem; +struct RedsOutItem { + PipeItem base; +}; + +typedef struct RefsPipeItem { + PipeItem base; + int *refs; +} RefsPipeItem; + +typedef struct PingPipeItem { + PipeItem base; + int size; +} PingPipeItem; + +typedef struct MouseModePipeItem { + PipeItem base; + int current_mode; + int is_client_mouse_allowed; +} MouseModePipeItem; + +typedef struct TokensPipeItem { + PipeItem base; + int tokens; +} TokensPipeItem; + +typedef struct AgentDataPipeItem { + PipeItem base; + uint8_t* data; + size_t len; + spice_marshaller_item_free_func free_data; + void *opaque; +} AgentDataPipeItem; + +typedef struct InitPipeItem { + PipeItem base; + int connection_id; + int display_channels_hint; + int current_mouse_mode; + int is_client_mouse_allowed; + int multi_media_time; + int ram_hint; +} InitPipeItem; + +typedef struct NamePipeItem { + PipeItem base; + SpiceMsgMainName msg; +} NamePipeItem; + +typedef struct UuidPipeItem { + PipeItem base; + SpiceMsgMainUuid msg; +} UuidPipeItem; + +typedef struct NotifyPipeItem { + PipeItem base; + uint8_t *mess; + int mess_len; +} NotifyPipeItem; + +typedef struct MultiMediaTimePipeItem { + PipeItem base; + int time; +} MultiMediaTimePipeItem; + +struct MainChannelClient { + RedChannelClient base; + uint32_t connection_id; + uint32_t ping_id; + uint32_t net_test_id; + int net_test_stage; + uint64_t latency; + uint64_t bitrate_per_sec; +#ifdef RED_STATISTICS + SpiceTimer *ping_timer; + int ping_interval; +#endif + int mig_wait_connect; + int mig_connect_ok; + int mig_wait_prev_complete; + int mig_wait_prev_try_seamless; + int init_sent; + int seamless_mig_dst; +}; + +enum NetTestStage { + NET_TEST_STAGE_INVALID, + NET_TEST_STAGE_WARMUP, + NET_TEST_STAGE_LATENCY, + NET_TEST_STAGE_RATE, +}; + +static void main_channel_release_pipe_item(RedChannelClient *rcc, + PipeItem *base, int item_pushed); + +int main_channel_is_connected(MainChannel *main_chan) +{ + return red_channel_is_connected(&main_chan->base); +} + +// when disconnection occurs, let reds shutdown all channels. This will trigger the +// real disconnection of main channel +static void main_channel_client_on_disconnect(RedChannelClient *rcc) +{ + spice_printerr("rcc=%p", rcc); + reds_client_disconnect(rcc->client); +// red_channel_client_disconnect(rcc); +} + +RedClient *main_channel_get_client_by_link_id(MainChannel *main_chan, uint32_t connection_id) +{ + RingItem *link; + MainChannelClient *mcc; + + RING_FOREACH(link, &main_chan->base.clients) { + mcc = SPICE_CONTAINEROF(link, MainChannelClient, base.channel_link); + if (mcc->connection_id == connection_id) { + return mcc->base.client; + } + } + return NULL; +} + +static int main_channel_client_push_ping(MainChannelClient *mcc, int size); + +void main_channel_client_start_net_test(MainChannelClient *mcc) +{ + if (!mcc || mcc->net_test_id) { + return; + } + if (main_channel_client_push_ping(mcc, NET_TEST_WARMUP_BYTES) + && main_channel_client_push_ping(mcc, 0) + && main_channel_client_push_ping(mcc, NET_TEST_BYTES)) { + mcc->net_test_id = mcc->ping_id - 2; + mcc->net_test_stage = NET_TEST_STAGE_WARMUP; + } +} + +typedef struct MainMouseModeItemInfo { + int current_mode; + int is_client_mouse_allowed; +} MainMouseModeItemInfo; + +static PipeItem *main_mouse_mode_item_new(RedChannelClient *rcc, void *data, int num) +{ + MouseModePipeItem *item = spice_malloc(sizeof(MouseModePipeItem)); + MainMouseModeItemInfo *info = data; + + red_channel_pipe_item_init(rcc->channel, &item->base, + PIPE_ITEM_TYPE_MAIN_MOUSE_MODE); + item->current_mode = info->current_mode; + item->is_client_mouse_allowed = info->is_client_mouse_allowed; + return &item->base; +} + +static PipeItem *main_ping_item_new(MainChannelClient *mcc, int size) +{ + PingPipeItem *item = spice_malloc(sizeof(PingPipeItem)); + + red_channel_pipe_item_init(mcc->base.channel, &item->base, PIPE_ITEM_TYPE_MAIN_PING); + item->size = size; + return &item->base; +} + +static PipeItem *main_agent_tokens_item_new(RedChannelClient *rcc, uint32_t num_tokens) +{ + TokensPipeItem *item = spice_malloc(sizeof(TokensPipeItem)); + + red_channel_pipe_item_init(rcc->channel, &item->base, + PIPE_ITEM_TYPE_MAIN_AGENT_TOKEN); + item->tokens = num_tokens; + return &item->base; +} + +static PipeItem *main_agent_data_item_new(RedChannelClient *rcc, uint8_t* data, size_t len, + spice_marshaller_item_free_func free_data, + void *opaque) +{ + AgentDataPipeItem *item = spice_malloc(sizeof(AgentDataPipeItem)); + + red_channel_pipe_item_init(rcc->channel, &item->base, + PIPE_ITEM_TYPE_MAIN_AGENT_DATA); + item->data = data; + item->len = len; + item->free_data = free_data; + item->opaque = opaque; + return &item->base; +} + +static PipeItem *main_init_item_new(MainChannelClient *mcc, + int connection_id, int display_channels_hint, int current_mouse_mode, + int is_client_mouse_allowed, int multi_media_time, + int ram_hint) +{ + InitPipeItem *item = spice_malloc(sizeof(InitPipeItem)); + + red_channel_pipe_item_init(mcc->base.channel, &item->base, + PIPE_ITEM_TYPE_MAIN_INIT); + item->connection_id = connection_id; + item->display_channels_hint = display_channels_hint; + item->current_mouse_mode = current_mouse_mode; + item->is_client_mouse_allowed = is_client_mouse_allowed; + item->multi_media_time = multi_media_time; + item->ram_hint = ram_hint; + return &item->base; +} + +static PipeItem *main_name_item_new(MainChannelClient *mcc, const char *name) +{ + NamePipeItem *item = spice_malloc(sizeof(NamePipeItem) + strlen(name) + 1); + + red_channel_pipe_item_init(mcc->base.channel, &item->base, + PIPE_ITEM_TYPE_MAIN_NAME); + item->msg.name_len = strlen(name) + 1; + memcpy(&item->msg.name, name, item->msg.name_len); + + return &item->base; +} + +static PipeItem *main_uuid_item_new(MainChannelClient *mcc, const uint8_t uuid[16]) +{ + UuidPipeItem *item = spice_malloc(sizeof(UuidPipeItem)); + + red_channel_pipe_item_init(mcc->base.channel, &item->base, + PIPE_ITEM_TYPE_MAIN_UUID); + memcpy(item->msg.uuid, uuid, sizeof(item->msg.uuid)); + + return &item->base; +} + +typedef struct NotifyPipeInfo { + uint8_t *mess; + int mess_len; +} NotifyPipeInfo; + +static PipeItem *main_notify_item_new(RedChannelClient *rcc, void *data, int num) +{ + NotifyPipeItem *item = spice_malloc(sizeof(NotifyPipeItem)); + NotifyPipeInfo *info = data; + + red_channel_pipe_item_init(rcc->channel, &item->base, + PIPE_ITEM_TYPE_MAIN_NOTIFY); + item->mess = info->mess; + item->mess_len = info->mess_len; + return &item->base; +} + +static PipeItem *main_multi_media_time_item_new( + RedChannelClient *rcc, void *data, int num) +{ + MultiMediaTimePipeItem *item, *info = data; + + item = spice_malloc(sizeof(MultiMediaTimePipeItem)); + red_channel_pipe_item_init(rcc->channel, &item->base, + PIPE_ITEM_TYPE_MAIN_MULTI_MEDIA_TIME); + item->time = info->time; + return &item->base; +} + +static void main_channel_push_channels(MainChannelClient *mcc) +{ + if (red_client_during_migrate_at_target(mcc->base.client)) { + spice_printerr("warning: ignoring unexpected SPICE_MSGC_MAIN_ATTACH_CHANNELS" + "during migration"); + return; + } + red_channel_client_pipe_add_type(&mcc->base, PIPE_ITEM_TYPE_MAIN_CHANNELS_LIST); +} + +static void main_channel_marshall_channels(RedChannelClient *rcc, + SpiceMarshaller *m, + PipeItem *item) +{ + SpiceMsgChannels* channels_info; + + red_channel_client_init_send_data(rcc, SPICE_MSG_MAIN_CHANNELS_LIST, item); + channels_info = (SpiceMsgChannels *)spice_malloc(sizeof(SpiceMsgChannels) + + reds_num_of_channels() * sizeof(SpiceChannelId)); + reds_fill_channels(channels_info); + spice_marshall_msg_main_channels_list(m, channels_info); + free(channels_info); +} + +int main_channel_client_push_ping(MainChannelClient *mcc, int size) +{ + PipeItem *item; + + if (mcc == NULL) { + return FALSE; + } + item = main_ping_item_new(mcc, size); + red_channel_client_pipe_add_push(&mcc->base, item); + return TRUE; +} + +static void main_channel_marshall_ping(RedChannelClient *rcc, + SpiceMarshaller *m, + PingPipeItem *item) +{ + MainChannelClient *mcc = SPICE_CONTAINEROF(rcc, MainChannelClient, base); + struct timespec time_space; + SpiceMsgPing ping; + int size_left = item->size; + + red_channel_client_init_send_data(rcc, SPICE_MSG_PING, &item->base); + ping.id = ++(mcc->ping_id); + clock_gettime(CLOCK_MONOTONIC, &time_space); + ping.timestamp = time_space.tv_sec * 1000000LL + time_space.tv_nsec / 1000LL; + spice_marshall_msg_ping(m, &ping); + + while (size_left > 0) { + int now = MIN(ZERO_BUF_SIZE, size_left); + size_left -= now; + spice_marshaller_add_ref(m, zero_page, now); + } +} + +void main_channel_push_mouse_mode(MainChannel *main_chan, int current_mode, + int is_client_mouse_allowed) +{ + MainMouseModeItemInfo info = { + .current_mode=current_mode, + .is_client_mouse_allowed=is_client_mouse_allowed, + }; + + red_channel_pipes_new_add_push(&main_chan->base, + main_mouse_mode_item_new, &info); +} + +static void main_channel_marshall_mouse_mode(RedChannelClient *rcc, + SpiceMarshaller *m, + MouseModePipeItem *item) +{ + SpiceMsgMainMouseMode mouse_mode; + + red_channel_client_init_send_data(rcc, SPICE_MSG_MAIN_MOUSE_MODE, &item->base); + mouse_mode.supported_modes = SPICE_MOUSE_MODE_SERVER; + if (item->is_client_mouse_allowed) { + mouse_mode.supported_modes |= SPICE_MOUSE_MODE_CLIENT; + } + mouse_mode.current_mode = item->current_mode; + spice_marshall_msg_main_mouse_mode(m, &mouse_mode); +} + +void main_channel_push_agent_connected(MainChannel *main_chan) +{ + if (red_channel_test_remote_cap(&main_chan->base, SPICE_MAIN_CAP_AGENT_CONNECTED_TOKENS)) { + red_channel_pipes_add_type(&main_chan->base, PIPE_ITEM_TYPE_MAIN_AGENT_CONNECTED_TOKENS); + } else { + red_channel_pipes_add_empty_msg(&main_chan->base, SPICE_MSG_MAIN_AGENT_CONNECTED); + } +} + +static void main_channel_marshall_agent_connected(SpiceMarshaller *m, + RedChannelClient *rcc, + PipeItem *item) +{ + SpiceMsgMainAgentConnectedTokens connected; + + red_channel_client_init_send_data(rcc, SPICE_MSG_MAIN_AGENT_CONNECTED_TOKENS, item); + connected.num_tokens = REDS_AGENT_WINDOW_SIZE; + spice_marshall_msg_main_agent_connected_tokens(m, &connected); +} + +void main_channel_push_agent_disconnected(MainChannel *main_chan) +{ + red_channel_pipes_add_type(&main_chan->base, PIPE_ITEM_TYPE_MAIN_AGENT_DISCONNECTED); +} + +static void main_channel_marshall_agent_disconnected(RedChannelClient *rcc, + SpiceMarshaller *m, + PipeItem *item) +{ + SpiceMsgMainAgentDisconnect disconnect; + + red_channel_client_init_send_data(rcc, SPICE_MSG_MAIN_AGENT_DISCONNECTED, item); + disconnect.error_code = SPICE_LINK_ERR_OK; + spice_marshall_msg_main_agent_disconnected(m, &disconnect); +} + +void main_channel_client_push_agent_tokens(MainChannelClient *mcc, uint32_t num_tokens) +{ + PipeItem *item = main_agent_tokens_item_new(&mcc->base, num_tokens); + + red_channel_client_pipe_add_push(&mcc->base, item); +} + +static void main_channel_marshall_tokens(RedChannelClient *rcc, + SpiceMarshaller *m, TokensPipeItem *item) +{ + SpiceMsgMainAgentTokens tokens; + + red_channel_client_init_send_data(rcc, SPICE_MSG_MAIN_AGENT_TOKEN, &item->base); + tokens.num_tokens = item->tokens; + spice_marshall_msg_main_agent_token(m, &tokens); +} + +void main_channel_client_push_agent_data(MainChannelClient *mcc, uint8_t* data, size_t len, + spice_marshaller_item_free_func free_data, void *opaque) +{ + PipeItem *item; + + item = main_agent_data_item_new(&mcc->base, data, len, free_data, opaque); + red_channel_client_pipe_add_push(&mcc->base, item); +} + +static void main_channel_marshall_agent_data(RedChannelClient *rcc, + SpiceMarshaller *m, + AgentDataPipeItem *item) +{ + red_channel_client_init_send_data(rcc, SPICE_MSG_MAIN_AGENT_DATA, &item->base); + spice_marshaller_add_ref(m, item->data, item->len); +} + +static void main_channel_push_migrate_data_item(MainChannel *main_chan) +{ + red_channel_pipes_add_type(&main_chan->base, PIPE_ITEM_TYPE_MAIN_MIGRATE_DATA); +} + +static void main_channel_marshall_migrate_data_item(RedChannelClient *rcc, + SpiceMarshaller *m, PipeItem *item) +{ + red_channel_client_init_send_data(rcc, SPICE_MSG_MIGRATE_DATA, item); + reds_marshall_migrate_data(m); // TODO: from reds split. ugly separation. +} + +static int main_channel_handle_migrate_data(RedChannelClient *rcc, + uint32_t size, void *message) +{ + MainChannelClient *mcc = SPICE_CONTAINEROF(rcc, MainChannelClient, base); + SpiceMigrateDataHeader *header = (SpiceMigrateDataHeader *)message; + + /* not supported with multi-clients */ + spice_assert(rcc->channel->clients_num == 1); + + if (size < sizeof(SpiceMigrateDataHeader) + sizeof(SpiceMigrateDataMain)) { + spice_printerr("bad message size %u", size); + return FALSE; + } + if (!migration_protocol_validate_header(header, + SPICE_MIGRATE_DATA_MAIN_MAGIC, + SPICE_MIGRATE_DATA_MAIN_VERSION)) { + spice_error("bad header"); + return FALSE; + } + return reds_handle_migrate_data(mcc, (SpiceMigrateDataMain *)(header + 1), size); +} + +void main_channel_push_init(MainChannelClient *mcc, + int display_channels_hint, int current_mouse_mode, + int is_client_mouse_allowed, int multi_media_time, + int ram_hint) +{ + PipeItem *item; + + item = main_init_item_new(mcc, + mcc->connection_id, display_channels_hint, current_mouse_mode, + is_client_mouse_allowed, multi_media_time, ram_hint); + red_channel_client_pipe_add_push(&mcc->base, item); +} + +static void main_channel_marshall_init(RedChannelClient *rcc, + SpiceMarshaller *m, + InitPipeItem *item) +{ + SpiceMsgMainInit init; // TODO - remove this copy, make InitPipeItem reuse SpiceMsgMainInit + + + red_channel_client_init_send_data(rcc, SPICE_MSG_MAIN_INIT, &item->base); + init.session_id = item->connection_id; + init.display_channels_hint = item->display_channels_hint; + init.current_mouse_mode = item->current_mouse_mode; + init.supported_mouse_modes = SPICE_MOUSE_MODE_SERVER; + if (item->is_client_mouse_allowed) { + init.supported_mouse_modes |= SPICE_MOUSE_MODE_CLIENT; + } + init.agent_connected = reds_has_vdagent(); + init.agent_tokens = REDS_AGENT_WINDOW_SIZE; + init.multi_media_time = item->multi_media_time; + init.ram_hint = item->ram_hint; + spice_marshall_msg_main_init(m, &init); +} + +void main_channel_push_name(MainChannelClient *mcc, const char *name) +{ + PipeItem *item; + + if (!red_channel_client_test_remote_cap(&mcc->base, + SPICE_MAIN_CAP_NAME_AND_UUID)) + return; + + item = main_name_item_new(mcc, name); + red_channel_client_pipe_add_push(&mcc->base, item); +} + +void main_channel_push_uuid(MainChannelClient *mcc, const uint8_t uuid[16]) +{ + PipeItem *item; + + if (!red_channel_client_test_remote_cap(&mcc->base, + SPICE_MAIN_CAP_NAME_AND_UUID)) + return; + + item = main_uuid_item_new(mcc, uuid); + red_channel_client_pipe_add_push(&mcc->base, item); +} + +// TODO - some notifications are new client only (like "keyboard is insecure" on startup) +void main_channel_push_notify(MainChannel *main_chan, uint8_t *mess, const int mess_len) +{ + NotifyPipeInfo info = { + .mess = mess, + .mess_len = mess_len, + }; + + red_channel_pipes_new_add_push(&main_chan->base, + main_notify_item_new, &info); +} + +static uint64_t get_time_stamp(void) +{ + struct timespec time_space; + clock_gettime(CLOCK_MONOTONIC, &time_space); + return time_space.tv_sec * 1000 * 1000 * 1000 + time_space.tv_nsec; +} + +static void main_channel_marshall_notify(RedChannelClient *rcc, + SpiceMarshaller *m, NotifyPipeItem *item) +{ + SpiceMsgNotify notify; + + red_channel_client_init_send_data(rcc, SPICE_MSG_NOTIFY, &item->base); + notify.time_stamp = get_time_stamp(); // TODO - move to main_new_notify_item + notify.severity = SPICE_NOTIFY_SEVERITY_WARN; + notify.visibilty = SPICE_NOTIFY_VISIBILITY_HIGH; + notify.what = SPICE_WARN_GENERAL; + notify.message_len = item->mess_len; + spice_marshall_msg_notify(m, ¬ify); + spice_marshaller_add(m, item->mess, item->mess_len + 1); +} + +static void main_channel_fill_migrate_dst_info(MainChannel *main_channel, + SpiceMigrationDstInfo *dst_info) +{ + RedsMigSpice *mig_dst = &main_channel->mig_target; + dst_info->port = mig_dst->port; + dst_info->sport = mig_dst->sport; + dst_info->host_size = strlen(mig_dst->host) + 1; + dst_info->host_data = (uint8_t *)mig_dst->host; + if (mig_dst->cert_subject) { + dst_info->cert_subject_size = strlen(mig_dst->cert_subject) + 1; + dst_info->cert_subject_data = (uint8_t *)mig_dst->cert_subject; + } else { + dst_info->cert_subject_size = 0; + dst_info->cert_subject_data = NULL; + } +} + +static void main_channel_marshall_migrate_begin(SpiceMarshaller *m, RedChannelClient *rcc, + PipeItem *item) +{ + SpiceMsgMainMigrationBegin migrate; + MainChannel *main_ch; + + red_channel_client_init_send_data(rcc, SPICE_MSG_MAIN_MIGRATE_BEGIN, item); + main_ch = SPICE_CONTAINEROF(rcc->channel, MainChannel, base); + main_channel_fill_migrate_dst_info(main_ch, &migrate.dst_info); + spice_marshall_msg_main_migrate_begin(m, &migrate); +} + +static void main_channel_marshall_migrate_begin_seamless(SpiceMarshaller *m, + RedChannelClient *rcc, + PipeItem *item) +{ + SpiceMsgMainMigrateBeginSeamless migrate_seamless; + MainChannel *main_ch; + + red_channel_client_init_send_data(rcc, SPICE_MSG_MAIN_MIGRATE_BEGIN_SEAMLESS, item); + main_ch = SPICE_CONTAINEROF(rcc->channel, MainChannel, base); + main_channel_fill_migrate_dst_info(main_ch, &migrate_seamless.dst_info); + migrate_seamless.src_mig_version = SPICE_MIGRATION_PROTOCOL_VERSION; + spice_marshall_msg_main_migrate_begin_seamless(m, &migrate_seamless); +} + +void main_channel_push_multi_media_time(MainChannel *main_chan, int time) +{ + MultiMediaTimePipeItem info = { + .time = time, + }; + + red_channel_pipes_new_add_push(&main_chan->base, + main_multi_media_time_item_new, &info); +} + +static void main_channel_fill_mig_target(MainChannel *main_channel, RedsMigSpice *mig_target) +{ + spice_assert(mig_target); + free(main_channel->mig_target.host); + main_channel->mig_target.host = spice_strdup(mig_target->host); + free(main_channel->mig_target.cert_subject); + if (mig_target->cert_subject) { + main_channel->mig_target.cert_subject = spice_strdup(mig_target->cert_subject); + } + main_channel->mig_target.port = mig_target->port; + main_channel->mig_target.sport = mig_target->sport; +} + +void main_channel_migrate_switch(MainChannel *main_chan, RedsMigSpice *mig_target) +{ + main_channel_fill_mig_target(main_chan, mig_target); + red_channel_pipes_add_type(&main_chan->base, PIPE_ITEM_TYPE_MAIN_MIGRATE_SWITCH_HOST); +} + +static void main_channel_marshall_migrate_switch(SpiceMarshaller *m, RedChannelClient *rcc, + PipeItem *item) +{ + SpiceMsgMainMigrationSwitchHost migrate; + MainChannel *main_ch; + + spice_printerr(""); + red_channel_client_init_send_data(rcc, SPICE_MSG_MAIN_MIGRATE_SWITCH_HOST, item); + main_ch = SPICE_CONTAINEROF(rcc->channel, MainChannel, base); + migrate.port = main_ch->mig_target.port; + migrate.sport = main_ch->mig_target.sport; + migrate.host_size = strlen(main_ch->mig_target.host) + 1; + migrate.host_data = (uint8_t *)main_ch->mig_target.host; + if (main_ch->mig_target.cert_subject) { + migrate.cert_subject_size = strlen(main_ch->mig_target.cert_subject) + 1; + migrate.cert_subject_data = (uint8_t *)main_ch->mig_target.cert_subject; + } else { + migrate.cert_subject_size = 0; + migrate.cert_subject_data = NULL; + } + spice_marshall_msg_main_migrate_switch_host(m, &migrate); +} + +static void main_channel_marshall_multi_media_time(RedChannelClient *rcc, + SpiceMarshaller *m, + MultiMediaTimePipeItem *item) +{ + SpiceMsgMainMultiMediaTime time_mes; + + red_channel_client_init_send_data(rcc, SPICE_MSG_MAIN_MULTI_MEDIA_TIME, &item->base); + time_mes.time = item->time; + spice_marshall_msg_main_multi_media_time(m, &time_mes); +} + +static void main_channel_send_item(RedChannelClient *rcc, PipeItem *base) +{ + MainChannelClient *mcc = SPICE_CONTAINEROF(rcc, MainChannelClient, base); + SpiceMarshaller *m = red_channel_client_get_marshaller(rcc); + + /* In semi-seamless migration (dest side), the connection is started from scratch, and + * we ignore any pipe item that arrives before the INIT msg is sent. + * For seamless we don't send INIT, and the connection continues from the same place + * it stopped on the src side. */ + if (!mcc->init_sent && !mcc->seamless_mig_dst && base->type != PIPE_ITEM_TYPE_MAIN_INIT) { + spice_printerr("Init msg for client %p was not sent yet " + "(client is probably during semi-seamless migration). Ignoring msg type %d", + rcc->client, base->type); + main_channel_release_pipe_item(rcc, base, FALSE); + return; + } + switch (base->type) { + case PIPE_ITEM_TYPE_MAIN_CHANNELS_LIST: + main_channel_marshall_channels(rcc, m, base); + break; + case PIPE_ITEM_TYPE_MAIN_PING: + main_channel_marshall_ping(rcc, m, + SPICE_CONTAINEROF(base, PingPipeItem, base)); + break; + case PIPE_ITEM_TYPE_MAIN_MOUSE_MODE: + { + MouseModePipeItem *item = + SPICE_CONTAINEROF(base, MouseModePipeItem, base); + main_channel_marshall_mouse_mode(rcc, m, item); + break; + } + case PIPE_ITEM_TYPE_MAIN_AGENT_DISCONNECTED: + main_channel_marshall_agent_disconnected(rcc, m, base); + break; + case PIPE_ITEM_TYPE_MAIN_AGENT_TOKEN: + main_channel_marshall_tokens(rcc, m, + SPICE_CONTAINEROF(base, TokensPipeItem, base)); + break; + case PIPE_ITEM_TYPE_MAIN_AGENT_DATA: + main_channel_marshall_agent_data(rcc, m, + SPICE_CONTAINEROF(base, AgentDataPipeItem, base)); + break; + case PIPE_ITEM_TYPE_MAIN_MIGRATE_DATA: + main_channel_marshall_migrate_data_item(rcc, m, base); + break; + case PIPE_ITEM_TYPE_MAIN_INIT: + mcc->init_sent = TRUE; + main_channel_marshall_init(rcc, m, + SPICE_CONTAINEROF(base, InitPipeItem, base)); + break; + case PIPE_ITEM_TYPE_MAIN_NOTIFY: + main_channel_marshall_notify(rcc, m, + SPICE_CONTAINEROF(base, NotifyPipeItem, base)); + break; + case PIPE_ITEM_TYPE_MAIN_MIGRATE_BEGIN: + main_channel_marshall_migrate_begin(m, rcc, base); + break; + case PIPE_ITEM_TYPE_MAIN_MIGRATE_BEGIN_SEAMLESS: + main_channel_marshall_migrate_begin_seamless(m, rcc, base); + break; + case PIPE_ITEM_TYPE_MAIN_MULTI_MEDIA_TIME: + main_channel_marshall_multi_media_time(rcc, m, + SPICE_CONTAINEROF(base, MultiMediaTimePipeItem, base)); + break; + case PIPE_ITEM_TYPE_MAIN_MIGRATE_SWITCH_HOST: + main_channel_marshall_migrate_switch(m, rcc, base); + break; + case PIPE_ITEM_TYPE_MAIN_NAME: + red_channel_client_init_send_data(rcc, SPICE_MSG_MAIN_NAME, base); + spice_marshall_msg_main_name(m, &SPICE_CONTAINEROF(base, NamePipeItem, base)->msg); + break; + case PIPE_ITEM_TYPE_MAIN_UUID: + red_channel_client_init_send_data(rcc, SPICE_MSG_MAIN_UUID, base); + spice_marshall_msg_main_uuid(m, &SPICE_CONTAINEROF(base, UuidPipeItem, base)->msg); + break; + case PIPE_ITEM_TYPE_MAIN_AGENT_CONNECTED_TOKENS: + main_channel_marshall_agent_connected(m, rcc, base); + break; + default: + break; + }; + red_channel_client_begin_send_message(rcc); +} + +static void main_channel_release_pipe_item(RedChannelClient *rcc, + PipeItem *base, int item_pushed) +{ + switch (base->type) { + case PIPE_ITEM_TYPE_MAIN_AGENT_DATA: { + AgentDataPipeItem *data = (AgentDataPipeItem *)base; + + data->free_data(data->data, data->opaque); + break; + } + default: + break; + } + free(base); +} + +static void main_channel_client_handle_migrate_connected(MainChannelClient *mcc, + int success, + int seamless) +{ + spice_printerr("client %p connected: %d seamless %d", mcc->base.client, success, seamless); + if (mcc->mig_wait_connect) { + MainChannel *main_channel = SPICE_CONTAINEROF(mcc->base.channel, MainChannel, base); + + mcc->mig_wait_connect = FALSE; + mcc->mig_connect_ok = success; + spice_assert(main_channel->num_clients_mig_wait); + spice_assert(!seamless || main_channel->num_clients_mig_wait == 1); + if (!--main_channel->num_clients_mig_wait) { + reds_on_main_migrate_connected(seamless && success); + } + } else { + if (success) { + spice_printerr("client %p MIGRATE_CANCEL", mcc->base.client); + red_channel_client_pipe_add_empty_msg(&mcc->base, SPICE_MSG_MAIN_MIGRATE_CANCEL); + } + } +} + +void main_channel_client_handle_migrate_dst_do_seamless(MainChannelClient *mcc, + uint32_t src_version) +{ + if (reds_on_migrate_dst_set_seamless(mcc, src_version)) { + mcc->seamless_mig_dst = TRUE; + red_channel_client_pipe_add_empty_msg(&mcc->base, + SPICE_MSG_MAIN_MIGRATE_DST_SEAMLESS_ACK); + } else { + red_channel_client_pipe_add_empty_msg(&mcc->base, + SPICE_MSG_MAIN_MIGRATE_DST_SEAMLESS_NACK); + } +} + +void main_channel_client_handle_migrate_end(MainChannelClient *mcc) +{ + if (!red_client_during_migrate_at_target(mcc->base.client)) { + spice_printerr("unexpected SPICE_MSGC_MIGRATE_END"); + return; + } + if (!red_channel_client_test_remote_cap(&mcc->base, + SPICE_MAIN_CAP_SEMI_SEAMLESS_MIGRATE)) { + spice_printerr("unexpected SPICE_MSGC_MIGRATE_END, " + "client does not support semi-seamless migration"); + return; + } + red_client_semi_seamless_migrate_complete(mcc->base.client); +} + +void main_channel_migrate_dst_complete(MainChannelClient *mcc) +{ + if (mcc->mig_wait_prev_complete) { + if (mcc->mig_wait_prev_try_seamless) { + spice_assert(mcc->base.channel->clients_num == 1); + red_channel_client_pipe_add_type(&mcc->base, + PIPE_ITEM_TYPE_MAIN_MIGRATE_BEGIN_SEAMLESS); + } else { + red_channel_client_pipe_add_type(&mcc->base, PIPE_ITEM_TYPE_MAIN_MIGRATE_BEGIN); + } + mcc->mig_wait_connect = TRUE; + mcc->mig_wait_prev_complete = FALSE; + } +} + +static int main_channel_handle_parsed(RedChannelClient *rcc, uint32_t size, uint16_t type, + void *message) +{ + MainChannel *main_chan = SPICE_CONTAINEROF(rcc->channel, MainChannel, base); + MainChannelClient *mcc = SPICE_CONTAINEROF(rcc, MainChannelClient, base); + + switch (type) { + case SPICE_MSGC_MAIN_AGENT_START: { + SpiceMsgcMainAgentStart *tokens; + + spice_printerr("agent start"); + if (!main_chan) { + return FALSE; + } + tokens = (SpiceMsgcMainAgentStart *)message; + reds_on_main_agent_start(mcc, tokens->num_tokens); + break; + } + case SPICE_MSGC_MAIN_AGENT_DATA: { + reds_on_main_agent_data(mcc, message, size); + break; + } + case SPICE_MSGC_MAIN_AGENT_TOKEN: { + SpiceMsgcMainAgentTokens *tokens; + + tokens = (SpiceMsgcMainAgentTokens *)message; + reds_on_main_agent_tokens(mcc, tokens->num_tokens); + break; + } + case SPICE_MSGC_MAIN_ATTACH_CHANNELS: + main_channel_push_channels(mcc); + break; + case SPICE_MSGC_MAIN_MIGRATE_CONNECTED: + main_channel_client_handle_migrate_connected(mcc, + TRUE /* success */, + FALSE /* seamless */); + break; + case SPICE_MSGC_MAIN_MIGRATE_CONNECTED_SEAMLESS: + main_channel_client_handle_migrate_connected(mcc, + TRUE /* success */, + TRUE /* seamless */); + break; + case SPICE_MSGC_MAIN_MIGRATE_CONNECT_ERROR: + main_channel_client_handle_migrate_connected(mcc, FALSE, FALSE); + break; + case SPICE_MSGC_MAIN_MIGRATE_DST_DO_SEAMLESS: + main_channel_client_handle_migrate_dst_do_seamless(mcc, + ((SpiceMsgcMainMigrateDstDoSeamless *)message)->src_version); + break; + case SPICE_MSGC_MAIN_MOUSE_MODE_REQUEST: + reds_on_main_mouse_mode_request(message, size); + break; + case SPICE_MSGC_PONG: { + SpiceMsgPing *ping = (SpiceMsgPing *)message; + uint64_t roundtrip; + struct timespec ts; + + clock_gettime(CLOCK_MONOTONIC, &ts); + roundtrip = ts.tv_sec * 1000000LL + ts.tv_nsec / 1000LL - ping->timestamp; + + if (ping->id == mcc->net_test_id) { + switch (mcc->net_test_stage) { + case NET_TEST_STAGE_WARMUP: + mcc->net_test_id++; + mcc->net_test_stage = NET_TEST_STAGE_LATENCY; + break; + case NET_TEST_STAGE_LATENCY: + mcc->net_test_id++; + mcc->net_test_stage = NET_TEST_STAGE_RATE; + mcc->latency = roundtrip; + break; + case NET_TEST_STAGE_RATE: + mcc->net_test_id = 0; + if (roundtrip <= mcc->latency) { + // probably high load on client or server result with incorrect values + mcc->latency = 0; + spice_printerr("net test: invalid values, latency %" PRIu64 + " roundtrip %" PRIu64 ". assuming high" + "bandwidth", mcc->latency, roundtrip); + break; + } + mcc->bitrate_per_sec = (uint64_t)(NET_TEST_BYTES * 8) * 1000000 + / (roundtrip - mcc->latency); + spice_printerr("net test: latency %f ms, bitrate %"PRIu64" bps (%f Mbps)%s", + (double)mcc->latency / 1000, + mcc->bitrate_per_sec, + (double)mcc->bitrate_per_sec / 1024 / 1024, + main_channel_client_is_low_bandwidth(mcc) ? " LOW BANDWIDTH" : ""); + mcc->net_test_stage = NET_TEST_STAGE_INVALID; + break; + default: + spice_printerr("invalid net test stage, ping id %d test id %d stage %d", + ping->id, + mcc->net_test_id, + mcc->net_test_stage); + } + break; + } +#ifdef RED_STATISTICS + reds_update_stat_value(roundtrip); +#endif + break; + } + case SPICE_MSGC_DISCONNECTING: + break; + case SPICE_MSGC_MAIN_MIGRATE_END: + main_channel_client_handle_migrate_end(mcc); + break; + default: + return red_channel_client_handle_message(rcc, size, type, message); + } + return TRUE; +} + +static uint8_t *main_channel_alloc_msg_rcv_buf(RedChannelClient *rcc, + uint16_t type, + uint32_t size) +{ + MainChannel *main_chan = SPICE_CONTAINEROF(rcc->channel, MainChannel, base); + MainChannelClient *mcc = SPICE_CONTAINEROF(rcc, MainChannelClient, base); + + if (type == SPICE_MSGC_MAIN_AGENT_DATA) { + return reds_get_agent_data_buffer(mcc, size); + } else { + return main_chan->recv_buf; + } +} + +static void main_channel_release_msg_rcv_buf(RedChannelClient *rcc, + uint16_t type, + uint32_t size, + uint8_t *msg) +{ + if (type == SPICE_MSGC_MAIN_AGENT_DATA) { + reds_release_agent_data_buffer(msg); + } +} + +static int main_channel_config_socket(RedChannelClient *rcc) +{ + return TRUE; +} + +static void main_channel_hold_pipe_item(RedChannelClient *rcc, PipeItem *item) +{ +} + +static int main_channel_handle_migrate_flush_mark(RedChannelClient *rcc) +{ + spice_debug(NULL); + main_channel_push_migrate_data_item(SPICE_CONTAINEROF(rcc->channel, + MainChannel, base)); + return TRUE; +} + +#ifdef RED_STATISTICS +static void do_ping_client(MainChannelClient *mcc, + const char *opt, int has_interval, int interval) +{ + spice_printerr(""); + if (!opt) { + main_channel_client_push_ping(mcc, 0); + } else if (!strcmp(opt, "on")) { + if (has_interval && interval > 0) { + mcc->ping_interval = interval * 1000; + } + core->timer_start(mcc->ping_timer, mcc->ping_interval); + } else if (!strcmp(opt, "off")) { + core->timer_cancel(mcc->ping_timer); + } else { + return; + } +} + +static void ping_timer_cb(void *opaque) +{ + MainChannelClient *mcc = opaque; + + if (!red_channel_client_is_connected(&mcc->base)) { + spice_printerr("not connected to peer, ping off"); + core->timer_cancel(mcc->ping_timer); + return; + } + do_ping_client(mcc, NULL, 0, 0); + core->timer_start(mcc->ping_timer, mcc->ping_interval); +} +#endif /* RED_STATISTICS */ + +uint32_t main_channel_client_get_link_id(MainChannelClient *mcc) +{ + return mcc->connection_id; +} + +static MainChannelClient *main_channel_client_create(MainChannel *main_chan, RedClient *client, + RedsStream *stream, uint32_t connection_id, + int num_common_caps, uint32_t *common_caps, + int num_caps, uint32_t *caps) +{ + MainChannelClient *mcc = (MainChannelClient*) + red_channel_client_create(sizeof(MainChannelClient), &main_chan->base, + client, stream, num_common_caps, + common_caps, num_caps, caps); + spice_assert(mcc != NULL); + mcc->connection_id = connection_id; + mcc->bitrate_per_sec = ~0; +#ifdef RED_STATISTICS + if (!(mcc->ping_timer = core->timer_add(ping_timer_cb, NULL))) { + spice_error("ping timer create failed"); + } + mcc->ping_interval = PING_INTERVAL; +#endif + return mcc; +} + +MainChannelClient *main_channel_link(MainChannel *channel, RedClient *client, + RedsStream *stream, uint32_t connection_id, int migration, + int num_common_caps, uint32_t *common_caps, int num_caps, + uint32_t *caps) +{ + MainChannelClient *mcc; + + spice_assert(channel); + + // TODO - migration - I removed it from channel creation, now put it + // into usage somewhere (not an issue until we return migration to it's + // former glory) + spice_printerr("add main channel client"); + mcc = main_channel_client_create(channel, client, stream, connection_id, + num_common_caps, common_caps, + num_caps, caps); + return mcc; +} + +int main_channel_getsockname(MainChannel *main_chan, struct sockaddr *sa, socklen_t *salen) +{ + return main_chan ? getsockname(red_channel_get_first_socket(&main_chan->base), sa, salen) : -1; +} + +int main_channel_getpeername(MainChannel *main_chan, struct sockaddr *sa, socklen_t *salen) +{ + return main_chan ? getpeername(red_channel_get_first_socket(&main_chan->base), sa, salen) : -1; +} + +// TODO: ? shouldn't it disonnect all clients? or shutdown all main_channels? +void main_channel_close(MainChannel *main_chan) +{ + int socketfd; + + if (main_chan && (socketfd = red_channel_get_first_socket(&main_chan->base)) != -1) { + close(socketfd); + } +} + +int main_channel_client_is_low_bandwidth(MainChannelClient *mcc) +{ + // TODO: configurable? + return mcc->bitrate_per_sec < 10 * 1024 * 1024; +} + +uint64_t main_channel_client_get_bitrate_per_sec(MainChannelClient *mcc) +{ + return mcc->bitrate_per_sec; +} + +static void main_channel_client_migrate(RedChannelClient *rcc) +{ + reds_on_main_channel_migrate(SPICE_CONTAINEROF(rcc, MainChannelClient, base)); + red_channel_client_default_migrate(rcc); +} + +MainChannel* main_channel_init(void) +{ + RedChannel *channel; + ChannelCbs channel_cbs = { NULL, }; + ClientCbs client_cbs = {NULL, }; + + channel_cbs.config_socket = main_channel_config_socket; + channel_cbs.on_disconnect = main_channel_client_on_disconnect; + channel_cbs.send_item = main_channel_send_item; + channel_cbs.hold_item = main_channel_hold_pipe_item; + channel_cbs.release_item = main_channel_release_pipe_item; + channel_cbs.alloc_recv_buf = main_channel_alloc_msg_rcv_buf; + channel_cbs.release_recv_buf = main_channel_release_msg_rcv_buf; + channel_cbs.handle_migrate_flush_mark = main_channel_handle_migrate_flush_mark; + channel_cbs.handle_migrate_data = main_channel_handle_migrate_data; + + // TODO: set the migration flag of the channel + channel = red_channel_create_parser(sizeof(MainChannel), core, + SPICE_CHANNEL_MAIN, 0, + FALSE, /* handle_acks */ + spice_get_client_channel_parser(SPICE_CHANNEL_MAIN, NULL), + main_channel_handle_parsed, + &channel_cbs, + SPICE_MIGRATE_NEED_FLUSH | SPICE_MIGRATE_NEED_DATA_TRANSFER); + spice_assert(channel); + red_channel_set_cap(channel, SPICE_MAIN_CAP_SEMI_SEAMLESS_MIGRATE); + red_channel_set_cap(channel, SPICE_MAIN_CAP_SEAMLESS_MIGRATE); + + client_cbs.migrate = main_channel_client_migrate; + red_channel_register_client_cbs(channel, &client_cbs); + + return (MainChannel *)channel; +} + +RedChannelClient* main_channel_client_get_base(MainChannelClient* mcc) +{ + spice_assert(mcc); + return &mcc->base; +} + +static int main_channel_connect_semi_seamless(MainChannel *main_channel) +{ + RingItem *client_link; + + RING_FOREACH(client_link, &main_channel->base.clients) { + MainChannelClient * mcc = SPICE_CONTAINEROF(client_link, MainChannelClient, + base.channel_link); + if (red_channel_client_test_remote_cap(&mcc->base, + SPICE_MAIN_CAP_SEMI_SEAMLESS_MIGRATE)) { + if (red_client_during_migrate_at_target(mcc->base.client)) { + spice_printerr("client %p: wait till previous migration completes", mcc->base.client); + mcc->mig_wait_prev_complete = TRUE; + mcc->mig_wait_prev_try_seamless = FALSE; + } else { + red_channel_client_pipe_add_type(&mcc->base, + PIPE_ITEM_TYPE_MAIN_MIGRATE_BEGIN); + mcc->mig_wait_connect = TRUE; + } + mcc->mig_connect_ok = FALSE; + main_channel->num_clients_mig_wait++; + } + } + return main_channel->num_clients_mig_wait; +} + +static int main_channel_connect_seamless(MainChannel *main_channel) +{ + RingItem *client_link; + + spice_assert(main_channel->base.clients_num == 1); + + RING_FOREACH(client_link, &main_channel->base.clients) { + MainChannelClient * mcc = SPICE_CONTAINEROF(client_link, MainChannelClient, + base.channel_link); + spice_assert(red_channel_client_test_remote_cap(&mcc->base, + SPICE_MAIN_CAP_SEAMLESS_MIGRATE)); + if (red_client_during_migrate_at_target(mcc->base.client)) { + spice_printerr("client %p: wait till previous migration completes", mcc->base.client); + mcc->mig_wait_prev_complete = TRUE; + mcc->mig_wait_prev_try_seamless = TRUE; + } else { + red_channel_client_pipe_add_type(&mcc->base, + PIPE_ITEM_TYPE_MAIN_MIGRATE_BEGIN_SEAMLESS); + mcc->mig_wait_connect = TRUE; + } + mcc->mig_connect_ok = FALSE; + main_channel->num_clients_mig_wait++; + } + return main_channel->num_clients_mig_wait; +} + +int main_channel_migrate_connect(MainChannel *main_channel, RedsMigSpice *mig_target, + int try_seamless) +{ + main_channel_fill_mig_target(main_channel, mig_target); + main_channel->num_clients_mig_wait = 0; + + if (!main_channel_is_connected(main_channel)) { + return 0; + } + + if (!try_seamless) { + return main_channel_connect_semi_seamless(main_channel); + } else { + RingItem *client_item; + MainChannelClient *mcc; + + client_item = ring_get_head(&main_channel->base.clients); + mcc = SPICE_CONTAINEROF(client_item, MainChannelClient, base.channel_link); + + if (!red_channel_client_test_remote_cap(&mcc->base, + SPICE_MAIN_CAP_SEAMLESS_MIGRATE)) { + return main_channel_connect_semi_seamless(main_channel); + } else { + return main_channel_connect_seamless(main_channel); + } + } + +} + +void main_channel_migrate_cancel_wait(MainChannel *main_chan) +{ + RingItem *client_link; + + RING_FOREACH(client_link, &main_chan->base.clients) { + MainChannelClient *mcc; + + mcc = SPICE_CONTAINEROF(client_link, MainChannelClient, base.channel_link); + if (mcc->mig_wait_connect) { + spice_printerr("client %p cancel wait connect", mcc->base.client); + mcc->mig_wait_connect = FALSE; + mcc->mig_connect_ok = FALSE; + } + mcc->mig_wait_prev_complete = FALSE; + } + main_chan->num_clients_mig_wait = 0; +} + +int main_channel_migrate_src_complete(MainChannel *main_chan, int success) +{ + RingItem *client_link; + int semi_seamless_count = 0; + + spice_printerr(""); + + if (ring_is_empty(&main_chan->base.clients)) { + spice_printerr("no peer connected"); + return 0; + } + + RING_FOREACH(client_link, &main_chan->base.clients) { + MainChannelClient *mcc; + int semi_seamless_support; + + mcc = SPICE_CONTAINEROF(client_link, MainChannelClient, base.channel_link); + semi_seamless_support = red_channel_client_test_remote_cap(&mcc->base, + SPICE_MAIN_CAP_SEMI_SEAMLESS_MIGRATE); + if (semi_seamless_support && mcc->mig_connect_ok) { + if (success) { + spice_printerr("client %p MIGRATE_END", mcc->base.client); + red_channel_client_pipe_add_empty_msg(&mcc->base, SPICE_MSG_MAIN_MIGRATE_END); + semi_seamless_count++; + } else { + spice_printerr("client %p MIGRATE_CANCEL", mcc->base.client); + red_channel_client_pipe_add_empty_msg(&mcc->base, SPICE_MSG_MAIN_MIGRATE_CANCEL); + } + } else { + if (success) { + spice_printerr("client %p SWITCH_HOST", mcc->base.client); + red_channel_client_pipe_add_type(&mcc->base, PIPE_ITEM_TYPE_MAIN_MIGRATE_SWITCH_HOST); + } + } + mcc->mig_connect_ok = FALSE; + mcc->mig_wait_connect = FALSE; + } + return semi_seamless_count; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/main_channel.h b/tizen/distrib/remote/server/spice-0.12.2/server/main_channel.h new file mode 100644 index 0000000..285a009 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/main_channel.h @@ -0,0 +1,90 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef __MAIN_CHANNEL_H__ +#define __MAIN_CHANNEL_H__ + +#include <stdint.h> +#include <spice/vd_agent.h> +#include "common/marshaller.h" +#include "reds.h" +#include "red_channel.h" + +// TODO: Defines used to calculate receive buffer size, and also by reds.c +// other options: is to make a reds_main_consts.h, to duplicate defines. +#define REDS_AGENT_WINDOW_SIZE 10 +#define REDS_NUM_INTERNAL_AGENT_MESSAGES 1 + +// approximate max receive message size for main channel +#define RECEIVE_BUF_SIZE \ + (4096 + (REDS_AGENT_WINDOW_SIZE + REDS_NUM_INTERNAL_AGENT_MESSAGES) * SPICE_AGENT_MAX_DATA_SIZE) + +typedef struct MainChannel { + RedChannel base; + uint8_t recv_buf[RECEIVE_BUF_SIZE]; + RedsMigSpice mig_target; // TODO: add refs and release (afrer all clients completed migration in one way or the other?) + int num_clients_mig_wait; +} MainChannel; + + +MainChannel *main_channel_init(void); +RedClient *main_channel_get_client_by_link_id(MainChannel *main_chan, uint32_t link_id); +/* This is a 'clone' from the reds.h Channel.link callback to allow passing link_id */ +MainChannelClient *main_channel_link(MainChannel *, RedClient *client, + RedsStream *stream, uint32_t link_id, int migration, int num_common_caps, + uint32_t *common_caps, int num_caps, uint32_t *caps); +void main_channel_close(MainChannel *main_chan); // not destroy, just socket close +void main_channel_push_mouse_mode(MainChannel *main_chan, int current_mode, int is_client_mouse_allowed); +void main_channel_push_agent_connected(MainChannel *main_chan); +void main_channel_push_agent_disconnected(MainChannel *main_chan); +void main_channel_client_push_agent_tokens(MainChannelClient *mcc, uint32_t num_tokens); +void main_channel_client_push_agent_data(MainChannelClient *mcc, uint8_t* data, size_t len, + spice_marshaller_item_free_func free_data, void *opaque); +void main_channel_client_start_net_test(MainChannelClient *mcc); +// TODO: huge. Consider making a reds_* interface for these functions +// and calling from main. +void main_channel_push_init(MainChannelClient *mcc, int display_channels_hint, + int current_mouse_mode, int is_client_mouse_allowed, int multi_media_time, + int ram_hint); +void main_channel_push_notify(MainChannel *main_chan, uint8_t *mess, const int mess_len); +void main_channel_push_multi_media_time(MainChannel *main_chan, int time); +int main_channel_getsockname(MainChannel *main_chan, struct sockaddr *sa, socklen_t *salen); +int main_channel_getpeername(MainChannel *main_chan, struct sockaddr *sa, socklen_t *salen); +uint32_t main_channel_client_get_link_id(MainChannelClient *mcc); + +int main_channel_client_is_low_bandwidth(MainChannelClient *mcc); +uint64_t main_channel_client_get_bitrate_per_sec(MainChannelClient *mcc); +int main_channel_is_connected(MainChannel *main_chan); +RedChannelClient* main_channel_client_get_base(MainChannelClient* mcc); + +/* switch host migration */ +void main_channel_migrate_switch(MainChannel *main_chan, RedsMigSpice *mig_target); + +/* semi seamless migration */ + +/* returns the number of clients that we are waiting for their connection. + * try_seamless = 'true' when the seamless-migration=on in qemu command line */ +int main_channel_migrate_connect(MainChannel *main_channel, RedsMigSpice *mig_target, + int try_seamless); +void main_channel_migrate_cancel_wait(MainChannel *main_chan); +/* returns the number of clients for which SPICE_MSG_MAIN_MIGRATE_END was sent*/ +int main_channel_migrate_src_complete(MainChannel *main_chan, int success); +void main_channel_migrate_dst_complete(MainChannelClient *mcc); +void main_channel_push_name(MainChannelClient *mcc, const char *name); +void main_channel_push_uuid(MainChannelClient *mcc, const uint8_t uuid[16]); + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/main_dispatcher.c b/tizen/distrib/remote/server/spice-0.12.2/server/main_dispatcher.c new file mode 100644 index 0000000..1126ec0 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/main_dispatcher.c @@ -0,0 +1,132 @@ +#include <config.h> +#include <unistd.h> +#include <string.h> +#include <errno.h> +#include <pthread.h> + +#include "red_common.h" +#include "dispatcher.h" +#include "main_dispatcher.h" +#include "red_channel.h" +#include "reds.h" + +/* + * Main Dispatcher + * =============== + * + * Communication channel between any non main thread and the main thread. + * + * The main thread is that from which spice_server_init is called. + * + * Messages are single sized, sent from the non-main thread to the main-thread. + * No acknowledge is sent back. This prevents a possible deadlock with the main + * thread already waiting on a response for the existing red_dispatcher used + * by the worker thread. + * + * All events have three functions: + * main_dispatcher_<event_name> - non static, public function + * main_dispatcher_self_<event_name> - handler for main thread + * main_dispatcher_handle_<event_name> - handler for callback from main thread + * seperate from self because it may send an ack or do other work in the future. + */ + +typedef struct { + Dispatcher base; + SpiceCoreInterface *core; +} MainDispatcher; + +MainDispatcher main_dispatcher; + +enum { + MAIN_DISPATCHER_CHANNEL_EVENT = 0, + MAIN_DISPATCHER_MIGRATE_SEAMLESS_DST_COMPLETE, + + MAIN_DISPATCHER_NUM_MESSAGES +}; + +typedef struct MainDispatcherChannelEventMessage { + int event; + SpiceChannelEventInfo *info; +} MainDispatcherChannelEventMessage; + +typedef struct MainDispatcherMigrateSeamlessDstCompleteMessage { + RedClient *client; +} MainDispatcherMigrateSeamlessDstCompleteMessage; + +/* channel_event - calls core->channel_event, must be done in main thread */ +static void main_dispatcher_self_handle_channel_event( + int event, + SpiceChannelEventInfo *info) +{ + main_dispatcher.core->channel_event(event, info); + if (event == SPICE_CHANNEL_EVENT_DISCONNECTED) { + free(info); + } +} + +static void main_dispatcher_handle_channel_event(void *opaque, + void *payload) +{ + MainDispatcherChannelEventMessage *channel_event = payload; + + main_dispatcher_self_handle_channel_event(channel_event->event, + channel_event->info); +} + +void main_dispatcher_channel_event(int event, SpiceChannelEventInfo *info) +{ + MainDispatcherChannelEventMessage msg; + + if (pthread_self() == main_dispatcher.base.self) { + main_dispatcher_self_handle_channel_event(event, info); + return; + } + msg.event = event; + msg.info = info; + dispatcher_send_message(&main_dispatcher.base, MAIN_DISPATCHER_CHANNEL_EVENT, + &msg); +} + + +static void main_dispatcher_handle_migrate_complete(void *opaque, + void *payload) +{ + MainDispatcherMigrateSeamlessDstCompleteMessage *mig_complete = payload; + + reds_on_client_seamless_migrate_complete(mig_complete->client); +} + +void main_dispatcher_seamless_migrate_dst_complete(RedClient *client) +{ + MainDispatcherMigrateSeamlessDstCompleteMessage msg; + + if (pthread_self() == main_dispatcher.base.self) { + reds_on_client_seamless_migrate_complete(client); + return; + } + + msg.client = client; + dispatcher_send_message(&main_dispatcher.base, MAIN_DISPATCHER_MIGRATE_SEAMLESS_DST_COMPLETE, + &msg); +} +static void dispatcher_handle_read(int fd, int event, void *opaque) +{ + Dispatcher *dispatcher = opaque; + + dispatcher_handle_recv_read(dispatcher); +} + +void main_dispatcher_init(SpiceCoreInterface *core) +{ + memset(&main_dispatcher, 0, sizeof(main_dispatcher)); + main_dispatcher.core = core; + dispatcher_init(&main_dispatcher.base, MAIN_DISPATCHER_NUM_MESSAGES, &main_dispatcher.base); + core->watch_add(main_dispatcher.base.recv_fd, SPICE_WATCH_EVENT_READ, + dispatcher_handle_read, &main_dispatcher.base); + dispatcher_register_handler(&main_dispatcher.base, MAIN_DISPATCHER_CHANNEL_EVENT, + main_dispatcher_handle_channel_event, + sizeof(MainDispatcherChannelEventMessage), 0 /* no ack */); + dispatcher_register_handler(&main_dispatcher.base, MAIN_DISPATCHER_MIGRATE_SEAMLESS_DST_COMPLETE, + main_dispatcher_handle_migrate_complete, + sizeof(MainDispatcherMigrateSeamlessDstCompleteMessage), 0 /* no ack */); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/main_dispatcher.h b/tizen/distrib/remote/server/spice-0.12.2/server/main_dispatcher.h new file mode 100644 index 0000000..ec4a6b4 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/main_dispatcher.h @@ -0,0 +1,10 @@ +#ifndef MAIN_DISPATCHER_H +#define MAIN_DISPATCHER_H + +#include <spice.h> + +void main_dispatcher_channel_event(int event, SpiceChannelEventInfo *info); +void main_dispatcher_seamless_migrate_dst_complete(RedClient *client); +void main_dispatcher_init(SpiceCoreInterface *core); + +#endif //MAIN_DISPATCHER_H diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/migration_protocol.h b/tizen/distrib/remote/server/spice-0.12.2/server/migration_protocol.h new file mode 100644 index 0000000..fa17c7c --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/migration_protocol.h @@ -0,0 +1,212 @@ +/* + Copyright (C) 2012 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_MIGRATION_PROTOCOL +#define _H_MIGRATION_PROTOCOL + +#include <spice/vd_agent.h> +#include "glz_encoder_dictionary.h" + +/* ************************************************ + * src-server to dst-server migration data messages + * ************************************************/ + +/* increase the version when the version of any + * of the migration data messages is increased */ +#define SPICE_MIGRATION_PROTOCOL_VERSION 1 + +typedef struct __attribute__ ((__packed__)) SpiceMigrateDataHeader { + uint32_t magic; + uint32_t version; +} SpiceMigrateDataHeader; + +/* ******************** + * Char device base + * *******************/ + +/* increase the version of descendent char devices when this + * version is increased */ +#define SPICE_MIGRATE_DATA_CHAR_DEVICE_VERSION 1 + +/* Should be the first field of any of the char_devices migration data (see write_data_ptr) */ +typedef struct __attribute__ ((__packed__)) SpiceMigrateDataCharDevice { + uint32_t version; + uint8_t connected; + uint32_t num_client_tokens; + uint32_t num_send_tokens; + uint32_t write_size; /* write to dev */ + uint32_t write_num_client_tokens; /* how many messages from the client are part of the write_data */ + uint32_t write_data_ptr; /* offset from + SpiceMigrateDataCharDevice - sizeof(SpiceMigrateDataHeader) */ +} SpiceMigrateDataCharDevice; + +/* ******** + * spicevmc + * ********/ + +#define SPICE_MIGRATE_DATA_SPICEVMC_VERSION 1 /* NOTE: increase version when CHAR_DEVICE_VERSION + is increased */ +#define SPICE_MIGRATE_DATA_SPICEVMC_MAGIC (*(uint32_t *)"SVMD") +typedef struct __attribute__ ((__packed__)) SpiceMigrateDataSpiceVmc { + SpiceMigrateDataCharDevice base; +} SpiceMigrateDataSpiceVmc; + +/* ********* + * smartcard + * *********/ + +#define SPICE_MIGRATE_DATA_SMARTCARD_VERSION 1 /* NOTE: increase version when CHAR_DEVICE_VERSION + is increased */ +#define SPICE_MIGRATE_DATA_SMARTCARD_MAGIC (*(uint32_t *)"SCMD") +typedef struct __attribute__ ((__packed__)) SpiceMigrateDataSmartcard { + SpiceMigrateDataCharDevice base; + uint8_t reader_added; + uint32_t read_size; /* partial data read from dev */ + uint32_t read_data_ptr; +} SpiceMigrateDataSmartcard; + +/* ********************************* + * main channel (mainly guest agent) + * *********************************/ +#define SPICE_MIGRATE_DATA_MAIN_VERSION 1 /* NOTE: increase version when CHAR_DEVICE_VERSION + is increased */ +#define SPICE_MIGRATE_DATA_MAIN_MAGIC (*(uint32_t *)"MNMD") + +typedef struct __attribute__ ((__packed__)) SpiceMigrateDataMain { + SpiceMigrateDataCharDevice agent_base; + uint8_t client_agent_started; /* for discarding messages */ + + struct __attribute__ ((__packed__)) { + /* partial data read from device. Such data is stored only + * if the chunk header or the entire msg header haven't yet been read completely. + * Once the headers are read, partial reads of chunks can be sent as + * smaller chunks to the client, without the roundtrip overhead of migration data */ + uint32_t chunk_header_size; + VDIChunkHeader chunk_header; + uint8_t msg_header_done; + uint32_t msg_header_partial_len; + uint32_t msg_header_ptr; + uint32_t msg_remaining; + uint8_t msg_filter_result; + } agent2client; + + struct __attribute__ ((__packed__)) { + uint32_t msg_remaining; + uint8_t msg_filter_result; + } client2agent; +} SpiceMigrateDataMain; + +/* **************** + * display channel + * ***************/ + +#define SPICE_MIGRATE_DATA_DISPLAY_VERSION 1 +#define SPICE_MIGRATE_DATA_DISPLAY_MAGIC (*(uint32_t *)"DCMD") + +/* + * TODO: store the cache and dictionary data only in one channel (the + * freezer). + * TODO: optimizations: don't send surfaces information if it will be faster + * to resend the surfaces on-demand. + * */ +#define MIGRATE_DATA_DISPLAY_MAX_CACHE_CLIENTS 4 + +typedef struct __attribute__ ((__packed__)) SpiceMigrateDataDisplay { + uint64_t message_serial; + uint8_t low_bandwidth_setting; + + /* + * Synchronizing the shared pixmap cache. + * For now, the cache is not migrated, and instead, we reset it and send + * SPICE_MSG_DISPLAY_INVAL_ALL_PIXMAPS to the client. + * In order to keep the client and server caches consistent: + * The channel which freezed the cache on the src side, unfreezes it + * on the dest side, and increases its generation (see 'reset' in red_client_shared_cach.h). + * In order to enforce that images that are added to the cache by other channels + * will reach the client only after SPICE_MSG_DISPLAY_INVAL_ALL_PIXMAPS, + * we send SPICE_MSG_WAIT_FOR_CHANNELS + * (see the generation mismatch handling in 'add' in red_client_shared_cach.h). + */ + uint8_t pixmap_cache_id; + int64_t pixmap_cache_size; + uint8_t pixmap_cache_freezer; + uint64_t pixmap_cache_clients[MIGRATE_DATA_DISPLAY_MAX_CACHE_CLIENTS]; + + uint8_t glz_dict_id; + GlzEncDictRestoreData glz_dict_data; + + uint32_t surfaces_at_client_ptr; /* reference to MigrateDisplaySurfacesAtClientLossless/Lossy. + Lossy: when jpeg-wan-compression(qemu cmd line)=always + or when jpeg-wan-compression=auto, + and low_bandwidth_setting=TRUE */ + +} SpiceMigrateDataDisplay; + +typedef struct __attribute__ ((__packed__)) SpiceMigrateDataRect { + int32_t left; + int32_t top; + int32_t right; + int32_t bottom; +} SpiceMigrateDataRect; + +typedef struct __attribute__ ((__packed__)) MigrateDisplaySurfaceLossless { + uint32_t id; +} MigrateDisplaySurfaceLossless; + +typedef struct __attribute__ ((__packed__)) MigrateDisplaySurfaceLossy { + uint32_t id; + SpiceMigrateDataRect lossy_rect; +} MigrateDisplaySurfaceLossy; + +typedef struct __attribute__ ((__packed__)) MigrateDisplaySurfacesAtClientLossless { + uint32_t num_surfaces; + MigrateDisplaySurfaceLossless surfaces[0]; +} MigrateDisplaySurfacesAtClientLossless; + +typedef struct __attribute__ ((__packed__)) MigrateDisplaySurfacesAtClientLossy { + uint32_t num_surfaces; + MigrateDisplaySurfaceLossy surfaces[0]; +} MigrateDisplaySurfacesAtClientLossy; + +/* **************** + * inputs channel + * ***************/ + +#define SPICE_MIGRATE_DATA_INPUTS_VERSION 1 +#define SPICE_MIGRATE_DATA_INPUTS_MAGIC (*(uint32_t *)"ICMD") + + +typedef struct __attribute__ ((__packed__)) SpiceMigrateDataInputs { + uint16_t motion_count; +} SpiceMigrateDataInputs; + +static inline int migration_protocol_validate_header(SpiceMigrateDataHeader *header, + uint32_t magic, + uint32_t version) +{ + if (header->magic != magic) { + spice_error("bad magic %u (!= %u)", header->magic, magic); + return FALSE; + } + if (header->version > version) { + spice_error("unsupported version %u (> %u)", header->version, version); + return FALSE; + } + return TRUE; +} + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/mjpeg_encoder.c b/tizen/distrib/remote/server/spice-0.12.2/server/mjpeg_encoder.c new file mode 100644 index 0000000..b812ba0 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/mjpeg_encoder.c @@ -0,0 +1,288 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "red_common.h" +#include "mjpeg_encoder.h" +#include <jerror.h> +#include <jpeglib.h> + +struct MJpegEncoder { + uint8_t *row; + uint32_t row_size; + int first_frame; + int quality; + + struct jpeg_compress_struct cinfo; + struct jpeg_error_mgr jerr; + + unsigned int bytes_per_pixel; /* bytes per pixel of the input buffer */ + void (*pixel_converter)(uint8_t *src, uint8_t *dest); +}; + +MJpegEncoder *mjpeg_encoder_new(void) +{ + MJpegEncoder *enc; + + enc = spice_new0(MJpegEncoder, 1); + + enc->first_frame = TRUE; + enc->quality = 70; + enc->cinfo.err = jpeg_std_error(&enc->jerr); + jpeg_create_compress(&enc->cinfo); + + return enc; +} + +void mjpeg_encoder_destroy(MJpegEncoder *encoder) +{ + jpeg_destroy_compress(&encoder->cinfo); + free(encoder->row); + free(encoder); +} + +uint8_t mjpeg_encoder_get_bytes_per_pixel(MJpegEncoder *encoder) +{ + return encoder->bytes_per_pixel; +} + +#ifndef JCS_EXTENSIONS +/* Pixel conversion routines */ +static void pixel_rgb24bpp_to_24(uint8_t *src, uint8_t *dest) +{ + /* libjpegs stores rgb, spice/win32 stores bgr */ + *dest++ = src[2]; /* red */ + *dest++ = src[1]; /* green */ + *dest++ = src[0]; /* blue */ +} + +static void pixel_rgb32bpp_to_24(uint8_t *src, uint8_t *dest) +{ + uint32_t pixel = *(uint32_t *)src; + *dest++ = (pixel >> 16) & 0xff; + *dest++ = (pixel >> 8) & 0xff; + *dest++ = (pixel >> 0) & 0xff; +} +#endif + +static void pixel_rgb16bpp_to_24(uint8_t *src, uint8_t *dest) +{ + uint16_t pixel = *(uint16_t *)src; + *dest++ = ((pixel >> 7) & 0xf8) | ((pixel >> 12) & 0x7); + *dest++ = ((pixel >> 2) & 0xf8) | ((pixel >> 7) & 0x7); + *dest++ = ((pixel << 3) & 0xf8) | ((pixel >> 2) & 0x7); +} + + +/* code from libjpeg 8 to handle compression to a memory buffer + * + * Copyright (C) 1994-1996, Thomas G. Lane. + * Modified 2009 by Guido Vollbeding. + * This file is part of the Independent JPEG Group's software. + */ +typedef struct { + struct jpeg_destination_mgr pub; /* public fields */ + + unsigned char ** outbuffer; /* target buffer */ + size_t * outsize; + uint8_t * buffer; /* start of buffer */ + size_t bufsize; +} mem_destination_mgr; + +static void init_mem_destination(j_compress_ptr cinfo) +{ +} + +static boolean empty_mem_output_buffer(j_compress_ptr cinfo) +{ + size_t nextsize; + uint8_t * nextbuffer; + mem_destination_mgr *dest = (mem_destination_mgr *) cinfo->dest; + + /* Try to allocate new buffer with double size */ + nextsize = dest->bufsize * 2; + nextbuffer = malloc(nextsize); + + if (nextbuffer == NULL) + ERREXIT1(cinfo, JERR_OUT_OF_MEMORY, 10); + + memcpy(nextbuffer, dest->buffer, dest->bufsize); + + free(dest->buffer); + + dest->pub.next_output_byte = nextbuffer + dest->bufsize; + dest->pub.free_in_buffer = dest->bufsize; + + dest->buffer = nextbuffer; + dest->bufsize = nextsize; + + return TRUE; +} + +static void term_mem_destination(j_compress_ptr cinfo) +{ + mem_destination_mgr *dest = (mem_destination_mgr *) cinfo->dest; + + *dest->outbuffer = dest->buffer; + *dest->outsize = dest->bufsize; +} + +/* + * Prepare for output to a memory buffer. + * The caller may supply an own initial buffer with appropriate size. + * Otherwise, or when the actual data output exceeds the given size, + * the library adapts the buffer size as necessary. + * The standard library functions malloc/free are used for allocating + * larger memory, so the buffer is available to the application after + * finishing compression, and then the application is responsible for + * freeing the requested memory. + */ + +static void +spice_jpeg_mem_dest(j_compress_ptr cinfo, + unsigned char ** outbuffer, size_t * outsize) +{ + mem_destination_mgr *dest; +#define OUTPUT_BUF_SIZE 4096 /* choose an efficiently fwrite'able size */ + + if (outbuffer == NULL || outsize == NULL) /* sanity check */ + ERREXIT(cinfo, JERR_BUFFER_SIZE); + + /* The destination object is made permanent so that multiple JPEG images + * can be written to the same buffer without re-executing jpeg_mem_dest. + */ + if (cinfo->dest == NULL) { /* first time for this JPEG object? */ + cinfo->dest = spice_malloc(sizeof(mem_destination_mgr)); + } + + dest = (mem_destination_mgr *) cinfo->dest; + dest->pub.init_destination = init_mem_destination; + dest->pub.empty_output_buffer = empty_mem_output_buffer; + dest->pub.term_destination = term_mem_destination; + dest->outbuffer = outbuffer; + dest->outsize = outsize; + if (*outbuffer == NULL || *outsize == 0) { + /* Allocate initial buffer */ + *outbuffer = malloc(OUTPUT_BUF_SIZE); + if (*outbuffer == NULL) + ERREXIT1(cinfo, JERR_OUT_OF_MEMORY, 10); + *outsize = OUTPUT_BUF_SIZE; + } + + dest->pub.next_output_byte = dest->buffer = *outbuffer; + dest->pub.free_in_buffer = dest->bufsize = *outsize; +} +/* end of code from libjpeg */ + +int mjpeg_encoder_start_frame(MJpegEncoder *encoder, SpiceBitmapFmt format, + int width, int height, + uint8_t **dest, size_t *dest_len) +{ + encoder->cinfo.in_color_space = JCS_RGB; + encoder->cinfo.input_components = 3; + encoder->pixel_converter = NULL; + + switch (format) { + case SPICE_BITMAP_FMT_32BIT: + case SPICE_BITMAP_FMT_RGBA: + encoder->bytes_per_pixel = 4; +#ifdef JCS_EXTENSIONS + encoder->cinfo.in_color_space = JCS_EXT_BGRX; + encoder->cinfo.input_components = 4; +#else + encoder->pixel_converter = pixel_rgb32bpp_to_24; +#endif + break; + case SPICE_BITMAP_FMT_16BIT: + encoder->bytes_per_pixel = 2; + encoder->pixel_converter = pixel_rgb16bpp_to_24; + break; + case SPICE_BITMAP_FMT_24BIT: + encoder->bytes_per_pixel = 3; +#ifdef JCS_EXTENSIONS + encoder->cinfo.in_color_space = JCS_EXT_BGR; +#else + encoder->pixel_converter = pixel_rgb24bpp_to_24; +#endif + break; + default: + spice_warning("unsupported format %d", format); + return FALSE; + } + + if (encoder->pixel_converter != NULL) { + unsigned int stride = width * 3; + /* check for integer overflow */ + if (stride < width) { + return FALSE; + } + if (encoder->row_size < stride) { + encoder->row = spice_realloc(encoder->row, stride); + encoder->row_size = stride; + } + } + + spice_jpeg_mem_dest(&encoder->cinfo, dest, dest_len); + + encoder->cinfo.image_width = width; + encoder->cinfo.image_height = height; + jpeg_set_defaults(&encoder->cinfo); + encoder->cinfo.dct_method = JDCT_IFAST; + jpeg_set_quality(&encoder->cinfo, encoder->quality, TRUE); + jpeg_start_compress(&encoder->cinfo, encoder->first_frame); + + return TRUE; +} + +int mjpeg_encoder_encode_scanline(MJpegEncoder *encoder, uint8_t *src_pixels, + size_t image_width) +{ + unsigned int scanlines_written; + uint8_t *row; + + row = encoder->row; + if (encoder->pixel_converter) { + unsigned int x; + for (x = 0; x < image_width; x++) { + encoder->pixel_converter(src_pixels, row); + row += 3; + src_pixels += encoder->bytes_per_pixel; + } + scanlines_written = jpeg_write_scanlines(&encoder->cinfo, &encoder->row, 1); + } else { + scanlines_written = jpeg_write_scanlines(&encoder->cinfo, &src_pixels, 1); + } + if (scanlines_written == 0) { /* Not enough space */ + jpeg_abort_compress(&encoder->cinfo); + return 0; + } + + return scanlines_written; +} + +size_t mjpeg_encoder_end_frame(MJpegEncoder *encoder) +{ + mem_destination_mgr *dest = (mem_destination_mgr *) encoder->cinfo.dest; + + jpeg_finish_compress(&encoder->cinfo); + + encoder->first_frame = FALSE; + return dest->pub.next_output_byte - dest->buffer; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/mjpeg_encoder.h b/tizen/distrib/remote/server/spice-0.12.2/server/mjpeg_encoder.h new file mode 100644 index 0000000..b9a2ed7 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/mjpeg_encoder.h @@ -0,0 +1,43 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_MJPEG_ENCODER +#define _H_MJPEG_ENCODER + +#include "red_common.h" + +typedef struct MJpegEncoder MJpegEncoder; + +MJpegEncoder *mjpeg_encoder_new(void); +void mjpeg_encoder_destroy(MJpegEncoder *encoder); + +uint8_t mjpeg_encoder_get_bytes_per_pixel(MJpegEncoder *encoder); + +/* + * *dest must be either NULL or allocated by malloc, since it might be freed + * during the encoding, if its size is too small. + */ +int mjpeg_encoder_start_frame(MJpegEncoder *encoder, SpiceBitmapFmt format, + int width, int height, + uint8_t **dest, size_t *dest_len); +int mjpeg_encoder_encode_scanline(MJpegEncoder *encoder, uint8_t *src_pixels, + size_t image_width); +size_t mjpeg_encoder_end_frame(MJpegEncoder *encoder); + + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/red_bitmap_utils.h b/tizen/distrib/remote/server/spice-0.12.2/server/red_bitmap_utils.h new file mode 100644 index 0000000..6d508a7 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/red_bitmap_utils.h @@ -0,0 +1,161 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifdef RED_BITMAP_UTILS_RGB16 +#define PIXEL rgb16_pixel_t +#define FNAME(name) name##_rgb16 +#define GET_r(pix) (((pix) >> 10) & 0x1f) +#define GET_g(pix) (((pix) >> 5) & 0x1f) +#define GET_b(pix) ((pix) & 0x1f) +#endif + +#if defined(RED_BITMAP_UTILS_RGB24) || defined(RED_BITMAP_UTILS_RGB32) +#define GET_r(pix) ((pix).r) +#define GET_g(pix) ((pix).g) +#define GET_b(pix) ((pix).b) +#endif + +#ifdef RED_BITMAP_UTILS_RGB24 +#define PIXEL rgb24_pixel_t +#define FNAME(name) name##_rgb24 +#endif + +#ifdef RED_BITMAP_UTILS_RGB32 +#define PIXEL rgb32_pixel_t +#define FNAME(name) name##_rgb32 +#endif + + +#define SAME_PIXEL_WEIGHT 0.5 +#define NOT_CONTRAST_PIXELS_WEIGHT -0.25 +#define CONTRAST_PIXELS_WEIGHT 1.0 + +#ifndef RED_BITMAP_UTILS_RGB16 +#define CONTRAST_TH 60 +#else +#define CONTRAST_TH 8 +#endif + + +#define SAMPLE_JUMP 15 +#define SAME_PIXEL(p1, p2) (GET_r(p1) == GET_r(p2) && GET_g(p1) == GET_g(p2) && \ + GET_b(p1) == GET_b(p2)) + +static const double FNAME(PIX_PAIR_SCORE)[] = { + SAME_PIXEL_WEIGHT, + CONTRAST_PIXELS_WEIGHT, + NOT_CONTRAST_PIXELS_WEIGHT, +}; + +// return 0 - equal, 1 - for contrast, 2 for no contrast (PIX_PAIR_SCORE is defined accordingly) +static inline int FNAME(pixelcmp)(PIXEL p1, PIXEL p2) +{ + int diff = ABS(GET_r(p1) - GET_r(p2)); + int equal; + + if (diff >= CONTRAST_TH) { + return 1; + } + equal = !diff; + + diff = ABS(GET_g(p1) - GET_g(p2)); + + if (diff >= CONTRAST_TH) { + return 1; + } + + equal = equal && !diff; + + diff = ABS(GET_b(p1) - GET_b(p2)); + if (diff >= CONTRAST_TH) { + return 1; + } + equal = equal && !diff; + + if (equal) { + return 0; + } else { + return 2; + } +} + +static inline double FNAME(pixels_square_score)(PIXEL *line1, PIXEL *line2) +{ + double ret = 0.0; + int all_ident = TRUE; + int cmp_res; + cmp_res = FNAME(pixelcmp)(*line1, line1[1]); + all_ident = all_ident && (!cmp_res); + ret += FNAME(PIX_PAIR_SCORE)[cmp_res]; + cmp_res = FNAME(pixelcmp)(*line1, *line2); + all_ident = all_ident && (!cmp_res); + ret += FNAME(PIX_PAIR_SCORE)[cmp_res]; + cmp_res = FNAME(pixelcmp)(*line1, line2[1]); + all_ident = all_ident && (!cmp_res); + ret += FNAME(PIX_PAIR_SCORE)[cmp_res]; + + // ignore squares where all pixels are identical + if (all_ident) { + ret -= (FNAME(PIX_PAIR_SCORE)[0]) * 3; + } + + return ret; +} + +static void FNAME(compute_lines_gradual_score)(PIXEL *lines, int width, int num_lines, + double *o_samples_sum_score, int *o_num_samples) +{ + int jump = (SAMPLE_JUMP % width) ? SAMPLE_JUMP : SAMPLE_JUMP - 1; + PIXEL *cur_pix = lines + width / 2; + PIXEL *bottom_pix; + PIXEL *last_line = lines + (num_lines - 1) * width; + + if ((width <= 1) || (num_lines <= 1)) { + *o_num_samples = 1; + *o_samples_sum_score = 1.0; + return; + } + + *o_samples_sum_score = 0; + *o_num_samples = 0; + + while (cur_pix < last_line) { + if ((cur_pix + 1 - lines) % width == 0) { // last pixel in the row + cur_pix--; // jump is bigger than 1 so we will not enter endless loop + } + bottom_pix = cur_pix + width; + (*o_samples_sum_score) += FNAME(pixels_square_score)(cur_pix, bottom_pix); + (*o_num_samples)++; + cur_pix += jump; + } + + (*o_num_samples) *= 3; +} + +#undef PIXEL +#undef FNAME +#undef SAME_PIXEL +#undef GET_r +#undef GET_g +#undef GET_b +#undef RED_BITMAP_UTILS_RGB16 +#undef RED_BITMAP_UTILS_RGB24 +#undef RED_BITMAP_UTILS_RGB32 +#undef SAMPLE_JUMP +#undef CONTRAST_TH +#undef SAME_PIXEL_WEIGHT +#undef NOT_CONTRAST_PIXELS_WEIGHT diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/red_channel.c b/tizen/distrib/remote/server/spice-0.12.2/server/red_channel.c new file mode 100644 index 0000000..f59af46 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/red_channel.c @@ -0,0 +1,1931 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. + + + Author: + yhalperi@redhat.com +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <stdio.h> +#include <stdint.h> +#include <netinet/in.h> +#include <netinet/tcp.h> +#include <fcntl.h> +#include <unistd.h> +#include <errno.h> + +#include "common/generated_server_marshallers.h" +#include "common/ring.h" + +#include "stat.h" +#include "red_channel.h" +#include "reds.h" +#include "main_dispatcher.h" + +typedef struct EmptyMsgPipeItem { + PipeItem base; + int msg; +} EmptyMsgPipeItem; + +#ifdef CONFIG_MARU +typedef struct SdbPortPipeItem { + PipeItem base; + int msg; +} SdbPortPipeItem; +#endif + +static void red_channel_client_event(int fd, int event, void *data); +static void red_client_add_channel(RedClient *client, RedChannelClient *rcc); +static void red_client_remove_channel(RedChannelClient *rcc); +static RedChannelClient *red_client_get_channel(RedClient *client, int type, int id); +static void red_channel_client_restore_main_sender(RedChannelClient *rcc); + +/* + * Lifetime of RedChannel, RedChannelClient and RedClient: + * RedChannel is created and destroyed by the calls to + * red_channel_create.* and red_channel_destroy. The RedChannel resources + * are deallocated only after red_channel_destroy is called and no RedChannelClient + * refers to the channel. + * RedChannelClient is created and destroyed by the calls to red_channel_client_create + * and red_channel_client_destroy. RedChannelClient resources are deallocated only when + * its refs == 0. The reference count of RedChannelClient can be increased by routines + * that include calls that might destroy the red_channel_client. For example, + * red_peer_handle_incoming calls the handle_message proc of the channel, which + * might lead to destroying the client. However, after the call to handle_message, + * there is a call to the channel's release_msg_buf proc. + * + * Once red_channel_client_destroy is called, the RedChannelClient is disconnected and + * removed from the RedChannel clients list, but if rcc->refs != 0, it will still hold + * a reference to the Channel. The reason for this is that on the one hand RedChannel holds + * callbacks that may be still in use by RedChannel, and on the other hand, + * when an operation is performed on the list of clients that belongs to the channel, + * we don't want to execute it on the "to be destroyed" channel client. + * + * RedClient is created and destroyed by the calls to red_client_new and red_client_destroy. + * When it is destroyed, it also disconnects and destroys all the RedChannelClients that + * are associated with it. However, since part of these channel clients may still have + * other references, they will not be completely released, until they are dereferenced. + * + * Note: red_channel_client_destroy is not thread safe, and still it is called from + * red_client_destroy (from the client's thread). However, since before this call, + * red_client_destroy calls rcc->channel->client_cbs.disconnect(rcc), which is synchronous, + * we assume that if the channel is in another thread, it does no longer have references to + * this channel client. + * If a call to red_channel_client_destroy is made from another location, it must be called + * from the channel's thread. +*/ +static void red_channel_ref(RedChannel *channel); +static void red_channel_unref(RedChannel *channel); +static void red_channel_client_ref(RedChannelClient *rcc); +static void red_channel_client_unref(RedChannelClient *rcc); + +static uint32_t full_header_get_msg_size(SpiceDataHeaderOpaque *header) +{ + return ((SpiceDataHeader *)header->data)->size; +} + +static uint32_t mini_header_get_msg_size(SpiceDataHeaderOpaque *header) +{ + return ((SpiceMiniDataHeader *)header->data)->size; +} + +static uint16_t full_header_get_msg_type(SpiceDataHeaderOpaque *header) +{ + return ((SpiceDataHeader *)header->data)->type; +} + +static uint16_t mini_header_get_msg_type(SpiceDataHeaderOpaque *header) +{ + return ((SpiceMiniDataHeader *)header->data)->type; +} + +static void full_header_set_msg_type(SpiceDataHeaderOpaque *header, uint16_t type) +{ + ((SpiceDataHeader *)header->data)->type = type; +} + +static void mini_header_set_msg_type(SpiceDataHeaderOpaque *header, uint16_t type) +{ + ((SpiceMiniDataHeader *)header->data)->type = type; +} + +static void full_header_set_msg_size(SpiceDataHeaderOpaque *header, uint32_t size) +{ + ((SpiceDataHeader *)header->data)->size = size; +} + +static void mini_header_set_msg_size(SpiceDataHeaderOpaque *header, uint32_t size) +{ + ((SpiceMiniDataHeader *)header->data)->size = size; +} + +static void full_header_set_msg_serial(SpiceDataHeaderOpaque *header, uint64_t serial) +{ + ((SpiceDataHeader *)header->data)->serial = serial; +} + +static void mini_header_set_msg_serial(SpiceDataHeaderOpaque *header, uint64_t serial) +{ + spice_error("attempt to set header serial on mini header"); +} + +static void full_header_set_msg_sub_list(SpiceDataHeaderOpaque *header, uint32_t sub_list) +{ + ((SpiceDataHeader *)header->data)->sub_list = sub_list; +} + +static void mini_header_set_msg_sub_list(SpiceDataHeaderOpaque *header, uint32_t sub_list) +{ + spice_error("attempt to set header sub list on mini header"); +} + +static SpiceDataHeaderOpaque full_header_wrapper = {NULL, sizeof(SpiceDataHeader), + full_header_set_msg_type, + full_header_set_msg_size, + full_header_set_msg_serial, + full_header_set_msg_sub_list, + full_header_get_msg_type, + full_header_get_msg_size}; + +static SpiceDataHeaderOpaque mini_header_wrapper = {NULL, sizeof(SpiceMiniDataHeader), + mini_header_set_msg_type, + mini_header_set_msg_size, + mini_header_set_msg_serial, + mini_header_set_msg_sub_list, + mini_header_get_msg_type, + mini_header_get_msg_size}; + +/* return the number of bytes read. -1 in case of error */ +static int red_peer_receive(RedsStream *stream, uint8_t *buf, uint32_t size) +{ + uint8_t *pos = buf; + while (size) { + int now; + if (stream->shutdown) { + return -1; + } + now = reds_stream_read(stream, pos, size); + if (now <= 0) { + if (now == 0) { + return -1; + } + spice_assert(now == -1); + if (errno == EAGAIN) { + break; + } else if (errno == EINTR) { + continue; + } else if (errno == EPIPE) { + return -1; + } else { + spice_printerr("%s", strerror(errno)); + return -1; + } + } else { + size -= now; + pos += now; + } + } + return pos - buf; +} + +// TODO: this implementation, as opposed to the old implementation in red_worker, +// does many calls to red_peer_receive and through it cb_read, and thus avoids pointer +// arithmetic for the case where a single cb_read could return multiple messages. But +// this is suboptimal potentially. Profile and consider fixing. +static void red_peer_handle_incoming(RedsStream *stream, IncomingHandler *handler) +{ + int bytes_read; + uint8_t *parsed; + size_t parsed_size; + message_destructor_t parsed_free; + uint16_t msg_type; + uint32_t msg_size; + + /* XXX: This needs further investigation as to the underlying cause, it happened + * after spicec disconnect (but not with spice-gtk) repeatedly. */ + if (!stream) { + return; + } + + for (;;) { + int ret_handle; + if (handler->header_pos < handler->header.header_size) { + bytes_read = red_peer_receive(stream, + handler->header.data + handler->header_pos, + handler->header.header_size - handler->header_pos); + if (bytes_read == -1) { + handler->cb->on_error(handler->opaque); + return; + } + handler->header_pos += bytes_read; + + if (handler->header_pos != handler->header.header_size) { + return; + } + } + + msg_size = handler->header.get_msg_size(&handler->header); + msg_type = handler->header.get_msg_type(&handler->header); + if (handler->msg_pos < msg_size) { + if (!handler->msg) { + handler->msg = handler->cb->alloc_msg_buf(handler->opaque, msg_type, msg_size); + if (handler->msg == NULL) { + spice_printerr("ERROR: channel refused to allocate buffer."); + handler->cb->on_error(handler->opaque); + return; + } + } + + bytes_read = red_peer_receive(stream, + handler->msg + handler->msg_pos, + msg_size - handler->msg_pos); + if (bytes_read == -1) { + handler->cb->release_msg_buf(handler->opaque, msg_type, msg_size, handler->msg); + handler->cb->on_error(handler->opaque); + return; + } + handler->msg_pos += bytes_read; + if (handler->msg_pos != msg_size) { + return; + } + } + + if (handler->cb->parser) { + parsed = handler->cb->parser(handler->msg, + handler->msg + msg_size, msg_type, + SPICE_VERSION_MINOR, &parsed_size, &parsed_free); + if (parsed == NULL) { + spice_printerr("failed to parse message type %d", msg_type); + handler->cb->release_msg_buf(handler->opaque, msg_type, msg_size, handler->msg); + handler->cb->on_error(handler->opaque); + return; + } + ret_handle = handler->cb->handle_parsed(handler->opaque, parsed_size, + msg_type, parsed); + parsed_free(parsed); + } else { + ret_handle = handler->cb->handle_message(handler->opaque, msg_type, msg_size, + handler->msg); + } + handler->msg_pos = 0; + handler->cb->release_msg_buf(handler->opaque, msg_type, msg_size, handler->msg); + handler->msg = NULL; + handler->header_pos = 0; + + if (!ret_handle) { + handler->cb->on_error(handler->opaque); + return; + } + } +} + +void red_channel_client_receive(RedChannelClient *rcc) +{ + red_channel_client_ref(rcc); + red_peer_handle_incoming(rcc->stream, &rcc->incoming); + red_channel_client_unref(rcc); +} + +void red_channel_receive(RedChannel *channel) +{ + RingItem *link; + RingItem *next; + RedChannelClient *rcc; + + RING_FOREACH_SAFE(link, next, &channel->clients) { + rcc = SPICE_CONTAINEROF(link, RedChannelClient, channel_link); + red_channel_client_receive(rcc); + } +} + +static void red_peer_handle_outgoing(RedsStream *stream, OutgoingHandler *handler) +{ + ssize_t n; + + if (!stream) { + return; + } + + if (handler->size == 0) { + handler->vec = handler->vec_buf; + handler->size = handler->cb->get_msg_size(handler->opaque); + if (!handler->size) { // nothing to be sent +// return; + handler->size = handler->vec->iov_len; + } + } + + for (;;) { + handler->cb->prepare(handler->opaque, handler->vec, &handler->vec_size, handler->pos); + n = reds_stream_writev(stream, handler->vec, handler->vec_size); + if (n == -1) { + switch (errno) { + case EAGAIN: + handler->cb->on_block(handler->opaque); + return; + case EINTR: + continue; + case EPIPE: + handler->cb->on_error(handler->opaque); + return; + default: + spice_printerr("%s", strerror(errno)); + handler->cb->on_error(handler->opaque); + return; + } + } else { + handler->pos += n; + handler->cb->on_output(handler->opaque, n); + if (handler->pos == handler->size) { // finished writing data + /* reset handler before calling on_msg_done, since it + * can trigger another call to red_peer_handle_outgoing (when + * switching from the urgent marshaller to the main one */ + handler->vec = handler->vec_buf; + handler->pos = 0; + handler->size = 0; + handler->cb->on_msg_done(handler->opaque); + return; + } + } + } +} + +static void red_channel_client_on_output(void *opaque, int n) +{ + RedChannelClient *rcc = opaque; + + stat_inc_counter(rcc->channel->out_bytes_counter, n); +} + +static void red_channel_client_default_peer_on_error(RedChannelClient *rcc) +{ + red_channel_client_disconnect(rcc); +} + +static int red_channel_client_peer_get_out_msg_size(void *opaque) +{ + RedChannelClient *rcc = (RedChannelClient *)opaque; + + return rcc->send_data.size; +} + +static void red_channel_client_peer_prepare_out_msg( + void *opaque, struct iovec *vec, int *vec_size, int pos) +{ + RedChannelClient *rcc = (RedChannelClient *)opaque; + + *vec_size = spice_marshaller_fill_iovec(rcc->send_data.marshaller, + vec, IOV_MAX, pos); +} + +static void red_channel_client_peer_on_out_block(void *opaque) +{ + RedChannelClient *rcc = (RedChannelClient *)opaque; + + rcc->send_data.blocked = TRUE; + rcc->channel->core->watch_update_mask(rcc->stream->watch, + SPICE_WATCH_EVENT_READ | + SPICE_WATCH_EVENT_WRITE); +} + +static inline int red_channel_client_urgent_marshaller_is_active(RedChannelClient *rcc) +{ + return (rcc->send_data.marshaller == rcc->send_data.urgent.marshaller); +} + +static void red_channel_client_reset_send_data(RedChannelClient *rcc) +{ + spice_marshaller_reset(rcc->send_data.marshaller); + rcc->send_data.header.data = spice_marshaller_reserve_space(rcc->send_data.marshaller, + rcc->send_data.header.header_size); + spice_marshaller_set_base(rcc->send_data.marshaller, rcc->send_data.header.header_size); + rcc->send_data.header.set_msg_type(&rcc->send_data.header, 0); + rcc->send_data.header.set_msg_size(&rcc->send_data.header, 0); + + /* Keeping the serial consecutive: reseting it if reset_send_data + * has been called before, but no message has been sent since then. + */ + if (rcc->send_data.last_sent_serial != rcc->send_data.serial) { + spice_assert(rcc->send_data.serial - rcc->send_data.last_sent_serial == 1); + /* When the urgent marshaller is active, the serial was incremented by + * the call to reset_send_data that was made for the main marshaller. + * The urgent msg receives this serial, and the main msg serial is + * the following one. Thus, (rcc->send_data.serial - rcc->send_data.last_sent_serial) + * should be 1 in this case*/ + if (!red_channel_client_urgent_marshaller_is_active(rcc)) { + rcc->send_data.serial = rcc->send_data.last_sent_serial; + } + } + rcc->send_data.serial++; + + if (!rcc->is_mini_header) { + spice_assert(rcc->send_data.marshaller != rcc->send_data.urgent.marshaller); + rcc->send_data.header.set_msg_sub_list(&rcc->send_data.header, 0); + rcc->send_data.header.set_msg_serial(&rcc->send_data.header, rcc->send_data.serial); + } +} + +void red_channel_client_push_set_ack(RedChannelClient *rcc) +{ + red_channel_client_pipe_add_type(rcc, PIPE_ITEM_TYPE_SET_ACK); +} + +void red_channel_push_set_ack(RedChannel *channel) +{ + red_channel_pipes_add_type(channel, PIPE_ITEM_TYPE_SET_ACK); +} + +static void red_channel_client_send_set_ack(RedChannelClient *rcc) +{ + SpiceMsgSetAck ack; + + spice_assert(rcc); + red_channel_client_init_send_data(rcc, SPICE_MSG_SET_ACK, NULL); + ack.generation = ++rcc->ack_data.generation; + ack.window = rcc->ack_data.client_window; + rcc->ack_data.messages_window = 0; + + spice_marshall_msg_set_ack(rcc->send_data.marshaller, &ack); + + red_channel_client_begin_send_message(rcc); +} + +static void red_channel_client_send_migrate(RedChannelClient *rcc) +{ + SpiceMsgMigrate migrate; + + red_channel_client_init_send_data(rcc, SPICE_MSG_MIGRATE, NULL); + migrate.flags = rcc->channel->migration_flags; + spice_marshall_msg_migrate(rcc->send_data.marshaller, &migrate); + if (rcc->channel->migration_flags & SPICE_MIGRATE_NEED_FLUSH) { + rcc->wait_migrate_flush_mark = TRUE; + } + + red_channel_client_begin_send_message(rcc); +} + + +static void red_channel_client_send_empty_msg(RedChannelClient *rcc, PipeItem *base) +{ + EmptyMsgPipeItem *msg_pipe_item = SPICE_CONTAINEROF(base, EmptyMsgPipeItem, base); + + red_channel_client_init_send_data(rcc, msg_pipe_item->msg, NULL); + red_channel_client_begin_send_message(rcc); +} + +#ifdef CONFIG_MARU +static void red_channel_client_send_sdb_port(RedChannelClient *rcc, PipeItem *base) +{ + SdbPortPipeItem *msg_pipe_item = SPICE_CONTAINEROF(base, SdbPortPipeItem, base); + + red_channel_client_init_send_data(rcc, msg_pipe_item->msg, NULL); + red_channel_client_begin_send_message(rcc); +} +#endif + +static void red_channel_client_send_item(RedChannelClient *rcc, PipeItem *item) +{ + int handled = TRUE; + + spice_assert(red_channel_client_no_item_being_sent(rcc)); + red_channel_client_reset_send_data(rcc); + switch (item->type) { + case PIPE_ITEM_TYPE_SET_ACK: + red_channel_client_send_set_ack(rcc); + free(item); + break; + case PIPE_ITEM_TYPE_MIGRATE: + red_channel_client_send_migrate(rcc); + free(item); + break; + case PIPE_ITEM_TYPE_EMPTY_MSG: + red_channel_client_send_empty_msg(rcc, item); + free(item); + break; +#ifdef CONFIG_MARU + case PIPE_ITEM_TYPE_SDB_PORT: + red_channel_client_send_sdb_port(rcc, item); + break; +#endif + default: + handled = FALSE; + } + if (!handled) { + rcc->channel->channel_cbs.send_item(rcc, item); + } +} + +static void red_channel_client_release_item(RedChannelClient *rcc, PipeItem *item, int item_pushed) +{ + int handled = TRUE; + + switch (item->type) { + case PIPE_ITEM_TYPE_SET_ACK: + free(item); + break; + default: + handled = FALSE; + } + if (!handled) { + rcc->channel->channel_cbs.release_item(rcc, item, item_pushed); + } +} + +static inline void red_channel_client_release_sent_item(RedChannelClient *rcc) +{ + if (rcc->send_data.item) { + red_channel_client_release_item(rcc, + rcc->send_data.item, TRUE); + rcc->send_data.item = NULL; + } +} + +static void red_channel_peer_on_out_msg_done(void *opaque) +{ + RedChannelClient *rcc = (RedChannelClient *)opaque; + + rcc->send_data.size = 0; + red_channel_client_release_sent_item(rcc); + if (rcc->send_data.blocked) { + rcc->send_data.blocked = FALSE; + rcc->channel->core->watch_update_mask(rcc->stream->watch, + SPICE_WATCH_EVENT_READ); + } + + if (red_channel_client_urgent_marshaller_is_active(rcc)) { + red_channel_client_restore_main_sender(rcc); + spice_assert(rcc->send_data.header.data != NULL); + red_channel_client_begin_send_message(rcc); + } +} + +static void red_channel_client_pipe_remove(RedChannelClient *rcc, PipeItem *item) +{ + rcc->pipe_size--; + ring_remove(&item->link); +} + +static void red_channel_add_client(RedChannel *channel, RedChannelClient *rcc) +{ + spice_assert(rcc); + ring_add(&channel->clients, &rcc->channel_link); + channel->clients_num++; +} + +static void red_channel_client_set_remote_caps(RedChannelClient* rcc, + int num_common_caps, uint32_t *common_caps, + int num_caps, uint32_t *caps) +{ + rcc->remote_caps.num_common_caps = num_common_caps; + rcc->remote_caps.common_caps = spice_memdup(common_caps, num_common_caps * sizeof(uint32_t)); + + rcc->remote_caps.num_caps = num_caps; + rcc->remote_caps.caps = spice_memdup(caps, num_caps * sizeof(uint32_t)); +} + +static void red_channel_client_destroy_remote_caps(RedChannelClient* rcc) +{ + rcc->remote_caps.num_common_caps = 0; + free(rcc->remote_caps.common_caps); + rcc->remote_caps.num_caps = 0; + free(rcc->remote_caps.caps); +} + +int red_channel_client_test_remote_common_cap(RedChannelClient *rcc, uint32_t cap) +{ + return test_capabilty(rcc->remote_caps.common_caps, + rcc->remote_caps.num_common_caps, + cap); +} + +int red_channel_client_test_remote_cap(RedChannelClient *rcc, uint32_t cap) +{ + return test_capabilty(rcc->remote_caps.caps, + rcc->remote_caps.num_caps, + cap); +} + +int red_channel_test_remote_common_cap(RedChannel *channel, uint32_t cap) +{ + RingItem *link; + + RING_FOREACH(link, &channel->clients) { + RedChannelClient *rcc = SPICE_CONTAINEROF(link, RedChannelClient, channel_link); + + if (!red_channel_client_test_remote_common_cap(rcc, cap)) { + return FALSE; + } + } + return TRUE; +} + +int red_channel_test_remote_cap(RedChannel *channel, uint32_t cap) +{ + RingItem *link; + + RING_FOREACH(link, &channel->clients) { + RedChannelClient *rcc = SPICE_CONTAINEROF(link, RedChannelClient, channel_link); + + if (!red_channel_client_test_remote_cap(rcc, cap)) { + return FALSE; + } + } + return TRUE; +} + +static int red_channel_client_pre_create_validate(RedChannel *channel, RedClient *client) +{ + if (red_client_get_channel(client, channel->type, channel->id)) { + spice_printerr("Error client %p: duplicate channel type %d id %d", + client, channel->type, channel->id); + return FALSE; + } + return TRUE; +} + +RedChannelClient *red_channel_client_create(int size, RedChannel *channel, RedClient *client, + RedsStream *stream, + int num_common_caps, uint32_t *common_caps, + int num_caps, uint32_t *caps) +{ + RedChannelClient *rcc = NULL; + + pthread_mutex_lock(&client->lock); + if (!red_channel_client_pre_create_validate(channel, client)) { + goto error; + } + spice_assert(stream && channel && size >= sizeof(RedChannelClient)); + rcc = spice_malloc0(size); + rcc->stream = stream; + rcc->channel = channel; + rcc->client = client; + rcc->refs = 1; + rcc->ack_data.messages_window = ~0; // blocks send message (maybe use send_data.blocked + + // block flags) + rcc->ack_data.client_generation = ~0; + rcc->ack_data.client_window = CLIENT_ACK_WINDOW; + rcc->send_data.main.marshaller = spice_marshaller_new(); + rcc->send_data.urgent.marshaller = spice_marshaller_new(); + + rcc->send_data.marshaller = rcc->send_data.main.marshaller; + + rcc->incoming.opaque = rcc; + rcc->incoming.cb = &channel->incoming_cb; + + rcc->outgoing.opaque = rcc; + rcc->outgoing.cb = &channel->outgoing_cb; + rcc->outgoing.pos = 0; + rcc->outgoing.size = 0; + + red_channel_client_set_remote_caps(rcc, num_common_caps, common_caps, num_caps, caps); + if (red_channel_client_test_remote_common_cap(rcc, SPICE_COMMON_CAP_MINI_HEADER)) { + rcc->incoming.header = mini_header_wrapper; + rcc->send_data.header = mini_header_wrapper; + rcc->is_mini_header = TRUE; + } else { + rcc->incoming.header = full_header_wrapper; + rcc->send_data.header = full_header_wrapper; + rcc->is_mini_header = FALSE; + } + + rcc->incoming.header.data = rcc->incoming.header_buf; + rcc->incoming.serial = 1; + + if (!channel->channel_cbs.config_socket(rcc)) { + goto error; + } + + ring_init(&rcc->pipe); + rcc->pipe_size = 0; + + stream->watch = channel->core->watch_add(stream->socket, + SPICE_WATCH_EVENT_READ, + red_channel_client_event, rcc); + rcc->id = channel->clients_num; + red_channel_add_client(channel, rcc); + red_client_add_channel(client, rcc); + red_channel_ref(channel); + pthread_mutex_unlock(&client->lock); + return rcc; +error: + free(rcc); + reds_stream_free(stream); + pthread_mutex_unlock(&client->lock); + return NULL; +} + +static void red_channel_client_seamless_migration_done(RedChannelClient *rcc) +{ + rcc->wait_migrate_data = FALSE; + + pthread_mutex_lock(&rcc->client->lock); + rcc->client->num_migrated_channels--; + + /* we assume we always have at least one channel who has migration data transfer, + * otherwise, this flag will never be set back to FALSE*/ + if (!rcc->client->num_migrated_channels) { + rcc->client->during_target_migrate = FALSE; + rcc->client->seamless_migrate = FALSE; + /* migration completion might have been triggered from a different thread + * than the main thread */ + main_dispatcher_seamless_migrate_dst_complete(rcc->client); + } + pthread_mutex_unlock(&rcc->client->lock); +} + +int red_channel_client_waits_for_migrate_data(RedChannelClient *rcc) +{ + return rcc->wait_migrate_data; +} + +int red_channel_waits_for_migrate_data(RedChannel *channel) +{ + RedChannelClient *rcc; + + if (!red_channel_is_connected(channel)) { + return FALSE; + } + + if (channel->clients_num > 1) { + return FALSE; + } + spice_assert(channel->clients_num == 1); + rcc = SPICE_CONTAINEROF(ring_get_head(&channel->clients), RedChannelClient, channel_link); + return red_channel_client_waits_for_migrate_data(rcc); +} + +static void red_channel_client_default_connect(RedChannel *channel, RedClient *client, + RedsStream *stream, + int migration, + int num_common_caps, uint32_t *common_caps, + int num_caps, uint32_t *caps) +{ + spice_error("not implemented"); +} + +static void red_channel_client_default_disconnect(RedChannelClient *base) +{ + red_channel_client_disconnect(base); +} + +void red_channel_client_default_migrate(RedChannelClient *rcc) +{ + red_channel_client_pipe_add_type(rcc, PIPE_ITEM_TYPE_MIGRATE); +} + +RedChannel *red_channel_create(int size, + SpiceCoreInterface *core, + uint32_t type, uint32_t id, + int handle_acks, + channel_handle_message_proc handle_message, + ChannelCbs *channel_cbs, + uint32_t migration_flags) +{ + RedChannel *channel; + ClientCbs client_cbs = { NULL, }; + + spice_assert(size >= sizeof(*channel)); + spice_assert(channel_cbs->config_socket && channel_cbs->on_disconnect && handle_message && + channel_cbs->alloc_recv_buf && channel_cbs->release_item); + spice_assert(channel_cbs->handle_migrate_data || + !(migration_flags & SPICE_MIGRATE_NEED_DATA_TRANSFER)); + channel = spice_malloc0(size); + channel->type = type; + channel->id = id; + channel->refs = 1; + channel->handle_acks = handle_acks; + channel->migration_flags = migration_flags; + memcpy(&channel->channel_cbs, channel_cbs, sizeof(ChannelCbs)); + + channel->core = core; + ring_init(&channel->clients); + + // TODO: send incoming_cb as parameters instead of duplicating? + channel->incoming_cb.alloc_msg_buf = (alloc_msg_recv_buf_proc)channel_cbs->alloc_recv_buf; + channel->incoming_cb.release_msg_buf = (release_msg_recv_buf_proc)channel_cbs->release_recv_buf; + channel->incoming_cb.handle_message = (handle_message_proc)handle_message; + channel->incoming_cb.on_error = + (on_incoming_error_proc)red_channel_client_default_peer_on_error; + channel->outgoing_cb.get_msg_size = red_channel_client_peer_get_out_msg_size; + channel->outgoing_cb.prepare = red_channel_client_peer_prepare_out_msg; + channel->outgoing_cb.on_block = red_channel_client_peer_on_out_block; + channel->outgoing_cb.on_error = + (on_outgoing_error_proc)red_channel_client_default_peer_on_error; + channel->outgoing_cb.on_msg_done = red_channel_peer_on_out_msg_done; + channel->outgoing_cb.on_output = red_channel_client_on_output; + + client_cbs.connect = red_channel_client_default_connect; + client_cbs.disconnect = red_channel_client_default_disconnect; + client_cbs.migrate = red_channel_client_default_migrate; + + red_channel_register_client_cbs(channel, &client_cbs); + red_channel_set_common_cap(channel, SPICE_COMMON_CAP_MINI_HEADER); + + channel->thread_id = pthread_self(); + + channel->out_bytes_counter = 0; + + return channel; +} + +// TODO: red_worker can use this one +static void dummy_watch_update_mask(SpiceWatch *watch, int event_mask) +{ +} + +static SpiceWatch *dummy_watch_add(int fd, int event_mask, SpiceWatchFunc func, void *opaque) +{ + return NULL; // apparently allowed? +} + +static void dummy_watch_remove(SpiceWatch *watch) +{ +} + +// TODO: actually, since I also use channel_client_dummym, no need for core. Can be NULL +SpiceCoreInterface dummy_core = { + .watch_update_mask = dummy_watch_update_mask, + .watch_add = dummy_watch_add, + .watch_remove = dummy_watch_remove, +}; + +RedChannel *red_channel_create_dummy(int size, uint32_t type, uint32_t id) +{ + RedChannel *channel; + ClientCbs client_cbs = { NULL, }; + + spice_assert(size >= sizeof(*channel)); + channel = spice_malloc0(size); + channel->type = type; + channel->id = id; + channel->refs = 1; + channel->core = &dummy_core; + ring_init(&channel->clients); + client_cbs.connect = red_channel_client_default_connect; + client_cbs.disconnect = red_channel_client_default_disconnect; + client_cbs.migrate = red_channel_client_default_migrate; + + red_channel_register_client_cbs(channel, &client_cbs); + red_channel_set_common_cap(channel, SPICE_COMMON_CAP_MINI_HEADER); + + channel->thread_id = pthread_self(); + + channel->out_bytes_counter = 0; + + return channel; +} + +static int do_nothing_handle_message(RedChannelClient *rcc, + uint16_t type, + uint32_t size, + uint8_t *msg) +{ + return TRUE; +} + +RedChannel *red_channel_create_parser(int size, + SpiceCoreInterface *core, + uint32_t type, uint32_t id, + int handle_acks, + spice_parse_channel_func_t parser, + channel_handle_parsed_proc handle_parsed, + ChannelCbs *channel_cbs, + uint32_t migration_flags) +{ + RedChannel *channel = red_channel_create(size, core, type, id, + handle_acks, + do_nothing_handle_message, + channel_cbs, + migration_flags); + + if (channel == NULL) { + return NULL; + } + channel->incoming_cb.handle_parsed = (handle_parsed_proc)handle_parsed; + channel->incoming_cb.parser = parser; + return channel; +} + +void red_channel_register_client_cbs(RedChannel *channel, ClientCbs *client_cbs) +{ + spice_assert(client_cbs->connect || channel->type == SPICE_CHANNEL_MAIN); + channel->client_cbs.connect = client_cbs->connect; + + if (client_cbs->disconnect) { + channel->client_cbs.disconnect = client_cbs->disconnect; + } + + if (client_cbs->migrate) { + channel->client_cbs.migrate = client_cbs->migrate; + } +} + +int test_capabilty(uint32_t *caps, int num_caps, uint32_t cap) +{ + uint32_t index = cap / 32; + if (num_caps < index + 1) { + return FALSE; + } + + return (caps[index] & (1 << (cap % 32))) != 0; +} + +static void add_capability(uint32_t **caps, int *num_caps, uint32_t cap) +{ + int nbefore, n; + + nbefore = *num_caps; + n = cap / 32; + *num_caps = MAX(*num_caps, n + 1); + *caps = spice_renew(uint32_t, *caps, *num_caps); + memset(*caps + nbefore, 0, (*num_caps - nbefore) * sizeof(uint32_t)); + (*caps)[n] |= (1 << (cap % 32)); +} + +void red_channel_set_common_cap(RedChannel *channel, uint32_t cap) +{ + add_capability(&channel->local_caps.common_caps, &channel->local_caps.num_common_caps, cap); +} + +void red_channel_set_cap(RedChannel *channel, uint32_t cap) +{ + add_capability(&channel->local_caps.caps, &channel->local_caps.num_caps, cap); +} + +void red_channel_set_data(RedChannel *channel, void *data) +{ + spice_assert(channel); + channel->data = data; +} + +static void red_channel_ref(RedChannel *channel) +{ + channel->refs++; +} + +static void red_channel_unref(RedChannel *channel) +{ + if (!--channel->refs) { + if (channel->local_caps.num_common_caps) { + free(channel->local_caps.common_caps); + } + + if (channel->local_caps.num_caps) { + free(channel->local_caps.caps); + } + + free(channel); + } +} + +static void red_channel_client_ref(RedChannelClient *rcc) +{ + rcc->refs++; +} + +static void red_channel_client_unref(RedChannelClient *rcc) +{ + if (!--rcc->refs) { + if (rcc->send_data.main.marshaller) { + spice_marshaller_destroy(rcc->send_data.main.marshaller); + } + + if (rcc->send_data.urgent.marshaller) { + spice_marshaller_destroy(rcc->send_data.urgent.marshaller); + } + + red_channel_client_destroy_remote_caps(rcc); + if (rcc->channel) { + red_channel_unref(rcc->channel); + } + free(rcc); + } +} + +void red_channel_client_destroy(RedChannelClient *rcc) +{ + rcc->destroying = 1; + red_channel_client_disconnect(rcc); + red_client_remove_channel(rcc); + red_channel_client_unref(rcc); +} + +void red_channel_destroy(RedChannel *channel) +{ + RingItem *link; + RingItem *next; + + if (!channel) { + return; + } + RING_FOREACH_SAFE(link, next, &channel->clients) { + red_channel_client_destroy( + SPICE_CONTAINEROF(link, RedChannelClient, channel_link)); + } + + red_channel_unref(channel); +} + +void red_channel_client_shutdown(RedChannelClient *rcc) +{ + if (rcc->stream && !rcc->stream->shutdown) { + rcc->channel->core->watch_remove(rcc->stream->watch); + rcc->stream->watch = NULL; + shutdown(rcc->stream->socket, SHUT_RDWR); + rcc->stream->shutdown = TRUE; + } +} + +void red_channel_client_send(RedChannelClient *rcc) +{ + red_channel_client_ref(rcc); + red_peer_handle_outgoing(rcc->stream, &rcc->outgoing); +#ifdef CONFIG_MARU + if (rcc->sdb_port) { + rcc->sdb_port = 0; + } +#endif + red_channel_client_unref(rcc); +} + +void red_channel_send(RedChannel *channel) +{ + RingItem *link; + RingItem *next; + + RING_FOREACH_SAFE(link, next, &channel->clients) { + red_channel_client_send(SPICE_CONTAINEROF(link, RedChannelClient, channel_link)); + } +} + +static inline int red_channel_client_waiting_for_ack(RedChannelClient *rcc) +{ + return (rcc->channel->handle_acks && + (rcc->ack_data.messages_window > rcc->ack_data.client_window * 2)); +} + +static inline PipeItem *red_channel_client_pipe_item_get(RedChannelClient *rcc) +{ + PipeItem *item; + +#ifdef CONFIG_MARU + if (rcc->sdb_port) { + item = (PipeItem *)&rcc->pipe.prev; + item->type = PIPE_ITEM_TYPE_SDB_PORT; + return item; + } + else if (!rcc || rcc->send_data.blocked + || red_channel_client_waiting_for_ack(rcc) + || !(item = (PipeItem *)ring_get_tail(&rcc->pipe))) { + return NULL; + } +#else + if (!rcc || rcc->send_data.blocked + || red_channel_client_waiting_for_ack(rcc) + || !(item = (PipeItem *)ring_get_tail(&rcc->pipe))) { + return NULL; + } +#endif + red_channel_client_pipe_remove(rcc, item); + return item; +} + +void red_channel_client_push(RedChannelClient *rcc) +{ + PipeItem *pipe_item; + +#ifdef CONFIG_MARU + if (!rcc->during_send || rcc->sdb_port) { + rcc->during_send = TRUE; + } else { + return; + } +#else + if (!rcc->during_send) { + rcc->during_send = TRUE; + } else { + return; + } +#endif + + red_channel_client_ref(rcc); + if (rcc->send_data.blocked) { + red_channel_client_send(rcc); + } + + if (!red_channel_client_no_item_being_sent(rcc) && !rcc->send_data.blocked) { + rcc->send_data.blocked = TRUE; + spice_printerr("ERROR: an item waiting to be sent and not blocked"); + } + + while ((pipe_item = red_channel_client_pipe_item_get(rcc))) { + red_channel_client_send_item(rcc, pipe_item); + } + rcc->during_send = FALSE; + red_channel_client_unref(rcc); +} + +void red_channel_push(RedChannel *channel) +{ + RingItem *link; + RingItem *next; + RedChannelClient *rcc; + + if (!channel) { + return; + } + RING_FOREACH_SAFE(link, next, &channel->clients) { + rcc = SPICE_CONTAINEROF(link, RedChannelClient, channel_link); + red_channel_client_push(rcc); + } +} + +static void red_channel_client_init_outgoing_messages_window(RedChannelClient *rcc) +{ + rcc->ack_data.messages_window = 0; + red_channel_client_push(rcc); +} + +// TODO: this function doesn't make sense because the window should be client (WAN/LAN) +// specific +void red_channel_init_outgoing_messages_window(RedChannel *channel) +{ + RingItem *link; + RingItem *next; + + RING_FOREACH_SAFE(link, next, &channel->clients) { + red_channel_client_init_outgoing_messages_window( + SPICE_CONTAINEROF(link, RedChannelClient, channel_link)); + } +} + +static void red_channel_handle_migrate_flush_mark(RedChannelClient *rcc) +{ + if (rcc->channel->channel_cbs.handle_migrate_flush_mark) { + rcc->channel->channel_cbs.handle_migrate_flush_mark(rcc); + } +} + +// TODO: the whole migration is broken with multiple clients. What do we want to do? +// basically just +// 1) source send mark to all +// 2) source gets at various times the data (waits for all) +// 3) source migrates to target +// 4) target sends data to all +// So need to make all the handlers work with per channel/client data (what data exactly?) +static void red_channel_handle_migrate_data(RedChannelClient *rcc, uint32_t size, void *message) +{ + spice_debug("channel type %d id %d rcc %p size %u", + rcc->channel->type, rcc->channel->id, rcc, size); + if (!rcc->channel->channel_cbs.handle_migrate_data) { + return; + } + if (!red_channel_client_waits_for_migrate_data(rcc)) { + spice_error("unexcpected"); + return; + } + if (rcc->channel->channel_cbs.handle_migrate_data_get_serial) { + red_channel_client_set_message_serial(rcc, + rcc->channel->channel_cbs.handle_migrate_data_get_serial(rcc, size, message)); + } + rcc->channel->channel_cbs.handle_migrate_data(rcc, size, message); + red_channel_client_seamless_migration_done(rcc); +} + +int red_channel_client_handle_message(RedChannelClient *rcc, uint32_t size, + uint16_t type, void *message) +{ + switch (type) { + case SPICE_MSGC_ACK_SYNC: + if (size != sizeof(uint32_t)) { + spice_printerr("bad message size"); + return FALSE; + } + rcc->ack_data.client_generation = *(uint32_t *)(message); + break; + case SPICE_MSGC_ACK: + if (rcc->ack_data.client_generation == rcc->ack_data.generation) { + rcc->ack_data.messages_window -= rcc->ack_data.client_window; + red_channel_client_push(rcc); + } + break; + case SPICE_MSGC_DISCONNECTING: + break; + case SPICE_MSGC_MIGRATE_FLUSH_MARK: + if (!rcc->wait_migrate_flush_mark) { + spice_error("unexpected flush mark"); + return FALSE; + } + red_channel_handle_migrate_flush_mark(rcc); + rcc->wait_migrate_flush_mark = FALSE; + break; + case SPICE_MSGC_MIGRATE_DATA: + red_channel_handle_migrate_data(rcc, size, message); + break; + default: + spice_printerr("invalid message type %u", type); + return FALSE; + } + return TRUE; +} + +static void red_channel_client_event(int fd, int event, void *data) +{ + RedChannelClient *rcc = (RedChannelClient *)data; + + red_channel_client_ref(rcc); + if (event & SPICE_WATCH_EVENT_READ) { + red_channel_client_receive(rcc); + } + if (event & SPICE_WATCH_EVENT_WRITE) { + red_channel_client_push(rcc); + } + red_channel_client_unref(rcc); +} + +void red_channel_client_init_send_data(RedChannelClient *rcc, uint16_t msg_type, PipeItem *item) +{ + spice_assert(red_channel_client_no_item_being_sent(rcc)); + spice_assert(msg_type != 0); + rcc->send_data.header.set_msg_type(&rcc->send_data.header, msg_type); + rcc->send_data.item = item; + if (item) { + rcc->channel->channel_cbs.hold_item(rcc, item); + } +} + +void red_channel_client_begin_send_message(RedChannelClient *rcc) +{ + SpiceMarshaller *m = rcc->send_data.marshaller; + + // TODO - better check: type in channel_allowed_types. Better: type in channel_allowed_types(channel_state) + if (rcc->send_data.header.get_msg_type(&rcc->send_data.header) == 0) { + spice_printerr("BUG: header->type == 0"); + return; + } + spice_marshaller_flush(m); + rcc->send_data.size = spice_marshaller_get_total_size(m); + rcc->send_data.header.set_msg_size(&rcc->send_data.header, + rcc->send_data.size - rcc->send_data.header.header_size); + rcc->ack_data.messages_window++; + rcc->send_data.last_sent_serial = rcc->send_data.serial; + rcc->send_data.header.data = NULL; /* avoid writing to this until we have a new message */ + red_channel_client_send(rcc); +} + +SpiceMarshaller *red_channel_client_switch_to_urgent_sender(RedChannelClient *rcc) +{ + spice_assert(red_channel_client_no_item_being_sent(rcc)); + spice_assert(rcc->send_data.header.data != NULL); + rcc->send_data.main.header_data = rcc->send_data.header.data; + rcc->send_data.main.item = rcc->send_data.item; + + rcc->send_data.marshaller = rcc->send_data.urgent.marshaller; + rcc->send_data.item = NULL; + red_channel_client_reset_send_data(rcc); + return rcc->send_data.marshaller; +} + +static void red_channel_client_restore_main_sender(RedChannelClient *rcc) +{ + spice_marshaller_reset(rcc->send_data.urgent.marshaller); + rcc->send_data.marshaller = rcc->send_data.main.marshaller; + rcc->send_data.header.data = rcc->send_data.main.header_data; + if (!rcc->is_mini_header) { + rcc->send_data.header.set_msg_serial(&rcc->send_data.header, rcc->send_data.serial); + } + rcc->send_data.item = rcc->send_data.main.item; +} + +uint64_t red_channel_client_get_message_serial(RedChannelClient *rcc) +{ + return rcc->send_data.serial; +} + +void red_channel_client_set_message_serial(RedChannelClient *rcc, uint64_t serial) +{ + rcc->send_data.last_sent_serial = serial; + rcc->send_data.serial = serial; +} + +void red_channel_pipe_item_init(RedChannel *channel, PipeItem *item, int type) +{ + ring_item_init(&item->link); + item->type = type; +} + +void red_channel_client_pipe_add(RedChannelClient *rcc, PipeItem *item) +{ + spice_assert(rcc && item); + rcc->pipe_size++; + ring_add(&rcc->pipe, &item->link); +} + +void red_channel_client_pipe_add_push(RedChannelClient *rcc, PipeItem *item) +{ + red_channel_client_pipe_add(rcc, item); + red_channel_client_push(rcc); +} + +void red_channel_client_pipe_add_after(RedChannelClient *rcc, + PipeItem *item, PipeItem *pos) +{ + spice_assert(rcc); + spice_assert(pos); + spice_assert(item); + + rcc->pipe_size++; + ring_add_after(&item->link, &pos->link); +} + +int red_channel_client_pipe_item_is_linked(RedChannelClient *rcc, + PipeItem *item) +{ + return ring_item_is_linked(&item->link); +} + +void red_channel_client_pipe_add_tail_no_push(RedChannelClient *rcc, + PipeItem *item) +{ + spice_assert(rcc); + rcc->pipe_size++; + ring_add_before(&item->link, &rcc->pipe); +} + +void red_channel_client_pipe_add_tail(RedChannelClient *rcc, PipeItem *item) +{ + spice_assert(rcc); + rcc->pipe_size++; + ring_add_before(&item->link, &rcc->pipe); + red_channel_client_push(rcc); +} + +void red_channel_client_pipe_add_type(RedChannelClient *rcc, int pipe_item_type) +{ + PipeItem *item = spice_new(PipeItem, 1); + + red_channel_pipe_item_init(rcc->channel, item, pipe_item_type); + red_channel_client_pipe_add(rcc, item); + red_channel_client_push(rcc); +} + +void red_channel_pipes_add_type(RedChannel *channel, int pipe_item_type) +{ + RingItem *link; + + RING_FOREACH(link, &channel->clients) { + red_channel_client_pipe_add_type( + SPICE_CONTAINEROF(link, RedChannelClient, channel_link), + pipe_item_type); + } +} + +void red_channel_client_pipe_add_empty_msg(RedChannelClient *rcc, int msg_type) +{ + EmptyMsgPipeItem *item = spice_new(EmptyMsgPipeItem, 1); + + red_channel_pipe_item_init(rcc->channel, &item->base, PIPE_ITEM_TYPE_EMPTY_MSG); + item->msg = msg_type; + red_channel_client_pipe_add(rcc, &item->base); + red_channel_client_push(rcc); +} + +void red_channel_pipes_add_empty_msg(RedChannel *channel, int msg_type) +{ + RingItem *link; + + RING_FOREACH(link, &channel->clients) { + red_channel_client_pipe_add_empty_msg( + SPICE_CONTAINEROF(link, RedChannelClient, channel_link), + msg_type); + } +} + +int red_channel_client_is_connected(RedChannelClient *rcc) +{ + if (!rcc->dummy) { + return rcc->stream != NULL; + } else { + return rcc->dummy_connected; + } +} + +int red_channel_is_connected(RedChannel *channel) +{ + return channel && (channel->clients_num > 0); +} + +void red_channel_client_clear_sent_item(RedChannelClient *rcc) +{ + if (rcc->send_data.item) { + red_channel_client_release_item(rcc, rcc->send_data.item, TRUE); + rcc->send_data.item = NULL; + } + rcc->send_data.blocked = FALSE; + rcc->send_data.size = 0; +} + +void red_channel_client_pipe_clear(RedChannelClient *rcc) +{ + PipeItem *item; + + if (rcc) { + red_channel_client_clear_sent_item(rcc); + } + while ((item = (PipeItem *)ring_get_head(&rcc->pipe))) { + ring_remove(&item->link); + red_channel_client_release_item(rcc, item, FALSE); + } + rcc->pipe_size = 0; +} + +void red_channel_client_ack_zero_messages_window(RedChannelClient *rcc) +{ + rcc->ack_data.messages_window = 0; +} + +void red_channel_client_ack_set_client_window(RedChannelClient *rcc, int client_window) +{ + rcc->ack_data.client_window = client_window; +} + +static void red_channel_remove_client(RedChannelClient *rcc) +{ + spice_assert(pthread_equal(pthread_self(), rcc->channel->thread_id)); + ring_remove(&rcc->channel_link); + spice_assert(rcc->channel->clients_num > 0); + rcc->channel->clients_num--; + // TODO: should we set rcc->channel to NULL??? +} + +static void red_client_remove_channel(RedChannelClient *rcc) +{ + pthread_mutex_lock(&rcc->client->lock); + ring_remove(&rcc->client_link); + rcc->client->channels_num--; + pthread_mutex_unlock(&rcc->client->lock); +} + +static void red_channel_client_disconnect_dummy(RedChannelClient *rcc) +{ + spice_assert(rcc->dummy); + if (ring_item_is_linked(&rcc->channel_link)) { + red_channel_remove_client(rcc); + } + rcc->dummy_connected = FALSE; +} + +void red_channel_client_disconnect(RedChannelClient *rcc) +{ + spice_printerr("%p (channel %p type %d id %d)", rcc, rcc->channel, + rcc->channel->type, rcc->channel->id); + if (rcc->dummy) { + red_channel_client_disconnect_dummy(rcc); + return; + } + if (!red_channel_client_is_connected(rcc)) { + return; + } + red_channel_client_pipe_clear(rcc); + if (rcc->stream->watch) { + rcc->channel->core->watch_remove(rcc->stream->watch); + rcc->stream->watch = NULL; + } + reds_stream_free(rcc->stream); + rcc->stream = NULL; + red_channel_remove_client(rcc); + rcc->channel->channel_cbs.on_disconnect(rcc); +} + +void red_channel_disconnect(RedChannel *channel) +{ + RingItem *link; + RingItem *next; + + RING_FOREACH_SAFE(link, next, &channel->clients) { + red_channel_client_disconnect( + SPICE_CONTAINEROF(link, RedChannelClient, channel_link)); + } +} + +RedChannelClient *red_channel_client_create_dummy(int size, + RedChannel *channel, + RedClient *client, + int num_common_caps, uint32_t *common_caps, + int num_caps, uint32_t *caps) +{ + RedChannelClient *rcc = NULL; + + spice_assert(size >= sizeof(RedChannelClient)); + + pthread_mutex_lock(&client->lock); + if (!red_channel_client_pre_create_validate(channel, client)) { + goto error; + } + rcc = spice_malloc0(size); + rcc->refs = 1; + rcc->client = client; + rcc->channel = channel; + red_channel_ref(channel); + red_channel_client_set_remote_caps(rcc, num_common_caps, common_caps, num_caps, caps); + if (red_channel_client_test_remote_common_cap(rcc, SPICE_COMMON_CAP_MINI_HEADER)) { + rcc->incoming.header = mini_header_wrapper; + rcc->send_data.header = mini_header_wrapper; + rcc->is_mini_header = TRUE; + } else { + rcc->incoming.header = full_header_wrapper; + rcc->send_data.header = full_header_wrapper; + rcc->is_mini_header = FALSE; + } + + rcc->incoming.header.data = rcc->incoming.header_buf; + rcc->incoming.serial = 1; + ring_init(&rcc->pipe); + + rcc->dummy = TRUE; + rcc->dummy_connected = TRUE; + red_channel_add_client(channel, rcc); + red_client_add_channel(client, rcc); + pthread_mutex_unlock(&client->lock); + return rcc; +error: + pthread_mutex_unlock(&client->lock); + return NULL; +} + +void red_channel_apply_clients(RedChannel *channel, channel_client_callback cb) +{ + RingItem *link; + RingItem *next; + RedChannelClient *rcc; + + RING_FOREACH_SAFE(link, next, &channel->clients) { + rcc = SPICE_CONTAINEROF(link, RedChannelClient, channel_link); + cb(rcc); + } +} + +void red_channel_apply_clients_data(RedChannel *channel, channel_client_callback_data cb, void *data) +{ + RingItem *link; + RingItem *next; + RedChannelClient *rcc; + + RING_FOREACH_SAFE(link, next, &channel->clients) { + rcc = SPICE_CONTAINEROF(link, RedChannelClient, channel_link); + cb(rcc, data); + } +} + +int red_channel_all_blocked(RedChannel *channel) +{ + RingItem *link; + RedChannelClient *rcc; + + if (!channel || channel->clients_num == 0) { + return FALSE; + } + RING_FOREACH(link, &channel->clients) { + rcc = SPICE_CONTAINEROF(link, RedChannelClient, channel_link); + if (!rcc->send_data.blocked) { + return FALSE; + } + } + return TRUE; +} + +int red_channel_any_blocked(RedChannel *channel) +{ + RingItem *link; + RedChannelClient *rcc; + + RING_FOREACH(link, &channel->clients) { + rcc = SPICE_CONTAINEROF(link, RedChannelClient, channel_link); + if (rcc->send_data.blocked) { + return TRUE; + } + } + return FALSE; +} + +int red_channel_client_blocked(RedChannelClient *rcc) +{ + return rcc && rcc->send_data.blocked; +} + +int red_channel_client_send_message_pending(RedChannelClient *rcc) +{ + return rcc->send_data.header.get_msg_type(&rcc->send_data.header) != 0; +} + +/* accessors for RedChannelClient */ +SpiceMarshaller *red_channel_client_get_marshaller(RedChannelClient *rcc) +{ + return rcc->send_data.marshaller; +} + +RedsStream *red_channel_client_get_stream(RedChannelClient *rcc) +{ + return rcc->stream; +} + +RedClient *red_channel_client_get_client(RedChannelClient *rcc) +{ + return rcc->client; +} + +void red_channel_client_set_header_sub_list(RedChannelClient *rcc, uint32_t sub_list) +{ + rcc->send_data.header.set_msg_sub_list(&rcc->send_data.header, sub_list); +} + +/* end of accessors */ + +int red_channel_get_first_socket(RedChannel *channel) +{ + if (!channel || channel->clients_num == 0) { + return -1; + } + return SPICE_CONTAINEROF(ring_get_head(&channel->clients), + RedChannelClient, channel_link)->stream->socket; +} + +int red_channel_no_item_being_sent(RedChannel *channel) +{ + RingItem *link; + RedChannelClient *rcc; + + RING_FOREACH(link, &channel->clients) { + rcc = SPICE_CONTAINEROF(link, RedChannelClient, channel_link); + if (!red_channel_client_no_item_being_sent(rcc)) { + return FALSE; + } + } + return TRUE; +} + +int red_channel_client_no_item_being_sent(RedChannelClient *rcc) +{ + return !rcc || (rcc->send_data.size == 0); +} + +void red_channel_client_pipe_remove_and_release(RedChannelClient *rcc, + PipeItem *item) +{ + red_channel_client_pipe_remove(rcc, item); + red_channel_client_release_item(rcc, item, FALSE); +} + +/* + * RedClient implementation - kept in red_channel.c because they are + * pretty tied together. + */ + +RedClient *red_client_new(int migrated) +{ + RedClient *client; + + client = spice_malloc0(sizeof(RedClient)); + ring_init(&client->channels); + pthread_mutex_init(&client->lock, NULL); + client->thread_id = pthread_self(); + client->during_target_migrate = migrated; + + return client; +} + +/* client mutex should be locked before this call */ +static void red_channel_client_set_migration_seamless(RedChannelClient *rcc) +{ + spice_assert(rcc->client->during_target_migrate && rcc->client->seamless_migrate); + + if (rcc->channel->migration_flags & SPICE_MIGRATE_NEED_DATA_TRANSFER) { + rcc->wait_migrate_data = TRUE; + rcc->client->num_migrated_channels++; + } + spice_debug("channel type %d id %d rcc %p wait data %d", rcc->channel->type, rcc->channel->id, rcc, + rcc->wait_migrate_data); +} + +void red_client_set_migration_seamless(RedClient *client) // dest +{ + RingItem *link; + pthread_mutex_lock(&client->lock); + client->seamless_migrate = TRUE; + /* update channel clients that got connected before the migration + * type was set. red_client_add_channel will handle newer channel clients */ + RING_FOREACH(link, &client->channels) { + RedChannelClient *rcc = SPICE_CONTAINEROF(link, RedChannelClient, client_link); + red_channel_client_set_migration_seamless(rcc); + } + pthread_mutex_unlock(&client->lock); +} + +void red_client_migrate(RedClient *client) +{ + RingItem *link, *next; + RedChannelClient *rcc; + + spice_printerr("migrate client with #channels %d", client->channels_num); + spice_assert(pthread_equal(pthread_self(), client->thread_id)); + RING_FOREACH_SAFE(link, next, &client->channels) { + rcc = SPICE_CONTAINEROF(link, RedChannelClient, client_link); + if (red_channel_client_is_connected(rcc)) { + rcc->channel->client_cbs.migrate(rcc); + } + } +} + +void red_client_destroy(RedClient *client) +{ + RingItem *link, *next; + RedChannelClient *rcc; + + spice_printerr("destroy client with #channels %d", client->channels_num); + spice_assert(pthread_equal(pthread_self(), client->thread_id)); + RING_FOREACH_SAFE(link, next, &client->channels) { + // some channels may be in other threads, so disconnection + // is not synchronous. + rcc = SPICE_CONTAINEROF(link, RedChannelClient, client_link); + rcc->destroying = 1; + // some channels may be in other threads. However we currently + // assume disconnect is synchronous (we changed the dispatcher + // to wait for disconnection) + // TODO: should we go back to async. For this we need to use + // ref count for channel clients. + rcc->channel->client_cbs.disconnect(rcc); + spice_assert(ring_is_empty(&rcc->pipe)); + spice_assert(rcc->pipe_size == 0); + spice_assert(rcc->send_data.size == 0); + red_channel_client_destroy(rcc); + } + + pthread_mutex_destroy(&client->lock); + free(client); +} + +/* client->lock should be locked */ +static RedChannelClient *red_client_get_channel(RedClient *client, int type, int id) +{ + RingItem *link; + RedChannelClient *rcc; + RedChannelClient *ret = NULL; + + RING_FOREACH(link, &client->channels) { + rcc = SPICE_CONTAINEROF(link, RedChannelClient, client_link); + if (rcc->channel->type == type && rcc->channel->id == id) { + ret = rcc; + break; + } + } + return ret; +} + +/* client->lock should be locked */ +static void red_client_add_channel(RedClient *client, RedChannelClient *rcc) +{ + spice_assert(rcc && client); + ring_add(&client->channels, &rcc->client_link); + if (client->during_target_migrate && client->seamless_migrate) { + red_channel_client_set_migration_seamless(rcc); + } + client->channels_num++; +} + +MainChannelClient *red_client_get_main(RedClient *client) { + return client->mcc; +} + +void red_client_set_main(RedClient *client, MainChannelClient *mcc) { + client->mcc = mcc; +} + +void red_client_semi_seamless_migrate_complete(RedClient *client) +{ + pthread_mutex_lock(&client->lock); + if (!client->during_target_migrate || client->seamless_migrate) { + spice_error("unexpected"); + pthread_mutex_unlock(&client->lock); + return; + } + client->during_target_migrate = FALSE; + pthread_mutex_unlock(&client->lock); + reds_on_client_semi_seamless_migrate_complete(client); +} + +/* should be called only from the main thread */ +int red_client_during_migrate_at_target(RedClient *client) +{ + int ret; + pthread_mutex_lock(&client->lock); + ret = client->during_target_migrate; + pthread_mutex_unlock(&client->lock); + return ret; +} + +/* + * Functions to push the same item to multiple pipes. + */ + +/* + * TODO: after convinced of correctness, add paths for single client + * that avoid the whole loop. perhaps even have a function pointer table + * later. + * TODO - inline? macro? right now this is the simplest from code amount + */ + +typedef void (*rcc_item_t)(RedChannelClient *rcc, PipeItem *item); +typedef int (*rcc_item_cond_t)(RedChannelClient *rcc, PipeItem *item); + +static void red_channel_pipes_create_batch(RedChannel *channel, + new_pipe_item_t creator, void *data, + rcc_item_t callback) +{ + RingItem *link; + RedChannelClient *rcc; + PipeItem *item; + int num = 0; + + RING_FOREACH(link, &channel->clients) { + rcc = SPICE_CONTAINEROF(link, RedChannelClient, channel_link); + item = (*creator)(rcc, data, num++); + if (callback) { + (*callback)(rcc, item); + } + } +} + +void red_channel_pipes_new_add_push(RedChannel *channel, + new_pipe_item_t creator, void *data) +{ + red_channel_pipes_create_batch(channel, creator, data, + red_channel_client_pipe_add); + red_channel_push(channel); +} + +void red_channel_pipes_new_add(RedChannel *channel, new_pipe_item_t creator, void *data) +{ + red_channel_pipes_create_batch(channel, creator, data, + red_channel_client_pipe_add); +} + +void red_channel_pipes_new_add_tail(RedChannel *channel, new_pipe_item_t creator, void *data) +{ + red_channel_pipes_create_batch(channel, creator, data, + red_channel_client_pipe_add_tail_no_push); +} + +uint32_t red_channel_max_pipe_size(RedChannel *channel) +{ + RingItem *link; + RedChannelClient *rcc; + uint32_t pipe_size = 0; + + RING_FOREACH(link, &channel->clients) { + rcc = SPICE_CONTAINEROF(link, RedChannelClient, channel_link); + pipe_size = pipe_size > rcc->pipe_size ? pipe_size : rcc->pipe_size; + } + return pipe_size; +} + +uint32_t red_channel_min_pipe_size(RedChannel *channel) +{ + RingItem *link; + RedChannelClient *rcc; + uint32_t pipe_size = ~0; + + RING_FOREACH(link, &channel->clients) { + rcc = SPICE_CONTAINEROF(link, RedChannelClient, channel_link); + pipe_size = pipe_size < rcc->pipe_size ? pipe_size : rcc->pipe_size; + } + return pipe_size == ~0 ? 0 : pipe_size; +} + +uint32_t red_channel_sum_pipes_size(RedChannel *channel) +{ + RingItem *link; + RedChannelClient *rcc; + uint32_t sum = 0; + + RING_FOREACH(link, &channel->clients) { + rcc = SPICE_CONTAINEROF(link, RedChannelClient, channel_link); + sum += rcc->pipe_size; + } + return sum; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/red_channel.h b/tizen/distrib/remote/server/spice-0.12.2/server/red_channel.h new file mode 100644 index 0000000..569eee1 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/red_channel.h @@ -0,0 +1,562 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. + + + Author: + yhalperi@redhat.com +*/ + +#ifndef _H_RED_CHANNEL +#define _H_RED_CHANNEL + +#include <pthread.h> +#include <limits.h> + +#include "common/ring.h" +#include "common/marshaller.h" + +#include "spice.h" +#include "red_common.h" +#include "demarshallers.h" + +#define MAX_SEND_BUFS 1000 +#define CLIENT_ACK_WINDOW 20 + +#ifndef IOV_MAX +#define IOV_MAX 1024 +#endif + +#define MAX_HEADER_SIZE sizeof(SpiceDataHeader) + +/* Basic interface for channels, without using the RedChannel interface. + The intention is to move towards one channel interface gradually. + At the final stage, this interface shouldn't be exposed. Only RedChannel will use it. */ + +typedef struct SpiceDataHeaderOpaque SpiceDataHeaderOpaque; + +typedef uint16_t (*get_msg_type_proc)(SpiceDataHeaderOpaque *header); +typedef uint32_t (*get_msg_size_proc)(SpiceDataHeaderOpaque *header); +typedef void (*set_msg_type_proc)(SpiceDataHeaderOpaque *header, uint16_t type); +typedef void (*set_msg_size_proc)(SpiceDataHeaderOpaque *header, uint32_t size); +typedef void (*set_msg_serial_proc)(SpiceDataHeaderOpaque *header, uint64_t serial); +typedef void (*set_msg_sub_list_proc)(SpiceDataHeaderOpaque *header, uint32_t sub_list); + +struct SpiceDataHeaderOpaque { + uint8_t *data; + uint16_t header_size; + + set_msg_type_proc set_msg_type; + set_msg_size_proc set_msg_size; + set_msg_serial_proc set_msg_serial; + set_msg_sub_list_proc set_msg_sub_list; + + get_msg_type_proc get_msg_type; + get_msg_size_proc get_msg_size; +}; + +typedef int (*handle_message_proc)(void *opaque, + uint16_t type, uint32_t size, uint8_t *msg); +typedef int (*handle_parsed_proc)(void *opaque, uint32_t size, uint16_t type, void *message); +typedef uint8_t *(*alloc_msg_recv_buf_proc)(void *opaque, uint16_t type, uint32_t size); +typedef void (*release_msg_recv_buf_proc)(void *opaque, + uint16_t type, uint32_t size, uint8_t *msg); +typedef void (*on_incoming_error_proc)(void *opaque); + +typedef struct IncomingHandlerInterface { + handle_message_proc handle_message; + alloc_msg_recv_buf_proc alloc_msg_buf; + on_incoming_error_proc on_error; // recv error or handle_message error + release_msg_recv_buf_proc release_msg_buf; // for errors + // The following is an optional alternative to handle_message, used if not null + spice_parse_channel_func_t parser; + handle_parsed_proc handle_parsed; +} IncomingHandlerInterface; + +typedef struct IncomingHandler { + IncomingHandlerInterface *cb; + void *opaque; + uint8_t header_buf[MAX_HEADER_SIZE]; + SpiceDataHeaderOpaque header; + uint32_t header_pos; + uint8_t *msg; // data of the msg following the header. allocated by alloc_msg_buf. + uint32_t msg_pos; + uint64_t serial; +} IncomingHandler; + +typedef int (*get_outgoing_msg_size_proc)(void *opaque); +typedef void (*prepare_outgoing_proc)(void *opaque, struct iovec *vec, int *vec_size, int pos); +typedef void (*on_outgoing_error_proc)(void *opaque); +typedef void (*on_outgoing_block_proc)(void *opaque); +typedef void (*on_outgoing_msg_done_proc)(void *opaque); +typedef void (*on_output_proc)(void *opaque, int n); + +typedef struct OutgoingHandlerInterface { + get_outgoing_msg_size_proc get_msg_size; + prepare_outgoing_proc prepare; + on_outgoing_error_proc on_error; + on_outgoing_block_proc on_block; + on_outgoing_msg_done_proc on_msg_done; + on_output_proc on_output; +} OutgoingHandlerInterface; + +typedef struct OutgoingHandler { + OutgoingHandlerInterface *cb; + void *opaque; + struct iovec vec_buf[IOV_MAX]; + int vec_size; + struct iovec *vec; + int pos; + int size; +} OutgoingHandler; + +/* Red Channel interface */ + +typedef struct BufDescriptor { + uint32_t size; + uint8_t *data; +} BufDescriptor; + +typedef struct RedsStream RedsStream; +typedef struct RedChannel RedChannel; +typedef struct RedChannelClient RedChannelClient; +typedef struct RedClient RedClient; +typedef struct MainChannelClient MainChannelClient; + +/* Messages handled by red_channel + * SET_ACK - sent to client on channel connection + * Note that the numbers don't have to correspond to spice message types, + * but we keep the 100 first allocated for base channel approach. + * */ +enum { + PIPE_ITEM_TYPE_SET_ACK=1, + PIPE_ITEM_TYPE_MIGRATE, + PIPE_ITEM_TYPE_EMPTY_MSG, +#ifdef CONFIG_MARU + PIPE_ITEM_TYPE_SDB_PORT, +#endif + + PIPE_ITEM_TYPE_CHANNEL_BASE=101, +}; + +typedef struct PipeItem { + RingItem link; + int type; +} PipeItem; + +typedef uint8_t *(*channel_alloc_msg_recv_buf_proc)(RedChannelClient *channel, + uint16_t type, uint32_t size); +typedef int (*channel_handle_parsed_proc)(RedChannelClient *rcc, uint32_t size, uint16_t type, + void *message); +typedef int (*channel_handle_message_proc)(RedChannelClient *rcc, + uint16_t type, uint32_t size, uint8_t *msg); +typedef void (*channel_release_msg_recv_buf_proc)(RedChannelClient *channel, + uint16_t type, uint32_t size, uint8_t *msg); +typedef void (*channel_disconnect_proc)(RedChannelClient *rcc); +typedef int (*channel_configure_socket_proc)(RedChannelClient *rcc); +typedef void (*channel_send_pipe_item_proc)(RedChannelClient *rcc, PipeItem *item); +typedef void (*channel_hold_pipe_item_proc)(RedChannelClient *rcc, PipeItem *item); +typedef void (*channel_release_pipe_item_proc)(RedChannelClient *rcc, + PipeItem *item, int item_pushed); +typedef void (*channel_on_incoming_error_proc)(RedChannelClient *rcc); +typedef void (*channel_on_outgoing_error_proc)(RedChannelClient *rcc); + +typedef int (*channel_handle_migrate_flush_mark_proc)(RedChannelClient *base); +typedef int (*channel_handle_migrate_data_proc)(RedChannelClient *base, + uint32_t size, void *message); +typedef uint64_t (*channel_handle_migrate_data_get_serial_proc)(RedChannelClient *base, + uint32_t size, void *message); + + +typedef void (*channel_client_connect_proc)(RedChannel *channel, RedClient *client, RedsStream *stream, + int migration, int num_common_cap, uint32_t *common_caps, + int num_caps, uint32_t *caps); +typedef void (*channel_client_disconnect_proc)(RedChannelClient *base); +typedef void (*channel_client_migrate_proc)(RedChannelClient *base); + +// TODO: add ASSERTS for thread_id in client and channel calls +// +/* + * callbacks that are triggered from channel client stream events. + * They are called from the thread that listen to the stream events. + */ +typedef struct { + channel_configure_socket_proc config_socket; + channel_disconnect_proc on_disconnect; + channel_send_pipe_item_proc send_item; + channel_hold_pipe_item_proc hold_item; + channel_release_pipe_item_proc release_item; + channel_alloc_msg_recv_buf_proc alloc_recv_buf; + channel_release_msg_recv_buf_proc release_recv_buf; + channel_handle_migrate_flush_mark_proc handle_migrate_flush_mark; + channel_handle_migrate_data_proc handle_migrate_data; + channel_handle_migrate_data_get_serial_proc handle_migrate_data_get_serial; +} ChannelCbs; + + +/* + * callbacks that are triggered from client events. + * They should be called from the thread that handles the RedClient + */ +typedef struct { + channel_client_connect_proc connect; + channel_client_disconnect_proc disconnect; + channel_client_migrate_proc migrate; +} ClientCbs; + +typedef struct RedChannelCapabilities { + int num_common_caps; + uint32_t *common_caps; + int num_caps; + uint32_t *caps; +} RedChannelCapabilities; + +int test_capabilty(uint32_t *caps, int num_caps, uint32_t cap); + +struct RedChannelClient { + RingItem channel_link; + RingItem client_link; + RedChannel *channel; + RedClient *client; + RedsStream *stream; + int dummy; + int dummy_connected; + + uint32_t refs; + + struct { + uint32_t generation; + uint32_t client_generation; + uint32_t messages_window; + uint32_t client_window; + } ack_data; + + struct { + SpiceMarshaller *marshaller; + SpiceDataHeaderOpaque header; + uint32_t size; + PipeItem *item; + int blocked; + uint64_t serial; + uint64_t last_sent_serial; + + struct { + SpiceMarshaller *marshaller; + uint8_t *header_data; + PipeItem *item; + } main; + + struct { + SpiceMarshaller *marshaller; + } urgent; + } send_data; + + OutgoingHandler outgoing; + IncomingHandler incoming; + int during_send; + int id; // debugging purposes + Ring pipe; + uint32_t pipe_size; +#ifdef CONFIG_MARU + int sdb_port; +#endif + RedChannelCapabilities remote_caps; + int is_mini_header; + int destroying; + + int wait_migrate_data; + int wait_migrate_flush_mark; +}; + +struct RedChannel { + uint32_t type; + uint32_t id; + + uint32_t refs; + + RingItem link; // channels link for reds + + SpiceCoreInterface *core; + int handle_acks; + + // RedChannel will hold only connected channel clients (logic - when pushing pipe item to all channel clients, there + // is no need to go over disconnect clients) + // . While client will hold the channel clients till it is destroyed + // and then it will destroy them as well. + // However RCC still holds a reference to the Channel. + // Maybe replace these logic with ref count? + // TODO: rename to 'connected_clients'? + Ring clients; + uint32_t clients_num; + + OutgoingHandlerInterface outgoing_cb; + IncomingHandlerInterface incoming_cb; + + ChannelCbs channel_cbs; + ClientCbs client_cbs; + + RedChannelCapabilities local_caps; + uint32_t migration_flags; + + void *data; + + // TODO: when different channel_clients are in different threads from Channel -> need to protect! + pthread_t thread_id; +#ifdef RED_STATISTICS + uint64_t *out_bytes_counter; +#endif +}; + +/* if one of the callbacks should cause disconnect, use red_channel_shutdown and don't + * explicitly destroy the channel */ +RedChannel *red_channel_create(int size, + SpiceCoreInterface *core, + uint32_t type, uint32_t id, + int handle_acks, + channel_handle_message_proc handle_message, + ChannelCbs *channel_cbs, + uint32_t migration_flags); + +/* alternative constructor, meant for marshaller based (inputs,main) channels, + * will become default eventually */ +RedChannel *red_channel_create_parser(int size, + SpiceCoreInterface *core, + uint32_t type, uint32_t id, + int handle_acks, + spice_parse_channel_func_t parser, + channel_handle_parsed_proc handle_parsed, + ChannelCbs *channel_cbs, + uint32_t migration_flags); + +void red_channel_register_client_cbs(RedChannel *channel, ClientCbs *client_cbs); +// caps are freed when the channel is destroyed +void red_channel_set_common_cap(RedChannel *channel, uint32_t cap); +void red_channel_set_cap(RedChannel *channel, uint32_t cap); +void red_channel_set_data(RedChannel *channel, void *data); + +RedChannelClient *red_channel_client_create(int size, RedChannel *channel, RedClient *client, + RedsStream *stream, + int num_common_caps, uint32_t *common_caps, + int num_caps, uint32_t *caps); +// TODO: tmp, for channels that don't use RedChannel yet (e.g., snd channel), but +// do use the client callbacks. So the channel clients are not connected (the channel doesn't +// have list of them, but they do have a link to the channel, and the client has a list of them) +RedChannel *red_channel_create_dummy(int size, uint32_t type, uint32_t id); +RedChannelClient *red_channel_client_create_dummy(int size, + RedChannel *channel, + RedClient *client, + int num_common_caps, uint32_t *common_caps, + int num_caps, uint32_t *caps); + +int red_channel_is_connected(RedChannel *channel); +int red_channel_client_is_connected(RedChannelClient *rcc); + +void red_channel_client_default_migrate(RedChannelClient *rcc); +int red_channel_client_waits_for_migrate_data(RedChannelClient *rcc); +/* seamless migration is supported for only one client. This routine + * checks if the only channel client associated with channel is + * waiting for migration data */ +int red_channel_waits_for_migrate_data(RedChannel *channel); + +/* + * the disconnect callback is called from the channel's thread, + * i.e., for display channels - red worker thread, for all the other - from the main thread. + * RedClient is managed from the main thread. red_channel_client_destroy can be called only + * from red_client_destroy. + */ + +void red_channel_client_destroy(RedChannelClient *rcc); +void red_channel_destroy(RedChannel *channel); + +int red_channel_client_test_remote_common_cap(RedChannelClient *rcc, uint32_t cap); +int red_channel_client_test_remote_cap(RedChannelClient *rcc, uint32_t cap); + +/* return true if all the channel clients support the cap */ +int red_channel_test_remote_common_cap(RedChannel *channel, uint32_t cap); +int red_channel_test_remote_cap(RedChannel *channel, uint32_t cap); + +/* shutdown is the only safe thing to do out of the client/channel + * thread. It will not touch the rings, just shutdown the socket. + * It should be followed by some way to gurantee a disconnection. */ +void red_channel_client_shutdown(RedChannelClient *rcc); + +/* should be called when a new channel is ready to send messages */ +void red_channel_init_outgoing_messages_window(RedChannel *channel); + +/* handles general channel msgs from the client */ +int red_channel_client_handle_message(RedChannelClient *rcc, uint32_t size, + uint16_t type, void *message); + +/* when preparing send_data: should call init and then use marshaller */ +void red_channel_client_init_send_data(RedChannelClient *rcc, uint16_t msg_type, PipeItem *item); + +uint64_t red_channel_client_get_message_serial(RedChannelClient *channel); +void red_channel_client_set_message_serial(RedChannelClient *channel, uint64_t); + +/* When sending a msg. Should first call red_channel_client_begin_send_message. + * It will first send the pending urgent data, if there is any, and then + * the rest of the data. + */ +void red_channel_client_begin_send_message(RedChannelClient *rcc); + +/* + * Stores the current send data, and switches to urgent send data. + * When it begins the actual send, it will send first the urgent data + * and afterward the rest of the data. + * Should be called only if during the marshalling of on message, + * the need to send another message, before, rises. + * Important: the serial of the non-urgent sent data, will be succeeded. + * return: the urgent send data marshaller + */ +SpiceMarshaller *red_channel_client_switch_to_urgent_sender(RedChannelClient *rcc); + +void red_channel_pipe_item_init(RedChannel *channel, PipeItem *item, int type); + +// TODO: add back the channel_pipe_add functionality - by adding reference counting +// to the PipeItem. + +// helper to push a new item to all channels +typedef PipeItem *(*new_pipe_item_t)(RedChannelClient *rcc, void *data, int num); +void red_channel_pipes_new_add_push(RedChannel *channel, new_pipe_item_t creator, void *data); +void red_channel_pipes_new_add(RedChannel *channel, new_pipe_item_t creator, void *data); +void red_channel_pipes_new_add_tail(RedChannel *channel, new_pipe_item_t creator, void *data); + +void red_channel_client_pipe_add_push(RedChannelClient *rcc, PipeItem *item); +void red_channel_client_pipe_add(RedChannelClient *rcc, PipeItem *item); +void red_channel_client_pipe_add_after(RedChannelClient *rcc, PipeItem *item, PipeItem *pos); +int red_channel_client_pipe_item_is_linked(RedChannelClient *rcc, PipeItem *item); +void red_channel_client_pipe_remove_and_release(RedChannelClient *rcc, PipeItem *item); +void red_channel_client_pipe_add_tail(RedChannelClient *rcc, PipeItem *item); +/* for types that use this routine -> the pipe item should be freed */ +void red_channel_client_pipe_add_type(RedChannelClient *rcc, int pipe_item_type); +void red_channel_pipes_add_type(RedChannel *channel, int pipe_item_type); + +void red_channel_client_pipe_add_empty_msg(RedChannelClient *rcc, int msg_type); +void red_channel_pipes_add_empty_msg(RedChannel *channel, int msg_type); + +void red_channel_client_ack_zero_messages_window(RedChannelClient *rcc); +void red_channel_client_ack_set_client_window(RedChannelClient *rcc, int client_window); +void red_channel_client_push_set_ack(RedChannelClient *rcc); +void red_channel_push_set_ack(RedChannel *channel); + +int red_channel_get_first_socket(RedChannel *channel); + +/* return TRUE if all of the connected clients to this channel are blocked */ +int red_channel_all_blocked(RedChannel *channel); + +/* return TRUE if any of the connected clients to this channel are blocked */ +int red_channel_any_blocked(RedChannel *channel); + +int red_channel_client_blocked(RedChannelClient *rcc); + +/* helper for channels that have complex logic that can possibly ready a send */ +int red_channel_client_send_message_pending(RedChannelClient *rcc); + +int red_channel_no_item_being_sent(RedChannel *channel); +int red_channel_client_no_item_being_sent(RedChannelClient *rcc); + +void red_channel_pipes_remove(RedChannel *channel, PipeItem *item); + +// TODO: unstaticed for display/cursor channels. they do some specific pushes not through +// adding elements or on events. but not sure if this is actually required (only result +// should be that they ""try"" a little harder, but if the event system is correct it +// should not make any difference. +void red_channel_push(RedChannel *channel); +void red_channel_client_push(RedChannelClient *rcc); +// TODO: again - what is the context exactly? this happens in channel disconnect. but our +// current red_channel_shutdown also closes the socket - is there a socket to close? +// are we reading from an fd here? arghh +void red_channel_client_pipe_clear(RedChannelClient *rcc); +// Again, used in various places outside of event handler context (or in other event handler +// contexts): +// flush_display_commands/flush_cursor_commands +// display_channel_wait_for_init +// red_wait_outgoing_item +// red_wait_pipe_item_sent +// handle_channel_events - this is the only one that was used before, and was in red_channel.c +void red_channel_receive(RedChannel *channel); +void red_channel_client_receive(RedChannelClient *rcc); +// For red_worker +void red_channel_send(RedChannel *channel); +void red_channel_client_send(RedChannelClient *rcc); +// For red_worker +void red_channel_disconnect(RedChannel *channel); +void red_channel_client_disconnect(RedChannelClient *rcc); + +/* accessors for RedChannelClient */ +/* Note: the valid times to call red_channel_get_marshaller are just during send_item callback. */ +SpiceMarshaller *red_channel_client_get_marshaller(RedChannelClient *rcc); +RedsStream *red_channel_client_get_stream(RedChannelClient *rcc); +RedClient *red_channel_client_get_client(RedChannelClient *rcc); + +/* Note that the header is valid only between red_channel_reset_send_data and + * red_channel_begin_send_message.*/ +void red_channel_client_set_header_sub_list(RedChannelClient *rcc, uint32_t sub_list); + +/* return the sum of all the rcc pipe size */ +uint32_t red_channel_max_pipe_size(RedChannel *channel); +/* return the min size of all the rcc pipe */ +uint32_t red_channel_min_pipe_size(RedChannel *channel); +/* return the max size of all the rcc pipe */ +uint32_t red_channel_sum_pipes_size(RedChannel *channel); + +/* apply given function to all connected clients */ +typedef void (*channel_client_callback)(RedChannelClient *rcc); +typedef void (*channel_client_callback_data)(RedChannelClient *rcc, void *data); +void red_channel_apply_clients(RedChannel *channel, channel_client_callback v); +void red_channel_apply_clients_data(RedChannel *channel, channel_client_callback_data v, void *data); + +struct RedClient { + RingItem link; + Ring channels; + int channels_num; + MainChannelClient *mcc; + pthread_mutex_t lock; // different channels can be in different threads + + pthread_t thread_id; + + int disconnecting; + /* Note that while semi-seamless migration is conducted by the main thread, seamless migration + * involves all channels, and thus the related varaibles can be accessed from different + * threads */ + int during_target_migrate; /* if seamless=TRUE, migration_target is turned off when all + the clients received their migration data. Otherwise (semi-seamless), + it is turned off, when red_client_semi_seamless_migrate_complete + is called */ + int seamless_migrate; + int num_migrated_channels; /* for seamless - number of channels that wait for migrate data*/ +}; + +RedClient *red_client_new(int migrated); + +MainChannelClient *red_client_get_main(RedClient *client); +// main should be set once before all the other channels are created +void red_client_set_main(RedClient *client, MainChannelClient *mcc); + +/* called when the migration handshake results in seamless migration (dst side). + * By default we assume semi-seamless */ +void red_client_set_migration_seamless(RedClient *client); +void red_client_semi_seamless_migrate_complete(RedClient *client); /* dst side */ +/* TRUE if the migration is seamless and there are still channels that wait from migration data. + * Or, during semi-seamless migration, and the main channel still waits for MIGRATE_END + * from the client. + * Note: Call it only from the main thread */ +int red_client_during_migrate_at_target(RedClient *client); + +void red_client_migrate(RedClient *client); +// disconnects all the client's channels (should be called from the client's thread) +void red_client_destroy(RedClient *client); + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/red_client_cache.h b/tizen/distrib/remote/server/spice-0.12.2/server/red_client_cache.h new file mode 100644 index 0000000..dc314c0 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/red_client_cache.h @@ -0,0 +1,139 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#if defined(CLIENT_CURSOR_CACHE) + +#define CACHE_NAME cursor_cache +#define CACHE_HASH_KEY CURSOR_CACHE_HASH_KEY +#define CACHE_HASH_SIZE CURSOR_CACHE_HASH_SIZE +#define CACHE_INVAL_TYPE SPICE_MSG_CURSOR_INVAL_ONE +#define FUNC_NAME(name) red_cursor_cache_##name +#define VAR_NAME(name) cursor_cache_##name +#define CHANNEL CursorChannel +#define CHANNELCLIENT CursorChannelClient + +#elif defined(CLIENT_PALETTE_CACHE) + +#define CACHE_NAME palette_cache +#define CACHE_HASH_KEY PALETTE_CACHE_HASH_KEY +#define CACHE_HASH_SIZE PALETTE_CACHE_HASH_SIZE +#define CACHE_INVAL_TYPE SPICE_MSG_DISPLAY_INVAL_PALETTE +#define FUNC_NAME(name) red_palette_cache_##name +#define VAR_NAME(name) palette_cache_##name +#define CHANNEL DisplayChannel +#define CHANNELCLIENT DisplayChannelClient +#else + +#error "no cache type." + +#endif + +#define CHANNEL_FROM_RCC(rcc) SPICE_CONTAINEROF((rcc)->channel, CHANNEL, common.base); + +static CacheItem *FUNC_NAME(find)(CHANNELCLIENT *channel_client, uint64_t id) +{ + CacheItem *item = channel_client->CACHE_NAME[CACHE_HASH_KEY(id)]; + + while (item) { + if (item->id == id) { + ring_remove(&item->u.cache_data.lru_link); + ring_add(&channel_client->VAR_NAME(lru), &item->u.cache_data.lru_link); + break; + } + item = item->u.cache_data.next; + } + return item; +} + +static void FUNC_NAME(remove)(CHANNELCLIENT *channel_client, CacheItem *item) +{ + CacheItem **now; + CHANNEL *channel = CHANNEL_FROM_RCC(&channel_client->common.base); + spice_assert(item); + + now = &channel_client->CACHE_NAME[CACHE_HASH_KEY(item->id)]; + for (;;) { + spice_assert(*now); + if (*now == item) { + *now = item->u.cache_data.next; + break; + } + now = &(*now)->u.cache_data.next; + } + ring_remove(&item->u.cache_data.lru_link); + channel_client->VAR_NAME(items)--; + channel_client->VAR_NAME(available) += item->size; + + red_channel_pipe_item_init(&channel->common.base, &item->u.pipe_data, PIPE_ITEM_TYPE_INVAL_ONE); + red_channel_client_pipe_add_tail(&channel_client->common.base, &item->u.pipe_data); // for now +} + +static int FUNC_NAME(add)(CHANNELCLIENT *channel_client, uint64_t id, size_t size) +{ + CacheItem *item; + int key; + + item = spice_new(CacheItem, 1); + + channel_client->VAR_NAME(available) -= size; + while (channel_client->VAR_NAME(available) < 0) { + CacheItem *tail = (CacheItem *)ring_get_tail(&channel_client->VAR_NAME(lru)); + if (!tail) { + channel_client->VAR_NAME(available) += size; + free(item); + return FALSE; + } + FUNC_NAME(remove)(channel_client, tail); + } + ++channel_client->VAR_NAME(items); + item->u.cache_data.next = channel_client->CACHE_NAME[(key = CACHE_HASH_KEY(id))]; + channel_client->CACHE_NAME[key] = item; + ring_item_init(&item->u.cache_data.lru_link); + ring_add(&channel_client->VAR_NAME(lru), &item->u.cache_data.lru_link); + item->id = id; + item->size = size; + item->inval_type = CACHE_INVAL_TYPE; + return TRUE; +} + +static void FUNC_NAME(reset)(CHANNELCLIENT *channel_client, long size) +{ + int i; + + for (i = 0; i < CACHE_HASH_SIZE; i++) { + while (channel_client->CACHE_NAME[i]) { + CacheItem *item = channel_client->CACHE_NAME[i]; + channel_client->CACHE_NAME[i] = item->u.cache_data.next; + free(item); + } + } + ring_init(&channel_client->VAR_NAME(lru)); + channel_client->VAR_NAME(available) = size; + channel_client->VAR_NAME(items) = 0; +} + + +#undef CACHE_NAME +#undef CACHE_HASH_KEY +#undef CACHE_HASH_SIZE +#undef CACHE_INVAL_TYPE +#undef CACHE_MAX_CLIENT_SIZE +#undef FUNC_NAME +#undef VAR_NAME +#undef CHANNEL +#undef CHANNELCLIENT +#undef CHANNEL_FROM_RCC diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/red_client_shared_cache.h b/tizen/distrib/remote/server/spice-0.12.2/server/red_client_shared_cache.h new file mode 100644 index 0000000..821ee18 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/red_client_shared_cache.h @@ -0,0 +1,235 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#if defined(CLIENT_PIXMAPS_CACHE) + +#define CACHE PixmapCache + +#define CACHE_NAME bits_cache +#define CACHE_HASH_KEY BITS_CACHE_HASH_KEY +#define CACHE_HASH_SIZE BITS_CACHE_HASH_SIZE +#define PIPE_ITEM_TYPE PIPE_ITEM_TYPE_INVAL_PIXMAP +#define FUNC_NAME(name) pixmap_cache_##name +#define PRIVATE_FUNC_NAME(name) __pixmap_cache_##name +#define CHANNEL DisplayChannel +#define CACH_GENERATION pixmap_cache_generation +#define INVAL_ALL_VERB SPICE_MSG_DISPLAY_INVAL_ALL_PIXMAPS +#else + +#error "no cache type." + +#endif + +#define CHANNEL_FROM_RCC(rcc) SPICE_CONTAINEROF((rcc)->channel, CHANNEL, common.base); + +static int FUNC_NAME(hit)(CACHE *cache, uint64_t id, int *lossy, DisplayChannelClient *dcc) +{ + NewCacheItem *item; + uint64_t serial; + + serial = red_channel_client_get_message_serial(&dcc->common.base); + pthread_mutex_lock(&cache->lock); + item = cache->hash_table[CACHE_HASH_KEY(id)]; + + while (item) { + if (item->id == id) { + ring_remove(&item->lru_link); + ring_add(&cache->lru, &item->lru_link); + spice_assert(dcc->common.id < MAX_CACHE_CLIENTS); + item->sync[dcc->common.id] = serial; + cache->sync[dcc->common.id] = serial; + *lossy = item->lossy; + break; + } + item = item->next; + } + pthread_mutex_unlock(&cache->lock); + + return !!item; +} + +static int FUNC_NAME(set_lossy)(CACHE *cache, uint64_t id, int lossy) +{ + NewCacheItem *item; + pthread_mutex_lock(&cache->lock); + + item = cache->hash_table[CACHE_HASH_KEY(id)]; + + while (item) { + if (item->id == id) { + item->lossy = lossy; + break; + } + item = item->next; + } + pthread_mutex_unlock(&cache->lock); + return !!item; +} + +static int FUNC_NAME(add)(CACHE *cache, uint64_t id, uint32_t size, int lossy, DisplayChannelClient *dcc) +{ + NewCacheItem *item; + uint64_t serial; + int key; + + spice_assert(size > 0); + + item = spice_new(NewCacheItem, 1); + serial = red_channel_client_get_message_serial(&dcc->common.base); + + pthread_mutex_lock(&cache->lock); + + if (cache->generation != dcc->CACH_GENERATION) { + if (!dcc->pending_pixmaps_sync) { + red_channel_client_pipe_add_type( + &dcc->common.base, PIPE_ITEM_TYPE_PIXMAP_SYNC); + dcc->pending_pixmaps_sync = TRUE; + } + pthread_mutex_unlock(&cache->lock); + free(item); + return FALSE; + } + + cache->available -= size; + while (cache->available < 0) { + NewCacheItem *tail; + NewCacheItem **now; + + if (!(tail = (NewCacheItem *)ring_get_tail(&cache->lru)) || + tail->sync[dcc->common.id] == serial) { + cache->available += size; + pthread_mutex_unlock(&cache->lock); + free(item); + return FALSE; + } + + now = &cache->hash_table[CACHE_HASH_KEY(tail->id)]; + for (;;) { + spice_assert(*now); + if (*now == tail) { + *now = tail->next; + break; + } + now = &(*now)->next; + } + ring_remove(&tail->lru_link); + cache->items--; + cache->available += tail->size; + cache->sync[dcc->common.id] = serial; + display_channel_push_release(dcc, SPICE_RES_TYPE_PIXMAP, tail->id, tail->sync); + free(tail); + } + ++cache->items; + item->next = cache->hash_table[(key = CACHE_HASH_KEY(id))]; + cache->hash_table[key] = item; + ring_item_init(&item->lru_link); + ring_add(&cache->lru, &item->lru_link); + item->id = id; + item->size = size; + item->lossy = lossy; + memset(item->sync, 0, sizeof(item->sync)); + item->sync[dcc->common.id] = serial; + cache->sync[dcc->common.id] = serial; + pthread_mutex_unlock(&cache->lock); + return TRUE; +} + +static void PRIVATE_FUNC_NAME(clear)(CACHE *cache) +{ + NewCacheItem *item; + + if (cache->freezed) { + cache->lru.next = cache->freezed_head; + cache->lru.prev = cache->freezed_tail; + cache->freezed = FALSE; + } + + while ((item = (NewCacheItem *)ring_get_head(&cache->lru))) { + ring_remove(&item->lru_link); + free(item); + } + memset(cache->hash_table, 0, sizeof(*cache->hash_table) * CACHE_HASH_SIZE); + + cache->available = cache->size; + cache->items = 0; +} + +static void FUNC_NAME(reset)(CACHE *cache, DisplayChannelClient *dcc, SpiceMsgWaitForChannels* sync_data) +{ + uint8_t wait_count; + uint64_t serial; + uint32_t i; + + serial = red_channel_client_get_message_serial(&dcc->common.base); + pthread_mutex_lock(&cache->lock); + PRIVATE_FUNC_NAME(clear)(cache); + + dcc->CACH_GENERATION = ++cache->generation; + cache->generation_initiator.client = dcc->common.id; + cache->generation_initiator.message = serial; + cache->sync[dcc->common.id] = serial; + + wait_count = 0; + for (i = 0; i < MAX_CACHE_CLIENTS; i++) { + if (cache->sync[i] && i != dcc->common.id) { + sync_data->wait_list[wait_count].channel_type = SPICE_CHANNEL_DISPLAY; + sync_data->wait_list[wait_count].channel_id = i; + sync_data->wait_list[wait_count++].message_serial = cache->sync[i]; + } + } + sync_data->wait_count = wait_count; + pthread_mutex_unlock(&cache->lock); +} + +static int FUNC_NAME(freeze)(CACHE *cache) +{ + pthread_mutex_lock(&cache->lock); + + if (cache->freezed) { + pthread_mutex_unlock(&cache->lock); + return FALSE; + } + + cache->freezed_head = cache->lru.next; + cache->freezed_tail = cache->lru.prev; + ring_init(&cache->lru); + memset(cache->hash_table, 0, sizeof(*cache->hash_table) * CACHE_HASH_SIZE); + cache->available = -1; + cache->freezed = TRUE; + + pthread_mutex_unlock(&cache->lock); + return TRUE; +} + +static void FUNC_NAME(destroy)(CACHE *cache) +{ + spice_assert(cache); + + pthread_mutex_lock(&cache->lock); + PRIVATE_FUNC_NAME(clear)(cache); + pthread_mutex_unlock(&cache->lock); +} + +#undef CACHE_NAME +#undef CACHE_HASH_KEY +#undef CACHE_HASH_SIZE +#undef CACHE_INVAL_TYPE +#undef CACHE_MAX_CLIENT_SIZE +#undef FUNC_NAME +#undef VAR_NAME +#undef CHANNEL +#undef CHANNEL_FROM_RCC diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/red_common.h b/tizen/distrib/remote/server/spice-0.12.2/server/red_common.h new file mode 100644 index 0000000..585b13c --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/red_common.h @@ -0,0 +1,66 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_RED_COMMON +#define _H_RED_COMMON + +#include <sys/uio.h> +#include <openssl/ssl.h> +#include <spice/macros.h> + +#include "common/mem.h" +#include "common/spice_common.h" +#include "common/messages.h" +#include "common/lz_common.h" + +#include "spice.h" + +enum { + STREAM_VIDEO_INVALID, + STREAM_VIDEO_OFF, + STREAM_VIDEO_ALL, + STREAM_VIDEO_FILTER +}; + +static const LzImageType MAP_BITMAP_FMT_TO_LZ_IMAGE_TYPE[] = { + LZ_IMAGE_TYPE_INVALID, + LZ_IMAGE_TYPE_PLT1_LE, + LZ_IMAGE_TYPE_PLT1_BE, + LZ_IMAGE_TYPE_PLT4_LE, + LZ_IMAGE_TYPE_PLT4_BE, + LZ_IMAGE_TYPE_PLT8, + LZ_IMAGE_TYPE_RGB16, + LZ_IMAGE_TYPE_RGB24, + LZ_IMAGE_TYPE_RGB32, + LZ_IMAGE_TYPE_RGBA, + LZ_IMAGE_TYPE_A8 +}; + +static inline int bitmap_fmt_is_rgb(uint8_t fmt) +{ + static const int BITMAP_FMT_IS_RGB[SPICE_BITMAP_FMT_ENUM_END] = + {0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1}; + + if (fmt >= SPICE_BITMAP_FMT_ENUM_END) { + spice_warning("fmt >= SPICE_BITMAP_FMT_ENUM_END; %d >= %d", + fmt, SPICE_BITMAP_FMT_ENUM_END); + return 0; + } + return BITMAP_FMT_IS_RGB[fmt]; +} + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/red_dispatcher.c b/tizen/distrib/remote/server/spice-0.12.2/server/red_dispatcher.c new file mode 100644 index 0000000..97e9737 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/red_dispatcher.c @@ -0,0 +1,1177 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <stdio.h> +#include <stdlib.h> +#include <unistd.h> +#include <errno.h> +#include <string.h> +#include <pthread.h> +#include <sys/socket.h> +#include <signal.h> +#include <inttypes.h> + +#include <spice/qxl_dev.h> +#include "common/quic.h" + +#include "spice.h" +#include "red_worker.h" +#include "reds_sw_canvas.h" +#ifdef USE_OPENGL +#include "reds_gl_canvas.h" +#endif // USE_OPENGL +#include "reds.h" +#include "dispatcher.h" +#include "red_dispatcher.h" +#include "red_parse_qxl.h" + +static int num_active_workers = 0; + +struct AsyncCommand { + RingItem link; + RedWorkerMessage message; + uint64_t cookie; +}; + +struct RedDispatcher { + QXLWorker base; + QXLInstance *qxl; + Dispatcher dispatcher; + pthread_t worker_thread; + uint32_t pending; + int primary_active; + int x_res; + int y_res; + int use_hardware_cursor; + RedDispatcher *next; + Ring async_commands; + pthread_mutex_t async_lock; + QXLDevSurfaceCreate surface_create; +}; + +typedef struct RedWorkeState { + uint8_t *io_base; + unsigned long phys_delta; + + uint32_t x_res; + uint32_t y_res; + uint32_t bits; + uint32_t stride; +} RedWorkeState; + +extern uint32_t streaming_video; +extern spice_image_compression_t image_compression; +extern spice_wan_compression_t jpeg_state; +extern spice_wan_compression_t zlib_glz_state; + +static RedDispatcher *dispatchers = NULL; + +static int red_dispatcher_check_qxl_version(RedDispatcher *rd, int major, int minor) +{ + int qxl_major = rd->qxl->st->qif->base.major_version; + int qxl_minor = rd->qxl->st->qif->base.minor_version; + + return ((qxl_major > major) || + ((qxl_major == major) && (qxl_minor >= minor))); +} + +static void red_dispatcher_set_display_peer(RedChannel *channel, RedClient *client, + RedsStream *stream, int migration, + int num_common_caps, uint32_t *common_caps, int num_caps, + uint32_t *caps) +{ + RedWorkerMessageDisplayConnect payload; + RedDispatcher *dispatcher; + + spice_debug("%s", ""); + dispatcher = (RedDispatcher *)channel->data; + payload.client = client; + payload.stream = stream; + payload.migration = migration; + payload.num_common_caps = num_common_caps; + payload.common_caps = spice_malloc(sizeof(uint32_t)*num_common_caps); + payload.num_caps = num_caps; + payload.caps = spice_malloc(sizeof(uint32_t)*num_caps); + + memcpy(payload.common_caps, common_caps, sizeof(uint32_t)*num_common_caps); + memcpy(payload.caps, caps, sizeof(uint32_t)*num_caps); + + dispatcher_send_message(&dispatcher->dispatcher, + RED_WORKER_MESSAGE_DISPLAY_CONNECT, + &payload); +} + +static void red_dispatcher_disconnect_display_peer(RedChannelClient *rcc) +{ + RedWorkerMessageDisplayDisconnect payload; + RedDispatcher *dispatcher; + + if (!rcc->channel) { + return; + } + + dispatcher = (RedDispatcher *)rcc->channel->data; + + spice_printerr(""); + payload.rcc = rcc; + + // TODO: we turned it to be sync, due to client_destroy . Should we support async? - for this we will need ref count + // for channels + dispatcher_send_message(&dispatcher->dispatcher, + RED_WORKER_MESSAGE_DISPLAY_DISCONNECT, + &payload); +} + +static void red_dispatcher_display_migrate(RedChannelClient *rcc) +{ + RedWorkerMessageDisplayMigrate payload; + RedDispatcher *dispatcher; + if (!rcc->channel) { + return; + } + dispatcher = (RedDispatcher *)rcc->channel->data; + spice_printerr("channel type %u id %u", rcc->channel->type, rcc->channel->id); + payload.rcc = rcc; + dispatcher_send_message(&dispatcher->dispatcher, + RED_WORKER_MESSAGE_DISPLAY_MIGRATE, + &payload); +} + +static void red_dispatcher_set_cursor_peer(RedChannel *channel, RedClient *client, RedsStream *stream, + int migration, int num_common_caps, + uint32_t *common_caps, int num_caps, + uint32_t *caps) +{ + RedWorkerMessageCursorConnect payload; + RedDispatcher *dispatcher = (RedDispatcher *)channel->data; + spice_printerr(""); + payload.client = client; + payload.stream = stream; + payload.migration = migration; + payload.num_common_caps = num_common_caps; + payload.common_caps = spice_malloc(sizeof(uint32_t)*num_common_caps); + payload.num_caps = num_caps; + payload.caps = spice_malloc(sizeof(uint32_t)*num_caps); + + memcpy(payload.common_caps, common_caps, sizeof(uint32_t)*num_common_caps); + memcpy(payload.caps, caps, sizeof(uint32_t)*num_caps); + + dispatcher_send_message(&dispatcher->dispatcher, + RED_WORKER_MESSAGE_CURSOR_CONNECT, + &payload); +} + +static void red_dispatcher_disconnect_cursor_peer(RedChannelClient *rcc) +{ + RedWorkerMessageCursorDisconnect payload; + RedDispatcher *dispatcher; + + if (!rcc->channel) { + return; + } + + dispatcher = (RedDispatcher *)rcc->channel->data; + spice_printerr(""); + payload.rcc = rcc; + + dispatcher_send_message(&dispatcher->dispatcher, + RED_WORKER_MESSAGE_CURSOR_DISCONNECT, + &payload); +} + +static void red_dispatcher_cursor_migrate(RedChannelClient *rcc) +{ + RedWorkerMessageCursorMigrate payload; + RedDispatcher *dispatcher; + + if (!rcc->channel) { + return; + } + dispatcher = (RedDispatcher *)rcc->channel->data; + spice_printerr("channel type %u id %u", rcc->channel->type, rcc->channel->id); + payload.rcc = rcc; + dispatcher_send_message(&dispatcher->dispatcher, + RED_WORKER_MESSAGE_CURSOR_MIGRATE, + &payload); +} + +typedef struct RendererInfo { + int id; + const char *name; +} RendererInfo; + +static RendererInfo renderers_info[] = { + {RED_RENDERER_SW, "sw"}, +#ifdef USE_OPENGL + {RED_RENDERER_OGL_PBUF, "oglpbuf"}, + {RED_RENDERER_OGL_PIXMAP, "oglpixmap"}, +#endif + {RED_RENDERER_INVALID, NULL}, +}; + +static uint32_t renderers[RED_MAX_RENDERERS]; +static uint32_t num_renderers = 0; + +static RendererInfo *find_renderer(const char *name) +{ + RendererInfo *inf = renderers_info; + while (inf->name) { + if (strcmp(name, inf->name) == 0) { + return inf; + } + inf++; + } + return NULL; +} + +int red_dispatcher_add_renderer(const char *name) +{ + RendererInfo *inf; + + if (num_renderers == RED_MAX_RENDERERS || !(inf = find_renderer(name))) { + return FALSE; + } + renderers[num_renderers++] = inf->id; + return TRUE; +} + +int red_dispatcher_qxl_count(void) +{ + return num_active_workers; +} + +static void update_client_mouse_allowed(void) +{ + static int allowed = FALSE; + int allow_now = FALSE; + int x_res = 0; + int y_res = 0; + + if (num_active_workers > 0) { + allow_now = TRUE; + RedDispatcher *now = dispatchers; + while (now && allow_now) { + if (now->primary_active) { + allow_now = now->use_hardware_cursor; + if (num_active_workers == 1) { + if (allow_now) { + x_res = now->x_res; + y_res = now->y_res; + } + break; + } + } + now = now->next; + } + } + + if (allow_now || allow_now != allowed) { + allowed = allow_now; + reds_set_client_mouse_allowed(allowed, x_res, y_res); + } +} + +static void red_dispatcher_update_area(RedDispatcher *dispatcher, uint32_t surface_id, + QXLRect *qxl_area, QXLRect *qxl_dirty_rects, + uint32_t num_dirty_rects, uint32_t clear_dirty_region) +{ + RedWorkerMessageUpdate payload; + + payload.surface_id = surface_id; + payload.qxl_area = qxl_area; + payload.qxl_dirty_rects = qxl_dirty_rects; + payload.num_dirty_rects = num_dirty_rects; + payload.clear_dirty_region = clear_dirty_region; + dispatcher_send_message(&dispatcher->dispatcher, + RED_WORKER_MESSAGE_UPDATE, + &payload); +} + +int red_dispatcher_use_client_monitors_config(void) +{ + RedDispatcher *now = dispatchers; + + if (num_active_workers == 0) { + return FALSE; + } + + for (; now ; now = now->next) { + if (!red_dispatcher_check_qxl_version(now, 3, 3) || + !now->qxl->st->qif->client_monitors_config || + !now->qxl->st->qif->client_monitors_config(now->qxl, NULL)) { + return FALSE; + } + } + return TRUE; +} + +void red_dispatcher_client_monitors_config(VDAgentMonitorsConfig *monitors_config) +{ + RedDispatcher *now = dispatchers; + + while (now) { + if (!now->qxl->st->qif->client_monitors_config || + !now->qxl->st->qif->client_monitors_config(now->qxl, + monitors_config)) { + spice_warning("spice bug: QXLInterface::client_monitors_config" + " failed/missing unexpectedly\n"); + } + now = now->next; + } +} + +static AsyncCommand *async_command_alloc(RedDispatcher *dispatcher, + RedWorkerMessage message, + uint64_t cookie) +{ + AsyncCommand *async_command = spice_new0(AsyncCommand, 1); + + pthread_mutex_lock(&dispatcher->async_lock); + async_command->cookie = cookie; + async_command->message = message; + ring_add(&dispatcher->async_commands, &async_command->link); + pthread_mutex_unlock(&dispatcher->async_lock); + spice_debug("%p", async_command); + return async_command; +} + +static void red_dispatcher_update_area_async(RedDispatcher *dispatcher, + uint32_t surface_id, + QXLRect *qxl_area, + uint32_t clear_dirty_region, + uint64_t cookie) +{ + RedWorkerMessage message = RED_WORKER_MESSAGE_UPDATE_ASYNC; + RedWorkerMessageUpdateAsync payload; + + payload.base.cmd = async_command_alloc(dispatcher, message, cookie); + payload.surface_id = surface_id; + payload.qxl_area = *qxl_area; + payload.clear_dirty_region = clear_dirty_region; + dispatcher_send_message(&dispatcher->dispatcher, + message, + &payload); +} + +static void qxl_worker_update_area(QXLWorker *qxl_worker, uint32_t surface_id, + QXLRect *qxl_area, QXLRect *qxl_dirty_rects, + uint32_t num_dirty_rects, uint32_t clear_dirty_region) +{ + red_dispatcher_update_area((RedDispatcher*)qxl_worker, surface_id, qxl_area, + qxl_dirty_rects, num_dirty_rects, clear_dirty_region); +} + +static void red_dispatcher_add_memslot(RedDispatcher *dispatcher, QXLDevMemSlot *mem_slot) +{ + RedWorkerMessageAddMemslot payload; + + payload.mem_slot = *mem_slot; + dispatcher_send_message(&dispatcher->dispatcher, + RED_WORKER_MESSAGE_ADD_MEMSLOT, + &payload); +} + +static void qxl_worker_add_memslot(QXLWorker *qxl_worker, QXLDevMemSlot *mem_slot) +{ + red_dispatcher_add_memslot((RedDispatcher*)qxl_worker, mem_slot); +} + +static void red_dispatcher_add_memslot_async(RedDispatcher *dispatcher, QXLDevMemSlot *mem_slot, uint64_t cookie) +{ + RedWorkerMessageAddMemslotAsync payload; + RedWorkerMessage message = RED_WORKER_MESSAGE_ADD_MEMSLOT_ASYNC; + + payload.base.cmd = async_command_alloc(dispatcher, message, cookie); + payload.mem_slot = *mem_slot; + dispatcher_send_message(&dispatcher->dispatcher, message, &payload); +} + +static void red_dispatcher_del_memslot(RedDispatcher *dispatcher, uint32_t slot_group_id, uint32_t slot_id) +{ + RedWorkerMessageDelMemslot payload; + RedWorkerMessage message = RED_WORKER_MESSAGE_DEL_MEMSLOT; + + payload.slot_group_id = slot_group_id; + payload.slot_id = slot_id; + dispatcher_send_message(&dispatcher->dispatcher, message, &payload); +} + +static void qxl_worker_del_memslot(QXLWorker *qxl_worker, uint32_t slot_group_id, uint32_t slot_id) +{ + red_dispatcher_del_memslot((RedDispatcher*)qxl_worker, slot_group_id, slot_id); +} + +static void red_dispatcher_destroy_surfaces(RedDispatcher *dispatcher) +{ + RedWorkerMessageDestroySurfaces payload; + + dispatcher_send_message(&dispatcher->dispatcher, + RED_WORKER_MESSAGE_DESTROY_SURFACES, + &payload); +} + +static void qxl_worker_destroy_surfaces(QXLWorker *qxl_worker) +{ + red_dispatcher_destroy_surfaces((RedDispatcher*)qxl_worker); +} + +static void red_dispatcher_destroy_surfaces_async(RedDispatcher *dispatcher, uint64_t cookie) +{ + RedWorkerMessageDestroySurfacesAsync payload; + RedWorkerMessage message = RED_WORKER_MESSAGE_DESTROY_SURFACES_ASYNC; + + payload.base.cmd = async_command_alloc(dispatcher, message, cookie); + dispatcher_send_message(&dispatcher->dispatcher, message, &payload); +} + +static void red_dispatcher_destroy_primary_surface_complete(RedDispatcher *dispatcher) +{ + dispatcher->x_res = 0; + dispatcher->y_res = 0; + dispatcher->use_hardware_cursor = FALSE; + dispatcher->primary_active = FALSE; + + update_client_mouse_allowed(); +} + +static void +red_dispatcher_destroy_primary_surface_sync(RedDispatcher *dispatcher, + uint32_t surface_id) +{ + RedWorkerMessageDestroyPrimarySurface payload; + payload.surface_id = surface_id; + dispatcher_send_message(&dispatcher->dispatcher, + RED_WORKER_MESSAGE_DESTROY_PRIMARY_SURFACE, + &payload); + red_dispatcher_destroy_primary_surface_complete(dispatcher); +} + +static void +red_dispatcher_destroy_primary_surface_async(RedDispatcher *dispatcher, + uint32_t surface_id, uint64_t cookie) +{ + RedWorkerMessageDestroyPrimarySurfaceAsync payload; + RedWorkerMessage message = RED_WORKER_MESSAGE_DESTROY_PRIMARY_SURFACE_ASYNC; + + payload.base.cmd = async_command_alloc(dispatcher, message, cookie); + payload.surface_id = surface_id; + dispatcher_send_message(&dispatcher->dispatcher, message, &payload); +} + +static void +red_dispatcher_destroy_primary_surface(RedDispatcher *dispatcher, + uint32_t surface_id, int async, uint64_t cookie) +{ + if (async) { + red_dispatcher_destroy_primary_surface_async(dispatcher, surface_id, cookie); + } else { + red_dispatcher_destroy_primary_surface_sync(dispatcher, surface_id); + } +} + +static void qxl_worker_destroy_primary_surface(QXLWorker *qxl_worker, uint32_t surface_id) +{ + red_dispatcher_destroy_primary_surface((RedDispatcher*)qxl_worker, surface_id, 0, 0); +} + +static void red_dispatcher_create_primary_surface_complete(RedDispatcher *dispatcher) +{ + QXLDevSurfaceCreate *surface = &dispatcher->surface_create; + + dispatcher->x_res = surface->width; + dispatcher->y_res = surface->height; + dispatcher->use_hardware_cursor = surface->mouse_mode; + dispatcher->primary_active = TRUE; + + update_client_mouse_allowed(); + memset(&dispatcher->surface_create, 0, sizeof(QXLDevSurfaceCreate)); +} + +static void +red_dispatcher_create_primary_surface_async(RedDispatcher *dispatcher, uint32_t surface_id, + QXLDevSurfaceCreate *surface, uint64_t cookie) +{ + RedWorkerMessageCreatePrimarySurfaceAsync payload; + RedWorkerMessage message = RED_WORKER_MESSAGE_CREATE_PRIMARY_SURFACE_ASYNC; + + dispatcher->surface_create = *surface; + payload.base.cmd = async_command_alloc(dispatcher, message, cookie); + payload.surface_id = surface_id; + payload.surface = *surface; + dispatcher_send_message(&dispatcher->dispatcher, message, &payload); +} + +static void +red_dispatcher_create_primary_surface_sync(RedDispatcher *dispatcher, uint32_t surface_id, + QXLDevSurfaceCreate *surface) +{ + RedWorkerMessageCreatePrimarySurface payload; + + dispatcher->surface_create = *surface; + payload.surface_id = surface_id; + payload.surface = *surface; + dispatcher_send_message(&dispatcher->dispatcher, + RED_WORKER_MESSAGE_CREATE_PRIMARY_SURFACE, + &payload); + red_dispatcher_create_primary_surface_complete(dispatcher); +} + +static void +red_dispatcher_create_primary_surface(RedDispatcher *dispatcher, uint32_t surface_id, + QXLDevSurfaceCreate *surface, int async, uint64_t cookie) +{ + if (async) { + red_dispatcher_create_primary_surface_async(dispatcher, surface_id, surface, cookie); + } else { + red_dispatcher_create_primary_surface_sync(dispatcher, surface_id, surface); + } +} + +static void qxl_worker_create_primary_surface(QXLWorker *qxl_worker, uint32_t surface_id, + QXLDevSurfaceCreate *surface) +{ + red_dispatcher_create_primary_surface((RedDispatcher*)qxl_worker, surface_id, surface, 0, 0); +} + +static void red_dispatcher_reset_image_cache(RedDispatcher *dispatcher) +{ + RedWorkerMessageResetImageCache payload; + + dispatcher_send_message(&dispatcher->dispatcher, + RED_WORKER_MESSAGE_RESET_IMAGE_CACHE, + &payload); +} + +static void qxl_worker_reset_image_cache(QXLWorker *qxl_worker) +{ + red_dispatcher_reset_image_cache((RedDispatcher*)qxl_worker); +} + +static void red_dispatcher_reset_cursor(RedDispatcher *dispatcher) +{ + RedWorkerMessageResetCursor payload; + + dispatcher_send_message(&dispatcher->dispatcher, + RED_WORKER_MESSAGE_RESET_CURSOR, + &payload); +} + +static void qxl_worker_reset_cursor(QXLWorker *qxl_worker) +{ + red_dispatcher_reset_cursor((RedDispatcher*)qxl_worker); +} + +static void red_dispatcher_destroy_surface_wait_sync(RedDispatcher *dispatcher, + uint32_t surface_id) +{ + RedWorkerMessageDestroySurfaceWait payload; + + payload.surface_id = surface_id; + dispatcher_send_message(&dispatcher->dispatcher, + RED_WORKER_MESSAGE_DESTROY_SURFACE_WAIT, + &payload); +} + +static void red_dispatcher_destroy_surface_wait_async(RedDispatcher *dispatcher, + uint32_t surface_id, + uint64_t cookie) +{ + RedWorkerMessageDestroySurfaceWaitAsync payload; + RedWorkerMessage message = RED_WORKER_MESSAGE_DESTROY_SURFACE_WAIT_ASYNC; + + payload.base.cmd = async_command_alloc(dispatcher, message, cookie); + payload.surface_id = surface_id; + dispatcher_send_message(&dispatcher->dispatcher, message, &payload); +} + +static void red_dispatcher_destroy_surface_wait(RedDispatcher *dispatcher, + uint32_t surface_id, + int async, uint64_t cookie) +{ + if (async) { + red_dispatcher_destroy_surface_wait_async(dispatcher, surface_id, cookie); + } else { + red_dispatcher_destroy_surface_wait_sync(dispatcher, surface_id); + } +} + +static void qxl_worker_destroy_surface_wait(QXLWorker *qxl_worker, uint32_t surface_id) +{ + red_dispatcher_destroy_surface_wait((RedDispatcher*)qxl_worker, surface_id, 0, 0); +} + +static void red_dispatcher_reset_memslots(RedDispatcher *dispatcher) +{ + RedWorkerMessageResetMemslots payload; + + dispatcher_send_message(&dispatcher->dispatcher, + RED_WORKER_MESSAGE_RESET_MEMSLOTS, + &payload); +} + +static void qxl_worker_reset_memslots(QXLWorker *qxl_worker) +{ + red_dispatcher_reset_memslots((RedDispatcher*)qxl_worker); +} + +static void red_dispatcher_wakeup(RedDispatcher *dispatcher) +{ + RedWorkerMessageWakeup payload; + + if (test_bit(RED_WORKER_PENDING_WAKEUP, dispatcher->pending)) { + return; + } + set_bit(RED_WORKER_PENDING_WAKEUP, &dispatcher->pending); + dispatcher_send_message(&dispatcher->dispatcher, + RED_WORKER_MESSAGE_WAKEUP, + &payload); +} + +static void qxl_worker_wakeup(QXLWorker *qxl_worker) +{ + red_dispatcher_wakeup((RedDispatcher*)qxl_worker); +} + +static void red_dispatcher_oom(RedDispatcher *dispatcher) +{ + RedWorkerMessageOom payload; + + if (test_bit(RED_WORKER_PENDING_OOM, dispatcher->pending)) { + return; + } + set_bit(RED_WORKER_PENDING_OOM, &dispatcher->pending); + dispatcher_send_message(&dispatcher->dispatcher, + RED_WORKER_MESSAGE_OOM, + &payload); +} + +static void qxl_worker_oom(QXLWorker *qxl_worker) +{ + red_dispatcher_oom((RedDispatcher*)qxl_worker); +} + +static void red_dispatcher_start(RedDispatcher *dispatcher) +{ + RedWorkerMessageStart payload; + + dispatcher_send_message(&dispatcher->dispatcher, + RED_WORKER_MESSAGE_START, + &payload); +} + +static void qxl_worker_start(QXLWorker *qxl_worker) +{ + red_dispatcher_start((RedDispatcher*)qxl_worker); +} + +static void red_dispatcher_flush_surfaces_async(RedDispatcher *dispatcher, uint64_t cookie) +{ + RedWorkerMessageFlushSurfacesAsync payload; + RedWorkerMessage message = RED_WORKER_MESSAGE_FLUSH_SURFACES_ASYNC; + + payload.base.cmd = async_command_alloc(dispatcher, message, cookie); + dispatcher_send_message(&dispatcher->dispatcher, message, &payload); +} + +static void red_dispatcher_monitors_config_async(RedDispatcher *dispatcher, + QXLPHYSICAL monitors_config, + int group_id, + uint64_t cookie) +{ + RedWorkerMessageMonitorsConfigAsync payload; + RedWorkerMessage message = RED_WORKER_MESSAGE_MONITORS_CONFIG_ASYNC; + + payload.base.cmd = async_command_alloc(dispatcher, message, cookie); + payload.monitors_config = monitors_config; + payload.group_id = group_id; + + dispatcher_send_message(&dispatcher->dispatcher, message, &payload); +} + +static void red_dispatcher_stop(RedDispatcher *dispatcher) +{ + RedWorkerMessageStop payload; + + dispatcher_send_message(&dispatcher->dispatcher, + RED_WORKER_MESSAGE_STOP, + &payload); +} + +static void qxl_worker_stop(QXLWorker *qxl_worker) +{ + red_dispatcher_stop((RedDispatcher*)qxl_worker); +} + +static void red_dispatcher_loadvm_commands(RedDispatcher *dispatcher, + struct QXLCommandExt *ext, + uint32_t count) +{ + RedWorkerMessageLoadvmCommands payload; + + spice_printerr(""); + payload.count = count; + payload.ext = ext; + dispatcher_send_message(&dispatcher->dispatcher, + RED_WORKER_MESSAGE_LOADVM_COMMANDS, + &payload); +} + +static void qxl_worker_loadvm_commands(QXLWorker *qxl_worker, + struct QXLCommandExt *ext, + uint32_t count) +{ + red_dispatcher_loadvm_commands((RedDispatcher*)qxl_worker, ext, count); +} + +void red_dispatcher_set_mm_time(uint32_t mm_time) +{ + RedDispatcher *now = dispatchers; + while (now) { + now->qxl->st->qif->set_mm_time(now->qxl, mm_time); + now = now->next; + } +} + +static inline int calc_compression_level(void) +{ + spice_assert(streaming_video != STREAM_VIDEO_INVALID); + if ((streaming_video != STREAM_VIDEO_OFF) || + (image_compression != SPICE_IMAGE_COMPRESS_QUIC)) { + return 0; + } else { + return 1; + } +} + +void red_dispatcher_on_ic_change(void) +{ + RedWorkerMessageSetCompression payload; + int compression_level = calc_compression_level(); + RedDispatcher *now = dispatchers; + + while (now) { + now->qxl->st->qif->set_compression_level(now->qxl, compression_level); + payload.image_compression = image_compression; + dispatcher_send_message(&now->dispatcher, + RED_WORKER_MESSAGE_SET_COMPRESSION, + &payload); + now = now->next; + } +} + +void red_dispatcher_on_sv_change(void) +{ + RedWorkerMessageSetStreamingVideo payload; + int compression_level = calc_compression_level(); + RedDispatcher *now = dispatchers; + while (now) { + now->qxl->st->qif->set_compression_level(now->qxl, compression_level); + payload.streaming_video = streaming_video; + dispatcher_send_message(&now->dispatcher, + RED_WORKER_MESSAGE_SET_STREAMING_VIDEO, + &payload); + now = now->next; + } +} + +void red_dispatcher_set_mouse_mode(uint32_t mode) +{ + RedWorkerMessageSetMouseMode payload; + RedDispatcher *now = dispatchers; + while (now) { + payload.mode = mode; + dispatcher_send_message(&now->dispatcher, + RED_WORKER_MESSAGE_SET_MOUSE_MODE, + &payload); + now = now->next; + } +} + +void red_dispatcher_on_vm_stop(void) +{ + RedDispatcher *now = dispatchers; + + spice_debug(NULL); + while (now) { + red_dispatcher_stop(now); + now = now->next; + } +} + +void red_dispatcher_on_vm_start(void) +{ + RedDispatcher *now = dispatchers; + + spice_debug(NULL); + while (now) { + red_dispatcher_start(now); + now = now->next; + } +} + +int red_dispatcher_count(void) +{ + RedDispatcher *now = dispatchers; + int ret = 0; + + while (now) { + ret++; + now = now->next; + } + return ret; +} + +uint32_t red_dispatcher_qxl_ram_size(void) +{ + QXLDevInitInfo qxl_info; + if (!dispatchers) { + return 0; + } + dispatchers->qxl->st->qif->get_init_info(dispatchers->qxl, &qxl_info); + return qxl_info.qxl_ram_size; +} + +SPICE_GNUC_VISIBLE +void spice_qxl_wakeup(QXLInstance *instance) +{ + red_dispatcher_wakeup(instance->st->dispatcher); +} + +SPICE_GNUC_VISIBLE +void spice_qxl_oom(QXLInstance *instance) +{ + red_dispatcher_oom(instance->st->dispatcher); +} + +SPICE_GNUC_VISIBLE +void spice_qxl_start(QXLInstance *instance) +{ + red_dispatcher_start(instance->st->dispatcher); +} + +SPICE_GNUC_VISIBLE +void spice_qxl_stop(QXLInstance *instance) +{ + red_dispatcher_stop(instance->st->dispatcher); +} + +SPICE_GNUC_VISIBLE +void spice_qxl_update_area(QXLInstance *instance, uint32_t surface_id, + struct QXLRect *area, struct QXLRect *dirty_rects, + uint32_t num_dirty_rects, uint32_t clear_dirty_region) +{ + red_dispatcher_update_area(instance->st->dispatcher, surface_id, area, dirty_rects, + num_dirty_rects, clear_dirty_region); +} + +SPICE_GNUC_VISIBLE +void spice_qxl_add_memslot(QXLInstance *instance, QXLDevMemSlot *slot) +{ + red_dispatcher_add_memslot(instance->st->dispatcher, slot); +} + +SPICE_GNUC_VISIBLE +void spice_qxl_del_memslot(QXLInstance *instance, uint32_t slot_group_id, uint32_t slot_id) +{ + red_dispatcher_del_memslot(instance->st->dispatcher, slot_group_id, slot_id); +} + +SPICE_GNUC_VISIBLE +void spice_qxl_reset_memslots(QXLInstance *instance) +{ + red_dispatcher_reset_memslots(instance->st->dispatcher); +} + +SPICE_GNUC_VISIBLE +void spice_qxl_destroy_surfaces(QXLInstance *instance) +{ + red_dispatcher_destroy_surfaces(instance->st->dispatcher); +} + +SPICE_GNUC_VISIBLE +void spice_qxl_destroy_primary_surface(QXLInstance *instance, uint32_t surface_id) +{ + red_dispatcher_destroy_primary_surface(instance->st->dispatcher, surface_id, 0, 0); +} + +SPICE_GNUC_VISIBLE +void spice_qxl_create_primary_surface(QXLInstance *instance, uint32_t surface_id, + QXLDevSurfaceCreate *surface) +{ + red_dispatcher_create_primary_surface(instance->st->dispatcher, surface_id, surface, 0, 0); +} + +SPICE_GNUC_VISIBLE +void spice_qxl_reset_image_cache(QXLInstance *instance) +{ + red_dispatcher_reset_image_cache(instance->st->dispatcher); +} + +SPICE_GNUC_VISIBLE +void spice_qxl_reset_cursor(QXLInstance *instance) +{ + red_dispatcher_reset_cursor(instance->st->dispatcher); +} + +SPICE_GNUC_VISIBLE +void spice_qxl_destroy_surface_wait(QXLInstance *instance, uint32_t surface_id) +{ + red_dispatcher_destroy_surface_wait(instance->st->dispatcher, surface_id, 0, 0); +} + +SPICE_GNUC_VISIBLE +void spice_qxl_loadvm_commands(QXLInstance *instance, struct QXLCommandExt *ext, uint32_t count) +{ + red_dispatcher_loadvm_commands(instance->st->dispatcher, ext, count); +} + +SPICE_GNUC_VISIBLE +void spice_qxl_update_area_async(QXLInstance *instance, uint32_t surface_id, QXLRect *qxl_area, + uint32_t clear_dirty_region, uint64_t cookie) +{ + red_dispatcher_update_area_async(instance->st->dispatcher, surface_id, qxl_area, + clear_dirty_region, cookie); +} + +SPICE_GNUC_VISIBLE +void spice_qxl_add_memslot_async(QXLInstance *instance, QXLDevMemSlot *slot, uint64_t cookie) +{ + red_dispatcher_add_memslot_async(instance->st->dispatcher, slot, cookie); +} + +SPICE_GNUC_VISIBLE +void spice_qxl_destroy_surfaces_async(QXLInstance *instance, uint64_t cookie) +{ + red_dispatcher_destroy_surfaces_async(instance->st->dispatcher, cookie); +} + +SPICE_GNUC_VISIBLE +void spice_qxl_destroy_primary_surface_async(QXLInstance *instance, uint32_t surface_id, uint64_t cookie) +{ + red_dispatcher_destroy_primary_surface(instance->st->dispatcher, surface_id, 1, cookie); +} + +SPICE_GNUC_VISIBLE +void spice_qxl_create_primary_surface_async(QXLInstance *instance, uint32_t surface_id, + QXLDevSurfaceCreate *surface, uint64_t cookie) +{ + red_dispatcher_create_primary_surface(instance->st->dispatcher, surface_id, surface, 1, cookie); +} + +SPICE_GNUC_VISIBLE +void spice_qxl_destroy_surface_async(QXLInstance *instance, uint32_t surface_id, uint64_t cookie) +{ + red_dispatcher_destroy_surface_wait(instance->st->dispatcher, surface_id, 1, cookie); +} + +SPICE_GNUC_VISIBLE +void spice_qxl_flush_surfaces_async(QXLInstance *instance, uint64_t cookie) +{ + red_dispatcher_flush_surfaces_async(instance->st->dispatcher, cookie); +} + +SPICE_GNUC_VISIBLE +void spice_qxl_monitors_config_async(QXLInstance *instance, QXLPHYSICAL monitors_config, + int group_id, uint64_t cookie) +{ + red_dispatcher_monitors_config_async(instance->st->dispatcher, monitors_config, group_id, cookie); +} + +void red_dispatcher_async_complete(struct RedDispatcher *dispatcher, + AsyncCommand *async_command) +{ + pthread_mutex_lock(&dispatcher->async_lock); + ring_remove(&async_command->link); + spice_debug("%p: cookie %" PRId64, async_command, async_command->cookie); + if (ring_is_empty(&dispatcher->async_commands)) { + spice_debug("no more async commands"); + } + pthread_mutex_unlock(&dispatcher->async_lock); + switch (async_command->message) { + case RED_WORKER_MESSAGE_UPDATE_ASYNC: + break; + case RED_WORKER_MESSAGE_ADD_MEMSLOT_ASYNC: + break; + case RED_WORKER_MESSAGE_DESTROY_SURFACES_ASYNC: + break; + case RED_WORKER_MESSAGE_CREATE_PRIMARY_SURFACE_ASYNC: + red_dispatcher_create_primary_surface_complete(dispatcher); + break; + case RED_WORKER_MESSAGE_DESTROY_PRIMARY_SURFACE_ASYNC: + red_dispatcher_destroy_primary_surface_complete(dispatcher); + break; + case RED_WORKER_MESSAGE_DESTROY_SURFACE_WAIT_ASYNC: + break; + case RED_WORKER_MESSAGE_FLUSH_SURFACES_ASYNC: + break; + case RED_WORKER_MESSAGE_MONITORS_CONFIG_ASYNC: + break; + default: + spice_warning("unexpected message %d", async_command->message); + } + dispatcher->qxl->st->qif->async_complete(dispatcher->qxl, + async_command->cookie); + free(async_command); +} + +static RedChannel *red_dispatcher_display_channel_create(RedDispatcher *dispatcher) +{ + RedWorkerMessageDisplayChannelCreate payload; + RedChannel *display_channel; + + dispatcher_send_message(&dispatcher->dispatcher, + RED_WORKER_MESSAGE_DISPLAY_CHANNEL_CREATE, + &payload); + receive_data(dispatcher->dispatcher.send_fd, &display_channel, sizeof(RedChannel *)); + return display_channel; +} + +static RedChannel *red_dispatcher_cursor_channel_create(RedDispatcher *dispatcher) +{ + RedWorkerMessageCursorChannelCreate payload; + RedChannel *cursor_channel; + + dispatcher_send_message(&dispatcher->dispatcher, + RED_WORKER_MESSAGE_CURSOR_CHANNEL_CREATE, + &payload); + receive_data(dispatcher->dispatcher.send_fd, &cursor_channel, sizeof(RedChannel *)); + return cursor_channel; +} + +RedDispatcher *red_dispatcher_init(QXLInstance *qxl) +{ + RedDispatcher *red_dispatcher; + RedWorkerMessage message; + WorkerInitData init_data; + QXLDevInitInfo init_info; + int r; + RedChannel *display_channel; + RedChannel *cursor_channel; + sigset_t thread_sig_mask; + sigset_t curr_sig_mask; + ClientCbs client_cbs = { NULL, }; + + quic_init(); + sw_canvas_init(); +#ifdef USE_OPENGL + gl_canvas_init(); +#endif // USE_OPENGL + + red_dispatcher = spice_new0(RedDispatcher, 1); + ring_init(&red_dispatcher->async_commands); + spice_debug("red_dispatcher->async_commands.next %p", red_dispatcher->async_commands.next); + dispatcher_init(&red_dispatcher->dispatcher, RED_WORKER_MESSAGE_COUNT, NULL); + init_data.qxl = red_dispatcher->qxl = qxl; + init_data.id = qxl->id; + init_data.red_dispatcher = red_dispatcher; + init_data.pending = &red_dispatcher->pending; + init_data.num_renderers = num_renderers; + memcpy(init_data.renderers, renderers, sizeof(init_data.renderers)); + + pthread_mutex_init(&red_dispatcher->async_lock, NULL); + init_data.image_compression = image_compression; + init_data.jpeg_state = jpeg_state; + init_data.zlib_glz_state = zlib_glz_state; + init_data.streaming_video = streaming_video; + + red_dispatcher->base.major_version = SPICE_INTERFACE_QXL_MAJOR; + red_dispatcher->base.minor_version = SPICE_INTERFACE_QXL_MINOR; + red_dispatcher->base.wakeup = qxl_worker_wakeup; + red_dispatcher->base.oom = qxl_worker_oom; + red_dispatcher->base.start = qxl_worker_start; + red_dispatcher->base.stop = qxl_worker_stop; + red_dispatcher->base.update_area = qxl_worker_update_area; + red_dispatcher->base.add_memslot = qxl_worker_add_memslot; + red_dispatcher->base.del_memslot = qxl_worker_del_memslot; + red_dispatcher->base.reset_memslots = qxl_worker_reset_memslots; + red_dispatcher->base.destroy_surfaces = qxl_worker_destroy_surfaces; + red_dispatcher->base.create_primary_surface = qxl_worker_create_primary_surface; + red_dispatcher->base.destroy_primary_surface = qxl_worker_destroy_primary_surface; + + red_dispatcher->base.reset_image_cache = qxl_worker_reset_image_cache; + red_dispatcher->base.reset_cursor = qxl_worker_reset_cursor; + red_dispatcher->base.destroy_surface_wait = qxl_worker_destroy_surface_wait; + red_dispatcher->base.loadvm_commands = qxl_worker_loadvm_commands; + + qxl->st->qif->get_init_info(qxl, &init_info); + + init_data.memslot_id_bits = init_info.memslot_id_bits; + init_data.memslot_gen_bits = init_info.memslot_gen_bits; + init_data.num_memslots = init_info.num_memslots; + init_data.num_memslots_groups = init_info.num_memslots_groups; + init_data.internal_groupslot_id = init_info.internal_groupslot_id; + init_data.n_surfaces = init_info.n_surfaces; + + num_active_workers = 1; + + sigfillset(&thread_sig_mask); + sigdelset(&thread_sig_mask, SIGILL); + sigdelset(&thread_sig_mask, SIGFPE); + sigdelset(&thread_sig_mask, SIGSEGV); + pthread_sigmask(SIG_SETMASK, &thread_sig_mask, &curr_sig_mask); + if ((r = pthread_create(&red_dispatcher->worker_thread, NULL, red_worker_main, &init_data))) { + spice_error("create thread failed %d", r); + } + pthread_sigmask(SIG_SETMASK, &curr_sig_mask, NULL); + + read_message(red_dispatcher->dispatcher.send_fd, &message); + spice_assert(message == RED_WORKER_MESSAGE_READY); + + display_channel = red_dispatcher_display_channel_create(red_dispatcher); + + if (display_channel) { + client_cbs.connect = red_dispatcher_set_display_peer; + client_cbs.disconnect = red_dispatcher_disconnect_display_peer; + client_cbs.migrate = red_dispatcher_display_migrate; + red_channel_register_client_cbs(display_channel, &client_cbs); + red_channel_set_data(display_channel, red_dispatcher); + red_channel_set_cap(display_channel, SPICE_DISPLAY_CAP_MONITORS_CONFIG); + reds_register_channel(display_channel); + } + + cursor_channel = red_dispatcher_cursor_channel_create(red_dispatcher); + + if (cursor_channel) { + client_cbs.connect = red_dispatcher_set_cursor_peer; + client_cbs.disconnect = red_dispatcher_disconnect_cursor_peer; + client_cbs.migrate = red_dispatcher_cursor_migrate; + red_channel_register_client_cbs(cursor_channel, &client_cbs); + red_channel_set_data(cursor_channel, red_dispatcher); + reds_register_channel(cursor_channel); + } + + qxl->st->qif->attache_worker(qxl, &red_dispatcher->base); + qxl->st->qif->set_compression_level(qxl, calc_compression_level()); + + red_dispatcher->next = dispatchers; + dispatchers = red_dispatcher; + return red_dispatcher; +} + +struct Dispatcher *red_dispatcher_get_dispatcher(RedDispatcher *red_dispatcher) +{ + return &red_dispatcher->dispatcher; +} + +void red_dispatcher_set_dispatcher_opaque(struct RedDispatcher *red_dispatcher, + void *opaque) +{ + dispatcher_set_opaque(&red_dispatcher->dispatcher, opaque); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/red_dispatcher.h b/tizen/distrib/remote/server/spice-0.12.2/server/red_dispatcher.h new file mode 100644 index 0000000..17eeb29 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/red_dispatcher.h @@ -0,0 +1,204 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_RED_DISPATCHER +#define _H_RED_DISPATCHER + +#include "red_channel.h" + +struct RedChannelClient; +typedef struct AsyncCommand AsyncCommand; + +struct RedDispatcher *red_dispatcher_init(QXLInstance *qxl); + +void red_dispatcher_set_mm_time(uint32_t); +void red_dispatcher_on_ic_change(void); +void red_dispatcher_on_sv_change(void); +void red_dispatcher_set_mouse_mode(uint32_t mode); +void red_dispatcher_on_vm_stop(void); +void red_dispatcher_on_vm_start(void); +int red_dispatcher_count(void); +int red_dispatcher_add_renderer(const char *name); +uint32_t red_dispatcher_qxl_ram_size(void); +int red_dispatcher_qxl_count(void); +void red_dispatcher_async_complete(struct RedDispatcher *, AsyncCommand *); +struct Dispatcher *red_dispatcher_get_dispatcher(struct RedDispatcher *); +int red_dispatcher_use_client_monitors_config(void); +void red_dispatcher_client_monitors_config(VDAgentMonitorsConfig *monitors_config); + +typedef struct RedWorkerMessageDisplayConnect { + RedClient * client; + RedsStream * stream; + int migration; + uint32_t *common_caps; // red_worker should free + int num_common_caps; + uint32_t *caps; // red_worker should free + int num_caps; +} RedWorkerMessageDisplayConnect; + +typedef struct RedWorkerMessageDisplayDisconnect { + RedChannelClient *rcc; +} RedWorkerMessageDisplayDisconnect; + +typedef struct RedWorkerMessageDisplayMigrate { + RedChannelClient *rcc; +} RedWorkerMessageDisplayMigrate; + +typedef struct RedWorkerMessageCursorConnect { + RedClient *client; + RedsStream *stream; + int migration; + uint32_t *common_caps; // red_worker should free + int num_common_caps; + uint32_t *caps; // red_worker should free + int num_caps; +} RedWorkerMessageCursorConnect; + +typedef struct RedWorkerMessageCursorDisconnect { + RedChannelClient *rcc; +} RedWorkerMessageCursorDisconnect; + +typedef struct RedWorkerMessageCursorMigrate { + RedChannelClient *rcc; +} RedWorkerMessageCursorMigrate; + +typedef struct RedWorkerMessageUpdate { + uint32_t surface_id; + QXLRect * qxl_area; + QXLRect * qxl_dirty_rects; + uint32_t num_dirty_rects; + uint32_t clear_dirty_region; +} RedWorkerMessageUpdate; + +typedef struct RedWorkerMessageAsync { + AsyncCommand *cmd; +} RedWorkerMessageAsync; + +typedef struct RedWorkerMessageUpdateAsync { + RedWorkerMessageAsync base; + uint32_t surface_id; + QXLRect qxl_area; + uint32_t clear_dirty_region; +} RedWorkerMessageUpdateAsync; + +typedef struct RedWorkerMessageAddMemslot { + QXLDevMemSlot mem_slot; +} RedWorkerMessageAddMemslot; + +typedef struct RedWorkerMessageAddMemslotAsync { + RedWorkerMessageAsync base; + QXLDevMemSlot mem_slot; +} RedWorkerMessageAddMemslotAsync; + +typedef struct RedWorkerMessageDelMemslot { + uint32_t slot_group_id; + uint32_t slot_id; +} RedWorkerMessageDelMemslot; + +typedef struct RedWorkerMessageDestroySurfaces { +} RedWorkerMessageDestroySurfaces; + +typedef struct RedWorkerMessageDestroySurfacesAsync { + RedWorkerMessageAsync base; +} RedWorkerMessageDestroySurfacesAsync; + + +typedef struct RedWorkerMessageDestroyPrimarySurface { + uint32_t surface_id; +} RedWorkerMessageDestroyPrimarySurface; + +typedef struct RedWorkerMessageDestroyPrimarySurfaceAsync { + RedWorkerMessageAsync base; + uint32_t surface_id; +} RedWorkerMessageDestroyPrimarySurfaceAsync; + +typedef struct RedWorkerMessageCreatePrimarySurfaceAsync { + RedWorkerMessageAsync base; + uint32_t surface_id; + QXLDevSurfaceCreate surface; +} RedWorkerMessageCreatePrimarySurfaceAsync; + +typedef struct RedWorkerMessageCreatePrimarySurface { + uint32_t surface_id; + QXLDevSurfaceCreate surface; +} RedWorkerMessageCreatePrimarySurface; + +typedef struct RedWorkerMessageResetImageCache { +} RedWorkerMessageResetImageCache; + +typedef struct RedWorkerMessageResetCursor { +} RedWorkerMessageResetCursor; + +typedef struct RedWorkerMessageWakeup { +} RedWorkerMessageWakeup; + +typedef struct RedWorkerMessageOom { +} RedWorkerMessageOom; + +typedef struct RedWorkerMessageStart { +} RedWorkerMessageStart; + +typedef struct RedWorkerMessageFlushSurfacesAsync { + RedWorkerMessageAsync base; +} RedWorkerMessageFlushSurfacesAsync; + +typedef struct RedWorkerMessageStop { +} RedWorkerMessageStop; + +/* this command is sync, so it's ok to pass a pointer */ +typedef struct RedWorkerMessageLoadvmCommands { + uint32_t count; + QXLCommandExt *ext; +} RedWorkerMessageLoadvmCommands; + +typedef struct RedWorkerMessageSetCompression { + spice_image_compression_t image_compression; +} RedWorkerMessageSetCompression; + +typedef struct RedWorkerMessageSetStreamingVideo { + uint32_t streaming_video; +} RedWorkerMessageSetStreamingVideo; + +typedef struct RedWorkerMessageSetMouseMode { + uint32_t mode; +} RedWorkerMessageSetMouseMode; + +typedef struct RedWorkerMessageDisplayChannelCreate { +} RedWorkerMessageDisplayChannelCreate; + +typedef struct RedWorkerMessageCursorChannelCreate { +} RedWorkerMessageCursorChannelCreate; + +typedef struct RedWorkerMessageDestroySurfaceWait { + uint32_t surface_id; +} RedWorkerMessageDestroySurfaceWait; + +typedef struct RedWorkerMessageDestroySurfaceWaitAsync { + RedWorkerMessageAsync base; + uint32_t surface_id; +} RedWorkerMessageDestroySurfaceWaitAsync; + +typedef struct RedWorkerMessageResetMemslots { +} RedWorkerMessageResetMemslots; + +typedef struct RedWorkerMessageMonitorsConfigAsync { + RedWorkerMessageAsync base; + QXLPHYSICAL monitors_config; + int group_id; +} RedWorkerMessageMonitorsConfigAsync; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/red_memslots.c b/tizen/distrib/remote/server/spice-0.12.2/server/red_memslots.c new file mode 100644 index 0000000..d9153d3 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/red_memslots.c @@ -0,0 +1,232 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009,2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <inttypes.h> + +#include "red_common.h" +#include "red_memslots.h" + +static unsigned long __get_clean_virt(RedMemSlotInfo *info, QXLPHYSICAL addr) +{ + return addr & info->memslot_clean_virt_mask; +} + +static void print_memslots(RedMemSlotInfo *info) +{ + int i; + int x; + + for (i = 0; i < info->num_memslots_groups; ++i) { + for (x = 0; x < info->num_memslots; ++x) { + if (!info->mem_slots[i][x].virt_start_addr && + !info->mem_slots[i][x].virt_end_addr) { + continue; + } + printf("id %d, group %d, virt start %lx, virt end %lx, generation %u, delta %lx\n", + x, i, info->mem_slots[i][x].virt_start_addr, + info->mem_slots[i][x].virt_end_addr, info->mem_slots[i][x].generation, + info->mem_slots[i][x].address_delta); + } + } +} + +unsigned long get_virt_delta(RedMemSlotInfo *info, QXLPHYSICAL addr, int group_id) +{ + MemSlot *slot; + int slot_id; + int generation; + + if (group_id > info->num_memslots_groups) { + spice_critical("group_id %d too big", group_id); + } + + slot_id = get_memslot_id(info, addr); + if (slot_id > info->num_memslots) { + spice_critical("slot_id %d too big", slot_id); + } + + slot = &info->mem_slots[group_id][slot_id]; + + generation = get_generation(info, addr); + if (generation != slot->generation) { + spice_critical("address generation is not valid"); + } + + return (slot->address_delta - (addr - __get_clean_virt(info, addr))); +} + +/* return 1 if validation successfull, 0 otherwise */ +int validate_virt(RedMemSlotInfo *info, unsigned long virt, int slot_id, + uint32_t add_size, uint32_t group_id) +{ + MemSlot *slot; + + slot = &info->mem_slots[group_id][slot_id]; + if ((virt + add_size) < virt) { + spice_critical("virtual address overlap"); + return 0; + } + + if (virt < slot->virt_start_addr || (virt + add_size) > slot->virt_end_addr) { + print_memslots(info); + spice_critical("virtual address out of range\n" + " virt=0x%lx+0x%x slot_id=%d group_id=%d\n" + " slot=0x%lx-0x%lx delta=0x%lx", + virt, add_size, slot_id, group_id, + slot->virt_start_addr, slot->virt_end_addr, slot->address_delta); + return 0; + } + return 1; +} + +/* + * return virtual address if successful, which may be 0. + * returns 0 and sets error to 1 if an error condition occurs. + */ +unsigned long get_virt(RedMemSlotInfo *info, QXLPHYSICAL addr, uint32_t add_size, + int group_id, int *error) +{ + int slot_id; + int generation; + unsigned long h_virt; + + MemSlot *slot; + + *error = 0; + if (group_id > info->num_memslots_groups) { + spice_critical("group_id too big"); + *error = 1; + return 0; + } + + slot_id = get_memslot_id(info, addr); + if (slot_id > info->num_memslots) { + print_memslots(info); + spice_critical("slot_id %d too big, addr=%" PRIx64, slot_id, addr); + *error = 1; + return 0; + } + + slot = &info->mem_slots[group_id][slot_id]; + + generation = get_generation(info, addr); + if (generation != slot->generation) { + print_memslots(info); + spice_critical("address generation is not valid, group_id %d, slot_id %d, gen %d, slot_gen %d\n", + group_id, slot_id, generation, slot->generation); + *error = 1; + return 0; + } + + h_virt = __get_clean_virt(info, addr); + h_virt += slot->address_delta; + + if (!validate_virt(info, h_virt, slot_id, add_size, group_id)) { + *error = 1; + return 0; + } + + return h_virt; +} + +void *validate_chunk(RedMemSlotInfo *info, QXLPHYSICAL data, uint32_t group_id, + uint32_t *data_size_out, QXLPHYSICAL *next_out, int *error) +{ + QXLDataChunk *chunk; + uint32_t data_size; + + chunk = (QXLDataChunk *)get_virt(info, data, sizeof(QXLDataChunk), group_id, + error); + if (*error) { + return NULL; + } + data_size = chunk->data_size; + if (!validate_virt(info, (unsigned long)chunk->data, get_memslot_id(info, data), + data_size, group_id)) { + *error = 1; + return NULL; + } + *next_out = chunk->next_chunk; + *data_size_out = data_size; + + return chunk->data; +} + +void red_memslot_info_init(RedMemSlotInfo *info, + uint32_t num_groups, uint32_t num_slots, + uint8_t generation_bits, + uint8_t id_bits, + uint8_t internal_groupslot_id) +{ + uint32_t i; + + spice_assert(num_slots > 0); + spice_assert(num_groups > 0); + + info->num_memslots_groups = num_groups; + info->num_memslots = num_slots; + info->generation_bits = generation_bits; + info->mem_slot_bits = id_bits; + info->internal_groupslot_id = internal_groupslot_id; + + info->mem_slots = spice_new(MemSlot *, num_groups); + + for (i = 0; i < num_groups; ++i) { + info->mem_slots[i] = spice_new0(MemSlot, num_slots); + } + + /* TODO: use QXLPHYSICAL_BITS */ + info->memslot_id_shift = 64 - info->mem_slot_bits; + info->memslot_gen_shift = 64 - (info->mem_slot_bits + info->generation_bits); + info->memslot_gen_mask = ~((QXLPHYSICAL)-1 << info->generation_bits); + info->memslot_clean_virt_mask = (((QXLPHYSICAL)(-1)) >> + (info->mem_slot_bits + info->generation_bits)); +} + +void red_memslot_info_add_slot(RedMemSlotInfo *info, uint32_t slot_group_id, uint32_t slot_id, + uint64_t addr_delta, unsigned long virt_start, unsigned long virt_end, + uint32_t generation) +{ + spice_assert(info->num_memslots_groups > slot_group_id); + spice_assert(info->num_memslots > slot_id); + + info->mem_slots[slot_group_id][slot_id].address_delta = addr_delta; + info->mem_slots[slot_group_id][slot_id].virt_start_addr = virt_start; + info->mem_slots[slot_group_id][slot_id].virt_end_addr = virt_end; + info->mem_slots[slot_group_id][slot_id].generation = generation; +} + +void red_memslot_info_del_slot(RedMemSlotInfo *info, uint32_t slot_group_id, uint32_t slot_id) +{ + spice_assert(info->num_memslots_groups > slot_group_id); + spice_assert(info->num_memslots > slot_id); + + info->mem_slots[slot_group_id][slot_id].virt_start_addr = 0; + info->mem_slots[slot_group_id][slot_id].virt_end_addr = 0; +} + +void red_memslot_info_reset(RedMemSlotInfo *info) +{ + uint32_t i; + for (i = 0; i < info->num_memslots_groups; ++i) { + memset(info->mem_slots[i], 0, sizeof(MemSlot) * info->num_memslots); + } +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/red_memslots.h b/tizen/distrib/remote/server/spice-0.12.2/server/red_memslots.h new file mode 100644 index 0000000..c4303bd --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/red_memslots.h @@ -0,0 +1,75 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009,2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_REDMEMSLOTS +#define _H_REDMEMSLOTS + +#include "red_common.h" + +#include <spice/qxl_dev.h> + +typedef struct MemSlot { + int generation; + unsigned long virt_start_addr; + unsigned long virt_end_addr; + long address_delta; +} MemSlot; + +typedef struct RedMemSlotInfo { + MemSlot **mem_slots; + uint32_t num_memslots_groups; + uint32_t num_memslots; + uint8_t mem_slot_bits; + uint8_t generation_bits; + uint8_t memslot_id_shift; + uint8_t memslot_gen_shift; + uint8_t internal_groupslot_id; + unsigned long memslot_gen_mask; + unsigned long memslot_clean_virt_mask; +} RedMemSlotInfo; + +static inline int get_memslot_id(RedMemSlotInfo *info, uint64_t addr) +{ + return addr >> info->memslot_id_shift; +} + +static inline int get_generation(RedMemSlotInfo *info, uint64_t addr) +{ + return (addr >> info->memslot_gen_shift) & info->memslot_gen_mask; +} + +unsigned long get_virt_delta(RedMemSlotInfo *info, QXLPHYSICAL addr, int group_id); +int validate_virt(RedMemSlotInfo *info, unsigned long virt, int slot_id, + uint32_t add_size, uint32_t group_id); +unsigned long get_virt(RedMemSlotInfo *info, QXLPHYSICAL addr, uint32_t add_size, + int group_id, int *error); + +void *validate_chunk(RedMemSlotInfo *info, QXLPHYSICAL data, uint32_t group_id, + uint32_t *data_size_out, QXLPHYSICAL *next_out, int *error); +void red_memslot_info_init(RedMemSlotInfo *info, + uint32_t num_groups, uint32_t num_slots, + uint8_t generation_bits, + uint8_t id_bits, + uint8_t internal_groupslot_id); +void red_memslot_info_add_slot(RedMemSlotInfo *info, uint32_t slot_group_id, uint32_t slot_id, + uint64_t addr_delta, unsigned long virt_start, unsigned long virt_end, + uint32_t generation); +void red_memslot_info_del_slot(RedMemSlotInfo *info, uint32_t slot_group_id, uint32_t slot_id); +void red_memslot_info_reset(RedMemSlotInfo *info); + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/red_parse_qxl.c b/tizen/distrib/remote/server/spice-0.12.2/server/red_parse_qxl.c new file mode 100644 index 0000000..4b39029 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/red_parse_qxl.c @@ -0,0 +1,1333 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009,2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <stdbool.h> +#include <inttypes.h> +#include "common/lz_common.h" +#include "red_common.h" +#include "red_memslots.h" +#include "red_parse_qxl.h" + +#if 0 +static void hexdump_qxl(RedMemSlotInfo *slots, int group_id, + QXLPHYSICAL addr, uint8_t bytes) +{ + uint8_t *hex; + int i; + + hex = (uint8_t*)get_virt(slots, addr, bytes, group_id); + for (i = 0; i < bytes; i++) { + if (0 == i % 16) { + fprintf(stderr, "%lx: ", addr+i); + } + if (0 == i % 4) { + fprintf(stderr, " "); + } + fprintf(stderr, " %02x", hex[i]); + if (15 == i % 16) { + fprintf(stderr, "\n"); + } + } +} +#endif + +static inline uint32_t color_16_to_32(uint32_t color) +{ + uint32_t ret; + + ret = ((color & 0x001f) << 3) | ((color & 0x001c) >> 2); + ret |= ((color & 0x03e0) << 6) | ((color & 0x0380) << 1); + ret |= ((color & 0x7c00) << 9) | ((color & 0x7000) << 4); + + return ret; +} + +static uint8_t *red_linearize_chunk(RedDataChunk *head, size_t size, bool *free_chunk) +{ + uint8_t *data, *ptr; + RedDataChunk *chunk; + uint32_t copy; + + if (head->next_chunk == NULL) { + spice_assert(size <= head->data_size); + *free_chunk = false; + return head->data; + } + + ptr = data = spice_malloc(size); + *free_chunk = true; + for (chunk = head; chunk != NULL && size > 0; chunk = chunk->next_chunk) { + copy = MIN(chunk->data_size, size); + memcpy(ptr, chunk->data, copy); + ptr += copy; + size -= copy; + } + spice_assert(size == 0); + return data; +} + +static size_t red_get_data_chunks_ptr(RedMemSlotInfo *slots, int group_id, + int memslot_id, + RedDataChunk *red, QXLDataChunk *qxl) +{ + RedDataChunk *red_prev; + size_t data_size = 0; + int error; + + red->data_size = qxl->data_size; + data_size += red->data_size; + if (!validate_virt(slots, (intptr_t)qxl->data, memslot_id, red->data_size, group_id)) { + return 0; + } + red->data = qxl->data; + red->prev_chunk = NULL; + + while (qxl->next_chunk) { + red_prev = red; + red = spice_new(RedDataChunk, 1); + memslot_id = get_memslot_id(slots, qxl->next_chunk); + qxl = (QXLDataChunk*)get_virt(slots, qxl->next_chunk, sizeof(*qxl), group_id, + &error); + if (error) { + return 0; + } + red->data_size = qxl->data_size; + data_size += red->data_size; + if (!validate_virt(slots, (intptr_t)qxl->data, memslot_id, red->data_size, group_id)) { + return 0; + } + red->data = qxl->data; + red->prev_chunk = red_prev; + red_prev->next_chunk = red; + } + + red->next_chunk = NULL; + return data_size; +} + +static size_t red_get_data_chunks(RedMemSlotInfo *slots, int group_id, + RedDataChunk *red, QXLPHYSICAL addr) +{ + QXLDataChunk *qxl; + int error; + int memslot_id = get_memslot_id(slots, addr); + + qxl = (QXLDataChunk*)get_virt(slots, addr, sizeof(*qxl), group_id, &error); + if (error) { + return 0; + } + return red_get_data_chunks_ptr(slots, group_id, memslot_id, red, qxl); +} + +static void red_put_data_chunks(RedDataChunk *red) +{ + RedDataChunk *tmp; + + red = red->next_chunk; + while (red) { + tmp = red; + red = red->next_chunk; + free(tmp); + } +} + +static void red_get_point_ptr(SpicePoint *red, QXLPoint *qxl) +{ + red->x = qxl->x; + red->y = qxl->y; +} + +static void red_get_point16_ptr(SpicePoint16 *red, QXLPoint16 *qxl) +{ + red->x = qxl->x; + red->y = qxl->y; +} + +void red_get_rect_ptr(SpiceRect *red, const QXLRect *qxl) +{ + red->top = qxl->top; + red->left = qxl->left; + red->bottom = qxl->bottom; + red->right = qxl->right; +} + +static SpicePath *red_get_path(RedMemSlotInfo *slots, int group_id, + QXLPHYSICAL addr) +{ + RedDataChunk chunks; + QXLPathSeg *start, *end; + SpicePathSeg *seg; + uint8_t *data; + bool free_data; + QXLPath *qxl; + SpicePath *red; + size_t size, mem_size, mem_size2, dsize, segment_size; + int n_segments; + int i; + uint32_t count; + int error; + + qxl = (QXLPath *)get_virt(slots, addr, sizeof(*qxl), group_id, &error); + if (error) { + return NULL; + } + size = red_get_data_chunks_ptr(slots, group_id, + get_memslot_id(slots, addr), + &chunks, &qxl->chunk); + data = red_linearize_chunk(&chunks, size, &free_data); + red_put_data_chunks(&chunks); + + n_segments = 0; + mem_size = sizeof(*red); + + start = (QXLPathSeg*)data; + end = (QXLPathSeg*)(data + size); + while (start < end) { + n_segments++; + count = start->count; + segment_size = sizeof(SpicePathSeg) + count * sizeof(SpicePointFix); + mem_size += sizeof(SpicePathSeg *) + SPICE_ALIGN(segment_size, 4); + start = (QXLPathSeg*)(&start->points[count]); + } + + red = spice_malloc(mem_size); + red->num_segments = n_segments; + + start = (QXLPathSeg*)data; + end = (QXLPathSeg*)(data + size); + seg = (SpicePathSeg*)&red->segments[n_segments]; + n_segments = 0; + mem_size2 = sizeof(*red); + while (start < end) { + red->segments[n_segments++] = seg; + count = start->count; + + /* Protect against overflow in size calculations before + writing to memory */ + spice_assert(mem_size2 + sizeof(SpicePathSeg) > mem_size2); + mem_size2 += sizeof(SpicePathSeg); + spice_assert(count < UINT32_MAX / sizeof(SpicePointFix)); + dsize = count * sizeof(SpicePointFix); + spice_assert(mem_size2 + dsize > mem_size2); + mem_size2 += dsize; + + /* Verify that we didn't overflow due to guest changing data */ + spice_assert(mem_size2 <= mem_size); + + seg->flags = start->flags; + seg->count = count; + for (i = 0; i < seg->count; i++) { + seg->points[i].x = start->points[i].x; + seg->points[i].y = start->points[i].y; + } + start = (QXLPathSeg*)(&start->points[i]); + seg = (SpicePathSeg*)(&seg->points[i]); + } + /* Ensure guest didn't tamper with segment count */ + spice_assert(n_segments == red->num_segments); + + if (free_data) { + free(data); + } + return red; +} + +static SpiceClipRects *red_get_clip_rects(RedMemSlotInfo *slots, int group_id, + QXLPHYSICAL addr) +{ + RedDataChunk chunks; + QXLClipRects *qxl; + SpiceClipRects *red; + QXLRect *start; + uint8_t *data; + bool free_data; + size_t size; + int i; + int error; + + qxl = (QXLClipRects *)get_virt(slots, addr, sizeof(*qxl), group_id, &error); + if (error) { + return NULL; + } + size = red_get_data_chunks_ptr(slots, group_id, + get_memslot_id(slots, addr), + &chunks, &qxl->chunk); + data = red_linearize_chunk(&chunks, size, &free_data); + red_put_data_chunks(&chunks); + + spice_assert(qxl->num_rects * sizeof(QXLRect) == size); + red = spice_malloc(sizeof(*red) + qxl->num_rects * sizeof(SpiceRect)); + red->num_rects = qxl->num_rects; + + start = (QXLRect*)data; + for (i = 0; i < red->num_rects; i++) { + red_get_rect_ptr(red->rects + i, start++); + } + + if (free_data) { + free(data); + } + return red; +} + +static SpiceChunks *red_get_image_data_flat(RedMemSlotInfo *slots, int group_id, + QXLPHYSICAL addr, size_t size) +{ + SpiceChunks *data; + int error; + + data = spice_chunks_new(1); + data->data_size = size; + data->chunk[0].data = (void*)get_virt(slots, addr, size, group_id, &error); + if (error) { + return 0; + } + data->chunk[0].len = size; + return data; +} + +static SpiceChunks *red_get_image_data_chunked(RedMemSlotInfo *slots, int group_id, + RedDataChunk *head) +{ + SpiceChunks *data; + RedDataChunk *chunk; + int i; + + for (i = 0, chunk = head; chunk != NULL; chunk = chunk->next_chunk) { + i++; + } + + data = spice_chunks_new(i); + data->data_size = 0; + for (i = 0, chunk = head; + chunk != NULL && i < data->num_chunks; + chunk = chunk->next_chunk, i++) { + data->chunk[i].data = chunk->data; + data->chunk[i].len = chunk->data_size; + data->data_size += chunk->data_size; + } + spice_assert(i == data->num_chunks); + return data; +} + +static const char *bitmap_format_to_string(int format) +{ + switch (format) { + case SPICE_BITMAP_FMT_INVALID: return "SPICE_BITMAP_FMT_INVALID"; + case SPICE_BITMAP_FMT_1BIT_LE: return "SPICE_BITMAP_FMT_1BIT_LE"; + case SPICE_BITMAP_FMT_1BIT_BE: return "SPICE_BITMAP_FMT_1BIT_BE"; + case SPICE_BITMAP_FMT_4BIT_LE: return "SPICE_BITMAP_FMT_4BIT_LE"; + case SPICE_BITMAP_FMT_4BIT_BE: return "SPICE_BITMAP_FMT_4BIT_BE"; + case SPICE_BITMAP_FMT_8BIT: return "SPICE_BITMAP_FMT_8BIT"; + case SPICE_BITMAP_FMT_16BIT: return "SPICE_BITMAP_FMT_16BIT"; + case SPICE_BITMAP_FMT_24BIT: return "SPICE_BITMAP_FMT_24BIT"; + case SPICE_BITMAP_FMT_32BIT: return "SPICE_BITMAP_FMT_32BIT"; + case SPICE_BITMAP_FMT_RGBA: return "SPICE_BITMAP_FMT_RGBA"; + case SPICE_BITMAP_FMT_8BIT_A: return "SPICE_BITMAP_FMT_8BIT_A"; + } + return "unknown"; +} + +static const int MAP_BITMAP_FMT_TO_BITS_PER_PIXEL[] = {0, 1, 1, 4, 4, 8, 16, 24, 32, 32, 8}; + +static int bitmap_consistent(SpiceBitmap *bitmap) +{ + int bpp = MAP_BITMAP_FMT_TO_BITS_PER_PIXEL[bitmap->format]; + + if (bitmap->stride < ((bitmap->x * bpp + 7) / 8)) { + spice_error("image stride too small for width: %d < ((%d * %d + 7) / 8) (%s=%d)\n", + bitmap->stride, bitmap->x, bpp, + bitmap_format_to_string(bitmap->format), + bitmap->format); + return FALSE; + } + return TRUE; +} + +// This is based on SPICE_BITMAP_FMT_*, copied from server/red_worker.c +// to avoid a possible unoptimization from making it non static. +static const int BITMAP_FMT_IS_RGB[] = {0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1}; + +static SpiceImage *red_get_image(RedMemSlotInfo *slots, int group_id, + QXLPHYSICAL addr, uint32_t flags, int is_mask) +{ + RedDataChunk chunks; + QXLImage *qxl; + SpiceImage *red = NULL; + SpicePalette *rp = NULL; + size_t bitmap_size, size; + uint8_t qxl_flags; + int error; + + if (addr == 0) { + return NULL; + } + + qxl = (QXLImage *)get_virt(slots, addr, sizeof(*qxl), group_id, &error); + if (error) { + return NULL; + } + red = spice_new0(SpiceImage, 1); + red->descriptor.id = qxl->descriptor.id; + red->descriptor.type = qxl->descriptor.type; + red->descriptor.flags = 0; + if (qxl->descriptor.flags & QXL_IMAGE_HIGH_BITS_SET) { + red->descriptor.flags |= SPICE_IMAGE_FLAGS_HIGH_BITS_SET; + } + if (qxl->descriptor.flags & QXL_IMAGE_CACHE) { + red->descriptor.flags |= SPICE_IMAGE_FLAGS_CACHE_ME; + } + red->descriptor.width = qxl->descriptor.width; + red->descriptor.height = qxl->descriptor.height; + + switch (red->descriptor.type) { + case SPICE_IMAGE_TYPE_BITMAP: + red->u.bitmap.format = qxl->bitmap.format; + if (!bitmap_fmt_is_rgb(qxl->bitmap.format) && !qxl->bitmap.palette && !is_mask) { + spice_warning("guest error: missing palette on bitmap format=%d\n", + red->u.bitmap.format); + goto error; + } + if (qxl->bitmap.x == 0 || qxl->bitmap.y == 0) { + spice_warning("guest error: zero area bitmap\n"); + goto error; + } + qxl_flags = qxl->bitmap.flags; + if (qxl_flags & QXL_BITMAP_TOP_DOWN) { + red->u.bitmap.flags = SPICE_BITMAP_FLAGS_TOP_DOWN; + } + red->u.bitmap.x = qxl->bitmap.x; + red->u.bitmap.y = qxl->bitmap.y; + red->u.bitmap.stride = qxl->bitmap.stride; + if (!bitmap_consistent(&red->u.bitmap)) { + goto error; + } + if (qxl->bitmap.palette) { + QXLPalette *qp; + int i, num_ents; + qp = (QXLPalette *)get_virt(slots, qxl->bitmap.palette, + sizeof(*qp), group_id, &error); + if (error) { + goto error; + } + num_ents = qp->num_ents; + if (!validate_virt(slots, (intptr_t)qp->ents, + get_memslot_id(slots, qxl->bitmap.palette), + num_ents * sizeof(qp->ents[0]), group_id)) { + goto error; + } + rp = spice_malloc_n_m(num_ents, sizeof(rp->ents[0]), sizeof(*rp)); + rp->unique = qp->unique; + rp->num_ents = num_ents; + if (flags & QXL_COMMAND_FLAG_COMPAT_16BPP) { + for (i = 0; i < num_ents; i++) { + rp->ents[i] = color_16_to_32(qp->ents[i]); + } + } else { + for (i = 0; i < num_ents; i++) { + rp->ents[i] = qp->ents[i]; + } + } + red->u.bitmap.palette = rp; + red->u.bitmap.palette_id = rp->unique; + } + bitmap_size = red->u.bitmap.y * abs(red->u.bitmap.stride); + if (qxl_flags & QXL_BITMAP_DIRECT) { + red->u.bitmap.data = red_get_image_data_flat(slots, group_id, + qxl->bitmap.data, + bitmap_size); + } else { + size = red_get_data_chunks(slots, group_id, + &chunks, qxl->bitmap.data); + spice_assert(size == bitmap_size); + if (size != bitmap_size) { + goto error; + } + red->u.bitmap.data = red_get_image_data_chunked(slots, group_id, + &chunks); + red_put_data_chunks(&chunks); + } + if (qxl_flags & QXL_BITMAP_UNSTABLE) { + red->u.bitmap.data->flags |= SPICE_CHUNKS_FLAGS_UNSTABLE; + } + break; + case SPICE_IMAGE_TYPE_SURFACE: + red->u.surface.surface_id = qxl->surface_image.surface_id; + break; + case SPICE_IMAGE_TYPE_QUIC: + red->u.quic.data_size = qxl->quic.data_size; + size = red_get_data_chunks_ptr(slots, group_id, + get_memslot_id(slots, addr), + &chunks, (QXLDataChunk *)qxl->quic.data); + spice_assert(size == red->u.quic.data_size); + if (size != red->u.quic.data_size) { + goto error; + } + red->u.quic.data = red_get_image_data_chunked(slots, group_id, + &chunks); + red_put_data_chunks(&chunks); + break; + default: + spice_error("unknown type %d", red->descriptor.type); + } + return red; +error: + if (red) { + free(red); + } + if (rp) { + free(rp); + } + return NULL; +} + +void red_put_image(SpiceImage *red) +{ + if (red == NULL) + return; + + switch (red->descriptor.type) { + case SPICE_IMAGE_TYPE_BITMAP: + free(red->u.bitmap.palette); + spice_chunks_destroy(red->u.bitmap.data); + break; + case SPICE_IMAGE_TYPE_QUIC: + spice_chunks_destroy(red->u.quic.data); + break; + } + free(red); +} + +static void red_get_brush_ptr(RedMemSlotInfo *slots, int group_id, + SpiceBrush *red, QXLBrush *qxl, uint32_t flags) +{ + red->type = qxl->type; + switch (red->type) { + case SPICE_BRUSH_TYPE_SOLID: + if (flags & QXL_COMMAND_FLAG_COMPAT_16BPP) { + red->u.color = color_16_to_32(qxl->u.color); + } else { + red->u.color = qxl->u.color; + } + break; + case SPICE_BRUSH_TYPE_PATTERN: + red->u.pattern.pat = red_get_image(slots, group_id, qxl->u.pattern.pat, flags, FALSE); + break; + } +} + +static void red_put_brush(SpiceBrush *red) +{ + switch (red->type) { + case SPICE_BRUSH_TYPE_PATTERN: + red_put_image(red->u.pattern.pat); + break; + } +} + +static void red_get_qmask_ptr(RedMemSlotInfo *slots, int group_id, + SpiceQMask *red, QXLQMask *qxl, uint32_t flags) +{ + red->flags = qxl->flags; + red_get_point_ptr(&red->pos, &qxl->pos); + red->bitmap = red_get_image(slots, group_id, qxl->bitmap, flags, TRUE); +} + +static void red_put_qmask(SpiceQMask *red) +{ + red_put_image(red->bitmap); +} + +static void red_get_fill_ptr(RedMemSlotInfo *slots, int group_id, + SpiceFill *red, QXLFill *qxl, uint32_t flags) +{ + red_get_brush_ptr(slots, group_id, &red->brush, &qxl->brush, flags); + red->rop_descriptor = qxl->rop_descriptor; + red_get_qmask_ptr(slots, group_id, &red->mask, &qxl->mask, flags); +} + +static void red_put_fill(SpiceFill *red) +{ + red_put_brush(&red->brush); + red_put_qmask(&red->mask); +} + +static void red_get_opaque_ptr(RedMemSlotInfo *slots, int group_id, + SpiceOpaque *red, QXLOpaque *qxl, uint32_t flags) +{ + red->src_bitmap = red_get_image(slots, group_id, qxl->src_bitmap, flags, FALSE); + red_get_rect_ptr(&red->src_area, &qxl->src_area); + red_get_brush_ptr(slots, group_id, &red->brush, &qxl->brush, flags); + red->rop_descriptor = qxl->rop_descriptor; + red->scale_mode = qxl->scale_mode; + red_get_qmask_ptr(slots, group_id, &red->mask, &qxl->mask, flags); +} + +static void red_put_opaque(SpiceOpaque *red) +{ + red_put_image(red->src_bitmap); + red_put_brush(&red->brush); + red_put_qmask(&red->mask); +} + +static int red_get_copy_ptr(RedMemSlotInfo *slots, int group_id, + SpiceCopy *red, QXLCopy *qxl, uint32_t flags) +{ + red->src_bitmap = red_get_image(slots, group_id, qxl->src_bitmap, flags, FALSE); + if (!red->src_bitmap) { + return 1; + } + red_get_rect_ptr(&red->src_area, &qxl->src_area); + red->rop_descriptor = qxl->rop_descriptor; + red->scale_mode = qxl->scale_mode; + red_get_qmask_ptr(slots, group_id, &red->mask, &qxl->mask, flags); + return 0; +} + +static void red_put_copy(SpiceCopy *red) +{ + red_put_image(red->src_bitmap); + red_put_qmask(&red->mask); +} + +static void red_get_blend_ptr(RedMemSlotInfo *slots, int group_id, + SpiceBlend *red, QXLBlend *qxl, uint32_t flags) +{ + red->src_bitmap = red_get_image(slots, group_id, qxl->src_bitmap, flags, FALSE); + red_get_rect_ptr(&red->src_area, &qxl->src_area); + red->rop_descriptor = qxl->rop_descriptor; + red->scale_mode = qxl->scale_mode; + red_get_qmask_ptr(slots, group_id, &red->mask, &qxl->mask, flags); +} + +static void red_put_blend(SpiceBlend *red) +{ + red_put_image(red->src_bitmap); + red_put_qmask(&red->mask); +} + +static void red_get_transparent_ptr(RedMemSlotInfo *slots, int group_id, + SpiceTransparent *red, QXLTransparent *qxl, + uint32_t flags) +{ + red->src_bitmap = red_get_image(slots, group_id, qxl->src_bitmap, flags, FALSE); + red_get_rect_ptr(&red->src_area, &qxl->src_area); + red->src_color = qxl->src_color; + red->true_color = qxl->true_color; +} + +static void red_put_transparent(SpiceTransparent *red) +{ + red_put_image(red->src_bitmap); +} + +static void red_get_alpha_blend_ptr(RedMemSlotInfo *slots, int group_id, + SpiceAlphaBlend *red, QXLAlphaBlend *qxl, + uint32_t flags) +{ + red->alpha_flags = qxl->alpha_flags; + red->alpha = qxl->alpha; + red->src_bitmap = red_get_image(slots, group_id, qxl->src_bitmap, flags, FALSE); + red_get_rect_ptr(&red->src_area, &qxl->src_area); +} + +static void red_get_alpha_blend_ptr_compat(RedMemSlotInfo *slots, int group_id, + SpiceAlphaBlend *red, QXLCompatAlphaBlend *qxl, + uint32_t flags) +{ + red->alpha = qxl->alpha; + red->src_bitmap = red_get_image(slots, group_id, qxl->src_bitmap, flags, FALSE); + red_get_rect_ptr(&red->src_area, &qxl->src_area); +} + +static void red_put_alpha_blend(SpiceAlphaBlend *red) +{ + red_put_image(red->src_bitmap); +} + +static bool get_transform(RedMemSlotInfo *slots, + int group_id, + QXLPHYSICAL qxl_transform, + SpiceTransform *dst_transform) + +{ + const uint32_t *t = NULL; + int error; + + if (qxl_transform == 0) + return FALSE; + + t = (uint32_t *)get_virt(slots, qxl_transform, sizeof(*dst_transform), group_id, &error); + + if (!t || error) + return FALSE; + + memcpy(dst_transform, t, sizeof(*dst_transform)); + return TRUE; +} + +static void red_get_composite_ptr(RedMemSlotInfo *slots, int group_id, + SpiceComposite *red, QXLComposite *qxl, uint32_t flags) +{ + red->flags = qxl->flags; + + red->src_bitmap = red_get_image(slots, group_id, qxl->src, flags, FALSE); + if (get_transform(slots, group_id, qxl->src_transform, &red->src_transform)) + red->flags |= SPICE_COMPOSITE_HAS_SRC_TRANSFORM; + + if (qxl->mask) { + red->mask_bitmap = red_get_image(slots, group_id, qxl->mask, flags, FALSE); + red->flags |= SPICE_COMPOSITE_HAS_MASK; + if (get_transform(slots, group_id, qxl->mask_transform, &red->mask_transform)) + red->flags |= SPICE_COMPOSITE_HAS_MASK_TRANSFORM; + } else { + red->mask_bitmap = NULL; + } + red->src_origin.x = qxl->src_origin.x; + red->src_origin.y = qxl->src_origin.y; + red->mask_origin.x = qxl->mask_origin.x; + red->mask_origin.y = qxl->mask_origin.y; +} + +static void red_put_composite(SpiceComposite *red) +{ + red_put_image(red->src_bitmap); + if (red->mask_bitmap) + red_put_image(red->mask_bitmap); +} + +static void red_get_rop3_ptr(RedMemSlotInfo *slots, int group_id, + SpiceRop3 *red, QXLRop3 *qxl, uint32_t flags) +{ + red->src_bitmap = red_get_image(slots, group_id, qxl->src_bitmap, flags, FALSE); + red_get_rect_ptr(&red->src_area, &qxl->src_area); + red_get_brush_ptr(slots, group_id, &red->brush, &qxl->brush, flags); + red->rop3 = qxl->rop3; + red->scale_mode = qxl->scale_mode; + red_get_qmask_ptr(slots, group_id, &red->mask, &qxl->mask, flags); +} + +static void red_put_rop3(SpiceRop3 *red) +{ + red_put_image(red->src_bitmap); + red_put_brush(&red->brush); + red_put_qmask(&red->mask); +} + +static int red_get_stroke_ptr(RedMemSlotInfo *slots, int group_id, + SpiceStroke *red, QXLStroke *qxl, uint32_t flags) +{ + int error; + + red->path = red_get_path(slots, group_id, qxl->path); + if (!red->path) { + return 1; + } + red->attr.flags = qxl->attr.flags; + if (red->attr.flags & SPICE_LINE_FLAGS_STYLED) { + int style_nseg; + uint8_t *buf; + + style_nseg = qxl->attr.style_nseg; + red->attr.style = spice_malloc_n(style_nseg, sizeof(SPICE_FIXED28_4)); + red->attr.style_nseg = style_nseg; + spice_assert(qxl->attr.style); + buf = (uint8_t *)get_virt(slots, qxl->attr.style, + style_nseg * sizeof(QXLFIXED), group_id, &error); + if (error) { + return error; + } + memcpy(red->attr.style, buf, style_nseg * sizeof(QXLFIXED)); + } else { + red->attr.style_nseg = 0; + red->attr.style = NULL; + } + red_get_brush_ptr(slots, group_id, &red->brush, &qxl->brush, flags); + red->fore_mode = qxl->fore_mode; + red->back_mode = qxl->back_mode; + return 0; +} + +static void red_put_stroke(SpiceStroke *red) +{ + red_put_brush(&red->brush); + free(red->path); + if (red->attr.flags & SPICE_LINE_FLAGS_STYLED) { + free(red->attr.style); + } +} + +static SpiceString *red_get_string(RedMemSlotInfo *slots, int group_id, + QXLPHYSICAL addr) +{ + RedDataChunk chunks; + QXLString *qxl; + QXLRasterGlyph *start, *end; + SpiceString *red; + SpiceRasterGlyph *glyph; + uint8_t *data; + bool free_data; + size_t chunk_size, qxl_size, red_size, glyph_size; + int glyphs, bpp = 0, i; + int error; + + qxl = (QXLString *)get_virt(slots, addr, sizeof(*qxl), group_id, &error); + if (error) { + return NULL; + } + chunk_size = red_get_data_chunks_ptr(slots, group_id, + get_memslot_id(slots, addr), + &chunks, &qxl->chunk); + if (!chunk_size) { + /* XXX could be a zero sized string.. */ + return NULL; + } + data = red_linearize_chunk(&chunks, chunk_size, &free_data); + red_put_data_chunks(&chunks); + + qxl_size = qxl->data_size; + spice_assert(chunk_size == qxl_size); + + if (qxl->flags & SPICE_STRING_FLAGS_RASTER_A1) { + bpp = 1; + } else if (qxl->flags & SPICE_STRING_FLAGS_RASTER_A4) { + bpp = 4; + } else if (qxl->flags & SPICE_STRING_FLAGS_RASTER_A8) { + bpp = 8; + } + spice_assert(bpp != 0); + + start = (QXLRasterGlyph*)data; + end = (QXLRasterGlyph*)(data + chunk_size); + red_size = sizeof(SpiceString); + glyphs = 0; + while (start < end) { + spice_assert((QXLRasterGlyph*)(&start->data[0]) <= end); + glyphs++; + glyph_size = start->height * ((start->width * bpp + 7) / 8); + red_size += sizeof(SpiceRasterGlyph *) + SPICE_ALIGN(sizeof(SpiceRasterGlyph) + glyph_size, 4); + start = (QXLRasterGlyph*)(&start->data[glyph_size]); + } + spice_assert(start <= end); + spice_assert(glyphs == qxl->length); + + red = spice_malloc(red_size); + red->length = qxl->length; + red->flags = qxl->flags; + + start = (QXLRasterGlyph*)data; + end = (QXLRasterGlyph*)(data + chunk_size); + glyph = (SpiceRasterGlyph *)&red->glyphs[red->length]; + for (i = 0; i < red->length; i++) { + spice_assert((QXLRasterGlyph*)(&start->data[0]) <= end); + red->glyphs[i] = glyph; + glyph->width = start->width; + glyph->height = start->height; + red_get_point_ptr(&glyph->render_pos, &start->render_pos); + red_get_point_ptr(&glyph->glyph_origin, &start->glyph_origin); + glyph_size = glyph->height * ((glyph->width * bpp + 7) / 8); + spice_assert((QXLRasterGlyph*)(&start->data[glyph_size]) <= end); + memcpy(glyph->data, start->data, glyph_size); + start = (QXLRasterGlyph*)(&start->data[glyph_size]); + glyph = (SpiceRasterGlyph*) + (((uint8_t *)glyph) + + SPICE_ALIGN(sizeof(SpiceRasterGlyph) + glyph_size, 4)); + } + + if (free_data) { + free(data); + } + return red; +} + +static void red_get_text_ptr(RedMemSlotInfo *slots, int group_id, + SpiceText *red, QXLText *qxl, uint32_t flags) +{ + red->str = red_get_string(slots, group_id, qxl->str); + red_get_rect_ptr(&red->back_area, &qxl->back_area); + red_get_brush_ptr(slots, group_id, &red->fore_brush, &qxl->fore_brush, flags); + red_get_brush_ptr(slots, group_id, &red->back_brush, &qxl->back_brush, flags); + red->fore_mode = qxl->fore_mode; + red->back_mode = qxl->back_mode; +} + +static void red_put_text_ptr(SpiceText *red) +{ + free(red->str); + red_put_brush(&red->fore_brush); + red_put_brush(&red->back_brush); +} + +static void red_get_whiteness_ptr(RedMemSlotInfo *slots, int group_id, + SpiceWhiteness *red, QXLWhiteness *qxl, uint32_t flags) +{ + red_get_qmask_ptr(slots, group_id, &red->mask, &qxl->mask, flags); +} + +static void red_put_whiteness(SpiceWhiteness *red) +{ + red_put_qmask(&red->mask); +} + +static void red_get_blackness_ptr(RedMemSlotInfo *slots, int group_id, + SpiceBlackness *red, QXLBlackness *qxl, uint32_t flags) +{ + red_get_qmask_ptr(slots, group_id, &red->mask, &qxl->mask, flags); +} + +static void red_put_blackness(SpiceWhiteness *red) +{ + red_put_qmask(&red->mask); +} + +static void red_get_invers_ptr(RedMemSlotInfo *slots, int group_id, + SpiceInvers *red, QXLInvers *qxl, uint32_t flags) +{ + red_get_qmask_ptr(slots, group_id, &red->mask, &qxl->mask, flags); +} + +static void red_put_invers(SpiceWhiteness *red) +{ + red_put_qmask(&red->mask); +} + +static void red_get_clip_ptr(RedMemSlotInfo *slots, int group_id, + SpiceClip *red, QXLClip *qxl) +{ + red->type = qxl->type; + switch (red->type) { + case SPICE_CLIP_TYPE_RECTS: + red->rects = red_get_clip_rects(slots, group_id, qxl->data); + break; + } +} + +static void red_put_clip(SpiceClip *red) +{ + switch (red->type) { + case SPICE_CLIP_TYPE_RECTS: + free(red->rects); + break; + } +} + +static int red_get_native_drawable(RedMemSlotInfo *slots, int group_id, + RedDrawable *red, QXLPHYSICAL addr, uint32_t flags) +{ + QXLDrawable *qxl; + int i; + int error = 0; + + qxl = (QXLDrawable *)get_virt(slots, addr, sizeof(*qxl), group_id, &error); + if (error) { + return error; + } + red->release_info = &qxl->release_info; + + red_get_rect_ptr(&red->bbox, &qxl->bbox); + red_get_clip_ptr(slots, group_id, &red->clip, &qxl->clip); + red->effect = qxl->effect; + red->mm_time = qxl->mm_time; + red->self_bitmap = qxl->self_bitmap; + red_get_rect_ptr(&red->self_bitmap_area, &qxl->self_bitmap_area); + red->surface_id = qxl->surface_id; + + for (i = 0; i < 3; i++) { + red->surfaces_dest[i] = qxl->surfaces_dest[i]; + red_get_rect_ptr(&red->surfaces_rects[i], &qxl->surfaces_rects[i]); + } + + red->type = qxl->type; + switch (red->type) { + case QXL_DRAW_ALPHA_BLEND: + red_get_alpha_blend_ptr(slots, group_id, + &red->u.alpha_blend, &qxl->u.alpha_blend, flags); + break; + case QXL_DRAW_BLACKNESS: + red_get_blackness_ptr(slots, group_id, + &red->u.blackness, &qxl->u.blackness, flags); + break; + case QXL_DRAW_BLEND: + red_get_blend_ptr(slots, group_id, &red->u.blend, &qxl->u.blend, flags); + break; + case QXL_DRAW_COPY: + error = red_get_copy_ptr(slots, group_id, &red->u.copy, &qxl->u.copy, flags); + break; + case QXL_COPY_BITS: + red_get_point_ptr(&red->u.copy_bits.src_pos, &qxl->u.copy_bits.src_pos); + break; + case QXL_DRAW_FILL: + red_get_fill_ptr(slots, group_id, &red->u.fill, &qxl->u.fill, flags); + break; + case QXL_DRAW_OPAQUE: + red_get_opaque_ptr(slots, group_id, &red->u.opaque, &qxl->u.opaque, flags); + break; + case QXL_DRAW_INVERS: + red_get_invers_ptr(slots, group_id, &red->u.invers, &qxl->u.invers, flags); + break; + case QXL_DRAW_NOP: + break; + case QXL_DRAW_ROP3: + red_get_rop3_ptr(slots, group_id, &red->u.rop3, &qxl->u.rop3, flags); + break; + case QXL_DRAW_COMPOSITE: + red_get_composite_ptr(slots, group_id, &red->u.composite, &qxl->u.composite, flags); + break; + case QXL_DRAW_STROKE: + error = red_get_stroke_ptr(slots, group_id, &red->u.stroke, &qxl->u.stroke, flags); + break; + case QXL_DRAW_TEXT: + red_get_text_ptr(slots, group_id, &red->u.text, &qxl->u.text, flags); + break; + case QXL_DRAW_TRANSPARENT: + red_get_transparent_ptr(slots, group_id, + &red->u.transparent, &qxl->u.transparent, flags); + break; + case QXL_DRAW_WHITENESS: + red_get_whiteness_ptr(slots, group_id, + &red->u.whiteness, &qxl->u.whiteness, flags); + break; + default: + spice_error("unknown type %d", red->type); + error = 1; + break; + }; + return error; +} + +static int red_get_compat_drawable(RedMemSlotInfo *slots, int group_id, + RedDrawable *red, QXLPHYSICAL addr, uint32_t flags) +{ + QXLCompatDrawable *qxl; + int error; + + qxl = (QXLCompatDrawable *)get_virt(slots, addr, sizeof(*qxl), group_id, &error); + if (error) { + return error; + } + red->release_info = &qxl->release_info; + + red_get_rect_ptr(&red->bbox, &qxl->bbox); + red_get_clip_ptr(slots, group_id, &red->clip, &qxl->clip); + red->effect = qxl->effect; + red->mm_time = qxl->mm_time; + + red->self_bitmap = (qxl->bitmap_offset != 0); + red_get_rect_ptr(&red->self_bitmap_area, &qxl->bitmap_area); + + red->surfaces_dest[0] = -1; + red->surfaces_dest[1] = -1; + red->surfaces_dest[2] = -1; + + red->type = qxl->type; + switch (red->type) { + case QXL_DRAW_ALPHA_BLEND: + red_get_alpha_blend_ptr_compat(slots, group_id, + &red->u.alpha_blend, &qxl->u.alpha_blend, flags); + break; + case QXL_DRAW_BLACKNESS: + red_get_blackness_ptr(slots, group_id, + &red->u.blackness, &qxl->u.blackness, flags); + break; + case QXL_DRAW_BLEND: + red_get_blend_ptr(slots, group_id, &red->u.blend, &qxl->u.blend, flags); + break; + case QXL_DRAW_COPY: + error = red_get_copy_ptr(slots, group_id, &red->u.copy, &qxl->u.copy, flags); + break; + case QXL_COPY_BITS: + red_get_point_ptr(&red->u.copy_bits.src_pos, &qxl->u.copy_bits.src_pos); + red->surfaces_dest[0] = 0; + red->surfaces_rects[0].left = red->u.copy_bits.src_pos.x; + red->surfaces_rects[0].right = red->u.copy_bits.src_pos.x + + (red->bbox.right - red->bbox.left); + red->surfaces_rects[0].top = red->u.copy_bits.src_pos.y; + red->surfaces_rects[0].bottom = red->u.copy_bits.src_pos.y + + (red->bbox.bottom - red->bbox.top); + break; + case QXL_DRAW_FILL: + red_get_fill_ptr(slots, group_id, &red->u.fill, &qxl->u.fill, flags); + break; + case QXL_DRAW_OPAQUE: + red_get_opaque_ptr(slots, group_id, &red->u.opaque, &qxl->u.opaque, flags); + break; + case QXL_DRAW_INVERS: + red_get_invers_ptr(slots, group_id, &red->u.invers, &qxl->u.invers, flags); + break; + case QXL_DRAW_NOP: + break; + case QXL_DRAW_ROP3: + red_get_rop3_ptr(slots, group_id, &red->u.rop3, &qxl->u.rop3, flags); + break; + case QXL_DRAW_STROKE: + error = red_get_stroke_ptr(slots, group_id, &red->u.stroke, &qxl->u.stroke, flags); + break; + case QXL_DRAW_TEXT: + red_get_text_ptr(slots, group_id, &red->u.text, &qxl->u.text, flags); + break; + case QXL_DRAW_TRANSPARENT: + red_get_transparent_ptr(slots, group_id, + &red->u.transparent, &qxl->u.transparent, flags); + break; + case QXL_DRAW_WHITENESS: + red_get_whiteness_ptr(slots, group_id, + &red->u.whiteness, &qxl->u.whiteness, flags); + break; + default: + spice_error("unknown type %d", red->type); + error = 1; + break; + }; + return error; +} + +int red_get_drawable(RedMemSlotInfo *slots, int group_id, + RedDrawable *red, QXLPHYSICAL addr, uint32_t flags) +{ + int ret; + + if (flags & QXL_COMMAND_FLAG_COMPAT) { + ret = red_get_compat_drawable(slots, group_id, red, addr, flags); + } else { + ret = red_get_native_drawable(slots, group_id, red, addr, flags); + } + return ret; +} + +void red_put_drawable(RedDrawable *red) +{ + red_put_clip(&red->clip); + if (red->self_bitmap_image) { + red_put_image(red->self_bitmap_image); + } + switch (red->type) { + case QXL_DRAW_ALPHA_BLEND: + red_put_alpha_blend(&red->u.alpha_blend); + break; + case QXL_DRAW_BLACKNESS: + red_put_blackness(&red->u.blackness); + break; + case QXL_DRAW_BLEND: + red_put_blend(&red->u.blend); + break; + case QXL_DRAW_COPY: + red_put_copy(&red->u.copy); + break; + case QXL_DRAW_FILL: + red_put_fill(&red->u.fill); + break; + case QXL_DRAW_OPAQUE: + red_put_opaque(&red->u.opaque); + break; + case QXL_DRAW_INVERS: + red_put_invers(&red->u.invers); + break; + case QXL_DRAW_ROP3: + red_put_rop3(&red->u.rop3); + break; + case QXL_DRAW_COMPOSITE: + red_put_composite(&red->u.composite); + break; + case QXL_DRAW_STROKE: + red_put_stroke(&red->u.stroke); + break; + case QXL_DRAW_TEXT: + red_put_text_ptr(&red->u.text); + break; + case QXL_DRAW_TRANSPARENT: + red_put_transparent(&red->u.transparent); + break; + case QXL_DRAW_WHITENESS: + red_put_whiteness(&red->u.whiteness); + break; + } +} + +int red_get_update_cmd(RedMemSlotInfo *slots, int group_id, + RedUpdateCmd *red, QXLPHYSICAL addr) +{ + QXLUpdateCmd *qxl; + int error; + + qxl = (QXLUpdateCmd *)get_virt(slots, addr, sizeof(*qxl), group_id, &error); + if (error) { + return 1; + } + red->release_info = &qxl->release_info; + + red_get_rect_ptr(&red->area, &qxl->area); + red->update_id = qxl->update_id; + red->surface_id = qxl->surface_id; + return 0; +} + +void red_put_update_cmd(RedUpdateCmd *red) +{ + /* nothing yet */ +} + +int red_get_message(RedMemSlotInfo *slots, int group_id, + RedMessage *red, QXLPHYSICAL addr) +{ + QXLMessage *qxl; + int error; + + /* + * security alert: + * qxl->data[0] size isn't specified anywhere -> can't verify + * luckily this is for debug logging only, + * so we can just ignore it by default. + */ + qxl = (QXLMessage *)get_virt(slots, addr, sizeof(*qxl), group_id, &error); + if (error) { + return 1; + } + red->release_info = &qxl->release_info; + red->data = qxl->data; + return 0; +} + +void red_put_message(RedMessage *red) +{ + /* nothing yet */ +} + +int red_get_surface_cmd(RedMemSlotInfo *slots, int group_id, + RedSurfaceCmd *red, QXLPHYSICAL addr) +{ + QXLSurfaceCmd *qxl; + size_t size; + int error; + + qxl = (QXLSurfaceCmd *)get_virt(slots, addr, sizeof(*qxl), group_id, + &error); + if (error) { + return 1; + } + red->release_info = &qxl->release_info; + + red->surface_id = qxl->surface_id; + red->type = qxl->type; + red->flags = qxl->flags; + + switch (red->type) { + case QXL_SURFACE_CMD_CREATE: + red->u.surface_create.format = qxl->u.surface_create.format; + red->u.surface_create.width = qxl->u.surface_create.width; + red->u.surface_create.height = qxl->u.surface_create.height; + red->u.surface_create.stride = qxl->u.surface_create.stride; + size = red->u.surface_create.height * abs(red->u.surface_create.stride); + red->u.surface_create.data = + (uint8_t*)get_virt(slots, qxl->u.surface_create.data, size, group_id, &error); + if (error) { + return 1; + } + break; + } + return 0; +} + +void red_put_surface_cmd(RedSurfaceCmd *red) +{ + /* nothing yet */ +} + +static int red_get_cursor(RedMemSlotInfo *slots, int group_id, + SpiceCursor *red, QXLPHYSICAL addr) +{ + QXLCursor *qxl; + RedDataChunk chunks; + size_t size; + uint8_t *data; + bool free_data; + int error; + + qxl = (QXLCursor *)get_virt(slots, addr, sizeof(*qxl), group_id, &error); + if (error) { + return 1; + } + + red->header.unique = qxl->header.unique; + red->header.type = qxl->header.type; + red->header.width = qxl->header.width; + red->header.height = qxl->header.height; + red->header.hot_spot_x = qxl->header.hot_spot_x; + red->header.hot_spot_y = qxl->header.hot_spot_y; + + red->flags = 0; + red->data_size = qxl->data_size; + size = red_get_data_chunks_ptr(slots, group_id, + get_memslot_id(slots, addr), + &chunks, &qxl->chunk); + data = red_linearize_chunk(&chunks, size, &free_data); + red_put_data_chunks(&chunks); + if (free_data) { + red->data = data; + } else { + red->data = spice_malloc(size); + memcpy(red->data, data, size); + } + return 0; +} + +static void red_put_cursor(SpiceCursor *red) +{ + free(red->data); +} + +int red_get_cursor_cmd(RedMemSlotInfo *slots, int group_id, + RedCursorCmd *red, QXLPHYSICAL addr) +{ + QXLCursorCmd *qxl; + int error; + + qxl = (QXLCursorCmd *)get_virt(slots, addr, sizeof(*qxl), group_id, &error); + if (error) { + return error; + } + red->release_info = &qxl->release_info; + + red->type = qxl->type; + switch (red->type) { + case QXL_CURSOR_SET: + red_get_point16_ptr(&red->u.set.position, &qxl->u.set.position); + red->u.set.visible = qxl->u.set.visible; + error = red_get_cursor(slots, group_id, &red->u.set.shape, qxl->u.set.shape); + break; + case QXL_CURSOR_MOVE: + red_get_point16_ptr(&red->u.position, &qxl->u.position); + break; + case QXL_CURSOR_TRAIL: + red->u.trail.length = qxl->u.trail.length; + red->u.trail.frequency = qxl->u.trail.frequency; + break; + } + return error; +} + +void red_put_cursor_cmd(RedCursorCmd *red) +{ + switch (red->type) { + case QXL_CURSOR_SET: + red_put_cursor(&red->u.set.shape); + break; + } +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/red_parse_qxl.h b/tizen/distrib/remote/server/spice-0.12.2/server/red_parse_qxl.h new file mode 100644 index 0000000..3adc9fa --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/red_parse_qxl.h @@ -0,0 +1,139 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009,2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef RED_ABI_TRANSLATE_H +#define RED_ABI_TRANSLATE_H + +#include <spice/qxl_dev.h> +#include "red_common.h" +#include "red_memslots.h" + +typedef struct RedDrawable { + int refs; + QXLReleaseInfo *release_info; + uint32_t surface_id; + uint8_t effect; + uint8_t type; + uint8_t self_bitmap; + SpiceRect self_bitmap_area; + SpiceImage *self_bitmap_image; + SpiceRect bbox; + SpiceClip clip; + uint32_t mm_time; + int32_t surfaces_dest[3]; + SpiceRect surfaces_rects[3]; + union { + SpiceFill fill; + SpiceOpaque opaque; + SpiceCopy copy; + SpiceTransparent transparent; + SpiceAlphaBlend alpha_blend; + struct { + SpicePoint src_pos; + } copy_bits; + SpiceBlend blend; + SpiceRop3 rop3; + SpiceStroke stroke; + SpiceText text; + SpiceBlackness blackness; + SpiceInvers invers; + SpiceWhiteness whiteness; + SpiceComposite composite; + } u; +} RedDrawable; + +typedef struct RedUpdateCmd { + QXLReleaseInfo *release_info; + SpiceRect area; + uint32_t update_id; + uint32_t surface_id; +} RedUpdateCmd; + +typedef struct RedMessage { + QXLReleaseInfo *release_info; + uint8_t *data; +} RedMessage; + +typedef struct RedDataChunk RedDataChunk; +struct RedDataChunk { + uint32_t data_size; + RedDataChunk *prev_chunk; + RedDataChunk *next_chunk; + uint8_t *data; +}; + +typedef struct RedSurfaceCreate { + uint32_t format; + uint32_t width; + uint32_t height; + int32_t stride; + uint8_t *data; +} RedSurfaceCreate; + +typedef struct RedSurfaceCmd { + QXLReleaseInfo *release_info; + uint32_t surface_id; + uint8_t type; + uint32_t flags; + union { + RedSurfaceCreate surface_create; + } u; +} RedSurfaceCmd; + +typedef struct RedCursorCmd { + QXLReleaseInfo *release_info; + uint8_t type; + union { + struct { + SpicePoint16 position; + uint8_t visible; + SpiceCursor shape; + } set; + struct { + uint16_t length; + uint16_t frequency; + } trail; + SpicePoint16 position; + } u; + uint8_t *device_data; +} RedCursorCmd; + +void red_get_rect_ptr(SpiceRect *red, const QXLRect *qxl); + +int red_get_drawable(RedMemSlotInfo *slots, int group_id, + RedDrawable *red, QXLPHYSICAL addr, uint32_t flags); +void red_put_drawable(RedDrawable *red); +void red_put_image(SpiceImage *red); + +int red_get_update_cmd(RedMemSlotInfo *slots, int group_id, + RedUpdateCmd *red, QXLPHYSICAL addr); +void red_put_update_cmd(RedUpdateCmd *red); + +int red_get_message(RedMemSlotInfo *slots, int group_id, + RedMessage *red, QXLPHYSICAL addr); +void red_put_message(RedMessage *red); + +int red_get_surface_cmd(RedMemSlotInfo *slots, int group_id, + RedSurfaceCmd *red, QXLPHYSICAL addr); +void red_put_surface_cmd(RedSurfaceCmd *red); + +int red_get_cursor_cmd(RedMemSlotInfo *slots, int group_id, + RedCursorCmd *red, QXLPHYSICAL addr); +void red_put_cursor_cmd(RedCursorCmd *red); + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/red_tunnel_worker.c b/tizen/distrib/remote/server/spice-0.12.2/server/red_tunnel_worker.c new file mode 100644 index 0000000..97dcafd --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/red_tunnel_worker.c @@ -0,0 +1,3481 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. + + + Author: + yhalperi@redhat.com +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <stdio.h> +#include <stdint.h> +#include <sys/socket.h> +#include <netinet/in.h> +#include <arpa/inet.h> +#include <netinet/tcp.h> +#include <fcntl.h> +#include <unistd.h> +#include <errno.h> +#include "spice.h" +#include "spice-experimental.h" +#include "red_tunnel_worker.h" +#include "red_common.h" +#include <spice/protocol.h> +#include "reds.h" +#include "net_slirp.h" +#include "red_channel.h" + + +//#define DEBUG_NETWORK + +#ifdef DEBUG_NETWORK +#define PRINT_SCKT(sckt) spice_printerr("TUNNEL_DBG SOCKET(connection_id=%d port=%d, service=%d)",\ + sckt->connection_id, ntohs(sckt->local_port), \ + sckt->far_service->id) +#endif + +#define MAX_SOCKETS_NUM 20 + +#define MAX_SOCKET_DATA_SIZE (1024 * 2) + +#define SOCKET_WINDOW_SIZE 80 +#define SOCKET_TOKENS_TO_SEND 20 +#define SOCKET_TOKENS_TO_SEND_FOR_PROCESS 5 // sent in case the all the tokens were used by + // the client but they weren't consumed by slirp + // due to missing data for processing them and + // turning them into 'ready chunks' + +/* the number of buffer might exceed the window size when the analysis of the buffers in the + process queue need more data in order to be able to move them to the ready queue */ +#define MAX_SOCKET_IN_BUFFERS (int)(SOCKET_WINDOW_SIZE * 1.5) +#define MAX_SOCKET_OUT_BUFFERS (int)(SOCKET_WINDOW_SIZE * 1.5) + +#define CONTROL_MSG_RECV_BUF_SIZE 1024 + +typedef struct TunnelWorker TunnelWorker; + +enum { + PIPE_ITEM_TYPE_MIGRATE_DATA = PIPE_ITEM_TYPE_CHANNEL_BASE, + PIPE_ITEM_TYPE_TUNNEL_INIT, + PIPE_ITEM_TYPE_SERVICE_IP_MAP, + PIPE_ITEM_TYPE_SOCKET_OPEN, + PIPE_ITEM_TYPE_SOCKET_FIN, + PIPE_ITEM_TYPE_SOCKET_CLOSE, + PIPE_ITEM_TYPE_SOCKET_CLOSED_ACK, + PIPE_ITEM_TYPE_SOCKET_DATA, + PIPE_ITEM_TYPE_SOCKET_TOKEN, +}; + +typedef struct RawTunneledBuffer RawTunneledBuffer; +typedef void (*release_tunneled_buffer_proc_t)(RawTunneledBuffer *buf); + +struct RawTunneledBuffer { + uint8_t *data; + int size; + int max_size; + int refs; + RawTunneledBuffer *next; + void *usr_opaque; + release_tunneled_buffer_proc_t release_proc; +}; + +static inline RawTunneledBuffer *tunneled_buffer_ref(RawTunneledBuffer *buf) +{ + buf->refs++; + return buf; +} + +static inline void tunneled_buffer_unref(RawTunneledBuffer *buf) +{ + if (!(--buf->refs)) { + buf->release_proc(buf); + } +} + +typedef struct RedSocket RedSocket; + +/* data received from the quest through slirp */ +typedef struct RedSocketRawSndBuf { + RawTunneledBuffer base; + uint8_t buf[MAX_SOCKET_DATA_SIZE]; +} RedSocketRawSndBuf; + +/* data received from the client */ +typedef struct RedSocketRawRcvBuf { + RawTunneledBuffer base; + uint8_t buf[MAX_SOCKET_DATA_SIZE + sizeof(SpiceMsgcTunnelSocketData)]; + SpiceMsgcTunnelSocketData *msg_info; +} RedSocketRawRcvBuf; + +typedef struct ReadyTunneledChunk ReadyTunneledChunk; + +enum { + READY_TUNNELED_CHUNK_TYPE_ORIG, + READY_TUNNELED_CHUNK_TYPE_SUB, // substitution +}; + + +/* A chunk of data from a RawTunneledBuffer (or a substitution for a part of it) + that was processed and is ready to be consumed (by slirp or by the client). + Each chunk has a reference to the RawTunneledBuffer it + was originated from. When all the reference chunks of one buffer are consumed (i.e. they are out + of the ready queue and they unrefed the buffer), the buffer is released */ +struct ReadyTunneledChunk { + uint32_t type; + RawTunneledBuffer *origin; + uint8_t *data; // if type == READY_TUNNELED_CHUNK_TYPE_ORIG, it points + // directly to the tunneled data. Otherwise, it is a + // newly allocated chunk of data + // that should be freed after its consumption. + int size; + ReadyTunneledChunk *next; +}; + +typedef struct ReadyTunneledChunkQueue { + ReadyTunneledChunk *head; + ReadyTunneledChunk *tail; + uint32_t offset; // first byte in the ready queue that wasn't consumed +} ReadyTunneledChunkQueue; + +static void ready_queue_add_orig_chunk(ReadyTunneledChunkQueue *queue, RawTunneledBuffer *origin, + uint8_t *data, int size); +static void ready_queue_pop_chunk(ReadyTunneledChunkQueue *queue); + + +enum { + PROCESS_DIRECTION_TYPE_REQUEST, // guest request + PROCESS_DIRECTION_TYPE_REPLY, // reply from the service in the client LAN +}; + +typedef struct TunneledBufferProcessQueue TunneledBufferProcessQueue; + +typedef RawTunneledBuffer *(*alloc_tunneled_buffer_proc_t)(TunneledBufferProcessQueue *queue); +/* processing the data. Notice that the buffers can be empty of + * data (see RedSocketRestoreTokensBuf) */ +typedef void (*analyze_new_data_proc_t)(TunneledBufferProcessQueue *queue, + RawTunneledBuffer *start_buf, int offset, int len); + +// migrating specific queue data (not the buffers themselves) +typedef int (*get_migrate_data_proc_t)(TunneledBufferProcessQueue *queue, void **migrate_data); +typedef void (*release_migrate_data_proc_t)(TunneledBufferProcessQueue *queue, void *migrate_data); +typedef void (*restore_proc_t)(TunneledBufferProcessQueue *queue, uint8_t *migrate_data); + +struct TunneledBufferProcessQueue { + uint32_t service_type; // which kind of processing is performed. + uint32_t direction; // reply/request + RawTunneledBuffer *head; + RawTunneledBuffer *tail; + int head_offset; + + ReadyTunneledChunkQueue *ready_chunks_queue; // the queue to push the post-process data to + + void *usr_opaque; + + alloc_tunneled_buffer_proc_t alloc_buf_proc; // for appending data to the queue + analyze_new_data_proc_t analysis_proc; // service dependent. should create the + // post-process chunks and remove buffers + // from the queue. + get_migrate_data_proc_t get_migrate_data_proc; + release_migrate_data_proc_t release_migrate_data_proc; + restore_proc_t restore_proc; +}; + +/* push and append routines are the ones that call to the analysis_proc */ +static void process_queue_push(TunneledBufferProcessQueue *queue, RawTunneledBuffer *buf); +static void process_queue_append(TunneledBufferProcessQueue *queue, uint8_t *data, size_t size); +static void process_queue_pop(TunneledBufferProcessQueue *queue); + +static void process_queue_clear(TunneledBufferProcessQueue *queue); + + +typedef struct RedSocketOutData { + // Note that this pipe items can appear only once in the pipe + PipeItem status_pipe_item; + PipeItem data_pipe_item; + PipeItem token_pipe_item; + + TunneledBufferProcessQueue *process_queue; // service type dependent + ReadyTunneledChunkQueue ready_chunks_queue; + ReadyTunneledChunk *push_tail; // last chunk in the ready queue that was pushed + uint32_t push_tail_size; // the subset of the push_tail that was sent + + uint32_t num_buffers; // total count of buffers in process_queue + references from ready queue + uint32_t data_size; // total size of data that is waiting to be sent. + + uint32_t num_tokens; + uint32_t window_size; +} RedSocketOutData; + +typedef struct RedSocketInData { + TunneledBufferProcessQueue *process_queue; // service type dependent + ReadyTunneledChunkQueue ready_chunks_queue; + + uint32_t num_buffers; + + int32_t num_tokens; // No. tokens consumed by slirp since the last token msg sent to the + // client. can be negative if we loaned some to the client (when the + // ready queue is empty) + uint32_t client_total_num_tokens; +} RedSocketInData; + +typedef enum { + SLIRP_SCKT_STATUS_OPEN, + SLIRP_SCKT_STATUS_SHUTDOWN_SEND, // FIN was issued from guest + SLIRP_SCKT_STATUS_SHUTDOWN_RECV, // Triggered when FIN is received from client + SLIRP_SCKT_STATUS_DELAY_ABORT, // when out buffers overflow, we wait for client to + // close before we close slirp socket. see + //tunnel_socket_force_close + SLIRP_SCKT_STATUS_WAIT_CLOSE, // when shutdown_send was called after shut_recv + // and vice versa + SLIRP_SCKT_STATUS_CLOSED, +} SlirpSocketStatus; + +typedef enum { + CLIENT_SCKT_STATUS_WAIT_OPEN, + CLIENT_SCKT_STATUS_OPEN, + CLIENT_SCKT_STATUS_SHUTDOWN_SEND, // FIN was issued from client + CLIENT_SCKT_STATUS_CLOSED, +} ClientSocketStatus; + +typedef struct TunnelService TunnelService; +struct RedSocket { + int allocated; + + TunnelWorker *worker; + + uint16_t connection_id; + + uint16_t local_port; + TunnelService *far_service; + + ClientSocketStatus client_status; + SlirpSocketStatus slirp_status; + + int pushed_close; + int client_waits_close_ack; + + SlirpSocket *slirp_sckt; + + RedSocketOutData out_data; + RedSocketInData in_data; + + int in_slirp_send; + + uint32_t mig_client_status_msg; // the last status change msg that was received from + //the client during migration, and thus was unhandled. + // It is 0 if the status didn't change during migration + uint32_t mig_open_ack_tokens; // if SPICE_MSGC_TUNNEL_SOCKET_OPEN_ACK was received during + // migration, we store the tokens we received in the + // msg. +}; + +/********** managing send buffers ***********/ +static RawTunneledBuffer *tunnel_socket_alloc_snd_buf(RedSocket *sckt); +static inline RedSocketRawSndBuf *__tunnel_worker_alloc_socket_snd_buf(TunnelWorker *worker); +static RawTunneledBuffer *process_queue_alloc_snd_tunneled_buffer( + TunneledBufferProcessQueue *queue); + +static void tunnel_socket_free_snd_buf(RedSocket *sckt, RedSocketRawSndBuf *snd_buf); +static inline void __tunnel_worker_free_socket_snd_buf(TunnelWorker *worker, + RedSocketRawSndBuf *snd_buf); +static void snd_tunnled_buffer_release(RawTunneledBuffer *buf); + +/********** managing recv buffers ***********/ +// receive buffers are allocated before we know to which socket they are directed. +static inline void tunnel_socket_assign_rcv_buf(RedSocket *sckt, + RedSocketRawRcvBuf *recv_buf, int buf_size); +static inline RedSocketRawRcvBuf *__tunnel_worker_alloc_socket_rcv_buf(TunnelWorker *worker); + +static void tunnel_socket_free_rcv_buf(RedSocket *sckt, RedSocketRawRcvBuf *rcv_buf); +static inline void __tunnel_worker_free_socket_rcv_buf(TunnelWorker *worker, + RedSocketRawRcvBuf *rcv_buf); +static void rcv_tunnled_buffer_release(RawTunneledBuffer *buf); + +/********* managing buffers' queues ***********/ + +static void process_queue_simple_analysis(TunneledBufferProcessQueue *queue, + RawTunneledBuffer *start_last_added, + int offset, int len); +static inline TunneledBufferProcessQueue *__tunnel_socket_alloc_simple_process_queue( + RedSocket *sckt, + uint32_t service_type, + uint32_t direction_type); +static TunneledBufferProcessQueue *tunnel_socket_alloc_simple_print_request_process_queue( + RedSocket *sckt); +static TunneledBufferProcessQueue *tunnel_socket_alloc_simple_print_reply_process_queue( + RedSocket *sckt); +static void free_simple_process_queue(TunneledBufferProcessQueue *queue); + +typedef struct ServiceCallback { + /* allocating the queue & setting the analysis proc by service type */ + TunneledBufferProcessQueue *(*alloc_process_queue)(RedSocket * sckt); + void (*free_process_queue)(TunneledBufferProcessQueue *queue); +} ServiceCallback; + +/* Callbacks for process queue manipulation according to the service type and + the direction of the data. + The access is performed by [service_type][direction] */ +static const ServiceCallback SERVICES_CALLBACKS[3][2] = { + {{NULL, NULL}, + {NULL, NULL}}, + {{tunnel_socket_alloc_simple_print_request_process_queue, free_simple_process_queue}, + {tunnel_socket_alloc_simple_print_reply_process_queue, free_simple_process_queue}}, + {{tunnel_socket_alloc_simple_print_request_process_queue, free_simple_process_queue}, + {tunnel_socket_alloc_simple_print_reply_process_queue, free_simple_process_queue}} +}; + +/**************************************************** +* Migration data +****************************************************/ +typedef struct TunnelChannelClient TunnelChannelClient; + +#define TUNNEL_MIGRATE_DATA_MAGIC (*(uint32_t *)"TMDA") +#define TUNNEL_MIGRATE_DATA_VERSION 1 + +#define TUNNEL_MIGRATE_NULL_OFFSET = ~0; + +typedef struct __attribute__ ((__packed__)) TunnelMigrateSocketOutData { + uint32_t num_tokens; + uint32_t window_size; + + uint32_t process_buf_size; + uint32_t process_buf; + + uint32_t process_queue_size; + uint32_t process_queue; + + uint32_t ready_buf_size; + uint32_t ready_buf; +} TunnelMigrateSocketOutData; + +typedef struct __attribute__ ((__packed__)) TunnelMigrateSocketInData { + int32_t num_tokens; + uint32_t client_total_num_tokens; + + uint32_t process_buf_size; + uint32_t process_buf; + + uint32_t process_queue_size; + uint32_t process_queue; + + uint32_t ready_buf_size; + uint32_t ready_buf; +} TunnelMigrateSocketInData; + + +typedef struct __attribute__ ((__packed__)) TunnelMigrateSocket { + uint16_t connection_id; + uint16_t local_port; + uint32_t far_service_id; + + uint16_t client_status; + uint16_t slirp_status; + + uint8_t pushed_close; + uint8_t client_waits_close_ack; + + TunnelMigrateSocketOutData out_data; + TunnelMigrateSocketInData in_data; + + uint32_t slirp_sckt; + + uint32_t mig_client_status_msg; + uint32_t mig_open_ack_tokens; +} TunnelMigrateSocket; + +typedef struct __attribute__ ((__packed__)) TunnelMigrateSocketList { + uint16_t num_sockets; + uint32_t sockets[0]; // offsets in TunnelMigrateData.data to TunnelMigrateSocket +} TunnelMigrateSocketList; + +typedef struct __attribute__ ((__packed__)) TunnelMigrateService { + uint32_t type; + uint32_t id; + uint32_t group; + uint32_t port; + uint32_t name; + uint32_t description; + uint8_t virt_ip[4]; +} TunnelMigrateService; + +typedef struct __attribute__ ((__packed__)) TunnelMigratePrintService { + TunnelMigrateService base; + uint8_t ip[4]; +} TunnelMigratePrintService; + +typedef struct __attribute__ ((__packed__)) TunnelMigrateServicesList { + uint32_t num_services; + uint32_t services[0]; +} TunnelMigrateServicesList; + +//todo: add ack_generation +typedef struct __attribute__ ((__packed__)) TunnelMigrateData { + uint32_t magic; + uint32_t version; + uint64_t message_serial; + + uint32_t slirp_state; // offset in data to slirp state + uint32_t sockets_list; // offset in data to TunnelMigrateSocketList + uint32_t services_list; + + uint8_t data[0]; +} TunnelMigrateData; + +typedef struct TunnelMigrateSocketItem { + RedSocket *socket; + TunnelMigrateSocket mig_socket; + void *out_process_queue; + void *in_process_queue; // queue data specific for service + void *slirp_socket; + uint32_t slirp_socket_size; +} TunnelMigrateSocketItem; + +typedef struct TunnelMigrateServiceItem { + TunnelService *service; + union { + TunnelMigrateService generic_service; + TunnelMigratePrintService print_service; + } u; +} TunnelMigrateServiceItem; + +typedef struct TunnelMigrateItem { + PipeItem base; + + void *slirp_state; + uint64_t slirp_state_size; + + TunnelMigrateServicesList *services_list; + uint32_t services_list_size; + + TunnelMigrateServiceItem *services; + + TunnelMigrateSocketList *sockets_list; + uint32_t sockets_list_size; + + TunnelMigrateSocketItem sockets_data[MAX_SOCKETS_NUM]; +} TunnelMigrateItem; + +static inline void tunnel_channel_activate_migrated_sockets(TunnelChannelClient *channel); + +/*******************************************************************************************/ + +/* use for signaling that 1) subroutines failed 2)routines in the interface for slirp + failed (which triggered from a call to slirp) */ +#define SET_TUNNEL_ERROR(channel,format, ...) { \ + channel->tunnel_error = TRUE; \ + spice_printerr(format, ## __VA_ARGS__); \ +} + +/* should be checked after each subroutine that may cause error or after calls to slirp routines */ +#define CHECK_TUNNEL_ERROR(channel) (channel->tunnel_error) + +struct TunnelChannelClient { + RedChannelClient base; + TunnelWorker *worker; + int mig_inprogress; + + int tunnel_error; + + /* TODO: this needs to be RCC specific (or bad things will happen) */ + struct { + union { + SpiceMsgTunnelInit init; + SpiceMsgTunnelServiceIpMap service_ip; + SpiceMsgTunnelSocketOpen socket_open; + SpiceMsgTunnelSocketFin socket_fin; + SpiceMsgTunnelSocketClose socket_close; + SpiceMsgTunnelSocketClosedAck socket_close_ack; + SpiceMsgTunnelSocketData socket_data; + SpiceMsgTunnelSocketTokens socket_token; + TunnelMigrateData migrate_data; + SpiceMsgMigrate migrate; + } u; + } send_data; + + uint8_t control_rcv_buf[CONTROL_MSG_RECV_BUF_SIZE]; +}; + +typedef struct RedSlirpNetworkInterface { + SlirpUsrNetworkInterface base; + TunnelWorker *worker; +} RedSlirpNetworkInterface; + +struct TunnelService { + RingItem ring_item; + PipeItem pipe_item; + uint32_t type; + uint32_t id; + uint32_t group; + uint32_t port; + char *name; + char *description; + + struct in_addr virt_ip; +}; + +typedef struct TunnelPrintService { + TunnelService base; + uint8_t ip[4]; +} TunnelPrintService; + +struct TunnelWorker { + RedChannel *channel; + TunnelChannelClient *channel_client; + + SpiceCoreInterface *core_interface; + SpiceNetWireInstance *sin; + SpiceNetWireInterface *sif; + RedSlirpNetworkInterface tunnel_interface; + RedSlirpNetworkInterface null_interface; + + RedSocket sockets[MAX_SOCKETS_NUM]; // the sockets are in the worker and not + // in the channel since the slirp sockets + // can be still alive (but during close) after + // the channel was disconnected + + int num_sockets; + + RedSocketRawSndBuf *free_snd_buf; + RedSocketRawRcvBuf *free_rcv_buf; + + Ring services; + int num_services; +}; + + +/********************************************************************* + * Tunnel interface + *********************************************************************/ +static void tunnel_channel_on_disconnect(RedChannel *channel); + +/* networking interface for slirp */ +static int qemu_can_output(SlirpUsrNetworkInterface *usr_interface); +static void qemu_output(SlirpUsrNetworkInterface *usr_interface, const uint8_t *pkt, int pkt_len); +static int null_tunnel_socket_connect(SlirpUsrNetworkInterface *usr_interface, + struct in_addr src_addr, uint16_t src_port, + struct in_addr dst_addr, uint16_t dst_port, + SlirpSocket *slirp_s, UserSocket **o_usr_s); +static int tunnel_socket_connect(SlirpUsrNetworkInterface *usr_interface, + struct in_addr src_addr, uint16_t src_port, + struct in_addr dst_addr, uint16_t dst_port, + SlirpSocket *slirp_s, UserSocket **o_usr_s); +static void null_tunnel_socket_close(SlirpUsrNetworkInterface *usr_interface, UserSocket *opaque); +static void tunnel_socket_close(SlirpUsrNetworkInterface *usr_interface, UserSocket *opaque); +static int null_tunnel_socket_send(SlirpUsrNetworkInterface *usr_interface, UserSocket *opaque, + uint8_t *buf, size_t len, uint8_t urgent); +static int tunnel_socket_send(SlirpUsrNetworkInterface *usr_interface, UserSocket *opaque, + uint8_t *buf, size_t len, uint8_t urgent); +static int null_tunnel_socket_recv(SlirpUsrNetworkInterface *usr_interface, UserSocket *opaque, + uint8_t *buf, size_t len); +static int tunnel_socket_recv(SlirpUsrNetworkInterface *usr_interface, UserSocket *opaque, + uint8_t *buf, size_t len); +static void null_tunnel_socket_shutdown_send(SlirpUsrNetworkInterface *usr_interface, + UserSocket *opaque); +static void tunnel_socket_shutdown_send(SlirpUsrNetworkInterface *usr_interface, + UserSocket *opaque); +static void null_tunnel_socket_shutdown_recv(SlirpUsrNetworkInterface *usr_interface, + UserSocket *opaque); +static void tunnel_socket_shutdown_recv(SlirpUsrNetworkInterface *usr_interface, + UserSocket *opaque); + +static UserTimer *create_timer(SlirpUsrNetworkInterface *usr_interface, + timer_proc_t proc, void *opaque); +static void arm_timer(SlirpUsrNetworkInterface *usr_interface, UserTimer *timer, uint32_t ms); + + +/* RedChannel interface */ + +static void handle_tunnel_channel_link(RedChannel *channel, RedClient *client, + RedsStream *stream, int migration, + int num_common_caps, + uint32_t *common_caps, int num_caps, + uint32_t *caps); +static void handle_tunnel_channel_client_migrate(RedChannelClient *rcc); +static void red_tunnel_channel_create(TunnelWorker *worker); + +static void tunnel_shutdown(TunnelWorker *worker) +{ + int i; + spice_printerr(""); + /* shutdown input from channel */ + if (worker->channel_client) { + red_channel_client_shutdown(&worker->channel_client->base); + } + + /* shutdown socket pipe items */ + for (i = 0; i < MAX_SOCKETS_NUM; i++) { + RedSocket *sckt = worker->sockets + i; + if (sckt->allocated) { + sckt->client_status = CLIENT_SCKT_STATUS_CLOSED; + sckt->client_waits_close_ack = FALSE; + } + } + + /* shutdown input from slirp */ + net_slirp_set_net_interface(&worker->null_interface.base); +} + +/***************************************************************** +* Managing raw tunneled buffers storage +******************************************************************/ + +/********** send buffers ***********/ +static RawTunneledBuffer *tunnel_socket_alloc_snd_buf(RedSocket *sckt) +{ + RedSocketRawSndBuf *ret = __tunnel_worker_alloc_socket_snd_buf(sckt->worker); + ret->base.usr_opaque = sckt; + ret->base.release_proc = snd_tunnled_buffer_release; + sckt->out_data.num_buffers++; + return &ret->base; +} + +static inline RedSocketRawSndBuf *__tunnel_worker_alloc_socket_snd_buf(TunnelWorker *worker) +{ + RedSocketRawSndBuf *ret; + if (worker->free_snd_buf) { + ret = worker->free_snd_buf; + worker->free_snd_buf = (RedSocketRawSndBuf *)worker->free_snd_buf->base.next; + } else { + ret = spice_new(RedSocketRawSndBuf, 1); + } + ret->base.data = ret->buf; + ret->base.size = 0; + ret->base.max_size = MAX_SOCKET_DATA_SIZE; + ret->base.usr_opaque = NULL; + ret->base.refs = 1; + ret->base.next = NULL; + + return ret; +} + +static void tunnel_socket_free_snd_buf(RedSocket *sckt, RedSocketRawSndBuf *snd_buf) +{ + sckt->out_data.num_buffers--; + __tunnel_worker_free_socket_snd_buf(sckt->worker, snd_buf); +} + +static inline void __tunnel_worker_free_socket_snd_buf(TunnelWorker *worker, + RedSocketRawSndBuf *snd_buf) +{ + snd_buf->base.size = 0; + snd_buf->base.next = &worker->free_snd_buf->base; + worker->free_snd_buf = snd_buf; +} + +static RawTunneledBuffer *process_queue_alloc_snd_tunneled_buffer(TunneledBufferProcessQueue *queue) +{ + return tunnel_socket_alloc_snd_buf((RedSocket *)queue->usr_opaque); +} + +static void snd_tunnled_buffer_release(RawTunneledBuffer *buf) +{ + tunnel_socket_free_snd_buf((RedSocket *)buf->usr_opaque, (RedSocketRawSndBuf *)buf); +} + +/********** recv buffers ***********/ + +static inline void tunnel_socket_assign_rcv_buf(RedSocket *sckt, + RedSocketRawRcvBuf *recv_buf, int buf_size) +{ + spice_assert(!recv_buf->base.usr_opaque); + // the rcv buffer was allocated by tunnel_channel_alloc_msg_rcv_buf + // before we could know which of the sockets it belongs to, so the + // assignment to the socket is performed now + recv_buf->base.size = buf_size; + recv_buf->base.usr_opaque = sckt; + recv_buf->base.release_proc = rcv_tunnled_buffer_release; + sckt->in_data.num_buffers++; + process_queue_push(sckt->in_data.process_queue, &recv_buf->base); +} + +static inline RedSocketRawRcvBuf *__tunnel_worker_alloc_socket_rcv_buf(TunnelWorker *worker) +{ + RedSocketRawRcvBuf *ret; + if (worker->free_rcv_buf) { + ret = worker->free_rcv_buf; + worker->free_rcv_buf = (RedSocketRawRcvBuf *)worker->free_rcv_buf->base.next; + } else { + ret = spice_new(RedSocketRawRcvBuf, 1); + } + ret->msg_info = (SpiceMsgcTunnelSocketData *)ret->buf; + ret->base.usr_opaque = NULL; + ret->base.data = ret->msg_info->data; + ret->base.size = 0; + ret->base.max_size = MAX_SOCKET_DATA_SIZE; + ret->base.refs = 1; + ret->base.next = NULL; + + return ret; +} + +static inline void __process_rcv_buf_tokens(TunnelChannelClient *channel, RedSocket *sckt) +{ + if ((sckt->client_status != CLIENT_SCKT_STATUS_OPEN) || red_channel_client_pipe_item_is_linked( + &channel->base, &sckt->out_data.token_pipe_item) || channel->mig_inprogress) { + return; + } + + if ((sckt->in_data.num_tokens >= SOCKET_TOKENS_TO_SEND) || + (!sckt->in_data.client_total_num_tokens && !sckt->in_data.ready_chunks_queue.head)) { + sckt->out_data.token_pipe_item.type = PIPE_ITEM_TYPE_SOCKET_TOKEN; + red_channel_client_pipe_add(&channel->base, &sckt->out_data.token_pipe_item); + } +} + +static void tunnel_socket_free_rcv_buf(RedSocket *sckt, RedSocketRawRcvBuf *rcv_buf) +{ + --sckt->in_data.num_buffers; + __tunnel_worker_free_socket_rcv_buf(sckt->worker, rcv_buf); + ++sckt->in_data.num_tokens; + __process_rcv_buf_tokens(sckt->worker->channel_client, sckt); +} + +static inline void __tunnel_worker_free_socket_rcv_buf(TunnelWorker *worker, + RedSocketRawRcvBuf *rcv_buf) +{ + rcv_buf->base.next = &worker->free_rcv_buf->base; + worker->free_rcv_buf = rcv_buf; +} + +static void rcv_tunnled_buffer_release(RawTunneledBuffer *buf) +{ + tunnel_socket_free_rcv_buf((RedSocket *)buf->usr_opaque, + (RedSocketRawRcvBuf *)buf); +} + +/************************ +* Process & Ready queue +*************************/ + +static inline void __process_queue_push(TunneledBufferProcessQueue *queue, RawTunneledBuffer *buf) +{ + buf->next = NULL; + if (!queue->head) { + queue->head = buf; + queue->tail = buf; + } else { + queue->tail->next = buf; + queue->tail = buf; + } +} + +static void process_queue_push(TunneledBufferProcessQueue *queue, RawTunneledBuffer *buf) +{ + __process_queue_push(queue, buf); + queue->analysis_proc(queue, buf, 0, buf->size); +} + +static void process_queue_append(TunneledBufferProcessQueue *queue, uint8_t *data, size_t size) +{ + RawTunneledBuffer *start_buf = NULL; + int start_offset = 0; + int copied = 0; + + if (queue->tail) { + RawTunneledBuffer *buf = queue->tail; + int space = buf->max_size - buf->size; + if (space) { + int copy_count = MIN(size, space); + start_buf = buf; + start_offset = buf->size; + memcpy(buf->data + buf->size, data, copy_count); + copied += copy_count; + buf->size += copy_count; + } + } + + + while (copied < size) { + RawTunneledBuffer *buf = queue->alloc_buf_proc(queue); + int copy_count = MIN(size - copied, buf->max_size); + memcpy(buf->data, data + copied, copy_count); + copied += copy_count; + buf->size = copy_count; + + __process_queue_push(queue, buf); + + if (!start_buf) { + start_buf = buf; + start_offset = 0; + } + } + + queue->analysis_proc(queue, start_buf, start_offset, size); +} + +static void process_queue_pop(TunneledBufferProcessQueue *queue) +{ + RawTunneledBuffer *prev_head; + spice_assert(queue->head && queue->tail); + prev_head = queue->head; + queue->head = queue->head->next; + if (!queue->head) { + queue->tail = NULL; + } + + tunneled_buffer_unref(prev_head); +} + +static void process_queue_clear(TunneledBufferProcessQueue *queue) +{ + while (queue->head) { + process_queue_pop(queue); + } +} + +static void __ready_queue_push(ReadyTunneledChunkQueue *queue, ReadyTunneledChunk *chunk) +{ + chunk->next = NULL; + if (queue->tail) { + queue->tail->next = chunk; + queue->tail = chunk; + } else { + queue->head = chunk; + queue->tail = chunk; + } +} + +static void ready_queue_add_orig_chunk(ReadyTunneledChunkQueue *queue, RawTunneledBuffer *origin, + uint8_t *data, int size) +{ + ReadyTunneledChunk *chunk = spice_new(ReadyTunneledChunk, 1); + chunk->type = READY_TUNNELED_CHUNK_TYPE_ORIG; + chunk->origin = tunneled_buffer_ref(origin); + chunk->data = data; + chunk->size = size; + + __ready_queue_push(queue, chunk); +} + +static void ready_queue_pop_chunk(ReadyTunneledChunkQueue *queue) +{ + ReadyTunneledChunk *chunk = queue->head; + spice_assert(queue->head); + queue->head = queue->head->next; + + if (!queue->head) { + queue->tail = NULL; + } + + tunneled_buffer_unref(chunk->origin); + if (chunk->type != READY_TUNNELED_CHUNK_TYPE_ORIG) { + free(chunk->data); + } + free(chunk); +} + +static void ready_queue_clear(ReadyTunneledChunkQueue *queue) +{ + while (queue->head) { + ready_queue_pop_chunk(queue); + } +} + +static void process_queue_simple_analysis(TunneledBufferProcessQueue *queue, + RawTunneledBuffer *start_last_added, int offset, int len) +{ + spice_assert(offset == 0); + spice_assert(start_last_added == queue->head); + + while (queue->head) { + ready_queue_add_orig_chunk(queue->ready_chunks_queue, queue->head, queue->head->data, + queue->head->size); + process_queue_pop(queue); + } +} + +static int process_queue_simple_get_migrate_data(TunneledBufferProcessQueue *queue, + void **migrate_data) +{ + *migrate_data = NULL; + return 0; +} + +static void process_queue_simple_release_migrate_data(TunneledBufferProcessQueue *queue, + void *migrate_data) +{ + spice_assert(!migrate_data); +} + +static void process_queue_simple_restore(TunneledBufferProcessQueue *queue, uint8_t *migrate_data) +{ +} + +static inline TunneledBufferProcessQueue *__tunnel_socket_alloc_simple_process_queue( + RedSocket *sckt, + uint32_t service_type, + uint32_t direction_type) +{ + TunneledBufferProcessQueue *ret_queue = spice_new0(TunneledBufferProcessQueue, 1); + ret_queue->service_type = service_type; + ret_queue->direction = direction_type; + ret_queue->usr_opaque = sckt; + // NO need for allocations by the process queue when getting replies. The buffer is created + // when the msg is received + if (direction_type == PROCESS_DIRECTION_TYPE_REQUEST) { + ret_queue->alloc_buf_proc = process_queue_alloc_snd_tunneled_buffer; + ret_queue->ready_chunks_queue = &sckt->out_data.ready_chunks_queue; + } else { + ret_queue->ready_chunks_queue = &sckt->in_data.ready_chunks_queue; + } + + ret_queue->analysis_proc = process_queue_simple_analysis; + + ret_queue->get_migrate_data_proc = process_queue_simple_get_migrate_data; + ret_queue->release_migrate_data_proc = process_queue_simple_release_migrate_data; + ret_queue->restore_proc = process_queue_simple_restore; + return ret_queue; +} + +static void free_simple_process_queue(TunneledBufferProcessQueue *queue) +{ + process_queue_clear(queue); + free(queue); +} + +static TunneledBufferProcessQueue *tunnel_socket_alloc_simple_print_request_process_queue( + RedSocket *sckt) +{ + return __tunnel_socket_alloc_simple_process_queue(sckt, + SPICE_TUNNEL_SERVICE_TYPE_IPP, + PROCESS_DIRECTION_TYPE_REQUEST); +} + +static TunneledBufferProcessQueue *tunnel_socket_alloc_simple_print_reply_process_queue( + RedSocket *sckt) +{ + return __tunnel_socket_alloc_simple_process_queue(sckt, + SPICE_TUNNEL_SERVICE_TYPE_IPP, + PROCESS_DIRECTION_TYPE_REPLY); +} + +SPICE_GNUC_VISIBLE void spice_server_net_wire_recv_packet(SpiceNetWireInstance *sin, + const uint8_t *pkt, int pkt_len) +{ + TunnelWorker *worker = sin->st->worker; + spice_assert(worker); + + if (worker->channel_client && worker->channel_client->mig_inprogress) { + return; // during migration and the tunnel state hasn't been restored yet. + } + + net_slirp_input(pkt, pkt_len); +} + +void *red_tunnel_attach(SpiceCoreInterface *core_interface, + SpiceNetWireInstance *sin) +{ + TunnelWorker *worker = spice_new0(TunnelWorker, 1); + + worker->core_interface = core_interface; + worker->sin = sin; + worker->sin->st->worker = worker; + worker->sif = SPICE_CONTAINEROF(sin->base.sif, SpiceNetWireInterface, base); + + worker->tunnel_interface.base.slirp_can_output = qemu_can_output; + worker->tunnel_interface.base.slirp_output = qemu_output; + worker->tunnel_interface.base.connect = tunnel_socket_connect; + worker->tunnel_interface.base.send = tunnel_socket_send; + worker->tunnel_interface.base.recv = tunnel_socket_recv; + worker->tunnel_interface.base.close = tunnel_socket_close; + worker->tunnel_interface.base.shutdown_recv = tunnel_socket_shutdown_recv; + worker->tunnel_interface.base.shutdown_send = tunnel_socket_shutdown_send; + worker->tunnel_interface.base.create_timer = create_timer; + worker->tunnel_interface.base.arm_timer = arm_timer; + + worker->tunnel_interface.worker = worker; + + worker->null_interface.base.slirp_can_output = qemu_can_output; + worker->null_interface.base.slirp_output = qemu_output; + worker->null_interface.base.connect = null_tunnel_socket_connect; + worker->null_interface.base.send = null_tunnel_socket_send; + worker->null_interface.base.recv = null_tunnel_socket_recv; + worker->null_interface.base.close = null_tunnel_socket_close; + worker->null_interface.base.shutdown_recv = null_tunnel_socket_shutdown_recv; + worker->null_interface.base.shutdown_send = null_tunnel_socket_shutdown_send; + worker->null_interface.base.create_timer = create_timer; + worker->null_interface.base.arm_timer = arm_timer; + + worker->null_interface.worker = worker; + + red_tunnel_channel_create(worker); + + ring_init(&worker->services); + + net_slirp_init(worker->sif->get_ip(worker->sin), + TRUE, + &worker->null_interface.base); + return worker; +} + +/* returns the first service that has the same group id (NULL if not found) */ +static inline TunnelService *__tunnel_worker_find_service_of_group(TunnelWorker *worker, + uint32_t group) +{ + TunnelService *service; + for (service = (TunnelService *)ring_get_head(&worker->services); + service; + service = (TunnelService *)ring_next(&worker->services, &service->ring_item)) { + if (service->group == group) { + return service; + } + } + + return NULL; +} + +static inline TunnelService *__tunnel_worker_add_service(TunnelWorker *worker, uint32_t size, + uint32_t type, uint32_t id, + uint32_t group, uint32_t port, + char *name, char *description, + struct in_addr *virt_ip) +{ + TunnelService *new_service = spice_malloc0(size); + + if (!virt_ip) { + TunnelService *service_of_same_group; + if (!(service_of_same_group = __tunnel_worker_find_service_of_group(worker, group))) { + if (!net_slirp_allocate_virtual_ip(&new_service->virt_ip)) { + spice_printerr("failed to allocate virtual ip"); + free(new_service); + return NULL; + } + } else { + if (strcmp(name, service_of_same_group->name) == 0) { + new_service->virt_ip.s_addr = service_of_same_group->virt_ip.s_addr; + } else { + spice_printerr("inconsistent name for service group %d", group); + free(new_service); + return NULL; + } + } + } else { + new_service->virt_ip.s_addr = virt_ip->s_addr; + } + + ring_item_init(&new_service->ring_item); + new_service->type = type; + new_service->id = id; + new_service->group = group; + new_service->port = port; + + new_service->name = spice_strdup(name); + new_service->description = spice_strdup(description); + + ring_add(&worker->services, &new_service->ring_item); + worker->num_services++; + +#ifdef DEBUG_NETWORK + spice_printerr("TUNNEL_DBG: ==>SERVICE ADDED: id=%d virt ip=%s port=%d name=%s desc=%s", + new_service->id, inet_ntoa(new_service->virt_ip), + new_service->port, new_service->name, new_service->description); +#endif + if (!virt_ip) { + new_service->pipe_item.type = PIPE_ITEM_TYPE_SERVICE_IP_MAP; + red_channel_client_pipe_add(&worker->channel_client->base, &new_service->pipe_item); + } + + return new_service; +} + +static TunnelService *tunnel_worker_add_service(TunnelWorker *worker, uint32_t size, + SpiceMsgcTunnelAddGenericService *redc_service) +{ + return __tunnel_worker_add_service(worker, size, redc_service->type, + redc_service->id, redc_service->group, + redc_service->port, + (char *)(((uint8_t *)redc_service) + + redc_service->name), + (char *)(((uint8_t *)redc_service) + + redc_service->description), NULL); +} + +static inline void tunnel_worker_free_service(TunnelWorker *worker, TunnelService *service) +{ + ring_remove(&service->ring_item); + free(service->name); + free(service->description); + free(service); + worker->num_services--; +} + +static void tunnel_worker_free_print_service(TunnelWorker *worker, TunnelPrintService *service) +{ + tunnel_worker_free_service(worker, &service->base); +} + +static TunnelPrintService *tunnel_worker_add_print_service(TunnelWorker *worker, + SpiceMsgcTunnelAddGenericService *redc_service) +{ + TunnelPrintService *service; + + service = (TunnelPrintService *)tunnel_worker_add_service(worker, sizeof(TunnelPrintService), + redc_service); + + if (!service) { + return NULL; + } + + if (redc_service->type == SPICE_TUNNEL_IP_TYPE_IPv4) { + memcpy(service->ip, redc_service->u.ip.data, sizeof(SpiceTunnelIPv4)); + } else { + spice_printerr("unexpected ip type=%d", redc_service->type); + tunnel_worker_free_print_service(worker, service); + return NULL; + } +#ifdef DEBUG_NETWORK + spice_printerr("TUNNEL_DBG: ==>PRINT SERVICE ADDED: ip=%d.%d.%d.%d", service->ip[0], + service->ip[1], service->ip[2], service->ip[3]); +#endif + return service; +} + +static int tunnel_channel_handle_service_add(TunnelChannelClient *channel, + SpiceMsgcTunnelAddGenericService *service_msg) +{ + TunnelService *out_service = NULL; + if (service_msg->type == SPICE_TUNNEL_SERVICE_TYPE_IPP) { + out_service = &tunnel_worker_add_print_service(channel->worker, + service_msg)->base; + } else if (service_msg->type == SPICE_TUNNEL_SERVICE_TYPE_GENERIC) { + out_service = tunnel_worker_add_service(channel->worker, sizeof(TunnelService), + service_msg); + } else { + spice_printerr("invalid service type"); + } + + free(service_msg); + return (out_service != NULL); +} + +static inline TunnelService *tunnel_worker_find_service_by_id(TunnelWorker *worker, uint32_t id) +{ + TunnelService *service; + for (service = (TunnelService *)ring_get_head(&worker->services); + service; + service = (TunnelService *)ring_next(&worker->services, &service->ring_item)) { + if (service->id == id) { + return service; + } + } + + return NULL; +} + +static inline TunnelService *tunnel_worker_find_service_by_addr(TunnelWorker *worker, + struct in_addr *virt_ip, + uint32_t port) +{ + TunnelService *service; + for (service = (TunnelService *)ring_get_head(&worker->services); + service; + service = (TunnelService *)ring_next(&worker->services, &service->ring_item)) { + if ((virt_ip->s_addr == service->virt_ip.s_addr) && (port == service->port)) { + return service; + } + } + + return NULL; +} + +static inline void tunnel_worker_clear_routed_network(TunnelWorker *worker) +{ + while (!ring_is_empty(&worker->services)) { + TunnelService *service = (TunnelService *)ring_get_head(&worker->services); + if (service->type == SPICE_TUNNEL_SERVICE_TYPE_GENERIC) { + tunnel_worker_free_service(worker, service); + } else if (service->type == SPICE_TUNNEL_SERVICE_TYPE_IPP) { + tunnel_worker_free_print_service(worker, (TunnelPrintService *)service); + } else { + spice_error("unexpected service type"); + } + } + + net_slirp_clear_virtual_ips(); +} + +static inline RedSocket *__tunnel_worker_find_free_socket(TunnelWorker *worker) +{ + int i; + RedSocket *ret = NULL; + + if (worker->num_sockets == MAX_SOCKETS_NUM) { + return NULL; + } + + for (i = 0; i < MAX_SOCKETS_NUM; i++) { + if (!worker->sockets[i].allocated) { + ret = worker->sockets + i; + ret->connection_id = i; + break; + } + } + + spice_assert(ret); + return ret; +} + +static inline void __tunnel_worker_add_socket(TunnelWorker *worker, RedSocket *sckt) +{ + spice_assert(!sckt->allocated); + sckt->allocated = TRUE; + worker->num_sockets++; +} + +static inline void tunnel_worker_alloc_socket(TunnelWorker *worker, RedSocket *sckt, + uint16_t local_port, TunnelService *far_service, + SlirpSocket *slirp_s) +{ + spice_assert(far_service); + sckt->worker = worker; + sckt->local_port = local_port; + sckt->far_service = far_service; + sckt->out_data.num_tokens = 0; + + sckt->slirp_status = SLIRP_SCKT_STATUS_OPEN; + sckt->client_status = CLIENT_SCKT_STATUS_WAIT_OPEN; + sckt->slirp_sckt = slirp_s; + + sckt->out_data.process_queue = SERVICES_CALLBACKS[far_service->type][ + PROCESS_DIRECTION_TYPE_REQUEST].alloc_process_queue(sckt); + sckt->in_data.process_queue = SERVICES_CALLBACKS[far_service->type][ + PROCESS_DIRECTION_TYPE_REPLY].alloc_process_queue(sckt); + __tunnel_worker_add_socket(worker, sckt); +} + +static inline void __tunnel_worker_free_socket(TunnelWorker *worker, RedSocket *sckt) +{ + memset(sckt, 0, sizeof(*sckt)); + worker->num_sockets--; +} + +static RedSocket *tunnel_worker_create_socket(TunnelWorker *worker, uint16_t local_port, + TunnelService *far_service, + SlirpSocket *slirp_s) +{ + RedSocket *new_socket; + spice_assert(worker); + new_socket = __tunnel_worker_find_free_socket(worker); + + if (!new_socket) { + spice_error("creation of RedSocket failed"); + } + + tunnel_worker_alloc_socket(worker, new_socket, local_port, far_service, slirp_s); + + return new_socket; +} + +static void tunnel_worker_free_socket(TunnelWorker *worker, RedSocket *sckt) +{ + if (worker->channel_client) { + if (red_channel_client_pipe_item_is_linked(&worker->channel_client->base, + &sckt->out_data.data_pipe_item)) { + red_channel_client_pipe_remove_and_release(&worker->channel_client->base, + &sckt->out_data.data_pipe_item); + return; + } + + if (red_channel_client_pipe_item_is_linked(&worker->channel_client->base, + &sckt->out_data.status_pipe_item)) { + red_channel_client_pipe_remove_and_release(&worker->channel_client->base, + &sckt->out_data.status_pipe_item); + return; + } + + if (red_channel_client_pipe_item_is_linked(&worker->channel_client->base, + &sckt->out_data.token_pipe_item)) { + red_channel_client_pipe_remove_and_release(&worker->channel_client->base, + &sckt->out_data.token_pipe_item); + return; + } + } + + SERVICES_CALLBACKS[sckt->far_service->type][ + PROCESS_DIRECTION_TYPE_REQUEST].free_process_queue(sckt->out_data.process_queue); + SERVICES_CALLBACKS[sckt->far_service->type][ + PROCESS_DIRECTION_TYPE_REPLY].free_process_queue(sckt->in_data.process_queue); + + ready_queue_clear(&sckt->out_data.ready_chunks_queue); + ready_queue_clear(&sckt->in_data.ready_chunks_queue); + + __tunnel_worker_free_socket(worker, sckt); +} + +static inline RedSocket *tunnel_worker_find_socket(TunnelWorker *worker, + uint16_t local_port, + uint32_t far_service_id) +{ + RedSocket *sckt; + int allocated = 0; + + for (sckt = worker->sockets; allocated < worker->num_sockets; sckt++) { + if (sckt->allocated) { + allocated++; + if ((sckt->local_port == local_port) && + (sckt->far_service->id == far_service_id)) { + return sckt; + } + } + } + return NULL; +} + +static inline void __tunnel_socket_add_fin_to_pipe(TunnelChannelClient *channel, RedSocket *sckt) +{ + spice_assert(!red_channel_client_pipe_item_is_linked(&channel->base, &sckt->out_data.status_pipe_item)); + sckt->out_data.status_pipe_item.type = PIPE_ITEM_TYPE_SOCKET_FIN; + red_channel_client_pipe_add(&channel->base, &sckt->out_data.status_pipe_item); +} + +static inline void __tunnel_socket_add_close_to_pipe(TunnelChannelClient *channel, RedSocket *sckt) +{ + spice_assert(!channel->mig_inprogress); + + if (red_channel_client_pipe_item_is_linked(&channel->base, &sckt->out_data.status_pipe_item)) { + spice_assert(sckt->out_data.status_pipe_item.type == PIPE_ITEM_TYPE_SOCKET_FIN); + // close is stronger than FIN + red_channel_client_pipe_remove_and_release(&channel->base, + &sckt->out_data.status_pipe_item); + } + sckt->pushed_close = TRUE; + sckt->out_data.status_pipe_item.type = PIPE_ITEM_TYPE_SOCKET_CLOSE; + red_channel_client_pipe_add(&channel->base, &sckt->out_data.status_pipe_item); +} + +static inline void __tunnel_socket_add_close_ack_to_pipe(TunnelChannelClient *channel, RedSocket *sckt) +{ + spice_assert(!channel->mig_inprogress); + + if (red_channel_client_pipe_item_is_linked(&channel->base, &sckt->out_data.status_pipe_item)) { + spice_assert(sckt->out_data.status_pipe_item.type == PIPE_ITEM_TYPE_SOCKET_FIN); + // close is stronger than FIN + red_channel_client_pipe_remove_and_release(&channel->base, + &sckt->out_data.status_pipe_item); + } + + sckt->out_data.status_pipe_item.type = PIPE_ITEM_TYPE_SOCKET_CLOSED_ACK; + red_channel_client_pipe_add(&channel->base, &sckt->out_data.status_pipe_item); +} + +/* + Send close msg to the client. + If possible, notify slirp to recv data (which will return 0) + When close ack is received from client, we notify slirp (maybe again) if needed. +*/ +static void tunnel_socket_force_close(TunnelChannelClient *channel, RedSocket *sckt) +{ + if (red_channel_client_pipe_item_is_linked(&channel->base, &sckt->out_data.token_pipe_item)) { + red_channel_client_pipe_remove_and_release(&channel->base, &sckt->out_data.token_pipe_item); + } + + if (red_channel_client_pipe_item_is_linked(&channel->base, &sckt->out_data.data_pipe_item)) { + red_channel_client_pipe_remove_and_release(&channel->base, &sckt->out_data.data_pipe_item); + } + + + if ((sckt->client_status != CLIENT_SCKT_STATUS_CLOSED) || + !sckt->pushed_close) { + __tunnel_socket_add_close_to_pipe(channel, sckt); + } + + // we can't call net_slirp_socket_can_receive_notify if the forced close was initiated by + // tunnel_socket_send (which was called from slirp). Instead, when + // we receive the close ack from the client, we call net_slirp_socket_can_receive_notify + if (sckt->slirp_status != SLIRP_SCKT_STATUS_CLOSED) { + if (!sckt->in_slirp_send) { + sckt->slirp_status = SLIRP_SCKT_STATUS_WAIT_CLOSE; + net_slirp_socket_abort(sckt->slirp_sckt); + } else { + sckt->slirp_status = SLIRP_SCKT_STATUS_DELAY_ABORT; + } + } +} + +static int tunnel_channel_handle_socket_connect_ack(TunnelChannelClient *channel, RedSocket *sckt, + uint32_t tokens) +{ +#ifdef DEBUG_NETWORK + spice_printerr("TUNNEL_DBG"); +#endif + if (channel->mig_inprogress) { + sckt->mig_client_status_msg = SPICE_MSGC_TUNNEL_SOCKET_OPEN_ACK; + sckt->mig_open_ack_tokens = tokens; + return TRUE; + } + + if (sckt->client_status != CLIENT_SCKT_STATUS_WAIT_OPEN) { + spice_printerr("unexpected SPICE_MSGC_TUNNEL_SOCKET_OPEN_ACK status=%d", sckt->client_status); + return FALSE; + } + sckt->client_status = CLIENT_SCKT_STATUS_OPEN; + + // SLIRP_SCKT_STATUS_CLOSED is possible after waiting for a connection has timed out + if (sckt->slirp_status == SLIRP_SCKT_STATUS_CLOSED) { + spice_assert(!sckt->pushed_close); + __tunnel_socket_add_close_to_pipe(channel, sckt); + } else if (sckt->slirp_status == SLIRP_SCKT_STATUS_OPEN) { + sckt->out_data.window_size = tokens; + sckt->out_data.num_tokens = tokens; + net_slirp_socket_connected_notify(sckt->slirp_sckt); + } else { + spice_printerr("unexpected slirp status status=%d", sckt->slirp_status); + return FALSE; + } + + return (!CHECK_TUNNEL_ERROR(channel)); +} + +static int tunnel_channel_handle_socket_connect_nack(TunnelChannelClient *channel, RedSocket *sckt) +{ +#ifdef DEBUG_NETWORK + PRINT_SCKT(sckt); +#endif + if (channel->mig_inprogress) { + sckt->mig_client_status_msg = SPICE_MSGC_TUNNEL_SOCKET_OPEN_NACK; + return TRUE; + } + + if (sckt->client_status != CLIENT_SCKT_STATUS_WAIT_OPEN) { + spice_printerr("unexpected SPICE_MSGC_TUNNEL_SOCKET_OPEN_NACK status=%d", sckt->client_status); + return FALSE; + } + sckt->client_status = CLIENT_SCKT_STATUS_CLOSED; + + if (sckt->slirp_status != SLIRP_SCKT_STATUS_CLOSED) { + net_slirp_socket_connect_failed_notify(sckt->slirp_sckt); + } else { + tunnel_worker_free_socket(channel->worker, sckt); + } + + return (!CHECK_TUNNEL_ERROR(channel)); +} + +static int tunnel_channel_handle_socket_fin(TunnelChannelClient *channel, RedSocket *sckt) +{ +#ifdef DEBUG_NETWORK + PRINT_SCKT(sckt); +#endif + if (channel->mig_inprogress) { + sckt->mig_client_status_msg = SPICE_MSGC_TUNNEL_SOCKET_FIN; + return TRUE; + } + + if (sckt->client_status != CLIENT_SCKT_STATUS_OPEN) { + spice_printerr("unexpected SPICE_MSGC_TUNNEL_SOCKET_FIN status=%d", sckt->client_status); + return FALSE; + } + sckt->client_status = CLIENT_SCKT_STATUS_SHUTDOWN_SEND; + + if ((sckt->slirp_status == SLIRP_SCKT_STATUS_CLOSED) || + (sckt->slirp_status == SLIRP_SCKT_STATUS_DELAY_ABORT)) { + return TRUE; + } + + if ((sckt->slirp_status == SLIRP_SCKT_STATUS_OPEN) || + (sckt->slirp_status == SLIRP_SCKT_STATUS_SHUTDOWN_SEND)) { + // After slirp will receive all the data buffers, the next recv + // will return an error and shutdown_recv should be called. + net_slirp_socket_can_receive_notify(sckt->slirp_sckt); + } else if (sckt->slirp_status == SLIRP_SCKT_STATUS_SHUTDOWN_RECV) { + // it already received the FIN + spice_printerr("unexpected slirp status=%d", sckt->slirp_status); + return FALSE; + } + + return (!CHECK_TUNNEL_ERROR(channel)); +} + +static int tunnel_channel_handle_socket_closed(TunnelChannelClient *channel, RedSocket *sckt) +{ + int prev_client_status = sckt->client_status; + +#ifdef DEBUG_NETWORK + PRINT_SCKT(sckt); +#endif + + if (channel->mig_inprogress) { + sckt->mig_client_status_msg = SPICE_MSGC_TUNNEL_SOCKET_CLOSED; + return TRUE; + } + + sckt->client_status = CLIENT_SCKT_STATUS_CLOSED; + + if (sckt->slirp_status == SLIRP_SCKT_STATUS_CLOSED) { + // if we already pushed close to the client, we expect it to send us ack. + // Otherwise, we will send it an ack. + if (!sckt->pushed_close) { + sckt->client_waits_close_ack = TRUE; + __tunnel_socket_add_close_ack_to_pipe(channel, sckt); + } + + return (!CHECK_TUNNEL_ERROR(channel)); + } + + // close was initiated by client + sckt->client_waits_close_ack = TRUE; + + if (sckt->slirp_status == SLIRP_SCKT_STATUS_SHUTDOWN_SEND) { + // guest waits for fin: after slirp will receive all the data buffers, + // the next recv will return an error and shutdown_recv should be called. + net_slirp_socket_can_receive_notify(sckt->slirp_sckt); + } else if ((sckt->slirp_status == SLIRP_SCKT_STATUS_OPEN) || + (sckt->slirp_status == SLIRP_SCKT_STATUS_SHUTDOWN_RECV)) { + sckt->slirp_status = SLIRP_SCKT_STATUS_WAIT_CLOSE; + net_slirp_socket_abort(sckt->slirp_sckt); + } else if ((sckt->slirp_status != SLIRP_SCKT_STATUS_WAIT_CLOSE) || + (prev_client_status != CLIENT_SCKT_STATUS_SHUTDOWN_SEND)) { + // slirp can be in wait close if both slirp and client sent fin previously + // otherwise, the prev client status would also have been wait close, and this + // case was handled above + spice_printerr("unexpected slirp_status=%d", sckt->slirp_status); + return FALSE; + } + + return (!CHECK_TUNNEL_ERROR(channel)); +} + +static int tunnel_channel_handle_socket_closed_ack(TunnelChannelClient *channel, RedSocket *sckt) +{ +#ifdef DEBUG_NETWORK + PRINT_SCKT(sckt); +#endif + if (channel->mig_inprogress) { + sckt->mig_client_status_msg = SPICE_MSGC_TUNNEL_SOCKET_CLOSED_ACK; + return TRUE; + } + + sckt->client_status = CLIENT_SCKT_STATUS_CLOSED; + if (sckt->slirp_status == SLIRP_SCKT_STATUS_DELAY_ABORT) { + sckt->slirp_status = SLIRP_SCKT_STATUS_WAIT_CLOSE; + net_slirp_socket_abort(sckt->slirp_sckt); + return (!CHECK_TUNNEL_ERROR(channel)); + } + + if (sckt->slirp_status != SLIRP_SCKT_STATUS_CLOSED) { + spice_printerr("unexpected SPICE_MSGC_TUNNEL_SOCKET_CLOSED_ACK slirp_status=%d", + sckt->slirp_status); + return FALSE; + } + + tunnel_worker_free_socket(channel->worker, sckt); + return (!CHECK_TUNNEL_ERROR(channel)); +} + +static int tunnel_channel_handle_socket_receive_data(TunnelChannelClient *channel, RedSocket *sckt, + RedSocketRawRcvBuf *recv_data, int buf_size) +{ + if ((sckt->client_status == CLIENT_SCKT_STATUS_SHUTDOWN_SEND) || + (sckt->client_status == CLIENT_SCKT_STATUS_CLOSED)) { + spice_printerr("unexpected SPICE_MSGC_TUNNEL_SOCKET_DATA client_status=%d", + sckt->client_status); + return FALSE; + } + + // handling a case where the client sent data before it received the close msg + if ((sckt->slirp_status != SLIRP_SCKT_STATUS_OPEN) && + (sckt->slirp_status != SLIRP_SCKT_STATUS_SHUTDOWN_SEND)) { + __tunnel_worker_free_socket_rcv_buf(sckt->worker, recv_data); + return (!CHECK_TUNNEL_ERROR(channel)); + } else if ((sckt->in_data.num_buffers == MAX_SOCKET_IN_BUFFERS) && + !channel->mig_inprogress) { + spice_printerr("socket in buffers overflow, socket will be closed" + " (local_port=%d, service_id=%d)", + ntohs(sckt->local_port), sckt->far_service->id); + __tunnel_worker_free_socket_rcv_buf(sckt->worker, recv_data); + tunnel_socket_force_close(channel, sckt); + return (!CHECK_TUNNEL_ERROR(channel)); + } + + tunnel_socket_assign_rcv_buf(sckt, recv_data, buf_size); + if (!sckt->in_data.client_total_num_tokens) { + spice_printerr("token violation"); + return FALSE; + } + + --sckt->in_data.client_total_num_tokens; + __process_rcv_buf_tokens(channel, sckt); + + if (sckt->in_data.ready_chunks_queue.head && !channel->mig_inprogress) { + net_slirp_socket_can_receive_notify(sckt->slirp_sckt); + } + + return (!CHECK_TUNNEL_ERROR(channel)); +} + +static inline int __client_socket_can_receive(RedSocket *sckt) +{ + return (((sckt->client_status == CLIENT_SCKT_STATUS_OPEN) || + (sckt->client_status == CLIENT_SCKT_STATUS_SHUTDOWN_SEND)) && + !sckt->worker->channel_client->mig_inprogress); +} + +static int tunnel_channel_handle_socket_token(TunnelChannelClient *channel, RedSocket *sckt, + SpiceMsgcTunnelSocketTokens *message) +{ + sckt->out_data.num_tokens += message->num_tokens; + + if (__client_socket_can_receive(sckt) && sckt->out_data.ready_chunks_queue.head && + !red_channel_client_pipe_item_is_linked(&channel->base, &sckt->out_data.data_pipe_item)) { + // data is pending to be sent + sckt->out_data.data_pipe_item.type = PIPE_ITEM_TYPE_SOCKET_DATA; + red_channel_client_pipe_add(&channel->base, &sckt->out_data.data_pipe_item); + } + + return TRUE; +} + +static uint8_t *tunnel_channel_alloc_msg_rcv_buf(RedChannelClient *rcc, + uint16_t type, uint32_t size) +{ + TunnelChannelClient *tunnel_channel = (TunnelChannelClient *)rcc->channel; + + if (type == SPICE_MSGC_TUNNEL_SOCKET_DATA) { + return (__tunnel_worker_alloc_socket_rcv_buf(tunnel_channel->worker)->buf); + } else if ((type == SPICE_MSGC_MIGRATE_DATA) || + (type == SPICE_MSGC_TUNNEL_SERVICE_ADD)) { + return spice_malloc(size); + } else { + return (tunnel_channel->control_rcv_buf); + } +} + +// called by the receive routine of the channel, before the buffer was assigned to a socket +static void tunnel_channel_release_msg_rcv_buf(RedChannelClient *rcc, uint16_t type, uint32_t size, + uint8_t *msg) +{ + TunnelChannelClient *tunnel_channel = (TunnelChannelClient *)rcc->channel; + + if (type == SPICE_MSGC_TUNNEL_SOCKET_DATA) { + spice_assert(!(SPICE_CONTAINEROF(msg, RedSocketRawRcvBuf, buf)->base.usr_opaque)); + __tunnel_worker_free_socket_rcv_buf(tunnel_channel->worker, + SPICE_CONTAINEROF(msg, RedSocketRawRcvBuf, buf)); + } +} + +static void __tunnel_channel_fill_service_migrate_item(TunnelChannelClient *channel, + TunnelService *service, + TunnelMigrateServiceItem *migrate_item) +{ + migrate_item->service = service; + TunnelMigrateService *general_data; + if (service->type == SPICE_TUNNEL_SERVICE_TYPE_GENERIC) { + general_data = &migrate_item->u.generic_service; + } else if (service->type == SPICE_TUNNEL_SERVICE_TYPE_IPP) { + general_data = &migrate_item->u.print_service.base; + memcpy(migrate_item->u.print_service.ip, ((TunnelPrintService *)service)->ip, 4); + } else { + spice_error("unexpected service type"); + abort(); + } + + general_data->type = service->type; + general_data->id = service->id; + general_data->group = service->group; + general_data->port = service->port; + memcpy(general_data->virt_ip, &service->virt_ip.s_addr, 4); +} + +static void __tunnel_channel_fill_socket_migrate_item(TunnelChannelClient *channel, RedSocket *sckt, + TunnelMigrateSocketItem *migrate_item) +{ + TunnelMigrateSocket *mig_sckt = &migrate_item->mig_socket; + migrate_item->socket = sckt; + mig_sckt->connection_id = sckt->connection_id; + mig_sckt->local_port = sckt->local_port; + mig_sckt->far_service_id = sckt->far_service->id; + mig_sckt->client_status = sckt->client_status; + mig_sckt->slirp_status = sckt->slirp_status; + + mig_sckt->pushed_close = sckt->pushed_close; + mig_sckt->client_waits_close_ack = sckt->client_waits_close_ack; + + mig_sckt->mig_client_status_msg = sckt->mig_client_status_msg; + mig_sckt->mig_open_ack_tokens = sckt->mig_open_ack_tokens; + + mig_sckt->out_data.num_tokens = sckt->out_data.num_tokens; + mig_sckt->out_data.window_size = sckt->out_data.window_size; + + // checking if there is a need to save the queues + if ((sckt->client_status != CLIENT_SCKT_STATUS_CLOSED) && + (sckt->mig_client_status_msg != SPICE_MSGC_TUNNEL_SOCKET_CLOSED) && + (sckt->mig_client_status_msg != SPICE_MSGC_TUNNEL_SOCKET_CLOSED_ACK)) { + mig_sckt->out_data.process_queue_size = + sckt->out_data.process_queue->get_migrate_data_proc(sckt->out_data.process_queue, + &migrate_item->out_process_queue); + } + + mig_sckt->in_data.num_tokens = sckt->in_data.num_tokens; + mig_sckt->in_data.client_total_num_tokens = sckt->in_data.client_total_num_tokens; + + if ((sckt->slirp_status == SLIRP_SCKT_STATUS_OPEN) || + (sckt->slirp_status == SLIRP_SCKT_STATUS_SHUTDOWN_SEND)) { + mig_sckt->in_data.process_queue_size = + sckt->in_data.process_queue->get_migrate_data_proc(sckt->in_data.process_queue, + &migrate_item->in_process_queue); + } + + if (sckt->slirp_status != SLIRP_SCKT_STATUS_CLOSED) { + migrate_item->slirp_socket_size = net_slirp_tcp_socket_export(sckt->slirp_sckt, + &migrate_item->slirp_socket); + if (!migrate_item->slirp_socket) { + SET_TUNNEL_ERROR(channel, "failed export slirp socket"); + } + } else { + migrate_item->slirp_socket_size = 0; + migrate_item->slirp_socket = NULL; + } +} + +static void release_migrate_item(TunnelMigrateItem *item); +static int tunnel_channel_handle_migrate_mark(RedChannelClient *base) +{ + TunnelChannelClient *channel = SPICE_CONTAINEROF(base->channel, TunnelChannelClient, base); + TunnelMigrateItem *migrate_item = NULL; + TunnelService *service; + TunnelMigrateServiceItem *mig_service; + int num_sockets_saved = 0; + RedSocket *sckt; + + migrate_item = spice_new0(TunnelMigrateItem, 1); + migrate_item->base.type = PIPE_ITEM_TYPE_MIGRATE_DATA; + + migrate_item->slirp_state_size = net_slirp_state_export(&migrate_item->slirp_state); + if (!migrate_item->slirp_state) { + spice_printerr("failed export slirp state"); + goto error; + } + + migrate_item->services_list_size = sizeof(TunnelMigrateServicesList) + + (sizeof(uint32_t)*channel->worker->num_services); + migrate_item->services_list = + (TunnelMigrateServicesList *)spice_malloc(migrate_item->services_list_size); + migrate_item->services_list->num_services = channel->worker->num_services; + + migrate_item->services = (TunnelMigrateServiceItem *)spice_malloc( + channel->worker->num_services * sizeof(TunnelMigrateServiceItem)); + + for (mig_service = migrate_item->services, + service = (TunnelService *)ring_get_head(&channel->worker->services); + service; + mig_service++, + service = (TunnelService *)ring_next(&channel->worker->services, &service->ring_item)) { + __tunnel_channel_fill_service_migrate_item(channel, service, mig_service); + if (CHECK_TUNNEL_ERROR(channel)) { + goto error; + } + } + + migrate_item->sockets_list_size = sizeof(TunnelMigrateSocketList) + + (sizeof(uint32_t)*channel->worker->num_sockets); + migrate_item->sockets_list = + (TunnelMigrateSocketList *) spice_malloc(migrate_item->sockets_list_size); + + migrate_item->sockets_list->num_sockets = channel->worker->num_sockets; + + for (sckt = channel->worker->sockets; num_sockets_saved < channel->worker->num_sockets; + sckt++) { + if (sckt->allocated) { + __tunnel_channel_fill_socket_migrate_item(channel, sckt, + &migrate_item->sockets_data[ + num_sockets_saved++]); + if (CHECK_TUNNEL_ERROR(channel)) { + goto error; + } + } + } + + red_channel_client_pipe_add(&channel->base, &migrate_item->base); + + return TRUE; +error: + release_migrate_item(migrate_item); + return FALSE; +} + +static void release_migrate_item(TunnelMigrateItem *item) +{ + if (!item) { + return; + } + + int i; + if (item->sockets_list) { + int num_sockets = item->sockets_list->num_sockets; + for (i = 0; i < num_sockets; i++) { + if (item->sockets_data[i].socket) { // handling errors in the middle of + // __tunnel_channel_fill_socket_migrate_item + if (item->sockets_data[i].out_process_queue) { + item->sockets_data[i].socket->out_data.process_queue->release_migrate_data_proc( + item->sockets_data[i].socket->out_data.process_queue, + item->sockets_data[i].out_process_queue); + } + if (item->sockets_data[i].in_process_queue) { + item->sockets_data[i].socket->in_data.process_queue->release_migrate_data_proc( + item->sockets_data[i].socket->in_data.process_queue, + item->sockets_data[i].in_process_queue); + } + } + + free(item->sockets_data[i].slirp_socket); + } + free(item->sockets_list); + } + + free(item->services); + free(item->services_list); + free(item->slirp_state); + free(item); +} + +typedef RawTunneledBuffer *(*socket_alloc_buffer_proc_t)(RedSocket *sckt); + +typedef struct RedSocketRestoreTokensBuf { + RedSocketRawRcvBuf base; + int num_tokens; +} RedSocketRestoreTokensBuf; + +// not updating tokens +static void restored_rcv_buf_release(RawTunneledBuffer *buf) +{ + RedSocket *sckt = (RedSocket *)buf->usr_opaque; + --sckt->in_data.num_buffers; + __tunnel_worker_free_socket_rcv_buf(sckt->worker, (RedSocketRawRcvBuf *)buf); + // for case that ready queue is empty and the client has no tokens + __process_rcv_buf_tokens(sckt->worker->channel_client, sckt); +} + +RawTunneledBuffer *tunnel_socket_alloc_restored_rcv_buf(RedSocket *sckt) +{ + RedSocketRawRcvBuf *buf = __tunnel_worker_alloc_socket_rcv_buf(sckt->worker); + buf->base.usr_opaque = sckt; + buf->base.release_proc = restored_rcv_buf_release; + + sckt->in_data.num_buffers++; + return &buf->base; +} + +static void restore_tokens_buf_release(RawTunneledBuffer *buf) +{ + RedSocketRestoreTokensBuf *tokens_buf = (RedSocketRestoreTokensBuf *)buf; + RedSocket *sckt = (RedSocket *)buf->usr_opaque; + + sckt->in_data.num_tokens += tokens_buf->num_tokens; + __process_rcv_buf_tokens(sckt->worker->channel_client, sckt); + + free(tokens_buf); +} + +RawTunneledBuffer *__tunnel_socket_alloc_restore_tokens_buf(RedSocket *sckt, int num_tokens) +{ + RedSocketRestoreTokensBuf *buf = spice_new0(RedSocketRestoreTokensBuf, 1); + + buf->base.base.usr_opaque = sckt; + buf->base.base.refs = 1; + buf->base.base.release_proc = restore_tokens_buf_release; + buf->num_tokens = num_tokens; +#ifdef DEBUG_NETWORK + spice_printerr("TUNNEL DBG: num_tokens=%d", num_tokens); +#endif + return &buf->base.base; +} + +static void __restore_ready_chunks_queue(RedSocket *sckt, ReadyTunneledChunkQueue *queue, + uint8_t *data, int size, + socket_alloc_buffer_proc_t alloc_buf) +{ + int copied = 0; + + while (copied < size) { + RawTunneledBuffer *buf = alloc_buf(sckt); + int copy_count = MIN(size - copied, buf->max_size); + memcpy(buf->data, data + copied, copy_count); + copied += copy_count; + buf->size = copy_count; + ready_queue_add_orig_chunk(queue, buf, buf->data, buf->size); + tunneled_buffer_unref(buf); + } +} + +// not using the alloc_buf cb of the queue, since we may want to create the migrated buffers +// with other properties (e.g., not releasing token) +static void __restore_process_queue(RedSocket *sckt, TunneledBufferProcessQueue *queue, + uint8_t *data, int size, + socket_alloc_buffer_proc_t alloc_buf) +{ + int copied = 0; + + while (copied < size) { + RawTunneledBuffer *buf = alloc_buf(sckt); + int copy_count = MIN(size - copied, buf->max_size); + memcpy(buf->data, data + copied, copy_count); + copied += copy_count; + buf->size = copy_count; + __process_queue_push(queue, buf); + } +} + +static void tunnel_channel_restore_migrated_service(TunnelChannelClient *channel, + TunnelMigrateService *mig_service, + uint8_t *data_buf) +{ + int service_size; + TunnelService *service; + struct in_addr virt_ip; + if (mig_service->type == SPICE_TUNNEL_SERVICE_TYPE_GENERIC) { + service_size = sizeof(TunnelService); + } else if (mig_service->type == SPICE_TUNNEL_SERVICE_TYPE_IPP) { + service_size = sizeof(TunnelPrintService); + } else { + SET_TUNNEL_ERROR(channel, "unexpected service type"); + return; + } + + memcpy(&virt_ip.s_addr, mig_service->virt_ip, 4); + service = __tunnel_worker_add_service(channel->worker, service_size, + mig_service->type, mig_service->id, + mig_service->group, mig_service->port, + (char *)(data_buf + mig_service->name), + (char *)(data_buf + mig_service->description), &virt_ip); + if (!service) { + SET_TUNNEL_ERROR(channel, "failed creating service"); + return; + } + + if (service->type == SPICE_TUNNEL_SERVICE_TYPE_IPP) { + TunnelMigratePrintService *mig_print_service = (TunnelMigratePrintService *)mig_service; + TunnelPrintService *print_service = (TunnelPrintService *)service; + + memcpy(print_service->ip, mig_print_service->ip, 4); + } +} + +static void tunnel_channel_restore_migrated_socket(TunnelChannelClient *channel, + TunnelMigrateSocket *mig_socket, + uint8_t *data_buf) +{ + RedSocket *sckt; + SlirpSocket *slirp_sckt; + RawTunneledBuffer *tokens_buf; + TunnelService *service; + sckt = channel->worker->sockets + mig_socket->connection_id; + sckt->connection_id = mig_socket->connection_id; + spice_assert(!sckt->allocated); + + /* Services must be restored before sockets */ + service = tunnel_worker_find_service_by_id(channel->worker, mig_socket->far_service_id); + if (!service) { + SET_TUNNEL_ERROR(channel, "service not found"); + return; + } + + tunnel_worker_alloc_socket(channel->worker, sckt, mig_socket->local_port, service, NULL); + + sckt->client_status = mig_socket->client_status; + sckt->slirp_status = mig_socket->slirp_status; + + sckt->mig_client_status_msg = mig_socket->mig_client_status_msg; + sckt->mig_open_ack_tokens = mig_socket->mig_open_ack_tokens; + + sckt->pushed_close = mig_socket->pushed_close; + sckt->client_waits_close_ack = mig_socket->client_waits_close_ack; + + if (sckt->slirp_status != SLIRP_SCKT_STATUS_CLOSED) { + slirp_sckt = net_slirp_tcp_socket_restore(data_buf + mig_socket->slirp_sckt, sckt); + if (!slirp_sckt) { + SET_TUNNEL_ERROR(channel, "failed restoring slirp socket"); + return; + } + sckt->slirp_sckt = slirp_sckt; + } + // out data + sckt->out_data.num_tokens = mig_socket->out_data.num_tokens; + sckt->out_data.window_size = mig_socket->out_data.window_size; + sckt->out_data.data_size = mig_socket->out_data.process_buf_size + + mig_socket->out_data.ready_buf_size; + + __restore_ready_chunks_queue(sckt, &sckt->out_data.ready_chunks_queue, + data_buf + mig_socket->out_data.ready_buf, + mig_socket->out_data.ready_buf_size, + tunnel_socket_alloc_snd_buf); + + sckt->out_data.process_queue->restore_proc(sckt->out_data.process_queue, + data_buf + mig_socket->out_data.process_queue); + + __restore_process_queue(sckt, sckt->out_data.process_queue, + data_buf + mig_socket->out_data.process_buf, + mig_socket->out_data.process_buf_size, + tunnel_socket_alloc_snd_buf); + + sckt->in_data.client_total_num_tokens = mig_socket->in_data.client_total_num_tokens; + sckt->in_data.num_tokens = mig_socket->in_data.num_tokens; + + __restore_ready_chunks_queue(sckt, &sckt->in_data.ready_chunks_queue, + data_buf + mig_socket->in_data.ready_buf, + mig_socket->in_data.ready_buf_size, + tunnel_socket_alloc_restored_rcv_buf); + + sckt->in_data.process_queue->restore_proc(sckt->in_data.process_queue, + data_buf + mig_socket->in_data.process_queue); + + __restore_process_queue(sckt, sckt->in_data.process_queue, + data_buf + mig_socket->in_data.process_buf, + mig_socket->in_data.process_buf_size, + tunnel_socket_alloc_restored_rcv_buf); + + tokens_buf = __tunnel_socket_alloc_restore_tokens_buf(sckt, + SOCKET_WINDOW_SIZE - + (sckt->in_data.client_total_num_tokens + + sckt->in_data.num_tokens)); + if (sckt->in_data.process_queue->head) { + __process_queue_push(sckt->in_data.process_queue, tokens_buf); + } else { + ready_queue_add_orig_chunk(&sckt->in_data.ready_chunks_queue, tokens_buf, + tokens_buf->data, tokens_buf->size); + tunneled_buffer_unref(tokens_buf); + } +} + +static void tunnel_channel_restore_socket_state(TunnelChannelClient *channel, RedSocket *sckt) +{ + int ret = TRUE; + spice_printerr(""); + // handling client status msgs that were received during migration + switch (sckt->mig_client_status_msg) { + case 0: + break; + case SPICE_MSGC_TUNNEL_SOCKET_OPEN_ACK: + ret = tunnel_channel_handle_socket_connect_ack(channel, sckt, + sckt->mig_open_ack_tokens); + break; + case SPICE_MSGC_TUNNEL_SOCKET_OPEN_NACK: + ret = tunnel_channel_handle_socket_connect_nack(channel, sckt); + break; + case SPICE_MSGC_TUNNEL_SOCKET_FIN: + if (sckt->client_status == CLIENT_SCKT_STATUS_WAIT_OPEN) { + ret = tunnel_channel_handle_socket_connect_ack(channel, sckt, + sckt->mig_open_ack_tokens); + } + if (ret) { + ret = tunnel_channel_handle_socket_fin(channel, sckt); + } + break; + case SPICE_MSGC_TUNNEL_SOCKET_CLOSED: + // can't just send nack since we need to send close ack to client + if (sckt->client_status == CLIENT_SCKT_STATUS_WAIT_OPEN) { + ret = tunnel_channel_handle_socket_connect_ack(channel, sckt, + sckt->mig_open_ack_tokens); + } + ret = ret & tunnel_channel_handle_socket_closed(channel, sckt); + + break; + case SPICE_MSGC_TUNNEL_SOCKET_CLOSED_ACK: + ret = tunnel_channel_handle_socket_closed_ack(channel, sckt); + break; + default: + SET_TUNNEL_ERROR(channel, "invalid message type %u", sckt->mig_client_status_msg); + return; + } + + if (!ret) { + SET_TUNNEL_ERROR(channel, "failed restoring socket state"); + return; + } + sckt->mig_client_status_msg = 0; + sckt->mig_open_ack_tokens = 0; + + // handling data transfer + if (__client_socket_can_receive(sckt) && sckt->out_data.ready_chunks_queue.head) { + if (!red_channel_client_pipe_item_is_linked( + &channel->base, &sckt->out_data.data_pipe_item)) { + sckt->out_data.data_pipe_item.type = PIPE_ITEM_TYPE_SOCKET_DATA; + red_channel_client_pipe_add(&channel->base, &sckt->out_data.data_pipe_item); + } + } + + if (((sckt->slirp_status == SLIRP_SCKT_STATUS_OPEN) || + (sckt->slirp_status == SLIRP_SCKT_STATUS_SHUTDOWN_SEND)) && + sckt->in_data.ready_chunks_queue.head) { + net_slirp_socket_can_receive_notify(sckt->slirp_sckt); + } + + if (CHECK_TUNNEL_ERROR(channel)) { + return; + } + + if ((sckt->slirp_status == SLIRP_SCKT_STATUS_OPEN) || + (sckt->slirp_status == SLIRP_SCKT_STATUS_SHUTDOWN_RECV)) { + net_slirp_socket_can_send_notify(sckt->slirp_sckt); + } + + if (CHECK_TUNNEL_ERROR(channel)) { + return; + } + // for cases where the client has no tokens left, but all the data is in the process queue. + __process_rcv_buf_tokens(channel, sckt); +} + +static inline void tunnel_channel_activate_migrated_sockets(TunnelChannelClient *channel) +{ + // if we are overgoing migration again, no need to restore the state, we will wait + // for the next host. + if (!channel->mig_inprogress) { + int num_activated = 0; + RedSocket *sckt = channel->worker->sockets; + + for (; num_activated < channel->worker->num_sockets; sckt++) { + if (sckt->allocated) { + tunnel_channel_restore_socket_state(channel, sckt); + + if (CHECK_TUNNEL_ERROR(channel)) { + return; + } + + num_activated++; + } + } + net_slirp_unfreeze(); + } +} + +static uint64_t tunnel_channel_handle_migrate_data_get_serial(RedChannelClient *base, + uint32_t size, void *msg) +{ + TunnelMigrateData *migrate_data = msg; + + if (size < sizeof(TunnelMigrateData) + || migrate_data->magic != TUNNEL_MIGRATE_DATA_MAGIC + || migrate_data->version != TUNNEL_MIGRATE_DATA_VERSION) { + return 0; + } + return migrate_data->message_serial; +} + +static int tunnel_channel_handle_migrate_data(RedChannelClient *base, + uint32_t size, void *msg) +{ + TunnelChannelClient *channel = SPICE_CONTAINEROF(base, TunnelChannelClient, base); + TunnelMigrateSocketList *sockets_list; + TunnelMigrateServicesList *services_list; + TunnelMigrateData *migrate_data = msg; + int i; + + if (size < sizeof(TunnelMigrateData)) { + spice_printerr("bad message size"); + goto error; + } + + if (migrate_data->magic != TUNNEL_MIGRATE_DATA_MAGIC || + migrate_data->version != TUNNEL_MIGRATE_DATA_VERSION) { + spice_printerr("invalid content"); + goto error; + } + + net_slirp_state_restore(migrate_data->data + migrate_data->slirp_state); + + services_list = (TunnelMigrateServicesList *)(migrate_data->data + + migrate_data->services_list); + for (i = 0; i < services_list->num_services; i++) { + tunnel_channel_restore_migrated_service(channel, + (TunnelMigrateService *)(migrate_data->data + + services_list->services[i]), + migrate_data->data); + if (CHECK_TUNNEL_ERROR(channel)) { + spice_printerr("failed restoring service"); + goto error; + } + } + + sockets_list = (TunnelMigrateSocketList *)(migrate_data->data + migrate_data->sockets_list); + + for (i = 0; i < sockets_list->num_sockets; i++) { + tunnel_channel_restore_migrated_socket(channel, + (TunnelMigrateSocket *)(migrate_data->data + + sockets_list->sockets[i]), + migrate_data->data); + if (CHECK_TUNNEL_ERROR(channel)) { + spice_printerr("failed restoring socket"); + goto error; + } + } + + // activate channel + channel->mig_inprogress = FALSE; + red_channel_init_outgoing_messages_window(channel->base.channel); + + tunnel_channel_activate_migrated_sockets(channel); + + if (CHECK_TUNNEL_ERROR(channel)) { + goto error; + } + free(migrate_data); + return TRUE; +error: + free(migrate_data); + return FALSE; +} + +// msg was allocated by tunnel_channel_alloc_msg_rcv_buf +static int tunnel_channel_handle_message(RedChannelClient *rcc, uint16_t type, + uint32_t size, uint8_t *msg) +{ + TunnelChannelClient *tunnel_channel = (TunnelChannelClient *)rcc->channel; + RedSocket *sckt = NULL; + // retrieve the sckt + switch (type) { + case SPICE_MSGC_MIGRATE_FLUSH_MARK: + case SPICE_MSGC_MIGRATE_DATA: + case SPICE_MSGC_TUNNEL_SERVICE_ADD: + case SPICE_MSGC_TUNNEL_SERVICE_REMOVE: + break; + case SPICE_MSGC_TUNNEL_SOCKET_OPEN_ACK: + case SPICE_MSGC_TUNNEL_SOCKET_OPEN_NACK: + case SPICE_MSGC_TUNNEL_SOCKET_DATA: + case SPICE_MSGC_TUNNEL_SOCKET_FIN: + case SPICE_MSGC_TUNNEL_SOCKET_CLOSED: + case SPICE_MSGC_TUNNEL_SOCKET_CLOSED_ACK: + case SPICE_MSGC_TUNNEL_SOCKET_TOKEN: + // the first field in these messages is connection id + sckt = tunnel_channel->worker->sockets + (*((uint16_t *)msg)); + if (!sckt->allocated) { + spice_printerr("red socket not found"); + return FALSE; + } + break; + default: + return red_channel_client_handle_message(rcc, size, type, msg); + } + + switch (type) { + case SPICE_MSGC_TUNNEL_SERVICE_ADD: + if (size < sizeof(SpiceMsgcTunnelAddGenericService)) { + spice_printerr("bad message size"); + free(msg); + return FALSE; + } + return tunnel_channel_handle_service_add(tunnel_channel, + (SpiceMsgcTunnelAddGenericService *)msg); + case SPICE_MSGC_TUNNEL_SERVICE_REMOVE: + spice_printerr("REDC_TUNNEL_REMOVE_SERVICE not supported yet"); + return FALSE; + case SPICE_MSGC_TUNNEL_SOCKET_OPEN_ACK: + if (size != sizeof(SpiceMsgcTunnelSocketOpenAck)) { + spice_printerr("bad message size"); + return FALSE; + } + + return tunnel_channel_handle_socket_connect_ack(tunnel_channel, sckt, + ((SpiceMsgcTunnelSocketOpenAck *)msg)->tokens); + + case SPICE_MSGC_TUNNEL_SOCKET_OPEN_NACK: + if (size != sizeof(SpiceMsgcTunnelSocketOpenNack)) { + spice_printerr("bad message size"); + return FALSE; + } + + return tunnel_channel_handle_socket_connect_nack(tunnel_channel, sckt); + case SPICE_MSGC_TUNNEL_SOCKET_DATA: + { + if (size < sizeof(SpiceMsgcTunnelSocketData)) { + spice_printerr("bad message size"); + return FALSE; + } + + return tunnel_channel_handle_socket_receive_data(tunnel_channel, sckt, + SPICE_CONTAINEROF(msg, RedSocketRawRcvBuf, buf), + size - sizeof(SpiceMsgcTunnelSocketData)); + } + case SPICE_MSGC_TUNNEL_SOCKET_FIN: + if (size != sizeof(SpiceMsgcTunnelSocketFin)) { + spice_printerr("bad message size"); + return FALSE; + } + return tunnel_channel_handle_socket_fin(tunnel_channel, sckt); + case SPICE_MSGC_TUNNEL_SOCKET_CLOSED: + if (size != sizeof(SpiceMsgcTunnelSocketClosed)) { + spice_printerr("bad message size"); + return FALSE; + } + return tunnel_channel_handle_socket_closed(tunnel_channel, sckt); + case SPICE_MSGC_TUNNEL_SOCKET_CLOSED_ACK: + if (size != sizeof(SpiceMsgcTunnelSocketClosedAck)) { + spice_printerr("bad message size"); + return FALSE; + } + return tunnel_channel_handle_socket_closed_ack(tunnel_channel, sckt); + case SPICE_MSGC_TUNNEL_SOCKET_TOKEN: + if (size != sizeof(SpiceMsgcTunnelSocketTokens)) { + spice_printerr("bad message size"); + return FALSE; + } + + return tunnel_channel_handle_socket_token(tunnel_channel, sckt, + (SpiceMsgcTunnelSocketTokens *)msg); + default: + return red_channel_client_handle_message(rcc, size, type, msg); + } + return TRUE; +} + +/********************************/ +/* outgoing msgs +********************************/ + +static int __tunnel_channel_marshall_process_bufs_migrate_data(TunnelChannelClient *channel, + SpiceMarshaller *m, TunneledBufferProcessQueue *queue) +{ + int buf_offset = queue->head_offset; + RawTunneledBuffer *buf = queue->head; + int size = 0; + + while (buf) { + spice_marshaller_add_ref(m, (uint8_t*)buf->data + buf_offset, buf->size - buf_offset); + size += buf->size - buf_offset; + buf_offset = 0; + buf = buf->next; + } + + return size; +} + +static int __tunnel_channel_marshall_ready_bufs_migrate_data(TunnelChannelClient *channel, + SpiceMarshaller *m, ReadyTunneledChunkQueue *queue) +{ + int offset = queue->offset; + ReadyTunneledChunk *chunk = queue->head; + int size = 0; + + while (chunk) { + spice_marshaller_add_ref(m, (uint8_t*)chunk->data + offset, chunk->size - offset); + size += chunk->size - offset; + offset = 0; + chunk = chunk->next; + } + return size; +} + +// returns the size to send +static int __tunnel_channel_marshall_service_migrate_data(TunnelChannelClient *channel, + SpiceMarshaller *m, + TunnelMigrateServiceItem *item, + int offset) +{ + TunnelService *service = item->service; + int cur_offset = offset; + TunnelMigrateService *generic_data; + + if (service->type == SPICE_TUNNEL_SERVICE_TYPE_GENERIC) { + generic_data = &item->u.generic_service; + spice_marshaller_add_ref(m, (uint8_t*)&item->u.generic_service, + sizeof(item->u.generic_service)); + cur_offset += sizeof(item->u.generic_service); + } else if (service->type == SPICE_TUNNEL_SERVICE_TYPE_IPP) { + generic_data = &item->u.print_service.base; + spice_marshaller_add_ref(m, (uint8_t*)&item->u.print_service, + sizeof(item->u.print_service)); + cur_offset += sizeof(item->u.print_service); + } else { + spice_error("unexpected service type"); + abort(); + } + + generic_data->name = cur_offset; + spice_marshaller_add_ref(m, (uint8_t*)service->name, strlen(service->name) + 1); + cur_offset += strlen(service->name) + 1; + + generic_data->description = cur_offset; + spice_marshaller_add_ref(m, (uint8_t*)service->description, strlen(service->description) + 1); + cur_offset += strlen(service->description) + 1; + + return (cur_offset - offset); +} + +// returns the size to send +static int __tunnel_channel_marshall_socket_migrate_data(TunnelChannelClient *channel, + SpiceMarshaller *m, TunnelMigrateSocketItem *item, int offset) +{ + RedSocket *sckt = item->socket; + TunnelMigrateSocket *mig_sckt = &item->mig_socket; + int cur_offset = offset; + spice_marshaller_add_ref(m, (uint8_t*)mig_sckt, sizeof(*mig_sckt)); + cur_offset += sizeof(*mig_sckt); + + if ((sckt->client_status != CLIENT_SCKT_STATUS_CLOSED) && + (sckt->mig_client_status_msg != SPICE_MSGC_TUNNEL_SOCKET_CLOSED) && + (sckt->mig_client_status_msg != SPICE_MSGC_TUNNEL_SOCKET_CLOSED_ACK)) { + mig_sckt->out_data.process_buf = cur_offset; + mig_sckt->out_data.process_buf_size = + __tunnel_channel_marshall_process_bufs_migrate_data(channel, m, + sckt->out_data.process_queue); + cur_offset += mig_sckt->out_data.process_buf_size; + if (mig_sckt->out_data.process_queue_size) { + mig_sckt->out_data.process_queue = cur_offset; + spice_marshaller_add_ref(m, (uint8_t*)item->out_process_queue, + mig_sckt->out_data.process_queue_size); + cur_offset += mig_sckt->out_data.process_queue_size; + } + mig_sckt->out_data.ready_buf = cur_offset; + mig_sckt->out_data.ready_buf_size = + __tunnel_channel_marshall_ready_bufs_migrate_data(channel, m, + &sckt->out_data.ready_chunks_queue); + cur_offset += mig_sckt->out_data.ready_buf_size; + } else { + mig_sckt->out_data.process_buf_size = 0; + mig_sckt->out_data.ready_buf_size = 0; + } + + // notice that we migrate the received buffers without the msg headers. + if ((sckt->slirp_status == SLIRP_SCKT_STATUS_OPEN) || + (sckt->slirp_status == SLIRP_SCKT_STATUS_SHUTDOWN_SEND)) { + mig_sckt->in_data.process_buf = cur_offset; + mig_sckt->in_data.process_buf_size = + __tunnel_channel_marshall_process_bufs_migrate_data(channel, m, + sckt->in_data.process_queue); + cur_offset += mig_sckt->in_data.process_buf_size; + if (mig_sckt->in_data.process_queue_size) { + mig_sckt->in_data.process_queue = cur_offset; + spice_marshaller_add_ref(m, (uint8_t*)item->in_process_queue, + mig_sckt->in_data.process_queue_size); + cur_offset += mig_sckt->in_data.process_queue_size; + } + mig_sckt->in_data.ready_buf = cur_offset; + mig_sckt->in_data.ready_buf_size = + __tunnel_channel_marshall_ready_bufs_migrate_data(channel, m, + &sckt->in_data.ready_chunks_queue); + cur_offset += mig_sckt->in_data.ready_buf_size; + } else { + mig_sckt->in_data.process_buf_size = 0; + mig_sckt->in_data.ready_buf_size = 0; + } + + if (item->slirp_socket_size) { // zero if socket is closed + spice_marshaller_add_ref(m, (uint8_t*)item->slirp_socket, item->slirp_socket_size); + mig_sckt->slirp_sckt = cur_offset; + cur_offset += item->slirp_socket_size; + } + return (cur_offset - offset); +} + +static void tunnel_channel_marshall_migrate_data(RedChannelClient *rcc, + SpiceMarshaller *m, PipeItem *item) +{ + TunnelChannelClient *tunnel_channel; + TunnelMigrateData *migrate_data; + TunnelMigrateItem *migrate_item = (TunnelMigrateItem *)item; + int i; + + uint32_t data_buf_offset = 0; // current location in data[0] field + spice_assert(rcc); + tunnel_channel = SPICE_CONTAINEROF(rcc->channel, TunnelChannelClient, base); + migrate_data = &tunnel_channel->send_data.u.migrate_data; + + migrate_data->magic = TUNNEL_MIGRATE_DATA_MAGIC; + migrate_data->version = TUNNEL_MIGRATE_DATA_VERSION; + migrate_data->message_serial = red_channel_client_get_message_serial(rcc); + red_channel_client_init_send_data(rcc, SPICE_MSG_MIGRATE_DATA, item); + spice_marshaller_add_ref(m, (uint8_t*)migrate_data, sizeof(*migrate_data)); + + migrate_data->slirp_state = data_buf_offset; + spice_marshaller_add_ref(m, (uint8_t*)migrate_item->slirp_state, migrate_item->slirp_state_size); + data_buf_offset += migrate_item->slirp_state_size; + + migrate_data->services_list = data_buf_offset; + spice_marshaller_add_ref(m, (uint8_t*)migrate_item->services_list, + migrate_item->services_list_size); + data_buf_offset += migrate_item->services_list_size; + + for (i = 0; i < migrate_item->services_list->num_services; i++) { + migrate_item->services_list->services[i] = data_buf_offset; + data_buf_offset += __tunnel_channel_marshall_service_migrate_data(tunnel_channel, m, + migrate_item->services + i, + data_buf_offset); + } + + + migrate_data->sockets_list = data_buf_offset; + spice_marshaller_add_ref(m, (uint8_t*)migrate_item->sockets_list, + migrate_item->sockets_list_size); + data_buf_offset += migrate_item->sockets_list_size; + + for (i = 0; i < migrate_item->sockets_list->num_sockets; i++) { + migrate_item->sockets_list->sockets[i] = data_buf_offset; + data_buf_offset += __tunnel_channel_marshall_socket_migrate_data(tunnel_channel, m, + migrate_item->sockets_data + i, + data_buf_offset); + } +} + +static void tunnel_channel_marshall_init(RedChannelClient *rcc, SpiceMarshaller *m, PipeItem *item) +{ + TunnelChannelClient *channel; + + spice_assert(rcc); + channel = SPICE_CONTAINEROF(rcc->channel, TunnelChannelClient, base); + channel->send_data.u.init.max_socket_data_size = MAX_SOCKET_DATA_SIZE; + channel->send_data.u.init.max_num_of_sockets = MAX_SOCKETS_NUM; + + red_channel_client_init_send_data(rcc, SPICE_MSG_TUNNEL_INIT, item); + spice_marshaller_add_ref(m, (uint8_t*)&channel->send_data.u.init, sizeof(SpiceMsgTunnelInit)); +} + +static void tunnel_channel_marshall_service_ip_map(RedChannelClient *rcc, SpiceMarshaller *m, PipeItem *item) +{ + TunnelChannelClient *tunnel_channel; + TunnelService *service = SPICE_CONTAINEROF(item, TunnelService, pipe_item); + + tunnel_channel = SPICE_CONTAINEROF(rcc->channel, TunnelChannelClient, base); + tunnel_channel->send_data.u.service_ip.service_id = service->id; + tunnel_channel->send_data.u.service_ip.virtual_ip.type = SPICE_TUNNEL_IP_TYPE_IPv4; + + red_channel_client_init_send_data(rcc, SPICE_MSG_TUNNEL_SERVICE_IP_MAP, item); + spice_marshaller_add_ref(m, (uint8_t*)&tunnel_channel->send_data.u.service_ip, + sizeof(SpiceMsgTunnelServiceIpMap)); + spice_marshaller_add_ref(m, (uint8_t*)&service->virt_ip.s_addr, sizeof(SpiceTunnelIPv4)); +} + +static void tunnel_channel_marshall_socket_open(RedChannelClient *rcc, SpiceMarshaller *m, PipeItem *item) +{ + TunnelChannelClient *tunnel_channel; + RedSocketOutData *sckt_out_data = SPICE_CONTAINEROF(item, RedSocketOutData, status_pipe_item); + RedSocket *sckt = SPICE_CONTAINEROF(sckt_out_data, RedSocket, out_data); + + tunnel_channel = SPICE_CONTAINEROF(rcc->channel, TunnelChannelClient, base); + tunnel_channel->send_data.u.socket_open.connection_id = sckt->connection_id; + tunnel_channel->send_data.u.socket_open.service_id = sckt->far_service->id; + tunnel_channel->send_data.u.socket_open.tokens = SOCKET_WINDOW_SIZE; + + sckt->in_data.client_total_num_tokens = SOCKET_WINDOW_SIZE; + sckt->in_data.num_tokens = 0; + red_channel_client_init_send_data(rcc, SPICE_MSG_TUNNEL_SOCKET_OPEN, item); + spice_marshaller_add_ref(m, (uint8_t*)&tunnel_channel->send_data.u.socket_open, + sizeof(tunnel_channel->send_data.u.socket_open)); +#ifdef DEBUG_NETWORK + PRINT_SCKT(sckt); +#endif +} + +static void tunnel_channel_marshall_socket_fin(RedChannelClient *rcc, SpiceMarshaller *m, PipeItem *item) +{ + TunnelChannelClient *tunnel_channel; + RedSocketOutData *sckt_out_data = SPICE_CONTAINEROF(item, RedSocketOutData, status_pipe_item); + RedSocket *sckt = SPICE_CONTAINEROF(sckt_out_data, RedSocket, out_data); + + spice_assert(!sckt->out_data.ready_chunks_queue.head); + + tunnel_channel = SPICE_CONTAINEROF(rcc->channel, TunnelChannelClient, base); + if (sckt->out_data.process_queue->head) { + spice_printerr("socket sent FIN but there are still buffers in outgoing process queue" + "(local_port=%d, service_id=%d)", + ntohs(sckt->local_port), sckt->far_service->id); + } + + tunnel_channel->send_data.u.socket_fin.connection_id = sckt->connection_id; + + red_channel_client_init_send_data(rcc, SPICE_MSG_TUNNEL_SOCKET_FIN, item); + spice_marshaller_add_ref(m, (uint8_t*)&tunnel_channel->send_data.u.socket_fin, + sizeof(tunnel_channel->send_data.u.socket_fin)); +#ifdef DEBUG_NETWORK + PRINT_SCKT(sckt); +#endif +} + +static void tunnel_channel_marshall_socket_close(RedChannelClient *rcc, SpiceMarshaller *m, PipeItem *item) +{ + TunnelChannelClient *tunnel_channel; + RedSocketOutData *sckt_out_data = SPICE_CONTAINEROF(item, RedSocketOutData, status_pipe_item); + RedSocket *sckt = SPICE_CONTAINEROF(sckt_out_data, RedSocket, out_data); + + tunnel_channel = SPICE_CONTAINEROF(rcc->channel, TunnelChannelClient, base); + // can happen when it is a forced close + if (sckt->out_data.ready_chunks_queue.head) { + spice_printerr("socket closed but there are still buffers in outgoing ready queue" + "(local_port=%d, service_id=%d)", + ntohs(sckt->local_port), + sckt->far_service->id); + } + + if (sckt->out_data.process_queue->head) { + spice_printerr("socket closed but there are still buffers in outgoing process queue" + "(local_port=%d, service_id=%d)", + ntohs(sckt->local_port), sckt->far_service->id); + } + + tunnel_channel->send_data.u.socket_close.connection_id = sckt->connection_id; + + red_channel_client_init_send_data(rcc, SPICE_MSG_TUNNEL_SOCKET_CLOSE, item); + spice_marshaller_add_ref(m, (uint8_t*)&tunnel_channel->send_data.u.socket_close, + sizeof(tunnel_channel->send_data.u.socket_close)); +#ifdef DEBUG_NETWORK + PRINT_SCKT(sckt); +#endif +} + +static void tunnel_channel_marshall_socket_closed_ack(RedChannelClient *rcc, SpiceMarshaller *m, PipeItem *item) +{ + TunnelChannelClient *tunnel_channel; + RedSocketOutData *sckt_out_data = SPICE_CONTAINEROF(item, RedSocketOutData, status_pipe_item); + RedSocket *sckt = SPICE_CONTAINEROF(sckt_out_data, RedSocket, out_data); + + tunnel_channel = SPICE_CONTAINEROF(rcc->channel, TunnelChannelClient, base); + tunnel_channel->send_data.u.socket_close_ack.connection_id = sckt->connection_id; + + // pipe item is null because we free the sckt. + red_channel_client_init_send_data(rcc, SPICE_MSG_TUNNEL_SOCKET_CLOSED_ACK, NULL); + spice_marshaller_add_ref(m, (uint8_t*)&tunnel_channel->send_data.u.socket_close_ack, + sizeof(tunnel_channel->send_data.u.socket_close_ack)); +#ifdef DEBUG_NETWORK + PRINT_SCKT(sckt); +#endif + + spice_assert(sckt->client_waits_close_ack && (sckt->client_status == CLIENT_SCKT_STATUS_CLOSED)); + tunnel_worker_free_socket(tunnel_channel->worker, sckt); + if (CHECK_TUNNEL_ERROR(tunnel_channel)) { + tunnel_shutdown(tunnel_channel->worker); + } +} + +static void tunnel_channel_marshall_socket_token(RedChannelClient *rcc, SpiceMarshaller *m, PipeItem *item) +{ + TunnelChannelClient *tunnel_channel; + RedSocketOutData *sckt_out_data = SPICE_CONTAINEROF(item, RedSocketOutData, token_pipe_item); + RedSocket *sckt = SPICE_CONTAINEROF(sckt_out_data, RedSocket, out_data); + + /* notice that the num of tokens sent can be > SOCKET_TOKENS_TO_SEND, since + the sending is performed after the pipe item was pushed */ + + tunnel_channel = SPICE_CONTAINEROF(rcc->channel, TunnelChannelClient, base); + tunnel_channel->send_data.u.socket_token.connection_id = sckt->connection_id; + + if (sckt->in_data.num_tokens > 0) { + tunnel_channel->send_data.u.socket_token.num_tokens = sckt->in_data.num_tokens; + } else { + spice_assert(!sckt->in_data.client_total_num_tokens && !sckt->in_data.ready_chunks_queue.head); + tunnel_channel->send_data.u.socket_token.num_tokens = SOCKET_TOKENS_TO_SEND_FOR_PROCESS; + } + sckt->in_data.num_tokens -= tunnel_channel->send_data.u.socket_token.num_tokens; + sckt->in_data.client_total_num_tokens += tunnel_channel->send_data.u.socket_token.num_tokens; + spice_assert(sckt->in_data.client_total_num_tokens <= SOCKET_WINDOW_SIZE); + + red_channel_client_init_send_data(rcc, SPICE_MSG_TUNNEL_SOCKET_TOKEN, item); + spice_marshaller_add_ref(m, (uint8_t*)&tunnel_channel->send_data.u.socket_token, + sizeof(tunnel_channel->send_data.u.socket_token)); +} + +static void tunnel_channel_marshall_socket_out_data(RedChannelClient *rcc, SpiceMarshaller *m, PipeItem *item) +{ + TunnelChannelClient *tunnel_channel; + tunnel_channel = SPICE_CONTAINEROF(rcc->channel, TunnelChannelClient, base); + RedSocketOutData *sckt_out_data = SPICE_CONTAINEROF(item, RedSocketOutData, data_pipe_item); + RedSocket *sckt = SPICE_CONTAINEROF(sckt_out_data, RedSocket, out_data); + ReadyTunneledChunk *chunk; + uint32_t total_push_size = 0; + uint32_t pushed_bufs_num = 0; + + spice_assert(!sckt->pushed_close); + if (sckt->client_status == CLIENT_SCKT_STATUS_CLOSED) { + return; + } + + if (!sckt->out_data.num_tokens) { + return; // only when an we will receive tokens, data will be sent again. + } + + spice_assert(sckt->out_data.ready_chunks_queue.head); + spice_assert(!sckt->out_data.push_tail); + spice_assert(sckt->out_data.ready_chunks_queue.head->size <= MAX_SOCKET_DATA_SIZE); + + tunnel_channel->send_data.u.socket_data.connection_id = sckt->connection_id; + + red_channel_client_init_send_data(rcc, SPICE_MSG_TUNNEL_SOCKET_DATA, item); + spice_marshaller_add_ref(m, (uint8_t*)&tunnel_channel->send_data.u.socket_data, + sizeof(tunnel_channel->send_data.u.socket_data)); + pushed_bufs_num++; + + // the first chunk is in a valid size + chunk = sckt->out_data.ready_chunks_queue.head; + total_push_size = chunk->size - sckt->out_data.ready_chunks_queue.offset; + spice_marshaller_add_ref(m, (uint8_t*)chunk->data + sckt->out_data.ready_chunks_queue.offset, + total_push_size); + pushed_bufs_num++; + sckt->out_data.push_tail = chunk; + sckt->out_data.push_tail_size = chunk->size; // all the chunk was sent + + chunk = chunk->next; + + while (chunk && (total_push_size < MAX_SOCKET_DATA_SIZE) && (pushed_bufs_num < MAX_SEND_BUFS)) { + uint32_t cur_push_size = MIN(chunk->size, MAX_SOCKET_DATA_SIZE - total_push_size); + spice_marshaller_add_ref(m, (uint8_t*)chunk->data, cur_push_size); + pushed_bufs_num++; + + sckt->out_data.push_tail = chunk; + sckt->out_data.push_tail_size = cur_push_size; + total_push_size += cur_push_size; + + chunk = chunk->next; + } + + sckt->out_data.num_tokens--; +} + +static void tunnel_worker_release_socket_out_data(TunnelWorker *worker, PipeItem *item) +{ + RedSocketOutData *sckt_out_data = SPICE_CONTAINEROF(item, RedSocketOutData, data_pipe_item); + RedSocket *sckt = SPICE_CONTAINEROF(sckt_out_data, RedSocket, out_data); + + spice_assert(sckt_out_data->ready_chunks_queue.head); + + while (sckt_out_data->ready_chunks_queue.head != sckt_out_data->push_tail) { + sckt_out_data->data_size -= sckt_out_data->ready_chunks_queue.head->size; + ready_queue_pop_chunk(&sckt_out_data->ready_chunks_queue); + } + + sckt_out_data->data_size -= sckt_out_data->push_tail_size; + + // compensation. was subtracted in the previous lines + sckt_out_data->data_size += sckt_out_data->ready_chunks_queue.offset; + + if (sckt_out_data->push_tail_size == sckt_out_data->push_tail->size) { + ready_queue_pop_chunk(&sckt_out_data->ready_chunks_queue); + sckt_out_data->ready_chunks_queue.offset = 0; + } else { + sckt_out_data->ready_chunks_queue.offset = sckt_out_data->push_tail_size; + } + + sckt_out_data->push_tail = NULL; + sckt_out_data->push_tail_size = 0; + + if (worker->channel_client) { + // can still send data to socket + if (__client_socket_can_receive(sckt)) { + if (sckt_out_data->ready_chunks_queue.head) { + // the pipe item may already be linked, if for example the send was + // blocked and before it finished and called release, tunnel_socket_send was called + if (!red_channel_client_pipe_item_is_linked( + &worker->channel_client->base, &sckt_out_data->data_pipe_item)) { + sckt_out_data->data_pipe_item.type = PIPE_ITEM_TYPE_SOCKET_DATA; + red_channel_client_pipe_add(&worker->channel_client->base, &sckt_out_data->data_pipe_item); + } + } else if ((sckt->slirp_status == SLIRP_SCKT_STATUS_SHUTDOWN_SEND) || + (sckt->slirp_status == SLIRP_SCKT_STATUS_WAIT_CLOSE)) { + __tunnel_socket_add_fin_to_pipe(worker->channel_client, sckt); + } else if (sckt->slirp_status == SLIRP_SCKT_STATUS_CLOSED) { + __tunnel_socket_add_close_to_pipe(worker->channel_client, sckt); + } + } + } + + + if (((sckt->slirp_status == SLIRP_SCKT_STATUS_OPEN) || + (sckt->slirp_status == SLIRP_SCKT_STATUS_SHUTDOWN_RECV)) && + !sckt->in_slirp_send && !worker->channel_client->mig_inprogress) { + // for cases that slirp couldn't write whole it data to our socket buffer + net_slirp_socket_can_send_notify(sckt->slirp_sckt); + } +} + +static void tunnel_channel_send_item(RedChannelClient *rcc, PipeItem *item) +{ + SpiceMarshaller *m = red_channel_client_get_marshaller(rcc); + + switch (item->type) { + case PIPE_ITEM_TYPE_TUNNEL_INIT: + tunnel_channel_marshall_init(rcc, m, item); + break; + case PIPE_ITEM_TYPE_SERVICE_IP_MAP: + tunnel_channel_marshall_service_ip_map(rcc, m, item); + break; + case PIPE_ITEM_TYPE_SOCKET_OPEN: + tunnel_channel_marshall_socket_open(rcc, m, item); + break; + case PIPE_ITEM_TYPE_SOCKET_DATA: + tunnel_channel_marshall_socket_out_data(rcc, m, item); + break; + case PIPE_ITEM_TYPE_SOCKET_FIN: + tunnel_channel_marshall_socket_fin(rcc, m, item); + break; + case PIPE_ITEM_TYPE_SOCKET_CLOSE: + tunnel_channel_marshall_socket_close(rcc, m, item); + break; + case PIPE_ITEM_TYPE_SOCKET_CLOSED_ACK: + tunnel_channel_marshall_socket_closed_ack(rcc, m, item); + break; + case PIPE_ITEM_TYPE_SOCKET_TOKEN: + tunnel_channel_marshall_socket_token(rcc, m, item); + break; + case PIPE_ITEM_TYPE_MIGRATE_DATA: + tunnel_channel_marshall_migrate_data(rcc, m, item); + break; + default: + spice_error("invalid pipe item type"); + } + red_channel_client_begin_send_message(rcc); +} + +/* param item_pushed: distinguishes between a pipe item that was pushed for sending, and + a pipe item that is still in the pipe and is released due to disconnection. + see red_pipe_item_clear */ +static void tunnel_channel_release_pipe_item(RedChannelClient *rcc, PipeItem *item, int item_pushed) +{ + if (!item) { // e.g. when acking closed socket + return; + } + switch (item->type) { + case PIPE_ITEM_TYPE_TUNNEL_INIT: + free(item); + break; + case PIPE_ITEM_TYPE_SERVICE_IP_MAP: + case PIPE_ITEM_TYPE_SOCKET_OPEN: + case PIPE_ITEM_TYPE_SOCKET_CLOSE: + case PIPE_ITEM_TYPE_SOCKET_FIN: + case PIPE_ITEM_TYPE_SOCKET_TOKEN: + break; + case PIPE_ITEM_TYPE_SOCKET_DATA: + if (item_pushed) { + tunnel_worker_release_socket_out_data( + SPICE_CONTAINEROF(rcc, TunnelChannelClient, base)->worker, item); + } + break; + case PIPE_ITEM_TYPE_MIGRATE: + free(item); + break; + case PIPE_ITEM_TYPE_MIGRATE_DATA: + release_migrate_item((TunnelMigrateItem *)item); + break; + default: + spice_error("invalid pipe item type"); + } +} + +/*********************************************************** +* interface for slirp +************************************************************/ + +static int qemu_can_output(SlirpUsrNetworkInterface *usr_interface) +{ + TunnelWorker *worker = ((RedSlirpNetworkInterface *)usr_interface)->worker; + return worker->sif->can_send_packet(worker->sin); +} + +static void qemu_output(SlirpUsrNetworkInterface *usr_interface, const uint8_t *pkt, int pkt_len) +{ + TunnelWorker *worker = ((RedSlirpNetworkInterface *)usr_interface)->worker; + worker->sif->send_packet(worker->sin, pkt, pkt_len); +} + +static int null_tunnel_socket_connect(SlirpUsrNetworkInterface *usr_interface, + struct in_addr src_addr, uint16_t src_port, + struct in_addr dst_addr, uint16_t dst_port, + SlirpSocket *slirp_s, UserSocket **o_usr_s) +{ + errno = ENETUNREACH; + return -1; +} + +static int tunnel_socket_connect(SlirpUsrNetworkInterface *usr_interface, + struct in_addr src_addr, uint16_t src_port, + struct in_addr dst_addr, uint16_t dst_port, + SlirpSocket *slirp_s, UserSocket **o_usr_s) +{ + TunnelWorker *worker; + RedSocket *sckt; + TunnelService *far_service; + + spice_assert(usr_interface); + +#ifdef DEBUG_NETWORK + spice_printerr("TUNNEL_DBG"); +#endif + worker = ((RedSlirpNetworkInterface *)usr_interface)->worker; + spice_assert(worker->channel_client); + spice_assert(!worker->channel_client->mig_inprogress); + + far_service = tunnel_worker_find_service_by_addr(worker, &dst_addr, (uint32_t)ntohs(dst_port)); + + if (!far_service) { + errno = EADDRNOTAVAIL; + return -1; + } + + if (tunnel_worker_find_socket(worker, src_port, far_service->id)) { + spice_printerr("slirp tried to open a socket that is still opened"); + errno = EADDRINUSE; + return -1; + } + + if (worker->num_sockets == MAX_SOCKETS_NUM) { + spice_printerr("number of tunneled sockets exceeds the limit"); + errno = ENFILE; + return -1; + } + + sckt = tunnel_worker_create_socket(worker, src_port, far_service, slirp_s); + +#ifdef DEBUG_NETWORK + PRINT_SCKT(sckt); +#endif + *o_usr_s = sckt; + sckt->out_data.status_pipe_item.type = PIPE_ITEM_TYPE_SOCKET_OPEN; + red_channel_client_pipe_add(&worker->channel_client->base, &sckt->out_data.status_pipe_item); + + errno = EINPROGRESS; + return -1; +} + +static int null_tunnel_socket_send(SlirpUsrNetworkInterface *usr_interface, UserSocket *opaque, + uint8_t *buf, size_t len, uint8_t urgent) +{ + errno = ECONNRESET; + return -1; +} + +static int tunnel_socket_send(SlirpUsrNetworkInterface *usr_interface, UserSocket *opaque, + uint8_t *buf, size_t len, uint8_t urgent) +{ + TunnelWorker *worker; + RedSocket *sckt; + size_t size_to_send; + + spice_assert(usr_interface); + spice_assert(opaque); + + worker = ((RedSlirpNetworkInterface *)usr_interface)->worker; + + spice_assert(!worker->channel_client->mig_inprogress); + + sckt = (RedSocket *)opaque; + + if (sckt->slirp_status == SLIRP_SCKT_STATUS_DELAY_ABORT) { + errno = EAGAIN; + return -1; + } + + if ((sckt->client_status != CLIENT_SCKT_STATUS_OPEN) && + (sckt->client_status != CLIENT_SCKT_STATUS_SHUTDOWN_SEND)) { + spice_printerr("client socket is unable to receive data"); + errno = ECONNRESET; + return -1; + } + + + if ((sckt->slirp_status == SLIRP_SCKT_STATUS_SHUTDOWN_SEND) || + (sckt->slirp_status == SLIRP_SCKT_STATUS_WAIT_CLOSE)) { + spice_printerr("send was shutdown"); + errno = EPIPE; + return -1; + } + + if (urgent) { + SET_TUNNEL_ERROR(worker->channel_client, "urgent msgs not supported"); + tunnel_shutdown(worker); + errno = ECONNRESET; + return -1; + } + + sckt->in_slirp_send = TRUE; + + if (sckt->out_data.data_size < (sckt->out_data.window_size) * MAX_SOCKET_DATA_SIZE) { + // the current data in the queues doesn't fill all the tokens + size_to_send = len; + } else { + if (sckt->out_data.ready_chunks_queue.head) { + // there are no tokens for future data, but once the data will be sent + // and buffers will be released, we will try to send again. + size_to_send = 0; + } else { + spice_assert(sckt->out_data.process_queue->head); + if ((sckt->out_data.data_size + len) > + (MAX_SOCKET_OUT_BUFFERS * MAX_SOCKET_DATA_SIZE)) { + spice_printerr("socket out buffers overflow, socket will be closed" + " (local_port=%d, service_id=%d)", + ntohs(sckt->local_port), sckt->far_service->id); + tunnel_socket_force_close(worker->channel_client, sckt); + size_to_send = 0; + } else { + size_to_send = len; + } + } + } + + if (size_to_send) { + process_queue_append(sckt->out_data.process_queue, buf, size_to_send); + sckt->out_data.data_size += size_to_send; + + if (sckt->out_data.ready_chunks_queue.head && + !red_channel_client_pipe_item_is_linked(&worker->channel_client->base, + &sckt->out_data.data_pipe_item)) { + sckt->out_data.data_pipe_item.type = PIPE_ITEM_TYPE_SOCKET_DATA; + red_channel_client_pipe_add(&worker->channel_client->base, &sckt->out_data.data_pipe_item); + } + } + + sckt->in_slirp_send = FALSE; + + if (!size_to_send) { + errno = EAGAIN; + return -1; + } else { + return size_to_send; + } +} + +static inline int __should_send_fin_to_guest(RedSocket *sckt) +{ + return (((sckt->client_status == CLIENT_SCKT_STATUS_SHUTDOWN_SEND) || + ((sckt->client_status == CLIENT_SCKT_STATUS_CLOSED) && + (sckt->slirp_status == SLIRP_SCKT_STATUS_SHUTDOWN_SEND))) && + !sckt->in_data.ready_chunks_queue.head); +} + +static int null_tunnel_socket_recv(SlirpUsrNetworkInterface *usr_interface, UserSocket *opaque, + uint8_t *buf, size_t len) +{ + errno = ECONNRESET; + return -1; +} + +static int tunnel_socket_recv(SlirpUsrNetworkInterface *usr_interface, UserSocket *opaque, + uint8_t *buf, size_t len) +{ + TunnelWorker *worker; + RedSocket *sckt; + int copied = 0; + + spice_assert(usr_interface); + spice_assert(opaque); + worker = ((RedSlirpNetworkInterface *)usr_interface)->worker; + + spice_assert(!worker->channel_client->mig_inprogress); + + sckt = (RedSocket *)opaque; + + if (sckt->slirp_status == SLIRP_SCKT_STATUS_DELAY_ABORT) { + errno = EAGAIN; + return -1; + } + + if ((sckt->slirp_status == SLIRP_SCKT_STATUS_SHUTDOWN_RECV) || + (sckt->slirp_status == SLIRP_SCKT_STATUS_WAIT_CLOSE)) { + SET_TUNNEL_ERROR(worker->channel_client, "receive was shutdown"); + tunnel_shutdown(worker); + errno = ECONNRESET; + return -1; + } + + if (sckt->slirp_status == SLIRP_SCKT_STATUS_CLOSED) { + SET_TUNNEL_ERROR(worker->channel_client, "slirp socket not connected"); + tunnel_shutdown(worker); + errno = ECONNRESET; + return -1; + } + + spice_assert((sckt->client_status == CLIENT_SCKT_STATUS_OPEN) || + (sckt->client_status == CLIENT_SCKT_STATUS_SHUTDOWN_SEND) || + ((sckt->client_status == CLIENT_SCKT_STATUS_CLOSED) && + (sckt->slirp_status == SLIRP_SCKT_STATUS_SHUTDOWN_SEND))); + + + // if there is data in ready queue, when it is acked, slirp will call recv and get 0 + if (__should_send_fin_to_guest(sckt)) { + if (sckt->in_data.process_queue->head) { + spice_printerr("client socket sent FIN but there are still buffers in incoming process" + "queue (local_port=%d, service_id=%d)", + ntohs(sckt->local_port), sckt->far_service->id); + } + return 0; // slirp will call shutdown recv now and it will also send FIN to the guest. + } + + while (sckt->in_data.ready_chunks_queue.head && (copied < len)) { + ReadyTunneledChunk *cur_chunk = sckt->in_data.ready_chunks_queue.head; + int copy_count = MIN(cur_chunk->size - sckt->in_data.ready_chunks_queue.offset, + len - copied); + + memcpy(buf + copied, cur_chunk->data + sckt->in_data.ready_chunks_queue.offset, copy_count); + copied += copy_count; + if ((sckt->in_data.ready_chunks_queue.offset + copy_count) == cur_chunk->size) { + ready_queue_pop_chunk(&sckt->in_data.ready_chunks_queue); + sckt->in_data.ready_chunks_queue.offset = 0; + } else { + spice_assert(copied == len); + sckt->in_data.ready_chunks_queue.offset += copy_count; + } + } + + if (!copied) { + errno = EAGAIN; + return -1; + } else { + return copied; + } +} + +static void null_tunnel_socket_shutdown_send(SlirpUsrNetworkInterface *usr_interface, + UserSocket *opaque) +{ +} + +// can be called : 1) when a FIN is requested from the guest 2) after shutdown rcv that was called +// after received failed because the client socket was sent FIN +static void tunnel_socket_shutdown_send(SlirpUsrNetworkInterface *usr_interface, UserSocket *opaque) +{ + TunnelWorker *worker; + RedSocket *sckt; + + spice_assert(usr_interface); + spice_assert(opaque); + worker = ((RedSlirpNetworkInterface *)usr_interface)->worker; + sckt = (RedSocket *)opaque; + +#ifdef DEBUG_NETWORK + PRINT_SCKT(sckt); +#endif + spice_assert(!worker->channel_client->mig_inprogress); + + if (sckt->slirp_status == SLIRP_SCKT_STATUS_DELAY_ABORT) { + return; + } + + if (sckt->slirp_status == SLIRP_SCKT_STATUS_OPEN) { + sckt->slirp_status = SLIRP_SCKT_STATUS_SHUTDOWN_SEND; + } else if (sckt->slirp_status == SLIRP_SCKT_STATUS_SHUTDOWN_RECV) { + spice_assert(sckt->client_status == CLIENT_SCKT_STATUS_SHUTDOWN_SEND); + sckt->slirp_status = SLIRP_SCKT_STATUS_WAIT_CLOSE; + } else { + SET_TUNNEL_ERROR(worker->channel_client, "unexpected tunnel_socket_shutdown_send slirp_status=%d", + sckt->slirp_status); + tunnel_shutdown(worker); + return; + } + + if ((sckt->client_status == CLIENT_SCKT_STATUS_OPEN) || + (sckt->client_status == CLIENT_SCKT_STATUS_SHUTDOWN_SEND)) { + // check if there is still data to send. the fin will be sent after data is released + // channel is alive, otherwise the sockets would have been aborted + if (!sckt->out_data.ready_chunks_queue.head) { + __tunnel_socket_add_fin_to_pipe(worker->channel_client, sckt); + } + } else { // if client is closed, it means the connection was aborted since we didn't + // received fin from guest + SET_TUNNEL_ERROR(worker->channel_client, + "unexpected tunnel_socket_shutdown_send client_status=%d", + sckt->client_status); + tunnel_shutdown(worker); + } +} + +static void null_tunnel_socket_shutdown_recv(SlirpUsrNetworkInterface *usr_interface, + UserSocket *opaque) +{ +} + +static void tunnel_socket_shutdown_recv(SlirpUsrNetworkInterface *usr_interface, UserSocket *opaque) +{ + TunnelWorker *worker; + RedSocket *sckt; + + spice_assert(usr_interface); + spice_assert(opaque); + worker = ((RedSlirpNetworkInterface *)usr_interface)->worker; + sckt = (RedSocket *)opaque; + +#ifdef DEBUG_NETWORK + PRINT_SCKT(sckt); +#endif + spice_assert(!worker->channel_client->mig_inprogress); + + /* failure in recv can happen after the client sckt was shutdown + (after client sent FIN, or after slirp sent FIN and client socket was closed */ + if (!__should_send_fin_to_guest(sckt)) { + SET_TUNNEL_ERROR(worker->channel_client, + "unexpected tunnel_socket_shutdown_recv client_status=%d slirp_status=%d", + sckt->client_status, sckt->slirp_status); + tunnel_shutdown(worker); + return; + } + + if (sckt->slirp_status == SLIRP_SCKT_STATUS_OPEN) { + sckt->slirp_status = SLIRP_SCKT_STATUS_SHUTDOWN_RECV; + } else if (sckt->slirp_status == SLIRP_SCKT_STATUS_SHUTDOWN_SEND) { + sckt->slirp_status = SLIRP_SCKT_STATUS_WAIT_CLOSE; + } else { + SET_TUNNEL_ERROR(worker->channel_client, + "unexpected tunnel_socket_shutdown_recv slirp_status=%d", + sckt->slirp_status); + tunnel_shutdown(worker); + } +} + +static void null_tunnel_socket_close(SlirpUsrNetworkInterface *usr_interface, UserSocket *opaque) +{ + TunnelWorker *worker; + RedSocket *sckt; + + spice_assert(usr_interface); + spice_assert(opaque); + + worker = ((RedSlirpNetworkInterface *)usr_interface)->worker; + + sckt = (RedSocket *)opaque; +#ifdef DEBUG_NETWORK + PRINT_SCKT(sckt); +#endif + sckt->slirp_status = SLIRP_SCKT_STATUS_CLOSED; + + if (sckt->client_status == CLIENT_SCKT_STATUS_CLOSED) { + tunnel_worker_free_socket(worker, sckt); + } // else, it will be closed when disconnect will be called (because this callback is + // set if the channel is disconnect or when we are in the middle of disconnection that + // was caused by an error +} + +// can be called during migration due to the channel disconnect. But it does not affect the +// migrate data +static void tunnel_socket_close(SlirpUsrNetworkInterface *usr_interface, UserSocket *opaque) +{ + TunnelWorker *worker; + RedSocket *sckt; + + spice_assert(usr_interface); + spice_assert(opaque); + + worker = ((RedSlirpNetworkInterface *)usr_interface)->worker; + + sckt = (RedSocket *)opaque; + +#ifdef DEBUG_NETWORK + PRINT_SCKT(sckt); +#endif + + sckt->slirp_status = SLIRP_SCKT_STATUS_CLOSED; + + // if sckt is not opened yet, close will be sent when we receive connect ack + if ((sckt->client_status == CLIENT_SCKT_STATUS_OPEN) || + (sckt->client_status == CLIENT_SCKT_STATUS_SHUTDOWN_SEND)) { + // check if there is still data to send. the close will be sent after data is released. + // close may already been pushed if it is a forced close + if (!sckt->out_data.ready_chunks_queue.head && !sckt->pushed_close) { + __tunnel_socket_add_close_to_pipe(worker->channel_client, sckt); + } + } else if (sckt->client_status == CLIENT_SCKT_STATUS_CLOSED) { + if (sckt->client_waits_close_ack) { + __tunnel_socket_add_close_ack_to_pipe(worker->channel_client, sckt); + } else { + tunnel_worker_free_socket(worker, sckt); + } + } +} + +static UserTimer *create_timer(SlirpUsrNetworkInterface *usr_interface, + timer_proc_t proc, void *opaque) +{ + TunnelWorker *worker; + + spice_assert(usr_interface); + + worker = ((RedSlirpNetworkInterface *)usr_interface)->worker; + + return (void *)worker->core_interface->timer_add(proc, opaque); +} + +static void arm_timer(SlirpUsrNetworkInterface *usr_interface, UserTimer *timer, uint32_t ms) +{ + TunnelWorker *worker; + + spice_assert(usr_interface); + + worker = ((RedSlirpNetworkInterface *)usr_interface)->worker; +#ifdef DEBUG_NETWORK + if (!worker->channel_client) { + spice_printerr("channel not connected"); + } +#endif + if (worker->channel_client && worker->channel_client->mig_inprogress) { + SET_TUNNEL_ERROR(worker->channel_client, "during migration"); + tunnel_shutdown(worker); + return; + } + + worker->core_interface->timer_start((SpiceTimer*)timer, ms); +} + +/*********************************************** +* channel interface and other related procedures +************************************************/ + +static int tunnel_channel_config_socket(RedChannelClient *rcc) +{ + int flags; + int delay_val; + RedsStream *stream = red_channel_client_get_stream(rcc); + + if ((flags = fcntl(stream->socket, F_GETFL)) == -1) { + spice_printerr("accept failed, %s", strerror(errno)); // can't we just use spice_error? + return FALSE; + } + + if (fcntl(stream->socket, F_SETFL, flags | O_NONBLOCK) == -1) { + spice_printerr("accept failed, %s", strerror(errno)); + return FALSE; + } + + delay_val = 1; + + if (setsockopt(stream->socket, IPPROTO_TCP, TCP_NODELAY, &delay_val, + sizeof(delay_val)) == -1) { + if (errno != ENOTSUP) { + spice_printerr("setsockopt failed, %s", strerror(errno)); + } + } + + return TRUE; +} + +static void tunnel_worker_disconnect_slirp(TunnelWorker *worker) +{ + int i; + + net_slirp_set_net_interface(&worker->null_interface.base); + for (i = 0; i < MAX_SOCKETS_NUM; i++) { + RedSocket *sckt = worker->sockets + i; + if (sckt->allocated) { + sckt->client_status = CLIENT_SCKT_STATUS_CLOSED; + sckt->client_waits_close_ack = FALSE; + if (sckt->slirp_status == SLIRP_SCKT_STATUS_CLOSED) { + tunnel_worker_free_socket(worker, sckt); + } else { + sckt->slirp_status = SLIRP_SCKT_STATUS_WAIT_CLOSE; + net_slirp_socket_abort(sckt->slirp_sckt); + } + } + } +} + +/* don't call disconnect from functions that might be called by slirp + since it closes all its sockets and slirp is not aware of it */ +static void tunnel_channel_on_disconnect(RedChannel *channel) +{ + TunnelWorker *worker; + if (!channel) { + return; + } + spice_printerr(""); + worker = (TunnelWorker *)channel->data; + + tunnel_worker_disconnect_slirp(worker); + + tunnel_worker_clear_routed_network(worker); + worker->channel_client = NULL; +} + +// TODO - not MC friendly, remove +static void tunnel_channel_client_on_disconnect(RedChannelClient *rcc) +{ + tunnel_channel_on_disconnect(rcc->channel); +} + +/* interface for reds */ + +static void on_new_tunnel_channel(TunnelChannelClient *tcc, int migration) +{ + red_channel_client_push_set_ack(&tcc->base); + + if (!migration) { + red_channel_init_outgoing_messages_window(tcc->base.channel); + red_channel_client_pipe_add_type(&tcc->base, PIPE_ITEM_TYPE_TUNNEL_INIT); + } +} + +static void tunnel_channel_hold_pipe_item(RedChannelClient *rcc, PipeItem *item) +{ +} + +static void handle_tunnel_channel_link(RedChannel *channel, RedClient *client, + RedsStream *stream, int migration, + int num_common_caps, + uint32_t *common_caps, int num_caps, + uint32_t *caps) +{ + TunnelChannelClient *tcc; + TunnelWorker *worker = (TunnelWorker *)channel->data; + + if (worker->channel_client) { + spice_error("tunnel does not support multiple clients"); + } + + tcc = (TunnelChannelClient*)red_channel_client_create(sizeof(TunnelChannelClient), + channel, client, stream, + 0, NULL, 0, NULL); + if (!tcc) { + return; + } + tcc->worker = worker; + tcc->worker->channel_client = tcc; + net_slirp_set_net_interface(&worker->tunnel_interface.base); + + on_new_tunnel_channel(tcc, migration); +} + +static void handle_tunnel_channel_client_migrate(RedChannelClient *rcc) +{ + TunnelChannelClient *tunnel_channel; + +#ifdef DEBUG_NETWORK + spice_printerr("TUNNEL_DBG: MIGRATE STARTED"); +#endif + tunnel_channel = (TunnelChannelClient *)rcc; + spice_assert(tunnel_channel == tunnel_channel->worker->channel_client); + tunnel_channel->mig_inprogress = TRUE; + net_slirp_freeze(); + red_channel_client_default_migrate(rcc); +} + +static void red_tunnel_channel_create(TunnelWorker *worker) +{ + RedChannel *channel; + ChannelCbs channel_cbs = { NULL, }; + ClientCbs client_cbs = { NULL, }; + + channel_cbs.config_socket = tunnel_channel_config_socket; + channel_cbs.on_disconnect = tunnel_channel_client_on_disconnect; + channel_cbs.alloc_recv_buf = tunnel_channel_alloc_msg_rcv_buf; + channel_cbs.release_recv_buf = tunnel_channel_release_msg_rcv_buf; + channel_cbs.hold_item = tunnel_channel_hold_pipe_item; + channel_cbs.send_item = tunnel_channel_send_item; + channel_cbs.release_item = tunnel_channel_release_pipe_item; + channel_cbs.handle_migrate_flush_mark = tunnel_channel_handle_migrate_mark; + channel_cbs.handle_migrate_data = tunnel_channel_handle_migrate_data; + channel_cbs.handle_migrate_data_get_serial = tunnel_channel_handle_migrate_data_get_serial; + + channel = red_channel_create(sizeof(RedChannel), + worker->core_interface, + SPICE_CHANNEL_TUNNEL, 0, + TRUE, + tunnel_channel_handle_message, + &channel_cbs, + SPICE_MIGRATE_NEED_FLUSH | SPICE_MIGRATE_NEED_DATA_TRANSFER); + if (!channel) { + return; + } + + client_cbs.connect = handle_tunnel_channel_link; + client_cbs.migrate = handle_tunnel_channel_client_migrate; + red_channel_register_client_cbs(channel, &client_cbs); + + worker->channel = channel; + red_channel_set_data(channel, worker); + reds_register_channel(worker->channel); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/red_tunnel_worker.h b/tizen/distrib/remote/server/spice-0.12.2/server/red_tunnel_worker.h new file mode 100644 index 0000000..3df4aea --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/red_tunnel_worker.h @@ -0,0 +1,27 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. + + + Author: + yhalperi@redhat.com +*/ + +#ifndef _H_RED_TUNNEL_WORKER +#define _H_RED_TUNNEL_WORKER + +void *red_tunnel_attach(SpiceCoreInterface *core_interface, SpiceNetWireInstance *sin); + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/red_worker.c b/tizen/distrib/remote/server/spice-0.12.2/server/red_worker.c new file mode 100644 index 0000000..e5e3d05 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/red_worker.c @@ -0,0 +1,12031 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#define SPICE_LOG_DOMAIN "SpiceWorker" + +/* Common variable abberiviations: + * + * rcc - RedChannelClient + * ccc - CursorChannelClient (not to be confused with common_cc) + * common_cc - CommonChannelClient + * dcc - DisplayChannelClient + * cursor_red_channel - downcast of CursorChannel to RedChannel + * display_red_channel - downcast of DisplayChannel to RedChannel + */ + +#include <stdio.h> +#include <stdarg.h> +#include <fcntl.h> +#include <sys/socket.h> +#include <netinet/in.h> +#include <stdlib.h> +#include <errno.h> +#include <string.h> +#include <unistd.h> +#include <poll.h> +#include <pthread.h> +#include <netinet/tcp.h> +#include <setjmp.h> +#include <openssl/ssl.h> +#include <inttypes.h> + +#include <spice/protocol.h> +#include <spice/qxl_dev.h> +#include "common/lz.h" +#include "common/marshaller.h" +#include "common/quic.h" +#include "common/rect.h" +#include "common/region.h" +#include "common/ring.h" +#include "common/generated_server_marshallers.h" + +#ifdef USE_OPENGL +#include "common/ogl_ctx.h" +#include "reds_gl_canvas.h" +#endif /* USE_OPENGL */ + +#include "spice.h" +#include "red_worker.h" +#include "reds_sw_canvas.h" +#include "glz_encoder_dictionary.h" +#include "glz_encoder.h" +#include "stat.h" +#include "reds.h" +#include "mjpeg_encoder.h" +#include "red_memslots.h" +#include "red_parse_qxl.h" +#include "jpeg_encoder.h" +#include "demarshallers.h" +#include "zlib_encoder.h" +#include "red_channel.h" +#include "red_dispatcher.h" +#include "dispatcher.h" +#include "main_channel.h" +#include "migration_protocol.h" + +//#define COMPRESS_STAT +//#define DUMP_BITMAP +//#define PIPE_DEBUG +//#define RED_WORKER_STAT +//#define DRAW_ALL +//#define COMPRESS_DEBUG +//#define ACYCLIC_SURFACE_DEBUG +//#define DEBUG_CURSORS + +//#define UPDATE_AREA_BY_TREE + +#define CMD_RING_POLL_TIMEOUT 10 //milli +#define CMD_RING_POLL_RETRIES 200 + +#define DETACH_TIMEOUT 15000000000ULL //nano +#define DETACH_SLEEP_DURATION 10000 //micro + +#define CHANNEL_PUSH_TIMEOUT 30000000000ULL //nano +#define CHANNEL_PUSH_SLEEP_DURATION 10000 //micro + +#define DISPLAY_CLIENT_TIMEOUT 15000000000ULL //nano +#define DISPLAY_CLIENT_MIGRATE_DATA_TIMEOUT 10000000000ULL //nano, 10 sec +#define DISPLAY_CLIENT_RETRY_INTERVAL 10000 //micro + +#define DISPLAY_FREE_LIST_DEFAULT_SIZE 128 + +#define RED_STREAM_DETACTION_MAX_DELTA ((1000 * 1000 * 1000) / 5) // 1/5 sec +#define RED_STREAM_CONTINUS_MAX_DELTA ((1000 * 1000 * 1000) / 2) // 1/2 sec +#define RED_STREAM_TIMOUT (1000 * 1000 * 1000) +#define RED_STREAM_FRAMES_START_CONDITION 20 +#define RED_STREAM_GRADUAL_FRAMES_START_CONDITION 0.2 +#define RED_STREAM_FRAMES_RESET_CONDITION 100 +#define RED_STREAM_MIN_SIZE (96 * 96) + +#define FPS_TEST_INTERVAL 1 +#define MAX_FPS 30 + +//best bit rate per pixel base on 13000000 bps for frame size 720x576 pixels and 25 fps +#define BEST_BIT_RATE_PER_PIXEL 38 +#define WORST_BIT_RATE_PER_PIXEL 4 + +#define RED_COMPRESS_BUF_SIZE (1024 * 64) + +#define ZLIB_DEFAULT_COMPRESSION_LEVEL 3 +#define MIN_GLZ_SIZE_FOR_ZLIB 100 + +typedef int64_t red_time_t; + +#define VALIDATE_SURFACE_RET(worker, surface_id) \ + if (!validate_surface(worker, surface_id)) { \ + rendering_incorrect(__func__); \ + return; \ + } + +#define VALIDATE_SURFACE_RETVAL(worker, surface_id, ret) \ + if (!validate_surface(worker, surface_id)) { \ + rendering_incorrect(__func__); \ + return ret; \ + } + +#define VALIDATE_SURFACE_BREAK(worker, surface_id) \ + if (!validate_surface(worker, surface_id)) { \ + rendering_incorrect(__func__); \ + break; \ + } + +static void rendering_incorrect(const char *msg) +{ + spice_warning("rendering incorrect from now on: %s", msg); +} + +static inline red_time_t timespec_to_red_time(struct timespec *time) +{ + return time->tv_sec * (1000 * 1000 * 1000) + time->tv_nsec; +} + +#if defined(RED_WORKER_STAT) || defined(COMPRESS_STAT) +static clockid_t clock_id; + +typedef unsigned long stat_time_t; + +static stat_time_t stat_now(void) +{ + struct timespec ts; + + clock_gettime(clock_id, &ts); + return ts.tv_nsec + ts.tv_sec * 1000 * 1000 * 1000; +} + +double stat_cpu_time_to_sec(stat_time_t time) +{ + return (double)time / (1000 * 1000 * 1000); +} + +typedef struct stat_info_s { + const char *name; + uint32_t count; + stat_time_t max; + stat_time_t min; + stat_time_t total; +#ifdef COMPRESS_STAT + uint64_t orig_size; + uint64_t comp_size; +#endif +} stat_info_t; + +static inline void stat_reset(stat_info_t *info) +{ + info->count = info->max = info->total = 0; + info->min = ~(stat_time_t)0; +#ifdef COMPRESS_STAT + info->orig_size = info->comp_size = 0; +#endif +} + +#endif + +#ifdef RED_WORKER_STAT +static const char *add_stat_name = "add"; +static const char *exclude_stat_name = "exclude"; +static const char *__exclude_stat_name = "__exclude"; + +static inline void stat_init(stat_info_t *info, const char *name) +{ + info->name = name; + stat_reset(info); +} + +static inline void stat_add(stat_info_t *info, stat_time_t start) +{ + stat_time_t time; + ++info->count; + time = stat_now() - start; + info->total += time; + info->max = MAX(info->max, time); + info->min = MIN(info->min, time); +} + +#else +#define stat_add(a, b) +#define stat_init(a, b) +#endif + +#ifdef COMPRESS_STAT +static const char *lz_stat_name = "lz"; +static const char *glz_stat_name = "glz"; +static const char *quic_stat_name = "quic"; +static const char *jpeg_stat_name = "jpeg"; +static const char *zlib_stat_name = "zlib_glz"; +static const char *jpeg_alpha_stat_name = "jpeg_alpha"; + +static inline void stat_compress_init(stat_info_t *info, const char *name) +{ + info->name = name; + stat_reset(info); +} + +static inline void stat_compress_add(stat_info_t *info, stat_time_t start, int orig_size, + int comp_size) +{ + stat_time_t time; + ++info->count; + time = stat_now() - start; + info->total += time; + info->max = MAX(info->max, time); + info->min = MIN(info->min, time); + info->orig_size += orig_size; + info->comp_size += comp_size; +} + +double inline stat_byte_to_mega(uint64_t size) +{ + return (double)size / (1000 * 1000); +} + +#else +#define stat_compress_init(a, b) +#define stat_compress_add(a, b, c, d) +#endif + +#define MAX_EVENT_SOURCES 20 +#define INF_EVENT_WAIT ~0 + +struct SpiceWatch { + struct RedWorker *worker; + SpiceWatchFunc watch_func; + void *watch_func_opaque; +}; + +enum { + BUF_TYPE_RAW = 1, +}; + +enum { + PIPE_ITEM_TYPE_DRAW = PIPE_ITEM_TYPE_CHANNEL_BASE, + PIPE_ITEM_TYPE_INVAL_ONE, + PIPE_ITEM_TYPE_CURSOR, + PIPE_ITEM_TYPE_CURSOR_INIT, + PIPE_ITEM_TYPE_IMAGE, + PIPE_ITEM_TYPE_STREAM_CREATE, + PIPE_ITEM_TYPE_STREAM_CLIP, + PIPE_ITEM_TYPE_STREAM_DESTROY, + PIPE_ITEM_TYPE_UPGRADE, + PIPE_ITEM_TYPE_VERB, + PIPE_ITEM_TYPE_MIGRATE_DATA, + PIPE_ITEM_TYPE_PIXMAP_SYNC, + PIPE_ITEM_TYPE_PIXMAP_RESET, + PIPE_ITEM_TYPE_INVAL_CURSOR_CACHE, + PIPE_ITEM_TYPE_INVAL_PALLET_CACHE, + PIPE_ITEM_TYPE_CREATE_SURFACE, + PIPE_ITEM_TYPE_DESTROY_SURFACE, + PIPE_ITEM_TYPE_MONITORS_CONFIG, +}; + +typedef struct VerbItem { + PipeItem base; + uint16_t verb; +} VerbItem; + +#define MAX_CACHE_CLIENTS 4 +#define MAX_LZ_ENCODERS MAX_CACHE_CLIENTS + +typedef struct NewCacheItem NewCacheItem; + +struct NewCacheItem { + RingItem lru_link; + NewCacheItem *next; + uint64_t id; + uint64_t sync[MAX_CACHE_CLIENTS]; + size_t size; + int lossy; +}; + +typedef struct CacheItem CacheItem; + +struct CacheItem { + union { + PipeItem pipe_data; + struct { + RingItem lru_link; + CacheItem *next; + } cache_data; + } u; + uint64_t id; + size_t size; + uint32_t inval_type; +}; + +typedef struct SurfaceCreateItem { + SpiceMsgSurfaceCreate surface_create; + PipeItem pipe_item; +} SurfaceCreateItem; + +typedef struct SurfaceDestroyItem { + SpiceMsgSurfaceDestroy surface_destroy; + PipeItem pipe_item; +} SurfaceDestroyItem; + +typedef struct MonitorsConfig { + int refs; + struct RedWorker *worker; + int count; + int max_allowed; + QXLHead heads[0]; +} MonitorsConfig; + +typedef struct MonitorsConfigItem { + PipeItem pipe_item; + MonitorsConfig *monitors_config; +} MonitorsConfigItem; + +typedef struct CursorItem { + uint32_t group_id; + int refs; + RedCursorCmd *red_cursor; +} CursorItem; + +typedef struct CursorPipeItem { + PipeItem base; + CursorItem *cursor_item; + int refs; +} CursorPipeItem; + +typedef struct LocalCursor { + CursorItem base; + SpicePoint16 position; + uint32_t data_size; + SpiceCursor red_cursor; +} LocalCursor; + +#define MAX_PIPE_SIZE 50 +#define RECIVE_BUF_SIZE 1024 + +#define WIDE_CLIENT_ACK_WINDOW 40 +#define NARROW_CLIENT_ACK_WINDOW 20 + +#define BITS_CACHE_HASH_SHIFT 10 +#define BITS_CACHE_HASH_SIZE (1 << BITS_CACHE_HASH_SHIFT) +#define BITS_CACHE_HASH_MASK (BITS_CACHE_HASH_SIZE - 1) +#define BITS_CACHE_HASH_KEY(id) ((id) & BITS_CACHE_HASH_MASK) + +#define CLIENT_CURSOR_CACHE_SIZE 256 + +#define CURSOR_CACHE_HASH_SHIFT 8 +#define CURSOR_CACHE_HASH_SIZE (1 << CURSOR_CACHE_HASH_SHIFT) +#define CURSOR_CACHE_HASH_MASK (CURSOR_CACHE_HASH_SIZE - 1) +#define CURSOR_CACHE_HASH_KEY(id) ((id) & CURSOR_CACHE_HASH_MASK) + +#define CLIENT_PALETTE_CACHE_SIZE 128 + +#define PALETTE_CACHE_HASH_SHIFT 8 +#define PALETTE_CACHE_HASH_SIZE (1 << PALETTE_CACHE_HASH_SHIFT) +#define PALETTE_CACHE_HASH_MASK (PALETTE_CACHE_HASH_SIZE - 1) +#define PALETTE_CACHE_HASH_KEY(id) ((id) & PALETTE_CACHE_HASH_MASK) + +typedef struct ImageItem { + PipeItem link; + int refs; + SpicePoint pos; + int width; + int height; + int stride; + int top_down; + int surface_id; + int image_format; + uint32_t image_flags; + int can_lossy; + uint8_t data[0]; +} ImageItem; + +typedef struct Drawable Drawable; + +enum { + STREAM_FRAME_NONE, + STREAM_FRAME_NATIVE, + STREAM_FRAME_CONTAINER, +}; + +typedef struct Stream Stream; +struct Stream { + uint8_t refs; + Drawable *current; + red_time_t last_time; + int width; + int height; + SpiceRect dest_area; + MJpegEncoder *mjpeg_encoder; + int top_down; + Stream *next; + RingItem link; + int bit_rate; +}; + +typedef struct StreamAgent { + QRegion vis_region; /* the part of the surface area that is currently occupied by video + fragments */ + QRegion clip; /* the current video clipping. It can be different from vis_region: + for example, let c1 be the clip area at time t1, and c2 + be the clip area at time t2, where t1 < t2. If c1 contains c2, and + at least part of c1/c2, hasn't been covered by a non-video images, + vis_region will contain c2 and also the part of c1/c2 that still + displays fragments of the video */ + + PipeItem create_item; + PipeItem destroy_item; + Stream *stream; + uint64_t last_send_time; + + int frames; + int drops; + int fps; +} StreamAgent; + +typedef struct StreamClipItem { + PipeItem base; + int refs; + StreamAgent *stream_agent; + int clip_type; + SpiceClipRects *rects; +} StreamClipItem; + +typedef struct RedCompressBuf RedCompressBuf; +struct RedCompressBuf { + uint32_t buf[RED_COMPRESS_BUF_SIZE / 4]; + RedCompressBuf *next; + RedCompressBuf *send_next; +}; + +static const int BITMAP_FMT_IS_PLT[] = {0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0}; +static const int BITMAP_FMP_BYTES_PER_PIXEL[] = {0, 0, 0, 0, 0, 1, 2, 3, 4, 4, 1}; + +#define BITMAP_FMT_HAS_GRADUALITY(f) \ + (bitmap_fmt_is_rgb(f) && \ + ((f) != SPICE_BITMAP_FMT_8BIT_A)) + +pthread_mutex_t cache_lock = PTHREAD_MUTEX_INITIALIZER; +Ring pixmap_cache_list = {&pixmap_cache_list, &pixmap_cache_list}; + +typedef struct PixmapCache PixmapCache; +struct PixmapCache { + RingItem base; + pthread_mutex_t lock; + uint8_t id; + uint32_t refs; + NewCacheItem *hash_table[BITS_CACHE_HASH_SIZE]; + Ring lru; + int64_t available; + int64_t size; + int32_t items; + + int freezed; + RingItem *freezed_head; + RingItem *freezed_tail; + + uint32_t generation; + struct { + uint8_t client; + uint64_t message; + } generation_initiator; + uint64_t sync[MAX_CACHE_CLIENTS]; // here CLIENTS refer to different channel + // clients of the same client + RedClient *client; +}; + +#define NUM_STREAMS 50 + +typedef struct WaitForChannels { + SpiceMsgWaitForChannels header; + SpiceWaitForChannel buf[MAX_CACHE_CLIENTS]; +} WaitForChannels; + +typedef struct FreeList { + int res_size; + SpiceResourceList *res; + uint64_t sync[MAX_CACHE_CLIENTS]; + WaitForChannels wait; +} FreeList; + +typedef struct DisplayChannel DisplayChannel; +typedef struct DisplayChannelClient DisplayChannelClient; + +typedef struct { + DisplayChannelClient *dcc; + RedCompressBuf *bufs_head; + RedCompressBuf *bufs_tail; + jmp_buf jmp_env; + union { + struct { + SpiceChunks *chunks; + int next; + int stride; + int reverse; + } lines_data; + struct { + RedCompressBuf* next; + int size_left; + } compressed_data; // for encoding data that was already compressed by another method + } u; + char message_buf[512]; +} EncoderData; + +typedef struct { + QuicUsrContext usr; + EncoderData data; +} QuicData; + +typedef struct { + LzUsrContext usr; + EncoderData data; +} LzData; + +typedef struct { + GlzEncoderUsrContext usr; + EncoderData data; +} GlzData; + +typedef struct { + JpegEncoderUsrContext usr; + EncoderData data; +} JpegData; + +typedef struct { + ZlibEncoderUsrContext usr; + EncoderData data; +} ZlibData; + +/**********************************/ +/* LZ dictionary related entities */ +/**********************************/ +#define MAX_GLZ_DRAWABLE_INSTANCES 2 + +typedef struct RedGlzDrawable RedGlzDrawable; + +/* for each qxl drawable, there may be several instances of lz drawables */ +/* TODO - reuse this stuff for the top level. I just added a second level of multiplicity + * at the Drawable by keeping a ring, so: + * Drawable -> (ring of) RedGlzDrawable -> (up to 2) GlzDrawableInstanceItem + * and it should probably (but need to be sure...) be + * Drawable -> ring of GlzDrawableInstanceItem. + */ +typedef struct GlzDrawableInstanceItem { + RingItem glz_link; + RingItem free_link; + GlzEncDictImageContext *glz_instance; + RedGlzDrawable *red_glz_drawable; +} GlzDrawableInstanceItem; + +struct RedGlzDrawable { + RingItem link; // ordered by the time it was encoded + RingItem drawable_link; + RedDrawable *red_drawable; + Drawable *drawable; + uint32_t group_id; + GlzDrawableInstanceItem instances_pool[MAX_GLZ_DRAWABLE_INSTANCES]; + Ring instances; + uint8_t instances_count; + DisplayChannelClient *dcc; +}; + +pthread_mutex_t glz_dictionary_list_lock = PTHREAD_MUTEX_INITIALIZER; +Ring glz_dictionary_list = {&glz_dictionary_list, &glz_dictionary_list}; + +typedef struct GlzSharedDictionary { + RingItem base; + GlzEncDictContext *dict; + uint32_t refs; + uint8_t id; + pthread_rwlock_t encode_lock; + int migrate_freeze; + RedClient *client; // channel clients of the same client share the dict +} GlzSharedDictionary; + +#define NUM_SURFACES 10000 + +typedef struct CommonChannel { + RedChannel base; // Must be the first thing + struct RedWorker *worker; + uint8_t recv_buf[RECIVE_BUF_SIZE]; + uint32_t id_alloc; // bitfield. TODO - use this instead of shift scheme. + int during_target_migrate; /* TRUE when the client that is associated with the channel + is during migration. Turned off when the vm is started. + The flag is used to avoid sending messages that are artifacts + of the transition from stopped vm to loaded vm (e.g., recreation + of the primary surface) */ +} CommonChannel; + +typedef struct CommonChannelClient { + RedChannelClient base; + uint32_t id; + struct RedWorker *worker; +} CommonChannelClient; + +/* Each drawable can refer to at most 3 images: src, brush and mask */ +#define MAX_DRAWABLE_PIXMAP_CACHE_ITEMS 3 + +struct DisplayChannelClient { + CommonChannelClient common; + + int expect_init; + + PixmapCache *pixmap_cache; + uint32_t pixmap_cache_generation; + int pending_pixmaps_sync; + + CacheItem *palette_cache[PALETTE_CACHE_HASH_SIZE]; + Ring palette_cache_lru; + long palette_cache_available; + uint32_t palette_cache_items; + + struct { + uint32_t stream_outbuf_size; + uint8_t *stream_outbuf; // caution stream buffer is also used as compress bufs!!! + + RedCompressBuf *used_compress_bufs; + + FreeList free_list; + uint64_t pixmap_cache_items[MAX_DRAWABLE_PIXMAP_CACHE_ITEMS]; + int num_pixmap_cache_items; + } send_data; + + /* global lz encoding entities */ + GlzSharedDictionary *glz_dict; + GlzEncoderContext *glz; + GlzData glz_data; + + Ring glz_drawables; // all the living lz drawable, ordered by encoding time + Ring glz_drawables_inst_to_free; // list of instances to be freed + pthread_mutex_t glz_drawables_inst_to_free_lock; + + uint8_t surface_client_created[NUM_SURFACES]; + QRegion surface_client_lossy_region[NUM_SURFACES]; + + StreamAgent stream_agents[NUM_STREAMS]; +}; + +struct DisplayChannel { + CommonChannel common; // Must be the first thing + + int enable_jpeg; + int jpeg_quality; + int enable_zlib_glz_wrap; + int zlib_level; + + RedCompressBuf *free_compress_bufs; + +#ifdef RED_STATISTICS + StatNodeRef stat; + uint64_t *cache_hits_counter; + uint64_t *add_to_cache_counter; + uint64_t *non_cache_counter; +#endif +#ifdef COMPRESS_STAT + stat_info_t lz_stat; + stat_info_t glz_stat; + stat_info_t quic_stat; + stat_info_t jpeg_stat; + stat_info_t zlib_glz_stat; + stat_info_t jpeg_alpha_stat; +#endif +}; + +typedef struct CursorChannelClient { + CommonChannelClient common; + + CacheItem *cursor_cache[CURSOR_CACHE_HASH_SIZE]; + Ring cursor_cache_lru; + long cursor_cache_available; + uint32_t cursor_cache_items; +} CursorChannelClient; + +typedef struct CursorChannel { + CommonChannel common; // Must be the first thing + +#ifdef RED_STATISTICS + StatNodeRef stat; +#endif +} CursorChannel; + +typedef struct ImageCacheItem { + RingItem lru_link; + uint64_t id; +#ifdef IMAGE_CACHE_AGE + uint32_t age; +#endif + struct ImageCacheItem *next; + pixman_image_t *image; +} ImageCacheItem; + +#define IMAGE_CACHE_HASH_SIZE 1024 + +typedef struct ImageCache { + SpiceImageCache base; + ImageCacheItem *hash_table[IMAGE_CACHE_HASH_SIZE]; + Ring lru; +#ifdef IMAGE_CACHE_AGE + uint32_t age; +#else + uint32_t num_items; +#endif +} ImageCache; + +enum { + TREE_ITEM_TYPE_DRAWABLE, + TREE_ITEM_TYPE_CONTAINER, + TREE_ITEM_TYPE_SHADOW, +}; + +typedef struct TreeItem { + RingItem siblings_link; + uint32_t type; + struct Container *container; + QRegion rgn; +#ifdef PIPE_DEBUG + uint32_t id; +#endif +} TreeItem; + +#define IS_DRAW_ITEM(item) ((item)->type == TREE_ITEM_TYPE_DRAWABLE) + +typedef struct Shadow { + TreeItem base; + QRegion on_hold; + struct DrawItem* owner; +} Shadow; + +typedef struct Container { + TreeItem base; + Ring items; +} Container; + +typedef struct DrawItem { + TreeItem base; + uint8_t effect; + uint8_t container_root; + Shadow *shadow; +} DrawItem; + +typedef enum { + BITMAP_GRADUAL_INVALID, + BITMAP_GRADUAL_NOT_AVAIL, + BITMAP_GRADUAL_LOW, + BITMAP_GRADUAL_MEDIUM, + BITMAP_GRADUAL_HIGH, +} BitmapGradualType; + +typedef struct DependItem { + Drawable *drawable; + RingItem ring_item; +} DependItem; + +typedef struct DrawablePipeItem { + RingItem base; /* link for a list of pipe items held by Drawable */ + PipeItem dpi_pipe_item; /* link for the client's pipe itself */ + Drawable *drawable; + DisplayChannelClient *dcc; + uint8_t refs; +} DrawablePipeItem; + +struct Drawable { + uint8_t refs; + RingItem surface_list_link; + RingItem list_link; + DrawItem tree_item; + Ring pipes; + PipeItem *pipe_item_rest; + uint32_t size_pipe_item_rest; +#ifdef UPDATE_AREA_BY_TREE + RingItem collect_link; +#endif + RedDrawable *red_drawable; + + Ring glz_ring; + + red_time_t creation_time; + int frames_count; + int gradual_frames_count; + int last_gradual_frame; + Stream *stream; + Stream *sized_stream; + int streamable; + BitmapGradualType copy_bitmap_graduality; + uint32_t group_id; + DependItem depend_items[3]; + + uint8_t *backed_surface_data; + DependItem pipe_depend_items[3]; + + int surface_id; + int surfaces_dest[3]; +}; + +typedef struct _Drawable _Drawable; +struct _Drawable { + union { + Drawable drawable; + _Drawable *next; + } u; +}; + +typedef struct _CursorItem _CursorItem; +struct _CursorItem { + union { + CursorItem cursor_item; + _CursorItem *next; + } u; +}; + +typedef struct UpgradeItem { + PipeItem base; + int refs; + Drawable *drawable; + SpiceClipRects *rects; +} UpgradeItem; + +typedef struct DrawContext { + SpiceCanvas *canvas; + int canvas_draws_on_surface; + int top_down; + uint32_t width; + uint32_t height; + int32_t stride; + uint32_t format; + void *line_0; +} DrawContext; + +typedef struct RedSurface { + uint32_t refs; + Ring current; + Ring current_list; +#ifdef ACYCLIC_SURFACE_DEBUG + int current_gn; +#endif + DrawContext context; + + Ring depend_on_me; + QRegion draw_dirty_region; + + //fix me - better handling here + QXLReleaseInfoExt create, destroy; +} RedSurface; + +typedef struct ItemTrace { + red_time_t time; + int frames_count; + int gradual_frames_count; + int last_gradual_frame; + int width; + int height; + SpiceRect dest_area; +} ItemTrace; + +#define TRACE_ITEMS_SHIFT 3 +#define NUM_TRACE_ITEMS (1 << TRACE_ITEMS_SHIFT) +#define ITEMS_TRACE_MASK (NUM_TRACE_ITEMS - 1) + +#define NUM_DRAWABLES 1000 +#define NUM_CURSORS 100 + +typedef struct RedWorker { + DisplayChannel *display_channel; + CursorChannel *cursor_channel; + QXLInstance *qxl; + RedDispatcher *red_dispatcher; + + int channel; + int id; + int running; + uint32_t *pending; + struct pollfd poll_fds[MAX_EVENT_SOURCES]; + struct SpiceWatch watches[MAX_EVENT_SOURCES]; + unsigned int event_timeout; + uint32_t repoll_cmd_ring; + uint32_t repoll_cursor_ring; + uint32_t num_renderers; + uint32_t renderers[RED_MAX_RENDERERS]; + uint32_t renderer; + + RedSurface surfaces[NUM_SURFACES]; + uint32_t n_surfaces; + SpiceImageSurfaces image_surfaces; + + MonitorsConfig *monitors_config; + + Ring current_list; + uint32_t current_size; + uint32_t drawable_count; + uint32_t red_drawable_count; + uint32_t glz_drawable_count; + uint32_t transparent_count; + + uint32_t shadows_count; + uint32_t containers_count; + uint32_t stream_count; + + uint32_t bits_unique; + + CursorItem *cursor; + int cursor_visible; + SpicePoint16 cursor_position; + uint16_t cursor_trail_length; + uint16_t cursor_trail_frequency; + + _Drawable drawables[NUM_DRAWABLES]; + _Drawable *free_drawables; + + _CursorItem cursor_items[NUM_CURSORS]; + _CursorItem *free_cursor_items; + + RedMemSlotInfo mem_slots; + + uint32_t preload_group_id; + + ImageCache image_cache; + + spice_image_compression_t image_compression; + spice_wan_compression_t jpeg_state; + spice_wan_compression_t zlib_glz_state; + + uint32_t mouse_mode; + + uint32_t streaming_video; + Stream streams_buf[NUM_STREAMS]; + Stream *free_streams; + Ring streams; + ItemTrace items_trace[NUM_TRACE_ITEMS]; + uint32_t next_item_trace; + + QuicData quic_data; + QuicContext *quic; + + LzData lz_data; + LzContext *lz; + + JpegData jpeg_data; + JpegEncoderContext *jpeg; + + ZlibData zlib_data; + ZlibEncoder *zlib; + +#ifdef PIPE_DEBUG + uint32_t last_id; +#endif +#ifdef RED_WORKER_STAT + stat_info_t add_stat; + stat_info_t exclude_stat; + stat_info_t __exclude_stat; + uint32_t add_count; + uint32_t add_with_shadow_count; +#endif +#ifdef RED_STATISTICS + StatNodeRef stat; + uint64_t *wakeup_counter; + uint64_t *command_counter; +#endif + + int driver_has_monitors_config; + int set_client_capabilities_pending; +} RedWorker; + +typedef enum { + BITMAP_DATA_TYPE_INVALID, + BITMAP_DATA_TYPE_CACHE, + BITMAP_DATA_TYPE_SURFACE, + BITMAP_DATA_TYPE_BITMAP, + BITMAP_DATA_TYPE_BITMAP_TO_CACHE, +} BitmapDataType; + +typedef struct BitmapData { + BitmapDataType type; + uint64_t id; // surface id or cache item id + SpiceRect lossy_rect; +} BitmapData; + +static void red_draw_qxl_drawable(RedWorker *worker, Drawable *drawable); +static void red_current_flush(RedWorker *worker, int surface_id); +#ifdef DRAW_ALL +#define red_update_area(worker, rect, surface_id) +#define red_draw_drawable(worker, item) +#else +static void red_draw_drawable(RedWorker *worker, Drawable *item); +static void red_update_area(RedWorker *worker, const SpiceRect *area, int surface_id); +#endif +static void red_release_cursor(RedWorker *worker, CursorItem *cursor); +static inline void release_drawable(RedWorker *worker, Drawable *item); +static void red_display_release_stream(RedWorker *worker, StreamAgent *agent); +static inline void red_detach_stream(RedWorker *worker, Stream *stream, int detach_sized); +static void red_stop_stream(RedWorker *worker, Stream *stream); +static inline void red_stream_maintenance(RedWorker *worker, Drawable *candidate, Drawable *sect); +static inline void display_begin_send_message(RedChannelClient *rcc); +static void red_release_pixmap_cache(DisplayChannelClient *dcc); +static void red_release_glz(DisplayChannelClient *dcc); +static void red_freeze_glz(DisplayChannelClient *dcc); +static void display_channel_push_release(DisplayChannelClient *dcc, uint8_t type, uint64_t id, + uint64_t* sync_data); +static void red_display_release_stream_clip(RedWorker *worker, StreamClipItem *item); +static int red_display_free_some_independent_glz_drawables(DisplayChannelClient *dcc); +static void red_display_free_glz_drawable(DisplayChannelClient *dcc, RedGlzDrawable *drawable); +static ImageItem *red_add_surface_area_image(DisplayChannelClient *dcc, int surface_id, + SpiceRect *area, PipeItem *pos, int can_lossy); +static void reset_rate(DisplayChannelClient *dcc, StreamAgent *stream_agent); +static BitmapGradualType _get_bitmap_graduality_level(RedWorker *worker, SpiceBitmap *bitmap, + uint32_t group_id); +static inline int _stride_is_extra(SpiceBitmap *bitmap); +static void red_disconnect_cursor(RedChannel *channel); +static void display_channel_client_release_item_before_push(DisplayChannelClient *dcc, + PipeItem *item); +static void display_channel_client_release_item_after_push(DisplayChannelClient *dcc, + PipeItem *item); +static void cursor_channel_client_release_item_before_push(CursorChannelClient *ccc, + PipeItem *item); +static void cursor_channel_client_release_item_after_push(CursorChannelClient *ccc, + PipeItem *item); +static void red_wait_pipe_item_sent(RedChannelClient *rcc, PipeItem *item); + +#ifdef DUMP_BITMAP +static void dump_bitmap(RedWorker *worker, SpiceBitmap *bitmap, uint32_t group_id); +#endif + +static void red_push_monitors_config(DisplayChannelClient *dcc); + +/* + * Macros to make iterating over stuff easier + * The two collections we iterate over: + * given a channel, iterate over it's clients + */ + +#define RCC_FOREACH(link, rcc, channel) \ + for (link = ring_get_head(&(channel)->clients),\ + rcc = SPICE_CONTAINEROF(link, RedChannelClient, channel_link);\ + (link); \ + (link) = ring_next(&(channel)->clients, link),\ + rcc = SPICE_CONTAINEROF(link, RedChannelClient, channel_link)) + +#define RCC_FOREACH_SAFE(link, next, rcc, channel) \ + for (link = ring_get_head(&(channel)->clients), \ + rcc = SPICE_CONTAINEROF(link, RedChannelClient, channel_link), \ + (next) = (link) ? ring_next(&(channel)->clients, (link)) : NULL; \ + (link); \ + (link) = (next), \ + (next) = (link) ? ring_next(&(channel)->clients, (link)) : NULL, \ + rcc = SPICE_CONTAINEROF(link, RedChannelClient, channel_link)) + +#define DCC_FOREACH(link, dcc, channel) \ + for (link = channel ? ring_get_head(&(channel)->clients) : NULL,\ + dcc = link ? SPICE_CONTAINEROF((link), DisplayChannelClient,\ + common.base.channel_link) : NULL;\ + (link); \ + (link) = ring_next(&(channel)->clients, link),\ + dcc = SPICE_CONTAINEROF((link), DisplayChannelClient, common.base.channel_link)) + +#define WORKER_FOREACH_DCC(worker, link, dcc) \ + for (link = ((worker) && (worker)->display_channel) ?\ + ring_get_head(&(worker)->display_channel->common.base.clients) : NULL,\ + dcc = link ? SPICE_CONTAINEROF((link), DisplayChannelClient,\ + common.base.channel_link) : NULL;\ + (link); \ + (link) = ring_next(&(worker)->display_channel->common.base.clients, link),\ + dcc = SPICE_CONTAINEROF((link), DisplayChannelClient, common.base.channel_link)) + +#define DRAWABLE_FOREACH_DPI(drawable, link, dpi) \ + for (link = (drawable) ? ring_get_head(&(drawable)->pipes) : NULL,\ + dpi = (link) ? SPICE_CONTAINEROF((link), DrawablePipeItem, base) : NULL; \ + (link);\ + (link) = ring_next(&(drawable)->pipes, (link)),\ + dpi = (link) ? SPICE_CONTAINEROF((link), DrawablePipeItem, base) : NULL) + +#define DRAWABLE_FOREACH_GLZ(drawable, link, glz) \ + for (link = (drawable) ? ring_get_head(&drawable->glz_ring) : NULL,\ + glz = (link) ? SPICE_CONTAINEROF((link), RedGlzDrawable, drawable_link) : NULL;\ + (link);\ + (link) = ring_next(&drawable->glz_ring, (link)),\ + glz = (link) ? SPICE_CONTAINEROF((link), RedGlzDrawable, drawable_link) : NULL) + +#define DRAWABLE_FOREACH_GLZ_SAFE(drawable, link, next, glz) \ + for (link = (drawable) ? ring_get_head(&drawable->glz_ring) : NULL,\ + next = (link) ? ring_next(&drawable->glz_ring, link) : NULL,\ + glz = (link) ? SPICE_CONTAINEROF((link), RedGlzDrawable, drawable_link) : NULL;\ + (link);\ + (link) = (next),\ + (next) = (link) ? ring_next(&drawable->glz_ring, (link)) : NULL,\ + glz = (link) ? SPICE_CONTAINEROF((link), RedGlzDrawable, drawable_link) : NULL) + +#define CCC_FOREACH(link, ccc, channel) \ + for (link = ring_get_head(&(channel)->clients),\ + ccc = SPICE_CONTAINEROF(link, CommonChannelClient, base.channel_link);\ + (link); \ + (link) = ring_next(&(channel)->clients, link),\ + ccc = SPICE_CONTAINEROF(link, CommonChannelClient, base.channel_link)) + +#define DCC_TO_WORKER(dcc) \ + (SPICE_CONTAINEROF((dcc)->common.base.channel, CommonChannel, base)->worker) + +// TODO: replace with DCC_FOREACH when it is introduced +#define WORKER_TO_DCC(worker) \ + (worker->display_channel ? SPICE_CONTAINEROF(worker->display_channel->common.base.rcc,\ + DisplayChannelClient, common.base) : NULL) + +#define DCC_TO_DC(dcc) SPICE_CONTAINEROF((dcc)->common.base.channel,\ + DisplayChannel, common.base) + +#define RCC_TO_DCC(rcc) SPICE_CONTAINEROF((rcc), DisplayChannelClient, common.base) +#define RCC_TO_CCC(rcc) SPICE_CONTAINEROF((rcc), CursorChannelClient, common.base) + + + +#ifdef COMPRESS_STAT +static void print_compress_stats(DisplayChannel *display_channel) +{ + uint64_t glz_enc_size; + + if (!display_channel) { + return; + } + + glz_enc_size = display_channel->enable_zlib_glz_wrap ? + display_channel->zlib_glz_stat.comp_size : + display_channel->glz_stat.comp_size; + + spice_info("==> Compression stats for display %u", display_channel->common.id); + spice_info("Method \t count \torig_size(MB)\tenc_size(MB)\tenc_time(s)"); + spice_info("QUIC \t%8d\t%13.2f\t%12.2f\t%12.2f", + display_channel->quic_stat.count, + stat_byte_to_mega(display_channel->quic_stat.orig_size), + stat_byte_to_mega(display_channel->quic_stat.comp_size), + stat_cpu_time_to_sec(display_channel->quic_stat.total) + ); + spice_info("GLZ \t%8d\t%13.2f\t%12.2f\t%12.2f", + display_channel->glz_stat.count, + stat_byte_to_mega(display_channel->glz_stat.orig_size), + stat_byte_to_mega(display_channel->glz_stat.comp_size), + stat_cpu_time_to_sec(display_channel->glz_stat.total) + ); + spice_info("ZLIB GLZ \t%8d\t%13.2f\t%12.2f\t%12.2f", + display_channel->zlib_glz_stat.count, + stat_byte_to_mega(display_channel->zlib_glz_stat.orig_size), + stat_byte_to_mega(display_channel->zlib_glz_stat.comp_size), + stat_cpu_time_to_sec(display_channel->zlib_glz_stat.total) + ); + spice_info("LZ \t%8d\t%13.2f\t%12.2f\t%12.2f", + display_channel->lz_stat.count, + stat_byte_to_mega(display_channel->lz_stat.orig_size), + stat_byte_to_mega(display_channel->lz_stat.comp_size), + stat_cpu_time_to_sec(display_channel->lz_stat.total) + ); + spice_info("JPEG \t%8d\t%13.2f\t%12.2f\t%12.2f", + display_channel->jpeg_stat.count, + stat_byte_to_mega(display_channel->jpeg_stat.orig_size), + stat_byte_to_mega(display_channel->jpeg_stat.comp_size), + stat_cpu_time_to_sec(display_channel->jpeg_stat.total) + ); + spice_info("JPEG-RGBA\t%8d\t%13.2f\t%12.2f\t%12.2f", + display_channel->jpeg_alpha_stat.count, + stat_byte_to_mega(display_channel->jpeg_alpha_stat.orig_size), + stat_byte_to_mega(display_channel->jpeg_alpha_stat.comp_size), + stat_cpu_time_to_sec(display_channel->jpeg_alpha_stat.total) + ); + spice_info("-------------------------------------------------------------------"); + spice_info("Total \t%8d\t%13.2f\t%12.2f\t%12.2f", + display_channel->lz_stat.count + display_channel->glz_stat.count + + display_channel->quic_stat.count + + display_channel->jpeg_stat.count + + display_channel->jpeg_alpha_stat.count, + stat_byte_to_mega(display_channel->lz_stat.orig_size + + display_channel->glz_stat.orig_size + + display_channel->quic_stat.orig_size + + display_channel->jpeg_stat.orig_size + + display_channel->jpeg_alpha_stat.orig_size), + stat_byte_to_mega(display_channel->lz_stat.comp_size + + glz_enc_size + + display_channel->quic_stat.comp_size + + display_channel->jpeg_stat.comp_size + + display_channel->jpeg_alpha_stat.comp_size), + stat_cpu_time_to_sec(display_channel->lz_stat.total + + display_channel->glz_stat.total + + display_channel->zlib_glz_stat.total + + display_channel->quic_stat.total + + display_channel->jpeg_stat.total + + display_channel->jpeg_alpha_stat.total) + ); +} + +#endif + +static MonitorsConfig *monitors_config_getref(MonitorsConfig *monitors_config) +{ + monitors_config->refs++; + + return monitors_config; +} + +static void monitors_config_decref(MonitorsConfig *monitors_config) +{ + if (--monitors_config->refs > 0) { + return; + } + + spice_debug("removing worker monitors config"); + monitors_config->worker->monitors_config = NULL; + free(monitors_config); +} + +static inline int is_primary_surface(RedWorker *worker, uint32_t surface_id) +{ + if (surface_id == 0) { + return TRUE; + } + return FALSE; +} + +static inline void __validate_surface(RedWorker *worker, uint32_t surface_id) +{ + spice_warn_if(surface_id >= worker->n_surfaces); +} + +static inline int validate_surface(RedWorker *worker, uint32_t surface_id) +{ + spice_warn_if(surface_id >= worker->n_surfaces); + if (!worker->surfaces[surface_id].context.canvas) { + spice_warning("canvas address is %p for %d (and is NULL)\n", + &(worker->surfaces[surface_id].context.canvas), surface_id); + spice_warning("failed on %d", surface_id); + spice_warn_if(!worker->surfaces[surface_id].context.canvas); + return 0; + } + return 1; +} + +static const char *draw_type_to_str(uint8_t type) +{ + switch (type) { + case QXL_DRAW_FILL: + return "QXL_DRAW_FILL"; + case QXL_DRAW_OPAQUE: + return "QXL_DRAW_OPAQUE"; + case QXL_DRAW_COPY: + return "QXL_DRAW_COPY"; + case QXL_DRAW_TRANSPARENT: + return "QXL_DRAW_TRANSPARENT"; + case QXL_DRAW_ALPHA_BLEND: + return "QXL_DRAW_ALPHA_BLEND"; + case QXL_COPY_BITS: + return "QXL_COPY_BITS"; + case QXL_DRAW_BLEND: + return "QXL_DRAW_BLEND"; + case QXL_DRAW_BLACKNESS: + return "QXL_DRAW_BLACKNESS"; + case QXL_DRAW_WHITENESS: + return "QXL_DRAW_WHITENESS"; + case QXL_DRAW_INVERS: + return "QXL_DRAW_INVERS"; + case QXL_DRAW_ROP3: + return "QXL_DRAW_ROP3"; + case QXL_DRAW_COMPOSITE: + return "QXL_DRAW_COMPOSITE"; + case QXL_DRAW_STROKE: + return "QXL_DRAW_STROKE"; + case QXL_DRAW_TEXT: + return "QXL_DRAW_TEXT"; + default: + return "?"; + } +} + +static void show_red_drawable(RedWorker *worker, RedDrawable *drawable, const char *prefix) +{ + if (prefix) { + printf("%s: ", prefix); + } + + printf("%s effect %d bbox(%d %d %d %d)", + draw_type_to_str(drawable->type), + drawable->effect, + drawable->bbox.top, + drawable->bbox.left, + drawable->bbox.bottom, + drawable->bbox.right); + + switch (drawable->type) { + case QXL_DRAW_FILL: + case QXL_DRAW_OPAQUE: + case QXL_DRAW_COPY: + case QXL_DRAW_TRANSPARENT: + case QXL_DRAW_ALPHA_BLEND: + case QXL_COPY_BITS: + case QXL_DRAW_BLEND: + case QXL_DRAW_BLACKNESS: + case QXL_DRAW_WHITENESS: + case QXL_DRAW_INVERS: + case QXL_DRAW_ROP3: + case QXL_DRAW_COMPOSITE: + case QXL_DRAW_STROKE: + case QXL_DRAW_TEXT: + break; + default: + spice_error("bad drawable type"); + } + printf("\n"); +} + +static void show_draw_item(RedWorker *worker, DrawItem *draw_item, const char *prefix) +{ + if (prefix) { + printf("%s: ", prefix); + } + printf("effect %d bbox(%d %d %d %d)\n", + draw_item->effect, + draw_item->base.rgn.extents.x1, + draw_item->base.rgn.extents.y1, + draw_item->base.rgn.extents.x2, + draw_item->base.rgn.extents.y2); +} + +static inline int pipe_item_is_linked(PipeItem *item) +{ + return ring_item_is_linked(&item->link); +} + +static inline void pipe_item_remove(PipeItem *item) +{ + ring_remove(&item->link); +} + +static void red_pipe_add_verb(RedChannelClient* rcc, uint16_t verb) +{ + VerbItem *item = spice_new(VerbItem, 1); + + red_channel_pipe_item_init(rcc->channel, &item->base, PIPE_ITEM_TYPE_VERB); + item->verb = verb; + red_channel_client_pipe_add(rcc, &item->base); +} + +static inline void red_create_surface_item(DisplayChannelClient *dcc, int surface_id); +static void red_push_surface_image(DisplayChannelClient *dcc, int surface_id); + +static void red_pipes_add_verb(RedChannel *channel, uint16_t verb) +{ + RedChannelClient *rcc; + RingItem *link; + + RCC_FOREACH(link, rcc, channel) { + red_pipe_add_verb(rcc, verb); + } +} + +static inline void red_handle_drawable_surfaces_client_synced( + DisplayChannelClient *dcc, Drawable *drawable) +{ + RedWorker *worker = DCC_TO_WORKER(dcc); + int x; + + for (x = 0; x < 3; ++x) { + int surface_id; + + surface_id = drawable->surfaces_dest[x]; + if (surface_id != -1) { + if (dcc->surface_client_created[surface_id] == TRUE) { + continue; + } + red_create_surface_item(dcc, surface_id); + red_current_flush(worker, surface_id); + red_push_surface_image(dcc, surface_id); + } + } + + if (dcc->surface_client_created[drawable->surface_id] == TRUE) { + return; + } + + red_create_surface_item(dcc, drawable->surface_id); + red_current_flush(worker, drawable->surface_id); + red_push_surface_image(dcc, drawable->surface_id); +} + +static int display_is_connected(RedWorker *worker) +{ + return (worker->display_channel && red_channel_is_connected( + &worker->display_channel->common.base)); +} + +static int cursor_is_connected(RedWorker *worker) +{ + return (worker->cursor_channel && red_channel_is_connected( + &worker->cursor_channel->common.base)); +} + +static void put_drawable_pipe_item(DrawablePipeItem *dpi) +{ + RedWorker *worker = DCC_TO_WORKER(dpi->dcc); + + if (--dpi->refs) { + return; + } + + spice_assert(!ring_item_is_linked(&dpi->dpi_pipe_item.link)); + spice_assert(!ring_item_is_linked(&dpi->base)); + release_drawable(worker, dpi->drawable); + free(dpi); +} + +static inline DrawablePipeItem *get_drawable_pipe_item(DisplayChannelClient *dcc, + Drawable *drawable) +{ + DrawablePipeItem *dpi; + + dpi = spice_malloc0(sizeof(*dpi)); + dpi->drawable = drawable; + dpi->dcc = dcc; + ring_item_init(&dpi->base); + ring_add(&drawable->pipes, &dpi->base); + red_channel_pipe_item_init(dcc->common.base.channel, &dpi->dpi_pipe_item, PIPE_ITEM_TYPE_DRAW); + dpi->refs++; + drawable->refs++; + return dpi; +} + +static inline DrawablePipeItem *ref_drawable_pipe_item(DrawablePipeItem *dpi) +{ + spice_assert(dpi->drawable); + dpi->refs++; + return dpi; +} + +static inline void red_pipe_add_drawable(DisplayChannelClient *dcc, Drawable *drawable) +{ + DrawablePipeItem *dpi; + + red_handle_drawable_surfaces_client_synced(dcc, drawable); + dpi = get_drawable_pipe_item(dcc, drawable); + red_channel_client_pipe_add(&dcc->common.base, &dpi->dpi_pipe_item); +} + +static inline void red_pipes_add_drawable(RedWorker *worker, Drawable *drawable) +{ + DisplayChannelClient *dcc; + RingItem *dcc_ring_item; + + spice_warn_if(!ring_is_empty(&drawable->pipes)); + WORKER_FOREACH_DCC(worker, dcc_ring_item, dcc) { + red_pipe_add_drawable(dcc, drawable); + } +} + +static inline void red_pipe_add_drawable_to_tail(DisplayChannelClient *dcc, Drawable *drawable) +{ + DrawablePipeItem *dpi; + + if (!dcc) { + return; + } + red_handle_drawable_surfaces_client_synced(dcc, drawable); + dpi = get_drawable_pipe_item(dcc, drawable); + red_channel_client_pipe_add_tail(&dcc->common.base, &dpi->dpi_pipe_item); +} + +static inline void red_pipes_add_drawable_after(RedWorker *worker, + Drawable *drawable, Drawable *pos_after) +{ + DrawablePipeItem *dpi, *dpi_pos_after; + RingItem *dpi_link; + DisplayChannelClient *dcc; + int num_other_linked = 0; + + DRAWABLE_FOREACH_DPI(pos_after, dpi_link, dpi_pos_after) { + num_other_linked++; + dcc = dpi_pos_after->dcc; + red_handle_drawable_surfaces_client_synced(dcc, drawable); + dpi = get_drawable_pipe_item(dcc, drawable); + red_channel_client_pipe_add_after(&dcc->common.base, &dpi->dpi_pipe_item, + &dpi_pos_after->dpi_pipe_item); + } + if (num_other_linked == 0) { + red_pipes_add_drawable(worker, drawable); + return; + } + if (num_other_linked != worker->display_channel->common.base.clients_num) { + RingItem *worker_item; + spice_debug("TODO: not O(n^2)"); + WORKER_FOREACH_DCC(worker, worker_item, dcc) { + int sent = 0; + DRAWABLE_FOREACH_DPI(pos_after, dpi_link, dpi_pos_after) { + if (dpi_pos_after->dcc == dcc) { + sent = 1; + break; + } + } + if (!sent) { + red_pipe_add_drawable(dcc, drawable); + } + } + } +} + +static inline PipeItem *red_pipe_get_tail(DisplayChannelClient *dcc) +{ + if (!dcc) { + return NULL; + } + + return (PipeItem*)ring_get_tail(&dcc->common.base.pipe); +} + +static inline void red_destroy_surface(RedWorker *worker, uint32_t surface_id); + +static inline void red_pipes_remove_drawable(Drawable *drawable) +{ + DrawablePipeItem *dpi; + RingItem *item, *next; + + RING_FOREACH_SAFE(item, next, &drawable->pipes) { + dpi = SPICE_CONTAINEROF(item, DrawablePipeItem, base); + if (pipe_item_is_linked(&dpi->dpi_pipe_item)) { + red_channel_client_pipe_remove_and_release(&dpi->dcc->common.base, + &dpi->dpi_pipe_item); + } + } +} + +static inline void red_pipe_add_image_item(DisplayChannelClient *dcc, ImageItem *item) +{ + if (!dcc) { + return; + } + item->refs++; + red_channel_client_pipe_add(&dcc->common.base, &item->link); +} + +static inline void red_pipe_add_image_item_after(DisplayChannelClient *dcc, ImageItem *item, + PipeItem *pos) +{ + if (!dcc) { + return; + } + item->refs++; + red_channel_client_pipe_add_after(&dcc->common.base, &item->link, pos); +} + +static void release_image_item(ImageItem *item) +{ + if (!--item->refs) { + free(item); + } +} + +static void release_upgrade_item(RedWorker* worker, UpgradeItem *item) +{ + if (!--item->refs) { + release_drawable(worker, item->drawable); + free(item->rects); + free(item); + } +} + +static uint8_t *common_alloc_recv_buf(RedChannelClient *rcc, uint16_t type, uint32_t size) +{ + CommonChannel *common = SPICE_CONTAINEROF(rcc->channel, CommonChannel, base); + + /* SPICE_MSGC_MIGRATE_DATA is the only client message whose size is dynamic */ + if (type == SPICE_MSGC_MIGRATE_DATA) { + return spice_malloc(size); + } + + if (size > RECIVE_BUF_SIZE) { + spice_critical("unexpected message size %u (max is %d)", size, RECIVE_BUF_SIZE); + return NULL; + } + return common->recv_buf; +} + +static void common_release_recv_buf(RedChannelClient *rcc, uint16_t type, uint32_t size, + uint8_t* msg) +{ + if (type == SPICE_MSGC_MIGRATE_DATA) { + free(msg); + } +} + +#define CLIENT_PIXMAPS_CACHE +#include "red_client_shared_cache.h" +#undef CLIENT_PIXMAPS_CACHE + +#define CLIENT_CURSOR_CACHE +#include "red_client_cache.h" +#undef CLIENT_CURSOR_CACHE + +#define CLIENT_PALETTE_CACHE +#include "red_client_cache.h" +#undef CLIENT_PALETTE_CACHE + +static void red_reset_palette_cache(DisplayChannelClient *dcc) +{ + red_palette_cache_reset(dcc, CLIENT_PALETTE_CACHE_SIZE); +} + +static void red_reset_cursor_cache(RedChannelClient *rcc) +{ + red_cursor_cache_reset(RCC_TO_CCC(rcc), CLIENT_CURSOR_CACHE_SIZE); +} + +static inline Drawable *alloc_drawable(RedWorker *worker) +{ + Drawable *drawable; + if (!worker->free_drawables) { + return NULL; + } + drawable = &worker->free_drawables->u.drawable; + worker->free_drawables = worker->free_drawables->u.next; + return drawable; +} + +static inline void free_drawable(RedWorker *worker, Drawable *item) +{ + ((_Drawable *)item)->u.next = worker->free_drawables; + worker->free_drawables = (_Drawable *)item; +} + +static void drawables_init(RedWorker *worker) +{ + int i; + + worker->free_drawables = NULL; + for (i = 0; i < NUM_DRAWABLES; i++) { + free_drawable(worker, &worker->drawables[i].u.drawable); + } +} + + +static void red_reset_stream_trace(RedWorker *worker); + +static SurfaceDestroyItem *get_surface_destroy_item(RedChannel *channel, + uint32_t surface_id) +{ + SurfaceDestroyItem *destroy; + + destroy = (SurfaceDestroyItem *)malloc(sizeof(SurfaceDestroyItem)); + spice_warn_if(!destroy); + + destroy->surface_destroy.surface_id = surface_id; + + red_channel_pipe_item_init(channel, + &destroy->pipe_item, PIPE_ITEM_TYPE_DESTROY_SURFACE); + + return destroy; +} + +static inline void red_destroy_surface_item(RedWorker *worker, + DisplayChannelClient *dcc, uint32_t surface_id) +{ + SurfaceDestroyItem *destroy; + RedChannel *channel; + + if (!dcc || worker->display_channel->common.during_target_migrate || + !dcc->surface_client_created[surface_id]) { + return; + } + dcc->surface_client_created[surface_id] = FALSE; + channel = &worker->display_channel->common.base; + destroy = get_surface_destroy_item(channel, surface_id); + red_channel_client_pipe_add(&dcc->common.base, &destroy->pipe_item); +} + +static inline void red_destroy_surface(RedWorker *worker, uint32_t surface_id) +{ + RedSurface *surface = &worker->surfaces[surface_id]; + DisplayChannelClient *dcc; + RingItem *link; + + if (!--surface->refs) { + // only primary surface streams are supported + if (is_primary_surface(worker, surface_id)) { + red_reset_stream_trace(worker); + } + spice_assert(surface->context.canvas); + + surface->context.canvas->ops->destroy(surface->context.canvas); + if (surface->create.info) { + worker->qxl->st->qif->release_resource(worker->qxl, surface->create); + } + if (surface->destroy.info) { + worker->qxl->st->qif->release_resource(worker->qxl, surface->destroy); + } + + region_destroy(&surface->draw_dirty_region); + surface->context.canvas = NULL; + WORKER_FOREACH_DCC(worker, link, dcc) { + red_destroy_surface_item(worker, dcc, surface_id); + } + + spice_warn_if(!ring_is_empty(&surface->depend_on_me)); + } +} + +static inline void set_surface_release_info(RedWorker *worker, uint32_t surface_id, int is_create, + QXLReleaseInfo *release_info, uint32_t group_id) +{ + RedSurface *surface; + + surface = &worker->surfaces[surface_id]; + + if (is_create) { + surface->create.info = release_info; + surface->create.group_id = group_id; + } else { + surface->destroy.info = release_info; + surface->destroy.group_id = group_id; + } +} + +static RedDrawable *ref_red_drawable(RedDrawable *drawable) +{ + drawable->refs++; + return drawable; +} + + +static inline void put_red_drawable(RedWorker *worker, RedDrawable *red_drawable, + uint32_t group_id) +{ + QXLReleaseInfoExt release_info_ext; + + if (--red_drawable->refs) { + return; + } + worker->red_drawable_count--; + release_info_ext.group_id = group_id; + release_info_ext.info = red_drawable->release_info; + worker->qxl->st->qif->release_resource(worker->qxl, release_info_ext); + red_put_drawable(red_drawable); + free(red_drawable); +} + +static void remove_depended_item(DependItem *item) +{ + spice_assert(item->drawable); + spice_assert(ring_item_is_linked(&item->ring_item)); + item->drawable = NULL; + ring_remove(&item->ring_item); +} + +static inline void red_dec_surfaces_drawable_dependencies(RedWorker *worker, Drawable *drawable) +{ + int x; + int surface_id; + + for (x = 0; x < 3; ++x) { + surface_id = drawable->surfaces_dest[x]; + if (surface_id == -1) { + continue; + } + red_destroy_surface(worker, surface_id); + } +} + +static void remove_drawable_dependencies(RedWorker *worker, Drawable *drawable) +{ + int x; + int surface_id; + + for (x = 0; x < 3; ++x) { + surface_id = drawable->surfaces_dest[x]; + if (surface_id != -1 && drawable->depend_items[x].drawable) { + remove_depended_item(&drawable->depend_items[x]); + } + } +} + +static inline void release_drawable(RedWorker *worker, Drawable *drawable) +{ + RingItem *item, *next; + + if (!--drawable->refs) { + spice_assert(!drawable->tree_item.shadow); + spice_assert(ring_is_empty(&drawable->pipes)); + + if (drawable->stream) { + red_detach_stream(worker, drawable->stream, TRUE); + } + region_destroy(&drawable->tree_item.base.rgn); + + remove_drawable_dependencies(worker, drawable); + red_dec_surfaces_drawable_dependencies(worker, drawable); + red_destroy_surface(worker, drawable->surface_id); + + RING_FOREACH_SAFE(item, next, &drawable->glz_ring) { + SPICE_CONTAINEROF(item, RedGlzDrawable, drawable_link)->drawable = NULL; + ring_remove(item); + } + put_red_drawable(worker, drawable->red_drawable, drawable->group_id); + free_drawable(worker, drawable); + worker->drawable_count--; + } +} + +static inline void remove_shadow(RedWorker *worker, DrawItem *item) +{ + Shadow *shadow; + + if (!item->shadow) { + return; + } + shadow = item->shadow; + item->shadow = NULL; + ring_remove(&shadow->base.siblings_link); + region_destroy(&shadow->base.rgn); + region_destroy(&shadow->on_hold); + free(shadow); + worker->shadows_count--; +} + +static inline void current_remove_container(RedWorker *worker, Container *container) +{ + spice_assert(ring_is_empty(&container->items)); + worker->containers_count--; + ring_remove(&container->base.siblings_link); + region_destroy(&container->base.rgn); + free(container); +} + +static inline void container_cleanup(RedWorker *worker, Container *container) +{ + while (container && container->items.next == container->items.prev) { + Container *next = container->base.container; + if (container->items.next != &container->items) { + TreeItem *item = (TreeItem *)ring_get_head(&container->items); + spice_assert(item); + ring_remove(&item->siblings_link); + ring_add_after(&item->siblings_link, &container->base.siblings_link); + item->container = container->base.container; + } + current_remove_container(worker, container); + container = next; + } +} + +static inline void red_add_item_trace(RedWorker *worker, Drawable *item) +{ + ItemTrace *trace; + if (!item->streamable) { + return; + } + + trace = &worker->items_trace[worker->next_item_trace++ & ITEMS_TRACE_MASK]; + trace->time = item->creation_time; + trace->frames_count = item->frames_count; + trace->gradual_frames_count = item->gradual_frames_count; + trace->last_gradual_frame = item->last_gradual_frame; + SpiceRect* src_area = &item->red_drawable->u.copy.src_area; + trace->width = src_area->right - src_area->left; + trace->height = src_area->bottom - src_area->top; + trace->dest_area = item->red_drawable->bbox; +} + +static void surface_flush(RedWorker *worker, int surface_id, SpiceRect *rect) +{ + red_update_area(worker, rect, surface_id); +} + +static void red_flush_source_surfaces(RedWorker *worker, Drawable *drawable) +{ + int x; + int surface_id; + + for (x = 0; x < 3; ++x) { + surface_id = drawable->surfaces_dest[x]; + if (surface_id != -1 && drawable->depend_items[x].drawable) { + remove_depended_item(&drawable->depend_items[x]); + surface_flush(worker, surface_id, &drawable->red_drawable->surfaces_rects[x]); + } + } +} + +static inline void current_remove_drawable(RedWorker *worker, Drawable *item) +{ + if (item->tree_item.effect != QXL_EFFECT_OPAQUE) { + worker->transparent_count--; + } + if (!item->stream) { + red_add_item_trace(worker, item); + } + remove_shadow(worker, &item->tree_item); + ring_remove(&item->tree_item.base.siblings_link); + ring_remove(&item->list_link); + ring_remove(&item->surface_list_link); + release_drawable(worker, item); + worker->current_size--; +} + +static void remove_drawable(RedWorker *worker, Drawable *drawable) +{ + red_pipes_remove_drawable(drawable); + current_remove_drawable(worker, drawable); +} + +static inline void current_remove(RedWorker *worker, TreeItem *item) +{ + TreeItem *now = item; + + for (;;) { + Container *container = now->container; + RingItem *ring_item; + + if (now->type == TREE_ITEM_TYPE_DRAWABLE) { + ring_item = now->siblings_link.prev; + remove_drawable(worker, SPICE_CONTAINEROF(now, Drawable, tree_item)); + } else { + Container *container = (Container *)now; + + spice_assert(now->type == TREE_ITEM_TYPE_CONTAINER); + + if ((ring_item = ring_get_head(&container->items))) { + now = SPICE_CONTAINEROF(ring_item, TreeItem, siblings_link); + continue; + } + ring_item = now->siblings_link.prev; + current_remove_container(worker, container); + } + if (now == item) { + return; + } + + if ((ring_item = ring_next(&container->items, ring_item))) { + now = SPICE_CONTAINEROF(ring_item, TreeItem, siblings_link); + } else { + now = (TreeItem *)container; + } + } +} + +static void current_tree_for_each(Ring *ring, void (*f)(TreeItem *, void *), void * data) +{ + RingItem *ring_item; + Ring *top_ring; + + if (!(ring_item = ring_get_head(ring))) { + return; + } + top_ring = ring; + + for (;;) { + TreeItem *now = SPICE_CONTAINEROF(ring_item, TreeItem, siblings_link); + + f(now, data); + + if (now->type == TREE_ITEM_TYPE_CONTAINER) { + Container *container = (Container *)now; + + if ((ring_item = ring_get_head(&container->items))) { + ring = &container->items; + continue; + } + } + for (;;) { + ring_item = ring_next(ring, &now->siblings_link); + if (ring_item) { + break; + } + if (ring == top_ring) { + return; + } + now = (TreeItem *)now->container; + ring = (now->container) ? &now->container->items : top_ring; + } + } +} + +static void red_current_clear(RedWorker *worker, int surface_id) +{ + RingItem *ring_item; + + while ((ring_item = ring_get_head(&worker->surfaces[surface_id].current))) { + TreeItem *now = SPICE_CONTAINEROF(ring_item, TreeItem, siblings_link); + current_remove(worker, now); + } +} + +static void red_clear_surface_drawables_from_pipe(DisplayChannelClient *dcc, int surface_id, + int force) +{ + Ring *ring; + PipeItem *item; + int x; + RedChannelClient *rcc; + + if (!dcc) { + return; + } + + /* removing the newest drawables that their destination is surface_id and + no other drawable depends on them */ + + rcc = &dcc->common.base; + ring = &dcc->common.base.pipe; + item = (PipeItem *) ring; + while ((item = (PipeItem *)ring_next(ring, (RingItem *)item))) { + Drawable *drawable; + DrawablePipeItem *dpi = NULL; + int depend_found = FALSE; + + if (item->type == PIPE_ITEM_TYPE_DRAW) { + dpi = SPICE_CONTAINEROF(item, DrawablePipeItem, dpi_pipe_item); + drawable = dpi->drawable; + } else if (item->type == PIPE_ITEM_TYPE_UPGRADE) { + drawable = ((UpgradeItem *)item)->drawable; + } else { + continue; + } + + if (drawable->surface_id == surface_id) { + PipeItem *tmp_item = item; + item = (PipeItem *)ring_prev(ring, (RingItem *)item); + red_channel_client_pipe_remove_and_release(rcc, tmp_item); + if (!item) { + item = (PipeItem *)ring; + } + continue; + } + + for (x = 0; x < 3; ++x) { + if (drawable->surfaces_dest[x] == surface_id) { + depend_found = TRUE; + break; + } + } + + if (depend_found) { + spice_debug("surface %d dependent item found %p, %p", surface_id, drawable, item); + if (force) { + break; + } else { + return; + } + } + } + + if (item) { + red_wait_pipe_item_sent(&dcc->common.base, item); + } +} + +static void red_wait_outgoing_item(RedChannelClient *rcc); + +static void red_clear_surface_drawables_from_pipes(RedWorker *worker, int surface_id, + int force, int wait_for_outgoing_item) +{ + RingItem *item; + DisplayChannelClient *dcc; + + WORKER_FOREACH_DCC(worker, item, dcc) { + red_clear_surface_drawables_from_pipe(dcc, surface_id, force); + if (wait_for_outgoing_item) { + // in case that the pipe didn't contain any item that is dependent on the surface, but + // there is one during sending. + red_wait_outgoing_item(&dcc->common.base); + } + } +} + +#ifdef PIPE_DEBUG + +static void print_rgn(const char* prefix, const QRegion* rgn) +{ + int i; + printf("TEST: %s: RGN: bbox %u %u %u %u\n", + prefix, + rgn->bbox.top, + rgn->bbox.left, + rgn->bbox.bottom, + rgn->bbox.right); + + for (i = 0; i < rgn->num_rects; i++) { + printf("TEST: %s: RECT %u %u %u %u\n", + prefix, + rgn->rects[i].top, + rgn->rects[i].left, + rgn->rects[i].bottom, + rgn->rects[i].right); + } +} + +static void print_draw_item(const char* prefix, const DrawItem *draw_item) +{ + const TreeItem *base = &draw_item->base; + const Drawable *drawable = SPICE_CONTAINEROF(draw_item, Drawable, tree_item); + printf("TEST: %s: draw id %u container %u effect %u", + prefix, + base->id, base->container ? base->container->base.id : 0, + draw_item->effect); + if (draw_item->shadow) { + printf(" shadow %u\n", draw_item->shadow->base.id); + } else { + printf("\n"); + } + print_rgn(prefix, &base->rgn); +} + +static void print_shadow_item(const char* prefix, const Shadow *item) +{ + printf("TEST: %s: shadow %p id %d\n", prefix, item, item->base.id); + print_rgn(prefix, &item->base.rgn); +} + +static void print_container_item(const char* prefix, const Container *item) +{ + printf("TEST: %s: container %p id %d\n", prefix, item, item->base.id); + print_rgn(prefix, &item->base.rgn); +} + +static void print_base_item(const char* prefix, const TreeItem *base) +{ + switch (base->type) { + case TREE_ITEM_TYPE_DRAWABLE: + print_draw_item(prefix, (const DrawItem *)base); + break; + case TREE_ITEM_TYPE_SHADOW: + print_shadow_item(prefix, (const Shadow *)base); + break; + case TREE_ITEM_TYPE_CONTAINER: + print_container_item(prefix, (const Container *)base); + break; + default: + spice_error("invalid type %u", base->type); + } +} + +void __show_current(TreeItem *item, void *data) +{ + print_base_item("TREE", item); +} + +static void show_current(RedWorker *worker, Ring *ring) +{ + if (ring_is_empty(ring)) { + spice_info("TEST: TREE: EMPTY"); + return; + } + current_tree_for_each(ring, __show_current, NULL); +} + +#else +#define print_rgn(a, b) +#define print_draw_private(a, b) +#define show_current(a, r) +#define print_shadow_item(a, b) +#define print_base_item(a, b) +#endif + +static inline Shadow *__find_shadow(TreeItem *item) +{ + while (item->type == TREE_ITEM_TYPE_CONTAINER) { + if (!(item = (TreeItem *)ring_get_tail(&((Container *)item)->items))) { + return NULL; + } + } + + if (item->type != TREE_ITEM_TYPE_DRAWABLE) { + return NULL; + } + + return ((DrawItem *)item)->shadow; +} + +static inline Ring *ring_of(RedWorker *worker, Ring *ring, TreeItem *item) +{ + return (item->container) ? &item->container->items : ring; +} + +static inline int __contained_by(RedWorker *worker, TreeItem *item, Ring *ring) +{ + spice_assert(item && ring); + do { + Ring *now = ring_of(worker, ring, item); + if (now == ring) { + return TRUE; + } + } while ((item = (TreeItem *)item->container)); + + return FALSE; +} + +static inline void __exclude_region(RedWorker *worker, Ring *ring, TreeItem *item, QRegion *rgn, + Ring **top_ring, Drawable *frame_candidate) +{ + QRegion and_rgn; +#ifdef RED_WORKER_STAT + stat_time_t start_time = stat_now(); +#endif + + region_clone(&and_rgn, rgn); + region_and(&and_rgn, &item->rgn); + if (!region_is_empty(&and_rgn)) { + if (IS_DRAW_ITEM(item)) { + DrawItem *draw = (DrawItem *)item; + + if (draw->effect == QXL_EFFECT_OPAQUE) { + region_exclude(rgn, &and_rgn); + } + + if (draw->shadow) { + Shadow *shadow; + int32_t x = item->rgn.extents.x1; + int32_t y = item->rgn.extents.y1; + + region_exclude(&draw->base.rgn, &and_rgn); + shadow = draw->shadow; + region_offset(&and_rgn, shadow->base.rgn.extents.x1 - x, + shadow->base.rgn.extents.y1 - y); + region_exclude(&shadow->base.rgn, &and_rgn); + region_and(&and_rgn, &shadow->on_hold); + if (!region_is_empty(&and_rgn)) { + region_exclude(&shadow->on_hold, &and_rgn); + region_or(rgn, &and_rgn); + // in flat representation of current, shadow is always his owner next + if (!__contained_by(worker, (TreeItem*)shadow, *top_ring)) { + *top_ring = ring_of(worker, ring, (TreeItem*)shadow); + } + } + } else { + if (frame_candidate) { + Drawable *drawable = SPICE_CONTAINEROF(draw, Drawable, tree_item); + red_stream_maintenance(worker, frame_candidate, drawable); + } + region_exclude(&draw->base.rgn, &and_rgn); + } + } else if (item->type == TREE_ITEM_TYPE_CONTAINER) { + region_exclude(&item->rgn, &and_rgn); + + if (region_is_empty(&item->rgn)) { //assume container removal will follow + Shadow *shadow; + + region_exclude(rgn, &and_rgn); + if ((shadow = __find_shadow(item))) { + region_or(rgn, &shadow->on_hold); + if (!__contained_by(worker, (TreeItem*)shadow, *top_ring)) { + *top_ring = ring_of(worker, ring, (TreeItem*)shadow); + } + } + } + } else { + Shadow *shadow; + + spice_assert(item->type == TREE_ITEM_TYPE_SHADOW); + shadow = (Shadow *)item; + region_exclude(rgn, &and_rgn); + region_or(&shadow->on_hold, &and_rgn); + } + } + region_destroy(&and_rgn); + stat_add(&worker->__exclude_stat, start_time); +} + +static void exclude_region(RedWorker *worker, Ring *ring, RingItem *ring_item, QRegion *rgn, + TreeItem **last, Drawable *frame_candidate) +{ +#ifdef RED_WORKER_STAT + stat_time_t start_time = stat_now(); +#endif + Ring *top_ring; + + if (!ring_item) { + return; + } + + top_ring = ring; + + for (;;) { + TreeItem *now = SPICE_CONTAINEROF(ring_item, TreeItem, siblings_link); + Container *container = now->container; + + spice_assert(!region_is_empty(&now->rgn)); + + if (region_intersects(rgn, &now->rgn)) { + print_base_item("EXCLUDE2", now); + __exclude_region(worker, ring, now, rgn, &top_ring, frame_candidate); + print_base_item("EXCLUDE3", now); + + if (region_is_empty(&now->rgn)) { + spice_assert(now->type != TREE_ITEM_TYPE_SHADOW); + ring_item = now->siblings_link.prev; + print_base_item("EXCLUDE_REMOVE", now); + current_remove(worker, now); + if (last && *last == now) { + *last = (TreeItem *)ring_next(ring, ring_item); + } + } else if (now->type == TREE_ITEM_TYPE_CONTAINER) { + Container *container = (Container *)now; + if ((ring_item = ring_get_head(&container->items))) { + ring = &container->items; + spice_assert(((TreeItem *)ring_item)->container); + continue; + } + ring_item = &now->siblings_link; + } + + if (region_is_empty(rgn)) { + stat_add(&worker->exclude_stat, start_time); + return; + } + } + + while ((last && *last == (TreeItem *)ring_item) || + !(ring_item = ring_next(ring, ring_item))) { + if (ring == top_ring) { + stat_add(&worker->exclude_stat, start_time); + return; + } + ring_item = &container->base.siblings_link; + container = container->base.container; + ring = (container) ? &container->items : top_ring; + } + } +} + +static inline Container *__new_container(RedWorker *worker, DrawItem *item) +{ + Container *container = spice_new(Container, 1); + worker->containers_count++; +#ifdef PIPE_DEBUG + container->base.id = ++worker->last_id; +#endif + container->base.type = TREE_ITEM_TYPE_CONTAINER; + container->base.container = item->base.container; + item->base.container = container; + item->container_root = TRUE; + region_clone(&container->base.rgn, &item->base.rgn); + ring_item_init(&container->base.siblings_link); + ring_add_after(&container->base.siblings_link, &item->base.siblings_link); + ring_remove(&item->base.siblings_link); + ring_init(&container->items); + ring_add(&container->items, &item->base.siblings_link); + + return container; +} + +static inline int is_opaque_item(TreeItem *item) +{ + return item->type == TREE_ITEM_TYPE_CONTAINER || + (IS_DRAW_ITEM(item) && ((DrawItem *)item)->effect == QXL_EFFECT_OPAQUE); +} + +static inline void __current_add_drawable(RedWorker *worker, Drawable *drawable, RingItem *pos) +{ + RedSurface *surface; + uint32_t surface_id = drawable->surface_id; + + surface = &worker->surfaces[surface_id]; + ring_add_after(&drawable->tree_item.base.siblings_link, pos); + ring_add(&worker->current_list, &drawable->list_link); + ring_add(&surface->current_list, &drawable->surface_list_link); + worker->current_size++; + drawable->refs++; +} + +static int is_equal_path(RedWorker *worker, SpicePath *path1, SpicePath *path2) +{ + SpicePathSeg *seg1, *seg2; + int i, j; + + if (path1->num_segments != path2->num_segments) + return FALSE; + + for (i = 0; i < path1->num_segments; i++) { + seg1 = path1->segments[i]; + seg2 = path2->segments[i]; + + if (seg1->flags != seg2->flags || + seg1->count != seg2->count) { + return FALSE; + } + for (j = 0; j < seg1->count; j++) { + if (seg1->points[j].x != seg2->points[j].x || + seg1->points[j].y != seg2->points[j].y) { + return FALSE; + } + } + } + + return TRUE; +} + +// partial imp +static int is_equal_brush(SpiceBrush *b1, SpiceBrush *b2) +{ + return b1->type == b2->type && + b1->type == SPICE_BRUSH_TYPE_SOLID && + b1->u.color == b2->u.color; +} + +// partial imp +static int is_equal_line_attr(SpiceLineAttr *a1, SpiceLineAttr *a2) +{ + return a1->flags == a2->flags && + a1->style_nseg == a2->style_nseg && + a1->style_nseg == 0; +} + +// partial imp +static int is_same_geometry(RedWorker *worker, Drawable *d1, Drawable *d2) +{ + if (d1->red_drawable->type != d2->red_drawable->type) { + return FALSE; + } + + switch (d1->red_drawable->type) { + case QXL_DRAW_STROKE: + return is_equal_line_attr(&d1->red_drawable->u.stroke.attr, + &d2->red_drawable->u.stroke.attr) && + is_equal_path(worker, d1->red_drawable->u.stroke.path, + d2->red_drawable->u.stroke.path); + case QXL_DRAW_FILL: + return rect_is_equal(&d1->red_drawable->bbox, &d2->red_drawable->bbox); + default: + return FALSE; + } +} + +static int is_same_drawable(RedWorker *worker, Drawable *d1, Drawable *d2) +{ + if (!is_same_geometry(worker, d1, d2)) { + return FALSE; + } + + switch (d1->red_drawable->type) { + case QXL_DRAW_STROKE: + return is_equal_brush(&d1->red_drawable->u.stroke.brush, + &d2->red_drawable->u.stroke.brush); + case QXL_DRAW_FILL: + return is_equal_brush(&d1->red_drawable->u.fill.brush, + &d2->red_drawable->u.fill.brush); + default: + return FALSE; + } +} + +static inline void red_free_stream(RedWorker *worker, Stream *stream) +{ + stream->next = worker->free_streams; + worker->free_streams = stream; +} + +static void red_release_stream(RedWorker *worker, Stream *stream) +{ + if (!--stream->refs) { + spice_assert(!ring_item_is_linked(&stream->link)); + if (stream->mjpeg_encoder) { + mjpeg_encoder_destroy(stream->mjpeg_encoder); + } + red_free_stream(worker, stream); + worker->stream_count--; + } +} + +static inline void red_detach_stream(RedWorker *worker, Stream *stream, int detach_sized) +{ + spice_assert(stream->current && stream->current->stream); + spice_assert(stream->current->stream == stream); + stream->current->stream = NULL; + if (detach_sized) { + stream->current->sized_stream = NULL; + } + stream->current = NULL; +} + +static StreamClipItem *__new_stream_clip(DisplayChannelClient* dcc, StreamAgent *agent) +{ + StreamClipItem *item = spice_new(StreamClipItem, 1); + red_channel_pipe_item_init(dcc->common.base.channel, + (PipeItem *)item, PIPE_ITEM_TYPE_STREAM_CLIP); + + item->stream_agent = agent; + agent->stream->refs++; + item->refs = 1; + return item; +} + +static void push_stream_clip(DisplayChannelClient* dcc, StreamAgent *agent) +{ + StreamClipItem *item = __new_stream_clip(dcc, agent); + int n_rects; + + if (!item) { + spice_critical("alloc failed"); + } + item->clip_type = SPICE_CLIP_TYPE_RECTS; + + n_rects = pixman_region32_n_rects(&agent->clip); + + item->rects = spice_malloc_n_m(n_rects, sizeof(SpiceRect), sizeof(SpiceClipRects)); + item->rects->num_rects = n_rects; + region_ret_rects(&agent->clip, item->rects->rects, n_rects); + red_channel_client_pipe_add(&dcc->common.base, (PipeItem *)item); +} + +static void red_display_release_stream_clip(RedWorker *worker, StreamClipItem *item) +{ + if (!--item->refs) { + red_display_release_stream(worker, item->stream_agent); + free(item->rects); + free(item); + } +} + +static inline int get_stream_id(RedWorker *worker, Stream *stream) +{ + return (int)(stream - worker->streams_buf); +} + +static void red_attach_stream(RedWorker *worker, Drawable *drawable, Stream *stream) +{ + DisplayChannelClient *dcc; + RingItem *item; + + spice_assert(!drawable->stream && !stream->current); + spice_assert(drawable && stream); + stream->current = drawable; + drawable->stream = stream; + stream->last_time = drawable->creation_time; + + WORKER_FOREACH_DCC(worker, item, dcc) { + StreamAgent *agent; + QRegion clip_in_draw_dest; + + agent = &dcc->stream_agents[get_stream_id(worker, stream)]; + region_or(&agent->vis_region, &drawable->tree_item.base.rgn); + + region_init(&clip_in_draw_dest); + region_add(&clip_in_draw_dest, &drawable->red_drawable->bbox); + region_and(&clip_in_draw_dest, &agent->clip); + + if (!region_is_equal(&clip_in_draw_dest, &drawable->tree_item.base.rgn)) { + region_remove(&agent->clip, &drawable->red_drawable->bbox); + region_or(&agent->clip, &drawable->tree_item.base.rgn); + push_stream_clip(dcc, agent); + } + } +} + +static void red_stop_stream(RedWorker *worker, Stream *stream) +{ + DisplayChannelClient *dcc; + RingItem *item; + + spice_assert(ring_item_is_linked(&stream->link)); + spice_assert(!stream->current); + spice_debug("stream %d", get_stream_id(worker, stream)); + WORKER_FOREACH_DCC(worker, item, dcc) { + StreamAgent *stream_agent; + stream_agent = &dcc->stream_agents[get_stream_id(worker, stream)]; + region_clear(&stream_agent->vis_region); + region_clear(&stream_agent->clip); + spice_assert(!pipe_item_is_linked(&stream_agent->destroy_item)); + stream->refs++; + red_channel_client_pipe_add(&dcc->common.base, &stream_agent->destroy_item); + } + ring_remove(&stream->link); + red_release_stream(worker, stream); +} + +static int red_display_drawable_is_in_pipe(DisplayChannelClient *dcc, Drawable *drawable) +{ + DrawablePipeItem *dpi; + RingItem *dpi_link; + + DRAWABLE_FOREACH_DPI(drawable, dpi_link, dpi) { + if (dpi->dcc == dcc) { + return TRUE; + } + } + + return FALSE; +} + +/* + * after red_display_detach_stream_gracefully is called for all the display channel clients, + * red_detach_stream should be called. See comment (1). + */ +static inline void red_display_detach_stream_gracefully(DisplayChannelClient *dcc, Stream *stream) +{ + int stream_id = get_stream_id(dcc->common.worker, stream); + StreamAgent *agent = &dcc->stream_agents[stream_id]; + + /* stopping the client from playing older frames at once*/ + region_clear(&agent->clip); + push_stream_clip(dcc, agent); + + if (region_is_empty(&agent->vis_region)) { + spice_debug("stream %d: vis region empty", stream_id); + return; + } + + if (stream->current && + region_contains(&stream->current->tree_item.base.rgn, &agent->vis_region)) { + RedChannel *channel; + RedChannelClient *rcc; + UpgradeItem *upgrade_item; + int n_rects; + + /* (1) The caller should detach the drawable from the stream. This will + * lead to sending the drawable losslessly, as an ordinary drawable. */ + if (red_display_drawable_is_in_pipe(dcc, stream->current)) { + spice_debug("stream %d: upgrade by linked drawable. sized %d, box ==>", + stream_id, stream->current->sized_stream != NULL); + rect_debug(&stream->current->red_drawable->bbox); + return; + } + spice_debug("stream %d: upgrade by drawable. sized %d, box ==>", + stream_id, stream->current->sized_stream != NULL); + rect_debug(&stream->current->red_drawable->bbox); + rcc = &dcc->common.base; + channel = rcc->channel; + upgrade_item = spice_new(UpgradeItem, 1); + upgrade_item->refs = 1; + red_channel_pipe_item_init(channel, + &upgrade_item->base, PIPE_ITEM_TYPE_UPGRADE); + upgrade_item->drawable = stream->current; + upgrade_item->drawable->refs++; + n_rects = pixman_region32_n_rects(&upgrade_item->drawable->tree_item.base.rgn); + upgrade_item->rects = spice_malloc_n_m(n_rects, sizeof(SpiceRect), sizeof(SpiceClipRects)); + upgrade_item->rects->num_rects = n_rects; + region_ret_rects(&upgrade_item->drawable->tree_item.base.rgn, + upgrade_item->rects->rects, n_rects); + red_channel_client_pipe_add(rcc, &upgrade_item->base); + + } else { + SpiceRect upgrade_area; + + region_extents(&agent->vis_region, &upgrade_area); + spice_debug("stream %d: upgrade by screenshot. has current %d. box ==>", + stream_id, stream->current != NULL); + rect_debug(&upgrade_area); + red_update_area(dcc->common.worker, &upgrade_area, 0); + red_add_surface_area_image(dcc, 0, &upgrade_area, NULL, FALSE); + } + +} + +static inline void red_detach_stream_gracefully(RedWorker *worker, Stream *stream) +{ + RingItem *item; + DisplayChannelClient *dcc; + + WORKER_FOREACH_DCC(worker, item, dcc) { + red_display_detach_stream_gracefully(dcc, stream); + } + if (stream->current) { + red_detach_stream(worker, stream, TRUE); + } +} + +// region should be a primary surface region +static void red_detach_streams_behind(RedWorker *worker, QRegion *region) +{ + Ring *ring = &worker->streams; + RingItem *item = ring_get_head(ring); + RingItem *dcc_ring_item; + DisplayChannelClient *dcc; + int has_clients = display_is_connected(worker); + + while (item) { + Stream *stream = SPICE_CONTAINEROF(item, Stream, link); + int detach_stream = 0; + item = ring_next(ring, item); + + WORKER_FOREACH_DCC(worker, dcc_ring_item, dcc) { + StreamAgent *agent = &dcc->stream_agents[get_stream_id(worker, stream)]; + + if (region_intersects(&agent->vis_region, region)) { + red_display_detach_stream_gracefully(dcc, stream); + detach_stream = 1; + spice_debug("stream %d", get_stream_id(worker, stream)); + } + } + if (detach_stream && stream->current) { + red_detach_stream(worker, stream, TRUE); + } else if (!has_clients) { + if (stream->current && + region_intersects(&stream->current->tree_item.base.rgn, region)) { + red_detach_stream(worker, stream, TRUE); + } + } + } +} + +static void red_streams_update_visible_region(RedWorker *worker, Drawable *drawable) +{ + Ring *ring; + RingItem *item; + RingItem *dcc_ring_item; + DisplayChannelClient *dcc; + + if (!display_is_connected(worker)) { + return; + } + + if (!is_primary_surface(worker, drawable->surface_id)) { + return; + } + + ring = &worker->streams; + item = ring_get_head(ring); + + while (item) { + Stream *stream = SPICE_CONTAINEROF(item, Stream, link); + StreamAgent *agent; + + item = ring_next(ring, item); + + if (stream->current == drawable) { + continue; + } + + WORKER_FOREACH_DCC(worker, dcc_ring_item, dcc) { + agent = &dcc->stream_agents[get_stream_id(worker, stream)]; + + if (region_intersects(&agent->vis_region, &drawable->tree_item.base.rgn)) { + region_exclude(&agent->vis_region, &drawable->tree_item.base.rgn); + region_exclude(&agent->clip, &drawable->tree_item.base.rgn); + push_stream_clip(dcc, agent); + } + } + } +} + +static inline unsigned int red_get_streams_timout(RedWorker *worker) +{ + unsigned int timout = -1; + Ring *ring = &worker->streams; + RingItem *item = ring; + struct timespec time; + + clock_gettime(CLOCK_MONOTONIC, &time); + red_time_t now = timespec_to_red_time(&time); + while ((item = ring_next(ring, item))) { + Stream *stream; + + stream = SPICE_CONTAINEROF(item, Stream, link); + red_time_t delta = (stream->last_time + RED_STREAM_TIMOUT) - now; + + if (delta < 1000 * 1000) { + return 0; + } + timout = MIN(timout, (unsigned int)(delta / (1000 * 1000))); + } + return timout; +} + +static inline void red_handle_streams_timout(RedWorker *worker) +{ + Ring *ring = &worker->streams; + struct timespec time; + RingItem *item; + + clock_gettime(CLOCK_MONOTONIC, &time); + red_time_t now = timespec_to_red_time(&time); + item = ring_get_head(ring); + while (item) { + Stream *stream = SPICE_CONTAINEROF(item, Stream, link); + item = ring_next(ring, item); + if (now >= (stream->last_time + RED_STREAM_TIMOUT)) { + red_detach_stream_gracefully(worker, stream); + red_stop_stream(worker, stream); + } + } +} + +static void red_display_release_stream(RedWorker *worker, StreamAgent *agent) +{ + spice_assert(agent->stream); + red_release_stream(worker, agent->stream); +} + +static inline Stream *red_alloc_stream(RedWorker *worker) +{ + Stream *stream; + if (!worker->free_streams) { + return NULL; + } + stream = worker->free_streams; + worker->free_streams = worker->free_streams->next; + return stream; +} + +static int get_bit_rate(DisplayChannelClient *dcc, + int width, int height) +{ + uint64_t bit_rate = width * height * BEST_BIT_RATE_PER_PIXEL; + MainChannelClient *mcc; + int is_low_bandwidth = 0; + + if (dcc) { + mcc = red_client_get_main(dcc->common.base.client); + is_low_bandwidth = main_channel_client_is_low_bandwidth(mcc); + } + + if (is_low_bandwidth) { + bit_rate = MIN(main_channel_client_get_bitrate_per_sec(mcc) * 70 / 100, bit_rate); + bit_rate = MAX(bit_rate, width * height * WORST_BIT_RATE_PER_PIXEL); + } + return bit_rate; +} + +static int get_minimal_bit_rate(RedWorker *worker, int width, int height) +{ + RingItem *item; + DisplayChannelClient *dcc; + int ret = INT_MAX; + + WORKER_FOREACH_DCC(worker, item, dcc) { + int bit_rate = get_bit_rate(dcc, width, height); + if (bit_rate < ret) { + ret = bit_rate; + } + } + return ret; +} + +static void red_display_create_stream(DisplayChannelClient *dcc, Stream *stream) +{ + StreamAgent *agent = &dcc->stream_agents[get_stream_id(dcc->common.worker, stream)]; + + stream->refs++; + spice_assert(region_is_empty(&agent->vis_region)); + if (stream->current) { + agent->frames = 1; + region_clone(&agent->vis_region, &stream->current->tree_item.base.rgn); + region_clone(&agent->clip, &agent->vis_region); + } else { + agent->frames = 0; + } + agent->drops = 0; + agent->fps = MAX_FPS; + reset_rate(dcc, agent); + red_channel_client_pipe_add(&dcc->common.base, &agent->create_item); +} + +/* TODO: we create the stream even if dcc is NULL, i.e. no client - or + * maybe we can't reach this function in that case? question: do we want to? */ +static void red_create_stream(RedWorker *worker, Drawable *drawable) +{ + DisplayChannelClient *dcc; + RingItem *dcc_ring_item; + Stream *stream; + SpiceRect* src_rect; + int stream_width; + int stream_height; + + spice_assert(!drawable->stream); + + if (!(stream = red_alloc_stream(worker))) { + return; + } + + spice_assert(drawable->red_drawable->type == QXL_DRAW_COPY); + src_rect = &drawable->red_drawable->u.copy.src_area; + stream_width = src_rect->right - src_rect->left; + stream_height = src_rect->bottom - src_rect->top; + + stream->mjpeg_encoder = mjpeg_encoder_new(); + + ring_add(&worker->streams, &stream->link); + stream->current = drawable; + stream->last_time = drawable->creation_time; + stream->width = src_rect->right - src_rect->left; + stream->height = src_rect->bottom - src_rect->top; + stream->dest_area = drawable->red_drawable->bbox; + stream->refs = 1; + stream->bit_rate = get_minimal_bit_rate(worker, stream_width, stream_height); + SpiceBitmap *bitmap = &drawable->red_drawable->u.copy.src_bitmap->u.bitmap; + stream->top_down = !!(bitmap->flags & SPICE_BITMAP_FLAGS_TOP_DOWN); + drawable->stream = stream; + + WORKER_FOREACH_DCC(worker, dcc_ring_item, dcc) { + red_display_create_stream(dcc, stream); + } + worker->stream_count++; + spice_debug("stream %d %dx%d (%d, %d) (%d, %d)", (int)(stream - worker->streams_buf), stream->width, + stream->height, stream->dest_area.left, stream->dest_area.top, + stream->dest_area.right, stream->dest_area.bottom); + return; +} + +static void red_disply_start_streams(DisplayChannelClient *dcc) +{ + Ring *ring = &dcc->common.worker->streams; + RingItem *item = ring; + + while ((item = ring_next(ring, item))) { + Stream *stream = SPICE_CONTAINEROF(item, Stream, link); + red_display_create_stream(dcc, stream); + } +} + +static void red_display_client_init_streams(DisplayChannelClient *dcc) +{ + int i; + RedWorker *worker = dcc->common.worker; + RedChannel *channel = dcc->common.base.channel; + + for (i = 0; i < NUM_STREAMS; i++) { + StreamAgent *agent = &dcc->stream_agents[i]; + agent->stream = &worker->streams_buf[i]; + region_init(&agent->vis_region); + region_init(&agent->clip); + red_channel_pipe_item_init(channel, &agent->create_item, PIPE_ITEM_TYPE_STREAM_CREATE); + red_channel_pipe_item_init(channel, &agent->destroy_item, PIPE_ITEM_TYPE_STREAM_DESTROY); + } +} + +static void red_display_destroy_streams(DisplayChannelClient *dcc) +{ + int i; + + for (i = 0; i < NUM_STREAMS; i++) { + StreamAgent *agent = &dcc->stream_agents[i]; + region_destroy(&agent->vis_region); + region_destroy(&agent->clip); + } +} + +static void red_init_streams(RedWorker *worker) +{ + int i; + + ring_init(&worker->streams); + worker->free_streams = NULL; + for (i = 0; i < NUM_STREAMS; i++) { + Stream *stream = &worker->streams_buf[i]; + ring_item_init(&stream->link); + red_free_stream(worker, stream); + } +} + +static inline int __red_is_next_stream_frame(RedWorker *worker, + const Drawable *candidate, + const int other_src_width, + const int other_src_height, + const SpiceRect *other_dest, + const red_time_t other_time, + const Stream *stream, + int container_candidate_allowed) +{ + RedDrawable *red_drawable; + int is_frame_container = FALSE; + + if (!candidate->streamable) { + return STREAM_FRAME_NONE; + } + + if (candidate->creation_time - other_time > + (stream ? RED_STREAM_CONTINUS_MAX_DELTA : RED_STREAM_DETACTION_MAX_DELTA)) { + return STREAM_FRAME_NONE; + } + + red_drawable = candidate->red_drawable; + if (!container_candidate_allowed) { + SpiceRect* candidate_src; + + if (!rect_is_equal(&red_drawable->bbox, other_dest)) { + return STREAM_FRAME_NONE; + } + + candidate_src = &red_drawable->u.copy.src_area; + if (candidate_src->right - candidate_src->left != other_src_width || + candidate_src->bottom - candidate_src->top != other_src_height) { + return STREAM_FRAME_NONE; + } + } else { + if (rect_contains(&red_drawable->bbox, other_dest)) { + int candidate_area = rect_get_area(&red_drawable->bbox); + int other_area = rect_get_area(other_dest); + /* do not stream drawables that are significantly + * bigger than the original frame */ + if (candidate_area > 2 * other_area) { + spice_debug("too big candidate:"); + spice_debug("prev box ==>"); + rect_debug(other_dest); + spice_debug("new box ==>"); + rect_debug(&red_drawable->bbox); + return STREAM_FRAME_NONE; + } + + if (candidate_area > other_area) { + is_frame_container = TRUE; + } + } else { + return STREAM_FRAME_NONE; + } + } + + if (stream) { + SpiceBitmap *bitmap = &red_drawable->u.copy.src_bitmap->u.bitmap; + if (stream->top_down != !!(bitmap->flags & SPICE_BITMAP_FLAGS_TOP_DOWN)) { + return STREAM_FRAME_NONE; + } + } + if (is_frame_container) { + return STREAM_FRAME_CONTAINER; + } else { + return STREAM_FRAME_NATIVE; + } +} + +static inline int red_is_next_stream_frame(RedWorker *worker, const Drawable *candidate, + const Drawable *prev) +{ + if (!candidate->streamable) { + return FALSE; + } + + SpiceRect* prev_src = &prev->red_drawable->u.copy.src_area; + return __red_is_next_stream_frame(worker, candidate, prev_src->right - prev_src->left, + prev_src->bottom - prev_src->top, + &prev->red_drawable->bbox, prev->creation_time, + prev->stream, + FALSE); +} + +static void reset_rate(DisplayChannelClient *dcc, StreamAgent *stream_agent) +{ + Stream *stream = stream_agent->stream; + int rate; + + rate = get_bit_rate(dcc, stream->width, stream->height); + if (rate == stream->bit_rate) { + return; + } + + /* MJpeg has no rate limiting anyway, so do nothing */ +} + +static int display_channel_client_is_low_bandwidth(DisplayChannelClient *dcc) +{ + return main_channel_client_is_low_bandwidth( + red_client_get_main(red_channel_client_get_client(&dcc->common.base))); +} + +static inline void pre_stream_item_swap(RedWorker *worker, Stream *stream) +{ + DrawablePipeItem *dpi; + DisplayChannelClient *dcc; + int index; + StreamAgent *agent; + RingItem *ring_item; + + spice_assert(stream->current); + + if (!display_is_connected(worker)) { + return; + } + + index = get_stream_id(worker, stream); + DRAWABLE_FOREACH_DPI(stream->current, ring_item, dpi) { + dcc = dpi->dcc; + if (!display_channel_client_is_low_bandwidth(dcc)) { + continue; + } + agent = &dcc->stream_agents[index]; + + if (pipe_item_is_linked(&dpi->dpi_pipe_item)) { + ++agent->drops; + } + + if (agent->frames / agent->fps < FPS_TEST_INTERVAL) { + agent->frames++; + return; + } + + double drop_factor = ((double)agent->frames - (double)agent->drops) / + (double)agent->frames; + + if (drop_factor == 1) { + if (agent->fps < MAX_FPS) { + agent->fps++; + } + } else if (drop_factor < 0.9) { + if (agent->fps > 1) { + agent->fps--; + } + } + agent->frames = 1; + agent->drops = 0; + } +} + +static inline void red_update_copy_graduality(RedWorker* worker, Drawable *drawable) +{ + SpiceBitmap *bitmap; + spice_assert(drawable->red_drawable->type == QXL_DRAW_COPY); + + if (worker->streaming_video != STREAM_VIDEO_FILTER) { + drawable->copy_bitmap_graduality = BITMAP_GRADUAL_INVALID; + return; + } + + if (drawable->copy_bitmap_graduality != BITMAP_GRADUAL_INVALID) { + return; // already set + } + + bitmap = &drawable->red_drawable->u.copy.src_bitmap->u.bitmap; + + if (!BITMAP_FMT_HAS_GRADUALITY(bitmap->format) || _stride_is_extra(bitmap) || + (bitmap->data->flags & SPICE_CHUNKS_FLAGS_UNSTABLE)) { + drawable->copy_bitmap_graduality = BITMAP_GRADUAL_NOT_AVAIL; + } else { + drawable->copy_bitmap_graduality = + _get_bitmap_graduality_level(worker, bitmap,drawable->group_id); + } +} + +static inline int red_is_stream_start(Drawable *drawable) +{ + return ((drawable->frames_count >= RED_STREAM_FRAMES_START_CONDITION) && + (drawable->gradual_frames_count >= + (RED_STREAM_GRADUAL_FRAMES_START_CONDITION * drawable->frames_count))); +} + +// returns whether a stream was created +static int red_stream_add_frame(RedWorker *worker, + Drawable *frame_drawable, + int frames_count, + int gradual_frames_count, + int last_gradual_frame) +{ + red_update_copy_graduality(worker, frame_drawable); + frame_drawable->frames_count = frames_count + 1; + frame_drawable->gradual_frames_count = gradual_frames_count; + + if (frame_drawable->copy_bitmap_graduality != BITMAP_GRADUAL_LOW) { + if ((frame_drawable->frames_count - last_gradual_frame) > + RED_STREAM_FRAMES_RESET_CONDITION) { + frame_drawable->frames_count = 1; + frame_drawable->gradual_frames_count = 1; + } else { + frame_drawable->gradual_frames_count++; + } + + frame_drawable->last_gradual_frame = frame_drawable->frames_count; + } else { + frame_drawable->last_gradual_frame = last_gradual_frame; + } + + if (red_is_stream_start(frame_drawable)) { + red_create_stream(worker, frame_drawable); + return TRUE; + } + return FALSE; +} + +static inline void red_stream_maintenance(RedWorker *worker, Drawable *candidate, Drawable *prev) +{ + Stream *stream; + + if (candidate->stream) { + return; + } + + if ((stream = prev->stream)) { + int is_next_frame = __red_is_next_stream_frame(worker, + candidate, + stream->width, + stream->height, + &stream->dest_area, + stream->last_time, + stream, + TRUE); + if (is_next_frame != STREAM_FRAME_NONE) { + pre_stream_item_swap(worker, stream); + red_detach_stream(worker, stream, FALSE); + prev->streamable = FALSE; //prevent item trace + red_attach_stream(worker, candidate, stream); + if (is_next_frame == STREAM_FRAME_CONTAINER) { + candidate->sized_stream = stream; + } + } + } else { + if (red_is_next_stream_frame(worker, candidate, prev) != STREAM_FRAME_NONE) { + red_stream_add_frame(worker, candidate, + prev->frames_count, + prev->gradual_frames_count, + prev->last_gradual_frame); + } + } +} + +static inline int is_drawable_independent_from_surfaces(Drawable *drawable) +{ + int x; + + for (x = 0; x < 3; ++x) { + if (drawable->surfaces_dest[x] != -1) { + return FALSE; + } + } + return TRUE; +} + +static inline int red_current_add_equal(RedWorker *worker, DrawItem *item, TreeItem *other) +{ + DrawItem *other_draw_item; + Drawable *drawable; + Drawable *other_drawable; + + if (other->type != TREE_ITEM_TYPE_DRAWABLE) { + return FALSE; + } + other_draw_item = (DrawItem *)other; + + if (item->shadow || other_draw_item->shadow || item->effect != other_draw_item->effect) { + return FALSE; + } + + drawable = SPICE_CONTAINEROF(item, Drawable, tree_item); + other_drawable = SPICE_CONTAINEROF(other_draw_item, Drawable, tree_item); + + if (item->effect == QXL_EFFECT_OPAQUE) { + int add_after = !!other_drawable->stream && + is_drawable_independent_from_surfaces(drawable); + red_stream_maintenance(worker, drawable, other_drawable); + __current_add_drawable(worker, drawable, &other->siblings_link); + other_drawable->refs++; + current_remove_drawable(worker, other_drawable); + if (add_after) { + red_pipes_add_drawable_after(worker, drawable, other_drawable); + } else { + red_pipes_add_drawable(worker, drawable); + } + red_pipes_remove_drawable(other_drawable); + release_drawable(worker, other_drawable); + return TRUE; + } + + switch (item->effect) { + case QXL_EFFECT_REVERT_ON_DUP: + if (is_same_drawable(worker, drawable, other_drawable)) { + + DisplayChannelClient *dcc; + DrawablePipeItem *dpi; + RingItem *worker_ring_item, *dpi_ring_item; + + other_drawable->refs++; + current_remove_drawable(worker, other_drawable); + + /* sending the drawable to clients that already received + * (or will receive) other_drawable */ + worker_ring_item = ring_get_head(&worker->display_channel->common.base.clients); + dpi_ring_item = ring_get_head(&other_drawable->pipes); + /* dpi contains a sublist of dcc's, ordered the same */ + while (worker_ring_item) { + dcc = SPICE_CONTAINEROF(worker_ring_item, DisplayChannelClient, + common.base.channel_link); + dpi = SPICE_CONTAINEROF(dpi_ring_item, DrawablePipeItem, base); + while (worker_ring_item && (!dpi || dcc != dpi->dcc)) { + red_pipe_add_drawable(dcc, drawable); + worker_ring_item = ring_next(&worker->display_channel->common.base.clients, + worker_ring_item); + dcc = SPICE_CONTAINEROF(worker_ring_item, DisplayChannelClient, + common.base.channel_link); + } + + if (dpi_ring_item) { + dpi_ring_item = ring_next(&other_drawable->pipes, dpi_ring_item); + } + if (worker_ring_item) { + worker_ring_item = ring_next(&worker->display_channel->common.base.clients, + worker_ring_item); + } + } + /* not sending other_drawable where possible */ + red_pipes_remove_drawable(other_drawable); + + release_drawable(worker, other_drawable); + return TRUE; + } + break; + case QXL_EFFECT_OPAQUE_BRUSH: + if (is_same_geometry(worker, drawable, other_drawable)) { + __current_add_drawable(worker, drawable, &other->siblings_link); + remove_drawable(worker, other_drawable); + red_pipes_add_drawable(worker, drawable); + return TRUE; + } + break; + case QXL_EFFECT_NOP_ON_DUP: + if (is_same_drawable(worker, drawable, other_drawable)) { + return TRUE; + } + break; + } + return FALSE; +} + +static inline void red_use_stream_trace(RedWorker *worker, Drawable *drawable) +{ + ItemTrace *trace; + ItemTrace *trace_end; + Ring *ring; + RingItem *item; + + if (drawable->stream || !drawable->streamable || drawable->frames_count) { + return; + } + + + ring = &worker->streams; + item = ring_get_head(ring); + + while (item) { + Stream *stream = SPICE_CONTAINEROF(item, Stream, link); + int is_next_frame = __red_is_next_stream_frame(worker, + drawable, + stream->width, + stream->height, + &stream->dest_area, + stream->last_time, + stream, + TRUE); + if (is_next_frame != STREAM_FRAME_NONE) { + if (stream->current) { + stream->current->streamable = FALSE; //prevent item trace + pre_stream_item_swap(worker, stream); + red_detach_stream(worker, stream, FALSE); + } + red_attach_stream(worker, drawable, stream); + if (is_next_frame == STREAM_FRAME_CONTAINER) { + drawable->sized_stream = stream; + } + return; + } + item = ring_next(ring, item); + } + + trace = worker->items_trace; + trace_end = trace + NUM_TRACE_ITEMS; + for (; trace < trace_end; trace++) { + if (__red_is_next_stream_frame(worker, drawable, trace->width, trace->height, + &trace->dest_area, trace->time, NULL, FALSE) != + STREAM_FRAME_NONE) { + if (red_stream_add_frame(worker, drawable, + trace->frames_count, + trace->gradual_frames_count, + trace->last_gradual_frame)) { + return; + } + } + } +} + +static void red_reset_stream_trace(RedWorker *worker) +{ + Ring *ring = &worker->streams; + RingItem *item = ring_get_head(ring); + + while (item) { + Stream *stream = SPICE_CONTAINEROF(item, Stream, link); + item = ring_next(ring, item); + if (!stream->current) { + red_stop_stream(worker, stream); + } else { + spice_info("attached stream"); + } + } + + worker->next_item_trace = 0; + memset(worker->items_trace, 0, sizeof(worker->items_trace)); +} + +static inline int red_current_add(RedWorker *worker, Ring *ring, Drawable *drawable) +{ + DrawItem *item = &drawable->tree_item; +#ifdef RED_WORKER_STAT + stat_time_t start_time = stat_now(); +#endif + RingItem *now; + QRegion exclude_rgn; + RingItem *exclude_base = NULL; + + print_base_item("ADD", &item->base); + spice_assert(!region_is_empty(&item->base.rgn)); + region_init(&exclude_rgn); + now = ring_next(ring, ring); + + while (now) { + TreeItem *sibling = SPICE_CONTAINEROF(now, TreeItem, siblings_link); + int test_res; + + if (!region_bounds_intersects(&item->base.rgn, &sibling->rgn)) { + print_base_item("EMPTY", sibling); + now = ring_next(ring, now); + continue; + } + test_res = region_test(&item->base.rgn, &sibling->rgn, REGION_TEST_ALL); + if (!(test_res & REGION_TEST_SHARED)) { + print_base_item("EMPTY", sibling); + now = ring_next(ring, now); + continue; + } else if (sibling->type != TREE_ITEM_TYPE_SHADOW) { + if (!(test_res & REGION_TEST_RIGHT_EXCLUSIVE) && + !(test_res & REGION_TEST_LEFT_EXCLUSIVE) && + red_current_add_equal(worker, item, sibling)) { + stat_add(&worker->add_stat, start_time); + return FALSE; + } + + if (!(test_res & REGION_TEST_RIGHT_EXCLUSIVE) && item->effect == QXL_EFFECT_OPAQUE) { + Shadow *shadow; + int skip = now == exclude_base; + print_base_item("CONTAIN", sibling); + + if ((shadow = __find_shadow(sibling))) { + if (exclude_base) { + TreeItem *next = sibling; + exclude_region(worker, ring, exclude_base, &exclude_rgn, &next, NULL); + if (next != sibling) { + now = next ? &next->siblings_link : NULL; + exclude_base = NULL; + continue; + } + } + region_or(&exclude_rgn, &shadow->on_hold); + } + now = now->prev; + current_remove(worker, sibling); + now = ring_next(ring, now); + if (shadow || skip) { + exclude_base = now; + } + continue; + } + + if (!(test_res & REGION_TEST_LEFT_EXCLUSIVE) && is_opaque_item(sibling)) { + Container *container; + + if (exclude_base) { + exclude_region(worker, ring, exclude_base, &exclude_rgn, NULL, NULL); + region_clear(&exclude_rgn); + exclude_base = NULL; + } + print_base_item("IN", sibling); + if (sibling->type == TREE_ITEM_TYPE_CONTAINER) { + container = (Container *)sibling; + ring = &container->items; + item->base.container = container; + now = ring_next(ring, ring); + continue; + } + spice_assert(IS_DRAW_ITEM(sibling)); + if (!((DrawItem *)sibling)->container_root) { + container = __new_container(worker, (DrawItem *)sibling); + if (!container) { + spice_warning("create new container failed"); + region_destroy(&exclude_rgn); + return FALSE; + } + item->base.container = container; + ring = &container->items; + } + } + } + if (!exclude_base) { + exclude_base = now; + } + break; + } + if (item->effect == QXL_EFFECT_OPAQUE) { + region_or(&exclude_rgn, &item->base.rgn); + exclude_region(worker, ring, exclude_base, &exclude_rgn, NULL, drawable); + red_use_stream_trace(worker, drawable); + red_streams_update_visible_region(worker, drawable); + } else { + if (drawable->surface_id == 0) { + red_detach_streams_behind(worker, &drawable->tree_item.base.rgn); + } + } + region_destroy(&exclude_rgn); + __current_add_drawable(worker, drawable, ring); + stat_add(&worker->add_stat, start_time); + return TRUE; +} + +static void add_clip_rects(QRegion *rgn, SpiceClipRects *data) +{ + int i; + + for (i = 0; i < data->num_rects; i++) { + region_add(rgn, data->rects + i); + } +} + +static inline Shadow *__new_shadow(RedWorker *worker, Drawable *item, SpicePoint *delta) +{ + if (!delta->x && !delta->y) { + return NULL; + } + + Shadow *shadow = spice_new(Shadow, 1); + worker->shadows_count++; +#ifdef PIPE_DEBUG + shadow->base.id = ++worker->last_id; +#endif + shadow->base.type = TREE_ITEM_TYPE_SHADOW; + shadow->base.container = NULL; + shadow->owner = &item->tree_item; + region_clone(&shadow->base.rgn, &item->tree_item.base.rgn); + region_offset(&shadow->base.rgn, delta->x, delta->y); + ring_item_init(&shadow->base.siblings_link); + region_init(&shadow->on_hold); + item->tree_item.shadow = shadow; + return shadow; +} + +static inline int red_current_add_with_shadow(RedWorker *worker, Ring *ring, Drawable *item, + SpicePoint *delta) +{ +#ifdef RED_WORKER_STAT + stat_time_t start_time = stat_now(); +#endif + + Shadow *shadow = __new_shadow(worker, item, delta); + if (!shadow) { + stat_add(&worker->add_stat, start_time); + return FALSE; + } + print_base_item("ADDSHADOW", &item->tree_item.base); + // item and his shadow must initially be placed in the same container. + // for now putting them on root. + + // only primary surface streams are supported + if (is_primary_surface(worker, item->surface_id)) { + red_detach_streams_behind(worker, &shadow->base.rgn); + } + ring_add(ring, &shadow->base.siblings_link); + __current_add_drawable(worker, item, ring); + if (item->tree_item.effect == QXL_EFFECT_OPAQUE) { + QRegion exclude_rgn; + region_clone(&exclude_rgn, &item->tree_item.base.rgn); + exclude_region(worker, ring, &shadow->base.siblings_link, &exclude_rgn, NULL, NULL); + region_destroy(&exclude_rgn); + red_streams_update_visible_region(worker, item); + } else { + if (item->surface_id == 0) { + red_detach_streams_behind(worker, &item->tree_item.base.rgn); + } + } + stat_add(&worker->add_stat, start_time); + return TRUE; +} + +static inline int has_shadow(RedDrawable *drawable) +{ + return drawable->type == QXL_COPY_BITS; +} + +static inline void red_update_streamable(RedWorker *worker, Drawable *drawable, + RedDrawable *red_drawable) +{ + SpiceImage *image; + + if (worker->streaming_video == STREAM_VIDEO_OFF) { + return; + } + + if (!is_primary_surface(worker, drawable->surface_id)) { + return; + } + + if (drawable->tree_item.effect != QXL_EFFECT_OPAQUE || + red_drawable->type != QXL_DRAW_COPY || + red_drawable->u.copy.rop_descriptor != SPICE_ROPD_OP_PUT) { + return; + } + + image = red_drawable->u.copy.src_bitmap; + if (image == NULL || + image->descriptor.type != SPICE_IMAGE_TYPE_BITMAP) { + return; + } + + if (worker->streaming_video == STREAM_VIDEO_FILTER) { + SpiceRect* rect; + int size; + + rect = &drawable->red_drawable->u.copy.src_area; + size = (rect->right - rect->left) * (rect->bottom - rect->top); + if (size < RED_STREAM_MIN_SIZE) { + return; + } + } + + drawable->streamable = TRUE; +} + +static inline int red_current_add_qxl(RedWorker *worker, Ring *ring, Drawable *drawable, + RedDrawable *red_drawable) +{ + int ret; + + if (has_shadow(red_drawable)) { + SpicePoint delta; + +#ifdef RED_WORKER_STAT + ++worker->add_with_shadow_count; +#endif + delta.x = red_drawable->u.copy_bits.src_pos.x - red_drawable->bbox.left; + delta.y = red_drawable->u.copy_bits.src_pos.y - red_drawable->bbox.top; + ret = red_current_add_with_shadow(worker, ring, drawable, &delta); + } else { + red_update_streamable(worker, drawable, red_drawable); + ret = red_current_add(worker, ring, drawable); + } +#ifdef RED_WORKER_STAT + if ((++worker->add_count % 100) == 0) { + stat_time_t total = worker->add_stat.total; + spice_info("add with shadow count %u", + worker->add_with_shadow_count); + worker->add_with_shadow_count = 0; + spice_info("add[%u] %f exclude[%u] %f __exclude[%u] %f", + worker->add_stat.count, + stat_cpu_time_to_sec(total), + worker->exclude_stat.count, + stat_cpu_time_to_sec(worker->exclude_stat.total), + worker->__exclude_stat.count, + stat_cpu_time_to_sec(worker->__exclude_stat.total)); + spice_info("add %f%% exclude %f%% exclude2 %f%% __exclude %f%%", + (double)(total - worker->exclude_stat.total) / total * 100, + (double)(worker->exclude_stat.total) / total * 100, + (double)(worker->exclude_stat.total - + worker->__exclude_stat.total) / worker->exclude_stat.total * 100, + (double)(worker->__exclude_stat.total) / worker->exclude_stat.total * 100); + stat_reset(&worker->add_stat); + stat_reset(&worker->exclude_stat); + stat_reset(&worker->__exclude_stat); + } +#endif + return ret; +} + +static void red_get_area(RedWorker *worker, int surface_id, const SpiceRect *area, uint8_t *dest, + int dest_stride, int update) +{ + SpiceCanvas *canvas; + RedSurface *surface; + + surface = &worker->surfaces[surface_id]; + if (update) { + red_update_area(worker, area, surface_id); + } + + canvas = surface->context.canvas; + canvas->ops->read_bits(canvas, dest, dest_stride, area); +} + +static int surface_format_to_image_type(uint32_t surface_format) +{ + switch (surface_format) { + case SPICE_SURFACE_FMT_16_555: + return SPICE_BITMAP_FMT_16BIT; + case SPICE_SURFACE_FMT_32_xRGB: + return SPICE_BITMAP_FMT_32BIT; + case SPICE_SURFACE_FMT_32_ARGB: + return SPICE_BITMAP_FMT_RGBA; + case SPICE_SURFACE_FMT_8_A: + return SPICE_BITMAP_FMT_8BIT_A; + default: + spice_critical("Unsupported surface format"); + } + return 0; +} + +static int rgb32_data_has_alpha(int width, int height, size_t stride, + uint8_t *data, int *all_set_out) +{ + uint32_t *line, *end, alpha; + int has_alpha; + + has_alpha = FALSE; + while (height-- > 0) { + line = (uint32_t *)data; + end = line + width; + data += stride; + while (line != end) { + alpha = *line & 0xff000000U; + if (alpha != 0) { + has_alpha = TRUE; + if (alpha != 0xff000000U) { + *all_set_out = FALSE; + return TRUE; + } + } + line++; + } + } + + *all_set_out = has_alpha; + return has_alpha; +} + +static inline int red_handle_self_bitmap(RedWorker *worker, Drawable *drawable) +{ + SpiceImage *image; + int32_t width; + int32_t height; + uint8_t *dest; + int dest_stride; + RedSurface *surface; + int bpp; + int all_set; + RedDrawable *red_drawable = drawable->red_drawable; + + if (!red_drawable->self_bitmap) { + return TRUE; + } + + surface = &worker->surfaces[drawable->surface_id]; + + bpp = SPICE_SURFACE_FMT_DEPTH(surface->context.format) / 8; + + width = red_drawable->self_bitmap_area.right + - red_drawable->self_bitmap_area.left; + height = red_drawable->self_bitmap_area.bottom + - red_drawable->self_bitmap_area.top; + dest_stride = SPICE_ALIGN(width * bpp, 4); + + image = spice_new0(SpiceImage, 1); + image->descriptor.type = SPICE_IMAGE_TYPE_BITMAP; + image->descriptor.flags = 0; + + QXL_SET_IMAGE_ID(image, QXL_IMAGE_GROUP_RED, ++worker->bits_unique); + image->u.bitmap.flags = surface->context.top_down ? SPICE_BITMAP_FLAGS_TOP_DOWN : 0; + image->u.bitmap.format = surface_format_to_image_type(surface->context.format); + image->u.bitmap.stride = dest_stride; + image->descriptor.width = image->u.bitmap.x = width; + image->descriptor.height = image->u.bitmap.y = height; + image->u.bitmap.palette = NULL; + + dest = (uint8_t *)spice_malloc_n(height, dest_stride); + image->u.bitmap.data = spice_chunks_new_linear(dest, height * dest_stride); + image->u.bitmap.data->flags |= SPICE_CHUNKS_FLAGS_FREE; + + red_get_area(worker, drawable->surface_id, + &red_drawable->self_bitmap_area, dest, dest_stride, TRUE); + + /* For 32bit non-primary surfaces we need to keep any non-zero + high bytes as the surface may be used as source to an alpha_blend */ + if (!is_primary_surface(worker, drawable->surface_id) && + image->u.bitmap.format == SPICE_BITMAP_FMT_32BIT && + rgb32_data_has_alpha(width, height, dest_stride, dest, &all_set)) { + if (all_set) { + image->descriptor.flags |= SPICE_IMAGE_FLAGS_HIGH_BITS_SET; + } else { + image->u.bitmap.format = SPICE_BITMAP_FMT_RGBA; + } + } + + red_drawable->self_bitmap_image = image; + return TRUE; +} + +static void free_one_drawable(RedWorker *worker, int force_glz_free) +{ + RingItem *ring_item = ring_get_tail(&worker->current_list); + Drawable *drawable; + Container *container; + + spice_assert(ring_item); + drawable = SPICE_CONTAINEROF(ring_item, Drawable, list_link); + if (force_glz_free) { + RingItem *glz_item, *next_item; + RedGlzDrawable *glz; + DRAWABLE_FOREACH_GLZ_SAFE(drawable, glz_item, next_item, glz) { + red_display_free_glz_drawable(glz->dcc, glz); + } + } + red_draw_drawable(worker, drawable); + container = drawable->tree_item.base.container; + + current_remove_drawable(worker, drawable); + container_cleanup(worker, container); +} + +static Drawable *get_drawable(RedWorker *worker, uint8_t effect, RedDrawable *red_drawable, + uint32_t group_id) +{ + Drawable *drawable; + struct timespec time; + int x; + + while (!(drawable = alloc_drawable(worker))) { + free_one_drawable(worker, FALSE); + } + worker->drawable_count++; + worker->red_drawable_count++; + memset(drawable, 0, sizeof(Drawable)); + drawable->refs = 1; + clock_gettime(CLOCK_MONOTONIC, &time); + drawable->creation_time = timespec_to_red_time(&time); +#ifdef PIPE_DEBUG + drawable->tree_item.base.id = ++worker->last_id; +#endif + ring_item_init(&drawable->list_link); + ring_item_init(&drawable->surface_list_link); +#ifdef UPDATE_AREA_BY_TREE + ring_item_init(&drawable->collect_link); +#endif + ring_item_init(&drawable->tree_item.base.siblings_link); + drawable->tree_item.base.type = TREE_ITEM_TYPE_DRAWABLE; + region_init(&drawable->tree_item.base.rgn); + drawable->tree_item.effect = effect; + drawable->red_drawable = ref_red_drawable(red_drawable); + drawable->group_id = group_id; + + drawable->surface_id = red_drawable->surface_id; + VALIDATE_SURFACE_RETVAL(worker, drawable->surface_id, NULL) + for (x = 0; x < 3; ++x) { + drawable->surfaces_dest[x] = red_drawable->surfaces_dest[x]; + if (drawable->surfaces_dest[x] != -1) { + VALIDATE_SURFACE_RETVAL(worker, drawable->surfaces_dest[x], NULL) + } + } + ring_init(&drawable->pipes); + ring_init(&drawable->glz_ring); + + return drawable; +} + +static inline int red_handle_depends_on_target_surface(RedWorker *worker, uint32_t surface_id) +{ + RedSurface *surface; + RingItem *ring_item; + + surface = &worker->surfaces[surface_id]; + + while ((ring_item = ring_get_tail(&surface->depend_on_me))) { + Drawable *drawable; + DependItem *depended_item = SPICE_CONTAINEROF(ring_item, DependItem, ring_item); + drawable = depended_item->drawable; + surface_flush(worker, drawable->surface_id, &drawable->red_drawable->bbox); + } + + return TRUE; +} + +static inline void add_to_surface_dependency(RedWorker *worker, int depend_on_surface_id, + DependItem *depend_item, Drawable *drawable) +{ + RedSurface *surface; + + if (depend_on_surface_id == -1) { + depend_item->drawable = NULL; + return; + } + + surface = &worker->surfaces[depend_on_surface_id]; + + depend_item->drawable = drawable; + ring_add(&surface->depend_on_me, &depend_item->ring_item); +} + +static inline int red_handle_surfaces_dependencies(RedWorker *worker, Drawable *drawable) +{ + int x; + + for (x = 0; x < 3; ++x) { + // surface self dependency is handled by shadows in "current", or by + // handle_self_bitmap + if (drawable->surfaces_dest[x] != drawable->surface_id) { + add_to_surface_dependency(worker, drawable->surfaces_dest[x], + &drawable->depend_items[x], drawable); + + if (drawable->surfaces_dest[x] == 0) { + QRegion depend_region; + region_init(&depend_region); + region_add(&depend_region, &drawable->red_drawable->surfaces_rects[x]); + red_detach_streams_behind(worker, &depend_region); + } + } + } + + return TRUE; +} + +static inline void red_inc_surfaces_drawable_dependencies(RedWorker *worker, Drawable *drawable) +{ + int x; + int surface_id; + RedSurface *surface; + + for (x = 0; x < 3; ++x) { + surface_id = drawable->surfaces_dest[x]; + if (surface_id == -1) { + continue; + } + surface = &worker->surfaces[surface_id]; + surface->refs++; + } +} + +static inline void red_process_drawable(RedWorker *worker, RedDrawable *drawable, + uint32_t group_id) +{ + int surface_id; + Drawable *item = get_drawable(worker, drawable->effect, drawable, group_id); + + if (!item) { + rendering_incorrect("failed to get_drawable"); + return; + } + + surface_id = item->surface_id; + + worker->surfaces[surface_id].refs++; + + region_add(&item->tree_item.base.rgn, &drawable->bbox); +#ifdef PIPE_DEBUG + printf("TEST: DRAWABLE: id %u type %s effect %u bbox %u %u %u %u\n", + item->tree_item.base.id, + draw_type_to_str(drawable->type), + item->tree_item.effect, + drawable->bbox.top, drawable->bbox.left, drawable->bbox.bottom, drawable->bbox.right); +#endif + + if (drawable->clip.type == SPICE_CLIP_TYPE_RECTS) { + QRegion rgn; + + region_init(&rgn); + add_clip_rects(&rgn, drawable->clip.rects); + region_and(&item->tree_item.base.rgn, &rgn); + region_destroy(&rgn); + } + /* + surface->refs is affected by a drawable (that is + dependent on the surface) as long as the drawable is alive. + However, surface->depend_on_me is affected by a drawable only + as long as it is in the current tree (hasn't been rendered yet). + */ + red_inc_surfaces_drawable_dependencies(worker, item); + + if (region_is_empty(&item->tree_item.base.rgn)) { + goto cleanup; + } + + if (!red_handle_self_bitmap(worker, item)) { + goto cleanup; + } + + if (!red_handle_depends_on_target_surface(worker, surface_id)) { + goto cleanup; + } + + if (!red_handle_surfaces_dependencies(worker, item)) { + goto cleanup; + } + + if (red_current_add_qxl(worker, &worker->surfaces[surface_id].current, item, + drawable)) { + if (item->tree_item.effect != QXL_EFFECT_OPAQUE) { + worker->transparent_count++; + } + red_pipes_add_drawable(worker, item); +#ifdef DRAW_ALL + red_draw_qxl_drawable(worker, item); +#endif + } +cleanup: + release_drawable(worker, item); +} + +static inline void red_create_surface(RedWorker *worker, uint32_t surface_id,uint32_t width, + uint32_t height, int32_t stride, uint32_t format, + void *line_0, int data_is_valid, int send_client); + +static inline void red_process_surface(RedWorker *worker, RedSurfaceCmd *surface, + uint32_t group_id, int loadvm) +{ + int surface_id; + RedSurface *red_surface; + uint8_t *data; + + surface_id = surface->surface_id; + __validate_surface(worker, surface_id); + + red_surface = &worker->surfaces[surface_id]; + + switch (surface->type) { + case QXL_SURFACE_CMD_CREATE: { + uint32_t height = surface->u.surface_create.height; + int32_t stride = surface->u.surface_create.stride; + int reloaded_surface = loadvm || (surface->flags & QXL_SURF_FLAG_KEEP_DATA); + + data = surface->u.surface_create.data; + if (stride < 0) { + data -= (int32_t)(stride * (height - 1)); + } + red_create_surface(worker, surface_id, surface->u.surface_create.width, + height, stride, surface->u.surface_create.format, data, + reloaded_surface, + // reloaded surfaces will be sent on demand + !reloaded_surface); + set_surface_release_info(worker, surface_id, 1, surface->release_info, group_id); + break; + } + case QXL_SURFACE_CMD_DESTROY: + spice_warn_if(!red_surface->context.canvas); + set_surface_release_info(worker, surface_id, 0, surface->release_info, group_id); + red_handle_depends_on_target_surface(worker, surface_id); + /* note that red_handle_depends_on_target_surface must be called before red_current_clear. + otherwise "current" will hold items that other drawables may depend on, and then + red_current_clear will remove them from the pipe. */ + red_current_clear(worker, surface_id); + red_clear_surface_drawables_from_pipes(worker, surface_id, FALSE, FALSE); + red_destroy_surface(worker, surface_id); + break; + default: + spice_error("unknown surface command"); + }; + red_put_surface_cmd(surface); + free(surface); +} + +static SpiceCanvas *image_surfaces_get(SpiceImageSurfaces *surfaces, + uint32_t surface_id) +{ + RedWorker *worker; + + worker = SPICE_CONTAINEROF(surfaces, RedWorker, image_surfaces); + VALIDATE_SURFACE_RETVAL(worker, surface_id, NULL); + + return worker->surfaces[surface_id].context.canvas; +} + +static void image_surface_init(RedWorker *worker) +{ + static SpiceImageSurfacesOps image_surfaces_ops = { + image_surfaces_get, + }; + + worker->image_surfaces.ops = &image_surfaces_ops; +} + +static ImageCacheItem *image_cache_find(ImageCache *cache, uint64_t id) +{ + ImageCacheItem *item = cache->hash_table[id % IMAGE_CACHE_HASH_SIZE]; + + while (item) { + if (item->id == id) { + return item; + } + item = item->next; + } + return NULL; +} + +static int image_cache_hit(ImageCache *cache, uint64_t id) +{ + ImageCacheItem *item; + if (!(item = image_cache_find(cache, id))) { + return FALSE; + } +#ifdef IMAGE_CACHE_AGE + item->age = cache->age; +#endif + ring_remove(&item->lru_link); + ring_add(&cache->lru, &item->lru_link); + return TRUE; +} + +static void image_cache_remove(ImageCache *cache, ImageCacheItem *item) +{ + ImageCacheItem **now; + + now = &cache->hash_table[item->id % IMAGE_CACHE_HASH_SIZE]; + for (;;) { + spice_assert(*now); + if (*now == item) { + *now = item->next; + break; + } + now = &(*now)->next; + } + ring_remove(&item->lru_link); + pixman_image_unref(item->image); + free(item); +#ifndef IMAGE_CACHE_AGE + cache->num_items--; +#endif +} + +#define IMAGE_CACHE_MAX_ITEMS 2 + +static void image_cache_put(SpiceImageCache *spice_cache, uint64_t id, pixman_image_t *image) +{ + ImageCache *cache = (ImageCache *)spice_cache; + ImageCacheItem *item; + +#ifndef IMAGE_CACHE_AGE + if (cache->num_items == IMAGE_CACHE_MAX_ITEMS) { + ImageCacheItem *tail = (ImageCacheItem *)ring_get_tail(&cache->lru); + spice_assert(tail); + image_cache_remove(cache, tail); + } +#endif + + item = spice_new(ImageCacheItem, 1); + item->id = id; +#ifdef IMAGE_CACHE_AGE + item->age = cache->age; +#else + cache->num_items++; +#endif + item->image = pixman_image_ref(image); + ring_item_init(&item->lru_link); + + item->next = cache->hash_table[item->id % IMAGE_CACHE_HASH_SIZE]; + cache->hash_table[item->id % IMAGE_CACHE_HASH_SIZE] = item; + + ring_add(&cache->lru, &item->lru_link); +} + +static pixman_image_t *image_cache_get(SpiceImageCache *spice_cache, uint64_t id) +{ + ImageCache *cache = (ImageCache *)spice_cache; + + ImageCacheItem *item = image_cache_find(cache, id); + if (!item) { + spice_error("not found"); + } + return pixman_image_ref(item->image); +} + +static void image_cache_init(ImageCache *cache) +{ + static SpiceImageCacheOps image_cache_ops = { + image_cache_put, + image_cache_get, + }; + + cache->base.ops = &image_cache_ops; + memset(cache->hash_table, 0, sizeof(cache->hash_table)); + ring_init(&cache->lru); +#ifdef IMAGE_CACHE_AGE + cache->age = 0; +#else + cache->num_items = 0; +#endif +} + +static void image_cache_reset(ImageCache *cache) +{ + ImageCacheItem *item; + + while ((item = (ImageCacheItem *)ring_get_head(&cache->lru))) { + image_cache_remove(cache, item); + } +#ifdef IMAGE_CACHE_AGE + cache->age = 0; +#endif +} + +#define IMAGE_CACHE_DEPTH 4 + +static void image_cache_eaging(ImageCache *cache) +{ +#ifdef IMAGE_CACHE_AGE + ImageCacheItem *item; + + cache->age++; + while ((item = (ImageCacheItem *)ring_get_tail(&cache->lru)) && + cache->age - item->age > IMAGE_CACHE_DEPTH) { + image_cache_remove(cache, item); + } +#endif +} + +static void localize_bitmap(RedWorker *worker, SpiceImage **image_ptr, SpiceImage *image_store, + Drawable *drawable) +{ + SpiceImage *image = *image_ptr; + + if (image == NULL) { + spice_assert(drawable != NULL); + spice_assert(drawable->red_drawable->self_bitmap_image != NULL); + *image_ptr = drawable->red_drawable->self_bitmap_image; + return; + } + + if (image_cache_hit(&worker->image_cache, image->descriptor.id)) { + image_store->descriptor = image->descriptor; + image_store->descriptor.type = SPICE_IMAGE_TYPE_FROM_CACHE; + image_store->descriptor.flags = 0; + *image_ptr = image_store; + return; + } + + switch (image->descriptor.type) { + case SPICE_IMAGE_TYPE_QUIC: { + image_store->descriptor = image->descriptor; + image_store->u.quic = image->u.quic; + *image_ptr = image_store; +#ifdef IMAGE_CACHE_AGE + image_store->descriptor.flags |= SPICE_IMAGE_FLAGS_CACHE_ME; +#else + if (image_store->descriptor.width * image->descriptor.height >= 640 * 480) { + image_store->descriptor.flags |= SPICE_IMAGE_FLAGS_CACHE_ME; + } +#endif + break; + } + case SPICE_IMAGE_TYPE_BITMAP: + case SPICE_IMAGE_TYPE_SURFACE: + /* nothing */ + break; + default: + spice_error("invalid image type"); + } +} + +static void localize_brush(RedWorker *worker, SpiceBrush *brush, SpiceImage *image_store) +{ + if (brush->type == SPICE_BRUSH_TYPE_PATTERN) { + localize_bitmap(worker, &brush->u.pattern.pat, image_store, NULL); + } +} + +static void localize_mask(RedWorker *worker, SpiceQMask *mask, SpiceImage *image_store) +{ + if (mask->bitmap) { + localize_bitmap(worker, &mask->bitmap, image_store, NULL); + } +} + +static void red_draw_qxl_drawable(RedWorker *worker, Drawable *drawable) +{ + RedSurface *surface; + SpiceCanvas *canvas; + SpiceClip clip = drawable->red_drawable->clip; + + surface = &worker->surfaces[drawable->surface_id]; + canvas = surface->context.canvas; + + image_cache_eaging(&worker->image_cache); + + worker->preload_group_id = drawable->group_id; + + region_add(&surface->draw_dirty_region, &drawable->red_drawable->bbox); + + switch (drawable->red_drawable->type) { + case QXL_DRAW_FILL: { + SpiceFill fill = drawable->red_drawable->u.fill; + SpiceImage img1, img2; + localize_brush(worker, &fill.brush, &img1); + localize_mask(worker, &fill.mask, &img2); + canvas->ops->draw_fill(canvas, &drawable->red_drawable->bbox, + &clip, &fill); + break; + } + case QXL_DRAW_OPAQUE: { + SpiceOpaque opaque = drawable->red_drawable->u.opaque; + SpiceImage img1, img2, img3; + localize_brush(worker, &opaque.brush, &img1); + localize_bitmap(worker, &opaque.src_bitmap, &img2, drawable); + localize_mask(worker, &opaque.mask, &img3); + canvas->ops->draw_opaque(canvas, &drawable->red_drawable->bbox, &clip, &opaque); + break; + } + case QXL_DRAW_COPY: { + SpiceCopy copy = drawable->red_drawable->u.copy; + SpiceImage img1, img2; + localize_bitmap(worker, ©.src_bitmap, &img1, drawable); + localize_mask(worker, ©.mask, &img2); + canvas->ops->draw_copy(canvas, &drawable->red_drawable->bbox, + &clip, ©); + break; + } + case QXL_DRAW_TRANSPARENT: { + SpiceTransparent transparent = drawable->red_drawable->u.transparent; + SpiceImage img1; + localize_bitmap(worker, &transparent.src_bitmap, &img1, drawable); + canvas->ops->draw_transparent(canvas, + &drawable->red_drawable->bbox, &clip, &transparent); + break; + } + case QXL_DRAW_ALPHA_BLEND: { + SpiceAlphaBlend alpha_blend = drawable->red_drawable->u.alpha_blend; + SpiceImage img1; + localize_bitmap(worker, &alpha_blend.src_bitmap, &img1, drawable); + canvas->ops->draw_alpha_blend(canvas, + &drawable->red_drawable->bbox, &clip, &alpha_blend); + break; + } + case QXL_COPY_BITS: { + canvas->ops->copy_bits(canvas, &drawable->red_drawable->bbox, + &clip, &drawable->red_drawable->u.copy_bits.src_pos); + break; + } + case QXL_DRAW_BLEND: { + SpiceBlend blend = drawable->red_drawable->u.blend; + SpiceImage img1, img2; + localize_bitmap(worker, &blend.src_bitmap, &img1, drawable); + localize_mask(worker, &blend.mask, &img2); + canvas->ops->draw_blend(canvas, &drawable->red_drawable->bbox, + &clip, &blend); + break; + } + case QXL_DRAW_BLACKNESS: { + SpiceBlackness blackness = drawable->red_drawable->u.blackness; + SpiceImage img1; + localize_mask(worker, &blackness.mask, &img1); + canvas->ops->draw_blackness(canvas, + &drawable->red_drawable->bbox, &clip, &blackness); + break; + } + case QXL_DRAW_WHITENESS: { + SpiceWhiteness whiteness = drawable->red_drawable->u.whiteness; + SpiceImage img1; + localize_mask(worker, &whiteness.mask, &img1); + canvas->ops->draw_whiteness(canvas, + &drawable->red_drawable->bbox, &clip, &whiteness); + break; + } + case QXL_DRAW_INVERS: { + SpiceInvers invers = drawable->red_drawable->u.invers; + SpiceImage img1; + localize_mask(worker, &invers.mask, &img1); + canvas->ops->draw_invers(canvas, + &drawable->red_drawable->bbox, &clip, &invers); + break; + } + case QXL_DRAW_ROP3: { + SpiceRop3 rop3 = drawable->red_drawable->u.rop3; + SpiceImage img1, img2, img3; + localize_brush(worker, &rop3.brush, &img1); + localize_bitmap(worker, &rop3.src_bitmap, &img2, drawable); + localize_mask(worker, &rop3.mask, &img3); + canvas->ops->draw_rop3(canvas, &drawable->red_drawable->bbox, + &clip, &rop3); + break; + } + case QXL_DRAW_COMPOSITE: { + SpiceComposite composite = drawable->red_drawable->u.composite; + SpiceImage src, mask; + localize_bitmap(worker, &composite.src_bitmap, &src, drawable); + if (composite.mask_bitmap) + localize_bitmap(worker, &composite.mask_bitmap, &mask, drawable); + canvas->ops->draw_composite(canvas, &drawable->red_drawable->bbox, + &clip, &composite); + break; + } + case QXL_DRAW_STROKE: { + SpiceStroke stroke = drawable->red_drawable->u.stroke; + SpiceImage img1; + localize_brush(worker, &stroke.brush, &img1); + canvas->ops->draw_stroke(canvas, + &drawable->red_drawable->bbox, &clip, &stroke); + break; + } + case QXL_DRAW_TEXT: { + SpiceText text = drawable->red_drawable->u.text; + SpiceImage img1, img2; + localize_brush(worker, &text.fore_brush, &img1); + localize_brush(worker, &text.back_brush, &img2); + canvas->ops->draw_text(canvas, &drawable->red_drawable->bbox, + &clip, &text); + break; + } + default: + spice_warning("invalid type"); + } +} + +#ifndef DRAW_ALL + +static void red_draw_drawable(RedWorker *worker, Drawable *drawable) +{ +#ifdef UPDATE_AREA_BY_TREE + SpiceCanvas *canvas; + + canvas = surface->context.canvas; + //todo: add need top mask flag + canvas->ops->group_start(canvas, + &drawable->tree_item.base.rgn); +#endif + red_flush_source_surfaces(worker, drawable); + red_draw_qxl_drawable(worker, drawable); +#ifdef UPDATE_AREA_BY_TREE + canvas->ops->group_end(canvas); +#endif +} + +static void validate_area(RedWorker *worker, const SpiceRect *area, uint32_t surface_id) +{ + RedSurface *surface; + + surface = &worker->surfaces[surface_id]; + if (!surface->context.canvas_draws_on_surface) { + SpiceCanvas *canvas = surface->context.canvas; + int h; + int stride = surface->context.stride; + uint8_t *line_0 = surface->context.line_0; + + if (!(h = area->bottom - area->top)) { + return; + } + + spice_assert(stride < 0); + uint8_t *dest = line_0 + (area->top * stride) + area->left * sizeof(uint32_t); + dest += (h - 1) * stride; + canvas->ops->read_bits(canvas, dest, -stride, area); + } +} + +#ifdef UPDATE_AREA_BY_TREE + +static inline void __red_collect_for_update(RedWorker *worker, Ring *ring, RingItem *ring_item, + QRegion *rgn, Ring *items) +{ + Ring *top_ring = ring; + + for (;;) { + TreeItem *now = SPICE_CONTAINEROF(ring_item, TreeItem, siblings_link); + Container *container = now->container; + if (region_intersects(rgn, &now->rgn)) { + if (IS_DRAW_ITEM(now)) { + Drawable *drawable = SPICE_CONTAINEROF(now, Drawable, tree_item); + + ring_add(items, &drawable->collect_link); + region_or(rgn, &now->rgn); + if (drawable->tree_item.shadow) { + region_or(rgn, &drawable->tree_item.shadow->base.rgn); + } + } else if (now->type == TREE_ITEM_TYPE_SHADOW) { + Drawable *owner = SPICE_CONTAINEROF(((Shadow *)now)->owner, Drawable, tree_item); + if (!ring_item_is_linked(&owner->collect_link)) { + region_or(rgn, &now->rgn); + region_or(rgn, &owner->tree_item.base.rgn); + ring_add(items, &owner->collect_link); + } + } else if (now->type == TREE_ITEM_TYPE_CONTAINER) { + Container *container = (Container *)now; + + if ((ring_item = ring_get_head(&container->items))) { + ring = &container->items; + spice_assert(((TreeItem *)ring_item)->container); + continue; + } + ring_item = &now->siblings_link; + } + } + + while (!(ring_item = ring_next(ring, ring_item))) { + if (ring == top_ring) { + return; + } + ring_item = &container->base.siblings_link; + container = container->base.container; + ring = (container) ? &container->items : top_ring; + } + } +} + +static void red_update_area(RedWorker *worker, const SpiceRect *area, int surface_id) +{ + RedSurface *surface; + Ring *ring; + RingItem *ring_item; + Ring items; + QRegion rgn; + + surface = &worker->surfaces[surface_id]; + ring = &surface->current; + + if (!(ring_item = ring_get_head(ring))) { + worker->draw_context.validate_area(surface->context.canvas, + &worker->dev_info.surface0_area, area); + return; + } + + region_init(&rgn); + region_add(&rgn, area); + ring_init(&items); + __red_collect_for_update(worker, ring, ring_item, &rgn, &items); + region_destroy(&rgn); + + while ((ring_item = ring_get_head(&items))) { + Drawable *drawable = SPICE_CONTAINEROF(ring_item, Drawable, collect_link); + Container *container; + + ring_remove(ring_item); + red_draw_drawable(worker, drawable); + container = drawable->tree_item.base.container; + current_remove_drawable(worker, drawable); + container_cleanup(worker, container); + } + validate_area(worker, area, surface_id); +} + +#else + +/* + Renders drawables for updating the requested area, but only drawables that are older + than 'last' (exclusive). +*/ +static void red_update_area_till(RedWorker *worker, const SpiceRect *area, int surface_id, + Drawable *last) +{ + // TODO: if we use UPDATE_AREA_BY_TREE, a corresponding red_update_area_till + // should be implemented + + RedSurface *surface; + Drawable *surface_last = NULL; + Ring *ring; + RingItem *ring_item; + Drawable *now; + QRegion rgn; + + spice_assert(last); + spice_assert(ring_item_is_linked(&last->list_link)); + + surface = &worker->surfaces[surface_id]; + + if (surface_id != last->surface_id) { + // find the nearest older drawable from the appropriate surface + ring = &worker->current_list; + ring_item = &last->list_link; + while ((ring_item = ring_next(ring, ring_item))) { + now = SPICE_CONTAINEROF(ring_item, Drawable, list_link); + if (now->surface_id == surface_id) { + surface_last = now; + break; + } + } + } else { + ring_item = ring_next(&surface->current_list, &last->surface_list_link); + if (ring_item) { + surface_last = SPICE_CONTAINEROF(ring_item, Drawable, surface_list_link); + } + } + + if (!surface_last) { + return; + } + + ring = &surface->current_list; + ring_item = &surface_last->surface_list_link; + + region_init(&rgn); + region_add(&rgn, area); + + // find the first older drawable that intersects with the area + do { + now = SPICE_CONTAINEROF(ring_item, Drawable, surface_list_link); + if (region_intersects(&rgn, &now->tree_item.base.rgn)) { + surface_last = now; + break; + } + } while ((ring_item = ring_next(ring, ring_item))); + + region_destroy(&rgn); + + if (!surface_last) { + return; + } + + do { + Container *container; + + ring_item = ring_get_tail(&surface->current_list); + now = SPICE_CONTAINEROF(ring_item, Drawable, surface_list_link); + now->refs++; + container = now->tree_item.base.container; + current_remove_drawable(worker, now); + container_cleanup(worker, container); + /* red_draw_drawable may call red_update_area for the surfaces 'now' depends on. Notice, + that it is valid to call red_update_area in this case and not red_update_area_till: + It is impossible that there was newer item then 'last' in one of the surfaces + that red_update_area is called for, Otherwise, 'now' would have already been rendered. + See the call for red_handle_depends_on_target_surface in red_process_drawable */ + red_draw_drawable(worker, now); + release_drawable(worker, now); + } while (now != surface_last); + validate_area(worker, area, surface_id); +} + +static void red_update_area(RedWorker *worker, const SpiceRect *area, int surface_id) +{ + RedSurface *surface; + Ring *ring; + RingItem *ring_item; + QRegion rgn; + Drawable *last; + Drawable *now; +#ifdef ACYCLIC_SURFACE_DEBUG + int gn; +#endif + spice_debug("surface %d: area ==>", surface_id); + rect_debug(area); + + spice_return_if_fail(surface_id >= 0 && surface_id < NUM_SURFACES); + spice_return_if_fail(area); + spice_return_if_fail(area->left >= 0 && area->top >= 0 && + area->left < area->right && area->top < area->bottom); + + surface = &worker->surfaces[surface_id]; + + last = NULL; +#ifdef ACYCLIC_SURFACE_DEBUG + gn = ++surface->current_gn; +#endif + ring = &surface->current_list; + ring_item = ring; + + region_init(&rgn); + region_add(&rgn, area); + while ((ring_item = ring_next(ring, ring_item))) { + now = SPICE_CONTAINEROF(ring_item, Drawable, surface_list_link); + if (region_intersects(&rgn, &now->tree_item.base.rgn)) { + last = now; + break; + } + } + region_destroy(&rgn); + + if (!last) { + validate_area(worker, area, surface_id); + return; + } + + do { + Container *container; + + ring_item = ring_get_tail(&surface->current_list); + now = SPICE_CONTAINEROF(ring_item, Drawable, surface_list_link); + now->refs++; + container = now->tree_item.base.container; + current_remove_drawable(worker, now); + container_cleanup(worker, container); + red_draw_drawable(worker, now); + release_drawable(worker, now); +#ifdef ACYCLIC_SURFACE_DEBUG + if (gn != surface->current_gn) { + spice_error("cyclic surface dependencies"); + } +#endif + } while (now != last); + validate_area(worker, area, surface_id); +} + +#endif +#endif + +static inline void free_cursor_item(RedWorker *worker, CursorItem *item); + +static void red_release_cursor(RedWorker *worker, CursorItem *cursor) +{ + if (!--cursor->refs) { + QXLReleaseInfoExt release_info_ext; + RedCursorCmd *cursor_cmd; + + cursor_cmd = cursor->red_cursor; + release_info_ext.group_id = cursor->group_id; + release_info_ext.info = cursor_cmd->release_info; + worker->qxl->st->qif->release_resource(worker->qxl, release_info_ext); + free_cursor_item(worker, cursor); + red_put_cursor_cmd(cursor_cmd); + free(cursor_cmd); + } +} + +static void red_set_cursor(RedWorker *worker, CursorItem *cursor) +{ + if (worker->cursor) { + red_release_cursor(worker, worker->cursor); + } + ++cursor->refs; + worker->cursor = cursor; +} + +#ifdef DEBUG_CURSORS +static int _cursor_count = 0; +#endif + +static inline CursorItem *alloc_cursor_item(RedWorker *worker) +{ + CursorItem *cursor; + + if (!worker->free_cursor_items) { + return NULL; + } +#ifdef DEBUG_CURSORS + --_cursor_count; +#endif + cursor = &worker->free_cursor_items->u.cursor_item; + worker->free_cursor_items = worker->free_cursor_items->u.next; + return cursor; +} + +static inline void free_cursor_item(RedWorker *worker, CursorItem *item) +{ + ((_CursorItem *)item)->u.next = worker->free_cursor_items; + worker->free_cursor_items = (_CursorItem *)item; +#ifdef DEBUG_CURSORS + ++_cursor_count; + spice_assert(_cursor_count <= NUM_CURSORS); +#endif +} + +static void cursor_items_init(RedWorker *worker) +{ + int i; + + worker->free_cursor_items = NULL; + for (i = 0; i < NUM_CURSORS; i++) { + free_cursor_item(worker, &worker->cursor_items[i].u.cursor_item); + } +} + +static CursorItem *get_cursor_item(RedWorker *worker, RedCursorCmd *cmd, uint32_t group_id) +{ + CursorItem *cursor_item; + + spice_warn_if(!(cursor_item = alloc_cursor_item(worker))); + + cursor_item->refs = 1; + cursor_item->group_id = group_id; + cursor_item->red_cursor = cmd; + + return cursor_item; +} + +static CursorPipeItem *ref_cursor_pipe_item(CursorPipeItem *item) +{ + spice_assert(item); + item->refs++; + return item; +} + +static PipeItem *new_cursor_pipe_item(RedChannelClient *rcc, void *data, int num) +{ + CursorPipeItem *item = spice_malloc0(sizeof(CursorPipeItem)); + + red_channel_pipe_item_init(rcc->channel, &item->base, PIPE_ITEM_TYPE_CURSOR); + item->refs = 1; + item->cursor_item = data; + item->cursor_item->refs++; + return &item->base; +} + +static void put_cursor_pipe_item(CursorChannelClient *ccc, CursorPipeItem *pipe_item) +{ + spice_assert(pipe_item); + + if (--pipe_item->refs) { + return; + } + + spice_assert(!pipe_item_is_linked(&pipe_item->base)); + + red_release_cursor(ccc->common.worker, pipe_item->cursor_item); + free(pipe_item); +} + +static void qxl_process_cursor(RedWorker *worker, RedCursorCmd *cursor_cmd, uint32_t group_id) +{ + CursorItem *cursor_item; + int cursor_show = FALSE; + + cursor_item = get_cursor_item(worker, cursor_cmd, group_id); + + switch (cursor_cmd->type) { + case QXL_CURSOR_SET: + worker->cursor_visible = cursor_cmd->u.set.visible; + red_set_cursor(worker, cursor_item); + break; + case QXL_CURSOR_MOVE: + cursor_show = !worker->cursor_visible; + worker->cursor_visible = TRUE; + worker->cursor_position = cursor_cmd->u.position; + break; + case QXL_CURSOR_HIDE: + worker->cursor_visible = FALSE; + break; + case QXL_CURSOR_TRAIL: + worker->cursor_trail_length = cursor_cmd->u.trail.length; + worker->cursor_trail_frequency = cursor_cmd->u.trail.frequency; + break; + default: + spice_error("invalid cursor command %u", cursor_cmd->type); + } + + if (cursor_is_connected(worker) && (worker->mouse_mode == SPICE_MOUSE_MODE_SERVER || + cursor_cmd->type != QXL_CURSOR_MOVE || cursor_show)) { + red_channel_pipes_new_add(&worker->cursor_channel->common.base, new_cursor_pipe_item, + (void*)cursor_item); + } + red_release_cursor(worker, cursor_item); +} + +static inline uint64_t red_now(void) +{ + struct timespec time; + + clock_gettime(CLOCK_MONOTONIC, &time); + + return ((uint64_t) time.tv_sec) * 1000000000 + time.tv_nsec; +} + +static int red_process_cursor(RedWorker *worker, uint32_t max_pipe_size, int *ring_is_empty) +{ + QXLCommandExt ext_cmd; + int n = 0; + + if (!worker->running) { + *ring_is_empty = TRUE; + return n; + } + + *ring_is_empty = FALSE; + while (!cursor_is_connected(worker) || + red_channel_min_pipe_size(&worker->cursor_channel->common.base) <= max_pipe_size) { + if (!worker->qxl->st->qif->get_cursor_command(worker->qxl, &ext_cmd)) { + *ring_is_empty = TRUE; + if (worker->repoll_cursor_ring < CMD_RING_POLL_RETRIES) { + worker->repoll_cursor_ring++; + worker->event_timeout = MIN(worker->event_timeout, CMD_RING_POLL_TIMEOUT); + break; + } + if (worker->repoll_cursor_ring > CMD_RING_POLL_RETRIES || + worker->qxl->st->qif->req_cursor_notification(worker->qxl)) { + worker->repoll_cursor_ring++; + break; + } + continue; + } + worker->repoll_cursor_ring = 0; + switch (ext_cmd.cmd.type) { + case QXL_CMD_CURSOR: { + RedCursorCmd *cursor = spice_new0(RedCursorCmd, 1); + + if (!red_get_cursor_cmd(&worker->mem_slots, ext_cmd.group_id, + cursor, ext_cmd.cmd.data)) { + qxl_process_cursor(worker, cursor, ext_cmd.group_id); + } + break; + } + default: + spice_error("bad command type"); + } + n++; + } + return n; +} + +static RedDrawable *red_drawable_new(void) +{ + RedDrawable * red = spice_new0(RedDrawable, 1); + + red->refs = 1; + return red; +} + +static int red_process_commands(RedWorker *worker, uint32_t max_pipe_size, int *ring_is_empty) +{ + QXLCommandExt ext_cmd; + int n = 0; + uint64_t start = red_now(); + + if (!worker->running) { + *ring_is_empty = TRUE; + return n; + } + + *ring_is_empty = FALSE; + while (!display_is_connected(worker) || + // TODO: change to average pipe size? + red_channel_min_pipe_size(&worker->display_channel->common.base) <= max_pipe_size) { + if (!worker->qxl->st->qif->get_command(worker->qxl, &ext_cmd)) { + *ring_is_empty = TRUE;; + if (worker->repoll_cmd_ring < CMD_RING_POLL_RETRIES) { + worker->repoll_cmd_ring++; + worker->event_timeout = MIN(worker->event_timeout, CMD_RING_POLL_TIMEOUT); + break; + } + if (worker->repoll_cmd_ring > CMD_RING_POLL_RETRIES || + worker->qxl->st->qif->req_cmd_notification(worker->qxl)) { + worker->repoll_cmd_ring++; + break; + } + continue; + } + stat_inc_counter(worker->command_counter, 1); + worker->repoll_cmd_ring = 0; + switch (ext_cmd.cmd.type) { + case QXL_CMD_DRAW: { + RedDrawable *red_drawable = red_drawable_new(); // returns with 1 ref + + if (!red_get_drawable(&worker->mem_slots, ext_cmd.group_id, + red_drawable, ext_cmd.cmd.data, ext_cmd.flags)) { + red_process_drawable(worker, red_drawable, ext_cmd.group_id); + } + // release the red_drawable + put_red_drawable(worker, red_drawable, ext_cmd.group_id); + break; + } + case QXL_CMD_UPDATE: { + RedUpdateCmd update; + QXLReleaseInfoExt release_info_ext; + + if (red_get_update_cmd(&worker->mem_slots, ext_cmd.group_id, + &update, ext_cmd.cmd.data)) { + break; + } + if (!validate_surface(worker, update.surface_id)) { + rendering_incorrect("QXL_CMD_UPDATE"); + break; + } + red_update_area(worker, &update.area, update.surface_id); + worker->qxl->st->qif->notify_update(worker->qxl, update.update_id); + release_info_ext.group_id = ext_cmd.group_id; + release_info_ext.info = update.release_info; + worker->qxl->st->qif->release_resource(worker->qxl, release_info_ext); + red_put_update_cmd(&update); + break; + } + case QXL_CMD_MESSAGE: { + RedMessage message; + QXLReleaseInfoExt release_info_ext; + + if (red_get_message(&worker->mem_slots, ext_cmd.group_id, + &message, ext_cmd.cmd.data)) { + break; + } +#ifdef DEBUG + /* alert: accessing message.data is insecure */ + spice_warning("MESSAGE: %s", message.data); +#endif + release_info_ext.group_id = ext_cmd.group_id; + release_info_ext.info = message.release_info; + worker->qxl->st->qif->release_resource(worker->qxl, release_info_ext); + red_put_message(&message); + break; + } + case QXL_CMD_SURFACE: { + RedSurfaceCmd *surface = spice_new0(RedSurfaceCmd, 1); + + if (red_get_surface_cmd(&worker->mem_slots, ext_cmd.group_id, + surface, ext_cmd.cmd.data)) { + break; + } + red_process_surface(worker, surface, ext_cmd.group_id, FALSE); + break; + } + default: + spice_error("bad command type"); + } + n++; + if ((worker->display_channel && + red_channel_all_blocked(&worker->display_channel->common.base)) + || red_now() - start > 10 * 1000 * 1000) { + worker->event_timeout = 0; + return n; + } + } + return n; +} + +#define RED_RELEASE_BUNCH_SIZE 64 + +static void red_free_some(RedWorker *worker) +{ + int n = 0; + DisplayChannelClient *dcc; + RingItem *item; + + spice_debug("#draw=%d, #red_draw=%d, #glz_draw=%d", worker->drawable_count, + worker->red_drawable_count, worker->glz_drawable_count); + WORKER_FOREACH_DCC(worker, item, dcc) { + GlzSharedDictionary *glz_dict = dcc ? dcc->glz_dict : NULL; + + if (glz_dict) { + // encoding using the dictionary is prevented since the following operations might + // change the dictionary + pthread_rwlock_wrlock(&glz_dict->encode_lock); + n = red_display_free_some_independent_glz_drawables(dcc); + } + } + + while (!ring_is_empty(&worker->current_list) && n++ < RED_RELEASE_BUNCH_SIZE) { + free_one_drawable(worker, TRUE); + } + + WORKER_FOREACH_DCC(worker, item, dcc) { + GlzSharedDictionary *glz_dict = dcc ? dcc->glz_dict : NULL; + + if (glz_dict) { + pthread_rwlock_unlock(&glz_dict->encode_lock); + } + } +} + +static void red_current_flush(RedWorker *worker, int surface_id) +{ + while (!ring_is_empty(&worker->surfaces[surface_id].current_list)) { + free_one_drawable(worker, FALSE); + } + red_current_clear(worker, surface_id); +} + +// adding the pipe item after pos. If pos == NULL, adding to head. +static ImageItem *red_add_surface_area_image(DisplayChannelClient *dcc, int surface_id, + SpiceRect *area, PipeItem *pos, int can_lossy) +{ + DisplayChannel *display_channel = DCC_TO_DC(dcc); + RedWorker *worker = display_channel->common.worker; + RedChannel *channel = &display_channel->common.base; + RedSurface *surface = &worker->surfaces[surface_id]; + SpiceCanvas *canvas = surface->context.canvas; + ImageItem *item; + int stride; + int width; + int height; + int bpp; + int all_set; + + spice_assert(area); + + width = area->right - area->left; + height = area->bottom - area->top; + bpp = SPICE_SURFACE_FMT_DEPTH(surface->context.format) / 8; + stride = width * bpp; + + item = (ImageItem *)spice_malloc_n_m(height, stride, sizeof(ImageItem)); + + red_channel_pipe_item_init(channel, &item->link, PIPE_ITEM_TYPE_IMAGE); + + item->refs = 1; + item->surface_id = surface_id; + item->image_format = + surface_format_to_image_type(surface->context.format); + item->image_flags = 0; + item->pos.x = area->left; + item->pos.y = area->top; + item->width = width; + item->height = height; + item->stride = stride; + item->top_down = surface->context.top_down; + item->can_lossy = can_lossy; + + canvas->ops->read_bits(canvas, item->data, stride, area); + + /* For 32bit non-primary surfaces we need to keep any non-zero + high bytes as the surface may be used as source to an alpha_blend */ + if (!is_primary_surface(worker, surface_id) && + item->image_format == SPICE_BITMAP_FMT_32BIT && + rgb32_data_has_alpha(item->width, item->height, item->stride, item->data, &all_set)) { + if (all_set) { + item->image_flags |= SPICE_IMAGE_FLAGS_HIGH_BITS_SET; + } else { + item->image_format = SPICE_BITMAP_FMT_RGBA; + } + } + + if (!pos) { + red_pipe_add_image_item(dcc, item); + } else { + red_pipe_add_image_item_after(dcc, item, pos); + } + + release_image_item(item); + + return item; +} + +static void red_push_surface_image(DisplayChannelClient *dcc, int surface_id) +{ + SpiceRect area; + RedSurface *surface; + RedWorker *worker; + + if (!dcc) { + return; + } + worker = DCC_TO_WORKER(dcc); + surface = &worker->surfaces[surface_id]; + if (!surface->context.canvas) { + return; + } + area.top = area.left = 0; + area.right = surface->context.width; + area.bottom = surface->context.height; + + /* not allowing lossy compression because probably, especially if it is a primary surface, + it combines both "picture-like" areas with areas that are more "artificial"*/ + red_add_surface_area_image(dcc, surface_id, &area, NULL, FALSE); + red_channel_client_push(&dcc->common.base); +} + +typedef struct { + uint32_t type; + void *data; + uint32_t size; +} AddBufInfo; + +static void marshaller_add_compressed(SpiceMarshaller *m, + RedCompressBuf *comp_buf, size_t size) +{ + size_t max = size; + size_t now; + do { + spice_assert(comp_buf); + now = MIN(sizeof(comp_buf->buf), max); + max -= now; + spice_marshaller_add_ref(m, (uint8_t*)comp_buf->buf, now); + comp_buf = comp_buf->send_next; + } while (max); +} + + +static void add_buf_from_info(SpiceMarshaller *m, AddBufInfo *info) +{ + if (info->data) { + switch (info->type) { + case BUF_TYPE_RAW: + spice_marshaller_add_ref(m, info->data, info->size); + break; + } + } +} + + +static inline void fill_rects_clip(SpiceMarshaller *m, SpiceClipRects *data) +{ + int i; + + spice_marshaller_add_uint32(m, data->num_rects); + for (i = 0; i < data->num_rects; i++) { + spice_marshall_Rect(m, data->rects + i); + } +} + +static void fill_base(SpiceMarshaller *base_marshaller, Drawable *drawable) +{ + SpiceMsgDisplayBase base; + + base.surface_id = drawable->surface_id; + base.box = drawable->red_drawable->bbox; + base.clip = drawable->red_drawable->clip; + + spice_marshall_DisplayBase(base_marshaller, &base); +} + +static inline void fill_palette(DisplayChannelClient *dcc, + SpicePalette *palette, + uint8_t *flags) +{ + if (palette == NULL) { + return; + } + if (palette->unique) { + if (red_palette_cache_find(dcc, palette->unique)) { + *flags |= SPICE_BITMAP_FLAGS_PAL_FROM_CACHE; + return; + } + if (red_palette_cache_add(dcc, palette->unique, 1)) { + *flags |= SPICE_BITMAP_FLAGS_PAL_CACHE_ME; + } + } +} + +static inline RedCompressBuf *red_display_alloc_compress_buf(DisplayChannelClient *dcc) +{ + DisplayChannel *display_channel = DCC_TO_DC(dcc); + RedCompressBuf *ret; + + if (display_channel->free_compress_bufs) { + ret = display_channel->free_compress_bufs; + display_channel->free_compress_bufs = ret->next; + } else { + ret = spice_new(RedCompressBuf, 1); + } + + ret->next = dcc->send_data.used_compress_bufs; + dcc->send_data.used_compress_bufs = ret; + return ret; +} + +static inline void __red_display_free_compress_buf(DisplayChannel *dc, + RedCompressBuf *buf) +{ + buf->next = dc->free_compress_bufs; + dc->free_compress_bufs = buf; +} + +static void red_display_free_compress_buf(DisplayChannelClient *dcc, + RedCompressBuf *buf) +{ + DisplayChannel *display_channel = DCC_TO_DC(dcc); + RedCompressBuf **curr_used = &dcc->send_data.used_compress_bufs; + + for (;;) { + spice_assert(*curr_used); + if (*curr_used == buf) { + *curr_used = buf->next; + break; + } + curr_used = &(*curr_used)->next; + } + __red_display_free_compress_buf(display_channel, buf); +} + +static void red_display_reset_compress_buf(DisplayChannelClient *dcc) +{ + while (dcc->send_data.used_compress_bufs) { + RedCompressBuf *buf = dcc->send_data.used_compress_bufs; + dcc->send_data.used_compress_bufs = buf->next; + __red_display_free_compress_buf(DCC_TO_DC(dcc), buf); + } +} + +static void red_display_destroy_compress_bufs(DisplayChannel *display_channel) +{ + spice_assert(!red_channel_is_connected(&display_channel->common.base)); + while (display_channel->free_compress_bufs) { + RedCompressBuf *buf = display_channel->free_compress_bufs; + display_channel->free_compress_bufs = buf->next; + free(buf); + } +} + +/****************************************************** + * Global lz red drawables routines +*******************************************************/ + +/* if already exists, returns it. Otherwise allocates and adds it (1) to the ring tail + in the channel (2) to the Drawable*/ +static RedGlzDrawable *red_display_get_glz_drawable(DisplayChannelClient *dcc, Drawable *drawable) +{ + RedGlzDrawable *ret; + RingItem *item; + + // TODO - I don't really understand what's going on here, so doing the technical equivalent + // now that we have multiple glz_dicts, so the only way to go from dcc to drawable glz is to go + // over the glz_ring (unless adding some better data structure then a ring) + DRAWABLE_FOREACH_GLZ(drawable, item, ret) { + if (ret->dcc == dcc) { + return ret; + } + } + + ret = spice_new(RedGlzDrawable, 1); + + ret->dcc = dcc; + ret->red_drawable = ref_red_drawable(drawable->red_drawable); + ret->drawable = drawable; + ret->group_id = drawable->group_id; + ret->instances_count = 0; + ring_init(&ret->instances); + + ring_item_init(&ret->link); + ring_item_init(&ret->drawable_link); + ring_add_before(&ret->link, &dcc->glz_drawables); + ring_add(&drawable->glz_ring, &ret->drawable_link); + dcc->common.worker->glz_drawable_count++; + return ret; +} + +/* allocates new instance and adds it to instances in the given drawable. + NOTE - the caller should set the glz_instance returned by the encoder by itself.*/ +static GlzDrawableInstanceItem *red_display_add_glz_drawable_instance(RedGlzDrawable *glz_drawable) +{ + spice_assert(glz_drawable->instances_count < MAX_GLZ_DRAWABLE_INSTANCES); + // NOTE: We assume the additions are performed consecutively, without removals in the middle + GlzDrawableInstanceItem *ret = glz_drawable->instances_pool + glz_drawable->instances_count; + glz_drawable->instances_count++; + + ring_item_init(&ret->free_link); + ring_item_init(&ret->glz_link); + ring_add(&glz_drawable->instances, &ret->glz_link); + ret->glz_instance = NULL; + ret->red_glz_drawable = glz_drawable; + + return ret; +} + +/* Remove from the to_free list and the instances_list. + When no instance is left - the RedGlzDrawable is released too. (and the qxl drawable too, if + it is not used by Drawable). + NOTE - 1) can be called only by the display channel that created the drawable + 2) it is assumed that the instance was already removed from the dictionary*/ +static void red_display_free_glz_drawable_instance(DisplayChannelClient *dcc, + GlzDrawableInstanceItem *glz_drawable_instance) +{ + DisplayChannel *display_channel = DCC_TO_DC(dcc); + RedWorker *worker = display_channel->common.worker; + RedGlzDrawable *glz_drawable; + + spice_assert(glz_drawable_instance); + spice_assert(glz_drawable_instance->red_glz_drawable); + + glz_drawable = glz_drawable_instance->red_glz_drawable; + + spice_assert(glz_drawable->dcc == dcc); + spice_assert(glz_drawable->instances_count); + + ring_remove(&glz_drawable_instance->glz_link); + glz_drawable->instances_count--; + // when the remove callback is performed from the channel that the + // drawable belongs to, the instance is not added to the 'to_free' list + if (ring_item_is_linked(&glz_drawable_instance->free_link)) { + ring_remove(&glz_drawable_instance->free_link); + } + + if (ring_is_empty(&glz_drawable->instances)) { + spice_assert(!glz_drawable->instances_count); + + Drawable *drawable = glz_drawable->drawable; + + if (drawable) { + ring_remove(&glz_drawable->drawable_link); + } + put_red_drawable(worker, glz_drawable->red_drawable, + glz_drawable->group_id); + worker->glz_drawable_count--; + if (ring_item_is_linked(&glz_drawable->link)) { + ring_remove(&glz_drawable->link); + } + free(glz_drawable); + } +} + +static void red_display_handle_glz_drawables_to_free(DisplayChannelClient* dcc) +{ + RingItem *ring_link; + + if (!dcc->glz_dict) { + return; + } + pthread_mutex_lock(&dcc->glz_drawables_inst_to_free_lock); + while ((ring_link = ring_get_head(&dcc->glz_drawables_inst_to_free))) { + GlzDrawableInstanceItem *drawable_instance = SPICE_CONTAINEROF(ring_link, + GlzDrawableInstanceItem, + free_link); + red_display_free_glz_drawable_instance(dcc, drawable_instance); + } + pthread_mutex_unlock(&dcc->glz_drawables_inst_to_free_lock); +} + +/* + * Releases all the instances of the drawable from the dictionary and the display channel client. + * The release of the last instance will also release the drawable itself and the qxl drawable + * if possible. + * NOTE - the caller should prevent encoding using the dictionary during this operation + */ +static void red_display_free_glz_drawable(DisplayChannelClient *dcc, RedGlzDrawable *drawable) +{ + RingItem *head_instance = ring_get_head(&drawable->instances); + int cont = (head_instance != NULL); + + while (cont) { + if (drawable->instances_count == 1) { + /* Last instance: red_display_free_glz_drawable_instance will free the drawable */ + cont = FALSE; + } + GlzDrawableInstanceItem *instance = SPICE_CONTAINEROF(head_instance, + GlzDrawableInstanceItem, + glz_link); + if (!ring_item_is_linked(&instance->free_link)) { + // the instance didn't get out from window yet + glz_enc_dictionary_remove_image(dcc->glz_dict->dict, + instance->glz_instance, + &dcc->glz_data.usr); + } + red_display_free_glz_drawable_instance(dcc, instance); + + if (cont) { + head_instance = ring_get_head(&drawable->instances); + } + } +} + +/* Clear all lz drawables - enforce their removal from the global dictionary. + NOTE - prevents encoding using the dictionary during the operation*/ +static void red_display_client_clear_glz_drawables(DisplayChannelClient *dcc) +{ + RingItem *ring_link; + GlzSharedDictionary *glz_dict = dcc ? dcc->glz_dict : NULL; + + if (!glz_dict) { + return; + } + + // assure no display channel is during global lz encoding + pthread_rwlock_wrlock(&glz_dict->encode_lock); + while ((ring_link = ring_get_head(&dcc->glz_drawables))) { + RedGlzDrawable *drawable = SPICE_CONTAINEROF(ring_link, RedGlzDrawable, link); + // no need to lock the to_free list, since we assured no other thread is encoding and + // thus not other thread access the to_free list of the channel + red_display_free_glz_drawable(dcc, drawable); + } + pthread_rwlock_unlock(&glz_dict->encode_lock); +} + +static void red_display_clear_glz_drawables(DisplayChannel *display_channel) +{ + RingItem *link; + DisplayChannelClient *dcc; + + if (!display_channel) { + return; + } + DCC_FOREACH(link, dcc, &display_channel->common.base) { + red_display_client_clear_glz_drawables(dcc); + } +} + +/* + * Remove from the global lz dictionary some glz_drawables that have no reference to + * Drawable (their qxl drawables are released too). + * NOTE - the caller should prevent encoding using the dictionary during the operation + */ +static int red_display_free_some_independent_glz_drawables(DisplayChannelClient *dcc) +{ + RingItem *ring_link; + int n = 0; + + if (!dcc) { + return 0; + } + ring_link = ring_get_head(&dcc->glz_drawables); + while ((n < RED_RELEASE_BUNCH_SIZE) && (ring_link != NULL)) { + RedGlzDrawable *glz_drawable = SPICE_CONTAINEROF(ring_link, RedGlzDrawable, link); + ring_link = ring_next(&dcc->glz_drawables, ring_link); + if (!glz_drawable->drawable) { + red_display_free_glz_drawable(dcc, glz_drawable); + n++; + } + } + return n; +} + +/****************************************************** + * Encoders callbacks +*******************************************************/ +static SPICE_GNUC_NORETURN SPICE_GNUC_PRINTF(2, 3) void +quic_usr_error(QuicUsrContext *usr, const char *fmt, ...) +{ + EncoderData *usr_data = &(((QuicData *)usr)->data); + va_list ap; + + va_start(ap, fmt); + vsnprintf(usr_data->message_buf, sizeof(usr_data->message_buf), fmt, ap); + va_end(ap); + spice_critical("%s", usr_data->message_buf); + + longjmp(usr_data->jmp_env, 1); +} + +static SPICE_GNUC_NORETURN SPICE_GNUC_PRINTF(2, 3) void +lz_usr_error(LzUsrContext *usr, const char *fmt, ...) +{ + EncoderData *usr_data = &(((LzData *)usr)->data); + va_list ap; + + va_start(ap, fmt); + vsnprintf(usr_data->message_buf, sizeof(usr_data->message_buf), fmt, ap); + va_end(ap); + spice_critical("%s", usr_data->message_buf); + + longjmp(usr_data->jmp_env, 1); +} + +static SPICE_GNUC_PRINTF(2, 3) void glz_usr_error(GlzEncoderUsrContext *usr, const char *fmt, ...) +{ + EncoderData *usr_data = &(((GlzData *)usr)->data); + va_list ap; + + va_start(ap, fmt); + vsnprintf(usr_data->message_buf, sizeof(usr_data->message_buf), fmt, ap); + va_end(ap); + + spice_critical("%s", usr_data->message_buf); // if global lz fails in the middle + // the consequences are not predictable since the window + // can turn to be unsynchronized between the server and + // and the client +} + +static SPICE_GNUC_PRINTF(2, 3) void quic_usr_warn(QuicUsrContext *usr, const char *fmt, ...) +{ + EncoderData *usr_data = &(((QuicData *)usr)->data); + va_list ap; + + va_start(ap, fmt); + vsnprintf(usr_data->message_buf, sizeof(usr_data->message_buf), fmt, ap); + va_end(ap); + spice_warning("%s", usr_data->message_buf); +} + +static SPICE_GNUC_PRINTF(2, 3) void lz_usr_warn(LzUsrContext *usr, const char *fmt, ...) +{ + EncoderData *usr_data = &(((LzData *)usr)->data); + va_list ap; + + va_start(ap, fmt); + vsnprintf(usr_data->message_buf, sizeof(usr_data->message_buf), fmt, ap); + va_end(ap); + spice_warning("%s", usr_data->message_buf); +} + +static SPICE_GNUC_PRINTF(2, 3) void glz_usr_warn(GlzEncoderUsrContext *usr, const char *fmt, ...) +{ + EncoderData *usr_data = &(((GlzData *)usr)->data); + va_list ap; + + va_start(ap, fmt); + vsnprintf(usr_data->message_buf, sizeof(usr_data->message_buf), fmt, ap); + va_end(ap); + spice_warning("%s", usr_data->message_buf); +} + +static void *quic_usr_malloc(QuicUsrContext *usr, int size) +{ + return spice_malloc(size); +} + +static void *lz_usr_malloc(LzUsrContext *usr, int size) +{ + return spice_malloc(size); +} + +static void *glz_usr_malloc(GlzEncoderUsrContext *usr, int size) +{ + return spice_malloc(size); +} + +static void quic_usr_free(QuicUsrContext *usr, void *ptr) +{ + free(ptr); +} + +static void lz_usr_free(LzUsrContext *usr, void *ptr) +{ + free(ptr); +} + +static void glz_usr_free(GlzEncoderUsrContext *usr, void *ptr) +{ + free(ptr); +} + +static inline int encoder_usr_more_space(EncoderData *enc_data, uint32_t **io_ptr) +{ + RedCompressBuf *buf; + + if (!(buf = red_display_alloc_compress_buf(enc_data->dcc))) { + return 0; + } + enc_data->bufs_tail->send_next = buf; + enc_data->bufs_tail = buf; + buf->send_next = NULL; + *io_ptr = buf->buf; + return sizeof(buf->buf) >> 2; +} + +static int quic_usr_more_space(QuicUsrContext *usr, uint32_t **io_ptr, int rows_completed) +{ + EncoderData *usr_data = &(((QuicData *)usr)->data); + return encoder_usr_more_space(usr_data, io_ptr); +} + +static int lz_usr_more_space(LzUsrContext *usr, uint8_t **io_ptr) +{ + EncoderData *usr_data = &(((LzData *)usr)->data); + return (encoder_usr_more_space(usr_data, (uint32_t **)io_ptr) << 2); +} + +static int glz_usr_more_space(GlzEncoderUsrContext *usr, uint8_t **io_ptr) +{ + EncoderData *usr_data = &(((GlzData *)usr)->data); + return (encoder_usr_more_space(usr_data, (uint32_t **)io_ptr) << 2); +} + +static int jpeg_usr_more_space(JpegEncoderUsrContext *usr, uint8_t **io_ptr) +{ + EncoderData *usr_data = &(((JpegData *)usr)->data); + return (encoder_usr_more_space(usr_data, (uint32_t **)io_ptr) << 2); +} + +static int zlib_usr_more_space(ZlibEncoderUsrContext *usr, uint8_t **io_ptr) +{ + EncoderData *usr_data = &(((ZlibData *)usr)->data); + return (encoder_usr_more_space(usr_data, (uint32_t **)io_ptr) << 2); +} + +static inline int encoder_usr_more_lines(EncoderData *enc_data, uint8_t **lines) +{ + struct SpiceChunk *chunk; + + if (enc_data->u.lines_data.reverse) { + if (!(enc_data->u.lines_data.next >= 0)) { + return 0; + } + } else { + if (!(enc_data->u.lines_data.next < enc_data->u.lines_data.chunks->num_chunks)) { + return 0; + } + } + + chunk = &enc_data->u.lines_data.chunks->chunk[enc_data->u.lines_data.next]; + if (chunk->len % enc_data->u.lines_data.stride) { + return 0; + } + + if (enc_data->u.lines_data.reverse) { + enc_data->u.lines_data.next--; + *lines = chunk->data + chunk->len - enc_data->u.lines_data.stride; + } else { + enc_data->u.lines_data.next++; + *lines = chunk->data; + } + + return chunk->len / enc_data->u.lines_data.stride; +} + +static int quic_usr_more_lines(QuicUsrContext *usr, uint8_t **lines) +{ + EncoderData *usr_data = &(((QuicData *)usr)->data); + return encoder_usr_more_lines(usr_data, lines); +} + +static int lz_usr_more_lines(LzUsrContext *usr, uint8_t **lines) +{ + EncoderData *usr_data = &(((LzData *)usr)->data); + return encoder_usr_more_lines(usr_data, lines); +} + +static int glz_usr_more_lines(GlzEncoderUsrContext *usr, uint8_t **lines) +{ + EncoderData *usr_data = &(((GlzData *)usr)->data); + return encoder_usr_more_lines(usr_data, lines); +} + +static int jpeg_usr_more_lines(JpegEncoderUsrContext *usr, uint8_t **lines) +{ + EncoderData *usr_data = &(((JpegData *)usr)->data); + return encoder_usr_more_lines(usr_data, lines); +} + +static int zlib_usr_more_input(ZlibEncoderUsrContext *usr, uint8_t** input) +{ + EncoderData *usr_data = &(((ZlibData *)usr)->data); + int buf_size; + + if (!usr_data->u.compressed_data.next) { + spice_assert(usr_data->u.compressed_data.size_left == 0); + return 0; + } + + *input = (uint8_t*)usr_data->u.compressed_data.next->buf; + buf_size = MIN(sizeof(usr_data->u.compressed_data.next->buf), + usr_data->u.compressed_data.size_left); + + usr_data->u.compressed_data.next = usr_data->u.compressed_data.next->send_next; + usr_data->u.compressed_data.size_left -= buf_size; + return buf_size; +} + +static void glz_usr_free_image(GlzEncoderUsrContext *usr, GlzUsrImageContext *image) +{ + GlzData *lz_data = (GlzData *)usr; + GlzDrawableInstanceItem *glz_drawable_instance = (GlzDrawableInstanceItem *)image; + DisplayChannelClient *drawable_cc = glz_drawable_instance->red_glz_drawable->dcc; + DisplayChannelClient *this_cc = SPICE_CONTAINEROF(lz_data, DisplayChannelClient, glz_data); + if (this_cc == drawable_cc) { + red_display_free_glz_drawable_instance(drawable_cc, glz_drawable_instance); + } else { + /* The glz dictionary is shared between all DisplayChannelClient + * instances that belong to the same client, and glz_usr_free_image + * can be called by the dictionary code + * (glz_dictionary_window_remove_head). Thus this function can be + * called from any DisplayChannelClient thread, hence the need for + * this check. + */ + pthread_mutex_lock(&drawable_cc->glz_drawables_inst_to_free_lock); + ring_add_before(&glz_drawable_instance->free_link, + &drawable_cc->glz_drawables_inst_to_free); + pthread_mutex_unlock(&drawable_cc->glz_drawables_inst_to_free_lock); + } +} + +static inline void red_init_quic(RedWorker *worker) +{ + worker->quic_data.usr.error = quic_usr_error; + worker->quic_data.usr.warn = quic_usr_warn; + worker->quic_data.usr.info = quic_usr_warn; + worker->quic_data.usr.malloc = quic_usr_malloc; + worker->quic_data.usr.free = quic_usr_free; + worker->quic_data.usr.more_space = quic_usr_more_space; + worker->quic_data.usr.more_lines = quic_usr_more_lines; + + worker->quic = quic_create(&worker->quic_data.usr); + + if (!worker->quic) { + spice_critical("create quic failed"); + } +} + +static inline void red_init_lz(RedWorker *worker) +{ + worker->lz_data.usr.error = lz_usr_error; + worker->lz_data.usr.warn = lz_usr_warn; + worker->lz_data.usr.info = lz_usr_warn; + worker->lz_data.usr.malloc = lz_usr_malloc; + worker->lz_data.usr.free = lz_usr_free; + worker->lz_data.usr.more_space = lz_usr_more_space; + worker->lz_data.usr.more_lines = lz_usr_more_lines; + + worker->lz = lz_create(&worker->lz_data.usr); + + if (!worker->lz) { + spice_critical("create lz failed"); + } +} + +/* TODO: split off to DisplayChannel? avoid just copying those cb pointers */ +static inline void red_display_init_glz_data(DisplayChannelClient *dcc) +{ + dcc->glz_data.usr.error = glz_usr_error; + dcc->glz_data.usr.warn = glz_usr_warn; + dcc->glz_data.usr.info = glz_usr_warn; + dcc->glz_data.usr.malloc = glz_usr_malloc; + dcc->glz_data.usr.free = glz_usr_free; + dcc->glz_data.usr.more_space = glz_usr_more_space; + dcc->glz_data.usr.more_lines = glz_usr_more_lines; + dcc->glz_data.usr.free_image = glz_usr_free_image; +} + +static inline void red_init_jpeg(RedWorker *worker) +{ + worker->jpeg_data.usr.more_space = jpeg_usr_more_space; + worker->jpeg_data.usr.more_lines = jpeg_usr_more_lines; + + worker->jpeg = jpeg_encoder_create(&worker->jpeg_data.usr); + + if (!worker->jpeg) { + spice_critical("create jpeg encoder failed"); + } +} + +static inline void red_init_zlib(RedWorker *worker) +{ + worker->zlib_data.usr.more_space = zlib_usr_more_space; + worker->zlib_data.usr.more_input = zlib_usr_more_input; + + worker->zlib = zlib_encoder_create(&worker->zlib_data.usr, ZLIB_DEFAULT_COMPRESSION_LEVEL); + + if (!worker->zlib) { + spice_critical("create zlib encoder failed"); + } +} + +#ifdef __GNUC__ +#define ATTR_PACKED __attribute__ ((__packed__)) +#else +#define ATTR_PACKED +#pragma pack(push) +#pragma pack(1) +#endif + + +typedef struct ATTR_PACKED rgb32_pixel_t { + uint8_t b; + uint8_t g; + uint8_t r; + uint8_t pad; +} rgb32_pixel_t; + +typedef struct ATTR_PACKED rgb24_pixel_t { + uint8_t b; + uint8_t g; + uint8_t r; +} rgb24_pixel_t; + +typedef uint16_t rgb16_pixel_t; + +#ifndef __GNUC__ +#pragma pack(pop) +#endif + +#undef ATTR_PACKED + +#define RED_BITMAP_UTILS_RGB16 +#include "red_bitmap_utils.h" +#define RED_BITMAP_UTILS_RGB24 +#include "red_bitmap_utils.h" +#define RED_BITMAP_UTILS_RGB32 +#include "red_bitmap_utils.h" + +#define GRADUAL_HIGH_RGB24_TH -0.03 +#define GRADUAL_HIGH_RGB16_TH 0 + +// setting a more permissive threshold for stream identification in order +// not to miss streams that were artificially scaled on the guest (e.g., full screen view +// in window media player 12). see red_stream_add_frame +#define GRADUAL_MEDIUM_SCORE_TH 0.002 + +// assumes that stride doesn't overflow +static BitmapGradualType _get_bitmap_graduality_level(RedWorker *worker, SpiceBitmap *bitmap, + uint32_t group_id) +{ + double score = 0.0; + int num_samples = 0; + int num_lines; + double chunk_score = 0.0; + int chunk_num_samples = 0; + uint32_t x, i; + SpiceChunk *chunk; + + chunk = bitmap->data->chunk; + for (i = 0; i < bitmap->data->num_chunks; i++) { + num_lines = chunk[i].len / bitmap->stride; + x = bitmap->x; + switch (bitmap->format) { + case SPICE_BITMAP_FMT_16BIT: + compute_lines_gradual_score_rgb16((rgb16_pixel_t *)chunk[i].data, x, num_lines, + &chunk_score, &chunk_num_samples); + break; + case SPICE_BITMAP_FMT_24BIT: + compute_lines_gradual_score_rgb24((rgb24_pixel_t *)chunk[i].data, x, num_lines, + &chunk_score, &chunk_num_samples); + break; + case SPICE_BITMAP_FMT_32BIT: + case SPICE_BITMAP_FMT_RGBA: + compute_lines_gradual_score_rgb32((rgb32_pixel_t *)chunk[i].data, x, num_lines, + &chunk_score, &chunk_num_samples); + break; + default: + spice_error("invalid bitmap format (not RGB) %u", bitmap->format); + } + score += chunk_score; + num_samples += chunk_num_samples; + } + + spice_assert(num_samples); + score /= num_samples; + + if (bitmap->format == SPICE_BITMAP_FMT_16BIT) { + if (score < GRADUAL_HIGH_RGB16_TH) { + return BITMAP_GRADUAL_HIGH; + } + } else { + if (score < GRADUAL_HIGH_RGB24_TH) { + return BITMAP_GRADUAL_HIGH; + } + } + + if (score < GRADUAL_MEDIUM_SCORE_TH) { + return BITMAP_GRADUAL_MEDIUM; + } else { + return BITMAP_GRADUAL_LOW; + } +} + +static inline int _stride_is_extra(SpiceBitmap *bitmap) +{ + spice_assert(bitmap); + if (bitmap_fmt_is_rgb(bitmap->format)) { + return ((bitmap->x * BITMAP_FMP_BYTES_PER_PIXEL[bitmap->format]) < bitmap->stride); + } else { + switch (bitmap->format) { + case SPICE_BITMAP_FMT_8BIT: + return (bitmap->x < bitmap->stride); + case SPICE_BITMAP_FMT_4BIT_BE: + case SPICE_BITMAP_FMT_4BIT_LE: { + int bytes_width = SPICE_ALIGN(bitmap->x, 2) >> 1; + return bytes_width < bitmap->stride; + } + case SPICE_BITMAP_FMT_1BIT_BE: + case SPICE_BITMAP_FMT_1BIT_LE: { + int bytes_width = SPICE_ALIGN(bitmap->x, 8) >> 3; + return bytes_width < bitmap->stride; + } + default: + spice_error("invalid image type %u", bitmap->format); + return 0; + } + } + return 0; +} + +typedef struct compress_send_data_t { + void* comp_buf; + uint32_t comp_buf_size; + SpicePalette *lzplt_palette; + int is_lossy; +} compress_send_data_t; + +static inline int red_glz_compress_image(DisplayChannelClient *dcc, + SpiceImage *dest, SpiceBitmap *src, Drawable *drawable, + compress_send_data_t* o_comp_data) +{ + DisplayChannel *display_channel = DCC_TO_DC(dcc); + RedWorker *worker = display_channel->common.worker; +#ifdef COMPRESS_STAT + stat_time_t start_time = stat_now(); +#endif + spice_assert(bitmap_fmt_is_rgb(src->format)); + GlzData *glz_data = &dcc->glz_data; + ZlibData *zlib_data; + LzImageType type = MAP_BITMAP_FMT_TO_LZ_IMAGE_TYPE[src->format]; + RedGlzDrawable *glz_drawable; + GlzDrawableInstanceItem *glz_drawable_instance; + int glz_size; + int zlib_size; + + glz_data->data.bufs_tail = red_display_alloc_compress_buf(dcc); + glz_data->data.bufs_head = glz_data->data.bufs_tail; + + if (!glz_data->data.bufs_head) { + return FALSE; + } + + glz_data->data.bufs_head->send_next = NULL; + glz_data->data.dcc = dcc; + + glz_drawable = red_display_get_glz_drawable(dcc, drawable); + glz_drawable_instance = red_display_add_glz_drawable_instance(glz_drawable); + + glz_data->data.u.lines_data.chunks = src->data; + glz_data->data.u.lines_data.stride = src->stride; + glz_data->data.u.lines_data.next = 0; + glz_data->data.u.lines_data.reverse = 0; + glz_data->usr.more_lines = glz_usr_more_lines; + + glz_size = glz_encode(dcc->glz, type, src->x, src->y, + (src->flags & SPICE_BITMAP_FLAGS_TOP_DOWN), NULL, 0, + src->stride, (uint8_t*)glz_data->data.bufs_head->buf, + sizeof(glz_data->data.bufs_head->buf), + glz_drawable_instance, + &glz_drawable_instance->glz_instance); + + stat_compress_add(&display_channel->glz_stat, start_time, src->stride * src->y, glz_size); + + if (!display_channel->enable_zlib_glz_wrap || (glz_size < MIN_GLZ_SIZE_FOR_ZLIB)) { + goto glz; + } +#ifdef COMPRESS_STAT + start_time = stat_now(); +#endif + zlib_data = &worker->zlib_data; + + zlib_data->data.bufs_tail = red_display_alloc_compress_buf(dcc); + zlib_data->data.bufs_head = zlib_data->data.bufs_tail; + + if (!zlib_data->data.bufs_head) { + spice_warning("failed to allocate zlib compress buffer"); + goto glz; + } + + zlib_data->data.bufs_head->send_next = NULL; + zlib_data->data.dcc = dcc; + + zlib_data->data.u.compressed_data.next = glz_data->data.bufs_head; + zlib_data->data.u.compressed_data.size_left = glz_size; + + zlib_size = zlib_encode(worker->zlib, display_channel->zlib_level, + glz_size, (uint8_t*)zlib_data->data.bufs_head->buf, + sizeof(zlib_data->data.bufs_head->buf)); + + // the compressed buffer is bigger than the original data + if (zlib_size >= glz_size) { + while (zlib_data->data.bufs_head) { + RedCompressBuf *buf = zlib_data->data.bufs_head; + zlib_data->data.bufs_head = buf->send_next; + red_display_free_compress_buf(dcc, buf); + } + goto glz; + } + + dest->descriptor.type = SPICE_IMAGE_TYPE_ZLIB_GLZ_RGB; + dest->u.zlib_glz.glz_data_size = glz_size; + dest->u.zlib_glz.data_size = zlib_size; + + o_comp_data->comp_buf = zlib_data->data.bufs_head; + o_comp_data->comp_buf_size = zlib_size; + + stat_compress_add(&display_channel->zlib_glz_stat, start_time, glz_size, zlib_size); + return TRUE; +glz: + dest->descriptor.type = SPICE_IMAGE_TYPE_GLZ_RGB; + dest->u.lz_rgb.data_size = glz_size; + + o_comp_data->comp_buf = glz_data->data.bufs_head; + o_comp_data->comp_buf_size = glz_size; + + return TRUE; +} + +static inline int red_lz_compress_image(DisplayChannelClient *dcc, + SpiceImage *dest, SpiceBitmap *src, + compress_send_data_t* o_comp_data, uint32_t group_id) +{ + DisplayChannel *display_channel = DCC_TO_DC(dcc); + RedWorker *worker = display_channel->common.worker; + LzData *lz_data = &worker->lz_data; + LzContext *lz = worker->lz; + LzImageType type = MAP_BITMAP_FMT_TO_LZ_IMAGE_TYPE[src->format]; + int size; // size of the compressed data + +#ifdef COMPRESS_STAT + stat_time_t start_time = stat_now(); +#endif + + lz_data->data.bufs_tail = red_display_alloc_compress_buf(dcc); + lz_data->data.bufs_head = lz_data->data.bufs_tail; + + if (!lz_data->data.bufs_head) { + return FALSE; + } + + lz_data->data.bufs_head->send_next = NULL; + lz_data->data.dcc = dcc; + + if (setjmp(lz_data->data.jmp_env)) { + while (lz_data->data.bufs_head) { + RedCompressBuf *buf = lz_data->data.bufs_head; + lz_data->data.bufs_head = buf->send_next; + red_display_free_compress_buf(dcc, buf); + } + return FALSE; + } + + lz_data->data.u.lines_data.chunks = src->data; + lz_data->data.u.lines_data.stride = src->stride; + lz_data->data.u.lines_data.next = 0; + lz_data->data.u.lines_data.reverse = 0; + lz_data->usr.more_lines = lz_usr_more_lines; + + size = lz_encode(lz, type, src->x, src->y, + !!(src->flags & SPICE_BITMAP_FLAGS_TOP_DOWN), + NULL, 0, src->stride, + (uint8_t*)lz_data->data.bufs_head->buf, + sizeof(lz_data->data.bufs_head->buf)); + + // the compressed buffer is bigger than the original data + if (size > (src->y * src->stride)) { + longjmp(lz_data->data.jmp_env, 1); + } + + if (bitmap_fmt_is_rgb(src->format)) { + dest->descriptor.type = SPICE_IMAGE_TYPE_LZ_RGB; + dest->u.lz_rgb.data_size = size; + + o_comp_data->comp_buf = lz_data->data.bufs_head; + o_comp_data->comp_buf_size = size; + } else { + /* masks are 1BIT bitmaps without palettes, but they are not compressed + * (see fill_mask) */ + spice_assert(src->palette); + dest->descriptor.type = SPICE_IMAGE_TYPE_LZ_PLT; + dest->u.lz_plt.data_size = size; + dest->u.lz_plt.flags = src->flags & SPICE_BITMAP_FLAGS_TOP_DOWN; + dest->u.lz_plt.palette = src->palette; + dest->u.lz_plt.palette_id = src->palette->unique; + o_comp_data->comp_buf = lz_data->data.bufs_head; + o_comp_data->comp_buf_size = size; + + fill_palette(dcc, dest->u.lz_plt.palette, &(dest->u.lz_plt.flags)); + o_comp_data->lzplt_palette = dest->u.lz_plt.palette; + } + + stat_compress_add(&display_channel->lz_stat, start_time, src->stride * src->y, + o_comp_data->comp_buf_size); + return TRUE; +} + +static int red_jpeg_compress_image(DisplayChannelClient *dcc, SpiceImage *dest, + SpiceBitmap *src, compress_send_data_t* o_comp_data, + uint32_t group_id) +{ + DisplayChannel *display_channel = DCC_TO_DC(dcc); + RedWorker *worker = display_channel->common.worker; + JpegData *jpeg_data = &worker->jpeg_data; + LzData *lz_data = &worker->lz_data; + JpegEncoderContext *jpeg = worker->jpeg; + LzContext *lz = worker->lz; + volatile JpegEncoderImageType jpeg_in_type; + int jpeg_size = 0; + volatile int has_alpha = FALSE; + int alpha_lz_size = 0; + int comp_head_filled; + int comp_head_left; + int stride; + uint8_t *lz_out_start_byte; + +#ifdef COMPRESS_STAT + stat_time_t start_time = stat_now(); +#endif + switch (src->format) { + case SPICE_BITMAP_FMT_16BIT: + jpeg_in_type = JPEG_IMAGE_TYPE_RGB16; + break; + case SPICE_BITMAP_FMT_24BIT: + jpeg_in_type = JPEG_IMAGE_TYPE_BGR24; + break; + case SPICE_BITMAP_FMT_32BIT: + jpeg_in_type = JPEG_IMAGE_TYPE_BGRX32; + break; + case SPICE_BITMAP_FMT_RGBA: + jpeg_in_type = JPEG_IMAGE_TYPE_BGRX32; + has_alpha = TRUE; + break; + default: + return FALSE; + } + + jpeg_data->data.bufs_tail = red_display_alloc_compress_buf(dcc); + jpeg_data->data.bufs_head = jpeg_data->data.bufs_tail; + + if (!jpeg_data->data.bufs_head) { + spice_warning("failed to allocate compress buffer"); + return FALSE; + } + + jpeg_data->data.bufs_head->send_next = NULL; + jpeg_data->data.dcc = dcc; + + if (setjmp(jpeg_data->data.jmp_env)) { + while (jpeg_data->data.bufs_head) { + RedCompressBuf *buf = jpeg_data->data.bufs_head; + jpeg_data->data.bufs_head = buf->send_next; + red_display_free_compress_buf(dcc, buf); + } + return FALSE; + } + + if (src->data->flags & SPICE_CHUNKS_FLAGS_UNSTABLE) { + spice_chunks_linearize(src->data); + } + + jpeg_data->data.u.lines_data.chunks = src->data; + jpeg_data->data.u.lines_data.stride = src->stride; + jpeg_data->usr.more_lines = jpeg_usr_more_lines; + if ((src->flags & SPICE_BITMAP_FLAGS_TOP_DOWN)) { + jpeg_data->data.u.lines_data.next = 0; + jpeg_data->data.u.lines_data.reverse = 0; + stride = src->stride; + } else { + jpeg_data->data.u.lines_data.next = src->data->num_chunks - 1; + jpeg_data->data.u.lines_data.reverse = 1; + stride = -src->stride; + } + jpeg_size = jpeg_encode(jpeg, display_channel->jpeg_quality, jpeg_in_type, + src->x, src->y, NULL, + 0, stride, (uint8_t*)jpeg_data->data.bufs_head->buf, + sizeof(jpeg_data->data.bufs_head->buf)); + + // the compressed buffer is bigger than the original data + if (jpeg_size > (src->y * src->stride)) { + longjmp(jpeg_data->data.jmp_env, 1); + } + + if (!has_alpha) { + dest->descriptor.type = SPICE_IMAGE_TYPE_JPEG; + dest->u.jpeg.data_size = jpeg_size; + + o_comp_data->comp_buf = jpeg_data->data.bufs_head; + o_comp_data->comp_buf_size = jpeg_size; + o_comp_data->is_lossy = TRUE; + + stat_compress_add(&display_channel->jpeg_stat, start_time, src->stride * src->y, + o_comp_data->comp_buf_size); + return TRUE; + } + + lz_data->data.bufs_head = jpeg_data->data.bufs_tail; + lz_data->data.bufs_tail = lz_data->data.bufs_head; + + comp_head_filled = jpeg_size % sizeof(lz_data->data.bufs_head->buf); + comp_head_left = sizeof(lz_data->data.bufs_head->buf) - comp_head_filled; + lz_out_start_byte = ((uint8_t *)lz_data->data.bufs_head->buf) + comp_head_filled; + + lz_data->data.dcc = dcc; + + lz_data->data.u.lines_data.chunks = src->data; + lz_data->data.u.lines_data.stride = src->stride; + lz_data->data.u.lines_data.next = 0; + lz_data->data.u.lines_data.reverse = 0; + lz_data->usr.more_lines = lz_usr_more_lines; + + alpha_lz_size = lz_encode(lz, LZ_IMAGE_TYPE_XXXA, src->x, src->y, + !!(src->flags & SPICE_BITMAP_FLAGS_TOP_DOWN), + NULL, 0, src->stride, + lz_out_start_byte, + comp_head_left); + + // the compressed buffer is bigger than the original data + if ((jpeg_size + alpha_lz_size) > (src->y * src->stride)) { + longjmp(jpeg_data->data.jmp_env, 1); + } + + dest->descriptor.type = SPICE_IMAGE_TYPE_JPEG_ALPHA; + dest->u.jpeg_alpha.flags = 0; + if (src->flags & SPICE_BITMAP_FLAGS_TOP_DOWN) { + dest->u.jpeg_alpha.flags |= SPICE_JPEG_ALPHA_FLAGS_TOP_DOWN; + } + + dest->u.jpeg_alpha.jpeg_size = jpeg_size; + dest->u.jpeg_alpha.data_size = jpeg_size + alpha_lz_size; + + o_comp_data->comp_buf = jpeg_data->data.bufs_head; + o_comp_data->comp_buf_size = jpeg_size + alpha_lz_size; + o_comp_data->is_lossy = TRUE; + stat_compress_add(&display_channel->jpeg_alpha_stat, start_time, src->stride * src->y, + o_comp_data->comp_buf_size); + return TRUE; +} + +static inline int red_quic_compress_image(DisplayChannelClient *dcc, SpiceImage *dest, + SpiceBitmap *src, compress_send_data_t* o_comp_data, + uint32_t group_id) +{ + DisplayChannel *display_channel = DCC_TO_DC(dcc); + RedWorker *worker = display_channel->common.worker; + QuicData *quic_data = &worker->quic_data; + QuicContext *quic = worker->quic; + volatile QuicImageType type; + int size, stride; + +#ifdef COMPRESS_STAT + stat_time_t start_time = stat_now(); +#endif + + switch (src->format) { + case SPICE_BITMAP_FMT_32BIT: + type = QUIC_IMAGE_TYPE_RGB32; + break; + case SPICE_BITMAP_FMT_RGBA: + type = QUIC_IMAGE_TYPE_RGBA; + break; + case SPICE_BITMAP_FMT_16BIT: + type = QUIC_IMAGE_TYPE_RGB16; + break; + case SPICE_BITMAP_FMT_24BIT: + type = QUIC_IMAGE_TYPE_RGB24; + break; + default: + return FALSE; + } + + quic_data->data.bufs_tail = red_display_alloc_compress_buf(dcc); + quic_data->data.bufs_head = quic_data->data.bufs_tail; + + if (!quic_data->data.bufs_head) { + return FALSE; + } + + quic_data->data.bufs_head->send_next = NULL; + quic_data->data.dcc = dcc; + + if (setjmp(quic_data->data.jmp_env)) { + while (quic_data->data.bufs_head) { + RedCompressBuf *buf = quic_data->data.bufs_head; + quic_data->data.bufs_head = buf->send_next; + red_display_free_compress_buf(dcc, buf); + } + return FALSE; + } + + if (src->data->flags & SPICE_CHUNKS_FLAGS_UNSTABLE) { + spice_chunks_linearize(src->data); + } + + quic_data->data.u.lines_data.chunks = src->data; + quic_data->data.u.lines_data.stride = src->stride; + quic_data->usr.more_lines = quic_usr_more_lines; + if ((src->flags & SPICE_BITMAP_FLAGS_TOP_DOWN)) { + quic_data->data.u.lines_data.next = 0; + quic_data->data.u.lines_data.reverse = 0; + stride = src->stride; + } else { + quic_data->data.u.lines_data.next = src->data->num_chunks - 1; + quic_data->data.u.lines_data.reverse = 1; + stride = -src->stride; + } + size = quic_encode(quic, type, src->x, src->y, NULL, 0, stride, + quic_data->data.bufs_head->buf, + sizeof(quic_data->data.bufs_head->buf) >> 2); + + // the compressed buffer is bigger than the original data + if ((size << 2) > (src->y * src->stride)) { + longjmp(quic_data->data.jmp_env, 1); + } + + dest->descriptor.type = SPICE_IMAGE_TYPE_QUIC; + dest->u.quic.data_size = size << 2; + + o_comp_data->comp_buf = quic_data->data.bufs_head; + o_comp_data->comp_buf_size = size << 2; + + stat_compress_add(&display_channel->quic_stat, start_time, src->stride * src->y, + o_comp_data->comp_buf_size); + return TRUE; +} + +#define MIN_SIZE_TO_COMPRESS 54 +#define MIN_DIMENSION_TO_QUIC 3 +static inline int red_compress_image(DisplayChannelClient *dcc, + SpiceImage *dest, SpiceBitmap *src, Drawable *drawable, + int can_lossy, + compress_send_data_t* o_comp_data) +{ + DisplayChannel *display_channel = DCC_TO_DC(dcc); + spice_image_compression_t image_compression = + display_channel->common.worker->image_compression; + int quic_compress = FALSE; + + if ((image_compression == SPICE_IMAGE_COMPRESS_OFF) || + ((src->y * src->stride) < MIN_SIZE_TO_COMPRESS)) { // TODO: change the size cond + return FALSE; + } else if (image_compression == SPICE_IMAGE_COMPRESS_QUIC) { + if (BITMAP_FMT_IS_PLT[src->format]) { + return FALSE; + } else { + quic_compress = TRUE; + } + } else { + /* + lz doesn't handle (1) bitmaps with strides that are larger than the width + of the image in bytes (2) unstable bitmaps + */ + if (_stride_is_extra(src) || (src->data->flags & SPICE_CHUNKS_FLAGS_UNSTABLE)) { + if ((image_compression == SPICE_IMAGE_COMPRESS_LZ) || + (image_compression == SPICE_IMAGE_COMPRESS_GLZ) || + BITMAP_FMT_IS_PLT[src->format]) { + return FALSE; + } else { + quic_compress = TRUE; + } + } else { + if ((image_compression == SPICE_IMAGE_COMPRESS_AUTO_LZ) || + (image_compression == SPICE_IMAGE_COMPRESS_AUTO_GLZ)) { + if ((src->x < MIN_DIMENSION_TO_QUIC) || (src->y < MIN_DIMENSION_TO_QUIC)) { + quic_compress = FALSE; + } else { + if (drawable->copy_bitmap_graduality == BITMAP_GRADUAL_INVALID) { + quic_compress = BITMAP_FMT_HAS_GRADUALITY(src->format) && + (_get_bitmap_graduality_level(display_channel->common.worker, src, + drawable->group_id) == + BITMAP_GRADUAL_HIGH); + } else { + quic_compress = (drawable->copy_bitmap_graduality == BITMAP_GRADUAL_HIGH); + } + } + } else { + quic_compress = FALSE; + } + } + } + + if (quic_compress) { +#ifdef COMPRESS_DEBUG + spice_info("QUIC compress"); +#endif + // if bitmaps is picture-like, compress it using jpeg + if (can_lossy && display_channel->enable_jpeg && + ((image_compression == SPICE_IMAGE_COMPRESS_AUTO_LZ) || + (image_compression == SPICE_IMAGE_COMPRESS_AUTO_GLZ))) { + // if we use lz for alpha, the stride can't be extra + if (src->format != SPICE_BITMAP_FMT_RGBA || !_stride_is_extra(src)) { + return red_jpeg_compress_image(dcc, dest, + src, o_comp_data, drawable->group_id); + } + } + return red_quic_compress_image(dcc, dest, + src, o_comp_data, drawable->group_id); + } else { + int glz; + int ret; + if ((image_compression == SPICE_IMAGE_COMPRESS_AUTO_GLZ) || + (image_compression == SPICE_IMAGE_COMPRESS_GLZ)) { + glz = BITMAP_FMT_HAS_GRADUALITY(src->format) && ( + (src->x * src->y) < glz_enc_dictionary_get_size( + dcc->glz_dict->dict)); + } else if ((image_compression == SPICE_IMAGE_COMPRESS_AUTO_LZ) || + (image_compression == SPICE_IMAGE_COMPRESS_LZ)) { + glz = FALSE; + } else { + spice_error("invalid image compression type %u", image_compression); + return FALSE; + } + + if (glz) { + /* using the global dictionary only if it is not frozen */ + pthread_rwlock_rdlock(&dcc->glz_dict->encode_lock); + if (!dcc->glz_dict->migrate_freeze) { + ret = red_glz_compress_image(dcc, + dest, src, + drawable, o_comp_data); + } else { + glz = FALSE; + } + pthread_rwlock_unlock(&dcc->glz_dict->encode_lock); + } + + if (!glz) { + ret = red_lz_compress_image(dcc, dest, src, o_comp_data, + drawable->group_id); +#ifdef COMPRESS_DEBUG + spice_info("LZ LOCAL compress"); +#endif + } +#ifdef COMPRESS_DEBUG + else { + spice_info("LZ global compress fmt=%d", src->format); + } +#endif + return ret; + } +} + +static inline void red_display_add_image_to_pixmap_cache(RedChannelClient *rcc, + SpiceImage *image, SpiceImage *io_image, + int is_lossy) +{ + DisplayChannel *display_channel = SPICE_CONTAINEROF(rcc->channel, DisplayChannel, common.base); + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + + if ((image->descriptor.flags & SPICE_IMAGE_FLAGS_CACHE_ME)) { + spice_assert(image->descriptor.width * image->descriptor.height > 0); + if (!(io_image->descriptor.flags & SPICE_IMAGE_FLAGS_CACHE_REPLACE_ME)) { + if (pixmap_cache_add(dcc->pixmap_cache, image->descriptor.id, + image->descriptor.width * image->descriptor.height, is_lossy, + dcc)) { + io_image->descriptor.flags |= SPICE_IMAGE_FLAGS_CACHE_ME; + dcc->send_data.pixmap_cache_items[dcc->send_data.num_pixmap_cache_items++] = + image->descriptor.id; + stat_inc_counter(display_channel->add_to_cache_counter, 1); + } + } + } + + if (!(io_image->descriptor.flags & SPICE_IMAGE_FLAGS_CACHE_ME)) { + stat_inc_counter(display_channel->non_cache_counter, 1); + } +} + +typedef enum { + FILL_BITS_TYPE_INVALID, + FILL_BITS_TYPE_CACHE, + FILL_BITS_TYPE_SURFACE, + FILL_BITS_TYPE_COMPRESS_LOSSLESS, + FILL_BITS_TYPE_COMPRESS_LOSSY, + FILL_BITS_TYPE_BITMAP, +} FillBitsType; + +/* if the number of times fill_bits can be called per one qxl_drawable increases - + MAX_LZ_DRAWABLE_INSTANCES must be increased as well */ +static FillBitsType fill_bits(DisplayChannelClient *dcc, SpiceMarshaller *m, + SpiceImage *simage, Drawable *drawable, int can_lossy) +{ + RedChannelClient *rcc = &dcc->common.base; + DisplayChannel *display_channel = SPICE_CONTAINEROF(rcc->channel, DisplayChannel, common.base); + RedWorker *worker = dcc->common.worker; + SpiceImage image; + compress_send_data_t comp_send_data = {0}; + SpiceMarshaller *bitmap_palette_out, *lzplt_palette_out; + + if (simage == NULL) { + spice_assert(drawable->red_drawable->self_bitmap_image); + simage = drawable->red_drawable->self_bitmap_image; + } + + image.descriptor = simage->descriptor; + + if ((simage->descriptor.flags & SPICE_IMAGE_FLAGS_CACHE_ME)) { + int lossy_cache_item; + if (pixmap_cache_hit(dcc->pixmap_cache, image.descriptor.id, + &lossy_cache_item, dcc)) { + dcc->send_data.pixmap_cache_items[dcc->send_data.num_pixmap_cache_items++] = + image.descriptor.id; + if (can_lossy || !lossy_cache_item) { + if (!display_channel->enable_jpeg || lossy_cache_item) { + image.descriptor.type = SPICE_IMAGE_TYPE_FROM_CACHE; + } else { + // making sure, in multiple monitor scenario, that lossy items that + // should have been replaced with lossless data by one display channel, + // will be retrieved as lossless by another display channel. + image.descriptor.type = SPICE_IMAGE_TYPE_FROM_CACHE_LOSSLESS; + } + spice_marshall_Image(m, &image, + &bitmap_palette_out, &lzplt_palette_out); + spice_assert(bitmap_palette_out == NULL); + spice_assert(lzplt_palette_out == NULL); + stat_inc_counter(display_channel->cache_hits_counter, 1); + return FILL_BITS_TYPE_CACHE; + } else { + pixmap_cache_set_lossy(dcc->pixmap_cache, simage->descriptor.id, + FALSE); + image.descriptor.flags |= SPICE_IMAGE_FLAGS_CACHE_REPLACE_ME; + } + } + } + + switch (simage->descriptor.type) { + case SPICE_IMAGE_TYPE_SURFACE: { + int surface_id; + RedSurface *surface; + + surface_id = simage->u.surface.surface_id; + if (!validate_surface(worker, surface_id)) { + rendering_incorrect("SPICE_IMAGE_TYPE_SURFACE"); + return FILL_BITS_TYPE_SURFACE; + } + + surface = &worker->surfaces[surface_id]; + image.descriptor.type = SPICE_IMAGE_TYPE_SURFACE; + image.descriptor.flags = 0; + image.descriptor.width = surface->context.width; + image.descriptor.height = surface->context.height; + + image.u.surface.surface_id = surface_id; + spice_marshall_Image(m, &image, + &bitmap_palette_out, &lzplt_palette_out); + spice_assert(bitmap_palette_out == NULL); + spice_assert(lzplt_palette_out == NULL); + return FILL_BITS_TYPE_SURFACE; + } + case SPICE_IMAGE_TYPE_BITMAP: { + SpiceBitmap *bitmap = &image.u.bitmap; +#ifdef DUMP_BITMAP + dump_bitmap(display_channel->common.worker, &simage->u.bitmap, drawable->group_id); +#endif + /* Images must be added to the cache only after they are compressed + in order to prevent starvation in the client between pixmap_cache and + global dictionary (in cases of multiple monitors) */ + if (!red_compress_image(dcc, &image, &simage->u.bitmap, + drawable, can_lossy, &comp_send_data)) { + SpicePalette *palette; + + red_display_add_image_to_pixmap_cache(rcc, simage, &image, FALSE); + + *bitmap = simage->u.bitmap; + bitmap->flags = bitmap->flags & SPICE_BITMAP_FLAGS_TOP_DOWN; + + palette = bitmap->palette; + fill_palette(dcc, palette, &bitmap->flags); + spice_marshall_Image(m, &image, + &bitmap_palette_out, &lzplt_palette_out); + spice_assert(lzplt_palette_out == NULL); + + if (bitmap_palette_out && palette) { + spice_marshall_Palette(bitmap_palette_out, palette); + } + + spice_marshaller_add_ref_chunks(m, bitmap->data); + return FILL_BITS_TYPE_BITMAP; + } else { + red_display_add_image_to_pixmap_cache(rcc, simage, &image, + comp_send_data.is_lossy); + + spice_marshall_Image(m, &image, + &bitmap_palette_out, &lzplt_palette_out); + spice_assert(bitmap_palette_out == NULL); + + marshaller_add_compressed(m, comp_send_data.comp_buf, + comp_send_data.comp_buf_size); + + if (lzplt_palette_out && comp_send_data.lzplt_palette) { + spice_marshall_Palette(lzplt_palette_out, comp_send_data.lzplt_palette); + } + + spice_assert(!comp_send_data.is_lossy || can_lossy); + return (comp_send_data.is_lossy ? FILL_BITS_TYPE_COMPRESS_LOSSY : + FILL_BITS_TYPE_COMPRESS_LOSSLESS); + } + break; + } + case SPICE_IMAGE_TYPE_QUIC: + red_display_add_image_to_pixmap_cache(rcc, simage, &image, FALSE); + image.u.quic = simage->u.quic; + spice_marshall_Image(m, &image, + &bitmap_palette_out, &lzplt_palette_out); + spice_assert(bitmap_palette_out == NULL); + spice_assert(lzplt_palette_out == NULL); + spice_marshaller_add_ref_chunks(m, image.u.quic.data); + return FILL_BITS_TYPE_COMPRESS_LOSSLESS; + default: + spice_error("invalid image type %u", image.descriptor.type); + } + + return 0; +} + +static void fill_mask(RedChannelClient *rcc, SpiceMarshaller *m, + SpiceImage *mask_bitmap, Drawable *drawable) +{ + DisplayChannel *display_channel = SPICE_CONTAINEROF(rcc->channel, DisplayChannel, common.base); + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + + if (mask_bitmap && m) { + if (display_channel->common.worker->image_compression != SPICE_IMAGE_COMPRESS_OFF) { + spice_image_compression_t save_img_comp = + display_channel->common.worker->image_compression; + display_channel->common.worker->image_compression = SPICE_IMAGE_COMPRESS_OFF; + fill_bits(dcc, m, mask_bitmap, drawable, FALSE); + display_channel->common.worker->image_compression = save_img_comp; + } else { + fill_bits(dcc, m, mask_bitmap, drawable, FALSE); + } + } +} + +static void fill_attr(SpiceMarshaller *m, SpiceLineAttr *attr, uint32_t group_id) +{ + int i; + + if (m && attr->style_nseg) { + for (i = 0 ; i < attr->style_nseg; i++) { + spice_marshaller_add_uint32(m, attr->style[i]); + } + } +} + +static void fill_cursor(CursorChannelClient *ccc, SpiceCursor *red_cursor, + CursorItem *cursor, AddBufInfo *addbuf) +{ + RedCursorCmd *cursor_cmd; + addbuf->data = NULL; + + if (!cursor) { + red_cursor->flags = SPICE_CURSOR_FLAGS_NONE; + return; + } + + cursor_cmd = cursor->red_cursor; + *red_cursor = cursor_cmd->u.set.shape; + + if (red_cursor->header.unique) { + if (red_cursor_cache_find(ccc, red_cursor->header.unique)) { + red_cursor->flags |= SPICE_CURSOR_FLAGS_FROM_CACHE; + return; + } + if (red_cursor_cache_add(ccc, red_cursor->header.unique, 1)) { + red_cursor->flags |= SPICE_CURSOR_FLAGS_CACHE_ME; + } + } + + if (red_cursor->data_size) { + addbuf->type = BUF_TYPE_RAW; + addbuf->data = red_cursor->data; + addbuf->size = red_cursor->data_size; + } +} + +static inline void red_display_reset_send_data(DisplayChannelClient *dcc) +{ + red_display_reset_compress_buf(dcc); + dcc->send_data.free_list.res->count = 0; + dcc->send_data.num_pixmap_cache_items = 0; + memset(dcc->send_data.free_list.sync, 0, sizeof(dcc->send_data.free_list.sync)); +} + +/* set area=NULL for testing the whole surface */ +static int is_surface_area_lossy(DisplayChannelClient *dcc, uint32_t surface_id, + const SpiceRect *area, SpiceRect *out_lossy_area) +{ + RedSurface *surface; + QRegion *surface_lossy_region; + QRegion lossy_region; + RedWorker *worker = dcc->common.worker; + + VALIDATE_SURFACE_RETVAL(worker, surface_id, FALSE); + surface = &worker->surfaces[surface_id]; + surface_lossy_region = &dcc->surface_client_lossy_region[surface_id]; + + if (!area) { + if (region_is_empty(surface_lossy_region)) { + return FALSE; + } else { + out_lossy_area->top = 0; + out_lossy_area->left = 0; + out_lossy_area->bottom = surface->context.height; + out_lossy_area->right = surface->context.width; + return TRUE; + } + } + + region_init(&lossy_region); + region_add(&lossy_region, area); + region_and(&lossy_region, surface_lossy_region); + if (!region_is_empty(&lossy_region)) { + out_lossy_area->left = lossy_region.extents.x1; + out_lossy_area->top = lossy_region.extents.y1; + out_lossy_area->right = lossy_region.extents.x2; + out_lossy_area->bottom = lossy_region.extents.y2; + region_destroy(&lossy_region); + return TRUE; + } else { + return FALSE; + } +} +/* returns if the bitmap was already sent lossy to the client. If the bitmap hasn't been sent yet + to the client, returns false. "area" is for surfaces. If area = NULL, + all the surface is considered. out_lossy_data will hold info about the bitmap, and its lossy + area in case it is lossy and part of a surface. */ +static int is_bitmap_lossy(RedChannelClient *rcc, SpiceImage *image, SpiceRect *area, + Drawable *drawable, BitmapData *out_data) +{ + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + + if (image == NULL) { + // self bitmap + out_data->type = BITMAP_DATA_TYPE_BITMAP; + return FALSE; + } + + if ((image->descriptor.flags & SPICE_IMAGE_FLAGS_CACHE_ME)) { + int is_hit_lossy; + + out_data->id = image->descriptor.id; + if (pixmap_cache_hit(dcc->pixmap_cache, image->descriptor.id, + &is_hit_lossy, dcc)) { + out_data->type = BITMAP_DATA_TYPE_CACHE; + if (is_hit_lossy) { + return TRUE; + } else { + return FALSE; + } + } else { + out_data->type = BITMAP_DATA_TYPE_BITMAP_TO_CACHE; + } + } else { + out_data->type = BITMAP_DATA_TYPE_BITMAP; + } + + if (image->descriptor.type != SPICE_IMAGE_TYPE_SURFACE) { + return FALSE; + } + + out_data->type = BITMAP_DATA_TYPE_SURFACE; + out_data->id = image->u.surface.surface_id; + + if (is_surface_area_lossy(dcc, out_data->id, + area, &out_data->lossy_rect)) + { + return TRUE; + } else { + return FALSE; + } +} + +static int is_brush_lossy(RedChannelClient *rcc, SpiceBrush *brush, + Drawable *drawable, BitmapData *out_data) +{ + if (brush->type == SPICE_BRUSH_TYPE_PATTERN) { + return is_bitmap_lossy(rcc, brush->u.pattern.pat, NULL, + drawable, out_data); + } else { + out_data->type = BITMAP_DATA_TYPE_INVALID; + return FALSE; + } +} + +static void surface_lossy_region_update(RedWorker *worker, DisplayChannelClient *dcc, + Drawable *item, int has_mask, int lossy) +{ + QRegion *surface_lossy_region; + RedDrawable *drawable; + + if (has_mask && !lossy) { + return; + } + + surface_lossy_region = &dcc->surface_client_lossy_region[item->surface_id]; + drawable = item->red_drawable; + + if (drawable->clip.type == SPICE_CLIP_TYPE_RECTS ) { + QRegion clip_rgn; + QRegion draw_region; + region_init(&clip_rgn); + region_init(&draw_region); + region_add(&draw_region, &drawable->bbox); + add_clip_rects(&clip_rgn, drawable->clip.rects); + region_and(&draw_region, &clip_rgn); + if (lossy) { + region_or(surface_lossy_region, &draw_region); + } else { + region_exclude(surface_lossy_region, &draw_region); + } + + region_destroy(&clip_rgn); + region_destroy(&draw_region); + } else { /* no clip */ + if (!lossy) { + region_remove(surface_lossy_region, &drawable->bbox); + } else { + region_add(surface_lossy_region, &drawable->bbox); + } + } +} + +static inline int drawable_intersects_with_areas(Drawable *drawable, int surface_ids[], + SpiceRect *surface_areas[], + int num_surfaces) +{ + int i; + for (i = 0; i < num_surfaces; i++) { + if (surface_ids[i] == drawable->red_drawable->surface_id) { + if (rect_intersects(surface_areas[i], &drawable->red_drawable->bbox)) { + return TRUE; + } + } + } + return FALSE; +} + +static inline int drawable_depends_on_areas(Drawable *drawable, + int surface_ids[], + SpiceRect surface_areas[], + int num_surfaces) +{ + int i; + RedDrawable *red_drawable; + int drawable_has_shadow; + SpiceRect shadow_rect = {0, 0, 0, 0}; + + red_drawable = drawable->red_drawable; + drawable_has_shadow = has_shadow(red_drawable); + + if (drawable_has_shadow) { + int delta_x = red_drawable->u.copy_bits.src_pos.x - red_drawable->bbox.left; + int delta_y = red_drawable->u.copy_bits.src_pos.y - red_drawable->bbox.top; + + shadow_rect.left = red_drawable->u.copy_bits.src_pos.x; + shadow_rect.top = red_drawable->u.copy_bits.src_pos.y; + shadow_rect.right = red_drawable->bbox.right + delta_x; + shadow_rect.bottom = red_drawable->bbox.bottom + delta_y; + } + + for (i = 0; i < num_surfaces; i++) { + int x; + int dep_surface_id; + + for (x = 0; x < 3; ++x) { + dep_surface_id = drawable->surfaces_dest[x]; + if (dep_surface_id == surface_ids[i]) { + if (rect_intersects(&surface_areas[i], &red_drawable->surfaces_rects[x])) { + return TRUE; + } + } + } + + if (surface_ids[i] == red_drawable->surface_id) { + if (drawable_has_shadow) { + if (rect_intersects(&surface_areas[i], &shadow_rect)) { + return TRUE; + } + } + + // not dependent on dest + if (red_drawable->effect == QXL_EFFECT_OPAQUE) { + continue; + } + + if (rect_intersects(&surface_areas[i], &red_drawable->bbox)) { + return TRUE; + } + } + + } + return FALSE; +} + + +static int pipe_rendered_drawables_intersect_with_areas(RedWorker *worker, + DisplayChannelClient *dcc, + int surface_ids[], + SpiceRect *surface_areas[], + int num_surfaces) +{ + PipeItem *pipe_item; + Ring *pipe; + + spice_assert(num_surfaces); + pipe = &dcc->common.base.pipe; + + for (pipe_item = (PipeItem *)ring_get_head(pipe); + pipe_item; + pipe_item = (PipeItem *)ring_next(pipe, &pipe_item->link)) + { + Drawable *drawable; + + if (pipe_item->type != PIPE_ITEM_TYPE_DRAW) + continue; + drawable = SPICE_CONTAINEROF(pipe_item, DrawablePipeItem, dpi_pipe_item)->drawable; + + if (ring_item_is_linked(&drawable->list_link)) + continue; // item hasn't been rendered + + if (drawable_intersects_with_areas(drawable, surface_ids, surface_areas, num_surfaces)) { + return TRUE; + } + } + + return FALSE; +} + +static void red_pipe_replace_rendered_drawables_with_images(RedWorker *worker, + DisplayChannelClient *dcc, + int first_surface_id, + SpiceRect *first_area) +{ + /* TODO: can't have those statics with multiple clients */ + static int resent_surface_ids[MAX_PIPE_SIZE]; + static SpiceRect resent_areas[MAX_PIPE_SIZE]; // not pointers since drawbales may be released + int num_resent; + PipeItem *pipe_item; + Ring *pipe; + + resent_surface_ids[0] = first_surface_id; + resent_areas[0] = *first_area; + num_resent = 1; + + pipe = &dcc->common.base.pipe; + + // going from the oldest to the newest + for (pipe_item = (PipeItem *)ring_get_tail(pipe); + pipe_item; + pipe_item = (PipeItem *)ring_prev(pipe, &pipe_item->link)) { + Drawable *drawable; + DrawablePipeItem *dpi; + ImageItem *image; + + if (pipe_item->type != PIPE_ITEM_TYPE_DRAW) + continue; + dpi = SPICE_CONTAINEROF(pipe_item, DrawablePipeItem, dpi_pipe_item); + drawable = dpi->drawable; + if (ring_item_is_linked(&drawable->list_link)) + continue; // item hasn't been rendered + + // When a drawable command, X, depends on bitmaps that were resent, + // these bitmaps state at the client might not be synchronized with X + // (i.e., the bitmaps can be more futuristic w.r.t X). Thus, X shouldn't + // be rendered at the client, and we replace it with an image as well. + if (!drawable_depends_on_areas(drawable, + resent_surface_ids, + resent_areas, + num_resent)) { + continue; + } + + image = red_add_surface_area_image(dcc, drawable->red_drawable->surface_id, + &drawable->red_drawable->bbox, pipe_item, TRUE); + resent_surface_ids[num_resent] = drawable->red_drawable->surface_id; + resent_areas[num_resent] = drawable->red_drawable->bbox; + num_resent++; + + spice_assert(image); + red_channel_client_pipe_remove_and_release(&dcc->common.base, &dpi->dpi_pipe_item); + pipe_item = &image->link; + } +} + +static void red_add_lossless_drawable_dependencies(RedWorker *worker, + RedChannelClient *rcc, + Drawable *item, + int deps_surfaces_ids[], + SpiceRect *deps_areas[], + int num_deps) +{ + RedDrawable *drawable = item->red_drawable; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + int sync_rendered = FALSE; + int i; + + if (!ring_item_is_linked(&item->list_link)) { + /* drawable was already rendered, we may not be able to retrieve the lossless data + for the lossy areas */ + sync_rendered = TRUE; + + // checking if the drawable itself or one of the other commands + // that were rendered, affected the areas that need to be resent + if (!drawable_intersects_with_areas(item, deps_surfaces_ids, + deps_areas, num_deps)) { + if (pipe_rendered_drawables_intersect_with_areas(worker, dcc, + deps_surfaces_ids, + deps_areas, + num_deps)) { + sync_rendered = TRUE; + } + } else { + sync_rendered = TRUE; + } + } else { + sync_rendered = FALSE; + for (i = 0; i < num_deps; i++) { + red_update_area_till(worker, deps_areas[i], + deps_surfaces_ids[i], item); + } + } + + if (!sync_rendered) { + // pushing the pipe item back to the pipe + red_pipe_add_drawable_to_tail(dcc, item); + // the surfaces areas will be sent as DRAW_COPY commands, that + // will be executed before the current drawable + for (i = 0; i < num_deps; i++) { + red_add_surface_area_image(dcc, deps_surfaces_ids[i], deps_areas[i], + red_pipe_get_tail(dcc), FALSE); + + } + } else { + int drawable_surface_id[1]; + SpiceRect *drawable_bbox[1]; + + drawable_surface_id[0] = drawable->surface_id; + drawable_bbox[0] = &drawable->bbox; + + // check if the other rendered images in the pipe have updated the drawable bbox + if (pipe_rendered_drawables_intersect_with_areas(worker, dcc, + drawable_surface_id, + drawable_bbox, + 1)) { + red_pipe_replace_rendered_drawables_with_images(worker, dcc, + drawable->surface_id, + &drawable->bbox); + } + + red_add_surface_area_image(dcc, drawable->surface_id, &drawable->bbox, + red_pipe_get_tail(dcc), TRUE); + } +} + +static void red_marshall_qxl_draw_fill(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + RedDrawable *drawable = item->red_drawable; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + SpiceMarshaller *brush_pat_out; + SpiceMarshaller *mask_bitmap_out; + SpiceFill fill; + + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_DRAW_FILL, &dpi->dpi_pipe_item); + fill_base(base_marshaller, item); + fill = drawable->u.fill; + spice_marshall_Fill(base_marshaller, + &fill, + &brush_pat_out, + &mask_bitmap_out); + + if (brush_pat_out) { + fill_bits(dcc, brush_pat_out, fill.brush.u.pattern.pat, item, FALSE); + } + + fill_mask(rcc, mask_bitmap_out, fill.mask.bitmap, item); +} + + +static void red_lossy_marshall_qxl_draw_fill(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *m, + DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + RedDrawable *drawable = item->red_drawable; + + int dest_allowed_lossy = FALSE; + int dest_is_lossy = FALSE; + SpiceRect dest_lossy_area; + int brush_is_lossy; + BitmapData brush_bitmap_data; + uint16_t rop; + + rop = drawable->u.fill.rop_descriptor; + + dest_allowed_lossy = !((rop & SPICE_ROPD_OP_OR) || + (rop & SPICE_ROPD_OP_AND) || + (rop & SPICE_ROPD_OP_XOR)); + + brush_is_lossy = is_brush_lossy(rcc, &drawable->u.fill.brush, item, + &brush_bitmap_data); + if (!dest_allowed_lossy) { + dest_is_lossy = is_surface_area_lossy(dcc, item->surface_id, &drawable->bbox, + &dest_lossy_area); + } + + if (!dest_is_lossy && + !(brush_is_lossy && (brush_bitmap_data.type == BITMAP_DATA_TYPE_SURFACE))) { + int has_mask = !!drawable->u.fill.mask.bitmap; + + red_marshall_qxl_draw_fill(worker, rcc, m, dpi); + // either the brush operation is opaque, or the dest is not lossy + surface_lossy_region_update(worker, dcc, item, has_mask, FALSE); + } else { + int resend_surface_ids[2]; + SpiceRect *resend_areas[2]; + int num_resend = 0; + + if (dest_is_lossy) { + resend_surface_ids[num_resend] = item->surface_id; + resend_areas[num_resend] = &dest_lossy_area; + num_resend++; + } + + if (brush_is_lossy && (brush_bitmap_data.type == BITMAP_DATA_TYPE_SURFACE)) { + resend_surface_ids[num_resend] = brush_bitmap_data.id; + resend_areas[num_resend] = &brush_bitmap_data.lossy_rect; + num_resend++; + } + + red_add_lossless_drawable_dependencies(worker, rcc, item, + resend_surface_ids, resend_areas, num_resend); + } +} + +static FillBitsType red_marshall_qxl_draw_opaque(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + DrawablePipeItem *dpi, int src_allowed_lossy) +{ + Drawable *item = dpi->drawable; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + RedDrawable *drawable = item->red_drawable; + SpiceMarshaller *brush_pat_out; + SpiceMarshaller *src_bitmap_out; + SpiceMarshaller *mask_bitmap_out; + SpiceOpaque opaque; + FillBitsType src_send_type; + + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_DRAW_OPAQUE, &dpi->dpi_pipe_item); + fill_base(base_marshaller, item); + opaque = drawable->u.opaque; + spice_marshall_Opaque(base_marshaller, + &opaque, + &src_bitmap_out, + &brush_pat_out, + &mask_bitmap_out); + + src_send_type = fill_bits(dcc, src_bitmap_out, opaque.src_bitmap, item, + src_allowed_lossy); + + if (brush_pat_out) { + fill_bits(dcc, brush_pat_out, opaque.brush.u.pattern.pat, item, FALSE); + } + fill_mask(rcc, mask_bitmap_out, opaque.mask.bitmap, item); + + return src_send_type; +} + +static void red_lossy_marshall_qxl_draw_opaque(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *m, + DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + RedDrawable *drawable = item->red_drawable; + + int src_allowed_lossy; + int rop; + int src_is_lossy = FALSE; + int brush_is_lossy = FALSE; + BitmapData src_bitmap_data; + BitmapData brush_bitmap_data; + + rop = drawable->u.opaque.rop_descriptor; + src_allowed_lossy = !((rop & SPICE_ROPD_OP_OR) || + (rop & SPICE_ROPD_OP_AND) || + (rop & SPICE_ROPD_OP_XOR)); + + brush_is_lossy = is_brush_lossy(rcc, &drawable->u.opaque.brush, item, + &brush_bitmap_data); + + if (!src_allowed_lossy) { + src_is_lossy = is_bitmap_lossy(rcc, drawable->u.opaque.src_bitmap, + &drawable->u.opaque.src_area, + item, + &src_bitmap_data); + } + + if (!(brush_is_lossy && (brush_bitmap_data.type == BITMAP_DATA_TYPE_SURFACE)) && + !(src_is_lossy && (src_bitmap_data.type == BITMAP_DATA_TYPE_SURFACE))) { + FillBitsType src_send_type; + int has_mask = !!drawable->u.opaque.mask.bitmap; + + src_send_type = red_marshall_qxl_draw_opaque(worker, rcc, m, dpi, src_allowed_lossy); + if (src_send_type == FILL_BITS_TYPE_COMPRESS_LOSSY) { + src_is_lossy = TRUE; + } else if (src_send_type == FILL_BITS_TYPE_COMPRESS_LOSSLESS) { + src_is_lossy = FALSE; + } + + surface_lossy_region_update(worker, dcc, item, has_mask, src_is_lossy); + } else { + int resend_surface_ids[2]; + SpiceRect *resend_areas[2]; + int num_resend = 0; + + if (src_is_lossy && (src_bitmap_data.type == BITMAP_DATA_TYPE_SURFACE)) { + resend_surface_ids[num_resend] = src_bitmap_data.id; + resend_areas[num_resend] = &src_bitmap_data.lossy_rect; + num_resend++; + } + + if (brush_is_lossy && (brush_bitmap_data.type == BITMAP_DATA_TYPE_SURFACE)) { + resend_surface_ids[num_resend] = brush_bitmap_data.id; + resend_areas[num_resend] = &brush_bitmap_data.lossy_rect; + num_resend++; + } + + red_add_lossless_drawable_dependencies(worker, rcc, item, + resend_surface_ids, resend_areas, num_resend); + } +} + +static FillBitsType red_marshall_qxl_draw_copy(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + DrawablePipeItem *dpi, int src_allowed_lossy) +{ + Drawable *item = dpi->drawable; + RedDrawable *drawable = item->red_drawable; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + SpiceMarshaller *src_bitmap_out; + SpiceMarshaller *mask_bitmap_out; + SpiceCopy copy; + FillBitsType src_send_type; + + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_DRAW_COPY, &dpi->dpi_pipe_item); + fill_base(base_marshaller, item); + copy = drawable->u.copy; + spice_marshall_Copy(base_marshaller, + ©, + &src_bitmap_out, + &mask_bitmap_out); + + src_send_type = fill_bits(dcc, src_bitmap_out, copy.src_bitmap, item, src_allowed_lossy); + fill_mask(rcc, mask_bitmap_out, copy.mask.bitmap, item); + + return src_send_type; +} + +static void red_lossy_marshall_qxl_draw_copy(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + RedDrawable *drawable = item->red_drawable; + int has_mask = !!drawable->u.copy.mask.bitmap; + int src_is_lossy; + BitmapData src_bitmap_data; + FillBitsType src_send_type; + + src_is_lossy = is_bitmap_lossy(rcc, drawable->u.copy.src_bitmap, + &drawable->u.copy.src_area, item, &src_bitmap_data); + + src_send_type = red_marshall_qxl_draw_copy(worker, rcc, base_marshaller, dpi, TRUE); + if (src_send_type == FILL_BITS_TYPE_COMPRESS_LOSSY) { + src_is_lossy = TRUE; + } else if (src_send_type == FILL_BITS_TYPE_COMPRESS_LOSSLESS) { + src_is_lossy = FALSE; + } + surface_lossy_region_update(worker, dcc, item, has_mask, + src_is_lossy); +} + +static void red_marshall_qxl_draw_transparent(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + RedDrawable *drawable = item->red_drawable; + SpiceMarshaller *src_bitmap_out; + SpiceTransparent transparent; + + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_DRAW_TRANSPARENT, + &dpi->dpi_pipe_item); + fill_base(base_marshaller, item); + transparent = drawable->u.transparent; + spice_marshall_Transparent(base_marshaller, + &transparent, + &src_bitmap_out); + fill_bits(dcc, src_bitmap_out, transparent.src_bitmap, item, FALSE); +} + +static void red_lossy_marshall_qxl_draw_transparent(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + RedDrawable *drawable = item->red_drawable; + int src_is_lossy; + BitmapData src_bitmap_data; + + src_is_lossy = is_bitmap_lossy(rcc, drawable->u.transparent.src_bitmap, + &drawable->u.transparent.src_area, item, &src_bitmap_data); + + if (!src_is_lossy || (src_bitmap_data.type != BITMAP_DATA_TYPE_SURFACE)) { + red_marshall_qxl_draw_transparent(worker, rcc, base_marshaller, dpi); + // don't update surface lossy region since transperent areas might be lossy + } else { + int resend_surface_ids[1]; + SpiceRect *resend_areas[1]; + + resend_surface_ids[0] = src_bitmap_data.id; + resend_areas[0] = &src_bitmap_data.lossy_rect; + + red_add_lossless_drawable_dependencies(worker, rcc, item, + resend_surface_ids, resend_areas, 1); + } +} + +static FillBitsType red_marshall_qxl_draw_alpha_blend(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + DrawablePipeItem *dpi, + int src_allowed_lossy) +{ + Drawable *item = dpi->drawable; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + RedDrawable *drawable = item->red_drawable; + SpiceMarshaller *src_bitmap_out; + SpiceAlphaBlend alpha_blend; + FillBitsType src_send_type; + + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_DRAW_ALPHA_BLEND, + &dpi->dpi_pipe_item); + fill_base(base_marshaller, item); + alpha_blend = drawable->u.alpha_blend; + spice_marshall_AlphaBlend(base_marshaller, + &alpha_blend, + &src_bitmap_out); + src_send_type = fill_bits(dcc, src_bitmap_out, alpha_blend.src_bitmap, item, + src_allowed_lossy); + + return src_send_type; +} + +static void red_lossy_marshall_qxl_draw_alpha_blend(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + RedDrawable *drawable = item->red_drawable; + int src_is_lossy; + BitmapData src_bitmap_data; + FillBitsType src_send_type; + + src_is_lossy = is_bitmap_lossy(rcc, drawable->u.alpha_blend.src_bitmap, + &drawable->u.alpha_blend.src_area, item, &src_bitmap_data); + + src_send_type = red_marshall_qxl_draw_alpha_blend(worker, rcc, base_marshaller, dpi, TRUE); + + if (src_send_type == FILL_BITS_TYPE_COMPRESS_LOSSY) { + src_is_lossy = TRUE; + } else if (src_send_type == FILL_BITS_TYPE_COMPRESS_LOSSLESS) { + src_is_lossy = FALSE; + } + + if (src_is_lossy) { + surface_lossy_region_update(worker, dcc, item, FALSE, src_is_lossy); + } // else, the area stays lossy/lossless as the destination +} + +static void red_marshall_qxl_copy_bits(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + RedDrawable *drawable = item->red_drawable; + SpicePoint copy_bits; + + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_COPY_BITS, &dpi->dpi_pipe_item); + fill_base(base_marshaller, item); + copy_bits = drawable->u.copy_bits.src_pos; + spice_marshall_Point(base_marshaller, + ©_bits); +} + +static void red_lossy_marshall_qxl_copy_bits(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + RedDrawable *drawable = item->red_drawable; + SpiceRect src_rect; + int horz_offset; + int vert_offset; + int src_is_lossy; + SpiceRect src_lossy_area; + + red_marshall_qxl_copy_bits(worker, rcc, base_marshaller, dpi); + + horz_offset = drawable->u.copy_bits.src_pos.x - drawable->bbox.left; + vert_offset = drawable->u.copy_bits.src_pos.y - drawable->bbox.top; + + src_rect.left = drawable->u.copy_bits.src_pos.x; + src_rect.top = drawable->u.copy_bits.src_pos.y; + src_rect.right = drawable->bbox.right + horz_offset; + src_rect.bottom = drawable->bbox.bottom + vert_offset; + + src_is_lossy = is_surface_area_lossy(dcc, item->surface_id, + &src_rect, &src_lossy_area); + + surface_lossy_region_update(worker, dcc, item, FALSE, + src_is_lossy); +} + +static void red_marshall_qxl_draw_blend(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + RedDrawable *drawable = item->red_drawable; + SpiceMarshaller *src_bitmap_out; + SpiceMarshaller *mask_bitmap_out; + SpiceBlend blend; + + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_DRAW_BLEND, &dpi->dpi_pipe_item); + fill_base(base_marshaller, item); + blend = drawable->u.blend; + spice_marshall_Blend(base_marshaller, + &blend, + &src_bitmap_out, + &mask_bitmap_out); + + fill_bits(dcc, src_bitmap_out, blend.src_bitmap, item, FALSE); + + fill_mask(rcc, mask_bitmap_out, blend.mask.bitmap, item); +} + +static void red_lossy_marshall_qxl_draw_blend(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + RedDrawable *drawable = item->red_drawable; + int src_is_lossy; + BitmapData src_bitmap_data; + int dest_is_lossy; + SpiceRect dest_lossy_area; + + src_is_lossy = is_bitmap_lossy(rcc, drawable->u.blend.src_bitmap, + &drawable->u.blend.src_area, item, &src_bitmap_data); + dest_is_lossy = is_surface_area_lossy(dcc, drawable->surface_id, + &drawable->bbox, &dest_lossy_area); + + if (!dest_is_lossy && + (!src_is_lossy || (src_bitmap_data.type != BITMAP_DATA_TYPE_SURFACE))) { + red_marshall_qxl_draw_blend(worker, rcc, base_marshaller, dpi); + } else { + int resend_surface_ids[2]; + SpiceRect *resend_areas[2]; + int num_resend = 0; + + if (src_is_lossy && (src_bitmap_data.type == BITMAP_DATA_TYPE_SURFACE)) { + resend_surface_ids[num_resend] = src_bitmap_data.id; + resend_areas[num_resend] = &src_bitmap_data.lossy_rect; + num_resend++; + } + + if (dest_is_lossy) { + resend_surface_ids[num_resend] = item->surface_id; + resend_areas[num_resend] = &dest_lossy_area; + num_resend++; + } + + red_add_lossless_drawable_dependencies(worker, rcc, item, + resend_surface_ids, resend_areas, num_resend); + } +} + +static void red_marshall_qxl_draw_blackness(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + RedDrawable *drawable = item->red_drawable; + SpiceMarshaller *mask_bitmap_out; + SpiceBlackness blackness; + + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_DRAW_BLACKNESS, &dpi->dpi_pipe_item); + fill_base(base_marshaller, item); + blackness = drawable->u.blackness; + + spice_marshall_Blackness(base_marshaller, + &blackness, + &mask_bitmap_out); + + fill_mask(rcc, mask_bitmap_out, blackness.mask.bitmap, item); +} + +static void red_lossy_marshall_qxl_draw_blackness(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + RedDrawable *drawable = item->red_drawable; + int has_mask = !!drawable->u.blackness.mask.bitmap; + + red_marshall_qxl_draw_blackness(worker, rcc, base_marshaller, dpi); + + surface_lossy_region_update(worker, dcc, item, has_mask, FALSE); +} + +static void red_marshall_qxl_draw_whiteness(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + RedDrawable *drawable = item->red_drawable; + SpiceMarshaller *mask_bitmap_out; + SpiceWhiteness whiteness; + + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_DRAW_WHITENESS, &dpi->dpi_pipe_item); + fill_base(base_marshaller, item); + whiteness = drawable->u.whiteness; + + spice_marshall_Whiteness(base_marshaller, + &whiteness, + &mask_bitmap_out); + + fill_mask(rcc, mask_bitmap_out, whiteness.mask.bitmap, item); +} + +static void red_lossy_marshall_qxl_draw_whiteness(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + RedDrawable *drawable = item->red_drawable; + int has_mask = !!drawable->u.whiteness.mask.bitmap; + + red_marshall_qxl_draw_whiteness(worker, rcc, base_marshaller, dpi); + + surface_lossy_region_update(worker, dcc, item, has_mask, FALSE); +} + +static void red_marshall_qxl_draw_inverse(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + Drawable *item) +{ + RedDrawable *drawable = item->red_drawable; + SpiceMarshaller *mask_bitmap_out; + SpiceInvers inverse; + + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_DRAW_INVERS, NULL); + fill_base(base_marshaller, item); + inverse = drawable->u.invers; + + spice_marshall_Invers(base_marshaller, + &inverse, + &mask_bitmap_out); + + fill_mask(rcc, mask_bitmap_out, inverse.mask.bitmap, item); +} + +static void red_lossy_marshall_qxl_draw_inverse(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + Drawable *item) +{ + red_marshall_qxl_draw_inverse(worker, rcc, base_marshaller, item); +} + +static void red_marshall_qxl_draw_rop3(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + RedDrawable *drawable = item->red_drawable; + SpiceRop3 rop3; + SpiceMarshaller *src_bitmap_out; + SpiceMarshaller *brush_pat_out; + SpiceMarshaller *mask_bitmap_out; + + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_DRAW_ROP3, &dpi->dpi_pipe_item); + fill_base(base_marshaller, item); + rop3 = drawable->u.rop3; + spice_marshall_Rop3(base_marshaller, + &rop3, + &src_bitmap_out, + &brush_pat_out, + &mask_bitmap_out); + + fill_bits(dcc, src_bitmap_out, rop3.src_bitmap, item, FALSE); + + if (brush_pat_out) { + fill_bits(dcc, brush_pat_out, rop3.brush.u.pattern.pat, item, FALSE); + } + fill_mask(rcc, mask_bitmap_out, rop3.mask.bitmap, item); +} + +static void red_lossy_marshall_qxl_draw_rop3(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + RedDrawable *drawable = item->red_drawable; + int src_is_lossy; + BitmapData src_bitmap_data; + int brush_is_lossy; + BitmapData brush_bitmap_data; + int dest_is_lossy; + SpiceRect dest_lossy_area; + + src_is_lossy = is_bitmap_lossy(rcc, drawable->u.rop3.src_bitmap, + &drawable->u.rop3.src_area, item, &src_bitmap_data); + brush_is_lossy = is_brush_lossy(rcc, &drawable->u.rop3.brush, item, + &brush_bitmap_data); + dest_is_lossy = is_surface_area_lossy(dcc, drawable->surface_id, + &drawable->bbox, &dest_lossy_area); + + if ((!src_is_lossy || (src_bitmap_data.type != BITMAP_DATA_TYPE_SURFACE)) && + (!brush_is_lossy || (brush_bitmap_data.type != BITMAP_DATA_TYPE_SURFACE)) && + !dest_is_lossy) { + int has_mask = !!drawable->u.rop3.mask.bitmap; + red_marshall_qxl_draw_rop3(worker, rcc, base_marshaller, dpi); + surface_lossy_region_update(worker, dcc, item, has_mask, FALSE); + } else { + int resend_surface_ids[3]; + SpiceRect *resend_areas[3]; + int num_resend = 0; + + if (src_is_lossy && (src_bitmap_data.type == BITMAP_DATA_TYPE_SURFACE)) { + resend_surface_ids[num_resend] = src_bitmap_data.id; + resend_areas[num_resend] = &src_bitmap_data.lossy_rect; + num_resend++; + } + + if (brush_is_lossy && (brush_bitmap_data.type == BITMAP_DATA_TYPE_SURFACE)) { + resend_surface_ids[num_resend] = brush_bitmap_data.id; + resend_areas[num_resend] = &brush_bitmap_data.lossy_rect; + num_resend++; + } + + if (dest_is_lossy) { + resend_surface_ids[num_resend] = item->surface_id; + resend_areas[num_resend] = &dest_lossy_area; + num_resend++; + } + + red_add_lossless_drawable_dependencies(worker, rcc, item, + resend_surface_ids, resend_areas, num_resend); + } +} + +static void red_marshall_qxl_draw_composite(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + RedDrawable *drawable = item->red_drawable; + SpiceMarshaller *src_bitmap_out; + SpiceMarshaller *mask_bitmap_out; + SpiceComposite composite; + + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_DRAW_COMPOSITE, &dpi->dpi_pipe_item); + fill_base(base_marshaller, item); + composite = drawable->u.composite; + spice_marshall_Composite(base_marshaller, + &composite, + &src_bitmap_out, + &mask_bitmap_out); + + fill_bits(dcc, src_bitmap_out, composite.src_bitmap, item, FALSE); + if (mask_bitmap_out) { + fill_bits(dcc, mask_bitmap_out, composite.mask_bitmap, item, FALSE); + } +} + +static void red_lossy_marshall_qxl_draw_composite(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + RedDrawable *drawable = item->red_drawable; + int src_is_lossy; + BitmapData src_bitmap_data; + int mask_is_lossy; + BitmapData mask_bitmap_data; + int dest_is_lossy; + SpiceRect dest_lossy_area; + + src_is_lossy = is_bitmap_lossy(rcc, drawable->u.composite.src_bitmap, + NULL, item, &src_bitmap_data); + mask_is_lossy = drawable->u.composite.mask_bitmap && + is_bitmap_lossy(rcc, drawable->u.composite.mask_bitmap, NULL, item, &mask_bitmap_data); + + dest_is_lossy = is_surface_area_lossy(dcc, drawable->surface_id, + &drawable->bbox, &dest_lossy_area); + + if ((!src_is_lossy || (src_bitmap_data.type != BITMAP_DATA_TYPE_SURFACE)) && + (!mask_is_lossy || (mask_bitmap_data.type != BITMAP_DATA_TYPE_SURFACE)) && + !dest_is_lossy) { + red_marshall_qxl_draw_composite(worker, rcc, base_marshaller, dpi); + surface_lossy_region_update(worker, dcc, item, FALSE, FALSE); + } + else { + int resend_surface_ids[3]; + SpiceRect *resend_areas[3]; + int num_resend = 0; + + if (src_is_lossy && (src_bitmap_data.type == BITMAP_DATA_TYPE_SURFACE)) { + resend_surface_ids[num_resend] = src_bitmap_data.id; + resend_areas[num_resend] = &src_bitmap_data.lossy_rect; + num_resend++; + } + + if (mask_is_lossy && (mask_bitmap_data.type == BITMAP_DATA_TYPE_SURFACE)) { + resend_surface_ids[num_resend] = mask_bitmap_data.id; + resend_areas[num_resend] = &mask_bitmap_data.lossy_rect; + num_resend++; + } + + if (dest_is_lossy) { + resend_surface_ids[num_resend] = item->surface_id; + resend_areas[num_resend] = &dest_lossy_area; + num_resend++; + } + + red_add_lossless_drawable_dependencies(worker, rcc, item, + resend_surface_ids, resend_areas, num_resend); + } +} + +static void red_marshall_qxl_draw_stroke(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + RedDrawable *drawable = item->red_drawable; + SpiceStroke stroke; + SpiceMarshaller *brush_pat_out; + SpiceMarshaller *style_out; + + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_DRAW_STROKE, &dpi->dpi_pipe_item); + fill_base(base_marshaller, item); + stroke = drawable->u.stroke; + spice_marshall_Stroke(base_marshaller, + &stroke, + &style_out, + &brush_pat_out); + + fill_attr(style_out, &stroke.attr, item->group_id); + if (brush_pat_out) { + fill_bits(dcc, brush_pat_out, stroke.brush.u.pattern.pat, item, FALSE); + } +} + +static void red_lossy_marshall_qxl_draw_stroke(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + RedDrawable *drawable = item->red_drawable; + int brush_is_lossy; + BitmapData brush_bitmap_data; + int dest_is_lossy = FALSE; + SpiceRect dest_lossy_area; + int rop; + + brush_is_lossy = is_brush_lossy(rcc, &drawable->u.stroke.brush, item, + &brush_bitmap_data); + + // back_mode is not used at the client. Ignoring. + rop = drawable->u.stroke.fore_mode; + + // assuming that if the brush type is solid, the destination can + // be lossy, no matter what the rop is. + if (drawable->u.stroke.brush.type != SPICE_BRUSH_TYPE_SOLID && + ((rop & SPICE_ROPD_OP_OR) || (rop & SPICE_ROPD_OP_AND) || + (rop & SPICE_ROPD_OP_XOR))) { + dest_is_lossy = is_surface_area_lossy(dcc, drawable->surface_id, + &drawable->bbox, &dest_lossy_area); + } + + if (!dest_is_lossy && + (!brush_is_lossy || (brush_bitmap_data.type != BITMAP_DATA_TYPE_SURFACE))) + { + red_marshall_qxl_draw_stroke(worker, rcc, base_marshaller, dpi); + } else { + int resend_surface_ids[2]; + SpiceRect *resend_areas[2]; + int num_resend = 0; + + if (brush_is_lossy && (brush_bitmap_data.type == BITMAP_DATA_TYPE_SURFACE)) { + resend_surface_ids[num_resend] = brush_bitmap_data.id; + resend_areas[num_resend] = &brush_bitmap_data.lossy_rect; + num_resend++; + } + + // TODO: use the path in order to resend smaller areas + if (dest_is_lossy) { + resend_surface_ids[num_resend] = drawable->surface_id; + resend_areas[num_resend] = &dest_lossy_area; + num_resend++; + } + + red_add_lossless_drawable_dependencies(worker, rcc, item, + resend_surface_ids, resend_areas, num_resend); + } +} + +static void red_marshall_qxl_draw_text(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + RedDrawable *drawable = item->red_drawable; + SpiceText text; + SpiceMarshaller *brush_pat_out; + SpiceMarshaller *back_brush_pat_out; + + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_DRAW_TEXT, &dpi->dpi_pipe_item); + fill_base(base_marshaller, item); + text = drawable->u.text; + spice_marshall_Text(base_marshaller, + &text, + &brush_pat_out, + &back_brush_pat_out); + + if (brush_pat_out) { + fill_bits(dcc, brush_pat_out, text.fore_brush.u.pattern.pat, item, FALSE); + } + if (back_brush_pat_out) { + fill_bits(dcc, back_brush_pat_out, text.back_brush.u.pattern.pat, item, FALSE); + } +} + +static void red_lossy_marshall_qxl_draw_text(RedWorker *worker, + RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + RedDrawable *drawable = item->red_drawable; + int fg_is_lossy; + BitmapData fg_bitmap_data; + int bg_is_lossy; + BitmapData bg_bitmap_data; + int dest_is_lossy = FALSE; + SpiceRect dest_lossy_area; + int rop = 0; + + fg_is_lossy = is_brush_lossy(rcc, &drawable->u.text.fore_brush, item, + &fg_bitmap_data); + bg_is_lossy = is_brush_lossy(rcc, &drawable->u.text.back_brush, item, + &bg_bitmap_data); + + // assuming that if the brush type is solid, the destination can + // be lossy, no matter what the rop is. + if (drawable->u.text.fore_brush.type != SPICE_BRUSH_TYPE_SOLID) { + rop = drawable->u.text.fore_mode; + } + + if (drawable->u.text.back_brush.type != SPICE_BRUSH_TYPE_SOLID) { + rop |= drawable->u.text.back_mode; + } + + if ((rop & SPICE_ROPD_OP_OR) || (rop & SPICE_ROPD_OP_AND) || + (rop & SPICE_ROPD_OP_XOR)) { + dest_is_lossy = is_surface_area_lossy(dcc, drawable->surface_id, + &drawable->bbox, &dest_lossy_area); + } + + if (!dest_is_lossy && + (!fg_is_lossy || (fg_bitmap_data.type != BITMAP_DATA_TYPE_SURFACE)) && + (!bg_is_lossy || (bg_bitmap_data.type != BITMAP_DATA_TYPE_SURFACE))) { + red_marshall_qxl_draw_text(worker, rcc, base_marshaller, dpi); + } else { + int resend_surface_ids[3]; + SpiceRect *resend_areas[3]; + int num_resend = 0; + + if (fg_is_lossy && (fg_bitmap_data.type == BITMAP_DATA_TYPE_SURFACE)) { + resend_surface_ids[num_resend] = fg_bitmap_data.id; + resend_areas[num_resend] = &fg_bitmap_data.lossy_rect; + num_resend++; + } + + if (bg_is_lossy && (bg_bitmap_data.type == BITMAP_DATA_TYPE_SURFACE)) { + resend_surface_ids[num_resend] = bg_bitmap_data.id; + resend_areas[num_resend] = &bg_bitmap_data.lossy_rect; + num_resend++; + } + + if (dest_is_lossy) { + resend_surface_ids[num_resend] = drawable->surface_id; + resend_areas[num_resend] = &dest_lossy_area; + num_resend++; + } + red_add_lossless_drawable_dependencies(worker, rcc, item, + resend_surface_ids, resend_areas, num_resend); + } +} + +static void red_lossy_marshall_qxl_drawable(RedWorker *worker, RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + switch (item->red_drawable->type) { + case QXL_DRAW_FILL: + red_lossy_marshall_qxl_draw_fill(worker, rcc, base_marshaller, dpi); + break; + case QXL_DRAW_OPAQUE: + red_lossy_marshall_qxl_draw_opaque(worker, rcc, base_marshaller, dpi); + break; + case QXL_DRAW_COPY: + red_lossy_marshall_qxl_draw_copy(worker, rcc, base_marshaller, dpi); + break; + case QXL_DRAW_TRANSPARENT: + red_lossy_marshall_qxl_draw_transparent(worker, rcc, base_marshaller, dpi); + break; + case QXL_DRAW_ALPHA_BLEND: + red_lossy_marshall_qxl_draw_alpha_blend(worker, rcc, base_marshaller, dpi); + break; + case QXL_COPY_BITS: + red_lossy_marshall_qxl_copy_bits(worker, rcc, base_marshaller, dpi); + break; + case QXL_DRAW_BLEND: + red_lossy_marshall_qxl_draw_blend(worker, rcc, base_marshaller, dpi); + break; + case QXL_DRAW_BLACKNESS: + red_lossy_marshall_qxl_draw_blackness(worker, rcc, base_marshaller, dpi); + break; + case QXL_DRAW_WHITENESS: + red_lossy_marshall_qxl_draw_whiteness(worker, rcc, base_marshaller, dpi); + break; + case QXL_DRAW_INVERS: + red_lossy_marshall_qxl_draw_inverse(worker, rcc, base_marshaller, item); + break; + case QXL_DRAW_ROP3: + red_lossy_marshall_qxl_draw_rop3(worker, rcc, base_marshaller, dpi); + break; + case QXL_DRAW_COMPOSITE: + red_lossy_marshall_qxl_draw_composite(worker, rcc, base_marshaller, dpi); + break; + case QXL_DRAW_STROKE: + red_lossy_marshall_qxl_draw_stroke(worker, rcc, base_marshaller, dpi); + break; + case QXL_DRAW_TEXT: + red_lossy_marshall_qxl_draw_text(worker, rcc, base_marshaller, dpi); + break; + default: + spice_error("invalid type"); + } +} + +static inline void red_marshall_qxl_drawable(RedWorker *worker, RedChannelClient *rcc, + SpiceMarshaller *m, DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + RedDrawable *drawable = item->red_drawable; + + switch (drawable->type) { + case QXL_DRAW_FILL: + red_marshall_qxl_draw_fill(worker, rcc, m, dpi); + break; + case QXL_DRAW_OPAQUE: + red_marshall_qxl_draw_opaque(worker, rcc, m, dpi, FALSE); + break; + case QXL_DRAW_COPY: + red_marshall_qxl_draw_copy(worker, rcc, m, dpi, FALSE); + break; + case QXL_DRAW_TRANSPARENT: + red_marshall_qxl_draw_transparent(worker, rcc, m, dpi); + break; + case QXL_DRAW_ALPHA_BLEND: + red_marshall_qxl_draw_alpha_blend(worker, rcc, m, dpi, FALSE); + break; + case QXL_COPY_BITS: + red_marshall_qxl_copy_bits(worker, rcc, m, dpi); + break; + case QXL_DRAW_BLEND: + red_marshall_qxl_draw_blend(worker, rcc, m, dpi); + break; + case QXL_DRAW_BLACKNESS: + red_marshall_qxl_draw_blackness(worker, rcc, m, dpi); + break; + case QXL_DRAW_WHITENESS: + red_marshall_qxl_draw_whiteness(worker, rcc, m, dpi); + break; + case QXL_DRAW_INVERS: + red_marshall_qxl_draw_inverse(worker, rcc, m, item); + break; + case QXL_DRAW_ROP3: + red_marshall_qxl_draw_rop3(worker, rcc, m, dpi); + break; + case QXL_DRAW_STROKE: + red_marshall_qxl_draw_stroke(worker, rcc, m, dpi); + break; + case QXL_DRAW_COMPOSITE: + red_marshall_qxl_draw_composite(worker, rcc, m, dpi); + break; + case QXL_DRAW_TEXT: + red_marshall_qxl_draw_text(worker, rcc, m, dpi); + break; + default: + spice_error("invalid type"); + } +} + +static void display_channel_push_release(DisplayChannelClient *dcc, uint8_t type, uint64_t id, + uint64_t* sync_data) +{ + FreeList *free_list = &dcc->send_data.free_list; + int i; + + for (i = 0; i < MAX_CACHE_CLIENTS; i++) { + free_list->sync[i] = MAX(free_list->sync[i], sync_data[i]); + } + + if (free_list->res->count == free_list->res_size) { + SpiceResourceList *new_list; + new_list = spice_malloc(sizeof(*new_list) + + free_list->res_size * sizeof(SpiceResourceID) * 2); + new_list->count = free_list->res->count; + memcpy(new_list->resources, free_list->res->resources, + new_list->count * sizeof(SpiceResourceID)); + free(free_list->res); + free_list->res = new_list; + free_list->res_size *= 2; + } + free_list->res->resources[free_list->res->count].type = type; + free_list->res->resources[free_list->res->count++].id = id; +} + +static inline void display_marshal_sub_msg_inval_list(SpiceMarshaller *m, + FreeList *free_list) +{ + /* type + size + submessage */ + spice_marshaller_add_uint16(m, SPICE_MSG_DISPLAY_INVAL_LIST); + spice_marshaller_add_uint32(m, sizeof(*free_list->res) + + free_list->res->count * sizeof(free_list->res->resources[0])); + spice_marshall_msg_display_inval_list(m, free_list->res); +} + +static inline void display_marshal_sub_msg_inval_list_wait(SpiceMarshaller *m, + FreeList *free_list) + +{ + /* type + size + submessage */ + spice_marshaller_add_uint16(m, SPICE_MSG_WAIT_FOR_CHANNELS); + spice_marshaller_add_uint32(m, sizeof(free_list->wait.header) + + free_list->wait.header.wait_count * sizeof(free_list->wait.buf[0])); + spice_marshall_msg_wait_for_channels(m, &free_list->wait.header); +} + +/* use legacy SpiceDataHeader (with sub_list) */ +static inline void display_channel_send_free_list_legacy(RedChannelClient *rcc) +{ + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + FreeList *free_list = &dcc->send_data.free_list; + SpiceMarshaller *marshaller; + int sub_list_len = 1; + SpiceMarshaller *wait_m = NULL; + SpiceMarshaller *inval_m; + SpiceMarshaller *sub_list_m; + + marshaller = red_channel_client_get_marshaller(rcc); + inval_m = spice_marshaller_get_submarshaller(marshaller); + + display_marshal_sub_msg_inval_list(inval_m, free_list); + + if (free_list->wait.header.wait_count) { + wait_m = spice_marshaller_get_submarshaller(marshaller); + display_marshal_sub_msg_inval_list_wait(wait_m, free_list); + sub_list_len++; + } + + sub_list_m = spice_marshaller_get_submarshaller(marshaller); + spice_marshaller_add_uint16(sub_list_m, sub_list_len); + if (wait_m) { + spice_marshaller_add_uint32(sub_list_m, spice_marshaller_get_offset(wait_m)); + } + spice_marshaller_add_uint32(sub_list_m, spice_marshaller_get_offset(inval_m)); + red_channel_client_set_header_sub_list(rcc, spice_marshaller_get_offset(sub_list_m)); +} + +/* use mini header and SPICE_MSG_LIST */ +static inline void display_channel_send_free_list(RedChannelClient *rcc) +{ + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + FreeList *free_list = &dcc->send_data.free_list; + int sub_list_len = 1; + SpiceMarshaller *urgent_marshaller; + SpiceMarshaller *wait_m = NULL; + SpiceMarshaller *inval_m; + uint32_t sub_arr_offset; + uint32_t wait_offset = 0; + uint32_t inval_offset = 0; + int i; + + urgent_marshaller = red_channel_client_switch_to_urgent_sender(rcc); + for (i = 0; i < dcc->send_data.num_pixmap_cache_items; i++) { + int dummy; + /* When using the urgent marshaller, the serial number of the message that is + * going to be sent right after the SPICE_MSG_LIST, is increased by one. + * But all this message pixmaps cache references used its old serial. + * we use pixmap_cache_items to collect these pixmaps, and we update their serial + * by calling pixmap_cache_hit. */ + pixmap_cache_hit(dcc->pixmap_cache, dcc->send_data.pixmap_cache_items[i], + &dummy, dcc); + } + + if (free_list->wait.header.wait_count) { + red_channel_client_init_send_data(rcc, SPICE_MSG_LIST, NULL); + } else { /* only one message, no need for a list */ + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_INVAL_LIST, NULL); + spice_marshall_msg_display_inval_list(urgent_marshaller, free_list->res); + return; + } + + inval_m = spice_marshaller_get_submarshaller(urgent_marshaller); + display_marshal_sub_msg_inval_list(inval_m, free_list); + + if (free_list->wait.header.wait_count) { + wait_m = spice_marshaller_get_submarshaller(urgent_marshaller); + display_marshal_sub_msg_inval_list_wait(wait_m, free_list); + sub_list_len++; + } + + sub_arr_offset = sub_list_len * sizeof(uint32_t); + + spice_marshaller_add_uint16(urgent_marshaller, sub_list_len); + inval_offset = spice_marshaller_get_offset(inval_m); // calc the offset before + // adding the sub list + // offsets array to the marshaller + /* adding the array of offsets */ + if (wait_m) { + wait_offset = spice_marshaller_get_offset(wait_m); + spice_marshaller_add_uint32(urgent_marshaller, wait_offset + sub_arr_offset); + } + spice_marshaller_add_uint32(urgent_marshaller, inval_offset + sub_arr_offset); +} + +static inline void display_begin_send_message(RedChannelClient *rcc) +{ + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + FreeList *free_list = &dcc->send_data.free_list; + + if (free_list->res->count) { + int sync_count = 0; + int i; + + for (i = 0; i < MAX_CACHE_CLIENTS; i++) { + if (i != dcc->common.id && free_list->sync[i] != 0) { + free_list->wait.header.wait_list[sync_count].channel_type = SPICE_CHANNEL_DISPLAY; + free_list->wait.header.wait_list[sync_count].channel_id = i; + free_list->wait.header.wait_list[sync_count++].message_serial = free_list->sync[i]; + } + } + free_list->wait.header.wait_count = sync_count; + + if (rcc->is_mini_header) { + display_channel_send_free_list(rcc); + } else { + display_channel_send_free_list_legacy(rcc); + } + } + red_channel_client_begin_send_message(rcc); +} + +static inline uint8_t *red_get_image_line(RedWorker *worker, SpiceChunks *chunks, size_t *offset, + int *chunk_nr, int stride) +{ + uint8_t *ret; + SpiceChunk *chunk; + + chunk = &chunks->chunk[*chunk_nr]; + + if (*offset == chunk->len) { + if (*chunk_nr == chunks->num_chunks - 1) { + return NULL; /* Last chunk */ + } + *offset = 0; + (*chunk_nr)++; + chunk = &chunks->chunk[*chunk_nr]; + } + + if (chunk->len - *offset < stride) { + spice_warning("bad chunk alignment"); + return NULL; + } + ret = chunk->data + *offset; + *offset += stride; + return ret; +} + +static int encode_frame (RedWorker *worker, const SpiceRect *src, + const SpiceBitmap *image, Stream *stream) +{ + SpiceChunks *chunks; + uint32_t image_stride; + size_t offset; + int i, chunk; + + chunks = image->data; + offset = 0; + chunk = 0; + image_stride = image->stride; + + const int skip_lines = stream->top_down ? src->top : image->y - (src->bottom - 0); + for (i = 0; i < skip_lines; i++) { + red_get_image_line(worker, chunks, &offset, &chunk, image_stride); + } + + const unsigned int stream_height = src->bottom - src->top; + const unsigned int stream_width = src->right - src->left; + + for (i = 0; i < stream_height; i++) { + uint8_t *src_line = + (uint8_t *)red_get_image_line(worker, chunks, &offset, &chunk, image_stride); + + if (!src_line) { + return FALSE; + } + + src_line += src->left * mjpeg_encoder_get_bytes_per_pixel(stream->mjpeg_encoder); + if (mjpeg_encoder_encode_scanline(stream->mjpeg_encoder, src_line, stream_width) == 0) + return FALSE; + } + + return TRUE; +} + +static inline int red_marshall_stream_data(RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, Drawable *drawable) +{ + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + DisplayChannel *display_channel = SPICE_CONTAINEROF(rcc->channel, DisplayChannel, common.base); + Stream *stream = drawable->stream; + SpiceImage *image; + RedWorker *worker = dcc->common.worker; + int n; + int width, height; + + if (!stream) { + spice_assert(drawable->sized_stream); + stream = drawable->sized_stream; + } + spice_assert(drawable->red_drawable->type == QXL_DRAW_COPY); + + worker = display_channel->common.worker; + image = drawable->red_drawable->u.copy.src_bitmap; + + if (image->descriptor.type != SPICE_IMAGE_TYPE_BITMAP) { + return FALSE; + } + + if (drawable->sized_stream) { + if (red_channel_client_test_remote_cap(rcc, SPICE_DISPLAY_CAP_SIZED_STREAM)) { + SpiceRect *src_rect = &drawable->red_drawable->u.copy.src_area; + + width = src_rect->right - src_rect->left; + height = src_rect->bottom - src_rect->top; + } else { + return FALSE; + } + } else { + width = stream->width; + height = stream->height; + } + + StreamAgent *agent = &dcc->stream_agents[get_stream_id(worker, stream)]; + uint64_t time_now = red_now(); + size_t outbuf_size; + if (time_now - agent->last_send_time < (1000 * 1000 * 1000) / agent->fps) { + agent->frames--; + return TRUE; + } + + outbuf_size = dcc->send_data.stream_outbuf_size; + if (!mjpeg_encoder_start_frame(stream->mjpeg_encoder, image->u.bitmap.format, + width, height, + &dcc->send_data.stream_outbuf, + &outbuf_size)) { + return FALSE; + } + if (!encode_frame(worker, &drawable->red_drawable->u.copy.src_area, + &image->u.bitmap, stream)) { + return FALSE; + } + n = mjpeg_encoder_end_frame(stream->mjpeg_encoder); + dcc->send_data.stream_outbuf_size = outbuf_size; + + if (!drawable->sized_stream) { + SpiceMsgDisplayStreamData stream_data; + + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_STREAM_DATA, NULL); + + stream_data.base.id = get_stream_id(worker, stream); + stream_data.base.multi_media_time = drawable->red_drawable->mm_time; + stream_data.data_size = n; + + spice_marshall_msg_display_stream_data(base_marshaller, &stream_data); + } else { + SpiceMsgDisplayStreamDataSized stream_data; + + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_STREAM_DATA_SIZED, NULL); + + stream_data.base.id = get_stream_id(worker, stream); + stream_data.base.multi_media_time = drawable->red_drawable->mm_time; + stream_data.data_size = n; + stream_data.width = width; + stream_data.height = height; + stream_data.dest = drawable->red_drawable->bbox; + + spice_debug("stream %d: sized frame: dest ==> ", stream_data.base.id); + rect_debug(&stream_data.dest); + spice_marshall_msg_display_stream_data_sized(base_marshaller, &stream_data); + } + spice_marshaller_add_ref(base_marshaller, + dcc->send_data.stream_outbuf, n); + agent->last_send_time = time_now; + return TRUE; +} + +static inline void marshall_qxl_drawable(RedChannelClient *rcc, + SpiceMarshaller *m, DrawablePipeItem *dpi) +{ + Drawable *item = dpi->drawable; + DisplayChannel *display_channel = SPICE_CONTAINEROF(rcc->channel, DisplayChannel, common.base); + + spice_assert(display_channel && rcc); + /* allow sized frames to be streamed, even if they where replaced by another frame, since + * newer frames might not cover sized frames completely if they are bigger */ + if ((item->stream || item->sized_stream) && red_marshall_stream_data(rcc, m, item)) { + return; + } + if (!display_channel->enable_jpeg) + red_marshall_qxl_drawable(display_channel->common.worker, rcc, m, dpi); + else + red_lossy_marshall_qxl_drawable(display_channel->common.worker, rcc, m, dpi); +} + +static inline void red_marshall_verb(RedChannelClient *rcc, uint16_t verb) +{ + spice_assert(rcc); + red_channel_client_init_send_data(rcc, verb, NULL); +} + +static inline void red_marshall_inval(RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, CacheItem *cach_item) +{ + SpiceMsgDisplayInvalOne inval_one; + + red_channel_client_init_send_data(rcc, cach_item->inval_type, NULL); + inval_one.id = *(uint64_t *)&cach_item->id; + + spice_marshall_msg_cursor_inval_one(base_marshaller, &inval_one); +} + +static void display_channel_marshall_migrate_data_surfaces(DisplayChannelClient *dcc, + SpiceMarshaller *m, + int lossy) +{ + SpiceMarshaller *m2 = spice_marshaller_get_ptr_submarshaller(m, 0); + uint32_t *num_surfaces_created; + uint32_t i; + + num_surfaces_created = (uint32_t *)spice_marshaller_reserve_space(m2, sizeof(uint32_t)); + *num_surfaces_created = 0; + for (i = 0; i < NUM_SURFACES; i++) { + SpiceRect lossy_rect; + + if (!dcc->surface_client_created[i]) { + continue; + } + spice_marshaller_add_uint32(m2, i); + (*num_surfaces_created)++; + + if (!lossy) { + continue; + } + region_extents(&dcc->surface_client_lossy_region[i], &lossy_rect); + spice_marshaller_add_int32(m2, lossy_rect.left); + spice_marshaller_add_int32(m2, lossy_rect.top); + spice_marshaller_add_int32(m2, lossy_rect.right); + spice_marshaller_add_int32(m2, lossy_rect.bottom); + } +} + +static void display_channel_marshall_migrate_data(RedChannelClient *rcc, + SpiceMarshaller *base_marshaller) +{ + DisplayChannel *display_channel; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + SpiceMigrateDataDisplay display_data = {0,}; + + display_channel = SPICE_CONTAINEROF(rcc->channel, DisplayChannel, common.base); + + red_channel_client_init_send_data(rcc, SPICE_MSG_MIGRATE_DATA, NULL); + spice_marshaller_add_uint32(base_marshaller, SPICE_MIGRATE_DATA_DISPLAY_MAGIC); + spice_marshaller_add_uint32(base_marshaller, SPICE_MIGRATE_DATA_DISPLAY_VERSION); + + spice_assert(dcc->pixmap_cache); + spice_assert(MIGRATE_DATA_DISPLAY_MAX_CACHE_CLIENTS == 4 && + MIGRATE_DATA_DISPLAY_MAX_CACHE_CLIENTS == MAX_CACHE_CLIENTS); + + display_data.message_serial = red_channel_client_get_message_serial(rcc); + display_data.low_bandwidth_setting = display_channel_client_is_low_bandwidth(dcc); + + display_data.pixmap_cache_freezer = pixmap_cache_freeze(dcc->pixmap_cache); + display_data.pixmap_cache_id = dcc->pixmap_cache->id; + display_data.pixmap_cache_size = dcc->pixmap_cache->size; + memcpy(display_data.pixmap_cache_clients, dcc->pixmap_cache->sync, + sizeof(display_data.pixmap_cache_clients)); + + spice_assert(dcc->glz_dict); + red_freeze_glz(dcc); + display_data.glz_dict_id = dcc->glz_dict->id; + glz_enc_dictionary_get_restore_data(dcc->glz_dict->dict, + &display_data.glz_dict_data, + &dcc->glz_data.usr); + + /* all data besided the surfaces ref */ + spice_marshaller_add(base_marshaller, + (uint8_t *)&display_data, sizeof(display_data) - sizeof(uint32_t)); + display_channel_marshall_migrate_data_surfaces(dcc, base_marshaller, + display_channel->enable_jpeg); +} + +static void display_channel_marshall_pixmap_sync(RedChannelClient *rcc, + SpiceMarshaller *base_marshaller) +{ + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + SpiceMsgWaitForChannels wait; + PixmapCache *pixmap_cache; + + red_channel_client_init_send_data(rcc, SPICE_MSG_WAIT_FOR_CHANNELS, NULL); + pixmap_cache = dcc->pixmap_cache; + + pthread_mutex_lock(&pixmap_cache->lock); + + wait.wait_count = 1; + wait.wait_list[0].channel_type = SPICE_CHANNEL_DISPLAY; + wait.wait_list[0].channel_id = pixmap_cache->generation_initiator.client; + wait.wait_list[0].message_serial = pixmap_cache->generation_initiator.message; + dcc->pixmap_cache_generation = pixmap_cache->generation; + dcc->pending_pixmaps_sync = FALSE; + + pthread_mutex_unlock(&pixmap_cache->lock); + + spice_marshall_msg_wait_for_channels(base_marshaller, &wait); +} + +static void display_channel_marshall_reset_cache(RedChannelClient *rcc, + SpiceMarshaller *base_marshaller) +{ + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + SpiceMsgWaitForChannels wait; + + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_INVAL_ALL_PIXMAPS, NULL); + pixmap_cache_reset(dcc->pixmap_cache, dcc, &wait); + + spice_marshall_msg_display_inval_all_pixmaps(base_marshaller, + &wait); +} + +static void red_marshall_image(RedChannelClient *rcc, SpiceMarshaller *m, ImageItem *item) +{ + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + DisplayChannel *display_channel = DCC_TO_DC(dcc); + SpiceImage red_image; + RedWorker *worker; + SpiceBitmap bitmap; + SpiceChunks *chunks; + QRegion *surface_lossy_region; + int comp_succeeded; + int lossy_comp = FALSE; + int lz_comp = FALSE; + spice_image_compression_t comp_mode; + SpiceMsgDisplayDrawCopy copy; + SpiceMarshaller *src_bitmap_out, *mask_bitmap_out; + SpiceMarshaller *bitmap_palette_out, *lzplt_palette_out; + + spice_assert(rcc && display_channel && item); + worker = display_channel->common.worker; + + QXL_SET_IMAGE_ID(&red_image, QXL_IMAGE_GROUP_RED, ++worker->bits_unique); + red_image.descriptor.type = SPICE_IMAGE_TYPE_BITMAP; + red_image.descriptor.flags = item->image_flags; + red_image.descriptor.width = item->width; + red_image.descriptor.height = item->height; + + bitmap.format = item->image_format; + bitmap.flags = 0; + if (item->top_down) { + bitmap.flags |= SPICE_BITMAP_FLAGS_TOP_DOWN; + } + bitmap.x = item->width; + bitmap.y = item->height; + bitmap.stride = item->stride; + bitmap.palette = 0; + bitmap.palette_id = 0; + + chunks = spice_chunks_new_linear(item->data, bitmap.stride * bitmap.y); + bitmap.data = chunks; + + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_DRAW_COPY, &item->link); + + copy.base.surface_id = item->surface_id; + copy.base.box.left = item->pos.x; + copy.base.box.top = item->pos.y; + copy.base.box.right = item->pos.x + bitmap.x; + copy.base.box.bottom = item->pos.y + bitmap.y; + copy.base.clip.type = SPICE_CLIP_TYPE_NONE; + copy.data.rop_descriptor = SPICE_ROPD_OP_PUT; + copy.data.src_area.left = 0; + copy.data.src_area.top = 0; + copy.data.src_area.right = bitmap.x; + copy.data.src_area.bottom = bitmap.y; + copy.data.scale_mode = 0; + copy.data.src_bitmap = 0; + copy.data.mask.flags = 0; + copy.data.mask.flags = 0; + copy.data.mask.pos.x = 0; + copy.data.mask.pos.y = 0; + copy.data.mask.bitmap = 0; + + spice_marshall_msg_display_draw_copy(m, ©, + &src_bitmap_out, &mask_bitmap_out); + + compress_send_data_t comp_send_data = {0}; + + comp_mode = display_channel->common.worker->image_compression; + + if (((comp_mode == SPICE_IMAGE_COMPRESS_AUTO_LZ) || + (comp_mode == SPICE_IMAGE_COMPRESS_AUTO_GLZ)) && !_stride_is_extra(&bitmap)) { + + if (BITMAP_FMT_HAS_GRADUALITY(item->image_format)) { + BitmapGradualType grad_level; + + grad_level = _get_bitmap_graduality_level(display_channel->common.worker, + &bitmap, + worker->mem_slots.internal_groupslot_id); + if (grad_level == BITMAP_GRADUAL_HIGH) { + // if we use lz for alpha, the stride can't be extra + lossy_comp = display_channel->enable_jpeg && item->can_lossy; + } else { + lz_comp = TRUE; + } + } else { + lz_comp = TRUE; + } + } + + if (lossy_comp) { + comp_succeeded = red_jpeg_compress_image(dcc, &red_image, + &bitmap, &comp_send_data, + worker->mem_slots.internal_groupslot_id); + } else { + if (!lz_comp) { + comp_succeeded = red_quic_compress_image(dcc, &red_image, &bitmap, + &comp_send_data, + worker->mem_slots.internal_groupslot_id); + } else { + comp_succeeded = red_lz_compress_image(dcc, &red_image, &bitmap, + &comp_send_data, + worker->mem_slots.internal_groupslot_id); + } + } + + surface_lossy_region = &dcc->surface_client_lossy_region[item->surface_id]; + if (comp_succeeded) { + spice_marshall_Image(src_bitmap_out, &red_image, + &bitmap_palette_out, &lzplt_palette_out); + + marshaller_add_compressed(src_bitmap_out, + comp_send_data.comp_buf, comp_send_data.comp_buf_size); + + if (lzplt_palette_out && comp_send_data.lzplt_palette) { + spice_marshall_Palette(lzplt_palette_out, comp_send_data.lzplt_palette); + } + + if (lossy_comp) { + region_add(surface_lossy_region, ©.base.box); + } else { + region_remove(surface_lossy_region, ©.base.box); + } + } else { + red_image.descriptor.type = SPICE_IMAGE_TYPE_BITMAP; + red_image.u.bitmap = bitmap; + + spice_marshall_Image(src_bitmap_out, &red_image, + &bitmap_palette_out, &lzplt_palette_out); + spice_marshaller_add_ref(src_bitmap_out, item->data, + bitmap.y * bitmap.stride); + region_remove(surface_lossy_region, ©.base.box); + } + spice_chunks_destroy(chunks); +} + +static void red_display_marshall_upgrade(RedChannelClient *rcc, SpiceMarshaller *m, + UpgradeItem *item) +{ + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + RedDrawable *red_drawable; + SpiceMsgDisplayDrawCopy copy; + SpiceMarshaller *src_bitmap_out, *mask_bitmap_out; + + spice_assert(rcc && rcc->channel && item && item->drawable); + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_DRAW_COPY, &item->base); + + red_drawable = item->drawable->red_drawable; + spice_assert(red_drawable->type == QXL_DRAW_COPY); + spice_assert(red_drawable->u.copy.rop_descriptor == SPICE_ROPD_OP_PUT); + spice_assert(red_drawable->u.copy.mask.bitmap == 0); + + copy.base.surface_id = 0; + copy.base.box = red_drawable->bbox; + copy.base.clip.type = SPICE_CLIP_TYPE_RECTS; + copy.base.clip.rects = item->rects; + copy.data = red_drawable->u.copy; + + spice_marshall_msg_display_draw_copy(m, ©, + &src_bitmap_out, &mask_bitmap_out); + + fill_bits(dcc, src_bitmap_out, copy.data.src_bitmap, item->drawable, FALSE); +} + +static void red_display_marshall_stream_start(RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, StreamAgent *agent) +{ + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + Stream *stream = agent->stream; + + agent->last_send_time = 0; + spice_assert(stream); + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_STREAM_CREATE, NULL); + SpiceMsgDisplayStreamCreate stream_create; + SpiceClipRects clip_rects; + + stream_create.surface_id = 0; + stream_create.id = get_stream_id(dcc->common.worker, stream); + stream_create.flags = stream->top_down ? SPICE_STREAM_FLAGS_TOP_DOWN : 0; + stream_create.codec_type = SPICE_VIDEO_CODEC_TYPE_MJPEG; + + stream_create.src_width = stream->width; + stream_create.src_height = stream->height; + stream_create.stream_width = stream_create.src_width; + stream_create.stream_height = stream_create.src_height; + stream_create.dest = stream->dest_area; + + if (stream->current) { + RedDrawable *red_drawable = stream->current->red_drawable; + stream_create.clip = red_drawable->clip; + } else { + stream_create.clip.type = SPICE_CLIP_TYPE_RECTS; + clip_rects.num_rects = 0; + stream_create.clip.rects = &clip_rects; + } + + stream_create.stamp = 0; + + spice_marshall_msg_display_stream_create(base_marshaller, &stream_create); +} + +static void red_display_marshall_stream_clip(RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, + StreamClipItem *item) +{ + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + StreamAgent *agent = item->stream_agent; + + spice_assert(agent->stream); + + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_STREAM_CLIP, &item->base); + SpiceMsgDisplayStreamClip stream_clip; + + stream_clip.id = get_stream_id(dcc->common.worker, agent->stream); + stream_clip.clip.type = item->clip_type; + stream_clip.clip.rects = item->rects; + + spice_marshall_msg_display_stream_clip(base_marshaller, &stream_clip); +} + +static void red_display_marshall_stream_end(RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, StreamAgent* agent) +{ + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + SpiceMsgDisplayStreamDestroy destroy; + + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_STREAM_DESTROY, NULL); + destroy.id = get_stream_id(dcc->common.worker, agent->stream); + + spice_marshall_msg_display_stream_destroy(base_marshaller, &destroy); +} + +static void red_cursor_marshall_inval(RedChannelClient *rcc, + SpiceMarshaller *m, CacheItem *cach_item) +{ + spice_assert(rcc); + red_marshall_inval(rcc, m, cach_item); +} + +static void red_marshall_cursor_init(RedChannelClient *rcc, SpiceMarshaller *base_marshaller, + PipeItem *pipe_item) +{ + CursorChannel *cursor_channel; + CursorChannelClient *ccc = RCC_TO_CCC(rcc); + RedWorker *worker; + SpiceMsgCursorInit msg; + AddBufInfo info; + + spice_assert(rcc); + cursor_channel = SPICE_CONTAINEROF(rcc->channel, CursorChannel, common.base); + worker = cursor_channel->common.worker; + + red_channel_client_init_send_data(rcc, SPICE_MSG_CURSOR_INIT, NULL); + msg.visible = worker->cursor_visible; + msg.position = worker->cursor_position; + msg.trail_length = worker->cursor_trail_length; + msg.trail_frequency = worker->cursor_trail_frequency; + + fill_cursor(ccc, &msg.cursor, worker->cursor, &info); + spice_marshall_msg_cursor_init(base_marshaller, &msg); + add_buf_from_info(base_marshaller, &info); +} + +static void red_marshall_cursor(RedChannelClient *rcc, + SpiceMarshaller *m, CursorPipeItem *cursor_pipe_item) +{ + CursorChannel *cursor_channel = SPICE_CONTAINEROF(rcc->channel, CursorChannel, common.base); + CursorChannelClient *ccc = RCC_TO_CCC(rcc); + CursorItem *cursor = cursor_pipe_item->cursor_item; + PipeItem *pipe_item = &cursor_pipe_item->base; + RedCursorCmd *cmd; + RedWorker *worker; + + spice_assert(cursor_channel); + + worker = cursor_channel->common.worker; + + cmd = cursor->red_cursor; + switch (cmd->type) { + case QXL_CURSOR_MOVE: + { + SpiceMsgCursorMove cursor_move; + red_channel_client_init_send_data(rcc, SPICE_MSG_CURSOR_MOVE, pipe_item); + cursor_move.position = cmd->u.position; + spice_marshall_msg_cursor_move(m, &cursor_move); + break; + } + case QXL_CURSOR_SET: + { + SpiceMsgCursorSet cursor_set; + AddBufInfo info; + + red_channel_client_init_send_data(rcc, SPICE_MSG_CURSOR_SET, pipe_item); + cursor_set.position = cmd->u.set.position; + cursor_set.visible = worker->cursor_visible; + + fill_cursor(ccc, &cursor_set.cursor, cursor, &info); + spice_marshall_msg_cursor_set(m, &cursor_set); + add_buf_from_info(m, &info); + break; + } + case QXL_CURSOR_HIDE: + red_channel_client_init_send_data(rcc, SPICE_MSG_CURSOR_HIDE, pipe_item); + break; + case QXL_CURSOR_TRAIL: + { + SpiceMsgCursorTrail cursor_trail; + + red_channel_client_init_send_data(rcc, SPICE_MSG_CURSOR_TRAIL, pipe_item); + cursor_trail.length = cmd->u.trail.length; + cursor_trail.frequency = cmd->u.trail.frequency; + spice_marshall_msg_cursor_trail(m, &cursor_trail); + } + break; + default: + spice_error("bad cursor command %d", cmd->type); + } +} + +static void red_marshall_surface_create(RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, SpiceMsgSurfaceCreate *surface_create) +{ + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + + region_init(&dcc->surface_client_lossy_region[surface_create->surface_id]); + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_SURFACE_CREATE, NULL); + + spice_marshall_msg_display_surface_create(base_marshaller, surface_create); +} + +static void red_marshall_surface_destroy(RedChannelClient *rcc, + SpiceMarshaller *base_marshaller, uint32_t surface_id) +{ + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + SpiceMsgSurfaceDestroy surface_destroy; + + region_destroy(&dcc->surface_client_lossy_region[surface_id]); + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_SURFACE_DESTROY, NULL); + + surface_destroy.surface_id = surface_id; + + spice_marshall_msg_display_surface_destroy(base_marshaller, &surface_destroy); +} + +static void red_marshall_monitors_config(RedChannelClient *rcc, SpiceMarshaller *base_marshaller, + MonitorsConfig *monitors_config) +{ + int heads_size = sizeof(SpiceHead) * monitors_config->count; + int i; + SpiceMsgDisplayMonitorsConfig *msg = spice_malloc0(sizeof(*msg) + heads_size); + int count = 0; // ignore monitors_config->count, it may contain zero width monitors, remove them now + + red_channel_client_init_send_data(rcc, SPICE_MSG_DISPLAY_MONITORS_CONFIG, NULL); + for (i = 0 ; i < monitors_config->count; ++i) { + if (monitors_config->heads[i].width == 0 || monitors_config->heads[i].height == 0) { + continue; + } + msg->heads[count].id = monitors_config->heads[i].id; + msg->heads[count].surface_id = monitors_config->heads[i].surface_id; + msg->heads[count].width = monitors_config->heads[i].width; + msg->heads[count].height = monitors_config->heads[i].height; + msg->heads[count].x = monitors_config->heads[i].x; + msg->heads[count].y = monitors_config->heads[i].y; + count++; + } + msg->count = count; + msg->max_allowed = monitors_config->max_allowed; + spice_marshall_msg_display_monitors_config(base_marshaller, msg); + free(msg); +} + +static void display_channel_send_item(RedChannelClient *rcc, PipeItem *pipe_item) +{ + SpiceMarshaller *m = red_channel_client_get_marshaller(rcc); + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + + red_display_reset_send_data(dcc); + switch (pipe_item->type) { + case PIPE_ITEM_TYPE_DRAW: { + DrawablePipeItem *dpi = SPICE_CONTAINEROF(pipe_item, DrawablePipeItem, dpi_pipe_item); + marshall_qxl_drawable(rcc, m, dpi); + break; + } + case PIPE_ITEM_TYPE_INVAL_ONE: + red_marshall_inval(rcc, m, (CacheItem *)pipe_item); + break; + case PIPE_ITEM_TYPE_STREAM_CREATE: { + StreamAgent *agent = SPICE_CONTAINEROF(pipe_item, StreamAgent, create_item); + red_display_marshall_stream_start(rcc, m, agent); + break; + } + case PIPE_ITEM_TYPE_STREAM_CLIP: { + StreamClipItem* clip_item = (StreamClipItem *)pipe_item; + red_display_marshall_stream_clip(rcc, m, clip_item); + break; + } + case PIPE_ITEM_TYPE_STREAM_DESTROY: { + StreamAgent *agent = SPICE_CONTAINEROF(pipe_item, StreamAgent, destroy_item); + red_display_marshall_stream_end(rcc, m, agent); + break; + } + case PIPE_ITEM_TYPE_UPGRADE: + red_display_marshall_upgrade(rcc, m, (UpgradeItem *)pipe_item); + break; + case PIPE_ITEM_TYPE_VERB: + red_marshall_verb(rcc, ((VerbItem*)pipe_item)->verb); + break; + case PIPE_ITEM_TYPE_MIGRATE_DATA: + display_channel_marshall_migrate_data(rcc, m); + break; + case PIPE_ITEM_TYPE_IMAGE: + red_marshall_image(rcc, m, (ImageItem *)pipe_item); + break; + case PIPE_ITEM_TYPE_PIXMAP_SYNC: + display_channel_marshall_pixmap_sync(rcc, m); + break; + case PIPE_ITEM_TYPE_PIXMAP_RESET: + display_channel_marshall_reset_cache(rcc, m); + break; + case PIPE_ITEM_TYPE_INVAL_PALLET_CACHE: + red_reset_palette_cache(dcc); + red_marshall_verb(rcc, SPICE_MSG_DISPLAY_INVAL_ALL_PALETTES); + break; + case PIPE_ITEM_TYPE_CREATE_SURFACE: { + SurfaceCreateItem *surface_create = SPICE_CONTAINEROF(pipe_item, SurfaceCreateItem, + pipe_item); + red_marshall_surface_create(rcc, m, &surface_create->surface_create); + break; + } + case PIPE_ITEM_TYPE_DESTROY_SURFACE: { + SurfaceDestroyItem *surface_destroy = SPICE_CONTAINEROF(pipe_item, SurfaceDestroyItem, + pipe_item); + red_marshall_surface_destroy(rcc, m, surface_destroy->surface_destroy.surface_id); + break; + } + case PIPE_ITEM_TYPE_MONITORS_CONFIG: { + MonitorsConfigItem *monconf_item = SPICE_CONTAINEROF(pipe_item, + MonitorsConfigItem, pipe_item); + red_marshall_monitors_config(rcc, m, monconf_item->monitors_config); + break; + } + default: + spice_error("invalid pipe item type"); + } + + display_channel_client_release_item_before_push(dcc, pipe_item); + + // a message is pending + if (red_channel_client_send_message_pending(rcc)) { + display_begin_send_message(rcc); + } +} + +static void cursor_channel_send_item(RedChannelClient *rcc, PipeItem *pipe_item) +{ + SpiceMarshaller *m = red_channel_client_get_marshaller(rcc); + CursorChannelClient *ccc = RCC_TO_CCC(rcc); + + switch (pipe_item->type) { + case PIPE_ITEM_TYPE_CURSOR: + red_marshall_cursor(rcc, m, SPICE_CONTAINEROF(pipe_item, CursorPipeItem, base)); + break; + case PIPE_ITEM_TYPE_INVAL_ONE: + red_cursor_marshall_inval(rcc, m, (CacheItem *)pipe_item); + break; + case PIPE_ITEM_TYPE_VERB: + red_marshall_verb(rcc, ((VerbItem*)pipe_item)->verb); + break; + case PIPE_ITEM_TYPE_CURSOR_INIT: + red_reset_cursor_cache(rcc); + red_marshall_cursor_init(rcc, m, pipe_item); + break; + case PIPE_ITEM_TYPE_INVAL_CURSOR_CACHE: + red_reset_cursor_cache(rcc); + red_marshall_verb(rcc, SPICE_MSG_CURSOR_INVAL_ALL); + break; + default: + spice_error("invalid pipe item type"); + } + + cursor_channel_client_release_item_before_push(ccc, pipe_item); + red_channel_client_begin_send_message(rcc); +} + +static inline void red_push(RedWorker *worker) +{ + if (worker->cursor_channel) { + red_channel_push(&worker->cursor_channel->common.base); + } + if (worker->display_channel) { + red_channel_push(&worker->display_channel->common.base); + } +} + +typedef struct ShowTreeData { + RedWorker *worker; + int level; + Container *container; +} ShowTreeData; + +static void __show_tree_call(TreeItem *item, void *data) +{ + ShowTreeData *tree_data = data; + const char *item_prefix = "|--"; + int i; + + while (tree_data->container != item->container) { + spice_assert(tree_data->container); + tree_data->level--; + tree_data->container = tree_data->container->base.container; + } + + switch (item->type) { + case TREE_ITEM_TYPE_DRAWABLE: { + Drawable *drawable = SPICE_CONTAINEROF(item, Drawable, tree_item); + const int max_indent = 200; + char indent_str[max_indent + 1]; + int indent_str_len; + + for (i = 0; i < tree_data->level; i++) { + printf(" "); + } + printf(item_prefix, 0); + show_red_drawable(tree_data->worker, drawable->red_drawable, NULL); + for (i = 0; i < tree_data->level; i++) { + printf(" "); + } + printf("| "); + show_draw_item(tree_data->worker, &drawable->tree_item, NULL); + indent_str_len = MIN(max_indent, strlen(item_prefix) + tree_data->level * 2); + memset(indent_str, ' ', indent_str_len); + indent_str[indent_str_len] = 0; + region_dump(&item->rgn, indent_str); + printf("\n"); + break; + } + case TREE_ITEM_TYPE_CONTAINER: + tree_data->level++; + tree_data->container = (Container *)item; + break; + case TREE_ITEM_TYPE_SHADOW: + break; + } +} + +void red_show_tree(RedWorker *worker) +{ + int x; + + ShowTreeData show_tree_data; + show_tree_data.worker = worker; + show_tree_data.level = 0; + show_tree_data.container = NULL; + for (x = 0; x < NUM_SURFACES; ++x) { + if (worker->surfaces[x].context.canvas) { + current_tree_for_each(&worker->surfaces[x].current, __show_tree_call, + &show_tree_data); + } + } +} + +static void display_channel_client_on_disconnect(RedChannelClient *rcc) +{ + DisplayChannel *display_channel; + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + CommonChannel *common; + RedWorker *worker; + + if (!rcc) { + return; + } + spice_info(NULL); + common = SPICE_CONTAINEROF(rcc->channel, CommonChannel, base); + worker = common->worker; + display_channel = (DisplayChannel *)rcc->channel; + spice_assert(display_channel == worker->display_channel); +#ifdef COMPRESS_STAT + print_compress_stats(display_channel); +#endif + red_release_pixmap_cache(dcc); + red_release_glz(dcc); + red_reset_palette_cache(dcc); + free(dcc->send_data.stream_outbuf); + red_display_reset_compress_buf(dcc); + free(dcc->send_data.free_list.res); + red_display_destroy_streams(dcc); + + // this was the last channel client + if (!red_channel_is_connected(rcc->channel)) { + red_display_destroy_compress_bufs(display_channel); + } + spice_debug("#draw=%d, #red_draw=%d, #glz_draw=%d", + worker->drawable_count, worker->red_drawable_count, + worker->glz_drawable_count); +} + +void red_disconnect_all_display_TODO_remove_me(RedChannel *channel) +{ + // TODO: we need to record the client that actually causes the timeout. So + // we need to check the locations of the various pipe heads when counting, + // and disconnect only those/that. + if (!channel) { + return; + } + red_channel_apply_clients(channel, red_channel_client_disconnect); +} + +static void red_migrate_display(RedWorker *worker, RedChannelClient *rcc) +{ + if (red_channel_client_is_connected(rcc)) { + red_pipe_add_verb(rcc, SPICE_MSG_DISPLAY_STREAM_DESTROY_ALL); + red_channel_client_default_migrate(rcc); + } +} + +#ifdef USE_OPENGL +static SpiceCanvas *create_ogl_context_common(RedWorker *worker, OGLCtx *ctx, uint32_t width, + uint32_t height, int32_t stride, uint8_t depth) +{ + SpiceCanvas *canvas; + + oglctx_make_current(ctx); + if (!(canvas = gl_canvas_create(width, height, depth, &worker->image_cache.base, + &worker->image_surfaces, NULL, NULL, NULL))) { + return NULL; + } + + spice_canvas_set_usr_data(canvas, ctx, (spice_destroy_fn_t)oglctx_destroy); + + canvas->ops->clear(canvas); + + return canvas; +} + +static SpiceCanvas *create_ogl_pbuf_context(RedWorker *worker, uint32_t width, uint32_t height, + int32_t stride, uint8_t depth) +{ + OGLCtx *ctx; + SpiceCanvas *canvas; + + if (!(ctx = pbuf_create(width, height))) { + return NULL; + } + + if (!(canvas = create_ogl_context_common(worker, ctx, width, height, stride, depth))) { + oglctx_destroy(ctx); + return NULL; + } + + return canvas; +} + +static SpiceCanvas *create_ogl_pixmap_context(RedWorker *worker, uint32_t width, uint32_t height, + int32_t stride, uint8_t depth) { + OGLCtx *ctx; + SpiceCanvas *canvas; + + if (!(ctx = pixmap_create(width, height))) { + return NULL; + } + + if (!(canvas = create_ogl_context_common(worker, ctx, width, height, stride, depth))) { + oglctx_destroy(ctx); + return NULL; + } + + return canvas; +} +#endif + +static inline void *create_canvas_for_surface(RedWorker *worker, RedSurface *surface, + uint32_t renderer, uint32_t width, uint32_t height, + int32_t stride, uint32_t format, void *line_0) +{ + SpiceCanvas *canvas; + + switch (renderer) { + case RED_RENDERER_SW: + canvas = canvas_create_for_data(width, height, format, + line_0, stride, + &worker->image_cache.base, + &worker->image_surfaces, NULL, NULL, NULL); + surface->context.top_down = TRUE; + surface->context.canvas_draws_on_surface = TRUE; + return canvas; +#ifdef USE_OPENGL + case RED_RENDERER_OGL_PBUF: + canvas = create_ogl_pbuf_context(worker, width, height, stride, + SPICE_SURFACE_FMT_DEPTH(format)); + surface->context.top_down = FALSE; + return canvas; + case RED_RENDERER_OGL_PIXMAP: + canvas = create_ogl_pixmap_context(worker, width, height, stride, + SPICE_SURFACE_FMT_DEPTH(format)); + surface->context.top_down = FALSE; + return canvas; +#endif + default: + spice_error("invalid renderer type"); + }; + + return NULL; +} + +static SurfaceCreateItem *get_surface_create_item( + RedChannel* channel, + uint32_t surface_id, uint32_t width, + uint32_t height, uint32_t format, uint32_t flags) +{ + SurfaceCreateItem *create; + + create = (SurfaceCreateItem *)malloc(sizeof(SurfaceCreateItem)); + spice_warn_if(!create); + + create->surface_create.surface_id = surface_id; + create->surface_create.width = width; + create->surface_create.height = height; + create->surface_create.flags = flags; + create->surface_create.format = format; + + red_channel_pipe_item_init(channel, + &create->pipe_item, PIPE_ITEM_TYPE_CREATE_SURFACE); + return create; +} + +static inline void red_create_surface_item(DisplayChannelClient *dcc, int surface_id) +{ + RedSurface *surface; + SurfaceCreateItem *create; + RedWorker *worker = dcc ? dcc->common.worker : NULL; + uint32_t flags = is_primary_surface(worker, surface_id) ? SPICE_SURFACE_FLAGS_PRIMARY : 0; + + /* don't send redundant create surface commands to client */ + if (!dcc || worker->display_channel->common.during_target_migrate || + dcc->surface_client_created[surface_id]) { + return; + } + surface = &worker->surfaces[surface_id]; + create = get_surface_create_item(dcc->common.base.channel, + surface_id, surface->context.width, surface->context.height, + surface->context.format, flags); + dcc->surface_client_created[surface_id] = TRUE; + red_channel_client_pipe_add(&dcc->common.base, &create->pipe_item); +} + +static void red_worker_create_surface_item(RedWorker *worker, int surface_id) +{ + DisplayChannelClient *dcc; + RingItem *item; + + WORKER_FOREACH_DCC(worker, item, dcc) { + red_create_surface_item(dcc, surface_id); + } +} + + +static void red_worker_push_surface_image(RedWorker *worker, int surface_id) +{ + DisplayChannelClient *dcc; + RingItem *item; + + WORKER_FOREACH_DCC(worker, item, dcc) { + red_push_surface_image(dcc, surface_id); + } +} + +static inline void red_create_surface(RedWorker *worker, uint32_t surface_id, uint32_t width, + uint32_t height, int32_t stride, uint32_t format, + void *line_0, int data_is_valid, int send_client) +{ + RedSurface *surface = &worker->surfaces[surface_id]; + uint32_t i; + + spice_warn_if(surface->context.canvas); + + surface->context.canvas_draws_on_surface = FALSE; + surface->context.width = width; + surface->context.height = height; + surface->context.format = format; + surface->context.stride = stride; + surface->context.line_0 = line_0; + if (!data_is_valid) { + memset((char *)line_0 + (int32_t)(stride * (height - 1)), 0, height*abs(stride)); + } + surface->create.info = NULL; + surface->destroy.info = NULL; + ring_init(&surface->current); + ring_init(&surface->current_list); + ring_init(&surface->depend_on_me); + region_init(&surface->draw_dirty_region); + surface->refs = 1; + if (worker->renderer != RED_RENDERER_INVALID) { + surface->context.canvas = create_canvas_for_surface(worker, surface, worker->renderer, + width, height, stride, + surface->context.format, line_0); + if (!surface->context.canvas) { + spice_critical("drawing canvas creating failed - can`t create same type canvas"); + } + + if (send_client) { + red_worker_create_surface_item(worker, surface_id); + if (data_is_valid) { + red_worker_push_surface_image(worker, surface_id); + } + } + return; + } + + for (i = 0; i < worker->num_renderers; i++) { + surface->context.canvas = create_canvas_for_surface(worker, surface, worker->renderers[i], + width, height, stride, + surface->context.format, line_0); + if (surface->context.canvas) { //no need canvas check + worker->renderer = worker->renderers[i]; + if (send_client) { + red_worker_create_surface_item(worker, surface_id); + if (data_is_valid) { + red_worker_push_surface_image(worker, surface_id); + } + } + return; + } + } + + spice_critical("unable to create drawing canvas"); +} + +static inline void flush_display_commands(RedWorker *worker) +{ + RedChannel *display_red_channel = &worker->display_channel->common.base; + + for (;;) { + uint64_t end_time; + int ring_is_empty; + + red_process_commands(worker, MAX_PIPE_SIZE, &ring_is_empty); + if (ring_is_empty) { + break; + } + + while (red_process_commands(worker, MAX_PIPE_SIZE, &ring_is_empty)) { + red_channel_push(&worker->display_channel->common.base); + } + + if (ring_is_empty) { + break; + } + end_time = red_now() + DISPLAY_CLIENT_TIMEOUT * 10; + int sleep_count = 0; + for (;;) { + red_channel_push(&worker->display_channel->common.base); + if (!display_is_connected(worker) || + red_channel_max_pipe_size(display_red_channel) <= MAX_PIPE_SIZE) { + break; + } + RedChannel *channel = (RedChannel *)worker->display_channel; + red_channel_receive(channel); + red_channel_send(channel); + // TODO: MC: the whole timeout will break since it takes lowest timeout, should + // do it client by client. + if (red_now() >= end_time) { + spice_warning("update timeout"); + red_disconnect_all_display_TODO_remove_me(channel); + } else { + sleep_count++; + usleep(DISPLAY_CLIENT_RETRY_INTERVAL); + } + } + } +} + +static inline void flush_cursor_commands(RedWorker *worker) +{ + RedChannel *cursor_red_channel = &worker->cursor_channel->common.base; + + for (;;) { + uint64_t end_time; + int ring_is_empty = FALSE; + + red_process_cursor(worker, MAX_PIPE_SIZE, &ring_is_empty); + if (ring_is_empty) { + break; + } + + while (red_process_cursor(worker, MAX_PIPE_SIZE, &ring_is_empty)) { + red_channel_push(&worker->cursor_channel->common.base); + } + + if (ring_is_empty) { + break; + } + end_time = red_now() + DISPLAY_CLIENT_TIMEOUT * 10; + int sleep_count = 0; + for (;;) { + red_channel_push(&worker->cursor_channel->common.base); + if (!cursor_is_connected(worker) + || red_channel_min_pipe_size(cursor_red_channel) <= MAX_PIPE_SIZE) { + break; + } + RedChannel *channel = (RedChannel *)worker->cursor_channel; + red_channel_receive(channel); + red_channel_send(channel); + if (red_now() >= end_time) { + spice_warning("flush cursor timeout"); + red_disconnect_cursor(channel); + } else { + sleep_count++; + usleep(DISPLAY_CLIENT_RETRY_INTERVAL); + } + } + } +} + +// TODO: on timeout, don't disconnect all channeld immeduiatly - try to disconnect the slowest ones +// first and maybe turn timeouts to several timeouts in order to disconnect channels gradually. +// Should use disconnect or shutdown? +static inline void flush_all_qxl_commands(RedWorker *worker) +{ + flush_display_commands(worker); + flush_cursor_commands(worker); +} + +static void push_new_primary_surface(DisplayChannelClient *dcc) +{ + RedChannelClient *rcc = &dcc->common.base; + + red_channel_client_pipe_add_type(rcc, PIPE_ITEM_TYPE_INVAL_PALLET_CACHE); + red_create_surface_item(dcc, 0); + red_channel_client_push(rcc); +} + +/* TODO: this function is evil^Wsynchronous, fix */ +static int display_channel_client_wait_for_init(DisplayChannelClient *dcc) +{ + dcc->expect_init = TRUE; + uint64_t end_time = red_now() + DISPLAY_CLIENT_TIMEOUT; + for (;;) { + red_channel_client_receive(&dcc->common.base); + if (!red_channel_client_is_connected(&dcc->common.base)) { + break; + } + if (dcc->pixmap_cache && dcc->glz_dict) { + dcc->pixmap_cache_generation = dcc->pixmap_cache->generation; + /* TODO: move common.id? if it's used for a per client structure.. */ + spice_info("creating encoder with id == %d", dcc->common.id); + dcc->glz = glz_encoder_create(dcc->common.id, dcc->glz_dict->dict, &dcc->glz_data.usr); + if (!dcc->glz) { + spice_critical("create global lz failed"); + } + return TRUE; + } + if (red_now() > end_time) { + spice_warning("timeout"); + red_channel_client_disconnect(&dcc->common.base); + break; + } + usleep(DISPLAY_CLIENT_RETRY_INTERVAL); + } + return FALSE; +} + +static void on_new_display_channel_client(DisplayChannelClient *dcc) +{ + DisplayChannel *display_channel = DCC_TO_DC(dcc); + RedWorker *worker = display_channel->common.worker; + RedChannelClient *rcc = &dcc->common.base; + + red_channel_client_push_set_ack(&dcc->common.base); + + if (red_channel_client_waits_for_migrate_data(rcc)) { + return; + } + + if (!display_channel_client_wait_for_init(dcc)) { + return; + } + red_channel_client_ack_zero_messages_window(&dcc->common.base); + if (worker->surfaces[0].context.canvas) { + red_current_flush(worker, 0); + push_new_primary_surface(dcc); + red_push_surface_image(dcc, 0); + red_push_monitors_config(dcc); + red_pipe_add_verb(rcc, SPICE_MSG_DISPLAY_MARK); + red_disply_start_streams(dcc); + } +} + +static GlzSharedDictionary *_red_find_glz_dictionary(RedClient *client, uint8_t dict_id) +{ + RingItem *now; + GlzSharedDictionary *ret = NULL; + + now = &glz_dictionary_list; + while ((now = ring_next(&glz_dictionary_list, now))) { + GlzSharedDictionary *dict = (GlzSharedDictionary *)now; + if ((dict->client == client) && (dict->id == dict_id)) { + ret = dict; + break; + } + } + + return ret; +} + +static GlzSharedDictionary *_red_create_glz_dictionary(RedClient *client, uint8_t id, + GlzEncDictContext *opaque_dict) +{ + GlzSharedDictionary *shared_dict = spice_new0(GlzSharedDictionary, 1); + shared_dict->dict = opaque_dict; + shared_dict->id = id; + shared_dict->refs = 1; + shared_dict->migrate_freeze = FALSE; + shared_dict->client = client; + ring_item_init(&shared_dict->base); + pthread_rwlock_init(&shared_dict->encode_lock, NULL); + return shared_dict; +} + +static GlzSharedDictionary *red_create_glz_dictionary(DisplayChannelClient *dcc, + uint8_t id, int window_size) +{ + GlzEncDictContext *glz_dict = glz_enc_dictionary_create(window_size, + MAX_LZ_ENCODERS, + &dcc->glz_data.usr); +#ifdef COMPRESS_DEBUG + spice_info("Lz Window %d Size=%d", id, window_size); +#endif + if (!glz_dict) { + spice_critical("failed creating lz dictionary"); + return NULL; + } + return _red_create_glz_dictionary(dcc->common.base.client, id, glz_dict); +} + +static GlzSharedDictionary *red_create_restored_glz_dictionary(DisplayChannelClient *dcc, + uint8_t id, + GlzEncDictRestoreData *restore_data) +{ + GlzEncDictContext *glz_dict = glz_enc_dictionary_restore(restore_data, + &dcc->glz_data.usr); + if (!glz_dict) { + spice_critical("failed creating lz dictionary"); + return NULL; + } + return _red_create_glz_dictionary(dcc->common.base.client, id, glz_dict); +} + +static GlzSharedDictionary *red_get_glz_dictionary(DisplayChannelClient *dcc, + uint8_t id, int window_size) +{ + GlzSharedDictionary *shared_dict = NULL; + + pthread_mutex_lock(&glz_dictionary_list_lock); + + shared_dict = _red_find_glz_dictionary(dcc->common.base.client, id); + + if (!shared_dict) { + shared_dict = red_create_glz_dictionary(dcc, id, window_size); + ring_add(&glz_dictionary_list, &shared_dict->base); + } else { + shared_dict->refs++; + } + pthread_mutex_unlock(&glz_dictionary_list_lock); + return shared_dict; +} + +static GlzSharedDictionary *red_restore_glz_dictionary(DisplayChannelClient *dcc, + uint8_t id, + GlzEncDictRestoreData *restore_data) +{ + GlzSharedDictionary *shared_dict = NULL; + + pthread_mutex_lock(&glz_dictionary_list_lock); + + shared_dict = _red_find_glz_dictionary(dcc->common.base.client, id); + + if (!shared_dict) { + shared_dict = red_create_restored_glz_dictionary(dcc, id, restore_data); + ring_add(&glz_dictionary_list, &shared_dict->base); + } else { + shared_dict->refs++; + } + pthread_mutex_unlock(&glz_dictionary_list_lock); + return shared_dict; +} + +static void red_freeze_glz(DisplayChannelClient *dcc) +{ + pthread_rwlock_wrlock(&dcc->glz_dict->encode_lock); + if (!dcc->glz_dict->migrate_freeze) { + dcc->glz_dict->migrate_freeze = TRUE; + } + pthread_rwlock_unlock(&dcc->glz_dict->encode_lock); +} + +/* destroy encoder, and dictionary if no one uses it*/ +static void red_release_glz(DisplayChannelClient *dcc) +{ + GlzSharedDictionary *shared_dict; + + red_display_client_clear_glz_drawables(dcc); + + glz_encoder_destroy(dcc->glz); + dcc->glz = NULL; + + if (!(shared_dict = dcc->glz_dict)) { + return; + } + + dcc->glz_dict = NULL; + pthread_mutex_lock(&glz_dictionary_list_lock); + if (--shared_dict->refs) { + pthread_mutex_unlock(&glz_dictionary_list_lock); + return; + } + ring_remove(&shared_dict->base); + pthread_mutex_unlock(&glz_dictionary_list_lock); + glz_enc_dictionary_destroy(shared_dict->dict, &dcc->glz_data.usr); + free(shared_dict); +} + +static PixmapCache *red_create_pixmap_cache(RedClient *client, uint8_t id, int64_t size) +{ + PixmapCache *cache = spice_new0(PixmapCache, 1); + ring_item_init(&cache->base); + pthread_mutex_init(&cache->lock, NULL); + cache->id = id; + cache->refs = 1; + ring_init(&cache->lru); + cache->available = size; + cache->size = size; + cache->client = client; + return cache; +} + +static PixmapCache *red_get_pixmap_cache(RedClient *client, uint8_t id, int64_t size) +{ + PixmapCache *ret = NULL; + RingItem *now; + pthread_mutex_lock(&cache_lock); + + now = &pixmap_cache_list; + while ((now = ring_next(&pixmap_cache_list, now))) { + PixmapCache *cache = (PixmapCache *)now; + if ((cache->client == client) && (cache->id == id)) { + ret = cache; + ret->refs++; + break; + } + } + if (!ret) { + ret = red_create_pixmap_cache(client, id, size); + ring_add(&pixmap_cache_list, &ret->base); + } + pthread_mutex_unlock(&cache_lock); + return ret; +} + +static void red_release_pixmap_cache(DisplayChannelClient *dcc) +{ + PixmapCache *cache; + if (!(cache = dcc->pixmap_cache)) { + return; + } + dcc->pixmap_cache = NULL; + pthread_mutex_lock(&cache_lock); + if (--cache->refs) { + pthread_mutex_unlock(&cache_lock); + return; + } + ring_remove(&cache->base); + pthread_mutex_unlock(&cache_lock); + pixmap_cache_destroy(cache); + free(cache); +} + +static int display_channel_init_cache(DisplayChannelClient *dcc, SpiceMsgcDisplayInit *init_info) +{ + spice_assert(!dcc->pixmap_cache); + return !!(dcc->pixmap_cache = red_get_pixmap_cache(dcc->common.base.client, + init_info->pixmap_cache_id, + init_info->pixmap_cache_size)); +} + +static int display_channel_init_glz_dictionary(DisplayChannelClient *dcc, + SpiceMsgcDisplayInit *init_info) +{ + spice_assert(!dcc->glz_dict); + ring_init(&dcc->glz_drawables); + ring_init(&dcc->glz_drawables_inst_to_free); + pthread_mutex_init(&dcc->glz_drawables_inst_to_free_lock, NULL); + return !!(dcc->glz_dict = red_get_glz_dictionary(dcc, + init_info->glz_dictionary_id, + init_info->glz_dictionary_window_size)); +} + +static int display_channel_init(DisplayChannelClient *dcc, SpiceMsgcDisplayInit *init_info) +{ + return (display_channel_init_cache(dcc, init_info) && + display_channel_init_glz_dictionary(dcc, init_info)); +} + +static int display_channel_handle_migrate_glz_dictionary(DisplayChannelClient *dcc, + SpiceMigrateDataDisplay *migrate_info) +{ + spice_assert(!dcc->glz_dict); + ring_init(&dcc->glz_drawables); + ring_init(&dcc->glz_drawables_inst_to_free); + pthread_mutex_init(&dcc->glz_drawables_inst_to_free_lock, NULL); + return !!(dcc->glz_dict = red_restore_glz_dictionary(dcc, + migrate_info->glz_dict_id, + &migrate_info->glz_dict_data)); +} + +static int display_channel_handle_migrate_mark(RedChannelClient *rcc) +{ + DisplayChannel *display_channel = SPICE_CONTAINEROF(rcc->channel, DisplayChannel, common.base); + RedChannel *channel = &display_channel->common.base; + + red_channel_pipes_add_type(channel, PIPE_ITEM_TYPE_MIGRATE_DATA); + return TRUE; +} + +static uint64_t display_channel_handle_migrate_data_get_serial( + RedChannelClient *rcc, uint32_t size, void *message) +{ + SpiceMigrateDataDisplay *migrate_data; + + migrate_data = (SpiceMigrateDataDisplay *)((uint8_t *)message + sizeof(SpiceMigrateDataHeader)); + + return migrate_data->message_serial; +} + +static void display_channel_client_restore_surface(DisplayChannelClient *dcc, uint32_t surface_id) +{ + /* we don't process commands till we receive the migration data, thus, + * we should have not sent any surface to the client. */ + spice_assert(!dcc->surface_client_created[surface_id]); + dcc->surface_client_created[surface_id] = TRUE; +} + +static void display_channel_client_restore_surfaces_lossless(DisplayChannelClient *dcc, + MigrateDisplaySurfacesAtClientLossless *mig_surfaces) +{ + uint32_t i; + + spice_debug(NULL); + for (i = 0; i < mig_surfaces->num_surfaces; i++) { + uint32_t surface_id = mig_surfaces->surfaces[i].id; + + display_channel_client_restore_surface(dcc, surface_id); + } +} + +static void display_channel_client_restore_surfaces_lossy(DisplayChannelClient *dcc, + MigrateDisplaySurfacesAtClientLossy *mig_surfaces) +{ + uint32_t i; + + spice_debug(NULL); + for (i = 0; i < mig_surfaces->num_surfaces; i++) { + uint32_t surface_id = mig_surfaces->surfaces[i].id; + SpiceMigrateDataRect *mig_lossy_rect; + SpiceRect lossy_rect; + + display_channel_client_restore_surface(dcc, surface_id); + spice_assert(dcc->surface_client_created[surface_id]); + + mig_lossy_rect = &mig_surfaces->surfaces[i].lossy_rect; + lossy_rect.left = mig_lossy_rect->left; + lossy_rect.top = mig_lossy_rect->top; + lossy_rect.right = mig_lossy_rect->right; + lossy_rect.bottom = mig_lossy_rect->bottom; + region_init(&dcc->surface_client_lossy_region[surface_id]); + region_add(&dcc->surface_client_lossy_region[surface_id], &lossy_rect); + } +} +static int display_channel_handle_migrate_data(RedChannelClient *rcc, uint32_t size, + void *message) +{ + SpiceMigrateDataHeader *header; + SpiceMigrateDataDisplay *migrate_data; + DisplayChannel *display_channel = SPICE_CONTAINEROF(rcc->channel, DisplayChannel, common.base); + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + uint8_t *surfaces; + int i; + + spice_debug(NULL); + if (size < sizeof(*migrate_data) + sizeof(SpiceMigrateDataHeader)) { + spice_error("bad message size"); + return FALSE; + } + header = (SpiceMigrateDataHeader *)message; + migrate_data = (SpiceMigrateDataDisplay *)(header + 1); + if (!migration_protocol_validate_header(header, + SPICE_MIGRATE_DATA_DISPLAY_MAGIC, + SPICE_MIGRATE_DATA_DISPLAY_VERSION)) { + spice_error("bad header"); + return FALSE; + } + /* size is set to -1 in order to keep the cache frozen until the original + * channel client that froze the cache on the src size receives the migrate + * data and unfreezes the cache by setting its size > 0 and by triggering + * pixmap_cache_reset */ + dcc->pixmap_cache = red_get_pixmap_cache(dcc->common.base.client, + migrate_data->pixmap_cache_id, -1); + if (!dcc->pixmap_cache) { + return FALSE; + } + pthread_mutex_lock(&dcc->pixmap_cache->lock); + for (i = 0; i < MAX_CACHE_CLIENTS; i++) { + dcc->pixmap_cache->sync[i] = MAX(dcc->pixmap_cache->sync[i], + migrate_data->pixmap_cache_clients[i]); + } + pthread_mutex_unlock(&dcc->pixmap_cache->lock); + + if (migrate_data->pixmap_cache_freezer) { + /* activating the cache. The cache will start to be active after + * pixmap_cache_reset is called, when handling PIPE_ITEM_TYPE_PIXMAP_RESET */ + dcc->pixmap_cache->size = migrate_data->pixmap_cache_size; + red_channel_client_pipe_add_type(rcc, + PIPE_ITEM_TYPE_PIXMAP_RESET); + } + + if (display_channel_handle_migrate_glz_dictionary(dcc, migrate_data)) { + dcc->glz = glz_encoder_create(dcc->common.id, + dcc->glz_dict->dict, &dcc->glz_data.usr); + if (!dcc->glz) { + spice_critical("create global lz failed"); + } + } else { + spice_critical("restoring global lz dictionary failed"); + } + if (migrate_data->low_bandwidth_setting) { + red_channel_client_ack_set_client_window(rcc, WIDE_CLIENT_ACK_WINDOW); + if (dcc->common.worker->jpeg_state == SPICE_WAN_COMPRESSION_AUTO) { + display_channel->enable_jpeg = TRUE; + } + if (dcc->common.worker->zlib_glz_state == SPICE_WAN_COMPRESSION_AUTO) { + display_channel->enable_zlib_glz_wrap = TRUE; + } + } + + surfaces = (uint8_t *)message + migrate_data->surfaces_at_client_ptr; + if (display_channel->enable_jpeg) { + display_channel_client_restore_surfaces_lossy(dcc, + (MigrateDisplaySurfacesAtClientLossy *)surfaces); + } else { + display_channel_client_restore_surfaces_lossless(dcc, + (MigrateDisplaySurfacesAtClientLossless*)surfaces); + } + + red_channel_client_pipe_add_type(rcc, PIPE_ITEM_TYPE_INVAL_PALLET_CACHE); + /* enable sending messages */ + red_channel_client_ack_zero_messages_window(rcc); + return TRUE; +} + +static int display_channel_handle_message(RedChannelClient *rcc, uint32_t size, uint16_t type, + void *message) +{ + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + + switch (type) { + case SPICE_MSGC_DISPLAY_INIT: + if (!dcc->expect_init) { + spice_warning("unexpected SPICE_MSGC_DISPLAY_INIT"); + return FALSE; + } + dcc->expect_init = FALSE; + return display_channel_init(dcc, (SpiceMsgcDisplayInit *)message); + default: + return red_channel_client_handle_message(rcc, size, type, message); + } +} + +static int common_channel_config_socket(RedChannelClient *rcc) +{ + RedClient *client = red_channel_client_get_client(rcc); + MainChannelClient *mcc = red_client_get_main(client); + RedsStream *stream = red_channel_client_get_stream(rcc); + int flags; + int delay_val; + + if ((flags = fcntl(stream->socket, F_GETFL)) == -1) { + spice_warning("accept failed, %s", strerror(errno)); + return FALSE; + } + + if (fcntl(stream->socket, F_SETFL, flags | O_NONBLOCK) == -1) { + spice_warning("accept failed, %s", strerror(errno)); + return FALSE; + } + + // TODO - this should be dynamic, not one time at channel creation + delay_val = main_channel_client_is_low_bandwidth(mcc) ? 0 : 1; + if (setsockopt(stream->socket, IPPROTO_TCP, TCP_NODELAY, &delay_val, + sizeof(delay_val)) == -1) { + if (errno != ENOTSUP) { + spice_warning("setsockopt failed, %s", strerror(errno)); + } + } + return TRUE; +} + +static void worker_watch_update_mask(SpiceWatch *watch, int event_mask) +{ + struct RedWorker *worker; + int i; + + if (!watch) { + return; + } + + worker = watch->worker; + i = watch - worker->watches; + + worker->poll_fds[i].events = 0; + if (event_mask & SPICE_WATCH_EVENT_READ) { + worker->poll_fds[i].events |= POLLIN; + } + if (event_mask & SPICE_WATCH_EVENT_WRITE) { + worker->poll_fds[i].events |= POLLOUT; + } +} + +static SpiceWatch *worker_watch_add(int fd, int event_mask, SpiceWatchFunc func, void *opaque) +{ + /* Since we are a channel core implementation, we always get called from + red_channel_client_create(), so opaque always is our rcc */ + RedChannelClient *rcc = opaque; + struct RedWorker *worker; + int i; + + /* Since we are called from red_channel_client_create() + CommonChannelClient->worker has not been set yet! */ + worker = SPICE_CONTAINEROF(rcc->channel, CommonChannel, base)->worker; + + /* Search for a free slot in our poll_fds & watches arrays */ + for (i = 0; i < MAX_EVENT_SOURCES; i++) { + if (worker->poll_fds[i].fd == -1) { + break; + } + } + if (i == MAX_EVENT_SOURCES) { + spice_warning("could not add a watch for channel type %u id %u", + rcc->channel->type, rcc->channel->id); + return NULL; + } + + worker->poll_fds[i].fd = fd; + worker->watches[i].worker = worker; + worker->watches[i].watch_func = func; + worker->watches[i].watch_func_opaque = opaque; + worker_watch_update_mask(&worker->watches[i], event_mask); + + return &worker->watches[i]; +} + +static void worker_watch_remove(SpiceWatch *watch) +{ + if (!watch) { + return; + } + + /* Note we don't touch the poll_fd here, to avoid the + poll_fds/watches table entry getting re-used in the same + red_worker_main loop over the fds as it is removed. + + This is done because re-using it while events were pending on + the fd previously occupying the slot would lead to incorrectly + calling the watch_func for the new fd. */ + memset(watch, 0, sizeof(SpiceWatch)); +} + +SpiceCoreInterface worker_core = { + .watch_update_mask = worker_watch_update_mask, + .watch_add = worker_watch_add, + .watch_remove = worker_watch_remove, +}; + +static CommonChannelClient *common_channel_client_create(int size, + CommonChannel *common, + RedClient *client, + RedsStream *stream, + int mig_target, + uint32_t *common_caps, + int num_common_caps, + uint32_t *caps, + int num_caps) +{ + MainChannelClient *mcc = red_client_get_main(client); + RedChannelClient *rcc = + red_channel_client_create(size, &common->base, client, stream, + num_common_caps, common_caps, num_caps, caps); + if (!rcc) { + return NULL; + } + CommonChannelClient *common_cc = (CommonChannelClient*)rcc; + common_cc->worker = common->worker; + common_cc->id = common->worker->id; + common->during_target_migrate = mig_target; + + // TODO: move wide/narrow ack setting to red_channel. + red_channel_client_ack_set_client_window(rcc, + main_channel_client_is_low_bandwidth(mcc) ? + WIDE_CLIENT_ACK_WINDOW : NARROW_CLIENT_ACK_WINDOW); + return common_cc; +} + + +DisplayChannelClient *display_channel_client_create(CommonChannel *common, + RedClient *client, RedsStream *stream, + int mig_target, + uint32_t *common_caps, int num_common_caps, + uint32_t *caps, int num_caps) +{ + DisplayChannelClient *dcc = + (DisplayChannelClient*)common_channel_client_create( + sizeof(DisplayChannelClient), common, client, stream, + mig_target, + common_caps, num_common_caps, + caps, num_caps); + + if (!dcc) { + return NULL; + } + ring_init(&dcc->palette_cache_lru); + dcc->palette_cache_available = CLIENT_PALETTE_CACHE_SIZE; + return dcc; +} + +CursorChannelClient *cursor_channel_create_rcc(CommonChannel *common, + RedClient *client, RedsStream *stream, + int mig_target, + uint32_t *common_caps, int num_common_caps, + uint32_t *caps, int num_caps) +{ + CursorChannelClient *ccc = + (CursorChannelClient*)common_channel_client_create( + sizeof(CursorChannelClient), common, client, stream, + mig_target, + common_caps, + num_common_caps, + caps, + num_caps); + + if (!ccc) { + return NULL; + } + ring_init(&ccc->cursor_cache_lru); + ccc->cursor_cache_available = CLIENT_CURSOR_CACHE_SIZE; + return ccc; +} + +static RedChannel *__new_channel(RedWorker *worker, int size, uint32_t channel_type, + int migration_flags, + channel_disconnect_proc on_disconnect, + channel_send_pipe_item_proc send_item, + channel_hold_pipe_item_proc hold_item, + channel_release_pipe_item_proc release_item, + channel_handle_parsed_proc handle_parsed, + channel_handle_migrate_flush_mark_proc handle_migrate_flush_mark, + channel_handle_migrate_data_proc handle_migrate_data, + channel_handle_migrate_data_get_serial_proc migrate_get_serial) +{ + RedChannel *channel = NULL; + CommonChannel *common; + ChannelCbs channel_cbs = { NULL, }; + + channel_cbs.config_socket = common_channel_config_socket; + channel_cbs.on_disconnect = on_disconnect; + channel_cbs.send_item = send_item; + channel_cbs.hold_item = hold_item; + channel_cbs.release_item = release_item; + channel_cbs.alloc_recv_buf = common_alloc_recv_buf; + channel_cbs.release_recv_buf = common_release_recv_buf; + channel_cbs.handle_migrate_flush_mark = handle_migrate_flush_mark; + channel_cbs.handle_migrate_data = handle_migrate_data; + channel_cbs.handle_migrate_data_get_serial = migrate_get_serial; + + channel = red_channel_create_parser(size, &worker_core, + channel_type, worker->id, + TRUE /* handle_acks */, + spice_get_client_channel_parser(channel_type, NULL), + handle_parsed, + &channel_cbs, + migration_flags); + common = (CommonChannel *)channel; + if (!channel) { + goto error; + } + common->worker = worker; + return channel; + +error: + free(channel); + return NULL; +} + +static void display_channel_hold_pipe_item(RedChannelClient *rcc, PipeItem *item) +{ + spice_assert(item); + switch (item->type) { + case PIPE_ITEM_TYPE_DRAW: + ref_drawable_pipe_item(SPICE_CONTAINEROF(item, DrawablePipeItem, dpi_pipe_item)); + break; + case PIPE_ITEM_TYPE_STREAM_CLIP: + ((StreamClipItem *)item)->refs++; + break; + case PIPE_ITEM_TYPE_UPGRADE: + ((UpgradeItem *)item)->refs++; + break; + case PIPE_ITEM_TYPE_IMAGE: + ((ImageItem *)item)->refs++; + break; + default: + spice_critical("invalid item type"); + } +} + +static void display_channel_client_release_item_after_push(DisplayChannelClient *dcc, + PipeItem *item) +{ + RedWorker *worker = dcc->common.worker; + + switch (item->type) { + case PIPE_ITEM_TYPE_DRAW: + put_drawable_pipe_item(SPICE_CONTAINEROF(item, DrawablePipeItem, dpi_pipe_item)); + break; + case PIPE_ITEM_TYPE_STREAM_CLIP: + red_display_release_stream_clip(worker, (StreamClipItem *)item); + break; + case PIPE_ITEM_TYPE_UPGRADE: + release_upgrade_item(worker, (UpgradeItem *)item); + break; + case PIPE_ITEM_TYPE_IMAGE: + release_image_item((ImageItem *)item); + break; + case PIPE_ITEM_TYPE_VERB: + free(item); + break; + case PIPE_ITEM_TYPE_MONITORS_CONFIG: { + MonitorsConfigItem *monconf_item = SPICE_CONTAINEROF(item, + MonitorsConfigItem, pipe_item); + monitors_config_decref(monconf_item->monitors_config); + free(item); + break; + } + default: + spice_critical("invalid item type"); + } +} + +// TODO: share code between before/after_push since most of the items need the same +// release +static void display_channel_client_release_item_before_push(DisplayChannelClient *dcc, + PipeItem *item) +{ + RedWorker *worker = dcc->common.worker; + + switch (item->type) { + case PIPE_ITEM_TYPE_DRAW: { + DrawablePipeItem *dpi = SPICE_CONTAINEROF(item, DrawablePipeItem, dpi_pipe_item); + ring_remove(&dpi->base); + put_drawable_pipe_item(dpi); + break; + } + case PIPE_ITEM_TYPE_STREAM_CREATE: { + StreamAgent *agent = SPICE_CONTAINEROF(item, StreamAgent, create_item); + red_display_release_stream(worker, agent); + break; + } + case PIPE_ITEM_TYPE_STREAM_CLIP: + red_display_release_stream_clip(worker, (StreamClipItem *)item); + break; + case PIPE_ITEM_TYPE_STREAM_DESTROY: { + StreamAgent *agent = SPICE_CONTAINEROF(item, StreamAgent, destroy_item); + red_display_release_stream(worker, agent); + break; + } + case PIPE_ITEM_TYPE_UPGRADE: + release_upgrade_item(worker, (UpgradeItem *)item); + break; + case PIPE_ITEM_TYPE_IMAGE: + release_image_item((ImageItem *)item); + break; + case PIPE_ITEM_TYPE_CREATE_SURFACE: { + SurfaceCreateItem *surface_create = SPICE_CONTAINEROF(item, SurfaceCreateItem, + pipe_item); + free(surface_create); + break; + } + case PIPE_ITEM_TYPE_DESTROY_SURFACE: { + SurfaceDestroyItem *surface_destroy = SPICE_CONTAINEROF(item, SurfaceDestroyItem, + pipe_item); + free(surface_destroy); + break; + } + case PIPE_ITEM_TYPE_MONITORS_CONFIG: { + MonitorsConfigItem *monconf_item = SPICE_CONTAINEROF(item, + MonitorsConfigItem, pipe_item); + monitors_config_decref(monconf_item->monitors_config); + free(item); + break; + } + case PIPE_ITEM_TYPE_INVAL_ONE: + case PIPE_ITEM_TYPE_VERB: + case PIPE_ITEM_TYPE_MIGRATE_DATA: + case PIPE_ITEM_TYPE_PIXMAP_SYNC: + case PIPE_ITEM_TYPE_PIXMAP_RESET: + case PIPE_ITEM_TYPE_INVAL_PALLET_CACHE: + free(item); + break; + default: + spice_critical("invalid item type"); + } +} + +static void display_channel_release_item(RedChannelClient *rcc, PipeItem *item, int item_pushed) +{ + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + + spice_assert(item); + if (item_pushed) { + display_channel_client_release_item_after_push(dcc, item); + } else { + spice_debug("not pushed (%d)", item->type); + display_channel_client_release_item_before_push(dcc, item); + } +} + +static void display_channel_create(RedWorker *worker, int migrate) +{ + DisplayChannel *display_channel; + + if (worker->display_channel) { + return; + } + + spice_info("create display channel"); + if (!(worker->display_channel = (DisplayChannel *)__new_channel( + worker, sizeof(*display_channel), + SPICE_CHANNEL_DISPLAY, + SPICE_MIGRATE_NEED_FLUSH | SPICE_MIGRATE_NEED_DATA_TRANSFER, + display_channel_client_on_disconnect, + display_channel_send_item, + display_channel_hold_pipe_item, + display_channel_release_item, + display_channel_handle_message, + display_channel_handle_migrate_mark, + display_channel_handle_migrate_data, + display_channel_handle_migrate_data_get_serial + ))) { + spice_warning("failed to create display channel"); + return; + } + display_channel = worker->display_channel; +#ifdef RED_STATISTICS + display_channel->stat = stat_add_node(worker->stat, "display_channel", TRUE); + display_channel->common.base.out_bytes_counter = stat_add_counter(display_channel->stat, + "out_bytes", TRUE); + display_channel->cache_hits_counter = stat_add_counter(display_channel->stat, + "cache_hits", TRUE); + display_channel->add_to_cache_counter = stat_add_counter(display_channel->stat, + "add_to_cache", TRUE); + display_channel->non_cache_counter = stat_add_counter(display_channel->stat, + "non_cache", TRUE); +#endif + stat_compress_init(&display_channel->lz_stat, lz_stat_name); + stat_compress_init(&display_channel->glz_stat, glz_stat_name); + stat_compress_init(&display_channel->quic_stat, quic_stat_name); + stat_compress_init(&display_channel->jpeg_stat, jpeg_stat_name); + stat_compress_init(&display_channel->zlib_glz_stat, zlib_stat_name); + stat_compress_init(&display_channel->jpeg_alpha_stat, jpeg_alpha_stat_name); +} + +static void guest_set_client_capabilities(RedWorker *worker) +{ + int i; + DisplayChannelClient *dcc; + RedChannelClient *rcc; + RingItem *link; + uint8_t caps[58] = { 0 }; + int caps_available[] = { + SPICE_DISPLAY_CAP_SIZED_STREAM, + SPICE_DISPLAY_CAP_MONITORS_CONFIG, + SPICE_DISPLAY_CAP_COMPOSITE, + SPICE_DISPLAY_CAP_A8_SURFACE, + }; + + if (worker->qxl->st->qif->base.major_version < 3 || + (worker->qxl->st->qif->base.major_version == 3 && + worker->qxl->st->qif->base.minor_version < 2) || + !worker->qxl->st->qif->set_client_capabilities) { + return; + } +#define SET_CAP(a,c) \ + ((a)[(c) / 8] |= (1 << ((c) % 8))) + +#define CLEAR_CAP(a,c) \ + ((a)[(c) / 8] &= ~(1 << ((c) % 8))) + + if (!worker->running) { + worker->set_client_capabilities_pending = 1; + return; + } + if (worker->display_channel->common.base.clients_num == 0) { + worker->qxl->st->qif->set_client_capabilities(worker->qxl, FALSE, caps); + } else { + // Take least common denominator + for (i = 0 ; i < sizeof(caps_available) / sizeof(caps_available[0]); ++i) { + SET_CAP(caps, caps_available[i]); + } + DCC_FOREACH(link, dcc, &worker->display_channel->common.base) { + rcc = (RedChannelClient *)dcc; + for (i = 0 ; i < sizeof(caps_available) / sizeof(caps_available[0]); ++i) { + if (!red_channel_client_test_remote_cap(rcc, caps_available[i])) + CLEAR_CAP(caps, caps_available[i]); + } + } + worker->qxl->st->qif->set_client_capabilities(worker->qxl, TRUE, caps); + } + worker->set_client_capabilities_pending = 0; +} + +static void handle_new_display_channel(RedWorker *worker, RedClient *client, RedsStream *stream, + int migrate, + uint32_t *common_caps, int num_common_caps, + uint32_t *caps, int num_caps) +{ + DisplayChannel *display_channel; + DisplayChannelClient *dcc; + size_t stream_buf_size; + int is_low_bandwidth = main_channel_client_is_low_bandwidth(red_client_get_main(client)); + + if (!worker->display_channel) { + spice_warning("Display channel was not created"); + return; + } + display_channel = worker->display_channel; + spice_info("add display channel client"); + dcc = display_channel_client_create(&display_channel->common, client, stream, + migrate, + common_caps, num_common_caps, + caps, num_caps); + if (!dcc) { + return; + } + spice_info("New display (client %p) dcc %p stream %p", client, dcc, stream); + stream_buf_size = 32*1024; + dcc->send_data.stream_outbuf = spice_malloc(stream_buf_size); + dcc->send_data.stream_outbuf_size = stream_buf_size; + red_display_init_glz_data(dcc); + + dcc->send_data.free_list.res = + spice_malloc(sizeof(SpiceResourceList) + + DISPLAY_FREE_LIST_DEFAULT_SIZE * sizeof(SpiceResourceID)); + dcc->send_data.free_list.res_size = DISPLAY_FREE_LIST_DEFAULT_SIZE; + + if (worker->jpeg_state == SPICE_WAN_COMPRESSION_AUTO) { + display_channel->enable_jpeg = is_low_bandwidth; + } else { + display_channel->enable_jpeg = (worker->jpeg_state == SPICE_WAN_COMPRESSION_ALWAYS); + } + + // todo: tune quality according to bandwidth + display_channel->jpeg_quality = 85; + + if (worker->zlib_glz_state == SPICE_WAN_COMPRESSION_AUTO) { + display_channel->enable_zlib_glz_wrap = is_low_bandwidth; + } else { + display_channel->enable_zlib_glz_wrap = (worker->zlib_glz_state == + SPICE_WAN_COMPRESSION_ALWAYS); + } + + spice_info("jpeg %s", display_channel->enable_jpeg ? "enabled" : "disabled"); + spice_info("zlib-over-glz %s", display_channel->enable_zlib_glz_wrap ? "enabled" : "disabled"); + + guest_set_client_capabilities(worker); + + // todo: tune level according to bandwidth + display_channel->zlib_level = ZLIB_DEFAULT_COMPRESSION_LEVEL; + red_display_client_init_streams(dcc); + on_new_display_channel_client(dcc); +} + +static void cursor_channel_client_on_disconnect(RedChannelClient *rcc) +{ + if (!rcc) { + return; + } + red_reset_cursor_cache(rcc); +} + +static void red_disconnect_cursor(RedChannel *channel) +{ + CommonChannel *common; + + if (!channel || !red_channel_is_connected(channel)) { + return; + } + common = SPICE_CONTAINEROF(channel, CommonChannel, base); + spice_assert(channel == (RedChannel *)common->worker->cursor_channel); + common->worker->cursor_channel = NULL; + red_channel_apply_clients(channel, red_reset_cursor_cache); + red_channel_disconnect(channel); +} + +static void red_migrate_cursor(RedWorker *worker, RedChannelClient *rcc) +{ + if (red_channel_client_is_connected(rcc)) { + red_channel_client_pipe_add_type(rcc, + PIPE_ITEM_TYPE_INVAL_CURSOR_CACHE); + red_channel_client_default_migrate(rcc); + } +} + +static void on_new_cursor_channel(RedWorker *worker, RedChannelClient *rcc) +{ + CursorChannel *channel = worker->cursor_channel; + + spice_assert(channel); + red_channel_client_ack_zero_messages_window(rcc); + red_channel_client_push_set_ack(rcc); + // TODO: why do we check for context.canvas? defer this to after display cc is connected + // and test it's canvas? this is just a test to see if there is an active renderer? + if (worker->surfaces[0].context.canvas && !channel->common.during_target_migrate) { + red_channel_client_pipe_add_type(rcc, PIPE_ITEM_TYPE_CURSOR_INIT); + } +} + +static void cursor_channel_hold_pipe_item(RedChannelClient *rcc, PipeItem *item) +{ + CursorPipeItem *cursor_pipe_item; + spice_assert(item); + cursor_pipe_item = SPICE_CONTAINEROF(item, CursorPipeItem, base); + ref_cursor_pipe_item(cursor_pipe_item); +} + +// TODO: share code between before/after_push since most of the items need the same +// release +static void cursor_channel_client_release_item_before_push(CursorChannelClient *ccc, + PipeItem *item) +{ + switch (item->type) { + case PIPE_ITEM_TYPE_CURSOR: { + CursorPipeItem *cursor_pipe_item = SPICE_CONTAINEROF(item, CursorPipeItem, base); + put_cursor_pipe_item(ccc, cursor_pipe_item); + break; + } + case PIPE_ITEM_TYPE_INVAL_ONE: + case PIPE_ITEM_TYPE_VERB: + case PIPE_ITEM_TYPE_CURSOR_INIT: + case PIPE_ITEM_TYPE_INVAL_CURSOR_CACHE: + free(item); + break; + default: + spice_error("invalid pipe item type"); + } +} + +static void cursor_channel_client_release_item_after_push(CursorChannelClient *ccc, + PipeItem *item) +{ + switch (item->type) { + case PIPE_ITEM_TYPE_CURSOR: { + CursorPipeItem *cursor_pipe_item = SPICE_CONTAINEROF(item, CursorPipeItem, base); + put_cursor_pipe_item(ccc, cursor_pipe_item); + break; + } + default: + spice_critical("invalid item type"); + } +} + +static void cursor_channel_release_item(RedChannelClient *rcc, PipeItem *item, int item_pushed) +{ + CursorChannelClient *ccc = RCC_TO_CCC(rcc); + + spice_assert(item); + + if (item_pushed) { + cursor_channel_client_release_item_after_push(ccc, item); + } else { + spice_debug("not pushed (%d)", item->type); + cursor_channel_client_release_item_before_push(ccc, item); + } +} + +static void cursor_channel_create(RedWorker *worker, int migrate) +{ + if (worker->cursor_channel != NULL) { + return; + } + spice_info("create cursor channel"); + worker->cursor_channel = (CursorChannel *)__new_channel( + worker, sizeof(*worker->cursor_channel), + SPICE_CHANNEL_CURSOR, + 0, + cursor_channel_client_on_disconnect, + cursor_channel_send_item, + cursor_channel_hold_pipe_item, + cursor_channel_release_item, + red_channel_client_handle_message, + NULL, + NULL, + NULL); +} + +static void red_connect_cursor(RedWorker *worker, RedClient *client, RedsStream *stream, + int migrate, + uint32_t *common_caps, int num_common_caps, + uint32_t *caps, int num_caps) +{ + CursorChannel *channel; + CursorChannelClient *ccc; + + if (worker->cursor_channel == NULL) { + spice_warning("cursor channel was not created"); + return; + } + channel = worker->cursor_channel; + spice_info("add cursor channel client"); + ccc = cursor_channel_create_rcc(&channel->common, client, stream, + migrate, + common_caps, num_common_caps, + caps, num_caps); + if (!ccc) { + return; + } +#ifdef RED_STATISTICS + channel->stat = stat_add_node(worker->stat, "cursor_channel", TRUE); + channel->common.base.out_bytes_counter = stat_add_counter(channel->stat, "out_bytes", TRUE); +#endif + on_new_cursor_channel(worker, &ccc->common.base); +} + +typedef struct __attribute__ ((__packed__)) CursorData { + uint32_t visible; + SpicePoint16 position; + uint16_t trail_length; + uint16_t trail_frequency; + uint32_t data_size; + SpiceCursor _cursor; +} CursorData; + +static void red_wait_outgoing_item(RedChannelClient *rcc) +{ + uint64_t end_time; + int blocked; + + if (!red_channel_client_blocked(rcc)) { + return; + } + end_time = red_now() + DETACH_TIMEOUT; + spice_info("blocked"); + + do { + usleep(DETACH_SLEEP_DURATION); + red_channel_client_receive(rcc); + red_channel_client_send(rcc); + } while ((blocked = red_channel_client_blocked(rcc)) && red_now() < end_time); + + if (blocked) { + spice_warning("timeout"); + // TODO - shutting down the socket but we still need to trigger + // disconnection. Right now we wait for main channel to error for that. + red_channel_client_shutdown(rcc); + } else { + spice_assert(red_channel_client_no_item_being_sent(rcc)); + } +} + +static void rcc_shutdown_if_pending_send(RedChannelClient *rcc) +{ + if (red_channel_client_blocked(rcc) || rcc->pipe_size > 0) { + red_channel_client_shutdown(rcc); + } else { + spice_assert(red_channel_client_no_item_being_sent(rcc)); + } +} + +static void red_wait_all_sent(RedChannel *channel) +{ + uint64_t end_time; + uint32_t max_pipe_size; + int blocked = FALSE; + + end_time = red_now() + DETACH_TIMEOUT; + + red_channel_push(channel); + while (((max_pipe_size = red_channel_max_pipe_size(channel)) || + (blocked = red_channel_any_blocked(channel))) && + red_now() < end_time) { + spice_debug("pipe-size %u blocked %d", max_pipe_size, blocked); + usleep(DETACH_SLEEP_DURATION); + red_channel_receive(channel); + red_channel_send(channel); + red_channel_push(channel); + } + + if (max_pipe_size || blocked) { + spice_printerr("timeout: pending out messages exist (pipe-size %u, blocked %d)", + max_pipe_size, blocked); + red_channel_apply_clients(channel, rcc_shutdown_if_pending_send); + } else { + spice_assert(red_channel_no_item_being_sent(channel)); + } +} + +/* TODO: more evil sync stuff. anything with the word wait in it's name. */ +static void red_wait_pipe_item_sent(RedChannelClient *rcc, PipeItem *item) +{ + DrawablePipeItem *dpi; + uint64_t end_time; + int item_in_pipe; + + spice_info(NULL); + dpi = SPICE_CONTAINEROF(item, DrawablePipeItem, dpi_pipe_item); + ref_drawable_pipe_item(dpi); + + end_time = red_now() + CHANNEL_PUSH_TIMEOUT; + + if (red_channel_client_blocked(rcc)) { + red_channel_client_receive(rcc); + red_channel_client_send(rcc); + } + red_channel_client_push(rcc); + + while((item_in_pipe = ring_item_is_linked(&item->link)) && (red_now() < end_time)) { + usleep(CHANNEL_PUSH_SLEEP_DURATION); + red_channel_client_receive(rcc); + red_channel_client_send(rcc); + red_channel_client_push(rcc); + } + + if (item_in_pipe) { + spice_warning("timeout"); + red_channel_client_disconnect(rcc); + } else { + red_wait_outgoing_item(rcc); + } + put_drawable_pipe_item(dpi); +} + +static void surface_dirty_region_to_rects(RedSurface *surface, + QXLRect *qxl_dirty_rects, + uint32_t num_dirty_rects, + int clear_dirty_region) +{ + QRegion *surface_dirty_region; + SpiceRect *dirty_rects; + int i; + + surface_dirty_region = &surface->draw_dirty_region; + dirty_rects = spice_new0(SpiceRect, num_dirty_rects); + region_ret_rects(surface_dirty_region, dirty_rects, num_dirty_rects); + if (clear_dirty_region) { + region_clear(surface_dirty_region); + } + for (i = 0; i < num_dirty_rects; i++) { + qxl_dirty_rects[i].top = dirty_rects[i].top; + qxl_dirty_rects[i].left = dirty_rects[i].left; + qxl_dirty_rects[i].bottom = dirty_rects[i].bottom; + qxl_dirty_rects[i].right = dirty_rects[i].right; + } + free(dirty_rects); +} + +void handle_dev_update_async(void *opaque, void *payload) +{ + RedWorker *worker = opaque; + RedWorkerMessageUpdateAsync *msg = payload; + SpiceRect rect; + QXLRect *qxl_dirty_rects; + uint32_t num_dirty_rects; + RedSurface *surface; + uint32_t surface_id = msg->surface_id; + QXLRect qxl_area = msg->qxl_area; + uint32_t clear_dirty_region = msg->clear_dirty_region; + + red_get_rect_ptr(&rect, &qxl_area); + flush_display_commands(worker); + + spice_assert(worker->running); + + VALIDATE_SURFACE_RET(worker, surface_id); + red_update_area(worker, &rect, surface_id); + if (!worker->qxl->st->qif->update_area_complete) { + return; + } + surface = &worker->surfaces[surface_id]; + num_dirty_rects = pixman_region32_n_rects(&surface->draw_dirty_region); + if (num_dirty_rects == 0) { + return; + } + qxl_dirty_rects = spice_new0(QXLRect, num_dirty_rects); + surface_dirty_region_to_rects(surface, qxl_dirty_rects, num_dirty_rects, + clear_dirty_region); + worker->qxl->st->qif->update_area_complete(worker->qxl, surface_id, + qxl_dirty_rects, num_dirty_rects); + free(qxl_dirty_rects); +} + +void handle_dev_update(void *opaque, void *payload) +{ + RedWorker *worker = opaque; + RedWorkerMessageUpdate *msg = payload; + SpiceRect *rect = spice_new0(SpiceRect, 1); + RedSurface *surface; + uint32_t surface_id = msg->surface_id; + const QXLRect *qxl_area = msg->qxl_area; + uint32_t num_dirty_rects = msg->num_dirty_rects; + QXLRect *qxl_dirty_rects = msg->qxl_dirty_rects; + uint32_t clear_dirty_region = msg->clear_dirty_region; + + surface = &worker->surfaces[surface_id]; + red_get_rect_ptr(rect, qxl_area); + flush_display_commands(worker); + + spice_assert(worker->running); + + if (validate_surface(worker, surface_id)) { + red_update_area(worker, rect, surface_id); + } else { + rendering_incorrect(__func__); + } + free(rect); + + surface_dirty_region_to_rects(surface, qxl_dirty_rects, num_dirty_rects, + clear_dirty_region); +} + +static void dev_add_memslot(RedWorker *worker, QXLDevMemSlot mem_slot) +{ + red_memslot_info_add_slot(&worker->mem_slots, mem_slot.slot_group_id, mem_slot.slot_id, + mem_slot.addr_delta, mem_slot.virt_start, mem_slot.virt_end, + mem_slot.generation); +} + +void handle_dev_add_memslot(void *opaque, void *payload) +{ + RedWorker *worker = opaque; + RedWorkerMessageAddMemslot *msg = payload; + QXLDevMemSlot mem_slot = msg->mem_slot; + + red_memslot_info_add_slot(&worker->mem_slots, mem_slot.slot_group_id, mem_slot.slot_id, + mem_slot.addr_delta, mem_slot.virt_start, mem_slot.virt_end, + mem_slot.generation); +} + +void handle_dev_del_memslot(void *opaque, void *payload) +{ + RedWorker *worker = opaque; + RedWorkerMessageDelMemslot *msg = payload; + uint32_t slot_id = msg->slot_id; + uint32_t slot_group_id = msg->slot_group_id; + + red_memslot_info_del_slot(&worker->mem_slots, slot_group_id, slot_id); +} + +/* TODO: destroy_surface_wait, dev_destroy_surface_wait - confusing. one asserts + * surface_id == 0, maybe move the assert upward and merge the two functions? */ +static inline void destroy_surface_wait(RedWorker *worker, int surface_id) +{ + if (!worker->surfaces[surface_id].context.canvas) { + return; + } + + red_handle_depends_on_target_surface(worker, surface_id); + /* note that red_handle_depends_on_target_surface must be called before red_current_clear. + otherwise "current" will hold items that other drawables may depend on, and then + red_current_clear will remove them from the pipe. */ + red_current_clear(worker, surface_id); + red_clear_surface_drawables_from_pipes(worker, surface_id, TRUE, TRUE); +} + +static void dev_destroy_surface_wait(RedWorker *worker, uint32_t surface_id) +{ + spice_assert(surface_id == 0); + + flush_all_qxl_commands(worker); + + if (worker->surfaces[0].context.canvas) { + destroy_surface_wait(worker, 0); + } +} + +void handle_dev_destroy_surface_wait(void *opaque, void *payload) +{ + RedWorkerMessageDestroySurfaceWait *msg = payload; + RedWorker *worker = opaque; + + dev_destroy_surface_wait(worker, msg->surface_id); +} + +static inline void red_cursor_reset(RedWorker *worker) +{ + if (worker->cursor) { + red_release_cursor(worker, worker->cursor); + worker->cursor = NULL; + } + + worker->cursor_visible = TRUE; + worker->cursor_position.x = worker->cursor_position.y = 0; + worker->cursor_trail_length = worker->cursor_trail_frequency = 0; + + if (cursor_is_connected(worker)) { + red_channel_pipes_add_type(&worker->cursor_channel->common.base, + PIPE_ITEM_TYPE_INVAL_CURSOR_CACHE); + if (!worker->cursor_channel->common.during_target_migrate) { + red_pipes_add_verb(&worker->cursor_channel->common.base, SPICE_MSG_CURSOR_RESET); + } + red_wait_all_sent(&worker->cursor_channel->common.base); + } +} + +/* called upon device reset */ + +/* TODO: split me*/ +static inline void dev_destroy_surfaces(RedWorker *worker) +{ + int i; + + spice_debug(NULL); + flush_all_qxl_commands(worker); + //to handle better + for (i = 0; i < NUM_SURFACES; ++i) { + if (worker->surfaces[i].context.canvas) { + destroy_surface_wait(worker, i); + if (worker->surfaces[i].context.canvas) { + red_destroy_surface(worker, i); + } + spice_assert(!worker->surfaces[i].context.canvas); + } + } + spice_assert(ring_is_empty(&worker->streams)); + + if (display_is_connected(worker)) { + red_channel_pipes_add_type(&worker->display_channel->common.base, + PIPE_ITEM_TYPE_INVAL_PALLET_CACHE); + red_pipes_add_verb(&worker->display_channel->common.base, + SPICE_MSG_DISPLAY_STREAM_DESTROY_ALL); + } + + red_display_clear_glz_drawables(worker->display_channel); + + red_cursor_reset(worker); +} + +void handle_dev_destroy_surfaces(void *opaque, void *payload) +{ + RedWorker *worker = opaque; + + dev_destroy_surfaces(worker); +} + +static MonitorsConfigItem *get_monitors_config_item( + RedChannel* channel, MonitorsConfig *monitors_config) +{ + MonitorsConfigItem *mci; + + mci = (MonitorsConfigItem *)spice_malloc(sizeof(*mci)); + mci->monitors_config = monitors_config; + + red_channel_pipe_item_init(channel, + &mci->pipe_item, PIPE_ITEM_TYPE_MONITORS_CONFIG); + return mci; +} + +static inline void red_monitors_config_item_add(DisplayChannelClient *dcc) +{ + MonitorsConfigItem *mci; + RedWorker *worker = dcc->common.worker; + + mci = get_monitors_config_item(dcc->common.base.channel, + monitors_config_getref(worker->monitors_config)); + red_channel_client_pipe_add(&dcc->common.base, &mci->pipe_item); +} + +static void worker_update_monitors_config(RedWorker *worker, + QXLMonitorsConfig *dev_monitors_config) +{ + int heads_size; + MonitorsConfig *monitors_config; + int real_count = 0; + int i; + + if (worker->monitors_config) { + monitors_config_decref(worker->monitors_config); + } + + spice_debug("monitors config %d(%d)", + dev_monitors_config->count, + dev_monitors_config->max_allowed); + for (i = 0; i < dev_monitors_config->count; i++) { + spice_debug("+%d+%d %dx%d", + dev_monitors_config->heads[i].x, + dev_monitors_config->heads[i].y, + dev_monitors_config->heads[i].width, + dev_monitors_config->heads[i].height); + } + + // Ignore any empty sized monitors at the end of the config. + // 4: {w1,h1},{w2,h2},{0,0},{0,0} -> 2: {w1,h1},{w2,h2} + for (i = dev_monitors_config->count ; i > 0 ; --i) { + if (dev_monitors_config->heads[i - 1].width > 0 && + dev_monitors_config->heads[i - 1].height > 0) { + real_count = i; + break; + } + } + heads_size = real_count * sizeof(QXLHead); + spice_debug("new working monitor config (count: %d, real: %d)", + dev_monitors_config->count, real_count); + worker->monitors_config = monitors_config = + spice_malloc(sizeof(*monitors_config) + heads_size); + monitors_config->refs = 1; + monitors_config->worker = worker; + monitors_config->count = dev_monitors_config->count; + monitors_config->max_allowed = dev_monitors_config->max_allowed; + memcpy(monitors_config->heads, dev_monitors_config->heads, heads_size); +} + +static void red_push_monitors_config(DisplayChannelClient *dcc) +{ + MonitorsConfig *monitors_config = DCC_TO_WORKER(dcc)->monitors_config; + + spice_return_if_fail(monitors_config != NULL); + + if (!red_channel_client_test_remote_cap(&dcc->common.base, + SPICE_DISPLAY_CAP_MONITORS_CONFIG)) { + return; + } + red_monitors_config_item_add(dcc); + red_channel_client_push(&dcc->common.base); +} + +static void red_worker_push_monitors_config(RedWorker *worker) +{ + DisplayChannelClient *dcc; + RingItem *item; + + WORKER_FOREACH_DCC(worker, item, dcc) { + red_push_monitors_config(dcc); + } +} + +static void set_monitors_config_to_primary(RedWorker *worker) +{ + QXLHead *head; + DrawContext *context; + + if (!worker->surfaces[0].context.canvas) { + spice_warning("%s: no primary surface", __FUNCTION__); + return; + } + if (worker->monitors_config) { + monitors_config_decref(worker->monitors_config); + } + context = &worker->surfaces[0].context; + worker->monitors_config = + spice_malloc(sizeof(*worker->monitors_config) + sizeof(QXLHead)); + worker->monitors_config->refs = 1; + worker->monitors_config->worker = worker; + worker->monitors_config->count = 1; + worker->monitors_config->max_allowed = 1; + head = worker->monitors_config->heads; + head->id = 0; + head->surface_id = 0; + head->width = context->width; + head->height = context->height; + head->x = 0; + head->y = 0; +} + +static void dev_create_primary_surface(RedWorker *worker, uint32_t surface_id, + QXLDevSurfaceCreate surface) +{ + uint8_t *line_0; + int error; + + spice_debug(NULL); + spice_warn_if(surface_id != 0); + spice_warn_if(surface.height == 0); + spice_warn_if(((uint64_t)abs(surface.stride) * (uint64_t)surface.height) != + abs(surface.stride) * surface.height); + + line_0 = (uint8_t*)get_virt(&worker->mem_slots, surface.mem, + surface.height * abs(surface.stride), + surface.group_id, &error); + if (error) { + return; + } + if (surface.stride < 0) { + line_0 -= (int32_t)(surface.stride * (surface.height -1)); + } + + red_create_surface(worker, 0, surface.width, surface.height, surface.stride, surface.format, + line_0, surface.flags & QXL_SURF_FLAG_KEEP_DATA, TRUE); + set_monitors_config_to_primary(worker); + + if (display_is_connected(worker) && !worker->display_channel->common.during_target_migrate) { + if (!worker->driver_has_monitors_config) { + red_worker_push_monitors_config(worker); + } + red_pipes_add_verb(&worker->display_channel->common.base, + SPICE_MSG_DISPLAY_MARK); + red_channel_push(&worker->display_channel->common.base); + } + + if (cursor_is_connected(worker) && !worker->cursor_channel->common.during_target_migrate) { + red_channel_pipes_add_type(&worker->cursor_channel->common.base, + PIPE_ITEM_TYPE_CURSOR_INIT); + } +} + +void handle_dev_create_primary_surface(void *opaque, void *payload) +{ + RedWorkerMessageCreatePrimarySurface *msg = payload; + RedWorker *worker = opaque; + + dev_create_primary_surface(worker, msg->surface_id, msg->surface); +} + +static void dev_destroy_primary_surface(RedWorker *worker, uint32_t surface_id) +{ + spice_warn_if(surface_id != 0); + + spice_debug(NULL); + if (!worker->surfaces[surface_id].context.canvas) { + spice_warning("double destroy of primary surface"); + return; + } + + flush_all_qxl_commands(worker); + dev_destroy_surface_wait(worker, 0); + red_destroy_surface(worker, 0); + spice_assert(ring_is_empty(&worker->streams)); + + spice_assert(!worker->surfaces[surface_id].context.canvas); + + red_cursor_reset(worker); +} + +void handle_dev_destroy_primary_surface(void *opaque, void *payload) +{ + RedWorkerMessageDestroyPrimarySurface *msg = payload; + RedWorker *worker = opaque; + uint32_t surface_id = msg->surface_id; + + dev_destroy_primary_surface(worker, surface_id); +} + +void handle_dev_destroy_primary_surface_async(void *opaque, void *payload) +{ + RedWorkerMessageDestroyPrimarySurfaceAsync *msg = payload; + RedWorker *worker = opaque; + uint32_t surface_id = msg->surface_id; + + dev_destroy_primary_surface(worker, surface_id); +} + +static void flush_all_surfaces(RedWorker *worker) +{ + int x; + + for (x = 0; x < NUM_SURFACES; ++x) { + if (worker->surfaces[x].context.canvas) { + red_current_flush(worker, x); + } + } +} + +static void dev_flush_surfaces(RedWorker *worker) +{ + flush_all_qxl_commands(worker); + flush_all_surfaces(worker); +} + +void handle_dev_flush_surfaces(void *opaque, void *payload) +{ + RedWorker *worker = opaque; + + dev_flush_surfaces(worker); +} + +void handle_dev_flush_surfaces_async(void *opaque, void *payload) +{ + RedWorker *worker = opaque; + + dev_flush_surfaces(worker); +} + +void handle_dev_stop(void *opaque, void *payload) +{ + RedWorker *worker = opaque; + + spice_info("stop"); + spice_assert(worker->running); + worker->running = FALSE; + red_display_clear_glz_drawables(worker->display_channel); + flush_all_surfaces(worker); + /* todo: when the waiting is expected to take long (slow connection and + * overloaded pipe), don't wait, and in case of migration, + * purge the pipe, send destroy_all_surfaces + * to the client (there is no such message right now), and start + * from scratch on the destination side */ + red_wait_all_sent(&worker->display_channel->common.base); + red_wait_all_sent(&worker->cursor_channel->common.base); +} + +static int display_channel_wait_for_migrate_data(DisplayChannel *display) +{ + uint64_t end_time = red_now() + DISPLAY_CLIENT_MIGRATE_DATA_TIMEOUT; + RedChannel *channel = &display->common.base; + RedChannelClient *rcc; + + spice_debug(NULL); + spice_assert(channel->clients_num == 1); + + rcc = SPICE_CONTAINEROF(ring_get_head(&channel->clients), RedChannelClient, channel_link); + spice_assert(red_channel_client_waits_for_migrate_data(rcc)); + + for (;;) { + red_channel_client_receive(rcc); + if (!red_channel_client_is_connected(rcc)) { + break; + } + + if (!red_channel_client_waits_for_migrate_data(rcc)) { + return TRUE; + } + if (red_now() > end_time) { + spice_warning("timeout"); + red_channel_client_disconnect(rcc); + break; + } + usleep(DISPLAY_CLIENT_RETRY_INTERVAL); + } + return FALSE; +} + +void handle_dev_start(void *opaque, void *payload) +{ + RedWorker *worker = opaque; + + spice_assert(!worker->running); + if (worker->cursor_channel) { + worker->cursor_channel->common.during_target_migrate = FALSE; + } + if (worker->display_channel) { + worker->display_channel->common.during_target_migrate = FALSE; + if (red_channel_waits_for_migrate_data(&worker->display_channel->common.base)) { + display_channel_wait_for_migrate_data(worker->display_channel); + } + } + worker->running = TRUE; + guest_set_client_capabilities(worker); +} + +void handle_dev_wakeup(void *opaque, void *payload) +{ + RedWorker *worker = opaque; + + clear_bit(RED_WORKER_PENDING_WAKEUP, worker->pending); + stat_inc_counter(worker->wakeup_counter, 1); +} + +void handle_dev_oom(void *opaque, void *payload) +{ + RedWorker *worker = opaque; + + RedChannel *display_red_channel = &worker->display_channel->common.base; + int ring_is_empty; + + spice_assert(worker->running); + // streams? but without streams also leak + spice_debug("OOM1 #draw=%u, #red_draw=%u, #glz_draw=%u current %u pipes %u", + worker->drawable_count, + worker->red_drawable_count, + worker->glz_drawable_count, + worker->current_size, + worker->display_channel ? + red_channel_sum_pipes_size(display_red_channel) : 0); + while (red_process_commands(worker, MAX_PIPE_SIZE, &ring_is_empty)) { + red_channel_push(&worker->display_channel->common.base); + } + if (worker->qxl->st->qif->flush_resources(worker->qxl) == 0) { + red_free_some(worker); + worker->qxl->st->qif->flush_resources(worker->qxl); + } + spice_debug("OOM2 #draw=%u, #red_draw=%u, #glz_draw=%u current %u pipes %u", + worker->drawable_count, + worker->red_drawable_count, + worker->glz_drawable_count, + worker->current_size, + worker->display_channel ? + red_channel_sum_pipes_size(display_red_channel) : 0); + clear_bit(RED_WORKER_PENDING_OOM, worker->pending); +} + +void handle_dev_reset_cursor(void *opaque, void *payload) +{ + red_cursor_reset((RedWorker *)opaque); +} + +void handle_dev_reset_image_cache(void *opaque, void *payload) +{ + image_cache_reset(&((RedWorker *)opaque)->image_cache); +} + +void handle_dev_destroy_surface_wait_async(void *opaque, void *payload) +{ + RedWorkerMessageDestroySurfaceWaitAsync *msg = payload; + RedWorker *worker = opaque; + + dev_destroy_surface_wait(worker, msg->surface_id); +} + +void handle_dev_destroy_surfaces_async(void *opaque, void *payload) +{ + RedWorker *worker = opaque; + + dev_destroy_surfaces(worker); +} + +void handle_dev_create_primary_surface_async(void *opaque, void *payload) +{ + RedWorkerMessageCreatePrimarySurfaceAsync *msg = payload; + RedWorker *worker = opaque; + + dev_create_primary_surface(worker, msg->surface_id, msg->surface); +} + +/* exception for Dispatcher, data going from red_worker to main thread, + * TODO: use a different dispatcher? + * TODO: leave direct usage of channel(fd)? It's only used right after the + * pthread is created, since the channel duration is the lifetime of the spice + * server. */ + +void handle_dev_display_channel_create(void *opaque, void *payload) +{ + RedWorker *worker = opaque; + + RedChannel *red_channel; + // TODO: handle seemless migration. Temp, setting migrate to FALSE + display_channel_create(worker, FALSE); + red_channel = &worker->display_channel->common.base; + send_data(worker->channel, &red_channel, sizeof(RedChannel *)); +} + +void handle_dev_display_connect(void *opaque, void *payload) +{ + RedWorkerMessageDisplayConnect *msg = payload; + RedWorker *worker = opaque; + RedsStream *stream = msg->stream; + RedClient *client = msg->client; + int migration = msg->migration; + + spice_info("connect"); + handle_new_display_channel(worker, client, stream, migration, + msg->common_caps, msg->num_common_caps, + msg->caps, msg->num_caps); + free(msg->caps); + free(msg->common_caps); +} + +void handle_dev_display_disconnect(void *opaque, void *payload) +{ + RedWorkerMessageDisplayDisconnect *msg = payload; + RedChannelClient *rcc = msg->rcc; + RedWorker *worker = opaque; + + spice_info("disconnect display client"); + spice_assert(rcc); + + guest_set_client_capabilities(worker); + + red_channel_client_disconnect(rcc); +} + +void handle_dev_display_migrate(void *opaque, void *payload) +{ + RedWorkerMessageDisplayMigrate *msg = payload; + RedWorker *worker = opaque; + + RedChannelClient *rcc = msg->rcc; + spice_info("migrate display client"); + spice_assert(rcc); + red_migrate_display(worker, rcc); +} + +static void handle_dev_monitors_config_async(void *opaque, void *payload) +{ + RedWorkerMessageMonitorsConfigAsync *msg = payload; + RedWorker *worker = opaque; + int min_size = sizeof(QXLMonitorsConfig) + sizeof(QXLHead); + int error; + QXLMonitorsConfig *dev_monitors_config = + (QXLMonitorsConfig*)get_virt(&worker->mem_slots, msg->monitors_config, + min_size, msg->group_id, &error); + + if (error) { + /* TODO: raise guest bug (requires added QXL interface) */ + return; + } + worker->driver_has_monitors_config = 1; + if (dev_monitors_config->count == 0) { + spice_warning("ignoring an empty monitors config message from driver"); + return; + } + if (dev_monitors_config->count > dev_monitors_config->max_allowed) { + spice_warning("ignoring malformed monitors_config from driver, " + "count > max_allowed %d > %d", + dev_monitors_config->count, + dev_monitors_config->max_allowed); + return; + } + worker_update_monitors_config(worker, dev_monitors_config); + red_worker_push_monitors_config(worker); +} + +/* TODO: special, perhaps use another dispatcher? */ +void handle_dev_cursor_channel_create(void *opaque, void *payload) +{ + RedWorker *worker = opaque; + RedChannel *red_channel; + + // TODO: handle seemless migration. Temp, setting migrate to FALSE + cursor_channel_create(worker, FALSE); + red_channel = &worker->cursor_channel->common.base; + send_data(worker->channel, &red_channel, sizeof(RedChannel *)); +} + +void handle_dev_cursor_connect(void *opaque, void *payload) +{ + RedWorkerMessageCursorConnect *msg = payload; + RedWorker *worker = opaque; + RedsStream *stream = msg->stream; + RedClient *client = msg->client; + int migration = msg->migration; + + spice_info("cursor connect"); + red_connect_cursor(worker, client, stream, migration, + msg->common_caps, msg->num_common_caps, + msg->caps, msg->num_caps); + free(msg->caps); + free(msg->common_caps); +} + +void handle_dev_cursor_disconnect(void *opaque, void *payload) +{ + RedWorkerMessageCursorDisconnect *msg = payload; + RedChannelClient *rcc = msg->rcc; + + spice_info("disconnect cursor client"); + spice_assert(rcc); + red_channel_client_disconnect(rcc); +} + +void handle_dev_cursor_migrate(void *opaque, void *payload) +{ + RedWorkerMessageCursorMigrate *msg = payload; + RedWorker *worker = opaque; + RedChannelClient *rcc = msg->rcc; + + spice_info("migrate cursor client"); + spice_assert(rcc); + red_migrate_cursor(worker, rcc); +} + +void handle_dev_set_compression(void *opaque, void *payload) +{ + RedWorkerMessageSetCompression *msg = payload; + RedWorker *worker = opaque; + + worker->image_compression = msg->image_compression; + switch (worker->image_compression) { + case SPICE_IMAGE_COMPRESS_AUTO_LZ: + spice_info("ic auto_lz"); + break; + case SPICE_IMAGE_COMPRESS_AUTO_GLZ: + spice_info("ic auto_glz"); + break; + case SPICE_IMAGE_COMPRESS_QUIC: + spice_info("ic quic"); + break; + case SPICE_IMAGE_COMPRESS_LZ: + spice_info("ic lz"); + break; + case SPICE_IMAGE_COMPRESS_GLZ: + spice_info("ic glz"); + break; + case SPICE_IMAGE_COMPRESS_OFF: + spice_info("ic off"); + break; + default: + spice_warning("ic invalid"); + } +#ifdef COMPRESS_STAT + print_compress_stats(worker->display_channel); + if (worker->display_channel) { + stat_reset(&worker->display_channel->quic_stat); + stat_reset(&worker->display_channel->lz_stat); + stat_reset(&worker->display_channel->glz_stat); + stat_reset(&worker->display_channel->jpeg_stat); + stat_reset(&worker->display_channel->zlib_glz_stat); + stat_reset(&worker->display_channel->jpeg_alpha_stat); + } +#endif +} + +void handle_dev_set_streaming_video(void *opaque, void *payload) +{ + RedWorkerMessageSetStreamingVideo *msg = payload; + RedWorker *worker = opaque; + + worker->streaming_video = msg->streaming_video; + spice_assert(worker->streaming_video != STREAM_VIDEO_INVALID); + switch(worker->streaming_video) { + case STREAM_VIDEO_ALL: + spice_info("sv all"); + break; + case STREAM_VIDEO_FILTER: + spice_info("sv filter"); + break; + case STREAM_VIDEO_OFF: + spice_info("sv off"); + break; + default: + spice_warning("sv invalid"); + } +} + +void handle_dev_set_mouse_mode(void *opaque, void *payload) +{ + RedWorkerMessageSetMouseMode *msg = payload; + RedWorker *worker = opaque; + + worker->mouse_mode = msg->mode; + spice_info("mouse mode %u", worker->mouse_mode); +} + +void handle_dev_add_memslot_async(void *opaque, void *payload) +{ + RedWorkerMessageAddMemslotAsync *msg = payload; + RedWorker *worker = opaque; + + dev_add_memslot(worker, msg->mem_slot); +} + +void handle_dev_reset_memslots(void *opaque, void *payload) +{ + RedWorker *worker = opaque; + + red_memslot_info_reset(&worker->mem_slots); +} + +void handle_dev_loadvm_commands(void *opaque, void *payload) +{ + RedWorkerMessageLoadvmCommands *msg = payload; + RedWorker *worker = opaque; + uint32_t i; + RedCursorCmd *cursor_cmd; + RedSurfaceCmd *surface_cmd; + uint32_t count = msg->count; + QXLCommandExt *ext = msg->ext; + + spice_info("loadvm_commands"); + for (i = 0 ; i < count ; ++i) { + switch (ext[i].cmd.type) { + case QXL_CMD_CURSOR: + cursor_cmd = spice_new0(RedCursorCmd, 1); + if (red_get_cursor_cmd(&worker->mem_slots, ext[i].group_id, + cursor_cmd, ext[i].cmd.data)) { + /* XXX allow failure in loadvm? */ + spice_warning("failed loadvm command type (%d)", + ext[i].cmd.type); + continue; + } + qxl_process_cursor(worker, cursor_cmd, ext[i].group_id); + break; + case QXL_CMD_SURFACE: + surface_cmd = spice_new0(RedSurfaceCmd, 1); + red_get_surface_cmd(&worker->mem_slots, ext[i].group_id, + surface_cmd, ext[i].cmd.data); + red_process_surface(worker, surface_cmd, ext[i].group_id, TRUE); + break; + default: + spice_warning("unhandled loadvm command type (%d)", ext[i].cmd.type); + break; + } + } +} + +static void worker_handle_dispatcher_async_done(void *opaque, + uint32_t message_type, + void *payload) +{ + RedWorker *worker = opaque; + RedWorkerMessageAsync *msg_async = payload; + + spice_debug(NULL); + red_dispatcher_async_complete(worker->red_dispatcher, msg_async->cmd); +} + +static void register_callbacks(Dispatcher *dispatcher) +{ + dispatcher_register_async_done_callback( + dispatcher, + worker_handle_dispatcher_async_done); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_DISPLAY_CONNECT, + handle_dev_display_connect, + sizeof(RedWorkerMessageDisplayConnect), + DISPATCHER_NONE); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_DISPLAY_DISCONNECT, + handle_dev_display_disconnect, + sizeof(RedWorkerMessageDisplayDisconnect), + DISPATCHER_ACK); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_DISPLAY_MIGRATE, + handle_dev_display_migrate, + sizeof(RedWorkerMessageDisplayMigrate), + DISPATCHER_NONE); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_CURSOR_CONNECT, + handle_dev_cursor_connect, + sizeof(RedWorkerMessageCursorConnect), + DISPATCHER_NONE); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_CURSOR_DISCONNECT, + handle_dev_cursor_disconnect, + sizeof(RedWorkerMessageCursorDisconnect), + DISPATCHER_ACK); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_CURSOR_MIGRATE, + handle_dev_cursor_migrate, + sizeof(RedWorkerMessageCursorMigrate), + DISPATCHER_NONE); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_UPDATE, + handle_dev_update, + sizeof(RedWorkerMessageUpdate), + DISPATCHER_ACK); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_UPDATE_ASYNC, + handle_dev_update_async, + sizeof(RedWorkerMessageUpdateAsync), + DISPATCHER_ASYNC); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_ADD_MEMSLOT, + handle_dev_add_memslot, + sizeof(RedWorkerMessageAddMemslot), + DISPATCHER_ACK); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_ADD_MEMSLOT_ASYNC, + handle_dev_add_memslot_async, + sizeof(RedWorkerMessageAddMemslotAsync), + DISPATCHER_ASYNC); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_DEL_MEMSLOT, + handle_dev_del_memslot, + sizeof(RedWorkerMessageDelMemslot), + DISPATCHER_NONE); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_DESTROY_SURFACES, + handle_dev_destroy_surfaces, + sizeof(RedWorkerMessageDestroySurfaces), + DISPATCHER_ACK); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_DESTROY_SURFACES_ASYNC, + handle_dev_destroy_surfaces_async, + sizeof(RedWorkerMessageDestroySurfacesAsync), + DISPATCHER_ASYNC); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_DESTROY_PRIMARY_SURFACE, + handle_dev_destroy_primary_surface, + sizeof(RedWorkerMessageDestroyPrimarySurface), + DISPATCHER_ACK); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_DESTROY_PRIMARY_SURFACE_ASYNC, + handle_dev_destroy_primary_surface_async, + sizeof(RedWorkerMessageDestroyPrimarySurfaceAsync), + DISPATCHER_ASYNC); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_CREATE_PRIMARY_SURFACE_ASYNC, + handle_dev_create_primary_surface_async, + sizeof(RedWorkerMessageCreatePrimarySurfaceAsync), + DISPATCHER_ASYNC); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_CREATE_PRIMARY_SURFACE, + handle_dev_create_primary_surface, + sizeof(RedWorkerMessageCreatePrimarySurface), + DISPATCHER_ACK); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_RESET_IMAGE_CACHE, + handle_dev_reset_image_cache, + sizeof(RedWorkerMessageResetImageCache), + DISPATCHER_ACK); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_RESET_CURSOR, + handle_dev_reset_cursor, + sizeof(RedWorkerMessageResetCursor), + DISPATCHER_ACK); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_WAKEUP, + handle_dev_wakeup, + sizeof(RedWorkerMessageWakeup), + DISPATCHER_NONE); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_OOM, + handle_dev_oom, + sizeof(RedWorkerMessageOom), + DISPATCHER_NONE); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_START, + handle_dev_start, + sizeof(RedWorkerMessageStart), + DISPATCHER_NONE); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_FLUSH_SURFACES_ASYNC, + handle_dev_flush_surfaces_async, + sizeof(RedWorkerMessageFlushSurfacesAsync), + DISPATCHER_ASYNC); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_STOP, + handle_dev_stop, + sizeof(RedWorkerMessageStop), + DISPATCHER_ACK); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_LOADVM_COMMANDS, + handle_dev_loadvm_commands, + sizeof(RedWorkerMessageLoadvmCommands), + DISPATCHER_ACK); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_SET_COMPRESSION, + handle_dev_set_compression, + sizeof(RedWorkerMessageSetCompression), + DISPATCHER_NONE); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_SET_STREAMING_VIDEO, + handle_dev_set_streaming_video, + sizeof(RedWorkerMessageSetStreamingVideo), + DISPATCHER_NONE); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_SET_MOUSE_MODE, + handle_dev_set_mouse_mode, + sizeof(RedWorkerMessageSetMouseMode), + DISPATCHER_NONE); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_DISPLAY_CHANNEL_CREATE, + handle_dev_display_channel_create, + sizeof(RedWorkerMessageDisplayChannelCreate), + DISPATCHER_NONE); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_CURSOR_CHANNEL_CREATE, + handle_dev_cursor_channel_create, + sizeof(RedWorkerMessageCursorChannelCreate), + DISPATCHER_NONE); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_DESTROY_SURFACE_WAIT, + handle_dev_destroy_surface_wait, + sizeof(RedWorkerMessageDestroySurfaceWait), + DISPATCHER_ACK); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_DESTROY_SURFACE_WAIT_ASYNC, + handle_dev_destroy_surface_wait_async, + sizeof(RedWorkerMessageDestroySurfaceWaitAsync), + DISPATCHER_ASYNC); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_RESET_MEMSLOTS, + handle_dev_reset_memslots, + sizeof(RedWorkerMessageResetMemslots), + DISPATCHER_NONE); + dispatcher_register_handler(dispatcher, + RED_WORKER_MESSAGE_MONITORS_CONFIG_ASYNC, + handle_dev_monitors_config_async, + sizeof(RedWorkerMessageMonitorsConfigAsync), + DISPATCHER_ASYNC); +} + + + +static void handle_dev_input(int fd, int event, void *opaque) +{ + RedWorker *worker = opaque; + + dispatcher_handle_recv_read(red_dispatcher_get_dispatcher(worker->red_dispatcher)); +} + +static void red_init(RedWorker *worker, WorkerInitData *init_data) +{ + RedWorkerMessage message; + Dispatcher *dispatcher; + int i; + + spice_assert(sizeof(CursorItem) <= QXL_CURSUR_DEVICE_DATA_SIZE); + + memset(worker, 0, sizeof(RedWorker)); + dispatcher = red_dispatcher_get_dispatcher(init_data->red_dispatcher); + dispatcher_set_opaque(dispatcher, worker); + worker->red_dispatcher = init_data->red_dispatcher; + worker->qxl = init_data->qxl; + worker->id = init_data->id; + worker->channel = dispatcher_get_recv_fd(dispatcher); + register_callbacks(dispatcher); + worker->pending = init_data->pending; + worker->cursor_visible = TRUE; + spice_assert(init_data->num_renderers > 0); + worker->num_renderers = init_data->num_renderers; + memcpy(worker->renderers, init_data->renderers, sizeof(worker->renderers)); + worker->renderer = RED_RENDERER_INVALID; + worker->mouse_mode = SPICE_MOUSE_MODE_SERVER; + worker->image_compression = init_data->image_compression; + worker->jpeg_state = init_data->jpeg_state; + worker->zlib_glz_state = init_data->zlib_glz_state; + worker->streaming_video = init_data->streaming_video; + worker->driver_has_monitors_config = 0; + ring_init(&worker->current_list); + image_cache_init(&worker->image_cache); + image_surface_init(worker); + drawables_init(worker); + cursor_items_init(worker); + red_init_streams(worker); + stat_init(&worker->add_stat, add_stat_name); + stat_init(&worker->exclude_stat, exclude_stat_name); + stat_init(&worker->__exclude_stat, __exclude_stat_name); +#ifdef RED_STATISTICS + char worker_str[20]; + sprintf(worker_str, "display[%d]", worker->id); + worker->stat = stat_add_node(INVALID_STAT_REF, worker_str, TRUE); + worker->wakeup_counter = stat_add_counter(worker->stat, "wakeups", TRUE); + worker->command_counter = stat_add_counter(worker->stat, "commands", TRUE); +#endif + for (i = 0; i < MAX_EVENT_SOURCES; i++) { + worker->poll_fds[i].fd = -1; + } + + worker->poll_fds[0].fd = worker->channel; + worker->poll_fds[0].events = POLLIN; + worker->watches[0].worker = worker; + worker->watches[0].watch_func = handle_dev_input; + worker->watches[0].watch_func_opaque = worker; + + red_memslot_info_init(&worker->mem_slots, + init_data->num_memslots_groups, + init_data->num_memslots, + init_data->memslot_gen_bits, + init_data->memslot_id_bits, + init_data->internal_groupslot_id); + + spice_warn_if(init_data->n_surfaces > NUM_SURFACES); + worker->n_surfaces = init_data->n_surfaces; + + message = RED_WORKER_MESSAGE_READY; + write_message(worker->channel, &message); +} + +static void red_display_cc_free_glz_drawables(RedChannelClient *rcc) +{ + DisplayChannelClient *dcc = RCC_TO_DCC(rcc); + + red_display_handle_glz_drawables_to_free(dcc); +} + +SPICE_GNUC_NORETURN void *red_worker_main(void *arg) +{ + RedWorker *worker = spice_malloc(sizeof(RedWorker)); + + spice_info("begin"); + spice_assert(MAX_PIPE_SIZE > WIDE_CLIENT_ACK_WINDOW && + MAX_PIPE_SIZE > NARROW_CLIENT_ACK_WINDOW); //ensure wakeup by ack message + +#if defined(RED_WORKER_STAT) || defined(COMPRESS_STAT) + if (pthread_getcpuclockid(pthread_self(), &clock_id)) { + spice_error("pthread_getcpuclockid failed"); + } +#endif + + red_init(worker, (WorkerInitData *)arg); + red_init_quic(worker); + red_init_lz(worker); + red_init_jpeg(worker); + red_init_zlib(worker); + worker->event_timeout = INF_EVENT_WAIT; + for (;;) { + int i, num_events; + + worker->event_timeout = MIN(red_get_streams_timout(worker), worker->event_timeout); + num_events = poll(worker->poll_fds, MAX_EVENT_SOURCES, worker->event_timeout); + red_handle_streams_timout(worker); + + if (worker->display_channel) { + /* during migration, in the dest, the display channel can be initialized + while the global lz data not since migrate data msg hasn't been + received yet */ + red_channel_apply_clients(&worker->display_channel->common.base, + red_display_cc_free_glz_drawables); + } + + worker->event_timeout = INF_EVENT_WAIT; + if (num_events == -1) { + if (errno != EINTR) { + spice_error("poll failed, %s", strerror(errno)); + } + } + + for (i = 0; i < MAX_EVENT_SOURCES; i++) { + /* The watch may have been removed by the watch-func from + another fd (ie a disconnect through the dispatcher), + in this case watch_func is NULL. */ + if (worker->poll_fds[i].revents && worker->watches[i].watch_func) { + int events = 0; + if (worker->poll_fds[i].revents & POLLIN) { + events |= SPICE_WATCH_EVENT_READ; + } + if (worker->poll_fds[i].revents & POLLOUT) { + events |= SPICE_WATCH_EVENT_WRITE; + } + worker->watches[i].watch_func(worker->poll_fds[i].fd, events, + worker->watches[i].watch_func_opaque); + } + } + + /* Clear the poll_fd for any removed watches, see the comment in + watch_remove for why we don't do this there. */ + for (i = 0; i < MAX_EVENT_SOURCES; i++) { + if (!worker->watches[i].watch_func) { + worker->poll_fds[i].fd = -1; + } + } + + if (worker->running) { + int ring_is_empty; + red_process_cursor(worker, MAX_PIPE_SIZE, &ring_is_empty); + red_process_commands(worker, MAX_PIPE_SIZE, &ring_is_empty); + } + red_push(worker); + } + abort(); +} + +#ifdef DUMP_BITMAP +#include <stdio.h> +static void dump_palette(FILE *f, SpicePalette* plt) +{ + int i; + for (i = 0; i < plt->num_ents; i++) { + fwrite(plt->ents + i, sizeof(uint32_t), 1, f); + } +} + +static void dump_line(FILE *f, uint8_t* line, uint16_t n_pixel_bits, int width, int row_size) +{ + int i; + int copy_bytes_size = SPICE_ALIGN(n_pixel_bits * width, 8) / 8; + + fwrite(line, 1, copy_bytes_size, f); + if (row_size > copy_bytes_size) { + // each line should be 4 bytes aligned + for (i = copy_bytes_size; i < row_size; i++) { + fprintf(f, "%c", 0); + } + } +} + +#define RAM_PATH "/tmp/tmpfs" + +static void dump_bitmap(RedWorker *worker, SpiceBitmap *bitmap, uint32_t group_id) +{ + static uint32_t file_id = 0; + + char file_str[200]; + int rgb = TRUE; + uint16_t n_pixel_bits; + SpicePalette *plt = NULL; + uint32_t id; + int row_size; + uint32_t file_size; + int alpha = 0; + uint32_t header_size = 14 + 40; + uint32_t bitmap_data_offset; + uint32_t tmp_u32; + int32_t tmp_32; + uint16_t tmp_u16; + FILE *f; + int i; + + switch (bitmap->format) { + case SPICE_BITMAP_FMT_1BIT_BE: + case SPICE_BITMAP_FMT_1BIT_LE: + rgb = FALSE; + n_pixel_bits = 1; + break; + case SPICE_BITMAP_FMT_4BIT_BE: + case SPICE_BITMAP_FMT_4BIT_LE: + rgb = FALSE; + n_pixel_bits = 4; + break; + case SPICE_BITMAP_FMT_8BIT: + rgb = FALSE; + n_pixel_bits = 8; + break; + case SPICE_BITMAP_FMT_16BIT: + n_pixel_bits = 16; + break; + case SPICE_BITMAP_FMT_24BIT: + n_pixel_bits = 24; + break; + case SPICE_BITMAP_FMT_32BIT: + n_pixel_bits = 32; + break; + case SPICE_BITMAP_FMT_RGBA: + n_pixel_bits = 32; + alpha = 1; + break; + default: + spice_error("invalid bitmap format %u", bitmap->format); + } + + if (!rgb) { + if (!bitmap->palette) { + return; // dont dump masks. + } + plt = bitmap->palette; + } + row_size = (((bitmap->x * n_pixel_bits) + 31) / 32) * 4; + bitmap_data_offset = header_size; + + if (plt) { + bitmap_data_offset += plt->num_ents * 4; + } + file_size = bitmap_data_offset + (bitmap->y * row_size); + + id = ++file_id; + sprintf(file_str, "%s/%u.bmp", RAM_PATH, id); + + f = fopen(file_str, "wb"); + if (!f) { + spice_error("Error creating bmp"); + return; + } + + /* writing the bmp v3 header */ + fprintf(f, "BM"); + fwrite(&file_size, sizeof(file_size), 1, f); + tmp_u16 = alpha ? 1 : 0; + fwrite(&tmp_u16, sizeof(tmp_u16), 1, f); // reserved for application + tmp_u16 = 0; + fwrite(&tmp_u16, sizeof(tmp_u16), 1, f); + fwrite(&bitmap_data_offset, sizeof(bitmap_data_offset), 1, f); + tmp_u32 = header_size - 14; + fwrite(&tmp_u32, sizeof(tmp_u32), 1, f); // sub header size + tmp_32 = bitmap->x; + fwrite(&tmp_32, sizeof(tmp_32), 1, f); + tmp_32 = bitmap->y; + fwrite(&tmp_32, sizeof(tmp_32), 1, f); + + tmp_u16 = 1; + fwrite(&tmp_u16, sizeof(tmp_u16), 1, f); // color plane + fwrite(&n_pixel_bits, sizeof(n_pixel_bits), 1, f); // pixel depth + + tmp_u32 = 0; + fwrite(&tmp_u32, sizeof(tmp_u32), 1, f); // compression method + + tmp_u32 = 0; //file_size - bitmap_data_offset; + fwrite(&tmp_u32, sizeof(tmp_u32), 1, f); // image size + tmp_32 = 0; + fwrite(&tmp_32, sizeof(tmp_32), 1, f); + fwrite(&tmp_32, sizeof(tmp_32), 1, f); + tmp_u32 = (!plt) ? 0 : plt->num_ents; // plt entries + fwrite(&tmp_u32, sizeof(tmp_u32), 1, f); + tmp_u32 = 0; + fwrite(&tmp_u32, sizeof(tmp_u32), 1, f); + + if (plt) { + dump_palette(f, plt); + } + /* writing the data */ + for (i = 0; i < bitmap->data->num_chunks; i++) { + SpiceChunk *chunk = &bitmap->data->chunk[i]; + int num_lines = chunk->len / bitmap->stride; + for (i = 0; i < num_lines; i++) { + dump_line(f, chunk->data + (i * bitmap->stride), n_pixel_bits, bitmap->x, row_size); + } + } + fclose(f); +} + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/red_worker.h b/tizen/distrib/remote/server/spice-0.12.2/server/red_worker.h new file mode 100644 index 0000000..6c5b839 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/red_worker.h @@ -0,0 +1,169 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_REDWORKER +#define _H_REDWORKER + +#include <unistd.h> +#include <errno.h> +#include "red_common.h" + + +static inline void set_bit(int index, uint32_t *addr) +{ + uint32_t mask = 1 << index; + __sync_or_and_fetch(addr, mask); +} + +static inline void clear_bit(int index, uint32_t *addr) +{ + uint32_t mask = ~(1 << index); + __sync_and_and_fetch(addr, mask); +} + +static inline int test_bit(int index, uint32_t val) +{ + return val & (1u << index); +} + +enum { + RED_WORKER_PENDING_WAKEUP, + RED_WORKER_PENDING_OOM, +}; + +enum { + RED_WORKER_MESSAGE_NOP, + RED_WORKER_MESSAGE_UPDATE, + RED_WORKER_MESSAGE_WAKEUP, + RED_WORKER_MESSAGE_OOM, + RED_WORKER_MESSAGE_READY, + RED_WORKER_MESSAGE_DISPLAY_CONNECT, + RED_WORKER_MESSAGE_DISPLAY_DISCONNECT, + RED_WORKER_MESSAGE_DISPLAY_MIGRATE, + RED_WORKER_MESSAGE_START, + RED_WORKER_MESSAGE_STOP, + RED_WORKER_MESSAGE_CURSOR_CONNECT, + RED_WORKER_MESSAGE_CURSOR_DISCONNECT, + RED_WORKER_MESSAGE_CURSOR_MIGRATE, + RED_WORKER_MESSAGE_SET_COMPRESSION, + RED_WORKER_MESSAGE_SET_STREAMING_VIDEO, + RED_WORKER_MESSAGE_SET_MOUSE_MODE, + RED_WORKER_MESSAGE_ADD_MEMSLOT, + RED_WORKER_MESSAGE_DEL_MEMSLOT, + RED_WORKER_MESSAGE_RESET_MEMSLOTS, + RED_WORKER_MESSAGE_DESTROY_SURFACES, + RED_WORKER_MESSAGE_CREATE_PRIMARY_SURFACE, + RED_WORKER_MESSAGE_DESTROY_PRIMARY_SURFACE, + RED_WORKER_MESSAGE_RESET_CURSOR, + RED_WORKER_MESSAGE_RESET_IMAGE_CACHE, + RED_WORKER_MESSAGE_DESTROY_SURFACE_WAIT, + RED_WORKER_MESSAGE_LOADVM_COMMANDS, + /* async commands */ + RED_WORKER_MESSAGE_UPDATE_ASYNC, + RED_WORKER_MESSAGE_ADD_MEMSLOT_ASYNC, + RED_WORKER_MESSAGE_DESTROY_SURFACES_ASYNC, + RED_WORKER_MESSAGE_CREATE_PRIMARY_SURFACE_ASYNC, + RED_WORKER_MESSAGE_DESTROY_PRIMARY_SURFACE_ASYNC, + RED_WORKER_MESSAGE_DESTROY_SURFACE_WAIT_ASYNC, + /* suspend/windows resolution change command */ + RED_WORKER_MESSAGE_FLUSH_SURFACES_ASYNC, + + RED_WORKER_MESSAGE_DISPLAY_CHANNEL_CREATE, + RED_WORKER_MESSAGE_CURSOR_CHANNEL_CREATE, + + RED_WORKER_MESSAGE_MONITORS_CONFIG_ASYNC, + + RED_WORKER_MESSAGE_COUNT // LAST +}; + +typedef uint32_t RedWorkerMessage; + +#define RED_MAX_RENDERERS 4 + +enum { + RED_RENDERER_INVALID, + RED_RENDERER_SW, + RED_RENDERER_OGL_PBUF, + RED_RENDERER_OGL_PIXMAP, +}; + +typedef struct RedDispatcher RedDispatcher; + +typedef struct WorkerInitData { + struct QXLInstance *qxl; + int id; + uint32_t *pending; + uint32_t num_renderers; + uint32_t renderers[RED_MAX_RENDERERS]; + spice_image_compression_t image_compression; + spice_wan_compression_t jpeg_state; + spice_wan_compression_t zlib_glz_state; + int streaming_video; + uint32_t num_memslots; + uint32_t num_memslots_groups; + uint8_t memslot_gen_bits; + uint8_t memslot_id_bits; + uint8_t internal_groupslot_id; + uint32_t n_surfaces; + RedDispatcher *red_dispatcher; +} WorkerInitData; + +void *red_worker_main(void *arg); + +static inline void send_data(int fd, void *in_buf, int n) +{ + uint8_t *buf = in_buf; + do { + int now; + if ((now = write(fd, buf, n)) == -1) { + if (errno == EINTR) { + continue; + } + spice_error("%s", strerror(errno)); + } + buf += now; + n -= now; + } while (n); +} + +static inline void write_message(int fd, RedWorkerMessage *message) +{ + send_data(fd, message, sizeof(RedWorkerMessage)); +} + +static inline void receive_data(int fd, void *in_buf, int n) +{ + uint8_t *buf = in_buf; + do { + int now; + if ((now = read(fd, buf, n)) == -1) { + if (errno == EINTR) { + continue; + } + spice_error("%s", strerror(errno)); + } + buf += now; + n -= now; + } while (n); +} + +static inline void read_message(int fd, RedWorkerMessage *message) +{ + receive_data(fd, message, sizeof(RedWorkerMessage)); +} + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/reds-private.h b/tizen/distrib/remote/server/spice-0.12.2/server/reds-private.h new file mode 100644 index 0000000..3db6565 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/reds-private.h @@ -0,0 +1,182 @@ +#ifndef REDS_PRIVATE_H +#define REDS_PRIVATE_H + +#include <time.h> + +#include <spice/protocol.h> + +#define MIGRATE_TIMEOUT (1000 * 10) /* 10sec */ +#define MM_TIMER_GRANULARITY_MS (1000 / 30) +#define MM_TIME_DELTA 400 /*ms*/ + +typedef struct TicketAuthentication { + char password[SPICE_MAX_PASSWORD_LENGTH]; + time_t expiration_time; +} TicketAuthentication; + +typedef struct TicketInfo { + RSA *rsa; + int rsa_size; + BIGNUM *bn; + SpiceLinkEncryptedTicket encrypted_ticket; +} TicketInfo; + +typedef struct MonitorMode { + uint32_t x_res; + uint32_t y_res; +} MonitorMode; + +typedef struct VDIReadBuf { + RingItem link; + uint32_t refs; + + int len; + uint8_t data[SPICE_AGENT_MAX_DATA_SIZE]; +} VDIReadBuf; + +static VDIReadBuf *vdi_port_read_buf_get(void); +static VDIReadBuf *vdi_port_read_buf_ref(VDIReadBuf *buf); +static void vdi_port_read_buf_unref(VDIReadBuf *buf); + +enum { + VDI_PORT_READ_STATE_READ_HEADER, + VDI_PORT_READ_STATE_GET_BUFF, + VDI_PORT_READ_STATE_READ_DATA, +}; + +typedef struct VDIPortState { + SpiceCharDeviceState *base; + uint32_t plug_generation; + int client_agent_started; + + /* write to agent */ + SpiceCharDeviceWriteBuffer *recv_from_client_buf; + int recv_from_client_buf_pushed; + AgentMsgFilter write_filter; + + /* read from agent */ + Ring read_bufs; + uint32_t read_state; + uint32_t message_recive_len; + uint8_t *recive_pos; + uint32_t recive_len; + VDIReadBuf *current_read_buf; + AgentMsgFilter read_filter; + + VDIChunkHeader vdi_chunk_header; + + SpiceMigrateDataMain *mig_data; /* storing it when migration data arrives + before agent is attached */ +} VDIPortState; + +/* messages that are addressed to the agent and are created in the server */ +typedef struct __attribute__ ((__packed__)) VDInternalBuf { + VDIChunkHeader chunk_header; + VDAgentMessage header; + union { + VDAgentMouseState mouse_state; + } + u; +} VDInternalBuf; + +#ifdef RED_STATISTICS + +#define REDS_MAX_STAT_NODES 100 +#define REDS_STAT_SHM_SIZE (sizeof(SpiceStat) + REDS_MAX_STAT_NODES * sizeof(SpiceStatNode)) + +typedef struct RedsStatValue { + uint32_t value; + uint32_t min; + uint32_t max; + uint32_t average; + uint32_t count; +} RedsStatValue; + +#endif + +typedef struct RedsMigPendingLink { + RingItem ring_link; // list of links that belongs to the same client + SpiceLinkMess *link_msg; + RedsStream *stream; +} RedsMigPendingLink; + +typedef struct RedsMigTargetClient { + RingItem link; + RedClient *client; + Ring pending_links; +} RedsMigTargetClient; + +typedef struct RedsMigWaitDisconnectClient { + RingItem link; + RedClient *client; +} RedsMigWaitDisconnectClient; + +typedef struct SpiceCharDeviceStateItem { + RingItem link; + SpiceCharDeviceState *st; +} SpiceCharDeviceStateItem; + +/* Intermediate state for on going monitors config message from a single + * client, being passed to the guest */ +typedef struct RedsClientMonitorsConfig { + MainChannelClient *mcc; + uint8_t *buffer; + int buffer_size; + int buffer_pos; +} RedsClientMonitorsConfig; + +typedef struct RedsState { + int listen_socket; + int secure_listen_socket; + SpiceWatch *listen_watch; + SpiceWatch *secure_listen_watch; + VDIPortState agent_state; + int pending_mouse_event; + Ring clients; + int num_clients; + MainChannel *main_channel; + + int mig_wait_connect; /* src waits for clients to establish connection to dest + (before migration starts) */ + int mig_wait_disconnect; /* src waits for clients to disconnect (after migration completes) */ + Ring mig_wait_disconnect_clients; /* List of RedsMigWaitDisconnectClient. Holds the clients + which the src waits for their disconnection */ + + int mig_inprogress; + int expect_migrate; + int src_do_seamless_migrate; /* per migration. Updated after the migration handshake + between the 2 servers */ + int dst_do_seamless_migrate; /* per migration. Updated after the migration handshake + between the 2 servers */ + Ring mig_target_clients; + int num_mig_target_clients; + RedsMigSpice *mig_spice; + + int num_of_channels; + Ring channels; + int mouse_mode; + int is_client_mouse_allowed; + int dispatcher_allows_client_mouse; + MonitorMode monitor_mode; + SpiceTimer *mig_timer; + SpiceTimer *mm_timer; + + int vm_running; + Ring char_devs_states; /* list of SpiceCharDeviceStateItem */ + int seamless_migration_enabled; /* command line arg */ + + SSL_CTX *ctx; + +#ifdef RED_STATISTICS + char *stat_shm_name; + SpiceStat *stat; + pthread_mutex_t stat_lock; + RedsStatValue roundtrip_stat; +#endif + int peer_minor_version; + int allow_multiple_clients; + + RedsClientMonitorsConfig client_monitors_config; +} RedsState; + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/reds.c b/tizen/distrib/remote/server/spice-0.12.2/server/reds.c new file mode 100644 index 0000000..3dc38f8 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/reds.c @@ -0,0 +1,4601 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <stdint.h> +#include <stdio.h> +#include <unistd.h> +#include <sys/socket.h> +#include <sys/uio.h> +#include <netinet/in.h> +#include <netinet/tcp.h> +#include <arpa/inet.h> +#include <netdb.h> +#include <limits.h> +#include <time.h> +#include <pthread.h> +#include <sys/mman.h> +#include <fcntl.h> +#include <errno.h> +#include <ctype.h> +#include <stdbool.h> + +#include <openssl/bio.h> +#include <openssl/pem.h> +#include <openssl/bn.h> +#include <openssl/rsa.h> +#include <openssl/ssl.h> +#include <openssl/err.h> +#if HAVE_SASL +#include <sasl/sasl.h> +#endif + +#include <glib.h> + +#include <spice/protocol.h> +#include <spice/vd_agent.h> +#include <spice/stats.h> + +#include "common/generated_server_marshallers.h" +#include "common/ring.h" + +#include "spice.h" +#include "spice-experimental.h" +#include "reds.h" +#include "agent-msg-filter.h" +#include "inputs_channel.h" +#include "main_channel.h" +#include "red_common.h" +#include "red_dispatcher.h" +#include "main_dispatcher.h" +#include "snd_worker.h" +#include "stat.h" +#include "demarshallers.h" +#include "char_device.h" +#include "migration_protocol.h" +#ifdef USE_TUNNEL +#include "red_tunnel_worker.h" +#endif +#ifdef USE_SMARTCARD +#include "smartcard.h" +#endif + +#include "reds-private.h" + +SpiceCoreInterface *core = NULL; +static SpiceCharDeviceInstance *vdagent = NULL; +static SpiceMigrateInstance *migration_interface = NULL; +/* Debugging only variable: allow multiple client connections to the spice + * server */ +#define SPICE_DEBUG_ALLOW_MC_ENV "SPICE_DEBUG_ALLOW_MC" + +#define MIGRATION_NOTIFY_SPICE_KEY "spice_mig_ext" + +#define REDS_MIG_VERSION 3 +#define REDS_MIG_CONTINUE 1 +#define REDS_MIG_ABORT 2 +#define REDS_MIG_DIFF_VERSION 3 + +#define REDS_TOKENS_TO_SEND 5 +#define REDS_VDI_PORT_NUM_RECEIVE_BUFFS 5 + +static TicketAuthentication taTicket; + +static int spice_port = -1; +static int spice_secure_port = -1; +static int spice_listen_socket_fd = -1; +static char spice_addr[256]; +static int spice_family = PF_UNSPEC; +static const char *default_renderer = "sw"; +static int sasl_enabled = 0; // sasl disabled by default +#if HAVE_SASL +static char *sasl_appname = NULL; // default to "spice" if NULL +#endif +static char *spice_name = NULL; +static bool spice_uuid_is_set = FALSE; +static uint8_t spice_uuid[16] = { 0, }; + +static int ticketing_enabled = 1; //Ticketing is enabled by default +static pthread_mutex_t *lock_cs; +static long *lock_count; +uint32_t streaming_video = STREAM_VIDEO_FILTER; +spice_image_compression_t image_compression = SPICE_IMAGE_COMPRESS_AUTO_GLZ; +spice_wan_compression_t jpeg_state = SPICE_WAN_COMPRESSION_AUTO; +spice_wan_compression_t zlib_glz_state = SPICE_WAN_COMPRESSION_AUTO; +#ifdef USE_TUNNEL +void *red_tunnel = NULL; +#endif +int agent_mouse = TRUE; +int agent_copypaste = TRUE; +static bool exit_on_disconnect = FALSE; + +static RedsState *reds = NULL; + +typedef struct AsyncRead { + RedsStream *stream; + void *opaque; + uint8_t *now; + uint8_t *end; + void (*done)(void *opaque); + void (*error)(void *opaque, int err); +} AsyncRead; + +typedef struct RedLinkInfo { + RedsStream *stream; + AsyncRead asyc_read; + SpiceLinkHeader link_header; + SpiceLinkMess *link_mess; + int mess_pos; + TicketInfo tiTicketing; + SpiceLinkAuthMechanism auth_mechanism; + int skip_auth; +} RedLinkInfo; + +typedef struct RedSSLParameters { + char keyfile_password[256]; + char certs_file[256]; + char private_key_file[256]; + char ca_certificate_file[256]; + char dh_key_file[256]; + char ciphersuite[256]; +} RedSSLParameters; + +typedef struct ChannelSecurityOptions ChannelSecurityOptions; +struct ChannelSecurityOptions { + uint32_t channel_id; + uint32_t options; + ChannelSecurityOptions *next; +}; + +static void migrate_timeout(void *opaque); +static RedsMigTargetClient* reds_mig_target_client_find(RedClient *client); +static void reds_mig_target_client_free(RedsMigTargetClient *mig_client); +static void reds_mig_cleanup_wait_disconnect(void); +static void reds_mig_remove_wait_disconnect_client(RedClient *client); +static void reds_char_device_add_state(SpiceCharDeviceState *st); +static void reds_char_device_remove_state(SpiceCharDeviceState *st); + +static ChannelSecurityOptions *channels_security = NULL; +static int default_channel_security = + SPICE_CHANNEL_SECURITY_NONE | SPICE_CHANNEL_SECURITY_SSL; + +static RedSSLParameters ssl_parameters; + +static ChannelSecurityOptions *find_channel_security(int id) +{ + ChannelSecurityOptions *now = channels_security; + while (now && now->channel_id != id) { + now = now->next; + } + return now; +} + +static void reds_stream_channel_event(RedsStream *s, int event) +{ + if (core->base.minor_version < 3 || core->channel_event == NULL) + return; + main_dispatcher_channel_event(event, s->info); +} + +static ssize_t stream_write_cb(RedsStream *s, const void *buf, size_t size) +{ + return write(s->socket, buf, size); +} + +static ssize_t stream_writev_cb(RedsStream *s, const struct iovec *iov, int iovcnt) +{ + ssize_t ret = 0; + do { + int tosend; + ssize_t n, expected = 0; + int i; +#ifdef IOV_MAX + tosend = MIN(iovcnt, IOV_MAX); +#else + tosend = iovcnt; +#endif + for (i = 0; i < tosend; i++) { + expected += iov[i].iov_len; + } + n = writev(s->socket, iov, tosend); + if (n <= expected) { + if (n > 0) + ret += n; + return ret == 0 ? n : ret; + } + ret += n; + iov += tosend; + iovcnt -= tosend; + } while(iovcnt > 0); + + return ret; +} + +static ssize_t stream_read_cb(RedsStream *s, void *buf, size_t size) +{ + return read(s->socket, buf, size); +} + +static ssize_t stream_ssl_write_cb(RedsStream *s, const void *buf, size_t size) +{ + int return_code; + SPICE_GNUC_UNUSED int ssl_error; + + return_code = SSL_write(s->ssl, buf, size); + + if (return_code < 0) { + ssl_error = SSL_get_error(s->ssl, return_code); + } + + return return_code; +} + +static ssize_t stream_ssl_read_cb(RedsStream *s, void *buf, size_t size) +{ + int return_code; + SPICE_GNUC_UNUSED int ssl_error; + + return_code = SSL_read(s->ssl, buf, size); + + if (return_code < 0) { + ssl_error = SSL_get_error(s->ssl, return_code); + } + + return return_code; +} + +static void reds_stream_remove_watch(RedsStream* s) +{ + if (s->watch) { + core->watch_remove(s->watch); + s->watch = NULL; + } +} + +static void reds_link_free(RedLinkInfo *link) +{ + reds_stream_free(link->stream); + link->stream = NULL; + + free(link->link_mess); + link->link_mess = NULL; + + BN_free(link->tiTicketing.bn); + link->tiTicketing.bn = NULL; + + if (link->tiTicketing.rsa) { + RSA_free(link->tiTicketing.rsa); + link->tiTicketing.rsa = NULL; + } + + free(link); +} + +#ifdef RED_STATISTICS + +static void insert_stat_node(StatNodeRef parent, StatNodeRef ref) +{ + SpiceStatNode *node = &reds->stat->nodes[ref]; + uint32_t pos = INVALID_STAT_REF; + uint32_t node_index; + uint32_t *head; + SpiceStatNode *n; + + node->first_child_index = INVALID_STAT_REF; + head = (parent == INVALID_STAT_REF ? &reds->stat->root_index : + &reds->stat->nodes[parent].first_child_index); + node_index = *head; + while (node_index != INVALID_STAT_REF && (n = &reds->stat->nodes[node_index]) && + strcmp(node->name, n->name) > 0) { + pos = node_index; + node_index = n->next_sibling_index; + } + if (pos == INVALID_STAT_REF) { + node->next_sibling_index = *head; + *head = ref; + } else { + n = &reds->stat->nodes[pos]; + node->next_sibling_index = n->next_sibling_index; + n->next_sibling_index = ref; + } +} + +StatNodeRef stat_add_node(StatNodeRef parent, const char *name, int visible) +{ + StatNodeRef ref; + SpiceStatNode *node; + + spice_assert(name && strlen(name) > 0); + if (strlen(name) >= sizeof(node->name)) { + return INVALID_STAT_REF; + } + pthread_mutex_lock(&reds->stat_lock); + ref = (parent == INVALID_STAT_REF ? reds->stat->root_index : + reds->stat->nodes[parent].first_child_index); + while (ref != INVALID_STAT_REF) { + node = &reds->stat->nodes[ref]; + if (strcmp(name, node->name)) { + ref = node->next_sibling_index; + } else { + pthread_mutex_unlock(&reds->stat_lock); + return ref; + } + } + if (reds->stat->num_of_nodes >= REDS_MAX_STAT_NODES || reds->stat == NULL) { + pthread_mutex_unlock(&reds->stat_lock); + return INVALID_STAT_REF; + } + reds->stat->generation++; + reds->stat->num_of_nodes++; + for (ref = 0; ref <= REDS_MAX_STAT_NODES; ref++) { + node = &reds->stat->nodes[ref]; + if (!(node->flags & SPICE_STAT_NODE_FLAG_ENABLED)) { + break; + } + } + spice_assert(!(node->flags & SPICE_STAT_NODE_FLAG_ENABLED)); + node->value = 0; + node->flags = SPICE_STAT_NODE_FLAG_ENABLED | (visible ? SPICE_STAT_NODE_FLAG_VISIBLE : 0); + g_strlcpy(node->name, name, sizeof(node->name)); + insert_stat_node(parent, ref); + pthread_mutex_unlock(&reds->stat_lock); + return ref; +} + +static void stat_remove(SpiceStatNode *node) +{ + pthread_mutex_lock(&reds->stat_lock); + node->flags &= ~SPICE_STAT_NODE_FLAG_ENABLED; + reds->stat->generation++; + reds->stat->num_of_nodes--; + pthread_mutex_unlock(&reds->stat_lock); +} + +void stat_remove_node(StatNodeRef ref) +{ + stat_remove(&reds->stat->nodes[ref]); +} + +uint64_t *stat_add_counter(StatNodeRef parent, const char *name, int visible) +{ + StatNodeRef ref = stat_add_node(parent, name, visible); + SpiceStatNode *node; + + if (ref == INVALID_STAT_REF) { + return NULL; + } + node = &reds->stat->nodes[ref]; + node->flags |= SPICE_STAT_NODE_FLAG_VALUE; + return &node->value; +} + +void stat_remove_counter(uint64_t *counter) +{ + stat_remove((SpiceStatNode *)(counter - offsetof(SpiceStatNode, value))); +} + +void reds_update_stat_value(uint32_t value) +{ + RedsStatValue *stat_value = &reds->roundtrip_stat; + + stat_value->value = value; + stat_value->min = (stat_value->count ? MIN(stat_value->min, value) : value); + stat_value->max = MAX(stat_value->max, value); + stat_value->average = (stat_value->average * stat_value->count + value) / + (stat_value->count + 1); + stat_value->count++; +} + +#endif + +void reds_register_channel(RedChannel *channel) +{ + spice_assert(reds); + ring_add(&reds->channels, &channel->link); + reds->num_of_channels++; +} + +void reds_unregister_channel(RedChannel *channel) +{ + if (ring_item_is_linked(&channel->link)) { + ring_remove(&channel->link); + reds->num_of_channels--; + } else { + spice_warning("not found"); + } +} + +static RedChannel *reds_find_channel(uint32_t type, uint32_t id) +{ + RingItem *now; + + RING_FOREACH(now, &reds->channels) { + RedChannel *channel = SPICE_CONTAINEROF(now, RedChannel, link); + if (channel->type == type && channel->id == id) { + return channel; + } + } + return NULL; +} + +static void reds_mig_cleanup(void) +{ + if (reds->mig_inprogress) { + + if (reds->mig_wait_connect || reds->mig_wait_disconnect) { + SpiceMigrateInterface *sif; + spice_assert(migration_interface); + sif = SPICE_CONTAINEROF(migration_interface->base.sif, SpiceMigrateInterface, base); + if (reds->mig_wait_connect) { + sif->migrate_connect_complete(migration_interface); + } else { + if (sif->migrate_end_complete) { + sif->migrate_end_complete(migration_interface); + } + } + } + reds->mig_inprogress = FALSE; + reds->mig_wait_connect = FALSE; + reds->mig_wait_disconnect = FALSE; + core->timer_cancel(reds->mig_timer); + reds_mig_cleanup_wait_disconnect(); + } +} + +static void reds_reset_vdp(void) +{ + VDIPortState *state = &reds->agent_state; + SpiceCharDeviceInterface *sif; + + state->read_state = VDI_PORT_READ_STATE_READ_HEADER; + state->recive_pos = (uint8_t *)&state->vdi_chunk_header; + state->recive_len = sizeof(state->vdi_chunk_header); + state->message_recive_len = 0; + if (state->current_read_buf) { + vdi_port_read_buf_unref(state->current_read_buf); + state->current_read_buf = NULL; + } + /* Reset read filter to start with clean state when the agent reconnects */ + agent_msg_filter_init(&state->read_filter, agent_copypaste, TRUE); + /* Throw away pending chunks from the current (if any) and future + * messages written by the client. + * TODO: client should clear its agent messages queue when the agent + * is disconnect. Currently, when and agent gets disconnected and reconnected, + * messeges that were directed to the previous instance of the agent continues + * to be sent from the client. This TODO will require server, protocol, and client changes */ + state->write_filter.result = AGENT_MSG_FILTER_DISCARD; + state->write_filter.discard_all = TRUE; + state->client_agent_started = FALSE; + + /* reseting and not destroying the state as a workaround for a bad + * tokens management in the vdagent protocol: + * The client tokens' are set only once, when the main channel is initialized. + * Instead, it would have been more appropriate to reset them upon AGEN_CONNECT. + * The client tokens are tracked as part of the SpiceCharDeviceClientState. Thus, + * in order to be backward compatible with the client, we need to track the tokens + * even if the agent is detached. We don't destroy the the char_device state, and + * instead we just reset it. + * In addition, there used to be a misshandling of AGENT_TOKENS message in spice-gtk: it + * overrides the amount of tokens, instead of adding the given amount. + */ + if (red_channel_test_remote_cap(&reds->main_channel->base, + SPICE_MAIN_CAP_AGENT_CONNECTED_TOKENS)) { + spice_char_device_state_destroy(state->base); + state->base = NULL; + } else { + spice_char_device_reset(state->base); + } + + sif = SPICE_CONTAINEROF(vdagent->base.sif, SpiceCharDeviceInterface, base); + if (sif->state) { + sif->state(vdagent, 0); + } +} + +static int reds_main_channel_connected(void) +{ + return main_channel_is_connected(reds->main_channel); +} + +void reds_client_disconnect(RedClient *client) +{ + RedsMigTargetClient *mig_client; + + if (exit_on_disconnect) + { + spice_info("Exiting server because of client disconnect.\n"); + exit(0); + } + + if (!client || client->disconnecting) { + return; + } + + spice_info(NULL); + /* disconnecting is set to prevent recursion because of the following: + * main_channel_client_on_disconnect-> + * reds_client_disconnect->red_client_destroy->main_channel... + */ + client->disconnecting = TRUE; + + // TODO: we need to handle agent properly for all clients!!!! (e.g., cut and paste, how?) + // We shouldn't initialize the agent when there are still clients connected + + mig_client = reds_mig_target_client_find(client); + if (mig_client) { + reds_mig_target_client_free(mig_client); + } + + if (reds->mig_wait_disconnect) { + reds_mig_remove_wait_disconnect_client(client); + } + + if (reds->agent_state.base) { + /* note that vdagent might be NULL, if the vdagent was once + * up and than was removed */ + if (spice_char_device_client_exists(reds->agent_state.base, client)) { + spice_char_device_client_remove(reds->agent_state.base, client); + } + } + + ring_remove(&client->link); + reds->num_clients--; + red_client_destroy(client); + + // TODO: we need to handle agent properly for all clients!!!! (e.g., cut and paste, how? Maybe throw away messages + // if we are in the middle of one from another client) + if (reds->num_clients == 0) { + /* Reset write filter to start with clean state on client reconnect */ + agent_msg_filter_init(&reds->agent_state.write_filter, agent_copypaste, + TRUE); + + /* Throw away pending chunks from the current (if any) and future + * messages read from the agent */ + reds->agent_state.read_filter.result = AGENT_MSG_FILTER_DISCARD; + reds->agent_state.read_filter.discard_all = TRUE; + free(reds->agent_state.mig_data); + reds->agent_state.mig_data = NULL; + + reds_mig_cleanup(); + } +} + +// TODO: go over all usage of reds_disconnect, most/some of it should be converted to +// reds_client_disconnect +static void reds_disconnect(void) +{ + RingItem *link, *next; + + spice_info(NULL); + RING_FOREACH_SAFE(link, next, &reds->clients) { + reds_client_disconnect(SPICE_CONTAINEROF(link, RedClient, link)); + } + reds_mig_cleanup(); +} + +static void reds_mig_disconnect(void) +{ + if (reds_main_channel_connected()) { + reds_disconnect(); + } else { + reds_mig_cleanup(); + } +} + +int reds_get_mouse_mode(void) +{ + return reds->mouse_mode; +} + +static void reds_set_mouse_mode(uint32_t mode) +{ + if (reds->mouse_mode == mode) { + return; + } + reds->mouse_mode = mode; + red_dispatcher_set_mouse_mode(reds->mouse_mode); + main_channel_push_mouse_mode(reds->main_channel, reds->mouse_mode, reds->is_client_mouse_allowed); +} + +int reds_get_agent_mouse(void) +{ + return agent_mouse; +} + +static void reds_update_mouse_mode(void) +{ + int allowed = 0; + int qxl_count = red_dispatcher_qxl_count(); + + if ((agent_mouse && vdagent) || (inputs_has_tablet() && qxl_count == 1)) { + allowed = reds->dispatcher_allows_client_mouse; + } + if (allowed == reds->is_client_mouse_allowed) { + return; + } + reds->is_client_mouse_allowed = allowed; + if (reds->mouse_mode == SPICE_MOUSE_MODE_CLIENT && !allowed) { + reds_set_mouse_mode(SPICE_MOUSE_MODE_SERVER); + return; + } + if (reds->main_channel) { + main_channel_push_mouse_mode(reds->main_channel, reds->mouse_mode, + reds->is_client_mouse_allowed); + } +} + +static void reds_agent_remove(void) +{ + // TODO: agent is broken with multiple clients. also need to figure out what to do when + // part of the clients are during target migration. + reds_reset_vdp(); + + vdagent = NULL; + reds_update_mouse_mode(); + if (reds_main_channel_connected() && + !red_channel_waits_for_migrate_data(&reds->main_channel->base)) { + main_channel_push_agent_disconnected(reds->main_channel); + } +} + +/******************************* + * Char device state callbacks * + * *****************************/ + +static void vdi_port_read_buf_release(uint8_t *data, void *opaque) +{ + VDIReadBuf *buf = (VDIReadBuf *)opaque; + + vdi_port_read_buf_unref(buf); +} + +/* returns TRUE if the buffer can be forwarded */ +static int vdi_port_read_buf_process(int port, VDIReadBuf *buf) +{ + VDIPortState *state = &reds->agent_state; + int res; + + switch (port) { + case VDP_CLIENT_PORT: { + res = agent_msg_filter_process_data(&state->read_filter, + buf->data, buf->len); + switch (res) { + case AGENT_MSG_FILTER_OK: + return TRUE; + case AGENT_MSG_FILTER_DISCARD: + return FALSE; + case AGENT_MSG_FILTER_PROTO_ERROR: + reds_agent_remove(); + return FALSE; + } + } + case VDP_SERVER_PORT: + return FALSE; + default: + spice_warning("invalid port"); + reds_agent_remove(); + return FALSE; + } +} + +static VDIReadBuf *vdi_port_read_buf_get(void) +{ + VDIPortState *state = &reds->agent_state; + RingItem *item; + VDIReadBuf *buf; + + if (!(item = ring_get_head(&state->read_bufs))) { + return NULL; + } + + ring_remove(item); + buf = SPICE_CONTAINEROF(item, VDIReadBuf, link); + + buf->refs = 1; + return buf; +} + +static VDIReadBuf* vdi_port_read_buf_ref(VDIReadBuf *buf) +{ + buf->refs++; + return buf; +} + +static void vdi_port_read_buf_unref(VDIReadBuf *buf) +{ + if (!--buf->refs) { + ring_add(&reds->agent_state.read_bufs, &buf->link); + + /* read_one_msg_from_vdi_port may have never completed because the read_bufs + ring was empty. So we call it again so it can complete its work if + necessary. Note that since we can be called from spice_char_device_wakeup + this can cause recursion, but we have protection for that */ + if (reds->agent_state.base) { + spice_char_device_wakeup(reds->agent_state.base); + } + } +} + +/* reads from the device till completes reading a message that is addressed to the client, + * or otherwise, when reading from the device fails */ +static SpiceCharDeviceMsgToClient *vdi_port_read_one_msg_from_device(SpiceCharDeviceInstance *sin, + void *opaque) +{ + VDIPortState *state = &reds->agent_state; + SpiceCharDeviceInterface *sif; + VDIReadBuf *dispatch_buf; + int n; + + if (!vdagent) { + return NULL; + } + spice_assert(vdagent == sin); + sif = SPICE_CONTAINEROF(vdagent->base.sif, SpiceCharDeviceInterface, base); + while (vdagent) { + switch (state->read_state) { + case VDI_PORT_READ_STATE_READ_HEADER: + n = sif->read(vdagent, state->recive_pos, state->recive_len); + if (!n) { + return NULL; + } + if ((state->recive_len -= n)) { + state->recive_pos += n; + return NULL; + } + state->message_recive_len = state->vdi_chunk_header.size; + state->read_state = VDI_PORT_READ_STATE_GET_BUFF; + case VDI_PORT_READ_STATE_GET_BUFF: { + if (!(state->current_read_buf = vdi_port_read_buf_get())) { + return NULL; + } + state->recive_pos = state->current_read_buf->data; + state->recive_len = MIN(state->message_recive_len, + sizeof(state->current_read_buf->data)); + state->current_read_buf->len = state->recive_len; + state->message_recive_len -= state->recive_len; + state->read_state = VDI_PORT_READ_STATE_READ_DATA; + } + case VDI_PORT_READ_STATE_READ_DATA: + n = sif->read(vdagent, state->recive_pos, state->recive_len); + if (!n) { + return NULL; + } + if ((state->recive_len -= n)) { + state->recive_pos += n; + break; + } + dispatch_buf = state->current_read_buf; + state->current_read_buf = NULL; + state->recive_pos = NULL; + if (state->message_recive_len == 0) { + state->read_state = VDI_PORT_READ_STATE_READ_HEADER; + state->recive_pos = (uint8_t *)&state->vdi_chunk_header; + state->recive_len = sizeof(state->vdi_chunk_header); + } else { + state->read_state = VDI_PORT_READ_STATE_GET_BUFF; + } + if (vdi_port_read_buf_process(state->vdi_chunk_header.port, dispatch_buf)) { + return dispatch_buf; + } else { + vdi_port_read_buf_unref(dispatch_buf); + } + } /* END switch */ + } /* END while */ + return NULL; +} + +static SpiceCharDeviceMsgToClient *vdi_port_ref_msg_to_client(SpiceCharDeviceMsgToClient *msg, + void *opaque) +{ + return vdi_port_read_buf_ref(msg); +} + +static void vdi_port_unref_msg_to_client(SpiceCharDeviceMsgToClient *msg, + void *opaque) +{ + vdi_port_read_buf_unref(msg); +} + +/* after calling this, we unref the message, and the ref is in the instance side */ +static void vdi_port_send_msg_to_client(SpiceCharDeviceMsgToClient *msg, + RedClient *client, + void *opaque) +{ + VDIReadBuf *agent_data_buf = msg; + + main_channel_client_push_agent_data(red_client_get_main(client), + agent_data_buf->data, + agent_data_buf->len, + vdi_port_read_buf_release, + vdi_port_read_buf_ref(agent_data_buf)); +} + +static void vdi_port_send_tokens_to_client(RedClient *client, uint32_t tokens, void *opaque) +{ + main_channel_client_push_agent_tokens(red_client_get_main(client), + tokens); +} + +static void vdi_port_on_free_self_token(void *opaque) +{ + + if (inputs_inited() && reds->pending_mouse_event) { + spice_debug("pending mouse event"); + reds_handle_agent_mouse_event(inputs_get_mouse_state()); + } +} + +static void vdi_port_remove_client(RedClient *client, void *opaque) +{ + reds_client_disconnect(client); +} + +/****************************************************************************/ + +int reds_has_vdagent(void) +{ + return !!vdagent; +} + +void reds_handle_agent_mouse_event(const VDAgentMouseState *mouse_state) +{ + SpiceCharDeviceWriteBuffer *char_dev_buf; + VDInternalBuf *internal_buf; + uint32_t total_msg_size; + + if (!inputs_inited() || !reds->agent_state.base) { + return; + } + + total_msg_size = sizeof(VDIChunkHeader) + sizeof(VDAgentMessage) + + sizeof(VDAgentMouseState); + char_dev_buf = spice_char_device_write_buffer_get(reds->agent_state.base, + NULL, + total_msg_size); + + if (!char_dev_buf) { + reds->pending_mouse_event = TRUE; + + return; + } + reds->pending_mouse_event = FALSE; + + internal_buf = (VDInternalBuf *)char_dev_buf->buf; + internal_buf->chunk_header.port = VDP_SERVER_PORT; + internal_buf->chunk_header.size = sizeof(VDAgentMessage) + sizeof(VDAgentMouseState); + internal_buf->header.protocol = VD_AGENT_PROTOCOL; + internal_buf->header.type = VD_AGENT_MOUSE_STATE; + internal_buf->header.opaque = 0; + internal_buf->header.size = sizeof(VDAgentMouseState); + internal_buf->u.mouse_state = *mouse_state; + + char_dev_buf->buf_used = total_msg_size; + spice_char_device_write_buffer_add(reds->agent_state.base, char_dev_buf); +} + +int reds_num_of_channels(void) +{ + return reds ? reds->num_of_channels : 0; +} + + +int reds_num_of_clients(void) +{ + return reds ? reds->num_clients : 0; +} + +SPICE_GNUC_VISIBLE int spice_server_get_num_clients(SpiceServer *s) +{ + spice_assert(reds == s); + return reds_num_of_clients(); +} + +static int secondary_channels[] = { + SPICE_CHANNEL_MAIN, SPICE_CHANNEL_DISPLAY, SPICE_CHANNEL_CURSOR, SPICE_CHANNEL_INPUTS}; + +static int channel_is_secondary(RedChannel *channel) +{ + int i; + for (i = 0 ; i < sizeof(secondary_channels)/sizeof(secondary_channels[0]); ++i) { + if (channel->type == secondary_channels[i]) { + return TRUE; + } + } + return FALSE; +} + +void reds_fill_channels(SpiceMsgChannels *channels_info) +{ + RingItem *now; + int used_channels = 0; + + channels_info->num_of_channels = reds->num_of_channels; + RING_FOREACH(now, &reds->channels) { + RedChannel *channel = SPICE_CONTAINEROF(now, RedChannel, link); + if (reds->num_clients > 1 && !channel_is_secondary(channel)) { + continue; + } + channels_info->channels[used_channels].type = channel->type; + channels_info->channels[used_channels].id = channel->id; + used_channels++; + } + + channels_info->num_of_channels = used_channels; + if (used_channels != reds->num_of_channels) { + spice_warning("sent %d out of %d", used_channels, reds->num_of_channels); + } +} + +void reds_on_main_agent_start(MainChannelClient *mcc, uint32_t num_tokens) +{ + SpiceCharDeviceState *dev_state = reds->agent_state.base; + RedChannelClient *rcc; + + if (!vdagent) { + return; + } + spice_assert(vdagent->st && vdagent->st == dev_state); + rcc = main_channel_client_get_base(mcc); + reds->agent_state.client_agent_started = TRUE; + /* + * Note that in older releases, send_tokens were set to ~0 on both client + * and server. The server ignored the client given tokens. + * Thanks to that, when an old client is connected to a new server, + * and vice versa, the sending from the server to the client won't have + * flow control, but will have no other problem. + */ + if (!spice_char_device_client_exists(dev_state, rcc->client)) { + int client_added; + + client_added = spice_char_device_client_add(dev_state, + rcc->client, + TRUE, /* flow control */ + REDS_VDI_PORT_NUM_RECEIVE_BUFFS, + REDS_AGENT_WINDOW_SIZE, + num_tokens, + red_channel_client_waits_for_migrate_data(rcc)); + + if (!client_added) { + spice_warning("failed to add client to agent"); + reds_client_disconnect(rcc->client); + return; + } + } else { + spice_char_device_send_to_client_tokens_set(dev_state, + rcc->client, + num_tokens); + } + reds->agent_state.write_filter.discard_all = FALSE; +} + +void reds_on_main_agent_tokens(MainChannelClient *mcc, uint32_t num_tokens) +{ + if (!vdagent) { + return; + } + spice_assert(vdagent->st); + spice_char_device_send_to_client_tokens_add(vdagent->st, + main_channel_client_get_base(mcc)->client, + num_tokens); +} + +uint8_t *reds_get_agent_data_buffer(MainChannelClient *mcc, size_t size) +{ + VDIPortState *dev_state = &reds->agent_state; + RedClient *client; + + if (!dev_state->client_agent_started) { + /* + * agent got disconnected, and possibly got reconnected, but we still can receive + * msgs that are addressed to the agent's old instance, in case they were + * sent by the client before it received the AGENT_DISCONNECTED msg. + * In such case, we will receive and discard the msgs (reds_reset_vdp takes care + * of setting state->write_filter.result = AGENT_MSG_FILTER_DISCARD). + */ + return spice_malloc(size); + } + + spice_assert(dev_state->recv_from_client_buf == NULL); + client = main_channel_client_get_base(mcc)->client; + dev_state->recv_from_client_buf = spice_char_device_write_buffer_get(dev_state->base, + client, + size + sizeof(VDIChunkHeader)); + dev_state->recv_from_client_buf_pushed = FALSE; + return dev_state->recv_from_client_buf->buf + sizeof(VDIChunkHeader); +} + +void reds_release_agent_data_buffer(uint8_t *buf) +{ + VDIPortState *dev_state = &reds->agent_state; + + if (!dev_state->recv_from_client_buf) { + free(buf); + return; + } + + spice_assert(buf == dev_state->recv_from_client_buf->buf + sizeof(VDIChunkHeader)); + if (!dev_state->recv_from_client_buf_pushed) { + spice_char_device_write_buffer_release(reds->agent_state.base, + dev_state->recv_from_client_buf); + } + dev_state->recv_from_client_buf = NULL; + dev_state->recv_from_client_buf_pushed = FALSE; +} + +static void reds_client_monitors_config_cleanup(void) +{ + RedsClientMonitorsConfig *cmc = &reds->client_monitors_config; + + cmc->buffer_size = cmc->buffer_pos = 0; + free(cmc->buffer); + cmc->buffer = NULL; + cmc->mcc = NULL; +} + +static void reds_on_main_agent_monitors_config( + MainChannelClient *mcc, void *message, size_t size) +{ + VDAgentMessage *msg_header; + VDAgentMonitorsConfig *monitors_config; + RedsClientMonitorsConfig *cmc = &reds->client_monitors_config; + + cmc->buffer_size += size; + cmc->buffer = realloc(cmc->buffer, cmc->buffer_size); + spice_assert(cmc->buffer); + cmc->mcc = mcc; + memcpy(cmc->buffer + cmc->buffer_pos, message, size); + cmc->buffer_pos += size; + msg_header = (VDAgentMessage *)cmc->buffer; + if (sizeof(VDAgentMessage) > cmc->buffer_size || + msg_header->size > cmc->buffer_size - sizeof(VDAgentMessage)) { + spice_debug("not enough data yet. %d\n", cmc->buffer_size); + return; + } + monitors_config = (VDAgentMonitorsConfig *)(cmc->buffer + sizeof(*msg_header)); + spice_debug("%s: %d\n", __func__, monitors_config->num_of_monitors); + red_dispatcher_client_monitors_config(monitors_config); + reds_client_monitors_config_cleanup(); +} + +void reds_on_main_agent_data(MainChannelClient *mcc, void *message, size_t size) +{ + VDIPortState *dev_state = &reds->agent_state; + VDIChunkHeader *header; + int res; + + res = agent_msg_filter_process_data(&reds->agent_state.write_filter, + message, size); + switch (res) { + case AGENT_MSG_FILTER_OK: + break; + case AGENT_MSG_FILTER_DISCARD: + return; + case AGENT_MSG_FILTER_MONITORS_CONFIG: + reds_on_main_agent_monitors_config(mcc, message, size); + return; + case AGENT_MSG_FILTER_PROTO_ERROR: + reds_disconnect(); + return; + } + + spice_assert(reds->agent_state.recv_from_client_buf); + spice_assert(message == reds->agent_state.recv_from_client_buf->buf + sizeof(VDIChunkHeader)); + // TODO - start tracking agent data per channel + header = (VDIChunkHeader *)dev_state->recv_from_client_buf->buf; + header->port = VDP_CLIENT_PORT; + header->size = size; + dev_state->recv_from_client_buf->buf_used = sizeof(VDIChunkHeader) + size; + + dev_state->recv_from_client_buf_pushed = TRUE; + spice_char_device_write_buffer_add(reds->agent_state.base, dev_state->recv_from_client_buf); +} + +void reds_on_main_migrate_connected(int seamless) +{ + reds->src_do_seamless_migrate = seamless; + if (reds->mig_wait_connect) { + reds_mig_cleanup(); + } +} + +void reds_on_main_mouse_mode_request(void *message, size_t size) +{ + switch (((SpiceMsgcMainMouseModeRequest *)message)->mode) { + case SPICE_MOUSE_MODE_CLIENT: + if (reds->is_client_mouse_allowed) { + reds_set_mouse_mode(SPICE_MOUSE_MODE_CLIENT); + } else { + spice_info("client mouse is disabled"); + } + break; + case SPICE_MOUSE_MODE_SERVER: + reds_set_mouse_mode(SPICE_MOUSE_MODE_SERVER); + break; + default: + spice_warning("unsupported mouse mode"); + } +} + +/* + * Push partial agent data, even if not all the chunk was consumend, + * in order to avoid the roundtrip (src-server->client->dest-server) + */ +void reds_on_main_channel_migrate(MainChannelClient *mcc) +{ + VDIPortState *agent_state = &reds->agent_state; + uint32_t read_data_len; + + spice_assert(reds->num_clients == 1); + + if (agent_state->read_state != VDI_PORT_READ_STATE_READ_DATA) { + return; + } + spice_assert(agent_state->current_read_buf->data && + agent_state->recive_pos > agent_state->current_read_buf->data); + read_data_len = agent_state->recive_pos - agent_state->current_read_buf->data; + + if (agent_state->read_filter.msg_data_to_read || + read_data_len > sizeof(VDAgentMessage)) { /* msg header has been read */ + VDIReadBuf *read_buf = agent_state->current_read_buf; + + spice_debug("push partial read %u (msg first chunk? %d)", read_data_len, + !agent_state->read_filter.msg_data_to_read); + + read_buf->len = read_data_len; + if (vdi_port_read_buf_process(agent_state->vdi_chunk_header.port, read_buf)) { + main_channel_client_push_agent_data(mcc, + read_buf->data, + read_buf->len, + vdi_port_read_buf_release, + read_buf); + } else { + vdi_port_read_buf_unref(read_buf); + } + + spice_assert(agent_state->recive_len); + agent_state->message_recive_len += agent_state->recive_len; + agent_state->read_state = VDI_PORT_READ_STATE_GET_BUFF; + agent_state->current_read_buf = NULL; + agent_state->recive_pos = NULL; + } +} + +void reds_marshall_migrate_data(SpiceMarshaller *m) +{ + SpiceMigrateDataMain mig_data; + VDIPortState *agent_state = &reds->agent_state; + SpiceMarshaller *m2; + + memset(&mig_data, 0, sizeof(mig_data)); + spice_marshaller_add_uint32(m, SPICE_MIGRATE_DATA_MAIN_MAGIC); + spice_marshaller_add_uint32(m, SPICE_MIGRATE_DATA_MAIN_VERSION); + + if (!vdagent) { + uint8_t *null_agent_mig_data; + + spice_assert(!agent_state->base); /* MSG_AGENT_CONNECTED_TOKENS is supported by the client + (see spice_server_migrate_connect), so SpiceCharDeviceState + is destroyed when the agent is disconnected and + there is no need to track the client tokens + (see reds_reset_vdp) */ + spice_char_device_state_migrate_data_marshall_empty(m); + null_agent_mig_data = spice_marshaller_reserve_space(m, + sizeof(SpiceMigrateDataMain) - + sizeof(SpiceMigrateDataCharDevice)); + memset(null_agent_mig_data, + 0, + sizeof(SpiceMigrateDataMain) - sizeof(SpiceMigrateDataCharDevice)); + return; + } + + spice_char_device_state_migrate_data_marshall(reds->agent_state.base, m); + spice_marshaller_add_uint8(m, reds->agent_state.client_agent_started); + + mig_data.agent2client.chunk_header = agent_state->vdi_chunk_header; + + /* agent to client partial msg */ + if (agent_state->read_state == VDI_PORT_READ_STATE_READ_HEADER) { + mig_data.agent2client.chunk_header_size = agent_state->recive_pos - + (uint8_t *)&agent_state->vdi_chunk_header; + + mig_data.agent2client.msg_header_done = FALSE; + mig_data.agent2client.msg_header_partial_len = 0; + spice_assert(!agent_state->read_filter.msg_data_to_read); + } else { + mig_data.agent2client.chunk_header_size = sizeof(VDIChunkHeader); + mig_data.agent2client.chunk_header.size = agent_state->message_recive_len; + if (agent_state->read_state == VDI_PORT_READ_STATE_READ_DATA) { + /* in the middle of reading the message header (see reds_on_main_channel_migrate) */ + mig_data.agent2client.msg_header_done = FALSE; + mig_data.agent2client.msg_header_partial_len = + agent_state->recive_pos - agent_state->current_read_buf->data; + spice_assert(mig_data.agent2client.msg_header_partial_len < sizeof(VDAgentMessage)); + spice_assert(!agent_state->read_filter.msg_data_to_read); + } else { + mig_data.agent2client.msg_header_done = TRUE; + mig_data.agent2client.msg_remaining = agent_state->read_filter.msg_data_to_read; + mig_data.agent2client.msg_filter_result = agent_state->read_filter.result; + } + } + spice_marshaller_add_uint32(m, mig_data.agent2client.chunk_header_size); + spice_marshaller_add(m, + (uint8_t *)&mig_data.agent2client.chunk_header, + sizeof(VDIChunkHeader)); + spice_marshaller_add_uint8(m, mig_data.agent2client.msg_header_done); + spice_marshaller_add_uint32(m, mig_data.agent2client.msg_header_partial_len); + m2 = spice_marshaller_get_ptr_submarshaller(m, 0); + spice_marshaller_add(m2, agent_state->current_read_buf->data, + mig_data.agent2client.msg_header_partial_len); + spice_marshaller_add_uint32(m, mig_data.agent2client.msg_remaining); + spice_marshaller_add_uint8(m, mig_data.agent2client.msg_filter_result); + + mig_data.client2agent.msg_remaining = agent_state->write_filter.msg_data_to_read; + mig_data.client2agent.msg_filter_result = agent_state->write_filter.result; + spice_marshaller_add_uint32(m, mig_data.client2agent.msg_remaining); + spice_marshaller_add_uint8(m, mig_data.client2agent.msg_filter_result); + spice_debug("from agent filter: discard all %d, wait_msg %u, msg_filter_result %d", + agent_state->read_filter.discard_all, + agent_state->read_filter.msg_data_to_read, + agent_state->read_filter.result); + spice_debug("to agent filter: discard all %d, wait_msg %u, msg_filter_result %d", + agent_state->write_filter.discard_all, + agent_state->write_filter.msg_data_to_read, + agent_state->write_filter.result); +} + +static int reds_agent_state_restore(SpiceMigrateDataMain *mig_data) +{ + VDIPortState *agent_state = &reds->agent_state; + uint32_t chunk_header_remaining; + + agent_state->vdi_chunk_header = mig_data->agent2client.chunk_header; + spice_assert(mig_data->agent2client.chunk_header_size <= sizeof(VDIChunkHeader)); + chunk_header_remaining = sizeof(VDIChunkHeader) - mig_data->agent2client.chunk_header_size; + if (chunk_header_remaining) { + agent_state->read_state = VDI_PORT_READ_STATE_READ_HEADER; + agent_state->recive_pos = (uint8_t *)&agent_state->vdi_chunk_header + + mig_data->agent2client.chunk_header_size; + agent_state->recive_len = chunk_header_remaining; + } else { + agent_state->message_recive_len = agent_state->vdi_chunk_header.size; + } + + if (!mig_data->agent2client.msg_header_done) { + uint8_t *partial_msg_header; + + if (!chunk_header_remaining) { + uint32_t cur_buf_size; + + agent_state->read_state = VDI_PORT_READ_STATE_READ_DATA; + agent_state->current_read_buf = vdi_port_read_buf_get(); + spice_assert(agent_state->current_read_buf); + partial_msg_header = (uint8_t *)mig_data + mig_data->agent2client.msg_header_ptr - + sizeof(SpiceMiniDataHeader); + memcpy(agent_state->current_read_buf->data, + partial_msg_header, + mig_data->agent2client.msg_header_partial_len); + agent_state->recive_pos = agent_state->current_read_buf->data + + mig_data->agent2client.msg_header_partial_len; + cur_buf_size = sizeof(agent_state->current_read_buf->data) - + mig_data->agent2client.msg_header_partial_len; + agent_state->recive_len = MIN(agent_state->message_recive_len, cur_buf_size); + agent_state->current_read_buf->len = agent_state->recive_len + + mig_data->agent2client.msg_header_partial_len; + agent_state->message_recive_len -= agent_state->recive_len; + } else { + spice_assert(mig_data->agent2client.msg_header_partial_len == 0); + } + } else { + agent_state->read_state = VDI_PORT_READ_STATE_GET_BUFF; + agent_state->current_read_buf = NULL; + agent_state->recive_pos = NULL; + agent_state->read_filter.msg_data_to_read = mig_data->agent2client.msg_remaining; + agent_state->read_filter.result = mig_data->agent2client.msg_filter_result; + } + + agent_state->read_filter.discard_all = FALSE; + agent_state->write_filter.discard_all = !mig_data->client_agent_started; + agent_state->client_agent_started = mig_data->client_agent_started; + + agent_state->write_filter.msg_data_to_read = mig_data->client2agent.msg_remaining; + agent_state->write_filter.result = mig_data->client2agent.msg_filter_result; + + spice_debug("to agent filter: discard all %d, wait_msg %u, msg_filter_result %d", + agent_state->write_filter.discard_all, + agent_state->write_filter.msg_data_to_read, + agent_state->write_filter.result); + spice_debug("from agent filter: discard all %d, wait_msg %u, msg_filter_result %d", + agent_state->read_filter.discard_all, + agent_state->read_filter.msg_data_to_read, + agent_state->read_filter.result); + return spice_char_device_state_restore(agent_state->base, &mig_data->agent_base); +} + +/* + * The agent device is not attached to the dest before migration is completed. It is + * attached only after the vm is started. It might be attached before or after + * the migration data has reached the server. + */ +int reds_handle_migrate_data(MainChannelClient *mcc, SpiceMigrateDataMain *mig_data, uint32_t size) +{ + VDIPortState *agent_state = &reds->agent_state; + + if (mig_data->agent_base.connected) { + if (agent_state->base) { // agent was attached before migration data has arrived + if (!vdagent) { + spice_assert(agent_state->plug_generation > 0); + main_channel_push_agent_disconnected(reds->main_channel); + spice_debug("agent is no longer connected"); + } else { + if (agent_state->plug_generation > 1) { + /* spice_char_device_state_reset takes care of not making the device wait for migration data */ + spice_debug("agent has been detached and reattached before receiving migration data"); + main_channel_push_agent_disconnected(reds->main_channel); + main_channel_push_agent_connected(reds->main_channel); + } else { + return reds_agent_state_restore(mig_data); + } + } + } else { + /* restore agent starte when the agent gets attached */ + spice_assert(agent_state->plug_generation == 0); + agent_state->mig_data = spice_memdup(mig_data, size); + } + } else { + if (vdagent) { + /* spice_char_device_client_remove disables waiting for migration data */ + spice_char_device_client_remove(agent_state->base, + main_channel_client_get_base(mcc)->client); + main_channel_push_agent_connected(reds->main_channel); + } + } + + return TRUE; +} + +static int sync_write(RedsStream *stream, const void *in_buf, size_t n) +{ + const uint8_t *buf = (uint8_t *)in_buf; + + while (n) { + int now = reds_stream_write(stream, buf, n); + if (now <= 0) { + if (now == -1 && (errno == EINTR || errno == EAGAIN)) { + continue; + } + return FALSE; + } + n -= now; + buf += now; + } + return TRUE; +} + +static void reds_channel_init_auth_caps(RedLinkInfo *link, RedChannel *channel) +{ + if (sasl_enabled && !link->skip_auth) { + red_channel_set_common_cap(channel, SPICE_COMMON_CAP_AUTH_SASL); + } else { + red_channel_set_common_cap(channel, SPICE_COMMON_CAP_AUTH_SPICE); + } + red_channel_set_common_cap(channel, SPICE_COMMON_CAP_PROTOCOL_AUTH_SELECTION); +} + +static int reds_send_link_ack(RedLinkInfo *link) +{ + SpiceLinkHeader header; + SpiceLinkReply ack; + RedChannel *channel; + RedChannelCapabilities *channel_caps; + BUF_MEM *bmBuf; + BIO *bio; + int ret = FALSE; + + header.magic = SPICE_MAGIC; + header.size = sizeof(ack); + header.major_version = SPICE_VERSION_MAJOR; + header.minor_version = SPICE_VERSION_MINOR; + + ack.error = SPICE_LINK_ERR_OK; + + channel = reds_find_channel(link->link_mess->channel_type, 0); + if (!channel) { + spice_assert(link->link_mess->channel_type == SPICE_CHANNEL_MAIN); + spice_assert(reds->main_channel); + channel = &reds->main_channel->base; + } + + reds_channel_init_auth_caps(link, channel); /* make sure common caps are set */ + + channel_caps = &channel->local_caps; + ack.num_common_caps = channel_caps->num_common_caps; + ack.num_channel_caps = channel_caps->num_caps; + header.size += (ack.num_common_caps + ack.num_channel_caps) * sizeof(uint32_t); + ack.caps_offset = sizeof(SpiceLinkReply); + + if (!(link->tiTicketing.rsa = RSA_new())) { + spice_warning("RSA nes failed"); + return FALSE; + } + + if (!(bio = BIO_new(BIO_s_mem()))) { + spice_warning("BIO new failed"); + return FALSE; + } + + RSA_generate_key_ex(link->tiTicketing.rsa, SPICE_TICKET_KEY_PAIR_LENGTH, link->tiTicketing.bn, + NULL); + link->tiTicketing.rsa_size = RSA_size(link->tiTicketing.rsa); + + i2d_RSA_PUBKEY_bio(bio, link->tiTicketing.rsa); + BIO_get_mem_ptr(bio, &bmBuf); + memcpy(ack.pub_key, bmBuf->data, sizeof(ack.pub_key)); + + if (!sync_write(link->stream, &header, sizeof(header))) + goto end; + if (!sync_write(link->stream, &ack, sizeof(ack))) + goto end; + if (!sync_write(link->stream, channel_caps->common_caps, channel_caps->num_common_caps * sizeof(uint32_t))) + goto end; + if (!sync_write(link->stream, channel_caps->caps, channel_caps->num_caps * sizeof(uint32_t))) + goto end; + + ret = TRUE; + +end: + BIO_free(bio); + return ret; +} + +static int reds_send_link_error(RedLinkInfo *link, uint32_t error) +{ + SpiceLinkHeader header; + SpiceLinkReply reply; + + header.magic = SPICE_MAGIC; + header.size = sizeof(reply); + header.major_version = SPICE_VERSION_MAJOR; + header.minor_version = SPICE_VERSION_MINOR; + memset(&reply, 0, sizeof(reply)); + reply.error = error; + return sync_write(link->stream, &header, sizeof(header)) && sync_write(link->stream, &reply, + sizeof(reply)); +} + +static void reds_info_new_channel(RedLinkInfo *link, int connection_id) +{ + spice_info("channel %d:%d, connected successfully, over %s link", + link->link_mess->channel_type, + link->link_mess->channel_id, + link->stream->ssl == NULL ? "Non Secure" : "Secure"); + /* add info + send event */ + if (link->stream->ssl) { + link->stream->info->flags |= SPICE_CHANNEL_EVENT_FLAG_TLS; + } + link->stream->info->connection_id = connection_id; + link->stream->info->type = link->link_mess->channel_type; + link->stream->info->id = link->link_mess->channel_id; + reds_stream_channel_event(link->stream, SPICE_CHANNEL_EVENT_INITIALIZED); +} + +static void reds_send_link_result(RedLinkInfo *link, uint32_t error) +{ + sync_write(link->stream, &error, sizeof(error)); +} + +int reds_expects_link_id(uint32_t connection_id) +{ + spice_info("TODO: keep a list of connection_id's from migration, compare to them"); + return 1; +} + +static void reds_mig_target_client_add(RedClient *client) +{ + RedsMigTargetClient *mig_client; + + spice_assert(reds); + spice_info(NULL); + mig_client = spice_malloc0(sizeof(RedsMigTargetClient)); + mig_client->client = client; + ring_init(&mig_client->pending_links); + ring_add(&reds->mig_target_clients, &mig_client->link); + reds->num_mig_target_clients++; + +} + +static RedsMigTargetClient* reds_mig_target_client_find(RedClient *client) +{ + RingItem *item; + + RING_FOREACH(item, &reds->mig_target_clients) { + RedsMigTargetClient *mig_client; + + mig_client = SPICE_CONTAINEROF(item, RedsMigTargetClient, link); + if (mig_client->client == client) { + return mig_client; + } + } + return NULL; +} + +static void reds_mig_target_client_add_pending_link(RedsMigTargetClient *client, + SpiceLinkMess *link_msg, + RedsStream *stream) +{ + RedsMigPendingLink *mig_link; + + spice_assert(reds); + spice_assert(client); + mig_link = spice_malloc0(sizeof(RedsMigPendingLink)); + mig_link->link_msg = link_msg; + mig_link->stream = stream; + + ring_add(&client->pending_links, &mig_link->ring_link); +} + +static void reds_mig_target_client_free(RedsMigTargetClient *mig_client) +{ + RingItem *now, *next; + + ring_remove(&mig_client->link); + reds->num_mig_target_clients--; + + RING_FOREACH_SAFE(now, next, &mig_client->pending_links) { + RedsMigPendingLink *mig_link = SPICE_CONTAINEROF(now, RedsMigPendingLink, ring_link); + ring_remove(now); + free(mig_link); + } + free(mig_client); +} + +static void reds_mig_target_client_disconnect_all(void) +{ + RingItem *now, *next; + + RING_FOREACH_SAFE(now, next, &reds->mig_target_clients) { + RedsMigTargetClient *mig_client = SPICE_CONTAINEROF(now, RedsMigTargetClient, link); + reds_client_disconnect(mig_client->client); + } +} + +static int reds_find_client(RedClient *client) +{ + RingItem *item; + + RING_FOREACH(item, &reds->clients) { + RedClient *list_client; + + list_client = SPICE_CONTAINEROF(item, RedClient, link); + if (list_client == client) { + return TRUE; + } + } + return FALSE; +} + +/* should be used only when there is one client */ +static RedClient *reds_get_client(void) +{ + spice_assert(reds->num_clients <= 1); + + if (reds->num_clients == 0) { + return NULL; + } + + return SPICE_CONTAINEROF(ring_get_head(&reds->clients), RedClient, link); +} + +// TODO: now that main is a separate channel this should +// actually be joined with reds_handle_other_links, become reds_handle_link +static void reds_handle_main_link(RedLinkInfo *link) +{ + RedClient *client; + RedsStream *stream; + SpiceLinkMess *link_mess; + uint32_t *caps; + uint32_t connection_id; + MainChannelClient *mcc; + int mig_target = FALSE; + + spice_info(NULL); + spice_assert(reds->main_channel); + + link_mess = link->link_mess; + if (!reds->allow_multiple_clients) { + reds_disconnect(); + } + + if (link_mess->connection_id == 0) { + reds_send_link_result(link, SPICE_LINK_ERR_OK); + while((connection_id = rand()) == 0); + mig_target = FALSE; + } else { + // TODO: make sure link_mess->connection_id is the same + // connection id the migration src had (use vmstate to store the connection id) + reds_send_link_result(link, SPICE_LINK_ERR_OK); + connection_id = link_mess->connection_id; + mig_target = TRUE; + } + + reds->mig_inprogress = FALSE; + reds->mig_wait_connect = FALSE; + reds->mig_wait_disconnect = FALSE; + + reds_info_new_channel(link, connection_id); + stream = link->stream; + reds_stream_remove_watch(stream); + link->stream = NULL; + link->link_mess = NULL; + reds_link_free(link); + caps = (uint32_t *)((uint8_t *)link_mess + link_mess->caps_offset); + client = red_client_new(mig_target); + ring_add(&reds->clients, &client->link); + reds->num_clients++; + mcc = main_channel_link(reds->main_channel, client, + stream, connection_id, mig_target, + link_mess->num_common_caps, + link_mess->num_common_caps ? caps : NULL, link_mess->num_channel_caps, + link_mess->num_channel_caps ? caps + link_mess->num_common_caps : NULL); + spice_info("NEW Client %p mcc %p connect-id %d", client, mcc, connection_id); + free(link_mess); + red_client_set_main(client, mcc); + + if (vdagent) { + if (mig_target) { + spice_warning("unexpected: vdagent attached to destination during migration"); + } + reds->agent_state.read_filter.discard_all = FALSE; + reds->agent_state.plug_generation++; + } + + if (!mig_target) { + main_channel_push_init(mcc, red_dispatcher_count(), + reds->mouse_mode, reds->is_client_mouse_allowed, + reds_get_mm_time() - MM_TIME_DELTA, + red_dispatcher_qxl_ram_size()); + if (spice_name) + main_channel_push_name(mcc, spice_name); + if (spice_uuid_is_set) + main_channel_push_uuid(mcc, spice_uuid); + + main_channel_client_start_net_test(mcc); + } else { + reds_mig_target_client_add(client); + } +} + +#define RED_MOUSE_STATE_TO_LOCAL(state) \ + ((state & SPICE_MOUSE_BUTTON_MASK_LEFT) | \ + ((state & SPICE_MOUSE_BUTTON_MASK_MIDDLE) << 1) | \ + ((state & SPICE_MOUSE_BUTTON_MASK_RIGHT) >> 1)) + +#define RED_MOUSE_BUTTON_STATE_TO_AGENT(state) \ + (((state & SPICE_MOUSE_BUTTON_MASK_LEFT) ? VD_AGENT_LBUTTON_MASK : 0) | \ + ((state & SPICE_MOUSE_BUTTON_MASK_MIDDLE) ? VD_AGENT_MBUTTON_MASK : 0) | \ + ((state & SPICE_MOUSE_BUTTON_MASK_RIGHT) ? VD_AGENT_RBUTTON_MASK : 0)) + +void reds_set_client_mouse_allowed(int is_client_mouse_allowed, int x_res, int y_res) +{ + reds->monitor_mode.x_res = x_res; + reds->monitor_mode.y_res = y_res; + reds->dispatcher_allows_client_mouse = is_client_mouse_allowed; + reds_update_mouse_mode(); + if (reds->is_client_mouse_allowed && inputs_has_tablet()) { + inputs_set_tablet_logical_size(reds->monitor_mode.x_res, reds->monitor_mode.y_res); + } +} + +static void openssl_init(RedLinkInfo *link) +{ + unsigned long f4 = RSA_F4; + link->tiTicketing.bn = BN_new(); + + if (!link->tiTicketing.bn) { + spice_error("OpenSSL BIGNUMS alloc failed"); + } + + BN_set_word(link->tiTicketing.bn, f4); +} + +static void reds_channel_do_link(RedChannel *channel, RedClient *client, + SpiceLinkMess *link_msg, + RedsStream *stream) +{ + uint32_t *caps; + + spice_assert(channel); + spice_assert(link_msg); + spice_assert(stream); + + if (link_msg->channel_type == SPICE_CHANNEL_INPUTS && !stream->ssl) { + const char *mess = "keyboard channel is insecure"; + const int mess_len = strlen(mess); + main_channel_push_notify(reds->main_channel, (uint8_t*)mess, mess_len); + } + + caps = (uint32_t *)((uint8_t *)link_msg + link_msg->caps_offset); + channel->client_cbs.connect(channel, client, stream, + red_client_during_migrate_at_target(client), + link_msg->num_common_caps, + link_msg->num_common_caps ? caps : NULL, + link_msg->num_channel_caps, + link_msg->num_channel_caps ? + caps + link_msg->num_common_caps : NULL); +} + +/* + * migration target side: + * In semi-seamless migration, we activate the channels only + * after migration is completed. + * In seamless migration, in order to keep the continuousness, and + * not lose any data, we activate the target channels before + * migration completes, as soon as we receive SPICE_MSGC_MAIN_MIGRATE_DST_DO_SEAMLESS + */ +static int reds_link_mig_target_channels(RedClient *client) +{ + RedsMigTargetClient *mig_client; + RingItem *item; + + spice_info("%p", client); + mig_client = reds_mig_target_client_find(client); + if (!mig_client) { + spice_info("Error: mig target client was not found"); + return FALSE; + } + + /* Each channel should check if we are during migration, and + * act accordingly. */ + RING_FOREACH(item, &mig_client->pending_links) { + RedsMigPendingLink *mig_link; + RedChannel *channel; + + mig_link = SPICE_CONTAINEROF(item, RedsMigPendingLink, ring_link); + channel = reds_find_channel(mig_link->link_msg->channel_type, + mig_link->link_msg->channel_id); + if (!channel) { + spice_warning("client %p channel (%d, %d) (type, id) wasn't found", + client, + mig_link->link_msg->channel_type, + mig_link->link_msg->channel_id); + continue; + } + reds_channel_do_link(channel, client, mig_link->link_msg, mig_link->stream); + } + + reds_mig_target_client_free(mig_client); + + return TRUE; +} + +int reds_on_migrate_dst_set_seamless(MainChannelClient *mcc, uint32_t src_version) +{ + /* seamless migration is not supported with multiple clients*/ + if (reds->allow_multiple_clients || src_version > SPICE_MIGRATION_PROTOCOL_VERSION) { + reds->dst_do_seamless_migrate = FALSE; + } else { + RedChannelClient *rcc = main_channel_client_get_base(mcc); + + red_client_set_migration_seamless(rcc->client); + /* linking all the channels that have been connected before migration handshake */ + reds->dst_do_seamless_migrate = reds_link_mig_target_channels(rcc->client); + } + return reds->dst_do_seamless_migrate; +} + +void reds_on_client_seamless_migrate_complete(RedClient *client) +{ + spice_debug(NULL); + if (!reds_find_client(client)) { + spice_info("client no longer exists"); + return; + } + main_channel_migrate_dst_complete(red_client_get_main(client)); +} + +void reds_on_client_semi_seamless_migrate_complete(RedClient *client) +{ + MainChannelClient *mcc; + + spice_info("%p", client); + mcc = red_client_get_main(client); + + // TODO: not doing net test. consider doing it on client_migrate_info + main_channel_push_init(mcc, red_dispatcher_count(), + reds->mouse_mode, reds->is_client_mouse_allowed, + reds_get_mm_time() - MM_TIME_DELTA, + red_dispatcher_qxl_ram_size()); + reds_link_mig_target_channels(client); + main_channel_migrate_dst_complete(mcc); +} + +static void reds_handle_other_links(RedLinkInfo *link) +{ + RedChannel *channel; + RedClient *client = NULL; + SpiceLinkMess *link_mess; + RedsMigTargetClient *mig_client; + + link_mess = link->link_mess; + if (reds->main_channel) { + client = main_channel_get_client_by_link_id(reds->main_channel, + link_mess->connection_id); + } + + // TODO: MC: broke migration (at least for the dont-drop-connection kind). + // On migration we should get a connection_id to expect (must be a security measure) + // where do we store it? on reds, but should be a list (MC). + if (!client) { + reds_send_link_result(link, SPICE_LINK_ERR_BAD_CONNECTION_ID); + reds_link_free(link); + return; + } + + // TODO: MC: be less lenient. Tally connections from same connection_id (by same client). + if (!(channel = reds_find_channel(link_mess->channel_type, + link_mess->channel_id))) { + reds_send_link_result(link, SPICE_LINK_ERR_CHANNEL_NOT_AVAILABLE); + reds_link_free(link); + return; + } + + reds_send_link_result(link, SPICE_LINK_ERR_OK); + reds_info_new_channel(link, link_mess->connection_id); + reds_stream_remove_watch(link->stream); + + mig_client = reds_mig_target_client_find(client); + /* + * In semi-seamless migration, we activate the channels only + * after migration is completed. Since, the session starts almost from + * scratch we don't mind if we skip some messages in between the src session end and + * dst session start. + * In seamless migration, in order to keep the continuousness of the session, and + * in order not to lose any data, we activate the target channels before + * migration completes, as soon as we receive SPICE_MSGC_MAIN_MIGRATE_DST_DO_SEAMLESS. + * If a channel connects before receiving SPICE_MSGC_MAIN_MIGRATE_DST_DO_SEAMLESS, + * reds_on_migrate_dst_set_seamless will take care of activating it */ + if (red_client_during_migrate_at_target(client) && !reds->dst_do_seamless_migrate) { + spice_assert(mig_client); + reds_mig_target_client_add_pending_link(mig_client, link_mess, link->stream); + } else { + spice_assert(!mig_client); + reds_channel_do_link(channel, client, link_mess, link->stream); + free(link_mess); + } + link->stream = NULL; + link->link_mess = NULL; + reds_link_free(link); +} + +static void reds_handle_link(RedLinkInfo *link) +{ + if (link->link_mess->channel_type == SPICE_CHANNEL_MAIN) { + reds_handle_main_link(link); + } else { + reds_handle_other_links(link); + } +} + +static void reds_handle_ticket(void *opaque) +{ + RedLinkInfo *link = (RedLinkInfo *)opaque; + char password[SPICE_MAX_PASSWORD_LENGTH]; + time_t ltime; + + //todo: use monotonic time + time(<ime); + RSA_private_decrypt(link->tiTicketing.rsa_size, + link->tiTicketing.encrypted_ticket.encrypted_data, + (unsigned char *)password, link->tiTicketing.rsa, RSA_PKCS1_OAEP_PADDING); + + if (ticketing_enabled && !link->skip_auth) { + int expired = taTicket.expiration_time < ltime; + + if (strlen(taTicket.password) == 0) { + reds_send_link_result(link, SPICE_LINK_ERR_PERMISSION_DENIED); + spice_warning("Ticketing is enabled, but no password is set. " + "please set a ticket first"); + reds_link_free(link); + return; + } + + if (expired || strncmp(password, taTicket.password, SPICE_MAX_PASSWORD_LENGTH) != 0) { + if (expired) { + spice_warning("Ticket has expired"); + } else { + spice_warning("Invalid password"); + } + reds_send_link_result(link, SPICE_LINK_ERR_PERMISSION_DENIED); + reds_link_free(link); + return; + } + } + + reds_handle_link(link); +} + +static inline void async_read_clear_handlers(AsyncRead *obj) +{ + if (!obj->stream->watch) { + return; + } + + reds_stream_remove_watch(obj->stream); +} + +#if HAVE_SASL +static int sync_write_u8(RedsStream *s, uint8_t n) +{ + return sync_write(s, &n, sizeof(uint8_t)); +} + +static int sync_write_u32(RedsStream *s, uint32_t n) +{ + return sync_write(s, &n, sizeof(uint32_t)); +} + +static ssize_t reds_stream_sasl_write(RedsStream *s, const void *buf, size_t nbyte) +{ + ssize_t ret; + + if (!s->sasl.encoded) { + int err; + err = sasl_encode(s->sasl.conn, (char *)buf, nbyte, + (const char **)&s->sasl.encoded, + &s->sasl.encodedLength); + if (err != SASL_OK) { + spice_warning("sasl_encode error: %d", err); + return -1; + } + + if (s->sasl.encodedLength == 0) { + return 0; + } + + if (!s->sasl.encoded) { + spice_warning("sasl_encode didn't return a buffer!"); + return 0; + } + + s->sasl.encodedOffset = 0; + } + + ret = s->write(s, s->sasl.encoded + s->sasl.encodedOffset, + s->sasl.encodedLength - s->sasl.encodedOffset); + + if (ret <= 0) { + return ret; + } + + s->sasl.encodedOffset += ret; + if (s->sasl.encodedOffset == s->sasl.encodedLength) { + s->sasl.encoded = NULL; + s->sasl.encodedOffset = s->sasl.encodedLength = 0; + return nbyte; + } + + /* we didn't flush the encoded buffer */ + errno = EAGAIN; + return -1; +} + +static ssize_t reds_stream_sasl_read(RedsStream *s, uint8_t *buf, size_t nbyte) +{ + uint8_t encoded[4096]; + const char *decoded; + unsigned int decodedlen; + int err; + int n; + + n = spice_buffer_copy(&s->sasl.inbuffer, buf, nbyte); + if (n > 0) { + spice_buffer_remove(&s->sasl.inbuffer, n); + if (n == nbyte) + return n; + nbyte -= n; + buf += n; + } + + n = s->read(s, encoded, sizeof(encoded)); + if (n <= 0) { + return n; + } + + err = sasl_decode(s->sasl.conn, + (char *)encoded, n, + &decoded, &decodedlen); + if (err != SASL_OK) { + spice_warning("sasl_decode error: %d", err); + return -1; + } + + if (decodedlen == 0) { + errno = EAGAIN; + return -1; + } + + n = MIN(nbyte, decodedlen); + memcpy(buf, decoded, n); + spice_buffer_append(&s->sasl.inbuffer, decoded + n, decodedlen - n); + return n; +} +#endif + +static void async_read_handler(int fd, int event, void *data) +{ + AsyncRead *obj = (AsyncRead *)data; + + for (;;) { + int n = obj->end - obj->now; + + spice_assert(n > 0); + n = reds_stream_read(obj->stream, obj->now, n); + if (n <= 0) { + if (n < 0) { + switch (errno) { + case EAGAIN: + if (!obj->stream->watch) { + obj->stream->watch = core->watch_add(obj->stream->socket, + SPICE_WATCH_EVENT_READ, + async_read_handler, obj); + } + return; + case EINTR: + break; + default: + async_read_clear_handlers(obj); + obj->error(obj->opaque, errno); + return; + } + } else { + async_read_clear_handlers(obj); + obj->error(obj->opaque, 0); + return; + } + } else { + obj->now += n; + if (obj->now == obj->end) { + async_read_clear_handlers(obj); + obj->done(obj->opaque); + return; + } + } + } +} + +static void reds_get_spice_ticket(RedLinkInfo *link) +{ + AsyncRead *obj = &link->asyc_read; + + obj->now = (uint8_t *)&link->tiTicketing.encrypted_ticket.encrypted_data; + obj->end = obj->now + link->tiTicketing.rsa_size; + obj->done = reds_handle_ticket; + async_read_handler(0, 0, &link->asyc_read); +} + +#if HAVE_SASL +static char *addr_to_string(const char *format, + struct sockaddr_storage *sa, + socklen_t salen) { + char *addr; + char host[NI_MAXHOST]; + char serv[NI_MAXSERV]; + int err; + size_t addrlen; + + if ((err = getnameinfo((struct sockaddr *)sa, salen, + host, sizeof(host), + serv, sizeof(serv), + NI_NUMERICHOST | NI_NUMERICSERV)) != 0) { + spice_warning("Cannot resolve address %d: %s", + err, gai_strerror(err)); + return NULL; + } + + /* Enough for the existing format + the 2 vars we're + * substituting in. */ + addrlen = strlen(format) + strlen(host) + strlen(serv); + addr = spice_malloc(addrlen + 1); + snprintf(addr, addrlen, format, host, serv); + addr[addrlen] = '\0'; + + return addr; +} + +static int auth_sasl_check_ssf(RedsSASL *sasl, int *runSSF) +{ + const void *val; + int err, ssf; + + *runSSF = 0; + if (!sasl->wantSSF) { + return 1; + } + + err = sasl_getprop(sasl->conn, SASL_SSF, &val); + if (err != SASL_OK) { + return 0; + } + + ssf = *(const int *)val; + spice_info("negotiated an SSF of %d", ssf); + if (ssf < 56) { + return 0; /* 56 is good for Kerberos */ + } + + *runSSF = 1; + + /* We have a SSF that's good enough */ + return 1; +} + +/* + * Step Msg + * + * Input from client: + * + * u32 clientin-length + * u8-array clientin-string + * + * Output to client: + * + * u32 serverout-length + * u8-array serverout-strin + * u8 continue + */ +#define SASL_DATA_MAX_LEN (1024 * 1024) + +static void reds_handle_auth_sasl_steplen(void *opaque); + +static void reds_handle_auth_sasl_step(void *opaque) +{ + const char *serverout; + unsigned int serveroutlen; + int err; + char *clientdata = NULL; + RedLinkInfo *link = (RedLinkInfo *)opaque; + RedsSASL *sasl = &link->stream->sasl; + uint32_t datalen = sasl->len; + AsyncRead *obj = &link->asyc_read; + + /* NB, distinction of NULL vs "" is *critical* in SASL */ + if (datalen) { + clientdata = sasl->data; + clientdata[datalen - 1] = '\0'; /* Wire includes '\0', but make sure */ + datalen--; /* Don't count NULL byte when passing to _start() */ + } + + spice_info("Step using SASL Data %p (%d bytes)", + clientdata, datalen); + err = sasl_server_step(sasl->conn, + clientdata, + datalen, + &serverout, + &serveroutlen); + if (err != SASL_OK && + err != SASL_CONTINUE) { + spice_warning("sasl step failed %d (%s)", + err, sasl_errdetail(sasl->conn)); + goto authabort; + } + + if (serveroutlen > SASL_DATA_MAX_LEN) { + spice_warning("sasl step reply data too long %d", + serveroutlen); + goto authabort; + } + + spice_info("SASL return data %d bytes, %p", serveroutlen, serverout); + + if (serveroutlen) { + serveroutlen += 1; + sync_write(link->stream, &serveroutlen, sizeof(uint32_t)); + sync_write(link->stream, serverout, serveroutlen); + } else { + sync_write(link->stream, &serveroutlen, sizeof(uint32_t)); + } + + /* Whether auth is complete */ + sync_write_u8(link->stream, err == SASL_CONTINUE ? 0 : 1); + + if (err == SASL_CONTINUE) { + spice_info("%s", "Authentication must continue (step)"); + /* Wait for step length */ + obj->now = (uint8_t *)&sasl->len; + obj->end = obj->now + sizeof(uint32_t); + obj->done = reds_handle_auth_sasl_steplen; + async_read_handler(0, 0, &link->asyc_read); + } else { + int ssf; + + if (auth_sasl_check_ssf(sasl, &ssf) == 0) { + spice_warning("Authentication rejected for weak SSF"); + goto authreject; + } + + spice_info("Authentication successful"); + sync_write_u32(link->stream, SPICE_LINK_ERR_OK); /* Accept auth */ + + /* + * Delay writing in SSF encoded until now + */ + sasl->runSSF = ssf; + link->stream->writev = NULL; /* make sure writev isn't called directly anymore */ + + reds_handle_link(link); + } + + return; + +authreject: + sync_write_u32(link->stream, 1); /* Reject auth */ + sync_write_u32(link->stream, sizeof("Authentication failed")); + sync_write(link->stream, "Authentication failed", sizeof("Authentication failed")); + +authabort: + reds_link_free(link); + return; +} + +static void reds_handle_auth_sasl_steplen(void *opaque) +{ + RedLinkInfo *link = (RedLinkInfo *)opaque; + AsyncRead *obj = &link->asyc_read; + RedsSASL *sasl = &link->stream->sasl; + + spice_info("Got steplen %d", sasl->len); + if (sasl->len > SASL_DATA_MAX_LEN) { + spice_warning("Too much SASL data %d", sasl->len); + reds_link_free(link); + return; + } + + if (sasl->len == 0) { + return reds_handle_auth_sasl_step(opaque); + } else { + sasl->data = spice_realloc(sasl->data, sasl->len); + obj->now = (uint8_t *)sasl->data; + obj->end = obj->now + sasl->len; + obj->done = reds_handle_auth_sasl_step; + async_read_handler(0, 0, &link->asyc_read); + } +} + +/* + * Start Msg + * + * Input from client: + * + * u32 clientin-length + * u8-array clientin-string + * + * Output to client: + * + * u32 serverout-length + * u8-array serverout-strin + * u8 continue + */ + + +static void reds_handle_auth_sasl_start(void *opaque) +{ + RedLinkInfo *link = (RedLinkInfo *)opaque; + AsyncRead *obj = &link->asyc_read; + const char *serverout; + unsigned int serveroutlen; + int err; + char *clientdata = NULL; + RedsSASL *sasl = &link->stream->sasl; + uint32_t datalen = sasl->len; + + /* NB, distinction of NULL vs "" is *critical* in SASL */ + if (datalen) { + clientdata = sasl->data; + clientdata[datalen - 1] = '\0'; /* Should be on wire, but make sure */ + datalen--; /* Don't count NULL byte when passing to _start() */ + } + + spice_info("Start SASL auth with mechanism %s. Data %p (%d bytes)", + sasl->mechlist, clientdata, datalen); + err = sasl_server_start(sasl->conn, + sasl->mechlist, + clientdata, + datalen, + &serverout, + &serveroutlen); + if (err != SASL_OK && + err != SASL_CONTINUE) { + spice_warning("sasl start failed %d (%s)", + err, sasl_errdetail(sasl->conn)); + goto authabort; + } + + if (serveroutlen > SASL_DATA_MAX_LEN) { + spice_warning("sasl start reply data too long %d", + serveroutlen); + goto authabort; + } + + spice_info("SASL return data %d bytes, %p", serveroutlen, serverout); + + if (serveroutlen) { + serveroutlen += 1; + sync_write(link->stream, &serveroutlen, sizeof(uint32_t)); + sync_write(link->stream, serverout, serveroutlen); + } else { + sync_write(link->stream, &serveroutlen, sizeof(uint32_t)); + } + + /* Whether auth is complete */ + sync_write_u8(link->stream, err == SASL_CONTINUE ? 0 : 1); + + if (err == SASL_CONTINUE) { + spice_info("%s", "Authentication must continue (start)"); + /* Wait for step length */ + obj->now = (uint8_t *)&sasl->len; + obj->end = obj->now + sizeof(uint32_t); + obj->done = reds_handle_auth_sasl_steplen; + async_read_handler(0, 0, &link->asyc_read); + } else { + int ssf; + + if (auth_sasl_check_ssf(sasl, &ssf) == 0) { + spice_warning("Authentication rejected for weak SSF"); + goto authreject; + } + + spice_info("Authentication successful"); + sync_write_u32(link->stream, SPICE_LINK_ERR_OK); /* Accept auth */ + + /* + * Delay writing in SSF encoded until now + */ + sasl->runSSF = ssf; + link->stream->writev = NULL; /* make sure writev isn't called directly anymore */ + + reds_handle_link(link); + } + + return; + +authreject: + sync_write_u32(link->stream, 1); /* Reject auth */ + sync_write_u32(link->stream, sizeof("Authentication failed")); + sync_write(link->stream, "Authentication failed", sizeof("Authentication failed")); + +authabort: + reds_link_free(link); + return; +} + +static void reds_handle_auth_startlen(void *opaque) +{ + RedLinkInfo *link = (RedLinkInfo *)opaque; + AsyncRead *obj = &link->asyc_read; + RedsSASL *sasl = &link->stream->sasl; + + spice_info("Got client start len %d", sasl->len); + if (sasl->len > SASL_DATA_MAX_LEN) { + spice_warning("Too much SASL data %d", sasl->len); + reds_send_link_error(link, SPICE_LINK_ERR_INVALID_DATA); + reds_link_free(link); + return; + } + + if (sasl->len == 0) { + reds_handle_auth_sasl_start(opaque); + return; + } + + sasl->data = spice_realloc(sasl->data, sasl->len); + obj->now = (uint8_t *)sasl->data; + obj->end = obj->now + sasl->len; + obj->done = reds_handle_auth_sasl_start; + async_read_handler(0, 0, &link->asyc_read); +} + +static void reds_handle_auth_mechname(void *opaque) +{ + RedLinkInfo *link = (RedLinkInfo *)opaque; + AsyncRead *obj = &link->asyc_read; + RedsSASL *sasl = &link->stream->sasl; + + sasl->mechname[sasl->len] = '\0'; + spice_info("Got client mechname '%s' check against '%s'", + sasl->mechname, sasl->mechlist); + + if (strncmp(sasl->mechlist, sasl->mechname, sasl->len) == 0) { + if (sasl->mechlist[sasl->len] != '\0' && + sasl->mechlist[sasl->len] != ',') { + spice_info("One %d", sasl->mechlist[sasl->len]); + reds_link_free(link); + return; + } + } else { + char *offset = strstr(sasl->mechlist, sasl->mechname); + spice_info("Two %p", offset); + if (!offset) { + reds_send_link_error(link, SPICE_LINK_ERR_INVALID_DATA); + return; + } + spice_info("Two '%s'", offset); + if (offset[-1] != ',' || + (offset[sasl->len] != '\0'&& + offset[sasl->len] != ',')) { + reds_send_link_error(link, SPICE_LINK_ERR_INVALID_DATA); + return; + } + } + + free(sasl->mechlist); + sasl->mechlist = spice_strdup(sasl->mechname); + + spice_info("Validated mechname '%s'", sasl->mechname); + + obj->now = (uint8_t *)&sasl->len; + obj->end = obj->now + sizeof(uint32_t); + obj->done = reds_handle_auth_startlen; + async_read_handler(0, 0, &link->asyc_read); + + return; +} + +static void reds_handle_auth_mechlen(void *opaque) +{ + RedLinkInfo *link = (RedLinkInfo *)opaque; + AsyncRead *obj = &link->asyc_read; + RedsSASL *sasl = &link->stream->sasl; + + if (sasl->len < 1 || sasl->len > 100) { + spice_warning("Got bad client mechname len %d", sasl->len); + reds_link_free(link); + return; + } + + sasl->mechname = spice_malloc(sasl->len + 1); + + spice_info("Wait for client mechname"); + obj->now = (uint8_t *)sasl->mechname; + obj->end = obj->now + sasl->len; + obj->done = reds_handle_auth_mechname; + async_read_handler(0, 0, &link->asyc_read); +} + +static void reds_start_auth_sasl(RedLinkInfo *link) +{ + const char *mechlist = NULL; + sasl_security_properties_t secprops; + int err; + char *localAddr, *remoteAddr; + int mechlistlen; + AsyncRead *obj = &link->asyc_read; + RedsSASL *sasl = &link->stream->sasl; + + /* Get local & remote client addresses in form IPADDR;PORT */ + if (!(localAddr = addr_to_string("%s;%s", &link->stream->info->laddr_ext, + link->stream->info->llen_ext))) { + goto error; + } + + if (!(remoteAddr = addr_to_string("%s;%s", &link->stream->info->paddr_ext, + link->stream->info->plen_ext))) { + free(localAddr); + goto error; + } + + err = sasl_server_new("spice", + NULL, /* FQDN - just delegates to gethostname */ + NULL, /* User realm */ + localAddr, + remoteAddr, + NULL, /* Callbacks, not needed */ + SASL_SUCCESS_DATA, + &sasl->conn); + free(localAddr); + free(remoteAddr); + localAddr = remoteAddr = NULL; + + if (err != SASL_OK) { + spice_warning("sasl context setup failed %d (%s)", + err, sasl_errstring(err, NULL, NULL)); + sasl->conn = NULL; + goto error; + } + + /* Inform SASL that we've got an external SSF layer from TLS */ + if (link->stream->ssl) { + sasl_ssf_t ssf; + + ssf = SSL_get_cipher_bits(link->stream->ssl, NULL); + err = sasl_setprop(sasl->conn, SASL_SSF_EXTERNAL, &ssf); + if (err != SASL_OK) { + spice_warning("cannot set SASL external SSF %d (%s)", + err, sasl_errstring(err, NULL, NULL)); + goto error_dispose; + } + } else { + sasl->wantSSF = 1; + } + + memset(&secprops, 0, sizeof secprops); + /* Inform SASL that we've got an external SSF layer from TLS */ + if (link->stream->ssl) { + /* If we've got TLS (or UNIX domain sock), we don't care about SSF */ + secprops.min_ssf = 0; + secprops.max_ssf = 0; + secprops.maxbufsize = 8192; + secprops.security_flags = 0; + } else { + /* Plain TCP, better get an SSF layer */ + secprops.min_ssf = 56; /* Good enough to require kerberos */ + secprops.max_ssf = 100000; /* Arbitrary big number */ + secprops.maxbufsize = 8192; + /* Forbid any anonymous or trivially crackable auth */ + secprops.security_flags = + SASL_SEC_NOANONYMOUS | SASL_SEC_NOPLAINTEXT; + } + + err = sasl_setprop(sasl->conn, SASL_SEC_PROPS, &secprops); + if (err != SASL_OK) { + spice_warning("cannot set SASL security props %d (%s)", + err, sasl_errstring(err, NULL, NULL)); + goto error_dispose; + } + + err = sasl_listmech(sasl->conn, + NULL, /* Don't need to set user */ + "", /* Prefix */ + ",", /* Separator */ + "", /* Suffix */ + &mechlist, + NULL, + NULL); + if (err != SASL_OK || mechlist == NULL) { + spice_warning("cannot list SASL mechanisms %d (%s)", + err, sasl_errdetail(sasl->conn)); + goto error_dispose; + } + + spice_info("Available mechanisms for client: '%s'", mechlist); + + sasl->mechlist = spice_strdup(mechlist); + + mechlistlen = strlen(mechlist); + if (!sync_write(link->stream, &mechlistlen, sizeof(uint32_t)) + || !sync_write(link->stream, sasl->mechlist, mechlistlen)) { + spice_warning("SASL mechanisms write error"); + goto error; + } + + spice_info("Wait for client mechname length"); + obj->now = (uint8_t *)&sasl->len; + obj->end = obj->now + sizeof(uint32_t); + obj->done = reds_handle_auth_mechlen; + async_read_handler(0, 0, &link->asyc_read); + + return; + +error_dispose: + sasl_dispose(&sasl->conn); + sasl->conn = NULL; +error: + reds_link_free(link); + return; +} +#endif + +static void reds_handle_auth_mechanism(void *opaque) +{ + RedLinkInfo *link = (RedLinkInfo *)opaque; + + spice_info("Auth method: %d", link->auth_mechanism.auth_mechanism); + + if (link->auth_mechanism.auth_mechanism == SPICE_COMMON_CAP_AUTH_SPICE + && !sasl_enabled + ) { + reds_get_spice_ticket(link); +#if HAVE_SASL + } else if (link->auth_mechanism.auth_mechanism == SPICE_COMMON_CAP_AUTH_SASL) { + spice_info("Starting SASL"); + reds_start_auth_sasl(link); +#endif + } else { + spice_warning("Unknown auth method, disconnecting"); + if (sasl_enabled) { + spice_warning("Your client doesn't handle SASL?"); + } + reds_send_link_error(link, SPICE_LINK_ERR_INVALID_DATA); + reds_link_free(link); + } +} + +static int reds_security_check(RedLinkInfo *link) +{ + ChannelSecurityOptions *security_option = find_channel_security(link->link_mess->channel_type); + uint32_t security = security_option ? security_option->options : default_channel_security; + return (link->stream->ssl && (security & SPICE_CHANNEL_SECURITY_SSL)) || + (!link->stream->ssl && (security & SPICE_CHANNEL_SECURITY_NONE)); +} + +static void reds_handle_read_link_done(void *opaque) +{ + RedLinkInfo *link = (RedLinkInfo *)opaque; + SpiceLinkMess *link_mess = link->link_mess; + AsyncRead *obj = &link->asyc_read; + uint32_t num_caps = link_mess->num_common_caps + link_mess->num_channel_caps; + uint32_t *caps = (uint32_t *)((uint8_t *)link_mess + link_mess->caps_offset); + int auth_selection; + + if (num_caps && (num_caps * sizeof(uint32_t) + link_mess->caps_offset > + link->link_header.size || + link_mess->caps_offset < sizeof(*link_mess))) { + reds_send_link_error(link, SPICE_LINK_ERR_INVALID_DATA); + reds_link_free(link); + return; + } + + auth_selection = test_capabilty(caps, link_mess->num_common_caps, + SPICE_COMMON_CAP_PROTOCOL_AUTH_SELECTION); + + if (!reds_security_check(link)) { + if (link->stream->ssl) { + spice_warning("spice channels %d should not be encrypted", link_mess->channel_type); + reds_send_link_error(link, SPICE_LINK_ERR_NEED_UNSECURED); + } else { + spice_warning("spice channels %d should be encrypted", link_mess->channel_type); + reds_send_link_error(link, SPICE_LINK_ERR_NEED_SECURED); + } + reds_link_free(link); + return; + } + + if (!reds_send_link_ack(link)) { + reds_link_free(link); + return; + } + + if (!auth_selection) { + if (sasl_enabled && !link->skip_auth) { + spice_warning("SASL enabled, but peer supports only spice authentication"); + reds_send_link_error(link, SPICE_LINK_ERR_VERSION_MISMATCH); + return; + } + spice_warning("Peer doesn't support AUTH selection"); + reds_get_spice_ticket(link); + } else { + obj->now = (uint8_t *)&link->auth_mechanism; + obj->end = obj->now + sizeof(SpiceLinkAuthMechanism); + obj->done = reds_handle_auth_mechanism; + async_read_handler(0, 0, &link->asyc_read); + } +} + +static void reds_handle_link_error(void *opaque, int err) +{ + RedLinkInfo *link = (RedLinkInfo *)opaque; + switch (err) { + case 0: + case EPIPE: + break; + default: + spice_warning("%s", strerror(errno)); + break; + } + reds_link_free(link); +} + +static void reds_handle_read_header_done(void *opaque) +{ + RedLinkInfo *link = (RedLinkInfo *)opaque; + SpiceLinkHeader *header = &link->link_header; + AsyncRead *obj = &link->asyc_read; + + if (header->magic != SPICE_MAGIC) { + reds_send_link_error(link, SPICE_LINK_ERR_INVALID_MAGIC); + reds_link_free(link); + return; + } + + if (header->major_version != SPICE_VERSION_MAJOR) { + if (header->major_version > 0) { + reds_send_link_error(link, SPICE_LINK_ERR_VERSION_MISMATCH); + } + + spice_warning("version mismatch"); + reds_link_free(link); + return; + } + + reds->peer_minor_version = header->minor_version; + + if (header->size < sizeof(SpiceLinkMess)) { + reds_send_link_error(link, SPICE_LINK_ERR_INVALID_DATA); + spice_warning("bad size %u", header->size); + reds_link_free(link); + return; + } + + link->link_mess = spice_malloc(header->size); + + obj->now = (uint8_t *)link->link_mess; + obj->end = obj->now + header->size; + obj->done = reds_handle_read_link_done; + async_read_handler(0, 0, &link->asyc_read); +} + +static void reds_handle_new_link(RedLinkInfo *link) +{ + AsyncRead *obj = &link->asyc_read; + obj->opaque = link; + obj->stream = link->stream; + obj->now = (uint8_t *)&link->link_header; + obj->end = (uint8_t *)((SpiceLinkHeader *)&link->link_header + 1); + obj->done = reds_handle_read_header_done; + obj->error = reds_handle_link_error; + async_read_handler(0, 0, &link->asyc_read); +} + +static void reds_handle_ssl_accept(int fd, int event, void *data) +{ + RedLinkInfo *link = (RedLinkInfo *)data; + int return_code; + + if ((return_code = SSL_accept(link->stream->ssl)) != 1) { + int ssl_error = SSL_get_error(link->stream->ssl, return_code); + if (ssl_error != SSL_ERROR_WANT_READ && ssl_error != SSL_ERROR_WANT_WRITE) { + spice_warning("SSL_accept failed, error=%d", ssl_error); + reds_link_free(link); + } else { + if (ssl_error == SSL_ERROR_WANT_READ) { + core->watch_update_mask(link->stream->watch, SPICE_WATCH_EVENT_READ); + } else { + core->watch_update_mask(link->stream->watch, SPICE_WATCH_EVENT_WRITE); + } + } + return; + } + reds_stream_remove_watch(link->stream); + reds_handle_new_link(link); +} + +static RedLinkInfo *reds_init_client_connection(int socket) +{ + RedLinkInfo *link; + RedsStream *stream; + int delay_val = 1; + int flags; + + if ((flags = fcntl(socket, F_GETFL)) == -1) { + spice_warning("accept failed, %s", strerror(errno)); + goto error; + } + + if (fcntl(socket, F_SETFL, flags | O_NONBLOCK) == -1) { + spice_warning("accept failed, %s", strerror(errno)); + goto error; + } + + if (setsockopt(socket, IPPROTO_TCP, TCP_NODELAY, &delay_val, sizeof(delay_val)) == -1) { + if (errno != ENOTSUP) { + spice_warning("setsockopt failed, %s", strerror(errno)); + } + } + + link = spice_new0(RedLinkInfo, 1); + stream = spice_new0(RedsStream, 1); + stream->info = spice_new0(SpiceChannelEventInfo, 1); + link->stream = stream; + + stream->socket = socket; + /* gather info + send event */ + + /* deprecated fields. Filling them for backward compatibility */ + stream->info->llen = sizeof(stream->info->laddr); + stream->info->plen = sizeof(stream->info->paddr); + getsockname(stream->socket, (struct sockaddr*)(&stream->info->laddr), &stream->info->llen); + getpeername(stream->socket, (struct sockaddr*)(&stream->info->paddr), &stream->info->plen); + + stream->info->flags |= SPICE_CHANNEL_EVENT_FLAG_ADDR_EXT; + stream->info->llen_ext = sizeof(stream->info->laddr_ext); + stream->info->plen_ext = sizeof(stream->info->paddr_ext); + getsockname(stream->socket, (struct sockaddr*)(&stream->info->laddr_ext), + &stream->info->llen_ext); + getpeername(stream->socket, (struct sockaddr*)(&stream->info->paddr_ext), + &stream->info->plen_ext); + + reds_stream_channel_event(stream, SPICE_CHANNEL_EVENT_CONNECTED); + + openssl_init(link); + + return link; + +error: + return NULL; +} + + +static RedLinkInfo *reds_init_client_ssl_connection(int socket) +{ + RedLinkInfo *link; + int return_code; + int ssl_error; + BIO *sbio; + + link = reds_init_client_connection(socket); + if (link == NULL) + goto error; + + // Handle SSL handshaking + if (!(sbio = BIO_new_socket(link->stream->socket, BIO_NOCLOSE))) { + spice_warning("could not allocate ssl bio socket"); + goto error; + } + + link->stream->ssl = SSL_new(reds->ctx); + if (!link->stream->ssl) { + spice_warning("could not allocate ssl context"); + BIO_free(sbio); + goto error; + } + + SSL_set_bio(link->stream->ssl, sbio, sbio); + + link->stream->write = stream_ssl_write_cb; + link->stream->read = stream_ssl_read_cb; + link->stream->writev = NULL; + + return_code = SSL_accept(link->stream->ssl); + if (return_code == 1) { + reds_handle_new_link(link); + return link; + } + + ssl_error = SSL_get_error(link->stream->ssl, return_code); + if (return_code == -1 && (ssl_error == SSL_ERROR_WANT_READ || + ssl_error == SSL_ERROR_WANT_WRITE)) { + int eventmask = ssl_error == SSL_ERROR_WANT_READ ? + SPICE_WATCH_EVENT_READ : SPICE_WATCH_EVENT_WRITE; + link->stream->watch = core->watch_add(link->stream->socket, eventmask, + reds_handle_ssl_accept, link); + return link; + } + + ERR_print_errors_fp(stderr); + spice_warning("SSL_accept failed, error=%d", ssl_error); + SSL_free(link->stream->ssl); + +error: + free(link->stream); + BN_free(link->tiTicketing.bn); + free(link); + return NULL; +} + +static void reds_accept_ssl_connection(int fd, int event, void *data) +{ + RedLinkInfo *link; + int socket; + + if ((socket = accept(reds->secure_listen_socket, NULL, 0)) == -1) { + spice_warning("accept failed, %s", strerror(errno)); + return; + } + + if (!(link = reds_init_client_ssl_connection(socket))) { + close(socket); + return; + } +} + + +static void reds_accept(int fd, int event, void *data) +{ + int socket; + + if ((socket = accept(reds->listen_socket, NULL, 0)) == -1) { + spice_warning("accept failed, %s", strerror(errno)); + return; + } + + if (spice_server_add_client(reds, socket, 0) < 0) + close(socket); +} + + +SPICE_GNUC_VISIBLE int spice_server_add_client(SpiceServer *s, int socket, int skip_auth) +{ + RedLinkInfo *link; + RedsStream *stream; + + spice_assert(reds == s); + if (!(link = reds_init_client_connection(socket))) { + spice_warning("accept failed"); + return -1; + } + + link->skip_auth = skip_auth; + + stream = link->stream; + stream->read = stream_read_cb; + stream->write = stream_write_cb; + stream->writev = stream_writev_cb; + + reds_handle_new_link(link); + return 0; +} + + +SPICE_GNUC_VISIBLE int spice_server_add_ssl_client(SpiceServer *s, int socket, int skip_auth) +{ + RedLinkInfo *link; + + spice_assert(reds == s); + if (!(link = reds_init_client_ssl_connection(socket))) { + return -1; + } + + link->skip_auth = skip_auth; + return 0; +} + + +static int reds_init_socket(const char *addr, int portnr, int family) +{ + static const int on=1, off=0; + struct addrinfo ai,*res,*e; + char port[33]; + char uaddr[INET6_ADDRSTRLEN+1]; + char uport[33]; + int slisten,rc; + + memset(&ai,0, sizeof(ai)); + ai.ai_flags = AI_PASSIVE | AI_ADDRCONFIG; + ai.ai_socktype = SOCK_STREAM; + ai.ai_family = family; + + snprintf(port, sizeof(port), "%d", portnr); + rc = getaddrinfo(strlen(addr) ? addr : NULL, port, &ai, &res); + if (rc != 0) { + spice_warning("getaddrinfo(%s,%s): %s", addr, port, + gai_strerror(rc)); + return -1; + } + + for (e = res; e != NULL; e = e->ai_next) { + getnameinfo((struct sockaddr*)e->ai_addr,e->ai_addrlen, + uaddr,INET6_ADDRSTRLEN, uport,32, + NI_NUMERICHOST | NI_NUMERICSERV); + slisten = socket(e->ai_family, e->ai_socktype, e->ai_protocol); + if (slisten < 0) { + continue; + } + + setsockopt(slisten,SOL_SOCKET,SO_REUSEADDR,(void*)&on,sizeof(on)); +#ifdef IPV6_V6ONLY + if (e->ai_family == PF_INET6) { + /* listen on both ipv4 and ipv6 */ + setsockopt(slisten,IPPROTO_IPV6,IPV6_V6ONLY,(void*)&off, + sizeof(off)); + } +#endif + if (bind(slisten, e->ai_addr, e->ai_addrlen) == 0) { + goto listen; + } + close(slisten); + } + spice_warning("%s: binding socket to %s:%d failed", __FUNCTION__, + addr, portnr); + freeaddrinfo(res); + return -1; + +listen: + freeaddrinfo(res); + if (listen(slisten,1) != 0) { + spice_warning("listen: %s", strerror(errno)); + close(slisten); + return -1; + } + return slisten; +} + +static int reds_init_net(void) +{ + if (spice_port != -1) { + reds->listen_socket = reds_init_socket(spice_addr, spice_port, spice_family); + if (-1 == reds->listen_socket) { + return -1; + } + reds->listen_watch = core->watch_add(reds->listen_socket, + SPICE_WATCH_EVENT_READ, + reds_accept, NULL); + if (reds->listen_watch == NULL) { + spice_warning("set fd handle failed"); + return -1; + } + } + + if (spice_secure_port != -1) { + reds->secure_listen_socket = reds_init_socket(spice_addr, spice_secure_port, + spice_family); + if (-1 == reds->secure_listen_socket) { + return -1; + } + reds->secure_listen_watch = core->watch_add(reds->secure_listen_socket, + SPICE_WATCH_EVENT_READ, + reds_accept_ssl_connection, NULL); + if (reds->secure_listen_watch == NULL) { + spice_warning("set fd handle failed"); + return -1; + } + } + + if (spice_listen_socket_fd != -1 ) { + reds->listen_socket = spice_listen_socket_fd; + reds->listen_watch = core->watch_add(reds->listen_socket, + SPICE_WATCH_EVENT_READ, + reds_accept, NULL); + if (reds->listen_watch == NULL) { + spice_warning("set fd handle failed"); + return -1; + } + } + return 0; +} + +static int load_dh_params(SSL_CTX *ctx, char *file) +{ + DH *ret = 0; + BIO *bio; + + if ((bio = BIO_new_file(file, "r")) == NULL) { + spice_warning("Could not open DH file"); + return -1; + } + + ret = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); + BIO_free(bio); + if (ret == 0) { + spice_warning("Could not read DH params"); + return -1; + } + + + if (SSL_CTX_set_tmp_dh(ctx, ret) < 0) { + spice_warning("Could not set DH params"); + return -1; + } + + return 0; +} + +/*The password code is not thread safe*/ +static int ssl_password_cb(char *buf, int size, int flags, void *userdata) +{ + char *pass = ssl_parameters.keyfile_password; + if (size < strlen(pass) + 1) { + return (0); + } + + strcpy(buf, pass); + return (strlen(pass)); +} + +static unsigned long pthreads_thread_id(void) +{ + unsigned long ret; + + ret = (unsigned long)pthread_self(); + return (ret); +} + +static void pthreads_locking_callback(int mode, int type, const char *file, int line) +{ + if (mode & CRYPTO_LOCK) { + pthread_mutex_lock(&(lock_cs[type])); + lock_count[type]++; + } else { + pthread_mutex_unlock(&(lock_cs[type])); + } +} + +static void openssl_thread_setup(void) +{ + int i; + + lock_cs = OPENSSL_malloc(CRYPTO_num_locks() * sizeof(pthread_mutex_t)); + lock_count = OPENSSL_malloc(CRYPTO_num_locks() * sizeof(long)); + + for (i = 0; i < CRYPTO_num_locks(); i++) { + lock_count[i] = 0; + pthread_mutex_init(&(lock_cs[i]), NULL); + } + + CRYPTO_set_id_callback(pthreads_thread_id); + CRYPTO_set_locking_callback(pthreads_locking_callback); +} + +static int reds_init_ssl(void) +{ +#if OPENSSL_VERSION_NUMBER >= 0x10000000L + const SSL_METHOD *ssl_method; +#else + SSL_METHOD *ssl_method; +#endif + int return_code; + long ssl_options = SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3; + + /* Global system initialization*/ + SSL_library_init(); + SSL_load_error_strings(); + + /* Create our context*/ + ssl_method = TLSv1_method(); + reds->ctx = SSL_CTX_new(ssl_method); + if (!reds->ctx) { + spice_warning("Could not allocate new SSL context"); + return -1; + } + + /* Limit connection to TLSv1 only */ +#ifdef SSL_OP_NO_COMPRESSION + ssl_options |= SSL_OP_NO_COMPRESSION; +#endif + SSL_CTX_set_options(reds->ctx, ssl_options); + + /* Load our keys and certificates*/ + return_code = SSL_CTX_use_certificate_chain_file(reds->ctx, ssl_parameters.certs_file); + if (return_code == 1) { + spice_info("Loaded certificates from %s", ssl_parameters.certs_file); + } else { + spice_warning("Could not load certificates from %s", ssl_parameters.certs_file); + return -1; + } + + SSL_CTX_set_default_passwd_cb(reds->ctx, ssl_password_cb); + + return_code = SSL_CTX_use_PrivateKey_file(reds->ctx, ssl_parameters.private_key_file, + SSL_FILETYPE_PEM); + if (return_code == 1) { + spice_info("Using private key from %s", ssl_parameters.private_key_file); + } else { + spice_warning("Could not use private key file"); + return -1; + } + + /* Load the CAs we trust*/ + return_code = SSL_CTX_load_verify_locations(reds->ctx, ssl_parameters.ca_certificate_file, 0); + if (return_code == 1) { + spice_info("Loaded CA certificates from %s", ssl_parameters.ca_certificate_file); + } else { + spice_warning("Could not use CA file %s", ssl_parameters.ca_certificate_file); + return -1; + } + +#if (OPENSSL_VERSION_NUMBER < 0x00905100L) + SSL_CTX_set_verify_depth(reds->ctx, 1); +#endif + + if (strlen(ssl_parameters.dh_key_file) > 0) { + if (load_dh_params(reds->ctx, ssl_parameters.dh_key_file) < 0) { + return -1; + } + } + + SSL_CTX_set_session_id_context(reds->ctx, (const unsigned char *)"SPICE", 5); + if (strlen(ssl_parameters.ciphersuite) > 0) { + if (!SSL_CTX_set_cipher_list(reds->ctx, ssl_parameters.ciphersuite)) { + return -1; + } + } + + openssl_thread_setup(); + +#ifndef SSL_OP_NO_COMPRESSION + STACK *cmp_stack = SSL_COMP_get_compression_methods(); + sk_zero(cmp_stack); +#endif + + return 0; +} + +static void reds_exit(void) +{ + if (reds->main_channel) { + main_channel_close(reds->main_channel); + } +#ifdef RED_STATISTICS + shm_unlink(reds->stat_shm_name); + free(reds->stat_shm_name); +#endif +} + +enum { + SPICE_OPTION_INVALID, + SPICE_OPTION_PORT, + SPICE_OPTION_SPORT, + SPICE_OPTION_HOST, + SPICE_OPTION_IMAGE_COMPRESSION, + SPICE_OPTION_PASSWORD, + SPICE_OPTION_DISABLE_TICKET, + SPICE_OPTION_RENDERER, + SPICE_OPTION_SSLKEY, + SPICE_OPTION_SSLCERTS, + SPICE_OPTION_SSLCAFILE, + SPICE_OPTION_SSLDHFILE, + SPICE_OPTION_SSLPASSWORD, + SPICE_OPTION_SSLCIPHERSUITE, + SPICE_SECURED_CHANNELS, + SPICE_UNSECURED_CHANNELS, + SPICE_OPTION_STREAMING_VIDEO, + SPICE_OPTION_AGENT_MOUSE, + SPICE_OPTION_PLAYBACK_COMPRESSION, +}; + +typedef struct OptionsMap { + const char *name; + int val; +} OptionsMap; + +enum { + SPICE_TICKET_OPTION_INVALID, + SPICE_TICKET_OPTION_EXPIRATION, + SPICE_TICKET_OPTION_CONNECTED, +}; + +static inline void on_activating_ticketing(void) +{ + if (!ticketing_enabled && reds_main_channel_connected()) { + spice_warning("disconnecting"); + reds_disconnect(); + } +} + +static void set_image_compression(spice_image_compression_t val) +{ + if (val == image_compression) { + return; + } + image_compression = val; + red_dispatcher_on_ic_change(); +} + +static void set_one_channel_security(int id, uint32_t security) +{ + ChannelSecurityOptions *security_options; + + if ((security_options = find_channel_security(id))) { + security_options->options = security; + return; + } + security_options = spice_new(ChannelSecurityOptions, 1); + security_options->channel_id = id; + security_options->options = security; + security_options->next = channels_security; + channels_security = security_options; +} + +#define REDS_SAVE_VERSION 1 + +typedef struct RedsMigSpiceMessage { + uint32_t connection_id; +} RedsMigSpiceMessage; + +typedef struct RedsMigCertPubKeyInfo { + uint16_t type; + uint32_t len; +} RedsMigCertPubKeyInfo; + +static void reds_mig_release(void) +{ + if (reds->mig_spice) { + free(reds->mig_spice->cert_subject); + free(reds->mig_spice->host); + free(reds->mig_spice); + reds->mig_spice = NULL; + } +} + +static void reds_mig_started(void) +{ + spice_info(NULL); + spice_assert(reds->mig_spice); + + reds->mig_inprogress = TRUE; + reds->mig_wait_connect = TRUE; + core->timer_start(reds->mig_timer, MIGRATE_TIMEOUT); +} + +static void reds_mig_fill_wait_disconnect(void) +{ + RingItem *client_item; + + spice_assert(reds->num_clients > 0); + /* tracking the clients, in order to ignore disconnection + * of clients that got connected to the src after migration completion.*/ + RING_FOREACH(client_item, &reds->clients) { + RedClient *client = SPICE_CONTAINEROF(client_item, RedClient, link); + RedsMigWaitDisconnectClient *wait_client; + + wait_client = spice_new0(RedsMigWaitDisconnectClient, 1); + wait_client->client = client; + ring_add(&reds->mig_wait_disconnect_clients, &wait_client->link); + } + reds->mig_wait_disconnect = TRUE; + core->timer_start(reds->mig_timer, MIGRATE_TIMEOUT); +} + +static void reds_mig_cleanup_wait_disconnect(void) +{ + RingItem *wait_client_item; + + while ((wait_client_item = ring_get_tail(&reds->mig_wait_disconnect_clients))) { + RedsMigWaitDisconnectClient *wait_client; + + wait_client = SPICE_CONTAINEROF(wait_client_item, RedsMigWaitDisconnectClient, link); + ring_remove(wait_client_item); + free(wait_client); + } + reds->mig_wait_disconnect = FALSE; +} + +static void reds_mig_remove_wait_disconnect_client(RedClient *client) +{ + RingItem *wait_client_item; + + RING_FOREACH(wait_client_item, &reds->mig_wait_disconnect_clients) { + RedsMigWaitDisconnectClient *wait_client; + + wait_client = SPICE_CONTAINEROF(wait_client_item, RedsMigWaitDisconnectClient, link); + if (wait_client->client == client) { + ring_remove(wait_client_item); + free(wait_client); + if (ring_is_empty(&reds->mig_wait_disconnect_clients)) { + reds_mig_cleanup(); + } + return; + } + } + spice_warning("client not found %p", client); +} + +static void reds_migrate_channels_seamless(void) +{ + RedClient *client; + + /* seamless migration is supported for only one client for now */ + client = reds_get_client(); + red_client_migrate(client); +} + +static void reds_mig_finished(int completed) +{ + spice_info(NULL); + + reds->mig_inprogress = TRUE; + + if (reds->src_do_seamless_migrate && completed) { + reds_migrate_channels_seamless(); + } else { + main_channel_migrate_src_complete(reds->main_channel, completed); + } + + if (completed) { + reds_mig_fill_wait_disconnect(); + } else { + reds_mig_cleanup(); + } + reds_mig_release(); +} + +static void reds_mig_switch(void) +{ + if (!reds->mig_spice) { + spice_warning("reds_mig_switch called without migrate_info set"); + return; + } + main_channel_migrate_switch(reds->main_channel, reds->mig_spice); + reds_mig_release(); +} + +static void migrate_timeout(void *opaque) +{ + spice_info(NULL); + spice_assert(reds->mig_wait_connect || reds->mig_wait_disconnect); + if (reds->mig_wait_connect) { + /* we will fall back to the switch host scheme when migration completes */ + main_channel_migrate_cancel_wait(reds->main_channel); + /* in case part of the client haven't yet completed the previous migration, disconnect them */ + reds_mig_target_client_disconnect_all(); + reds_mig_cleanup(); + } else { + reds_mig_disconnect(); + } +} + +uint32_t reds_get_mm_time(void) +{ + struct timespec time_space; + clock_gettime(CLOCK_MONOTONIC, &time_space); + return time_space.tv_sec * 1000 + time_space.tv_nsec / 1000 / 1000; +} + +void reds_update_mm_timer(uint32_t mm_time) +{ + red_dispatcher_set_mm_time(mm_time); +} + +void reds_enable_mm_timer(void) +{ + core->timer_start(reds->mm_timer, MM_TIMER_GRANULARITY_MS); + if (!reds_main_channel_connected()) { + return; + } + main_channel_push_multi_media_time(reds->main_channel, reds_get_mm_time() - MM_TIME_DELTA); +} + +void reds_disable_mm_timer(void) +{ + core->timer_cancel(reds->mm_timer); +} + +static void mm_timer_proc(void *opaque) +{ + red_dispatcher_set_mm_time(reds_get_mm_time()); + core->timer_start(reds->mm_timer, MM_TIMER_GRANULARITY_MS); +} + +static SpiceCharDeviceState *attach_to_red_agent(SpiceCharDeviceInstance *sin) +{ + VDIPortState *state = &reds->agent_state; + SpiceCharDeviceInterface *sif; + SpiceCharDeviceCallbacks char_dev_state_cbs; + + if (!state->base) { + char_dev_state_cbs.read_one_msg_from_device = vdi_port_read_one_msg_from_device; + char_dev_state_cbs.ref_msg_to_client = vdi_port_ref_msg_to_client; + char_dev_state_cbs.unref_msg_to_client = vdi_port_unref_msg_to_client; + char_dev_state_cbs.send_msg_to_client = vdi_port_send_msg_to_client; + char_dev_state_cbs.send_tokens_to_client = vdi_port_send_tokens_to_client; + char_dev_state_cbs.remove_client = vdi_port_remove_client; + char_dev_state_cbs.on_free_self_token = vdi_port_on_free_self_token; + + state->base = spice_char_device_state_create(sin, + REDS_TOKENS_TO_SEND, + REDS_NUM_INTERNAL_AGENT_MESSAGES, + &char_dev_state_cbs, + NULL); + } else { + spice_char_device_state_reset_dev_instance(state->base, sin); + } + + vdagent = sin; + reds_update_mouse_mode(); + + sif = SPICE_CONTAINEROF(vdagent->base.sif, SpiceCharDeviceInterface, base); + if (sif->state) { + sif->state(vdagent, 1); + } + + if (!reds_main_channel_connected()) { + return state->base; + } + + state->read_filter.discard_all = FALSE; + reds->agent_state.plug_generation++; + + if (reds->agent_state.mig_data) { + spice_assert(reds->agent_state.plug_generation == 1); + reds_agent_state_restore(reds->agent_state.mig_data); + free(reds->agent_state.mig_data); + reds->agent_state.mig_data = NULL; + } else if (!red_channel_waits_for_migrate_data(&reds->main_channel->base)) { + /* we will assoicate the client with the char device, upon reds_on_main_agent_start, + * in response to MSGC_AGENT_START */ + main_channel_push_agent_connected(reds->main_channel); + } else { + spice_debug("waiting for migration data"); + if (!spice_char_device_client_exists(reds->agent_state.base, reds_get_client())) { + int client_added; + + client_added = spice_char_device_client_add(reds->agent_state.base, + reds_get_client(), + TRUE, /* flow control */ + REDS_VDI_PORT_NUM_RECEIVE_BUFFS, + REDS_AGENT_WINDOW_SIZE, + ~0, + TRUE); + + if (!client_added) { + spice_warning("failed to add client to agent"); + reds_disconnect(); + } + + } + } + return state->base; +} + +SPICE_GNUC_VISIBLE void spice_server_char_device_wakeup(SpiceCharDeviceInstance* sin) +{ + if (!sin->st) { + spice_warning("no SpiceCharDeviceState attached to instance %p", sin); + return; + } + spice_char_device_wakeup(sin->st); +} + +#define SUBTYPE_VDAGENT "vdagent" +#define SUBTYPE_SMARTCARD "smartcard" +#define SUBTYPE_USBREDIR "usbredir" +#define SUBTYPE_PORT "port" + +const char *spice_server_char_device_recognized_subtypes_list[] = { + SUBTYPE_VDAGENT, +#ifdef USE_SMARTCARD + SUBTYPE_SMARTCARD, +#endif + SUBTYPE_USBREDIR, + NULL, +}; + +SPICE_GNUC_VISIBLE const char** spice_server_char_device_recognized_subtypes(void) +{ + return spice_server_char_device_recognized_subtypes_list; +} + +static void reds_char_device_add_state(SpiceCharDeviceState *st) +{ + SpiceCharDeviceStateItem *item = spice_new0(SpiceCharDeviceStateItem, 1); + + item->st = st; + + ring_add(&reds->char_devs_states, &item->link); +} + +static void reds_char_device_remove_state(SpiceCharDeviceState *st) +{ + RingItem *item; + + RING_FOREACH(item, &reds->char_devs_states) { + SpiceCharDeviceStateItem *st_item; + + st_item = SPICE_CONTAINEROF(item, SpiceCharDeviceStateItem, link); + if (st_item->st == st) { + ring_remove(item); + free(st_item); + return; + } + } + spice_error("char dev state not found %p", st); +} + +void reds_on_char_device_state_destroy(SpiceCharDeviceState *dev) +{ + reds_char_device_remove_state(dev); +} + +static int spice_server_char_device_add_interface(SpiceServer *s, + SpiceBaseInstance *sin) +{ + SpiceCharDeviceInstance* char_device = + SPICE_CONTAINEROF(sin, SpiceCharDeviceInstance, base); + SpiceCharDeviceState *dev_state = NULL; + + spice_assert(s == reds); + + spice_info("CHAR_DEVICE %s", char_device->subtype); + if (strcmp(char_device->subtype, SUBTYPE_VDAGENT) == 0) { + if (vdagent) { + spice_warning("vdagent already attached"); + return -1; + } + dev_state = attach_to_red_agent(char_device); + } +#ifdef USE_SMARTCARD + else if (strcmp(char_device->subtype, SUBTYPE_SMARTCARD) == 0) { + if (!(dev_state = smartcard_device_connect(char_device))) { + return -1; + } + } +#endif + else if (strcmp(char_device->subtype, SUBTYPE_USBREDIR) == 0) { + dev_state = spicevmc_device_connect(char_device, SPICE_CHANNEL_USBREDIR); + } + else if (strcmp(char_device->subtype, SUBTYPE_PORT) == 0) { + dev_state = spicevmc_device_connect(char_device, SPICE_CHANNEL_PORT); + } + + if (dev_state) { + spice_assert(char_device->st); + /* setting the char_device state to "started" for backward compatibily with + * qemu releases that don't call spice api for start/stop (not implemented yet) */ + if (reds->vm_running) { + spice_char_device_start(char_device->st); + } + reds_char_device_add_state(char_device->st); + } else { + spice_warning("failed to create device state for %s", char_device->subtype); + return -1; + } + return 0; +} + +static void spice_server_char_device_remove_interface(SpiceBaseInstance *sin) +{ + SpiceCharDeviceInstance* char_device = + SPICE_CONTAINEROF(sin, SpiceCharDeviceInstance, base); + + spice_info("remove CHAR_DEVICE %s", char_device->subtype); + if (strcmp(char_device->subtype, SUBTYPE_VDAGENT) == 0) { + if (vdagent) { + reds_agent_remove(); + } + } +#ifdef USE_SMARTCARD + else if (strcmp(char_device->subtype, SUBTYPE_SMARTCARD) == 0) { + smartcard_device_disconnect(char_device); + } +#endif + else if (strcmp(char_device->subtype, SUBTYPE_USBREDIR) == 0 || + strcmp(char_device->subtype, SUBTYPE_PORT) == 0) { + spicevmc_device_disconnect(char_device); + } else { + spice_warning("failed to remove char device %s", char_device->subtype); + } + + char_device->st = NULL; +} + +SPICE_GNUC_VISIBLE int spice_server_add_interface(SpiceServer *s, + SpiceBaseInstance *sin) +{ + const SpiceBaseInterface *interface = sin->sif; + spice_assert(reds == s); + +#ifdef CONFIG_MARU + if (strcmp(interface->type, SPICE_INTERFACE_HWKEY) == 0) { + spice_info("SPICE_INTERFACE_HWKEY"); + if (interface->major_version != SPICE_INTERFACE_HWKEY_MAJOR || + interface->minor_version > SPICE_INTERFACE_HWKEY_MINOR) { + spice_warning("unsupported hwkey interface"); + return -1; + } + if (inputs_set_hwkey(SPICE_CONTAINEROF(sin, SpiceHwkeyInstance, base)) != 0) { + return -1; + } + } else if (strcmp(interface->type, SPICE_INTERFACE_SDBPORT) == 0) { + spice_info("SPICE_INTERFACE_SDBPORT"); + if (interface->major_version != SPICE_INTERFACE_SDBPORT_MAJOR || + interface->minor_version > SPICE_INTERFACE_SDBPORT_MINOR) { + spice_warning("unsupported sdb port interface"); + return -1; + } + if (inputs_get_sdbport(SPICE_CONTAINEROF(sin, SpiceSdbPortInstance, base)) != 0) { + return -1; + } + } else if (strcmp(interface->type, SPICE_INTERFACE_ROTATION) == 0) { + spice_info("SPICE_INTERFACE_ROTATION"); + if (interface->major_version != SPICE_INTERFACE_ROTATION_MAJOR || + interface->minor_version > SPICE_INTERFACE_ROTATION_MINOR) { + spice_warning("unsupported rotation interface"); + return -1; + } + if (inputs_set_rotation(SPICE_CONTAINEROF(sin, SpiceRotationInstance, base)) != 0) { + return -1; + } + } else if (strcmp(interface->type, SPICE_INTERFACE_HOSTKBD) == 0) { + spice_info("SPICE_INTERFACE_HOSTKBD"); + if (interface->major_version != SPICE_INTERFACE_HOSTKBD_MAJOR || + interface->minor_version > SPICE_INTERFACE_HOSTKBD_MINOR) { + spice_warning("unsupported hostkbd interface"); + return -1; + } + if (inputs_set_hostkbd(SPICE_CONTAINEROF(sin, SpiceHostkbdInstance, base)) != 0) { + return -1; + } + } else if (strcmp(interface->type, SPICE_INTERFACE_TIZEN_CLOSE) == 0) { + spice_info("SPICE_INTERFACE_TIZEN_CLOSE"); + if (interface->major_version != SPICE_INTERFACE_TIZEN_CLOSE_MAJOR || + interface->minor_version > SPICE_INTERFACE_TIZEN_CLOSE_MINOR) { + spice_warning("unsupported tizen close interface"); + return -1; + } + if (inputs_set_tizen_close(SPICE_CONTAINEROF(sin, SpiceTizenCloseInstance, base)) != 0) { + return -1; + } + } +#endif + + if (strcmp(interface->type, SPICE_INTERFACE_KEYBOARD) == 0) { + spice_info("SPICE_INTERFACE_KEYBOARD"); + if (interface->major_version != SPICE_INTERFACE_KEYBOARD_MAJOR || + interface->minor_version > SPICE_INTERFACE_KEYBOARD_MINOR) { + spice_warning("unsupported keyboard interface"); + return -1; + } + if (inputs_set_keyboard(SPICE_CONTAINEROF(sin, SpiceKbdInstance, base)) != 0) { + return -1; + } + } else if (strcmp(interface->type, SPICE_INTERFACE_MOUSE) == 0) { + spice_info("SPICE_INTERFACE_MOUSE"); + if (interface->major_version != SPICE_INTERFACE_MOUSE_MAJOR || + interface->minor_version > SPICE_INTERFACE_MOUSE_MINOR) { + spice_warning("unsupported mouse interface"); + return -1; + } + if (inputs_set_mouse(SPICE_CONTAINEROF(sin, SpiceMouseInstance, base)) != 0) { + return -1; + } + } else if (strcmp(interface->type, SPICE_INTERFACE_QXL) == 0) { + QXLInstance *qxl; + + spice_info("SPICE_INTERFACE_QXL"); + if (interface->major_version != SPICE_INTERFACE_QXL_MAJOR || + interface->minor_version > SPICE_INTERFACE_QXL_MINOR) { + spice_warning("unsupported qxl interface"); + return -1; + } + + qxl = SPICE_CONTAINEROF(sin, QXLInstance, base); + qxl->st = spice_new0(QXLState, 1); + qxl->st->qif = SPICE_CONTAINEROF(interface, QXLInterface, base); + qxl->st->dispatcher = red_dispatcher_init(qxl); + + } else if (strcmp(interface->type, SPICE_INTERFACE_TABLET) == 0) { + spice_info("SPICE_INTERFACE_TABLET"); + if (interface->major_version != SPICE_INTERFACE_TABLET_MAJOR || + interface->minor_version > SPICE_INTERFACE_TABLET_MINOR) { + spice_warning("unsupported tablet interface"); + return -1; + } + if (inputs_set_tablet(SPICE_CONTAINEROF(sin, SpiceTabletInstance, base)) != 0) { + return -1; + } + reds_update_mouse_mode(); + if (reds->is_client_mouse_allowed) { + inputs_set_tablet_logical_size(reds->monitor_mode.x_res, reds->monitor_mode.y_res); + } + + } else if (strcmp(interface->type, SPICE_INTERFACE_PLAYBACK) == 0) { + spice_info("SPICE_INTERFACE_PLAYBACK"); + if (interface->major_version != SPICE_INTERFACE_PLAYBACK_MAJOR || + interface->minor_version > SPICE_INTERFACE_PLAYBACK_MINOR) { + spice_warning("unsupported playback interface"); + return -1; + } + snd_attach_playback(SPICE_CONTAINEROF(sin, SpicePlaybackInstance, base)); + + } else if (strcmp(interface->type, SPICE_INTERFACE_RECORD) == 0) { + spice_info("SPICE_INTERFACE_RECORD"); + if (interface->major_version != SPICE_INTERFACE_RECORD_MAJOR || + interface->minor_version > SPICE_INTERFACE_RECORD_MINOR) { + spice_warning("unsupported record interface"); + return -1; + } + snd_attach_record(SPICE_CONTAINEROF(sin, SpiceRecordInstance, base)); + + } else if (strcmp(interface->type, SPICE_INTERFACE_CHAR_DEVICE) == 0) { + if (interface->major_version != SPICE_INTERFACE_CHAR_DEVICE_MAJOR || + interface->minor_version > SPICE_INTERFACE_CHAR_DEVICE_MINOR) { + spice_warning("unsupported char device interface"); + return -1; + } + spice_server_char_device_add_interface(s, sin); + + } else if (strcmp(interface->type, SPICE_INTERFACE_NET_WIRE) == 0) { +#ifdef USE_TUNNEL + SpiceNetWireInstance *net; + spice_info("SPICE_INTERFACE_NET_WIRE"); + if (red_tunnel) { + spice_warning("net wire already attached"); + return -1; + } + if (interface->major_version != SPICE_INTERFACE_NET_WIRE_MAJOR || + interface->minor_version > SPICE_INTERFACE_NET_WIRE_MINOR) { + spice_warning("unsupported net wire interface"); + return -1; + } + net = SPICE_CONTAINEROF(sin, SpiceNetWireInstance, base); + net->st = spice_new0(SpiceNetWireState, 1); + red_tunnel = red_tunnel_attach(core, net); +#else + spice_warning("unsupported net wire interface"); + return -1; +#endif + } else if (strcmp(interface->type, SPICE_INTERFACE_MIGRATION) == 0) { + spice_info("SPICE_INTERFACE_MIGRATION"); + if (migration_interface) { + spice_warning("already have migration"); + return -1; + } + + if (interface->major_version != SPICE_INTERFACE_MIGRATION_MAJOR || + interface->minor_version > SPICE_INTERFACE_MIGRATION_MINOR) { + spice_warning("unsupported migration interface"); + return -1; + } + migration_interface = SPICE_CONTAINEROF(sin, SpiceMigrateInstance, base); + migration_interface->st = spice_new0(SpiceMigrateState, 1); + } + + return 0; +} + +SPICE_GNUC_VISIBLE int spice_server_remove_interface(SpiceBaseInstance *sin) +{ + const SpiceBaseInterface *interface = sin->sif; + + if (strcmp(interface->type, SPICE_INTERFACE_TABLET) == 0) { + spice_info("remove SPICE_INTERFACE_TABLET"); + inputs_detach_tablet(SPICE_CONTAINEROF(sin, SpiceTabletInstance, base)); + reds_update_mouse_mode(); + } else if (strcmp(interface->type, SPICE_INTERFACE_PLAYBACK) == 0) { + spice_info("remove SPICE_INTERFACE_PLAYBACK"); + snd_detach_playback(SPICE_CONTAINEROF(sin, SpicePlaybackInstance, base)); + } else if (strcmp(interface->type, SPICE_INTERFACE_RECORD) == 0) { + spice_info("remove SPICE_INTERFACE_RECORD"); + snd_detach_record(SPICE_CONTAINEROF(sin, SpiceRecordInstance, base)); + } else if (strcmp(interface->type, SPICE_INTERFACE_CHAR_DEVICE) == 0) { + spice_server_char_device_remove_interface(sin); + } else { + spice_warning("VD_INTERFACE_REMOVING unsupported"); + return -1; + } + + return 0; +} + +static void init_vd_agent_resources(void) +{ + VDIPortState *state = &reds->agent_state; + int i; + + ring_init(&state->read_bufs); + agent_msg_filter_init(&state->write_filter, agent_copypaste, TRUE); + agent_msg_filter_init(&state->read_filter, agent_copypaste, TRUE); + + state->read_state = VDI_PORT_READ_STATE_READ_HEADER; + state->recive_pos = (uint8_t *)&state->vdi_chunk_header; + state->recive_len = sizeof(state->vdi_chunk_header); + + for (i = 0; i < REDS_VDI_PORT_NUM_RECEIVE_BUFFS; i++) { + VDIReadBuf *buf = spice_new0(VDIReadBuf, 1); + ring_item_init(&buf->link); + ring_add(&reds->agent_state.read_bufs, &buf->link); + } +} + +const char *version_string = VERSION; + +static int do_spice_init(SpiceCoreInterface *core_interface) +{ + spice_info("starting %s", version_string); + + if (core_interface->base.major_version != SPICE_INTERFACE_CORE_MAJOR) { + spice_warning("bad core interface version"); + goto err; + } + core = core_interface; + reds->listen_socket = -1; + reds->secure_listen_socket = -1; + init_vd_agent_resources(); + ring_init(&reds->clients); + reds->num_clients = 0; + main_dispatcher_init(core); + ring_init(&reds->channels); + ring_init(&reds->mig_target_clients); + ring_init(&reds->char_devs_states); + ring_init(&reds->mig_wait_disconnect_clients); + reds->vm_running = TRUE; /* for backward compatibility */ + + if (!(reds->mig_timer = core->timer_add(migrate_timeout, NULL))) { + spice_error("migration timer create failed"); + } + +#ifdef RED_STATISTICS + int shm_name_len; + int fd; + + shm_name_len = strlen(SPICE_STAT_SHM_NAME) + 20; + reds->stat_shm_name = (char *)spice_malloc(shm_name_len); + snprintf(reds->stat_shm_name, shm_name_len, SPICE_STAT_SHM_NAME, getpid()); + if ((fd = shm_open(reds->stat_shm_name, O_CREAT | O_RDWR, 0444)) == -1) { + spice_error("statistics shm_open failed, %s", strerror(errno)); + } + if (ftruncate(fd, REDS_STAT_SHM_SIZE) == -1) { + spice_error("statistics ftruncate failed, %s", strerror(errno)); + } + reds->stat = (SpiceStat *)mmap(NULL, REDS_STAT_SHM_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); + if (reds->stat == (SpiceStat *)MAP_FAILED) { + spice_error("statistics mmap failed, %s", strerror(errno)); + } + memset(reds->stat, 0, REDS_STAT_SHM_SIZE); + reds->stat->magic = SPICE_STAT_MAGIC; + reds->stat->version = SPICE_STAT_VERSION; + reds->stat->root_index = INVALID_STAT_REF; + if (pthread_mutex_init(&reds->stat_lock, NULL)) { + spice_error("mutex init failed"); + } +#endif + + if (!(reds->mm_timer = core->timer_add(mm_timer_proc, NULL))) { + spice_error("mm timer create failed"); + } + core->timer_start(reds->mm_timer, MM_TIMER_GRANULARITY_MS); + + if (reds_init_net() < 0) { + goto err; + } + if (reds->secure_listen_socket != -1) { + if (reds_init_ssl() < 0) { + goto err; + } + } +#if HAVE_SASL + int saslerr; + if ((saslerr = sasl_server_init(NULL, sasl_appname ? + sasl_appname : "spice")) != SASL_OK) { + spice_error("Failed to initialize SASL auth %s", + sasl_errstring(saslerr, NULL, NULL)); + goto err; + } +#endif + + reds->main_channel = main_channel_init(); + inputs_init(); + + reds->mouse_mode = SPICE_MOUSE_MODE_SERVER; + + reds_client_monitors_config_cleanup(); + + reds->allow_multiple_clients = getenv(SPICE_DEBUG_ALLOW_MC_ENV) != NULL; + if (reds->allow_multiple_clients) { + spice_warning("spice: allowing multiple client connections (crashy)"); + } + atexit(reds_exit); + return 0; + +err: + return -1; +} + +/* new interface */ +SPICE_GNUC_VISIBLE SpiceServer *spice_server_new(void) +{ + /* we can't handle multiple instances (yet) */ + spice_assert(reds == NULL); + + reds = spice_new0(RedsState, 1); + return reds; +} + +SPICE_GNUC_VISIBLE int spice_server_init(SpiceServer *s, SpiceCoreInterface *core) +{ + int ret; + + spice_assert(reds == s); + ret = do_spice_init(core); + if (default_renderer) { + red_dispatcher_add_renderer(default_renderer); + } + return ret; +} + +SPICE_GNUC_VISIBLE void spice_server_destroy(SpiceServer *s) +{ + spice_assert(reds == s); + reds_exit(); +} + +SPICE_GNUC_VISIBLE spice_compat_version_t spice_get_current_compat_version(void) +{ + return SPICE_COMPAT_VERSION_CURRENT; +} + +SPICE_GNUC_VISIBLE int spice_server_set_compat_version(SpiceServer *s, + spice_compat_version_t version) +{ + if (version < SPICE_COMPAT_VERSION_0_6) { + /* We don't support 0.4 compat mode atm */ + return -1; + } + + if (version > SPICE_COMPAT_VERSION_CURRENT) { + /* Not compatible with future versions */ + return -1; + } + return 0; +} + +SPICE_GNUC_VISIBLE int spice_server_set_port(SpiceServer *s, int port) +{ + spice_assert(reds == s); + if (port < 0 || port > 0xffff) { + return -1; + } + spice_port = port; + return 0; +} + +SPICE_GNUC_VISIBLE void spice_server_set_addr(SpiceServer *s, const char *addr, int flags) +{ + spice_assert(reds == s); + g_strlcpy(spice_addr, addr, sizeof(spice_addr)); + if (flags & SPICE_ADDR_FLAG_IPV4_ONLY) { + spice_family = PF_INET; + } + if (flags & SPICE_ADDR_FLAG_IPV6_ONLY) { + spice_family = PF_INET6; + } +} + +SPICE_GNUC_VISIBLE int spice_server_set_listen_socket_fd(SpiceServer *s, int listen_fd) +{ + spice_assert(reds == s); + spice_listen_socket_fd = listen_fd; + return 0; +} + +SPICE_GNUC_VISIBLE int spice_server_set_exit_on_disconnect(SpiceServer *s, int flag) +{ + spice_assert(reds == s); + exit_on_disconnect = !!flag; + return 0; +} + +SPICE_GNUC_VISIBLE int spice_server_set_noauth(SpiceServer *s) +{ + spice_assert(reds == s); + memset(taTicket.password, 0, sizeof(taTicket.password)); + ticketing_enabled = 0; + return 0; +} + +SPICE_GNUC_VISIBLE int spice_server_set_sasl(SpiceServer *s, int enabled) +{ + spice_assert(reds == s); +#if HAVE_SASL + sasl_enabled = enabled; + return 0; +#else + return -1; +#endif +} + +SPICE_GNUC_VISIBLE int spice_server_set_sasl_appname(SpiceServer *s, const char *appname) +{ + spice_assert(reds == s); +#if HAVE_SASL + free(sasl_appname); + sasl_appname = spice_strdup(appname); + return 0; +#else + return -1; +#endif +} + +SPICE_GNUC_VISIBLE void spice_server_set_name(SpiceServer *s, const char *name) +{ + free(spice_name); + spice_name = spice_strdup(name); +} + +SPICE_GNUC_VISIBLE void spice_server_set_uuid(SpiceServer *s, const uint8_t uuid[16]) +{ + memcpy(spice_uuid, uuid, sizeof(spice_uuid)); + spice_uuid_is_set = TRUE; +} + +SPICE_GNUC_VISIBLE int spice_server_set_ticket(SpiceServer *s, + const char *passwd, int lifetime, + int fail_if_connected, + int disconnect_if_connected) +{ + spice_assert(reds == s); + + if (reds_main_channel_connected()) { + if (fail_if_connected) { + return -1; + } + if (disconnect_if_connected) { + reds_disconnect(); + } + } + + on_activating_ticketing(); + ticketing_enabled = 1; + if (lifetime == 0) { + taTicket.expiration_time = INT_MAX; + } else { + time_t now = time(NULL); + taTicket.expiration_time = now + lifetime; + } + if (passwd != NULL) { + g_strlcpy(taTicket.password, passwd, sizeof(taTicket.password)); + } else { + memset(taTicket.password, 0, sizeof(taTicket.password)); + taTicket.expiration_time = 0; + } + return 0; +} + +SPICE_GNUC_VISIBLE int spice_server_set_tls(SpiceServer *s, int port, + const char *ca_cert_file, const char *certs_file, + const char *private_key_file, const char *key_passwd, + const char *dh_key_file, const char *ciphersuite) +{ + spice_assert(reds == s); + if (port == 0 || ca_cert_file == NULL || certs_file == NULL || + private_key_file == NULL) { + return -1; + } + if (port < 0 || port > 0xffff) { + return -1; + } + memset(&ssl_parameters, 0, sizeof(ssl_parameters)); + + spice_secure_port = port; + g_strlcpy(ssl_parameters.ca_certificate_file, ca_cert_file, + sizeof(ssl_parameters.ca_certificate_file)); + g_strlcpy(ssl_parameters.certs_file, certs_file, + sizeof(ssl_parameters.certs_file)); + g_strlcpy(ssl_parameters.private_key_file, private_key_file, + sizeof(ssl_parameters.private_key_file)); + + if (key_passwd) { + g_strlcpy(ssl_parameters.keyfile_password, key_passwd, + sizeof(ssl_parameters.keyfile_password)); + } + if (ciphersuite) { + g_strlcpy(ssl_parameters.ciphersuite, ciphersuite, + sizeof(ssl_parameters.ciphersuite)); + } + if (dh_key_file) { + g_strlcpy(ssl_parameters.dh_key_file, dh_key_file, + sizeof(ssl_parameters.dh_key_file)); + } + return 0; +} + +SPICE_GNUC_VISIBLE int spice_server_set_image_compression(SpiceServer *s, + spice_image_compression_t comp) +{ + spice_assert(reds == s); + set_image_compression(comp); + return 0; +} + +SPICE_GNUC_VISIBLE spice_image_compression_t spice_server_get_image_compression(SpiceServer *s) +{ + spice_assert(reds == s); + return image_compression; +} + +SPICE_GNUC_VISIBLE int spice_server_set_jpeg_compression(SpiceServer *s, spice_wan_compression_t comp) +{ + spice_assert(reds == s); + if (comp == SPICE_WAN_COMPRESSION_INVALID) { + spice_error("invalid jpeg state"); + return -1; + } + // todo: support dynamically changing the state + jpeg_state = comp; + return 0; +} + +SPICE_GNUC_VISIBLE int spice_server_set_zlib_glz_compression(SpiceServer *s, spice_wan_compression_t comp) +{ + spice_assert(reds == s); + if (comp == SPICE_WAN_COMPRESSION_INVALID) { + spice_error("invalid zlib_glz state"); + return -1; + } + // todo: support dynamically changing the state + zlib_glz_state = comp; + return 0; +} + +SPICE_GNUC_VISIBLE int spice_server_set_channel_security(SpiceServer *s, const char *channel, int security) +{ + static const char *names[] = { + [ SPICE_CHANNEL_MAIN ] = "main", + [ SPICE_CHANNEL_DISPLAY ] = "display", + [ SPICE_CHANNEL_INPUTS ] = "inputs", + [ SPICE_CHANNEL_CURSOR ] = "cursor", + [ SPICE_CHANNEL_PLAYBACK ] = "playback", + [ SPICE_CHANNEL_RECORD ] = "record", +#ifdef USE_TUNNEL + [ SPICE_CHANNEL_TUNNEL ] = "tunnel", +#endif +#ifdef USE_SMARTCARD + [ SPICE_CHANNEL_SMARTCARD] = "smartcard", +#endif + [ SPICE_CHANNEL_USBREDIR ] = "usbredir", + }; + int i; + + spice_assert(reds == s); + + if (channel == NULL) { + default_channel_security = security; + return 0; + } + for (i = 0; i < SPICE_N_ELEMENTS(names); i++) { + if (names[i] && strcmp(names[i], channel) == 0) { + set_one_channel_security(i, security); + return 0; + } + } + return -1; +} + +SPICE_GNUC_VISIBLE int spice_server_get_sock_info(SpiceServer *s, struct sockaddr *sa, socklen_t *salen) +{ + spice_assert(reds == s); + if (main_channel_getsockname(reds->main_channel, sa, salen) < 0) { + return -1; + } + return 0; +} + +SPICE_GNUC_VISIBLE int spice_server_get_peer_info(SpiceServer *s, struct sockaddr *sa, socklen_t *salen) +{ + spice_assert(reds == s); + if (main_channel_getpeername(reds->main_channel, sa, salen) < 0) { + return -1; + } + return 0; +} + +SPICE_GNUC_VISIBLE int spice_server_is_server_mouse(SpiceServer *s) +{ + spice_assert(reds == s); + return reds->mouse_mode == SPICE_MOUSE_MODE_SERVER; +} + +SPICE_GNUC_VISIBLE int spice_server_add_renderer(SpiceServer *s, const char *name) +{ + spice_assert(reds == s); + if (!red_dispatcher_add_renderer(name)) { + return -1; + } + default_renderer = NULL; + return 0; +} + +SPICE_GNUC_VISIBLE int spice_server_kbd_leds(SpiceKbdInstance *sin, int leds) +{ + inputs_on_keyboard_leds_change(NULL, leds); + return 0; +} + +SPICE_GNUC_VISIBLE int spice_server_set_streaming_video(SpiceServer *s, int value) +{ + spice_assert(reds == s); + if (value != SPICE_STREAM_VIDEO_OFF && + value != SPICE_STREAM_VIDEO_ALL && + value != SPICE_STREAM_VIDEO_FILTER) + return -1; + streaming_video = value; + red_dispatcher_on_sv_change(); + return 0; +} + +SPICE_GNUC_VISIBLE int spice_server_set_playback_compression(SpiceServer *s, int enable) +{ + spice_assert(reds == s); + snd_set_playback_compression(enable); + return 0; +} + +SPICE_GNUC_VISIBLE int spice_server_set_agent_mouse(SpiceServer *s, int enable) +{ + spice_assert(reds == s); + agent_mouse = enable; + reds_update_mouse_mode(); + return 0; +} + +SPICE_GNUC_VISIBLE int spice_server_set_agent_copypaste(SpiceServer *s, int enable) +{ + spice_assert(reds == s); + agent_copypaste = enable; + reds->agent_state.write_filter.copy_paste_enabled = agent_copypaste; + reds->agent_state.read_filter.copy_paste_enabled = agent_copypaste; + return 0; +} + +/* returns FALSE if info is invalid */ +static int reds_set_migration_dest_info(const char* dest, + int port, int secure_port, + const char* cert_subject) +{ + RedsMigSpice *spice_migration = NULL; + + reds_mig_release(); + if ((port == -1 && secure_port == -1) || !dest) { + return FALSE; + } + + spice_migration = spice_new0(RedsMigSpice, 1); + spice_migration->port = port; + spice_migration->sport = secure_port; + spice_migration->host = spice_strdup(dest); + if (cert_subject) { + spice_migration->cert_subject = spice_strdup(cert_subject); + } + + reds->mig_spice = spice_migration; + + return TRUE; +} + +/* semi-seamless client migration */ +SPICE_GNUC_VISIBLE int spice_server_migrate_connect(SpiceServer *s, const char* dest, + int port, int secure_port, + const char* cert_subject) +{ + SpiceMigrateInterface *sif; + int try_seamless; + + spice_info(NULL); + spice_assert(migration_interface); + spice_assert(reds == s); + + if (reds->expect_migrate) { + spice_info("consecutive calls without migration. Canceling previous call"); + main_channel_migrate_src_complete(reds->main_channel, FALSE); + } + + sif = SPICE_CONTAINEROF(migration_interface->base.sif, SpiceMigrateInterface, base); + + if (!reds_set_migration_dest_info(dest, port, secure_port, cert_subject)) { + sif->migrate_connect_complete(migration_interface); + return -1; + } + + reds->expect_migrate = TRUE; + + /* + * seamless migration support was added to the client after the support in + * agent_connect_tokens, so there shouldn't be contradicition - if + * the client is capable of seamless migration, it is capbable of agent_connected_tokens. + * The demand for agent_connected_tokens support is in order to assure that if migration + * occured when the agent was not connected, the tokens state after migration will still + * be valid (see reds_reset_vdp for more details). + */ + try_seamless = reds->seamless_migration_enabled && + red_channel_test_remote_cap(&reds->main_channel->base, + SPICE_MAIN_CAP_AGENT_CONNECTED_TOKENS); + /* main channel will take care of clients that are still during migration (at target)*/ + if (main_channel_migrate_connect(reds->main_channel, reds->mig_spice, + try_seamless)) { + reds_mig_started(); + } else { + if (reds->num_clients == 0) { + reds_mig_release(); + spice_info("no client connected"); + } + sif->migrate_connect_complete(migration_interface); + } + + return 0; +} + +SPICE_GNUC_VISIBLE int spice_server_migrate_info(SpiceServer *s, const char* dest, + int port, int secure_port, + const char* cert_subject) +{ + spice_info(NULL); + spice_assert(!migration_interface); + spice_assert(reds == s); + + if (!reds_set_migration_dest_info(dest, port, secure_port, cert_subject)) { + return -1; + } + return 0; +} + +SPICE_GNUC_VISIBLE int spice_server_migrate_start(SpiceServer *s) +{ + spice_assert(reds == s); + spice_info(NULL); + if (!reds->mig_spice) { + return -1; + } + return 0; +} + +SPICE_GNUC_VISIBLE int spice_server_migrate_client_state(SpiceServer *s) +{ + spice_assert(reds == s); + + if (!reds_main_channel_connected()) { + return SPICE_MIGRATE_CLIENT_NONE; + } else if (reds->mig_wait_connect) { + return SPICE_MIGRATE_CLIENT_WAITING; + } else { + return SPICE_MIGRATE_CLIENT_READY; + } + return 0; +} + +SPICE_GNUC_VISIBLE int spice_server_migrate_end(SpiceServer *s, int completed) +{ + SpiceMigrateInterface *sif; + int ret = 0; + + spice_info(NULL); + + spice_assert(migration_interface); + spice_assert(reds == s); + + sif = SPICE_CONTAINEROF(migration_interface->base.sif, SpiceMigrateInterface, base); + if (completed && !reds->expect_migrate && reds->num_clients) { + spice_warning("spice_server_migrate_info was not called, disconnecting clients"); + reds_disconnect(); + ret = -1; + goto complete; + } + + reds->expect_migrate = FALSE; + if (!reds_main_channel_connected()) { + spice_info("no peer connected"); + goto complete; + } + reds_mig_finished(completed); + return 0; +complete: + if (sif->migrate_end_complete) { + sif->migrate_end_complete(migration_interface); + } + return ret; +} + +/* interface for switch-host migration */ +SPICE_GNUC_VISIBLE int spice_server_migrate_switch(SpiceServer *s) +{ + spice_assert(reds == s); + spice_info(NULL); + if (!reds->num_clients) { + return 0; + } + reds->expect_migrate = FALSE; + reds_mig_switch(); + return 0; +} + +SPICE_GNUC_VISIBLE void spice_server_vm_start(SpiceServer *s) +{ + RingItem *item; + + spice_assert(s == reds); + reds->vm_running = TRUE; + RING_FOREACH(item, &reds->char_devs_states) { + SpiceCharDeviceStateItem *st_item; + + st_item = SPICE_CONTAINEROF(item, SpiceCharDeviceStateItem, link); + spice_char_device_start(st_item->st); + } + red_dispatcher_on_vm_start(); +} + +SPICE_GNUC_VISIBLE void spice_server_vm_stop(SpiceServer *s) +{ + RingItem *item; + + spice_assert(s == reds); + reds->vm_running = FALSE; + RING_FOREACH(item, &reds->char_devs_states) { + SpiceCharDeviceStateItem *st_item; + + st_item = SPICE_CONTAINEROF(item, SpiceCharDeviceStateItem, link); + spice_char_device_stop(st_item->st); + } + red_dispatcher_on_vm_stop(); +} + +SPICE_GNUC_VISIBLE void spice_server_set_seamless_migration(SpiceServer *s, int enable) +{ + spice_assert(s == reds); + /* seamless migration is not supported with multiple clients */ + reds->seamless_migration_enabled = enable && !reds->allow_multiple_clients; + spice_debug("seamless migration enabled=%d", enable); +} + +ssize_t reds_stream_read(RedsStream *s, void *buf, size_t nbyte) +{ + ssize_t ret; + +#if HAVE_SASL + if (s->sasl.conn && s->sasl.runSSF) { + ret = reds_stream_sasl_read(s, buf, nbyte); + } else +#endif + ret = s->read(s, buf, nbyte); + + return ret; +} + +ssize_t reds_stream_write(RedsStream *s, const void *buf, size_t nbyte) +{ + ssize_t ret; + +#if HAVE_SASL + if (s->sasl.conn && s->sasl.runSSF) { + ret = reds_stream_sasl_write(s, buf, nbyte); + } else +#endif + ret = s->write(s, buf, nbyte); + + return ret; +} + +ssize_t reds_stream_writev(RedsStream *s, const struct iovec *iov, int iovcnt) +{ + int i; + int n; + ssize_t ret = 0; + + if (s->writev != NULL) { + return s->writev(s, iov, iovcnt); + } + + for (i = 0; i < iovcnt; ++i) { + n = reds_stream_write(s, iov[i].iov_base, iov[i].iov_len); + if (n <= 0) + return ret == 0 ? n : ret; + ret += n; + } + + return ret; +} + +void reds_stream_free(RedsStream *s) +{ + if (!s) { + return; + } + + reds_stream_channel_event(s, SPICE_CHANNEL_EVENT_DISCONNECTED); + +#if HAVE_SASL + if (s->sasl.conn) { + s->sasl.runSSF = s->sasl.wantSSF = 0; + s->sasl.len = 0; + s->sasl.encodedLength = s->sasl.encodedOffset = 0; + s->sasl.encoded = NULL; + free(s->sasl.mechlist); + free(s->sasl.mechname); + s->sasl.mechlist = NULL; + sasl_dispose(&s->sasl.conn); + s->sasl.conn = NULL; + } +#endif + + if (s->ssl) { + SSL_free(s->ssl); + } + + reds_stream_remove_watch(s); + spice_info("close socket fd %d", s->socket); + close(s->socket); + + free(s); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/reds.h b/tizen/distrib/remote/server/spice-0.12.2/server/reds.h new file mode 100644 index 0000000..f8e8d56 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/reds.h @@ -0,0 +1,167 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_REDS +#define _H_REDS + +#include <stdint.h> +#include <openssl/ssl.h> +#include <sys/uio.h> +#include <spice/vd_agent.h> +#include <config.h> + +#if HAVE_SASL +#include <sasl/sasl.h> +#endif + +#include "common/marshaller.h" +#include "common/messages.h" +#include "spice.h" +#include "red_channel.h" +#include "migration_protocol.h" + +#define SPICE_GNUC_VISIBLE __attribute__ ((visibility ("default"))) + +#if HAVE_SASL +typedef struct RedsSASL { + sasl_conn_t *conn; + + /* If we want to negotiate an SSF layer with client */ + int wantSSF :1; + /* If we are now running the SSF layer */ + int runSSF :1; + + /* + * Buffering encoded data to allow more clear data + * to be stuffed onto the output buffer + */ + const uint8_t *encoded; + unsigned int encodedLength; + unsigned int encodedOffset; + + SpiceBuffer inbuffer; + + char *username; + char *mechlist; + char *mechname; + + /* temporary data during authentication */ + unsigned int len; + char *data; +} RedsSASL; +#endif + +struct RedsStream { + int socket; + SpiceWatch *watch; + + /* set it to TRUE if you shutdown the socket. shutdown read doesn't work as accepted - + receive may return data afterward. check the flag before calling receive*/ + int shutdown; + SSL *ssl; + +#if HAVE_SASL + RedsSASL sasl; +#endif + + /* life time of info: + * allocated when creating RedsStream. + * deallocated when main_dispatcher handles the SPICE_CHANNEL_EVENT_DISCONNECTED + * event, either from same thread or by call back from main thread. */ + SpiceChannelEventInfo* info; + + /* private */ + ssize_t (*read)(RedsStream *s, void *buf, size_t nbyte); + ssize_t (*write)(RedsStream *s, const void *buf, size_t nbyte); + ssize_t (*writev)(RedsStream *s, const struct iovec *iov, int iovcnt); +}; + +struct QXLState { + QXLInterface *qif; + struct RedDispatcher *dispatcher; +}; + +struct TunnelWorker; +struct SpiceNetWireState { + struct TunnelWorker *worker; +}; + +struct SpiceMigrateState { + int dummy; +}; + +typedef struct RedsMigSpice { + char *host; + char *cert_subject; + int port; + int sport; +} RedsMigSpice; + +ssize_t reds_stream_read(RedsStream *s, void *buf, size_t nbyte); +ssize_t reds_stream_write(RedsStream *s, const void *buf, size_t nbyte); +ssize_t reds_stream_writev(RedsStream *s, const struct iovec *iov, int iovcnt); +void reds_stream_free(RedsStream *s); + +void reds_disable_mm_timer(void); +void reds_enable_mm_timer(void); +void reds_update_mm_timer(uint32_t mm_time); +uint32_t reds_get_mm_time(void); +void reds_set_client_mouse_allowed(int is_client_mouse_allowed, + int x_res, int y_res); +void reds_register_channel(RedChannel *channel); +void reds_unregister_channel(RedChannel *channel); +int reds_get_mouse_mode(void); // used by inputs_channel +int reds_get_agent_mouse(void); // used by inputs_channel +int reds_has_vdagent(void); // used by inputs channel +void reds_handle_agent_mouse_event(const VDAgentMouseState *mouse_state); // used by inputs_channel + +extern struct SpiceCoreInterface *core; + +// Temporary measures to make splitting reds.c to inputs_channel.c easier +void reds_client_disconnect(RedClient *client); + +// Temporary (?) for splitting main channel +typedef struct MainMigrateData MainMigrateData; +void reds_marshall_migrate_data(SpiceMarshaller *m); +void reds_fill_channels(SpiceMsgChannels *channels_info); +int reds_num_of_channels(void); +int reds_num_of_clients(void); +#ifdef RED_STATISTICS +void reds_update_stat_value(uint32_t value); +#endif + +/* callbacks from main channel messages */ + +void reds_on_main_agent_start(MainChannelClient *mcc, uint32_t num_tokens); +void reds_on_main_agent_tokens(MainChannelClient *mcc, uint32_t num_tokens); +uint8_t *reds_get_agent_data_buffer(MainChannelClient *mcc, size_t size); +void reds_release_agent_data_buffer(uint8_t *buf); +void reds_on_main_agent_data(MainChannelClient *mcc, void *message, size_t size); +void reds_on_main_migrate_connected(int seamless); //should be called when all the clients + // are connected to the target +int reds_handle_migrate_data(MainChannelClient *mcc, + SpiceMigrateDataMain *mig_data, uint32_t size); +void reds_on_main_mouse_mode_request(void *message, size_t size); +/* migration dest side: returns whether it can support seamless migration + * with the given src migration protocol version */ +int reds_on_migrate_dst_set_seamless(MainChannelClient *mcc, uint32_t src_version); +void reds_on_client_semi_seamless_migrate_complete(RedClient *client); +void reds_on_client_seamless_migrate_complete(RedClient *client); +void reds_on_main_channel_migrate(MainChannelClient *mcc); +void reds_on_char_device_state_destroy(SpiceCharDeviceState *dev); + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/reds_gl_canvas.c b/tizen/distrib/remote/server/spice-0.12.2/server/reds_gl_canvas.c new file mode 100644 index 0000000..da03ee5 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/reds_gl_canvas.c @@ -0,0 +1,28 @@ +/* + Copyright (C) 2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common/spice_common.h" + +#include "reds_gl_canvas.h" +#define SPICE_CANVAS_INTERNAL +#define SW_CANVAS_IMAGE_CACHE +#include "common/gl_canvas.c" +#undef SW_CANVAS_IMAGE_CACHE +#undef SPICE_CANVAS_INTERNAL diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/reds_gl_canvas.h b/tizen/distrib/remote/server/spice-0.12.2/server/reds_gl_canvas.h new file mode 100644 index 0000000..c9da25c --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/reds_gl_canvas.h @@ -0,0 +1,27 @@ +/* + Copyright (C) 2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_REDS_GL_CANVAS +#define _H_REDS_GL_CANVAS + +#define SPICE_CANVAS_INTERNAL +#define SW_CANVAS_IMAGE_CACHE +#include "common/gl_canvas.h" +#undef SW_CANVAS_IMAGE_CACHE +#undef SPICE_CANVAS_INTERNAL + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/reds_sw_canvas.c b/tizen/distrib/remote/server/spice-0.12.2/server/reds_sw_canvas.c new file mode 100644 index 0000000..e7ace3b --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/reds_sw_canvas.c @@ -0,0 +1,28 @@ +/* + Copyright (C) 2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "common/spice_common.h" + +#include "reds_sw_canvas.h" +#define SPICE_CANVAS_INTERNAL +#define SW_CANVAS_IMAGE_CACHE +#include "common/sw_canvas.c" +#undef SW_CANVAS_IMAGE_CACHE +#undef SPICE_CANVAS_INTERNAL diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/reds_sw_canvas.h b/tizen/distrib/remote/server/spice-0.12.2/server/reds_sw_canvas.h new file mode 100644 index 0000000..f065be5 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/reds_sw_canvas.h @@ -0,0 +1,26 @@ +/* + Copyright (C) 2011 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifndef _H_REDS_SW_CANVAS +#define _H_REDS_SW_CANVAS + +#define SPICE_CANVAS_INTERNAL +#define SW_CANVAS_IMAGE_CACHE +#include "common/sw_canvas.h" +#undef SW_CANVAS_IMAGE_CACHE +#undef SPICE_CANVAS_INTERNAL + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/smartcard.c b/tizen/distrib/remote/server/spice-0.12.2/server/smartcard.c new file mode 100644 index 0000000..f1e6244 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/smartcard.c @@ -0,0 +1,858 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <arpa/inet.h> +#include <vscard_common.h> + +#include "reds.h" +#include "char_device.h" +#include "red_channel.h" +#include "smartcard.h" +#include "migration_protocol.h" + +/* + * TODO: the code doesn't really support multiple readers. + * For example: smartcard_char_device_add_to_readers calls smartcard_init, + * which can be called only once. + * We should allow different readers, at least one reader per client. + * In addition the implementation should be changed: instead of one channel for + * all readers, we need to have different channles for different readers, + * similarly to spicevmc. + * + */ +#define SMARTCARD_MAX_READERS 10 + +typedef struct SmartCardDeviceState SmartCardDeviceState; + +typedef struct SmartCardChannelClient { + RedChannelClient base; + SmartCardDeviceState *smartcard_state; + + /* read_from_client/write_to_device buffer. + * The beginning of the buffer should always be VSCMsgHeader*/ + SpiceCharDeviceWriteBuffer *write_buf; + int msg_in_write_buf; /* was the client msg received into a SpiceCharDeviceWriteBuffer + * or was it explicitly malloced */ +} SmartCardChannelClient; + +struct SmartCardDeviceState { + SpiceCharDeviceState *chardev_st; + uint32_t reader_id; + /* read_from_device buffer */ + uint8_t *buf; + uint32_t buf_size; + uint8_t *buf_pos; + uint32_t buf_used; + + SmartCardChannelClient *scc; // client providing the remote card + int reader_added; // has reader_add been sent to the device +}; + +enum { + PIPE_ITEM_TYPE_ERROR = PIPE_ITEM_TYPE_CHANNEL_BASE, + PIPE_ITEM_TYPE_SMARTCARD_DATA, + PIPE_ITEM_TYPE_SMARTCARD_MIGRATE_DATA, +}; + +typedef struct ErrorItem { + PipeItem base; + VSCMsgHeader vheader; + VSCMsgError error; +} ErrorItem; + +typedef struct MsgItem { + PipeItem base; + uint32_t refs; + + VSCMsgHeader* vheader; +} MsgItem; + +static MsgItem *smartcard_get_vsc_msg_item(RedChannelClient *rcc, VSCMsgHeader *vheader); +static MsgItem *smartcard_ref_vsc_msg_item(MsgItem *item); +static void smartcard_unref_vsc_msg_item(MsgItem *item); +static void smartcard_channel_client_pipe_add_push(RedChannelClient *rcc, PipeItem *item); + +typedef struct SmartCardChannel { + RedChannel base; +} SmartCardChannel; + +static struct Readers { + uint32_t num; + SpiceCharDeviceInstance* sin[SMARTCARD_MAX_READERS]; +} g_smartcard_readers = {0, {NULL}}; + +static SpiceCharDeviceInstance* smartcard_readers_get_unattached(void); +static SpiceCharDeviceInstance* smartcard_readers_get(uint32_t reader_id); +static int smartcard_char_device_add_to_readers(SpiceCharDeviceInstance *sin); +static void smartcard_char_device_attach_client( + SpiceCharDeviceInstance *char_device, SmartCardChannelClient *scc); +static void smartcard_channel_write_to_reader(SpiceCharDeviceWriteBuffer *write_buf); + +static MsgItem *smartcard_char_device_on_message_from_device( + SmartCardDeviceState *state, VSCMsgHeader *header); +static SmartCardDeviceState *smartcard_device_state_new(SpiceCharDeviceInstance *sin); +static void smartcard_device_state_free(SmartCardDeviceState* st); +static void smartcard_init(void); + +static void smartcard_read_buf_prepare(SmartCardDeviceState *state, VSCMsgHeader *vheader) +{ + uint32_t msg_len; + + msg_len = ntohl(vheader->length); + if (msg_len > state->buf_size) { + state->buf_size = MAX(state->buf_size * 2, msg_len + sizeof(VSCMsgHeader)); + state->buf = spice_realloc(state->buf, state->buf_size); + } +} + +SpiceCharDeviceMsgToClient *smartcard_read_msg_from_device(SpiceCharDeviceInstance *sin, + void *opaque) +{ + SmartCardDeviceState *state = opaque; + SpiceCharDeviceInterface *sif = SPICE_CONTAINEROF(sin->base.sif, SpiceCharDeviceInterface, base); + VSCMsgHeader *vheader = (VSCMsgHeader*)state->buf; + int n; + int remaining; + int actual_length; + + while ((n = sif->read(sin, state->buf_pos, state->buf_size - state->buf_used)) > 0) { + MsgItem *msg_to_client; + + state->buf_pos += n; + state->buf_used += n; + if (state->buf_used < sizeof(VSCMsgHeader)) { + continue; + } + smartcard_read_buf_prepare(state, vheader); + actual_length = ntohl(vheader->length); + if (state->buf_used - sizeof(VSCMsgHeader) < actual_length) { + continue; + } + msg_to_client = smartcard_char_device_on_message_from_device(state, vheader); + remaining = state->buf_used - sizeof(VSCMsgHeader) - actual_length; + if (remaining > 0) { + memcpy(state->buf, state->buf_pos, remaining); + } + state->buf_pos = state->buf; + state->buf_used = remaining; + if (msg_to_client) { + return msg_to_client; + } + } + return NULL; +} + +static SpiceCharDeviceMsgToClient *smartcard_ref_msg_to_client(SpiceCharDeviceMsgToClient *msg, + void *opaque) +{ + return smartcard_ref_vsc_msg_item((MsgItem *)msg); +} + +static void smartcard_unref_msg_to_client(SpiceCharDeviceMsgToClient *msg, + void *opaque) +{ + smartcard_unref_vsc_msg_item((MsgItem *)msg); +} + +static void smartcard_send_msg_to_client(SpiceCharDeviceMsgToClient *msg, + RedClient *client, + void *opaque) +{ + SmartCardDeviceState *dev = opaque; + spice_assert(dev->scc && dev->scc->base.client == client); + smartcard_channel_client_pipe_add_push(&dev->scc->base, &((MsgItem *)msg)->base); + +} + +static void smartcard_send_tokens_to_client(RedClient *client, uint32_t tokens, void *opaque) +{ + spice_error("not implemented"); +} + +static void smartcard_remove_client(RedClient *client, void *opaque) +{ + SmartCardDeviceState *dev = opaque; + + spice_printerr("smartcard state %p, client %p", dev, client); + spice_assert(dev->scc && dev->scc->base.client == client); + red_channel_client_shutdown(&dev->scc->base); +} + +MsgItem *smartcard_char_device_on_message_from_device(SmartCardDeviceState *state, + VSCMsgHeader *vheader) +{ + VSCMsgHeader *sent_header; + + vheader->type = ntohl(vheader->type); + vheader->length = ntohl(vheader->length); + vheader->reader_id = ntohl(vheader->reader_id); + + switch (vheader->type) { + case VSC_Init: + return NULL; + default: + break; + } + /* We pass any VSC_Error right now - might need to ignore some? */ + if (state->reader_id == VSCARD_UNDEFINED_READER_ID && vheader->type != VSC_Init) { + spice_printerr("error: reader_id not assigned for message of type %d", vheader->type); + } + if (state->scc) { + sent_header = spice_memdup(vheader, sizeof(*vheader) + vheader->length); + /* We patch the reader_id, since the device only knows about itself, and + * we know about the sum of readers. */ + sent_header->reader_id = state->reader_id; + return smartcard_get_vsc_msg_item(&state->scc->base, sent_header); + } + return NULL; +} + +static int smartcard_char_device_add_to_readers(SpiceCharDeviceInstance *char_device) +{ + SmartCardDeviceState *state = spice_char_device_state_opaque_get(char_device->st); + + if (g_smartcard_readers.num >= SMARTCARD_MAX_READERS) { + return -1; + } + state->reader_id = g_smartcard_readers.num; + g_smartcard_readers.sin[g_smartcard_readers.num++] = char_device; + smartcard_init(); + return 0; +} + +static SpiceCharDeviceInstance *smartcard_readers_get(uint32_t reader_id) +{ + spice_assert(reader_id < g_smartcard_readers.num); + return g_smartcard_readers.sin[reader_id]; +} + +/* TODO: fix implementation for multiple readers. Each reader should have a separated + * channel */ +static SpiceCharDeviceInstance *smartcard_readers_get_unattached(void) +{ + int i; + SmartCardDeviceState* state; + + for (i = 0; i < g_smartcard_readers.num; ++i) { + state = spice_char_device_state_opaque_get(g_smartcard_readers.sin[i]->st); + if (!state->scc) { + return g_smartcard_readers.sin[i]; + } + } + return NULL; +} + +static SmartCardDeviceState *smartcard_device_state_new(SpiceCharDeviceInstance *sin) +{ + SmartCardDeviceState *st; + SpiceCharDeviceCallbacks chardev_cbs = { NULL, }; + + chardev_cbs.read_one_msg_from_device = smartcard_read_msg_from_device; + chardev_cbs.ref_msg_to_client = smartcard_ref_msg_to_client; + chardev_cbs.unref_msg_to_client = smartcard_unref_msg_to_client; + chardev_cbs.send_msg_to_client = smartcard_send_msg_to_client; + chardev_cbs.send_tokens_to_client = smartcard_send_tokens_to_client; + chardev_cbs.remove_client = smartcard_remove_client; + + st = spice_new0(SmartCardDeviceState, 1); + st->chardev_st = spice_char_device_state_create(sin, + 0, /* tokens interval */ + ~0, /* self tokens */ + &chardev_cbs, + st); + st->reader_id = VSCARD_UNDEFINED_READER_ID; + st->reader_added = FALSE; + st->buf_size = APDUBufSize + sizeof(VSCMsgHeader); + st->buf = spice_malloc(st->buf_size); + st->buf_pos = st->buf; + st->buf_used = 0; + st->scc = NULL; + return st; +} + +static void smartcard_device_state_free(SmartCardDeviceState* st) +{ + if (st->scc) { + st->scc->smartcard_state = NULL; + } + free(st->buf); + spice_char_device_state_destroy(st->chardev_st); + free(st); +} + +void smartcard_device_disconnect(SpiceCharDeviceInstance *char_device) +{ + SmartCardDeviceState *st = spice_char_device_state_opaque_get(char_device->st); + + smartcard_device_state_free(st); +} + +SpiceCharDeviceState *smartcard_device_connect(SpiceCharDeviceInstance *char_device) +{ + SmartCardDeviceState *st; + + st = smartcard_device_state_new(char_device); + if (smartcard_char_device_add_to_readers(char_device) == -1) { + smartcard_device_state_free(st); + return NULL; + } + return st->chardev_st; +} + +static void smartcard_char_device_notify_reader_add(SmartCardDeviceState *st) +{ + SpiceCharDeviceWriteBuffer *write_buf; + VSCMsgHeader *vheader; + + write_buf = spice_char_device_write_buffer_get(st->chardev_st, NULL, sizeof(vheader)); + if (!write_buf) { + spice_error("failed to allocate write buffer"); + return; + } + st->reader_added = TRUE; + vheader = (VSCMsgHeader *)write_buf->buf; + vheader->type = VSC_ReaderAdd; + vheader->reader_id = st->reader_id; + vheader->length = 0; + smartcard_channel_write_to_reader(write_buf); +} + +static void smartcard_char_device_attach_client(SpiceCharDeviceInstance *char_device, + SmartCardChannelClient *scc) +{ + SmartCardDeviceState *st = spice_char_device_state_opaque_get(char_device->st); + int client_added; + + spice_assert(!scc->smartcard_state && !st->scc); + st->scc = scc; + scc->smartcard_state = st; + client_added = spice_char_device_client_add(st->chardev_st, + scc->base.client, + FALSE, /* no flow control yet */ + 0, /* send queue size */ + ~0, + ~0, + red_channel_client_waits_for_migrate_data( + &scc->base)); + if (!client_added) { + spice_warning("failed"); + st->scc = NULL; + scc->smartcard_state = NULL; + red_channel_client_disconnect(&scc->base); + } +} + +static void smartcard_char_device_notify_reader_remove(SmartCardDeviceState *st) +{ + SpiceCharDeviceWriteBuffer *write_buf; + VSCMsgHeader *vheader; + + if (!st->reader_added) { + spice_debug("reader add was never sent to the device"); + return; + } + write_buf = spice_char_device_write_buffer_get(st->chardev_st, NULL, sizeof(vheader)); + if (!write_buf) { + spice_error("failed to allocate write buffer"); + return; + } + st->reader_added = FALSE; + vheader = (VSCMsgHeader *)write_buf->buf; + vheader->type = VSC_ReaderRemove; + vheader->reader_id = st->reader_id; + vheader->length = 0; + smartcard_channel_write_to_reader(write_buf); +} + +static void smartcard_char_device_detach_client(SmartCardChannelClient *scc) +{ + SmartCardDeviceState *st; + + if (!scc->smartcard_state) { + return; + } + st = scc->smartcard_state; + spice_assert(st->scc == scc); + spice_char_device_client_remove(st->chardev_st, scc->base.client); + scc->smartcard_state = NULL; + st->scc = NULL; +} + +static int smartcard_channel_client_config_socket(RedChannelClient *rcc) +{ + return TRUE; +} + +static uint8_t *smartcard_channel_alloc_msg_rcv_buf(RedChannelClient *rcc, + uint16_t type, + uint32_t size) +{ + SmartCardChannelClient *scc = SPICE_CONTAINEROF(rcc, SmartCardChannelClient, base); + + /* todo: only one reader is actually supported. When we fix the code to support + * multiple readers, we will porbably associate different devices to + * differenc channels */ + if (!scc->smartcard_state) { + scc->msg_in_write_buf = FALSE; + return spice_malloc(size); + } else { + SmartCardDeviceState *st; + + spice_assert(g_smartcard_readers.num == 1); + st = scc->smartcard_state; + spice_assert(st->scc || scc->smartcard_state); + spice_assert(!scc->write_buf); + scc->write_buf = spice_char_device_write_buffer_get(st->chardev_st, rcc->client, size); + + if (!scc->write_buf) { + spice_error("failed to allocate write buffer"); + return NULL; + } + scc->msg_in_write_buf = TRUE; + return scc->write_buf->buf; + } +} + +static void smartcard_channel_release_msg_rcv_buf(RedChannelClient *rcc, + uint16_t type, + uint32_t size, + uint8_t *msg) +{ + SmartCardChannelClient *scc = SPICE_CONTAINEROF(rcc, SmartCardChannelClient, base); + + /* todo: only one reader is actually supported. When we fix the code to support + * multiple readers, we will porbably associate different devices to + * differenc channels */ + + if (!scc->msg_in_write_buf) { + spice_assert(!scc->write_buf); + free(msg); + } else { + SpiceCharDeviceState *dev_st; + if (scc->write_buf) { /* msg hasn't been pushed to the guest */ + spice_assert(scc->write_buf->buf == msg); + dev_st = scc->smartcard_state ? scc->smartcard_state->chardev_st : NULL; + spice_char_device_write_buffer_release(dev_st, scc->write_buf); + scc->write_buf = NULL; + } + } +} + +static void smartcard_channel_send_data(RedChannelClient *rcc, SpiceMarshaller *m, + PipeItem *item, VSCMsgHeader *vheader) +{ + spice_assert(rcc); + spice_assert(vheader); + red_channel_client_init_send_data(rcc, SPICE_MSG_SMARTCARD_DATA, item); + spice_marshaller_add_ref(m, (uint8_t*)vheader, sizeof(VSCMsgHeader)); + if (vheader->length > 0) { + spice_marshaller_add_ref(m, (uint8_t*)(vheader+1), vheader->length); + } +} + +static void smartcard_channel_send_error( + RedChannelClient *rcc, SpiceMarshaller *m, PipeItem *item) +{ + ErrorItem* error_item = (ErrorItem*)item; + + smartcard_channel_send_data(rcc, m, item, &error_item->vheader); +} + +static void smartcard_channel_send_msg(RedChannelClient *rcc, + SpiceMarshaller *m, PipeItem *item) +{ + MsgItem* msg_item = (MsgItem*)item; + + smartcard_channel_send_data(rcc, m, item, msg_item->vheader); +} + +static void smartcard_channel_send_migrate_data(RedChannelClient *rcc, + SpiceMarshaller *m, PipeItem *item) +{ + SmartCardChannelClient *scc; + SmartCardDeviceState *state; + SpiceMarshaller *m2; + + scc = SPICE_CONTAINEROF(rcc, SmartCardChannelClient, base); + state = scc->smartcard_state; + red_channel_client_init_send_data(rcc, SPICE_MSG_MIGRATE_DATA, item); + spice_marshaller_add_uint32(m, SPICE_MIGRATE_DATA_SMARTCARD_MAGIC); + spice_marshaller_add_uint32(m, SPICE_MIGRATE_DATA_SMARTCARD_VERSION); + + if (!state) { + spice_char_device_state_migrate_data_marshall_empty(m); + spice_marshaller_add_uint8(m, 0); + spice_marshaller_add_uint32(m, 0); + spice_marshaller_add_uint32(m, 0); + spice_debug("null char dev state"); + } else { + spice_char_device_state_migrate_data_marshall(state->chardev_st, m); + spice_marshaller_add_uint8(m, state->reader_added); + spice_marshaller_add_uint32(m, state->buf_used); + m2 = spice_marshaller_get_ptr_submarshaller(m, 0); + spice_marshaller_add(m2, state->buf, state->buf_used); + spice_debug("reader added %d partial read size %u", state->reader_added, state->buf_used); + } +} + +static void smartcard_channel_send_item(RedChannelClient *rcc, PipeItem *item) +{ + SpiceMarshaller *m = red_channel_client_get_marshaller(rcc); + + switch (item->type) { + case PIPE_ITEM_TYPE_ERROR: + smartcard_channel_send_error(rcc, m, item); + break; + case PIPE_ITEM_TYPE_SMARTCARD_DATA: + smartcard_channel_send_msg(rcc, m, item); + break; + case PIPE_ITEM_TYPE_SMARTCARD_MIGRATE_DATA: + smartcard_channel_send_migrate_data(rcc, m, item); + break; + default: + spice_error("bad pipe item %d", item->type); + free(item); + return; + } + red_channel_client_begin_send_message(rcc); +} + +static void smartcard_channel_release_pipe_item(RedChannelClient *rcc, + PipeItem *item, int item_pushed) +{ + if (item->type == PIPE_ITEM_TYPE_SMARTCARD_DATA) { + smartcard_unref_vsc_msg_item((MsgItem *)item); + } else { + free(item); + } +} + +static void smartcard_channel_on_disconnect(RedChannelClient *rcc) +{ + SmartCardChannelClient *scc = SPICE_CONTAINEROF(rcc, SmartCardChannelClient, base); + + if (scc->smartcard_state) { + SmartCardDeviceState *st = scc->smartcard_state; + + smartcard_char_device_detach_client(scc); + smartcard_char_device_notify_reader_remove(st); + } +} + +/* this is called from both device input and client input. since the device is + * a usb device, the context is still the main thread (kvm_main_loop, timers) + * so no mutex is required. */ +static void smartcard_channel_client_pipe_add_push(RedChannelClient *rcc, PipeItem *item) +{ + red_channel_client_pipe_add_push(rcc, item); +} + +static void smartcard_push_error(RedChannelClient *rcc, uint32_t reader_id, VSCErrorCode error) +{ + ErrorItem *error_item = spice_new0(ErrorItem, 1); + + red_channel_pipe_item_init(rcc->channel, &error_item->base, + PIPE_ITEM_TYPE_ERROR); + + error_item->base.type = PIPE_ITEM_TYPE_ERROR; + error_item->vheader.reader_id = reader_id; + error_item->vheader.type = VSC_Error; + error_item->vheader.length = sizeof(error_item->error); + error_item->error.code = error; + smartcard_channel_client_pipe_add_push(rcc, &error_item->base); +} + +static MsgItem *smartcard_get_vsc_msg_item(RedChannelClient *rcc, VSCMsgHeader *vheader) +{ + MsgItem *msg_item = spice_new0(MsgItem, 1); + + red_channel_pipe_item_init(rcc->channel, &msg_item->base, + PIPE_ITEM_TYPE_SMARTCARD_DATA); + msg_item->refs = 1; + msg_item->vheader = vheader; + return msg_item; +} + +static MsgItem *smartcard_ref_vsc_msg_item(MsgItem *item) +{ + item->refs++; + return item; +} + +static void smartcard_unref_vsc_msg_item(MsgItem *item) +{ + if (!--item->refs) { + free(item->vheader); + free(item); + } +} + +static void smartcard_remove_reader(SmartCardChannelClient *scc, uint32_t reader_id) +{ + SpiceCharDeviceInstance *char_device = smartcard_readers_get(reader_id); + SmartCardDeviceState *state; + + if (char_device == NULL) { + smartcard_push_error(&scc->base, reader_id, + VSC_GENERAL_ERROR); + return; + } + + state = spice_char_device_state_opaque_get(char_device->st); + if (state->reader_added == FALSE) { + smartcard_push_error(&scc->base, reader_id, + VSC_GENERAL_ERROR); + return; + } + spice_assert(scc->smartcard_state == state); + smartcard_char_device_notify_reader_remove(state); +} + +static void smartcard_add_reader(SmartCardChannelClient *scc, uint8_t *name) +{ + if (!scc->smartcard_state) { /* we already tried to attach a reader to the client + when it connected */ + SpiceCharDeviceInstance *char_device = smartcard_readers_get_unattached(); + + if (!char_device) { + smartcard_push_error(&scc->base, VSCARD_UNDEFINED_READER_ID, + VSC_CANNOT_ADD_MORE_READERS); + return; + } + smartcard_char_device_attach_client(char_device, scc); + } + smartcard_char_device_notify_reader_add(scc->smartcard_state); + // The device sends a VSC_Error message, we will let it through, no + // need to send our own. We already set the correct reader_id, from + // our SmartCardDeviceState. +} + +static void smartcard_channel_write_to_reader(SpiceCharDeviceWriteBuffer *write_buf) +{ + SpiceCharDeviceInstance *sin; + SmartCardDeviceState *st; + VSCMsgHeader *vheader; + uint32_t actual_length; + + vheader = (VSCMsgHeader *)write_buf->buf; + actual_length = vheader->length; + + spice_assert(vheader->reader_id <= g_smartcard_readers.num); + sin = g_smartcard_readers.sin[vheader->reader_id]; + st = (SmartCardDeviceState *)spice_char_device_state_opaque_get(sin->st); + spice_assert(!st->scc || st == st->scc->smartcard_state); + /* protocol requires messages to be in network endianess */ + vheader->type = htonl(vheader->type); + vheader->length = htonl(vheader->length); + vheader->reader_id = htonl(vheader->reader_id); + write_buf->buf_used = actual_length + sizeof(VSCMsgHeader); + /* pushing the buffer to the write queue; It will be released + * when it will be fully consumed by the device */ + spice_char_device_write_buffer_add(sin->st, write_buf); + if (st->scc && write_buf == st->scc->write_buf) { + st->scc->write_buf = NULL; + } +} + +static int smartcard_channel_client_handle_migrate_flush_mark(RedChannelClient *rcc) +{ + red_channel_client_pipe_add_type(rcc, PIPE_ITEM_TYPE_SMARTCARD_MIGRATE_DATA); + return TRUE; +} + +static void smartcard_device_state_restore_partial_read(SmartCardDeviceState *state, + SpiceMigrateDataSmartcard *mig_data) +{ + uint8_t *read_data; + + spice_debug("read_size %u", mig_data->read_size); + read_data = (uint8_t *)mig_data + mig_data->read_data_ptr - sizeof(SpiceMigrateDataHeader); + if (mig_data->read_size < sizeof(VSCMsgHeader)) { + spice_assert(state->buf_size >= mig_data->read_size); + } else { + smartcard_read_buf_prepare(state, (VSCMsgHeader *)read_data); + } + memcpy(state->buf, read_data, mig_data->read_size); + state->buf_used = mig_data->read_size; + state->buf_pos = state->buf + mig_data->read_size; +} + +static int smartcard_channel_client_handle_migrate_data(RedChannelClient *rcc, + uint32_t size, void *message) +{ + SmartCardChannelClient *scc; + SpiceMigrateDataHeader *header; + SpiceMigrateDataSmartcard *mig_data; + + scc = SPICE_CONTAINEROF(rcc, SmartCardChannelClient, base); + header = (SpiceMigrateDataHeader *)message; + mig_data = (SpiceMigrateDataSmartcard *)(header + 1); + if (size < sizeof(SpiceMigrateDataHeader) + sizeof(SpiceMigrateDataSmartcard)) { + spice_error("bad message size"); + return FALSE; + } + if (!migration_protocol_validate_header(header, + SPICE_MIGRATE_DATA_SMARTCARD_MAGIC, + SPICE_MIGRATE_DATA_SMARTCARD_VERSION)) { + spice_error("bad header"); + return FALSE; + } + + if (!mig_data->base.connected) { /* client wasn't attached to a smartcard */ + return TRUE; + } + + if (!scc->smartcard_state) { + SpiceCharDeviceInstance *char_device = smartcard_readers_get_unattached(); + + if (!char_device) { + spice_warning("no unattached device available"); + return TRUE; + } else { + smartcard_char_device_attach_client(char_device, scc); + } + } + spice_debug("reader added %d partial read_size %u", mig_data->reader_added, mig_data->read_size); + scc->smartcard_state->reader_added = mig_data->reader_added; + + smartcard_device_state_restore_partial_read(scc->smartcard_state, mig_data); + return spice_char_device_state_restore(scc->smartcard_state->chardev_st, &mig_data->base); +} + +static int smartcard_channel_handle_message(RedChannelClient *rcc, + uint16_t type, + uint32_t size, + uint8_t *msg) +{ + VSCMsgHeader* vheader = (VSCMsgHeader*)msg; + SmartCardChannelClient *scc = SPICE_CONTAINEROF(rcc, SmartCardChannelClient, base); + + if (type != SPICE_MSGC_SMARTCARD_DATA) { + /* Handles seamless migration protocol. Also handles ack's, + * spicy sends them while spicec does not */ + return red_channel_client_handle_message(rcc, size, type, msg); + } + + spice_assert(size == vheader->length + sizeof(VSCMsgHeader)); + switch (vheader->type) { + case VSC_ReaderAdd: + smartcard_add_reader(scc, msg + sizeof(VSCMsgHeader)); + return TRUE; + break; + case VSC_ReaderRemove: + smartcard_remove_reader(scc, vheader->reader_id); + return TRUE; + break; + case VSC_Init: + // ignore - we should never get this anyway + return TRUE; + break; + case VSC_Error: + case VSC_ATR: + case VSC_CardRemove: + case VSC_APDU: + break; // passed on to device + default: + printf("ERROR: unexpected message on smartcard channel\n"); + return TRUE; + } + + /* todo: fix */ + if (vheader->reader_id >= g_smartcard_readers.num) { + spice_printerr("ERROR: received message for non existing reader: %d, %d, %d", vheader->reader_id, + vheader->type, vheader->length); + return FALSE; + } + spice_assert(scc->write_buf->buf == msg); + smartcard_channel_write_to_reader(scc->write_buf); + + return TRUE; +} + +static void smartcard_channel_hold_pipe_item(RedChannelClient *rcc, PipeItem *item) +{ +} + +static void smartcard_connect_client(RedChannel *channel, RedClient *client, + RedsStream *stream, int migration, + int num_common_caps, uint32_t *common_caps, + int num_caps, uint32_t *caps) +{ + SpiceCharDeviceInstance *char_device = + smartcard_readers_get_unattached(); + + SmartCardChannelClient *scc; + + scc = (SmartCardChannelClient *)red_channel_client_create(sizeof(SmartCardChannelClient), + channel, + client, + stream, + num_common_caps, common_caps, + num_caps, caps); + + if (!scc) { + return; + } + red_channel_client_ack_zero_messages_window(&scc->base); + + if (char_device) { + smartcard_char_device_attach_client(char_device, scc); + } else { + spice_printerr("char dev unavailable"); + } +} + +SmartCardChannel *g_smartcard_channel; + +static void smartcard_init(void) +{ + ChannelCbs channel_cbs = { NULL, }; + ClientCbs client_cbs = { NULL, }; + uint32_t migration_flags = SPICE_MIGRATE_NEED_FLUSH | SPICE_MIGRATE_NEED_DATA_TRANSFER; + + spice_assert(!g_smartcard_channel); + + channel_cbs.config_socket = smartcard_channel_client_config_socket; + channel_cbs.on_disconnect = smartcard_channel_on_disconnect; + channel_cbs.send_item = smartcard_channel_send_item; + channel_cbs.hold_item = smartcard_channel_hold_pipe_item; + channel_cbs.release_item = smartcard_channel_release_pipe_item; + channel_cbs.alloc_recv_buf = smartcard_channel_alloc_msg_rcv_buf; + channel_cbs.release_recv_buf = smartcard_channel_release_msg_rcv_buf; + channel_cbs.handle_migrate_flush_mark = smartcard_channel_client_handle_migrate_flush_mark; + channel_cbs.handle_migrate_data = smartcard_channel_client_handle_migrate_data; + + g_smartcard_channel = (SmartCardChannel*)red_channel_create(sizeof(SmartCardChannel), + core, SPICE_CHANNEL_SMARTCARD, 0, + FALSE /* handle_acks */, + smartcard_channel_handle_message, + &channel_cbs, + migration_flags); + + if (!g_smartcard_channel) { + spice_error("failed to allocate Smartcard Channel"); + } + + client_cbs.connect = smartcard_connect_client; + red_channel_register_client_cbs(&g_smartcard_channel->base, &client_cbs); + + reds_register_channel(&g_smartcard_channel->base); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/smartcard.h b/tizen/distrib/remote/server/spice-0.12.2/server/smartcard.h new file mode 100644 index 0000000..221c777 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/smartcard.h @@ -0,0 +1,32 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifndef __SMART_CARD_H__ +#define __SMART_CARD_H__ + +#include "spice-experimental.h" + +// Maximal length of APDU +#define APDUBufSize 270 + +/* + * connect to smartcard interface, used by smartcard channel + */ +SpiceCharDeviceState *smartcard_device_connect(SpiceCharDeviceInstance *char_device); +void smartcard_device_disconnect(SpiceCharDeviceInstance *char_device); + +#endif // __SMART_CARD_H__ diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/snd_worker.c b/tizen/distrib/remote/server/spice-0.12.2/server/snd_worker.c new file mode 100644 index 0000000..bc7be51 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/snd_worker.c @@ -0,0 +1,1545 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <fcntl.h> +#include <errno.h> +#include <limits.h> +#include <sys/socket.h> +#include <netinet/ip.h> +#include <netinet/tcp.h> +#include <celt051/celt.h> + +#include "common/marshaller.h" +#include "common/generated_server_marshallers.h" + +#include "spice.h" +#include "red_common.h" +#include "main_channel.h" +#include "reds.h" +#include "red_dispatcher.h" +#include "snd_worker.h" +#include "demarshallers.h" + +#ifndef IOV_MAX +#define IOV_MAX 1024 +#endif + +#define RECIVE_BUF_SIZE (16 * 1024 * 2) + +#define FRAME_SIZE 256 +#define PLAYBACK_BUF_SIZE (FRAME_SIZE * 4) + +#define CELT_BIT_RATE (64 * 1024) +#define CELT_COMPRESSED_FRAME_BYTES (FRAME_SIZE * CELT_BIT_RATE / SPICE_INTERFACE_PLAYBACK_FREQ / 8) + +#define RECORD_SAMPLES_SIZE (RECIVE_BUF_SIZE >> 2) + +enum PlaybackeCommand { + SND_PLAYBACK_MIGRATE, + SND_PLAYBACK_MODE, + SND_PLAYBACK_CTRL, + SND_PLAYBACK_PCM, + SND_PLAYBACK_VOLUME, +}; + +enum RecordCommand { + SND_RECORD_MIGRATE, + SND_RECORD_CTRL, + SND_RECORD_VOLUME, +}; + +#define SND_PLAYBACK_MIGRATE_MASK (1 << SND_PLAYBACK_MIGRATE) +#define SND_PLAYBACK_MODE_MASK (1 << SND_PLAYBACK_MODE) +#define SND_PLAYBACK_CTRL_MASK (1 << SND_PLAYBACK_CTRL) +#define SND_PLAYBACK_PCM_MASK (1 << SND_PLAYBACK_PCM) +#define SND_PLAYBACK_VOLUME_MASK (1 << SND_PLAYBACK_VOLUME) + +#define SND_RECORD_MIGRATE_MASK (1 << SND_RECORD_MIGRATE) +#define SND_RECORD_CTRL_MASK (1 << SND_RECORD_CTRL) +#define SND_RECORD_VOLUME_MASK (1 << SND_RECORD_VOLUME) + +typedef struct SndChannel SndChannel; +typedef void (*snd_channel_send_messages_proc)(void *in_channel); +typedef int (*snd_channel_handle_message_proc)(SndChannel *channel, size_t size, uint32_t type, void *message); +typedef void (*snd_channel_on_message_done_proc)(SndChannel *channel); +typedef void (*snd_channel_cleanup_channel_proc)(SndChannel *channel); + +typedef struct SndWorker SndWorker; + +struct SndChannel { + RedsStream *stream; + SndWorker *worker; + spice_parse_channel_func_t parser; + int refs; + + RedChannelClient *channel_client; + + int active; + int client_active; + int blocked; + + uint32_t command; + uint32_t ack_generation; + uint32_t client_ack_generation; + uint32_t out_messages; + uint32_t ack_messages; + + struct { + uint64_t serial; + SpiceMarshaller *marshaller; + uint32_t size; + uint32_t pos; + } send_data; + + struct { + uint8_t buf[RECIVE_BUF_SIZE]; + uint8_t *message_start; + uint8_t *now; + uint8_t *end; + } recive_data; + + snd_channel_send_messages_proc send_messages; + snd_channel_handle_message_proc handle_message; + snd_channel_on_message_done_proc on_message_done; + snd_channel_cleanup_channel_proc cleanup; +}; + +typedef struct PlaybackChannel PlaybackChannel; + +typedef struct AudioFrame AudioFrame; +struct AudioFrame { + uint32_t time; + uint32_t samples[FRAME_SIZE]; + PlaybackChannel *channel; + AudioFrame *next; +}; + +struct PlaybackChannel { + SndChannel base; + AudioFrame frames[3]; + AudioFrame *free_frames; + AudioFrame *in_progress; + AudioFrame *pending_frame; + CELTMode *celt_mode; + CELTEncoder *celt_encoder; + uint32_t mode; + struct { + uint8_t celt_buf[CELT_COMPRESSED_FRAME_BYTES]; + } send_data; +}; + +struct SndWorker { + RedChannel *base_channel; + SndChannel *connection; + SndWorker *next; + int active; +}; + +typedef struct SpiceVolumeState { + uint8_t volume_nchannels; + uint16_t *volume; + int mute; +} SpiceVolumeState; + +struct SpicePlaybackState { + struct SndWorker worker; + SpicePlaybackInstance *sin; + SpiceVolumeState volume; +}; + +struct SpiceRecordState { + struct SndWorker worker; + SpiceRecordInstance *sin; + SpiceVolumeState volume; +}; + +typedef struct RecordChannel { + SndChannel base; + uint32_t samples[RECORD_SAMPLES_SIZE]; + uint32_t write_pos; + uint32_t read_pos; + uint32_t mode; + uint32_t mode_time; + uint32_t start_time; + CELTDecoder *celt_decoder; + CELTMode *celt_mode; + uint32_t celt_buf[FRAME_SIZE]; +} RecordChannel; + +static SndWorker *workers; +static uint32_t playback_compression = SPICE_AUDIO_DATA_MODE_CELT_0_5_1; + +static void snd_receive(void* data); + +static SndChannel *snd_channel_get(SndChannel *channel) +{ + channel->refs++; + return channel; +} + +static SndChannel *snd_channel_put(SndChannel *channel) +{ + if (!--channel->refs) { + free(channel); + spice_printerr("sound channel freed"); + return NULL; + } + return channel; +} + +static void snd_disconnect_channel(SndChannel *channel) +{ + SndWorker *worker; + + if (!channel) { + spice_debug("not connected"); + return; + } + spice_debug("%p", channel); + worker = channel->worker; + if (channel->stream) { + channel->cleanup(channel); + red_channel_client_disconnect(worker->connection->channel_client); + core->watch_remove(channel->stream->watch); + channel->stream->watch = NULL; + reds_stream_free(channel->stream); + channel->stream = NULL; + spice_marshaller_destroy(channel->send_data.marshaller); + } + snd_channel_put(channel); + worker->connection = NULL; +} + +static void snd_playback_free_frame(PlaybackChannel *playback_channel, AudioFrame *frame) +{ + frame->channel = playback_channel; + frame->next = playback_channel->free_frames; + playback_channel->free_frames = frame; +} + +static void snd_playback_on_message_done(SndChannel *channel) +{ + PlaybackChannel *playback_channel = (PlaybackChannel *)channel; + if (playback_channel->in_progress) { + snd_playback_free_frame(playback_channel, playback_channel->in_progress); + playback_channel->in_progress = NULL; + if (playback_channel->pending_frame) { + channel->command |= SND_PLAYBACK_PCM_MASK; + } + } +} + +static void snd_record_on_message_done(SndChannel *channel) +{ +} + +static int snd_send_data(SndChannel *channel) +{ + uint32_t n; + + if (!channel) { + return FALSE; + } + + if (!(n = channel->send_data.size - channel->send_data.pos)) { + return TRUE; + } + + for (;;) { + struct iovec vec[IOV_MAX]; + int vec_size; + + if (!n) { + channel->on_message_done(channel); + + if (channel->blocked) { + channel->blocked = FALSE; + core->watch_update_mask(channel->stream->watch, SPICE_WATCH_EVENT_READ); + } + break; + } + + vec_size = spice_marshaller_fill_iovec(channel->send_data.marshaller, + vec, IOV_MAX, channel->send_data.pos); + n = reds_stream_writev(channel->stream, vec, vec_size); + if (n == -1) { + switch (errno) { + case EAGAIN: + channel->blocked = TRUE; + core->watch_update_mask(channel->stream->watch, SPICE_WATCH_EVENT_READ | + SPICE_WATCH_EVENT_WRITE); + return FALSE; + case EINTR: + break; + case EPIPE: + snd_disconnect_channel(channel); + return FALSE; + default: + spice_printerr("%s", strerror(errno)); + snd_disconnect_channel(channel); + return FALSE; + } + } else { + channel->send_data.pos += n; + } + n = channel->send_data.size - channel->send_data.pos; + } + return TRUE; +} + +static int snd_record_handle_write(RecordChannel *record_channel, size_t size, void *message) +{ + SpiceMsgcRecordPacket *packet; + uint32_t write_pos; + uint32_t* data; + uint32_t len; + uint32_t now; + + if (!record_channel) { + return FALSE; + } + + packet = (SpiceMsgcRecordPacket *)message; + size = packet->data_size; + + if (record_channel->mode == SPICE_AUDIO_DATA_MODE_CELT_0_5_1) { + int celt_err = celt051_decode(record_channel->celt_decoder, packet->data, size, + (celt_int16_t *)record_channel->celt_buf); + if (celt_err != CELT_OK) { + spice_printerr("celt decode failed (%d)", celt_err); + return FALSE; + } + data = record_channel->celt_buf; + size = FRAME_SIZE; + } else if (record_channel->mode == SPICE_AUDIO_DATA_MODE_RAW) { + data = (uint32_t *)packet->data; + size = size >> 2; + size = MIN(size, RECORD_SAMPLES_SIZE); + } else { + return FALSE; + } + + write_pos = record_channel->write_pos % RECORD_SAMPLES_SIZE; + record_channel->write_pos += size; + len = RECORD_SAMPLES_SIZE - write_pos; + now = MIN(len, size); + size -= now; + memcpy(record_channel->samples + write_pos, data, now << 2); + + if (size) { + memcpy(record_channel->samples, data + now, size << 2); + } + + if (record_channel->write_pos - record_channel->read_pos > RECORD_SAMPLES_SIZE) { + record_channel->read_pos = record_channel->write_pos - RECORD_SAMPLES_SIZE; + } + return TRUE; +} + +static int snd_playback_handle_message(SndChannel *channel, size_t size, uint32_t type, void *message) +{ + if (!channel) { + return FALSE; + } + + switch (type) { + case SPICE_MSGC_DISCONNECTING: + break; + default: + spice_printerr("invalid message type %u", type); + return FALSE; + } + return TRUE; +} + +static int snd_record_handle_message(SndChannel *channel, size_t size, uint32_t type, void *message) +{ + RecordChannel *record_channel = (RecordChannel *)channel; + + if (!channel) { + return FALSE; + } + switch (type) { + case SPICE_MSGC_RECORD_DATA: + return snd_record_handle_write((RecordChannel *)channel, size, message); + case SPICE_MSGC_RECORD_MODE: { + SpiceMsgcRecordMode *mode = (SpiceMsgcRecordMode *)message; + record_channel->mode = mode->mode; + record_channel->mode_time = mode->time; + if (record_channel->mode != SPICE_AUDIO_DATA_MODE_CELT_0_5_1 && + record_channel->mode != SPICE_AUDIO_DATA_MODE_RAW) { + spice_printerr("unsupported mode"); + } + break; + } + case SPICE_MSGC_RECORD_START_MARK: { + SpiceMsgcRecordStartMark *mark = (SpiceMsgcRecordStartMark *)message; + record_channel->start_time = mark->time; + break; + } + case SPICE_MSGC_DISCONNECTING: + break; + default: + spice_printerr("invalid message type %u", type); + return FALSE; + } + return TRUE; +} + +static void snd_receive(void* data) +{ + SndChannel *channel = (SndChannel*)data; + SpiceDataHeaderOpaque *header; + + if (!channel) { + return; + } + + header = &channel->channel_client->incoming.header; + + for (;;) { + ssize_t n; + n = channel->recive_data.end - channel->recive_data.now; + spice_assert(n); + n = reds_stream_read(channel->stream, channel->recive_data.now, n); + if (n <= 0) { + if (n == 0) { + snd_disconnect_channel(channel); + return; + } + spice_assert(n == -1); + switch (errno) { + case EAGAIN: + return; + case EINTR: + break; + case EPIPE: + snd_disconnect_channel(channel); + return; + default: + spice_printerr("%s", strerror(errno)); + snd_disconnect_channel(channel); + return; + } + } else { + channel->recive_data.now += n; + for (;;) { + uint8_t *msg_start = channel->recive_data.message_start; + uint8_t *data = msg_start + header->header_size; + size_t parsed_size; + uint8_t *parsed; + message_destructor_t parsed_free; + + header->data = msg_start; + n = channel->recive_data.now - msg_start; + + if (n < header->header_size || + n < header->header_size + header->get_msg_size(header)) { + break; + } + parsed = channel->parser((void *)data, data + header->get_msg_size(header), + header->get_msg_type(header), + SPICE_VERSION_MINOR, &parsed_size, &parsed_free); + if (parsed == NULL) { + spice_printerr("failed to parse message type %d", header->get_msg_type(header)); + snd_disconnect_channel(channel); + return; + } + if (!channel->handle_message(channel, parsed_size, + header->get_msg_type(header), parsed)) { + free(parsed); + snd_disconnect_channel(channel); + return; + } + parsed_free(parsed); + channel->recive_data.message_start = msg_start + header->header_size + + header->get_msg_size(header); + } + if (channel->recive_data.now == channel->recive_data.message_start) { + channel->recive_data.now = channel->recive_data.buf; + channel->recive_data.message_start = channel->recive_data.buf; + } else if (channel->recive_data.now == channel->recive_data.end) { + memcpy(channel->recive_data.buf, channel->recive_data.message_start, n); + channel->recive_data.now = channel->recive_data.buf + n; + channel->recive_data.message_start = channel->recive_data.buf; + } + } + } +} + +static void snd_event(int fd, int event, void *data) +{ + SndChannel *channel = data; + + if (event & SPICE_WATCH_EVENT_READ) { + snd_receive(channel); + } + if (event & SPICE_WATCH_EVENT_WRITE) { + channel->send_messages(channel); + } +} + +static inline int snd_reset_send_data(SndChannel *channel, uint16_t verb) +{ + SpiceDataHeaderOpaque *header; + + if (!channel) { + return FALSE; + } + + header = &channel->channel_client->send_data.header; + spice_marshaller_reset(channel->send_data.marshaller); + header->data = spice_marshaller_reserve_space(channel->send_data.marshaller, + header->header_size); + spice_marshaller_set_base(channel->send_data.marshaller, + header->header_size); + channel->send_data.pos = 0; + header->set_msg_size(header, 0); + header->set_msg_type(header, verb); + channel->send_data.serial++; + if (!channel->channel_client->is_mini_header) { + header->set_msg_serial(header, channel->send_data.serial); + header->set_msg_sub_list(header, 0); + } + + return TRUE; +} + +static int snd_begin_send_message(SndChannel *channel) +{ + SpiceDataHeaderOpaque *header = &channel->channel_client->send_data.header; + + spice_marshaller_flush(channel->send_data.marshaller); + channel->send_data.size = spice_marshaller_get_total_size(channel->send_data.marshaller); + header->set_msg_size(header, channel->send_data.size - header->header_size); + return snd_send_data(channel); +} + +static int snd_channel_send_migrate(SndChannel *channel) +{ + SpiceMsgMigrate migrate; + + if (!snd_reset_send_data(channel, SPICE_MSG_MIGRATE)) { + return FALSE; + } + spice_debug(NULL); + migrate.flags = 0; + spice_marshall_msg_migrate(channel->send_data.marshaller, &migrate); + + return snd_begin_send_message(channel); +} + +static int snd_playback_send_migrate(PlaybackChannel *channel) +{ + return snd_channel_send_migrate(&channel->base); +} + +static int snd_send_volume(SndChannel *channel, SpiceVolumeState *st, int msg) +{ + SpiceMsgAudioVolume *vol; + uint8_t c; + + vol = alloca(sizeof (SpiceMsgAudioVolume) + + st->volume_nchannels * sizeof (uint16_t)); + if (!snd_reset_send_data(channel, msg)) { + return FALSE; + } + vol->nchannels = st->volume_nchannels; + for (c = 0; c < st->volume_nchannels; ++c) { + vol->volume[c] = st->volume[c]; + } + spice_marshall_SpiceMsgAudioVolume(channel->send_data.marshaller, vol); + + return snd_begin_send_message(channel); +} + +static int snd_playback_send_volume(PlaybackChannel *playback_channel) +{ + SndChannel *channel = &playback_channel->base; + SpicePlaybackState *st = SPICE_CONTAINEROF(channel->worker, SpicePlaybackState, worker); + + if (!red_channel_client_test_remote_cap(channel->channel_client, + SPICE_PLAYBACK_CAP_VOLUME)) { + return TRUE; + } + + return snd_send_volume(channel, &st->volume, SPICE_MSG_PLAYBACK_VOLUME); +} + +static int snd_send_mute(SndChannel *channel, SpiceVolumeState *st, int msg) +{ + SpiceMsgAudioMute mute; + + if (!snd_reset_send_data(channel, msg)) { + return FALSE; + } + mute.mute = st->mute; + spice_marshall_SpiceMsgAudioMute(channel->send_data.marshaller, &mute); + + return snd_begin_send_message(channel); +} + +static int snd_playback_send_mute(PlaybackChannel *playback_channel) +{ + SndChannel *channel = &playback_channel->base; + SpicePlaybackState *st = SPICE_CONTAINEROF(channel->worker, SpicePlaybackState, worker); + + if (!red_channel_client_test_remote_cap(channel->channel_client, + SPICE_PLAYBACK_CAP_VOLUME)) { + return TRUE; + } + + return snd_send_mute(channel, &st->volume, SPICE_MSG_PLAYBACK_MUTE); +} + +static int snd_playback_send_start(PlaybackChannel *playback_channel) +{ + SndChannel *channel = (SndChannel *)playback_channel; + SpiceMsgPlaybackStart start; + + if (!snd_reset_send_data(channel, SPICE_MSG_PLAYBACK_START)) { + return FALSE; + } + + start.channels = SPICE_INTERFACE_PLAYBACK_CHAN; + start.frequency = SPICE_INTERFACE_PLAYBACK_FREQ; + spice_assert(SPICE_INTERFACE_PLAYBACK_FMT == SPICE_INTERFACE_AUDIO_FMT_S16); + start.format = SPICE_AUDIO_FMT_S16; + start.time = reds_get_mm_time(); + spice_marshall_msg_playback_start(channel->send_data.marshaller, &start); + + return snd_begin_send_message(channel); +} + +static int snd_playback_send_stop(PlaybackChannel *playback_channel) +{ + SndChannel *channel = (SndChannel *)playback_channel; + + if (!snd_reset_send_data(channel, SPICE_MSG_PLAYBACK_STOP)) { + return FALSE; + } + + return snd_begin_send_message(channel); +} + +static int snd_playback_send_ctl(PlaybackChannel *playback_channel) +{ + SndChannel *channel = (SndChannel *)playback_channel; + + if ((channel->client_active = channel->active)) { + return snd_playback_send_start(playback_channel); + } else { + return snd_playback_send_stop(playback_channel); + } +} + +static int snd_record_send_start(RecordChannel *record_channel) +{ + SndChannel *channel = (SndChannel *)record_channel; + SpiceMsgRecordStart start; + + if (!snd_reset_send_data(channel, SPICE_MSG_RECORD_START)) { + return FALSE; + } + + start.channels = SPICE_INTERFACE_RECORD_CHAN; + start.frequency = SPICE_INTERFACE_RECORD_FREQ; + spice_assert(SPICE_INTERFACE_RECORD_FMT == SPICE_INTERFACE_AUDIO_FMT_S16); + start.format = SPICE_AUDIO_FMT_S16; + spice_marshall_msg_record_start(channel->send_data.marshaller, &start); + + return snd_begin_send_message(channel); +} + +static int snd_record_send_stop(RecordChannel *record_channel) +{ + SndChannel *channel = (SndChannel *)record_channel; + + if (!snd_reset_send_data(channel, SPICE_MSG_RECORD_STOP)) { + return FALSE; + } + + return snd_begin_send_message(channel); +} + +static int snd_record_send_ctl(RecordChannel *record_channel) +{ + SndChannel *channel = (SndChannel *)record_channel; + + if ((channel->client_active = channel->active)) { + return snd_record_send_start(record_channel); + } else { + return snd_record_send_stop(record_channel); + } +} + +static int snd_record_send_volume(RecordChannel *record_channel) +{ + SndChannel *channel = &record_channel->base; + SpiceRecordState *st = SPICE_CONTAINEROF(channel->worker, SpiceRecordState, worker); + + if (!red_channel_client_test_remote_cap(channel->channel_client, + SPICE_RECORD_CAP_VOLUME)) { + return TRUE; + } + + return snd_send_volume(channel, &st->volume, SPICE_MSG_RECORD_VOLUME); +} + +static int snd_record_send_mute(RecordChannel *record_channel) +{ + SndChannel *channel = &record_channel->base; + SpiceRecordState *st = SPICE_CONTAINEROF(channel->worker, SpiceRecordState, worker); + + if (!red_channel_client_test_remote_cap(channel->channel_client, + SPICE_RECORD_CAP_VOLUME)) { + return TRUE; + } + + return snd_send_mute(channel, &st->volume, SPICE_MSG_RECORD_MUTE); +} + +static int snd_record_send_migrate(RecordChannel *record_channel) +{ + /* No need for migration data: if recording has started before migration, + * the client receives RECORD_STOP from the src before the migration completion + * notification (when the vm is stopped). + * Afterwards, when the vm starts on the dest, the client receives RECORD_START. */ + return snd_channel_send_migrate(&record_channel->base); +} + +static int snd_playback_send_write(PlaybackChannel *playback_channel) +{ + SndChannel *channel = (SndChannel *)playback_channel; + AudioFrame *frame; + SpiceMsgPlaybackPacket msg; + + if (!snd_reset_send_data(channel, SPICE_MSG_PLAYBACK_DATA)) { + return FALSE; + } + + frame = playback_channel->in_progress; + msg.time = frame->time; + + spice_marshall_msg_playback_data(channel->send_data.marshaller, &msg); + + if (playback_channel->mode == SPICE_AUDIO_DATA_MODE_CELT_0_5_1) { + int n = celt051_encode(playback_channel->celt_encoder, (celt_int16_t *)frame->samples, NULL, + playback_channel->send_data.celt_buf, CELT_COMPRESSED_FRAME_BYTES); + if (n < 0) { + spice_printerr("celt encode failed"); + snd_disconnect_channel(channel); + return FALSE; + } + spice_marshaller_add_ref(channel->send_data.marshaller, + playback_channel->send_data.celt_buf, n); + } else { + spice_marshaller_add_ref(channel->send_data.marshaller, + (uint8_t *)frame->samples, sizeof(frame->samples)); + } + + return snd_begin_send_message(channel); +} + +static int playback_send_mode(PlaybackChannel *playback_channel) +{ + SndChannel *channel = (SndChannel *)playback_channel; + SpiceMsgPlaybackMode mode; + + if (!snd_reset_send_data(channel, SPICE_MSG_PLAYBACK_MODE)) { + return FALSE; + } + mode.time = reds_get_mm_time(); + mode.mode = playback_channel->mode; + spice_marshall_msg_playback_mode(channel->send_data.marshaller, &mode); + + return snd_begin_send_message(channel); +} + +static void snd_playback_send(void* data) +{ + PlaybackChannel *playback_channel = (PlaybackChannel*)data; + SndChannel *channel = (SndChannel*)playback_channel; + + if (!playback_channel || !snd_send_data(data)) { + return; + } + + while (channel->command) { + if (channel->command & SND_PLAYBACK_MODE_MASK) { + if (!playback_send_mode(playback_channel)) { + return; + } + channel->command &= ~SND_PLAYBACK_MODE_MASK; + } + if (channel->command & SND_PLAYBACK_PCM_MASK) { + spice_assert(!playback_channel->in_progress && playback_channel->pending_frame); + playback_channel->in_progress = playback_channel->pending_frame; + playback_channel->pending_frame = NULL; + channel->command &= ~SND_PLAYBACK_PCM_MASK; + if (!snd_playback_send_write(playback_channel)) { + spice_printerr("snd_send_playback_write failed"); + return; + } + } + if (channel->command & SND_PLAYBACK_CTRL_MASK) { + if (!snd_playback_send_ctl(playback_channel)) { + return; + } + channel->command &= ~SND_PLAYBACK_CTRL_MASK; + } + if (channel->command & SND_PLAYBACK_VOLUME_MASK) { + if (!snd_playback_send_volume(playback_channel) || + !snd_playback_send_mute(playback_channel)) { + return; + } + channel->command &= ~SND_PLAYBACK_VOLUME_MASK; + } + if (channel->command & SND_PLAYBACK_MIGRATE_MASK) { + if (!snd_playback_send_migrate(playback_channel)) { + return; + } + channel->command &= ~SND_PLAYBACK_MIGRATE_MASK; + } + } +} + +static void snd_record_send(void* data) +{ + RecordChannel *record_channel = (RecordChannel*)data; + SndChannel *channel = (SndChannel*)record_channel; + + if (!record_channel || !snd_send_data(data)) { + return; + } + + while (channel->command) { + if (channel->command & SND_RECORD_CTRL_MASK) { + if (!snd_record_send_ctl(record_channel)) { + return; + } + channel->command &= ~SND_RECORD_CTRL_MASK; + } + if (channel->command & SND_RECORD_VOLUME_MASK) { + if (!snd_record_send_volume(record_channel) || + !snd_record_send_mute(record_channel)) { + return; + } + channel->command &= ~SND_RECORD_VOLUME_MASK; + } + if (channel->command & SND_RECORD_MIGRATE_MASK) { + if (!snd_record_send_migrate(record_channel)) { + return; + } + channel->command &= ~SND_RECORD_MIGRATE_MASK; + } + } +} + +static SndChannel *__new_channel(SndWorker *worker, int size, uint32_t channel_id, + RedClient *client, + RedsStream *stream, + int migrate, + snd_channel_send_messages_proc send_messages, + snd_channel_handle_message_proc handle_message, + snd_channel_on_message_done_proc on_message_done, + snd_channel_cleanup_channel_proc cleanup, + uint32_t *common_caps, int num_common_caps, + uint32_t *caps, int num_caps) +{ + SndChannel *channel; + int delay_val; + int flags; +#ifdef SO_PRIORITY + int priority; +#endif + int tos; + MainChannelClient *mcc = red_client_get_main(client); + + if ((flags = fcntl(stream->socket, F_GETFL)) == -1) { + spice_printerr("accept failed, %s", strerror(errno)); + goto error1; + } + +#ifdef SO_PRIORITY + priority = 6; + if (setsockopt(stream->socket, SOL_SOCKET, SO_PRIORITY, (void*)&priority, + sizeof(priority)) == -1) { + if (errno != ENOTSUP) { + spice_printerr("setsockopt failed, %s", strerror(errno)); + } + } +#endif + + tos = IPTOS_LOWDELAY; + if (setsockopt(stream->socket, IPPROTO_IP, IP_TOS, (void*)&tos, sizeof(tos)) == -1) { + if (errno != ENOTSUP) { + spice_printerr("setsockopt failed, %s", strerror(errno)); + } + } + + delay_val = main_channel_client_is_low_bandwidth(mcc) ? 0 : 1; + if (setsockopt(stream->socket, IPPROTO_TCP, TCP_NODELAY, &delay_val, sizeof(delay_val)) == -1) { + if (errno != ENOTSUP) { + spice_printerr("setsockopt failed, %s", strerror(errno)); + } + } + + if (fcntl(stream->socket, F_SETFL, flags | O_NONBLOCK) == -1) { + spice_printerr("accept failed, %s", strerror(errno)); + goto error1; + } + + spice_assert(size >= sizeof(*channel)); + channel = spice_malloc0(size); + channel->refs = 1; + channel->parser = spice_get_client_channel_parser(channel_id, NULL); + channel->stream = stream; + channel->worker = worker; + channel->recive_data.message_start = channel->recive_data.buf; + channel->recive_data.now = channel->recive_data.buf; + channel->recive_data.end = channel->recive_data.buf + sizeof(channel->recive_data.buf); + channel->send_data.marshaller = spice_marshaller_new(); + + stream->watch = core->watch_add(stream->socket, SPICE_WATCH_EVENT_READ, + snd_event, channel); + if (stream->watch == NULL) { + spice_printerr("watch_add failed, %s", strerror(errno)); + goto error2; + } + + channel->send_messages = send_messages; + channel->handle_message = handle_message; + channel->on_message_done = on_message_done; + channel->cleanup = cleanup; + + channel->channel_client = red_channel_client_create_dummy(sizeof(RedChannelClient), + worker->base_channel, + client, + num_common_caps, common_caps, + num_caps, caps); + if (!channel->channel_client) { + goto error2; + } + return channel; + +error2: + free(channel); + +error1: + reds_stream_free(stream); + return NULL; +} + +static void snd_disconnect_channel_client(RedChannelClient *rcc) +{ + SndWorker *worker; + + spice_debug(NULL); + spice_assert(rcc->channel); + spice_assert(rcc->channel->data); + worker = (SndWorker *)rcc->channel->data; + + if (worker->connection) { + spice_assert(worker->connection->channel_client == rcc); + snd_disconnect_channel(worker->connection); + } +} + +static void snd_set_command(SndChannel *channel, uint32_t command) +{ + if (!channel) { + return; + } + channel->command |= command; +} + +SPICE_GNUC_VISIBLE void spice_server_playback_set_volume(SpicePlaybackInstance *sin, + uint8_t nchannels, + uint16_t *volume) +{ + SpiceVolumeState *st = &sin->st->volume; + SndChannel *channel = sin->st->worker.connection; + PlaybackChannel *playback_channel = SPICE_CONTAINEROF(channel, PlaybackChannel, base); + + st->volume_nchannels = nchannels; + free(st->volume); + st->volume = spice_memdup(volume, sizeof(uint16_t) * nchannels); + + if (!channel) + return; + + snd_playback_send_volume(playback_channel); +} + +SPICE_GNUC_VISIBLE void spice_server_playback_set_mute(SpicePlaybackInstance *sin, uint8_t mute) +{ + SpiceVolumeState *st = &sin->st->volume; + SndChannel *channel = sin->st->worker.connection; + PlaybackChannel *playback_channel = SPICE_CONTAINEROF(channel, PlaybackChannel, base); + + st->mute = mute; + + if (!channel) + return; + + snd_playback_send_mute(playback_channel); +} + +SPICE_GNUC_VISIBLE void spice_server_playback_start(SpicePlaybackInstance *sin) +{ + SndChannel *channel = sin->st->worker.connection; + PlaybackChannel *playback_channel = SPICE_CONTAINEROF(channel, PlaybackChannel, base); + + sin->st->worker.active = 1; + if (!channel) + return; + spice_assert(!playback_channel->base.active); + reds_disable_mm_timer(); + playback_channel->base.active = TRUE; + if (!playback_channel->base.client_active) { + snd_set_command(&playback_channel->base, SND_PLAYBACK_CTRL_MASK); + snd_playback_send(&playback_channel->base); + } else { + playback_channel->base.command &= ~SND_PLAYBACK_CTRL_MASK; + } +} + +SPICE_GNUC_VISIBLE void spice_server_playback_stop(SpicePlaybackInstance *sin) +{ + SndChannel *channel = sin->st->worker.connection; + PlaybackChannel *playback_channel = SPICE_CONTAINEROF(channel, PlaybackChannel, base); + + sin->st->worker.active = 0; + if (!channel) + return; + spice_assert(playback_channel->base.active); + reds_enable_mm_timer(); + playback_channel->base.active = FALSE; + if (playback_channel->base.client_active) { + snd_set_command(&playback_channel->base, SND_PLAYBACK_CTRL_MASK); + snd_playback_send(&playback_channel->base); + } else { + playback_channel->base.command &= ~SND_PLAYBACK_CTRL_MASK; + playback_channel->base.command &= ~SND_PLAYBACK_PCM_MASK; + + if (playback_channel->pending_frame) { + spice_assert(!playback_channel->in_progress); + snd_playback_free_frame(playback_channel, + playback_channel->pending_frame); + playback_channel->pending_frame = NULL; + } + } +} + +SPICE_GNUC_VISIBLE void spice_server_playback_get_buffer(SpicePlaybackInstance *sin, + uint32_t **frame, uint32_t *num_samples) +{ + SndChannel *channel = sin->st->worker.connection; + PlaybackChannel *playback_channel = SPICE_CONTAINEROF(channel, PlaybackChannel, base); + + if (!channel || !playback_channel->free_frames) { + *frame = NULL; + *num_samples = 0; + return; + } + spice_assert(playback_channel->base.active); + snd_channel_get(channel); + + *frame = playback_channel->free_frames->samples; + playback_channel->free_frames = playback_channel->free_frames->next; + *num_samples = FRAME_SIZE; +} + +SPICE_GNUC_VISIBLE void spice_server_playback_put_samples(SpicePlaybackInstance *sin, uint32_t *samples) +{ + PlaybackChannel *playback_channel; + AudioFrame *frame; + + if (!sin->st->worker.connection) { + return; + } + + frame = SPICE_CONTAINEROF(samples, AudioFrame, samples); + playback_channel = frame->channel; + if (!snd_channel_put(&playback_channel->base) || !playback_channel->base.worker->connection) { + /* lost last reference, channel has been destroyed previously */ + return; + } + spice_assert(playback_channel->base.active); + + if (playback_channel->pending_frame) { + snd_playback_free_frame(playback_channel, playback_channel->pending_frame); + } + frame->time = reds_get_mm_time(); + red_dispatcher_set_mm_time(frame->time); + playback_channel->pending_frame = frame; + snd_set_command(&playback_channel->base, SND_PLAYBACK_PCM_MASK); + snd_playback_send(&playback_channel->base); +} + +static void on_new_playback_channel(SndWorker *worker) +{ + PlaybackChannel *playback_channel = + SPICE_CONTAINEROF(worker->connection, PlaybackChannel, base); + + spice_assert(playback_channel); + + snd_set_command((SndChannel *)playback_channel, SND_PLAYBACK_MODE_MASK); + if (playback_channel->base.active) { + snd_set_command((SndChannel *)playback_channel, SND_PLAYBACK_CTRL_MASK); + } + snd_set_command((SndChannel *)playback_channel, SND_PLAYBACK_VOLUME_MASK); + if (playback_channel->base.active) { + reds_disable_mm_timer(); + } +} + +static void snd_playback_cleanup(SndChannel *channel) +{ + PlaybackChannel *playback_channel = SPICE_CONTAINEROF(channel, PlaybackChannel, base); + + if (playback_channel->base.active) { + reds_enable_mm_timer(); + } + + celt051_encoder_destroy(playback_channel->celt_encoder); + celt051_mode_destroy(playback_channel->celt_mode); +} + +static void snd_set_playback_peer(RedChannel *channel, RedClient *client, RedsStream *stream, + int migration, int num_common_caps, uint32_t *common_caps, + int num_caps, uint32_t *caps) +{ + SndWorker *worker = channel->data; + PlaybackChannel *playback_channel; + SpicePlaybackState *st = SPICE_CONTAINEROF(worker, SpicePlaybackState, worker); + CELTEncoder *celt_encoder; + CELTMode *celt_mode; + int celt_error; + RedChannelClient *rcc; + + snd_disconnect_channel(worker->connection); + + if (!(celt_mode = celt051_mode_create(SPICE_INTERFACE_PLAYBACK_FREQ, + SPICE_INTERFACE_PLAYBACK_CHAN, + FRAME_SIZE, &celt_error))) { + spice_printerr("create celt mode failed %d", celt_error); + return; + } + + if (!(celt_encoder = celt051_encoder_create(celt_mode))) { + spice_printerr("create celt encoder failed"); + goto error_1; + } + + if (!(playback_channel = (PlaybackChannel *)__new_channel(worker, + sizeof(*playback_channel), + SPICE_CHANNEL_PLAYBACK, + client, + stream, + migration, + snd_playback_send, + snd_playback_handle_message, + snd_playback_on_message_done, + snd_playback_cleanup, + common_caps, num_common_caps, + caps, num_caps))) { + goto error_2; + } + worker->connection = &playback_channel->base; + rcc = playback_channel->base.channel_client; + snd_playback_free_frame(playback_channel, &playback_channel->frames[0]); + snd_playback_free_frame(playback_channel, &playback_channel->frames[1]); + snd_playback_free_frame(playback_channel, &playback_channel->frames[2]); + + playback_channel->celt_mode = celt_mode; + playback_channel->celt_encoder = celt_encoder; + playback_channel->mode = red_channel_client_test_remote_cap(rcc, + SPICE_PLAYBACK_CAP_CELT_0_5_1) ? + playback_compression : SPICE_AUDIO_DATA_MODE_RAW; + + on_new_playback_channel(worker); + if (worker->active) { + spice_server_playback_start(st->sin); + } + snd_playback_send(worker->connection); + return; + +error_2: + celt051_encoder_destroy(celt_encoder); + +error_1: + celt051_mode_destroy(celt_mode); +} + +static void snd_record_migrate_channel_client(RedChannelClient *rcc) +{ + SndWorker *worker; + + spice_debug(NULL); + spice_assert(rcc->channel); + spice_assert(rcc->channel->data); + worker = (SndWorker *)rcc->channel->data; + + if (worker->connection) { + spice_assert(worker->connection->channel_client == rcc); + snd_set_command(worker->connection, SND_RECORD_MIGRATE_MASK); + snd_record_send(worker->connection); + } +} + +SPICE_GNUC_VISIBLE void spice_server_record_set_volume(SpiceRecordInstance *sin, + uint8_t nchannels, + uint16_t *volume) +{ + SpiceVolumeState *st = &sin->st->volume; + SndChannel *channel = sin->st->worker.connection; + RecordChannel *record_channel = SPICE_CONTAINEROF(channel, RecordChannel, base); + + st->volume_nchannels = nchannels; + free(st->volume); + st->volume = spice_memdup(volume, sizeof(uint16_t) * nchannels); + + if (!channel) + return; + + snd_record_send_volume(record_channel); +} + +SPICE_GNUC_VISIBLE void spice_server_record_set_mute(SpiceRecordInstance *sin, uint8_t mute) +{ + SpiceVolumeState *st = &sin->st->volume; + SndChannel *channel = sin->st->worker.connection; + RecordChannel *record_channel = SPICE_CONTAINEROF(channel, RecordChannel, base); + + st->mute = mute; + + if (!channel) + return; + + snd_record_send_mute(record_channel); +} + +SPICE_GNUC_VISIBLE void spice_server_record_start(SpiceRecordInstance *sin) +{ + SndChannel *channel = sin->st->worker.connection; + RecordChannel *record_channel = SPICE_CONTAINEROF(channel, RecordChannel, base); + + sin->st->worker.active = 1; + if (!channel) + return; + spice_assert(!record_channel->base.active); + record_channel->base.active = TRUE; + record_channel->read_pos = record_channel->write_pos = 0; //todo: improve by + //stream generation + if (!record_channel->base.client_active) { + snd_set_command(&record_channel->base, SND_RECORD_CTRL_MASK); + snd_record_send(&record_channel->base); + } else { + record_channel->base.command &= ~SND_RECORD_CTRL_MASK; + } +} + +SPICE_GNUC_VISIBLE void spice_server_record_stop(SpiceRecordInstance *sin) +{ + SndChannel *channel = sin->st->worker.connection; + RecordChannel *record_channel = SPICE_CONTAINEROF(channel, RecordChannel, base); + + sin->st->worker.active = 0; + if (!channel) + return; + spice_assert(record_channel->base.active); + record_channel->base.active = FALSE; + if (record_channel->base.client_active) { + snd_set_command(&record_channel->base, SND_RECORD_CTRL_MASK); + snd_record_send(&record_channel->base); + } else { + record_channel->base.command &= ~SND_RECORD_CTRL_MASK; + } +} + +SPICE_GNUC_VISIBLE uint32_t spice_server_record_get_samples(SpiceRecordInstance *sin, + uint32_t *samples, uint32_t bufsize) +{ + SndChannel *channel = sin->st->worker.connection; + RecordChannel *record_channel = SPICE_CONTAINEROF(channel, RecordChannel, base); + uint32_t read_pos; + uint32_t now; + uint32_t len; + + if (!channel) + return 0; + spice_assert(record_channel->base.active); + + if (record_channel->write_pos < RECORD_SAMPLES_SIZE / 2) { + return 0; + } + + len = MIN(record_channel->write_pos - record_channel->read_pos, bufsize); + + if (len < bufsize) { + SndWorker *worker = record_channel->base.worker; + snd_receive(record_channel); + if (!worker->connection) { + return 0; + } + len = MIN(record_channel->write_pos - record_channel->read_pos, bufsize); + } + + read_pos = record_channel->read_pos % RECORD_SAMPLES_SIZE; + record_channel->read_pos += len; + now = MIN(len, RECORD_SAMPLES_SIZE - read_pos); + memcpy(samples, &record_channel->samples[read_pos], now * 4); + if (now < len) { + memcpy(samples + now, record_channel->samples, (len - now) * 4); + } + return len; +} + +static void on_new_record_channel(SndWorker *worker) +{ + RecordChannel *record_channel = (RecordChannel *)worker->connection; + spice_assert(record_channel); + + snd_set_command((SndChannel *)record_channel, SND_RECORD_VOLUME_MASK); + if (record_channel->base.active) { + snd_set_command((SndChannel *)record_channel, SND_RECORD_CTRL_MASK); + } +} + +static void snd_record_cleanup(SndChannel *channel) +{ + RecordChannel *record_channel = SPICE_CONTAINEROF(channel, RecordChannel, base); + + celt051_decoder_destroy(record_channel->celt_decoder); + celt051_mode_destroy(record_channel->celt_mode); +} + +static void snd_set_record_peer(RedChannel *channel, RedClient *client, RedsStream *stream, + int migration, int num_common_caps, uint32_t *common_caps, + int num_caps, uint32_t *caps) +{ + SndWorker *worker = channel->data; + RecordChannel *record_channel; + SpiceRecordState *st = SPICE_CONTAINEROF(worker, SpiceRecordState, worker); + CELTDecoder *celt_decoder; + CELTMode *celt_mode; + int celt_error; + + snd_disconnect_channel(worker->connection); + + if (!(celt_mode = celt051_mode_create(SPICE_INTERFACE_RECORD_FREQ, + SPICE_INTERFACE_RECORD_CHAN, + FRAME_SIZE, &celt_error))) { + spice_printerr("create celt mode failed %d", celt_error); + return; + } + + if (!(celt_decoder = celt051_decoder_create(celt_mode))) { + spice_printerr("create celt decoder failed"); + goto error_1; + } + + if (!(record_channel = (RecordChannel *)__new_channel(worker, + sizeof(*record_channel), + SPICE_CHANNEL_RECORD, + client, + stream, + migration, + snd_record_send, + snd_record_handle_message, + snd_record_on_message_done, + snd_record_cleanup, + common_caps, num_common_caps, + caps, num_caps))) { + goto error_2; + } + + worker->connection = &record_channel->base; + + record_channel->celt_mode = celt_mode; + record_channel->celt_decoder = celt_decoder; + + on_new_record_channel(worker); + if (worker->active) { + spice_server_record_start(st->sin); + } + snd_record_send(worker->connection); + return; + +error_2: + celt051_decoder_destroy(celt_decoder); + +error_1: + celt051_mode_destroy(celt_mode); +} + +static void snd_playback_migrate_channel_client(RedChannelClient *rcc) +{ + SndWorker *worker; + + spice_assert(rcc->channel); + spice_assert(rcc->channel->data); + worker = (SndWorker *)rcc->channel->data; + spice_debug(NULL); + + if (worker->connection) { + spice_assert(worker->connection->channel_client == rcc); + snd_set_command(worker->connection, SND_PLAYBACK_MIGRATE_MASK); + snd_playback_send(worker->connection); + } +} + +static void add_worker(SndWorker *worker) +{ + worker->next = workers; + workers = worker; +} + +static void remove_worker(SndWorker *worker) +{ + SndWorker **now = &workers; + while (*now) { + if (*now == worker) { + *now = worker->next; + return; + } + now = &(*now)->next; + } + spice_printerr("not found"); +} + +void snd_attach_playback(SpicePlaybackInstance *sin) +{ + SndWorker *playback_worker; + RedChannel *channel; + ClientCbs client_cbs = { NULL, }; + + sin->st = spice_new0(SpicePlaybackState, 1); + sin->st->sin = sin; + playback_worker = &sin->st->worker; + + // TODO: Make RedChannel base of worker? instead of assigning it to channel->data + channel = red_channel_create_dummy(sizeof(RedChannel), SPICE_CHANNEL_PLAYBACK, 0); + + channel->data = playback_worker; + client_cbs.connect = snd_set_playback_peer; + client_cbs.disconnect = snd_disconnect_channel_client; + client_cbs.migrate = snd_playback_migrate_channel_client; + red_channel_register_client_cbs(channel, &client_cbs); + red_channel_set_data(channel, playback_worker); + red_channel_set_cap(channel, SPICE_PLAYBACK_CAP_CELT_0_5_1); + red_channel_set_cap(channel, SPICE_PLAYBACK_CAP_VOLUME); + + playback_worker->base_channel = channel; + add_worker(playback_worker); + reds_register_channel(playback_worker->base_channel); +} + +void snd_attach_record(SpiceRecordInstance *sin) +{ + SndWorker *record_worker; + RedChannel *channel; + ClientCbs client_cbs = { NULL, }; + + sin->st = spice_new0(SpiceRecordState, 1); + sin->st->sin = sin; + record_worker = &sin->st->worker; + + // TODO: Make RedChannel base of worker? instead of assigning it to channel->data + channel = red_channel_create_dummy(sizeof(RedChannel), SPICE_CHANNEL_RECORD, 0); + + channel->data = record_worker; + client_cbs.connect = snd_set_record_peer; + client_cbs.disconnect = snd_disconnect_channel_client; + client_cbs.migrate = snd_record_migrate_channel_client; + red_channel_register_client_cbs(channel, &client_cbs); + red_channel_set_data(channel, record_worker); + red_channel_set_cap(channel, SPICE_RECORD_CAP_CELT_0_5_1); + red_channel_set_cap(channel, SPICE_RECORD_CAP_VOLUME); + + record_worker->base_channel = channel; + add_worker(record_worker); + reds_register_channel(record_worker->base_channel); +} + +static void snd_detach_common(SndWorker *worker) +{ + if (!worker) { + return; + } + remove_worker(worker); + snd_disconnect_channel(worker->connection); + reds_unregister_channel(worker->base_channel); + red_channel_destroy(worker->base_channel); +} + +static void spice_playback_state_free(SpicePlaybackState *st) +{ + free(st->volume.volume); + free(st); +} + +void snd_detach_playback(SpicePlaybackInstance *sin) +{ + snd_detach_common(&sin->st->worker); + spice_playback_state_free(sin->st); +} + +static void spice_record_state_free(SpiceRecordState *st) +{ + free(st->volume.volume); + free(st); +} + +void snd_detach_record(SpiceRecordInstance *sin) +{ + snd_detach_common(&sin->st->worker); + spice_record_state_free(sin->st); +} + +void snd_set_playback_compression(int on) +{ + SndWorker *now = workers; + + playback_compression = on ? SPICE_AUDIO_DATA_MODE_CELT_0_5_1 : SPICE_AUDIO_DATA_MODE_RAW; + for (; now; now = now->next) { + if (now->base_channel->type == SPICE_CHANNEL_PLAYBACK && now->connection) { + SndChannel* sndchannel = now->connection; + PlaybackChannel* playback = (PlaybackChannel*)now->connection; + if (!red_channel_client_test_remote_cap(sndchannel->channel_client, + SPICE_PLAYBACK_CAP_CELT_0_5_1)) { + spice_assert(playback->mode == SPICE_AUDIO_DATA_MODE_RAW); + continue; + } + if (playback->mode != playback_compression) { + playback->mode = playback_compression; + snd_set_command(now->connection, SND_PLAYBACK_MODE_MASK); + } + } + } +} + +int snd_get_playback_compression(void) +{ + return (playback_compression == SPICE_AUDIO_DATA_MODE_RAW) ? FALSE : TRUE; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/snd_worker.h b/tizen/distrib/remote/server/spice-0.12.2/server/snd_worker.h new file mode 100644 index 0000000..1811a61 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/snd_worker.h @@ -0,0 +1,32 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_SND_WORKER +#define _H_SND_WORKER + +#include "spice.h" + +void snd_attach_playback(SpicePlaybackInstance *sin); +void snd_detach_playback(SpicePlaybackInstance *sin); + +void snd_attach_record(SpiceRecordInstance *sin); +void snd_detach_record(SpiceRecordInstance *sin); + +void snd_set_playback_compression(int on); +int snd_get_playback_compression(void); + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/spice-experimental.h b/tizen/distrib/remote/server/spice-0.12.2/server/spice-experimental.h new file mode 100644 index 0000000..f16d555 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/spice-experimental.h @@ -0,0 +1,40 @@ +#ifndef __SPICE_EXPERIMENTAL_H__ +#define __SPICE_EXPERIMENTAL_H__ + +#include "spice.h" + +/* tunnel interface */ + +#define SPICE_INTERFACE_NET_WIRE "net_wire" +#define SPICE_INTERFACE_NET_WIRE_MAJOR 1 +#define SPICE_INTERFACE_NET_WIRE_MINOR 1 +typedef struct SpiceNetWireInterface SpiceNetWireInterface; +typedef struct SpiceNetWireInstance SpiceNetWireInstance; +typedef struct SpiceNetWireState SpiceNetWireState; + +struct SpiceNetWireInterface { + SpiceBaseInterface base; + + struct in_addr (*get_ip)(SpiceNetWireInstance *sin); + int (*can_send_packet)(SpiceNetWireInstance *sin); + void (*send_packet)(SpiceNetWireInstance *sin, const uint8_t *pkt, int len); +}; + +struct SpiceNetWireInstance { + SpiceBaseInstance base; + SpiceNetWireState *st; +}; + +void spice_server_net_wire_recv_packet(SpiceNetWireInstance *sin, + const uint8_t *pkt, int len); + +/* spice seamless client migration (broken) */ +enum { + SPICE_MIGRATE_CLIENT_NONE = 1, + SPICE_MIGRATE_CLIENT_WAITING, + SPICE_MIGRATE_CLIENT_READY, +}; + +int spice_server_migrate_client_state(SpiceServer *s); + +#endif // __SPICE_EXPERIMENTAL_H__ diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/spice-server.syms b/tizen/distrib/remote/server/spice-0.12.2/server/spice-server.syms new file mode 100644 index 0000000..2091fe0 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/spice-server.syms @@ -0,0 +1,137 @@ +SPICE_SERVER_0.6.0 { +global: + spice_server_add_interface; + spice_server_add_renderer; + spice_server_char_device_recognized_subtypes; + spice_server_char_device_wakeup; + spice_server_destroy; + spice_server_get_image_compression; + spice_server_get_peer_info; + spice_server_get_sock_info; + spice_server_init; + spice_server_kbd_leds; + spice_server_migrate_client_state; + spice_server_migrate_end; + spice_server_migrate_info; + spice_server_migrate_start; + spice_server_new; + spice_server_playback_get_buffer; + spice_server_playback_put_samples; + spice_server_playback_start; + spice_server_playback_stop; + spice_server_record_get_samples; + spice_server_record_start; + spice_server_record_stop; + spice_server_remove_interface; + spice_server_set_addr; + spice_server_set_agent_mouse; + spice_server_set_channel_security; + spice_server_set_image_compression; + spice_server_set_jpeg_compression; + spice_server_set_noauth; + spice_server_set_playback_compression; + spice_server_set_port; + spice_server_set_streaming_video; + spice_server_set_ticket; + spice_server_set_tls; + spice_server_set_zlib_glz_compression; +local: *; +}; + +SPICE_SERVER_0.6.1 { +global: + spice_get_current_compat_version; + spice_server_set_compat_version; +} SPICE_SERVER_0.6.0; + +SPICE_SERVER_0.8.0 { +global: + spice_server_migrate_switch; +} SPICE_SERVER_0.6.1; + +SPICE_SERVER_0.8.1 { +global: + spice_server_set_agent_copypaste; +} SPICE_SERVER_0.8.0; + +SPICE_SERVER_0.8.2 { +global: + spice_server_set_sasl; + spice_server_set_sasl_appname; + spice_qxl_wakeup; + spice_qxl_oom; + spice_qxl_start; + spice_qxl_stop; + spice_qxl_update_area; + spice_qxl_add_memslot; + spice_qxl_del_memslot; + spice_qxl_reset_memslots; + spice_qxl_destroy_surfaces; + spice_qxl_destroy_primary_surface; + spice_qxl_create_primary_surface; + spice_qxl_reset_image_cache; + spice_qxl_reset_cursor; + spice_qxl_destroy_surface_wait; + spice_qxl_loadvm_commands; + spice_qxl_update_area_async; + spice_qxl_add_memslot_async; + spice_qxl_destroy_surfaces_async; + spice_qxl_destroy_primary_surface_async; + spice_qxl_create_primary_surface_async; + spice_qxl_destroy_surface_async; + spice_qxl_flush_surfaces_async; +} SPICE_SERVER_0.8.1; + +SPICE_SERVER_0.8.3 { +global: + spice_server_migrate_connect; +} SPICE_SERVER_0.8.2; + +SPICE_SERVER_0.10.0 { +global: + spice_server_playback_set_mute; + spice_server_playback_set_volume; + spice_server_record_set_mute; + spice_server_record_set_volume; + spice_server_get_num_clients; +} SPICE_SERVER_0.8.3; + +SPICE_SERVER_0.10.1 { +global: + spice_server_add_client; + spice_server_add_ssl_client; +} SPICE_SERVER_0.10.0; + +SPICE_SERVER_0.10.2 { +global: + spice_server_set_name; + spice_server_set_uuid; + spice_server_set_listen_socket_fd; +} SPICE_SERVER_0.10.1; + +SPICE_SERVER_0.10.3 { +global: + spice_server_is_server_mouse; +} SPICE_SERVER_0.10.2; + +SPICE_SERVER_0.10.4 { +global: + spice_qxl_monitors_config_async; +} SPICE_SERVER_0.10.3; + +SPICE_SERVER_0.11.2 { +global: + spice_server_vm_start; + spice_server_vm_stop; + spice_server_set_seamless_migration; +} SPICE_SERVER_0.10.4; + +SPICE_SERVER_0.11.4 { +global: + spice_server_set_exit_on_disconnect; +} SPICE_SERVER_0.11.2; + +SPICE_SERVER_0.12.2 { +global: + spice_server_port_event; +} SPICE_SERVER_0.11.4; diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/spice.h b/tizen/distrib/remote/server/spice-0.12.2/server/spice.h new file mode 100644 index 0000000..1ebbc56 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/spice.h @@ -0,0 +1,653 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_SPICE +#define _H_SPICE + +#include <stdint.h> +#include <sys/socket.h> +#include <spice/qxl_dev.h> +#include <spice/vd_agent.h> + +#define SPICE_SERVER_VERSION 0x000c02 /* release 0.12.2 */ + +/* interface base type */ + +typedef struct SpiceBaseInterface SpiceBaseInterface; +typedef struct SpiceBaseInstance SpiceBaseInstance; + +struct SpiceBaseInterface { + const char *type; + const char *description; + uint32_t major_version; + uint32_t minor_version; +}; +struct SpiceBaseInstance { + const SpiceBaseInterface *sif; +}; + +/* core interface */ + +#define SPICE_INTERFACE_CORE "core" +#define SPICE_INTERFACE_CORE_MAJOR 1 +#define SPICE_INTERFACE_CORE_MINOR 3 +typedef struct SpiceCoreInterface SpiceCoreInterface; + +#define SPICE_WATCH_EVENT_READ (1 << 0) +#define SPICE_WATCH_EVENT_WRITE (1 << 1) + +#define SPICE_CHANNEL_EVENT_CONNECTED 1 +#define SPICE_CHANNEL_EVENT_INITIALIZED 2 +#define SPICE_CHANNEL_EVENT_DISCONNECTED 3 + +#define SPICE_CHANNEL_EVENT_FLAG_TLS (1 << 0) +#define SPICE_CHANNEL_EVENT_FLAG_ADDR_EXT (1 << 1) + +typedef struct SpiceWatch SpiceWatch; +typedef void (*SpiceWatchFunc)(int fd, int event, void *opaque); + +typedef struct SpiceTimer SpiceTimer; +typedef void (*SpiceTimerFunc)(void *opaque); + +typedef struct SpiceChannelEventInfo { + int connection_id; + int type; + int id; + int flags; + /* deprecated, can't hold ipv6 addresses, kept for backward compatibility */ + struct sockaddr laddr; + struct sockaddr paddr; + socklen_t llen, plen; + /* should be used if (flags & SPICE_CHANNEL_EVENT_FLAG_ADDR_EXT) */ + struct sockaddr_storage laddr_ext; + struct sockaddr_storage paddr_ext; + socklen_t llen_ext, plen_ext; +} SpiceChannelEventInfo; + +struct SpiceCoreInterface { + SpiceBaseInterface base; + + SpiceTimer *(*timer_add)(SpiceTimerFunc func, void *opaque); + void (*timer_start)(SpiceTimer *timer, uint32_t ms); + void (*timer_cancel)(SpiceTimer *timer); + void (*timer_remove)(SpiceTimer *timer); + + SpiceWatch *(*watch_add)(int fd, int event_mask, SpiceWatchFunc func, void *opaque); + void (*watch_update_mask)(SpiceWatch *watch, int event_mask); + void (*watch_remove)(SpiceWatch *watch); + + void (*channel_event)(int event, SpiceChannelEventInfo *info); +}; + +/* qxl interface */ + +#define SPICE_INTERFACE_QXL "qxl" +#define SPICE_INTERFACE_QXL_MAJOR 3 +#define SPICE_INTERFACE_QXL_MINOR 3 +typedef struct QXLInterface QXLInterface; +typedef struct QXLInstance QXLInstance; +typedef struct QXLState QXLState; +typedef struct QXLWorker QXLWorker; +typedef struct QXLDevMemSlot QXLDevMemSlot; +typedef struct QXLDevSurfaceCreate QXLDevSurfaceCreate; +union QXLReleaseInfo; +struct QXLReleaseInfoExt; +struct QXLCommand; +struct QXLCommandExt; +struct QXLRect; +struct QXLWorker { + uint32_t minor_version; + uint32_t major_version; + /* These calls are deprecated. Please use the spice_qxl_* calls instead */ + void (*wakeup)(QXLWorker *worker); + void (*oom)(QXLWorker *worker); + void (*start)(QXLWorker *worker); + void (*stop)(QXLWorker *worker); + void (*update_area)(QXLWorker *qxl_worker, uint32_t surface_id, + struct QXLRect *area, struct QXLRect *dirty_rects, + uint32_t num_dirty_rects, uint32_t clear_dirty_region); + void (*add_memslot)(QXLWorker *worker, QXLDevMemSlot *slot); + void (*del_memslot)(QXLWorker *worker, uint32_t slot_group_id, uint32_t slot_id); + void (*reset_memslots)(QXLWorker *worker); + void (*destroy_surfaces)(QXLWorker *worker); + void (*destroy_primary_surface)(QXLWorker *worker, uint32_t surface_id); + void (*create_primary_surface)(QXLWorker *worker, uint32_t surface_id, + QXLDevSurfaceCreate *surface); + void (*reset_image_cache)(QXLWorker *worker); + void (*reset_cursor)(QXLWorker *worker); + void (*destroy_surface_wait)(QXLWorker *worker, uint32_t surface_id); + void (*loadvm_commands)(QXLWorker *worker, struct QXLCommandExt *ext, uint32_t count); +}; + +void spice_qxl_wakeup(QXLInstance *instance); +void spice_qxl_oom(QXLInstance *instance); +void spice_qxl_start(QXLInstance *instance); /* deprecated since 0.11.2 + spice_server_vm_start replaces it */ +void spice_qxl_stop(QXLInstance *instance); /* deprecated since 0.11.2 + spice_server_vm_stop replaces it */ +void spice_qxl_update_area(QXLInstance *instance, uint32_t surface_id, + struct QXLRect *area, struct QXLRect *dirty_rects, + uint32_t num_dirty_rects, uint32_t clear_dirty_region); +void spice_qxl_add_memslot(QXLInstance *instance, QXLDevMemSlot *slot); +void spice_qxl_del_memslot(QXLInstance *instance, uint32_t slot_group_id, uint32_t slot_id); +void spice_qxl_reset_memslots(QXLInstance *instance); +void spice_qxl_destroy_surfaces(QXLInstance *instance); +void spice_qxl_destroy_primary_surface(QXLInstance *instance, uint32_t surface_id); +void spice_qxl_create_primary_surface(QXLInstance *instance, uint32_t surface_id, + QXLDevSurfaceCreate *surface); +void spice_qxl_reset_image_cache(QXLInstance *instance); +void spice_qxl_reset_cursor(QXLInstance *instance); +void spice_qxl_destroy_surface_wait(QXLInstance *instance, uint32_t surface_id); +void spice_qxl_loadvm_commands(QXLInstance *instance, struct QXLCommandExt *ext, uint32_t count); +/* async versions of commands. when complete spice calls async_complete */ +void spice_qxl_update_area_async(QXLInstance *instance, uint32_t surface_id, QXLRect *qxl_area, + uint32_t clear_dirty_region, uint64_t cookie); +void spice_qxl_add_memslot_async(QXLInstance *instance, QXLDevMemSlot *slot, uint64_t cookie); +void spice_qxl_destroy_surfaces_async(QXLInstance *instance, uint64_t cookie); +void spice_qxl_destroy_primary_surface_async(QXLInstance *instance, uint32_t surface_id, uint64_t cookie); +void spice_qxl_create_primary_surface_async(QXLInstance *instance, uint32_t surface_id, + QXLDevSurfaceCreate *surface, uint64_t cookie); +void spice_qxl_destroy_surface_async(QXLInstance *instance, uint32_t surface_id, uint64_t cookie); +/* suspend and resolution change on windows drivers */ +void spice_qxl_flush_surfaces_async(QXLInstance *instance, uint64_t cookie); +/* since spice 0.12.0 */ +void spice_qxl_monitors_config_async(QXLInstance *instance, QXLPHYSICAL monitors_config, + int group_id, uint64_t cookie); + +typedef struct QXLDrawArea { + uint8_t *buf; + uint32_t size; + uint8_t *line_0; + uint32_t width; + uint32_t heigth; + int stride; +} QXLDrawArea; + +typedef struct QXLDevInfo { + uint32_t x_res; + uint32_t y_res; + uint32_t bits; + uint32_t use_hardware_cursor; + + QXLDrawArea draw_area; + + uint32_t ram_size; +} QXLDevInfo; + +typedef struct QXLDevInitInfo { + uint32_t num_memslots_groups; + uint32_t num_memslots; + uint8_t memslot_gen_bits; + uint8_t memslot_id_bits; + uint32_t qxl_ram_size; + uint8_t internal_groupslot_id; + uint32_t n_surfaces; +} QXLDevInitInfo; + +struct QXLDevMemSlot { + uint32_t slot_group_id; + uint32_t slot_id; + uint32_t generation; + unsigned long virt_start; + unsigned long virt_end; + uint64_t addr_delta; + uint32_t qxl_ram_size; +}; + +struct QXLDevSurfaceCreate { + uint32_t width; + uint32_t height; + int32_t stride; + uint32_t format; + uint32_t position; + uint32_t mouse_mode; + uint32_t flags; + uint32_t type; + uint64_t mem; + uint32_t group_id; +}; + +struct QXLInterface { + SpiceBaseInterface base; + + void (*attache_worker)(QXLInstance *qin, QXLWorker *qxl_worker); + void (*set_compression_level)(QXLInstance *qin, int level); + void (*set_mm_time)(QXLInstance *qin, uint32_t mm_time); + + void (*get_init_info)(QXLInstance *qin, QXLDevInitInfo *info); + int (*get_command)(QXLInstance *qin, struct QXLCommandExt *cmd); + int (*req_cmd_notification)(QXLInstance *qin); + void (*release_resource)(QXLInstance *qin, struct QXLReleaseInfoExt release_info); + int (*get_cursor_command)(QXLInstance *qin, struct QXLCommandExt *cmd); + int (*req_cursor_notification)(QXLInstance *qin); + void (*notify_update)(QXLInstance *qin, uint32_t update_id); + int (*flush_resources)(QXLInstance *qin); + void (*async_complete)(QXLInstance *qin, uint64_t cookie); + void (*update_area_complete)(QXLInstance *qin, uint32_t surface_id, + struct QXLRect *updated_rects, + uint32_t num_updated_rects); + void (*set_client_capabilities)(QXLInstance *qin, + uint8_t client_present, + uint8_t caps[58]); + /* returns 1 if the interface is supported, 0 otherwise. + * if monitors_config is NULL nothing is done except reporting the + * return code. */ + int (*client_monitors_config)(QXLInstance *qin, + VDAgentMonitorsConfig *monitors_config); +}; + +struct QXLInstance { + SpiceBaseInstance base; + int id; + QXLState *st; +}; + +/* input interfaces */ + +#define SPICE_INTERFACE_KEYBOARD "keyboard" +#define SPICE_INTERFACE_KEYBOARD_MAJOR 1 +#define SPICE_INTERFACE_KEYBOARD_MINOR 1 +typedef struct SpiceKbdInterface SpiceKbdInterface; +typedef struct SpiceKbdInstance SpiceKbdInstance; +typedef struct SpiceKbdState SpiceKbdState; + +struct SpiceKbdInterface { + SpiceBaseInterface base; + + void (*push_scan_freg)(SpiceKbdInstance *sin, uint8_t frag); + uint8_t (*get_leds)(SpiceKbdInstance *sin); +}; + +struct SpiceKbdInstance { + SpiceBaseInstance base; + SpiceKbdState *st; +}; + +int spice_server_kbd_leds(SpiceKbdInstance *sin, int leds); + +/* for TIZEN-maru */ +#define SPICE_INTERFACE_SDBPORT "sdbport" +#define SPICE_INTERFACE_SDBPORT_MAJOR 1 +#define SPICE_INTERFACE_SDBPORT_MINOR 1 + +typedef struct SpiceSdbPortInterface SpiceSdbPortInterface; +typedef struct SpiceSdbPortInstance SpiceSdbPortInstance; +typedef struct SpiceSdbPortState SpiceSdbPortState; + +struct SpiceSdbPortInterface { + SpiceBaseInterface base; + + void (*push_scan_freg)(SpiceSdbPortInstance *sin, int* sdb_port); + uint8_t (*get_leds)(SpiceSdbPortInstance *sin); +}; + +struct SpiceSdbPortInstance { + SpiceBaseInstance base; + SpiceSdbPortState *st; +}; + +#define SPICE_INTERFACE_HWKEY "hwkey" +#define SPICE_INTERFACE_HWKEY_MAJOR 1 +#define SPICE_INTERFACE_HWKEY_MINOR 1 + +typedef struct SpiceHwkeyInterface SpiceHwkeyInterface; +typedef struct SpiceHwkeyInstance SpiceHwkeyInstance; +typedef struct SpiceHwkeyState SpiceHwkeyState; + +struct SpiceHwkeyInterface { + SpiceBaseInterface base; + + void (*push_scan_freg)(SpiceHwkeyInstance *sin, uint8_t type, uint8_t keycode); + uint8_t (*get_leds)(SpiceHwkeyInstance *sin); +}; + +struct SpiceHwkeyInstance { + SpiceBaseInstance base; + SpiceHwkeyState *st; +}; + +#define SPICE_INTERFACE_ROTATION "rotation" +#define SPICE_INTERFACE_ROTATION_MAJOR 1 +#define SPICE_INTERFACE_ROTATION_MINOR 1 + +typedef struct SpiceRotationInterface SpiceRotationInterface; +typedef struct SpiceRotationInstance SpiceRotationInstance; +typedef struct SpiceRotationState SpiceRotationState; + +struct SpiceRotationInterface { + SpiceBaseInterface base; + + void (*push_scan_freg)(SpiceRotationInstance *sin, uint8_t type); + uint8_t (*get_leds)(SpiceRotationInstance *sin); +}; + +struct SpiceRotationInstance { + SpiceBaseInstance base; + SpiceRotationState *st; +}; + +#define SPICE_INTERFACE_HOSTKBD "hostkbd" +#define SPICE_INTERFACE_HOSTKBD_MAJOR 1 +#define SPICE_INTERFACE_HOSTKBD_MINOR 1 + +typedef struct SpiceHostkbdInterface SpiceHostkbdInterface; +typedef struct SpiceHostkbdInstance SpiceHostkbdInstance; +typedef struct SpiceHostkbdState SpiceHostkbdState; + +struct SpiceHostkbdInterface { + SpiceBaseInterface base; + + void (*push_scan_freg)(SpiceHostkbdInstance *sin, uint8_t type); + uint8_t (*get_leds)(SpiceHostkbdInstance *sin); +}; + +struct SpiceHostkbdInstance { + SpiceBaseInstance base; + SpiceHostkbdState *st; +}; + +#define SPICE_INTERFACE_TIZEN_CLOSE "close" +#define SPICE_INTERFACE_TIZEN_CLOSE_MAJOR 1 +#define SPICE_INTERFACE_TIZEN_CLOSE_MINOR 1 + +typedef struct SpiceTizenCloseInterface SpiceTizenCloseInterface; +typedef struct SpiceTizenCloseInstance SpiceTizenCloseInstance; +typedef struct SpiceTizenCloseState SpiceTizenCloseState; + +struct SpiceTizenCloseInterface { + SpiceBaseInterface base; + + void (*push_scan_freg)(SpiceTizenCloseInstance *sin, uint8_t type); + uint8_t (*get_leds)(SpiceTizenCloseInstance *sin); +}; + +struct SpiceTizenCloseInstance { + SpiceBaseInstance base; + SpiceTizenCloseState *st; +}; +/* for TIZEN-maru */ + +#define SPICE_INTERFACE_MOUSE "mouse" +#define SPICE_INTERFACE_MOUSE_MAJOR 1 +#define SPICE_INTERFACE_MOUSE_MINOR 1 +typedef struct SpiceMouseInterface SpiceMouseInterface; +typedef struct SpiceMouseInstance SpiceMouseInstance; +typedef struct SpiceMouseState SpiceMouseState; + +struct SpiceMouseInterface { + SpiceBaseInterface base; + + void (*motion)(SpiceMouseInstance *sin, int dx, int dy, int dz, + uint32_t buttons_state); + void (*buttons)(SpiceMouseInstance *sin, uint32_t buttons_state); +}; + +struct SpiceMouseInstance { + SpiceBaseInstance base; + SpiceMouseState *st; +}; + +#define SPICE_INTERFACE_TABLET "tablet" +#define SPICE_INTERFACE_TABLET_MAJOR 1 +#define SPICE_INTERFACE_TABLET_MINOR 1 +typedef struct SpiceTabletInterface SpiceTabletInterface; +typedef struct SpiceTabletInstance SpiceTabletInstance; +typedef struct SpiceTabletState SpiceTabletState; + +struct SpiceTabletInterface { + SpiceBaseInterface base; + + void (*set_logical_size)(SpiceTabletInstance* tablet, int width, int height); + void (*position)(SpiceTabletInstance* tablet, int x, int y, uint32_t buttons_state); + void (*wheel)(SpiceTabletInstance* tablet, int wheel_moution, uint32_t buttons_state); + void (*buttons)(SpiceTabletInstance* tablet, uint32_t buttons_state); +}; + +struct SpiceTabletInstance { + SpiceBaseInstance base; + SpiceTabletState *st; +}; + +/* sound interfaces */ + +#define SPICE_INTERFACE_PLAYBACK "playback" +#define SPICE_INTERFACE_PLAYBACK_MAJOR 1 +#define SPICE_INTERFACE_PLAYBACK_MINOR 2 +typedef struct SpicePlaybackInterface SpicePlaybackInterface; +typedef struct SpicePlaybackInstance SpicePlaybackInstance; +typedef struct SpicePlaybackState SpicePlaybackState; + +enum { + SPICE_INTERFACE_AUDIO_FMT_S16 = 1, +}; + +#define SPICE_INTERFACE_PLAYBACK_FREQ 44100 +#define SPICE_INTERFACE_PLAYBACK_CHAN 2 +#define SPICE_INTERFACE_PLAYBACK_FMT SPICE_INTERFACE_AUDIO_FMT_S16 + +struct SpicePlaybackInterface { + SpiceBaseInterface base; +}; + +struct SpicePlaybackInstance { + SpiceBaseInstance base; + SpicePlaybackState *st; +}; + +void spice_server_playback_start(SpicePlaybackInstance *sin); +void spice_server_playback_stop(SpicePlaybackInstance *sin); +void spice_server_playback_get_buffer(SpicePlaybackInstance *sin, + uint32_t **samples, uint32_t *nsamples); +void spice_server_playback_put_samples(SpicePlaybackInstance *sin, + uint32_t *samples); +void spice_server_playback_set_volume(SpicePlaybackInstance *sin, + uint8_t nchannels, uint16_t *volume); +void spice_server_playback_set_mute(SpicePlaybackInstance *sin, uint8_t mute); + +#define SPICE_INTERFACE_RECORD "record" +#define SPICE_INTERFACE_RECORD_MAJOR 2 +#define SPICE_INTERFACE_RECORD_MINOR 2 +typedef struct SpiceRecordInterface SpiceRecordInterface; +typedef struct SpiceRecordInstance SpiceRecordInstance; +typedef struct SpiceRecordState SpiceRecordState; + +#define SPICE_INTERFACE_RECORD_FREQ 44100 +#define SPICE_INTERFACE_RECORD_CHAN 2 +#define SPICE_INTERFACE_RECORD_FMT SPICE_INTERFACE_AUDIO_FMT_S16 + +struct SpiceRecordInterface { + SpiceBaseInterface base; +}; + +struct SpiceRecordInstance { + SpiceBaseInstance base; + SpiceRecordState *st; +}; + +void spice_server_record_start(SpiceRecordInstance *sin); +void spice_server_record_stop(SpiceRecordInstance *sin); +uint32_t spice_server_record_get_samples(SpiceRecordInstance *sin, + uint32_t *samples, uint32_t bufsize); +void spice_server_record_set_volume(SpiceRecordInstance *sin, + uint8_t nchannels, uint16_t *volume); +void spice_server_record_set_mute(SpiceRecordInstance *sin, uint8_t mute); + +/* char device interfaces */ + +#define SPICE_INTERFACE_CHAR_DEVICE "char_device" +#define SPICE_INTERFACE_CHAR_DEVICE_MAJOR 1 +#define SPICE_INTERFACE_CHAR_DEVICE_MINOR 2 +typedef struct SpiceCharDeviceInterface SpiceCharDeviceInterface; +typedef struct SpiceCharDeviceInstance SpiceCharDeviceInstance; +typedef struct SpiceCharDeviceState SpiceCharDeviceState; + +struct SpiceCharDeviceInterface { + SpiceBaseInterface base; + + void (*state)(SpiceCharDeviceInstance *sin, int connected); + int (*write)(SpiceCharDeviceInstance *sin, const uint8_t *buf, int len); + int (*read)(SpiceCharDeviceInstance *sin, uint8_t *buf, int len); + void (*event)(SpiceCharDeviceInstance *sin, uint8_t event); +}; + +struct SpiceCharDeviceInstance { + SpiceBaseInstance base; + const char* subtype; + SpiceCharDeviceState *st; + const char* portname; +}; + +void spice_server_char_device_wakeup(SpiceCharDeviceInstance *sin); +void spice_server_port_event(SpiceCharDeviceInstance *char_device, uint8_t event); +const char** spice_server_char_device_recognized_subtypes(void); + +/* spice server setup */ + +/* Don't use features incompatible with a specific spice + version, so that migration to/from that version works. */ +typedef enum { + SPICE_COMPAT_VERSION_0_4 = 0, + SPICE_COMPAT_VERSION_0_6 = 1, +} spice_compat_version_t; + +#define SPICE_COMPAT_VERSION_CURRENT SPICE_COMPAT_VERSION_0_6 + +spice_compat_version_t spice_get_current_compat_version(void); + +typedef struct RedsState SpiceServer; +SpiceServer *spice_server_new(void); +int spice_server_init(SpiceServer *s, SpiceCoreInterface *core); +void spice_server_destroy(SpiceServer *s); + +#define SPICE_ADDR_FLAG_IPV4_ONLY (1 << 0) +#define SPICE_ADDR_FLAG_IPV6_ONLY (1 << 1) + +int spice_server_set_compat_version(SpiceServer *s, + spice_compat_version_t version); +int spice_server_set_port(SpiceServer *s, int port); +void spice_server_set_addr(SpiceServer *s, const char *addr, int flags); +int spice_server_set_listen_socket_fd(SpiceServer *s, int listen_fd); +int spice_server_set_exit_on_disconnect(SpiceServer *s, int flag); +int spice_server_set_noauth(SpiceServer *s); +int spice_server_set_sasl(SpiceServer *s, int enabled); +int spice_server_set_sasl_appname(SpiceServer *s, const char *appname); +int spice_server_set_ticket(SpiceServer *s, const char *passwd, int lifetime, + int fail_if_connected, int disconnect_if_connected); +int spice_server_set_tls(SpiceServer *s, int port, + const char *ca_cert_file, const char *certs_file, + const char *private_key_file, const char *key_passwd, + const char *dh_key_file, const char *ciphersuite); + +int spice_server_add_client(SpiceServer *s, int socket, int skip_auth); +int spice_server_add_ssl_client(SpiceServer *s, int socket, int skip_auth); + +int spice_server_add_interface(SpiceServer *s, + SpiceBaseInstance *sin); +int spice_server_remove_interface(SpiceBaseInstance *sin); + +typedef enum { + SPICE_IMAGE_COMPRESS_INVALID = 0, + SPICE_IMAGE_COMPRESS_OFF = 1, + SPICE_IMAGE_COMPRESS_AUTO_GLZ = 2, + SPICE_IMAGE_COMPRESS_AUTO_LZ = 3, + SPICE_IMAGE_COMPRESS_QUIC = 4, + SPICE_IMAGE_COMPRESS_GLZ = 5, + SPICE_IMAGE_COMPRESS_LZ = 6, +} spice_image_compression_t; + +int spice_server_set_image_compression(SpiceServer *s, + spice_image_compression_t comp); +spice_image_compression_t spice_server_get_image_compression(SpiceServer *s); + +typedef enum { + SPICE_WAN_COMPRESSION_INVALID, + SPICE_WAN_COMPRESSION_AUTO, + SPICE_WAN_COMPRESSION_ALWAYS, + SPICE_WAN_COMPRESSION_NEVER, +} spice_wan_compression_t; + +int spice_server_set_jpeg_compression(SpiceServer *s, spice_wan_compression_t comp); +int spice_server_set_zlib_glz_compression(SpiceServer *s, spice_wan_compression_t comp); + +#define SPICE_CHANNEL_SECURITY_NONE (1 << 0) +#define SPICE_CHANNEL_SECURITY_SSL (1 << 1) + +int spice_server_set_channel_security(SpiceServer *s, const char *channel, int security); + +int spice_server_add_renderer(SpiceServer *s, const char *name); + +enum { + SPICE_STREAM_VIDEO_INVALID, + SPICE_STREAM_VIDEO_OFF, + SPICE_STREAM_VIDEO_ALL, + SPICE_STREAM_VIDEO_FILTER +}; + +int spice_server_set_streaming_video(SpiceServer *s, int value); +int spice_server_set_playback_compression(SpiceServer *s, int enable); +int spice_server_set_agent_mouse(SpiceServer *s, int enable); +int spice_server_set_agent_copypaste(SpiceServer *s, int enable); + +int spice_server_get_sock_info(SpiceServer *s, struct sockaddr *sa, socklen_t *salen); +int spice_server_get_peer_info(SpiceServer *s, struct sockaddr *sa, socklen_t *salen); + +int spice_server_is_server_mouse(SpiceServer *s); + +/* migration interface */ +#define SPICE_INTERFACE_MIGRATION "migration" +#define SPICE_INTERFACE_MIGRATION_MAJOR 1 +#define SPICE_INTERFACE_MIGRATION_MINOR 1 +typedef struct SpiceMigrateInterface SpiceMigrateInterface; +typedef struct SpiceMigrateInstance SpiceMigrateInstance; +typedef struct SpiceMigrateState SpiceMigrateState; + +struct SpiceMigrateInterface { + SpiceBaseInterface base; + void (*migrate_connect_complete)(SpiceMigrateInstance *sin); + void (*migrate_end_complete)(SpiceMigrateInstance *sin); +}; + +struct SpiceMigrateInstance { + SpiceBaseInstance base; + SpiceMigrateState *st; +}; + +/* spice switch-host client migration */ +int spice_server_migrate_info(SpiceServer *s, const char* dest, + int port, int secure_port, + const char* cert_subject); +int spice_server_migrate_switch(SpiceServer *s); + +/* server status */ +int spice_server_get_num_clients(SpiceServer *s); + +/* spice (semi-)seamless client migration */ +int spice_server_migrate_connect(SpiceServer *s, const char* dest, + int port, int secure_port, + const char* cert_subject); +int spice_server_migrate_start(SpiceServer *s); +int spice_server_migrate_end(SpiceServer *s, int completed); + +void spice_server_set_seamless_migration(SpiceServer *s, int enable); + +void spice_server_set_name(SpiceServer *s, const char *name); +void spice_server_set_uuid(SpiceServer *s, const uint8_t uuid[16]); + +void spice_server_vm_start(SpiceServer *s); +void spice_server_vm_stop(SpiceServer *s); + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/spicevmc.c b/tizen/distrib/remote/server/spice-0.12.2/server/spicevmc.c new file mode 100644 index 0000000..aba2a5d --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/spicevmc.c @@ -0,0 +1,583 @@ +/* spice-server spicevmc passthrough channel code + + Copyright (C) 2011 Red Hat, Inc. + + Red Hat Authors: + Hans de Goede <hdegoede@redhat.com> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <assert.h> +#include <errno.h> +#include <string.h> +#include <netinet/in.h> // IPPROTO_TCP +#include <netinet/tcp.h> // TCP_NODELAY + +#include "common/generated_server_marshallers.h" + +#include "char_device.h" +#include "red_channel.h" +#include "reds.h" +#include "migration_protocol.h" + +/* todo: add flow control. i.e., + * (a) limit the tokens available for the client + * (b) limit the tokens available for the server + */ +/* 64K should be enough for all but the largest writes + 32 bytes hdr */ +#define BUF_SIZE (64 * 1024 + 32) + +typedef struct SpiceVmcPipeItem { + PipeItem base; + uint32_t refs; + + /* writes which don't fit this will get split, this is not a problem */ + uint8_t buf[BUF_SIZE]; + uint32_t buf_used; +} SpiceVmcPipeItem; + +typedef struct SpiceVmcState { + RedChannel channel; /* Must be the first item */ + RedChannelClient *rcc; + SpiceCharDeviceState *chardev_st; + SpiceCharDeviceInstance *chardev_sin; + SpiceVmcPipeItem *pipe_item; + SpiceCharDeviceWriteBuffer *recv_from_client_buf; + uint8_t port_opened; +} SpiceVmcState; + +typedef struct PortInitPipeItem { + PipeItem base; + char* name; + uint8_t opened; +} PortInitPipeItem; + +typedef struct PortEventPipeItem { + PipeItem base; + uint8_t event; +} PortEventPipeItem; + +enum { + PIPE_ITEM_TYPE_SPICEVMC_DATA = PIPE_ITEM_TYPE_CHANNEL_BASE, + PIPE_ITEM_TYPE_SPICEVMC_MIGRATE_DATA, + PIPE_ITEM_TYPE_PORT_INIT, + PIPE_ITEM_TYPE_PORT_EVENT, +}; + +static SpiceVmcPipeItem *spicevmc_pipe_item_ref(SpiceVmcPipeItem *item) +{ + item->refs++; + return item; +} + +static void spicevmc_pipe_item_unref(SpiceVmcPipeItem *item) +{ + if (!--item->refs) { + free(item); + } +} + +SpiceCharDeviceMsgToClient *spicevmc_chardev_ref_msg_to_client(SpiceCharDeviceMsgToClient *msg, + void *opaque) +{ + return spicevmc_pipe_item_ref((SpiceVmcPipeItem *)msg); +} + +static void spicevmc_chardev_unref_msg_to_client(SpiceCharDeviceMsgToClient *msg, + void *opaque) +{ + spicevmc_pipe_item_unref((SpiceVmcPipeItem *)msg); +} + +static SpiceCharDeviceMsgToClient *spicevmc_chardev_read_msg_from_dev(SpiceCharDeviceInstance *sin, + void *opaque) +{ + SpiceVmcState *state = opaque; + SpiceCharDeviceInterface *sif; + SpiceVmcPipeItem *msg_item; + int n; + + sif = SPICE_CONTAINEROF(sin->base.sif, SpiceCharDeviceInterface, base); + + if (!state->rcc) { + return NULL; + } + + if (!state->pipe_item) { + msg_item = spice_new0(SpiceVmcPipeItem, 1); + msg_item->refs = 1; + red_channel_pipe_item_init(&state->channel, + &msg_item->base, PIPE_ITEM_TYPE_SPICEVMC_DATA); + } else { + spice_assert(state->pipe_item->buf_used == 0); + msg_item = state->pipe_item; + state->pipe_item = NULL; + } + + n = sif->read(sin, msg_item->buf, + sizeof(msg_item->buf)); + if (n > 0) { + spice_debug("read from dev %d", n); + msg_item->buf_used = n; + return msg_item; + } else { + state->pipe_item = msg_item; + return NULL; + } +} + +static void spicevmc_chardev_send_msg_to_client(SpiceCharDeviceMsgToClient *msg, + RedClient *client, + void *opaque) +{ + SpiceVmcState *state = opaque; + SpiceVmcPipeItem *vmc_msg = msg; + + spice_assert(state->rcc->client == client); + spicevmc_pipe_item_ref(vmc_msg); + red_channel_client_pipe_add_push(state->rcc, &vmc_msg->base); +} + +static void spicevmc_port_send_init(RedChannelClient *rcc) +{ + SpiceVmcState *state = SPICE_CONTAINEROF(rcc->channel, SpiceVmcState, channel); + SpiceCharDeviceInstance *sin = state->chardev_sin; + PortInitPipeItem *item = spice_malloc(sizeof(PortInitPipeItem)); + + red_channel_pipe_item_init(rcc->channel, &item->base, PIPE_ITEM_TYPE_PORT_INIT); + item->name = strdup(sin->portname); + item->opened = state->port_opened; + red_channel_client_pipe_add_push(rcc, &item->base); +} + +static void spicevmc_port_send_event(RedChannelClient *rcc, uint8_t event) +{ + PortEventPipeItem *item = spice_malloc(sizeof(PortEventPipeItem)); + + red_channel_pipe_item_init(rcc->channel, &item->base, PIPE_ITEM_TYPE_PORT_EVENT); + item->event = event; + red_channel_client_pipe_add_push(rcc, &item->base); +} + +static void spicevmc_char_dev_send_tokens_to_client(RedClient *client, + uint32_t tokens, + void *opaque) +{ + spice_printerr("Not implemented!"); +} + +static void spicevmc_char_dev_remove_client(RedClient *client, void *opaque) +{ + SpiceVmcState *state = opaque; + + spice_printerr("vmc state %p, client %p", state, client); + spice_assert(state->rcc && state->rcc->client == client); + + red_channel_client_shutdown(state->rcc); +} + +static int spicevmc_red_channel_client_config_socket(RedChannelClient *rcc) +{ + int delay_val = 1; + RedsStream *stream = red_channel_client_get_stream(rcc); + + if (rcc->channel->type == SPICE_CHANNEL_USBREDIR) { + if (setsockopt(stream->socket, IPPROTO_TCP, TCP_NODELAY, + &delay_val, sizeof(delay_val)) != 0) { + if (errno != ENOTSUP && errno != ENOPROTOOPT) { + spice_printerr("setsockopt failed, %s", strerror(errno)); + return FALSE; + } + } + } + + return TRUE; +} + +static void spicevmc_red_channel_client_on_disconnect(RedChannelClient *rcc) +{ + SpiceVmcState *state; + SpiceCharDeviceInstance *sin; + SpiceCharDeviceInterface *sif; + + if (!rcc) { + return; + } + + state = SPICE_CONTAINEROF(rcc->channel, SpiceVmcState, channel); + sin = state->chardev_sin; + sif = SPICE_CONTAINEROF(sin->base.sif, SpiceCharDeviceInterface, base); + + if (state->chardev_st) { + if (spice_char_device_client_exists(state->chardev_st, rcc->client)) { + spice_char_device_client_remove(state->chardev_st, rcc->client); + } else { + spice_printerr("client %p have already been removed from char dev %p", + rcc->client, state->chardev_st); + } + } + + /* Don't destroy the rcc if it is already being destroyed, as then + red_client_destroy/red_channel_client_destroy will already do this! */ + if (!rcc->destroying) + red_channel_client_destroy(rcc); + + state->rcc = NULL; + if (sif->state) { + sif->state(sin, 0); + } +} + +static SpiceVmcState *spicevmc_red_channel_client_get_state(RedChannelClient *rcc) +{ + return SPICE_CONTAINEROF(rcc->channel, SpiceVmcState, channel); +} + +static int spicevmc_channel_client_handle_migrate_flush_mark(RedChannelClient *rcc) +{ + red_channel_client_pipe_add_type(rcc, PIPE_ITEM_TYPE_SPICEVMC_MIGRATE_DATA); + return TRUE; +} + +static int spicevmc_channel_client_handle_migrate_data(RedChannelClient *rcc, + uint32_t size, void *message) +{ + SpiceMigrateDataHeader *header; + SpiceMigrateDataSpiceVmc *mig_data; + SpiceVmcState *state; + + state = spicevmc_red_channel_client_get_state(rcc); + + header = (SpiceMigrateDataHeader *)message; + mig_data = (SpiceMigrateDataSpiceVmc *)(header + 1); + spice_assert(size >= sizeof(SpiceMigrateDataHeader) + sizeof(SpiceMigrateDataSpiceVmc)); + + if (!migration_protocol_validate_header(header, + SPICE_MIGRATE_DATA_SPICEVMC_MAGIC, + SPICE_MIGRATE_DATA_SPICEVMC_VERSION)) { + spice_error("bad header"); + return FALSE; + } + return spice_char_device_state_restore(state->chardev_st, &mig_data->base); +} + +static int spicevmc_red_channel_client_handle_message(RedChannelClient *rcc, + uint16_t type, + uint32_t size, + uint8_t *msg) +{ + SpiceVmcState *state; + SpiceCharDeviceInstance *sin; + SpiceCharDeviceInterface *sif; + + state = spicevmc_red_channel_client_get_state(rcc); + sin = state->chardev_sin; + sif = SPICE_CONTAINEROF(sin->base.sif, SpiceCharDeviceInterface, base); + + switch (type) { + case SPICE_MSGC_SPICEVMC_DATA: + spice_assert(state->recv_from_client_buf->buf == msg); + state->recv_from_client_buf->buf_used = size; + spice_char_device_write_buffer_add(state->chardev_st, state->recv_from_client_buf); + state->recv_from_client_buf = NULL; + break; + case SPICE_MSGC_PORT_EVENT: + if (size != sizeof(uint8_t)) { + spice_warning("bad port event message size"); + return FALSE; + } + if (sif->base.minor_version >= 2 && sif->event != NULL) + sif->event(sin, *msg); + break; + default: + return red_channel_client_handle_message(rcc, size, type, msg); + } + + return TRUE; +} + +static uint8_t *spicevmc_red_channel_alloc_msg_rcv_buf(RedChannelClient *rcc, + uint16_t type, + uint32_t size) +{ + SpiceVmcState *state; + + state = SPICE_CONTAINEROF(rcc->channel, SpiceVmcState, channel); + + switch (type) { + case SPICE_MSGC_SPICEVMC_DATA: + assert(!state->recv_from_client_buf); + + state->recv_from_client_buf = spice_char_device_write_buffer_get(state->chardev_st, + rcc->client, + size); + if (!state->recv_from_client_buf) { + spice_error("failed to allocate write buffer"); + return NULL; + } + return state->recv_from_client_buf->buf; + + default: + return spice_malloc(size); + } + +} + +static void spicevmc_red_channel_release_msg_rcv_buf(RedChannelClient *rcc, + uint16_t type, + uint32_t size, + uint8_t *msg) +{ + SpiceVmcState *state; + + state = SPICE_CONTAINEROF(rcc->channel, SpiceVmcState, channel); + + switch (type) { + case SPICE_MSGC_SPICEVMC_DATA: + if (state->recv_from_client_buf) { /* buffer wasn't pushed to device */ + spice_char_device_write_buffer_release(state->chardev_st, state->recv_from_client_buf); + state->recv_from_client_buf = NULL; + } + break; + default: + free(msg); + } +} + +static void spicevmc_red_channel_hold_pipe_item(RedChannelClient *rcc, + PipeItem *item) +{ + /* NOOP */ +} + +static void spicevmc_red_channel_send_data(RedChannelClient *rcc, + SpiceMarshaller *m, + PipeItem *item) +{ + SpiceVmcPipeItem *i = SPICE_CONTAINEROF(item, SpiceVmcPipeItem, base); + + red_channel_client_init_send_data(rcc, SPICE_MSG_SPICEVMC_DATA, item); + spice_marshaller_add_ref(m, i->buf, i->buf_used); +} + +static void spicevmc_red_channel_send_migrate_data(RedChannelClient *rcc, + SpiceMarshaller *m, + PipeItem *item) +{ + SpiceVmcState *state; + + state = SPICE_CONTAINEROF(rcc->channel, SpiceVmcState, channel); + red_channel_client_init_send_data(rcc, SPICE_MSG_MIGRATE_DATA, item); + spice_marshaller_add_uint32(m, SPICE_MIGRATE_DATA_SPICEVMC_MAGIC); + spice_marshaller_add_uint32(m, SPICE_MIGRATE_DATA_SPICEVMC_VERSION); + + spice_char_device_state_migrate_data_marshall(state->chardev_st, m); +} + +static void spicevmc_red_channel_send_port_init(RedChannelClient *rcc, + SpiceMarshaller *m, + PipeItem *item) +{ + PortInitPipeItem *i = SPICE_CONTAINEROF(item, PortInitPipeItem, base); + SpiceMsgPortInit init; + + red_channel_client_init_send_data(rcc, SPICE_MSG_PORT_INIT, item); + init.name = (uint8_t *)i->name; + init.name_size = strlen(i->name) + 1; + init.opened = i->opened; + spice_marshall_msg_port_init(m, &init); +} + +static void spicevmc_red_channel_send_port_event(RedChannelClient *rcc, + SpiceMarshaller *m, + PipeItem *item) +{ + PortEventPipeItem *i = SPICE_CONTAINEROF(item, PortEventPipeItem, base); + SpiceMsgPortEvent event; + + red_channel_client_init_send_data(rcc, SPICE_MSG_PORT_EVENT, item); + event.event = i->event; + spice_marshall_msg_port_event(m, &event); +} + +static void spicevmc_red_channel_send_item(RedChannelClient *rcc, + PipeItem *item) +{ + SpiceMarshaller *m = red_channel_client_get_marshaller(rcc); + + switch (item->type) { + case PIPE_ITEM_TYPE_SPICEVMC_DATA: + spicevmc_red_channel_send_data(rcc, m, item); + break; + case PIPE_ITEM_TYPE_SPICEVMC_MIGRATE_DATA: + spicevmc_red_channel_send_migrate_data(rcc, m, item); + break; + case PIPE_ITEM_TYPE_PORT_INIT: + spicevmc_red_channel_send_port_init(rcc, m, item); + break; + case PIPE_ITEM_TYPE_PORT_EVENT: + spicevmc_red_channel_send_port_event(rcc, m, item); + break; + default: + spice_error("bad pipe item %d", item->type); + free(item); + return; + } + red_channel_client_begin_send_message(rcc); +} + +static void spicevmc_red_channel_release_pipe_item(RedChannelClient *rcc, + PipeItem *item, int item_pushed) +{ + if (item->type == PIPE_ITEM_TYPE_SPICEVMC_DATA) { + spicevmc_pipe_item_unref((SpiceVmcPipeItem *)item); + } else { + free(item); + } +} + +static void spicevmc_connect(RedChannel *channel, RedClient *client, + RedsStream *stream, int migration, int num_common_caps, + uint32_t *common_caps, int num_caps, uint32_t *caps) +{ + RedChannelClient *rcc; + SpiceVmcState *state; + SpiceCharDeviceInstance *sin; + SpiceCharDeviceInterface *sif; + + state = SPICE_CONTAINEROF(channel, SpiceVmcState, channel); + sin = state->chardev_sin; + sif = SPICE_CONTAINEROF(sin->base.sif, SpiceCharDeviceInterface, base); + + if (state->rcc) { + spice_printerr("channel client %d:%d (%p) already connected, refusing second connection", + channel->type, channel->id, state->rcc); + // TODO: notify client in advance about the in use channel using + // SPICE_MSG_MAIN_CHANNEL_IN_USE (for example) + reds_stream_free(stream); + return; + } + + rcc = red_channel_client_create(sizeof(RedChannelClient), channel, client, stream, + num_common_caps, common_caps, + num_caps, caps); + if (!rcc) { + return; + } + state->rcc = rcc; + red_channel_client_ack_zero_messages_window(rcc); + + if (strcmp(sin->subtype, "port") == 0) { + spicevmc_port_send_init(rcc); + } + + if (!spice_char_device_client_add(state->chardev_st, client, FALSE, 0, ~0, ~0, + red_channel_client_waits_for_migrate_data(rcc))) { + spice_warning("failed to add client to spicevmc"); + red_channel_client_disconnect(rcc); + return; + } + + if (sif->state) { + sif->state(sin, 1); + } +} + +SpiceCharDeviceState *spicevmc_device_connect(SpiceCharDeviceInstance *sin, + uint8_t channel_type) +{ + static uint8_t id[256] = { 0, }; + SpiceVmcState *state; + ChannelCbs channel_cbs = { NULL, }; + ClientCbs client_cbs = { NULL, }; + SpiceCharDeviceCallbacks char_dev_cbs = {NULL, }; + + channel_cbs.config_socket = spicevmc_red_channel_client_config_socket; + channel_cbs.on_disconnect = spicevmc_red_channel_client_on_disconnect; + channel_cbs.send_item = spicevmc_red_channel_send_item; + channel_cbs.hold_item = spicevmc_red_channel_hold_pipe_item; + channel_cbs.release_item = spicevmc_red_channel_release_pipe_item; + channel_cbs.alloc_recv_buf = spicevmc_red_channel_alloc_msg_rcv_buf; + channel_cbs.release_recv_buf = spicevmc_red_channel_release_msg_rcv_buf; + channel_cbs.handle_migrate_flush_mark = spicevmc_channel_client_handle_migrate_flush_mark; + channel_cbs.handle_migrate_data = spicevmc_channel_client_handle_migrate_data; + + state = (SpiceVmcState*)red_channel_create(sizeof(SpiceVmcState), + core, channel_type, id[channel_type]++, + FALSE /* handle_acks */, + spicevmc_red_channel_client_handle_message, + &channel_cbs, + SPICE_MIGRATE_NEED_FLUSH | SPICE_MIGRATE_NEED_DATA_TRANSFER); + red_channel_init_outgoing_messages_window(&state->channel); + + client_cbs.connect = spicevmc_connect; + red_channel_register_client_cbs(&state->channel, &client_cbs); + + char_dev_cbs.read_one_msg_from_device = spicevmc_chardev_read_msg_from_dev; + char_dev_cbs.ref_msg_to_client = spicevmc_chardev_ref_msg_to_client; + char_dev_cbs.unref_msg_to_client = spicevmc_chardev_unref_msg_to_client; + char_dev_cbs.send_msg_to_client = spicevmc_chardev_send_msg_to_client; + char_dev_cbs.send_tokens_to_client = spicevmc_char_dev_send_tokens_to_client; + char_dev_cbs.remove_client = spicevmc_char_dev_remove_client; + + state->chardev_st = spice_char_device_state_create(sin, + 0, /* tokens interval */ + ~0, /* self tokens */ + &char_dev_cbs, + state); + state->chardev_sin = sin; + + reds_register_channel(&state->channel); + return state->chardev_st; +} + +/* Must be called from RedClient handling thread. */ +void spicevmc_device_disconnect(SpiceCharDeviceInstance *sin) +{ + SpiceVmcState *state; + + state = (SpiceVmcState *)spice_char_device_state_opaque_get(sin->st); + + if (state->recv_from_client_buf) { + spice_char_device_write_buffer_release(state->chardev_st, state->recv_from_client_buf); + } + spice_char_device_state_destroy(sin->st); + state->chardev_st = NULL; + + reds_unregister_channel(&state->channel); + free(state->pipe_item); + red_channel_destroy(&state->channel); +} + +SPICE_GNUC_VISIBLE void spice_server_port_event(SpiceCharDeviceInstance *sin, uint8_t event) +{ + SpiceVmcState *state; + + state = (SpiceVmcState *)spice_char_device_state_opaque_get(sin->st); + if (event == SPICE_PORT_EVENT_OPENED) { + state->port_opened = TRUE; + } else if (event == SPICE_PORT_EVENT_CLOSED) { + state->port_opened = FALSE; + } + + if (state->rcc == NULL) { + return; + } + + spicevmc_port_send_event(state->rcc, event); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/stat.h b/tizen/distrib/remote/server/spice-0.12.2/server/stat.h new file mode 100644 index 0000000..d5c1878 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/stat.h @@ -0,0 +1,47 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef _H_STAT +#define _H_STAT + +#include <stdint.h> + +typedef uint32_t StatNodeRef; +#define INVALID_STAT_REF (~(StatNodeRef)0) + +#ifdef RED_STATISTICS + +StatNodeRef stat_add_node(StatNodeRef parent, const char *name, int visible); +void stat_remove_node(StatNodeRef node); +uint64_t *stat_add_counter(StatNodeRef parent, const char *name, int visible); +void stat_remove_counter(uint64_t *counter); + +#define stat_inc_counter(counter, value) { \ + if (counter) { \ + *(counter) += (value); \ + } \ +} + +#else +#define stat_add_node(p, n, v) INVALID_STAT_REF +#define stat_remove_node(n) +#define stat_add_counter(p, n, v) NULL +#define stat_remove_counter(c) +#define stat_inc_counter(c, v) +#endif + +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/tests/Makefile.am b/tizen/distrib/remote/server/spice-0.12.2/server/tests/Makefile.am new file mode 100644 index 0000000..55f17e7 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/tests/Makefile.am @@ -0,0 +1,93 @@ +NULL = + +INCLUDES = \ + -I$(top_srcdir) \ + -I$(top_srcdir)/common \ + -I$(top_srcdir)/server \ + -I$(top_srcdir)/server/tests \ + $(COMMON_CFLAGS) \ + $(SMARTCARD_CFLAGS) \ + $(SPICE_NONPKGCONFIG_CFLAGS) \ + $(NULL) + +if SUPPORT_AUTOMATED_TESTS +INCLUDES += -DAUTOMATED_TESTS +endif + +LDADD = \ + $(top_builddir)/../../common/spice-common/common/libspice-common.la \ + $(top_builddir)/server/libspice-server.la \ + $(NULL) + +COMMON_BASE = \ + basic_event_loop.c \ + basic_event_loop.h \ + test_util.h \ + $(NULL) + +noinst_PROGRAMS = \ + test_display_no_ssl \ + test_display_streaming \ + test_empty_success \ + test_fail_on_null_core_interface \ + test_just_sockets_no_ssl \ + test_playback \ + test_display_resolution_changes \ + test_two_servers \ + test_vdagent \ + $(NULL) + +test_vdagent_SOURCES = \ + $(COMMON_BASE) \ + test_display_base.c \ + test_display_base.h \ + test_vdagent.c \ + $(NULL) + +test_display_streaming_SOURCES = \ + $(COMMON_BASE) \ + test_display_base.c \ + test_display_base.h \ + test_display_streaming.c \ + $(NULL) + +test_display_no_ssl_SOURCES = \ + $(COMMON_BASE) \ + test_display_base.c \ + test_display_base.h \ + test_display_no_ssl.c \ + $(NULL) + +test_display_resolution_changes_SOURCES = \ + $(COMMON_BASE) \ + test_display_base.c \ + test_display_base.h \ + test_display_resolution_changes.c \ + $(NULL) + +test_just_sockets_no_ssl_SOURCES = \ + $(COMMON_BASE) \ + test_just_sockets_no_ssl.c \ + $(NULL) + +test_playback_SOURCES = \ + $(COMMON_BASE) \ + test_playback.c \ + $(NULL) + +test_empty_success_SOURCES = \ + test_empty_success.c \ + $(NULL) + +test_fail_on_null_core_interface_SOURCES = \ + test_fail_on_null_core_interface.c \ + $(NULL) + +test_two_servers_SOURCES = \ + $(COMMON_BASE) \ + test_display_base.c \ + test_display_base.h \ + test_two_servers.c \ + $(NULL) + + diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/tests/Makefile.in b/tizen/distrib/remote/server/spice-0.12.2/server/tests/Makefile.in new file mode 100644 index 0000000..8cfec64 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/tests/Makefile.in @@ -0,0 +1,806 @@ +# Makefile.in generated by automake 1.12.2 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2012 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@ + +VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@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@ +@SUPPORT_AUTOMATED_TESTS_TRUE@am__append_1 = -DAUTOMATED_TESTS +noinst_PROGRAMS = test_display_no_ssl$(EXEEXT) \ + test_display_streaming$(EXEEXT) test_empty_success$(EXEEXT) \ + test_fail_on_null_core_interface$(EXEEXT) \ + test_just_sockets_no_ssl$(EXEEXT) test_playback$(EXEEXT) \ + test_display_resolution_changes$(EXEEXT) \ + test_two_servers$(EXEEXT) test_vdagent$(EXEEXT) \ + $(am__EXEEXT_1) +subdir = server/tests +DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ + $(top_srcdir)/depcomp +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/m4/manywarnings.m4 \ + $(top_srcdir)/m4/spice-compile-warnings.m4 \ + $(top_srcdir)/m4/warnings.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 = +am__EXEEXT_1 = +PROGRAMS = $(noinst_PROGRAMS) +am__objects_1 = +am__objects_2 = basic_event_loop.$(OBJEXT) $(am__objects_1) +am_test_display_no_ssl_OBJECTS = $(am__objects_2) \ + test_display_base.$(OBJEXT) test_display_no_ssl.$(OBJEXT) \ + $(am__objects_1) +test_display_no_ssl_OBJECTS = $(am_test_display_no_ssl_OBJECTS) +test_display_no_ssl_LDADD = $(LDADD) +am__DEPENDENCIES_1 = +test_display_no_ssl_DEPENDENCIES = \ + $(top_builddir)/../../common/spice-common/common/libspice-common.la \ + $(top_builddir)/server/libspice-server.la \ + $(am__DEPENDENCIES_1) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +am_test_display_resolution_changes_OBJECTS = $(am__objects_2) \ + test_display_base.$(OBJEXT) \ + test_display_resolution_changes.$(OBJEXT) $(am__objects_1) +test_display_resolution_changes_OBJECTS = \ + $(am_test_display_resolution_changes_OBJECTS) +test_display_resolution_changes_LDADD = $(LDADD) +test_display_resolution_changes_DEPENDENCIES = \ + $(top_builddir)/../../common/spice-common/common/libspice-common.la \ + $(top_builddir)/server/libspice-server.la \ + $(am__DEPENDENCIES_1) +am_test_display_streaming_OBJECTS = $(am__objects_2) \ + test_display_base.$(OBJEXT) test_display_streaming.$(OBJEXT) \ + $(am__objects_1) +test_display_streaming_OBJECTS = $(am_test_display_streaming_OBJECTS) +test_display_streaming_LDADD = $(LDADD) +test_display_streaming_DEPENDENCIES = \ + $(top_builddir)/../../common/spice-common/common/libspice-common.la \ + $(top_builddir)/server/libspice-server.la \ + $(am__DEPENDENCIES_1) +am_test_empty_success_OBJECTS = test_empty_success.$(OBJEXT) \ + $(am__objects_1) +test_empty_success_OBJECTS = $(am_test_empty_success_OBJECTS) +test_empty_success_LDADD = $(LDADD) +test_empty_success_DEPENDENCIES = \ + $(top_builddir)/../../common/spice-common/common/libspice-common.la \ + $(top_builddir)/server/libspice-server.la \ + $(am__DEPENDENCIES_1) +am_test_fail_on_null_core_interface_OBJECTS = \ + test_fail_on_null_core_interface.$(OBJEXT) $(am__objects_1) +test_fail_on_null_core_interface_OBJECTS = \ + $(am_test_fail_on_null_core_interface_OBJECTS) +test_fail_on_null_core_interface_LDADD = $(LDADD) +test_fail_on_null_core_interface_DEPENDENCIES = \ + $(top_builddir)/../../common/spice-common/common/libspice-common.la \ + $(top_builddir)/server/libspice-server.la \ + $(am__DEPENDENCIES_1) +am_test_just_sockets_no_ssl_OBJECTS = $(am__objects_2) \ + test_just_sockets_no_ssl.$(OBJEXT) $(am__objects_1) +test_just_sockets_no_ssl_OBJECTS = \ + $(am_test_just_sockets_no_ssl_OBJECTS) +test_just_sockets_no_ssl_LDADD = $(LDADD) +test_just_sockets_no_ssl_DEPENDENCIES = \ + $(top_builddir)/../../common/spice-common/common/libspice-common.la \ + $(top_builddir)/server/libspice-server.la \ + $(am__DEPENDENCIES_1) +am_test_playback_OBJECTS = $(am__objects_2) test_playback.$(OBJEXT) \ + $(am__objects_1) +test_playback_OBJECTS = $(am_test_playback_OBJECTS) +test_playback_LDADD = $(LDADD) +test_playback_DEPENDENCIES = \ + $(top_builddir)/../../common/spice-common/common/libspice-common.la \ + $(top_builddir)/server/libspice-server.la \ + $(am__DEPENDENCIES_1) +am_test_two_servers_OBJECTS = $(am__objects_2) \ + test_display_base.$(OBJEXT) test_two_servers.$(OBJEXT) \ + $(am__objects_1) +test_two_servers_OBJECTS = $(am_test_two_servers_OBJECTS) +test_two_servers_LDADD = $(LDADD) +test_two_servers_DEPENDENCIES = \ + $(top_builddir)/../../common/spice-common/common/libspice-common.la \ + $(top_builddir)/server/libspice-server.la \ + $(am__DEPENDENCIES_1) +am_test_vdagent_OBJECTS = $(am__objects_2) test_display_base.$(OBJEXT) \ + test_vdagent.$(OBJEXT) $(am__objects_1) +test_vdagent_OBJECTS = $(am_test_vdagent_OBJECTS) +test_vdagent_LDADD = $(LDADD) +test_vdagent_DEPENDENCIES = \ + $(top_builddir)/../../common/spice-common/common/libspice-common.la \ + $(top_builddir)/server/libspice-server.la \ + $(am__DEPENDENCIES_1) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(test_display_no_ssl_SOURCES) \ + $(test_display_resolution_changes_SOURCES) \ + $(test_display_streaming_SOURCES) \ + $(test_empty_success_SOURCES) \ + $(test_fail_on_null_core_interface_SOURCES) \ + $(test_just_sockets_no_ssl_SOURCES) $(test_playback_SOURCES) \ + $(test_two_servers_SOURCES) $(test_vdagent_SOURCES) +DIST_SOURCES = $(test_display_no_ssl_SOURCES) \ + $(test_display_resolution_changes_SOURCES) \ + $(test_display_streaming_SOURCES) \ + $(test_empty_success_SOURCES) \ + $(test_fail_on_null_core_interface_SOURCES) \ + $(test_just_sockets_no_ssl_SOURCES) $(test_playback_SOURCES) \ + $(test_two_servers_SOURCES) $(test_vdagent_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +ALSA_CFLAGS = @ALSA_CFLAGS@ +ALSA_LIBS = @ALSA_LIBS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CAC_CARD_CFLAGS = @CAC_CARD_CFLAGS@ +CAC_CARD_LIBS = @CAC_CARD_LIBS@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CEGUI06_CFLAGS = @CEGUI06_CFLAGS@ +CEGUI06_LIBS = @CEGUI06_LIBS@ +CEGUI_CFLAGS = @CEGUI_CFLAGS@ +CEGUI_LIBS = @CEGUI_LIBS@ +CELT051_CFLAGS = @CELT051_CFLAGS@ +CELT051_LIBDIR = @CELT051_LIBDIR@ +CELT051_LIBS = @CELT051_LIBS@ +CFLAGS = @CFLAGS@ +CFLAGS_CFLAGS = @CFLAGS_CFLAGS@ +COMMON_CFLAGS = @COMMON_CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXIMAGE_CFLAGS = @CXIMAGE_CFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GLIB2_CFLAGS = @GLIB2_CFLAGS@ +GLIB2_LIBS = @GLIB2_LIBS@ +GL_CFLAGS = @GL_CFLAGS@ +GL_LIBS = @GL_LIBS@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +JPEG_LIBS = @JPEG_LIBS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBM = @LIBM@ +LIBOBJS = @LIBOBJS@ +LIBRT = @LIBRT@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MISC_X_CFLAGS = @MISC_X_CFLAGS@ +MISC_X_LIBS = @MISC_X_LIBS@ +MKDIR_P = @MKDIR_P@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +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@ +PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ +PIXMAN_LIBS = @PIXMAN_LIBS@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PYTHON = @PYTHON@ +RANLIB = @RANLIB@ +SASL_CFLAGS = @SASL_CFLAGS@ +SASL_LIBS = @SASL_LIBS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SLIRP_CFLAGS = @SLIRP_CFLAGS@ +SLIRP_LIBS = @SLIRP_LIBS@ +SMARTCARD_CFLAGS = @SMARTCARD_CFLAGS@ +SMARTCARD_LIBS = @SMARTCARD_LIBS@ +SPICEC_STATIC_LINKAGE_BSTATIC = @SPICEC_STATIC_LINKAGE_BSTATIC@ +SPICE_LT_VERSION = @SPICE_LT_VERSION@ +SPICE_NONPKGCONFIG_CFLAGS = @SPICE_NONPKGCONFIG_CFLAGS@ +SPICE_NONPKGCONFIG_LIBS = @SPICE_NONPKGCONFIG_LIBS@ +SPICE_REQUIRES = @SPICE_REQUIRES@ +SSL_CFLAGS = @SSL_CFLAGS@ +SSL_LIBS = @SSL_LIBS@ +STRIP = @STRIP@ +VERSION = @VERSION@ +VISIBILITY_HIDDEN_CFLAGS = @VISIBILITY_HIDDEN_CFLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WARN_CXXFLAGS = @WARN_CXXFLAGS@ +WARN_LDFLAGS = @WARN_LDFLAGS@ +WINDRES = @WINDRES@ +XFIXES_CFLAGS = @XFIXES_CFLAGS@ +XFIXES_LIBS = @XFIXES_LIBS@ +XINERAMA_CFLAGS = @XINERAMA_CFLAGS@ +XINERAMA_LIBS = @XINERAMA_LIBS@ +XRANDR12_CFLAGS = @XRANDR12_CFLAGS@ +XRANDR12_LIBS = @XRANDR12_LIBS@ +XRANDR_CFLAGS = @XRANDR_CFLAGS@ +XRANDR_LIBS = @XRANDR_LIBS@ +Z_LIBS = @Z_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +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@ +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@ +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@ +subdirs = @subdirs@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +NULL = +INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/common \ + -I$(top_srcdir)/server -I$(top_srcdir)/server/tests \ + $(COMMON_CFLAGS) $(SMARTCARD_CFLAGS) \ + $(SPICE_NONPKGCONFIG_CFLAGS) $(NULL) $(am__append_1) +LDADD = \ + $(top_builddir)/../../common/spice-common/common/libspice-common.la \ + $(top_builddir)/server/libspice-server.la \ + $(NULL) + +COMMON_BASE = \ + basic_event_loop.c \ + basic_event_loop.h \ + test_util.h \ + $(NULL) + +test_vdagent_SOURCES = \ + $(COMMON_BASE) \ + test_display_base.c \ + test_display_base.h \ + test_vdagent.c \ + $(NULL) + +test_display_streaming_SOURCES = \ + $(COMMON_BASE) \ + test_display_base.c \ + test_display_base.h \ + test_display_streaming.c \ + $(NULL) + +test_display_no_ssl_SOURCES = \ + $(COMMON_BASE) \ + test_display_base.c \ + test_display_base.h \ + test_display_no_ssl.c \ + $(NULL) + +test_display_resolution_changes_SOURCES = \ + $(COMMON_BASE) \ + test_display_base.c \ + test_display_base.h \ + test_display_resolution_changes.c \ + $(NULL) + +test_just_sockets_no_ssl_SOURCES = \ + $(COMMON_BASE) \ + test_just_sockets_no_ssl.c \ + $(NULL) + +test_playback_SOURCES = \ + $(COMMON_BASE) \ + test_playback.c \ + $(NULL) + +test_empty_success_SOURCES = \ + test_empty_success.c \ + $(NULL) + +test_fail_on_null_core_interface_SOURCES = \ + test_fail_on_null_core_interface.c \ + $(NULL) + +test_two_servers_SOURCES = \ + $(COMMON_BASE) \ + test_display_base.c \ + test_display_base.h \ + test_two_servers.c \ + $(NULL) + +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(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 server/tests/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu server/tests/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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +clean-noinstPROGRAMS: + @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ + echo " rm -f" $$list; \ + rm -f $$list || exit $$?; \ + test -n "$(EXEEXT)" || exit 0; \ + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f" $$list; \ + rm -f $$list +test_display_no_ssl$(EXEEXT): $(test_display_no_ssl_OBJECTS) $(test_display_no_ssl_DEPENDENCIES) $(EXTRA_test_display_no_ssl_DEPENDENCIES) + @rm -f test_display_no_ssl$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_display_no_ssl_OBJECTS) $(test_display_no_ssl_LDADD) $(LIBS) +test_display_resolution_changes$(EXEEXT): $(test_display_resolution_changes_OBJECTS) $(test_display_resolution_changes_DEPENDENCIES) $(EXTRA_test_display_resolution_changes_DEPENDENCIES) + @rm -f test_display_resolution_changes$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_display_resolution_changes_OBJECTS) $(test_display_resolution_changes_LDADD) $(LIBS) +test_display_streaming$(EXEEXT): $(test_display_streaming_OBJECTS) $(test_display_streaming_DEPENDENCIES) $(EXTRA_test_display_streaming_DEPENDENCIES) + @rm -f test_display_streaming$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_display_streaming_OBJECTS) $(test_display_streaming_LDADD) $(LIBS) +test_empty_success$(EXEEXT): $(test_empty_success_OBJECTS) $(test_empty_success_DEPENDENCIES) $(EXTRA_test_empty_success_DEPENDENCIES) + @rm -f test_empty_success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_empty_success_OBJECTS) $(test_empty_success_LDADD) $(LIBS) +test_fail_on_null_core_interface$(EXEEXT): $(test_fail_on_null_core_interface_OBJECTS) $(test_fail_on_null_core_interface_DEPENDENCIES) $(EXTRA_test_fail_on_null_core_interface_DEPENDENCIES) + @rm -f test_fail_on_null_core_interface$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_fail_on_null_core_interface_OBJECTS) $(test_fail_on_null_core_interface_LDADD) $(LIBS) +test_just_sockets_no_ssl$(EXEEXT): $(test_just_sockets_no_ssl_OBJECTS) $(test_just_sockets_no_ssl_DEPENDENCIES) $(EXTRA_test_just_sockets_no_ssl_DEPENDENCIES) + @rm -f test_just_sockets_no_ssl$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_just_sockets_no_ssl_OBJECTS) $(test_just_sockets_no_ssl_LDADD) $(LIBS) +test_playback$(EXEEXT): $(test_playback_OBJECTS) $(test_playback_DEPENDENCIES) $(EXTRA_test_playback_DEPENDENCIES) + @rm -f test_playback$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_playback_OBJECTS) $(test_playback_LDADD) $(LIBS) +test_two_servers$(EXEEXT): $(test_two_servers_OBJECTS) $(test_two_servers_DEPENDENCIES) $(EXTRA_test_two_servers_DEPENDENCIES) + @rm -f test_two_servers$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_two_servers_OBJECTS) $(test_two_servers_LDADD) $(LIBS) +test_vdagent$(EXEEXT): $(test_vdagent_OBJECTS) $(test_vdagent_DEPENDENCIES) $(EXTRA_test_vdagent_DEPENDENCIES) + @rm -f test_vdagent$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_vdagent_OBJECTS) $(test_vdagent_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/basic_event_loop.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_display_base.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_display_no_ssl.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_display_resolution_changes.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_display_streaming.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_empty_success.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_fail_on_null_core_interface.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_just_sockets_no_ssl.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_playback.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_two_servers.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_vdagent.Po@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +cscopelist: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @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 $(PROGRAMS) +installdirs: +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." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \ + mostlyclean-am + +distclean: distclean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: + +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-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ + clean-libtool clean-noinstPROGRAMS cscopelist ctags distclean \ + distclean-compile distclean-generic distclean-libtool \ + distclean-tags 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-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ + pdf pdf-am ps ps-am tags uninstall uninstall-am + + +# 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: diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/tests/README b/tizen/distrib/remote/server/spice-0.12.2/server/tests/README new file mode 100644 index 0000000..2724853 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/tests/README @@ -0,0 +1,29 @@ +What is here +============ + +This directory will contain a testsuite for the server including tetris drawing. + +Unfortunately tetris and most of the tests are not here right now. You can however run all the tests and use libtool to debug any of them thus: + +libtool --mode=execute gdb test_just_sockets_no_ssl + +Overview of tests +================= + +test_just_sockets_no_ssl + A complete server, only provides the main and inputs channels. Doesn't actually produce anything on the channels. Essentially a test of the regular link code (reds.c), good for multiple connect/disconnect tests. + +test_empty_success + tests calling + +test_fail_on_null_core_interface + should abort when run (when spice tries to watch_add) + +basic_event_loop.c + used by test_just_sockets_no_ssl, can be used by other tests. very crude event loop. Should probably use libevent for better tests, but this is self contained. + +Automated tests +=============== + +test_display_streaming.c + this test can be used to check regressions. For this, Spice needs to be compiled with --enable-automated-tests and test_display_streaming needs to be called passing --automated-tests as parameter diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/tests/basic_event_loop.c b/tizen/distrib/remote/server/spice-0.12.2/server/tests/basic_event_loop.c new file mode 100644 index 0000000..57303a2 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/tests/basic_event_loop.c @@ -0,0 +1,284 @@ +#include <config.h> +#include <stdlib.h> +#include <stdio.h> +#include <sys/time.h> +#include <signal.h> +#include <string.h> + +#include "spice/macros.h" +#include "common/ring.h" +#include "test_util.h" +#include "basic_event_loop.h" + +int debug = 0; + +#define DPRINTF(x, format, ...) { \ + if (x <= debug) { \ + printf("%s: " format "\n" , __FUNCTION__, ## __VA_ARGS__); \ + } \ +} + +#define NOT_IMPLEMENTED printf("%s not implemented\n", __func__); + +static SpiceCoreInterface core; + +typedef struct SpiceTimer { + RingItem link; + SpiceTimerFunc func; + struct timeval tv_start; + int ms; + void *opaque; +} Timer; + +Ring timers; + +static SpiceTimer* timer_add(SpiceTimerFunc func, void *opaque) +{ + SpiceTimer *timer = calloc(sizeof(SpiceTimer), 1); + + timer->func = func; + timer->opaque = opaque; + ring_add(&timers, &timer->link); + return timer; +} + +static void add_ms_to_timeval(struct timeval *tv, int ms) +{ + tv->tv_usec += 1000 * ms; + while (tv->tv_usec >= 1000000) { + tv->tv_sec++; + tv->tv_usec -= 1000000; + } +} + +static void timer_start(SpiceTimer *timer, uint32_t ms) +{ + ASSERT(ms); + gettimeofday(&timer->tv_start, NULL); + timer->ms = ms; + // already add ms to timer value + add_ms_to_timeval(&timer->tv_start, ms); +} + +static void timer_cancel(SpiceTimer *timer) +{ + timer->ms = 0; +} + +static void timer_remove(SpiceTimer *timer) +{ + ring_remove(&timer->link); +} + +struct SpiceWatch { + RingItem link; + int fd; + int event_mask; + SpiceWatchFunc func; + int removed; + void *opaque; +}; + +Ring watches; + +int watch_count = 0; + +static SpiceWatch *watch_add(int fd, int event_mask, SpiceWatchFunc func, void *opaque) +{ + SpiceWatch *watch = malloc(sizeof(SpiceWatch)); + + DPRINTF(0, "adding %p, fd=%d at %d", watch, + fd, watch_count); + watch->fd = fd; + watch->event_mask = event_mask; + watch->func = func; + watch->opaque = opaque; + watch->removed = FALSE; + ring_item_init(&watch->link); + ring_add(&watches, &watch->link); + watch_count++; + return watch; +} + +static void watch_update_mask(SpiceWatch *watch, int event_mask) +{ + DPRINTF(0, "fd %d to %d", watch->fd, event_mask); + watch->event_mask = event_mask; +} + +static void watch_remove(SpiceWatch *watch) +{ + DPRINTF(0, "remove %p (fd %d)", watch, watch->fd); + watch_count--; + watch->removed = TRUE; +} + +static void channel_event(int event, SpiceChannelEventInfo *info) +{ + DPRINTF(0, "channel event con, type, id, event: %d, %d, %d, %d", + info->connection_id, info->type, info->id, event); +} + +SpiceTimer *get_next_timer(void) +{ + SpiceTimer *next, *min; + + if (ring_is_empty(&timers)) { + return NULL; + } + min = next = (SpiceTimer*)ring_get_head(&timers); + while ((next=(SpiceTimer*)ring_next(&timers, &next->link)) != NULL) { + if (next->ms && + (next->tv_start.tv_sec < min->tv_start.tv_sec || + (next->tv_start.tv_sec == min->tv_start.tv_sec && + next->tv_start.tv_usec < min->tv_start.tv_usec))) { + min = next; + } + } + return min; +} + +struct timeval now; + +void tv_b_minus_a_return_le_zero(struct timeval *a, struct timeval *b, struct timeval *dest) +{ + dest->tv_usec = b->tv_usec - a->tv_usec; + dest->tv_sec = b->tv_sec - a->tv_sec; + while (dest->tv_usec < 0) { + dest->tv_usec += 1000000; + dest->tv_sec--; + } + if (dest->tv_sec < 0) { + dest->tv_sec = 0; + dest->tv_usec = 0; + } +} + +void calc_next_timeout(SpiceTimer *next, struct timeval *timeout) +{ + gettimeofday(&now, NULL); + tv_b_minus_a_return_le_zero(&now, &next->tv_start, timeout); +} + +void timeout_timers(void) +{ + SpiceTimer *next; + struct timeval left; + int count = 0; + + next = (SpiceTimer*)ring_get_head(&timers); + while (next != NULL) { + tv_b_minus_a_return_le_zero(&now, &next->tv_start, &left); + if (next->ms && left.tv_usec == 0 && left.tv_sec == 0) { + count++; + DPRINTF(2, "calling timer"); + next->ms = 0; + next->func(next->opaque); + } + next = (SpiceTimer*)ring_next(&timers, &next->link); + } + DPRINTF(2, "called %d timers", count); +} + +void basic_event_loop_mainloop(void) +{ + fd_set rfds, wfds; + int max_fd = -1; + int i; + int retval; + SpiceWatch *watch; + SpiceTimer *next_timer; + RingItem *link; + RingItem *next; + struct timeval next_timer_timeout; + struct timeval *timeout; + + while (1) { + FD_ZERO(&rfds); + FD_ZERO(&wfds); + i = 0; + RING_FOREACH_SAFE(link, next, &watches) { + watch = (SpiceWatch*)link; + if (watch->removed) { + continue; + } + if (watch->event_mask & SPICE_WATCH_EVENT_READ) { + FD_SET(watch->fd, &rfds); + max_fd = watch->fd > max_fd ? watch->fd : max_fd; + } + if (watch->event_mask & SPICE_WATCH_EVENT_WRITE) { + FD_SET(watch->fd, &wfds); + max_fd = watch->fd > max_fd ? watch->fd : max_fd; + } + i++; + } + if ((next_timer = get_next_timer()) != NULL) { + calc_next_timeout(next_timer, &next_timer_timeout); + timeout = &next_timer_timeout; + DPRINTF(2, "timeout of %ld.%06ld", + timeout->tv_sec, timeout->tv_usec); + } else { + timeout = NULL; + } + DPRINTF(1, "watching %d fds", i); + retval = select(max_fd + 1, &rfds, &wfds, NULL, timeout); + if (timeout != NULL) { + calc_next_timeout(next_timer, &next_timer_timeout); + if (next_timer_timeout.tv_sec == 0 && + next_timer_timeout.tv_usec == 0) { + timeout_timers(); + } + } + if (retval == -1) { + printf("error in select - exiting\n"); + abort(); + } + if (retval) { + RING_FOREACH_SAFE(link, next, &watches) { + watch = SPICE_CONTAINEROF(link, SpiceWatch, link); + if (!watch->removed && (watch->event_mask & SPICE_WATCH_EVENT_READ) + && FD_ISSET(watch->fd, &rfds)) { + watch->func(watch->fd, SPICE_WATCH_EVENT_READ, watch->opaque); + } + if (!watch->removed && (watch->event_mask & SPICE_WATCH_EVENT_WRITE) + && FD_ISSET(watch->fd, &wfds)) { + watch->func(watch->fd, SPICE_WATCH_EVENT_WRITE, watch->opaque); + } + if (watch->removed) { + printf("freeing watch %p\n", watch); + ring_remove(&watch->link); + free(watch); + } + } + } + } +} + +static void ignore_sigpipe(void) +{ + struct sigaction act; + + memset(&act, 0, sizeof(act)); + sigfillset(&act.sa_mask); + act.sa_handler = SIG_IGN; + sigaction(SIGPIPE, &act, NULL); +} + +SpiceCoreInterface *basic_event_loop_init(void) +{ + ring_init(&watches); + ring_init(&timers); + memset(&core, 0, sizeof(core)); + core.base.major_version = SPICE_INTERFACE_CORE_MAJOR; + core.base.minor_version = SPICE_INTERFACE_CORE_MINOR; // anything less then 3 and channel_event isn't called + core.timer_add = timer_add; + core.timer_start = timer_start; + core.timer_cancel = timer_cancel; + core.timer_remove = timer_remove; + core.watch_add = watch_add; + core.watch_update_mask = watch_update_mask; + core.watch_remove = watch_remove; + core.channel_event = channel_event; + ignore_sigpipe(); + return &core; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/tests/basic_event_loop.h b/tizen/distrib/remote/server/spice-0.12.2/server/tests/basic_event_loop.h new file mode 100644 index 0000000..5f6ebe7 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/tests/basic_event_loop.h @@ -0,0 +1,9 @@ +#ifndef __BASIC_EVENT_LOOP_H__ +#define __BASIC_EVENT_LOOP_H__ + +#include <spice.h> + +SpiceCoreInterface *basic_event_loop_init(void); +void basic_event_loop_mainloop(void); + +#endif // __BASIC_EVENT_LOOP_H__ diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_display_base.c b/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_display_base.c new file mode 100644 index 0000000..1cdf777 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_display_base.c @@ -0,0 +1,867 @@ +#include <config.h> +#include <stdlib.h> +#include <math.h> +#include <string.h> +#include <stdio.h> +#include <unistd.h> +#include <signal.h> +#include <wait.h> +#include <sys/select.h> +#include <sys/types.h> +#include <getopt.h> + +#include "spice.h" +#include <spice/qxl_dev.h> + +#include "test_display_base.h" +#include "red_channel.h" +#include "test_util.h" + +#define MEM_SLOT_GROUP_ID 0 + +#define NOTIFY_DISPLAY_BATCH (SINGLE_PART/2) +#define NOTIFY_CURSOR_BATCH 10 + +/* Parts cribbed from spice-display.h/.c/qxl.c */ + +typedef struct SimpleSpiceUpdate { + QXLCommandExt ext; // first + QXLDrawable drawable; + QXLImage image; + uint8_t *bitmap; +} SimpleSpiceUpdate; + +typedef struct SimpleSurfaceCmd { + QXLCommandExt ext; // first + QXLSurfaceCmd surface_cmd; +} SimpleSurfaceCmd; + +static void test_spice_destroy_update(SimpleSpiceUpdate *update) +{ + if (!update) { + return; + } + if (update->drawable.clip.type != SPICE_CLIP_TYPE_NONE) { +// uint8_t *ptr = (uint8_t*)update->drawable.clip.data; +// free(ptr); + } + free(update->bitmap); + free(update); +} + +static uint32_t test_width; +static uint32_t test_height; + +#define DEFAULT_WIDTH 640 +#define DEFAULT_HEIGHT 320 + +#define SINGLE_PART 4 +static const int angle_parts = 64 / SINGLE_PART; +static int unique = 1; +static int color = -1; +static int c_i = 0; + +/* Used for automated tests */ +static int control = 3; //used to know when we can take a screenshot +static int rects = 16; //number of rects that will be draw +static int has_automated_tests = 0; //automated test flag + +static void sigchld_handler(int signal_num) // wait for the child process and exit +{ + int status; + wait(&status); + exit(0); +} + +static void regression_test(void) +{ + pid_t pid; + + if (--rects != 0) { + return; + } + + rects = 16; + + if (--control != 0) { + return; + } + + pid = fork(); + if (pid == 0) { + char buf[PATH_MAX]; + char *envp[] = {buf, NULL}; + + snprintf(buf, sizeof(buf), "PATH=%s", getenv("PATH")); + execve("regression_test.py", NULL, envp); + } else if (pid > 0) { + return; + } +} + +static void set_cmd(QXLCommandExt *ext, uint32_t type, QXLPHYSICAL data) +{ + ext->cmd.type = type; + ext->cmd.data = data; + ext->cmd.padding = 0; + ext->group_id = MEM_SLOT_GROUP_ID; + ext->flags = 0; +} + +static void simple_set_release_info(QXLReleaseInfo *info, intptr_t ptr) +{ + info->id = ptr; + //info->group_id = MEM_SLOT_GROUP_ID; +} + +typedef struct Path { + int t; + int min_t; + int max_t; +} Path; + +static void path_init(Path *path, int min, int max) +{ + path->t = min; + path->min_t = min; + path->max_t = max; +} + +static void path_progress(Path *path) +{ + path->t = (path->t+1)% (path->max_t - path->min_t) + path->min_t; +} + +Path path; + +static void draw_pos(Test *test, int t, int *x, int *y) +{ +#ifdef CIRCLE + *y = test->primary_height/2 + (test->primary_height/3)*cos(t*2*M_PI/angle_parts); + *x = test->primary_width/2 + (test->primary_width/3)*sin(t*2*M_PI/angle_parts); +#else + *y = test->primary_height*(t % SINGLE_PART)/SINGLE_PART; + *x = ((test->primary_width/SINGLE_PART)*(t / SINGLE_PART)) % test->primary_width; +#endif +} + +/* bitmap and rects are freed, so they must be allocated with malloc */ +SimpleSpiceUpdate *test_spice_create_update_from_bitmap(uint32_t surface_id, + QXLRect bbox, + uint8_t *bitmap, + uint32_t num_clip_rects, + QXLRect *clip_rects) +{ + SimpleSpiceUpdate *update; + QXLDrawable *drawable; + QXLImage *image; + uint32_t bw, bh; + + bh = bbox.bottom - bbox.top; + bw = bbox.right - bbox.left; + + update = calloc(sizeof(*update), 1); + update->bitmap = bitmap; + drawable = &update->drawable; + image = &update->image; + + drawable->surface_id = surface_id; + + drawable->bbox = bbox; + if (num_clip_rects == 0) { + drawable->clip.type = SPICE_CLIP_TYPE_NONE; + } else { + QXLClipRects *cmd_clip; + + cmd_clip = calloc(sizeof(QXLClipRects) + num_clip_rects*sizeof(QXLRect), 1); + cmd_clip->num_rects = num_clip_rects; + cmd_clip->chunk.data_size = num_clip_rects*sizeof(QXLRect); + cmd_clip->chunk.prev_chunk = cmd_clip->chunk.next_chunk = 0; + memcpy(cmd_clip + 1, clip_rects, cmd_clip->chunk.data_size); + + drawable->clip.type = SPICE_CLIP_TYPE_RECTS; + drawable->clip.data = (intptr_t)cmd_clip; + + free(clip_rects); + } + drawable->effect = QXL_EFFECT_OPAQUE; + simple_set_release_info(&drawable->release_info, (intptr_t)update); + drawable->type = QXL_DRAW_COPY; + drawable->surfaces_dest[0] = -1; + drawable->surfaces_dest[1] = -1; + drawable->surfaces_dest[2] = -1; + + drawable->u.copy.rop_descriptor = SPICE_ROPD_OP_PUT; + drawable->u.copy.src_bitmap = (intptr_t)image; + drawable->u.copy.src_area.right = bw; + drawable->u.copy.src_area.bottom = bh; + + QXL_SET_IMAGE_ID(image, QXL_IMAGE_GROUP_DEVICE, unique); + image->descriptor.type = SPICE_IMAGE_TYPE_BITMAP; + image->bitmap.flags = QXL_BITMAP_DIRECT | QXL_BITMAP_TOP_DOWN; + image->bitmap.stride = bw * 4; + image->descriptor.width = image->bitmap.x = bw; + image->descriptor.height = image->bitmap.y = bh; + image->bitmap.data = (intptr_t)bitmap; + image->bitmap.palette = 0; + image->bitmap.format = SPICE_BITMAP_FMT_32BIT; + + set_cmd(&update->ext, QXL_CMD_DRAW, (intptr_t)drawable); + + return update; +} + +static SimpleSpiceUpdate *test_spice_create_update_solid(uint32_t surface_id, QXLRect bbox, uint32_t color) +{ + uint8_t *bitmap; + uint32_t *dst; + uint32_t bw; + uint32_t bh; + int i; + + bw = bbox.right - bbox.left; + bh = bbox.bottom - bbox.top; + + bitmap = malloc(bw * bh * 4); + dst = (uint32_t *)bitmap; + + for (i = 0 ; i < bh * bw ; ++i, ++dst) { + *dst = color; + } + + return test_spice_create_update_from_bitmap(surface_id, bbox, bitmap, 0, NULL); +} + +static SimpleSpiceUpdate *test_spice_create_update_draw(Test *test, uint32_t surface_id, int t) +{ + int top, left; + uint8_t *dst; + uint8_t *bitmap; + int bw, bh; + int i; + QXLRect bbox; + + draw_pos(test, t, &left, &top); + if ((t % angle_parts) == 0) { + c_i++; + } + + if (surface_id != 0) { + color = (color + 1) % 2; + } else { + color = surface_id; + } + + unique++; + + bw = test->primary_width/SINGLE_PART; + bh = 48; + + bitmap = dst = malloc(bw * bh * 4); + //printf("allocated %p\n", dst); + + for (i = 0 ; i < bh * bw ; ++i, dst+=4) { + *dst = (color+i % 255); + *(dst+((1+c_i)%3)) = 255 - color; + *(dst+((2+c_i)%3)) = (color * (color + i)) & 0xff; + *(dst+((3+c_i)%3)) = 0; + } + + bbox.left = left; bbox.top = top; + bbox.right = left + bw; bbox.bottom = top + bh; + return test_spice_create_update_from_bitmap(surface_id, bbox, bitmap, 0, NULL); +} + +static SimpleSpiceUpdate *test_spice_create_update_copy_bits(Test *test, uint32_t surface_id) +{ + SimpleSpiceUpdate *update; + QXLDrawable *drawable; + int bw, bh; + QXLRect bbox = { + .left = 10, + .top = 0, + }; + + update = calloc(sizeof(*update), 1); + drawable = &update->drawable; + + bw = test->primary_width/SINGLE_PART; + bh = 48; + bbox.right = bbox.left + bw; + bbox.bottom = bbox.top + bh; + //printf("allocated %p, %p\n", update, update->bitmap); + + drawable->surface_id = surface_id; + + drawable->bbox = bbox; + drawable->clip.type = SPICE_CLIP_TYPE_NONE; + drawable->effect = QXL_EFFECT_OPAQUE; + simple_set_release_info(&drawable->release_info, (intptr_t)update); + drawable->type = QXL_COPY_BITS; + drawable->surfaces_dest[0] = -1; + drawable->surfaces_dest[1] = -1; + drawable->surfaces_dest[2] = -1; + + drawable->u.copy_bits.src_pos.x = 0; + drawable->u.copy_bits.src_pos.y = 0; + + set_cmd(&update->ext, QXL_CMD_DRAW, (intptr_t)drawable); + + return update; +} + +static SimpleSurfaceCmd *create_surface(int surface_id, int width, int height, uint8_t *data) +{ + SimpleSurfaceCmd *simple_cmd = calloc(sizeof(SimpleSurfaceCmd), 1); + QXLSurfaceCmd *surface_cmd = &simple_cmd->surface_cmd; + + set_cmd(&simple_cmd->ext, QXL_CMD_SURFACE, (intptr_t)surface_cmd); + simple_set_release_info(&surface_cmd->release_info, (intptr_t)simple_cmd); + surface_cmd->type = QXL_SURFACE_CMD_CREATE; + surface_cmd->flags = 0; // ? + surface_cmd->surface_id = surface_id; + surface_cmd->u.surface_create.format = SPICE_SURFACE_FMT_32_xRGB; + surface_cmd->u.surface_create.width = width; + surface_cmd->u.surface_create.height = height; + surface_cmd->u.surface_create.stride = -width * 4; + surface_cmd->u.surface_create.data = (intptr_t)data; + return simple_cmd; +} + +static SimpleSurfaceCmd *destroy_surface(int surface_id) +{ + SimpleSurfaceCmd *simple_cmd = calloc(sizeof(SimpleSurfaceCmd), 1); + QXLSurfaceCmd *surface_cmd = &simple_cmd->surface_cmd; + + set_cmd(&simple_cmd->ext, QXL_CMD_SURFACE, (intptr_t)surface_cmd); + simple_set_release_info(&surface_cmd->release_info, (intptr_t)simple_cmd); + surface_cmd->type = QXL_SURFACE_CMD_DESTROY; + surface_cmd->flags = 0; // ? + surface_cmd->surface_id = surface_id; + return simple_cmd; +} + +static void create_primary_surface(Test *test, uint32_t width, + uint32_t height) +{ + QXLWorker *qxl_worker = test->qxl_worker; + QXLDevSurfaceCreate surface = { 0, }; + + ASSERT(height <= MAX_HEIGHT); + ASSERT(width <= MAX_WIDTH); + ASSERT(height > 0); + ASSERT(width > 0); + + surface.format = SPICE_SURFACE_FMT_32_xRGB; + surface.width = test->primary_width = width; + surface.height = test->primary_height = height; + surface.stride = -width * 4; /* negative? */ + surface.mouse_mode = TRUE; /* unused by red_worker */ + surface.flags = 0; + surface.type = 0; /* unused by red_worker */ + surface.position = 0; /* unused by red_worker */ +// surface.mem = (uint64_t)&test->primary_surface; + surface.group_id = MEM_SLOT_GROUP_ID; + + test->width = width; + test->height = height; + + qxl_worker->create_primary_surface(qxl_worker, 0, &surface); +} + +QXLDevMemSlot slot = { +.slot_group_id = MEM_SLOT_GROUP_ID, +.slot_id = 0, +.generation = 0, +.virt_start = 0, +.virt_end = ~0, +.addr_delta = 0, +.qxl_ram_size = ~0, +}; + +static void attache_worker(QXLInstance *qin, QXLWorker *_qxl_worker) +{ + Test *test = SPICE_CONTAINEROF(qin, Test, qxl_instance); + + if (test->qxl_worker) { + if (test->qxl_worker != _qxl_worker) + printf("%s ignored, %p is set, ignoring new %p\n", __func__, + test->qxl_worker, _qxl_worker); + else + printf("%s ignored, redundant\n", __func__); + return; + } + printf("%s\n", __func__); + test->qxl_worker = _qxl_worker; + test->qxl_worker->add_memslot(test->qxl_worker, &slot); + create_primary_surface(test, DEFAULT_WIDTH, DEFAULT_HEIGHT); + test->qxl_worker->start(test->qxl_worker); +} + +static void set_compression_level(QXLInstance *qin, int level) +{ + printf("%s\n", __func__); +} + +static void set_mm_time(QXLInstance *qin, uint32_t mm_time) +{ +} + +// we now have a secondary surface +#define MAX_SURFACE_NUM 2 + +static void get_init_info(QXLInstance *qin, QXLDevInitInfo *info) +{ + memset(info, 0, sizeof(*info)); + info->num_memslots = 1; + info->num_memslots_groups = 1; + info->memslot_id_bits = 1; + info->memslot_gen_bits = 1; + info->n_surfaces = MAX_SURFACE_NUM; +} + +// We shall now have a ring of commands, so that we can update +// it from a separate thread - since get_command is called from +// the worker thread, and we need to sometimes do an update_area, +// which cannot be done from red_worker context (not via dispatcher, +// since you get a deadlock, and it isn't designed to be done +// any other way, so no point testing that). +int commands_end = 0; +int commands_start = 0; +struct QXLCommandExt* commands[1024]; + +#define COMMANDS_SIZE COUNT(commands) + +static void push_command(QXLCommandExt *ext) +{ + ASSERT(commands_end - commands_start < COMMANDS_SIZE); + commands[commands_end % COMMANDS_SIZE] = ext; + commands_end++; +} + +static struct QXLCommandExt *get_simple_command(void) +{ + struct QXLCommandExt *ret = commands[commands_start % COMMANDS_SIZE]; + ASSERT(commands_start < commands_end); + commands_start++; + return ret; +} + +static int get_num_commands(void) +{ + return commands_end - commands_start; +} + +// called from spice_server thread (i.e. red_worker thread) +static int get_command(QXLInstance *qin, struct QXLCommandExt *ext) +{ + if (get_num_commands() == 0) { + return FALSE; + } + *ext = *get_simple_command(); + return TRUE; +} + +static void produce_command(Test *test) +{ + Command *command; + QXLWorker *qxl_worker = test->qxl_worker; + + ASSERT(qxl_worker); + + if (test->has_secondary) + test->target_surface = 1; + + ASSERT(test->num_commands); + + command = &test->commands[test->cmd_index]; + if (command->cb) { + command->cb(test, command); + } + switch (command->command) { + case SLEEP: + printf("sleep %u seconds\n", command->sleep.secs); + sleep(command->sleep.secs); + break; + case PATH_PROGRESS: + path_progress(&path); + break; + case SIMPLE_UPDATE: { + QXLRect rect = { + .left = 0, + .right = (test->target_surface == 0 ? test_width : SURF_WIDTH), + .top = 0, + .bottom = (test->target_surface == 0 ? test_height : SURF_HEIGHT) + }; + if (rect.right > 0 && rect.bottom > 0) { + qxl_worker->update_area(qxl_worker, test->target_surface, &rect, NULL, 0, 1); + } + break; + } + + /* Drawing commands, they all push a command to the command ring */ + case SIMPLE_COPY_BITS: + case SIMPLE_DRAW_SOLID: + case SIMPLE_DRAW_BITMAP: + case SIMPLE_DRAW: { + SimpleSpiceUpdate *update; + + if (has_automated_tests) + { + if (control == 0) { + return; + } + + regression_test(); + } + + switch (command->command) { + case SIMPLE_COPY_BITS: + update = test_spice_create_update_copy_bits(test, 0); + break; + case SIMPLE_DRAW: + update = test_spice_create_update_draw(test, 0, path.t); + break; + case SIMPLE_DRAW_BITMAP: + update = test_spice_create_update_from_bitmap(command->bitmap.surface_id, + command->bitmap.bbox, command->bitmap.bitmap, + command->bitmap.num_clip_rects, command->bitmap.clip_rects); + break; + case SIMPLE_DRAW_SOLID: + update = test_spice_create_update_solid(command->solid.surface_id, + command->solid.bbox, command->solid.color); + break; + } + push_command(&update->ext); + break; + } + + case SIMPLE_CREATE_SURFACE: { + SimpleSurfaceCmd *update; + test->target_surface = MAX_SURFACE_NUM - 1; + update = create_surface(test->target_surface, SURF_WIDTH, SURF_HEIGHT, + test->secondary_surface); + push_command(&update->ext); + test->has_secondary = 1; + break; + } + + case SIMPLE_DESTROY_SURFACE: { + SimpleSurfaceCmd *update; + test->has_secondary = 0; + update = destroy_surface(test->target_surface); + test->target_surface = 0; + push_command(&update->ext); + break; + } + + case DESTROY_PRIMARY: + qxl_worker->destroy_primary_surface(qxl_worker, 0); + break; + + case CREATE_PRIMARY: + create_primary_surface(test, + command->create_primary.width, command->create_primary.height); + break; + } + test->cmd_index = (test->cmd_index + 1) % test->num_commands; +} + +static int req_cmd_notification(QXLInstance *qin) +{ + Test *test = SPICE_CONTAINEROF(qin, Test, qxl_instance); + + test->core->timer_start(test->wakeup_timer, test->wakeup_ms); + return TRUE; +} + +static void do_wakeup(void *opaque) +{ + Test *test = opaque; + int notify; + + test->cursor_notify = NOTIFY_CURSOR_BATCH; + for (notify = NOTIFY_DISPLAY_BATCH; notify > 0;--notify) { + produce_command(test); + } + + test->core->timer_start(test->wakeup_timer, test->wakeup_ms); + test->qxl_worker->wakeup(test->qxl_worker); +} + +static void release_resource(QXLInstance *qin, struct QXLReleaseInfoExt release_info) +{ + QXLCommandExt *ext = (QXLCommandExt*)(unsigned long)release_info.info->id; + //printf("%s\n", __func__); + ASSERT(release_info.group_id == MEM_SLOT_GROUP_ID); + switch (ext->cmd.type) { + case QXL_CMD_DRAW: + test_spice_destroy_update((void*)ext); + break; + case QXL_CMD_SURFACE: + free(ext); + break; + case QXL_CMD_CURSOR: { + QXLCursorCmd *cmd = (QXLCursorCmd *)(unsigned long)ext->cmd.data; + if (cmd->type == QXL_CURSOR_SET) { + free(cmd); + } + free(ext); + break; + } + default: + abort(); + } +} + +#define CURSOR_WIDTH 32 +#define CURSOR_HEIGHT 32 + +static struct { + QXLCursor cursor; + uint8_t data[CURSOR_WIDTH * CURSOR_HEIGHT * 4]; // 32bit per pixel +} cursor; + +static void cursor_init() +{ + cursor.cursor.header.unique = 0; + cursor.cursor.header.type = SPICE_CURSOR_TYPE_COLOR32; + cursor.cursor.header.width = CURSOR_WIDTH; + cursor.cursor.header.height = CURSOR_HEIGHT; + cursor.cursor.header.hot_spot_x = 0; + cursor.cursor.header.hot_spot_y = 0; + cursor.cursor.data_size = CURSOR_WIDTH * CURSOR_HEIGHT * 4; + + // X drivers addes it to the cursor size because it could be + // cursor data information or another cursor related stuffs. + // Otherwise, the code will break in client/cursor.cpp side, + // that expect the data_size plus cursor information. + // Blame cursor protocol for this. :-) + cursor.cursor.data_size += 128; + cursor.cursor.chunk.data_size = cursor.cursor.data_size; + cursor.cursor.chunk.prev_chunk = cursor.cursor.chunk.next_chunk = 0; +} + +static int get_cursor_command(QXLInstance *qin, struct QXLCommandExt *ext) +{ + Test *test = SPICE_CONTAINEROF(qin, Test, qxl_instance); + static int color = 0; + static int set = 1; + static int x = 0, y = 0; + QXLCursorCmd *cursor_cmd; + QXLCommandExt *cmd; + + if (!test->cursor_notify) { + return FALSE; + } + + test->cursor_notify--; + cmd = calloc(sizeof(QXLCommandExt), 1); + cursor_cmd = calloc(sizeof(QXLCursorCmd), 1); + + cursor_cmd->release_info.id = (unsigned long)cmd; + + if (set) { + cursor_cmd->type = QXL_CURSOR_SET; + cursor_cmd->u.set.position.x = 0; + cursor_cmd->u.set.position.y = 0; + cursor_cmd->u.set.visible = TRUE; + cursor_cmd->u.set.shape = (unsigned long)&cursor; + // Only a white rect (32x32) as cursor + memset(cursor.data, 255, sizeof(cursor.data)); + set = 0; + } else { + cursor_cmd->type = QXL_CURSOR_MOVE; + cursor_cmd->u.position.x = x++ % test->primary_width; + cursor_cmd->u.position.y = y++ % test->primary_height; + } + + cmd->cmd.data = (unsigned long)cursor_cmd; + cmd->cmd.type = QXL_CMD_CURSOR; + cmd->group_id = MEM_SLOT_GROUP_ID; + cmd->flags = 0; + *ext = *cmd; + //printf("%s\n", __func__); + return TRUE; +} + +static int req_cursor_notification(QXLInstance *qin) +{ + printf("%s\n", __func__); + return TRUE; +} + +static void notify_update(QXLInstance *qin, uint32_t update_id) +{ + printf("%s\n", __func__); +} + +static int flush_resources(QXLInstance *qin) +{ + printf("%s\n", __func__); + return TRUE; +} + +static void client_monitors_config(QXLInstance *qin, VDAgentMonitorsConfig *monitors_config) +{ + if (!monitors_config) { + printf("%s: NULL monitors_config\n", __func__); + } else { + printf("%s: %d\n", __func__, monitors_config->num_of_monitors); + } +} + +QXLInterface display_sif = { + .base = { + .type = SPICE_INTERFACE_QXL, + .description = "test", + .major_version = SPICE_INTERFACE_QXL_MAJOR, + .minor_version = SPICE_INTERFACE_QXL_MINOR + }, + .attache_worker = attache_worker, + .set_compression_level = set_compression_level, + .set_mm_time = set_mm_time, + .get_init_info = get_init_info, + + /* the callbacks below are called from spice server thread context */ + .get_command = get_command, + .req_cmd_notification = req_cmd_notification, + .release_resource = release_resource, + .get_cursor_command = get_cursor_command, + .req_cursor_notification = req_cursor_notification, + .notify_update = notify_update, + .flush_resources = flush_resources, +// .client_monitors_config = client_monitors_config, +}; + +/* interface for tests */ +void test_add_display_interface(Test* test) +{ + spice_server_add_interface(test->server, &test->qxl_instance.base); +} + +static int vmc_write(SpiceCharDeviceInstance *sin, const uint8_t *buf, int len) +{ + printf("%s: %d\n", __func__, len); + return len; +} + +static int vmc_read(SpiceCharDeviceInstance *sin, uint8_t *buf, int len) +{ + printf("%s: %d\n", __func__, len); + return 0; +} + +static void vmc_state(SpiceCharDeviceInstance *sin, int connected) +{ + printf("%s: %d\n", __func__, connected); +} + +static SpiceCharDeviceInterface vdagent_sif = { + .base.type = SPICE_INTERFACE_CHAR_DEVICE, + .base.description = "test spice virtual channel char device", + .base.major_version = SPICE_INTERFACE_CHAR_DEVICE_MAJOR, + .base.minor_version = SPICE_INTERFACE_CHAR_DEVICE_MINOR, + .state = vmc_state, + .write = vmc_write, + .read = vmc_read, +}; + +SpiceCharDeviceInstance vdagent_sin = { + .base = { + .sif = &vdagent_sif.base, + }, + .subtype = "vdagent", +}; + +void test_add_agent_interface(SpiceServer *server) +{ + spice_server_add_interface(server, &vdagent_sin.base); +} + +void test_set_simple_command_list(Test *test, int *simple_commands, int num_commands) +{ + int i; + + /* FIXME: leaks */ + test->commands = malloc(sizeof(*test->commands) * num_commands); + memset(test->commands, 0, sizeof(*test->commands) * num_commands); + test->num_commands = num_commands; + for (i = 0 ; i < num_commands; ++i) { + test->commands[i].command = simple_commands[i]; + } +} + +void test_set_command_list(Test *test, Command *commands, int num_commands) +{ + test->commands = commands; + test->num_commands = num_commands; +} + + +Test *test_new(SpiceCoreInterface *core) +{ + int port = 5912; + Test *test = spice_new0(Test, 1); + SpiceServer* server = spice_server_new(); + + test->qxl_instance.base.sif = &display_sif.base; + test->qxl_instance.id = 0; + + test->core = core; + test->server = server; + test->wakeup_ms = 50; + test->cursor_notify = NOTIFY_CURSOR_BATCH; + // some common initialization for all display tests + printf("TESTER: listening on port %d (unsecure)\n", port); + spice_server_set_port(server, port); + spice_server_set_noauth(server); + spice_server_init(server, core); + + cursor_init(); + path_init(&path, 0, angle_parts); + test->has_secondary = 0; + test->wakeup_timer = core->timer_add(do_wakeup, test); + return test; +} + +void init_automated() +{ + struct sigaction sa; + + memset(&sa, 0, sizeof sa); + sa.sa_handler = &sigchld_handler; + sigaction(SIGCHLD, &sa, NULL); +} + +void spice_test_config_parse_args(int argc, char **argv) +{ + struct option options[] = { +#ifdef AUTOMATED_TESTS + {"automated-tests", no_argument, &has_automated_tests, 1}, +#endif + {NULL, 0, NULL, 0}, + }; + int option_index; + int val; + + while ((val = getopt_long(argc, argv, "", options, &option_index)) != -1) { + switch (val) { + case '?': + printf("unrecognized option %s", argv[optind]); + goto invalid_option; + case 0: + break; + } + } + + if (has_automated_tests) { + init_automated(); + } + return; + +invalid_option: + printf("Invalid option!\n" + "usage: %s [--automated-tests]\n", argv[0]); + exit(0); +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_display_base.h b/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_display_base.h new file mode 100644 index 0000000..c3b9fea --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_display_base.h @@ -0,0 +1,116 @@ +#ifndef __TEST_DISPLAY_BASE_H__ +#define __TEST_DISPLAY_BASE_H__ + +#include <spice.h> +#include "basic_event_loop.h" + +#define COUNT(x) ((sizeof(x)/sizeof(x[0]))) + +/* + * simple queue for commands. + * each command can have up to two parameters (grow as needed) + * + * TODO: switch to gtk main loop. Then add gobject-introspection. then + * write tests in python/guile/whatever. + */ +typedef enum { + PATH_PROGRESS, + SIMPLE_CREATE_SURFACE, + SIMPLE_DRAW, + SIMPLE_DRAW_BITMAP, + SIMPLE_DRAW_SOLID, + SIMPLE_COPY_BITS, + SIMPLE_DESTROY_SURFACE, + SIMPLE_UPDATE, + DESTROY_PRIMARY, + CREATE_PRIMARY, + SLEEP +} CommandType; + +typedef struct CommandCreatePrimary { + uint32_t width; + uint32_t height; +} CommandCreatePrimary; + +typedef struct CommandDrawBitmap { + QXLRect bbox; + uint8_t *bitmap; + uint32_t surface_id; + uint32_t num_clip_rects; + QXLRect *clip_rects; +} CommandDrawBitmap; + +typedef struct CommandDrawSolid { + QXLRect bbox; + uint32_t color; + uint32_t surface_id; +} CommandDrawSolid; + +typedef struct CommandSleep { + uint32_t secs; +} CommandSleep; + +typedef struct Command Command; +typedef struct Test Test; + +struct Command { + CommandType command; + void (*cb)(Test *test, Command *command); + void *cb_opaque; + union { + CommandCreatePrimary create_primary; + CommandDrawBitmap bitmap; + CommandDrawSolid solid; + CommandSleep sleep; + }; +}; + +#define MAX_HEIGHT 2048 +#define MAX_WIDTH 2048 + +#define SURF_WIDTH 320 +#define SURF_HEIGHT 240 + +struct Test { + SpiceCoreInterface *core; + SpiceServer *server; + + QXLInstance qxl_instance; + QXLWorker *qxl_worker; + + uint8_t primary_surface[MAX_HEIGHT * MAX_WIDTH * 4]; + int primary_height; + int primary_width; + + SpiceTimer *wakeup_timer; + int wakeup_ms; + + int cursor_notify; + + uint8_t secondary_surface[SURF_WIDTH * SURF_HEIGHT * 4]; + int has_secondary; + + // Current mode (set by create_primary) + int width; + int height; + + // qxl scripted rendering commands and io + Command *commands; + int num_commands; + int cmd_index; + + int target_surface; +}; + +void test_set_simple_command_list(Test *test, int *command, int num_commands); +void test_set_command_list(Test *test, Command *command, int num_commands); +void test_add_display_interface(Test *test); +void test_add_agent_interface(SpiceServer *server); // TODO - Test *test +Test* test_new(SpiceCoreInterface* core); + +uint32_t test_get_width(void); +uint32_t test_get_height(void); + +void spice_test_config_parse_args(int argc, char **argv); + +#endif /* __TEST_DISPLAY_BASE_H__ */ diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_display_no_ssl.c b/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_display_no_ssl.c new file mode 100644 index 0000000..83ab3dc --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_display_no_ssl.c @@ -0,0 +1,55 @@ +/** + * Test ground for developing specific tests. + * + * Any specific test can start of from here and set the server to the + * specific required state, and create specific operations or reuse + * existing ones in the test_display_base supplied queue. + */ + +#include <config.h> +#include <stdlib.h> +#include "test_display_base.h" + +SpiceCoreInterface *core; +SpiceTimer *ping_timer; + +void show_channels(SpiceServer *server); + +int ping_ms = 100; + +void pinger(void *opaque) +{ + // show_channels is not thread safe - fails if disconnections / connections occur + //show_channels(server); + + core->timer_start(ping_timer, ping_ms); +} + +int simple_commands[] = { + //SIMPLE_CREATE_SURFACE, + //SIMPLE_DRAW, + //SIMPLE_DESTROY_SURFACE, + //PATH_PROGRESS, + SIMPLE_DRAW, + //SIMPLE_COPY_BITS, + SIMPLE_UPDATE, +}; + +int main(void) +{ + Test *test; + + core = basic_event_loop_init(); + test = test_new(core); + //spice_server_set_image_compression(server, SPICE_IMAGE_COMPRESS_OFF); + test_add_display_interface(test); + test_add_agent_interface(test->server); + test_set_simple_command_list(test, simple_commands, COUNT(simple_commands)); + + ping_timer = core->timer_add(pinger, NULL); + core->timer_start(ping_timer, ping_ms); + + basic_event_loop_mainloop(); + + return 0; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_display_resolution_changes.c b/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_display_resolution_changes.c new file mode 100644 index 0000000..4767ea9 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_display_resolution_changes.c @@ -0,0 +1,68 @@ +/** + * Recreate the primary surface endlessly. + */ + +#include <config.h> +#include <math.h> +#include <stdlib.h> +#include "test_display_base.h" + +SpiceTimer *ping_timer; + +void show_channels(SpiceServer *server); + +int ping_ms = 100; + +void pinger(void *opaque) +{ + Test *test = opaque; + // show_channels is not thread safe - fails if disconnections / connections occur + //show_channels(server); + + test->core->timer_start(ping_timer, ping_ms); +} + +void set_primary_params(Test *test, Command *command) +{ +#if 0 + static int toggle = 0; + + if (toggle) { + *arg1 = 800; + *arg2 = 600; + } else { + *arg1 = 1024; + *arg2 = 768; + } + toggle = 1 - toggle; +#endif + static int count = 0; + + command->create_primary.width = 800 + sin((float)count / 6) * 200; + command->create_primary.height = 600 + cos((float)count / 6) * 200; + count++; +} + +static Command commands[] = { + {DESTROY_PRIMARY, NULL}, + {CREATE_PRIMARY, set_primary_params}, +}; + +int main(void) +{ + SpiceCoreInterface *core; + Test *test; + + core = basic_event_loop_init(); + test = test_new(core); + //spice_server_set_image_compression(server, SPICE_IMAGE_COMPRESS_OFF); + test_add_display_interface(test); + test_set_command_list(test, commands, COUNT(commands)); + + ping_timer = core->timer_add(pinger, test); + core->timer_start(ping_timer, ping_ms); + + basic_event_loop_mainloop(); + + return 0; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_display_streaming.c b/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_display_streaming.c new file mode 100644 index 0000000..b66d870 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_display_streaming.c @@ -0,0 +1,232 @@ +/* Do repeated updates to the same rectangle to trigger stream creation. + * + * TODO: check that stream actually starts programatically (maybe stap?) + * TODO: stop updating same rect, check (prog) that stream stops + */ + +#include <config.h> +#include <stdio.h> +#include <string.h> +#include <assert.h> +#include <unistd.h> +#include <stdlib.h> +#include <time.h> +#include "test_display_base.h" + +static int sized; +static int render_last_frame; + +static void create_overlay(Command *command , int width, int height) +{ + CommandDrawBitmap *cmd = &command->bitmap; + uint32_t *dst; + + cmd->surface_id = 0; + + cmd->bbox.left = 0; + cmd->bbox.top = 0; + cmd->bbox.right = width; + cmd->bbox.bottom = height; + + cmd->num_clip_rects = 0; + cmd->bitmap = malloc(width * height * 4 ); + dst = (uint32_t *)cmd->bitmap; + for (int i = 0; i < width * height; i++, dst++) { + *dst = 0x8B008B; + } + +} + +#define NUM_COMMANDS 2000 +#define SIZED_INTERVAL 100 +#define OVERLAY_FRAME 500 +#define OVERLAY_WIDTH 200 +#define OVERLAY_HEIGHT 200 + +/* + * Create a frame in a stream that displays a row that moves + * from the top to the bottom repeatedly. + * Upon the OVERLAY_FRAME-th, a drawable is created on top of a part of the stream, + * and from then on, all the stream frames has a clipping that keeps this drawable + * visible, and in addition a clipping_factor is subtracted from the right limit of their clipping. + * If sized=TRUE, a higher and wider frame than the original stream is created every SIZED_INTERVAL. + * The sized frames can be distinguished by a change in the color of the top and bottom limits of the + * surface. + */ +static void create_clipped_frame(Test *test, Command *command, int clipping_factor) +{ + static int count = 0; + CommandDrawBitmap *cmd = &command->bitmap; + int max_height = test->height; + int max_width = test->width; + int width; + int height; + int cur_line, end_line; + uint32_t *dst; + + count++; + if (count == NUM_COMMANDS) { + count = 0; + } + if (count == OVERLAY_FRAME) { + create_overlay(command, OVERLAY_WIDTH, OVERLAY_HEIGHT); + return; + } + + cmd->surface_id = 0; + + cmd->bbox.left = 0; + cmd->bbox.right = max_width - 50; + assert(max_height > 600); + cmd->bbox.top = 50; + cmd->bbox.bottom = max_height - 50; + height = cmd->bbox.bottom - cmd->bbox.top; + width = cmd->bbox.right - cmd->bbox.left; + cur_line = (height/30)*(count % 30); + end_line = cur_line + (height/30); + if (end_line >= height || height - end_line < 8) { + end_line = height; + } + + if (sized && count % SIZED_INTERVAL == 0) { + + cmd->bbox.top = 0; + cmd->bbox.bottom = max_height; + cmd->bbox.left = 0; + cmd->bbox.right = max_width; + height = max_height; + width = max_width; + cur_line += 50; + end_line += 50; + } + + cmd->bitmap = malloc(width*height*4); + memset(cmd->bitmap, 0xff, width*height*4); + dst = (uint32_t *)(cmd->bitmap + cur_line*width*4); + for (cur_line; cur_line < end_line; cur_line++) { + int col; + for (col = 0; col < width; col++, dst++) { + *dst = 0x00FF00; + } + } + if (sized && count % SIZED_INTERVAL == 0) { + int i; + uint32_t color = 0xffffff & rand(); + + dst = (uint32_t *)cmd->bitmap; + + for (i = 0; i < 50*width; i++, dst++) { + *dst = color; + } + + dst = ((uint32_t *)(cmd->bitmap + (height - 50)*4*width)); + + for (i = 0; i < 50*width; i++, dst++) { + *dst = color; + } + } + + if (count < OVERLAY_FRAME) { + cmd->num_clip_rects = 0; + } else { + cmd->num_clip_rects = 2; + cmd->clip_rects = calloc(sizeof(QXLRect), 2); + cmd->clip_rects[0].left = OVERLAY_WIDTH; + cmd->clip_rects[0].top = cmd->bbox.top; + cmd->clip_rects[0].right = cmd->bbox.right - clipping_factor; + cmd->clip_rects[0].bottom = OVERLAY_HEIGHT; + cmd->clip_rects[1].left = cmd->bbox.left; + cmd->clip_rects[1].top = OVERLAY_HEIGHT; + cmd->clip_rects[1].right = cmd->bbox.right - clipping_factor; + cmd->clip_rects[1].bottom = cmd->bbox.bottom; + } +} + +static void create_frame1(Test *test, Command *command) +{ + create_clipped_frame(test, command, 0); +} + +void create_frame2(Test *test, Command *command) +{ + create_clipped_frame(test, command, 200); +} + +typedef void (*create_frame_cb)(Test *test, Command *command); + + +/* + * The test contains two types of streams. The first stream doesn't + * have a clipping besides the on that the display the overlay drawable. + * Expected result: If render_last_frame=false, the last frame should + * be sent losslessly. Otherwise, red_update_area should be called, and the + * stream is upgraded by a screenshot. + * + * In the second test, the stream clip changes in the middle (becomes smaller). + * Expected result: red_update_area should is, and the + * stream is upgraded by a screenshot (including lossy areas that belong to old frames + * and were never covered by a lossless drawable). + * + */ +static void get_stream_commands(Command *commands, int num_commands, + create_frame_cb cb) +{ + int i; + + commands[0].command = DESTROY_PRIMARY; + commands[1].command = CREATE_PRIMARY; + commands[1].create_primary.width = 1280; + commands[1].create_primary.height = 1024; + commands[num_commands - 1].command = SLEEP; + commands[num_commands - 1].sleep.secs = 20; + + for (i = 2; i < num_commands - 1; i++) { + commands[i].command = SIMPLE_DRAW_BITMAP; + commands[i].cb = cb; + } + if (render_last_frame) { + commands[num_commands - 2].command = SIMPLE_UPDATE; + } +} + +static void get_commands(Command **commands, int *num_commands) +{ + *num_commands = NUM_COMMANDS * 2; + *commands = calloc(sizeof(Command), *num_commands); + + get_stream_commands(*commands, NUM_COMMANDS, create_frame1); + get_stream_commands((*commands) + NUM_COMMANDS, NUM_COMMANDS, create_frame2); +} + + +int main(int argc, char **argv) +{ + SpiceCoreInterface *core; + Command *commands; + int num_commands; + int i; + Test *test; + + spice_test_config_parse_args(argc, argv); + sized = 0; + for (i = 1 ; i < argc; ++i) { + if (strcmp(argv[i], "sized") == 0) { + sized = 1; + } + /* render last frame */ + if (strcmp(argv[i], "render") == 0) { + render_last_frame = 1; + } + } + srand(time(NULL)); + // todo: add args list of test numbers with explenations + core = basic_event_loop_init(); + test = test_new(core); + spice_server_set_streaming_video(test->server, SPICE_STREAM_VIDEO_ALL); + test_add_display_interface(test); + get_commands(&commands, &num_commands); + test_set_command_list(test, commands, num_commands); + basic_event_loop_mainloop(); + free(commands); + return 0; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_empty_success.c b/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_empty_success.c new file mode 100644 index 0000000..ccabe6b --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_empty_success.c @@ -0,0 +1,61 @@ +#include <config.h> +#include <stdlib.h> +#include <string.h> + +#include <spice.h> + +SpiceTimer* timer_add(SpiceTimerFunc func, void *opaque) +{ + return NULL; +} + +void timer_start(SpiceTimer *timer, uint32_t ms) +{ +} + +void timer_cancel(SpiceTimer *timer) +{ +} + +void timer_remove(SpiceTimer *timer) +{ +} + +SpiceWatch *watch_add(int fd, int event_mask, SpiceWatchFunc func, void *opaque) +{ + return NULL; +} + +void watch_update_mask(SpiceWatch *watch, int event_mask) +{ +} + +void watch_remove(SpiceWatch *watch) +{ +} + +void channel_event(int event, SpiceChannelEventInfo *info) +{ +} + +int main(void) +{ + SpiceServer *server = spice_server_new(); + SpiceCoreInterface core; + + memset(&core, 0, sizeof(core)); + core.base.major_version = SPICE_INTERFACE_CORE_MAJOR; + core.timer_add = timer_add; + core.timer_start = timer_start; + core.timer_cancel = timer_cancel; + core.timer_remove = timer_remove; + core.watch_add = watch_add; + core.watch_update_mask = watch_update_mask; + core.watch_remove = watch_remove; + core.channel_event = channel_event; + + spice_server_set_port(server, 5911); + spice_server_init(server, &core); + + return 0; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_fail_on_null_core_interface.c b/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_fail_on_null_core_interface.c new file mode 100644 index 0000000..23261a2 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_fail_on_null_core_interface.c @@ -0,0 +1,13 @@ +#include <config.h> +#include <spice.h> + +int main(void) +{ + SpiceServer *server = spice_server_new(); + SpiceCoreInterface core; + + spice_server_init(server, &core); + spice_server_set_port(server, 5911); + + return 0; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_just_sockets_no_ssl.c b/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_just_sockets_no_ssl.c new file mode 100644 index 0000000..ac5403b --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_just_sockets_no_ssl.c @@ -0,0 +1,18 @@ +#include <config.h> +#include <sys/select.h> +#include <spice.h> +#include "basic_event_loop.h" + +int main(void) +{ + SpiceServer *server = spice_server_new(); + SpiceCoreInterface *core = basic_event_loop_init(); + + spice_server_set_port(server, 5912); + spice_server_set_noauth(server); + spice_server_init(server, core); + + basic_event_loop_mainloop(); + + return 0; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_playback.c b/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_playback.c new file mode 100644 index 0000000..ed1b766 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_playback.c @@ -0,0 +1,113 @@ +#include <config.h> +#include <stdio.h> +#include <sys/select.h> +#include <sys/time.h> +#include <math.h> + +#include <spice.h> +#include "reds.h" +#include "test_util.h" +#include "basic_event_loop.h" + +/* test the audio playback interface. Really basic no frils test - create + * a single tone sinus sound (easy to hear clicks if it is generated badly + * or is transmitted badly). + * + * TODO: Was going to do white noise to test compression too. + * + * TODO: gstreamer based test (could be used to play music files so + * it has actual merit. Also possibly to simulate network effects?) + * */ + +SpicePlaybackInstance playback_instance; + +static const SpicePlaybackInterface playback_sif = { + .base.type = SPICE_INTERFACE_PLAYBACK, + .base.description = "test playback", + .base.major_version = SPICE_INTERFACE_PLAYBACK_MAJOR, + .base.minor_version = SPICE_INTERFACE_PLAYBACK_MINOR, +}; + +uint32_t *frame; +uint32_t num_samples; +SpiceTimer *playback_timer; +int playback_timer_ms; +SpiceCoreInterface *core; + +static void get_frame(void) +{ + if (frame) { + return; + } + spice_server_playback_get_buffer(&playback_instance, &frame, &num_samples); + playback_timer_ms = num_samples + ? 1000 * num_samples / SPICE_INTERFACE_PLAYBACK_FREQ + : 100; +} + +void playback_timer_cb(void *opaque) +{ + static int t = 0; + static uint64_t last_sent_usec = 0; + static uint64_t samples_to_send; + int i; + struct timeval cur; + uint64_t cur_usec; + uint32_t *test_frame; + uint32_t test_num_samples; + + get_frame(); + if (!frame) { + /* continue waiting until there is a channel */ + core->timer_start(playback_timer, 100); + return; + } + + /* we have a channel */ + gettimeofday(&cur, NULL); + cur_usec = cur.tv_usec + cur.tv_sec * 1e6; + if (last_sent_usec == 0) { + samples_to_send = num_samples; + } else { + samples_to_send += (cur_usec - last_sent_usec) * SPICE_INTERFACE_PLAYBACK_FREQ / 1e6; + } + last_sent_usec = cur_usec; + while (samples_to_send > num_samples && frame) { +#if 0 + printf("samples_to_send = %d\n", samples_to_send); +#endif + samples_to_send -= num_samples; + for (i = 0 ; i < num_samples; ++i) { + frame[i] = (((uint16_t)((1<<14)*sin((t+i)/10))) << 16) + (((uint16_t)((1<<14)*sin((t+i)/10)))); + } + t += num_samples; + if (frame) { + spice_server_playback_put_samples(&playback_instance, frame); + frame = NULL; + } + get_frame(); + } + core->timer_start(playback_timer, playback_timer_ms); +} + +int main(void) +{ + SpiceServer *server = spice_server_new(); + core = basic_event_loop_init(); + + spice_server_set_port(server, 5701); + spice_server_set_noauth(server); + spice_server_init(server, core); + + playback_instance.base.sif = &playback_sif.base; + spice_server_add_interface(server, &playback_instance.base); + spice_server_playback_start(&playback_instance); + + playback_timer_ms = 100; + playback_timer = core->timer_add(playback_timer_cb, NULL); + core->timer_start(playback_timer, playback_timer_ms); + + basic_event_loop_mainloop(); + + return 0; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_two_servers.c b/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_two_servers.c new file mode 100644 index 0000000..d2a9735 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_two_servers.c @@ -0,0 +1,37 @@ +/** + * Test two servers on one main loop. + */ + +#include <config.h> +#include <stdlib.h> +#include "test_display_base.h" + +SpiceCoreInterface *core; + +int simple_commands[] = { + //SIMPLE_CREATE_SURFACE, + //SIMPLE_DRAW, + //SIMPLE_DESTROY_SURFACE, + //PATH_PROGRESS, + SIMPLE_DRAW, + //SIMPLE_COPY_BITS, + SIMPLE_UPDATE, +}; + +int main(void) +{ + Test *t1; + Test *t2; + + core = basic_event_loop_init(); + t1 = test_new(core); + t2 = test_new(core); + //spice_server_set_image_compression(server, SPICE_IMAGE_COMPRESS_OFF); + test_add_display_interface(t1); + test_add_display_interface(t2); + test_set_simple_command_list(t1, simple_commands, COUNT(simple_commands)); + test_set_simple_command_list(t2, simple_commands, COUNT(simple_commands)); + + basic_event_loop_mainloop(); + return 0; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_util.h b/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_util.h new file mode 100644 index 0000000..a2cd8a8 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_util.h @@ -0,0 +1,12 @@ +#ifndef __TEST_UTIL_H__ +#define __TEST_UTIL_H__ + +#ifdef ASSERT +#undef ASSERT +#endif +#define ASSERT(x) if (!(x)) { \ + printf("%s: ASSERT %s failed\n", __FUNCTION__, #x); \ + abort(); \ +} + +#endif // __TEST_UTIL_H__ diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_vdagent.c b/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_vdagent.c new file mode 100644 index 0000000..bb267dd --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/tests/test_vdagent.c @@ -0,0 +1,107 @@ +/** + * Test vdagent guest to server messages + */ + +#include <string.h> +#include <config.h> +#include <stdlib.h> +#include <stdio.h> + +#include <spice/vd_agent.h> + +#include "test_display_base.h" + +SpiceCoreInterface *core; +SpiceTimer *ping_timer; + +int ping_ms = 100; + +#ifndef MIN +#define MIN(a, b) ((a) > (b) ? (b) : (a)) +#endif + +void pinger(void *opaque) +{ + // show_channels is not thread safe - fails if disconnections / connections occur + //show_channels(server); + + core->timer_start(ping_timer, ping_ms); +} + + +static int vmc_write(SpiceCharDeviceInstance *sin, const uint8_t *buf, int len) +{ + return len; +} + +static int vmc_read(SpiceCharDeviceInstance *sin, uint8_t *buf, int len) +{ + static uint8_t c = 0; + static uint8_t message[2048]; + static unsigned pos = 0; + static unsigned message_size; + int ret; + + if (pos == 0) { + VDIChunkHeader *hdr = (VDIChunkHeader *)message; + VDAgentMessage *msg = (VDAgentMessage *)&hdr[1]; + uint8_t *p = message; + int size = sizeof(message); + message_size = size; + /* fill in message */ + hdr->port = VDP_SERVER_PORT; + hdr->size = message_size - sizeof(VDIChunkHeader); + msg->protocol = VD_AGENT_PROTOCOL; + msg->type = VD_AGENT_END_MESSAGE; + msg->opaque = 0; + msg->size = message_size - sizeof(VDIChunkHeader) - sizeof(VDAgentMessage); + size -= sizeof(VDIChunkHeader) + sizeof(VDAgentMessage); + p += sizeof(VDIChunkHeader) + sizeof(VDAgentMessage); + for (; size; --size, ++p, ++c) + *p = c; + } + ret = MIN(message_size - pos, len); + memcpy(buf, &message[pos], ret); + pos += ret; + if (pos == message_size) { + pos = 0; + } + //printf("vmc_read %d (ret %d)\n", len, ret); + return ret; +} + +static void vmc_state(SpiceCharDeviceInstance *sin, int connected) +{ +} + +static SpiceCharDeviceInterface vmc_interface = { + .base.type = SPICE_INTERFACE_CHAR_DEVICE, + .base.description = "test spice virtual channel char device", + .base.major_version = SPICE_INTERFACE_CHAR_DEVICE_MAJOR, + .base.minor_version = SPICE_INTERFACE_CHAR_DEVICE_MINOR, + .state = vmc_state, + .write = vmc_write, + .read = vmc_read, +}; + +SpiceCharDeviceInstance vmc_instance = { + .subtype = "vdagent", +}; + +int main(void) +{ + Test *test; + + core = basic_event_loop_init(); + test = test_new(core); + + vmc_instance.base.sif = &vmc_interface.base; + spice_server_add_interface(test->server, &vmc_instance.base); + + ping_timer = core->timer_add(pinger, NULL); + core->timer_start(ping_timer, ping_ms); + + basic_event_loop_mainloop(); + + return 0; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/zlib_encoder.c b/tizen/distrib/remote/server/spice-0.12.2/server/zlib_encoder.c new file mode 100644 index 0000000..a3d2aa6 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/zlib_encoder.c @@ -0,0 +1,125 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2010 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "red_common.h" +#include "zlib_encoder.h" +#include <zlib.h> + +struct ZlibEncoder { + ZlibEncoderUsrContext *usr; + + z_stream strm; + int last_level; +}; + +ZlibEncoder* zlib_encoder_create(ZlibEncoderUsrContext *usr, int level) +{ + ZlibEncoder *enc; + int z_ret; + + if (!usr->more_space || !usr->more_input) { + return NULL; + } + + enc = spice_new0(ZlibEncoder, 1); + + enc->usr = usr; + + enc->strm.zalloc = Z_NULL; + enc->strm.zfree = Z_NULL; + enc->strm.opaque = Z_NULL; + + z_ret = deflateInit(&enc->strm, level); + enc->last_level = level; + if (z_ret != Z_OK) { + spice_printerr("zlib error"); + free(enc); + return NULL; + } + + return enc; +} + +void zlib_encoder_destroy(ZlibEncoder *encoder) +{ + deflateEnd(&encoder->strm); + free(encoder); +} + +/* returns the total size of the encoded data */ +int zlib_encode(ZlibEncoder *zlib, int level, int input_size, + uint8_t *io_ptr, unsigned int num_io_bytes) +{ + int flush; + int enc_size = 0; + int out_size = 0; + int z_ret; + + z_ret = deflateReset(&zlib->strm); + + if (z_ret != Z_OK) { + spice_error("deflateReset failed"); + } + + zlib->strm.next_out = io_ptr; + zlib->strm.avail_out = num_io_bytes; + + if (level != zlib->last_level) { + if (zlib->strm.avail_out == 0) { + zlib->strm.avail_out = zlib->usr->more_space(zlib->usr, &zlib->strm.next_out); + if (zlib->strm.avail_out == 0) { + spice_error("not enough space"); + } + } + z_ret = deflateParams(&zlib->strm, level, Z_DEFAULT_STRATEGY); + if (z_ret != Z_OK) { + spice_error("deflateParams failed"); + } + zlib->last_level = level; + } + + + do { + zlib->strm.avail_in = zlib->usr->more_input(zlib->usr, &zlib->strm.next_in); + if (zlib->strm.avail_in <= 0) { + spice_error("more input failed"); + } + enc_size += zlib->strm.avail_in; + flush = (enc_size == input_size) ? Z_FINISH : Z_NO_FLUSH; + while (1) { + int deflate_size = zlib->strm.avail_out; + z_ret = deflate(&zlib->strm, flush); + spice_assert(z_ret != Z_STREAM_ERROR); + out_size += deflate_size - zlib->strm.avail_out; + if (zlib->strm.avail_out) { + break; + } + + zlib->strm.avail_out = zlib->usr->more_space(zlib->usr, &zlib->strm.next_out); + if (zlib->strm.avail_out == 0) { + spice_error("not enough space"); + } + } + } while (flush != Z_FINISH); + + spice_assert(z_ret == Z_STREAM_END); + return out_size; +} diff --git a/tizen/distrib/remote/server/spice-0.12.2/server/zlib_encoder.h b/tizen/distrib/remote/server/spice-0.12.2/server/zlib_encoder.h new file mode 100644 index 0000000..0620fc7 --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/server/zlib_encoder.h @@ -0,0 +1,47 @@ +/* + Copyright (C) 2009 Red Hat, Inc. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ +#ifndef _H_ZLIB_ENCODER +#define _H_ZLIB_ENCODER + +typedef struct ZlibEncoder ZlibEncoder; +typedef struct ZlibEncoderUsrContext ZlibEncoderUsrContext; + +struct ZlibEncoderUsrContext { + int (*more_space)(ZlibEncoderUsrContext *usr, uint8_t **io_ptr); + int (*more_input)(ZlibEncoderUsrContext *usr, uint8_t **input); +}; + +ZlibEncoder* zlib_encoder_create(ZlibEncoderUsrContext *usr, int level); +void zlib_encoder_destroy(ZlibEncoder *encoder); + +/* returns the total size of the encoded data */ +int zlib_encode(ZlibEncoder *zlib, int level, int input_size, + uint8_t *io_ptr, unsigned int num_io_bytes); +#endif diff --git a/tizen/distrib/remote/server/spice-0.12.2/spice-server.pc.in b/tizen/distrib/remote/server/spice-0.12.2/spice-server.pc.in new file mode 100644 index 0000000..f65ddcf --- /dev/null +++ b/tizen/distrib/remote/server/spice-0.12.2/spice-server.pc.in @@ -0,0 +1,13 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: spice +Description: SPICE server library +Version: @VERSION@ + +Requires.private: @SPICE_REQUIRES@ +Libs: -L${libdir} -lspice-server +Libs.private: @SPICE_NONPKGCONFIG_LIBS@ +Cflags: -I${includedir}/spice-server diff --git a/tizen/src/Makefile b/tizen/src/Makefile index 4e9ac61..c847fab 100644 --- a/tizen/src/Makefile +++ b/tizen/src/Makefile @@ -22,8 +22,11 @@ qemu: build_info ffmpeg_install check_hax check_cam cd ../../ && $(MAKE) qemu_clean: cd ../../ && $(MAKE) clean + cd ../distrib/remote/ && sh clean_linux.sh + qemu_distclean: cd ../../ && $(MAKE) distclean + cd ../distrib/remote/ && sh clean_linux.sh check_hax: @echo "build check hax" @@ -203,6 +206,7 @@ install_dibs: all_dibs done cp -pP ../../qemu-img$(EXECUTABLE_EXTENSION) $(DIBS_COMMON_DIR)/bin + cp -pPR $(EMUL_DIR)/remote/ $(DIBS_COMMON_DIR)/ # resources and jar for skin cp -pP skin/client/emulator-skin.jar $(DIBS_COMMON_DIR)/bin diff --git a/ui/input.c b/ui/input.c index 0254d7e..0177bf2 100644 --- a/ui/input.c +++ b/ui/input.c @@ -22,6 +22,10 @@ * THE SOFTWARE. */ +#ifdef CONFIG_MARU +#include <pthread.h> +#endif + #include "sysemu/sysemu.h" #include "monitor/monitor.h" #include "ui/console.h" @@ -30,6 +34,15 @@ #include "qapi-types.h" #include "ui/keymaps.h" +#ifdef CONFIG_MARU +extern void maru_hwkey_event(int event_type, int keycode); +extern void do_rotation_event(int rotation_type); +extern void do_host_kbd_enable(bool on); +extern void shutdown_qemu_gracefully(void); +extern void request_close(void); +void* tizen_close_thread(void* data); +#endif + //#include "tizen/src/debug_ch.h" //MULTI_DEBUG_CHANNEL(tizen, input); @@ -524,6 +537,61 @@ int kbd_mouse_has_absolute(void) return 0; } +#ifdef CONFIG_MARU +void hwkey_put_keycode(int type, int keycode) +{ + if (!runstate_is_running() && !runstate_check(RUN_STATE_SUSPENDED)) { + return; + } + maru_hwkey_event(type, keycode); +} + +void rotation_put_type(int type) +{ + if (!runstate_is_running() && !runstate_check(RUN_STATE_SUSPENDED)) { + return; + } + do_rotation_event(type); +} + +void hostkbd_put_type(int type) +{ + if (!runstate_is_running() && !runstate_check(RUN_STATE_SUSPENDED)) { + return; + } + do_host_kbd_enable(type); +} + +void* tizen_close_thread(void* type) +{ + int data = *(int*)type; + + if (data == 1) { + /* force close */ + shutdown_qemu_gracefully(); + } else { + request_close(); + } + + pthread_exit((void*)0); +} + +void tizen_close_put_type(int type) +{ + pthread_t thread_id; + + if (!runstate_is_running() && !runstate_check(RUN_STATE_SUSPENDED)) { + return; + } + + if (0 != pthread_create(&thread_id, NULL, tizen_close_thread, (void*)&type)) { + error_report("fail to create tizen_close pthread.\n"); + } else { + printf("created tizen_close thread\n"); + } +} +#endif + MouseInfoList *qmp_query_mice(Error **errp) { MouseInfoList *mice_list = NULL; diff --git a/ui/spice-input.c b/ui/spice-input.c index 3beb8de..b7d0b1c 100644 --- a/ui/spice-input.c +++ b/ui/spice-input.c @@ -27,6 +27,10 @@ #include "ui/qemu-spice.h" #include "ui/console.h" +#ifdef CONFIG_MARU +extern int get_emul_vm_base_port(void); +#endif + /* keyboard bits */ typedef struct QemuSpiceKbd { @@ -75,6 +79,110 @@ static void kbd_leds(void *opaque, int ledstate) spice_server_kbd_leds(&kbd->sin, ledstate); } +#ifdef CONFIG_MARU +/* hwkey bits */ + +typedef struct QemuSpiceHwkey { + SpiceHwkeyInstance sin; +} QemuSpiceHwkey; + +static void hwkey_push_key(SpiceHwkeyInstance *sin, uint8_t type, uint8_t keycode); + +static const SpiceHwkeyInterface hwkey_interface = { + .base.type = SPICE_INTERFACE_HWKEY, + .base.description = "qemu hwkey", + .base.major_version = SPICE_INTERFACE_HWKEY_MAJOR, + .base.minor_version = SPICE_INTERFACE_HWKEY_MINOR, + .push_scan_freg = hwkey_push_key, +}; + +static void hwkey_push_key(SpiceHwkeyInstance *sin, uint8_t type, uint8_t keycode) +{ + hwkey_put_keycode(type, keycode); +} + +/* rotation bits */ +typedef struct QemuSpiceRotation { + SpiceRotationInstance sin; +} QemuSpiceRotation; + +static void rotation_push_type(SpiceRotationInstance *sin, uint8_t type); + +static const SpiceRotationInterface rotation_interface = { + .base.type = SPICE_INTERFACE_ROTATION, + .base.description = "qemu rotation", + .base.major_version = SPICE_INTERFACE_ROTATION_MAJOR, + .base.minor_version = SPICE_INTERFACE_ROTATION_MINOR, + .push_scan_freg = rotation_push_type, +}; + +static void rotation_push_type(SpiceRotationInstance *sin, uint8_t type) +{ + rotation_put_type(type); +} + +/* hostkbd bits */ +typedef struct QemuSpiceHostkbd { + SpiceHostkbdInstance sin; +} QemuSpiceHostkbd; + +static void hostkbd_push_type(SpiceHostkbdInstance *sin, uint8_t type); + +static const SpiceHostkbdInterface hostkbd_interface = { + .base.type = SPICE_INTERFACE_HOSTKBD, + .base.description = "qemu hostkbd onoff", + .base.major_version = SPICE_INTERFACE_HOSTKBD_MAJOR, + .base.minor_version = SPICE_INTERFACE_HOSTKBD_MINOR, + .push_scan_freg = hostkbd_push_type, +}; + +static void hostkbd_push_type(SpiceHostkbdInstance *sin, uint8_t type) +{ + hostkbd_put_type(type); +} + +/* tizen close bits */ +typedef struct QemuSpiceTizenClose { + SpiceTizenCloseInstance sin; +} QemuSpiceTizenClose; + +static void tizen_close_push_type(SpiceTizenCloseInstance *sin, uint8_t type); + +static const SpiceTizenCloseInterface tizen_close_interface = { + .base.type = SPICE_INTERFACE_TIZEN_CLOSE, + .base.description = "qemu tizen close", + .base.major_version = SPICE_INTERFACE_TIZEN_CLOSE_MAJOR, + .base.minor_version = SPICE_INTERFACE_TIZEN_CLOSE_MINOR, + .push_scan_freg = tizen_close_push_type, +}; + +static void tizen_close_push_type(SpiceTizenCloseInstance *sin, uint8_t type) +{ + tizen_close_put_type(type); +} + +/* vmname bits */ +typedef struct QemuSpiceSdbPort { + SpiceSdbPortInstance sin; +} QemuSpiceSdbPort; + +static void qemu_get_sdb_port(SpiceSdbPortInstance *sin, int* sdb_port); + +static const SpiceSdbPortInterface sdbport_interface = { + .base.type = SPICE_INTERFACE_SDBPORT, + .base.description = "qemu sdb port", + .base.major_version = SPICE_INTERFACE_SDBPORT_MAJOR, + .base.minor_version = SPICE_INTERFACE_SDBPORT_MINOR, + .push_scan_freg = qemu_get_sdb_port, +}; + +static void qemu_get_sdb_port(SpiceSdbPortInstance *sin, int* sdb_port) +{ + printf("%d\n", get_emul_vm_base_port()); + *sdb_port = get_emul_vm_base_port(); +} +#endif + /* mouse bits */ typedef struct QemuSpicePointer { @@ -200,11 +308,41 @@ void qemu_spice_input_init(void) QemuSpiceKbd *kbd; QemuSpicePointer *pointer; +#ifdef CONFIG_MARU + QemuSpiceHwkey *hwkey; + QemuSpiceRotation *rotation; + QemuSpiceHostkbd *hostkbd; + QemuSpiceTizenClose *close; + QemuSpiceSdbPort *sdb_port; +#endif + kbd = g_malloc0(sizeof(*kbd)); kbd->sin.base.sif = &kbd_interface.base; qemu_spice_add_interface(&kbd->sin.base); qemu_add_led_event_handler(kbd_leds, kbd); +#ifdef CONFIG_MARU + hwkey = g_malloc0(sizeof(*hwkey)); + hwkey->sin.base.sif = &hwkey_interface.base; + qemu_spice_add_interface(&hwkey->sin.base); + + rotation = g_malloc0(sizeof(*rotation)); + rotation->sin.base.sif = &rotation_interface.base; + qemu_spice_add_interface(&rotation->sin.base); + + hostkbd = g_malloc0(sizeof(*hostkbd)); + hostkbd->sin.base.sif = &hostkbd_interface.base; + qemu_spice_add_interface(&hostkbd->sin.base); + + close = g_malloc0(sizeof(*close)); + close->sin.base.sif = &tizen_close_interface.base; + qemu_spice_add_interface(&close->sin.base); + + sdb_port = g_malloc0(sizeof(*sdb_port)); + sdb_port->sin.base.sif = &sdbport_interface.base; + qemu_spice_add_interface(&sdb_port->sin.base); +#endif + pointer = g_malloc0(sizeof(*pointer)); pointer->mouse.base.sif = &mouse_interface.base; pointer->tablet.base.sif = &tablet_interface.base;